PageSourceSearch

https://www.energytcm.cz/main.5e6553395a71374b.js

js energytcm.cz collected 2026-10-07 20:05:16 UTC 1,142,065 bytes, 1 lines download raw bytes

1(self.webpackChunkenergy_tcm=self.webpackChunkenergy_tcm||[]).push([[8792],{9971:(ht,ue,o)=>{"use strict";o.d(ue,{UP:()=>l,Yo:()=>c,f0:()=>s,jz:()=>I,rt:()=>x});const s="/api/",c="products",x="files",I="articles",l="files"},52059:(ht,ue,o)=>{"use strict";o.d(ue,{BJ:()=>l,BL:()=>rt,CV:()=>V,Cp:()=>it,Cv:()=>ot,DQ:()=>D,Dn:()=>Ve,H$:()=>x,HK:()=>K,I_:()=>Pe,Iy:()=>ke,Mu:()=>Oe,Oi:()=>Je,PK:()=>Me,RG:()=>ye,S9:()=>ce,SU:()=>Ct,Up:()=>ie,V2:()=>g,WY:()=>Z,Y1:()=>mt,Yu:()=>C,aZ:()=>ge,bV:()=>Ne,bc:()=>yt,hU:()=>He,jK:()=>re,jf:()=>A,lE:()=>I,mW:()=>u,rl:()=>Ot,sm:()=>Bt,so:()=>Qe,wY:()=>kt,zT:()=>Ft});var s=o(22390),c=o(54438);const x=s.c.api,I=s.c.htpasswd,l=s.c.root,u=s.c.root_ssr?s.c.root_ssr:null,g=s.c.root.replace(/(^http:\/\/)|(^https:\/\/)|(:\d+)|(\/$)/g,""),C=s.c.root_ssr?s.c.root_ssr.replace(/(^http:\/\/)|(^https:\/\/)|(:\d+)|(\/$)/g,""):null,D=s.c.mobileApp,A=new c.nKC("WINDOW"),V=new c.nKC("TOKEN"),Z=60,re="doLogin",K="c",Me="k",Oe="p",ie="b",ge="registrovat",ye="set",rt="porovnavac",Ft="kosik",Bt="mapa-stranek",Ve="vyhledavani",mt="konfigurator",Pe="seznamy-prani",Je="prodejny",ke="kontakty",He="o-nas",ot="error-404",Ct="nepodporovany-prohlizec",Ot="vlastni-set",kt="nakupovat",Qe="k/uzivatelska-sekce",yt="profil",ce="zpravy",Ne="vydejky",it="historie"},12906:(ht,ue,o)=>{"use strict";o.d(ue,{d:()=>V});var s=o(74526),c=o(21626),x=o(95006),I=o(83921),l=o(52059),u=o(52693),g=o(44549),C=o(54438),D=o(2644),A=o(25654);let V=(()=>{class Z{constructor(K,Me,Oe,ie,ge,ye,rt,Ft){this.http=K,this.objProc=Me,this.urlProc=Oe,this.apiUrl=ie,this.apiPass=ge,this.rootUrl=ye,this.rootUrlSsr=rt,this.token=Ft}setApiUrl(K){return this.urlProc.setApiUrl(K),this}setApiUrlForNextBuildUrl(K){return this.urlProc.setApiUrlForNextBuildUrl(K),this}buildUrl(K,Me={},Oe=!1,ie=!0,ge=!0){return this.urlProc.buildUrl(K,Me,Oe,ie,ge)}buildShopUrl(K,Me={},Oe=!0,ie=!0){return this.urlProc.buildShopUrl(K,Me,Oe,ie)}buildPath(K){return this.urlProc.buildPath(K)}prepareHeaders(K,Me=!1){let Oe=new c.Lr;return K&&(Oe=Oe.set("Authorization","Basic "+btoa(K))),Oe}prepareXhrOptions(K=!1){return{headers:this.prepareHeaders(this.apiPass,K)}}get(K){const Me=this.prepareXhrOptions(!0);return this.http.get(K,Me).pipe((0,x.T)(Oe=>this.transformStringToDate(Oe)),(0,I.W)(Oe=>this.handleError(Oe,K)))}post(K,Me){const Oe=this.prepareXhrOptions();return this.http.post(K,Me,Oe).pipe((0,x.T)(ie=>this.transformStringToDate(ie)),(0,I.W)(ie=>this.handleError(ie,K)))}patch(K,Me){const Oe=this.prepareXhrOptions();return this.http.patch(K,Me,Oe).pipe((0,x.T)(ie=>this.transformStringToDate(ie)),(0,I.W)(ie=>this.handleError(ie,K)))}del(K){const Me=this.prepareXhrOptions();return this.http.delete(K,Me).pipe((0,x.T)(Oe=>this.transformStringToDate(Oe)),(0,I.W)(Oe=>this.handleError(Oe,K)))}handleError(K,Me){return console.log("Error for URL:",Me,K),(0,s.$)({message:K.statusText,status:K.status,error:K.error})}extractIds(K){return K.reduce((Me,Oe)=>Me.concat(Oe.id),[])}transformStringToDate(K){if(null==K)return K;if("string"==typeof K&&u.Xp.test(K)){if(K.length>=20&&u.Xp.test(K)){const Me=g.c9.fromISO(K);if(Me.isValid)return Me}return K}if(Array.isArray(K)){for(let Me=0;Me<K.length;Me++)K[Me]=this.transformStringToDate(K[Me]);return K}if("object"==typeof K){const Me=Object.keys(K);for(let Oe=0;Oe<Me.length;Oe++){const ie=Me[Oe];K[ie]=this.transformStringToDate(K[ie])}return K}return K}static#e=this.\u0275fac=function(Me){return new(Me||Z)(C.KVO(c.Qq),C.KVO(D.N),C.KVO(A.f),C.KVO("API_URL"),C.KVO("API_HTPASS"),C.KVO("ROOT_URL"),C.KVO("ROOT_URL_SSR"),C.KVO(l.CV))};static#t=this.\u0275prov=C.jDH({token:Z,factory:Z.\u0275fac})}return Z})()},52693:(ht,ue,o)=>{"use strict";o.d(ue,{CF:()=>c,Ec:()=>x,Ie:()=>A,Nm:()=>g,Q6:()=>V,Sh:()=>u,T1:()=>Oe,Tm:()=>Z,Xp:()=>l,Yl:()=>ge,j8:()=>D,jE:()=>re,oi:()=>s,rE:()=>ie,rt:()=>C,vh:()=>Me});const s=/\S/,c=/^.*[^\s].*$/,x=/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i,l=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,u=/^([a-z]*)([a-z]+[.]?[a-z+])+([a-z])*$/,g=/^(\+?\d{9,15})$/,C=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/,D=/^\d+$/,A=/^-?\d+$/,V=/^\d+(\.\d+)?$/,Z=/^-?\d+(\.\d+)?$/,re=/^\d+(\.\d{1,2})?$/,Me=/^\/[^\s?#]*$/,Oe=/^(?!\/\/)(https?:\/\/(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}
1(?:[^\s?#]*(?:\?[^\s#]*)?(?:#[^\s]*)?)?|\/[^\s?#]+(?:\?[^\s#]*)?(?:#[^\s]*)?)$/,ie=/^[^.,:&@]*$/,ge=/\S+\s+\S+/},76613:(ht,ue,o)=>{"use strict";o.d(ue,{O:()=>s,Rn:()=>x,g1:()=>c,uD:()=>I});const s="ERROR",c="ERROR GUI";class x{constructor(u,g){this.payload=u,this.duration=g,this.type=s}}class I{constructor(u,g){this.payload=u,this.duration=g,this.type=c}}},634:(ht,ue,o)=>{"use strict";o.d(ue,{r:()=>C});var s=o(60177),c=o(41635),x=o(15539),I=o(29262),l=o(76613),u=o(54438);let g=(()=>{class D{constructor(V,Z,re){this.actions=V,this.toastService=Z,this.loaderService=re,this.error=(0,c.EH)(()=>this.actions.pipe((0,c.gp)(l.O),(0,x.M)(K=>this.processError(K.payload,K.duration))),{dispatch:!1}),this.errorGui=(0,c.EH)(()=>this.actions.pipe((0,c.gp)(l.g1),(0,x.M)(K=>this.processError(K.payload.error,K.duration))),{dispatch:!1})}processError(V,Z){const re=V.messages||[];V.message&&re.push(V.message),re.forEach(K=>this.toastService.makeToast(K,I.Ck.Error,Z)),this.loaderService.hide()}static#e=this.\u0275fac=function(Z){return new(Z||D)(u.KVO(c.En),u.KVO(I.FS),u.KVO(I.wA))};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac})}return D})(),C=(()=>{class D{static#e=this.\u0275fac=function(Z){return new(Z||D)};static#t=this.\u0275mod=u.$C({type:D});static#n=this.\u0275inj=u.G2t({imports:[s.MD,c.Vm.forFeature([g])]})}return D})()},52759:(ht,ue,o)=>{"use strict";o.d(ue,{V:()=>u});var s=o(60177),c=o(63040),x=o(87173),I=o(9271),l=o(54438);let u=(()=>{class g{static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275mod=l.$C({type:g});static#n=this.\u0275inj=l.G2t({providers:[x._,I.g],imports:[s.MD,c.iI,c.iI]})}return g})()},9271:(ht,ue,o)=>{"use strict";o.d(ue,{g:()=>K});var s=o(12906),c=o(76965),x=o(79341),I=o(7605),l=o(58728),u=o(45286),C=o(52059),D=o(9971),A=o(54438),V=o(21626),Z=o(2644),re=o(25654);let K=(()=>{class Me extends s.d{constructor(ie,ge,ye,rt,Ft,Bt,Ve,mt,Pe){super(ie,ge,ye,rt,Ft,Bt,Ve,mt),this.http=ie,this.objProc=ge,this.urlProc=ye,this.apiUrl=rt,this.apiPass=Ft,this.rootUrl=Bt,this.rootUrlSsr=Ve,this.token=mt,this.store=Pe,this.destroy=new u.B7,this.ngOnInit()}ngOnInit(){this.store.pipe((0,c.Lt)(x.If),(0,I.Q)(this.destroy),(0,l.p)(ie=>!!ie)).subscribe(ie=>this.activeDomain=ie.active_domain)}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}getDomainApiLink(){return"//"+function g(Me){return Me.hostname_ssr?Me.hostname_ssr:Me.hostname}(this.activeDomain)+D.f0}getProductFileLink(ie,ge,ye=null){const rt={};return ye&&(rt.action=ye),this.setApiUrlForNextBuildUrl(this.getDomainApiLink()).buildUrl([D.Yo,ie,D.rt,ge],rt)}getArticleFileLink(ie,ge,ye=null){const rt={};return ye&&(rt.action=ye),this.setApiUrlForNextBuildUrl(this.getDomainApiLink()).buildUrl([D.jz,ie,D.UP,ge],rt)}getSetFileLink(ie,ge,ye=null){const rt={};return ye&&(rt.action=ye),this.setApiUrlForNextBuildUrl(this.getDomainApiLink()).buildUrl([D.Yo,ie,D.rt,ge],rt)}static#e=this.\u0275fac=function(ge){return new(ge||Me)(A.KVO(V.Qq),A.KVO(Z.N),A.KVO(re.f),A.KVO("API_URL"),A.KVO("API_HTPASS"),A.KVO("ROOT_URL"),A.KVO("ROOT_URL_SSR"),A.KVO(C.CV),A.KVO(c.il))};static#t=this.\u0275prov=A.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})()},87173:(ht,ue,o)=>{"use strict";o.d(ue,{_:()=>l});var s=o(52059),c=o(12906),x=o(42031),I=o(54438);let l=(()=>{class u extends c.d{getLanguage(){return x.Ay.computedLang}buildLink(C,D){const A=this.buildShopUrl(C,D,!0,!1);return A.startsWith("/")?A:"/"+A}extractURL(C){return C?"string"==typeof C?C:C.info[0].url:""}extractId(C){return C?"string"==typeof C?C:C.id:""}getArticlesLink(){const C=[this.getLanguage(),s.HK];return this.buildLink(C)}getBrandLink(C){const D=[this.getLanguage(),s.Up,this.extractURL(C)];return this.buildLink(D)}getArticleLink(C,D){const A=[this.getArticlesLink(),this.extractURL(C)];return this.buildLink(A,D)}getCategoriesLink(){const C=[this.getLanguage(),s.PK];return this.buildLink(C)}getCategoryLink(C){const D=this.extractURL(C);if("homepage"===D)return this.getHomepageLink();const A=[this.getCategoriesLink(),D];return this.buildLink(A)}getProductsLink(){const C=[this.getLanguage(),s.Mu];return this.buildLink(C)}getProductLink(C){const D=[this.getProductsLink(),this.extractURL(C)];return this.buildLink(D)}getVariantLink(C,D){let A=this.getProductLink(C);return"string"==typeof D?A+="--"+D:D?.names?.length>0&&(A+="--"+D.names[0].url),A}getSubvariantLink(C,D,A){let V=this.getProductLink(C);if("string"==typeof D)V+="--"+D;else{if(!(D?.names?.length>0))return V;V+="--"+D.names[0].url}return"string"==typeof A?V+="--"+A:A?.names?.length>0&&(V+="--"+A.names[0].url),V}getSetsLink(){const C=[this.getLanguage(),s.RG];return this.buildLink(C)}
1getSetLink(C){const D=[this.getSetsLink(),this.extractURL(C)];return this.buildLink(D)}getRegisterLink(){const C=[this.getLanguage(),s.aZ];return this.buildLink(C)}getHomepageLink(){const C=[this.getLanguage()];return this.buildLink(C)}getPromoLink(){const C=[this.getLanguage(),s.wY];return this.buildLink(C)}getComparatorLink(){const C=[this.getLanguage(),s.BL];return this.buildLink(C)}getSitemapLink(){const C=[this.getLanguage(),s.sm];return this.buildLink(C)}getCartLink(){const C=[this.getLanguage(),s.zT];return this.buildLink(C)}getSearchLink(){const C=[this.getLanguage(),s.Dn];return this.buildLink(C)}getUserSectionLink(){const C=[this.getLanguage(),s.so];return this.buildLink(C)}getUserProfileLink(){const C=[this.getUserSectionLink(),s.bc];return this.buildLink(C)}getShopMessagesLink(){const C=[this.getUserSectionLink(),s.S9];return this.buildLink(C)}getShopMessageLink(C){const D=[this.getShopMessagesLink(),this.extractId(C)];return this.buildLink(D)}getShopExportsLink(){const C=[this.getUserSectionLink(),s.bV];return this.buildLink(C)}getUserHistoryLink(){const C=[this.getUserSectionLink(),s.Cp];return this.buildLink(C)}getWishlistLink(){const C=[this.getLanguage(),s.I_];return this.buildLink(C)}getRootUrl(){return this.rootUrlSsr?this.rootUrlSsr.replace(/\/$/,""):this.rootUrl.replace(/\/$/,"")}getProductsAbsoluteUrl(){return this.getRootUrl()+this.getProductsLink()+"/"}getCategoriesAbsoluteUrl(){return this.getRootUrl()+this.getCategoriesLink()+"/"}getArticlesAbsoluteUrl(){return this.getRootUrl()+this.getArticlesLink()+"/"}getCartAbsoluteUrl(){return this.getRootUrl()+this.getCartLink()+"/"}getShopExportsAbsoluteUrl(){return this.getRootUrl()+this.getShopExportsLink()+"/"}getUserHistoryAbsoluteUrl(){return this.getRootUrl()+this.getUserHistoryLink()+"/"}getDistributionNetworkLink(){return"https://corporate.energy-tcm.cz/cs/k/distribucni-sit"}getCustomSetLink(){const C=[this.getLanguage(),s.rl];return this.buildLink(C)}static#e=this.\u0275fac=(()=>{let C;return function(A){return(C||(C=I.xGo(u)))(A||u)}})();static#t=this.\u0275prov=I.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},29862:(ht,ue,o)=>{"use strict";o.d(ue,{i:()=>Me});var s=o(60177),c=o(76965),x=o(29262);const A={count:0};function Z(Oe=A,ie){switch(ie.type){case"[Loader] SHOW loader":return{...Oe,count:Oe.count+1};case"[Loader] HIDE loader":return{...Oe,count:Oe.count-1};case"[Loader] RESET loader":return{...Oe,count:0};default:return Oe}}var K=o(54438);let Me=(()=>{class Oe{static#e=this.\u0275fac=function(ye){return new(ye||Oe)};static#t=this.\u0275mod=K.$C({type:Oe});static#n=this.\u0275inj=K.G2t({imports:[s.MD,x.wl,c.md.forFeature("sharedLoader",Z)]})}return Oe})()},8826:(ht,ue,o)=>{"use strict";o.d(ue,{qy:()=>s,rW:()=>x});const s="[Message] SHOW message";class x{constructor(u){this.payload=u,this.type=s}}},54015:(ht,ue,o)=>{"use strict";o.d(ue,{u:()=>C});var s=o(60177),c=o(76965),x=o(29262),I=o(8826);const l={text:"",type:null,show:!1};function u(D=l,A){return A.type===I.qy?A.payload:D}var g=o(54438);let C=(()=>{class D{static#e=this.\u0275fac=function(Z){return new(Z||D)};static#t=this.\u0275mod=g.$C({type:D});static#n=this.\u0275inj=g.G2t({imports:[s.MD,x.DJ,c.md.forFeature("sharedMessage",u)]})}return D})()},73727:(ht,ue,o)=>{"use strict";o.d(ue,{Z:()=>s});var c,s=function(c){return c[c.Success=0]="Success",c[c.Error=1]="Error",c[c.Info=2]="Info",c}(s||{});(c=s||(s={})).keys=function x(){return Object.keys(c).map(I=>{const l=parseInt(I,10);if(l>=0)return{key:l,value:c[l]}}).filter(I=>!!I)}},46580:(ht,ue,o)=>{"use strict";o.d(ue,{e:()=>s});var s=function(c){return c[c.None=0]="None",c[c.Message=1]="Message",c[c.Modal=2]="Modal",c}(s||{})},12741:(ht,ue,o)=>{"use strict";o.d(ue,{Y:()=>I});var s=o(60177),c=o(77608),x=o(54438);let I=(()=>{class l{static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275mod=x.$C({type:l});static#n=this.\u0275inj=x.G2t({providers:[c.a],imports:[s.MD]})}return l})()},77608:(ht,ue,o)=>{"use strict";o.d(ue,{a:()=>I});var s=o(44549),c=o(42031),x=o(54438);let I=(()=>{class l{constructor(){}transform(g,C=s.c9.DATE_SHORT){if(!g)return"";const D=c.Ay.getMappedLocale().replace("_","-");
1return g.setLocale(D).toLocaleString(C)}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275pipe=x.EJ8({name:"dateFormat",type:l,pure:!0})}return l})()},90330:(ht,ue,o)=>{"use strict";o.d(ue,{I:()=>c,a:()=>s});const s="[Section] SET active section";class c{constructor(I){this.payload=I,this.type=s}}},62137:(ht,ue,o)=>{"use strict";o.d(ue,{Ff:()=>I,ab:()=>l});var s=o(90330);const c={activeSection:""};function I(u=c,g){return g.type===s.a?{...u,activeSection:g.payload.section}:u}const l=u=>u.sharedSection.activeSection},42031:(ht,ue,o)=>{"use strict";o.d(ue,{Ay:()=>x,vj:()=>s});const s="cs",c="active_lang";class x{static getLangFromStorage(){return void 0!==window?window.localStorage.getItem(c):null}static setLangToStorage(l){void 0!==window&&window.localStorage.setItem(c,l)}static getLangFromPath(){return void 0!==window?window.location.pathname.includes("aegisx")?s:window.location.pathname.split("/")[1]:null}static getActiveLang(){return void 0!==window&&window.localStorage.getItem(c)||"cs"}static getMappedLang(l){const u=l?l.toLowerCase():x.computedLang.toLowerCase();return{[s]:"CZ",de:"DE",en:"EN"}[u]||"CZ"}static getMappedLocale(l){const u=l?l.toLowerCase():x.computedLang.toLowerCase();return{[s]:"cs_CZ",de:"de_DE",en:"en_US"}[u]||"cs_CZ"}
1static get computedLang(){const l=x.getLangFromStorage();return l?l.toLowerCase():x.getLangFromPath()}}},6985:(ht,ue,o)=>{"use strict";o.d(ue,{m:()=>x});var s=o(54438),c=o(345);let x=(()=>{class I{set safeHtml(u){this._html=u}set safeHTML(u){this._html=u}constructor(u,g){this._elRef=u,this._sanitizer=g}ngOnChanges(u){this._elRef.nativeElement.innerHTML=this._sanitizer.sanitize(s.WPN.NONE,this._html)}static#e=this.\u0275fac=function(g){return new(g||I)(s.rXU(s.aKT),s.rXU(c.up))};static#t=this.\u0275dir=s.FsC({type:I,selectors:[["","safeHtml",""],["","safeHTML",""]],inputs:{safeHtml:"safeHtml",safeHTML:"safeHTML"},features:[s.OA$]})}return I})()},50289:(ht,ue,o)=>{"use strict";o.d(ue,{G:()=>A});var s=o(60177),c=o(63040),x=o(29862),I=o(54015),l=o(29262),u=o(52759),g=o(634),C=o(73955),D=o(54438);let A=(()=>{class V{static#e=this.\u0275fac=function(K){return new(K||V)};static#t=this.\u0275mod=D.$C({type:V});static#n=this.\u0275inj=D.G2t({imports:[s.MD,l.xT,l.o6,c.iI,x.i,I.u,u.V,g.r,x.i,I.u,l.xT,l.o6,u.V,C.h]})}return V})()},13007:(ht,ue,o)=>{"use strict";o.d(ue,{F:()=>c});var s=o(54438);let c=(()=>{class x{static checkFbq(){return typeof fbq<"u"}track(l){return x.checkFbq()&&fbq("track",l),this}customParams(...l){return x.checkFbq()&&fbq(...l),this}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},27764:(ht,ue,o)=>{"use strict";o.d(ue,{S:()=>c});var s=o(54438);let c=(()=>{class x{static checkGlami(){return typeof glami<"u"}track(l){return x.checkGlami()&&glami("track",l),this}customParams(...l){return x.checkGlami()&&glami(...l),this}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},61351:(ht,ue,o)=>{"use strict";o.d(ue,{n:()=>c});var s=o(54438);let c=(()=>{class x{static checkGtag(){return typeof gtag<"u"}standardEvent(l,u,g,C=null,D=null){return x.checkGtag()&&gtag("event",l,{eventCategory:u,eventLabel:C,eventAction:g,eventValue:D}),this}customEvent(l,u){return x.checkGtag()&&gtag("event",l,u),this}customParams(...l){return x.checkGtag()&&gtag(...l),this}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},13120:(ht,ue,o)=>{"use strict";o.d(ue,{g:()=>c});var s=o(54438);let c=(()=>{class x{static checkLogger(){return typeof logger<"u"}view(l){return x.checkLogger()&&logger.view(l),this}order(l){return x.checkLogger()&&logger.order(l),this}load(l,u){return x.checkLogger()&&logger.load(l,u),this}banners(l,u){return x.checkLogger()&&logger.banners(l,u),this}cart(l,u){return x.checkLogger()&&logger.cart(l,u),this}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},36407:(ht,ue,o)=>{"use strict";o.d(ue,{f:()=>x});var s=o(60177),c=o(54438);let x=(()=>{class I{constructor(u,g){this.rendererFactory=u,this.document=g,this.renderer=this.rendererFactory.createRenderer(null,null)}find(u){if(u.id||u.src)return this.document.querySelector(u.id?`#${u.id}`:`script[src="${u.src}"]`);console.log("Tracker script must be identified either by id or by source URL")}update(u){this.remove(u),u.iframe&&this.renderer.createElement("iframe");const g=this.renderer.createElement("script");g.type="text/javascript",Object.assign(g,u),this.renderer.appendChild(this.document.body,g)}remove(u){const g=this.find(u);return!!g&&(g.remove(),!0)}static#e=this.\u0275fac=function(g){return new(g||I)(c.KVO(c._9s),c.KVO(s.qQ))};static#t=this.\u0275prov=c.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},38664:(ht,ue,o)=>{"use strict";o.d(ue,{A:()=>c});var s=o(54438);let c=(()=>{class x{send(l,...u){return typeof l<"u"&&l(...u),this}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},50816:(ht,ue,o)=>{"use strict";o.d(ue,{EX:()=>l,MS:()=>c,Ui:()=>D,cl:()=>u,jY:()=>C,qU:()=>x,r_:()=>A,t4:()=>g,xO:()=>I,yQ:()=>s});const s="[User] Authenticate",c="[User] Authenticate Anonymous",x="[User] Authenticate Success",I="[User] Authenticate Error",l="[User] UPDATE authenticated";class u{constructor(){this.type=s}}class g{constructor(Z){this.payload=Z,this.type=c}}class C{constructor(Z,re){this.payload=Z,this.afterLogout=re,this.type=x}}class D{constructor(Z){this.payload=Z,this.type=I}}class A{constructor(Z){this.payload=Z,this.type=l}}},20188:(ht,ue,o)=>{"use strict";o.d(ue,{CA:()=>g,P0:()=>c,X$:()=>u,qD:()=>I,sC:()=>l,zc:()=>x});var s=o(46580);const c="[Cart] GET has unconfirmed exports",x="[Cart] GET has unconfirmed exports success",I="[Cart] GET has unconfirmed exports error";class l{constructor(D=s.e.Message){this.displayType=D,this.type=c}}class u{constructor(D,A){this.payload=D,this.displayType=A,this.type=x}}class g{constructor(D){this.payload=D,this.type=I}}},95170:(ht,ue,o)=>{"use strict";o.d(ue,{DV:()=>Oe,Qd:()=>Z,RF:()=>x,S3:()=>s,WE:()=>Me,_x:()=>c,av:()=>ge,az:()=>A,b8:()=>g,b9:()=>V,dE:()=>ie,dd:()=>I,gQ:()=>l,ly:()=>K,mV:()=>C,mb:()=>u,vw:()=>D,yx:()=>re});const s="[User] Login",c="[User] Login Success",x="[User] Login Error",I="[User] Login Redirect",l="[User] Admin Login",u="[User] Admin Login Success",g="[User] Admin Login Error",C="[User] Save Token",D="[User] Remove Token";class A{constructor(rt){this.payload=rt,this.type=s}}class V{constructor(rt,Ft){this.payload=rt,this.loginModalService=Ft,this.type=c}}class Z{constructor(rt){this.payload=rt,this.type=x}}class re{constructor(rt){this.payload=rt,this.type=I}}class K{constructor(rt){this.payload=rt,this.type=l}}class Me{constructor(rt){this.payload=rt,this.type=u}}class Oe{constructor(rt){this.payload=rt,this.type=g}}class ie{constructor(rt){this.payload=rt,this.type=C}}class ge{constructor(rt){this.payload=rt,this.type=D}}}
1,51599:(ht,ue,o)=>{"use strict";o.d(ue,{$g:()=>D,AU:()=>x,CT:()=>u,R5:()=>l,T_:()=>s,cO:()=>C,fQ:()=>g,h4:()=>V,l3:()=>c,qg:()=>Z,vW:()=>I,wK:()=>A});const s="[User] Logout",c="[User] Logout Success",x="[User] Logout Error",I="[User] Admin Logout",l="[User] Admin Logout Success",u="[User] Admin Logout Error";class g{constructor(){this.type=s}}class C{constructor(K){this.payload=K,this.type=c}}class D{constructor(K){this.payload=K,this.type=x}}class A{constructor(K){this.payload=K,this.type=I}}class V{constructor(K){this.payload=K,this.type=l}}class Z{constructor(K){this.payload=K,this.type=u}}},49748:(ht,ue,o)=>{"use strict";o.d(ue,{A5:()=>c,_2:()=>s,cH:()=>I,jp:()=>x,mT:()=>u,no:()=>l});const s="[User] Registration",c="[User] Registration Success",x="[User] Registration Error";class I{constructor(C){this.payload=C,this.type=s}}class l{constructor(C){this.payload=C,this.type=c}}class u{constructor(C){this.payload=C,this.type=x}}},46150:(ht,ue,o)=>{"use strict";o.d(ue,{gQ:()=>s.gQ,b8:()=>s.b8,mb:()=>s.mb,vW:()=>c.vW,CT:()=>c.CT,R5:()=>c.R5,yQ:()=>x.yQ,MS:()=>x.MS,xO:()=>x.xO,qU:()=>x.qU,ie:()=>I,e$:()=>l,ZS:()=>g,DV:()=>s.DV,WE:()=>s.WE,wK:()=>c.wK,qg:()=>c.qg,h4:()=>c.h4,cl:()=>x.cl,t4:()=>x.t4,Ui:()=>x.Ui,jY:()=>x.jY,_c:()=>C,VP:()=>D,Qm:()=>V,F3:()=>A,zc:()=>re.zc,sC:()=>re.sC,S3:()=>s.S3,RF:()=>s.RF,dd:()=>s.dd,_x:()=>s._x,T_:()=>c.T_,AU:()=>c.AU,l3:()=>c.l3,az:()=>s.az,Qd:()=>s.Qd,yx:()=>s.yx,b9:()=>s.b9,fQ:()=>c.fQ,$g:()=>c.$g,cO:()=>c.cO,_2:()=>Z._2,jp:()=>Z.jp,A5:()=>Z.A5,vw:()=>s.vw,mT:()=>Z.mT,no:()=>Z.no,av:()=>s.av,mV:()=>s.mV,dE:()=>s.dE,EX:()=>x.EX,r_:()=>x.r_});var s=o(95170),c=o(51599),x=o(50816);const I="[User] Authorize",l="[User] Authorize Complete",g="[User] Authorize Error";class C{constructor(Me){this.payload=Me,this.type=I}}class D{constructor(Me){this.payload=Me,this.type=l}}class A{constructor(){this.type="[User] Authorize Success"}}class V{constructor(Me){this.payload=Me,this.type=g}}var Z=o(49748),re=o(20188)},1525:(ht,ue,o)=>{"use strict";o.d(ue,{NL:()=>V,XJ:()=>re,qT:()=>Z});var s=o(89417),c=o(45286),x=o(29262),I=o(46150),l=o(52059),u=o(54438),g=o(76965),C=o(63040),D=o(87173);function A(K,Me){if(1&K){const Oe=u.RV6();u.j41(0,"button",9),u.bIt("click",function(){u.eBV(Oe);const ge=u.XpG();return u.Njj(ge.close())}),u.j41(1,"mcrai-icon"),u.EFF(2,"close"),u.k0s()()}}const V="450px",Z="auto";let re=(()=>{class K{constructor(Oe,ie,ge,ye,rt){this.store=Oe,this.router=ie,this.modalService=ge,this.linkService=ye,this.data=rt,this.destroy=new c.B7,this.loginForm=new s.J3({username:new s.hs(null,s.k0.required),password:new s.hs(null,s.k0.required)}),this.loginErrors={username:"errors.username.empty",password:"errors.password.empty"}}ngOnInit(){}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}close(Oe){const ie=Oe||this.router.url.split("?")[0];this.router.navigate([ie],{queryParams:{[l.jK]:null}}),this.modalService.close()}login(){return this.store.dispatch(new I.az({credentials:this.loginForm.value,loginModalService:this.modalService})),!1}static#e=this.\u0275fac=function(ie){return new(ie||K)(u.rXU(g.il),u.rXU(C.Ix),u.rXU(x.mO),u.rXU(D._),u.rXU(x._P))};static#t=this.\u0275cmp=u.VBU({type:K,selectors:[["shared-login-modal"]],decls:22,vars:22,consts:[["mcrai-icon-button","transparent",1,"close-button"],[1,"login-form"],[1,"info"],["id","login"],["type","text",3,"autofocus","control","errors","placeholder"],["toggleable","true","type","password",3,"control","errors","placeholder"],[1,"full-with-buttons-wrapper"],["mcrai-button","positive","form","login",1,"m0",3,"click","disabled"],["mcrai-button","neutral",1,"m0",3,"click"],["mcrai-icon-button","transparent",1,"close-button",3,"click"]],template:function(ie,ge){1&ie&&(u.j41(0,"mcrai-modal")(1,"mcrai-modal-content"),u.DNE(2,A,3,0,"button",0),u.j41(3,"div",1)(4,"h1"),u.EFF(5),u.nI1(6,"translate"),u.k0s(),u.j41(7,"div",2),u.EFF(8),u.nI1(9,"translate"),u.k0s(),u.j41(10,"form",3),u.nrm(11,"mcrai-input",4),u.nI1(12,"translate"),u.nrm(13,"mcrai-input",5),u.nI1(14,"translate"),u.nrm(15,"shop-reset-password-button"),u.k0s(),u.j41(16,"div",6)(17,"button",7),u.bIt("click",function(){return ge.login()}),u.EFF(18),u.nI1(19,"translate"),u.k0s(),u.j41(20,"button",8),u.bIt("click",function(){return ge.close(ge.linkService.getRegisterLink())}),u.EFF(21," Registrovat se "),u.k0s()()()()()),2&ie&&(u.R7$(2),u.vxM(2,ge.data.unclosable?-1:2),u.R7$(3),u.SpI(" ",u.bMT(6,12,"login.title")," "),u.R7$(3),u.SpI(" ",u.bMT(9,14,"login.text")," "),u.R7$(3),u.Y8G("autofocus",!0)("control",ge.loginForm.controls.username)("errors",ge.loginErrors.username)("placeholder",u.bMT(12,16,"form.username")),u.R7$(2),u.Y8G("control",ge.loginForm.controls.password)("errors",ge.loginErrors.password)("placeholder",u.bMT(14,18,"form.password")),u.R7$(4),u.Y8G("disabled",ge.loginForm.invali
1d),u.R7$(),u.SpI(" ",u.bMT(19,20,"login.login")," "))},styles:["mcrai-modal-content[_ngcontent-%COMP%]{padding:40px 32px}.close-button[_ngcontent-%COMP%]{position:absolute;right:12px;top:12px}.login-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.full-with-buttons-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;gap:4px}"]})}return K})()},1339:(ht,ue,o)=>{"use strict";o.d(ue,{f:()=>V,h:()=>A});var s=o(54438),c=o(41635),x=o(84046),I=o(49090),l=o(14421),u=o(46150),g=o(52059),C=o(76965),D=o(34750);let A=(()=>{class Z{constructor(K,Me,Oe,ie){this.store=K,this.actions=Me,this.browserTokenService=Oe,this.token=ie}canMatch(){return this.token&&this.token.id&&!this.browserTokenService.isTokenExpired(this.token)?this.store.dispatch(new u.cl):this.store.dispatch(new u.t4({})),this.actions.pipe((0,c.gp)(u.qU,u.xO),(0,x.$)(),(0,I.n)(K=>(0,l.of)(K.type===u.qU)))}static#e=this.\u0275fac=function(Me){return new(Me||Z)(s.KVO(C.il),s.KVO(c.En),s.KVO(D.v),s.KVO(g.CV))};static#t=this.\u0275prov=s.jDH({token:Z,factory:Z.\u0275fac})}return Z})();const V=()=>(0,s.WQX)(A).canMatch()},97309:(ht,ue,o)=>{"use strict";o.d(ue,{J:()=>D,P:()=>C});var s=o(54438),c=o(41635),x=o(14421),I=o(84046),l=o(49090),u=o(46150),g=o(76965);let C=(()=>{class A{constructor(Z,re){this.store=Z,this.actions=re}canActivate(Z,re){return this.store.dispatch(new u._c({url:re.url})),this.actions.pipe((0,c.gp)(u.e$),(0,I.$)(),(0,l.n)(K=>(0,x.of)(K.payload.allow)))}static#e=this.\u0275fac=function(re){return new(re||A)(s.KVO(g.il),s.KVO(c.En))};static#t=this.\u0275prov=s.jDH({token:A,factory:A.\u0275fac})}return A})();const D=(A,V)=>(0,s.WQX)(C).canActivate(A,V)},79341:(ht,ue,o)=>{"use strict";o.d(ue,{Ff:()=>l,Gq:()=>D,If:()=>u,Ys:()=>C,qc:()=>I,qx:()=>x});var s=o(46150);const c={credentials:null,authenticated:null,variables:null,isAuthorized:!1,has_unconfirmed_exports:!1},x="sharedUser";function I(A){return void 0!==A.role.permissions.find(V=>/^aegisx\./.test(V.id))}function l(A=c,V){switch(V.type){case s.S3:return{...A,credentials:V.payload.credentials};case s._x:return{...A,authenticated:V.payload.user,isAuthorized:!0};case s.mb:return I(V.payload.user)?{...A,authenticated:V.payload.user,isAuthorized:!0}:A;case s.qU:case s.EX:return{...A,authenticated:V.payload.user,variables:V.payload.variables};case s.xO:return{...A,authenticated:null};case s.e$:return{...A,isAuthorized:V.payload.allow};case s.ZS:return{...A,isAuthorized:!1};case s.l3:return c;case s.zc:return{...A,has_unconfirmed_exports:V.payload.has_unconfirmed};default:return A}}const u=A=>A[x].authenticated,C=A=>A[x].variables,D=A=>A[x].has_unconfirmed_exports},34750:(ht,ue,o)=>{"use strict";o.d(ue,{v:()=>I});var s=o(45597),c=o(54438),x=o(72725);let I=(()=>{class l{constructor(g){this.sectionService=g,this.emptyToken={id:null,expiration:null}}get(g){Array.isArray(g)||(g=[g]);const C={};for(const D of g){const A=this.getTokenKey(D);C[D]=s.s.check(A)?s.s.get(A):this.emptyToken}return C}getOne(g){return this.get(g)[g]}set(g,C){if(Array.isArray(C))for(const D of C)this.set(g,D);else{const D=this.getTokenKey(C);s.s.set(D,g,new Date(g.expiration))}}delete(g){if(Array.isArray(g))for(const C of g)this.delete(C);else{const C=this.getTokenKey(g);s.s.delete(C)}}getTokenKey(g){return g||(g=this.sectionService.getSection()),g===this.sectionService.ADMIN?"admintoken":"token"}isTokenExpired(g){const C=new Date;return new Date(g.expiration)<=C}static#e=this.\u0275fac=function(C){return new(C||l)(c.KVO(x.z))};static#t=this.\u0275prov=c.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},45597:(ht,ue,o)=>{"use strict";o.d(ue,{s:()=>I});var s=o(54438);const c="mcrai-rubicon-energy-tcm-energy-tcm",x=`${c}.expire`;let I=(()=>{class l{static check(g){return null!==localStorage.getItem(l.buildKey(g))}static get(g){const C=localStorage.getItem(l.buildKey(g));return l.isExpired(C)?(l.delete(g),null):JSON.parse(C)}static set(g,C,D){const A={...C,[x]:D?D instanceof Date?D.getTime():D:void 0},V=JSON.stringify(A);localStorage.setItem(l.buildKey(g),V)}static delete(g){localStorage.removeItem(l.buildKey(g))}static buildKey(g){return`${c}.${g}`}static isExpired(g){if(g[x]){const C=g[x];return(new Date).getTime()>C}return!1}static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275prov=s.jDH({token:l,factory:l.\u0275fac})}return l})()},88387:(ht,ue,o)=>{"use strict";o.d(ue,{_:()=>K});var s=o(45286),c=o(49776),x=o(29262),I=o(7605),l=o(58728),u=o(95006),g=o(52059),C=o(1525),D=o(76965),A=o(79341),V=o(62137),Z=o(54438),re=o(63040);let K=(()=>{class Me{constructor(ie,ge,ye,rt){this.store=ie,this.router=ge,this.activatedRoute=ye,this.modalService=rt,this.destroy=new s.B7,this.userIsAnonym=!1,this.activeSection="",this.ngOnInit()}ngOnInit(){(0,c.zV)([this.store.pipe((0,D.Lt)(A.If),(0,I.Q)(this.destroy),(0,l.p)(ie=>!!ie),(0,u.T)(ie=>ie.anonym)),this.store.pipe((0,D.Lt)(V.ab),(0,I.Q)(this.destroy))]).subscribe(([ie,ge])=>{this.userIsAnonym=ie,this.activeSection=ge}),this.activatedRoute.queryParams.pipe((0,l.p)(ie=>void 0!==ie[g.jK]),(0,I.Q)(this.destroy)).subscribe(()=>{this.userIsAnonym&&"shop"===this.activeSection?this.modalService.hasComponentOpened(C.XJ)||this.modalService.open(C.XJ,new x.MK(C.NL,C.qT,{},!1)):this.router.navigate([],{queryParams:{[g.jK]:null}})})}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}static#e=this.\u0275fac=function(ge){return new(ge||Me)(Z.KVO(D.il),Z.KVO(re.Ix),Z.KVO(re.nX),Z.KVO(x.mO))};static#t=this.\u0275prov=Z.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})()},71829:(ht,ue,o)=>{"use strict";o.d(ue,{n:()=>g});var s=o(45286),c=o(7605),x=o(79341),I=o(54438),l=o(76965),u=o(63040);let g=(()=>{class C{constructor(A,V){this.store=A,this.router=V,this.destroy=new s.B7,this.READ=1,this.READ_WRITE=2,this.ngOnInit()}ngOnInit(){this.store.select(x.If).pipe((0,c.Q)(this.destroy)).subscribe(A=>this.user=A)}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}hasPermission(A){return!!this.user&&!!this.user.permissions.find(V=>V.id===A)}canWrite(A){return A?this.canWritePageByUser(this.parseUrl(this.router.url),A):this.canWritePage(this.parseUrl(this.router.url))}canExport(){return this.canWritePage("aegisx.export")}parseUrl(A){return(A=(A=A.replace(/^\/+|\/$/,"")).replace(/\w*([a-z]*[0-9]+)+\w
1*$/,":id")).replace(/\//g,".")}canReadPage(A){return this.user&&this._canRead(A)}canWritePage(A){return this.user&&this._canWrite(A)}canWritePageByUser(A,V){return this.user&&this.user.id===V&&this._canWrite(A)}isDiscountFixed(){return this.user.active_domain.recalc_moc}_canRead(A){return!!this.user.permissions.find(V=>V.id===A&&V.permission>=this.READ)}_canWrite(A){return!!this.user.permissions.find(V=>V.id===A&&V.permission>=this.READ_WRITE)}static#e=this.\u0275fac=function(V){return new(V||C)(I.KVO(l.il),I.KVO(u.Ix))};static#t=this.\u0275prov=I.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},72725:(ht,ue,o)=>{"use strict";o.d(ue,{z:()=>x});var s=o(54438),c=o(63040);let x=(()=>{class I{constructor(u){this.router=u,this.ADMIN="admin",this.SHOP="shop",this.SECTIONS=[this.ADMIN,this.SHOP],this.ALL=this.SECTIONS}getSection(u,g){if(!u&&!g&&this.buffered_section)return this.buffered_section;const D=-1!==(u||this.router).url.search("aegisx")?this.ADMIN:this.SHOP;return g&&(this.buffered_section=D),D}static#e=this.\u0275fac=function(g){return new(g||I)(s.KVO(c.Ix))};static#t=this.\u0275prov=s.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},73524:(ht,ue,o)=>{"use strict";o.d(ue,{p:()=>C});var s=o(76965),c=o(45286),x=o(7605),I=o(58728),l=o(79341),u=o(54438),g=o(34750);let C=(()=>{class D{constructor(V,Z){this.store=V,this.browserTokenService=Z,this.destroy=new c.B7,this.callbacks={},this.ngOnInit()}ngOnInit(){this.store.pipe((0,s.Lt)(l.If),(0,x.Q)(this.destroy),(0,I.p)(V=>!!V)).subscribe(V=>{if(this.user){if(this.user.id!==V.id){this.user=V;const Z=setInterval(()=>{if(this.browserTokenService.getOne().id!==this.tokenId){for(const re of Object.keys(this.callbacks))this.callbacks[re]();clearInterval(Z)}},1)}}else this.user=V,this.tokenId=this.browserTokenService.getOne().id})}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}addCallback(V,Z){this.callbacks[V]=Z}removeCallback(V){delete this.callbacks[V]}static#e=this.\u0275fac=function(Z){return new(Z||D)(u.KVO(s.il),u.KVO(g.v))};static#t=this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},91316:(ht,ue,o)=>{"use strict";o.d(ue,{U:()=>vn});var s=o(60177),c=o(76965),x=o(41635),I=o(63040),l=o(29262),u=o(12906),g=o(54438);let C=(()=>{class Pt extends u.d{login(he){const me=this.buildUrl(["login"]);return this.post(me,he)}adminLogin(he){const me=this.buildUrl(["login","admin"]);return this.post(me,{user_id:he})}logout(){const he=this.buildUrl(["logout"]);return this.del(he)}adminLogout(he){const me=this.buildUrl(["logout","admin",he]);return this.del(me)}authenticateAnonymous(){const he=this.buildUrl(["login","anonym"]);return this.post(he,null)}authenticate(){const he=this.buildUrl(["me"]);return this.get(he)}authorize(he){const me=this.buildUrl(["me","permission"],{route:he});return this.get(me)}register(he){const me=this.buildUrl(["register"]);return this.post(me,he)}getHasUnconfirmedExports(){const he=this.buildUrl(["me","exports","unconfirmed"]);return this.get(he)}static#e=this.\u0275fac=(()=>{let he;return function(se){return(he||(he=g.xGo(Pt)))(se||Pt)}})();static#t=this.\u0275prov=g.jDH({token:Pt,factory:Pt.\u0275fac})}return Pt})();var D=o(97309),A=o(1339),V=o(14421),Z=o(15539),re=o(49090),K=o(95006),Me=o(83921),Oe=o(57421),ie=o(46580),ge=o(52059),ye=o(87173),rt=o(72725),Ft=o(34750);let Bt=(()=>{class Pt{constructor(he,me,se,q,Ce,dt,Ze,Ht,at,Vt,_e,Ke,De){this.actions=he,this.userService=me,this.router=se,this.activatedRoute=q,this.store=Ce,this.loaderService=dt,this.toasterService=Ze,this.modalService=Ht,this.linkService=at,this.sectionService=Vt,this.browserTokenService=_e,this.platformId=Ke,this.window=De}processDisplayAction(he,me,se,q){switch(he.displayType){case ie.e.None:break;case ie.e.Modal:const Ce=new l.m_("500px","250px",{text:me,header:se},!1);this.modalService.open(q,Ce);break;case ie.e.Message:this.toasterService.makeToast(me,l.Ck.Error,8e3)}}static#e=this.\u0275fac=function(me){return new(me||Pt)(g.KVO(x.En),g.KVO(C),g.KVO(I.Ix),g.KVO(I.nX),g.KVO(c.il),g.KVO(l.wA),g.KVO(l.FS),g.KVO(l.mO),g.KVO(ye._),g.KVO(rt.z),g.KVO(Ft.v),g.KVO(g.Agw),g.KVO
1(ge.jf))};static#t=this.\u0275prov=g.jDH({token:Pt,factory:Pt.\u0275fac})}return Pt})();var Ve=o(46150),mt=o(70730),Pe=o(87466),Je=o(20201),ke=o(95659),He=o(79341),ot=o(56276),Ct=o(23621),Ot=o(62137);let kt=(()=>{class Pt extends Bt{constructor(){super(...arguments),this.login=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.S3),(0,Z.M)(()=>this.loaderService.show()),(0,re.n)(he=>this.userService.login(he.payload.credentials).pipe((0,K.T)(me=>new Ve.b9(me,he.payload.loginModalService)),(0,Me.W)(me=>(0,V.of)(new Ve.Qd(me))))))),this.loginSuccess=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve._x),(0,Oe.E)(this.store.pipe((0,c.Lt)(Ot.ab))),(0,re.n)(([he,me])=>{he.loginModalService&&(this.router.navigate([],{queryParams:{[ge.jK]:null}}),he.loginModalService.close());const se=(0,He.qc)(he.payload.user)?this.sectionService.ALL:this.sectionService.SHOP,q=[new Ve.dE({token:he.payload.token,section:se})];switch(me){case"admin":q.push(new Ve.yx({url:"/aegisx/dashboard"}));break;case"shop":q.push(new Je.kC,new ke.r8,new Ct.rR,new mt.vK,new Pe.fe({id:"user",page:1}),new Ve.sC,new ot.O8({ipp:5}))}return q}),(0,Z.M)(()=>{this.loaderService.hide()}))),this.loginError=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.RF),(0,Z.M)(he=>{this.loaderService.hide(),this.toasterService.makeToast(he.payload.error.message,l.Ck.Error)})),{dispatch:!1}),this.loginRedirect=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.dd),(0,Z.M)(he=>{he.payload.new_window?this.window.open(he.payload.url,"_blank"):this.router.navigateByUrl(he.payload.url)})),{dispatch:!1}),this.adminLogin=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.gQ),(0,re.n)(he=>this.userService.adminLogin(he.payload.user_id).pipe((0,K.T)(me=>new Ve.WE(me)),(0,Me.W)(me=>(0,V.of)(new Ve.DV(me))))))),this.adminLoginSuccess=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.mb),(0,re.n)(he=>{const me=[],se=(0,He.qc)(he.payload.user)?this.sectionService.ALL:this.sectionService.SHOP;if((0,s.UE)(this.platformId)){const q=this.browserTokenService.get(se),Ce=this.browserTokenService.getOne(this.sectionService.ADMIN);for(const dt of Object.keys(q))dt===this.sectionService.ADMIN||q[dt].id!==Ce.id||"aegisx"===he.payload.user.role.name?(console.log(q[dt]),me.push(new Ve.wK({user_token:q[dt].id}))):(console.log(dt),console.log(this.sectionService.ADMIN),console.log(q[dt].id),console.log(Ce.id))}return me.concat([new Ve.dE({token:he.payload.token,section:se}),new Ve.yx({url:"/",new_window:!0})])}))),this.adminLoginError=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.b8),(0,Z.M)(he=>{this.toasterService.makeToast(he.payload.error.message,l.Ck.Error)})),{dispatch:!1}),this.saveToken=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.mV),(0,Z.M)(he=>{(0,s.UE)(this.platformId)&&this.browserTokenService.set(he.payload.token,he.payload.section)})),{dispatch:!1}),this.removeToken=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.vw),(0,Z.M)(he=>{(0,s.UE)(this.platformId)&&this.browserTokenService.delete(he.payload.section)})),{dispatch:!1})}static#e=this.\u0275fac=(()=>{let he;return function(se){return(he||(he=g.xGo(Pt)))(se||Pt)}})();static#t=this.\u0275prov=g.jDH({token:Pt,factory:Pt.\u0275fac})}return Pt})(),Qe=(()=>{class Pt extends Bt{constructor(){super(...arguments),this.authorize=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.ie),(0,re.n)(he=>this.userService.authorize(he.payload.url).pipe((0,K.T)(me=>new Ve.VP(me)),(0,Me.W)(me=>(0,V.of)(new Ve.Qm(me))))))),this.authorizeComplete=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.e$),(0,re.n)(he=>(0,V.of)(he.payload.allow?new Ve.F3:new Ve.Qm({message:he.payload.message}))))),this.authorizeError=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.ZS),(0,Z.M)(he=>{this.toasterService.makeToast(he.payload.message,l.Ck.Error)}),(0,re.n)(he=>[new Ve.yx({url:"/aegisx/login"})])))}static#e=this.\u0275fac=(()=>{let he;return function(se){return(he||(he=g.xGo(Pt)))(se||Pt)}})();static#t=this.\u0275prov=g.jDH({token:Pt,factory:Pt.\u0275fac})}return Pt})(),yt=(()=>{class Pt extends Bt{constructor(){super(...arguments),this.ROOT_CATEGORY_URL="root",this.HOMEPAGE_CATEGORY_URL="homepage",this.authenticationFailCount=0,this.authenticate=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.yQ),(0,re.n)(()=>this.userService.authenticate().pipe((0,K.T)(he=>new Ve.jY(he)),(0,Me.W)(he=>
1(0,V.of)(new Ve.Ui(he))))))),this.authenticateAnonymous=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.MS),(0,re.n)(he=>this.userService.authenticateAnonymous().pipe((0,K.T)(me=>{if(!(this.authenticationFailCount>=1))return new Ve.jY(me,he.payload.afterLogout);window.location.reload()}),(0,Me.W)(me=>(0,V.of)(new Ve.Ui(me))))))),this.authenticateSuccess=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.qU),(0,Oe.E)(this.store.pipe((0,c.Lt)(Ot.ab))),(0,re.n)(([he,me])=>{const se=[new Ve.dE({token:he.payload.token})];return"shop"===me&&he.afterLogout&&(this.router.url===this.linkService.getHomepageLink()||se.push(new Ve.yx({url:"/"}))),se}))),this.authenticateError=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.xO),(0,Z.M)(()=>{this.authenticationFailCount+=1}),(0,re.n)(()=>this.authenticationFailCount>1?[new Ve.av({section:this.sectionService.ALL})]:[new Ve.av({section:this.sectionService.ALL}),new Ve.t4({})])))}static#e=this.\u0275fac=(()=>{let he;return function(se){return(he||(he=g.xGo(Pt)))(se||Pt)}})();static#t=this.\u0275prov=g.jDH({token:Pt,factory:Pt.\u0275fac})}return Pt})();var ce=o(58728),Ne=o(18456),it=o(73727),Rt=o(8826);let Yt=(()=>{class Pt extends Bt{constructor(){super(...arguments),this.logout=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.T_),(0,Z.M)(()=>{this.loaderService.show()}),(0,re.n)(()=>this.userService.logout().pipe((0,K.T)(he=>new Ve.cO(he)),(0,Me.W)(he=>(0,V.of)(new Ve.$g(he))))))),this.logoutSuccess=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.l3),(0,Z.M)(()=>this.loaderService.hide()),(0,Oe.E)(this.store.pipe((0,c.Lt)(Ot.ab)),this.store.pipe((0,c.Lt)(He.If),(0,ce.p)(he=>!!he))),(0,re.n)(([he,me,se])=>{this.toasterService.eatThemAll();const q=(0,He.qc)(se)?this.sectionService.ALL:this.sectionService.SHOP,Ce=[new Ve.av({section:q}),new Ve.t4({afterLogout:!0}),new Rt.rW({text:he.payload.message,type:it.Z.Success})];return"admin"===me&&Ce.push(new Ve.yx({url:"/aegisx/login"})),Ce}))),this.logoutError=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.AU),(0,Z.M)(he=>{this.toasterService.makeToast(he.payload.message,l.Ck.Error),this.loaderService.hide()})),{dispatch:!1}),this.adminLogout=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.vW),(0,Ne.ZZ)(he=>this.userService.adminLogout(he.payload.user_token).pipe((0,K.T)(me=>new Ve.h4(me)),(0,Me.W)(me=>(0,V.of)(new Ve.qg(me))))))),this.adminLogoutSuccess=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.R5),(0,Z.M)(he=>{this.toasterService.eatThemAll()})),{dispatch:!1}),this.adminLogoutError=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.CT),(0,Z.M)(he=>{})),{dispatch:!1})}static#e=this.\u0275fac=(()=>{let he;return function(se){return(he||(he=g.xGo(Pt)))(se||Pt)}})();static#t=this.\u0275prov=g.jDH({token:Pt,factory:Pt.\u0275fac})}return Pt})();var En=o(71829),In=o(1525);let Gt=(()=>{class Pt extends Bt{constructor(){super(...arguments),this.register=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve._2),(0,Z.M)(()=>{this.loaderService.show()}),(0,re.n)(he=>this.userService.register(he.payload.body).pipe((0,K.T)(me=>new Ve.no(me)),(0,Me.W)(me=>(0,V.of)(new Ve.mT(me))))))),this.registerSuccess=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.A5),(0,Z.M)(he=>{this.toasterService.makeToast(he.payload.message,l.Ck.Success),this.loaderService.hide()}),(0,re.n)(he=>(this.router.navigate([],{queryParams:{[ge.jK]:null}}),(0,V.of)(new Ve.jY(he.payload)))))),this.registerError=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Ve.jp),(0,Z.M)(he=>{this.toasterService.makeToast(he.payload.error.message,l.Ck.Error),this.loaderService.hide()})),{dispatch:!1})}static#e=this.\u0275fac=(()=>{let he;return function(se){return(he||(he=g.xGo(Pt)))(se||Pt)}})();static#t=this.\u0275prov=g.jDH({token:Pt,factory:Pt.\u0275fac})}return Pt})();var Un=o(20188),Zt=o(31992),$n=o(46346),Wn=o(94300),Bn=o(54444),pn=o(63649),Sn=o(6985);let Pn=(()=>{class Pt{constructor(he,me){this.modalService=he,this.data=me}ngOnInit(){}closeModal(){this.modalService.close()}static#e=this.\u0275fac=function(me){return new(me||Pt)(g.rXU(l.mO),g.rXU(l._P))};static#t=this.\u0275cmp=g.VBU({type:Pt,selectors:[["shop-unconfirmed-exports-modal"]],decls:9,vars:2,consts:[[3,"safeHTML"],["mcrai-button","positive",3,"click"]],template:function(me,se){1&me&&(g.j41(0,"mcrai-modal")(1,"mcrai-modal-header")(2,"h2"),g.EFF(3),g.k0s()(),g.j41(4,"mcrai-modal-content"),g.nrm(5,"span",0),g.k0s(),g.j41(6,"mcrai-modal-actions")(7,"button",1),g.bIt("click",function(){return se.closeModal()}),g.EFF(8," OK "),g.k0s()()()),2&me&&(g.R7$(3),g.JRh(se.data.header),g.R7$(2),g.Y8G("safeHTML",se.data.text))},dependencies:[Zt.h,$n.l,Wn.J,Bn.f,pn.Q,Sn.m]})}return Pt})(),ui=(()=>{class Pt extends Bt{constructor(){super(...arguments),this.getHasUnconfirmedExports=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Un.P0),(0,re.n)(he=>this.userService.getHasUnconfirmedExports().pipe((0,K.T)(me=>new Un.X$(me,he.displayType)),(0,Me.W)(me=>(0,V.of)(new Un.CA(me))))))),this.getHasUnconfirmedExportsSuccess=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Un.zc),(0,Z.M)(he=>{if(!he.payload.has_unconfirmed)return;const se='M\xe1te nepotvrzen\xe9 v\xfddejky, abyste mohli d\xe1le objedn\xe1vat, je nutn\xe9 <a href="'+this.linkService.getShopExportsAbsoluteUrl()+'">v\xfddejky odsouhlasit</a>.';this.processDisplayAction(he,se,"Nepotvrzen\xe9 v\xfddejky",Pn)}
1)),{dispatch:!1}),this.getHasUnconfirmedExportsError=(0,x.EH)(()=>this.actions.pipe((0,x.gp)(Un.qD),(0,Z.M)(he=>{this.toasterService.makeToast(he.payload.error.message,l.Ck.Error)})),{dispatch:!1})}static#e=this.\u0275fac=(()=>{let he;return function(se){return(he||(he=g.xGo(Pt)))(se||Pt)}})();static#t=this.\u0275prov=g.jDH({token:Pt,factory:Pt.\u0275fac})}return Pt})();var xn=o(89417),sn=o(84971),pt=o(97519),lt=o(73955);let ze=(()=>{class Pt{constructor(he,me){this.modalService=he,this.store=me,this.ERRORS={username:{required:"Zadejte n\xe1zev \xfa\u010dtu, kde chcete vygenerovat nov\xe9 heslo."}},this.form=new xn.J3({username:new xn.hs(null,xn.k0.required)})}ngOnInit(){}resetPassword(){this.store.dispatch(new sn.eH({body:{username:this.form.controls.username.value},resetPasswordModalService:this.modalService}))}closeModal(){this.modalService.closeAll(),this.modalService.open(In.XJ,new l.MK(In.NL,In.qT,{}))}enterKeyDown(he){"Enter"===he.key&&this.resetPassword()}static#e=this.\u0275fac=function(me){return new(me||Pt)(g.rXU(l.mO),g.rXU(c.il))};static#t=this.\u0275cmp=g.VBU({type:Pt,selectors:[["shop-reset-password-modal"]],decls:15,vars:15,consts:[["type","text",3,"keydown","placeholder","control","errors"],["mcrai-button","neutral",3,"click"],["mcrai-button","positive",3,"click","disabled"]],template:function(me,se){1&me&&(g.j41(0,"mcrai-modal")(1,"mcrai-modal-header")(2,"h2"),g.EFF(3),g.nI1(4,"translate"),g.k0s()(),g.j41(5,"mcrai-modal-content")(6,"mcrai-input",0),g.nI1(7,"translate"),g.bIt("keydown",function(Ce){return se.enterKeyDown(Ce)}),g.k0s()(),g.j41(8,"mcrai-modal-actions")(9,"button",1),g.bIt("click",function(){return se.closeModal()}),g.EFF(10),g.nI1(11,"translate"),g.k0s(),g.j41(12,"button",2),g.bIt("click",function(){return se.resetPassword()}),g.EFF(13),g.nI1(14,"translate"),g.k0s()()()),2&me&&(g.R7$(3),g.JRh(g.bMT(4,7,"password_reset.title")),g.R7$(3),g.Y8G("placeholder",g.bMT(7,9,"form.username"))("control",se.form.controls.username)("errors",se.ERRORS.username),g.R7$(4),g.JRh(g.bMT(11,11,"common.close")),g.R7$(2),g.Y8G("disabled",!se.form.valid),g.R7$(),g.SpI(" ",g.bMT(14,13,"common.confirm")," "))},dependencies:[pt.N,Zt.h,$n.l,Wn.J,Bn.f,pn.Q,lt.D9]})}return Pt})(),ae=(()=>{class Pt{constructor(he){this.modalService=he}ngOnInit(){}openResetPasswordModal(he){he.preventDefault(),he.stopPropagation();const me=new l.m_("500px","250px","",!1,!0);this.modalService.open(ze,me)}static#e=this.\u0275fac=function(me){return new(me||Pt)(g.rXU(l.mO))};static#t=this.\u0275cmp=g.VBU({type:Pt,selectors:[["shop-reset-password-button"]],decls:3,vars:3,consts:[["href","#",1,"link",3,"click"]],template:function(me,se){1&me&&(g.j41(0,"a",0),g.bIt("click",function(Ce){return se.openResetPasswordModal(Ce)}),g.EFF(1),g.nI1(2,"translate"),g.k0s()),2&me&&(g.R7$(),g.SpI(" ",g.bMT(2,1,"form.forgotten_password"),"\n"))},dependencies:[lt.D9],styles:["[_nghost-%COMP%]{display:block;padding-top:2px;text-align:right}.link[_ngcontent-%COMP%]{text-decoration:underline;transition:color .15s linear;color:#bababa}.link[_ngcontent-%COMP%]:hover, .link[_ngcontent-%COMP%]:active, .link[_ngcontent-%COMP%]:visited{color:#000}"]})}return Pt})();var Re=o(66499),We=o(50289),ct=o(73524),ft=o(19288),Tt=o(88387),un=o(45597),Dn=o(4379),rn=o(26588);let vn=(()=>{class Pt{static#e=this.\u0275fac=function(me){return new(me||Pt)};static#t=this.\u0275mod=g.$C({type:Pt});static#n=this.\u0275inj=g.G2t({providers:[C,A.h,D.P,En.n,ct.p,rt.z,Ft.v,Tt._,un.s],imports:[s.MD,l.wl,l.DJ,l.B4,l.hv,l.oP,l.pj,l.LU,l.xT,I.iI,We.G,c.md.forFeature(He.qx,He.Ff),x.Vm.forFeature([yt,Qe,kt,Yt,Gt,ui,Re.W]),ft.F]})}return Pt})();g.wjB(In.XJ,function(){return[pt.N,$n.l,Bn.f,pn.Q,Dn.x,rn.R,ae]},function(){return[lt.D9]})},2644:(ht,ue,o)=>{"use strict";o.d(ue,{N:()=>x});var s=o(44549),c=o(54438);let x=(()=>{class I{constructor(){}deleteKey(u,g,C){C?u[g]=null:delete u[g]}deleteEmptyKeys(u,g={}){const C=Object.assign({},u);return Object.keys(C).forEach(D=>{const A=C[D];if(!g.let_empty&&null==A)return void this.deleteKey(C,D,g.set_to_null);if(!g.let_false&&!1===A)return void this.deleteKey(C,D,g.set_to_null);if(!g.let_zero&&0===A)return void this.deleteKey(C,D,g.set_to_null);if(!g.let_nan&&Number.isNaN(A))return void this.deleteKey(C,D,g.set_to_null);if(!g.let_empty_str&&""===A)return void this.deleteKey(C,D,g.set_to_null);if(!g.let_empty_array&&Array.isArray(A)&&0===A.length)return void this.deleteKey(C,D,g.set_to_null);if(g.no_recursion||"object"!=typeof A||Array.isArray(A)||A instanceof s.c9)return;const V=this.deleteEmptyKeys(A,g);Object.keys(V).length>0?C[D]=V:this.deleteKey(C,D,g.set_to_null)}
1),C}static#e=this.\u0275fac=function(g){return new(g||I)};static#t=this.\u0275prov=c.jDH({token:I,factory:I.\u0275fac})}return I})()},6594:(ht,ue,o)=>{"use strict";o.d(ue,{n:()=>c});var s=o(54438);let c=(()=>{class x{constructor(){}get numbers(){return this._numbers?this._numbers:this._numbers=Array.from(Array(10).keys()).map(String)}get letters(){return this._letters?this._letters:this._letters=Array.from(Array(26).keys()).map(l=>String.fromCharCode(97+l))}get lettersUpperCase(){return this._lettersUC?this._lettersUC:this._lettersUC=this.letters.map(l=>l.toUpperCase())}generate(l,u){let g="";for(let C=0;C<l;C++)g+=u[Math.floor(Math.random()*u.length)];return g}generateNumber(l){return this.generate(l,this.numbers)}generateWord(l){return this.generate(l,this.letters)}generateWordUC(l){return this.generate(l,this.lettersUpperCase)}generateWordCS(l){return this.generate(l,this.letters.concat(this.lettersUpperCase))}generateAlNum(l){return this.generate(l,this.numbers.concat(this.letters))}generateAlNumUC(l){return this.generate(l,this.numbers.concat(this.lettersUpperCase))}generateAlNumCS(l){return this.generate(l,this.numbers.concat(this.letters,this.lettersUpperCase))}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275prov=s.jDH({token:x,factory:x.\u0275fac})}return x})()},25654:(ht,ue,o)=>{"use strict";o.d(ue,{f:()=>x});var s=o(52059),c=o(54438);let x=(()=>{class I{constructor(u,g){this.defApiUrl=u,this.token=g,this.apiUrlCache=null,this.apiUrl=this.defApiUrl}processApiUrl(u){return u.length&&"/"!==u[u.length-1]&&(u+="/"),u}setApiUrl(u){return this.apiUrlCache=null,this.apiUrl=this.processApiUrl(u),this}setApiUrlForNextBuildUrl(u){return null===this.apiUrlCache&&(this.apiUrlCache=this.apiUrl),this.apiUrl=this.processApiUrl(u),this}buildUrl(u,g={},C=!1,D=!0,A=!0){const V={token:this.token.id},Z=this.apiUrl+this.buildPath(u)+this.processGetParams(Object.assign(V,g),D,A);return null!==this.apiUrlCache&&(this.apiUrl=this.apiUrlCache,this.apiUrlCache=null),Z}buildShopUrl(u,g={},C=!0,D=!0){return this.buildPath(u)+this.processGetParams(g,C,D)}buildPath(u){return"string"==typeof u?u:u.join("/")}processGetParams(u,g=!0,C=!0){const D=[];return Object.keys(u).forEach(A=>{const V=u[A];if(V instanceof Array){if(V.length){const Z=V.reduce((re,K)=>(re.push(`${A}[]=`+encodeURIComponent(K)),re),[]);D.push(Z.join("&"))}}else(V||!g||0===V&&!C)&&D.push(`${A}=`+encodeURIComponent(u[A]))}),D.length?"?"+D.join("&"):""}static#e=this.\u0275fac=function(g){return new(g||I)(c.KVO("API_URL"),c.KVO(s.CV))};static#t=this.\u0275prov=c.jDH({token:I,factory:I.\u0275fac})}return I})()},95659:(ht,ue,o)=>{"use strict";o.d(ue,{$Q:()=>u,FU:()=>c,Sv:()=>l,_c:()=>x,bb:()=>s,r8:()=>I});const s="[Carts] GET cart order",c="[Carts] GET cart order success",x="[Carts] GET cart order error";
1class I{constructor(){this.type=s}}class l{constructor(C){this.payload=C,this.type=c}}class u{constructor(C){this.payload=C,this.type=x}}},20201:(ht,ue,o)=>{"use strict";o.d(ue,{Ci:()=>V,J:()=>C,Lo:()=>c,RN:()=>I,X4:()=>l,a4:()=>D,kC:()=>g,pO:()=>Z,sG:()=>x,tW:()=>A,yB:()=>u,z_:()=>s});const s="[Carts] GET carts",c="[Carts] GET carts success",x="[Carts] GET carts error",I="[Carts] SELECT active cart",l="[Carts] SELECT active cart success",u="[Carts] SELECT active cart error";class g{constructor(){this.type=s}}class C{constructor(K){this.payload=K,this.type=c}}class D{constructor(K){this.payload=K,this.type=x}}class A{constructor(K){this.payload=K,this.type=I}}class V{constructor(K){this.payload=K,this.type=l}}class Z{constructor(K){this.payload=K,this.type=u}}},70730:(ht,ue,o)=>{"use strict";o.d(ue,{C$:()=>l,G_:()=>c,Rl:()=>u,hy:()=>x,oH:()=>s,vK:()=>I});const s="[Comparator] GET products",c="[Comparator] GET products success",x="[Comparator] GET products error";class I{constructor(){this.type=s}}class l{constructor(C){this.payload=C,this.type=c}}class u{constructor(C){this.payload=C,this.type=x}}},77699:(ht,ue,o)=>{"use strict";o.d(ue,{M:()=>I});var s=o(60177),c=o(29262),x=o(54438);let I=(()=>{class l{static#e=this.\u0275fac=function(C){return new(C||l)};static#t=this.\u0275mod=x.$C({type:l});static#n=this.\u0275inj=x.G2t({imports:[s.MD,c.DJ,c.wl,c.oP]})}return l})()},19260:(ht,ue,o)=>{"use strict";o.d(ue,{g:()=>C});var s=o(54438),c=o(12906);let x=(()=>{class D extends c.d{postSearchHistory(V){const Z=this.buildUrl(["me","history","search"]);return this.post(Z,{search:V})}getSearchHistory(V){const Z=this.buildUrl(["me","history","search"],V);return this.get(Z)}static#e=this.\u0275fac=(()=>{let V;return function(re){return(V||(V=s.xGo(D)))(re||D)}})();static#t=this.\u0275prov=s.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();var I=o(41635),l=o(76965),u=o(63040),g=o(29262);let C=(()=>{class D{constructor(V,Z,re,K,Me,Oe,ie){this.dataService=V,this.actions=Z,this.store=re,this.router=K,this.toastService=Me,this.loaderService=Oe,this.modalService=ie}static#e=this.\u0275fac=function(Z){return new(Z||D)(s.KVO(x),s.KVO(I.En),s.KVO(l.il),s.KVO(u.Ix),s.KVO(g.FS),s.KVO(g.wA),s.KVO(g.mO))};static#t=this.\u0275prov=s.jDH({token:D,factory:D.\u0275fac})}return D})()},56276:(ht,ue,o)=>{"use strict";o.d(ue,{DD:()=>u,Dc:()=>A,H4:()=>I,O8:()=>D,kx:()=>g,pP:()=>l,rX:()=>C,vC:()=>c,xR:()=>s,yT:()=>x});const s="[History] GET search history",c="[History] GET search history success",x="[History] GET search history error",I="[History] GET search history small",l="[History] GET search history small success";class u{constructor(Z){this.payload=Z,this.type=s}}class g{constructor(Z){this.payload=Z,this.type=c}}class C{constructor(Z){this.payload=Z,this.type=x}}class D{constructor(Z){this.payload=Z,this.type=I}}class A{constructor(Z){this.payload=Z,this.type=l}}},19288:(ht,ue,o)=>{"use strict";o.d(ue,{F:()=>Ft});var s=o(60177),c=o(63040),x=o(76965),I=o(41635),l=o(18456),u=o(95006),g=o(83921),C=o(15539),D=o(14421),A=o(19260),V=o(56276),Z=o(29262),re=o(76613),K=o(54438);let Me=(()=>{class Bt extends A.g{constructor(){super(...arguments),this.getSearchHistory=(0,I.EH)(()=>this.actions.pipe((0,I.gp)(V.xR),(0,l.ZZ)(mt=>this.dataService.getSearchHistory(mt.payload.filter).pipe((0,u.T)(Pe=>new V.kx(Pe)),(0,g.W)(Pe=>(0,D.of)(new V.rX(Pe))))))),this.getSearchHistorySuccess=(0,I.EH)(()=>this.actions.pipe((0,I.gp)(V.vC)),{dispatch:!1}),this.getSearchHistoryError=(0,I.EH)(()=>this.actions.pipe((0,I.gp)(V.yT),(0,C.M)(mt=>{this.toastService.makeToast(mt.payload.error.message,Z.Ck.Error)})),{dispatch:!1}),this.getSearchHistorySmall=(0,I.EH)(()=>this.actions.pipe((0,I.gp)(V.H4),(0,l.ZZ)(mt=>this.dataService.getSearchHistory(mt.payload).pipe((0,u.T)(Pe=>new V.Dc(Pe)),(0,g.W)(Pe=>(0,D.of)(new re.uD(Pe)))))))}static#e=this.\u0275fac=(()=>{let mt;return function(Je){return(mt||(mt=K.xGo(Bt)))(Je||Bt)}})();static#t=this.\u0275prov=K.jDH({token:Bt,factory:Bt.\u0275fac})}return Bt})();var Oe=o(77699);let ie=(()=>{class Bt{static#e=this.\u0275fac=function(Pe){return new(Pe||Bt)};static#t=this.\u0275mod=K.$C({type:Bt});static#n=this.\u0275inj=K.G2t({imports:[s.MD,Oe.M]})}return Bt})();var ge=o(20269),ye=o(50289),rt=o(12741);let Ft=(()=>{class Bt{static#e=this.\u0275fac=function(Pe){return new(Pe||Bt)};static#t=this.\u0275mod=K.$C({type:Bt});static#n=this.\u0275inj=K.G2t({imports:[s.MD,Oe.M,x.md.forFeature
1(ge.qx,ge.Ff),I.Vm.forFeature([Me]),ie,Z.LU,Z.Tm,Z.Zg,Z.B4,c.iI,ye.G,rt.Y]})}return Bt})()},20269:(ht,ue,o)=>{"use strict";o.d(ue,{$U:()=>l,Ff:()=>I,qx:()=>x,r7:()=>g});var s=o(56276);const c={history:[],history_small:[],cnt_all:0},x="shopSearchHistory";function I(C=c,D){switch(D.type){case s.vC:return{...C,history:D.payload.history,cnt_all:D.payload.cnt_all};case s.pP:return{...C,history_small:D.payload.history,cnt_all:D.payload.cnt_all};default:return C}}const l=C=>C[x].history,g=C=>C[x].cnt_all},87466:(ht,ue,o)=>{"use strict";o.d(ue,{DX:()=>l,H_:()=>A,QY:()=>C,Qd:()=>s,UR:()=>u,Yc:()=>V,eC:()=>c,fe:()=>g,lJ:()=>D,rz:()=>I,tR:()=>Z,ts:()=>x});const s="[Messages] GET messages",c="[Messages] GET messages success",x="[Messages] GET messages error",I="[Messages] GET messages list",l="[Messages] GET messages list success",u="[Messages] GET messages list error";class g{constructor(K){this.payload=K,this.type=s}}class C{constructor(K){this.payload=K,this.type=c}}class D{constructor(K){this.payload=K,this.type=x}}class A{constructor(K){this.payload=K,this.type=I}}class V{constructor(K){this.payload=K,this.type=l}}class Z{constructor(K){this.payload=K,this.type=u}}},98159:(ht,ue,o)=>{"use strict";o.d(ue,{_:()=>g});var s=o(54438),c=o(41635),x=o(12906);let I=(()=>{class C extends x.d{postAddress(A){const V=this.buildUrl(["me","addresses"]);return this.post(V,A)}patchAddresses(A){const V=this.buildUrl(["me","addresses"]);return this.patch(V,A)}deleteAddresses(A){const V=this.buildUrl(["me","addresses"],{address_ids:A});return this.del(V)}patchUser(A){const V=this.buildUrl(["me"]);return this.patch(V,A)}getReclamations(A,V){const re=this.buildUrl(["me","documents"],Object.assign({page:A},V));return this.get(re)}getInvoices(A,V){const re=this.buildUrl(["me","invoices"],Object.assign({page:A},V));return this.get(re)}getExporters(A,V){const re=this.buildUrl(["me","exports"],Object.assign({page:A},V),!1,!0,!1);return this.get(re)}patchExports(A,V){const Z=this.buildUrl(["me","exports",A]);return this.patch(Z,{note:V})}patchAllExports(A,V){const Z=this.buildUrl(["me","exports"]),re=this.objProc.deleteEmptyKeys(Object.assign({page:A},V),{let_zero:!0});return this.patch(Z,re)}patchPassword(A){const V=this.buildUrl(["password"]);return this.patch(V,A)}postPassword(A){const V=this.buildUrl(["password"]);return this.post(V,A)}static#e=this.\u0275fac=(()=>{let A;return function(Z){return(A||(A=s.xGo(C)))(Z||C)}})();static#t=this.\u0275prov=s.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})();var l=o(76965),u=o(29262);let g=(()=>{class C{constructor(A,V,Z,re,K,Me){this.actions=A,this.dataService=V,this.store=Z,this.loaderService=re,this.toasterService=K,this.modalService=Me}static#e=this.\u0275fac=function(V){return new(V||C)(s.KVO(c.En),s.KVO(I),s.KVO(l.il),s.KVO(u.wA),s.KVO(u.FS),s.KVO(u.mO))};static#t=this.\u0275prov=s.jDH({token:C,factory:C.\u0275fac})}return C})()},84971:(ht,ue,o)=>{"use strict";o.d(ue,{AT:()=>u,JW:()=>s,KW:()=>x,Xb:()=>c,eH:()=>I,lO:()=>l});const s="[User Section] POST password",c="[User Section] POST password success",x="[User Section] POST password error";class I{constructor(C){this.payload=C,this.type=s}}class l{constructor(C,D){this.payload=C,this.resetPasswordModalService=D,this.type=c}}class u{constructor(C){this.payload=C,this.type=x}}},66499:(ht,ue,o)=>{"use strict";o.d(ue,{W:()=>V});var s=o(14421),c=o(41635),x=o(15539),I=o(49090),l=o(95006),u=o(83921),g=o(29262),C=o(98159),D=o(84971),A=o(54438);let V=(()=>{class Z extends C._{constructor(){super(...arguments),this.postPassword=(0,c.EH)(()=>this.actions.pipe((0,c.gp)(D.JW),(0,x.M)(()=>this.loaderService.show()),(0,I.n)(K=>this.dataService.postPassword(K.payload.body).pipe((0,l.T)(Me=>new D.lO(Me,K.payload.resetPasswordModalService)),(0,u.W)(Me=>(0,s.of)(new D.AT(Me))))))),this.postPasswordSuccess=(0,c.EH)(()=>this.actions.pipe((0,c.gp)(D.Xb),(0,x.M)(K=>{K.resetPasswordModalService&&K.resetPasswordModalService.close(),this.loaderService.hide(),this.toasterService.makeToast(K.payload.message,g.Ck.Success,1e4),this.modalService.close()})),{dispatch:!1}),this.postPasswordError=(0,c.EH)(()=>this.actions.pipe((0,c.gp)(D.KW),(0,x.M)(K=>{this.loaderService.hide(),this.toasterService.makeToast(K.payload.error.message,g.Ck.Error)})),{dispatch:!1})}static#e=this.\u0275fac=(()=>{let K;return function(Oe){return(K||(K=A.xGo(Z)))(Oe||Z)}})();static#t=this.\u0275prov=A.jDH({token:Z,factory:Z.\u0275fac})}return Z})()},23621:(ht,ue,o)=>{"use strict";o.d(ue,{C8:()=>c,CG:()=>u,HG:()=>C,_3:()=>x,aj:()=>I,gv:()=>s,rR:()=>l,wt:()=>g});const s="[Wishlist] GET wishlists ",c="[Wishlist] GET wishlists success",x="[Wishlist] SELECT active wishlist",I="[Wishlist] SELECT active wishlist success";class l{constructor(){this.type=s}}class u{constructor(A){this.payload=A,this.type=c}}class g{constructor(A){this.payload=A,this.type=x}}class C{constructor(A){this.payload=A,this.type=I}}},22390:(ht,ue,o)=>{"use strict";o.d(ue,{c:()=>s});
1const s={production:!0,mobileApp:!1,api:"https://energy-tcm.mcrai.eu/api/",root:"https://energy-tcm.mcrai.eu/",root_ssr:"https://energytcm.cz/"}},9010:(ht,ue,o)=>{"use strict";var s=o(345),c=o(54438),x=o(63040),I=o(1339),l=o(52059),u=o(42031);const g=[{path:"aegisx",redirectTo:"aegisx/login",pathMatch:"full"},{path:"aegisx/login",loadChildren:()=>o.e(1227).then(o.bind(o,31227)).then(w=>w.LoginModule),canMatch:[I.f]},{path:"aegisx/dashboard",loadChildren:()=>Promise.all([o.e(3328),o.e(7280)]).then(o.bind(o,70334)).then(w=>w.DashboardModule),canMatch:[I.f]},{path:"aegisx/categories",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(4010),o.e(7153),o.e(6224),o.e(6970),o.e(7005),o.e(5409),o.e(9760),o.e(6943),o.e(502),o.e(3176),o.e(8098),o.e(2850)]).then(o.bind(o,67453)).then(w=>w.CategoriesModule),canMatch:[I.f]},{path:"aegisx/category-trees",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(6057)]).then(o.bind(o,86057)).then(w=>w.CategoryTreesModule),canMatch:[I.f]},{path:"aegisx/products",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(4010),o.e(7153),o.e(6224),o.e(6970),o.e(7005),o.e(9760),o.e(6943),o.e(502),o.e(3176),o.e(9992),o.e(1776),o.e(8682),o.e(4793)]).then(o.bind(o,54793)).then(w=>w.ProductsModule),canMatch:[I.f]},{path:"aegisx/brands",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(4010),o.e(7153),o.e(9760),o.e(9992),o.e(4720)]).then(o.bind(o,84199)).then(w=>w.BrandsModule),canMatch:[I.f]},{path:"aegisx/types",loadChildren:()=>Promise.all([o.e(5999),o.e(3328),o.e(9788),o.e(4010),o.e(7153),o.e(6256)]).then(o.bind(o,36256)).then(w=>w.TypesModule),canMatch:[I.f]},{path:"aegisx/store-states",loadChildren:()=>Promise.all([o.e(5999),o.e(3328),o.e(9788),o.e(4010),o.e(7153),o.e(2413)]).then(o.bind(o,42413)).then(w=>w.StoreStatesModule),canMatch:[I.f]},{path:"aegisx/price-levels",loadChildren:()=>Promise.all([o.e(5999),o.e(3328),o.e(9788),o.e(1776),o.e(4221)]).then(o.bind(o,71776)).then(w=>w.PriceLevelsModule),canMatch:[I.f]},{path:"aegisx/users",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(6224),o.e(6970),o.e(7005),o.e(5409),o.e(6943),o.e(2076),o.e(9193)]).then(o.bind(o,29193)).then(w=>w.UsersModule),canMatch:[I.f]},{path:"aegisx/articles",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(4010),o.e(7153),o.e(6224),o.e(6970),o.e(7005),o.e(9760),o.e(502),o.e(3176),o.e(8682),o.e(2076),o.e(2669)
1]).then(o.bind(o,69400)).then(w=>w.ArticlesModule),canMatch:[I.f]},{path:"aegisx/settings",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(4010),o.e(7153),o.e(6224),o.e(6943),o.e(1763)]).then(o.bind(o,2666)).then(w=>w.SettingsModule),canMatch:[I.f]},{path:"aegisx/import",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(2076),o.e(133)]).then(o.bind(o,50133)).then(w=>w.ImportModule),canMatch:[I.f]},{path:"aegisx/orders",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(3161),o.e(706),o.e(7453),o.e(7058)]).then(o.bind(o,27453)).then(w=>w.OrdersModule),canMatch:[I.f]},{path:"aegisx/documents",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(7153),o.e(706),o.e(2076),o.e(6279)]).then(o.bind(o,36279)).then(w=>w.DocumentsModule),canMatch:[I.f]},{path:"aegisx/borrow-orders",loadChildren:()=>Promise.all([o.e(5999),o.e(3328),o.e(7887),o.e(3161),o.e(7903)]).then(o.bind(o,40284)).then(w=>w.BorrowOrdersModule),canMatch:[I.f]},{path:"aegisx/banners",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(4010),o.e(6224),o.e(6970),o.e(7005),o.e(8024)]).then(o.bind(o,18024)).then(w=>w.BannersModule),canMatch:[I.f]},{path:"aegisx/popup-windows",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(4010),o.e(7153),o.e(6224),o.e(1111)]).then(o.bind(o,31111)).then(w=>w.PopupWindowsModule),canMatch:[I.f]},{path:"aegisx/export",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(2076),o.e(8332)]).then(o.bind(o,18332)).then(w=>w.ExportModule),canMatch:[I.f]},{path:"aegisx/params",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(4010),o.e(7153),o.e(6224),o.e(6970),o.e(7005),o.e(9760),o.e(6943),o.e(502),o.e(3176),o.e(9992),o.e(1776),o.e(8682),o.e(4793),o.e(2076),o.e(4698)]).then(o.bind(o,64698)).then(w=>
1w.ParamsModule),canMatch:[I.f]},{path:"aegisx/messages",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(7153),o.e(5409),o.e(46),o.e(5104)]).then(o.bind(o,45104)).then(w=>w.MessagesModule),canMatch:[I.f]},{path:"aegisx/permissions",loadChildren:()=>Promise.all([o.e(5999),o.e(3328),o.e(2076),o.e(8702)]).then(o.bind(o,18702)).then(w=>w.PermissionsModule),canMatch:[I.f]},{path:"aegisx/courses",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(4010),o.e(7153),o.e(5409),o.e(46),o.e(2076),o.e(3303)]).then(o.bind(o,23303)).then(w=>w.CoursesModule),canMatch:[I.f]},{path:"aegisx/discounts",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(6224),o.e(6970),o.e(5409),o.e(9760),o.e(3161),o.e(706),o.e(7453),o.e(6267)]).then(o.bind(o,26267)).then(w=>w.DiscountsModule),canMatch:[I.f]},{path:"aegisx/price-actions",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(6224),o.e(6970),o.e(7005),o.e(5409),o.e(9168)]).then(o.bind(o,79168)).then(w=>
1w.PriceActionsModule),canMatch:[I.f]},{path:"aegisx/action-currencies",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(6970),o.e(5409),o.e(9921)]).then(o.bind(o,9921)).then(w=>w.ActionCurrenciesModule),canMatch:[I.f]},{path:"aegisx/sets",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(7887),o.e(9788),o.e(4010),o.e(7153),o.e(6224),o.e(6970),o.e(7005),o.e(502),o.e(2076),o.e(5526)]).then(o.bind(o,75526)).then(w=>w.SetsModule),canMatch:[I.f]},{path:"aegisx/feedbacks",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(2076),o.e(1878)]).then(o.bind(o,31878)).then(w=>w.FeedbacksModule),canMatch:[I.f]},{path:"aegisx/login-history",loadChildren:()=>Promise.all([o.e(3328),o.e(1582)]).then(o.bind(o,2828)).then(w=>w.LoginHistoryModule),canMatch:[I.f]},{path:"aegisx/contacts",loadChildren:()=>Promise.all([o.e(5999),o.e(3328),o.e(2076),o.e(3963)]).then(o.bind(o,55426)).then(w=>w.ContactsModule),canMatch:[I.f]},{path:"aegisx/newsletters",loadChildren:()=>Promise.all([o.e(3328),o.e(8430)]).then(o.bind(o,29948)).then(w=>w.NewslettersModule),canMatch:[I.f]},{path:"aegisx/sellers",loadChildren:()=>Promise.all([o.e(5999),o.e(3328),o.e(7153),o.e(438)]).then(o.bind(o,80438)).then(w=>w.SellersModule),canMatch:[I.f]},{path:"aegisx/feeds-list",loadChildren:()=>Promise.all([o.e(3328),o.e(8940)]).then(o.bind(o,30314)).then(w=>w.FeedsListModule),canMatch:[I.f]},{path:"aegisx/redirects",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(3328),o.e(9788),o.e(723)]).then(o.bind(o,50723)).then(w=>w.RedirectsModule),canMatch:[I.f]},{path:"aegisx/borrow-types",loadChildren:()=>Promise.all([o.e(5999),o.e(3328),o.e(9788),o.e(4010),o.e(7153),o.e(5965)]).then(o.bind(o,95965)).then(w=>w.BorrowTypesModule),canMatch:[I.f]},{path:"",redirectTo:u.Ay.computedLang||u.vj,pathMatch:"full"},{path:":language/"+l.zT,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(3558),o.e(5340),o.e(2076),o.e(8934)]).then(o.bind(o,38934)).then(w=>w.CartModule),canMatch:[I.f]},{path:":language/"+l.sm,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(3489)]).then(o.bind(o,23489)).then(w=>w.SitemapModule),canMatch:[I.f]},{path:":language/"+l.BL,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(2076),o.e(6543)]).then(o.bind(o,6543)).then(w=>w.ComparatorModule),canMatch:[I.f]},{path:":language/"+l.so,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(9788),o.e(1600),o.e(4010),o.e(3161),o.e(9865),o.e(5340),o.e(2076),o.e(5730)]).then(o.bind(o,99053)).then(w=>w.UserSectionModule),canMatch:[I.f]},{path:":language/"+l.PK,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(9788),o.e(1600),o.e(6828),o.e(3543),o.e(8098),o.e(9865),o.e(2981),o.e(2076),o.e(585)]).then(o.bind(o,10585)).then(w=>w.CategoryModule),canMatch:[I.f]},{path:":language/"+l.Mu,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(4010),o.e(6828),o.e(3543),o.e(3558),o.e(8825)]).then(o.bind(o,98825)).then(w=>w.ProductModule),canMatch:[I.f]},{path:":language/"+l.Up,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(2767)]).then(o.bind(o,22767)).then(w=>w.BrandModule),canMatch:[I.f]},{path:":language/"+l.aZ,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(5056)]).then(o.bind(o,25056)).then(w=>w.RegisterModule),canMatch:[I.f]},{path:":language/"+l.RG,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(4010),o.e(6828),o.e(6598)]).then(o.bind(o,84217)).then(w=>w.SetModule),canMatch:[I.f]},{path:":language/"+l.HK,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(4010),o.e(6828),o.e(3543),o.e(3558),o.e(8825),o.e(2076),o.e(5578)]).then(o.bind(o,65578)).then(w=>w.ArticleModule),canMatch:[I.f]},{path:":language/"+l.Dn,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(9788),o.e(1600),o.e(6828),o.e(3543),o.e(8098),o.e(9865),o.e(2981),o.e(2051)]).then(o.bind(o,32051)).then(w=>w.SearchModule),canMatch:[I.f]},{path:":language/"+l.Y1,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(2369)]).then(o.bind(o,52369)).then(w=>
1w.ConfiguratorModule),canMatch:[I.f]},{path:":language/"+l.I_,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(1791)]).then(o.bind(o,31791)).then(w=>w.WishlistModule),canMatch:[I.f]},{path:":language/"+l.Oi,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(2076),o.e(1948)]).then(o.bind(o,21948)).then(w=>w.SellerModule),canMatch:[I.f]},{path:":language/"+l.Iy,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(4010),o.e(2076),o.e(7508)]).then(o.bind(o,87508)).then(w=>w.ContactsPageModule),canMatch:[I.f]},{path:":language/"+l.hU,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(8875)]).then(o.bind(o,8875)).then(w=>w.AboutUsPageModule),canMatch:[I.f]},{path:":language/"+l.Cv,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(8890)]).then(o.bind(o,28890)).then(w=>w.Error404Module),canMatch:[I.f]},{path:":language/"+l.SU,loadChildren:()=>o.e(7436).then(o.bind(o,37436)).then(w=>w.BrowserNotSupportedModule),canMatch:[I.f]},{path:":language/"+l.rl,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(9199)]).then(o.bind(o,59199)).then(w=>w.CustomSetModule),canMatch:[I.f]},{path:":language",loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(6828),o.e(3543),o.e(2076),o.e(6918)]).then(o.bind(o,79217)).then(w=>w.HomepageModule),canMatch:[I.f]},{path:":language/"+l.wY,loadChildren:()=>Promise.all([o.e(5999),o.e(39),o.e(7887),o.e(1600),o.e(2076),o.e(2408)]).then(o.bind(o,39235)).then(w=>w.PromoModule),canMatch:[I.f]},{path:"**",redirectTo:`${u.Ay.computedLang||u.vj}/${l.Cv}`}];let C=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({imports:[x.iI.forRoot(g,{enableTracing:!1}),x.iI]})}return w})();var D=o(76965),A=o(51235),V=o(45817),Z=o(14421),re=o(44670),K=o(53681),Me=o(15575),Oe=o(77763),ie=o(58728),ge=o(95006),ye=o(43574),rt=o(41080);const Bt=(()=>{function w(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return w.prototype=Object.create(Error.prototype),w})();var Ve=o(42551),mt=o(13004);class Je{constructor(m,f,M,W){this.waitFor=m,this.absoluteTimeout=f,this.withObservable=M,this.scheduler=W}call(m,f){return f.subscribe(new ke(m,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class ke extends mt.gn{constructor(m,f,M,W,Ee){super(m),this.absoluteTimeout=f,this.waitFor=M,this.withObservable=W,this.scheduler=Ee,this.scheduleTimeout()}static dispatchTimeout(m){const{withObservable:f}=m;m._unsubscribeAndRecycle(),m.add((0,mt.tS)(f,new mt.zA(m)))}scheduleTimeout(){const{action:m}=this;m?this.action=m.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(ke.dispatchTimeout,this.waitFor,this))}_next(m){this.absoluteTimeout||this.scheduleTimeout(),super._next(m)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var He=o(74526);var Ct=o(63020),Ot=o(83921),kt=o(19493),Qe=o(7605),yt=o(49090),ce=o(17753),Ne=o(70097),it=o(57421),Rt=o(85019),Yt=o(89079);const En="PERFORM_ACTION",Un="ROLLBACK",Wn="TOGGLE_ACTION",pn="JUMP_TO_STATE",Sn="JUMP_TO_ACTION",Pn="IMPORT_STATE",ui="LOCK_CHANGES",xn="PAUSE_RECORDING";class sn{constructor(m,f){if(this.action=m,this.timestamp=f,this.type=En,typeof m.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class pt{constructor(){this.type="REFRESH"}}class lt{constructor(m){this.timestamp=m,this.type="RESET"}}class ze{constructor(m){this.timestamp=m,this.type=Un}}class ae{constructor(m){this.timestamp=m,this.type="COMMIT"}}class Re{constructor(){this.type="SWEEP"}}class We{constructor(m){this.id=m,this.type=Wn}}class ft{constructor(m){this.index=m,this.type=pn}}class Tt{constructor(m){this.actionId=m,this.type=Sn}}class un{constructor(m){this.nextLiftedState=m,this.type=Pn}}class Dn{constructor(m){this.status=m,this.type=ui}}class rn{constructor(m){this.status=m,this.type=xn}}const Pt=new c.nKC("@ngrx/store-devtools Options"),_n=new c.nKC("@ngrx/store-devtools Initial Config");function he(){return null}const me="NgRx Store DevTools";function se(w){const m={maxAge:!1,monitor:he,actionSanitizer:void 0,stateSanitizer:void 0,name:me,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},f="function"==typeof w?w():w,W=f.features||!!f.logOnly&&{pause:!0,export:!0,test:!0}||m.features;!0===W.import&&(W.import="custom");const Ee=Object.assign({},m,{features:W},f);
1if(Ee.maxAge&&Ee.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${Ee.maxAge}`);return Ee}function q(w,m){return w.filter(f=>m.indexOf(f)<0)}function Ce(w){const{computedStates:m,currentStateIndex:f}=w;if(f>=m.length){const{state:W}=m[m.length-1];return W}const{state:M}=m[f];return M}function Ze(w){return new sn(w,+Date.now())}function Ht(w,m){return Object.keys(m).reduce((f,M)=>{const W=Number(M);return f[W]=at(w,m[W],W),f},{})}function at(w,m,f){return{...m,action:w(m.action,f)}}function Vt(w,m){return m.map((f,M)=>({state:_e(w,f.state,M),error:f.error}))}function _e(w,m,f){return w(m,f)}function Ke(w){return w.predicate||w.actionsSafelist||w.actionsBlocklist}function Ue(w,m,f,M,W){const Ee=f&&!f(w,m.action),Be=M&&!m.action.type.match(M.map(Dt=>Mt(Dt)).join("|")),Ye=W&&m.action.type.match(W.map(Dt=>Mt(Dt)).join("|"));return Ee||Be||Ye}function Mt(w){return w.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Qt(w){return{ngZone:w?(0,c.WQX)(c.SKi):null,connectInZone:w}}let nn=(()=>{class w extends D.SS{static#e=this.\u0275fac=(()=>{let f;return function(W){return(f||(f=c.xGo(w)))(W||w)}})();static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})();const xe=new c.nKC("@ngrx/store-devtools Redux Devtools Extension");let ee=(()=>{class w{constructor(f,M,W){this.config=M,this.dispatcher=W,this.zoneConfig=Qt(this.config.connectInZone),this.devtoolsExtension=f,this.createActionStreams()}notify(f,M){if(this.devtoolsExtension)if(f.type===En){if(M.isLocked||M.isPaused)return;const W=Ce(M);if(Ke(this.config)&&Ue(W,f,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const Ee=this.config.stateSanitizer?_e(this.config.stateSanitizer,W,M.currentStateIndex):W,Be=this.config.actionSanitizer?at(this.config.actionSanitizer,f,M.nextActionId):f;this.sendToReduxDevtools(()=>this.extensionConnection.send(Be,Ee))}else{const W={...M,stagedActionIds:M.stagedActionIds,actionsById:this.config.actionSanitizer?Ht(this.config.actionSanitizer,M.actionsById):M.actionsById,computedStates:this.config.stateSanitizer?Vt(this.config.stateSanitizer,M.computedStates):M.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,W,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new V.c(f=>{const M=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=M,M.init(),M.subscribe(W=>f.next(W)),M.unsubscribe}):A.w}createActionStreams(){const f=this.createChangesObservable().pipe((0,Oe.u)()),M=f.pipe((0,ie.p)(vt=>"START"===vt.type)),W=f.pipe((0,ie.p)(vt=>"STOP"===vt.type)),Ee=f.pipe((0,ie.p)(vt=>"DISPATCH"===vt.type),(0,ge.T)(vt=>this.unwrapAction(vt.payload)),(0,ye.H)(vt=>vt.type===Pn?this.dispatcher.pipe((0,ie.p)(mn=>mn.type===D.q6),function ot(w,m=rt.b){return function Pe(w,m,f=rt.b){return M=>{let W=(0,Ve.$)(w),Ee=W?+w-f.now():Math.abs(w);return M.lift(new Je(Ee,W,m,f))}}(w,(0,He.$)(new Bt),m)}(1e3),(0,Ct.B)(1e3),(0,ge.T)(()=>vt),(0,Ot.W)(()=>(0,Z.of)(vt)),(0,kt.s)(1)):(0,Z.of)(vt))),Ye=f.pipe((0,ie.p)(vt=>"ACTION"===vt.type),(0,ge.T)(vt=>this.unwrapAction(vt.payload))).pipe((0,Qe.Q)(W)),Dt=Ee.pipe((0,Qe.Q)(W));this.start$=M.pipe((0,Qe.Q)(W)),this.actions$=this.start$.pipe((0,yt.n)(()=>Ye)),this.liftedActions$=this.start$.pipe((0,yt.n)(()=>Dt))}unwrapAction(f){return"string"==typeof f?(0,eval)(`(${f})`):f}getExtensionConfig(f){const M={name:f.name,features:f.features,serialize:f.serialize,autoPause:f.autoPause??!1,trace:f.trace??!1,traceLimit:f.traceLimit??75};return!1!==f.maxAge&&(M.maxAge=f.maxAge),M}sendToReduxDevtools(f){try{f()}catch(M){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",M)}}static#e=this.\u0275fac=function(M){return new(M||w)(c.KVO(xe),c.KVO(Pt),c.KVO(nn))};static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})();const H={type:D.Zz},z={type:"@ngrx/store-devtools/recompute"};function U(w,m,f,M,W){if(M)return{state:f,error:"Interrupted by an error up the chain"};let Be,Ee=f;try{Ee=w(f,m)}catch(Ye){Be=Ye.toString(),W.handleError(Ye)}return{state:Ee,error:Be}}function J(w,m,f,M,W,Ee,Be,Ye,Dt){if(m>=w.length&&w.length===Ee.length)return w;const vt=w.slice(0,m),mn=Ee.length-(Dt?1:0);for(let Xt=m;Xt<mn;Xt++){const Vn=Ee[Xt],Xn=W[Vn].action,gn=vt[Xt-1],yn=gn?gn.state:M,Ai=gn?gn.error:void 0,Ui=Be.indexOf(Vn)>-1?gn:U(f,Xn,yn,Ai,Ye);vt.push(Ui)}return Dt&&vt.push(w[w.length-1]),vt}let Le=(()=>{class w{constructor(f,M,W,Ee,Be,Ye,Dt,vt){const mn=function Q(w,m){return{monitorState:m(void 0,{}),nextActionId:1,actionsById:{0:Ze(H)},stagedActionIds:[0],skippedActionIds:[],committedState:w,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(Dt,vt.monitor),Xt=function de(w,m,f,M,W={}){return Ee=>(Be,Ye)=>{let{monitorState:Dt,actionsById:vt,nextActionId:mn,stagedActionIds:Xt,skippedActionIds:Vn,committedState:Xn,currentStateIndex:gn,computedStates:yn,isLocked:Ai,isPaused:Ti}=Be||m;function Ui(er){let Fi=er,dr=Xt.slice(1,Fi+1);for(let ur=0;ur<dr.length;ur++){if(yn[ur+1].error){Fi=ur,dr=Xt.slice(1,Fi+1);break}delete vt[dr[ur]]}Vn=Vn.filter(ur=>-1===dr.indexOf(ur)),Xt=[0,...Xt.slice(Fi+1)],Xn=yn[Fi].state,yn=yn.slice(Fi),gn=gn>Fi?gn-Fi:0}function ar(){vt={0:Ze(H)},mn=1,Xt=[0],Vn=[],Xn=yn[gn].state,gn=0,yn=[]}Be||(vt=Object.create(vt));let gi=0;switch(Ye.type){case ui:Ai=Ye.status,gi=1/0;break;case xn:Ti=Ye.status,Ti?(Xt=[...Xt,mn],vt[mn]=new sn({type:"@ngrx/devtools/pause"},+Date.now()),mn++,gi=Xt.length-1,yn=yn.concat(yn[yn.length-1]),gn===Xt.length-2&&gn++,gi=1/0):ar();break;case"RESET":vt={0:Ze(H)},mn=1,Xt=[0],Vn=[],Xn=w,gn=0,yn=[];break;
1case"COMMIT":ar();break;case Un:vt={0:Ze(H)},mn=1,Xt=[0],Vn=[],gn=0,yn=[];break;case Wn:{const{id:er}=Ye;Vn=-1===Vn.indexOf(er)?[er,...Vn]:Vn.filter(dr=>dr!==er),gi=Xt.indexOf(er);break}case"SET_ACTIONS_ACTIVE":{const{start:er,end:Fi,active:dr}=Ye,ur=[];for(let hr=er;hr<Fi;hr++)ur.push(hr);Vn=dr?q(Vn,ur):[...Vn,...ur],gi=Xt.indexOf(er);break}case pn:gn=Ye.index,gi=1/0;break;case Sn:{const er=Xt.indexOf(Ye.actionId);-1!==er&&(gn=er),gi=1/0;break}case"SWEEP":Xt=q(Xt,Vn),Vn=[],gn=Math.min(gn,Xt.length-1);break;case En:{if(Ai)return Be||m;if(Ti||Be&&Ue(Be.computedStates[gn],Ye,W.predicate,W.actionsSafelist,W.actionsBlocklist)){const Fi=yn[yn.length-1];yn=[...yn.slice(0,-1),U(Ee,Ye.action,Fi.state,Fi.error,f)],gi=1/0;break}W.maxAge&&Xt.length===W.maxAge&&Ui(1),gn===Xt.length-1&&gn++;const er=mn++;vt[er]=Ye,Xt=[...Xt,er],gi=Xt.length-1;break}case Pn:({monitorState:Dt,actionsById:vt,nextActionId:mn,stagedActionIds:Xt,skippedActionIds:Vn,committedState:Xn,currentStateIndex:gn,computedStates:yn,isLocked:Ai,isPaused:Ti}=Ye.nextLiftedState);break;case D.Zz:gi=0,W.maxAge&&Xt.length>W.maxAge&&(yn=J(yn,gi,Ee,Xn,vt,Xt,Vn,f,Ti),Ui(Xt.length-W.maxAge),gi=1/0);break;case D.q6:if(yn.filter(Fi=>Fi.error).length>0)gi=0,W.maxAge&&Xt.length>W.maxAge&&(yn=J(yn,gi,Ee,Xn,vt,Xt,Vn,f,Ti),Ui(Xt.length-W.maxAge),gi=1/0);else{if(!Ti&&!Ai){gn===Xt.length-1&&gn++;const Fi=mn++;vt[Fi]=new sn(Ye,+Date.now()),Xt=[...Xt,Fi],gi=Xt.length-1,yn=J(yn,gi,Ee,Xn,vt,Xt,Vn,f,Ti)}yn=yn.map(Fi=>({...Fi,state:Ee(Fi.state,z)})),gn=Xt.length-1,W.maxAge&&Xt.length>W.maxAge&&Ui(Xt.length-W.maxAge),gi=1/0}break;default:gi=1/0}return yn=J(yn,gi,Ee,Xn,vt,Xt,Vn,f,Ti),Dt=M(Dt,Ye),{monitorState:Dt,actionsById:vt,nextActionId:mn,stagedActionIds:Xt,skippedActionIds:Vn,committedState:Xn,currentStateIndex:gn,computedStates:yn,isLocked:Ai,isPaused:Ti}}}(Dt,mn,Ye,vt.monitor,vt),Vn=(0,re.h)((0,re.h)(M.asObservable().pipe((0,ce.i)(1)),Ee.actions$).pipe((0,ge.T)(Ze)),f,Ee.liftedActions$).pipe((0,Ne.QE)(K.T)),Xn=W.pipe((0,ge.T)(Xt)),gn=Qt(vt.connectInZone),yn=new Me.m(1);this.liftedStateSubscription=Vn.pipe((0,it.E)(Xn),Et(gn),(0,Rt.S)(({state:Ui},[ar,gi])=>{let er=gi(Ui,ar);return ar.type!==En&&Ke(vt)&&(er=function De(w,m,f,M){const W=[],Ee={},Be=[];return w.stagedActionIds.forEach((Ye,Dt)=>{const vt=w.actionsById[Ye];vt&&(Dt&&Ue(w.computedStates[Dt],vt,m,f,M)||(Ee[Ye]=vt,W.push(Ye),Be.push(w.computedStates[Dt])))}),{...w,stagedActionIds:W,actionsById:Ee,computedStates:Be}}(er,vt.predicate,vt.actionsSafelist,vt.actionsBlocklist)),Ee.notify(ar,er),{state:er,action:ar}},{state:mn,action:null})).subscribe(({state:Ui,action:ar})=>{yn.next(Ui),ar.type===En&&Be.next(ar.action)}),this.extensionStartSubscription=Ee.start$.pipe(Et(gn)).subscribe(()=>{this.refresh()});const Ai=yn.asObservable(),Ti=Ai.pipe((0,ge.T)(Ce));Object.defineProperty(Ti,"state",{value:(0,Yt.ot)(Ti,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=f,this.liftedState=Ai,this.state=Ti}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(f){this.dispatcher.next(f)}next(f){this.dispatcher.next(f)}error(f){}complete(){}performAction(f){this.dispatch(new sn(f,+Date.now()))}refresh(){this.dispatch(new pt)}reset(){this.dispatch(new lt(+Date.now()))}rollback(){this.dispatch(new ze(+Date.now()))}commit(){this.dispatch(new ae(+Date.now()))}sweep(){this.dispatch(new Re)}toggleAction(f){this.dispatch(new We(f))}jumpToAction(f){this.dispatch(new Tt(f))}jumpToState(f){this.dispatch(new ft(f))}importState(f){this.dispatch(new un(f))}lockChanges(f){this.dispatch(new Dn(f))}pauseRecording(f){this.dispatch(new rn(f))}static#e=this.\u0275fac=function(M){return new(M||w)(c.KVO(nn),c.KVO(D.SS),c.KVO(D.QU),c.KVO(ee),c.KVO(D.sA),c.KVO(c.zcH),c.KVO(D.N_),c.KVO(Pt))};static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})();function Et({ngZone:w,connectInZone:m}){return f=>m?new V.c(M=>f.subscribe({next:W=>w.run(()=>M.next(W)),error:W=>w.run(()=>M.error(W)),complete:()=>w.run(()=>M.complete())})):f}const jt=new c.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function cn(w,m){return!!w||m.monitor!==he}function kn(){const w="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[w]<"u"?window[w]:null}function hn(w={}){return(0,c.EmA)([ee,nn,Le,{provide:_n,useValue:w},{provide:jt,deps:[xe,Pt],useFactory:cn},{provide:xe,useFactory:kn},{provide:Pt,deps:[_n],useFactory:se},{provide:D.h1,deps:[Le],useFactory:Oi},{provide:D.Bh,useExisting:nn}])}function Oi(w){return w.state}let mi=(()=>{class w{static instrument(f={}){return{ngModule:w,providers:[hn(f)]}}static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({})}return w})();var fn=o(49969);function An(w){return new c.wOt(3e3,!1)}function Ut(w){switch(w.length){case 0:return new fn.sf;case 1:return w[0];default:return new fn.ui(w)}}function v(w,m,f=new Map,M=new Map){const W=[],Ee=[];let Be=-1,Ye=null;if(m.forEach(Dt=>{const vt=Dt.get("offset"),mn=vt==Be,Xt=mn&&Ye||new Map;Dt.forEach((Vn,Xn)=>{let gn=Xn,yn=Vn;if("offset"!==Xn)switch(gn=w.normalizePropertyName(gn,W),yn){case fn.FX:yn=f.get(Xn);break;case fn.kp:yn=M.get(Xn);break;default:yn=w.normalizeStyleValue(Xn,gn,yn,W)}Xt.set(gn,yn)}),mn||Ee.push(Xt),Ye=Xt,Be=vt}),W.length)throw function Li(w){return new c.wOt(3502,!1)}();return Ee}function $(w,m,f,M){switch(m){case"start":w.onStart(()=>M(f&&F(f,"start",w)));break;case"done":w.onDone(()=>M(f&&F(f,"done",w)));break;
1case"destroy":w.onDestroy(()=>M(f&&F(f,"destroy",w)))}}function F(w,m,f){const Ee=we(w.element,w.triggerName,w.fromState,w.toState,m||w.phaseName,f.totalTime??w.totalTime,!!f.disabled),Be=w._data;return null!=Be&&(Ee._data=Be),Ee}function we(w,m,f,M,W="",Ee=0,Be){return{element:w,triggerName:m,fromState:f,toState:M,phaseName:W,totalTime:Ee,disabled:!!Be}}function st(w,m,f){let M=w.get(m);return M||w.set(m,M=f),M}function Nn(w){const m=w.indexOf(":");return[w.substring(1,m),w.slice(m+1)]}const mr=typeof document>"u"?null:document.documentElement;function Zi(w){const m=w.parentNode||w.host||null;return m===mr?null:m}let zi=null,rr=!1;function Ki(w,m){for(;m;){if(m===w)return!0;m=Zi(m)}return!1}function fs(w,m,f){if(f)return Array.from(w.querySelectorAll(m));const M=w.querySelector(m);return M?[M]:[]}let Ar=(()=>{class w{validateStyleProperty(f){return function Js(w){zi||(zi=function Mo(){return typeof document<"u"?document.body:null}()||{},rr=!!zi.style&&"WebkitAppearance"in zi.style);let m=!0;return zi.style&&!function ir(w){return"ebkit"==w.substring(1,6)}(w)&&(m=w in zi.style,!m&&rr&&(m="Webkit"+w.charAt(0).toUpperCase()+w.slice(1)in zi.style)),m}(f)}matchesElement(f,M){return!1}containsElement(f,M){return Ki(f,M)}getParentElement(f){return Zi(f)}query(f,M,W){return fs(f,M,W)}computeStyle(f,M,W){return W||""}animate(f,M,W,Ee,Be,Ye=[],Dt){return new fn.sf(W,Ee)}static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})();class Or{static#e=this.NOOP=new Ar}class Cr{}const mo=1e3,Er="ng-enter",ys="ng-leave",Hr="ng-trigger",ks=".ng-trigger",os="ng-animating",Fs=".ng-animating";function $i(w){if("number"==typeof w)return w;const m=w.match(/^(-?[\.\d]+)(m?s)/);return!m||m.length<2?0:zr(parseFloat(m[1]),m[2])}function zr(w,m){return"s"===m?w*mo:w}function ws(w,m,f){return w.hasOwnProperty("duration")?w:function Ls(w,m,f){let W,Ee=0,Be="";if("string"==typeof w){const Ye=w.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ye)return m.push(An()),{duration:0,delay:0,easing:""};W=zr(parseFloat(Ye[1]),Ye[2]);const Dt=Ye[3];null!=Dt&&(Ee=zr(parseFloat(Dt),Ye[4]));const vt=Ye[5];vt&&(Be=vt)}else W=w;if(!f){let Ye=!1,Dt=m.length;W<0&&(m.push(function Bi(){return new c.wOt(3100,!1)}()),Ye=!0),Ee<0&&(m.push(function Wi(){return new c.wOt(3101,!1)}()),Ye=!0),Ye&&m.splice(Dt,0,An())}return{duration:W,delay:Ee,easing:Be}}(w,m,f)}function Sr(w,m,f){m.forEach((M,W)=>{const Ee=wr(W);f&&!f.has(W)&&f.set(W,w.style[Ee]),w.style[Ee]=M})}function Rr(w,m){m.forEach((f,M)=>{const W=wr(M);w.style[W]=""})}function $r(w){return Array.isArray(w)?1==w.length?w[0]:(0,fn.K2)(w):w}const as=new RegExp("{{\\s*(.+?)\\s*}}","g");function sr(w){let m=[];if("string"==typeof w){let f;for(;f=as.exec(w);)m.push(f[1]);as.lastIndex=0}return m}function Vs(w,m,f){const M=`${w}`,W=M.replace(as,(Ee,Be)=>{let Ye=m[Be];return null==Ye&&(f.push(function Xe(w){return new c.wOt(3003,!1)}()),Ye=""),Ye.toString()});return W==M?w:W}const Us=/-+([a-z0-9])/g;function wr(w){return w.replace(Us,(...m)=>m[1].toUpperCase())}function or(w,m,f){switch(m.type){case fn.If.Trigger:return w.visitTrigger(m,f);case fn.If.State:return w.visitState(m,f);case fn.If.Transition:return w.visitTransition(m,f);case fn.If.Sequence:return w.visitSequence(m,f);case fn.If.Group:return w.visitGroup(m,f);case fn.If.Animate:return w.visitAnimate(m,f);case fn.If.Keyframes:return w.visitKeyframes(m,f);case fn.If.Style:return w.visitStyle(m,f);case fn.If.Reference:return w.visitReference(m,f);case fn.If.AnimateChild:return w.visitAnimateChild(m,f);case fn.If.AnimateRef:return w.visitAnimateRef(m,f);case fn.If.Query:return w.visitQuery(m,f);case fn.If.Stagger:return w.visitStagger(m,f);default:throw function Ge(w){return new c.wOt(3004,!1)}()}}function gs(w,m){return window.getComputedStyle(w)[m]}const eo=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 xr extends Cr{normalizePropertyName(m,f){return wr(m)}normalizeStyleValue(m,f,M,W){let Ee="";const Be=M.toString().trim();if(eo.has(f)&&0!==M&&"0"!==M)if("number"==typeof M)Ee="px";
1else{const Ye=M.match(/^[+-]?[\d\.]+([a-z]*)$/);Ye&&0==Ye[1].length&&W.push(function At(w,m){return new c.wOt(3005,!1)}())}return Be+Ee}}const ve="*";const Pr=new Set(["true","1"]),ls=new Set(["false","0"]);function gr(w,m){const f=Pr.has(w)||ls.has(w),M=Pr.has(m)||ls.has(m);return(W,Ee)=>{let Be=w==ve||w==W,Ye=m==ve||m==Ee;return!Be&&f&&"boolean"==typeof W&&(Be=W?Pr.has(w):ls.has(w)),!Ye&&M&&"boolean"==typeof Ee&&(Ye=Ee?Pr.has(m):ls.has(m)),Be&&Ye}}const Jo=new RegExp("s*:selfs*,?","g");function go(w,m,f,M){return new ji(w).build(m,f,M)}class ji{constructor(m){this._driver=m}build(m,f,M){const W=new qo(f);return this._resetContextStyleTimingState(W),or(this,$r(m),W)}_resetContextStyleTimingState(m){m.currentQuerySelector="",m.collectedStyles=new Map,m.collectedStyles.set("",new Map),m.currentTime=0}visitTrigger(m,f){let M=f.queryCount=0,W=f.depCount=0;const Ee=[],Be=[];return"@"==m.name.charAt(0)&&f.errors.push(function xt(){return new c.wOt(3006,!1)}()),m.definitions.forEach(Ye=>{if(this._resetContextStyleTimingState(f),Ye.type==fn.If.State){const Dt=Ye,vt=Dt.name;vt.toString().split(/\s*,\s*/).forEach(mn=>{Dt.name=mn,Ee.push(this.visitState(Dt,f))}),Dt.name=vt}else if(Ye.type==fn.If.Transition){const Dt=this.visitTransition(Ye,f);M+=Dt.queryCount,W+=Dt.depCount,Be.push(Dt)}else f.errors.push(function qt(){return new c.wOt(3007,!1)}())}),{type:fn.If.Trigger,name:m.name,states:Ee,transitions:Be,queryCount:M,depCount:W,options:null}}visitState(m,f){const M=this.visitStyle(m.styles,f),W=m.options&&m.options.params||null;if(M.containsDynamicStyles){const Ee=new Set,Be=W||{};M.styles.forEach(Ye=>{Ye instanceof Map&&Ye.forEach(Dt=>{sr(Dt).forEach(vt=>{Be.hasOwnProperty(vt)||Ee.add(vt)})})}),Ee.size&&f.errors.push(function en(w,m){return new c.wOt(3008,!1)}(0,Ee.values()))}return{type:fn.If.State,name:m.name,style:M,options:W?{params:W}:null}}visitTransition(m,f){f.queryCount=0,f.depCount=0;const M=or(this,$r(m.animation),f),W=function et(w,m){const f=[];return"string"==typeof w?w.split(/\s*,\s*/).forEach(M=>function Rn(w,m,f){if(":"==w[0]){const Dt=function li(w,m){switch(w){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(f,M)=>parseFloat(M)>parseFloat(f);case":decrement":return(f,M)=>parseFloat(M)<parseFloat(f);default:return m.push(function hi(w){return new c.wOt(3016,!1)}()),"* => *"}}(w,f);if("function"==typeof Dt)return void m.push(Dt);w=Dt}const M=w.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==M||M.length<4)return f.push(function Zn(w){return new c.wOt(3015,!1)}()),m;const W=M[1],Ee=M[2],Be=M[3];m.push(gr(W,Be)),"<"==Ee[0]&&(W!=ve||Be!=ve)&&m.push(gr(Be,W))}(M,f,m)):f.push(w),f}(m.expr,f.errors);return{type:fn.If.Transition,matchers:W,animation:M,queryCount:f.queryCount,depCount:f.depCount,options:Nr(m.options)}}visitSequence(m,f){return{type:fn.If.Sequence,steps:m.steps.map(M=>or(this,M,f)),options:Nr(m.options)}}visitGroup(m,f){const M=f.currentTime;let W=0;const Ee=m.steps.map(Be=>{f.currentTime=M;const Ye=or(this,Be,f);return W=Math.max(W,f.currentTime),Ye});return f.currentTime=W,{type:fn.If.Group,steps:Ee,options:Nr(m.options)}}visitAnimate(m,f){const M=function Zr(w,m){if(w.hasOwnProperty("duration"))return w;if("number"==typeof w)return Uo(ws(w,m).duration,0,"");const f=w;if(f.split(/\s+/).some(Ee=>"{"==Ee.charAt(0)&&"{"==Ee.charAt(1))){const Ee=Uo(0,0,"");return Ee.dynamic=!0,Ee.strValue=f,Ee}const W=ws(f,m);return Uo(W.duration,W.delay,W.easing)}(m.timings,f.errors);f.currentAnimateTimings=M;let W,Ee=m.styles?m.styles:(0,fn.iF)({});if(Ee.type==fn.If.Keyframes)W=this.visitKeyframes(Ee,f);else{let Be=m.styles,Ye=!1;if(!Be){Ye=!0;const vt={};M.easing&&(vt.easing=M.easing),Be=(0,fn.iF)(vt)}f.currentTime+=M.duration+M.delay;const Dt=this.visitStyle(Be,f);Dt.isEmptyStep=Ye,W=Dt}return f.currentAnimateTimings=null,{type:fn.If.Animate,timings:M,style:W,options:null}}visitStyle(m,f){const M=this._makeStyleAst(m,f);return this._validateStyleAst(M,f),M}_makeStyleAst(m,f){const M=[],W=Array.isArray(m.styles)?m.styles:[m.styles];for(let Ye of W)"string"==typeof Ye?Ye===fn.kp?M.push(Ye):f.errors.push(new c.wOt(3002,!1)):M.push(new Map(Object.entries(Ye)));let Ee=!1,Be=null;return M.forEach(Ye=>{if(Ye instanceof Map&&(Ye.has("easing")&&(Be=Ye.get("easing"),Ye.delete("easing")),!Ee))for(let Dt of Ye.values())if(Dt.toString().indexOf("{{")>
vendor: 14,718 bytes, line 1
1=0){Ee=!0;break}}),{type:fn.If.Style,styles:M,easing:Be,offset:m.offset,containsDynamicStyles:Ee,options:null}}_validateStyleAst(m,f){const M=f.currentAnimateTimings;let W=f.currentTime,Ee=f.currentTime;M&&Ee>0&&(Ee-=M.duration+M.delay),m.styles.forEach(Be=>{"string"!=typeof Be&&Be.forEach((Ye,Dt)=>{const vt=f.collectedStyles.get(f.currentQuerySelector),mn=vt.get(Dt);let Xt=!0;mn&&(Ee!=W&&Ee>=mn.startTime&&W<=mn.endTime&&(f.errors.push(function dn(w,m,f,M,W){return new c.wOt(3010,!1)}()),Xt=!1),Ee=mn.startTime),Xt&&vt.set(Dt,{startTime:Ee,endTime:W}),f.options&&function pr(w,m,f){const M=m.params||{},W=sr(w);W.length&&W.forEach(Ee=>{M.hasOwnProperty(Ee)||f.push(function Se(w){return new c.wOt(3001,!1)}())})}(Ye,f.options,f.errors)})})}visitKeyframes(m,f){const M={type:fn.If.Keyframes,styles:[],options:null};if(!f.currentAnimateTimings)return f.errors.push(function ei(){return new c.wOt(3011,!1)}()),M;let Ee=0;const Be=[];let Ye=!1,Dt=!1,vt=0;const mn=m.steps.map(Ti=>{const Ui=this._makeStyleAst(Ti,f);let ar=null!=Ui.offset?Ui.offset:function ga(w){if("string"==typeof w)return null;let m=null;if(Array.isArray(w))w.forEach(f=>{if(f instanceof Map&&f.has("offset")){const M=f;m=parseFloat(M.get("offset")),M.delete("offset")}});else if(w instanceof Map&&w.has("offset")){const f=w;m=parseFloat(f.get("offset")),f.delete("offset")}return m}(Ui.styles),gi=0;return null!=ar&&(Ee++,gi=Ui.offset=ar),Dt=Dt||gi<0||gi>1,Ye=Ye||gi<vt,vt=gi,Be.push(gi),Ui});Dt&&f.errors.push(function Tn(){return new c.wOt(3012,!1)}()),Ye&&f.errors.push(function Kn(){return new c.wOt(3200,!1)}());const Xt=m.steps.length;let Vn=0;Ee>0&&Ee<Xt?f.errors.push(function ri(){return new c.wOt(3202,!1)}()):0==Ee&&(Vn=1/(Xt-1));const Xn=Xt-1,gn=f.currentTime,yn=f.currentAnimateTimings,Ai=yn.duration;return mn.forEach((Ti,Ui)=>{const ar=Vn>0?Ui==Xn?1:Vn*Ui:Be[Ui],gi=ar*Ai;f.currentTime=gn+yn.delay+gi,yn.duration=gi,this._validateStyleAst(Ti,f),Ti.offset=ar,M.styles.push(Ti)}),M}visitReference(m,f){return{type:fn.If.Reference,animation:or(this,$r(m.animation),f),options:Nr(m.options)}}visitAnimateChild(m,f){return f.depCount++,{type:fn.If.AnimateChild,options:Nr(m.options)}}visitAnimateRef(m,f){return{type:fn.If.AnimateRef,animation:this.visitReference(m.animation,f),options:Nr(m.options)}}visitQuery(m,f){const M=f.currentQuerySelector,W=m.options||{};f.queryCount++,f.currentQuery=m;const[Ee,Be]=function pa(w){const m=!!w.split(/\s*,\s*/).find(f=>":self"==f);return m&&(w=w.replace(Jo,"")),w=w.replace(/@\*/g,ks).replace(/@\w+/g,f=>ks+"-"+f.slice(1)).replace(/:animating/g,Fs),[w,m]}(m.selector);f.currentQuerySelector=M.length?M+" "+Ee:Ee,st(f.collectedStyles,f.currentQuerySelector,new Map);const Ye=or(this,$r(m.animation),f);return f.currentQuery=null,f.currentQuerySelector=M,{type:fn.If.Query,selector:Ee,limit:W.limit||0,optional:!!W.optional,includeSelf:Be,animation:Ye,originalSelector:m.selector,options:Nr(m.options)}}visitStagger(m,f){f.currentQuery||f.errors.push(function Di(){return new c.wOt(3013,!1)}());const M="full"===m.timings?{duration:0,delay:0,easing:"full"}:ws(m.timings,f.errors,!0);return{type:fn.If.Stagger,animation:or(this,$r(m.animation),f),timings:M,options:null}}}class qo{constructor(m){this.errors=m,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 Nr(w){return w?(w={...w}).params&&(w.params=function Vo(w){return w?{...w}:null}(w.params)):w={},w}function Uo(w,m,f){return{duration:w,delay:m,easing:f}}function Qr(w,m,f,M,W,Ee,Be=null,Ye=!1){return{type:1,element:w,keyframes:m,preStyleProps:f,postStyleProps:M,duration:W,delay:Ee,totalTime:W+Ee,easing:Be,subTimeline:Ye}}class Ms{constructor(){this._map=new Map}get(m){return this._map.get(m)||[]}append(m,f){let M=this._map.get(m);M||this._map.set(m,M=[]),M.push(...f)}has(m){return this._map.has(m)}clear(){this._map.clear()}}const vo=new RegExp(":enter","g"),Qn=new RegExp(":leave","g");function Ni(w,m,f,M,W,Ee=new Map,Be=new Map,Ye,Dt,vt=[]){return(new Wr).buildKeyframes(w,m,f,M,W,Ee,Be,Ye,Dt,vt)}class Wr{buildKeyframes(m,f,M,W,Ee,Be,Ye,Dt,vt,mn=[]){vt=vt||new Ms;const Xt=new Ss(m,f,vt,W,Ee,mn,[]);Xt.options=Dt;const Vn=Dt.delay?$i(Dt.delay):0;Xt.currentTimeline.delayNextStep(Vn),Xt.currentTimeline.setStyles([Be],null,Xt.errors,Dt),or(this,M,Xt);const Xn=Xt.timelines.filter(gn=>gn.containsAnimation());if(Xn.length&&Ye.size){let gn;for(let yn=Xn.length-1;yn>=0;yn--){const Ai=Xn[yn];if(Ai.element===f){gn=Ai;break}}gn&&!gn.allowOnlyTimelineStyles()&&gn.setStyles([Ye],null,Xt.errors,Dt)}return Xn.length?Xn.map(gn=>gn.buildKeyframes()):[Qr(f,[],[],[],0,Vn,"",!1)]}visitTrigger(m,f){}visitState(m,f){}visitTransition(m,f){}visitAnimateChild(m,f){const M=f.subInstructions.get(f.element);if(M){const W=f.createSubContext(m.options),Ee=f.currentTimeline.currentTime,Be=this._visitSubInstructions(M,W,W.options);Ee!=Be&&f.transformIntoNewTimeline(Be)}f.previousNode=m}visitAnimateRef(m,f){const M=f.createSubContext(m.options);M.transformIntoNewTimeline(),this._applyAnimationRefDelays([m.options,m.animation.options],f,M),this.visitReference(m.animation,M),f.transformIntoNewTimeline(M.currentTimeline.currentTime),f.previousNode=m}_applyAnimationRefDelays(m,f,M){for(const W of m){const Ee=W?.delay;if(Ee){const Be="number"==typeof Ee?Ee:$i(Vs(Ee,W?.params??{},f.errors));M.delayNextStep(Be)}}}_visitSubInstructions(m,f,M){let Ee=f.currentTimeline.currentTime;const Be=null!=M.duration?$i(M.duration):null,Ye=null!=M.delay?$i(M.delay):null;return 0!==Be&&m.forEach(Dt=>{const vt=f.appendInstructionToTimeline(Dt,Be,Ye);Ee=Math.max(Ee,vt.duration+vt.delay)}),Ee}visitReference(m,f){f.updateOptions(m.options,!0),or(this,m.animation,f),f.previousNode=m}visitSequence(m,f){const M=f.subContextCount;let W=f;const Ee=m.options;if(Ee&&(Ee.params||Ee.delay)&&(W=f.createSubContext(Ee),W.transformIntoNewTimeline(),null!=Ee.delay)){W.previousNode.type==fn.If.Style&&(W.currentTimeline.snapshotCurrentStyles(),W.previousNode=di);const Be=$i(Ee.delay);W.delayNextStep(Be)}m.steps.length&&(m.steps.forEach(Be=>or(this,Be,W)),W.currentTimeline.applyStylesToKeyframe(),W.subContextCount>M&&W.transformIntoNewTimeline()),f.previousNode=m}visitGroup(m,f){const M=[];let W=f.currentTimeline.currentTime;const Ee=m.options&&m.options.delay?$i(m.options.delay):0;m.steps.forEach(Be=>{const Ye=f.createSubContext(m.options);Ee&&Ye.delayNextStep(Ee),or(this,Be,Ye),W=Math.max(W,Ye.currentTimeline.currentTime),M.push(Ye.currentTimeline)}),M.forEach(Be=>f.currentTimeline.mergeTimelineCollectedStyles(Be)),f.transformIntoNewTimeline(W),f.previousNode=m}_visitTiming(m,f){if(m.dynamic){const M=m.strValue;return ws(f.params?Vs(M,f.params,f.errors):M,f.errors)}return{duration:m.duration,delay:m.delay,easing:m.easing}}visitAnimate(m,f){const M=f.currentAnimateTimings=this._visitTiming(m.timings,f),W=f.currentTimeline;M.delay&&(f.incrementTime(M.delay),W.snapshotCurrentStyles());const Ee=m.style;Ee.type==fn.If.Keyframes?this.visitKeyframes(Ee,f):(f.incrementTime(M.duration),this.visitStyle(Ee,f),W.applyStylesToKeyframe()),f.currentAnimateTimings=null,f.previousNode=m}visitStyle(m,f){const M=f.currentTimeline,W=f.currentAnimateTimings;!W&&M.hasCurrentStyleProperties()&&M.forwardFrame();const Ee=W&&W.easing||m.easing;m.isEmptyStep?M.applyEmptyStep(Ee):M.setStyles(m.styles,Ee,f.errors,f.options),f.previousNode=m}visitKeyframes(m,f){const M=f.currentAnimateTimings,W=f.currentTimeline.duration,Ee=M.duration,Ye=f.createSubContext().currentTimeline;Ye.easing=M.easing,m.styles.forEach(Dt=>{Ye.forwardTime((Dt.offset||0)*Ee),Ye.setStyles(Dt.styles,Dt.easing,f.errors,f.options),Ye.applyStylesToKeyframe()}),f.currentTimeline.mergeTimelineCollectedStyles(Ye),f.transformIntoNewTimeline(W+Ee),f.previousNode=m}visitQuery(m,f){const M=f.currentTimeline.currentTime,W=m.options||{},Ee=W.delay?$i(W.delay):0;Ee&&(f.previousNode.type===fn.If.Style||0==M&&f.currentTimeline.hasCurrentStyleProperties())&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=di);let Be=M;const Ye=f.invokeQuery(m.selector,m.originalSelector,m.limit,m.includeSelf,!!W.optional,f.errors);f.currentQueryTotal=Ye.length;let Dt=null;Ye.forEach((vt,mn)=>{f.currentQueryIndex=mn;const Xt=f.createSubContext(m.options,vt);Ee&&Xt.delayNextStep(Ee),vt===f.element&&(Dt=Xt.currentTimeline),or(this,m.animation,Xt),Xt.currentTimeline.applyStylesToKeyframe(),Be=Math.max(Be,Xt.currentTimeline.currentTime)}),f.currentQueryIndex=0,f.currentQueryTotal=0,f.transformIntoNewTimeline(Be),Dt&&(f.currentTimeline.mergeTimelineCollectedStyles(Dt),f.currentTimeline.snapshotCurrentStyles()),f.previousNode=m}visitStagger(m,f){const M=f.parentContext,W=f.currentTimeline,Ee=m.timings,Be=Math.abs(Ee.duration),Ye=Be*(f.currentQueryTotal-1);let Dt=Be*f.currentQueryIndex;switch(Ee.duration<0?"reverse":Ee.easing){case"reverse":Dt=Ye-Dt;break;case"full":Dt=M.currentStaggerTime}const mn=f.currentTimeline;Dt&&mn.delayNextStep(Dt);const Xt=mn.currentTime;or(this,m.animation,f),f.previousNode=m,M.currentStaggerTime=W.currentTime-Xt+(W.startTime-M.currentTimeline.startTime)}}const di={};class Ss{constructor(m,f,M,W,Ee,Be,Ye,Dt){this._driver=m,this.element=f,this.subInstructions=M,this._enterClassName=W,this._leaveClassName=Ee,this.errors=Be,this.timelines=Ye,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=di,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Dt||new Ds(this._driver,f,0),Ye.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(m,f){if(!m)return;const M=m;let W=this.options;null!=M.duration&&(W.duration=$i(M.duration)),null!=M.delay&&(W.delay=$i(M.delay));const Ee=M.params;if(Ee){let Be=W.params;Be||(Be=this.options.params={}),Object.keys(Ee).forEach(Ye=>{(!f||!Be.hasOwnProperty(Ye))&&(Be[Ye]=Vs(Ee[Ye],Be,this.errors))})}}_copyOptions(){const m={};if(this.options){const f=this.options.params;if(f){const M=m.params={};Object.keys(f).forEach(W=>{M[W]=f[W]})}}return m}createSubContext(m=null,f,M){const W=f||this.element,Ee=new Ss(this._driver,W,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(W,M||0));return Ee.previousNode=this.previousNode,Ee.currentAnimateTimings=this.currentAnimateTimings,Ee.options=this._copyOptions(),Ee.updateOptions(m),Ee.currentQueryIndex=this.currentQueryIndex,Ee.currentQueryTotal=this.currentQueryTotal,Ee.parentContext=this,this.subContextCount++,Ee}transformIntoNewTimeline(m){return this.previousNode=di,this.currentTimeline=this.currentTimeline.fork(this.element,m),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(m,f,M){const W={duration:f??m.duration,delay:this.currentTimeline.currentTime+(M??0)+m.delay,easing:""},Ee=new to(this._driver,m.element,m.keyframes,m.preStyleProps,m.postStyleProps,W,m.stretchStartingKeyframe);return this.timelines.push(Ee),W}incrementTime(m){this.currentTimeline.forwardTime(this.currentTimeline.duration+m)}delayNextStep(m){m>0&&this.currentTimeline.delayNextStep(m)}invokeQuery(m,f,M,W,Ee,Be){let Ye=[];if(W&&Ye.push(this.element),m.length>0){m=(m=m.replace(vo,"."+this._enterClassName)).replace(Qn,"."+this._leaveClassName);let vt=this._driver.query(this.element,m,1!=M);0!==M&&(vt=M<0?vt.slice(vt.length+M,vt.length):vt.slice(0,M)),Ye.push(...vt)}return!Ee&&0==Ye.length&&Be.push(function Yn(w){return new c.wOt(3014,!1)}()),Ye}}class Ds{constructor(m,f,M,W){this._driver=m,this.element=f,this.startTime=M,this._elementTimelineStylesLookup=W,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(f),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(f,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(m){const f=1===this._keyframes.size&&this._pendingStyles.size;this.duration||f?(this.forwardTime(this.currentTime+m),f&&this.snapshotCurrentStyles()):this.startTime+=m}fork(m,f){return this.applyStylesToKeyframe(),new Ds(this._driver,m,f||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(m){this.applyStylesToKeyframe(),this.duration=m,this._loadKeyframe()}_updateStyle(m,f){this._localTimelineStyles.set(m,f),this._globalTimelineStyles.set(m,f),this._styleSummary.set(m,{time:this.currentTime,value:f})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(m){m&&this._previousKeyframe.set("easing",m);for(let[f,M]of this._globalTimelineStyles)this._backFill.set(f,M||fn.kp),this._currentKeyframe.set(f,fn.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(m,f,M,W){f&&this._previousKeyframe.set("easing",f);const Ee=W&&W.params||{},Be=function va(w,m){const f=new Map;let M;return w.forEach(W=>{if("*"===W){M??=m.keys();for(let Ee of M)f.set(Ee,fn.kp)}else for(let[Ee,Be]of W)f.set(Ee,Be)}),f}(m,this._globalTimelineStyles);for(let[Ye,Dt]of Be){const vt=Vs(Dt,Ee,M);this._pendingStyles.set(Ye,vt),this._localTimelineStyles.has(Ye)||this._backFill.set(Ye,this._globalTimelineStyles.get(Ye)??fn.kp),this._updateStyle(Ye,vt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((m,f)=>{this._currentKeyframe.set(f,m)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((m,f)=>{this._currentKeyframe.has(f)||this._currentKeyframe.set(f,m)}))}snapshotCurrentStyles(){for(let[m,f]of this._localTimelineStyles)this._pendingStyles.set(m,f),this._updateStyle(m,f)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const m=[];for(let f in this._currentKeyframe)m.push(f);return m}
1mergeTimelineCollectedStyles(m){m._styleSummary.forEach((f,M)=>{const W=this._styleSummary.get(M);(!W||f.time>W.time)&&this._updateStyle(M,f.value)})}buildKeyframes(){this.applyStylesToKeyframe();const m=new Set,f=new Set,M=1===this._keyframes.size&&0===this.duration;let W=[];this._keyframes.forEach((Ye,Dt)=>{const vt=new Map([...this._backFill,...Ye]);vt.forEach((mn,Xt)=>{mn===fn.FX?m.add(Xt):mn===fn.kp&&f.add(Xt)}),M||vt.set("offset",Dt/this.duration),W.push(vt)});const Ee=[...m.values()],Be=[...f.values()];if(M){const Ye=W[0],Dt=new Map(Ye);Ye.set("offset",0),Dt.set("offset",1),W=[Ye,Dt]}return Qr(this.element,W,Ee,Be,this.duration,this.startTime,this.easing,!1)}}class to extends Ds{constructor(m,f,M,W,Ee,Be,Ye=!1){super(m,f,Be.delay),this.keyframes=M,this.preStyleProps=W,this.postStyleProps=Ee,this._stretchStartingKeyframe=Ye,this.timings={duration:Be.duration,delay:Be.delay,easing:Be.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let m=this.keyframes,{delay:f,duration:M,easing:W}=this.timings;if(this._stretchStartingKeyframe&&f){const Ee=[],Be=M+f,Ye=f/Be,Dt=new Map(m[0]);Dt.set("offset",0),Ee.push(Dt);const vt=new Map(m[0]);vt.set("offset",ta(Ye)),Ee.push(vt);const mn=m.length-1;for(let Xt=1;Xt<=mn;Xt++){let Vn=new Map(m[Xt]);const Xn=Vn.get("offset");Vn.set("offset",ta((f+Xn*M)/Be)),Ee.push(Vn)}M=Be,f=0,W="",m=Ee}return Qr(this.element,m,this.preStyleProps,this.postStyleProps,M,f,W,!0)}}function ta(w,m=3){const f=Math.pow(10,m-1);return Math.round(w*f)/f}function Ei(w,m,f,M,W,Ee,Be,Ye,Dt,vt,mn,Xt,Vn){return{type:0,element:w,triggerName:m,isRemovalTransition:W,fromState:f,fromStyles:Ee,toState:M,toStyles:Be,timelines:Ye,queriedElements:Dt,preStyleProps:vt,postStyleProps:mn,totalTime:Xt,errors:Vn}}const Bs={};class js{constructor(m,f,M){this._triggerName=m,this.ast=f,this._stateStyles=M}match(m,f,M,W){return function To(w,m,f,M,W){return w.some(Ee=>Ee(m,f,M,W))}(this.ast.matchers,m,f,M,W)}buildStyles(m,f,M){let W=this._stateStyles.get("*");return void 0!==m&&(W=this._stateStyles.get(m?.toString())||W),W?W.buildStyles(f,M):new Map}build(m,f,M,W,Ee,Be,Ye,Dt,vt,mn){const Xt=[],Vn=this.ast.options&&this.ast.options.params||Bs,gn=this.buildStyles(M,Ye&&Ye.params||Bs,Xt),yn=Dt&&Dt.params||Bs,Ai=this.buildStyles(W,yn,Xt),Ti=new Set,Ui=new Map,ar=new Map,gi="void"===W,er={params:na(yn,Vn),delay:this.ast.options?.delay},Fi=mn?[]:Ni(m,f,this.ast.animation,Ee,Be,gn,Ai,er,vt,Xt);let dr=0;return Fi.forEach(ur=>{dr=Math.max(ur.duration+ur.delay,dr)}),Xt.length?Ei(f,this._triggerName,M,W,gi,gn,Ai,[],[],Ui,ar,dr,Xt):(Fi.forEach(ur=>{const hr=ur.element,Ks=st(Ui,hr,new Set);ur.preStyleProps.forEach(Wo=>Ks.add(Wo));const lr=st(ar,hr,new Set);ur.postStyleProps.forEach(Wo=>lr.add(Wo)),hr!==f&&Ti.add(hr)}),Ei(f,this._triggerName,M,W,gi,gn,Ai,Fi,[...Ti.values()],Ui,ar,dr))}}function na(w,m){const f={...m};return Object.entries(w).forEach(([M,W])=>{null!=W&&(f[M]=W)}),f}class Kr{constructor(m,f,M){this.styles=m,this.defaultParams=f,this.normalizer=M}buildStyles(m,f){const M=new Map,W=na(m,this.defaultParams);return this.styles.styles.forEach(Ee=>{"string"!=typeof Ee&&Ee.forEach((Be,Ye)=>{Be&&(Be=Vs(Be,W,f));const Dt=this.normalizer.normalizePropertyName(Ye,f);Be=this.normalizer.normalizeStyleValue(Ye,Dt,Be,f),M.set(Ye,Be)})}),M}}class no{constructor(m,f,M){this.name=m,this.ast=f,this._normalizer=M,this.transitionFactories=[],this.states=new Map,f.states.forEach(W=>{this.states.set(W.name,new Kr(W.style,W.options&&W.options.params||{},M))}),Io(this.states,"true","1"),Io(this.states,"false","0"),f.transitions.forEach(W=>{this.transitionFactories.push(new js(m,W,this.states))}),this.fallbackTransition=function ra(w,m,f){return new js(w,{type:fn.If.Transition,animation:{type:fn.If.Sequence,steps:[],options:null},matchers:[(Be,Ye)=>!0],options:null,queryCount:0,depCount:0},m)}(m,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(m,f,M,W){return this.transitionFactories.find(Be=>Be.match(m,f,M,W))||null}matchStyles(m,f,M){return this.fallbackTransition.buildStyles(m,f,M)}}function Io(w,m,f){w.has(m)?w.has(f)||w.set(f,w.get(m)):w.has(f)&&w.set(m,w.get(f))}const Hs=new Ms;class sa{constructor(m,f,M){this.bodyNode=m,this._driver=f,this._normalizer=M,this._animations=new Map,this._playersById=new Map,this.players=[]}register(m,f){const M=[],Ee=go(this._driver,f,M,[]);if(M.length)throw function Yi(w){return new c.wOt(3503,!1)}();this._animations.set(m,Ee)}_buildPlayer(m,f,M){const W=m.element,Ee=v(this._normalizer,m.keyframes,f,M);return this._driver.animate(W,Ee,m.duration,m.delay,m.easing,[],!0)}create(m,f,M={}){const W=[],Ee=this._animations.get(m);let Be;const Ye=new Map;if(Ee?(Be=Ni(this._driver,f,Ee,Er,ys,new Map,new Map,M,Hs,W),Be.forEach(mn=>{const Xt=st(Ye,mn.element,new Map);mn.postStyleProps.forEach(Vn=>Xt.set(Vn,null))})):(W.push(function Hn(){return new c.wOt(3300,!1)}()),Be=[]),W.length)throw function le(w){return new c.wOt(3504,!1)}();Ye.forEach((mn,Xt)=>
1{mn.forEach((Vn,Xn)=>{mn.set(Xn,this._driver.computeStyle(Xt,Xn,fn.kp))})});const vt=Ut(Be.map(mn=>{const Xt=Ye.get(mn.element);return this._buildPlayer(mn,new Map,Xt)}));return this._playersById.set(m,vt),vt.onDestroy(()=>this.destroy(m)),this.players.push(vt),vt}destroy(m){const f=this._getPlayer(m);f.destroy(),this._playersById.delete(m);const M=this.players.indexOf(f);M>=0&&this.players.splice(M,1)}_getPlayer(m){const f=this._playersById.get(m);if(!f)throw function L(w){return new c.wOt(3301,!1)}();return f}listen(m,f,M,W){const Ee=we(f,"","","");return $(this._getPlayer(m),M,Ee,W),()=>{}}command(m,f,M,W){if("register"==M)return void this.register(m,W[0]);if("create"==M)return void this.create(m,f,W[0]||{});const Ee=this._getPlayer(m);switch(M){case"play":Ee.play();break;case"pause":Ee.pause();break;case"reset":Ee.reset();break;case"restart":Ee.restart();break;case"finish":Ee.finish();break;case"init":Ee.init();break;case"setPosition":Ee.setPosition(parseFloat(W[0]));break;case"destroy":this.destroy(m)}}}const _o="ng-animate-queued",Oo="ng-animate-disabled",zs=[],$s={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},cs="__ng_removed";class vs{get params(){return this.options.params}constructor(m,f=""){this.namespaceId=f;const M=m&&m.hasOwnProperty("value");if(this.value=function zo(w){return w??null}(M?m.value:m),M){const{value:Ee,...Be}=m;this.options=Be}else this.options={};this.options.params||(this.options.params={})}absorbOptions(m){const f=m.params;if(f){const M=this.options.params;Object.keys(f).forEach(W=>{null==M[W]&&(M[W]=f[W])})}}}const Mr="void",ro=new vs(Mr);class bo{constructor(m,f,M){this.id=m,this.hostElement=f,this._engine=M,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
vendor: 25,146 bytes, line 1
1+m,Fe(f,this._hostClassName)}listen(m,f,M,W){if(!this._triggers.has(f))throw function fe(w,m){return new c.wOt(3302,!1)}();if(null==M||0==M.length)throw function Te(w){return new c.wOt(3303,!1)}();if(!function E(w){return"start"==w||"done"==w}(M))throw function je(w,m){return new c.wOt(3400,!1)}();const Ee=st(this._elementListeners,m,[]),Be={name:f,phase:M,callback:W};Ee.push(Be);const Ye=st(this._engine.statesByElement,m,new Map);return Ye.has(f)||(Fe(m,Hr),Fe(m,Hr+"-"+f),Ye.set(f,ro)),()=>{this._engine.afterFlush(()=>{const Dt=Ee.indexOf(Be);Dt>=0&&Ee.splice(Dt,1),this._triggers.has(f)||Ye.delete(f)})}}register(m,f){return!this._triggers.has(m)&&(this._triggers.set(m,f),!0)}_getTrigger(m){const f=this._triggers.get(m);if(!f)throw function gt(w){return new c.wOt(3401,!1)}();return f}trigger(m,f,M,W=!0){const Ee=this._getTrigger(f),Be=new Ts(this.id,f,m);let Ye=this._engine.statesByElement.get(m);Ye||(Fe(m,Hr),Fe(m,Hr+"-"+f),this._engine.statesByElement.set(m,Ye=new Map));let Dt=Ye.get(f);const vt=new vs(M,this.id);if(!(M&&M.hasOwnProperty("value"))&&Dt&&vt.absorbOptions(Dt.options),Ye.set(f,vt),Dt||(Dt=ro),vt.value!==Mr&&Dt.value===vt.value){if(!function ki(w,m){const f=Object.keys(w),M=Object.keys(m);if(f.length!=M.length)return!1;for(let W=0;W<f.length;W++){const Ee=f[W];if(!m.hasOwnProperty(Ee)||w[Ee]!==m[Ee])return!1}return!0}(Dt.params,vt.params)){const yn=[],Ai=Ee.matchStyles(Dt.value,Dt.params,yn),Ti=Ee.matchStyles(vt.value,vt.params,yn);yn.length?this._engine.reportError(yn):this._engine.afterFlush(()=>{Rr(m,Ai),Sr(m,Ti)})}return}const Vn=st(this._engine.playersByElement,m,[]);Vn.forEach(yn=>{yn.namespaceId==this.id&&yn.triggerName==f&&yn.queued&&yn.destroy()});let Xn=Ee.matchTransition(Dt.value,vt.value,m,vt.params),gn=!1;if(!Xn){if(!W)return;Xn=Ee.fallbackTransition,gn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:m,triggerName:f,transition:Xn,fromState:Dt,toState:vt,player:Be,isFallbackTransition:gn}),gn||(Fe(m,_o),Be.onStart(()=>{It(m,_o)})),Be.onDone(()=>{let yn=this.players.indexOf(Be);yn>=0&&this.players.splice(yn,1);const Ai=this._engine.playersByElement.get(m);if(Ai){let Ti=Ai.indexOf(Be);Ti>=0&&Ai.splice(Ti,1)}}),this.players.push(Be),Vn.push(Be),Be}deregister(m){this._triggers.delete(m),this._engine.statesByElement.forEach(f=>f.delete(m)),this._elementListeners.forEach((f,M)=>{this._elementListeners.set(M,f.filter(W=>W.name!=m))})}clearElementCache(m){this._engine.statesByElement.delete(m),this._elementListeners.delete(m);const f=this._engine.playersByElement.get(m);f&&(f.forEach(M=>M.destroy()),this._engine.playersByElement.delete(m))}_signalRemovalForInnerTriggers(m,f){const M=this._engine.driver.query(m,ks,!0);M.forEach(W=>{if(W[cs])return;const Ee=this._engine.fetchNamespacesByElement(W);Ee.size?Ee.forEach(Be=>Be.triggerLeaveAnimation(W,f,!1,!0)):this.clearElementCache(W)}),this._engine.afterFlushAnimationsDone(()=>M.forEach(W=>this.clearElementCache(W)))}triggerLeaveAnimation(m,f,M,W){const Ee=this._engine.statesByElement.get(m),Be=new Map;if(Ee){const Ye=[];if(Ee.forEach((Dt,vt)=>{if(Be.set(vt,Dt.value),this._triggers.has(vt)){const mn=this.trigger(m,vt,Mr,W);mn&&Ye.push(mn)}}),Ye.length)return this._engine.markElementAsRemoved(this.id,m,!0,f,Be),M&&Ut(Ye).onDone(()=>this._engine.processLeaveNode(m)),!0}return!1}prepareLeaveAnimationListeners(m){const f=this._elementListeners.get(m),M=this._engine.statesByElement.get(m);if(f&&M){const W=new Set;f.forEach(Ee=>{const Be=Ee.name;if(W.has(Be))return;W.add(Be);const Dt=this._triggers.get(Be).fallbackTransition,vt=M.get(Be)||ro,mn=new vs(Mr),Xt=new Ts(this.id,Be,m);this._engine.totalQueuedPlayers++,this._queue.push({element:m,triggerName:Be,transition:Dt,fromState:vt,toState:mn,player:Xt,isFallbackTransition:!0})})}}removeNode(m,f){const M=this._engine;if(m.childElementCount&&this._signalRemovalForInnerTriggers(m,f),this.triggerLeaveAnimation(m,f,!0))return;let W=!1;if(M.totalAnimations){const Ee=M.players.length?M.playersByQueriedElement.get(m):[];if(Ee&&Ee.length)W=!0;else{let Be=m;for(;Be=Be.parentNode;)if(M.statesByElement.get(Be)){W=!0;break}}}if(this.prepareLeaveAnimationListeners(m),W)M.markElementAsRemoved(this.id,m,!1,f);else{const Ee=m[cs];(!Ee||Ee===$s)&&(M.afterFlush(()=>this.clearElementCache(m)),M.destroyInnerAnimations(m),M._onRemovalComplete(m,f))}}insertNode(m,f){Fe(m,this._hostClassName)}drainQueuedTransitions(m){const f=[];return this._queue.forEach(M=>{const W=M.player;if(W.destroyed)return;const Ee=M.element,Be=this._elementListeners.get(Ee);Be&&Be.forEach(Ye=>{if(Ye.name==M.triggerName){const Dt=we(Ee,M.triggerName,M.fromState.value,M.toState.value);Dt._data=m,$(M.player,Ye.phase,Dt,Ye.callback)}}),W.markedForDestroy?this._engine.afterFlush(()=>{W.destroy()}):f.push(M)}),this._queue=[],f.sort((M,W)=>{const Ee=M.transition.ast.depCount,Be=W.transition.ast.depCount;return 0==Ee||0==Be?Ee-Be:this._engine.driver.containsElement(M.element,W.element)?1:-1})}destroy(m){this.players.forEach(f=>f.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,m)}}class Ho{_onRemovalComplete(m,f){this.onRemovalComplete(m,f)}constructor(m,f,M,W){this.bodyNode=m,this.driver=f,this._normalizer=M,this.scheduler=W,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=(Ee,Be)=>{}}get queuedPlayers(){const m=[];return this._namespaceList.forEach(f=>{f.players.forEach(M=>{M.queued&&m.push(M)})}),m}createNamespace(m,f){const M=new bo(m,f,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,f)?this._balanceNamespaceList(M,f):(this.newHostElements.set(f,M),this.collectEnterElement(f)),this._namespaceLookup[m]=M}_balanceNamespaceList(m,f){const M=this._namespaceList,W=this.namespacesByHostElement;if(M.length-1>=0){let Be=!1,Ye=this.driver.getParentElement(f);for(;Ye;){const Dt=W.get(Ye);if(Dt){const vt=M.indexOf(Dt);M.splice(vt+1,0,m),Be=!0;break}Ye=this.driver.getParentElement(Ye)}Be||M.unshift(m)}else M.push(m);return W.set(f,m),m}register(m,f){let M=this._namespaceLookup[m];return M||(M=this.createNamespace(m,f)),M}registerTrigger(m,f,M){let W=this._namespaceLookup[m];W&&W.register(f,M)&&this.totalAnimations++}destroy(m,f){m&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const M=this._fetchNamespace(m);this.namespacesByHostElement.delete(M.hostElement);const W=this._namespaceList.indexOf(M);W>=0&&this._namespaceList.splice(W,1),M.destroy(f),delete this._namespaceLookup[m]}))}_fetchNamespace(m){return this._namespaceLookup[m]}fetchNamespacesByElement(m){const f=new Set,M=this.statesByElement.get(m);if(M)for(let W of M.values())if(W.namespaceId){const Ee=this._fetchNamespace(W.namespaceId);Ee&&f.add(Ee)}return f}trigger(m,f,M,W){if(qr(f)){const Ee=this._fetchNamespace(m);if(Ee)return Ee.trigger(f,M,W),!0}return!1}insertNode(m,f,M,W){if(!qr(f))return;const Ee=f[cs];if(Ee&&Ee.setForRemoval){Ee.setForRemoval=!1,Ee.setForMove=!0;const Be=this.collectedLeaveElements.indexOf(f);Be>=0&&this.collectedLeaveElements.splice(Be,1)}if(m){const Be=this._fetchNamespace(m);Be&&Be.insertNode(f,M)}W&&this.collectEnterElement(f)}collectEnterElement(m){this.collectedEnterElements.push(m)}markElementAsDisabled(m,f){f?this.disabledNodes.has(m)||(this.disabledNodes.add(m),Fe(m,Oo)):this.disabledNodes.has(m)&&(this.disabledNodes.delete(m),It(m,Oo))}removeNode(m,f,M){if(qr(f)){this.scheduler?.notify();const W=m?this._fetchNamespace(m):null;W?W.removeNode(f,M):this.markElementAsRemoved(m,f,!1,M);const Ee=this.namespacesByHostElement.get(f);Ee&&Ee.id!==m&&Ee.removeNode(f,M)}else this._onRemovalComplete(f,M)}markElementAsRemoved(m,f,M,W,Ee){this.collectedLeaveElements.push(f),f[cs]={namespaceId:m,setForRemoval:W,hasAnimation:M,removedBeforeQueried:!1,previousTriggersValues:Ee}}listen(m,f,M,W,Ee){return qr(f)?this._fetchNamespace(m).listen(f,M,W,Ee):()=>{}}_buildInstruction(m,f,M,W,Ee){return m.transition.build(this.driver,m.element,m.fromState.value,m.toState.value,M,W,m.fromState.options,m.toState.options,f,Ee)}destroyInnerAnimations(m){let f=this.driver.query(m,ks,!0);f.forEach(M=>this.destroyActiveAnimationsForElement(M)),0!=this.playersByQueriedElement.size&&(f=this.driver.query(m,Fs,!0),f.forEach(M=>this.finishActiveQueriedAnimationOnElement(M)))}destroyActiveAnimationsForElement(m){const f=this.playersByElement.get(m);f&&f.forEach(M=>{M.queued?M.markedForDestroy=!0:M.destroy()})}finishActiveQueriedAnimationOnElement(m){const f=this.playersByQueriedElement.get(m);f&&f.forEach(M=>M.finish())}whenRenderingDone(){return new Promise(m=>{if(this.players.length)return Ut(this.players).onDone(()=>m());m()})}processLeaveNode(m){const f=m[cs];if(f&&f.setForRemoval){if(m[cs]=$s,f.namespaceId){this.destroyInnerAnimations(m);const M=this._fetchNamespace(f.namespaceId);M&&M.clearElementCache(m)}this._onRemovalComplete(m,f.setForRemoval)}m.classList?.contains(Oo)&&this.markElementAsDisabled(m,!1),this.driver.query(m,".ng-animate-disabled",!0).forEach(M=>{this.markElementAsDisabled(M,!1)})}flush(m=-1){let f=[];if(this.newHostElements.size&&(this.newHostElements.forEach((M,W)=>this._balanceNamespaceList(M,W)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let M=0;M<this.collectedEnterElements.length;M++)Fe(this.collectedEnterElements[M],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const M=[];try{f=this._flushAnimations(M,m)}finally{for(let W=0;W<M.length;W++)M[W]()}}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=[],f.length?Ut(f).onDone(()=>{M.forEach(W=>W())}):M.forEach(W=>W())}}reportError(m){throw function zt(w){return new c.wOt(3402,!1)}()}_flushAnimations(m,f){const M=new Ms,W=[],Ee=new Map,Be=[],Ye=new Map,Dt=new Map,vt=new Map,mn=new Set;this.disabledNodes.forEach(zn=>{mn.add(zn);const ni=this.driver.query(zn,".ng-animate-queued",!0);for(let ii=0;ii<ni.length;ii++)mn.add(ni[ii])});const Xt=this.bodyNode,Vn=Array.from(this.statesByElement.keys()),Xn=X(Vn,this.collectedEnterElements),gn=new Map;let yn=0;Xn.forEach((zn,ni)=>{const ii=Er+yn++;gn.set(ni,ii),zn.forEach(yi=>Fe(yi,ii))});const Ai=[],Ti=new Set,Ui=new Set;for(let zn=0;zn<this.collectedLeaveElements.length;zn++){const ni=this.collectedLeaveElements[zn],ii=ni[cs];ii&&ii.setForRemoval&&(Ai.push(ni),Ti.add(ni),ii.hasAnimation?this.driver.query(ni,".ng-star-inserted",!0).forEach(yi=>Ti.add(yi)):Ui.add(ni))}const ar=new Map,gi=X(Vn,Array.from(Ti));gi.forEach((zn,ni)=>{const ii=ys+yn++;ar.set(ni,ii),zn.forEach(yi=>Fe(yi,ii))}),m.push(()=>{Xn.forEach((zn,ni)=>{const ii=gn.get(ni);zn.forEach(yi=>It(yi,ii))}),gi.forEach((zn,ni)=>{const ii=ar.get(ni);zn.forEach(yi=>It(yi,ii))}),Ai.forEach(zn=>{this.processLeaveNode(zn)})});const er=[],Fi=[];for(let zn=this._namespaceList.length-1;zn>=0;zn--)this._namespaceList[zn].drainQueuedTransitions(f).forEach(ii=>{const yi=ii.player,Gr=ii.element;if(er.push(yi),this.collectedEnterElements.length){const us=Gr[cs];if(us&&us.setForMove){if(us.previousTriggersValues&&us.previousTriggersValues.has(ii.triggerName)){const Gs=us.previousTriggersValues.get(ii.triggerName),hs=this.statesByElement.get(ii.element);if(hs&&hs.has(ii.triggerName)){const Ja=hs.get(ii.triggerName);Ja.value=Gs,hs.set(ii.triggerName,Ja)}}return void yi.destroy()}}const Ps=!Xt||!this.driver.containsElement(Xt,Gr),ds=ar.get(Gr),co=gn.get(Gr),br=this._buildInstruction(ii,M,co,ds,Ps);if(br.errors&&br.errors.length)return void Fi.push(br);if(Ps)return yi.onStart(()=>Rr(Gr,br.fromStyles)),yi.onDestroy(()=>Sr(Gr,br.toStyles)),void W.push(yi);if(ii.isFallbackTransition)return yi.onStart(()=>Rr(Gr,br.fromStyles)),yi.onDestroy(()=>Sr(Gr,br.toStyles)),void W.push(yi);const Zl=[];br.timelines.forEach(us=>{us.stretchStartingKeyframe=!0,this.disabledNodes.has(us.element)||Zl.push(us)}),br.timelines=Zl,M.append(Gr,br.timelines),Be.push({instruction:br,player:yi,element:Gr}),br.queriedElements.forEach(us=>st(Ye,us,[]).push(yi)),br.preStyleProps.forEach((us,Gs)=>{if(us.size){let hs=Dt.get(Gs);hs||Dt.set(Gs,hs=new Set),us.forEach((Ja,ka)=>hs.add(ka))}}),br.postStyleProps.forEach((us,Gs)=>{let hs=vt.get(Gs);hs||vt.set(Gs,hs=new Set),us.forEach((Ja,ka)=>hs.add(ka))})});if(Fi.length){const zn=[];Fi.forEach(ni=>{zn.push(function ti(w,m){return new c.wOt(3505,!1)}())}),er.forEach(ni=>ni.destroy()),this.reportError(zn)}const dr=new Map,ur=new Map;Be.forEach(zn=>{const ni=zn.element;M.has(ni)&&(ur.set(ni,ni),this._beforeAnimationBuild(zn.player.namespaceId,zn.instruction,dr))}),W.forEach(zn=>{const ni=zn.element;this._getPreviousPlayers(ni,!1,zn.namespaceId,zn.triggerName,null).forEach(yi=>{st(dr,ni,[]).push(yi),yi.destroy()})});const hr=Ai.filter(zn=>Si(zn,Dt,vt)),Ks=new Map;N(Ks,this.driver,Ui,vt,fn.kp).forEach(zn=>{Si(zn,Dt,vt)&&hr.push(zn)});const Wo=new Map;Xn.forEach((zn,ni)=>{N(Wo,this.driver,new Set(zn),Dt,fn.FX)}),hr.forEach(zn=>{const ni=Ks.get(zn),ii=Wo.get(zn);Ks.set(zn,new Map([...ni?.entries()??[],...ii?.entries()??[]]))});const Xl=[],Yl=[],id={};Be.forEach(zn=>{const{element:ni,player:ii,instruction:yi}=zn;if(M.has(ni)){if(mn.has(ni))return ii.onDestroy(()=>Sr(ni,yi.toStyles)),ii.disabled=!0,ii.overrideTotalTime(yi.totalTime),void W.push(ii);let Gr=id;if(ur.size>1){let ds=ni;const co=[];for(;ds=ds.parentNode;){const br=ur.get(ds);if(br){Gr=br;break}co.push(ds)}co.forEach(br=>ur.set(br,Gr))}const Ps=this._buildAnimation(ii.namespaceId,yi,dr,Ee,Wo,Ks);if(ii.setRealPlayer(Ps),Gr===id)Xl.push(ii);else{const ds=this.playersByElement.get(Gr);ds&&ds.length&&(ii.parentPlayer=Ut(ds)),W.push(ii)}}else Rr(ni,yi.fromStyles),ii.onDestroy(()=>Sr(ni,yi.toStyles)),Yl.push(ii),mn.has(ni)&&W.push(ii)}),Yl.forEach(zn=>{const ni=Ee.get(zn.element);if(ni&&ni.length){const ii=Ut(ni);zn.setRealPlayer(ii)}}),W.forEach(zn=>{zn.parentPlayer?zn.syncPlayerEvents(zn.parentPlayer):zn.destroy()});for(let zn=0;zn<Ai.length;zn++){const ni=Ai[zn],ii=ni[cs];if(It(ni,ys),ii&&ii.hasAnimation)continue;let yi=[];if(Ye.size){let Ps=Ye.get(ni);Ps&&Ps.length&&yi.push(...Ps);let ds=this.driver.query(ni,Fs,!0);for(let co=0;co<ds.length;co++){let br=Ye.get(ds[co]);br&&br.length&&yi.push(...br)}}const Gr=yi.filter(Ps=>!Ps.destroyed);Gr.length?Kt(this,ni,Gr):this.processLeaveNode(ni)}return Ai.length=0,Xl.forEach(zn=>{this.players.push(zn),zn.onDone(()=>{zn.destroy();const ni=this.players.indexOf(zn);this.players.splice(ni,1)}),zn.play()}),Xl}afterFlush(m){this._flushFns.push(m)}afterFlushAnimationsDone(m){this._whenQuietFns.push(m)}_getPreviousPlayers(m,f,M,W,Ee){let Be=[];if(f){const Ye=this.playersByQueriedElement.get(m);Ye&&(Be=Ye)}else{const Ye=this.playersByElement.get(m);if(Ye){const Dt=!Ee||Ee==Mr;Ye.forEach(vt=>{vt.queued||!Dt&&vt.triggerName!=W||Be.push(vt)})}}return(M||W)&&(Be=Be.filter(Ye=>!(M&&M!=Ye.namespaceId||W&&W!=Ye.triggerName))),Be}_beforeAnimationBuild(m,f,M){const Ee=f.element,Be=f.isRemovalTransition?void 0:m,Ye=f.isRemovalTransition?void 0:f.triggerName;for(const Dt of f.timelines){const vt=Dt.element,mn=vt!==Ee,Xt=st(M,vt,[]);this._getPreviousPlayers(vt,mn,Be,Ye,f.toState).forEach(Xn=>{const gn=Xn.getRealPlayer();gn.beforeDestroy&&gn.beforeDestroy(),Xn.destroy(),Xt.push(Xn)})}Rr(Ee,f.fromStyles)}_buildAnimation(m,f,M,W,Ee,Be){const Ye=f.triggerName,Dt=f.element,vt=[],mn=new Set,Xt=new Set,Vn=f.timelines.map(gn=>{const yn=gn.element;mn.add(yn);const Ai=yn[cs];if(Ai&&Ai.removedBeforeQueried)return new fn.sf(gn.duration,gn.delay);const Ti=yn!==Dt,Ui=function On(w){const m=[];return Vi(w,m),m}((M.get(yn)||zs).map(dr=>dr.getRealPlayer())).filter(dr=>!!dr.element&&dr.element===yn),ar=Ee.get(yn),gi=Be.get(yn),er=v(this._normalizer,gn.keyframes,ar,gi),Fi=this._buildPlayer(gn,er,Ui);if(gn.subTimeline&&W&&Xt.add(yn),Ti){const dr=new Ts(m,Ye,yn);dr.setRealPlayer(Fi),vt.push(dr)}return Fi});vt.forEach(gn=>{st(this.playersByQueriedElement,gn.element,[]).push(gn),gn.onDone(()=>function Ir(w,m,f){let M=w.get(m);if(M){if(M.length){const W=M.indexOf(f);M.splice(W,1)}0==M.length&&w.delete(m)}return M}(this.playersByQueriedElement,gn.element,gn))}),mn.forEach(gn=>Fe(gn,os));const Xn=Ut(Vn);return Xn.onDestroy(()=>{mn.forEach(gn=>It(gn,os)),Sr(Dt,f.toStyles)}),Xt.forEach(gn=>{st(W,gn,[]).push(Xn)}),Xn}_buildPlayer(m,f,M){return f.length>0?this.driver.animate(m.element,f,m.duration,m.delay,m.easing,M):new fn.sf(m.duration,m.delay)}}class Ts{constructor(m,f,M){this.namespaceId=m,this.triggerName=f,this.element=M,this._player=new fn.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(m){this._containsRealPlayer||(this._player=m,this._queuedCallbacks.forEach((f,M)=>{f.forEach(W=>$(m,M,void 0,W))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(m.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(m){this.totalTime=m}syncPlayerEvents(m){const f=this._player;f.triggerCallback&&m.onStart(()=>f.triggerCallback("start")),m.onDone(()=>this.finish()),m.onDestroy(()=>this.destroy())}_queueEvent(m,f){st(this._queuedCallbacks,m,[]).push(f)}onDone(m){this.queued&&this._queueEvent("done",m),this._player.onDone(m)}onStart(m){this.queued&&this._queueEvent("start",m),this._player.onStart(m)}onDestroy(m){this.queued&&this._queueEvent("destroy",m),this._player.onDestroy(m)}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(m){this.queued||this._player.setPosition(m)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(m){const f=this._player;f.triggerCallback&&f.triggerCallback(m)}}function qr(w){return w&&1===w.nodeType}function oe(w,m){const f=w.style.display;return w.style.display=m??"none",f}function N(w,m,f,M,W){const Ee=[];f.forEach(Dt=>Ee.push(oe(Dt)));const Be=[];M.forEach((Dt,vt)=>{const mn=new Map;Dt.forEach(Xt=>{const Vn=m.computeStyle(vt,Xt,W);mn.set(Xt,Vn),(!Vn||0==Vn.length)&&(vt[cs]=jo,Be.push(vt))}),w.set(vt,mn)});let Ye=0;return f.forEach(Dt=>oe(Dt,Ee[Ye++])),Be}function X(w,m){const f=new Map;if(w.forEach(Ye=>f.set(Ye,[])),0==m.length)return f;const W=new Set(m),Ee=new Map;function Be(Ye){if(!Ye)return 1;let Dt=Ee.get(Ye);if(Dt)return Dt;const vt=Ye.parentNode;return Dt=f.has(vt)?vt:W.has(vt)?1:Be(vt),Ee.set(Ye,Dt),Dt}return m.forEach(Ye=>{const Dt=Be(Ye);1!==Dt&&f.get(Dt).push(Ye)}),f}function Fe(w,m){w.classList?.add(m)}function It(w,m){w.classList?.remove(m)}function Kt(w,m,f){Ut(f).onDone(()=>w.processLeaveNode(m))}function Vi(w,m){for(let f=0;f<w.length;f++){const M=w[f];M instanceof fn.ui?Vi(M.players,m):m.push(M)}}function Si(w,m,f){const M=f.get(w);if(!M)return!1;let W=m.get(w);return W?M.forEach(Ee=>W.add(Ee)):m.set(w,M),f.delete(w),!0}class si{constructor(m,f,M,W){this._driver=f,this._normalizer=M,this._triggerCache={},this.onRemovalComplete=(Ee,Be)=>{},this._transitionEngine=new Ho(m.body,f,M,W),this._timelineEngine=new sa(m.body,f,M),this._transitionEngine.onRemovalComplete=(Ee,Be)=>this.onRemovalComplete(Ee,Be)}registerTrigger(m,f,M,W,Ee){const Be=m+"-"+W;let Ye=this._triggerCache[Be];if(!Ye){const Dt=[],mn=go(this._driver,Ee,Dt,[]);if(Dt.length)throw function Pi(w,m){return new c.wOt(3404,!1)}();Ye=function ia(w,m,f){return new no(w,m,f)}(W,mn,this._normalizer),this._triggerCache[Be]=Ye}this._transitionEngine.registerTrigger(f,W,Ye)}register(m,f){this._transitionEngine.register(m,f)}destroy(m,f){this._transitionEngine.destroy(m,f)}onInsert(m,f,M,W){this._transitionEngine.insertNode(m,f,M,W)}onRemove(m,f,M){this._transitionEngine.removeNode(m,f,M)}disableAnimations(m,f){this._transitionEngine.markElementAsDisabled(m,f)}process(m,f,M,W){if("@"==M.charAt(0)){const[Ee,Be]=Nn(M);this._timelineEngine.command(Ee,f,Be,W)}else this._transitionEngine.trigger(m,f,M,W)}listen(m,f,M,W,Ee){if("@"==M.charAt(0)){const[Be,Ye]=Nn(M);return this._timelineEngine.listen(Be,f,Ye,Ee)}return this._transitionEngine.listen(m,f,M,W,Ee)}flush(m=-1){this._transitionEngine.flush(m)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(m){this._transitionEngine.afterFlushAnimationsDone(m)}}class Ci{static#e=this.initialStylesByElement=new WeakMap;constructor(m,f,M){this._element=m,this._startStyles=f,this._endStyles=M,this._state=0;let W=Ci.initialStylesByElement.get(m);W||Ci.initialStylesByElement.set(m,W=new Map),this._initialStyles=W}start(){this._state<1&&(this._startStyles&&Sr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Sr(this._element,this._initialStyles),this._endStyles&&(Sr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ci.initialStylesByElement.delete(this._element),this._startStyles&&(Rr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Rr(this._element,this._endStyles),this._endStyles=null),Sr(this._element,this._initialStyles),this._state=3)}}function Qi(w){let m=null;return w.forEach((f,M)=>{(function oi(w){return"display"===w||"position"===w})(M)&&(m=m||new Map,m.set(M,f))}),m}class on{constructor(m,f,M,W){this.element=m,this.keyframes=f,this.options=M,this._specialStyles=W,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(m=>m()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const m=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,m,this.options),this._finalKeyframe=m.length?m[m.length-1]:new Map;const f=()=>this._onFinish();this.domPlayer.addEventListener("finish",f),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",f)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(m){const f=[];return m.forEach(M=>{f.push(Object.fromEntries(M))}),f}_triggerWebAnimation(m,f,M){return m.animate(this._convertKeyframesToObject(f),M)}onStart(m){this._originalOnStartFns.push(m),this._onStartFns.push(m)}onDone(m){this._originalOnDoneFns.push(m),this._onDoneFns.push(m)}onDestroy(m){this._onDestroyFns.push(m)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(m=>m()),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(m=>m()),this._onDestroyFns=[])}setPosition(m){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=m*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const m=new Map;this.hasStarted()&&this._finalKeyframe.forEach((M,W)=>{"offset"!==W&&m.set(W,this._finished?M:gs(this.element,W))}),this.currentSnapshot=m}triggerCallback(m){const f="start"===m?this._onStartFns:this._onDoneFns;f.forEach(M=>M()),f.length=0}}class Ln{validateStyleProperty(m){return!0}validateAnimatableStyleProperty(m){return!0}matchesElement(m,f){return!1}containsElement(m,f){return Ki(m,f)}getParentElement(m){return Zi(m)}query(m,f,M){return fs(m,f,M)}computeStyle(m,f,M){return gs(m,f)}animate(m,f,M,W,Ee,Be=[]){const Dt={duration:M,delay:W,fill:0==W?"both":"forwards"};Ee&&(Dt.easing=Ee);const vt=new Map,mn=Be.filter(Xn=>
1Xn instanceof on);(function bs(w,m){return 0===w||0===m})(M,W)&&mn.forEach(Xn=>{Xn.currentSnapshot.forEach((gn,yn)=>vt.set(yn,gn))});let Xt=function ms(w){return w.length?w[0]instanceof Map?w:w.map(m=>new Map(Object.entries(m))):[]}(f).map(Xn=>new Map(Xn));Xt=function So(w,m,f){if(f.size&&m.length){let M=m[0],W=[];if(f.forEach((Ee,Be)=>{M.has(Be)||W.push(Be),M.set(Be,Ee)}),W.length)for(let Ee=1;Ee<m.length;Ee++){let Be=m[Ee];W.forEach(Ye=>Be.set(Ye,gs(w,Ye)))}}return m}(m,Xt,vt);const Vn=function nr(w,m){let f=null,M=null;return Array.isArray(m)&&m.length?(f=Qi(m[0]),m.length>1&&(M=Qi(m[m.length-1]))):m instanceof Map&&(f=Qi(m)),f||M?new Ci(w,f,M):null}(m,Xt);return new on(m,Xt,Dt,Vn)}}const Gi="@.disabled";class Is{constructor(m,f,M,W){this.namespaceId=m,this.delegate=f,this.engine=M,this._onDestroy=W,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(m){this.delegate.destroyNode?.(m)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(m,f){return this.delegate.createElement(m,f)}createComment(m){return this.delegate.createComment(m)}createText(m){return this.delegate.createText(m)}appendChild(m,f){this.delegate.appendChild(m,f),this.engine.onInsert(this.namespaceId,f,m,!1)}insertBefore(m,f,M,W=!0){this.delegate.insertBefore(m,f,M),this.engine.onInsert(this.namespaceId,f,m,W)}removeChild(m,f,M){this.engine.onRemove(this.namespaceId,f,this.delegate)}selectRootElement(m,f){return this.delegate.selectRootElement(m,f)}parentNode(m){return this.delegate.parentNode(m)}nextSibling(m){return this.delegate.nextSibling(m)}setAttribute(m,f,M,W){this.delegate.setAttribute(m,f,M,W)}removeAttribute(m,f,M){this.delegate.removeAttribute(m,f,M)}addClass(m,f){this.delegate.addClass(m,f)}removeClass(m,f){this.delegate.removeClass(m,f)}setStyle(m,f,M,W){this.delegate.setStyle(m,f,M,W)}removeStyle(m,f,M){this.delegate.removeStyle(m,f,M)}setProperty(m,f,M){"@"==f.charAt(0)&&f==Gi?this.disableAnimations(m,!!M):this.delegate.setProperty(m,f,M)}setValue(m,f){this.delegate.setValue(m,f)}listen(m,f,M){return this.delegate.listen(m,f,M)}disableAnimations(m,f){this.engine.disableAnimations(m,f)}}class P extends Is{constructor(m,f,M,W,Ee){super(f,M,W,Ee),this.factory=m,this.namespaceId=f}setProperty(m,f,M){"@"==f.charAt(0)?"."==f.charAt(1)&&f==Gi?this.disableAnimations(m,M=void 0===M||!!M):this.engine.process(this.namespaceId,m,f.slice(1),M):this.delegate.setProperty(m,f,M)}listen(m,f,M){if("@"==f.charAt(0)){const W=function h(w){switch(w){case"body":return document.body;case"document":return document;case"window":return window;default:return w}}(m);let Ee=f.slice(1),Be="";return"@"!=Ee.charAt(0)&&([Ee,Be]=function R(w){const m=w.indexOf(".");return[w.substring(0,m),w.slice(m+1)]}(Ee)),this.engine.listen(this.namespaceId,W,Ee,Be,Ye=>{this.factory.scheduleListenerCallback(Ye._data||-1,M,Ye)})}return this.delegate.listen(m,f,M)}}class B{constructor(m,f,M){this.delegate=m,this.engine=f,this._zone=M,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,f.onRemovalComplete=(W,Ee)=>{const Be=Ee?.parentNode(W);Be&&Ee.removeChild(Be,W)}}createRenderer(m,f){const W=this.delegate.createRenderer(m,f);if(!m||!f?.data?.animation){const vt=this._rendererCache;let mn=vt.get(W);return mn||(mn=new Is("",W,this.engine,()=>vt.delete(W)),vt.set(W,mn)),mn}const Ee=f.id,Be=f.id+"-"+this._currentId;this._currentId++,this.engine.register(Be,m);const Ye=vt=>{Array.isArray(vt)?vt.forEach(Ye):this.engine.registerTrigger(Ee,Be,m,vt.name,vt)};return f.data.animation.forEach(Ye),new P(this,Be,W,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(m,f,M){if(m>=0&&m<this._microtaskId)return void this._zone.run(()=>f(M));const W=this._animationCallbacksBuffer;0==W.length&&queueMicrotask(()=>{this._zone.run(()=>{W.forEach(Ee=>{const[Be,Ye]=Ee;Be(Ye)}),this._animationCallbacksBuffer=[]})}),W.push([f,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()}}var be=o(60177);const Lt=[{provide:Cr,useFactory:function tt(){return new xr}},{provide:si,useClass:(()=>{class w extends si{constructor(f,M,W){super(f,M,W,(0,c.WQX)(c.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(M){return new(M||w)(c.KVO(be.qQ),c.KVO(Or),c.KVO(Cr))};static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})()},{provide:c._9s,useFactory:function _t(w,m,f){return new B(w,m,f)},deps:[s.B7,si,c.SKi]}],an=[{provide:Or,useFactory:()=>new Ln},{provide:c.bc$,useValue:"BrowserAnimations"},...Lt],Gn=[{provide:Or,useClass:Ar},{provide:c.bc$,useValue:"NoopAnimations"},...Lt];let pi=(()=>{class w{static withConfig(f){return{ngModule:w,providers:f.disableAnimations?Gn:an}}static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({providers:an,imports:[s.Bb]})}return w})();var es=o(21626),Jn=o(91316),Xi=o(41635);const As=new c.nKC("REQUEST");new c.nKC("RESPONSE");var oa=o(62717),Do=o(45286),_r=o(90330);const $o="[Heatmap] POST click";class so{constructor(m){this.payload=m,this.type=$o}}class oo{constructor(){this.type="[Heatmap] POST click success"}}const Es="[Redirect] GET shop redirect",aa="[Redirect] GET shop redirect success";class Vl{constructor(m){this.payload=m,this.type=Es}}class Ul{constructor(m){this.payload=m,this.type=aa}}const _a={redirect:null},Aa="shopRedirect";function Kc(w=_a,m){return m.type===aa?{...w,redirect:m.payload.item}:w}const Xa=w=>w[Aa].redirect;var Gc=o(62137),Tu=o(71829),Iu=o(72725),ao=o(29262),_=o(13120),S=o(61351),y=o(13007),T=o(27764),Y=o(38664),pe=o(36407),$e=o(73955),Nt=o(88387);const St="[Heatmap] GET clicks",Cn="[Heatmap] GET clicks success",_i="[Heatmap] GET clicks error";class xi{constructor(m){this.payload=m,this.type=St}}class Tr{constructor(m){this.payload=m,this.type=Cn}}class ya{constructor(m){this.payload=m,this.type=_i}}const Eo=(0,o(70746).p)({selectId:w=>w.page}),ca=Eo.getInitialState(),lo="shopHeatmap";function Au(w=ca,m){return m.type===Cn?Eo.upsertOne(m.payload,w):w}const Ya=(0,D.UX)(lo),{selectIds:Xc,selectEntities:Yc,selectAll:Ou,selectTotal:Bl}=Eo.getSelectors(),Co=((0,D.Mz)(Ya,Xc),(0,D.Mz)(Ya,Yc));(0,D.Mz)(Ya,Ou),(0,D.Mz)(Ya,Bl);var Zc=o(76651);const Nu=["canvas"];let Nm=(()=>{class w{constructor(f,M,W){this.store=f,this.router=M,this.document=W}ngOnInit(){}ngAfterViewInit(){this.canvas.nativeElement.width=this.document.body.clientWidth,this.canvas.nativeElement.height=this.document.body.clientHeight}ngOnChanges(f){f.hasOwnProperty("points")&&this.points&&(0,Zc.O)(1).subscribe(()=>{simpleheat(this.canvas.nativeElement).radius(5,6).gradient({"0.00":"rgb(255,0,255)",.25:"rgb(0,0,255)","0.50":"rgb(0,255,0)",.75:"rgb(255,255,0)","1.00":"rgb(255,0,0)"}).data(this.points).draw()})}static#e=this.\u0275fac=function(M){return new(M||w)(c.rXU(D.il),c.rXU(x.Ix),c.rXU(be.qQ))};static#t=this.\u0275cmp=c.VBU({type:w,selectors:[["shop-heatmap-overlay"]],viewQuery:function(M,W){if(1&M&&c.GBs(Nu,7),2&M){let Ee;c.mGM(Ee=c.lsd())&&(W.canvas=Ee.first)}},inputs:{points:"points"},features:[c.OA$],decls:5,vars:0,consts:[["canvas",""],[1,"overlay"],[1,"overlay__label"],[1,"overlay__canvas"]],template:function(M,W){1&M&&(c.j41(0,"div",1)(1,"div",2),c.EFF(2,"Heatmap ON"),c.k0s(),c.nrm(3,"canvas",3,0),c.k0s())},styles:[".overlay[_ngcontent-%COMP%]{pointer-events:none;background-color:#0000004d}.overlay__label[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;padding:4px 30px;background-color:#a1135e;color:#fff;border-radius:0 8px 0 0}"]})}return w})();var Ji=o(63649);function jl(w,m){if(1&w&&(c.nrm(0,"shop-heatmap-overlay",2),c.nI1(1,"async")),2&w){const f=c.XpG();c.Y8G("points",c.bMT(1,1,f.heatmapPoints))}}let Oa=(()=>{class w{constructor(f,M){this.store=f,this.router=M,this.heatmapFlag=!1,this.heatmapOpened=new c.bkB}ngOnInit(){this.heatmapPoints=this.store.pipe((0,D.Lt)(Co),(0,ie.p)(f=>!!f[this.router.url]),(0,ge.T)(f=>f[this.router.url].points))}fetchClicks(){this.store.dispatch(new xi({page:this.router.url}))}toggleHeatmap(){this.heatmapFlag=!this.heatmapFlag,this.heatmapOpened.emit(this.heatmapFlag),this.heatmapFlag&&this.fetchClicks()}static#e=this.\u0275fac=function(M){return new(M||w)(c.rXU(D.il),c.rXU(x.Ix))};static#t=this.\u0275cmp=c.VBU({type:w,selectors:[["shop-admin-panel"]],outputs:{heatmapOpened:"heatmapOpened"},decls:4,vars:1,consts:[[1,"admin-panel"],["mcrai-button","neutral",3,"click"],[1,"admin-panel__heatmap",3,"points"]],template:function(M,W){1&M&&(c.j41(0,"div",0)(1,"button",1),c.bIt("click",function(){return W.toggleHeatmap()}),c.EFF(2,"toggle heatmap"),c.k0s()(),c.DNE(3,jl,2,3,"shop-heatmap-overlay",2)),2&M&&(c.R7$(3),c.vxM(3,W.heatmapFlag?3:-1))},dependencies:[Nm,Ji.Q,be.Jj],styles:[".admin-panel[_ngcontent-%COMP%]{position:fixed;right:68px;bottom:16px;z-index:2000}
1.admin-panel__heatmap[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:100}"]})}return w})();var _s=o(26588);const ku=w=>({active:w});let Ra=(()=>{class w{constructor(f){this.document=f}onWindowScroll(){window.pageYOffset>300||document.documentElement.scrollTop>300||document.body.scrollTop>300?this.windowScrolled=!0:(this.windowScrolled&&window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop<10)&&(this.windowScrolled=!1)}scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}ngOnInit(){}static#e=this.\u0275fac=function(M){return new(M||w)(c.rXU(be.qQ))};static#t=this.\u0275cmp=c.VBU({type:w,selectors:[["shop-back-to-top-button"]],hostBindings:function(M,W){1&M&&c.bIt("scroll",function(){return W.onWindowScroll()},!1,c.tSv)},decls:4,vars:3,consts:[[1,"back-to-top",3,"ngClass"],["mcrai-button","neutral",1,"back-to-top__button",3,"click"]],template:function(M,W){1&M&&(c.j41(0,"div",0)(1,"button",1),c.bIt("click",function(){return W.scrollToTop()}),c.j41(2,"mcrai-icon"),c.EFF(3,"arrow_top"),c.k0s()()()),2&M&&c.Y8G("ngClass",c.eq3(1,ku,W.windowScrolled))},dependencies:[be.YU,Ji.Q,_s.R],styles:[".back-to-top[_ngcontent-%COMP%]{position:fixed;bottom:16px;right:16px;opacity:0;transition:all .2s ease-in-out}.back-to-top.active[_ngcontent-%COMP%]{opacity:1;transition:all .2s ease-in-out}.back-to-top__button[_ngcontent-%COMP%]{height:45px;width:45px;min-width:auto}.back-to-top__button[_ngcontent-%COMP%]   .mcrai-icon[_ngcontent-%COMP%]{font-size:18px}"]})}return w})();function ba(w,m){if(1&w){const f=c.RV6();c.j41(0,"shop-admin-panel",0),c.bIt("heatmapOpened",function(W){c.eBV(f);const Ee=c.XpG(3);return c.Njj(Ee.isHeatmapOpened=W)}),c.k0s()}}function Rs(w,m){if(1&w&&(c.nrm(0,"shop-back-to-top-button"),c.DNE(1,ba,1,0,"shop-admin-panel")),2&w){const f=c.XpG(2);c.R7$(),c.vxM(1,f.showAdminPanel()?1:-1)}}function Fu(w,m){if(1&w&&(c.nrm(0,"router-outlet"),c.DNE(1,Rs,2,1)),2&w){const f=c.XpG();c.R7$(),c.vxM(1,f.mobileApp?-1:1)}}let Hl=(()=>{class w{constructor(f,M,W,Ee,Be,Ye,Dt,vt,mn,Xt,Vn,Xn,gn,yn,Ai,Ti,Ui){this.store=f,this.router=M,this.renderer=W,this.permissionService=Ee,this.sectionService=Be,this.toastService=Ye,this.loggerService=Dt,this.gtagService=vt,this.fbqService=mn,this.glamiService=Xt,this.trackerService=Vn,this.scriptService=Xn,this.translate=gn,this.loginModalService=yn,this.document=Ai,this.window=Ti,this.mobileApp=Ui,this.destroy=new Do.B7,this.isHeatmapOpened=!1,this.redirectComplete=!1,this.ADMIN="admin",this.SHOP="shop",this.time=null,gn.use(u.Ay.computedLang)}ngOnInit(){this.router.events.pipe((0,Qe.Q)(this.destroy)).subscribe(f=>{switch(!0){case f instanceof x.Z:this.onNavigationStart(f);break;case f instanceof x.wF:this.fbqService.track("PageView"),this.glamiService.track("PageView"),this.loggerService.view();case f instanceof x.j5:this.onNavigationEnd(this.prevUrl,f.url.split("?")[0])}}),this.store.pipe((0,D.Lt)(Xa),(0,Qe.Q)(this.destroy)).subscribe(f=>{this.redirect=f,this.redirect?(this.redirectComplete=!1,this.isUrlAbsolute(this.redirect.to)?location.replace(this.redirect.to):location.replace([location.protocol,"//",location.host,this.redirect.to].join(""))):this.redirectComplete=!0}),this.store.pipe((0,D.Lt)(Gc.ab),(0,Qe.Q)(this.destroy),(0,ie.p)(f=>!!f)).subscribe(f=>{this.activeSection=f,this.renderer.removeClass(this.document.body,this.ADMIN),this.renderer.removeClass(this.document.body,this.SHOP),this.renderer.addClass(this.document.body,f)})}ngAfterViewInit(){this.IETest()}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}onClick(f){this.activeSection===this.SHOP&&!this.isHeatmapOpened&&this.store.dispatch(new so({page:this.router.url,point:[f.pageX,f.pageY,1]}))}onNavigationStart(f){this.store.dispatch(new Vl({url:f.url})),this.store.dispatch(new _r.I({section:this.sectionService.getSection(f,!0)}))}onNavigationEnd(f,M){f!==M&&this.window.scrollTo(0,0),this.prevUrl=M}IETest(){/msie\s|trident/i.test(window.navigator.userAgent)&&this.router.navigate([u.Ay.computedLang,l.SU])}sendSklik(){this.scriptService.update({src:"//c.imedia.cz/js/retargeting.js",async:!0})}showAdminPanel(){return this.activeSection===this.SHOP&&this.permissionService.canReadPage("aegisx.logger")}isUrlAbsolute(f){return/^https?:\/\//.test(f)}static#e=this.\u0275fac=function(M){return new(M||w)(c.rXU(D.il),c.rXU(x.Ix),c.rXU(c.sFG),c.rXU(Tu.n),c.rXU(Iu.z),c.rXU(ao.FS),c.rXU(_.g),c.rXU(S.n),c.rXU(y.F),c.rXU(T.S),c.rXU(Y.A),c.rXU(pe.f),c.rXU($e.c$),c.rXU(Nt._),c.rXU(be.qQ),c.rXU(l.jf),c.rXU("MOBILE_APP"))};static#t=this.\u0275cmp=c.VBU({type:w,selectors:[["mcrai-rubicon"]],hostBindings:function(M,W){1&M&&c.bIt("click",function(Be){return W.onClick(Be)},!1,c.tSv)},decls:1,vars:1,consts:[[3,"heatmapOpened"]],template:function(M,W){1&M&&c.DNE(0,Fu,2,1),2&M&&c.vxM(0,W.redirectComplete?0:-1)},dependencies:[x.n3,Oa,Ra],styles:["[_nghost-%COMP%]{display:block;overflow-anchor:none}.app__loading[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:9999;height:7px}"]})}return w})(),Lu=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});
1static#n=this.\u0275inj=c.G2t({imports:[be.MD,D.md.forFeature("sharedSection",Gc.Ff)]})}return w})();var Ws=o(15539),zl=o(12906);let Vu=(()=>{class w extends zl.d{postClick(f,M){const W=this.buildUrl(["shop","logger","click"]);return this.post(W,{page:f,x:M[0],y:M[1]})}getPoints(f){const M=this.buildUrl(["logger","clicks"],{page:f});return this.get(M)}static#e=this.\u0275fac=(()=>{let f;return function(W){return(f||(f=c.xGo(w)))(W||w)}})();static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),$l=(()=>{class w{constructor(f,M,W,Ee,Be){this.actions=f,this.store=M,this.dataService=W,this.loaderService=Ee,this.toasterService=Be}static#e=this.\u0275fac=function(M){return new(M||w)(c.KVO(Xi.En),c.KVO(D.il),c.KVO(Vu),c.KVO(ao.wA),c.KVO(ao.FS))};static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})(),Wl=(()=>{class w extends $l{constructor(){super(...arguments),this.getClicks=(0,Xi.EH)(()=>this.actions.pipe((0,Xi.gp)(St),(0,Ws.M)(()=>this.loaderService.show()),(0,yt.n)(f=>this.dataService.getPoints(f.payload.page).pipe((0,ge.T)(M=>new Tr(M)),(0,Ot.W)(M=>(0,Z.of)(new ya(M))))))),this.getClicksSuccess=(0,Xi.EH)(()=>this.actions.pipe((0,Xi.gp)(Cn),(0,Ws.M)(f=>{this.loaderService.hide()})),{dispatch:!1}),this.getClicksError=(0,Xi.EH)(()=>this.actions.pipe((0,Xi.gp)(_i),(0,Ws.M)(f=>{this.loaderService.hide()})),{dispatch:!1})}static#e=this.\u0275fac=(()=>{let f;return function(W){return(f||(f=c.xGo(w)))(W||w)}})();static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})(),Za=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({imports:[be.MD,ao.DJ,ao.wl]})}return w})(),Pa=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({imports:[be.MD,Za,Xi.Vm.forFeature([Wl]),D.md.forFeature(lo,Au)]})}return w})(),Qa=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({imports:[be.MD,Pa,ao.xT]})}return w})(),Kl=(()=>{class w extends $l{constructor(){super(...arguments),this.postClick=(0,Xi.EH)(()=>this.actions.pipe((0,Xi.gp)($o),(0,yt.n)(f=>this.dataService.postClick(f.payload.page,f.payload.point).pipe((0,ge.T)(()=>new oo)))))}static#e=this.\u0275fac=(()=>{let f;return function(W){return(f||(f=c.xGo(w)))(W||w)}})();static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})(),da=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({imports:[be.MD,Za,Xi.Vm.forFeature([Kl])]})}return w})();var ci=o(51599),Qc=o(34750),km=o(2644),Uu=o(25654),Bu=o(6594);let ju=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({providers:[km.N,Uu.f,Bu.n],imports:[be.MD]})}return w})(),Jc=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({imports:[be.MD,ao.xT,ao.o6]})}return w})();var Da=o(29242);let Hu=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({imports:[be.MD]})}return w})(),zu=(()=>{class w extends zl.d{getShopRedirect(f){const W=this.buildUrl(["shop","redirect"],{url:f});return this.get(W)}static#e=this.\u0275fac=(()=>{let f;return function(W){return(f||(f=c.xGo(w)))(W||w)}})();static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),$u=(()=>{class w{constructor(f,M,W,Ee,Be,Ye){this.actions=f,this.redirectService=M,this.store=W,this.router=Ee,this.loaderService=Be,this.toasterService=Ye}static#e=this.\u0275fac=function(M){return new(M||w)(c.KVO(Xi.En),c.KVO(zu),c.KVO(D.il),c.KVO(x.Ix),c.KVO(ao.wA),c.KVO(ao.FS))};static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})(),Wu=(()=>
1{class w extends $u{constructor(){super(...arguments),this.getShopRedirect=(0,Xi.EH)(()=>this.actions.pipe((0,Xi.gp)(Es),(0,yt.n)(f=>this.redirectService.getShopRedirect(f.payload.url).pipe((0,ge.T)(M=>new Ul(M)))))),this.getShopRedirectSuccess=(0,Xi.EH)(()=>this.actions.pipe((0,Xi.gp)(aa)),{dispatch:!1})}static#e=this.\u0275fac=(()=>{let f;return function(W){return(f||(f=c.xGo(w)))(W||w)}})();static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})(),Ku=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w});static#n=this.\u0275inj=c.G2t({imports:[be.MD,Hu,Xi.Vm.forFeature([Wu]),D.md.forFeature(Aa,Kc)]})}return w})();class $t{http;prefix;suffix;constructor(m,f="/assets/i18n/",M=".json"){this.http=m,this.prefix=f,this.suffix=M}getTranslation(m){return this.http.get(`${this.prefix}${m}${this.suffix}`)}}var Ii=o(9971);function qc(w){return new $t(w,"./assets/i18n/",".json")}let ed=(()=>{class w extends s.EZ{static#e=this.\u0275fac=(()=>{let f;return function(W){return(f||(f=c.xGo(w)))(W||w)}})();static#t=this.\u0275prov=c.jDH({token:w,factory:w.\u0275fac})}return w})();class qi{constructor(m,f,M){this.injector=m,this.platformId=f,this.browserTokenService=M,this.emptyToken={id:null,expiration:null}}get id(){return this.getToken().id}get expiration(){return this.getToken().expiration}getToken(){switch(!0){case(0,be.UE)(this.platformId):return this.getTokenBrowser();case(0,be.Vy)(this.platformId):return this.getTokenServer();default:return this.emptyToken}}getTokenServer(){const m=this.injector.get(As);return m.cookies&&m.cookies.token?JSON.parse(m.cookies.token):this.emptyToken}getTokenBrowser(){return this.browserTokenService.getOne()}}const td={provide:l.jf,useFactory:w=>(0,be.UE)(w)?window:{scrollTo(m){}},deps:[c.Agw]};function Na(w){return function(m,f){return f.type===ci.T_&&(m=m.sharedSection&&m.sharedSection.activeSection?{sharedSection:{activeSection:m.sharedSection.activeSection}}:void 0),w(m,f)}}let wo=(()=>{class w{static#e=this.\u0275fac=function(M){return new(M||w)};static#t=this.\u0275mod=c.$C({type:w,bootstrap:[Hl]});static#n=this.\u0275inj=c.G2t({providers:[{provide:"MOBILE_APP",useValue:l.DQ},{provide:"API_URL",useValue:l.H$},{provide:"API_HTPASS",useValue:l.lE},{provide:"ROOT_URL",useValue:l.BJ},{provide:"ROOT_URL_SSR",useValue:l.mW},{provide:"DOMAIN",useValue:l.V2},{provide:"DOMAIN_SSR",useValue:l.Yu},{provide:"IPP",useValue:l.WY},{provide:"API_PATH",useValue:Ii.f0},td,oa.CookieService,{provide:l.CV,useClass:qi,deps:[c.zZn,c.Agw,Qc.v]},{provide:s.kQ,useClass:ed}],imports:[s.Bb,pi,es.q1,C,Lu,Jn.U,D.md.forRoot({},{metaReducers:[Na],runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),Xi.Vm.forRoot([]),mi.instrument({connectInZone:!0}),Qa,Jc,da,ao.DJ,ju,Da.cm,Ku,$e.h.forRoot({defaultLanguage:u.vj,loader:{provide:$e.Wr,useFactory:qc,deps:[es.Qq]}})]})}return w})();var Gl=o(22390);o(64511),Gl.c.production&&(0,c.SmG)(),s.sG().bootstrapModule(wo)},63649:(ht,ue,o)=>{"use strict";o.d(ue,{Q:()=>I});var s=o(54438);const c=["mcrai-button",""],x=["*"];let I=(()=>{class l{set mcraiButton(g){this.removeAllColorClasses(),this.removeAllSizeClasses(),this.removeAllTypeClasses(),g&&g.trim().split(/\s+/).forEach(D=>{this.addMcraiButtonClass(D)})}set color(g){this.removeAllColorClasses(),g&&this.addMcraiButtonClass(g)}set size(g){this.removeAllSizeClasses(),g&&this.addMcraiButtonClass(g)}set type(g){this.removeAllTypeClasses(),g&&this.addMcraiButtonClass(g)}set disabled(g){g?this._renderer.addClass(this._elRef.nativeElement,"mcrai-button--disabled"):this._renderer.removeClass(this._elRef.nativeElement,"mcrai-button--disabled")}constructor(g,C){this._renderer=g,this._elRef=C}ngOnInit(){}removeAllColorClasses(){this.removeClasses(["neutral","positive","negative","transparent"])}removeAllSizeClasses(){this.removeClasses(["small","medium","large"])}removeAllTypeClasses(){this.removeClasses(["filled","outlined"])}removeClasses(g){g.forEach(C=>{this._renderer.removeClass(this._elRef.nativeElement,`mcrai-button--${C}`)})}addMcraiButtonClass(g){this._renderer.addClass(this._elRef.nativeElement,`mcrai-button--${g}`)}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(s.sFG),s.rXU(s.aKT))};static#t=this.\u0275cmp=s.VBU({type:l,selectors:[["a","mcrai-button",""],["button","mcrai-button",""],["label","mcrai-button",""]],hostVars:2,hostBindings:function(C,D){2&C&&s.AVh("mcrai-button",!0)},inputs:{mcraiButton:[s.Mj6.None,"mcrai-button","mcraiButton"],color:"color",size:"size",type:"type",disabled:"disabled"},attrs:c,ngContentSelectors:x,decls:1,vars:0,template:function(C,D){1&C&&(s.NAR(),s.SdG(0))},styles:[".mcrai-button{display:inline-flex;border:0;outline:none;text-decoration:none;text-align:center;font-size:14px;min-width:54px;align-items:center;padding:13px 16px 12px;margin:0 2px;
1cursor:pointer;box-sizing:border-box;justify-content:center;transition:background-color .2s;transition-timing-function:cubic-bezier(.25,.8,.25,1)}.mcrai-button:first-letter{text-transform:uppercase}.mcrai-button--disabled{pointer-events:none;cursor:none}\n"],encapsulation:2,changeDetection:0})}return l})()},4379:(ht,ue,o)=>{"use strict";o.d(ue,{x:()=>I});var s=o(54438);const c=["mcrai-icon-button",""],x=["*"];let I=(()=>{class l{set mcraiButton(g){this.removeAllColorClasses(),this.removeAllSizeClasses(),this.removeAllTypeClasses(),g&&g.trim().split(/\s+/).forEach(D=>{this.addMcraiButtonClass(D)})}set color(g){this.removeAllColorClasses(),g&&this.addMcraiButtonClass(g)}set size(g){this.removeAllSizeClasses(),g&&this.addMcraiButtonClass(g)}set type(g){this.removeAllTypeClasses(),g&&this.addMcraiButtonClass(g)}set disabled(g){g?this._renderer.addClass(this._elRef.nativeElement,"mcrai-icon-button--disabled"):this._renderer.removeClass(this._elRef.nativeElement,"mcrai-icon-button--disabled")}constructor(g,C){this._renderer=g,this._elRef=C}ngOnInit(){}removeAllColorClasses(){this.removeClasses(["neutral","positive","negative","transparent"])}removeAllSizeClasses(){this.removeClasses(["small","medium","large"])}removeAllTypeClasses(){this.removeClasses(["filled","outlined"])}removeClasses(g){g.forEach(C=>{this._renderer.removeClass(this._elRef.nativeElement,`mcrai-icon-button--${C}`)})}addMcraiButtonClass(g){this._renderer.addClass(this._elRef.nativeElement,`mcrai-icon-button--${g}`)}static#e=this.\u0275fac=function(C){return new(C||l)(s.rXU(s.sFG),s.rXU(s.aKT))};static#t=this.\u0275cmp=s.VBU({type:l,selectors:[["a","mcrai-icon-button",""],["button","mcrai-icon-button",""]],hostVars:2,hostBindings:function(C,D){2&C&&s.AVh("mcrai-icon-button",!0)},inputs:{mcraiButton:[s.Mj6.None,"mcrai-icon-button","mcraiButton"],color:"color",size:"size",type:"type",disabled:"disabled"},attrs:c,ngContentSelectors:x,decls:1,vars:0,template:function(C,D){1&C&&(s.NAR(),s.SdG(0))},styles:[".mcrai-icon-button{display:inline-flex;align-items:center;justify-content:center;margin:0 2px;width:34px;height:34px;cursor:pointer;box-sizing:border-box;border:0;outline:none;text-decoration:none;flex-shrink:0}.mcrai-icon-button .mcrai-icon{font-size:18px}.mcrai-icon-button--disabled{pointer-events:none;cursor:none}\n"],encapsulation:2,changeDetection:0})}return l})()},2800:(ht,ue,o)=>{"use strict";o.d(ue,{e:()=>c,r:()=>s});let s=(()=>{class x{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return x})(),c=(()=>{class x{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.LEAVING="195ms"}return x})()},26588:(ht,ue,o)=>{"use strict";o.d(ue,{R:()=>x});var s=o(54438);const c=["*"];let x=(()=>{class I{set size(u){this.renderer.setStyle(this.elRef.nativeElement,"fontSize",u="number"==typeof u?u+"px":u)}set color(u){this.removeAllColorClasses(),this.renderer.addClass(this.elRef.nativeElement,`${this.ICON_CLASS}--${u}`)}constructor(u,g){this.renderer=u,this.elRef=g,this.ICON_CLASS="mcrai-icon"}ngOnInit(){this.renderer.addClass(this.elRef.nativeElement,this.ICON_CLASS)}ngAfterViewInit(){this.addIconClass(this.elRef.nativeElement.innerText)}addIconClass(u){this.elRef.nativeElement.innerText="",this.renderer.addClass(this.elRef.nativeElement,"icon-"+u.trim())}removeAllColorClasses(){["primary","secondary","alternative"].forEach(g=>{this.renderer.removeClass(this.elRef.nativeElement,`${this.ICON_CLASS}--${g}`)})}static#e=this.\u0275fac=function(g){return new(g||I)(s.rXU(s.sFG),s.rXU(s.aKT))};static#t=this.\u0275cmp=s.VBU({type:I,selectors:[["mcrai-icon"]],inputs:{size:"size",color:"color"},ngContentSelectors:c,decls:1,vars:0,template:function(g,C){1&g&&(s.NAR(),s.SdG(0))},styles:['.mcrai-icon{display:inline-flex;align-items:center;justify-content:center;min-width:24px;font-family:icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;font-size:24px;letter-spacing:0;font-feature-settings:"liga";font-variant-ligatures:discretionary-ligatures;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-user:before{content:"v"}.icon-column-view:before{content:"\\e900"}.icon-delivery-truck:before{content:"\\e901"}.icon-download:before{content:"\\e902"}.icon-description:before{content:"\\e903"}.icon-exchange:before{content:"\\e904"}.icon-favorite:before{content:"\\e905"}.icon-chat:before{content:"\\e906"}.icon-menu:before{content:"\\e907"}.icon-package:before{content:"\\e908"}.icon-play:before{content:"\\e909"}.icon-qr-code:before{content:"\\e90a"}.icon-refresh:before{content:"\\e90b"}.icon-shopping-bag:before{content:"\\e90c"}.icon-sort:before{content:"\\e90d"}.icon-user-profile:before{content:"\\e90e"}.icon-save:before{content:"\\e90f"}.icon-numbered_list:before{content:"\\e910"}.icon-arrow_to_ring:before{content:"\\e911"}.icon-settings:before{content:"\\e912"}.icon-board:before{content:"\\e913"}.icon-star_with_check:before{content:"\\e914"}.icon-call:before{content:"\\e915"}.icon-delivery2:before{content:"\\e916"}.icon-article:before{content:"\\e917"}.icon-compare:before{content:"\\e918"}.icon-currency_exchange:before{content:"\\e919"}.icon-facebook-circle:before{content:"\\e91a"}.icon-file_text:before{content:"\\e91b"}.icon-flip_to_front:before{content:"\\e91c"}.icon-grading:before{content:"\\e91d"}.icon-move-arrows:before{content:"\\e91e"}.icon-stock:before{content:"\\e91f"}.icon-table:before{content:"\\e920"}.icon-instagram:before{content:"\\e921"}.icon-map_point:before{content:"\\e922"}.icon-picture_in_picture:before{content:"\\e923"}.icon-reload:before{content:"\\e924"}.icon-analytics:before{content:"\\e925"}.icon-history-2:before{content:"\\e926"}.icon-delivery:before{content:"\\e927"}.icon-copy:before{content:"\\e928"}.icon-gallery:before{content:"\\e929"}.icon-move-arrows-xy:before{content:"\\e92a"}.icon-check:before{content:"\\e92b"}.icon-visa:before{content:"\\e92c"}.icon-bell:before{content:"\\e92d"}.icon-cart-line:before{content:"\\e92e"}.icon-compare-arrows:before{content:"\\e92f"}.icon-heart-line:before{content:"\\e930"}.icon-surcharge:before{content:"\\e931"}.icon-add-2:before{content:"\\e932"}.icon-arrow_down:before{content:"\\e933"}.icon-arrow_left:before{content:"\\e934"}.icon-move-arrows-y:before{content:"\\e935"}.icon-move-arrows-x:before{content:"\\e936"}.icon-arrow_right:before{content:"\\e937"}.icon-arrow_top:before{content:"\\e938"}.icon-burger:before{content:"\\e939"}.icon-checkmark:before{content:"\\e93a"}.icon-close:before{content:"\\e93b"}.icon-stats:before{content:"\\e93c"}.icon-delete:before{content:"\\e93d"}.icon-double_arrow_left:before{content:"\\e93e"}.icon-double_arrow_right:before{content:"\\e93f"}.icon-edit:before{content:"\\e940"}.icon-home:before{content:"\\e941"}.icon-layout_rows:before{content:"\\e942"}.icon-layout_tiles:before{content:"\\e943"}.icon-like:before{content:"\\e944"}.icon-link-2:before{content:"\\e945"}.icon-message:before{content:"\\e946"}.icon-minus:before{content:"\\e947"}.icon-percent:before{content:"\\e948"}.icon-add:before{content:"\\e949"}.icon-reset:before{content:"\\e94a"}.icon-search:before{content:"\\e94b"}.icon-select:before{content:"\\e94c"}.icon-tip:before{content:"\\e94d"}.icon-toggle_toolbar_x:before{content:"\\e94e"}.icon-toggle_toolbar_y:before{content:"\\e94f"}.icon-star-empty:before{content:"\\e950"}.icon-view:before{content:"\\e951"}.icon-wishlist_add:before{content:"\\e952"}.icon-wishlist_remove:before{content:"\\e953"}.icon-wishlist:before{content:"\\e954"}.icon-compare-2:before{content:"\\e955"}.icon-compare_add:before{content:"\\e956"}.icon-compare_remove:before{content:"\\e957"}.icon-battery:before{content:"\\e958"}.icon-info:before{content:"\\e959"}.icon-file:before{content:"\\e95a"}.icon-star-full:before{content:"\\e95b"}.icon-thin-user:before{content:"\\e95c"}.icon-thin-search:before{content:"\\e95d"}.icon-thin-phone:before{content:"\\e95e"}
1.icon-thin-mail:before{content:"\\e95f"}.icon-thin-download:before{content:"\\e960"}.icon-thin-close:before{content:"\\e961"}.icon-thin-arrow-right:before{content:"\\e962"}.icon-thin-arrow-left:before{content:"\\e963"}.icon-price-tags:before{content:"\\e964"}.icon-history:before{content:"\\e965"}.icon-truck:before{content:"\\e9b0"}.icon-website:before{content:"\\e9c9"}.icon-link:before{content:"\\e9cb"}.icon-eye:before{content:"\\e9ce"}.icon-eye-blocked:before{content:"\\e9d1"}.icon-notification:before{content:"\\ea08"}.icon-checkbox-checked:before{content:"\\ea52"}.icon-checkbox-unchecked:before{content:"\\ea53"}.icon-facebook:before{content:"\\eaa9"}.icon-instagram-2:before{content:"\\eaab"}.icon-youtube:before{content:"\\eab6"}.icon-arrow-left-2:before{content:"\\eb13"}.icon-arrow-right-2:before{content:"\\eb14"}.icon-arrow-down-2:before{content:"\\eb15"}.icon-arrow-top-2:before{content:"\\eb16"}.icon-ring-arrow-right:before{content:"\\eb21"}.icon-ring-arrow-left:before{content:"\\eb22"}.icon-ring-arrow-top:before{content:"\\eb3e"}.icon-ring-arrow-down:before{content:"\\eb40"}.icon-mail-3:before{content:"\\eb41"}.icon-phone-3:before{content:"\\eb51"}.icon-search-3:before{content:"\\eb52"}.icon-cart-4:before{content:"\\eb53"}.icon-heart-3:before{content:"\\eb54"}.icon-ring-check:before{content:"\\eb55"}.icon-check-3:before{content:"\\eb56"}\n'],encapsulation:2,changeDetection:0})}return I})()},63929:(ht,ue,o)=>{"use strict";o.d(ue,{V:()=>K});var s=o(86600),c=o(7605),x=o(45286),I=o(99369),l=o(44549),u=o(54438),g=o(89417),C=o(32102),D=o(76057),A=o(73955);const V=["type","date-range"];function Z(Me,Oe){if(1&Me){const ie=u.RV6();u.j41(0,"mat-form-field")(1,"mat-date-range-input",2),u.nrm(2,"input",3)(3,"input",4),u.k0s(),u.nrm(4,"mat-datepicker-toggle",5),u.j41(5,"mat-date-range-picker",6,0),u.bIt("closed",function(){u.eBV(ie);const ye=u.XpG();return u.Njj(ye.resetMaxDate())})("opened",function(){u.eBV(ie);const ye=u.XpG();return u.Njj(ye.resetMaxDate())}),u.k0s()()}if(2&Me){const ie=u.sdS(6),ge=u.XpG();u.R7$(),u.Y8G("formGroup",ge.form)("rangePicker",ie)("min",ge.minDate)("max",ge.maxDate)("dateFilter",ge.dateFilter),u.R7$(),u.Y8G("formControlName",ge.startControlName),u.R7$(),u.Y8G("formControlName",ge.endControlName),u.R7$(),u.Y8G("for",ie)}}function re(Me,Oe){if(1&Me&&(u.j41(0,"div",1),u.EFF(1),u.nI1(2,"translate"),u.k0s()),2&Me){const ie=u.XpG();u.R7$(),u.SpI(" ",u.bMT(2,1,ie.getFirstError())," ")}}let K=(()=>{class Me{constructor(ie){this.changeDetectorRef=ie,this.UNDEFINED_ERROR="Byl spu\u0161t\u011bn valid\xe1tor, kter\xfd nem\xe1 \u017e\xe1dnou zpr\xe1vu! Jm\xe9no valid\xe1toru: ",this.destroy=new x.B7,this.forbiddenDates=[],this.dateFilter=ge=>!this.forbiddenDates.some(ye=>ge.toMillis()===ye.toMillis())}ngOnInit(){this.form.valueChanges.pipe((0,c.Q)(this.destroy)).subscribe(ie=>{this.setMaxDate(ie)}),Object.keys(this.form.value).forEach(ie=>{this.form.get(ie).valueChanges.pipe((0,c.Q)(this.destroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})})}ngOnChanges(ie){ie.hasOwnProperty("forbiddenDates")&&this.setMaxDate(this.form.value)}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}hasErrors(){return this.form.dirty&&this.form.invalid}getFirstError(){if("string"==typeof this.errors)return this.errors;const ie=Object.keys(this.form.value).find(ye=>this.form.controls[ye].errors),ge=Object.keys(this.form.controls[ie].errors);return this.errors&&this.errors.hasOwnProperty(ge[0])?this.errors[ge[0]]:this.UNDEFINED_ERROR+ge[0]}setMaxDate(ie){if(this.maxDate=null,ie.hasOwnProperty(this.startControlName)){const ge=this.forbiddenDates.filter(ye=>!ie[this.startControlName]||ye>ie[this.startControlName]);ge.length&&(this.maxDate=l.c9.min(...ge))}}resetMaxDate(){this.form.value[this.endControlName]&&(this.maxDate=null)}static#e=this.\u0275fac=function(ge){return new(ge||Me)(u.rXU(u.gRc))};static#t=this.\u0275cmp=u.VBU({type:Me,selectors:[["mcrai-input","type","date-range"]],hostVars:4,hostBindings:function(ge,ye){2&ge&&u.AVh("mcrai-input",!0)("mcrai-input--date",!0)},inputs:{forbiddenDates:"forbiddenDates",form:"form",startControlName:"startControlName",endControlName:"endControlName",placeholder:"placeholder",errors:"errors",minDate:"minDate"},features:[u.Jv_([{provide:s.Ju,useValue:"cs-CZ"},(0,I.bB)()]),u.OA$],attrs:V,decls:2,vars:2,consts:[["picker",""],[1,"mcrai-input__error"],[3,"formGroup","rangePicker","min","max","dateFilter"],["matStartDate","","placeholder","Datum od",3,"formControlName"],["matEndDate","","placeholder","Datum do",3,"formControlName"],["matSuffix","",3,"for"],[3,"closed","opened"]],template:function(ge,ye){1&ge&&u.DNE(0,Z,7,8,"mat-form-field")(1,re,3,3,"div",1),2&ge&&(u.vxM(0,ye.form.controls?0:-1),u.R7$(),u.vxM(1,ye.hasErrors()?1:-1))},dependencies:[g.me,g.BC,g.cb,g.j4,g.JD,C.rl,C.yw,D.bU,D.el,D.xR,D.IG,D.SG,A.D9],styles:[".mcrai-input--date{position:relative;margin-top:15px}.mcrai-icon-button.mcrai-input__date-toggle{position:absolute;bottom:0;right:3px;width:24px;height:24px}.mcrai-icon-button .mcrai-icon.mcrai-input__date-icon{font-size:12px}
1.mcrai-input--date .mat-mdc-form-field{display:block}.mcrai-input__error{font-size:14px;padding-top:3px}\n"],encapsulation:2,changeDetection:0})}return Me})()},97519:(ht,ue,o)=>{"use strict";o.d(ue,{N:()=>K});var s=o(54438),c=o(26588),x=o(89417),I=o(4379),l=o(73955);const u=["input"],g=["type","text"];function C(Me,Oe){if(1&Me&&(s.j41(0,"div",3),s.EFF(1),s.k0s()),2&Me){const ie=s.XpG();s.R7$(),s.SpI(" ",((null==ie.control||null==ie.control.value?null:ie.control.value.length)||0)+"/"+ie.maxLength," ")}}function D(Me,Oe){if(1&Me){const ie=s.RV6();s.j41(0,"input",11,0),s.bIt("focus",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onFocus())})("blur",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onBlur())})("input",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onTextInput())}),s.k0s()}if(2&Me){const ie=s.XpG();s.Y8G("formControl",ie.control)("type",ie.type),s.BMQ("maxLength",ie.maxLength>0?ie.maxLength:null)}}function A(Me,Oe){if(1&Me){const ie=s.RV6();s.j41(0,"input",12),s.bIt("focus",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onFocus())})("blur",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onBlur())})("input",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onTextInput())}),s.k0s()}if(2&Me){const ie=s.XpG();s.Y8G("formControl",ie.control)("type",ie.type)("min",ie.min)("max",ie.max)("autofocus",ie.autofocus)}}function V(Me,Oe){if(1&Me){const ie=s.RV6();s.j41(0,"textarea",13),s.bIt("focus",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onFocus())})("blur",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onBlur())})("input",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.onTextInput())}),s.k0s()}if(2&Me){const ie=s.XpG();s.Y8G("formControl",ie.control),s.BMQ("maxLength",ie.maxLength>0?ie.maxLength:null)}}function Z(Me,Oe){if(1&Me){const ie=s.RV6();s.j41(0,"button",14),s.bIt("click",function(){s.eBV(ie);const ye=s.XpG();return s.Njj(ye.togglePassword())}),s.j41(1,"mcrai-icon"),s.EFF(2,"eye"),s.k0s()()}}function re(Me,Oe){if(1&Me&&(s.j41(0,"div",10),s.EFF(1),s.nI1(2,"translate"),s.k0s()),2&Me){const ie=s.XpG();s.R7$(),s.SpI(" ",s.bMT(2,1,ie.getFirstError())," ")}}let K=(()=>{class Me{get control(){return this._control}set control(ie){this._control=ie}constructor(){this.UNDEFINED_ERROR="Byl spu\u0161t\u011bn valid\xe1tor, kter\xfd nem\xe1 \u017e\xe1dnou zpr\xe1vu! Jm\xe9no valid\xe1toru: ",this.focus=new s.bkB,this.blur=new s.bkB,this.change=new s.bkB,this.textInput=new s.bkB,this.min=1,this.onlyDigits=!1,this.designType="labelInInput",this.toggleable=!1,this.isFocused=!1}ngOnInit(){}ngAfterViewInit(){this.setFocus()}hasPlaceholder(){return!!this.placeholder}hasErrors(){return this.control?.dirty&&this.control?.invalid}isActive(){return this.isFocused||this.hasErrors()}isEmpty(){return!(this.control&&(!Array.isArray(this.control.value)||0!==this.control.value.length))||0!==this.control.value&&"0"!==this.control.value&&!this.control.value}isDesignTypeNormal(){return"normal"===this.designType}getFirstError(){if("string"==typeof this.errors)return this.errors;const ie=this.control?.errors?Object.keys(this.control?.errors):[];return this.errors&&this.errors.hasOwnProperty(ie[0])?this.errors[ie[0]]:this.UNDEFINED_ERROR+ie[0]}onFocus(){this.isFocused=!0,this.focus.emit(this)}onBlur(){this.isFocused=!1,this.blur.emit(this)}onTextInput(){if(this.onlyDigits){const ie=this.control.value.split("");let ge="";ie.forEach(ye=>{Number(ye),"NaN"!==ye.toString()&&(ge+=ye)}),this.control.patchValue(ge)}1==("number"===this.type)&&(this.control.value<this.min?this.control.patchValue(this.min):this.max&&this.control.value>this.max&&this.control.patchValue(this.max)),this.textInput.emit(this)}setFocus(){this.autofocus&&this.input.nativeElement.focus()}togglePassword(){switch(this.type){case"text":this.type="password",this.toggleIcon.renderer.removeClass(this.toggleIcon.elRef.nativeElement,"icon-eye-blocked"),this.toggleIcon.renderer.addClass(this.toggleIcon.elRef.nativeElement,"icon-eye");break;case"password":this.type="text",this.toggleIcon.renderer.removeClass(this.toggleIcon.elRef.nativeElement,"icon-eye"),this.toggleIcon.renderer.addClass(this.toggleIcon.elRef.nativeElement,"icon-eye-blocked")}}static#e=this.\u0275fac=function(ge){return new(ge||Me)};static#t=this.\u0275cmp=s.VBU({type:Me,selectors:[["mcrai-input","type","text"],["mcrai-input","type","password"],["mcrai-input","type","textarea"],["mcrai-input","type","number"]],viewQuery:function(ge,ye){if(1&ge&&(s.GBs(u,5),s.GBs(c.R,5)),2&ge){let rt;
1s.mGM(rt=s.lsd())&&(ye.input=rt.first),s.mGM(rt=s.lsd())&&(ye.toggleIcon=rt.first)}},hostVars:4,hostBindings:function(ge,ye){2&ge&&s.AVh("mcrai-input",!0)("mcrai-input--text",!0)},inputs:{control:"control",placeholder:"placeholder",errors:"errors",type:"type",autofocus:"autofocus",min:"min",max:"max",onlyDigits:"onlyDigits",designType:"designType",toggleable:"toggleable",maxLength:"maxLength"},outputs:{focus:"focus",blur:"blur",change:"change",textInput:"textInput"},attrs:g,decls:11,vars:21,consts:[["input",""],[1,"mcrai-input__field"],[1,"mcrai-input__placeholder"],[1,"mcrai-input__counter"],[1,"mcrai-input__element","mcrai-input__element--text",3,"formControl","type"],[1,"mcrai-input__element","mcrai-input__element--text",3,"formControl","type","min","max","autofocus"],[1,"mcrai-input__element","mcrai-input__element--textarea",3,"formControl"],["type","button","mcrai-icon-button","transparent",1,"mcrai-input__toggle"],[1,"mcrai-input__underline--wrapper"],[1,"mcrai-input__underline"],[1,"mcrai-input__error"],[1,"mcrai-input__element","mcrai-input__element--text",3,"focus","blur","input","formControl","type"],[1,"mcrai-input__element","mcrai-input__element--text",3,"focus","blur","input","formControl","type","min","max","autofocus"],[1,"mcrai-input__element","mcrai-input__element--textarea",3,"focus","blur","input","formControl"],["type","button","mcrai-icon-button","transparent",1,"mcrai-input__toggle",3,"click"]],template:function(ge,ye){1&ge&&(s.j41(0,"div",1)(1,"label",2),s.EFF(2),s.k0s(),s.DNE(3,C,2,1,"div",3)(4,D,2,3,"input",4)(5,A,1,5,"input",5)(6,V,1,2,"textarea",6)(7,Z,3,0,"button",7),s.k0s(),s.j41(8,"div",8),s.nrm(9,"div",9),s.k0s(),s.DNE(10,re,3,3,"div",10)),2&ge&&(s.AVh("mcrai-input__field--placeholder",ye.hasPlaceholder())("mcrai-input__field--design-type-normal",ye.isDesignTypeNormal()),s.R7$(),s.AVh("mcrai-input__placeholder--empty",ye.isEmpty())("mcrai-input__placeholder--focused",ye.isFocused),s.R7$(),s.JRh(ye.placeholder),s.R7$(),s.vxM(3,ye.maxLength?3:-1),s.R7$(),s.vxM(4,"text"===ye.type||"password"===ye.type?4:-1),s.R7$(),s.vxM(5,"number"===ye.type?5:-1),s.R7$(),s.vxM(6,"textarea"===ye.type?6:-1),s.R7$(),s.vxM(7,!ye.toggleable||"text"!==ye.type&&"password"!==ye.type?-1:7),s.R7$(2),s.AVh("mcrai-input__underline--focused",ye.isFocused)("mcrai-input__underline--active",ye.isActive())("mcrai-input__underline--error",ye.hasErrors()),s.R7$(),s.vxM(10,ye.hasErrors()?10:-1))},dependencies:[x.me,x.BC,x.l_,I.x,c.R,l.D9],styles:[".mcrai-input{display:block}.mcrai-input .mcrai-input__toggle.mcrai-icon-button{position:absolute;right:0;top:50%;transform:translateY(-50%)}.mcrai-input .mcrai-input__toggle.mcrai-icon-button:hover{background:none}.mcrai-input__field{position:relative;margin-top:3px}.mcrai-input__field--placeholder{padding-top:15px}.mcrai-input__element{width:100%;padding:0;background:none;border:0;outline:none;font-size:16px;overflow:hidden;line-height:18px}.mcrai-input__element--textarea{resize:vertical;overflow:auto}.mcrai-input__placeholder{position:absolute;left:0;transform:translateY(0);transform-origin:bottom left;transition:all .4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);pointer-events:none}.mcrai-input__placeholder--focused,.mcrai-input__placeholder:not(.mcrai-input__placeholder--empty){transform:translateY(-1.35em) scale(.75)}.mcrai-input__counter{position:absolute;right:10px;top:0}.mcrai-input__underline--wrapper{width:100%;height:1px}.mcrai-input__underline{width:100%;height:1px;transform:scaleX(0);transition:transform .4s;transition-timing-function:cubic-bezier(.25,.8,.25,1)}.mcrai-input__error{font-size:14px;padding-left:12px}.mcrai-input__field--design-type-normal .mcrai-input__placeholder{position:relative;padding:4px 0}.mcrai-input__field--design-type-normal .mcrai-input__placeholder--focused,.mcrai-input__field--design-type-normal .mcrai-input__placeholder:not(.mcrai-input__placeholder--empty){transform:none}\n"],encapsulation:2})}return Me})()},32350:(ht,ue,o)=>{"use strict";o.d(ue,{V:()=>c});var s=o(54438);let c=(()=>{class x{constructor(l,u){this._renderer=l,this._elRef=u,this.LOADER_CLASS="mcrai-loader"}ngOnInit(){this._renderer.addClass(this._elRef.nativeElement,this.LOADER_CLASS)}static#e=this.\u0275fac=function(u){return new(u||x)(s.rXU(s.sFG),s.rXU(s.aKT))};static#t=this.\u0275cmp=s.VBU({type:x,selectors:[["mcrai-loader"]],decls:3,vars:0,consts:[[1,"mcrai-loader__bounce","mcrai-loader__bounce--1"],[1,"mcrai-loader__bounce","mcrai-loader__bounce--2"],[1,"mcrai-loader__bounce","mcrai-loader__bounce--3"]],template:function(u,g){1&u&&s.nrm(0,"div",0)(1,"div",1)(2,"div",2)},styles:['.mcrai-loader{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.mcrai-loader__bounce{flex:1;max-width:20px;max-height:20px;
1background-color:#dadada;margin:0 1px;border-radius:100%;display:inline-block;animation:bouncedelay 1.4s infinite ease-in-out both}.mcrai-loader__bounce:before{content:"";padding-top:100%;float:left}.mcrai-loader__bounce--1{animation-delay:-.32s}.mcrai-loader__bounce--2{animation-delay:-.16s}@keyframes bouncedelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}\n'],encapsulation:2,changeDetection:0})}return x})()},64406:(ht,ue,o)=>{"use strict";o.d(ue,{gp:()=>u,wA:()=>D,wl:()=>A});var s=o(60177),c=o(47987),x=o(76939),I=o(32350),l=o(54438);let u=(()=>{class V{constructor(re){this._overlay=re,this._isAttached=!1}_getConfig(){const re=new c.rR;return re.positionStrategy=this._overlay.position().global().centerHorizontally().centerVertically(),re.hasBackdrop=!0,re.panelClass="cdk-overlay-pane--fullscreen",re}_getPortal(){return new x.A8(I.V)}_attach(){const re=this._getConfig(),K=this._getPortal();this._overlayRef=this._overlay.create(re),this._overlayRef.attach(K),this._isAttached=!0}_detach(){this._overlayRef&&this._overlayRef.dispose(),this._isAttached=!1}show(){this._isAttached||this._attach()}hide(){this._isAttached&&this._detach()}static#e=this.\u0275fac=function(K){return new(K||V)(l.KVO(c.hJ))};static#t=this.\u0275prov=l.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}return V})();var g=o(79928),C=o(63020);let D=(()=>{class V{constructor(re){this._overlay=re,this._isAttached=!1,this._hide=new g.t(!1),this.tasks=[],this._hide.pipe((0,C.B)(300)).subscribe(()=>this._detach())}_getConfig(){const re=new c.rR;return re.positionStrategy=this._overlay.position().global().centerHorizontally().centerVertically(),re.hasBackdrop=!0,re.panelClass="cdk-overlay-pane--fullscreen",re}_getPortal(){return new x.A8(I.V)}_attach(){if(!this._isAttached){this._isAttached=!0;const re=this._getConfig(),K=this._getPortal();this._overlayRef=this._overlay.create(re),this._overlayRef.attach(K)}}_detach(){this._overlayRef&&(this._overlayRef.dispose(),this._isAttached=!1)}show(re=null){re&&this.tasks.push(re),this._attach()}hide(re=null){if(re){const K=this.tasks.indexOf(re);K>=0&&this.tasks.splice(K,1)}this.tasks.length||this._hide.next(!1)}static#e=this.\u0275fac=function(K){return new(K||V)(l.KVO(c.hJ))};static#t=this.\u0275prov=l.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}return V})(),A=(()=>{class V{static#e=this.\u0275fac=function(K){return new(K||V)};static#t=this.\u0275mod=l.$C({type:V});static#n=this.\u0275inj=l.G2t({providers:[u],imports:[s.MD,c.z_]})}return V})()},54444:(ht,ue,o)=>{"use strict";o.d(ue,{f:()=>l});var s=o(49969),c=o(54438);const x=["mcraiModal",""],I=["*"];let l=(()=>{class u{constructor(){this._animation=!0}ngOnInit(){}static#e=this.\u0275fac=function(D){return new(D||u)};static#t=this.\u0275cmp=c.VBU({type:u,selectors:[["","mcraiModal",""],["","mcrai-modal",""],["mcrai-modal"]],hostVars:3,hostBindings:function(D,A){2&D&&(c.zvX("@scale",A._animation),c.AVh("mcrai-modal",!0))},attrs:x,ngContentSelectors:I,decls:1,vars:0,template:function(D,A){1&D&&(c.NAR(),c.SdG(0))},styles:[".mcrai-modal{display:flex;flex-direction:column;align-items:stretch;height:100%;max-height:calc(100vh - 48px)}.mcrai-modal__header{display:flex;justify-content:flex-start;align-items:center;padding:0 20px;height:65px;margin-bottom:-1px}.mcrai-modal__content{position:relative;display:block;margin:1px 0;padding:20px;flex:1;overflow:auto}.mcrai-modal__actions{display:flex;justify-content:flex-end;align-items:center;padding:0 20px;height:65px;margin-top:-1px}\n"],encapsulation:2,data:{animation:[(0,s.hZ)("scale",[(0,s.wk)("in",(0,s.iF)({opacity:1,transform:"scaleY(1)"})),(0,s.kY)(":enter",[(0,s.iF)({opacity:0,transform:"scaleY(0)"}),(0,s.i0)("225ms cubic-bezier(0.4,0.0,1,1)")]),(0,s.kY)(":leave",[(0,s.iF)({opacity:0,transform:"scaleY(0)"}),(0,s.i0)("225ms cubic-bezier(0.0,0.0,0.2,1)")])])]}})}return u})()},94300:(ht,ue,o)=>{"use strict";o.d(ue,{J:()=>c});var s=o(54438);let c=(()=>{class x{constructor(){this.cssClass=!0}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275dir=s.FsC({type:x,selectors:[["","mcraiModalActions",""],["","mcrai-modal-actions",""],["mcrai-modal-actions"]],hostVars:2,hostBindings:function(u,g){2&u&&s.AVh("mcrai-modal__actions",g.cssClass)}})}return x})()},46346:(ht,ue,o)=>{"use strict";o.d(ue,{l:()=>c});var s=o(54438);let c=(()=>{class x{constructor(){this.cssClass=!0}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275dir=s.FsC({type:x,selectors:[["","mcraiModalContent",""],["","mcrai-modal-content",""],["mcrai-modal-content"]],hostVars:2,hostBindings:function(u,g){2&u&&s.AVh("mcrai-modal__content",g.cssClass)}})}return x})()},31992:(ht,ue,o)=>{"use strict";o.d(ue,{h:()=>c});var s=o(54438);let c=(()=>{class x{constructor(){this.cssClass=!0}static#e=this.\u0275fac=function(u){return new(u||x)};static#t=this.\u0275dir=s.FsC({type:x,selectors:[["","mcraiModalHeader",""],["","mcrai-modal-header",""],["mcrai-modal-header"]],hostVars:2,hostBindings:function(u,g){2&u&&s.AVh("mcrai-modal__header",g.cssClass)}})}return x})()},29262:(ht,ue,o)=>{"use strict";o.d(ue,{MP:()=>re,_P:()=>Ne,Fs:()=>Bt,xT:()=>x,bB:()=>g,LU:()=>u,o6:()=>C,B4:()=>ot,Tm:()=>l,gp:()=>Ct.gp,wA:()=>Ct.wA,wl:()=>Ct.wl,F8:()=>kt,aM:()=>Qe,mO:()=>Rt,oP:()=>Yt,MK:()=>ce,SD:()=>En,pj:()=>In,O2:()=>Gt,ni:()=>Un,iR:()=>Zt,Mt:()=>Wn,x6:()=>sn,B3:()=>pt,Zg:()=>pn,hv:()=>Sn,FS:()=>rn,DJ:()=>mt,I0:()=>Pn,mN:()=>ze,r4:()=>xn,Nr:()=>ae,m_:()=>yt,Ck:()=>Re});var s=o(60177),c=o(54438);let x=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD]})}return me})();var I=o(76939);let l=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD]})}return me})(),u=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,l]})}return me})(),g=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,I.jc,u,x]})}return me})(),C=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD]})}return me})();var D=o(89417),A=o(47987),V=o(81391),Z=o(24910);let re=(()=>
1{class me{constructor(q){this.viewportRuler=q,this.dropListEnterPredicate=(Ce,dt)=>{if(dt===this.placeholder)return!0;if(dt!==this.activeContainer)return!1;const Ze=this.placeholder.element.nativeElement,Ht=Ce.dropContainer.element.nativeElement,at=dt.element.nativeElement,Vt=K(at.parentElement.children,this.source?Ze:Ht),_e=K(at.parentElement.children,at);return this.source||(this.sourceIndex=Vt,this.source=Ce.dropContainer,Ze.style.width=Ht.clientWidth+"px",Ze.style.height=Ht.clientHeight+"px",Ht.parentElement.removeChild(Ht)),this.targetIndex=_e,this.target=dt,Ze.style.display="",at.parentElement.insertBefore(Ze,_e>Vt?at.nextSibling:at),this.placeholder._dropListRef.enter(Ce._dragRef,Ce.element.nativeElement.offsetLeft,Ce.element.nativeElement.offsetTop),!1},this.target=null,this.source=null}ngAfterViewInit(){const q=this.placeholder.element.nativeElement;q.style.display="none",q.parentElement.removeChild(q)}setSortedItems(q){this.items=q}getSortedItems(){return this.items}setDropList(q,Ce){this.placeholder=Ce,this.listGroup=q;const dt=this.placeholder.element.nativeElement;dt.style.display="none",dt.parentElement.removeChild(dt)}dragMoved(q){const Ce=this.getPointerPositionOnPage(q.event);this.listGroup._items.forEach(dt=>{(function Oe(me,se,q){const{top:Ce,bottom:dt,left:Ze,right:Ht}=me.element.nativeElement.getBoundingClientRect();return q>=Ce&&q<=dt&&se>=Ze&&se<=Ht})(dt,Ce.x,Ce.y)&&(this.activeContainer=dt)})}dropListDropped(){if(!this.target)return;const q=this.placeholder.element.nativeElement,Ce=q.parentElement;return q.style.display="none",Ce.removeChild(q),Ce.appendChild(q),Ce.insertBefore(this.source.element.nativeElement,Ce.children[this.sourceIndex]),this.target=null,this.source=null,this.sourceIndex!==this.targetIndex&&(0,V.HD)(this.items,this.sourceIndex,this.targetIndex),this.items}getPointerPositionOnPage(q){const Ce=function Me(me){return me.type.startsWith("touch")}(q)?q.touches[0]||q.changedTouches[0]:q,dt=this.viewportRuler.getViewportScrollPosition();return{x:Ce.pageX-dt.left,y:Ce.pageY-dt.top}}static#e=this.\u0275fac=function(Ce){return new(Ce||me)(c.KVO(Z.Xj))};static#t=this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();function K(me,se){return Array.prototype.indexOf.call(me,se)}var ie=o(79928),ge=o(73586),ye=o(95006),rt=o(77763),Ft=o(63040);let Bt=(()=>{class me{constructor(q,Ce,dt){this.document=q,this.platformId=Ce,this.router=dt,this._savedPosition=new ie.t(0),this.savedPositionUrl="",this.currentPosition=0,(0,s.UE)(this.platformId)?(this.scroll$=(0,ge.R)(window,"scroll").pipe((0,ye.T)(()=>window.scrollY||this.document.documentElement.scrollTop),(0,rt.u)()),this.scroll$.subscribe(Ze=>{this.currentPosition=Ze})):this.scroll$=null,dt.events.subscribe(Ze=>{if(Ze instanceof Ft.Z&&this.savedPositionUrl!==this.router.url){const Ht=this.router.url.split("/"),at=Ht[2]?Ht[2]:null;(!at||"k"===at)&&(this.savedPositionUrl=this.router.url)}})}scrollToSavedPosition(){0!==this._savedPosition.getValue()&&this.savedPositionUrl===this.router.url&&window.scrollTo({top:this._savedPosition.getValue(),behavior:"smooth"})}saveScrollPosition(){this.savedPositionUrl=this.router.url,this._savedPosition.next(this.currentPosition)}get savedPosition$(){return this._savedPosition.asObservable()}setSavedPosition(q){this._savedPosition.next(q)}static#e=this.\u0275fac=function(Ce){return new(Ce||me)(c.KVO(s.qQ),c.KVO(c.Agw),c.KVO(Ft.Ix))};static#t=this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}return me})(),Ve=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({providers:[re,Bt],imports:[s.MD]})}return me})(),mt=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,A.z_,Ve]})}return me})();var Pe=o(86600),Je=o(76057),ke=o(99631),He=o(73955);let ot=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,D.X1,mt,x,C,ke.fS,Je.X6,Pe.WX,He.h]})}return me})();
1var Ct=o(64406),Ot=o(18844);let kt=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,Ct.wl,A.z_,x,C,Ot.G]})}return me})(),Qe=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,A.z_]})}return me})();class yt{constructor(se,q,Ce,dt,Ze,Ht){"string"==typeof se?(this.width=se,this.height=q,this.data=Ce,this.bgDismiss=dt??!0,this.closeAllModals=Ze??!1,this.fullscreen=Ht??!1):Object.assign(this,se)}}class ce extends yt{}const Ne=new c.nKC("McRAIModalData"),it=new yt({width:"640px",height:"640px"});let Rt=(()=>{class me{constructor(q,Ce){this.overlay=q,this.injector=Ce,this.overlayRefs=[],this.isFullscreen=!1}getConfig(q){const Ce=new A.rR;return Ce.positionStrategy=this.overlay.position().global().centerHorizontally().centerVertically(),Ce.width=q.width,Ce.height=q.height,Ce.hasBackdrop=!0,Ce}getInjector(q){return c.zZn.create({parent:this.injector,providers:[{provide:Ne,useValue:q}]})}getComponentPortal(q,Ce){return new I.A8(q,void 0,this.getInjector(Ce))}open(q,Ce=it){const dt=this.getConfig(Ce),Ze=this.getComponentPortal(q,Ce.data);this.overlayRef=this.overlay.create(dt),Ce.bgDismiss&&this.overlayRef.backdropClick().subscribe(()=>this.close()),Ce.closeAllModals&&this.overlayRef.backdropClick().subscribe(()=>this.closeAll()),this.modalSize={width:Ce.width,height:Ce.height};const Ht=this.overlayRef.attach(Ze);return this.overlayRefs.push({ref:this.overlayRef,component:Ht.componentType}),Ht.instance}close(){const q=this.overlayRefs.pop();q?.ref&&q.ref.dispose()}closeAll(){this.overlayRefs.forEach(q=>{q.ref.dispose()}),this.overlayRefs=[]}resize(q,Ce){this.overlayRef.updateSize({width:q,height:Ce})}toggleFullscreen(){this.isFullscreen?this.resize(this.modalSize.width,this.modalSize.height):this.resize("calc(100% - 20px)","calc(100% - 20px)"),this.isFullscreen=!this.isFullscreen}hasComponentOpened(q){return this.overlayRefs.some(Ce=>Ce.component===q)}static#e=this.\u0275fac=function(Ce){return new(Ce||me)(c.KVO(A.hJ),c.KVO(c.zZn))};static#t=this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}return me})(),Yt=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({providers:[Rt],imports:[s.MD,A.z_,I.jc,x,C]})}return me})(),En=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,x,C,Ct.wl]})}return me})(),In=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD]})}return me})(),Gt=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD]})}return me})(),Un=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,ot,A.z_,In,En]})}return me})(),Zt=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD]})}return me})();var $n=o(97768);let Wn=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,$n.uY,x]})}return me})();var Bn=o(45887);let pn=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,Bn.N0]})}return me})(),Sn=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,$n.uY,In,x,C]})}return me})(),Pn=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,A.z_,I.jc]})}return me})();var ui=o(64109);let xn=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,ui.Dc]})}return me})(),sn=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD]})}return me})(),pt=(()=>{class me{static#e=this.\u0275fac=function(Ce){return new(Ce||me)};static#t=this.\u0275mod=c.$C({type:me});static#n=this.\u0275inj=c.G2t({imports:[s.MD,C,x]})}return me})();var lt=o(45024);class ze extends lt.qS{set data(se){this._data.next(se)}get data(){return this._data.value}constructor(se,q=null,Ce=[]){super(),this._treeControl=se,this._toggleNode=q,this._initialData=Ce,this._data=new ie.t(Ce),this._data.subscribe(dt=>this._treeControl.dataNodes=dt)}_handleToggles(se){this._toggleNode&&(se.added.length>0&&se.added.forEach(q=>{this._toggleNode(this._data,q,!0)}),se.removed.length>0&&se.removed.forEach(q=>{this._toggleNode(this._data,q,!1)})),this._treeControl.dataNodes=this.data}connect(se){return this._treeControl.expansionModel.changed.subscribe(q=>this._handleToggles(q)),this._data}disconnect(){}}class ae{constructor(se,q="root",Ce=0,dt=!1,Ze=!1,Ht=!1){this.item=se,this.parent=q,this.level=Ce,this.isSelected=dt,this.isDisabled=Ze,this.isHidden=Ht}}var Re=function(me){return me[me.Success=0]="Success",me[me.Error=1]="Error",me[me.Info=2]="Info",me}(Re||{}),We=o(76651),ct=o(49969),ft=o(2800),Tt=o(345);let un=(()=>{class me{constructor(q,Ce){this.elementRef=q,this.sanitizer=Ce}ngOnChanges(q){"safeHtml"in q&&(this.elementRef.nativeElement.innerHTML=this.sanitizer.sanitize(c.WPN.NONE,this.safeHtml))}static#e=this.\u0275fac=function(Ce){return new(Ce||me)(c.rXU(c.aKT),c.rXU(Tt.up))};static#t=this.\u0275dir=c.FsC({type:me,selectors:[["","safeHtml",""]],inputs:{safeHtml:"safeHtml"},features:[c.OA$]})}return me})(),Dn=(()=>{class me{set type(q){this.renderer.addClass(this.elRef.nativeElement,`${this.TOAST_CLASS}--${q}`)}constructor(q,Ce,dt){this.renderer=q,this.elRef=Ce,this.sanitizer=dt,this.TOAST_CLASS="mcrai-toast",this.animation={value:"void"}}ngOnInit(){this.renderer.addClass(this.elRef.nativeElement,this.TOAST_CLASS)}open(){this.animation={value:"visible",params:{offsetY:this.offset}}}close(){this.animation={value:"hidden",params:{offsetY:this.offset}}}eatMyself(){this.toasterService.eatToast(this,this.overlayRef)}crossClose(q){q.preventDefault(),q.stopPropagation(),this.eatMyself()}static#e=this.\u0275fac=function(Ce){return new(Ce||me)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(c.Ifp))};static#t=this.\u0275cmp=c.VBU({type:me,selectors:[["mcrai-toast"]],hostVars:1,hostBindings:function(Ce,dt){2&Ce&&c.zvX("@slide",dt.animation)},decls:3,vars:1,consts:[[1,"mcrai-toast__text"],["href","#",1,"mcrai-toast__close",3,"click"],[3,"safeHtml"]],template:function(Ce,dt){1&Ce&&(c.j41(0,"span",0)(1,"a",1),c.bIt("click",function(Ht){return dt.crossClose(Ht)}),c.k0s(),c.nrm(2,"span",2),c.k0s()),2&Ce&&(c.R7$(2),c.Y8G("safeHtml",dt.text))},dependencies:[un],styles:['.mcrai-toast{display:flex;align-items:center;justify-content:center;min-height:60px;margin:0 10px;padding:4px 26px 4px 20px}.mcrai-toast__text{font-size:15px}.mcrai-toast__close{position:absolute;right:6px;top:6px;width:16px;height:16px;opacity:.6}.mcrai-toast__close:hover{opacity:1}.mcrai-toast__close:before,.mcrai-toast__close:after{position:absolute;
1left:7px;content:" ";height:17px;width:1px;background-color:#333}.mcrai-toast__close:before{transform:rotate(45deg)}.mcrai-toast__close:after{transform:rotate(-45deg)}\n'],encapsulation:2,data:{animation:[(0,ct.hZ)("slide",[(0,ct.wk)("void",(0,ct.iF)({opacity:0,transform:"translateY({{ offsetY }})"}),{params:{offsetY:"60px"}}),(0,ct.wk)("visible",(0,ct.iF)({opacity:1,transform:"translateY(0)"})),(0,ct.wk)("hidden",(0,ct.iF)({opacity:0,transform:"translateY({{ offsetY }})"}),{params:{offsetY:"60px"}}),(0,ct.kY)("* => visible",(0,ct.i0)(`${ft.e.ENTERING} ${ft.r.ACCELERATION_CURVE}`)),(0,ct.kY)("* => hidden",(0,ct.i0)(`${ft.e.LEAVING} ${ft.r.DECELERATION_CURVE}`))])]},changeDetection:0})}return me})(),rn=(()=>{class me{constructor(q){this.overlay=q,this.DEFAULT_DURATION=3e3,this.INFINITE_DURATION=-1,this.TOAST_HEIGHT=65,this.TOAST_MAX_WIDTH=600,this.haversack={},this.bottomOffset=""}getFreeIndex(){let q=0;for(;this.haversack[q];)q++;return q}deleteToast(q){for(const Ce of Object.keys(this.haversack))this.haversack[Ce]===q&&delete this.haversack[Ce]}getConfig(){const q=new A.rR;return this.bottomOffset=this.getFreeIndex()*this.TOAST_HEIGHT+5+"px",q.positionStrategy=this.overlay.position().global().centerHorizontally().bottom(this.bottomOffset),q.width=`${this.TOAST_MAX_WIDTH}px`,q}getPortal(){return new I.A8(Dn)}getToast(q){return q.instance}eatToast(q,Ce){q.close(),this.deleteToast(q),(0,We.O)(parseInt(ft.e.COMPLEX,10)).subscribe(()=>Ce.dispose())}eatThemAll(){Object.keys(this.haversack).map(q=>this.haversack[q].eatMyself()),this.haversack={}}enumToString(q,Ce){return q[Ce].toLowerCase()}makeToast(q,Ce,dt){dt||(dt=this.DEFAULT_DURATION);const Ze=this.getConfig(),Ht=this.getPortal(),at=this.overlay.create(Ze),Vt=at.attach(Ht),_e=this.getToast(Vt);_e.toasterService=this,_e.overlayRef=at,_e.text=q,_e.type=this.enumToString(Re,Ce),_e.offset=this.bottomOffset,_e.open(),this.haversack[this.getFreeIndex()]=_e,dt>0&&(0,We.O)(dt).subscribe(()=>this.eatToast(_e,at))}static#e=this.\u0275fac=function(Ce){return new(Ce||me)(c.KVO(A.hJ))};static#t=this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();o(4737),o(49451),o(86263),o(63929)},86263:(ht,ue,o)=>{"use strict";o.d(ue,{N:()=>g});var s=o(54438),c=o(49451),x=o(64204);const I=["mcrai-sort-header",""],l=["*"];function u(C,D){if(1&C&&s.nrm(0,"div",1),2&C){const A=s.XpG();s.AVh("mcrai-sort-header__arrow--desc",A.isDesc())("mcrai-sort-header__arrow--asc",A.isAsc())}}let g=(()=>{class C{constructor(A,V){this._mcraiTable=A,this._mcraiColumnDef=V}ngOnInit(){this._id=this._mcraiColumnDef.name}_onClick(){this._mcraiTable.sort(this._id)}isSorting(){return!!this._mcraiTable.activeSort}showArrow(){return this.isSorting()&&this._mcraiTable.activeSort.column===this._id}isAsc(){return this.isSorting()&&"asc"===this._mcraiTable.activeSort.direction}isDesc(){return this.isSorting()&&"desc"===this._mcraiTable.activeSort.direction}static#e=this.\u0275fac=function(V){return new(V||C)(s.rXU(c.O),s.rXU(x.n))};static#t=this.\u0275cmp=s.VBU({type:C,selectors:[["","mcrai-sort-header",""]],hostVars:2,hostBindings:function(V,Z){1&V&&s.bIt("click",function(){return Z._onClick()}),2&V&&s.AVh("mcrai-sort-header",!0)},attrs:I,ngContentSelectors:l,decls:2,vars:1,consts:[[1,"mcrai-sort-header__arrow",3,"mcrai-sort-header__arrow--desc","mcrai-sort-header__arrow--asc"],[1,"mcrai-sort-header__arrow"]],template:function(V,Z){1&V&&(s.NAR(),s.SdG(0),s.DNE(1,u,1,4,"div",0)),2&V&&(s.R7$(),s.vxM(1,Z.showArrow()?1:-1))},styles:[".mcrai-sort-header{cursor:pointer}.mcrai-sort-header__arrow{margin-left:15px}.mcrai-sort-header__arrow--desc{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid black}.mcrai-sort-header__arrow--asc{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid black}\n"],encapsulation:2,changeDetection:0})}return C})()},49451:(ht,ue,o)=>{"use strict";o.d(ue,{O:()=>A});var s=o(54438),c=o(45887),x=o(45024),I=o(4737);const l=[[["caption"]],[["colgroup"],["col"]],"*"],u=["caption","colgroup, col","*"];function g(V,Z){1&V&&s.SdG(0,2)}function C(V,Z){1&V&&(s.j41(0,"thead",0),s.eu8(1,1),s.k0s(),s.j41(2,"tbody",0),s.eu8(3,2)(4,3),s.k0s(),s.j41(5,"tfoot",0),s.eu8(6,4),s.k0s())}function D(V,Z){1&V&&s.eu8(0,1)(1,2)(2,3)(3,4)}let A=(()=>{class V extends c.Rk{constructor(){super(...arguments),this._sortEvent=ne
1w s.bkB}get activeSort(){return this._activeSort}set items(re){this.dataSource=new I.m(re)}set container(re){this.dataSource=new I.m(re.items)}sort(re){switch(!0){case!this._activeSort:default:this._activeSort={column:re,direction:"desc"};break;case this._activeSort.column===re:this._activeSort={column:re,direction:"desc"===this._activeSort.direction?"asc":"desc"}}this._sortEvent.emit(this._activeSort)}static#e=this.\u0275fac=(()=>{let re;return function(Me){return(re||(re=s.xGo(V)))(Me||V)}})();static#t=this.\u0275cmp=s.VBU({type:V,selectors:[["mcrai-table"]],hostVars:2,hostBindings:function(K,Me){2&K&&s.AVh("mcrai-table",!0)},inputs:{items:"items",container:"container"},outputs:{_sortEvent:"sort"},features:[s.Jv_([{provide:x.sL,useClass:x.xn},{provide:c.To,useClass:c.lQ},{provide:c.EZ,useExisting:V}]),s.Vt3],ngContentSelectors:u,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(K,Me){1&K&&(s.NAR(l),s.SdG(0),s.SdG(1,1),s.DNE(2,g,1,0)(3,C,7,0)(4,D,4,0)),2&K&&(s.R7$(2),s.vxM(2,Me._isServer?2:-1),s.R7$(),s.vxM(3,Me._isNativeHtmlTable?3:4))},dependencies:[c.yT,c.pe,c.lH,c.RT],styles:[".mcrai-table{display:block}.mcrai-table.smaller .mcrai-td,.mcrai-table.smaller .mcrai-th{padding:6px 12px;min-height:36px;font-size:14px}.mcrai-td,.mcrai-th{flex:1;overflow:hidden;word-break:break-word;overflow-wrap:break-word;display:flex;align-items:center;flex-flow:row wrap;min-width:0;padding:10px 15px}.mcrai-td[align-right],.mcrai-th[align-right],.mcrai-td[horizontal-right],.mcrai-th[horizontal-right]{justify-content:flex-end}.mcrai-td[align-center],.mcrai-th[align-center],.mcrai-td[horizontal-center],.mcrai-th[horizontal-center]{justify-content:center}.mcrai-td[flex-auto],.mcrai-th[flex-auto]{flex:0 0 auto}.mcrai-td[flex-2],.mcrai-th[flex-2]{flex:2}.mcrai-td[flex-3],.mcrai-th[flex-3]{flex:3}.mcrai-td[flex-4],.mcrai-th[flex-4]{flex:4}.mcrai-td[flex-5],.mcrai-th[flex-5]{flex:5}.mcrai-td[flex-6],.mcrai-th[flex-6]{flex:6}.mcrai-td[flex-7],.mcrai-th[flex-7]{flex:7}.mcrai-td[flex-8],.mcrai-th[flex-8]{flex:8}.mcrai-td[flex-9],.mcrai-th[flex-9]{flex:9}.mcrai-td[flex-10],.mcrai-th[flex-10]{flex:10}.mcrai-tr{margin:1px 0;padding:0 2px}.mcrai-td{min-height:52px}.mcrai-th{min-height:48px;font-weight:500}\n"],encapsulation:2,changeDetection:0})}return V})()},64204:(ht,ue,o)=>{"use strict";o.d(ue,{n:()=>x});var s=o(45887),c=o(54438);let x=(()=>{class I extends s.AL{set mcraiColumnDef(u){this._setNameInput(u)}static#e=this.\u0275fac=(()=>{let u;return function(C){return(u||(u=c.xGo(I)))(C||I)}})();static#t=this.\u0275dir=c.FsC({type:I,selectors:[["","mcraiColumnDef",""]],inputs:{mcraiColumnDef:"mcraiColumnDef"},features:[c.Jv_([{provide:s.AL,useExisting:I}]),c.Vt3]})}return I})()},4737:(ht,ue,o)=>{"use strict";o.d(ue,{m:()=>x});var s=o(45024),c=o(79928);class x extends s.qS{constructor(l=[]){super(),this._initialData=l,this._data=new c.t(l)}connect(){return this._data}disconnect(){}}},64511:(ht,ue,o)=>{var s;!function(c,x,I,l){"use strict";var Oe,u=["","webkit","Moz","MS","ms","o"],g=x.createElement("div"),C="function",D=Math.round,A=Math.abs,V=Date.now;function Z(le,L,fe){return setTimeout(rt(le,fe),L)}function re(le,L,fe){return!!Array.isArray(le)&&(K(le,fe[L],fe),!0)}function K(le,L,fe){var Te;if(le)if(le.forEach)le.forEach(L,fe);else if(le.length!==l)for(Te=0;Te<le.length;)L.call(fe,le[Te],Te,le),Te++;else for(Te in le)le.hasOwnProperty(Te)&&L.call(fe,le[Te],Te,le)}function Me(le,L,fe){var Te="DEPRECATED METHOD: "+L+"\n"+fe+" AT \n";return function(){var je=new Error("get-stack-trace"),gt=je&&je.stack?je.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",zt=c.console&&(c.console.warn||c.console.log);return zt&&zt.call(c.console,Te,gt),le.apply(this,arguments)}}Oe="function"!=typeof Object.assign?function(L){if(L===l||null===L)throw new TypeError("Cannot convert undefined or null to object");for(var fe=Object(L),Te=1;Te<arguments.length;Te++){var je=arguments[Te];if(je!==l&&null!==je)for(var gt in je)je.hasOwnProperty(gt)&&(fe[gt]=je[gt])}return fe}:Object.assign;var ie=Me(function(L,fe,Te){for(var je=Object.keys(fe),gt=0;gt<je.length;)(!Te||Te&&L[je[gt]]===l)&&(L[je[gt]]=fe[je[gt]]),gt++;return L},"extend","Use `assign`."),ge=Me(function(L,fe){return ie(L,fe,!0)},"merge","Use `assign`.");function ye(le,L,fe){var je,Te=L.prototype;(je=le.prototype=Object.create(Te)).constructor=le,je._super=Te,fe&&Oe(je,fe)}function rt(le,L){return function(){return le.apply(L,arguments)}}
1function Ft(le,L){return typeof le==C?le.apply(L&&L[0]||l,L):le}function Bt(le,L){return le===l?L:le}function Ve(le,L,fe){K(ke(L),function(Te){le.addEventListener(Te,fe,!1)})}function mt(le,L,fe){K(ke(L),function(Te){le.removeEventListener(Te,fe,!1)})}function Pe(le,L){for(;le;){if(le==L)return!0;le=le.parentNode}return!1}function Je(le,L){return le.indexOf(L)>-1}function ke(le){return le.trim().split(/\s+/g)}function He(le,L,fe){if(le.indexOf&&!fe)return le.indexOf(L);for(var Te=0;Te<le.length;){if(fe&&le[Te][fe]==L||!fe&&le[Te]===L)return Te;Te++}return-1}function ot(le){return Array.prototype.slice.call(le,0)}function Ct(le,L,fe){for(var Te=[],je=[],gt=0;gt<le.length;){var zt=L?le[gt][L]:le[gt];He(je,zt)<0&&Te.push(le[gt]),je[gt]=zt,gt++}return fe&&(Te=L?Te.sort(function(ti,Ae){return ti[L]>Ae[L]}):Te.sort()),Te}function Ot(le,L){for(var fe,Te,je=L[0].toUpperCase()+L.slice(1),gt=0;gt<u.length;){if((Te=(fe=u[gt])?fe+je:L)in le)return Te;gt++}return l}var kt=1;function yt(le){var L=le.ownerDocument||le;return L.defaultView||L.parentWindow||c}var Ne="ontouchstart"in c,it=Ot(c,"PointerEvent")!==l,Rt=Ne&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Yt="touch",In="mouse",Un=25,Zt=1,Wn=4,Bn=8,pn=1,Sn=2,Pn=4,ui=8,xn=16,sn=Sn|Pn,pt=ui|xn,lt=sn|pt,ze=["x","y"],ae=["clientX","clientY"];function Re(le,L){var fe=this;this.manager=le,this.callback=L,this.element=le.element,this.target=le.options.inputTarget,this.domHandler=function(Te){Ft(le.options.enable,[le])&&fe.handler(Te)},this.init()}function ct(le,L,fe){var Te=fe.pointers.length,je=fe.changedPointers.length,gt=L&Zt&&Te-je==0,zt=L&(Wn|Bn)&&Te-je==0;fe.isFirst=!!gt,fe.isFinal=!!zt,gt&&(le.session={}),fe.eventType=L,function ft(le,L){var fe=le.session,Te=L.pointers,je=Te.length;fe.firstInput||(fe.firstInput=Dn(L)),je>1&&!fe.firstMultiple?fe.firstMultiple=Dn(L):1===je&&(fe.firstMultiple=!1);var gt=fe.firstInput,zt=fe.firstMultiple,tn=zt?zt.center:gt.center,ti=L.center=rn(Te);L.timeStamp=V(),L.deltaTime=L.timeStamp-gt.timeStamp,L.angle=he(tn,ti),L.distance=_n(tn,ti),function Tt(le,L){var fe=L.center,Te=le.offsetDelta||{},je=le.prevDelta||{},gt=le.prevInput||{};(L.eventType===Zt||gt.eventType===Wn)&&(je=le.prevDelta={x:gt.deltaX||0,y:gt.deltaY||0},Te=le.offsetDelta={x:fe.x,y:fe.y}),L.deltaX=je.x+(fe.x-Te.x),L.deltaY=je.y+(fe.y-Te.y)}(fe,L),L.offsetDirection=Pt(L.deltaX,L.deltaY);var Ae=vn(L.deltaTime,L.deltaX,L.deltaY);L.overallVelocityX=Ae.x,L.overallVelocityY=Ae.y,L.overallVelocity=A(Ae.x)>A(Ae.y)?Ae.x:Ae.y,L.scale=zt?function se(le,L){return _n(L[0],L[1],ae)/_n(le[0],le[1],ae)}(zt.pointers,Te):1,L.rotation=zt?function me(le,L){return he(L[1],L[0],ae)+he(le[1],le[0],ae)}(zt.pointers,Te):0,L.maxPointers=fe.prevInput?L.pointers.length>fe.prevInput.maxPointers?L.pointers.length:fe.prevInput.maxPointers:L.pointers.length,function un(le,L){var je,gt,zt,tn,fe=le.lastInterval||L,Te=L.timeStamp-fe.timeStamp;if(L.eventType!=Bn&&(Te>Un||fe.velocity===l)){var ti=L.deltaX-fe.deltaX,Ae=L.deltaY-fe.deltaY,Ut=vn(Te,ti,Ae);gt=Ut.x,zt=Ut.y,je=A(Ut.x)>A(Ut.y)?Ut.x:Ut.y,tn=Pt(ti,Ae),le.lastInterval=L}else je=fe.velocity,gt=fe.velocityX,zt=fe.velocityY,tn=fe.direction;L.velocity=je,L.velocityX=gt,L.velocityY=zt,L.direction=tn}(fe,L);var Ut=le.element;Pe(L.srcEvent.target,Ut)&&(Ut=L.srcEvent.target),L.target=Ut}(le,fe),le.emit("hammer.input",fe),le.recognize(fe),le.session.prevInput=fe}function Dn(le){for(var L=[],fe=0;fe<le.pointers.length;)L[fe]={clientX:D(le.pointers[fe].clientX),clientY:D(le.pointers[fe].clientY)},fe++;return{timeStamp:V(),pointers:L,center:rn(L),deltaX:le.deltaX,deltaY:le.deltaY}}function rn(le){var L=le.length;if(1===L)return{x:D(le[0].clientX),y:D(le[0].clientY)};for(var fe=0,Te=0,je=0;je<L;)fe+=le[je].clientX,Te+=le[je].clientY,je++;return{x:D(fe/L),y:D(Te/L)}}function vn(le,L,fe){return{x:L/le||0,y:fe/le||0}}function Pt(le,L){return le===L?pn:A(le)>=A(L)?le<0?Sn:Pn:L<0?ui:xn}function _n(le,L,fe){fe||(fe=ze);var Te=L[fe[0]]-le[fe[0]],je=L[fe[1]]-le[fe[1]];return Math.sqrt(Te*Te+je*je)}function he(le,L,fe){return fe||(fe=ze),180*Math.atan2(L[fe[1]]-le[fe[1]],L[fe[0]]-le[fe[0]])/Math.PI}Re.prototype={handler:function(){},init:function(){this.evEl&&Ve(this.element,this.evEl,this.domHandler),this.evTarget&&Ve(this.target,this.evTarget,this.domHandler),this.evWin&&Ve(yt(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&mt(this.element,this.evEl,this.domHandler),this.evTarget&&mt(this.target,this.evTarget,this.domHandler),this.evWin&&mt(yt(this.element),this.evWin,this.domHandler)}};var q={mousedown:Zt,mousemove:2,mouseup:Wn},Ce="mousedown",dt="mousemove mouseup";function Ze(){this.evEl=Ce,this.evWin=dt,this.pressed=!1,Re.apply(this,arguments)}ye(Ze,Re,{handler:function(L){var fe=q[L.type];fe&Zt&&0===L.button&&(this.pressed=!0),2&fe&&1!==L.which&&(fe=Wn),this.pressed&&(fe&Wn&&(this.pressed=!1),this.callback(this.manager,fe,{pointers:[L],changedPointers:[L],pointerType:In,srcEvent:L}))}});var Ht={pointerdown:Zt,pointermove:2,pointerup:Wn,pointercancel:Bn,pointerout:Bn},at={2:Yt,3:"pen",4:In,5:"kinect"},Vt="pointerdown",_e="pointermove pointerup pointercancel";function Ke(){this.evEl=Vt,this.evWin=_e,Re.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}c.MSPointerEvent&&!c.PointerEvent&&(Vt="MSPointerDown",_e="MSPointerMove MSPointerUp MSPointerCancel"),ye(Ke,Re,{handler:function(L){var fe=this.store,Te=!1,je=L.type.toLowerCase().replace("ms",""),gt=Ht[je],zt=at[L.pointerType]||L.pointerType,t
1n=zt==Yt,ti=He(fe,L.pointerId,"pointerId");gt&Zt&&(0===L.button||tn)?ti<0&&(fe.push(L),ti=fe.length-1):gt&(Wn|Bn)&&(Te=!0),!(ti<0)&&(fe[ti]=L,this.callback(this.manager,gt,{pointers:fe,changedPointers:[L],pointerType:zt,srcEvent:L}),Te&&fe.splice(ti,1))}});var De={touchstart:Zt,touchmove:2,touchend:Wn,touchcancel:Bn};function Qt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Re.apply(this,arguments)}function nn(le,L){var fe=ot(le.touches),Te=ot(le.changedTouches);return L&(Wn|Bn)&&(fe=Ct(fe.concat(Te),"identifier",!0)),[fe,Te]}ye(Qt,Re,{handler:function(L){var fe=De[L.type];if(fe===Zt&&(this.started=!0),this.started){var Te=nn.call(this,L,fe);fe&(Wn|Bn)&&Te[0].length-Te[1].length==0&&(this.started=!1),this.callback(this.manager,fe,{pointers:Te[0],changedPointers:Te[1],pointerType:Yt,srcEvent:L})}}});var bt={touchstart:Zt,touchmove:2,touchend:Wn,touchcancel:Bn},xe="touchstart touchmove touchend touchcancel";function ee(){this.evTarget=xe,this.targetIds={},Re.apply(this,arguments)}function H(le,L){var fe=ot(le.touches),Te=this.targetIds;if(L&(2|Zt)&&1===fe.length)return Te[fe[0].identifier]=!0,[fe,fe];var je,gt,zt=ot(le.changedTouches),tn=[],ti=this.target;if(gt=fe.filter(function(Ae){return Pe(Ae.target,ti)}),L===Zt)for(je=0;je<gt.length;)Te[gt[je].identifier]=!0,je++;for(je=0;je<zt.length;)Te[zt[je].identifier]&&tn.push(zt[je]),L&(Wn|Bn)&&delete Te[zt[je].identifier],je++;return tn.length?[Ct(gt.concat(tn),"identifier",!0),tn]:void 0}ye(ee,Re,{handler:function(L){var fe=bt[L.type],Te=H.call(this,L,fe);Te&&this.callback(this.manager,fe,{pointers:Te[0],changedPointers:Te[1],pointerType:Yt,srcEvent:L})}});var k=2500;function U(){Re.apply(this,arguments);var le=rt(this.handler,this);this.touch=new ee(this.manager,le),this.mouse=new Ze(this.manager,le),this.primaryTouch=null,this.lastTouches=[]}function J(le,L){le&Zt?(this.primaryTouch=L.changedPointers[0].identifier,Q.call(this,L)):le&(Wn|Bn)&&Q.call(this,L)}function Q(le){var L=le.changedPointers[0];if(L.identifier===this.primaryTouch){var fe={x:L.clientX,y:L.clientY};this.lastTouches.push(fe);var Te=this.lastTouches;setTimeout(function(){var gt=Te.indexOf(fe);gt>-1&&Te.splice(gt,1)},k)}}function de(le){for(var L=le.srcEvent.clientX,fe=le.srcEvent.clientY,Te=0;Te<this.lastTouches.length;Te++){var je=this.lastTouches[Te],gt=Math.abs(L-je.x),zt=Math.abs(fe-je.y);if(gt<=25&&zt<=25)return!0}return!1}ye(U,Re,{handler:function(L,fe,Te){var gt=Te.pointerType==In;if(!(gt&&Te.sourceCapabilities&&Te.sourceCapabilities.firesTouchEvents)){if(Te.pointerType==Yt)J.call(this,fe,Te);else if(gt&&de.call(this,Te))return;this.callback(L,fe,Te)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Le=Ot(g.style,"touchAction"),Et=Le!==l,jt="compute",kn="manipulation",hn="none",Oi="pan-x",mi="pan-y",fn=function Bi(){if(!Et)return!1;var le={},L=c.CSS&&c.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(fe){le[fe]=!L||c.CSS.supports("touch-action",fe)}),le}();function Ri(le,L){this.manager=le,this.set(L)}Ri.prototype={set:function(le){le==jt&&(le=this.compute()),Et&&this.manager.element.style&&fn[le]&&(this.manager.element.style[Le]=le),this.actions=le.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var le=[];return K(this.manager.recognizers,function(L){Ft(L.options.enable,[L])&&(le=le.concat(L.getTouchAction()))}),function An(le){if(Je(le,hn))return hn;var L=Je(le,Oi),fe=Je(le,mi);return L&&fe?hn:L||fe?L?Oi:mi:Je(le,kn)?kn:"auto"}(le.join(" "))},preventDefaults:function(le){var L=le.srcEvent,fe=le.offsetDirection;if(!this.manager.session.prevented){var Te=this.actions,je=Je(Te,hn)&&!fn[hn],gt=Je(Te,mi)&&!fn[mi],zt=Je(Te,Oi)&&!fn[Oi];if(je&&1===le.pointers.length&&le.distance<2&&le.deltaTime<250)return;return zt&&gt||!(je||gt&&fe&sn||zt&&fe&pt)?void 0:this.preventSrc(L)}L.preventDefault()},preventSrc:function(le){this.manager.session.prevented=!0,le.preventDefault()}};var Wi=1;function en(le){this.options=Oe({},this.defaults,le||{}),this.id=function Qe(){return kt++}(),this.manager=null,this.options.enable=Bt(this.options.enable,!0),this.state=Wi,this.simultaneous={},this.requireFail=[]}function jn(le){return 16&le?"cancel":8&le?"end":4&le?"move":2&le?"start":""}function wn(le){return le==xn?"down":le==ui?"up":le==Sn?"left":le==Pn?"right":""}function dn(le,L){var fe=L.manager;return fe?fe.get(le):le}function ei(){en.apply(this,arguments)}function Tn(){ei.apply(this,arguments),this.pX=null,this.pY=null}function Kn(){ei.apply(this,arguments)}function ri(){en.apply(this,arguments),this._timer=null,this._input=null}function Di(){ei.apply(this,arguments)}function Yn(){ei.apply(this,arguments)}function Zn(){en.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function hi(le,L){return(L=L||{}).recognizers=Bt(L.recognizers,hi.defaults.preset),new Pi(le,L)}function Pi(le,L){this.options=Oe({},hi.defaults,L||{}),this.options.inputTarget=this.options.inputTarget||le,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=le,this.input=function We(le){return new(le.options.inputClass||(it?Ke:Rt?ee:Ne?U:Ze))(le,ct)}(this),this.touchAction=new Ri(this,this.options.touchAction),Li(this,!0),K(this.options.recognizers,function(fe){var Te=this.add(new fe[0](fe[1]));fe[2]&&Te.recognizeWith(fe[2]),fe[3]&&Te.requireFailure(fe[3])},this)}function Li(le,L){var Te,fe=le.element;fe.style&&(K(le.options.cssProps,function(je,gt){Te=Ot(fe.style,gt),L?(le.oldCssProps[Te]=fe.style[Te],fe.style[Te]=je):fe.style[Te]=le.oldCssProps[Te]||""}),L||(le.oldCssProps={}))}en.prototype={defaults:{},set:function(le){return Oe(this.options,le),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(le){if(re(le,"recognizeWith",this))return this;var L=this.simultaneous;return L[(le=dn(le,this)).id]||(L[le.id]=le,le.recognizeWith(this)),this},dropRecognizeWith:function(le){return re(le,"dropRecognizeWith",this)||(le=dn(le,this),delete this.simultaneous[le.id]),this},requireFailure:function(le){if(re(le,"requireFailure",this))return this;var L=this.requireFail;return-1===He(L,le=dn(le,this))&&(L.push(le),le.requireFailure(this)),this},dropRequireFailure:function(le){if(re(le,"dropRequireFailure",this))return this;le=dn(le,this);var L=He(this.requireFail,le);return L>-1&&this.requireFail.splice(L,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(le){return!!this.simultaneous[le.id]},emit:function(le){var L=this,fe=this.state;function Te(je){L.manager.emit(je,le)}fe<8&&Te(L.options.event+jn(fe)),Te(L.options.event),le.additionalEvent&&Te(le.additionalEvent),fe>=8&&Te(L.options.event+jn(fe))}
1,tryEmit:function(le){if(this.canEmit())return this.emit(le);this.state=32},canEmit:function(){for(var le=0;le<this.requireFail.length;){if(!(this.requireFail[le].state&(32|Wi)))return!1;le++}return!0},recognize:function(le){var L=Oe({},le);if(!Ft(this.options.enable,[this,L]))return this.reset(),void(this.state=32);56&this.state&&(this.state=Wi),this.state=this.process(L),30&this.state&&this.tryEmit(L)},process:function(le){},getTouchAction:function(){},reset:function(){}},ye(ei,en,{defaults:{pointers:1},attrTest:function(le){var L=this.options.pointers;return 0===L||le.pointers.length===L},process:function(le){var L=this.state,fe=le.eventType,Te=6&L,je=this.attrTest(le);return Te&&(fe&Bn||!je)?16|L:Te||je?fe&Wn?8|L:2&L?4|L:2:32}}),ye(Tn,ei,{defaults:{event:"pan",threshold:10,pointers:1,direction:lt},getTouchAction:function(){var le=this.options.direction,L=[];return le&sn&&L.push(mi),le&pt&&L.push(Oi),L},directionTest:function(le){var L=this.options,fe=!0,Te=le.distance,je=le.direction,gt=le.deltaX,zt=le.deltaY;return je&L.direction||(L.direction&sn?(je=0===gt?pn:gt<0?Sn:Pn,fe=gt!=this.pX,Te=Math.abs(le.deltaX)):(je=0===zt?pn:zt<0?ui:xn,fe=zt!=this.pY,Te=Math.abs(le.deltaY))),le.direction=je,fe&&Te>L.threshold&&je&L.direction},attrTest:function(le){return ei.prototype.attrTest.call(this,le)&&(2&this.state||!(2&this.state)&&this.directionTest(le))},emit:function(le){this.pX=le.deltaX,this.pY=le.deltaY;var L=wn(le.direction);L&&(le.additionalEvent=this.options.event+L),this._super.emit.call(this,le)}}),ye(Kn,ei,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[hn]},attrTest:function(le){return this._super.attrTest.call(this,le)&&(Math.abs(le.scale-1)>this.options.threshold||2&this.state)},emit:function(le){1!==le.scale&&(le.additionalEvent=this.options.event+(le.scale<1?"in":"out")),this._super.emit.call(this,le)}}),ye(ri,en,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(le){var L=this.options,fe=le.pointers.length===L.pointers,Te=le.distance<L.threshold,je=le.deltaTime>L.time;if(this._input=le,!Te||!fe||le.eventType&(Wn|Bn)&&!je)this.reset();else if(le.eventType&Zt)this.reset(),this._timer=Z(function(){this.state=8,this.tryEmit()},L.time,this);else if(le.eventType&Wn)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(le){8===this.state&&(le&&le.eventType&Wn?this.manager.emit(this.options.event+"up",le):(this._input.timeStamp=V(),this.manager.emit(this.options.event,this._input)))}}),ye(Di,ei,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[hn]},attrTest:function(le){return this._super.attrTest.call(this,le)&&(Math.abs(le.rotation)>this.options.threshold||2&this.state)}}),ye(Yn,ei,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:sn|pt,pointers:1},getTouchAction:function(){return Tn.prototype.getTouchAction.call(this)},attrTest:function(le){var fe,L=this.options.direction;return L&(sn|pt)?fe=le.overallVelocity:L&sn?fe=le.overallVelocityX:L&pt&&(fe=le.overallVelocityY),this._super.attrTest.call(this,le)&&L&le.offsetDirection&&le.distance>this.options.threshold&&le.maxPointers==this.options.pointers&&A(fe)>this.options.velocity&&le.eventType&Wn},emit:function(le){var L=wn(le.offsetDirection);L&&this.manager.emit(this.options.event+L,le),this.manager.emit(this.options.event,le)}}),ye(Zn,en,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[kn]},process:function(le){var L=this.options,fe=le.pointers.length===L.pointers,Te=le.distance<L.threshold,je=le.deltaTime<L.time;if(this.reset(),le.eventType&Zt&&0===this.count)return this.failTimeout();if(Te&&je&&fe){if(le.eventType!=Wn)return this.failTimeout();var gt=!this.pTime||le.timeStamp-this.pTime<L.interval,zt=!this.pCenter||_n(this.pCenter,le.center)<L.posThreshold;if(this.pTime=le.timeStamp,this.pCenter=le.center,zt&&gt?this.count+=1:this.count=1,this._input=le,0==this.count%L.taps)return this.hasRequireFailures()?(this._timer=Z(function(){this.state=8,this.tryEmit()},L.interval,this),2):8}return 32},failTimeout:function(){return this._timer=Z(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))}}),hi.VERSION="2.0.7",hi.defaults={domEvents:!1,touchAction:jt,enable:!0,inputTarget:null,inputClass:null,preset:[[Di,{enable:!1}],[Kn,{enable:!1},["rotate"]],[Yn,{direction:sn}],[Tn,{direction:sn},["swipe"]],[Zn],[Zn,{event:"doubletap",taps:2},["tap"]],[ri]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Pi.prototype={set:function(le){return Oe(this.options,le),le.touchAction&&this.touchAction.update(),le.inputTarget&&(this.input.destroy(),this.input.target=le.inputTarget,this.input.init()),this},stop:function(le){this.session.stopped=le?2:1},recognize:function(le){var L=this.session;if(!L.stopped){this.touchAction.preventDefaults(le);var fe,Te=this.recognizers,je=L.curRecognizer;(!je||je&&8&je.state)&&(je=L.curRecognizer=null);for(var gt=0;gt<Te.length;)fe=Te[gt],2===L.stopped||je&&fe!=je&&!fe.canRecognizeWith(je)?fe.reset():fe.recognize(le),!je&&14&fe.state&&(je=L.curRecognizer=fe),gt++}},get:function(le){if(le instanceof en)return le;for(var L=this.recognizers,fe=0;fe<L.length;fe++)if(L[fe].options.event==le)return L[fe];return null},add:function(le){if(re(le,"add",this))return this;var L=this.get(le.options.event);return L&&this.remove(L),this.recognizers.push(le),le.manager=this,this.touchAction.update(),le},remove:function(le){if(re(le,"remove",this))return this;if(le=this.get(le)){var L=this.recognizers,fe=He(L,le);-1!==fe&&(L.splice(fe,1),this.touchAction.update())}return this},on:function(le,L){if(le!==l&&L!==l){var fe=this.handlers;return K(ke(le),function(Te){fe[Te]=fe[Te]||[],fe[Te].push(L)}),this}},off:function(le,L){if(le!==l){var fe=this.handlers;return K(ke(le),function(Te){L?fe[Te]&&fe[Te].splice(He(fe[Te],L),1):delete fe[Te]}),this}},emit:function(le,L){this.options.domEvents&&function Yi(le,L){var fe=x.createEvent("Event");fe.initEvent(le,!0,!0),fe.gesture=L,L.target.dispatchEvent(fe)}(le,L);var fe=this.handlers[le]&&this.handlers[le].slice();if(fe&&fe.length){L.type=le,L.preventDefault=function(){L.srcEvent.preventDefault()};for(var Te=0;Te<fe.length;)fe[Te](L),Te++}},destroy:function(){this.element&&Li(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},Oe(hi,{INPUT_START:Zt,INPUT_MOVE:2,INPUT_END:Wn,INPUT_CANCEL:Bn,STATE_POSSIBLE:Wi,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:pn,DIRECTION_LEFT:Sn,DIRECTION_RIGHT:Pn,DIRECTION_UP:ui,DIRECTION_DOWN:xn,DIRECTION_HORIZONTAL:sn,DIRECTION_VERTICAL:pt,DIRECTION_ALL:lt,Manager:Pi,Input:Re,TouchAction:Ri,TouchInput:ee,MouseInput:Ze,PointerEventInput:Ke,TouchMouseInput:U,SingleTouchInput:Qt,Recognizer:en,AttrRecognizer:ei,Tap:Zn,Pan:Tn,Swipe:Yn,Pinch:Kn,Rotate:Di,Press:ri,on:Ve,off:mt,each:K,merge:ge,extend:ie,assign:Oe,inherit:ye,bindFn:rt,prefixed:Ot}),(typeof c<"u"?c:typeof self<"u"?self:{}).Hammer=hi,(s=function(){return hi}.call(ue,o,ue,ht))!==l&&(ht.exports=s)}(window,document)},99451:(ht,ue)=>{"use strict";var o=function(){function s(){}return s.prototype.check=function(c){return!(typeof document>"u")&&(c=encodeURIComponent(c),new RegExp("(?:^"+c+"|;\\s*"+c+")=(.*?)(?:;|$)","g").test(document.cookie))},s.prototype.get=function(c){if(this.check(c)){c=encodeURIComponent(c);var I=new RegExp("(?:^"+c+"|;\\s*"+c+")=(.*?)(?:;|$)","g").exec(document.cookie);return decodeURIComponent(I[1])}return""},s.prototype.getAll=function(){var c={};if(document.cookie&&""!=document.cookie)for(var I=0,l=document.cookie.split(";");I<l.length;I++){var g=l[I].split("=");g[0]=g[0].replace(/^ /,""),c[decodeURIComponent(g[0])]=decodeURIComponent(g[1])}return c}
1,s.prototype.set=function(c,x,I,l,u,g){var C=encodeURIComponent(c)+"="+encodeURIComponent(x)+";";I&&(C+="number"==typeof I?"expires="+new Date((new Date).getTime()+1e3*I*60*60*24).toUTCString()+";":"expires="+I.toUTCString()+";"),l&&(C+="path="+l+";"),u&&(C+="domain="+u+";"),g&&(C+="secure;"),document.cookie=C},s.prototype.delete=function(c,x,I){this.set(c,"",-1,x,I)},s.prototype.deleteAll=function(c,x){for(var I=this.getAll(),l=0,u=Object.keys(I);l<u.length;l++)this.delete(u[l],c,x)},s}();ue.CookieService=o,ue.Cookie=new o},62717:(ht,ue,o)=>{"use strict";function s(c){for(var x in c)ue.hasOwnProperty(x)||(ue[x]=c[x])}s(o(99451)),s(o(56875))},56875:(ht,ue)=>{"use strict";var o=function(){function s(){}return s.prototype.check=function(c){return!(typeof document>"u")&&new RegExp("(?:^"+c+"|;\\s*"+c+")=(.*?)(?:;|$)","g").test(document.cookie)},s.prototype.get=function(c){return this.check(c)?new RegExp("(?:^"+c+"|;\\s*"+c+")=(.*?)(?:;|$)","g").exec(document.cookie)[1]:""},s.prototype.getAll=function(){var c={};if(document.cookie&&""!=document.cookie)for(var I=0,l=document.cookie.split(";");I<l.length;I++){var g=l[I].split("=");g[0]=g[0].replace(/^ /,""),c[g[0]]=g[1]}return c}
1,s.prototype.set=function(c,x,I,l,u,g){var C=c+"="+x+";";I&&(C+="number"==typeof I?"expires="+new Date((new Date).getTime()+1e3*I*60*60*24).toUTCString()+";":"expires="+I.toUTCString()+";"),l&&(C+="path="+l+";"),u&&(C+="domain="+u+";"),g&&(C+="secure;"),document.cookie=C},s.prototype.delete=function(c,x,I){this.set(c,"",-1,x,I)},s.prototype.deleteAll=function(c,x){for(var I=this.getAll(),l=0,u=Object.keys(I);l<u.length;l++)this.delete(u[l],c,x)},s}();ue.UnmanagedCookieService=o,ue.UnmanagedCookie=new o},79928:(ht,ue,o)=>{"use strict";o.d(ue,{t:()=>x});var s=o(45286),c=o(2145);class x extends s.B7{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const u=super._subscribe(l);return u&&!u.closed&&l.next(this._value),u}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new c.P;return this._value}next(l){super.next(this._value=l)}}},42351:(ht,ue,o)=>{"use strict";o.d(ue,{E:()=>l});var s=o(51235),c=o(14421),x=o(74526);class l{constructor(g,C,D){this.kind=g,this.value=C,this.error=D,this.hasValue="N"===g}observe(g){switch(this.kind){case"N":return g.next&&g.next(this.value);case"E":return g.error&&g.error(this.error);case"C":return g.complete&&g.complete()}}do(g,C,D){switch(this.kind){case"N":return g&&g(this.value);case"E":return C&&C(this.error);case"C":return D&&D()}}accept(g,C,D){return g&&"function"==typeof g.next?this.observe(g):this.do(g,C,D)}toObservable(){switch(this.kind){case"N":return(0,c.of)(this.value);case"E":return(0,x.$)(this.error);case"C":return(0,s.I)()}throw new Error("unexpected notification kind value")}static createNext(g){return typeof g<"u"?new l("N",g):l.undefinedValueNotification}static createError(g){return new l("E",void 0,g)}static createComplete(){return l.completeNotification}}l.completeNotification=new l("C"),l.undefinedValueNotification=new l("N",void 0)},45817:(ht,ue,o)=>{"use strict";o.d(ue,{c:()=>D});var s=o(70762),x=o(40091),I=o(20178),u=o(45722),g=o(78167),C=o(80614);let D=(()=>{class V{constructor(re){this._isScalar=!1,re&&(this._subscribe=re)}lift(re){const K=new V;return K.source=this,K.operator=re,K}subscribe(re,K,Me){const{operator:Oe}=this,ie=function l(V,Z,re){if(V){if(V instanceof s.v)return V;if(V[x.D])return V[x.D]()}return V||Z||re?new s.v(V,Z,re):new s.v(I.I)}(re,K,Me);if(ie.add(Oe?Oe.call(ie,this.source):this.source||C.$.useDeprecatedSynchronousErrorHandling&&!ie.syncErrorThrowable?this._subscribe(ie):this._trySubscribe(ie)),C.$.useDeprecatedSynchronousErrorHandling&&ie.syncErrorThrowable&&(ie.syncErrorThrowable=!1,ie.syncErrorThrown))throw ie.syncErrorValue;return ie}_trySubscribe(re){try{return this._subscribe(re)}catch(K){C.$.useDeprecatedSynchronousErrorHandling&&(re.syncErrorThrown=!0,re.syncErrorValue=K),function c(V){for(;V;){const{closed:Z,destination:re,isStopped:K}=V;if(Z||K)return!1;V=re&&re instanceof s.v?re:null}return!0}(re)?re.error(K):console.warn(K)}}forEach(re,K){return new(K=A(K))((Me,Oe)=>{let ie;ie=this.subscribe(ge=>{try{re(ge)}catch(ye){Oe(ye),ie&&ie.unsubscribe()}},Oe,Me)})}_subscribe(re){const{source:K}=this;return K&&K.subscribe(re)}[u.s](){return this}pipe(...re){return 0===re.length?this:(0,g.m)(re)(this)}toPromise(re){return new(re=A(re))((K,Me)=>{let Oe;this.subscribe(ie=>Oe=ie,ie=>Me(ie),()=>K(Oe))})}}return V.create=Z=>new V(Z),V})();function A(V){if(V||(V=C.$.Promise||Promise),!V)throw new Error("no Promise impl found");return V}},20178:(ht,ue,o)=>{"use strict";o.d(ue,{I:()=>x});var s=o(80614),c=o(58253);const x={closed:!0,next(I){},error(I){if(s.$.useDeprecatedSynchronousErrorHandling)throw I;(0,c.T)(I)},complete(){}}},30611:(ht,ue,o)=>{"use strict";o.d(ue,{E:()=>c});var s=o(70762);class c extends s.v{notifyNext(I,l,u,g,C){this.destination.next(l)}notifyError(I,l){this.destination.error(I)}notifyComplete(I){this.destination.complete()}}},15575:(ht,ue,o)=>{"use strict";o.d(ue,{m:()=>g});var s=o(45286),c=o(53681),x=o(74337),I=o(70097),l=o(2145),u=o(21259);class g extends s.B7{constructor(A=Number.POSITIVE_INFINITY,V=Number.POSITIVE_INFINITY,Z){super(),this.scheduler=Z,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=A<1?1:A,this._windowTime=V<1?1:V,V===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(A){if(!this.isStopped){const V=this._events;V.push(A),V.length>this._bufferSize&&V.shift()}super.next(A)}nextTimeWindow(A){this.isStopped||(this._events.push(new C(this._getNow(),A)),this._trimBufferThenGetEvents()),super.next(A)}_subscribe(A){const V=this._infiniteTimeWindow,Z=V?this._events:this._trimBufferThenGetEvents(),re=this.scheduler,K=Z.length;let Me;if(this.closed)throw new l.P;if(this.isStopped||this.hasError?Me=x.y.EMPTY:(this.observers.push(A),Me=new u.Y(this,A)),re&&A.add(A=new I.YZ(A,re)),V)for(let Oe=0;Oe<K&&!A.closed;Oe++)A.next(Z[Oe]);else for(let Oe=0;Oe<K&&!A.closed;Oe++)A.next(Z[Oe].value);return this.hasError?A.error(this.thrownError):this.isStopped&&A.complete(),Me}_getNow(){return(this.scheduler||c.g).now()}_trimBufferThenGetEvents(){const A=this._getNow(),V=this._bufferSize,Z=this._windowTime,re=this._events,K=re.length;let Me=0;for(;Me<K&&!(A-re[Me].time<Z);)Me++;return K>V&&(Me=Math.max(Me,K-V)),Me>0&&re.splice(0,Me),re}}class C{constructor(A,V){this.time=A,this.value=V}}},45286:(ht,ue,o)=>{"use strict";o.d(ue,{B7:()=>C,PJ:()=>g});var s=o(45817),c=o(70762),x=o(74337),I=o(2145),l=o(21259),u=o(40091);class g extends c.v{constructor(V){super(V),this.destination=V}}let C=(()=>{class A extends s.c{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[u.D](){return new g(this)}lift(Z){const re=new D(this,this);return re.operator=Z,re}
1next(Z){if(this.closed)throw new I.P;if(!this.isStopped){const{observers:re}=this,K=re.length,Me=re.slice();for(let Oe=0;Oe<K;Oe++)Me[Oe].next(Z)}}error(Z){if(this.closed)throw new I.P;this.hasError=!0,this.thrownError=Z,this.isStopped=!0;const{observers:re}=this,K=re.length,Me=re.slice();for(let Oe=0;Oe<K;Oe++)Me[Oe].error(Z);this.observers.length=0}complete(){if(this.closed)throw new I.P;this.isStopped=!0;const{observers:Z}=this,re=Z.length,K=Z.slice();for(let Me=0;Me<re;Me++)K[Me].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(Z){if(this.closed)throw new I.P;return super._trySubscribe(Z)}_subscribe(Z){if(this.closed)throw new I.P;return this.hasError?(Z.error(this.thrownError),x.y.EMPTY):this.isStopped?(Z.complete(),x.y.EMPTY):(this.observers.push(Z),new l.Y(this,Z))}asObservable(){const Z=new s.c;return Z.source=this,Z}}return A.create=(V,Z)=>new D(V,Z),A})();class D extends C{constructor(V,Z){super(),this.destination=V,this.source=Z}next(V){const{destination:Z}=this;Z&&Z.next&&Z.next(V)}error(V){const{destination:Z}=this;Z&&Z.error&&this.destination.error(V)}complete(){const{destination:V}=this;V&&V.complete&&this.destination.complete()}_subscribe(V){const{source:Z}=this;return Z?this.source.subscribe(V):x.y.EMPTY}}},21259:(ht,ue,o)=>{"use strict";o.d(ue,{Y:()=>c});var s=o(74337);class c extends s.y{constructor(I,l){super(),this.subject=I,this.subscriber=l,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const I=this.subject,l=I.observers;if(this.subject=null,!l||0===l.length||I.isStopped||I.closed)return;const u=l.indexOf(this.subscriber);-1!==u&&l.splice(u,1)}}},70762:(ht,ue,o)=>{"use strict";o.d(ue,{v:()=>g});var s=o(98099),c=o(20178),x=o(74337),I=o(40091),l=o(80614),u=o(58253);class g extends x.y{constructor(A,V,Z){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=c.I;break;case 1:if(!A){this.destination=c.I;break}if("object"==typeof A){A instanceof g?(this.syncErrorThrowable=A.syncErrorThrowable,this.destination=A,A.add(this)):(this.syncErrorThrowable=!0,this.destination=new C(this,A));break}default:this.syncErrorThrowable=!0,this.destination=new C(this,A,V,Z)}}[I.D](){return this}static create(A,V,Z){const re=new g(A,V,Z);return re.syncErrorThrowable=!1,re}next(A){this.isStopped||this._next(A)}error(A){this.isStopped||(this.isStopped=!0,this._error(A))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(A){this.destination.next(A)}_error(A){this.destination.error(A),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:A}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=A,this}}class C extends g{constructor(A,V,Z,re){super(),this._parentSubscriber=A;let K,Me=this;(0,s.T)(V)?K=V:V&&(K=V.next,Z=V.error,re=V.complete,V!==c.I&&(Me=Object.create(V),(0,s.T)(Me.unsubscribe)&&this.add(Me.unsubscribe.bind(Me)),Me.unsubscribe=this.unsubscribe.bind(this))),this._context=Me,this._next=K,this._error=Z,this._complete=re}next(A){if(!this.isStopped&&this._next){const{_parentSubscriber:V}=this;l.$.useDeprecatedSynchronousErrorHandling&&V.syncErrorThrowable?this.__tryOrSetError(V,this._next,A)&&this.unsubscribe():this.__tryOrUnsub(this._next,A)}}error(A){if(!this.isStopped){const{_parentSubscriber:V}=this,{useDeprecatedSynchronousErrorHandling:Z}=l.$;if(this._error)Z&&V.syncErrorThrowable?(this.__tryOrSetError(V,this._error,A),this.unsubscribe()):(this.__tryOrUnsub(this._error,A),this.unsubscribe());else if(V.syncErrorThrowable)Z?(V.syncErrorValue=A,V.syncErrorThrown=!0):(0,u.T)(A),this.unsubscribe();else{if(this.unsubscribe(),Z)throw A;(0,u.T)(A)}}}complete(){if(!this.isStopped){const{_parentSubscriber:A}=this;if(this._complete){const V=()=>this._complete.call(this._context);l.$.useDeprecatedSynchronousErrorHandling&&A.syncErrorThrowable?(this.__tryOrSetError(A,V),this.unsubscribe()):(this.__tryOrUnsub(V),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(A,V){try{A.call(this._context,V)}catch(Z){if(this.unsubscribe(),l.$.useDeprecatedSynchronousErrorHandling)throw Z;(0,u.T)(Z)}}
1__tryOrSetError(A,V,Z){if(!l.$.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{V.call(this._context,Z)}catch(re){return l.$.useDeprecatedSynchronousErrorHandling?(A.syncErrorValue=re,A.syncErrorThrown=!0,!0):((0,u.T)(re),!0)}return!1}_unsubscribe(){const{_parentSubscriber:A}=this;this._context=null,this._parentSubscriber=null,A.unsubscribe()}}},74337:(ht,ue,o)=>{"use strict";o.d(ue,{y:()=>u});var s=o(27354),c=o(61456),x=o(98099);const l=(()=>{function C(D){return Error.call(this),this.message=D?`${D.length} errors occurred during unsubscription:\n${D.map((A,V)=>`${V+1}) ${A.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=D,this}return C.prototype=Object.create(Error.prototype),C})();class u{constructor(D){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,D&&(this._ctorUnsubscribe=!0,this._unsubscribe=D)}unsubscribe(){let D;if(this.closed)return;let{_parentOrParents:A,_ctorUnsubscribe:V,_unsubscribe:Z,_subscriptions:re}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,A instanceof u)A.remove(this);else if(null!==A)for(let K=0;K<A.length;++K)A[K].remove(this);if((0,x.T)(Z)){V&&(this._unsubscribe=void 0);try{Z.call(this)}catch(K){D=K instanceof l?g(K.errors):[K]}}if((0,s.c)(re)){let K=-1,Me=re.length;for(;++K<Me;){const Oe=re[K];if((0,c.G)(Oe))try{Oe.unsubscribe()}catch(ie){D=D||[],ie instanceof l?D=D.concat(g(ie.errors)):D.push(ie)}}}if(D)throw new l(D)}add(D){let A=D;if(!D)return u.EMPTY;switch(typeof D){case"function":A=new u(D);case"object":if(A===this||A.closed||"function"!=typeof A.unsubscribe)return A;if(this.closed)return A.unsubscribe(),A;if(!(A instanceof u)){const re=A;A=new u,A._subscriptions=[re]}break;default:throw new Error("unrecognized teardown "+D+" added to Subscription.")}let{_parentOrParents:V}=A;if(null===V)A._parentOrParents=this;else if(V instanceof u){if(V===this)return A;A._parentOrParents=[V,this]}else{if(-1!==V.indexOf(this))return A;V.push(this)}const Z=this._subscriptions;return null===Z?this._subscriptions=[A]:Z.push(A),A}remove(D){const A=this._subscriptions;if(A){const V=A.indexOf(D);-1!==V&&A.splice(V,1)}}}var C;function g(C){return C.reduce((D,A)=>D.concat(A instanceof l?A.errors:A),[])}u.EMPTY=((C=new u).closed=!0,C)},80614:(ht,ue,o)=>{"use strict";o.d(ue,{$:()=>c});let s=!1;const c={Promise:void 0,set useDeprecatedSynchronousErrorHandling(x){if(x){const I=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+I.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=x},get useDeprecatedSynchronousErrorHandling(){return s}}},13004:(ht,ue,o)=>{"use strict";o.d(ue,{gn:()=>u,tS:()=>C,zA:()=>I});var s=o(70762),c=o(45817),x=o(60135);class I extends s.v{constructor(A){super(),this.parent=A}_next(A){this.parent.notifyNext(A)}_error(A){this.parent.notifyError(A),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class u extends s.v{notifyNext(A){this.destination.next(A)}notifyError(A){this.destination.error(A)}notifyComplete(){this.destination.complete()}}function C(D,A){if(A.closed)return;if(D instanceof c.c)return D.subscribe(A);let V;try{V=(0,x.i)(D)(A)}catch(Z){A.error(Z)}return V}},14725:(ht,ue,o)=>{"use strict";o.d(ue,{G:()=>u,f:()=>g});var s=o(45286),c=o(45817),I=(o(70762),o(74337)),l=o(13110);class u extends c.c{constructor(Z,re){super(),this.source=Z,this.subjectFactory=re,this._refCount=0,this._isComplete=!1}_subscribe(Z){return this.getSubject().subscribe(Z)}getSubject(){const Z=this._subject;return(!Z||Z.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let Z=this._connection;return Z||(this._isComplete=!1,Z=this._connection=new I.y,Z.add(this.source.subscribe(new C(this.getSubject(),this))),Z.closed&&(this._connection=null,Z=I.y.EMPTY)),Z}refCount(){return(0,l.B)()(this)}}const g=(()=>{const V=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:V._subscribe},_isComplete:{value:V._isComplete,writable:!0},getSubject:{value:V.getSubject},connect:{value:V.connect},refCount:{value:V.refCount}}})();class C extends s.PJ{constructor(Z,re){super(Z),this.connectable=re}_error(Z){this._unsubscribe(),super._error(Z)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const Z=this.connectable;if(Z){this.connectable=null;const re=Z._connection;Z._refCount=0,Z._subject=null,Z._connection=null,re&&re.unsubscribe()}}}},49776:(ht,ue,o)=>{"use strict";o.d(ue,{zV:()=>g});var s=o(32234),c=o(27354),x=o(30611),I=o(33948),l=o(44279);const u={};function g(...A){let V,Z;return(0,s.m)(A[A.length-1])&&(Z=A.pop()),"function"==typeof A[A.length-1]&&(V=A.pop()),1===A.length&&(0,c.c)(A[0])&&(A=A[0]),(0,l.c)(A,Z).lift(new C(V))}class C{constructor(V){this.resultSelector=V}call(V,Z){return Z.subscribe(new D(V,this.resultSelector))}}class D extends x.E{constructor(V,Z){super(V),this.resultSelector=Z,this.active=0,this.values=[],this.observables=[]}_next(V){this.values.push(u),this.observables.push(V)}_complete(){const V=this.observables,Z=V.length;if(0===Z)this.destination.complete();else{this.active=Z,this.toRespond=Z;for(let re=0;re<Z;re++)this.add((0,I.F)(this,V[re],void 0,re))}}notifyComplete(V){0==(this.active-=1)&&this.destination.complete()}notifyNext(V,Z,re){const K=this.values,Oe=this.toRespond?K[re]===u?--this.toRespond:this.toRespond:0;K[re]=Z,0===Oe&&(this.resultSelector?this._tryResultSelector(K):this.destination.next(K.slice()))}_tryResultSelector(V){let Z;try{Z=this.resultSelector.apply(this,V)}catch(re){return void this.destination.error(re)}this.destination.next(Z)}}},41639:(ht,ue,o)=>{"use strict";o.d(ue,{x:()=>I});var s=o(14421),c=o(56201);function I(...l){return function x(){return(0,c.U)(1)}()((0,s.of)(...l))}},29418:(ht,ue,o)=>{"use strict";o.d(ue,{v:()=>I});var s=o(45817),c=o(84787),x=o(51235);function I(l){return new s.c(u=>{let g;
1try{g=l()}catch(D){return void u.error(D)}return(g?(0,c.H)(g):(0,x.I)()).subscribe(u)})}},51235:(ht,ue,o)=>{"use strict";o.d(ue,{I:()=>x,w:()=>c});var s=o(45817);const c=new s.c(l=>l.complete());function x(l){return l?function I(l){return new s.c(u=>l.schedule(()=>u.complete()))}(l):c}},90696:(ht,ue,o)=>{"use strict";o.d(ue,{p:()=>u});var s=o(45817),c=o(27354),x=o(95006),I=o(61456),l=o(84787);function u(...C){if(1===C.length){const D=C[0];if((0,c.c)(D))return g(D,null);if((0,I.G)(D)&&Object.getPrototypeOf(D)===Object.prototype){const A=Object.keys(D);return g(A.map(V=>D[V]),A)}}if("function"==typeof C[C.length-1]){const D=C.pop();return g(C=1===C.length&&(0,c.c)(C[0])?C[0]:C,null).pipe((0,x.T)(A=>D(...A)))}return g(C,null)}function g(C,D){return new s.c(A=>{const V=C.length;if(0===V)return void A.complete();const Z=new Array(V);let re=0,K=0;for(let Me=0;Me<V;Me++){const Oe=(0,l.H)(C[Me]);let ie=!1;A.add(Oe.subscribe({next:ge=>{ie||(ie=!0,K++),Z[Me]=ge},error:ge=>A.error(ge),complete:()=>{re++,(re===V||!ie)&&(K===V&&A.next(D?D.reduce((ge,ye,rt)=>(ge[ye]=Z[rt],ge),{}):Z),A.complete())}}))}})}},84787:(ht,ue,o)=>{"use strict";o.d(ue,{H:()=>Me});var s=o(45817),c=o(60135),x=o(74337),I=o(45722),g=o(32496),C=o(37765),V=o(15998),Z=o(25253);function Me(Oe,ie){return ie?function K(Oe,ie){if(null!=Oe){if(function A(Oe){return Oe&&"function"==typeof Oe[I.s]}(Oe))return function l(Oe,ie){return new s.c(ge=>{const ye=new x.y;return ye.add(ie.schedule(()=>{const rt=Oe[I.s]();ye.add(rt.subscribe({next(Ft){ye.add(ie.schedule(()=>ge.next(Ft)))},error(Ft){ye.add(ie.schedule(()=>ge.error(Ft)))},complete(){ye.add(ie.schedule(()=>ge.complete()))}}))})),ye})}(Oe,ie);if((0,V.y)(Oe))return function u(Oe,ie){return new s.c(ge=>{const ye=new x.y;return ye.add(ie.schedule(()=>Oe.then(rt=>{ye.add(ie.schedule(()=>{ge.next(rt),ye.add(ie.schedule(()=>ge.complete()))}))},rt=>{ye.add(ie.schedule(()=>ge.error(rt)))}))),ye})}(Oe,ie);if((0,Z.X)(Oe))return(0,g.V)(Oe,ie);if(function re(Oe){return Oe&&"function"==typeof Oe[C.lJ]}(Oe)||"string"==typeof Oe)return function D(Oe,ie){if(!Oe)throw new Error("Iterable cannot be null");return new s.c(ge=>{const ye=new x.y;let rt;return ye.add(()=>{rt&&"function"==typeof rt.return&&rt.return()}),ye.add(ie.schedule(()=>{rt=Oe[C.lJ](),ye.add(ie.schedule(function(){if(ge.closed)return;let Ft,Bt;try{const Ve=rt.next();Ft=Ve.value,Bt=Ve.done}catch(Ve){return void ge.error(Ve)}Bt?ge.complete():(ge.next(Ft),this.schedule())}))})),ye})}(Oe,ie)}throw new TypeError((null!==Oe&&typeof Oe||Oe)+" is not observable")}(Oe,ie):Oe instanceof s.c?Oe:new s.c((0,c.i)(Oe))}},44279:(ht,ue,o)=>{"use strict";o.d(ue,{c:()=>I});var s=o(45817),c=o(84385),x=o(32496);function I(l,u){return u?(0,x.V)(l,u):new s.c((0,c.v)(l))}},73586:(ht,ue,o)=>{"use strict";o.d(ue,{R:()=>u});var s=o(45817),c=o(27354),x=o(98099),I=o(95006);function u(V,Z,re,K){return(0,x.T)(re)&&(K=re,re=void 0),K?u(V,Z,re).pipe((0,I.T)(Me=>(0,c.c)(Me)?K(...Me):K(Me))):new s.c(Me=>{g(V,Z,function Oe(ie){Me.next(arguments.length>1?Array.prototype.slice.call(arguments):ie)},Me,re)})}function g(V,Z,re,K,Me){let Oe;if(function A(V){return V&&"function"==typeof V.addEventListener&&"function"==typeof V.removeEventListener}(V)){const ie=V;V.addEventListener(Z,re,Me),Oe=()=>ie.removeEventListener(Z,re,Me)}else if(function D(V){return V&&"function"==typeof V.on&&"function"==typeof V.off}(V)){const ie=V;V.on(Z,re),Oe=()=>ie.off(Z,re)}else if(function C(V){return V&&"function"==typeof V.addListener&&"function"==typeof V.removeListener}(V)){const ie=V;V.addListener(Z,re),Oe=()=>ie.removeListener(Z,re)}else{if(!V||!V.length)throw new TypeError("Invalid event target");for(let ie=0,ge=V.length;ie<ge;ie++)g(V[ie],Z,re,K,Me)}K.add(Oe)}},39601:(ht,ue,o)=>{"use strict";o.d(ue,{Y:()=>I});var s=o(45817),c=o(41080),x=o(49132);function I(u=0,g=c.b){return(!(0,x.k)(u)||u<0)&&(u=0),(!g||"function"!=typeof g.schedule)&&(g=c.b),new s.c(C=>(C.add(g.schedule(l,u,{subscriber:C,counter:0,period:u})),C))}function l(u){const{subscriber:g,counter:C,period:D}=u;g.next(C),this.schedule({subscriber:g,counter:C+1,period:D},D)}},44670:(ht,ue,o)=>{"use strict";o.d(ue,{h:()=>l});var s=o(45817),c=o(32234),x=o(56201),I=o(44279);function l(...u){let g=Number.POSITIVE_INFINITY,C=null,D=u[u.length-1];return(0,c.m)(D)?(C=u.pop(),u.length>1&&"number"==typeof u[u.length-1]&&(g=u.pop())):"number"==typeof D&&(g=u.pop()),null===C&&
11===u.length&&u[0]instanceof s.c?u[0]:(0,x.U)(g)((0,I.c)(u,C))}},14421:(ht,ue,o)=>{"use strict";o.d(ue,{of:()=>I});var s=o(32234),c=o(44279),x=o(32496);function I(...l){let u=l[l.length-1];return(0,s.m)(u)?(l.pop(),(0,x.V)(l,u)):(0,c.c)(l)}},74526:(ht,ue,o)=>{"use strict";o.d(ue,{$:()=>c});var s=o(45817);function c(I,l){return new s.c(l?u=>l.schedule(x,0,{error:I,subscriber:u}):u=>u.error(I))}function x({error:I,subscriber:l}){l.error(I)}},76651:(ht,ue,o)=>{"use strict";o.d(ue,{O:()=>l});var s=o(45817),c=o(41080),x=o(49132),I=o(32234);function l(g=0,C,D){let A=-1;return(0,x.k)(C)?A=Number(C)<1?1:Number(C):(0,I.m)(C)&&(D=C),(0,I.m)(D)||(D=c.b),new s.c(V=>{const Z=(0,x.k)(g)?g:+g-D.now();return D.schedule(u,Z,{index:0,period:A,subscriber:V})})}function u(g){const{index:C,period:D,subscriber:A}=g;if(A.next(C),!A.closed){if(-1===D)return A.complete();g.index=C+1,this.schedule(g,D)}}},83921:(ht,ue,o)=>{"use strict";o.d(ue,{W:()=>c});var s=o(13004);function c(l){return function(g){const C=new x(l),D=g.lift(C);return C.caught=D}}class x{constructor(u){this.selector=u}call(u,g){return g.subscribe(new I(u,this.selector,this.caught))}}class I extends s.gn{constructor(u,g,C){super(u),this.selector=g,this.caught=C}error(u){if(!this.isStopped){let g;try{g=this.selector(u,this.caught)}catch(A){return void super.error(A)}this._unsubscribeAndRecycle();const C=new s.zA(this);this.add(C);const D=(0,s.tS)(g,C);D!==C&&this.add(D)}}}},43574:(ht,ue,o)=>{"use strict";o.d(ue,{H:()=>c});var s=o(18456);function c(x,I){return(0,s.ZZ)(x,I,1)}},63020:(ht,ue,o)=>{"use strict";o.d(ue,{B:()=>x});var s=o(70762),c=o(41080);function x(g,C=c.b){return D=>D.lift(new I(g,C))}class I{constructor(C,D){this.dueTime=C,this.scheduler=D}call(C,D){return D.subscribe(new l(C,this.dueTime,this.scheduler))}}class l extends s.v{constructor(C,D,A){super(C),this.dueTime=D,this.scheduler=A,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(C){this.clearDebounce(),this.lastValue=C,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:C}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(C)}}clearDebounce(){const C=this.debouncedSubscription;null!==C&&(this.remove(C),C.unsubscribe(),this.debouncedSubscription=null)}}function u(g){g.debouncedNext()}},97849:(ht,ue,o)=>{"use strict";o.d(ue,{U:()=>c});var s=o(70762);function c(l=null){return u=>u.lift(new x(l))}class x{constructor(u){this.defaultValue=u}call(u,g){return g.subscribe(new I(u,this.defaultValue))}}class I extends s.v{constructor(u,g){super(u),this.defaultValue=g,this.isEmpty=!0}_next(u){this.isEmpty=!1,this.destination.next(u)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},20522:(ht,ue,o)=>{"use strict";o.d(ue,{F:()=>c});var s=o(70762);function c(l,u){return g=>g.lift(new x(l,u))}class x{constructor(u,g){this.compare=u,this.keySelector=g}call(u,g){return g.subscribe(new I(u,this.compare,this.keySelector))}}class I extends s.v{constructor(u,g,C){super(u),this.keySelector=C,this.hasKey=!1,"function"==typeof g&&(this.compare=g)}compare(u,g){return u===g}_next(u){let g;try{const{keySelector:D}=this;g=D?D(u):u}catch(D){return this.destination.error(D)}let C=!1;if(this.hasKey)try{const{compare:D}=this;C=D(this.key,g)}catch(D){return this.destination.error(D)}else this.hasKey=!0;C||(this.key=g,this.destination.next(u))}}},58728:(ht,ue,o)=>{"use strict";o.d(ue,{p:()=>c});var s=o(70762);function c(l,u){return function(C){return C.lift(new x(l,u))}}class x{constructor(u,g){this.predicate=u,this.thisArg=g}call(u,g){return g.subscribe(new I(u,this.predicate,this.thisArg))}}class I extends s.v{constructor(u,g,C){super(u),this.predicate=g,this.thisArg=C,this.count=0}_next(u){let g;try{g=this.predicate.call(this.thisArg,u,this.count++)}catch(C){return void this.destination.error(C)}g&&this.destination.next(u)}}},77312:(ht,ue,o)=>{"use strict";o.d(ue,{j:()=>x});var s=o(70762),c=o(74337);function x(u){return g=>g.lift(new I(u))}class I{constructor(g){this.callback=g}call(g,C){return C.subscribe(new l(g,this.callback))}}class l extends s.v{constructor(g,C){super(g),this.add(new c.y(C))}}},84046:(ht,ue,o)=>{"use strict";o.d(ue,{$:()=>g});var s=o(29994),c=o(58728),x=o(19493),I=o(97849),l=o(63314),u=o(55241);function g(C,D){const A=arguments.length>=2;return V=>V.pipe(C?(0,c.p)((Z,re)=>C(Z,re,V)):u.D,(0,x.s)(1),A?(0,I.U)(D):(0,l.v)(()=>new s.G))}},95006:(ht,ue,o)=>{"use strict";o.d(ue,{T:()=>c});var s=o(70762);function c(l,u){return function(C){if("function"!=typeof l)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return C.lift(new x(l,u))}}class x{constructor(u,g){this.project=u,this.thisArg=g}call(u,g){return g.subscribe(new I(u,this.project,this.thisArg))}}class I extends s.v{constructor(u,g,C){super(u),this.project=g,this.count=0,this.thisArg=C||this}_next(u){let g;
1try{g=this.project.call(this.thisArg,u,this.count++)}catch(C){return void this.destination.error(C)}this.destination.next(g)}}},98979:(ht,ue,o)=>{"use strict";o.d(ue,{u:()=>c});var s=o(70762);function c(l){return u=>u.lift(new x(l))}class x{constructor(u){this.value=u}call(u,g){return g.subscribe(new I(u,this.value))}}class I extends s.v{constructor(u,g){super(u),this.value=g}_next(u){this.destination.next(this.value)}}},56201:(ht,ue,o)=>{"use strict";o.d(ue,{U:()=>x});var s=o(18456),c=o(55241);function x(I=Number.POSITIVE_INFINITY){return(0,s.ZZ)(c.D,I)}},18456:(ht,ue,o)=>{"use strict";o.d(ue,{ZZ:()=>I,qI:()=>g});var s=o(95006),c=o(84787),x=o(13004);function I(C,D,A=Number.POSITIVE_INFINITY){return"function"==typeof D?V=>V.pipe(I((Z,re)=>(0,c.H)(C(Z,re)).pipe((0,s.T)((K,Me)=>D(Z,K,re,Me))),A)):("number"==typeof D&&(A=D),V=>V.lift(new l(C,A)))}class l{constructor(D,A=Number.POSITIVE_INFINITY){this.project=D,this.concurrent=A}call(D,A){return A.subscribe(new u(D,this.project,this.concurrent))}}class u extends x.gn{constructor(D,A,V=Number.POSITIVE_INFINITY){super(D),this.project=A,this.concurrent=V,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(D){this.active<this.concurrent?this._tryNext(D):this.buffer.push(D)}_tryNext(D){let A;const V=this.index++;try{A=this.project(D,V)}catch(Z){return void this.destination.error(Z)}this.active++,this._innerSub(A)}_innerSub(D){const A=new x.zA(this),V=this.destination;V.add(A);const Z=(0,x.tS)(D,A);Z!==A&&V.add(Z)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(D){this.destination.next(D)}notifyComplete(){const D=this.buffer;this.active--,D.length>0?this._next(D.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const g=I},70097:(ht,ue,o)=>{"use strict";o.d(ue,{QE:()=>x,YZ:()=>l});var s=o(70762),c=o(42351);function x(g,C=0){return function(A){return A.lift(new I(g,C))}}class I{constructor(C,D=0){this.scheduler=C,this.delay=D}call(C,D){return D.subscribe(new l(C,this.scheduler,this.delay))}}class l extends s.v{constructor(C,D,A=0){super(C),this.scheduler=D,this.delay=A}static dispatch(C){const{notification:D,destination:A}=C;D.observe(A),this.unsubscribe()}scheduleMessage(C){this.destination.add(this.scheduler.schedule(l.dis
1patch,this.delay,new u(C,this.destination)))}_next(C){this.scheduleMessage(c.E.createNext(C))}_error(C){this.scheduleMessage(c.E.createError(C)),this.unsubscribe()}_complete(){this.scheduleMessage(c.E.createComplete()),this.unsubscribe()}}class u{constructor(C,D){this.notification=C,this.destination=D}}},13110:(ht,ue,o)=>{"use strict";o.d(ue,{B:()=>c});var s=o(70762);function c(){return function(u){return u.lift(new x(u))}}class x{constructor(u){this.connectable=u}call(u,g){const{connectable:C}=this;C._refCount++;const D=new I(u,C),A=g.subscribe(D);return D.closed||(D.connection=C.connect()),A}}class I extends s.v{constructor(u,g){super(u),this.connectable=g}_unsubscribe(){const{connectable:u}=this;if(!u)return void(this.connection=null);this.connectable=null;const g=u._refCount;if(g<=0)return void(this.connection=null);if(u._refCount=g-1,g>1)return void(this.connection=null);const{connection:C}=this,D=u._connection;this.connection=null,D&&(!C||D===C)&&D.unsubscribe()}}},85019:(ht,ue,o)=>{"use strict";o.d(ue,{S:()=>c});var s=o(70762);function c(l,u){let g=!1;return arguments.length>=2&&(g=!0),function(D){return D.lift(new x(l,u,g))}}class x{constructor(u,g,C=!1){this.accumulator=u,this.seed=g,this.hasSeed=C}call(u,g){return g.subscribe(new I(u,this.accumulator,this.seed,this.hasSeed))}}class I extends s.v{constructor(u,g,C,D){super(u),this.accumulator=g,this._seed=C,this.hasSeed=D,this.index=0}get seed(){return this._seed}set seed(u){this.hasSeed=!0,this._seed=u}_next(u){if(this.hasSeed)return this._tryNext(u);this.seed=u,this.destination.next(u)}_tryNext(u){const g=this.index++;let C;try{C=this.accumulator(this.seed,u,g)}catch(D){this.destination.error(D)}this.seed=C,this.destination.next(C)}}},77763:(ht,ue,o)=>{"use strict";o.d(ue,{u:()=>g});var s=o(14725);class x{constructor(D,A){this.subjectFactory=D,this.selector=A}call(D,A){const{selector:V}=this,Z=this.subjectFactory(),re=V(Z).subscribe(D);return re.add(A.subscribe(Z)),re}}var I=o(13110),l=o(45286);function u(){return new l.B7}function g(){return C=>(0,I.B)()(function c(C,D){return function(V){let Z;if(Z="function"==typeof C?C:function(){return C},"function"==typeof D)return V.lift(new x(Z,D));const re=Object.create(V,s.f);return re.source=V,re.subjectFactory=Z,re}}(u)(C))}},68712:(ht,ue,o)=>{"use strict";o.d(ue,{t:()=>c});var s=o(15575);function c(I,l,u){let g;return g=I&&"object"==typeof I?I:{bufferSize:I,windowTime:l,refCount:!1,scheduler:u},C=>C.lift(function x({bufferSize:I=Number.POSITIVE_INFINITY,windowTime:l=Number.POSITIVE_INFINITY,refCount:u,scheduler:g}){let C,A,D=0,V=!1,Z=!1;return function(K){let Me;D++,!C||V?(V=!1,C=new s.m(I,l,g),Me=C.subscribe(this),A=K.subscribe({next(Oe){C.next(Oe)},error(Oe){V=!0,C.error(Oe)},complete(){Z=!0,A=void 0,C.complete()}}),Z&&(A=void 0)):Me=C.subscribe(this),this.add(()=>{D--,Me.unsubscribe(),Me=void 0,A&&!Z&&u&&0===D&&(A.unsubscribe(),A=void 0,C=void 0)})}}(g))}},17753:(ht,ue,o)=>{"use strict";o.d(ue,{i:()=>c});var s=o(70762);function c(l){return u=>u.lift(new x(l))}class x{constructor(u){this.total=u}call(u,g){return g.subscribe(new I(u,this.total))}}class I extends s.v{constructor(u,g){super(u),this.total=g,this.count=0}_next(u){++this.count>this.total&&this.destination.next(u)}}},23176:(ht,ue,o)=>{"use strict";o.d(ue,{Z:()=>x});var s=o(41639),c=o(32234);function x(...I){const l=I[I.length-1];return(0,c.m)(l)?(I.pop(),u=>(0,s.x)(I,u,l)):u=>(0,s.x)(I,u)}},49090:(ht,ue,o)=>{"use strict";o.d(ue,{n:()=>I});var s=o(95006),c=o(84787),x=o(13004);function I(g,C){return"function"==typeof C?D=>D.pipe(I((A,V)=>(0,c.H)(g(A,V)).pipe((0,s.T)((Z,re)=>C(A,Z,V,re))))):D=>D.lift(new l(g))}class l{constructor(C){this.project=C}call(C,D){return D.subscribe(new u(C,this.project))}}class u extends x.gn{constructor(C,D){super(C),this.project=D,this.index=0}_next(C){let D;const A=this.index++;try{D=this.project(C,A)}catch(V){return void this.destination.error(V)}this._innerSub(D)}_innerSub(C){const D=this.innerSubscription;D&&D.unsubscribe();const A=new x.zA(this),V=this.destination;V.add(A),this.innerSubscription=(0,x.tS)(C,A),this.innerSubscription!==A&&V.add(this.innerSubscription)}_complete(){const{innerSubscription:C}
1=this;(!C||C.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(C){this.destination.next(C)}}},19493:(ht,ue,o)=>{"use strict";o.d(ue,{s:()=>I});var s=o(70762),c=o(70434),x=o(51235);function I(g){return C=>0===g?(0,x.I)():C.lift(new l(g))}class l{constructor(C){if(this.total=C,this.total<0)throw new c.k}call(C,D){return D.subscribe(new u(C,this.total))}}class u extends s.v{constructor(C,D){super(C),this.total=D,this.count=0}_next(C){const D=this.total,A=++this.count;A<=D&&(this.destination.next(C),A===D&&(this.destination.complete(),this.unsubscribe()))}}},7605:(ht,ue,o)=>{"use strict";o.d(ue,{Q:()=>c});var s=o(13004);function c(l){return u=>u.lift(new x(l))}class x{constructor(u){this.notifier=u}call(u,g){const C=new I(u),D=(0,s.tS)(this.notifier,new s.zA(C));return D&&!C.seenValue?(C.add(D),g.subscribe(C)):C}}class I extends s.gn{constructor(u){super(u),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},15539:(ht,ue,o)=>{"use strict";o.d(ue,{M:()=>I});var s=o(70762);function c(){}var x=o(98099);function I(g,C,D){return function(V){return V.lift(new l(g,C,D))}}class l{constructor(C,D,A){this.nextOrObserver=C,this.error=D,this.complete=A}call(C,D){return D.subscribe(new u(C,this.nextOrObserver,this.error,this.complete))}}class u extends s.v{constructor(C,D,A,V){super(C),this._tapNext=c,this._tapError=c,this._tapComplete=c,this._tapError=A||c,this._tapComplete=V||c,(0,x.T)(D)?(this._context=this,this._tapNext=D):D&&(this._context=D,this._tapNext=D.next||c,this._tapError=D.error||c,this._tapComplete=D.complete||c)}_next(C){try{this._tapNext.call(this._context,C)}catch(D){return void this.destination.error(D)}this.destination.next(C)}_error(C){try{this._tapError.call(this._context,C)}catch(D){return void this.destination.error(D)}this.destination.error(C)}_complete(){try{this._tapComplete.call(this._context)}catch(C){return void this.destination.error(C)}return this.destination.complete()}}},63314:(ht,ue,o)=>{"use strict";o.d(ue,{v:()=>x});var s=o(29994),c=o(70762);function x(g=u){return C=>C.lift(new I(g))}class I{constructor(C){this.errorFactory=C}call(C,D){return D.subscribe(new l(C,this.errorFactory))}}class l extends c.v{constructor(C,D){super(C),this.errorFactory=D,this.hasValue=!1}_next(C){this.hasValue=!0,this.destination.next(C)}_complete(){if(this.hasValue)return this.destination.complete();{let C;try{C=this.errorFactory()}catch(D){C=D}this.destination.error(C)}}}function u(){return new s.G}},57421:(ht,ue,o)=>{"use strict";o.d(ue,{E:()=>x});var s=o(30611),c=o(33948);function x(...u){return g=>{let C;return"function"==typeof u[u.length-1]&&(C=u.pop()),g.lift(new I(u,C))}}class I{constructor(g,C){this.observables=g,this.project=C}call(g,C){return C.subscribe(new l(g,this.observables,this.project))}}class l extends s.E{constructor(g,C,D){super(g),this.observables=C,this.project=D,this.toRespond=[];const A=C.length;this.values=new Array(A);for(let V=0;V<A;V++)this.toRespond.push(V);for(let V=0;V<A;V++)this.add((0,c.F)(this,C[V],void 0,V))}notifyNext(g,C,D){this.values[D]=C;const A=this.toRespond;if(A.length>0){const V=A.indexOf(D);-1!==V&&A.splice(V,1)}}notifyComplete(){}_next(g){if(0===this.toRespond.length){const C=[g,...this.values];this.project?this._tryProject(C):this.destination.next(C)}}_tryProject(g){let C;try{C=this.project.apply(this,g)}catch(D){return void this.destination.error(D)}this.destination.next(C)}}},32496:(ht,ue,o)=>{"use strict";o.d(ue,{V:()=>x});var s=o(45817),c=o(74337);function x(I,l){return new s.c(u=>{const g=new c.y;let C=0;return g.add(l.schedule(function(){C!==I.length?(u.next(I[C++]),u.closed||g.add(this.schedule())):u.complete()})),g})}},68189:(ht,ue,o)=>{"use strict";o.d(ue,{R:()=>x});var s=o(74337);class c extends s.y{constructor(l,u){super()}schedule(l,u=0){return this}}class x extends c{constructor(l,u){super(l,u),this.scheduler=l,this.work=u,this.pending=!1}schedule(l,u=0){if(this.closed)return this;this.state=l;const g=this.id,C=this.scheduler;return null!=g&&(this.id=this.recycleAsyncId(C,g,u)),this.pending=!0,this.delay=u,this.id=this.id||this.requestAsyncId(C,this.id,u),this}requestAsyncId(l,u,g=0){return setInterval(l.flush.bind(l,this),g)}recycleAsyncId(l,u,g=0){if(null!==g&&this.delay===g&&!1===this.pending)return u;clearInterval(u)}execute(l,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const g=this._execute(l,u);if(g)return g;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(l,u){let C,g=!1;try{this.work(l)}catch(D){g=!0,C=!!D&&D||new Error(D)}if(g)return this.unsubscribe(),C}_unsubscribe(){const l=this.id,u=this.scheduler,g=u.actions,C=g.indexOf(this);
1this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==C&&g.splice(C,1),null!=l&&(this.id=this.recycleAsyncId(u,l,null)),this.delay=null}}},76228:(ht,ue,o)=>{"use strict";o.d(ue,{q:()=>c});let s=(()=>{class x{constructor(l,u=x.now){this.SchedulerAction=l,this.now=u}schedule(l,u=0,g){return new this.SchedulerAction(this,l).schedule(g,u)}}return x.now=()=>Date.now(),x})();class c extends s{constructor(I,l=s.now){super(I,()=>c.delegate&&c.delegate!==this?c.delegate.now():l()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(I,l=0,u){return c.delegate&&c.delegate!==this?c.delegate.schedule(I,l,u):super.schedule(I,l,u)}flush(I){const{actions:l}=this;if(this.active)return void l.push(I);let u;this.active=!0;do{if(u=I.execute(I.state,I.delay))break}while(I=l.shift());if(this.active=!1,u){for(;I=l.shift();)I.unsubscribe();throw u}}}},75128:(ht,ue,o)=>{"use strict";o.d(ue,{X:()=>l});var s=o(68189),x=o(76228);const l=new class I extends x.q{flush(C){this.active=!0,this.scheduled=void 0;const{actions:D}=this;let A,V=-1,Z=D.length;C=C||D.shift();do{if(A=C.execute(C.state,C.delay))break}while(++V<Z&&(C=D.shift()));if(this.active=!1,A){for(;++V<Z&&(C=D.shift());)C.unsubscribe();throw A}}}(class c extends s.R{constructor(C,D){super(C,D),this.scheduler=C,this.work=D}requestAsyncId(C,D,A=0){return null!==A&&A>0?super.requestAsyncId(C,D,A):(C.actions.push(this),C.scheduled||(C.scheduled=requestAnimationFrame(()=>C.flush(null))))}recycleAsyncId(C,D,A=0){if(null!==A&&A>0||null===A&&this.delay>0)return super.recycleAsyncId(C,D,A);0===C.actions.length&&(cancelAnimationFrame(D),C.scheduled=void 0)}})},41080:(ht,ue,o)=>{"use strict";o.d(ue,{b:()=>I});var s=o(68189);const I=new(o(76228).q)(s.R)},53681:(ht,ue,o)=>{"use strict";o.d(ue,{g:()=>u,T:()=>l});var s=o(68189),x=o(76228);const l=new class I extends x.q{}(class c extends s.R{constructor(C,D){super(C,D),this.scheduler=C,this.work=D}schedule(C,D=0){return D>0?super.schedule(C,D):(this.delay=D,this.state=C,this.scheduler.flush(this),this)}execute(C,D){return D>0||this.closed?super.execute(C,D):this._execute(C,D)}requestAsyncId(C,D,A=0){return null!==A&&A>0||null===A&&this.delay>0?super.requestAsyncId(C,D,A):C.flush(this)}}),u=l},37765:(ht,ue,o)=>{"use strict";o.d(ue,{lJ:()=>c});const c=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},45722:(ht,ue,o)=>{"use strict";o.d(ue,{s:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},40091:(ht,ue,o)=>{"use strict";o.d(ue,{D:()=>s});const s="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},70434:(ht,ue,o)=>{"use strict";o.d(ue,{k:()=>c});const c=(()=>{function x(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return x.prototype=Object.create(Error.prototype),x})()},29994:(ht,ue,o)=>{"use strict";o.d(ue,{G:()=>c});const c=(()=>{function x(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return x.prototype=Object.create(Error.prototype),x})()},2145:(ht,ue,o)=>{"use strict";o.d(ue,{P:()=>c});const c=(()=>{function x(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return x.prototype=Object.create(Error.prototype),x})()},58253:(ht,ue,o)=>{"use strict";function s(c){setTimeout(()=>{throw c},0)}o.d(ue,{T:()=>s})},55241:(ht,ue,o)=>{"use strict";function s(c){return c}o.d(ue,{D:()=>s})},27354:(ht,ue,o)=>{"use strict";o.d(ue,{c:()=>s});const s=Array.isArray||(c=>c&&"number"==typeof c.length)},25253:(ht,ue,o)=>{"use strict";o.d(ue,{X:()=>s});const s=c=>c&&"number"==typeof c.length&&"function"!=typeof c},42551:(ht,ue,o)=>{"use strict";function s(c){return c instanceof Date&&!isNaN(+c)}o.d(ue,{$:()=>s})},98099:(ht,ue,o)=>{"use strict";function s(c){return"function"==typeof c}o.d(ue,{T:()=>s})},49132:(ht,ue,o)=>{"use strict";o.d(ue,{k:()=>c});var s=o(27354);function c(x){return!(0,s.c)(x)&&x-parseFloat(x)+1>=0}},61456:(ht,ue,o)=>{"use strict";function s(c){return null!==c&&"object"==typeof c}o.d(ue,{G:()=>s})},8982:(ht,ue,o)=>{"use strict";o.d(ue,{A:()=>c});var s=o(45817);function c(x){return!!x&&(x instanceof s.c||"function"==typeof x.lift&&"function"==typeof x.subscribe)}},15998:(ht,ue,o)=>{"use strict";function s(c){return!!c&&"function"!=typeof c.subscribe&&"function"==typeof c.then}o.d(ue,{y:()=>s})},32234:(ht,ue,o)=>{"use strict";function s(c){return c&&"function"==typeof c.schedule}o.d(ue,{m:()=>s})},78167:(ht,ue,o)=>{"use strict";o.d(ue,{F:()=>c,m:()=>x});var s=o(55241);function c(...I){return x(I)}function x(I){return 0===I.length?s.D:1===I.length?I[0]:function(u){return I.reduce((g,C)=>C(g),u)}}},60135:(ht,ue,o)=>{"use strict";o.d(ue,{i:()=>V});
1var s=o(84385),c=o(58253),I=o(37765),u=o(45722),C=o(25253),D=o(15998),A=o(61456);const V=Z=>{if(Z&&"function"==typeof Z[u.s])return(Z=>re=>{const K=Z[u.s]();if("function"!=typeof K.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return K.subscribe(re)})(Z);if((0,C.X)(Z))return(0,s.v)(Z);if((0,D.y)(Z))return(Z=>re=>(Z.then(K=>{re.closed||(re.next(K),re.complete())},K=>re.error(K)).then(null,c.T),re))(Z);if(Z&&"function"==typeof Z[I.lJ])return(Z=>re=>{const K=Z[I.lJ]();for(;;){let Me;try{Me=K.next()}catch(Oe){return re.error(Oe),re}if(Me.done){re.complete();break}if(re.next(Me.value),re.closed)break}return"function"==typeof K.return&&re.add(()=>{K.return&&K.return()}),re})(Z);{const K=`You provided ${(0,A.G)(Z)?"an invalid object":`'${Z}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(K)}}},84385:(ht,ue,o)=>{"use strict";o.d(ue,{v:()=>s});const s=c=>x=>{for(let I=0,l=c.length;I<l&&!x.closed;I++)x.next(c[I]);x.complete()}},33948:(ht,ue,o)=>{"use strict";o.d(ue,{F:()=>l});var s=o(70762);class c extends s.v{constructor(g,C,D){super(),this.parent=g,this.outerValue=C,this.outerIndex=D,this.index=0}_next(g){this.parent.notifyNext(this.outerValue,g,this.outerIndex,this.index++,this)}_error(g){this.parent.notifyError(g,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var x=o(60135),I=o(45817);function l(u,g,C,D,A=new c(u,C,D)){if(!A.closed)return g instanceof I.c?g.subscribe(A):(0,x.i)(g)(A)}},49969:(ht,ue,o)=>{"use strict";o.d(ue,{FX:()=>Je,If:()=>s,K2:()=>u,hZ:()=>x,i0:()=>I,i7:()=>D,iF:()=>g,kY:()=>A,kp:()=>c,sf:()=>mt,ui:()=>Pe,wk:()=>C});var s=function(ke){return ke[ke.State=0]="State",ke[ke.Transition=1]="Transition",ke[ke.Sequence=2]="Sequence",ke[ke.Group=3]="Group",ke[ke.Animate=4]="Animate",ke[ke.Keyframes=5]="Keyframes",ke[ke.Style=6]="Style",ke[ke.Trigger=7]="Trigger",ke[ke.Reference=8]="Reference",ke[ke.AnimateChild=9]="AnimateChild",ke[ke.AnimateRef=10]="AnimateRef",ke[ke.Query=11]="Query",ke[ke.Stagger=12]="Stagger",ke}(s||{});const c="*";function x(ke,He){return{type:s.Trigger,name:ke,definitions:He,options:{}}}function I(ke,He=null){return{type:s.Animate,styles:He,timings:ke}}function u(ke,He=null){return{type:s.Sequence,steps:ke,options:He}}function g(ke){return{type:s.Style,styles:ke,offset:null}}function C(ke,He,ot){return{type:s.State,name:ke,styles:He,options:ot}}function D(ke){return{type:s.Keyframes,steps:ke}}function A(ke,He,ot=null){return{type:s.Transition,expr:ke,animation:He,options:ot}}class mt{constructor(He=0,ot=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=He+ot}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(He=>He()),this._onDoneFns=[])}onStart(He){this._originalOnStartFns.push(He),this._onStartFns.push(He)}onDone(He){this._originalOnDoneFns.push(He),this._onDoneFns.push(He)}onDestroy(He){this._onDestroyFns.push(He)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(He=>He()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(He=>He()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(He){this._position=this.totalTime?He*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(He){const ot="start"==He?this._onStartFns:this._onDoneFns;ot.forEach(Ct=>Ct()),ot.length=0}}class Pe{constructor(He){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=He;let ot=0,Ct=0,Ot=0;const kt=this.players.length;0==kt?queueMicrotask(()=>
1this._onFinish()):this.players.forEach(Qe=>{Qe.onDone(()=>{++ot==kt&&this._onFinish()}),Qe.onDestroy(()=>{++Ct==kt&&this._onDestroy()}),Qe.onStart(()=>{++Ot==kt&&this._onStart()})}),this.totalTime=this.players.reduce((Qe,yt)=>Math.max(Qe,yt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(He=>He()),this._onDoneFns=[])}init(){this.players.forEach(He=>He.init())}onStart(He){this._onStartFns.push(He)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(He=>He()),this._onStartFns=[])}onDone(He){this._onDoneFns.push(He)}onDestroy(He){this._onDestroyFns.push(He)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(He=>He.play())}pause(){this.players.forEach(He=>He.pause())}restart(){this.players.forEach(He=>He.restart())}finish(){this._onFinish(),this.players.forEach(He=>He.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(He=>He.destroy()),this._onDestroyFns.forEach(He=>He()),this._onDestroyFns=[])}reset(){this.players.forEach(He=>He.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(He){const ot=He*this.totalTime;this.players.forEach(Ct=>{const Ot=Ct.totalTime?Math.min(1,ot/Ct.totalTime):1;Ct.setPosition(Ot)})}getPosition(){const He=this.players.reduce((ot,Ct)=>null===ot||Ct.totalTime>ot.totalTime?Ct:ot,null);return null!=He?He.getPosition():0}beforeDestroy(){this.players.forEach(He=>{He.beforeDestroy&&He.beforeDestroy()})}triggerCallback(He){const ot="start"==He?this._onStartFns:this._onDoneFns;ot.forEach(Ct=>Ct()),ot.length=0}}const Je="!"},96039:(ht,ue,o)=>{"use strict";o.d(ue,{Pd:()=>z,vR:()=>nn,kB:()=>Tt,Bu:()=>$n,FN:()=>Qt,Q_:()=>k,_G:()=>_n,w6:()=>he});var s=o(60177),c=o(54438),x=o(36860),I=o(45286),l=o(74337),u=o(79928),g=o(14421),C=o(67336),D=o(15539),A=o(63020),V=o(58728),Z=o(95006),re=o(19493),K=o(17753),Me=o(20522),Oe=o(7605),ie=o(72318),ge=o(14085),ye=o(49776),rt=o(41639),Ft=o(45817),Bt=o(23176);const mt=new Set;let Pe,Je=(()=>{class U{constructor(Q,de){this._platform=Q,this._nonce=de,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):He}matchMedia(Q){return(this._platform.WEBKIT||this._platform.BLINK)&&function ke(U,J){if(!mt.has(U))try{Pe||(Pe=document.createElement("style"),J&&Pe.setAttribute("nonce",J),Pe.setAttribute("type","text/css"),document.head.appendChild(Pe)),Pe.sheet&&(Pe.sheet.insertRule(`@media ${U} {body{ }}`,0),mt.add(U))}catch(Q){console.error(Q)}}(Q,this._nonce),this._matchMedia(Q)}static#e=this.\u0275fac=function(de){return new(de||U)(c.KVO(x.OD),c.KVO(c.BIS,8))};static#t=this.\u0275prov=c.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function He(U){return{matches:"all"===U||""===U,media:U,addListener:()=>{},removeListener:()=>{}}}let ot=(()=>{class U{constructor(Q,de){this._mediaMatcher=Q,this._zone=de,this._queries=new Map,this._destroySubject=new I.B7}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Q){return Ct((0,ge.FG)(Q)).some(Le=>this._registerQuery(Le).mql.matches)}observe(Q){const Le=Ct((0,ge.FG)(Q)).map(jt=>this._registerQuery(jt).observable);let Et=(0,ye.zV)(Le);return Et=(0,rt.x)(Et.pipe((0,re.s)(1)),Et.pipe((0,K.i)(1),(0,A.B)(0))),Et.pipe((0,Z.T)(jt=>{const cn={matches:!1,breakpoints:{}};return jt.forEach(({matches:kn,query:hn})=>{cn.matches=cn.matches||kn,cn.breakpoints[hn]=kn}),cn}))}_registerQuery(Q){if(this._queries.has(Q))return this._queries.get(Q);const de=this._mediaMatcher.matchMedia(Q),Et={observable:new Ft.c(jt=>{const cn=kn=>this._zone.run(()=>jt.next(kn));return de.addListener(cn),()=>{de.removeListener(cn)}}).pipe((0,Bt.Z)(de),(0,Z.T)(({matches:jt})=>({query:Q,matches:jt})),(0,Oe.Q)(this._destroySubject)),mql:de};return this._queries.set(Q,Et),Et}static#e=this.\u0275fac=function(de){return new(de||U)(c.KVO(Je),c.KVO(c.SKi))};static#t=this.\u0275prov=c.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function Ct(U){return U.map(J=>J.split(",")).reduce((J,Q)=>J.concat(Q)).map(J=>J.trim())}class Un{constructor(J,Q){this._items=J,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new I.B7,this._typeaheadSub
1scription=l.y.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=de=>de.disabled,this._pressedLetters=[],this.tabOut=new I.B7,this.change=new I.B7,J instanceof c.rOR?this._itemChangesSubscription=J.changes.subscribe(de=>this._itemsChanged(de.toArray())):(0,c.Hps)(J)&&(this._effectRef=(0,c.QZP)(()=>this._itemsChanged(J()),{injector:Q}))}skipPredicate(J){return this._skipPredicateFn=J,this}withWrap(J=!0){return this._wrap=J,this}withVerticalOrientation(J=!0){return this._vertical=J,this}withHorizontalOrientation(J){return this._horizontal=J,this}withAllowedModifierKeys(J){return this._allowedModifierKeys=J,this}withTypeAhead(J=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,D.M)(Q=>this._pressedLetters.push(Q)),(0,A.B)(J),(0,V.p)(()=>this._pressedLetters.length>0),(0,Z.T)(()=>this._pressedLetters.join(""))).subscribe(Q=>{const de=this._getItemsArray();for(let Le=1;Le<de.length+1;Le++){const Et=(this._activeItemIndex+Le)%de.length,jt=de[Et];if(!this._skipPredicateFn(jt)&&0===jt.getLabel().toUpperCase().trim().indexOf(Q)){this.setActiveItem(Et);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(J=!0){return this._homeAndEnd=J,this}withPageUpDown(J=!0,Q=10){return this._pageUpAndDown={enabled:J,delta:Q},this}setActiveItem(J){const Q=this._activeItem;this.updateActiveItem(J),this._activeItem!==Q&&this.change.next(this._activeItemIndex)}onKeydown(J){const Q=J.keyCode,Le=["altKey","ctrlKey","metaKey","shiftKey"].every(Et=>!J[Et]||this._allowedModifierKeys.indexOf(Et)>-1);switch(Q){case C.wn:return void this.tabOut.next();case C.n6:if(this._vertical&&Le){this.setNextItemActive();break}return;case C.i7:if(this._vertical&&Le){this.setPreviousItemActive();break}return;case C.LE:if(this._horizontal&&Le){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case C.UQ:if(this._horizontal&&Le){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case C.yZ:if(this._homeAndEnd&&Le){this.setFirstItemActive();break}return;case C.Kp:if(this._homeAndEnd&&Le){this.setLastItemActive();break}return;case C.w_:if(this._pageUpAndDown.enabled&&Le){const Et=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Et>0?Et:0,1);break}return;case C.dB:if(this._pageUpAndDown.enabled&&Le){const Et=this._activeItemIndex+this._pageUpAndDown.delta,jt=this._getItemsArray().length;this._setActiveItemByIndex(Et<jt?Et:jt-1,-1);break}return;default:return void((Le||(0,C.rp)(J,"shiftKey"))&&(J.key&&1===J.key.length?this._letterKeyStream.next(J.key.toLocaleUpperCase()):(Q>=C.A&&Q<=C.Z||Q>=C.f2&&Q<=C.bn)&&this._letterKeyStream.next(String.fromCharCode(Q))))}this._pressedLetters=[],J.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(J){const Q=this._getItemsArray(),de="number"==typeof J?J:Q.indexOf(J);this._activeItem=Q[de]??null,this._activeItemIndex=de}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(J){this._wrap?this._setActiveInWrapMode(J):this._setActiveInDefaultMode(J)}_setActiveInWrapMode(J){const Q=this._getItemsArray();for(let de=1;de<=Q.length;de++){const Le=(this._activeItemIndex+J*de+Q.length)%Q.length;if(!this._skipPredicateFn(Q[Le]))return void this.setActiveItem(Le)}}_setActiveInDefaultMode(J){this._setActiveItemByIndex(this._activeItemIndex+J,J)}_setActiveItemByIndex(J,Q){const de=this._getItemsArray();if(de[J]){for(;this._skipPredicateFn(de[J]);)if(!de[J+=Q])return;this.setActiveItem(J)}}_getItemsArray(){return(0,c.Hps)(this._items)?this._items():this._items instanceof c.rOR?this._items.toArray():this._items}_itemsChanged(J){if(this._activeItem){const Q=J.indexOf(this._activeItem);Q>-1&&Q!==this._activeItemIndex&&(this._activeItemIndex=Q)}}}class $n extends Un{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(J){return this._origin=J,this}setActiveItem(J){super.setActiveItem(J),this.activeItem&&this.activeItem.focus(this._origin)}}let Bn=(()=>{class U{constructor(Q){this._platform=Q}isDisabled(Q){return Q.hasAttribute("disabled")}isVisible(Q){return function Sn(U){return!!(U.offsetWidth||U.offsetHeight||"function"==typeof U.getClientRects&&U.getClientRects().length)}(Q)&&"visible"===getComputedStyle(Q).visibility}isTabbable(Q){if(!this._platform.isBrowser)return!1;const de=function pn(U){try{return U.frameElement}catch{return null}}(function We(U){return U.ownerDocument&&U.ownerDocument.defaultView||window}(Q));if(de&&(-1===ze(de)||!this.isVisible(de)))return!1;let Le=Q.nodeName.toLowerCase(),Et=ze(Q);return Q.hasAttribute("contenteditable")?-1!==Et:!("iframe"===Le||"object"===Le||this._platform.WEBKIT&&this._platform.IOS&&!function ae(U){let J=U.nodeName.toLowerCase(),Q="input"===J&&U.type;return"text"===Q||"password"===Q||"select"===J||"textarea"===J}(Q))&&("audio"===Le?!!Q.hasAttribute("controls")&&-1!==Et:"video"===Le?-1!==Et&&(null!==Et||this._platform.FIRE
1FOX||Q.hasAttribute("controls")):Q.tabIndex>=0)}isFocusable(Q,de){return function Re(U){return!function ui(U){return function sn(U){return"input"==U.nodeName.toLowerCase()}(U)&&"hidden"==U.type}(U)&&(function Pn(U){let J=U.nodeName.toLowerCase();return"input"===J||"select"===J||"button"===J||"textarea"===J}(U)||function xn(U){return function pt(U){return"a"==U.nodeName.toLowerCase()}(U)&&U.hasAttribute("href")}(U)||U.hasAttribute("contenteditable")||lt(U))}(Q)&&!this.isDisabled(Q)&&(de?.ignoreVisibility||this.isVisible(Q))}static#e=this.\u0275fac=function(de){return new(de||U)(c.KVO(x.OD))};static#t=this.\u0275prov=c.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function lt(U){if(!U.hasAttribute("tabindex")||void 0===U.tabIndex)return!1;let J=U.getAttribute("tabindex");return!(!J||isNaN(parseInt(J,10)))}function ze(U){if(!lt(U))return null;const J=parseInt(U.getAttribute("tabindex")||"",10);return isNaN(J)?-1:J}class ct{get enabled(){return this._enabled}set enabled(J){this._enabled=J,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(J,this._startAnchor),this._toggleAnchorTabIndex(J,this._endAnchor))}constructor(J,Q,de,Le,Et=!1){this._element=J,this._checker=Q,this._ngZone=de,this._document=Le,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Et||this.attachAnchors()}destroy(){const J=this._startAnchor,Q=this._endAnchor;J&&(J.removeEventListener("focus",this.startAnchorListener),J.remove()),Q&&(Q.removeEventListener("focus",this.endAnchorListener),Q.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(J){return new Promise(Q=>{this._executeOnStable(()=>Q(this.focusInitialElement(J)))})}focusFirstTabbableElementWhenReady(J){return new Promise(Q=>{this._executeOnStable(()=>Q(this.focusFirstTabbableElement(J)))})}focusLastTabbableElementWhenReady(J){return new Promise(Q=>{this._executeOnStable(()=>Q(this.focusLastTabbableElement(J)))})}_getRegionBoundary(J){const Q=this._element.querySelectorAll(`[cdk-focus-region-${J}], [cdkFocusRegion${J}], [cdk-focus-${J}]`);return"start"==J?Q.length?Q[0]:this._getFirstTabbableElement(this._element):Q.length?Q[Q.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(J){const Q=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Q){if(!this._checker.isFocusable(Q)){const de=this._getFirstTabbableElement(Q);return de?.focus(J),!!de}return Q.focus(J),!0}return this.focusFirstTabbableElement(J)}focusFirstTabbableElement(J){const Q=this._getRegionBoundary("start");return Q&&Q.focus(J),!!Q}focusLastTabbableElement(J){const Q=this._getRegionBoundary("end");return Q&&Q.focus(J),!!Q}hasAttached(){return this._hasAttached}_getFirstTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const Q=J.children;for(let de=0;de<Q.length;de++){const Le=Q[de].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Q[de]):null;if(Le)return Le}return null}_getLastTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const Q=J.children;for(let de=Q.length-1;de>=0;de--){const Le=Q[de].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Q[de]):null;if(Le)return Le}return null}_createAnchor(){const J=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,J),J.classList.add("cdk-visually-hidden"),J.classList.add("cdk-focus-trap-anchor"),J.setAttribute("aria-hidden","true"),J}_toggleAnchorTabIndex(J,Q){J?Q.setAttribute("tabindex","0"):Q.removeAttribute("tabindex")}toggleAnchors(J){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(J,this._startAnchor),this._toggleAnchorTabIndex(J,this._endAnchor))}_executeOnStable(J){this._ngZone.isStable?J():this._ngZone.onStable.pipe((0,re.s)(1)).subscribe(J)}}let ft=(()=>{class U{constructor(Q,de,Le){this._checker=Q,this._ngZone=de,this._document=Le}create(Q,de=!1){return new ct(Q,this._checker,this._ngZone,this._document,de)}static#e=this.\u0275fac=function(de){return new(de||U)(c.KVO(Bn),c.KVO(c.SKi),c.KVO(s.qQ))};static#t=this.\u0275prov=c.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),Tt=(()=>{class U{get enabled(){return this.focusTrap?.enabled||!1}set enabled(Q){this.focusTrap&&(this.focusTrap.enabled=Q)}constructor(Q,de,Le){this._elementRef=Q,this._focusTrapFactory=de,this._previouslyFocusedElement=null,(0,c.WQX)(x.OD).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(Q){const de=Q.autoCapture;de&&!de.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,x.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(de){return new(de||U)(c.rXU(c.aKT),c.rXU(ft),c.rXU(s.qQ))};static#t=this.\u0275dir=c.FsC({type:U,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[c.Mj6.HasDecoratorInputTransform,"cdkTrapFocus","enabled",c.L39],autoCapture:[c.Mj6.HasDecoratorInputTransform,"cdkTrapFocusAutoCapture","autoCapture",c.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[c.GFd,c.OA$]})}return U})();function _n(U){return 0===U.buttons||0===U.detail}function he(U){const J=U.touches&&U.touches[0]||U.changedTouches&&U.changedTouches[0];return!(!J||-1!==J.identifier||null!=J.radiusX&&1!==J.radiusX||null!=J.radiusY&&1!==J.radiusY)}const me=new c.nKC("cdk-input-modality-detector-options"),se={ignoreKeys:[C.A$,C.W3,C.eg,C.Ge,C.FX]},Ce=(0,x.BQ)({passive:!0,capture:!0});let dt=(()=>{class U{get mostRecentModality(){return this._modality.value}constructor(Q,de,Le,Et){this._platform=Q,this._mostRecentTarget=null,this._modality=new u.t(null),this._lastTouchMs=0,this._onKeydown=jt=>{this._options?.ignoreKeys?.some(cn=>cn===jt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,x.Fb)(jt))},this._onMousedown=jt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(_n(jt)?"keyboard":"mouse"),this._mostRecentTarget=(0,x.Fb)(jt))},this._onTouchstart=jt=>{he(jt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,x.Fb)(jt))},this._options={...se,...Et},this.modalityDetected=this._modality.pipe((0,K.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Me.F)()),Q.isBrowser&&de.runOutsideAngular(()=>{Le.addEventListener("keydown",this._onKeydown,Ce),Le.addEventListener("mousedown",this._onMousedown,Ce),Le.addEventListener("touchstart",this._onTouchstart,Ce)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ce),document.removeEventListener("mousedown",this._onMousedown,Ce),document.removeEventListener("touchstart",this._onTouchstart,Ce))}static#e=this.\u0275fac=function(de){return new(de||U)(c.KVO(x.OD),c.KVO(c.SKi),c.KVO(s.qQ),c.KVO(me,8))};static#t=this.\u0275prov=c.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();
1var De=function(U){return U[U.IMMEDIATE=0]="IMMEDIATE",U[U.EVENTUAL=1]="EVENTUAL",U}(De||{});const Ue=new c.nKC("cdk-focus-monitor-default-options"),Mt=(0,x.BQ)({passive:!0,capture:!0});let Qt=(()=>{class U{constructor(Q,de,Le,Et,jt){this._ngZone=Q,this._platform=de,this._inputModalityDetector=Le,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new I.B7,this._rootNodeFocusAndBlurListener=cn=>{for(let hn=(0,x.Fb)(cn);hn;hn=hn.parentElement)"focus"===cn.type?this._onFocus(cn,hn):this._onBlur(cn,hn)},this._document=Et,this._detectionMode=jt?.detectionMode||De.IMMEDIATE}monitor(Q,de=!1){const Le=(0,ge.i8)(Q);if(!this._platform.isBrowser||1!==Le.nodeType)return(0,g.of)();const Et=(0,x.KT)(Le)||this._getDocument(),jt=this._elementInfo.get(Le);if(jt)return de&&(jt.checkChildren=!0),jt.subject;const cn={checkChildren:de,subject:new I.B7,rootNode:Et};return this._elementInfo.set(Le,cn),this._registerGlobalListeners(cn),cn.subject}stopMonitoring(Q){const de=(0,ge.i8)(Q),Le=this._elementInfo.get(de);Le&&(Le.subject.complete(),this._setClasses(de),this._elementInfo.delete(de),this._removeGlobalListeners(Le))}focusVia(Q,de,Le){const Et=(0,ge.i8)(Q);Et===this._getDocument().activeElement?this._getClosestElementsInfo(Et).forEach(([cn,kn])=>this._originChanged(cn,de,kn)):(this._setOrigin(de),"function"==typeof Et.focus&&Et.focus(Le))}ngOnDestroy(){this._elementInfo.forEach((Q,de)=>this.stopMonitoring(de))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Q){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Q)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Q&&this._isLastInteractionFromInputLabel(Q)?"mouse":"program"}_shouldBeAttributedToTouch(Q){return this._detectionMode===De.EVENTUAL||!!Q?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Q,de){Q.classList.toggle("cdk-focused",!!de),Q.classList.toggle("cdk-touch-focused","touch"===de),Q.classList.toggle("cdk-keyboard-focused","keyboard"===de),Q.classList.toggle("cdk-mouse-focused","mouse"===de),Q.classList.toggle("cdk-program-focused","program"===de)}_setOrigin(Q,de=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Q,this._originFromTouchInteraction="touch"===Q&&de,this._detectionMode===De.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Q,de){const Le=this._elementInfo.get(de),Et=(0,x.Fb)(Q);!Le||!Le.checkChildren&&de!==Et||this._originChanged(de,this._getFocusOrigin(Et),Le)}_onBlur(Q,de){const Le=this._elementInfo.get(de);!Le||Le.checkChildren&&Q.relatedTarget instanceof Node&&de.contains(Q.relatedTarget)||(this._setClasses(de),this._emitOrigin(Le,null))}_emitOrigin(Q,de){Q.subject.observers.length&&this._ngZone.run(()=>Q.subject.next(de))}_registerGlobalListeners(Q){if(!this._platform.isBrowser)return;const de=Q.rootNode,Le=this._rootNodeFocusListenerCount.get(de)||0;Le||this._ngZone.runOutsideAngular(()=>{de.addEventListener("focus",this._rootNodeFocusAndBlurListener,Mt),de.addEventListener("blur",this._rootNodeFocusAndBlurListener,Mt)}),this._rootNodeFocusListenerCount.set(de,Le+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Oe.Q)(this._stopInputModalityDetector)).subscribe(Et=>{this._setOrigin(Et,!0)}))}_removeGlobalListeners(Q){const de=Q.rootNode;if(this._rootNodeFocusListenerCount.has(de)){const Le=this._rootNodeFocusListenerCount.get(de);Le>1?this._rootNodeFocusListenerCount.set(de,Le-1):(de.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Mt),de.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Mt),this._rootNodeFocusListenerCount.delete(de))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Q,de,Le){this._setClasses(Q,de),this._emitOrigin(Le,de),this._lastFocusOrigin=de}_getClosestElementsInfo(Q){const de=[];return this._elementInfo.forEach((Le,Et)=>{(Et===Q||Le.checkChildren&&Et.contains(Q))&&de.push([Et,Le])}),de}_isLastInteractionFromInputLabel(Q){const{_mostRecentTarget:de,mostRecentModality:Le}=this._inputModalityDetector;if("mouse"!==Le||!de||de===Q||"INPUT"!==Q.nodeName&&"TEXTAREA"!==Q.nodeName||Q.disabled)return!1;const Et=Q.labels;if(Et)for(let jt=0;jt<Et.length;jt++)if(Et[jt].contains(de))return!0;return!1}static#e=this.\u0275fac=function(de){return new(de||U)(c.KVO(c.SKi),c.KVO(x.OD),c.KVO(dt),c.KVO(s.qQ,8),c.KVO(Ue,8))};static#t=this.\u0275prov=c.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),nn=(()=>{class U{constructor(Q,de){this._elementRef=Q,this._focusMonitor=de,this._focusOrigin=null,this.cdkFocusChange=new c.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Q=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Q,1===Q.nodeType&&Q.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(de=>{this._focusOrigin=de,this.cdkFocusChange.emit(de)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(de){return new(de||U)(c.rXU(c.aKT),c.rXU(Qt))};static#t=this.\u0275dir=c.FsC({type:U,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return U})();var bt=function(U){return U[U.NONE=0]="NONE",U[U.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",U[U.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",U}(bt||{});const xe="cdk-high-contrast-black-on-white",ee="cdk-high-contrast-white-on-black",H="cdk-high-contrast-active";let k=(()=>{class U{constructor(Q,de){this._platform=Q,this._document=de,this._breakpointSubscription=(0,c.WQX)(ot).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasse
1s())})}getHighContrastMode(){if(!this._platform.isBrowser)return bt.NONE;const Q=this._document.createElement("div");Q.style.backgroundColor="rgb(1,2,3)",Q.style.position="absolute",this._document.body.appendChild(Q);const de=this._document.defaultView||window,Le=de&&de.getComputedStyle?de.getComputedStyle(Q):null,Et=(Le&&Le.backgroundColor||"").replace(/ /g,"");switch(Q.remove(),Et){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return bt.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return bt.BLACK_ON_WHITE}return bt.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Q=this._document.body.classList;Q.remove(H,xe,ee),this._hasCheckedHighContrastMode=!0;const de=this.getHighContrastMode();de===bt.BLACK_ON_WHITE?Q.add(H,xe):de===bt.WHITE_ON_BLACK&&Q.add(H,ee)}}static#e=this.\u0275fac=function(de){return new(de||U)(c.KVO(x.OD),c.KVO(s.qQ))};static#t=this.\u0275prov=c.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),z=(()=>{class U{constructor(Q){Q._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(de){return new(de||U)(c.KVO(k))};static#t=this.\u0275mod=c.$C({type:U});static#n=this.\u0275inj=c.G2t({imports:[ie.w5]})}return U})()},28203:(ht,ue,o)=>{"use strict";o.d(ue,{dS:()=>g,jI:()=>D});var s=o(54438),c=o(60177);const x=new s.nKC("cdk-dir-doc",{providedIn:"root",factory:function I(){return(0,s.WQX)(c.qQ)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let g=(()=>{class A{constructor(Z){this.value="ltr",this.change=new s.bkB,Z&&(this.value=function u(A){const V=A?.toLowerCase()||"";return"auto"===V&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===V?"rtl":"ltr"}((Z.body?Z.body.dir:null)||(Z.documentElement?Z.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(re){return new(re||A)(s.KVO(x,8))};static#t=this.\u0275prov=s.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})(),D=(()=>{class A{static#e=this.\u0275fac=function(re){return new(re||A)};static#t=this.\u0275mod=s.$C({type:A});static#n=this.\u0275inj=s.G2t({})}return A})()},14085:(ht,ue,o)=>{"use strict";o.d(ue,{FG:()=>l,OE:()=>x,a1:()=>u,cc:()=>C,he:()=>c,i8:()=>g});var s=o(54438);function c(D){return null!=D&&"false"!=`${D}`}function x(D,A=0){return function I(D){return!isNaN(parseFloat(D))&&!isNaN(Number(D))}(D)?Number(D):A}function l(D){return Array.isArray(D)?D:[D]}function u(D){return null==D?"":"string"==typeof D?D:`${D}px`}function g(D){return D instanceof s.aKT?D.nativeElement:D}function C(D,A=/\s+/){const V=[];if(null!=D){const Z=Array.isArray(D)?D:`${D}`.split(A);for(const re of Z){const K=`${re}`.trim();K&&V.push(K)}}return V}},45024:(ht,ue,o)=>{"use strict";o.d(ue,{CB:()=>re,DQ:()=>Z,Q3:()=>D,qS:()=>u,sL:()=>A,xn:()=>V,y4:()=>g});var s=o(14725),I=(o(8982),o(14421),o(45286)),l=o(54438);class u{}function g(Oe){return Oe&&"function"==typeof Oe.connect&&!(Oe instanceof s.G)}var D=function(Oe){return Oe[Oe.REPLACED=0]="REPLACED",Oe[Oe.INSERTED=1]="INSERTED",Oe[Oe.MOVED=2]="MOVED",Oe[Oe.REMOVED=3]="REMOVED",Oe}(D||{});const A=new l.nKC("_ViewRepeater");class V{applyChanges(ie,ge,ye,rt,Ft){ie.forEachOperation((Bt,Ve,mt)=>{let Pe,Je;if(null==Bt.previousIndex){const ke=ye(Bt,Ve,mt);Pe=ge.createEmbeddedView(ke.templateRef,ke.context,ke.index),Je=D.INSERTED}else null==mt?(ge.remove(Ve),Je=D.REMOVED):(Pe=ge.get(Ve),ge.move(Pe,mt),Je=D.MOVED);Ft&&Ft({context:Pe?.context,operation:Je,record:Bt})})}detach(){}}class Z{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(ie,ge,ye,rt,Ft){ie.forEachOperation((Bt,Ve,mt)=>{let Pe,Je;null==Bt.previousIndex?(Pe=this._insertView(()=>ye(Bt,Ve,mt),mt,ge,rt(Bt)),Je=Pe?D.INSERTED:D.REPLACED):null==mt?(this._detachAndCacheView(Ve,ge),Je=D.REMOVED):(Pe=this._moveView(Ve,mt,ge,rt(Bt)),Je=D.MOVED),Ft&&Ft({context:Pe?.context,operation:Je,record:Bt})})}detach(){for(const ie of this._viewCache)ie.destroy();this._viewCache=[]}_insertView(ie,ge,ye,rt){const Ft=this._insertViewFromCache(ge,ye);if(Ft)return void(Ft.context.$implicit=rt);const Bt=ie();return ye.createEmbeddedView(Bt.templateRef,Bt.context,Bt.index)}_detachAndCacheView(ie,ge){const ye=ge.detach(ie);this._maybeCacheView(ye,ge)}_moveView(ie,ge,ye,rt){const Ft=ye.get(ie);return ye.move(Ft,ge),Ft.context.$implicit=rt,Ft}_maybeCacheView(ie,ge){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(ie);else{const ye=ge.indexOf(ie);-1===ye?ie.destroy():ge.remove(ye)}}_insertViewFromCache(ie,ge){const ye=this._viewCache.pop();return ye&&ge.insert(ye,ie),ye||null}}class re{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())
1),this._selected}constructor(ie=!1,ge,ye=!0,rt){this._multiple=ie,this._emitChanges=ye,this.compareWith=rt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new I.B7,ge&&ge.length&&(ie?ge.forEach(Ft=>this._markSelected(Ft)):this._markSelected(ge[0]),this._selectedToEmit.length=0)}select(...ie){this._verifyValueAssignment(ie),ie.forEach(ye=>this._markSelected(ye));const ge=this._hasQueuedChanges();return this._emitChangeEvent(),ge}deselect(...ie){this._verifyValueAssignment(ie),ie.forEach(ye=>this._unmarkSelected(ye));const ge=this._hasQueuedChanges();return this._emitChangeEvent(),ge}setSelection(...ie){this._verifyValueAssignment(ie);const ge=this.selected,ye=new Set(ie);ie.forEach(Ft=>this._markSelected(Ft)),ge.filter(Ft=>!ye.has(this._getConcreteValue(Ft,ye))).forEach(Ft=>this._unmarkSelected(Ft));const rt=this._hasQueuedChanges();return this._emitChangeEvent(),rt}toggle(ie){return this.isSelected(ie)?this.deselect(ie):this.select(ie)}clear(ie=!0){this._unmarkAll();const ge=this._hasQueuedChanges();return ie&&this._emitChangeEvent(),ge}isSelected(ie){return this._selection.has(this._getConcreteValue(ie))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ie){this._multiple&&this.selected&&this._selected.sort(ie)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(ie){ie=this._getConcreteValue(ie),this.isSelected(ie)||(this._multiple||this._unmarkAll(),this.isSelected(ie)||this._selection.add(ie),this._emitChanges&&this._selectedToEmit.push(ie))}_unmarkSelected(ie){ie=this._getConcreteValue(ie),this.isSelected(ie)&&(this._selection.delete(ie),this._emitChanges&&this._deselectedToEmit.push(ie))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ie=>this._unmarkSelected(ie))}_verifyValueAssignment(ie){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(ie,ge){if(this.compareWith){ge=ge??this._selection;for(let ye of ge)if(this.compareWith(ie,ye))return ye;return ie}return ie}}},81391:(ht,ue,o)=>{"use strict";o.d(ue,{HD:()=>xn,O7:()=>Ue,RK:()=>Ke,T1:()=>Vt,ad:()=>ee});var s=o(54438),c=o(60177),x=o(24910),I=o(36860),l=o(14085),u=o(96039),g=o(45286),C=o(74337),D=o(39601),A=o(75128),V=o(45817),Z=o(44670),re=o(79928),K=o(7605),Me=o(95006),Oe=o(19493),ie=o(15539),ge=o(49090),ye=o(23176),rt=o(28203);function Ft(H,k,z){for(let U in k)if(k.hasOwnProperty(U)){const J=k[U];J?H.setProperty(U,J,z?.has(U)?"important":""):H.removeProperty(U)}return H}function Bt(H,k){const z=k?"":"none";Ft(H.style,{"touch-action":k?"":"none","-webkit-user-drag":k?"":"none","-webkit-tap-highlight-color":k?"":"transparent","user-select":z,"-ms-user-select":z,"-webkit-user-select":z,"-moz-user-select":z})}function Ve(H,k,z){Ft(H.style,{position:k?"":"fixed",top:k?"":"0",opacity:k?"":"0",left:k?"":"-999em"},z)}function mt(H,k){return k&&"none"!=k?H+" "+k:H}function Pe(H,k){H.style.width=`${k.width}px`,H.style.height=`${k.height}px`,H.style.transform=Je(k.left,k.top)}function Je(H,k){return`translate3d(${Math.round(H)}px, ${Math.round(k)}px, 0)`}function ke(H){const k=H.getBoundingClientRect();return{top:k.top,right:k.right,bottom:k.bottom,left:k.left,width:k.width,height:k.height,x:k.x,y:k.y}}function He(H,k,z){const{top:U,bottom:J,left:Q,right:de}=H;return z>=U&&z<=J&&k>=Q&&k<=de}function ot(H,k,z){H.top+=k,H.bottom=H.top+H.height,H.left+=z,H.r
1ight=H.left+H.width}function Ct(H,k,z,U){const{top:J,right:Q,bottom:de,left:Le,width:Et,height:jt}=H,cn=Et*k,kn=jt*k;return U>J-kn&&U<de+kn&&z>Le-cn&&z<Q+cn}class Ot{constructor(k){this._document=k,this.positions=new Map}clear(){this.positions.clear()}cache(k){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),k.forEach(z=>{this.positions.set(z,{scrollPosition:{top:z.scrollTop,left:z.scrollLeft},clientRect:ke(z)})})}handleScroll(k){const z=(0,I.Fb)(k),U=this.positions.get(z);if(!U)return null;const J=U.scrollPosition;let Q,de;if(z===this._document){const jt=this.getViewportScrollPosition();Q=jt.top,de=jt.left}else Q=z.scrollTop,de=z.scrollLeft;const Le=J.top-Q,Et=J.left-de;return this.positions.forEach((jt,cn)=>{jt.clientRect&&z!==cn&&z.contains(cn)&&ot(jt.clientRect,Le,Et)}),J.top=Q,J.left=de,{top:Le,left:Et}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function kt(H){const k=H.cloneNode(!0),z=k.querySelectorAll("[id]"),U=H.nodeName.toLowerCase();k.removeAttribute("id");for(let J=0;J<z.length;J++)z[J].removeAttribute("id");return"canvas"===U?Ne(H,k):("input"===U||"select"===U||"textarea"===U)&&ce(H,k),Qe("canvas",H,k,Ne),Qe("input, textarea, select",H,k,ce),k}function Qe(H,k,z,U){const J=k.querySelectorAll(H);if(J.length){const Q=z.querySelectorAll(H);for(let de=0;de<J.length;de++)U(J[de],Q[de])}}let yt=0;function ce(H,k){"file"!==k.type&&(k.value=H.value),"radio"===k.type&&k.name&&(k.name=`mat-clone-${k.name}-${yt++}`)}function Ne(H,k){const z=k.getContext("2d");if(z)try{z.drawImage(H,0,0)}catch{}}function it(H,k){const z=H.rootNodes;if(1===z.length&&z[0].nodeType===k.ELEMENT_NODE)return z[0];const U=k.createElement("div");return z.forEach(J=>U.appendChild(J)),U}function Rt(H){const k=H.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(H)*k}function En(H,k){return H.getPropertyValue(k).split(",").map(U=>U.trim())}const In=new Set(["position"]);class Gt{constructor(k,z,U,J,Q,de,Le,Et,jt){this._document=k,this._rootElement=z,this._direction=U,this._initialDomRect=J,this._previewTemplate=Q,this._previewClass=de,this._pickupPositionOnPage=Le,this._initialTransform=Et,this._zIndex=jt}attach(k){this._preview=this._createPreview(),k.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(k){this._preview.style.transform=k}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(k){this._preview.classList.add(k)}getTransitionDuration(){return function Yt(H){const k=getComputedStyle(H),z=En(k,"transition-property"),U=z.find(Le=>"transform"===Le||"all"===Le);if(!U)return 0;const J=z.indexOf(U),Q=En(k,"transition-duration"),de=En(k,"transition-delay");return Rt(Q[J])+Rt(de[J])}(this._preview)}addEventListener(k,z){this._preview.addEventListener(k,z)}removeEventListener(k,z){this._preview.removeEventListener(k,z)}_createPreview(){const k=this._previewTemplate,z=this._previewClass,U=k?k.template:null;let J;if(U&&k){const Q=k.matchSize?this._initialDomRect:null,de=k.viewContainer.createEmbeddedView(U,k.context);de.detectChanges(),J=it(de,this._document),this._previewEmbeddedView=de,k.matchSize?Pe(J,Q):J.style.transform=Je(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else J=kt(this._rootElement),Pe(J,this._initialDomRect),this._initialTransform&&(J.style.transform=this._initialTransform);return Ft(J.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},In),Bt(J,!1),J.classList.add("cdk-drag-preview"),J.setAttribute("popover","manual"),J.setAttribute("dir",this._direction),z&&(Array.isArray(z)?z.forEach(Q=>J.classList.add(Q)):J.classList.add(z)),J}}const Un=(0,I.BQ)({passive:!0}),Zt=(0,I.BQ)({passive:!1}),$n=(0,I.BQ)({passive:!1,capture:!0}),Bn=new Set(["position"]);class pn{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(k){k!==this._disabled&&(this._disabled=k,this._toggleNativeDragInteractions(),this._handles.forEac
1h(z=>Bt(z,k)))}constructor(k,z,U,J,Q,de){this._config=z,this._document=U,this._ngZone=J,this._viewportRuler=Q,this._dragDropRegistry=de,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new g.B7,this._pointerMoveSubscription=C.y.EMPTY,this._pointerUpSubscription=C.y.EMPTY,this._scrollSubscription=C.y.EMPTY,this._resizeSubscription=C.y.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new g.B7,this.started=new g.B7,this.released=new g.B7,this.ended=new g.B7,this.entered=new g.B7,this.exited=new g.B7,this.dropped=new g.B7,this.moved=this._moveEvents,this._pointerDown=Le=>{if(this.beforeStarted.next(),this._handles.length){const Et=this._getTargetHandle(Le);Et&&!this._disabledHandles.has(Et)&&!this.disabled&&this._initializeDragSequence(Et,Le)}else this.disabled||this._initializeDragSequence(this._rootElement,Le)},this._pointerMove=Le=>{const Et=this._getPointerPositionOnPage(Le);if(!this._hasStartedDragging){if(Math.abs(Et.x-this._pickupPositionOnPage.x)+Math.abs(Et.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Oi=Date.now()>=this._dragStartTime+this._getDragStartDelay(Le),mi=this._dropContainer;if(!Oi)return void this._endDragSequence(Le);(!mi||!mi.isDragging()&&!mi.isReceiving())&&(Le.cancelable&&Le.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Le)))}return}Le.cancelable&&Le.preventDefault();const jt=this._getConstrainedPointerPosition(Et);if(this._hasMoved=!0,this._lastKnownPointerPosition=Et,this._updatePointerDirectionDelta(jt),this._dropContainer)this._updateActiveDropContainer(jt,Et);else{const cn=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,kn=this._activeTransform;kn.x=jt.x-cn.x+this._passiveTransform.x,kn.y=jt.y-cn.y+this._passiveTransform.y,this._applyRootElementTransform(kn.x,kn.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:jt,event:Le,distance:this._getDragDistance(jt),delta:this._pointerDirectionDelta})})},this._pointerUp=Le=>{this._endDragSequence(Le)},this._nativeDragStart=Le=>{if(this._handles.length){const Et=this._getTargetHandle(Le);Et&&!this._disabledHandles.has(Et)&&!this.disabled&&Le.preventDefault()}else this.disabled||Le.preventDefault()},this.withRootElement(k).withParent(z.parentDragRef||null),this._parentPositions=new Ot(U),de.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(k){this._handles=k.map(U=>(0,l.i8)(U)),this._handles.forEach(U=>Bt(U,this.disabled)),this._toggleNativeDragInteractions();const z=new Set;return this._disabledHandles.forEach(U=>{this._handles.indexOf(U)>-1&&z.add(U)}),this._disabledHandles=z,this}withPreviewTemplate(k){return this._previewTemplate=k,this}withPlaceholderTemplate(k){return this._placeholderTemplate=k,this}withRootElement(k){const z=(0,l.i8)(k);return z!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{z.addEventListener("mousedown",this._pointerDown,Zt),z.addEventListener("touchstart",this._pointerDown,Un),z.addEventListener("dragstart",this._nativeDragStart,Zt)}),this._initialTransform=void 0,this._rootElement=z),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(k){return this._boundaryElement=k?(0,l.i8)(k):null,this._resizeSubscription.unsubscribe(),k&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(k){return this._parentDragRef=k,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(k){!this._disabledHandles.has(k)&&this._handles.indexOf(k)>-1&&(this._disabledHandles.add(k),Bt(k,!0))}enableHandle(k){this._disabledHandles.has(k)&&(this._disabledHandles.delete(k),Bt(k,this.disabled))}withDirection(k){return this._direction=k,this}_withDropContainer(k){this._dropContainer=k}getFreeDragPosition(){const k=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:k.x,y:k.y}}setFreeDragPosition(k){return this._activeTransform={x:0,y:0},this._passiveTransform.x=k.x,this._passiveTransform.y=k.y,this._dropContainer||this._applyRootElementTransform(k.x,k.y),this}withPreviewContainer(k){return this._previewContainer=k,this}_sortFromLastPointerPosition(){const k=this._lastKnownPointerPosition;k&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(k),k)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",ui,$n)}_destroyPreview(){this._preview?.destroy(),this._preview=null}
1_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(k){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:k}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(k),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const z=this._getPointerPositionOnPage(k);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(z),dropPoint:z,event:k})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(k){Pn(k)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const z=this._getShadowRoot(),U=this._dropContainer;if(z&&this._ngZone.runOutsideAngular(()=>{z.addEventListener("selectstart",ui,$n)}),U){const J=this._rootElement,Q=J.parentNode,de=this._placeholder=this._createPlaceholderElement(),Le=this._anchor=this._anchor||this._document.createComment("");Q.insertBefore(Le,J),this._initialTransform=J.style.transform||"",this._preview=new Gt(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(Q,z)),Ve(J,!1,Bn),this._document.body.appendChild(Q.replaceChild(de,J)),this.started.next({source:this,event:k}),U.start(),this._initialContainer=U,this._initialIndex=U.getItemIndex(this)}else this.started.next({source:this,event:k}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(U?U.getScrollableParents():[])}_initializeDragSequence(k,z){this._parentDragRef&&z.stopPropagation();const U=this.isDragging(),J=Pn(z),Q=!J&&0!==z.button,de=this._rootElement,Le=(0,I.Fb)(z),Et=!J&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),jt=J?(0,u.w6)(z):(0,u._G)(z);if(Le&&Le.draggable&&"mousedown"===z.type&&z.preventDefault(),U||Q||Et||jt)return;if(this._handles.length){const hn=de.style;this._rootElementTapHighlight=hn.webkitTapHighlightColor||"",hn.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(hn=>this._updateOnScroll(hn)),this._boundaryElement&&(this._boundaryRect=ke(this._boundaryElement));const cn=this._previewTemplate;this._pickupPositionInElement=cn&&cn.template&&!cn.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,k,z);const kn=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(z);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:kn.x,y:kn.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,z)}_cleanupDragArtifacts(k){Ve(this._rootElement,!0,Bn),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const z=this._dropContainer,U=z.getItemIndex(this),J=this._getPointerPositionOnPage(k),Q=this._getDragDistance(J),de=z._isOverContainer(J.x,J.y);this.ended.next({source:this,distance:Q,dropPoint:J,event:k}),this.dropped.next({item:this,currentIndex:U,previousIndex:this._initialIndex,container:z,previousContainer:this._initialContainer,isPointerOverContainer:de,distance:Q,dropPoint:J,event:k}),z.drop(this,U,this._initialIndex,this._initialContainer,de,Q,J,k),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:k,y:z},{x:U,y:J}){let Q=this._initialContainer._getSiblingContainerFromPosition(this,k,z);!Q&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(k,z)&&(Q=this._initialContainer),Q&&Q!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Q,this._dropContainer.enter(this,k,z,Q===this._initialContainer&&Q.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Q,currentIndex:Q.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(U,J),this._dropContainer._sortItem(this,k,z,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(k,z):this._applyPreviewTransform(k-this._pickupPositionInElement.x,z-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const k=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(k.left,k.top);const z=this._preview.getTransitionDuration();return 0===z?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(U=>{const J=de=>{(!de||(0,I.Fb)(de)===this._preview&&"transform"===de.propertyName)&&(this._preview?.removeEventListener("transitionend",J),U(),clearTimeout(Q))},Q=setTimeout(J,1.5*z);this._preview.addEventListener("transitionend",J)}))}_createPlaceholderElement(){const k=this._placeholderTemplate,z=k?k.template:null;let U;return z?(this._placeholderRef=k.viewContainer.createEmbeddedView(z,k.context),this._placeholderRef.detectChanges(),U=it(this._placeholderRef,this._document)):U=kt(this._rootElement),U.style.pointerEvents="none",U.classList.add("cdk-drag-placeholder"),U}_getPointerPositionInElement(k,z,U){const J=z===this._rootElement?null:z,Q=J?J.getBoundingClientRect():k,de=Pn(U)?U.targetTouches[0]:U,Le=this._getViewportScrollPosition();return{x:Q.left-k.left+(de.pageX-Q.left-Le.left),y:Q.top-k.top+(de.pageY-Q.top-Le.top)}}_getPointerPositionOnPage(k){const z=this._getViewportScrollPosition(),U=Pn(k)?k.touches[0]||k.changedTouches[0]||{pageX:0,pageY:0}:k,J=U.pageX-z.left,Q=U.pageY-z.top;if(this._ownerSVGElement){const de=this._ownerSVGElement.getScreenCTM();if(de){const Le=this._ownerSVGElement.createSVGPoint();return Le.x=J,Le.y=Q,Le.matrixTransform(de.inverse())}}return{x:J,y:Q}}_getConstrainedPointerPosition(k){const z=this._dropContainer?this._dropContainer.lockAxis:null;let{x:U,y:J}=this.constrainPosition?this.constrainPosition(k,this,this._initialDomRect,this._pickupPositionInElement):k;if("x"===this.lockAxis||"x"===z?J=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===z)&&(U=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:Q,y:de}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,Le=this._boundaryRect,{width:Et,height:jt}=this._getPreviewRect(),cn=Le.top+de,kn=Le.bottom-(jt-de);U=Sn(U,Le.left+Q,Le.right-(Et-Q)),J=Sn(J,cn,kn)}return{x:U,y:J}}_updatePointerDirectionDelta(k){const{x:z,y:U}=k,J=this._pointerDirectionDelta,Q=this._pointerPositionAtLastDirectionChange,de
1=Math.abs(z-Q.x),Le=Math.abs(U-Q.y);return de>this._config.pointerDirectionChangeThreshold&&(J.x=z>Q.x?1:-1,Q.x=z),Le>this._config.pointerDirectionChangeThreshold&&(J.y=U>Q.y?1:-1,Q.y=U),J}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const k=this._handles.length>0||!this.isDragging();k!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=k,Bt(this._rootElement,k))}_removeRootElementListeners(k){k.removeEventListener("mousedown",this._pointerDown,Zt),k.removeEventListener("touchstart",this._pointerDown,Un),k.removeEventListener("dragstart",this._nativeDragStart,Zt)}_applyRootElementTransform(k,z){const U=Je(k,z),J=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=J.transform&&"none"!=J.transform?J.transform:""),J.transform=mt(U,this._initialTransform)}_applyPreviewTransform(k,z){const U=this._previewTemplate?.template?void 0:this._initialTransform,J=Je(k,z);this._preview.setTransform(mt(J,U))}_getDragDistance(k){const z=this._pickupPositionOnPage;return z?{x:k.x-z.x,y:k.y-z.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:k,y:z}=this._passiveTransform;if(0===k&&0===z||this.isDragging()||!this._boundaryElement)return;const U=this._rootElement.getBoundingClientRect(),J=this._boundaryElement.getBoundingClientRect();if(0===J.width&&0===J.height||0===U.width&&0===U.height)return;const Q=J.left-U.left,de=U.right-J.right,Le=J.top-U.top,Et=U.bottom-J.bottom;J.width>U.width?(Q>0&&(k+=Q),de>0&&(k-=de)):k=0,J.height>U.height?(Le>0&&(z+=Le),Et>0&&(z-=Et)):z=0,(k!==this._passiveTransform.x||z!==this._passiveTransform.y)&&this.setFreeDragPosition({y:z,x:k})}_getDragStartDelay(k){const z=this.dragStartDelay;return"number"==typeof z?z:Pn(k)?z.touch:z?z.mouse:0}_updateOnScroll(k){const z=this._parentPositions.handleScroll(k);if(z){const U=(0,I.Fb)(k);this._boundaryRect&&U!==this._boundaryElement&&U.contains(this._boundaryElement)&&ot(this._boundaryRect,z.top,z.left),this._pickupPositionOnPage.x+=z.left,this._pickupPositionOnPage.y+=z.top,this._dropContainer||(this._activeTransform.x-=z.left,this._activeTransform.y-=z.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,I.KT)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(k,z){const U=this._previewContainer||"global";if("parent"===U)return k;if("global"===U){const J=this._document;return z||J.fullscreenElement||J.webkitFullscreenElement||J.mozFullScreenElement||J.msFullscreenElement||J.body}return(0,l.i8)(U)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(k){return this._handles.find(z=>k.target&&(k.target===z||z.contains(k.target)))}}function Sn(H,k,z){return Math.max(k,Math.min(z,H))}function Pn(H){return"t"===H.type[0]}function ui(H){H.preventDefault()}function xn(H,k,z){const U=lt(k,H.length-1),J=lt(z,H.length-1);if(U===J)return;const Q=H[U],de=J<U?-1:1;for(let Le=U;Le!==J;Le+=de)H[Le]=H[Le+de];H[J]=Q}function lt(H,k){return Math.max(0,Math.min(k,H))}class ze{constructor(k,z){this._element=k,this._dragDropRegistry=z,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(k){this.withItems(k)}sort(k,z,U,J){const Q=this._itemPositions,de=this._getItemIndexFromPointerPosition(k,z,U,J);if(-1===de&&Q.length>0)return null;const Le="horizontal"===this.orientation,Et=Q.findIndex(Ri=>Ri.drag===k),jt=Q[de],kn=jt.clientRect,hn=Et>de?1:-1,Oi=this._getItemOffsetPx(Q[Et].clientRect,kn,hn),mi=this._getSiblingOffsetPx(Et,Q,hn),fn=Q.slice();return xn(Q,Et,de),Q.forEach((Ri,An)=>{if(fn[An]===Ri)return;const Bi=Ri.drag===k,Wi=Bi?Oi:mi,Se=Bi?k.getPlaceholderElement():Ri.drag.getRootElement();Ri.offset+=Wi,Le?(Se.style.transform=mt(`translate3d(${Math.round(Ri.offset)}px, 0, 0)`,Ri.initialTransform),ot(Ri.clientRect,0,Wi)):(Se.style.transform=mt(`translate3d(0, ${Math.round(Ri.offset)}px, 0)`,Ri.initialTransform),ot(Ri.clientRect,Wi,0))}),this._previousSwap.overlaps=He(kn,z,U),this._previousSwap.drag=jt.drag,this._previousSwap.delta=Le?J.x:J.y,{previousIndex:Et,currentIndex:de}}enter(k,z,U,J){const Q=null==J||J<0?this._getItemIndexFromPointerPosition(k,z,U):J,de=this._activeDraggables,Le=de.indexOf(k),Et=k.getPlaceholderElement();let jt=de[Q];if(jt===k&&(jt=de[Q+1]),!jt&&(null==Q||-1===Q||Q<de.length-1)&&this._shouldEnterAsFirstChild(z,U)&&(jt=de[0]),Le>-1&&de.splice(Le,1),jt&&!this._dragDropRegistry.isDragging(jt)){const cn=jt.getRootElement();cn.parentElement.insertBefore(Et,cn),de.splice(Q,0,k)}else(0,l.i8)(this._element).appendChild(Et),de.push(k);Et.style.transform="",this._cacheItemPositions()}withItems(k){this._activeDraggables=k.slice(),this._cacheItemPositions()}withSortPredicate(k){this._sortPredicate=k}
1reset(){this._activeDraggables.forEach(k=>{const z=k.getRootElement();if(z){const U=this._itemPositions.find(J=>J.drag===k)?.initialTransform;z.style.transform=U||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(k){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(U=>U.drag===k)}updateOnScroll(k,z){this._itemPositions.forEach(({clientRect:U})=>{ot(U,k,z)}),this._itemPositions.forEach(({drag:U})=>{this._dragDropRegistry.isDragging(U)&&U._sortFromLastPointerPosition()})}_cacheItemPositions(){const k="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(z=>{const U=z.getVisibleElement();return{drag:z,offset:0,initialTransform:U.style.transform||"",clientRect:ke(U)}}).sort((z,U)=>k?z.clientRect.left-U.clientRect.left:z.clientRect.top-U.clientRect.top)}_getItemOffsetPx(k,z,U){const J="horizontal"===this.orientation;let Q=J?z.left-k.left:z.top-k.top;return-1===U&&(Q+=J?z.width-k.width:z.height-k.height),Q}_getSiblingOffsetPx(k,z,U){const J="horizontal"===this.orientation,Q=z[k].clientRect,de=z[k+-1*U];let Le=Q[J?"width":"height"]*U;if(de){const Et=J?"left":"top",jt=J?"right":"bottom";-1===U?Le-=de.clientRect[Et]-Q[jt]:Le+=Q[Et]-de.clientRect[jt]}return Le}_shouldEnterAsFirstChild(k,z){if(!this._activeDraggables.length)return!1;const U=this._itemPositions,J="horizontal"===this.orientation;if(U[0].drag!==this._activeDraggables[0]){const de=U[U.length-1].clientRect;return J?k>=de.right:z>=de.bottom}{const de=U[0].clientRect;return J?k<=de.left:z<=de.top}}_getItemIndexFromPointerPosition(k,z,U,J){const Q="horizontal"===this.orientation,de=this._itemPositions.findIndex(({drag:Le,clientRect:Et})=>Le!==k&&((!J||Le!==this._previousSwap.drag||!this._previousSwap.overlaps||(Q?J.x:J.y)!==this._previousSwap.delta)&&(Q?z>=Math.floor(Et.left)&&z<Math.floor(Et.right):U>=Math.floor(Et.top)&&U<Math.floor(Et.bottom))));return-1!==de&&this._sortPredicate(de,k)?de:-1}}var We=function(H){return H[H.NONE=0]="NONE",H[H.UP=1]="UP",H[H.DOWN=2]="DOWN",H}(We||{}),ct=function(H){return H[H.NONE=0]="NONE",H[H.LEFT=1]="LEFT",H[H.RIGHT=2]="RIGHT",H}(ct||{});class ft{constructor(k,z,U,J,Q){this._dragDropRegistry=z,this._ngZone=J,this._viewportRuler=Q,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new g.B7,this.entered=new g.B7,this.exited=new g.B7,this.dropped=new g.B7,this.sorted=new g.B7,this.receivingStarted=new g.B7,this.receivingStopped=new g.B7,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=C.y.EMPTY,this._verticalScrollDirection=We.NONE,this._horizontalScrollDirection=ct.NONE,this._stopScrollTimers=new g.B7,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,D.Y)(0,A.X).pipe((0,K.Q)(this._stopScrollTimers)).subscribe(()=>{const de=this._scrollNode,Le=this.autoScrollStep;this._verticalScrollDirection===We.UP?de.scrollBy(0,-Le):this._verticalScrollDirection===We.DOWN&&de.scrollBy(0,Le),this._horizontalScrollDirection===ct.LEFT?de.scrollBy(-Le,0):this._horizontalScrollDirection===ct.RIGHT&&de.scrollBy(Le,0)})},this.element=(0,l.i8)(k),this._document=U,this.withScrollableParents([this.element]),z.registerDropContainer(this),this._parentPositions=new Ot(U),this._sortStrategy=new ze(this.element,z),this._sortStrategy.withSortPredicate((de,Le)=>this.sortPredicate(de,Le,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(k,z,U,J){this._draggingStarted(),null==J&&this.sortingDisabled&&(J=this._draggables.indexOf(k)),this._sortStrategy.enter(k,z,U,J),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:k,container:this,currentIndex:this.getItemIndex(k)})}exit(k){this._reset(),this.exited.next({item:k,container:this})}drop(k,z,U,J,Q,de,Le,Et={}){this._reset(),this.dropped.next({item:k,currentIndex:z,previousIndex:U,container:this,previousContainer:J,isPointerOverContainer:Q,distance:de,dropPoint:Le,event:Et})}withItems(k){const z=this._draggables;
1return this._draggables=k,k.forEach(U=>U._withDropContainer(this)),this.isDragging()&&(z.filter(J=>J.isDragging()).every(J=>-1===k.indexOf(J))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(k){return this._sortStrategy.direction=k,this}connectedTo(k){return this._siblings=k.slice(),this}withOrientation(k){return this._sortStrategy.orientation=k,this}withScrollableParents(k){const z=(0,l.i8)(this.element);return this._scrollableElements=-1===k.indexOf(z)?[z,...k]:k.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(k){return this._isDragging?this._sortStrategy.getItemIndex(k):this._draggables.indexOf(k)}isReceiving(){return this._activeSiblings.size>0}_sortItem(k,z,U,J){if(this.sortingDisabled||!this._domRect||!Ct(this._domRect,.05,z,U))return;const Q=this._sortStrategy.sort(k,z,U,J);Q&&this.sorted.next({previousIndex:Q.previousIndex,currentIndex:Q.currentIndex,container:this,item:k})}_startScrollingIfNecessary(k,z){if(this.autoScrollDisabled)return;let U,J=We.NONE,Q=ct.NONE;if(this._parentPositions.positions.forEach((de,Le)=>{Le===this._document||!de.clientRect||U||Ct(de.clientRect,.05,k,z)&&([J,Q]=function Dn(H,k,z,U,J){const Q=Tt(k,J),de=un(k,U);let Le=We.NONE,Et=ct.NONE;if(Q){const jt=H.scrollTop;Q===We.UP?jt>0&&(Le=We.UP):H.scrollHeight-jt>H.clientHeight&&(Le=We.DOWN)}if(de){const jt=H.scrollLeft;"rtl"===z?de===ct.RIGHT?jt<0&&(Et=ct.RIGHT):H.scrollWidth+jt>H.clientWidth&&(Et=ct.LEFT):de===ct.LEFT?jt>0&&(Et=ct.LEFT):H.scrollWidth-jt>H.clientWidth&&(Et=ct.RIGHT)}return[Le,Et]}(Le,de.clientRect,this._sortStrategy.direction,k,z),(J||Q)&&(U=Le))}),!J&&!Q){const{width:de,height:Le}=this._viewportRuler.getViewportSize(),Et={width:de,height:Le,top:0,right:de,bottom:Le,left:0};J=Tt(Et,z),Q=un(Et,k),U=window}U&&(J!==this._verticalScrollDirection||Q!==this._horizontalScrollDirection||U!==this._scrollNode)&&(this._verticalScrollDirection=J,this._horizontalScrollDirection=Q,this._scrollNode=U,(J||Q)&&U?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const k=(0,l.i8)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=k.msScrollSnapType||k.scrollSnapType||"",k.scrollSnapType=k.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const k=(0,l.i8)(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(k).clientRect}_reset(){this._isDragging=!1;const k=(0,l.i8)(this.element).style;k.scrollSnapType=k.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(z=>z._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(k,z){return null!=this._domRect&&He(this._domRect,k,z)}_getSiblingContainerFromPosition(k,z,U){return this._siblings.find(J=>J._canReceive(k,z,U))}_canReceive(k,z,U){if(!this._domRect||!He(this._domRect,z,U)||!this.enterPredicate(k,this))return!1;const J=this._getShadowRoot().elementFromPoint(z,U);if(!J)return!1;const Q=(0,l.i8)(this.element);return J===Q||Q.contains(J)}_startReceiving(k,z){const U=this._activeSiblings;!U.has(k)&&z.every(J=>this.enterPredicate(J,this)||this._draggables.indexOf(J)>-1)&&(U.add(k),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:k,receiver:this,items:z}))}_stopReceiving(k){this._activeSiblings.delete(k),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:k,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(k=>{if(this.isDragging()){const z=this._parentPositions.handleScroll(k);z&&this._sortStrategy.updateOnScroll(z.top,z.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const k=(0,I.KT)((0,l.i8)(this.element));this._cachedShadowRoot=k||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const k=this._sortStrategy.getActiveItemsSnapshot().filter(z=>z.isDragging());
1this._siblings.forEach(z=>z._startReceiving(this,k))}}function Tt(H,k){const{top:z,bottom:U,height:J}=H,Q=.05*J;return k>=z-Q&&k<=z+Q?We.UP:k>=U-Q&&k<=U+Q?We.DOWN:We.NONE}function un(H,k){const{left:z,right:U,width:J}=H,Q=.05*J;return k>=z-Q&&k<=z+Q?ct.LEFT:k>=U-Q&&k<=U+Q?ct.RIGHT:ct.NONE}const rn=(0,I.BQ)({passive:!1,capture:!0}),vn=new Set;let Pt=(()=>{class H{static#e=this.\u0275fac=function(U){return new(U||H)};static#t=this.\u0275cmp=s.VBU({type:H,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[s.aNF],decls:0,vars:0,template:function(U,J){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"],encapsulation:2,changeDetection:0})}return H})(),_n=(()=>{class H{constructor(z,U){this._ngZone=z,this._appRef=(0,s.WQX)(s.o8S),this._environmentInjector=(0,s.WQX)(s.uvJ),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=J=>J.isDragging(),this.pointerMove=new g.B7,this.pointerUp=new g.B7,this.scroll=new g.B7,this._preventDefaultWhileDragging=J=>{this._activeDragInstances.length>0&&J.preventDefault()},this._persistentTouchmoveListener=J=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&J.preventDefault(),this.pointerMove.next(J))},this._document=U}registerDropContainer(z){this._dropInstances.has(z)||this._dropInstances.add(z)}registerDragItem(z){this._dragInstances.add(z),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,rn)})}removeDropContainer(z){this._dropInstances.delete(z)}removeDragItem(z){this._dragInstances.delete(z),this.stopDragging(z),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,rn)}startDragging(z,U){if(!(this._activeDragInstances.indexOf(z)>-1)&&(this._loadResets(),this._activeDragInstances.push(z),1===this._activeDragInstances.length)){const J=U.type.startsWith("touch");this._globalListeners.set(J?"touchend":"mouseup",{handler:Q=>this.pointerUp.next(Q),options:!0}).set("scroll",{handler:Q=>this.scroll.next(Q),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:rn}),J||this._globalListeners.set("mousemove",{handler:Q=>this.pointerMove.next(Q),options:rn}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Q,de)=>{this._document.addEventListener(de,Q.handler,Q.options)})})}}stopDragging(z){const U=this._activeDragInstances.indexOf(z);U>-1&&(this._activeDragInstances.splice(U,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(z){return this._activeDragInstances.indexOf(z)>-1}scrolled(z){const U=[this.scroll];return z&&z!==this._document&&U.push(new V.c(J=>this._ngZone.runOutsideAngular(()=>{const de=Le=>{this._activeDragInstances.length&&J.next(Le)};return z.addEventListener("scroll",de,!0),()=>{z.removeEventListener("scroll",de,!0)}}))),(0,Z.h)(...U)}ngOnDestroy(){this._dragInstances.forEach(z=>this.removeDragItem(z)),this._dropInstances.forEach(z=>this.removeDropContainer(z)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((z,U)=>{this._document.removeEventListener(U,z.handler,z.options)}),this._globalListeners.clear()}_loadResets(){if(!vn.has(this._appRef)){vn.add(this._appRef);const z=(0,s.a0P)(Pt,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{vn.delete(this._appRef),0===vn.size&&z.destroy()})}}static#e=this.\u0275fac=function(U){return new(U||H)(s.KVO(s.SKi),s.KVO(c.qQ))};static#t=this.\u0275prov=s.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const he={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let me=(()=>{class H{constructor(z,U,J,Q){this._document=z,this._ngZone=U,this._viewportRuler=J,this._dragDropRegistry=Q}createDrag(z,U=he){return new pn(z,U,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(z){return new ft(z,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(U){return new(U||H)(s.KVO(c.qQ),s.KVO(s.SKi),s.KVO(x.Xj),s.KVO(_n))};static#t=this.\u0275prov=s.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const se=new s.nKC("CDK_DRAG_PARENT"),Ce=new s.nKC("CdkDragHandle"),Ze=new s.nKC("CDK_DRAG_CONFIG"),at=new s.nKC("CdkDropList");let Vt=(()=>{class H{static#e=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(z){this._disabled=z,this._dragRef.disabled=this._disabled}constructor(z,U,J,Q,de,Le,Et,jt,cn,kn,hn){this.element=z,this.dropContainer=U,this._ngZone=Q,this._viewContainerRef
1=de,this._dir=Et,this._changeDetectorRef=cn,this._selfHandle=kn,this._parentDrag=hn,this._destroyed=new g.B7,this._handles=new re.t([]),this.started=new s.bkB,this.released=new s.bkB,this.ended=new s.bkB,this.entered=new s.bkB,this.exited=new s.bkB,this.dropped=new s.bkB,this.moved=new V.c(Oi=>{const mi=this._dragRef.moved.pipe((0,Me.T)(fn=>({source:this,pointerPosition:fn.pointerPosition,event:fn.event,delta:fn.delta,distance:fn.distance}))).subscribe(Oi);return()=>{mi.unsubscribe()}}),this._dragRef=jt.createDrag(z,{dragStartThreshold:Le&&null!=Le.dragStartThreshold?Le.dragStartThreshold:5,pointerDirectionChangeThreshold:Le&&null!=Le.pointerDirectionChangeThreshold?Le.pointerDirectionChangeThreshold:5,zIndex:Le?.zIndex}),this._dragRef.data=this,H._dragInstances.push(this),Le&&this._assignDefaults(Le),U&&(this._dragRef._withDropContainer(U._dropListRef),U.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(z){this._dragRef.setFreeDragPosition(z)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Oe.s)(1),(0,K.Q)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(z){const U=z.rootElementSelector,J=z.freeDragPosition;U&&!U.firstChange&&this._updateRootElement(),J&&!J.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const z=H._dragInstances.indexOf(this);z>-1&&H._dragInstances.splice(z,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(z){const U=this._handles.getValue();U.push(z),this._handles.next(U)}_removeHandle(z){const U=this._handles.getValue(),J=U.indexOf(z);J>-1&&(U.splice(J,1),this._handles.next(U))}_setPreviewTemplate(z){this._previewTemplate=z}_resetPreviewTemplate(z){z===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(z){this._placeholderTemplate=z}_resetPlaceholderTemplate(z){z===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const z=this.element.nativeElement;let U=z;this.rootElementSelector&&(U=void 0!==z.closest?z.closest(this.rootElementSelector):z.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(U||z)}_getBoundaryElement(){const z=this.boundaryElement;return z?"string"==typeof z?this.element.nativeElement.closest(z):(0,l.i8)(z):null}_syncInputs(z){z.beforeStarted.subscribe(()=>{if(!z.isDragging()){const U=this._dir,J=this.dragStartDelay,Q=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,de=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;z.disabled=this.disabled,z.lockAxis=this.lockAxis,z.dragStartDelay="object"==typeof J&&J?J:(0,l.OE)(J),z.constrainPosition=this.constrainPosition,z.previewClass=this.previewClass,z.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Q).withPreviewTemplate(de).withPreviewContainer(this.previewContainer||"global"),U&&z.withDirection(U.value)}}),z.beforeStarted.pipe((0,Oe.s)(1)).subscribe(()=>{if(this._parentDrag)return void z.withParent(this._parentDrag._dragRef);let U=this.element.nativeElement.parentElement;for(;U;){if(U.classList.contains("cdk-drag")){z.withParent(H._dragInstances.find(J=>J.element.nativeElement===U)?._dragRef||null);break}U=U.parentElement}})}_handleEvents(z){z.started.subscribe(U=>{this.started.emit({source:this,event:U.event}),this._changeDetectorRef.markForCheck()}),z.released.subscribe(U=>
1{this.released.emit({source:this,event:U.event})}),z.ended.subscribe(U=>{this.ended.emit({source:this,distance:U.distance,dropPoint:U.dropPoint,event:U.event}),this._changeDetectorRef.markForCheck()}),z.entered.subscribe(U=>{this.entered.emit({container:U.container.data,item:this,currentIndex:U.currentIndex})}),z.exited.subscribe(U=>{this.exited.emit({container:U.container.data,item:this})}),z.dropped.subscribe(U=>{this.dropped.emit({previousIndex:U.previousIndex,currentIndex:U.currentIndex,previousContainer:U.previousContainer.data,container:U.container.data,isPointerOverContainer:U.isPointerOverContainer,item:this,distance:U.distance,dropPoint:U.dropPoint,event:U.event})})}_assignDefaults(z){const{lockAxis:U,dragStartDelay:J,constrainPosition:Q,previewClass:de,boundaryElement:Le,draggingDisabled:Et,rootElementSelector:jt,previewContainer:cn}=z;this.disabled=Et??!1,this.dragStartDelay=J||0,U&&(this.lockAxis=U),Q&&(this.constrainPosition=Q),de&&(this.previewClass=de),Le&&(this.boundaryElement=Le),jt&&(this.rootElementSelector=jt),cn&&(this.previewContainer=cn)}_setupHandlesListener(){this._handles.pipe((0,ie.M)(z=>{const U=z.map(J=>J.element);this._selfHandle&&this.rootElementSelector&&U.push(this.element),this._dragRef.withHandles(U)}),(0,ge.n)(z=>(0,Z.h)(...z.map(U=>U._stateChanges.pipe((0,ye.Z)(U))))),(0,K.Q)(this._destroyed)).subscribe(z=>{const U=this._dragRef,J=z.element.nativeElement;z.disabled?U.disableHandle(J):U.enableHandle(J)})}static#t=this.\u0275fac=function(U){return new(U||H)(s.rXU(s.aKT),s.rXU(at,12),s.rXU(c.qQ),s.rXU(s.SKi),s.rXU(s.c1b),s.rXU(Ze,8),s.rXU(rt.dS,8),s.rXU(me),s.rXU(s.gRc),s.rXU(Ce,10),s.rXU(se,12))};static#n=this.\u0275dir=s.FsC({type:H,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(U,J){2&U&&s.AVh("cdk-drag-disabled",J.disabled)("cdk-drag-dragging",J._dragRef.isDragging())},inputs:{data:[s.Mj6.None,"cdkDragData","data"],lockAxis:[s.Mj6.None,"cdkDragLockAxis","lockAxis"],rootElementSelector:[s.Mj6.None,"cdkDragRootElement","rootElementSelector"],boundaryElement:[s.Mj6.None,"cdkDragBoundary","boundaryElement"],dragStartDelay:[s.Mj6.None,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[s.Mj6.None,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[s.Mj6.HasDecoratorInputTransform,"cdkDragDisabled","disabled",s.L39],constrainPosition:[s.Mj6.None,"cdkDragConstrainPosition","constrainPosition"],previewClass:[s.Mj6.None,"cdkDragPreviewClass","previewClass"],previewContainer:[s.Mj6.None,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[s.Jv_([{provide:se,useExisting:H}]),s.GFd,s.OA$]})}return H})();const _e=new s.nKC("CdkDropListGroup");let Ke=(()=>{class H{constructor(){this._items=new Set,this.disabled=!1}ngOnDestroy(){this._items.clear()}static#e=this.\u0275fac=function(U){return new(U||H)};static#t=this.\u0275dir=s.FsC({type:H,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:[s.Mj6.HasDecoratorInputTransform,"cdkDropListGroupDisabled","disabled",s.L39]},exportAs:["cdkDropListGroup"],standalone:!0,features:[s.Jv_([{provide:_e,useExisting:H}]),s.GFd]})}return H})(),De=0,Ue=(()=>{class H{static#e=this._dropLists=[];get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(z){this._dropListRef.disabled=this._disabled=z}constructor(z,U,J,Q,de,Le,Et){this.element=z,this._changeDetectorRef=J,this._scrollDispatcher=Q,this._dir=de,this._group=Le,this._destroyed=new g.B7,this.connectedTo=[],this.id="cdk-drop-list-"+De++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new s.bkB,this.entered=new s.bkB,this.exited=new s.bkB,this.sorted=new s.bkB,this._unsortedItems=new Set,this._dropListRef=U.createDropList(z),this._dropListRef.data=this,Et&&this._assignDefaults(Et),this._dropListRef.enterPredicate=(jt,cn)=>this.enterPredicate(jt.data,cn.data),this._dropListRef.sortPredicate=(jt,cn,kn)=>this.sortPredicate(jt,cn.data,kn.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),H._dropLists.push(this),Le&&Le._items.add(this)}addItem(z){this._unsortedItems.add(z),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(z){this._unsortedItems.delete(z),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((z,U)=>z._dragRef.getVisibleElement().compareDocumentPosition(U._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const z=H._dropLists.indexOf(this);z>-1&&H._dropLists.splice(z,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(z){this._dir&&this._dir.change.pipe((0,ye.Z)(this._dir.value),(0,K.Q)(this._destroyed)).subscribe(U=>z.withDirection(U)),z.beforeStarted.subscribe(()=>{const U=(0,l.FG)(this.connectedTo).map(J=>"string"==typeof J?H._dropLists.find(de=>de.id===J):J);
1if(this._group&&this._group._items.forEach(J=>{-1===U.indexOf(J)&&U.push(J)}),!this._scrollableParentsResolved){const J=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Q=>Q.getElementRef().nativeElement);this._dropListRef.withScrollableParents(J),this._scrollableParentsResolved=!0}z.disabled=this.disabled,z.lockAxis=this.lockAxis,z.sortingDisabled=this.sortingDisabled,z.autoScrollDisabled=this.autoScrollDisabled,z.autoScrollStep=(0,l.OE)(this.autoScrollStep,2),z.connectedTo(U.filter(J=>J&&J!==this).map(J=>J._dropListRef)).withOrientation(this.orientation)})}_handleEvents(z){z.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),z.entered.subscribe(U=>{this.entered.emit({container:this,item:U.item.data,currentIndex:U.currentIndex})}),z.exited.subscribe(U=>{this.exited.emit({container:this,item:U.item.data}),this._changeDetectorRef.markForCheck()}),z.sorted.subscribe(U=>{this.sorted.emit({previousIndex:U.previousIndex,currentIndex:U.currentIndex,container:this,item:U.item.data})}),z.dropped.subscribe(U=>{this.dropped.emit({previousIndex:U.previousIndex,currentIndex:U.currentIndex,previousContainer:U.previousContainer.data,container:U.container.data,item:U.item.data,isPointerOverContainer:U.isPointerOverContainer,distance:U.distance,dropPoint:U.dropPoint,event:U.event}),this._changeDetectorRef.markForCheck()}),(0,Z.h)(z.receivingStarted,z.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(z){const{lockAxis:U,draggingDisabled:J,sortingDisabled:Q,listAutoScrollDisabled:de,listOrientation:Le}=z;this.disabled=J??!1,this.sortingDisabled=Q??!1,this.autoScrollDisabled=de??!1,this.orientation=Le||"vertical",U&&(this.lockAxis=U)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(z=>z._dragRef))}static#t=this.\u0275fac=function(U){return new(U||H)(s.rXU(s.aKT),s.rXU(me),s.rXU(s.gRc),s.rXU(x.R),s.rXU(rt.dS,8),s.rXU(_e,12),s.rXU(Ze,8))};static#n=this.\u0275dir=s.FsC({type:H,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(U,J){2&U&&(s.BMQ("id",J.id),s.AVh("cdk-drop-list-disabled",J.disabled)("cdk-drop-list-dragging",J._dropListRef.isDragging())("cdk-drop-list-receiving",J._dropListRef.isReceiving()))},inputs:{connectedTo:[s.Mj6.None,"cdkDropListConnectedTo","connectedTo"],data:[s.Mj6.None,"cdkDropListData","data"],orientation:[s.Mj6.None,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[s.Mj6.None,"cdkDropListLockAxis","lockAxis"],disabled:[s.Mj6.HasDecoratorInputTransform,"cdkDropListDisabled","disabled",s.L39],sortingDisabled:[s.Mj6.HasDecoratorInputTransform,"cdkDropListSortingDisabled","sortingDisabled",s.L39],enterPredicate:[s.Mj6.None,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[s.Mj6.None,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[s.Mj6.HasDecoratorInputTransform,"cdkDropListAutoScrollDisabled","autoScrollDisabled",s.L39],autoScrollStep:[s.Mj6.None,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[s.Jv_([{provide:_e,useValue:void 0},{provide:at,useExisting:H}]),s.GFd]})}return H})(),ee=(()=>{class H{static#e=this.\u0275fac=function(U){return new(U||H)};static#t=this.\u0275mod=s.$C({type:H});static#n=this.\u0275inj=s.G2t({providers:[me],imports:[x.Gj]})}return H})()},67336:(ht,ue,o)=>{"use strict";o.d(ue,{A:()=>Yt,A$:()=>C,FX:()=>u,Fm:()=>l,G_:()=>c,Ge:()=>rn,Kp:()=>Me,LE:()=>ye,UQ:()=>ie,W3:()=>g,Z:()=>Dn,_f:()=>V,bn:()=>yt,dB:()=>K,eg:()=>ei,f2:()=>Pe,i7:()=>ge,n6:()=>rt,rp:()=>Tn,t6:()=>Z,w_:()=>re,wn:()=>x,yZ:()=>Oe});const c=8,x=9,l=13,u=16,g=17,C=18,V=27,Z=32,re=33,K=34,Me=35,Oe=36,ie=37,ge=38,ye=39,rt=40,Pe=48,yt=57,Yt=65,Dn=90,rn=91,ei=224;function Tn(Kn,...ri){return ri.length?ri.some(Di=>Kn[Di]):Kn.altKey||Kn.shiftKey||Kn.ctrlKey||Kn.metaKey}},72318:(ht,ue,o)=>{"use strict";o.d(ue,{w5:()=>u});var s=o(54438);let x=(()=>{class g{create(D){return typeof MutationObserver>"u"?null:new MutationObserver(D)}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275prov=s.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})(),u=(()=>{class g{static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275mod=s.$C({type:g});static#n=this.\u0275inj=s.G2t({providers:[x]})}return g})()},47987:(ht,ue,o)=>{"use strict";o.d(ue,{hJ:()=>Bn,rR:()=>Ve,rW:()=>Ne,uH:()=>mt,z_:()=>pt});var s=o(24910),c=o(60177),x=o(54438),I=o(14085),l=o(36860),u=o(58728),g=o(19493),C=o(7605),D=o(28203),A=o(76939),V=o(45286),Z=o(74337),re=o(44670);const K=(0,l.CZ)();
1class Me{constructor(ae,Re){this._viewportRuler=ae,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Re}attach(){}enable(){if(this._canBeEnabled()){const ae=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ae.style.left||"",this._previousHTMLStyles.top=ae.style.top||"",ae.style.left=(0,I.a1)(-this._previousScrollPosition.left),ae.style.top=(0,I.a1)(-this._previousScrollPosition.top),ae.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ae=this._document.documentElement,We=ae.style,ct=this._document.body.style,ft=We.scrollBehavior||"",Tt=ct.scrollBehavior||"";this._isEnabled=!1,We.left=this._previousHTMLStyles.left,We.top=this._previousHTMLStyles.top,ae.classList.remove("cdk-global-scrollblock"),K&&(We.scrollBehavior=ct.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),K&&(We.scrollBehavior=ft,ct.scrollBehavior=Tt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Re=this._document.body,We=this._viewportRuler.getViewportSize();return Re.scrollHeight>We.height||Re.scrollWidth>We.width}}class ie{constructor(ae,Re,We,ct){this._scrollDispatcher=ae,this._ngZone=Re,this._viewportRuler=We,this._config=ct,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ae){this._overlayRef=ae}enable(){if(this._scrollSubscription)return;const ae=this._scrollDispatcher.scrolled(0).pipe((0,u.p)(Re=>!Re||!this._overlayRef.overlayElement.contains(Re.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ae.subscribe(()=>{const Re=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Re-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ae.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ge{enable(){}disable(){}attach(){}}function ye(ze,ae){return ae.some(Re=>ze.bottom<Re.top||ze.top>Re.bottom||ze.right<Re.left||ze.left>Re.right)}function rt(ze,ae){return ae.some(Re=>ze.top<Re.top||ze.bottom>Re.bottom||ze.left<Re.left||ze.right>Re.right)}class Ft{constructor(ae,Re,We,ct){this._scrollDispatcher=ae,this._viewportRuler=Re,this._ngZone=We,this._config=ct,this._scrollSubscription=null}attach(ae){this._overlayRef=ae}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Re=this._overlayRef.overlayElement.getBoundingClientRect(),{width:We,height:ct}=this._viewportRuler.getViewportSize();ye(Re,[{width:We,height:ct,bottom:ct,right:We,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Bt=(()=>{class ze{constructor(Re,We,ct,ft){this._scrollDispatcher=Re,this._viewportRuler=We,this._ngZone=ct,this.noop=()=>new ge,this.close=Tt=>new ie(this._scrollDispatcher,this._ngZone,this._viewportRuler,Tt),this.block=()=>new Me(this._viewportRuler,this._document),this.reposition=Tt=>new Ft(this._scrollDispatcher,this._viewportRuler,this._ngZone,Tt),this._document=ft}static#e=this.\u0275fac=function(We){return new(We||ze)(x.KVO(s.R),x.KVO(s.Xj),x.KVO(x.SKi),x.KVO(c.qQ))};static#t=this.\u0275prov=x.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();class Ve{constructor(ae){if(this.scrollStrategy=new ge,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ae){const Re=Object.keys(ae);for(const We of Re)void 0!==ae[We]&&(this[We]=ae[We])}}}class mt{constructor(ae,Re,We,ct,ft){this.offsetX=We,this.offsetY=ct,this.panelClass=ft,this.originX=ae.originX,this.originY=ae.originY,this.overlayX=Re.overlayX,this.overlayY=Re.overlayY}}class Je{constructor(ae,Re){this.connectionPair=ae,this.scrollableViewProperties=Re}}let ot=(()=>{class ze{constructor(Re){this._attachedOverlays=[],this._document=Re}ngOnDestroy(){this.detach()}add(Re){this.remove(Re),this._attachedOverlays.push(Re)}remove(Re){const We=this._attachedOverlays.indexOf(Re);We>-1&&this._attachedOverlays.splice(We,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(We){return new(We||ze)(x.KVO(c.qQ))};static#t=this.\u0275prov=x.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),Ct=(()=>{class ze extends ot{constructor(Re,We){super(Re),this._ngZone=We,this._key
1downListener=ct=>{const ft=this._attachedOverlays;for(let Tt=ft.length-1;Tt>-1;Tt--)if(ft[Tt]._keydownEvents.observers.length>0){const un=ft[Tt]._keydownEvents;this._ngZone?this._ngZone.run(()=>un.next(ct)):un.next(ct);break}}}add(Re){super.add(Re),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(We){return new(We||ze)(x.KVO(c.qQ),x.KVO(x.SKi,8))};static#t=this.\u0275prov=x.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),Ot=(()=>{class ze extends ot{constructor(Re,We,ct){super(Re),this._platform=We,this._ngZone=ct,this._cursorStyleIsSet=!1,this._pointerDownListener=ft=>{this._pointerDownEventTarget=(0,l.Fb)(ft)},this._clickListener=ft=>{const Tt=(0,l.Fb)(ft),un="click"===ft.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Tt;this._pointerDownEventTarget=null;const Dn=this._attachedOverlays.slice();for(let rn=Dn.length-1;rn>-1;rn--){const vn=Dn[rn];if(vn._outsidePointerEvents.observers.length<1||!vn.hasAttached())continue;if(vn.overlayElement.contains(Tt)||vn.overlayElement.contains(un))break;const Pt=vn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pt.next(ft)):Pt.next(ft)}}}add(Re){if(super.add(Re),!this._isAttached){const We=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(We)):this._addEventListeners(We),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=We.style.cursor,We.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Re=this._document.body;Re.removeEventListener("pointerdown",this._pointerDownListener,!0),Re.removeEventListener("click",this._clickListener,!0),Re.removeEventListener("auxclick",this._clickListener,!0),Re.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Re.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Re){Re.addEventListener("pointerdown",this._pointerDownListener,!0),Re.addEventListener("click",this._clickListener,!0),Re.addEventListener("auxclick",this._clickListener,!0),Re.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(We){return new(We||ze)(x.KVO(c.qQ),x.KVO(l.OD),x.KVO(x.SKi,8))};static#t=this.\u0275prov=x.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),kt=(()=>{class ze{constructor(Re,We){this._platform=We,this._document=Re}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Re="cdk-overlay-container";if(this._platform.isBrowser||(0,l.v8)()){const ct=this._document.querySelectorAll(`.${Re}[platform="server"], .${Re}[platform="test"]`);for(let ft=0;ft<ct.length;ft++)ct[ft].remove()}const We=this._document.createElement("div");We.classList.add(Re),(0,l.v8)()?We.setAttribute("platform","test"):this._platform.isBrowser||We.setAttribute("platform","server"),this._document.body.appendChild(We),this._containerElement=We}static#e=this.\u0275fac=function(We){return new(We||ze)(x.KVO(c.qQ),x.KVO(l.OD))};static#t=this.\u0275prov=x.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();class Qe{constructor(ae,Re,We,ct,ft,Tt,un,Dn,rn,vn=!1){this._portalOutlet=ae,this._host=Re,this._pane=We,this._config=ct,this._ngZone=ft,this._keyboardDispatcher=Tt,this._document=un,this._location=Dn,this._outsideClickDispatcher=rn,this._animationsDisabled=vn,this._backdropElement=null,this._backdropClick=new V.B7,this._attachments=new V.B7,this._detachments=new V.B7,this._locationChanges=Z.y.EMPTY,this._backdropClickHandler=Pt=>this._backdropClick.next(Pt),this._backdropTransitionendHandler=Pt=>{this._disposeBackdrop(Pt.target)}
1,this._keydownEvents=new V.B7,this._outsidePointerEvents=new V.B7,ct.scrollStrategy&&(this._scrollStrategy=ct.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ct.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ae){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Re=this._portalOutlet.attach(ae);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,g.s)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Re?.onDestroy&&Re.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Re}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ae=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ae}dispose(){const ae=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,ae&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ae){ae!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ae,this.hasAttached()&&(ae.attach(this),this.updatePosition()))}updateSize(ae){this._config={...this._config,...ae},this._updateElementSize()}setDirection(ae){this._config={...this._config,direction:ae},this._updateElementDirection()}addPanelClass(ae){this._pane&&this._toggleClasses(this._pane,ae,!0)}removePanelClass(ae){this._pane&&this._toggleClasses(this._pane,ae,!1)}getDirection(){const ae=this._config.direction;return ae?"string"==typeof ae?ae:ae.value:"ltr"}updateScrollStrategy(ae){ae!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ae,this.hasAttached()&&(ae.attach(this),ae.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ae=this._pane.style;ae.width=(0,I.a1)(this._config.width),ae.height=(0,I.a1)(this._config.height),ae.minWidth=(0,I.a1)(this._config.minWidth),ae.minHeight=(0,I.a1)(this._config.minHeight),ae.maxWidth=(0,I.a1)(this._config.maxWidth),ae.maxHeight=(0,I.a1)(this._config.maxHeight)}_togglePointerEvents(ae){this._pane.style.pointerEvents=ae?"":"none"}_attachBackdrop(){const ae="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(ae)})}):this._backdropElement.classList.add(ae)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ae=this._backdropElement;if(ae){if(this._animationsDisabled)return void this._disposeBackdrop(ae);ae.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ae.addEventListener("transitionend",this._backdropTransitionendHandler)}),ae.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ae)},500))}}_toggleClasses(ae,Re,We){const ct=(0,I.FG)(Re||[]).filter(ft=>!!ft);ct.length&&(We?ae.classList.add(...ct):ae.classList.remove(...ct))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ae=this._ngZone.onStable.pipe((0,C.Q)((0,re.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ae.unsubscribe())})})}_disposeScrollStrategy(){const ae=this._scrollStrategy;ae&&(ae.disable(),ae.detach&&ae.detach())}_disposeBackdrop(ae){ae&&(ae.removeEventListener("click",this._backdropClickHandler),ae.removeEventListener("transitionend",this._backdropTransitionendHandler),ae.remove(),this._backdropElement===ae&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const yt="cdk-overlay-connected-position-bounding-box",ce=/([A-Za-z%]+)$/;class Ne{get positions(){return this._preferredPositions}
vendor: 4,664 bytes, line 1
1constructor(ae,Re,We,ct,ft){this._viewportRuler=Re,this._document=We,this._platform=ct,this._overlayContainer=ft,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new V.B7,this._resizeSubscription=Z.y.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ae)}attach(ae){this._validatePositions(),ae.hostElement.classList.add(yt),this._overlayRef=ae,this._boundingBox=ae.hostElement,this._pane=ae.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ae=this._originRect,Re=this._overlayRect,We=this._viewportRect,ct=this._containerRect,ft=[];let Tt;for(let un of this._preferredPositions){let Dn=this._getOriginPoint(ae,ct,un),rn=this._getOverlayPoint(Dn,Re,un),vn=this._getOverlayFit(rn,Re,We,un);if(vn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(un,Dn);this._canFitWithFlexibleDimensions(vn,rn,We)?ft.push({position:un,origin:Dn,overlayRect:Re,boundingBoxRect:this._calculateBoundingBoxRect(Dn,un)}):(!Tt||Tt.overlayFit.visibleArea<vn.visibleArea)&&(Tt={overlayFit:vn,overlayPoint:rn,originPoint:Dn,position:un,overlayRect:Re})}if(ft.length){let un=null,Dn=-1;for(const rn of ft){const vn=rn.boundingBoxRect.width*rn.boundingBoxRect.height*(rn.position.weight||1);vn>Dn&&(Dn=vn,un=rn)}return this._isPushed=!1,void this._applyPosition(un.position,un.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Tt.position,Tt.originPoint);this._applyPosition(Tt.position,Tt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&it(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(yt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ae=this._lastPosition;if(ae){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Re=this._getOriginPoint(this._originRect,this._containerRect,ae);this._applyPosition(ae,Re)}else this.apply()}withScrollableContainers(ae){return this._scrollables=ae,this}withPositions(ae){return this._preferredPositions=ae,-1===ae.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ae){return this._viewportMargin=ae,this}withFlexibleDimensions(ae=!0){return this._hasFlexibleDimensions=ae,this}withGrowAfterOpen(ae=!0){return this._growAfterOpen=ae,this}withPush(ae=!0){return this._canPush=ae,this}withLockedPosition(ae=!0){return this._positionLocked=ae,this}setOrigin(ae){return this._origin=ae,this}withDefaultOffsetX(ae){return this._offsetX=ae,this}withDefaultOffsetY(ae){return this._offsetY=ae,this}withTransformOriginOn(ae){return this._transformOriginSelector=ae,this}_getOriginPoint(ae,Re,We){let ct,ft;if("center"==We.originX)ct=ae.left+ae.width/2;else{const Tt=this._isRtl()?ae.right:ae.left,un=this._isRtl()?ae.left:ae.right;ct="start"==We.originX?Tt:un}return Re.left<0&&(ct-=Re.left),ft="center"==We.originY?ae.top+ae.height/2:"top"==We.originY?ae.top:ae.bottom,Re.top<0&&(ft-=Re.top),{x:ct,y:ft}}_getOverlayPoint(ae,Re,We){let ct,ft;return ct="center"==We.overlayX?-Re.width/2:"start"===We.overlayX?this._isRtl()?-Re.width:0:this._isRtl()?0:-Re.width,ft="center"==We.overlayY?-Re.height/2:"top"==We.overlayY?0:-Re.height,{x:ae.x+ct,y:ae.y+ft}}
1_getOverlayFit(ae,Re,We,ct){const ft=Yt(Re);let{x:Tt,y:un}=ae,Dn=this._getOffset(ct,"x"),rn=this._getOffset(ct,"y");Dn&&(Tt+=Dn),rn&&(un+=rn);let _n=0-un,he=un+ft.height-We.height,me=this._subtractOverflows(ft.width,0-Tt,Tt+ft.width-We.width),se=this._subtractOverflows(ft.height,_n,he),q=me*se;return{visibleArea:q,isCompletelyWithinViewport:ft.width*ft.height===q,fitsInViewportVertically:se===ft.height,fitsInViewportHorizontally:me==ft.width}}_canFitWithFlexibleDimensions(ae,Re,We){if(this._hasFlexibleDimensions){const ct=We.bottom-Re.y,ft=We.right-Re.x,Tt=Rt(this._overlayRef.getConfig().minHeight),un=Rt(this._overlayRef.getConfig().minWidth);return(ae.fitsInViewportVertically||null!=Tt&&Tt<=ct)&&(ae.fitsInViewportHorizontally||null!=un&&un<=ft)}return!1}_pushOverlayOnScreen(ae,Re,We){if(this._previousPushAmount&&this._positionLocked)return{x:ae.x+this._previousPushAmount.x,y:ae.y+this._previousPushAmount.y};const ct=Yt(Re),ft=this._viewportRect,Tt=Math.max(ae.x+ct.width-ft.width,0),un=Math.max(ae.y+ct.height-ft.height,0),Dn=Math.max(ft.top-We.top-ae.y,0),rn=Math.max(ft.left-We.left-ae.x,0);let vn=0,Pt=0;return vn=ct.width<=ft.width?rn||-Tt:ae.x<this._viewportMargin?ft.left-We.left-ae.x:0,Pt=ct.height<=ft.height?Dn||-un:ae.y<this._viewportMargin?ft.top-We.top-ae.y:0,this._previousPushAmount={x:vn,y:Pt},{x:ae.x+vn,y:ae.y+Pt}}_applyPosition(ae,Re){if(this._setTransformOrigin(ae),this._setOverlayElementStyles(Re,ae),this._setBoundingBoxStyles(Re,ae),ae.panelClass&&this._addPanelClasses(ae.panelClass),this._positionChanges.observers.length){const We=this._getScrollVisibility();if(ae!==this._lastPosition||!this._lastScrollVisibility||!function En(ze,ae){return ze===ae||ze.isOriginClipped===ae.isOriginClipped&&ze.isOriginOutsideView===ae.isOriginOutsideView&&ze.isOverlayClipped===ae.isOverlayClipped&&ze.isOverlayOutsideView===ae.isOverlayOutsideView}(this._lastScrollVisibility,We)){const ct=new Je(ae,We);this._positionChanges.next(ct)}this._lastScrollVisibility=We}this._lastPosition=ae,this._isInitialRender=!1}_setTransformOrigin(ae){if(!this._transformOriginSelector)return;const Re=this._boundingBox.querySelectorAll(this._transformOriginSelector);let We,ct=ae.overlayY;We="center"===ae.overlayX?"center":this._isRtl()?"start"===ae.overlayX?"right":"left":"start"===ae.overlayX?"left":"right";for(let ft=0;ft<Re.length;ft++)Re[ft].style.transformOrigin=`${We} ${ct}`}_calculateBoundingBoxRect(ae,Re){const We=this._viewportRect,ct=this._isRtl();let ft,Tt,un,vn,Pt,_n;if("top"===Re.overlayY)Tt=ae.y,ft=We.height-Tt+this._viewportMargin;else if("bottom"===Re.overlayY)un=We.height-ae.y+2*this._viewportMargin,ft=We.height-un+this._viewportMargin;else{const he=Math.min(We.bottom-ae.y+We.top,ae.y),me=this._lastBoundingBoxSize.height;ft=2*he,Tt=ae.y-he,ft>me&&!this._isInitialRender&&!this._growAfterOpen&&(Tt=ae.y-me/2)}if("end"===Re.overlayX&&!ct||"start"===Re.overlayX&&ct)_n=We.width-ae.x+2*this._viewportMargin,vn=ae.x-this._viewportMargin;else if("start"===Re.overlayX&&!ct||"end"===Re.overlayX&&ct)Pt=ae.x,vn=We.right-ae.x;else{const he=Math.min(We.right-ae.x+We.left,ae.x),me=this._lastBoundingBoxSize.width;vn=2*he,Pt=ae.x-he,vn>me&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ae.x-me/2)}return{top:Tt,left:Pt,bottom:un,right:_n,width:vn,height:ft}}_setBoundingBoxStyles(ae,Re){const We=this._calculateBoundingBoxRect(ae,Re);!this._isInitialRender&&!this._growAfterOpen&&(We.height=Math.min(We.height,this._lastBoundingBoxSize.height),We.width=Math.min(We.width,this._lastBoundingBoxSize.width));const ct={};if(this._hasExactPosition())ct.top=ct.left="0",ct.bottom=ct.right=ct.maxHeight=ct.maxWidth="",ct.width=ct.height="100%";else{const ft=this._overlayRef.getConfig().maxHeight,Tt=this._overlayRef.getConfig().maxWidth;ct.height=(0,I.a1)(We.height),ct.top=(0,I.a1)(We.top),ct.bottom=(0,I.a1)(We.bottom),ct.width=(0,I.a1)(We.width),ct.left=(0,I.a1)(We.left),ct.right=(0,I.a1)(We.right),ct.alignItems="center"===Re.overlayX?"center":"end"===Re.overlayX?"flex-end":"flex-start",ct.justifyContent="center"===Re.overlayY?"center":"bottom"===Re.overlayY?"flex-end":"flex-start",ft&&(ct.maxHeight=(0,I.a1)(ft)),Tt&&(ct.maxWidth=(0,I.a1)(Tt))}this._lastBoundingBoxSize=We,it(this._boundingBox.style,ct)}_resetBoundingBoxStyles(){it(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){it(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ae,Re){const We={},ct=this._hasExactPosition(),ft=this._hasFlexibleDimensions,Tt=this._overlayRef.getConfig();if(ct){const vn=this._viewportRuler.getViewportScrollPosition();it(We,this._getExactOverlayY(Re,ae,vn)),it(We,this._getExactOverlayX(Re,ae,vn))}else We.position="static";let un="",Dn=this._getOffset(Re,"x"),rn=this._getOffset(Re,"y");Dn&&(un+=`translateX(${Dn}px) `),rn&&(un+=`translateY(${rn}px)`),We.transform=un.trim(),Tt.maxHeight&&(ct?We.maxHeight=(0,I.a1)(Tt.maxHeight):ft&&(We.maxHeight="")),Tt.maxWidth&&(ct?We.maxWidth=(0,I.a1)(Tt.maxWidth):ft&&(We.maxWidth="")),it(this._pane.style,We)}_getExactOverlayY(ae,Re,We){let ct={top:"",bottom:""},ft=this._getOverlayPoint(Re,this._overlayRect,ae);return this._isPushed&&(ft=this._pushOverlayOnScreen(ft,this._overlayRect,We)),"bottom"===ae.overlayY?ct.bottom=this._document.documentElement.clientHeight-(ft.y+this._overlayRect.height)+"px":ct.top=(0,I.a1)(ft.y),ct}_getExactOverlayX(ae,Re,We){let Tt,ct={left:"",right:""},ft=this._getOverlayPoint(Re,this._overlayRect,ae);return this._isPushed&&(ft=this._pushOverlayOnScreen(ft,this._overlayRect,We)),Tt=this._isRtl()?"end"===ae.overlayX?"left":"right":"end"===ae.overlayX?"right":"left","right"===Tt?ct.right=this._document.documentElement.clientWidth-(ft.x+this._overlayRect.width)+"px":ct.left=(0,I.a1)(ft.x),ct}_getScrollVisibility(){const ae=this._getOriginRect(),Re=this._pane.getBoundingClientRect(),We=this._scrollables.map(ct=>ct.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:rt(ae,We),isOriginOutsideView:ye(ae,We),isOverlayClipped:rt(Re,We),isOverlayOutsideView:ye(Re,We)}}_subtractOverflows(ae,...Re){return Re.reduce((We,ct)=>We-Math.max(ct,0),ae)}_getNarrowedViewportRect(){const ae=this._document.documentElement.clientWidth,Re=this._document.documentElement.clientHeight,We=this._viewportRuler.getViewportScrollPosition();return{top:We.top+this._viewportMargin,left:We.left+this._viewportMargin,right:We.left+ae-this._viewportMargin,bottom:We.top+Re-this._viewportMargin,width:ae-2*this._viewportMargin,height:Re-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ae,Re){return"x"===Re?null==ae.offsetX?this._offsetX:ae.offsetX:null==ae.offsetY?this._offsetY:ae.offsetY}_validatePositions(){}_addPanelClasses(ae){this._pane&&(0,I.FG)(ae).forEach(Re=>{""!==Re&&-1===this._appliedPanelClasses.indexOf(Re)&&(this._appliedPanelClasses.push(Re),this._pane.classList.add(Re))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1h(ae=>{this._pane.classList.remove(ae)}),this._appliedPanelClasses=[])}_getOriginRect(){const ae=this._origin;if(ae instanceof x.aKT)return ae.nativeElement.getBoundingClientRect();if(ae instanceof Element)return ae.getBoundingClientRect();const Re=ae.width||0,We=ae.height||0;return{top:ae.y,bottom:ae.y+We,left:ae.x,right:ae.x+Re,height:We,width:Re}}}function it(ze,ae){for(let Re in ae)ae.hasOwnProperty(Re)&&(ze[Re]=ae[Re]);return ze}function Rt(ze){if("number"!=typeof ze&&null!=ze){const[ae,Re]=ze.split(ce);return Re&&"px"!==Re?null:parseFloat(ae)}return ze||null}function Yt(ze){return{top:Math.floor(ze.top),right:Math.floor(ze.right),bottom:Math.floor(ze.bottom),left:Math.floor(ze.left),width:Math.floor(ze.width),height:Math.floor(ze.height)}}const Un="cdk-global-overlay-wrapper";class Zt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ae){const Re=ae.getConfig();this._overlayRef=ae,this._width&&!Re.width&&ae.updateSize({width:this._width}),this._height&&!Re.height&&ae.updateSize({height:this._height}),ae.hostElement.classList.add(Un),this._isDisposed=!1}top(ae=""){return this._bottomOffset="",this._topOffset=ae,this._alignItems="flex-start",this}left(ae=""){return this._xOffset=ae,this._xPosition="left",this}bottom(ae=""){return this._topOffset="",this._bottomOffset=ae,this._alignItems="flex-end",this}right(ae=""){return this._xOffset=ae,this._xPosition="right",this}start(ae=""){return this._xOffset=ae,this._xPosition="start",this}end(ae=""){return this._xOffset=ae,this._xPosition="end",this}width(ae=""){return this._overlayRef?this._overlayRef.updateSize({width:ae}):this._width=ae,this}height(ae=""){return this._overlayRef?this._overlayRef.updateSize({height:ae}):this._height=ae,this}centerHorizontally(ae=""){return this.left(ae),this._xPosition="center",this}centerVertically(ae=""){return this.top(ae),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ae=this._overlayRef.overlayElement.style,Re=this._overlayRef.hostElement.style,We=this._overlayRef.getConfig(),{width:ct,height:ft,maxWidth:Tt,maxHeight:un}=We,Dn=!("100%"!==ct&&"100vw"!==ct||Tt&&"100%"!==Tt&&"100vw"!==Tt),rn=!("100%"!==ft&&"100vh"!==ft||un&&"100%"!==un&&"100vh"!==un),vn=this._xPosition,Pt=this._xOffset,_n="rtl"===this._overlayRef.getConfig().direction;let he="",me="",se="";Dn?se="flex-start":"center"===vn?(se="center",_n?me=Pt:he=Pt):_n?"left"===vn||"end"===vn?(se="flex-end",he=Pt):("right"===vn||"start"===vn)&&(se="flex-start",me=Pt):"left"===vn||"start"===vn?(se="flex-start",he=Pt):("right"===vn||"end"===vn)&&(se="flex-end",me=Pt),ae.position=this._cssPosition,ae.marginLeft=Dn?"0":he,ae.marginTop=rn?"0":this._topOffset,ae.marginBottom=this._bottomOffset,ae.marginRight=Dn?"0":me,Re.justifyContent=se,Re.alignItems=rn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ae=this._overlayRef.overlayElement.style,Re=this._overlayRef.hostElement,We=Re.style;Re.classList.remove(Un),We.justifyContent=We.alignItems=ae.marginTop=ae.marginBottom=ae.marginLeft=ae.marginRight=ae.position="",this._overlayRef=null,this._isDisposed=!0}}let $n=(()=>{class ze{constructor(Re,We,ct,ft){this._viewportRuler=Re,this._document=We,this._platform=ct,this._overlayContainer=ft}global(){return new Zt}flexibleConnectedTo(Re){return new Ne(Re,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(We){return new(We||ze)(x.KVO(s.Xj),x.KVO(c.qQ),x.KVO(l.OD),x.KVO(kt))};static#t=this.\u0275prov=x.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),Wn=0,Bn=(()=>{class ze{constructor(Re,We,ct,ft,Tt,un,Dn,rn,vn,Pt,_n,he){this.scrollStrategies=Re,this._overlayContainer=We,this._componentFactoryResolver=ct,this._positionBuilder=ft,this._keyboardDispatcher=Tt,this._injector=un,this._ngZone=Dn,this._document=rn,this._directionality=vn,this._location=Pt,this._outsideClickDispatcher=_n,this._animationsModuleType=he}create(Re){const We=this._createHostElement(),ct=this._createPaneElement(We),ft=this._createPortalOutlet(ct),Tt=new Ve(Re);return Tt.direction=Tt.direction||this._directionality.value,new Qe(ft,We,ct,Tt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Re){const We=this._document.createElement("div");return We.id="cdk-overlay-"+Wn++,We.classList.add("cdk-overlay-pane"),Re.appendChild(We),We}_createHostElement(){const Re=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Re),Re}_createPortalOutlet(Re){return this._appRef||(this._appRef=this._injector.get(x.o8S)),new A.aI(Re,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(We){return new(We||ze)(x.KVO(Bt),x.KVO(kt),x.KVO(x.OM3),x.KVO($n),x.KVO(Ct),x.KVO(x.zZn),x.KVO(x.SKi),x.KVO(c.qQ),x.KVO(D.dS),x.KVO(c.aZ),x.KVO(Ot),x.KVO(x.bc$,8))};static#t=this.\u0275prov=x.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();const sn={provide:new x.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ze=(0,x.WQX)(Bn);return()=>ze.scrollStrategies.reposition()}}),deps:[Bn],useFactory:function xn(ze){return()=>ze.scrollStrategies.reposition()}};let pt=(()=>{class ze{static#e=this.\u0275fac=function(We){return new(We||ze)};static#t=this.\u0275mod=x.$C({type:ze});static#n=this.\u0275inj=x.G2t({providers:[Bn,sn],imports:[D.jI,A.jc,s.E9,s.E9]})}return ze})()},36860:(ht,ue,o)=>{"use strict";o.d(ue,{BQ:()=>V,CZ:()=>Me,Fb:()=>Ft,KT:()=>ye,OD:()=>I,v8:()=>Bt,vc:()=>rt});var s=o(54438),c=o(60177);let x;try{x=typeof Intl<"u"&&Intl.v8BreakIterator}catch{x=!1}let D,K,ie,I=(()=>{class Ve{constructor(Pe){this._platformId=Pe,this.isBrowser=this._platformId?(0,c.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!x)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(Je){return new(Je||Ve)(s.KVO(s.Agw))};static#t=this.\u0275prov=s.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"})}return Ve})();function V(Ve){return function A(){if(null==D&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>D=!0}))}finally{D=D||!1}return D}()?Ve:!!Ve.capture}function Me(){if(null==K){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return K=!1,K;if("scrollBehavior"in document.documentElement.style)K=!0;else{const Ve=Element.prototype.scrollTo;K=!!Ve&&!/\{\s*\[native code\]\s*\}/.test(Ve.toString())}}return K}function ye(Ve){if(function ge(){if(null==ie){const Ve=typeof document<"u"?document.head:null;ie=!(!Ve||!Ve.createShadowRoot&&!Ve.attachShadow)}return ie}()){const mt=Ve.getRootNode?Ve.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&mt instanceof ShadowRoot)return mt}return null}function rt(){let Ve=typeof document<"u"&&document?document.activeElement:null;for(;Ve&&Ve.shadowRoot;){const mt=Ve.shadowRoot.activeElement;if(mt===Ve)break;Ve=mt}return Ve}function Ft(Ve){return Ve.composedPath?Ve.composedPath()[0]:Ve.target}function Bt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},76939:(ht,ue,o)=>{"use strict";o.d(ue,{A8:()=>A,I3:()=>ye,VA:()=>V,aI:()=>Me,jc:()=>Ft});var s=o(54438),c=o(60177);class D{attach(mt){return this._attachedHost=mt,mt.attach(this)}detach(){let mt=this._attachedHost;null!=mt&&(this._attachedHost=null,mt.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(mt){this._attachedHost=mt}}class A extends D{constructor(mt,Pe,Je,ke,He){super(),this.component=mt,this.viewContainerRef=Pe,this.injector=Je,this.componentFactoryResolver=ke,this.projectableNodes=He}}class V extends D{constructor(mt,Pe,Je,ke){super(),this.templateRef=mt,this.viewContainerRef=Pe,this.context=Je,this.injector=ke}get origin(){return this.templateRef.elementRef}attach(mt,Pe=this.context){return this.context=Pe,super.attach(mt)}detach(){return this.context=void 0,super.detach()}}class Z extends D{constructor(mt){super(),this.element=mt instanceof s.aKT?mt.nativeElement:mt}}class re{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(mt){return mt instanceof A?(this._attachedPortal=mt,this.attachComponentPortal(mt)):mt instanceof V?(this._attachedPortal=mt,this.attachTemplatePortal(mt)):this.attachDomPortal&&mt instanceof Z?(this._attachedPortal=mt,this.attachDomPortal(mt)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(mt){this._disposeFn=mt}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Me extends re{constructor(mt,Pe,Je,ke,He){super(),this.outletElement=mt,this._componentFactoryResolver=Pe,this._appRef=Je,this._defaultInjector=ke,this.attachDomPortal=ot=>{const Ct=ot.element,Ot=this._document.createComment("dom-portal");Ct.parentNode.insertBefore(Ot,Ct),this.outletElement.appendChild(Ct),this._attachedPortal=ot,super.setDisposeFn(()=>{Ot.parentNode&&Ot.parentNode.replaceChild(Ct,Ot)})},this._document=He}attachComponentPortal(mt){const Je=(mt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(mt.component);let ke;return mt.viewContainerRef?(ke=mt.viewContainerRef.createComponent(Je,mt.viewContainerRef.length,mt.injector||mt.viewContainerRef.injector,mt.projectableNodes||void 0),this.setDisposeFn(()=>ke.destroy())):(ke=Je.create(mt.injector||this._defaultInjector||s.zZn.NULL),this._appRef.attachView(ke.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ke.hostView),ke.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ke)),this._attachedPortal=mt,ke}attachTemplatePortal(mt){let Pe=mt.viewContainerRef,Je=Pe.createEmbeddedView(mt.templateRef,mt.context,{injector:mt.injector});
1return Je.rootNodes.forEach(ke=>this.outletElement.appendChild(ke)),Je.detectChanges(),this.setDisposeFn(()=>{let ke=Pe.indexOf(Je);-1!==ke&&Pe.remove(ke)}),this._attachedPortal=mt,Je}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(mt){return mt.hostView.rootNodes[0]}}let ye=(()=>{class Ve extends re{constructor(Pe,Je,ke){super(),this._componentFactoryResolver=Pe,this._viewContainerRef=Je,this._isInitialized=!1,this.attached=new s.bkB,this.attachDomPortal=He=>{const ot=He.element,Ct=this._document.createComment("dom-portal");He.setAttachedHost(this),ot.parentNode.insertBefore(Ct,ot),this._getRootNode().appendChild(ot),this._attachedPortal=He,super.setDisposeFn(()=>{Ct.parentNode&&Ct.parentNode.replaceChild(ot,Ct)})},this._document=ke}get portal(){return this._attachedPortal}set portal(Pe){this.hasAttached()&&!Pe&&!this._isInitialized||(this.hasAttached()&&super.detach(),Pe&&super.attach(Pe),this._attachedPortal=Pe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Pe){Pe.setAttachedHost(this);const Je=null!=Pe.viewContainerRef?Pe.viewContainerRef:this._viewContainerRef,He=(Pe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Pe.component),ot=Je.createComponent(He,Je.length,Pe.injector||Je.injector,Pe.projectableNodes||void 0);return Je!==this._viewContainerRef&&this._getRootNode().appendChild(ot.hostView.rootNodes[0]),super.setDisposeFn(()=>ot.destroy()),this._attachedPortal=Pe,this._attachedRef=ot,this.attached.emit(ot),ot}attachTemplatePortal(Pe){Pe.setAttachedHost(this);const Je=this._viewContainerRef.createEmbeddedView(Pe.templateRef,Pe.context,{injector:Pe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Pe,this._attachedRef=Je,this.attached.emit(Je),Je}_getRootNode(){const Pe=this._viewContainerRef.element.nativeElement;return Pe.nodeType===Pe.ELEMENT_NODE?Pe:Pe.parentNode}static#e=this.\u0275fac=function(Je){return new(Je||Ve)(s.rXU(s.OM3),s.rXU(s.c1b),s.rXU(c.qQ))};static#t=this.\u0275dir=s.FsC({type:Ve,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[s.Mj6.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[s.Vt3]})}return Ve})(),Ft=(()=>{class Ve{static#e=this.\u0275fac=function(Je){return new(Je||Ve)};static#t=this.\u0275mod=s.$C({type:Ve});static#n=this.\u0275inj=s.G2t({})}return Ve})()},24910:(ht,ue,o)=>{"use strict";o.d(ue,{Gj:()=>ui,R:()=>Rt,E9:()=>xn,Xj:()=>In});var s=o(14085),c=o(54438),x=o(45286),I=o(14421),l=o(45817),u=o(73586);o(75128);let C=1;const D=Promise.resolve(),A={};function V(sn){return sn in A&&(delete A[sn],!0)}const Z={setImmediate(sn){const pt=C++;return A[pt]=!0,D.then(()=>V(pt)&&sn()),pt},clearImmediate(sn){V(sn)}};var K=o(68189),Oe=o(76228);new class ie extends Oe.q{flush(pt){this.active=!0,this.scheduled=void 0;const{actions:lt}=this;let ze,ae=-1,Re=lt.length;pt=pt||lt.shift();do{if(ze=pt.execute(pt.state,pt.delay))break}while(++ae<Re&&(pt=lt.shift()));if(this.active=!1,ze){for(;++ae<Re&&(pt=lt.shift());)pt.unsubscribe();throw ze}}}(class Me extends K.R{constructor(pt,lt){super(pt,lt),this.scheduler=pt,this.work=lt}requestAsyncId(pt,lt,ze=0){return null!==ze&&ze>0?super.requestAsyncId(pt,lt,ze):(pt.actions.push(this),pt.scheduled||(pt.scheduled=Z.setImmediate(pt.flush.bind(pt,null))))}recycleAsyncId(pt,lt,ze=0){if(null!==ze&&ze>0||null===ze&&this.delay>0)return super.recycleAsyncId(pt,lt,ze);0===pt.actions.length&&(Z.clearImmediate(lt),pt.scheduled=void 0)}});var rt=o(41080),Ft=o(13004);class Ve{constructor(pt){this.durationSelector=pt}call(pt,lt){return lt.subscribe(new mt(pt,this.durationSelector))}}class mt extends Ft.gn{constructor(pt,lt){super(pt),this.durationSelector=lt,this.hasValue=!1}_next(pt){if(this.value=pt,this.hasValue=!0,!this.throttled){let lt;try{const{durationSelector:ae}=this;lt=ae(pt)}catch(ae){return this.destination.error(ae)}const ze=(0,Ft.tS)(lt,new Ft.zA(this));!ze||ze.closed?this.clearThrottle():this.add(this.throttled=ze)}}clearThrottle(){const{value:pt,hasValue:lt,throttled:ze}=this;ze&&(this.remove(ze),this.throttled=void 0,ze.unsubscribe()),lt&&(this.value=void 0,this.hasValue=!1,this.destination.next(pt))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var Pe=o(76651);function Je(sn,pt=rt.b){return function Bt(sn){return function(lt){return lt.lift(new Ve(sn))}}(()=>(0,Pe.O)(sn,pt))}var ke=o(58728),He=o(36860),ot=o(60177),Ct=o(28203);let Rt=(()=>{class sn{constructor(lt,ze,ae){this._ngZone=lt,this._platform=ze,this._scrolled=new x.B7,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ae}register(lt){this.scrollContainers.has(lt)||this.scrollContainers.set(lt,lt.elementScrolled().subscribe(()=>this._scrolled.next(lt)))}deregister(lt){const ze=this.scrollContainers.get(lt);ze&&(ze.unsubscribe(),this.scrollContainers.delete(lt))}scrolled(lt=20){return this._platform.isBrowser?new l.c(ze=>{this._globalSubscription||this._addGlobalListener();const ae=lt>0?this._scrolled.pipe(Je(lt)).subscribe(ze):this._scrolled.subscribe(ze);return this._scrolledCount++,()=>{ae.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,I.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEac
1h((lt,ze)=>this.deregister(ze)),this._scrolled.complete()}ancestorScrolled(lt,ze){const ae=this.getAncestorScrollContainers(lt);return this.scrolled(ze).pipe((0,ke.p)(Re=>!Re||ae.indexOf(Re)>-1))}getAncestorScrollContainers(lt){const ze=[];return this.scrollContainers.forEach((ae,Re)=>{this._scrollableContainsElement(Re,lt)&&ze.push(Re)}),ze}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(lt,ze){let ae=(0,s.i8)(ze),Re=lt.getElementRef().nativeElement;do{if(ae==Re)return!0}while(ae=ae.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const lt=this._getWindow();return(0,u.R)(lt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(ze){return new(ze||sn)(c.KVO(c.SKi),c.KVO(He.OD),c.KVO(ot.qQ,8))};static#t=this.\u0275prov=c.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})}return sn})(),In=(()=>{class sn{constructor(lt,ze,ae){this._platform=lt,this._change=new x.B7,this._changeListener=Re=>{this._change.next(Re)},this._document=ae,ze.runOutsideAngular(()=>{if(lt.isBrowser){const Re=this._getWindow();Re.addEventListener("resize",this._changeListener),Re.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const lt=this._getWindow();lt.removeEventListener("resize",this._changeListener),lt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const lt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),lt}getViewportRect(){const lt=this.getViewportScrollPosition(),{width:ze,height:ae}=this.getViewportSize();return{top:lt.top,left:lt.left,bottom:lt.top+ae,right:lt.left+ze,height:ae,width:ze}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const lt=this._document,ze=this._getWindow(),ae=lt.documentElement,Re=ae.getBoundingClientRect();return{top:-Re.top||lt.body.scrollTop||ze.scrollY||ae.scrollTop||0,left:-Re.left||lt.body.scrollLeft||ze.scrollX||ae.scrollLeft||0}}change(lt=20){return lt>0?this._change.pipe(Je(lt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const lt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:lt.innerWidth,height:lt.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(ze){return new(ze||sn)(c.KVO(He.OD),c.KVO(c.SKi),c.KVO(ot.qQ,8))};static#t=this.\u0275prov=c.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})}return sn})(),ui=(()=>{class sn{static#e=this.\u0275fac=function(ze){return new(ze||sn)};static#t=this.\u0275mod=c.$C({type:sn});static#n=this.\u0275inj=c.G2t({})}return sn})(),xn=(()=>{class sn{static#e=this.\u0275fac=function(ze){return new(ze||sn)};static#t=this.\u0275mod=c.$C({type:sn});static#n=this.\u0275inj=c.G2t({imports:[Ct.jI,ui,Ct.jI,ui]})}return sn})()},97768:(ht,ue,o)=>{"use strict";o.d(ue,{FK:()=>Ft,Up:()=>ye,VI:()=>ge,nb:()=>re,uY:()=>Bt,v5:()=>rt});var s=o(96039),c=o(28203),x=o(67336),I=o(54438),l=o(36860),u=o(45286),g=o(14421),C=o(23176),D=o(7605);const A=["*"];function V(Ve,mt){1&Ve&&I.SdG(0)}let Z=(()=>{class Ve{constructor(Pe){this._elementRef=Pe}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(Je){return new(Je||Ve)(I.rXU(I.aKT))};static#t=this.\u0275dir=I.FsC({type:Ve,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}return Ve})(),re=(()=>{class Ve{constructor(Pe){this.template=Pe}static#e=this.\u0275fac=function(Je){return new(Je||Ve)(I.rXU(I.C4Q))};static#t=this.\u0275dir=I.FsC({type:Ve,selectors:[["","cdkStepLabel",""]],standalone:!0})}return Ve})(),K=0;const ie=new I.nKC("STEPPER_GLOBAL_OPTIONS");let ge=(()=>{class Ve{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(Pe){this._completedOverride=Pe}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(Pe){this._customError=Pe}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(Pe,Je){this._stepper=Pe,this.interacted=!1,this.interactedStream=new I.bkB,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=Je||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(Je){return new(Je||Ve)(I.rXU((0,I.Rfq)(()=>ye)),I.rXU(ie,8))};static#t=this.\u0275cmp=I.VBU({type:Ve,selectors:[["cdk-step"]],contentQueries:function(Je,ke,He){if(1&Je&&I.wni(He,re,5),2&Je){let ot;I.mGM(ot=I.lsd())&&(ke.stepLabel=ot.first)}},viewQuery:function(Je,ke){if(1&Je&&I.GBs(I.C4Q,7),2&Je){let He;I.mGM(He=I.lsd())&&(ke.content=He.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[I.Mj6.None,"aria-label","ariaLabel"],ariaLabelledby:[I.Mj6.None,"aria-labelledby","ariaLabelledby"],state:"state",editable:[I.Mj6.HasDecoratorInputTransform,"editable","editable",I.L39],optional:[I.Mj6.HasDecoratorInputTransform,"optional","optional",I.L39],completed:[I.Mj6.HasDecoratorInputTransform,"completed","completed",I.L39],hasError:[I.Mj6.HasDecoratorInputTransform,"hasError","hasError",I.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[I.GFd,I.OA$,I.aNF],ngContentSelectors:A,decls:1,vars:0,template:function(Je,ke){1&Je&&(I.NAR(),I.DNE(0,V,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return Ve})(),ye=(()=>{class Ve{get selectedIndex(){return this._selectedIndex}set selectedIndex(Pe){this.steps&&this._steps?(this._isValidIndex(Pe),this.selected?._markAsInteracted(),this._selectedIndex!==Pe&&!this._anyControlsInvalidOrPending(Pe)&&(Pe>=this._selectedIndex||this.steps.toArray()[Pe].editable)&&this._updateSelectedItemIndex(Pe)):this._selectedIndex=Pe}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Pe){this.selectedIndex=Pe&&this.steps?this.steps.toArray().indexOf(Pe):-1}get orientation(){return this._orientation}set orientation(Pe){this._orientation=Pe,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Pe)}constructor(Pe,Je,ke){this._dir=Pe,this._changeDetectorRef=Je,this._elementRef=ke,this._destroyed=new u.B7,this.steps=new I.rOR,this._sortedHeaders=new I.rOR,this.linear=!1,this._selectedIndex=0,this.selectionChange=new I.bkB,this.selectedIndexChange=new I.bkB,this._orientation="horizontal",this._groupId=K++}ngAfterContentInit(){this._steps.changes.pipe((0,C.Z)(this._steps),(0,D.Q)(this._destroyed)).subscribe(Pe=>{this.steps.reset(Pe.filter(Je=>Je._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,C.Z)(this._stepHeader),(0,D.Q)(this._destroyed)).subscribe(Pe=>{this._sortedHeaders.reset(Pe.toArray().sort((Je,ke)=>Je._elementRef.nativeElement.compareDocumentPosition(ke._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new s.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,g.of)()).pipe((0,C.Z)(this._layoutDirection()),(0,D.Q)(this._destroyed)).subscribe(Pe=>this._keyManager.withHorizontalOrientation(Pe)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(Pe=>Pe.reset()),this._stateChanged()}_getStepLabelId(Pe){return`cdk-step-label-${this._groupId}-${Pe}`}_getStepContentId(Pe){return`cdk-step-content-${this._groupId}-${Pe}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Pe){const Je=Pe-this._selectedIndex;return Je<0?"rtl"===this._layoutDirection()?"next":"previous":Je>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(Pe,Je="number"){const ke=this.steps.toArray()[Pe],He=this._isCurrentStep(Pe);return ke._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(ke,He):this._getGuidelineLogic(ke,He,Je)}_getDefaultIndicatorLogic(Pe,Je){return Pe._showError()&&Pe.hasError&&!Je?"error":!Pe.completed||Je?"number":Pe.editable?"edit":"done"}_getGuidelineLogic(Pe,Je,ke="number"){return Pe._showError()&&Pe.hasError&&!Je?"error":Pe.completed&&!Je?"done":Pe.completed&&Je?ke:Pe.editable&&Je?"edit":ke}_isCurrentStep(Pe){return this._selectedIndex===Pe}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(Pe){const Je=this.steps.toArray();this.selectionChange.emit({selectedIndex:Pe,previouslySelectedIndex:this._selectedIndex,selectedStep:Je[Pe],previouslySelectedStep:Je[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(Pe):this._keyManager.updateActiveItem(Pe),this._selectedIndex=Pe,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(Pe){const Je=(0,x.rp)(Pe),ke=Pe.keyCode,He=this._keyManager;null==He.activeItemIndex||Je||ke!==x.t6&&ke!==x.Fm?He.setFocusOrigin("keyboard").onKeydown(Pe):(this.selectedIndex=He.activeItemIndex,Pe.preventDefault())}_anyControlsInvalidOrPending(Pe){return!!(this.linear&&Pe>=0)&&this.steps.toArray().slice(0,Pe).some(Je=>{const ke=Je.stepControl;return(ke?ke.invalid||ke.pending||!Je.interacted:!Je.completed)&&!Je.optional&&!Je._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Pe=this._elementRef.nativeElement,Je=(0,l.vc)();return Pe===Je||Pe.contains(Je)}_isValidIndex(Pe){return Pe>-1&&(!this.steps||Pe<this.steps.length)}static#e=this.\u0275fac=function(Je){return new(Je||Ve)(I.rXU(c.dS,8),I.rXU(I.gRc),I.rXU(I.aKT))};static#t=this.\u0275dir=I.FsC({type:Ve,selectors:[["","cdkStepper",""]],contentQueries:function(Je,ke,He){if(1&Je&&(I.wni(He,ge,5),I.wni(He,Z,5)),2&Je){let ot;I.mGM(ot=I.lsd())&&(ke._steps=ot),I.mGM(ot=I.lsd())&&(ke._stepHeader=ot)}},inputs:{linear:[I.Mj6.HasDecoratorInputTransform,"linear","linear",I.L39],selectedIndex:[I.Mj6.HasDecoratorInputTransform,"selectedIndex","selectedIndex",I.Udg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[I.GFd]})}return Ve})(),rt=(()=>{class Ve{constructor(Pe){this._stepper=Pe,this.type="submit"}static#e=this.\u0275fac=function(Je){return new(Je||Ve)(I.rXU(ye))};static#t=this.\u0275dir=I.FsC({type:Ve,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(Je,ke){1&Je&&I.bIt("click",function(){return ke._stepper.next()}),2&Je&&I.Mr5("type",ke.type)},inputs:{type:"type"},standalone:!0})}return Ve})(),Ft=(()=>{class Ve{constructor(Pe){this._stepper=Pe,this.type="button"}static#e=this.\u0275fac=function(Je){return new(Je||Ve)(I.rXU(ye))};static#t=this.\u0275dir=I.FsC({type:Ve,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(Je,ke){1&Je&&I.bIt("click",function(){return ke._stepper.previous()}),2&Je&&I.Mr5("type",ke.type)},inputs:{type:"type"},standalone:!0})}return Ve})(),Bt=(()=>{class Ve{static#e=this.\u0275fac=function(Je){return new(Je||Ve)};static#t=this.\u0275mod=I.$C({type:Ve});static#n=this.\u0275inj=I.G2t({imports:[c.jI]})}return Ve})()},45887:(ht,ue,o)=>{"use strict";o.d(ue,{AL:()=>Je,EZ:()=>Ft,I8:()=>Yt,N0:()=>Pt,RT:()=>We,Rk:()=>Tt,To:()=>kt,VP:()=>Ct,cO:()=>Ve,hc:()=>Gt,hi:()=>Ne,lH:()=>Re,lQ:()=>Qe,n5:()=>mt,oh:()=>Rt,pe:()=>ae,sY:()=>He,yT:()=>ze});var s=o(28203),c=o(45024),x=o(36860),I=o(24910),l=o(60177),u=o(54438),g=o(45286),C=o(84787),D=o(79928),A=o(8982),V=o(14421),Z=o(7605),re=o(19493);const K=[[["caption"]],[["colgroup"],["col"]],"*"],Me=["caption","colgroup, col","*"];function Oe(he,me){1&he&&u.SdG(0,2)}function ie(he,me){1&he&&(u.j41(0,"thead",0),u.eu8(1,1),u.k0s(),u.j41(2,"tbody",0),u.eu8(3,2)(4,3),u.k0s(),u.j41(5,"tfoot",0),u.eu8(6,4),u.k0s())}function ge(he,me){1&he&&u.eu8(0,1)(1,2)(2,3)(3,4)}const Ft=new u.nKC("CDK_TABLE");let Ve=(()=>{class he{constructor(se){this.template=se}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.C4Q))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","cdkCellDef",""]],standalone:!0})}return he})(),mt=(()=>{class he{constructor(se){this.template=se}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.C4Q))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return he})(),Pe=(()=>{class he{constructor(se){this.template=se}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.C4Q))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return he})(),Je=(()=>{class he{get name(){return this._name}set name(se){this._setNameInput(se)}get sticky(){return this._sticky}set sticky(se){se!==this._sticky&&(this._sticky=se,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(se){se!==this._stickyEnd&&(this._stickyEnd=se,this._hasStickyChanged=!0)}constructor(se){this._table=se,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const se=this._hasStickyChanged;return this.resetStickyChanged(),se}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(se){se&&(this._name=se,this.cssClassFriendlyName=se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(Ft,8))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","cdkColumnDef",""]],contentQueries:function(q,Ce,dt){if(1&q&&(u.wni(dt,Ve,5),u.wni(dt,mt,5),u.wni(dt,Pe,5)),2&q){let Ze;u.mGM(Ze=u.lsd())&&(Ce.cell=Ze.first),u.mGM(Ze=u.lsd())&&(Ce.headerCell=Ze.first),u.mGM(Ze=u.lsd())&&(Ce.footerCell=Ze.first)}},inputs:{name:[u.Mj6.None,"cdkColumnDef","name"],sticky:[u.Mj6.HasDecoratorInputTransform,"sticky","sticky",u.L39],stickyEnd:[u.Mj6.HasDecoratorInputTransform,"stickyEnd","stickyEnd",u.L39]},standalone:!0,features:[u.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:he}]),u.GFd]})}return he})();class ke{constructor(me,se){se.nativeElement.classList.add(...me._columnCssClassName)}}let He=(()=>{class he extends ke{constructor(se,q){super(se,q)}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(Je),u.rXU(u.aKT))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[u.Vt3]})}return he})(),Ct=(()=>{class he extends ke{constructor(se,q){super(se,q);const Ce=se._table?._getCellRole();Ce&&q.nativeElement.setAttribute("role",Ce)}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(Je),u.rXU(u.aKT))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[u.Vt3]})}return he})();class Ot{constructor(){this.tasks=[],this.endTasks=[]}}const kt=new u.nKC("_COALESCED_STYLE_SCHEDULER");let Qe=(()=>{class he{constructor(se){this._ngZone=se,this._curren
1tSchedule=null,this._destroyed=new g.B7}schedule(se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(se)}scheduleEnd(se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(se)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Ot,this._getScheduleObservable().pipe((0,Z.Q)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const se=this._currentSchedule;this._currentSchedule=new Ot;for(const q of se.tasks)q();for(const q of se.endTasks)q()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,C.H)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,re.s)(1))}static#e=this.\u0275fac=function(q){return new(q||he)(u.KVO(u.SKi))};static#t=this.\u0275prov=u.jDH({token:he,factory:he.\u0275fac})}return he})(),ce=(()=>{class he{constructor(se,q){this.template=se,this._differs=q}ngOnChanges(se){if(!this._columnsDiffer){const q=se.columns&&se.columns.currentValue||[];this._columnsDiffer=this._differs.find(q).create(),this._columnsDiffer.diff(q)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(se){return this instanceof Ne?se.headerCell.template:this instanceof it?se.footerCell.template:se.cell.template}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.C4Q),u.rXU(u._q3))};static#t=this.\u0275dir=u.FsC({type:he,features:[u.OA$]})}return he})(),Ne=(()=>{class he extends ce{get sticky(){return this._sticky}set sticky(se){se!==this._sticky&&(this._sticky=se,this._hasStickyChanged=!0)}constructor(se,q,Ce){super(se,q),this._table=Ce,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(se){super.ngOnChanges(se)}hasStickyChanged(){const se=this._hasStickyChanged;return this.resetStickyChanged(),se}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.C4Q),u.rXU(u._q3),u.rXU(Ft,8))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[u.Mj6.None,"cdkHeaderRowDef","columns"],sticky:[u.Mj6.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",u.L39]},standalone:!0,features:[u.GFd,u.Vt3,u.OA$]})}return he})(),it=(()=>{class he extends ce{get sticky(){return this._sticky}set sticky(se){se!==this._sticky&&(this._sticky=se,this._hasStickyChanged=!0)}constructor(se,q,Ce){super(se,q),this._table=Ce,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(se){super.ngOnChanges(se)}hasStickyChanged(){const se=this._hasStickyChanged;return this.resetStickyChanged(),se}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.C4Q),u.rXU(u._q3),u.rXU(Ft,8))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[u.Mj6.None,"cdkFooterRowDef","columns"],sticky:[u.Mj6.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",u.L39]},standalone:!0,features:[u.GFd,u.Vt3,u.OA$]})}return he})(),Rt=(()=>{class he extends ce{constructor(se,q,Ce){super(se,q),this._table=Ce}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.C4Q),u.rXU(u._q3),u.rXU(Ft,8))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","cdkRowDef",""]],inputs:{columns:[u.Mj6.None,"cdkRowDefColumns","columns"],when:[u.Mj6.None,"cdkRowDefWhen","when"]},standalone:!0,features:[u.Vt3]})}return he})(),Yt=(()=>{class he{static#e=this.mostRecentCellOutlet=null;constructor(se){this._viewContainer=se,he.mostRecentCellOutlet=this}ngOnDestroy(){he.mostRecentCellOutlet===this&&(he.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.c1b))};static#n=this.\u0275dir=u.FsC({type:he,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return he})(),Gt=(()=>{class he{static#e=this.\u0275fac=function(q){return new(q||he)};static#t=this.\u0275cmp=u.VBU({type:he,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[u.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(q,Ce){1&q&&u.eu8(0,0)},dependencies:[Yt],encapsulation:2})}return he})(),Un=(()=>{class he{constructor(se){this.templateRef=se,this._contentClassName="
1cdk-no-data-row"}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.C4Q))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return he})();const Zt=["top","bottom","left","right"];class $n{constructor(me,se,q,Ce,dt=!0,Ze=!0,Ht){this._isNativeHtmlTable=me,this._stickCellCss=se,this.direction=q,this._coalescedStyleScheduler=Ce,this._isBrowser=dt,this._needsPositionStickyOnElement=Ze,this._positionListener=Ht,this._cachedCellWidths=[],this._borderCellCss={top:`${se}-border-elem-top`,bottom:`${se}-border-elem-bottom`,left:`${se}-border-elem-left`,right:`${se}-border-elem-right`}}clearStickyPositioning(me,se){const q=[];for(const Ce of me)if(Ce.nodeType===Ce.ELEMENT_NODE){q.push(Ce);for(let dt=0;dt<Ce.children.length;dt++)q.push(Ce.children[dt])}this._coalescedStyleScheduler.schedule(()=>{for(const Ce of q)this._removeStickyStyle(Ce,se)})}updateStickyColumns(me,se,q,Ce=!0){me.length&&this._isBrowser&&(se.some(dt=>dt)||q.some(dt=>dt))?this._coalescedStyleScheduler.schedule(()=>{const dt=me[0],Ze=dt.children.length,Ht=this._getCellWidths(dt,Ce),at=this._getStickyStartColumnPositions(Ht,se),Vt=this._getStickyEndColumnPositions(Ht,q),_e=se.lastIndexOf(!0),Ke=q.indexOf(!0),De="rtl"===this.direction,Ue=De?"right":"left",Mt=De?"left":"right";for(const Qt of me)for(let nn=0;nn<Ze;nn++){const bt=Qt.children[nn];se[nn]&&this._addStickyStyle(bt,Ue,at[nn],nn===_e),q[nn]&&this._addStickyStyle(bt,Mt,Vt[nn],nn===Ke)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===_e?[]:Ht.slice(0,_e+1).map((Qt,nn)=>se[nn]?Qt:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ke?[]:Ht.slice(Ke).map((Qt,nn)=>q[nn+Ke]?Qt:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(me,se,q){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const Ce="bottom"===q?me.slice().reverse():me,dt="bottom"===q?se.slice().reverse():se,Ze=[],Ht=[],at=[];for(let _e=0,Ke=0;_e<Ce.length;_e++){if(!dt[_e])continue;Ze[_e]=Ke;const De=Ce[_e];at[_e]=this._isNativeHtmlTable?Array.from(De.children):[De];const Ue=De.getBoundingClientRect().height;Ke+=Ue,Ht[_e]=Ue}const Vt=dt.lastIndexOf(!0);for(let _e=0;_e<Ce.length;_e++){if(!dt[_e])continue;const Ke=Ze[_e],De=_e===Vt;for(const Ue of at[_e])this._addStickyStyle(Ue,q,Ke,De)}"top"===q?this._positionListener?.stickyHeaderRowsUpdated({sizes:Ht,offsets:Ze,elements:at}):this._positionListener?.stickyFooterRowsUpdated({sizes:Ht,offsets:Ze,elements:at})})}updateStickyFooterContainer(me,se){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{const q=me.querySelector("tfoot");q&&(se.some(Ce=>!Ce)?this._removeStickyStyle(q,["bottom"]):this._addStickyStyle(q,"bottom",0,!1))})}_removeStickyStyle(me,se){for(const Ce of se)me.style[Ce]="",me.classList.remove(this._borderCellCss[Ce]);Zt.some(Ce=>-1===se.indexOf(Ce)&&me.style[Ce])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,se,q,Ce){me.classList.add(this._stickCellCss),Ce&&me.classList.add(this._borderCellCss[se]),me.style[se]=`${q}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const se={top:100,bottom:10,left:1,right:1};let q=0;for(const Ce of Zt)me.style[Ce]&&(q+=se[Ce]);return q?`${q}`:""}_getCellWidths(me,se=!0){if(!se&&this._cachedCellWidths.length)return this._cachedCellWidths;const q=[],Ce=me.children;for(let dt=0;dt<Ce.length;dt++)q.push(Ce[dt].getBoundingClientRect().width);return this._cachedCellWidths=q,q}_getStickyStartColumnPositions(me,se){const q=[];let Ce=0;for(let dt=0;dt<me.length;dt++)se[dt]&&(q[dt]=Ce,Ce+=me[dt]);return q}_getStickyEndColumnPositions(me,se){const q=[];let Ce=0;for(let dt=me.length;dt>0;dt--)se[dt]&&(q[dt]=Ce,Ce+=me[dt]);return q}}const pt=new u.nKC("CDK_SPL");let ze=(()=>{class he{constructor(se,q){this.viewContainer=se,this.elementRef=q;const Ce=(0,u.WQX)(Ft);Ce._rowOutlet=this,Ce._outletAssigned()}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.c1b),u.rXU(u.aKT))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","rowOutlet",""]],standalone:!0})}return he})(),ae=(()=>{class he{constructor(se,q){this.viewContainer=se,this.elementRef=q;const Ce=(0,u.WQX)(Ft);Ce._headerRowOutlet=this,Ce._outletAssigned()}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.c1b),u.rXU(u.aKT))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","headerRowOutlet",""]],standalone:!0})}return he})(),Re=(()=>{class he{constructor(se,q){this.viewContainer=se,this.elementRef=q;const Ce=(0,u.WQX)(Ft);Ce._footerRowOutlet=this,Ce._outletAssigned()}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.c1b),u.rXU(u.aKT))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","footerRowOutlet",""]],standalone:!0})}return he})(),We=(()=>{class he{constructor(se,q){this.viewContainer=se,this.elementRef=q;const Ce=(0,u.WQX)(Ft);Ce._noDataRowOutlet=this,Ce._outletAssigned()}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u.c1b),u.rXU(u.aKT))};static#t=this.\u0275dir=u.FsC({type:he,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return he})(),Tt=(()=>{class he{_getCellRole(){if(void 0===this._cellRoleInternal){const se=this._elementRef.nativeElement.getAttribute("role"),q="grid"===se||"treegrid"===se?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===q?null:q}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(se){this._trackByFn=se}get dataSource(){return this._dataSource}set dataSource(se){this._dataSource!==se&&this._switchDataSource(se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(se){this._multiTemplateDataRows=se,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(se){this._fixedLayout=se,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(se,q,Ce,dt,Ze,Ht,at,Vt,_e,Ke,De,Ue){this._differs=se,this._changeDetectorRef=q,this._elementRef=Ce,this._dir=Ze,this._platform=at,this._viewRepeater=Vt,this._coalescedStyleScheduler
1=_e,this._viewportRuler=Ke,this._stickyPositioningListener=De,this._ngZone=Ue,this._onDestroy=new g.B7,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new u.bkB,this.viewChange=new D.t({start:0,end:Number.MAX_VALUE}),dt||Ce.nativeElement.setAttribute("role","table"),this._document=Ht,this._isServer=!at.isBrowser,this._isNativeHtmlTable="TABLE"===Ce.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((se,q)=>this.trackBy?this.trackBy(q.dataIndex,q.data):q),this._viewportRuler.change().pipe((0,Z.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(se=>{se?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,c.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const se=this._dataDiffer.diff(this._renderRows);if(!se)return this._updateNoDataRow(),void this.contentChanged.next();const q=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(se,q,(Ce,dt,Ze)=>this._getEmbeddedViewArgs(Ce.item,Ze),Ce=>Ce.item.data,Ce=>{Ce.operation===c.Q3.INSERTED&&Ce.context&&this._renderCellTemplateForItem(Ce.record.item.rowDef,Ce.context)}),this._updateRowIndexContext(),se.forEachIdentityChange(Ce=>{q.get(Ce.currentIndex).context.$implicit=Ce.item.data}),this._updateNoDataRow(),this._ngZone&&u.SKi.isInAngularZone()?this._ngZone.onStable.pipe((0,re.s)(1),(0,Z.Q)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(se){this._customColumnDefs.add(se)}removeColumnDef(se){this._customColumnDefs.delete(se)}addRowDef(se){this._customRowDefs.add(se)}removeRowDef(se){this._customRowDefs.delete(se)}addHeaderRowDef(se){this._customHeaderRowDefs.add(se),this._headerRowDefChanged=!0}removeHeaderRowDef(se){this._customHeaderRowDefs.delete(se),this._headerRowDefChanged=!0}addFooterRowDef(se){this._customFooterRowDefs.add(se),this._footerRowDefChanged=!0}removeFooterRowDef(se){this._customFooterRowDefs.delete(se),this._footerRowDefChanged=!0}setNoDataRow(se){this._customNoDataRow=se}updateStickyHeaderRowStyles(){const se=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Ce=Dn(this._headerRowOutlet,"thead");Ce&&(Ce.style.display=se.length?"":"none")}const q=this._headerRowDefs.map(Ce=>Ce.sticky);this._stickyStyler.clearStickyPositioning(se,["top"]),this._stickyStyler.stickRows(se,q,"top"),this._headerRowDefs.forEach(Ce=>Ce.resetStickyChanged())}updateStickyFooterRowStyles(){const se=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Ce=Dn(this._footerRowOutlet,"tfoot");Ce&&(Ce.style.display=se.length?"":"none")}const q=this._footerRowDefs.map(Ce=>Ce.sticky);this._stickyStyler.clearStickyPositioning(se,["bottom"]),this._stickyStyler.stickRows(se,q,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,q),this._footerRowDefs.forEach(Ce=>Ce.resetStickyChanged())}updateStickyColumnStyles(){const se=this._getRenderedRows(this._headerRowOutlet),q=this._getRenderedRows(this._rowOutlet),Ce=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...se,...q,...Ce],["left","right"]),this._stickyColumnStylesNeedReset=!1),se.forEach((dt,Ze)=>{this._addStickyColumnStyles([dt],this._headerRowDefs[Ze])}
1),this._rowDefs.forEach(dt=>{const Ze=[];for(let Ht=0;Ht<q.length;Ht++)this._renderRows[Ht].rowDef===dt&&Ze.push(q[Ht]);this._addStickyColumnStyles(Ze,dt)}),Ce.forEach((dt,Ze)=>{this._addStickyColumnStyles([dt],this._footerRowDefs[Ze])}),Array.from(this._columnDefsByName.values()).forEach(dt=>dt.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const q=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||q,this._forceRecalculateCellWidths=q,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const se=[],q=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ce=0;Ce<this._data.length;Ce++){let dt=this._data[Ce];const Ze=this._getRenderRowsForData(dt,Ce,q.get(dt));this._cachedRenderRowsMap.has(dt)||this._cachedRenderRowsMap.set(dt,new WeakMap);for(let Ht=0;Ht<Ze.length;Ht++){let at=Ze[Ht];const Vt=this._cachedRenderRowsMap.get(at.data);Vt.has(at.rowDef)?Vt.get(at.rowDef).push(at):Vt.set(at.rowDef,[at]),se.push(at)}}return se}_getRenderRowsForData(se,q,Ce){return this._getRowDefs(se,q).map(Ze=>{const Ht=Ce&&Ce.has(Ze)?Ce.get(Ze):[];if(Ht.length){const at=Ht.shift();return at.dataIndex=q,at}return{data:se,rowDef:Ze,dataIndex:q}})}_cacheColumnDefs(){this._columnDefsByName.clear(),un(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(q=>{this._columnDefsByName.has(q.name),this._columnDefsByName.set(q.name,q)})}_cacheRowDefs(){this._headerRowDefs=un(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=un(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=un(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const se=this._rowDefs.filter(q=>!q.when);this._defaultRowDef=se[0]}_renderUpdatedColumns(){const se=(Ze,Ht)=>Ze||!!Ht.getColumnsDiff(),q=this._rowDefs.reduce(se,!1);q&&this._forceRenderDataRows();const Ce=this._headerRowDefs.reduce(se,!1);Ce&&this._forceRenderHeaderRows();const dt=this._footerRowDefs.reduce(se,!1);return dt&&this._forceRenderFooterRows(),q||Ce||dt}_switchDataSource(se){this._data=[],(0,c.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=se}_observeRenderChanges(){if(!this.dataSource)return;let se;(0,c.y4)(this.dataSource)?se=this.dataSource.connect(this):(0,A.A)(this.dataSource)?se=this.dataSource:Array.isArray(this.dataSource)&&(se=(0,V.of)(this.dataSource)),this._renderChangeSubscription=se.pipe((0,Z.Q)(this._onDestroy)).subscribe(q=>{this._data=q||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((se,q)=>this._renderRow(this._headerRowOutlet,se,q)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((se,q)=>this._renderRow(this._footerRowOutlet,se,q)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(se,q){const Ce=Array.from(q.columns||[]).map(Ht=>this._columnDefsByName.get(Ht)),dt=Ce.map(Ht=>Ht.sticky),Ze=Ce.map(Ht=>Ht.stickyEnd);this._stickyStyler.updateStickyColumns(se,dt,Ze,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(se){const q=[];for(let Ce=0;Ce<se.viewContainer.length;Ce++){const dt=se.viewContainer.get(Ce);q.push(dt.rootNodes[0])}return q}_getRowDefs(se,q){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Ce=[];if(this.multiTemplateDataRows)Ce=this._rowDefs.filter(dt=>!dt.when||dt.when(q,se));else{let dt=this._rowDefs.find(Ze=>Ze.when&&Ze.when(q,se))||this._defaultRowDef;dt&&Ce.push(dt)}return Ce}_getEmbeddedViewArgs(se,q){return{templateRef:se.rowDef.template,context:{$
1implicit:se.data},index:q}}_renderRow(se,q,Ce,dt={}){const Ze=se.viewContainer.createEmbeddedView(q.template,dt,Ce);return this._renderCellTemplateForItem(q,dt),Ze}_renderCellTemplateForItem(se,q){for(let Ce of this._getCellTemplates(se))Yt.mostRecentCellOutlet&&Yt.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ce,q);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const se=this._rowOutlet.viewContainer;for(let q=0,Ce=se.length;q<Ce;q++){const Ze=se.get(q).context;Ze.count=Ce,Ze.first=0===q,Ze.last=q===Ce-1,Ze.even=q%2==0,Ze.odd=!Ze.even,this.multiTemplateDataRows?(Ze.dataIndex=this._renderRows[q].dataIndex,Ze.renderIndex=q):Ze.index=this._renderRows[q].dataIndex}}_getCellTemplates(se){return se&&se.columns?Array.from(se.columns,q=>{const Ce=this._columnDefsByName.get(q);return se.extractCellTemplate(Ce)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const se=(q,Ce)=>q||Ce.hasStickyChanged();this._headerRowDefs.reduce(se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new $n(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,V.of)()).pipe((0,Z.Q)(this._onDestroy)).subscribe(q=>{this._stickyStyler.direction=q,this.updateStickyColumnStyles()})}_getOwnDefs(se){return se.filter(q=>!q._table||q._table===this)}_updateNoDataRow(){const se=this._customNoDataRow||this._noDataRow;if(!se)return;const q=0===this._rowOutlet.viewContainer.length;if(q===this._isShowingNoDataRow)return;const Ce=this._noDataRowOutlet.viewContainer;if(q){const dt=Ce.createEmbeddedView(se.templateRef),Ze=dt.rootNodes[0];1===dt.rootNodes.length&&Ze?.nodeType===this._document.ELEMENT_NODE&&(Ze.setAttribute("role","row"),Ze.classList.add(se._contentClassName))}else Ce.clear();this._isShowingNoDataRow=q,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(q){return new(q||he)(u.rXU(u._q3),u.rXU(u.gRc),u.rXU(u.aKT),u.kS0("role"),u.rXU(s.dS,8),u.rXU(l.qQ),u.rXU(x.OD),u.rXU(c.sL),u.rXU(kt),u.rXU(I.Xj),u.rXU(pt,12),u.rXU(u.SKi,8))};static#t=this.\u0275cmp=u.VBU({type:he,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(q,Ce,dt){if(1&q&&(u.wni(dt,Un,5),u.wni(dt,Je,5),u.wni(dt,Rt,5),u.wni(dt,Ne,5),u.wni(dt,it,5)),2&q){let Ze;u.mGM(Ze=u.lsd())&&(Ce._noDataRow=Ze.first),u.mGM(Ze=u.lsd())&&(Ce._contentColumnDefs=Ze),u.mGM(Ze=u.lsd())&&(Ce._contentRowDefs=Ze),u.mGM(Ze=u.lsd())&&(Ce._contentHeaderRowDefs=Ze),u.mGM(Ze=u.lsd())&&(Ce._contentFooterRowDefs=Ze)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(q,Ce){2&q&&u.AVh("cdk-table-fixed-layout",Ce.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[u.Mj6.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",u.L39],fixedLayout:[u.Mj6.HasDecoratorInputTransform,"fixedLayout","fixedLayout",u.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[u.Jv_([{provide:Ft,useExisting:he},{provide:c.sL,useClass:c.xn},{provide:kt,useClass:Qe},{provide:pt,useValue:null}]),u.GFd,u.aNF],ngContentSelectors:Me,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(q,Ce){1&q&&(u.NAR(K),u.SdG(0),u.SdG(1,1),u.DNE(2,Oe,1,0)(3,ie,7,0)(4,ge,4,0)),2&q&&(u.R7$(2),u.vxM(2,Ce._isServer?2:-1),u.R7$(),u.vxM(3,Ce._isNativeHtmlTable?3:4))},dependencies:[ae,ze,We,Re],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return he})();function un(he,me){return he.concat(Array.from(me))}function Dn(he,me){const se=me.toUpperCase();let q=he.viewContainer.element.nativeElement;for(;q;){const Ce=1===q.nodeType?q.nodeName:null;if(Ce===se)return q;if("TABLE"===Ce)break;q=q.parentNode}return null}let Pt=(()=>{class he{static#e=this.\u0275fac=function(q){return new(q||he)};static#t=this.\u0275mod=u.$C({type:he});static#n=this.\u0275inj=u.G2t({imports:[I.E9]})}return he})()},64109:(ht,ue,o)=>{"use strict";o.d(ue,{Dc:()=>kt,Hy:()=>Ct,NL:()=>Ve,Sz:()=>ie,XW:()=>Z,aI:()=>ot,xn:()=>mt});var s=o(45024),c=o(8982),x=o(45286),I=o(79928),l=o(14421),C=(o(19493),o(58728),o(7605)),D=o(54438),A=o(28203);class V{constructor(){this.expansionModel=new s.CB(!0)}toggle(yt){this.expansionModel.toggle(this._trackByValue(yt))}expand(yt){this.expansionModel.select(this._trackByValue(yt))}collapse(yt){this.expansionModel.deselect(this._trackByValue(yt))}isExpanded(yt){return this.expansionModel.isSelected(this._trackByValue(yt))}toggleDescendants(yt){this.expansionModel.isSelected(this._trackByValue(yt))?this.collapseDescendants(yt):this.expandDescendants(yt)}collapseAll(){this.expansionModel.clear()}expandDescendants(yt){let ce=[yt];ce.push(...this.getDescendants(yt)),this.expansionModel.select(...ce.map(Ne=>this._trackByValue(Ne)))}collapseDescendants(yt){let ce=[yt];ce.push(...this.getDescendants(yt)),this.expansionModel.deselect(...ce.map(Ne=>this._trackByValue(Ne)))}_trackByValue(yt){return this.trackBy?this.trackBy(yt):yt}}class Z extends V{constructor(yt,ce,Ne){super(),this.getLevel=yt,this.isExpandable=ce,this.options=Ne,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(yt){const Ne=[];for(let it=this.dataNodes.indexOf(yt)+1;it<this.dataNodes.length&&this.getLevel(yt)<this.getLevel(this.dataNodes[it]);it++)Ne.push(this.dataNodes[it]);return Ne}
1expandAll(){this.expansionModel.select(...this.dataNodes.map(yt=>this._trackByValue(yt)))}}const K=new D.nKC("CDK_TREE_NODE_OUTLET_NODE");let Me=(()=>{class Qe{constructor(ce,Ne){this.viewContainer=ce,this._node=Ne}static#e=this.\u0275fac=function(Ne){return new(Ne||Qe)(D.rXU(D.c1b),D.rXU(K,8))};static#t=this.\u0275dir=D.FsC({type:Qe,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}return Qe})();class Oe{constructor(yt){this.$implicit=yt}}let ie=(()=>{class Qe{constructor(ce){this.template=ce}static#e=this.\u0275fac=function(Ne){return new(Ne||Qe)(D.rXU(D.C4Q))};static#t=this.\u0275dir=D.FsC({type:Qe,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[D.Mj6.None,"cdkTreeNodeDefWhen","when"]},standalone:!0})}return Qe})(),Ve=(()=>{class Qe{get dataSource(){return this._dataSource}set dataSource(ce){this._dataSource!==ce&&this._switchDataSource(ce)}constructor(ce,Ne){this._differs=ce,this._changeDetectorRef=Ne,this._onDestroy=new x.B7,this._levels=new Map,this.viewChange=new I.t({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const ce=this._nodeDefs.filter(Ne=>!Ne.when);this._defaultNodeDef=ce[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(ce){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),ce||this._nodeOutlet.viewContainer.clear(),this._dataSource=ce,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let ce;(0,s.y4)(this._dataSource)?ce=this._dataSource.connect(this):(0,c.A)(this._dataSource)?ce=this._dataSource:Array.isArray(this._dataSource)&&(ce=(0,l.of)(this._dataSource)),ce&&(this._dataSubscription=ce.pipe((0,C.Q)(this._onDestroy)).subscribe(Ne=>this.renderNodeChanges(Ne)))}renderNodeChanges(ce,Ne=this._dataDiffer,it=this._nodeOutlet.viewContainer,Rt){const Yt=Ne.diff(ce);Yt&&(Yt.forEachOperation((En,In,Gt)=>{if(null==En.previousIndex)this.insertNode(ce[Gt],Gt,it,Rt);else if(null==Gt)it.remove(In),this._levels.delete(En.item);else{const Un=it.get(In);it.move(Un,Gt)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(ce,Ne){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(Rt=>Rt.when&&Rt.when(Ne,ce))||this._defaultNodeDef}insertNode(ce,Ne,it,Rt){const Yt=this._getNodeDef(ce,Ne),En=new Oe(ce);En.level=this.treeControl.getLevel?this.treeControl.getLevel(ce):typeof Rt<"u"&&this._levels.has(Rt)?this._levels.get(Rt)+1:0,this._levels.set(ce,En.level),(it||this._nodeOutlet.viewContainer).createEmbeddedView(Yt.template,En,Ne),mt.mostRecentTreeNode&&(mt.mostRecentTreeNode.data=ce)}static#e=this.\u0275fac=function(Ne){return new(Ne||Qe)(D.rXU(D._q3),D.rXU(D.gRc))};static#t=this.\u0275cmp=D.VBU({type:Qe,selectors:[["cdk-tree"]],contentQueries:function(Ne,it,Rt){if(1&Ne&&D.wni(Rt,ie,5),2&Ne){let Yt;D.mGM(Yt=D.lsd())&&(it._nodeDefs=Yt)}},viewQuery:function(Ne,it){if(1&Ne&&D.GBs(Me,7),2&Ne){let Rt;D.mGM(Rt=D.lsd())&&(it._nodeOutlet=Rt.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[D.aNF],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(Ne,it){1&Ne&&D.eu8(0,0)},dependencies:[Me],encapsulation:2})}return Qe})(),mt=(()=>{class Qe{get role(){return"treeitem"}set role(ce){this._elementRef.nativeElement.setAttribute("role",ce)}static#e=this.mostRecentTreeNode=null;get data(){return this._data}set data(ce){ce!==this._data&&(this._data=ce,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}
1get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(ce,Ne){this._elementRef=ce,this._tree=Ne,this._destroyed=new x.B7,this._dataChanges=new x.B7,Qe.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function Pe(Qe){let yt=Qe.parentElement;for(;yt&&!Je(yt);)yt=yt.parentElement;return yt?yt.classList.contains("cdk-nested-tree-node")?(0,D.Udg)(yt.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Qe.mostRecentTreeNode===this&&(Qe.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static#t=this.\u0275fac=function(Ne){return new(Ne||Qe)(D.rXU(D.aKT),D.rXU(Ve))};static#n=this.\u0275dir=D.FsC({type:Qe,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(Ne,it){2&Ne&&D.BMQ("aria-expanded",it.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0})}return Qe})();function Je(Qe){const yt=Qe.classList;return!(!yt?.contains("cdk-nested-tree-node")&&!yt?.contains("cdk-tree"))}const He=/([A-Za-z%]+)$/;let ot=(()=>{class Qe{get level(){return this._level}set level(ce){this._setLevelInput(ce)}get indent(){return this._indent}set indent(ce){this._setIndentInput(ce)}constructor(ce,Ne,it,Rt){this._treeNode=ce,this._tree=Ne,this._element=it,this._dir=Rt,this._destroyed=new x.B7,this.indentUnits="px",this._indent=40,this._setPadding(),Rt&&Rt.change.pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),ce._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const ce=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,Ne=null==this._level?ce:this._level;return"number"==typeof Ne?`${Ne*this._indent}${this.indentUnits}`:null}_setPadding(ce=!1){const Ne=this._paddingIndent();if(Ne!==this._currentPadding||ce){const it=this._element.nativeElement,Rt=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",Yt="paddingLeft"===Rt?"paddingRight":"paddingLeft";it.style[Rt]=Ne||"",it.style[Yt]="",this._currentPadding=Ne}}_setLevelInput(ce){this._level=isNaN(ce)?null:ce,this._setPadding()}_setIndentInput(ce){let Ne=ce,it="px";if("string"==typeof ce){const Rt=ce.split(He);Ne=Rt[0],it=Rt[1]||it}this.indentUnits=it,this._indent=(0,D.Udg)(Ne),this._setPadding()}static#e=this.\u0275fac=function(Ne){return new(Ne||Qe)(D.rXU(mt),D.rXU(Ve),D.rXU(D.aKT),D.rXU(A.dS,8))};static#t=this.\u0275dir=D.FsC({type:Qe,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[D.Mj6.HasDecoratorInputTransform,"cdkTreeNodePadding","level",D.Udg],indent:[D.Mj6.None,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[D.GFd]})}return Qe})(),Ct=(()=>{class Qe{constructor(ce,Ne){this._tree=ce,this._treeNode=Ne,this.recursive=!1}_toggle(ce){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),ce.stopPropagation()}static#e=this.\u0275fac=function(Ne){return new(Ne||Qe)(D.rXU(Ve),D.rXU(mt))};static#t=this.\u0275dir=D.FsC({type:Qe,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(Ne,it){1&Ne&&D.bIt("click",function(Yt){return it._toggle(Yt)})},inputs:{recursive:[D.Mj6.HasDecoratorInputTransform,"cdkTreeNodeToggleRecursive","recursive",D.L39]},standalone:!0,features:[D.GFd]})}return Qe})(),kt=(()=>{class Qe{static#e=this.\u0275fac=function(Ne){return new(Ne||Qe)};static#t=this.\u0275mod=D.$C({type:Qe});static#n=this.\u0275inj=D.G2t({})}return Qe})()},60177:(ht,ue,o)=>{"use strict";o.d(ue,{AJ:()=>jr,B3:()=>Hn,GH:()=>ti,Jj:()=>tn,MD:()=>Cr,N0:()=>Ls,P9:()=>Ar,Pc:()=>v,QT:()=>x,Sm:()=>Oe,Sq:()=>wn,T3:()=>le,UE:()=>Er,VF:()=>l,Vy:()=>ys,Xr:()=>Fs,YU:()=>xt,ZD:()=>I,_b:()=>Xe,aZ:()=>ge,bT:()=>Tn,fw:()=>ie,hb:()=>K,hj:()=>D,qQ:()=>g});var s=o(54438);let c=null;function x(){return c}function I(E){c??=E}class l{}const g=new s.nKC("");let C=(()=>{class E{historyGo(N){throw new Error("")}static#e=this.\u0275fac=function(X){return new(X||E)};static#t=this.\u0275prov=s.jDH({token:E,factory:()=>(0,s.WQX)(A),providedIn:"platform"})}return E})();const D=new s.nKC("");let A=(()=>{class E extends C{constructor(){super(),this._doc=(0,s.WQX)(g),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return x().getBaseHref(this._doc)}onPopState(N){const X=x().getGlobalEventTarget(this._doc,"window");return X.addEventListener("popstate",N,!1),()=>X.removeEventListener("popstate",N)}onHashChange(N){const X=x().getGlobalEventTarget(this._doc,"window");return X.addEventListener("hashchange",N,!1),()=>X.removeEventListener("hashchange",N)}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(N){this._location.pathname=N}pushState(N,X,Fe){this._history.pushState(N,X,Fe)}replaceState(N,X,Fe){this._history.replaceState(N,X,Fe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(N=0){this._history.go(N)}getState(){return this._history.state}static#e=this.\u0275fac=function(X){return new(X||E)};static#t=this.\u0275prov=s.jDH({token:E,factory:()=>new E,providedIn:"platform"})}return E})();function V(E,oe){if(0==E.length)return oe;if(0==oe.length)return E;let N=0;return E.endsWith("/")&&N++,oe.startsWith("/")&&N++,2==N?E+oe.substring(1):1==N?E+oe:E+"/"+oe}function Z(E){const oe=E.match(/#|\?|$/),N=oe&&oe.index||E.length;return E.slice(0,N-("/"===E[N-1]?1:0))+E.slice(N)}function re(E){return E&&"?"!==E[0]?"?"+E:E}let K=(()=>{class E{historyGo(N){throw new Error("")}static#e=this.\u0275fac=function(X){return new(X||E)};static#t=this.\u0275prov=s.jDH({token:E,factory:()=>(0,s.WQX)(Oe),providedIn:"root"})}return E})();const Me=new s.nKC("");let Oe=(()=>{class E extends K{constructor(N,X){super(),this._platformLocation=N,this._removeListenerFns=[],this._baseHref=X??this._platformLocation.getBaseHrefFromDOM()??(0,s.WQX)(g).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(N){this._removeListenerFns.push(this._platformLocation.onPopState(N),this._platformLocation.on
1HashChange(N))}getBaseHref(){return this._baseHref}prepareExternalUrl(N){return V(this._baseHref,N)}path(N=!1){const X=this._platformLocation.pathname+re(this._platformLocation.search),Fe=this._platformLocation.hash;return Fe&&N?`${X}${Fe}`:X}pushState(N,X,Fe,It){const Kt=this.prepareExternalUrl(Fe+re(It));this._platformLocation.pushState(N,X,Kt)}replaceState(N,X,Fe,It){const Kt=this.prepareExternalUrl(Fe+re(It));this._platformLocation.replaceState(N,X,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(N=0){this._platformLocation.historyGo?.(N)}static#e=this.\u0275fac=function(X){return new(X||E)(s.KVO(C),s.KVO(Me,8))};static#t=this.\u0275prov=s.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),ie=(()=>{class E extends K{constructor(N,X){super(),this._platformLocation=N,this._baseHref="",this._removeListenerFns=[],null!=X&&(this._baseHref=X)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(N){this._removeListenerFns.push(this._platformLocation.onPopState(N),this._platformLocation.onHashChange(N))}getBaseHref(){return this._baseHref}path(N=!1){const X=this._platformLocation.hash??"#";return X.length>0?X.substring(1):X}prepareExternalUrl(N){const X=V(this._baseHref,N);return X.length>0?"#"+X:X}pushState(N,X,Fe,It){let Kt=this.prepareExternalUrl(Fe+re(It));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(N,X,Kt)}replaceState(N,X,Fe,It){let Kt=this.prepareExternalUrl(Fe+re(It));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.replaceState(N,X,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(N=0){this._platformLocation.historyGo?.(N)}static#e=this.\u0275fac=function(X){return new(X||E)(s.KVO(C),s.KVO(Me,8))};static#t=this.\u0275prov=s.jDH({token:E,factory:E.\u0275fac})}return E})(),ge=(()=>{class E{constructor(N){this._subject=new s.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=N;const X=this._locationStrategy.getBaseHref();this._basePath=function Bt(E){if(new RegExp("^(https?:)?//").test(E)){const[,N]=E.split(/\/\/[^\/]+/);return N}return E}(Z(Ft(X))),this._locationStrategy.onPopState(Fe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Fe.state,type:Fe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(N=!1){return this.normalize(this._locationStrategy.path(N))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(N,X=""){return this.path()==this.normalize(N+re(X))}normalize(N){return E.stripTrailingSlash(function rt(E,oe){if(!E||!oe.startsWith(E))return oe;const N=oe.substring(E.length);return""===N||["/",";","?","#"].includes(N[0])?N:oe}(this._basePath,Ft(N)))}prepareExternalUrl(N){return N&&"/"!==N[0]&&(N="/"+N),this._locationStrategy.prepareExternalUrl(N)}go(N,X="",Fe=null){this._locationStrategy.pushState(Fe,"",N,X),this._notifyUrlChangeListeners(this.prepareExternalUrl(N+re(X)),Fe)}replaceState(N,X="",Fe=null){this._locationStrategy.replaceState(Fe,"",N,X),this._notifyUrlChangeListeners(this.prepareExternalUrl(N+re(X)),Fe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(N=0){this._locationStrategy.historyGo?.(N)}onUrlChange(N){return this._urlChangeListeners.push(N),this._urlChangeSubscription??=this.subscribe(X=>{this._notifyUrlChangeListeners(X.url,X.state)}),()=>{const X=this._urlChangeListeners.indexOf(N);this._urlChangeListeners.splice(X,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(N="",X){this._urlChangeListeners.forEach(Fe=>Fe(N,X))}subscribe(N,X,Fe){return this._subject.subscribe({next:N,error:X,complete:Fe})}static#e=this.normalizeQueryParams=re;static#t=this.joinWithSlash=V;static#n=this.stripTrailingSlash=Z;static#i=this.\u0275fac=function(X){return new(X||E)(s.KVO(K))};static#r=this.\u0275prov=s.jDH({token:E,factory:()=>function ye(){return new ge((0,s.KVO)(K))}(),providedIn:"root"})}return E})();function Ft(E){return E.replace(/\/index.html$/,"")}function Xe(E,oe){oe=encodeURIComponent(oe);for(const N of E.split(";")){const X=N.indexOf("="),[Fe,It]=-1==X?[N,""]:[N.slice(0,X),N.slice(X+1)];if(Fe.trim()===oe)return decodeURIComponent(It)}return null}const Ge=/\s+/,At=[];let xt=(()=>{class E{constructor(N,X){this._ngEl=N,this._renderer=X,this.initialClasses=At,this.stateMap=new Map}set klass(N){this.initialClasses=null!=N?N.trim().split(Ge):At}set ngClass(N){this.rawClass="string"==typeof N?N.trim().split(Ge):N}ngDoCheck(){for(const X of this.initialClasses)this._updateState(X,!0);const N=this.rawClass;if(Array.isArray(N)||N instanceof Set)for(const X of N)this._updateState(X,!0);else if(null!=N)for(const X of Object.keys(N))this._updateState(X,!!N[X]);this._applyStateDiff()}_updateState(N,X){const Fe=this.stateMap.get(N);void 0!==Fe?(Fe.enabled!==X&&(Fe.changed=!0,Fe.enabled=X),Fe.touched=!0):this.stateMap.set(N,{enabled:X,changed:!0,touched:!0})}_applyStateDiff(){for(const N of this.stateMap){const X=N[0],Fe=N[1];Fe.changed?(this._toggleClass(X,Fe.enabled),Fe.changed=!1):Fe.touched||(Fe.enabled&&this._toggleClass(X,!1),this.stateMap.delete(X)),Fe.touched=!1}}_toggleClass(N,X){(N=N.trim()).length>0&&N.split(Ge).forEach(Fe=>{X?this._renderer.addClass(this._ngEl.nativeElement,Fe):this._renderer.removeClass(this._ngEl.nativeElement,Fe)})}static#e=this.\u0275fac=function(X){return new(X||E)(s.rXU(s.aKT),s.rXU(s.sFG))};static#t=this.\u0275dir=s.FsC({type:E,selectors:[["","ngClass",""]],inputs:{klass:[s.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return E})();
1class jn{constructor(oe,N,X,Fe){this.$implicit=oe,this.ngForOf=N,this.index=X,this.count=Fe}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 wn=(()=>{class E{set ngForOf(N){this._ngForOf=N,this._ngForOfDirty=!0}set ngForTrackBy(N){this._trackByFn=N}get ngForTrackBy(){return this._trackByFn}constructor(N,X,Fe){this._viewContainer=N,this._template=X,this._differs=Fe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(N){N&&(this._template=N)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const N=this._ngForOf;!this._differ&&N&&(this._differ=this._differs.find(N).create(this.ngForTrackBy))}if(this._differ){const N=this._differ.diff(this._ngForOf);N&&this._applyChanges(N)}}_applyChanges(N){const X=this._viewContainer;N.forEachOperation((Fe,It,Kt)=>{if(null==Fe.previousIndex)X.createEmbeddedView(this._template,new jn(Fe.item,this._ngForOf,-1,-1),null===Kt?void 0:Kt);else if(null==Kt)X.remove(null===It?void 0:It);else if(null!==It){const On=X.get(It);X.move(On,Kt),dn(On,Fe)}});for(let Fe=0,It=X.length;Fe<It;Fe++){const On=X.get(Fe).context;On.index=Fe,On.count=It,On.ngForOf=this._ngForOf}N.forEachIdentityChange(Fe=>{dn(X.get(Fe.currentIndex),Fe)})}static ngTemplateContextGuard(N,X){return!0}static#e=this.\u0275fac=function(X){return new(X||E)(s.rXU(s.c1b),s.rXU(s.C4Q),s.rXU(s._q3))};static#t=this.\u0275dir=s.FsC({type:E,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return E})();function dn(E,oe){E.context.$implicit=oe.item}let Tn=(()=>{class E{constructor(N,X){this._viewContainer=N,this._context=new Kn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=X}set ngIf(N){this._context.$implicit=this._context.ngIf=N,this._updateView()}set ngIfThen(N){ri("ngIfThen",N),this._thenTemplateRef=N,this._thenViewRef=null,this._updateView()}set ngIfElse(N){ri("ngIfElse",N),this._elseTemplateRef=N,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(N,X){return!0}static#e=this.\u0275fac=function(X){return new(X||E)(s.rXU(s.c1b),s.rXU(s.C4Q))};static#t=this.\u0275dir=s.FsC({type:E,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return E})();class Kn{constructor(){this.$implicit=null,this.ngIf=null}}function ri(E,oe){if(oe&&!oe.createEmbeddedView)throw new Error(`${E} must be a TemplateRef, but received '${(0,s.Tbb)(oe)}'.`)}let Hn=(()=>{class E{constructor(N,X,Fe){this._ngEl=N,this._differs=X,this._renderer=Fe,this._ngStyle=null,this._differ=null}set ngStyle(N){this._ngStyle=N,!this._differ&&N&&(this._differ=this._differs.find(N).create())}ngDoCheck(){if(this._differ){const N=this._differ.diff(this._ngStyle);N&&this._applyChanges(N)}}_setStyle(N,X){const[Fe,It]=N.split("."),Kt=-1===Fe.indexOf("-")?void 0:s.czy.DashCase;null!=X?this._renderer.setStyle(this._ngEl.nativeElement,Fe,It?`${X}${It}`:X,Kt):this._renderer.removeStyle(this._ngEl.nativeElement,Fe,Kt)}_applyChanges(N){N.forEachRemovedItem(X=>this._setStyle(X.key,null)),N.forEachAddedItem(X=>this._setStyle(X.key,X.currentValue)),N.forEachChangedItem(X=>this._setStyle(X.key,X.currentValue))}static#e=this.\u0275fac=function(X){return new(X||E)(s.rXU(s.aKT),s.rXU(s.MKu),s.rXU(s.sFG))};static#t=this.\u0275dir=s.FsC({type:E,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return E})(),le=(()=>{class E{constructor(N){this._viewContainerRef=N,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(N){if(this._shouldRecreateView(N)){const X=this._viewContainerRef;if(this._viewRef&&X.remove(X.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Fe=this._createContextForwardProxy();this._viewRef=X.createEmbeddedView(this.ngTemplateOutlet,Fe,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(N){return!!N.ngTemplateOutlet||!!N.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(N,X,Fe)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,X,Fe),get:(N,X,Fe)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,X,Fe)}})}static#e=this.\u0275fac=function(X){return new(X||E)(s.rXU(s.c1b))};static#t=this.\u0275dir=s.FsC({type:E,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.OA$]})}return E})();function fe(E,oe){return new s.wOt(2100,!1)}class Te{createSubscription(oe,N){return(0,s.O8t)(()=>oe.subscribe({next:N,error:X=>{throw X}}))}dispose(oe){(0,s.O8t)(()=>oe.unsubscribe())}}class je{createSubscription(oe,N){return oe.then(N,X=>{throw X})}dispose(oe){}}const gt=new je,zt=new Te;let tn=(()=>{class E{constructor(N){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=N}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(N){if(!this._obj){if(N)try{this.markForCheckOnValueUpdate=!1,this._subscribe(N)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return N!==this._obj?(this._dispose(),this.transform(N)):this._latestValue}_subscribe(N){this._obj=N,this._strategy=this._selectStrategy(N),this._subscription=this._strategy.createSubscription(N,X=>this._updateLatestValue(N,X))}_selectStrategy(N){if((0,s.jNT)(N))return gt;if((0,s.zjR)(N))return zt;throw fe()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(N,X){N===this._obj&&(this._latestValue=X,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(X){return new(X||E)(s.rXU(s.gRc,16))};static#t=this.\u0275pipe=s.EJ8({name:"async",type:E,pure:!1,standalone:!0})}return E})(),ti=(()=>{class E{transform(N){if(null==N)return null;if("string"!=typeof N)throw fe();return N.toLowerCase()}static#e=this.\u0275fac=function(X){return new(X||E)};static#t=this.\u0275pipe=s.EJ8({name:"lowercase",type:E,pure:!0,standalone:!0})}return E})(),v=(()=>{class E{transform(N){if(null==N)return null;if("string"!=typeof N)throw fe();return N.toUpperCase()}static#e=this.\u0275fac=function(X){return new(X||E)};static#t=this.\u0275pipe=s.EJ8({name:"uppercase",type:E,pure:!0,standalone:!0})}return E})(),Ar=(()=>{class E{transform(N,X,Fe){if(null==N)return null;if(!this.supports(N))throw fe();return N.slice(X,Fe)}supports(N){return"string"==typeof N||Array.isArray(N)}static#e=this.\u0275fac=function(X){return new(X||E)};static#t=this.\u0275pipe=s.EJ8({name:"slice",type:E,pure:!1,standalone:!0})}return E})(),Cr=(()=>{class E{static#e=this.\u0275fac=function(X){return new(X||E)};static#t=this.\u0275mod=s.$C({type:E});static#n=this.\u0275inj=s.G2t({})}return E})();const jr="browser",mo="server";function Er(E){return E===jr}function ys(E){return E===mo}let Fs=(()=>{class E{static#e=this.\u0275prov=(0,s.jDH)({token:E,providedIn:"root",factory:()=>Er((0,s.WQX)(s.Agw))?new $i((0,s.WQX)(g),window):new ws})}return E})();class $i{constructor(oe,N){this.document=oe,this.window=N,this.offset=()=>[0,0]}setOffset(oe){this.offset=Array.isArray(oe)?()=>oe:oe}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(oe){this.window.scrollTo(oe[0],oe[1])}scrollToAnchor(oe){const N=function zr(E,oe){const N=E.getElementById(oe)||E.getElementsByName(oe)[0];if(N)return N;if("function"==typeof E.createTreeWalker&&E.body&&"function"==typeof E.body.attachShadow){const X=E.createTreeWalker(E.body,NodeFilter.SHOW_ELEMENT);let Fe=X.currentNode;for(;Fe;){const It=Fe.shadowRoot;if(It){const Kt=It.getElementById(oe)||It.querySelector(`[name="${oe}"]`);if(Kt)return Kt}Fe=X.nextNode()}}return null}(this.document,oe);N&&(this.scrollToElement(N),N.focus())}setHistoryScrollRestoration(oe){this.window.history.scrollRestoration=oe}scrollToElement(oe){const N=oe.getBoundingClientRect(),X=N.left+this.window.pageXOffset,Fe=N.top+this.window.pageYOffset,It=this.offset();this.window.scrollTo(X-It[0],Fe-It[1])}}class ws{setOffset(oe){}getScrollPosition(){return[0,0]}scrollToPosition(oe){}scrollToAnchor(oe){}setHistoryScrollRestoration(oe){}}class Ls{}},21626:(ht,ue,o)=>{"use strict";o.d(ue,{Lr:()=>K,Qq:()=>Rt,q1:()=>U}),o(10467);var c=o(54438),x=o(14421),I=o(45817),l=o(84787),u=o(43574),g=o(58728),C=o(95006),D=o(77312),A=o(49
vendor: 12,605 bytes, line 1
1090),V=o(60177);class Z{}class re{}class K{constructor(Xe){this.normalizedNames=new Map,this.lazyUpdate=null,Xe?"string"==typeof Xe?this.lazyInit=()=>{this.headers=new Map,Xe.split("\n").forEach(Ge=>{const At=Ge.indexOf(":");if(At>0){const xt=Ge.slice(0,At),qt=xt.toLowerCase(),en=Ge.slice(At+1).trim();this.maybeSetNormalizedName(xt,qt),this.headers.has(qt)?this.headers.get(qt).push(en):this.headers.set(qt,[en])}})}:typeof Headers<"u"&&Xe instanceof Headers?(this.headers=new Map,Xe.forEach((Ge,At)=>{this.setHeaderEntries(At,Ge)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Xe).forEach(([Ge,At])=>{this.setHeaderEntries(Ge,At)})}:this.headers=new Map}has(Xe){return this.init(),this.headers.has(Xe.toLowerCase())}get(Xe){this.init();const Ge=this.headers.get(Xe.toLowerCase());return Ge&&Ge.length>0?Ge[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Xe){return this.init(),this.headers.get(Xe.toLowerCase())||null}append(Xe,Ge){return this.clone({name:Xe,value:Ge,op:"a"})}set(Xe,Ge){return this.clone({name:Xe,value:Ge,op:"s"})}delete(Xe,Ge){return this.clone({name:Xe,value:Ge,op:"d"})}maybeSetNormalizedName(Xe,Ge){this.normalizedNames.has(Ge)||this.normalizedNames.set(Ge,Xe)}init(){this.lazyInit&&(this.lazyInit instanceof K?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Xe=>this.applyUpdate(Xe)),this.lazyUpdate=null))}copyFrom(Xe){Xe.init(),Array.from(Xe.headers.keys()).forEach(Ge=>{this.headers.set(Ge,Xe.headers.get(Ge)),this.normalizedNames.set(Ge,Xe.normalizedNames.get(Ge))})}clone(Xe){const Ge=new K;return Ge.lazyInit=this.lazyInit&&this.lazyInit instanceof K?this.lazyInit:this,Ge.lazyUpdate=(this.lazyUpdate||[]).concat([Xe]),Ge}applyUpdate(Xe){const Ge=Xe.name.toLowerCase();switch(Xe.op){case"a":case"s":let At=Xe.value;if("string"==typeof At&&(At=[At]),0===At.length)return;this.maybeSetNormalizedName(Xe.name,Ge);const xt=("a"===Xe.op?this.headers.get(Ge):void 0)||[];xt.push(...At),this.headers.set(Ge,xt);break;case"d":const qt=Xe.value;if(qt){let en=this.headers.get(Ge);if(!en)return;en=en.filter(jn=>-1===qt.indexOf(jn)),0===en.length?(this.headers.delete(Ge),this.normalizedNames.delete(Ge)):this.headers.set(Ge,en)}else this.headers.delete(Ge),this.normalizedNames.delete(Ge)}}setHeaderEntries(Xe,Ge){const At=(Array.isArray(Ge)?Ge:[Ge]).map(qt=>qt.toString()),xt=Xe.toLowerCase();this.headers.set(xt,At),this.maybeSetNormalizedName(Xe,xt)}forEach(Xe){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ge=>Xe(this.normalizedNames.get(Ge),this.headers.get(Ge)))}}class Oe{encodeKey(Xe){return rt(Xe)}encodeValue(Xe){return rt(Xe)}decodeKey(Xe){return decodeURIComponent(Xe)}decodeValue(Xe){return decodeURIComponent(Xe)}}const ge=/%(\d[a-f0-9])/gi,ye={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function rt(Se){return encodeURIComponent(Se).replace(ge,(Xe,Ge)=>ye[Ge]??Xe)}function Ft(Se){return`${Se}`}class Bt{constructor(Xe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Xe.encoder||new Oe,Xe.fromString){if(Xe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ie(Se,Xe){const Ge=new Map;return Se.length>0&&Se.replace(/^\?/,"").split("&").forEach(xt=>{const qt=xt.indexOf("="),[en,jn]=-1==qt?[Xe.decodeKey(xt),""]:[Xe.decodeKey(xt.slice(0,qt)),Xe.decodeValue(xt.slice(qt+1))],wn=Ge.get(en)||[];wn.push(jn),Ge.set(en,wn)}),Ge}(Xe.fromString,this.encoder)}else Xe.fromObject?(this.map=new Map,Object.keys(Xe.fromObject).forEach(Ge=>{const At=Xe.fromObject[Ge],xt=Array.isArray(At)?At.map(Ft):[Ft(At)];this.map.set(Ge,xt)})):this.map=null}has(Xe){return this.init(),this.map.has(Xe)}get(Xe){this.init();const Ge=this.map.get(Xe);return Ge?Ge[0]:null}getAll(Xe){return this.init(),this.map.get(Xe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Xe,Ge){return this.clone({param:Xe,value:Ge,op:"a"})}appendAll(Xe){const Ge=[];return Object.keys(Xe).forEach(At=>{const xt=Xe[At];Array.isArray(xt)?xt.forEach(qt=>{Ge.push({param:At,value:qt,op:"a"})}):Ge.push({param:At,value:xt,op:"a"})}),this.clone(Ge)}set(Xe,Ge){return this.clone({param:Xe,value:Ge,op:"s"})}delete(Xe,Ge){return this.clone({param:Xe,value:Ge,op:"d"})}toString(){return this.init(),this.keys().map(Xe=>{const Ge=this.encoder.encodeKey(Xe);return this.map.get(Xe).map(At=>Ge+"="+this.encoder.encodeValue(At)).join("&")}).filter(Xe=>""!==Xe).join("&")}clone(Xe){const Ge=new Bt({encoder:this.encoder});return Ge.cloneFrom=this.cloneFrom||this,Ge.updates=(this.updates||[]).concat(Xe),Ge}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Xe=>this.map.set(Xe,this.cloneFrom.map.get(Xe))),this.updates.forEach(Xe=>{switch(Xe.op){case"a":case"s":const Ge=("a"===Xe.op?this.map.get(Xe.param):void 0)||[];Ge.push(Ft(Xe.value)),this.map.set(Xe.param,Ge);break;case"d":if(void 0===Xe.value){this.map.delete(Xe.param);break}{let At=this.map.get(Xe.param)||[];const xt=At.indexOf(Ft(Xe.value));-1!==xt&&At.splice(xt,1),At.length>0?this.map.set(Xe.param,At):this.map.delete(Xe.param)}}}),this.cloneFrom=this.updates=null)}}class mt{constructor(){this.map=new Map}set(Xe,Ge){return this.map.set(Xe,Ge),this}get(Xe){return this.map.has(Xe)||this.map.set(Xe,Xe.defaultValue()),this.map.get(Xe)}delete(Xe){return this.map.delete(Xe),this}has(Xe){return this.map.has(Xe)}keys(){return this.map.keys()}}function Je(Se){return typeof ArrayBuffer<"u"&&Se instanceof ArrayBuffer}function ke(Se){return typeof Blob<"u"&&Se instanceof Blob}function He(Se){return typeof FormData<"u"&&Se instanceof FormData}class Ct{constructor(Xe,Ge,At,xt){let qt;if(this.url=Ge,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Xe.toUpperCase(),function Pe(Se){switch(Se){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||xt?(this.body=void 0!==At?At:null,qt=xt):qt=At,qt&&(this.reportProgress=!!qt.reportProgress,this.withCredentials=!!qt.withCredentials,qt.responseType&&(this.responseType=qt.responseType),qt.headers&&(this.headers=qt.headers),qt.context&&(this.context=qt.context),qt.params&&(this.params=qt.params),this.transferCache=qt.transferCache),this.headers??=new K,this.context??=new mt,this.params){const en=this.params.toString();if(0===en.length)this.urlWithParams=Ge;else{const jn=Ge.indexOf("?");this.urlWithParams=Ge+(-1===jn?"?":jn<Ge.length-1?"&":"")+en}}else this.params=new Bt,this.urlWithParams=Ge}serializeBody(){return null===this.body?null:"string"==typeof this.body||Je(this.body)||ke(this.body)||He(this.body)||function ot(Se){return typeof URLSearchParams<"u"&&Se instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Bt?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||He(this.body)?null:ke(this.body)?this.body.type||null:Je(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Bt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Xe={}){const Ge=Xe.method||this.method,At=Xe.url||this.url,xt=Xe.responseType||this.responseType,qt=Xe.transferCache??this.transferCache,en=void 0!==Xe.body?Xe.body:this.body,jn=Xe.withCredentials??this.withCredentials,wn=Xe.reportProgress??this.reportProgress;let dn=Xe.headers||this.headers,ei=Xe.params||this.params;const Tn=Xe.context??this.context;return void 0!==Xe.setHeaders&&(dn=Object.keys(Xe.setHeaders).reduce((Kn,ri)=>Kn.set(ri,Xe.setHeaders[ri]),dn)),Xe.setParams&&(ei=Object.keys(Xe.setParams).reduce((Kn,ri)=>Kn.set(ri,Xe.setParams[ri]),ei)),new Ct(Ge,At,en,{params:ei,headers:dn,context:Tn,reportProgress:wn,responseType:xt,withCredentials:jn,transferCache:qt})}}var Ot=function(Se){return Se[Se.Sent=0]="Sent",Se[Se.UploadProgress=1]="UploadProgress",Se[Se.ResponseHeader=2]="ResponseHeader",Se[Se.DownloadProgress=3]="DownloadProgress",Se[Se.Response=4]="Response",Se[Se.User=5]="User",Se}(Ot||{});class kt{constructor(Xe,Ge=Ne.Ok,At="OK"){this.headers=Xe.headers||new K,this.status=void 0!==Xe.status?Xe.status:Ge,this.statusText=Xe.statusText||At,this.url=Xe.url||null,this.ok=this.status>=200&&this.status<300}}class Qe extends kt{constructor(Xe={}){super(Xe),this.type=Ot.ResponseHeader}clone(Xe={}){return new Qe({headers:Xe.headers||this.headers,status:void 0!==Xe.status?Xe.status:this.status,statusText:Xe.statusText||this.statusText,url:Xe.url||this.url||void 0})}}class yt extends kt{constructor(Xe={}){super(Xe),this.type=Ot.Response,this.body=void 0!==Xe.body?Xe.body:null}clone(Xe={}){return new yt({body:void 0!==Xe.body?Xe.body:this.body,headers:Xe.headers||this.headers,status:void 0!==Xe.status?Xe.status:this.status,statusText:Xe.statusText||this.statusText,url:Xe.url||this.url||void 0})}}class ce extends kt{constructor(Xe){super(Xe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Xe.url||"(unknown url)"}`:`Http failure response for ${Xe.url||"(unknown url)"}: ${Xe.status} ${Xe.statusText}`,this.error=Xe.error||null}}var Ne=function(Se){return Se[Se.Continue=100]="Continue",Se[Se.SwitchingProtocols=101]="SwitchingProtocols",Se[Se.Processing=102]="Processing",Se[Se.EarlyHints=103]="EarlyHints",Se[Se.Ok=200]="Ok",Se[Se.Created=201]="Created",Se[Se.Accepted=202]="Accepted",Se[Se.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Se[Se.NoContent=204]="NoContent",Se[Se.ResetContent=205]="ResetContent",Se[Se.PartialContent=206]="PartialContent",Se[Se.MultiStatus=207]="MultiStatus",Se[Se.AlreadyReported=208]="AlreadyReported",Se[Se.ImUsed=226]="ImUsed",Se[Se.MultipleChoices=300]="MultipleChoices",Se[Se.MovedPermanently=301]="MovedPermanently",Se[Se.Found=302]="Found",Se[Se.SeeOther=303]="SeeOther",Se[Se.NotModified=304]="NotModified",Se[Se.UseProxy=305]="UseProxy",Se[Se.Unused=306]="Unused",Se[Se.TemporaryRedirect=307]="TemporaryRedirect",Se[Se.PermanentRedirect=308]="PermanentRedirect",Se[Se.BadRequest=400]="BadRequest",Se[Se.Unauthorized=401]="Unauthorized",Se[Se.PaymentRequired=402]="PaymentRequired",Se[Se.Forbidden=403]="Forbidden",Se[Se.NotFound=404]="NotFound",Se[Se.MethodNotAllowed=405]="MethodNotAllowed",Se[Se.NotAcceptable=406]="NotAcceptable",Se[Se.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Se[Se.RequestTimeout=408]="RequestTimeout",Se[Se.Conflict=409]="Conflict",Se[Se.Gone=410]="Gone",Se[Se.LengthRequired=411]="LengthRequired",Se[Se.PreconditionFailed=412]="PreconditionFailed",Se[Se.PayloadTooLarge=413]="PayloadTooLarge",Se[Se.UriTooLong=414]="UriTooLong",Se[Se.UnsupportedMediaType=415]="UnsupportedMediaType",Se[Se.RangeNotSatisfiable=416]="RangeNotSatisfiable",Se[Se.ExpectationFailed=417]="ExpectationFailed",Se[Se.ImATeapot=418]="ImATeapot",Se[Se.MisdirectedRequest=421]="MisdirectedRequest",Se[Se.UnprocessableEntity=422]="UnprocessableEntity",Se[Se.Locked=423]="Locked",Se[Se.FailedDependency=424]="FailedDependency",Se[Se.TooEarly=425]="TooEarly",Se[Se.UpgradeRequired=426]="UpgradeRequired",Se[Se.PreconditionRequired=428]="PreconditionRequired",Se[Se.TooManyRequests=429]="TooManyRequests",Se[Se.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Se[Se.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Se[Se.InternalServerError=500]="InternalServerError",Se[Se.NotImplemented=501]="NotImplemented",Se[Se.BadGateway=502]="BadGateway",Se[Se.ServiceUnavailable=503]="ServiceUnavailable",Se[Se.GatewayTimeout=504]="GatewayTimeout",Se[Se.HttpVersionNotSupported=505]="HttpVersionNotSupported",Se[Se.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Se[Se.InsufficientStorage=507]="InsufficientStorage",Se[Se.LoopDetected=508]="LoopDetected",Se[Se.NotExtended=510]="NotExtended",Se[Se.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Se}(Ne||{});function it(Se,Xe){return{body:Xe,headers:Se.headers,context:Se.context,observe:Se.observe,params:Se.params,reportProgress:Se.reportProgress,responseType:Se.responseType,withCredentials:Se.withCredentials,transferCache:Se.transferCache}}let Rt=(()=>{class Se{constructor(Ge){this.handler=Ge}request(Ge,At,xt={}){let qt;if(Ge instanceof Ct)qt=Ge;else{let wn,dn;wn=xt.headers instanceof K?xt.headers:new K(xt.headers),xt.params&&(dn=xt.params instanceof Bt?xt.params:new Bt({fromObject:xt.params}
1)),qt=new Ct(Ge,At,void 0!==xt.body?xt.body:null,{headers:wn,context:xt.context,params:dn,reportProgress:xt.reportProgress,responseType:xt.responseType||"json",withCredentials:xt.withCredentials,transferCache:xt.transferCache})}const en=(0,x.of)(qt).pipe((0,u.H)(wn=>this.handler.handle(wn)));if(Ge instanceof Ct||"events"===xt.observe)return en;const jn=en.pipe((0,g.p)(wn=>wn instanceof yt));switch(xt.observe||"body"){case"body":switch(qt.responseType){case"arraybuffer":return jn.pipe((0,C.T)(wn=>{if(null!==wn.body&&!(wn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wn.body}));case"blob":return jn.pipe((0,C.T)(wn=>{if(null!==wn.body&&!(wn.body instanceof Blob))throw new Error("Response is not a Blob.");return wn.body}));case"text":return jn.pipe((0,C.T)(wn=>{if(null!==wn.body&&"string"!=typeof wn.body)throw new Error("Response is not a string.");return wn.body}));default:return jn.pipe((0,C.T)(wn=>wn.body))}case"response":return jn;default:throw new Error(`Unreachable: unhandled observe type ${xt.observe}}`)}}delete(Ge,At={}){return this.request("DELETE",Ge,At)}get(Ge,At={}){return this.request("GET",Ge,At)}head(Ge,At={}){return this.request("HEAD",Ge,At)}jsonp(Ge,At){return this.request("JSONP",Ge,{params:(new Bt).append(At,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ge,At={}){return this.request("OPTIONS",Ge,At)}patch(Ge,At,xt={}){return this.request("PATCH",Ge,it(xt,At))}post(Ge,At,xt={}){return this.request("POST",Ge,it(xt,At))}put(Ge,At,xt={}){return this.request("PUT",Ge,it(xt,At))}static#e=this.\u0275fac=function(At){return new(At||Se)(c.KVO(Z))};static#t=this.\u0275prov=c.jDH({token:Se,factory:Se.\u0275fac})}return Se})();function Wn(Se,Xe){return Xe(Se)}function Bn(Se,Xe){return(Ge,At)=>Xe.intercept(Ge,{handle:xt=>Se(xt,At)})}const Sn=new c.nKC(""),Pn=new c.nKC(""),ui=new c.nKC(""),xn=new c.nKC("");function sn(){let Se=null;return(Xe,Ge)=>{null===Se&&(Se=((0,c.WQX)(Sn,{optional:!0})??[]).reduceRight(Bn,Wn));const At=(0,c.WQX)(c.TgB),xt=At.add();return Se(Xe,Ge).pipe((0,D.j)(()=>At.remove(xt)))}}let ze=(()=>{class Se extends Z{constructor(Ge,At){super(),this.backend=Ge,this.injector=At,this.chain=null,this.pendingTasks=(0,c.WQX)(c.TgB);const xt=(0,c.WQX)(xn,{optional:!0});this.backend=xt??Ge}handle(Ge){if(null===this.chain){const xt=Array.from(new Set([...this.injector.get(Pn),...this.injector.get(ui,[])]));this.chain=xt.reduceRight((qt,en)=>function pn(Se,Xe,Ge){return(At,xt)=>(0,c.N4e)(Ge,()=>Xe(At,qt=>Se(qt,xt)))}(qt,en,this.injector),Wn)}const At=this.pendingTasks.add();return this.chain(Ge,xt=>this.backend.handle(xt)).pipe((0,D.j)(()=>this.pendingTasks.remove(At)))}static#e=this.\u0275fac=function(At){return new(At||Se)(c.KVO(re),c.KVO(c.uvJ))};static#t=this.\u0275prov=c.jDH({token:Se,factory:Se.\u0275fac})}return Se})();const _n=/^\)\]\}',?\n/;let me=(()=>{class Se{constructor(Ge){this.xhrFactory=Ge}handle(Ge){if("JSONP"===Ge.method)throw new c.wOt(-2800,!1);const At=this.xhrFactory;return(At.\u0275loadImpl?(0,l.H)(At.\u0275loadImpl()):(0,x.of)(null)).pipe((0,A.n)(()=>new I.c(qt=>{const en=At.build();if(en.open(Ge.method,Ge.urlWithParams),Ge.withCredentials&&(en.withCredentials=!0),Ge.headers.forEach((Yn,Zn)=>en.setRequestHeader(Yn,Zn.join(","))),Ge.headers.has("Accept")||en.setRequestHeader("Accept","application/json, text/plain, */*"),!Ge.headers.has("Content-Type")){const Yn=Ge.detectContentTypeHeader();null!==Yn&&en.setRequestHeader("Content-Type",Yn)}if(Ge.responseType){const Yn=Ge.responseType.toLowerCase();en.responseType="json"!==Yn?Yn:"text"}const jn=Ge.serializeBody();let wn=null;const dn=()=>{if(null!==wn)return wn;const Yn=en.statusText||"OK",Zn=new K(en.getAllResponseHeaders()),hi=function he(Se){return"responseURL"in Se&&Se.responseURL?Se.responseURL:/^X-Request-URL:/m.test(Se.getAllResponseHeaders())?Se.getResponseHeader("X-Request-URL"):null}(en)||Ge.url;return wn=new Qe({headers:Zn,status:en.status,statusText:Yn,url:hi}),wn},ei=()=>{let{headers:Yn,status:Zn,statusText:hi,url:tr}=dn(),Mi=null;Zn!==Ne.NoContent&&(Mi=typeof en.response>"u"?en.responseText:en.response),0===Zn&&(Zn=Mi?Ne.Ok:0);let Pi=Zn>=200&&Zn<300;if("json"===Ge.responseType&&"string"==typeof Mi){const Li=Mi;Mi=Mi.replace(_n,"");try{Mi=""!==Mi?JSON.parse(Mi):null}catch(Yi){Mi=Li,Pi&&(Pi=!1,Mi={error:Yi,text:Mi})}}Pi?(qt.next(new yt({body:Mi,headers:Yn,status:Zn,statusText:hi,url:tr||void 0})),qt.complete()):qt.error(new ce({error:Mi,headers:Yn,status:Zn,statusText:hi,url:tr||void 0}))},Tn=Yn=>{const{url:Zn}=dn(),hi=new ce({error:Yn,status:en.status||0,statusText:en.statusText||"Unknown Error",url:Zn||void 0});qt.error(hi)};let Kn=!1;const ri=Yn=>{Kn||(qt.next(dn()),Kn=!0);let Zn={type:Ot.DownloadProgress,loaded:Yn.loaded};Yn.lengthComputable&&(Zn.total=Yn.total),"text"===Ge.responseType&&en.responseText&&(Zn.partialText=en.responseText),qt.next(Zn)},Di=Yn=>{let Zn={type:Ot.UploadProgress,loaded:Yn.loaded};Yn.lengthComputable&&(Zn.total=Yn.total),qt.next(Zn)};return en.addEventListener("load",ei),en.addEventListener("error",Tn),en.addEventListener("timeout",Tn),en.addEventListener("abort",Tn),Ge.reportProgress&&(en.addEventListener("progress",ri),null!==jn&&en.upload&&en.upload.addEventListener("progress",Di)),en.send(jn),qt.next({type:Ot.Sent}),()=>{en.removeEventListener("error",Tn),en.removeEventListener("abort",Tn),en.removeEventListener("load",ei),en.removeEventListener("timeout",Tn),Ge.reportProgress&&(en.removeEventListener("progress",ri),null!==jn&&en.upload&&en.upload.removeEventListener("progress",Di)),en.readyState!==en.DONE&&en.abort()}})))}static#e=this.\u0275fac=function(At){return new(At||Se)(c.KVO(V.N0))};static#t=this.\u0275prov=c.jDH({token:Se,factory:Se.\u0275fac})}return Se})();const se=new c.nKC(""),Ce=new c.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ze=new c.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ht{}let at=(()=>{class Se{constructor(Ge,At,xt){this.doc=Ge,this.platform=At,this.cookieName=xt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ge=this.doc.cookie||"";return Ge!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,V._b)(Ge,this.cookieName),this.lastCookieString=Ge),this.lastToken}static#e=this.\u0275fac=function(At){return new(At||Se)(c.KVO(V.qQ),c.KVO(c.Agw),c.KVO(Ce))};static#t=this.\u0275prov=c.jDH({token:Se,factory:Se.\u0275fac})}return Se})();function Vt(Se,Xe){const Ge=Se.url.toLowerCase();if(!(0,c.WQX)(se)||"GET"===Se.method||"HEAD"===Se.method||Ge.startsWith("http://")||Ge.startsWith("https://"))return Xe(Se);const At=(0,c.WQX)(Ht).getToken(),xt=(0,c.WQX)(Ze);return null!=At&&!Se.headers.has(xt)&&(Se=Se.clone({headers:Se.headers.set(
1xt,At)})),Xe(Se)}var Ke=function(Se){return Se[Se.Interceptors=0]="Interceptors",Se[Se.LegacyInterceptors=1]="LegacyInterceptors",Se[Se.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Se[Se.NoXsrfProtection=3]="NoXsrfProtection",Se[Se.JsonpSupport=4]="JsonpSupport",Se[Se.RequestsMadeViaParent=5]="RequestsMadeViaParent",Se[Se.Fetch=6]="Fetch",Se}(Ke||{});function Ue(...Se){const Xe=[Rt,me,ze,{provide:Z,useExisting:ze},{provide:re,useExisting:me},{provide:Pn,useValue:Vt,multi:!0},{provide:se,useValue:!0},{provide:Ht,useClass:at}];for(const Ge of Se)Xe.push(...Ge.\u0275providers);return(0,c.EmA)(Xe)}const Qt=new c.nKC("");function nn(){return function De(Se,Xe){return{\u0275kind:Se,\u0275providers:Xe}}(Ke.LegacyInterceptors,[{provide:Qt,useFactory:sn},{provide:Pn,useExisting:Qt,multi:!0}])}let U=(()=>{class Se{static#e=this.\u0275fac=function(At){return new(At||Se)};static#t=this.\u0275mod=c.$C({type:Se});static#n=this.\u0275inj=c.G2t({providers:[Ue(nn())]})}return Se})()},54438:(ht,ue,o)=>{"use strict";function c(e,t){return Object.is(e,t)}o.d(ue,{bc$:()=>OE,iLQ:()=>Dm,sZ2:()=>Ep,hnV:()=>Xb,Hbi:()=>OI,o8S:()=>Sa,BIS:()=>RE,gRc:()=>aD,Ql9:()=>nI,OM3:()=>Ec,Ocv:()=>dI,abz:()=>La,Z63:()=>bs,aKT:()=>ql,uvJ:()=>Jr,zcH:()=>ua,bkB:()=>Go,y_5:()=>qs,$GK:()=>tn,nKC:()=>xt,zZn:()=>uo,_q3:()=>Im,MKu:()=>Am,xe9:()=>bu,Co$:()=>Bv,Vns:()=>Ha,SKi:()=>Xr,Xx1:()=>Er,Agw:()=>sh,PLl:()=>Cp,rOR:()=>ud,sFG:()=>nw,_9s:()=>Xg,czy:()=>Sd,Ifp:()=>Yg,WPN:()=>Ua,kdw:()=>Hr,C4Q:()=>vc,NYb:()=>YT,giA:()=>Kb,RxE:()=>Vb,c1b:()=>Kd,gXe:()=>xr,mal:()=>nv,Af3:()=>qr,tdH:()=>rw,L39:()=>oA,EWP:()=>cA,a0P:()=>pA,Ol2:()=>Df,w6W:()=>ex,oH4:()=>iD,QZP:()=>VD,SmG:()=>gI,Rfq:()=>Vt,WQX:()=>Fn,naY:()=>pI,Hps:()=>gf,QuC:()=>Wr,EmA:()=>Ei,Udg:()=>aA,fpN:()=>AI,HJs:()=>gA,N4e:()=>Ir,vPA:()=>Ev,O8t:()=>dA,An2:()=>Hd,H3F:()=>Ub,H8p:()=>_o,KH2:()=>Rl,TgB:()=>fl,wOt:()=>pt,WHO:()=>$b,e01:()=>Wb,lNU:()=>sn,h9k:()=>Hp,$MX:()=>Cd,ZF7:()=>sl,Kcf:()=>JE,e5t:()=>n0,UyX:()=>e0,cWb:()=>qE,osQ:()=>t0,H5H:()=>Yf,Zy3:()=>lt,mq5:()=>K_,JZv:()=>he,LfX:()=>Ri,plB:()=>Ca,jNT:()=>ym,zjR:()=>Gb,TL$:()=>IE,Tbb:()=>dt,rcV:()=>ha,Vt3:()=>_f,Mj6:()=>Yr,GFd:()=>Uv,OA$:()=>ca,Jv_:()=>tb,aNF:()=>nb,R7$:()=>vg,BMQ:()=>Rf,HbH:()=>S_,ZvI:()=>N_,AVh:()=>Uf,vxM:()=>V_,wni:()=>Ry,VBU:()=>Nr,FsC:()=>ea,jDH:()=>hn,G2t:()=>mi,$C:()=>Ms,EJ8:()=>vo,rXU:()=>ll,nrm:()=>Wf,eu8:()=>Kf,bVm:()=>lu,qex:()=>au,k0s:()=>ou,j41:()=>su,RV6:()=>W_,xGo:()=>Wm,Mr5:()=>Gf,KVO:()=>Ki,kS0:()=>cd,QTQ:()=>yg,bIt:()=>Jf,lsd:()=>ky,joV:()=>Yl,qSk:()=>Wo,XpG:()=>Ey,nI1:()=>vb,bMT:()=>_b,i5U:()=>yb,brH:()=>bb,ii3:()=>Db,SdG:()=>wy,NAR:()=>Cy,Y8G:()=>Ff,FS9:()=>tm,Mz_:()=>fu,FCK:()=>nm,lJ4:()=>sb,eq3:()=>ob,l_i:()=>ab,sMw:()=>lb,ziG:()=>cb,s1E:()=>db,l4e:()=>ub,mGM:()=>Ny,sdS:()=>Fy,Dyx:()=>H_,Z7z:()=>j_,fX1:()=>B_,Vm6:()=>U_,Njj:()=>ed,EBC:()=>Qp,tSv:()=>Zp,eBV:()=>qc,npT:()=>zp,B4B:()=>Eh,n$t:()=>Kp,wjB:()=>ib,Aen:()=>Po,xc7:()=>Vf,Kam:()=>qf,zvX:()=>Xf,DNE:()=>ml,C5r:()=>Eb,EFF:()=>Ky,JRh:()=>im,SpI:()=>mu,Lme:()=>rm,E5c:()=>sm,LHq:()=>om,wXG:()=>Wp,DH7:()=>qy,mxI:()=>lm,R50:()=>am,GBs:()=>Py}),o(10467);let x=null,I=!1,l=1;const u=Symbol("SIGNAL");function g(e){const t=x;return x=e,t}const V={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 Z(e){if(I)throw new Error("");if(null===x)return;x.consumerOnSignalRead(e);const t=x.nextProducerIndex++;Pe(x),t<x.producerNode.length&&x.producerNode[t]!==e&&mt(x)&&Ve(x.producerNode[t],x.producerIndexOfThis[t]),x.producerNode[t]!==e&&(x.producerNode[t]=e,x.producerIndexOfThis[t]=mt(x)?Bt(e,x,t):0),x.producerLastReadVersion[t]=e.version}function K(e){if((!mt(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==l)){if(!e.producerMustRecompute(e)&&!rt(e))return e.dirty=!1,void(e.lastCleanEpoch=l);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=l}}function Me(e){if(void 0===e.liveConsumerNode)return;const t=I;I=!0;try{for(const n of e.liveConsumerNode)n.dirty||ie(n)}finally{I=t}}function Oe(){return!1!==x?.consumerAllowSignalWrites}function ie(e){e.dirty=!0,Me(e),e.consumerMarkedDirty?.(e)}function ge(e){return e&&(e.nextProducerIndex=0),g(e)}function ye(e,t){if(g(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(mt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ve(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function rt(e){Pe(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(K(n),i!==n.version))return!0}return!1}function Ft(e){if(Pe(e),mt(e))for(let t=0;t<e.producerNode.length;t++)Ve(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 Bt(e,t,n){if(Je(e),Pe(e),0===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=Bt(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Ve(e,t){if(Je(e),Pe(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)Ve(e.producerNode[i],e.producerIndexOfThis[i]);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 i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];Pe(r),r.producerIndexOfThis[i]=t}}function mt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Pe(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Je(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const He=Symbol("UNSET"),ot=Symbol("COMPUTING"),Ct=Symbol("ERRORED"),Ot={...V,value:He,dirty:!0,error:null,equal:c,producerMustRecompute:e=>e.value===He||e.value===ot,producerRecomputeValue(e){if(e.value===ot)throw new Error("Detected cycle in computations.");const t=e.value;e.value=ot;const n=ge(e);let i;try{i=e.computation()}catch(r){i=Ct,e.error=r}finally{ye(e,n)}t!==He&&t!==Ct&&i!==Ct&&e.equal(t,i)?e.value=t:(e.value=i,e.version++)}};let Qe=function kt(){throw new Error};function yt(){Qe()}let Ne=null;function En(e,t){Oe()||yt(),e.equal(e.value,t)||(e.value=t,function Un(e){e.version++,function re(){l++}(),Me(e),Ne?.()}(e))}const Gt={...V,equal:c,value:void 0};const $n=()=>{},Wn={...V,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:$n};var pn=o(45286),Sn=o(74337),Pn=o(79928),ui=o(95006);const sn="https://g.co/ng/security#xss";
1class pt extends Error{constructor(t,n){super(lt(t,n)),this.code=t}}function lt(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ft(e){return{toString:e}.toString()}const un="__parameters__";function Pt(e,t,n){return ft(()=>{const i=function vn(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...a){if(this instanceof r)return i.apply(this,a),this;const d=new r(...a);return p.annotation=d,p;function p(b,j,ne){const Ie=b.hasOwnProperty(un)?b[un]:Object.defineProperty(b,un,{value:[]})[un];for(;Ie.length<=ne;)Ie.push(null);return(Ie[ne]=Ie[ne]||[]).push(d),b}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const he=globalThis;function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function Ce(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function dt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(dt).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 Ze(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const at=q({__forward_ref__:q});function Vt(e){return e.__forward_ref__=Vt,e.toString=function(){return dt(this())},e}function _e(e){return Ke(e)?e():e}function Ke(e){return"function"==typeof e&&e.hasOwnProperty(at)&&e.__forward_ref__===Vt}function hn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mi(e){return{providers:e.providers||[],imports:e.imports||[]}}function fn(e){return An(e,Se)||An(e,Ge)}function Ri(e){return null!==fn(e)}function An(e,t){return e.hasOwnProperty(t)?e[t]:null}function Wi(e){return e&&(e.hasOwnProperty(Xe)||e.hasOwnProperty(At))?e[Xe]:null}const Se=q({\u0275prov:q}),Xe=q({\u0275inj:q}),Ge=q({ngInjectableDef:q}),At=q({ngInjectorDef:q});class xt{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=hn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Yn(e){return e&&!!e.\u0275providers}const Zn=q({\u0275cmp:q}),hi=q({\u0275dir:q}),tr=q({\u0275pipe:q}),Mi=q({\u0275mod:q}),Pi=q({\u0275fac:q}),Li=q({__NG_ELEMENT_ID__:q}),Yi=q({__NG_ENV_ID__:q});function Hn(e){return"string"==typeof e?e:null==e?"":String(e)}function zt(e,t){throw new pt(-201,!1)}var tn=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}(tn||{});let ti;function Ae(){return ti}function Ut(e){const t=ti;return ti=e,t}function v(e,t,n){const i=fn(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&tn.Optional?null:void 0!==t?t:void zt()}const we={},st="__NG_DI_FLAG__",Nn="ngTempTokenPath",Zi=/\n/gm,zi="__source";let rr;function Br(e){const t=rr;return rr=e,t}function Mo(e,t=tn.Default){if(void 0===rr)throw new pt(-203,!1);return null===rr?v(e,void 0,t):rr.get(e,t&tn.Optional?null:void 0,t)}function Ki(e,t=tn.Default){return(Ae()||Mo)(_e(e),t)}function Fn(e,t=tn.Default){return Ki(e,Ar(t))}function Ar(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Or(e){const t=[];for(let n=0;n<e.length;n++){const i=_e(e[n]);if(Array.isArray(i)){if(0===i.length)throw new pt(900,!1);let r,a=tn.Default;for(let d=0;d<i.length;d++){const p=i[d],b=jr(p);"number"==typeof b?-1===b?r=p.token:a|=b:r=p}t.push(Ki(r,a))}else t.push(Ki(i))}return t}function Cr(e,t){return e[st]=t,e.prototype[st]=t,e}function jr(e){return e[st]}const qs=Cr(Pt("Inject",e=>({token:e})),-1),Er=Cr(Pt("Optional"),8),Hr=Cr(Pt("SkipSelf"),4);function os(e,t){return e.hasOwnProperty(Pi)?e[Pi]:null}function zr(e,t){e.forEach(n=>Array.isArray(n)?zr(n,t):t(n))}function ws(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ls(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function pr(e,t,n){let i=sr(e,t);return i>=0?e[1|i]=n:(i=~i,function Rr(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;
1e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function as(e,t){const n=sr(e,t);if(n>=0)return e[1|n]}function sr(e,t){return function Us(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const a=i+(r-i>>1),d=e[a<<n];if(t===d)return a<<n;d>t?r=a:i=a+1}return~(r<<n)}(e,t,1)}const wr={},vi=[],bs=new xt(""),So=new xt("",-1),or=new xt("");class gs{get(t,n=we){if(n===we){const i=new Error(`NullInjectorError: No provider for ${dt(t)}!`);throw i.name="NullInjectorError",i}return n}}var eo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(eo||{}),xr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(xr||{}),Yr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Yr||{});function Fo(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const a=t.length;if(r+a===i||e.charCodeAt(r+a)<=32)return r}n=r+1}}function po(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const a=n[i++],d=n[i++],p=n[i++];e.setAttribute(t,d,p,a)}else{const a=r,d=n[++i];te(a)?e.setProperty(t,a,d):e.setAttribute(t,a,d),i++}}return i}function G(e){return 3===e||4===e||6===e}function te(e){return 64===e.charCodeAt(0)}function O(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||ve(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function ve(e,t,n,i,r){let a=0,d=e.length;if(-1===t)d=-1;else for(;a<e.length;){const p=e[a++];if("number"==typeof p){if(p===t){d=-1;break}if(p>t){d=a-1;break}}}for(;a<e.length;){const p=e[a];if("number"==typeof p)break;if(p===n){if(null===i)return void(null!==r&&(e[a+1]=r));if(i===e[a+1])return void(e[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==d&&(e.splice(d,0,t),a=d+1),e.splice(a++,0,n),null!==i&&e.splice(a++,0,i),null!==r&&e.splice(a++,0,r)}const et="ng-template";function Rn(e,t,n,i){let r=0;if(i){for(;r<t.length&&"string"==typeof t[r];r+=2)if("class"===t[r]&&-1!==Fo(t[r+1].toLowerCase(),n,0))return!0}else if(li(e))return!1;if(r=t.indexOf(1,r),r>-1){let a;for(;++r<t.length&&"string"==typeof(a=t[r]);)if(a.toLowerCase()===n)return!0}return!1}function li(e){return 4===e.type&&e.value!==et}function Pr(e,t,n){return t===(4!==e.type||n?e.value:et)}function ls(e,t,n){let i=4;const r=e.attrs,a=null!==r?function Lo(e){for(let t=0;t<e.length;t++)if(G(e[t]))return t;return e.length}(r):0;let d=!1;for(let p=0;p<t.length;p++){const b=t[p];if("number"!=typeof b){if(!d)if(4&i){if(i=2|1&i,""!==b&&!Pr(e,b,n)||""===b&&1===t.length){if(gr(i))return!1;d=!0}}else if(8&i){if(null===r||!Rn(e,r,b,n)){if(gr(i))return!1;d=!0}}else{const j=t[++p],ne=xs(b,r,li(e),n);if(-1===ne){if(gr(i))return!1;d=!0;continue}if(""!==j){let Ie;if(Ie=ne>a?"":r[ne+1].toLowerCase(),2&i&&j!==Ie){if(gr(i))return!1;d=!0}}}}else{if(!d&&!gr(i)&&!gr(b))return!1;if(d&&gr(b))continue;d=!1,i=b|1&i}}return gr(i)||d}function gr(e){return!(1&e)}function xs(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let a=!1;for(;r<t.length;){const d=t[r];if(d===e)return r;if(3===d||6===d)a=!0;else{if(1===d||2===d){let p=t[++r];for(;"string"==typeof p;)p=t[++r];continue}if(4===d)break;if(0===d){r+=4;continue}}r+=a?1:2}return-1}return function ji(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Jo(e,t,n=!1){for(let i=0;i<t.length;i++)if(ls(e,t[i],n))return!0;return!1}function pa(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Vo(e,t){return e?":not("+t.trim()+")":t}function qo(e){let t=e[0],n=1,i=2,r="",a=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&i){const p=e[++n];r+="["+d+(p.length>0?'="'+p+'"':"")+"]"}else 8&i?r+="."+d:4&i&&(r+=" "+d);else""!==r&&!gr(d)&&(t+=Vo(a,r),r=""),i=d,a=a||!gr(i);n++}return""!==r&&(t+=Vo(a,r)),t}function Nr(e){return ft(()=>{const t=Ss(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===eo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||xr.Emulated,styles:e.styles||vi,_:null,schemas:e.schemas||null,tView:null,id:""};Ds(n);const i=e.dependencies;return n.directiveDefs=to(i,!1),n.pipeDefs=to(i,!0),n.id=function va(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 r of n)t=Math.imul(31,t)+r.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Uo(e){return fi(e)||Qn(e)}function Qr(e){return null!==e}function Ms(e){return ft(()=>({type:e.type,bootstrap:e.bootstrap||vi,declarations:e.declarations||vi,imports:e.imports||vi,exports:e.exports||vi,transitiveCompileScopes:null,
vendor: 4,419 bytes, line 1
1schemas:e.schemas||null,id:e.id||null}))}function kr(e,t){if(null==e)return wr;const n={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let a,d,p=Yr.None;Array.isArray(r)?(p=r[0],a=r[1],d=r[2]??a):(a=r,d=r),t?(n[a]=p!==Yr.None?[i,p]:i,t[a]=d):n[a]=i}return n}function ea(e){return ft(()=>{const t=Ss(e);return Ds(t),t})}function vo(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 fi(e){return e[Zn]||null}function Qn(e){return e[hi]||null}function Ni(e){return e[tr]||null}function Wr(e){const t=fi(e)||Qn(e)||Ni(e);return null!==t&&t.standalone}function di(e,t){const n=e[Mi]||null;if(!n&&!0===t)throw new Error(`Type ${dt(e)} does not have '\u0275mod' property.`);return n}function Ss(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||wr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||vi,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:kr(e.inputs,t),outputs:kr(e.outputs),debugInfo:null}}function Ds(e){e.features?.forEach(t=>t(e))}function to(e,t){if(!e)return null;const n=t?Ni:Uo;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(Qr)}function Ei(e){return{\u0275providers:e}}function Bs(...e){return{\u0275providers:js(0,e),\u0275fromNgModule:!0}}function js(e,...t){const n=[],i=new Set;let r;const a=d=>{n.push(d)};return zr(t,d=>{const p=d;To(p,a,[],i)&&(r||=[],r.push(p))}),void 0!==r&&Bo(r,a),n}function Bo(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];Kr(r,a=>{t(a,i)})}}function To(e,t,n,i){if(!(e=_e(e)))return!1;let r=null,a=Wi(e);const d=!a&&fi(e);if(a||d){if(d&&!d.standalone)return!1;r=e}else{const b=e.ngModule;if(a=Wi(b),!a)return!1;r=b}const p=i.has(r);if(d){if(p)return!1;if(i.add(r),d.dependencies){const b="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const j of b)To(j,t,n,i)}}else{if(!a)return!1;{if(null!=a.imports&&!p){let j;i.add(r);try{zr(a.imports,ne=>{To(ne,t,n,i)&&(j||=[],j.push(ne))})}finally{}void 0!==j&&Bo(j,t)}if(!p){const j=os(r)||(()=>new r);t({provide:r,useFactory:j,deps:vi},r),t({provide:or,useValue:r,multi:!0},r),t({provide:bs,useValue:()=>Ki(r),multi:!0},r)}const b=a.providers;if(null!=b&&!p){const j=e;Kr(b,ne=>{t(ne,j)})}}}return r!==e&&void 0!==e.providers}function Kr(e,t){for(let n of e)Yn(n)&&(n=n.\u0275providers),Array.isArray(n)?Kr(n,t):t(n)}const ia=q({provide:String,useValue:q});function no(e){return null!==e&&"object"==typeof e&&ia in e}function Hs(e){return"function"==typeof e}const _o=new xt(""),Ao={},Oo={};let io;function yo(){return void 0===io&&(io=new gs),io}class Jr{}class zs extends Jr{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ts(t,d=>this.processProvider(d)),this.records.set(So,Mr(void 0,this)),r.has("environment")&&this.records.set(Jr,Mr(void 0,this));const a=this.records.get(_o);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(or,vi,tn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=g(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),g(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Br(this),i=Ut(void 0);try{return t()}finally{Br(n),Ut(i)}}get(t,n=we,i=tn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Yi))return t[Yi](this);i=Ar(i);const a=Br(this),d=Ut(void 0);try{if(!(i&tn.SkipSelf)){let b=this.records.get(t);if(void 0===b){const j=function Ho(e){return"function"==typeof e||"object"==typeof e&&e instanceof xt}(t)&&fn(t);b=j&&this.injectableDefInScope(j)?Mr($s(t),Ao):null,this.records.set(t,b)}if(null!=b)return this.hydrate(t,b)}return(i&tn.Self?yo():this.parent).get(t,n=i&tn.Optional&&n===we?null:n)}
1catch(p){if("NullInjectorError"===p.name){if((p[Nn]=p[Nn]||[]).unshift(dt(t)),a)throw p;return function mo(e,t,n,i){const r=e[Nn];throw t[zi]&&r.unshift(t[zi]),e.message=function ss(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=dt(t);if(Array.isArray(t))r=t.map(dt).join(" -> ");else if("object"==typeof t){let a=[];for(let d in t)if(t.hasOwnProperty(d)){let p=t[d];a.push(d+":"+("string"==typeof p?JSON.stringify(p):dt(p)))}r=`{${a.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Zi,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[Nn]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{Ut(d),Br(a)}}resolveInjectorInitializers(){const t=g(null),n=Br(this),i=Ut(void 0);try{const a=this.get(bs,vi,tn.Self);for(const d of a)d()}finally{Br(n),Ut(i),g(t)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(dt(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pt(205,!1)}processProvider(t){let n=Hs(t=_e(t))?t:_e(t&&t.provide);const i=function cs(e){return no(e)?Mr(void 0,e.useValue):Mr(vs(e),Ao)}(t);if(!Hs(t)&&!0===t.multi){let r=this.records.get(n);r||(r=Mr(void 0,Ao,!0),r.factory=()=>Or(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){const i=g(null);try{return n.value===Ao&&(n.value=Oo,n.value=n.factory()),"object"==typeof n.value&&n.value&&function bo(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{g(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=_e(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 $s(e){const t=fn(e),n=null!==t?t.factory:os(e);if(null!==n)return n;if(e instanceof xt)throw new pt(204,!1);if(e instanceof Function)return function jo(e){if(e.length>0)throw new pt(204,!1);const n=function Bi(e){return e&&(e[Se]||e[Ge])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new pt(204,!1)}function vs(e,t,n){let i;if(Hs(e)){const r=_e(e);return os(r)||$s(r)}if(no(e))i=()=>_e(e.useValue);else if(function Io(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Or(e.deps||[]));else if(function ra(e){return!(!e||!e.useExisting)}(e))i=()=>Ki(_e(e.useExisting));else{const r=_e(e&&(e.useClass||e.provide));if(!function ro(e){return!!e.deps}(e))return os(r)||$s(r);i=()=>new r(...Or(e.deps))}return i}function Mr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ts(e,t){for(const n of e)Array.isArray(n)?Ts(n,t):n&&Yn(n)?Ts(n.\u0275providers,t):t(n)}function Ir(e,t){e instanceof zs&&e.assertNotDestroyed();const i=Br(e),r=Ut(void 0);try{return t()}finally{Br(i),Ut(r)}}function zo(){return void 0!==Ae()||null!=function Js(){return rr}()}function qr(e){if(!zo())throw new pt(-203,!1)}const oi=0,on=1,Ln=2,wi=3,vr=4,Mn=5,Gi=6,Is=7,P=8,h=9,R=10,B=11,be=12,qe=13,tt=14,_t=15,Lt=16,an=17,Gn=18,pi=19,cr=20,qn=21,Dr=22,es=23,Jn=25,Xi=1,Os=7,Do=9,_r=10;var $o=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}($o||{});function Fr(e){return Array.isArray(e)&&"object"==typeof e[Xi]}function yr(e){return Array.isArray(e)&&!0===e[Xi]}function so(e){return!!(4&e.flags)}function oo(e){return e.componentOffset>-1}function Ia(e){return!(1&~e.flags)}function Es(e){return!!e.template}function aa(e){return!!(512&e[Ln])}class la{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Eo(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function ca(){return lo}function lo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ya),Au}function Au(){const e=Yc(this),t=e?.current;if(t){const n=e.previous;if(n===wr)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Ya(e,t,n,i,r){const a=this.declaredInputs[i],d=Yc(e)||function Ou(e,t){return e[Xc]=t}(e,{previous:wr,current:null}),p=d.current||(d.current={}),b=d.previous,j=b[a];p[a]=new la(j&&j.currentValue,n,b===wr),Eo(e,t,r,n)}ca.ngInherit=!0;const Xc="__ngSimpleChanges__";function Yc(e){return e[Xc]||null}const Co=function(e,t,n){},Ru="svg";let Zc=!1;function Ji(e){for(;Array.isArray(e);)e=e[oi];return e}function Oa(e,t){return Ji(t[e])}function _s(e,t){return Ji(t[e.index])}function Ra(e,t){return e.data[t]}function ba(e,t){return e[t]}function Rs(e,t){const n=t[e];return Fr(n)?n:n[oi]}function Hl(e){return!(128&~e[Ln])}function Ws(e,t){return null==t?null:e[t]}function zl(e){e[an]=0}function Vu(e){1024&e[Ln]||(e[Ln]|=1024,Hl(e)&&Pa(e))}function Wl(e){return!!(9216&e[Ln]||e[es]?.dirty)}function Za(e){e[R].changeDetectionScheduler?.notify(1),Wl(e)?Pa(e):64&e[Ln]&&(function Nu(){return Zc}()?(e[Ln]|=1024,Pa(e)):e[R].changeDetectionScheduler?.notify())}function Pa(e){e[R].changeDetectionScheduler?.notify();let t=da(e);for(;null!==t&&!(8192&t[Ln])&&(t[Ln]|=8192,Hl(t));)t=da(t)}function Qa(e,t){if(!(256&~e[Ln]))throw new pt(911,!1);null===e[qn]&&(e[qn]=[]),e[qn].push(t)}function da(e){const t=e[wi];return yr(t)?t[wi]:t}const ci={lFrame:gi(null),bindingsEnabled:!0,skipHydrationRootTNode:null};
vendor: 8,070 bytes, line 1
1function Jc(){return ci.bindingsEnabled}function Da(){return null!==ci.skipHydrationRootTNode}function $t(){return ci.lFrame.lView}function Ii(){return ci.lFrame.tView}function qc(e){return ci.lFrame.contextLView=e,e[P]}function ed(e){return ci.lFrame.contextLView=null,e}function qi(){let e=td();for(;null!==e&&64===e.type;)e=e.parent;return e}function td(){return ci.lFrame.currentTNode}function wo(e,t){const n=ci.lFrame;n.currentTNode=e,n.isParent=t}function Gl(){return ci.lFrame.isParent}function nd(){ci.lFrame.isParent=!1}function M(){const e=ci.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function W(){return ci.lFrame.bindingIndex}function Be(){return ci.lFrame.bindingIndex++}function Ye(e){const t=ci.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mn(e,t){const n=ci.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vn(t)}function Vn(e){ci.lFrame.currentDirectiveIndex=e}function Xn(e){const t=ci.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function gn(){return ci.lFrame.currentQueryIndex}function yn(e){ci.lFrame.currentQueryIndex=e}function Ai(e){const t=e[on];return 2===t.type?t.declTNode:1===t.type?e[Mn]:null}function Ti(e,t,n){if(n&tn.SkipSelf){let r=t,a=e;for(;!(r=r.parent,null!==r||n&tn.Host||(r=Ai(a),null===r||(a=a[tt],10&r.type))););if(null===r)return!1;t=r,e=a}const i=ci.lFrame=ar();return i.currentTNode=t,i.lView=e,!0}function Ui(e){const t=ar(),n=e[on];ci.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ar(){const e=ci.lFrame,t=null===e?null:e.child;return null===t?gi(e):t}function gi(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 er(){const e=ci.lFrame;return ci.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fi=er;function dr(){const e=er();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 hr(){return ci.lFrame.selectedIndex}function Ks(e){ci.lFrame.selectedIndex=e}function lr(){const e=ci.lFrame;return Ra(e.tView,e.selectedIndex)}function Wo(){ci.lFrame.currentNamespace=Ru}function Yl(){!function id(){ci.lFrame.currentNamespace=null}()}let ni=!0;function ii(){return ni}function yi(e){ni=e}function Ps(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:p,ngAfterViewInit:b,ngAfterViewChecked:j,ngOnDestroy:ne}=a;d&&(e.contentHooks??=[]).push(-n,d),p&&((e.contentHooks??=[]).push(n,p),(e.contentCheckHooks??=[]).push(n,p)),b&&(e.viewHooks??=[]).push(-n,b),j&&((e.viewHooks??=[]).push(n,j),(e.viewCheckHooks??=[]).push(n,j)),null!=ne&&(e.destroyHooks??=[]).push(n,ne)}}function ds(e,t,n){Zl(e,t,3,n)}function co(e,t,n,i){(3&e[Ln])===n&&Zl(e,t,n,i)}function br(e,t){let n=e[Ln];(3&n)===t&&(n&=16383,n+=1,e[Ln]=n)}function Zl(e,t,n,i){const a=i??-1,d=t.length-1;let p=0;for(let b=void 0!==i?65535&e[an]:0;b<d;b++)if("number"==typeof t[b+1]){if(p=t[b],null!=i&&p>=i)break}else t[b]<0&&(e[an]+=65536),(p<a||-1==a)&&(us(e,n,t,b),e[an]=(4294901760&e[an])+b+2),b++}function rd(e,t){Co(4,e,t);const n=g(null);try{t.call(e)}finally{g(n),Co(5,e,t)}}function us(e,t,n,i){const r=n[i]<0,a=n[i+1],p=e[r?-n[i]:n[i]];r?e[Ln]>>14<e[an]>>16&&(3&e[Ln])===t&&(e[Ln]+=16384,rd(p,a)):rd(p,a)}const Gs=-1;class hs{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Gu(e){return e!==Gs}function Ql(e){return 32767&e}function Jl(e,t){let n=function zD(e){return e>>16}(e),i=t;for(;n>0;)i=i[tt],n--;return i}let Xu=!0;function sd(e){const t=Xu;return Xu=e,t}const Fm=255,Lm=5;let $D=0;const Ko={};function od(e,t){const n=Vm(e,t);if(-1!==n)return n;const i=t[on];i.firstCreatePass&&(e.injectorIndex=t.length,Yu(i.data,e),Yu(t,null),Yu(i.blueprint,null));const r=ad(e,t),a=e.injectorIndex;if(Gu(r)){const d=Ql(r),p=Jl(r,t),b=p[on].data;for(let j=0;j<8;j++)t[a+j]=p[d+j]|b[d+j]}return t[a+8]=r,a}function Yu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ad(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=Km(r),null===i)return Gs;if(n++,r=r[tt],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Gs}function Zu(e,t,n){!function WD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Li)&&(i=n[Li]),null==i&&(i=n[Li]=$D++);const r=i&Fm;t.data[e+(r>>Lm)]|=1<<r}(e,t,n)}function Um(e,t,n){if(n&tn.Optional||void 0!==e)return e;zt()}function Bm(e,t,n,i){if(n&tn.Optional&&void 0===i&&(i=null),!(n&(tn.Self|tn.Host))){const r=e[h],a=Ut(void 0);try{return r?r.get(t,i,n&tn.Optional):v(t,i,n&tn.Optional)}finally{Ut(a)}}return Um(i,0,n)}function jm(e,t,n,i=tn.Default,r){if(null!==e){if(2048&t[Ln]&&!(i&tn.Self)){const d=function ZD(e,t,n,i,r){let a=e,d=t;for(;null!==a&&null!==d&&2048&d[Ln]&&!(512&d[Ln]);){const p=Hm(a,d,n,i|tn.Self,Ko);if(p!==Ko)return p;let b=a.parent;if(!b){const j=d[cr];if(j){const ne=j.get(n,Ko,i);if(ne!==Ko)return ne}b=Km(d),d=d[tt]}a=b}return r}(e,t,n,i,Ko);if(d!==Ko)return d}const a=Hm(e,t,n,i,Ko);if(a!==Ko)return a}return Bm(t,n,i,r)}function Hm(e,t,n,i,r){const a=function XD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Li)?e[Li]:void 0;return"number"==typeof t?t>=0?t&Fm:YD:t}(n);if("function"==typeof a){if(!Ti(t,e,i))return i&tn.Host?Um(r,0,i):Bm(t,n,i,r);try{let d;if(d=a(i),null!=d||i&tn.Optional)return d;zt()}finally{Fi()}}else if("number"==typeof a){let d=null,p=Vm(e,t),b=Gs,j=i&tn.Host?t[_t][Mn]:null;for((-1===p||i&tn.SkipSelf)&&(b=-1===p?ad(e,t):t[p+8],b!==Gs&&$m(i,!1)?(d=t[on],p=Ql(b),t=Jl(b,t)):p=-1);-1!==p;){const ne=t[on];if(zm(a,p,ne.data)){const Ie=GD(p,t,n,d,i,j);if(Ie!==Ko)return Ie}b=t[p+8],b!==Gs&&$m(i,t[on].data[p+8]===j)&&zm(a,p,t)?(d=ne,p=Ql(b),t=Jl(b,t)):p=-1}}return r}function GD(e,t,n,i,r,a){const d=t[on],p=d.data[e+8],ne=ld(p,d,n,null==i?oo(p)&&Xu:i!=d&&!!(3&p.type),r&tn.Host&&a===p);return null!==ne?Fa(t,d,ne,p):Ko}function ld(e,t,n,i,r){const a=e.providerIndexes,d=t.data,p=1048575&a,b=e.directiveStart,ne=a>>20,nt=r?p+ne:e.directiveEnd;for(let ut=i?p:p+ne;ut<nt;ut++){const wt=d[ut];if(ut<b&&n===wt||ut>=b&&wt.type===n)return ut}if(r){const ut=d[b];if(ut&&Es(ut)&&ut.type===n)return b}return null}function Fa(e,t,n,i){let r=e[n];const a=t.data;if(function Ja(e){return e instanceof hs}(r)){const d=r;d.resolving&&function Te(e,t){throw t&&t.join(" > "),new pt(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Hn(e)}(a[n]));const p=sd(d.canSeeViewProviders);d.resolving=!0;const j=d.injectImpl?Ut(d.injectImpl):null;Ti(e,i,tn.Default);try{r=e[n]=d.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Gr(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=t.type.prototype;if(i){const d=lo(t);(n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d)}r&&(n.preOrderHooks??=[]).push(0-e,r),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==j&&Ut(j),sd(p),d.resolving=!1,Fi()}}return r}function zm(e,t,n){return!!(n[t+(e>>Lm)]&1<<e)}function $m(e,t){return!(e&tn.Self||e&tn.Host&&t)}class ts{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return jm(this._tNode,this._lView,t,Ar(i),n)}}function YD(){return new ts(qi(),$t())}function Wm(e){return ft(()=>{const t=e.prototype.constructor,n=t[Pi]||Qu(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const a=r[Pi]||Qu(r);
1if(a&&a!==n)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function Qu(e){return Ke(e)?()=>{const t=Qu(_e(e));return t&&t()}:os(e)}function Km(e){const t=e[on],n=t.type;return 2===n?t.declTNode:1===n?e[Mn]:null}function cd(e){return function KD(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r<i;){const a=n[r];if(G(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(a===t)return n[r+1];r+=2}}}return null}(qi(),e)}function Qm(e,t=null,n=null,i){const r=Jm(e,t,n,i);return r.resolveInjectorInitializers(),r}function Jm(e,t=null,n=null,i,r=new Set){const a=[n||vi,Bs(e)];return i=i||("object"==typeof e?void 0:dt(e)),new zs(a,t||yo(),i||null,r)}let uo=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=we;static#t=this.NULL=new gs;static create(n,i){if(Array.isArray(n))return Qm({name:""},i,n,"");{const r=n.name??"";return Qm({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=hn({token:e,providedIn:"any",factory:()=>Ki(So)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function qu(e){return e.ngOriginalError}class ua{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&&qu(t);for(;n&&qu(n);)n=qu(n);return n||null}}const ep=new xt("",{providedIn:"root",factory:()=>Fn(ua).handleError.bind(void 0)});let La=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=sE;static#t=this.__NG_ENV_ID__=n=>n}return e})();class rE extends La{constructor(t){super(),this._lView=t}onDestroy(t){return Qa(this._lView,t),()=>function Kl(e,t){if(null===e[qn])return;const n=e[qn].indexOf(t);-1!==n&&e[qn].splice(n,1)}(this._lView,t)}}function sE(){return new rE($t())}function oE(){return tl(qi(),$t())}function tl(e,t){return new ql(_s(e,t))}let ql=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=oE}return e})();function np(e){return e instanceof ql?e.nativeElement:e}function eh(e){return t=>{setTimeout(e,void 0,t)}}const Go=class aE extends pn.B7{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,zo()&&(this.destroyRef=Fn(La,{optional:!0})??void 0)}emit(t){const n=g(null);try{super.next(t)}finally{g(n)}}subscribe(t,n,i){let r=t,a=n||(()=>null),d=i;if(t&&"object"==typeof t){const b=t;r=b.next?.bind(b),a=b.error?.bind(b),d=b.complete?.bind(b)}this.__isAsync&&(a=eh(a),r&&(r=eh(r)),d&&(d=eh(d)));const p=super.subscribe({next:r,error:a,complete:d});return t instanceof Sn.y&&t.add(p),p}};function lE(){return this._results[Symbol.iterator]()}class ud{static#e=Symbol.iterator;get changes(){return this._changes??=new Go}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=ud.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=lE)}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 i=function $i(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Fs(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],a=t[i];if(n&&(r=n(r),a=n(a)),a!==r)return!1}return!0}(this._results,i,n))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function hd(e){return!(128&~e.flags)}const th=new Map;let dE=0;const ih="__ngContext__";function Cs(e,t){Fr(t)?(e[ih]=t[pi],function hE(e){th.set(e[pi],e)}(t)):e[ih]=t}function hp(e){return mp(e[be])}function fp(e){return mp(e[vr])}function mp(e){for(;null!==e&&!yr(e);)e=e[vr];return e}let rh;function IE(e){rh=e}function Ea(){if(void 0!==rh)return rh;if(typeof document<"u")return document;throw new pt(210,!1)}const Ep=new xt("",{providedIn:"root",factory:()=>AE}),AE="ng",Cp=new xt(""),sh=new xt("",{providedIn:"platform",factory:()=>"unknown"}),OE=new xt(""),RE=new xt("",{providedIn:"root",factory:()=>Ea().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let wp=()=>null;
vendor: 6,469 bytes, line 1
1function fh(e,t,n=!1){return wp(e,t,n)}const Ip=new xt("",{providedIn:"root",factory:()=>!1});let Dd,Ed;function vh(){if(void 0===Dd&&(Dd=null,he.trustedTypes))try{Dd=he.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Dd}function rl(e){return vh()?.createHTML(e)||e}function _h(){if(void 0===Ed&&(Ed=null,he.trustedTypes))try{Ed=he.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ed}function Op(e){return _h()?.createHTML(e)||e}function Pp(e){return _h()?.createScriptURL(e)||e}class Va{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sn})`}}class KE extends Va{getTypeName(){return"HTML"}}class GE extends Va{getTypeName(){return"Style"}}class XE extends Va{getTypeName(){return"Script"}}class YE extends Va{getTypeName(){return"URL"}}class ZE extends Va{getTypeName(){return"ResourceURL"}}function ha(e){return e instanceof Va?e.changingThisBreaksApplicationSecurity:e}function sl(e,t){const n=function QE(e){return e instanceof Va&&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 ${sn})`)}return n===t}function JE(e){return new KE(e)}function qE(e){return new GE(e)}function e0(e){return new XE(e)}function t0(e){return new YE(e)}function n0(e){return new ZE(e)}class r0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(rl(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class s0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=rl(t),n}}const a0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Cd(e){return(e=String(e)).match(a0)?e:"unsafe:"+e}function fa(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function oc(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const kp=fa("area,br,col,hr,img,wbr"),Fp=fa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lp=fa("rp,rt"),yh=oc(kp,oc(Fp,fa("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")),oc(Lp,fa("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")),oc(Lp,Fp)),bh=fa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vp=oc(bh,fa("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"),fa("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")),l0=fa("script,style,template");class c0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0,r=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)r.push(n),n=h0(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=u0(n);if(a){n=a;break}n=r.pop()}return this.buf.join("")}startElement(t){const n=Up(t).toLowerCase();if(!yh.hasOwnProperty(n))return this.sanitizedSomething=!0,!l0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const a=i.item(r),d=a.name,p=d.toLowerCase();if(!Vp.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let b=a.value;bh[p]&&(b=Cd(b)),this.buf.push(" ",d,'="',jp(b),'"')}return this.buf.push(">"),!0}endElement(t){const n=Up(t).toLowerCase();yh.hasOwnProperty(n)&&!kp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(jp(t))}}function u0(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Bp(t);return t}function h0(e){const t=e.firstChild;if(t&&function d0(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Bp(t);return t}function Up(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Bp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const f0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m0=/([^\#-~ |!])/g;function jp(e){return e.replace(/&/g,"&amp;").replace(f0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(m0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let wd;function Hp(e,t){let n=null;try{wd=wd||function Np(e){const t=new s0(e);return function o0(){try{return!!(new window.DOMParser).parseFromString(rl(""),"text/html")}catch{return!1}}()?new r0(t):t}(e);let i=t?String(t):"";n=wd.getInertBodyElement(i);let r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=wd.getInertBodyElement(i)}while(i!==a);return rl((new c0).sanitizeChildren(Dh(n)||n))}finally{if(n){const i=Dh(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}
1function Dh(e){return"content"in e&&function p0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ua=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}(Ua||{});function zp(e){const t=ac();return t?Op(t.sanitize(Ua.HTML,e)||""):sl(e,"HTML")?Op(ha(e)):Hp(Ea(),Hn(e))}function Eh(e){const t=ac();return t?t.sanitize(Ua.URL,e)||"":sl(e,"URL")?ha(e):Cd(Hn(e))}function $p(e){const t=ac();if(t)return Pp(t.sanitize(Ua.RESOURCE_URL,e)||"");if(sl(e,"ResourceURL"))return Pp(ha(e));throw new pt(904,!1)}function Wp(e){return function WE(e){return vh()?.createScriptURL(e)||e}(e[0])}function Kp(e,t,n){return function y0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?$p:Eh}(t,n)(e)}function ac(){const e=$t();return e&&e[R].sanitizer}const b0=/^>|^->|<!--|-->|--!>|<!-$/g,D0=/(<|>)/g,E0="\u200b$1\u200b";function Zp(e){return e.ownerDocument.defaultView}function Qp(e){return e.ownerDocument}function ho(e){return e instanceof Function?e():e}var Sd=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Sd||{});let Mh;function Sh(e,t){return Mh(e,t)}function al(e,t,n,i,r){if(null!=i){let a,d=!1;yr(i)?a=i:Fr(i)&&(d=!0,i=i[oi]);const p=Ji(i);0===e&&null!==n?null==r?og(t,n,p):Ba(t,n,p,r||null,!0):1===e&&null!==n?Ba(t,n,p,r||null,!0):2===e?function dc(e,t,n){const i=Ad(e,t);i&&function U0(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,p,d):3===e&&t.destroyNode(p),null!=a&&function H0(e,t,n,i,r){const a=n[Os];a!==Ji(n)&&al(t,e,i,a,r);for(let p=_r;p<n.length;p++){const b=n[p];Rd(b[on],b,e,t,i,a)}}(t,e,a,n,r)}}function Ih(e,t){return e.createComment(function Gp(e){return e.replace(b0,t=>t.replace(D0,E0))}(t))}function Td(e,t,n){return e.createElement(t,n)}function ig(e,t){t[R].changeDetectionScheduler?.notify(1),Rd(e,t,t[B],2,null,null)}function rg(e,t){const n=e[Do],i=n.indexOf(t);n.splice(i,1)}function lc(e,t){if(e.length<=_r)return;const n=_r+t,i=e[n];if(i){const r=i[Lt];null!==r&&r!==e&&rg(r,i),t>0&&(e[n-1][vr]=i[vr]);const a=Ls(e,_r+t);!function R0(e,t){ig(e,t),t[oi]=null,t[Mn]=null}(i[on],i);const d=a[Gn];null!==d&&d.detachView(a[on]),i[wi]=null,i[vr]=null,i[Ln]&=-129}return i}function Id(e,t){if(!(256&t[Ln])){const n=t[B];n.destroyNode&&Rd(e,t,n,3,null,null),function N0(e){let t=e[be];if(!t)return Ah(e[on],e);for(;t;){let n=null;if(Fr(t))n=t[be];else{const i=t[_r];i&&(n=i)}if(!n){for(;t&&!t[vr]&&t!==e;)Fr(t)&&Ah(t[on],t),t=t[wi];null===t&&(t=e),Fr(t)&&Ah(t[on],t),n=t&&t[vr]}t=n}}(t)}}function Ah(e,t){if(256&t[Ln])return;const n=g(null);try{t[Ln]&=-129,t[Ln]|=256,t[es]&&Ft(t[es]),function V0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof hs)){const a=n[i+1];if(Array.isArray(a))for(let d=0;d<a.length;d+=2){const p=r[a[d]],b=a[d+1];Co(4,p,b);try{b.call(p)}finally{Co(5,p,b)}}else{Co(4,r,a);try{a.call(r)}finally{Co(5,r,a)}}}}}(e,t),function L0(e,t){const n=e.cleanup,i=t[Is];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const d=n[a+3];d>=0?i[d]():i[-d].unsubscribe(),a+=2}else n[a].call(i[n[a+1]]);null!==i&&(t[Is]=null);const r=t[qn];if(null!==r){t[qn]=null;for(let a=0;a<r.length;a++)(0,r[a])()}}(e,t),1===t[on].type&&t[B].destroy();const i=t[Lt];if(null!==i&&yr(t[wi])){i!==t[wi]&&rg(i,t);const r=t[Gn];null!==r&&r.detachView(e)}!function fE(e){th.delete(e[pi])}(t)}finally{g(n)}}function Oh(e,t,n){return function sg(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[oi];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:a}=e.data[i.directiveStart+r];if(a===xr.None||a===xr.Emulated)return null}return _s(i,n)}}(e,t.parent,n)}function Ba(e,t,n,i,r){e.insertBefore(t,n,i,r)}function og(e,t,n){e.appendChild(t,n)}function ag(e,t,n,i,r){null!==i?Ba(e,t,n,i,r):og(e,t,n)}function Ad(e,t){return e.parentNode(t)}function lg(e,t,n){return dg(e,t,n)}let Rh,dg=function cg(e,t,n){return 40&e.type?_s(e,n):null};function Od(e,t,n,i){const r=Oh(e,i,t),a=t[B],p=lg(i.parent||t[Mn],i,t);
1if(null!=r)if(Array.isArray(n))for(let b=0;b<n.length;b++)ag(a,r,n[b],p,!1);else ag(a,r,n,p,!1);void 0!==Rh&&Rh(a,i,t,n,r)}function cc(e,t){if(null!==t){const n=t.type;if(3&n)return _s(t,e);if(4&n)return Ph(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return cc(e,i);{const r=e[t.index];return yr(r)?Ph(-1,r):Ji(r)}}if(32&n)return Sh(t,e)()||Ji(e[t.index]);{const i=hg(e,t);return null!==i?Array.isArray(i)?i[0]:cc(da(e[_t]),i):cc(e,t.next)}}return null}function hg(e,t){return null!==t?e[_t][Mn].projection[t.projection]:null}function Ph(e,t){const n=_r+e+1;if(n<t.length){const i=t[n],r=i[on].firstChild;if(null!==r)return cc(i,r)}return t[Os]}function Nh(e,t,n,i,r,a,d){for(;null!=n;){const p=i[n.index],b=n.type;if(d&&0===t&&(p&&Cs(Ji(p),i),n.flags|=2),32&~n.flags)if(8&b)Nh(e,t,n.child,i,r,a,!1),al(t,e,r,p,a);else if(32&b){const j=Sh(n,i);let ne;for(;ne=j();)al(t,e,r,ne,a);al(t,e,r,p,a)}else 16&b?mg(e,t,i,n,r,a):al(t,e,r,p,a);n=d?n.projectionNext:n.next}}function Rd(e,t,n,i,r,a){Nh(n,i,e.firstChild,t,r,a,!1)}function mg(e,t,n,i,r,a){const d=n[_t],b=d[Mn].projection[i.projection];if(Array.isArray(b))for(let j=0;j<b.length;j++)al(t,e,r,b[j],a);else{let j=b;const ne=d[wi];hd(i)&&(j.flags|=128),Nh(e,t,j,ne,r,a,!0)}}function pg(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function gg(e,t,n){const{mergedAttrs:i,classes:r,styles:a}=n;null!==i&&po(e,t,i),null!==r&&pg(e,t,r),null!==a&&function $0(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}const bi={};function vg(e=1){_g(Ii(),$t(),hr()+e,!1)}function _g(e,t,n,i){if(!i)if(3&~t[Ln]){const a=e.preOrderHooks;null!==a&&co(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&ds(t,a,n)}Ks(n)}function ll(e,t=tn.Default){const n=$t();return null===n?Ki(e,t):jm(qi(),n,_e(e),t)}function yg(){throw new Error("invalid")}function bg(e,t,n,i,r,a){const d=g(null);try{let p=null;r&Yr.SignalBased&&(p=t[i][u]),null!==p&&void 0!==p.transformFn&&(a=p.transformFn(a)),r&Yr.HasDecoratorInputTransform&&(a=e.inputTransforms[i].call(t,a)),null!==e.setInput?e.setInput(t,p,a,n,i):Eo(t,p,i,a)}finally{g(d)}}function Pd(e,t,n,i,r,a,d,p,b,j,ne){const Ie=t.blueprint.slice();return Ie[oi]=r,Ie[Ln]=204|i,(null!==j||e&&2048&e[Ln])&&(Ie[Ln]|=2048),zl(Ie),Ie[wi]=Ie[tt]=e,Ie[P]=n,Ie[R]=d||e&&e[R],Ie[B]=p||e&&e[B],Ie[h]=b||e&&e[h]||null,Ie[Mn]=a,Ie[pi]=function uE(){return dE++}(),Ie[Gi]=ne,Ie[cr]=j,Ie[_t]=2==t.type?e[_t]:Ie,Ie}function cl(e,t,n,i,r){let a=e.data[t];if(null===a)a=function kh(e,t,n,i,r){const a=td(),d=Gl(),b=e.data[t]=function J0(e,t,n,i,r,a){let d=t?t.injectorIndex:-1,p=0;return Da()&&(p|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:r,attrs:a,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,d?a:a&&a.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=b),null!==a&&(d?null==a.child&&null!==b.parent&&(a.child=b):null===a.next&&(a.next=b,b.prev=a)),b}(e,t,n,i,r),function Dt(){return ci.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=i,a.attrs=r;const d=function Na(){const e=ci.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===d?-1:d.injectorIndex}return wo(a,!0),a}function uc(e,t,n,i){if(0===n)return-1;const r=t.length;for(let a=0;a<n;a++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Dg(e,t,n,i,r){const a=hr(),d=2&i;try{Ks(-1),d&&t.length>Jn&&_g(e,t,Jn,!1),Co(d?2:0,r),n(i,r)}finally{Ks(a),Co(d?3:1,r)}}function Fh(e,t,n){if(so(t)){const i=g(null);try{const a=t.directiveEnd;for(let d=t.directiveStart;d<a;d++){const p=e.data[d];p.contentQueries&&p.contentQueries(1,n[d],d)}}finally{g(i)}}}function Lh(e,t,n){Jc()&&(function sC(e,t,n,i){const r=n.directiveStart,a=n.directiveEnd;oo(n)&&function hC(e,t,n){const i=_s(t,e),r=Eg(n);let d=16;n.signals?d=4096:n.onPush&&(d=64);const p=Nd(e,Pd(e,r,null,d,i,t,null,e[R].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=p}
1(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||od(n,t),Cs(i,t);const d=n.initialInputs;for(let p=r;p<a;p++){const b=e.data[p],j=Fa(t,e,p,n);Cs(j,t),null!==d&&fC(0,p-r,j,b,0,d),Es(b)&&(Rs(n.index,t)[P]=Fa(t,e,p,n))}}(e,t,n,_s(n,t)),!(64&~n.flags)&&Sg(e,t,n))}function Vh(e,t,n=_s){const i=t.localNames;if(null!==i){let r=t.index+1;for(let a=0;a<i.length;a+=2){const d=i[a+1],p=-1===d?n(t,e):e[d];e[r++]=p}}}function Eg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Uh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Uh(e,t,n,i,r,a,d,p,b,j,ne){const Ie=Jn+i,nt=Ie+r,ut=function K0(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:bi);return n}(Ie,nt),wt="function"==typeof j?j():j;return ut[on]={type:e,blueprint:ut,template:n,queries:null,viewQuery:p,declTNode:t,data:ut.slice().fill(null,Ie),bindingStartIndex:Ie,expandoStartIndex:nt,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 a?a():a,pipeRegistry:"function"==typeof d?d():d,firstChild:null,schemas:b,consts:wt,incompleteFirstPass:!1,ssrId:ne}}let Cg=()=>null;function wg(e,t,n,i,r){for(let a in t){if(!t.hasOwnProperty(a))continue;const d=t[a];if(void 0===d)continue;i??={};let p,b=Yr.None;Array.isArray(d)?(p=d[0],b=d[1]):p=d;let j=a;if(null!==r){if(!r.hasOwnProperty(a))continue;j=r[a]}0===e?xg(i,n,j,p,b):xg(i,n,j,p)}return i}function xg(e,t,n,i,r){let a;e.hasOwnProperty(n)?(a=e[n]).push(t,i):a=e[n]=[t,i],void 0!==r&&a.push(r)}function Ys(e,t,n,i,r,a,d,p){const b=_s(t,n);let ne,j=t.inputs;!p&&null!=j&&(ne=j[i])?($h(e,n,ne,i,r),oo(t)&&function tC(e,t){const n=Rs(t,e);16&n[Ln]||(n[Ln]|=64)}(n,t.index)):3&t.type&&(i=function eC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=d?d(r,t.value||"",i):r,a.setProperty(b,i,r))}function Bh(e,t,n,i){if(Jc()){const r=null===i?null:{"":-1},a=function aC(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let a=0;a<n.length;a++){const d=n[a];if(Jo(t,d.selectors,!1))if(i||(i=[]),Es(d))if(null!==d.findHostDirectiveDefs){const p=[];r=r||new Map,d.findHostDirectiveDefs(d,p,r),i.unshift(...p,d),jh(e,t,p.length)}else i.unshift(d),jh(e,t,0);else r=r||new Map,d.findHostDirectiveDefs?.(d,i,r),i.push(d)}return null===i?null:[i,r]}(e,n);let d,p;null===a?d=p=null:[d,p]=a,null!==d&&Mg(e,t,n,d,r,p),r&&function lC(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const a=n[t[r+1]];if(null==a)throw new pt(-301,!1);i.push(t[r],a)}}}(n,i,r)}n.mergedAttrs=O(n.mergedAttrs,n.attrs)}function Mg(e,t,n,i,r,a){for(let j=0;j<i.length;j++)Zu(od(n,t),e,i[j].type);!function dC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let j=0;j<i.length;j++){const ne=i[j];ne.providersResolver&&ne.providersResolver(ne)}let d=!1,p=!1,b=uc(e,t,i.length,null);for(let j=0;j<i.length;j++){const ne=i[j];n.mergedAttrs=O(n.mergedAttrs,ne.hostAttrs),uC(e,n,t,b,ne),cC(b,ne,r),null!==ne.contentQueries&&(n.flags|=4),(null!==ne.hostBindings||null!==ne.hostAttrs||0!==ne.hostVars)&&(n.flags|=64);const Ie=ne.type.prototype;!d&&(Ie.ngOnChanges||Ie.ngOnInit||Ie.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),d=!0),!p&&(Ie.ngOnChanges||Ie.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),p=!0),b++}!function q0(e,t,n){const r=t.directiveEnd,a=e.data,d=t.attrs,p=[];let b=null,j=null;for(let ne=t.directiveStart;ne<r;ne++){const Ie=a[ne],nt=n?n.get(Ie):null,wt=nt?nt.outputs:null;b=wg(0,Ie.inputs,ne,b,nt?nt.inputs:null),j=wg(1,Ie.outputs,ne,j,wt);const Wt=null===b||null===d||li(t)?null:mC(b,ne,d);p.push(Wt)}null!==b&&(b.hasOwnProperty("class")&&(t.flags|=8),b.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=p,t.inputs=b,t.outputs=j}(e,n,a)}function Sg(e,t,n){const i=n.directiveStart,r=n.directiveEnd,a=n.index,d=function Xt(){return ci.lFrame.currentDirectiveIndex}();try{Ks(a);for(let p=i;p<r;p++){const b=e.data[p],j=t[p];Vn(p),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&oC(b,j)}}finally{Ks(-1),Vn(d)}}function oC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}
1function jh(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function cC(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Es(t)&&(n[""]=e)}}function uC(e,t,n,i,r){e.data[i]=r;const a=r.factory||(r.factory=os(r.type)),d=new hs(a,Es(r),ll);e.blueprint[i]=d,n[i]=d,function iC(e,t,n,i,r){const a=r.hostBindings;if(a){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const p=~t.index;(function rC(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=p&&d.push(p),d.push(n,i,a)}}(e,t,i,uc(e,n,r.hostVars,bi),r)}function Xo(e,t,n,i,r,a){const d=_s(e,t);!function Hh(e,t,n,i,r,a,d){if(null==a)e.removeAttribute(t,r,n);else{const p=null==d?Hn(a):d(a,i||"",r);e.setAttribute(t,r,p,n)}}(t[B],d,a,e.value,n,i,r)}function fC(e,t,n,i,r,a){const d=a[t];if(null!==d)for(let p=0;p<d.length;)bg(i,n,d[p++],d[p++],d[p++],d[p++])}function mC(e,t,n){let i=null,r=0;for(;r<n.length;){const a=n[r];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===i&&(i=[]);const d=e[a];for(let p=0;p<d.length;p+=3)if(d[p]===t){i.push(a,d[p+1],d[p+2],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function Tg(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function Ig(e,t){const n=e.contentQueries;if(null!==n){const i=g(null);try{for(let r=0;r<n.length;r+=2){const d=n[r+1];if(-1!==d){const p=e.data[d];yn(n[r]),p.contentQueries(2,t[d],d)}}}finally{g(i)}}}function Nd(e,t){return e[be]?e[qe][vr]=t:e[be]=t,e[qe]=t,t}function zh(e,t,n){yn(0);const i=g(null);try{t(e,n)}finally{g(i)}}function Ag(e){return e[Is]||(e[Is]=[])}function Og(e){return e.cleanup||(e.cleanup=[])}function Rg(e,t,n){return(null===e||Es(e))&&(n=function jl(e){for(;Array.isArray(e);){if("object"==typeof e[Xi])return e;e=e[oi]}return null}(n[t.index])),n[B]}function kd(e,t){const n=e[h],i=n?n.get(ua,null):null;i&&i.handleError(t)}function $h(e,t,n,i,r){for(let a=0;a<n.length;){const d=n[a++],p=n[a++],b=n[a++];bg(e.data[d],t[d],i,p,b,r)}}function ma(e,t,n){const i=Oa(t,e);!function ng(e,t,n){e.setValue(t,n)}(e[B],i,n)}function pC(e,t){const n=Rs(t,e),i=n[on];!function gC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[oi];null!==r&&null===n[Gi]&&(n[Gi]=fh(r,n[h])),Wh(i,n,n[P])}function Wh(e,t,n){Ui(t);try{const i=e.viewQuery;null!==i&&zh(1,i,n);const r=e.template;null!==r&&Dg(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Gn]?.finishViewCreation(e),e.staticContentQueries&&Ig(e,t),e.staticViewQueries&&zh(2,e.viewQuery,n);const a=e.components;null!==a&&function vC(e,t){for(let n=0;n<t.length;n++)pC(e,t[n])}(t,a)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[Ln]&=-5,dr()}}function hc(e,t,n,i){const r=g(null);try{const a=t.tView,b=Pd(e,a,n,4096&e[Ln]?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);b[Lt]=e[t.index];const ne=e[Gn];return null!==ne&&(b[Gn]=ne.createEmbeddedView(a)),Wh(a,b,n),b}finally{g(r)}}function Pg(e,t){const n=_r+t;if(n<e.length)return e[n]}function dl(e,t){return!t||null===t.firstChild||hd(e)}function fc(e,t,n,i=!0){const r=t[on];if(function k0(e,t,n,i){const r=_r+i,a=n.length;i>0&&(n[r-1][vr]=t),i<a-_r?(t[vr]=n[r],ws(n,_r+i,t)):(n.push(t),t[vr]=null),t[wi]=n;const d=t[Lt];null!==d&&n!==d&&function F0(e,t){const n=e[Do];t[_t]!==t[wi][wi][_t]&&(e[Ln]|=$o.HasTransplantedViews),null===n?e[Do]=[t]:n.push(t)}(d,t);const p=t[Gn];null!==p&&p.insertView(e),Za(t),t[Ln]|=128}(r,t,e,n),i){const d=Ph(n,e),p=t[B],b=Ad(p,e[Os]);null!==b&&function P0(e,t,n,i,r,a){i[oi]=r,i[Mn]=t,Rd(e,i,n,1,r,a)}(r,e[Mn],p,t,b,d)}const a=t[Gi];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function Kh(e,t){const n=lc(e,t);return void 0!==n&&Id(n[on],n),n}function mc(e,t,n,i,r=!1){for(;null!==n;){const a=t[n.index];null!==a&&i.push(Ji(a)),yr(a)&&Ng(a,i);const d=n.type;if(8&d)mc(e,t,n.child,i);else if(32&d){const p=Sh(n,t);let b;for(;b=p();)i.push(b)}else if(16&d){const p=hg(t,n);if(Array.isArray(p))i.push(...p);else{const b=da(t[_t]);mc(b[on],b,p,i,!0)}}n=r?n.projectionNext:n.next}return i}function Ng(e,t){for(let n=_r;n<e.length;n++){const i=e[n],r=i[on].firstChild;
1null!==r&&mc(i[on],i,r,t)}e[Os]!==e[oi]&&t.push(e[Os])}let kg=[];const DC={...V,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Pa(e.lView)},consumerOnSignalRead(){this.lView[es]=this}},Fg=100;function Fd(e,t=!0,n=0){const i=e[R],r=i.rendererFactory;r.begin?.();try{!function EC(e,t){Gh(e,t);let n=0;for(;Wl(e);){if(n===Fg)throw new pt(103,!1);n++,Gh(e,1)}}(e,n)}catch(d){throw t&&kd(e,d),d}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function CC(e,t,n,i){const r=t[Ln];if(!(256&~r))return;t[R].inlineEffectRunner?.flush(),Ui(t);let d=null,p=null;(function wC(e){return 2!==e.type})(e)&&(p=function _C(e){return e[es]??function yC(e){const t=kg.pop()??Object.create(DC);return t.lView=e,t}(e)}(t),d=ge(p));try{zl(t),function Ee(e){return ci.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Dg(e,t,n,2,i);const b=!(3&~r);if(b){const Ie=e.preOrderCheckHooks;null!==Ie&&ds(t,Ie,null)}else{const Ie=e.preOrderHooks;null!==Ie&&co(t,Ie,0,null),br(t,0)}if(function xC(e){for(let t=hp(e);null!==t;t=fp(t)){if(!(t[Ln]&$o.HasTransplantedViews))continue;const n=t[Do];for(let i=0;i<n.length;i++){Vu(n[i])}}}(t),Lg(t,0),null!==e.contentQueries&&Ig(e,t),b){const Ie=e.contentCheckHooks;null!==Ie&&ds(t,Ie)}else{const Ie=e.contentHooks;null!==Ie&&co(t,Ie,1),br(t,1)}!function W0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)Ks(~r);else{const a=r,d=n[++i],p=n[++i];mn(d,a),p(2,t[a])}}}finally{Ks(-1)}}(e,t);const j=e.components;null!==j&&Ug(t,j,0);const ne=e.viewQuery;if(null!==ne&&zh(2,ne,i),b){const Ie=e.viewCheckHooks;null!==Ie&&ds(t,Ie)}else{const Ie=e.viewHooks;null!==Ie&&co(t,Ie,2),br(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Dr]){for(const Ie of t[Dr])Ie();t[Dr]=null}t[Ln]&=-73}catch(b){throw Pa(t),b}finally{null!==p&&(ye(p,d),function bC(e){e.lView[es]!==e&&(e.lView=null,kg.push(e))}(p)),dr()}}function Lg(e,t){for(let n=hp(e);null!==n;n=fp(n))for(let i=_r;i<n.length;i++)Vg(n[i],t)}function MC(e,t,n){Vg(Rs(t,e),n)}function Vg(e,t){Hl(e)&&Gh(e,t)}function Gh(e,t){const i=e[on],r=e[Ln],a=e[es];let d=!!(0===t&&16&r);if(d||=!!(64&r&&0===t),d||=!!(1024&r),d||=!(!a?.dirty||!rt(a)),a&&(a.dirty=!1),e[Ln]&=-9217,d)CC(i,e,i.template,e[P]);else if(8192&r){Lg(e,1);const p=i.components;null!==p&&Ug(e,p,1)}}function Ug(e,t,n){for(let i=0;i<t.length;i++)MC(e,t[i],n)}function pc(e){for(e[R].changeDetectionScheduler?.notify();e;){e[Ln]|=64;const t=da(e);if(aa(e)&&!t)return e;e=t}return null}class gc{get rootNodes(){const t=this._lView,n=t[on];return mc(n,t,n.firstChild,[])}constructor(t,n,i=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[P]}set context(t){this._lView[P]=t}get destroyed(){return!(256&~this._lView[Ln])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[wi];if(yr(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(lc(t,i),Ls(n,i))}this._attachedToViewContainer=!1}Id(this._lView[on],this._lView)}onDestroy(t){Qa(this._lView,t)}markForCheck(){pc(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ln]&=-129}reattach(){Za(this._lView),this._lView[Ln]|=128}detectChanges(){this._lView[Ln]|=1024,Fd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,ig(this._lView[on],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new pt(902,!1);this._appRef=t,Za(this._lView)}}let vc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=IC}return e})();const SC=vc,TC=class extends SC{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const r=hc(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new gc(r)}};function IC(){return Ld(qi(),$t())}function Ld(e,t){return 4&e.type?new TC(t,e,tl(e,t)):null}let Wg=()=>null;function ul(e,t){return Wg(e,t)}class Hd{}class qC{}class Kg{}
vendor: 3,237 bytes, line 1
1class tw{resolveComponentFactory(t){throw function ew(e){const t=Error(`No component factory found for ${dt(e)}.`);return t.ngComponent=e,t}(t)}}let Ec=(()=>{class e{static#e=this.NULL=new tw}return e})();class Xg{}let nw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function iw(){const e=$t(),n=Rs(qi().index,e);return(Fr(n)?n:e)[B]}()}return e})(),Yg=(()=>{class e{static#e=this.\u0275prov=hn({token:e,providedIn:"root",factory:()=>null})}return e})();const qh={};function rw(e,t){if(null!==function C(){return x}())throw new pt(-602,!1)}const Zg=new Set;function Yo(e){Zg.has(e)||(Zg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Qg(...e){}class Xr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Go(!1),this.onMicrotaskEmpty=new Go(!1),this.onStable=new Go(!1),this.onError=new Go(!1),typeof Zone>"u")throw new pt(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function sw(){const e="function"==typeof he.requestAnimationFrame;let t=he[e?"requestAnimationFrame":"setTimeout"],n=he[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function lw(e){const t=()=>{!function aw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,tf(e),e.isCheckStableRunning=!0,ef(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),tf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,a,d,p)=>{if(function cw(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(p))return n.invokeTask(r,a,d,p);try{return Jg(e),n.invokeTask(r,a,d,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),qg(e)}},onInvoke:(n,i,r,a,d,p,b)=>{try{return Jg(e),n.invoke(r,a,d,p,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),qg(e)}},onHasTask:(n,i,r,a)=>{n.hasTask(r,a),i===r&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,tf(e),ef(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,i,r,a)=>(n.handleError(r,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Xr.isInAngularZone())throw new pt(909,!1)}
1static assertNotInAngularZone(){if(Xr.isInAngularZone())throw new pt(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const a=this._inner,d=a.scheduleEventTask("NgZoneEvent: "+r,t,ow,Qg,Qg);try{return a.runTask(d,n,i)}finally{a.cancelTask(d)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const ow={};function ef(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 tf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Jg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qg(e){e._nesting--,ef(e)}class ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Go,this.onMicrotaskEmpty=new Go,this.onStable=new Go,this.onError=new Go}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}var ja=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ja||{});const tv={destroy(){}};function nv(e,t){!t&&qr();const n=t?.injector??Fn(uo);if(!function Ro(e){return"browser"===(e??Fn(uo)).get(sh)}(n))return tv;Yo("NgAfterNextRender");const i=n.get(Cc),r=i.handler??=new rv,a=t?.phase??ja.MixedReadWrite,d=()=>{r.unregister(b),p()},p=n.get(La).onDestroy(d),b=Ir(n,()=>new iv(a,()=>{d(),e()}));return r.register(b),{destroy:d}}class iv{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=Fn(Xr),this.errorHandler=Fn(ua,{optional:!0}),Fn(Hd,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class rv{constructor(){this.executingCallbacks=!1,this.buckets={[ja.EarlyRead]:new Set,[ja.Write]:new Set,[ja.MixedReadWrite]:new Set,[ja.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const 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 Cc=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=hn({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ca(e){return!!di(e)}function $d(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,a=0;if(null!==t)for(let d=0;d<t.length;d++){const p=t[d];"number"==typeof p?a=p:1==a?r=Ze(r,p):2==a&&(i=Ze(i,p+": "+t[++d]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}class av extends Ec{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=fi(t);return new Mc(n,this.ngModule)}}function lv(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n];void 0!==i&&t.push({propName:Array.isArray(i)?i[0]:i,templateName:n})}return t}class Wd{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=Ar(i);const r=this.injector.get(t,qh,i);return r!==qh||n===qh?r:this.parentInjector.get(t,n,i)}}class Mc extends Kg{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=lv(t.inputs);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return lv(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ga(e){return e.map(qo).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){const a=g(null);try{let d=(r=r||this.ngModule)instanceof Jr?r:r?.injector;d&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);const p=d?new Wd(t,d):t,b=p.get(Xg,null);if(null===b)throw new pt(407,!1);const j=p.get(Yg,null),nt={rendererFactory:b,sanitizer:j,inlineEffectRunner:null,afterRe
vendor: 7,788 bytes, line 1
1nderEventManager:p.get(Cc,null),changeDetectionScheduler:p.get(Hd,null)},ut=b.createRenderer(null,this.componentDef),wt=this.componentDef.selectors[0][0]||"div",Wt=i?function G0(e,t,n,i){const a=i.get(Ip,!1)||n===xr.ShadowDom,d=e.selectRootElement(t,a);return function X0(e){Cg(e)}(d),d}(ut,i,this.componentDef.encapsulation,p):Td(ut,wt,function mw(e){const t=e.toLowerCase();return"svg"===t?Ru:"math"===t?"math":null}(wt));let ln=512;this.componentDef.signals?ln|=4096:this.componentDef.onPush||(ln|=16);let bn=null;null!==Wt&&(bn=fh(Wt,p,!0));const Jt=Uh(0,null,null,1,0,null,null,null,null,null,null),ai=Pd(null,Jt,null,ln,null,null,nt,ut,p,null,bn);let Hi,fr;Ui(ai);try{const rs=this.componentDef;let Qs,Ll=null;rs.findHostDirectiveDefs?(Qs=[],Ll=new Map,rs.findHostDirectiveDefs(rs,Qs,Ll),Qs.push(rs)):Qs=[rs];const UD=function gw(e,t){const n=e[on],i=Jn;return e[i]=t,cl(n,i,2,"#host",null)}(ai,Wt),vA=function vw(e,t,n,i,r,a,d){const p=r[on];!function _w(e,t,n,i){for(const r of e)t.mergedAttrs=O(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&($d(t,t.mergedAttrs,!0),null!==n&&gg(i,n,t))}(i,e,t,d);let b=null;null!==t&&(b=fh(t,r[h]));const j=a.rendererFactory.createRenderer(t,n);let ne=16;n.signals?ne=4096:n.onPush&&(ne=64);const Ie=Pd(r,Eg(n),null,ne,r[e.index],e,a,j,null,null,b);return p.firstCreatePass&&jh(p,e,i.length-1),Nd(r,Ie),r[e.index]=Ie}(UD,Wt,rs,Qs,ai,nt,ut);fr=Ra(Jt,Jn),Wt&&function bw(e,t,n,i){if(i)po(e,n,["ng-version","17.3.12"]);else{const{attrs:r,classes:a}=function Zr(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let a=e[i];if("string"==typeof a)2===r?""!==a&&t.push(a,e[++i]):8===r&&n.push(a);else{if(!gr(r))break;r=a}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&po(e,n,r),a&&a.length>0&&pg(e,n,a.join(" "))}}(ut,rs,Wt,i),void 0!==n&&function Dw(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const a=n[r];i.push(null!=a?Array.from(a):null)}}(fr,this.ngContentSelectors,n),Hi=function yw(e,t,n,i,r,a){const d=qi(),p=r[on],b=_s(d,r);Mg(p,r,d,n,null,i);for(let ne=0;ne<n.length;ne++)Cs(Fa(r,p,d.directiveStart+ne,d),r);Sg(p,r,d),b&&Cs(b,r);const j=Fa(r,p,d.directiveStart+d.componentOffset,d);if(e[P]=r[P]=j,null!==a)for(const ne of a)ne(j,t);return Fh(p,d,r),j}(vA,rs,Qs,Ll,ai,[Ew]),Wh(Jt,ai,null)}finally{dr()}return new pw(this.componentType,Hi,tl(fr,ai),ai,fr)}finally{g(a)}}}class pw extends qC{constructor(t,n,i,r,a){super(),this.location=i,this._rootLView=r,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new gc(r,void 0,!1),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;$h(a[on],a,r,t,n),this.previousInputValues.set(t,n),pc(Rs(this._tNode.index,a))}}get injector(){return new ts(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Ew(){const e=qi();Ps($t()[on],e)}let Kd=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Cw}return e})();function Cw(){return uv(qi(),$t())}const ww=Kd,cv=class extends ww{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return tl(this._hostTNode,this._hostLView)}get injector(){return new ts(this._hostTNode,this._hostLView)}get parentInjector(){const t=ad(this._hostTNode,this._hostLView);if(Gu(t)){const n=Jl(t,this._hostLView),i=Ql(t);return new ts(n[on].data[i+8],n)}return new ts(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-_r}createEmbeddedView(t,n,i){let r,a;"number"==typeof i?r=i:null!=i&&(r=i.index,a=i.injector);const d=ul(this._lContainer,t.ssrId),p=t.createEmbeddedViewImpl(n||{},a,d);return this.insertImpl(p,r,dl(this._hostTNode,d)),p}createComponent(t,n,i,r,a){const d=t&&!function Kt(e){return"function"==typeof e}(t);let p;if(d)p=n;else{const wt=n||{};p=wt.index,i=wt.injector,r=wt.projectableNodes,a=wt.environmentInjector||wt.ngModuleRef}const b=d?t:new Mc(fi(t)),j=i||this.parentInjector;if(!a&&null==b.ngModule){const Wt=(d?j:this.parentInjector).get(Jr,null);Wt&&(a=Wt)}const ne=fi(b.componentType??{}),Ie=ul(this._lContainer,ne?.id??null),ut=b.create(j,r,Ie?.firstChild??null,a);return this.insertImpl(ut.hostView,p,dl(this._hostTNode,Ie)),ut}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const r=t._lView;if(function Lu(e){return yr(e[wi])}(r)){const p=this.indexOf(t);if(-1!==p)this.detach(p);else{const b=r[wi],j=new cv(b,b[Mn],b[wi]);j.detach(j.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;return fc(d,r,a,i),t.attachToViewContainerRef(),ws(af(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=dv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=lc(this._lContainer,n);i&&(Ls(af(this._lContainer),n),Id(i[on],i))}detach(t){const n=this._adjustIndex(t,-1),i=lc(this._lContainer,n);return i&&null!=Ls(af(this._lContainer),n)?new gc(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function dv(e){return e[8]}function af(e){return e[8]||(e[8]=[])}function uv(e,t){let n;const i=t[e.index];return yr(i)?n=i:(n=Tg(i,t,null,e),t[e.index]=n,Nd(t,n)),hv(n,t,e,i),new cv(n,e,t)}let hv=function mv(e,t,n,i){if(e[Os])return;let r;r=8&n.type?Ji(i):function xw(e,t){const n=e[B],i=n.createComment(""),r=_s(t,e);return Ba(n,Ad(n,r),i,function B0(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[Os]=r},lf=()=>!1;class cf{constructor(t){this.queryList=t,this.matches=null}clone(){return new cf(this.queryList)}setDirty(){this.queryList.setDirty()}}class df{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let a=0;a<i;a++){const d=n.getByIndex(a);r.push(this.queries[d.indexInDeclarationView].clone())}return new df(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==pf(t,n).matches&&this.queries[n].setDirty()}}class pv{constructor(t,n,i=null){this.flags=n,this.read=i,this.predicate="string"==typeof t?function Pw(e){return e.split(",").map(t=>t.trim())}(t):t}}class uf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const r=null!==n?n.length:0,a=this.getByIndex(i).embeddedTView(t,r);a&&(a.indexInDeclarationView=i,null!==n?n.push(a):n=[a])}return null!==n?new uf(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class hf{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 hf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}
1matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const a=i[r];this.matchTNodeWithReadOption(t,n,Iw(n,a)),this.matchTNodeWithReadOption(t,n,ld(n,t,a,!1,!1))}else i===vc?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ld(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===ql||r===Kd||r===vc&&4&n.type)this.addMatch(n.index,-2);else{const a=ld(n,t,r,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Iw(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Ow(e,t,n,i){return-1===n?function Aw(e,t){return 11&e.type?tl(e,t):4&e.type?Ld(e,t):null}(t,e):-2===n?function Rw(e,t,n){return n===ql?tl(t,e):n===vc?Ld(t,e):n===Kd?uv(t,e):void 0}(e,t,i):Fa(e,e[on],n,t)}function gv(e,t,n,i){const r=t[Gn].queries[i];if(null===r.matches){const a=e.data,d=n.matches,p=[];for(let b=0;null!==d&&b<d.length;b+=2){const j=d[b];p.push(j<0?null:Ow(t,a[j],d[b+1],n.metadata.read))}r.matches=p}return r.matches}function ff(e,t,n,i){const r=e.queries.getByIndex(n),a=r.matches;if(null!==a){const d=gv(e,t,r,n);for(let p=0;p<a.length;p+=2){const b=a[p];if(b>0)i.push(d[p/2]);else{const j=a[p+1],ne=t[-b];for(let Ie=_r;Ie<ne.length;Ie++){const nt=ne[Ie];nt[Lt]===nt[wi]&&ff(nt[on],nt,j,i)}if(null!==ne[Do]){const Ie=ne[Do];for(let nt=0;nt<Ie.length;nt++){const ut=Ie[nt];ff(ut[on],ut,j,i)}}}}}return i}function vv(e,t,n){const i=new ud(!(4&~n));return function Q0(e,t,n,i){const r=Ag(t);r.push(n),e.firstCreatePass&&Og(e).push(i,r.length-1)}(e,t,i,i.destroy),(t[Gn]??=new df).queries.push(new cf(i))-1}function bv(e,t,n){null===e.queries&&(e.queries=new uf),e.queries.track(new hf(t,n))}function pf(e,t){return e.queries.getByIndex(t)}function Dv(e,t){const n=e[on],i=pf(n,t);return i.crossesNgTemplate?ff(n,e,t,[]):gv(n,e,i,t)}function gf(e){return"function"==typeof e&&void 0!==e[u]}function Ev(e,t){Yo("NgSignals");const n=function it(e){const t=Object.create(Gt);t.value=e;const n=()=>(Z(t),t.value);return n[u]=t,n}(e),i=n[u];return t?.equal&&(i.equal=t.equal),n.set=r=>En(i,r),n.update=r=>function In(e,t){Oe()||yt(),En(e,t(e.value))}(i,r),n.asReadonly=Cv.bind(n),n}function Cv(){const e=this[u];if(void 0===e.readonlyFn){const t=()=>this();t[u]=e,e.readonlyFn=t}return e.readonlyFn}function wv(e){return gf(e)&&"function"==typeof e.set}function _f(e){let t=function kv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(Es(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new pt(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const d=e;d.inputs=Xd(e.inputs),d.inputTransforms=Xd(e.inputTransforms),d.declaredInputs=Xd(e.declaredInputs),d.outputs=Xd(e.outputs);const p=r.hostBindings;p&&Xw(e,p);const b=r.viewQuery,j=r.contentQueries;if(b&&Kw(e,b),j&&Gw(e,j),$w(e,r),Ce(e.outputs,r.outputs),Es(r)&&r.data.animation){const ne=e.data;ne.animation=(ne.animation||[]).concat(r.data.animation)}}const a=r.features;if(a)for(let d=0;d<a.length;d++){const p=a[d];p&&p.ngInherit&&p(e),p===_f&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Ww(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=O(r.hostAttrs,n=O(n,r.hostAttrs))}}(i)}function $w(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const i=t.inputs[n];if(void 0!==i&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!t.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=t.inputTransforms[r]}}}function Xd(e){return e===wr?{}:e===vi?[]:e}function Kw(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function Gw(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,a)=>{t(i,r,a),n(i,r,a)}:t}function Xw(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function Uv(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];Array.isArray(r)&&r[3]&&(n[i]=r[3])}e.inputTransforms=n}class Ha{}class Bv{}
vendor: 8,160 bytes, line 1
1function ex(e,t){return new yf(e,t??null,[])}class yf extends Ha{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new av(this);const r=di(t);this._bootstrapComponents=ho(r.bootstrap),this._r3Injector=Jm(t,n,[{provide:Ha,useValue:this},{provide:Ec,useValue:this.componentFactoryResolver},...i],dt(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 bf extends Bv{constructor(t){super(),this.moduleType=t}create(t){return new yf(this.moduleType,t,[])}}class jv extends Ha{constructor(t){super(),this.componentFactoryResolver=new av(this),this.instance=null;const n=new zs([...t.providers,{provide:Ha,useValue:this},{provide:Ec,useValue:this.componentFactoryResolver}],t.parent||yo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Df(e,t,n=null){return new jv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let fl=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Pn.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||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&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Zd(e){return!!Ef(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ef(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Zo(e,t,n){return e[t]=n}function Tc(e,t){return e[t]}function Lr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function za(e,t,n,i){const r=Lr(e,t,n);return Lr(e,t+1,i)||r}function Qd(e,t,n,i,r){const a=za(e,t,n,i);return Lr(e,t+2,r)||a}function xo(e,t,n,i,r,a){const d=za(e,t,n,i);return za(e,t+2,r,a)||d}function ml(e,t,n,i,r,a,d,p){const b=$t(),j=Ii(),ne=e+Jn,Ie=j.firstCreatePass?function ax(e,t,n,i,r,a,d,p,b){const j=t.consts,ne=cl(t,e,4,d||null,Ws(j,p));Bh(t,n,ne,Ws(j,b)),Ps(t,ne);const Ie=ne.tView=Uh(2,ne,i,r,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,j,null);return null!==t.queries&&(t.queries.template(t,ne),Ie.queries=t.queries.embeddedTView(ne)),ne}(ne,j,b,t,n,i,r,a,d):j.data[ne];wo(Ie,!1);const nt=Hv(j,b,Ie,e);ii()&&Od(j,b,nt,Ie),Cs(nt,b);const ut=Tg(nt,b,nt,Ie);return b[ne]=ut,Nd(b,ut),function fv(e,t,n){return lf(e,t,n)}(ut,Ie,b),Ia(Ie)&&Lh(j,b,Ie),null!=d&&Vh(b,Ie,p),ml}let Hv=function zv(e,t,n,i){return yi(!0),t[B].createComment("")};function Rf(e,t,n,i){const r=$t();return Lr(r,Be(),t)&&(Ii(),Xo(lr(),r,e,t,n,i)),Rf}function El(e,t,n,i){return Lr(e,Be(),n)?t+Hn(n)+i:bi}function Cl(e,t,n,i,r,a){const p=za(e,W(),n,r);return Ye(2),p?t+Hn(n)+i+Hn(r)+a:bi}function iu(e,t){return e<<17|t<<2}function Ma(e){return e>>17&32767}function Pf(e){return 2|e}function Wa(e){return(131068&e)>>2}function Nf(e,t){return-131069&e|t<<2}function kf(e){return 1|e}function b_(e,t,n,i){const r=e[n+1],a=null===t;let d=i?Ma(r):Wa(r),p=!1;for(;0!==d&&(!1===p||a);){const j=e[d+1];Gx(e[d],t)&&(p=!0,e[d+1]=i?kf(j):Pf(j)),d=i?Ma(j):Wa(j)}p&&(e[n+1]=i?Pf(r):kf(r))}function Gx(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&sr(e,t)>=0}const ns={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function D_(e){return e.substring(ns.key,ns.keyEnd)}function Xx(e){return e.substring(ns.value,ns.valueEnd)}function E_(e,t){const n=ns.textEnd;return n===t?-1:(t=ns.keyEnd=function Qx(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ns.key=t,n),Al(e,t,n))}function C_(e,t){const n=ns.textEnd;let i=ns.key=Al(e,t,n);return n===i?-1:(i=ns.keyEnd=function Jx(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=x_(e,i,n),i=ns.value=Al(e,i,n),i=ns.valueEnd=function qx(e,t,n){let i=-1,r=-1,a=-1,d=t,p=d;for(;d<n;){const b=e.charCodeAt(d++);if(59===b)return p;34===b||39===b?p=d=M_(e,b,d,n):t===d-4&&85===a&&82===r&&76===i&&40===b?p=d=M_(e,41,d,n):b>32&&(p=d),a=r,r=i,i=-33&b}return p}(e,i,n),x_(e,i,n))}function w_(e){ns.key=0,ns.keyEnd=0,ns.value=0,ns.valueEnd=0,ns.textEnd=e.length}function Al(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function x_(e,t,n,i){return(t=Al(e,t,n))<n&&t++,t}function M_(e,t,n,i){let r=-1,a=n;for(;a<i;){const d=e.charCodeAt(a++);if(d==t&&92!==r)return a;r=92==d&&92===r?0:d}throw new Error}function Ff(e,t,n){const i=$t();return Lr(i,Be(),t)&&Ys(Ii(),lr(),i,e,t,i[B],n,!1),Ff}function Lf(e,t,n,i,r){const d=r?"class":"style";$h(e,n,t.inputs[d],d,i)}function Vf(e,t,n){return No(e,t,n,!1),Vf}function Uf(e,t){return No(e,t,null,!0),Uf}function Po(e){ko(A_,eM,e,!1)}function eM(e,t){for(let n=function Zx(e){return w_(e),C_(e,Al(e,0,ns.textEnd))}(t);n>=0;n=C_(t,n))A_(e,D_(t),Xx(t))}function S_(e){ko(oM,Qo,e,!0)}function Qo(e,t){for(let n=function Yx(e){return w_(e),E_(e,Al(e,0,ns.textEnd))}(t);n>=0;n=E_(t,n))pr(e,D_(t),!0)}function No(e,t,n,i){const r=$t(),a=Ii(),d=Ye(2);a.firstUpdatePass&&I_(a,e,d,i),t!==bi&&Lr(r,d,t)&&O_(a,a.data[hr()],r,r[B],e,r[d+1]=function lM(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=dt(ha(e)))),e}(t,n),i,d)}function ko(e,t,n,i){const r=Ii(),a=Ye(2);r.firstUpdatePass&&I_(r,null,a,i);const d=$t();if(n!==bi&&Lr(d,a,n)){const p=r.data[hr()];if(P_(p,i)&&!T_(r,a)){let b=i?p.classesWithoutHost:p.stylesWithoutHost;null!==b&&(n=Ze(b,n||"")),Lf(r,p,d,n,i)}else!function aM(e,t,n,i,r,a,d,p){r===bi&&(r=vi);let b=0,j=0,ne=0<r.length?r[0]:null,Ie=0<a.length?a[0]:null;for(;null!==ne||null!==Ie;){const nt=b<r.length?r[b+1]:void 0,ut=j<a.length?a[j+1]:void 0;let Wt,wt=null;ne===Ie?(b+=2,j+=2,nt!==ut&&(wt=Ie,Wt=ut)):null===Ie||null!==ne&&ne<Ie?(b+=2,wt=ne):(j+=2,wt=Ie,Wt=ut),null!==wt&&O_(e,t,n,i,wt,Wt,d,p),ne=b<r.length?r[b]:null,Ie=j<a.length?a[j]:null}}(r,p,d,d[B],d[a+1],d[a+1]=function sM(e,t,n){if(null==n||""===n)return vi;const i=[],r=ha(n);if(Array.isArray(r))for(let a=0;a<r.length;a++)e(i,r[a],!0);else if("object"==typeof r)for(const a in r)r.hasOwnProperty(a)&&e(i,a,r[a]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,a)}}function T_(e,t){return t>=e.expandoStartIndex}function I_(e,t,n,i){const r=e.data;if(null===r[n+1]){const a=r[hr()],d=T_(e,n);P_(a,i)&&null===t&&!d&&(t=!1),t=function tM(e,t,n,i){const r=Xn(e);let a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Pc(n=Bf(null,e,t,n,i),t.attrs,i),a=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==r)if(n=Bf(r,e,t,n,i),null===a){let b=function nM(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Wa(i))return e[Ma(i)]}(e,t,i);void 0!==b&&Array.isArray(b)&&(b=Bf(null,e,t,b[1],i),b=Pc(b,t.attrs,i),function iM(e,t,n,i){e[Ma(n?t.classBindings:t.styleBindings)]=i}(e,t,i,b))}else a=function rM(e,t,n){let i;const r=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<r;a++)i=Pc(i,e[a].hostAttrs,n);return Pc(i,t.attrs,n)}(e,t,i)}return void 0!==a&&(i?t.residualClasses=a:t.residualStyles=a),n}(r,a,t,i),function Wx(e,t,n,i,r,a){let d=a?t.classBindings:t.styleBindings,p=Ma(d),b=Wa(d);e[i]=n;let ne,j=!1;if(Array.isArray(n)?(ne=n[1],(null===ne||sr(n,ne)>0)&&(j=!0)):ne=n,r)if(0!==b){const nt=Ma(e[p+1]);e[i+1]=iu(nt,p),0!==nt&&(e[nt+1]=Nf(e[nt+1],i)),e[p+1]=function zx(e,t){return 131071&e|t<<17}(e[p+1],i)}else e[i+1]=iu(p,0),0!==p&&(e[p+1]=Nf(e[p+1],i)),p=i;else e[i+1]=iu(b,0),0===p?p=i:e[b+1]=Nf(e[b+1],i),b=i;j&&(e[i+1]=Pf(e[i+1])),b_(e,ne,i,!0),b_(e,ne,i,!1),function Kx(e,t,n,i,r){const a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&sr(a,t)>
1=0&&(n[i+1]=kf(n[i+1]))}(t,ne,e,i,a),d=iu(p,b),a?t.classBindings=d:t.styleBindings=d}(r,a,t,n,d,i)}}function Bf(e,t,n,i,r){let a=null;const d=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<d&&(a=t[p],i=Pc(i,a.hostAttrs,r),a!==e);)p++;return null!==e&&(n.directiveStylingLast=p),i}function Pc(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?r=d:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),pr(e,d,!!n||t[++a]))}return void 0===e?null:e}function A_(e,t,n){pr(e,t,ha(n))}function oM(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&pr(e,i,n)}function O_(e,t,n,i,r,a,d,p){if(!(3&t.type))return;const b=e.data,j=b[p+1],ne=function $x(e){return!(1&~e)}(j)?R_(b,t,n,r,Wa(j),d):void 0;ru(ne)||(ru(a)||function Hx(e){return!(2&~e)}(j)&&(a=R_(b,null,n,r,p,d)),function z0(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let a=-1===i.indexOf("-")?void 0:Sd.DashCase;null==r?e.removeStyle(n,i,a):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),a|=Sd.Important),e.setStyle(n,i,r,a))}}(i,d,Oa(hr(),n),r,a))}function R_(e,t,n,i,r,a){const d=null===t;let p;for(;r>0;){const b=e[r],j=Array.isArray(b),ne=j?b[1]:b,Ie=null===ne;let nt=n[r+1];nt===bi&&(nt=Ie?vi:void 0);let ut=Ie?as(nt,i):ne===i?nt:void 0;if(j&&!ru(ut)&&(ut=as(b,i)),ru(ut)&&(p=ut,d))return p;const wt=e[r+1];r=d?Ma(wt):Wa(wt)}if(null!==t){let b=a?t.residualClasses:t.residualStyles;null!=b&&(p=as(b,i))}return p}function ru(e){return void 0!==e}function P_(e,t){return!!(e.flags&(t?8:16))}function N_(e,t,n){ko(pr,Qo,El($t(),e,t,n),!0)}class _M{destroy(t){}updateValue(t,n){}swap(t,n){const i=Math.min(t,n),r=Math.max(t,n),a=this.detach(r);if(r-i>1){const d=this.detach(i);this.attach(i,a),this.attach(r,d)}else this.attach(i,a)}move(t,n){this.attach(n,this.detach(t))}}function jf(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function Hf(e,t,n,i){return!(void 0===t||!t.has(i)||(e.attach(n,t.get(i)),t.delete(i),0))}function k_(e,t,n,i,r){if(Hf(e,t,i,n(i,r)))e.updateValue(i,r);else{const a=e.create(i,r);e.attach(i,a)}}function F_(e,t,n,i){const r=new Set;for(let a=t;a<=n;a++)r.add(i(a,e.at(a)));return r}class L_{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,n)}}}function V_(e,t,n){Yo("NgControlFlow");const i=$t(),r=Be(),a=zf(i,Jn+e);if(Lr(i,r,t)){const p=g(null);try{if(Kh(a,0),-1!==t){const b=$f(i[on],Jn+t),j=ul(a,b.tView.ssrId);fc(a,hc(i,b,n,{dehydratedView:j}),0,dl(b,j))}}finally{g(p)}}else{const p=Pg(a,0);void 0!==p&&(p[P]=n)}}class bM{constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-_r}}function U_(e){return e}function B_(e,t){return t}class DM{constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}}function j_(e,t,n,i,r,a,d,p,b,j,ne,Ie,nt){Yo("NgControlFlow");const ut=void 0!==b,wt=$t(),Wt=p?d.bind(wt[_t][P]):d,ln=new DM(ut,Wt);wt[Jn+e]=ln,ml(e+1,t,n,i,r,a),ut&&ml(e+2,b,j,ne,Ie,nt)}class EM extends _M{constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-_r}at(t){return this.getLView(t)[P].$implicit}attach(t,n){const i=n[Gi];this.needsIndexUpdate||=t!==this.length,fc(this.lContainer,n,t,dl(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function CM(e,t){return lc(e,t)}(this.lContainer,t)}create(t,n){const i=ul(this.lContainer,this.templateTNode.tView.ssrId);return hc(this.hostLView,this.templateTNode,new bM(this.lContainer,n,t),{dehydratedView:i})}destroy(t){Id(t[on],t)}updateValue(t,n){this.getLView(t)[P].$implicit=n}reset(){this.needsIndexUpdate=!1}
1updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[P].$index=t}getLView(t){return function wM(e,t){return Pg(e,t)}(this.lContainer,t)}}function H_(e){const t=g(null),n=hr();try{const i=$t(),r=i[on],a=i[n];if(void 0===a.liveCollection){const p=n+1,b=zf(i,p),j=$f(r,p);a.liveCollection=new EM(b,i,j)}else a.liveCollection.reset();const d=a.liveCollection;if(function yM(e,t,n){let i,r,a=0,d=e.length-1;if(Array.isArray(t)){let p=t.length-1;for(;a<=d&&a<=p;){const b=e.at(a),j=t[a],ne=jf(a,b,a,j,n);if(0!==ne){ne<0&&e.updateValue(a,j),a++;continue}const Ie=e.at(d),nt=t[p],ut=jf(d,Ie,p,nt,n);if(0!==ut){ut<0&&e.updateValue(d,nt),d--,p--;continue}const wt=n(a,b),Wt=n(d,Ie),ln=n(a,j);if(Object.is(ln,Wt)){const bn=n(p,nt);Object.is(bn,wt)?(e.swap(a,d),e.updateValue(d,nt),p--,d--):e.move(d,a),e.updateValue(a,j),a++}else if(i??=new L_,r??=F_(e,a,d,n),Hf(e,i,a,ln))e.updateValue(a,j),a++,d++;else if(r.has(ln))i.set(wt,e.detach(a)),d--;else{const bn=e.create(a,t[a]);e.attach(a,bn),a++,d++}}for(;a<=p;)k_(e,i,n,a,t[a]),a++}else if(null!=t){const p=t[Symbol.iterator]();let b=p.next();for(;!b.done&&a<=d;){const j=e.at(a),ne=b.value,Ie=jf(a,j,a,ne,n);if(0!==Ie)Ie<0&&e.updateValue(a,ne),a++,b=p.next();else{i??=new L_,r??=F_(e,a,d,n);const nt=n(a,ne);if(Hf(e,i,a,nt))e.updateValue(a,ne),a++,d++,b=p.next();else if(r.has(nt)){const ut=n(a,j);i.set(ut,e.detach(a)),d--}else e.attach(a,e.create(a,ne)),a++,d++,b=p.next()}}for(;!b.done;)k_(e,i,n,e.length,b.value),b=p.next()}for(;a<=d;)e.destroy(e.detach(d--));i?.forEach(p=>{e.destroy(p)})}(d,e,a.trackByFn),d.updateIndexes(),a.hasEmptyBlock){const p=Be(),b=0===d.length;if(Lr(i,p,b)){const j=n+2,ne=zf(i,j);if(b){const Ie=$f(r,j),nt=ul(ne,Ie.tView.ssrId);fc(ne,hc(i,Ie,void 0,{dehydratedView:nt}),0,dl(Ie,nt))}else Kh(ne,0)}}}finally{g(t)}}function zf(e,t){return e[t]}function $f(e,t){return Ra(e,t)}function su(e,t,n,i){const r=$t(),a=Ii(),d=Jn+e,p=r[B],b=a.firstCreatePass?function xM(e,t,n,i,r,a){const d=t.consts,b=cl(t,e,2,i,Ws(d,r));return Bh(t,n,b,Ws(d,a)),null!==b.attrs&&$d(b,b.attrs,!1),null!==b.mergedAttrs&&$d(b,b.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,b),b}(d,a,r,t,n,i):a.data[d],j=z_(a,r,b,p,t,e);r[d]=j;const ne=Ia(b);return wo(b,!0),gg(p,j,b),!function Ic(e){return!(32&~e.flags)}(b)&&ii()&&Od(a,r,j,b),0===function Uu(){return ci.lFrame.elementDepthCount}()&&Cs(j,r),function Bu(){ci.lFrame.elementDepthCount++}(),ne&&(Lh(a,r,b),Fh(a,b,r)),null!==i&&Vh(r,b),su}function ou(){let e=qi();Gl()?nd():(e=e.parent,wo(e,!1));const t=e;(function Hu(e){return ci.skipHydrationRootTNode===e})(t)&&function Ku(){ci.skipHydrationRootTNode=null}(),function ju(){ci.lFrame.elementDepthCount--}();const n=Ii();return n.firstCreatePass&&(Ps(n,e),so(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function jD(e){return!!(8&e.flags)}(t)&&Lf(n,t,$t(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function HD(e){return!!(16&e.flags)}(t)&&Lf(n,t,$t(),t.stylesWithoutHost,!1),ou}function Wf(e,t,n,i){return su(e,t,n,i),ou(),Wf}let z_=(e,t,n,i,r,a)=>(yi(!0),Td(i,r,function zn(){return ci.lFrame.currentNamespace}()));function au(e,t,n){const i=$t(),r=Ii(),a=e+Jn,d=r.firstCreatePass?function TM(e,t,n,i,r){const a=t.consts,d=Ws(a,i),p=cl(t,e,8,"ng-container",d);return null!==d&&$d(p,d,!0),Bh(t,n,p,Ws(a,r)),null!==t.queries&&t.queries.elementStart(t,p),p}(a,r,i,t,n):r.data[a];wo(d,!0);const p=$_(r,i,d,e);return i[a]=p,ii()&&Od(r,i,p,d),Cs(p,i),Ia(d)&&(Lh(r,i,d),Fh(r,d,i)),null!=n&&Vh(i,d),au}function lu(){let e=qi();const t=Ii();return Gl()?nd():(e=e.parent,wo(e,!1)),t.firstCreatePass&&(Ps(t,e),so(e)&&t.queries.elementEnd(e)),lu}function Kf(e,t,n){return au(e,t,n),lu(),Kf}let $_=(e,t,n,i)=>(yi(!0),Ih(t[B],""));function W_(){return $t()}function Gf(e,t,n){const i=$t();return Lr(i,Be(),t)&&Ys(Ii(),lr(),i,e,t,i[B],n,!0),Gf}function Xf(e,t,n){const i=$t();if(Lr(i,Be(),t)){const a=Ii(),d=lr();Ys(a,d,i,e,t,Rg(Xn(a.data),d,i),n,!0)}return Xf}const Ka=void 0;var RM=["en",[["a","p"],["AM","PM"],Ka],[["AM","PM"],Ka,Ka],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ka,[["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"]],Ka,[["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}",Ka,"{1} 'at' {0}",Ka],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function OM(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Ol={};function Yf(e){const t=function PM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=G_(t);if(n)return n;const i=t.split("-")[0];if(n=G_(i),n)return n;if("en"===i)return RM;throw new pt(701,!1)}function K_(e){return Yf(e)[Rl.PluralCase]}function G_(e){return e in Ol||(Ol[e]=he.ng&&he.ng.common&&he.ng.common.locales&&he.ng.common.locales[e]),Ol[e]}var Rl=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}(Rl||{});const Pl="en-US";let X_=Pl;function Jf(e,t,n,i){const r=$t(),a=Ii(),d=qi();return em(a,r,r[B],d,e,t,i),Jf}function qf(e,t){const n=qi(),i=$t(),r=Ii();return em(r,i,Rg(Xn(r.data),n,i),n,e,t),qf}function em(e,t,n,i,r,a,d){const p=Ia(i),j=e.firstCreatePass&&Og(e),ne=t[P],Ie=Ag(t);let nt=!0;if(3&i.type||d){const Wt=_s(i,t),ln=d?d(Wt):Wt,bn=Ie.length,Jt=d?Hi=>d(Ji(Hi[i.index])):i.index;let ai=null;if(!d&&p&&(ai=function IS(e,t,n,i){const r=e.cleanup;if(null!=r)for(let a=0;a<r.length-1;a+=2){const d=r[a];if(d===n&&r[a+1]===i){const p=t[Is],b=r[a+2];return p.length>b?p[b]:null}"string"==typeof d&&(a+=2)}return null}(e,t,r,i.index)),null!==ai)(ai.__ngLastListenerFn__||ai).__ngNextListenerFn__=a,ai.__ngLastListenerFn__=a,nt=!1;else{a=Dy(i,t,ne,a,!1);const Hi=n.listen(ln,r,a);Ie.push(a,Hi),j&&j.push(r,Jt,bn,bn+1)}}else a=Dy(i,t,ne,a,!1);const ut=i.outputs;let wt;if(nt&&null!==ut&&(wt=ut[r])){const Wt=wt.length;if(Wt)for(let ln=0;ln<Wt;ln+=2){const fr=t[wt[ln]][wt[ln+1]].subscribe(a),rs=Ie.length;Ie.push(a,fr),j&&j.push(r,i.index,rs,-(rs+1))}}}function by(e,t,n,i){const r=g(null);try{return Co(6,t,n),!1!==n(i)}catch(a){return kd(e,a),!1}finally{Co(7,t,n),g(r)}}function Dy(e,t,n,i,r){return function a(d){if(d===Function)return i;pc(e.componentOffset>-1?Rs(e.index,t):t);let b=by(t,n,i,d),j=a.__ngNextListenerFn__;for(;j;)b=by(t,n,j,d)&&b,j=j.__ngNextListenerFn__;return r&&!1===b&&d.preventDefault(),b}}function Ey(e=1){return function ur(e){return(ci.lFrame.contextLView=function $l(e,t){for(;e>0;)t=t[tt],e--;return t}(e,ci.lFrame.contextLView))[P]}(e)}function AS(e,t){let n=null;const i=function go(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 r=0;r<t.length;r++){const a=t[r];if("*"!==a){if(null===i?Jo(e,a,!0):pa(i,a))return r}else n=r}return n}function Cy(e){const t=$t()[_t][Mn];if(!t.projection){const i=t.projection=function ms(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(e?e.length:1,null),r=i.slice();let a=t.child;for(;null!==a;){const d=e?AS(a,e):0;null!==d&&(r[d]?r[d].projectionNext=a:i[d]=a,r[d]=a),a=a.next}}}function wy(e,t=0,n){const i=$t(),r=Ii(),a=cl(r,Jn+e,16,null,n||null);null===a.projection&&(a.projection=t),nd(),(!i[Gi]||Da())&&32&~a.flags&&function j0(e,t,n){mg(t[B],0,t,n,Oh(e,n,t),lg(n.parent||t[Mn],n,t))}(r,i,a)}function tm(e,t,n){return fu(e,"",t,"",n),tm}function fu(e,t,n,i,r){const a=$t(),d=El(a,t,n,i);return d!==bi&&Ys(Ii(),lr(),a,e,d,a[B],r,!1),fu}function nm(e,t,n,i,r,a,d){const p=$t(),b=Cl(p,t,n,i,r,a);return b!==bi&&Ys(Ii(),lr(),p,e,b,p[B],d,!1),nm}function Ry(e,t,n,i){!function yv(e,t,n,i){const r=Ii();if(r.firstCreatePass){const a=qi();bv(r,new pv(t,n,i),a.index),function Nw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}
1(r,e),!(2&~n)&&(r.staticContentQueries=!0)}return vv(r,$t(),n)}(e,t,n,i)}function Py(e,t,n){!function _v(e,t,n){const i=Ii();return i.firstCreatePass&&(bv(i,new pv(e,t,n),-1),!(2&~t)&&(i.staticViewQueries=!0)),vv(i,$t(),t)}(e,t,n)}function Ny(e){const t=$t(),n=Ii(),i=gn();yn(i+1);const r=pf(n,i);if(e.dirty&&function Fu(e){return!(4&~e[Ln])}(t)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const a=Dv(t,i);e.reset(a,np),e.notifyOnChanges()}return!0}return!1}function ky(){return function mf(e,t){return e[Gn].queries[t].queryList}($t(),gn())}function Fy(e){return ba(function w(){return ci.lFrame.contextLView}(),Jn+e)}function Ky(e,t=""){const n=$t(),i=Ii(),r=e+Jn,a=i.firstCreatePass?cl(i,r,1,t,null):i.data[r],d=Gy(i,n,a,t,e);n[r]=d,ii()&&Od(i,n,d,a),wo(a,!1)}let Gy=(e,t,n,i,r)=>(yi(!0),function Th(e,t){return e.createText(t)}(t[B],i));function im(e){return mu("",e,""),im}function mu(e,t,n){const i=$t(),r=El(i,e,t,n);return r!==bi&&ma(i,hr(),r),mu}function rm(e,t,n,i,r){const a=$t(),d=Cl(a,e,t,n,i,r);return d!==bi&&ma(a,hr(),d),rm}function sm(e,t,n,i,r,a,d){const p=$t(),b=function wl(e,t,n,i,r,a,d,p){const j=Qd(e,W(),n,r,d);return Ye(3),j?t+Hn(n)+i+Hn(r)+a+Hn(d)+p:bi}(p,e,t,n,i,r,a,d);return b!==bi&&ma(p,hr(),b),sm}function om(e,t,n,i,r,a,d,p,b){const j=$t(),ne=function xl(e,t,n,i,r,a,d,p,b,j){const Ie=xo(e,W(),n,r,d,b);return Ye(4),Ie?t+Hn(n)+i+Hn(r)+a+Hn(d)+p+Hn(b)+j:bi}(j,e,t,n,i,r,a,d,p,b);return ne!==bi&&ma(j,hr(),ne),om}function am(e,t,n){wv(t)&&(t=t());const i=$t();return Lr(i,Be(),t)&&Ys(Ii(),lr(),i,e,t,i[B],n,!1),am}function qy(e,t){const n=wv(e);return n&&e.set(t),n}function lm(e,t){const n=$t(),i=Ii(),r=qi();return em(i,n,n[B],r,e,t),lm}function cm(e,t,n,i,r){if(e=_e(e),Array.isArray(e))for(let a=0;a<e.length;a++)cm(e[a],t,n,i,r);else{const a=Ii(),d=$t(),p=qi();let b=Hs(e)?e:_e(e.provide);const j=vs(e),ne=1048575&p.providerIndexes,Ie=p.directiveStart,nt=p.providerIndexes>>20;if(Hs(e)||!e.multi){const ut=new hs(j,r,ll),wt=um(b,t,r?ne:ne+nt,Ie);-1===wt?(Zu(od(p,d),a,b),dm(a,e,t.length),t.push(b),p.directiveStart++,p.directiveEnd++,r&&(p.providerIndexes+=1048576),n.push(ut),d.push(ut)):(n[wt]=ut,d[wt]=ut)}else{const ut=um(b,t,ne+nt,Ie),wt=um(b,t,ne,ne+nt),ln=wt>=0&&n[wt];if(r&&!ln||!r&&!(ut>=0&&n[ut])){Zu(od(p,d),a,b);const bn=function YS(e,t,n,i,r){const a=new hs(e,n,ll);return a.multi=[],a.index=t,a.componentProviders=0,eb(a,r,i&&!n),a}(r?XS:GS,n.length,r,i,j);!r&&ln&&(n[wt].providerFactory=bn),dm(a,e,t.length,0),t.push(b),p.directiveStart++,p.directiveEnd++,r&&(p.providerIndexes+=1048576),n.push(bn),d.push(bn)}else dm(a,e,ut>-1?ut:wt,eb(n[r?wt:ut],j,!r&&i));!r&&i&&ln&&n[wt].componentProviders++}}}function dm(e,t,n,i){const r=Hs(t),a=function sa(e){return!!e.useClass}(t);if(r||a){const b=(a?_e(t.useClass):t).prototype.ngOnDestroy;if(b){const j=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const ne=j.indexOf(n);-1===ne?j.push(n,[i,b]):j[ne+1].push(i,b)}else j.push(n,b)}}}function eb(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function um(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function GS(e,t,n,i){return hm(this.multi,[])}function XS(e,t,n,i){const r=this.multi;let a;if(this.providerFactory){const d=this.providerFactory.componentProviders,p=Fa(n,n[on],this.providerFactory.index,i);a=p.slice(0,d),hm(r,a);for(let b=d;b<p.length;b++)a.push(p[b])}else a=[],hm(r,a);return a}function hm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function tb(e,t=[]){return n=>{n.providersResolver=(i,r)=>function KS(e,t,n){const i=Ii();if(i.firstCreatePass){const r=Es(e);cm(n,i.data,i.blueprint,r,!0),cm(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}let ZS=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=js(0,n.type),r=i.length>0?Df([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=hn({token:e,providedIn:"environment",factory:()=>new e(Ki(Jr))})}return e})();function nb(e){Yo("NgStandalone"),e.getStandaloneInjector=t=>t.get(ZS).getOrCreateStandaloneInjector(e)}function ib(e,t,n){const i=e.\u0275cmp;i.directiveDefs=to(t,!1),i.pipeDefs=to(n,!0)}
1function sb(e,t,n){const i=M()+e,r=$t();return r[i]===bi?Zo(r,i,n?t.call(n):t()):Tc(r,i)}function ob(e,t,n,i){return hb($t(),M(),e,t,n,i)}function ab(e,t,n,i,r){return fb($t(),M(),e,t,n,i,r)}function lb(e,t,n,i,r,a){return mb($t(),M(),e,t,n,i,r,a)}function cb(e,t,n,i,r,a,d){return pb($t(),M(),e,t,n,i,r,a,d)}function db(e,t,n,i,r,a,d,p){const b=M()+e,j=$t(),ne=xo(j,b,n,i,r,a);return Lr(j,b+4,d)||ne?Zo(j,b+5,p?t.call(p,n,i,r,a,d):t(n,i,r,a,d)):Tc(j,b+5)}function ub(e,t,n,i,r,a,d,p,b){const j=M()+e,ne=$t(),Ie=xo(ne,j,n,i,r,a);return za(ne,j+4,d,p)||Ie?Zo(ne,j+6,b?t.call(b,n,i,r,a,d,p):t(n,i,r,a,d,p)):Tc(ne,j+6)}function Bc(e,t){const n=e[t];return n===bi?void 0:n}function hb(e,t,n,i,r,a){const d=t+n;return Lr(e,d,r)?Zo(e,d+1,a?i.call(a,r):i(r)):Bc(e,d+1)}function fb(e,t,n,i,r,a,d){const p=t+n;return za(e,p,r,a)?Zo(e,p+2,d?i.call(d,r,a):i(r,a)):Bc(e,p+2)}function mb(e,t,n,i,r,a,d,p){const b=t+n;return Qd(e,b,r,a,d)?Zo(e,b+3,p?i.call(p,r,a,d):i(r,a,d)):Bc(e,b+3)}function pb(e,t,n,i,r,a,d,p,b){const j=t+n;return xo(e,j,r,a,d,p)?Zo(e,j+4,b?i.call(b,r,a,d,p):i(r,a,d,p)):Bc(e,j+4)}function vb(e,t){const n=Ii();let i;const r=e+Jn;n.firstCreatePass?(i=function tT(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];const a=i.factory||(i.factory=os(i.type)),p=Ut(ll);try{const b=sd(!1),j=a();return sd(b),function NS(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,$t(),r,j),j}finally{Ut(p)}}function _b(e,t,n){const i=e+Jn,r=$t(),a=ba(r,i);return jc(r,i)?hb(r,M(),t,a.transform,n,a):a.transform(n)}function yb(e,t,n,i){const r=e+Jn,a=$t(),d=ba(a,r);return jc(a,r)?fb(a,M(),t,d.transform,n,i,d):d.transform(n,i)}function bb(e,t,n,i,r){const a=e+Jn,d=$t(),p=ba(d,a);return jc(d,a)?mb(d,M(),t,p.transform,n,i,r,p):p.transform(n,i,r)}function Db(e,t,n,i,r,a){const d=e+Jn,p=$t(),b=ba(p,d);return jc(p,d)?pb(p,M(),t,b.transform,n,i,r,a,b):b.transform(n,i,r,a)}function jc(e,t){return e[on].data[t].pure}function Eb(e,t){return Ld(e,t)}class Vb{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Ub=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const $b=new xt(""),Wb=new xt("");let _m,YT=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,_m||(function ZT(e){_m=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Xr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==a),n()},i)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:r})}whenStable(n,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(Ki(Xr),Ki(Kb),Ki(Wb))};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac})}return e})(),Kb=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return _m?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function ym(e){return!!e&&"function"==typeof e.then}function Gb(e){return!!e&&"function"==typeof e.subscribe}
1const Xb=new xt("");let bm=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=Fn(Xb,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const r of this.appInits){const a=r();if(ym(a))n.push(a);else if(Gb(a)){const d=new Promise((p,b)=>{a.subscribe({complete:p,error:b})});n.push(d)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Dm=new xt("");function Qb(e,t){return Array.isArray(t)?t.reduce(Qb,e):{...e,...t}}let Sa=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Fn(ep),this.afterRenderEffectManager=Fn(Cc),this.externalTestViews=new Set,this.beforeRender=new pn.B7,this.afterTick=new pn.B7,this.componentTypes=[],this.components=[],this.isStable=Fn(fl).hasPendingTasks.pipe((0,ui.T)(n=>!n)),this._injector=Fn(Jr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Kg;if(!this._injector.get(bm).done)throw!r&&Wr(n),new pt(405,!1);let d;d=r?n:this._injector.get(Ec).resolveComponentFactory(n),this.componentTypes.push(d.componentType);const p=function QT(e){return e.isBoundToModule}(d)?void 0:this._injector.get(Ha),j=d.create(uo.NULL,[],i||d.selector,p),ne=j.location.nativeElement,Ie=j.injector.get($b,null);return Ie?.registerApplication(ne),j.onDestroy(()=>{this.detachView(j.hostView),_u(this.components,j),Ie?.unregisterApplication(ne)}),this._loadComponent(j),j}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new pt(101,!1);const i=g(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,g(i)}}detectChangesInAttachedViews(n){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===Fg)throw new pt(103,!1);if(n){const a=0===i;this.beforeRender.next(a);for(let{_lView:d,notifyErrorHandler:p}of this._views)qT(d,a,p)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:a})=>Em(a))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:a})=>Em(a))))break}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;_u(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(Dm,[]);[...this._bootstrapListeners,...i].forEach(r=>r(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),()=>_u(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new pt(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _u(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function qT(e,t,n){!t&&!Em(e)||function eI(e,t,n){let i;n?(i=0,e[Ln]|=1024):i=64&e[Ln]?0:1,Fd(e,t,i)}(e,n,t)}function Em(e){return Wl(e)}class tI{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let nI=(()=>{class e{compileModuleSync(n){return new bf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),a=ho(di(n).declarations).reduce((d,p)=>{const b=fi(p);return b&&d.push(new Mc(b)),d},[]);return new tI(i,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sI=(()=>{class e{constructor(){this.zone=Fn(Xr),this.applicationRef=Fn(Sa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oI(){const e=Fn(Xr),t=Fn(ua);return n=>e.runOutsideAngular(()=>t.handleError(n))}let lI=(()=>{class e{constructor(){this.subscription=new Sn.y,this.initialized=!1,this.zone=Fn(Xr),this.pendingTasks=Fn(fl)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Xr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Xr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const bu=new xt("",{providedIn:"root",factory:()=>Fn(bu,tn.Optional|tn.SkipSelf)||function cI(){return typeof $localize<"u"&&$localize.locale||Pl}()}),dI=new xt("",{providedIn:"root",factory:()=>"USD"}),Cm=new xt("");let tD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function dw(e="zone.js",t){return"noop"===e?new ev:"zone.js"===e?new Xr(t):e}(i?.ngZone,function eD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const a=function tx(e,t,n){return new yf(e,t,n)}(n.moduleType,this.injector,function qb(e){return[{provide:Xr,useFactory:e},{provide:bs,multi:!0,useFactory:()=>{const t=Fn(sI,{optional:!0});return()=>t.initialize()}},{provide:bs,multi:!0,useFactory:()=>{const t=Fn(lI);return()=>{t.initialize()}}},{provide:ep,useFactory:oI}]}(()=>r)),d=a.injector.get(ua,null);return r.runOutsideAngular(()=>{const p=r.onError.subscribe({next:b=>{d.handleError(b)}});a.onDestroy(()=>{_u(this._modules,a),p.unsubscribe()})}),function Zb(e,t,n){try{const i=n();return ym(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(d,r,()=>{const p=a.injector.get(bm);return p.runInitializers(),p.donePromise.then(()=>(function Y_(e){"string"==typeof e&&(X_=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(bu,Pl)||Pl),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,i=[]){const r=Qb({},i);return function rI(e,t,n){const i=new bf(n);return Promise.resolve(i)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,r))}_moduleDoBootstrap(n){const i=n.injector.get(Sa);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new pt(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new pt(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Cm,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(Ki(uo))};static#t=this.\u0275prov=hn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ta=null;const nD=new xt("");function iD(e,t,n=[]){const i=`Platform: ${t}`,r=new xt(i);return(a=[])=>{let d=wm();if(!d||d.injector.get(nD,!1)){const p=[...n,...a,{provide:r,useValue:!0}];e?e(p):function hI(e){if(Ta&&!Ta.get(nD,!1))throw new pt(400,!1);(function Yb(){!function ce(e){Qe=e}(()=>{throw new pt(600,!1)})})(),Ta=e;const t=e.get(tD);(function sD(e){e.get(Cp,null)?.forEach(n=>n())})(e)}(function rD(e=[],t){return uo.create({name:t,providers:[{provide:_o,useValue:"platform"},{provide:Cm,useValue:new Set([()=>Ta=null])},...e]})}(p,i))}return function fI(e){const t=wm();if(!t)throw new pt(401,!1);return t}()}}function wm(){return Ta?.get(tD)??null}function pI(){return!1}function gI(){}let aD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=vI}return e})();function vI(e){return function _I(e,t,n){if(oo(e)&&!n){const i=Rs(e.index,t);return new gc(i,i)}return 47&e.type?new gc(t[_t],t):null}(qi(),$t(),!(16&~e))}class uD{constructor(){}supports(t){return Zd(t)}create(t){return new CI(t)}}const EI=(e,t)=>t;class CI{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||EI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,a=null;for(;n||i;){const d=!i||n&&n.currentIndex<fD(i,r,a)?n:i,p=fD(d,r,a),b=d.currentIndex;if(d===i)r--,i=i._nextRemoved;else if(n=n._next,null==d.previousIndex)r++;else{a||(a=[]);const j=p-r,ne=b-r;if(j!=ne){for(let nt=0;nt<j;nt++){const ut=nt<a.length?a[nt]:a[nt]=0,wt=ut+nt;ne<=wt&&wt<j&&(a[nt]=ut+1)}a[d.previousIndex]=ne-j}}p!==b&&t(d,p,b)}}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;
vendor: 6,481 bytes, line 1
1n=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=[]),!Zd(t))throw new pt(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,a,d,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)a=t[p],d=this._trackByFn(p,a),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,a,d,p)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,d,p),i=!0),n=n._next}else r=0,function sx(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,p=>{d=this._trackByFn(r,p),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,p,d,r)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,d,r),i=!0),n=n._next,r++}),this.length=r;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,i,r){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,r)):t=this._addAfter(new wI(n,i),a,r),t}_verifyReinsertion(t,n,i,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==a?t=this._reinsertAfter(a,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,a=t._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new hD),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 hD),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 wI{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 xI{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class hD{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new xI,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.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 fD(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class mD{constructor(){}supports(t){return t instanceof Map||Ef(t)}create(){return new MI}}class MI{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;
1n=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||Ef(t)))throw new pt(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,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 r=this._records.get(t);this._maybeAddToChanges(r,n);const a=r._prev,d=r._next;return a&&(a._next=d),d&&(d._prev=a),r._next=null,r._prev=null,r}const i=new SI(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class SI{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 pD(){return new Im([new uD])}let Im=(()=>{class e{static#e=this.\u0275prov=hn({token:e,providedIn:"root",factory:pD});constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||pD()),deps:[[e,new Hr,new Er]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new pt(901,!1)}}return e})();function gD(){return new Am([new mD])}let Am=(()=>{class e{static#e=this.\u0275prov=hn({token:e,providedIn:"root",factory:gD});constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||gD()),deps:[[e,new Hr,new Er]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new pt(901,!1)}}return e})();const AI=iD(null,"core",[]);let OI=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(i){return new(i||e)(Ki(Sa))};static#t=this.\u0275mod=Ms({type:e});static#n=this.\u0275inj=mi({})}return e})();function oA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function aA(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function cA(e,t){Yo("NgSignals");const n=function ke(e){const t=Object.create(Ot);t.computation=e;const n=()=>
1{if(K(t),Z(t),t.value===Ct)throw t.error;return t.value};return n[u]=t,n}(e);return t?.equal&&(n[u].equal=t.equal),n}function dA(e){const t=g(null);try{return e()}finally{g(t)}}const uA=new xt("",{providedIn:"root",factory:()=>Fn(hA)});let hA=(()=>{class e{static#e=this.\u0275prov=hn({token:e,providedIn:"root",factory:()=>new fA})}return e})();class fA{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Fn(fl),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const i=this.queues.get(n);i.has(t)||(this.queuedEffectCount++,i.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class mA{constructor(t,n,i,r,a,d){this.scheduler=t,this.effectFn=n,this.creationZone=i,this.injector=a,this.watcher=function Zt(e,t,n){const i=Object.create(Wn);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const r=b=>{i.cleanupFn=b};return i.ref={notify:()=>ie(i),run:()=>{if(null===i.fn)return;if(function D(){return I}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!rt(i))return;i.hasRun=!0;const b=ge(i);try{i.cleanupFn(),i.cleanupFn=$n,i.fn(r)}finally{ye(i,b)}},cleanup:()=>i.cleanupFn(),destroy:()=>function d(b){(function a(b){return null===b.fn&&null===b.schedule})(b)||(Ft(b),b.cleanupFn(),b.fn=null,b.schedule=null,b.cleanupFn=$n)}(i),[u]:i},i.ref}(p=>this.runEffect(p),()=>this.schedule(),d),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(ua,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function VD(e,t){Yo("NgSignals"),!t?.injector&&qr();const n=t?.injector??Fn(uo),i=!0!==t?.manualCleanup?n.get(La):null,r=new mA(n.get(uA),e,typeof Zone>"u"?null:Zone.current,i,n,t?.allowSignalWrites??!1),a=n.get(aD,null,{optional:!0});return a&&8&a._lView[Ln]?(a._lView[Dr]??=[]).push(r.watcher.notify):r.watcher.notify(),r}function pA(e,t){const n=fi(e),i=t.elementInjector||yo();return new Mc(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}function gA(e){const t=fi(e);if(!t)return null;const n=new Mc(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}}}},89079:(ht,ue,o)=>{"use strict";o.d(ue,{ot:()=>g});var s=o(54438);function g(C,D){const A=!D?.manualCleanup;A&&!D?.injector&&(0,s.Af3)(g);const V=A?D?.injector?.get(s.abz)??(0,s.WQX)(s.abz):null;let Z;Z=(0,s.vPA)(D?.requireSync?{kind:0}:{kind:1,value:D?.initialValue});const re=C.subscribe({next:K=>Z.set({kind:1,value:K}),error:K=>{if(D?.rejectErrors)throw K;Z.set({kind:2,error:K})}});return V?.onDestroy(re.unsubscribe.bind(re)),(0,s.EWP)(()=>{const K=Z();switch(K.kind){case 1:return K.value;case 2:throw K.error;case 0:throw new s.wOt(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},89417:(ht,ue,o)=>{"use strict";o.d(ue,{BC:()=>sn,Bm:()=>bs,Fm:()=>tn,J3:()=>bt,JD:()=>rr,MJ:()=>Kn,X1:()=>po,YN:()=>Fo,ZU:()=>pn,cV:()=>dn,cb:()=>pt,cz:()=>ie,gE:()=>Qt,hs:()=>ri,j4:()=>we,k0:()=>rt,kq:()=>C,l_:()=>$,me:()=>K,ok:()=>gs,qT:()=>L,vO:()=>Sn,ze:()=>xr});var s=o(54438),c=o(60177),x=o(84787),I=o(90696),l=o(95006);let u=(()=>{class G{constructor(O,ve){this._renderer=O,this._elementRef=ve,this.onChange=et=>{},this.onTouched=()=>{}}setProperty(O,ve){this._renderer.setProperty(this._elementRef.nativeElement,O,ve)}registerOnTouched(O){this.onTouched=O}registerOnChange(O){this.onChange=O}setDisabledState(O){this.setProperty("disabled",O)}static#e=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(s.sFG),s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:G})}return G})(),g=(()=>{class G extends u{static#e=this.\u0275fac=(()=>{let O;return function(et){return(O||(O=s.xGo(G)))(et||G)}})();static#t=this.\u0275dir=s.FsC({type:G,features:[s.Vt3]})}return G})();const C=new s.nKC(""),V={provide:C,useExisting:(0,s.Rfq)(()=>K),multi:!0},re=new s.nKC("");let K=(()=>{class G extends u{constructor(O,ve,et){super(O,ve),this._compositionMode=et,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Z(){const G=(0,c.QT)()?(0,c.QT)().getUserAgent():"";return/android (\d+)/.test(G.toLowerCase())}())}writeValue(O){this.setProperty("value",O??"")}_handleInput(O){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(O)}_compositionStart(){this._composing=!0}_compositionEnd(O){this._composing=!1,this._compositionMode&&this.onChange(O)}static#e=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(s.sFG),s.rXU(s.aKT),s.rXU(re,8))};static#t=this.\u0275dir=s.FsC({type:G,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(ve,et){1&ve&&s.bIt("input",function(li){return et._handleInput(li.target.value)})("blur",function(){return et.onTouched()})("compositionstart",function(){return et._compositionStart()})("compositionend",function(li){return et._compositionEnd(li.target.value)})},features:[s.Jv_([V]),s.Vt3]})}return G})();function Me(G){return null==G||("string"==typeof G||Array.isArray(G))&&0===G.length}function Oe(G){return null!=G&&"number"==typeof G.length}const ie=new s.nKC(""),ge=new s.nKC(""),ye=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class rt{static min(te){return function Ft(G){return te=>{if(Me(te.value)||Me(G))return null;const O=parseFloat(te.value);return!isNaN(O)&&O<G?{min:{min:G,actual:te.value}}:null}}(te)}static max(te){return function Bt(G){return te=>{if(Me(te.value)||Me(G))return null;const O=parseFloat(te.value);return!isNaN(O)&&O>G?{max:{max:G,actual:te.value}}:null}}(te)}static required(te){return function Ve(G){return Me(G.value)?{required:!0}:null}(te)}static requiredTrue(te){return function mt(G){return!0===G.value?null:{required:!0}}(te)}static email(te){return function Pe(G){return Me(G.value)||ye.test(G.value)?null:{email:!0}}(te)}static minLength(te){return function Je(G){return te=>Me(te.value)||!Oe(te.value)?null:te.value.length<G?{minlength:{requiredLength:G,actualLength:te.value.length}}:null}(te)}static maxLength(te){return function ke(G){return te=>Oe(te.value)&&te.value.length>G?{maxlength:{requiredLength:G,actualLength:te.value.length}}:null}(te)}static pattern(te){return function He(G){if(!G)return ot;let te,O;return"string"==typeof G?(O="","^"!==G.charAt(0)&&(O+="^"),O+=G,"$"!==G.charAt(G.length-1)&&(O+="$"),te=new RegExp(O)):(O=G.toString(),te=G),ve=>{if(Me(ve.value))return null;const et=ve.value;
1return te.test(et)?null:{pattern:{requiredPattern:O,actualValue:et}}}}(te)}static nullValidator(te){return null}static compose(te){return Ne(te)}static composeAsync(te){return Rt(te)}}function ot(G){return null}function Ct(G){return null!=G}function Ot(G){return(0,s.jNT)(G)?(0,x.H)(G):G}function kt(G){let te={};return G.forEach(O=>{te=null!=O?{...te,...O}:te}),0===Object.keys(te).length?null:te}function Qe(G,te){return te.map(O=>O(G))}function ce(G){return G.map(te=>function yt(G){return!G.validate}(te)?te:O=>te.validate(O))}function Ne(G){if(!G)return null;const te=G.filter(Ct);return 0==te.length?null:function(O){return kt(Qe(O,te))}}function it(G){return null!=G?Ne(ce(G)):null}function Rt(G){if(!G)return null;const te=G.filter(Ct);return 0==te.length?null:function(O){const ve=Qe(O,te).map(Ot);return(0,I.p)(ve).pipe((0,l.T)(kt))}}function Yt(G){return null!=G?Rt(ce(G)):null}function En(G,te){return null===G?[te]:Array.isArray(G)?[...G,te]:[G,te]}function In(G){return G._rawValidators}function Gt(G){return G._rawAsyncValidators}function Un(G){return G?Array.isArray(G)?G:[G]:[]}function Zt(G,te){return Array.isArray(G)?G.includes(te):G===te}function $n(G,te){const O=Un(te);return Un(G).forEach(et=>{Zt(O,et)||O.push(et)}),O}function Wn(G,te){return Un(te).filter(O=>!Zt(G,O))}class Bn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(te){this._rawValidators=te||[],this._composedValidatorFn=it(this._rawValidators)}_setAsyncValidators(te){this._rawAsyncValidators=te||[],this._composedAsyncValidatorFn=Yt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(te){this._onDestroyCallbacks.push(te)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(te=>te()),this._onDestroyCallbacks=[]}reset(te=void 0){this.control&&this.control.reset(te)}hasError(te,O){return!!this.control&&this.control.hasError(te,O)}getError(te,O){return this.control?this.control.getError(te,O):null}}class pn extends Bn{get formDirective(){return null}get path(){return null}}class Sn extends Bn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Pn{constructor(te){this._cd=te}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let sn=(()=>{class G extends Pn{constructor(O){super(O)}static#e=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(Sn,2))};static#t=this.\u0275dir=s.FsC({type:G,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ve,et){2&ve&&s.AVh("ng-untouched",et.isUntouched)("ng-touched",et.isTouched)("ng-pristine",et.isPristine)("ng-dirty",et.isDirty)("ng-valid",et.isValid)("ng-invalid",et.isInvalid)("ng-pending",et.isPending)},features:[s.Vt3]})}return G})(),pt=(()=>{class G extends Pn{constructor(O){super(O)}static#e=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(pn,10))};static#t=this.\u0275dir=s.FsC({type:G,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ve,et){2&ve&&s.AVh("ng-untouched",et.isUntouched)("ng-touched",et.isTouched)("ng-pristine",et.isPristine)("ng-dirty",et.isDirty)("ng-valid",et.isValid)("ng-invalid",et.isInvalid)("ng-pending",et.isPending)("ng-submitted",et.isSubmitted)},features:[s.Vt3]})}return G})();const q="VALID",Ce="INVALID",dt="PENDING",Ze="DISABLED";function Ht(G){return(Ke(G)?G.validators:G)||null}function Vt(G,te){return(Ke(te)?te.asyncValidators:G)||null}function Ke(G){return null!=G&&!Array.isArray(G)&&"object"==typeof G}function De(G,te,O){const ve=G.controls;if(!(te?Object.keys(ve):ve).length)throw new s.wOt(1e3,"");if(!ve[O])throw new s.wOt(1001,"")}function Ue(G,te,O){G._forEachChild((ve,et)=>{if(void 0===O[et])throw new s.wOt(1002,"")})}class Mt{constructor(te,O){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(te),this._assignAsyncValidators(O)}get validator(){return this._composedValidatorFn}set validator(te){this._rawValidators=this._composedValidatorFn=te}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(te){this._rawAsyncValidators=this._composedAsyncValidatorFn=te}get parent(){return this._parent}get valid(){return this.status===q}get invalid(){return this.status===Ce}get pending(){return this.status==dt}get disabled(){return this.status===Ze}get enabled(){return this.status!==Ze}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(te){this._assignValidators(te)}setAsyncValidators(te){this._assignAsyncValidators(te)}addValidators(te){this.setValidators($n(te,this._rawValidators))}addAsyncValidators(te){this.setAsyncValidators($n(te,this._rawAsyncValidators))}removeValidators(te){this.setValidators(Wn(te,this._rawValidators))}removeAsyncValidators(te){this.setAsyncValidators(Wn(te,this._rawAsyncValidators))}hasValidator(te){return Zt(this._rawValidators,te)}hasAsyncValidator(te){return Zt(this._rawAsyncValidators,te)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(te={}){this.touched=!0,this._parent&&!te.onlySelf&&this._parent.markAsTouched(te)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
vendor: 4,156 bytes, line 1
1),this._forEachChild(te=>te.markAllAsTouched())}markAsUntouched(te={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(O=>{O.markAsUntouched({onlySelf:!0})}),this._parent&&!te.onlySelf&&this._parent._updateTouched(te)}markAsDirty(te={}){this.pristine=!1,this._parent&&!te.onlySelf&&this._parent.markAsDirty(te)}markAsPristine(te={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(O=>{O.markAsPristine({onlySelf:!0})}),this._parent&&!te.onlySelf&&this._parent._updatePristine(te)}markAsPending(te={}){this.status=dt,!1!==te.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!te.onlySelf&&this._parent.markAsPending(te)}disable(te={}){const O=this._parentMarkedDirty(te.onlySelf);this.status=Ze,this.errors=null,this._forEachChild(ve=>{ve.disable({...te,onlySelf:!0})}),this._updateValue(),!1!==te.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...te,skipPristineCheck:O}),this._onDisabledChange.forEach(ve=>ve(!0))}enable(te={}){const O=this._parentMarkedDirty(te.onlySelf);this.status=q,this._forEachChild(ve=>{ve.enable({...te,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:te.emitEvent}),this._updateAncestors({...te,skipPristineCheck:O}),this._onDisabledChange.forEach(ve=>ve(!1))}_updateAncestors(te){this._parent&&!te.onlySelf&&(this._parent.updateValueAndValidity(te),te.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(te){this._parent=te}getRawValue(){return this.value}updateValueAndValidity(te={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===q||this.status===dt)&&this._runAsyncValidator(te.emitEvent)),!1!==te.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!te.onlySelf&&this._parent.updateValueAndValidity(te)}_updateTreeValidity(te={emitEvent:!0}){this._forEachChild(O=>O._updateTreeValidity(te)),this.updateValueAndValidity({onlySelf:!0,emitEvent:te.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ze:q}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(te){if(this.asyncValidator){this.status=dt,this._hasOwnPendingAsyncValidator=!0;const O=Ot(this.asyncValidator(this));this._asyncValidationSubscription=O.subscribe(ve=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ve,{emitEvent:te})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(te,O={}){this.errors=te,this._updateControlsErrors(!1!==O.emitEvent)}get(te){let O=te;return null==O||(Array.isArray(O)||(O=O.split(".")),0===O.length)?null:O.reduce((ve,et)=>ve&&ve._find(et),this)}getError(te,O){const ve=O?this.get(O):this;return ve&&ve.errors?ve.errors[te]:null}hasError(te,O){return!!this.getError(te,O)}get root(){let te=this;for(;te._parent;)te=te._parent;return te}_updateControlsErrors(te){this.status=this._calculateStatus(),te&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(te)}_initObservables(){this.valueChanges=new s.bkB,this.statusChanges=new s.bkB}_calculateStatus(){return this._allControlsDisabled()?Ze:this.errors?Ce:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(dt)?dt:this._anyControlsHaveStatus(Ce)?Ce:q}_anyControlsHaveStatus(te){return this._anyControls(O=>O.status===te)}_anyControlsDirty(){return this._anyControls(te=>te.dirty)}_anyControlsTouched(){return this._anyControls(te=>te.touched)}_updatePristine(te={}){this.pristine=!this._anyControlsDirty(),this._parent&&!te.onlySelf&&this._parent._updatePristine(te)}_updateTouched(te={}){this.touched=this._anyControlsTouched(),this._parent&&!te.onlySelf&&this._parent._updateTouched(te)}_registerOnCollectionChange(te){this._onCollectionChange=te}_setUpdateStrategy(te){Ke(te)&&null!=te.updateOn&&(this._updateOn=te.updateOn)}_parentMarkedDirty(te){return!te&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
vendor: 4,759 bytes, line 1
1_find(te){return null}_assignValidators(te){this._rawValidators=Array.isArray(te)?te.slice():te,this._composedValidatorFn=function at(G){return Array.isArray(G)?it(G):G||null}(this._rawValidators)}_assignAsyncValidators(te){this._rawAsyncValidators=Array.isArray(te)?te.slice():te,this._composedAsyncValidatorFn=function _e(G){return Array.isArray(G)?Yt(G):G||null}(this._rawAsyncValidators)}}class Qt extends Mt{constructor(te,O,ve){super(Ht(O),Vt(ve,O)),this.controls=te,this._initObservables(),this._setUpdateStrategy(O),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(te,O){return this.controls[te]?this.controls[te]:(this.controls[te]=O,O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange),O)}addControl(te,O,ve={}){this.registerControl(te,O),this.updateValueAndValidity({emitEvent:ve.emitEvent}),this._onCollectionChange()}removeControl(te,O={}){this.controls[te]&&this.controls[te]._registerOnCollectionChange(()=>{}),delete this.controls[te],this.updateValueAndValidity({emitEvent:O.emitEvent}),this._onCollectionChange()}setControl(te,O,ve={}){this.controls[te]&&this.controls[te]._registerOnCollectionChange(()=>{}),delete this.controls[te],O&&this.registerControl(te,O),this.updateValueAndValidity({emitEvent:ve.emitEvent}),this._onCollectionChange()}contains(te){return this.controls.hasOwnProperty(te)&&this.controls[te].enabled}setValue(te,O={}){Ue(this,0,te),Object.keys(te).forEach(ve=>{De(this,!0,ve),this.controls[ve].setValue(te[ve],{onlySelf:!0,emitEvent:O.emitEvent})}),this.updateValueAndValidity(O)}patchValue(te,O={}){null!=te&&(Object.keys(te).forEach(ve=>{const et=this.controls[ve];et&&et.patchValue(te[ve],{onlySelf:!0,emitEvent:O.emitEvent})}),this.updateValueAndValidity(O))}reset(te={},O={}){this._forEachChild((ve,et)=>{ve.reset(te?te[et]:null,{onlySelf:!0,emitEvent:O.emitEvent})}),this._updatePristine(O),this._updateTouched(O),this.updateValueAndValidity(O)}getRawValue(){return this._reduceChildren({},(te,O,ve)=>(te[ve]=O.getRawValue(),te))}_syncPendingControls(){let te=this._reduceChildren(!1,(O,ve)=>!!ve._syncPendingControls()||O);return te&&this.updateValueAndValidity({onlySelf:!0}),te}_forEachChild(te){Object.keys(this.controls).forEach(O=>{const ve=this.controls[O];ve&&te(ve,O)})}_setUpControls(){this._forEachChild(te=>{te.setParent(this),te._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(te){for(const[O,ve]of Object.entries(this.controls))if(this.contains(O)&&te(ve))return!0;return!1}_reduceValue(){return this._reduceChildren({},(O,ve,et)=>((ve.enabled||this.disabled)&&(O[et]=ve.value),O))}_reduceChildren(te,O){let ve=te;return this._forEachChild((et,Rn)=>{ve=O(ve,et,Rn)}),ve}_allControlsDisabled(){for(const te of Object.keys(this.controls))if(this.controls[te].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(te){return this.controls.hasOwnProperty(te)?this.controls[te]:null}}const bt=Qt;class ee extends Qt{}const k=new s.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>z}),z="always";function J(G,te,O=z){Et(G,te),te.valueAccessor.writeValue(G.value),(G.disabled||"always"===O)&&te.valueAccessor.setDisabledState?.(G.disabled),function cn(G,te){te.valueAccessor.registerOnChange(O=>{G._pendingValue=O,G._pendingChange=!0,G._pendingDirty=!0,"change"===G.updateOn&&hn(G,te)})}(G,te),function Oi(G,te){const O=(ve,et)=>{te.valueAccessor.writeValue(ve),et&&te.viewToModelUpdate(ve)};G.registerOnChange(O),te._registerOnDestroy(()=>{G._unregisterOnChange(O)})}(G,te),function kn(G,te){te.valueAccessor.registerOnTouched(()=>{G._pendingTouched=!0,"blur"===G.updateOn&&G._pendingChange&&hn(G,te),"submit"!==G.updateOn&&G.markAsTouched()})}(G,te),function Le(G,te){if(te.valueAccessor.setDisabledState){const O=ve=>{te.valueAccessor.setDisabledState(ve)};G.registerOnDisabledChange(O),te._registerOnDestroy(()=>{G._unregisterOnDisabledChange(O)})}}(G,te)}function Q(G,te,O=!0){const ve=()=>{};te.valueAccessor&&(te.valueAccessor.registerOnChange(ve),te.valueAccessor.registerOnTouched(ve)),jt(G,te),G&&(te._invokeOnDestroyCallbacks(),G._registerOnCollectionChange(()=>{}))}function de(G,te){G.forEach(O=>{O.registerOnValidatorChange&&O.registerOnValidatorChange(te)})}function Et(G,te){const O=In(G);null!==te.validator?G.setValidators(En(O,te.validator)):"function"==typeof O&&G.setValidators([O]);const ve=Gt(G);null!==te.asyncValidator?G.setAsyncValidators(En(ve,te.asyncValidator)):"function"==typeof ve&&G.setAsyncValidators([ve]);const et=()=>G.updateValueAndValidity();de(te._rawValidators,et),de(te._rawAsyncValidators,et)}function jt(G,te){let O=!1;if(null!==G){if(null!==te.validator){const et=In(G);
1if(Array.isArray(et)&&et.length>0){const Rn=et.filter(li=>li!==te.validator);Rn.length!==et.length&&(O=!0,G.setValidators(Rn))}}if(null!==te.asyncValidator){const et=Gt(G);if(Array.isArray(et)&&et.length>0){const Rn=et.filter(li=>li!==te.asyncValidator);Rn.length!==et.length&&(O=!0,G.setAsyncValidators(Rn))}}}const ve=()=>{};return de(te._rawValidators,ve),de(te._rawAsyncValidators,ve),O}function hn(G,te){G._pendingDirty&&G.markAsDirty(),G.setValue(G._pendingValue,{emitModelToViewChange:!1}),te.viewToModelUpdate(G._pendingValue),G._pendingChange=!1}function mi(G,te){Et(G,te)}function Xe(G,te){if(!G.hasOwnProperty("model"))return!1;const O=G.model;return!!O.isFirstChange()||!Object.is(te,O.currentValue)}function At(G,te){G._syncPendingControls(),te.forEach(O=>{const ve=O.control;"submit"===ve.updateOn&&ve._pendingChange&&(O.viewToModelUpdate(ve._pendingValue),ve._pendingChange=!1)})}function xt(G,te){if(!te)return null;let O,ve,et;return Array.isArray(te),te.forEach(Rn=>{Rn.constructor===K?O=Rn:function Ge(G){return Object.getPrototypeOf(G.constructor)===g}(Rn)?ve=Rn:et=Rn}),et||ve||O||null}const jn={provide:pn,useExisting:(0,s.Rfq)(()=>dn)},wn=Promise.resolve();let dn=(()=>{class G extends pn{constructor(O,ve,et){super(),this.callSetDisabledState=et,this.submitted=!1,this._directives=new Set,this.ngSubmit=new s.bkB,this.form=new Qt({},it(O),Yt(ve))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(O){wn.then(()=>{const ve=this._findContainer(O.path);O.control=ve.registerControl(O.name,O.control),J(O.control,O,this.callSetDisabledState),O.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(O)})}getControl(O){return this.form.get(O.path)}
1removeControl(O){wn.then(()=>{const ve=this._findContainer(O.path);ve&&ve.removeControl(O.name),this._directives.delete(O)})}addFormGroup(O){wn.then(()=>{const ve=this._findContainer(O.path),et=new Qt({});mi(et,O),ve.registerControl(O.name,et),et.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(O){wn.then(()=>{const ve=this._findContainer(O.path);ve&&ve.removeControl(O.name)})}getFormGroup(O){return this.form.get(O.path)}updateModel(O,ve){wn.then(()=>{this.form.get(O.path).setValue(ve)})}setValue(O){this.control.setValue(O)}onSubmit(O){return this.submitted=!0,At(this.form,this._directives),this.ngSubmit.emit(O),"dialog"===O?.target?.method}onReset(){this.resetForm()}resetForm(O=void 0){this.form.reset(O),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(O){return O.pop(),O.length?this.form.get(O):this.form}static#e=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(ie,10),s.rXU(ge,10),s.rXU(k,8))};static#t=this.\u0275dir=s.FsC({type:G,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ve,et){1&ve&&s.bIt("submit",function(li){return et.onSubmit(li)})("reset",function(){return et.onReset()})},inputs:{options:[s.Mj6.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.Jv_([jn]),s.Vt3]})}return G})();function ei(G,te){const O=G.indexOf(te);O>-1&&G.splice(O,1)}function Tn(G){return"object"==typeof G&&null!==G&&2===Object.keys(G).length&&"value"in G&&"disabled"in G}const Kn=class extends Mt{constructor(te=null,O,ve){super(Ht(O),Vt(ve,O)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(te),this._setUpdateStrategy(O),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ke(O)&&(O.nonNullable||O.initialValueIsDefault)&&(this.defaultValue=Tn(te)?te.value:te)}setValue(te,O={}){this.value=this._pendingValue=te,this._onChange.length&&!1!==O.emitModelToViewChange&&this._onChange.forEach(ve=>ve(this.value,!1!==O.emitViewToModelChange)),this.updateValueAndValidity(O)}patchValue(te,O={}){this.setValue(te,O)}reset(te=this.defaultValue,O={}){this._applyFormState(te),this.markAsPristine(O),this.markAsUntouched(O),this.setValue(this.value,O),this._pendingChange=!1}_updateValue(){}_anyControls(te){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(te){this._onChange.push(te)}_unregisterOnChange(te){ei(this._onChange,te)}registerOnDisabledChange(te){this._onDisabledChange.push(te)}_unregisterOnDisabledChange(te){ei(this._onDisabledChange,te)}_forEachChild(te){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(te){Tn(te)?(this.value=this._pendingValue=te.value,te.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=te}},ri=Kn;Promise.resolve();let L=(()=>{class G{static#e=this.\u0275fac=function(ve){return new(ve||G)};static#t=this.\u0275dir=s.FsC({type:G,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return G})();const je={provide:C,useExisting:(0,s.Rfq)(()=>tn),multi:!0};let zt=(()=>{class G{constructor(){this._accessors=[]}add(O,ve){this._accessors.push([O,ve])}remove(O){for(let ve=this._accessors.length-1;ve>=0;--ve)if(this._accessors[ve][1]===O)return void this._accessors.splice(ve,1)}select(O){this._accessors.forEach(ve=>{this._isSameGroup(ve,O)&&ve[1]!==O&&ve[1].fireUncheck(O.value)})}_isSameGroup(O,ve){return!!O[0].control&&O[0]._parent===ve._control._parent&&O[1].name===ve.name}static#e=this.\u0275fac=function(ve){return new(ve||G)};static#t=this.\u0275prov=s.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),tn=(()=>{class G extends g{constructor(O,ve,et,Rn){super(O,ve),this._registry=et,this._injector=Rn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,s.WQX)(k,{optional:!0})??z}ngOnInit(){this._control=this._injector.get(Sn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(O){this._state=O===this.value,this.setProperty("checked",this._state)}registerOnChange(O){this._fn=O,this.onChange=()=>{O(this.value),this._registry.select(this)}}setDisabledState(O){(this.setDisabledStateFired||O||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",O),this.setDisabledStateFired=!0}fireUncheck(O){this.writeValue(O)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(s.sFG),s.rXU(s.aKT),s.rXU(zt),s.rXU(s.zZn))};static#t=this.\u0275dir=s.FsC({type:G,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ve,et){1&ve&&s.bIt("change",function(){return et.onChange()})("blur",function(){return et.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[s.Jv_([je]),s.Vt3]})}return G})();
1const Ut=new s.nKC(""),v={provide:Sn,useExisting:(0,s.Rfq)(()=>$)};let $=(()=>{class G extends Sn{set isDisabled(O){}static#e=this._ngModelWarningSentOnce=!1;constructor(O,ve,et,Rn,li){super(),this._ngModelWarningConfig=Rn,this.callSetDisabledState=li,this.update=new s.bkB,this._ngModelWarningSent=!1,this._setValidators(O),this._setAsyncValidators(ve),this.valueAccessor=xt(0,et)}ngOnChanges(O){if(this._isControlChanged(O)){const ve=O.form.previousValue;ve&&Q(ve,this,!1),J(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Xe(O,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Q(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(O){this.viewModel=O,this.update.emit(O)}_isControlChanged(O){return O.hasOwnProperty("form")}static#t=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(ie,10),s.rXU(ge,10),s.rXU(C,10),s.rXU(Ut,8),s.rXU(k,8))};static#n=this.\u0275dir=s.FsC({type:G,selectors:[["","formControl",""]],inputs:{form:[s.Mj6.None,"formControl","form"],isDisabled:[s.Mj6.None,"disabled","isDisabled"],model:[s.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[s.Jv_([v]),s.Vt3,s.OA$]})}return G})();const F={provide:pn,useExisting:(0,s.Rfq)(()=>we)};let we=(()=>{class G extends pn{constructor(O,ve,et){super(),this.callSetDisabledState=et,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.bkB,this._setValidators(O),this._setAsyncValidators(ve)}ngOnChanges(O){this._checkFormPresent(),O.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(jt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(O){const ve=this.form.get(O.path);return J(ve,O,this.callSetDisabledState),ve.updateValueAndValidity({emitEvent:!1}),this.directives.push(O),ve}getControl(O){return this.form.get(O.path)}
1removeControl(O){Q(O.control||null,O,!1),function qt(G,te){const O=G.indexOf(te);O>-1&&G.splice(O,1)}(this.directives,O)}addFormGroup(O){this._setUpFormContainer(O)}removeFormGroup(O){this._cleanUpFormContainer(O)}getFormGroup(O){return this.form.get(O.path)}addFormArray(O){this._setUpFormContainer(O)}removeFormArray(O){this._cleanUpFormContainer(O)}getFormArray(O){return this.form.get(O.path)}updateModel(O,ve){this.form.get(O.path).setValue(ve)}onSubmit(O){return this.submitted=!0,At(this.form,this.directives),this.ngSubmit.emit(O),"dialog"===O?.target?.method}onReset(){this.resetForm()}resetForm(O=void 0){this.form.reset(O),this.submitted=!1}_updateDomValue(){this.directives.forEach(O=>{const ve=O.control,et=this.form.get(O.path);ve!==et&&(Q(ve||null,O),(G=>G instanceof Kn)(et)&&(J(et,O,this.callSetDisabledState),O.control=et))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(O){const ve=this.form.get(O.path);mi(ve,O),ve.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(O){if(this.form){const ve=this.form.get(O.path);ve&&function fn(G,te){return jt(G,te)}(ve,O)&&ve.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Et(this.form,this),this._oldForm&&jt(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(ie,10),s.rXU(ge,10),s.rXU(k,8))};static#t=this.\u0275dir=s.FsC({type:G,selectors:[["","formGroup",""]],hostBindings:function(ve,et){1&ve&&s.bIt("submit",function(li){return et.onSubmit(li)})("reset",function(){return et.onReset()})},inputs:{form:[s.Mj6.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s.Jv_([F]),s.Vt3,s.OA$]})}return G})();const zi={provide:Sn,useExisting:(0,s.Rfq)(()=>rr)};let rr=(()=>{class G extends Sn{set isDisabled(O){}static#e=this._ngModelWarningSentOnce=!1;constructor(O,ve,et,Rn,li){super(),this._ngModelWarningConfig=li,this._added=!1,this.name=null,this.update=new s.bkB,this._ngModelWarningSent=!1,this._parent=O,this._setValidators(ve),this._setAsyncValidators(et),this.valueAccessor=xt(0,Rn)}ngOnChanges(O){this._added||this._setUpControl(),Xe(O,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(O){this.viewModel=O,this.update.emit(O)}get path(){return function U(G,te){return[...te.path,G]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(ve){return new(ve||G)(s.rXU(pn,13),s.rXU(ie,10),s.rXU(ge,10),s.rXU(C,10),s.rXU(Ut,8))};static#n=this.\u0275dir=s.FsC({type:G,selectors:[["","formControlName",""]],inputs:{name:[s.Mj6.None,"formControlName","name"],isDisabled:[s.Mj6.None,"disabled","isDisabled"],model:[s.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[s.Jv_([zi]),s.Vt3,s.OA$]})}return G})(),wr=(()=>{class G{static#e=this.\u0275fac=function(ve){return new(ve||G)};static#t=this.\u0275mod=s.$C({type:G});static#n=this.\u0275inj=s.G2t({})}return G})();class vi extends Mt{constructor(te,O,ve){super(Ht(O),Vt(ve,O)),this.controls=te,this._initObservables(),this._setUpdateStrategy(O),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(te){return this.controls[this._adjustIndex(te)]}push(te,O={}){this.controls.push(te),this._registerControl(te),this.updateValueAndValidity({emitEvent:O.emitEvent}),this._onCollectionChange()}insert(te,O,ve={}){this.controls.splice(te,0,O),this._registerControl(O),this.updateValueAndValidity({emitEvent:ve.emitEvent})}removeAt(te,O={}){let ve=this._adjustIndex(te);ve<0&&(ve=0),this.controls[ve]&&this.controls[ve]._registerOnCollectionChange(()=>{}
1),this.controls.splice(ve,1),this.updateValueAndValidity({emitEvent:O.emitEvent})}setControl(te,O,ve={}){let et=this._adjustIndex(te);et<0&&(et=0),this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),this.controls.splice(et,1),O&&(this.controls.splice(et,0,O),this._registerControl(O)),this.updateValueAndValidity({emitEvent:ve.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(te,O={}){Ue(this,0,te),te.forEach((ve,et)=>{De(this,!1,et),this.at(et).setValue(ve,{onlySelf:!0,emitEvent:O.emitEvent})}),this.updateValueAndValidity(O)}patchValue(te,O={}){null!=te&&(te.forEach((ve,et)=>{this.at(et)&&this.at(et).patchValue(ve,{onlySelf:!0,emitEvent:O.emitEvent})}),this.updateValueAndValidity(O))}reset(te=[],O={}){this._forEachChild((ve,et)=>{ve.reset(te[et],{onlySelf:!0,emitEvent:O.emitEvent})}),this._updatePristine(O),this._updateTouched(O),this.updateValueAndValidity(O)}getRawValue(){return this.controls.map(te=>te.getRawValue())}clear(te={}){this.controls.length<1||(this._forEachChild(O=>O._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:te.emitEvent}))}_adjustIndex(te){return te<0?te+this.length:te}_syncPendingControls(){let te=this.controls.reduce((O,ve)=>!!ve._syncPendingControls()||O,!1);return te&&this.updateValueAndValidity({onlySelf:!0}),te}_forEachChild(te){this.controls.forEach((O,ve)=>{te(O,ve)})}_updateValue(){this.value=this.controls.filter(te=>te.enabled||this.disabled).map(te=>te.value)}_anyControls(te){return this.controls.some(O=>O.enabled&&te(O))}_setUpControls(){this._forEachChild(te=>this._registerControl(te))}_allControlsDisabled(){for(const te of this.controls)if(te.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(te){te.setParent(this),te._registerOnCollectionChange(this._onCollectionChange)}_find(te){return this.at(te)??null}}const bs=vi;function or(G){return!!G&&(void 0!==G.asyncValidators||void 0!==G.validators||void 0!==G.updateOn)}let gs=(()=>{class G{constructor(){this.useNonNullable=!1}get nonNullable(){const O=new G;return O.useNonNullable=!0,O}group(O,ve=null){const et=this._reduceControls(O);let Rn={};return or(ve)?Rn=ve:null!==ve&&(Rn.validators=ve.validator,Rn.asyncValidators=ve.asyncValidator),new Qt(et,Rn)}record(O,ve=null){const et=this._reduceControls(O);return new ee(et,ve)}control(O,ve,et){let Rn={};return this.useNonNullable?(or(ve)?Rn=ve:(Rn.validators=ve,Rn.asyncValidators=et),new Kn(O,{...Rn,nonNullable:!0})):new Kn(O,ve,et)}array(O,ve,et){const Rn=O.map(li=>this._createControl(li));return new vi(Rn,ve,et)}_reduceControls(O){const ve={};return Object.keys(O).forEach(et=>{ve[et]=this._createControl(O[et])}),ve}_createControl(O){return O instanceof Kn||O instanceof Mt?O:Array.isArray(O)?this.control(O[0],O.length>1?O[1]:null,O.length>2?O[2]:null):this.control(O)}static#e=this.\u0275fac=function(ve){return new(ve||G)};static#t=this.\u0275prov=s.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),xr=(()=>{class G extends gs{group(O,ve=null){return super.group(O,ve)}control(O,ve,et){return super.control(O,ve,et)}array(O,ve,et){return super.array(O,ve,et)}static#e=this.\u0275fac=(()=>{let O;return function(et){return(O||(O=s.xGo(G)))(et||G)}})();static#t=this.\u0275prov=s.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),Fo=(()=>{class G{static withConfig(O){return{ngModule:G,providers:[{provide:k,useValue:O.callSetDisabledState??z}]}}static#e=this.\u0275fac=function(ve){return new(ve||G)};static#t=this.\u0275mod=s.$C({type:G});static#n=this.\u0275inj=s.G2t({imports:[wr]})}return G})(),po=(()=>{class G{static withConfig(O){return{ngModule:G,providers:[{provide:Ut,useValue:O.warnOnNgModelWithFormControl??"always"},{provide:k,useValue:O.callSetDisabledState??z}]}}static#e=this.\u0275fac=function(ve){return new(ve||G)};static#t=this.\u0275mod=s.$C({type:G});static#n=this.\u0275inj=s.G2t({imports:[wr]})}return G})()}
1,99369:(ht,ue,o)=>{"use strict";o.d(ue,{bB:()=>V});var s=o(54438),c=o(86600),x=o(44549);const I=new s.nKC("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function l(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}});let g=(()=>{class Z extends c.MJ{constructor(K,Me){super(),this._useUTC=!!Me?.useUtc,this._firstDayOfWeek=Me?.firstDayOfWeek||0,this._defaultOutputCalendar=Me?.defaultOutputCalendar||"gregory",this.setLocale(K||x.c9.local().locale)}getYear(K){return K.year}getMonth(K){return K.month-1}getDate(K){return K.day}getDayOfWeek(K){return K.weekday}getMonthNames(K){return x.R2.months(K,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){const K=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return function u(Z,re){const K=Array(Z);for(let Me=0;Me<Z;Me++)K[Me]=re(Me);return K}(31,Me=>K.format(x.c9.utc(2017,1,Me+1).toJSDate()))}getDayOfWeekNames(K){const Me=x.R2.weekdays(K,{locale:this.locale});return Me.unshift(Me.pop()),Me}getYearName(K){return K.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(K){return K.daysInMonth}clone(K){return x.c9.fromObject(K.toObject(),this._getOptions())}createDate(K,Me,Oe){const ie=this._getOptions();if(Me<0||Me>11)throw Error(`Invalid month index "${Me}". Month index has to be between 0 and 11.`);if(Oe<1)throw Error(`Invalid date "${Oe}". Date has to be greater than 0.`);const ge=this._useUTC?x.c9.utc(K,Me+1,Oe,ie):x.c9.local(K,Me+1,Oe,ie);if(!this.isValid(ge))throw Error(`Invalid date "${Oe}". Reason: "${ge.invalidReason}".`);return ge}today(){const K=this._getOptions();return this._useUTC?x.c9.utc(K):x.c9.local(K)}parse(K,Me){const Oe=this._getOptions();if("string"==typeof K&&K.length>0){const ie=x.c9.fromISO(K,Oe);if(this.isValid(ie))return ie;const ge=Array.isArray(Me)?Me:[Me];if(!Me.length)throw Error("Formats array must not be empty.");for(const ye of ge){const rt=x.c9.fromFormat(K,ye,Oe);if(this.isValid(rt))return rt}return this.invalid()}return"number"==typeof K?x.c9.fromMillis(K,Oe):K instanceof Date?x.c9.fromJSDate(K,Oe):K instanceof x.c9?x.c9.fromMillis(K.toMillis(),Oe):null}format(K,Me){if(!this.isValid(K))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?K.setLocale(this.locale).setZone("utc").toFormat(Me):K.setLocale(this.locale).toFormat(Me)}addCalendarYears(K,Me){return K.reconfigure(this._getOptions()).plus({years:Me})}addCalendarMonths(K,Me){return K.reconfigure(this._getOptions()).plus({months:Me})}addCalendarDays(K,Me){return K.reconfigure(this._getOptions()).plus({days:Me})}toIso8601(K){return K.toISO()}deserialize(K){const Me=this._getOptions();let Oe;if(K instanceof Date&&(Oe=x.c9.fromJSDate(K,Me)),"string"==typeof K){if(!K)return null;Oe=x.c9.fromISO(K,Me)}return Oe&&this.isValid(Oe)?Oe:super.deserialize(K)}isDateInstance(K){return K instanceof x.c9}isValid(K){return K.isValid}invalid(){return x.c9.invalid("Invalid Luxon DateTime object.")}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static#e=this.\u0275fac=function(Me){return new(Me||Z)(s.KVO(c.Ju,8),s.KVO(I,8))};static#t=this.\u0275prov=s.jDH({token:Z,factory:Z.\u0275fac})}return Z})();const C={parse:{dateInput:"D"},display:{dateInput:"D",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy"}};function V(Z=C){return[{provide:c.MJ,useClass:g,deps:[c.Ju,I]},{provide:c.de,useValue:Z}]}},86600:(ht,ue,o)=>{"use strict";o.d(ue,{MJ:()=>it,es:()=>Bn,de:()=>Rt,Ju:()=>ce,yE:()=>mt,WX:()=>Zt,Ej:()=>Qt,pZ:()=>rn,X0:()=>kt});var s=o(54438),c=o(96039),x=o(28203),l=o(60177),u=o(36860),g=o(14085),C=o(45286);const Ve=new s.nKC("mat-sanity-checks",{providedIn:"root",factory:function Bt(){return!0}});let mt=(()=>{class bt{constructor(ee,H,k){this._sanityChecks=H,this._document=k,this._hasDoneGlobalChecks=!1,ee._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ee){return!(0,u.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ee])}static#e=this.\u0275fac=function(H){return new(H||bt)(s.KVO(c.Q_),s.KVO(Ve,8),s.KVO(l.qQ))};static#t=this.\u0275mod=s.$C({type:bt});static#n=this.\u0275inj=s.G2t({imports:[x.jI,x.jI]})}return bt})();class kt{constructor(xe,ee,H,k,z){this._defaultMatcher=xe,this.ngControl=ee,this._parentFormGroup=H,this._parentForm=k,this._stateChanges=z,this.errorState=!1}updateErrorState(){const xe=this.errorState,ee=this._parentFormGroup||this._parentForm,H=this.matcher||this._defaultMatcher,k=this.ngControl?this.ngControl.control:null,z=H?.isErrorState(k,ee)??!1;z!==xe&&(this.errorState=z,this._stateChanges.next())}}const ce=new s.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ne(){return(0,s.WQX)(s.xe9)}});class it{constructor(){this._localeChanges=new C.B7,this.localeChanges=this._localeChanges}getValidDateOrNull(xe){return this.isDateInstance(xe)&&this.isValid(xe)?xe:null}deserialize(xe){return null==xe||this.isDateInstance(xe)&&this.isValid(xe)?xe:this.invalid()}setLocale(xe){this.locale=xe,this._localeChanges.next()}compareDate(xe,ee){return this.getYear(xe)-this.getYear(ee)||this.getMonth(xe)-this.getMonth(ee)||this.getDate(xe)-this.getDate(ee)}sameDate(xe,ee){if(xe&&ee){let H=this.isValid(xe),k=this.isValid(ee);return H&&k?!this.compareDate(xe,ee):H==k}return xe==ee}clampDate(xe,ee,H){return ee&&this.compareDate(xe,ee)<0?ee:H&&this.compareDate(xe,H)>0?H:xe}}const Rt=new s.nKC("mat-date-formats"),Yt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function En(bt,xe){const ee=Array(bt);for(let H=0;H<bt;H++)ee[H]=xe(H);return ee}let In=(()=>{class bt extends it{constructor(ee){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,s.WQX)(ce,{optional:!0}),void 0!==ee&&(this._matDateLocale=ee),super.setLocale(this._matDateLocale)}getYear(ee){return ee.getFullYear()}getMonth(ee){return ee.getMonth()}getDate(ee){return ee.getDate()}getDayOfWeek(ee){return ee.getDay()}getMonthNames(ee){const H=new Intl.DateTimeFormat(this.locale,{month:ee,timeZone:"utc"});return En(12,k=>this._format(H,new Date(2017,k,1)))}getDateNames(){const ee=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return En(31,H=>this._format(ee,new Date(2017,0,H+1)))}getDayOfWeekNames(ee){const H=new Intl.DateTimeFormat(this.locale,{weekday:ee,timeZone:"utc"});return En(7,k=>this._format(H,new Date(2017,0,k+1)))}getYearName(ee){const H=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(H,ee)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ee){return this.getDate(this._createDateWithOverflow(this.getYear(ee),this.getMonth(ee)+1,0))}clone(ee){return new Date(ee.getTime())}createDate(ee,H,k){let z=this._createDateWithOverflow(ee,H,k);return z.getMonth(),z}today(){return new Date}parse(ee,H){return"number"==typeof ee?new Date(ee):ee?new Date(Date.parse(ee)):null}format(ee,H){if(!this.isValid(ee))throw Error("NativeDateAdapter: Cannot format invalid date.");const k=new Intl.DateTimeFormat(this.locale,{...H,timeZone:"utc"});return this._format(k,ee)}addCalendarYears(ee,H){return this.addCalendarMonths(ee,12*H)}addCalendarMonths(ee,H){let k=this._createDateWithOverflow(this.getYear(ee),this.getMonth(ee)+H,this.getDate(ee));return this.getMonth(k)!=((this.getMonth(ee)+H)%12+12)%12&&(k=this._createDateWithOverflow(this.getYear(k),this.getMonth(k),0)),k}addCalendarDays(ee,H){return this._createDateWithOverflow(this.getYear(ee),this.getMonth(ee),this.getDate(ee)+H)}toIso8601(ee){return[ee.getUTCFullYear(),this._2digit(ee.getUTCMonth()+1),this._2digit(ee.getUTCDate())].join("-")}deserialize(ee){if("string"==typeof ee){if(!ee)return null;if(Yt.test(ee)){let H=new Date(ee);if(this.isValid(H))return H}}return super.deserialize(ee)}isDateInstance(ee){return ee instanceof Date}isValid(ee){return!isNaN(ee.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ee,H,k){const z=new Date;return z.setFullYear(ee,H,k),z.setHours(0,0,0,0),z}_2digit(ee){return("00"+ee).slice(-2)}_format(ee,H){const k=new Date;return k.setUTCFullYear(H.getFullYear(),H.getMonth(),H.getDate()),k.setUTCHours(H.getHours(),H.getMinutes(),H.get
1Seconds(),H.getMilliseconds()),ee.format(k)}static#e=this.\u0275fac=function(H){return new(H||bt)(s.KVO(ce,8))};static#t=this.\u0275prov=s.jDH({token:bt,factory:bt.\u0275fac})}return bt})();const Gt={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Zt=(()=>{class bt{static#e=this.\u0275fac=function(H){return new(H||bt)};static#t=this.\u0275mod=s.$C({type:bt});static#n=this.\u0275inj=s.G2t({providers:[$n()]})}return bt})();function $n(bt=Gt){return[{provide:it,useClass:In},{provide:Rt,useValue:bt}]}let Bn=(()=>{class bt{isErrorState(ee,H){return!!(ee&&ee.invalid&&(ee.touched||H&&H.submitted))}static#e=this.\u0275fac=function(H){return new(H||bt)};static#t=this.\u0275prov=s.jDH({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})();var xn=function(bt){return bt[bt.FADING_IN=0]="FADING_IN",bt[bt.VISIBLE=1]="VISIBLE",bt[bt.FADING_OUT=2]="FADING_OUT",bt[bt.HIDDEN=3]="HIDDEN",bt}(xn||{});class sn{constructor(xe,ee,H,k=!1){this._renderer=xe,this.element=ee,this.config=H,this._animationForciblyDisabledThroughCss=k,this.state=xn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const pt=(0,u.BQ)({passive:!0,capture:!0});class lt{constructor(){this._events=new Map,this._delegateEventHandler=xe=>{const ee=(0,u.Fb)(xe);ee&&this._events.get(xe.type)?.forEach((H,k)=>{(k===ee||k.contains(ee))&&H.forEach(z=>z.handleEvent(xe))})}}addHandler(xe,ee,H,k){const z=this._events.get(ee);if(z){const U=z.get(H);U?U.add(k):z.set(H,new Set([k]))}else this._events.set(ee,new Map([[H,new Set([k])]])),xe.runOutsideAngular(()=>{document.addEventListener(ee,this._delegateEventHandler,pt)})}removeHandler(xe,ee,H){const k=this._events.get(xe);if(!k)return;const z=k.get(ee);z&&(z.delete(H),0===z.size&&k.delete(ee),0===k.size&&(this._events.delete(xe),document.removeEventListener(xe,this._delegateEventHandler,pt)))}}const ze={enterDuration:225,exitDuration:150},Re=(0,u.BQ)({passive:!0,capture:!0}),We=["mousedown","touchstart"],ct=["mouseup","mouseleave","touchend","touchcancel"];class ft{static#e=this._eventManager=new lt;constructor(xe,ee,H,k){this._target=xe,this._ngZone=ee,this._platform=k,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,k.isBrowser&&(this._containerElement=(0,g.i8)(H))}fadeInRipple(xe,ee,H={}){const k=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),z={...ze,...H.animation};H.centered&&(xe=k.left+k.width/2,ee=k.top+k.height/2);const U=H.radius||function Tt(bt,xe,ee){const H=Math.max(Math.abs(bt-ee.left),Math.abs(bt-ee.right)),k=Math.max(Math.abs(xe-ee.top),Math.abs(xe-ee.bottom));return Math.sqrt(H*H+k*k)}(xe,ee,k),J=xe-k.left,Q=ee-k.top,de=z.enterDuration,Le=document.createElement("div");Le.classList.add("mat-ripple-element"),Le.style.left=J-U+"px",Le.style.top=Q-U+"px",Le.style.height=2*U+"px",Le.style.width=2*U+"px",null!=H.color&&(Le.style.backgroundColor=H.color),Le.style.transitionDuration=`${de}ms`,this._containerElement.appendChild(Le);const Et=window.getComputedStyle(Le),cn=Et.transitionDuration,kn="none"===Et.transitionProperty||"0s"===cn||"0s, 0s"===cn||0===k.width&&0===k.height,hn=new sn(this,Le,H,kn);Le.style.transform="scale3d(1, 1, 1)",hn.state=xn.FADING_IN,H.persistent||(this._mostRecentTransientRipple=hn);let Oi=null;return!kn&&(de||z.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const mi=()=>this._finishRippleTransition(hn),fn=()=>this._destroyRipple(hn);Le.addEventListener("transitionend",mi),Le.addEventListener("transitioncancel",fn),Oi={onTransitionEnd:mi,onTransitionCancel:fn}}),this._activeRipples.set(hn,Oi),(kn||!de)&&this._finishRippleTransition(hn),hn}fadeOutRipple(xe){if(xe.state===xn.FADING_OUT||xe.state===xn.HIDDEN)return;const ee=xe.element,H={...ze,...xe.config.animation};ee.style.transitionDuration=`${H.exitDuration}ms`,ee.style.opacity="0",xe.state=xn.FADING_OUT,(xe._animationForciblyDisabledThroughCss||!H.exitDuration)&&this._finishRippleTransition(xe)}
1fadeOutAll(){this._getActiveRipples().forEach(xe=>xe.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(xe=>{xe.config.persistent||xe.fadeOut()})}setupTriggerEvents(xe){const ee=(0,g.i8)(xe);!this._platform.isBrowser||!ee||ee===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ee,We.forEach(H=>{ft._eventManager.addHandler(this._ngZone,H,ee,this)}))}handleEvent(xe){"mousedown"===xe.type?this._onMousedown(xe):"touchstart"===xe.type?this._onTouchStart(xe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ct.forEach(ee=>{this._triggerElement.addEventListener(ee,this,Re)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(xe){xe.state===xn.FADING_IN?this._startFadeOutTransition(xe):xe.state===xn.FADING_OUT&&this._destroyRipple(xe)}_startFadeOutTransition(xe){const ee=xe===this._mostRecentTransientRipple,{persistent:H}=xe.config;xe.state=xn.VISIBLE,!H&&(!ee||!this._isPointerDown)&&xe.fadeOut()}_destroyRipple(xe){const ee=this._activeRipples.get(xe)??null;this._activeRipples.delete(xe),this._activeRipples.size||(this._containerRect=null),xe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),xe.state=xn.HIDDEN,null!==ee&&(xe.element.removeEventListener("transitionend",ee.onTransitionEnd),xe.element.removeEventListener("transitioncancel",ee.onTransitionCancel)),xe.element.remove()}_onMousedown(xe){const ee=(0,c._G)(xe),H=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ee&&!H&&(this._isPointerDown=!0,this.fadeInRipple(xe.clientX,xe.clientY,this._target.rippleConfig))}_onTouchStart(xe){if(!this._target.rippleDisabled&&!(0,c.w6)(xe)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ee=xe.changedTouches;if(ee)for(let H=0;H<ee.length;H++)this.fadeInRipple(ee[H].clientX,ee[H].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(xe=>{!xe.config.persistent&&(xe.state===xn.VISIBLE||xe.config.terminateOnPointerUp&&xe.state===xn.FADING_IN)&&xe.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const xe=this._triggerElement;xe&&(We.forEach(ee=>ft._eventManager.removeHandler(ee,xe,this)),this._pointerUpEventsRegistered&&(ct.forEach(ee=>xe.removeEventListener(ee,this,Re)),this._pointerUpEventsRegistered=!1))}}const un=new s.nKC("mat-ripple-global-options");let Dn=(()=>{class bt{get disabled(){return this._disabled}set disabled(ee){ee&&this.fadeOutAllNonPersistent(),this._disabled=ee,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ee){this._trigger=ee,this._setupTriggerEventsIfEnabled()}constructor(ee,H,k,z,U){this._elementRef=ee,this._animationMode=U,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=z||{},this._rippleRenderer=new ft(this,H,ee,k)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(ee,H=0,k){return"number"==typeof ee?this._rippleRenderer.fadeInRipple(ee,H,{...this.rippleConfig,...k}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ee})}static#e=this.\u0275fac=function(H){return new(H||bt)(s.rXU(s.aKT),s.rXU(s.SKi),s.rXU(u.OD),s.rXU(un,8),s.rXU(s.bc$,8))};static#t=this.\u0275dir=s.FsC({type:bt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(H,k){2&H&&s.AVh("mat-ripple-unbounded",k.unbounded)},inputs:{color:[s.Mj6.None,"matRippleColor","color"],unbounded:[s.Mj6.None,"matRippleUnbounded","unbounded"],centered:[s.Mj6.None,"matRippleCentered","centered"],radius:[s.Mj6.None,"matRippleRadius","radius"],animation:[s.Mj6.None,"matRippleAnimation","animation"],disabled:[s.Mj6.None,"matRippleDisabled","disabled"],trigger:[s.Mj6.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return bt})(),rn=(()=>{class bt{static#e=this.\u0275fac=function(H){return new(H||bt)};static#t=this.\u0275mod=s.$C({type:bt});static#n=this.\u0275inj=s.G2t({imports:[mt,mt]})}return bt})();const Vt={capture:!0},_e=["focus","click","mouseenter","touchstart"],Ke="mat-ripple-loader-uninitialized",De="mat-ripple-loader-class-name",Ue="mat-ripple-loader-centered",Mt="mat-ripple-loader-disabled";let Qt=(()=>{class bt{constructor(){this._document=(0,s.WQX)(l.qQ,{optional:!0}),this._animationMode=(0,s.WQX)(s.bc$,{optional:!0}),this._globalRippleOptions=(0,s.WQX)(un,{optional:!0}),this._platform=(0,s.WQX)(u.OD),this._ngZone=(0,s.WQX)(s.SKi),this._hosts=new Map,this._onInteraction=ee=>{if(!(ee.target instanceof HTMLElement))return;const k=ee.target.closest(`[${Ke}]`);k&&this._createRipple(k)},this._ngZone.runOutsideAngular(()=>{for(const ee of _e)this._document?.addEventListener(ee,this._onInteraction,Vt)})}ngOnDestroy(){const ee=this._hosts.keys();for(const H of ee)this.destroyRipple(H);for(const H of _e)this._document?.removeEventListener(H,this._onInteraction,Vt)}configureRipple(ee,H){ee.setAttribute(Ke,""),(H.className||!ee.hasAttribute(De))&&ee.setAttribute(De,H.className||""),H.centered&&ee.setAttribute(Ue,""),H.disabled&&ee.setAttribute(Mt,"")}getRipple(ee){return this._hosts.get(ee)||this._createRipple(ee)}setDisabled(ee,H){const k=this._hosts.get(ee);k?k.disabled=H:H?ee.setAttribute(Mt,""):ee.removeAttribute(Mt)}_createRipple(ee){if(!this._document)return;const H=this._hosts.get(ee);if(H)return H;ee.querySelector(".mat-ripple")?.remove();const k=this._document.createElement("span");k.classList.add("mat-ripple",ee.getAttribute(De)),ee.append(k);const z=new Dn(new s.aKT(k),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return z._isInitialized=!0,z.trigger=ee,z.centered=ee.hasAttribute(Ue),z.disabled=ee.hasAttribute(Mt),this.attachRipple(ee,z),z}attachRipple(ee,H){ee.removeAttribute(Ke),this._hosts.set(ee,H)}destroyRipple(ee){const H=this._hosts.get(ee);H&&(H.ngOnDestroy(),this._hosts.delete(ee))}static#e=this.\u0275fac=function(H){return new(H||bt)};static#t=this.\u0275prov=s.jDH({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})()},76057:(ht,ue,o)=>{"use strict";o.d(ue,{el:()=>Te,SG:()=>je,Vh:()=>wn,bZ:()=>Di,X6:()=>ti,bU:()=>Zn,IG:()=>L,xR:()=>le});var s=o(96039),c=o(47987),x=o(76939),I=o(60177),l=o(54438),u=o(36860),g=o(86600);const C=["mat-button",""],D=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],A=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Oe=["mat-icon-button",""],ie=["*"],ye=new l.nKC("MAT_BUTTON_CONFIG"),Ft=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let Bt=(()=>{class Ae{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(v){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,v)}get disableRipple(){return this._disableRipple}set disableRipple(v){this._disableRipple=v,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(v){this._disabled=v,this._updateRippleDisabled()}constructor(v,$,F,we){this._elementRef=v,this._platform=$,this._ngZone=F,this._animationMode=we,this._focusMonitor=(0,l.WQX)(s.FN),this._rippleLoader=(0,l.WQX)(g.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const st=(0,l.WQX)(ye,{optional:!0}),Nn=v.nativeElement,mr=Nn.classList;this.disabledInteractive=st?.disabledInteractive??!1,this._rippleLoader?.configureRipple(Nn,{className:"mat-mdc-button-ripple"});for(const{attribute:Zi,mdcClasses:ir}of Ft)Nn.hasAttribute(Zi)&&mr.add(...ir)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(v="program",$){v?this._focusMonitor.focusVia(this._elementRef.nativeElement,v,$):this._elementRef.nativeElement.focus($)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function($){l.QTQ()};static#t=this.\u0275dir=l.FsC({type:Ae,inputs:{color:"color",disableRipple:[l.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",l.L39],disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],ariaDisabled:[l.Mj6.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",l.L39],disabledInteractive:[l.Mj6.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",l.L39]},features:[l.GFd]})}return Ae})(),Pe=(()=>{class Ae extends Bt{constructor(v,$,F,we){super(v,$,F,we)}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.aKT),l.rXU(u.OD),l.rXU(l.SKi),l.rXU(l.bc$,8))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function($,F){2&$&&(l.BMQ("disabled",F._getDisabledAttribute())("aria-disabled",F._getAriaDisabled()),l.HbH(F.color?"mat-"+F.color:""),l.AVh("mat-mdc-button-disabled",F.disabled)("mat-mdc-button-disabled-interactive",F.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===F._animationMode)("mat-unthemed",!F.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[l.Vt3,l.aNF],attrs:C,ngContentSelectors:A,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,F){1&$&&(l.NAR(D),l.nrm(0,"span",0),l.SdG(1),l.j41(2,"span",1),l.SdG(3,1),l.k0s(),l.SdG(4,2),l.nrm(5,"span",2)(6,"span",3)),2&$&&l.AVh("mdc-button__ripple",!F._isFab)("mdc-fab__ripple",F._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);
1height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-rip
1ple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return Ae})(),yt=(()=>{class Ae extends Bt{constructor(v,$,F,we){super(v,$,F,we),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.aKT),l.rXU(u.OD),l.rXU(l.SKi),l.rXU(l.bc$,8))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function($,F){2&$&&(l.BMQ("disabled",F._getDisabledAttribute())("aria-disabled",F._getAriaDisabled()),l.HbH(F.color?"mat-"+F.color:""),l.AVh("mat-mdc-button-disabled",F.disabled)("mat-mdc-button-disabled-interactive",F.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===F._animationMode)("mat-unthemed",!F.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[l.Vt3,l.aNF],attrs:Oe,ngContentSelectors:ie,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,F){1&$&&(l.NAR(),l.nrm(0,"span",0),l.SdG(1),l.nrm(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);
1height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return Ae})(),Ne=(()=>{class Ae{static#e=this.\u0275fac=function($){return new($||Ae)};static#t=this.\u0275mod=l.$C({type:Ae});static#n=this.\u0275inj=l.G2t({imports:[g.yE,g.pZ,g.yE]})}return Ae})();var it=o(24910),Rt=o(45286),Yt=o(74337),En=o(44670),In=o(14421),Gt=o(67336),Un=o(28203),Zt=o(19493),$n=o(23176),Wn=o(58728),Bn=o(14085),pn=o(49969),Sn=o(89417),Pn=o(32102),ui=o(99631);const xn=["mat-calendar-body",""];function sn(Ae,Ut){if(1&Ae&&(l.j41(0,"tr",0)(1,"td",3),l.EFF(2),l.k0s()()),2&Ae){const v=l.XpG();
1l.R7$(),l.xc7("padding-top",v._cellPadding)("padding-bottom",v._cellPadding),l.BMQ("colspan",v.numCols),l.R7$(),l.SpI(" ",v.label," ")}}function pt(Ae,Ut){if(1&Ae&&(l.j41(0,"td",3),l.EFF(1),l.k0s()),2&Ae){const v=l.XpG(2);l.xc7("padding-top",v._cellPadding)("padding-bottom",v._cellPadding),l.BMQ("colspan",v._firstRowOffset),l.R7$(),l.SpI(" ",v._firstRowOffset>=v.labelMinRequiredCells?v.label:""," ")}}function lt(Ae,Ut){if(1&Ae){const v=l.RV6();l.j41(0,"td",6)(1,"button",7),l.bIt("click",function(F){const we=l.eBV(v).$implicit,st=l.XpG(2);return l.Njj(st._cellClicked(we,F))})("focus",function(F){const we=l.eBV(v).$implicit,st=l.XpG(2);return l.Njj(st._emitActiveDateChange(we,F))}),l.j41(2,"span",8),l.EFF(3),l.k0s(),l.nrm(4,"span",9),l.k0s()()}if(2&Ae){const v=Ut.$implicit,$=Ut.$index,F=l.XpG().$index,we=l.XpG();l.xc7("width",we._cellWidth)("padding-top",we._cellPadding)("padding-bottom",we._cellPadding),l.BMQ("data-mat-row",F)("data-mat-col",$),l.R7$(),l.AVh("mat-calendar-body-disabled",!v.enabled)("mat-calendar-body-active",we._isActiveCell(F,$))("mat-calendar-body-range-start",we._isRangeStart(v.compareValue))("mat-calendar-body-range-end",we._isRangeEnd(v.compareValue))("mat-calendar-body-in-range",we._isInRange(v.compareValue))("mat-calendar-body-comparison-bridge-start",we._isComparisonBridgeStart(v.compareValue,F,$))("mat-calendar-body-comparison-bridge-end",we._isComparisonBridgeEnd(v.compareValue,F,$))("mat-calendar-body-comparison-start",we._isComparisonStart(v.compareValue))("mat-calendar-body-comparison-end",we._isComparisonEnd(v.compareValue))("mat-calendar-body-in-comparison-range",we._isInComparisonRange(v.compareValue))("mat-calendar-body-preview-start",we._isPreviewStart(v.compareValue))("mat-calendar-body-preview-end",we._isPreviewEnd(v.compareValue))("mat-calendar-body-in-preview",we._isInPreview(v.compareValue)),l.Y8G("ngClass",v.cssClasses)("tabindex",we._isActiveCell(F,$)?0:-1),l.BMQ("aria-label",v.ariaLabel)("aria-disabled",!v.enabled||null)("aria-pressed",we._isSelected(v.compareValue))("aria-current",we.todayValue===v.compareValue?"date":null)("aria-describedby",we._getDescribedby(v.compareValue)),l.R7$(),l.AVh("mat-calendar-body-selected",we._isSelected(v.compareValue))("mat-calendar-body-comparison-identical",we._isComparisonIdentical(v.compareValue))("mat-calendar-body-today",we.todayValue===v.compareValue),l.R7$(),l.SpI(" ",v.displayValue," ")}}function ze(Ae,Ut){if(1&Ae&&(l.j41(0,"tr",1),l.DNE(1,pt,2,6,"td",4),l.Z7z(2,lt,5,48,"td",5,l.fX1),l.k0s()),2&Ae){const v=Ut.$implicit,$=Ut.$index,F=l.XpG();l.R7$(),l.vxM(1,0===$&&F._firstRowOffset?1:-1),l.R7$(),l.Dyx(v)}}function ae(Ae,Ut){if(1&Ae&&(l.j41(0,"th",2)(1,"span",6),l.EFF(2),l.k0s(),l.j41(3,"span",3),l.EFF(4),l.k0s()()),2&Ae){const v=Ut.$implicit;l.R7$(2),l.JRh(v.long),l.R7$(2),l.JRh(v.narrow)}}const Re=["*"];function We(Ae,Ut){}function ct(Ae,Ut){if(1&Ae){const v=l.RV6();l.j41(0,"mat-month-view",2),l.mxI("activeDateChange",function(F){l.eBV(v);const we=l.XpG();return l.DH7(we.activeDate,F)||(we.activeDate=F),l.Njj(F)}),l.bIt("_userSelection",function(F){l.eBV(v);const we=l.XpG();return l.Njj(we._dateSelected(F))})("dragStarted",function(F){l.eBV(v);const we=l.XpG();return l.Njj(we._dragStarted(F))})("dragEnded",function(F){l.eBV(v);const we=l.XpG();return l.Njj(we._dragEnded(F))}),l.k0s()}if(2&Ae){const v=l.XpG();l.R50("activeDate",v.activeDate),l.Y8G("selected",v.selected)("dateFilter",v.dateFilter)("maxDate",v.maxDate)("minDate",v.minDate)("dateClass",v.dateClass)("comparisonStart",v.comparisonStart)("comparisonEnd",v.comparisonEnd)("startDateAccessibleName",v.startDateAccessibleName)("endDateAccessibleName",v.endDateAccessibleName)("activeDrag",v._activeDrag)}}function ft(Ae,Ut){if(1&Ae){const v=l.RV6();l.j41(0,"mat-year-view",3),l.mxI("activeDateChange",function(F){l.eBV(v);const we=l.XpG();return l.DH7(we.activeDate,F)||(we.activeDate=F),l.Njj(F)}),l.bIt("monthSelected",function(F){l.eBV(v);const we=l.XpG();return l.Njj(we._monthSelectedInYearView(F))})("selectedChange",function(F){l.eBV(v);const we=l.XpG();return l.Njj(we._goToDateInView(F,"month"))}),l.k0s()}if(2&Ae){const v=l.XpG();l.R50("activeDate",v.activeDate),l.Y8G("selected",v.selected)("dateFilter",v.dateFilter)("maxDate",v.maxDate)("minDate",v.minDate)("dateClass",v.dateClass)}}function Tt(Ae,Ut){if(1&Ae){const v=l.RV6();l.j41(0,"mat-multi-year-view",4),l.mxI("activeDateChange",function(F){l.eBV(v);const we=l.XpG();return l.DH7(we.activeDate,F)||(we.activeDate=F),l.Njj(F)}),l.bIt("yearSelected",function(F){l.eBV(v);const we=l.XpG();return l.Njj(we._yearSelectedInMultiYearView(F))})("selectedChange",function(F){l.eBV(v);const we=l.XpG();return l.Njj(we._goToDateInView(F,"year"))}),l.k0s()}if(2&Ae){const v=l.XpG();l.R50("activeDate",v.activeDate),l.Y8G("selected",v.selected)("dateFilter",v.dateFilter)("maxDate",v.maxDate)("minDate",v.minDate)("dateClass",v.dateClass)}}function un(Ae,Ut){}const Dn=["button"],rn=[[["","matDatepickerToggleIcon",""]]],vn=["[matDatepickerToggleIcon]"];function Pt(Ae,Ut){1&Ae&&(l.qSk(),l.j41(0,"svg",2),l.nrm(1,"path",3),l.k0s())}const _n=[[["input","matStartDate",""]],[["input","matEndDate",""]]],he=["input[matStartDate]","input[matEndDate]"];let q=(()=>{class Ae{constructor(){this.changes=new Rt.B7,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Cho
1ose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(v,$){return`${v} \u2013 ${$}`}formatYearRangeLabel(v,$){return`${v} to ${$}`}static#e=this.\u0275fac=function($){return new($||Ae)};static#t=this.\u0275prov=l.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})();class Ce{constructor(Ut,v,$,F,we={},st=Ut,Nn){this.value=Ut,this.displayValue=v,this.ariaLabel=$,this.enabled=F,this.cssClasses=we,this.compareValue=st,this.rawValue=Nn}}let dt=1;const Ze=(0,u.BQ)({passive:!1,capture:!0}),Ht=(0,u.BQ)({passive:!0,capture:!0}),at=(0,u.BQ)({passive:!0});let Vt=(()=>{class Ae{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(v,$){this._elementRef=v,this._ngZone=$,this._platform=(0,l.WQX)(u.OD),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new l.bkB,this.previewChange=new l.bkB,this.activeDateChange=new l.bkB,this.dragStarted=new l.bkB,this.dragEnded=new l.bkB,this._didDragSinceMouseDown=!1,this._enterHandler=F=>{if(this._skipNextFocus&&"focus"===F.type)this._skipNextFocus=!1;else if(F.target&&this.isRange){const we=this._getCellFromElement(F.target);we&&this._ngZone.run(()=>this.previewChange.emit({value:we.enabled?we:null,event:F}))}},this._touchmoveHandler=F=>{if(!this.isRange)return;const we=Qt(F),st=we?this._getCellFromElement(we):null;we!==F.target&&(this._didDragSinceMouseDown=!0),Ke(F.target)&&F.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:st?.enabled?st:null,event:F}))},this._leaveHandler=F=>{null!==this.previewEnd&&this.isRange&&("blur"!==F.type&&(this._didDragSinceMouseDown=!0),F.target&&this._getCellFromElement(F.target)&&(!F.relatedTarget||!this._getCellFromElement(F.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:F})))},this._mousedownHandler=F=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const we=F.target&&this._getCellFromElement(F.target);!we||!this._isInRange(we.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:we.rawValue,event:F})})},this._mouseupHandler=F=>{if(!this.isRange)return;const we=Ke(F.target);we?we.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const st=this._getCellFromElement(we);this.dragEnded.emit({value:st?.rawValue??null,event:F})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:F})})},this._touchendHandler=F=>{const we=Qt(F);we&&this._mouseupHandler({target:we})},this._id="mat-calendar-body-"+dt++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,$.runOutsideAngular(()=>{const F=v.nativeElement;F.addEventListener("touchmove",this._touchmoveHandler,Ze),F.addEventListener("mouseenter",this._enterHandler,Ht),F.addEventListener("focus",this._enterHandler,Ht),F.addEventListener("mouseleave",this._leaveHandler,Ht),F.addEventListener("blur",this._leaveHandler,Ht),F.addEventListener("mousedown",this._mousedownHandler,at),F.addEventListener("touchstart",this._mousedownHandler,at),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(v,$){this._didDragSinceMouseDown||v.enabled&&this.selectedValueChange.emit({value:v.value,event:$})}_emitActiveDateChange(v,$){v.enabled&&this.activeDateChange.emit({value:v.value,event:$})}_isSelected(v){return this.startValue===v||this.endValue===v}ngOnChanges(v){const $=v.numCols,{rows:F,numCols:we}=this;(v.rows||$)&&(this._firstRowOffset=F&&F.length&&F[0].length?we-F[0].length:0),(v.cellAspectRatio||$||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/we+"%"),($||!this._cellWidth)&&(this._cellWidth=100/we+"%")}ngOnDestroy(){const v=this._elementRef.nativeElement;v.removeEventListener("touchmove",this._touchmoveHandler,Ze),v.removeEventListener("mouseenter",this._enterHandler,Ht),v.removeEventListener("focus",this._enterHandler,Ht),v.removeEventListener("mouseleave",this._leaveHandler,Ht),v.removeEventListener("blur",this._leaveHandler,Ht),v.removeEventListener("mousedown",this._mousedownHandler,at),v.removeEventListener("touchstart",this._mousedownHandler,at),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(v,$){let F=v*this.numCols+$;return v&&(F-=this._firstRowOffset),F==this.activeCell}_focusActiveCell(v=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Zt.s)(1)).subscribe(()=>{setTimeout(()=>{const $=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");$&&(v||(this._skipNextFocus=!0),$.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(v){return De(v,this.startValue,this.endValue)}_isRangeEnd(v){return Ue(v,this.startValue,this.endValue)}_isInRange(v){return Mt(v,this.startValue,this.endValue,this.isRange)}_isComparisonStart(v){return De(v,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(v,$,F){if(!this._isComparisonStart(v)||this._isRangeStart(v)||!this._isInRange(v))return!1;let we=this.rows[$][F-1];if(!we){const st=this.rows[$-1];we=st&&st[st.length-1]}return we&&!this._isRangeEnd(we.compareValue)}_isComparisonBridgeEnd(v,$,F){if(!this._isComparisonEnd(v)||this._isRangeEnd(v)||!this._isInRange(v))return!1;let we=this.rows[$][F+1];if(!we){const st=this.rows[$+1];we=st&&st[0]}return we&&!this._isRangeStart(we.compareValue)}_isComparisonEnd(v){return Ue(v,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(v){return Mt(v,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(v){return this.comparisonStart===this.comparisonEnd&&v===this.comparisonStart}_isPreviewStart(v){return De(v,this.previewStart,this.previewEnd)}_isPreviewEnd(v){return Ue(v,this.previewStart,this.previewEnd)}_isInPreview(v){return Mt(v,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(v){return this.isRange?this.startValue===v&&this.endValue===v?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===v?this._startDateLabelId:this.endValue===v?this._endDateLabelId:null:null}_getCellFromElement(v){const $=Ke(v);if($){const F=$.getAttribute("data-mat-row"),we=$.getAttribute("data-mat-col");if(F&&we)return this.rows[parseInt(F)][parseInt(we)]}return null}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.aKT),l.rXU(l.SKi))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numC
1ols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[l.OA$,l.aNF],attrs:xn,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function($,F){1&$&&(l.DNE(0,sn,3,6,"tr",0),l.Z7z(1,ze,4,1,"tr",1,l.fX1),l.j41(3,"label",2),l.EFF(4),l.k0s(),l.j41(5,"label",2),l.EFF(6),l.k0s()),2&$&&(l.vxM(0,F._firstRowOffset<F.labelMinRequiredCells?0:-1),l.R7$(),l.Dyx(F.rows),l.R7$(2),l.Y8G("id",F._startDateLabelId),l.R7$(),l.SpI(" ",F.startDateAccessibleName,"\n"),l.R7$(),l.Y8G("id",F._endDateLabelId),l.R7$(),l.SpI(" ",F.endDateAccessibleName,"\n"))},dependencies:[I.YU],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-e
1nd:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}
1.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}'],encapsulation:2,changeDetection:0})}return Ae})();function _e(Ae){return"TD"===Ae?.nodeName}function Ke(Ae){let Ut;return _e(Ae)?Ut=Ae:_e(Ae.parentNode)?Ut=Ae.parentNode:_e(Ae.parentNode?.parentNode)&&(Ut=Ae.parentNode.parentNode),null!=Ut?.getAttribute("data-mat-row")?Ut:null}function De(Ae,Ut,v){return null!==v&&Ut!==v&&Ae<v&&Ae===Ut}function Ue(Ae,Ut,v){return null!==Ut&&Ut!==v&&Ae>=Ut&&Ae===v}function Mt(Ae,Ut,v,$){return $&&null!==Ut&&null!==v&&Ut!==v&&Ae>=Ut&&Ae<=v}function Qt(Ae){const Ut=Ae.changedTouches[0];return document.elementFromPoint(Ut.clientX,Ut.clientY)}class nn{constructor(Ut,v){this.start=Ut,this.end=v}}let bt=(()=>{class Ae{constructor(v,$){this.selection=v,this._adapter=$,this._selectionChanged=new Rt.B7,this.selectionChanged=this._selectionChanged,this.selection=v}updateSelection(v,$){const F=this.selection;this.selection=v,this._selectionChanged.next({selection:v,source:$,oldValue:F})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(v){return this._adapter.isDateInstance(v)&&this._adapter.isValid(v)}static#e=this.\u0275fac=function($){l.QTQ()};static#t=this.\u0275prov=l.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})(),xe=(()=>{class Ae extends bt{constructor(v){super(null,v)}add(v){super.updateSelection(v,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const v=new Ae(this._adapter);return v.updateSelection(this.selection,this),v}static#e=this.\u0275fac=function($){return new($||Ae)(l.KVO(g.MJ))};static#t=this.\u0275prov=l.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})(),ee=(()=>{class Ae extends bt{constructor(v){super(new nn(null,null),v)}add(v){let{start:$,end:F}=this.selection;null==$?$=v:null==F?F=v:($=v,F=null),super.updateSelection(new nn($,F),this)}isValid(){const{start:v,end:$}=this.selection;return null==v&&null==$||(null!=v&&null!=$?this._isValidDateInstance(v)&&this._isValidDateInstance($)&&this._adapter.compareDate(v,$)<=0:(null==v||this._isValidDateInstance(v))&&(null==$||this._isValidDateInstance($)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const v=new Ae(this._adapter);return v.updateSelection(this.selection,this),v}static#e=this.\u0275fac=function($){return new($||Ae)(l.KVO(g.MJ))};static#t=this.\u0275prov=l.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})();const k={provide:bt,deps:[[new l.Xx1,new l.kdw,bt],g.MJ],useFactory:function H(Ae,Ut){return Ae||new xe(Ut)}},U={provide:bt,deps:[[new l.Xx1,new l.kdw,bt],g.MJ],useFactory:function z(Ae,Ut){return Ae||new ee(Ut)}},J=new l.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let Q=(()=>{class Ae{constructor(v){this._dateAdapter=v}selectionFinished(v,$){let{start:F,end:we}=$;return null==F?F=v:null==we&&v&&this._dateAdapter.compareDate(v,F)>=0?we=v:(F=v,we=null),new nn(F,we)}createPreview(v,$){let F=null,we=null;return $.start&&!$.end&&v&&(F=$.start,we=v),new nn(F,we)}createDrag(v,$,F){let we=$.start,st=$.end;if(!we||!st)return null;const Nn=this._dateAdapter,mr=0!==Nn.compareDate(we,st),Zi=Nn.getYear(F)-Nn.getYear(v),ir=Nn.getMonth(F)-Nn.getMonth(v),zi=Nn.getDate(F)-Nn.getDate(v);return mr&&Nn.sameDate(v,$.start)?(we=F,Nn.compareDate(F,st)>0&&(st=Nn.addCalendarYears(st,Zi),st=Nn.addCalendarMonths(st,ir),st=Nn.addCalendarDays(st,zi))):mr&&Nn.sameDate(v,$.end)?(st=F,Nn.compareDate(F,we)<0&&(we=Nn.addCalendarYears(we,Zi),we=Nn.addCalendarMonths(we,ir),we=Nn.addCalendarDays(we,zi))):(we=Nn.addCalendarYears(we,Zi),we=Nn.addCalendarMonths(we,ir),we=Nn.addCalendarDays(we,zi),st=Nn.addCalendarYears(st,Zi),st=Nn.addCalendarMonths(st,ir),st=Nn.addCalendarDays(st,zi)),new nn(we,st)}static#e=this.\u0275fac=function($){return new($||Ae)(l.KVO(g.MJ))};static#t=this.\u0275prov=l.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})();const Le={provide:J,deps:[[new l.Xx1,new l.kdw,J],g.MJ],useFactory:function de(Ae,Ut){return Ae||new Q(Ut)}};let jt=(()=>{class Ae{get activeDate(){return this._activeDate}set activeDate(v){const $=this._activeDate,F=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(F,this.minDate,this.maxDate),this._hasSameMonthAndYear($,this._activeDate)||this._init()}get selected(){return this._selected}set selected(v){this._selected=v instanceof nn?v:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v)),this._setRanges(this._selected)}
1get minDate(){return this._minDate}set minDate(v){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}get maxDate(){return this._maxDate}set maxDate(v){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}constructor(v,$,F,we,st){this._changeDetectorRef=v,this._dateFormats=$,this._dateAdapter=F,this._dir=we,this._rangeStrategy=st,this._rerenderSubscription=Yt.y.EMPTY,this.activeDrag=null,this.selectedChange=new l.bkB,this._userSelection=new l.bkB,this.dragStarted=new l.bkB,this.dragEnded=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$n.Z)(null)).subscribe(()=>this._init())}ngOnChanges(v){const $=v.comparisonStart||v.comparisonEnd;$&&!$.firstChange&&this._setRanges(this.selected),v.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(v){const $=v.value,F=this._getDateFromDayOfMonth($);let we,st;this._selected instanceof nn?(we=this._getDateInCurrentMonth(this._selected.start),st=this._getDateInCurrentMonth(this._selected.end)):we=st=this._getDateInCurrentMonth(this._selected),(we!==$||st!==$)&&this.selectedChange.emit(F),this._userSelection.emit({value:F,event:v.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(v){const F=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(v.value),this._dateAdapter.compareDate(F,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(v){const $=this._activeDate,F=this._isRtl();switch(v.keyCode){case Gt.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,F?1:-1);break;case Gt.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,F?-1:1);break;case Gt.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Gt.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Gt.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Gt.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Gt.w_:this.activeDate=v.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Gt.dB:this.activeDate=v.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Gt.Fm:case Gt.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&v.preventDefault());case Gt._f:return void(null!=this._previewEnd&&!(0,Gt.rp)(v)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:v}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:v})),v.preventDefault(),v.stopPropagation()));default:return}this._dateAdapter.compareDate($,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),v.preventDefault()}_handleCalendarBodyKeyup(v){(v.keyCode===Gt.t6||v.keyCode===Gt.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:v}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let v=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(v)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(v){this._matCalendarBody._focusActiveCell(v)}
1_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:v,value:$}){if(this._rangeStrategy){const F=$?$.rawValue:null,we=this._rangeStrategy.createPreview(F,this.selected,v);if(this._previewStart=this._getCellCompareValue(we.start),this._previewEnd=this._getCellCompareValue(we.end),this.activeDrag&&F){const st=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,F,v);st&&(this._previewStart=this._getCellCompareValue(st.start),this._previewEnd=this._getCellCompareValue(st.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(v){if(this.activeDrag)if(v.value){const $=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,v.value,v.event);this.dragEnded.emit({value:$??null,event:v.event})}else this.dragEnded.emit({value:null,event:v.event})}_getDateFromDayOfMonth(v){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),v)}_initWeekdays(){const v=this._dateAdapter.getFirstDayOfWeek(),$=this._dateAdapter.getDayOfWeekNames("narrow");let we=this._dateAdapter.getDayOfWeekNames("long").map((st,Nn)=>({long:st,narrow:$[Nn]}));this._weekdays=we.slice(v).concat(we.slice(0,v))}_createWeekCells(){const v=this._dateAdapter.getNumDaysInMonth(this.activeDate),$=this._dateAdapter.getDateNames();this._weeks=[[]];for(let F=0,we=this._firstWeekOffset;F<v;F++,we++){7==we&&(this._weeks.push([]),we=0);const st=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),F+1),Nn=this._shouldEnableDate(st),mr=this._dateAdapter.format(st,this._dateFormats.display.dateA11yLabel),Zi=this.dateClass?this.dateClass(st,"month"):void 0;this._weeks[this._weeks.length-1].push(new Ce(F+1,$[F],mr,Nn,Zi,this._getCellCompareValue(st),st))}}_shouldEnableDate(v){return!!v&&(!this.minDate||this._dateAdapter.compareDate(v,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(v,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(v))}_getDateInCurrentMonth(v){return v&&this._hasSameMonthAndYear(v,this.activeDate)?this._dateAdapter.getDate(v):null}_hasSameMonthAndYear(v,$){return!(!v||!$||this._dateAdapter.getMonth(v)!=this._dateAdapter.getMonth($)||this._dateAdapter.getYear(v)!=this._dateAdapter.getYear($))}_getCellCompareValue(v){if(v){const $=this._dateAdapter.getYear(v),F=this._dateAdapter.getMonth(v),we=this._dateAdapter.getDate(v);return new Date($,F,we).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(v){v instanceof nn?(this._rangeStart=this._getCellCompareValue(v.start),this._rangeEnd=this._getCellCompareValue(v.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(v),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(v){return!this.dateFilter||this.dateFilter(v)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.gRc),l.rXU(g.de,8),l.rXU(g.MJ,8),l.rXU(Un.dS,8),l.rXU(J,8))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-month-view"]],viewQuery:function($,F){if(1&$&&l.GBs(Vt,5),2&$){let we;l.mGM(we=l.lsd())&&(F._matCalendarBody=we.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[l.OA$,l.aNF],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function($,F){1&$&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.Z7z(3,ae,5,2,"th",2,l.fX1),l.k0s(),l.j41(5,"tr",3),l.nrm(6,"th",4),l.k0s()(),l.j41(7,"tbody",5),l.bIt("selectedValueChange",function(st){return F._dateSelected(st)})("activeDateChange",function(st){return F._updateActiveDate(st)})("previewChange",function(st){return F._previewChanged(st)})("dragStarted",function(st){return F.dragStarted.emit(st)})("dragEnded",function(st){return F._dragEnded(st)})("keyup",function(st){return F._handleCalendarBodyKeyup(st)})("keydown",function(st){return F._handleCalendarBodyKeydown(st)}),l.k0s()()),2&$&&(l.R7$(3),l.Dyx(F._weekdays),l.R7$(4),l.Y8G("label",F._monthLabel)("rows",F._weeks)("todayValue",F._todayDate)("startValue",F._rangeStart)("endValue",F._rangeEnd)("comparisonStart",F._comparisonRangeStart)("comparisonEnd",F._comparisonRangeEnd)("previewStart",F._previewStart)("previewEnd",F._previewEnd)("isRange",F._isRange)("labelMinRequiredCells",3)("activeCell",F._dateAdapter.getDate(F.activeDate)-1)("startDateAccessibleName",F.startDateAccessibleName)("endDateAccessibleName",F.endDateAccessibleName))},dependencies:[Vt],encapsulation:2,changeDetection:0})}return Ae})();const cn=24;let hn=(()=>{class Ae{get activeDate(){return this._activeDate}set activeDate(v){let $=this._activeDate;const F=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(F,this.minDate,this.maxDate),Oi(this._dateAdapter,$,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(v){this._selected=v instanceof nn?v:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v)),this._setSelectedYear(v)}
1get minDate(){return this._minDate}set minDate(v){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}get maxDate(){return this._maxDate}set maxDate(v){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}constructor(v,$,F){this._changeDetectorRef=v,this._dateAdapter=$,this._dir=F,this._rerenderSubscription=Yt.y.EMPTY,this.selectedChange=new l.bkB,this.yearSelected=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$n.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const $=this._dateAdapter.getYear(this._activeDate)-mi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let F=0,we=[];F<cn;F++)we.push($+F),4==we.length&&(this._years.push(we.map(st=>this._createCellForYear(st))),we=[]);this._changeDetectorRef.markForCheck()}_yearSelected(v){const $=v.value,F=this._dateAdapter.createDate($,0,1),we=this._getDateFromYear($);this.yearSelected.emit(F),this.selectedChange.emit(we)}_updateActiveDate(v){const F=this._activeDate;this.activeDate=this._getDateFromYear(v.value),this._dateAdapter.compareDate(F,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(v){const $=this._activeDate,F=this._isRtl();switch(v.keyCode){case Gt.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F?1:-1);break;case Gt.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F?-1:1);break;case Gt.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case Gt.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case Gt.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-mi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Gt.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,cn-mi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Gt.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,v.altKey?10*-cn:-cn);break;case Gt.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,v.altKey?10*cn:cn);break;case Gt.Fm:case Gt.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate($,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),v.preventDefault()}_handleCalendarBodyKeyup(v){(v.keyCode===Gt.t6||v.keyCode===Gt.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:v}),this._selectionKeyPressed=!1)}_getActiveCell(){return mi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(v){const $=this._dateAdapter.getMonth(this.activeDate),F=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(v,$,1));return this._dateAdapter.createDate(v,$,Math.min(this._dateAdapter.getDate(this.activeDate),F))}_createCellForYear(v){const $=this._dateAdapter.createDate(v,0,1),F=this._dateAdapter.getYearName($),we=this.dateClass?this.dateClass($,"multi-year"):void 0;return new Ce(v,F,F,this._shouldEnableYear(v),we)}_shouldEnableYear(v){if(null==v||this.maxDate&&v>this._dateAdapter.getYear(this.maxDate)||this.minDate&&v<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let F=this._dateAdapter.createDate(v,0,1);this._dateAdapter.getYear(F)==v;F=this._dateAdapter.addCalendarDays(F,1))if(this.dateFilter(F))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(v){if(this._selectedYear=null,v instanceof nn){const $=v.start||v.end;$&&(this._selectedYear=this._dateAdapter.getYear($))}else v&&(this._selectedYear=this._dateAdapter.getYear(v))}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.gRc),l.rXU(g.MJ,8),l.rXU(Un.dS,8))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-multi-year-view"]],viewQuery:function($,F){if(1&$&&l.GBs(Vt,5),2&$){let we;l.mGM(we=l.lsd())&&(F._matCalendarBody=we.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],standalone:!0,features:[l.aNF],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function($,F){1&$&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.nrm(3,"th",2),l.k0s()(),l.j41(4,"tbody",3),l.bIt("selectedValueChange",function(st){return F._yearSelected(st)})("activeDateChange",function(st){return F._updateActiveDate(st)})("keyup",function(st){return F._handleCalendarBodyKeyup(st)})("keydown",function(st){return F._handleCalendarBodyKeydown(st)}),l.k0s()()),2&$&&(l.R7$(4),l.Y8G("rows",F._years)("todayValue",F._todayYear)("startValue",F._selectedYear)("endValue",F._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",F._getActiveCell()))},dependencies:[Vt],encapsulation:2,changeDetection:0})}return Ae})();function Oi(Ae,Ut,v,$,F){const we=Ae.getYear(Ut),st=Ae.getYear(v),Nn=fn(Ae,$,F);return Math.floor((we-Nn)/cn)===Math.floor((st-Nn)/cn)}function mi(Ae,Ut,v,$){return function Ri(Ae,Ut){return(Ae%Ut+Ut)%Ut}(Ae.getYear(Ut)-fn(Ae,v,$),cn)}function fn(Ae,Ut,v){let $=0;return v?$=Ae.getYear(v)-cn+1:Ut&&($=Ae.getYear(Ut)),$}let An=(()=>{class Ae{get activeDate(){return this._activeDate}set activeDate(v){let $=this._activeDate;const F=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(F,this.minDate,this.maxDate),this._dateAdapter.getYear($)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(v){this._selected=v instanceof nn?v:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v)),this._setSelectedMonth(v)}
1get minDate(){return this._minDate}set minDate(v){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}get maxDate(){return this._maxDate}set maxDate(v){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}constructor(v,$,F,we){this._changeDetectorRef=v,this._dateFormats=$,this._dateAdapter=F,this._dir=we,this._rerenderSubscription=Yt.y.EMPTY,this.selectedChange=new l.bkB,this.monthSelected=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$n.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(v){const $=v.value,F=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),$,1);this.monthSelected.emit(F);const we=this._getDateFromMonth($);this.selectedChange.emit(we)}_updateActiveDate(v){const F=this._activeDate;this.activeDate=this._getDateFromMonth(v.value),this._dateAdapter.compareDate(F,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(v){const $=this._activeDate,F=this._isRtl();switch(v.keyCode){case Gt.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,F?1:-1);break;case Gt.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,F?-1:1);break;case Gt.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Gt.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Gt.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Gt.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Gt.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,v.altKey?-10:-1);break;case Gt.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,v.altKey?10:1);break;case Gt.Fm:case Gt.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate($,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),v.preventDefault()}_handleCalendarBodyKeyup(v){(v.keyCode===Gt.t6||v.keyCode===Gt.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:v}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let v=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map($=>$.map(F=>this._createCellForMonth(F,v[F]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(v){return v&&this._dateAdapter.getYear(v)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(v):null}_getDateFromMonth(v){const $=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),v,1),F=this._dateAdapter.getNumDaysInMonth($);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),v,Math.min(this._dateAdapter.getDate(this.activeDate),F))}_createCellForMonth(v,$){const F=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),v,1),we=this._dateAdapter.format(F,this._dateFormats.display.monthYearA11yLabel),st=this.dateClass?this.dateClass(F,"year"):void 0;return new Ce(v,$.toLocaleUpperCase(),we,this._shouldEnableMonth(v),st)}_shouldEnableMonth(v){const $=this._dateAdapter.getYear(this.activeDate);if(null==v||this._isYearAndMonthAfterMaxDate($,v)||this._isYearAndMonthBeforeMinDate($,v))return!1;if(!this.dateFilter)return!0;for(let we=this._dateAdapter.createDate($,v,1);this._dateAdapter.getMonth(we)==v;we=this._dateAdapter.addCalendarDays(we,1))if(this.dateFilter(we))return!0;return!1}_isYearAndMonthAfterMaxDate(v,$){if(this.maxDate){const F=this._dateAdapter.getYear(this.maxDate),we=this._dateAdapter.getMonth(this.maxDate);return v>F||v===F&&$>we}return!1}_isYearAndMonthBeforeMinDate(v,$){if(this.minDate){const F=this._dateAdapter.getYear(this.minDate),we=this._dateAdapter.getMonth(this.minDate);return v<F||v===F&&$<we}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(v){this._selectedMonth=v instanceof nn?this._getMonthInCurrentYear(v.start)||this._getMonthInCurrentYear(v.end):this._getMonthInCurrentYear(v)}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.gRc),l.rXU(g.de,8),l.rXU(g.MJ,8),l.rXU(Un.dS,8))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-year-view"]],viewQuery:function($,F){if(1&$&&l.GBs(Vt,5),2&$){let we;l.mGM(we=l.lsd())&&(F._matCalendarBody=we.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],standalone:!0,features:[l.aNF],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function($,F){1&$&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.nrm(3,"th",2),l.k0s()(),l.j41(4,"tbody",3),l.bIt("selectedValueChange",function(st){return F._monthSelected(st)})("activeDateChange",function(st){return F._updateActiveDate(st)})("keyup",function(st){return F._handleCalendarBodyKeyup(st)})("keydown",function(st){return F._handleCalendarBodyKeydown(st)}),l.k0s()()),2&$&&(l.R7$(4),l.Y8G("label",F._yearLabel)("rows",F._months)("todayValue",F._todayMonth)("startValue",F._selectedMonth)("endValue",F._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",F._dateAdapter.getMonth(F.activeDate)))},dependencies:[Vt],encapsulation:2,changeDetection:0})}return Ae})(),Bi=1,Wi=(()=>{class Ae{constructor(v,$,F,we,st){this._intl=v,this.calendar=$,this._dateAdapter=F,this._dateFormats=we,this._id="mat-calendar-header-"+Bi++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>st.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-cn)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:cn)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(v,$){return"month"==this.calendar.currentView?this._dateAdapter.getYear(v)==this._dateAdapter.getYear($)&&this._dateAdapter.getMonth(v)==this._dateAdapter.getMonth($):"year"==this.calendar.currentView?this._dateAdapter.getYear(v)==this._dateAdapter.getYear($):Oi(this._dateAdapter,v,$,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const $=this._dateAdapter.getYear(this.calendar.activeDate)-mi(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),F=$+cn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate($,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(F,0,1))]}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(q),l.rXU((0,l.Rfq)(()=>Se)),l.rXU(g.MJ,8),l.rXU(g.de,8),l.rXU(l.gRc))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[l.aNF],ngContentSelectors:Re,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-control
1s"],[1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function($,F){1&$&&(l.NAR(),l.j41(0,"div",0)(1,"div",1)(2,"label",2),l.EFF(3),l.k0s(),l.j41(4,"button",3),l.bIt("click",function(){return F.currentPeriodClicked()}),l.j41(5,"span",4),l.EFF(6),l.k0s(),l.qSk(),l.j41(7,"svg",5),l.nrm(8,"polygon",6),l.k0s()(),l.joV(),l.nrm(9,"div",7),l.SdG(10),l.j41(11,"button",8),l.bIt("click",function(){return F.previousClicked()}),l.k0s(),l.j41(12,"button",9),l.bIt("click",function(){return F.nextClicked()}),l.k0s()()()),2&$&&(l.R7$(2),l.Y8G("id",F._periodButtonLabelId),l.R7$(),l.JRh(F.periodButtonDescription),l.R7$(),l.BMQ("aria-label",F.periodButtonLabel)("aria-describedby",F._periodButtonLabelId),l.R7$(2),l.JRh(F.periodButtonText),l.R7$(),l.AVh("mat-calendar-invert","month"!==F.calendar.currentView),l.R7$(4),l.Y8G("disabled",!F.previousEnabled()),l.BMQ("aria-label",F.prevButtonLabel),l.R7$(),l.Y8G("disabled",!F.nextEnabled()),l.BMQ("aria-label",F.nextButtonLabel))},dependencies:[Pe,yt],encapsulation:2,changeDetection:0})}return Ae})(),Se=(()=>{class Ae{get startAt(){return this._startAt}set startAt(v){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}get selected(){return this._selected}set selected(v){this._selected=v instanceof nn?v:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}get minDate(){return this._minDate}set minDate(v){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}get maxDate(){return this._maxDate}set maxDate(v){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}get activeDate(){return this._clampedActiveDate}set activeDate(v){this._clampedActiveDate=this._dateAdapter.clampDate(v,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(v){const $=this._currentView!==v?v:null;this._currentView=v,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),$&&this.viewChanged.emit($)}constructor(v,$,F,we){this._dateAdapter=$,this._dateFormats=F,this._changeDetectorRef=we,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.bkB,this.yearSelected=new l.bkB,this.monthSelected=new l.bkB,this.viewChanged=new l.bkB(!0),this._userSelection=new l.bkB,this._userDragDrop=new l.bkB,this._activeDrag=null,this.stateChanges=new Rt.B7,this._intlChanges=v.changes.subscribe(()=>{we.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new x.A8(this.headerComponent||Wi),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(v){const $=v.minDate&&!this._dateAdapter.sameDate(v.minDate.previousValue,v.minDate.currentValue)?v.minDate:void 0,F=v.maxDate&&!this._dateAdapter.sameDate(v.maxDate.previousValue,v.maxDate.currentValue)?v.maxDate:void 0,we=$||F||v.dateFilter;if(we&&!we.firstChange){const st=this._getCurrentViewComponent();st&&(this._changeDetectorRef.detectChanges(),st._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(v){const $=v.value;(this.selected instanceof nn||$&&!this._dateAdapter.sameDate($,this.selected))&&this.selectedChange.emit($),this._userSelection.emit(v)}_yearSelectedInMultiYearView(v){this.yearSelected.emit(v)}_monthSelectedInYearView(v){this.monthSelected.emit(v)}_goToDateInView(v,$){this.activeDate=v,this.currentView=$}_dragStarted(v){this._activeDrag=v}_dragEnded(v){this._activeDrag&&(v.value&&this._userDragDrop.emit(v),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(q),l.rXU(g.MJ,8),l.rXU(g.de,8),l.rXU(l.gRc))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-calendar"]],viewQuery:function($,F){if(1&$&&(l.GBs(jt,5),l.GBs(An,5),l.GBs(hn,5)),2&$){let we;l.mGM(we=l.lsd())&&(F.monthView=we.first),l.mGM(we=l.lsd())&&(F.yearView=we.first),l.mGM(we=l.lsd())&&(F.multiYearView=we.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[l.Jv_([k]),l.OA$,l.aNF],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function($,F){if(1&$&&(l.DNE(0,We,0,0,"ng-template",0),l.j41(1,"div",1),l.DNE(2,ct,1,11)(3,ft,1,6)(4,Tt,1,6),l.k0s()),2&$){let we;l.Y8G("cdkPortalOutlet",F._calendarHeaderPortal),l.R7$(2),l.vxM(2,"month"===(we=F.currentView)?2:"year"===we?3:"multi-year"===we?4:-1)}},dependencies:[x.I3,s.vR,jt,An,hn],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}
1.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Ae})();const Xe={transformPanel:(0,pn.hZ)("transformPanel",[(0,pn.kY)("void => enter-dropdown",(0,pn.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,pn.i7)([(0,pn.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,pn.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,pn.kY)("void => enter-dialog",(0,pn.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,pn.i7)([(0,pn.iF)({opacity:0,transform:"scale(0.7)"}),(0,pn.iF)({transform:"none",opacity:1})]))),(0,pn.kY)("* => void",(0,pn.i0)("100ms linear",(0,pn.iF)({opacity:0})))]),fadeInCalendar:(0,pn.hZ)("fadeInCalendar",[(0,pn.wk)("void",(0,pn.iF)({opacity:0})),(0,pn.wk)("enter",(0,pn.iF)({opacity:1})),(0,pn.kY)("void => *",(0,pn.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Ge=0;const At=new l.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const Ae=(0,l.WQX)(c.hJ);return()=>Ae.scrollStrategies.reposition()}}),qt={provide:At,deps:[c.hJ],useFactory:function xt(Ae){return()=>Ae.scrollStrategies.reposition()}};let en=(()=>{class Ae{constructor(v,$,F,we,st,Nn){this._elementRef=v,this._changeDetectorRef=$,this._globalModel=F,this._dateAdapter=we,this._rangeSelectionStrategy=st,this._subscriptions=new Yt.y,this._animationDone=new Rt.B7,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Nn.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(v){const $=this._model.selection,F=v.value,we=$ instanceof nn;if(we&&this._rangeSelectionStrategy){const st=this._rangeSelectionStrategy.selectionFinished(F,$,v.event);this._model.updateSelection(st,this)}else F&&(we||!this._dateAdapter.sameDate(F,$))&&this._model.add(F);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(v){this._model.updateSelection(v.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(v){this._isAnimating="start"===v.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(v,$){this._model=v?this._globalModel.clone():this._globalModel,this._actionsPortal=v,$&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(bt),l.rXU(g.MJ),l.rXU(J,8),l.rXU(q))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-datepicker-content"]],viewQuery:function($,F){if(1&$&&l.GBs(Se,5),2&$){let we;l.mGM(we=l.lsd())&&(F._calendar=we.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function($,F){1&$&&l.Kam("@transformPanel.start",function(st){return F._handleAnimationEvent(st)})("@transformPanel.done",function(st){return F._handleAnimationEvent(st)}),2&$&&(l.zvX("@transformPanel",F._animationState),l.HbH(F.color?"mat-"+F.color:""),l.AVh("mat-datepicker-content-touch",F.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[l.aNF],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function($,F){if(1&$&&(l.j41(0,"div",0)(1,"mat-calendar",1),l.bIt("yearSelected",function(st){return F.datepicker._selectYear(st)})("monthSelected",function(st){return F.datepicker._selectMonth(st)})("viewChanged",function(st){return F.datepicker._viewChanged(st)})("_userSelection",function(st){return F._handleUserSelection(st)})("_userDragDrop",function(st){return F._handleUserDragDrop(st)}),l.k0s(),l.DNE(2,un,0,0,"ng-template",2),l.j41(3,"button",3),l.bIt("focus",function(){return F._closeButtonF
1ocused=!0})("blur",function(){return F._closeButtonFocused=!1})("click",function(){return F.datepicker.close()}),l.EFF(4),l.k0s()()),2&$){let we;l.AVh("mat-datepicker-content-container-with-custom-header",F.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",F._actionsPortal),l.BMQ("aria-modal",!0)("aria-labelledby",null!==(we=F._dialogLabelId)&&void 0!==we?we:void 0),l.R7$(),l.HbH(F.datepicker.panelClass),l.Y8G("id",F.datepicker.id)("startAt",F.datepicker.startAt)("startView",F.datepicker.startView)("minDate",F.datepicker._getMinDate())("maxDate",F.datepicker._getMaxDate())("dateFilter",F.datepicker._getDateFilter())("headerComponent",F.datepicker.calendarHeaderComponent)("selected",F._getSelected())("dateClass",F.datepicker.dateClass)("comparisonStart",F.comparisonStart)("comparisonEnd",F.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",F.startDateAccessibleName)("endDateAccessibleName",F.endDateAccessibleName),l.R7$(),l.Y8G("cdkPortalOutlet",F._actionsPortal),l.R7$(),l.AVh("cdk-visually-hidden",!F._closeButtonFocused),l.Y8G("color",F.color||"primary"),l.R7$(),l.JRh(F._closeButtonText)}},dependencies:[s.kB,Se,x.I3,Pe],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Xe.transformPanel,Xe.fadeInCalendar]},changeDetection:0})}return Ae})(),jn=(()=>{class Ae{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(v){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(v){this._color=v}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(v){v!==this._disabled&&(this._disabled=v,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(v){this._panelClass=(0,Bn.cc)(v)}get opened(){return this._opened}set opened(v){v?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(v,$,F,we,st,Nn,mr){this._overlay=v,this._ngZone=$,this._viewContainerRef=F,this._dateAdapter=st,this._dir=Nn,this._model=mr,this._inputStateChanges=Yt.y.EMPTY,this._document=(0,l.WQX)(I.qQ),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new l.bkB,this.monthSelected=new l.bkB,this.viewChanged=new l.bkB(!0),this.openedStream
1=new l.bkB,this.closedStream=new l.bkB,this._opened=!1,this.id="mat-datepicker-"+Ge++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Rt.B7,this._scrollStrategy=we}ngOnChanges(v){const $=v.xPosition||v.yPosition;if($&&!$.firstChange&&this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;F instanceof c.rW&&(this._setConnectedPositions(F),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(v){this._model.add(v)}_selectYear(v){this.yearSelected.emit(v)}_selectMonth(v){this.monthSelected.emit(v)}_viewChanged(v){this.viewChanged.emit(v)}registerInput(v){return this._inputStateChanges.unsubscribe(),this.datepickerInput=v,this._inputStateChanges=v.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(v){this._actionsPortal=v,this._componentRef?.instance._assignActions(v,!0)}removeActions(v){v===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,u.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const v=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,$=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:F,location:we}=this._componentRef;F._startExitAnimation(),F._animationDone.pipe((0,Zt.s)(1)).subscribe(()=>{const st=this._document.activeElement;v&&(!st||st===this._document.activeElement||we.nativeElement.contains(st))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}v?setTimeout($):$()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(v){v.datepicker=this,v.color=this.color,v._dialogLabelId=this.datepickerInput.getOverlayLabelId(),v._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const v=this.touchUi,$=new x.A8(en,this._viewContainerRef),F=this._overlayRef=this._overlay.create(new c.rR({positionStrategy:v?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[v?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:v?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(v?"dialog":"popup")}));this._getCloseStream(F).subscribe(we=>{we&&we.preventDefault(),this.close()}),F.keydownEvents().subscribe(we=>{const st=we.keyCode;(st===Gt.i7||st===Gt.n6||st===Gt.UQ||st===Gt.LE||st===Gt.w_||st===Gt.dB)&&we.preventDefault()}),this._componentRef=F.attach($),this._forwardContentValues(this._componentRef.instance),v||this._ngZone.onStable.pipe((0,Zt.s)(1)).subscribe(()=>F.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const v=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(v)}_setConnectedPositions(v){const $="end"===this.xPosition?"end":"start",F="start"===$?"end":"start",we="above"===this.yPosition?"bottom":"top",st="top"===we?"bottom":"top";return v.withPositions([{originX:$,originY:st,overlayX:$,overlayY:we},{originX:$,originY:we,overlayX:$,overlayY:st},{originX:F,originY:st,overlayX:F,overlayY:we},{originX:F,originY:we,overlayX:F,overlayY:st}])}_getCloseStream(v){const $=["ctrlKey","shiftKey","metaKey"];return(0,En.h)(v.backdropClick(),v.detachments(),v.keydownEvents().pipe((0,Wn.p)(F=>F.keyCode===Gt._f&&!(0,Gt.rp)(F)||this.datepickerInput&&(0,Gt.rp)(F,"altKey")&&F.keyCode===Gt.i7&&$.every(we=>!(0,Gt.rp)(F,we)))))}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(c.hJ),l.rXU(l.SKi),l.rXU(l.c1b),l.rXU(At),l.rXU(g.MJ,8),l.rXU(Un.dS,8),l.rXU(bt))};static#t=this.\u0275dir=l.FsC({type:Ae,inputs:{calendarHeaderComponent:"
1calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[l.Mj6.HasDecoratorInputTransform,"touchUi","touchUi",l.L39],disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[l.Mj6.HasDecoratorInputTransform,"restoreFocus","restoreFocus",l.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[l.Mj6.HasDecoratorInputTransform,"opened","opened",l.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[l.GFd,l.OA$]})}return Ae})(),wn=(()=>{class Ae extends jn{static#e=this.\u0275fac=(()=>{let v;return function(F){return(v||(v=l.xGo(Ae)))(F||Ae)}})();static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[l.Jv_([k,{provide:jn,useExisting:Ae}]),l.Vt3,l.aNF],decls:0,vars:0,template:function($,F){},encapsulation:2,changeDetection:0})}return Ae})();class dn{constructor(Ut,v){this.target=Ut,this.targetElement=v,this.value=this.target.value}}let ei=(()=>{class Ae{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(v){this._assignValueProgrammatically(v)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(v){const $=v,F=this._elementRef.nativeElement;this._disabled!==$&&(this._disabled=$,this.stateChanges.next(void 0)),$&&this._isInitialized&&F.blur&&F.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(v){this._model=v,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe($=>{if(this._shouldHandleChangeEvent($)){const F=this._getValueFromModel($.selection);this._lastValueValid=this._isValidValue(F),this._cvaOnChange(F),this._onTouched(),this._formatValue(F),this.dateInput.emit(new dn(this,this._elementRef.nativeElement)),this.dateChange.emit(new dn(this,this._elementRef.nativeElement))}})}constructor(v,$,F){this._elementRef=v,this._dateAdapter=$,this._dateFormats=F,this.dateChange=new l.bkB,this.dateInput=new l.bkB,this.stateChanges=new Rt.B7,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Yt.y.EMPTY,this._localeSubscription=Yt.y.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=we=>{const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(we.value));return!st||this._matchesFilter(st)?null:{matDatepickerFilter:!0}},this._minValidator=we=>{const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(we.value)),Nn=this._getMinDate();return!Nn||!st||this._dateAdapter.compareDate(Nn,st)<=0?null:{matDatepickerMin:{min:Nn,actual:st}}},this._maxValidator=we=>{const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(we.value)),Nn=this._getMaxDate();return!Nn||!st||this._dateAdapter.compareDate(Nn,st)>=0?null:{matDatepickerMax:{max:Nn,actual:st}}},this._lastValueValid=!1,this._localeSubscription=$.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(v){Tn(v,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(v){this._validatorOnChange=v}validate(v){return this._validator?this._validator(v):null}writeValue(v){this._assignValueProgrammatically(v)}registerOnChange(v){this._cvaOnChange=v}registerOnTouched(v){this._onTouched=v}setDisabledState(v){this.disabled=v}_onKeydown(v){(0,Gt.rp)(v,"altKey")&&v.keyCode===Gt.n6&&["ctrlKey","shiftKey","metaKey"].every(we=>!(0,Gt.rp)(v,we))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),v.preventDefault())}_onInput(v){const $=this._lastValueValid;let F=this._dateAdapter.parse(v,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(F),F=this._dateAdapter.getValidDateOrNull(F);const we=!this._dateAdapter.sameDate(F,this.value);!F||we?this._cvaOnChange(F):(v&&!this.value&&this._cvaOnChange(F),$!==this._lastValueValid&&this._val
1idatorOnChange()),we&&(this._assignValue(F),this.dateInput.emit(new dn(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new dn(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(v){this._elementRef.nativeElement.value=null!=v?this._dateAdapter.format(v,this._dateFormats.display.dateInput):""}_assignValue(v){this._model?(this._assignValueToModel(v),this._pendingValue=null):this._pendingValue=v}_isValidValue(v){return!v||this._dateAdapter.isValid(v)}_parentDisabled(){return!1}_assignValueProgrammatically(v){v=this._dateAdapter.deserialize(v),this._lastValueValid=this._isValidValue(v),v=this._dateAdapter.getValidDateOrNull(v),this._assignValue(v),this._formatValue(v)}_matchesFilter(v){const $=this._getDateFilter();return!$||$(v)}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.aKT),l.rXU(g.MJ,8),l.rXU(g.de,8))};static#t=this.\u0275dir=l.FsC({type:Ae,inputs:{value:"value",disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[l.GFd,l.OA$]})}return Ae})();function Tn(Ae,Ut){const v=Object.keys(Ae);for(let $ of v){const{previousValue:F,currentValue:we}=Ae[$];if(!Ut.isDateInstance(F)||!Ut.isDateInstance(we))return!0;if(!Ut.sameDate(F,we))return!0}return!1}const Kn={provide:Sn.kq,useExisting:(0,l.Rfq)(()=>Di),multi:!0},ri={provide:Sn.cz,useExisting:(0,l.Rfq)(()=>Di),multi:!0};let Di=(()=>{class Ae extends ei{set matDatepicker(v){v&&(this._datepicker=v,this._closedSubscription=v.closedStream.subscribe(()=>this._onTouched()),this._registerModel(v.registerInput(this)))}get min(){return this._min}set min(v){const $=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v));this._dateAdapter.sameDate($,this._min)||(this._min=$,this._validatorOnChange())}get max(){return this._max}set max(v){const $=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v));this._dateAdapter.sameDate($,this._max)||(this._max=$,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(v){const $=this._matchesFilter(this.value);this._dateFilter=v,this._matchesFilter(this.value)!==$&&this._validatorOnChange()}constructor(v,$,F,we){super(v,$,F),this._formField=we,this._closedSubscription=Yt.y.EMPTY,this._validator=Sn.k0.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(v){return v}_assignValueToModel(v){this._model&&this._model.updateSelection(v,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(v){return v.source!==this}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.aKT),l.rXU(g.MJ,8),l.rXU(g.de,8),l.rXU(Pn.xb,8))};static#t=this.\u0275dir=l.FsC({type:Ae,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function($,F){1&$&&l.bIt("input",function(st){return F._onInput(st.target.value)})("change",function(){return F._onChange()})("blur",function(){return F._onBlur()})("keydown",function(st){return F._onKeydown(st)}),2&$&&(l.Mr5("disabled",F.disabled),l.BMQ("aria-haspopup",F._datepicker?"dialog":null)("aria-owns",(null==F._datepicker?null:F._datepicker.opened)&&F._datepicker.id||null)("min",F.min?F._dateAdapter.toIso8601(F.min):null)("max",F.max?F._dateAdapter.toIso8601(F.max):null)("data-mat-calendar",F._datepicker?F._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[l.Mj6.None,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[l.Jv_([Kn,ri,{provide:ui.Oh,useExisting:Ae}]),l.Vt3]})}return Ae})(),Yn=(()=>{class Ae{static#e=this.\u0275fac=function($){return new($||Ae)};static#t=this.\u0275dir=l.FsC({type:Ae,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}return Ae})(),Zn=(()=>{class Ae{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(v){this._disabled=v}constructor(v,$,F){this._intl=v,this._changeDetectorRef=$,this._stateChanges=Yt.y.EMPTY;const we=Number(F);this.tabIndex=we||0===we?we:null}ngOnChanges(v){v.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(v){this.datepicker&&!this.disabled&&(this.datepicker.open(),v.stopPropagation())}_watchStateChanges(){const v=this.datepicker?this.datepicker.stateChanges:(0,In.of)(),$=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,In.of)(),F=this.datepicker?(0,En.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,In.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,En.h)(this._intl.changes,v,$,F).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(q),l.rXU(l.gRc),l.kS0("tabindex"))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-datepicker-toggle"]],c
1ontentQueries:function($,F,we){if(1&$&&l.wni(we,Yn,5),2&$){let st;l.mGM(st=l.lsd())&&(F._customIcon=st.first)}},viewQuery:function($,F){if(1&$&&l.GBs(Dn,5),2&$){let we;l.mGM(we=l.lsd())&&(F._button=we.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function($,F){1&$&&l.bIt("click",function(st){return F._open(st)}),2&$&&(l.BMQ("tabindex",null)("data-mat-calendar",F.datepicker?F.datepicker.id:null),l.AVh("mat-datepicker-toggle-active",F.datepicker&&F.datepicker.opened)("mat-accent",F.datepicker&&"accent"===F.datepicker.color)("mat-warn",F.datepicker&&"warn"===F.datepicker.color))},inputs:{datepicker:[l.Mj6.None,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[l.Mj6.None,"aria-label","ariaLabel"],disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[l.GFd,l.OA$,l.aNF],ngContentSelectors:vn,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function($,F){1&$&&(l.NAR(rn),l.j41(0,"button",1,0),l.DNE(2,Pt,2,0,":svg:svg",2),l.SdG(3),l.k0s()),2&$&&(l.Y8G("disabled",F.disabled)("disableRipple",F.disableRipple),l.BMQ("aria-haspopup",F.datepicker?"dialog":null)("aria-label",F.ariaLabel||F._intl.openCalendarLabel)("tabindex",F.disabled?-1:F.tabIndex),l.R7$(2),l.vxM(2,F._customIcon?-1:2))},dependencies:[yt],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return Ae})();function hi(Ae){return Li(Ae,!0)}function tr(Ae){return Ae.nodeType===Node.ELEMENT_NODE}function Li(Ae,Ut){if(tr(Ae)&&Ut){const $=(Ae.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((F,we)=>{const st=document.getElementById(we);return st&&F.push(st),F},[]);if($.length)return $.map(F=>Li(F,!1)).join(" ")}if(tr(Ae)){const v=Ae.getAttribute("aria-label")?.trim();if(v)return v}if(function Mi(Ae){return"INPUT"===Ae.nodeName}(Ae)||function Pi(Ae){return"TEXTAREA"===Ae.nodeName}(Ae)){if(Ae.labels?.length)return Array.from(Ae.labels).map(F=>Li(F,!1)).join(" ");const v=Ae.getAttribute("placeholder")?.trim();if(v)return v;const $=Ae.getAttribute("title")?.trim();if($)return $}return(Ae.textContent||"").replace(/\s+/g," ").trim()}const Yi=new l.nKC("MAT_DATE_RANGE_INPUT_PARENT");let Hn=(()=>{class Ae extends ei{get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(v){this._errorStateTracker.matcher=v}get errorState(){return this._errorStateTracker.errorState}set errorState(v){this._errorStateTracker.errorState=v}constructor(v,$,F,we,st,Nn,mr,Zi){super($,mr,Zi),this._rangeInput=v,this._elementRef=$,this._defaultErrorStateMatcher=F,this._injector=we,this._parentForm=st,this._parentFormGroup=Nn,this._dir=(0,l.WQX)(Un.dS,{optional:!0}),this._errorStateTracker=new g.X0(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){const v=this._injector.get(Sn.vO,null,{optional:!0,self:!0});v&&(this.ngControl=v,this._errorStateTracker.ngControl=v)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const v=this._elementRef.nativeElement,$=v.value;return $.length>0?$:v.placeholder}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(v){super._onInput(v),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:v}){return v!==this._rangeInput._startInput&&v!==this._rangeInput._endInput}_assignValueProgrammatically(v){super._assignValueProgrammatically(v),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return hi(this._elementRef.nativeElement)}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(Yi),l.rXU(l.aKT),l.rXU(g.es),l.rXU(l.zZn),l.rXU(Sn.cV,8),l.rXU(Sn.j4,8),l.rXU(g.MJ,8),l.rXU(g.de,8))};static#t=this.\u0275dir=l.FsC({type:Ae,inputs:{errorStateMatcher:"errorStateMatcher"},standalone:!0,features:[l.Vt3]})}return Ae})(),le=(()=>{class Ae extends Hn{constructor(v,$,F,we,st,Nn,mr,Zi){super(v,$,F,we,st,Nn,mr,Zi),this._startValidator=ir=>{const zi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ir.value)),rr=this._model?this._model.selection.end:null;return!zi||!rr||this._dateAdapter.compareDate(zi,rr)<=0?null:{matStartDateInvalid:{end:rr,actual:zi}}}
1,this._validator=Sn.k0.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(v){return v.start}_shouldHandleChangeEvent(v){return!(!super._shouldHandleChangeEvent(v)||(v.oldValue?.start?v.selection.start&&!this._dateAdapter.compareDate(v.oldValue.start,v.selection.start):!v.selection.start))}_assignValueToModel(v){if(this._model){const $=new nn(v,this._model.selection.end);this._model.updateSelection($,this)}}_formatValue(v){super._formatValue(v),this._rangeInput._handleChildValueChange()}_onKeydown(v){const $=this._rangeInput._endInput,F=this._elementRef.nativeElement,we="rtl"!==this._dir?.value;(v.keyCode===Gt.LE&&we||v.keyCode===Gt.UQ&&!we)&&F.selectionStart===F.value.length&&F.selectionEnd===F.value.length?(v.preventDefault(),$._elementRef.nativeElement.setSelectionRange(0,0),$.focus()):super._onKeydown(v)}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(Yi),l.rXU(l.aKT),l.rXU(g.es),l.rXU(l.zZn),l.rXU(Sn.cV,8),l.rXU(Sn.j4,8),l.rXU(g.MJ,8),l.rXU(g.de,8))};static#t=this.\u0275dir=l.FsC({type:Ae,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function($,F){1&$&&l.bIt("input",function(st){return F._onInput(st.target.value)})("change",function(){return F._onChange()})("keydown",function(st){return F._onKeydown(st)})("blur",function(){return F._onBlur()}),2&$&&(l.Mr5("disabled",F.disabled),l.BMQ("aria-haspopup",F._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==F._rangeInput.rangePicker?null:F._rangeInput.rangePicker.opened)&&F._rangeInput.rangePicker.id||null)("min",F._getMinDate()?F._dateAdapter.toIso8601(F._getMinDate()):null)("max",F._getMaxDate()?F._dateAdapter.toIso8601(F._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[l.Jv_([{provide:Sn.kq,useExisting:Ae,multi:!0},{provide:Sn.cz,useExisting:Ae,multi:!0}]),l.Vt3]})}return Ae})(),L=(()=>{class Ae extends Hn{constructor(v,$,F,we,st,Nn,mr,Zi){super(v,$,F,we,st,Nn,mr,Zi),this._endValidator=ir=>{const zi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ir.value)),rr=this._model?this._model.selection.start:null;return!zi||!rr||this._dateAdapter.compareDate(zi,rr)>=0?null:{matEndDateInvalid:{start:rr,actual:zi}}},this._validator=Sn.k0.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(v){return v.end}_shouldHandleChangeEvent(v){return!(!super._shouldHandleChangeEvent(v)||(v.oldValue?.end?v.selection.end&&!this._dateAdapter.compareDate(v.oldValue.end,v.selection.end):!v.selection.end))}_assignValueToModel(v){if(this._model){const $=new nn(this._model.selection.start,v);this._model.updateSelection($,this)}}_moveCaretToEndOfStartInput(){const v=this._rangeInput._startInput._elementRef.nativeElement,$=v.value;$.length>0&&v.setSelectionRange($.length,$.length),v.focus()}_onKeydown(v){const $=this._elementRef.nativeElement,F="rtl"!==this._dir?.value;v.keyCode!==Gt.G_||$.value?(v.keyCode===Gt.UQ&&F||v.keyCode===Gt.LE&&!F)&&0===$.selectionStart&&0===$.selectionEnd?(v.preventDefault(),this._moveCaretToEndOfStartInput()):super._onKeydown(v):this._moveCaretToEndOfStartInput()}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(Yi),l.rXU(l.aKT),l.rXU(g.es),l.rXU(l.zZn),l.rXU(Sn.cV,8),l.rXU(Sn.j4,8),l.rXU(g.MJ,8),l.rXU(g.de,8))};static#t=this.\u0275dir=l.FsC({type:Ae,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function($,F){1&$&&l.bIt("input",function(st){return F._onInput(st.target.value)})("change",function(){return F._onChange()})("keydown",function(st){return F._onKeydown(st)})("blur",function(){return F._onBlur()}),2&$&&(l.Mr5("disabled",F.disabled),l.BMQ("aria-haspopup",F._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==F._rangeInput.rangePicker?null:F._rangeInput.rangePicker.opened)&&F._rangeInput.rangePicker.id||null)("min",F._getMinDate()?F._dateAdapter.toIso8601(F._getMinDate()):null)("max",F._getMaxDate()?F._dateAdapter.toIso8601(F._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[l.Jv_([{provide:Sn.kq,useExisting:Ae,multi:!0},{provide:Sn.cz,useExisting:Ae,multi:!0}]),l.Vt3]})}return Ae})(),fe=0,Te=(()=>{class Ae{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const v=this._startInput?._getPlaceholder()||"",$=this._endInput?._getPlaceholder()||"";return v||$?`${v} ${this.separator} ${$}`:""}get rangePicker(){return this._rangePicker}set rangePicker(v){v&&(this._model=v.registerInput(this),this._rangePicker=v,this._closedSubscription.unsubscribe(),this._closedSubscription=v.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(v){this._required=v}get dateFilter(){return this._dateFilter}set dateFilter(v){const $=this._startInput,F=this._endInput,we=$&&$._matchesFilter($.value),st=F&&F._matchesFilter($.value);this._dateFilter=v,$&&$._matchesFilter($.value)!==we&&$._validatorOnChange(),F&&F._matchesFilter(F.value)!==st&&F._validatorOnChange()}get min(){return this._min}set min(v){const $=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v));this._dateAdapter.sameDate($,this._min)||(this._min=$,this._revalidate())}get max(){return this._max}set max(v){const $=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(v));this._dateAdapter.sameDate($,this._max)||(this._max=$,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(v){v!==this._groupDisabled&&(this._groupDisabled=v,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const v=!!this._startInput&&this._startInput.isEmpty(),$=!!this._endInput&&this._endInput.isEmpty();return v&&$}constructor(v,$,F,we,st){this._changeDetectorRef=v,this._elementRef=$,this._dateAdapter=we,this._formField=st,this._closedSubscription=Yt.y.EMPTY,this.id="mat-date-range-input-"+fe++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new Rt.B7,this.disableAutomaticLabeling=!0,st?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&$.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=F}setDescribedByIds(v){this._ariaDescribedBy=v.length?v.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,En.h)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(v){Tn(v,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}
1getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(v){const $="start"===v?this._startInput:this._endInput;return $?$.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const v=this._formField;return v&&v._hasFloatingLabel()?v._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(v){this.focused=null!==v,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(v){this._startInput&&this._startInput._registerModel(v),this._endInput&&this._endInput._registerModel(v)}_isTargetRequired(v){return v?.ngControl?.control?.hasValidator(Sn.k0.required)}static#e=this.\u0275fac=function($){return new($||Ae)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(Sn.ZU,10),l.rXU(g.MJ,8),l.rXU(Pn.xb,8))};static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-date-range-input"]],contentQueries:function($,F,we){if(1&$&&(l.wni(we,le,5),l.wni(we,L,5)),2&$){let st;l.mGM(st=l.lsd())&&(F._startInput=st.first),l.mGM(st=l.lsd())&&(F._endInput=st.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function($,F){2&$&&(l.BMQ("id",F.id)("aria-labelledby",F._getAriaLabelledby())("aria-describedby",F._ariaDescribedBy)("data-mat-calendar",F.rangePicker?F.rangePicker.id:null),l.AVh("mat-date-range-input-hide-placeholders",F._shouldHidePlaceholders())("mat-date-range-input-required",F.required))},inputs:{rangePicker:"rangePicker",required:[l.Mj6.HasDecoratorInputTransform,"required","required",l.L39],dateFilter:"dateFilter",min:"min",max:"max",disabled:[l.Mj6.HasDecoratorInputTransform,"disabled","disabled",l.L39],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],standalone:!0,features:[l.Jv_([{provide:Pn.qT,useExisting:Ae},{provide:Yi,useExisting:Ae}]),l.GFd,l.OA$,l.aNF],ngContentSelectors:he,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function($,F){1&$&&(l.NAR(_n),l.j41(0,"div",0),l.bIt("cdkFocusChange",function(st){return F._updateFocus(st)}),l.j41(1,"div",1),l.SdG(2),l.j41(3,"span",2),l.EFF(4),l.k0s()(),l.j41(5,"span",3),l.EFF(6),l.k0s(),l.j41(7,"div",4),l.SdG(8,1),l.j41(9,"span",2),l.EFF(10),l.k0s()()()),2&$&&(l.R7$(4),l.JRh(F._getInputMirrorValue("start")),l.R7$(),l.AVh("mat-date-range-input-separator-hidden",F._shouldHideSeparator()),l.R7$(),l.JRh(F.separator),l.R7$(4),l.JRh(F._getInputMirrorValue("end")))},dependencies:[s.vR],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0})}return Ae})(),je=(()=>{class Ae extends jn{_forwardContentValues(v){super._forwardContentValues(v);const $=this.datepickerInput;$&&(v.comparisonStart=$.comparisonStart,v.comparisonEnd=$.comparisonEnd,v.startDateAccessibleName=$._getStartDateAccessibleName(),v.endDateAccessibleName=$._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let v;return function(F){return(v||(v=l.xGo(Ae)))(F||Ae)}})();static#t=this.\u0275cmp=l.VBU({type:Ae,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],standalone:!0,features:[l.Jv_([U,Le,{provide:jn,useExisting:Ae}]),l.Vt3,l.aNF],decls:0,vars:0,template:function($,F){},encapsulation:2,changeDetection:0})}return Ae})(),ti=(()=>{class Ae{static#e=this.\u0275fac=function($){return new($||Ae)};static#t=this.\u0275mod=l.$C({type:Ae});static#n=this.\u0275inj=l.G2t({providers:[q,qt],imports:[I.MD,Ne,c.z_,s.Pd,x.jc,g.yE,en,Zn,Wi,it.Gj]})}return Ae})()},32102:(ht,ue,o)=>{"use strict";o.d(ue,{xb:()=>vn,rl:()=>Ce,qT:()=>Tt,RG:()=>dt,yw:()=>sn});var s=o(54438),c=o(28203),x=o(36860),I=o(74337),l=o(45286),u=o(44670),g=o(7605),C=o(45817),D=o(58728),A=o(68712);class Z{constructor(Ht){this._box=Ht,this._destroyed=new l.B7,this._resizeSubject=new l.B7,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(at=>this._resizeSubject.next(at)))}observe(Ht){return this._elementObservables.has(Ht)||this._elementObservables.set(Ht,new C.c(at=>{const Vt=this._resizeSubject.subscribe(at);return this._resizeObserver?.observe(Ht,{box:this._box}),()=>{this._resizeObserver?.unobserve(Ht),Vt.unsubscribe(),this._elementObservables.delete(Ht)}}).pipe((0,D.p)(at=>at.some(Vt=>Vt.target===Ht)),(0,A.t)({bufferSize:1,refCount:!0}),(0,g.Q)(this._destroyed))),this._elementObservables.get(Ht)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let re=(()=>{class Ze{constructor(){this._observers=new Map,this._ngZone=(0,s.WQX)(s.SKi)}ngOnDestroy(){for(const[,at]of this._observers)at.destroy();this._observers.clear()}observe(at,Vt){const _e=Vt?.box||"content-box";return this._observers.has(_e)||this._observers.set(_e,new Z(_e)),this._observers.get(_e).observe(at)}static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)};static#t=this.\u0275prov=s.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();var K=o(14085),Me=o(49969),Oe=o(60177),ie=o(72318),ge=o(86600);const ye=["notch"],rt=["matFormFieldNotchedOutline",""],Ft=["*"],Bt=["textField"],Ve=["iconPrefixContainer"],mt=["textPrefixContainer"],Pe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Je=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function ke(Ze,Ht){1&Ze&&s.nrm(0,"span",17)}function He(Ze,Ht){if(1&Ze&&(s.j41(0,"label",16),s.SdG(1,1),s.DNE(2,ke,1,0,"span",17),s.k0s()),2&Ze){const at=s.XpG(2);s.Y8G("floating",at._shouldLabelFloat())("monitorResize",at._hasOutline())("id",at._labelId),s.BMQ("for",at._control.disableAutomaticLabeling?null:at._control.id),s.R7$(2),s.vxM(2,!at.hideRequiredMarker&&at._control.required?2:-1)}}function ot(Ze,Ht){if(1&Ze&&s.DNE(0,He,3,5,"label",16),2&Ze){const at=s.XpG();s.vxM(0,at._hasFloatingLabel()?0:-1)}}function Ct(Ze,Ht){1&Ze&&s.nrm(0,"div",5)}function Ot(Ze,Ht){}function kt(Ze,Ht){if(1&Ze&&s.DNE(0,Ot,0,0,"ng-template",11),2&Ze){s.XpG(2);const at=s.sdS(1);s.Y8G("ngTemplateOutlet",at)}}function Qe(Ze,Ht){if(1&Ze&&(s.j41(0,"div",7),s.DNE(1,kt,1,1,null,11),s.k0s()),2&Ze){const at=s.XpG();s.Y8G("matFormFieldNotchedOutlineOpen",at._shouldLabelFloat()),s.R7$(),s.vxM(1,at._forceDisplayInfixLabel()?-1:1)}}function yt(Ze,Ht){1&Ze&&(s.j41(0,"div",8,2),s.SdG(2,2),s.k0s())}function ce(Ze,Ht){1&Ze&&(s.j41(0,"div",9,3),s.SdG(2,3),s.k0s())}function Ne(Ze,Ht){}function it(Ze,Ht){if(1&Ze&&s.DNE(0,Ne,0,0,"ng-template",11),2&Ze){s.XpG();const at=s.sdS(1);s.Y8G("ngTemplateOutlet",at)}}function Rt(Ze,Ht){1&Ze&&(s.j41(0,"div",12),s.SdG(1,4),s.k0s())}function Yt(Ze,Ht){1&Ze&&(s.j41(0,"div",13),s.SdG(1,5),s.k0s())}function En(Ze,Ht){1&Ze&&s.nrm(0,"div",14)}function In(Ze,Ht){if(1&Ze&&(s.j41(0,"div",18),s.SdG(1,6),s.k0s()),2&Ze){const at=s.XpG();s.Y8G("@transitionMessages",at._subscriptAnimationState)}}function Gt(Ze,Ht){if(1&Ze&&(s.j41(0,"mat-hint",20),s.EFF(1),s.k0s()),2&Ze){const at=s.XpG(2);s.Y8G("id",at._hintLabelId),s.R7$(),s.JRh(at.hintLabel)}}function Un(Ze,Ht){if(1&Ze&&(s.j41(0,"div",19),s.DNE(1,Gt,2,2,"mat-hint",20),s.SdG(2,7),s.nrm(3,"div",21),s.SdG(4,8),s.k0s()),2&Ze){const at=s.XpG();s.Y8G("@transitionMessages",at._subscriptAnimationState),s.R7$(),s.vxM(1,at.hintLabel?1:-1)}}let Zt=(()=>{class Ze{static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)};static#t=this.\u0275dir=s.FsC({type:Ze,selectors:[["mat-label"]],standalone:!0})}return Ze})();const Wn=new s.nKC("MatError");let pn=0,Sn=(()=>{class Ze{constructor(){this.align="start",this.id="mat-mdc-hint-"+pn++}static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)};static#t=this.\u0275dir=s.FsC({type:Ze,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Vt,_e){2&Vt&&(s.Mr5("id",_e.id),s.BMQ("align",null),s.AVh("mat-mdc-form-field-hint-end","end"===_e.align))},inputs:{align:"align",id:"id"},standalone:!0})}return Ze})();const Pn=new s.nKC("MatPrefix"),xn=new s.nKC("MatSuffix");let sn=(()=>{class Ze{constructor(){this._isText=!1}set _isTextSelector(at){this._isText=!0}static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)};static#t=this.\u0275dir=s.FsC({type:Ze,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[s.Mj6.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[s.Jv_([{provide:xn,useExisting:Ze}])]})}return Ze})();const pt=new s.nKC("FloatingLabelParent");let lt=(()=>{class Ze{get floating(){return this._floating}set floating(at){this._floating=at,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(at){this._monitorResize=at,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(at){this._elementRef=at,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,s.WQX)(re),this._ngZone=(0,s.WQX)(s.SKi),this._parent=(0,s.WQX)(pt),this._resizeSubscription=new I.y}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ze(Ze){if(null!==Ze.offsetParent)return Ze.scrollWidth;const at=Ze.cloneNode(!0);at.style.setProperty("position","absolute"),at.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(at);const Vt=at.scrollWidth;return at.remove(),Vt}(this._elementRef.nativeElement)}
1get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)(s.rXU(s.aKT))};static#t=this.\u0275dir=s.FsC({type:Ze,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Vt,_e){2&Vt&&s.AVh("mdc-floating-label--float-above",_e.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return Ze})();const ae="mdc-line-ripple--active",Re="mdc-line-ripple--deactivating";let We=(()=>{class Ze{constructor(at,Vt){this._elementRef=at,this._handleTransitionEnd=_e=>{const Ke=this._elementRef.nativeElement.classList,De=Ke.contains(Re);"opacity"===_e.propertyName&&De&&Ke.remove(ae,Re)},Vt.runOutsideAngular(()=>{at.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const at=this._elementRef.nativeElement.classList;at.remove(Re),at.add(ae)}deactivate(){this._elementRef.nativeElement.classList.add(Re)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)(s.rXU(s.aKT),s.rXU(s.SKi))};static#t=this.\u0275dir=s.FsC({type:Ze,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return Ze})(),ct=(()=>{class Ze{constructor(at,Vt){this._elementRef=at,this._ngZone=Vt,this.open=!1}ngAfterViewInit(){const at=this._elementRef.nativeElement.querySelector(".mdc-floating-label");at?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(at.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>at.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(at){this._notch.nativeElement.style.width=this.open&&at?`calc(${at}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)(s.rXU(s.aKT),s.rXU(s.SKi))};static#t=this.\u0275cmp=s.VBU({type:Ze,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Vt,_e){if(1&Vt&&s.GBs(ye,5),2&Vt){let Ke;s.mGM(Ke=s.lsd())&&(_e._notch=Ke.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Vt,_e){2&Vt&&s.AVh("mdc-notched-outline--notched",_e.open)},inputs:{open:[s.Mj6.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[s.aNF],attrs:rt,ngContentSelectors:Ft,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Vt,_e){1&Vt&&(s.NAR(),s.nrm(0,"div",1),s.j41(1,"div",2,0),s.SdG(3),s.k0s(),s.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return Ze})();
1const ft={transitionMessages:(0,Me.hZ)("transitionMessages",[(0,Me.wk)("enter",(0,Me.iF)({opacity:1,transform:"translateY(0%)"})),(0,Me.kY)("void => enter",[(0,Me.iF)({opacity:0,transform:"translateY(-5px)"}),(0,Me.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Tt=(()=>{class Ze{static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)};static#t=this.\u0275dir=s.FsC({type:Ze})}return Ze})();const vn=new s.nKC("MatFormField"),Pt=new s.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let _n=0,Ce=(()=>{class Ze{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(at){this._hideRequiredMarker=(0,K.he)(at)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(at){at!==this._floatLabel&&(this._floatLabel=at,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(at){const Vt=this._appearance;this._appearance=at||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Vt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(at){this._subscriptSizing=at||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(at){this._hintLabel=at,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(at){this._explicitFormFieldControl=at}constructor(at,Vt,_e,Ke,De,Ue,Mt,Qt){this._elementRef=at,this._changeDetectorRef=Vt,this._ngZone=_e,this._dir=Ke,this._platform=De,this._defaults=Ue,this._animationMode=Mt,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+_n++,this._hintLabelId="mat-mdc-hint-"+_n++,this._subscriptAnimationState="",this._destroyed=new l.B7,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Ue&&(Ue.appearance&&(this.appearance=Ue.appearance),this._hideRequiredMarker=!!Ue?.hideRequiredMarker,Ue.color&&(this.color=Ue.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const at=this._control;at.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${at.controlType}`),at.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),at.ngControl&&at.ngControl.valueChanges&&at.ngControl.valueChanges.pipe((0,g.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(at=>!at._isText),this._hasTextPrefix=!!this._prefixChildren.find(at=>at._isText),this._hasIconSuffix=!!this._suffixChildren.find(at=>!at._isText),this._hasTextSuffix=!!this._suffixChildren.find(at=>at._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,u.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,g.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,g.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}
1_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(at){const Vt=this._control?this._control.ngControl:null;return Vt&&Vt[at]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let at=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&at.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Vt=this._hintChildren?this._hintChildren.find(Ke=>"start"===Ke.align):null,_e=this._hintChildren?this._hintChildren.find(Ke=>"end"===Ke.align):null;Vt?at.push(Vt.id):this._hintLabel&&at.push(this._hintLabelId),_e&&at.push(_e.id)}else this._errorChildren&&at.push(...this._errorChildren.map(Vt=>Vt.id));this._control.setDescribedByIds(at)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const at=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(at.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Vt=this._iconPrefixContainer?.nativeElement,_e=this._textPrefixContainer?.nativeElement,Ke=Vt?.getBoundingClientRect().width??0,De=_e?.getBoundingClientRect().width??0;at.style.transform=`var(\n        --mat-mdc-form-field-label-transform,\n        translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Ke+De}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n    )`}_isAttachedToDom(){const at=this._elementRef.nativeElement;if(at.getRootNode){const Vt=at.getRootNode();return Vt&&Vt!==at}return document.documentElement.contains(at)}static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)(s.rXU(s.aKT),s.rXU(s.gRc),s.rXU(s.SKi),s.rXU(c.dS),s.rXU(x.OD),s.rXU(Pt,8),s.rXU(s.bc$,8),s.rXU(Oe.qQ))};static#t=this.\u0275cmp=s.VBU({type:Ze,selectors:[["mat-form-field"]],contentQueries:function(Vt,_e,Ke){if(1&Vt&&(s.wni(Ke,Zt,5),s.wni(Ke,Zt,7),s.wni(Ke,Tt,5),s.wni(Ke,Pn,5),s.wni(Ke,xn,5),s.wni(Ke,Wn,5),s.wni(Ke,Sn,5)),2&Vt){let De;s.mGM(De=s.lsd())&&(_e._labelChildNonStatic=De.first),s.mGM(De=s.lsd())&&(_e._labelChildStatic=De.first),s.mGM(De=s.lsd())&&(_e._formFieldControl=De.first),s.mGM(De=s.lsd())&&(_e._prefixChildren=De),s.mGM(De=s.lsd())&&(_e._suffixChildren=De),s.mGM(De=s.lsd())&&(_e._errorChildren=De),s.mGM(De=s.lsd())&&(_e._hintChildren=De)}},viewQuery:function(Vt,_e){if(1&Vt&&(s.GBs(Bt,5),s.GBs(Ve,5),s.GBs(mt,5),s.GBs(lt,5),s.GBs(ct,5),s.GBs(We,5)),2&Vt){let Ke;s.mGM(Ke=s.lsd())&&(_e._textField=Ke.first),s.mGM(Ke=s.lsd())&&(_e._iconPrefixContainer=Ke.first),s.mGM(Ke=s.lsd())&&(_e._textPrefixContainer=Ke.first),s.mGM(Ke=s.lsd())&&(_e._floatingLabel=Ke.first),s.mGM(Ke=s.lsd())&&(_e._notchedOutline=Ke.first),s.mGM(Ke=s.lsd())&&(_e._lineRipple=Ke.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Vt,_e){2&Vt&&s.AVh("mat-mdc-form-field-label-always-float",_e._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",_e._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",_e._hasIconSuffix)("mat-form-field-invalid",_e._control.errorState)("mat-form-field-disabled",_e._control.disabled)("mat-form-field-autofilled",_e._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===_e._animationMode)("mat-form-field-appearance-fill","fill"==_e.appearance)("mat-form-field-appearance-outline","outline"==_e.appearance)("mat-form-field-hide-placeholder",_e._hasFloatingLabel()&&!_e._shouldLabelFloat())("mat-focused",_e._control.focused)("mat-primary","accent"!==_e.color&&"warn"!==_e.color)("mat-accent","accent"===_e.color)("mat-warn","warn"===_e.color)("ng-untouched",_e._shouldForward("untouched"))("ng-touched",_e._shouldForward("touched"))("ng-pristine",_e._shouldForward("pristine"))("ng-dirty",_e._shouldForward("dirty"))("ng-valid",_e._shouldForward("valid"))("ng-invalid",_e._shouldForward("invalid"))("ng-pending",_e._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[s.Jv_([{provide:vn,useExisting:Ze},{provide:pt,useExisting:Ze}]),s.aNF],ngContentSelectors:Je,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormField
1FloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(Vt,_e){if(1&Vt){const Ke=s.RV6();s.NAR(Pe),s.DNE(0,ot,1,1,"ng-template",null,0,s.C5r),s.j41(2,"div",4,1),s.bIt("click",function(Ue){return s.eBV(Ke),s.Njj(_e._control.onContainerClick(Ue))}),s.DNE(4,Ct,1,0,"div",5),s.j41(5,"div",6),s.DNE(6,Qe,2,2,"div",7)(7,yt,3,0,"div",8)(8,ce,3,0,"div",9),s.j41(9,"div",10),s.DNE(10,it,1,1,null,11),s.SdG(11),s.k0s(),s.DNE(12,Rt,2,0,"div",12)(13,Yt,2,0,"div",13),s.k0s(),s.DNE(14,En,1,0,"div",14),s.k0s(),s.j41(15,"div",15),s.DNE(16,In,2,1)(17,Un,5,2),s.k0s()}if(2&Vt){let Ke;s.R7$(2),s.AVh("mdc-text-field--filled",!_e._hasOutline())("mdc-text-field--outlined",_e._hasOutline())("mdc-text-field--no-label",!_e._hasFloatingLabel())("mdc-text-field--disabled",_e._control.disabled)("mdc-text-field--invalid",_e._control.errorState),s.R7$(2),s.vxM(4,_e._hasOutline()||_e._control.disabled?-1:4),s.R7$(2),s.vxM(6,_e._hasOutline()?6:-1),s.R7$(),s.vxM(7,_e._hasIconPrefix?7:-1),s.R7$(),s.vxM(8,_e._hasTextPrefix?8:-1),s.R7$(2),s.vxM(10,!_e._hasOutline()||_e._forceDisplayInfixLabel()?10:-1),s.R7$(2),s.vxM(12,_e._hasTextSuffix?12:-1),s.R7$(),s.vxM(13,_e._hasIconSuffix?13:-1),s.R7$(),s.vxM(14,_e._hasOutline()?-1:14),s.R7$(),s.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===_e.subscriptSizing),s.R7$(),s.vxM(16,"error"===(Ke=_e._getDisplayedMessages())?16:"hint"===Ke?17:-1)}},dependencies:[lt,ct,Oe.T3,We,Sn],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper
1-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}
1.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}
1.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1over .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper
1-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field
1:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[ft.transitionMessages]},changeDetection:0})}return Ze})(),dt=(()=>{class Ze{static#e=this.\u0275fac=function(Vt){return new(Vt||Ze)};static#t=this.\u0275mod=s.$C({type:Ze});static#n=this.\u0275inj=s.G2t({imports:[ge.yE,Oe.MD,ie.w5,ge.yE]})}return Ze})()},99631:(ht,ue,o)=>{"use strict";o.d(ue,{Oh:()=>V,fS:()=>Me}),o(36860);var c=o(54438);let g=(()=>{class Oe{static#e=this.\u0275fac=function(ye){return new(ye||Oe)};static#t=this.\u0275mod=c.$C({type:Oe});static#n=this.\u0275inj=c.G2t({})}return Oe})();
1var C=o(86600),D=o(32102);const V=new c.nKC("MAT_INPUT_VALUE_ACCESSOR");let Me=(()=>{class Oe{static#e=this.\u0275fac=function(ye){return new(ye||Oe)};static#t=this.\u0275mod=c.$C({type:Oe});static#n=this.\u0275inj=c.G2t({imports:[C.yE,D.RG,D.RG,g,C.yE]})}return Oe})()},345:(ht,ue,o)=>{"use strict";o.d(ue,{B7:()=>Pe,Bb:()=>Pn,EZ:()=>rn,W8:()=>ui,hE:()=>sn,kQ:()=>un,sG:()=>Wn,up:()=>_n});var s=o(54438),c=o(60177);class x extends c.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class I extends x{static makeCurrent(){(0,c.ZD)(new I)}onAndCancel(Ke,De,Ue){return Ke.addEventListener(De,Ue),()=>{Ke.removeEventListener(De,Ue)}}dispatchEvent(Ke,De){Ke.dispatchEvent(De)}remove(Ke){Ke.parentNode&&Ke.parentNode.removeChild(Ke)}createElement(Ke,De){return(De=De||this.getDefaultDocument()).createElement(Ke)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ke){return Ke.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ke){return Ke instanceof DocumentFragment}getGlobalEventTarget(Ke,De){return"window"===De?window:"document"===De?Ke:"body"===De?Ke.body:null}getBaseHref(Ke){const De=function u(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==De?null:function g(_e){return new URL(_e,document.baseURI).pathname}(De)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ke){return(0,c._b)(document.cookie,Ke)}}let l=null,D=(()=>{class _e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac})}return _e})();const A=new s.nKC("");let V=(()=>{class _e{constructor(De,Ue){this._zone=Ue,this._eventNameToPlugin=new Map,De.forEach(Mt=>{Mt.manager=this}),this._plugins=De.slice().reverse()}addEventListener(De,Ue,Mt){return this._findPluginFor(Ue).addEventListener(De,Ue,Mt)}getZone(){return this._zone}_findPluginFor(De){let Ue=this._eventNameToPlugin.get(De);if(Ue)return Ue;if(Ue=this._plugins.find(Qt=>Qt.supports(De)),!Ue)throw new s.wOt(5101,!1);return this._eventNameToPlugin.set(De,Ue),Ue}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(A),s.KVO(s.SKi))};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac})}return _e})();class Z{constructor(Ke){this._doc=Ke}}const re="ng-app-id";let K=(()=>{class _e{constructor(De,Ue,Mt,Qt={}){this.doc=De,this.appId=Ue,this.nonce=Mt,this.platformId=Qt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,c.Vy)(Qt),this.resetHostNodes()}addStyles(De){for(const Ue of De)1===this.changeUsageCount(Ue,1)&&this.onStyleAdded(Ue)}removeStyles(De){for(const Ue of De)this.changeUsageCount(Ue,-1)<=0&&this.onStyleRemoved(Ue)}ngOnDestroy(){const De=this.styleNodesInDOM;De&&(De.forEach(Ue=>Ue.remove()),De.clear());for(const Ue of this.getAllStyles())this.onStyleRemoved(Ue);this.resetHostNodes()}addHost(De){this.hostNodes.add(De);for(const Ue of this.getAllStyles())this.addStyleToHost(De,Ue)}removeHost(De){this.hostNodes.delete(De)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(De){for(const Ue of this.hostNodes)this.addStyleToHost(Ue,De)}onStyleRemoved(De){const Ue=this.styleRef;Ue.get(De)?.elements?.forEach(Mt=>Mt.remove()),Ue.delete(De)}collectServerRenderedStyles(){const De=this.doc.head?.querySelectorAll(`style[${re}="${this.appId}"]`);if(De?.length){const Ue=new Map;return De.forEach(Mt=>{null!=Mt.textContent&&Ue.set(Mt.textContent,Mt)}),Ue}return null}changeUsageCount(De,Ue){const Mt=this.styleRef;if(Mt.has(De)){const Qt=Mt.get(De);return Qt.usage+=Ue,Qt.usage}return Mt.set(De,{usage:Ue,elements:[]}),Ue}getStyleElement(De,Ue){const Mt=this.styleNodesInDOM,Qt=Mt?.get(Ue);if(Qt?.parentNode===De)return Mt.delete(Ue),Qt.removeAttribute(re),Qt;{const nn=this.doc.createElement("style");return this.nonce&&nn.setAttribute("nonce",this.nonce),nn.textContent=Ue,this.platformIsServer&&nn.setAttribute(re,this.appId),De.appendChild(nn),nn}}addStyleToHost(De,Ue){const Mt=this.getStyleElement(De,Ue),Qt=this.styleRef,nn=Qt.get(Ue)?.elements;nn?nn.push(Mt):Qt.set(Ue,{elements:[Mt],usage:1})}resetHostNodes(){const De=this.hostNodes;De.clear(),De.add(this.doc.head)}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(c.qQ),s.KVO(s.sZ2),s.KVO(s.BIS,8),s.KVO(s.Agw))};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac})}return _e})();const Me={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Oe=/%COMP%/g,Ft=new s.nKC("",{providedIn:"root",factory:()=>!0});function mt(_e,Ke){return Ke.map(De=>De.replace(Oe,_e))}let Pe=(()=>{class _e{constructor(De,Ue,Mt,Qt,nn,bt,xe,ee=null){this.eventManager=De,this.sharedStylesHost=Ue,this.appId=Mt,this.removeStylesOnCompDestroy=Qt,this.doc=nn,this.platformId=bt,this.ngZone=xe,this.nonce=ee,this.rendererByCompId=new Map,this.platformIsServer=(0,c.Vy)(bt),this.defaultRenderer=new Je(De,nn,xe,this.platformIsServer)}createRenderer(De,Ue){if(!De||!Ue)return this.defaultRenderer;this.platformIsServer&&Ue.encapsulation===s.gXe.ShadowDom&&(Ue={...Ue,encapsulation:s.gXe.Emulated});const Mt=this.getOrCreateRenderer(De,Ue);return Mt instanceof kt?Mt.applyToHost(De):Mt instanceof Ot&&Mt.applyStyles(),Mt}getOrCreateRenderer(De,Ue){const Mt=this.rendererByCompId;let Qt=Mt.get(Ue.id);if(!Qt){const nn=this.doc,bt=this.ngZone,xe=this.eventManager,ee=this.sharedStylesHost,H=this.removeStylesOnCompDestroy,k=this.platformIsServer;switch(Ue.encapsulation){case s.gXe.Emulated:Qt=new kt(xe,ee,Ue,this.appId,H,nn,bt,k);break;case s.gXe.ShadowDom:return new Ct(xe,ee,De,Ue,nn,bt,this.nonce,k);default:Qt=new Ot(xe,ee,Ue,H,nn,bt,k)}
1Mt.set(Ue.id,Qt)}return Qt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(V),s.KVO(K),s.KVO(s.sZ2),s.KVO(Ft),s.KVO(c.qQ),s.KVO(s.Agw),s.KVO(s.SKi),s.KVO(s.BIS))};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac})}return _e})();class Je{constructor(Ke,De,Ue,Mt){this.eventManager=Ke,this.doc=De,this.ngZone=Ue,this.platformIsServer=Mt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Ke,De){return De?this.doc.createElementNS(Me[De]||De,Ke):this.doc.createElement(Ke)}createComment(Ke){return this.doc.createComment(Ke)}createText(Ke){return this.doc.createTextNode(Ke)}appendChild(Ke,De){(ot(Ke)?Ke.content:Ke).appendChild(De)}insertBefore(Ke,De,Ue){Ke&&(ot(Ke)?Ke.content:Ke).insertBefore(De,Ue)}removeChild(Ke,De){Ke&&Ke.removeChild(De)}selectRootElement(Ke,De){let Ue="string"==typeof Ke?this.doc.querySelector(Ke):Ke;if(!Ue)throw new s.wOt(-5104,!1);return De||(Ue.textContent=""),Ue}parentNode(Ke){return Ke.parentNode}nextSibling(Ke){return Ke.nextSibling}setAttribute(Ke,De,Ue,Mt){if(Mt){De=Mt+":"+De;const Qt=Me[Mt];Qt?Ke.setAttributeNS(Qt,De,Ue):Ke.setAttribute(De,Ue)}else Ke.setAttribute(De,Ue)}removeAttribute(Ke,De,Ue){if(Ue){const Mt=Me[Ue];Mt?Ke.removeAttributeNS(Mt,De):Ke.removeAttribute(`${Ue}:${De}`)}else Ke.removeAttribute(De)}addClass(Ke,De){Ke.classList.add(De)}removeClass(Ke,De){Ke.classList.remove(De)}setStyle(Ke,De,Ue,Mt){Mt&(s.czy.DashCase|s.czy.Important)?Ke.style.setProperty(De,Ue,Mt&s.czy.Important?"important":""):Ke.style[De]=Ue}removeStyle(Ke,De,Ue){Ue&s.czy.DashCase?Ke.style.removeProperty(De):Ke.style[De]=""}setProperty(Ke,De,Ue){null!=Ke&&(Ke[De]=Ue)}setValue(Ke,De){Ke.nodeValue=De}listen(Ke,De,Ue){if("string"==typeof Ke&&!(Ke=(0,c.QT)().getGlobalEventTarget(this.doc,Ke)))throw new Error(`Unsupported event target ${Ke} for event ${De}`);return this.eventManager.addEventListener(Ke,De,this.decoratePreventDefault(Ue))}decoratePreventDefault(Ke){return De=>{if("__ngUnwrap__"===De)return Ke;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ke(De)):Ke(De))&&De.preventDefault()}}}function ot(_e){return"TEMPLATE"===_e.tagName&&void 0!==_e.content}class Ct extends Je{constructor(Ke,De,Ue,Mt,Qt,nn,bt,xe){super(Ke,Qt,nn,xe),this.sharedStylesHost=De,this.hostEl=Ue,this.shadowRoot=Ue.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ee=mt(Mt.id,Mt.styles);for(const H of ee){const k=document.createElement("style");bt&&k.setAttribute("nonce",bt),k.textContent=H,this.shadowRoot.appendChild(k)}}nodeOrShadowRoot(Ke){return Ke===this.hostEl?this.shadowRoot:Ke}appendChild(Ke,De){return super.appendChild(this.nodeOrShadowRoot(Ke),De)}insertBefore(Ke,De,Ue){return super.insertBefore(this.nodeOrShadowRoot(Ke),De,Ue)}removeChild(Ke,De){return super.removeChild(this.nodeOrShadowRoot(Ke),De)}parentNode(Ke){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ke)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ot extends Je{constructor(Ke,De,Ue,Mt,Qt,nn,bt,xe){super(Ke,Qt,nn,bt),this.sharedStylesHost=De,this.removeStylesOnCompDestroy=Mt,this.styles=xe?mt(xe,Ue.styles):Ue.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class kt extends Ot{constructor(Ke,De,Ue,Mt,Qt,nn,bt,xe){const ee=Mt+"-"+Ue.id;super(Ke,De,Ue,Qt,nn,bt,xe,ee),this.contentAttr=function Bt(_e){return"_ngcontent-%COMP%".replace(Oe,_e)}(ee),this.hostAttr=function Ve(_e){return"_nghost-%COMP%".replace(Oe,_e)}(ee)}applyToHost(Ke){this.applyStyles(),this.setAttribute(Ke,this.hostAttr,"")}createElement(Ke,De){const Ue=super.createElement(Ke,De);return super.setAttribute(Ue,this.contentAttr,""),Ue}}let Qe=(()=>{class _e extends Z{constructor(De){super(De)}supports(De){return!0}addEventListener(De,Ue,Mt){return De.addEventListener(Ue,Mt,!1),()=>this.removeEventListener(De,Ue,Mt)}removeEventListener(De,Ue,Mt){return De.removeEventListener(Ue,Mt)}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(c.qQ))};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac})}return _e})();const yt=["alt","control","meta","shift"],ce={"\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"},Ne={alt:_e=>_e.altKey,control:_e=>_e.ctrlKey,meta:_e=>_e.metaKey,shift:_e=>_e.shiftKey};let it=(()=>{class _e extends Z{constructor(De){super(De)}supports(De){return null!=_e.parseEventName(De)}
1addEventListener(De,Ue,Mt){const Qt=_e.parseEventName(Ue),nn=_e.eventCallback(Qt.fullKey,Mt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.QT)().onAndCancel(De,Qt.domEventName,nn))}static parseEventName(De){const Ue=De.toLowerCase().split("."),Mt=Ue.shift();if(0===Ue.length||"keydown"!==Mt&&"keyup"!==Mt)return null;const Qt=_e._normalizeKey(Ue.pop());let nn="",bt=Ue.indexOf("code");if(bt>-1&&(Ue.splice(bt,1),nn="code."),yt.forEach(ee=>{const H=Ue.indexOf(ee);H>-1&&(Ue.splice(H,1),nn+=ee+".")}),nn+=Qt,0!=Ue.length||0===Qt.length)return null;const xe={};return xe.domEventName=Mt,xe.fullKey=nn,xe}static matchEventFullKeyCode(De,Ue){let Mt=ce[De.key]||De.key,Qt="";return Ue.indexOf("code.")>-1&&(Mt=De.code,Qt="code."),!(null==Mt||!Mt)&&(Mt=Mt.toLowerCase()," "===Mt?Mt="space":"."===Mt&&(Mt="dot"),yt.forEach(nn=>{nn!==Mt&&(0,Ne[nn])(De)&&(Qt+=nn+".")}),Qt+=Mt,Qt===Ue)}static eventCallback(De,Ue,Mt){return Qt=>{_e.matchEventFullKeyCode(Qt,De)&&Mt.runGuarded(()=>Ue(Qt))}}static _normalizeKey(De){return"esc"===De?"escape":De}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(c.qQ))};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac})}return _e})();const Wn=(0,s.oH4)(s.fpN,"browser",[{provide:s.Agw,useValue:c.AJ},{provide:s.PLl,useValue:function Gt(){I.makeCurrent()},multi:!0},{provide:c.qQ,useFactory:function Zt(){return(0,s.TL$)(document),document},deps:[]}]),Bn=new s.nKC(""),pn=[{provide:s.e01,useClass:class C{addToWindow(Ke){s.JZv.getAngularTestability=(Ue,Mt=!0)=>{const Qt=Ke.findTestabilityInTree(Ue,Mt);if(null==Qt)throw new s.wOt(5103,!1);return Qt},s.JZv.getAllAngularTestabilities=()=>Ke.getAllTestabilities(),s.JZv.getAllAngularRootElements=()=>Ke.getAllRootElements(),s.JZv.frameworkStabilizers||(s.JZv.frameworkStabilizers=[]),s.JZv.frameworkStabilizers.push(Ue=>{const Mt=s.JZv.getAllAngularTestabilities();let Qt=Mt.length;const nn=function(){Qt--,0==Qt&&Ue()};Mt.forEach(bt=>{bt.whenStable(nn)})})}findTestabilityInTree(Ke,De,Ue){return null==De?null:Ke.getTestability(De)??(Ue?(0,c.QT)().isShadowRoot(De)?this.findTestabilityInTree(Ke,De.host,!0):this.findTestabilityInTree(Ke,De.parentElement,!0):null)}},deps:[]},{provide:s.WHO,useClass:s.NYb,deps:[s.SKi,s.giA,s.e01]},{provide:s.NYb,useClass:s.NYb,deps:[s.SKi,s.giA,s.e01]}],Sn=[{provide:s.H8p,useValue:"root"},{provide:s.zcH,useFactory:function Un(){return new s.zcH},deps:[]},{provide:A,useClass:Qe,multi:!0,deps:[c.qQ,s.SKi,s.Agw]},{provide:A,useClass:it,multi:!0,deps:[c.qQ]},Pe,K,V,{provide:s._9s,useExisting:Pe},{provide:c.N0,useClass:D,deps:[]},[]];let Pn=(()=>{class _e{constructor(De){}static withServerTransition(De){return{ngModule:_e,providers:[{provide:s.sZ2,useValue:De.appId}]}}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(Bn,12))};static#t=this.\u0275mod=s.$C({type:_e});static#n=this.\u0275inj=s.G2t({providers:[...Sn,...pn],imports:[c.MD,s.Hbi]})}return _e})(),ui=(()=>{class _e{constructor(De){this._doc=De,this._dom=(0,c.QT)()}addTag(De,Ue=!1){return De?this._getOrCreateElement(De,Ue):null}addTags(De,Ue=!1){return De?De.reduce((Mt,Qt)=>(Qt&&Mt.push(this._getOrCreateElement(Qt,Ue)),Mt),[]):[]}getTag(De){return De&&this._doc.querySelector(`meta[${De}]`)||null}getTags(De){if(!De)return[];const Ue=this._doc.querySelectorAll(`meta[${De}]`);return Ue?[].slice.call(Ue):[]}updateTag(De,Ue){if(!De)return null;Ue=Ue||this._parseSelector(De);const Mt=this.getTag(Ue);return Mt?this._setMetaElementAttributes(De,Mt):this._getOrCreateElement(De,!0)}removeTag(De){this.removeTagElement(this.getTag(De))}removeTagElement(De){De&&this._dom.remove(De)}_getOrCreateElement(De,Ue=!1){if(!Ue){const nn=this._parseSelector(De),bt=this.getTags(nn).filter(xe=>this._containsAttributes(De,xe))[0];if(void 0!==bt)return bt}const Mt=this._dom.createElement("meta");return this._setMetaElementAttributes(De,Mt),this._doc.getElementsByTagName("head")[0].appendChild(Mt),Mt}_setMetaElementAttributes(De,Ue){return Object.keys(De).forEach(Mt=>Ue.setAttribute(this._getMetaKeyMap(Mt),De[Mt])),Ue}_parseSelector(De){const Ue=De.name?"name":"property";return`${Ue}="${De[Ue]}"`}_containsAttributes(De,Ue){return Object.keys(De).every(Mt=>Ue.getAttribute(this._getMetaKeyMap(Mt))===De[Mt])}_getMetaKeyMap(De){return xn[De]||De}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(c.qQ))};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();const xn={httpEquiv:"http-equiv"};let sn=(()=>{class _e{constructor(De){this._doc=De}getTitle(){return this._doc.title}setTitle(De){this._doc.title=De||""}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(c.qQ))};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();const un=new s.nKC("HammerGestureConfig");let rn=(()=>{class _e{constructor(){this.events=[],this.overrides={}}buildHammer(De){const Ue=new Hammer(De,this.options);Ue.get("pinch").set({enable:!0}),Ue.get("rotate").set({enable:!0});for(const Mt in this.overrides)Ue.get(Mt).set(this.overrides[Mt]);return Ue}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac})}return _e})(),_n=(()=>{class _e{static#e=this.\u0275fac=function(Ue){return new(Ue||_e)};static#t=this.\u0275prov=s.jDH({token:_e,factory:function(Ue){let Mt=null;return Mt=Ue?new(Ue||_e):s.KVO(he),Mt},providedIn:"root"})}return _e})(),he=(()=>{class _e extends _n{constructor(De){super(),this._doc=De}sanitize(De,Ue){if(null==Ue)return null;switch(De){case s.WPN.NONE:return Ue;case s.WPN.HTML:return(0,s.ZF7)(Ue,"HTML")?(0,s.rcV)(Ue):(0,s.h9k)(this._doc,String(Ue)).toString();case s.WPN.STYLE:return(0,s.ZF7)(Ue,"Style")?(0,s.rcV)(Ue):Ue;case s.WPN.SCRIPT:if((0,s.ZF7)(Ue,"Script"))return(0,s.rcV)(Ue);throw new s.wOt(5200,!1);case s.WPN.URL:return(0,s.ZF7)(Ue,"URL")?(0,s.rcV)(Ue):(0,s.$MX)(String(Ue));case s.WPN.RESOURCE_URL:if((0,s.ZF7)(Ue,"ResourceURL"))return(0,s.rcV)(Ue);throw new s.wOt(5201,!1);default:throw new s.wOt(5202,!1)}}bypassSecurityTrustHtml(De){return(0,s.Kcf)(De)}bypassSecurityTrustStyle(De){return(0,s.cWb)(De)}bypassSecurityTrustScript(De){return(0,s.UyX)(De)}bypassSecurityTrustUrl(De){return(0,s.osQ)(De)}bypassSecurityTrustResourceUrl(De){return(0,s.e5t)(De)}static#e=this.\u0275fac=function(Ue){return new(Ue||_e)(s.KVO(c.qQ))};static#t=this.\u0275prov=s.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})()},63040:(ht,ue,o)=>{"use strict";o.d(ue,{nX:()=>ir,j5:()=>Yn,wF:()=>Kn,Z:()=>Tn,Ix:()=>oi,Wk:()=>wi,wQ:()=>vr,iI:()=>oo,n3:()=>Ar});var s=o(10467),c=o(54438),x=o(8982),I=o(84787),l=o(14421),u=o(79928),g=o(49776),C=o(29994),D=o(41639),A=o(29418),V=o(78167),Z=o(74526),re=o(51235),K=o(14725),Me=o(45286),Oe=o(74337),ie=o(60177),ge=o(95006),ye=o(49090),rt=o(19493),Ft=o(23176),Bt=o(58728),Ve=o(18456),mt=o(84046),Pe=o(43574),Je=o(15539),ke=o(83921),He=o(85019),ot=o(97849),Ct=o(70762),Ot=o(70434);function kt(_){return function(y){return 0===_?(0,re.I)():y.lift(new Qe(_))}}class Qe{constructor(S){if(this.total=S,this.total<0)throw new Ot.k}call(S,y){return y.subscribe(new yt(S,this.total))}}class yt extends Ct.v{constructor(S,y){super(S),this.total=y,this.ring=new Array,this.count=0}_next(S){const y=this.ring,T=this.total,Y=this.count++;y.length<T?y.push(S):y[Y%T]=S}_complete(){const S=this.destination;let y=this.count;if(y>0){const T=this.count>=this.total?this.total:this.count,Y=this.ring;for(let pe=0;pe<T;pe++){const $e=y++%T;S.next(Y[$e])}}S.complete()}}var ce=o(63314),Ne=o(55241),Rt=o(98979),Yt=o(77312),En=o(13110),In=o(7605),Gt=o(56201),Un=o(345);const Zt="primary",$n=Symbol("RouteTitle");class Wn{constructor(S){this.params=S||{}}has(S){return Object.prototype.hasOwnProperty.call(this.params,S)}get(S){if(this.has(S)){const y=this.params[S];return Array.isArray(y)?y[0]:y}return null}getAll(S){if(this.has(S)){const y=this.params[S];return Array.isArray(y)?y:[y]}return[]}get keys(){return Object.keys(this.params)}}function Bn(_){return new Wn(_)}function pn(_,S,y){const T=y.path.split("/");if(T.length>_.length||"full"===y.pathMatch&&(S.hasChildren()||T.length<_.length))return null;const Y={};for(let pe=0;pe<T.length;pe++){const $e=T[pe],Nt=_[pe];if($e.startsWith(":"))Y[$e.substring(1)]=Nt;else if($e!==Nt.path)return null}return{consumed:_.slice(0,T.length),posParams:Y}}function Pn(_,S){const y=_?ui(_):void 0,T=S?ui(S):void 0;if(!y||!T||y.length!=T.length)return!1;let Y;for(let pe=0;pe<y.length;pe++)if(Y=y[pe],!xn(_[Y],S[Y]))return!1;return!0}function ui(_){return[...Object.keys(_),...Object.getOwnPropertySymbols(_)]}function xn(_,S){if(Array.isArray(_)&&Array.isArray(S)){if(_.length!==S.length)return!1;const y=[..._].sort(),T=[...S].sort();return y.every((Y,pe)=>T[pe]===Y)}return _===S}function sn(_){return _.length>0?_[_.length-1]:null}function pt(_){return(0,x.A)(_)?_:(0,c.jNT)(_)?(0,I.H)(Promise.resolve(_)):(0,l.of)(_)}
1const lt={exact:function We(_,S,y){if(!_n(_.segments,S.segments)||!un(_.segments,S.segments,y)||_.numberOfChildren!==S.numberOfChildren)return!1;for(const T in S.children)if(!_.children[T]||!We(_.children[T],S.children[T],y))return!1;return!0},subset:ft},ze={exact:function Re(_,S){return Pn(_,S)},subset:function ct(_,S){return Object.keys(S).length<=Object.keys(_).length&&Object.keys(S).every(y=>xn(_[y],S[y]))},ignored:()=>!0};function ae(_,S,y){return lt[y.paths](_.root,S.root,y.matrixParams)&&ze[y.queryParams](_.queryParams,S.queryParams)&&!("exact"===y.fragment&&_.fragment!==S.fragment)}function ft(_,S,y){return Tt(_,S,S.segments,y)}function Tt(_,S,y,T){if(_.segments.length>y.length){const Y=_.segments.slice(0,y.length);return!(!_n(Y,y)||S.hasChildren()||!un(Y,y,T))}if(_.segments.length===y.length){if(!_n(_.segments,y)||!un(_.segments,y,T))return!1;for(const Y in S.children)if(!_.children[Y]||!ft(_.children[Y],S.children[Y],T))return!1;return!0}{const Y=y.slice(0,_.segments.length),pe=y.slice(_.segments.length);return!!(_n(_.segments,Y)&&un(_.segments,Y,T)&&_.children[Zt])&&Tt(_.children[Zt],S,pe,T)}}function un(_,S,y){return S.every((T,Y)=>ze[y](_[Y].parameters,T.parameters))}class Dn{constructor(S=new rn([],{}),y={},T=null){this.root=S,this.queryParams=y,this.fragment=T}get queryParamMap(){return this._queryParamMap??=Bn(this.queryParams),this._queryParamMap}toString(){return q.serialize(this)}}class rn{constructor(S,y){this.segments=S,this.children=y,this.parent=null,Object.values(y).forEac
1h(T=>T.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ce(this)}}class vn{constructor(S,y){this.path=S,this.parameters=y}get parameterMap(){return this._parameterMap??=Bn(this.parameters),this._parameterMap}toString(){return De(this)}}function _n(_,S){return _.length===S.length&&_.every((y,T)=>y.path===S[T].path)}let me=(()=>{class _{static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:()=>new se,providedIn:"root"})}return _})();class se{parse(S){const y=new U(S);return new Dn(y.parseRootSegment(),y.parseQueryParams(),y.parseFragment())}serialize(S){const y=`/${dt(S.root,!0)}`,T=function Mt(_){const S=Object.entries(_).map(([y,T])=>Array.isArray(T)?T.map(Y=>`${Ht(y)}=${Ht(Y)}`).join("&"):`${Ht(y)}=${Ht(T)}`).filter(y=>y);return S.length?`?${S.join("&")}`:""}(S.queryParams);return`${y}${T}${"string"==typeof S.fragment?`#${function at(_){return encodeURI(_)}(S.fragment)}`:""}`}}const q=new se;function Ce(_){return _.segments.map(S=>De(S)).join("/")}function dt(_,S){if(!_.hasChildren())return Ce(_);if(S){const y=_.children[Zt]?dt(_.children[Zt],!1):"",T=[];return Object.entries(_.children).forEach(([Y,pe])=>{Y!==Zt&&T.push(`${Y}:${dt(pe,!1)}`)}),T.length>0?`${y}(${T.join("//")})`:y}{const y=function he(_,S){let y=[];return Object.entries(_.children).forEach(([T,Y])=>{T===Zt&&(y=y.concat(S(Y,T)))}),Object.entries(_.children).forEach(([T,Y])=>{T!==Zt&&(y=y.concat(S(Y,T)))}),y}(_,(T,Y)=>Y===Zt?[dt(_.children[Zt],!1)]:[`${Y}:${dt(T,!1)}`]);return 1===Object.keys(_.children).length&&null!=_.children[Zt]?`${Ce(_)}/${y[0]}`:`${Ce(_)}/(${y.join("//")})`}}function Ze(_){return encodeURIComponent(_).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ht(_){return Ze(_).replace(/%3B/gi,";")}function Vt(_){return Ze(_).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _e(_){return decodeURIComponent(_)}function Ke(_){return _e(_.replace(/\+/g,"%20"))}function De(_){return`${Vt(_.path)}${function Ue(_){return Object.entries(_).map(([S,y])=>`;${Vt(S)}=${Vt(y)}`).join("")}(_.parameters)}`}const Qt=/^[^\/()?;#]+/;function nn(_){const S=_.match(Qt);return S?S[0]:""}const bt=/^[^\/()?;=#]+/,ee=/^[^=?&#]+/,k=/^[^&#]+/;class U{constructor(S){this.url=S,this.remaining=S}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new rn([],{}):new rn([],this.parseChildren())}parseQueryParams(){const S={};if(this.consumeOptional("?"))do{this.parseQueryParam(S)}while(this.consumeOptional("&"));return S}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const S=[];for(this.peekStartsWith("(")||S.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),S.push(this.parseSegment());let y={};this.peekStartsWith("/(")&&(this.capture("/"),y=this.parseParens(!0));let T={};return this.peekStartsWith("(")&&(T=this.parseParens(!1)),(S.length>0||Object.keys(y).length>0)&&(T[Zt]=new rn(S,y)),T}parseSegment(){const S=nn(this.remaining);if(""===S&&this.peekStartsWith(";"))throw new c.wOt(4009,!1);return this.capture(S),new vn(_e(S),this.parseMatrixParams())}parseMatrixParams(){const S={};for(;this.consumeOptional(";");)this.parseParam(S);return S}parseParam(S){const y=function xe(_){const S=_.match(bt);return S?S[0]:""}(this.remaining);if(!y)return;this.capture(y);let T="";if(this.consumeOptional("=")){const Y=nn(this.remaining);Y&&(T=Y,this.capture(T))}S[_e(y)]=_e(T)}parseQueryParam(S){const y=function H(_){const S=_.match(ee);return S?S[0]:""}(this.remaining);if(!y)return;this.capture(y);let T="";if(this.consumeOptional("=")){const $e=function z(_){const S=_.match(k);return S?S[0]:""}(this.remaining);$e&&(T=$e,this.capture(T))}const Y=Ke(y),pe=Ke(T);if(S.hasOwnProperty(Y)){let $e=S[Y];Array.isArray($e)||($e=[$e],S[Y]=$e),$e.push(pe)}else S[Y]=pe}parseParens(S){const y={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const T=nn(this.remaining),Y=this.remaining[T.length];if("/"!==Y&&")"!==Y&&";"!==Y)throw new c.wOt(4010,!1);let pe;T.indexOf(":")>-1?(pe=T.slice(0,T.indexOf(":")),this.capture(pe),this.capture(":")):S&&(pe=Zt);const $e=this.parseChildren();y[pe]=1===Object.keys($e).length?$e[Zt]:new rn([],$e),this.consumeOptional("//")}return y}peekStartsWith(S){return this.remaining.startsWith(S)}consumeOptional(S){return!!this.peekStartsWith(S)&&(this.remaining=this.remaining.substring(S.length),!0)}capture(S){if(!this.consumeOptional(S))throw new c.wOt(4011,!1)}}function J(_){return _.segments.length>0?new rn([],{[Zt]:_}):_}function Q(_){const S={};for(const[T,Y]of Object.entries(_.children)){const pe=Q(Y);
1if(T===Zt&&0===pe.segments.length&&pe.hasChildren())for(const[$e,Nt]of Object.entries(pe.children))S[$e]=Nt;else(pe.segments.length>0||pe.hasChildren())&&(S[T]=pe)}return function de(_){if(1===_.numberOfChildren&&_.children[Zt]){const S=_.children[Zt];return new rn(_.segments.concat(S.segments),S.children)}return _}(new rn(_.segments,S))}function Le(_){return _ instanceof Dn}function jt(_){let S;const Y=J(function y(pe){const $e={};for(const St of pe.children){const Cn=y(St);$e[St.outlet]=Cn}const Nt=new rn(pe.url,$e);return pe===_&&(S=Nt),Nt}(_.root));return S??Y}function cn(_,S,y,T){let Y=_;for(;Y.parent;)Y=Y.parent;if(0===S.length)return Oi(Y,Y,Y,y,T);const pe=function Ri(_){if("string"==typeof _[0]&&1===_.length&&"/"===_[0])return new fn(!0,0,_);let S=0,y=!1;const T=_.reduce((Y,pe,$e)=>{if("object"==typeof pe&&null!=pe){if(pe.outlets){const Nt={};return Object.entries(pe.outlets).forEach(([St,Cn])=>{Nt[St]="string"==typeof Cn?Cn.split("/"):Cn}),[...Y,{outlets:Nt}]}if(pe.segmentPath)return[...Y,pe.segmentPath]}return"string"!=typeof pe?[...Y,pe]:0===$e?(pe.split("/").forEach((Nt,St)=>{0==St&&"."===Nt||(0==St&&""===Nt?y=!0:".."===Nt?S++:""!=Nt&&Y.push(Nt))}),Y):[...Y,pe]},[]);return new fn(y,S,T)}(S);if(pe.toRoot())return Oi(Y,Y,new rn([],{}),y,T);const $e=function Bi(_,S,y){if(_.isAbsolute)return new An(S,!0,0);if(!y)return new An(S,!1,NaN);if(null===y.parent)return new An(y,!0,0);const T=kn(_.commands[0])?0:1;return function Wi(_,S,y){let T=_,Y=S,pe=y;for(;pe>Y;){if(pe-=Y,T=T.parent,!T)throw new c.wOt(4005,!1);Y=T.segments.length}return new An(T,!1,Y-pe)}(y,y.segments.length-1+T,_.numberOfDoubleDots)}(pe,Y,_),Nt=$e.processChildren?Ge($e.segmentGroup,$e.index,pe.commands):Xe($e.segmentGroup,$e.index,pe.commands);return Oi(Y,$e.segmentGroup,Nt,y,T)}function kn(_){return"object"==typeof _&&null!=_&&!_.outlets&&!_.segmentPath}function hn(_){return"object"==typeof _&&null!=_&&_.outlets}function Oi(_,S,y,T,Y){let $e,pe={};T&&Object.entries(T).forEach(([St,Cn])=>{pe[St]=Array.isArray(Cn)?Cn.map(_i=>`${_i}`):`${Cn}`}),$e=_===S?y:mi(_,S,y);const Nt=J(Q($e));return new Dn(Nt,pe,Y)}function mi(_,S,y){const T={};return Object.entries(_.children).forEach(([Y,pe])=>{T[Y]=pe===S?y:mi(pe,S,y)}),new rn(_.segments,T)}class fn{constructor(S,y,T){if(this.isAbsolute=S,this.numberOfDoubleDots=y,this.commands=T,S&&T.length>0&&kn(T[0]))throw new c.wOt(4003,!1);const Y=T.find(hn);if(Y&&Y!==sn(T))throw new c.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class An{constructor(S,y,T){this.segmentGroup=S,this.processChildren=y,this.index=T}}function Xe(_,S,y){if(_??=new rn([],{}),0===_.segments.length&&_.hasChildren())return Ge(_,S,y);const T=function At(_,S,y){let T=0,Y=S;const pe={match:!1,pathIndex:0,commandIndex:0};for(;Y<_.segments.length;){if(T>=y.length)return pe;const $e=_.segments[Y],Nt=y[T];if(hn(Nt))break;const St=`${Nt}`,Cn=T<y.length-1?y[T+1]:null;if(Y>0&&void 0===St)break;if(St&&Cn&&"object"==typeof Cn&&void 0===Cn.outlets){if(!jn(St,Cn,$e))return pe;T+=2}else{if(!jn(St,{},$e))return pe;T++}Y++}return{match:!0,pathIndex:Y,commandIndex:T}}(_,S,y),Y=y.slice(T.commandIndex);if(T.match&&T.pathIndex<_.segments.length){const pe=new rn(_.segments.slice(0,T.pathIndex),{});return pe.children[Zt]=new rn(_.segments.slice(T.pathIndex),_.children),Ge(pe,0,Y)}return T.match&&0===Y.length?new rn(_.segments,{}):T.match&&!_.hasChildren()?xt(_,S,y):T.match?Ge(_,0,Y):xt(_,S,y)}function Ge(_,S,y){if(0===y.length)return new rn(_.segments,{});{const T=function Se(_){return hn(_[0])?_[0].outlets:{[Zt]:_}}(y),Y={};if(Object.keys(T).some(pe=>pe!==Zt)&&_.children[Zt]&&1===_.numberOfChildren&&0===_.children[Zt].segments.length){const pe=Ge(_.children[Zt],S,y);return new rn(_.segments,pe.children)}return Object.entries(T).forEach(([pe,$e])=>{"string"==typeof $e&&($e=[$e]),null!==$e&&(Y[pe]=Xe(_.children[pe],S,$e))}),Object.entries(_.children).forEach(([pe,$e])=>{void 0===T[pe]&&(Y[pe]=$e)}),new rn(_.segments,Y)}}function xt(_,S,y){const T=_.segments.slice(0,S);let Y=0;for(;Y<y.length;){const pe=y[Y];if(hn(pe)){const St=qt(pe.outlets);return new rn(T,St)}if(0===Y&&kn(y[0])){T.push(new vn(_.segments[S].path,en(y[0]))),Y++;continue}const $e=hn(pe)?pe.outlets[Zt]:`${pe}`,Nt=Y<y.length-1?y[Y+1]:null;$e&&Nt&&kn(Nt)?(T.push(new vn($e,en(Nt))),Y+=2):(T.push(new vn($e,{})),Y++)}return new rn(T,{})}function qt(_){const S={};return Object.entries(_).forEach(([y,T])=>{"string"==typeof T&&(T=[T]),null!==T&&(S[y]=xt(new rn([],{}),0,T))}),S}function en(_){const S={};return Object.entries(_).forEach(([y,T])=>S[y]=`${T}`),S}function jn(_,S,y){return _==y.path&&Pn(S,y.parameters)}const wn="imperative";var dn=function(_){return _[_.NavigationStart=0]="NavigationStart",_[_.NavigationEnd=1]="NavigationEnd",_[_.NavigationCancel=2]="NavigationCancel",_[_.NavigationError=3]="NavigationError",_[_.RoutesRecognized=4]="RoutesRecognized",_[_.Re
1solveStart=5]="ResolveStart",_[_.ResolveEnd=6]="ResolveEnd",_[_.GuardsCheckStart=7]="GuardsCheckStart",_[_.GuardsCheckEnd=8]="GuardsCheckEnd",_[_.RouteConfigLoadStart=9]="RouteConfigLoadStart",_[_.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",_[_.ChildActivationStart=11]="ChildActivationStart",_[_.ChildActivationEnd=12]="ChildActivationEnd",_[_.ActivationStart=13]="ActivationStart",_[_.ActivationEnd=14]="ActivationEnd",_[_.Scroll=15]="Scroll",_[_.NavigationSkipped=16]="NavigationSkipped",_}(dn||{});class ei{constructor(S,y){this.id=S,this.url=y}}class Tn extends ei{constructor(S,y,T="imperative",Y=null){super(S,y),this.type=dn.NavigationStart,this.navigationTrigger=T,this.restoredState=Y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Kn extends ei{constructor(S,y,T){super(S,y),this.urlAfterRedirects=T,this.type=dn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ri=function(_){return _[_.Redirect=0]="Redirect",_[_.SupersededByNewNavigation=1]="SupersededByNewNavigation",_[_.NoDataFromResolver=2]="NoDataFromResolver",_[_.GuardRejected=3]="GuardRejected",_}(ri||{}),Di=function(_){return _[_.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",_[_.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",_}(Di||{});class Yn extends ei{constructor(S,y,T,Y){super(S,y),this.reason=T,this.code=Y,this.type=dn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Zn extends ei{constructor(S,y,T,Y){super(S,y),this.reason=T,this.code=Y,this.type=dn.NavigationSkipped}}class hi extends ei{constructor(S,y,T,Y){super(S,y),this.error=T,this.target=Y,this.type=dn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class tr extends ei{constructor(S,y,T,Y){super(S,y),this.urlAfterRedirects=T,this.state=Y,this.type=dn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mi extends ei{constructor(S,y,T,Y){super(S,y),this.urlAfterRedirects=T,this.state=Y,this.type=dn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pi extends ei{constructor(S,y,T,Y,pe){super(S,y),this.urlAfterRedirects=T,this.state=Y,this.shouldActivate=pe,this.type=dn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Li extends ei{constructor(S,y,T,Y){super(S,y),this.urlAfterRedirects=T,this.state=Y,this.type=dn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yi extends ei{constructor(S,y,T,Y){super(S,y),this.urlAfterRedirects=T,this.state=Y,this.type=dn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn{constructor(S){this.route=S,this.type=dn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class le{constructor(S){this.route=S,this.type=dn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class L{constructor(S){this.snapshot=S,this.type=dn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fe{constructor(S){this.snapshot=S,this.type=dn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Te{constructor(S){this.snapshot=S,this.type=dn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class je{constructor(S){this.snapshot=S,this.type=dn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gt{constructor(S,y,T){this.routerEvent=S,this.position=y,this.anchor=T,this.type=dn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zt{}class tn{constructor(S){this.url=S}}class Ae{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ut,this.attachRef=null}}let Ut=(()=>{class _{constructor(){this.contexts=new Map}onChildOutletCreated(y,T){const Y=this.getOrCreateContext(y);Y.outlet=T,this.contexts.set(y,Y)}onChildOutletDestroyed(y){const T=this.getContext(y);T&&(T.outlet=null,T.attachRef=null)}onOutletDeactivated(){const y=this.contexts;return this.contexts=new Map,y}onOutletReAttached(y){this.contexts=y}getOrCreateContext(y){let T=this.getContext(y);return T||(T=new Ae,this.contexts.set(y,T)),T}getContext(y){return this.contexts.get(y)||null}static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();class v{constructor(S){this._root=S}get root(){return this._root.value}
1parent(S){const y=this.pathFromRoot(S);return y.length>1?y[y.length-2]:null}children(S){const y=$(S,this._root);return y?y.children.map(T=>T.value):[]}firstChild(S){const y=$(S,this._root);return y&&y.children.length>0?y.children[0].value:null}siblings(S){const y=F(S,this._root);return y.length<2?[]:y[y.length-2].children.map(Y=>Y.value).filter(Y=>Y!==S)}pathFromRoot(S){return F(S,this._root).map(y=>y.value)}}function $(_,S){if(_===S.value)return S;for(const y of S.children){const T=$(_,y);if(T)return T}return null}function F(_,S){if(_===S.value)return[S];for(const y of S.children){const T=F(_,y);if(T.length)return T.unshift(S),T}return[]}class we{constructor(S,y){this.value=S,this.children=y}toString(){return`TreeNode(${this.value})`}}function st(_){const S={};return _&&_.children.forEach(y=>S[y.value.outlet]=y),S}class Nn extends v{constructor(S,y){super(S),this.snapshot=y,Br(this,S)}toString(){return this.snapshot.toString()}}function mr(_){const S=function Zi(_){const pe=new rr([],{},{},"",{},Zt,_,null,{});return new Js("",new we(pe,[]))}(_),y=new u.t([new vn("",{})]),T=new u.t({}),Y=new u.t({}),pe=new u.t({}),$e=new u.t(""),Nt=new ir(y,T,pe,$e,Y,Zt,_,S.root);return Nt.snapshot=S.root,new Nn(new we(Nt,[]),S)}class ir{constructor(S,y,T,Y,pe,$e,Nt,St){this.urlSubject=S,this.paramsSubject=y,this.queryParamsSubject=T,this.fragmentSubject=Y,this.dataSubject=pe,this.outlet=$e,this.component=Nt,this._futureSnapshot=St,this.title=this.dataSubject?.pipe((0,ge.T)(Cn=>Cn[$n]))??(0,l.of)(void 0),this.url=S,this.params=y,this.queryParams=T,this.fragment=Y,this.data=pe}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ge.T)(S=>Bn(S))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ge.T)(S=>Bn(S))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zi(_,S,y="emptyOnly"){let T;const{routeConfig:Y}=_;return T=null===S||"always"!==y&&""!==Y?.path&&(S.component||S.routeConfig?.loadComponent)?{params:{..._.params},data:{..._.data},resolve:{..._.data,..._._resolvedData??{}}}:{params:{...S.params,..._.params},data:{...S.data,..._.data},resolve:{..._.data,...S.data,...Y?.data,..._._resolvedData}},Y&&Fn(Y)&&(T.resolve[$n]=Y.title),T}class rr{get title(){return this.data?.[$n]}constructor(S,y,T,Y,pe,$e,Nt,St,Cn){this.url=S,this.params=y,this.queryParams=T,this.fragment=Y,this.data=pe,this.outlet=$e,this.component=Nt,this.routeConfig=St,this._resolve=Cn}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??=Bn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Bn(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(T=>T.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Js extends v{constructor(S,y){super(y),this.url=S,Br(this,y)}toString(){return Mo(this._root)}}function Br(_,S){S.value._routerState=_,S.children.forEach(y=>Br(_,y))}function Mo(_){const S=_.children.length>0?` { ${_.children.map(Mo).join(", ")} } `:"";return`${_.value}${S}`}function Ki(_){if(_.snapshot){const S=_.snapshot,y=_._futureSnapshot;_.snapshot=y,Pn(S.queryParams,y.queryParams)||_.queryParamsSubject.next(y.queryParams),S.fragment!==y.fragment&&_.fragmentSubject.next(y.fragment),Pn(S.params,y.params)||_.paramsSubject.next(y.params),function Sn(_,S){if(_.length!==S.length)return!1;for(let y=0;y<_.length;++y)if(!Pn(_[y],S[y]))return!1;return!0}(S.url,y.url)||_.urlSubject.next(y.url),Pn(S.data,y.data)||_.dataSubject.next(y.data)}else _.snapshot=_._futureSnapshot,_.dataSubject.next(_._futureSnapshot.data)}function fs(_,S){const y=Pn(_.params,S.params)&&function Pt(_,S){return _n(_,S)&&_.every((y,T)=>Pn(y.parameters,S[T].parameters))}(_.url,S.url);return y&&!(!_.parent!=!S.parent)&&(!_.parent||fs(_.parent,S.parent))}function Fn(_){return"string"==typeof _.title||null===_.title}let Ar=(()=>{class _{constructor(){this.activated=null,this._activatedRoute=null,this.name=Zt,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)(Ut),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)(Cr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(y){if(y.name){const{firstChange:T,previousValue:Y}=y.name;if(T)return;this.isTrackedInParentContexts(Y)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Y)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(y){return this.parentContexts.getContext(y)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const y=this.parentContexts.getContext(this.name);y?.route&&(y.attachRef?this.attach(y.attachRef,y.route):this.activateWith(y.route,y.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 y=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(y.instance),y}attach(y,T){this.activated=y,this._activatedRoute=T,this.location.insert(y.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(y.instance)}deactivate(){if(this.activated){const y=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(y)}}activateWith(y,T){if(this.isActivated)throw new c.wOt(4013,!1);this._activatedRoute=y;const Y=this.location,$e=y.snapshot.component,Nt=this.parentContexts.getOrCreateContext(this.name).children,St=new Or(y,Nt,Y.injector);this.activated=Y.createComponent($e,{index:Y.length,injector:St,environmentInjector:T??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275dir=c.FsC({type:_,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.OA$]})}return _})();class Or{__ngOutletInjector(S){return new Or(this.route,this.childContexts,S)}constructor(S,y,T){this.route=S,this.childContexts=y,this.parent=T}get(S,y){return S===ir?this.route:S===Ut?this.childContexts:this.parent.get(S,y)}}const Cr=new c.nKC("");let jr=(()=>{class _{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(y){this.unsubscribeFromRouteData(y),this.subscribeToRouteData(y)}unsubscribeFromRouteData(y){this.outletDataSubscriptions.get(y)?.unsubscribe(),this.outletDataSubscriptions.delete(y)}subscribeToRouteData(y){const{activatedRoute:T}=y,Y=(0,g.zV)([T.queryParams,T.params,T.data]).pipe((0,ye.n)(([pe,$e,Nt],St)=>(Nt={...pe,...$e,...Nt},0===St?(0,l.of)(Nt):Promise.resolve(Nt)))).subscribe(pe=>{if(!y.isActivated||!y.activatedComponentRef||y.activatedRoute!==T||null===T.component)return void this.unsubscribeFromRouteData(y);
1const $e=(0,c.HJs)(T.component);if($e)for(const{templateName:Nt}of $e.inputs)y.activatedComponentRef.setInput(Nt,pe[Nt]);else this.unsubscribeFromRouteData(y)});this.outletDataSubscriptions.set(y,Y)}static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac})}return _})();function ss(_,S,y){if(y&&_.shouldReuseRoute(S.value,y.value.snapshot)){const T=y.value;T._futureSnapshot=S.value;const Y=function qs(_,S,y){return S.children.map(T=>{for(const Y of y.children)if(_.shouldReuseRoute(T.value,Y.value.snapshot))return ss(_,T,Y);return ss(_,T)})}(_,S,y);return new we(T,Y)}{if(_.shouldAttach(S.value)){const pe=_.retrieve(S.value);if(null!==pe){const $e=pe.route;return $e.value._futureSnapshot=S.value,$e.children=S.children.map(Nt=>ss(_,Nt)),$e}}const T=function Er(_){return new ir(new u.t(_.url),new u.t(_.params),new u.t(_.queryParams),new u.t(_.fragment),new u.t(_.data),_.outlet,_.component,_)}(S.value),Y=S.children.map(pe=>ss(_,pe));return new we(T,Y)}}const ys="ngNavigationCancelingError";function Hr(_,S){const{redirectTo:y,navigationBehaviorOptions:T}=Le(S)?{redirectTo:S,navigationBehaviorOptions:void 0}:S,Y=ks(!1,ri.Redirect);return Y.url=y,Y.navigationBehaviorOptions=T,Y}function ks(_,S){const y=new Error(`NavigationCancelingError: ${_||""}`);return y[ys]=!0,y.cancellationCode=S,y}function Fs(_){return!!_&&_[ys]}let $i=(()=>{class _{static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275cmp=c.VBU({type:_,selectors:[["ng-component"]],standalone:!0,features:[c.aNF],decls:1,vars:0,template:function(T,Y){1&T&&c.nrm(0,"router-outlet")},dependencies:[Ar],encapsulation:2})}return _})();function as(_){const S=_.children&&_.children.map(as),y=S?{..._,children:S}:{..._};
1return!y.component&&!y.loadComponent&&(S||y.loadChildren)&&y.outlet&&y.outlet!==Zt&&(y.component=$i),y}function sr(_){return _.outlet||Zt}function Us(_){if(!_)return null;if(_.routeConfig?._injector)return _.routeConfig._injector;for(let S=_.parent;S;S=S.parent){const y=S.routeConfig;if(y?._loadedInjector)return y._loadedInjector;if(y?._injector)return y._injector}return null}class bs{constructor(S,y,T,Y,pe){this.routeReuseStrategy=S,this.futureState=y,this.currState=T,this.forwardEvent=Y,this.inputBindingEnabled=pe}activate(S){const y=this.futureState._root,T=this.currState?this.currState._root:null;this.deactivateChildRoutes(y,T,S),Ki(this.futureState.root),this.activateChildRoutes(y,T,S)}deactivateChildRoutes(S,y,T){const Y=st(y);S.children.forEach(pe=>{const $e=pe.value.outlet;this.deactivateRoutes(pe,Y[$e],T),delete Y[$e]}),Object.values(Y).forEach(pe=>{this.deactivateRouteAndItsChildren(pe,T)})}deactivateRoutes(S,y,T){const Y=S.value,pe=y?y.value:null;if(Y===pe)if(Y.component){const $e=T.getContext(Y.outlet);$e&&this.deactivateChildRoutes(S,y,$e.children)}else this.deactivateChildRoutes(S,y,T);else pe&&this.deactivateRouteAndItsChildren(y,T)}deactivateRouteAndItsChildren(S,y){S.value.component&&this.routeReuseStrategy.shouldDetach(S.value.snapshot)?this.detachAndStoreRouteSubtree(S,y):this.deactivateRouteAndOutlet(S,y)}detachAndStoreRouteSubtree(S,y){const T=y.getContext(S.value.outlet),Y=T&&S.value.component?T.children:y,pe=st(S);for(const $e of Object.values(pe))this.deactivateRouteAndItsChildren($e,Y);if(T&&T.outlet){const $e=T.outlet.detach(),Nt=T.children.onOutletDeactivated();this.routeReuseStrategy.store(S.value.snapshot,{componentRef:$e,route:S,contexts:Nt})}}deactivateRouteAndOutlet(S,y){const T=y.getContext(S.value.outlet),Y=T&&S.value.component?T.children:y,pe=st(S);for(const $e of Object.values(pe))this.deactivateRouteAndItsChildren($e,Y);T&&(T.outlet&&(T.outlet.deactivate(),T.children.onOutletDeactivated()),T.attachRef=null,T.route=null)}activateChildRoutes(S,y,T){const Y=st(y);S.children.forEach(pe=>{this.activateRoutes(pe,Y[pe.value.outlet],T),this.forwardEvent(new je(pe.value.snapshot))}),S.children.length&&this.forwardEvent(new fe(S.value.snapshot))}activateRoutes(S,y,T){const Y=S.value,pe=y?y.value:null;if(Ki(Y),Y===pe)if(Y.component){const $e=T.getOrCreateContext(Y.outlet);this.activateChildRoutes(S,y,$e.children)}else this.activateChildRoutes(S,y,T);else if(Y.component){const $e=T.getOrCreateContext(Y.outlet);if(this.routeReuseStrategy.shouldAttach(Y.snapshot)){const Nt=this.routeReuseStrategy.retrieve(Y.snapshot);this.routeReuseStrategy.store(Y.snapshot,null),$e.children.onOutletReAttached(Nt.contexts),$e.attachRef=Nt.componentRef,$e.route=Nt.route.value,$e.outlet&&$e.outlet.attach(Nt.componentRef,Nt.route.value),Ki(Nt.route.value),this.activateChildRoutes(S,null,$e.children)}else{const Nt=Us(Y.snapshot);$e.attachRef=null,$e.route=Y,$e.injector=Nt,$e.outlet&&$e.outlet.activateWith(Y,$e.injector),this.activateChildRoutes(S,null,$e.children)}}else this.activateChildRoutes(S,null,T)}}class So{constructor(S){this.path=S,this.route=this.path[this.path.length-1]}}class or{constructor(S,y){this.component=S,this.route=y}}function gs(_,S,y){const T=_._root;return Yr(T,S?S._root:null,y,[T.value])}function xr(_,S){const y=Symbol(),T=S.get(_,y);return T===y?"function"!=typeof _||(0,c.LfX)(_)?S.get(_):_:T}function Yr(_,S,y,T,Y={canDeactivateChecks:[],canActivateChecks:[]}){const pe=st(S);return _.children.forEach($e=>{(function Fo(_,S,y,T,Y={canDeactivateChecks:[],canActivateChecks:[]}){const pe=_.value,$e=S?S.value:null,Nt=y?y.getContext(_.value.outlet):null;if($e&&pe.routeConfig===$e.routeConfig){const St=function po(_,S,y){if("function"==typeof y)return y(_,S);switch(y){case"pathParamsChange":return!_n(_.url,S.url);case"pathParamsOrQueryParamsChange":return!_n(_.url,S.url)||!Pn(_.queryParams,S.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fs(_,S)||!Pn(_.queryParams,S.queryParams);default:return!fs(_,S)}}($e,pe,pe.routeConfig.runGuardsAndResolvers);St?Y.canActivateChecks.push(new So(T)):(pe.data=$e.data,pe._resolvedData=$e._resolvedData),Yr(_,S,pe.component?Nt?Nt.children:null:y,T,Y),St&&Nt&&Nt.outlet&&Nt.outlet.isActivated&&Y.canDeactivateChecks.push(new or(Nt.outlet.component,$e))}else $e&&G(S,Nt,Y),Y.canActivateChecks.push(new So(T)),Yr(_,null,pe.component?Nt?Nt.children:null:y,T,Y)})($e,pe[$e.value.outlet],y,T.concat([$e.value]),Y),delete pe[$e.value.outlet]}),Object.entries(pe).forEach(([$e,Nt])=>G(Nt,y.getContext($e),Y)),Y}function G(_,S,y){const T=st(_),Y=_.value;Object.entries(T).forEach(([pe,$e])=>{G($e,Y.component?S?S.children.getContext(pe):null:S,y)}),y.canDeactivateChecks.push(new or(Y.component&&S&&S.outlet&&S.outlet.isActivated?S.outlet.component:null,Y))}function te(_){return"function"==typeof _}function ls(_){return _ instanceof C.G||"EmptyError"===_?.name}const gr=Symbol("INITIAL_VALUE");function xs(){return(0,ye.n)(_=>(0,g.zV)(_.map(S=>S.pipe((0,rt.s)(1),(0,Ft.Z)(gr)))).pipe((0,ge.T)(S=>{for(const y of S)if(!0!==y){if(y===gr)return gr;if(!1===y||y instanceof Dn)return y}return!0}),(0,Bt.p)(S=>S!==gr),(0,rt.s)(1)))}function Nr(_){return(0,V.F)((0,Je.M)(S=>{if(Le(S))throw Hr(0,S)}),(0,ge.T)(S=>!0===S))}class Qr{constructor(S){this.segmentGroup=S||null}}
1class Ms extends Error{constructor(S){super(),this.urlTree=S}}function kr(_){return(0,Z.$)(new Qr(_))}class Qn{constructor(S,y){this.urlSerializer=S,this.urlTree=y}lineralizeSegments(S,y){let T=[],Y=y.root;for(;;){if(T=T.concat(Y.segments),0===Y.numberOfChildren)return(0,l.of)(T);if(Y.numberOfChildren>1||!Y.children[Zt])return(0,Z.$)(new c.wOt(4e3,!1));Y=Y.children[Zt]}}applyRedirectCommands(S,y,T){const Y=this.applyRedirectCreateUrlTree(y,this.urlSerializer.parse(y),S,T);if(y.startsWith("/"))throw new Ms(Y);return Y}applyRedirectCreateUrlTree(S,y,T,Y){const pe=this.createSegmentGroup(S,y.root,T,Y);return new Dn(pe,this.createQueryParams(y.queryParams,this.urlTree.queryParams),y.fragment)}createQueryParams(S,y){const T={};return Object.entries(S).forEach(([Y,pe])=>{if("string"==typeof pe&&pe.startsWith(":")){const Nt=pe.substring(1);T[Y]=y[Nt]}else T[Y]=pe}),T}createSegmentGroup(S,y,T,Y){const pe=this.createSegments(S,y.segments,T,Y);let $e={};return Object.entries(y.children).forEach(([Nt,St])=>{$e[Nt]=this.createSegmentGroup(S,St,T,Y)}),new rn(pe,$e)}createSegments(S,y,T,Y){return y.map(pe=>pe.path.startsWith(":")?this.findPosParam(S,pe,Y):this.findOrReturn(pe,T))}findPosParam(S,y,T){const Y=T[y.path.substring(1)];if(!Y)throw new c.wOt(4001,!1);return Y}findOrReturn(S,y){let T=0;for(const Y of y){if(Y.path===S.path)return y.splice(T),Y;T++}return S}}const Ni={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Wr(_,S,y,T,Y){const pe=di(_,S,y);return pe.matched?(T=function zr(_,S){return _.providers&&!_._injector&&(_._injector=(0,c.Ol2)(_.providers,S,`Route: ${_.path}`)),_._injector??S}(S,T),function Uo(_,S,y,T){const Y=S.canMatch;if(!Y||0===Y.length)return(0,l.of)(!0);const pe=Y.map($e=>{const Nt=xr($e,_);return pt(function Pr(_){return _&&te(_.canMatch)}(Nt)?Nt.canMatch(S,y):(0,c.N4e)(_,()=>Nt(S,y)))});return(0,l.of)(pe).pipe(xs(),Nr())}(T,S,y).pipe((0,ge.T)($e=>!0===$e?pe:{...Ni}))):(0,l.of)(pe)}function di(_,S,y){if("**"===S.path)return function Ss(_){return{matched:!0,parameters:_.length>0?sn(_).parameters:{},consumedSegments:_,remainingSegments:[],positionalParamSegments:{}}}(y);if(""===S.path)return"full"===S.pathMatch&&(_.hasChildren()||y.length>0)?{...Ni}:{matched:!0,consumedSegments:[],remainingSegments:y,parameters:{},positionalParamSegments:{}};const Y=(S.matcher||pn)(y,_,S);if(!Y)return{...Ni};const pe={};Object.entries(Y.posParams??{}).forEach(([Nt,St])=>{pe[Nt]=St.path});const $e=Y.consumed.length>0?{...pe,...Y.consumed[Y.consumed.length-1].parameters}:pe;return{matched:!0,consumedSegments:Y.consumed,remainingSegments:y.slice(Y.consumed.length),parameters:$e,positionalParamSegments:Y.posParams??{}}}function Ds(_,S,y,T){return y.length>0&&function va(_,S,y){return y.some(T=>Bs(_,S,T)&&sr(T)!==Zt)}(_,y,T)?{segmentGroup:new rn(S,ta(T,new rn(y,_.children))),slicedSegments:[]}:0===y.length&&function Ei(_,S,y){return y.some(T=>Bs(_,S,T))}(_,y,T)?{segmentGroup:new rn(_.segments,to(_,y,T,_.children)),slicedSegments:y}:{segmentGroup:new rn(_.segments,_.children),slicedSegments:y}}function to(_,S,y,T){const Y={};for(const pe of y)if(Bs(_,S,pe)&&!T[sr(pe)]){const $e=new rn([],{});Y[sr(pe)]=$e}return{...T,...Y}}function ta(_,S){const y={};y[Zt]=S;for(const T of _)if(""===T.path&&sr(T)!==Zt){const Y=new rn([],{});y[sr(T)]=Y}return y}function Bs(_,S,y){return(!(_.hasChildren()||S.length>0)||"full"!==y.pathMatch)&&""===y.path}class To{}class ia{constructor(S,y,T,Y,pe,$e,Nt){this.injector=S,this.configLoader=y,this.rootComponentType=T,this.config=Y,this.urlTree=pe,this.paramsInheritanceStrategy=$e,this.urlSerializer=Nt,this.applyRedirects=new Qn(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(S){return new c.wOt(4002,`'${S.segmentGroup}'`)}recognize(){const S=Ds(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(S).pipe((0,ge.T)(y=>{const T=new rr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Zt,this.rootComponentType,null,{}),Y=new we(T,y),pe=new Js("",Y),$e=function Et(_,S,y=null,T=null){return cn(jt(_),S,y,T)}(T,[],this.urlTree.queryParams,this.urlTree.fragment);return $e.queryParams=this.urlTree.queryParams,pe.url=this.urlSerializer.serialize($e),this.inheritParamsAndData(pe._root,null),{state:pe,tree:$e}}))}match(S){return this.processSegmentGroup(this.injector,this.config,S,Zt).pipe((0,ke.W)(T=>{if(T instanceof Ms)return this.urlTree=T.urlTree,this.match(T.urlTree.root);throw T instanceof Qr?this.noMatchError(T):T}))}inheritParamsAndData(S,y){const T=S.value,Y=zi(T,y,this.paramsInheritanceStrategy);T.params=Object.freeze(Y.params),T.data=Object.freeze(Y.data),S.children.forEac
1h(pe=>this.inheritParamsAndData(pe,T))}processSegmentGroup(S,y,T,Y){return 0===T.segments.length&&T.hasChildren()?this.processChildren(S,y,T):this.processSegment(S,y,T,T.segments,Y,!0).pipe((0,ge.T)(pe=>pe instanceof we?[pe]:[]))}processChildren(S,y,T){const Y=[];for(const pe of Object.keys(T.children))"primary"===pe?Y.unshift(pe):Y.push(pe);return(0,I.H)(Y).pipe((0,Pe.H)(pe=>{const $e=T.children[pe],Nt=function Vs(_,S){const y=_.filter(T=>sr(T)===S);return y.push(..._.filter(T=>sr(T)!==S)),y}(y,pe);return this.processSegmentGroup(S,Nt,$e,pe)}),(0,He.S)((pe,$e)=>(pe.push(...$e),pe)),(0,ot.U)(null),function it(_,S){const y=arguments.length>=2;return T=>T.pipe(_?(0,Bt.p)((Y,pe)=>_(Y,pe,T)):Ne.D,kt(1),y?(0,ot.U)(S):(0,ce.v)(()=>new C.G))}(),(0,Ve.ZZ)(pe=>{if(null===pe)return kr(T);const $e=Io(pe);return function no(_){_.sort((S,y)=>S.value.outlet===Zt?-1:y.value.outlet===Zt?1:S.value.outlet.localeCompare(y.value.outlet))}($e),(0,l.of)($e)}))}processSegment(S,y,T,Y,pe,$e){return(0,I.H)(y).pipe((0,Pe.H)(Nt=>this.processSegmentAgainstRoute(Nt._injector??S,y,Nt,T,Y,pe,$e).pipe((0,ke.W)(St=>{if(St instanceof Qr)return(0,l.of)(null);throw St}))),(0,mt.$)(Nt=>!!Nt),(0,ke.W)(Nt=>{if(ls(Nt))return function Bo(_,S,y){return 0===S.length&&!_.children[y]}(T,Y,pe)?(0,l.of)(new To):kr(T);throw Nt}))}processSegmentAgainstRoute(S,y,T,Y,pe,$e,Nt){return function js(_,S,y,T){return!!(sr(_)===T||T!==Zt&&Bs(S,y,_))&&di(S,_,y).matched}(T,Y,pe,$e)?void 0===T.redirectTo?this.matchSegmentAgainstRoute(S,Y,T,pe,$e):this.allowRedirects&&Nt?this.expandSegmentAgainstRouteUsingRedirect(S,Y,y,T,pe,$e):kr(Y):kr(Y)}expandSegmentAgainstRouteUsingRedirect(S,y,T,Y,pe,$e){const{matched:Nt,consumedSegments:St,positionalParamSegments:Cn,remainingSegments:_i}=di(y,Y,pe);if(!Nt)return kr(y);Y.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const xi=this.applyRedirects.applyRedirectCommands(St,Y.redirectTo,Cn);return this.applyRedirects.lineralizeSegments(Y,xi).pipe((0,Ve.ZZ)(Tr=>this.processSegment(S,T,y,Tr.concat(_i),$e,!1)))}matchSegmentAgainstRoute(S,y,T,Y,pe){const $e=Wr(y,T,Y,S);return"**"===T.path&&(y.children={}),$e.pipe((0,ye.n)(Nt=>Nt.matched?this.getChildConfig(S=T._injector??S,T,Y).pipe((0,ye.n)(({routes:St})=>{const Cn=T._loadedInjector??S,{consumedSegments:_i,remainingSegments:xi,parameters:Tr}=Nt,ya=new rr(_i,Tr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function sa(_){return _.data||{}}(T),sr(T),T.component??T._loadedComponent??null,T,function _o(_){return _.resolve||{}}(T)),{segmentGroup:la,slicedSegments:Eo}=Ds(y,_i,xi,St);if(0===Eo.length&&la.hasChildren())return this.processChildren(Cn,St,la).pipe((0,ge.T)(lo=>null===lo?null:new we(ya,lo)));if(0===St.length&&0===Eo.length)return(0,l.of)(new we(ya,[]));const ca=sr(T)===pe;return this.processSegment(Cn,St,la,Eo,ca?Zt:pe,!0).pipe((0,ge.T)(lo=>new we(ya,lo instanceof we?[lo]:[])))})):kr(y)))}getChildConfig(S,y,T){return y.children?(0,l.of)({routes:y.children,injector:S}):y.loadChildren?void 0!==y._loadedRoutes?(0,l.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):function Zr(_,S,y,T){const Y=S.canLoad;if(void 0===Y||0===Y.length)return(0,l.of)(!0);const pe=Y.map($e=>{const Nt=xr($e,_);return pt(function ve(_){return _&&te(_.canLoad)}(Nt)?Nt.canLoad(S,y):(0,c.N4e)(_,()=>Nt(S,y)))});return(0,l.of)(pe).pipe(xs(),Nr())}(S,y,T).pipe((0,Ve.ZZ)(Y=>Y?this.configLoader.loadChildren(S,y).pipe((0,Je.M)(pe=>{y._loadedRoutes=pe.routes,y._loadedInjector=pe.injector})):function fi(_){return(0,Z.$)(ks(!1,ri.GuardRejected))}())):(0,l.of)({routes:[],injector:S})}}function ra(_){const S=_.value.routeConfig;return S&&""===S.path}function Io(_){const S=[],y=new Set;for(const T of _){if(!ra(T)){S.push(T);continue}const Y=S.find(pe=>T.value.routeConfig===pe.value.routeConfig);void 0!==Y?(Y.children.push(...T.children),y.add(Y)):S.push(T)}for(const T of y){const Y=Io(T.children);S.push(new we(T.value,Y))}return S.filter(T=>!y.has(T))}function io(_){const S=_.children.map(y=>io(y)).flat();return[_,...S]}function $s(_){return(0,ye.n)(S=>{const y=_(S);return y?(0,I.H)(y).pipe((0,ge.T)(()=>S)):(0,l.of)(S)})}let jo=(()=>{class _{buildTitle(y){let T,Y=y.root;for(;void 0!==Y;)T=this.getResolvedTitleForRoute(Y)??T,Y=Y.children.find(pe=>pe.outlet===Zt);return T}getResolvedTitleForRoute(y){return y.data[$n]}static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:()=>(0,c.WQX)(cs),providedIn:"root"})}return _})(),cs=(()=>{class _ extends jo{constructor(y){super(),this.title=y}updateTitle(y){const T=this.buildTitle(y);void 0!==T&&this.title.setTitle(T)}static#e=this.\u0275fac=function(T){return new(T||_)(c.KVO(Un.hE))};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const vs=new c.nKC("",{providedIn:"root",factory:()=>({})}),Mr=new c.nKC("");let ro=(()=>{class _{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,c.WQX)(c.Ql9)}loadComponent(y){if(this.componentLoaders.get(y))return this.componentLoaders.get(y);if(y._loadedComponent)return(0,l.of)(y._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(y);
1const T=pt(y.loadComponent()).pipe((0,ge.T)(Ts),(0,Je.M)(pe=>{this.onLoadEndListener&&this.onLoadEndListener(y),y._loadedComponent=pe}),(0,Yt.j)(()=>{this.componentLoaders.delete(y)})),Y=new K.G(T,()=>new Me.B7).pipe((0,En.B)());return this.componentLoaders.set(y,Y),Y}loadChildren(y,T){if(this.childrenLoaders.get(T))return this.childrenLoaders.get(T);if(T._loadedRoutes)return(0,l.of)({routes:T._loadedRoutes,injector:T._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(T);const pe=function bo(_,S,y,T){return pt(_.loadChildren()).pipe((0,ge.T)(Ts),(0,Ve.ZZ)(Y=>Y instanceof c.Co$||Array.isArray(Y)?(0,l.of)(Y):(0,I.H)(S.compileModuleAsync(Y))),(0,ge.T)(Y=>{T&&T(_);let pe,$e,Nt=!1;return Array.isArray(Y)?($e=Y,!0):(pe=Y.create(y).injector,$e=pe.get(Mr,[],{optional:!0,self:!0}).flat()),{routes:$e.map(as),injector:pe}}))}(T,this.compiler,y,this.onLoadEndListener).pipe((0,Yt.j)(()=>{this.childrenLoaders.delete(T)})),$e=new K.G(pe,()=>new Me.B7).pipe((0,En.B)());return this.childrenLoaders.set(T,$e),$e}static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function Ts(_){return function Ho(_){return _&&"object"==typeof _&&"default"in _}(_)?_.default:_}let Ir=(()=>{class _{static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:()=>(0,c.WQX)(zo),providedIn:"root"})}return _})(),zo=(()=>{class _{shouldProcessUrl(y){return!0}extract(y){return y}merge(y,T){return y}static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const qr=new c.nKC(""),E=new c.nKC("");function oe(_,S,y){const T=_.get(E),Y=_.get(ie.qQ);return _.get(c.SKi).runOutsideAngular(()=>{if(!Y.startViewTransition||T.skipNextTransition)return T.skipNextTransition=!1,new Promise(Cn=>setTimeout(Cn));let pe;const $e=new Promise(Cn=>{pe=Cn}),Nt=Y.startViewTransition(()=>(pe(),function N(_){return new Promise(S=>{(0,c.mal)(S,{injector:_})})}(_))),{onViewTransitionCreated:St}=T;return St&&(0,c.N4e)(_,()=>St({transition:Nt,from:S,to:y})),$e})}let X=(()=>{class _{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Me.B7,this.transitionAbortSubject=new Me.B7,this.configLoader=(0,c.WQX)(ro),this.environmentInjector=(0,c.WQX)(c.uvJ),this.urlSerializer=(0,c.WQX)(me),this.rootContexts=(0,c.WQX)(Ut),this.location=(0,c.WQX)(ie.aZ),this.inputBindingEnabled=null!==(0,c.WQX)(Cr,{optional:!0}),this.titleStrategy=(0,c.WQX)(jo),this.options=(0,c.WQX)(vs,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,c.WQX)(Ir),this.createViewTransition=(0,c.WQX)(qr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,l.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Y=>this.events.next(new le(Y)),this.configLoader.onLoadStartListener=Y=>this.events.next(new Hn(Y))}complete(){this.transitions?.complete()}handleNavigationRequest(y){const T=++this.navigationId;this.transitions?.next({...this.transitions.value,...y,id:T})}setupNavigations(y,T,Y){return this.transitions=new u.t({id:0,currentUrlTree:T,currentRawUrl:T,extractedUrl:this.urlHandlingStrategy.extract(T),urlAfterRedirects:this.urlHandlingStrategy.extract(T),rawUrl:T,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:wn,restoredState:null,currentSnapshot:Y.snapshot,targetSnapshot:null,currentRouterState:Y,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Bt.p)(pe=>0!==pe.id),(0,ge.T)(pe=>({...pe,extractedUrl:this.urlHandlingStrategy.extract(pe.rawUrl)})),(0,ye.n)(pe=>{let $e=!1,Nt=!1;return(0,l.of)(pe).pipe((0,ye.n)(St=>{if(this.navigationId>pe.id)return this.cancelNavigationTransition(pe,"",ri.SupersededByNewNavigation),re.w;this.currentTransition=pe,this.currentNavigation={id:St.id,initialUrl:St.rawUrl,extractedUrl:St.extractedUrl,trigger:St.source,extras:St.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Cn=!y.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Cn&&"reload"!==(St.extras.onSameUrlNavigation??y.onSameUrlNavigation)){const xi="";return this.events.next(new Zn(St.id,this.urlSerializer.serialize(St.rawUrl),xi,Di.IgnoredSameUrlNavigation)),St.resolve(null),re.w}if(this.urlHandlingStrategy.shouldProcessUrl(St.rawUrl))return(0,l.of)(St).pipe((0,ye.n)(xi=>{const Tr=this.transitions?.getValue();return this.events.next(new Tn(xi.id,this.urlSerializer.serialize(xi.extractedUrl),xi.source,xi.restoredState)),Tr!==this.transitions?.getValue()?re.w:Promise.resolve(xi)}),function Ao(_,S,y,T,Y,pe){return(0,Ve.ZZ)($e=>function na(_,S,y,T,Y,pe,$e="emptyOnly"){return new ia(_,S,y,T,Y,$e,pe).recognize()}(_,S,y,T,$e.extractedUrl,Y,pe).pipe((0,ge.T)(({state:Nt,tree:St})=>({...$e,targetSnapshot:Nt,urlAfterRedirects:St}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,y.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Je.M)(xi=>{pe.targetSnapshot=xi.targetSnapshot,pe.urlAfterRedirects=xi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:xi.urlAfterRedirects};const Tr=new tr(xi.id,this.urlSerializer.serialize(xi.extractedUrl),this.urlSerializer.serialize(xi.urlAfterRedirects),xi.targetSnapshot);this.events.next(Tr)}));if(Cn&&this.urlHandlingStrategy.shouldProcessUrl(St.currentRawUrl)){const{id:xi,extractedUrl:Tr,source:ya,restoredState:la,extras:Eo}=St,ca=new Tn(xi,this.urlSerializer.serialize(Tr),ya,la);this.events.next(ca);const lo=mr(this.rootComponentType).snapshot;return this.currentTransition=pe={...St,targetSnapshot:lo,urlAfterRedirects:Tr,extras:{...Eo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Tr,(0,l.of)(pe)}{const xi="";return this.events.next(new Zn(St.id,this.urlSerializer.serialize(St.extractedUrl),xi,Di.IgnoredByUrlHandlingStrategy)),St.resolve(null),re.w}}),(0,Je.M)(St=>{const Cn=new Mi(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot);this.events.next(Cn)}),(0,ge.T)(St=>(this.currentTransition=pe={...St,guards:gs(St.targetSnapshot,St.currentSnapshot,this.rootContexts)},pe)),function Jo(_,S){return(0,Ve.ZZ)(y=>{const{targetSnapshot:T,currentSnapshot:Y,guards:{canActivateChecks:pe,canDeactivateChecks:$e}}=y;return 0===$e.length&&0===pe.length?(0,l.of)({...y,guardsResult:!0}):function go(_,S,y,T){return(0,I.H)(_).pipe((0,Ve.ZZ)(Y=>
1function ga(_,S,y,T,Y){const pe=S&&S.routeConfig?S.routeConfig.canDeactivate:null;if(!pe||0===pe.length)return(0,l.of)(!0);const $e=pe.map(Nt=>{const St=Us(S)??Y,Cn=xr(Nt,St);return pt(function li(_){return _&&te(_.canDeactivate)}(Cn)?Cn.canDeactivate(_,S,y,T):(0,c.N4e)(St,()=>Cn(_,S,y,T))).pipe((0,mt.$)())});return(0,l.of)($e).pipe(xs())}(Y.component,Y.route,y,S,T)),(0,mt.$)(Y=>!0!==Y,!0))}($e,T,Y,_).pipe((0,Ve.ZZ)(Nt=>Nt&&function O(_){return"boolean"==typeof _}(Nt)?function Lo(_,S,y,T){return(0,I.H)(S).pipe((0,Pe.H)(Y=>(0,D.x)(function pa(_,S){return null!==_&&S&&S(new L(_)),(0,l.of)(!0)}(Y.route.parent,T),function ji(_,S){return null!==_&&S&&S(new Te(_)),(0,l.of)(!0)}(Y.route,T),function qo(_,S,y){const T=S[S.length-1],pe=S.slice(0,S.length-1).reverse().map($e=>function eo(_){const S=_.routeConfig?_.routeConfig.canActivateChild:null;return S&&0!==S.length?{node:_,guards:S}:null}($e)).filter($e=>null!==$e).map($e=>(0,A.v)(()=>{const Nt=$e.guards.map(St=>{const Cn=Us($e.node)??y,_i=xr(St,Cn);return pt(function Rn(_){return _&&te(_.canActivateChild)}(_i)?_i.canActivateChild(T,_):(0,c.N4e)(Cn,()=>_i(T,_))).pipe((0,mt.$)())});return(0,l.of)(Nt).pipe(xs())}));return(0,l.of)(pe).pipe(xs())}(_,Y.path,y),function Vo(_,S,y){const T=S.routeConfig?S.routeConfig.canActivate:null;if(!T||0===T.length)return(0,l.of)(!0);const Y=T.map(pe=>(0,A.v)(()=>{const $e=Us(S)??y,Nt=xr(pe,$e);return pt(function et(_){return _&&te(_.canActivate)}(Nt)?Nt.canActivate(S,_):(0,c.N4e)($e,()=>Nt(S,_))).pipe((0,mt.$)())}));return(0,l.of)(Y).pipe(xs())}(_,Y.route,y))),(0,mt.$)(Y=>!0!==Y,!0))}(T,pe,_,S):(0,l.of)(Nt)),(0,ge.T)(Nt=>({...y,guardsResult:Nt})))})}(this.environmentInjector,St=>this.events.next(St)),(0,Je.M)(St=>{if(pe.guardsResult=St.guardsResult,Le(St.guardsResult))throw Hr(0,St.guardsResult);const Cn=new Pi(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects),St.targetSnapshot,!!St.guardsResult);this.events.next(Cn)}),(0,Bt.p)(St=>!!St.guardsResult||(this.cancelNavigationTransition(St,"",ri.GuardRejected),!1)),$s(St=>{if(St.guards.canActivateChecks.length)return(0,l.of)(St).pipe((0,Je.M)(Cn=>{const _i=new Li(Cn.id,this.urlSerializer.serialize(Cn.extractedUrl),this.urlSerializer.serialize(Cn.urlAfterRedirects),Cn.targetSnapshot);this.events.next(_i)}),(0,ye.n)(Cn=>{let _i=!1;return(0,l.of)(Cn).pipe(function Oo(_,S){return(0,Ve.ZZ)(y=>{const{targetSnapshot:T,guards:{canActivateChecks:Y}}=y;if(!Y.length)return(0,l.of)(y);const pe=new Set(Y.map(St=>St.route)),$e=new Set;for(const St of pe)if(!$e.has(St))for(const Cn of io(St))$e.add(Cn);let Nt=0;return(0,I.H)($e).pipe((0,Pe.H)(St=>pe.has(St)?function yo(_,S,y,T){const Y=_.routeConfig,pe=_._resolve;return void 0!==Y?.title&&!Fn(Y)&&(pe[$n]=Y.title),function Jr(_,S,y,T){const Y=ui(_);if(0===Y.length)return(0,l.of)({});const pe={};return(0,I.H)(Y).pipe((0,Ve.ZZ)($e=>function zs(_,S,y,T){const Y=Us(S)??T,pe=xr(_,Y);return pt(pe.resolve?pe.resolve(S,y):(0,c.N4e)(Y,()=>pe(S,y)))}(_[$e],S,y,T).pipe((0,mt.$)(),(0,Je.M)(Nt=>{pe[$e]=Nt}))),kt(1),(0,Rt.u)(pe),(0,ke.W)($e=>ls($e)?re.w:(0,Z.$)($e)))}(pe,_,S,T).pipe((0,ge.T)($e=>(_._resolvedData=$e,_.data=zi(_,_.parent,y).resolve,null)))}(St,T,_,S):(St.data=zi(St,St.parent,_).resolve,(0,l.of)(void 0))),(0,Je.M)(()=>Nt++),kt(1),(0,Ve.ZZ)(St=>Nt===$e.size?(0,l.of)(y):re.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Je.M)({next:()=>_i=!0,complete:()=>{_i||this.cancelNavigationTransition(Cn,"",ri.NoDataFromResolver)}}))}),(0,Je.M)(Cn=>{const _i=new Yi(Cn.id,this.urlSerializer.serialize(Cn.extractedUrl),this.urlSerializer.serialize(Cn.urlAfterRedirects),Cn.targetSnapshot);this.events.next(_i)}))}),$s(St=>{const Cn=_i=>{const xi=[];_i.routeConfig?.loadComponent&&!_i.routeConfig._loadedComponent&&xi.push(this.configLoader.loadComponent(_i.routeConfig).pipe((0,Je.M)(Tr=>{_i.component=Tr}),(0,ge.T)(()=>{})));for(const Tr of _i.children)xi.push(...Cn(Tr));return xi};return(0,g.zV)(Cn(St.targetSnapshot.root)).pipe((0,ot.U)(null),(0,rt.s)(1))}),$s(()=>this.afterPreactivation()),(0,ye.n)(()=>{const{currentSnapshot:St,targetSnapshot:Cn}=pe,_i=this.createViewTransition?.(this.environmentInjector,St.root,Cn.root);return _i?(0,I.H)(_i).pipe((0,ge.T)(()=>pe)):(0,l.of)(pe)}),(0,ge.T)(St=>{const Cn=function mo(_,S,y){const T=ss(_,S._root,y?y._root:void 0);return new Nn(T,S)}(y.routeReuseStrategy,St.targetSnapshot,St.currentRouterState);return this.currentTransition=pe={...St,targetRouterState:Cn},this.currentNavigation.targetRouterState=Cn,pe}),(0,Je.M)(()=>{this.events.next(new zt)}),((_,S,y,T)=>(0,ge.T)(Y=>(new bs(S,Y.targetRouterState,Y.currentRouterState,y,T).activate(_),Y)))(this.rootContexts,y.routeReuseStrategy,St=>this.events.next(St),this.inputBindingEnabled),(0,rt.s)(1),(0,Je.M)({next:St=>{$e=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Kn(St.id,this.urlSerializer.serialize(St.extractedUrl),this.urlSerializer.serialize(St.urlAfterRedirects))),this.titleStrategy?.updateTitle(St.targetRouterState.snapshot),St.resolve(!0)},complete:()=>{$e=!0}}),(0,In.Q)(this.transitionAbortSubject.pipe((0,Je.M)(St=>{throw St}))),(0,Yt.j)(()=>{!$e&&!Nt&&this.cancelNavigationTransition(pe,"",ri.SupersededByNewNavigation),this.currentTransition?.id===pe.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,ke.W)(St=>{if(Nt=!0,Fs(St))this.events.next(new Yn(pe.id,this.urlSerializer.serialize(pe.extractedUrl),St.message,St.cancellationCode)),function os(_){return Fs(_)&&Le(_.url)}(St)?this.events.next(new tn(St.url)):pe.resolve(!1);else{this.events.next(new hi(pe.id,this.urlSerializer.serialize(pe.extractedUrl),St,pe.targetSnapshot??void 0));try{pe.resolve(y.errorHandler(St))}catch(Cn){this.options.resolveNavigationPromiseOnError?pe.resolve(!1):pe.reject(Cn)}}return re.w}))}))}cancelNavigationTransition(y,T,Y){const pe=new Yn(y.id,this.urlSerializer.serialize(y.extractedUrl),T,Y);this.events.next(pe),y.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();function Fe(_){return _!==wn}let It=(()=>{class _{static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:()=>(0,c.WQX)(On),providedIn:"root"})}return _})();class Kt{shouldDetach(S){return!1}store(S,y){}shouldAttach(S){return!1}retrieve(S){return null}
1shouldReuseRoute(S,y){return S.routeConfig===y.routeConfig}}let On=(()=>{class _ extends Kt{static#e=this.\u0275fac=(()=>{let y;return function(Y){return(y||(y=c.xGo(_)))(Y||_)}})();static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),Vi=(()=>{class _{static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:()=>(0,c.WQX)(ki),providedIn:"root"})}return _})(),ki=(()=>{class _ extends Vi{constructor(){super(...arguments),this.location=(0,c.WQX)(ie.aZ),this.urlSerializer=(0,c.WQX)(me),this.options=(0,c.WQX)(vs,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,c.WQX)(Ir),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Dn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mr(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(y){return this.location.subscribe(T=>{"popstate"===T.type&&y(T.url,T.state)})}handleRouterEvent(y,T){if(y instanceof Tn)this.stateMemento=this.createStateMemento();else if(y instanceof Zn)this.rawUrlTree=T.initialUrl;else if(y instanceof tr){if("eager"===this.urlUpdateStrategy&&!T.extras.skipLocationChange){const Y=this.urlHandlingStrategy.merge(T.finalUrl,T.initialUrl);this.setBrowserUrl(Y,T)}}else y instanceof zt?(this.currentUrlTree=T.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(T.finalUrl,T.initialUrl),this.routerState=T.targetRouterState,"deferred"===this.urlUpdateStrategy&&(T.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,T))):y instanceof Yn&&(y.code===ri.GuardRejected||y.code===ri.NoDataFromResolver)?this.restoreHistory(T):y instanceof hi?this.restoreHistory(T,!0):y instanceof Kn&&(this.lastSuccessfulId=y.id,this.currentPageId=this.browserPageId)}setBrowserUrl(y,T){const Y=this.urlSerializer.serialize(y);if(this.location.isCurrentPathEqualTo(Y)||T.extras.replaceUrl){const $e={...T.extras.state,...this.generateNgRouterState(T.id,this.browserPageId)};this.location.replaceState(Y,"",$e)}else{const pe={...T.extras.state,...this.generateNgRouterState(T.id,this.browserPageId+1)};this.location.go(Y,"",pe)}}restoreHistory(y,T=!1){if("computed"===this.canceledNavigationResolution){const pe=this.currentPageId-this.browserPageId;0!==pe?this.location.historyGo(pe):this.currentUrlTree===y.finalUrl&&0===pe&&(this.resetState(y),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(T&&this.resetState(y),this.resetUrlToCurrentUrlTree())}resetState(y){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,y.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(y,T){return"computed"===this.canceledNavigationResolution?{navigationId:y,\u0275routerPageId:T}:{navigationId:y}}static#e=this.\u0275fac=(()=>{let y;return function(Y){return(y||(y=c.xGo(_)))(Y||_)}})();static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();var Si=function(_){return _[_.COMPLETE=0]="COMPLETE",_[_.FAILED=1]="FAILED",_[_.REDIRECTING=2]="REDIRECTING",_}(Si||{});function si(_,S){_.events.pipe((0,Bt.p)(y=>y instanceof Kn||y instanceof Yn||y instanceof hi||y instanceof Zn),(0,ge.T)(y=>
1y instanceof Kn||y instanceof Zn?Si.COMPLETE:y instanceof Yn&&(y.code===ri.Redirect||y.code===ri.SupersededByNewNavigation)?Si.REDIRECTING:Si.FAILED),(0,Bt.p)(y=>y!==Si.REDIRECTING),(0,rt.s)(1)).subscribe(()=>{S()})}function nr(_){throw _}const Ci={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Qi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let oi=(()=>{class _{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)(Vi),this.options=(0,c.WQX)(vs,{optional:!0})||{},this.pendingTasks=(0,c.WQX)(c.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,c.WQX)(X),this.urlSerializer=(0,c.WQX)(me),this.location=(0,c.WQX)(ie.aZ),this.urlHandlingStrategy=(0,c.WQX)(Ir),this._events=new Me.B7,this.errorHandler=this.options.errorHandler||nr,this.navigated=!1,this.routeReuseStrategy=(0,c.WQX)(It),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,c.WQX)(Mr,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,c.WQX)(Cr,{optional:!0}),this.eventsSubscription=new Oe.y,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:y=>{this.console.warn(y)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const y=this.navigationTransitions.events.subscribe(T=>{try{const Y=this.navigationTransitions.currentTransition,pe=this.navigationTransitions.currentNavigation;if(null!==Y&&null!==pe)if(this.stateManager.handleRouterEvent(T,pe),T instanceof Yn&&T.code!==ri.Redirect&&T.code!==ri.SupersededByNewNavigation)this.navigated=!0;else if(T instanceof Kn)this.navigated=!0;else if(T instanceof tn){const $e=this.urlHandlingStrategy.merge(T.url,Y.currentRawUrl),Nt={info:Y.extras.info,skipLocationChange:Y.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Fe(Y.source)};this.scheduleNavigation($e,wn,null,Nt,{resolve:Y.resolve,reject:Y.reject,promise:Y.promise})}(function Ln(_){return!(_ instanceof zt||_ instanceof tn)})(T)&&this._events.next(T)}catch(Y){this.navigationTransitions.transitionAbortSubject.next(Y)}});this.eventsSubscription.add(y)}resetRootComponentType(y){this.routerState.root.component=y,this.navigationTransitions.rootComponentType=y}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),wn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((y,T)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(y,"popstate",T)},0)})}navigateToSyncWithBrowser(y,T,Y){const pe={replaceUrl:!0},$e=Y?.navigationId?Y:null;if(Y){const St={...Y};delete St.navigationId,delete St.\u0275routerPageId,0!==Object.keys(St).length&&(pe.state=St)}const Nt=this.parseUrl(y);this.scheduleNavigation(Nt,T,$e,pe)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(y){this.config=y.map(as),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(y,T={}){const{relativeTo:Y,queryParams:pe,fragment:$e,queryParamsHandling:Nt,preserveFragment:St}=T,Cn=St?this.currentUrlTree.fragment:$e;let xi,_i=null;switch(Nt){case"merge":_i={...this.currentUrlTree.queryParams,...pe};break;case"preserve":_i=this.currentUrlTree.queryParams;break;default:_i=pe||null}
1null!==_i&&(_i=this.removeEmptyProps(_i));try{xi=jt(Y?Y.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof y[0]||!y[0].startsWith("/"))&&(y=[]),xi=this.currentUrlTree.root}return cn(xi,y,_i,Cn??null)}navigateByUrl(y,T={skipLocationChange:!1}){const Y=Le(y)?y:this.parseUrl(y),pe=this.urlHandlingStrategy.merge(Y,this.rawUrlTree);return this.scheduleNavigation(pe,wn,null,T)}navigate(y,T={skipLocationChange:!1}){return function on(_){for(let S=0;S<_.length;S++)if(null==_[S])throw new c.wOt(4008,!1)}(y),this.navigateByUrl(this.createUrlTree(y,T),T)}serializeUrl(y){return this.urlSerializer.serialize(y)}parseUrl(y){try{return this.urlSerializer.parse(y)}catch{return this.urlSerializer.parse("/")}}isActive(y,T){let Y;if(Y=!0===T?{...Ci}:!1===T?{...Qi}:T,Le(y))return ae(this.currentUrlTree,y,Y);const pe=this.parseUrl(y);return ae(this.currentUrlTree,pe,Y)}removeEmptyProps(y){return Object.entries(y).reduce((T,[Y,pe])=>(null!=pe&&(T[Y]=pe),T),{})}scheduleNavigation(y,T,Y,pe,$e){if(this.disposed)return Promise.resolve(!1);let Nt,St,Cn;$e?(Nt=$e.resolve,St=$e.reject,Cn=$e.promise):Cn=new Promise((xi,Tr)=>{Nt=xi,St=Tr});const _i=this.pendingTasks.add();return si(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(_i))}),this.navigationTransitions.handleNavigationRequest({source:T,restoredState:Y,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:y,extras:pe,resolve:Nt,reject:St,promise:Cn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Cn.catch(xi=>Promise.reject(xi))}static#e=this.\u0275fac=function(T){return new(T||_)};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),wi=(()=>{class _{constructor(y,T,Y,pe,$e,Nt){this.router=y,this.route=T,this.tabIndexAttribute=Y,this.renderer=pe,this.el=$e,this.locationStrategy=Nt,this.href=null,this.commands=null,this.onChanges=new Me.B7,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const St=$e.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===St||"area"===St,this.isAnchorElement?this.subscription=y.events.subscribe(Cn=>{Cn instanceof Kn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(y){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",y)}ngOnChanges(y){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(y){null!=y?(this.commands=Array.isArray(y)?y:[y],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(y,T,Y,pe,$e){const Nt=this.urlTree;return!!(null===Nt||this.isAnchorElement&&(0!==y||T||Y||pe||$e||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Nt,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const y=this.urlTree;this.href=null!==y&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(y)):null;const T=null===this.href?null:(0,c.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",T)}applyAttributeValue(y,T){const Y=this.renderer,pe=this.el.nativeElement;null!==T?Y.setAttribute(pe,y,T):Y.removeAttribute(pe,y)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(T){return new(T||_)(c.rXU(oi),c.rXU(ir),c.kS0("tabindex"),c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(ie.hb))};static#t=this.\u0275dir=c.FsC({type:_,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(T,Y){1&T&&c.bIt("click",function($e){return Y.onClick($e.button,$e.ctrlKey,$e.shiftKey,$e.altKey,$e.metaKey)}),2&T&&c.BMQ("target",Y.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[c.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",c.L39],skipLocationChange:[c.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",c.L39],replaceUrl:[c.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",c.L39],routerLink:"routerLink"},standalone:!0,features:[c.GFd,c.OA$]})}return _})(),vr=(()=>{class _{get isActive(){return this._isActive}constructor(y,T,Y,pe,$e){this.router=y,this.element=T,this.renderer=Y,this.cdr=pe,this.link=$e,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new c.bkB,this.routerEventsSubscription=y.events.subscribe(Nt=>{Nt instanceof Kn&&this.update()})}ngAfterContentInit(){(0,l.of)(this.links.changes,(0,l.of)(null)).pipe((0,Gt.U)()).subscribe(y=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const y=[...this.links.toArray(),this.link].filter(T=>!!T).map(T=>T.onChanges);this.linkInputChangesSubscription=(0,I.H)(y).pipe((0,Gt.U)()).subscribe(T=>{this._isActive!==this.isLinkActive(this.router)(T)&&this.update()})}set routerLinkActive(y){const T=Array.isArray(y)?y:y.split(" ");this.classes=T.filter(Y=>!!Y)}ngOnChanges(y){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const y=this.hasActiveLinks();
1this.classes.forEach(T=>{y?this.renderer.addClass(this.element.nativeElement,T):this.renderer.removeClass(this.element.nativeElement,T)}),y&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==y&&(this._isActive=y,this.cdr.markForCheck(),this.isActiveChange.emit(y))})}isLinkActive(y){const T=function Mn(_){return!!_.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Y=>{const pe=Y.urlTree;return!!pe&&y.isActive(pe,T)}}hasActiveLinks(){const y=this.isLinkActive(this.router);return this.link&&y(this.link)||this.links.some(y)}static#e=this.\u0275fac=function(T){return new(T||_)(c.rXU(oi),c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(c.gRc),c.rXU(wi,8))};static#t=this.\u0275dir=c.FsC({type:_,selectors:[["","routerLinkActive",""]],contentQueries:function(T,Y,pe){if(1&T&&c.wni(pe,wi,5),2&T){let $e;c.mGM($e=c.lsd())&&(Y.links=$e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[c.OA$]})}return _})();class Gi{}let h=(()=>{class _{constructor(y,T,Y,pe,$e){this.router=y,this.injector=Y,this.preloadingStrategy=pe,this.loader=$e}setUpPreloading(){this.subscription=this.router.events.pipe((0,Bt.p)(y=>y instanceof Kn),(0,Pe.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(y,T){const Y=[];for(const pe of T){pe.providers&&!pe._injector&&(pe._injector=(0,c.Ol2)(pe.providers,y,`Route: ${pe.path}`));const $e=pe._injector??y,Nt=pe._loadedInjector??$e;(pe.loadChildren&&!pe._loadedRoutes&&void 0===pe.canLoad||pe.loadComponent&&!pe._loadedComponent)&&Y.push(this.preloadConfig($e,pe)),(pe.children||pe._loadedRoutes)&&Y.push(this.processRoutes(Nt,pe.children??pe._loadedRoutes))}return(0,I.H)(Y).pipe((0,Gt.U)())}preloadConfig(y,T){return this.preloadingStrategy.preload(T,()=>{let Y;Y=T.loadChildren&&void 0===T.canLoad?this.loader.loadChildren(y,T):(0,l.of)(null);const pe=Y.pipe((0,Ve.ZZ)($e=>null===$e?(0,l.of)(void 0):(T._loadedRoutes=$e.routes,T._loadedInjector=$e.injector,this.processRoutes($e.injector??y,$e.routes))));if(T.loadComponent&&!T._loadedComponent){const $e=this.loader.loadComponent(T);return(0,I.H)([pe,$e]).pipe((0,Gt.U)())}return pe})}static#e=this.\u0275fac=function(T){return new(T||_)(c.KVO(oi),c.KVO(c.Ql9),c.KVO(c.uvJ),c.KVO(Gi),c.KVO(ro))};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})();const R=new c.nKC("");let B=(()=>{class _{constructor(y,T,Y,pe,$e={}){this.urlSerializer=y,this.transitions=T,this.viewportScroller=Y,this.zone=pe,this.options=$e,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,c.WQX)(c.uvJ),$e.scrollPositionRestoration||="disabled",$e.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(y=>{y instanceof Tn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=y.navigationTrigger,this.restoredId=y.restoredState?y.restoredState.navigationId:0):y instanceof Kn?(this.lastId=y.id,this.scheduleScrollEvent(y,this.urlSerializer.parse(y.urlAfterRedirects).fragment)):y instanceof Zn&&y.code===Di.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(y,this.urlSerializer.parse(y.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(y=>{y instanceof gt&&(y.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(y.position):y.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(y.anch
1or):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(y,T){var Y=this;this.zone.runOutsideAngular((0,s.A)(function*(){yield new Promise(pe=>{setTimeout(()=>{pe()}),(0,c.mal)(()=>{pe()},{injector:Y.environmentInjector})}),Y.zone.run(()=>{Y.transitions.events.next(new gt(y,"popstate"===Y.lastSource?Y.store[Y.restoredId]:null,T))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(T){c.QTQ()};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac})}return _})();function tt(_,S){return{\u0275kind:_,\u0275providers:S}}function pi(){const _=(0,c.WQX)(c.zZn);return S=>{const y=_.get(c.o8S);if(S!==y.components[0])return;const T=_.get(oi),Y=_.get(cr);1===_.get(qn)&&T.initialNavigation(),_.get(Xi,null,c.$GK.Optional)?.setUpPreloading(),_.get(R,null,c.$GK.Optional)?.init(),T.resetRootComponentType(y.componentTypes[0]),Y.closed||(Y.next(),Y.complete(),Y.unsubscribe())}}const cr=new c.nKC("",{factory:()=>new Me.B7}),qn=new c.nKC("",{providedIn:"root",factory:()=>1}),Xi=new c.nKC("");function As(_){return tt(0,[{provide:Xi,useExisting:h},{provide:Gi,useExisting:_}])}function $o(_){return tt(9,[{provide:qr,useValue:oe},{provide:E,useValue:{skipNextTransition:!!_?.skipInitialTransition,..._}}])}const yr=new c.nKC("ROUTER_FORROOT_GUARD"),so=[ie.aZ,{provide:me,useClass:se},oi,Ut,{provide:ir,useFactory:function qe(_){return _.routerState.root},deps:[oi]},ro,[]];let oo=(()=>{class _{constructor(y){}static forRoot(y,T){return{ngModule:_,providers:[so,[],{provide:Mr,multi:!0,useValue:y},{provide:yr,useFactory:Vl,deps:[[oi,new c.Xx1,new c.kdw]]},{provide:vs,useValue:T||{}},T?.useHash?{provide:ie.hb,useClass:ie.fw}:{provide:ie.hb,useClass:ie.Sm},{provide:R,useFactory:()=>{const _=(0,c.WQX)(ie.Xr),S=(0,c.WQX)(c.SKi),y=(0,c.WQX)(vs),T=(0,c.WQX)(X),Y=(0,c.WQX)(me);return y.scrollOffset&&_.setOffset(y.scrollOffset),new B(Y,T,_,S,y)}},T?.preloadingStrategy?As(T.preloadingStrategy).\u0275providers:[],T?.initialNavigation?Ul(T):[],T?.bindToComponentInputs?tt(8,[jr,{provide:Cr,useExisting:jr}]).\u0275providers:[],T?.enableViewTransitions?$o().\u0275providers:[],[{provide:_a,useFactory:pi},{provide:c.iLQ,multi:!0,useExisting:_a}]]}}static forChild(y){return{ngModule:_,providers:[{provide:Mr,multi:!0,useValue:y}]}}static#e=this.\u0275fac=function(T){return new(T||_)(c.KVO(yr,8))};static#t=this.\u0275mod=c.$C({type:_});static#n=this.\u0275inj=c.G2t({})}return _})();function Vl(_){return"guarded"}function Ul(_){return["disabled"===_.initialNavigation?tt(3,[{provide:c.hnV,multi:!0,useFactory:()=>{const S=(0,c.WQX)(oi);return()=>{S.setUpLocationChangeListener()}}},{provide:qn,useValue:2}]).\u0275providers:[],"enabledBlocking"===_.initialNavigation?tt(2,[{provide:qn,useValue:0},{provide:c.hnV,multi:!0,deps:[c.zZn],useFactory:S=>{const y=S.get(ie.hj,Promise.resolve());return()=>y.then(()=>new Promise(T=>{const Y=S.get(oi),pe=S.get(cr);si(Y,()=>{T(!0)}),S.get(X).afterPreactivation=()=>(T(!0),pe.closed?(0,l.of)(void 0):pe),Y.initialNavigation()}))}}]).\u0275providers:[]]}const _a=new c.nKC("")},41635:(ht,ue,o)=>{"use strict";o.d(ue,{En:()=>sn,Vm:()=>De,EH:()=>In,gp:()=>pt}),o(14421),o(43574),o(57421);var u=o(44670),g=o(45817),C=o(45286),D=o(70762);class V{call(ee,H){return H.subscribe(new Z(ee))}}class Z extends D.v{_next(ee){}}var re=o(42351);class Me{call(ee,H){return H.subscribe(new Oe(ee))}}class Oe extends D.v{constructor(ee){super(ee)}_next(ee){this.destination.next(re.E.createNext(ee))}_error(ee){const H=this.destination;H.next(re.E.createError(ee)),H.complete()}_complete(){const ee=this.destination;ee.next(re.E.createComplete()),ee.complete()}}var ie=o(95006),ge=o(83921),ye=o(58728),rt=o(74337);function Ft(xe,ee,H,k){return z=>z.lift(new Bt(xe,ee,H,k))}class Bt{constructor(ee,H,k,z){this.keySelector=ee,this.elementSelector=H,this.durationSelector=k,this.subjectSelector=z}call(ee,H){return H.subscribe(new Ve(ee,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class Ve extends D.v{constructor(ee,H,k,z,U){super(ee),this.keySelector=H,this.elementSelector=k,this.durationSelector=z,this.subjectSelector=U,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(ee){let H;try{H=this.keySelector(ee)}catch(k){return void this.error(k)}this._group(ee,H)}_group(ee,H){let k=this.groups;k||(k=this.groups=new Map);let U,z=k.get(H);if(this.elementSelector)try{U=this.elementSelector(ee)}catch(J){this.error(J)}else U=ee;if(!z){z=this.subjectSelector?this.subjectSelector():new C.B7,k.set(H,z);const J=new Pe(H,z,this);if(this.destination.next(J),this.durationSelector){let Q;try{Q=this.durationSelector(new Pe(H,z))}catch(de){return void this.error(de)}this.add(Q.subscribe(new mt(H,z,this)))}}z.closed||z.next(U)}_error(ee){const H=this.groups;
1H&&(H.forEach((k,z)=>{k.error(ee)}),H.clear()),this.destination.error(ee)}_complete(){const ee=this.groups;ee&&(ee.forEach((H,k)=>{H.complete()}),ee.clear()),this.destination.complete()}removeGroup(ee){this.groups.delete(ee)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class mt extends D.v{constructor(ee,H,k){super(H),this.key=ee,this.group=H,this.parent=k}_next(ee){this.complete()}_unsubscribe(){const{parent:ee,key:H}=this;this.key=this.parent=null,ee&&ee.removeGroup(H)}}class Pe extends g.c{constructor(ee,H,k){super(),this.key=ee,this.groupSubject=H,this.refCountSubscription=k}_subscribe(ee){const H=new rt.y,{refCountSubscription:k,groupSubject:z}=this;return k&&!k.closed&&H.add(new Je(k)),H.add(z.subscribe(ee)),H}}class Je extends rt.y{constructor(ee){super(),this.parent=ee,ee.count++}unsubscribe(){const ee=this.parent;!ee.closed&&!this.closed&&(super.unsubscribe(),ee.count-=1,0===ee.count&&ee.attemptedToUnsubscribe&&ee.unsubscribe())}}var ke=o(18456),He=o(84787),ot=o(13004);function Ct(xe,ee){return ee?H=>H.pipe(Ct((k,z)=>(0,He.H)(xe(k,z)).pipe((0,ie.T)((U,J)=>ee(k,U,z,J))))):H=>H.lift(new Ot(xe))}class Ot{constructor(ee){this.project=ee}call(ee,H){return H.subscribe(new kt(ee,this.project))}}class kt extends ot.gn{constructor(ee,H){super(ee),this.project=H,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(ee){this.hasSubscription||this.tryNext(ee)}tryNext(ee){let H;const k=this.index++;try{H=this.project(ee,k)}catch(z){return void this.destination.error(z)}this.hasSubscription=!0,this._innerSub(H)}_innerSub(ee){const H=new ot.zA(this),k=this.destination;k.add(H);const z=(0,ot.tS)(ee,H);z!==H&&k.add(z)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(ee){this.destination.next(ee)}notifyError(ee){this.destination.error(ee)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}class yt{call(ee,H){return H.subscribe(new ce(ee))}}class ce extends D.v{constructor(ee){super(ee)}_next(ee){ee.observe(this.destination)}}var Ne=o(19493),it=o(54438),Rt=o(76965);const Yt={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},En="__@ngrx/effects_create__";function In(xe,ee={}){const H=ee.functional?xe:xe(),k={...Yt,...ee};return Object.defineProperty(H,En,{value:k}),H}function $n(xe){return Object.getPrototypeOf(xe)}function Bn(xe){return"function"==typeof xe}function pn(xe){return xe.filter(Bn)}function Pn(xe,ee,H){const k=$n(xe),U=k&&"Object"!==k.constructor.name?k.constructor.name:null,J=function Zt(xe){return function Gt(xe){return Object.getOwnPropertyNames(xe).filter(k=>!(!xe[k]||!xe[k].hasOwnProperty(En))&&xe[k][En].hasOwnProperty("dispatch")).map(k=>({propertyName:k,...xe[k][En]}))}(xe)}(xe).map(({propertyName:Q,dispatch:de,useEffectsErrorHandler:Le})=>{const Et="function"==typeof xe[Q]?xe[Q]():xe[Q],jt=Le?H(Et,ee):Et;return!1===de?jt.pipe(function A(){return function(ee){return ee.lift(new V)}}()):jt.pipe(function K(){return function(ee){return ee.lift(new Me)}}()).pipe((0,ie.T)(kn=>({effect:xe[Q],notification:kn,propertyName:Q,sourceName:U,sourceInstance:xe})))});return(0,u.h)(...J)}function xn(xe,ee,H=10){return xe.pipe((0,ge.W)(k=>(ee&&ee.handleError(k),H<=1?xe:xn(xe,ee,H-1))))}let sn=(()=>{class xe extends g.c{constructor(H){super(),H&&(this.source=H)}lift(H){const k=new xe;return k.source=this,k.operator=H,k}static#e=this.\u0275fac=function(k){return new(k||xe)(it.KVO(Rt.sA))};static#t=this.\u0275prov=it.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function pt(...xe){return(0,ye.p)(ee=>xe.some(H=>"string"==typeof H?H===ee.type:H.type===ee.type))}const lt=new it.nKC("@ngrx/effects Internal Root Guard"),ze=new it.nKC("@ngrx/effects User Provided Effects"),ae=new it.nKC("@ngrx/effects Internal Root Effects"),Re=new it.nKC("@ngrx/effects Internal Root Effects Instances"),We=new it.nKC("@ngrx/effects Internal Feature Effects"),ct=new it.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),ft=new it.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>xn}),Tt="@ngrx/effects/init";(0,Rt.VP)(Tt);function Ce(xe){return dt(xe,"ngrxOnInitEffects")}function dt(xe,ee){return xe&&ee in xe&&"function"==typeof xe[ee]}let Ze=(()=>{class xe extends C.B7{constructor(H,k){super(),this.errorHandler=H,this.effectsErrorHandler=k}addEffects(H){this.next(H)}toActions(){return this.pipe(Ft(H=>function Wn(xe){return!!xe.constructor&&"Object"!==xe.constructor.name&&"Function"!==xe.constructor.name}(H)?$n(H):H),(0,ke.ZZ)(H=>H.pipe(Ft(Ht))),(0,ke.ZZ)(H=>{const k=H.pipe(Ct(U=>function at(xe,ee){return H=>{const k=Pn(H,xe,ee);return function se(xe){return dt(xe,"ngrxOnRunEffects")}(H)?H.ngrxOnRunEffects(k):k}}(this.errorHandler,this.effectsErrorHandler)(U)),(0,ie.T)(U=>(function Dn(xe,ee){if("N"===xe.notification.kind){const H=xe.notification.value;!function rn(xe){return"function"!=typeof xe&&xe&&xe.type&&"string"==typeof xe.type}(H)&&ee.handleError(new Error(`Effect ${function vn({propertyName:xe,sourceInstance:ee,sourceName:H}){const k="function"==typeof ee[xe];return H?`"${H}.${String(xe)}${k?"()":""}"`:`"${String(xe)}()"`}(xe)}
1 dispatched an invalid action: ${function Pt(xe){try{return JSON.stringify(xe)}catch{return xe}}(H)}`))}}(U,this.errorHandler),U.notification)),(0,ye.p)(U=>"N"===U.kind&&null!=U.value),function Qe(){return function(ee){return ee.lift(new yt)}}()),z=H.pipe((0,Ne.s)(1),(0,ye.p)(Ce),(0,ie.T)(U=>U.ngrxOnInitEffects()));return(0,u.h)(k,z)}))}static#e=this.\u0275fac=function(k){return new(k||xe)(it.KVO(it.zcH),it.KVO(ft))};static#t=this.\u0275prov=it.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function Ht(xe){return function he(xe){return dt(xe,"ngrxOnIdentifyEffects")}(xe)?xe.ngrxOnIdentifyEffects():""}let Vt=(()=>{class xe{get isStarted(){return!!this.effectsSubscription}constructor(H,k){this.effectSources=H,this.store=k,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=this.\u0275fac=function(k){return new(k||xe)(it.KVO(Ze),it.KVO(Rt.il))};static#t=this.\u0275prov=it.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})(),_e=(()=>{class xe{constructor(H,k,z,U,J,Q,de){this.sources=H,k.start();for(const Le of U)H.addEffects(Le);z.dispatch({type:Tt})}addEffects(H){this.sources.addEffects(H)}static#e=this.\u0275fac=function(k){return new(k||xe)(it.KVO(Ze),it.KVO(Vt),it.KVO(Rt.il),it.KVO(Re),it.KVO(Rt.wc,8),it.KVO(Rt.ae,8),it.KVO(lt,8))};static#t=this.\u0275mod=it.$C({type:xe});static#n=this.\u0275inj=it.G2t({})}return xe})(),Ke=(()=>{class xe{constructor(H,k,z,U){const J=k.flat();for(const Q of J)H.addEffects(Q)}static#e=this.\u0275fac=function(k){return new(k||xe)(it.KVO(_e),it.KVO(ct),it.KVO(Rt.wc,8),it.KVO(Rt.ae,8))};static#t=this.\u0275mod=it.$C({type:xe});static#n=this.\u0275inj=it.G2t({})}return xe})(),De=(()=>{class xe{static forFeature(...H){const k=H.flat(),z=pn(k);return{ngModule:Ke,providers:[z,{provide:We,multi:!0,useValue:k},{provide:ze,multi:!0,useValue:[]},{provide:ct,multi:!0,useFactory:Ue,deps:[We,ze]}]}}static forRoot(...H){const k=H.flat(),z=pn(k);return{ngModule:_e,providers:[z,{provide:ae,useValue:[k]},{provide:lt,useFactory:Mt},{provide:ze,multi:!0,useValue:[]},{provide:Re,useFactory:Ue,deps:[ae,ze]}]}}static#e=this.\u0275fac=function(k){return new(k||xe)};static#t=this.\u0275mod=it.$C({type:xe});static#n=this.\u0275inj=it.G2t({})}return xe})();function Ue(xe,ee){const H=[];for(const k of xe)H.push(...k);for(const k of ee)H.push(...k);return H.map(k=>function Sn(xe){return xe instanceof it.nKC||Bn(xe)}(k)?(0,it.WQX)(k):k)}function Mt(){const xe=(0,it.WQX)(Vt,{optional:!0,skipSelf:!0}),ee=(0,it.WQX)(ae,{self:!0});if((1!==ee.length||0!==ee[0].length)&&xe)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},70746:(ht,ue,o)=>{"use strict";o.d(ue,{p:()=>V});var s=o(76965),c=o(54438),u=function(re){return re[re.EntitiesOnly=0]="EntitiesOnly",re[re.Both=1]="Both",re[re.None=2]="None",re}(u||{});function g(re){return function(Me,Oe){const ie={ids:[...Oe.ids],entities:{...Oe.entities}},ge=re(Me,ie);return ge===u.Both?Object.assign({},Oe,ie):ge===u.EntitiesOnly?{...Oe,entities:ie.entities}:Oe}}function C(re,K){const Me=K(re);return(0,c.naY)()&&void 0===Me&&console.warn("@ngrx/entity: The entity passed to the `selectId` implementation returned undefined.","You should probably provide your own `selectId` implementation.","The entity that was passed:",re,"The `selectId` implementation:",K.toString()),Me}function D(re){function K(ot,Ct){const Ot=C(ot,re);return Ot in Ct.entities?u.None:(Ct.ids.push(Ot),Ct.entities[Ot]=ot,u.Both)}function Me(ot,Ct){let Ot=!1;for(const kt of ot)Ot=K(kt,Ct)!==u.None||Ot;return Ot?u.Both:u.None}function ie(ot,Ct){const Ot=C(ot,re);return Ot in Ct.entities?(Ct.entities[Ot]=ot,u.EntitiesOnly):(Ct.ids.push(Ot),Ct.entities[Ot]=ot,u.Both)}function rt(ot,Ct){const kt=(ot instanceof Array?ot:Ct.ids.filter(Qe=>ot(Ct.entities[Qe]))).filter(Qe=>Qe in Ct.entities).map(Qe=>delete Ct.entities[Qe]).length>0;return kt&&(Ct.ids=Ct.ids.filter(Qe=>Qe in Ct.entities)),kt?u.Both:u.None}function Ve(ot,Ct){return mt([ot],Ct)}function mt(ot,Ct){const Ot={};return(ot=ot.filter(Qe=>Qe.id in Ct.entities)).length>0?ot.filter(yt=>function Bt(ot,Ct,Ot){const Qe=Object.assign({},Ot.entities[Ct.id],Ct.changes),yt=C(Qe,re),ce=yt!==Ct.id;return ce&&(ot[Ct.id]=yt,delete Ot.entities[Ct.id]),Ot.entities[yt]=Qe,ce}(Ot,yt,Ct)).length>0?(Ct.ids=Ct.ids.map(yt=>Ot[yt]||yt),u.Both):u.EntitiesOnly:u.None}function He(ot,Ct){const Ot=[],kt=[];for(const ce of ot){const Ne=C(ce,re);Ne in Ct.entities?kt.push({id:Ne,changes:ce}):Ot.push(ce)}const Qe=mt(kt,Ct),yt=Me(Ot,Ct);switch(!0){case yt===u.None&&Qe===u.None:return u.None;case yt===u.Both||Qe===u.Both:return u.Both;default:return u.EntitiesOnly}}return{removeAll:function Ft(ot){return Object.assign({},ot,{ids:[],entities:{}})},addOne:g(K),addMany:g(Me),setAll:g(function Oe(ot,Ct){return Ct.i
1ds=[],Ct.entities={},Me(ot,Ct),u.Both}),setOne:g(ie),setMany:g(function ge(ot,Ct){const Ot=ot.map(kt=>ie(kt,Ct));switch(!0){case Ot.some(kt=>kt===u.Both):return u.Both;case Ot.some(kt=>kt===u.EntitiesOnly):return u.EntitiesOnly;default:return u.None}}),updateOne:g(Ve),updateMany:g(mt),upsertOne:g(function ke(ot,Ct){return He([ot],Ct)}),upsertMany:g(He),removeOne:g(function ye(ot,Ct){return rt([ot],Ct)}),removeMany:g(rt),map:g(function Pe(ot,Ct){return mt(Ct.ids.reduce((Qe,yt)=>{const ce=ot(Ct.entities[yt]);return ce!==Ct.entities[yt]&&Qe.push({id:yt,changes:ce}),Qe},[]).filter(({id:Qe})=>Qe in Ct.entities),Ct)}),mapOne:g(function Je({map:ot,id:Ct},Ot){const kt=Ot.entities[Ct];return kt?Ve({id:Ct,changes:ot(kt)},Ot):u.None})}}function A(re,K){const{removeOne:Me,removeMany:Oe,removeAll:ie}=D(re);function ge(Ot,kt){return ye([Ot],kt)}function ye(Ot,kt){const Qe=Ot.filter(yt=>!(C(yt,re)in kt.entities));return 0===Qe.length?u.None:(Ct(Qe,kt),u.Both)}function Ft(Ot,kt){const Qe=C(Ot,re);return Qe in kt.entities?(kt.ids=kt.ids.filter(yt=>yt!==Qe),Ct([Ot],kt),u.Both):ge(Ot,kt)}function Ve(Ot,kt){return Pe([Ot],kt)}function Pe(Ot,kt){const Qe=[],yt=Ot.filter(ce=>function mt(Ot,kt,Qe){if(!(kt.id in Qe.entities))return!1;const ce=Object.assign({},Qe.entities[kt.id],kt.changes),Ne=C(ce,re);return delete Qe.entities[kt.id],Ot.push(ce),Ne!==kt.id}(Qe,ce,kt)).length>0;if(0===Qe.length)return u.None;{const ce=kt.ids,Ne=[];return kt.ids=kt.ids.filter((it,Rt)=>it in kt.entities||(Ne.push(Rt),!1)),Ct(Qe,kt),!yt&&Ne.every(it=>kt.ids[it]===ce[it])?u.EntitiesOnly:u.Both}}function ot(Ot,kt){const Qe=[],yt=[];for(const it of Ot){const Rt=C(it,re);Rt in kt.entities?yt.push({id:Rt,changes:it}):Qe.push(it)}const ce=Pe(yt,kt),Ne=ye(Qe,kt);switch(!0){case Ne===u.None&&ce===u.None:return u.None;case Ne===u.Both||ce===u.Both:return u.Both;default:return u.EntitiesOnly}}function Ct(Ot,kt){Ot.sort(K);const Qe=[];let yt=0,ce=0;for(;yt<Ot.length&&ce<kt.ids.length;){const Ne=Ot[yt],it=C(Ne,re),Rt=kt.ids[ce];K(Ne,kt.entities[Rt])<=0?(Qe.push(it),yt++):(Qe.push(Rt),ce++)}kt.ids=Qe.concat(yt<Ot.length?Ot.slice(yt).map(re):kt.ids.slice(ce)),Ot.forEach((Ne,it)=>{kt.entities[re(Ne)]=Ne})}return{removeOne:Me,removeMany:Oe,removeAll:ie,addOne:g(ge),updateOne:g(Ve),upsertOne:g(function He(Ot,kt){return ot([Ot],kt)}),setAll:g(function rt(Ot,kt){return kt.entities={},kt.ids=[],ye(Ot,kt),u.Both}),setOne:g(Ft),setMany:g(function Bt(Ot,kt){const Qe=Ot.map(yt=>Ft(yt,kt));switch(!0){case Qe.some(yt=>yt===u.Both):return u.Both;case Qe.some(yt=>yt===u.EntitiesOnly):return u.EntitiesOnly;default:return u.None}}),addMany:g(ye),updateMany:g(Pe),upsertMany:g(ot),map:g(function Je(Ot,kt){return Pe(kt.ids.reduce((yt,ce)=>{const Ne=Ot(kt.entities[ce]);return Ne!==kt.entities[ce]&&yt.push({id:ce,changes:Ne}),yt},[]),kt)}),mapOne:g(function ke({map:Ot,id:kt},Qe){const yt=Qe.entities[kt];return yt?Ve({id:kt,changes:Ot(yt)},Qe):u.None})}}function V(re={}){const{selectId:K,sortComparer:Me}={selectId:re.selectId??(ye=>ye.id),sortComparer:re.sortComparer??!1},Oe=function I(){return{getInitialState:function re(K={}){return Object.assign({ids:[],entities:{}},K)}}}(),ie=function l(){return{getSelectors:function re(K){const Me=ye=>ye.ids,Oe=ye=>ye.entities,ie=(0,s.Mz)(Me,Oe,(ye,rt)=>ye.map(Ft=>rt[Ft])),ge=(0,s.Mz)(Me,ye=>ye.length);return K?{selectIds:(0,s.Mz)(K,Me),selectEntities:(0,s.Mz)(K,Oe),selectAll:(0,s.Mz)(K,ie),selectTotal:(0,s.Mz)(K,ge)}:{selectIds:Me,selectEntities:Oe,selectAll:ie,selectTotal:ge}}}}();return{selectId:K,sortComparer:Me,...Oe,...ie,...Me?A(K,Me):D(K)}}},76965:(ht,ue,o)=>{"use strict";o.d(ue,{SS:()=>ke,Zz:()=>Je,N_:()=>Ot,Bh:()=>Re,QU:()=>ae,sA:()=>Tt,h1:()=>Dn,il:()=>_n,ae:()=>Li,md:()=>Yi,wc:()=>Pi,q6:()=>We,VP:()=>Oe,UX:()=>Q,Mz:()=>z,Lt:()=>me});var s=o(54438),c=o(79928),x=o(45817),I=o(45286),l=o(53681),u=o(70097),g=o(57421),C=o(85019),D=o(95006),Z=o(20522),re=o(89079);const K={};function Oe(L,fe){if(K[L]=(K[L]||0)+1,"function"==typeof fe)return ye(L,(...je)=>({...fe(...je),type:L}));switch(fe?fe._as:"empty"){case"empty":return ye(L,()=>({type:L}));case"props":return ye(L,je=>({...je,type:L}));default:throw new Error("Unexpected config.")}}function ye(L,fe){return Object.defineProperty(fe,"type",{value:L,writable:!1})}const Je="@ngrx/store/init";let ke=(()=>{class L extends c.t{constructor(){super({type:Je})}next(Te){if("function"==typeof Te)throw new TypeError("\n        Dispatch expected an object, instead it received a function.\n        If you're using the createAction function, make sure to invoke the function\n        before dispatching the action. For example, someAction should be someAction().");if(typeof Te>"u")throw new TypeError("Actions must be objects");if(typeof Te.type>"u")throw new TypeError("Actions must have a type property");super.next(Te)}complete(){}ngOnDestroy(){super.complete()}static#e=this.\u0275fac=function(je){return new(je||L)};static#t=this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac})}return L})();const He=[ke],ot=new s.nKC("@ngrx/store Internal Root Guard"),Ct=new s.nKC("@ngrx/store Internal Initial State"),Ot=new s.nKC("@ngrx/store Initial State"),kt=new s.nKC("@ngrx/store Reducer Factory"),Qe=new s.nKC("@ngrx/store Internal Reducer Factory Provider"),yt=new s.nKC("@ngrx/store Initial Reducers"),ce=new s.nKC("@ngrx/store Internal Initial Reducers"),Ne=new s.nKC("@ngrx/store Store Features"),it=new s.nKC("@ngrx/store Internal Store Reducers"),Rt=new s.nKC("@ngrx/store Internal Feature Reducers"),Yt=new s.nKC("@ngrx/store Internal Feature Configs"),En=new s.nKC("@ngrx/store Internal Store Features"),In=new s.nKC("@ngrx/store Internal Feature Reducers Token"),Gt=new s.nKC("@ngrx/store Feature Reducers"),Un=new s.nKC("@ngrx/store User Provided Meta Reducers"),Zt=new s.nKC("@ngrx/store Meta Reducers"),$n=new s.nKC("@ngrx/store Internal Resolved Meta Reducers"),Wn=new s.nKC("@ngrx/store User Runtime Checks Config"),Bn=new s.nKC("@ngrx/store Internal User Runtime Checks Config"),pn=new s.nKC("@ngrx/store Internal Runtime Checks"),Sn=new s.nKC("@ngrx/store Check if Action types are unique");function xn(L,fe={}){const Te=Object.keys(L),je={};for(let zt=0;zt<Te.length;zt++){const tn=Te[zt];"function"==typeof L[tn]&&(je[tn]=L[tn])}const gt=Object.keys(je);return function(tn,ti){tn=void 0===tn?fe:tn;let Ae=!1;const Ut={};for(let v=0;v<gt.length;v++){const $=gt[v],we=tn[$],st=(0,je[$])(we,ti);Ut[$]=st,Ae=Ae||st!==we}return Ae?Ut:tn}}function pt(...L){return function(fe){if(0===L.length)return fe;const Te=L[L.length-1];return L.slice(0,-1).reduceRight((gt,zt)=>zt(gt),Te(fe))}}function lt(L,fe){return Array.isArray(fe)&&fe.length>0&&(L=pt.apply(null,[...fe,L])),(Te,je)=>{const gt=L(Te);return(zt,tn)=>gt(zt=void 0===zt?je:zt,tn)}}new s.nKC("@ngrx/store Root Store Provider"),new s.nKC("@ngrx/store Feature State Provider");class ae extends x.c{}class Re extends ke{}const We="@ngrx/store/update-reducers";let ct=(()=>{class L extends c.t{get currentReducers(){return this.reducers}constructor(Te,je,gt,zt){super(zt(gt,je)),this.dispatcher=Te,this.initialState=je,this.reducers=gt,this.reducerFactory=zt}addFeature(Te){this.addFeatures([Te])}addFeatures(Te){const je=Te.reduce((gt,{reducers:zt,reducerFactory:tn,metaReducers:ti,initialState:Ae,key:Ut})=>{const v="function"==typeof zt?function ze(L){const fe=Array.isArray(L)&&L.length>0?pt(...L):Te=>Te;return(Te,je)=>(Te=fe(Te),(gt,zt)=>Te(gt=void 0===gt?je:gt,zt))}(ti)(zt,Ae):lt(tn,ti)(zt,Ae);return gt[Ut]=v,gt},{});this.addReducers(je)}
1removeFeature(Te){this.removeFeatures([Te])}removeFeatures(Te){this.removeReducers(Te.map(je=>je.key))}addReducer(Te,je){this.addReducers({[Te]:je})}addReducers(Te){this.reducers={...this.reducers,...Te},this.updateReducers(Object.keys(Te))}removeReducer(Te){this.removeReducers([Te])}removeReducers(Te){Te.forEach(je=>{this.reducers=function sn(L,fe){return Object.keys(L).filter(Te=>Te!==fe).reduce((Te,je)=>Object.assign(Te,{[je]:L[je]}),{})}(this.reducers,je)}),this.updateReducers(Te)}updateReducers(Te){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:We,features:Te})}ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(je){return new(je||L)(s.KVO(Re),s.KVO(Ot),s.KVO(yt),s.KVO(kt))};static#t=this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac})}return L})();const ft=[ct,{provide:ae,useExisting:ct},{provide:Re,useExisting:ke}];let Tt=(()=>{class L extends I.B7{ngOnDestroy(){this.complete()}static#e=this.\u0275fac=(()=>{let Te;return function(gt){return(Te||(Te=s.xGo(L)))(gt||L)}})();static#t=this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac})}return L})();const un=[Tt];class Dn extends x.c{}let rn=(()=>{class L extends c.t{static#e=this.INIT=Je;constructor(Te,je,gt,zt){super(zt);const Ut=Te.pipe((0,u.QE)(l.T)).pipe((0,g.E)(je)).pipe((0,C.S)(vn,{state:zt}));this.stateSubscription=Ut.subscribe(({state:v,action:$})=>{this.next(v),gt.next($)}),this.state=(0,re.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#t=this.\u0275fac=function(je){return new(je||L)(s.KVO(ke),s.KVO(ae),s.KVO(Tt),s.KVO(Ot))};static#n=this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac})}return L})();function vn(L={state:void 0},[fe,Te]){const{state:je}=L;return{state:Te(je,fe),action:fe}}const Pt=[rn,{provide:Dn,useExisting:rn}];let _n=(()=>{class L extends x.c{constructor(Te,je,gt){super(),this.actionsObserver=je,this.reducerManager=gt,this.source=Te,this.state=Te.state}select(Te,...je){return me.call(null,Te,...je)(this)}selectSignal(Te,je){return(0,s.EWP)(()=>Te(this.state()),je)}lift(Te){const je=new L(this,this.actionsObserver,this.reducerManager);return je.operator=Te,je}dispatch(Te){this.actionsObserver.next(Te)}next(Te){this.actionsObserver.next(Te)}error(Te){this.actionsObserver.error(Te)}complete(){this.actionsObserver.complete()}addReducer(Te,je){this.reducerManager.addReducer(Te,je)}removeReducer(Te){this.reducerManager.removeReducer(Te)}static#e=this.\u0275fac=function(je){return new(je||L)(s.KVO(Dn),s.KVO(ke),s.KVO(ct))};static#t=this.\u0275prov=s.jDH({token:L,factory:L.\u0275fac})}return L})();const he=[_n];function me(L,fe,...Te){return function(gt){let zt;if("string"==typeof L){const tn=[fe,...Te].filter(Boolean);zt=gt.pipe(function A(...L){const fe=L.length;if(0===fe)throw new Error("list of properties cannot be empty.");return Te=>(0,D.T)(function V(L,fe){return je=>{let gt=je;for(let zt=0;zt<fe;zt++){const tn=gt?.[L[zt]];if(void 0===tn)return;gt=tn}return gt}}(L,fe))(Te)}(L,...tn))}else{if("function"!=typeof L)throw new TypeError(`Unexpected type '${typeof L}' in select operator, expected 'string' or 'function'`);zt=gt.pipe((0,D.T)(tn=>L(tn,fe)))}return zt.pipe((0,Z.F)())}}const se="https://ngrx.io/guide/store/configuration/runtime-checks";function q(L){return void 0===L}function Ce(L){return null===L}function dt(L){return Array.isArray(L)}function Vt(L){return"object"==typeof L&&null!==L}function De(L){return"function"==typeof L}let Qt=!1;function xe(L,fe){return L===fe}function k(L,fe=xe,Te=xe){let zt,je=null,gt=null;return{memoized:function Ut(){if(void 0!==zt)return zt.result;if(!je)return gt=L.apply(null,arguments),je=arguments,gt;if(!function ee(L,fe,Te){for(let je=0;je<L.length;je++)if(!Te(L[je],fe[je]))return!0;return!1}(arguments,je,fe))return gt;const v=L.apply(null,arguments);return je=arguments,Te(gt,v)?gt:(gt=v,v)},reset:function tn(){je=null,gt=null},setResult:function ti(v=void 0){zt={result:v}},clearResult:function Ae(){zt=void 0}}}function z(...L){return function J(L,fe={stateFn:U}){return function(...Te){let je=Te;if(Array.isArray(je[0])){const[v,...$]=je;je=[...v,...$]}else 1===je.length&&function de(L){return!!L&&"object"==typeof L&&Object.values(L).every(fe=>"function"==typeof fe)}(je[0])&&(je=function Le(L){const fe=Object.values(L),Te=Object.keys(L);return[...fe,(...gt)=>Te.reduce((zt,tn,ti)=>({...zt,[tn]:gt[ti]}),{})]}(je[0]));const gt=je.slice(0,je.length-1),zt=je[je.length-1],tn=gt.filter(v=>v.release&&"function"==typeof v.release),ti=L(function(...v){return zt.apply(null,v)}),Ae=k(function(v,$){return fe.stateFn.apply(null,[v,gt,$,ti])});return Object.assign(Ae.memoized,{release:function Ut(){Ae.reset(),ti.reset(),tn.forEac
1h(v=>v.release())},projector:ti.memoized,setResult:Ae.setResult,clearResult:Ae.clearResult})}}(k)(...L)}function U(L,fe,Te,je){if(void 0===Te){const zt=fe.map(tn=>tn(L));return je.memoized.apply(null,zt)}const gt=fe.map(zt=>zt(L,Te));return je.memoized.apply(null,[...gt,Te])}function Q(L){return z(fe=>{const Te=fe[L];return!function bt(){return Qt}()&&(0,s.naY)()&&!(L in fe)&&console.warn(`@ngrx/store: The feature name "${L}" does not exist in the state, therefore createFeatureSelector cannot access it.  Be sure it is imported in a loaded module using StoreModule.forRoot('${L}', ...) or StoreModule.forFeature('${L}', ...).  If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),Te},fe=>fe)}function kn(L){return L instanceof s.nKC?(0,s.WQX)(L):L}function hn(L,fe){return fe.map((Te,je)=>{if(L[je]instanceof s.nKC){const gt=(0,s.WQX)(L[je]);return{key:Te.key,reducerFactory:gt.reducerFactory?gt.reducerFactory:xn,metaReducers:gt.metaReducers?gt.metaReducers:[],initialState:gt.initialState}}return Te})}function Oi(L){return L.map(fe=>fe instanceof s.nKC?(0,s.WQX)(fe):fe)}function mi(L){return"function"==typeof L?L():L}function fn(L,fe){return L.concat(fe)}function Ri(){if((0,s.WQX)(_n,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Bi(L){Object.freeze(L);const fe=De(L);return Object.getOwnPropertyNames(L).forEach(Te=>{if(!Te.startsWith("\u0275")&&function Mt(L,fe){return Object.prototype.hasOwnProperty.call(L,fe)}(L,Te)&&(!fe||"caller"!==Te&&"callee"!==Te&&"arguments"!==Te)){const je=L[Te];(Vt(je)||De(je))&&!Object.isFrozen(je)&&Bi(je)}}),L}function Se(L,fe=[]){return(q(L)||Ce(L))&&0===fe.length?{path:["root"],value:L}:Object.keys(L).reduce((je,gt)=>{if(je)return je;const zt=L[gt];return function Ue(L){return De(L)&&L.hasOwnProperty("\u0275cmp")}(zt)?je:!(q(zt)||Ce(zt)||function at(L){return"number"==typeof L}(zt)||function Ht(L){return"boolean"==typeof L}(zt)||function Ze(L){return"string"==typeof L}(zt)||dt(zt))&&(function Ke(L){if(!function _e(L){return Vt(L)&&!dt(L)}(L))return!1;const fe=Object.getPrototypeOf(L);return fe===Object.prototype||null===fe}(zt)?Se(zt,[...fe,gt]):{path:[...fe,gt],value:zt})},!1)}function Xe(L,fe){if(!1===L)return;const Te=L.path.join("."),je=new Error(`Detected unserializable ${fe} at "${Te}". ${se}#strict${fe}serializability`);throw je.value=L.value,je.unserializablePath=Te,je}function At(L){return(0,s.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...L}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function xt({strictActionSerializability:L,strictStateSerializability:fe}){return Te=>L||fe?function Wi(L,fe){return function(Te,je){fe.action(je)&&Xe(Se(je),"action");const gt=L(Te,je);return fe.state()&&Xe(Se(gt),"state"),gt}}(Te,{action:je=>L&&!en(je),state:()=>fe}):Te}function qt({strictActionImmutability:L,strictStateImmutability:fe}){return Te=>L||fe?function An(L,fe){return function(Te,je){const gt=fe.action(je)?Bi(je):je,zt=L(Te,gt);return fe.state()?Bi(zt):zt}}(Te,{action:je=>L&&!en(je),state:()=>fe}):Te}function en(L){return L.type.startsWith("@ngrx")}function jn({strictActionWithinNgZone:L}){return fe=>L?function Ge(L,fe){return function(Te,je){if(fe.action(je)&&!s.SKi.isInAngularZone())throw new Error(`Action '${je.type}' running outside NgZone. ${se}#strictactionwithinngzone`);return L(Te,je)}}(fe,{action:Te=>L&&!en(Te)}):fe}function wn(L){return[{provide:Bn,useValue:L},{provide:Wn,useFactory:ei,deps:[Bn]},{provide:pn,deps:[Wn],useFactory:At},{provide:Zt,multi:!0,deps:[pn],useFactory:qt},{provide:Zt,multi:!0,deps:[pn],useFactory:xt},{provide:Zt,multi:!0,deps:[pn],useFactory:jn}]}function dn(){return[{provide:Sn,multi:!0,deps:[pn],useFactory:Tn}]}function ei(L){return L}function Tn(L){if(!L.strictActionTypeUniqueness)return;const fe=Object.entries(K).filter(([,Te])=>Te>1).map(([Te])=>Te);if(fe.length)throw new Error(`Action types are registered more than once, ${fe.map(Te=>`"${Te}"`).join(", ")}. ${se}#strictactiontypeuniqueness`)}function ri(L={},fe={}){return[{provide:ot,useFactory:Ri},{provide:Ct,useValue:fe.initialState},{provide:Ot,useFactory:mi,deps:[Ct]},{provide:ce,useValue:L},{provide:it,useExisting:L instanceof s.nKC?L:ce},{provide:yt,deps:[ce,[new s.y_5(it)]],useFactory:kn},{provide:Un,useValue:fe.metaReducers?fe.metaReducers:[]},{provide:$n,deps:[Zt,Un],useFactory:fn},{provide:Qe,useValue:fe.reducerFactory?fe.reducerFactory:xn},{provide:kt,deps:[Qe,$n],useFactory:lt},He,ft,un,Pt,he,wn(fe.runtimeChecks),dn()]}function Mi(L,fe,Te={}){return[{provide:Yt,multi:!0,useValue:L instanceof Object?{}:Te},{provide:Ne,multi:!0,useValue:{key:L instanceof Object?L.name:L,reducerFactory:Te instanceof s.nKC||!Te.reducerFactory?xn:Te.reducerFactory,metaReducers:Te instanceof s.nKC||!Te.metaReducers?[]:Te.metaReducers,initialState:Te instanceof s.nKC||!Te.initialState?void 0:Te.initialState}},{provide:En,deps:[Yt,Ne],useFactory:hn},{provide:Rt,multi:!0,useValue:L instanceof Object?L.reducer:fe},{provide:In,multi:!0,useExisting:fe instanceof s.nKC?fe:Rt},{provide:Gt,multi:!0,deps:[Rt,[new s.y_5(In)]],useFactory:Oi},dn()]}let Pi=(()=>{class L{constructor(Te,je,gt,zt,tn,ti){}static#e=this.\u0275fac=function(je){return new(je||L)(s.KVO(ke),s.KVO(ae),s.KVO(Tt),s.KVO(_n),s.KVO(ot,8),s.KVO(Sn,8))};static#t=this.\u0275mod=s.$C({type:L});static#n=this.\u0275inj=s.G2t({})}return L})(),Li=(()=>{class L{constructor(Te,je,gt,zt,tn){this.features=Te,this.featureReducers=je,this.reducerManager=gt;const ti=Te.map((Ae,Ut)=>{const $=je.shift()[Ut];return{...Ae,reducers:$,initialState:mi(Ae.initialState)}});gt.addFeatures(ti)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=this.\u0275fac=function(je){return new(je||L)(s.KVO(En),s.KVO(Gt),s.KVO(ct),s.KVO(Pi),s.KVO(Sn,8))};static#t=this.\u0275mod=s.$C({type:L});static#n=this.\u0275inj=s.G2t({})}return L})(),Yi=(()=>{class L{static forRoot(Te,je){return{ngModule:Pi,providers:[...ri(Te,je)]}}
1static forFeature(Te,je,gt={}){return{ngModule:Li,providers:[...Mi(Te,je,gt)]}}static#e=this.\u0275fac=function(je){return new(je||L)};static#t=this.\u0275mod=s.$C({type:L});static#n=this.\u0275inj=s.G2t({})}return L})()},73955:(ht,ue,o)=>{"use strict";o.d(ue,{D9:()=>Ot,Wr:()=>Z,c$:()=>ot,h:()=>kt});var s=o(54438),c=o(14421),x=o(8982),I=o(90696),l=o(41639),u=o(29418),g=o(19493),C=o(68712),D=o(95006),A=o(43574),V=o(49090);class Z{}let re=(()=>{class Qe extends Z{getTranslation(ce){return(0,c.of)({})}static \u0275fac=(()=>{let ce;return function(it){return(ce||(ce=s.xGo(Qe)))(it||Qe)}})();static \u0275prov=s.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})();class K{}let Me=(()=>{class Qe{handle(ce){return ce.key}static \u0275fac=function(Ne){return new(Ne||Qe)};static \u0275prov=s.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})();function Oe(Qe,yt){if(Qe===yt)return!0;if(null===Qe||null===yt)return!1;if(Qe!=Qe&&yt!=yt)return!0;let it,Rt,Yt,ce=typeof Qe;if(ce==typeof yt&&"object"==ce){if(!Array.isArray(Qe)){if(Array.isArray(yt))return!1;for(Rt in Yt=Object.create(null),Qe){if(!Oe(Qe[Rt],yt[Rt]))return!1;Yt[Rt]=!0}for(Rt in yt)if(!(Rt in Yt)&&typeof yt[Rt]<"u")return!1;return!0}if(!Array.isArray(yt))return!1;if((it=Qe.length)==yt.length){for(Rt=0;Rt<it;Rt++)if(!Oe(Qe[Rt],yt[Rt]))return!1;return!0}}return!1}function ie(Qe){return typeof Qe<"u"&&null!==Qe}function ge(Qe){return Qe&&"object"==typeof Qe&&!Array.isArray(Qe)}function ye(Qe,yt){let ce=Object.assign({},Qe);return ge(Qe)&&ge(yt)&&Object.keys(yt).forEach(Ne=>{ge(yt[Ne])?Ne in Qe?ce[Ne]=ye(Qe[Ne],yt[Ne]):Object.assign(ce,{[Ne]:yt[Ne]}):Object.assign(ce,{[Ne]:yt[Ne]})}),ce}class rt{}let Ft=(()=>{class Qe extends rt{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(ce,Ne){let it;return it="string"==typeof ce?this.interpolateString(ce,Ne):"function"==typeof ce?this.interpolateFunction(ce,Ne):ce,it}getValue(ce,Ne){let it="string"==typeof Ne?Ne.split("."):[Ne];Ne="";do{Ne+=it.shift(),!ie(ce)||!ie(ce[Ne])||"object"!=typeof ce[Ne]&&it.length?it.length?Ne+=".":ce=void 0:(ce=ce[Ne],Ne="")}while(it.length);return ce}interpolateFunction(ce,Ne){return ce(Ne)}interpolateString(ce,Ne){return Ne?ce.replace(this.templateMatcher,(it,Rt)=>{let Yt=this.getValue(Ne,Rt);return ie(Yt)?Yt:it}):ce}static \u0275fac=(()=>{let ce;return function(it){return(ce||(ce=s.xGo(Qe)))(it||Qe)}})();static \u0275prov=s.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})();class Bt{}let Ve=(()=>{class Qe extends Bt{compile(ce,Ne){return ce}compileTranslations(ce,Ne){return ce}static \u0275fac=(()=>{let ce;return function(it){return(ce||(ce=s.xGo(Qe)))(it||Qe)}})();static \u0275prov=s.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})();class mt{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new s.bkB;onLangChange=new s.bkB;onDefaultLangChange=new s.bkB}const Pe=new s.nKC("USE_STORE"),Je=new s.nKC("USE_DEFAULT_LANG"),ke=new s.nKC("DEFAULT_LANGUAGE"),He=new s.nKC("USE_EXTEND");let ot=(()=>{class Qe{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new s.bkB;_onLangChange=new s.bkB;_onDefaultLangChange=new s.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(ce){this.isolate?this._defaultLang=ce:this.store.defaultLang=ce}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ce){this.isolate?this._currentLang=ce:this.store.currentLang=ce}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ce){this.isolate?this._langs=ce:this.store.langs=ce}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ce){this.isolate?this._translations=ce:this.store.translations=ce}constructor(ce,Ne,it,Rt,Yt,En=!0,In=!1,Gt=!1,Un){this.store=ce,this.currentLoader=Ne,this.compiler=it,this.parser=Rt,this.missingTranslationHandler=Yt,this.useDefaultLang=En,this.isolate=In,this.extend=Gt,Un&&this.setDefaultLang(Un)}setDefaultLang(ce){if(ce===this.defaultLang)return;let Ne=this.retrieveTranslations(ce);typeof Ne<"u"?(null==this.defaultLang&&(this.defaultLang=ce),Ne.pipe((0,g.s)(1)).subscribe(it=>{this.changeDefaultLang(ce)})):this.changeDefaultLang(ce)}getDefaultLang(){return this.defaultLang}use(ce){if(ce===this.currentLang)return(0,c.of)(this.translations[ce]);let Ne=this.retrieveTranslations(ce);return typeof Ne<"u"?(this.currentLang||(this.currentLang=ce),Ne.pipe((0,g.s)(1)).subscribe(it=>{this.changeLang(ce)}),Ne):(this.changeLang(ce),(0,c.of)(this.translations[ce]))}retrieveTranslations(ce){let Ne;return(typeof this.translations[ce]>"u"||this.extend)&&(this._translationRequests[ce]=this._translationRequests[ce]||this.getTranslation(ce),Ne=this._translationRequests[ce]),Ne}getTranslation(ce){this.pending=!0;const Ne=this.currentLoader.getTranslation(ce).pipe((0,C.t)(1),(0,g.s)(1));return this.loadingTranslations=Ne.pipe((0,D.T)(it=>this.compiler.compileTranslations(it,ce)),(0,C.t)(1),(0,g.s)(1)),this.loadingTranslations.subscribe({next:it=>{this.translations[ce]=this.extend&&this.translations[ce]?{...it,...this.translations[ce]}:it,this.updateLangs(),this.pending=!1},error:it=>{this.pending=!1}}),Ne}setTranslation(ce,Ne,it=!1){Ne=this.compiler.compileTranslations(Ne,ce),this.translations[ce]=(it||this.extend)&&this.translations[ce]?ye(this.translations[ce],Ne):Ne,this.updateLangs(),this.onTranslationChange.emit({lang:ce,translations:this.translations[ce]})}getLangs(){return this.langs}addLangs(ce){ce.forEach(Ne=>{-1===this.langs.indexOf(Ne)&&this.langs.push(Ne)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ce,Ne,it){let Rt;if(Ne instanceof Array){let Yt={},En=!1;for(let In of Ne)Yt[In]=this.getParsedResult(ce,In,it),(0,x.A)(Yt[In])&&(En=!0);if(En){const In=Ne.map(Gt=>(0,x.A)(Yt[Gt])?Yt[Gt]:(0,c.of)(Yt[Gt]));return(0,I.p)(In).pipe((0,D.T)(Gt=>{let Un={};return Gt.forEach((Zt,$n)=>{Un[Ne[$n]]=Zt}),Un}))}return Yt}if(ce&&(Rt=this.parser.interpolate(this.parser.getValue(ce,Ne),it)),typeof Rt>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Rt=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],Ne),it)),typeof Rt>"u"){let Yt={key:Ne,translateService:this};typeof it<"u"&&(Yt.interpolateParams=it),Rt=this.missingTranslationHandler.handle(Yt)}return typeof Rt<"u"?Rt:Ne}get(ce,Ne){if(!ie(ce)||!ce.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,A.H)(it=>
1(it=this.getParsedResult(it,ce,Ne),(0,x.A)(it)?it:(0,c.of)(it))));{let it=this.getParsedResult(this.translations[this.currentLang],ce,Ne);return(0,x.A)(it)?it:(0,c.of)(it)}}getStreamOnTranslationChange(ce,Ne){if(!ie(ce)||!ce.length)throw new Error('Parameter "key" required');return(0,l.x)((0,u.v)(()=>this.get(ce,Ne)),this.onTranslationChange.pipe((0,V.n)(it=>{const Rt=this.getParsedResult(it.translations,ce,Ne);return"function"==typeof Rt.subscribe?Rt:(0,c.of)(Rt)})))}stream(ce,Ne){if(!ie(ce)||!ce.length)throw new Error('Parameter "key" required');return(0,l.x)((0,u.v)(()=>this.get(ce,Ne)),this.onLangChange.pipe((0,V.n)(it=>{const Rt=this.getParsedResult(it.translations,ce,Ne);return(0,x.A)(Rt)?Rt:(0,c.of)(Rt)})))}instant(ce,Ne){if(!ie(ce)||!ce.length)throw new Error('Parameter "key" required');let it=this.getParsedResult(this.translations[this.currentLang],ce,Ne);if((0,x.A)(it)){if(ce instanceof Array){let Rt={};return ce.forEach((Yt,En)=>{Rt[ce[En]]=ce[En]}),Rt}return ce}return it}set(ce,Ne,it=this.currentLang){this.translations[it][ce]=this.compiler.compile(Ne,it),this.updateLangs(),this.onTranslationChange.emit({lang:it,translations:this.translations[it]})}changeLang(ce){this.currentLang=ce,this.onLangChange.emit({lang:ce,translations:this.translations[ce]}),null==this.defaultLang&&this.changeDefaultLang(ce)}changeDefaultLang(ce){this.defaultLang=ce,this.onDefaultLangChange.emit({lang:ce,translations:this.translations[ce]})}reloadLang(ce){return this.resetLang(ce),this.getTranslation(ce)}resetLang(ce){this._translationRequests[ce]=void 0,this.translations[ce]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ce=window.navigator.languages?window.navigator.languages[0]:null;return ce=ce||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof ce>"u"?void 0:(-1!==ce.indexOf("-")&&(ce=ce.split("-")[0]),-1!==ce.indexOf("_")&&(ce=ce.split("_")[0]),ce)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ce=window.navigator.languages?window.navigator.languages[0]:null;return ce=ce||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ce}static \u0275fac=function(Ne){return new(Ne||Qe)(s.KVO(mt),s.KVO(Z),s.KVO(Bt),s.KVO(rt),s.KVO(K),s.KVO(Je),s.KVO(Pe),s.KVO(He),s.KVO(ke))};static \u0275prov=s.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})(),Ot=(()=>{class Qe{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(ce,Ne){this.translate=ce,this._ref=Ne}updateValue(ce,Ne,it){let Rt=Yt=>{this.value=void 0!==Yt?Yt:ce,this.lastKey=ce,this._ref.markForCheck()};if(it){let Yt=this.translate.getParsedResult(it,ce,Ne);(0,x.A)(Yt.subscribe)?Yt.subscribe(Rt):Rt(Yt)}this.translate.get(ce,Ne).subscribe(Rt)}transform(ce,...Ne){if(!ce||!ce.length)return ce;if(Oe(ce,this.lastKey)&&Oe(Ne,this.lastParams))return this.value;let it;if(ie(Ne[0])&&Ne.length)if("string"==typeof Ne[0]&&Ne[0].length){let Rt=Ne[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{it=JSON.parse(Rt)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${Ne[0]}`)}}else"object"==typeof Ne[0]&&!Array.isArray(Ne[0])&&(it=Ne[0]);return this.lastKey=ce,this.lastParams=Ne,this.updateValue(ce,it),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Rt=>{this.lastKey&&Rt.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ce,it,Rt.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Rt=>{this.lastKey&&(this.lastKey=null,this.updateValue(ce,it,Rt.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ce,it))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(Ne){return new(Ne||Qe)(s.rXU(ot,16),s.rXU(s.gRc,16))};static \u0275pipe=s.EJ8({name:"translate",type:Qe,pure:!1});static \u0275prov=s.jDH({token:Qe,factory:Qe.\u0275fac})}return Qe})(),kt=(()=>{class Qe{static forRoot(ce={}){return{ngModule:Qe,providers:[ce.loader||{provide:Z,useClass:re},ce.compiler||{provide:Bt,useClass:Ve},ce.parser||{provide:rt,useClass:Ft},ce.missingTranslationHandler||{provide:K,useClass:Me},mt,{provide:Pe,useValue:ce.isolate},{provide:Je,useValue:ce.useDefaultLang},{provide:He,useValue:ce.extend},{provide:ke,useValue:ce.defaultLanguage},ot]}}static forChild(ce={}){return{ngModule:Qe,providers:[ce.loader||{provide:Z,useClass:re},ce.compiler||{provide:Bt,useClass:Ve},ce.parser||{provide:rt,useClass:Ft},ce.missingTranslationHandler||{provide:K,useClass:Me},{provide:Pe,useValue:ce.isolate},{provide:Je,useValue:ce.useDefaultLang},{provide:He,useValue:ce.extend},{provide:ke,useValue:ce.defaultLanguage},ot]}}static \u0275fac=function(Ne){return new(Ne||Qe)};static \u0275mod=s.$C({type:Qe});static \u0275inj=s.G2t({})}return Qe})()},44549:(ht,ue,o)=>{"use strict";o.d(ue,{c9:()=>Mn,R2:()=>Ss});
vendor: 4,572 bytes, line 1
1class s extends Error{}class c extends s{constructor(h){super(`Invalid DateTime: ${h.toMessage()}`)}}class x extends s{constructor(h){super(`Invalid Interval: ${h.toMessage()}`)}}class I extends s{constructor(h){super(`Invalid Duration: ${h.toMessage()}`)}}class l extends s{}class u extends s{constructor(h){super(`Invalid unit ${h}`)}}class g extends s{}class C extends s{constructor(){super("Zone is an abstract class")}}const D="numeric",A="short",V="long",Z={year:D,month:D,day:D},re={year:D,month:A,day:D},K={year:D,month:A,day:D,weekday:A},Me={year:D,month:V,day:D},Oe={year:D,month:V,day:D,weekday:V},ie={hour:D,minute:D},ge={hour:D,minute:D,second:D},ye={hour:D,minute:D,second:D,timeZoneName:A},rt={hour:D,minute:D,second:D,timeZoneName:V},Ft={hour:D,minute:D,hourCycle:"h23"},Bt={hour:D,minute:D,second:D,hourCycle:"h23"},Ve={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:A},mt={hour:D,minute:D,second:D,hourCycle:"h23",timeZoneName:V},Pe={year:D,month:D,day:D,hour:D,minute:D},Je={year:D,month:D,day:D,hour:D,minute:D,second:D},ke={year:D,month:A,day:D,hour:D,minute:D},He={year:D,month:A,day:D,hour:D,minute:D,second:D},ot={year:D,month:A,day:D,weekday:A,hour:D,minute:D},Ct={year:D,month:V,day:D,hour:D,minute:D,timeZoneName:A},Ot={year:D,month:V,day:D,hour:D,minute:D,second:D,timeZoneName:A},kt={year:D,month:V,day:D,weekday:V,hour:D,minute:D,timeZoneName:V},Qe={year:D,month:V,day:D,weekday:V,hour:D,minute:D,second:D,timeZoneName:V};class yt{get type(){throw new C}get name(){throw new C}get ianaName(){return this.name}get isUniversal(){throw new C}offsetName(h,R){throw new C}formatOffset(h,R){throw new C}offset(h){throw new C}equals(h){throw new C}get isValid(){throw new C}}let ce=null;class Ne extends yt{static get instance(){return null===ce&&(ce=new Ne),ce}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(h,{format:R,locale:B}){return Hn(h,R,B)}formatOffset(h,R){return Te(this.offset(h),R)}offset(h){return-new Date(h).getTimezoneOffset()}equals(h){return"system"===h.type}get isValid(){return!0}}const it=new Map,Yt={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},Gt=new Map;class Un extends yt{static create(h){let R=Gt.get(h);return void 0===R&&Gt.set(h,R=new Un(h)),R}static resetCache(){Gt.clear(),it.clear()}static isValidSpecifier(h){return this.isValidZone(h)}static isValidZone(h){if(!h)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:h}).format(),!0}catch{return!1}}constructor(h){super(),this.zoneName=h,this.valid=Un.isValidZone(h)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(h,{format:R,locale:B}){return Hn(h,R,B,this.name)}formatOffset(h,R){return Te(this.offset(h),R)}offset(h){if(!this.valid)return NaN;const R=new Date(h);if(isNaN(R))return NaN;const B=function Rt(P){let h=it.get(P);return void 0===h&&(h=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:P,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),it.set(P,h)),h}(this.name);let[be,qe,tt,_t,Lt,an,Gn]=B.formatToParts?function In(P,h){const R=P.formatToParts(h),B=[];for(let be=0;be<R.length;be++){const{type:qe,value:tt}=R[be],_t=Yt[qe];"era"===qe?B[_t]=tt:An(_t)||(B[_t]=parseInt(tt,10))}return B}(B,R):function En(P,h){const R=P.format(h).replace(/\u200E/g,""),B=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(R),[,be,qe,tt,_t,Lt,an,Gn]=B;return[tt,be,qe,_t,Lt,an,Gn]}(B,R);"BC"===_t&&(be=1-Math.abs(be));let qn=+R;const Dr=qn%1e3;return qn-=Dr>=0?Dr:1e3+Dr,(Mi({year:be,month:qe,day:tt,hour:24===Lt?0:Lt,minute:an,second:Gn,millisecond:0})-qn)/6e4}equals(h){return"iana"===h.type&&h.name===this.name}get isValid(){return this.valid}}let Zt={};const Wn=new Map;function Bn(P,h={}){const R=JSON.stringify([P,h]);let B=Wn.get(R);return void 0===B&&(B=new Intl.DateTimeFormat(P,h),Wn.set(R,B)),B}const pn=new Map,Pn=new Map;let xn=null;const pt=new Map;function lt(P){let h=pt.get(P);return void 0===h&&(h=new Intl.DateTimeFormat(P).resolvedOptions(),pt.set(P,h)),h}const ze=new Map;function Tt(P,h,R,B){const be=P.listingMode();return"error"===be?null:"en"===be?R(h):B(h)}class Dn{constructor(h,R,B){this.padTo=B.padTo||0,this.floor=B.floor||!1;const{padTo:be,floor:qe,...tt}=B;if(!R||Object.keys(tt).length>0){const _t={useGrouping:!1,...B};B.padTo>0&&(_t.minimumIntegerDigits=B.padTo),this.inf=function Sn(P,h={}){const R=JSON.stringify([P,h]);let B=pn.get(R);return void 0===B&&(B=new Intl.NumberFormat(P,h),pn.set(R,B)),B}(h,_t)}}
1format(h){if(this.inf){const R=this.floor?Math.floor(h):h;return this.inf.format(R)}return Tn(this.floor?Math.floor(h):Yn(h,3),this.padTo)}}class rn{constructor(h,R,B){let be;if(this.opts=B,this.originalZone=void 0,this.opts.timeZone)this.dt=h;else if("fixed"===h.zone.type){const tt=h.offset/60*-1,_t=tt>=0?`Etc/GMT+${tt}`:`Etc/GMT${tt}`;0!==h.offset&&Un.create(_t).valid?(be=_t,this.dt=h):(be="UTC",this.dt=0===h.offset?h:h.setZone("UTC").plus({minutes:h.offset}),this.originalZone=h.zone)}else"system"===h.zone.type?this.dt=h:"iana"===h.zone.type?(this.dt=h,be=h.zone.name):(be="UTC",this.dt=h.setZone("UTC").plus({minutes:h.offset}),this.originalZone=h.zone);const qe={...this.opts};qe.timeZone=qe.timeZone||be,this.dtf=Bn(R,qe)}format(){return this.originalZone?this.formatToParts().map(({value:h})=>h).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const h=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?h.map(R=>{if("timeZoneName"===R.type){const B=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...R,value:B}}return R}):h}resolvedOptions(){return this.dtf.resolvedOptions()}}class vn{constructor(h,R,B){this.opts={style:"long",...B},!R&&Ge()&&(this.rtf=function ui(P,h={}){const{base:R,...B}=h,be=JSON.stringify([P,B]);let qe=Pn.get(be);return void 0===qe&&(qe=new Intl.RelativeTimeFormat(P,h),Pn.set(be,qe)),qe}(h,B))}format(h,R){return this.rtf?this.rtf.format(h,R):function Br(P,h,R="always",B=!1){const be={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},qe=-1===["hours","minutes","seconds"].indexOf(P);if("auto"===R&&qe){const pi="days"===P;switch(h){case 1:return pi?"tomorrow":`next ${be[P][0]}`;case-1:return pi?"yesterday":`last ${be[P][0]}`;case 0:return pi?"today":`this ${be[P][0]}`}}const tt=Object.is(h,-0)||h<0,_t=Math.abs(h),Lt=1===_t,an=be[P],Gn=B?Lt?an[1]:an[2]||an[1]:Lt?be[P][0]:P;return tt?`${_t} ${Gn} ago`:`in ${_t} ${Gn}`}(R,h,this.opts.numeric,"long"!==this.opts.style)}formatToParts(h,R){return this.rtf?this.rtf.formatToParts(h,R):[]}}const Pt={firstDay:1,minimalDays:4,weekend:[6,7]};class _n{static fromOpts(h){return _n.create(h.locale,h.numberingSystem,h.outputCalendar,h.weekSettings,h.defaultToEN)}static create(h,R,B,be,qe=!1){const tt=h||ee.defaultLocale,_t=tt||(qe?"en-US":function sn(){return xn||(xn=(new Intl.DateTimeFormat).resolvedOptions().locale,xn)}()),Lt=R||ee.defaultNumberingSystem,an=B||ee.defaultOutputCalendar,Gn=wn(be)||ee.defaultWeekSettings;return new _n(_t,Lt,an,Gn,tt)}static resetCache(){xn=null,Wn.clear(),pn.clear(),Pn.clear(),pt.clear(),ze.clear()}static fromObject({locale:h,numberingSystem:R,outputCalendar:B,weekSettings:be}={}){return _n.create(h,R,B,be)}constructor(h,R,B,be,qe){const[tt,_t,Lt]=function Re(P){const h=P.indexOf("-x-");-1!==h&&(P=P.substring(0,h));const R=P.indexOf("-u-");if(-1===R)return[P];{let B,be;try{B=Bn(P).resolvedOptions(),be=P}catch{const Lt=P.substring(0,R);B=Bn(Lt).resolvedOptions(),be=Lt}const{numberingSystem:qe,calendar:tt}=B;return[be,qe,tt]}}(h);this.locale=tt,this.numberingSystem=R||_t||null,this.outputCalendar=B||Lt||null,this.weekSettings=be,this.intl=function We(P,h,R){return(R||h)&&(P.includes("-u-")||(P+="-u"),R&&(P+=`-ca-${R}`),h&&(P+=`-nu-${h}`)),P}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=qe,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function un(P){return(!P.numberingSystem||"latn"===P.numberingSystem)&&("latn"===P.numberingSystem||!P.locale||P.locale.startsWith("en")||"latn"===lt(P.locale).numberingSystem)}(this)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(h){return h&&0!==Object.getOwnPropertyNames(h).length?_n.create(h.locale||this.specifiedLocale,h.numberingSystem||this.numberingSystem,h.outputCalendar||this.outputCalendar,wn(h.weekSettings)||this.weekSettings,h.defaultToEN||!1):this}redefaultToEN(h={}){return this.clone({...h,defaultToEN:!0})}redefaultToSystem(h={}){return this.clone({...h,defaultToEN:!1})}months(h,R=!1){return Tt(this,h,Ae,()=>
1{const B=R?{month:h,day:"numeric"}:{month:h},be=R?"format":"standalone";return this.monthsCache[be][h]||(this.monthsCache[be][h]=function ct(P){const h=[];for(let R=1;R<=12;R++){const B=Mn.utc(2009,R,1);h.push(P(B))}return h}(qe=>this.extract(qe,B,"month"))),this.monthsCache[be][h]})}weekdays(h,R=!1){return Tt(this,h,F,()=>{const B=R?{weekday:h,year:"numeric",month:"long",day:"numeric"}:{weekday:h},be=R?"format":"standalone";return this.weekdaysCache[be][h]||(this.weekdaysCache[be][h]=function ft(P){const h=[];for(let R=1;R<=7;R++){const B=Mn.utc(2016,11,13+R);h.push(P(B))}return h}(qe=>this.extract(qe,B,"weekday"))),this.weekdaysCache[be][h]})}meridiems(){return Tt(this,void 0,()=>we,()=>{if(!this.meridiemCache){const h={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Mn.utc(2016,11,13,9),Mn.utc(2016,11,13,19)].map(R=>this.extract(R,h,"dayperiod"))}return this.meridiemCache})}eras(h){return Tt(this,h,Zi,()=>{const R={era:h};return this.eraCache[h]||(this.eraCache[h]=[Mn.utc(-40,1,1),Mn.utc(2017,1,1)].map(B=>this.extract(B,R,"era"))),this.eraCache[h]})}extract(h,R,B){const tt=this.dtFormatter(h,R).formatToParts().find(_t=>_t.type.toLowerCase()===B);return tt?tt.value:null}numberFormatter(h={}){return new Dn(this.intl,h.forceSimple||this.fastNumbers,h)}dtFormatter(h,R={}){return new rn(h,this.intl,R)}relFormatter(h={}){return new vn(this.intl,this.isEnglish(),h)}listFormatter(h={}){return function $n(P,h={}){const R=JSON.stringify([P,h]);let B=Zt[R];return B||(B=new Intl.ListFormat(P,h),Zt[R]=B),B}(this.intl,h)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||lt(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:At()?function ae(P){let h=ze.get(P);if(!h){const R=new Intl.Locale(P);h="getWeekInfo"in R?R.getWeekInfo():R.weekInfo,"minimalDays"in h||(h={...Pt,...h}),ze.set(P,h)}return h}(this.locale):Pt}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(h){return this.locale===h.locale&&this.numberingSystem===h.numberingSystem&&this.outputCalendar===h.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let he=null;class me extends yt{static get utcInstance(){return null===he&&(he=new me(0)),he}static instance(h){return 0===h?me.utcInstance:new me(h)}static parseSpecifier(h){if(h){const R=h.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(R)return new me(le(R[1],R[2]))}return null}constructor(h){super(),this.fixed=h}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Te(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Te(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(h,R){return Te(this.fixed,R)}get isUniversal(){return!0}offset(){return this.fixed}equals(h){return"fixed"===h.type&&h.fixed===this.fixed}get isValid(){return!0}}class se extends yt{constructor(h){super(),this.zoneName=h}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function q(P,h){if(An(P)||null===P)return h;if(P instanceof yt)return P;if(function Se(P){return"string"==typeof P}(P)){const B=P.toLowerCase();return"default"===B?h:"local"===B||"system"===B?Ne.instance:"utc"===B||"gmt"===B?me.utcInstance:me.parseSpecifier(B)||Un.create(P)}return Bi(P)?me.instance(P):"object"==typeof P&&"offset"in P&&"function"==typeof P.offset?P:new se(P)}const Ce={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},dt={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ze=Ce.hanidec.replace(/[\[|\]]/g,"").split(""),at=new Map;function _e({numberingSystem:P},h=""){const R=P||"latn";let B=at.get(R);void 0===B&&(B=new Map,at.set(R,B));let be=B.get(h);return void 0===be&&(be=new RegExp(`${Ce[R]}${h}`),B.set(h,be)),be}let bt,Ke=()=>Date.now(),De="system",Ue=null,Mt=null,Qt=null,nn=60,xe=null;class ee{static get now(){return Ke}static set now(h){Ke=h}static set defaultZone(h){De=h}static get defaultZone(){return q(De,Ne.instance)}static get defaultLocale(){return Ue}static set defaultLocale(h){Ue=h}static get defaultNumberingSystem(){return Mt}static set defaultNumberingSystem(h){Mt=h}
1static get defaultOutputCalendar(){return Qt}static set defaultOutputCalendar(h){Qt=h}static get defaultWeekSettings(){return xe}static set defaultWeekSettings(h){xe=wn(h)}static get twoDigitCutoffYear(){return nn}static set twoDigitCutoffYear(h){nn=h%100}static get throwOnInvalid(){return bt}static set throwOnInvalid(h){bt=h}static resetCaches(){_n.resetCache(),Un.resetCache(),Mn.resetCache(),function Vt(){at.clear()}()}}class H{constructor(h,R){this.reason=h,this.explanation=R}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const k=[0,31,59,90,120,151,181,212,243,273,304,334],z=[0,31,60,91,121,152,182,213,244,274,305,335];function U(P,h){return new H("unit out of range",`you specified ${h} (of type ${typeof h}) as a ${P}, which is invalid`)}function J(P,h,R){const B=new Date(Date.UTC(P,h-1,R));P<100&&P>=0&&B.setUTCFullYear(B.getUTCFullYear()-1900);const be=B.getUTCDay();return 0===be?7:be}function Q(P,h,R){return R+(Zn(P)?z:k)[h-1]}function de(P,h){const R=Zn(P)?z:k,B=R.findIndex(qe=>qe<h);return{month:B+1,day:h-R[B]}}function Le(P,h){return(P-h+7)%7+1}function Et(P,h=4,R=1){const{year:B,month:be,day:qe}=P,tt=Q(B,be,qe),_t=Le(J(B,be,qe),R);let an,Lt=Math.floor((tt-_t+14-h)/7);return Lt<1?(an=B-1,Lt=Li(an,h,R)):Lt>Li(B,h,R)?(an=B+1,Lt=1):an=B,{weekYear:an,weekNumber:Lt,weekday:_t,...je(P)}}function jt(P,h=4,R=1){const{weekYear:B,weekNumber:be,weekday:qe}=P,tt=Le(J(B,1,h),R),_t=hi(B);let an,Lt=7*be+qe-tt-7+h;Lt<1?(an=B-1,Lt+=hi(an)):Lt>_t?(an=B+1,Lt-=hi(B)):an=B;const{month:Gn,day:pi}=de(an,Lt);return{year:an,month:Gn,day:pi,...je(P)}}function cn(P){const{year:h,month:R,day:B}=P;return{year:h,ordinal:Q(h,R,B),...je(P)}}function kn(P){const{year:h,ordinal:R}=P,{month:B,day:be}=de(h,R);return{year:h,month:B,day:be,...je(P)}}function hn(P,h){if(An(P.localWeekday)&&An(P.localWeekNumber)&&An(P.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!An(P.weekday)||!An(P.weekNumber)||!An(P.weekYear))throw new l("Cannot mix locale-based week fields with ISO-based week fields");return An(P.localWeekday)||(P.weekday=P.localWeekday),An(P.localWeekNumber)||(P.weekNumber=P.localWeekNumber),An(P.localWeekYear)||(P.weekYear=P.localWeekYear),delete P.localWeekday,delete P.localWeekNumber,delete P.localWeekYear,{minDaysInFirstWeek:h.getMinDaysInFirstWeek(),startOfWeek:h.getStartOfWeek()}}function fn(P){const h=Wi(P.year),R=dn(P.month,1,12),B=dn(P.day,1,tr(P.year,P.month));return h?R?!B&&U("day",P.day):U("month",P.month):U("year",P.year)}function Ri(P){const{hour:h,minute:R,second:B,millisecond:be}=P,qe=dn(h,0,23)||24===h&&0===R&&0===B&&0===be,tt=dn(R,0,59),_t=dn(B,0,59),Lt=dn(be,0,999);return qe?tt?_t?!Lt&&U("millisecond",be):U("second",B):U("minute",R):U("hour",h)}function An(P){return typeof P>"u"}function Bi(P){return"number"==typeof P}function Wi(P){return"number"==typeof P&&P%1==0}function Ge(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function At(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function qt(P,h,R){if(0!==P.length)return P.reduce((B,be)=>{const qe=[h(be),be];return B&&R(B[0],qe[0])===B[0]?B:qe},null)[1]}function jn(P,h){return Object.prototype.hasOwnProperty.call(P,h)}function wn(P){if(null==P)return null;if("object"!=typeof P)throw new g("Week settings must be an object");if(!dn(P.firstDay,1,7)||!dn(P.minimalDays,1,7)||!Array.isArray(P.weekend)||P.weekend.some(h=>!dn(h,1,7)))throw new g("Invalid week settings");return{firstDay:P.firstDay,minimalDays:P.minimalDays,weekend:Array.from(P.weekend)}}function dn(P,h,R){return Wi(P)&&P>=h&&P<=R}function Tn(P,h=2){let B;return B=P<0?"-"+(""+-P).padStart(h,"0"):(""+P).padStart(h,"0"),B}function Kn(P){if(!An(P)&&null!==P&&""!==P)return parseInt(P,10)}function ri(P){if(!An(P)&&null!==P&&""!==P)return parseFloat(P)}function Di(P){if(!An(P)&&null!==P&&""!==P){const h=1e3*parseFloat("0."+P);return Math.floor(h)}}function Yn(P,h,R=!1){const B=10**h;return(R?Math.trunc:Math.round)(P*B)/B}function Zn(P){return P%4==0&&(P%100!=0||P%400==0)}function hi(P){return Zn(P)?366:365}function tr(P,h){const R=function ei(P,h){return P-h*Math.floor(P/h)}(h-1,12)+1;return 2===R?Zn(P+(h-R)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][R-1]}function Mi(P){let h=Date.UTC(P.year,P.month-1,P.day,P.hour,P.minute,P.second,P.millisecond);return P.year<100&&P.year>=0&&(h=new Date(h),h.setUTCFullYear(P.year,P.month-1,P.day)),+h}function Pi(P,h,R){return-Le(J(P,1,h),R)+h-1}function Li(P,h=4,R=1){const B=Pi(P,h,R),be=Pi(P+1,h,R);
vendor: 17,862 bytes, line 1
1return(hi(P)-B+be)/7}function Yi(P){return P>99?P:P>ee.twoDigitCutoffYear?1900+P:2e3+P}function Hn(P,h,R,B=null){const be=new Date(P),qe={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};B&&(qe.timeZone=B);const tt={timeZoneName:h,...qe},_t=new Intl.DateTimeFormat(R,tt).formatToParts(be).find(Lt=>"timezonename"===Lt.type.toLowerCase());return _t?_t.value:null}function le(P,h){let R=parseInt(P,10);Number.isNaN(R)&&(R=0);const B=parseInt(h,10)||0;return 60*R+(R<0||Object.is(R,-0)?-B:B)}function L(P){const h=Number(P);if("boolean"==typeof P||""===P||Number.isNaN(h))throw new g(`Invalid unit value ${P}`);return h}function fe(P,h){const R={};for(const B in P)if(jn(P,B)){const be=P[B];if(null==be)continue;R[h(B)]=L(be)}return R}function Te(P,h){const R=Math.trunc(Math.abs(P/60)),B=Math.trunc(Math.abs(P%60)),be=P>=0?"+":"-";switch(h){case"short":return`${be}${Tn(R,2)}:${Tn(B,2)}`;case"narrow":return`${be}${R}${B>0?`:${B}`:""}`;case"techie":return`${be}${Tn(R,2)}${Tn(B,2)}`;default:throw new RangeError(`Value format ${h} is out of range for property format`)}}function je(P){return function en(P,h){return h.reduce((R,B)=>(R[B]=P[B],R),{})}(P,["hour","minute","second","millisecond"])}const zt=["January","February","March","April","May","June","July","August","September","October","November","December"],tn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ti=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ae(P){switch(P){case"narrow":return[...ti];case"short":return[...tn];case"long":return[...zt];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Ut=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],v=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],$=["M","T","W","T","F","S","S"];function F(P){switch(P){case"narrow":return[...$];case"short":return[...v];case"long":return[...Ut];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const we=["AM","PM"],st=["Before Christ","Anno Domini"],Nn=["BC","AD"],mr=["B","A"];function Zi(P){switch(P){case"narrow":return[...mr];case"short":return[...Nn];case"long":return[...st];default:return null}}function Ki(P,h){let R="";for(const B of P)R+=B.literal?B.val:h(B.val);return R}const fs={D:Z,DD:re,DDD:Me,DDDD:Oe,t:ie,tt:ge,ttt:ye,tttt:rt,T:Ft,TT:Bt,TTT:Ve,TTTT:mt,f:Pe,ff:ke,fff:Ct,ffff:kt,F:Je,FF:He,FFF:Ot,FFFF:Qe};class Fn{static create(h,R={}){return new Fn(h,R)}static parseFormat(h){let R=null,B="",be=!1;const qe=[];for(let tt=0;tt<h.length;tt++){const _t=h.charAt(tt);"'"===_t?(B.length>0&&qe.push({literal:be||/^\s+$/.test(B),val:B}),R=null,B="",be=!be):be||_t===R?B+=_t:(B.length>0&&qe.push({literal:/^\s+$/.test(B),val:B}),B=_t,R=_t)}return B.length>0&&qe.push({literal:be||/^\s+$/.test(B),val:B}),qe}static macroTokenToFormatOpts(h){return fs[h]}constructor(h,R){this.opts=R,this.loc=h,this.systemLoc=null}formatWithSystemDefault(h,R){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(h,{...this.opts,...R}).format()}dtFormatter(h,R={}){return this.loc.dtFormatter(h,{...this.opts,...R})}formatDateTime(h,R){return this.dtFormatter(h,R).format()}formatDateTimeParts(h,R){return this.dtFormatter(h,R).formatToParts()}formatInterval(h,R){return this.dtFormatter(h.start,R).dtf.formatRange(h.start.toJSDate(),h.end.toJSDate())}resolvedOptions(h,R){return this.dtFormatter(h,R).resolvedOptions()}num(h,R=0){if(this.opts.forceSimple)return Tn(h,R);const B={...this.opts};return R>0&&(B.padTo=R),this.loc.numberFormatter(B).format(h)}formatDateTimeFromString(h,R){const B="en"===this.loc.listingMode(),be=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,qe=(qn,Dr)=>this.loc.extract(h,qn,Dr),tt=qn=>h.isOffsetFixed&&0===h.offset&&qn.allowZ?"Z":h.isValid?h.zone.formatOffset(h.ts,qn.format):"",Lt=(qn,Dr)=>B?function rr(P,h){return Ae(h)[P.month-1]}(h,qn):qe(Dr?{month:qn}:{month:qn,day:"numeric"},"month"),an=(qn,Dr)=>B?function zi(P,h){return F(h)[P.weekday-1]}(h,qn):qe(Dr?{weekday:qn}:{weekday:qn,month:"long",day:"numeric"},"weekday"),Gn=qn=>{const Dr=Fn.macroTokenToFormatOpts(qn);return Dr?this.formatWithSystemDefault(h,Dr):qn},pi=qn=>B?function Js(P,h){return Zi(h)[P.year<0?0:1]}(h,qn):qe({era:qn},"era");return Ki(Fn.parseFormat(R),qn=>{switch(qn){case"S":return this.num(h.millisecond);case"u":case"SSS":return this.num(h.millisecond,3);case"s":return this.num(h.second);case"ss":return this.num(h.second,2);case"uu":return this.num(Math.floor(h.millisecond/10),2);case"uuu":return this.num(Math.floor(h.millisecond/100));case"m":return this.num(h.minute);case"mm":return this.num(h.minute,2);case"h":return this.num(h.hour%12==0?12:h.hour%12);case"hh":return this.num(h.hour%12==0?12:h.hour%12,2);case"H":return this.num(h.hour);case"HH":return this.num(h.hour,2);case"Z":return tt({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return tt({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return tt({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return h.zone.offsetName(h.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return h.zone.offsetName(h.ts,{format:"long",locale:this.loc.locale});case"z":return h.zoneName;case"a":return B?function ir(P){return we[P.hour<12?0:1]}(h):qe({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return be?qe({day:"numeric"},"day"):this.num(h.day);case"dd":return be?qe({day:"2-digit"},"day"):this.num(h.day,2);case"c":case"E":return this.num(h.weekday);case"ccc":return an("short",!0);case"cccc":return an("long",!0);case"ccccc":return an("narrow",!0);case"EEE":return an("short",!1);case"EEEE":return an("long",!1);case"EEEEE":return an("narrow",!1);case"L":return be?qe({month:"numeric",day:"numeric"},"month"):this.num(h.month);case"LL":return be?qe({month:"2-digit",day:"numeric"},"month"):this.num(h.month,2);case"LLL":return Lt("short",!0);case"LLLL":return Lt("long",!0);case"LLLLL":return Lt("narrow",!0);case"M":return be?qe({month:"numeric"},"month"):this.num(h.month);case"MM":return be?qe({month:"2-digit"},"month"):this.num(h.month,2);case"MMM":return Lt("short",!1);case"MMMM":return Lt("long",!1);case"MMMMM":return Lt("narrow",!1);case"y":return be?qe({year:"numeric"},"year"):this.num(h.year);case"yy":return be?qe({year:"2-digit"},"year"):this.num(h.year.toString().slice(-2),2);case"yyyy":return be?qe({year:"numeric"},"year"):this.num(h.year,4);case"yyyyyy":return be?qe({year:"numeric"},"year"):this.num(h.year,6);case"G":return pi("short");case"GG":return pi("long");case"GGGGG":return pi("narrow");case"kk":return this.num(h.weekYear.toString().slice(-2),2);case"kkkk":return this.num(h.weekYear,4);case"W":return this.num(h.weekNumber);case"WW":return this.num(h.weekNumber,2);case"n":return this.num(h.localWeekNumber);case"nn":return this.num(h.localWeekNumber,2);case"ii":return this.num(h.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(h.localWeekYear,4);case"o":return this.num(h.ordinal);case"ooo":return this.num(h.ordinal,3);case"q":return this.num(h.quarter);case"qq":return this.num(h.quarter,2);case"X":return this.num(Math.floor(h.ts/1e3));case"x":return this.num(h.ts);default:return Gn(qn)}})}formatDurationFromString(h,R){const B=Lt=>{switch(Lt[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},qe=Fn.parseFormat(R),tt=qe.reduce((Lt,{literal:an,val:Gn})=>an?Lt:Lt.concat(Gn),[]);return Ki(qe,(Lt=>an=>{const Gn=B(an);return Gn?this.num(Lt.get(Gn),an.length):an})(h.shiftTo(...tt.map(B).filter(Lt=>Lt))))}}const Ar=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Or(...P){const h=P.reduce((R,B)=>R+B.source,"");return RegExp(`^${h}$`)}function Cr(...P){return h=>P.reduce(([R,B,be],qe)=>{const[tt,_t,Lt]=qe(h,be);return[{...R,...tt},_t||B,Lt]},[{},null,1]).slice(0,2)}function jr(P,...h){if(null==P)return[null,null];for(const[R,B]of h){const be=R.exec(P);if(be)return B(be)}return[null,null]}function mo(...P){return(h,R)=>{const B={};let be;for(be=0;be<P.length;be++)B[P[be]]=Kn(h[R+be]);return[B,null,R+be]}}const ss=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Er=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ys=RegExp(`${Er.source}(?:${ss.source}?(?:\\[(${Ar.source})\\])?)?`),Hr=RegExp(`(?:T${ys.source})?`),$i=mo("weekYear","weekNumber","weekDay"),zr=mo("year","ordinal"),Ls=RegExp(`${Er.source} ?(?:${ss.source}|(${Ar.source}))?`),ms=RegExp(`(?: ${Ls.source})?`);function ps(P,h,R){const B=P[h];return An(B)?R:Kn(B)}function Rr(P,h){return[{hours:ps(P,h,0),minutes:ps(P,h+1,0),seconds:ps(P,h+2,0),milliseconds:Di(P[h+3])},null,h+4]}function $r(P,h){const R=!P[h]&&!P[h+1],B=le(P[h+1],P[h+2]);return[{},R?null:me.instance(B),h+3]}function pr(P,h){return[{},P[h]?Un.create(P[h]):null,h+1]}const as=RegExp(`^T?${Er.source}$`),sr=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vs(P){const[h,R,B,be,qe,tt,_t,Lt,an]=P,Gn="-"===h[0],pi=Lt&&"-"===Lt[0],cr=(qn,Dr=!1)=>void 0!==qn&&(Dr||qn&&Gn)?-qn:qn;return[{years:cr(ri(R)),months:cr(ri(B)),weeks:cr(ri(be)),days:cr(ri(qe)),hours:cr(ri(tt)),minutes:cr(ri(_t)),seconds:cr(ri(Lt),"-0"===Lt),milliseconds:cr(Di(an),pi)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function wr(P,h,R,B,be,qe,tt){const _t={year:2===h.length?Yi(Kn(h)):Kn(h),month:tn.indexOf(R)+1,day:Kn(B),hour:Kn(be),minute:Kn(qe)};return tt&&(_t.second=Kn(tt)),P&&(_t.weekday=P.length>3?Ut.indexOf(P)+1:v.indexOf(P)+1),_t}const vi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function bs(P){const[,h,R,B,be,qe,tt,_t,Lt,an,Gn,pi]=P,cr=wr(h,be,B,R,qe,tt,_t);let qn;return qn=Lt?Us[Lt]:an?0:le(Gn,pi),[cr,new me(qn)]}const or=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,gs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,eo=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function xr(P){const[,h,R,B,be,qe,tt,_t]=P;return[wr(h,be,B,R,qe,tt,_t),me.utcInstance]}function Yr(P){const[,h,R,B,be,qe,tt,_t]=P;return[wr(h,_t,R,B,be,qe,tt),me.utcInstance]}const Fo=Or(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Hr),po=Or(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Hr),G=Or(/(\d{4})-?(\d{3})/,Hr),te=Or(ys),O=Cr(function Sr(P,h){return[{year:ps(P,h),month:ps(P,h+1,1),day:ps(P,h+2,1)},null,h+3]},Rr,$r,pr),ve=Cr($i,Rr,$r,pr),et=Cr(zr,Rr,$r,pr),Rn=Cr(Rr,$r,pr),xs=Cr(Rr),go=Or(/(\d{4})-(\d\d)-(\d\d)/,ms),Lo=Or(Ls),ji=Cr(Rr,$r,pr),Vo="Invalid Duration",qo={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},ga={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...qo},Zr=365.2425,Nr=30.436875,Uo={years:{quarters:4,months:12,weeks:Zr/7,days:Zr,hours:24*Zr,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:Zr/28,days:Zr/4,hours:24*Zr/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:Nr/7,days:Nr,hours:24*Nr,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...qo},Qr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ms=Qr.slice(0).reverse();function kr(P,h,R=!1){const B={values:R?h.values:{...P.values,...h.values||{}},loc:P.loc.clone(h.loc),conversionAccuracy:h.conversionAccuracy||P.conversionAccuracy,matrix:h.matrix||P.matrix};return new Qn(B)}function ea(P,h){let R=h.milliseconds??0;for(const B of Ms.slice(1))h[B]&&(R+=h[B]*P[B].milliseconds);return R}function vo(P,h){const R=ea(P,h)<0?-1:1;Qr.reduceRight((B,be)=>{if(An(h[be]))return B;if(B){const tt=P[be][B],_t=Math.floor(h[B]*R/tt);h[be]+=_t*R,h[B]-=_t*tt*R}return be},null),Qr.reduce((B,be)=>{if(An(h[be]))return B;if(B){const qe=h[B]%1;h[B]-=qe,h[be]+=qe*P[B][be]}return be},null)}class Qn{constructor(h){const R="longterm"===h.conversionAccuracy||!1;let B=R?Uo:ga;h.matrix&&(B=h.matrix),this.values=h.values,this.loc=h.loc||_n.create(),this.conversionAccuracy=R?"longterm":"casual",this.invalid=h.invalid||null,this.matrix=B,this.isLuxonDuration=!0}static fromMillis(h,R){return Qn.fromObject({milliseconds:h},R)}static fromObject(h,R={}){if(null==h||"object"!=typeof h)throw new g("Duration.fromObject: argument expected to be an object, got "+(null===h?"null":typeof h));return new Qn({values:fe(h,Qn.normalizeUnit),loc:_n.fromObject(R),conversionAccuracy:R.conversionAccuracy,matrix:R.matrix})}static fromDurationLike(h){if(Bi(h))return Qn.fromMillis(h);if(Qn.isDuration(h))return h;if("object"==typeof h)return Qn.fromObject(h);throw new g(`Unknown duration argument ${h} of type ${typeof h}`)}static fromISO(h,R){const[B]=function gr(P){return jr(P,[sr,Vs])}(h);return B?Qn.fromObject(B,R):Qn.invalid("unparsable",`the input "${h}" can't be parsed as ISO 8601`)}static fromISOTime(h,R){const[B]=function Jo(P){return jr(P,[as,xs])}(h);return B?Qn.fromObject(B,R):Qn.invalid("unparsable",`the input "${h}" can't be parsed as ISO 8601`)}static invalid(h,R=null){if(!h)throw new g("need to specify a reason the Duration is invalid");const B=h instanceof H?h:new H(h,R);if(ee.throwOnInvalid)throw new I(B);return new Qn({invalid:B})}static normalizeUnit(h){const R={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[h&&h.toLowerCase()];if(!R)throw new u(h);return R}static isDuration(h){return h&&h.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(h,R={}){const B={...R,floor:!1!==R.round&&!1!==R.floor};return this.isValid?Fn.create(this.loc,B).formatDurationFromString(this,h):Vo}toHuman(h={}){if(!this.isValid)return Vo;const R=Qr.map(B=>{const be=this.values[B];return An(be)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...h,unit:B.slice(0,-1)}).format(be)}).filter(B=>B);return this.loc.listFormatter({type:"conjunction",style:h.listStyle||"narrow",...h}).format(R)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let h="P";return 0!==this.years&&(h+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(h+=this.months+3*this.quarters+"M"),0!==this.weeks&&(h+=this.weeks+"W"),0!==this.days&&(h+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(h+="T"),0!==this.hours&&(h+=this.hours+"H"),0!==this.minutes&&(h+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(h+=Yn(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===h&&(h+="T0S"),h}toISOTime(h={}){if(!this.isValid)return null;const R=this.toMillis();return R<0||R>=864e5?null:(h={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...h,includeOffset:!1},Mn.fromMillis(R,{zone:"UTC"}).toISOTime(h))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ea(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(h){if(!this.isValid)return this;const R=Qn.fromDurationLike(h),B={};for(const be of Qr)(jn(R.values,be)||jn(this.values,be))&&(B[be]=R.get(be)+this.get(be));return kr(this,{values:B},!0)}minus(h){if(!this.isValid)return this;const R=Qn.fromDurationLike(h);return this.plus(R.negate())}mapUnits(h){if(!this.isValid)return this;const R={};for(const B of Object.keys(this.values))R[B]=L(h(this.values[B],B));return kr(this,{values:R},!0)}get(h){return this[Qn.normalizeUnit(h)]}set(h){return this.isValid?kr(this,{values:{...this.values,...fe(h,Qn.normalizeUnit)}}):this}reconfigure({locale:h,numberingSystem:R,conversionAccuracy:B,matrix:be}={}){return kr(this,{loc:this.loc.clone({locale:h,numberingSystem:R}),matrix:be,conversionAccuracy:B})}as(h){return this.isValid?this.shiftTo(h).get(h):NaN}normalize(){if(!this.isValid)return this;const h=this.toObject();return vo(this.matrix,h),kr(this,{values:h},!0)}rescale(){return this.isValid?kr(this,{values:function fi(P){const h={};for(const[R,B]of Object.entries(P))0!==B&&(h[R]=B);return h}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...h){if(!this.isValid)return this;if(0===h.length)return this;h=h.map(tt=>Qn.normalizeUnit(tt));const R={},B={},be=this.toObject();let qe;for(const tt of Qr)if(h.indexOf(tt)>=0){qe=tt;let _t=0;for(const an in B)_t+=this.matrix[an][tt]*B[an],B[an]=0;Bi(be[tt])&&(_t+=be[tt]);const Lt=Math.trunc(_t);R[tt]=Lt,B[tt]=(1e3*_t-1e3*Lt)/1e3}else Bi(be[tt])&&(B[tt]=be[tt]);
1for(const tt in B)0!==B[tt]&&(R[qe]+=tt===qe?B[tt]:B[tt]/this.matrix[qe][tt]);return vo(this.matrix,R),kr(this,{values:R},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const h={};for(const R of Object.keys(this.values))h[R]=0===this.values[R]?0:-this.values[R];return kr(this,{values:h},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(h){if(!this.isValid||!h.isValid||!this.loc.equals(h.loc))return!1;function R(B,be){return void 0===B||0===B?void 0===be||0===be:B===be}for(const B of Qr)if(!R(this.values[B],h.values[B]))return!1;return!0}}const Ni="Invalid Interval";class di{constructor(h){this.s=h.start,this.e=h.end,this.invalid=h.invalid||null,this.isLuxonInterval=!0}static invalid(h,R=null){if(!h)throw new g("need to specify a reason the Interval is invalid");const B=h instanceof H?h:new H(h,R);if(ee.throwOnInvalid)throw new x(B);return new di({invalid:B})}static fromDateTimes(h,R){const B=Gi(h),be=Gi(R),qe=function Wr(P,h){return P&&P.isValid?h&&h.isValid?h<P?di.invalid("end before start",`The end of an interval must be after its start, but you had start=${P.toISO()} and end=${h.toISO()}`):null:di.invalid("missing or invalid end"):di.invalid("missing or invalid start")}(B,be);return qe??new di({start:B,end:be})}static after(h,R){const B=Qn.fromDurationLike(R),be=Gi(h);return di.fromDateTimes(be,be.plus(B))}static before(h,R){const B=Qn.fromDurationLike(R),be=Gi(h);return di.fromDateTimes(be.minus(B),be)}static fromISO(h,R){const[B,be]=(h||"").split("/",2);if(B&&be){let qe,tt,_t,Lt;try{qe=Mn.fromISO(B,R),tt=qe.isValid}catch{tt=!1}try{_t=Mn.fromISO(be,R),Lt=_t.isValid}catch{Lt=!1}if(tt&&Lt)return di.fromDateTimes(qe,_t);if(tt){const an=Qn.fromISO(be,R);if(an.isValid)return di.after(qe,an)}else if(Lt){const an=Qn.fromISO(B,R);if(an.isValid)return di.before(_t,an)}}return di.invalid("unparsable",`the input "${h}" can't be parsed as ISO 8601`)}static isInterval(h){return h&&h.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(h="milliseconds"){return this.isValid?this.toDuration(h).get(h):NaN}count(h="milliseconds",R){if(!this.isValid)return NaN;const B=this.start.startOf(h,R);let be;return be=R?.useLocaleWeeks?this.end.reconfigure({locale:B.locale}):this.end,be=be.startOf(h,R),Math.floor(be.diff(B,h).get(h))+(be.valueOf()!==this.end.valueOf())}hasSame(h){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,h))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(h){return!!this.isValid&&this.s>h}isBefore(h){return!!this.isValid&&this.e<=h}contains(h){return!!this.isValid&&this.s<=h&&this.e>h}set({start:h,end:R}={}){return this.isValid?di.fromDateTimes(h||this.s,R||this.e):this}splitAt(...h){if(!this.isValid)return[];const R=h.map(Gi).filter(tt=>this.contains(tt)).sort((tt,_t)=>tt.toMillis()-_t.toMillis()),B=[];let{s:be}=this,qe=0;for(;be<this.e;){const tt=R[qe]||this.e,_t=+tt>+this.e?this.e:tt;B.push(di.fromDateTimes(be,_t)),be=_t,qe+=1}return B}splitBy(h){const R=Qn.fromDurationLike(h);if(!this.isValid||!R.isValid||0===R.as("milliseconds"))return[];let qe,{s:B}=this,be=1;const tt=[];for(;B<this.e;){const _t=this.start.plus(R.mapUnits(Lt=>Lt*be));qe=+_t>+this.e?this.e:_t,tt.push(di.fromDateTimes(B,qe)),B=qe,be+=1}return tt}divideEqually(h){return this.isValid?this.splitBy(this.length()/h).slice(0,h):[]}overlaps(h){return this.e>h.s&&this.s<h.e}abutsStart(h){return!!this.isValid&&+this.e==+h.s}abutsEnd(h){return!!this.isValid&&+h.e==+this.s}engulfs(h){return!!this.isValid&&this.s<=h.s&&this.e>=h.e}
1equals(h){return!(!this.isValid||!h.isValid)&&this.s.equals(h.s)&&this.e.equals(h.e)}intersection(h){if(!this.isValid)return this;const R=this.s>h.s?this.s:h.s,B=this.e<h.e?this.e:h.e;return R>=B?null:di.fromDateTimes(R,B)}union(h){return this.isValid?di.fromDateTimes(this.s<h.s?this.s:h.s,this.e>h.e?this.e:h.e):this}static merge(h){const[R,B]=h.sort((be,qe)=>be.s-qe.s).reduce(([be,qe],tt)=>qe?qe.overlaps(tt)||qe.abutsStart(tt)?[be,qe.union(tt)]:[be.concat([qe]),tt]:[be,tt],[[],null]);return B&&R.push(B),R}static xor(h){let R=null,B=0;const be=[],qe=h.map(Lt=>[{time:Lt.s,type:"s"},{time:Lt.e,type:"e"}]),_t=Array.prototype.concat(...qe).sort((Lt,an)=>Lt.time-an.time);for(const Lt of _t)B+="s"===Lt.type?1:-1,1===B?R=Lt.time:(R&&+R!=+Lt.time&&be.push(di.fromDateTimes(R,Lt.time)),R=null);return di.merge(be)}difference(...h){return di.xor([this].concat(h)).map(R=>this.intersection(R)).filter(R=>R&&!R.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Ni}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(h=Z,R={}){return this.isValid?Fn.create(this.s.loc.clone(R),h).formatInterval(this):Ni}toISO(h){return this.isValid?`${this.s.toISO(h)}/${this.e.toISO(h)}`:Ni}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ni}toISOTime(h){return this.isValid?`${this.s.toISOTime(h)}/${this.e.toISOTime(h)}`:Ni}toFormat(h,{separator:R=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(h)}${R}${this.e.toFormat(h)}`:Ni}toDuration(h,R){return this.isValid?this.e.diff(this.s,h,R):Qn.invalid(this.invalidReason)}mapEndpoints(h){return di.fromDateTimes(h(this.s),h(this.e))}}class Ss{static hasDST(h=ee.defaultZone){const R=Mn.now().setZone(h).set({month:12});return!h.isUniversal&&R.offset!==R.set({month:6}).offset}static isValidIANAZone(h){return Un.isValidZone(h)}static normalizeZone(h){return q(h,ee.defaultZone)}static getStartOfWeek({locale:h=null,locObj:R=null}={}){return(R||_n.create(h)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:h=null,locObj:R=null}={}){return(R||_n.create(h)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:h=null,locObj:R=null}={}){return(R||_n.create(h)).getWeekendDays().slice()}static months(h="long",{locale:R=null,numberingSystem:B=null,locObj:be=null,outputCalendar:qe="gregory"}={}){return(be||_n.create(R,B,qe)).months(h)}static monthsFormat(h="long",{locale:R=null,numberingSystem:B=null,locObj:be=null,outputCalendar:qe="gregory"}={}){return(be||_n.create(R,B,qe)).months(h,!0)}static weekdays(h="long",{locale:R=null,numberingSystem:B=null,locObj:be=null}={}){return(be||_n.create(R,B,null)).weekdays(h)}static weekdaysFormat(h="long",{locale:R=null,numberingSystem:B=null,locObj:be=null}={}){return(be||_n.create(R,B,null)).weekdays(h,!0)}static meridiems({locale:h=null}={}){return _n.create(h).meridiems()}static eras(h="short",{locale:R=null}={}){return _n.create(R,null,"gregory").eras(h)}static features(){return{relative:Ge(),localeWeek:At()}}}function Ds(P,h){const R=be=>be.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),B=R(h)-R(P);return Math.floor(Qn.fromMillis(B).as("days"))}function Ei(P,h=(R=>R)){return{regex:P,deser:([R])=>h(function Ht(P){let h=parseInt(P,10);if(isNaN(h)){h="";for(let R=0;R<P.length;R++){const B=P.charCodeAt(R);if(-1!==P[R].search(Ce.hanidec))h+=Ze.indexOf(P[R]);else for(const be in dt){const[qe,tt]=dt[be];B>=qe&&B<=tt&&(h+=B-qe)}}return parseInt(h,10)}return h}(R))}}const js="[ \xa0]",Bo=new RegExp(js,"g");function To(P){return P.replace(/\./g,"\\.?").replace(Bo,js)}function na(P){return P.replace(/\./g,"").replace(Bo," ").toLowerCase()}function Kr(P,h){return null===P?null:{regex:RegExp(P.map(To).join("|")),deser:([R])=>P.findIndex(B=>na(R)===na(B))+h}}function ia(P,h){return{regex:P,deser:([,R,B])=>le(R,B),groups:h}}function no(P){return{regex:P,deser:([h])=>h}}function ra(P){return P.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const Hs={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let io=null;function zs(P,h){return Array.prototype.concat(...P.map(R=>function Jr(P,h){if(P.literal)return P;const B=vs(Fn.macroTokenToFormatOpts(P.val),h);return null==B||B.includes(void 0)?P:B}(R,h)))}class $s{constructor(h,R){if(this.locale=h,this.format=R,this.tokens=zs(Fn.parseFormat(R),h),this.units=this.tokens.map(B=>function Io(P,h){const R=_e(h),B=_e(h,"{2}"),be=_e(h,"{3}"),qe=_e(h,"{4}"),tt=_e(h,"{6}"),_t=_e(h,"{1,2}"),Lt=_e(h,"{1,3}"),an=_e(h,"{1,6}"),Gn=_e(h,"{1,9}"),pi=_e(h,"{2,4}"),cr=_e(h,"{4,6}"),qn=Jn=>({regex:RegExp(ra(Jn.val)),deser:([Xi])=>Xi,literal:!0}),es=(Jn=>{if(P.literal)return qn(Jn);switch(Jn.val){case"G":return Kr(h.eras("short"),0);case"GG":return Kr(h.eras("long"),0);case"y":return Ei(an);case"yy":case"kk":return Ei(pi,Yi);case"yyyy":case"kkkk":return Ei(qe);case"yyyyy":return Ei(cr);case"yyyyyy":return Ei(tt);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Ei(_t);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Ei(B);case"MMM":return Kr(h.months("short",!0),1);case"MMMM":return Kr(h.months("long",!0),1);case"LLL":return Kr(h.months("short",!1),1);case"LLLL":return Kr(h.months("long",!1),1);case"o":case"S":return Ei(Lt);case"ooo":case"SSS":return Ei(be);case"u":return no(Gn);case"uu":return no(_t);case"uuu":case"E":case"c":return Ei(R);case"a":return Kr(h.meridiems(),0);case"EEE":return Kr(h.weekdays("short",!1),1);case"EEEE":return Kr(h.weekdays("long",!1),1);case"ccc":return Kr(h.weekdays("short",!0),1);case"cccc":return Kr(h.weekdays("long",!0),1);case"Z":case"ZZ":return ia(new RegExp(`([+-]${_t.source})(?::(${B.source}))?`),2);case"ZZZ":return ia(new RegExp(`([+-]${_t.source})(${B.source})?`),2);case"z":return no(/[a-z_+-/]{1,256}?/i);case" ":return no(/[^\S\n\r]/);default:return qn(Jn)}})(P)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return es.token=P,es}(B,h)),this.disqualifyingUnit=this.units.find(B=>B.invalidReason),!this.disqualifyingUnit){const[B,be]=function _o(P){return[`^${P.map(R=>R.regex).reduce((R,B)=>`${R}(${B.source})`,"")}$`,P]}(this.units);this.regex=RegExp(B,"i"),this.handlers=be}}explainFromTokens(h){if(this.isValid){const[R,B]=function Ao(P,h,R){const B=P.match(h);if(B){const be={};let qe=1;for(const tt in R)if(jn(R,tt)){const _t=R[tt],Lt=_t.groups?_t.groups+1:1;!_t.literal&&_t.token&&(be[_t.token.val[0]]=_t.deser(B.slice(qe,qe+Lt))),qe+=Lt}return[B,be]}return[B,{}]}(h,this.regex,this.handlers),[be,qe,tt]=B?function Oo(P){let B,R=null;return An(P.z)||(R=Un.create(P.z)),An(P.Z)||(R||(R=new me(P.Z)),B=P.Z),An(P.q)||(P.M=3*(P.q-1)+1),An(P.h)||(P.h<12&&1===P.a?P.h+=12:12===P.h&&0===P.a&&(P.h=0)),0===P.G&&P.y&&(P.y=-P.y),An(P.u)||(P.S=Di(P.u)),[Object.keys(P).reduce((qe,tt)=>{const _t=(qe=>{switch(qe){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(tt);return _t&&(qe[_t]=P[tt]),qe},{}),R,B]}(B):[null,null,void 0];if(jn(B,"a")&&jn(B,"H"))throw new l("Can't include meridiem when specifying 24-hour format");return{input:h,tokens:this.tokens,regex:this.regex,rawMatches:R,matches:B,result:be,zone:qe,specificOffset:tt}}return{input:h,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invali
vendor: 5,623 bytes, line 1
1dReason:null}}function jo(P,h,R){return new $s(P,R).explainFromTokens(h)}function vs(P,h){if(!P)return null;const B=Fn.create(h,P).dtFormatter(function yo(){return io||(io=Mn.fromMillis(1555555555555)),io}()),be=B.formatToParts(),qe=B.resolvedOptions();return be.map(tt=>function sa(P,h,R){const{type:B,value:be}=P;if("literal"===B){const Lt=/^\s+$/.test(be);return{literal:!Lt,val:Lt?" ":be}}let tt=B;"hour"===B&&(tt=null!=h.hour12?h.hour12?"hour12":"hour24":null!=h.hourCycle?"h11"===h.hourCycle||"h12"===h.hourCycle?"hour12":"hour24":R.hour12?"hour12":"hour24");let _t=Hs[tt];if("object"==typeof _t&&(_t=_t[h[B]]),_t)return{literal:!1,val:_t}}(tt,P,qe))}const Mr="Invalid DateTime",ro=864e13;function bo(P){return new H("unsupported zone",`the zone "${P.name}" is not supported`)}function Ho(P){return null===P.weekData&&(P.weekData=Et(P.c)),P.weekData}function Ts(P){return null===P.localWeekData&&(P.localWeekData=Et(P.c,P.loc.getMinDaysInFirstWeek(),P.loc.getStartOfWeek())),P.localWeekData}function Ir(P,h){const R={ts:P.ts,zone:P.zone,c:P.c,o:P.o,loc:P.loc,invalid:P.invalid};return new Mn({...R,...h,old:R})}function zo(P,h,R){let B=P-60*h*1e3;const be=R.offset(B);if(h===be)return[B,h];B-=60*(be-h)*1e3;const qe=R.offset(B);return be===qe?[B,be]:[P-60*Math.min(be,qe)*1e3,Math.max(be,qe)]}function qr(P,h){const R=new Date(P+=60*h*1e3);return{year:R.getUTCFullYear(),month:R.getUTCMonth()+1,day:R.getUTCDate(),hour:R.getUTCHours(),minute:R.getUTCMinutes(),second:R.getUTCSeconds(),millisecond:R.getUTCMilliseconds()}}function E(P,h,R){return zo(Mi(P),h,R)}function oe(P,h){const R=P.o,B=P.c.year+Math.trunc(h.years),be=P.c.month+Math.trunc(h.months)+3*Math.trunc(h.quarters),qe={...P.c,year:B,month:be,day:Math.min(P.c.day,tr(B,be))+Math.trunc(h.days)+7*Math.trunc(h.weeks)},tt=Qn.fromObject({years:h.years-Math.trunc(h.years),quarters:h.quarters-Math.trunc(h.quarters),months:h.months-Math.trunc(h.months),weeks:h.weeks-Math.trunc(h.weeks),days:h.days-Math.trunc(h.days),hours:h.hours,minutes:h.minutes,seconds:h.seconds,milliseconds:h.milliseconds}).as("milliseconds"),_t=Mi(qe);let[Lt,an]=zo(_t,R,P.zone);return 0!==tt&&(Lt+=tt,an=P.zone.offset(Lt)),{ts:Lt,o:an}}function N(P,h,R,B,be,qe){const{setZone:tt,zone:_t}=R;if(P&&0!==Object.keys(P).length||h){const Lt=h||_t,an=Mn.fromObject(P,{...R,zone:Lt,specificOffset:qe});return tt?an:an.setZone(_t)}return Mn.invalid(new H("unparsable",`the input "${be}" can't be parsed as ${B}`))}function X(P,h,R=!0){return P.isValid?Fn.create(_n.create("en-US"),{allowZ:R,forceSimple:!0}).formatDateTimeFromString(P,h):null}function Fe(P,h){const R=P.c.year>9999||P.c.year<0;let B="";return R&&P.c.year>=0&&(B+="+"),B+=Tn(P.c.year,R?6:4),h?(B+="-",B+=Tn(P.c.month),B+="-",B+=Tn(P.c.day)):(B+=Tn(P.c.month),B+=Tn(P.c.day)),B}function It(P,h,R,B,be,qe){let tt=Tn(P.c.hour);return h?(tt+=":",tt+=Tn(P.c.minute),(0!==P.c.millisecond||0!==P.c.second||!R)&&(tt+=":")):tt+=Tn(P.c.minute),(0!==P.c.millisecond||0!==P.c.second||!R)&&(tt+=Tn(P.c.second),(0!==P.c.millisecond||!B)&&(tt+=".",tt+=Tn(P.c.millisecond,3))),be&&(P.isOffsetFixed&&0===P.offset&&!qe?tt+="Z":P.o<0?(tt+="-",tt+=Tn(Math.trunc(-P.o/60)),tt+=":",tt+=Tn(Math.trunc(-P.o%60))):(tt+="+",tt+=Tn(Math.trunc(P.o/60)),tt+=":",tt+=Tn(Math.trunc(P.o%60)))),qe&&(tt+="["+P.zone.ianaName+"]"),tt}const Kt={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},On={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Vi={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ki=["year","month","day","hour","minute","second","millisecond"],Si=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],si=["year","ordinal","hour","minute","second","millisecond"];function Ci(P){switch(P.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function nr(P){const h={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[P.toLowerCase()];if(!h)throw new u(P);return h}(P)}}function oi(P,h){const R=q(h.zone,ee.defaultZone);if(!R.isValid)return Mn.invalid(bo(R));const B=_n.fromObject(h);let be,qe;if(An(P.year))be=ee.now();else{for(const Lt of ki)An(P[Lt])&&(P[Lt]=Kt[Lt]);const tt=fn(P)||Ri(P);if(tt)return Mn.invalid(tt);const _t=function Qi(P){if(void 0===wi&&(wi=ee.now()),"iana"!==P.type)return P.offset(wi);const h=P.name;let R=vr.get(h);return void 0===R&&(R=P.offset(wi),vr.set(h,R)),R}(R);[be,qe]=E(P,_t,R)}return new Mn({ts:be,zone:R,loc:B,o:qe})}function on(P,h,R){const B=!!An(R.round)||R.round,be=(tt,_t)=>(tt=Yn(tt,B||R.calendary?0:2,!0),h.loc.clone(R).relFormatter(R).format(tt,_t)),qe=tt=>R.calendary?h.hasSame(P,tt)?0:h.startOf(tt).diff(P.startOf(tt),tt).get(tt):h.diff(P,tt).get(tt);if(R.unit)return be(qe(R.unit),R.unit);for(const tt of R.units){const _t=qe(tt);if(Math.abs(_t)>=1)return be(_t,tt)}return be(P>h?-0:0,R.units[R.units.length-1])}function Ln(P){let R,h={};return P.length>0&&"object"==typeof P[P.length-1]?(h=P[P.length-1],R=Array.from(P).slice(0,P.length-1)):R=Array.from(P),[h,R]}let wi;const vr=new Map;class Mn{constructor(h){const R=h.zone||ee.defaultZone;let B=h.invalid||(Number.isNaN(h.ts)?new H("invalid input"):null)||(
vendor: 9,704 bytes, line 1
1R.isValid?null:bo(R));this.ts=An(h.ts)?ee.now():h.ts;let be=null,qe=null;if(!B)if(h.old&&h.old.ts===this.ts&&h.old.zone.equals(R))[be,qe]=[h.old.c,h.old.o];else{const _t=Bi(h.o)&&!h.old?h.o:R.offset(this.ts);be=qr(this.ts,_t),B=Number.isNaN(be.year)?new H("invalid input"):null,be=B?null:be,qe=B?null:_t}this._zone=R,this.loc=h.loc||_n.create(),this.invalid=B,this.weekData=null,this.localWeekData=null,this.c=be,this.o=qe,this.isLuxonDateTime=!0}static now(){return new Mn({})}static local(){const[h,R]=Ln(arguments),[B,be,qe,tt,_t,Lt,an]=R;return oi({year:B,month:be,day:qe,hour:tt,minute:_t,second:Lt,millisecond:an},h)}static utc(){const[h,R]=Ln(arguments),[B,be,qe,tt,_t,Lt,an]=R;return h.zone=me.utcInstance,oi({year:B,month:be,day:qe,hour:tt,minute:_t,second:Lt,millisecond:an},h)}static fromJSDate(h,R={}){const B=function Xe(P){return"[object Date]"===Object.prototype.toString.call(P)}(h)?h.valueOf():NaN;if(Number.isNaN(B))return Mn.invalid("invalid input");const be=q(R.zone,ee.defaultZone);return be.isValid?new Mn({ts:B,zone:be,loc:_n.fromObject(R)}):Mn.invalid(bo(be))}static fromMillis(h,R={}){if(Bi(h))return h<-ro||h>ro?Mn.invalid("Timestamp out of range"):new Mn({ts:h,zone:q(R.zone,ee.defaultZone),loc:_n.fromObject(R)});throw new g(`fromMillis requires a numerical input, but received a ${typeof h} with value ${h}`)}static fromSeconds(h,R={}){if(Bi(h))return new Mn({ts:1e3*h,zone:q(R.zone,ee.defaultZone),loc:_n.fromObject(R)});throw new g("fromSeconds requires a numerical input")}static fromObject(h,R={}){h=h||{};const B=q(R.zone,ee.defaultZone);if(!B.isValid)return Mn.invalid(bo(B));const be=_n.fromObject(R),qe=fe(h,Ci),{minDaysInFirstWeek:tt,startOfWeek:_t}=hn(qe,be),Lt=ee.now(),an=An(R.specificOffset)?B.offset(Lt):R.specificOffset,Gn=!An(qe.ordinal),pi=!An(qe.year),cr=!An(qe.month)||!An(qe.day),qn=pi||cr,Dr=qe.weekYear||qe.weekNumber;if((qn||Gn)&&Dr)throw new l("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(cr&&Gn)throw new l("Can't mix ordinal dates with month/day");const es=Dr||qe.weekday&&!qn;let Jn,Xi,As=qr(Lt,an);es?(Jn=Si,Xi=On,As=Et(As,tt,_t)):Gn?(Jn=si,Xi=Vi,As=cn(As)):(Jn=ki,Xi=Kt);let Os=!1;for(const so of Jn)An(qe[so])?qe[so]=Os?Xi[so]:As[so]:Os=!0;const oa=es?function Oi(P,h=4,R=1){const B=Wi(P.weekYear),be=dn(P.weekNumber,1,Li(P.weekYear,h,R)),qe=dn(P.weekday,1,7);return B?be?!qe&&U("weekday",P.weekday):U("week",P.weekNumber):U("weekYear",P.weekYear)}(qe,tt,_t):Gn?function mi(P){const h=Wi(P.year),R=dn(P.ordinal,1,hi(P.year));return h?!R&&U("ordinal",P.ordinal):U("year",P.year)}(qe):fn(qe),Do=oa||Ri(qe);if(Do)return Mn.invalid(Do);const _r=es?jt(qe,tt,_t):Gn?kn(qe):qe,[$o,Fr]=E(_r,an,B),yr=new Mn({ts:$o,zone:B,o:Fr,loc:be});return qe.weekday&&qn&&h.weekday!==yr.weekday?Mn.invalid("mismatched weekday",`you can't specify both a weekday of ${qe.weekday} and a date of ${yr.toISO()}`):yr.isValid?yr:Mn.invalid(yr.invalid)}static fromISO(h,R={}){const[B,be]=function li(P){return jr(P,[Fo,O],[po,ve],[G,et],[te,Rn])}(h);return N(B,be,R,"ISO 8601",h)}static fromRFC2822(h,R={}){const[B,be]=function Pr(P){return jr(function So(P){return P.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(P),[vi,bs])}(h);return N(B,be,R,"RFC 2822",h)}static fromHTTP(h,R={}){const[B,be]=function ls(P){return jr(P,[or,xr],[gs,xr],[eo,Yr])}(h);return N(B,be,R,"HTTP",R)}static fromFormat(h,R,B={}){if(An(h)||An(R))throw new g("fromFormat requires an input string and a format");const{locale:be=null,numberingSystem:qe=null}=B,tt=_n.fromOpts({locale:be,numberingSystem:qe,defaultToEN:!0}),[_t,Lt,an,Gn]=function cs(P,h,R){const{result:B,zone:be,specificOffset:qe,invalidReason:tt}=jo(P,h,R);return[B,be,qe,tt]}(tt,h,R);return Gn?Mn.invalid(Gn):N(_t,Lt,B,`format ${R}`,h,an)}static fromString(h,R,B={}){return Mn.fromFormat(h,R,B)}static fromSQL(h,R={}){const[B,be]=function pa(P){return jr(P,[go,O],[Lo,ji])}(h);return N(B,be,R,"SQL",h)}static invalid(h,R=null){if(!h)throw new g("need to specify a reason the DateTime is invalid");const B=h instanceof H?h:new H(h,R);if(ee.throwOnInvalid)throw new c(B);return new Mn({invalid:B})}static isDateTime(h){return h&&h.isLuxonDateTime||!1}static parseFormatForOpts(h,R={}){const B=vs(h,_n.fromObject(R));return B?B.map(be=>be?be.val:null).join(""):null}static expandFormat(h,R={}){return zs(Fn.parseFormat(h),_n.fromObject(R)).map(be=>be.val).join("")}static resetCache(){wi=void 0,vr.clear()}get(h){return this[h]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ho(this).weekYear:NaN}get weekNumber(){return this.isValid?Ho(this).weekNumber:NaN}get weekday(){return this.isValid?Ho(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ts(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ts(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ts(this).weekYear:NaN}get ordinal(){return this.isValid?cn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ss.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ss.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ss.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ss.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const h=864e5,R=6e4,B=Mi(this.c),be=this.zone.offset(B-h),qe=this.zone.offset(B+h),tt=this.zone.offset(B-be*R),_t=this.zone.offset(B-qe*R);if(tt===_t)return[this];const Lt=B-tt*R,an=B-_t*R,Gn=qr(Lt,tt),pi=qr(an,_t);return Gn.hour===pi.hour&&Gn.minute===pi.minute&&Gn.second===pi.second&&Gn.millisecond===pi.millisecond?[Ir(this,{ts:Lt}),Ir(this,{ts:an})]:[this]}get isInLeapYear(){return Zn(this.year)}get daysInMonth(){return tr(this.year,this.month)}get daysInYear(){return this.isValid?hi(this.year):NaN}get weeksInWeekYear(){return this.isValid?Li(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Li(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(h={}){const{locale:R,numberingSystem:B,calendar:be}=Fn.create(this.loc.clone(h),h).resolvedOptions(this);return{locale:R,numberingSystem:B,outputCalendar:be}}toUTC(h=0,R={}){return this.setZone(me.instance(h),R)}toLocal(){return this.setZone(ee.defaultZone)}setZone(h,{keepLocalTime:R=!1,keepCalendarTime:B=!1}={}){if((h=q(h,ee.defaultZone)).equals(this.zone))return this;if(h.isValid){let be=this.ts;if(R||B){const qe=h.offset(this.ts),tt=this.toObject();[be]=E(tt,qe,h)}return Ir(this,{ts:be,zone:h})}return Mn.invalid(bo(h))}reconfigure({locale:h,numberingSystem:R,outputCalendar:B}={}){return Ir(this,{loc:this.loc.clone({locale:h,numberingSystem:R,outputCalendar:B})})}setLocale(h){return this.reconfigure({locale:h})}set(h){if(!this.isValid)return this;const R=fe(h,Ci),{minDaysInFirstWeek:B,startOfWeek:be}=hn(R,this.loc),qe=!An(R.weekYear)||!An(R.weekNumber)||!An(R.weekday),tt=!An(R.ordinal),_t=!An(R.year),Lt=!An(R.month)||!An(R.day);if((_t||Lt||tt)&&(R.weekYear||R.weekNumber))throw new l("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(Lt&&tt)throw new l("Can't mix ordinal dates with month/day");let pi;qe?pi=jt({...Et(this.c,B,be),...R},B,be):An(R.ordinal)?(pi={...this.toObject(),...R},An(R.day)&&(pi.day=Math.min(tr(pi.year,pi.month),pi.day))):pi=kn({...cn(this.c),...R});const[cr,qn]=E(pi,this.o,this.zone);return Ir(this,{ts:cr,o:qn})}plus(h){return this.isValid?Ir(this,oe(this,Qn.fromDurationLike(h))):this}minus(h){return this.isValid?Ir(this,oe(this,Qn.fromDurationLike(h).negate())):this}startOf(h,{useLocaleWeeks:R=!1}={}){if(!this.isValid)return this;const B={},be=Qn.normalizeUnit(h);switch(be){case"years":B.month=1;case"quarters":case"months":B.day=1;case"weeks":case"days":B.hour=0;case"hours":B.minute=0;case"minutes":B.second=0;case"seconds":B.millisecond=0}if("weeks"===be)if(R){const qe=this.loc.getStartOfWeek(),{weekday:tt}=this;tt<qe&&(B.weekNumber=this.weekNumber-1),B.weekday=qe}else B.weekday=1;if("quarters"===be){const qe=Math.ceil(this.month/3);B.month=3*(qe-1)+1}return this.set(B)}endOf(h,R){return this.isValid?this.plus({[h]:1}).startOf(h,R).minus(1):this}toFormat(h,R={}){return this.isValid?Fn.create(this.loc.redefaultToEN(R)).formatDateTimeFromString(this,h):Mr}
vendor: 6,792 bytes, line 1
1toLocaleString(h=Z,R={}){return this.isValid?Fn.create(this.loc.clone(R),h).formatDateTime(this):Mr}toLocaleParts(h={}){return this.isValid?Fn.create(this.loc.clone(h),h).formatDateTimeParts(this):[]}toISO({format:h="extended",suppressSeconds:R=!1,suppressMilliseconds:B=!1,includeOffset:be=!0,extendedZone:qe=!1}={}){if(!this.isValid)return null;const tt="extended"===h;let _t=Fe(this,tt);return _t+="T",_t+=It(this,tt,R,B,be,qe),_t}toISODate({format:h="extended"}={}){return this.isValid?Fe(this,"extended"===h):null}toISOWeekDate(){return X(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:h=!1,suppressSeconds:R=!1,includeOffset:B=!0,includePrefix:be=!1,extendedZone:qe=!1,format:tt="extended"}={}){return this.isValid?(be?"T":"")+It(this,"extended"===tt,R,h,B,qe):null}toRFC2822(){return X(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return X(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Fe(this,!0):null}toSQLTime({includeOffset:h=!0,includeZone:R=!1,includeOffsetSpace:B=!0}={}){let be="HH:mm:ss.SSS";return(R||h)&&(B&&(be+=" "),R?be+="z":h&&(be+="ZZ")),X(this,be,!0)}toSQL(h={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(h)}`:null}toString(){return this.isValid?this.toISO():Mr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(h={}){if(!this.isValid)return{};const R={...this.c};return h.includeConfig&&(R.outputCalendar=this.outputCalendar,R.numberingSystem=this.loc.numberingSystem,R.locale=this.loc.locale),R}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(h,R="milliseconds",B={}){if(!this.isValid||!h.isValid)return Qn.invalid("created by diffing an invalid DateTime");const be={locale:this.locale,numberingSystem:this.numberingSystem,...B},qe=function xt(P){return Array.isArray(P)?P:[P]}(R).map(Qn.normalizeUnit),tt=h.valueOf()>this.valueOf(),an=function ta(P,h,R,B){let[be,qe,tt,_t]=function to(P,h,R){const B=[["years",(Lt,an)=>an.year-Lt.year],["quarters",(Lt,an)=>an.quarter-Lt.quarter+4*(an.year-Lt.year)],["months",(Lt,an)=>an.month-Lt.month+12*(an.year-Lt.year)],["weeks",(Lt,an)=>{const Gn=Ds(Lt,an);return(Gn-Gn%7)/7}],["days",Ds]],be={},qe=P;let tt,_t;for(const[Lt,an]of B)R.indexOf(Lt)>=0&&(tt=Lt,be[Lt]=an(P,h),_t=qe.plus(be),_t>h?(be[Lt]--,(P=qe.plus(be))>h&&(_t=P,be[Lt]--,P=qe.plus(be))):P=_t);return[P,be,_t,tt]}(P,h,R);const Lt=h-be,an=R.filter(pi=>["hours","minutes","seconds","milliseconds"].indexOf(pi)>=0);0===an.length&&(tt<h&&(tt=be.plus({[_t]:1})),tt!==be&&(qe[_t]=(qe[_t]||0)+Lt/(tt-be)));const Gn=Qn.fromObject(qe,B);return an.length>0?Qn.fromMillis(Lt,B).shiftTo(...an).plus(Gn):Gn}(tt?this:h,tt?h:this,qe,be);return tt?an.negate():an}diffNow(h="milliseconds",R={}){return this.diff(Mn.now(),h,R)}until(h){return this.isValid?di.fromDateTimes(this,h):this}hasSame(h,R,B){if(!this.isValid)return!1;const be=h.valueOf(),qe=this.setZone(h.zone,{keepLocalTime:!0});return qe.startOf(R,B)<=be&&be<=qe.endOf(R,B)}equals(h){return this.isValid&&h.isValid&&this.valueOf()===h.valueOf()&&this.zone.equals(h.zone)&&this.loc.equals(h.loc)}toRelative(h={}){if(!this.isValid)return null;const R=h.base||Mn.fromObject({},{zone:this.zone}),B=h.padding?this<R?-h.padding:h.padding:0;let be=["years","months","days","hours","minutes","seconds"],qe=h.unit;return Array.isArray(h.unit)&&(be=h.unit,qe=void 0),on(R,this.plus(B),{...h,numeric:"always",units:be,unit:qe})}toRelativeCalendar(h={}){return this.isValid?on(h.base||Mn.fromObject({},{zone:this.zone}),this,{...h,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...h){if(!h.every(Mn.isDateTime))throw new g("min requires all arguments be DateTimes");return qt(h,R=>R.valueOf(),Math.min)}static max(...h){if(!h.every(Mn.isDateTime))throw new g("max requires all arguments be DateTimes");return qt(h,R=>R.valueOf(),Math.max)}static fromFormatExplain(h,R,B={}){const{locale:be=null,numberingSystem:qe=null}=B;return jo(_n.fromOpts({locale:be,numberingSystem:qe,defaultToEN:!0}),h,R)}static fromStringExplain(h,R,B={}){return Mn.fromFormatExplain(h,R,B)}static buildFormatParser(h,R={}){const{locale:B=null,numberingSystem:be=null}=R,qe=_n.fromOpts({locale:B,numberingSystem:be,defaultToEN:!0});return new $s(qe,h)}static fromFormatParser(h,R,B={}){if(An(h)||An(R))throw new g("fromFormatParser requires an input string and a format parser");const{locale:be=null,numberingSystem:qe=null}=B,tt=_n.fromOpts({locale:be,numberingSystem:qe,defaultToEN:!0});if(!tt.equals(R.locale))throw new g(`fromFormatParser called with a locale of ${tt}, but the format parser was created for ${R.locale}`);const{result:_t,zone:Lt,specificOffset:an,invalidReason:Gn}=R.explainFromTokens(h);return Gn?Mn.invalid(Gn):N(_t,Lt,B,`format ${R.format}`,h,an)}static get DATE_SHORT(){return Z}static get DATE_MED(){return re}static get DATE_MED_WITH_WEEKDAY(){return K}static get DATE_FULL(){return Me}static get DATE_HUGE(){return Oe}static get TIME_SIMPLE(){return ie}static get TIME_WITH_SECONDS(){return ge}static get TIME_WITH_SHORT_OFFSET(){return ye}static get TIME_WITH_LONG_OFFSET(){return rt}static get TIME_24_SIMPLE(){return Ft}static get TIME_24_WITH_SECONDS(){return Bt}static get TIME_24_WITH_SHORT_OFFSET(){return Ve}static get TIME_24_WITH_LONG_OFFSET(){return mt}static get DATETIME_SHORT(){return Pe}static get DATETIME_SHORT_WITH_SECONDS(){return Je}static get DATETIME_MED(){return ke}static get DATETIME_MED_WITH_SECONDS(){return He}static get DATETIME_MED_WITH_WEEKDAY(){return ot}static get DATETIME_FULL(){return Ct}static get DATETIME_FULL_WITH_SECONDS(){return Ot}static get DATETIME_HUGE(){return kt}static get DATETIME_HUGE_WITH_SECONDS(){return Qe}}function Gi(P){if(Mn.isDateTime(P))return P;if(P&&P.valueOf&&Bi(P.valueOf()))return Mn.fromJSDate(P);if(P&&"object"==typeof P)return Mn.fromObject(P);throw new g(`Unknown datetime argument: ${P}, of type ${typeof P}`)}},29242:(ht,ue,o)=>{"use strict";o.d(ue,{J:()=>ge,cm:()=>rt});var s=o(54438),c=o(60177),x=o(14421),I=o(79928),l=o(58728);const u=new s.nKC("recaptcha-language"),g=new s.nKC("recaptcha-base-url"),C=new s.nKC("recaptcha-nonce-tag"),D=new s.nKC("recaptcha-settings"),A=new s.nKC("recaptcha-v3-site-key"),V=new s.nKC("recaptcha-loader-options"),K={loadScript:function Z(Pe,Je,ke,{url:He,lang:ot,nonce:Ct}={}){window.ng2recaptchaloaded=()=>{ke(grecaptcha)};const Ot=document.createElement("script");Ot.innerHTML="";const{url:kt,nonce:Qe}
1=Je(new URL(He||"https://www.google.com/recaptcha/api.js"));kt.searchParams.set("render","explicit"===Pe?Pe:Pe.key),kt.searchParams.set("onload","ng2recaptchaloaded"),kt.searchParams.set("trustedtypes","true"),ot&&kt.searchParams.set("hl",ot),Ot.src=kt.href;const yt=Qe||Ct;yt&&Ot.setAttribute("nonce",yt),Ot.async=!0,Ot.defer=!0,document.head.appendChild(Ot)},newLoadScript:function re({v3SiteKey:Pe,onBeforeLoad:Je,onLoaded:ke}){K.loadScript(Pe?{key:Pe}:"explicit",Je,ke)}};let Oe=(()=>{class Pe{static#e=this.ready=null;constructor(ke,He,ot,Ct,Ot,kt){this.platformId=ke,this.language=He,this.baseUrl=ot,this.nonce=Ct,this.v3SiteKey=Ot,this.options=kt;const Qe=this.init();this.ready=Qe?function Me(Pe){return Pe.asObservable().pipe((0,l.p)(Je=>null!==Je))}(Qe):(0,x.of)()}init(){if(Pe.ready)return Pe.ready;if(!(0,c.UE)(this.platformId))return;const ke=new I.t(null);return Pe.ready=ke,K.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:He=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(He);const ot=new URL(this.baseUrl??He);return this.language&&ot.searchParams.set("hl",this.language),{url:ot,nonce:this.nonce}},onLoaded:He=>{let ot=He;this.options?.onLoaded&&(ot=this.options.onLoaded(He)),ke.next(ot)}}),ke}static#t=this.\u0275fac=function(He){return new(He||Pe)(s.KVO(s.Agw),s.KVO(u,8),s.KVO(g,8),s.KVO(C,8),s.KVO(A,8),s.KVO(V,8))};static#n=this.\u0275prov=s.jDH({token:Pe,factory:Pe.\u0275fac})}return Pe})(),ie=0,ge=(()=>{class Pe{constructor(ke,He,ot,Ct){this.elementRef=ke,this.loader=He,this.zone=ot,this.id="ngrecaptcha-"+ie++,this.errorMode="default",this.resolved=new s.bkB,this.error=new s.bkB,this.errored=new s.bkB,Ct&&(this.siteKey=Ct.siteKey,this.theme=Ct.theme,this.type=Ct.type,this.size=Ct.size,this.badge=Ct.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(ke=>{null!=ke&&ke.render instanceof Function&&(this.grecaptcha=ke,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(ke){this.error.emit(ke),this.errored.emit(ke)}captchaResponseCallback(ke){this.resolved.emit(ke)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const ke={badge:this.badge,callback:He=>{this.zone.run(()=>this.captchaResponseCallback(He))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(ke["error-callback"]=(...He)=>{this.zone.run(()=>this.onError(He))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,ke),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}static#e=this.\u0275fac=function(He){return new(He||Pe)(s.rXU(s.aKT),s.rXU(Oe),s.rXU(s.SKi),s.rXU(D,8))};static#t=this.\u0275cmp=s.VBU({type:Pe,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(He,ot){2&He&&s.BMQ("id",ot.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(He,ot){},encapsulation:2})}return Pe})(),ye=(()=>{class Pe{static#e=this.\u0275fac=function(He){return new(He||Pe)};static#t=this.\u0275mod=s.$C({type:Pe});static#n=this.\u0275inj=s.G2t({})}return Pe})(),rt=(()=>{class Pe{static#e=this.\u0275fac=function(He){return new(He||Pe)};static#t=this.\u0275mod=s.$C({type:Pe});static#n=this.\u0275inj=s.G2t({providers:[Oe],imports:[ye]})}return Pe})()},18844:(ht,ue,o)=>{"use strict";o.d(ue,{G:()=>Oe,x:()=>Me});var s=o(54438),c=o(79928),x=o(60177);const I=["zoomContainer"],l=["imageThumbnail"],u=["fullSizeImage"],g=ie=>({ngxImageZoomFullContainer:!0,ngxImageZoomLensEnabled:ie});let C=(()=>{class ie{constructor(ye){this.changeDetectorRef=ye,this.zoomDisplay="none",this.thumbWidth=0,this.thumbHe
1ight=0,this.fullImageTop=0,this.fullImageLeft=0,this.lensWidth=100,this.lensHeight=100,this.lensTop=0,this.lensLeft=0,this.magnifiedWidth=0,this.magnifiedHeight=0,this.zoomPosition=new c.t(null),this.zoomingEnabled=!1,this.isReady=!1,this.enableLens=!1,this.minZoomRatio=1,this.maxZoomRatio=2,this.magnification=1,this.fullWidth=0,this.fullHeight=0,this.xRatio=0,this.yRatio=0,this.latestMouseLeft=-1,this.latestMouseTop=-1}zoomOn(ye){this.isReady&&(this.zoomingEnabled=!0,this.calculateRatioAndOffset(),this.zoomDisplay="block",this.calculateZoomPosition(ye),this.changeDetectorRef.markForCheck())}zoomOff(){this.zoomingEnabled=!1,this.zoomDisplay="none",this.changeDetectorRef.markForCheck()}markForCheck(){this.changeDetectorRef.markForCheck()}calculateRatioAndOffset(){this.enableLens||(this.lensWidth=this.thumbWidth,this.lensHeight=this.thumbHeight,this.lensLeft=0,this.lensTop=0),this.fullImageLoaded&&(this.baseRatio=Math.max(this.thumbWidth/this.fullWidth,this.thumbHeight/this.fullHeight),this.minZoomRatio=Math.max(this.minZoomRatio||0,this.baseRatio||0),this.calculateRatio())}calculateRatio(){this.magnifiedWidth=this.fullWidth*this.magnification,this.magnifiedHeight=this.fullHeight*this.magnification,this.xRatio=(this.magnifiedWidth-this.thumbWidth)/this.thumbWidth,this.yRatio=(this.magnifiedHeight-this.thumbHe
1ight)/this.thumbHeight}calculateZoomPosition(ye){const rt=Math.max(Math.min(ye.offsetX,this.thumbWidth),0),Ft=Math.max(Math.min(ye.offsetY,this.thumbHeight),0);this.setZoomPosition(rt,Ft),this.calculateImageAndLensPosition(),this.changeDetectorRef.markForCheck()}calculateImageAndLensPosition(){let ye=0,rt=0;this.enableLens&&this.latestMouseLeft>0&&(ye=this.latestMouseLeft-this.lensWidth/2,rt=this.latestMouseTop-this.lensHeight/2,this.lensLeft=ye,this.lensTop=rt),this.fullImageLeft=this.latestMouseLeft*-this.xRatio-ye,this.fullImageTop=this.latestMouseTop*-this.yRatio-rt}setZoomPosition(ye,rt){this.latestMouseLeft=Number(ye)||this.latestMouseLeft,this.latestMouseTop=Number(rt)||this.latestMouseTop,this.zoomPosition.next({x:this.latestMouseLeft,y:this.latestMouseTop})}}return ie.\u0275fac=function(ye){return new(ye||ie)(s.KVO(s.gRc))},ie.\u0275prov=s.jDH({token:ie,factory:ie.\u0275fac}),ie})();class D{constructor(ge){this.zoomService=ge}onClick(ge){!1===this.zoomService.zoomingEnabled&&this.zoomService.zoomOn(ge)}onMouseEnter(){}onMouseLeave(){this.zoomService.zoomOff()}onMouseMove(ge){this.zoomService.zoomingEnabled&&this.zoomService.calculateZoomPosition(ge)}onMouseWheel(){return!0}}class A{constructor(ge){this.zoomService=ge,this.zoomFrozen=!1}onClick(ge){this.zoomService.zoomingEnabled&&this.zoomFrozen?this.zoomFrozen=!1:this.zoomService.zoomingEnabled?(this.zoomFrozen=!0,this.zoomService.markForCheck()):this.zoomService.zoomOn(ge)}onMouseEnter(ge){this.zoomFrozen||this.zoomService.zoomOn(ge)}onMouseLeave(){this.zoomService.zoomingEnabled&&!this.zoomFrozen&&this.zoomService.zoomOff()}onMouseMove(ge){this.zoomService.zoomingEnabled&&!this.zoomFrozen&&this.zoomService.calculateZoomPosition(ge)}onMouseWheel(){return!this.zoomFrozen}}class V{constructor(ge){this.zoomService=ge}onClick(){}onMouseEnter(ge){this.zoomService.zoomOn(ge)}onMouseLeave(){this.zoomService.zoomOff()}onMouseMove(ge){this.zoomService.calculateZoomPosition(ge)}onMouseWheel(){return!0}}class Z{constructor(ge){this.zoomService=ge}onClick(ge){this.zoomService.zoomingEnabled?this.zoomService.zoomOff():this.zoomService.zoomOn(ge)}onMouseEnter(){}onMouseLeave(){this.zoomService.zoomOff()}onMouseMove(ge){this.zoomService.zoomingEnabled&&this.zoomService.calculateZoomPosition(ge)}onMouseWheel(){return!0}}class re{constructor(ge){this.zoomService=ge,this.zoomFrozen=!1}onClick(ge){this.zoomService.zoomingEnabled&&this.zoomFrozen?(this.zoomFrozen=!1,this.zoomService.zoomOff()):this.zoomService.zoomingEnabled?(this.zoomFrozen=!0,this.zoomService.markForCheck()):this.zoomService.zoomOn(ge)}onMouseEnter(){}onMouseLeave(){this.zoomService.zoomingEnabled&&!this.zoomFrozen&&this.zoomService.zoomOff()}onMouseMove(ge){this.zoomService.zoomingEnabled&&!this.zoomFrozen&&this.zoomService.calculateZoomPosition(ge)}onMouseWheel(){return!this.zoomFrozen}}class K{constructor(ge){this.zoomService=ge}onClick(ge){this.zoomService.zoomingEnabled?this.zoomService.zoomOff():this.zoomService.zoomOn(ge)}onMouseEnter(){}onMouseLeave(){}onMouseMove(){}onMouseWheel(){return!0}}let Me=(()=>{class ie{constructor(ye,rt){this.zoomService=ye,this.renderer=rt,this.zoomScroll=new s.bkB,this.zoomPosition=new s.bkB,this.imagesLoaded=new s.bkB,this.lensBorderRadius=0,this.zoomMode="hover",this.enableScrollZoom=!1,this.scrollStepSize=.1,this.circularLens=!1,this.thumbImageLoaded=!1,this.subscriptions=[],this.eventListeners=[],this.zoomModesMap=new Map([["click",D],["hover-freeze",A],["hover",V],["toggle-click",Z],["toggle-freeze",re],["toggle",K]]),this.altText="",this.titleText=""}set setThumbImage(ye){this.thumbImageLoaded=!1,this.setIsReady(!1),this.thumbImage=ye}set setFullImage(ye){this.zoomService.fullImageLoaded=!1,this.setIsReady(!1),this.fullImage=ye}set setZoomMode(ye){ie.validZoomModes.some(rt=>rt===ye)&&(this.zoomMode=ye)}set setMagnification(ye){this.zoomService.magnification=Number(ye)||this.zoomService.magnification,this.zoomScroll.emit(this.zoomService.magnification)}set setMinZoomRatio(ye){const rt=Number(ye)||this.zoomService.minZoomRatio||this.zoomService.baseRatio||0;this.zoomService.minZoomRatio=Math.max(rt,this.zoomService.baseRatio||0)}set setMaxZoomRatio(ye){this.zoomService.maxZoomRatio=Number(ye)||this.zoomService.maxZoomRatio}set setScrollStepSize(ye){this.scrollStepSize=Number(ye)||this.scrollStepSize}set setEnableLens(ye){this.zoomService.enableLens=!!ye}set setLensWidth(ye){this.zoomService.lensWidth=Number(ye)||this.zoomService.lensWidth}set setLensHeight(ye){this.zoomService.lensHeight=Number(ye)||this.zoomService.lensHeight}set setCircularLens(ye){this.circularLens=!!ye}set setEnableScrollZoom(ye){this.enableScrollZoom=!!ye}ngOnInit(){void 0===this.fullImage&&(this.fullImage=this.thumbImage),this.registerServiceSubscriptions(),this.loadZoomMode(),this.registerEventListeners(),this.calculateLensBorder()}ngOnChanges(){this.calculateLensBorder(),this.zoomService.calculateRatioAndOffset(),this.zoomService.calculateImageAndLensPosition()}ngOnDestroy(){this.subscriptions.forEach(ye=>
1ye.unsubscribe()),this.eventListeners.forEach(ye=>ye())}registerServiceSubscriptions(){this.subscriptions.push(this.zoomService.zoomPosition.subscribe(ye=>this.zoomPosition.emit(ye)))}loadZoomMode(){const ye=this.zoomModesMap.get(this.zoomMode);ye?this.zoomInstance=new ye(this.zoomService):console.error(`Unsupported zoom mode: ${this.zoomMode}`)}registerEventListeners(){if(this.zoomInstance){const ye=this.zoomContainer.nativeElement;this.eventListeners.push(this.renderer.listen(ye,"mouseenter",rt=>this.zoomInstance.onMouseEnter(rt)),this.renderer.listen(ye,"mouseleave",rt=>this.zoomInstance.onMouseLeave(rt)),this.renderer.listen(ye,"mousemove",rt=>this.zoomInstance.onMouseMove(rt)),this.renderer.listen(ye,"click",rt=>this.zoomInstance.onClick(rt)),this.renderer.listen(ye,"mousewheel",rt=>{this.zoomInstance.onMouseWheel(rt)&&this.onMouseWheel(rt)}),this.renderer.listen(ye,"DOMMouseScroll",rt=>{this.zoomInstance.onMouseWheel(rt)&&this.onMouseWheel(rt)}),this.renderer.listen(ye,"onmousewheel",rt=>{this.zoomInstance.onMouseWheel(rt)&&this.onMouseWheel(rt)}))}}onThumbImageLoaded(){this.zoomService.thumbWidth=this.imageThumbnail.nativeElement.width,this.zoomService.thumbHeight=this.imageThumbnail.nativeElement.height,this.thumbImageLoaded=!0,this.checkImagesLoaded()}onFullImageLoaded(){this.zoomService.fullWidth=this.fullSizeImage.nativeElement.naturalWidth,this.zoomService.fullHeight=this.fullSizeImage.nativeElement.naturalHeight,this.zoomService.fullImageLoaded=!0,this.checkImagesLoaded()}calculateLensBorder(){this.zoomService.enableLens&&(this.lensBorderRadius=this.circularLens?this.zoomService.lensWidth/2:0)}checkImagesLoaded(){this.zoomService.calculateRatioAndOffset(),this.thumbImageLoaded&&this.zoomService.fullImageLoaded&&(this.zoomService.calculateImageAndLensPosition(),this.setIsReady(!0))}setIsReady(ye){this.zoomService.isReady=ye,this.imagesLoaded.emit(ye)}onMouseWheel(ye){this.enableScrollZoom&&this.zoomService.zoomingEnabled&&(ye=window.event||ye,this.setMagnification=Math.max(Math.min(ye.wheelDelta||-ye.detail,1),-1)>0?Math.min(this.zoomService.magnification+this.scrollStepSize,this.zoomService.maxZoomRatio):Math.max(this.zoomService.magnification-this.scrollStepSize,this.zoomService.minZoomRatio),this.zoomService.calculateRatio(),this.zoomService.calculateZoomPosition(ye),ye.returnValue=!1,ye.preventDefault&&ye.preventDefault())}}return ie.validZoomModes=["hover","toggle","click","toggle-click","toggle-freeze","hover-freeze"],ie.\u0275fac=function(ye){return new(ye||ie)(s.rXU(C),s.rXU(s.sFG))},ie.\u0275cmp=s.VBU({type:ie,selectors:[["lib-ngx-image-zoom"]],viewQuery:function(ye,rt){if(1&ye&&(s.GBs(I,7),s.GBs(l,7),s.GBs(u,7)),2&ye){let Ft;s.mGM(Ft=s.lsd())&&(rt.zoomContainer=Ft.first),s.mGM(Ft=s.lsd())&&(rt.imageThumbnail=Ft.first),s.mGM(Ft=s.lsd())&&(rt.fullSizeImage=Ft.first)}},inputs:{setThumbImage:[s.Mj6.None,"thumbImage","setThumbImage"],setFullImage:[s.Mj6.None,"fullImage","setFullImage"],setZoomMode:[s.Mj6.None,"zoomMode","setZoomMode"],setMagnification:[s.Mj6.None,"magnification","setMagnification"],setMinZoomRatio:[s.Mj6.None,"minZoomRatio","setMinZoomRatio"],setMaxZoomRatio:[s.Mj6.None,"maxZoomRatio","setMaxZoomRatio"],setScrollStepSize:[s.Mj6.None,"scrollStepSize","setScrollStepSize"],setEnableLens:[s.Mj6.None,"enableLens","setEnableLens"],setLensWidth:[s.Mj6.None,"lensWidth","setLensWidth"],setLensHeight:[s.Mj6.None,"lensHeight","setLensHeight"],setCircularLens:[s.Mj6.None,"circularLens","setCircularLens"],setEnableScrollZoom:[s.Mj6.None,"enableScrollZoom","setEnableScrollZoom"],altText:"altText",titleText:"titleText"},outputs:{zoomScroll:"zoomScroll",zoomPosition:"zoomPosition",imagesLoaded:"imagesLoaded"},features:[s.Jv_([C]),s.OA$],decls:7,vars:35,consts:[["zoomContainer",""],["imageThumbnail",""],["fullSizeImage",""],[1,"ngxImageZoomContainer"],[1,"ngxImageZoomThumbnail",3,"load","alt","title","src"],[3,"ngClass"],[1,"ngxImageZoomFull",3,"load","alt","title","src"]],template:function(ye,rt){if(1&ye){const Ft=s.RV6();s.j41(0,"div",3,0)(2,"img",4,1),s.bIt("load",function(){return s.eBV(Ft),s.Njj(rt.onThumbImageLoaded())}),s.k0s(),s.j41(4,"div",5)(5,"img",6,2),s.bIt("load",function(){return s.eBV(Ft),s.Njj(rt.onFullImageLoaded())}),s.k0s()()()}2&ye&&(s.xc7("width",rt.zoomService.thumbWidth,"px")("height",rt.zoomService.thumbHeight,"px"),s.R7$(2),s.Y8G("alt",rt.altText)("title",rt.titleText)("src",rt.thumbImage,s.B4B),s.R7$(2),s.xc7("display",rt.zoomService.zoomDisplay)("top",rt.zoomService.lensTop,"px")("left",rt.zoomService.lensLeft,"px")("width",rt.zoomService.lensWidth,"px")("height",rt.zoomService.lensHeight,"px")("border-radius",rt.lensBorderRadius,"px"),s.Y8G("ngClass",s.eq3(33,g,rt.zoomService.enableLens)),s.R7$(),s.xc7("display",rt.zoomService.zoomDisplay)("top",rt.zoomService.fullImageTop,"px")("left",rt.zoomService.fullImageLeft,"px")("width",rt.zoomService.magnifiedWidth,"px")("height",rt.zoomService.magnifiedHeight,"px"),s.Y8G("alt",rt.altText)("title",rt.titleText)("src",rt.fullImage,s.B4B))},dependencies:[x.YU],styles:[".ngxImageZoomContainer[_ngcontent-%COMP%]{position:relative;margin:auto;overflow:hidden;pointer-events:none}.ngxImageZoomThumbnail[_ngcontent-%COMP%]{pointer-events:all}.ngxImageZoomFull[_ngcontent-%COMP%]{position:absolute;max-width:none;max-height:none;display:none;pointer-events:none}.ngxImageZoomFullContainer[_ngcontent-%COMP%]{position:absolute;overflow:hidden;pointer-events:none}.ngxImageZoomFullContainer.ngxImageZoomLensEnabled[_ngcontent-%COMP%]{border:2px solid red;cursor:crosshair;pointer-events:none}"]}),ie})(),Oe=(()=>{class ie{}return ie.\u0275fac=function(ye){return new(ye||ie)},ie.\u0275mod=s.$C({type:ie}),ie.\u0275inj=s.G2t({imports:[x.MD]}),ie})()},10467:(ht,ue,o)=>{"use strict";function s(x,I,l,u,g,C,D){try{var A=x[C](D),V=A.value}catch(Z){return void l(Z)}A.done?I(V):Promise.resolve(V).then(u,g)}function c(x){return function(){var I=this,l=arguments;
1return new Promise(function(u,g){var C=x.apply(I,l);function D(V){s(C,u,g,D,A,"next",V)}function A(V){s(C,u,g,D,A,"throw",V)}D(void 0)})}}o.d(ue,{A:()=>c})}},ht=>{ht(ht.s=9010)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.