1import{a as pt}from"./chunk-LSE7ERXW.js";import{a as nt,b as hr,c as Ke}from"./chunk-BNFJAOTE.js";import{a as ss,b as zr}from"./chunk-ZDQHURQH.js";import{a as Lr}from"./chunk-7WHJKJG5.js";import{a as ut}from"./chunk-3JJAIKGA.js";import{b as Pr,c as Mr,d as Nr,e as Or,f as kr}from"./chunk-PHE35NED.js";import{b as Dr,c as dt}from"./chunk-C46UFDQS.js";import{a as Fr}from"./chunk-VNGQZGMM.js";import{a as v,b as W,e as Rr,f as Ht,k as he,l as ft,m as xe}from"./chunk-PUUFDSR5.js";import{a as ct}from"./chunk-BUCWAJRJ.js";import{b as lt}from"./chunk-BBWI5BRC.js";import"./chunk-5WRB4FCB.js";import{A as Ar,Y as Ir,z as Cr}from"./chunk-IE3GEG6D.js";import"./chunk-JLQQPUG2.js";import{a as mt}from"./chunk-E3GK6ZJN.js";import{a as wr,b as ie}from"./chunk-OYHRIJHA.js";import{A as ne,B as br,D as Er,E as at,F as Tr,G as Re,H as De,b as cr,d as Me,e as Ne,f as Oe,g as it,h as pr,j as te,l as st,m as ke,n as ot,q as gr,r as ce,s as Ie,t as yr,u as _r,v as vr,x as Sr}from"./chunk-JLTXE2K3.js";import{$c as rt,Aa as Vi,B as Ee,G as Li,Gc as er,Ha as Qi,Ja as E,Jc as tr,Kc as ir,La as Z,Lc as et,Ma as ee,Oc as tt,P as zi,Pc as rr,Q as Ye,Qc as nr,Ra as ae,Rc as Be,S as b,Sc as Ae,Ta as Hi,Tc as Pe,U as N,Ua as Wi,Ub as Ze,Uc as sr,V as J,Vb as Gi,Vc as or,Wc as qt,X as T,Xc as ar,Zc as lr,_b as Yi,ab as D,ac as Xi,ad as ur,ba as ji,bb as I,bd as mr,ca as Bi,cb as j,cd as Vt,db as O,ed as fr,fa as Xe,fd as le,ga as Ki,gd as dr,ia as xi,id as Qt,j as de,l as Ii,m as Ri,mc as Ji,nb as $i,sa as Ut,sb as Je,ta as Ui,tc as we,ub as Te,uc as Zi,v as Di,vc as Ce,wa as qi,y as Fi,ya as H}from"./chunk-Y66N7V4O.js";import"./chunk-76Q5SISU.js";import{a as Q,d as Oi,f as ns,h as ki}from"./chunk-7CEBWOAQ.js";var ht=(()=>{let e=class e{constructor(i,r){this.http=i,this.apiService=r}get(i){return i=i.replace(/(^\w+:|^)\/\//,""),this.http.get(`${this.apiService.getV1ApiDomain()}whitelabels/${i}?type=editor`)}};e.\u0275fac=function(r){return new(r||e)(T(Ae),T(te))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let n=e;return n})();var ls=(n,e)=>({"bg-success":n,"bg-danger":e});function cs(n,e){n&1&&(I(0,"div",9),O(1,"i",10),j())}function ps(n,e){n&1&&(I(0,"div",9),O(1,"i",11),j())}function us(n,e){if(n&1){let t=$i();I(0,"div")(1,"div",3)(2,"sa-app-icon",4),Je("click",function(){ji(t);let r=Te().$implicit,s=Te();return Bi(s.toastService.remove(r))}),j(),I(3,"div",5),ae(4,cs,2,0,"div",6)(5,ps,2,0,"div",6),I(6,"div",7),O(7,"span",8),Yi(8,"transloco"),j()()()()}if(n&2){let t=e.$implicit,i=e.index,r=Te().$implicit,s=Te();H(2),D("name","cross"),H(2),D("ngIf",r.type===s.toastState.SUCCESS),H(),D("ngIf",r.type===s.toastState.DANGER),H(2),D("innerHTML",Xi(8,4,t,r.params[i]),Ui)}}function ms(n,e){if(n&1&&(I(0,"div",1),ae(1,us,9,7,"div",2),j()),n&2){let t=e.$implicit,i=Te();D("ngClass",Gi(2,ls,t.type===i.toastState.SUCCESS,t.type===i.toastState.DANGER)),H(),D("ngForOf",t.messages)}}var Br=(function(n){return n.SUCCESS="success",n.DANGER="danger",n})(Br||{}),Kr=(()=>{let e=class e{constructor(i,r){this.toastService=i,this.changeDetection=r,this.toastState=Br}ngOnInit(){this.toastService.toast$.subscribe(()=>{this.changeDetection.detectChanges()})}};e.\u0275fac=function(r){return new(r||e)(E(Me),E(Ji))},e.\u0275cmp=Z({type:e,selectors:[["sa-toasts"]],standalone:!1,decls:1,vars:1,consts:[["class","toast",3,"ngClass",4,"ngFor","ngForOf"],[1,"toast",3,"ngClass"],[4,"ngFor","ngForOf"],[1,"container"],[1,"notification-close-button",3,"click","name"],[1,"row","d-flex","align-items-center","flex-row"],["class","notification-icon-container col-1",4,"ngIf"],[1,"col-10","p-0"],[3,"innerHTML"],[1,"notification-icon-container","col-1"],[1,"fa-sharp","fa-solid","fa-square-check"],[1,"fa-sharp","fa-solid","fa-diamond-exclamation"]],template:function(r,s){r&1&&ae(0,ms,2,5,"div",0),r&2&&D("ngForOf",s.toastService.toasts)},dependencies:[we,Zi,Ce,Cr,yr],styles:[`[_ngcontent-%COMP%]:root{--pp-font-family-sans: "Plus Jakarta Sans", sans-serif;--pp-brand-purple: #421f3c;--pp-brand-purple-rgb: 66, 31, 60;--pp-brand-orange: #ff7418;--pp-brand-orange-rgb: 255, 116, 24;--pp-brand-orange-hover: #e66910;--pp-brand-sunshine-rgb: 255, 174, 60;--pp-app-system-white: #fff;--pp-app-system-almost-white: #f5f5f5;--pp-app-system-border: #ccc}.text-pp-brand-orange[_ngcontent-%COMP%]{color:var(--pp-brand-orange)}.text-pp-brand-purple[_ngcontent-%COMP%]{color:var(--pp-brand-purple)}[_nghost-%COMP%]{position:fixed;bottom:0;left:0;margin:.5em;z-index:1200}[_nghost-%COMP%] .toast[_ngcontent-%COMP%]{margin-bottom:.5em;opacity:1;padding:1.1em .9em 1.1em 0;border-radius:0;display:block;box-shadow:0 0 15px #0000001f;border:0;width:500px}@media(min-width:.93em)and (max-width:767px){[_nghost-%COMP%] .toast[_ngcontent-%COMP%]{width:100%;position:relative;bottom:80px}}[_nghost-%COMP%] .toast.bg-success[_ngcontent-%COMP%]{border-left:4px solid #34D399;background:var(--notification-success-background)!important}[_nghost-%COMP%] .toast.bg-success[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:0!important;color:var(--notification-success)}[_nghost-%COMP%] .toast.bg-success[_ngcontent-%COMP%] .notification-icon-container[_ngcontent-%COMP%]{color:#fff;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%] .toast.bg-success[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.5rem;color:#34d399}[_nghost-%COMP%] .toast.bg-success[_ngcontent-%COMP%] .notification-close-button[_ngcontent-%COMP%]{color:var(--notification-success)}[_nghost-%COMP%] .toast.bg-danger[_ngcontent-%COMP%]{border-left:4px solid #F87171;background:var(--notification-danger-background)!important}[_nghost-%COMP%] .toast.bg-danger[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-notification-danger-color)}[_nghost-%COMP%] .toast.bg-danger[_ngcontent-%COMP%] .notification-icon-container[_ngcontent-%COMP%]{color:#fff;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%] .toast.bg-danger[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#991b1b;font-size:1.5rem}[_nghost-%COMP%] .toast.bg-danger[_ngcontent-%COMP%] .close-notification[_ngcontent-%COMP%]{color:var(--text-notification-danger-color)}[_nghost-%COMP%] .toast[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-right:1em;font-weight:600}[_nghost-%COMP%] .toast[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a{color:unset;text-decoration:underline}[_nghost-%COMP%] .toast[_ngcontent-%COMP%] sa-app-icon[_ngcontent-%COMP%]{position:absolute;right:10px;cursor:pointer;font-size:15px} 2/*# sourceMappingURL=toast.component-R5RHX6XS.css.map */`]});let n=e;return n})();function vs(n,e){n&1&&O(0,"router-outlet")}var xr=(()=>{let e=class e{constructor(i,r,s,o,a,l,c,u,p,_,y,f,g,C,P,M){this.api=i,this.app=r,this.appcues=s,this.i18n=o,this.loadingBar=a,this.logRocket=l,this.ls=c,this.modalService=u,this.profitWell=p,this.reditusService=_,this.screen=y,this.router=f,this.theme=g,this.whiteLabelApiService=C,this.meta=P,this.featureFlagService=M,this.appInitialized=!1,Oe.envName!=="production"&&this.meta.addTag({name:"robots",content:"noindex,nofollow"}
2),this.logRocket.init(),this.appcues.init(),this.profitWell.init(),this.reditusService.init(),this.router.events.subscribe(w=>{if(this.navigationInterceptor(w),w instanceof rt&&this.modalService.dismiss(),w instanceof Vt&&(w.error.type==="error"||w.error.type==="missing")&&w.url){if(w.url.includes("reload=true"))return;window.location.href=w.url+"?reload=true"}w instanceof rt&&this.api.cancelPendingRequests()}),this.featureFlagService.getFeatureFlags().subscribe({next:w=>{this.featureFlagService.setFeatureFlags(w.feature_flags),this.checkWhiteLabel()},error:()=>{this.checkWhiteLabel()}}),this.i18n.setDefaultLang(ne.EN_US),this.i18n.setActiveLang(ne.EN_US)}ngAfterViewInit(){this.parseUserAgent()}onResize(){this.screen.checkWidth()}navigationInterceptor(i){i instanceof rt&&this.loadingBar.start(),i instanceof ur&&this.loadingBar.complete(),i instanceof mr&&this.loadingBar.complete(),i instanceof Vt&&this.loadingBar.complete()}checkWhiteLabel(){let i=window.location.origin||window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"");if(this.app.isWhiteListed(i)){this.app.updateTitle(),this.app.updateFavicon(),this.theme.applyTheme(this.theme.THEME_DEFAULT),this.initApp();return}let r=3,s=600*1e3,o="sa_whitelabel_"+i,a=this.ls.getItem(o,!0);if(a&&a.version===r&&a.cached_at&&Date.now()-a.cached_at<s){this.app.applyWhiteLabel(a).then(()=>this.initApp());return}this.whiteLabelApiService.get(i).subscribe({next:c=>{c.version=r,c.cached_at=Date.now(),this.app.applyWhiteLabel(c).then(()=>this.initApp()),this.ls.setItem(o,JSON.stringify(c))},error:()=>{window.location.href="about:blank"}})}initApp(){this.appInitialized=!0;let i=document.getElementById("app-loading");i&&i.parentNode.removeChild(i)}parseUserAgent(){let i=navigator.userAgent;if(i.toLowerCase().indexOf("rv:11.0")>-1){document.getElementById("app-component").classList.add("ie11");return}if(i.toLowerCase().indexOf("edge/15")>-1){document.getElementById("app-component").classList.add("edge15");return}if(i.toLowerCase().indexOf("safari")>-1){if(i.toLowerCase().indexOf("chrome")>-1)return;document.getElementById("app-component").classList.add("safari")}}};e.\u0275fac=function(r){return new(r||e)(E(te),E(ie),E(pt),E(ce),E(nt),E(ke),E(Ne),E(lt),E(ot),E(ut),E(ct),E(le),E(st),E(ht),E(ar),E(Re))},e.\u0275cmp=Z({type:e,selectors:[["ng-component"]],standalone:!1,decls:4,vars:1,consts:[["id","app-component",3,"resize"],[4,"ngIf"],["aria-live","polite","aria-atomic","true"]],template:function(r,s){r&1&&(I(0,"div",0),Je("resize",function(){return s.onResize()},qi),O(1,"ngx-loading-bar"),ae(2,vs,1,0,"router-outlet",1),j(),O(3,"sa-toasts",2)),r&2&&(H(2),D("ngIf",s.appInitialized))},dependencies:[fr,Ce,hr,Kr],encapsulation:2});let n=e;return n})();var Ss=n=>({"no-background":n}),Ur=(()=>{let e=class e{constructor(i,r){this.translate=i,this.app=r}ngOnInit(){this.isWhiteLabel=this.app.isWhiteLabel,this.translate.selectTranslate("app.notauthorized.title").pipe(Ee(1)).subscribe(i=>{this.app.updateTitle(i)})}};e.\u0275fac=function(r){return new(r||e)(E(ce),E(ie))},e.\u0275cmp=Z({type:e,selectors:[["ng-component"]],standalone:!1,decls:7,vars:3,consts:[[1,"row","error-outer-container","full-height",3,"ngClass"],[1,"col-12"],["transloco","app.notauthorized.header",1,"error-title"],[1,"error-action"],[1,"description"],["transloco","app.notauthorized.description.label",1,"secondary"],["transloco","app.notauthorized.action.home.label","routerLink","/home",1,"btn","btn-primary"]],template:function(r,s){r&1&&(I(0,"div",0)(1,"div",1),O(2,"h3",2),I(3,"div",3)(4,"div",4),O(5,"p",5),j(),O(6,"a",6),j()()()),r&2&&D("ngClass",Ze(1,Ss,s.isWhiteLabel))},dependencies:[dr,we,Ie],styles:[`[_ngcontent-%COMP%]:root{--pp-font-family-sans: "Plus Jakarta Sans", sans-serif;--pp-brand-purple: #421f3c;--pp-brand-purple-rgb: 66, 31, 60;--pp-brand-orange: #ff7418;--pp-brand-orange-rgb: 255, 116, 24;--pp-brand-orange-hover: #e66910;--pp-brand-sunshine-rgb: 255, 174, 60;--pp-app-system-white: #fff;--pp-app-system-almost-white: #f5f5f5;--pp-app-system-border: #ccc}.text-pp-brand-orange[_ngcontent-%COMP%]{color:var(--pp-brand-orange)}.text-pp-brand-purple[_ngcontent-%COMP%]{color:var(--pp-brand-purple)}.error-outer-container[_ngcontent-%COMP%]{background-image:url(https://assets.pointerpro.com/app/v3/error/error-bg-left.png),url(https://assets.pointerpro.com/app/v3/error/error-bg-right.png);background-position:left bottom,right bottom;background-size:auto,auto;background-repeat:no-repeat,no-repeat;
2min-height:calc(100vh - 61px);width:100%;text-align:center;display:flex;align-items:center;justify-content:center}.error-outer-container.no-background[_ngcontent-%COMP%]{background:none}@media screen and (max-width:1200px){.error-outer-container[_ngcontent-%COMP%]{background-size:30%,30%}}.error-outer-container.full-height[_ngcontent-%COMP%]{min-height:100%;margin:0}.error-outer-container[_ngcontent-%COMP%] h3.error-title[_ngcontent-%COMP%]{margin:0;color:var(--pp-black);font-size:2.5em}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin:0 1.5em 1.5em}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.4em;font-family:var(--secondary-font);color:var(--pp-black);font-weight:400}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] p.error-label[_ngcontent-%COMP%]{color:var(--primary-color);font-weight:600;font-size:10em;line-height:1em} 3/*# sourceMappingURL=notauthorized.component-7KIYMGH3.css.map */`]});let n=e;return n})();var bs=n=>({"no-background":n}),qr=(()=>{let e=class e{constructor(i,r,s,o){this.translate=i,this.app=r,this.router=s,this.featureFlagService=o}ngOnInit(){this.featureFlagService.getFeatureFlags().subscribe(i=>{if(this.featureFlagService.setFeatureFlags(i.feature_flags),this.featureFlagService.isMaintenanceMode()===!1){this.router.navigateByUrl("/");return}}),this.translate.selectTranslate("app.maintenance.title").pipe(Ee(1)).subscribe(i=>this.app.updateTitle(i)),this.isWhiteLabel=this.app.isWhiteLabel}};e.\u0275fac=function(r){return new(r||e)(E(ce),E(ie),E(le),E(Re))},e.\u0275cmp=Z({type:e,selectors:[["ng-component"]],standalone:!1,decls:6,vars:3,consts:[[1,"row","error-outer-container","full-height",3,"ngClass"],[1,"col-12"],["transloco","app.maintenance.header",1,"error-title"],[1,"error-action"],[1,"description"],["transloco","app.maintenance.description.label",1,"secondary"]],template:function(r,s){r&1&&(I(0,"div",0)(1,"div",1),O(2,"h3",2),I(3,"div",3)(4,"div",4),O(5,"p",5),j()()()()),r&2&&D("ngClass",Ze(1,bs,s.isWhiteLabel))},dependencies:[we,Ie],styles:[`[_ngcontent-%COMP%]:root{--pp-font-family-sans: "Plus Jakarta Sans", sans-serif;--pp-brand-purple: #421f3c;--pp-brand-purple-rgb: 66, 31, 60;--pp-brand-orange: #ff7418;--pp-brand-orange-rgb: 255, 116, 24;--pp-brand-orange-hover: #e66910;--pp-brand-sunshine-rgb: 255, 174, 60;--pp-app-system-white: #fff;--pp-app-system-almost-white: #f5f5f5;--pp-app-system-border: #ccc}.text-pp-brand-orange[_ngcontent-%COMP%]{color:var(--pp-brand-orange)}.text-pp-brand-purple[_ngcontent-%COMP%]{color:var(--pp-brand-purple)}.error-outer-container[_ngcontent-%COMP%]{background-image:url(https://assets.pointerpro.com/app/v3/error/error-bg-left.png),url(https://assets.pointerpro.com/app/v3/error/error-bg-right.png);background-position:left bottom,right bottom;background-size:auto,auto;background-repeat:no-repeat,no-repeat;min-height:calc(100vh - 61px);width:100%;text-align:center;display:flex;align-items:center;justify-content:center}.error-outer-container.no-background[_ngcontent-%COMP%]{background:none}@media screen and (max-width:1200px){.error-outer-container[_ngcontent-%COMP%]{background-size:30%,30%}}.error-outer-container.full-height[_ngcontent-%COMP%]{min-height:100%;margin:0}.error-outer-container[_ngcontent-%COMP%] h3.error-title[_ngcontent-%COMP%]{margin:0;color:var(--pp-black);font-size:2.5em}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin:0 1.5em 1.5em}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.4em;font-family:var(--secondary-font);color:var(--pp-black);font-weight:400}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] p.error-label[_ngcontent-%COMP%]{color:var(--primary-color);font-weight:600;font-size:10em;line-height:1em} 4/*# sourceMappingURL=maintenance_page.component-NJZDH4YC.css.map */`]});let n=e;return n})();function Es(n,e){n&1&&O(0,"p",7)}function Ts(n,e){n&1&&O(0,"p",8)}
4var Vr=(()=>{let e=class e{constructor(i,r,s,o){this.translate=i,this.app=r,this.userApi=s,this.router=o,this.isWhitelabel=!1}ngOnInit(){this.userApi.getUser().subscribe(i=>{i.organization.locked===!1&&this.router.navigate(["/home"])}),this.translate.selectTranslate("app.locked.title").pipe(Ee(1)).subscribe(i=>{this.app.updateTitle(i)}),this.isWhitelabel=this.app.isWhiteLabel}};e.\u0275fac=function(r){return new(r||e)(E(ce),E(ie),E(mt),E(le))},e.\u0275cmp=Z({type:e,selectors:[["ng-component"]],standalone:!1,decls:7,vars:2,consts:[[1,"row","error-outer-container","full-height"],[1,"col-12"],["transloco","app.locked.header",1,"error-title"],[1,"error-action"],[1,"description"],["class","secondary","transloco","app.locked.description.label.whitelabel",4,"ngIf"],["class","secondary","transloco","app.locked.description.label.default",4,"ngIf"],["transloco","app.locked.description.label.whitelabel",1,"secondary"],["transloco","app.locked.description.label.default",1,"secondary"]],template:function(r,s){r&1&&(I(0,"div",0)(1,"div",1),O(2,"h3",2),I(3,"div",3)(4,"div",4),ae(5,Es,1,0,"p",5)(6,Ts,1,0,"p",6),j()()()()),r&2&&(H(5),D("ngIf",s.isWhitelabel===!0),H(),D("ngIf",s.isWhitelabel===!1))},dependencies:[Ce,Ie],styles:[`[_ngcontent-%COMP%]:root{--pp-font-family-sans: "Plus Jakarta Sans", sans-serif;--pp-brand-purple: #421f3c;--pp-brand-purple-rgb: 66, 31, 60;--pp-brand-orange: #ff7418;--pp-brand-orange-rgb: 255, 116, 24;--pp-brand-orange-hover: #e66910;--pp-brand-sunshine-rgb: 255, 174, 60;--pp-app-system-white: #fff;--pp-app-system-almost-white: #f5f5f5;--pp-app-system-border: #ccc}.text-pp-brand-orange[_ngcontent-%COMP%]{color:var(--pp-brand-orange)}.text-pp-brand-purple[_ngcontent-%COMP%]{color:var(--pp-brand-purple)}.error-outer-container[_ngcontent-%COMP%]{background-image:url(https://assets.pointerpro.com/app/v3/error/error-bg-left.png),url(https://assets.pointerpro.com/app/v3/error/error-bg-right.png);background-position:left bottom,right bottom;background-size:auto,auto;background-repeat:no-repeat,no-repeat;min-height:calc(100vh - 61px);width:100%;text-align:center;display:flex;align-items:center;justify-content:center}.error-outer-container.no-background[_ngcontent-%COMP%]{background:none}@media screen and (max-width:1200px){.error-outer-container[_ngcontent-%COMP%]{background-size:30%,30%}}.error-outer-container.full-height[_ngcontent-%COMP%]{min-height:100%;margin:0}.error-outer-container[_ngcontent-%COMP%] h3.error-title[_ngcontent-%COMP%]{margin:0;color:var(--pp-black);font-size:2.5em}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin:0 1.5em 1.5em}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.4em;font-family:var(--secondary-font);color:var(--pp-black);font-weight:400}.error-outer-container[_ngcontent-%COMP%] .error-action[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] p.error-label[_ngcontent-%COMP%]{color:var(--primary-color);font-weight:600;font-size:10em;line-height:1em} 5/*# sourceMappingURL=locked.component-B3UMN3GN.css.map */`]});let n=e;return n})();var ws=[{path:"",loadChildren:()=>import("./chunk-RZRFD2RN.js").then(n=>n.AuthModule)},{path:"",loadChildren:()=>import("./chunk-EG3S732E.js").then(n=>n.SsoModule)},{path:"",loadChildren:()=>import("./chunk-EGXGTSJE.js").then(n=>n.PresentationModule)},{path:"custom",loadChildren:()=>import("./chunk-A37U3FLT.js").then(n=>n.CustomModule)},{path:"public",loadChildren:()=>import("./chunk-VBTRSWQL.js").then(n=>n.PublicModule)},{path:"reportr-download",loadChildren:()=>import("./chunk-R2ZNSYBH.js").then(n=>n.ReportrModule)},{path:"notauthorized",component:Ur},{path:"maintenance",component:qr},{path:"locked",component:Vr},{path:"",loadChildren:()=>import("./chunk-6KYQ3BQY.js").then(n=>n.MainModule)},{path:"",redirectTo:"/login",pathMatch:"full"}],Qr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=ee({type:e}),e.\u0275inj=J({imports:[Qt.forRoot(ws),Qt]});let n=e;return n})();var Hr=(()=>{let e=class e{constructor(i){this.logRocket=i}handleError(i){i.rejection&&(i=i.rejection),console.error(i),this.logRocket.trackError(i,{caller:"ErrorHandlerService"})}};e.\u0275fac=function(r){return new(r||e)(T(ke))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let n=e;return n})();var vt=new tt(()=>!1);var Wr=(()=>{let e=class e{constructor(i,r,s,o){this.toast=i,this.router=r,this.userService=s,this.hubspotService=o}intercept(i,r){return r.handle(i).pipe(Fi(s=>{if(console.error(s),s.error.debug&&(console.group(s.error.debug.request_id),console.table({url:s.url,message:s.error.debug.real_message,file:s.error.debug.file,line:s.error.debug.line,instance:s.error.debug.instance}),console.error(s.error.debug.trace.array),console.groupEnd()),s.error.message=s.error.error,s.error.key&&(s.error.i18n=this.getTranslationStringFromKey(s.error.key)),i.context.get(vt))return de(s.error);if(s.status===Be.TooManyRequests)return this.toast.error("app.warnings.rate_limit"),de(s.error);if(s.error.key==="two_factor_authentication_is_required"){this.router.navigateByUrl("two-factor-authentication/configure");return}if(s.error.key==="missing_impersonate_reason"){this.router.navigateByUrl("impersonate-reason");return}if(s.error.key==="maintenance_mode"){this.router.navigateByUrl("maintenance");return}if(s.error.key==="missing_otp_token"){this.router.navigateByUrl("two-factor-authentication/otp");return}if(s.error.key==="password_expired"){this.router.navigateByUrl("reset-expired-password");return}if(s.error.key==="not_authenticated"||s.error.key==="duplicate_login")return i.url.includes("/login")?de(s.error):(this.toast.error("app.warnings.login_redirect"),this.userService.logout(),this.hubspotService.clear(),location.href="/login",de(s.error));
5if(s.status===Be.Unauthorized&&["invalid_credentials","login_failed_backoff"].includes(s.error.key)===!1){this.router.navigateByUrl("notauthorized");return}if(s.status===Be.Forbidden&&s.error.key==="organization_locked"){this.router.navigateByUrl("locked");return}if(s.status===Be.UnprocessableEntity&&(s.error.code=s.status,s.error.errors)){let o=s.error.errors,a=Object.keys(o)[0];s.error.error=o[a][0]}return s.error instanceof Blob?de(s):de(s.error)}))}getTranslationStringFromKey(i){return{not_authorized:"errors.general.not_authorized",resource_not_found:"errors.general.resource_not_found",unsupported_filter_operator:"errors.general.unsupported_filter_operator",unsupported_filter_question_type:"errors.general.unsupported_filter_question_type",unsupported_date_filter_key:"errors.general.unsupported_date_filter_key"}[i]||null}};e.\u0275fac=function(r){return new(r||e)(T(Me),T(le),T(De),T(at))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let n=e;return n})();var As=new tt(()=>!1),Ps=(()=>{let e=class e{constructor(i){this.loader=i}intercept(i,r){if(i.context.get(As)===!0)return r.handle(i);let s=!1,o=this.loader.useRef("http");return r.handle(i).pipe(Ye(()=>{s||(o.start(),s=!0)}),Li(()=>s&&o.complete()))}};e.\u0275fac=function(r){return new(r||e)(T(nt))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let n=e;return n})();var $r=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=ee({type:e}),e.\u0275inj=J({providers:[{provide:Pe,useClass:Ps,multi:!0}],imports:[qt,Ke,qt,Ke]});let n=e;return n})();var Gr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=ee({type:e}),e.\u0275inj=J({providers:[Me],imports:[Ir]});let n=e;return n})();function Yr(n){return new b(3e3,!1)}function Ms(){return new b(3100,!1)}function Ns(){return new b(3101,!1)}function Os(n){return new b(3001,!1)}function ks(n){return new b(3003,!1)}function Is(n){return new b(3004,!1)}function Jr(n,e){return new b(3005,!1)}function Zr(){return new b(3006,!1)}function en(){return new b(3007,!1)}function tn(n,e){return new b(3008,!1)}function rn(n){return new b(3002,!1)}function nn(n,e,t,i,r){return new b(3010,!1)}function sn(){return new b(3011,!1)}function on(){return new b(3012,!1)}function an(){return new b(3200,!1)}function ln(){return new b(3202,!1)}function cn(){return new b(3013,!1)}function pn(n){return new b(3014,!1)}function un(n){return new b(3015,!1)}function mn(n){return new b(3016,!1)}function fn(n,e){return new b(3404,!1)}function Rs(n){return new b(3502,!1)}function dn(n){return new b(3503,!1)}function hn(){return new b(3300,!1)}function gn(n){return new b(3504,!1)}function yn(n){return new b(3301,!1)}function _n(n,e){return new b(3302,!1)}function vn(n){return new b(3303,!1)}function Sn(n,e){return new b(3400,!1)}function bn(n){return new b(3401,!1)}function En(n){return new b(3402,!1)}function Tn(n,e){return new b(3505,!1)}function se(n){switch(n.length){case 0:return new he;case 1:return n[0];default:return new ft(n)}}function Jt(n,e,t=new Map,i=new Map){let r=[],s=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),u=c==o,p=u&&a||new Map;l.forEach((_,y)=>{let f=y,g=_;if(y!=="offset")switch(f=n.normalizePropertyName(f,r),g){case xe:g=t.get(y);break;case W:g=i.get(y);break;default:g=n.normalizeStyleValue(y,f,g,r);break}p.set(f,g)}),u||s.push(p),a=p,o=c}),r.length)throw Rs(r);return s}function St(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Gt(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Gt(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Gt(t,"destroy",n)));break}}function Gt(n,e,t){let i=t.totalTime,r=!!t.disabled,s=bt(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,r),o=n._data;return o!=null&&(s._data=o),s}function bt(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function K(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function Zt(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var Ds=typeof document>"u"?null:document.documentElement;function Et(n){let e=n.parentNode||n.host||null;return e===Ds?null:e}function Fs(n){return n.substring(1,6)=="ebkit"}var ge=null,Xr=!1;function wn(n){ge||(ge=Ls()||{},Xr=ge.style?"WebkitAppearance"in ge.style:!1);let e=!0;return ge.style&&!Fs(n)&&(e=n in ge.style,!e&&Xr&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in ge.style)),e}function Ls(){return typeof document<"u"?document.body:null}function ei(n,e){for(;e;){if(e===n)return!0;e=Et(e)}return!1}function ti(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var zs=1e3,ii="{{",js="}}",ri="ng-enter",Tt="ng-leave",Ue="ng-trigger",qe=".ng-trigger",ni="ng-animating",wt=".ng-animating";function re(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Yt(parseFloat(e[1]),e[2])}function Yt(n,e){return e==="s"?n*zs:n}function Ve(n,e,t){return n.hasOwnProperty("duration")?n:Ks(n,e,t)}var Bs=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Ks(n,e,t){let i,r=0,s="";if(typeof n=="string"){let o=n.match(Bs);if(o===null)return e.push(Yr(n)),{duration:0,delay:0,easing:""};i=Yt(parseFloat(o[1]),o[2]);let a=o[3];a!=null&&(r=Yt(parseFloat(a),o[4]));let l=o[5];l&&(s=l)}else i=n;if(!t){let o=!1,a=e.length;i<0&&(e.push(Ms()),o=!0),r<0&&(e.push(Ns()),o=!0),o&&e.splice(a,0,Yr(n))}return{duration:i,delay:r,easing:s}}function Cn(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function $(n,e,t){e.forEach((i,r)=>{let s=Ct(r);t&&!t.has(r)&&t.set(r,n.style[s]),n.style[s]=i})}function pe(n,e){e.forEach((t,i)=>{let r=Ct(i);n.style[r]=""})}function Fe(n){return Array.isArray(n)?n.length==1?n[0]:Rr(n):n}function An(n,e,t){let i=e.params||{},r=si(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(Os(s))})}var Xt=new RegExp(`${ii}\\s*(.+?)\\s*${js}`,"g");function si(n){let e=[];
vendor: 53,953 bytes, line 5
5if(typeof n=="string"){let t;for(;t=Xt.exec(n);)e.push(t[1]);Xt.lastIndex=0}return e}function Le(n,e,t){let i=`${n}`,r=i.replace(Xt,(s,o)=>{let a=e[o];return a==null&&(t.push(ks(o)),a=""),a.toString()});return r==i?n:r}var xs=/-+([a-z0-9])/g;function Ct(n){return n.replace(xs,(...e)=>e[1].toUpperCase())}function Pn(n,e){return n===0||e===0}function Mn(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((s,o)=>{i.has(o)||r.push(o),i.set(o,s)}),r.length)for(let s=1;s<e.length;s++){let o=e[s];r.forEach(a=>o.set(a,At(n,a)))}}return e}function x(n,e,t){switch(e.type){case v.Trigger:return n.visitTrigger(e,t);case v.State:return n.visitState(e,t);case v.Transition:return n.visitTransition(e,t);case v.Sequence:return n.visitSequence(e,t);case v.Group:return n.visitGroup(e,t);case v.Animate:return n.visitAnimate(e,t);case v.Keyframes:return n.visitKeyframes(e,t);case v.Style:return n.visitStyle(e,t);case v.Reference:return n.visitReference(e,t);case v.AnimateChild:return n.visitAnimateChild(e,t);case v.AnimateRef:return n.visitAnimateRef(e,t);case v.Query:return n.visitQuery(e,t);case v.Stagger:return n.visitStagger(e,t);default:throw Is(e.type)}}function At(n,e){return window.getComputedStyle(n)[e]}var Ei=(()=>{class n{validateStyleProperty(t){return wn(t)}containsElement(t,i){return ei(t,i)}getParentElement(t){return Et(t)}query(t,i,r){return ti(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,s,o,a=[],l){return new he(r,s)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=N({token:n,factory:n.\u0275fac})}return n})(),_e=class{static NOOP=new Ei},ve=class{};var Us=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"]),kt=class extends ve{normalizePropertyName(e,t){return Ct(e)}normalizeStyleValue(e,t,i,r){let s="",o=i.toString().trim();if(Us.has(t)&&i!==0&&i!=="0")if(typeof i=="number")s="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(Jr(e,i))}return o+s}};var It="*";function qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>Vs(i,t,e)):t.push(n),t}function Vs(n,e,t){if(n[0]==":"){let l=Qs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(un(n)),e;let r=i[1],s=i[2],o=i[3];e.push(Nn(r,o));let a=r==It&&o==It;s[0]=="<"&&!a&&e.push(Nn(o,r))}function Qs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return e.push(mn(n)),"* => *"}}var Pt=new Set(["true","1"]),Mt=new Set(["false","0"]);function Nn(n,e){let t=Pt.has(n)||Mt.has(n),i=Pt.has(e)||Mt.has(e);return(r,s)=>{let o=n==It||n==r,a=e==It||e==s;return!o&&t&&typeof r=="boolean"&&(o=r?Pt.has(n):Mt.has(n)),!a&&i&&typeof s=="boolean"&&(a=s?Pt.has(e):Mt.has(e)),o&&a}}var Bn=":self",Hs=new RegExp(`s*${Bn}s*,?`,"g");function Kn(n,e,t,i){return new ui(n).build(e,t,i)}var On="",ui=class{_driver;constructor(e){this._driver=e}build(e,t,i){let r=new mi(t);return this._resetContextStyleTimingState(r),x(this,Fe(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=On,e.collectedStyles=new Map,e.collectedStyles.set(On,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(Zr()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==v.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,s.push(this.visitState(l,t))}),l.name=c}else if(a.type==v.Transition){let l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,o.push(l)}else t.errors.push(en())}),{type:v.Trigger,name:e.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){let s=new Set,o=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{si(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&t.errors.push(tn(e.name,[...s.values()]))}return{type:v.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=x(this,Fe(e.animation),t),r=qs(e.expr,t.errors);return{type:v.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:ye(e.options)}}visitSequence(e,t){return{type:v.Sequence,steps:e.steps.map(i=>x(this,i,t)),options:ye(e.options)}}visitGroup(e,t){let i=t.currentTime,r=0,s=e.steps.map(o=>{t.currentTime=i;let a=x(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:v.Group,steps:s,options:ye(e.options)}}visitAnimate(e,t){let i=Ys(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:Ht({});if(s.type==v.Keyframes)r=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=Ht(c)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:v.Animate,timings:i,style:r,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===W?i.push(a):t.errors.push(rn(a)):i.push(new Map(Object.entries(a)));let s=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let l of a.values())if(l.toString().indexOf(ii)>=0){s=!0;break}}}),{type:v.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l),p=!0;u&&(s!=r&&s>=u.startTime&&r<=u.endTime&&(t.errors.push(nn(l,u.startTime,u.endTime,s,r)),p=!1),s=u.startTime),p&&c.set(l,{startTime:s,endTime:r}),t.options&&An(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:v.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(sn()),i;let r=1,s=0,o=[],a=!1,l=!1,c=0,u=e.steps.map(P=>{let M=this._makeStyleAst(P,t),w=M.offset!=null?M.offset:Gs(M.styles),R=0;return w!=null&&(s++,R=M.offset=w),l=l||R<0||R>1,a=a||R<c,c=R,o.push(R),M});l&&t.errors.push(on()),a&&t.errors.push(an());let p=e.steps.length,_=0;s>0&&s<p?t.errors.push(ln()):s==0&&(_=r/(p-1));let y=p-1,f=t.currentTime,g=t.currentAnimateTimings,C=g.duration;return u.forEach((P,M)=>{let w=_>0?M==y?1:_*M:o[M],R=w*C;t.currentTime=f+g.delay+R,g.duration=R,this._validateStyleAst(P,t),P.offset=w,i.styles.push(P)}),i}visitReference(e,t){return{type:v.Reference,animation:x(this,Fe(e.animation),t),options:ye(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:v.AnimateChild,options:ye(e.options)}}visitAnimateRef(e,t){return{type:v.AnimateRef,animation:this.visitReference(e.animation,t),options:ye(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[s,o]=Ws(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,K(t.collectedStyles,t.currentQuerySelector,new Map);let a=x(this,Fe(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:v.Query,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:ye(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(cn());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ve(e.timings,t.errors,!0);return{type:v.Stagger,animation:x(this,Fe(e.animation),t),timings:i,options:null}}};function Ws(n){let e=!!n.split(/\s*,\s*/).find(t=>t==Bn);return e&&(n=n.replace(Hs,"")),n=n.replace(/@\*/g,qe).replace(/@\w+/g,t=>qe+"-"+t.slice(1)).replace(/:animating/g,wt),[n,e]}function $s(n){return n?Q({},n):null}var mi=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Ys(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let s=Ve(n,e).duration;return oi(s,0,"")}let t=n;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=oi(0,0,"");return s.dynamic=!0,s.strValue=t,s}let r=Ve(t,e);return oi(r.duration,r.delay,r.easing)}function ye(n){return n?(n=Q({},n),n.params&&(n.params=$s(n.params))):n={},n}function oi(n,e,t){return{duration:n,delay:e,easing:t}}function Ti(n,e,t,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}var He=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Xs=1,Js=":enter",Zs=new RegExp(Js,"g"),eo=":leave",to=new RegExp(eo,"g");function xn(n,e,t,i,r,s=new Map,o=new Map,a,l,c=[]){return new fi().buildKeyframes(n,e,t,i,r,s,o,a,l,c)}var fi=class{buildKeyframes(e,t,i,r,s,o,a,l,c,u=[]){c=c||new He;let p=new di(e,t,c,r,s,u,[]);p.options=l;let _=l.delay?re(l.delay):0;p.currentTimeline.delayNextStep(_),p.currentTimeline.setStyles([o],null,p.errors,l),x(this,i,p);let y=p.timelines.filter(f=>f.containsAnimation());if(y.length&&a.size){let f;for(let g=y.length-1;g>=0;g--){let C=y[g];if(C.element===t){f=C;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,p.errors,l)}return y.length?y.map(f=>f.buildKeyframes()):[Ti(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let r of e){let s=r?.delay;if(s){let o=typeof s=="number"?s:re(Le(s,r?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime,o=i.duration!=null?re(i.duration):null,a=i.delay!=null?re(i.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),x(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,r=t,s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),s.delay!=null)){r.previousNode.type==v.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Rt);let o=re(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>x(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],r=t.currentTimeline.currentTime,s=e.options&&e.options.delay?re(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),x(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,r=t.params?Le(i,t.params,t.errors):i;return Ve(r,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());let s=e.style;s.type==v.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let s=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?re(r.delay):0;s&&(t.previousNode.type===v.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Rt);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{t.currentQueryIndex=u;let p=t.createSubContext(e.options,c);s&&p.delayNextStep(s),c===t.element&&(l=p.currentTimeline),x(this,e.animation,p),p.currentTimeline.applyStylesToKeyframe();let _=p.currentTimeline.currentTime;o=Math.max(o,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let p=u.currentTime;x(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-p+(r.startTime-i.currentTimeline.startTime)}},Rt={},di=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Rt;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,i,r,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.currentTimeline=l||new Dt(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,r=this.options;i.duration!=null&&(r.duration=re(i.duration)),i.delay!=null&&(r.delay=re(i.delay));let s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=Le(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){let r=t||this.element,s=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=Rt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},s=new hi(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,s,o){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(to,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,e,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!s&&a.length==0&&o.push(pn(t)),a}},Dt=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||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+=Xs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||W),this._currentKeyframe.set(t,W);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);let s=r&&r.params||{},o=io(e,this._globalTimelineStyles);for(let[a,l]of o){let c=Le(l,s,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??W),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((u,p)=>{u===xe?e.add(p):u===W&&t.add(p)}),i||c.set("offset",l/this.duration),r.push(c)});let s=[...e.values()],o=[...t.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Ti(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}},hi=class extends Dt{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,i,r,s,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],o=i+t,a=t/o,l=new Map(e[0]);l.set("offset",0),s.push(l);let c=new Map(e[0]);c.set("offset",kn(a)),s.push(c);let u=e.length-1;for(let p=1;p<=u;p++){let _=new Map(e[p]),y=_.get("offset"),f=t+y*i;_.set("offset",kn(f/o)),s.push(_)}i=o,t=0,r="",e=s}return Ti(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}};function kn(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function io(n,e){let t=new Map,i;return n.forEach(r=>{if(r==="*"){i??=e.keys();for(let s of i)t.set(s,W)}else for(let[s,o]of r)t.set(s,o)}),t}function In(n,e,t,i,r,s,o,a,l,c,u,p,_){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:p,errors:_}}var ai={},Ft=class{_triggerName;ast;_stateStyles;constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return ro(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,s,o,a,l,c,u){let p=[],_=this.ast.options&&this.ast.options.params||ai,y=a&&a.params||ai,f=this.buildStyles(i,y,p),g=l&&l.params||ai,C=this.buildStyles(r,g,p),P=new Set,M=new Map,w=new Map,R=r==="void",Se={params:Un(g,_),delay:this.ast.options?.delay},Y=u?[]:xn(e,t,this.ast.animation,s,o,f,C,Se,c,p),z=0;return Y.forEach(B=>{z=Math.max(B.duration+B.delay,z)}),p.length?In(t,this._triggerName,i,r,R,f,C,[],[],M,w,z,p):(Y.forEach(B=>{let ue=B.element,be=K(M,ue,new Set);B.preStyleProps.forEach(me=>be.add(me));let Ai=K(w,ue,new Set);B.postStyleProps.forEach(me=>Ai.add(me)),ue!==t&&P.add(ue)}),In(t,this._triggerName,i,r,R,f,C,Y,[...P.values()],M,w,z))}};function ro(n,e,t,i,r){return n.some(s=>s(e,t,i,r))}function Un(n,e){let t=Q({},e);return Object.entries(n).forEach(([i,r])=>{r!=null&&(t[i]=r)}),t}var gi=class{styles;defaultParams;normalizer;constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,r=Un(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=Le(o,r,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function no(n,e,t){return new yi(n,e,t)}var yi=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,t.states.forEach(r=>{let s=r.options&&r.options.params||{};this.states.set(r.name,new gi(r.style,s,i))}),Rn(this.states,"true","1"),Rn(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Ft(e,r,this.states))}),this.fallbackTransition=so(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(o=>o.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function so(n,e,t){let i=[(o,a)=>!0],r={type:v.Sequence,steps:[],options:null},s={type:v.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Ft(n,s,e)}function Rn(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var oo=new He,_i=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i}register(e,t){let i=[],r=[],s=Kn(this._driver,t,i,r);if(i.length)throw dn(i);this._animations.set(e,s)}_buildPlayer(e,t,i){let r=e.element,s=Jt(this._normalizer,e.keyframes,t,i);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let r=[],s=this._animations.get(e),o,a=new Map;if(s?(o=xn(this._driver,t,s,ri,Tt,new Map,new Map,i,oo,r),o.forEach(u=>{let p=K(a,u.element,new Map);u.postStyleProps.forEach(_=>p.set(_,null))})):(r.push(hn()),o=[]),r.length)throw gn(r);a.forEach((u,p)=>{u.forEach((_,y)=>{u.set(y,this._driver.computeStyle(p,y,W))})});let l=o.map(u=>{let p=a.get(u.element);return this._buildPlayer(u,new Map,p)}),c=se(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw yn(e);return t}listen(e,t,i,r){let s=bt(t,"","","");return St(this._getPlayer(e),i,s,r),()=>{}}command(e,t,i,r){if(i=="register"){this.register(e,r[0]);return}if(i=="create"){let o=r[0]||{};this.create(e,t,o);return}let s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},Dn="ng-animate-queued",ao=".ng-animate-queued",li="ng-animate-disabled",lo=".ng-animate-disabled",co="ng-star-inserted",po=".ng-star-inserted",uo=[],qn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},G="__ng_removed",We=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=ho(r),i){let s=e,{value:o}=s,a=Oi(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(r=>{i[r]==null&&(i[r]=t[r])})}}},Qe="void",ci=new We(Qe),vi=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"+e,V(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw _n(i,t);if(i==null||i.length==0)throw vn(t);if(!go(i))throw Sn(i,t);let s=K(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);let a=K(this._engine.statesByElement,e,new Map);return a.has(t)||(V(e,Ue),V(e,Ue+"-"+t),a.set(t,ci)),()=>{this._engine.afterFlush(()=>{let l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bn(e);return t}trigger(e,t,i,r=!0){let s=this._getTrigger(t),o=new $e(this.id,t,e),a=this._engine.statesByElement.get(e);a||(V(e,Ue),V(e,Ue+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new We(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=ci),!(c.value===Qe)&&l.value===c.value){if(!vo(l.params,c.params)){let g=[],C=s.matchStyles(l.value,l.params,g),P=s.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{pe(e,C),$(e,P)})}return}let _=K(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=s.matchTransition(l.value,c.value,e,c.params),f=!1;if(!y){if(!r)return;y=s.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:c,player:o,isFallbackTransition:f}),f||(V(e,Dn),o.onStart(()=>{ze(e,Dn)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let C=this._engine.playersByElement.get(e);if(C){let P=C.indexOf(o);P>=0&&C.splice(P,1)}}),this.players.push(o),_.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,qe,!0);i.forEach(r=>{if(r[G])return;let s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Qe,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&se(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let r=new Set;t.forEach(s=>{let o=s.name;if(r.has(o))return;r.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||ci,u=new We(Qe),p=new $e(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:u,player:p,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){let s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{let s=e[G];(!s||s===qn)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){V(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=bt(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,St(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{let s=i.transition.ast.depCount,o=r.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Si=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new vi(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let r of i.values())if(r.namespaceId){let s=this._fetchNamespace(r.namespaceId);s&&t.add(s)}}return t}trigger(e,t,i,r){if(Nt(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!Nt(t))return;let s=t[G];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),V(e,li)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ze(e,li))}removeNode(e,t,i){if(Nt(t)){let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,r,s){this.collectedLeaveElements.push(t),t[G]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return Nt(t)?this._fetchNamespace(e).listen(t,i,r,s):()=>{}}_buildInstruction(e,t,i,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,qe,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,wt,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return se(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[G];if(t&&t.setForRemoval){if(e[G]=qn,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(li)&&this.markElementAsDisabled(e,!1),this.driver.query(e,lo,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];V(r,co)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{t=this._flushAnimations(i,e)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?se(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw En(e)}_flushAnimations(e,t){let i=new He,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(m=>{u.add(m);let d=this.driver.query(m,ao,!0);for(let h=0;h<d.length;h++)u.add(d[h])});let p=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=zn(_,this.collectedEnterElements),f=new Map,g=0;y.forEach((m,d)=>{let h=ri+g++;f.set(d,h),m.forEach(S=>V(S,h))});let C=[],P=new Set,M=new Set;for(let m=0;m<this.collectedLeaveElements.length;m++){let d=this.collectedLeaveElements[m],h=d[G];h&&h.setForRemoval&&(C.push(d),P.add(d),h.hasAnimation?this.driver.query(d,po,!0).forEach(S=>P.add(S)):M.add(d))}let w=new Map,R=zn(_,Array.from(P));R.forEach((m,d)=>{let h=Tt+g++;w.set(d,h),m.forEach(S=>V(S,h))}),e.push(()=>{y.forEach((m,d)=>{let h=f.get(d);m.forEach(S=>ze(S,h))}),R.forEach((m,d)=>{let h=w.get(d);m.forEach(S=>ze(S,h))}),C.forEach(m=>{this.processLeaveNode(m)})});let Se=[],Y=[];for(let m=this._namespaceList.length-1;m>=0;m--)this._namespaceList[m].drainQueuedTransitions(t).forEach(h=>{let S=h.player,k=h.element;if(Se.push(S),this.collectedEnterElements.length){let L=k[G];if(L&&L.setForMove){if(L.previousTriggersValues&&L.previousTriggersValues.has(h.triggerName)){let fe=L.previousTriggersValues.get(h.triggerName),q=this.statesByElement.get(h.element);if(q&&q.has(h.triggerName)){let Ge=q.get(h.triggerName);Ge.value=fe,q.set(h.triggerName,Ge)}}S.destroy();return}}let X=!p||!this.driver.containsElement(p,k),U=w.get(k),oe=f.get(k),A=this._buildInstruction(h,i,oe,U,X);if(A.errors&&A.errors.length){Y.push(A);return}if(X){S.onStart(()=>pe(k,A.fromStyles)),S.onDestroy(()=>$(k,A.toStyles)),r.push(S);return}if(h.isFallbackTransition){S.onStart(()=>pe(k,A.fromStyles)),S.onDestroy(()=>$(k,A.toStyles)),r.push(S);return}let Ni=[];A.timelines.forEach(L=>{L.stretchStartingKeyframe=!0,this.disabledNodes.has(L.element)||Ni.push(L)}),A.timelines=Ni,i.append(k,A.timelines);let rs={instruction:A,player:S,element:k};o.push(rs),A.queriedElements.forEach(L=>K(a,L,[]).push(S)),A.preStyleProps.forEach((L,fe)=>{if(L.size){let q=l.get(fe);q||l.set(fe,q=new Set),L.forEach((Ge,xt)=>q.add(xt))}}),A.postStyleProps.forEach((L,fe)=>{let q=c.get(fe);q||c.set(fe,q=new Set),L.forEach((Ge,xt)=>q.add(xt))})});if(Y.length){let m=[];Y.forEach(d=>{m.push(Tn(d.triggerName,d.errors))}),Se.forEach(d=>d.destroy()),this.reportError(m)}let z=new Map,B=new Map;o.forEach(m=>{let d=m.element;i.has(d)&&(B.set(d,d),this._beforeAnimationBuild(m.player.namespaceId,m.instruction,z))}),r.forEach(m=>{let d=m.element;this._getPreviousPlayers(d,!1,m.namespaceId,m.triggerName,null).forEach(S=>{K(z,d,[]).push(S),S.destroy()})});let ue=C.filter(m=>jn(m,l,c)),be=new Map;Ln(be,this.driver,M,c,W).forEach(m=>{jn(m,l,c)&&ue.push(m)});let me=new Map;y.forEach((m,d)=>{Ln(me,this.driver,new Set(m),l,xe)}),ue.forEach(m=>{let d=be.get(m),h=me.get(m);be.set(m,new Map([...d?.entries()??[],...h?.entries()??[]]))});let Kt=[],Pi=[],Mi={};o.forEach(m=>{let{element:d,player:h,instruction:S}=m;if(i.has(d)){if(u.has(d)){h.onDestroy(()=>$(d,S.toStyles)),h.disabled=!0,h.overrideTotalTime(S.totalTime),r.push(h);return}let k=Mi;if(B.size>1){let U=d,oe=[];for(;U=U.parentNode;){let A=B.get(U);if(A){k=A;break}oe.push(U)}oe.forEach(A=>B.set(A,k))}let X=this._buildAnimation(h.namespaceId,S,z,s,me,be);if(h.setRealPlayer(X),k===Mi)Kt.push(h);else{let U=this.playersByElement.get(k);U&&U.length&&(h.parentPlayer=se(U)),r.push(h)}}else pe(d,S.fromStyles),h.onDestroy(()=>$(d,S.toStyles)),Pi.push(h),u.has(d)&&r.push(h)}),Pi.forEach(m=>{let d=s.get(m.element);if(d&&d.length){let h=se(d);m.setRealPlayer(h)}}),r.forEach(m=>{m.parentPlayer?m.syncPlayerEvents(m.parentPlayer):m.destroy()});for(let m=0;m<C.length;m++){let d=C[m],h=d[G];if(ze(d,Tt),h&&h.hasAnimation)continue;let S=[];if(a.size){let X=a.get(d);X&&X.length&&S.push(...X);let U=this.driver.query(d,wt,!0);for(let oe=0;oe<U.length;oe++){let A=a.get(U[oe]);A&&A.length&&S.push(...A)}}let k=S.filter(X=>!X.destroyed);k.length?yo(this,d,k):this.processLeaveNode(d)}return C.length=0,Kt.forEach(m=>{this.players.push(m),m.onDone(()=>{m.destroy();let d=this.players.indexOf(m);this.players.splice(d,1)}),m.play()}),Kt}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,s){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!s||s==Qe;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let r=t.triggerName,s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:r;for(let l of t.timelines){let c=l.element,u=c!==s,p=K(i,c,[]);this._getPreviousPlayers(c,u,o,a,t.toState).forEach(y=>{let f=y.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),y.destroy(),p.push(y)})}pe(s,t.fromStyles)}_buildAnimation(e,t,i,r,s,o){let a=t.triggerName,l=t.element,c=[],u=new Set,p=new Set,_=t.timelines.map(f=>{let g=f.element;u.add(g);let C=g[G];if(C&&C.removedBeforeQueried)return new he(f.duration,f.delay);let P=g!==l,M=_o((i.get(g)||uo).map(z=>z.getRealPlayer())).filter(z=>{let B=z;return B.element?B.element===g:!1}),w=s.get(g),R=o.get(g),Se=Jt(this._normalizer,f.keyframes,w,R),Y=this._buildPlayer(f,Se,M);if(f.subTimeline&&r&&p.add(g),P){let z=new $e(e,a,g);z.setRealPlayer(Y),c.push(z)}return Y});c.forEach(f=>{K(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>fo(this.playersByQueriedElement,f.element,f))}),u.forEach(f=>V(f,ni));let y=se(_);return y.onDestroy(()=>{u.forEach(f=>ze(f,ni)),$(l,t.toStyles)}),p.forEach(f=>{K(r,f,[]).push(y)}),y}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new he(e.duration,e.delay)}},$e=class{namespaceId;triggerName;element;_player=new he;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>St(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){K(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function fo(n,e,t){let i=n.get(e);if(i){if(i.length){let r=i.indexOf(t);i.splice(r,1)}i.length==0&&n.delete(e)}return i}function ho(n){return n??null}function Nt(n){return n&&n.nodeType===1}function go(n){return n=="start"||n=="done"}function Fn(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Ln(n,e,t,i,r){let s=[];t.forEach(l=>s.push(Fn(l)));let o=[];i.forEach((l,c)=>{let u=new Map;l.forEach(p=>{let _=e.computeStyle(c,p,r);u.set(p,_),(!_||_.length==0)&&(c[G]=mo,o.push(c))}),n.set(c,u)});let a=0;return t.forEach(l=>Fn(l,s[a++])),o}function zn(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,r=new Set(e),s=new Map;function o(a){if(!a)return i;let l=s.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:r.has(c)?l=i:l=o(c),s.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function V(n,e){n.classList?.add(e)}function ze(n,e){n.classList?.remove(e)}function yo(n,e,t){se(t).onDone(()=>n.processLeaveNode(e))}function _o(n){let e=[];return Vn(n,e),e}function Vn(n,e){for(let t=0;t<n.length;t++){let i=n[t];i instanceof ft?Vn(i.players,e):e.push(i)}}function vo(n,e){let t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){let s=t[r];if(!e.hasOwnProperty(s)||n[s]!==e[s])return!1}return!0}function jn(n,e,t){let i=t.get(n);if(!i)return!1;let r=e.get(n);return r?i.forEach(s=>r.add(s)):e.set(n,i),t.delete(n),!0}var je=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,i){this._driver=t,this._normalizer=i,this._transitionEngine=new Si(e.body,t,i),this._timelineEngine=new _i(e.body,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(e,t,i,r,s){let o=e+"-"+r,a=this._triggerCache[o];if(!a){let l=[],c=[],u=Kn(this._driver,s,l,c);if(l.length)throw fn(r,l);a=no(r,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if(i.charAt(0)=="@"){let[s,o]=Zt(i),a=r;this._timelineEngine.command(s,t,o,a)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,s){if(i.charAt(0)=="@"){let[o,a]=Zt(i);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,i,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function So(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=pi(e[0]),e.length>1&&(i=pi(e[e.length-1]))):e instanceof Map&&(t=pi(e)),t||i?new bo(n,t,i):null}var bo=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r;let s=n.initialStylesByElement.get(t);s||n.initialStylesByElement.set(t,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&$(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($(this._element,this._initialStyles),this._endStyles&&($(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(pe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pe(this._element,this._endStyles),this._endStyles=null),$(this._element,this._initialStyles),this._state=3)}}return n})();function pi(n){let e=null;return n.forEach((t,i)=>{Eo(i)&&(e=e||new Map,e.set(i,t))}),e}function Eo(n){return n==="display"||n==="position"}var Lt=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,t=this._triggerWebAnimation(this.element,e,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();return t.addEventListener("finish",i),this.onDestroy(()=>{t.removeEventListener("finish",i)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){let r=this._convertKeyframesToObject(t);try{return e.animate(r,i)}catch{return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&e.set(r,this._finished?i:At(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},zt=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return ei(e,t)}getParentElement(e){return Et(e)}query(e,t,i){return ti(e,t,i)}computeStyle(e,t,i){return At(e,t)}animate(e,t,i,r,s,o=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};s&&(l.easing=s);let c=new Map,u=o.filter(y=>y instanceof Lt);Pn(i,r)&&u.forEach(y=>{y.currentSnapshot.forEach((f,g)=>c.set(g,f))});let p=Cn(t).map(y=>new Map(y));p=Mn(e,p,c);let _=So(e,p);return new Lt(e,p,l,_)}};var Ot="@",Qn="@.disabled",jt=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i,r){if(r){this.delegate.removeChild(e,t,i,r);return}this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==Ot&&t==Qn?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i,r){return this.delegate.listen(e,t,i,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},bi=class extends jt{factory;constructor(e,t,i,r,s){super(t,i,r,s),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==Ot?t.charAt(1)=="."&&t==Qn?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i,r){if(t.charAt(0)==Ot){let s=To(e),o=t.slice(1),a="";return o.charAt(0)!=Ot&&([o,a]=wo(o)),this.engine.listen(this.namespaceId,s,o,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(e,t,i,r)}};function To(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function wo(n){let e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}var Bt=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,t.onRemovalComplete=(r,s)=>{s?.removeChild(null,r)}}createRenderer(e,t){let r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,u=c.get(r);if(!u){let p=()=>c.delete(r);u=new jt("",r,this.engine,p),c.set(r,u)}return u}let s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>
5{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,o,e,c.name,c)};return t.data.animation.forEach(a),new bi(this,o,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var Ao=(()=>{class n extends je{constructor(t,i,r){super(t,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||n)(T(Ki),T(_e),T(ve))};static \u0275prov=N({token:n,factory:n.\u0275fac})}return n})();function Po(){return new kt}function Mo(n,e,t){return new Bt(n,e,t)}var Wn=[{provide:ve,useFactory:Po},{provide:je,useClass:Ao},{provide:Qi,useFactory:Mo,deps:[tr,je,Vi]}],No=[{provide:_e,useClass:Ei},{provide:Ut,useValue:"NoopAnimations"},...Wn],Hn=[{provide:_e,useFactory:()=>new zt},{provide:Ut,useFactory:()=>"BrowserAnimations"},...Wn],$n=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?No:Hn}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=ee({type:n});static \u0275inj=J({providers:Hn,imports:[et]})}return n})();var Gn=(()=>{let e=class e{constructor(i){this.api=i,this.ignore=["v1/whitelabels","/lang/","/stats/event","v3/feature-flags/features"]}intercept(i,r){return this.ignore.some(s=>i.url.includes(s))?r.handle(i):r.handle(i).pipe(zi(this.api.onCancelPendingRequests()))}};e.\u0275fac=function(r){return new(r||e)(T(te))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let n=e;return n})();var Oo=(()=>{let e=class e{constructor(i){this.http=i}getTranslation(i){let r=`/lang/${i}.json?v=${Oe.version}`;return this.http.get(r)}};e.\u0275fac=function(r){return new(r||e)(T(Ae))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Yn={provide:gr,useClass:Oo};var Jn=ns(ss());var Xn=null;function Zn(n=Xn,e){if(n===null)return null;let t=(0,Jn.default)(n);switch(e.type){case Mr:return Q(Q({},n),e.payload);case Nr:return t||(t={children:[]}),t.children||(t.children=[]),t.children.push(e.payload),Q(Q({},n),t);case Or:return Xn;case kr:return t.children=t.children.filter(i=>i.componentId!==e.payload),Q(Q({},n),t);default:return n}}var es=(()=>{let e=class e{constructor(i,r,s){this.http=i,this.apiService=r,this.userService=s}restoreSessionFromCookie(){return ki(this,null,function*(){if(this.userService.isLoggedIn())return;let i=new rr().set(vt,!0);try{let r=yield Ii(this.http.get(this.apiService.getV1ApiDomain()+"me",{headers:this.apiService.addSaTokenHttpHeader(),context:i}).pipe(Ri(5e3)));this.userService.login(r,null)}catch{}})}};e.\u0275fac=function(r){return new(r||e)(T(Ae),T(te),T(De))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var ts=(()=>{let e=class e{constructor(i){this.localStorage=i}intercept(i,r){return this.shouldAddWithCredentials(i.url)&&(i=i.clone({withCredentials:!0})),r.handle(i).pipe(Di(s=>s instanceof nr),Ye({next:s=>{let o=s.headers.get("SA-TOKEN-REFRESH");o!==null&&this.localStorage.setItem("auth_token",o)}}))}shouldAddWithCredentials(i){let r="https://"+Oe.apiDomain;return i.startsWith(r)===!0}};e.\u0275fac=function(r){return new(r||e)(T(Ne))},e.\u0275prov=N({token:e,factory:e.\u0275fac});let n=e;return n})();var is=(()=>{let e=class e{constructor(i,r){zr.injector=i,r.getHighcharts()}};e.\u0275fac=function(r){return new(r||e)(T(Xe),T(dt))},e.\u0275mod=ee({type:e,bootstrap:[xr]}),e.\u0275inj=J({providers:[te,ie,Fr,mt,Er,pt,wr,Ne,ke,lt,ot,ut,ct,st,Ar,De,Sr,Tr,Re,br,ht,cr,at,pr,dt,Lr,{provide:xi,useClass:Hr},{provide:Pe,useClass:Wr,multi:!0},{provide:Pe,useClass:Gn,multi:!0},{provide:Pe,useClass:ts,multi:!0},{provide:Hi,useFactory:i=>()=>i.restoreSessionFromCookie(),deps:[es],multi:!0},Yn,vr({config:{availableLangs:[ne.EN_US,ne.FR_BE,ne.NL_BE],reRenderOnLang
5Change:!0,fallbackLang:ne.EN_US,defaultLang:ne.EN_US,missingHandler:{allowEmpty:!0,logMissingKey:!1,useFallbackTranslation:!0}}}),sr(or()),Dr({instance:()=>import("./chunk-R6TQ2U6J.js").then(i=>i.Highcharts)})],imports:[Qr,et,er,Ke,$r,$n,Gr,_r,Pr.forRoot({paginationState:Zn})]});let n=e;return n})();var Ci=new XMLHttpRequest;Ci.addEventListener("load",ko);Ci.open("GET","/app_release_number.json?v="+Date.now().toString());Ci.send();var wi="";function ko(){wi=JSON.parse(this.responseText).version;let e=new XMLHttpRequest;e.addEventListener("load",Io),e.open("GET","/config.json?v="+wi),e.send()}function Io(){let n=JSON.parse(this.responseText);n.version=wi,Ro(n)}function Ro(n){Xe.create([{provide:it,useClass:it,deps:[]}]).get(it).set(n),Do(n)}function Do(n){n.production&&void 0,ir().bootstrapModule(is).then(e=>{if(n.debug){let i=e.injector.get(Wi).components[0];lr(i)}}).catch(e=>console.error(e))} 6//# sourceMappingURL=main-YUXBVVDN.js.map
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.