PageSourceSearch

https://linkvertise.com/main.8f2576c0027e9c00.js

js linkvertise.com collected 2026-10-02 07:07:21 UTC 1,842,509 bytes, 503 lines download raw bytes

1"use strict";(self.webpackChunkcreator_web=self.webpackChunkcreator_web||[]).push([[792],{6637(vt,Y,i){i.d(Y,{N:()=>c});var h=i(6661),b=i(1820);class c{static isRouterValid(){return!!this.router||(h.c.production||console.error("Router for Interaction Class not provided"),!1)}static isLocationValid(){return!!this.location||(h.c.production||console.error("Location for Interaction Class not provided"),!1)}static isInputValid(T){return!!T||(h.c.production||console.error("Input for Interaction Class not given"),!1)}static init(T,y){this.router=T,this.location=y}static concatAccessHref(T){return"FULLSCRIPT"===T.seo_classification?`/access${this.router?.url}`:`/access/${T.user_id}/${T.url}`}static openLegalPage(T){this.isRouterValid()&&this.routeToLegalPage(T)}static openProfile(T){this.isInputValid(T)&&this.isRouterValid()&&this.routeToProfile(T)}static openDetailPage(T){this.isRouterValid()&&this.isInputValid(T)&&T.user_id&&T.url&&this.routeToDetailPage(T.user_id.toString(),T.url)}static openAd(T){this.isInputValid(T)&&this.routeToAd(T)}static openFollowedDetailPage(T,y){this.isRouterValid()&&this.isLocationValid()&&this.isInputValid(T)&&(T&&T!==y?this.routeToFollowedDetailPage(T):this.routeToFollowedDetailPage())}static openDiscordRedirectPage(T){this.isRouterValid()&&this.routeToDiscordRedirectPage(T)}static navigateToNavPage(T,y,O){this.isRouterValid()&&this.routeToNavPage(T,y,O)}static navigateToPostCreationPage(){this.isRouterValid()&&this.routeToPostCreation()}static navigateToSettingsPage(T=b.B.ACCOUNT){this.routeToSettings(T)}static navigateToDashboard(){this.routeToDashboard()}static navigateToProfileSettingsPage(){this.routeToProfileSettings()}static navigateToPasswordResetPage(){this.routeToPasswordReset()}static navigateToAllFollowedUser(){this.isRouterValid()&&this.routeToAllFollowedUser()}static navigateToDetailPage(T){this.isRouterValid()&&this.routeFromAccessToDetail(T)}static navigateToHomePage(){this.isRouterValid()&&this.routeToHomePage()}static navigateToSearchPage(T){this.isRouterValid()&&this.routeToSearchPage(T)}static navigateToForYouPage(){this.isRouterValid()&&this.routeToForYouPage()}static navigateToSensitivePostsSettingsPage(){this.isRouterValid()&&this.routeToSensitivePostsSettingsPage()}static routeToNavPage(T,y,O){"profile"===y?c.openProfile(O):this.router?.navigate([T])}static routeToPostCreation(){this.router?.navigate(["/posts/create/targetType"],{queryParams:{newPost:!0}})}static routeToDashboard(){this.router?.navigate(["dashboard"])}static routeToLegalPage(T){const y=this.router?.serializeUrl(this.router.createUrlTree([T]));window.open(y,"_blank")}static routeFromAccessToDetail(T){if(!T)return;const y=T?.replace(/^\/access(?=\/|$)/,"");this.router?.navigateByUrl(y)}static routeToProfile(T){this.router?.navigate(["profile",T])}static routeToDetailPage(T,y){this.router?.navigate([T,y])}static routeToFollowedDetailPage(T){this.router?.navigate(T?["for-you",T??""]:["for-you"])}static routeToForYouPage(){this.router?.navigate(["for-you"])}static routeToAllFollowedUser(){this.router?.navigate(["for-you-overview"])}static routeToHomePage(){this.router?.navigate(["/"])}static routeToSettings(T){this.isRouterValid()&&this.router?.navigate(["settings"],{queryParams:{tab:T}})}static routeToProfileSettings(){this.isRouterValid()&&this.router?.navigate(["settings","profile"])}static routeToPasswordReset(){this.isRouterValid()&&this.router?.navigate(["settings","password-reset"])}static routeToAd(T){window.open(T,"_blank")}static routeToSearchPage(T){const y=(T??"").trim().replace(/([()/])/g,"");this.router?.navigate(["search",y])}static routeToDiscordRedirectPage(T){"/"===T&&this.navigateToHomePage(),this.router?.navigate([T])}static routeToSensitivePostsSettingsPage(){this.router?.navigate(["settings","sensitive-posts-settings"])}}},5769(vt,Y,i){i.d(Y,{q:()=>Be});var h=i(3794),b=i(5802),c=i(5949),C=i(4412),T=i(6354),y=i(4843),O=i(7673),k=i(1807),w=i(5558),v=i(786),D=i(6977),m=i(7048),u=i(9350),W=i(5964),z=i(5109),se=i(3774),G=i(9901),le=i(3669),ge=i(6661),q=i(5395),Te=i(4095);let Be=(()=>{class we{constructor(){this.POLL_INTERVAL_MS=1e4,this.NON_AUTH_MAX_POLL_MS=12e4,this.http=(0,b.WQX)(h.Qq),this.dialog=(0,b.WQX)(c.o3),this.chargeBeePortalGQL=(0,b.WQX)(Te.Iz),this.baseUrl=ge.c.baseUrl,this.chargebeeStatus$$=new C.t("DEFAULT")}postChargebeePortal(){return this.chargeBeePortalGQL.fetch().pipe((0,T.T)(ye=>ye?.data?.getChargebeePortalUrl))}handleChargebeePortal(){return new Promise((ye,Q)=>{const ae=window.open("","_blank");
1(0,y._)(this.postChargebeePortal()).then(H=>ae?H?(ae.location.href=H,void ye()):(ae.close(),Q("Something went wrong: No data received")):(console.error("Popup was blocked by your browser."),Q("Popup was blocked"))).catch(H=>{console.error("Something went wrong:",H),ae&&ae.close(),Q(H)})})}fetchCheckoutStatus(ye){return this.http.post(`${this.baseUrl}checkout/status`,{hostPageId:ye})}isFinalChargebeeState(ye){return"ACTIVE"===ye||"TRIAL_AUTH_FAILED"===ye}pollCheckoutStatus$(ye){const Q=()=>this.fetchCheckoutStatus(ye);return Q().pipe((0,w.n)(ae=>{const H=ae?.data?.state;return this.isFinalChargebeeState(H)?(0,O.of)(ae):(0,k.O)(this.POLL_INTERVAL_MS,this.POLL_INTERVAL_MS).pipe((0,v.p)(()=>Q())).pipe((0,D.Q)((0,k.O)(this.NON_AUTH_MAX_POLL_MS)),(0,m.v)(We=>!this.isFinalChargebeeState(We?.data?.state),!0),function _(we,X){const ye=arguments.length>=2;return Q=>Q.pipe(we?(0,W.p)((ae,H)=>we(ae,H,Q)):le.D,(0,z.o)(1),ye?(0,G.U)(X):(0,se.v)(()=>new u.G))}())}))}checkChargebeeStatus(ye,Q){switch(!0){case!Q&&"ACTIVE"!==ye.data.state:return"DEFAULT";case"PENDING"===Q&&ye.data.reason:return"PENDING-SUPPORT";case"PENDING"===Q:return"PENDING-FAILED";default:return ye.data.state}}handleChargebeeStatus(ye){const Q=ye.value.toLowerCase();return this.dialog.open(q.t,{backdropClickClose:!1,panelClass:"full-width-dialog",data:{status:Q}})}openChargebeeStatusAndHandlePortal(ye){this.chargebeeStatus$$.next(ye),this.dialog.open(q.t,{backdropClickClose:!0,panelClass:"full-width-dialog",data:{status:ye}}).afterClosed().subscribe(Q=>{Q&&"DUNNING"===Q.toString().toUpperCase()&&this.handleChargebeePortal()})}static{this.\u0275fac=function(Q){return new(Q||we)}}static{this.\u0275prov=b.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}}return we})()},1306(vt,Y,i){i.d(Y,{T:()=>b});const b=i(4589).J1`
2    fragment ResultCardFields on PublicLink {
3  __typename
4  id
5  url
6  target_host
7  target_type
8  title
9  positive_rating
10  is_premium_only
11  publisher {
12    id
13    name
14    avatar_color
15    is_subscriber
16  }
17  already_rated_by_user
18  is_trending
19  view_count
20  filtered_link_images {
21    url
22    is_blurred
23  }
24  user_rating
25  percentage_rating
26  seo_classification
27  effective_published_at
28  href
29}
30    `},9855(vt,Y,i){i.d(Y,{C2:()=>O,DM:()=>k,mp:()=>D});var C=i(4589),T=i(5802);const y=C.J1`
31    mutation register($input: RegisterInput!) {
32  register(input: $input) {
33    token
34    username
35    sanctum_token
36  }
37}
38    `;let O=(()=>{class m extends C.sM{constructor(W){super(W),this.document=y}static{this.\u0275fac=function(z){return new(z||m)(T.KVO(C.Ic))}}static{this.\u0275prov=T.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})();const k=C.J1`
39    mutation loginWithSecret($secret: String!) {
40  loginWithSecret(secret: $secret) {
41    access_token
42    sanctum_token
43    token_type
44  }
45}
46    `,v=C.J1`
47    mutation login($input: UserLoginInput!) {
48  login(input: $input) {
49    sanctum_token
50    token
51    username
52  }
53}
54    `;let D=(()=>{class m extends C.sM{constructor(W){super(W),this.document=v}static{this.\u0275fac=function(z){return new(z||m)(T.KVO(C.Ic))}}static{this.\u0275prov=T.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},7484(vt,Y,i){i.d(Y,{u:()=>b});var h=i(5802);let b=(()=>{class c{constructor(){this.detected=new h.bkB}check(){[this.checkForClass(),this.checkForPosition()].reduce((O,k)=>O||k,!1)&&(this.isAdBlocked=!0)}checkForClass(){return"none"===window.getComputedStyle(document.querySelector(".msn-newsfeed-banner.ad-wrapper.ad_box")).display}checkForPosition(){return"absolute"===window.getComputedStyle(document.querySelector(".msn-newsfeed-banner.ad-wrapper.ad_box")).position}static{this.\u0275fac=function(y){return new(y||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},7366(vt,Y,i){i.d(Y,{u:()=>k});var h=i(5802),b=i(2271),c=i(6661),C=i(4446),T=i(3794),y=i(4095),O=i(9855);let k=(()=>{class w{constructor(){this.meService=(0,h.WQX)(C.Q),this.passwordResetGQL=(0,h.WQX)(y.bX),this.passwordForgetGQL=(0,h.WQX)(y.p1),this.sendPasswordResetEmailGQL=(0,h.WQX)(y.$j),this.loginUserGQL=(0,h.WQX)(O.mp),this.http=(0,h.WQX)(T.Qq),this.baseUrl=c.c.baseUrl,this.accessToken=(0,h.vPA)(null),this.hasToken=(0,b.EW)(()=>w.hasStoredToken()),this.#e=(0,h.vPA)(""),this.sanctumGuardToken=(0,b.EW)(()=>this.#e()),this.tourHighlight=(0,h.vPA)(null),this.startGuidedTour=(0,h.vPA)(!1)}static{this.ACCESS_TOKEN_STORAGE_KEY="accessToken"}static{this.SANCTUM_GUARD_TOKEN_STORAGE_KEY="sanctumGuardToken"}static hasStoredToken(){return!!localStorage.getItem(w.ACCESS_TOKEN_STORAGE_KEY)||!!localStorage.getItem(w.SANCTUM_GUARD_TOKEN_STORAGE_KEY)}#e;setSanctumGuardToken(D){this.#e.set(D)}init(){return this.login(localStorage.getItem(w.ACCESS_TOKEN_STORAGE_KEY)??"",localStorage.getItem(w.SANCTUM_GUARD_TOKEN_STORAGE_KEY)??""),Promise.resolve()}postLogin(D,m){return this.loginUserGQL.mutate({variables:{input:{email:D,password:m}}})}postPasswordForget(D){return this.sendPasswordResetEmailGQL.mutate({variables:{email:D}})}postAccountPasswordForget(){return this.passwordForgetGQL.mutate()}postPasswordReset(D,m){return this.passwordResetGQL.mutate({variables:{input:{password:D,resetKey:m}}})}getMemberLoginUrl(D){const m=null!==localStorage.getItem("tour_seen"),u=(new T.Nl).appendAll({redirect:D,hasSeenTour:m}),W=(new T.Lr).append("Accept","application/json");return this.http.get(`${this.baseUrl}account/signedMemberLoginUrl`,{headers:W,params:u})}login(D,m){!D||!m||(this.accessToken.set(D),this.#e.set(m),localStorage.setItem(w.ACCESS_TOKEN_STORAGE_KEY,D),localStorage.setItem(w.SANCTUM_GUARD_TOKEN_STORAGE_KEY,m),this.meService.refetch(),window.location.pathname.includes("/access/")&&this.meService.hasUserStatusChanged.set(!0))}logout(){this.hasToken()&&(this.accessToken.set(null),this.#e.set(""),localStorage.removeItem(w.ACCESS_TOKEN_STORAGE_KEY),localStorage.removeItem(w.SANCTUM_GUARD_TOKEN_STORAGE_KEY),this.meService.refetch())}static{this.\u0275fac=function(m){return new(m||w)}}static{this.\u0275prov=h.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})()},4692(vt,Y,i){i.d(Y,{v:()=>b});var h=i(5802);let b=(()=>{class c{setAffiliate(T){localStorage.setItem("publisher_affiliate",T)}getAffiliate(){return localStorage.getItem("publisher_affiliate")??null}removeAffiliate(){localStorage.removeItem("publisher_affiliate")}static{this.\u0275fac=function(y){return new(y||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},4196(vt,Y,i){i.d(Y,{i:()=>b});var h=i(5802);let b=(()=>{class c{getCssVar(T){return typeof document>"u"?"":getComputedStyle(document.body).getPropertyValue(`--${T}`).trim()}withAlpha(T,y){const O=Math.max(0,Math.min(y,1)),k=T.trim();return k.startsWith("#")?this.hexToRgba(k,O):k.startsWith("rgb(")||k.startsWith("rgba(")?`rgba(${k.replace(/^rgba?\(/,"").replace(/\)$/,"").split(",").slice(0,3).map(v
54=>v.trim()).join(", ")}, ${O})`:k}componentToHex(T){const y=T.toString(16);return 1===y.length?`0${y}`:y}hexToHSL(T){let y=0,O=0,k=0;4===T.length?(y=Number.parseInt(`${T[1]}${T[1]}`,16),O=Number.parseInt(`${T[2]}${T[2]}`,16),k=Number.parseInt(`${T[3]}${T[3]}`,16)):7===T.length&&(y=Number.parseInt(`${T[1]}${T[2]}`,16),O=Number.parseInt(`${T[3]}${T[4]}`,16),k=Number.parseInt(`${T[5]}${T[6]}`,16)),y/=255,O/=255,k/=255;const w=Math.min(y,O,k),v=Math.max(y,O,k),D=v-w;let m=0,u=0,W=0;return m=0===D?0:v===y?(O-k)/D%6:v===O?(k-y)/D+2:(y-O)/D+4,m=Math.round(60*m),m<0&&(m+=360),W=(v+w)/2,u=0===D?0:D/(1-Math.abs(2*W-1)),u=+(100*u).toFixed(1),W=+(100*W).toFixed(1),[m,u,W]}hslToHex(T,y,O){let k,w,v;if(T/=360,O/=100,0==(y/=100))k=w=v=O;else{const m=(z,se,G)=>(G<0&&(G+=1),G>1&&(G-=1),G<.16666666666666666?z+6*(se-z)*G:G<.5?se:G<.6666666666666666?z+(se-z)*(.6666666666666666-G)*6:W),u=O<.5?O*(1+y):O+y-O*y,W=2*O-u;k=m(W,u,T+1/3),w=m(W,u,T),v=m(W,u,T-1/3)}const D=m=>{const u=Math.round(255*m).toString(16);return 1===u.length?`0${u}`:u};return`#${D(k)}${D(w)}${D(v)}`}hexToRgba(T,y){const O=T.replace("#","");let k=O;if((3===O.length||4===O.length)&&(k=O.slice(0,3).split("").map(u=>`${u}${u}`).join("")),6!==k.length&&8!==k.length)return T;const w=k.slice(0,6);return`rgba(${Number.parseInt(w.slice(0,2),16)}, ${Number.parseInt(w.slice(2,4),16)}, ${Number.parseInt(w.slice(4,6),16)}, ${y})`}static{this.\u0275fac=function(y){return new(y||c)}}static{this.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},6994(vt,Y,i){i.d(Y,{n:()=>cn});var h=i(5802),b=i(5949),c=i(7705),C=i(2271),T=i(8018),y=i(2234),O=i(9575),k=i(5609),w=i(6364),v=i(4768),D=i(1096),m=i(6967),u=i(5547);const W=()=>[],z=(Ge,On)=>On.chargebee_identifier;function se(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"div",2)(1,"lv-lib-alert",0),u.bIt("close",function(){const Wt=h.eBV(xt).$index,kn=u.XpG();return h.Njj(kn.removeErrorMessage(Wt))}),u.j41(2,"div",10),u.nrm(3,"span",9),u.nI1(4,"safe"),u.j41(5,"a",11),u.EFF(6,"here"),u.k0s(),u.EFF(7,". "),u.k0s()()()}if(2&Ge){const xt=On.$implicit;u.R7$(3),u.Y8G("innerHTML",u.i5U(4,1,xt+"&nbsp","html"),u.npT)}}function G(Ge,On){if(1&Ge&&(u.j41(0,"div",12),u.nrm(1,"lv-lib-icon-font",13)(2,"span",9),u.nI1(3,"translate"),u.k0s()),2&Ge){const xt=On.$implicit;u.R7$(),u.Y8G("iconColor",xt.iconColor??"primary")("iconName",xt.iconName),u.R7$(),u.Y8G("innerHTML",u.bMT(3,3,xt.benefitText),u.npT)}}function le(Ge,On){if(1&Ge&&(u.j41(0,"div",3),u.Z7z(1,G,4,5,"div",12,u.Vm6),u.k0s()),2&Ge){const xt=u.XpG();u.R7$(),u.Dyx(xt.data.benefits)}}function _(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"lv-membership-plan-option",14),u.nI1(1,"translate"),u.nI1(2,"translate"),u.bIt("click",function(){const Wt=h.eBV(xt).$implicit,kn=u.XpG();return h.Njj(kn.selectedPlan.set(Wt))}),u.k0s()}if(2&Ge){const xt=On.$implicit,sn=u.XpG();u.Y8G("badge",xt.mostPopular?"mostPopular":null)("isSelected",sn.selectedPlan().chargebee_identifier===xt.chargebee_identifier)("periodText",u.bMT(1,4,xt.periodText))("priceText",u.bMT(2,6,xt.priceText))}}function ge(Ge,On){1&Ge&&u.nrm(0,"span",9),2&Ge&&u.Y8G("innerHTML","Try for free \xb7 No charge today",u.npT)}function q(Ge,On){if(1&Ge&&u.nrm(0,"lv-lib-icon-font",15),2&Ge){const xt=u.XpG(2);u.Y8G("iconName",null==xt.data?null:xt.data.actionButtonIcon)("iconColor","white")}}function Te(Ge,On){if(1&Ge&&(u.nVh(0,q,1,2,"lv-lib-icon-font",15),u.j41(1,"span"),u.EFF(2),u.nI1(3,"translate"),u.k0s()),2&Ge){const xt=u.XpG();u.vxM(null!=xt.data&&xt.data.actionButtonIcon?0:-1),u.R7$(2),u.JRh(u.bMT(3,2,(null==xt.data?null:xt.data.actionButtonText)??"premium-popup.register-btn"))}}let Be=(()=>{class Ge{constructor(){this.dialogRef=(0,h.WQX)(b.ce),this.membershipPlanManagerService=(0,h.WQX)(v.o),this.checkoutFlow=(0,h.WQX)(m.o),this.data=(0,h.WQX)(b.Qs),this.selectedPlan=(0,h.vPA)(this.data.preSelected),this.isStartingCheckout=this.checkoutFlow.isStartingCheckout,this.selectedPaywallVariant=this.membershipPlanManagerService.selectedPaywallVariant,this.paywallVariants=D.Rq.experiments.paywall_variant.variants,this.dialogAction=(0,c.CGW)(),this.highlightFreeUsageLabel=(0,C.EW)(()=>this.selectedPaywallVariant()===this.paywallVariants.paywall_changed_buttontext&&0===this.selectedPlan().length),this.Array=Array,this.errorMessages=(0,h.vPA)([])}closeDialog(){this.dialogRef.close()}confirm(){this.sendDialogAction(k.pZ.CONFIRM,{selected:this.selectedPlan()?.id})}sendDialogAction(xt,sn){this.dialogAction.emit({action:xt,value:sn})}removeErrorMessage(xt){this.errorMessages.update(sn=>sn.filter((Wt,kn)=>kn!==xt))}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-premium-upgrade-
54dialog"]],outputs:{dialogAction:"dialogAction"},decls:22,vars:12,consts:[[3,"close"],[1,"variant-header__wrapper"],[1,"error-message-wrapper"],[1,"benefits-wrapper"],[1,"plan-wrapper"],[3,"badge","isSelected","periodText","priceText"],[1,"footer-wrapper"],["data-testid","membership-register-btn",3,"click","rounded","isfullWidth","disabled"],[1,"action-btn-content"],[3,"innerHTML"],[1,"typography-body-b2"],["target","_blank","rel","noopener noreferrer","href","https://help.linkvertise.com/hc/en-us/articles/28267516191889-Invalid-Visit-detected-What-do-I-do-now",1,"invalid-user-click"],[1,"benefit"],[3,"iconColor","iconName"],[3,"click","badge","isSelected","periodText","priceText"],[3,"iconName","iconColor"]],template:function(sn,Wt){1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.closeDialog()}),u.j41(1,"lv-lib-popover-header")(2,"div",1)(3,"h2"),u.EFF(4),u.nI1(5,"translate"),u.k0s()()(),u.j41(6,"lv-lib-popover-body"),u.Z7z(7,se,8,4,"div",2,u.Vm6),u.nVh(9,le,3,0,"div",3),u.j41(10,"div",4),u.Z7z(11,_,3,8,"lv-membership-plan-option",5,z),u.k0s()(),u.j41(13,"lv-lib-popover-footer")(14,"div",6)(15,"lv-lib-button",7),u.bIt("click",function(){return Wt.confirm()}),u.j41(16,"div",8),u.nVh(17,ge,1,1,"span",9)(18,Te,4,4),u.k0s()(),u.j41(19,"p"),u.EFF(20),u.nI1(21,"translate"),u.k0s()()()()),2&sn&&(u.R7$(4),u.JRh(u.bMT(5,7,"premium")),u.R7$(3),u.Dyx(Wt.errorMessages()),u.R7$(2),u.vxM((Wt.data.benefits??u.lJ4(11,W)).length>0?9:-1),u.R7$(2),u.Dyx(Wt.data.visiblePlans),u.R7$(4),u.Y8G("rounded",!0)("isfullWidth",!0)("disabled",!Wt.selectedPlan()||Wt.isStartingCheckout()),u.R7$(2),u.vxM(Wt.highlightFreeUsageLabel()?17:18),u.R7$(3),u.JRh(u.bMT(21,9,"premium-popup.30-day-guarantee")))},dependencies:[b.r3,b.DI,b.ej,b.Qp,O.Q,T.h,y.Yq,b.tl,b.Cy,b.Nq,T.D9,w.m],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;
54--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
54--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.error-message-wrapper[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-l);margin-bottom:var(--lv-spacing-m)}@media screen and (width<=48rem){.error-message-wrapper[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-m)}}
54.error-message-wrapper[_ngcontent-%COMP%]   .invalid-user-click[_ngcontent-%COMP%]{text-decoration:underline!important;color:var(--lv-white);cursor:pointer}.outer-padding[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-l)}.variant-header__wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-direction:row;width:var(--lv-sizing-pct-100)}.plan-wrapper[_ngcontent-%COMP%]{min-height:unset;min-width:var(--lv-sizing-pct-100);display:flex;flex-direction:column;justify-content:space-evenly;gap:var(--lv-spacing-m);padding:var(--lv-spacing-m) 0}.benefits-wrapper[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;gap:var(--lv-spacing-m);margin:0 0 var(--lv-extra-spacing-xs) 0}.benefits-wrapper[_ngcontent-%COMP%]   .benefit[_ngcontent-%COMP%]{display:flex;align-items:center}.benefits-wrapper[_ngcontent-%COMP%]   .benefit[_ngcontent-%COMP%]   lv-lib-icon-font[_ngcontent-%COMP%]{margin:0 var(--lv-spacing-xs) 0 0}.benefits-wrapper[_ngcontent-%COMP%]   .benefit[_ngcontent-%COMP%]   lv-lib-icon-font[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{font-size:var(--lv-font-size-300);display:flex;align-items:center;justify-content:flex-start;color:var(--lv-orange)}.footer-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:var(--lv-sizing-pct-100);gap:var(--lv-spacing-2xs)}.footer-wrapper[_ngcontent-%COMP%]   lv-lib-button[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}.footer-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:var(--lv-font-size-200);font-weight:var(--lv-font-weight-medium);line-height:var(--lv-line-height-xl);color:var(--lv-lightgrey)}@keyframes _ngcontent-%COMP%_l1{to{clip-path:inset(0 -34% 0 0)}}']})}}return Ge})();const we=(Ge,On)=>On.chargebee_identifier;function X(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"div",2),u.nrm(1,"lv-membership-plan-option",11),u.j41(2,"div",12)(3,"p",13),u.bIt("click",function(){h.eBV(xt);const Wt=u.XpG(2);return Wt.dialogStep.set(Wt.ExpiredSteps.ALLPLANS),h.Njj(Wt.selectedPlan.set(null==Wt.data?null:Wt.data.visiblePlans[0]))}
54),u.EFF(4),u.nI1(5,"translate"),u.k0s()()()}if(2&Ge){const xt=u.XpG(2);u.R7$(),u.Y8G("badge",null)("isSelected",!0)("periodText",xt.data.lastPlan.periodText)("priceText",xt.data.lastPlan.priceText)("isHighlighted",!0),u.R7$(3),u.SpI(" ",u.bMT(5,6,"expired-dialog.change-plan")," ")}}function ye(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"lv-membership-plan-option",15),u.nI1(1,"translate"),u.nI1(2,"translate"),u.bIt("click",function(){const Wt=h.eBV(xt).$implicit,kn=u.XpG(3);return h.Njj(kn.selectedPlan.set(Wt))}),u.k0s()}if(2&Ge){const xt=On.$implicit,sn=u.XpG(3);u.Y8G("badge",xt.mostPopular?"mostPopular":null)("isSelected",sn.selectedPlan()===xt)("periodText",u.bMT(1,4,xt.periodText))("priceText",u.bMT(2,6,xt.priceText))}}function Q(Ge,On){if(1&Ge&&(u.j41(0,"div",3),u.Z7z(1,ye,3,8,"lv-membership-plan-option",14,we),u.k0s()),2&Ge){const xt=u.XpG(2);u.R7$(),u.Dyx(xt.data.visiblePlans)}}function ae(Ge,On){if(1&Ge){const xt=u.RV6();u.nVh(0,X,6,8,"div",2)(1,Q,3,0,"div",3),u.j41(2,"div",4),u.nrm(3,"lv-lib-icon-font",5),u.j41(4,"p",6),u.EFF(5),u.nI1(6,"translate"),u.k0s()(),u.j41(7,"div",7)(8,"lv-lib-button",8),u.bIt("click",function(){h.eBV(xt);const Wt=u.XpG();return h.Njj(Wt.dialogStep.set(Wt.ExpiredSteps.CONFIRMEPLAN))}),u.j41(9,"div",9),u.nrm(10,"span",10),u.nI1(11,"translate"),u.k0s()()()}if(2&Ge){const xt=u.XpG();u.vxM(xt.dialogStep()===xt.ExpiredSteps.LASTPLAN?0:xt.dialogStep()===xt.ExpiredSteps.ALLPLANS?1:-1),u.R7$(3),u.Y8G("iconColor","success")("iconName","shield")("iconSize","sm"),u.R7$(2),u.JRh(u.bMT(6,10,"premium-popup.30-day-guarantee")),u.R7$(3),u.Y8G("rounded",!0)("isfullWidth",!0)("disabled",!xt.selectedPlan())("type","success"),u.R7$(2),u.Y8G("innerHTML",u.bMT(11,12,"membership-plan-selection.reactivate"),u.npT)}}function H(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"div",16),u.nrm(1,"p",10),u.nI1(2,"translate"),u.k0s(),u.j41(3,"div",4),u.nrm(4,"lv-lib-icon-font",5),u.j41(5,"p",6),u.EFF(6),u.nI1(7,"translate"),u.k0s()(),u.j41(8,"div",7)(9,"lv-lib-button",17),u.bIt("click",function(){h.eBV(xt);const Wt=u.XpG();return h.Njj(Wt.confirmSubscription())}),u.j41(10,"div",9)(11,"span"),u.EFF(12),u.nI1(13,"translate"),u.k0s()()()()}2&Ge&&(u.R7$(),u.Y8G("innerHTML",u.bMT(2,9,"expired-dialog.welcome-back"),u.npT),u.R7$(3),u.Y8G("iconColor","success")("iconName","shield")("iconSize","sm"),u.R7$(2),u.JRh(u.bMT(7,11,"premium-popup.30-day-guarantee")),u.R7$(3),u.Y8G("rounded",!0)("isfullWidth",!0)("type","success"),u.R7$(3),u.SpI(" ",u.bMT(13,13,"membership-plan-selection.reactivate")," "))}let _e=(()=>{class Ge{constructor(){this.#e=(0,h.WQX)(b.ce),this.data=(0,h.WQX)(b.Qs),this.dialogStep=(0,h.vPA)(this.data?.dialogStep??k.J8.LASTPLAN),this.selectedPlan=(0,h.vPA)(this.data?.preSelected),this.ExpiredSteps=k.J8,this.dialogAction=(0,c.CGW)()}#e;closeDialog(){this.#e.close()}confirmSubscription(){const xt=this.data?.lastPlan!==this.selectedPlan();this.dialogAction.emit({action:k.pZ.CONFIRM,value:{planChanged:xt,selectedPlan:this.selectedPlan()||this.data?.preSelected}})}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-premium-expired-dialog"]],outputs:{dialogAction:"dialogAction"},decls:9,vars:4,consts:[[3,"close"],[1,"variant-header__wrapper"],[1,"last-plan-wrapper"],[1,"plan-wrapper"],[1,"guarantee__wrapper"],[3,"iconColor","iconName","iconSize"],[1,"typography-body-b2"],[1,"footer-wrapper"],["data-testid","premium-expired-dialog-confirm-plan-btn",3,"click","rounded","isfullWidth","disabled","type"],[1,"register-btn-content"],[3,"innerHTML"],[3,"badge","isSelected","periodText","priceText","isHighlighted"],[1,"change-wrapper"],[1,"change-plan",3,"click"],[3,"badge","isSelected","periodText","priceText"],[3,"click","badge","isSelected","periodText","priceText"],[1,"text-wrapper"],["data-testid","premium-expired-dialog-reactivate-subscription-btn",3,"click","rounded","isfullWidth","type"]],template:function(sn,Wt){1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.closeDialog()}),u.j41(1,"lv-lib-popover-header")(2,"div",1)(3,"h2"),u.EFF(4),u.nI1(5,"translate"),u.k0s()()(),u.j41(6,"lv-lib-popover-body"),u.nVh(7,ae,12,14)(8,H,14,15),u.k0s()()),2&sn&&(u.R7$(4),u.JRh(u.bMT(5,2,"reactivate-premium")),u.R7$(3),u.vxM(Wt.dialogStep()!==Wt.ExpiredSteps.CONFIRMEPLAN?7:8))},dependencies:[b.r3,b.DI,b.ej,b.Qp,O.Q,T.h,y.Yq,b.tl,T.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
54--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
54--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.last-plan-wrapper[_ngcontent-%COMP%]   .change-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;cursor:pointer}.last-plan-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-decoration:underline}.change-plan[_ngcontent-%COMP%]{justify-self:center;cursor:pointer;text-decoration:underline;margin-top:var(--lv-spacing-xs)}.variant-header__wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-direction:row;width:var(--lv-sizing-pct-100)}.plan-wrapper[_ngcontent-%COMP%]{min-height:unset;min-width:var(--lv-sizing-pct-100);display:flex;flex-direction:column;justify-content:space-evenly;gap:var(--lv-spacing-m);padding:var(--lv-spacing-m) 0 var(--lv-spacing-l)}.benefits-wrapper[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;gap:var(--lv-spacing-m);margin:var(--lv-spacing-m) 0 var(--lv-extra-spacing-xs) 0}
54.benefits-wrapper[_ngcontent-%COMP%]   .benefit[_ngcontent-%COMP%]{display:flex;align-items:center}.benefits-wrapper[_ngcontent-%COMP%]   .benefit[_ngcontent-%COMP%]   lv-lib-icon-font[_ngcontent-%COMP%]{margin:0 var(--lv-spacing-xs) 0 0}.benefits-wrapper[_ngcontent-%COMP%]   .benefit[_ngcontent-%COMP%]   lv-lib-icon-font[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{font-size:var(--lv-font-size-300);display:flex;align-items:center;justify-content:flex-start;color:var(--lv-orange)}.footer-wrapper[_ngcontent-%COMP%]{padding:var(--lv-spacing-xs) 0 0 0}@keyframes _ngcontent-%COMP%_l1{to{clip-path:inset(0 -34% 0 0)}}.guarantee__wrapper[_ngcontent-%COMP%]{justify-self:center;display:flex;align-items:center;gap:var(--lv-spacing-2xs);margin-top:var(--lv-spacing-m)}']})}}return Ge})();var We=i(5395),ht=i(9079),Vt=i(6354),an=i(1535),Et=i(4446);function Gt(Ge,On){if(1&Ge&&(u.j41(0,"div",11),u.nrm(1,"lv-lib-icon-font",18),u.j41(2,"p",19),u.EFF(3),u.nI1(4,"translate"),u.k0s()()),2&Ge){const xt=On.$implicit;u.R7$(),u.Y8G("iconSize","lg")("iconColor","primary")("iconName",xt.icon),u.R7$(2),u.JRh(u.bMT(4,4,xt.text))}}function at(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"lv-lib-button",20),u.bIt("click",function(){h.eBV(xt);const Wt=u.XpG();return h.Njj(Wt.dialogRef.close())}),u.j41(1,"span",21),u.EFF(2),u.nI1(3,"translate"),u.k0s()()}if(2&Ge){const xt=u.XpG();u.Y8G("rounded",!0),u.R7$(2),u.SpI(" ",u.bMT(3,2,xt.nextButtonKey)," ")}}function Ve(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"div",17)(1,"lv-lib-button",22),u.bIt("click",function(){h.eBV(xt);const Wt=u.XpG();return h.Njj(Wt.dialogRef.close("login"))}),u.j41(2,"span",21),u.EFF(3),u.nI1(4,"translate"),u.k0s()(),u.j41(5,"lv-lib-button",23),u.bIt("click",function(){h.eBV(xt);const Wt=u.XpG();return h.Njj(Wt.dialogRef.close("register"))}),u.j41(6,"span",21),u.EFF(7),u.nI1(8,"translate"),u.k0s()()()}if(2&Ge){const xt=u.XpG();u.R7$(),u.Y8G("rounded",!0)("size",xt.isMobile()?"fill":"fit-content")("type","text"),u.R7$(2),u.SpI(" ",u.bMT(4,7,xt.loginButtonKey)," "),u.R7$(2),u.Y8G("rounded",!0)("size",xt.isMobile()?"fill":"fit-content"),u.R7$(2),u.SpI(" ",u.bMT(8,9,xt.registerButtonKey)," ")}}let Le=(()=>{class Ge{constructor(){this.#e=(0,h.WQX)(an.Q),this.#t=(0,h.WQX)(Et.Q),this.dialogRef=(0,h.WQX)(b.ce),this.isMember=this.#t.isMember,this.isMobile=(0,ht.ot)(this.#e.observe("(max-width: 768px)").pipe((0,Vt.T)(xt=>xt.matches)),{initialValue:!1}),this.headerTitleKey=this.getKey("dialog-header-title"),this.headerTextKey=this.getKey("dialog-header-text"),this.headerSubtitleKey=this.getKey("dialog-header-subtitle"),this.bodyTitleKey=this.getKey("dialog-body-title"),this.bodyTextKey1=this.getKey("dialog-body-text1"),this.bodyTextKey2=this.getKey("dialog-body-text2"),this.nextButtonKey=this.getKey("dialog-button-next"),this.loginButtonKey=this.getKey("dialog-button-login"),this.registerButtonKey=this.getKey("dialog-button-register"),this.dialogItems=[{icon:"login",text:this.getKey("dialog-login-text")},{icon:"auto_awesome",text:this.getKey("dialog-auto_awesome-text")},{icon:"dns",text:this.getKey("dialog-dns-text")},{icon:"toggle_on",text:this.getKey("dialog-toggle_on-text")}]}#e;#t;getKey(xt){return`closing-publisher.${xt}`}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-closing-publisher-dialog"]],decls:30,vars:21,consts:[[3,"close"],["spacing","none"],[1,"closing__body"],[1,"closing__header"],[1,"typography-display-d1"],[1,"typography-body-b1","closing__header-text"],[1,"desktop","typography-heading-h2","closing__header-subtitle",3,"innerHTML"],["src","assets/img/success/success_right.svg","alt","",1,"closing__img-right"],["src","assets/img/success/success_left.svg","alt","",1,"closing__img-left"],[1,"typography-body-b2","closing__body-title"],[1,"closing__icons"],[1,"closing__icon-item"],[1,"closing__body-text"],[1,"typography-body-b2",3,"innerHTML"],["rel","noopener noreferrer",1,"typography-body-b2","closing__body-link",3,"href","target","innerHTML"],[1,"closing__button-wrapper"],[3,"rounded"],[1,"guest-buttons"],[3,"iconSize","iconColor","iconName"],[1,"typography-body-b2","closing__icon-text"],[3,"click","rounded"],["lv-lib-ellipsis","1"],[3,"click","rounded","size","type"],[3,"click","rounded","size"]],template:function(sn,Wt){1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.dialogRef.close()}),u.j41(1,"lv-lib-popover-body",1)(2,"div",2)(3,"div",3)(4,"h1",4),u.EFF(5),u.nI1(6,"translate"),u.k0s(),u.j41(7,"p",5),u.EFF(8),u.nI1(9,"translate"),u.k0s(),u.nrm(10,"h2",6),u.nI1(11,"translate"),u.nrm(12,"img",7)(13,"img",8),u.k0s(),u.j41(14,"h3",9)(15,"b"),u.EFF(16),u.nI1(17,"translate"),u.k0s()(),u.j41(18,"div",10),u.Z7z(19,Gt,5,6,"div",11,u.fX1),u.k0s(),u.j41(21,"div",12),u.nrm(22,"span",13),u.nI1(23,"translate"),u.nrm(24,"a",14),u.nI1(25,"translate"),u.k0s()()(),u.j41(26,"lv-lib-popover-footer")(27,"div",15),u.nVh(28,at,4,4,"lv-lib-button",16)(29,Ve,9,11,"div",17),u.k0s()()()),2&sn&&(u.R7$(5),u.SpI(" ",u.bMT(6,9,Wt.headerTitleKey)," "),u.R7$(3),u.SpI(" ",u.bMT(9,11,Wt.headerTextKey)," "),u.R7$(2),u.Y8G("innerHTML",u.bMT(11,13,Wt.headerSubtitleKey+(Wt.isMobile()?"-mobile":"")),u.npT),u.R7$(6),u.JRh(u.bMT(17,15,Wt.bodyTitleKey)),u.R7$(3),u.Dyx(Wt.dialogItems),u.R7$(3),u.Y8G("innerHTML",u.bMT(23,17,Wt.bodyTextKey1),u.npT),u.R7$(2),u.Y8G("href","https://help.linkvertise.com/",u.B4B)("target","_blank")("innerHTML",u.bMT(25,19,Wt.bodyTextKey2),u.npT),u.R7$(4),u.vxM(Wt.isMember()?28:29))},dependencies:[b.ej,b.Qp,T.h,b.tl,b.r3,b.Nq,T.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
54--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
54--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.closing__body[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-l) 0}@media(width<=48rem){.closing__body[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-m) var(--lv-spacing-m)}}.closing__body-title[_ngcontent-%COMP%]{margin-bottom:var(--lv-spacing-m)}.closing__body-text[_ngcontent-%COMP%]{margin-bottom:var(--lv-spacing-l)}.closing__header[_ngcontent-%COMP%]{position:relative;align-items:center;display:flex;flex-direction:column;width:-webkit-fill-available;margin:var(--lv-spacing-2xl) 0 var(--lv-spacing-2xl)}@media(width<=48rem){.closing__header[_ngcontent-%COMP%]{margin-bottom:var(--lv-spacing-l)}}.closing__header-text[_ngcontent-%COMP%]{margin-bottom:var(--lv-spacing-s)}.closing__header-subtitle[_ngcontent-%COMP%]{text-align:center}.closing__img-right[_ngcontent-%COMP%], .closing__img-left[_ngcontent-%COMP%]{position:absolute;z-index:0}@media(width<=48rem){.closing__img-right[_ngcontent-%COMP%], .closing__img-left[_ngcontent-%COMP%]{display:none}}.closing__img-right[_ngcontent-%COMP%]{top:0;height:240px;right:calc(-1 * var(--lv-spacing-l))}.closing__img-left[_ngcontent-%COMP%]{top:0;height:var(--lv-extra-sizing-4xl);left:calc(-1 * var(--lv-spacing-l))}.closing__icons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:var(--lv-spacing-xs);text-align:center;margin-bottom:var(--lv-spacing-s)}@media(width>=48rem){.closing__icons[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr;gap:var(--lv-spacing-m);margin-bottom:var(--lv-spacing-l)}}.closing__icon-item[_ngcontent-%COMP%]{justify-content:start;display:flex;align-items:center;gap:var(--lv-spacing-s)}.closing__icon-item[_ngcontent-%COMP%]   lv-lib-icon-font[_ngcontent-%COMP%]{background-color:rgb(from var(--lv-orange) r g b/.1);padding:var(--lv-spacing-xs);border-radius:var(--lv-border-radius-2xs)}@media(width>=48rem){.closing__button-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:end}}@media(width<=48rem){.guest-buttons[_ngcontent-%COMP%]{height:104px;display:flex;flex-direction:column-reverse;gap:var(--lv-spacing-xs)}.guest-buttons[_ngcontent-%COMP%]   lv-lib-button[_ngcontent-%COMP%]{flex-grow:1}[_nghost-%COMP%]     .guest-buttons lv-lib-button button{height:var(--lv-sizing-pct-100)}}']})}}return Ge})();var He=i(4523),Ne=i(7366),Ae=i(9417),qe=i(7708),tt=i(7936),pt=i(4843),Lt=i(5558),ot=i(7673),At=i(9437),M=i(9844),gt=i(3695),pe
54=i(5850),lt=i(4589),Rt=i(4095);function Yt(Ge){const On=(0,h.WQX)(lt.Ic);(0,gt.F0)(Ge,{params:({value:xt})=>xt(),factory:xt=>(0,ht.ZX)({params:xt,stream:({params:sn})=>On.query({query:Rt.D1,variables:{email:sn}})}),onSuccess:xt=>xt.data?.validateUserAttribute.email?.valid?null:[{kind:pe.Fv.EMAIL,message:"error-msg.email.invalid"}],onError:()=>null})}var Ut=i(8822);function jt(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"lv-lib-alert",7),u.bIt("close",function(){h.eBV(xt);const Wt=u.XpG();return h.Njj(Wt.passwordForgetForm().reset())}),u.j41(1,"div",8),u.EFF(2),u.nI1(3,"translate"),u.k0s()()}if(2&Ge){let xt;const sn=u.XpG();u.Y8G("showIcon",!0),u.R7$(2),u.SpI(" ",u.bMT(3,2,null==(xt=sn.passwordForgetForm().errors())||null==xt[0]?null:xt[0].message)," ")}}let zt=(()=>{class Ge{constructor(){this.authService=(0,h.WQX)(Ne.u),this.dialogRef=(0,h.WQX)(b.ce),this.snackBar=(0,h.WQX)(Ut.UG),this.translate=(0,h.WQX)(T.c$),this.data=(0,h.WQX)(b.Qs),this.ErrorKind=pe.Fv,this.#e=(0,h.vPA)({email:this.data.userEmail??""}),this.passwordForgetForm=(0,M.Zd)(this.#e,xt=>{(0,gt.V_)(xt.email,{message:"error-msg.required"}),(0,gt.Rp)(xt.email,{message:"error-msg.email.invalid"}),(0,gt.T1)(xt.email,/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,{message:"error-msg.email.invalid"}),Yt(xt.email)}),this.#t={fieldTree:this.passwordForgetForm().fieldTree,kind:pe.Fv.SERVER,message:"error-msg.server-error"}}#e;#t;submitPasswordForget(xt){var sn=this;return(0,He.A)(function*(){xt.preventDefault(),yield(0,M.tA)(sn.passwordForgetForm,function(){var Wt=(0,He.A)(function*(kn){return yield(0,pt._)(sn.authService.postPasswordForget(kn.email().value()).pipe((0,Lt.n)(Fr=>Fr.data?.sendPasswordResetEmail?(sn.snackBar.open(sn.translate.instant("password-forget-success",{email:sn.passwordForgetForm.email().value()}),"Close",{duration:5e3}),sn.closeDialog(),(0,ot.of)(void 0)):(0,ot.of)(sn.#t)),(0,At.W)(()=>(0,ot.of)(sn.#t))))});return function(kn){return Wt.apply(this,arguments)}}())})()}closeDialog(){this.dialogRef.close()}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-password-forget"]],decls:23,vars:22,consts:[[3,"close","size"],[1,"password-forget-wrapper"],[3,"showIcon"],["appearance","outline","subscriptSizing","dynamic",1,"input-field",3,"hideRequiredMarker"],["matInput","","type","email",3,"formField"],[1,"action-buttons__button",3,"click","type"],[1,"action-buttons__button",3,"click","rounded","disabled"],[3,"close","showIcon"],[1,"typography-body-b2"]],template:function(sn,Wt){if(1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.closeDialog()}),u.j41(1,"lv-lib-popover-header")(2,"h2"),u.EFF(3),u.nI1(4,"translate"),u.k0s()(),u.j41(5,"lv-lib-popover-body")(6,"div",1),u.nVh(7,jt,4,4,"lv-lib-alert",2),u.j41(8,"mat-form-field",3)(9,"mat-label"),u.EFF(10),u.nI1(11,"translate"),u.k0s(),u.nrm(12,"input",4),u.qAN(),u.j41(13,"mat-error"),u.EFF(14),u.nI1(15,"translate"),u.k0s()()()(),u.j41(16,"lv-lib-popover-footer")(17,"lv-lib-button",5),u.bIt("click",function(){return Wt.closeDialog()}),u.EFF(18),u.nI1(19,"translate"),u.k0s(),u.j41(20,"lv-lib-button",6),u.bIt("click",function(Fr){return Wt.submitPasswordForget(Fr)}),u.EFF(21),u.nI1(22,"translate"),u.k0s()()()),2&sn){let kn,Fr;u.Y8G("size","sm"),u.R7$(3),u.JRh(u.bMT(4,12,"premium-modal-password-forget-headline")),u.R7$(4),u.vxM((null==(kn=Wt.passwordForgetForm().errors())||null==kn[0]?null:kn[0].kind)===Wt.ErrorKind.SERVER&&Wt.passwordForgetForm().touched()?7:-1),u.R7$(),u.Y8G("hideRequiredMarker",!0),u.R7$(2),u.JRh(u.bMT(11,14,"settings-page.email")),u.R7$(2),u.Y8G("formField",Wt.passwordForgetForm.email),u.QXe(),u.R7$(2),u.JRh(u.bMT(15,16,null==(Fr=Wt.passwordForgetForm.email().errors())||null==Fr[0]?null:Fr[0].message)),u.R7$(3),u.Y8G("type","text"),u.R7$(),u.SpI(" ",u.bMT(19,18,"button.close")," "),u.R7$(2),u.Y8G("rounded",!0)("disabled",Wt.passwordForgetForm().submitting()||Wt.passwordForgetForm().invalid()),u.R7$(),u.SpI(" ",u.bMT(22,20,"button.reset")," ")}},dependencies:[b.r3,b.DI,b.ej,b.Cy,Ae.YN,Ae.X1,tt.rl,tt.nJ,qe.fg,tt.TL,b.Qp,T.h,gt.zB,b.Nq,T.D9],styles:[".password-forget-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}"]})}}return Ge})();var Oe=i(3719),Mt=i(9213),o=i(8834),it=i(3848);function nn(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"div",2)(1,"lv-lib-alert",11),u.bIt("close",function(){h.eBV(xt);const Wt=u.XpG();return h.Njj(Wt.loginForm().reset())}),u.j41(2,"div",12),u.EFF(3),u.nI1(4,"translate"),u.k0s()()()}if(2&Ge){let xt;const sn=u.XpG();u.R7$(),u.Y8G("showIcon",!0),u.R7$(2),u.SpI(" ",u.bMT(4,2,null==(xt=sn.loginForm().errors()[0])?null:xt.message)," ")}}function tn(Ge,On){if(1&Ge&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"translate"),u.k0s()),2&Ge){let xt;const sn=u.XpG();u.R7$(),u.JRh(u.bMT(2,1,null==(xt=sn.loginForm.email().errors()[0])?null:xt.message))}}function xn(Ge,On){if(1&Ge&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"translate"),u.k0s()),2&Ge){let xt;const sn=u.XpG();u.R7$(),u.JRh(u.bMT(2,1,null==(xt=sn.loginForm.password().errors()[0])?null:xt.message))}}let bn=(()=>{class Ge{constructor(){this.dialogRef=(0,h.WQX)(b.ce),this.authService=(0,h.WQX)(Ne.u),this.dialogManager=(0,h.WQX)(cn),this.dialogData=(0,h.WQX)(b.Qs),this.#e=(0,h.vPA)({email:this.dialogData?.userEmail??"",password:""}),this.#t=(0,M.wQ)(xt=>{(0,gt.V_)(xt.email,{message:"error-msg.required"}),(0,gt.Rp)(xt.email,{message:"error-msg.email.invalid"}),(0,gt.T1)(xt.email,/^[\w.+-]+@([\w-]+\.)+[\w-]{2,4}/,{message:"error-msg.email.invalid"}),(0,gt.r9)(xt.email,()=>!!this.dialogData?.userEmail),(0,gt.V_)(xt.password,{message:"error-msg.required"})}),this.loginForm=(0,M.Zd)(this.#e,xt=>{(0,M.Bb)(xt,this.#t)}),this.passwordVisibility=(0,h.vPA)(!0),this.ErrorKind=pe.Fv}#e;#t;submitLogin(xt){var sn=this;return(0,He.A)(function*(){xt.preventDefault(),yield(0,M.tA)(sn.loginForm,function(){var Wt=(0,He.A)(function*(kn){return(0,pt._)(sn.authService.postLogin(kn.email().value(
54),kn.password().value()).pipe((0,Vt.T)(Fr=>{if(!Fr.data?.login.token||!Fr.data.login.sanctum_token)return{kind:pe.Fv.LOGIN,message:"error-msg.INVALID_USER"};sn.authService.login(Fr.data.login.token,Fr.data.login.sanctum_token),sn.dialogRef.close(),null===localStorage.getItem("tour_seen")&&sn.authService.startGuidedTour.set(!0)}),(0,At.W)(Fr=>(0,ot.of)({kind:pe.Fv.LOGIN,message:Fr.message}))))});return function(kn){return Wt.apply(this,arguments)}}())})()}openForgetPasswordDialog(){this.closeDialog(),this.dialogManager.openPasswordForgetDialog({data:{userEmail:this.loginForm.email().value()}})}closeDialog(){this.dialogRef.close()}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-login-dialog"]],decls:34,vars:35,consts:[[3,"close","size"],[1,"login-wrapper"],[1,"alert-container"],["appearance","outline","subscriptSizing","dynamic",3,"hideRequiredMarker"],["matInput","","type","email","autocomplete","username",3,"formField"],["matInput","","autocomplete","current-password",3,"type","formField"],["type","button","mat-icon-button","","matSuffix","",3,"click"],[1,"other-actions-wrapper"],[1,"link-forgot","pointer","underline",3,"click"],[3,"click","rounded","type","size"],["data-testid","login-dialog-login-btn",3,"click","rounded","disabled"],[1,"alert",3,"close","showIcon"],[1,"typography-body-b2"]],template:function(sn,Wt){if(1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.closeDialog()}),u.j41(1,"lv-lib-popover-header")(2,"h2"),u.EFF(3),u.nI1(4,"translate"),u.k0s()(),u.j41(5,"lv-lib-popover-body")(6,"div",1),u.nVh(7,nn,5,4,"div",2),u.j41(8,"mat-form-field",3)(9,"mat-label"),u.EFF(10),u.nI1(11,"translate"),u.k0s(),u.nrm(12,"input",4),u.qAN(),u.nVh(13,tn,3,3,"mat-error"),u.k0s(),u.j41(14,"mat-form-field",3)(15,"mat-label"),u.EFF(16),u.nI1(17,"translate"),u.k0s(),u.nrm(18,"input",5),u.qAN(),u.j41(19,"button",6),u.bIt("click",function(){return Wt.passwordVisibility.set(!Wt.passwordVisibility())}),u.j41(20,"mat-icon"),u.EFF(21),u.k0s()(),u.nVh(22,xn,3,3,"mat-error"),u.k0s(),u.j41(23,"div",7)(24,"div",8),u.bIt("click",function(){return Wt.openForgetPasswordDialog()}),u.EFF(25),u.nI1(26,"translate"),u.k0s()()()(),u.j41(27,"lv-lib-popover-footer")(28,"lv-lib-button",9),u.bIt("click",function(){return Wt.closeDialog()}),u.EFF(29),u.nI1(30,"translate"),u.k0s(),u.j41(31,"lv-lib-button",10),u.bIt("click",function(Fr){return Wt.submitLogin(Fr)}),u.EFF(32),u.nI1(33,"translate"),u.k0s()()()),2&sn){let kn;u.Y8G("size","sm"),u.R7$(3),u.JRh(u.bMT(4,23,"auth-login")),u.R7$(4),u.vxM((null==(kn=Wt.loginForm().errors()[0])?null:kn.kind)===Wt.ErrorKind.LOGIN&&Wt.loginForm().touched()?7:-1),u.R7$(),u.Y8G("hideRequiredMarker",!0),u.R7$(2),u.JRh(u.bMT(11,25,"auth-login-email")),u.R7$(2),u.Y8G("formField",Wt.loginForm.email),u.QXe(),u.R7$(),u.vxM(Wt.loginForm.email().touched()?13:-1),u.R7$(),u.Y8G("hideRequiredMarker",!0),u.R7$(2),u.JRh(u.bMT(17,27,"password")),u.R7$(2),u.Y8G("type",Wt.passwordVisibility()?"password":"text")("formField",Wt.loginForm.password),u.QXe(),u.R7$(),u.BMQ("aria-label","Hide password")("aria-pressed",Wt.passwordVisibility()),u.R7$(2),u.JRh(Wt.passwordVisibility()?"visibility_off":"visibility"),u.R7$(),u.vxM(Wt.loginForm.password().touched()?22:-1),u.R7$(3),u.SpI(" ",u.bMT(26,29,"password-forget")," "),u.R7$(3),u.Y8G("rounded",!0)("type","text")("size","fit-content"),u.R7$(),u.SpI(" ",u.bMT(30,31,"button.close")," "),u.R7$(2),u.Y8G("rounded",!0)("disabled",Wt.loginForm().submitting()),u.R7$(),u.SpI(" ",u.bMT(33,33,"button.log-in")," ")}},dependencies:[gt.zB,b.Qp,b.r3,b.DI,b.ej,Oe.RG,tt.rl,tt.nJ,tt.TL,tt.yw,qe.fS,qe.fg,b.Cy,T.h,Mt.m_,Mt.An,o.Hl,it.iY,b.Nq,T.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);
54--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
54--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.login-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m);width:var(--lv-sizing-pct-100)}.login-wrapper[_ngcontent-%COMP%]   .other-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;font-size:var(--lv-font-size-250);font-weight:var(--lv-font-weight-medium)}@media screen and (width<=48rem){.login-wrapper[_ngcontent-%COMP%]   .other-actions-wrapper[_ngcontent-%COMP%]{padding-bottom:var(--lv-spacing-s)}}.login-wrapper[_ngcontent-%COMP%]   .other-actions-wrapper[_ngcontent-%COMP%]   .link-forgot[_ngcontent-%COMP%]{text-align:end}.login-wrapper[_ngcontent-%COMP%]   .other-actions-wrapper[_ngcontent-%COMP%]   .underline[_ngcontent-%COMP%]{color:var(--lv-orange);text-decoration:underline}']})}}return Ge})();var pr=i(4710);const Tr=(0,M.wQ)(Ge=>{(0,gt.V_)(Ge,{message:"error-msg.email.invalid"}),(0,gt.Rp)(Ge,{message:"error-msg.email.invalid"}),(0,gt.T1)(Ge,/^[\w.-]+@([\w-]+\.)+[\w-]{2,4}/,{message:"error-msg.email.invalid"}),Yt(Ge)}),ir=(0,M.wQ)(Ge=>{(0,gt.V_)(Ge),(0,pr.O)(Ge)}),Kr=(0,M.wQ)(Ge=>{(0,gt.V_)(Ge,{message:"error-msg.psw.not_matched"})}),_r=(0,M.wQ)(Ge=>{(0,gt.tf)(Ge,({valueOf:On})=>{if(!On(Ge))return{kind:pe.Fv.REQUIRED,message:"error-msg.accepted-gtc"}})}),en=(0,M.wQ)(Ge=>{(0,M.Bb)(Ge.email,Tr),(0,M.Bb)(Ge.password,ir),(0,M.Bb)(Ge.repeatPassword,Kr),(0,M.Bb)(Ge.confirmCheckbox,_r),(0,b.E8)(Ge.repeatPassword,Ge.password,"error-msg.psw.not_matched")});var Bn=i(9183),Xe=i(6637),$=i(5253);function F(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"div",1)(1,"lv-lib-alert",20),u.bIt("close",function(){const Wt=h.eBV(xt).$index,kn=u.XpG();return h.Njj(kn.removeErrorMessage(Wt))}),u.j41(2,"div",21),u.nrm(3,"div",22),u.nI1(4,"safe"),u.k0s()()()}if(2&Ge){const xt=On.$implicit;u.R7$(3),u.Y8G("innerHTML",u.i5U(4,1,xt,"html"),u.npT)}}function K(Ge,On){if(1&Ge&&(u.j41(0,"div",2),u.nrm(1,"lv-membership-plan-option",23),u.k0s()),2&Ge){const xt=u.XpG();u.R7$(),u.Y8G("badge",xt.data.membershipPlan.mostPopular?"mostPopular":null)("isSelected",!0)("periodText",xt.data.membershipPlan.periodText)("priceText",xt.data.membershipPlan.priceText)}}function Z(Ge,On){1&Ge&&(u.nrm(0,"p",4),u.nI1(1,"translate")),2&Ge&&u.Y8G("innerHTML",u.bMT(1,1,"registration.sub-headline"),u.npT)}function Re(Ge,On){if(1&Ge&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"translate"),u.k0s()),2&Ge){let xt;const sn=u.XpG();u.R7$(),u.JRh(u.bMT(2,1,null==(xt=sn.registerForm.email().errors()[0])?null:xt.message))}}function ct(Ge,On){if(1&Ge&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"translate"),u.k0s()),2&Ge){let xt;const sn=u.XpG();u.R7$(),u.JRh(u.bMT(2,1,null==(xt=sn.registerForm.password().errors()[0])?null:xt.message))}}function _t(Ge,On){if(1&Ge&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"translate"),u.k0s()),2&Ge){let xt;const sn=u.XpG();u.R7$(),u.JRh(u.bMT(2,1,null==(xt=sn.registerForm.repeatPassword().errors()[0])?null:xt.message))}}function wt(Ge,On){if(1&Ge&&(u.j41(0,"mat-error"),u.EFF(1),u.nI1(2,"translate"),u.k0s()),2&Ge){let xt;const sn=u.XpG();u.R7$(),u.SpI(" ",u.bMT(2,1,null==(xt=sn.registerForm.confirmCheckbox().errors()[0])?null:xt.message)," ")}}function ee(Ge,On){1&Ge&&u.nrm(0,"mat-spinner",19),2&Ge&&u.Y8G("strokeWidth",4)("diameter",40)}function Se(Ge,On){1&Ge&&(u.j41(0,"span"),u.EFF(1),u.nI1(2,"translate"),u.k0s()),2&Ge&&(u.R7$(),u.JRh(u.bMT(2,1,"registration.register")))}let Pt=(()=>{class Ge{constructor(){this.dialogRef=(0,h.WQX)(b.ce),this.data=(0,h.WQX)(b.Qs),this.ErrorKind=pe.Fv,this.StaticContentPagesEnum=$.w,this.dialogAction=(0,c.CGW)(),this.passwordVisibility=(0,h.vPA)(!0),this.repeatPasswordVisibility=(0,h.vPA)(!0),this.DialogAction=k.pZ,this.errorMessages=(0,h.vPA)([]),this.isLoadingRegister=(0,h.vPA)(!1),this.#e=(0,h.vPA)({email:this.data.userEmail??"",password:"",repeatPassword:"",confirmCheckbox:!1}),this.#t=en,this.registerForm=(0,M.Zd)(this.#e,xt=>{(0,M.Bb)(xt,this.#t),(0,gt.r9)(xt.email,()=>!!this.data?.userEmail)})}#e;#t;openLegalPage(xt){Xe.N.openLegalPage(xt)}closeDialog(){this.dialogRef.close()}sendDialogAction(xt,sn,Wt){this.dialogAction.emit({action:xt,value:sn,loginValue:Wt})}submitRegistration(xt){var sn=this;return(0,He.A)(function*(){xt.preventDefault(),yield(0,M.tA)(sn.registerForm,function(){var Wt=(0,He.A)(function*(kn){if(sn.isLoadingRegister())return;sn.isLoadingRegister.set(!0);let Fr=k.pZ.REGISTER;sn.data.membershipPlan&&(Fr=k.pZ.UPDATEPLAN),sn.sendDialogAction(Fr,{email:kn.email().value(
54),password:kn.password().value(),gtcAccepted:!0})});return function(kn){return Wt.apply(this,arguments)}}())})()}removeErrorMessage(xt){this.errorMessages.update(sn=>sn.filter((Wt,kn)=>kn!==xt))}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-register-dialog"]],outputs:{dialogAction:"dialogAction"},decls:69,vars:68,consts:[[3,"close","size"],[1,"error-message-wrapper"],[1,"membership-price-plan-wrapper"],[1,"register-body-wrapper"],[3,"innerHTML"],[1,"register-form-wrapper"],["appearance","outline","subscriptSizing","dynamic",3,"hideRequiredMarker"],["matInput","","autocomplete","email","data-testid","register-email-input","type","email",3,"formField"],["matInput","","data-testid","register-password-input","autocomplete","new-password",3,"formField","type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["matInput","","autocomplete","repeat-password","data-testid","register-password-repeat-input",3,"formField","type"],[1,"typography-heading-h3"],[1,"sing-in-link",3,"click"],[1,"confirm-checkbox"],[3,"formField"],[1,"legal-text"],["href","javascript:void(0);",3,"click","innerHTML"],[3,"click","type"],["data-testid","register-form-submit-btn",3,"click","rounded","disabled"],[1,"circle-disabled",3,"strokeWidth","diameter"],[3,"close"],[1,"typography-body-b2"],[1,"alert-center-text",3,"innerHTML"],[3,"badge","isSelected","periodText","priceText"]],template:function(sn,Wt){if(1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.closeDialog()}),u.j41(1,"lv-lib-popover-header")(2,"h2"),u.EFF(3),u.nI1(4,"translate"),u.k0s()(),u.j41(5,"lv-lib-popover-body"),u.Z7z(6,F,5,4,"div",1,u.Vm6),u.nVh(8,K,2,4,"div",2),u.j41(9,"div",3),u.nVh(10,Z,2,3,"p",4),u.j41(11,"div",5)(12,"mat-form-field",6)(13,"mat-label"),u.EFF(14),u.nI1(15,"translate"),u.k0s(),u.nrm(16,"input",7),u.qAN(),u.nVh(17,Re,3,3,"mat-error"),u.k0s(),u.j41(18,"mat-form-field",6)(19,"mat-label"),u.EFF(20),u.nI1(21,"translate"),u.k0s(),u.nrm(22,"input",8),u.qAN(),u.j41(23,"button",9),u.bIt("click",function(){return Wt.passwordVisibility.set(!Wt.passwordVisibility())}),u.j41(24,"mat-icon"),u.EFF(25),u.k0s()(),u.nVh(26,ct,3,3,"mat-error"),u.k0s(),u.j41(27,"mat-form-field",6)(28,"mat-label"),u.EFF(29),u.nI1(30,"translate"),u.k0s(),u.nrm(31,"input",10),u.qAN(),u.j41(32,"button",9),u.bIt("click",function(){return Wt.repeatPasswordVisibility.set(!Wt.repeatPasswordVisibility())}),u.j41(33,"mat-icon"),u.EFF(34),u.k0s()(),u.nVh(35,_t,3,3,"mat-error"),u.k0s(),u.j41(36,"div")(37,"div",11),u.EFF(38),u.nI1(39,"translate"),u.j41(40,"span",12),u.bIt("click",function(){return Wt.sendDialogAction(Wt.DialogAction.LOGIN,void 0,{memberShipPlan:Wt.data.membershipPlan})}),u.EFF(41),u.nI1(42,"translate"),u.k0s()(),u.j41(43,"div",13)(44,"lv-lib-checkbox",14)(45,"span",15),u.EFF(46),u.nI1(47,"translate"),u.j41(48,"a",16),u.nI1(49,"translate"),u.bIt("click",function(){return Wt.openLegalPage(Wt.StaticContentPagesEnum.GTC)}),u.k0s(),u.EFF(50),u.nI1(51,"translate"),u.j41(52,"a",16),u.nI1(53,"translate"),u.bIt("click",function(){return Wt.openLegalPage(Wt.StaticContentPagesEnum.Withdraw)}),u.k0s(),u.EFF(54),u.nI1(55,"translate"),u.j41(56,"a",16),u.nI1(57,"translate"),u.bIt("click",function(){return Wt.openLegalPage(Wt.StaticContentPagesEnum.Privacy)}),u.k0s(),u.EFF(58),u.nI1(59,"translate"),u.k0s()(),u.qAN(),u.nVh(60,wt,3,3,"mat-error"),u.k0s()()()()(),u.j41(61,"lv-lib-popover-footer")(62,"lv-lib-button",17),u.bIt("click",function(){return Wt.closeDialog()}),u.j41(63,"span"),u.EFF(64),u.nI1(65,"translate"),u.k0s()(),u.j41(66,"lv-lib-button",18),u.bIt("click",function(Fr){return Wt.submitRegistration(Fr)}),u.nVh(67,ee,1,2,"mat-spinner",19)(68,Se,3,3,"span"),u.k0s()()()),2&sn){let kn;u.Y8G("size","sm"),u.R7$(3),u.JRh(u.bMT(4,40,"registration.headline")),u.R7$(3),u.Dyx(Wt.errorMessages()),u.R7$(2),u.vxM(Wt.data&&Wt.data.membershipPlan?8:-1),u.R7$(2),u.vxM(null!=Wt.data&&Wt.data.isAccessFlow?-1:10),u.R7$(2),u.Y8G("hideRequiredMarker",!0),u.R7$(2),u.JRh(u.bMT(15,42,"registration.email")),u.R7$(2),u.Y8G("formField",Wt.registerForm.email),u.QXe(),u.R7$(),u.vxM(Wt.registerForm.email().touched()?17:-1),u.R7$(),u.Y8G("hideRequiredMarker",!0),u.R7$(2),u.JRh(u.bMT(21,44,"registration.password")),u.R7$(2),u.Y8G("formField",Wt.registerForm.password)("type",Wt.passwordVisibility()?"password":"text"),u.QXe(),u.R7$(),u.BMQ("aria-label","Hide password")("aria-pressed",Wt.passwordVisibility()),u.R7$(2),u.JRh(Wt.passwordVisibility()?"visibility_off":"visibility"),u.R7$(),u.vxM((null==(kn=Wt.registerForm.password().errors()[0])?null:kn.kind)===Wt.ErrorKind.PASSWORD?26:-1),u.R7$(),u.Y8G("hideRequiredMarker",!0),u.R7$(2),u.JRh(u.bMT(30,46,"registration.repeat-password")),u.R7$(2),u.Y8G("formField",Wt.registerForm.repeatPassword)("type",Wt.repeatPasswordVisibility()?"password":"text"),u.QXe(),u.R7$(),u.BMQ("aria-label","Hide password")("aria-pressed",Wt.repeatPasswordVisibility()),u.R7$(2),u.JRh(Wt.repeatPasswordVisibility()?"visibility_off":"visibility"),u.R7$(),u.vxM(Wt.registerForm.repeatPassword().touched()?35:-1),u.R7$(3),u.SpI(" ",u.bMT(39,48,"registration.account-question")," "),u.R7$(3),u.SpI(" ",u.bMT(42,50,"registration.account-action")," "),u.R7$(3),u.Y8G("formField",Wt.registerForm.confirmCheckbox),u.QXe(),u.R7$(2),u.SpI(" ",u.bMT(47,52,"registration.checkbox.part1")," "),u.R7$(2),u.Y8G("innerHTML",u.bMT(49,54,"registration.checkbox.part2"),u.npT),u.R7$(2),u.SpI(" ",u.bMT(51,56,"registration.checkbox.part3")," "),u.R7$(2),u.Y8G("innerHTML",u.bMT(53,58,"registration.checkbox.part4"),u.npT),u.R7$(2),u.SpI(" ",u.bMT(55,60,"registration.checkbox.part5")," "),u.R7$(2),u.Y8G("innerHTML",u.bMT(57,62,"registration.checkbox.part6"),u.npT),u.R7$(2),u.SpI(" ",u.bMT(59,64,"registration.checkbox.part7")," "),u.R7$(2),u.vxM(Wt.registerForm.confirmCheckbox().dirty()&&Wt.registerForm.confirmCheckbox().invalid()?60:-1),u.R7$(2),u.Y8G("type","text"),u.R7$(2),u.JRh(u.bMT(65,66,"registration.close")),u.R7$(2),u.Y8G("rounded",!0)("disabled",Wt.registerForm().invalid()||Wt.isLoadingRegister()),u.R7$(),u.vxM(Wt.isLoadingRegister()?67:68)}},dependencies:[b.r3,b.DI,b.ej,b.Cy,tt.rl,tt.nJ,qe.fg,tt.TL,o.Hl,it.iY,b.PY,b.Qp,T.h,Bn.LG,Oe.RG,tt.yw,qe.fS,Mt.m_,Mt.An,gt.zB,b.Nq,O.Q,w.m,T.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
54--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
54--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.error-message-wrapper[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-l);margin-bottom:var(--lv-spacing-m)}@media screen and (width<=48rem){.error-message-wrapper[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-m)}}.alert-center-text[_ngcontent-%COMP%]{align-content:center}.membership-price-plan-wrapper[_ngcontent-%COMP%]{margin-bottom:var(--lv-spacing-m)}.register-body-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-l)}.register-body-wrapper[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline;color:var(--lv-primary);cursor:pointer}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);display:flex;flex-direction:column;gap:var(--lv-spacing-m)}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:var(--lv-spacing-xs)}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]   .legal-text[_ngcontent-%COMP%]{font-size:var(--lv-font-size-200);
54font-weight:var(--lv-font-weight-light);letter-spacing:var(--lv-letter-spacing-narrow)}@media screen and (width<=48rem){.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]   .legal-text[_ngcontent-%COMP%]{font-size:var(--lv-font-size-100)}}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]   mat-error[_ngcontent-%COMP%]{font-size:var(--lv-font-size-200);font-weight:var(--lv-font-weight-light);margin-top:var(--lv-spacing-2xs)}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]     lv-lib-checkbox .checkbox-container{display:flex;align-items:center;gap:var(--lv-spacing-xs)}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]     lv-lib-checkbox .checkbox-container__box__ripple{width:auto!important;height:auto!important}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]     lv-lib-checkbox .checkbox-container__box__input{width:var(--lv-extra-sizing-s)!important;height:var(--lv-extra-sizing-s)!important}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]     lv-lib-checkbox .checkbox-container__label{margin-top:0!important}.register-body-wrapper[_ngcontent-%COMP%]   .register-form-wrapper[_ngcontent-%COMP%]   .confirm-checkbox[_ngcontent-%COMP%]     lv-lib-checkbox .checkbox-container__label a{color:var(--lv-orange)}.register-body-wrapper[_ngcontent-%COMP%]   .sing-in-link[_ngcontent-%COMP%]{text-decoration:underline;color:var(--lv-primary);cursor:pointer}.mat-mdc-form-field[_ngcontent-%COMP%]{display:block}']})}}return Ge})();var St=i(3099),Xt=i(9393),Jt=i(6366);let vn=(()=>{class Ge{constructor(){this.dialogRef=(0,h.WQX)(b.ce)}closeDialog(){this.dialogRef.close()}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-change-username-dialog"]],decls:9,vars:10,consts:[[3,"close","size"],[3,"closeDialog","buttonLabel","headerText"]],template:function(sn,Wt){1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.closeDialog()}),u.j41(1,"lv-lib-popover-header")(2,"h2"),u.EFF(3),u.nI1(4,"translate"),u.k0s()(),u.j41(5,"lv-lib-popover-body")(6,"lv-username-form",1),u.nI1(7,"translate"),u.nI1(8,"translate"),u.bIt("closeDialog",function(){return Wt.closeDialog()}),u.k0s()()()),2&sn&&(u.Y8G("size","sm"),u.R7$(3),u.JRh(u.bMT(4,4,"username-form.choose-username")),u.R7$(3),u.Y8G("buttonLabel",u.bMT(7,6,"username-form.button-label-register"))("headerText",u.bMT(8,8,"username-form.header-text-register")))},dependencies:[Ae.YN,b.ej,b.r3,b.DI,Ae.X1,T.h,Jt.S,T.D9],styles:[".body-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-l)}"]})}}return Ge})();var jn=i(8017),Zn=i(5342),Tn=i(1942),Yn=i(3068);let $e=(()=>{class Ge{constructor(){this.formatLabel=jn.w,this.meService=(0,h.WQX)(Et.Q),this.SensitivePostSetting=Zn.j6,this.dialogRef=(0,h.WQX)(b.ce),this.trackingService=(0,h.WQX)(Yn.bI),this.data=(0,h.WQX)(b.Qs),this.me=this.meService.me,this.filterOptions=Object.values(Zn.j6),this.selected=(0,C.uu)(()=>this.me()?.sensitive_post_setting??Zn.j6.Blur)}ngOnInit(){this.data.triggerTracking&&this.trackingService.trackHasSeenSensitivePostSettingDialog(this.me()?.id??"")}acceptChanges(){this.meService.updateUserSettings({id:this.me()?.id??"",sensitive_post_setting:this.selected()}).subscribe(()=>{this.dialogRef.close()})}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-change-sensitive-post-setting-dialog"]],decls:11,vars:6,consts:[["size","sm",3,"showCloseIcon"],[1,"sensitive-posts-settings-wrapper"],[3,"selectedSettingChange","selectedSetting"],[3,"click","rounded"]],template:function(sn,Wt){1&sn&&(u.j41(0,"lv-lib-popover",0)(1,"lv-lib-popover-header")(2,"h2"),u.EFF(3),u.nI1(4,"translate"),u.k0s()(),u.j41(5,"lv-lib-popover-body")(6,"div",1)(7,"lv-sensitive-post-settings",2),u.bIt("selectedSettingChange",function(Fr){return Wt.selected.set(Fr)}),u.k0s()()(),u.j41(8,"lv-lib-popover-footer")(9,"lv-lib-button",3),u.bIt("click",function(){return Wt.acceptChanges()}),u.EFF(10,"Accept changes"),u.k0s()()()),2&sn&&(u.Y8G("showCloseIcon",!1),u.R7$(3),u.JRh(u.bMT(4,4,"settings-page.sensitive-posts")),u.R7$(4),u.Y8G("selectedSetting",Wt.selected()),u.R7$(2),u.Y8G("rounded",!0))},dependencies:[b.r3,b.DI,b.ej,b.Nq,b.Qp,Tn.B,T.D9],styles:[".sensitive-posts-settings-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}"]})}}return Ge})(),Ct=(()=>{class Ge{constructor(){this.dialogRef=(0,h.WQX)(b.ce)}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-reveal-sensitive-post-dialog"]],decls:16,vars:8,consts:[[3,"close"],[1,"lv-flex","lv-gap"],["iconSize","lg","iconColor","secondary","iconName","visibility_off"],[1,"sensitive-post-description"],["type","text","size","md",3,"click","rounded"],["type","primary","size","md",3,"click","rounded"]],template:function(sn,Wt){1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.dialogRef.close(!1)}),u.j41(1,"lv-lib-popover-header")(2,"div",1),u.nrm(3,"lv-lib-icon-font",2),u.j41(4,"h3"),u.EFF(5),u.nI1(6,"translate"),u.k0s()()(),u.j41(7,"lv-lib-popover-body")(8,"p",3),u.EFF(9),u.nI1(10,"translate"),u.k0s()(),u.j41(11,"lv-lib-popover-footer")(12,"lv-lib-button",4),u.bIt("click",function(){return Wt.dialogRef.close("single")}),u.EFF(13," Show image "),u.k0s(),u.j41(14,"lv-lib-button",5),u.bIt("click",function(){return Wt.dialogRef.close("global")}),u.EFF(15," Show all"),u.k0s()()()),2&sn&&(u.R7$(5),u.JRh(u.bMT(6,4,"settings-page.sensitive-post")),u.R7$(4),u.SpI(" ",u.bMT(10,6,"settings-page.senesitive-posts-reveal-description")," "),u.R7$(3),u.Y8G("rounded",!0),u.R7$(2),u.Y8G("rounded",!0))},dependencies:[b.r3,b.DI,b.tl,b.ej,b.Nq,b.Qp,T.D9],styles:["sensitive-post-description[_ngcontent-%COMP%]{color:var(--lv-color-text-secondary);
54font-weight:var(--lv-font-weight-light);font-size:var(--lv-font-size-400);line-height:var(--lv-line-height-m)}"]})}}return Ge})();var Ze=i(830),Ht=i(4919),I=i(9769);const mt=Ge=>({"background-color":Ge}),Ue=(Ge,On)=>On.platform;function ue(Ge,On){if(1&Ge){const xt=u.RV6();u.j41(0,"div",1)(1,"button",4),u.bIt("click",function(){const Wt=h.eBV(xt).$implicit,kn=u.XpG();return h.Njj(kn.shareButtonTrigger(Wt.platform,Wt.shareUrl))}),u.nrm(2,"img",5),u.k0s(),u.j41(3,"span",6),u.EFF(4),u.k0s()()}if(2&Ge){const xt=On.$implicit;u.R7$(),u.Y8G("ngStyle",u.eq3(4,mt,xt.buttonColor)),u.R7$(),u.Y8G("src","assets/img/icons/share/"+xt.iconName+".svg",u.B4B)("alt",xt.label),u.R7$(2),u.SpI(" ",xt.label," ")}}let ft=(()=>{class Ge{constructor(){this.dialogData=(0,h.WQX)(b.Qs),this.shareAndEarnService=(0,h.WQX)(Ht.c),this.showCopyUrlInput=(0,c.hFB)(!0),this.shareBaseUrl=(0,C.EW)(()=>this.dialogData.copyUrlLink),this.shareButtons=(0,C.EW)(()=>this.shareAndEarnService.getShareButtons(this.dialogData.feedLink.user_id,this.dialogData.feedLink.href,this.dialogData.feedLink.url,this.dialogData.feedLink.title))}shareButtonTrigger(xt,sn){var Wt=this;return(0,He.A)(function*(){yield Wt.shareAndEarnService.share(xt,Wt.dialogData.feedLink,sn)})()}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-share-buttons"]],inputs:{showCopyUrlInput:[1,"showCopyUrlInput"]},decls:5,vars:2,consts:[[1,"buttons-wrapper"],[1,"button-item"],[1,"input-wrapper"],[3,"copyInputText","labelText"],[1,"button-item__button",3,"click","ngStyle"],[1,"share-icon",3,"src","alt"],[1,"button-item__label"]],template:function(sn,Wt){1&sn&&(u.j41(0,"div",0),u.Z7z(1,ue,5,6,"div",1,Ue),u.k0s(),u.j41(3,"div",2),u.nrm(4,"lv-copy-url",3),u.k0s()),2&sn&&(u.R7$(),u.Dyx(Wt.shareButtons()),u.R7$(3),u.Y8G("copyInputText",Wt.shareBaseUrl())("labelText","Copy Url"))},dependencies:[Ze.c,I.B3],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;
54--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
54--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.buttons-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:var(--lv-spacing-l)}@media(width>=48rem){.buttons-wrapper[_ngcontent-%COMP%]{gap:var(--lv-spacing-xl)}}.buttons-wrapper[_ngcontent-%COMP%]   .button-item[_ngcontent-%COMP%]{display:flex;width:var(--lv-sizing-2xl);margin-top:var(--lv-spacing-s);flex-direction:column;gap:var(--lv-spacing-s);align-items:center}.buttons-wrapper[_ngcontent-%COMP%]   .button-item[_ngcontent-%COMP%]   .button-item__button[_ngcontent-%COMP%]{height:var(--lv-sizing-2xl);width:var(--lv-sizing-2xl);border:0;border-radius:var(--lv-border-radius-xs);display:flex;justify-content:center;align-items:center;cursor:pointer}.buttons-wrapper[_ngcontent-%COMP%]   .button-item[_ngcontent-%COMP%]   .button-item__button[_ngcontent-%COMP%]:hover{filter:brightness(.9)}.buttons-wrapper[_ngcontent-%COMP%]   .button-item[_ngcontent-%COMP%]   .button-item__button[_ngcontent-%COMP%]   .share-icon[_ngcontent-%COMP%]{display:block;width:var(--lv-sizing-l);height:var(--lv-sizing-l)}.buttons-wrapper[_ngcontent-%COMP%]   .button-item__label[_ngcontent-%COMP%]{display:none;color:var(--lv-black);font-size:var(--lv-font-size-200);font-weight:var(--lv-font-weight-regular);white-space:nowrap}@media(width>=48rem){.buttons-wrapper[_ngcontent-%COMP%]   .button-item__label[_ngcontent-%COMP%]{display:block}}.input-wrapper[_ngcontent-%COMP%]{margin:var(--lv-spacing-s) 0}']})}}return Ge})(),Kt=(()=>{class Ge{constructor(){this.dialogRef=(0,h.WQX)(b.ce)}closeDialog(){this.dialogRef.close()}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275cmp=u.VBU({type:Ge,selectors:[["lv-share-post-dialog"]],decls:7,vars:4,consts:[[3,"close","size"]],template:function(sn,Wt){1&sn&&(u.j41(0,"lv-lib-popover",0),u.bIt("close",function(){return Wt.closeDialog()}),u.j41(1,"lv-lib-popover-header")(2,"h2"),u.EFF(3),u.nI1(4,"translate"),u.k0s()(),u.j41(5,"lv-lib-popover-body"),u.nrm(6,"lv-share-buttons"),u.k0s()()),2&sn&&(u.Y8G("size","md"),u.R7$(3),u.JRh(u.bMT(4,2,"sharePost")))},dependencies:[b.ej,b.r3,b.DI,ft,T.D9],encapsulation:2})}}return Ge})(),cn=(()=>{class Ge{constructor(){this.dialog=(0,h.WQX)(b.o3),this.dialogInstances=new Map}getDialogInstances(){return this.dialogInstances}openAndSaveInstance(xt,sn={}){const Wt=this.dialogInstances.get(xt);if(Wt)return Wt;const kn=this.dialog.open(xt,sn);return this.dialogInstances.set(xt,kn),kn.afterClosed().subscribe(()=>{this.dialogInstances.delete(xt)}),kn}closeAllDialogs(){this.dialog.closeAll(),this.dialogInstances.clear()}openPremiumExpiredDialog(xt){return this.openAndSaveInstance(_e,{disableClose:!1,data:{...xt}})}openPremiumUpgradeDialog(xt){return this.openAndSaveInstance(Be,{disableClose:!1,data:{...xt}})}openRegisterAsFreeUserDialog(xt){return this.openAndSaveInstance(Pt,xt)}openChargebeeStatusDialog(xt,sn=!0){return this.openAndSaveInstance(We.t,{backdropClickClose:sn,panelClass:"full-width-dialog",data:{status:xt}})}openPublisherClosedDialog(){return null!==localStorage.getItem("tour_seen")?null:this.openAndSaveInstance(Le,{backdropClickClose:!0})}openLoginDialog(xt={}){return this.openAndSaveInstance(bn,xt)}openSocialLoginDialog(xt={}){return this.openAndSaveInstance(Xt.M,xt)}openPasswordResetDialog(xt){return this.openAndSaveInstance(St.Q,xt)}openPasswordForgetDialog(xt){return this.openAndSaveInstance(zt,xt)}openChangeUsernameDialog(xt={}){return this.openAndSaveInstance(vn,xt)}openSharePostDialog(xt={}){return this.openAndSaveInstance(Kt,xt)}openChangeSensitivePostSettingsDialog(xt=!1){return this.openAndSaveInstance($e,{backdropClickClose:!1,data:{triggerTracking:xt}})}openRevealSensitivePostDialog(){return this.openAndSaveInstance(Ct,{backdropClickClose:!0})}static{this.\u0275fac=function(sn){return new(sn||Ge)}}static{this.\u0275prov=h.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}}return Ge})()},1096(vt,Y,i){i.d(Y,{Rq:()=>w});var h=i(5802),b=i(7673),c=i(6354),C=i(4446);const T={accessflow_ad_task:{source:"frontend",storageKey:"task_ad_variant_1509",variants:{control_old:0,non_skippable_test:0,non_skippable_test_noskipbutton:0,stepper_with_line_5s:0,stepper_with_line_10s:0,control:100}
54},paywall_variant:{source:"frontend",storageKey:"ab_test_paywall_button",variants:{control:0,paywall_changed_buttontext:100}},LastOfferExperiment:{source:"remote",variants:["control","099_last_offer","199_last_offer","299_last_offer","399_last_offer","499_last_offer"]}};function O(v,D){const m=D?`${v.storageKey}:${D}`:v.storageKey,u=localStorage.getItem(m);if(u&&Object.keys(v.variants).includes(u))return u;const W=Object.values(v.variants).reduce((G,le)=>G+le,0),z=Math.random()*W;let se=0;for(const[G,le]of Object.entries(v.variants))if(se+=le,z<se)return localStorage.setItem(m,G),G;throw new Error(`Experiment ${v.storageKey} weights must be greater than zero`)}class w{constructor(){this.meService=(0,h.WQX)(C.Q),this.assignments$=this.meService.me$.pipe((0,c.T)(D=>(D?.ab_testing.experimentGroups??[]).reduce((m,{experiment:u,group:W})=>({...m,[u]:W}),{})))}static{this.experiments=function y(v){return Object.fromEntries(Object.entries(v).map(([D,m])=>[D,{name:D,variants:Object.fromEntries(("remote"===m.source?m.variants:Object.keys(m.variants)).map(u=>[u,u]))}]))}(T)}getVariant(D,m){const u=T[D];return"frontend"===u.source?(0,b.of)(O(u,m)):this.assignments$.pipe((0,c.T)(W=>function k(v,D,m){return"frontend"===v.source?O(v,m):D??null}(u,W[D],m)))}static{this.\u0275fac=function(m){return new(m||w)}}static{this.\u0275prov=h.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}},2759(vt,Y,i){i.d(Y,{g:()=>tt});var h=i(2271),b=i(5802),c=i(2771),C=i(3794),T=i(5547);const z=new b.nKC(""),se="b",G="h",le="s",_="st",ge="u",q="rt",Te=new b.nKC(""),Be=["GET","HEAD"];function ye(pt,Lt,ot,At){const{transferCache:M}=pt;if(!function we(pt,Lt){const{isCacheActive:ot,...At}=Lt,{transferCache:M,method:gt}=pt;return!(!ot||!1===M||"POST"===gt&&!At.includePostRequests&&!M||"POST"!==gt&&!Be.includes(gt)||!At.includeRequestsWithAuthHeaders&&function ae(pt){return pt.headers.has("authorization")||pt.headers.has("proxy-authorization")}(pt)||!1===At.filter?.(pt))}(pt,Lt))return null;if(At)throw new b.buA(2803,!1);const pe=function We(pt,Lt){const{params:ot,method:At,responseType:M}=pt,gt=_e(ot);let pe=pt.serializeBody();pe instanceof URLSearchParams?pe=_e(pe):"string"!=typeof pe&&(pe="");const Rt=function ht(pt){let Lt=0;for(const ot of pt)Lt=Math.imul(31,Lt)+ot.charCodeAt(0)|0;return Lt+=2147483648,Lt.toString()}([At,M,Lt,pe,gt].join("|"));return(0,T.zw6)(Rt)}(pt,pt.url),lt=ot.get(pe,null);if(function X(pt,Lt){const{includeHeaders:ot}=pt;let At=ot;return"object"==typeof Lt&&Lt.includeHeaders&&(At=Lt.includeHeaders),At}(Lt,M),lt){const{[se]:Yt,[q]:Ut,[G]:jt,[le]:zt,[_]:Oe,[ge]:Mt}=lt;let o=Yt;switch(Ut){case"arraybuffer":o=an(Yt);break;case"blob":o=new Blob([an(Yt)])}let it=new C.Lr(jt);return new C.cS({body:o,headers:it,status:zt,statusText:Oe,url:Mt})}return null}function _e(pt){return[...pt.keys()].sort().map(Lt=>`${Lt}=${pt.getAll(Lt)}`).join("&")}function an(pt){const Lt=atob(pt);return Uint8Array.from(Lt,At=>At.charCodeAt(0)).buffer}const Le=(()=>{const pt=He("json");return pt.arrayBuffer=He("arraybuffer"),pt.blob=He("blob"),pt.text=He("text"),pt})();function He(pt){return function(ot,At){const M=At?.injector??(0,b.WQX)(b.zZn),gt=M.get(Te,null,{optional:!0}),pe=M.get(T.pJN,null,{optional:!0}),lt=M.get(z,null,{optional:!0});return new Ae(M,()=>function Ne(pt,Lt){let ot="function"==typeof pt?pt():pt;if(void 0===ot)return;"string"==typeof ot&&(ot={url:ot});const At=ot.headers instanceof C.Lr?ot.headers:new C.Lr(ot.headers),M=ot.params instanceof C.Nl?ot.params:new C.Nl({fromObject:ot.params});return new C.Kd(ot.method??"GET",ot.url,ot.body??null,{headers:At,params:M,reportProgress:ot.reportProgress,withCredentials:ot.withCredentials,keepalive:ot.keepalive,cache:ot.cache,priority:ot.priority,mode:ot.mode,redirect:ot.redirect,responseType:Lt,context:ot.context,transferCache:ot.transferCache,credentials:ot.credentials,referrer:ot.referrer,referrerPolicy:ot.referrerPolicy,integrity:ot.integrity,timeout:ot.timeout})}(ot,pt),At?.defaultValue,At?.debugName,At?.parse,At?.equal,Yt=>{if(gt&&pe&&Yt){const Ut=ye(Yt,gt,pe,lt);if(Ut)try{const jt=Ut.body,zt=At?.parse?At.parse(jt):jt;return(0,b.vPA)({value:zt})}catch{}}})}}class Ae extends h.vG{client;_headers=(0,h.uu)({source:this.extRequest,computation:()=>{}});_progress=(0,h.uu)({source:this.extRequest,computation:()=>{}});_statusCode=(0,h.uu)({source:this.extRequest,computation:()=>{}});headers=(0,h.EW)(()=>"resolved"===this.status()||"error"===this.status()?this._headers():void 0);progress=this._progress.asReadonly();statusCode=this._statusCode.asReadonly();constructor(Lt,ot,At,M,gt,pe,lt){super(ot,({params:Rt,abortSignal:Yt})=>{let Ut;const jt=()=>Ut.unsubscribe();Yt.addEventListener("abort",jt);
54const zt=(0,b.vPA)({value:void 0});let Oe;const Mt=new Promise(it=>Oe=it),o=it=>{zt.set(it),Oe?.(zt),Oe=void 0};return Ut=this.client.request(Rt).subscribe({next:it=>{switch(it.type){case C.hv.Response:this._headers.set(it.headers),this._statusCode.set(it.status);try{o({value:gt?gt(it.body):it.body})}catch(nn){o({error:(0,h.wl)(nn)})}break;case C.hv.DownloadProgress:this._progress.set(it)}},error:it=>{it instanceof C.yz&&(this._headers.set(it.headers),this._statusCode.set(it.status)),o({error:it}),Yt.removeEventListener("abort",jt)},complete:()=>{Oe&&o({error:new b.buA(991,!1)}),Yt.removeEventListener("abort",jt)}}),Mt},At,pe,M,Lt,lt),this.client=Lt.get(C.Qq)}set(Lt){super.set(Lt),this._headers.set(void 0),this._progress.set(void 0),this._statusCode.set(void 0)}}var qe=i(6661);let tt=(()=>{class pt{parseValue(ot,At){return ot.split("\n").find(M=>M.startsWith(`${At}=`))?.split("=")[1]??"EN"}constructor(){this.EUROPE_COUNTRY_CODES=["BE","BG","CZ","DK","DE","EE","IE","EL","ES","FR","HR","IT","CY","LV","LT","LU","HU","MT","NL","AT","PL","PT","RO","SI","SK","FI","SE"],this.traceResponse=Le.text(()=>qe.c.production?"https://linkvertise.com/cdn-cgi/trace":void 0),this.isInEurope=(0,h.EW)(()=>{const ot=this.countryCode();return null===ot?null:this.EUROPE_COUNTRY_CODES.includes(ot)}),this.countryCode=(0,h.EW)(()=>{if(this.traceResponse.error()||!qe.c.production)return"EN";if(this.traceResponse.isLoading())return null;const ot=this.traceResponse.value();return ot?this.parseValue(ot,"loc"):"EN"}),this.translationsAvailable$$=new c.m(1),this.translationsAvailable$=this.translationsAvailable$$.asObservable(),this.currenciesWithoutEmptyFractions=["VND","CLP","JPY","KRW","UGX","IDR"],this.document=(0,b.WQX)(b.qQL),this.document.documentElement.lang="en"}formatCurrencyForLocale(ot,At,M){return new Intl.NumberFormat(M,{style:"currency",currency:At,trailingZeroDisplay:this.currenciesWithoutEmptyFractions.includes(At)?"stripIfInteger":"auto"}).format(ot)}anounceTranslationsAvailable(){this.translationsAvailable$$.next()}static{this.\u0275fac=function(At){return new(At||pt)}}static{this.\u0275prov=b.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}}return pt})()},4499(vt,Y,i){i.d(Y,{_:()=>T});var h=i(5949),b=i(5547);let c=(()=>{class y{transform(k,w){if(k){let v,D,m;if(w?.isDateInUTC){const se=(new Date).toISOString();D=new Date(se).getTime(),m=new Date(`${k}Z`).getTime()}else D=(new Date).getTime(),m=new Date(k).getTime();if(v=Math.floor((D-m)/1e3),v<29)return"Just now";const u={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,minute:60,second:1};let z,W=null;W={year:["year","years"],month:["month","months"],week:["week","weeks"],day:["day","days"],hour:["hour","hours"],minute:["minute","minutes"],second:["second","seconds"]};for(const se in u)if(z=Math.floor(v/u[se]),z>0)return 1===z?`${z} ${W[se][0]} ago`:`${z} ${W[se][1]} ago`}return k}static{this.\u0275fac=function(w){return new(w||y)}}static{this.\u0275pipe=b.EJ8({name:"dateAgo",type:y,pure:!0})}}return y})();var C=i(5802);let T=(()=>{class y{getChipsData(k,w=!0){const v=[];return v.push(k.is_premium_only?{icon:"diamond",iconColor:h.Li.primary,text:"Premium",tooltip:w?"Premium":"",isMaterial:!0}:{icon:"label",text:"Public"}),k.effective_published_at&&v.push({icon:"today",text:(new c).transform(k.effective_published_at,{isDateInUTC:!0,onlyEN:!0})}),k.recently_edited&&v.push({icon:"new_releases",iconColor:h.Li.default,text:w?"":"New",tooltip:w?"New":""}),k.is_trending&&v.push({icon:"local_fire_department",iconColor:h.Li.danger,text:w?"":"Trending",tooltip:w?"Trending":""}),k.rating>=0&&v.push({icon:"thumb_up",text:`${Math.floor(100*k.rating)}%`,tooltip:"",isMaterial:!0}),k.todo_impression_count>0&&v.push({icon:"visibility",text:new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short"}).format(k.todo_impression_count).toLowerCase(),tooltip:"",isMaterial:!0}),v}handleLinkTargetURL(k){const w=k,v=document.createElement("a");document.body.appendChild(v),v.setAttribute("href",w),v.setAttribute("target","_blank"),setTimeout(()=>{v.click()},1),document.body.removeChild(v)}static{this.\u0275fac=function(w){return new(w||y)}}static{this.\u0275prov=C.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},2836(vt,Y,i){i.d(Y,{B:()=>c});var h=i(5802),b=i(345);let c=(()=>{class C{constructor(){this.metaService=(0,h.WQX)(b.W8),this.titleService=(0,h.WQX)(b.hE)}setTitle(y){this.titleService.setTitle(y)}setMeta(y,O){this.metaService.updateTag({name:y,content:O})}static{this.\u0275fac=function(O){return new(O||C)}}
54static{this.\u0275prov=h.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},4919(vt,Y,i){i.d(Y,{c:()=>O});var h=i(4523),b=i(5802),c=i(6994),C=i(3801),T=i(8822);const y=[{platform:"x",label:"X",iconName:"x",buttonColor:"#dbeafe",shareUrl:"https://x.com/intent/post?text=Check out [%POST_TITLE%] on Linkvertise \u{1f440}%0A[%SHARE_BASE_URL%]"},{platform:"whatsapp",label:"WhatsApp",iconName:"whatsapp",buttonColor:"#dcfce7",shareUrl:"https://api.whatsapp.com/send?text=Check out [%POST_TITLE%] on Linkvertise \u{1f440}%0A[%SHARE_BASE_URL%]"},{platform:"telegram",label:"Telegram",iconName:"telegram",buttonColor:"#dff2fe",shareUrl:"https://t.me/share/url?url=[%SHARE_BASE_URL%]&text=Check%20out%20[%POST_TITLE%]%20on%20Linkvertise%20\u{1f440}"},{platform:"other_apps",label:"Other Apps",iconName:"share",buttonColor:"#f5f5f5",shareUrl:"[%SHARE_BASE_URL%]"}];let O=(()=>{class k{constructor(){this.dialogManagerService=(0,b.WQX)(c.n),this.clipboard=(0,b.WQX)(C.B0),this.snackbar=(0,b.WQX)(T.UG)}handleDialog(v){if(!v.href)return;const D=this.getShareTargetUrl(v.href,"copy_url");this.dialogManagerService.openSharePostDialog({data:{feedLink:v,copyUrlLink:D}})}share(v,D,m){var u=this;return(0,h.A)(function*(){const{title:W,href:z}=D;if(D&&W&&z){if("other_apps"===v){const se=u.getShareTargetUrl(z,v);if(!navigator.share)return void u.clipboard.copy(se);try{yield navigator.share({url:se,text:`Check out ${W} on Linkvertise \u{1f440}`,title:`Check out ${W} on Linkvertise \u{1f440}`})}catch(G){if(G instanceof DOMException&&"AbortError"===G.name)return;u.snackbar.open("Native sharing not available. URL copied to clipboard","Close",{duration:3e3}),u.clipboard.copy(se)}return}window.open(m,"_blank","noopener,noreferrer")}else u.snackbar.open("Sharing not available on this Post.","Close",{duration:3e3})})()}getShareButtons(v,D,m,u){if(v&&m&&u&&D)return y.map(W=>{const z=this.getShareTargetUrl(D,W.platform);return{...W,shareUrl:W.shareUrl.replace("[%SHARE_BASE_URL%]",encodeURIComponent(z)).replace("[%CREATOR_ID%]",encodeURIComponent(String(v))).replace("[%POST_ID%]",encodeURIComponent(m)).replace("[%POST_TITLE%]",encodeURIComponent(u)).trim()}})}getShareTargetUrl(v,D){const m=window.location.pathname,u="/"===m?"home":m.slice(1),W=new URL(v);return W.searchParams.set("share_origin",u),W.searchParams.set("utm_source",D),W.toString()}static{this.\u0275fac=function(D){return new(D||k)}}static{this.\u0275prov=b.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},1656(vt,Y,i){i.d(Y,{e:()=>D});var h=i(4523),b=i(5802),c=i(3794),C=i(3207),T=i(7673),y=i(4668),O=i(4196),k=i(6661),w=i(9437),v=i(6354);let D=(()=>{class m{constructor(){this.http=(0,b.WQX)(c.Qq),this.colorConvertingService=(0,b.WQX)(O.i),this.faviconMetaStore={},this.canvasStore={},this.baseUrl=k.c.baseUrl}handleThumbnailUrlFallbackGeneration(W){var z=this;return(0,h.A)(function*(){if(0===W?.filtered_link_images?.length){const se=yield z.generateThumbnailForLink(W);W.filtered_link_images=[{url:se,is_blurred:!1}]}})()}getThumbnail(W,z){var se=this;return(0,h.A)(function*(){if(!W)return se.fallback();const G=`Get ${"URL"===z?"Link":"Text"} from`,le=yield(0,C.s)(se.getFaviconMetaData(W)),_=yield(0,C.s)(se.getCanvasBlob(G));return se.createBlobUrl(_,le,G,W)})()}generateThumbnailForLink(W){var z=this;return(0,h.A)(function*(){return z.getThumbnail(W.target_host||W.target_hostname,W.target_type)})()}createBlobUrl(W,z,se,G){var le=this;return(0,h.A)(function*(){return new Promise(_=>{const ge=new FileReader;ge.onloadend=()=>{let q=ge.result;q=le.replaceValues(q,z,se,G),_(URL.createObjectURL(new Blob([q],{type:"image/svg+xml"})))},ge.readAsText(W)})})()}fallback(){return"/assets/img/fallback/fallback.jpeg"}getCanvasBlob(W){const z=this.getCanvasUrl(W),se=this.http.get(z,{responseType:"blob"}).pipe((0,y.t)(1));return this.canvasStore[z]=se,se}getCanvasUrl(W){return W.length<15?"/assets/img/thumbnail/canvas_1.svg":"/assets/img/thumbnail/canvas_2.svg"}getFaviconMetaData(W){if(W in this.faviconMetaStore)return this.faviconMetaStore[W];const se={primary_color:"#ffffff"},G=this.http.get(`${this.baseUrl}media/favicons?domain=${W}`).pipe((0,v.T)(le=>le.error?se:le),(0,w.W)(()=>(0,T.of)(se)),(0,y.t)(1));return this.faviconMetaStore[W]=G,G}replaceColors(W,z){const G=W.match(/#([A-Fa-f0-9]{6})/g),le=this.colorConvertingService.hexToHSL(z),_=0===le[0]&&0===le[1];return G?.forEach(ge=>{const q=this.colorConvertingService.hexToHSL(ge);_?(q[0]=0,q[1]=0):q[0]=le[0];const Te=this.colorConvertingService.hslToHex(q[0],q[1],q[2]);W=W.replace(ge,Te)}),W}replaceLines(W,z){if(z.length>14){let se=z.slice(0,13);for(;!se.endsWith(" ")&&" "!==z.charAt(13)&&se.length>0;)se=se.substring(0,se.length-1);0===se.length&&(se=z.slice(0,14)),W=W.replace("Line 1",se);let G=14;for(;" "!==z.charAt(G-1)&&G>0;)G-=1;0===G&&(G=14);const le=z.slice(G,z.length);W=W.replace("Line 2",le)}else W=W.replace("Line 1",z);return W}replaceValues(W,z,se,G){return W=this.replaceColors(W,z.primary_color),(W=(W=this.replaceLines(W,se)).replace("HOST",G)).replace("{FAVICON_URL}",z.favicon)}static{this.\u0275fac=function(z){return new(z||m)}}static{this.\u0275prov=b.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},3068(vt,Y,i){i.d(Y,{_m:()=>y,aT:()=>O,bI:()=>k});var h=i(5802),b=i(6661),c=i(5342),C=i(125),T=i(1096),y=function(w){return w.StartPage="start_page",w.ProfilePage="profile_page",w}(y||{});const O={controlOld:T.Rq.experiments.accessflow_ad_task.variants.control_old,nonSkippable:T.Rq.experiments.accessflow_ad_task.variants.non_skippable_test,nonSkippableNoSkipButton:T.Rq.experiments.accessflow_ad_task.variants.non_skippable_test_noskipbutton,control:T.Rq.experiments.accessflow_ad_task.variants.control,stepperWithLine5s:T.Rq.experiments.accessflow_ad_task.variants.stepper_with_line_5s,stepperWithLine10s:T.Rq.experiments.accessflow_ad_task.variants.stepper_with_line_10s};let k=(()=>{class w{constructor(){this.IMPRESSION_SESSION_STORAGE_KEY="X-Linkvertise-UT",this.impressionSessionKey=(0,h.vPA)(localStorage.getItem(this.IMPRESSION_SESSION_STORAGE_KEY)),this.session=this.getSession()}updateImpressionKey(D){D&&this.impressionSessionKey.set(D)}openPage(D){this.track("openPage",{isPremium:D})}postAndEarnTrack(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"create_link",location:""})}trackOpenTargetPage(D,m,u,W=O.control){this.track("openTargetPage",{isPremium:D,creator_id:m,link_
54id:u,ab_test:W})}trackActionImpression(D,m,u,W=O.control,z,se){this.track("actionImpression",{action_name:D,link_id:m,creator_id:u,remaining_waiting_time:z,ab_test:W,action_number:se})}trackActionCompletion(D,m,u,W,z=O.control,se){const G=(0,C.U)();this.track("actionCompletion",{action_name:D,action_id:G,link_id:m,creator_id:u,is_conversion:W,ab_test:z,action_number:se})}trackActionWallContinueClick(D,m,u,W=O.control){const z=(0,C.U)();this.track("actionWallContinueClick",{action_name:c.ZU.WaitTask,action_id:z,option_name:u,link_id:D,creator_id:m,ab_test:W})}trackOpenAccessPage(D,m,u,W=O.control){const z=(0,C.U)();this.track("openAccessPage",{link_id:D,isPremium:m,creator_id:u,action_id:z,ab_test:W})}trackSuggestionClick(D,m){this.track("suggestionClick",{suggestion_location:D,link_id:m})}trackOpenSuccessPage(D,m,u,W=O.control){this.track("openSuccessPage",{isPremium:D,creator_id:m,link_id:u,ab_test:W})}trackFollowEvent(D,m){this.track(D,{location:m})}trackRatingClick(D,m){this.track("rateAsset",{location:D,rating:m})}trackClickAd(D,m,u,W=O.control,z){this.track("clickAd",{action_name:D,link_id:m,creator_id:u,ab_test:W,action_number:z})}trackHasSeenSensitivePostSettingDialog(D){this.track("showSensitiveSettingPopup",{creator_id:D})}getSession(){return b.c.isE2E?"randomUUID":self.crypto.randomUUID()}track(D,m={}){window.dataLayer=window.dataLayer||[],window.dataLayer.push({...m,session:this.session,utToken:this.impressionSessionKey(),event:D})}static{this.\u0275fac=function(m){return new(m||w)}}static{this.\u0275prov=h.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})()},2855(vt,Y,i){i.d(Y,{i:()=>Te,z:()=>we});var h=i(5802),b=i(2740),c=i(9437),C=i(9855);let T=(()=>{class X{constructor(){this.registerGQL=(0,h.WQX)(C.C2)}registerAsFreeUser(Q){let ae={email:Q.email,email_confirmation:Q.email,password:Q.password,password_confirmation:Q.password,gtc_accepted:Q.gtcAccepted};return Q.affiliateId&&(ae={...ae,affiliate_id:Q.affiliateId}),this.registerGQL.mutate({variables:{input:ae}}).pipe((0,c.W)(H=>{throw console.error(H),H}))}static{this.\u0275fac=function(ae){return new(ae||X)}}static{this.\u0275prov=h.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})();var y=i(5558),O=i(983),k=i(1594),w=i(8141),v=i(5769),D=i(7366),m=i(4768),u=i(6994),W=i(5609),z=i(9079),se=i(4692),G=i(8018),le=i(6697),_=i(4446),ge=i(9882),q=i(6967),Te=function(X){return X.RegisterUser="RegisterUser",X.SocialLogin="SocialLogin",X.Login="Login",X.RegisterAfterPremiumUpgrade="RegisterAfterPremiumUpgrade",X.PremiumUpgrade="PremiumUpgrade",X.ReactivateSubscription="ReactivateSubscription",X.ReactivateSubscriptionInAccessFlow="ReactivateSubscriptionInAccessFlow",X.Checkout="Checkout",X}(Te||{});const Be=[{iconName:"timer_off",benefitText:"premium-popup.benefits.skip-waiting",iconColor:"primary"}
54,{iconName:"crown",benefitText:"premium-popup.benefits.premium-status",iconColor:"primary"},{iconName:"play_disabled",benefitText:"premium-popup.benefits.no-ads",iconColor:"primary"},{iconName:"all_inclusive",benefitText:"premium-popup.benefits.unlimited-access-new",iconColor:"primary"}];let we=(()=>{class X{constructor(){this.validationService=(0,h.WQX)(b.B),this.checkoutService=(0,h.WQX)(T),this.checkoutFlow=(0,h.WQX)(q.o),this.apiCheckoutService=(0,h.WQX)(v.q),this.authService=(0,h.WQX)(D.u),this.dialogManager=(0,h.WQX)(u.n),this.closingPublisher=(0,h.WQX)(se.v),this.membershipManager=(0,h.WQX)(m.o),this.translate=(0,h.WQX)(G.c$),this.router=(0,h.WQX)(ge.Ix),this.meService=(0,h.WQX)(_.Q),this.trialIdentifier="2d-|-1-month"}startAccountWorkflow(Q,{workflowPayload:ae,userEmail:H,noWorkflow:_e=!1}={}){switch(Q){case Te.SocialLogin:{let We;_e||(We=ae?.membershipPlan,We??=this.membershipManager.lastSelectedMembershipPlan()),this.dialogManager.openSocialLoginDialog({data:{currentLink:ae?.currentLink,memberShipPlan:We,postId:ae?.postId}});break}case Te.Login:this.dialogManager.openLoginDialog({data:{userEmail:H??"",memberShipPlan:ae?.membershipPlan}});break;case Te.RegisterUser:this.registerUserFlow(ae?.membershipPlan,ae?.isAccessFlow,H);break;case Te.PremiumUpgrade:this.premiumUpgradeFlow();break;case Te.ReactivateSubscription:this.reactivateSubscriptionWorkflow(ae?.lastPlan);break;case Te.Checkout:this.checkoutWorkflow(ae?.selectedPlanId??"",void 0);break;case Te.RegisterAfterPremiumUpgrade:this.registerAfterPremiumUpgrade();break;case Te.ReactivateSubscriptionInAccessFlow:this.reactivateSubscriptionInAccessFlow(ae?.lastPlan,ae?.selectedPlanInAccessFlow)}}registerAfterPremiumUpgrade(){const Q=this.membershipManager.visibleMembershipPlans(),ae=this.dialogManager.openPremiumUpgradeDialog({visiblePlans:Q,benefits:Be,preSelected:Q.find(H=>H.chargebee_identifier?.includes(this.trialIdentifier))??Q[0]});ae.componentInstance?.dialogAction.subscribe(H=>{if(H.action===W.pZ.CONFIRM&&H.value){const _e=Q.find(We=>We.id===H.value.selected);this.startAccountWorkflow(Te.SocialLogin,{workflowPayload:{membershipPlan:_e}}),ae.close()}})}registerUserFlow(Q,ae,H){const _e=this.dialogManager.openRegisterAsFreeUserDialog({data:{membershipPlan:Q,isAccessFlow:ae,userEmail:H}}),We=this.closingPublisher.getAffiliate()??"";_e.componentInstance&&(0,z.yC)(_e.componentInstance.dialogAction).pipe((0,y.n)(ht=>ht.action===W.pZ.LOGIN?(_e.close(),this.dialogManager.openLoginDialog({data:{memberShipPlan:ht.loginValue?.memberShipPlan}}).afterClosed()):ht.action===W.pZ.REGISTER&&ht.value?this.checkoutService.registerAsFreeUser({...ht.value,affiliateId:We}).pipe((0,c.W)(Vt=>this.handleRegisterErrors(Vt,_e,Q,ae)),(0,y.n)(Vt=>{const an=Vt?.data?.register.token,Et=Vt?.data?.register.sanctum_token??"";return an?this.dialogManager.openChargebeeStatusDialog("active",!1).afterClosed().pipe((0,k.$)(),(0,y.n)(()=>(this.authService.login(an,Et),window.location.pathname.includes("/access/")&&this.meService.hasUserStatusChanged.set(!0),_e.close(),this.dialogManager.openChangeUsernameDialog().afterClosed().pipe((0,le.s)(1),(0,y.n)(()=>this.dialogManager.openChangeSensitivePostSettingsDialog().afterClosed().pipe((0,le.s)(1),(0,w.M)(()=>{this.authService.startGuidedTour.set(!0)}))))))):O.w})):ht.action===W.pZ.UPDATEPLAN&&ht.value?this.checkoutService.registerAsFreeUser({...ht.value,affiliateId:We}).pipe((0,c.W)(Vt=>this.handleRegisterErrors(Vt,_e,Q,ae)),(0,w.M)(Vt=>{this.authService.login(Vt?.data?.register.token??"",Vt?.data?.register.sanctum_token??""),this.dialogManager.closeAllDialogs(),this.startAccountWorkflow(Te.Checkout,{workflowPayload:{selectedPlanId:Q?.id,isAccessFlow:ae}}),window.location.pathname.includes("/access/")&&this.meService.hasUserStatusChanged.set(!0)})):O.w)).subscribe()}handleRegisterErrors(Q,ae,H,_e){const We=Q.extensions||Q.errors[0].extensions;return Object.keys(We.validation).length?(Object.entries(We.validation).forEach(([ht,Vt])=>{ae.componentInstance?.errorMessages.update(an=>[...an,Vt[0].replace(/\binput\.(\w+)/g,"$1")]),Vt[0].includes("affiliate")&&this.closingPublisher.removeAffiliate()}),ae.componentInstance?.isLoadingRegister.set(!1),console.error(Q),O.w):(this.retryOnRegisterError(ae,H,_e),O.w)}retryOnRegisterError(Q,ae,H){this.dialogManager.openChargebeeStatusDialog("pending-failed").afterClosed().subscribe(_e=>{"pending-failed"===_e&&(Q.close(),this.startAccountWorkflow(Te.RegisterUser,{workflowPayload:{membershipPlan:ae,isAccessFlow:H}}))})}premiumUpgradeFlow(){const Q=this.membershipManager.visibleMembershipPlans(),ae=this.dialogManager.openPremiumUpgradeDialog({visiblePlans:Q,benef
54its:Be,preSelected:Q.find(H=>H.chargebee_identifier?.includes(this.trialIdentifier))??Q[0]});ae.componentInstance?.dialogAction.subscribe(H=>{H.action===W.pZ.CONFIRM&&H.value&&this.checkoutWorkflow(H.value.selected,ae)})}reactivateSubscriptionWorkflow(Q){if(!Q)return;const ae=this.dialogManager.openPremiumExpiredDialog({lastPlan:Q,visiblePlans:this.membershipManager.visibleMembershipPlans(),preSelected:Q});ae.componentInstance&&(0,z.yC)(ae.componentInstance.dialogAction).pipe((0,y.n)(H=>H.action===W.pZ.CONFIRM&&H.value?null===this.meService.me()?.subscription_data?.chargebee_data?.primary_payment_source_id?(this.apiCheckoutService.openChargebeeStatusAndHandlePortal("DUNNING"),O.w):this.renewSubscription(H.value.selectedPlan):(this.apiCheckoutService.openChargebeeStatusAndHandlePortal("DUNNING"),O.w))).subscribe()}reactivateSubscriptionInAccessFlow(Q,ae){if(!Q)return;const H=this.dialogManager.openPremiumExpiredDialog({lastPlan:Q,visiblePlans:this.membershipManager.visibleMembershipPlans(),preSelected:ae??Q,dialogStep:W.J8.CONFIRMEPLAN});H.componentInstance&&(0,z.yC)(H.componentInstance.dialogAction).pipe((0,y.n)(_e=>_e.action===W.pZ.CONFIRM&&_e.value?null===this.meService.me()?.subscription_data?.chargebee_data?.primary_payment_source_id?(this.apiCheckoutService.openChargebeeStatusAndHandlePortal("DUNNING"),O.w):this.renewSubscription(_e.value.selectedPlan):(this.apiCheckoutService.openChargebeeStatusAndHandlePortal("DUNNING"),O.w))).subscribe()}renewSubscription(Q){return this.checkoutFlow.renewCheckout(Q.id).pipe((0,c.W)(ae=>this.checkForValidationError(ae)),(0,w.M)(()=>{this.dialogManager.closeAllDialogs()}))}checkoutWorkflow(Q,ae){this.checkoutFlow.startCheckout(Q).subscribe({next:()=>ae?.close(),error:H=>{(H.message||H.errors?.[0]?.message)!==b.B.USER_VALIDATION_ERROR?console.error(H):ae?.componentInstance?.errorMessages.update(We=>[...We,this.translate.instant("registration.invalid-user")])}})}checkForValidationError(Q){return(Q.message||Q.errors[0].message)===b.B.USER_VALIDATION_ERROR?(this.validationService.openInvalidPage(!0),this.dialogManager.closeAllDialogs()):(this.dialogManager.closeAllDialogs(),this.dialogManager.openChargebeeStatusDialog("dunning")),O.w}handleMailLinkEntry(){this.meService.isMember()?this.router.navigate(["/account"]):this.dialogManager.openLoginDialog({backdropClickClose:!1}).afterClosed().subscribe(()=>{this.meService.isMember()&&this.router.navigate(["/account"])})}static{this.\u0275fac=function(ae){return new(ae||X)}}static{this.\u0275prov=h.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})()},2740(vt,Y,i){i.d(Y,{B:()=>w});var h=i(5802),b=i(9079),c=i(7484),C=i(2771),T=i(8810),y=i(6354),O=i(6661),k=i(4446);let w=(()=>{class v{constructor(){this.adblockService=(0,h.WQX)(c.u),this.meService=(0,h.WQX)(k.Q),this.IS_PRODUCTION=O.c.production,this.INVALID_PAGE_URL="https://invalid.linkvertise.com",this.onCheqEncryptedResponse=new C.m,this.requestCount=0,this.cheqRequestId=(0,b.ot)(this.check().pipe((0,y.T)(m=>m.requestID)))}static{this.USER_VALIDATION_ERROR="some errors occurred!"}check(){if(this.requestCount>=1)return this.onCheqEncryptedResponse;if(this.meService.isPremiumActive())return this.onCheqResponse("premium"),this.onCheqEncryptedResponse;if(this.adblockService.isAdBlocked)return this.handleError("adblock invalid");const m="traffic_validation_cheq_response_ng_jsonp_"+this.requestCount++;window[m]=(W,z)=>{this.onCheqResponse(W,z)},window.__ctcg_ct_14473_exec=void 0;const u=document.createElement("script");return u.src="https://euob.bizseasky.com/sxp/i/df82c4ef6536e4dee60601280bc80588.js?id=14473",u.async=!0,u.onerror=()=>{console.error("Fatal: ValidationService script Error"),this.handleError("cheq error invalid")},u.className="ct_clicktrue_14473",u.setAttribute("data-ch","cheq4ppc"),u.setAttribute("data-jsonp",m),document.head.appendChild(u),this.onCheqEncryptedResponse}openInvalidPage(m=!1){window.open(this.INVALID_PAGE_URL,m?"_blank":"_self")}handleError(m){return m.toString().toLowerCase().includes("invalid")?this.openInvalidPage():this.IS_PRODUCTION||window.alert(`Unhandled ValidationService Error!\nMessage: ${m.toString()}`),(0,T.$)(()=>new Error(m))}onCheqResponse(m,u=null){this.onCheqEncryptedResponse.next({cheqMessage:m,requestID:u})}static{this.\u0275fac=function(u){return new(u||v)}}static{this.\u0275prov=h.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})()},5809(vt,Y,i){i.d(Y,{Je:()=>v,OH:()=>m,x3:()=>w});var C=i(4589),T=i(1306),y=i(5802);const O=C.J1`
55    fragment AdsFragment on CustomAdOffer {
56  completion_token
57  call_to_action
58  countdown
59  description
60  provider
61  title
62  provider_additional_payload {
63    taboola {
64      available_event_url
65      visible_event_url
66    }
67  }
68  clickout_action {
69    type
70    ... on CustomAdOfferClickoutUrlAction {
71      type
72      clickout_url
73    }
74  }
75  media {
76    type
77    ... on UrlMediaResource {
78      content_type
79      resource_url
80    }
81  }
82}
83    `,k=C.J1`
84    query getLinkByIdentifier($identifier: PublicLinkIdentificationInput!) {
85  linkByIdentifier(linkIdentificationInput: $identifier) {
86    ...ResultCardFields
87    video_url
88    recently_edited
89    description
90    seo_faqs {
91      title
92      body
93    }
94    negative_rating
95    published_at
96    isPublished
97    publisher {
98      subscriber_count
99    }
100  }
101}
102    ${T.T}`;let w=(()=>{class W extends C.XK{constructor(se){super(se),this.document=k}static{this.\u0275fac=function(G){return new(G||W)(y.KVO(C.Ic))}}static{this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}}return W})();const v=C.J1`
103    query getContent($identifier: PublicLinkIdentificationInput!, $task_args: TaskArgument) {
104  getContent(input: $identifier, task_args: $task_args) {
105    ... on ContentAccessTaskSet {
106      __typename
107      tasks {
108        __typename
109        id
110        ... on PremiumTask {
111          __typename
112          status
113          id
114        }
115        ... on WaitTask {
116          __typename
117          id
118          remainingWaitingTime
119          status
120          adsTotal
121        }
122        ... on AdTask {
123          __typename
124          id
125          status
126          payloadBag {
127            taboola {
128              session_id
129            }
130          }
131          ads {
132            ...AdsFragment
133          }
134          adIndex
135          adsTotal
136        }
137      }
138    }
139    ... on DetailPageTargetData {
140      type
141      url
142      paste
143    }
144  }
145}
146    ${O}`,m=C.J1`
147    mutation completeTask($identifier: PublicLinkIdentificationInput!, $task_id: String!, $task_args: TaskArgument) {
148  completeTask(input: $identifier, task_id: $task_id, task_args: $task_args) {
149    id
150    ... on AdTask {
151      __typename
152      id
153      status
154    }
155    ... on PremiumTask {
156      __typename
157      status
158      id
159    }
160    ... on WaitTask {
161      __typename
162      id
163      status
164      remainingWaitingTime
165      adsTotal
166    }
167  }
168}
169    `},9393(vt,Y,i){i.d(Y,{M:()=>Ne});var h=i(4523),b=i(5802),c=i(2271),C=i(5949),T=i(7705);let y=(()=>{class Ae{load(){const tt="https://accounts.google.com/gsi/client?hl=en",pt=document.querySelector(`script[src="${tt}"]`);return"true"===pt?.dataset.gsiLoaded?Promise.resolve():(this.loading||(this.loading=new Promise((Lt,ot)=>{const At=pt??(()=>{const lt=document.createElement("script");return lt.src=tt,lt.async=!0,lt.defer=!0,document.head.appendChild(lt),lt})(),M=()=>{At.removeEventListener("load",gt),At.removeEventListener("error",pe)},gt=()=>{At.dataset.gsiLoaded="true",M(),"function"==typeof window.google?.accounts?.id?.initialize&&"function"==typeof window.google?.accounts?.id?.renderButton?Lt():ot(new Error("Google GSI loaded, but API not available"))},pe=()=>{M(),ot(new Error("Failed to load Google Sign-In"))};At.addEventListener("load",gt,{once:!0}),At.addEventListener("error",pe,{once:!0})})),this.loading)}static{this.\u0275fac=function(pt){return new(pt||Ae)}}static{this.\u0275prov=b.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}}return Ae})();var O=i(6661),k=i(9451),w=i(5342),v=i(5547);const D=["googleButton"];function m(Ae,qe){1&Ae&&(v.rj2(0,"div",1),v.Hgh(1,"div",3),v.eux())}let u=(()=>{class Ae{constructor(){this.ngZone=(0,b.WQX)(b.SKi),this.googleButtonLoader=(0,b.WQX)(y),this.socialLoginService=(0,b.WQX)(k.Q),this.buttonRef=(0,T.ebz)("googleButton"),this.idToken=(0,T.CGW)(),this.googleClientId=O.c.googleClientId,this.buttonLoading=(0,b.vPA)(!1),this.nonceToken=(0,b.vPA)(void 0)}ngAfterViewInit(){this.buttonLoading.set(!0),this.initButton().then(()=>{this.buttonLoading.set(!1)})}initButton(){var tt=this;return(0,h.A)(function*(){yield tt.googleButtonLoader.load();const pt=yield tt.socialLoginService.getNonce(w._v.Google);tt.nonceToken.set(pt??void 0);const Lt=tt.buttonRef()?.nativeElement;Lt&&(window.google?.accounts.id.initialize({client_id:tt.googleClientId,nonce:tt.nonceToken(),color_scheme:"light",ux_mode:"popup",context:"use",itp_supp
169ort:!1,callback:At=>{tt.ngZone.run(()=>{tt.idToken.emit(At.credential)})}}),(()=>{const At=Math.round(Lt.getBoundingClientRect().width);At<=0||(Lt.innerHTML="",window.google.accounts.id.renderButton(Lt,{type:"standard",theme:"outline",shape:"rectangular",text:"continue_with",locale:"en",width:At,logo_alignment:"center"}))})())})()}static{this.\u0275fac=function(pt){return new(pt||Ae)}}static{this.\u0275cmp=v.VBU({type:Ae,selectors:[["lv-google-sign-in-button"]],viewQuery:function(pt,Lt){1&pt&&v.wEZ(Lt.buttonRef,D,5),2&pt&&v.NyB()},hostAttrs:[2,"width","100%","display","flex","justify-content","center","flex-direction","column"],outputs:{idToken:"idToken"},decls:3,vars:1,consts:[["googleButton",""],[1,"google-loading-wrapper"],[1,"google-button-wrapper"],[1,"google-loading-wrapper__skeleton"]],template:function(pt,Lt){1&pt&&(v.nVh(0,m,2,0,"div",1),v.Hgh(1,"div",2,0)),2&pt&&v.vxM(Lt.buttonLoading()?0:-1)},styles:[".google-button-wrapper[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);display:flex;justify-content:center;font-family:Google Sans,arial,sans-serif}.google-loading-wrapper[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);display:flex;justify-content:center;pointer-events:none;font-family:Google Sans,arial,sans-serif}.google-loading-wrapper__skeleton[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);height:var(--lv-sizing-2xl);min-width:var(--lv-extra-sizing-4xl);max-width:var(--lv-extra-sizing-8xl);background-color:var(--lv-white);animation:_ngcontent-%COMP%_skeleton-pulse 1.4s ease-in-out infinite;border:var(--lv-extra-sizing-3xs) solid var(--lv-light);border-radius:var(--lv-border-radius-2xs)}@keyframes _ngcontent-%COMP%_skeleton-pulse{0%{background-color:var(--lv-white)}50%{background-color:var(--lv-creme)}to{background-color:var(--lv-white)}}"]})}}return Ae})();var W=i(8018),z=i(5125);function se(Ae,qe){if(1&Ae){const tt=v.RV6();v.rj2(0,"div",1),v.VwU("click",function(){b.eBV(tt);const Lt=v.XpG();return b.Njj(Lt.loginDiscord())}),v.rj2(1,"div",2),v.EFF(2,"Continue with"),v.eux(),v.Hgh(3,"img",3),v.eux()}}function G(Ae,qe){1&Ae&&(v.rj2(0,"p"),v.EFF(1),v.nI1(2,"translate"),v.eux()),2&Ae&&(v.R7$(),v.JRh(v.bMT(2,1,"social-login.no-provider")))}let le=(()=>{class Ae{constructor(){this.oauthService=(0,b.WQX)(z.TC),this.socialLoginService=(0,b.WQX)(k.Q),this.SocialLoginProvider=w._v,this.authCodeFlowConfig=this.socialLoginService.getDiscordAuthCodeFlowConfig(),this.loginProvider=T.hFB.required()}loginDiscord(){var tt=this;return(0,h.A)(function*(){const pt=yield tt.socialLoginService.getNonce(w._v.Discord);tt.socialLoginService.saveRedirectLocation(),tt.oauthService.configure(tt.authCodeFlowConfig),tt.oauthService.initCodeFlow(void 0,{nonce:pt})})()}static{this.\u0275fac=function(pt){return new(pt||Ae)}}static{this.\u0275cmp=v.VBU({type:Ae,selectors:[["lv-social-sign-in-button"]],inputs:{loginProvider:[1,"loginProvider"]},decls:2,vars:1,consts:[[1,"social-button-wrapper"],[1,"social-button-wrapper",3,"click"],[1,"social-button-text"],["src","https://cdn.prod.website-files.com/6257adef93867e50d84d30e2/66e3d74e9607e61eeec9c91b_Logo.svg","alt","DiscordLogo",1,"social-button-logo"]],template:function(pt,Lt){if(1&pt&&v.nVh(0,se,4,0,"div",0)(1,G,3,3,"p"),2&pt){let ot;v.vxM((ot=Lt.loginProvider())===Lt.SocialLoginProvider.Discord?0:1)}},dependencies:[W.D9],styles:[".social-button-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:var(--lv-spacing-xs);border:var(--lv-border-width-small) solid var(--lv-discord-border);border-radius:var(--lv-border-radius-3xs);width:var(--lv-extra-sizing-8xl);height:var(--lv-sizing-2xl);cursor:pointer}.social-button-wrapper[_ngcontent-%COMP%]   .social-button-text[_ngcontent-%COMP%]{font-family:Google Sans,arial,sans-serif;color:var(--lv-black);font-size:var(--lv-font-size-250)}.social-button-wrapper[_ngcontent-%COMP%]   .social-button-logo[_ngcontent-%COMP%]{height:var(--lv-sizing-s)}"]})}}return Ae})();function _(Ae,qe){if(1&Ae){const tt=v.RV6();v.j41(0,"lv-google-sign-in-button",2),v.bIt("idToken",function(Lt){b.eBV(tt);const ot=v.XpG();return b.Njj(ot.onSuccess(Lt))}),v.k0s()}}function ge(Ae,qe){if(1&Ae&&v.nrm(0,"lv-social-sign-in-button",1),2&Ae){const tt=v.XpG();v.Y8G("loginProvider",tt.SocialLoginProvider.Discord)}}function q(Ae,qe){1&Ae&&(v.j41(0,"p"),v.EFF(1),v.nI1(2,"translate"),v.k0s()),2&Ae&&(v.R7$(),v.JRh(v.bMT(2,1,"social-login.no-provider")))}let Te=(()=>{class Ae{constructor(){this.socialLoginService=(0,b.WQX)(k.Q),this.SocialLoginProvider=w._v,this.loginProvider=T.hFB.required(),this.isProcessing=(0,T.CGW)(),this.loginResponse=(0,T.CGW)()}onSuccess(tt){this.isProcessing.emit(!0),this.socialLoginService.handleSocialLoginGoogle(tt).subscribe(pt=>{this.loginResponse.emit(pt),this.isProcessing.emit(!1)})}static{this.\u0275fac=function(pt){return new(pt||Ae)}}static{this.\u0275cmp=v.VBU({type:Ae,selectors:[["lv-social-login-button-wrapper"]],inputs:{loginProvider:[1,"loginProvider"]},outputs:{isProcessing:"isProcessing",loginResponse:"loginResponse"},decls:4,vars:1,consts:[[1,"social-login-wrapper"],[3,"loginProvider"],[3,"idToken"]],template:function(pt,Lt){if(1&pt&&(v.j41(0,"div",0),v.nVh(1,_,1,0,"lv-google-sign-in-button")(2,ge,1,1,"lv-social-sign-in-button",1)(3,q,3,3,"p"),v.k0s()),2&pt){let ot;v.R7$(),v.vxM((ot=Lt.loginProvider())===Lt.SocialLoginProvider.Google?1:ot===Lt.SocialLoginProvider.Discord?2:3)}},dependencies:[u,le,W.D9],styles:[".social-login-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:var(--lv-spacing-xs);width:var(--lv-sizing-pct-100)}"]})}}return Ae})();var Be=i(9417),we=i(7936),X=i(7708),ye=i(9183),Q=i(8141),ae=i(4843),H=i(2855),_e=i(6697),We=i(7366),ht=i(6994),Vt=i(516),an=i(3068),Et=i(9575),Gt=i(4768);function at(Ae,qe){if(1&Ae&&(v.j41(0,"div",1),v.nrm(1,"lv-membership-plan-option",15),v.k0s()),2&Ae){const tt=v.XpG();
169v.R7$(),v.Y8G("badge",tt.data.memberShipPlan.mostPopular?"mostPopular":null)("isSelected",!0)("periodText",tt.data.memberShipPlan.periodText)("priceText",tt.data.memberShipPlan.priceText)}}function Ve(Ae,qe){if(1&Ae){const tt=v.RV6();v.j41(0,"div",2)(1,"lv-lib-alert",16),v.bIt("close",function(){b.eBV(tt);const Lt=v.XpG();return b.Njj(Lt.hideAlert())}),v.EFF(2),v.k0s()()}if(2&Ae){const tt=v.XpG();v.R7$(),v.Y8G("type","NEGATIVE")("showIcon",!0),v.R7$(),v.SpI(" ",tt.data.errorMessage??tt.errorMessage()," ")}}function Le(Ae,qe){1&Ae&&v.nrm(0,"mat-spinner",14),2&Ae&&v.Y8G("strokeWidth",4)("diameter",40)}function He(Ae,qe){1&Ae&&(v.j41(0,"span"),v.EFF(1),v.nI1(2,"translate"),v.k0s()),2&Ae&&(v.R7$(),v.SpI(" ",v.bMT(2,1,"registration.continue")," "))}let Ne=(()=>{class Ae{constructor(){this.SocialLoginProvider=w._v,this.dialogRef=(0,b.WQX)(C.ce),this.authOptionsByEmailGQL=(0,b.WQX)(Vt.Gj),this.userEventHandler=(0,b.WQX)(H.z),this.dialogService=(0,b.WQX)(ht.n),this.authService=(0,b.WQX)(We.u),this.trackingService=(0,b.WQX)(an.bI),this.membershipPlanManagerService=(0,b.WQX)(Gt.o),this.data=(0,b.WQX)(C.Qs),this.userEmail=(0,b.vPA)(""),this.errorMessage=(0,b.vPA)(""),this.isLoadingRegister=(0,b.vPA)(!1),this.showAlert=(0,b.vPA)(!1),this.isEmailValid=(0,c.EW)(()=>{const tt=this.userEmail().trim();return/^(?!.*\.\.)([a-zA-Z0-9._%+-]+)@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/.test(tt)}),this.continueEnabled=(0,c.EW)(()=>this.isEmailValid()&&!this.isLoadingRegister()),this.data&&this.data.errorMessage&&this.showAlert.set(!0)}closeDialog(){this.dialogRef.close()}onSocialLoginResponse(tt){tt.success||(this.closeDialog(),this.dialogService.openSocialLoginDialog({data:{errorMessage:tt.message}})),tt.success&&(this.closeDialog(),tt.newUser&&this.dialogService.openChangeUsernameDialog().afterClosed().pipe((0,_e.s)(1),(0,Q.M)(()=>{this.authService.startGuidedTour.set(!0)})))}onContinue(){var tt=this;return(0,h.A)(function*(){if(tt.isEmailValid()){tt.errorMessage.set(""),tt.isLoadingRegister.set(!0);try{const Lt=!!(yield(0,ae._)(tt.authOptionsByEmailGQL.fetch({variables:{email:tt.userEmail()}}))).data?.authOptionsByEmail.isEmailTaken,ot=Lt?H.i.Login:H.i.RegisterUser,At=tt.data.memberShipPlan?{membershipPlan:tt.data.memberShipPlan,postId:tt.data.postId}:{};tt.data.memberShipPlan&&!Lt&&tt.data.postId&&tt.trackContinueClick(tt.data.memberShipPlan.name),tt.userEventHandler.startAccountWorkflow(ot,{workflowPayload:At,userEmail:tt.userEmail()}),tt.dialogRef.close()}catch(pt){const ot=(pt.extensions||pt.errors[0].extensions).validation?.email?.[0];if(ot)return tt.errorMessage.set(ot),void tt.showAlert.set(!0)}finally{tt.isLoadingRegister.set(!1)}}})()}hideAlert(){this.showAlert.set(!1)}trackContinueClick(tt){this.trackingService.trackActionWallContinueClick(this.data.currentLink.id,this.data.currentLink.publisher.id,tt,this.membershipPlanManagerService.selectedLastOfferVariant())}static{this.\u0275fac=function(pt){return new(pt||Ae)}}static{this.\u0275cmp=v.VBU({type:Ae,selectors:[["lv-social-login-dialog"]],decls:25,vars:23,consts:[[3,"close","size"],[1,"membership-price-plan-wrapper"],[1,"error-message-wrapper"],[3,"ngSubmit"],[1,"dialog-wrapper"],[3,"innerHTML"],[3,"isProcessing","loginResponse","loginProvider"],[3,"loginProvider"],[3,"dividerText","vertical","color"],["appearance","outline","subscriptSizing","dynamic",3,"hideRequiredMarker"],["matInput","","type","email","name","email","autocomplete","username",3,"input","value"],[1,"action-buttons"],["size","fill",1,"action-buttons__continue-button",3,"rounded","isfullWidth","disabled"],[1,"action-buttons__continue-button"],[1,"circle-disabled",3,"strokeWidth","diameter"],[3,"badge","isSelected","periodText","priceText"],[3,"close","type","showIcon"]],template:function(pt,Lt){1&pt&&(v.j41(0,"lv-lib-popover",0),v.bIt("close",function(){return Lt.closeDialog()}),v.j41(1,"lv-lib-popover-header")(2,"h2"),v.EFF(3),v.nI1(4,"translate"),v.k0s()(),v.j41(5,"lv-lib-popover-body"),v.nVh(6,at,2,4,"div",1),v.nVh(7,Ve,3,3,"div",2),v.j41(8,"form",3),v.bIt("ngSubmit",function(){return Lt.onContinue()}),v.j41(9,"div",4),v.nrm(10,"p",5),v.nI1(11,"translate"),v.j41(12,"lv-social-login-button-wrapper",6),v.bIt("isProcessing",function(At){return Lt.isLoadingRegister.set(At)})("loginResponse",function(At){return Lt.onSocialLoginResponse(At)}),v.k0s(),v.nrm(13,"lv-social-login-button-wrapper",7)(14,"lv-lib-divider",8),v.j41(15,"mat-form-field",9)(16,"mat-label"),v.EFF(17),v.nI1(18,"translate"),v.k0s(),v.j41(19,"input",10),v.bIt("input",function(At){return Lt.userEmail.set((At.target.value||"").trim())}),v.k0s()()(),v.j41(20,"div",11)(21,"lv-lib-button",12)(22,"div",13),v.nVh(23,Le,1,2,"mat-spinner",14)(24,He,3,3,"span"),v.k0s()()()()()()),2&pt&&(v.Y8G("size","sm"),v.R7$(3),v.JRh(v.bMT(4,17,"registration.login-registration")),v.R7$(3),v.vxM(Lt.data&&Lt.data.memberShipPlan?6:-1),v.R7$(),v.vxM(Lt.showAlert()?7:-1),v.R7$(3),v.Y8G("innerHTML",v.bMT(11,19,"registration.sub-headline"),v.npT),v.R7$(2),v.Y8G("loginProvider",Lt.SocialLoginProvider.Google),v.R7$(),v.Y8G("loginProvider",Lt.SocialLoginProvider.Discord),v.R7$(),v.Y8G("dividerText","OR")("vertical",!1)("color","subtle"),v.R7$(),v.Y8G("hideRequiredMarker",!0),v.R7$(2),v.JRh(v.bMT(18,21,"registration.email")),v.R7$(2),v.Y8G("value",Lt.userEmail()),v.R7$(2),v.Y8G("rounded",!0)("isfullWidth",!1)("disabled",!Lt.continueEnabled()),v.R7$(2),v.vxM(Lt.isLoadingRegister()?23:24))},dependencies:[C.r3,C.DI,C.ej,Te,C.he,Be.YN,Be.qT,Be.cb,Be.cV,we.rl,X.fg,Be.X1,we.nJ,C.Qp,ye.LG,Et.Q,C.Cy,W.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
169--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
169--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.dialog-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}.action-buttons[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-l);width:var(--lv-sizing-pct-100)}.action-buttons__continue-button[_ngcontent-%COMP%]{height:var(--lv-sizing-3xl);text-align:center;font-size:var(--lv-font-size-400);
169font-weight:var(--lv-font-weight-medium);display:flex;align-items:center;justify-content:center}.error-message-wrapper[_ngcontent-%COMP%]{padding:0;margin-bottom:var(--lv-spacing-m)}.alert-center-text[_ngcontent-%COMP%]{align-content:center}.membership-price-plan-wrapper[_ngcontent-%COMP%]{margin-bottom:var(--lv-spacing-m)}']})}}return Ae})()},516(vt,Y,i){i.d(Y,{E0:()=>y,Gj:()=>k,kS:()=>C});var h=i(4589),b=i(5802);const c=h.J1`
170    mutation socialLoginNonce($provider: SocialLoginProvider!) {
171  socialLoginNonce(provider: $provider) {
172    nonce
173  }
174}
175    `;let C=(()=>{class w extends h.sM{constructor(D){super(D),this.document=c}static{this.\u0275fac=function(m){return new(m||w)(b.KVO(h.Ic))}}static{this.\u0275prov=b.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const T=h.J1`
176    mutation loginWithSocialToken($provider: SocialLoginProvider!, $id_token: String!, $access_token: String) {
177  loginWithSocialToken(
178    id_token: $id_token
179    provider: $provider
180    access_token: $access_token
181  ) {
182    authToken {
183      access_token
184      sanctum_token
185    }
186    is_new
187    status
188  }
189}
190    `;let y=(()=>{class w extends h.sM{constructor(D){super(D),this.document=T}static{this.\u0275fac=function(m){return new(m||w)(b.KVO(h.Ic))}}static{this.\u0275prov=b.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})();const O=h.J1`
191    query authOptionsByEmail($email: String!) {
192  authOptionsByEmail(email: $email) {
193    isEmailTaken
194    passwordAvailable
195  }
196}
197    `;let k=(()=>{class w extends h.XK{constructor(D){super(D),this.document=O}static{this.\u0275fac=function(m){return new(m||w)(b.KVO(h.Ic))}}static{this.\u0275prov=b.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}}return w})()},9451(vt,Y,i){i.d(Y,{Q:()=>le});var h=i(4523),b=i(5802),c=i(4843),C=i(2806),T=i(7673),y=i(516),O=i(5342),k=i(6661),w=i(5125),v=i(7366),D=i(9437),m=i(6354),u=i(5558),W=i(6637),z=i(5984),se=i(6994),G=i(8018);let le=(()=>{class _{constructor(){this.socialLoginNonceGQL=(0,b.WQX)(y.kS),this.loginWithTokenGQL=(0,b.WQX)(y.E0),this.oauthService=(0,b.WQX)(w.TC),this.authService=(0,b.WQX)(v.u),this.location=(0,b.WQX)(z.aZ),this.dialogService=(0,b.WQX)(se.n),this.translateService=(0,b.WQX)(G.c$),this.redirectKeyDiscord="discord-redirect"}handleSocialLoginGoogle(q){return this.loginWithTokenGQL.mutate({variables:{id_token:q,provider:O._v.Google}}).pipe((0,m.T)(Te=>{const Be=Te.data?.loginWithSocialToken?.authToken?.access_token,we=Te.data?.loginWithSocialToken?.authToken?.sanctum_token??"",X=Te.data?.loginWithSocialToken?.is_new,ye=Te.data?.loginWithSocialToken?.status;return Be?(this.authService.login(Be,we),{success:!0,newUser:X??!1}):{success:!1,message:this.getErrorMessage(ye??"")}}),(0,D.W)(()=>(0,T.of)({success:!1,message:this.translateService.instant("errors.general")})))}handleSocialLoginDiscord(){this.oauthService.configure(this.getDiscordAuthCodeFlowConfig()),(0,C.H)(this.oauthService.tryLoginCodeFlow({disableNonceCheck:!0})).pipe((0,u.n)(()=>this.loginWithTokenGQL.mutate({variables:{id_token:this.oauthService.getIdToken(),access_token:this.oauthService.getAccessToken(),provider:O._v.Discord}}))).subscribe({next:q=>{const Te=q.data?.loginWithSocialToken?.authToken?.access_token,Be=q.data?.loginWithSocialToken?.authToken?.sanctum_token??"",we=q.data?.loginWithSocialToken?.status,X=q.data?.loginWithSocialToken?.is_new,ye=this.getRedirectLocation();if(Te)return this.authService.login(Te,Be),W.N.openDiscordRedirectPage(ye),void(X&&this.dialogService.openChangeUsernameDialog());const Q=this.getErrorMessage(we??"");W.N.openDiscordRedirectPage(ye),this.dialogService.openSocialLoginDialog({data:{errorMessage:Q}})},error:()=>{W.N.navigateToHomePage(),this.dialogService.openSocialLoginDialog({data:{errorMessage:this.translateService.instant("errors.general")}})}})}getNonce(q){var Te=this;return(0,h.A)(function*(){try{return(yield(0,c._)(Te.socialLoginNonceGQL.mutate({variables:{provider:q}}))).data?.socialLoginNonce.nonce??null}catch(Be){return console.error(Be),null}})()}getDiscordAuthCodeFlowConfig(){return{issuer:"https://discord.com",loginUrl:"https://discord.com/oauth2/authorize",tokenEndpoint:"https://discord.com/api/oauth2/token",redirectUri:k.c.socialRedirectURI,clientId:k.c.discordClientId,responseType:"code",scope:"openid identify email",oidc:!0,requestAccessToken:!0,strictDiscoveryDocumentValidation:!1,skipIssuerCheck:!1,showDebugInformation:!k.c.production}}saveRedirectLocation(){localStorage.setItem(this.redirectKeyDiscord,this.location.path())}getRedirectLocation(){return localStorage.getItem(this.redirectKeyDiscord)??"/"}getErrorMessage(q){return this.translateService.instant("EMAIL_TAKEN"===q?"errors.email-taken":"INVALID_
197NONCE"===q?"errors.invalid-nonce":"errors.invalid-token")}static{this.\u0275fac=function(Te){return new(Te||_)}}static{this.\u0275prov=b.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},6967(vt,Y,i){i.d(Y,{o:()=>Ct});var h=i(5802),b=i(2271),c=i(3794),C=i(5949);function T(Ze){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ht){return typeof Ht}:function(Ht){return Ht&&"function"==typeof Symbol&&Ht.constructor===Symbol&&Ht!==Symbol.prototype?"symbol":typeof Ht})(Ze)}var we,y="dahlia",k="https://js.stripe.com",w="".concat(k,"/").concat(y,"/stripe.js"),v=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,D=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,m="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",u=function(Ht){return v.test(Ht)||D.test(Ht)},z=function(Ht){var I=Ht&&!Ht.advancedFraudSignals?"?advancedFraudSignals=false":"",mt=document.createElement("script");mt.src="".concat(w).concat(I);var Ue=document.head||document.body;if(!Ue)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return Ue.appendChild(mt),mt},G=null,le=null,_=null,X=!1,ye=function(){return we||(we=(Ht=null,null!==G?G:(G=new Promise(function(I,mt){if(typeof window>"u"||typeof document>"u")I(null);else if(window.Stripe&&Ht&&console.warn(m),window.Stripe)I(window.Stripe);else try{var Ue=function(){for(var Ht=document.querySelectorAll('script[src^="'.concat(k,'"]')),I=0;I<Ht.length;I++){var mt=Ht[I];if(u(mt.src))return mt}return null}();if(Ue&&Ht)console.warn(m);else if(Ue){if(Ue&&null!==_&&null!==le){var ue;Ue.removeEventListener("load",_),Ue.removeEventListener("error",le),null===(ue=Ue.parentNode)||void 0===ue||ue.removeChild(Ue),Ue=z(Ht)}}else Ue=z(Ht);_=function(Ht,I){return function(){window.Stripe?Ht(window.Stripe):I(new Error("Stripe.js not available"))}}(I,mt),le=function(Ht){return function(I){Ht(new Error("Failed to load Stripe.js",{cause:I}))}}(mt),Ue.addEventListener("load",_),Ue.addEventListener("error",le)}catch(ft){return void mt(ft)}})).catch(function(I){return G=null,Promise.reject(I)})).catch(function(Ht){return we=null,Promise.reject(Ht)}));var Ht};Promise.resolve().then(function(){return ye()}).catch(function(Ze){X||console.warn(Ze)});var ae=i(9030),H=i(983),_e=i(1807),We=i(8810),ht=i(1985),Vt=i(2806),an=i(5964),Et=i(6354),Gt=i(786),at=i(5558),Ve=i(9437),Le=i(980),He=i(6697),Ne=i(8141),Ae=i(6661),qe=i(2740);let tt=(()=>{class Ze{static shouldEnableRedirectMode(){return/iPad|iPhone|iPod/.test(navigator.userAgent)}constructor(){this.chargebeeSubDomain=Ae.c.chargebeeSubDomain,this.cbInstance=globalThis.Chargebee.init({site:this.chargebeeSubDomain,enableRedirectMode:Ze.shouldEnableRedirectMode()})}static{this.\u0275fac=function(mt){return new(mt||Ze)}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})();var pt=i(9213),Lt=i(9183),ot=i(8018),At=i(4446),M=i(5547);function gt(Ze,Ht){if(1&Ze){const I=M.RV6();M.j41(0,"lv-lib-popover-body")(1,"div",1)(2,"div",2)(3,"mat-icon",3),M.EFF(4,"check_circle"),M.k0s()(),M.j41(5,"h2",4),M.EFF(6),M.nI1(7,"translate"),M.k0s(),M.nrm(8,"div",5),M.nI1(9,"translate"),M.k0s()(),M.j41(10,"lv-lib-popover-footer",6)(11,"lv-lib-button",7),M.bIt("click",function(){h.eBV(I);const Ue=M.XpG();return h.Njj(Ue.close())}),M.EFF(12),M.nI1(13,"translate"),M.k0s()()}2&Ze&&(M.R7$(6),M.JRh(M.bMT(7,6,"chargebee.status-modal.active.title")),M.R7$(2),M.Y8G("innerHTML",M.bMT(9,8,"chargebee.status-modal.active.description"),M.npT),M.R7$(2),M.Y8G("alignment","center"),M.R7$(),M.Y8G("rounded",!0)("size","fit-content"),M.R7$(),M.JRh(M.bMT(13,10,"chargebee.status-modal.active.button-text")))}function pe(Ze,Ht){if(1&Ze){const I=M.RV6();M.j41(0,"lv-lib-popover-body")(1,"div",1)(2,"div",2)(3,"mat-icon",8),M.EFF(4,"pause_circle"),M.k0s()(),M.j41(5,"h2",4),M.EFF(6),M.nI1(7,"translate"),M.k0s(),M.nrm(8,"div",5),M.nI1(9,"translate"),M.k0s()(),M.j41(10,"lv-lib-popover-footer",6)(11,"lv-lib-button",9),M.bIt("click",function(){h.eBV(I);const Ue=M.XpG();return h.Njj(Ue.manageSubscription())}),M.EFF(12),M.nI1(13,"translate"),M.k0s()()}if(2&Ze){const I=M.XpG();
197M.R7$(6),M.JRh(M.bMT(7,7,"chargebee.status-modal.dunning.title")),M.R7$(2),M.Y8G("innerHTML",M.bMT(9,9,"chargebee.status-modal.dunning.description"),M.npT),M.R7$(2),M.Y8G("alignment","center"),M.R7$(),M.Y8G("rounded",!0)("size","fit-content")("disabled",I.isSubmitting()),M.R7$(),M.JRh(M.bMT(13,11,"chargebee.status-modal.dunning.button-text"))}}function lt(Ze,Ht){if(1&Ze){const I=M.RV6();M.j41(0,"lv-lib-popover-body")(1,"div",1)(2,"div",2),M.nrm(3,"img",10),M.k0s(),M.j41(4,"h2",4),M.EFF(5),M.nI1(6,"translate"),M.k0s(),M.nrm(7,"div",5),M.nI1(8,"translate"),M.k0s()(),M.j41(9,"lv-lib-popover-footer",6)(10,"lv-lib-button",9),M.bIt("click",function(){h.eBV(I);const Ue=M.XpG(2);return h.Njj(Ue.updatePaymentMethod())}),M.EFF(11),M.nI1(12,"translate"),M.k0s()()}if(2&Ze){const I=M.XpG(2);M.R7$(5),M.JRh(M.bMT(6,7,"chargebee.status-modal.trial_auth_failed.title")),M.R7$(2),M.Y8G("innerHTML",M.bMT(8,9,"chargebee.status-modal.trial_auth_failed.description"),M.npT),M.R7$(2),M.Y8G("alignment","center"),M.R7$(),M.Y8G("rounded",!0)("size","fit-content")("disabled",I.isSubmitting()),M.R7$(),M.JRh(M.bMT(12,11,"chargebee.status-modal.trial_auth_failed.button-text"))}}function Rt(Ze,Ht){1&Ze&&(M.j41(0,"lv-lib-popover-body")(1,"div",1)(2,"div",2),M.nrm(3,"mat-spinner"),M.k0s(),M.j41(4,"h2",4),M.EFF(5),M.nI1(6,"translate"),M.k0s(),M.nrm(7,"div",5),M.nI1(8,"translate"),M.k0s()(),M.j41(9,"lv-lib-popover-footer",6)(10,"lv-lib-button",11),M.EFF(11),M.nI1(12,"translate"),M.k0s()()),2&Ze&&(M.R7$(5),M.JRh(M.bMT(6,7,"chargebee.status-modal.default.title")),M.R7$(2),M.Y8G("innerHTML",M.bMT(8,9,"chargebee.status-modal.default.description"),M.npT),M.R7$(2),M.Y8G("alignment","center"),M.R7$(),M.Y8G("rounded",!0)("size","fit-content")("disabled",!0),M.R7$(),M.JRh(M.bMT(12,11,"chargebee.status-modal.default.button-text")))}function Yt(Ze,Ht){if(1&Ze&&M.nVh(0,lt,13,13)(1,Rt,13,13),2&Ze){let I;const mt=M.XpG();M.vxM("CheckoutNextActionChooseDifferentPaymentMethod"===(null==(I=mt.checkoutFlow.status())||null==I.next_action?null:I.next_action.__typename)?0:1)}}function Ut(Ze,Ht){if(1&Ze){const I=M.RV6();M.j41(0,"lv-lib-popover-body")(1,"div",1)(2,"div",2)(3,"mat-icon",8),M.EFF(4,"pause_circle"),M.k0s()(),M.j41(5,"h2",4),M.EFF(6),M.nI1(7,"translate"),M.k0s(),M.nrm(8,"div",5),M.nI1(9,"translate"),M.k0s()(),M.j41(10,"lv-lib-popover-footer",6)(11,"lv-lib-button",7),M.bIt("click",function(){h.eBV(I);const Ue=M.XpG();return h.Njj(Ue.close())}),M.EFF(12),M.nI1(13,"translate"),M.k0s()()}2&Ze&&(M.R7$(6),M.JRh(M.bMT(7,6,"chargebee.status-modal.pending-failed.title")),M.R7$(2),M.Y8G("innerHTML",M.bMT(9,8,"chargebee.status-modal.pending-failed.description"),M.npT),M.R7$(2),M.Y8G("alignment","center"),M.R7$(),M.Y8G("rounded",!0)("size","fit-content"),M.R7$(),M.JRh(M.bMT(13,10,"chargebee.status-modal.pending-failed.button-text")))}function jt(Ze,Ht){if(1&Ze){const I=M.RV6();M.j41(0,"lv-lib-popover-body")(1,"div",1)(2,"div",2)(3,"mat-icon",8),M.EFF(4,"pause_circle"),M.k0s()(),M.j41(5,"h2",4),M.EFF(6),M.nI1(7,"translate"),M.k0s(),M.nrm(8,"div",5),M.nI1(9,"translate"),M.k0s()(),M.j41(10,"lv-lib-popover-footer",6)(11,"lv-lib-button",7),M.bIt("click",function(){h.eBV(I);const Ue=M.XpG();return h.Njj(Ue.close())}),M.EFF(12),M.nI1(13,"translate"),M.k0s()()}2&Ze&&(M.R7$(6),M.JRh(M.bMT(7,6,"chargebee.status-modal.pending-failed.title")),M.R7$(2),M.Y8G("innerHTML",M.bMT(9,8,"chargebee.status-modal.pending-failed.description"),M.npT),M.R7$(2),M.Y8G("alignment","center"),M.R7$(),M.Y8G("rounded",!0)("size","fit-content"),M.R7$(),M.JRh(M.bMT(13,10,"chargebee.status-modal.pending-failed.button-text")))}function zt(Ze,Ht){1&Ze&&(M.j41(0,"lv-lib-popover-body")(1,"div",1)(2,"div",2),M.nrm(3,"mat-spinner"),M.k0s(),M.j41(4,"h2",4),M.EFF(5),M.nI1(6,"translate"),M.k0s(),M.nrm(7,"div",5),M.nI1(8,"translate"),M.k0s()(),M.j41(9,"lv-lib-popover-footer",6)(10,"lv-lib-button",11),M.EFF(11),M.nI1(12,"translate"),M.k0s()()),2&Ze&&(M.R7$(5),M.JRh(M.bMT(6,7,"chargebee.status-modal.default.title")),M.R7$(2),M.Y8G("innerHTML",M.bMT(8,9,"chargebee.status-modal.default.description"),M.npT),M.R7$(2),M.Y8G("alignment","center"),M.R7$(),M.Y8G("rounded",!0)("size","fit-content")("disabled",!0),M.R7$(),M.SpI(" ",M.bMT(12,11,"chargebee.status-modal.default.button-text")," "))}let Oe=(()=>{class Ze{constructor(){this.dialogRef=(0,h.WQX)(C.ce),this.checkoutFlow=(0,h.WQX)(Ct),this.meService=(0,h.WQX)(At.Q),this.isSubmitting=(0,h.vPA)(!1)}updatePaymentMethod(){this.isSubmitting()||(this.isSubmitting.set(!0),this.checkoutFlow.chooseDifferentPaymentMethod().pipe((0,Le.j)(()=>this.isSubmitting.set(!1))).subscribe({complete:()=>this.dialogRef.close()}))}manageSubscription(){this.isSubmitting()||(this.isSubmitting.set(!0),this.checkoutFlow.openChargebeePortal().pipe((0,Le.j)(()=>this.isSubmitting.set(!1))).subscribe({complete:()=>this.dialogRef.close()}))}close(){window.location.pathname.includes("/access/")&&this.meService.hasUserStatusChanged.set(!0),this.meService.refetch(),this.dialogRef.close()}static{this.\u0275fac=function(mt){return new(mt||Ze)}}static{this.\u0275cmp=M.VBU({type:Ze,selectors:[["lv-checkout-status-modal"]],decls:7,vars:3,consts:[["dusk","checkout-status-modal-popover",3,"size","showCloseIcon"],[1,"lv-center","lv-column","gap-1"],[1,"status-icon"],[1,"success"],["dusk","checkout-status-modal-title",1,"typography-heading-h2"],[1,"typography-body-b2",3,"innerHTML"],[3,"alignment"],["dusk","checkout-status-modal-action-btn",3,"click","rounded","size"],[1,"error"],["dusk","checkout-status-modal-action-btn",3,"click","rounded","size","disabled"],["src","assets/img/icons/alert.svg","width","75","height","75","alt",""],["dusk","checkout-status-modal-action-btn",3,"rounded","size","disabled"]],template:function(mt,Ue){if(1&mt&&(M.j41(0,"lv-lib-popover",0),M.nVh(1,gt,14,12)(2,pe,14,13)(3,Yt,2,1)(4,Ut,14,12)(5,jt,14,12)(6,zt,13,13),M.k0s()),2&mt){let ue;M.Y8G("size","sm")("showCloseIcon",!1),M.R7$(),M.vxM("ACTIVE"===(ue=Ue.checkoutFlow.state())?1:"DUNNING"===ue?2:"TRIAL_AUTH_FAILED"===ue?3:"SUBSCRIPTION_CREATION_FAILED"===ue?4:"EXPIRED"===ue?5:6)}},dependencies:[C.r3,C.ej,C.Nq,C.Qp,pt.An,Lt.LG,ot.h,ot.D9],styles:[".status-icon[_ngcontent-%COMP%]{align-items:center;display:flex}.success[_ngcontent-%COMP%], .error[_ngcontent-%COMP%]{font-size:var(--lv-sizing-7xl);height:var(--lv-sizing-pct-100);width:var(--lv-sizing-pct-100)}.success[_ngcontent-%COMP%]{color:var(--lv-green)}.error[_ngcontent-%COMP%]{color:var(--lv-orange)}"]})}}return Ze})();var Mt=i(9769),o=i(9575);const it=Ze=>({price:Ze});let nn=(()=>{class Ze{constructor(){this.data=(0,h.WQX)(C.Qs),this.dialogRef=(0,h.WQX)(C.ce)}static{this.\u0275fac=function(mt){return new(mt||Ze)}}static{this.\u0275cmp=M.VBU({type:Ze,selectors:[["lv-checkout-exit-confirmation-modal"]],decls:20,vars:27,consts:[[3,"close","size"],[3,"alignment"],[3,"click","type","size"],[3,"click","rounded","size"]],template:function(mt,Ue){1&mt&&(M.j41(0,"lv-lib-popover",0),M.bIt("close",function(){return Ue.dialogRef.close(!1)}),M.j41(1,"lv-lib-popover-header")(2,"h2"),M.EFF(3),M.nI1(4,"translate"),M.k0s()(),M.j41(5,"lv-lib-popover-body")(6,"p"),M.EFF(7),M.nI1(8,"translate"),M.k0s(),M.j41(9,"p"),M.EFF(10),M.nI1(11,"translate"),M.k0s()(),M.j41(12,"lv-lib-popover-footer",1)(13,"lv-lib-button",2),M.bIt("click",function(){return Ue.dialogRef.close(!1)}),M.EFF(14),M.nI1(15,"translate"),M.k0s(),M.j41(16,"lv-lib-button",3),M.bIt("click",function(){return Ue.dialogRef.close(!0)}),M.EFF(17),M.nI1(18,"currency"),M.nI1(19,"translate"),M.k0s()()()),2&mt&&(M.Y8G("size","md"),M.R7$(3),M.JRh(M.bMT(4,11,"checkout.exit-offer.heading")),M.R7$(4),M.JRh(M.bMT(8,13,"checkout.exit-offer.description")),M.R7$(3),M.JRh(M.bMT(11,15,"checkout.exit-offer.question")),M.R7$(2),M.Y8G("alignment","right"),M.R7$(),M.Y8G("type","text")("size","lg"),M.R7$(),M.SpI(" ",M.bMT(15,17,"exit-intent.exit")," "),M.R7$(2),M.Y8G("rounded",!0)("size","lg"),M.R7$(),M.SpI(" ",M.i5U(19,22,"exit-intent.try-for",M.eq3(25,it,M.i5U(18,19,Ue.data.price,Ue.data.currency)))," "))},dependencies:[C.Qp,C.ej,C.r3,C.Nq,C.DI,ot.h,Mt.oe,ot.D9],encapsulation:2})}}return Ze})();
197function tn(Ze,Ht){1&Ze&&M.nrm(0,"img",3)}function xn(Ze,Ht){1&Ze&&M.nrm(0,"img",4)}function bn(Ze,Ht){1&Ze&&(M.EFF(0),M.nI1(1,"translate")),2&Ze&&M.SpI(" ",M.bMT(1,1,"checkout.recovery-offer.monthly-heading")," ")}function pr(Ze,Ht){1&Ze&&(M.EFF(0),M.nI1(1,"translate")),2&Ze&&M.SpI(" ",M.bMT(1,1,"checkout.recovery-offer.special-heading")," ")}function Tr(Ze,Ht){1&Ze&&(M.EFF(0),M.nI1(1,"translate")),2&Ze&&M.SpI(" ",M.bMT(1,1,"checkout.recovery-offer.update-payment-method")," ")}function ir(Ze,Ht){1&Ze&&(M.EFF(0),M.nI1(1,"translate")),2&Ze&&M.SpI(" ",M.bMT(1,1,"checkout.recovery-offer.retry-trial-plan")," ")}function Kr(Ze,Ht){1&Ze&&(M.EFF(0),M.nI1(1,"translate")),2&Ze&&M.SpI(" ",M.bMT(1,1,"checkout.recovery-offer.try-for-free")," ")}function _r(Ze,Ht){1&Ze&&(M.EFF(0),M.nI1(1,"translate")),2&Ze&&M.SpI(" ",M.bMT(1,1,"checkout.recovery-offer.continue")," ")}function en(Ze,Ht){if(1&Ze){const I=M.RV6();M.j41(0,"lv-lib-popover",1),M.bIt("close",function(){h.eBV(I);const Ue=M.XpG();return h.Njj(Ue.confirmExit())}),M.j41(1,"lv-lib-popover-body")(2,"div",2),M.nVh(3,tn,1,0,"img",3)(4,xn,1,0,"img",4),M.j41(5,"h2",5),M.nVh(6,bn,2,3)(7,pr,2,3),M.k0s(),M.nrm(8,"p",6),M.nI1(9,"translate"),M.nrm(10,"lv-membership-plan-option",7),M.nI1(11,"translate"),M.nI1(12,"currency"),M.nI1(13,"currency"),M.nI1(14,"translate"),M.nI1(15,"translate"),M.k0s()(),M.j41(16,"lv-lib-popover-footer",8)(17,"lv-lib-button",9),M.bIt("click",function(){h.eBV(I);const Ue=M.XpG();return h.Njj(Ue.declineOffer())}),M.nVh(18,Tr,2,3)(19,ir,2,3),M.k0s(),M.j41(20,"lv-lib-button",10),M.bIt("click",function(){h.eBV(I);const Ue=M.XpG();return h.Njj(Ue.acceptOffer())}),M.nVh(21,Kr,2,3)(22,_r,2,3),M.k0s()()()}if(2&Ze){const I=M.XpG(),mt=M.r8f(0);M.Y8G("size","md"),M.R7$(3),M.vxM("STANDARD_TRIAL"===mt.offerType?3:4),M.R7$(3),M.vxM("STANDARD_TRIAL"===mt.offerType?6:7),M.R7$(2),M.Y8G("innerHTML",M.bMT(9,20,"checkout.recovery-offer.description"),M.npT),M.R7$(2),M.Y8G("periodText","1 "+M.bMT(11,22,"premium-popup."+mt.name.toLowerCase()))("priceText",M.i5U(12,24,mt.checkout_price,mt.currency))("originalPriceText",mt.checkout_price<mt.price?M.i5U(13,27,mt.price,mt.currency):"")("priceSuffix","/"+M.bMT(14,30,"premium-popup.month"))("discountText","STANDARD_TRIAL"===mt.offerType?M.bMT(15,32,"membership-price-plan.trial-badge"):"")("isSelected",!0),M.R7$(6),M.Y8G("alignment","right"),M.R7$(),M.Y8G("rounded",!0)("type","text")("size","lg")("disabled",I.isSubmitting()),M.R7$(),M.vxM("STANDARD_TRIAL"===mt.offerType?18:19),M.R7$(2),M.Y8G("rounded",!0)("size","lg")("disabled",I.isSubmitting()),M.R7$(),M.vxM("STANDARD_TRIAL"===mt.offerType?21:22)}}let Bn=(()=>{class Ze{constructor(){this.dialogRef=(0,h.WQX)(C.ce),this.checkoutFlow=(0,h.WQX)(Ct),this.dialog=(0,h.WQX)(C.o3),this.isSubmitting=(0,h.vPA)(!1)}declineOffer(){!this.checkoutFlow.recoveryOffer()||this.isSubmitting()||(this.isSubmitting.set(!0),this.checkoutFlow.declineFunnelOffer().pipe((0,Le.j)(()=>this.isSubmitting.set(!1))).subscribe({complete:()=>this.dialogRef.close()}))}confirmExit(){const I=this.checkoutFlow.recoveryOffer();I&&this.dialog.open(nn,{data:{price:I.checkout_price,currency:I.currency},backdropClickClose:!1,panelClass:"full-width-dialog"}).afterClosed().subscribe(mt=>{mt||this.checkoutFlow.cancelCheckout()})}acceptOffer(){!this.checkoutFlow.recoveryOffer()||this.isSubmitting()||(this.isSubmitting.set(!0),this.checkoutFlow.acceptFunnelOffer().pipe((0,Le.j)(()=>this.isSubmitting.set(!1))).subscribe({complete:()=>this.dialogRef.close()}))}static{this.\u0275fac=function(mt){return new(mt||Ze)}}static{this.\u0275cmp=M.VBU({type:Ze,selectors:[["lv-recovery-offer-modal"]],decls:2,vars:2,consts:[[3,"size"],[3,"close","size"],[1,"recovery-offer"],["src","assets/img/icons/compare-arrows.svg","alt","",1,"recovery-offer__icon"],["src","assets/img/icons/discount.svg","alt","",1,"recovery-offer__icon"],["dusk","checkout-recovery-offer-title",1,"typography-display-d2"],[1,"typography-body-b2",3,"innerHTML"],[3,"periodText","priceText","originalPriceText","priceSuffix","discountText","isSelected"],[3,"alignment"],["dusk","checkout-recovery-offer-decline-btn",3,"click","rounded","type","size","disabled"],["dusk","checkout-recovery-offer-accept-btn",3,"click","rounded","size","disabled"]],template:function(mt,Ue){if(1&mt&&(M.SS7(0),M.nVh(1,en,23,34,"lv-lib-popover",0)),2&mt){const ue=M.bH3(Ue.checkoutFlow.recoveryOffer());M.R7$(),M.vxM(ue?1:-1)}},dependencies:[C.r3,C.ej,C.Nq,C.Qp,ot.h,o.Q,Mt.oe,ot.D9],styles:[".recovery-offer[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-l);padding-top:var(--lv-spacing-l);color:var(--lv-color-text-primary)}.recovery-offer[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0;text-align:center}.recovery-offer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.recovery-offer__icon[_ngcontent-%COMP%]{width:72px;height:72px;align-self:center}"]})}}return Ze})();var Xe=i(4095),$=i(4589);const F=$.J1`
198    fragment CheckoutStatusFields on CheckoutStatus {
199  is_checkout_done
200  state
201  reason
202  next_action {
203    __typename
204    type
205    ... on CheckoutNextActionOpenHostedPage {
206      hosted_page {
207        id
208        url
209        expires_at
210      }
211    }
212    ... on CheckoutNextActionChooseDifferentPaymentMethod {
213      hosted_page {
214        id
215        url
216        expires_at
217      }
218    }
219    ... on CheckoutNextActionHandleFunnelOffer {
220      payment_id
221      decline_code
222      offer_type
223      membership_plan {
224        id
225        name
226        price
227        checkout_price
228        currency
229        length
230      }
231    }
232    ... on CheckoutNextActionPoll {
233      wait_seconds
234    }
235    ... on CheckoutNextActionStripe3dsChallenge {
236      payment_id
237      client_secret
238      payment_intent_id
239    }
240  }
241}
242    `,K=$.J1`
243    mutation startCheckout($requestId: String!, $membership_plan_id: ID!) {
244  startCheckout: checkout(
245    requestId: $requestId
246    membership_plan_id: $membership_plan_id
247  ) {
248    checkout_status {
249      ...CheckoutStatusFields
250    }
251  }
252}
253    ${F}`;let Z=(()=>{class Ze extends $.sM{constructor(I){super(I),this.document=K}static{this.\u0275fac=function(mt){return new(mt||Ze)(h.KVO($.Ic))}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})();const Re=$.J1`
254    mutation renewCheckout($requestId: String!, $membership_plan_id: ID!) {
255  renewCheckout(requestId: $requestId, membership_plan_id: $membership_plan_id) {
256    checkout_status {
257      ...CheckoutStatusFields
258    }
259  }
260}
261    ${F}`;let ct=(()=>{class Ze extends $.sM{constructor(I){super(I),this.document=Re}static{this.\u0275fac=function(mt){return new(mt||Ze)(h.KVO($.Ic))}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})();const _t=$.J1`
262    query currentCheckoutSession {
263  currentCheckoutSession: checkoutStatus {
264    ...CheckoutStatusFields
265  }
266}
267    ${F}`;let wt=(()=>{class Ze extends $.XK{constructor(I){super(I),this.document=_t}static{this.\u0275fac=function(mt){return new(mt||Ze)(h.KVO($.Ic))}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})();const ee=$.J1`
268    mutation doCheckoutAction($payment_id: ID!) {
269  doCheckoutAction(input: {sync_payment_authorization: {payment_id: $payment_id}}) {
270    ...CheckoutStatusFields
271  }
272}
273    ${F}`;let Se=(()=>{class Ze extends $.sM{constructor(I){super(I),this.document=ee}static{this.\u0275fac=function(mt){return new(mt||Ze)(h.KVO($.Ic))}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})();const Pt=$.J1`
274    mutation AcceptFunnelOffer($paymentId: ID!) {
275  doCheckoutAction(input: {accept_funnel_offer: {payment_id: $paymentId}}) {
276    ...CheckoutStatusFields
277  }
278}
279    ${F}`;let St=(()=>{class Ze extends $.sM{constructor(I){super(I),this.document=Pt}static{this.\u0275fac=function(mt){return new(mt||Ze)(h.KVO($.Ic))}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})();const Xt=$.J1`
280    mutation DeclineFunnelOffer($paymentId: ID!) {
281  doCheckoutAction(input: {decline_funnel_offer: {payment_id: $paymentId}}) {
282    ...CheckoutStatusFields
283  }
284}
285    ${F}`;let Jt=(()=>{class Ze extends $.sM{constructor(I){super(I),this.document=Xt}static{this.\u0275fac=function(mt){return new(mt||Ze)(h.KVO($.Ic))}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})();const vn=$.J1`
286    mutation chooseDifferentPaymentMethod {
287  chooseDifferentPaymentMethod: doCheckoutAction(
288    input: {choose_different_payment_method: {}}
289  ) {
290    ...CheckoutStatusFields
291  }
292}
293    ${F}`;let jn=(()=>{class Ze extends $.sM{constructor(I){super(I),this.document=vn}static{this.\u0275fac=function(mt){return new(mt||Ze)(h.KVO($.Ic))}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})();var Zn=i(9079),Tn=i(4768),Yn=i(9882);let $e=(()=>{class Ze{constructor(){this.router=(0,h.WQX)(Yn.Ix),this._currentLink=(0,h.vPA)(null),this.currentLink=this._currentLink.asReadonly(),this.router.events.pipe((0,an.p)(I=>I instanceof Yn.wF)).subscribe(()=>this.syncFromRoute()),this.syncFromRoute()}syncFromRoute(){let I=this.router.routerState.snapshot.root;for(;I.firstChild;)I=I.firstChild;const mt=I.data?.contentLink?.link?.[0]??null;"PublicLink"===mt?.__typename&&this._currentLink.set(mt)}static{this.\u0275fac=function(mt){return new(mt||Ze)}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})(),Ct=(()=>{class Ze{constructor(){this.DEFAULT_POLL_DELAY_SECONDS=2,this.startCheckoutGQL=(0,h.WQX)(Z),this.renewCheckoutGQL=(0,h.WQX)(ct),this.checkoutStatusGQL=(0,h.WQX)(wt),this.doCheckoutActionGQL=(0,h.WQX)(Se),this.acceptFunnelOfferGQL=(0,h.WQX)(St),this.declineFunnelOfferGQL=(0,h.WQX)(Jt),this.chooseDifferentPaymentMethodGQL=(0,h.WQX)(jn),this.validationService=(0,h.WQX)(qe.B),this.chargebeeService=(0,h.WQX)(tt),this.dialog=(0,h.WQX)(C.o3),this.chargebeePortalGQL=(0,h.WQX)(Xe.Iz),this.locationContext=(0,h.WQX)($e),this.membershipplanService=(0,h.WQX)(Tn.o),this.meService=(0,h.WQX)(At.Q),this.checkoutStarted=(0,h.vPA)(!1),this.startCheckoutPending=(0,h.vPA)(!1),this.checkoutStatus=(0,h.vPA)(void 0),this.status=(0,b.EW)(()=>this.checkoutStatus()??null),this.state=(0,b.EW)(()=>this.status()?.state??null),this.isDone=(0,b.EW)(()=>this.status()?.is_checkout_done??!1),this.isRunning=(0,b.EW)(()=>
293this.checkoutStarted()&&!this.isDone()),this.isStartingCheckout=this.startCheckoutPending.asReadonly(),this.recoveryOffer=(0,b.EW)(()=>{const I=this.status()?.next_action;return"CheckoutNextActionHandleFunnelOffer"!==I?.__typename?null:{...I.membership_plan,paymentId:I.payment_id,declineCode:I.decline_code,offerType:I.offer_type}}),(0,h.QZP)(()=>{const I=this.state();this.recoveryOffer()?this.openCheckoutStatusDialog("recovery-offer"):!I||"AWAITING_HOSTED_PAGE"===I||this.openCheckoutStatusDialog("status")}),(0,Zn.br)(this.checkoutStatus).pipe((0,an.p)(()=>this.checkoutStarted()),(0,Et.T)(I=>I?.next_action),(0,an.p)(I=>!!I),(0,Gt.p)(I=>(0,ae.v)(()=>{switch(I.__typename){case"CheckoutNextActionOpenHostedPage":return this.openHostedPage(I).pipe((0,at.n)(mt=>mt?this.fetchStatus():(this.cancelCheckout(),H.w)));case"CheckoutNextActionPoll":return(0,_e.O)(1e3*(I.wait_seconds??this.DEFAULT_POLL_DELAY_SECONDS)).pipe((0,at.n)(()=>this.fetchStatus()));case"CheckoutNextActionStripe3dsChallenge":return this.confirmStripe3ds(I.client_secret).pipe((0,at.n)(()=>this.syncPaymentAuthorization(I.payment_id)));default:return H.w}}).pipe((0,Ve.W)(mt=>(this.cancelCheckout(),console.error(mt),H.w))))).subscribe()}startCheckout(I){return this.checkoutStarted.set(!0),this.startCheckoutPending.set(!0),this.checkoutStatus.set(void 0),this.openCheckoutStatusDialog("status"),this.startCheckoutGQL.mutate({variables:{requestId:this.validationService.cheqRequestId(),membership_plan_id:I},context:{headers:this.checkoutHeaders()}}).pipe(this.storeCheckoutStatusOrThrow(mt=>mt.data?.startCheckout.checkout_status,"Checkout did not return a status"),this.clearCheckoutOnError(),(0,Le.j)(()=>this.startCheckoutPending.set(!1)))}renewCheckout(I){return this.checkoutStarted.set(!0),this.openCheckoutStatusDialog("status"),this.renewCheckoutGQL.mutate({variables:{requestId:this.validationService.cheqRequestId(),membership_plan_id:I},context:{headers:this.checkoutHeaders()}}).pipe(this.storeCheckoutStatusOrThrow(mt=>mt.data?.renewCheckout.checkout_status,"Checkout renewal did not return a status"),this.clearCheckoutOnError())}resumeCheckout(){return this.checkoutStarted.set(!0),this.openCheckoutStatusDialog("status"),this.fetchStatus().pipe(this.clearCheckoutOnError())}chooseDifferentPaymentMethod(){return this.chooseDifferentPaymentMethodGQL.mutate({context:{headers:this.checkoutHeaders()}}).pipe(this.storeCheckoutStatusOrThrow(I=>I.data?.chooseDifferentPaymentMethod,"Choose different payment method returned no status"),(0,Ve.W)(()=>this.refetchStatusAfterModalClose()))}openHostedPage(I){const mt=I.hosted_page;return mt?.url?new ht.c(Ue=>{const ue=mt.url;if(!ue)return void Ue.error(new Error("no hostedPage url given"));const ft=()=>this.chargebeeService.cbInstance.openCheckout({hostedPage:()=>Promise.resolve({url:ue}),success:()=>{this.acceptedFunnelOffer=void 0,Ue.next(!0),Ue.complete()},close:()=>{const Kt=this.acceptedFunnelOffer;if(!Kt)return Ue.next(!1),void Ue.complete();this.dialog.open(nn,{data:{price:Kt.checkout_price,currency:Kt.currency},backdropClickClose:!1,panelClass:"full-width-dialog"}).afterClosed().pipe((0,He.s)(1)).subscribe(cn=>{cn?ft():(Ue.next(!1),Ue.complete())})},error:()=>{Ue.error(new Error("Chargebee checkout failed"))}});ft()}):(0,We.$)(()=>new Error("Checkout hosted page url is missing"))}confirmStripe3ds(I){return(0,Vt.H)(function(){for(var Ht=arguments.length,I=new Array(Ht),mt=0;mt<Ht;mt++)I[mt]=arguments[mt];X=!0;var Ue=Date.now();return ye().then(function(ue){return function(Ht,I,mt){if(null===Ht)return null;var Ue=I[0];if("string"!=typeof Ue)throw new Error("Expected publishable key to be of type string, got type ".concat(T(Ue)," instead."));var ue=Ue.match(/^pk_test/),ft=function(Ht){return 3===Ht?"v3":Ht}(Ht.version),Kt=y;ue&&ft!==Kt&&console.warn("Stripe.js@".concat(ft," was loaded on the page, but @stripe/stripe-js@").concat("9.14.0"," expected Stripe.js@").concat(Kt,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var cn=Ht.apply(void 0,I);return function(Ht,I){!Ht||!Ht._registerWrapper||Ht._registerWrapper({name:"stripe-js",version:"9.14.0",startTime:I})}(cn,mt),cn}(ue,I,Ue)})}(Ae.c.stripePublishableKey)).pipe((0,at.n)(mt=>mt?(0,Vt.H)(mt.confirmCardPayment(I)):(0,We.$)(()=>new Error("Stripe could not be initialized"))),(0,Et.T)(mt=>{mt.error&&console.error(mt.error)}))}syncPaymentAuthorization(I){return this.doCheckoutActionGQL.mutate({variables:{payment_id:I},context:{headers:this.checkoutHeaders()}}).pipe(this.storeCheckoutStatusOrThrow(mt=>mt.data?.doCheckoutAction,"Sync payment authorization returned no status"),(0,Ve.W)(()=>this.refetchStatusAfterModalClose()))}fetchStatus(){return this.checkoutStarted()?this.checkoutStatusGQL.fetch({fetchPolicy:"network-only",context:{headers:this.checkoutHeaders()}}).pipe(this.storeCheckoutStatusOrThrow(I=>I.data?.currentCheckoutSession,"Current checkout session returned no status"),this.clearCheckoutOnError()):(0,We.$)(()=>new Error("Cannot read checkout status without an open checkout"))}storeCheckoutStatusOrThrow(I,mt){return Ue=>Ue.pipe((0,Et.T)(ue=>
293{const ft=I(ue);if(!ft)throw new Error(mt);return ft}),(0,Ne.M)(ue=>this.setCheckoutStatus(ue)))}setCheckoutStatus(I){const mt="ACTIVE"===this.checkoutStatus()?.state;this.checkoutStatus.set(I),I.is_checkout_done&&"ACTIVE"===I.state&&!mt&&this.meService.markPremiumActive()}clearCheckoutOnError(){return(0,Ve.W)(I=>(this.cancelCheckout(),(0,We.$)(()=>I)))}clearCheckout(){this.checkoutStarted.set(!1),this.checkoutStatus.set(void 0)}cancelCheckout(){this.acceptedFunnelOffer=void 0,this.clearCheckout(),this.checkoutStatusDialogRef?.close()}checkoutHeaders(){const I=this.locationContext.currentLink()?.id,mt=this.membershipplanService?.selectedPaywallVariant();let Ue=new c.Lr({"redirect-origin":window.location.href});return I&&(Ue=Ue.set("X-Linkvertise-post-id",I)),Ue=Ue.set("X-Linkvertise-paywall-variant",mt),Ue}acceptFunnelOffer(){const I=this.recoveryOffer();return I?this.acceptFunnelOfferGQL.mutate({variables:{paymentId:I.paymentId}}).pipe((0,Et.T)(mt=>{const Ue=mt.data?.doCheckoutAction;if(!Ue)throw new Error("Accept funnel offer returned no status");return Ue}),(0,Ne.M)(mt=>{this.acceptedFunnelOffer=I,this.setCheckoutStatus(mt)}),(0,Ve.W)(()=>this.refetchStatusAfterModalClose())):H.w}declineFunnelOffer(){const I=this.recoveryOffer();return I?this.declineFunnelOfferGQL.mutate({variables:{paymentId:I.paymentId}}).pipe((0,Et.T)(mt=>{const Ue=mt.data?.doCheckoutAction;if(!Ue)throw new Error("Decline funnel offer returned no status");return Ue}),(0,Ne.M)(mt=>this.setCheckoutStatus(mt)),(0,Ve.W)(()=>this.refetchStatusAfterModalClose())):H.w}refetchStatusAfterModalClose(){const I=this.checkoutStatusDialogRef;return I?(I.close(),I.afterClosed().pipe((0,He.s)(1),(0,at.n)(()=>this.fetchStatus()))):this.fetchStatus()}openCheckoutStatusDialog(I){if(!this.checkoutStatusDialogRef||this.checkoutStatusDialogType!==I){if(this.checkoutStatusDialogRef){const mt=this.checkoutStatusDialogRef;return mt.afterClosed().pipe((0,He.s)(1)).subscribe(()=>this.openCheckoutStatusDialog(I)),void mt.close()}this.checkoutStatusDialogType=I,this.checkoutStatusDialogRef=this.dialog.open("recovery-offer"===I?Bn:Oe,{backdropClickClose:!1,panelClass:"full-width-dialog"}),this.checkoutStatusDialogRef.afterClosed().subscribe(()=>{this.checkoutStatusDialogRef=void 0,this.checkoutStatusDialogType=void 0})}}openChargebeePortal(){const I=window.open("","_blank");return this.chargebeePortalGQL.fetch().pipe((0,Et.T)(mt=>mt.data?.getChargebeePortalUrl),(0,Ne.M)(mt=>{I&&mt?I.location.href=mt:I?.close()}),(0,Ve.W)(mt=>(I?.close(),console.error(mt),(0,We.$)(()=>mt))))}static{this.\u0275fac=function(mt){return new(mt||Ze)}}static{this.\u0275prov=h.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}}return Ze})()},796(vt,Y,i){i.d(Y,{Sm:()=>c,cj:()=>b,te:()=>h});const h="dashboard";var b=function(C){return C.Overview="overview",C.Fullscript="fullscript",C.Payouts="payouts",C.Affiliate="affiliate",C.Support="support",C.Antibypass="antibypass",C}(b||{});const c=C=>`/${h}/${C}`},9575(vt,Y,i){i.d(Y,{Q:()=>W});var h=i(9769),b=i(7705),c=i(8018),C=i(5547);function T(z,se){1&z&&(C.j41(0,"span"),C.EFF(1),C.nI1(2,"translate"),C.k0s()),2&z&&(C.R7$(),C.JRh(C.bMT(2,1,"membership-price-plan.most-popular")))}function y(z,se){1&z&&(C.j41(0,"span"),C.EFF(1),C.nI1(2,"translate"),C.k0s()),2&z&&(C.R7$(),C.JRh(C.bMT(2,1,"membership-price-plan.92-percent")))}function O(z,se){1&z&&(C.j41(0,"span"),C.EFF(1),C.nI1(2,"translate"),C.k0s()),2&z&&(C.R7$(),C.JRh(C.bMT(2,1,"membership-price-plan.reactivate")))}function k(z,se){if(1&z&&(C.j41(0,"div",1),C.nVh(1,T,3,3,"span")(2,y,3,3,"span")(3,O,3,3,"span"),C.k0s()),2&z){const G=C.XpG();
293C.R7$(),C.vxM("mostPopular"===G.badge()?1:"92_percent"===G.badge()?2:3)}}function w(z,se){1&z&&(C.j41(0,"div",2)(1,"span"),C.EFF(2),C.nI1(3,"translate"),C.k0s()()),2&z&&(C.R7$(2),C.JRh(C.bMT(3,1,"membership-price-plan.catch-phrase")))}function v(z,se){1&z&&(C.j41(0,"div",5),C.EFF(1),C.nI1(2,"translate"),C.k0s()),2&z&&(C.R7$(),C.JRh(C.bMT(2,1,"membership-price-plan.trial-badge")))}function D(z,se){if(1&z&&(C.j41(0,"span",6),C.EFF(1),C.k0s()),2&z){const G=C.XpG();C.R7$(),C.JRh(G.discountText())}}function m(z,se){if(1&z&&(C.j41(0,"del"),C.EFF(1),C.k0s()),2&z){const G=C.XpG();C.R7$(),C.JRh(G.originalPriceText())}}function u(z,se){if(1&z&&(C.j41(0,"small"),C.EFF(1),C.k0s()),2&z){const G=C.XpG();C.R7$(),C.JRh(G.priceSuffix())}}let W=(()=>{class z{constructor(){this.badge=(0,b.hFB)(null),this.periodText=(0,b.hFB)(""),this.priceText=(0,b.hFB)(""),this.originalPriceText=(0,b.hFB)(""),this.discountText=(0,b.hFB)(""),this.priceSuffix=(0,b.hFB)(""),this.isSelected=(0,b.hFB)(!1),this.isHighlighted=(0,b.hFB)(!1),this.isPaywallWithoutSeperateFreeOption=(0,b.hFB)(!1)}static{this.\u0275fac=function(le){return new(le||z)}}static{this.\u0275cmp=C.VBU({type:z,selectors:[["lv-membership-plan-option"]],inputs:{badge:[1,"badge"],periodText:[1,"periodText"],priceText:[1,"priceText"],originalPriceText:[1,"originalPriceText"],discountText:[1,"discountText"],priceSuffix:[1,"priceSuffix"],isSelected:[1,"isSelected"],isHighlighted:[1,"isHighlighted"],isPaywallWithoutSeperateFreeOption:[1,"isPaywallWithoutSeperateFreeOption"]},decls:13,vars:13,consts:[[1,"membership-plan-option",3,"ngClass"],[1,"membership-plan-option__most-popular"],[1,"membership-plan-option__text-wrapper"],["data-testid","lv-membership-plan-option-wrapper-btn",1,"membership-plan-option__wrapper"],[1,"membership-plan-option__wrapper__duration"],[1,"trial-badge"],[1,"membership-plan-option__wrapper__discount"],[1,"membership-plan-option__wrapper__price-per-duration"]],template:function(le,_){1&le&&(C.j41(0,"div",0),C.nVh(1,k,4,1,"div",1),C.nVh(2,w,4,3,"div",2),C.j41(3,"div",3)(4,"div",4),C.EFF(5),C.nVh(6,v,3,3,"div",5),C.nVh(7,D,2,1,"span",6),C.k0s(),C.j41(8,"div",7)(9,"div"),C.nVh(10,m,2,1,"del"),C.EFF(11),C.nVh(12,u,2,1,"small"),C.k0s()()()()),2&le&&(C.Y8G("ngClass",_.isSelected()?"active":""),C.R7$(),C.vxM(_.badge()?1:-1),C.R7$(),C.vxM(_.isHighlighted()?2:-1),C.R7$(2),C.AVh("membership-plan-option__wrapper__duration__expired",_.isHighlighted()),C.R7$(),C.SpI(" ",_.periodText()," "),C.R7$(),C.vxM(_.isPaywallWithoutSeperateFreeOption()?6:-1),C.R7$(),C.vxM(_.discountText()?7:-1),C.R7$(),C.AVh("membership-plan-option__wrapper__price-per-duration__expired",_.isHighlighted()),C.R7$(2),C.vxM(_.originalPriceText()?10:-1),C.R7$(),C.SpI(" ",_.priceText()," "),C.R7$(),C.vxM(_.priceSuffix()?12:-1))},dependencies:[h.YU,c.h,c.D9],styles:[".membership-plan-option[_ngcontent-%COMP%]{position:relative;width:var(--lv-sizing-pct-100);border:var(--lv-border-width-wide) solid transparent;border-radius:var(--lv-border-radius-xs);cursor:pointer}.membership-plan-option[_ngcontent-%COMP%]:not(.active){box-shadow:inset 0 0 0 var(--lv-extra-spacing-4xs) var(--lv-light)}.membership-plan-option__most-popular[_ngcontent-%COMP%]{position:absolute;top:0;left:var(--lv-sizing-pct-50);transform:translate(var(--lv-sizing-neg-pct-50),var(--lv-sizing-neg-pct-50));background:var(--lv-orange);color:var(--lv-white);display:flex;justify-content:center;align-items:center;border-radius:var(--lv-border-radius-s);font-size:var(--lv-font-size-200);font-weight:var(--lv-font-weight-medium);height:var(--lv-extra-sizing-m);width:fit-content;padding:var(--lv-spacing-2xs) var(--lv-spacing-xs)}.membership-plan-option__text-wrapper[_ngcontent-%COMP%]{padding:var(--lv-spacing-m) var(--lv-spacing-l);font-weight:var(--lv-font-weight-medium)}.membership-plan-option__wrapper[_ngcontent-%COMP%]{padding:var(--lv-spacing-m) var(--lv-spacing-l);display:flex;justify-content:space-between;align-items:center}.membership-plan-option__wrapper[_ngcontent-%COMP%]   .trial-badge[_ngcontent-%COMP%]{padding:var(--lv-extra-spacing-3xs) var(--lv-spacing-xs);background:var(--lv-avatar-orange-bg);border-radius:var(--lv-border-radius-xl);font-size:var(--lv-font-size-200)}.membership-plan-option__wrapper__duration[_ngcontent-%COMP%]{font-weight:var(--lv-font-we
293ight-medium);font-size:var(--lv-font-size-300);display:flex;flex-direction:row;gap:var(--lv-extra-spacing-xs);align-items:center}.membership-plan-option__wrapper__duration__expired[_ngcontent-%COMP%]{font-weight:var(--lv-font-weight-light);font-size:var(--lv-font-size-600)}.membership-plan-option__wrapper__discount[_ngcontent-%COMP%]{padding:var(--lv-spacing-2xs) var(--lv-spacing-xs);border-radius:var(--lv-border-radius-l);background:var(--lv-brand-primary-2);font-size:var(--lv-font-size-100);font-weight:var(--lv-font-weight-medium);line-height:var(--lv-line-height-s)}.membership-plan-option__wrapper__price-per-duration[_ngcontent-%COMP%]{display:flex;align-items:baseline}.membership-plan-option__wrapper__price-per-duration[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{font-weight:var(--lv-font-weight-medium);font-size:var(--lv-font-size-300)}.membership-plan-option__wrapper__price-per-duration[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   del[_ngcontent-%COMP%]{margin-right:var(--lv-spacing-xs);color:var(--lv-lightgrey);text-decoration-color:var(--lv-brand-primary-1);text-decoration-thickness:2px;font-weight:var(--lv-font-weight-light)}.membership-plan-option__wrapper__price-per-duration[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:var(--lv-lightgrey);font-size:var(--lv-font-size-200);font-weight:var(--lv-font-weight-light)}@media(width>=370px){.membership-plan-option__wrapper__price-per-duration__expired[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{font-weight:var(--lv-font-weight-light);font-size:var(--lv-font-size-600)}}.membership-plan-option.active[_ngcontent-%COMP%]{border-color:var(--lv-orange)}"],changeDetection:0})}}return z})()},827(vt,Y,i){i.d(Y,{e:()=>H});var h=i(5802),b=i(7705),c=i(2271),C=i(5949),T=i(8018),y=i(9253),O=i(4768),k=i(4446),w=i(5547);function v(_e,We){1&_e&&w.nrm(0,"lv-lib-chip",3),2&_e&&w.Y8G("chipType","static")("chipColor","light")("isMaterial",!0)}function D(_e,We){if(1&_e&&(w.j41(0,"div",0),w.nrm(1,"p",2),w.nI1(2,"translate"),w.nVh(3,v,1,3,"lv-lib-chip",3),w.k0s()),2&_e){const ht=w.XpG();w.R7$(),w.Y8G("innerHTML",w.bMT(2,2,ht.titleKey()),w.npT),w.R7$(2),w.vxM(ht.isPremiumOnlyLink()?3:-1)}}function m(_e,We){1&_e&&(w.j41(0,"h3",1),w.EFF(1),w.nI1(2,"translate"),w.k0s()),2&_e&&(w.R7$(),w.JRh(w.bMT(2,1,"settings-page.premium")))}let u=(()=>{class _e{constructor(){this.isAccessVariant=(0,b.hFB)(!0),this.isPremiumOnlyLink=(0,b.hFB)(!1),this.titleKey=(0,c.EW)(()=>this.isPremiumOnlyLink()?"action-wall.premium-title":"action-wall.title")}static{this.\u0275fac=function(Vt){return new(Vt||_e)}}static{this.\u0275cmp=w.VBU({type:_e,selectors:[["lv-membership-plan-header"]],inputs:{isAccessVariant:[1,"isAccessVariant"],isPremiumOnlyLink:[1,"isPremiumOnlyLink"]},decls:2,vars:1,consts:[[1,"membership-plan-header"],[1,"typography-heading-h3"],["data-testid","action-wall-title-text",1,"membership-plan-header__title","typography-body-b2",3,"innerHTML"],["badges","","icon","diamond","tooltip","Premium","iconColor","primary","text","Premium",3,"chipType","chipColor","isMaterial"]],template:function(Vt,an){1&Vt&&w.nVh(0,D,4,4,"div",0)(1,m,3,3,"h3",1),2&Vt&&w.vxM(an.isAccessVariant()?0:1)},dependencies:[T.h,C.wu,T.D9],styles:[".membership-plan-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:var(--lv-spacing-l)}"],changeDetection:0})}}return _e})();var W=i(9575),z=i(5059),se=i(1096);const G=(_e,We)=>We.id;function le(_e,We){1&_e&&(w.nrm(0,"p",8),w.nI1(1,"translate")),2&_e&&w.Y8G("innerHTML",w.bMT(1,1,"action-wall.or"),w.npT)}function _(_e,We){if(1&_e){const ht=w.RV6();w.j41(0,"lv-membership-plan-option",7),w.bIt("click",function(){const an=h.eBV(ht).$index,Et=w.XpG();return h.Njj(Et.selectPlan(an))}),w.k0s(),w.nVh(1,le,2,3,"p",8)}if(2&_e){const ht=We.$implicit,Vt=We.$index,an=w.XpG();w.Y8G("badge",ht.badgeType)("periodText",ht.periodText)("priceText",ht.priceText)("isSelected",Vt===an.selectedIndex()),w.R7$(),w.vxM(null!==an.separatorAfterIndex()&&Vt===an.separatorAfterIndex()?1:-1)}}function ge(_e,We){1&_e&&(w.nrm(0,"p",10),w.nI1(1,"translate")),2&_e&&w.Y8G("innerHTML",w.bMT(1,1,"membership-plan-selection.button-text-ab"),w.npT)}function q(_e,We){1&_e&&(w.nrm(0,"p",10),w.nI1(1,"translate")),2&_e&&w.Y8G("innerHTML",w.bMT(1,1,"membership-plan-selection.reactivate"),w.npT)}function Te(_e,We){if(1&_e){const ht=w.RV6();w.j41(0,"div",4)(1,"lv-lib-button",9),w.bIt("click",function(){h.eBV(ht);const an=w.XpG();return h.Njj(an.openReactivatePopup())}),w.nVh(2,ge,2,3,"p",10)(3,q,2,3,"p",10),w.k0s()()}if(2&_e){const ht=w.XpG();w.R7$(),w.Y8G("type","success")("isfullWidth",!0)("rounded",!0),w.R7$(),w.vxM(ht.highlightFreeUsageLabel()?2:3)}}function Be(_e,We){1&_e&&(w.EFF(0),w.nI1(1,"translate")),2&_e&&w.SpI(" ",w.bMT(1,1,"settings-page.get-linkvertise-premium")," ")}function we(_e,We){1&_e&&(w.nrm(0,"p",10),w.nI1(1,"translate")),2&_e&&w.Y8G("innerHTML",w.bMT(1,1,"membership-plan-selection.button-text-ab"),w.npT)}function X(_e,We){1&_e&&(w.nrm(0,"p",10),w.nI1(1,"translate")),2&_e&&w.Y8G("innerHTML",w.bMT(1,1,"continue"),w.npT)}function ye(_e,We){1&_e&&(w.j41(0,"div",13)(1,"span",14),w.EFF(2),w.nI1(3,"translate"),w.k0s()()),2&_e&&(w.R7$(2),w.JRh(w.bMT(3,1,"premium-popup.30-day-guarantee")))}function Q(_e,We){if(1&_e){const ht=w.RV6();w.j41(0,"div",11)(1,"lv-lib-button",12),w.bIt("click",function(){h.eBV(ht);const an=w.XpG();return h.Njj(an.onPrimaryClick())}),w.nVh(2,Be,2,3)(3,we,2,3,"p",10)(4,X,2,3,"p",10),w.k0s(),w.nVh(5,ye,4,3,"div",13),w.k0s()}if(2&_e){const ht=w.XpG();
293w.AVh("membership-plan-selection__button--access",ht.isAccessVariant()),w.R7$(),w.Y8G("isfullWidth",!0)("rounded",!0),w.R7$(),w.vxM(ht.isAccessVariant()?ht.highlightFreeUsageLabel()?3:4:2),w.R7$(3),w.vxM(ht.isAccessVariant()?-1:5)}}function ae(_e,We){if(1&_e){const ht=w.RV6();w.j41(0,"div",6),w.nrm(1,"span",15),w.nI1(2,"translate"),w.j41(3,"span"),w.EFF(4,"\xa0"),w.k0s(),w.j41(5,"span",16),w.nI1(6,"translate"),w.bIt("click",function(){h.eBV(ht);const an=w.XpG();return h.Njj(an.openLogin())}),w.k0s()()}2&_e&&(w.R7$(),w.Y8G("innerHTML",w.bMT(2,2,"premium-popup.to-login-button"),w.npT),w.R7$(4),w.Y8G("innerHTML",w.bMT(6,4,"checkout-login"),w.npT))}let H=(()=>{class _e{constructor(){this.meService=(0,h.WQX)(k.Q),this.membershipPlanManagerService=(0,h.WQX)(O.o),this.countdownService=(0,h.WQX)(y.V),this.translateService=(0,h.WQX)(T.c$),this.isAccessVariant=(0,b.hFB)(!0),this.remainingWaitingTime=(0,b.hFB)(null),this.isPremiumOnlyLink=(0,b.hFB)(!1),this.adsTotal=(0,b.hFB)(0),this.clickedAction=(0,b.CGW)(),this.isMember=this.meService.isMember,this.lastPlanIdentifier=this.membershipPlanManagerService.lastSelectedPlanIdentifier,this.visibleMembershipPlans=this.membershipPlanManagerService.visibleMembershipPlans,this.paidPlansContainLastPlan=this.membershipPlanManagerService.plansContainLastPlan,this.selectedIndex=(0,h.vPA)(0),this.selectedPaywallVariant=this.membershipPlanManagerService.selectedPaywallVariant,this.paywallVariants=se.Rq.experiments.paywall_variant.variants,this.highlightFreeUsageLabel=(0,c.EW)(()=>this.selectedPaywallVariant()===this.paywallVariants.paywall_changed_buttontext&&0===this.allPlansForSelection()[this.selectedIndex()].length),this.didInitSelection=(0,h.vPA)(!1),this.countdownStr=this.countdownService.countdownLabel,this.hasCountdown=this.countdownService.hasCountdown,this.isCompleted=this.countdownService.isCompleted,this.showFreeAccessOption=(0,c.EW)(()=>this.isAccessVariant()&&!this.isPremiumOnlyLink()),this.hasLoginButton=(0,c.EW)(()=>this.isAccessVariant()&&!this.isMember()),this.showRenewButton=(0,c.EW)(()=>{if(!this.isAccessVariant()||!this.isMembershipChosen()||this.meService.hasNeverBeenPremium())return!1;const ht=this.visibleMembershipPlans()?.[this.selectedIndex()];return!!ht&&ht.chargebee_identifier===this.lastPlanIdentifier()}),this.showReactivateButton=(0,c.EW)(()=>this.isAccessVariant()&&this.showRenewButton()),this.showPrimaryButton=(0,c.EW)(()=>!this.showReactivateButton()),this.waitPlan=(0,c.EW)(()=>(0,z.j3)({remainingWaitingTime:this.remainingWaitingTime(),adsTotal:this.adsTotal(),hasCountdown:this.hasCountdown(),isCompleted:this.isCompleted(),countdownLabel:this.countdownStr(),translate:this.translateService})),this.allPlansForSelection=(0,c.EW)(()=>{const ht=this.visibleMembershipPlans();return this.showFreeAccessOption()?[...ht,this.waitPlan()]:ht}),this.isMembershipChosen=(0,c.EW)(()=>this.selectedIndex()<(this.visibleMembershipPlans()?.length??0)),this.separatorAfterIndex=(0,c.EW)(()=>{const ht=this.visibleMembershipPlans()?.length??0;return this.showFreeAccessOption()&&ht>0?ht-1:null}),this.setupCountdownEffect(),this.setupInitialSelectionEffect(),this.setupClampSelectionEffect(),this.setupSelectedPlanSyncEffect()}setupCountdownEffect(){(0,h.QZP)(()=>{if(!this.isAccessVariant())return;const ht=this.remainingWaitingTime();ht&&this.countdownService.startCountdown(ht)})}setupInitialSelectionEffect(){(0,h.QZP)(()=>{if(!this.isAccessVariant())return void this.didInitSelection.set(!1);if(this.didInitSelection()||!this.isMember())return;const ht=this.visibleMembershipPlans();if(!ht?.length)return;const Vt=this.paidPlansContainLastPlan()?(0,z.lf)(ht,this.lastPlanIdentifier()??""):0;this.selectPlan(Vt>=0?Vt:0),this.didInitSelection.set(!0)})}setupClampSelectionEffect(){(0,h.QZP)(()=>{const ht=this.allPlansForSelection().length,Vt=this.selectedIndex();ht<=0?0!==Vt&&this.selectedIndex.set(0):Vt>=ht&&this.selectedIndex.set(ht-1)})}setupSelectedPlanSyncEffect(){(0,h.QZP)(ht=>{const Vt=this.isMembershipChosen()?this.visibleMembershipPlans()?.[this.selectedIndex()]:void 0;this.membershipPlanManagerService.lastSelectedMembershipPlan.set(Vt),ht(()=>this.membershipPlanManagerService.lastSelectedMembershipPlan.set(void 0))})}onPrimaryClick(){const ht=this.visibleMembershipPlans();if(ht?.length){if(this.isMembershipChosen()){const Vt=ht[this.selectedIndex()],an=this.isAccessVariant()?"SOCIALLOGIN":"CHANGE_PLAN";return void this.clickedAction.emit({action:an,plan:Vt})}if(this.hasCountdown()&&!this.isCompleted())return void this.clickedAction.emit({action:"WAIT"});this.clickedAction.emit({action:"ACCESS"})}}openLogin(){this.clickedAction.emit({action:"SOCIALLOGIN",plan:this.membershipPlanManagerService.lastSelectedMembershipPlan()})}openReactivatePopup(){const ht=this.selectedIndex(),Vt=this.visibleMembershipPlans()[ht]??{name:this.lastPlanIdentifier()};this.clickedAction.emit({action:"REACTIVATE",plan:Vt})}selectPlan(ht){this.selectedIndex.set(ht)}static{this.\u0275fac=function(Vt){return new(Vt||_e)}}static{this.\u0275cmp=w.VBU({type:_e,selectors:[["lv-membership-selection-card"]],inputs:{isAccessVariant:[1,"isAccessVariant"],remainingWaitingTime:[1,"remainingWaitingTime"],isPremiumOnlyLink:[1,"isPremiumOnlyLink"],adsTotal:[1,"adsTotal"]},outputs:{clickedAction:"clickedAction"},decls:9,vars:11,consts:[[3,"padding","rounded"],[1,"membership-plan-selection"],[3,"isAccessVariant","isPremiumOnlyLink"],[1,"membership-plan-selection__plans"],[1,"membership-plan-selection__button","membership-plan-selection__button--access"],[1,"membership-plan-selection__button",3,"membership-plan-selection__button--access"],[1,"membership-plan-selection__login-wrapper"],[3,"click","badge","periodText","priceText","isSelected"],[1,"membership-plan-selection__separator","typography-label-l2",3,"innerHTML"],["data-testid","action-wall-reactivate-plan-btn",3,"click","type","isfullWidth","rounded"],[1,"typography-label-l1",3,"innerHTML"],[1,"membership-plan-selection__button"],["data-testid","action-wall-continue-action-btn",3,"click","isfullWidth","rounded"],[1,"membership-plan-selection__guarantee"],[1,"typography-body-b3"],[1,"membership-plan-selection__subtitle","typography-body-b3",3,"innerHTML"],[1,"membership-plan-selection__login-link","typography-body-b3",3,"click","innerHTML"]],template:function(Vt,an){1&Vt&&(w.j41(0,"lv-lib-card",0)(1,"div",1),w.nrm(2,"lv-membership-plan-header",2),w.j41(3,"div",3),w.Z7z(4,_,2,5,null,
293null,G),w.k0s(),w.nVh(6,Te,4,4,"div",4),w.nVh(7,Q,6,6,"div",5),w.nVh(8,ae,7,6,"div",6),w.k0s()()),2&Vt&&(w.Y8G("padding",!an.isAccessVariant())("rounded",!0),w.R7$(),w.AVh("membership-plan-selection--access",an.isAccessVariant())("membership-plan-selection--account",!an.isAccessVariant()),w.R7$(),w.Y8G("isAccessVariant",an.isAccessVariant())("isPremiumOnlyLink",an.isPremiumOnlyLink()),w.R7$(2),w.Dyx(an.allPlansForSelection()),w.R7$(2),w.vxM(an.showReactivateButton()?6:-1),w.R7$(),w.vxM(an.showPrimaryButton()?7:-1),w.R7$(),w.vxM(an.hasLoginButton()?8:-1))},dependencies:[C.ib,C.Qp,T.h,u,W.Q,T.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;
293--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.membership-plan-selection[_ngcontent-%COMP%]{display:flex;flex-direction:column}.membership-plan-selection__plans[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-xs)}
293.membership-plan-selection__separator[_ngcontent-%COMP%]{text-align:center}.membership-plan-selection__button[_ngcontent-%COMP%]{display:flex;flex-direction:column}.membership-plan-selection__guarantee[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-top:var(--lv-spacing-xs);color:var(--lv-lightgrey)}.membership-plan-selection--account[_ngcontent-%COMP%]{gap:var(--lv-spacing-m)}.membership-plan-selection--access[_ngcontent-%COMP%]{padding:var(--lv-spacing-l);gap:var(--lv-spacing-xs)}@media screen and (width<=48rem){.membership-plan-selection--access[_ngcontent-%COMP%]{padding:var(--lv-spacing-m)}}.membership-plan-selection--access[_ngcontent-%COMP%]   .membership-plan-selection__button--access[_ngcontent-%COMP%]{margin:var(--lv-spacing-l) 0 var(--lv-spacing-2xs)}.membership-plan-selection--access[_ngcontent-%COMP%]   .membership-plan-selection__subtitle[_ngcontent-%COMP%]{text-align:center;color:var(--lv-lightgrey)}.membership-plan-selection--access[_ngcontent-%COMP%]   .membership-plan-selection__login-wrapper[_ngcontent-%COMP%]{text-align:center}.membership-plan-selection--access[_ngcontent-%COMP%]   .membership-plan-selection__login-link[_ngcontent-%COMP%]{color:var(--lv-orange);text-decoration:underline;cursor:pointer}'],changeDetection:0})}}return _e})()},5059(vt,Y,i){i.d(Y,{fF:()=>y,ix:()=>T,j3:()=>v,lf:()=>C,qL:()=>w});const h="wait-plan";function c(m,u,W){const{reduced_price:z,currency:se,locale:G}=m;return 0===z?W.instant("action-wall.free"):u.formatCurrencyForLocale(z,se,G??"en")}function C(m,u){return u?m.findIndex(W=>W.chargebee_identifier===u):-1}function T(m,u){return!!u&&m.some(W=>W.chargebee_identifier===u)}function y(m,u,W=!0){const z=T(m,u);return m.map((se,G)=>({...se,badgeType:O(se,G,z,u,W)}))}function O(m,u,W,z,se=!0){return W&&se?z===m.chargebee_identifier?"reactivate":null:0===u?"mostPopular":null}function w(m,u,W,z){if(!m?.length)return[];const se=z?.plan_id,G=z?.estimated_price;return m.filter(le=>!!le).map(le=>function k(m,u,W,z){const se=z??m.reduced_price_first_year??m.price,G=function b(m,u){return u?.chargebee_identifier?.includes("2d")?`2 ${m.instant("premium-popup.days")} ${m.instant("premium-popup.trial")}`:u?.chargebee_identifier?.includes("year")?`1 ${m.instant("premium-popup.year")}`:`1 ${m.instant("premium-popup.month")}`}(u,m);return{...m,mostPopular:m.chargebee_identifier?.startsWith("linkvertise-premium-2d-|-1-month")??!1,reduced_price:se,periodText:G,priceText:c({...m,reduced_price:se},W,u)}}(le,u,W,se&&le.chargebee_identifier===se?G??le.reduced_price_first_year??void 0:void 0))}function v({remainingWaitingTime:m,adsTotal:u,hasCountdown:W,isCompleted:z,countdownLabel:se,translate:G}){return m?{id:h,chargebee_identifier:h,name:h,mostPopular:!1,periodText:!W||z?G.instant("accessflow.access.watch-ads"):G.instant("accessflow.wait.short",{time:se}),priceText:!W||z?"":G.instant("accessflow.access.free"),badgeType:null}:function D(m,u){return m>=1?{id:h,chargebee_identifier:h,name:h,mostPopular:!1,periodText:u.instant("accessflow.access.watch-ads"),priceText:m+" "+u.instant(1===m?"accessflow.access.ad":"accessflow.access.ads")+" ",badgeType:null}:{id:h,chargebee_identifier:h,name:h,mostPopular:!1,periodText:u.instant("accessflow.access.direct"),priceText:""}}(u,G)}},9253(vt,Y,i){i.d(Y,{V:()=>c});var h=i(5802),b=i(2271);let c=(()=>{class C{constructor(){this.destroyRef=(0,h.WQX)(h.abz),this.secondsLeft=(0,h.vPA)(0),this.running=(0,h.vPA)(!1),this.completed=(0,h.vPA)(!0),this.intervalId=null,this.hasCountdown=(0,b.EW)(()=>this.running()),this.isCompleted=(0,b.EW)(()=>this.completed()),this.countdownLabel=(0,b.EW)(()=>this.formatTime(this.secondsLeft())),this.destroyRef.onDestroy(()=>this.clearTimer())}stopCountdown(){this.clearTimer(),this.secondsLeft.set(0),this.running.set(!1),this.completed.set(!0)}startCountdown(y){if(this.intervalId)return;const O=Math.max(0,Math.floor(y??0));this.secondsLeft.set(O),O<=0?this.stopCountdown():(this.completed.set(!1),this.running.set(!0),this.intervalId=setInterval(()=>{const k=this.secondsLeft();k>0?this.secondsLeft.set(k-1):this.stopCountdown()},1e3))}formatTime(y){const O=Math.max(0,Math.floor(y)),k=Math.floor(O/60),w=O%60;return`${String(k).padStart(2,"0")}
293:${String(w).padStart(2,"0")}`}clearTimer(){null!==this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}static{this.\u0275fac=function(O){return new(O||C)}}static{this.\u0275prov=h.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}}return C})()},4768(vt,Y,i){i.d(Y,{o:()=>m});var h=i(5802),b=i(2271),c=i(9079),C=i(2759),T=i(8018),y=i(4095),O=i(6354),k=i(8141),w=i(4446),v=i(5059),D=i(1096);let m=(()=>{class u{#e;#t;constructor(){this.languageService=(0,h.WQX)(C.g),this.translateService=(0,h.WQX)(T.c$),this.membershipPlansGQL=(0,h.WQX)(y.P5),this.meService=(0,h.WQX)(w.Q),this.destroyRef=(0,h.WQX)(h.abz),this.experimentService=(0,h.WQX)(D.Rq),this.me=this.meService.me,this.#e=(0,b.EW)(()=>this.me()?.subscription_data?.chargebee_data?this.me()?.subscription_data?.chargebee_data?.plan_id:""),this.lastSelectedPlanIdentifier=(0,b.EW)(()=>this.#e()),this.#t=(0,h.vPA)([]),this.selectedPaywallVariant=(0,h.vPA)("paywall_changed_buttontext").asReadonly(),this.selectedLastOfferVariant$=this.experimentService.getVariant(D.Rq.experiments.LastOfferExperiment.name),this.selectedLastOfferVariant=(0,c.ot)(this.selectedLastOfferVariant$,{initialValue:null}),this.visibleMembershipPlans=(0,b.EW)(()=>(0,v.fF)(this.#t(),this.#e(),this.meService.hasNeverBeenPremium())),this.plansContainLastPlan=(0,b.EW)(()=>(0,v.ix)(this.visibleMembershipPlans(),this.#e())),this.lastMembershipPlan=(0,b.EW)(()=>this.visibleMembershipPlans()?.find(z=>z.chargebee_identifier===this.#e())),this.lastSelectedMembershipPlan=(0,h.vPA)(void 0),(0,h.QZP)(()=>{const z=this.me();z?this.setVisibleMembershipPlans(z):this.setVisibleMembershipPlans()})}setVisibleMembershipPlans(z){this.membershipPlansGQL.fetch({fetchPolicy:"network-only"}).pipe((0,c.pQ)(this.destroyRef),(0,O.T)(se=>(se?.data?.getMembershipPlansForUser??[]).filter(G=>null!==G)),(0,k.M)(se=>{this.#t.set((0,v.qL)(se,this.translateService,this.languageService,z?.subscription_data?.chargebee_data))})).subscribe()}static{this.\u0275fac=function(se){return new(se||u)}}static{this.\u0275prov=h.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},1275(vt,Y,i){i.d(Y,{Fl:()=>G,Ib:()=>u,W9:()=>D,Xc:()=>O,Xn:()=>z,Ym:()=>T});var C=i(4589);const T=C.J1`
294    query GetLinkById($id: ID!) {
295  linkById(id: $id) {
296    __typename
297    target_type
298    id
299    target
300    title
301    paste
302    description
303    seo_active
304    paywall_weight
305    adsCount
306    video_url
307    is_premium_only
308    published_at
309    isPublished
310    link_images {
311      id
312      public_url
313    }
314    category
315  }
316}
317    `,O=C.J1`
318    query validateLinkAttributes($input: ValidateLinkAttributeInput!, $link_id: ID) {
319  validateLinkAttribute(input: $input, link_id: $link_id)
320}
321    `;C.J1`
322    query Me {
323  me {
324    id
325    username
326    email
327  }
328}
329    `;const D=C.J1`
330    query RevenueCalculatorScore($input: RevenueCalculatorScoreInput!) {
331  revenueCalculatorScore(input: $input) {
332    total
333    adsScore
334    waitingScore
335    visibilityScore
336    premiumOnlyScore
337  }
338}
339    `,u=C.J1`
340    mutation CreateLink($input: LinkInput!) {
341  createLink(input: $input) {
342    id
343    href
344    user_id
345  }
346}
347    `,z=C.J1`
348    mutation UpdateLink($id: ID!, $input: UpdateLinkInput!) {
349  updateLink(input: $input, id: $id) {
350    id
351    href
352    user_id
353  }
354}
355    `,G=C.J1`
356    query generateFallbackTitle($target: String!, $targetType: String!) {
357  generateFallbackTitle(target: $target, target_type: $targetType)
358}
359    `},9696(vt,Y,i){i.d(Y,{MM:()=>c,Zc:()=>b,Zs:()=>h});const h={target_type:"URL",target:"",paste:"",seo_active:!1,title:"",description:"",video_url:"",images:[],paywall_weight:1,adsCount:3,is_premium_only:!1,category:null,published_at:null};var b=function(C){return C.TargetType="targetType",C.Link="link",C.Paste="paste",C.Meta="meta",C.Access="access",C.Success="success",C}(b||{}),c=function(C){return C.LENGTH="LENGTH",C.TARGET="TARGET",C.REQUIREDIMAGE="REQUIREDIMAGE",C.FILESIZE="FILESIZE",C.DATE="DATE",C}(c||{})},888(vt,Y,i){i.d(Y,{R:()=>W});var h=i(5802),b=i(2271),c=i(4589),C=i(7673),T=i(8810),y=i(9437),O=i(6354),k=i(6697),w=i(8141),v=i(9079),D=i(1275),m=i(7366),u=i(9696);let W=(()=>{class z{constructor(){this.#e=(0,h.WQX)(c.Ic),this.#t=(0,h.WQX)(m.u),this.#r=(0,h.vPA)([]),this.imagesToDelete=(0,b.EW)(()=>this.#r()),this.#n=(0,h.vPA)(""),this.postId=(0,b.EW)(()=>this.#n()),this.#i=(0,h.vPA)(!1),this.isPublished=(0,b.EW)(()=>this.#i()),this.#o=(0,h.vPA)(""),this.shareableLink=(0,b.EW)(()=>this.#o()),this.#s=(0,h.vPA)(u.Zs),this.post=(0,b.EW)(()=>this.#s()),this.#a=(0,v.ZX)({params:()=>this.#t.sanctumGuardToken(),stream:({params:G})=>G?this.fetchRevenueScore():(0,C.of)(0),defaultValue:0}),this.totalRevenueScore=(0,b.EW)(()=>this.#a.value())}#e;#t;#r;#n;#i;#o;#s;#a;setPostId(G){this.#n.set(G)}setIsPublished(G){this.#i.set(G)}updateImagesToDelete(G){this.#r.update(le=>[...le,G])}updatePost(G){this.#s.update(le=>({...le,...G}))}resetPost(){this.#s.set(u.Zs)}resetFlow(){this.#r.set([]),this.#n.set(""),this.#i.set(!1),this.#o.set(""),this.resetPost(),this.#a.value.set(0)}mutatePost(){return this.#n()?this.updateExistingPost():this.createPost()}createPost(){const G=this.getTrimmedPost();return this.#e.mutate({mutation:D.Ib,variables:{input:{...G,images:G?.images?.filter(le=>le.file).map(le=>le.file),require_custom_ad_step:!1,published_at:G.published_at?G.published_at.toISOString():null}},context:{useMultipart:!0}}).pipe((0,w.M)(le=>this.#o.set(le.data?.createLink?.href??"")),(0,y.W)(le=>(0,T.$)(()=>new Error(le))))}updateExistingPost(){const G=this.getTrimmedPost();return this.#e.mutate({mutation:D.Xn,variables:{id:this.#n(),input:{...G,images:G?.images?.filter(le=>le.file).map(le=>le.file),require_custom_ad_step:!1,img_ids_to_delete:this.#r(),published_at:G.published_at?G.published_at.toISOString():null}},context:{useMultipart:!0}}).pipe((0,w.M)(le=>{this.#o.set(le.data?.updateLink?.href??""),this.#n.set("")}),(0,y.W)(le=>(0,T.$)(()=>new Error(le))))}getTrimmedPost(){const G=this.#s();return"PASTE"===G.target_type?delete G.target:"URL"===G.target_type&&delete G.paste,G.seo_active||(delete G.video_url,delete G.images,delete G.description,delete G.category),G}calculateRevenueScore(G){this.fetchRevenueScore(G).subscribe(le=>{this.#a.value.set(le)})}fetchRevenueScore(G){return this.#e.query({query:D.W9,variables:{input:{isSeoActive:void 0!==G?.isSeoActive?G?.isSeoActive:this.post().seo_active,paywallWeight:void 0!==G?.paywallWeight?G.paywallWeight:this.post().paywall_weight,adsCount:void 0!==G?.adsCount?G.adsCount:this.post().adsCount,isPremiumOnly:void 0!==G?.isPremiumOnly?G.isPremiumOnly:this.post().is_premium_only}}}).pipe((0,k.s)(1),(0,O.T)(le=>le?.data?.revenueCalculatorScore.total??0))}static{this.\u0275fac=function(le){return new(le||z)}}static{this.\u0275prov=h.jDH({token:z,factory:z.\u0275fac})}}return z})()},5542(vt,Y,i){i.d(Y,{R:()=>k});var h=i(5802),b=i(2271),c=i(9696),C=i(9079),T=i(9882),y=i(5964),O=i(6354);let k=(()=>{class w{constructor(){this.#e=(0,h.WQX)(T.Ix),this.#t=new Map(Object.values(c.Zc).map((D,m)=>[D,0===m])),this.#r=(0,h.vPA)(!0),this.skipInitalStep=(0,b.EW)(()=>this.#r()),this.#n=(0,h.vPA)(Object.values(c.Zc)),this.currentPostSteps=(0,b.EW)(()=>this.#n()),this.#i=(0,C.ot)(this.#e.events.pipe((0,y.p)(D=>D instanceof T.wF),(0,O.T)(()=>
359this.getCurrentRouteChild().routeConfig?.path??null))),this.currentStep=(0,b.EW)(()=>this.#i())}#e;#t;canAccessStep(D){return this.#t.get(D)??!1}#r;#n;#i;setSkipInitalStep(){this.#r.set(!this.#r())}resetFlow(){this.#t=new Map(Object.values(c.Zc).map((D,m)=>[D,0===m])),this.#r.set(!0),this.#n.set(Object.values(c.Zc))}getCurrentRouteChild(){let D=this.#e.routerState.root;for(;D.firstChild;)D=D.firstChild;return D}navigateToStep(D=!0){const m=this.#n().indexOf(this.currentStep()),u=this.#n()[m+1],W=this.#n()[m-1];D&&this.#t.set(u,!0),this.#e.navigate(["../",D?u:W],{relativeTo:this.getCurrentRouteChild()})}changePostStep(D,m){this.#n().splice(this.#n().indexOf(D),1,m)}removePostStep(D){this.#n().includes(D)&&this.#n.set(this.#n().filter(m=>m!==D))}static{this.\u0275fac=function(m){return new(m||w)}}static{this.\u0275prov=h.jDH({token:w,factory:w.\u0275fac})}}return w})()},4095(vt,Y,i){i.d(Y,{$j:()=>v,Ak:()=>q,D1:()=>G,Iz:()=>se,P5:()=>W,b2:()=>Q,bX:()=>k,c6:()=>X,f:()=>_,p1:()=>m,y2:()=>Be});var C=i(4589),T=i(5802);const y=C.J1`
360    fragment FeaturedProfileUser on PublicUser {
361  id
362  name
363  avatar_color
364  subscriber_count
365  is_subscriber
366}
367    `,O=C.J1`
368    mutation passwordReset($input: PasswordResetInput!) {
369  passwordReset(input: $input) {
370    success
371    message
372  }
373}
374    `;let k=(()=>{class H extends C.sM{constructor(We){super(We),this.document=O}static{this.\u0275fac=function(ht){return new(ht||H)(T.KVO(C.Ic))}}static{this.\u0275prov=T.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();const w=C.J1`
375    mutation sendPasswordResetEmail($email: String!) {
376  sendPasswordResetEmail(email: $email)
377}
378    `;let v=(()=>{class H extends C.sM{constructor(We){super(We),this.document=w}static{this.\u0275fac=function(ht){return new(ht||H)(T.KVO(C.Ic))}}static{this.\u0275prov=T.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();const D=C.J1`
379    mutation passwordForget {
380  passwordForget
381}
382    `;let m=(()=>{class H extends C.sM{constructor(We){super(We),this.document=D}static{this.\u0275fac=function(ht){return new(ht||H)(T.KVO(C.Ic))}}static{this.\u0275prov=T.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();const u=C.J1`
383    query membershipPlans {
384  getMembershipPlansForUser {
385    id
386    name
387    chargebee_identifier
388    currency
389    locale
390    price
391    reduced_price_first_year
392    length
393    content_access_limit
394  }
395}
396    `;let W=(()=>{class H extends C.XK{constructor(We){super(We),this.document=u}static{this.\u0275fac=function(ht){return new(ht||H)(T.KVO(C.Ic))}}static{this.\u0275prov=T.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();const z=C.J1`
397    query getChargebeePortalUrl {
398  getChargebeePortalUrl
399}
400    `;let se=(()=>{class H extends C.XK{constructor(We){super(We),this.document=z}static{this.\u0275fac=function(ht){return new(ht||H)(T.KVO(C.Ic))}}static{this.\u0275prov=T.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();const G=C.J1`
401    query validateUserEmail($email: String!) {
402  validateUserAttribute {
403    email(email: $email) {
404      valid
405      message
406    }
407  }
408}
409    `,_=C.J1`
410    query validatePassword($password: String!) {
411  validateUserAttribute {
412    password(password: $password) {
413      criteria {
414        length {
415          required
416          actual
417          passed
418        }
419        number {
420          required
421          passed
422        }
423        special_character {
424          required
425          passed
426        }
427      }
428      valid
429    }
430  }
431}
432    `,q=C.J1`
433    query me {
434  me {
435    id
436    amount
437    email
438    username
439    follower_count
440    banned
441    reason
442    avatar_color
443    sensitive_post_setting
444    ab_testing {
445      experimentGroups {
446        experiment
447        group
448      }
449    }
450    subscription_data {
451      id
452      expire_at
453      db_state
454      chargebee_data {
455        customer_id
456        plan_id
457        status
458        primary_payment_source_id
459        churnkey_access_token
460        estimated_price
461        next_billing_at
462        collect_now_hosted_page_url
463      }
464    }
465    profile_subscriptions {
466      ...FeaturedProfileUser
467    }
468  }
469}
470    ${y}`,Be=C.J1`
471    query getUsersSubscriptions {
472  me {
473    id
474    profile_subscriptions {
475      id
476      name
477      avatar_color
478      subscriber_count
479      is_subscriber
480    }
481  }
482}
483    `,X=C.J1`
484    query getSanctumToken {
485  getSanctumToken
486}
487    `,Q=C.J1`
488    mutation updateUserSettings($input: UpdateMeInput!) {
489  updateMe(input: $input) {
490    id
491    username
492    avatar_color
493    sensitive_post_setting
494  }
495}
496    `},1820(vt,Y,i){i.d(Y,{B:()=>Rt,m:()=>Yt,SettingsPageComponent:()=>Ut});var h=i(5802),b=i(7705),c=i(2271),C=i(9079),T=i(9417),y=i(9183),O=i(5949),k=i(8018),w=i(2218),v=i(8670),D=i(6637),m=i(5547);let u=(()=>{class jt{constructor(){this.me=b.hFB.required(),this.Interaction=D.N}static{this.\u0275fac=function(Mt){return new(Mt||jt)}}static{this.\u0275cmp=m.VBU({type:jt,selectors:[["lv-profile-settings-banner"]],inputs:{me:[1,"me"]},decls:13,vars:9,consts:[[3,"click","padding","rounded"],[1,"profile-settings-banner"],[1,"profile-settings-banner__info"],[1,"profile-settings-banner__info--picture"],[3,"username","avatarColor"],[1,"profile-settings-banner__info--profile"],["data-testid","profile-settings-banner-username-text",1,"typography-label-l2"],["data-testid","profile-settings-banner-subscriber-digit",1,"typography-label-l3"],[1,"profile-settings-banner__button"],[3,"iconOnly","type"],[3,"iconName"]],template:function(Mt,o){1&Mt&&(m.j41(0,"lv-lib-card",0),m.bIt("click",function(){return o.Interaction.navigateToProfileSettingsPage()}),m.j41(1,"div",1)(2,"div",2)(3,"div",3),m.nrm(4,"lv-lib-avatar",4),m.k0s(),m.j41(5,"div",5)(6,"div",6),m.EFF(7),m.k0s(),m.j41(8,"div",7),m.EFF(9),m.k0s()()(),m.j41(10,"div",8)(11,"lv-lib-button",9),m.nrm(12,"lv-lib-icon-font",10),m.k0s()()()()),2&Mt&&(m.Y8G("padding",!1)("rounded",!0),m.R7$(4),m.Y8G("username",o.me().username)("avatarColor",o.me().avatar_color),m.R7$(3),m.SpI(" ",o.me().username," "),m.R7$(2),m.SpI(" ",o.me().follower_count," Follower "),m.R7$(2),m.Y8G("iconOnly",!0)("type","text"),m.R7$(),m.Y8G("iconName","keyboard_arrow_right"))},dependencies:[O.fw,O.Qp,O.ib,O.tl],styles:[".profile-settings-banner[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:var(--lv-spacing-m);cursor:pointer}.profile-settings-banner__info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--lv-spacing-xs)}.profile-settings-banner__info--profile[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-2xs)}"]})}}return jt})();var W=i(3801),z=i(8822);let se=(()=>{class jt{constructor(){this.clipboard=(0,h.WQX)(W.B0),this.snackBar=(0,h.WQX)(z.UG),this.me=b.hFB.required()}copyUserIdToClipboard(){this.clipboard.copy(String(this.me().id)),this.snackBar.open("ID copied successfully","Close",{duration:3e3})}static{this.\u0275fac=function(Mt){return new(Mt||jt)}}static{this.\u0275cmp=m.VBU({type:jt,selectors:[["lv-member-id-card"]],inputs:{me:[1,"me"]},decls:12,vars:11,consts:[[3,"paddingSize","rounded"],[1,"member-id-card"],[1,"member-id-wrapper"],[3,"iconName"],[1,"typography-label-l2"],[1,"typography-body-b3"],["data-testid","member-id-card-copy-btn",3,"click","iconOnly","type","size"]],template:function(Mt,o){1&Mt&&(m.j41(0,"lv-lib-card",0)(1,"div",1)(2,"div",2),m.nrm(3,"lv-lib-icon-font",3),m.j41(4,"p",4),m.EFF(5),m.nI1(6,"translate"),m.k0s()(),m.j41(7,"div",2)(8,"p",5),m.EFF(9),m.k0s(),m.j41(10,"lv-lib-button",6),m.bIt("click",function(){return o.copyUserIdToClipboard()}),m.nrm(11,"lv-lib-icon-font",3),m.k0s()()()()),2&Mt&&(m.Y8G("paddingSize","xs")("rounded",!0),m.R7$(3),m.Y8G("iconName","account"),m.R7$(2),m.JRh(m.bMT(6,9,"settings-page.member-id")),m.R7$(4),m.JRh(o.me().id),m.R7$(),m.Y8G("iconOnly",!0)("type","text")("size","sm"),m.R7$(),m.Y8G("iconName","file_copy"))},dependencies:[O.Qp,O.ib,O.tl,W.FQ,z._T,k.D9],styles:[".member-id-card[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.member-id-card[_ngcontent-%COMP%]   .member-id-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--lv-spacing-xs)}"]})}}return jt})(),G=(()=>{class jt{constructor(){this.onClick=(0,b.CGW)(),this.iconName=(0,b.hFB)("lock"),this.text=(0,b.hFB)("")}static{this.\u0275fac=function(Mt){return new(Mt||jt)}}static{this.\u0275cmp=m.VBU({type:jt,selectors:[["lv-setting-selection-card"]],inputs:{iconName:[1,"iconName"],text:[1,"text"]},outputs:{onClick:"onClick"},decls:9,vars:9,consts:[[3,"click","paddingSize","rounded"],[1,"password-card"],[1,"password-wrapper"],[3,"iconName"],[1,"typography-label-l2"],[3,"iconOnly","type"]],template:function(Mt,o){1&Mt&&(m.j41(0,"lv-lib-card",0),m.bIt("click",function(){return o.onClick.emit()}),m.j41(1,"div",1)(2,"div",2),m.nrm(3,"lv-lib-icon-font",3),m.j41(4,"p",4),m.EFF(5),m.nI1(6,"translate"),m.k0s()(),m.j41(7,"lv-lib-button",5),m.nrm(8,"lv-lib-icon-font",3),m.k0s()()()),2&Mt&&(m.Y8G("paddingSize","xs")("roun
496ded",!0),m.R7$(3),m.Y8G("iconName",o.iconName()),m.R7$(2),m.JRh(m.bMT(6,7,o.text())),m.R7$(2),m.Y8G("iconOnly",!0)("type","text"),m.R7$(),m.Y8G("iconName","keyboard_arrow_right"))},dependencies:[O.Qp,O.ib,O.tl,k.D9],styles:[".password-card[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;cursor:pointer}.password-card[_ngcontent-%COMP%]   .password-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--lv-spacing-xs)}"]})}}return jt})();var le=i(9115),_=i(9769),ge=i(6661),q=i(4446),Te=i(6994),Be=function(jt){return jt.IDLE="IDLE",jt.CANCEL_INITIATED="CANCEL_INITIATED",jt.POLLING="POLLING",jt}(Be||{});let we=(()=>{class jt{constructor(){this.cancellationPollMs=5e3,this.cancellationHardTimeoutMs=24e4,this.meService=(0,h.WQX)(q.Q),this.dialogManager=(0,h.WQX)(Te.n),this.cancelDialogRef=null,this.cancellationTimeoutId=null,this.cancellationRequested=(0,h.vPA)(!1),this.isPollingCancellation=(0,h.vPA)(!1),this.CANCEL_KEY="lv:cancel:pending:v1",this.me=this.meService.me,this.currentCancellationState=(0,c.EW)(()=>this.isPollingCancellation()?Be.POLLING:this.cancellationRequested()?Be.CANCEL_INITIATED:Be.IDLE),(0,h.QZP)(()=>{const Oe=this.isPollingCancellation(),Mt=this.me()?.subscription_data?.expire_at;if(Oe&&Mt)return this.stopCancellationPolling(),void this.cancellationRequested.set(!1)}),"1"===localStorage.getItem(this.CANCEL_KEY)&&(this.cancellationRequested.set(!0),this.pollUntilCancellationDone())}isCancellationIdle(){return this.currentCancellationState()===Be.IDLE}cancelSubscription(){this.getChurnkeyClient()?.init("show",this.buildChurnkeyOptions())}pollUntilCancellationDone(){this.isPollingCancellation()||(this.cancellationRequested.set(!0),this.isPollingCancellation.set(!0),localStorage.setItem(this.CANCEL_KEY,"1"),this.cancelDialogRef?.close(),this.cancelDialogRef=this.dialogManager.openChargebeeStatusDialog("cancel-pending"),this.meService.startPolling(this.cancellationPollMs),this.cancellationTimeoutId=setTimeout(()=>{this.isPollingCancellation()&&(this.stopCancellationPolling(),this.dialogManager.openChargebeeStatusDialog("cancel-error"))},this.cancellationHardTimeoutMs))}stopCancellationPolling(){this.meService.stopPolling(),this.isPollingCancellation.set(!1),this.cancellationTimeoutId&&(clearTimeout(this.cancellationTimeoutId),this.cancellationTimeoutId=null),this.cancelDialogRef?.close(),this.cancelDialogRef=null,localStorage.removeItem(this.CANCEL_KEY)}getChurnkeyClient(){return window.churnkey}buildChurnkeyOptions(){const Oe=this.me()?.subscription_data,Mt=Oe?.chargebee_data;return{subscriptionId:Oe?.id,customerId:Mt?.customer_id,authHash:Mt?.churnkey_access_token,appId:"k511wq4ya",mode:ge.c.churnkeyMode,provider:"chargebee",customerAttributes:{state:Oe?.db_state},onCancel:()=>{this.cancellationRequested.set(!0),localStorage.setItem(this.CANCEL_KEY,"1")},onClose:()=>{this.currentCancellationState()===Be.CANCEL_INITIATED&&this.pollUntilCancellationDone()}}}static{this.\u0275fac=function(Mt){return new(Mt||jt)}}static{this.\u0275prov=h.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();function X(jt,zt){if(1&jt){const Oe=m.RV6();m.j41(0,"div",5)(1,"lv-lib-button",13),m.nrm(2,"lv-lib-icon-font",14),m.k0s(),m.j41(3,"mat-menu",null,0)(5,"p",15),m.bIt("click",function(){h.eBV(Oe);const o=m.XpG();return h.Njj(o.onCancelSubscription.emit())}),m.EFF(6),m.nI1(7,"translate"),m.k0s()()()}if(2&jt){const Oe=m.sdS(4);m.R7$(),m.Y8G("matMenuTriggerFor",Oe),m.R7$(),m.Y8G("iconName","more_vert"),m.R7$(4),m.SpI(" ",m.bMT(7,3,"settings-page.cancel-subscription")," ")}}function ye(jt,zt){if(1&jt&&(m.j41(0,"div",7)(1,"span",16),m.EFF(2),m.k0s(),m.EFF(3),m.k0s()),2&jt){const Oe=zt.$implicit;m.R7$(2),m.JRh(Oe.label),m.R7$(),m.SpI(" ",Oe.value," ")}}function Q(jt,zt){1&jt&&(m.j41(0,"lv-lib-alert",8),m.EFF(1),m.nI1(2,"translate"),m.k0s()),2&jt&&(m.Y8G("showIcon",!0)("type","MAIN"),m.R7$(),m.SpI("",m.bMT(2,3,"settings-page.dunning-text")," "))}function ae(jt,zt){if(1&jt&&(m.j41(0,"div",12),m.EFF(1),m.k0s()),2&jt){const Oe=m.XpG();m.R7$(),m.SpI(" ",Oe.error()," ")}}let H=(()=>
496{class jt{constructor(){this.DATE_FORMAT="MM/dd/yyyy",this.datePipe=(0,h.WQX)(_.vh),this.translateService=(0,h.WQX)(k.c$),this.churnkeyService=(0,h.WQX)(we),this.translations=(0,C.ot)(this.translateService.get("settings-page")),this.me=b.hFB.required(),this.showMore=(0,b.hFB)(!1),this.lastChargeBeePlan=(0,b.hFB)(),this.error=(0,b.hFB)(""),this.onCancelSubscription=(0,b.CGW)(),this.onRevokeCancellation=(0,b.CGW)(),this.onOpenChargebeePortal=(0,b.CGW)(),this.onOpenChargebeeStatusDialog=(0,b.CGW)(),this.onOpenSelectedMembershipPlanDialog=(0,b.CGW)(),this.subscriptionData=(0,c.EW)(()=>this.me()?.subscription_data),this.subscriptionDBState=(0,c.EW)(()=>this.subscriptionData()?.db_state),this.subscriptionExpiredAt=(0,c.EW)(()=>this.subscriptionData()?.expire_at),this.chargebeeData=(0,c.EW)(()=>this.subscriptionData()?.chargebee_data),this.chargebeeDataStatus=(0,c.EW)(()=>this.chargebeeData()?.status),this.chargebeePlanIdentifier=(0,c.EW)(()=>this.chargebeeData()?.plan_id),this.statusList=(0,c.EW)(()=>this.getStatusListItems()),this.buttonConfig=(0,c.EW)(()=>this.getButtonConfig())}getStatusListItems(){const Oe=[{label:this.translations().plan,value:this.getCurrentPlanText()},{label:this.translations().state,value:this.getSubscriptionStateText()}];return["non_renewing","in_trial"].includes(this.chargebeeDataStatus()??"")&&this.subscriptionExpiredAt()&&Oe.push({label:this.translations()["abo-expiring"],value:this.datePipe.transform(this.subscriptionExpiredAt(),this.DATE_FORMAT)??""}),"active"===this.chargebeeDataStatus()&&this.churnkeyService.isCancellationIdle()&&Oe.push({label:this.translations()["abo-date"],value:this.datePipe.transform(this.chargebeeData()?.next_billing_at,this.DATE_FORMAT)??""}),Oe}getCurrentPlanText(){let Oe="";return this.chargebeePlanIdentifier()?.includes("linkvertise-premium-1-")?Oe=this.translations().planTypes.basic:this.chargebeePlanIdentifier()?.includes("premium")?Oe=this.translations().planTypes.premium:this.chargebeePlanIdentifier()?.includes("vip")&&(Oe=this.translations().planTypes.vip),`${Oe} (${this.chargebeePlanIdentifier()?.includes("year")?this.translations().yearly:this.translations().monthly})`}getSubscriptionStateText(){return this.churnkeyService.isCancellationIdle()?"non_renewing"===this.chargebeeDataStatus()?this.translations()["non-renewing"]:this.subscriptionDBState()===Yt.ACTIVE?this.subscriptionExpiredAt()?this.translations()["expiring-soon"]:this.translations().active:this.subscriptionDBState()===Yt.EXPIRED?"active"===this.chargebeeDataStatus()?this.translations().pending:this.translations().cancelled:this.subscriptionDBState()===Yt.DUNNING?this.translations().active:this.subscriptionDBState()===Yt.PENDING?this.translations().pending:"":this.translations().pending}getButtonConfig(){switch(this.subscriptionDBState()){case Yt.ACTIVE:return"non_renewing"===this.chargebeeDataStatus()||this.subscriptionExpiredAt()?{type:"success",disabled:!1,label:this.translations().revoke,mobileLabel:this.translations().revoke,onClick:()=>this.onRevokeCancellation.emit()}:{type:"primary",disabled:!1,label:this.translations().manage,mobileLabel:this.translations()["manage-mobile"],onClick:()=>this.onOpenChargebeePortal.emit()};case Yt.EXPIRED:if("cancelled"===this.chargebeeDataStatus())return{type:"success",disabled:!1,label:this.translations().reactivate,mobileLabel:this.translations()["reactivate-mobile"],onClick:()=>this.onOpenSelectedMembershipPlanDialog.emit()};break;case Yt.DUNNING:return{type:"success",disabled:!1,label:this.translations().reactivate,mobileLabel:this.translations()["reactivate-mobile"],onClick:()=>this.onOpenChargebeeStatusDialog.emit("premium-dunning")};case Yt.PENDING:return{type:"neutral",disabled:!0,label:this.translations().pending,mobileLabel:this.translations()["pending-mobile"]};default:console.error("Settingspage: Unhandled DB State:",this.subscriptionDBState())}return{type:"neutral",disabled:!0,label:this.translations().pending,mobileLabel:this.translations()["pending-mobile"]}}static{this.\u0275fac=function(Mt){return new(Mt||jt)}}static{this.\u0275cmp=m.VBU({type:jt,selectors:[["lv-premium-manager-card"]],inputs:{me:[1,"me"],showMore:[1,"showMore"],lastChargeBeePlan:[1,"lastChargeBeePlan"],error:[1,"error"]},outputs:{onCancelSubscription:"onCancelSubscription",onRevokeCancellation:"onRevokeCancellation",onOpenChargebeePortal:"onOpenChargebeePortal",onOpenChargebeeStatusDialog:"onOpenChargebeeStatusDialog",onOpenSelectedMembershipPlanDialog:"onOpenSelectedMembershipPlanDialog"},features:[m.Jv_([_.vh])],decls:18,vars:14,consts:[["menu","matMenu"],[3,"rounded","paddingSize"],[1,"abo-data","lv-card-container"],[1,"headline-wrapper"],[1,"typography-heading-h3"],[1,"button-wrapper__showMore"],[1,"abo-status-wrapper"],["data-testid","premium-manager-card-abo-status-name",1,"abo-status-element"],["data-testid","premium-manager-card-dunning-text",3,"showIcon","type"],["data-testid","premium-manager-card-action-btn","shape","round","size","lg",3,"click","type","disabled"],[1,"default-text"],[1,"default-text-mobile"],[1,"text-danger"],["data-testid","premium-manager-card-subscription-kebab-menu-icon","aria-label","Menu","type","text","shape","round","size","sm",3,"matMenuTriggerFor"],[3,"iconName"],["data-testid","premium-manager-card-cancel-subscription-btn",1,"cancel-subscription",3,"click"],[1,"status-category"]],template:function(Mt,o){1&Mt&&(m.j41(0,"lv-lib-card",1)(1,"div",2)(2,"div",3)(3,"h3",4),m.EFF(4),m.nI1(5,"translate"),m.k0s(),m.nVh(6,X,8,5,"div",5),m.k0s(),m.j41(7,"div",6),m.Z7z(8,ye,4,2,"div",7,m.fX1),m.k0s(),m.nVh(10,Q,3,5,"lv-lib-alert",8),m.j41(11,"div")(12,"lv-lib-button",9),m.bIt("click",function(){let nn;return null==(nn=o.buttonConfig().onClick)?null:nn()}),m.j41(13,"span",10),m.EFF(14),m.k0s(),m.j41(15,"span",11),m.EFF(16),m.k0s()()(),m.nVh(17,ae,2,1,"div",12),m.k0s()()),2&Mt&&(m.Y8G("rounded",!0)("paddingSize","l"),m.R7$(4),m.JRh(m.bMT(5,12,"settings-page.abo-title")),m.R7$(2),m.vxM(o.showMore()?6:-1),m.R7$(),m.AVh("abo-data-cancelled","cancelled"===o.chargebeeDataStatus()),m.R7$(),m.Dyx(o.statusList()),m.R7$(2),m.vxM("DUNNING"===o.subscriptionDBState()?10:-1),m.R7$(2),m.Y8G("type",o.buttonConfig().type)("disabled",o.buttonConfig().disabled),m.R7$(2),m.JRh(o.buttonConfig().label),m.R7$(2),m.JRh(o.buttonConfig().mobileLabel),m.R7$(),m.vxM(o.error()?17:-1))},dependencies:[O.Qp,O.ib,O.tl,le.kk,le.Cp,O.Cy,k.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
496--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
496--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.abo-data[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}.abo-data[_ngcontent-%COMP%]   .headline-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.abo-data[_ngcontent-%COMP%]   .headline-wrapper[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{font-weight:var(--lv-font-we
496ight-regular)}.abo-data[_ngcontent-%COMP%]   .abo-status-wrapper[_ngcontent-%COMP%]{display:flex;gap:var(--lv-spacing-m);line-height:var(--lv-line-height-xl)}.abo-data[_ngcontent-%COMP%]   .abo-status-wrapper.abo-data-cancelled[_ngcontent-%COMP%]{color:var(--lv-lightgrey)}@media screen and (width<=48rem){.abo-data[_ngcontent-%COMP%]   .abo-status-wrapper[_ngcontent-%COMP%]{gap:unset;flex-direction:column}}.abo-data[_ngcontent-%COMP%]   .abo-status-wrapper[_ngcontent-%COMP%]   .abo-status-element[_ngcontent-%COMP%]{font-size:var(--lv-font-size-300);font-weight:var(--lv-font-weight-light)}.abo-data[_ngcontent-%COMP%]   .abo-status-wrapper[_ngcontent-%COMP%]   .abo-status-element[_ngcontent-%COMP%]   .status-category[_ngcontent-%COMP%]{font-weight:var(--lv-font-weight-bold)}.abo-data[_ngcontent-%COMP%]   .default-text[_ngcontent-%COMP%]{display:none}@media screen and (width>=48rem){.abo-data[_ngcontent-%COMP%]   .default-text[_ngcontent-%COMP%]{display:unset}}.abo-data[_ngcontent-%COMP%]   .default-text-mobile[_ngcontent-%COMP%]{display:unset}@media screen and (width>=48rem){.abo-data[_ngcontent-%COMP%]   .default-text-mobile[_ngcontent-%COMP%]{display:none}}.cancel-subscription[_ngcontent-%COMP%]{margin:var(--lv-spacing-s) var(--lv-spacing-m);font-size:var(--lv-font-size-300);font-weight:var(--lv-font-weight-light);line-height:var(--lv-line-height-xl);cursor:pointer}']})}}return jt})();var _e=i(2855),We=i(2759),ht=i(5769),Vt=i(9882),an=i(6354),Et=i(5964),Gt=i(4572),at=i(1986),Ve=i(4768),Le=i(827),He=i(6967);const Ne=["premiumContent"],Ae=jt=>({price:jt});function qe(jt,zt){1&jt&&(m.j41(0,"div",4),m.nrm(1,"mat-spinner"),m.k0s())}function tt(jt,zt){1&jt&&(m.j41(0,"p")(1,"strong"),m.EFF(2),m.nI1(3,"translate"),m.k0s()()),2&jt&&(m.R7$(2),m.JRh(m.bMT(3,1,`ban-reason.${zt}`)))}function pt(jt,zt){if(1&jt&&(m.j41(0,"lv-lib-alert",17)(1,"div",18)(2,"p",19),m.EFF(3),m.nI1(4,"translate"),m.k0s(),m.nVh(5,tt,4,3,"p"),m.j41(6,"p"),m.EFF(7),m.nI1(8,"translate"),m.k0s(),m.nrm(9,"p",20),m.nI1(10,"translate"),m.k0s()()),2&jt){let Oe;const Mt=m.XpG();m.Y8G("showIcon",!0)("showClose",!1)("type","NEGATIVE"),m.R7$(3),m.SpI(" ",m.bMT(4,7,"sidebar-dashboard-popup-headline")," "),m.R7$(2),m.vxM((Oe=Mt.reason)?5:-1,Oe),m.R7$(2),m.JRh(m.bMT(8,9,"sidebar-dashboard-popup-appeal-hint")),m.R7$(2),m.Y8G("innerHTML",m.bMT(10,11,"sidebar-dashboard-popup-help-center"),m.npT)}}function Lt(jt,zt){1&jt&&m.nVh(0,pt,11,13,"lv-lib-alert",17),2&jt&&m.vxM(zt.banned?0:-1)}function ot(jt,zt){if(1&jt){const Oe=m.RV6();m.j41(0,"lv-lib-banner-diamond-background",21),m.nI1(1,"translate"),m.nI1(2,"translate"),m.nI1(3,"translate"),m.bIt("buttonClick",function(){h.eBV(Oe);const o=m.XpG(2);return h.Njj(o.setActiveTab(o.ActiveTab.PREMIUM))}),m.k0s()}if(2&jt){const Oe=m.XpG(2);m.Y8G("headlineText",m.bMT(1,3,"settings-page.premium-banner-headline"))("bodyText",m.bMT(2,5,"settings-page.premium-banner-text"))("buttonText",m.i5U(3,7,"settings-page.premium-banner-button",m.eq3(10,Ae,Oe.trialPrice())))}}function At(jt,zt){if(1&jt){const Oe=m.RV6();m.j41(0,"div",15)(1,"lv-setting-selection-card",22),m.bIt("onClick",function(){h.eBV(Oe);const o=m.XpG(2);return h.Njj(o.Interaction.navigateToPasswordResetPage())}),m.k0s(),m.j41(2,"lv-setting-selection-card",23),m.bIt("onClick",function(){h.eBV(Oe);const o=m.XpG(2);return h.Njj(o.Interaction.navigateToSensitivePostsSettingsPage())}),m.k0s(),m.nrm(3,"lv-member-id-card",24),m.k0s()}if(2&jt){const Oe=m.XpG(2);m.R7$(3),m.Y8G("me",Oe.me())}}function M(jt,zt){if(1&jt){const Oe=m.RV6();m.j41(0,"lv-premium-manager-card",27),m.bIt("onCancelSubscription",function(){h.eBV(Oe);const o=m.XpG(3);return h.Njj(o.cancelSubscription())})("onRevokeCancellation",function(){h.eBV(Oe);const o=m.XpG(3);return h.Njj(o.revokeCancellation())})("onOpenChargebeePortal",function(){h.eBV(Oe);const o=m.XpG(3);return h.Njj(o.openChargebeePortal())})("onOpenChargebeeStatusDialog",function(o){h.eBV(Oe);const it=m.XpG(3);return h.Njj(it.openChargebeeStatusDialog(o))})("onOpenSelectedMembershipPlanDialog",function(){h.eBV(Oe);const o=m.XpG(3);return h.Njj(o.openSelectedMembershipPlanDialog())}),m.k0s()}if(2&jt){const Oe=m.XpG(3);m.Y8G("me",Oe.me())("showMore",Oe.showMore())("lastChargeBeePlan",Oe.lastChargeBeePlan())("error",Oe.error())}}function gt(jt,zt){if(1&jt){const Oe=m.RV6();m.j41(0,"lv-membership-selection-card",28),m.bIt("clickedAction",function(o){h.eBV(Oe);const it=m.XpG(3);return h.Njj(it.onMembershipPlanCardAction(o))}),m.k0s()}2&jt&&m.Y8G("isAccessVariant",!1)}
496function pe(jt,zt){if(1&jt&&(m.j41(0,"div",16,0),m.nVh(2,M,1,4,"lv-premium-manager-card",25)(3,gt,1,1,"lv-membership-selection-card",26),m.k0s()),2&jt){const Oe=m.XpG(2);m.R7$(2),m.vxM(Oe.chargebeeData()?2:3)}}function lt(jt,zt){if(1&jt){const Oe=m.RV6();m.nVh(0,Lt,1,1),m.nVh(1,ot,4,12,"lv-lib-banner-diamond-background",5),m.nrm(2,"lv-profile-settings-banner",6),m.j41(3,"div",7)(4,"lv-lib-card",8)(5,"div",9)(6,"div",10),m.bIt("click",function(){h.eBV(Oe);const o=m.XpG();return h.Njj(o.setActiveTab(o.ActiveTab.ACCOUNT))}),m.nrm(7,"lv-lib-icon-font",11),m.j41(8,"div",12),m.nrm(9,"lv-lib-icon-font",13),m.j41(10,"div"),m.EFF(11),m.nI1(12,"translate"),m.k0s()()(),m.j41(13,"div",14),m.bIt("click",function(){h.eBV(Oe);const o=m.XpG();return h.Njj(o.setActiveTab(o.ActiveTab.PREMIUM))}),m.nrm(14,"lv-lib-icon-font",11),m.j41(15,"div",12),m.nrm(16,"lv-lib-icon-font",13),m.j41(17,"div"),m.EFF(18),m.nI1(19,"translate"),m.k0s()()()()(),m.nVh(20,At,4,1,"div",15),m.nVh(21,pe,4,1,"div",16),m.k0s()}if(2&jt){let Oe;const Mt=m.XpG();m.vxM((Oe=Mt.me())?0:-1,Oe),m.R7$(),m.vxM(Mt.chargebeeData()?-1:1),m.R7$(),m.Y8G("me",Mt.me()),m.R7$(2),m.Y8G("paddingSize","xs")("rounded",!0),m.R7$(2),m.AVh("active",Mt.activeTab()===Mt.ActiveTab.ACCOUNT),m.R7$(),m.Y8G("iconColor","white")("iconName","account")("customSize","5rem"),m.R7$(2),m.Y8G("iconColor",Mt.activeTab()===Mt.ActiveTab.ACCOUNT?"white":"lightgrey")("iconName","account"),m.R7$(2),m.JRh(m.bMT(12,23,"settings-page.account")),m.R7$(2),m.AVh("active",Mt.activeTab()===Mt.ActiveTab.PREMIUM),m.R7$(),m.Y8G("iconColor","white")("iconName","diamond")("customSize","5rem"),m.R7$(2),m.Y8G("iconColor",Mt.activeTab()===Mt.ActiveTab.PREMIUM?"white":"lightgrey")("iconName","diamond"),m.R7$(2),m.JRh(m.bMT(19,25,"settings-page.premium")),m.R7$(2),m.vxM(Mt.activeTab()===Mt.ActiveTab.ACCOUNT?20:-1),m.R7$(),m.vxM(Mt.activeTab()===Mt.ActiveTab.PREMIUM?21:-1)}}var Rt=function(jt){return jt.ACCOUNT="account",jt.PREMIUM="premium",jt}(Rt||{}),Yt=function(jt){return jt.ACTIVE="ACTIVE",jt.EXPIRED="EXPIRED",jt.DUNNING="DUNNING",jt.PENDING="PENDING",jt}(Yt||{});let Ut=(()=>{class jt{constructor(){this.ActiveTab=Rt,this.meService=(0,h.WQX)(q.Q),this.membershipPlanManagerService=(0,h.WQX)(Ve.o),this.userEventHandler=(0,h.WQX)(_e.z),this.dialogManager=(0,h.WQX)(Te.n),this.churnkeyService=(0,h.WQX)(we),this.languageService=(0,h.WQX)(We.g),this.translateService=(0,h.WQX)(k.c$),this.apiCheckoutService=(0,h.WQX)(ht.q),this.checkoutFlow=(0,h.WQX)(He.o),this.activatedRoute=(0,h.WQX)(Vt.nX),this.router=(0,h.WQX)(Vt.Ix),this.premiumContent=(0,b.ebz)("premiumContent"),this.error=(0,h.vPA)(""),this.me=this.meService.me,this.activeTab=(0,C.ot)(this.activatedRoute.queryParams.pipe((0,an.T)(Oe=>Oe.tab))),this.subscriptionData=(0,c.EW)(()=>this.me()?.subscription_data),this.subscriptionDBState=(0,c.EW)(()=>this.subscriptionData()?.db_state),this.subscriptionExpiredAt=(0,c.EW)(()=>this.subscriptionData()?.expire_at),this.chargebeeData=(0,c.EW)(()=>this.subscriptionData()?.chargebee_data),this.chargebeeDataStatus=(0,c.EW)(()=>this.chargebeeData()?.status),this.visiblePlans=this.membershipPlanManagerService.visibleMembershipPlans,this.lastSelectedPlanIdentifier=this.membershipPlanManagerService.lastSelectedPlanIdentifier,this.lastMembershipPlan=this.membershipPlanManagerService.lastMembershipPlan,this.Interaction=D.N,this.trialPrice=(0,c.EW)(()=>this.visiblePlans().find(Oe=>0===Oe.length)?this.translateService.instant("action-wall.free"):""),this.showMore=(0,c.EW)(()=>this.subscriptionDBState()===Yt.ACTIVE||this.subscriptionDBState()===Yt.DUNNING&&!this.subscriptionExpiredAt()),this.lastChargeBeePlan=(0,c.EW)(()=>{const Oe=this.lastMembershipPlan()??this.visiblePlans().find(Mt=>Mt?.chargebee_identifier?.startsWith("linkvertise-premium-|-1-month"));return!this.lastMembershipPlan()&&Oe&&(Oe.priceText=this.languageService.formatCurrencyForLocale(this.me()?.subscription_data?.chargebee_data?.estimated_price??Oe.price,Oe.currency,Oe.locale??"")??Oe.priceText),Oe}),this.plansContainLastPlan=(0,c.EW)(()=>this.visiblePlans().some(Oe=>Oe.chargebee_identifier===this.lastSelectedPlanIdentifier())),this.waitForScrollCondition().subscribe(()=>this.premiumContent()?.nativeElement.scrollIntoView({behavior:"smooth"})),(0,h.QZP)(()=>{this.subscriptionDBState()===Yt.EXPIRED&&"active"===this.chargebeeDataStatus()&&this.openChargebeeStatusDialog("premium-pending")})}setActiveTab(Oe){this.router.navigate([],{relativeTo:this.activatedRoute,queryParams:{tab:Oe},queryParamsHandling:"merge"})}openCheckout(Oe){Oe&&this.userEventHandler.startAccountWorkflow(_e.i.Checkout,{workflowPayload:{selectedPlanId:Oe}})}cancelSubscription(){this.churnkeyService.cancelSubscription()}openChargebeeStatusDialog(Oe){this.dialogManager.openChargebeeStatusDialog(Oe).afterClosed().subscribe(o=>{"premium-dunning"===o&&this.apiCheckoutService.handleChargebeePortal()})}onMembershipPlanCardAction(Oe){"CHANGE_PLAN"===Oe.action?this.openCheckout(Oe.plan?.id):console.error("Unhandled MembershipSelectionCardOutput")}openSelectedMembershipPlanDialog(){this.userEventHandler.startAccountWorkflow(_e.i.ReactivateSubscription,{workflowPayload:{lastPlan:this.lastChargeBeePlan()}})}openChargebeePortal(){this.apiCheckoutService.handleChargebeePortal()}revokeCancellation(){if(null===this.me()?.subscription_data?.chargebee_data?.primary_payment_source_id)return void this.apiCheckoutService.openChargebeeStatusAndHandlePortal("DUNNING");const Oe=this.lastChargeBeePlan();Oe?this.checkoutFlow.renewCheckout(Oe.id).subscribe({error:Mt=>this.error.set(Mt.message)}):this.error.set("No membership plan available")}waitForScrollCondition(){const Oe=this.router.events.pipe((0,Et.p)(o=>
496o instanceof Vt.wF)),Mt=(0,C.br)(this.premiumContent).pipe((0,Et.p)(o=>!!o));return(0,Gt.z)([Oe,Mt]).pipe((0,C.pQ)(),(0,at.c)(10))}static{this.\u0275fac=function(Mt){return new(Mt||jt)}}static{this.\u0275cmp=m.VBU({type:jt,selectors:[["lv-settings-page"]],viewQuery:function(Mt,o){1&Mt&&m.wEZ(o.premiumContent,Ne,5),2&Mt&&m.NyB()},decls:7,vars:1,consts:[["premiumContent",""],["content",""],[1,"back-button-container"],[1,"settings-wrapper"],[1,"mat-spinner-default"],[3,"headlineText","bodyText","buttonText"],["data-testid","settings-page-account-banner",3,"me"],[1,"settings"],[3,"paddingSize","rounded"],[1,"settings-tabs"],["data-testid","settings-page-account-settings-tab-btn",1,"account-settings-tab",3,"click"],[1,"tab-background-icon",3,"iconColor","iconName","customSize"],[1,"tab-content-wrapper"],[3,"iconColor","iconName"],["data-testid","settings-page-premium-settings-tab-btn",1,"premium-settings-tab",3,"click"],[1,"account-settings-content"],[1,"premium-settings-content"],[3,"showIcon","showClose","type"],[1,"banned-alert"],[1,"banned-alert__lead-text"],[3,"innerHTML"],[3,"buttonClick","headlineText","bodyText","buttonText"],["text","settings-page.password","iconName","lock","data-testid","settings-page-account-settings-password-card",3,"onClick"],["text","settings-page.sensitive-posts","iconName","front_hand","data-testid","settings-page-account-settings-password-card",3,"onClick"],[3,"me"],[3,"me","showMore","lastChargeBeePlan","error"],[3,"isAccessVariant"],[3,"onCancelSubscription","onRevokeCancellation","onOpenChargebeePortal","onOpenChargebeeStatusDialog","onOpenSelectedMembershipPlanDialog","me","showMore","lastChargeBeePlan","error"],[3,"clickedAction","isAccessVariant"]],template:function(Mt,o){1&Mt&&(m.j41(0,"lv-main-content-layout")(1,"div",1)(2,"div",2),m.nrm(3,"lv-back-button"),m.k0s(),m.j41(4,"div",3),m.nVh(5,qe,2,0,"div",4)(6,lt,22,27),m.k0s()()()),2&Mt&&(m.R7$(5),m.vxM(o.me()?6:5))},dependencies:[T.YN,T.X1,k.h,w.I,y.D6,y.LG,O.Ar,v.X,u,O.ib,O.tl,se,H,Le.e,G,O.Cy,k.D9],styles:[".settings-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}.settings-wrapper[_ngcontent-%COMP%]   .banned-alert__lead-text[_ngcontent-%COMP%]{font-size:var(--lv-font-size-400);font-weight:var(--lv-font-weight-medium);margin-bottom:var(--lv-spacing-xs)}.settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}.settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]{display:flex;gap:var(--lv-spacing-xs);cursor:pointer}.settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .account-settings-tab[_ngcontent-%COMP%], .settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .premium-settings-tab[_ngcontent-%COMP%]{width:50%;padding:var(--lv-spacing-m);border-radius:var(--lv-border-radius-xs);background-color:var(--lv-creme);color:var(--lv-lightgrey);position:relative;overflow:hidden}.settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .account-settings-tab.active[_ngcontent-%COMP%], .settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .premium-settings-tab.active[_ngcontent-%COMP%]{background-color:var(--lv-primary);color:var(--lv-white)}.settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .account-settings-tab.active[_ngcontent-%COMP%]   .tab-background-icon[_ngcontent-%COMP%], .settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .premium-settings-tab.active[_ngcontent-%COMP%]   .tab-background-icon[_ngcontent-%COMP%]{opacity:.3}.settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .account-settings-tab[_ngcontent-%COMP%]   .tab-background-icon[_ngcontent-%COMP%], .settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .premium-settings-tab[_ngcontent-%COMP%]   .tab-background-icon[_ngcontent-%COMP%]{position:absolute;right:-10%;top:50%;transform:translateY(-50%);opacity:0}
496.settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .account-settings-tab[_ngcontent-%COMP%]   .tab-content-wrapper[_ngcontent-%COMP%], .settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .settings-tabs[_ngcontent-%COMP%]   .premium-settings-tab[_ngcontent-%COMP%]   .tab-content-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:var(--lv-spacing-xs)}.settings-wrapper[_ngcontent-%COMP%]   .settings[_ngcontent-%COMP%]   .account-settings-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}.mat-spinner-default[_ngcontent-%COMP%]{display:flex;justify-content:center}"]})}}return jt})()},5609(vt,Y,i){i.d(Y,{J8:()=>b,pZ:()=>h});var h=function(C){return C[C.LOGIN=0]="LOGIN",C[C.CONFIRM=1]="CONFIRM",C[C.CLOSE=2]="CLOSE",C[C.UPDATEPLAN=3]="UPDATEPLAN",C[C.CANCEL=4]="CANCEL",C[C.REGISTER=5]="REGISTER",C}(h||{}),b=function(C){return C[C.LASTPLAN=0]="LASTPLAN",C[C.ALLPLANS=1]="ALLPLANS",C[C.CONFIRMEPLAN=2]="CONFIRMEPLAN",C}(b||{})},5253(vt,Y,i){i.d(Y,{w:()=>h});var h=function(b){return b.Privacy="privacy",b.Imprint="imprint",b.GTC="gtc",b.Withdraw="withdraw",b.AccountBanned="account-banned",b}(h||{})},4446(vt,Y,i){i.d(Y,{Q:()=>W});var h=i(5802),b=i(2271),c=i(4095),C=i(4589),T=i(6354),y=i(8141),O=i(2087),k=i(9079),w=i(7673),v=i(5964),D=i(7366),m=i(5342);let W=(()=>{class z{constructor(){this.apollo=(0,h.WQX)(C.Ic),this.queryRef=this.apollo.watchQuery({query:c.Ak}),this.watchMe$=this.queryRef.valueChanges.pipe((0,v.p)(G=>!G.loading),(0,y.M)(()=>this.isChecking.set(!1))),this.me$=this.watchMe$.pipe((0,T.T)(G=>G.data?.me??null)),this.isChecking=(0,h.vPA)(D.u.hasStoredToken()),this.meResolved$=this.me$.pipe((0,O.w)({first:8e3,with:()=>(0,w.of)(null)}),(0,y.M)(()=>this.isChecking.set(!1))),this.me=(0,k.ot)(this.me$,{initialValue:void 0}),this.followedUser=(0,b.EW)(()=>this.me()?.profile_subscriptions??[]),this.shouldBlurSensitiveContent=(0,b.EW)(()=>this.me()?.sensitive_post_setting!==m.j6.Show),this.dbState=(0,b.EW)(()=>this.me()?.subscription_data?.db_state),this.chargebeeData=(0,b.EW)(()=>this.me()?.subscription_data?.chargebee_data),this.isPremiumActive=(0,b.EW)(()=>{const G=this.me();if(void 0===G)return;const le=G?.subscription_data;return!!le&&!!le.chargebee_data&&["ACTIVE","NOTICED"].includes(le.db_state??"")}),this.isExpired=(0,b.EW)(()=>(this.chargebeeData()&&"EXPIRED"===this.dbState())??!1),this.isDunning=(0,b.EW)(()=>this.chargebeeData()&&"DUNNING"===this.dbState()),this.hasNeverBeenPremium=(0,b.uu)(()=>null===this.chargebeeData()||"TRIAL_AUTH_FAILED"==this.dbState()),this.isMember=(0,b.EW)(()=>!!this.me()?.id||this.isChecking()),this.hasUserStatusChanged=(0,h.vPA)(!1)}refetch(){this.queryRef.refetch()}markPremiumActive(){this.queryRef.updateQuery(G=>{if(!G.me)return G;const le=G.me.subscription_data;return{...G,me:{...G.me,subscription_data:{__typename:"UserSubscriptionData",id:null,...le,db_state:"ACTIVE",expire_at:null,chargebee_data:{__typename:"UserChargebeeData",customer_id:null,plan_id:null,status:null,primary_payment_source_id:null,churnkey_access_token:null,estimated_price:null,next_billing_at:null,collect_now_hosted_page_url:null,...le?.chargebee_data}}}}})}startPolling(G){this.queryRef.startPolling(G)}stopPolling(){this.queryRef.stopPolling()}updateUserSettings(G){return this.apollo.mutate({mutation:c.b2,variables:{input:G}}).pipe((0,y.M)(le=>{!le.error&&"sensitive_post_setting"in G&&this.evictCachedLinkQueries()}))}evictCachedLinkQueries(){const G=this.apollo.client.cache;["linkRecommendations","linkRecommendationsByIdentifier","linksByUserIdPaginated","followerFeedPaginated","search","posts"].forEach(le=>G.evict({id:"ROOT_QUERY",fieldName:le})),G.gc()}static{this.\u0275fac=function(le){return new(le||z)}}static{this.\u0275prov=h.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})()},8670(vt,Y,i){i.d(Y,{X:()=>w});var h=i(7705),b=i(5802),c=i(5984),C=i(5949),T=i(8018),y=i(9882),O=i(6637),k=i(5547);let w=(()=>{class v{constructor(){this.location=(0,b.WQX)(c.aZ),this.router=(0,b.WQX)(y.Ix),this.previousURL=this.router.lastSuccessfulNavigation()?.previousNavigation?.finalUrl?.toString()??"",this.labelText=(0,h.hFB)("back"),this.navigateOnClick=(0,h.hFB)(!0),this.clicked=(0,h.CGW)()}
496handleClick(){document.activeElement?.blur(),this.clicked.emit(),this.navigateOnClick()&&(this.previousURL.includes("/social-redirect")||!this.previousURL?O.N.navigateToHomePage():this.location.back())}static{this.\u0275fac=function(u){return new(u||v)}}static{this.\u0275cmp=k.VBU({type:v,selectors:[["lv-back-button"]],inputs:{labelText:[1,"labelText"],navigateOnClick:[1,"navigateOnClick"]},outputs:{clicked:"clicked"},decls:5,vars:5,consts:[["type","text","size","sm",3,"clicked"],[1,"back-button-wrapper"],["iconSize","sm",3,"iconName","iconColor"],[1,"typography-label-l3",3,"innerHTML"]],template:function(u,W){1&u&&(k.j41(0,"lv-lib-button",0),k.bIt("clicked",function(){return W.handleClick()}),k.j41(1,"div",1),k.nrm(2,"lv-lib-icon-font",2)(3,"p",3),k.nI1(4,"translate"),k.k0s()()),2&u&&(k.R7$(2),k.Y8G("iconName","arrow_back")("iconColor","secondary"),k.R7$(),k.Y8G("innerHTML",k.bMT(4,3,W.labelText()),k.npT))},dependencies:[C.tl,T.h,C.Qp,T.D9],styles:[".back-button-wrapper[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--lv-spacing-2xs)}"]})}}return v})()},830(vt,Y,i){i.d(Y,{c:()=>D});var h=i(7705),b=i(5802),c=i(5949),C=i(7708),T=i(7936),y=i(3801),O=i(8822),k=i(5547);function w(m,u){if(1&m&&(k.j41(0,"mat-label"),k.EFF(1),k.k0s()),2&m){const W=k.XpG();k.R7$(),k.JRh(W.labelText())}}function v(m,u){1&m&&(k.j41(0,"span",2),k.nrm(1,"lv-lib-icon-font",3),k.k0s()),2&m&&(k.R7$(),k.Y8G("iconName","file_copy"))}let D=(()=>{class m{constructor(){this.clipboard=(0,b.WQX)(y.B0),this.snackbar=(0,b.WQX)(O.UG),this.labelText=(0,h.hFB)(""),this.copyInputText=h.hFB.required(),this.snackBarText=(0,h.hFB)("URL copied successfully")}copyUserIdToClipboard(){const W=this.copyInputText();W&&(this.clipboard.copy(W),this.snackbar.open(this.snackBarText(),"Close",{duration:3e3}))}static{this.\u0275fac=function(z){return new(z||m)}}static{this.\u0275cmp=k.VBU({type:m,selectors:[["lv-copy-url"]],inputs:{labelText:[1,"labelText"],copyInputText:[1,"copyInputText"],snackBarText:[1,"snackBarText"]},decls:5,vars:6,consts:[["appearance","outline",1,"copy-url",3,"click","subscriptSizing","hideRequiredMarker"],["readonly","","matInput","","type","url","name","affiliate-url",3,"value","disabled"],["matSuffix","",1,"copy-url__suffix"],[3,"iconName"]],template:function(z,se){1&z&&(k.j41(0,"div")(1,"mat-form-field",0),k.bIt("click",function(){return se.copyUserIdToClipboard()}),k.nVh(2,w,2,1,"mat-label"),k.nrm(3,"input",1),k.nVh(4,v,2,1,"span",2),k.k0s()()),2&z&&(k.R7$(),k.Y8G("subscriptSizing","dynamic")("hideRequiredMarker",!0),k.R7$(),k.vxM(se.labelText()?2:-1),k.R7$(),k.Y8G("value",se.copyInputText())("disabled",!se.copyInputText()),k.R7$(),k.vxM(se.copyInputText()?4:-1))},dependencies:[T.rl,C.fg,T.nJ,c.tl,T.yw],styles:[".copy-url[_ngcontent-%COMP%]{width:100%;margin-top:var(--lv-spacing-m)}.copy-url__suffix[_ngcontent-%COMP%]{padding-right:var(--lv-spacing-m)}.mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-width:0;white-space:nowrap}mat-form-field[_ngcontent-%COMP%], input[_ngcontent-%COMP%]{cursor:pointer;-webkit-user-select:none;user-select:none}input[_ngcontent-%COMP%]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"]})}}return m})()},2218(vt,Y,i){i.d(Y,{I:()=>ye});var h=i(7705),b=i(5802),c=i(2271),C=i(5949),T=i(9882),y=i(9079),O=i(8018),k=i(6637),w=i(9213),v=i(5547);function D(Q,ae){1&Q&&(v.nrm(0,"p",5),v.nI1(1,"translate"),v.nrm(2,"p",6),v.nI1(3,"translate")),2&Q&&(v.Y8G("innerHTML",v.bMT(1,2,"no-followed-user-small-headline"),v.npT),v.R7$(2),v.Y8G("innerHTML",v.bMT(3,4,"no-followed-user-small-text"),v.npT))}function m(Q,ae){1&Q&&(v.nrm(0,"p",5),v.nI1(1,"translate"),v.nrm(2,"p",6),v.nI1(3,"translate")),2&Q&&(v.Y8G("innerHTML",v.bMT(1,2,"no-followed-user-large-headline"),v.npT),v.R7$(2),v.Y8G("innerHTML",v.bMT(3,4,"no-followed-user-large-text"),v.npT))}function u(Q,ae){if(1&Q){const H=v.RV6();v.j41(0,"div",4)(1,"lv-lib-button",7),v.bIt("click",function(We){b.eBV(H);const ht=v.XpG();return b.Njj(ht.loginClicked(We))}),v.EFF(2,"Login"),v.k0s(),v.j41(3,"lv-lib-button",7),v.bIt("click",function(We){b.eBV(H);const ht=v.XpG();return b.Njj(ht.registerClicked(We))}),v.EFF(4,"Register"),v.k0s()()}2&Q&&(v.R7$(),v.Y8G("isfullWidth",!0)("size","md")("shape","round")("type","neutral"),v.R7$(2),v.Y8G("isfullWidth",!0)("size","md")("shape","round")("type","primary"))}let W=(()=>{class Q{constructor(){this.bannerSize=(0,h.hFB)("small"),this.clickedLogin=(0,h.CGW)(),this.clickedReg
496ister=(0,h.CGW)()}loginClicked(H){this.clickedLogin.emit(H)}registerClicked(H){this.clickedRegister.emit(H)}static{this.\u0275fac=function(_e){return new(_e||Q)}}static{this.\u0275cmp=v.VBU({type:Q,selectors:[["lv-no-followed-banner"]],inputs:{bannerSize:[1,"bannerSize"]},outputs:{clickedLogin:"clickedLogin",clickedRegister:"clickedRegister"},decls:8,vars:10,consts:[[1,"banner"],[1,"icon-container"],[1,"heart-icon"],[1,"text-container"],[1,"button-container"],[1,"headline",3,"innerHTML"],[1,"text",3,"innerHTML"],[3,"click","isfullWidth","size","shape","type"]],template:function(_e,We){1&_e&&(v.j41(0,"div",0)(1,"div",1)(2,"mat-icon",2),v.EFF(3,"favorite"),v.k0s()(),v.j41(4,"div",3),v.nVh(5,D,4,6)(6,m,4,6),v.k0s(),v.nVh(7,u,5,8,"div",4),v.k0s()),2&_e&&(v.AVh("banner-small","small"===We.bannerSize())("banner-large","large"===We.bannerSize()),v.R7$(),v.AVh("icon-container-small-icon-mobile","small"===We.bannerSize()),v.R7$(3),v.AVh("text-container-small-text-mobile","small"===We.bannerSize()),v.R7$(),v.vxM("small"===We.bannerSize()?5:6),v.R7$(2),v.vxM("large"===We.bannerSize()?7:-1))},dependencies:[w.An,C.Qp,O.h,O.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;
496--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
496--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.banner[_ngcontent-%COMP%]{display:flex;background:var(--lv-white);border-radius:var(--lv-border-radius-s);gap:var(--lv-spacing-m);margin-top:0}@media screen and (width<48rem){.banner[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-m);width:var(--lv-sizing-pct-100);border-radius:0}}.banner-small[_ngcontent-%COMP%]{padding:var(--lv-spacing-m);flex-direction:row;align-items:center}.banner-large[_ngcontent-%COMP%]{flex-direction:column;align-items:center;padding:var(--lv-spacing-xl) var(--lv-spacing-m)}.banner[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   .heart-icon[_ngcontent-%COMP%]{color:var(--lv-red);width:var(--lv-sizing-7xl);height:var(--lv-sizing-7xl);font-size:var(--lv-sizing-7xl)}@media screen and (width<48rem){.banner[_ngcontent-%COMP%]   .icon-container-small-icon-mobile[_ngcontent-%COMP%]   .heart-icon[_ngcontent-%COMP%]{width:var(--lv-sizing-2xl);height:var(--lv-sizing-2xl);font-size:var(--lv-sizing-2xl)}}.banner[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{gap:var(--lv-spacing-2xs);text-align:center}.banner[_ngcontent-%COMP%]   .text-container-small-text-mobile[_ngcontent-%COMP%]{text-align:left}.banner[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{font-size:var(--lv-font-size-400);line-height:var(--lv-line-height-m)}.banner[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:var(--lv-font-size-300);line-height:var(--lv-line-height-xl)}.banner[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]{display:flex;gap:var(--lv-spacing-xs)}']})}}return Q})();const z=["avatarContent"],se=["*"];let G=(()=>{class Q{constructor(){this.limitLeft=(0,b.vPA)(!0),this.limitRight=(0,b.vPA)(!1),this.leftScroll=(0,b.vPA)(0),this.avatarContent=(0,h.ebz)("avatarContent"),this.SCROLL_STEP=150,this.hasInitialScrolled=!1,(0,b.QZP)(()=>{const H=this.leftScroll(),_e=this.avatarContent()?.nativeElement;(0,c.O8)(()=>{_e&&this.updateLimitsBasedOnValues(H,_e.scrollWidth,_e.clientWidth)})}),(0,v.mal)(()=>{this.tryScrollToSelected(),this.updateScrollLimits()})}ngAfterViewInit(){this.setupContentObserver()}ngOnDestroy(){this.resizeObserver?.disconnect()}scrollRight(){this.performScroll(this.SCROLL_STEP)}scrollLeft(){this.performScroll(-this.SCROLL_STEP)}onContentScroll(){this.updateScrollLimits()}setupContentObserver(){const H=this.avatarContent()?.nativeElement;H&&(this.resizeObserver=new ResizeObserver(()=>{this.updateScrollLimits(),this.hasInitialScrolled||this.tryScrollToSelected()}),this.resizeObserver.observe(H))}tryScrollToSelected(){const H=this.avatarContent()?.nativeElement;if(!(H&&H.children.length>0))return;if(!(H.scrollWidth>H.clientWidth))return void(this.hasInitialScrolled=!0);const ht=H.querySelector(".avatar-container-selected");ht&&(this.centerElement(ht,H),this.hasInitialScrolled=!0)}centerElement(H,_e){const an=H.offsetLeft-Math.floor((_e.clientWidth-H.clientWidth)/2);requestAnimationFrame(()=>{this.leftScroll.set(an),_e.scrollTo({left:an,behavior:"smooth"}),this.updateLimitsBasedOnValues(an,_e.scrollWidth,_e.clientWidth)})}performScroll(H){const _e=this.avatarContent()?.nativeElement;if(!_e)return;const We=this.leftScroll()+H;_e.scrollTo({left:We,behavior:"smooth"}),this.leftScroll.update(ht=>ht+H),this.updateScrollLimits()}updateScrollLimits(){const H=this.avatarContent()?.nativeElement;H&&this.updateLimitsBasedOnValues(H.scrollLeft,H.scrollWidth,H.clientWidth)}updateLimitsBasedOnValues(H,_e,We){this.limitLeft.set(H<=0);const ht=Math.ceil(H+We)>=_e;this.limitRight.set(ht)}static{this.\u0275fac=function(_e){return new(_e||Q)}}static{this.\u0275cmp=v.VBU({type:Q,selectors:[["lv-horizontal-avatar-scroll-container"]],viewQuery:function(_e,We){1&_e&&v.wEZ(We.avatarContent,z,5),2&_e&&v.NyB()},ngContentSelectors:se,decls:10,vars:12,consts:[["avatarContent",""],[1,"content-container"],[1,"button-container"],[1,"scroll-button","scroll-button-left",3,"click"],[3,"iconColor","iconName"],[1,"avatar-scroll-content",3,"scroll"],[1,"scroll-button","scroll-button-right",3,"click"]],template:function(_e,We){1&_e&&(v.NAR(),v.j41(0,"div",1)(1,"div",2)(2,"button",3),v.bIt("click",function(){return We.scrollLeft()}),v.nrm(3,"lv-lib-icon-font",4),v.k0s()(),v.j41(4,"div",5,0),v.bIt("scroll",function(){return We.onContentScroll()}),v.SdG(6),v.k0s(),v.j41(7,"div",2)(8,"button",6),v.bIt("click",function(){return We.scrollRight()}),v.nrm(9,"lv-lib-icon-font",4),v.k0s()()()),2&_e&&(v.AVh("content-container-right-fade",!We.limitRight())("content-container-left-fade",!We.limitLeft()),v.R7$(),v.AVh("button-container-hide",We.limitLeft()),v.R7$(2),v.Y8G("iconColor","white")("iconName","keyboard_arrow_left"),v.R7$(4),v.AVh("button-container-hide",We.limitRight()),v.R7$(2),v.Y8G("iconColor","white")("iconName","keyboard_arrow_right"))},dependencies:[C.tl],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
496--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
496--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.content-container[_ngcontent-%COMP%]{display:flex;align-items:center;position:relative}.content-container-right-fade[_ngcontent-%COMP%]:after{content:"";position:absolute;z-index:1;top:0;right:0;bottom:var(--lv-spacing-m);pointer-events:none;background-image:linear-gradient(to right,rgb(from var(--lv-black) r g b/0),var(--lv-creme));height:var(--lv-sizing-pct-100);width:163px}.content-container-left-fade[_ngcontent-%COMP%]:before{content:"";position:absolute;z-index:1;top:0;left:0;bottom:var(--lv-spacing-m);pointer-events:none;background-image:linear-gradient(to left,rgb(from var(--lv-black) r g b/0),var(--lv-creme));height:var(--lv-sizing-pct-100);width:163px}.content-container[_ngcontent-%COMP%]   .avatar-scroll-content[_ngcontent-%COMP%]{display:flex;gap:var(--lv-spacing-m);white-space:nowrap;overflow:hidden;position:relative;scrollbar-width:none}.content-container[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.content-container[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]{z-index:50}.content-container[_ngcontent-%COMP%]   .button-container-hide[_ngcontent-%COMP%]{display:none}.content-container[_ngcontent-%COMP%]   .scroll-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:var(--lv-sizing-pct-50);width:var(--lv-sizing-2xl);height:var(--lv-sizing-2xl);background-color:var(--lv-secondary);border:none;color:var(--lv-creme);position:absolute;top:var(--lv-sizing-pct-50);transform:translateY(var(--lv-sizing-neg-pct-50));cursor:pointer}.content-container[_ngcontent-%COMP%]   .scroll-button[_ngcontent-%COMP%]   lv-lib-icon-font[_ngcontent-%COMP%]{position:absolute;z-index:100}.content-container[_ngcontent-%COMP%]   .scroll-button-left[_ngcontent-%COMP%]{left:0}.content-container[_ngcontent-%COMP%]   .scroll-button-right[_ngcontent-%COMP%]{right:0}@media(hover:none){.content-container[_ngcontent-%COMP%]   .avatar-scroll-content[_ngcontent-%COMP%]{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.content-container[_ngcontent-%COMP%]   .avatar-scroll-content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}}@media screen and (hover:none)and (width<=48rem){.content-container[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]{display:none}}']})}}return Q})();const le=(Q,ae)=>ae.id;function _(Q,ae){if(1&Q){const H=v.RV6();v.j41(0,"lv-lib-avatar",7,0),v.bIt("avatarClicked",function(){const We=b.eBV(H).$implicit,ht=v.XpG(2);
496return b.Njj(ht.avatarClicked.emit(We.id))}),v.k0s()}if(2&Q){const H=ae.$implicit,_e=v.XpG(2);v.Y8G("id",H.id)("username",H.name)("avatarColor",H.avatar_color)("usernamePosition","bottom")("avatarDisplayMode",_e.getAvatarDisplayMode(H.id))}}function ge(Q,ae){if(1&Q){const H=v.RV6();v.j41(0,"div",1)(1,"div",3)(2,"lv-horizontal-avatar-scroll-container"),v.Z7z(3,_,2,5,"lv-lib-avatar",4,le),v.k0s()(),v.j41(5,"div",5)(6,"p",6),v.bIt("click",function(){b.eBV(H);const We=v.XpG();return b.Njj(We.redirectToAllFollowed())}),v.EFF(7),v.nI1(8,"translate"),v.k0s()()()}if(2&Q){const H=v.XpG();v.R7$(3),v.Dyx(H.followedUser()),v.R7$(4),v.SpI(" ",v.bMT(8,1,"All")," ")}}function q(Q,ae){1&Q&&v.nrm(0,"lv-no-followed-banner",2),2&Q&&v.Y8G("bannerSize","small")}let Te=(()=>{class Q{constructor(){this.activatedRoute=(0,b.WQX)(T.nX),this.isMember=h.hFB.required(),this.followedUser=(0,h.hFB)(null),this.avatarClicked=(0,h.CGW)(),this.paramMap=(0,y.ot)(this.activatedRoute.paramMap),this.activeProfileId=(0,c.EW)(()=>this.paramMap()?.get("id")?.toString()??null)}getAvatarDisplayMode(H){return null===this.activeProfileId()?"default":this.activeProfileId()===H?"selected":"dimmed"}redirectToAllFollowed(){k.N.navigateToAllFollowedUser()}static{this.\u0275fac=function(_e){return new(_e||Q)}}static{this.\u0275cmp=v.VBU({type:Q,selectors:[["lv-storyline"]],inputs:{isMember:[1,"isMember"],followedUser:[1,"followedUser"]},outputs:{avatarClicked:"avatarClicked"},decls:2,vars:1,consts:[["avatar",""],[1,"storyline-wrapper"],[3,"bannerSize"],[1,"storyline-wrapper__storyline-container"],["data-testid","story-line-avatar",3,"id","username","avatarColor","usernamePosition","avatarDisplayMode"],[1,"storyline-wrapper__button-container"],[1,"storyline-wrapper__button-container__button",3,"click"],["data-testid","story-line-avatar",3,"avatarClicked","id","username","avatarColor","usernamePosition","avatarDisplayMode"]],template:function(_e,We){if(1&_e&&v.nVh(0,ge,9,3,"div",1)(1,q,1,1,"lv-no-followed-banner",2),2&_e){let ht;v.vxM(We.isMember()&&(null==(ht=We.followedUser())?null:ht.length)>0&&void 0!==We.followedUser()?0:1)}},dependencies:[G,C.fw,W,O.h,O.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;
496--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
496--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.storyline-wrapper[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);display:flex;align-items:center;justify-content:space-between}@media screen and (width<48rem){.storyline-wrapper[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-m);padding:0 var(--lv-spacing-m)}}.storyline-wrapper__storyline-container[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);min-width:0}.storyline-wrapper__button-container__button[_ngcontent-%COMP%]{padding:0 var(--lv-sizing-m);color:var(--lv-orange);font-weight:var(--lv-font-weight-medium);cursor:pointer}']})}}return Q})();const Be=[[["","content",""]],[["","widget",""]],[["","widget-sticky",""]]],we=["[content]","[widget]","[widget-sticky]"];function X(Q,ae){if(1&Q){const H=v.RV6();v.j41(0,"lv-storyline",6),v.bIt("avatarClicked",function(We){b.eBV(H);const ht=v.XpG();return b.Njj(ht.openFollowedDetailPage(We))}),v.k0s()}if(2&Q){const H=v.XpG();v.xc7("display","block"),v.Y8G("followedUser",H.followedUser())("isMember",H.isMember())}}let ye=(()=>{class Q{constructor(){this.followedUser=(0,h.hFB)(null),this.currentFollowedUserId=(0,h.hFB)(null),this.showStoryline=(0,h.hFB)(!1),this.isMember=(0,h.hFB)(!1),this.hasWidget=(0,h.hFB)(!0)}openFollowedDetailPage(H){k.N.openFollowedDetailPage(H,this.currentFollowedUserId())}static{this.\u0275fac=function(_e){return new(_e||Q)}}static{this.\u0275cmp=v.VBU({type:Q,selectors:[["lv-main-content-layout"]],inputs:{followedUser:[1,"followedUser"],currentFollowedUserId:[1,"currentFollowedUserId"],showStoryline:[1,"showStoryline"],isMember:[1,"isMember"],hasWidget:[1,"hasWidget"]},ngContentSelectors:we,decls:9,vars:3,consts:[[1,"main-content"],[1,"content"],[3,"display","followedUser","isMember"],[1,"widgets"],[1,"widget"],[1,"widget__sticky"],[3,"avatarClicked","followedUser","isMember"]],template:function(_e,We){1&_e&&(v.NAR(Be),v.j41(0,"div",0)(1,"div",1),v.nVh(2,X,1,4,"lv-storyline",2),v.SdG(3),v.k0s(),v.j41(4,"div",3)(5,"div",4),v.SdG(6,1),v.k0s(),v.j41(7,"div",5),v.SdG(8,2),v.k0s()()()),2&_e&&(v.AVh("no-widget",!We.hasWidget()),v.R7$(2),v.vxM(We.showStoryline()?2:-1))},dependencies:[Te],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);
496--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
496--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}[_nghost-%COMP%]{--top-offset: 104px}.main-content[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;width:var(--lv-sizing-pct-100)}@media(width>=64rem){.main-content[_ngcontent-%COMP%]{grid-template-columns:2fr 1fr}}.main-content[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{min-width:0;margin-bottom:var(--lv-spacing-4xl)}@media(width>=64rem){.main-content[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-top:0;margin-right:var(--lv-spacing-l)}}.main-content[_ngcontent-%COMP%]   .widgets[_ngcontent-%COMP%]{display:none;height:var(--lv-sizing-pct-100);min-width:0}@media(width>=64rem){.main-content[_ngcontent-%COMP%]   .widgets[_ngcontent-%COMP%]{display:block;width:var(--lv-sizing-pct-100);align-self:start;top:var(--top-offset)}.main-content[_ngcontent-%COMP%]   .widgets[_ngcontent-%COMP%]   .widget__sticky[_ngcontent-%COMP%]{position:sticky;top:var(--top-offset)}}.main-content.no-widget[_ngcontent-%COMP%]{grid-template-columns:1fr}']})}}return Q})()},1942(vt,Y,i){i.d(Y,{B:()=>w});var h=i(7705),b=i(5949),c=i(8018),C=i(5342),T=i(8017),y=i(5547),O=i(5802);function k(v,D){if(1&v){const m=y.RV6();y.j41(0,"lv-lib-checkbox",4),y.bIt("click",function(W){const z=O.eBV(m).$implicit,se=y.XpG();return O.Njj(se.preventDeselect(z,W))})("checkboxChange",function(){const W=O.eBV(m).$implicit,z=y.XpG();return O.Njj(z.selectFilter(W))}),y.j41(1,"div",5),y.EFF(2),y.j41(3,"p"),y.EFF(4),y.nI1(5,"translate"),y.k0s()()()}if(2&v){const m=D.$implicit,u=y.XpG();y.Y8G("checked",u.selectedSetting()===m),y.R7$(2),y.SpI(" ",u.formatLabel(m)," "),y.R7$(2),y.JRh(y.bMT(5,3,"settings-page.sensitive-posts-item-description."+m))}}let w=(()=>{class v{constructor(){this.formatLabel=T.w,this.SensitivePostSetting=C.j6,this.filterOptions=Object.values(C.j6),this.selectedSetting=(0,h.geq)(null)}selectFilter(m){this.selectedSetting.set(m)}preventDeselect(m,u){this.selectedSetting()===m&&u.preventDefault()}static{this.\u0275fac=function(u){return new(u||v)}}static{this.\u0275cmp=y.VBU({type:v,selectors:[["lv-sensitive-post-settings"]],inputs:{selectedSetting:[1,"selectedSetting"]},outputs:{selectedSetting:"selectedSettingChange"},decls:8,vars:3,consts:[[1,"header-wrapper"],[1,"typography-body-b2"],[1,"sensitive-posts-settings-content"],[3,"checked"],[3,"click","checkboxChange","checked"],[1,"checkbox-label"]],template:function(u,W){1&u&&(y.j41(0,"div")(1,"div",0)(2,"p",1),y.EFF(3),y.nI1(4,"translate"),y.k0s()(),y.j41(5,"div",2),y.Z7z(6,k,6,5,"lv-lib-checkbox",3,y.Vm6),y.k0s()()),2&u&&(y.R7$(3),y.SpI(" ",y.bMT(4,1,"settings-page.sensitive-posts-description")," "),y.R7$(3),y.Dyx(W.filterOptions))},dependencies:[b.PY,c.D9],styles:[".header-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}.sensitive-posts-settings-content[_ngcontent-%COMP%]     .checkbox-container{margin-top:var(--lv-spacing-s);align-items:center}.sensitive-posts-settings-content[_ngcontent-%COMP%]     .checkbox-container__label{margin-top:0}.sensitive-posts-settings-content[_ngcontent-%COMP%]   .checkbox-label[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-2xs)}.sensitive-posts-settings-content[_ngcontent-%COMP%]   .checkbox-label[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--lv-dark-h
496over);font-size:var(--lv-font-size-200)}"]})}}return v})()},6366(vt,Y,i){i.d(Y,{S:()=>X});var h=i(4523),b=i(7705),c=i(5802),C=i(2271),T=i(5949),y=i(3719),O=i(7708),k=i(8018),w=i(9437),v=i(6354),D=i(4843),m=i(7673),u=i(9213),W=i(4257),z=i(4446),se=i(8822),G=i(3695),le=i(9844),_=i(5850),ge=i(5547),q=i(7936);function Te(ye,Q){1&ye&&(ge.j41(0,"mat-icon",4),ge.EFF(1,"done"),ge.k0s())}function Be(ye,Q){1&ye&&(ge.j41(0,"mat-icon",5),ge.EFF(1,"close"),ge.k0s())}function we(ye,Q){if(1&ye&&(ge.j41(0,"mat-error"),ge.EFF(1),ge.nI1(2,"translate"),ge.k0s()),2&ye){let ae;const H=ge.XpG();ge.R7$(),ge.JRh(ge.bMT(2,1,null==(ae=H.usernameForm().errorSummary()[0])?null:ae.message))}}let X=(()=>{class ye{constructor(){this.meService=(0,c.WQX)(z.Q),this.snackBar=(0,c.WQX)(se.UG),this.usernameModel=(0,c.vPA)({username:""}),this.buttonLabel=(0,b.hFB)(""),this.headerText=(0,b.hFB)(""),this.closeDialog=(0,b.CGW)(),this.ErrorKind=_.Fv,this.me=this.meService.me,this.hasSameUsername=(0,C.EW)(()=>this.usernameForm.username().value()===this.me()?.username),this.usernameForm=(0,le.Zd)(this.usernameModel,ae=>{(0,G.V_)(ae.username,{message:"username-form.error-required"}),(0,G.Bp)(ae.username,3,{message:"username-form.error-min-length"}),(0,G.Ru)(ae.username,40,{message:"username-form.error-max-length"}),(0,G.T1)(ae.username,/^$|^[A-Za-z0-9_-]+$/,{message:"username-form.error-pattern"})}),(0,c.QZP)(()=>{this.usernameForm.username().value.set(this.me()?.username??"")})}submit(ae){var H=this;return(0,h.A)(function*(){var _e;H.hasSameUsername()?H.closeDialog.emit():(ae.preventDefault(),yield(0,le.tA)(H.usernameForm,{action:(_e=(0,h.A)(function*(We){return(0,D._)(H.meService.updateUserSettings({id:H.me()?.id??"",username:We.username().value()??""}).pipe((0,v.T)(()=>{H.snackBar.open("Username changed successfully.","Close",{duration:3e3}),H.closeDialog.emit()}),(0,w.W)(ht=>{let Vt="";if(W.K.is(ht)){const an=ht.errors[0].extensions;an?.validation?Object.entries(an.validation).forEach(([,Et])=>{Vt=Et[0].replace(/\binput\.(\w+)/g,"$1")}):Vt=ht.message}return(0,m.of)({fieldTree:We.username().fieldTree,kind:_.Fv.SERVER,message:Vt})})))}),function(ht){return _e.apply(this,arguments)})}))})()}static{this.\u0275fac=function(H){return new(H||ye)}}static{this.\u0275cmp=ge.VBU({type:ye,selectors:[["lv-username-form"]],inputs:{buttonLabel:[1,"buttonLabel"],headerText:[1,"headerText"]},outputs:{closeDialog:"closeDialog"},decls:15,vars:14,consts:[[1,"username-data-wrapper"],[1,"typography-body-b2"],["appearance","outline",1,"input-field",3,"hideRequiredMarker","hintLabel"],["data-testid","username-form-username-input","matInput","","type","text",3,"formField"],["matSuffix","",1,"icon-done"],["matSuffix","",1,"icon-close"],[1,"button-wrapper"],["data-testid","username-form-request-username-btn",3,"click","rounded","disabled"]],template:function(H,_e){if(1&H&&(ge.j41(0,"div",0)(1,"p",1),ge.EFF(2),ge.k0s(),ge.j41(3,"mat-form-field",2),ge.nI1(4,"translate"),ge.j41(5,"mat-label"),ge.EFF(6),ge.nI1(7,"translate"),ge.k0s(),ge.nrm(8,"input",3),ge.qAN(),ge.nVh(9,Te,2,0,"mat-icon",4)(10,Be,2,0,"mat-icon",5),ge.nVh(11,we,3,3,"mat-error"),ge.k0s(),ge.j41(12,"div",6)(13,"lv-lib-button",7),ge.bIt("click",function(ht){return _e.submit(ht)}),ge.EFF(14),ge.k0s()()()),2&H){let We,ht;ge.R7$(2),ge.JRh(_e.headerText()),ge.R7$(),ge.Y8G("hideRequiredMarker",!0)("hintLabel",_e.hasSameUsername()?ge.bMT(4,10,"username-form.hint-text-same-username"):""),ge.R7$(3),ge.JRh(ge.bMT(7,12,"username-form.username")),ge.R7$(2),ge.Y8G("formField",_e.usernameForm.username),ge.QXe(),ge.R7$(),ge.vxM(_e.hasSameUsername()?9:(null==(We=_e.usernameForm().errorSummary()[0])?null:We.kind)===_e.ErrorKind.SERVER?10:-1),ge.R7$(2),ge.vxM((null==(ht=_e.usernameForm().errorSummary()[0])?null:ht.kind)!==_e.ErrorKind.USERNAME?11:-1),ge.R7$(2),ge.Y8G("rounded",!0)("disabled",_e.usernameForm.username().errors().length>0),ge.R7$(),ge.SpI(" ",_e.buttonLabel()," ")}},dependencies:[T.Qp,k.h,u.An,y.RG,q.rl,q.nJ,q.TL,q.yw,O.fS,O.fg,G.zB,k.D9],styles:[".username-data-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}.username-data-wrapper[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}.username-data-wrapper[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]   .icon-done[_ngcontent-%COMP%]{color:var(--lv-green)}.username-data-wrapper[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]   .icon-close[_ngcontent-%COMP%]{color:var(--lv-red)}.username-data-wrapper[_ngcontent-%COMP%]   .button-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]})}}return ye})()},5395(vt,Y,i){i.d(Y,{t:()=>u});var h=i(7705),b=i(5802),c=i(2271),C=i(5949),T=i(8018),y=i(9213),O=i(9183),k=i(9769),w=i(5547);function v(W,z){1&W&&w.nrm(0,"img",3)}function D(W,z){1&W&&w.nrm(0,"mat-spinner")}function m(W,z){if(1&W&&(w.j41(0,"mat-icon",4),w.EFF(1),w.k0s()),2&W){const se=w.XpG();w.Y8G("ngClass",se.statusIcon().className),w.R7$(),w.JRh(se.statusIcon().name)}}let u=(()=>{class W{constructor(){this.dialogRef=(0,b.WQX)(C.ce),this.onUserAction=(0,h.CGW)(),this.data=(0,b.WQX)(C.Qs),this.modalTitle=(0,b.vPA)(""),this.modalState=(0,b.vPA)(null),this.statusIcon=(0,c.EW)(()=>{switch(this.modalState()){case"active":return{kind:"icon",name:"check_circle",className:"active"};case"trial_auth_failed":return{kind:"icon",name:"pause_circle",className:"primary"};case"dunning":case"pending-failed":case"pending-support":case"premium-dunning":case"cancel-error":return{kind:"icon",name:"cancel",className:"pending"};default:return{kind:"spinner"}}})}ngOnInit(){const se=this.data?.status;se&&this.defaultTitleSwitch(se)}defaultTitleSwitch(se){this.modalState.set(se??"default"),this.modalTitle.set(`chargebee.status-modal.${se}.title`)}setStatus(se){this.defaultTitleSwitch(se)}handleButtonClick(se){"pending-support"!==se?(this.onUserAction.emit(),this.dialogRef.close(se)):window.open("https://help.linkvertise.com/hc/en-us","_blank")}static{this.\u0275fac=function(G){return new(G||W)}}static{this.\u0275cmp=w.VBU({type:W,selectors:[["lv-chargebee-status-modal"]],outputs:{onUserAction:"onUserAction"},decls:16,vars:16,consts:[["data-testid","chargebee-status-modal-popover",3,"size","showCloseIcon"],[1,"lv-center","lv-column","gap-1"],[1,"status-icon"],["src","assets/img/icons/alert.svg","width","75","height","75","alt",""],[3,"ngClass"],["data-testid","chargebee-status-modal-title",1,"typography-heading-h2"],[1,"typography-body-b2",3,"innerHTML"],[3,"alignment"],["data-testid","chargebee-status-modal-continue-btn",3,"click","rounded","size","disabled"]],template:function(G,le){1&G&&(w.j41(0,"lv-lib-popover",0)(1,"lv-lib-popover-body")(2,"div",1)(3,"div",2),w.nVh(4,v,1,0,"img",3)(5,D,1,0,"mat-spinner")(6,m,2,2,"mat-icon",4),w.k0s(),w.j41(7,"h2",5),w.EFF(8),w.nI1(9,"translate"),w.k0s(),w.nrm(10,"div",6),w.nI1(11,"translate"),w.k0s()(),w.j41(12,"lv-lib-popover-footer",7)(13,"lv-lib-button",8),w.bIt("click",function(){return le.handleButtonClick(le.modalState())}),w.EFF(14),w.nI1(15,"translate"),w.k0s()()()),2&G&&(w.Y8G("size","sm")("showCloseIcon",!1),w.R7$(4),w.vxM("trial_auth_failed"===le.modalState()?4:"spinner"===le.statusIcon().kind?5:6),w.R7$(4),w.SpI(" ",w.bMT(9,10,le.modalTitle())," "),w.R7$(2),w.Y8G("innerHTML",w.bMT(11,12,"chargebee.status-modal."+(le.modalState()??"default")+".description"),w.npT),w.R7$(2),w.Y8G("alignment","center"),w.R7$(),w.Y8G("rounded",!0)("size","fit-content")("disabled","default"===le.modalState()),w.R7$(),w.SpI(" ",w.bMT(15,14,"chargebee.status-modal."+(le.modalState()??"default")+".button-text")," "))},dependencies:[C.r3,C.ej,O.LG,y.An,C.Qp,T.h,C.Nq,k.YU,T.D9],styles:[".status-icon[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:var(--lv-sizing-7xl)}.status-icon[_ngcontent-%COMP%]   .pending[_ngcontent-%COMP%]{color:var(--lv-red);font-size:var(--lv-sizing-7xl);width:var(--lv-sizing-pct-100);height:var(--lv-sizing-pct-100)}.status-icon[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{color:var(--lv-green);font-size:var(--lv-sizing-7xl);width:var(--lv-sizing-pct-100);height:var(--lv-sizing-pct-100)}.status-icon[_ngcontent-%COMP%]   .primary[_ngcontent-%COMP%]{color:var(--lv-orange);font-size:var(--lv-sizing-7xl);width:var(--lv-sizing-pct-100);height:var(--lv-sizing-pct-100)}"]})}}return W})()},3099(vt,Y,i){i.d(Y,{Q:()=>X});var h=i(4523),b=i(5802),c=i(9417),C=i(9437),T=i(8018),y=i(5949),O=i(7708),k=i(7936),w=i(4843),v=i(7673),D=i(5558),m=i(7366),u=i(3695),W=i(9844),z=i(5850),se=i(4710),G=i(9213),le=i(3848),_=i(5547);function ge(ye,Q){1&ye&&(_.j41(0,"div",2),_.EFF(1),_.nI1(2,"translate"),_.k0s()),2&ye&&(_.R7$(),_.SpI(" ",_.bMT(2,1,"password-reset.success")," "))}function q(ye,Q){if(1&ye){const ae=_.RV6();_.j41(0,"lv-lib-alert",10),_.bIt("close",function(){b.eBV(ae);const _e=_.XpG(2);return b.Njj(_e.passwordResetForm().reset())}),_.j41(1,"div",2),_.EFF(2),_.nI1(3,"translate"),_.k0s()()}if(2&ye){let ae;const H=_.XpG(2);_.Y8G("showIcon",!0),_.R7$(2),_.SpI(" ",_.bMT(3,2,null==(ae=H.passwordResetForm().errors())||null==ae[0]?null:ae[0].message)," ")}}function Te(ye,Q){if(1&ye){const ae=_.RV6();_.j41(0,"div",3),_.nVh(1,q,4,4,"lv-lib-alert",5),_.j41(2,"mat-form-field",6)(3,"mat-label"),_.EFF(4),_.nI1(5,"translate"),_.k0s(),_.nrm(6,"input",7),_.qAN(),_.j41(7,"button",8),_.bIt("click",function(){b.eBV(ae);const _e=_.XpG();return b.Njj(_e.passwordVisibility.set(!_e.passwordVisibility()))}),_.j41(8,"mat-icon"),_.EFF(9),_.k0s()(),_.j41(10,"mat-error"),_.EFF(11),_.nI1(12,"translate"),_.k0s()(),_.j41(13,"mat-form-field",6)(14,"mat-label"),_.EFF(15),_.nI1(16,"translate"),_.k0s(),_.nrm(17,"input",9),_.qAN(),_.j41(18,"button",8),_.bIt("click",function(){b.eBV(ae);const _e=_.XpG();return b.Njj(_e.repeatPasswordVisibility.set(!_e.repeatPasswordVisibility()))}),_.j41(19,"mat-icon"),_.EFF(20),_.k0s()(),_.j41(21,"mat-error"),_.EFF(22),_.nI1(23,"translate"),_.k0s()()()}if(2&ye){let ae,H,_e;const We=_.XpG();_.R7$(),_.vxM((null==(ae=We.passwordResetForm().errors())||null==ae[0]?null:ae[0].kind)===We.ErrorKind.SERVER&&We.passwordResetForm().touched()?1:-1),_.R7$(),_.Y8G("hideRequiredMarker",!0),_.R7$(2),_.JRh(_.bMT(5,17,"registration.password")),_.R7$(2),_.Y8G("formField",We.passwordResetForm.password)("type",We.passwordVisibility()?"password":"text"),_.QXe(),_.R7$(),_.BMQ("aria-label","Hide password")("aria-pressed",We.passwordVisibility()),_.R7$(2),_.JRh(We.passwordVisibility()?"visibility_off":"visibility"),_.R7$(2),_.JRh(_.bMT(12,19,null==(H=We.passwordResetForm.password().errors())||null==H[0]?null:H[0].message)),_.R7$(2),_.Y8G("hideRequiredMarker",!0),_.R7$(2),_.JRh(_.bMT(16,21,"registration.repeat-password")),_.R7$(2),_.Y8G("formField",We.passwordResetForm.repeatPassword)("type",We.repeatPasswordVisibility()?"password":"text"),_.QXe(),_.R7$(),_.BMQ("aria-label","Hide password")("aria-pressed",We.repeatPasswordVisibility()),_.R7$(2),_.JRh(We.repeatPasswordVisibility()?"visibility_off":"visibility"),_.R7$(2),_.JRh(_.bMT(23,23,null==(_e=We.passwordResetForm.repeatPassword().errors())||null==_e[0]?null:_e[0].message))}}function Be(ye,Q){if(1&ye){const ae=_.RV6();_.j41(0,"lv-lib-button",11),_.bIt("click",function(){b.eBV(ae);const _e=_.XpG();return b.Njj(_e.closeDialog())}),_.EFF(1),_.nI1(2,"translate"),_.k0s()}2&ye&&(_.Y8G("rounded",!0),_.R7$(),_.SpI(" ",_.bMT(2,2,"button.log-in")," "))}function we(ye,Q){if(1&ye){const ae=_.RV6();_.j41(0,"lv-lib-button",12),_.bIt("click",function(){b.eBV(ae);const _e=_.XpG();return b.Njj(_e.closeDialog())}),_.EFF(1),_.nI1(2,"translate"),_.k0s(),_.j41(3,"lv-lib-button",13),_.bIt("click",function(_e){b.eBV(ae);const We=_.XpG();return b.Njj(We.submitPasswordReset(_e))}),_.EFF(4),_.nI1(5,"translate"),_.k0s()}if(2&ye){const ae=_.XpG();_.Y8G("type","text")("rounded",!0),_.R7$(),_.SpI(" ",_.bMT(2,6,"button.close")," "),_.R7$(2),_.Y8G("rounded",!0)("disabled",ae.passwordResetForm().submitting()||ae.passwordResetForm().invalid()),_.R7$(),_.SpI(" ",_.bMT(5,8,"button.reset")," ")}}let X=(()=>{class ye{constructor(){this.#e=(0,b.WQX)(y.Qs),this.#t=(0,b.WQX)(m.u),this.#r=(0,b.WQX)(y.ce),this.ErrorKind=z.Fv,this.passwordVisibility=(0,b.vPA)(!0),this.repeatPasswordVisibility=(0,b.vPA)(!0),this.passwordResetSuccessful=(0,b.vPA)(!1),this.#n=(0,b.vPA)({password:"",repeatPassword:""}),this.passwordResetForm=(0,W.Zd)(this.#n,ae=>{(0,u.V_)(ae.password,{message:"error-msg.required"}),(0,u.V_)(ae.repeatPassword,{message:"error-msg.required"}),(0,y.E8)(ae.repeatPassword,ae.password,"error-msg.psw.not_matched"),(0,se.O)(ae.password)})}#e;#t;#r;#n;submitPasswordReset(ae){var H=this;return(0,h.A)(function*(){ae.preventDefault(),yield(0,W.tA)(H.passwordResetForm,function(){var _e=(0,h.A)(function*(We){return yield(0,w._)(H.#t.postPasswordReset(We.password().value(
496),H.#e?.resetKey).pipe((0,D.n)(ht=>{if(ht?.data?.passwordReset.success)return H.passwordResetSuccessful.set(!0),(0,v.of)(void 0);{const Vt=ht?.data?.passwordReset?.message;return(0,v.of)({fieldTree:H.passwordResetForm().fieldTree,kind:z.Fv.SERVER,message:`error-msg.${Vt}`})}}),(0,C.W)(()=>(0,v.of)({fieldTree:H.passwordResetForm().fieldTree,kind:z.Fv.SERVER,message:"error-msg.server-error"}))))});return function(We){return _e.apply(this,arguments)}}()),H.#r.afterClosed().subscribe(()=>{H.passwordResetSuccessful()&&H.#t.hasToken()&&H.#t.logout()})})()}closeDialog(){this.#r.close()}static{this.\u0275fac=function(H){return new(H||ye)}}static{this.\u0275cmp=_.VBU({type:ye,selectors:[["lv-password-reset"]],decls:11,vars:5,consts:[[3,"close"],["spacing","default"],[1,"typography-body-b2"],[1,"password-reset-wrapper"],[1,"action-buttons__button",3,"rounded"],[3,"showIcon"],["appearance","outline","subscriptSizing","dynamic",3,"hideRequiredMarker"],["matInput","",3,"formField","type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["matInput","","onpaste","return false;","ondrop","return false;","autocomplete","off",3,"formField","type"],[3,"close","showIcon"],[1,"action-buttons__button",3,"click","rounded"],[1,"action-buttons__button",3,"click","type","rounded"],[1,"action-buttons__button",3,"click","rounded","disabled"]],template:function(H,_e){1&H&&(_.j41(0,"lv-lib-popover",0),_.bIt("close",function(){return _e.closeDialog()}),_.j41(1,"lv-lib-popover-header")(2,"h2"),_.EFF(3),_.nI1(4,"translate"),_.k0s()(),_.j41(5,"lv-lib-popover-body",1),_.nVh(6,ge,3,3,"div",2)(7,Te,24,25,"div",3),_.k0s(),_.j41(8,"lv-lib-popover-footer"),_.nVh(9,Be,3,4,"lv-lib-button",4)(10,we,6,10),_.k0s()()),2&H&&(_.R7$(3),_.SpI(" ",_.bMT(4,3,_e.passwordResetSuccessful()?"password-reset-successful":"premium-modal-password-reset-headline")," "),_.R7$(3),_.vxM(_e.passwordResetSuccessful()?6:7),_.R7$(3),_.vxM(_e.passwordResetSuccessful()?9:10))},dependencies:[y.r3,y.DI,y.ej,y.Cy,c.YN,c.X1,k.rl,k.nJ,O.fg,k.TL,y.Qp,T.h,u.zB,G.m_,G.An,le.iY,k.yw,y.Nq,T.D9],styles:[".password-reset-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--lv-spacing-m)}"]})}}return ye})()},125(vt,Y,i){i.d(Y,{U:()=>b});var h=i(6661);function b(){let c="",C=0;for(;C<3;)c+=h.c.isE2E?`randomUUID-${C}`:self.crypto.randomUUID(),C+=1;return c.slice(0,100)}},54(vt,Y,i){i.d(Y,{k:()=>O});var h=i(4523),b=i(2806),c=i(6354),C=i(5558);function T(k){return k?k.map(w=>({...w,id:String(w?.id),is_trending:w?.is_trending||!1,rating:w?.percentage_rating,todo_impression_count:w?.view_count,username:w?.publisher?.name,user_id:w?.publisher?.id,isAd:!1,buttonLabel:"get-access"})):null}function O(k,w){return v=>v.pipe((0,c.T)(D=>({links:T(D)})),(0,C.n)(({links:D})=>(0,b.H)((0,h.A)(function*(){return D&&(yield Promise.all(D.map(m=>k.handleThumbnailUrlFallbackGeneration(m))),function y(k,w){k.forEach((v,D)=>{Object.assign(k[D],{badges:w.getChipsData(v,!0)})})}(D,w)),D})())))}},6364(vt,Y,i){i.d(Y,{m:()=>C});var h=i(5802),b=i(345),c=i(5547);let C=(()=>{class T{constructor(){this.sanitizer=(0,h.WQX)(b.up)}transform(O,k){switch(k){case"html":return this.sanitizer.bypassSecurityTrustHtml(O);case"style":return this.sanitizer.bypassSecurityTrustStyle(O);case"script":return this.sanitizer.bypassSecurityTrustScript(O);case"url":return this.sanitizer.bypassSecurityTrustUrl(O);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(O);default:throw new Error(`Invalid safe type specified: ${k}`)}}static{this.\u0275fac=function(k){return new(k||T)}}static{this.\u0275pipe=c.EJ8({name:"safe",type:T,pure:!0})}}return T})()},4710(vt,Y,i){i.d(Y,{O:()=>O});var h=i(4589),b=i(5802),c=i(3695),C=i(9079),T=i(5850),y=i(4095);function O(w){const v=(0,b.WQX)(h.Ic);(0,c.F0)(w,{params:({value:D})=>D(),factory:D=>(0,C.ZX)({params:D,stream:({params:m})=>v.query({query:y.f,variables:{password:m}})}),onSuccess:D=>{const m=D.data?.validateUserAttribute.password;return m?.valid?null:function k(w){return w?.length?.passed?w?.number?.passed?w?.special_character?.passed?[{kind:T.Fv.PASSWORD,message:"error-msg.psw.general"}]:[{kind:T.Fv.PASSWORD,message:"error-msg.psw.special_character"}]:[{kind:T.Fv.PASSWORD,message:"error-msg.psw.number"}]:[{kind:T.Fv.PASSWORD,message:"error-msg.psw.length"}]}(m?.criteria)},onError:()=>null})}},6661(vt,Y,i){i.d(Y,{c:()=>c});const h="https://publisher.linkvertise.com",c={production:!0,isE2E:!1,showDetailPageAccessBypass:!1,showActionboxAccessBypass:!1,bypassContentAccessLimitsecret:void 0,baseUrl:`${h}/api/v1/`,graphqlUrl:`${h}/graphql`,bypassCheqRTIv2secret:void 0,captchaSiteKey:"6LeDA6MZAAAAADcqwPtRSw9M7RK9kMkQbOeYViTd",chargebeeSubDomain:"linkvertise",stripePublishableKey:"pk_live_uAaEHRP8mR7Mrsog3kt5manI",churnkeyM
496ode:"live",publisherBaseRedirectUrl:`${h}/`,googleClientId:"521784153974-23emdtieiertb1iged6s4ije0ff0g14j.apps.googleusercontent.com",discordClientId:"1512756210275848293",socialRedirectURI:"https://www.linkvertise.com/social-redirect"}},6274(vt,Y,i){var h=i(7705),b=i(6661),c=i(5802),C=i(9882),T=i(5949),y=i(9183),O=i(8018),k=i(4572),w=i(9172),v=i(5964),D=i(7484),m=i(7366),u=i(2271),W=i(2759);let z=(()=>{class p{constructor(){this.languageService=(0,c.WQX)(W.g),this.tcfEventStatus=(0,c.vPA)(null),this.isBannerVisible=(0,u.EW)(()=>this.tcfEventStatus()&&"cmpuishown"===this.tcfEventStatus()),this.loadedOrTimeoutReached=new c.bkB,this.loadTimeoutReached=!1,this.tcfListenerId=0,this.shouldLoad=(0,u.EW)(()=>this.languageService.isInEurope()),this.bootTimeout(),this.observeStatus()}initInMobi(){!function(){const l=window.location.hostname,f=document.createElement("script"),E=document.getElementsByTagName("script")[0],L="https://cmp.inmobi.com".concat("/choice/","qdwz11pX7Zrr6","/",l,"/choice.js?tag_version=V3");let J=0;f.async=!0,f.type="text/javascript",f.src=L,E.parentNode.insertBefore(f,E),function Ye(){const dn="__tcfapiLocator",Nn=[];let cr,Mn=window;for(;Mn;){try{if(Mn.frames[dn]){cr=Mn;break}}catch{}if(Mn===window.top)break;Mn=Mn.parent}cr||(function er(){const Nr=Mn.document,oi=!!Mn.frames[dn];if(!oi)if(Nr.body){const Yi=Nr.createElement("iframe");Yi.style.cssText="display:none",Yi.name=dn,Nr.body.appendChild(Yi)}else setTimeout(er,5);return!oi}(),Mn.__tcfapi=function mr(){let Nr;const oi=arguments;if(!oi.length)return Nn;"setGdprApplies"===oi[0]?oi.length>3&&2===oi[2]&&"boolean"==typeof oi[3]&&(Nr=oi[3],"function"==typeof oi[2]&&oi[2]("set",!0)):"ping"===oi[0]?"function"==typeof oi[2]&&oi[2]({gdprApplies:Nr,cmpLoaded:!1,cmpStatus:"stub"}):("init"===oi[0]&&"object"==typeof oi[3]&&(oi[3]=Object.assign(oi[3],{tag_version:"V3"})),Nn.push(oi))},Mn.addEventListener("message",function si(Nr){const oi="string"==typeof Nr.data;let Yi={};try{Yi=oi?JSON.parse(Nr.data):Nr.data}catch{}const ro=Yi.__tcfapiCall;ro&&window.__tcfapi(ro.command,ro.version,(co,la)=>{let gs={__tcfapiReturn:{returnValue:co,success:la,callId:ro.callId}};oi&&(gs=JSON.stringify(gs)),Nr&&Nr.source&&Nr.source.postMessage&&Nr.source.postMessage(gs,"*")},ro.parameter)},!1))}(),function rt(){const Nn=["2:tcfeuv2","6:uspv1","7:usnatv1","8:usca","9:usvav1","10:uscov1","11:usutv1","12:usctv1"];window.__gpp_addFrame=function(Mn){if(!window.frames[Mn])if(document.body){const cr=document.createElement("iframe");cr.style.cssText="display:none",cr.name=Mn,document.body.appendChild(cr)}else window.setTimeout(window.__gpp_addFrame,10,Mn)},window.__gpp_stub=function(){const Mn=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!Mn.length||1==Mn.length&&"queue"==Mn[0])return __gpp.queue;if(1==Mn.length&&"events"==Mn[0])return __gpp.events;const cr=Mn[0],er=Mn.length>1?Mn[1]:null,mr=Mn.length>2?Mn[2]:null;if("ping"===cr)er({gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:Nn,cmpId:10,sectionList:[],applicableSections:[-1],gppString:"",parsedSections:{}},!0);else if("addEventListener"===cr){"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;const si=__gpp.lastId;__gpp.events.push({id:si,callback:er,parameter:mr}),er({eventName:"listenerRegistered",listenerId:si,data:!0,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:Nn,cmpId:10,sectionList:[],applicableSections:[-1],gppString:"",parsedSections:{}}},!0)}else if("removeEventListener"===cr){let si=!1;for(let Nr=0;Nr<__gpp.events.length;Nr++)if(__gpp.events[Nr].id==mr){__gpp.events.splice(Nr,1),si=!0;break}er({eventName:"listenerRemoved",listenerId:mr,data:si,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:Nn,cmpId:10,sectionList:[],applicableSections:[-1],gppString:"",parsedSections:{}}},!0)}else"hasSection"===cr?er(!1,!0):"getSection"===cr||"getField"===cr?er(null,!0):__gpp.queue.push([].slice.apply(Mn))},window.__gpp_msghandler=function(Mn){const cr="string"==typeof Mn.data;try{var er=cr?JSON.parse(Mn.data):Mn.data}catch{er=null}if("object"==typeof er&&null!==er&&"__gppCall"in er){const mr=er.__gppCall;window.__gpp(mr.command,(si,Nr)=>{const oi={__gppReturn:{returnValue:si,success:Nr,callId:mr.callId}};Mn.source.postMessage(cr?JSON.stringify(oi):oi,"*")},"parameter"in mr?mr.parameter:null,"version"in mr?mr.version:"1.1")}},(!("__gpp"in window)||"function"!=typeof window.__gpp)&&(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator"))}();const qt=function(){const dn=arguments;typeof window.__uspapi!==qt&&setTimeout(()=>{typeof window.__uspapi<"u"&&window.__uspapi.apply(window.__uspapi,dn)},500)}
496,$t=function(){J++,window.__uspapi===qt&&J<3?console.warn("USP is not accessible"):clearInterval(mn)};if(typeof window.__uspapi>"u"){window.__uspapi=qt;var mn=setInterval($t,6e3)}}()}getCmpState(){if(!this.shouldLoad())return"NOT_APPLIED";if(!window.__tcfapi)return"PENDING";let l=null;return window.__tcfapi("ping",2,f=>{l=f.cmpLoaded?"LOADED":"PENDING"}),l}isCmpLoadedOrTimeoutReached(){return this.loadTimeoutReached||"LOADED"===this.getCmpState()}bootTimeout(){setTimeout(()=>this.loadTimeoutReached=!0,500)}observeStatus(){this.observeInterval=setInterval(()=>{this.isCmpLoadedOrTimeoutReached()&&(this.loadedOrTimeoutReached.emit(!0),clearInterval(this.observeInterval))},100)}startTcfListener(){const l=window.__tcfapi;l&&l("addEventListener",2,(f,E)=>{E&&("number"==typeof f?.listenerId&&(this.tcfListenerId=f.listenerId),this.tcfEventStatus.set(f?.eventStatus??null))})}stopTcfListener(){const l=window.__tcfapi;if(l&&null!==this.tcfListenerId)try{l("removeEventListener",2,()=>{},this.tcfListenerId)}catch{}this.tcfListenerId=0}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var se=i(3068),G=i(3099),le=i(3049),_=i(5547);function ge(p,a){if(1&p&&(_.j41(0,"div",0),_.EFF(1),_.nI1(2,"translate"),_.j41(3,"u",3),_.EFF(4),_.nI1(5,"translate"),_.k0s(),_.EFF(6),_.nI1(7,"translate"),_.k0s()),2&p){const l=_.XpG(2);_.R7$(),_.SpI(" ",_.bMT(2,4,"chargebee.non-renewing.canceled")," "),_.R7$(2),_.Y8G("routerLink",l.settingsURLTree),_.R7$(),_.SpI(" ",_.bMT(5,6,"chargebee.non-renewing.here")," "),_.R7$(2),_.SpI(" ",_.bMT(7,8,"chargebee.non-renewing.reactivate")," ")}}function q(p,a){if(1&p&&(_.j41(0,"div",1),_.EFF(1),_.nI1(2,"translate"),_.j41(3,"u",3),_.EFF(4),_.nI1(5,"translate"),_.k0s(),_.EFF(6),_.nI1(7,"translate"),_.k0s()),2&p){const l=_.XpG(2);_.R7$(),_.SpI(" ",_.bMT(2,4,"chargebee.inactive")," "),_.R7$(2),_.Y8G("routerLink",l.settingsURLTree),_.R7$(),_.SpI(" ",_.bMT(5,6,"chargebee.non-renewing.here")," "),_.R7$(2),_.SpI(" ",_.bMT(7,8,"chargebee.non-renewing.reactivate")," ")}}function Te(p,a){if(1&p&&(_.j41(0,"div",2),_.EFF(1),_.nI1(2,"translate"),_.j41(3,"a",4),_.EFF(4),_.nI1(5,"translate"),_.k0s(),_.EFF(6),_.nI1(7,"translate"),_.k0s()),2&p){const l=_.XpG(2);_.R7$(),_.SpI(" ",_.bMT(2,4,"chargebee.dunning-payment.payment")," "),_.R7$(2),_.Y8G("href",l.collectNowHostedPageUrl(),_.B4B),_.R7$(),_.JRh(_.bMT(5,6,"chargebee.dunning-payment.pay-now")),_.R7$(2),_.SpI(" ",_.bMT(7,8,"chargebee.dunning-payment.continue")," ")}}function Be(p,a){if(1&p&&(_.qex(0),_.nVh(1,ge,8,10,"div",0),_.nVh(2,q,8,10,"div",1),_.nVh(3,Te,8,10,"div",2),_.bVm()),2&p){const l=_.XpG();_.R7$(),_.vxM("non_renewing"===l.chargebeeData().status||"in_trial"===l.chargebeeData().status&&l.currentUser().subscription_data.expire_at?1:-1),_.R7$(),_.vxM("EXPIRED"===l.currentUser().subscription_data.db_state&&"cancelled"===l.chargebeeData().status?2:-1),_.R7$(),_.vxM("DUNNING"===l.currentUser().subscription_data.db_state&&l.collectNowHostedPageUrl?3:-1)}}let we=(()=>{class p{constructor(){this.router=(0,c.WQX)(C.Ix),this.currentUser=h.hFB.required(),this.locale=(0,h.hFB)(""),this.currency=(0,c.vPA)(""),this.settingsURLTree=this.router.createUrlTree(["/settings"],{queryParams:{tab:"premium"}}),this.chargebeeData=(0,u.EW)(()=>this.currentUser()?.subscription_data?.chargebee_data),this.collectNowHostedPageUrl=(0,u.EW)(()=>this.chargebeeData()?.collect_now_hosted_page_url)}ngOnInit(){!this.currentUser()||!this.chargebeeData()||this.currency.set(this.chargebeeData()?.plan_id?.includes("usd")?"$":"\u20ac")}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=_.VBU({type:p,selectors:[["lv-chargebee-account-alerts"]],inputs:{currentUser:[1,"currentUser"],locale:[1,"locale"]},decls:1,vars:1,consts:[[1,"message","non-renewing"],[1,"message","cancelled"],[1,"message","dunning"],[1,"pointer",3,"routerLink"],[1,"pointer",3,"href"]],template:function(f,E){1&f&&_.nVh(0,Be,4,3,"ng-container"),2&f&&_.vxM(E.currentUser()&&E.chargebeeData()?0:-1)},dependencies:[le.Wk,O.h,O.D9],styles:[".message[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);color:var(--lv-white);background-color:var(--lv-darkgrey);font-size:var(--lv-font-size-300);padding:var(--lv-spacing-m) var(--lv-spacing-4xl)}.message.non-renewing[_ngcontent-%COMP%]{background-color:var(--lv-red)}.message.cancelled[_ngcontent-%COMP%]{background-color:var(--lv-darkgrey)!important}.message.dunning[_ngcontent-%COMP%]{background-color:var(--lv-red)!important}.message.dunning[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline!important;color:var(--lv-white)}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]})}}return p})();var X=i(9213),ye=i(2855),Q=i(6994),ae=i(6637),H=i(1820),_e=i(7415);let We=(()=>{class p{#e="searchterms";#t=14;getSearchTerms(){const l=localStorage.getItem(this.#e);return l?JSON.parse(l):[]}
496sortSearchTerms(l){let f=[l,...this.getSearchTerms().filter(E=>E!==l)];localStorage.setItem(this.#e,JSON.stringify(f))}addSearchTerm(l){const f=this.getSearchTerms();f.includes(l)||(f.unshift(l),f.length>this.#t&&f.pop(),localStorage.setItem(this.#e,JSON.stringify(f)))}deleteSearchTerm(l){const f=this.getSearchTerms().filter(E=>E!==l);localStorage.setItem(this.#e,JSON.stringify(f))}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var ht=i(9393),Vt=i(9769),an=i(7708),Et=i(3719),Gt=i(9417),at=function(p){return p[p.State=0]="State",p[p.Transition=1]="Transition",p[p.Sequence=2]="Sequence",p[p.Group=3]="Group",p[p.Animate=4]="Animate",p[p.Keyframes=5]="Keyframes",p[p.Style=6]="Style",p[p.Trigger=7]="Trigger",p[p.Reference=8]="Reference",p[p.AnimateChild=9]="AnimateChild",p[p.AnimateRef=10]="AnimateRef",p[p.Query=11]="Query",p[p.Stagger=12]="Stagger",p}(at||{});const Ve="*";function Le(p,a){return{type:at.Trigger,name:p,definitions:a,options:{}}}function He(p,a=null){return{type:at.Animate,styles:a,timings:p}}function qe(p){return{type:at.Style,styles:p,offset:null}}function tt(p,a,l){return{type:at.State,name:p,styles:a,options:l}}function Lt(p,a,l=null){return{type:at.Transition,expr:p,animation:a,options:l}}class lt{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(a=0,l=0){this.totalTime=a+l}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const l="start"==a?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}}class Rt{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(a){this.players=a;let l=0,f=0,E=0;const L=this.players.length;0==L?queueMicrotask(()=>this._onFinish()):this.players.forEach(J=>{J.onDone(()=>{++l==L&&this._onFinish()}),J.onDestroy(()=>{++f==L&&this._onDestroy()}),J.onStart(()=>{++E==L&&this._onStart()})}),this.totalTime=this.players.reduce((J,Me)=>Math.max(J,Me.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const l=a*this.totalTime;this.players.forEach(f=>{const E=f.totalTime?Math.min(1,l/f.totalTime):1;f.setPosition(E)})}getPosition(){const a=this.players.reduce((l,f)=>null===l||f.totalTime>l.totalTime?f:l,null);return null!=a?a.getPosition():0}
496beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const l="start"==a?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}}var Ut=i(7936);const jt=["searchInput"],zt=[[["","search-history",""]]],Oe=["[search-history]"],Mt=p=>({"disabled-overlay":p});function o(p,a){if(1&p&&_.nrm(0,"div",1),2&p){const l=_.XpG();_.Y8G("@overlaySlide",l._isCollapsed()?"hide":"show")}}function it(p,a){if(1&p){const l=_.RV6();_.j41(0,"mat-icon",7),_.bIt("mousedown",function(E){c.eBV(l);const L=_.XpG();return c.Njj(L.onClearSearchValueMouseDown(E))})("click",function(){c.eBV(l);const E=_.XpG();return c.Njj(E.onClearSearchValue())}),_.EFF(1," close "),_.k0s()}2&p&&_.Y8G("@iconFade",void 0)}let nn=(()=>{class p{constructor(){this.searchSubmitted=(0,h.CGW)(),this.animation=(0,h.hFB)(!1),this._isCollapsed=(0,c.vPA)(!0),this.isCollapsedChange=(0,h.CGW)(),this._showCloseIcon=(0,c.vPA)(!1),this.searchValue=(0,h.geq)(""),this.defaultPlaceholder=(0,h.hFB)("Placeholder")}onAnimationDone(){this._showCloseIcon.set(!this._isCollapsed()),this.isCollapsedChange.emit(this._isCollapsed())}onInputFocusOut(l){if(this.animation()&&this._isCollapsed())return;const f=l.relatedTarget;f?.closest(".btn-delete")?this.searchInput.nativeElement.focus():this.animation()?setTimeout(()=>this.collapseSearchBar(),100):(!f||!f.closest(".form-field-container"))&&this.collapseSearchBar()}expandSearchBar(){this._isCollapsed()&&(this._isCollapsed.set(!1),this.isCollapsedChange.emit(!1))}collapseSearchBar(){this._isCollapsed()||(this._isCollapsed.set(!0),this.isCollapsedChange.emit(!0))}onClearSearchValueMouseDown(l){l.preventDefault()}onClearSearchValue(){this.searchValue()?this.searchValue.set(""):this._isCollapsed.set(!0)}onEnterPressed(l){this.searchValue()&&(this.searchSubmitted.emit(this.searchValue()),this.collapseSearchBar(),l.blur())}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=_.VBU({type:p,selectors:[["lv-search-bar"]],viewQuery:function(f,E){if(1&f&&_.GBs(jt,7),2&f){let L;_.mGM(L=_.lsd())&&(E.searchInput=L.first)}},inputs:{animation:[1,"animation"],searchValue:[1,"searchValue"],defaultPlaceholder:[1,"defaultPlaceholder"]},outputs:{searchSubmitted:"searchSubmitted",isCollapsedChange:"isCollapsedChange",searchValue:"searchValueChange"},ngContentSelectors:Oe,decls:9,vars:12,consts:[["searchInput",""],[1,"searchbar-overlay"],[1,"form-field-container",3,"ngClass"],["appearance","outline","data-testid","lv-lib-search-bar"],["matInput","","type","search","name","search","autocomplete","off",1,"input",3,"ngModelChange","keydown.enter","focus","focusout","ngModel","placeholder"],["matIconPrefix","",1,"input-leading-icon",3,"click"],["matIconSuffix","",1,"input-trailing-icon"],["matIconSuffix","",1,"input-trailing-icon",3,"mousedown","click"]],template:function(f,E){if(1&f){const L=_.RV6();_.NAR(zt),_.nVh(0,o,1,1,"div",1),_.j41(1,"div",2),_.bIt("@collapseAnimation.done",function(){return E.onAnimationDone()}),_.j41(2,"mat-form-field",3)(3,"input",4,0),_.mxI("ngModelChange",function(Me){return c.eBV(L),_.DH7(E.searchValue,Me)||(E.searchValue=Me),c.Njj(Me)}),_.bIt("keydown.enter",function(){c.eBV(L);const Me=_.sdS(4);return c.Njj(E.onEnterPressed(Me))})("focus",function(){return E.expandSearchBar()})("focusout",function(Me){return E.onInputFocusOut(Me)}),_.k0s(),_.j41(5,"mat-icon",5),_.bIt("click",function(){return E.expandSearchBar()}),_.EFF(6," search "),_.k0s(),_.nVh(7,it,2,1,"mat-icon",6),_.k0s(),_.SdG(8),_.k0s()}2&f&&(_.vxM(E.animation()?0:-1),_.R7$(),_.AVh("disabled-overlay",!E._isCollapsed()),_.Y8G("ngClass",_.eq3(10,Mt,!E._isCollapsed()))("@collapseAnimation",E._isCollapsed()&&E.animation()?"collapsed":"expanded"),_.R7$(),_.AVh("not-focused",E._isCollapsed()),_.R7$(),_.R50("ngModel",E.searchValue),_.Y8G("placeholder",E.defaultPlaceholder()),_.R7$(4),_.vxM(!E._isCollapsed()&&E._showCloseIcon()?7:-1))},dependencies:[Et.RG,Ut.rl,Ut.JW,Ut.yw,an.fS,an.fg,X.An,Gt.YN,Gt.me,Gt.BC,Gt.vS,Vt.YU],styles:["lv-search-bar .searchbar-overlay{position:absolute;top:calc(-1 * var(--lv-spacing-s));left:calc(-1 * var(--lv-spacing-m));right:calc(-1 * var(--lv-spacing-m));height:100dvh;background-color:rgb(from var(--lv-black) r g b/.32);z-index:5}lv-search-bar .form-field-container{position:relative;z-index:10}lv-search-bar .form-field-container.disabled-overlay{pointer-events:auto}lv-search-bar .form-field-container:not(.disabled-overlay){pointer-events:none}lv-search-bar mat-form-field{width:var(--lv-sizing-pct-100);position:absolute;height:var(--lv-sizing-2xl);pointer-events:auto}lv-search-bar .mat-mdc-form-field-subscript-wrapper{display:none}lv-search-bar .mat-mdc-form-field-flex{align-items:center!important;height:var(--lv-sizing-pct-100)}lv-search-bar .mdc-notched-outline__notch,lv-search-bar .mdc-notched-outline__leading,lv-search-bar .mdc-notched-outline__trailing{border:none}lv-search-bar .mat-mdc-form-field-icon-prefix,lv-search-bar [dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 var(--lv-spacing-xs) 0 0}lv-search-bar .mat-mdc-text-field-wrapper{height:var(--lv-sizing-2xl);padding-inline:var(--lv-spacing-xs);border-radius:var(--lv-border-radius-s);background-color:var(--lv-creme)}lv-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--focused{outline:none;box-shadow:0 0 0 var(--lv-extra-spacing-4xs) var(--lv-orange)}lv-search-bar .mat-mdc-form-field-icon-prefix{display:flex}lv-search-bar .mat-mdc-form-field-icon-prefix mat-icon{padding:0 0 0 var(--lv-extra-spacing-xs)!important}lv-search-bar .mat-mdc-form-field-infix{display:flex;padding:0}lv-search-bar .input{color:var(--lv-black);caret-color:var(--lv-black)}
496lv-search-bar .input::placeholder{color:var(--lv-dark-hover)}lv-search-bar .input-leading-icon{padding-right:var(--lv-spacing-xs);color:var(--lv-dark-hover)}lv-search-bar .input-trailing-icon{color:var(--lv-dark-hover);cursor:pointer}lv-search-bar .not-focused .mdc-text-field--focused{box-shadow:none}\n"],encapsulation:2,data:{animation:[Le("overlaySlide",[tt("hide",qe({display:"none"})),tt("show",qe({display:"block"}))]),Le("collapseAnimation",[tt("expanded",qe({width:"100%",height:"40px",left:"0"})),tt("collapsed",qe({width:"40px",height:"40px",left:"calc(100% - 40px)"})),Lt("expanded => collapsed",[He("400ms ease-in-out")]),Lt("collapsed => expanded",[He("400ms ease-in-out")])]),Le("iconFade",[Lt(":enter",[qe({opacity:0}),He("100ms ease-in",qe({opacity:1}))]),Lt(":leave",[He("100ms ease-out",qe({opacity:0}))])])]}})}}return p})();var tn=i(5253);function xn(p,a){if(1&p){const l=_.RV6();_.j41(0,"li",14),_.bIt("click",function(E){const L=c.eBV(l).$implicit,J=_.XpG(2);return c.Njj(J.clickSearchHistoryItem(L,E))}),_.j41(1,"mat-icon",15),_.EFF(2,"restore"),_.k0s(),_.j41(3,"p",16),_.EFF(4),_.k0s(),_.j41(5,"mat-icon",17),_.bIt("click",function(E){const L=c.eBV(l).$implicit,J=_.XpG(2);return c.Njj(J.deleteSearchHistoryItem(L,E))}),_.EFF(6,"close"),_.k0s()()}if(2&p){const l=a.$implicit;_.R7$(4),_.JRh(l)}}function bn(p,a){if(1&p&&(_.j41(0,"div",8)(1,"ul",13),_.Z7z(2,xn,7,1,"li",null,_.fX1),_.k0s()()),2&p){const l=_.XpG();_.R7$(2),_.Dyx(l.searchHistory())}}function pr(p,a){if(1&p){const l=_.RV6();_.j41(0,"div",10)(1,"lv-lib-button",18),_.bIt("click",function(){c.eBV(l);const E=_.XpG();return c.Njj(E.openSocialLoginDialog())}),_.EFF(2),_.nI1(3,"translate"),_.k0s()()}2&p&&(_.R7$(2),_.SpI(" ",_.bMT(3,1,"auth-social-login")," "))}function Tr(p,a){if(1&p){const l=_.RV6();_.j41(0,"li",14),_.bIt("click",function(E){const L=c.eBV(l).$implicit,J=_.XpG(2);return c.Njj(J.clickSearchHistoryItem(L,E))}),_.j41(1,"mat-icon",15),_.EFF(2,"restore"),_.k0s(),_.j41(3,"p",16),_.EFF(4),_.k0s(),_.j41(5,"mat-icon",17),_.bIt("click",function(E){const L=c.eBV(l).$implicit,J=_.XpG(2);return c.Njj(J.deleteSearchHistoryItem(L,E))}),_.EFF(6,"close"),_.k0s()()}if(2&p){const l=a.$implicit;_.R7$(4),_.JRh(l)}}function ir(p,a){if(1&p&&(_.j41(0,"div",8)(1,"ul",13),_.Z7z(2,Tr,7,1,"li",null,_.fX1),_.k0s()()),2&p){const l=_.XpG();_.R7$(2),_.Dyx(l.searchHistory())}}let Kr=(()=>{class p{constructor(){this.dialogManagerService=(0,c.WQX)(Q.n),this.userEventHandler=(0,c.WQX)(ye.z),this.windowSizeService=(0,c.WQX)(_e.B),this.searchHistoryService=(0,c.WQX)(We),this.showHistory=(0,c.vPA)(!1),this.searchHistory=(0,c.vPA)([]),this.route=(0,c.vPA)(""),this.searchValue=(0,c.vPA)(""),this.isMember=h.hFB.required(),this.me=h.hFB.required(),this.searchSubmitted=(0,h.CGW)(),this.logoutAction=(0,h.CGW)(),this.menuItems=(0,u.EW)(()=>{const l=[{icon:"help",title:"Helpcenter"},{icon:"campaign",title:"Advertise"}];return this.isMember()&&(l.unshift({icon:"edit",title:"Account Settings"},{icon:"crown",title:"Manage Premium"}),l.push({icon:"logout",title:"Logout"})),this.windowSizeService.isSizeS()||l.unshift({icon:"lock",title:"Privacy Policy"},{icon:"shield",title:"GTC"},{icon:"article",title:"Imprint"},{icon:"cookie",title:"Cookies"}),l})}enterSearch(l){l.stopPropagation(),this.showHistory.set(!0),this.searchHistory.set(this.searchHistoryService.getSearchTerms())}submitSearch(l){this.searchHistoryService.addSearchTerm(l),this.searchHistory.set(this.searchHistoryService.getSearchTerms()),this.searchValue.set(l),this.showHistory.set(!1),this.searchSubmitted.emit(l)}clickSearchHistoryItem(l,f){f.stopPropagation(),this.submitSearch(l),this.searchHistoryService.sortSearchTerms(l),this.searchHistory.set(this.searchHistoryService.getSearchTerms())}deleteSearchHistoryItem(l,f){f.preventDefault(),f.stopPropagation(),this.searchHistoryService.deleteSearchTerm(l),this.searchHistory.set(this.searchHistoryService.getSearchTerms())}onSearchBarCollapseChange(l){l?this.showHistory.set(!1):(this.searchHistory.set(this.searchHistoryService.getSearchTerms()),this.showHistory.set(!0))}openSocialLoginDialog(){const l=this.dialogManagerService.getDialogInstances();Array.from(l.keys()).includes(ht.M)||this.userEventHandler.startAccountWorkflow(ye.i.SocialLogin,{noWorkflow:!0})}handleMenuItemClick(l){switch(l.title.toLowerCase()){case"logout":this.logoutAction.emit(!0);break;case"view profile":ae.N.openProfile(this.me()?.id??"");break;case"account settings":ae.N.navigateToSettingsPage();break;case"manage premium":ae.N.navigateToSettingsPage(H.B.PREMIUM);break;case"privacy policy":ae.N.openLegalPage(tn.w.Privacy);break;case"gtc":ae.N.openLegalPage(tn.w.GTC);break;case"imprint":ae.N.openLegalPage(tn.w.Imprint);break;case"cookies":window.__tcfapi("displayConsentUi",2,()=>{});break;case"helpcenter":window.open("https://help.linkvertise.com","_blank");break;case"advertise":window.open("https://temp-ads.linkvertise.com/demand/start","_blank")}}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=_.VBU({type:p,selectors:[["lv-creator-header"]],inputs:{isMember:[1,"isMember"],me:[1,"me"]},outputs:{searchSubmitted:"searchSubmitted",logoutAction:"logoutAction"},decls:15,vars:7,consts:[[1,"header"],[1,"header__content"],["routerLink","",1,"header__logo"],["src","assets/img/linkvertise_logo_small.svg","alt","Linkvert
496ise Logo",1,"header__logo-img","header__logo-img--small"],["src","assets/img/linkvertise_logo_big.svg","alt","Linkvertise Logo",1,"header__logo-img","header__logo-img--big"],[1,"header__navigation-wrapper"],["defaultPlaceholder","Explore",1,"header__searchbar-desktop",3,"searchValueChange","searchSubmitted","isCollapsedChange","click","searchValue"],["search-history",""],["tabindex","0",1,"header__search-history-wrapper"],[1,"header__buttons"],[1,"header__buttons__wrapper"],["data-testid","loggedMenu",3,"onMenuItemClick","menuItems"],["defaultPlaceholder","Explore",1,"header__searchbar-mobile",3,"searchValueChange","searchSubmitted","isCollapsedChange","animation","searchValue"],[1,"header__search-history"],[3,"click"],[1,"btn-restore"],[1,"search-history-item"],["tabindex","0",1,"btn-delete",3,"click"],["data-testid","creator-header-home-login-btn","shape","round","size","md",3,"click"]],template:function(f,E){1&f&&(_.j41(0,"header",0)(1,"div",1)(2,"div",2),_.nrm(3,"img",3)(4,"img",4),_.k0s(),_.j41(5,"div",5)(6,"lv-search-bar",6),_.mxI("searchValueChange",function(J){return _.DH7(E.searchValue,J)||(E.searchValue=J),J}),_.bIt("searchSubmitted",function(J){return E.submitSearch(J)})("isCollapsedChange",function(J){return E.onSearchBarCollapseChange(J)})("click",function(J){return E.enterSearch(J)}),_.qex(7,7),_.nVh(8,bn,4,0,"div",8),_.bVm(),_.k0s(),_.j41(9,"div",9),_.nVh(10,pr,4,3,"div",10),_.j41(11,"lv-lib-header-menu",11),_.bIt("onMenuItemClick",function(J){return E.handleMenuItemClick(J)}),_.k0s()()(),_.j41(12,"lv-search-bar",12),_.mxI("searchValueChange",function(J){return _.DH7(E.searchValue,J)||(E.searchValue=J),J}),_.bIt("searchSubmitted",function(J){return E.submitSearch(J)})("isCollapsedChange",function(J){return E.onSearchBarCollapseChange(J)}),_.qex(13,7),_.nVh(14,ir,4,0,"div",8),_.bVm(),_.k0s()()()),2&f&&(_.R7$(6),_.R50("searchValue",E.searchValue),_.R7$(2),_.vxM(E.showHistory()&&E.searchHistory().length>0?8:-1),_.R7$(2),_.vxM(E.isMember()?-1:10),_.R7$(),_.Y8G("menuItems",E.menuItems()),_.R7$(),_.Y8G("animation",!0),_.R50("searchValue",E.searchValue),_.R7$(2),_.vxM(E.showHistory()&&E.searchHistory().length>0?14:-1))},dependencies:[T.Qp,T.i1,nn,le.Wk,X.An,O.h,O.D9],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;
496--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
496--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.header[_ngcontent-%COMP%]{height:var(--lv-sizing-pct-100);width:var(--lv-sizing-pct-100);align-items:center;background-color:var(--lv-white);max-width:1536px;margin:auto;padding-inline:var(--lv-spacing-l)}.header__content[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 3fr;align-items:center;justify-content:space-between;width:var(--lv-sizing-pct-100);max-width:var(--lv-sizing-pct-100);height:var(--lv-sizing-pct-100);gap:var(--lv-spacing-l)}.header__logo[_ngcontent-%COMP%]{display:flex;flex:1;z-index:10}.header__logo-img[_ngcontent-%COMP%]{height:auto;width:auto;cursor:pointer}.header__logo-img--small[_ngcontent-%COMP%]{display:none}.header__logo-img--big[_ngcontent-%COMP%]{display:block}.header__navigation-wrapper[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr}.header__searchbar-desktop[_ngcontent-%COMP%]{margin-right:var(--lv-spacing-l);gap:var(--lv-spacing-s);display:block}.header__searchbar-mobile[_ngcontent-%COMP%]{display:none}.header__buttons[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:flex-end;gap:var(--lv-spacing-xs)}.header__buttons__wrapper[_ngcontent-%COMP%]{display:flex;gap:var(--lv-spacing-s);white-space:nowrap}.header__search-history-wrapper[_ngcontent-%COMP%]{position:absolute;top:var(--lv-sizing-pct-100);width:var(--lv-sizing-pct-100);background:var(--lv-white);border-radius:var(--lv-border-radius-xs);margin-top:var(--lv-spacing-xs);box-shadow:var(--lv-shadow);overflow-y:auto;max-height:var(--lv-extra-sizing-4xl)}.header__search-history[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;overflow-y:auto}.header__search-history[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;padding:var(--lv-spacing-m) var(--lv-extra-spacing-m) var(--lv-spacing-m) var(--lv-spacing-xs);cursor:pointer}.header__search-history[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:var(--lv-creme)}.header__search-history[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover:first-child{border-top-left-radius:var(--lv-border-radius-xs);border-top-right-radius:var(--lv-border-radius-xs)}.header__search-history[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover:last-child{border-bottom-left-radius:var(--lv-border-radius-xs);border-bottom-right-radius:var(--lv-border-radius-xs)}.header[_ngcontent-%COMP%]   .search-history-item[_ngcontent-%COMP%]{flex:1;overflow:hidden;text-overflow:ellipsis;padding-left:var(--lv-spacing-xs)}.header[_ngcontent-%COMP%]   .btn-delete[_ngcontent-%COMP%], .header[_ngcontent-%COMP%]   .btn-restore[_ngcontent-%COMP%]{color:var(--lv-dark-h
496over)}@media(width<=64rem){.header__navigation-wrapper[_ngcontent-%COMP%]{display:flex;gap:var(--lv-spacing-s);width:var(--lv-sizing-pct-100)}.header__content[_ngcontent-%COMP%]{display:flex}.header__logo-img--small[_ngcontent-%COMP%]{display:block}.header__logo-img--big[_ngcontent-%COMP%]{display:none}.header__searchbar-desktop[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}}@media(width<=48rem){.header[_ngcontent-%COMP%]{padding-inline:var(--lv-spacing-m)}.header__content[_ngcontent-%COMP%]{padding:0;position:relative}.header__logo[_ngcontent-%COMP%]{width:auto;flex-shrink:0}.header__logo-img--small[_ngcontent-%COMP%]{display:none}.header__logo-img--big[_ngcontent-%COMP%]{width:144px;display:block}.header__navigation-wrapper[_ngcontent-%COMP%]{position:relative;height:var(--lv-sizing-pct-100);display:flex;align-items:center}.header__searchbar-desktop[_ngcontent-%COMP%]{display:none}.header__searchbar-mobile[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);position:absolute;display:block}.header__buttons[_ngcontent-%COMP%]{position:absolute;right:var(--lv-extra-spacing-3xl);z-index:1;gap:0}.header__buttons__wrapper[_ngcontent-%COMP%]{display:none}}']})}}return p})();var _r=i(6354),en=i(5558),Bn=i(1807),Xe=i(4589);const $=Xe.J1`
497    query speechBubbleAccumulations {
498  getSpeechBubbleAccumulations {
499    starting_costs
500    costs_per_second
501  }
502}
503    `;let F=(()=>{class p extends Xe.XK{constructor(l){super(l),this.document=$}static{this.\u0275fac=function(f){return new(f||p)(c.KVO(Xe.Ic))}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),K=(()=>{class p{constructor(){this.EIGHT_SECONDS=8e3,this.ONE_SECOND=1e3,this.TWO_HOURS=2,this.SPEECH_BUBBLE_LAST_TIME_STAMP="speechBubbleLastTimeStamp",this.graphql=(0,c.WQX)(F),this.queryData$=this.graphql.fetch().pipe((0,_r.T)(l=>l.data?.getSpeechBubbleAccumulations)),this.totalCosts$=this.queryData$.pipe((0,v.p)(l=>!!l),(0,en.n)(l=>(0,Bn.O)(0,this.EIGHT_SECONDS).pipe((0,_r.T)(()=>this.calculatePayout(l?.starting_costs??0,l?.costs_per_second??0)))))}calculateSecondsPassedToday(){const l=new Date,f=new Date(l.getFullYear(),l.getMonth(),l.getDate());return Math.floor((l.getTime()-f.getTime())/this.ONE_SECOND)}calculatePayout(l,f){return l+this.calculateSecondsPassedToday()*f}getCurrentTotalPayout(){return this.totalCosts$}showSpeechBubbleBasedOnTimeStamp(){const l=localStorage.getItem(this.SPEECH_BUBBLE_LAST_TIME_STAMP);return!l||this.calculateHoursPassed(l)>=this.TWO_HOURS}setLocalStorageItem(){localStorage.setItem(this.SPEECH_BUBBLE_LAST_TIME_STAMP,Date.now().toString())}calculateHoursPassed(l){const f=parseInt(l,10);return(Date.now()-f)/36e5}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();function Z(p,a){if(1&p){const l=_.RV6();_.j41(0,"div",1),_.bIt("click",function(E){c.eBV(l);const L=_.XpG();return c.Njj(L.handleSpeechBubbleClick(E))}),c.qSk(),_.j41(1,"svg",2),_.nrm(2,"path",3),_.k0s(),c.joV(),_.j41(3,"div",4)(4,"span",5),_.EFF(5),_.k0s(),_.j41(6,"span",6),_.EFF(7," $"),_.k0s(),_.nrm(8,"lv-lib-odometer",7),_.j41(9,"span",5),_.EFF(10," paid to creators."),_.k0s()()()}if(2&p){const l=_.XpG();_.R7$(5),_.JRh(l.prefix()),_.R7$(3),_.Y8G("targetValue",l.totalPayoutAmount())}}let Re=(()=>{class p{constructor(){this.totalPayoutAmount=h.hFB.required(),this.prefix=(0,h.hFB)(""),this.sidebarSpeechBubbleClick=(0,h.CGW)()}handleSpeechBubbleClick(){this.sidebarSpeechBubbleClick.emit()}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=_.VBU({type:p,selectors:[["lv-speechbubble"]],inputs:{totalPayoutAmount:[1,"totalPayoutAmount"],prefix:[1,"prefix"]},outputs:{sidebarSpeechBubbleClick:"sidebarSpeechBubbleClick"},decls:1,vars:1,consts:[[1,"speech-bubble"],[1,"speech-bubble",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","14","height","13","viewBox","0 0 14 13","fill","none",1,"vector"],["d","M7.66163 0.775998L14 13L0 13L5.87287 0.802498C6.2304 0.0599403 7.28226 0.0443592 7.66163 0.775998Z","fill","#323232"],[1,"speech-bubble__text"],[1,"text"],[1,"currency"],[3,"targetValue"]],template:function(f,E){1&f&&_.nVh(0,Z,11,2,"div",0),2&f&&_.vxM(E.totalPayoutAmount()?0:-1)},dependencies:[T.XM],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
503--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
503--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.speech-bubble[_ngcontent-%COMP%]{display:inline-flex;position:relative;padding:var(--lv-spacing-xs) var(--lv-spacing-s);align-items:center;margin-top:var(--lv-spacing-s);border-radius:var(--lv-border-radius-xs);background:var(--lv-darkgrey);box-shadow:0 var(--lv-extra-spacing-4xs) var(--lv-spacing-m) 0 rgb(from var(--lv-darkgrey) r g b/.16);height:var(--lv-sizing-2xl);white-space:nowrap;cursor:pointer}.speech-bubble__text[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:inline;color:var(--lv-white);font-family:var(--lv-font-family);font-size:var(--lv-font-size-300);font-style:normal;
503font-weight:var(--lv-font-weight-medium);line-height:var(--lv-line-height-xl)}.speech-bubble__text[_ngcontent-%COMP%]   .currency[_ngcontent-%COMP%]{color:var(--lv-orange)}.speech-bubble[_ngcontent-%COMP%]   .vector[_ngcontent-%COMP%]{width:14px;height:14px;position:absolute;left:var(--lv-extra-spacing-m);top:calc(-1 * var(--lv-extra-spacing-xs));fill:var(--lv-darkgrey)}@media(width<=48rem){.speech-bubble[_ngcontent-%COMP%]   .vector[_ngcontent-%COMP%]{top:var(--lv-spacing-2xl);left:var(--lv-sizing-pct-50);transform:translate(var(--lv-sizing-neg-pct-50)) rotate(180deg)}}']})}}return p})();const ct=["*"];function _t(p,a){1&p&&_.eu8(0)}function wt(p,a){if(1&p&&(_.j41(0,"lv-lib-pulse-effect-container",2),_.DNE(1,_t,1,0,"ng-container",3),_.k0s()),2&p){const l=_.XpG(),f=_.sdS(5);_.Y8G("borderRadius",l.isMobile()?"full":"sm")("pulseRepeat",l.isHighlightedForTour()?"infinite":"4"),_.R7$(),_.Y8G("ngTemplateOutlet",f)}}function ee(p,a){1&p&&_.eu8(0)}function Se(p,a){if(1&p&&_.DNE(0,ee,1,0,"ng-container",3),2&p){_.XpG();const l=_.sdS(5);_.Y8G("ngTemplateOutlet",l)}}function Pt(p,a){if(1&p&&_.nrm(0,"lv-lib-avatar",5),2&p){const l=_.XpG(2);_.Y8G("avatarSize",l.isMobile()?"small":"extra-small")("username",l.username())("avatarColor",l.avatarColor())}}function St(p,a){1&p&&_.nrm(0,"div",7)}function Xt(p,a){if(1&p&&(_.j41(0,"div",6),_.nVh(1,St,1,0,"div",7),_.nrm(2,"lv-lib-icon",8),_.k0s()),2&p){const l=_.XpG(2);_.R7$(),_.vxM(l.notificationIndicator()&&!l.isMobile()?1:-1),_.R7$(),_.Y8G("size",l.isMobile()?"lg":"md")("iconName",l.icon())("color",l.getIconColor())}}function Jt(p,a){if(1&p&&(_.j41(0,"span"),_.EFF(1),_.k0s()),2&p){const l=_.XpG(2);_.R7$(),_.JRh(l.label())}}function vn(p,a){if(1&p){const l=_.RV6();_.j41(0,"div",4),_.bIt("click",function(){c.eBV(l);const E=_.XpG();return c.Njj(E.onClick.emit())}),_.nVh(1,Pt,1,3,"lv-lib-avatar",5)(2,Xt,3,4,"div",6),_.nVh(3,Jt,2,1,"span"),_.k0s()}if(2&p){const l=_.XpG();_.AVh("mobile-item",l.isMobile())("navigation-item",!l.isMobile())("asset-link",l.isAssetLink())("active",l.isActive()),_.R7$(),_.vxM(l.username()&&"Profile"===l.label()?1:2),_.R7$(2),_.vxM(!l.isAssetLink()||!l.isMobile()&&l.isAssetLink()?3:-1)}}let jn=(()=>{class p{constructor(){this.isHighlightedForTour=(0,h.hFB)(!1),this.icon=h.hFB.required(),this.username=(0,h.hFB)(""),this.avatarColor=(0,h.hFB)(""),this.label=(0,h.hFB)(""),this.isAssetLink=(0,h.hFB)(!1),this.isMobile=(0,h.hFB)(!1),this.isActive=(0,h.hFB)(!1),this.notificationIndicator=(0,h.hFB)(!1),this.hasIconAnimation=(0,h.hFB)(!1),this.onClick=(0,h.CGW)()}getIconColor(){return this.isAssetLink()?"white":this.isMobile()&&!this.isActive()?"default":"secondary"}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=_.VBU({type:p,selectors:[["lv-navigation-item"]],inputs:{isHighlightedForTour:[1,"isHighlightedForTour"],icon:[1,"icon"],username:[1,"username"],avatarColor:[1,"avatarColor"],label:[1,"label"],isAssetLink:[1,"isAssetLink"],isMobile:[1,"isMobile"],isActive:[1,"isActive"],notificationIndicator:[1,"notificationIndicator"],hasIconAnimation:[1,"hasIconAnimation"]},outputs:{onClick:"onClick"},ngContentSelectors:ct,decls:6,vars:1,consts:[["navigationItem",""],[1,"navigation-item-root"],[3,"borderRadius","pulseRepeat"],[4,"ngTemplateOutlet"],[3,"click"],[3,"avatarSize","username","avatarColor"],[1,"icon-wrapper"],[1,"notification-indicator"],[1,"icon",3,"size","iconName","color"]],template:function(f,E){1&f&&(_.NAR(),_.j41(0,"div",1),_.nVh(1,wt,2,3,"lv-lib-pulse-effect-container",2)(2,Se,1,1,"ng-container"),_.SdG(3),_.k0s(),_.DNE(4,vn,4,10,"ng-template",null,0,_.C5r)),2&f&&(_.R7$(),_.vxM(E.isHighlightedForTour()||E.hasIconAnimation()?1:2))},dependencies:[T.og,T.fw,T.$B,Vt.T3],styles:[".navigation-item[_ngcontent-%COMP%]{text-decoration:none;box-sizing:border-box;width:var(--lv-sizing-pct-100);height:var(--lv-sizing-4xl);display:flex;align-items:center;border-radius:var(--lv-border-radius-xs);padding:var(--lv-spacing-m);gap:var(--lv-spacing-s);transition:background-color .1s ease-in-out;background-color:transparent;color:var(--lv-black)}.navigation-item[_ngcontent-%COMP%]:hover{background-color:var(--lv-white);color:var(--lv-black)}.navigation-item[_ngcontent-%COMP%]{cursor:pointer;
503font-weight:var(--lv-font-weight-medium)}.navigation-item.active[_ngcontent-%COMP%]{background-color:var(--lv-white)}.navigation-item.asset-link[_ngcontent-%COMP%]{text-decoration:none;box-sizing:border-box;width:var(--lv-sizing-pct-100);height:var(--lv-sizing-4xl);display:flex;align-items:center;border-radius:var(--lv-border-radius-xs);padding:var(--lv-spacing-m);gap:var(--lv-spacing-s);transition:background-color .1s ease-in-out;background-color:var(--lv-orange);color:var(--lv-white)}.navigation-item.asset-link[_ngcontent-%COMP%]:hover{background-color:var(--lv-orange-hover);color:var(--lv-white)}.navigation-item[_ngcontent-%COMP%]   .icon-wrapper[_ngcontent-%COMP%]{position:relative}.navigation-item[_ngcontent-%COMP%]   .icon-wrapper[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:flex;align-items:center}.navigation-item[_ngcontent-%COMP%]   .notification-indicator[_ngcontent-%COMP%]{position:absolute;top:0;right:0;z-index:100;width:var(--lv-extra-sizing-xs);height:var(--lv-extra-sizing-xs);border-radius:var(--lv-sizing-pct-50);background-color:var(--lv-orange)}.mobile-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:var(--lv-spacing-2xs);font-weight:var(--lv-font-weight-medium);font-size:var(--lv-font-size-100);
503color:var(--lv-dark-hover)}.mobile-item.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--lv-black)}.mobile-item.asset-link[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:var(--lv-sizing-2xl);height:var(--lv-sizing-2xl);background-color:var(--lv-orange);border-radius:var(--lv-sizing-pct-50)}"]})}}return p})();function Zn(p,a){if(1&p){const l=_.RV6();_.j41(0,"div")(1,"lv-speechbubble",6),_.nI1(2,"async"),_.bIt("sidebarSpeechBubbleClick",function(){c.eBV(l);const E=_.XpG(2);return c.Njj(E.onSideBarSpeechBubbleClick())}),_.k0s()()}if(2&p){const l=_.XpG().$implicit,f=_.XpG();_.AVh("wrapper",!f.isDesktop()),_.R7$(),_.Y8G("totalPayoutAmount",_.bMT(2,4,f.speechBubbleTotalPayout$))("prefix",f.isDesktop()?"":l.label)}}function Tn(p,a){if(1&p){const l=_.RV6();_.j41(0,"lv-navigation-item",4),_.bIt("onClick",function(){const E=c.eBV(l).$implicit,L=_.XpG();return c.Njj(L.navigateTo(E.route,E.name))}),_.nVh(1,Zn,3,6,"div",5),_.k0s()}if(2&p){const l=a.$implicit,f=_.XpG();_.Y8G("id",l.name)("isHighlightedForTour",f.guidedTourHighlight()===l.name)("notificationIndicator","for-you"===l.name&&f.hasFollowedUser())("icon",l.icon)("username",f.meUsername())("avatarColor",f.meAvatarColor())("label",l.label)("isMobile",!f.isDesktop())("isActive",f.isActiveRoute(l.name,l.route))("isAssetLink",l.isAssetLink)("hasIconAnimation",l.hasIconAnimation&&!f.isDesktop()),_.R7$(),_.vxM(l.showBubbleDecorator&&f.showSpeechBubble()&&!f.guidedTourHighlight()&&!f.isOnAccessPage()?1:-1)}}function Yn(p,a){if(1&p){const l=_.RV6();_.j41(0,"a",7),_.bIt("click",function(){const E=c.eBV(l).$implicit,L=_.XpG();return c.Njj(L.navigateTo(E.route,E.name))}),_.j41(1,"span"),_.EFF(2),_.k0s()()}if(2&p){const l=a.$implicit;_.R7$(2),_.JRh(l.label)}}let $e=(()=>{class p{constructor(){this.router=(0,c.WQX)(C.Ix),this.authService=(0,c.WQX)(m.u),this.trackingService=(0,c.WQX)(se.bI),this.speechBubbleService=(0,c.WQX)(K),this.userEventHandler=(0,c.WQX)(ye.z),this.windowSizeService=(0,c.WQX)(_e.B),this.Interaction=ae.N,this.meId=(0,h.hFB)(""),this.meUsername=(0,h.hFB)(""),this.meAvatarColor=(0,h.hFB)(""),this.isMember=(0,h.hFB)(!1),this.followedUser=(0,h.hFB)([]),this.RESTRICTED_ROUTES=["profile","dashboard","monetize"],this.guidedTourHighlight=this.authService.tourHighlight,this.pendingNavigation=(0,c.vPA)(null),this.showSpeechBubble=(0,c.vPA)(this.speechBubbleService.showSpeechBubbleBasedOnTimeStamp()),this.speechBubbleTotalPayout$=this.speechBubbleService.getCurrentTotalPayout(),this.isOnAccessPage=(0,C.$m)("/access",this.router),this.hasFollowedUser=(0,u.EW)(()=>this.isMember()&&!!this.followedUser()?.length),this.isDesktop=(0,u.EW)(()=>this.windowSizeService.isSizeS()),this.navigationItems=(0,u.EW)(()=>{if(this.isDesktop())return this.navItems;const l=structuredClone(this.navItems),f=l.pop();return f.icon="add",l.splice(2,0,f),l}),this.navItems=[{name:"for-you",label:"For You",route:"/for-you",icon:"home"},{name:"explore",label:"Explore",route:"/",icon:"explore"},{name:"dashboard",label:"Dashboard",route:"/dashboard",icon:"bar_chart"},{name:"profile",label:"Profile",route:"/profile",icon:"account"},{name:"monetize",label:"Post & earn",route:"/posts/create/targetType",icon:"add_circle_outlined",isAssetLink:!0,hasIconAnimation:!0,showBubbleDecorator:!0}],this.navFooterItems=[{route:"/privacy",label:"Privacy Policy",name:"privacy"},{route:"/gtc",label:"GTC",name:"gtc"},{route:"/imprint",label:"Imprint",name:"imprint"},{route:"",label:"Cookies",name:"cookies"}],(0,c.QZP)(()=>{const l=this.pendingNavigation();(0,u.O8)(()=>{if(l){const{route:f,name:E}=l;ae.N.navigateToNavPage(f,E,this.meId()??""),this.pendingNavigation.set(null)}})})}isActiveRoute(l,f){const E=this.router?.url.split(/[?#]/,1)[0]??"/";return"/"===E?"explore"===l:f.includes("profile")&&E.startsWith("/profile/")?E.split("/").pop()===this.meId():E===f||E.startsWith(`${f}/`)}navigateTo(l,f){"cookies"!==f?this.isMember()||!this.RESTRICTED_ROUTES.includes(f)?("monetize"===f?(this.trackingService.postAndEarnTrack(),ae.N.navigateToPostCreationPage()):ae.N.navigateToNavPage(l,f,this.meId()??""),this.pendingNavigation.set({route:l,name:f})):this.userEventHandler.startAccountWorkflow(ye.i.SocialLogin,{noWorkflow:!0}):window.__tcfapi("displayConsentUi",2,()=>{})}onSideBarSpeechBubbleClick(){this.speechBubbleService.setLocalStorageItem(),this.showSpeechBubble.set(!1)}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=_.VBU({type:p,selectors:[["lv-creator-navigation"]],inputs:{meId:[1,"meId"],meUsername:[1,"meUsername"],meAvatarColor:[1,"meAvatarColor"],isMember:[1,"isMember"],followedUser:[1,"followedUser"]},decls:6,vars:5,consts:[[3,"id"],[3,"id","isHighlightedForTour","notificationIndicator","
503icon","username","avatarColor","label","isMobile","isActive","isAssetLink","hasIconAnimation"],[1,"nav-footer-items"],[1,"footer-item"],[3,"onClick","id","isHighlightedForTour","notificationIndicator","icon","username","avatarColor","label","isMobile","isActive","isAssetLink","hasIconAnimation"],[3,"wrapper"],[3,"sidebarSpeechBubbleClick","totalPayoutAmount","prefix"],[1,"footer-item",3,"click"]],template:function(f,E){1&f&&(_.j41(0,"nav",0),_.Z7z(1,Tn,2,12,"lv-navigation-item",1,_.fX1),_.j41(3,"div",2),_.Z7z(4,Yn,3,1,"a",3,_.fX1),_.k0s()()),2&f&&(_.AVh("navigation-container",E.isDesktop())("mobile-navigation-container",!E.isDesktop()),_.Y8G("id",E.isDesktop()?"navigation":"mobile-navigation"),_.R7$(),_.Dyx(E.navigationItems()),_.R7$(3),_.Dyx(E.navFooterItems))},dependencies:[jn,Re,Vt.Jj],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;
503--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.navigation-container[_ngcontent-%COMP%]{height:var(--lv-sizing-pct-100);display:flex;flex-flow:column nowrap;gap:var(--lv-spacing-xs)}.navigation-container[_ngcontent-%COMP%]   .nav-footer-items[_ngcontent-%COMP%]{margin-top:auto;display:flex;flex-flow:row wrap;gap:var(--lv-spacing-xs)}.navigation-container[_ngcontent-%COMP%]   .nav-footer-items[_ngcontent-%COMP%]   .footer-item[_ngcontent-%COMP%]{cursor:pointer;
503font-weight:var(--lv-font-weight-light);font-size:var(--lv-font-size-100);color:var(--lv-black)}.navigation-container[_ngcontent-%COMP%]   .nav-footer-items[_ngcontent-%COMP%]   .footer-item[_ngcontent-%COMP%]:hover{color:var(--lv-dark-hover)}.mobile-navigation-container[_ngcontent-%COMP%]{position:fixed;bottom:0;display:flex;align-items:center;justify-content:space-evenly;height:var(--lv-sizing-5xl);width:var(--lv-sizing-pct-100);background-color:var(--lv-white)}.mobile-navigation-container[_ngcontent-%COMP%] >*{flex:1 1 0;min-width:0;display:flex;justify-content:center}.mobile-navigation-container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(-1 * var(--lv-extra-spacing-3xl));left:var(--lv-sizing-pct-50);transform:translate(var(--lv-sizing-neg-pct-50))}@media(width<=48rem){.navigation-container[_ngcontent-%COMP%], .nav-footer-items[_ngcontent-%COMP%]{display:none}.mobile-navigation-container[_ngcontent-%COMP%]{border-top:var(--lv-border-width-small) solid var(--lv-light);display:flex}}@media(width>=48rem){.mobile-navigation-container[_ngcontent-%COMP%]{display:none}}']})}}return p})();
503var Ct=i(2740),Ze=i(4692),Ht=i(9079),I=i(4446),mt=i(6967);function Ue(p,a){1&p&&(_.j41(0,"div",0),_.nrm(1,"mat-spinner"),_.k0s())}function ue(p,a){if(1&p&&_.nrm(0,"lv-chargebee-account-alerts",2),2&p){const l=_.XpG(2);_.Y8G("currentUser",l.me())}}function ft(p,a){if(1&p){const l=_.RV6();_.j41(0,"div",1),_.nVh(1,ue,1,1,"lv-chargebee-account-alerts",2),_.k0s(),_.j41(2,"div",3)(3,"div",4)(4,"lv-creator-header",5),_.bIt("searchSubmitted",function(E){c.eBV(l);const L=_.XpG();return c.Njj(L.handleSearch(E))})("logoutAction",function(E){c.eBV(l);const L=_.XpG();return c.Njj(L.onLogoutAction(E))}),_.k0s()(),_.j41(5,"div",6)(6,"div",7),_.nrm(7,"lv-creator-navigation",8),_.k0s(),_.j41(8,"div",9),_.nrm(9,"router-outlet"),_.k0s()()()}if(2&p){let l,f,E;const L=_.XpG();_.R7$(),_.vxM(L.isMember()?1:-1),_.R7$(3),_.Y8G("me",L.me())("isMember",L.isMember()),_.R7$(3),_.Y8G("meId",null==(l=L.me())?null:l.id)("meUsername",null==(f=L.me())?null:f.username)("meAvatarColor",null==(E=L.me())?null:E.avatar_color)("isMember",L.isMember())("followedUser",L.followedUser())}}let Kt=(()=>{class p{constructor(){this.activatedRoute=(0,c.WQX)(C.nX),this.adblockService=(0,c.WQX)(D.u),this.authService=(0,c.WQX)(m.u),this.dialog=(0,c.WQX)(T.o3),this.document=(0,c.WQX)(c.qQL),this.inMobiService=(0,c.WQX)(z),this.languageService=(0,c.WQX)(W.g),this.router=(0,c.WQX)(C.Ix),this.trackingService=(0,c.WQX)(se.bI),this.translateService=(0,c.WQX)(O.c$),this.validationService=(0,c.WQX)(Ct.B),this.closingPublisherService=(0,c.WQX)(Ze.v),this.dialogManagerService=(0,c.WQX)(Q.n),this.userEventHandler=(0,c.WQX)(ye.z),this.meService=(0,c.WQX)(I.Q),this.checkoutFlow=(0,c.WQX)(mt.o),this.routeAndParams=(0,Ht.ot)((0,k.z)({queryParams:this.activatedRoute.queryParams.pipe((0,w.Z)({})),params:this.activatedRoute.params.pipe((0,w.Z)({})),event:this.router.events.pipe((0,v.p)(l=>l instanceof C.wF),(0,w.Z)(null))}),{requireSync:!0}),this.title="creator-web",this.me=this.meService.me,this.isChecking=this.meService.isChecking,this.isMember=this.meService.isMember,this.followedUser=this.meService.followedUser,(0,c.QZP)(()=>{void 0!==this.meService.isPremiumActive()&&this.trackingService.openPage(!!this.meService.isPremiumActive()),this.routeAndParams().event?.url.includes("reset-password")&&this.dialog.open(G.Q,{data:{token:this.routeAndParams().params?.token,email:this.routeAndParams().params?.email}})}),(0,c.QZP)(()=>{this.languageService.countryCode()&&(this.inMobiService.initInMobi(),this.inMobiService.startTcfListener(),!1===this.inMobiService.isBannerVisible()&&this.inMobiService.stopTcfListener(),this.checkQueryParams())}),(0,c.QZP)(()=>{null===this.meService.me()?.sensitive_post_setting&&!this.checkoutFlow.isRunning()&&0===this.dialogManagerService.getDialogInstances().size&&this.dialogManagerService.openChangeSensitivePostSettingsDialog(!0)})}ngOnInit(){this.translateService.use("en").subscribe(()=>{this.languageService.anounceTranslationsAvailable()}),this.adblockService.check(),this.validationService.check(),this.createLinkForCanonicalURL()}handleSearch(l){ae.N.navigateToSearchPage(l)}onLogoutAction(l){l&&this.authService.logout()}setAdBlock(){this.adblockService.isAdBlocked=!0,this.adblockService.detected.emit()}createLinkForCanonicalURL(){const l=this.document.createElement("link");l.setAttribute("rel","canonical"),this.document.head.appendChild(l),l.setAttribute("href",this.document.URL.split("?")[0])}checkQueryParams(){if(!1===this.inMobiService.isBannerVisible()){if(this.routeAndParams().queryParams?.startGuidedTour&&this.authService.startGuidedTour.set(!0),this.routeAndParams().queryParams?.publisherClosed){const f=this.dialogManagerService.openPublisherClosedDialog();this.handleCloseDialog(f)}this.routeAndParams().queryParams?.mailRedirect&&this.userEventHandler.handleMailLinkEntry()}const l=this.routeAndParams().queryParams?.affiliate_id;l&&this.closingPublisherService.setAffiliate(l)}handleCloseDialog(l){l&&l.afterClosed().subscribe(f=>{this.meService.isMember()?this.router.navigate(["/"],{queryParams:{startGuidedTour:!0}}):f&&("login"===f?this.dialogManagerService.openLoginDialog():"register"===f&&this.userEventHandler.startAccountWorkflow(ye.i.RegisterUser))})}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=_.VBU({type:p,selectors:[["lv-root"]],hostBindings:function(f,E){1&f&&_.bIt("lvAdblock",function(){return E.setAdBlock()},_.EBC)},decls:2,vars:1,consts:[[1,"app-loading"],[1,"alert"],[3,"currentUser"],[1,"layout"],[1,"header-wrapper"],[3,"searchSubmitted","logoutAction","me","isMember"],[1,"main-container"],[1,"sidebar"],[3,"meId","meUsername","meAvatarColor","isMember","followedUser"],[1,"content-wrapper"]],template:function(f,E){1&f&&_.nVh(0,Ue,2,0,"div",0)(1,ft,10,8),2&f&&_.vxM(E.isChecking()?0:1)},dependencies:[Kr,$e,we,C.n3,y.LG],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
503--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
503--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.app-loading[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:100vh}.alert[_ngcontent-%COMP%]{padding-top:0}.layout[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);padding:0}.layout[_ngcontent-%COMP%]   .header-wrapper[_ngcontent-%COMP%]{vertical-align:middle;z-index:100;position:sticky;top:0;background-color:var(--lv-white);height:var(--lv-sizing-5xl);width:var(--lv-sizing-pct-100);margin:auto}@media(width>=48rem){.layout[_ngcontent-%COMP%]   .header-wrapper[_ngcontent-%COMP%]{height:var(--lv-sizing-7xl)}}.layout[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]{max-width:1536px;display:grid;grid-template-columns:1fr;margin:0 auto}@media(width>=48rem){.layout[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]{padding:var(--lv-spacing-l) var(--lv-spacing-l) 0;grid-template-columns:1fr 3fr;gap:var(--lv-spacing-l)}}.layout[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sidebar[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);position:fixed;z-index:100;bottom:0}@media(width>=48rem){.layout[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sidebar[_ngcontent-%COMP%]{height:calc(100vh - 75px - var(--lv-sizing-2xl));position:sticky;top:104px;z-index:1}}.layout[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]{position:relative}@media(width>=48rem){.layout[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .content-wrapper[_ngcontent-%COMP%]{grid-column:2}}']})}}return p})();var cn=i(4523),Ge=i(6494),On=i(3117),xt=i(177);class sn{_doc;constructor(a){this._doc=a}manager}let Wt=(()=>{class p extends sn{constructor(l){super(l)}supports(l){return!0}addEventListener(l,f,E,L){return l.addEventListener(f,E,L),()=>this.removeEventListener(l,f,E,L)}removeEventListener(l,f,E,L){return l.removeEventListener(f,E,L)}static \u0275fac=function(f){return new(f||p)(c.KVO(c.qQL))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();const kn=new c.nKC("");let Fr=(()=>{class p{_zone;_plugins;_eventNameToPlugin=new Map;constructor(l,f){this._zone=f,l.forEach(J=>{J.manager=this});const E=l.filter(J=>!(J instanceof Wt));this._plugins=E.slice().reverse();const L=l.find(J=>J instanceof Wt);L&&this._plugins.push(L)}addEventListener(l,f,E,L){return this._findPluginFor(f).addEventListener(l,f,E,L)}getZone(){return this._zone}_findPluginFor(l){let f=this._eventNameToPlugin.get(l);if(f)return f;if(f=this._plugins.find(L=>L.supports(l)),!f)throw new c.buA(5101,!1);return this._eventNameToPlugin.set(l,f),f}static \u0275fac=function(f){return new(f||p)(c.KVO(kn),c.KVO(c.SKi))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();const mi="ng-app-id";function Qe(p){for(const a of p)a.remove()}function bt(p,a){const l=a.createElement("style");return l.textContent=p,l}function un(p,a){const l=a.createElement("link");return l.setAttribute("rel","stylesheet"),l.setAttribute("href",p),l}let _n=(()=>{class p{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(l,f,E,L={}){this.doc=l,this.appId=f,this.nonce=E,function yt(p,a,l,f){const E=p.head?.querySelectorAll(`style[${mi}="${a}"],link[${mi}="${a}"]`);if(E)for(const L of E)L.removeAttribute(mi),L instanceof HTMLLinkElement?f.set(L.href.slice(L.href.lastIndexOf("/")+1),{usage:0,elements:[L]}):L.textContent&&l.set(L.textContent,{usage:0,elements:[L]})}(l,f,this.inline,this.external),this.hosts.add(l.head)}addStyles(l,f){for(const E of l)this.addUsage(E,this.inline,bt);f?.forEach(E=>this.addUsage(E,this.external,un))}removeStyles(l,f){for(const E of l)this.removeUsage(E,this.inline);f?.forEach(E=>this.removeUsage(E,this.external))}addUsage(l,f,E){const L=f.get(l);L?L.usage++:f.set(l,{usage:1,elements:[...this.hosts].map(J=>this.addElement(J,E(l,this.doc)))})}removeUsage(l,f){const E=f.get(l);E&&(E.usage--,E.usage<=0&&(Qe(E.elements),f.delete(l)))}ngOnDestroy(){for(const[,{elements:l}]of[...this.inline,...this.external])Qe(l);this.hosts.clear()}addHost(l){this.hosts.add(l);for(const[f,{elements:E}]of this.inline)E.push(this.addElement(l,bt(f,this.doc)));for(const[f,{elements:E}]of this.external)E.push(this.addElement(l,un(f,this.doc)))}removeHost(l){this.hosts.delete(l)}
vendor: 9,295 bytes, line 503
503addElement(l,f){return this.nonce&&f.setAttribute("nonce",this.nonce),l.appendChild(f)}static \u0275fac=function(f){return new(f||p)(c.KVO(c.qQL),c.KVO(_.sZ2),c.KVO(_.BIS,8),c.KVO(_.Agw))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();const Pn={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/Math/MathML"},rn=/%COMP%/g,Hr=new c.nKC("",{factory:()=>!0});function Cr(p,a){return a.map(l=>l.replace(rn,p))}let Xr=(()=>{class p{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(l,f,E,L,J,Me,Ye=null,rt=null){this.eventManager=l,this.sharedStylesHost=f,this.appId=E,this.removeStylesOnCompDestroy=L,this.doc=J,this.ngZone=Me,this.nonce=Ye,this.tracingService=rt,this.defaultRenderer=new Zr(l,J,Me,this.tracingService)}createRenderer(l,f){if(!l||!f)return this.defaultRenderer;const E=this.getOrCreateRenderer(l,f);return E instanceof pn?E.applyToHost(l):E instanceof nt&&E.applyStyles(),E}getOrCreateRenderer(l,f){const E=this.rendererByCompId;let L=E.get(f.id);if(!L){const J=this.doc,Me=this.ngZone,Ye=this.eventManager,rt=this.sharedStylesHost,qt=this.removeStylesOnCompDestroy,$t=this.tracingService;switch(f.encapsulation){case _.gXe.Emulated:L=new pn(Ye,rt,f,this.appId,qt,J,Me,$t);break;case _.gXe.ShadowDom:return new Dt(Ye,l,f,J,Me,this.nonce,$t,rt);case _.gXe.ExperimentalIsolatedShadowDom:return new Dt(Ye,l,f,J,Me,this.nonce,$t);default:L=new nt(Ye,rt,f,qt,J,Me,$t)}E.set(f.id,L)}return L}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(l){this.rendererByCompId.delete(l)}static \u0275fac=function(f){return new(f||p)(c.KVO(Fr),c.KVO(_n),c.KVO(_.sZ2),c.KVO(Hr),c.KVO(c.qQL),c.KVO(c.SKi),c.KVO(_.BIS),c.KVO(_.a8H,8))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();class Zr{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(a,l,f,E){this.eventManager=a,this.doc=l,this.ngZone=f,this.tracingService=E}destroy(){}destroyNode=null;createElement(a,l){return l?this.doc.createElementNS(Pn[l]||l,a):this.doc.createElement(a)}createComment(a){return this.doc.createComment(a)}createText(a){return this.doc.createTextNode(a)}appendChild(a,l){(Ei(a)?a.content:a).appendChild(l)}insertBefore(a,l,f){a&&(Ei(a)?a.content:a).insertBefore(l,f)}removeChild(a,l){l.remove()}selectRootElement(a,l){let f="string"==typeof a?this.doc.querySelector(a):a;if(!f)throw new c.buA(-5104,!1);return l||(f.textContent=""),f}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,l,f,E){if(E){l=E+":"+l;const L=Pn[E];L?a.setAttributeNS(L,l,f):a.setAttribute(l,f)}else a.setAttribute(l,f)}removeAttribute(a,l,f){if(f){const E=Pn[f];E?a.removeAttributeNS(E,l):a.removeAttribute(`${f}:${l}`)}else a.removeAttribute(l)}addClass(a,l){a.classList.add(l)}removeClass(a,l){a.classList.remove(l)}setStyle(a,l,f,E){E&(_.czy.DashCase|_.czy.Important)?a.style.setProperty(l,f,E&_.czy.Important?"important":""):a.style[l]=f}removeStyle(a,l,f){f&_.czy.DashCase?a.style.removeProperty(l):a.style[l]=""}setProperty(a,l,f){null!=a&&(a[l]=f)}setValue(a,l){a.nodeValue=l}listen(a,l,f,E){if("string"==typeof a&&!(a=(0,Ge.rb)().getGlobalEventTarget(this.doc,a)))throw new c.buA(5102,!1);let L=this.decoratePreventDefault(f);return this.tracingService?.wrapEventListener&&(L=this.tracingService.wrapEventListener(a,l,L)),this.eventManager.addEventListener(a,l,L,E)}decoratePreventDefault(a){return l=>{if("__ngUnwrap__"===l)return a;!1===a(l)&&l.preventDefault()}}}function Ei(p){return"TEMPLATE"===p.tagName&&void 0!==p.content}class Dt extends Zr{hostEl;sharedStylesHost;shadowRoot;constructor(a,l,f,E,L,J,Me,Ye){super(a,E,L,Me),this.hostEl=l,this.sharedStylesHost=Ye,this.shadowRoot=l.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let rt=f.styles;rt=Cr(f.id,rt);for(const $t of rt){const mn=document.createElement("style");J&&mn.setAttribute("nonce",J),mn.textContent=$t,this.shadowRoot.appendChild(mn)}const qt=f.getExternalStyles?.();if(qt)for(const $t of qt){const mn=un($t,E);J&&mn.setAttribute("nonce",J),this.shadowRoot.appendChild(mn)}}nodeOrShadowRoot(a){return a===this.hostEl?this.shadowRoot:a}appendChild(a,l){return super.appendChild(this.nodeOrShadowRoot(a),l)}insertBefore(a,l,f){return super.insertBefore(this.nodeOrShadowRoot(a),l,f)}removeChild(a,l){return super.removeChild(null,l)}parentNode(a){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(a)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class nt extends Zr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(a,l,f,E,L,J,Me,Ye){super(a,L,J,Me),this.sharedStylesHost=l,this.removeStylesOnCompDestroy=E;let rt=f.styles;this.styles=Ye?Cr(Ye,rt):rt,this.styleUrls=f.getExternalStyles?.(Ye)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===_.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class pn extends nt{contentAttr;hostAttr;constructor(a,l,f,E,L,J,Me,Ye){const rt=E+"-"+f.id;super(a,l,f,L,J,Me,Ye,rt),this.contentAttr=function Qr(p){return"_ngcontent-%COMP%".replace(rn,p)}(rt),this.hostAttr=function qr(p){return"_nghost-%COMP%".replace(rn,p)}(rt)}applyToHost(a){this.applyStyles(),this.setAttribute(a,this.hostAttr,"")}createElement(a,l){const f=super.createElement(a,l);return super.setAttribute(f,this.contentAttr,""),f}}class ci extends Ge.qj{supportsDOMEvents=!0;static makeCurrent(){(0,Ge.ig)(new ci)}onAndCancel(a,l,f,E){return a.addEventListener(l,f,E),()=>{a.removeEventListener(l,f,E)}}dispatchEvent(a,l){a.dispatchEvent(l)}remove(a){a.remove()}createElement(a,l){return(l=l||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,l){return"window"===l?window:"document"===l?a:"body"===l?a.body:null}getBaseHref(a){const l=function Ur(){return Wr=Wr||document.head.querySelector("base"),Wr?Wr.getAttribute("href"):null}();return null==l?null:function wo(p){return new URL(p,document.baseURI).pathname}(l)}resetBaseElement(){Wr=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,On.b)(document.cookie,a)}}let Wr=null,xi=(()=>{class p{build(){return new XMLHttpRequest}static \u0275fac=function(f){return new(f||p)};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();const Mi=["alt","control","meta","shift"],sr={"\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"},Qn={alt:p=>p.altKey,control:p=>p.ctrlKey,meta:p=>p.metaKey,shift:p=>p.shiftKey};let Di=(()=>{class p extends sn{constructor(l){super(l)}supports(l){return null!=p.parseEventName(l)}addEventListener(l,f,E,L){const J=p.parseEventName(f),Me=p.eventCallback(J.fullKey,E,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,Ge.rb)().onAndCancel(l,J.domEventName,Me,L))}static parseEventName(l){const f=l.toLowerCase().split("."),E=f.shift();if(0===f.length||"keydown"!==E&&"keyup"!==E)return null;const L=p._normalizeKey(f.pop());let J="",Me=f.indexOf("code");if(Me>-1&&(f.splice(Me,1),J="code."),Mi.forEach(rt=>{const qt=f.indexOf(rt);qt>-1&&(f.splice(qt,1),J+=rt+".")}),J+=L,0!=f.length||0===L.length)return null;const Ye={};return Ye.domEventName=E,Ye.fullKey=J,Ye}static matchEventFullKeyCode(l,f){let E=sr[l.key]||l.key,L="";return f.indexOf("code.")>-1&&(E=l.code,L="code."),!(null==E||!E)&&(E=E.toLowerCase()," "===E?E="space":"."===E&&(E="dot"),Mi.forEach(J=>{J!==E&&(0,Qn[J])(l)&&(L+=J+".")}),L+=E,L===f)}static eventCallback(l,f,E){return L=>{p.matchEventFullKeyCode(L,l)&&E.runGuarded(()=>f(L))}}static _normalizeKey(l){return"esc"===l?"escape":l}static \u0275fac=function(f){return new(f||p)(c.KVO(c.qQL))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();function et(){return(et=(0,cn.A)(function*(p,a,l){const f={rootComponent:p,...Bt(a,l)};return(0,h.TL3)(f)})).apply(this,arguments)}function Bt(p,a){return{platformRef:a?.platformRef,appProviders:[...Li,...p?.providers??[]],platformProviders:br}}const br=[{provide:_.Agw,useValue:xt.AJ},{provide:_.PLl,useValue:function Gr(){ci.makeCurrent()},multi:!0},{provide:c.qQL,useFactory:function ei(){return(0,_._9u)(document),document}}],Jr=[{provide:_.$Ln,useClass:class Vi{addToWindow(a){c.laP.getAngularTestability=(f,E=!0)=>{const L=a.findTestabilityInTree(f,E);if(null==L)throw new c.buA(5103,!1);return L},c.laP.getAllAngularTestabilities=()=>a.getAllTestabilities(),c.laP.getAllAngularRootElements=()=>a.getAllRootElements(),c.laP.frameworkStabilizers||(c.laP.frameworkStabilizers=[]),c.laP.frameworkStabilizers.push(f=>{const E=c.laP.getAllAngularTestabilities();let L=E.length;const J=function(){L--,0==L&&f()};
503E.forEach(Me=>{Me.whenStable(J)})})}findTestabilityInTree(a,l,f){return null==l?null:a.getTestability(l)??(f?(0,Ge.rb)().isShadowRoot(l)?this.findTestabilityInTree(a,l.host,!0):this.findTestabilityInTree(a,l.parentElement,!0):null)}}},{provide:_.dOL,useClass:_.NYb},{provide:_.NYb,useClass:_.NYb}],Li=[{provide:c.GBX,useValue:"root"},{provide:c.zcH,useFactory:function $r(){return new c.zcH}},{provide:kn,useClass:Wt,multi:!0},{provide:kn,useClass:Di,multi:!0},Xr,_n,Fr,{provide:_._9s,useExisting:Xr},{provide:On.N,useClass:xi},[]];let pi=(()=>{class p{constructor(){}static \u0275fac=function(f){return new(f||p)};static \u0275mod=_.$C({type:p});static \u0275inj=c.G2t({providers:[...Li,...Jr],imports:[Vt.MD,h.Hbi]})}return p})();var ri=i(3794);function Hi(p){return new c.buA(3e3,!1)}function $o(p){return new c.buA(3002,!1)}function to(p){switch(p.length){case 0:return new lt;case 1:return p[0];default:return new Rt(p)}}function Ao(p,a,l=new Map,f=new Map){const E=[],L=[];let J=-1,Me=null;if(a.forEach(Ye=>{const rt=Ye.get("offset"),qt=rt==J,$t=qt&&Me||new Map;Ye.forEach((mn,dn)=>{let Nn=dn,Mn=mn;if("offset"!==dn)switch(Nn=p.normalizePropertyName(Nn,E),Mn){case"!":Mn=l.get(dn);break;case Ve:Mn=f.get(dn);break;default:Mn=p.normalizeStyleValue(dn,Nn,Mn,E)}$t.set(Nn,Mn)}),qt||L.push($t),Me=$t,J=rt}),E.length)throw function as(){return new c.buA(3502,!1)}();return L}function lo(p,a,l,f){switch(a){case"start":p.onStart(()=>f(l&&Pi(l,"start",p)));break;case"done":p.onDone(()=>f(l&&Pi(l,"done",p)));break;case"destroy":p.onDestroy(()=>f(l&&Pi(l,"destroy",p)))}}function Pi(p,a,l){const L=Xo(p.element,p.triggerName,p.fromState,p.toState,a||p.phaseName,l.totalTime??p.totalTime,!!l.disabled),J=p._data;return null!=J&&(L._data=J),L}function Xo(p,a,l,f,E="",L=0,J){return{element:p,triggerName:a,fromState:l,toState:f,phaseName:E,totalTime:L,disabled:!!J}}function ji(p,a,l){let f=p.get(a);return f||p.set(a,f=l),f}function vs(p){const a=p.indexOf(":");return[p.substring(1,a),p.slice(a+1)]}const Wo=typeof document>"u"?null:document.documentElement;function Co(p){const a=p.parentNode||p.host||null;return a===Wo?null:a}let ie=null,j=!1;function te(p,a){for(;a;){if(a===p)return!0;a=Co(a)}return!1}function A(p,a,l){if(l)return Array.from(p.querySelectorAll(a));const f=p.querySelector(a);return f?[f]:[]}const st="ng-enter",It="ng-leave",gn="ng-trigger",yn=".ng-trigger",Rn="ng-animating",Un=".ng-animating";function Jn(p){if("number"==typeof p)return p;const a=p.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:qn(parseFloat(a[1]),a[2])}function qn(p,a){return"s"===a?1e3*p:p}function Er(p,a,l){return p.hasOwnProperty("duration")?p:function nr(p,a,l){let f,E=0,L="";if("string"==typeof p){const J=p.match(Xn);if(null===J)return a.push(Hi()),{duration:0,delay:0,easing:""};f=qn(parseFloat(J[1]),J[2]);const Me=J[3];null!=Me&&(E=qn(parseFloat(Me),J[4]));const Ye=J[5];Ye&&(L=Ye)}else f=p;if(!l){let J=!1,Me=a.length;f<0&&(a.push(function yi(){return new c.buA(3100,!1)}()),J=!0),E<0&&(a.push(function Oo(){return new c.buA(3101,!1)}()),J=!0),J&&a.splice(Me,0,Hi())}return{duration:f,delay:E,easing:L}}(p,a,l)}const Xn=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Dr(p,a,l){a.forEach((f,E)=>{const L=Ln(E);l&&!l.has(E)&&l.set(E,p.style[L]),p.style[L]=f})}function Ee(p,a){a.forEach((l,f)=>{const E=Ln(f);p.style[E]=""})}function xe(p){return Array.isArray(p)?1==p.length?p[0]:function Ae(p,a=null){return{type:at.Sequence,steps:p,options:a}}(p):p}const Pe=new RegExp("{{\\s*(.+?)\\s*}}","g");function je(p){let a=[];if("string"==typeof p){let l;for(;l=Pe.exec(p);)a.push(l[1]);Pe.lastIndex=0}return a}function Qt(p,a,l){const f=`${p}`,E=f.replace(Pe,(L,J)=>{let Me=a[J];return null==Me&&(l.push(function Qi(){return new c.buA(3003,!1)}()),Me=""),Me.toString()});return E==f?p:E}const hn=/-+([a-z0-9])/g;function Ln(p){return p.replace(hn,(...a)=>a[1].toUpperCase())}function Br(p,a,l){switch(a.type){case at.Trigger:return p.visitTrigger(a,l);case at.State:return p.visitState(a,l);case at.Transition:return p.visitTransition(a,l);case at.Sequence:return p.visitSequence(a,l);case at.Group:return p.visitGroup(a,l);case at.Animate:return p.visitAnimate(a,l);case at.Keyframes:return p.visitKeyframes(a,l);case at.Style:return p.visitStyle(a,l);case at.Reference:return p.visitReference(a,l);case at.AnimateChild:return p.visitAnimateChild(a,l);case at.AnimateRef:return p.visitAnimateRef(a,l);case at.Query:return p.visitQuery(a,l);case at.Stagger:return p.visitStagger(a,l);default:throw function Io(){return new c.buA(3004,!1)}()}}function li(p,a){return window.getComputedStyle(p)[a]}let ti=(()=>{class p{validateStyleProperty(l){return function ke(p){ie||(ie=function vr(){return typeof document<"u"?document.body:null}()||{},j=!!ie.style&&"WebkitAppearance"in ie.style);let a=!0;return ie.style&&!function ne(p){return"ebkit"==p.substring(1,6)}(p)&&(a=p in ie.style,!a&&j&&(a="Webkit"+p.charAt(0).toUpperCase()+p.slice(1)in ie.style)),a}(l)}containsElement(l,f){return te(l,f)}getParentElement(l){return Co(l)}query(l,f,E){return A(l,f,E)}computeStyle(l,f,E){return E||""}animate(l,f,E,L,J,Me=[],Ye){return new lt(E,L)}static \u0275fac=function(f){return new(f||p)};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();class $i{static NOOP=new ti}class Ai{}const _s=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 is extends Ai{normalizePropertyName(a,l){return Ln(a)}normalizeStyleValue(a,l,f,E){let L="";const J=f.toString().trim();if(_s.has(l)&&0!==f&&"0"!==f)if("number"==typeof f)L="px";else{const Me=f.match(/^[+-]?[\d\.]+([a-z]*)$/);Me&&0==Me[1].length&&E.push(function Fi(){return new c.buA(3005,!1)}())}return J+L}}const bs=new Set(["true","1"]),ks=new Set(["false","0"]);
503function da(p,a){const l=bs.has(p)||ks.has(p),f=bs.has(a)||ks.has(a);return(E,L)=>{let J="*"==p||p==E,Me="*"==a||a==L;return!J&&l&&"boolean"==typeof E&&(J=E?bs.has(p):ks.has(p)),!Me&&f&&"boolean"==typeof L&&(Me=L?bs.has(a):ks.has(a)),J&&Me}}const Da=new RegExp("s*:selfs*,?","g");function Ys(p,a,l,f){return new Js(p).build(a,l,f)}class Js{_driver;constructor(a){this._driver=a}build(a,l,f){const E=new cs(l);return this._resetContextStyleTimingState(E),Br(this,xe(a),E)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,l){let f=l.queryCount=0,E=l.depCount=0;const L=[],J=[];return"@"==a.name.charAt(0)&&l.errors.push(function Uo(){return new c.buA(3006,!1)}()),a.definitions.forEach(Me=>{if(this._resetContextStyleTimingState(l),Me.type==at.State){const Ye=Me,rt=Ye.name;rt.toString().split(/\s*,\s*/).forEach(qt=>{Ye.name=qt,L.push(this.visitState(Ye,l))}),Ye.name=rt}else if(Me.type==at.Transition){const Ye=this.visitTransition(Me,l);f+=Ye.queryCount,E+=Ye.depCount,J.push(Ye)}else l.errors.push(function Xi(){return new c.buA(3007,!1)}())}),{type:at.Trigger,name:a.name,states:L,transitions:J,queryCount:f,depCount:E,options:null}}visitState(a,l){const f=this.visitStyle(a.styles,l),E=a.options&&a.options.params||null;if(f.containsDynamicStyles){const L=new Set,J=E||{};f.styles.forEach(Me=>{Me instanceof Map&&Me.forEach(Ye=>{je(Ye).forEach(rt=>{J.hasOwnProperty(rt)||L.add(rt)})})}),L.size&&l.errors.push(function bo(){return new c.buA(3008,!1)}(0,L.values()))}return{type:at.State,name:a.name,style:f,options:E?{params:E}:null}}visitTransition(a,l){l.queryCount=0,l.depCount=0;const f=Br(this,xe(a.animation),l),E=function Ga(p,a){const l=[];return"string"==typeof p?p.split(/\s*,\s*/).forEach(f=>function Zs(p,a,l){if(":"==p[0]){const Ye=function Sr(p,a){switch(p){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,f)=>parseFloat(f)>parseFloat(l);case":decrement":return(l,f)=>parseFloat(f)<parseFloat(l);default:return a.push(function Vo(){return new c.buA(3016,!1)}()),"* => *"}}(p,l);if("function"==typeof Ye)return void a.push(Ye);p=Ye}const f=p.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==f||f.length<4)return l.push(function zo(){return new c.buA(3015,!1)}()),a;const E=f[1],L=f[2],J=f[3];a.push(da(E,J)),"<"==L[0]&&("*"!=E||"*"!=J)&&a.push(da(J,E))}(f,l,a)):l.push(p),l}(a.expr,l.errors);return{type:at.Transition,matchers:E,animation:f,queryCount:l.queryCount,depCount:l.depCount,options:po(a.options)}}visitSequence(a,l){return{type:at.Sequence,steps:a.steps.map(f=>Br(this,f,l)),options:po(a.options)}}visitGroup(a,l){const f=l.currentTime;let E=0;const L=a.steps.map(J=>{l.currentTime=f;const Me=Br(this,J,l);return E=Math.max(E,l.currentTime),Me});return l.currentTime=E,{type:at.Group,steps:L,options:po(a.options)}}visitAnimate(a,l){const f=function As(p,a){if(p.hasOwnProperty("duration"))return p;if("number"==typeof p)return Cs(Er(p,a).duration,0,"");const l=p;if(l.split(/\s+/).some(L=>"{"==L.charAt(0)&&"{"==L.charAt(1))){const L=Cs(0,0,"");return L.dynamic=!0,L.strValue=l,L}const E=Er(l,a);return Cs(E.duration,E.delay,E.easing)}(a.timings,l.errors);l.currentAnimateTimings=f;let E,L=a.styles?a.styles:qe({});if(L.type==at.Keyframes)E=this.visitKeyframes(L,l);else{let J=a.styles,Me=!1;if(!J){Me=!0;const rt={};f.easing&&(rt.easing=f.easing),J=qe(rt)}l.currentTime+=f.duration+f.delay;const Ye=this.visitStyle(J,l);Ye.isEmptyStep=Me,E=Ye}return l.currentAnimateTimings=null,{type:at.Animate,timings:f,style:E,options:null}}visitStyle(a,l){const f=this._makeStyleAst(a,l);return this._validateStyleAst(f,l),f}_makeStyleAst(a,l){const f=[],E=Array.isArray(a.styles)?a.styles:[a.styles];for(let Me of E)"string"==typeof Me?Me===Ve?f.push(Me):l.errors.push($o()):f.push(new Map(Object.entries(Me)));let L=!1,J=null;return f.forEach(Me=>{if(Me instanceof Map&&(Me.has("easing")&&(J=Me.get("easing"),Me.delete("easing")),!L))for(let Ye of Me.values())if(Ye.toString().indexOf("{{")>=0){L=!0;break}}),{type:at.Style,styles:f,easing:J,offset:a.offset,containsDynamicStyles:L,options:null}}_validateStyleAst(a,l){const f=l.currentAnimateTimings;let E=l.currentTime,L=l.currentTime;f&&L>
vendor: 14,338 bytes, line 503
5030&&(L-=f.duration+f.delay),a.styles.forEach(J=>{"string"!=typeof J&&J.forEach((Me,Ye)=>{const rt=l.collectedStyles.get(l.currentQuerySelector),qt=rt.get(Ye);let $t=!0;qt&&(L!=E&&L>=qt.startTime&&E<=qt.endTime&&(l.errors.push(function So(){return new c.buA(3010,!1)}()),$t=!1),L=qt.startTime),$t&&rt.set(Ye,{startTime:L,endTime:E}),l.options&&function ve(p,a,l){const f=a.params||{},E=je(p);E.length&&E.forEach(L=>{f.hasOwnProperty(L)||l.push(function Po(){return new c.buA(3001,!1)}())})}(Me,l.options,l.errors)})})}visitKeyframes(a,l){const f={type:at.Keyframes,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function gi(){return new c.buA(3011,!1)}()),f;let L=0;const J=[];let Me=!1,Ye=!1,rt=0;const qt=a.steps.map(er=>{const mr=this._makeStyleAst(er,l);let si=null!=mr.offset?mr.offset:function Fs(p){if("string"==typeof p)return null;let a=null;if(Array.isArray(p))p.forEach(l=>{if(l instanceof Map&&l.has("offset")){const f=l;a=parseFloat(f.get("offset")),f.delete("offset")}});else if(p instanceof Map&&p.has("offset")){const l=p;a=parseFloat(l.get("offset")),l.delete("offset")}return a}(mr.styles),Nr=0;return null!=si&&(L++,Nr=mr.offset=si),Ye=Ye||Nr<0||Nr>1,Me=Me||Nr<rt,rt=Nr,J.push(Nr),mr});Ye&&l.errors.push(function io(){return new c.buA(3012,!1)}()),Me&&l.errors.push(function rs(){return new c.buA(3200,!1)}());const $t=a.steps.length;let mn=0;L>0&&L<$t?l.errors.push(function jo(){return new c.buA(3202,!1)}()):0==L&&(mn=1/($t-1));const dn=$t-1,Nn=l.currentTime,Mn=l.currentAnimateTimings,cr=Mn.duration;return qt.forEach((er,mr)=>{const si=mn>0?mr==dn?1:mn*mr:J[mr],Nr=si*cr;l.currentTime=Nn+Mn.delay+Nr,Mn.duration=Nr,this._validateStyleAst(er,l),er.offset=si,f.styles.push(er)}),f}visitReference(a,l){return{type:at.Reference,animation:Br(this,xe(a.animation),l),options:po(a.options)}}visitAnimateChild(a,l){return l.depCount++,{type:at.AnimateChild,options:po(a.options)}}visitAnimateRef(a,l){return{type:at.AnimateRef,animation:this.visitReference(a.animation,l),options:po(a.options)}}visitQuery(a,l){const f=l.currentQuerySelector,E=a.options||{};l.queryCount++,l.currentQuery=a;const[L,J]=function Ls(p){const a=!!p.split(/\s*,\s*/).find(l=>":self"==l);return a&&(p=p.replace(Da,"")),p=p.replace(/@\*/g,yn).replace(/@\w+/g,l=>yn+"-"+l.slice(1)).replace(/:animating/g,Un),[p,a]}(a.selector);l.currentQuerySelector=f.length?f+" "+L:L,ji(l.collectedStyles,l.currentQuerySelector,new Map);const Me=Br(this,xe(a.animation),l);return l.currentQuery=null,l.currentQuerySelector=f,{type:at.Query,selector:L,limit:E.limit||0,optional:!!E.optional,includeSelf:J,animation:Me,originalSelector:a.selector,options:po(a.options)}}visitStagger(a,l){l.currentQuery||l.errors.push(function oo(){return new c.buA(3013,!1)}());const f="full"===a.timings?{duration:0,delay:0,easing:"full"}:Er(a.timings,l.errors,!0);return{type:at.Stagger,animation:Br(this,xe(a.animation),l),timings:f,options:null}}}class cs{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(a){this.errors=a}}function po(p){return p?(p={...p}).params&&(p.params=function ys(p){return p?{...p}:null}(p.params)):p={},p}function Cs(p,a,l){return{duration:p,delay:a,easing:l}}function Bs(p,a,l,f,E,L,J=null,Me=!1){return{type:1,element:p,keyframes:a,preStyleProps:l,postStyleProps:f,duration:E,delay:L,totalTime:E+L,easing:J,subTimeline:Me}}class Rs{_map=new Map;get(a){return this._map.get(a)||[]}append(a,l){let f=this._map.get(a);f||this._map.set(a,f=[]),f.push(...l)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const S=new RegExp(":enter","g"),N=new RegExp(":leave","g");function V(p,a,l,f,E,L=new Map,J=new Map,Me,Ye,rt=[]){return(new he).buildKeyframes(p,a,l,f,E,L,J,Me,Ye,rt)}class he{buildKeyframes(a,l,f,E,L,J,Me,Ye,rt,qt=[]){rt=rt||new Rs;const $t=new Ot(a,l,rt,E,L,qt,[]);$t.options=Ye;const mn=Ye.delay?Jn(Ye.delay):0;$t.currentTimeline.delayNextStep(mn),$t.currentTimeline.setStyles([J],null,$t.errors,Ye),Br(this,f,$t);const dn=$t.timelines.filter(Nn=>Nn.containsAnimation());if(dn.length&&Me.size){let Nn;for(let Mn=dn.length-1;Mn>=0;Mn--){const cr=dn[Mn];if(cr.element===l){Nn=cr;break}}Nn&&!Nn.allowOnlyTimelineStyles()&&Nn.setStyles([Me],null,$t.errors,Ye)}return dn.length?dn.map(Nn=>Nn.buildKeyframes()):[Bs(l,[],[],[],0,mn,"",!1)]}visitTrigger(a,l){}visitState(a,l){}visitTransition(a,l){}visitAnimateChild(a,l){const f=l.subInstructions.get(l.element);if(f){const E=l.createSubContext(a.options),L=l.currentTimeline.currentTime,J=this._visitSubInstructions(f,E,E.options);L!=J&&l.transformIntoNewTimeline(J)}l.previousNode=a}visitAnimateRef(a,l){const f=l.createSubContext(a.options);f.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],l,f),this.visitReference(a.animation,f),l.transformIntoNewTimeline(f.currentTimeline.currentTime),l.previousNode=a}_applyAnimationRefDelays(a,l,f){for(const E of a){const L=E?.delay;if(L){const J="number"==typeof L?L:Jn(Qt(L,E?.params??{},l.errors));f.delayNextStep(J)}}}_visitSubInstructions(a,l,f){let L=l.currentTimeline.currentTime;const J=null!=f.duration?Jn(f.duration):null,Me=null!=f.delay?Jn(f.delay):null;return 0!==J&&a.forEach(Ye=>{const rt=l.appendInstructionToTimeline(Ye,J,Me);L=Math.max(L,rt.duration+rt.delay)}),L}visitReference(a,l){l.updateOptions(a.options,!0),Br(this,a.animation,l),l.previousNode=a}visitSequence(a,l){const f=l.subContextCount;let E=l;const L=a.options;if(L&&(L.params||L.delay)&&(E=l.createSubContext(L),E.transformIntoNewTimeline(),null!=L.delay)){E.previousNode.type==at.Style&&(E.currentTimeline.snapshotCurrentStyles(),E.previousNode=Je);const J=Jn(L.delay);E.delayNextStep(J)}a.steps.length&&(a.steps.forEach(J=>Br(this,J,E)),E.currentTimeline.applyStylesToKeyframe(),E.subContextCount>f&&E.transformIntoNewTimeline()),l.previousNode=a}visitGroup(a,l){const f=[];let E=l.currentTimeline.currentTime;const L=a.options&&a.options.delay?Jn(a.options.delay):0;a.steps.forEach(J=>{const Me=l.createSubContext(a.options);L&&Me.delayNextStep(L),Br(this,J,Me),E=Math.max(E,Me.currentTimeline.currentTime),f.push(Me.currentTimeline)}),f.forEach(J=>l.currentTimeline.mergeTimelineCollectedStyles(J)),l.transformIntoNewTimeline(E),l.previousNode=a}_visitTiming(a,l){if(a.dynamic){const f=a.strValue;return Er(l.params?Qt(f,l.params,l.errors):f,l.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,l){const f=l.currentAnimateTimings=this._visitTiming(a.timings,l),E=l.currentTimeline;f.delay&&(l.incrementTime(f.delay),E.snapshotCurrentStyles());const L=a.style;L.type==at.Keyframes?this.visitKeyframes(L,l):(l.incrementTime(f.duration),this.visitStyle(L,l),E.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=a}visitStyle(a,l){const f=l.currentTimeline,E=l.currentAnimateTimings;!E&&f.hasCurrentStyleProperties()&&f.forwardFrame();const L=E&&E.easing||a.easing;a.isEmptyStep?f.applyEmptyStep(L):f.setStyles(a.styles,L,l.errors,l.options),l.previousNode=a}visitKeyframes(a,l){const f=l.currentAnimateTimings,E=l.currentTimeline.duration,L=f.duration,Me=l.createSubContext().currentTimeline;Me.easing=f.easing,a.styles.forEach(Ye=>{Me.forwardTime((Ye.offset||0)*L),Me.setStyles(Ye.styles,Ye.easing,l.errors,l.options),Me.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(Me),l.transformIntoNewTimeline(E+L),l.previousNode=a}visitQuery(a,l){const f=l.currentTimeline.currentTime,E=a.options||{},L=E.delay?Jn(E.delay):0;L&&(l.previousNode.type===at.Style||0==f&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Je);let J=f;const Me=l.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!E.optional,l.errors);l.currentQueryTotal=Me.length;let Ye=null;Me.forEach((rt,qt)=>{l.currentQueryIndex=qt;const $t=l.createSubContext(a.options,rt);L&&$t.delayNextStep(L),rt===l.element&&(Ye=$t.currentTimeline),Br(this,a.animation,$t),$t.currentTimeline.applyStylesToKeyframe(),J=Math.max(J,$t.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(J),Ye&&(l.currentTimeline.mergeTimelineCollectedStyles(Ye),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=a}visitStagger(a,l){const f=l.parentContext,E=l.currentTimeline,L=a.timings,J=Math.abs(L.duration),Me=J*(l.currentQueryTotal-1);let Ye=J*l.currentQueryIndex;switch(L.duration<0?"reverse":L.easing){case"reverse":Ye=Me-Ye;break;case"full":Ye=f.currentStaggerTime}const qt=l.currentTimeline;Ye&&qt.delayNextStep(Ye);const $t=qt.currentTime;Br(this,a.animation,l),l.previousNode=a,f.currentStaggerTime=E.currentTime-$t+(E.startTime-f.currentTimeline.startTime)}}const Je={};class Ot{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Je;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(a,l,f,E,L,J,Me,Ye){this._driver=a,this.element=l,this.subInstructions=f,this._enterClassName=E,this._leaveClassName=L,this.errors=J,this.timelines=Me,this.currentTimeline=Ye||new dt(this._driver,l,0),Me.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,l){if(!a)return;const f=a;let E=this.options;null!=f.duration&&(E.duration=Jn(f.duration)),null!=f.delay&&(E.delay=Jn(f.delay));const L=f.params;if(L){let J=E.params;J||(J=this.options.params={}),Object.keys(L).forEach(Me=>{(!l||!J.hasOwnProperty(Me))&&(J[Me]=Qt(L[Me],J,this.errors))})}}_copyOptions(){const a={};if(this.options){const l=this.options.params;if(l){const f=a.params={};Object.keys(l).forEach(E=>{f[E]=l[E]})}}return a}createSubContext(a=null,l,f){const E=l||this.element,L=new Ot(this._driver,E,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(E,f||0));return L.previousNode=this.previousNode,L.currentAnimateTimings=this.currentAnimateTimings,L.options=this._copyOptions(),L.updateOptions(a),L.currentQueryIndex=this.currentQueryIndex,L.currentQueryTotal=this.currentQueryTotal,L.parentContext=this,this.subContextCount++,L}transformIntoNewTimeline(a){return this.previousNode=Je,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,l,f){const E={duration:l??a.duration,delay:this.currentTimeline.currentTime+(f??0)+a.delay,easing:""},L=new Cn(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,E,a.stretchStartingKeyframe);return this.timelines.push(L),E}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,l,f,E,L,J){let Me=[];if(E&&Me.push(this.element),a.length>0){a=(a=a.replace(S,"."+this._enterClassName)).replace(N,"."+this._leaveClassName);let rt=this._driver.query(this.element,a,1!=f);0!==f&&(rt=f<0?rt.slice(rt.length+f,rt.length):rt.slice(0,f)),Me.push(...rt)}return!L&&0==Me.length&&J.push(function di(){return new c.buA(3014,!1)}()),Me}}class dt{_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(a,l,f,E){this._driver=a,this.element=l,this.startTime=f,this._elementTimelineStylesLookup=E,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+a),l&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,l){return this.applyStylesToKeyframe(),new dt(this._driver,a,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,l){this._localTimelineStyles.set(a,l),this._globalTimelineStyles.set(a,l),this._styleSummary.set(a,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[l,f]of this._globalTimelineStyles)this._backFill.set(l,f||Ve),this._currentKeyframe.set(l,Ve);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,l,f,E){l&&this._previousKeyframe.set("easing",l);const L=E&&E.params||{},J=function yr(p,a){const l=new Map;let f;return p.forEach(E=>{if("*"===E){f??=a.keys();for(let L of f)l.set(L,Ve)}else for(let[L,J]of E)l.set(L,J)}),l}(a,this._globalTimelineStyles);for(let[Me,Ye]of J){const rt=Qt(Ye,L,f);this._pendingStyles.set(Me,rt),this._localTimelineStyles.has(Me)||this._backFill.set(Me,this._globalTimelineStyles.get(Me)??Ve),this._updateStyle(Me,rt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,l)=>{this._currentKeyframe.set(l,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,a)}))}snapshotCurrentStyles(){for(let[a,l]of this._localTimelineStyles)this._pendingStyles.set(a,l),this._updateStyle(a,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let l in this._currentKeyframe)a.push(l);return a}
503mergeTimelineCollectedStyles(a){a._styleSummary.forEach((l,f)=>{const E=this._styleSummary.get(f);(!E||l.time>E.time)&&this._updateStyle(f,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,l=new Set,f=1===this._keyframes.size&&0===this.duration;let E=[];this._keyframes.forEach((Me,Ye)=>{const rt=new Map([...this._backFill,...Me]);rt.forEach((qt,$t)=>{"!"===qt?a.add($t):qt===Ve&&l.add($t)}),f||rt.set("offset",Ye/this.duration),E.push(rt)});const L=[...a.values()],J=[...l.values()];if(f){const Me=E[0],Ye=new Map(Me);Me.set("offset",0),Ye.set("offset",1),E=[Me,Ye]}return Bs(this.element,E,L,J,this.duration,this.startTime,this.easing,!1)}}class Cn extends dt{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(a,l,f,E,L,J,Me=!1){super(a,l,J.delay),this.keyframes=f,this.preStyleProps=E,this.postStyleProps=L,this._stretchStartingKeyframe=Me,this.timings={duration:J.duration,delay:J.delay,easing:J.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:l,duration:f,easing:E}=this.timings;if(this._stretchStartingKeyframe&&l){const L=[],J=f+l,Me=l/J,Ye=new Map(a[0]);Ye.set("offset",0),L.push(Ye);const rt=new Map(a[0]);rt.set("offset",Fn(Me)),L.push(rt);const qt=a.length-1;for(let $t=1;$t<=qt;$t++){let mn=new Map(a[$t]);const dn=mn.get("offset");mn.set("offset",Fn((l+dn*f)/J)),L.push(mn)}f=J,l=0,E="",a=L}return Bs(this.element,a,this.preStyleProps,this.postStyleProps,f,l,E,!0)}}function Fn(p,a=3){const l=Math.pow(10,a-1);return Math.round(p*l)/l}function kr(p,a,l,f,E,L,J,Me,Ye,rt,qt,$t,mn){return{type:0,element:p,triggerName:a,isRemovalTransition:E,fromState:l,fromStyles:L,toState:f,toStyles:J,timelines:Me,queriedElements:Ye,preStyleProps:rt,postStyleProps:qt,totalTime:$t,errors:mn}}const ki={};class Yo{_triggerName;ast;_stateStyles;constructor(a,l,f){this._triggerName=a,this.ast=l,this._stateStyles=f}match(a,l,f,E){return function Ho(p,a,l,f,E){return p.some(L=>L(a,l,f,E))}(this.ast.matchers,a,l,f,E)}buildStyles(a,l,f){let E=this._stateStyles.get("*");return void 0!==a&&(E=this._stateStyles.get(a?.toString())||E),E?E.buildStyles(l,f):new Map}build(a,l,f,E,L,J,Me,Ye,rt,qt){const $t=[],mn=this.ast.options&&this.ast.options.params||ki,Nn=this.buildStyles(f,Me&&Me.params||ki,$t),Mn=Ye&&Ye.params||ki,cr=this.buildStyles(E,Mn,$t),er=new Set,mr=new Map,si=new Map,Nr="void"===E,oi={params:Ds(Mn,mn),delay:this.ast.options?.delay},Yi=qt?[]:V(a,l,this.ast.animation,L,J,Nn,cr,oi,rt,$t);let ro=0;return Yi.forEach(co=>{ro=Math.max(co.duration+co.delay,ro)}),$t.length?kr(l,this._triggerName,f,E,Nr,Nn,cr,[],[],mr,si,ro,$t):(Yi.forEach(co=>{const la=co.element,gs=ji(mr,la,new Set);co.preStyleProps.forEach(gl=>gs.add(gl));const Xl=ji(si,la,new Set);co.postStyleProps.forEach(gl=>Xl.add(gl)),la!==l&&er.add(la)}),kr(l,this._triggerName,f,E,Nr,Nn,cr,Yi,[...er.values()],mr,si,ro))}}function Ds(p,a){const l={...a};return Object.entries(p).forEach(([f,E])=>{null!=E&&(l[f]=E)}),l}class No{styles;defaultParams;normalizer;constructor(a,l,f){this.styles=a,this.defaultParams=l,this.normalizer=f}buildStyles(a,l){const f=new Map,E=Ds(a,this.defaultParams);return this.styles.styles.forEach(L=>{"string"!=typeof L&&L.forEach((J,Me)=>{J&&(J=Qt(J,E,l));const Ye=this.normalizer.normalizePropertyName(Me,l);J=this.normalizer.normalizeStyleValue(Me,Ye,J,l),f.set(Me,J)})}),f}}class Ns{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(a,l,f){this.name=a,this.ast=l,this._normalizer=f,l.states.forEach(E=>{this.states.set(E.name,new No(E.style,E.options&&E.options.params||{},f))}),Ml(this.states,"true","1"),Ml(this.states,"false","0"),l.transitions.forEach(E=>{this.transitionFactories.push(new Yo(a,E,this.states))}),this.fallbackTransition=function qs(p,a){return new Yo(p,{type:at.Transition,animation:{type:at.Sequence,steps:[],options:null},matchers:[(J,Me)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,l,f,E){return this.transitionFactories.find(J=>J.match(a,l,f,E))||null}matchStyles(a,l,f){return this.fallbackTransition.buildStyles(a,l,f)}}function Ml(p,a,l){p.has(a)?p.has(l)||p.set(l,p.get(a)):p.has(l)&&p.set(a,p.get(l))}const Dl=new Rs;class wa{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(a,l,f){this.bodyNode=a,this._driver=l,this._normalizer=f}register(a,l){const f=[],L=Ys(this._driver,l,f,[]);if(f.length)throw function yo(){return new c.buA(3503,!1)}();this._animations.set(a,L)}_buildPlayer(a,l,f){const E=a.element,L=Ao(this._normalizer,a.keyframes,l,f);return this._driver.animate(E,L,a.duration,a.delay,a.easing,[],!0)}
vendor: 20,987 bytes, line 503
503create(a,l,f={}){const E=[],L=this._animations.get(a);let J;const Me=new Map;if(L?(J=V(this._driver,l,L,st,It,new Map,new Map,f,Dl,E),J.forEach(qt=>{const $t=ji(Me,qt.element,new Map);qt.postStyleProps.forEach(mn=>$t.set(mn,null))})):(E.push(function ko(){return new c.buA(3300,!1)}()),J=[]),E.length)throw function Qo(){return new c.buA(3504,!1)}();Me.forEach((qt,$t)=>{qt.forEach((mn,dn)=>{qt.set(dn,this._driver.computeStyle($t,dn,Ve))})});const rt=to(J.map(qt=>{const $t=Me.get(qt.element);return this._buildPlayer(qt,new Map,$t)}));return this._playersById.set(a,rt),rt.onDestroy(()=>this.destroy(a)),this.players.push(rt),rt}destroy(a){const l=this._getPlayer(a);l.destroy(),this._playersById.delete(a);const f=this.players.indexOf(l);f>=0&&this.players.splice(f,1)}_getPlayer(a){const l=this._playersById.get(a);if(!l)throw function ls(){return new c.buA(3301,!1)}();return l}listen(a,l,f,E){const L=Xo(l,"","","");return lo(this._getPlayer(a),f,L,E),()=>{}}command(a,l,f,E){if("register"==f)return void this.register(a,E[0]);if("create"==f)return void this.create(a,l,E[0]||{});const L=this._getPlayer(a);switch(f){case"play":L.play();break;case"pause":L.pause();break;case"reset":L.reset();break;case"restart":L.restart();break;case"finish":L.finish();break;case"init":L.init();break;case"setPosition":L.setPosition(parseFloat(E[0]));break;case"destroy":this.destroy(a)}}}const Xa="ng-animate-queued",Ta="ng-animate-disabled",Oa=[],qa={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Jo="__ng_removed";class js{namespaceId;value;options;get params(){return this.options.params}constructor(a,l=""){this.namespaceId=l;const f=a&&a.hasOwnProperty("value");if(this.value=function fa(p){return p??null}(f?a.value:a),f){const{value:L,...J}=a;this.options=J}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const l=a.params;if(l){const f=this.options.params;Object.keys(l).forEach(E=>{null==f[E]&&(f[E]=l[E])})}}}const zs="void",ha=new js(zs);class Tl{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(a,l,f){this.id=a,this.hostElement=l,this._engine=f,this._hostClassName="ng-tns-"+a,ut(l,this._hostClassName)}listen(a,l,f,E){if(!this._triggers.has(l))throw function Bi(){return new c.buA(3302,!1)}();if(null==f||0==f.length)throw function ui(){return new c.buA(3303,!1)}();if(!function pa(p){return"start"==p||"done"==p}(f))throw function ao(){return new c.buA(3400,!1)}();const L=ji(this._elementListeners,a,[]),J={name:l,phase:f,callback:E};L.push(J);const Me=ji(this._engine.statesByElement,a,new Map);return Me.has(l)||(ut(a,gn),ut(a,gn+"-"+l),Me.set(l,ha)),()=>{this._engine.afterFlush(()=>{const Ye=L.indexOf(J);Ye>=0&&L.splice(Ye,1),this._triggers.has(l)||Me.delete(l)})}}register(a,l){return!this._triggers.has(a)&&(this._triggers.set(a,l),!0)}_getTrigger(a){const l=this._triggers.get(a);if(!l)throw function Ui(){return new c.buA(3401,!1)}();return l}trigger(a,l,f,E=!0){const L=this._getTrigger(l),J=new el(this.id,l,a);let Me=this._engine.statesByElement.get(a);Me||(ut(a,gn),ut(a,gn+"-"+l),this._engine.statesByElement.set(a,Me=new Map));let Ye=Me.get(l);const rt=new js(f,this.id);if(!(f&&f.hasOwnProperty("value"))&&Ye&&rt.absorbOptions(Ye.options),Me.set(l,rt),Ye||(Ye=ha),rt.value!==zs&&Ye.value===rt.value){if(!function xr(p,a){const l=Object.keys(p),f=Object.keys(a);if(l.length!=f.length)return!1;for(let E=0;E<l.length;E++){const L=l[E];if(!a.hasOwnProperty(L)||p[L]!==a[L])return!1}return!0}(Ye.params,rt.params)){const Mn=[],cr=L.matchStyles(Ye.value,Ye.params,Mn),er=L.matchStyles(rt.value,rt.params,Mn);Mn.length?this._engine.reportError(Mn):this._engine.afterFlush(()=>{Ee(a,cr),Dr(a,er)})}return}const mn=ji(this._engine.playersByElement,a,[]);mn.forEach(Mn=>{Mn.namespaceId==this.id&&Mn.triggerName==l&&Mn.queued&&Mn.destroy()});let dn=L.matchTransition(Ye.value,rt.value,a,rt.params),Nn=!1;if(!dn){if(!E)return;dn=L.fallbackTransition,Nn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:dn,fromState:Ye,toState:rt,player:J,isFallbackTransition:Nn}),Nn||(ut(a,Xa),J.onStart(()=>{on(a,Xa)})),J.onDone(()=>{let Mn=this.players.indexOf(J);Mn>=0&&this.players.splice(Mn,1);const cr=this._engine.playersByElement.get(a);if(cr){let er=cr.indexOf(J);er>=0&&cr.splice(er,1)}}),this.players.push(J),mn.push(J),J}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(l=>l.delete(a)),this._elementListeners.forEach((l,f)=>{this._elementListeners.set(f,l.filter(E=>E.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const l=this._engine.playersByElement.get(a);l&&(l.forEach(f=>f.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,l){const f=this._engine.driver.query(a,yn,!0);f.forEach(E=>{if(E[Jo])return;const L=this._engine.fetchNamespacesByElement(E);L.size?L.forEach(J=>J.triggerLeaveAnimation(E,l,!1,!0)):this.clearElementCache(E)}),this._engine.afterFlushAnimationsDone(()=>f.forEach(E=>this.clearElementCache(E)))}triggerLeaveAnimation(a,l,f,E){const L=this._engine.statesByElement.get(a),J=new Map;if(L){const Me=[];if(L.forEach((Ye,rt)=>{if(J.set(rt,Ye.value),this._triggers.has(rt)){const qt=this.trigger(a,rt,zs,E);qt&&Me.push(qt)}}),Me.length)return this._engine.markElementAsRemoved(this.id,a,!0,l,J),f&&to(Me).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const l=this._elementListeners.get(a),f=this._engine.statesByElement.get(a);if(l&&f){const E=new Set;l.forEach(L=>{const J=L.name;if(E.has(J))return;E.add(J);const Ye=this._triggers.get(J).fallbackTransition,rt=f.get(J)||ha,qt=new js(zs),$t=new el(this.id,J,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:J,transition:Ye,fromState:rt,toState:qt,player:$t,isFallbackTransition:!0})})}}removeNode(a,l){const f=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,l),this.triggerLeaveAnimation(a,l,!0))return;let E=!1;if(f.totalAnimations){const L=f.players.length?f.playersByQueriedElement.get(a):[];if(L&&L.length)E=!0;else{let J=a;for(;J=J.parentNode;)if(f.statesByElement.get(J)){E=!0;break}}}if(this.prepareLeaveAnimationListeners(a),E)f.markElementAsRemoved(this.id,a,!1,l);else{const L=a[Jo];(!L||L===qa)&&(f.afterFlush(()=>this.clearElementCache(a)),f.destroyInnerAnimations(a),f._onRemovalComplete(a,l))}}insertNode(a,l){ut(a,this._hostClassName)}drainQueuedTransitions(a){const l=[];return this._queue.forEach(f=>{const E=f.player;if(E.destroyed)return;const L=f.element,J=this._elementListeners.get(L);J&&J.forEach(Me=>{if(Me.name==f.triggerName){const Ye=Xo(L,f.triggerName,f.fromState.value,f.toState.value);Ye._data=a,lo(f.player,Me.phase,Ye,Me.callback)}}),E.markedForDestroy?this._engine.afterFlush(()=>{E.destroy()}):l.push(f)}),this._queue=[],l.sort((f,E)=>{const L=f.transition.ast.depCount,J=E.transition.ast.depCount;return 0==L||0==J?L-J:this._engine.driver.containsElement(f.element,E.element)?1:-1})}destroy(a){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class uc{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=(a,l)=>{};_onRemovalComplete(a,l){this.onRemovalComplete(a,l)}constructor(a,l,f){this.bodyNode=a,this.driver=l,this._normalizer=f}get queuedPlayers(){const a=[];return this._namespaceList.forEach(l=>{l.players.forEach(f=>{f.queued&&a.push(f)})}),a}createNamespace(a,l){const f=new Tl(a,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(f,l):(this.newHostElements.set(l,f),this.collectEnterElement(l)),this._namespaceLookup[a]=f}_balanceNamespaceList(a,l){const f=this._namespaceList,E=this.namespacesByHostElement;if(f.length-1>=0){let J=!1,Me=this.driver.getParentElement(l);for(;Me;){const Ye=E.get(Me);if(Ye){const rt=f.indexOf(Ye);f.splice(rt+1,0,a),J=!0;break}Me=this.driver.getParentElement(Me)}J||f.unshift(a)}else f.push(a);return E.set(l,a),a}register(a,l){let f=this._namespaceLookup[a];return f||(f=this.createNamespace(a,l)),f}registerTrigger(a,l,f){let E=this._namespaceLookup[a];E&&E.register(l,f)&&this.totalAnimations++}destroy(a,l){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const f=this._fetchNamespace(a);this.namespacesByHostElement.delete(f.hostElement);const E=this._namespaceList.indexOf(f);E>=0&&this._namespaceList.splice(E,1),f.destroy(l),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const l=new Set,f=this.statesByElement.get(a);if(f)for(let E of f.values())if(E.namespaceId){const L=this._fetchNamespace(E.namespaceId);L&&l.add(L)}return l}trigger(a,l,f,E){if(Pa(l)){const L=this._fetchNamespace(a);if(L)return L.trigger(l,f,E),!0}return!1}insertNode(a,l,f,E){if(!Pa(l))return;const L=l[Jo];if(L&&L.setForRemoval){L.setForRemoval=!1,L.setForMove=!0;const J=this.collectedLeaveElements.indexOf(l);J>=0&&this.collectedLeaveElements.splice(J,1)}if(a){const J=this._fetchNamespace(a);J&&J.insertNode(l,f)}E&&this.collectEnterElement(l)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,l){l?this.disabledNodes.has(a)||(this.disabledNodes.add(a),ut(a,Ta)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),on(a,Ta))}removeNode(a,l,f){if(Pa(l)){const E=a?this._fetchNamespace(a):null;E?E.removeNode(l,f):this.markElementAsRemoved(a,l,!1,f);const L=this.namespacesByHostElement.get(l);L&&L.id!==a&&L.removeNode(l,f)}else this._onRemovalComplete(l,f)}markElementAsRemoved(a,l,f,E,L){this.collectedLeaveElements.push(l),l[Jo]={namespaceId:a,setForRemoval:E,hasAnimation:f,removedBeforeQueried:!1,previousTriggersValues:L}}listen(a,l,f,E,L){return Pa(l)?this._fetchNamespace(a).listen(l,f,E,L):()=>{}}_buildInstruction(a,l,f,E,L){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,f,E,a.fromState.options,a.toState.options,l,L)}destroyInnerAnimations(a){let l=this.driver.query(a,yn,!0);l.forEach(f=>this.destroyActiveAnimationsForElement(f)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(a,Un,!0),l.forEach(f=>this.finishActiveQueriedAnimationOnElement(f)))}destroyActiveAnimationsForElement(a){const l=this.playersByElement.get(a);l&&l.forEach(f=>{f.queued?f.markedForDestroy=!0:f.destroy()})}finishActiveQueriedAnimationOnElement(a){const l=this.playersByQueriedElement.get(a);l&&l.forEach(f=>f.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return to(this.players).onDone(()=>a());a()})}processLeaveNode(a){const l=a[Jo];if(l&&l.setForRemoval){if(a[Jo]=qa,l.namespaceId){this.destroyInnerAnimations(a);const f=this._fetchNamespace(l.namespaceId);f&&f.clearElementCache(a)}this._onRemovalComplete(a,l.setForRemoval)}a.classList?.contains(Ta)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(f=>{this.markElementAsDisabled(f,!1)})}flush(a=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((f,E)=>this._balanceNamespaceList(f,E)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let f=0;f<this.collectedEnterElements.length;f++)ut(this.collectedEnterElements[f],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const f=[];try{l=this._flushAnimations(f,a)}finally{for(let E=0;E<f.length;E++)f[E]()}}else for(let f=0;f<this.collectedLeaveElements.length;f++)this.processLeaveNode(this.collectedLeaveElements[f]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(f=>f()),this._flushFns=[],this._whenQuietFns.length){const f=this._whenQuietFns;this._whenQuietFns=[],l.length?to(l).onDone(()=>{f.forEach(E=>E())}):f.forEach(E=>E())}}reportError(a){throw function ho(){return new c.buA(3402,!1)}()}_flushAnimations(a,l){const f=new Rs,E=[],L=new Map,J=[],Me=new Map,Ye=new Map,rt=new Map,qt=new Set;this.disabledNodes.forEach(Mr=>{qt.add(Mr);const Lr=this.driver.query(Mr,".ng-animate-queued",!0);for(let Vr=0;Vr<Lr.length;Vr++)qt.add(Lr[Vr])});const $t=this.bodyNode,mn=Array.from(this.statesByElement.keys()),dn=be(mn,this.collectedEnterElements),Nn=new Map;let Mn=0;dn.forEach((Mr,Lr)=>{const Vr=st+Mn++;Nn.set(Lr,Vr),Mr.forEach(ai=>ut(ai,Vr))});const cr=[],er=new Set,mr=new Set;for(let Mr=0;Mr<this.collectedLeaveElements.length;Mr++){const Lr=this.collectedLeaveElements[Mr],Vr=Lr[Jo];Vr&&Vr.setForRemoval&&(cr.push(Lr),er.add(Lr),Vr.hasAnimation?this.driver.query(Lr,".ng-star-inserted",!0).forEach(ai=>er.add(ai)):mr.add(Lr))}const si=new Map,Nr=be(mn,Array.from(er));Nr.forEach((Mr,Lr)=>{const Vr=It+Mn++;si.set(Lr,Vr),Mr.forEach(ai=>ut(ai,Vr))}),a.push(()=>{dn.forEach((Mr,Lr)=>{const Vr=Nn.get(Lr);Mr.forEach(ai=>on(ai,Vr))}),Nr.forEach((Mr,Lr)=>{const Vr=si.get(Lr);Mr.forEach(ai=>on(ai,Vr))}),cr.forEach(Mr=>{this.processLeaveNode(Mr)})});const oi=[],Yi=[];for(let Mr=this._namespaceList.length-1;Mr>=0;Mr--)this._namespaceList[Mr].drainQueuedTransitions(l).forEach(Vr=>{const ai=Vr.player,xo=Vr.element;if(oi.push(ai),this.collectedEnterElements.length){const Fo=xo[Jo];if(Fo&&Fo.setForMove){if(Fo.previousTriggersValues&&Fo.previousTriggersValues.has(Vr.triggerName)){const Ma=Fo.previousTriggersValues.get(Vr.triggerName),Ts=this.statesByElement.get(Vr.element);if(Ts&&Ts.has(Vr.triggerName)){const $c=Ts.get(Vr.triggerName);$c.value=Ma,Ts.set(Vr.triggerName,$c)}}return void ai.destroy()}}const es=!$t||!this.driver.containsElement($t,xo),vo=si.get(xo),Wa=Nn.get(xo),Ji=this._buildInstruction(Vr,f,Wa,vo,es);if(Ji.errors&&Ji.errors.length)return void Yi.push(Ji);if(es)return ai.onStart(()=>Ee(xo,Ji.fromStyles)),ai.onDestroy(()=>Dr(xo,Ji.toStyles)),void E.push(ai);if(Vr.isFallbackTransition)return ai.onStart(()=>Ee(xo,Ji.fromStyles)),ai.onDestroy(()=>Dr(xo,Ji.toStyles)),void E.push(ai);const vl=[];Ji.timelines.forEach(Fo=>{Fo.stretchStartingKeyframe=!0,this.disabledNodes.has(Fo.element)||vl.push(Fo)}),Ji.timelines=vl,f.append(xo,Ji.timelines),J.push({instruction:Ji,player:ai,element:xo}),Ji.queriedElements.forEach(Fo=>ji(Me,Fo,[]).push(ai)),Ji.preStyleProps.forEach((Fo,Ma)=>{if(Fo.size){let Ts=Ye.get(Ma);Ts||Ye.set(Ma,Ts=new Set),Fo.forEach(($c,Hd)=>Ts.add(Hd))}}),Ji.postStyleProps.forEach((Fo,Ma)=>{let Ts=rt.get(Ma);Ts||rt.set(Ma,Ts=new Set),Fo.forEach(($c,Hd)=>Ts.add(Hd))})});if(Yi.length){const Mr=[];Yi.forEach(Lr=>{Mr.push(function vi(){return new c.buA(3505,!1)}())}),oi.forEach(Lr=>Lr.destroy()),this.reportError(Mr)}const ro=new Map,co=new Map;J.forEach(Mr=>{const Lr=Mr.element;f.has(Lr)&&(co.set(Lr,Lr),this._beforeAnimationBuild(Mr.player.namespaceId,Mr.instruction,ro))}),E.forEach(Mr=>{const Lr=Mr.element;this._getPreviousPlayers(Lr,!1,Mr.namespaceId,Mr.triggerName,null).forEach(ai=>{ji(ro,Lr,[]).push(ai),ai.destroy()})});const la=cr.filter(Mr=>Rr(Mr,Ye,rt)),gs=new Map;ce(gs,this.driver,mr,rt,Ve).forEach(Mr=>{Rr(Mr,Ye,rt)&&la.push(Mr)});const gl=new Map;dn.forEach((Mr,Lr)=>{ce(gl,this.driver,new Set(Mr),Ye,"!")}),la.forEach(Mr=>{const Lr=gs.get(Mr),Vr=gl.get(Mr);gs.set(Mr,new Map([...Lr?.entries()??[],...Vr?.entries()??[]]))});const Hc=[],Kc=[],Zl={};J.forEach(Mr=>{const{element:Lr,player:Vr,instruction:ai}=Mr;if(f.has(Lr)){if(qt.has(Lr))return Vr.onDestroy(()=>Dr(Lr,ai.toStyles)),Vr.disabled=!0,Vr.overrideTotalTime(ai.totalTime),void E.push(Vr);let xo=Zl;if(co.size>1){let vo=Lr;const Wa=[];for(;vo=vo.parentNode;){const Ji=co.get(vo);if(Ji){xo=Ji;break}Wa.push(vo)}Wa.forEach(Ji=>co.set(Ji,xo))}const es=this._buildAnimation(Vr.namespaceId,ai,ro,L,gl,gs);if(Vr.setRealPlayer(es),xo===Zl)Hc.push(Vr);else{const vo=this.playersByElement.get(xo);vo&&vo.length&&(Vr.parentPlayer=to(vo)),E.push(Vr)}}else Ee(Lr,ai.fromStyles),Vr.onDestroy(()=>Dr(Lr,ai.toStyles)),Kc.push(Vr),qt.has(Lr)&&E.push(Vr)}),Kc.forEach(Mr=>{const Lr=L.get(Mr.element);if(Lr&&Lr.length){const Vr=to(Lr);Mr.setRealPlayer(Vr)}}),E.forEach(Mr=>{Mr.parentPlayer?Mr.syncPlayerEvents(Mr.parentPlayer):Mr.destroy()});for(let Mr=0;Mr<cr.length;Mr++){const Lr=cr[Mr],Vr=Lr[Jo];if(on(Lr,It),Vr&&Vr.hasAnimation)continue;let ai=[];if(Me.size){let es=Me.get(Lr);es&&es.length&&ai.push(...es);let vo=this.driver.query(Lr,Un,!0);for(let Wa=0;Wa<vo.length;Wa++){let Ji=Me.get(vo[Wa]);Ji&&Ji.length&&ai.push(...Ji)}}const xo=ai.filter(es=>!es.destroyed);xo.length?Dn(this,Lr,xo):this.processLeaveNode(Lr)}return cr.length=0,Hc.forEach(Mr=>{this.players.push(Mr),Mr.onDone(()=>{Mr.destroy();const Lr=this.players.indexOf(Mr);this.players.splice(Lr,1)}),Mr.play()}),Hc}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,l,f,E,L){let J=[];if(l){const Me=this.playersByQueriedElement.get(a);Me&&(J=Me)}else{const Me=this.playersByElement.get(a);if(Me){const Ye=!L||L==zs;Me.forEach(rt=>{rt.queued||!Ye&&rt.triggerName!=E||J.push(rt)})}}return(f||E)&&(J=J.filter(Me=>!(f&&f!=Me.namespaceId||E&&E!=Me.triggerName))),J}_beforeAnimationBuild(a,l,f){const L=l.element,J=l.isRemovalTransition?void 0:a,Me=l.isRemovalTransition?void 0:l.triggerName;for(const Ye of l.timelines){const rt=Ye.element,qt=rt!==L,$t=ji(f,rt,[]);this._getPreviousPlayers(rt,qt,J,Me,l.toState).forEach(dn=>{const Nn=dn.getRealPlayer();Nn.beforeDestroy&&Nn.beforeDestroy(),dn.destroy(),$t.push(dn)})}Ee(L,l.fromStyles)}_buildAnimation(a,l,f,E,L,J){const Me=l.triggerName,Ye=l.element,rt=[],qt=new Set,$t=new Set,mn=l.timelines.map(Nn=>{const Mn=Nn.element;qt.add(Mn);const cr=Mn[Jo];if(cr&&cr.removedBeforeQueried)return new lt(Nn.duration,Nn.delay);const er=Mn!==Ye,mr=function Vn(p){const a=[];return rr(p,a),a}((f.get(Mn)||Oa).map(ro=>ro.getRealPlayer())).filter(ro=>!!ro.element&&ro.element===Mn),si=L.get(Mn),Nr=J.get(Mn),oi=Ao(this._normalizer,Nn.keyframes,si,Nr),Yi=this._buildPlayer(Nn,oi,mr);if(Nn.subTimeline&&E&&$t.add(Mn),er){const ro=new el(a,Me,Mn);ro.setRealPlayer(Yi),rt.push(ro)}return Yi});rt.forEach(Nn=>{ji(this.playersByQueriedElement,Nn.element,[]).push(Nn),Nn.onDone(()=>function hc(p,a,l){let f=p.get(a);if(f){if(f.length){const E=f.indexOf(l);f.splice(E,1)}0==f.length&&p.delete(a)}return f}(this.playersByQueriedElement,Nn.element,Nn))}),qt.forEach(Nn=>ut(Nn,Rn));const dn=to(mn);return dn.onDestroy(()=>{qt.forEach(Nn=>on(Nn,Rn)),Dr(Ye,l.toStyles)}),$t.forEach(Nn=>{ji(E,Nn,[]).push(dn)}),dn}_buildPlayer(a,l,f){return l.length>0?this.driver.animate(a.element,l,a.duration,a.delay,a.easing,f):new lt(a.duration,a.delay)}}class el{namespaceId;triggerName;element;_player=new lt;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(a,l,f){this.namespaceId=a,this.triggerName=l,this.element=f}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((l,f)=>{l.forEach(E=>lo(a,f,void 0,E))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const l=this._player;l.triggerCallback&&a.onStart(()=>l.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,l){ji(this._queuedCallbacks,a,[]).push(l)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const l=this._player;l.triggerCallback&&l.triggerCallback(a)}}function Pa(p){return p&&1===p.nodeType}function De(p,a){const l=p.style.display;return p.style.display=a??"none",l}function ce(p,a,l,f,E){const L=[];l.forEach(Ye=>L.push(De(Ye)));const J=[];f.forEach((Ye,rt)=>{const qt=new Map;Ye.forEach($t=>{const mn=a.computeStyle(rt,$t,E);qt.set($t,mn),(!mn||0==mn.length)&&(rt[Jo]=wl,J.push(rt))}),p.set(rt,qt)});let Me=0;return l.forEach(Ye=>De(Ye,L[Me++])),J}function be(p,a){const l=new Map;
503if(p.forEach(Me=>l.set(Me,[])),0==a.length)return l;const E=new Set(a),L=new Map;function J(Me){if(!Me)return 1;let Ye=L.get(Me);if(Ye)return Ye;const rt=Me.parentNode;return Ye=l.has(rt)?rt:E.has(rt)?1:J(rt),L.set(Me,Ye),Ye}return a.forEach(Me=>{const Ye=J(Me);1!==Ye&&l.get(Ye).push(Me)}),l}function ut(p,a){p.classList?.add(a)}function on(p,a){p.classList?.remove(a)}function Dn(p,a,l){to(l).onDone(()=>p.processLeaveNode(a))}function rr(p,a){for(let l=0;l<p.length;l++){const f=p[l];f instanceof Rt?rr(f.players,a):a.push(f)}}function Rr(p,a,l){const f=l.get(p);if(!f)return!1;let E=a.get(p);return E?f.forEach(L=>E.add(L)):a.set(p,f),l.delete(p),!0}class zr{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(a,l)=>{};constructor(a,l,f){this._driver=l,this._normalizer=f,this._transitionEngine=new uc(a.body,l,f),this._timelineEngine=new wa(a.body,l,f),this._transitionEngine.onRemovalComplete=(E,L)=>this.onRemovalComplete(E,L)}registerTrigger(a,l,f,E,L){const J=a+"-"+E;let Me=this._triggerCache[J];if(!Me){const Ye=[],qt=Ys(this._driver,L,Ye,[]);if(Ye.length)throw function Go(){return new c.buA(3404,!1)}();Me=function ua(p,a,l){return new Ns(p,a,l)}(E,qt,this._normalizer),this._triggerCache[J]=Me}this._transitionEngine.registerTrigger(l,E,Me)}register(a,l){this._transitionEngine.register(a,l)}destroy(a,l){this._transitionEngine.destroy(a,l)}onInsert(a,l,f,E){this._transitionEngine.insertNode(a,l,f,E)}onRemove(a,l,f){this._transitionEngine.removeNode(a,l,f)}disableAnimations(a,l){this._transitionEngine.markElementAsDisabled(a,l)}process(a,l,f,E){if("@"==f.charAt(0)){const[L,J]=vs(f);this._timelineEngine.command(L,l,J,E)}else this._transitionEngine.trigger(a,l,f,E)}listen(a,l,f,E,L){if("@"==f.charAt(0)){const[J,Me]=vs(f);return this._timelineEngine.listen(J,l,Me,L)}return this._transitionEngine.listen(a,l,f,E,L)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let Ti=(()=>{class p{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(l,f,E){this._element=l,this._startStyles=f,this._endStyles=E;let L=p.initialStylesByElement.get(l);L||p.initialStylesByElement.set(l,L=new Map),this._initialStyles=L}start(){this._state<1&&(this._startStyles&&Dr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Dr(this._element,this._initialStyles),this._endStyles&&(Dr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(p.initialStylesByElement.delete(this._element),this._startStyles&&(Ee(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ee(this._element,this._endStyles),this._endStyles=null),Dr(this._element,this._initialStyles),this._state=3)}}return p})();function Ri(p){let a=null;return p.forEach((l,f)=>{(function Lo(p){return"display"===p||"position"===p})(f)&&(a=a||new Map,a.set(f,l))}),a}class mo{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(a,l,f,E){this.element=a,this.keyframes=l,this.options=f,this._specialStyles=E,this._duration=f.duration,this._delay=f.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const a=this.keyframes,l=this._triggerWebAnimation(this.element,a,this.options);if(!l)return this._onFinish(),null;this.domPlayer=l,this._finalKeyframe=a.length?a[a.length-1]:new Map;const f=()=>this._onFinish();return l.addEventListener("finish",f),this.onDestroy(()=>{l.removeEventListener("finish",f)}),l}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(a){const l=[];return a.forEach(f=>{l.push(Object.fromEntries(f))}),l}_triggerWebAnimation(a,l,f){const E=this._convertKeyframesToObject(l);try{return a.animate(E,f)}catch{return null}}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){const a=this._buildPlayer();a&&(this.hasStarted()||(this._onStartFns.forEach(l=>l()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),a.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(a=>a()),this._onDestroyFns=[])}setPosition(a){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=a*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((f,E)=>{"offset"!==E&&a.set(E,this._finished?f:li(this.element,E))}),this.currentSnapshot=a}triggerCallback(a){const l="start"===a?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}}class qo{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}containsElement(a,l){return te(a,l)}getParentElement(a){return Co(a)}query(a,l,f){return A(a,l,f)}computeStyle(a,l,f){return li(a,l)}animate(a,l,f,E,L,J=[]){const Ye={duration:f,delay:E,fill:0==E?"both":"forwards"};L&&(Ye.easing=L);const rt=new Map,qt=J.filter(dn=>dn instanceof mo);(function fr(p,a){return 0===p||0===a})(f,E)&&qt.forEach(dn=>{dn.currentSnapshot.forEach((Nn,Mn)=>rt.set(Mn,Nn))});let $t=function zn(p){return p.length?p[0]instanceof Map?p:p.map(a=>new Map(Object.entries(a))):[]}(l).map(dn=>new Map(dn));$t=function Or(p,a,l){if(l.size&&a.length){let f=a[0],E=[];if(l.forEach((L,J)=>{f.has(J)||E.push(J),f.set(J,L)}),E.length)for(let L=1;L<a.length;L++){let J=a[L];
503E.forEach(Me=>J.set(Me,li(p,Me)))}}return a}(a,$t,rt);const mn=function wr(p,a){let l=null,f=null;return Array.isArray(a)&&a.length?(l=Ri(a[0]),a.length>1&&(f=Ri(a[a.length-1]))):a instanceof Map&&(l=Ri(a)),l||f?new Ti(p,l,f):null}(a,$t);return new mo(a,$t,Ye,mn)}}const ma="@.disabled";class ea{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(a,l,f,E){this.namespaceId=a,this.delegate=l,this.engine=f,this._onDestroy=E}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,l){return this.delegate.createElement(a,l)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,l){this.delegate.appendChild(a,l),this.engine.onInsert(this.namespaceId,l,a,!1)}insertBefore(a,l,f,E=!0){this.delegate.insertBefore(a,l,f),this.engine.onInsert(this.namespaceId,l,a,E)}removeChild(a,l,f,E){E?this.delegate.removeChild(a,l,f,E):this.parentNode(l)&&this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(a,l){return this.delegate.selectRootElement(a,l)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,l,f,E){this.delegate.setAttribute(a,l,f,E)}removeAttribute(a,l,f){this.delegate.removeAttribute(a,l,f)}addClass(a,l){this.delegate.addClass(a,l)}removeClass(a,l){this.delegate.removeClass(a,l)}setStyle(a,l,f,E){this.delegate.setStyle(a,l,f,E)}removeStyle(a,l,f){this.delegate.removeStyle(a,l,f)}setProperty(a,l,f){"@"==l.charAt(0)&&l==ma?this.disableAnimations(a,!!f):this.delegate.setProperty(a,l,f)}setValue(a,l){this.delegate.setValue(a,l)}listen(a,l,f,E){return this.delegate.listen(a,l,f,E)}disableAnimations(a,l){this.engine.disableAnimations(a,l)}}class ud extends ea{factory;constructor(a,l,f,E,L){super(l,f,E,L),this.factory=a,this.namespaceId=l}setProperty(a,l,f){"@"==l.charAt(0)?"."==l.charAt(1)&&l==ma?this.disableAnimations(a,f=void 0===f||!!f):this.engine.process(this.namespaceId,a,l.slice(1),f):this.delegate.setProperty(a,l,f)}listen(a,l,f,E){if("@"==l.charAt(0)){const L=function Ol(p){switch(p){case"body":return document.body;case"document":return document;case"window":return window;default:return p}}(a);let J=l.slice(1),Me="";return"@"!=J.charAt(0)&&([J,Me]=function fc(p){const a=p.indexOf(".");return[p.substring(0,a),p.slice(a+1)]}(J)),this.engine.listen(this.namespaceId,L,J,Me,Ye=>{this.factory.scheduleListenerCallback(Ye._data||-1,f,Ye)})}return this.delegate.listen(a,l,f,E)}}class Pl{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(a,l,f){this.delegate=a,this.engine=l,this._zone=f,l.onRemovalComplete=(E,L)=>{L?.removeChild(null,E)}}createRenderer(a,l){const E=this.delegate.createRenderer(a,l);if(!a||!l?.data?.animation){const rt=this._rendererCache;let qt=rt.get(E);return qt||(qt=new ea("",E,this.engine,()=>rt.delete(E)),rt.set(E,qt)),qt}const L=l.id,J=l.id+"-"+this._currentId;this._currentId++,this.engine.register(J,a);const Me=rt=>{Array.isArray(rt)?rt.forEach(Me):this.engine.registerTrigger(L,J,a,rt.name,rt)};return l.data.animation.forEach(Me),new ud(this,J,E,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(a,l,f){if(a>=0&&a<this._microtaskId)return void this._zone.run(()=>l(f));const E=this._animationCallbacksBuffer;0==E.length&&queueMicrotask(()=>{this._zone.run(()=>{E.forEach(L=>{const[J,Me]=L;J(Me)}),this._animationCallbacksBuffer=[]})}),E.push([l,f])}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()}componentReplaced(a){this.engine.flush(),this.delegate.componentReplaced?.(a)}}const nl=[{provide:Ai,useFactory:function mc(){return new is}},{provide:zr,useClass:(()=>{class p extends zr{constructor(l,f,E){super(l,f,E)}ngOnDestroy(){this.flush()}static \u0275fac=function(f){return new(f||p)(c.KVO(c.qQL),c.KVO($i),c.KVO(Ai))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})()},{provide:_._9s,useFactory:function tl(){return new Pl((0,c.WQX)(Xr),(0,c.WQX)(zr),(0,c.WQX)(c.SKi))}}],rl=[{provide:$i,useClass:ti},{provide:_.bc$,useValue:"NoopAnimations"},...nl],us=[{provide:$i,useFactory:()=>new qo},{provide:_.bc$,useFactory:()=>"BrowserAnimations"},...nl];let Mu=(()=>{class p{static withConfig(l){return{ngModule:p,providers:l.disableAnimations?rl:us}}static \u0275fac=function(f){return new(f||p)};static \u0275mod=_.$C({type:p});static \u0275inj=c.G2t({providers:us,imports:[pi]})}return p})();var gc=i(5809),Ws=i(7673),vc=i(54),xu=i(1656),wu=i(4499);function hd(p){const a=p?.data?.linkIdentificationType;if("userIdAndUrl"===a)return{userIdAndUrl:{url:p.params.url,user_id:p.params.userId}};if("id"===a)return{id:{id:p.params.linkId}};if("userIdAndHash"===a){const l={userIdAndHash:{user_id:p.params.userId,hash:p.queryParams.r,originates_from_adfly:"adfly"===p.queryParams.link_origin}};return p.queryParams.v&&(l.userIdAndHash.version=p.queryParams.v),l}return{}}const il=(p,a)=>{const l=(0,c.WQX)(gc.x3),f=(0,c.WQX)(wu._),E=(0,c.WQX)(xu.e),L=(0,c.WQX)(C.Ix),J=hd(p);return l.fetch({variables:{identifier:J}}).pipe((0,_r.T)(Me=>[Me.data?.linkByIdentifier]),(0,en.n)(Me=>{if(0===Me.length||null===Me[0]){const qt=L.createUrlTree(["/"],{queryParams:{linkNotFound:"1"}});return(0,Ws.of)(new C.cS(qt,{skipLocationChange:!0}))}if(!(new Date(Me[0]?.published_at).getTime()-Date.now()<=0)&&a.url.includes("access")){const qt=L.createUrlTree([a.url.replace(/^\/access(?=\/|$)/,"")]);return(0,Ws.of)(new C.cS(qt))}return(0,Ws.of)(Me).pipe((0,vc.k)(E,f),(0,_r.T)(qt=>({identifier:J,link:qt})))}))};var Ia=i(4843),Sa=i(2836);const hs=function(){var p=(0,cn.A)(function*(a){const l=(0,c.WQX)(Sa.B),f=(0,c.WQX)(O.c$),E=String(a.data.robots??"index, follow"),L=yield(0,Ia._)(f.get(String(a.data.title??"home-headline"))),J=yield(0,Ia._)(f.get(String(a.data.description??"meta-description")));l.setTitle(L),l.setMeta("robots",E),l.setMeta("description",J)});return function(l){return p.apply(this,arguments)}}(),ol=()=>Promise.all([i.e(994),i.e(76),i.e(797)]).then(i.bind(i,5797)).then(p=>p.AccessPageComponent),kl={contentLink:il,identifier:(p,a)=>{const l=hd(p);return(0,Ws.of)(l)}},sl=[{path:"access",pathMatch:"full",redirectTo:""},{path:"access/:userId/:url",loadComponent:ol,data:{linkIdentificationType:"userIdAndUrl"},resolve:kl},{path:"access/:userId/:unusedRandomKeyToBeIgnored/dynamic",loadComponent:ol,data:{linkIdentificationType:"userIdAndHash"},resolve:kl}];var Al=i(6697),os=i(8141),Rl=i(9437),P=i(983),oe=i(888),Fe=i(1275),Ft=i(4095);const ii=p=>{const a=(0,c.WQX)(oe.R),l=(0,c.WQX)(C.Ix),f=(0,c.WQX)(Xe.Ic),E=(0,c.WQX)(m.u);p.queryParams.newPost&&(a.setPostId(""),a.resetPost(),a.calculateRevenueScore(),a.setIsPublished(!1));const J=p.params.id;let Me=(0,Ws.of)(a.post());return J&&!a.postId()&&(a.setPostId(J),Me=function Oi(p,a,l){return a.query({query:Fe.Ym,variables:{id:p}}).pipe((0,os.M)(f=>{const E=f?.data?.linkById;if(!E)return;let L=[];E.link_images&&(L=E.link_images.map(J=>({id:J?.id||null,file:null,resourceUrl:J?.public_url??"",type:J?.__typename??"LinkImage"}))),l.updatePost({seo_active:!!E?.description,title:E?.title??"",description:E?.description??"",target:E?.target??"",paste:E?.paste??"",target_type:E.target_type,paywall_weight:E?.paywall_weight??1,video_url:E?.video_url??"",adsCount:E?.adsCount??1,is_premium_only:E?.is_premium_only??!1,images:L,category:E?.category??null,published_at:E.published_at?new Date(E.published_at):null}),l.setIsPublished(E.isPublished)}))}(J,f,a).pipe((0,os.M)(()=>a.calculateRevenueScore()),(0,_r.T)(()=>a.post()),(0,Rl.W)(()=>{const Ye=l.createUrlTree(["/"],{queryParams:{linkNotFound:"1"}});return(0,Ws.of)(new C.cS(Ye))}))),localStorage.getItem(m.u.SANCTUM_GUARD_TOKEN_STORAGE_KEY)?Me:function lr(p,a){return p.query({query:Ft.c6}).pipe((0,Al.s)(1),(0,os.M)(l=>{const f=l.data?.getSanctumToken;f&&((p=>{localStorage.setItem(m.u.SANCTUM_GUARD_TOKEN_STORAGE_KEY,p)})(f),a.setSanctumGuardToken(f))}),(0,Rl.W)(()=>P.w))}(f,E).pipe((0,en.n)(()=>Me))};var hi=i(9696),Hs=i(5542);const ss=p=>{const a=(0,c.WQX)(Hs.R),l=(0,c.WQX)(C.Ix),f=Object.values(hi.Zc).find(Me=>
503Me===p.routeConfig?.path);if(!f)return l.createUrlTree([""]);if(a.canAccessStep(f))return!0;const L=p.paramMap.get("id");return l.createUrlTree([L?`/posts/${L}/edit`:"/posts/create",a.currentPostSteps()[0]])},ka=[{path:hi.Zc.TargetType,resolve:{post:ii},canActivate:[ss],loadComponent:()=>i.e(421).then(i.bind(i,9802)).then(p=>p.TargetTypeStepComponent)},{path:hi.Zc.Link,resolve:{post:ii},canActivate:[ss],loadComponent:()=>Promise.all([i.e(76),i.e(502)]).then(i.bind(i,8121)).then(p=>p.LinkStepComponent)},{path:hi.Zc.Paste,resolve:{post:ii},canActivate:[ss],loadComponent:()=>Promise.all([i.e(297),i.e(76),i.e(763)]).then(i.bind(i,763)).then(p=>p.PasteStepComponent)},{path:hi.Zc.Meta,resolve:{post:ii},canActivate:[ss],loadComponent:()=>Promise.all([i.e(994),i.e(534),i.e(76),i.e(645)]).then(i.bind(i,8645)).then(p=>p.MetaStepComponent)},{path:hi.Zc.Access,resolve:{post:ii},canActivate:[ss],loadComponent:()=>Promise.all([i.e(534),i.e(766),i.e(76),i.e(509)]).then(i.bind(i,6509)).then(p=>p.AccessStepComponent)},{path:hi.Zc.Success,canActivate:[ss],loadComponent:()=>Promise.all([i.e(76),i.e(611)]).then(i.bind(i,7611)).then(p=>p.SuccessStepComponent)},{path:"",pathMatch:"full",redirectTo:Object.values(hi.Zc)[0]},{path:"**",redirectTo:Object.values(hi.Zc)[0]}];let hf=(()=>{class p{#e=(0,c.WQX)(T.ce);closeDialog(){this.#e.close()}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=_.VBU({type:p,selectors:[["lv-link-not-found-dialog"]],decls:15,vars:11,consts:[[3,"close"],[1,"header-wrapper"],[1,"typography-heading-3"],[1,"typography-body-b2"],[3,"click","rounded","isfullWidth"]],template:function(f,E){1&f&&(_.j41(0,"lv-lib-popover",0),_.bIt("close",function(){return E.closeDialog()}),_.j41(1,"lv-lib-popover-header")(2,"div",1)(3,"h2",2),_.EFF(4),_.nI1(5,"translate"),_.k0s()()(),_.j41(6,"lv-lib-popover-body")(7,"p",3),_.EFF(8),_.nI1(9,"translate"),_.k0s()(),_.j41(10,"lv-lib-popover-footer")(11,"lv-lib-button",4),_.bIt("click",function(){return E.closeDialog()}),_.j41(12,"span"),_.EFF(13),_.nI1(14,"translate"),_.k0s()()()()),2&f&&(_.R7$(4),_.JRh(_.bMT(5,5,"home-page.link-not-found-dialog.headline")),_.R7$(4),_.JRh(_.bMT(9,7,"home-page.link-not-found-dialog.body")),_.R7$(3),_.Y8G("rounded",!0)("isfullWidth",!0),_.R7$(2),_.JRh(_.bMT(14,9,"home-page.link-not-found-dialog.button")))},dependencies:[T.Qp,T.ej,T.r3,T.DI,T.Nq,O.D9],encapsulation:2})}}return p})();const ta=()=>{const{isMember:p}=(0,c.WQX)(I.Q),a=(0,c.WQX)(C.Ix);return!!p()||a.parseUrl("")};var na=i(796);const fd=()=>{const p=(0,c.WQX)(C.Ix);return!(0,c.WQX)(I.Q).me()?.banned||p.createUrlTree([tn.w.AccountBanned])},Jm=[{matcher:function Xm(p){const a=p.map(l=>l.path).join("/");return a.endsWith("checkout-complete")?{consumed:p,posParams:{precedingPath:new C.Xw(a.replace(/\/?checkout-complete$/,""),{})}}:null},redirectTo:({params:p})=>((0,c.WQX)(mt.o).resumeCheckout().subscribe(),p.precedingPath||"/")},{path:"",canActivateChild:[()=>!m.u.hasStoredToken()||(0,c.WQX)(I.Q).meResolved$.pipe((0,Al.s)(1),(0,_r.T)(()=>!0))],children:[{path:"publisher",loadComponent:()=>i.e(841).then(i.bind(i,841)).then(p=>p.DashboardPublisherRedirectComponent),canActivate:[ta,fd]},{path:na.te,loadComponent:()=>i.e(667).then(i.bind(i,2667)).then(p=>p.DashboardLayoutComponent),canActivateChild:[ta,fd],children:[{path:"",redirectTo:na.cj.Overview,pathMatch:"full"},{path:na.cj.Overview,loadComponent:()=>Promise.all([i.e(534),i.e(772),i.e(766),i.e(375)]).then(i.bind(i,375)).then(p=>p.OverviewPageComponent)},{path:na.cj.Support,loadComponent:()=>Promise.all([i.e(76),i.e(440)]).then(i.bind(i,4440)).then(p=>p.SupportPageComponent)},{path:na.cj.Fullscript,loadComponent:()=>Promise.all([i.e(534),i.e(766),i.e(55)]).then(i.bind(i,8055)).then(p=>p.FullscriptPageComponent)},{path:na.cj.Affiliate,loadComponent:()=>Promise.all([i.e(534),i.e(772),i.e(531)]).then(i.bind(i,4531)).then(p=>p.AffiliatePageComponent)},{path:na.cj.Payouts,loadComponent:()=>Promise.all([i.e(534),i.e(772),i.e(790)]).then(i.bind(i,790)).then(p=>p.PayoutsPageComponent)},{path:na.cj.Antibypass,loadComponent:()=>i.e(308).then(i.bind(i,1308)).then(p=>p.AntibypassPageComponent)}]},{path:"login-with-token/:secret",loadComponent:()=>i.e(405).then(i.bind(i,6405)).then(p=>p.LoginWithTokenPageComponent)},{path:"settings",loadComponent:()=>Promise.resolve().then(i.bind(i,1820)).then(p=>p.SettingsPageComponent),data:{title:"settings-page.title"},resolve:{seo:hs},canActivate:[ta]},{path:"logout",loadComponent:()=>i.e(672).then(i.bind(i,4672)).then(p=>p.LogoutComponent)},{path:"reset-password/:resetKey",loadComponent:()=>Promise.all([i.e(994),i.e(244),i.e(76),i.e(789)]).then(i.bind(i,4789)).then(p=>p.HomePageComponent),canActivate:[p=>{const a=(0,c.WQX)(C.Ix),l=(0,c.WQX)(Q.n),f=p.paramMap.get("resetKey");if(f){l.openPasswordResetDialog({data:{resetKey:f}});const E=a.createUrlTree(["/"]);return new C.cS(E,{skipLocationChange:!1,replaceUrl:!0})}return!0}]},{path:"settings/password-reset",loadComponent:()=>i.e(654).then(i.bind(i,4654)).then(p=>p.PasswordResetPageComponent),canActivate:[ta]},{path:"settings/profile",loadComponent:()=>i.e(63).then(i.bind(i,8063)).then(p=>p.ProfileSettingsPageComponent),canActivate:[ta]},{path:"settings/sensitive-posts-settings",loadComponent:()=>i.e(966).then(i.bind(i,966)).then(p=>p.SensitivePostsSettingsPageComponent),canActivate:[ta]},{path:"following",redirectTo:"for-you",pathMatch:"full"},{path:"following-overview",redirectTo:"for-you-overview",pathMatch:"full"},{path:"followed/:id",redirectTo:"for-you/:id",pathMatch:"full"},{path:"for-you",loadComponent:()=>Promise.all([i.e(994),i.e(244),i.e(76),i.e(978)]).then(i.bind(i,3978)).then(p=>p.FollowingPageComponent),resolve:{seo:hs}},{path:"for-you-overview",loadComponent:()=>i.e(201).then(i.bind(i,5201)).then(p=>p.FollowingOverviewPageComponent),canActivate:[ta]},{path:"for-you/:id",loadComponent:()=>Promise.all([i.e(994),i.e(244),i.e(76),i.e(340)]).then(i.bind(i,7340)).then(p=>p.FollowedDetailPageComponent),resolve:{seo:hs},canActivate:[ta]},{path:"",pathMatch:"full",loadComponent:()=>Promise.all([i.e(994),i.e(244),i.e(76),i.e(789)]).then(i.bind(i,4789)).then(p=>p.HomePageComponent),resolve:{seo:hs},canActivate:[p=>{const a=(0,c.WQX)(C.Ix),l=(0,c.WQX)(T.o3);if("1"===p.queryParamMap.get("linkNotFound")){l.open(hf,{disableClose:!0,backdropClickClose:!1});const E=a.createUrlTree(["/"]);return new C.cS(E,{skipLocationChange:!1,replaceUrl:!0})}return!0},p=>{const{isMember:a}=(0,c.WQX)(I.Q),l=(0,c.WQX)(C.Ix);return!(a()&&!l.lastSuccessfulNavigation())||l.createUrlTree(["/for-you"],{queryParams:p.queryParams})}]},{path:"profile/:profileId",loadComponent:()=>Promise.all([i.e(994),i.e(244),i.e(76),i.e(880)]).then(i.bind(i,7499)).then(p=>p.ProfilePageComponent),resolve:{seo:hs}},{path:"search/:searchTerm",loadComponent:()=>Promise.all([i.e(994),i.e(244),i.e(76),i.e(65)]).then(i.bind(i,606
5035)).then(p=>p.SearchPageComponent),resolve:{seo:hs}},{path:"search/:searchTerm/:page",redirectTo:"search/:searchTerm",pathMatch:"full"},{path:"posts",providers:[oe.R,Hs.R],loadComponent:()=>i.e(582).then(i.bind(i,9201)).then(p=>p.PostCreationLayoutComponent),children:[{path:"create",children:ka},{path:":id/edit",children:ka}],canActivate:[ta,fd]},{path:"premium-redirect/:linkId",loadComponent:()=>Promise.all([i.e(994),i.e(76),i.e(367)]).then(i.bind(i,2367)).then(p=>p.LinkDetailPageComponent),data:{linkIdentificationType:"id"},resolve:{contentLink:il,seo:hs}},{path:":userId/:url",loadComponent:()=>Promise.all([i.e(994),i.e(76),i.e(367)]).then(i.bind(i,2367)).then(p=>p.LinkDetailPageComponent),data:{linkIdentificationType:"userIdAndUrl"},resolve:{contentLink:il,seo:hs}},{path:":userId/:unusedRandomKeyToBeIgnored/dynamic",loadComponent:()=>Promise.all([i.e(994),i.e(76),i.e(367)]).then(i.bind(i,2367)).then(p=>p.LinkDetailPageComponent),data:{linkIdentificationType:"userIdAndHash"},resolve:{contentLink:il,seo:hs}},{path:":userId/:url/1",loadComponent:()=>Promise.all([i.e(994),i.e(76),i.e(367)]).then(i.bind(i,2367)).then(p=>p.LinkDetailPageComponent),data:{linkIdentificationType:"userIdAndUrl"},resolve:{contentLink:il,seo:hs}},...sl,{path:"your-target",loadComponent:()=>Promise.all([i.e(297),i.e(76),i.e(10)]).then(i.bind(i,8010)).then(p=>p.SuccessPageComponent)},{path:"social-redirect",loadComponent:()=>i.e(183).then(i.bind(i,2183)).then(p=>p.SocialRedirectPageComponent)},{path:tn.w.Imprint,loadComponent:()=>i.e(365).then(i.bind(i,3365)).then(p=>p.StaticContentComponent),children:[{path:"",loadComponent:()=>i.e(829).then(i.bind(i,829)).then(p=>p.ImprintComponent)}]},{path:tn.w.GTC,loadComponent:()=>i.e(365).then(i.bind(i,3365)).then(p=>p.StaticContentComponent),children:[{path:"",loadComponent:()=>i.e(786).then(i.bind(i,7405)).then(p=>p.GtcComponent)}]},{path:tn.w.Privacy,loadComponent:()=>i.e(365).then(i.bind(i,3365)).then(p=>p.StaticContentComponent),children:[{path:"",loadComponent:()=>i.e(178).then(i.bind(i,6797)).then(p=>p.PrivacyComponent)}]},{path:tn.w.Withdraw,loadComponent:()=>i.e(365).then(i.bind(i,3365)).then(p=>p.StaticContentComponent),children:[{path:"",loadComponent:()=>i.e(851).then(i.bind(i,3851)).then(p=>p.WithdrawComponent)}]},{path:tn.w.AccountBanned,loadComponent:()=>i.e(365).then(i.bind(i,3365)).then(p=>p.StaticContentComponent),children:[{path:"",loadComponent:()=>i.e(219).then(i.bind(i,4219)).then(p=>p.AccountBannedComponent)}]}]}],Nl=new c.nKC("TRANSLATE_HTTP_LOADER_CONFIG");let yf=(()=>{class p{http;config;constructor(){this.config={prefix:"/assets/i18n/",suffix:".json",enforceLoading:!1,useHttpBackend:!1,...(0,c.WQX)(Nl)},this.http=this.config.useHttpBackend?new ri.Qq((0,c.WQX)(ri.JV)):(0,c.WQX)(ri.Qq)}getTranslation(l){const f=this.config.enforceLoading?`?enforceLoading=${Date.now()}`:"";return this.http.get(`${this.config.prefix}${l}${this.config.suffix}${f}`)}static \u0275fac=function(f){return new(f||p)};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();var Aa=i(9860),ga=i(9163),Cf=i(8926),Ra=i(1955),Su=i(8540);const gd={kind:Ra.b.FIELD,name:{kind:Ra.b.NAME,value:"__typename"}},vd=Object.assign(function(p){return(0,Su.YR)(p,{SelectionSet:{enter(a,l,f){if(f&&f.kind===Ra.b.OPERATION_DEFINITION)return;const{selections:E}=a;return E&&!E.some(Me=>Me.kind===Ra.b.FIELD&&("__typename"===Me.name.value||0===Me.name.value.lastIndexOf("__",0)))?f.kind===Ra.b.FIELD&&f.directives&&f.directives.some(Me=>"export"===Me.name.value)?void 0:{...a,selections:[...E,gd]}:void 0}}})},{added:p=>p===gd});var yc=i(2151),va=i(1962),Cc=i(1658);function Ci(p){return!(!p||"object"!=typeof p||"string"!=typeof p.__ref)}var Mo=i(3156),ku=i(9412),go=i(4236),Ef=i(9055),Ec=i(4420),Au=i(4668),fs=i(1985),Ru=i(3294),_d=i(7647),Mc=i(2771),Na=i(752),Nu=i(3306),Ll=i(626);function Fu(p,a){let l=a;const f=[];return p.definitions.forEach(L=>{if("OperationDefinition"===L.kind)throw(0,go.vA)(10,L.operation,L.name?` named '${L.name.value}'`:"");"FragmentDefinition"===L.kind&&f.push(L)}),typeof l>"u"&&((0,go.V1)(1===f.length,11,f.length),l=f[0].name.value),{...p,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:l}}]}},...p.definitions]}}function Mf(...p){return ga.NS.bind(null,...p)}class Bu{assumeImmutableResults=!1;lookupFragment(a){return null}batch(a){let f;return this.performTransaction(()=>f=a.update(this),"string"==typeof a.optimistic?a.optimistic:!1===a.optimistic?null:void 0),f}recordOptimisticTransaction(a,l){this.performTransaction(a,l)}transformDocument(a){return a}transformForLink(a){return a}identify(a){}gc(){return[]}modify(a){return!1}readQuery(a,l=!!a.optimistic){return this.read({...a,rootId:a.id||"ROOT_QUERY",optimistic:l})}fragmentWatches=new Ec.b(!0);watchFragment(a){const{fragment:l,fragmentName:f,from:E}=a,L=this.getFragmentDoc(l,f),Me=(Array.isArray(E)?E:[E]).map(dn=>{const Nn=null==dn?dn:this.toCacheId(dn);if(Mo.g){const Mn=f||(0,Na.E)(l).name.value;void 0===Nn&&Mo.g&&go.V1.warn(113,Mn)}return Nn});if(!Array.isArray(E)){const dn=this.watchSingleFragment(Me[0],L,a);return null===E?dn:(0,Nu.Q)(dn,Symbol.for("apollo.transform.individualResult"),Nn=>({...Nn,data:Nn.data??{}}))}let Ye;function rt(dn){const Nn=dn.reduce((Mn,cr,er)=>(Mn.data.push(cr.data),Mn.complete&&=cr.complete,Mn.dataState=Mn.complete?"complete":"partial",cr.missing&&(Mn.missing||={},Mn.missing[er]=cr.missing),Mn),{data:[],dataState:"complete",complete:!0});return(0,Aa.L)(Ye,Nn)||(Ye=Nn),Ye}if(0===Me.length)return Uu;let qt=!1;const $t=Me.map(dn=>this.watchSingleFragment(dn,L,a)),mn=function Lu(p){return 0===p.length?P.w:new fs.c(a=>{const{length:l}=p,f=new Array(l),E=new Map;p.forEach((Ye,rt)=>{E.has(Ye)||E.set(Ye,new Set),E.get(Ye).add(rt)});let Me,L=E.size,J=E.size;
503E.forEach((Ye,rt)=>{let qt=!1;const $t=rt.subscribe({next:mn=>{Ye.forEach(dn=>f[dn]=mn),qt||(qt=!0,J--),J||(Me||=new Set(p.filter(dn=>dn.dirty)),Me.delete(rt),Me.size||(a.next(f.slice()),Me=void 0))},complete:()=>{L--,L||a.complete()},error:a.error.bind(a)});a.add($t)})})}($t).pipe((0,_r.T)(rt),(0,os.M)({subscribe:()=>qt=!0,unsubscribe:()=>qt=!1}),(0,Au.t)({bufferSize:1,refCount:!0}));return Object.assign(mn,{getCurrentResult:()=>qt&&Ye?Ye:rt($t.map(Nn=>Nn.getCurrentResult()))})}onAfterBroadcast=a=>a();watchSingleFragment(a,l,f){if(null===a)return Df;const{optimistic:E=!0,variables:L}=f,J=[l,(0,va.M)({id:a,optimistic:E,variables:L})],Me=this.fragmentWatches.lookupArray(J);if(!Me.observable){let rt,qt=function(mn){const dn=mn.result;return(!rt||!(0,Ll.a)(l,{data:rt.data},{data:dn},f.variables))&&(rt={data:dn,dataState:mn.complete?"complete":"partial",complete:mn.complete},mn.missing&&(rt.missing=mn.missing.missing)),rt},Ye=!1;const $t=new fs.c(mn=>{Ye=!0;const dn=this.watch({variables:L,returnPartialData:!0,id:a,query:l,optimistic:E,immediate:!0,callback:Nn=>{$t.dirty=!0,this.onAfterBroadcast(()=>{mn.next(qt(Nn)),$t.dirty=!1})}});return()=>{Ye=!1,dn(),this.fragmentWatches.removeArray(J)}}).pipe((0,Ru.F)(),(0,_d.u)({connector:()=>new Mc.m(1),resetOnRefCountZero:()=>(0,Bn.O)(0)}));Me.observable=Object.assign($t,{dirty:!1,getCurrentResult:()=>Ye&&rt?rt:qt(this.diff({id:a,query:l,returnPartialData:!0,optimistic:E,variables:L}))})}return Me.observable}getFragmentDoc=(0,ga.LV)(Fu,{max:yc.v["cache.fragmentQueryDocuments"]||1e3,cache:Ef.l,makeCacheKey:Mf(this)});readFragment(a,l=!!a.optimistic){const f=void 0!==a.from?this.toCacheId(a.from):a.id;return this.read({...a,query:this.getFragmentDoc(a.fragment,a.fragmentName),rootId:f,optimistic:l})}writeQuery({id:a,data:l,...f}){return this.write(Object.assign(f,{dataId:a||"ROOT_QUERY",result:l}))}writeFragment({data:a,fragment:l,fragmentName:f,...E}){const L=void 0!==E.from?this.toCacheId(E.from):E.id;return this.write(Object.assign(E,{query:this.getFragmentDoc(l,f),dataId:L,result:a}))}updateQuery(a,l){return this.batch({update(f){const E=f.readQuery(a),L=l(E);return null==L?E:(f.writeQuery({...a,data:L}),L)}})}updateFragment(a,l){return this.batch({update(f){const E=f.readFragment(a),L=l(E);return null==L?E:(f.writeFragment({...a,data:L}),L)}})}toCacheId(a){return"string"==typeof a?a:this.identify(a)}}Mo.g&&(Bu.prototype.getMemoryInternals=ku.tQ);const bd=Object.freeze({data:null,dataState:"complete",complete:!0}),Df=Object.assign(new fs.c(p=>{p.next(bd)}),{dirty:!1,getCurrentResult:()=>bd}),_a=Object.freeze({data:[],dataState:"complete",complete:!0}),Uu=Object.assign(new fs.c(p=>{p.next(_a)}),{getCurrentResult:()=>_a});var ws=i(3152);const{hasOwnProperty:yd}=Object.prototype,Cd=function(p,a,l){return this.merge(p[l],a[l])},ju=p=>isNaN(+p)?{}:[];class ll{options;reconciler;constructor(a={}){this.options=a,this.reconciler=a.reconciler||Cd}merge(a,l,f={}){const E=f.atPath;if(E?.length){const[L,...J]=E;void 0===a&&(a=ju(L));let Me=a[L];void 0===Me&&J.length&&(Me=ju(J[0]));const Ye=this.merge(Me,l,{...f,atPath:J});return Me!==Ye&&((a=this.shallowCopyForMerge(a))[L]=Ye),a}return Array.isArray(a)&&Array.isArray(l)&&"truncate"===this.options.arrayMerge&&a.length>l.length&&(a=a.slice(0,l.length),this.pastCopies.add(a)),(0,ws.U)(l)&&(0,ws.U)(a)?(Object.keys(l).forEach(L=>{if(yd.call(a,L)){const J=a[L];if(l[L]!==J){const Me=this.reconciler(a,l,L);Me!==J&&((a=this.shallowCopyForMerge(a))[L]=Me)}}else(a=this.shallowCopyForMerge(a))[L]=l[L]}),a):l}isObject=ws.U;pastCopies=new Set;shallowCopyForMerge(a){return(0,ws.U)(a)&&(this.pastCopies.has(a)||(a=Array.isArray(a)?a.slice(0):{__proto__:Object.getPrototypeOf(a),...a},this.pastCopies.add(a))),a}}function cl(p){return{__ref:String(p)}}var Ed=i(9880),xf=i(6576),no=i(3896),Md=i(9089),La=i(944),ba=i(5932),zu=i(2123),Vu=i(3791);const{hasOwnProperty:Do}=Object.prototype;function wf({__typename:p,id:a,_id:l},f){if("string"==typeof p&&(f&&(f.keyObject=null!=a?{id:a}:null!=l?{_id:l}:void 0),null==a&&null!=l&&(a=l),null!=a))return`${p}:${"number"==typeof a||"string"==typeof a?a:JSON.stringify(a)}`}const qm={dataIdFromObject:wf,resultCaching:!0},Wu=/^[_a-z][_0-9a-z]*/i;function ya(p){const a=p.match(Wu);return a?a[0]:p}function Dc(p,a,l){return!!(0,ws.U)(a)&&((0,no.c)(a)?a.every(f=>Dc(p,f,l)):p.selections.every(f=>{if((0,Md.d)(f)&&(0,La.M)(f,l)){const E=(0,ba.u)(f);return Do.call(a,E)&&(!f.selectionSet||Dc(f.selectionSet,a[E],l))}return!0}))}function Fa(p){return(0,ws.U)(p)&&!Ci(p)&&!(0,no.c)(p)}function Ba(p,a){const l=(0,zu.J)((0,Vu.z)(p));return{fragmentMap:l,lookupFragment(f){let E=l[f];return!E&&a&&(E=a.lookup(f)),E||null}}}const ps={},xc=()=>ps,Ku={};class Fl{policies;group;data={};constructor(a,l){this.policies=a,this.group=l}toObject(){return{...this.data}}has(a){return void 0!==this.lookup(a,!0)}get(a,l){if(this.group.depend(a,l),Do.call(this.data,a)){const f=this.data[a];if(f&&Do.call(f,l))return f[l]}return"__typename"===l&&Do.call(this.policies.rootTypenamesById,a)?this.policies.rootTypenamesById[a]:this instanceof ra?this.parent.get(a,l):void 0}lookup(a,l){return l&&this.group.depend(a,"__exists"),Do.call(this.data,a)?this.data[a]:this instanceof ra?this.parent.lookup(a,l):this.policies.rootTypenamesById[a]?{}:void 0}merge(a,l){let f;Ci(a)&&(a=a.__ref),Ci(l)&&(l=l.__ref);const E="string"==typeof a?this.lookup(f=a):a,L="string"==typeof l?this.lookup(f=l):l;if(!L)return;(0,go.V1)("string"==typeof f,99);const J=new ll({reconciler:Qu}).merge(E,L);if(this.data[f]=J,J!==E&&(delete this.refs[f],this.group.caching)){const Me={};
503E||(Me.__exists=1),Object.keys(L).forEach(Ye=>{if(!E||E[Ye]!==J[Ye]){Me[Ye]=1;const rt=ya(Ye);rt!==Ye&&!this.policies.hasKeyArgs(J.__typename,rt)&&(Me[rt]=1),void 0===J[Ye]&&!(this instanceof ra)&&delete J[Ye]}}),Me.__typename&&!(E&&E.__typename)&&this.policies.rootTypenamesById[f]===J.__typename&&delete Me.__typename,Object.keys(Me).forEach(Ye=>this.group.dirty(f,Ye))}}modify(a,l,f){const E=this.lookup(a);if(E){const L={};let J=!1,Me=!0;const Ye={DELETE:ps,INVALIDATE:Ku,isReference:Ci,toReference:this.toReference,canRead:this.canRead,readField:(rt,qt)=>this.policies.readField("string"==typeof rt?{fieldName:rt,from:qt||cl(a)}:rt,{store:this})};if(Object.keys(E).forEach(rt=>{const qt=ya(rt);let $t=E[rt];if(void 0===$t)return;const mn="function"==typeof l?l:l[rt]||(f?void 0:l[qt]);if(mn){let dn=mn===xc?ps:mn((0,Ed.G)($t),{...Ye,fieldName:qt,storeFieldName:rt,storage:this.getStorage(a,rt)});if(dn===Ku)this.group.dirty(a,rt);else if(dn===ps&&(dn=void 0),dn!==$t&&(L[rt]=dn,J=!0,$t=dn,Mo.g)){const Nn=Mn=>{if(void 0===this.lookup(Mn.__ref))return Mo.g&&go.V1.warn(100,Mn),!0};if(Ci(dn))Nn(dn);else if(Array.isArray(dn)){let cr,Mn=!1;for(const er of dn){if(Ci(er)){if(Mn=!0,Nn(er))break}else if("object"==typeof er&&er){const[mr]=this.policies.identify(er);mr&&(cr=er)}if(Mn&&void 0!==cr){Mo.g&&go.V1.warn(101,cr);break}}}}}void 0!==$t&&(Me=!1)}),J)return this.merge(a,L),Me&&(this instanceof ra?this.data[a]=void 0:delete this.data[a],this.group.dirty(a,"__exists")),!0}return!1}delete(a,l,f){const E=this.lookup(a);if(E){const L=this.getFieldValue(E,"__typename"),J=l&&f?this.policies.getStoreFieldName({typename:L,fieldName:l,args:f}):l;return this.modify(a,J?{[J]:xc}:xc,!!f)}return!1}evict(a,l){let f=!1;return a.id&&(Do.call(this.data,a.id)&&(f=this.delete(a.id,a.fieldName,a.args)),this instanceof ra&&this!==l&&(f=this.parent.evict(a,l)||f),(a.fieldName||f)&&this.group.dirty(a.id,a.fieldName||"__exists")),f}clear(){this.replace(null)}extract(){const a=this.toObject(),l=[];return this.getRootIdSet().forEach(f=>{Do.call(this.policies.rootTypenamesById,f)||l.push(f)}),l.length&&(a.__META={extraRootIds:l.sort()}),a}replace(a){if(Object.keys(this.data).forEach(l=>{a&&Do.call(a,l)||this.delete(l)}),a){const{__META:l,...f}=a;Object.keys(f).forEach(E=>{this.merge(E,f[E])}),l&&l.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(a){return this.rootIds[a]=(this.rootIds[a]||0)+1}release(a){if(this.rootIds[a]>0){const l=--this.rootIds[a];return l||delete this.rootIds[a],l}return 0}getRootIdSet(a=new Set){return Object.keys(this.rootIds).forEach(a.add,a),this instanceof ra?this.parent.getRootIdSet(a):Object.keys(this.policies.rootTypenamesById).forEach(a.add,a),a}gc(){const a=this.getRootIdSet(),l=this.toObject();a.forEach(E=>{Do.call(l,E)&&(Object.keys(this.findChildRefIds(E)).forEach(a.add,a),delete l[E])});const f=Object.keys(l);if(f.length){let E=this;for(;E instanceof ra;)E=E.parent;f.forEach(L=>E.delete(L))}return f}refs={};findChildRefIds(a){if(!Do.call(this.refs,a)){const l=this.refs[a]={},f=this.data[a];if(!f)return l;const E=new Set([f]);E.forEach(L=>{Ci(L)&&(l[L.__ref]=!0),(0,ws.U)(L)&&Object.keys(L).forEach(J=>{const Me=L[J];(0,ws.U)(Me)&&E.add(Me)})})}return this.refs[a]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(a,l)=>(0,Ed.G)(Ci(a)?this.get(a.__ref,l):a&&a[l]);canRead=a=>Ci(a)?this.has(a.__ref):"object"==typeof a;toReference=(a,l)=>{if("string"==typeof a)return cl(a);if(Ci(a))return a;const[f]=this.policies.identify(a);if(f){const E=cl(f);return l&&this.merge(f,a),E}};get supportsResultCaching(){return this.group.caching}}class Pf{caching;parent;d=null;keyMaker;constructor(a,l=null){this.caching=a,this.parent=l,this.resetCaching()}resetCaching(){this.d=this.caching?(0,ga.yN)():null,this.keyMaker=new Ec.b}depend(a,l){if(this.d){this.d($u(a,l));const f=ya(l);f!==l&&this.d($u(a,f)),this.parent&&this.parent.depend(a,l)}}dirty(a,l){this.d&&this.d.dirty($u(a,l),"__exists"===l?"forget":"setDirty")}}function $u(p,a){return a+"#"+p}function Dd(p,a){Bl(p)&&p.group.depend(a,"__exists")}Fl.Root=class Gu extends Fl{constructor({policies:a,resultCaching:l=!0,seed:f}){super(a,new Pf(l)),f&&this.replace(f)}
503stump=new If(this);addLayer(a,l){return this.stump.addLayer(a,l)}removeLayer(){return this}storageTrie=new Ec.b;getStorage(){return this.storageTrie.lookupArray(arguments)}};class ra extends Fl{id;parent;replay;group;constructor(a,l,f,E){super(l.policies,E),this.id=a,this.parent=l,this.replay=f,this.group=E,f(this)}addLayer(a,l){return new ra(a,this,l,this.group)}removeLayer(a){const l=this.parent.removeLayer(a);return a===this.id?(this.group.caching&&Object.keys(this.data).forEach(f=>{const E=this.data[f],L=l.lookup(f);L?E?E!==L&&Object.keys(E).forEach(J=>{(0,Aa.L)(E[J],L[J])||this.group.dirty(f,J)}):(this.group.dirty(f,"__exists"),Object.keys(L).forEach(J=>{this.group.dirty(f,J)})):this.delete(f)}),l):l===this.parent?this:l.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(a){const l=this.parent.findChildRefIds(a);return Do.call(this.data,a)?{...l,...super.findChildRefIds(a)}:l}getStorage(...a){let l=this.parent;for(;l.parent;)l=l.parent;return l.getStorage(...a)}}class If extends ra{constructor(a){super("EntityStore.Stump",a,()=>{},new Pf(a.group.caching,a.group))}removeLayer(){return this}merge(a,l){return this.parent.merge(a,l)}}function Qu(p,a,l){const f=p[l],E=a[l];return(0,Aa.L)(f,E)?f:E}function Bl(p){return!(!p||!p.supportsResultCaching)}var xd=i(6882),wc=i(6452),wd=i(3115);function ms(p,a){if(p.arguments&&p.arguments.length){const l={};return p.arguments.forEach(({name:f,value:E})=>(0,wd.J)(l,f,E,a)),l}return null}const Sf=["connection","include","skip","client","rest","export","nonreactive","stream"];let dl=va.M;const Xu=Object.assign(function(p,a,l){if(a&&l&&l.connection&&l.connection.key){if(l.connection.filter&&l.connection.filter.length>0){const E=l.connection.filter?l.connection.filter:[];E.sort();const L={};E.forEach(Me=>{L[Me]=a[Me]});const J=dl(L);if("{}"!==J)return`${l.connection.key}(${J})`}return l.connection.key}let f=p;if(a){const E=dl(a);"{}"!==E&&(f+=`(${E})`)}return l&&Object.keys(l).forEach(E=>{-1===Sf.indexOf(E)&&(l[E]&&Object.keys(l[E]).length?f+=`@${E}(${dl(l[E])})`:f+=`@${E}`)}),f},{setStringify(p){const a=dl;return dl=p,a}});var Af=i(9199),Zu=i(5180);const Td={};function Od(p){const a=JSON.stringify(p);return Td[a]||(Td[a]={})}function Yu(p){const a=Od(p);return a.keyFieldsFn||(a.keyFieldsFn=(l,f)=>{const E=(J,Me)=>f.readField(Me,J),L=f.keyObject=_i(p,J=>{let Me=Ua(f.storeObject,J,E);return void 0===Me&&l!==f.storeObject&&Do.call(l,J[0])&&(Me=Ua(l,J,qu)),(0,go.V1)(void 0!==Me,102,J.join("."),l),Me});return`${f.typename}:${JSON.stringify(L)}`})}function Ju(p){const a=Od(p);return a.keyArgsFn||(a.keyArgsFn=(l,{field:f,variables:E,fieldName:L})=>{const J=_i(p,Ye=>{const rt=Ye[0],qt=rt.charAt(0);if("@"!==qt){if("$"===qt){const $t=rt.slice(1);if(E&&Do.call(E,$t)){const mn=Ye.slice(0);return mn[0]=$t,Ua(E,mn)}return}if(l)return Ua(l,Ye)}else if(f&&(0,Zu.E)(f.directives)){const $t=rt.slice(1),mn=f.directives.find(Nn=>Nn.name.value===$t),dn=mn&&ms(mn,E);return dn&&Ua(dn,Ye.slice(1))}}),Me=JSON.stringify(J);return(l||"{}"!==Me)&&(L+=":"+Me),L})}function _i(p,a){const l=new ll;return Tc(p).reduce((f,E)=>{let L=a(E);if(void 0!==L){for(let J=E.length-1;J>=0;--J)L={[E[J]]:L};f=l.merge(f,L)}return f},{})}function Tc(p){const a=Od(p);if(!a.paths){const l=a.paths=[],f=[];p.forEach((E,L)=>{(0,no.c)(E)?(Tc(E).forEach(J=>l.push(f.concat(J))),f.length=0):(f.push(E),(0,no.c)(p[L+1])||(l.push(f.slice(0)),f.length=0))})}return a.paths}function qu(p,a){return p[a]}function Ua(p,a,l){return l=l||qu,Ul(a.reduce(function f(E,L){return(0,no.c)(E)?E.map(J=>f(J,L)):E&&l(E,L)},p))}function Ul(p){return(0,ws.U)(p)?(0,no.c)(p)?p.map(Ul):_i(Object.keys(p).sort(),a=>Ua(p,a)):p}const eh=new ga.DX,Oc=new WeakMap;function ia(p){let a=Oc.get(p);return a||Oc.set(p,a={vars:new Set,dep:(0,ga.yN)()}),a}function Pc(p){ia(p).vars.forEach(a=>a.forgetCache(p))}function nh(p){const a=new Set,l=new Set,f=function(L){if(arguments.length>0){if(p!==L){p=L,a.forEach(Me=>{ia(Me).dep.dirty(f),function Ic(p){p.broadcastWatches&&p.broadcastWatches()}(Me)});const J=Array.from(l);l.clear(),J.forEach(Me=>Me(p))}}else{const J=eh.getValue();J&&(E(J),ia(J).dep(f))}return p};f.onNextChange=L=>(l.add(L),()=>{l.delete(L)});const E=f.attachCache=L=>(a.add(L),ia(L).vars.add(f),f);return f.forgetCache=L=>a.delete(L),f}function $s(p){return void 0!==p.args?p.args:p.field?ms(p.field,p.variables):null}const Sc=()=>{},kc=(p,a)=>a.fieldName,Ac=(p,a,{mergeObjects:l})=>l(p,a),rh=(p,a)=>a,Rf=(p,a,{streamFieldInfo:l,existingData:f})=>{if(!p&&!f)return a;const E=[],L=p??f,J=l?.isLastChunk?a.length:Math.max(L.length,a.length);for(let Me=0;Me<J;Me++)E[Me]=void 0===a[Me]?L[Me]:a[Me];return E};class Nf{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(a){this.config=a,this.config={dataIdFromObject:wf,...a},this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),a.possibleTypes&&this.addPossibleTypes(a.possibleTypes),a.typePolicies&&this.addTypePolicies(a.typePolicies)}identify(a,l){const f=this,E=l&&(l.typename||l.storeObject?.__typename)||a.__typename;if(E===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];const L=l&&l.storeObject||a,J={...l,typename:E,storeObject:L,readField:l&&l.readField||((...qt)=>
503{const $t=oa(qt,L);return f.readField($t,{store:f.cache.data,variables:$t.variables})})};let Me;const Ye=E&&this.getTypePolicy(E);let rt=Ye&&Ye.keyFn||this.config.dataIdFromObject;return xd.y.withValue(!0,()=>{for(;rt;){const qt=rt({...a,...L},J);if(!(0,no.c)(qt)){Me=qt;break}rt=Yu(qt)}}),Me=Me?String(Me):void 0,J.keyObject?[Me,J.keyObject]:[Me]}addTypePolicies(a){Object.keys(a).forEach(l=>{const{queryType:f,mutationType:E,subscriptionType:L,...J}=a[l];f&&this.setRootTypename("Query",l),E&&this.setRootTypename("Mutation",l),L&&this.setRootTypename("Subscription",l),Do.call(this.toBeAdded,l)?this.toBeAdded[l].push(J):this.toBeAdded[l]=[J]})}updateTypePolicy(a,l,f){const E=this.getTypePolicy(a),{keyFields:L,fields:J}=l;function Me(Ye,rt){Ye.merge="function"==typeof rt?rt:!0===rt?Ac:!1===rt?rh:Ye.merge}Me(E,l.merge),E.keyFn=!1===L?Sc:(0,no.c)(L)?Yu(L):"function"==typeof L?L:E.keyFn,J&&Object.keys(J).forEach(Ye=>{let rt=f[Ye];(!rt||rt?.typename!==a)&&(rt=f[Ye]={typename:a});const qt=J[Ye];if("function"==typeof qt)rt.read=qt;else{const{keyArgs:$t,read:mn,merge:dn}=qt;rt.keyFn=!1===$t?kc:(0,no.c)($t)?Ju($t):"function"==typeof $t?$t:rt.keyFn,"function"==typeof mn&&(rt.read=mn),Me(rt,dn)}rt.read&&rt.merge&&(rt.keyFn=rt.keyFn||kc)})}setRootTypename(a,l=a){const f="ROOT_"+a.toUpperCase(),E=this.rootTypenamesById[f];l!==E&&((0,go.V1)(!E||E===a,103,a),E&&delete this.rootIdsByTypename[E],this.rootIdsByTypename[l]=f,this.rootTypenamesById[f]=l)}addPossibleTypes(a){this.usingPossibleTypes=!0,Object.keys(a).forEach(l=>{this.getSupertypeSet(l,!0),a[l].forEach(f=>{this.getSupertypeSet(f,!0).add(l);const E=f.match(Wu);(!E||E[0]!==f)&&this.fuzzySubtypes.set(f,new RegExp(f))})})}getTypePolicy(a){if(!Do.call(this.typePolicies,a)){const f=this.typePolicies[a]={};f.fields={};let E=this.supertypeMap.get(a);!E&&this.fuzzySubtypes.size&&(E=this.getSupertypeSet(a,!0),this.fuzzySubtypes.forEach((L,J)=>{if(L.test(a)){const Me=this.supertypeMap.get(J);Me&&Me.forEach(Ye=>E.add(Ye))}}
503)),E&&E.size&&E.forEach(L=>{const{fields:J,...Me}=this.getTypePolicy(L);Object.assign(f,Me),Object.assign(f.fields,J)})}const l=this.toBeAdded[a];return l&&l.length&&l.splice(0).forEach(f=>{this.updateTypePolicy(a,f,this.typePolicies[a].fields)}),this.typePolicies[a]}getFieldPolicy(a,l){if(a)return this.getTypePolicy(a).fields[l]}getSupertypeSet(a,l){let f=this.supertypeMap.get(a);return!f&&l&&this.supertypeMap.set(a,f=new Set),f}fragmentMatches(a,l,f,E){if(!a.typeCondition)return!0;if(!l)return!1;const L=a.typeCondition.name.value;if(l===L)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(L)){const J=this.getSupertypeSet(l,!0),Me=[J],Ye=$t=>{const mn=this.getSupertypeSet($t,!1);mn&&mn.size&&Me.indexOf(mn)<0&&Me.push(mn)};let rt=!(!f||!this.fuzzySubtypes.size),qt=!1;for(let $t=0;$t<Me.length;++$t){const mn=Me[$t];if(mn.has(L))return J.has(L)||(qt&&Mo.g&&go.V1.warn(104,l,L),J.add(L)),!0;mn.forEach(Ye),rt&&$t===Me.length-1&&Dc(a.selectionSet,f,E)&&(rt=!1,qt=!0,this.fuzzySubtypes.forEach((dn,Nn)=>{const Mn=l.match(dn);Mn&&Mn[0]===l&&Ye(Nn)}))}}return!1}hasKeyArgs(a,l){const f=this.getFieldPolicy(a,l);return!(!f||!f.keyFn)}getStoreFieldName(a){const{typename:l,fieldName:f}=a,E=this.getFieldPolicy(l,f);let L,J=E&&E.keyFn;if(J&&l){const Me={typename:l,fieldName:f,field:a.field||null,variables:a.variables},Ye=$s(a);for(;J;){const rt=J(Ye,Me);if(!(0,no.c)(rt)){L=rt||f;break}J=Ju(rt)}}return void 0===L&&(L=a.field?function kf(p,a){let l=null;p.directives&&(l={},p.directives.forEach(E=>{l[E.name.value]={},E.arguments&&E.arguments.forEach(({name:L,value:J})=>(0,wd.J)(l[E.name.value],L,J,a))}));let f=null;return p.arguments&&p.arguments.length&&(f={},p.arguments.forEach(({name:E,value:L})=>(0,wd.J)(f,E,L,a))),Xu(p.name.value,f,l)}(a.field,a.variables):Xu(f,$s(a))),!1===L?f:f===ya(L)?L:f+":"+L}readField(a,l){const f=a.from;if(!f||!a.field&&!a.fieldName)return;if(void 0===a.typename){const qt=l.store.getFieldValue(f,"__typename");qt&&(a.typename=qt)}const L=this.getStoreFieldName(a),J=ya(L),Me=l.store.getFieldValue(f,L),Ye=this.getFieldPolicy(a.typename,J),rt=Ye&&Ye.read;if(rt){const qt=ih(this,f,a,l,l.store.getStorage(Ci(f)?f.__ref:f,L));return eh.withValue(this.cache,rt,[Me,qt])}return Me}getReadFunction(a,l){const f=this.getFieldPolicy(a,l);return f&&f.read}getMergeFunction(a,l,f){let E=this.getFieldPolicy(a,l),L=E&&E.merge;return!L&&f&&(E=this.getTypePolicy(f),L=E&&E.merge),L}runMergeFunction(a,l,{field:f,typename:E,merge:L,path:J},Me,Ye){const rt=a;if(L===Ac)return jl(Me.store)(a,l);if(L===rh)return l;Me.overwrite&&(a=void 0);const qt=Me.extensions?.[wc.DH]?.deref()?.peekArray(J);if(qt){const{current:mn,previous:dn}=qt;if(dn&&(0,Aa.L)(dn.incoming,l)&&(0,Aa.L)(dn.streamFieldInfo,mn))return dn.result}const $t=L(a,l,function Lf(p,a,l,f,E,L){const J={...ih(p,a,l,f,E),extensions:f.extensions,existingData:L},Me=f.extensions;if(Me&&wc.DH in Me){const{[wc.DH]:Ye,...rt}=Me,qt=Ye?.deref()?.peekArray(l.path);qt&&(J.streamFieldInfo=qt.current),J.extensions=0===Object.keys(rt).length?void 0:rt}return J}(this,void 0,{typename:E,fieldName:f.name.value,field:f,variables:Me.variables,path:J},Me,Ye||{},rt));return qt&&(qt.previous={incoming:l,streamFieldInfo:qt.current,result:$t}),$t}}function ih(p,a,l,f,E){const L=p.getStoreFieldName(l),J=ya(L),Me=l.variables||f.variables,{toReference:Ye,canRead:rt}=f.store;return{args:$s(l),field:l.field||null,fieldName:J,storeFieldName:L,variables:Me,isReference:Ci,toReference:Ye,storage:E,cache:p.cache,canRead:rt,readField:(...qt)=>p.readField(oa(qt,a,Me),f),mergeObjects:jl(f.store)}}function oa(p,a,l){const{0:f,1:E,length:L}=p;let J;return"string"==typeof f?J={fieldName:f,from:L>1?E:a}:(J={...f},Do.call(J,"from")||(J.from=a)),Mo.g&&void 0===J.from&&Mo.g&&go.V1.warn(105,(0,Af.p)(Array.from(p))),void 0===J.variables&&(J.variables=l),J}function jl(p){return function(l,f){if((0,no.c)(l)||(0,no.c)(f))throw(0,go.vA)(106);if((0,ws.U)(l)&&(0,ws.U)(f)){const E=p.getFieldValue(l,"__typename"),L=p.getFieldValue(f,"__typename");if(E&&L&&E!==L)return f;if(Ci(l)&&Fa(f))return p.merge(l.__ref,f),l;if(Fa(l)&&Ci(f))return p.merge(l,f.__ref),f;if(Fa(l)&&Fa(f))return{...l,...f}}return f}}var Ff=i(7806),eg=i(4804),Bf=i(521),zl=i(5631);
503function Uf(p){let a=p[0]||{};const l=p.length;if(l>1){const f=new ll;for(let E=1;E<l;++E)a=f.merge(a,p[E])}return a}class Ca extends Error{message;path;query;variables;constructor(a,l,f,E){if(super(a),this.message=a,this.path=l,this.query=f,this.variables=E,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let L=this.path.length-1;L>=0;--L)this.missing={[this.path[L]]:this.missing}}else this.missing=this.path;this.__proto__=Ca.prototype}missing}function Ea(p){return[p.selectionSet,p.objectOrReference,p.context]}class Vl{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(a){this.config=a,this.executeSelectionSet=(0,ga.LV)(l=>{const f=Ea(l);return this.executeSelectionSet.peek(...f)||(Dd(l.context.store,l.enclosingRef.__ref),this.execSelectionSetImpl(l))},{max:yc.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Ea,makeCacheKey(l,f,E){if(Bl(E.store))return E.store.makeCacheKey(l,Ci(f)?f.__ref:f,E.varString)}}),this.executeSubSelectedArray=(0,ga.LV)(l=>(Dd(l.context.store,l.enclosingRef.__ref),this.execSubSelectedArrayImpl(l)),{max:yc.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:l,array:f,context:E}){if(Bl(E.store))return E.store.makeCacheKey(l,f,E.varString)}})}diffQueryAgainstStore({store:a,query:l,rootId:f="ROOT_QUERY",variables:E,returnPartialData:L=!0}){const J=this.config.cache.policies;E={...(0,Ff.w)((0,eg.A)(l)),...E};const Me=cl(f),Ye=this.executeSelectionSet({selectionSet:(0,Bf.V)(l).selectionSet,objectOrReference:Me,enclosingRef:Me,context:{store:a,query:l,policies:J,variables:E,varString:(0,va.M)(E),...Ba(l,this.config.fragments)}});let rt;Ye.missing&&(rt=new Ca(function Wl(p){try{JSON.stringify(p,(a,l)=>{if("string"==typeof l)throw l;return l})}catch(a){return a}}(Ye.missing),Ye.missing,l,E));const qt=!rt,{result:$t}=Ye;return{result:qt?$t:L?0===Object.keys($t).length?null:$t:null,complete:qt,missing:rt}}isFresh(a,l,f,E){if(Bl(E.store)&&this.knownResults.get(a)===f){const L=this.executeSelectionSet.peek(f,l,E);if(L&&a===L.result)return!0}return!1}execSelectionSetImpl({selectionSet:a,objectOrReference:l,enclosingRef:f,context:E}){if(Ci(l)&&!E.policies.rootTypenamesById[l.__ref]&&!E.store.has(l.__ref))return{result:{},missing:`Dangling reference to missing ${l.__ref} object`};const{variables:L,policies:J,store:Me}=E,Ye=Me.getFieldValue(l,"__typename"),rt=[];let qt;const $t=new ll;function mn(er,mr){return er.missing&&(qt=$t.merge(qt,{[mr]:er.missing})),er.result}"string"==typeof Ye&&!J.rootIdsByTypename[Ye]&&rt.push({__typename:Ye});const dn=new Set(a.selections);dn.forEach(er=>{if((0,La.M)(er,L))if((0,Md.d)(er)){let mr=J.readField({fieldName:er.name.value,field:er,variables:E.variables,from:l},E);const si=(0,ba.u)(er);void 0===mr?vd.added(er)||(qt=$t.merge(qt,{[si]:`Can't find field '${er.name.value}' on ${Ci(l)?l.__ref+" object":"object "+JSON.stringify(l,null,2)}`})):(0,no.c)(mr)?mr.length>0&&(mr=mn(this.executeSubSelectedArray({field:er,array:mr,enclosingRef:f,context:E}),si)):er.selectionSet&&null!=mr&&(mr=mn(this.executeSelectionSet({selectionSet:er.selectionSet,objectOrReference:mr,enclosingRef:Ci(mr)?mr:f,context:E}),si)),void 0!==mr&&rt.push({[si]:mr})}else{const mr=(0,zl.H)(er,E.lookupFragment);if(!mr&&er.kind===Ra.b.FRAGMENT_SPREAD)throw(0,go.vA)(107,er.name.value);mr&&J.fragmentMatches(mr,Ye)&&mr.selectionSet.selections.forEach(dn.add,dn)}});const Mn={result:Uf(rt),missing:qt},cr=(0,Ed.G)(Mn);return cr.result&&this.knownResults.set(cr.result,a),cr}execSubSelectedArrayImpl({field:a,array:l,enclosingRef:f,context:E}){let L,J=new ll;function Me(Ye,rt){return Ye.missing&&(L=J.merge(L,{[rt]:Ye.missing})),Ye.result}return a.selectionSet&&(l=l.filter(Ye=>void 0===Ye||E.store.canRead(Ye))),l=l.map((Ye,rt)=>null===Ye?null:(0,no.c)(Ye)?Me(this.executeSubSelectedArray({field:a,array:Ye,enclosingRef:f,context:E}),rt):a.selectionSet?Me(this.executeSelectionSet({selectionSet:a.selectionSet,objectOrReference:Ye,enclosingRef:Ci(Ye)?Ye:f,context:E}),rt):(Mo.g&&function Pd(p,a,l){if(!a.selectionSet){const f=new Set([l]);f.forEach(E=>{(0,ws.U)(E)&&((0,go.V1)(!Ci(E),108,function Of(p,a){return Ci(a)?p.get(a.__ref,"__typename"):a&&a.__typename}
503(p,E),a.name.value),Object.values(E).forEach(f.add,f))})}}(E.store,a,Ye),Ye)),{result:l,missing:L}}}var jf=i(2517),Id=i(3303);const{toString:Rc}=Object.prototype;function ja(p){return Nc(p)}function Nc(p,a){switch(Rc.call(p)){case"[object Array]":{if((a=a||new Map).has(p))return a.get(p);const l=p.slice(0);return a.set(p,l),l.forEach(function(f,E){l[E]=Nc(f,a)}),l}case"[object Object]":{if((a=a||new Map).has(p))return a.get(p);const l=Object.create(Object.getPrototypeOf(p));return a.set(p,l),Object.keys(p).forEach(f=>{l[f]=Nc(p[f],a)}),l}default:return p}}function Sd(p,a,l){const f=`${a}${l}`;let E=p.flavors.get(f);return E||p.flavors.set(f,E=p.clientOnly===a&&p.deferred===l?p:{...p,clientOnly:a,deferred:l}),E}class zf{cache;reader;fragments;constructor(a,l,f){this.cache=a,this.reader=l,this.fragments=f}writeToStore(a,{query:l,result:f,dataId:E,variables:L,overwrite:J,extensions:Me}){const Ye=(0,jf.V)(l),rt=function Hu(){return new ll}();L={...(0,Ff.w)(Ye),...L};const qt={store:a,written:{},merge:(mn,dn)=>rt.merge(mn,dn),variables:L,varString:(0,va.M)(L),...Ba(l,this.fragments),overwrite:!!J,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:Me},$t=this.processSelectionSet({result:f||{},dataId:E,selectionSet:Ye.selectionSet,mergeTree:{map:new Map},context:qt,path:[]});if(!Ci($t))throw(0,go.vA)(109,f);return qt.incomingById.forEach(({storeObject:mn,mergeTree:dn,fieldNodeSet:Nn},Mn)=>{const cr=cl(Mn);if(dn&&dn.map.size){const er=this.applyMerges(dn,cr,mn,qt);if(Ci(er))return;mn=er}if(Mo.g&&!qt.overwrite){const er={};Nn.forEach(Nr=>{Nr.selectionSet&&(er[Nr.name.value]=!0)});const mr=Nr=>!0===er[ya(Nr)],si=Nr=>{const oi=dn&&dn.map.get(Nr);return!!(oi&&oi.info&&oi.info.merge)};Object.keys(mn).forEach(Nr=>{mr(Nr)&&!si(Nr)&&function Bc(p,a,l,f){const E=$t=>{const mn=f.getFieldValue($t,l);return"object"==typeof mn&&mn},L=E(p);if(!L)return;const J=E(a);if(!J||Ci(L)||(0,Aa.L)(L,J)||Object.keys(L).every($t=>void 0!==f.getFieldValue(J,$t)))return;const Me=f.getFieldValue(p,"__typename")||f.getFieldValue(a,"__typename"),Ye=ya(l),rt=`${Me}.${Ye}`;if(Hl.has(rt))return;Hl.add(rt);const qt=[];!(0,no.c)(L)&&!(0,no.c)(J)&&[L,J].forEach($t=>{const mn=f.getFieldValue($t,"__typename");"string"==typeof mn&&!qt.includes(mn)&&qt.push(mn)}),Mo.g&&go.V1.warn(112,Ye,Me,qt.length?"either ensure all objects of type "+qt.join(" and ")+" have an ID or a custom merge function, or ":"",rt,Array.isArray(L)?[...L]:{...L},Array.isArray(J)?[...J]:{...J})}(cr,mn,Nr,qt.store)})}a.merge(Mn,mn)}),a.retain($t.__ref),$t}processSelectionSet({dataId:a,result:l,selectionSet:f,context:E,mergeTree:L,path:J}){const{policies:Me}=this.cache;let Ye={};const rt=a&&Me.rootTypenamesById[a]||sa(l,f,E.fragmentMap)||a&&E.store.get(a,"__typename");"string"==typeof rt&&(Ye.__typename=rt);const qt=(...mn)=>{const dn=oa(mn,Ye,E.variables);if(Ci(dn.from)){const Nn=E.incomingById.get(dn.from.__ref);if(Nn){const Mn=Me.readField({...dn,from:Nn.storeObject},E);if(void 0!==Mn)return Mn}}return Me.readField(dn,E)},$t=new Set;this.flattenFields(f,l,E,rt).forEach((mn,dn)=>{const Nn=(0,ba.u)(dn),Mn=l[Nn],cr=[...J,dn.name.value];if($t.add(dn),void 0!==Mn){const er=Me.getStoreFieldName({typename:rt,fieldName:dn.name.value,field:dn,variables:mn.variables}),mr=Lc(L,er);let Nr,si=this.processFieldValue(Mn,dn,dn.selectionSet?Sd(mn,!1,!1):mn,mr,cr);dn.selectionSet&&(Ci(si)||Fa(si))&&(Nr=qt("__typename",si));const oi=Me.getMergeFunction(rt,dn.name.value,Nr);oi?mr.info={field:dn,typename:rt,merge:oi,path:cr}:(0,Id.d)(["stream"],dn)&&Array.isArray(si)&&mn.extensions?.[wc.DH]?mr.info={field:dn,typename:rt,merge:Rf,path:cr}:Fc(L,er),Ye=mn.merge(Ye,{[er]:si})}else Mo.g&&!mn.clientOnly&&!mn.deferred&&!vd.added(dn)&&!Me.getReadFunction(rt,dn.name.value)&&go.V1.error(110,(0,ba.u)(dn),l)});try{const[mn,dn]=Me.identify(l,{typename:rt,selectionSet:f,fragmentMap:E.fragmentMap,storeObject:Ye,readField:qt});a=a||mn,dn&&(Ye=E.merge(Ye,dn))}catch(mn){if(!a)throw mn}if("string"==typeof a){const mn=cl(a),dn=E.written[a]||(E.written[a]=[]);if(dn.indexOf(f)>=0||(dn.push(f),this.reader&&this.reader.isFresh(l,mn,f,E)))return mn;const Nn=E.incomingById.get(a);return Nn?(Nn.storeObject=E.merge(Nn.storeObject,Ye),Nn.mergeTree=hl(Nn.mergeTree,L),$t.forEach(Mn=>Nn.fieldNodeSet.add(Mn))):E.incomingById.set(a,{storeObject:Ye,mergeTree:fl(L)?void 0:L,fieldNodeSet:$t}),mn}return Ye}processFieldValue(a,l,f,E,L){return l.selectionSet&&null!==a?(0,no.c)(a)?a.map((J,Me)=>{const Ye=this.processFieldValue(J,l,f,Lc(E,Me),[...L,Me]);return Fc(E,Me),Ye}):this.processSelectionSet({result:a,selectionSet:l.selectionSet,context:f,mergeTree:E,path:L}):Mo.g?ja(a):a}flattenFields(a,l,f,E=sa(l,a,f.fragmentMap)){const L=new Map,{policies:J}=this.cache,Me=new Ec.b(!1);return function Ye(rt,qt){const $t=Me.lookup(rt,qt.clientOnly,qt.deferred);$t.visited||($t.visited=!0,rt.selections.forEach(mn=>{if(!(0,La.M)(mn,f.variables))return;let{clientOnly:dn,deferred:Nn}=qt;
503if(!(dn&&Nn)&&(0,Zu.E)(mn.directives)&&mn.directives.forEach(Mn=>{const cr=Mn.name.value;if("client"===cr&&(dn=!0),"defer"===cr){const er=ms(Mn,f.variables);(!er||!1!==er.if)&&(Nn=!0)}}),(0,Md.d)(mn)){const Mn=L.get(mn);Mn&&(dn=dn&&Mn.clientOnly,Nn=Nn&&Mn.deferred),L.set(mn,Sd(f,dn,Nn))}else{const Mn=(0,zl.H)(mn,f.lookupFragment);if(!Mn&&mn.kind===Ra.b.FRAGMENT_SPREAD)throw(0,go.vA)(111,mn.name.value);Mn&&J.fragmentMatches(Mn,E,l,f.variables)&&Ye(Mn.selectionSet,Sd(f,dn,Nn))}}))}(a,f),L}applyMerges(a,l,f,E,L){if(a.map.size&&!Ci(f)){const J=(0,no.c)(f)||!Ci(l)&&!Fa(l)?void 0:l,Me=f;let Ye;J&&!L&&(L=[Ci(J)?J.__ref:J]);const rt=(qt,$t)=>(0,no.c)(qt)?"number"==typeof $t?qt[$t]:void 0:E.store.getFieldValue(qt,String($t));a.map.forEach((qt,$t)=>{const mn=rt(J,$t),dn=rt(Me,$t);if(void 0===dn)return;L&&L.push($t);const Nn=this.applyMerges(qt,mn,dn,E,L);Nn!==dn&&(Ye=Ye||new Map,Ye.set($t,Nn)),L&&(0,go.V1)(L.pop()===$t)}),Ye&&(f=(0,no.c)(Me)?Me.slice(0):{...Me},Ye.forEach((qt,$t)=>{f[$t]=qt}))}return a.info?this.cache.policies.runMergeFunction(l,f,a.info,E,L&&E.store.getStorage(...L)):f}}const ul=[];function Lc({map:p},a){return p.has(a)||p.set(a,ul.pop()||{map:new Map}),p.get(a)}function hl(p,a){if(p===a||!a||fl(a))return p;if(!p||fl(p))return a;const l=p.info&&a.info?{...p.info,...a.info}:p.info||a.info,f=p.map.size&&a.map.size,L={info:l,map:f?new Map:p.map.size?p.map:a.map};if(f){const J=new Set(a.map.keys());p.map.forEach((Me,Ye)=>{L.map.set(Ye,hl(Me,a.map.get(Ye))),J.delete(Ye)}),J.forEach(Me=>{L.map.set(Me,hl(a.map.get(Me),p.map.get(Me)))})}return L}function fl(p){return!p||!(p.info||p.map.size)}function Fc({map:p},a){const l=p.get(a);l&&fl(l)&&(ul.push(l),p.delete(a))}const Hl=new Set;function sa(p,a,l){let f;for(const E of a.selections)if((0,Md.d)(E)){if("__typename"===E.name.value)return p[(0,ba.u)(E)]}else f?f.push(E):f=[E];if("string"==typeof p.__typename)return p.__typename;if(f)for(const E of f){const L=sa(p,(0,zl.H)(E,l).selectionSet,l);if("string"==typeof L)return L}}class oh extends Bu{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new Cf.c(vd);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=nh;constructor(a={}){super(),this.config=function Tf(p){return(0,xf.o)(qm,p)}(a),this.policies=new Nf({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){const a=this.data=new Fl.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=a.stump,this.resetResultCache()}resetResultCache(){const{fragments:a}=this.config;this.addTypenameTransform.resetCache(),a?.resetCaches(),this.storeWriter=new zf(this,this.storeReader=new Vl({cache:this,fragments:a}),a),this.maybeBroadcastWatch=(0,ga.LV)((l,f)=>this.broadcastWatch(l,f),{max:yc.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:l=>{const f=l.optimistic?this.optimisticData:this.data;if(Bl(f)){const{optimistic:E,id:L,variables:J}=l;return f.makeCacheKey(l.query,l.callback,(0,va.M)({optimistic:E,id:L,variables:J}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(l=>l.resetCaching())}restore(a){return this.init(),a&&this.data.replace(a),this}extract(a=!1){return(a?this.optimisticData:this.data).extract()}read(a){const{returnPartialData:l=!1}=a;return this.storeReader.diffQueryAgainstStore({...a,store:a.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:l}).result}write(a){try{return++this.txCount,this.storeWriter.writeToStore(this.data,a)}finally{! --this.txCount&&!1!==a.broadcast&&this.broadcastWatches()}}modify(a){if(Do.call(a,"id")&&!a.id)return!1;const l=a.optimistic?this.optimisticData:this.data;try{return++this.txCount,l.modify(a.id||"ROOT_QUERY",a.fields,!1)}finally{! --this.txCount&&!1!==a.broadcast&&this.broadcastWatches()}}diff(a){return this.storeReader.diffQueryAgainstStore({...a,store:a.optimistic?this.optimisticData:this.data,rootId:a.id||"ROOT_QUERY",config:this.config})}watch(a){return this.watches.size||function th(p){ia(p).vars.forEac
503h(a=>a.attachCache(p))}(this),this.watches.add(a),a.immediate&&this.maybeBroadcastWatch(a),()=>{this.watches.delete(a)&&!this.watches.size&&Pc(this),this.maybeBroadcastWatch.forget(a)}}gc(a){va.M.reset(),Cc.y.reset();const l=this.optimisticData.gc();return a&&!this.txCount&&a.resetResultCache&&this.resetResultCache(),l}retain(a,l){return(l?this.optimisticData:this.data).retain(a)}release(a,l){return(l?this.optimisticData:this.data).release(a)}identify(a){if(Ci(a))return a.__ref;try{return this.policies.identify(a)[0]}catch(l){Mo.g&&go.V1.warn(l)}}evict(a){if(!a.id){if(Do.call(a,"id"))return!1;a={...a,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(a,this.data)}finally{! --this.txCount&&!1!==a.broadcast&&this.broadcastWatches()}}reset(a){return this.init(),va.M.reset(),a&&a.discardWatches?(this.watches.forEach(l=>this.maybeBroadcastWatch.forget(l)),this.watches.clear(),Pc(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(a){const l=this.optimisticData.removeLayer(a);l!==this.optimisticData&&(this.optimisticData=l,this.broadcastWatches())}txCount=0;batch(a){const{update:l,optimistic:f=!0,removeOptimistic:E,onWatchUpdated:L}=a;let J;const Me=rt=>{const{data:qt,optimisticData:$t}=this;++this.txCount,rt&&(this.data=this.optimisticData=rt);try{return J=l(this)}finally{--this.txCount,this.data=qt,this.optimisticData=$t}},Ye=new Set;return L&&!this.txCount&&this.broadcastWatches({...a,onWatchUpdated:rt=>(Ye.add(rt),!1)}),"string"==typeof f?this.optimisticData=this.optimisticData.addLayer(f,Me):!1===f?Me(this.data):Me(),"string"==typeof E&&(this.optimisticData=this.optimisticData.removeLayer(E)),L&&Ye.size?(this.broadcastWatches({...a,onWatchUpdated(rt,qt){const $t=L.call(this,rt,qt);return!1!==$t&&Ye.delete(rt),$t}}),Ye.size&&Ye.forEach(rt=>this.maybeBroadcastWatch.dirty(rt))):this.broadcastWatches(a),J}performTransaction(a,l){return this.batch({update:a,optimistic:l||null!==l})}transformDocument(a){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(a))}fragmentMatches(a,l){return this.policies.fragmentMatches(a,l)}lookupFragment(a){return this.config.fragments?.lookup(a)||null}resolvesClientField(a,l){return!!this.policies.getReadFunction(a,l)}broadcastWatches(a){if(!this.txCount){const l=this.onAfterBroadcast,f=new Set;this.onAfterBroadcast=E=>{f.add(E)};try{this.watches.forEach(E=>this.maybeBroadcastWatch(E,a)),f.forEach(E=>E())}finally{this.onAfterBroadcast=l}}}addFragmentsToDocument(a){const{fragments:l}=this.config;return l?l.transform(a):a}broadcastWatch(a,l){const{lastDiff:f}=a,E=this.diff(a);l&&(a.optimistic&&"string"==typeof l.optimistic&&(E.fromOptimisticTransaction=!0),l.onWatchUpdated&&!1===l.onWatchUpdated.call(this,a,E,f))||(!f||!(0,Aa.L)(f.result,E.result))&&a.callback(a.lastDiff=E,f)}}Mo.g&&(oh.prototype.getMemoryInternals=ku.cM);var sh=i(3246),Uc=i(4639),kd=i(4951);class jc extends Error{static is(a){return(0,kd.t)(a,"ServerError")}response;statusCode;bodyText;constructor(a,l){super(a),this.name="ServerError",this.response=l.response,this.statusCode=l.response.status,this.bodyText=l.bodyText,(0,kd.w)(this),Object.setPrototypeOf(this,jc.prototype)}}const Kl=(p,a)=>p&&a?[...p.keys()].reduce((l,f)=>l.set(f,p.get(f)),a):a||p;function Rd(p){let a=(p=>p instanceof ri.Lr?p:new ri.Lr(p))(p.headers);if(p.clientAwareness){const{name:l,version:f}=p.clientAwareness;l&&!a.has("apollographql-client-name")&&(a=a.set("apollographql-client-name",l)),f&&!a.has("apollographql-client-version")&&(a=a.set("apollographql-client-version",f))}return a}const Gl={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function aa(p,a,l){return function $l(...p){return p.find(a=>typeof a<"u")}(p[l],a[l],Gl[l])}class ch extends Uc.C{httpClient;options;requester;print=sh.y;constructor(a,l){super(),this.httpClient=a,this.options=l,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=f=>new fs.c(E=>{const L=f.getContext();let J=aa(L,this.options,"method");const Me=aa(L,this.options,"includeQuery"),Ye=aa(L,this.options,"includeExtensions"),rt=aa(L,this.options,"uri"),qt=aa(L,this.options,"withCredentials"),$t=aa(L,this.options,"useMultipart"),mn=!0===this.options.useGETForQueries,dn=Kl(L.httpContext,Kl(this.options.httpContext,new ri._y)),Nn=f.query.definitions.some(mr=>"OperationDefinition"===mr.kind&&"query"===mr.operation);mn&&Nn&&(J="GET");const Mn=((p,a)=>p&&a?a.keys().reduce((l,f)=>l.set(f,a.getAll(f)),p):a||p)(this.options.headers,Rd(L)),cr={method:J,url:"function"==typeof rt?rt(f):rt,body:{operationName:f.operationName,variables:f.variables},options:{withCredentials:qt,useMultipart:$t,headers:Mn,context:dn}};Ye&&(cr.body.extensions=f.extensions),Me&&(cr.body.query=this.print(f.query));const er=((p,a,l)=>{const f=-1!==["POST","PUT","PATCH"].indexOf(p.method.toUpperCase()),L=p.body.length;let Me,J=p.options&&p.options.useMultipart;if(J){if(L)return new fs.c(rt=>rt.error(new Error("File upload is not available when combined with Batching")));if(!f)return new fs.c(rt=>rt.error(new Error("File upload is not available when GET is used")));if(!l)return new fs.c(rt=>rt.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));Me=l(p.body),J=!!Me.files.size}let Ye={};if(L){if(!f)return new fs.c(rt=>rt.error(new Error("Batching is not available for GET requests")));Ye={body:p.body}}else Ye=f?{body:J?Me.clone:p.body}:{params:Object.keys(p.body).reduce(($t,mn)=>{const dn=p.body[mn];return $t[mn]=-1!==["variables","extensions"].indexOf(mn.toLowerCase())?JSON.stringify(dn):dn,$t},{})};if(J&&f){const rt=new FormData;rt.append("operations",JSON.stringify(Ye.body));const qt={},$t=Me.files;let mn=0;$t.forEach(dn=>{qt[++mn]=dn}),rt.append("map",JSON.stringify(qt)),mn=0,$t.forEach((dn,Nn)=>{rt.append(++mn+"",Nn,Nn.name)}),Ye.body=rt}return a.request(p.method,p.url,{observe:"response",responseType:"json",reportProgress:!1,...Ye,...p.options})})(cr,this.httpClient,this.options.extractFiles).subscribe({next:mr=>{f.setContext({response:mr}),E.next(mr.body)},error:mr=>{E.error(mr instanceof ri.yz?function Vc(p){const a={status:p.status,statusText:p.statusText,ok:p.ok,url:p.url||"",headers:new Headers,type:"error",redirected:!1};
503p.headers.keys().forEach(f=>{const E=p.headers.getAll(f);E&&E.forEach(L=>a.headers.append(f,L))});const l="string"==typeof p.error?p.error:JSON.stringify(p.error||{});return p.status>=300?new jc(`Response not successful: Received status code ${p.status}`,{response:a,bodyText:l}):new Error(p.message)}(mr):mr)},complete:()=>E.complete()});return()=>{er.closed||er.unsubscribe()}})}request(a){return this.requester(a)}}let Kf=(()=>{class p{httpClient;constructor(l){this.httpClient=l}create(l){return new ch(this.httpClient,l)}static \u0275fac=function(f){return new(f||p)(c.KVO(ri.Qq))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function Nd(p){return typeof File<"u"&&p instanceof File||typeof Blob<"u"&&p instanceof Blob}const dh=p=>function Wc(p,a,l=""){if(!arguments.length)throw new TypeError("Argument 1 `value` is required.");if("function"!=typeof a)throw new TypeError("Argument 2 `isExtractable` must be a function.");if("string"!=typeof l)throw new TypeError("Argument 3 `path` must be a string.");const f=new Map,E=new Map;return{clone:function L(J,Me,Ye){if(a(J)){const $t=E.get(J);return $t?$t.push(Me):E.set(J,[Me]),null}const rt=Array.isArray(J)||typeof FileList<"u"&&J instanceof FileList,qt=function $f(p){if("object"!=typeof p||null===p)return!1;const a=Object.getPrototypeOf(p);return!(null!==a&&a!==Object.prototype&&null!==Object.getPrototypeOf(a)||Symbol.toStringTag in p||Symbol.iterator in p)}(J);if(rt||qt){let $t=f.get(J);const mn=!$t;if(mn&&($t=rt?[]:J instanceof Object?{}:Object.create(null),f.set(J,$t)),!Ye.has(J)){const dn=Me?`${Me}.`:"",Nn=new Set(Ye).add(J);if(rt){let Mn=0;for(const cr of J){const er=L(cr,dn+Mn++,Nn);mn&&$t.push(er)}}else for(const Mn in J){const cr=L(J[Mn],dn+Mn,Nn);mn&&($t[Mn]=cr)}}return $t}return J}(p,l,new Set),files:E}}(p,Nd);var uh=i(5984);const hh=new c.nKC("THEME_CONFIG");let fh=(()=>{class p{constructor(){this.destroyRef=(0,c.WQX)(c.abz),this.documentRef=(0,c.WQX)(c.qQL),this.themeConfig=(0,c.WQX)(hh),this.platformId=(0,c.WQX)(_.Agw),this.isBrowser=(0,xt.UE)(this.platformId),this.media=this.isBrowser?window.matchMedia("(prefers-color-scheme: dark)"):null,this.systemDark=(0,c.vPA)(this.media?.matches??!1),this.mode=(0,c.vPA)("system"),this.resolvedTheme=(0,u.EW)(()=>{const l=this.mode();return"dark"===l?"dark":"light"===l?"light":this.systemDark()?"dark":"light"}),this.onMediaChange=l=>{this.systemDark.set(l.matches)},this.onDebugKeydown=l=>{l.ctrlKey&&l.shiftKey&&"KeyT"===l.code&&(l.preventDefault(),this.toggleTheme())},(0,c.QZP)(()=>{const l=this.mode();this.saveTheme(this.themeConfig.storageKey,l),this.applyWithTransition(this.resolvedTheme())})}init(){if(!this.isBrowser)return;this.media&&(this.media.addEventListener("change",this.onMediaChange),this.destroyRef.onDestroy(()=>{this.media?.removeEventListener("change",this.onMediaChange)})),!0===this.themeConfig.debug&&(window.addEventListener("keydown",this.onDebugKeydown),this.destroyRef.onDestroy(()=>{window.removeEventListener("keydown",this.onDebugKeydown)}));const l=this.loadTheme(this.themeConfig.storageKey);this.setTheme(l??this.themeConfig.defaultMode??"system")}toggleTheme(){const l=this.resolvedTheme();this.setTheme("dark"===l?"light":"dark")}setTheme(l){this.mode.set(l)}applyWithTransition(l){if(!this.isBrowser)return;const f=this.themeConfig.transitionClass??"theme-transition",E=this.themeConfig.lightClass??"theme-light",L=this.themeConfig.darkClass??"theme-dark",J=this.documentRef.documentElement;J.classList.add(f),J.classList.toggle(E,"light"===l),J.classList.toggle(L,"dark"===l),requestAnimationFrame(()=>{J.classList.remove(f)})}loadTheme(l){if(!this.isBrowser)return null;try{return window.localStorage.getItem(l)}catch{return null}}saveTheme(l,f){if(this.isBrowser)try{window.localStorage.setItem(l,f)}catch{console.error("Error on window.localStorage")}}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var Ld=i(5057);const Ql=new Set([b.c.baseUrl,b.c.graphqlUrl].map(p=>new URL(p).origin)),Bd=()=>localStorage.removeItem(m.u.ACCESS_TOKEN_STORAGE_KEY),mh=["Me","GetLinkById","validateLinkAttributes","RevenueCalculatorScore","generateFallbackTitle","CreateLink","UpdateLink","createPayout","cancelPayout","payouts","payoutSettings","overviewStatistics","overviewLinksPaginated","overviewLinksDynamicPaginated","deleteLink","massEditLinks","massDeleteLinks","supportZendeskUrls","supp
503ortStrikes","fullscriptSettings","updateFullscriptSettings","toggleAntibypass","antibypassSettings","affiliateReferredUsersPaginated","affiliateIncomes","affiliateIncomesPaginated","alerts","deleteAlert","profileSuggestions","linkRecommendations"];var jd=i(345),bh=i(5125);const Wd={providers:[function Gf(p){const a={storageKey:`theme:${p.storageKey}`,defaultMode:p.defaultMode??"light",debug:p.debug??(0,h.naY)(),darkClass:p.darkClass??"theme-dark",lightClass:p.lightClass??"theme-light",transitionClass:p.transitionClass??"theme-transition"};return(0,c.EmA)([{provide:hh,useValue:a},(0,_.phd)(()=>(0,c.WQX)(fh).init())])}({storageKey:"creator-web"}),{provide:Ld.ao,useValue:{usePopover:!1}},(0,_.phd)(()=>(0,c.WQX)(m.u).init()),(0,_.phd)(()=>{const p=(0,c.WQX)(C.Ix),a=(0,c.WQX)(uh.aZ);ae.N.init(p,a)}),(0,_.phd)(()=>function Vd(p){return()=>p.use("en")}((0,c.WQX)(O.c$))()),(0,ri.$R)((0,ri.b$)([function Fd(p,a){const l=new URL(p.url,window.location.origin).origin;return Ql.has(l)&&!p.withCredentials&&(p=p.clone({withCredentials:!0})),a(p)},function Xf(p,a){const l=localStorage.getItem(m.u.ACCESS_TOKEN_STORAGE_KEY);return l&&!p.headers.has("Authorization")&&(p=p.clone({setHeaders:{Authorization:`Bearer ${l}`}})),a(p).pipe((0,os.M)(f=>{f instanceof ri.cS&&f.body&&f.body?.errors&&f.body?.errors[0]?.message?.includes("Unauthenticated")&&Bd()}),(0,os.M)(f=>{f instanceof ri.cS&&p.urlWithParams.includes("/account")&&f.body?.data?.messages&&f.body.data.messages[0].includes("session_expired")&&Bd()}))},function Zf(p,a){return p.headers.has("Accept")||(p=p.clone({headers:p.headers.set("Accept","application/json")})),p.headers.has("Content-Type")||(p=p.clone({headers:p.headers.set("Content-Type","application/json")})),p.urlWithParams.includes("api.taboola.com")&&(p=p.clone({headers:p.headers.delete("Content-Type")})),a(p)},function Ud(p,a){const l=p.body;return("completeCustomAdOffer"===l?.operationName||"completeTask"===l?.operationName||p.url.includes("checkout"))&&(p=p.clone({headers:p.headers.set("cqreferrer",window.location.href)})),a(p)},(p,a)=>{if(!p.url.includes("/graphql"))return a(p);const l=function Va(p){if(!p||"object"!=typeof p||!("operationName"in p))return;const a=p.operationName;return"string"==typeof a&&a?a:void 0}(p.body);return a(l?p.clone({params:p.params.set("name",l)}):p)},function ph(p,a){const l=(0,c.WQX)(c.zZn).get(se.bI),f=l.IMPRESSION_SESSION_STORAGE_KEY,E=localStorage.getItem(f);return E&&(p=p.clone({params:p.params.set(f,E)})),a(p).pipe((0,_r.T)(L=>{if(L instanceof ri.cS&&L.body){const{user_token:J}=L.body;J&&(localStorage.setItem(f,J),l.updateImpressionKey(J))}return L}))},function vh(p,a){const l=localStorage.getItem(m.u.SANCTUM_GUARD_TOKEN_STORAGE_KEY),f=p.body;l&&mh.includes(f?.operationName??"")&&(p=p.clone({setHeaders:{Authorization:`Bearer ${l}`}}));const E=p.body;if(E instanceof FormData){const L=E.get("operations");if("string"==typeof L){const J=JSON.parse(L);("CreateLink"===J.operationName||"UpdateLink"===J.operationName)&&(p=(p=p.clone({headers:p.headers.delete("Content-Type")})).clone({setHeaders:{Authorization:`Bearer ${l}`}}))}}return a(p)},(p,a)=>{const l=(0,c.WQX)(jd.W8);return a(p).pipe((0,os.M)(f=>{if(!(f instanceof ri.cS))return;const E=f.headers.get("cf-ray");E&&l.updateTag({name:"cf-ray",content:E.replace(/-[^-]+$/,"")})}))}])),((p,a,l=!1)=>(0,Xe.xC)(()=>({link:(0,c.WQX)(Kf).create({uri:p,extractFiles:l?dh:void 0}),cache:new oh(a)})))(b.c.graphqlUrl,{typePolicies:{Query:{fields:{dashboardSettings:{merge:(p,a,{mergeObjects:l})=>l(p,a)},followerFeedPaginated:{keyArgs:!1,merge:(p,a,{args:l})=>(l?.page??1)<=1||!p?a:{...a,data:[...p.data??[],...a?.data??[]]}},linkRecommendations:{keyArgs:["explore_category","sort_by","sensitive_post_filter","user_id"],merge:(p,a,{args:l})=>(l?.page??1)<=1||!p?a:{...a,data:[...p.data??[],...a?.data??[]]}}}}}},!0),(0,bh.ax)(),(0,le.lh)(Jm,(0,le.oH)({scrollPositionRestoration:"top"}),(0,le.Ii)({onSameUrlNavigation:"reload"}),(0,le.lG)()),(0,O.D8)({lang:"en",loader:function Iu(p={}){return[{provide:Nl,useValue:p},{provide:O.Wr,useClass:yf,deps:[p.useHttpBackend?ri.JV:ri.Qq,Nl]}]}({prefix:"/assets/i18n/",suffix:".json?v=1"})}),(0,c.oKB)(Mu,pi)]};b.c.production&&(0,h.SmG)(),function de(p,a,l){return et.apply(this,arguments)}(Kt,Wd).then(p=>{}).catch(p=>console.error(p))},8017(vt,Y,i){function h(b){return b.charAt(0)+b.slice(1).toLowerCase()}i.d(Y,{w:()=>h})},522(vt,Y,i){i.d(Y,{Q:()=>h});class h{static getEmbededYoutubeUrl(c){if(c){const C=c.match(/https:\/\/img\.youtube\.com\/vi\/([^/]+)\/[^/]+\.jpg$/);return C&&C[1]?`https://www.youtube.com/embed/${C[1]}`:null}return null}static addParamsToEmbedUrl(c,C){const T=new URL(c);
503return Object.entries(C).forEach(([y,O])=>{T.searchParams.set(y,O)}),T.toString()}static isYoutubeEmbedUrl(c){const T="https://*.youtube.com/embed/*".replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*");return new RegExp(`^${T}$`,"i").test(c.trim())}}},7415(vt,Y,i){i.d(Y,{B:()=>T});var h=i(5802),b=i(6354),c=i(9079),C=i(1535);let T=(()=>{class y{constructor(){this.breakpointObserver=(0,h.WQX)(C.Q),this.sizeS=getComputedStyle(document.documentElement).getPropertyValue("--lv-container-3xl").trim(),this.sizeM=getComputedStyle(document.documentElement).getPropertyValue("--lv-container-5xl").trim(),this.isSizeS=this.getSize(this.sizeS),this.isSizeM=this.getSize(this.sizeM)}getSize(k){return(0,c.ot)(this.breakpointObserver.observe(`(min-width: ${k})`).pipe((0,b.T)(w=>w.matches)),{initialValue:!1})}static{this.\u0275fac=function(w){return new(w||y)}}static{this.\u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},5850(vt,Y,i){i.d(Y,{Fv:()=>Ht}),i(5342);var Ht=function(I){return I.SERVER="SERVER",I.MATCH="MATCH",I.EMAIL="EMAIL",I.PASSWORD="PASSWORD",I.REQUIRED="REQUIRED",I.LOGIN="LOGIN",I.USERNAME="USERNAME",I}(Ht||{})},5342(vt,Y,i){i.d(Y,{BN:()=>le,Hv:()=>v,Ph:()=>At,S$:()=>We,VL:()=>Ae,ZU:()=>qe,_v:()=>He,b3:()=>Gt,f1:()=>ht,iM:()=>h,j6:()=>at,lD:()=>pt,m:()=>G,oH:()=>D,po:()=>b,rD:()=>ye,xB:()=>Ne});var h=function(M){return M.Amount="AMOUNT",M.CreatedAt="CREATED_AT",M}(h||{}),b=function(M){return M.CreatedAt="CREATED_AT",M.Username="USERNAME",M}(b||{}),v=function(M){return M.Arts="ARTS",M.Entertainment="ENTERTAINMENT",M.Games="GAMES",M.Others="OTHERS",M}(v||{}),D=function(M){return M.Accesses="ACCESSES",M.Earnings="EARNINGS",M.PublishedAt="PUBLISHED_AT",M.Rpm="RPM",M.Url="URL",M.Views="VIEWS",M}(D||{}),G=function(M){return M.Latest="LATEST",M.Oldest="OLDEST",M.Popularity="POPULARITY",M.Trending="TRENDING",M}(G||{}),le=function(M){return M.Accesses="ACCESSES",M.Earnings="EARNINGS",M.LastEdited="LAST_EDITED",M.PublishedAt="PUBLISHED_AT",M.Rpm="RPM",M.State="STATE",M.Views="VIEWS",M}(le||{}),ye=function(M){return M.Amount="AMOUNT",M.CreatedAt="CREATED_AT",M.DisplayState="DISPLAY_STATE",M.State="STATE",M}(ye||{}),We=function(M){return M.ApprovedSeo="APPROVED_SEO",M.DeclinedSeo="DECLINED_SEO",M.FollowUpSeo="FOLLOW_UP_SEO",M.Fullscript="FULLSCRIPT",M.NotSeo="NOT_SEO",M.PendingSeo="PENDING_SEO",M}(We||{}),ht=function(M){return M.Paste="PASTE",M.Url="URL",M}(ht||{}),Gt=function(M){return M.LastEditAt="LAST_EDIT_AT",M.TodoImpressionCount="TODO_IMPRESSION_COUNT",M}(Gt||{}),at=function(M){return M.Blur="BLUR",M.Hide="HIDE",M.Show="SHOW",M}(at||{}),He=function(M){return M.Discord="DISCORD",M.Google="GOOGLE",M}(He||{}),Ne=function(M){return M.Asc="ASC",M.Desc="DESC",M}(Ne||{}),Ae=function(M){return M.Day7="DAY7",M.Day14="DAY14",M.Day30="DAY30",M.Day90="DAY90",M.Month3="MONTH3",M.Month6="MONTH6",M.Month12="MONTH12",M}(Ae||{}),qe=function(M){return M.AdTask="AdTask",M.PremiumTask="PremiumTask",M.SocialTask="SocialTask",M.WaitTask="WaitTask",M}(qe||{}),pt=function(M){return M.Amber="AMBER",M.Blue="BLUE",M.Cyan="CYAN",M.Emerald="EMERALD",M.Fuchsia="FUCHSIA",M.Green="GREEN",M.Indigo="INDIGO",M.Lime="LIME",M.Orange="ORANGE",M.Pink="PINK",M.Purple="PURPLE",M.Red="RED",M.Rose="ROSE",M.Sky="SKY",M.Teal="TEAL",M.Violet="VIOLET",M.Yellow="YELLOW",M}(pt||{}),At=function(M){return M.Claim="CLAIM",M.Report="REPORT",M}(At||{})},5949(vt,Y,i){i.d(Y,{Cy:()=>w,fw:()=>_,Ar:()=>_e,tC:()=>We,Qp:()=>Te,ib:()=>X,gU:()=>ht.g,PY:()=>an,wu:()=>Et.w,DY:()=>At,Qs:()=>tt,ce:()=>Lt,o3:()=>ct,he:()=>pe,i1:()=>jt,p5:()=>zt.p,Li:()=>F,og:()=>tn,tl:()=>b.t,XM:()=>Kr,ej:()=>Ae,r3:()=>He,Nq:()=>qe,DI:()=>Ne,w7:()=>en,$B:()=>Xe,E8:()=>ee});var h=i(7705),b=i(8091),c=i(5547),C=i(5802);const T=["*"];function y(Ee,xe){1&Ee&&(c.j41(0,"div",2),c.nrm(1,"lv-lib-icon-font",5),c.k0s()),2&Ee&&(c.R7$(),c.Y8G("iconName","info")("iconColor","white"))}function O(Ee,xe){if(1&Ee){const ve=c.RV6();c.j41(0,"div",4)(1,"lv-lib-icon-font",6),c.bIt("click",function(){C.eBV(ve);const je=c.XpG();return C.Njj(je.close.emit())}),c.k0s()()}2&Ee&&(c.R7$(),c.Y8G("iconName","close")("iconColor","white"))}let w=(()=>
503{class Ee{constructor(){this.showClose=(0,h.hFB)(!0),this.showIcon=(0,h.hFB)(!1),this.centeredText=(0,h.hFB)(!1),this.type=(0,h.hFB)("NEGATIVE"),this.rounded=(0,h.hFB)(!0),this.close=(0,h.CGW)()}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-alert"]],inputs:{showClose:[1,"showClose"],showIcon:[1,"showIcon"],centeredText:[1,"centeredText"],type:[1,"type"],rounded:[1,"rounded"]},outputs:{close:"close"},ngContentSelectors:T,decls:6,vars:14,consts:[[1,"container-alert"],[1,"container-alert__content-box"],[1,"container-alert__icon","container-alert__icon--leading"],[1,"container-alert__content"],[1,"container-alert__icon","container-alert__icon--trailing"],[3,"iconName","iconColor"],[3,"click","iconName","iconColor"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.j41(0,"div",0)(1,"div",1),c.nVh(2,y,2,2,"div",2),c.j41(3,"div",3),c.SdG(4),c.k0s(),c.nVh(5,O,2,2,"div",4),c.k0s()()),2&Pe&&(c.AVh("container-alert--color-main","MAIN"===je.type())("container-alert--color-positive","POSITIVE"===je.type())("container-alert--color-negative","NEGATIVE"===je.type())("container-alert--color-neutral","NEUTRAL"===je.type())("container-alert--border-rounded",je.rounded()),c.R7$(2),c.vxM(je.showIcon()?2:-1),c.R7$(),c.AVh("container-alert__content--centered",je.centeredText()),c.R7$(2),c.vxM(je.showClose()?5:-1))},dependencies:[b.t],styles:[".container-alert[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:var(--lv-spacing-m);gap:var(--lv-spacing-m);background-color:var(--lv-orange);color:var(--lv-white)}.container-alert__content-box[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--lv-spacing-xs);width:var(--lv-sizing-pct-100)}.container-alert__content[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}.container-alert__content--centered[_ngcontent-%COMP%]{text-align:center}.container-alert__icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-block-end:auto}.container-alert__icon--trailing[_ngcontent-%COMP%]{cursor:pointer}.container-alert--border-rounded[_ngcontent-%COMP%]{border-radius:var(--lv-border-radius-s)}.container-alert--color-main[_ngcontent-%COMP%]{background-color:var(--lv-warning)}.container-alert--color-main[_ngcontent-%COMP%]     a{color:var(--lv-white);font-weight:var(--lv-font-weight-medium)}.container-alert--color-main[_ngcontent-%COMP%]     a:hover{color:var(--lv-creme)}.container-alert--color-positive[_ngcontent-%COMP%]{background-color:var(--lv-success)}.container-alert--color-positive[_ngcontent-%COMP%]     a{color:var(--lv-white);font-weight:var(--lv-font-weight-medium)}.container-alert--color-positive[_ngcontent-%COMP%]     a:hover{color:var(--lv-creme)}.container-alert--color-negative[_ngcontent-%COMP%]{background-color:var(--lv-error)}.container-alert--color-negative[_ngcontent-%COMP%]     a{color:var(--lv-white);font-weight:var(--lv-font-weight-medium)}.container-alert--color-negative[_ngcontent-%COMP%]     a:hover{color:var(--lv-creme)}.container-alert--color-neutral[_ngcontent-%COMP%]{background-color:var(--lv-info)}.container-alert--color-neutral[_ngcontent-%COMP%]     a{color:var(--lv-orange);font-weight:var(--lv-font-weight-medium)}.container-alert--color-neutral[_ngcontent-%COMP%]     a:hover{color:var(--lv-orange-hover)}"]})}}return Ee})();var v=i(2271);let D=(()=>{class Ee{constructor(){this.digit=(0,h.hFB)(0),this.isActive=(0,h.hFB)(!0)}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-badge"]],inputs:{digit:[1,"digit"],isActive:[1,"isActive"]},decls:3,vars:3,consts:[[1,"badge"],[1,"typography-label-l4"]],template:function(Pe,je){1&Pe&&(c.rj2(0,"span",0)(1,"span",1),c.EFF(2),c.eux()()),2&Pe&&(c.AVh("badge--active",je.isActive()),c.R7$(2),c.JRh(je.digit()))},styles:[".badge[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:var(--lv-sizing-m);height:var(--lv-sizing-m);border-radius:var(--lv-border-radius-xs);padding-inline:var(--lv-spacing-2xs);color:var(--lv-white);background-color:var(--lv-lightgrey)}.badge--active[_ngcontent-%COMP%]{background-color:var(--lv-orange)}"]})}}return Ee})();var m=i(1744),u=i(5342);function W(Ee,xe){if(1&Ee&&(c.nrm(0,"img",6),c.nI1(1,"LvLibSafe")),2&Ee){const ve=c.XpG();c.HbH("avatar-fallback-"+ve.avatarSize()),c.Y8G("src",c.i5U(1,3,ve.imgSrc(),"resourceUrl"),c.B4B)}}function z(Ee,xe){if(1&Ee&&(c.j41(0,"div",3)(1,"span"),c.EFF(2),c.k0s()()),2&Ee){const ve=c.XpG();c.BMQ("data-avatar-color",ve.color()),c.R7$(),c.HbH("letter-container-"+ve.avatarSize()),c.R7$(),c.SpI(" ",ve.getFirstTwoLettersOfUsername()," ")}}function se(Ee,xe){1&Ee&&(c.j41(0,"div",4),c.nrm(1,"div",7),c.k0s())}function G(Ee,xe){if(1&Ee&&(c.j41(0,"div",5),c.nrm(1,"lv-lib-badge",8),c.k0s()),2&Ee){const ve=c.XpG();c.R7$(),c.Y8G("digit",ve.digitsForBadge())("isActive",!0)}}function le(Ee,xe){if(1&Ee&&(c.j41(0,"span"),c.EFF(1),c.k0s()),2&Ee){const ve=c.XpG();c.R7$(),c.SpI("",ve.username()," ")}}let _=(()=>{class Ee{constructor(){this.id=(0,h.hFB)(void 0),this.imgSrc=(0,h.hFB)(""),this.showAddIcon=(0,h.hFB)(!1),this.showBadge=(0,h.hFB)(!1),this.digitsForBadge=(0,h.hFB)(0),this.avatarColor=(0,h.hFB)(void 0),this.avatarSize=(0,h.hFB)("medium"),this.username=(0,h.hFB)(),this.iconPosition=(0,h.hFB)("bottom-right"),this.usernamePosition=(0,h.hFB)("hide"),this.avatarDisplayMode=(0,h.hFB)("default"),this.allowAvatarClick=(0,h.hFB)(!0),this.avatarClicked=(0,h.CGW)(),this.avatarColors=Object.values(u.lD).map(ve=>ve.toLowerCase()),this.avatarClasses=(0,v.EW)(()=>({[`avatar-container-${this.avatarSize()}`]:!0,[`avatar-container-username-${this.usernamePosition()}`]:!0,[`avatar-container-username-bottom-${this.avatarSize()}`]:"bottom"===this.usernamePosition(),[`avatar-container-${this.avatarDisplayMode()}`]:!0})),this.color=(0,v.EW)(()=>(this.avatarColor()??u.lD.Fuchsia).toLowerCase()),this.getFirstTwoLettersOfUsername=(0,v.EW)(()=>this.username()?.slice(0,2).toUpperCase()??"")}clickEventEmitter(ve){this.allowAvatarClick()&&this.avatarClicked.emit
503(ve)}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-avatar"]],inputs:{id:[1,"id"],imgSrc:[1,"imgSrc"],showAddIcon:[1,"showAddIcon"],showBadge:[1,"showBadge"],digitsForBadge:[1,"digitsForBadge"],avatarColor:[1,"avatarColor"],avatarSize:[1,"avatarSize"],username:[1,"username"],iconPosition:[1,"iconPosition"],usernamePosition:[1,"usernamePosition"],avatarDisplayMode:[1,"avatarDisplayMode"],allowAvatarClick:[1,"allowAvatarClick"]},outputs:{avatarClicked:"avatarClicked"},decls:7,vars:10,consts:[[1,"avatar-container",3,"click"],[1,"avatar-fallback"],["alt","alt",1,"avatar-fallback","avatar-img",3,"class","src"],[1,"letter-container"],[1,"add-icon-wrapper"],[1,"badge-wrapper"],["alt","alt",1,"avatar-fallback","avatar-img",3,"src"],[1,"add-icon"],[3,"digit","isActive"]],template:function(Pe,je){1&Pe&&(c.j41(0,"div",0),c.bIt("click",function(hn){return je.clickEventEmitter(hn)}),c.j41(1,"div",1),c.nVh(2,W,2,6,"img",2)(3,z,3,4,"div",3),c.nVh(4,se,2,0,"div",4),c.nVh(5,G,2,2,"div",5),c.k0s(),c.nVh(6,le,2,1,"span"),c.k0s()),2&Pe&&(c.Aen(je.allowAvatarClick()?"cursor: pointer;":"cursor: auto;"),c.HbH(je.avatarClasses()),c.R7$(),c.HbH("avatar-fallback-"+je.avatarSize()+" avatar-fallback-icon-"+je.iconPosition()),c.R7$(),c.vxM(""!==je.imgSrc()?2:!je.imgSrc()&&je.username()?3:-1),c.R7$(2),c.vxM(je.showAddIcon()&&!je.showBadge()?4:-1),c.R7$(),c.vxM(je.showBadge()&&je.digitsForBadge()&&"small"!==je.avatarSize()&&"large"!==je.avatarSize()&&!je.showAddIcon()?5:-1),c.R7$(),c.vxM("hide"!==je.usernamePosition()?6:-1))},dependencies:[D,m.H],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;
503--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
503--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.avatar-container[_ngcontent-%COMP%]{display:flex;width:fit-content}.avatar-container-default[_ngcontent-%COMP%]{opacity:1}.avatar-container-selected[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:var(--lv-border-width-wide) solid var(--lv-orange);padding:var(--lv-extra-spacing-3xs)}.avatar-container-dimmed[_ngcontent-%COMP%]{opacity:.3}.avatar-container-username-bottom[_ngcontent-%COMP%]{flex-direction:column;gap:var(--lv-spacing-2xs)}.avatar-container-username-bottom[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:var(--lv-font-weight-medium);font-size:var(--lv-font-size-200)}.avatar-container-username-bottom[_ngcontent-%COMP%]   .avatar-img[_ngcontent-%COMP%]{position:absolute}.avatar-container-username-bottom-large[_ngcontent-%COMP%]{max-width:6rem}.avatar-container-username-bottom-medium[_ngcontent-%COMP%]{max-width:var(--lv-sizing-5xl)}.avatar-container-username-bottom-small-medium[_ngcontent-%COMP%]{max-width:var(--lv-sizing-3xl)}.avatar-container-username-bottom-small[_ngcontent-%COMP%]{max-width:var(--lv-sizing-xl)}.avatar-container-username-bottom-extra-small[_ngcontent-%COMP%]{max-width:var(--lv-sizing-l)}.avatar-container-username-right[_ngcontent-%COMP%]{flex-direction:row;align-items:center;gap:var(--lv-spacing-xs);width:var(--lv-sizing-pct-100)}.avatar-container-username-right[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:var(--lv-font-weight-medium);font-size:var(--lv-font-size-300)}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=red][_ngcontent-%COMP%]{background-color:#fee2e2}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=red][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#ef4444}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=orange][_ngcontent-%COMP%]{background-color:#ffedd5}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=orange][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f97316}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=amber][_ngcontent-%COMP%]{background-color:#fef3c7}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=amber][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f59e0b}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=yellow][_ngcontent-%COMP%]{background-color:#fef9c3}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=yellow][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#eab308}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=lime][_ngcontent-%COMP%]{background-color:#ecfccb}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=lime][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#84cc16}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=green][_ngcontent-%COMP%]{background-color:#dcfce7}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=green][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#22c55e}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=emerald][_ngcontent-%COMP%]{background-color:#d1fae5}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=emerald][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#10b981}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=teal][_ngcontent-%COMP%]{background-color:#ccfbf1}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=teal][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#14b8a6}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=cyan][_ngcontent-%COMP%]{background-color:#cffafe}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=cyan][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#06b6d4}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=sky][_ngcontent-%COMP%]{background-color:#e0f2fe}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=sky][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#0ea5e9}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=blue][_ngcontent-%COMP%]{background-color:#dbeafe}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=blue][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#3b82f6}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=indigo][_ngcontent-%COMP%]{background-color:#e0e7ff}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=indigo][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#6366f1}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=violet][_ngcontent-%COMP%]{background-color:#ede9fe}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=violet][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#8b5cf6}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=purple][_ngcontent-%COMP%]{background-color:#f3e8ff}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=purple][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#a855f7}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=fuchsia][_ngcontent-%COMP%]{background-color:#fae8ff}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=fuchsia][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#d946ef}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=pink][_ngcontent-%COMP%]{background-color:#fce7f3}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=pink][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#ec4899}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=rose][_ngcontent-%COMP%]{background-color:#ffe4e6}.avatar-container[_ngcontent-%COMP%]   .letter-container[data-avatar-color=rose][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f43f5e}.avatar-container[_ngcontent-%COMP%]   .letter-container[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);height:var(--lv-sizing-pct-100);display:flex;align-items:center;justify-content:center;border-radius:var(--lv-sizing-pct-100);z-index:0;background-color:var(--lv-orange-hover)}.avatar-container[_ngcontent-%COMP%]   .letter-container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--lv-white)}.avatar-container[_ngcontent-%COMP%]   .letter-container-extra-small[_ngcontent-%COMP%]{font-size:var(--lv-spacing-s);
503font-weight:var(--lv-font-weight-bold)}.avatar-container[_ngcontent-%COMP%]   .letter-container-small[_ngcontent-%COMP%]{font-size:var(--lv-spacing-m);font-weight:var(--lv-font-weight-bold)}.avatar-container[_ngcontent-%COMP%]   .letter-container-small-medium[_ngcontent-%COMP%]{font-size:var(--lv-spacing-l);font-weight:var(--lv-font-weight-bold)}.avatar-container[_ngcontent-%COMP%]   .letter-container-medium[_ngcontent-%COMP%]{font-size:var(--lv-spacing-xl);font-weight:var(--lv-font-weight-bold)}.avatar-container[_ngcontent-%COMP%]   .letter-container-large[_ngcontent-%COMP%]{font-size:var(--lv-spacing-3xl);font-weight:var(--lv-font-weight-bold)}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback[_ngcontent-%COMP%]{display:flex;border-radius:var(--lv-sizing-pct-100);background:url(profile_avatar_fallback.cd8106ac248f33f4.png);background-size:auto}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback[_ngcontent-%COMP%]   .avatar-img[_ngcontent-%COMP%]{background:var(--lv-white);object-fit:cover}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback[_ngcontent-%COMP%]   .add-icon-wrapper[_ngcontent-%COMP%]{cursor:pointer;position:absolute;z-index:0;border-radius:var(--lv-sizing-pct-100);background-color:var(--lv-white);display:flex;justify-content:center;align-items:center}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback[_ngcontent-%COMP%]   .add-icon-wrapper[_ngcontent-%COMP%]   .add-icon[_ngcontent-%COMP%]{background:var(--lv-white) url(add.38f16a150178f64d.svg) no-repeat;background-size:contain;background-origin:content-box}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-icon-bottom-left[_ngcontent-%COMP%]{flex-direction:unset;align-items:flex-end}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-icon-top-left[_ngcontent-%COMP%]{flex-direction:unset;align-items:unset}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-icon-bottom-right[_ngcontent-%COMP%]{flex-direction:row-reverse;align-items:flex-end}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-icon-top-right[_ngcontent-%COMP%]{flex-direction:row-reverse;align-items:unset}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-large[_ngcontent-%COMP%]{width:6rem;height:6rem}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-large[_ngcontent-%COMP%]   .add-icon-wrapper[_ngcontent-%COMP%]{width:var(--lv-sizing-l);height:var(--lv-sizing-l)}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-large[_ngcontent-%COMP%]   .add-icon-wrapper[_ngcontent-%COMP%]   .add-icon[_ngcontent-%COMP%]{width:.87rem;height:.87rem}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-medium[_ng
503content-%COMP%]{width:var(--lv-sizing-5xl);height:var(--lv-sizing-5xl)}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-medium[_ngcontent-%COMP%]   .add-icon-wrapper[_ngcontent-%COMP%]{width:var(--lv-sizing-m);height:var(--lv-sizing-m)}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-medium[_ngcontent-%COMP%]   .add-icon-wrapper[_ngcontent-%COMP%]   .add-icon[_ngcontent-%COMP%]{width:.583rem;height:.583rem}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-medium[_ngcontent-%COMP%]   .badge-wrapper[_ngcontent-%COMP%]{position:absolute;z-index:1}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-small[_ngcontent-%COMP%]{width:var(--lv-sizing-xl);height:var(--lv-sizing-xl)}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-small-medium[_ngcontent-%COMP%]{width:var(--lv-sizing-3xl);height:var(--lv-sizing-3xl)}.avatar-container[_ngcontent-%COMP%]   .avatar-fallback-extra-small[_ngcontent-%COMP%]{width:var(--lv-sizing-l);height:var(--lv-sizing-l)}']})}}return Ee})();var ge=i(9769);const q=["*"];let Te=(()=>{class Ee{constructor(){this.type="primary",this.disabled=!1,this.shape="rectangle",this.customClasses="",this.isfullWidth=!1,this.iconOnly=!1,this.iconSize="sm",this.buttonIcon="",this.label="",this.rounded=!1,this.size="lg",this.clicked=(0,h.CGW)(),this.animation=(0,h.hFB)(!1),this.hasShakeAnimation=(0,C.vPA)(!1),this._classList=[]}set classList(ve){this._classList=ve}get classList(){return[...this._classList,this.customClasses,this.isfullWidth?"lv-lib-button--full-width":"",`lv-lib-button--${this.type}`,this.iconOnly?"":`lv-lib-button--${this.size}`,this.rounded?"":`lv-lib-button--${this.shape}`,this.iconOnly?"lv-lib-button-icon":"",this.iconOnly?`lv-lib-button-icon--${this.iconSize}`:"",this.rounded?"lv-lib-button--rounded":""]}onClick(ve){this.disabled||(this.animation()&&this.hasShakeAnimation.set(!0),this.clicked.emit(ve))}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-button"]],inputs:{type:"type",disabled:"disabled",shape:"shape",customClasses:"customClasses",isfullWidth:"isfullWidth",iconOnly:"iconOnly",iconSize:"iconSize",buttonIcon:"buttonIcon",label:"label",rounded:"rounded",size:"size",animation:[1,"animation"],classList:"classList"},outputs:{clicked:"clicked"},ngContentSelectors:q,decls:2,vars:4,consts:[["data-testid","lv-button",3,"click","animationend","disabled","ngClass"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.j41(0,"button",0),c.bIt("click",function(hn){return je.onClick(hn)})("animationend",function(){return je.hasShakeAnimation.set(!1)}),c.SdG(1),c.k0s()),2&Pe&&(c.AVh("lv-lib-button--shake",je.animation()&&je.hasShakeAnimation()),c.Y8G("disabled",je.disabled)("ngClass",je.classList))},dependencies:[ge.YU],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;
503--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
503--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}button[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;border:none;margin:0;background:none;font:inherit;cursor:pointer;text-align:inherit;appearance:none;color:var(--lv-white)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;color:var(--lv-tertiary);background-color:var(--lv-light)}.lv-lib-button[_ngcontent-%COMP%]{height:300px}.lv-lib-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:disabled{cursor:not-allowed}.lv-lib-button--rounded[_ngcontent-%COMP%]{border-radius:var(--lv-border-radius-xs)}.lv-lib-button--primary[_ngcontent-%COMP%]{background-color:var(--lv-primary)}@media(hover:hover){.lv-lib-button--primary[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--lv-orange-hover)}}.lv-lib-button--secondary[_ngcontent-%COMP%]{background-color:var(--lv-secondary)}@media(hover:hover){.lv-lib-button--secondary[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--lv-dark-h
503over)}}.lv-lib-button--blur[_ngcontent-%COMP%]{background-color:var(--alpha-dark-2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}@media(hover:hover){.lv-lib-button--blur[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--alpha-dark-3)}}.lv-lib-button--small-grey[_ngcontent-%COMP%]{background-color:var(--lv-secondary);display:flex;align-items:center;justify-content:center;width:auto!important;min-width:auto!important;color:var(--lv-white)!important;padding:var(--lv-spacing-2xs) var(--lv-spacing-xs)!important;height:var(--lv-sizing-l)!important;border-radius:var(--lv-border-radius-2xs)!important}@media(hover:hover){.lv-lib-button--small-grey[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--lv-dark-hover)}}.lv-lib-button--small-grey[_ngcontent-%COMP%]     .button-content{display:flex;align-items:center;gap:var(--lv-spacing-2xs)}@media(width<=48rem){.lv-lib-button--small-grey[_ngcontent-%COMP%]{width:var(--lv-sizing-l)!important;padding:0!important}.lv-lib-button--small-grey[_ngcontent-%COMP%]     .button-content{gap:0}.lv-lib-button--small-grey[_ngcontent-%COMP%]     .button-content span{display:none!important}}.lv-lib-button--success[_ngcontent-%COMP%]{background-color:var(--lv-success)}@media(hover:hover){.lv-lib-button--success[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--lv-green-hover)}}.lv-lib-button--danger[_ngcontent-%COMP%]{background-color:var(--lv-red)}@media(hover:hover){.lv-lib-button--danger[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--lv-red-hover)}}.lv-lib-button--neutral[_ngcontent-%COMP%]{background-color:var(--lv-tertiary);color:var(--lv-black)}@media(hover:hover){.lv-lib-button--neutral[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--lv-light)}}.lv-lib-button--outline[_ngcontent-%COMP%]{background-color:var(--lv-white);border:var(--lv-border-width-small) solid var(--lv-lightgrey);color:var(--lv-black)}.lv-lib-button--lg[_ngcontent-%COMP%]{font-size:var(--lv-font-size-400);font-weight:var(--lv-font-weight-medium);min-width:var(--lv-container-3xs);padding:0 var(--lv-spacing-m);height:var(--lv-sizing-3xl)}@media screen and (width<=48rem){.lv-lib-button--lg[_ngcontent-%COMP%]{min-width:148px;width:var(--lv-sizing-pct-100)}}.lv-lib-button--md[_ngcontent-%COMP%]{font-size:var(--lv-font-size-250);font-weight:var(--lv-font-weight-medium);padding-inline:var(--lv-spacing-m);height:var(--lv-sizing-2xl)}@media screen and (width<=48rem){.lv-lib-button--md[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}}.lv-lib-button--sm[_ngcontent-%COMP%]{font-size:var(--lv-font-size-200);font-weight:var(--lv-font-weight-medium);height:var(--lv-sizing-l);border-radius:var(--lv-border-radius-2xs)!important}@media screen and (width<=48rem){.lv-lib-button--sm[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}}.lv-lib-button--fill[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}.lv-lib-button--fit-content[_ngcontent-%COMP%]{font-size:var(--lv-font-size-400);font-weight:var(--lv-font-weight-medium);width:fit-content;height:var(--lv-sizing-3xl);padding:0 var(--lv-spacing-m)}.lv-lib-button--text[_ngcontent-%COMP%]{background-color:transparent;color:var(--lv-black);min-width:auto;padding:0 var(--lv-spacing-m)}.lv-lib-button--icon[_ngcontent-%COMP%]{font-size:var(--lv-font-size-200);font-weight:var(--lv-font-weight-medium);width:var(--lv-sizing-4xl);height:var(--lv-sizing-4xl)}@media screen and (width<=48rem){.lv-lib-button--icon[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}}.lv-lib-button-icon--sm[_ngcontent-%COMP%]{width:var(--lv-sizing-2xl);height:var(--lv-sizing-2xl)}.lv-lib-button-icon--lg[_ngcontent-%COMP%]{width:var(--lv-sizing-4xl);height:var(--lv-sizing-4xl)}.lv-lib-button--full-width[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100)}.lv-lib-button--circle[_ngcontent-%COMP%], .lv-lib-button--round[_ngcontent-%COMP%]{border-radius:var(--lv-border-radius-xs)}.lv-lib-button--rectangle[_ngcontent-%COMP%]{border-radius:0}.lv-lib-button--square[_ngcontent-%COMP%]{width:var(--lv-sizing-2xl);height:var(--lv-sizing-2xl)}.lv-lib-button--shake[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_shake .45s ease-in-out}@keyframes _ngcontent-%COMP%_shake{0%{transform:translate(0)}20%{transform:translate(calc(-1 * var(--lv-spacing-s)))}40%{transform:translate(var(--lv-spacing-s))}60%{transform:translate(calc(-1 * var(--lv-spacing-xs)))}80%{transform:translate(var(--lv-spacing-xs))}to{transform:translate(0)}}'],changeDetection:0})}}return Ee})();const Be=["cardWrapper"],we=["*"];let X=(()=>{class Ee{constructor(){this.rounded=!1,this.marginSize=null,this.rows=9999,this.showMoreString="",this.showLessString="show Less",this.fullHeight=!1,this.isExpandable=!1,this.padding=!0,this.marginValue=this.marginSize,this.fullHeightValue=this.fullHeight,this.isOverflow=!1,this.showButtonLe
503ss=!1,this.rowsNumberBackup=9999}set paddingSize(ve){ve&&(this.paddingValue=`lv-card--padding-${ve}`)}get paddingSize(){return this.paddingValue??null}ngOnInit(){this.setMarginSize(),this.setFullHeight(),this.rowsNumberBackup=9999!=this.rows?this.rows:9999}setMarginSize(){this.marginSize&&(this.marginValue=`lv-card--margin-${this.marginSize}`)}setFullHeight(){this.fullHeight&&(this.fullHeightValue=!0)}checkExpandOrShrink(){this.isExpandable&&(this.cardContent.nativeElement.offsetHeight<this.cardContent.nativeElement.scrollHeight&&!this.showButtonLess?this.expandCard():this.showButtonLess&&this.shrinkCard())}expandCard(){this.showButtonLess=!0,this.rows=9999}shrinkCard(){this.showButtonLess=!1,this.rows=this.rowsNumberBackup}checkIfOverflow(ve){return ve.offsetHeight<ve.scrollHeight}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-card"]],viewQuery:function(Pe,je){if(1&Pe&&c.GBs(Be,5),2&Pe){let Qt;c.mGM(Qt=c.lsd())&&(je.cardContent=Qt.first)}},inputs:{paddingSize:"paddingSize",rounded:"rounded",marginSize:"marginSize",rows:"rows",showMoreString:"showMoreString",showLessString:"showLessString",fullHeight:"fullHeight",isExpandable:"isExpandable",padding:"padding"},ngContentSelectors:we,decls:4,vars:18,consts:[["cardWrapper",""],[1,"lv-card__wrapper",3,"click"]],template:function(Pe,je){if(1&Pe&&(c.NAR(),c.rj2(0,"div")(1,"div",1,0),c.VwU("click",function(){return je.checkExpandOrShrink()}),c.SdG(3),c.eux()()),2&Pe){const Qt=c.sdS(2);c.HbH(c.ai1("lv-card ",je.marginValue," ",je.paddingSize)),c.xc7("--max-rows",je.rows),c.AVh("lv-card--border-rounded",je.rounded)("lv-card--padding",je.padding)("lv-card--full-height",je.fullHeightValue),c.R7$(),c.AVh("lv-card__wrapper--shrinked",je.checkIfOverflow(Qt))("lv-card__wrapper--expanded",je.showButtonLess),c.BMQ("data-load-more",je.showMoreString)("data-show-less",je.showLessString)}},styles:[".lv-card[_ngcontent-%COMP%]{background-color:var(--lv-white);box-shadow:var(--lv-shadow);overflow:hidden}.lv-card--full-height[_ngcontent-%COMP%]{height:var(--lv-sizing-pct-100)}.lv-card--padding[_ngcontent-%COMP%]{padding:var(--lv-spacing-l)}.lv-card--padding-xs[_ngcontent-%COMP%]{padding:var(--lv-spacing-xs)}.lv-card--padding-s[_ngcontent-%COMP%]{padding:var(--lv-spacing-s)}.lv-card--padding-m[_ngcontent-%COMP%]{padding:var(--lv-spacing-m)}.lv-card--padding-l[_ngcontent-%COMP%]{padding:var(--lv-spacing-l)}.lv-card--padding-xl[_ngcontent-%COMP%]{padding:var(--lv-spacing-xl)}.lv-card--border-rounded[_ngcontent-%COMP%]{border-radius:var(--lv-border-radius-s)!important}.lv-card__wrapper[_ngcontent-%COMP%]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;line-clamp:var(--max-rows);-webkit-line-clamp:var(--max-rows);transition:max-height .3s cubic-bezier(0,1,0,1)}.lv-card__wrapper--shrinked[_ngcontent-%COMP%]{position:relative}.lv-card__wrapper--shrinked[_ngcontent-%COMP%]:after{display:block;content:attr(data-load-more);font-weight:var(--lv-font-weight-medium);position:absolute;bottom:0;right:0;background-image:linear-gradient(90deg,rgb(from var(--lv-white) r g b/0),#fff 20%);padding-left:var(--lv-spacing-2xl);cursor:pointer}.lv-card__wrapper--expanded[_ngcontent-%COMP%]{position:relative;overflow:visible}.lv-card__wrapper--expanded[_ngcontent-%COMP%]:after{display:block;content:attr(data-show-less);font-weight:var(--lv-font-weight-medium);position:absolute;bottom:calc(-1 * var(--lv-spacing-xl));left:0;cursor:pointer}.lv-card__wrapper--expanded[_ngcontent-%COMP%]{margin-bottom:var(--lv-spacing-l)}.lv-card--margin-s[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-s)}.lv-card--margin-m[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-m)}.lv-card--margin-l[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-l)}.lv-card--margin-xl[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-xl)}@keyframes _ngcontent-%COMP%_open{0%{line-clamp:var(--max-rows);-webkit-line-clamp:var(--max-rows)}to{line-clamp:initial;-webkit-line-clamp:initial}}@keyframes _ngcontent-%COMP%_close{0%{line-clamp:initial;-webkit-line-clamp:initial}to{line-clamp:var(--max-rows);-webkit-line-clamp:var(--max-rows)}}"],changeDetection:0})}}return Ee})(),ye=(()=>{class Ee{static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-diamond-background"]],decls:9,vars:0,consts:[[1,"diamond-left-container"],[1,"diamond-1"],[1,"diamond-2"],[1,"diamond-3"],[1,"diamond-right-container"],[1,"diamond-4"]],template:function(Pe,je){1&Pe&&(c.rj2(0,"div",0),c.Hgh(1,"div",1)(2,"div",2)(3,"div",3),c.eux(),c.rj2(4,"div",4),c.Hgh(5,"div",1)(6,"div",2)(7,"div",3)(8,"div",5),c.eux())},styles:["[_nghost-%COMP%]{--diamond-size: var(--lv-sizing-4xl)}.diamond-right-container[_ngcontent-%COMP%]{position:absolute;top:var(--lv-extra-spacing-xl);right:calc(-1 * var(--lv-extra-spacing-3xl));display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);width:calc(var(--diamond-size) * 3);height:calc(var(--diamond-size) * 2);gap:var(--lv-spacing-2xs);transform:rotate(-45deg)}.diamond-right-container[_ngcontent-%COMP%]   .diamond-1[_ngcontent-%COMP%]{width:var(--diamond-size);height:var(--diamond-size);border-radius:var(--lv-border-radius-xs);filter:drop-shadow(0 var(--lv-spacing-2xs) var(--lv-spacing-xs) rgb(from var(--lv-darkgrey) r g b/.16));
503background-color:var(--lv-dark-hover);grid-column-start:3;grid-row-start:1}.diamond-right-container[_ngcontent-%COMP%]   .diamond-2[_ngcontent-%COMP%]{width:var(--diamond-size);height:var(--diamond-size);border-radius:var(--lv-border-radius-xs);filter:drop-shadow(0 var(--lv-spacing-2xs) var(--lv-spacing-xs) rgb(from var(--lv-darkgrey) r g b/.16));background-color:var(--lv-dark-hover);grid-column-start:1;grid-row-start:2}.diamond-right-container[_ngcontent-%COMP%]   .diamond-3[_ngcontent-%COMP%]{width:var(--diamond-size);height:var(--diamond-size);border-radius:var(--lv-border-radius-xs);filter:drop-shadow(0 var(--lv-spacing-2xs) var(--lv-spacing-xs) rgb(from var(--lv-darkgrey) r g b/.16));background-color:var(--lv-primary);grid-column-start:2;grid-row-start:2}.diamond-right-container[_ngcontent-%COMP%]   .diamond-4[_ngcontent-%COMP%]{width:var(--diamond-size);height:var(--diamond-size);border-radius:var(--lv-border-radius-xs);filter:drop-shadow(0 var(--lv-spacing-2xs) var(--lv-spacing-xs) rgb(from var(--lv-darkgrey) r g b/.16));background-color:var(--lv-secondary);grid-column-start:2;grid-row-start:1}.diamond-left-container[_ngcontent-%COMP%]{position:absolute;top:170px;left:-55px;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);width:calc(var(--diamond-size) * 2);height:calc(var(--diamond-size) * 2);gap:var(--lv-spacing-2xs);transform:rotate(135deg)}.diamond-left-container[_ngcontent-%COMP%]   .diamond-1[_ngcontent-%COMP%]{width:var(--diamond-size);height:var(--diamond-size);border-radius:var(--lv-border-radius-xs);filter:drop-shadow(0 var(--lv-spacing-2xs) var(--lv-spacing-xs) rgb(from var(--lv-darkgrey) r g b/.16));
503background-color:var(--lv-dark-hover);grid-column-start:2;grid-row-start:1}.diamond-left-container[_ngcontent-%COMP%]   .diamond-2[_ngcontent-%COMP%]{width:var(--diamond-size);height:var(--diamond-size);border-radius:var(--lv-border-radius-xs);filter:drop-shadow(0 var(--lv-spacing-2xs) var(--lv-spacing-xs) rgb(from var(--lv-darkgrey) r g b/.16));background-color:var(--lv-secondary);grid-column-start:1;grid-row-start:1}.diamond-left-container[_ngcontent-%COMP%]   .diamond-3[_ngcontent-%COMP%]{width:var(--diamond-size);height:var(--diamond-size);border-radius:var(--lv-border-radius-xs);filter:drop-shadow(0 var(--lv-spacing-2xs) var(--lv-spacing-xs) rgb(from var(--lv-darkgrey) r g b/.16));background-color:var(--lv-dark-hover);grid-column-start:1;grid-row-start:2}"]})}}return Ee})();function Q(Ee,xe){if(1&Ee&&(c.j41(0,"div",4),c.EFF(1),c.k0s()),2&Ee){const ve=c.XpG();c.R7$(),c.JRh(ve.headlineText())}}function ae(Ee,xe){if(1&Ee&&c.nrm(0,"div",5),2&Ee){const ve=c.XpG();c.Y8G("innerHTML",ve.bodyText(),c.npT)}}function H(Ee,xe){if(1&Ee){const ve=c.RV6();c.j41(0,"lv-lib-button",7),c.bIt("click",function(){C.eBV(ve);const je=c.XpG();return C.Njj(je.buttonClick.emit())}),c.EFF(1),c.k0s()}if(2&Ee){const ve=c.XpG();c.Y8G("type","primary"),c.R7$(),c.SpI(" ",ve.buttonText()," ")}}let _e=(()=>{class Ee{constructor(){this.hasHeadline=(0,h.hFB)(!0),this.hasText=(0,h.hFB)(!0),this.hasButton=(0,h.hFB)(!0),this.headlineText=(0,h.hFB)("Headline"),this.bodyText=(0,h.hFB)("BodyText"),this.buttonText=(0,h.hFB)("Button"),this.buttonClick=(0,h.CGW)()}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-banner-diamond-background"]],inputs:{hasHeadline:[1,"hasHeadline"],hasText:[1,"hasText"],hasButton:[1,"hasButton"],headlineText:[1,"headlineText"],bodyText:[1,"bodyText"],buttonText:[1,"buttonText"]},outputs:{buttonClick:"buttonClick"},decls:8,vars:5,consts:[[3,"padding","rounded"],[1,"premium-banner","lv-card-container"],[1,"premium-banner-wrapper"],[1,"premium-banner-text-wrapper"],[1,"premium-banner-headline"],[1,"premium-banner-text",3,"innerHTML"],["shape","round","size","fit-content",3,"type"],["shape","round","size","fit-content",3,"click","type"]],template:function(Pe,je){1&Pe&&(c.j41(0,"lv-lib-card",0)(1,"div",1)(2,"div",2),c.nrm(3,"lv-lib-diamond-background"),c.j41(4,"div",3),c.nVh(5,Q,2,1,"div",4),c.nVh(6,ae,1,1,"div",5),c.k0s(),c.nVh(7,H,2,2,"lv-lib-button",6),c.k0s()()()),2&Pe&&(c.Y8G("padding",!1)("rounded",!0),c.R7$(5),c.vxM(je.hasHeadline()?5:-1),c.R7$(),c.vxM(je.hasText()?6:-1),c.R7$(),c.vxM(je.hasButton()?7:-1))},dependencies:[Te,X,ye],styles:[".premium-banner-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;position:relative;background:var(--lv-darkgrey);padding:var(--lv-spacing-l) var(--lv-spacing-2xl)}.premium-banner-wrapper[_ngcontent-%COMP%]   .premium-banner-text-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;gap:var(--lv-spacing-m);margin-bottom:var(--lv-spacing-2xl);color:var(--lv-white);z-index:0}.premium-banner-wrapper[_ngcontent-%COMP%]   .premium-banner-text-wrapper[_ngcontent-%COMP%]   .premium-banner-headline[_ngcontent-%COMP%]{font-size:var(--lv-font-size-700)}.premium-banner-wrapper[_ngcontent-%COMP%]   .premium-banner-text-wrapper[_ngcontent-%COMP%]   .premium-banner-text[_ngcontent-%COMP%]{font-size:var(--lv-font-size-400);font-weight:var(--lv-font-weight-light)}"]})}}return Ee})(),We=(()=>{class Ee{constructor(){this.buttonClick=(0,h.CGW)()}handleButtonClick(ve){this.buttonClick.emit(ve)}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-banner-support"]],outputs:{buttonClick:"buttonClick"},decls:28,vars:2,consts:[[3,"padding","rounded"],[1,"support-banner-wrapper"],[1,"support-banner-text-wrapper"],[1,"support-banner-headline"],[1,"support-banner-subline"],[1,"support-banner-text"],[1,"button-wrapper"],["shape","round","size","md",3,"click"]],template:function(Pe,je){1&Pe&&(c.j41(0,"lv-lib-card",0)(1,"div",1),c.nrm(2,"lv-lib-diamond-background"),c.j41(3,"div",2)(4,"h2",3),c.EFF(5,"Check out our"),c.k0s(),c.j41(6,"h2",4),c.EFF(7,"Helpcenter"),c.k0s(),c.j41(8,"p",5),c.EFF(9,"Got "),c.j41(10,"b"),c.EFF(11,"questions"),c.k0s(),c.EFF(12," about your payout, creating posts or anything else?"),c.nrm(13,"br"),c.EFF(14," Our "),c.j41(15,"b"),c.EFF(16,"Help Center"),c.k0s(),c.EFF(17," has you covered - browse "),c.j41(18,"b"),c.EFF(19,"helpful articles"),c.k0s(),c.EFF(20,", reach out to us, and keep track of your "),c.j41(21,"b"),c.EFF(22,"open requests at any time."),c.k0s()()(),c.j41(23,"div",6)(24,"lv-lib-button",7),c.bIt("click",function(){return je.handleButtonClick("viewRequests")}),c.EFF(25," View requests "),c.k0s(),c.j41(26,"lv-lib-button",7),c.bIt("click",function(){return je.handleButtonClick("contactSupport")}),c.EFF(27," Contact support "),c.k0s()()()()),2&Pe&&c.Y8G("padding",!1)("rounded",!0)},dependencies:[Te,X,ye],styles:['@font-face{font-family:mistrully;src:url(Mistrully.04bd3ba893cce35c.ttf) format("truetype"),url(Mistrully.88d369f325a77c9f.woff) format("woff"),url(Mistrully.a7913f8a7f5c55ef.woff2) format("woff2")}.support-banner-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;position:relative;background:url(support-banner-bg.4eaf25ee514f83fe.png) center;background-size:cover;padding:var(--lv-spacing-l)}.support-banner-wrapper[_ngcontent-%COMP%]   .support-banner-text-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;margin-bottom:var(--lv-spacing-2xl);color:var(--lv-white);z-index:999}.support-banner-wrapper[_ngcontent-%COMP%]   .support-banner-text-wrapper[_ngcontent-%COMP%]   .support-banner-headline[_ngcontent-%COMP%]{font-family:mistrully,serif;font-size:var(--lv-font-size-700);
503font-weight:var(--lv-font-weight-light)}.support-banner-wrapper[_ngcontent-%COMP%]   .support-banner-text-wrapper[_ngcontent-%COMP%]   .support-banner-subline[_ngcontent-%COMP%]{text-transform:uppercase;color:var(--lv-primary);font-weight:var(--lv-font-weight-bold);font-size:var(--lv-font-size-700)}.support-banner-wrapper[_ngcontent-%COMP%]   .support-banner-text-wrapper[_ngcontent-%COMP%]   .support-banner-text[_ngcontent-%COMP%]{font-size:var(--lv-font-size-300);font-weight:var(--lv-font-weight-light)}.support-banner-wrapper[_ngcontent-%COMP%]   .button-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:var(--lv-spacing-m)}']})}}return Ee})();var ht=i(6464);const Vt=["*"];let an=(()=>{class Ee{constructor(){this.isDisabled=(0,h.hFB)(!1),this.isIndeterminate=(0,h.hFB)(!1),this.checkboxChange=(0,h.CGW)(),this.checked=(0,h.geq)(!1),this.checkboxContainerClasses=(0,v.EW)(()=>({"checkbox-container--disabled":this.isDisabled(),"checkbox-container--checked":this.checked(),"checkbox-container--indeterminate":this.isIndeterminate()}))}setChecked(ve){this.checked.set(ve),this.checkboxChange.emit(ve)}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-checkbox"]],inputs:{isDisabled:[1,"isDisabled"],isIndeterminate:[1,"isIndeterminate"],checked:[1,"checked"]},outputs:{checkboxChange:"checkboxChange",checked:"checkedChange"},ngContentSelectors:Vt,decls:6,vars:5,consts:[[1,"checkbox-container"],[1,"checkbox-container__box"],[1,"checkbox-container__box__ripple"],["name","checkbox","type","checkbox","data-testid","checkbox-input",1,"checkbox-container__box__input",3,"change","indeterminate","disabled","checked"],[1,"checkbox-container__label"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.rj2(0,"div",0)(1,"div",1),c.Hgh(2,"span",2),c.rj2(3,"input",3),c.VwU("change",function(hn){return je.setChecked(hn.target.checked)}),c.eux()(),c.rj2(4,"label",4),c.SdG(5),c.eux()()),2&Pe&&(c.HbH(je.checkboxContainerClasses()),c.R7$(3),c.Avn("indeterminate",je.isIndeterminate())("disabled",je.isDisabled())("checked",je.checked()))},styles:['.checkbox-container[_ngcontent-%COMP%]{font-family:var(--lv-font-family);font-size:var(--lv-font-size-300);font-weight:var(--lv-font-weight-light);display:flex}.checkbox-container__label[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-s)}.checkbox-container__box[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;align-content:space-between}.checkbox-container__box__ripple[_ngcontent-%COMP%]{grid-row-start:1;grid-column-start:1;background-color:rgb(from var(--lv-orange) r g b/.4);width:var(--lv-sizing-2xl);height:var(--lv-sizing-2xl);border-radius:var(--lv-sizing-pct-50);opacity:0;pointer-events:none}.checkbox-container__box__input[_ngcontent-%COMP%]{grid-row-start:1;grid-column-start:1;position:relative;cursor:pointer;appearance:none;background-color:transparent;color:currentcolor;margin:auto;width:var(--lv-extra-sizing-s);height:var(--lv-extra-sizing-s);
503border:var(--lv-border-width-wide) solid var(--lv-dark-hover);border-radius:var(--lv-border-radius-2xs)}.checkbox-container__box__input[_ngcontent-%COMP%]:before{position:absolute;display:inline-block;content:"";fill:none;width:var(--lv-sizing-l);height:var(--lv-sizing-l);top:var(--lv-sizing-pct-50);left:var(--lv-sizing-pct-50);transform:translate(-52%,var(--lv-sizing-neg-pct-50));opacity:0}.checkbox-container__box__input[_ngcontent-%COMP%]:checked{border:var(--lv-border-width-wide) solid var(--lv-orange);background-color:var(--lv-orange);transition:.15s ease-in-out}.checkbox-container__box__input[_ngcontent-%COMP%]:checked:before{opacity:1;background:url(check.7c18faa22f7a0638.svg) no-repeat}.checkbox-container__box[_ngcontent-%COMP%]:hover   .checkbox-container__box__ripple[_ngcontent-%COMP%]{opacity:.4;transition:.15s ease-out}.checkbox-container--disabled[_ngcontent-%COMP%]{color:var(--lv-light)}.checkbox-container--disabled[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:var(--lv-border-width-wide) solid var(--lv-light);pointer-events:none}.checkbox-container--disabled[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked{background-color:var(--lv-light)}.checkbox-container--disabled[_ngcontent-%COMP%]:hover   .checkbox-container__box__ripple[_ngcontent-%COMP%]{opacity:0}.checkbox-container--disabled.checkbox-container--indeterminate[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:var(--lv-border-width-wide) solid var(--lv-light);background-color:var(--lv-light)}.checkbox-container--checked[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:before{background:url(check.7c18faa22f7a0638.svg) no-repeat}']})}}return Ee})();var Et=i(1763);const Gt=["scrollContainer"],at=["*"];function Ve(Ee,xe){if(1&Ee){const ve=c.RV6();c.j41(0,"lv-lib-button",4),c.bIt("click",function(){C.eBV(ve);const je=c.XpG();return C.Njj(je.close.emit())}),c.nrm(1,"lv-lib-icon-font",5),c.k0s()}2&Ee&&c.Y8G("iconOnly",!0)}const Le='[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;
503--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
503--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.lv-popover-container[_ngcontent-%COMP%]{position:relative;width:100vw;max-height:90vh;border-radius:var(--lv-border-radius-xl);background-color:var(--lv-background-muted);overflow:hidden}.lv-popover-container--size-sm[_ngcontent-%COMP%]{max-width:var(--lv-popover-width-sm)}.lv-popover-container--size-md[_ngcontent-%COMP%]{max-width:var(--lv-popover-width-md)}.lv-popover-container--size-lg[_ngcontent-%COMP%]{max-width:var(--lv-popover-width-lg)}@media(width<=48rem){.lv-popover-container[_ngcontent-%COMP%]{border-radius:var(--lv-border-radius-xl) var(--lv-border-radius-xl) 0 0;width:100vw;max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}.lv-popover-close-button[_ngcontent-%COMP%]{position:absolute;top:var(--lv-spacing-s);right:var(--lv-spacing-s);z-index:3;display:inline-flex;align-items:center;justify-content:center}@media(width<=48rem){.lv-popover-close-button[_ngcontent-%COMP%]{top:var(--lv-spacing-xs);right:var(--lv-spacing-xs)}}.lv-popover-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:2;display:flex;align-items:center;min-height:var(--lv-sizing-3xl);padding:var(--lv-spacing-l) var(--lv-spacing-4xl) var(--lv-spacing-l) var(--lv-spacing-l);background-color:var(--lv-background-muted);border-bottom:var(--lv-border-width-small) solid var(--lv-outline-3);transition:box-shadow .3s ease-in-out,border-color .3s ease-in-out}@media(width<=48rem){.lv-popover-header[_ngcontent-%COMP%]{padding:var(--lv-spacing-m) var(--lv-spacing-4xl) var(--lv-spacing-m) var(--lv-spacing-l)}}.lv-popover-header.lv-scrolled[_ngcontent-%COMP%]{box-shadow:var(--lv-shadow-m)}.lv-popover-header__content[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;padding-right:var(--lv-spacing-xl)}.lv-popover-body--spacing-default[_ngcontent-%COMP%]{padding:var(--lv-spacing-l)}@media(width<=48rem){.lv-popover-body--spacing-default[_ngcontent-%COMP%]{padding:var(--lv-spacing-m)}}.lv-popover-body--spacing-none[_ngcontent-%COMP%]{padding:0}.lv-popover-footer[_ngcontent-%COMP%]{display:flex;padding:0 var(--lv-spacing-l) calc(var(--lv-spacing-l) + env(safe-area-inset-bottom))}@media(width<=48rem){.lv-popover-footer[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-m) calc(var(--lv-spacing-m) + env(safe-area-inset-bottom))}}.lv-popover-footer--with-top-padding[_ngcontent-%COMP%]{padding-top:var(--lv-spacing-l)}@media(width<=48rem){.lv-popover-footer--with-top-padding[_ngcontent-%COMP%]{padding-top:var(--lv-spacing-m)}}.lv-popover-footer--alignment-left[_ngcontent-%COMP%]{justify-content:flex-start;gap:var(--lv-spacing-m)}.lv-popover-footer--alignment-center[_ngcontent-%COMP%]{justify-content:center;gap:var(--lv-spacing-m)}.lv-popover-footer--alignment-right[_ngcontent-%COMP%]{justify-content:flex-end;gap:var(--lv-spacing-m)}.lv-overflow-container[_ngcontent-%COMP%]{overflow:auto;max-height:90vh;scrollbar-width:none;-ms-overflow-style:none}.lv-overflow-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}@media(width<=48rem){.lv-overflow-container[_ngcontent-%COMP%]{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}}';let He=(()=>{class Ee{constructor(){this.size=(0,h.hFB)("md"),this.showCloseIcon=(0,h.hFB)(!0),this.close=(0,h.CGW)(),this.scrollContainer=h.ebz.required("scrollContainer"),this.header=(0,h.sbv)((0,C.Rfq)(()=>Ne)),this.body=(0,h.sbv)((0,C.Rfq)(()=>Ae)),this.footer=(0,h.sbv)((0,C.Rfq)(()=>qe)),this.hasHeader=(0,v.EW)(()=>
503!!this.header()),this.hasFooter=(0,v.EW)(()=>!!this.footer()),this.scrolled=(0,C.vPA)(!1),this.footerNeedsTopPadding=(0,v.EW)(()=>!!this.footer()&&"none"===this.body()?.spacing())}updateScrollState(){const ve=this.scrollContainer().nativeElement;this.scrolled.set(ve.scrollTop>0)}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-popover"]],contentQueries:function(Pe,je,Qt){1&Pe&&c.C6U(Qt,je.header,Ne,5)(Qt,je.body,Ae,5)(Qt,je.footer,qe,5),2&Pe&&c.NyB(3)},viewQuery:function(Pe,je){1&Pe&&c.wEZ(je.scrollContainer,Gt,5),2&Pe&&c.NyB()},inputs:{size:[1,"size"],showCloseIcon:[1,"showCloseIcon"]},outputs:{close:"close"},ngContentSelectors:at,decls:5,vars:5,consts:[["scrollContainer",""],[1,"lv-popover-container"],["type","text","size","lg","shape","rectangle",1,"lv-popover-close-button",3,"iconOnly"],[1,"lv-overflow-container",3,"scroll"],["type","text","size","lg","shape","rectangle",1,"lv-popover-close-button",3,"click","iconOnly"],["iconName","close"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.j41(0,"div",1),c.nVh(1,Ve,2,1,"lv-lib-button",2),c.j41(2,"div",3,0),c.bIt("scroll",function(){return je.updateScrollState()}),c.SdG(4),c.k0s()()),2&Pe&&(c.HbH("lv-popover-container--size-"+je.size()),c.R7$(),c.vxM(je.showCloseIcon()?1:-1),c.R7$(),c.AVh("lv-overflow-container--has-header",je.hasHeader()))},dependencies:[Te,b.t],styles:[Le],changeDetection:0})}}return Ee})(),Ne=(()=>{class Ee{constructor(){this.popover=(0,C.WQX)(He,{host:!0}),this.scrolled=(0,v.EW)(()=>this.popover.scrolled())}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-popover-header"]],ngContentSelectors:at,decls:3,vars:2,consts:[[1,"lv-popover-header"],[1,"lv-popover-header__content"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.rj2(0,"div",0)(1,"div",1),c.SdG(2),c.eux()()),2&Pe&&c.AVh("lv-scrolled",je.scrolled())},styles:[Le],changeDetection:0})}}return Ee})(),Ae=(()=>{class Ee{constructor(){this.spacing=(0,h.hFB)("default")}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-popover-body"]],inputs:{spacing:[1,"spacing"]},ngContentSelectors:at,decls:2,vars:4,consts:[[1,"lv-popover-body"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.rj2(0,"div",0),c.SdG(1),c.eux()),2&Pe&&c.AVh("lv-popover-body--spacing-default","default"===je.spacing())("lv-popover-body--spacing-none","none"===je.spacing())},styles:[Le],changeDetection:0})}}return Ee})(),qe=(()=>{class Ee{constructor(){this.popover=(0,C.WQX)(He,{host:!0}),this.needsTopPadding=(0,v.EW)(()=>this.popover.footerNeedsTopPadding()),this.alignment=(0,h.hFB)("right")}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-popover-footer"]],inputs:{alignment:[1,"alignment"]},ngContentSelectors:at,decls:2,vars:4,consts:[[1,"lv-popover-footer"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.rj2(0,"div",0),c.SdG(1),c.eux()),2&Pe&&(c.HbH("lv-popover-footer--alignment-"+je.alignment()),c.AVh("lv-popover-footer--with-top-padding",je.needsTopPadding()))},styles:[Le],changeDetection:0})}}return Ee})();const tt=new C.nKC("DIALOG_DATA");var pt=i(1413);class Lt{constructor(xe){this.overlayRef=xe,this.afterClosedSubject=new pt.B,this.componentInstance=null}close(xe){this.overlayRef.dispose(),this.afterClosedSubject.next(xe),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}}function ot(Ee,xe){if(1&Ee&&(c.j41(0,"p"),c.EFF(1),c.k0s()),2&Ee){const ve=c.XpG();c.R7$(),c.JRh(ve.data.description??"You are about to delete this.")}}let At=(()=>{class Ee{constructor(){this.data=(0,C.WQX)(tt),this.dialogRef=(0,C.WQX)(Lt)}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-confirmation-dialog"]],decls:12,vars:10,consts:[[3,"close"],[1,"header__title",3,"innerHTML"],[3,"click","size","rounded","type"],[1,"button"]],template:function(Pe,je){1&Pe&&(c.j41(0,"lv-lib-popover",0),c.bIt("close",function(){return je.dialogRef.close(!1)}),c.j41(1,"lv-lib-popover-header"),c.nrm(2,"h2",1),c.k0s(),c.j41(3,"lv-lib-popover-body"),c.nVh(4,ot,2,1,"p"),c.k0s(),c.j41(5,"lv-lib-popover-footer")(6,"lv-lib-button",2),c.bIt("click",function(){return je.dialogRef.close(!1)}),c.j41(7,"div",3),c.EFF(8),c.k0s()(),c.j41(9,"lv-lib-button",2),c.bIt("click",function(){return je.dialogRef.close(!0)}),c.j41(10,"div",3),c.EFF(11),c.k0s()()()()),2&Pe&&(c.R7$(2),c.Y8G("innerHTML",je.data.heading??"Attention! <br> Are you sure you want to delete this?",c.npT),c.R7$(2),c.vxM("big"===je.data.size?4:-1),c.R7$(2),c.Y8G("size","fit-content")("rounded",!0)("type","text"),c.R7$(2),c.SpI(" ",je.data.cancelButtonText??"Cancel"," "),c.R7$(),c.Y8G("size","fit-content")("rounded",!0)("type",je.data.confirmButtonColor??"danger"),c.R7$(2),c.SpI(" ",je.data.confirmButtonText??"Delete"," "))},dependencies:[Te,Ae,Ne,He,qe],encapsulation:2})}}return Ee})();function M(Ee,xe){if(1&Ee&&(c.rj2(0,"div",0),c.Hgh(1,"hr",2),c.rj2(2,"span",3),c.EFF(3),c.eux(),c.Hgh(4,"hr",2),c.eux()),2&Ee){const ve=c.XpG();c.R7$(),c.HbH(ve.dividerClasses()),c.R7$(),c.AVh("divider__text--subtle","subtle"===ve.color()),c.R7$(),c.JRh(ve.dividerText()),c.R7$(),c.HbH(ve.dividerClasses())}}function gt(Ee,xe){if(1&Ee&&c.Hgh(0,"hr",4),2&Ee){const ve=c.XpG();c.HbH(ve.dividerClasses())}}let pe=(()=>{class Ee{constructor(){this.color=(0,h.hFB)("subtle"),this.vertical=(0,h.hFB)(!1),this.thickness=(0,h.hFB)("thin"),this.marginSize=(0,h.hFB)(),this.dividerText=(0,h.hFB)(),this.dividerClasses=(0,v.EW)(()=>({[`divider--${this.thickness()}`]:!0,[`divider--${this.color()}`]:!0,[`divider--margin-${this.marginSize()}`]:!0,"divider--vertical":this.vertical()}))}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-divider"]],inputs:{color:[1,"color"],vertical:[1,"vertical"],thickness:[1,"thickness"],marginSize:[1,"marginSize"],dividerText:[1,"dividerText"]}
503,decls:2,vars:1,consts:[[1,"divider-wrapper"],[1,"divider",3,"class"],[1,"divider__split-line"],[1,"divider__text"],[1,"divider"]],template:function(Pe,je){1&Pe&&c.nVh(0,M,5,7,"div",0)(1,gt,1,2,"hr",1),2&Pe&&c.vxM(je.dividerText()?0:1)},styles:[".divider[_ngcontent-%COMP%]{border:0;margin:0;height:var(--lv-extra-sizing-3xs)}.divider--bold[_ngcontent-%COMP%]{height:var(--lv-extra-sizing-2xs)}.divider--thin[_ngcontent-%COMP%]{height:var(--lv-extra-sizing-3xs)}.divider--strong[_ngcontent-%COMP%]{background:var(--lv-outline-1)}.divider--subtle[_ngcontent-%COMP%]{background:var(--lv-outline-3)}.divider--vertical[_ngcontent-%COMP%]{height:var(--lv-sizing-pct-100);margin:0;width:var(--lv-extra-sizing-3xs)}.divider--vertical.divider--bold[_ngcontent-%COMP%]{width:var(--lv-extra-sizing-2xs)}.divider--margin-s[_ngcontent-%COMP%]{margin-block:var(--lv-spacing-s)}.divider--margin-m[_ngcontent-%COMP%]{margin-block:var(--lv-spacing-m)}.divider--margin-l[_ngcontent-%COMP%]{margin-block:var(--lv-spacing-l)}.divider--margin-xl[_ngcontent-%COMP%]{margin-block:var(--lv-spacing-xl)}.divider--vertical.divider--margin-s[_ngcontent-%COMP%]{margin-inline:var(--lv-spacing-s);margin-block:0}.divider--vertical.divider--margin-m[_ngcontent-%COMP%]{margin-inline:var(--lv-spacing-m);margin-block:0}.divider--vertical.divider--margin-l[_ngcontent-%COMP%]{margin-inline:var(--lv-spacing-l);margin-block:0}.divider--vertical.divider--margin-xl[_ngcontent-%COMP%]{margin-inline:var(--lv-spacing-xl);margin-block:0}.divider__split-line[_ngcontent-%COMP%]{flex:1}.divider__text[_ngcontent-%COMP%]{white-space:nowrap;font-weight:var(--lv-font-weight-medium)}.divider__text--strong[_ngcontent-%COMP%]{color:var(--lv-text-1)}.divider__text--subtle[_ngcontent-%COMP%]{color:var(--lv-text-2)}.divider-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--lv-spacing-xs);width:var(--lv-sizing-pct-100)}"]})}}return Ee})();var lt=i(8067),Rt=i(9213);function Yt(Ee,xe){if(1&Ee){const ve=c.RV6();c.j41(0,"div",6),c.bIt("click",function(){const je=C.eBV(ve).$implicit,Qt=c.XpG(2);return C.Njj(Qt.menuItemClick(je))}),c.nrm(1,"lv-lib-icon-font",7),c.j41(2,"span"),c.EFF(3),c.k0s()()}if(2&Ee){const ve=xe.$implicit;c.R7$(),c.Y8G("iconName",ve.icon)("iconColor","default"),c.R7$(2),c.JRh(ve.title)}}function Ut(Ee,xe){if(1&Ee&&(c.j41(0,"div",4),c.Z7z(1,Yt,4,3,"div",5,c.fX1),c.k0s()),2&Ee){const ve=c.XpG();c.R7$(),c.Dyx(ve.menuItems())}}let jt=(()=>{class Ee{constructor(){this.menuItems=h.hFB.required(),this.onMenuItemClick=(0,h.CGW)()}menuItemClick(ve){document.activeElement?.blur(),this.onMenuItemClick.emit(ve)}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-header-menu"]],inputs:{menuItems:[1,"menuItems"]},outputs:{onMenuItemClick:"onMenuItemClick"},decls:6,vars:3,consts:[["trigger",""],["cdkMenuBar","","data-testid","menu-trigger",1,"navigation-button"],["cdkMenuItem","","type","text","size","md",3,"rounded","iconOnly","cdkMenuTriggerFor"],["data-testid","lv-lib-header-menu"],["cdkMenu","",1,"menu-container"],["cdkMenuItem","",1,"menu-item"],["cdkMenuItem","",1,"menu-item",3,"click"],[3,"iconName","iconColor"]],template:function(Pe,je){if(1&Pe&&(c.j41(0,"div",1)(1,"lv-lib-button",2)(2,"mat-icon"),c.EFF(3,"more_vert"),c.k0s()()(),c.DNE(4,Ut,3,0,"ng-template",3,0,c.C5r)),2&Pe){const Qt=c.sdS(5);c.R7$(),c.Y8G("rounded",!0)("iconOnly",!0)("cdkMenuTriggerFor",Qt)}},dependencies:[Rt.An,lt.Hh,lt.p$,Te,lt.wh,lt.CS,b.t],styles:['[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);
503--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);
503--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}.navigation-button[_ngcontent-%COMP%]{border-radius:var(--lv-border-radius-s)}.navigation-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:var(--lv-dark-h
503over)}.navigation-button[_ngcontent-%COMP%]:hover{background-color:var(--lv-creme)}.menu-container[_ngcontent-%COMP%]{margin-top:var(--lv-spacing-xl);background-color:var(--lv-background-muted);box-shadow:var(--lv-shadow);width:var(--lv-extra-sizing-4xl)}@media(width<=48rem){.menu-container[_ngcontent-%COMP%]{margin-top:var(--lv-extra-spacing-m)}}.menu-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--lv-spacing-m);padding:var(--lv-sizing-l);cursor:pointer;height:calc(var(--lv-sizing-6xl) / 4);color:var(--lv-dark-hover)}.menu-item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:var(--lv-font-size-200)}.menu-item[_ngcontent-%COMP%]:hover{background-color:var(--lv-creme)}']})}}return Ee})();var zt=i(5453),Oe=i(345),Mt=i(5346);const o=[{name:"bar_chart",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M80-120v-80h800v80H80Zm40-120v-280h120v280H120Zm200 0v-480h120v480H320Zm200 0v-360h120v360H520Zm200 0v-600h120v600H720Z"/></svg>'},{name:"article",content:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px"><path d="M280-280h280v-80H280v80Zm0-160h400v-80H280v80Zm0-160h400v-80H280v80Zm-80 480q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"/></svg>'},{name:"Add_pic_white",content:'<?xml version="1.0" encoding="UTF-8"?><svg id="Ebene_3_Kopie" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#fff;stroke-width:0px;}</style></defs><path class="cls-1" d="m4.64,5.51v-2.6h1.73v2.6h2.6v1.73h-2.6v2.6h-1.73v-2.6h-2.6v-1.73h2.6Zm2.6,5.19v-2.6h2.6v-2.6h6.06l1.56,1.73h2.77c.95,0,1.73.78,1.73,1.73v10.39c0,.95-.78,1.73-1.73,1.73H6.37c-.95,0-1.73-.78-1.73-1.73v-8.65s2.6,0,2.6,0Zm6.06,7.79c2.42,0,4.33-1.9,4.33-4.33s-1.9-4.33-4.33-4.33-4.33,1.9-4.33,4.33,1.9,4.33,4.33,4.33Zm-2.77-4.33c0,1.56,1.21,2.77,2.77,2.77s2.77-1.21,2.77-2.77-1.21-2.77-2.77-2.77-2.77,1.3-2.77,2.77Z"/></svg>'},{name:"accepted",content:'<svg xmlns="http://www.w3.org/2000/svg" id="accepted" viewBox="0 0 24 24" >\n  <g id="Gruppe_10095" transform="translate(-621 -284)">\n    <g id="Shadow" transform="translate(621 284)">\n        <path id="Rectangle-2"\n              d="M12.6 2.1c5.4 0 9.7 4.4 9.7 9.7v.4c0 5.4-4.4 9.7-9.7 9.7s-9.7-4.4-9.7-9.7v-.4c0-5.4 4.4-9.7 9.7-9.7z"/>\n    </g>\n      <g id="Gruppe_10068" transform="translate(628 291)">\n      <path fill="#fff" id="Pfad_3770"\n            d="M3.2 8.2H7c.1 0 .3 0 .4-.1l.3-.3L9 4.9V4c0-.1 0-.2-.1-.3-.1-.1-.2-.1-.3-.1H5.1l.5-2.1v-.4c0-.1 0-.1-.1-.2L5.1.5 2.4 3.4l-.1.2c0 .1-.1.2-.1.3v3.3c0 .3.1.5.3.7.2.2.5.3.7.3 M5.6-1.6C3.9-1.6 2.3-1 1.1.2-.1 1.4-.8 3-.8 4.7S-.1 8 1.1 9.2c1.2 1.2 2.8 1.9 4.5 1.9s3.3-.7 4.5-1.9C11.3 8 12 6.4 12 4.7s-.7-3.3-1.9-4.5C9-1 7.4-1.6 5.6-1.6m0-.4c3.8 0 6.8 3.1 6.8 6.8s-3.1 6.8-6.8 6.8-6.8-3.1-6.8-6.8S1.9-2 5.6-2z"/>\n    </g>\n  </g>\n</svg>\n'},{name:"account",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="account">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm0 4c1.93 0 3.5 1.57 3.5 3.5s-1.57 3.5-3.5 3.5-3.5-1.57-3.5-3.5 1.57-3.5 3.5-3.5Zm0 14c-2.03 0-4.43-.82-6.14-2.88a9.947 9.947 0 0 1 12.28 0c-1.71 2.06-4.11 2.88-6.14 2.88Z"/>\n</svg>\n'},{name:"account_balance",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="account_balance">\n    <path d="M7.833 10.5h-3v7h3v-7ZM14.334 10.5h-3v7h3v-7ZM22.834 19.5h-20v3h20v-3ZM20.834 10.5h-3v7h3v-7ZM12.834 1.5l-10 5v2h20v-2l-10-5Z"/>\n</svg>\n'},{name:"active",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="active">\n    <path d="M7.333 5v14l11-7-11-7Z"/>\n</svg>\n'},{name:"active_circle-green",content:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 25 24" id="active_circle-green">\n    <path fill="#28A745" d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm-2.5 14.5v-9l7 4.5-7 4.5Z"/>\n</svg>\n'},{name:"active_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="active_circle">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm-2.5 14.5v-9l7 4.5-7 4.5Z"/>\n</svg>\n'},{name:"add",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="add">\n    <path d="M19.834 13h-6v6h-2v-6h-6v-2h6V5h2v6h6v2Z"/>\n</svg>\n'},{name:"add_box",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="add_box">\n    <path d="M19.834 3h-14a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-2 10h-4v4h-2v-4h-4v-2h4V7h2v4h4v2Z"/>\n</svg>\n'},{name:"add_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="add_circle">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm5 11h-4v4h-2v-4h-4v-2h4V7h2v4h4v2Z"/>\n</svg>\n'},{name:"add_circle_outlined",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n  <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"/>\n</svg>'},{name:"ads_advertising",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="ads_advertising">\n    <path d="M18.834 11v2h4v-2h-4Zm-2 6.61c.96.71 2.21 1.65 3.2 2.39.4-.53.8-1.07 1.2-1.6-.99-.74-2.24-1.68-3.2-2.4-.4.54-.8 1.08-1.2 1.61Zm4.4-12.01c-.4-.53-.8-1.07-1.2-1.6-.99.74-2.24 1.68-3.2 2.4.4.53.8 1.07 1.2 1.6.96-.72 2.21-1.65 3.2-2.4ZM4.834 9c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1v4h2v-4h1l5 3V6l-5 3h-4Zm11.5 3c0-1.33-.58-2.53-1.5-3.35v6.69c.92-.81 1.5-2.01 1.5-3.34Z"/>\n</svg>\n'},{name:"affiliate",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 24" id="affiliate">\n    <g clip-path="url(#a)">\n        <path d="M22.833 9V7h-2v2h-2v2h2v2h2v-2h2V9h-2Zm-14 3c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4Zm0 1c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4Zm4.51-8.95A6.016 6.016 0 0 1 14.833 8c0 1.51-.57 2.89-1.49 3.95 1.96-.25 3.49-1.91 3.49-3.95s-1.53-3.7-3.49-3.95Zm4.02 9.78c.89.83 1.47 1.87 1.47 3.17v3h2v-3c0-1.45-1.59-2.51-3.47-3.17Z"/>\n    </g>\n    <defs>\n        <clipPath id="a">\n            <path d="M.833 0h24v24h-24z"/>\n        </clipPath>\n    </defs>\n</svg>\n'},{name:"appearance_moderation",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="appearance_moderation">\n    <path d="m14.883 17.58-.01.01-2.4-2.4 1.06-1.06 1.35 1.35 2.49-2.48 1.06 1.06-3.54 3.54-.01-.02ZM12.833 2c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10Zm-4.66 4.28 1.41 1.41 1.41-1.41 1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.41-1.41 1.41-1.06-1.06 1.41-1.41-1.41-1.41 1.06-1.06ZM12.833 20c-2.2 0-4.2-.9-5.7-2.3l11.4-11.4c1.4 1.5 2.3 3.5 2.3 5.7 0 4.4-3.6 8-8 8Z"/>\n</svg>\n'},{name:"archive",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="ar
503chive">\n    <path d="M10.834 4h-6c-1.1 0-1.99.9-1.99 2l-.01 12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2Z"/>\n</svg>\n'},{name:"arrow_back",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="arrow_back">\n    <path d="M20.834 11.1H8.664l5.59-5.59-1.42-1.41-8 8 8 8 1.41-1.41-5.58-5.59h12.17v-2Z"/>\n</svg>\n'},{name:"arrow_down",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="arrow_down">\n    <path d="m8.243 8.295 4.59 4.58 4.59-4.58 1.41 1.41-6 6-6-6 1.41-1.41Z"/>\n</svg>\n'},{name:"arrow_downward",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="arrow_downward">\n    <path d="m20.834 12.1-1.41-1.41-5.59 5.58V4.1h-2v12.17l-5.58-5.59-1.42 1.42 8 8 8-8Z"/>\n</svg>\n'},{name:"arrow_drop_down",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="arrow_drop_down">\n    <path d="m7.833 9.6 5 5 5-5h-10Z"/>\n</svg>\n'},{name:"arrow_forward",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="arrow_forward">\n    <path d="m12.834 4.1-1.41 1.41 5.58 5.59H4.833v2h12.17l-5.58 5.59 1.41 1.41 8-8-8-8Z"/>\n</svg>\n'},{name:"arrow_left",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="arrow_left">\n    <path d="m16.538 16.69-4.58-4.59 4.58-4.59-1.41-1.41-6 6 6 6 1.41-1.41Z"/>\n</svg>\n'},{name:"arrow_right",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="arrow_right">\n    <path d="m9.128 16.69 4.58-4.59-4.58-4.59 1.41-1.41 6 6-6 6-1.41-1.41Z"/>\n</svg>\n'},{name:"arrow_up",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="arrow_up">\n    <path d="m8.243 15.805 4.59-4.58 4.59 4.58 1.41-1.41-6-6-6 6 1.41 1.41Z"/>\n</svg>\n'},{name:"arrow_upward",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="arrow_upward">\n    <path d="m4.833 12.1 1.41 1.41 5.59-5.58V20.1h2V7.93l5.58 5.59 1.42-1.42-8-8-8 8Z"/>\n</svg>\n'},{name:"attach_file",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="attach_file">\n    <path d="M16.834 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 0 1 5 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6h-1.5v9.5a2.5 2.5 0 0 0 5 0V5c0-2.21-1.79-4-4-4s-4 1.79-4 4v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5Z"/>\n</svg>\n'},{name:"ban",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="ban">\n    <path d="M19.834 8c-.69 0-1.25.56-1.25 1.25V15h-.5c-1.65 0-3 1.35-3 3h-1c0-2.04 1.53-3.72 3.5-3.97V3.25a1.25 1.25 0 0 0-2.5 0V11h-1V1.25a1.25 1.25 0 0 0-2.5 0V11h-1V2.75a1.25 1.25 0 0 0-2.5 0V12h-1V5.75a1.25 1.25 0 0 0-2.5 0v10c0 4.56 3.69 8.25 8.25 8.25 4.56 0 8.25-3.69 8.25-8.25v-6.5c0-.69-.56-1.25-1.25-1.25Z"/>\n</svg>\n'},{name:"bing",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="bing">\n    <path d="m6.223 2.01.32.11.67.24 1.52.54 1.02.36.42.15c.03 0 .04.02.03.05-.01.03 0 .03 0 .05v14l5.64-3.26c-.07-.03-.12-.06-.18-.09l-.38-.17-.88-.42-.92-.43c-.12-.06-.25-.11-.37-.17-.02 0-.03-.02-.04-.04-.13-.32-.26-.64-.38-.96l-.55-1.37-.54-1.35c-.08-.21-.17-.42-.26-.63l.25.08 1.6.56.85.3 1.56.55 1.05.37 1.57.55 1.04.36.89.31s.06.04.06.08v4.42c0 .03-.01.07-.05.08-.29.16-.57.33-.86.49l-.7.41-.84.48-.7.41-.71.41-.96.56-.89.51-.97.56-.9.52-.96.55-.96.55c-.15.09-.31.18-.46.27-.03.02-.06.02-.09 0-.21-.12-.43-.24-.64-.36l-.72-.4-.64-.35-.7-.39-.55-.3c-.23-.13-.45-.25-.68-.38a.076.076 0 0 1-.02-.04V2.01"/>\n</svg>\n'},{name:"bing_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="bing_circle">\n    <path d="M12.833 2.11c-5.51 0-9.99 4.47-9.99 9.99 0 5.52 4.47 9.99 9.99 9.99 5.52 0 9.99-4.47 9.99-9.99 0-5.52-4.47-9.99-9.99-9.99Zm4.99 9.61v2.75s0 .04-.03.05l-.53.31-.44.25-.52.3-.43.25-.44.25-.6.35-.55.32-.6.35-.55.33-.6.34-.6.34-.29.17s-.04.01-.06 0l-.4-.22-.45-.25-.4-.22-.43-.25-.34-.19-.42-.24s0-.01-.02-.02V5.65l.2.07.42.15.95.33.64.23.27.09s.02 0 .02.03v8.74l3.51-2.03-.11-.06-.23-.11-.55-.25-.57-.27-.23-.11s-.03-.02-.03-.04c-.08-.2-.16-.4-.24-.59l-.34-.85-.34-.84c-.05-.13-.11-.26-.16-.39l.15.05 1 .35.53.19.97.34.65.23.97.34.64.23.55.19s.04.03.03.05Z"/>\n</svg>\n'},{name:"blog",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="blog">\n    <path d="M19.833 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-5 14h-7v-2h7v2Zm3-4h-10v-2h10v2Zm0-4h-10V7h10v2Z"/>\n</svg>\n'},{name:"bookmark",content:'<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg" id="bookmark">\n    <path d="M17.8334 3H7.83337C6.73337 3 5.84337 3.9 5.84337 5L5.83337 21L12.8334 18L19.8334 21V5C19.8334 3.9 18.9334 3 17.8334 3Z"/>\n</svg>\n'},{name:"cbs",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="cbs">\n    <path d="M12.834 2.1c-5.5 0-10 4.445-10 10 0 5.5 4.444 10 10 10 5.5 0 10-4.444 10-10v-.056c0-5.5-4.5-9.944-10-9.944Zm0 4.222c3.944 0 7.555 2.223 9.277 5.722-2.5 5.112-8.722 7.278-13.889 4.723A10.239 10.239 0 0 1 3.5 12.044a10.477 10.477 0 0 1 9.334-5.722Zm0 .445C9.889 6.822 7.556 9.21 7.61 12.1c.056 2.944 2.445 5.278 5.334 5.222 2.889-.055 5.277-2.389 5.222-5.333 0-2.833-2.334-5.222-5.334-5.222Z"/>\n</svg>\n'},{name:"cbs_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="cbs_circle">\n    <path d="M6.934 12.1c.6 1.3 1.7 2.4 3 3 3.3 1.6 7.2.3 8.8-3-1.1-2.2-3.4-3.7-5.9-3.7-2.5 0-4.8 1.4-5.9 3.7Zm9.3 0c0 1.9-1.5 3.4-3.3 3.4-1.9 0-3.4-1.5-3.4-3.3 0-1.9 1.5-3.4 3.3-3.4 1.9-.1 3.4 1.4 3.4 3.3Z"/>\n    <path d="M12.834 2.1c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10Zm6.4 10c0 3.5-2.9 6.4-6.4 6.4-3.5 0-6.4-2.9-6.4-6.4 0-3.5 2.9-6.4 6.4-6.4 3.5 0 6.4 2.9 6.4 6.4Z"/>\n</svg>\n'},{name:"chat",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="chat">\n    <path d="M20.834 2h-16c-1.1 0-1.99.9-1.99 2l-.01 18 4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm-14 7h12v2h-12V9Zm8 5h-8v-2h8v2Zm4-6h-12V6h12v2Z"/>\n</svg>\n'},{name:"check_activated_completed_circle-green",content:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 25 24" id="check_activated_completed_circle-green">\n    <path fill="#28A745" d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm-2 15-5-5 1.41-1.41 3.59 3.58 7.59-7.59L19.834 8l-9 9Z"/>\n</svg>\n'},{name:"check_activated_completed_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="check_activated_completed_circle">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm-2 15-5-5 1.41-1.41 3.59 3.58 7.59-7.59L19.834 8l-9 9Z"/>\n</svg>\n'},{name:"check_activated_completed_circle_outline",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="check_activated_completed_circle_outline">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm4.59-12.42-6.59 6.59-2.59-2.58L6.833 13l4 4 8-8-1.41-1.42Z"/>\n</svg>\n'},{name:"check_box",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="check_box">\n    <path d="M19.834 3h-14a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2Zm-9 14-5-5 1.41-1.41 3.59 3.58 7.59-7.59L19.834 8l-9 9Z"/>\n</svg>\n'},{name:"check_indeterminate",content:'<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewB
503ox="0 0 36 36" fill="none">\n    <path d="M10.5 19.5V16.5H25.5V19.5H10.5Z" fill="white"/>\n</svg>\n'},{name:"check_small",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="check_small">\n    <path d="m10.834 16.4-4-4 1.4-1.4 2.6 2.6 6.6-6.6 1.4 1.4-8 8Z"/>\n</svg>\n'},{name:"close",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="close">\n    <path d="M19.834 6.41 18.424 5l-5.59 5.59L7.244 5l-1.41 1.41 5.59 5.59-5.59 5.59L7.244 19l5.59-5.59 5.59 5.59 1.41-1.41-5.59-5.59 5.59-5.59Z"/>\n</svg>\n'},{name:"close_box",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="close_box">\n    <path d="M3.833 3v18h18V3h-18Zm14 12.59L16.424 17l-3.59-3.59L9.244 17l-1.41-1.41 3.59-3.59-3.59-3.59L9.243 7l3.59 3.59L16.424 7l1.41 1.41-3.59 3.59 3.59 3.59Z"/>\n</svg>\n'},{name:"close_declined_circle-red",content:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 25 24" id="close_declined_circle-red">\n    <path fill="#DC3545" d="M12.834 2c-5.53 0-10 4.47-10 10s4.47 10 10 10 10-4.47 10-10-4.47-10-10-10Zm5 13.59L16.424 17l-3.59-3.59L9.244 17l-1.41-1.41 3.59-3.59-3.59-3.59L9.243 7l3.59 3.59L16.424 7l1.41 1.41-3.59 3.59 3.59 3.59Z"/>\n</svg>\n'},{name:"close_declined_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="close_declined_circle">\n    <path d="M12.834 2c-5.53 0-10 4.47-10 10s4.47 10 10 10 10-4.47 10-10-4.47-10-10-10Zm5 13.59L16.424 17l-3.59-3.59L9.244 17l-1.41-1.41 3.59-3.59-3.59-3.59L9.243 7l3.59 3.59L16.424 7l1.41 1.41-3.59 3.59 3.59 3.59Z"/>\n</svg>\n'},{name:"close_declined_circle_outlined",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="close_declined_circle_outlined">\n    <path d="M12.834 2c-5.53 0-10 4.47-10 10s4.47 10 10 10 10-4.47 10-10-4.47-10-10-10Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm3.59-13-3.59 3.59L9.244 7l-1.41 1.41 3.59 3.59-3.59 3.59L9.243 17l3.59-3.59 3.59 3.59 1.41-1.41-3.59-3.59 3.59-3.59L16.424 7Z"/>\n</svg>\n'},{name:"cookie",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 25">\n  <path d="M12 22.026a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.959-2.137-3.175a9.738 9.738 0 0 1-.788-3.9c0-1.25.242-2.476.725-3.676A10.49 10.49 0 0 1 4.75 5.138c.867-.942 1.908-1.7 3.125-2.275s2.55-.863 4-.863c.35 0 .708.017 1.075.05.367.034.742.092 1.125.175-.15.75-.1 1.459.15 2.125.25.667.625 1.221 1.125 1.663.5.442 1.096.746 1.787.912.692.167 1.405.125 2.138-.125-.433.984-.37 1.925.188 2.825.558.9 1.387 1.367 2.487 1.4A9.824 9.824 0 0 1 22 12.05a9.587 9.587 0 0 1-.788 3.863 10.292 10.292 0 0 1-2.137 3.175 9.994 9.994 0 0 1-3.175 2.15 9.738 9.738 0 0 1-3.9.788Zm-1.5-12c.417 0 .77-.146 1.063-.438.291-.292.437-.646.437-1.063 0-.416-.146-.77-.438-1.062a1.447 1.447 0 0 0-1.062-.438c-.417 0-.77.146-1.063.438A1.447 1.447 0 0 0 9 8.525c0 .417.146.771.438 1.063.291.292.645.438 1.062.438Zm-2 5c.417 0 .77-.146 1.063-.438.291-.292.437-.646.437-1.063 0-.416-.146-.77-.438-1.062a1.446 1.446 0 0 0-1.062-.438c-.417 0-.77.146-1.063.438A1.447 1.447 0 0 0 7 13.526c0 .416.146.77.438 1.062.291.292.645.438 1.062.438Zm6.5 1c.283 0 .52-.096.713-.288a.968.968 0 0 0 .287-.713.968.968 0 0 0-.287-.712.968.968 0 0 0-.713-.288.968.968 0 0 0-.713.288.968.968 0 0 0-.287.712c0 .284.096.521.287.713.192.192.43.288.713.288Z"/>\n</svg>'},{name:"code",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="code">\n    <path d="m10.233 16.6-4.6-4.6 4.6-4.6-1.4-1.4-6 6 6 6 1.4-1.4Zm5.2 0 4.6-4.6-4.6-4.6 1.4-1.4 6 6-6 6-1.4-1.4Z"/>\n</svg>\n'},{name:"code_circle",content:'<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 25 24" id="code_circle">\n    <path d="M12.833 2.05c-5.5 0-9.95 4.47-9.95 9.95 0 5.48 4.44 9.94 9.94 9.94 5.5 0 9.95-4.44 9.95-9.94 0-5.5-4.46-9.95-9.94-9.95Zm-1.76 13.44-.9.95-3.86-4.07 3.86-4.07.9.95-2.96 3.12 2.96 3.12Zm4.24.95-.9-.95 2.96-3.12-2.96-3.12.9-.95 3.86 4.07-3.86 4.07Z"/>\n</svg>\n'},{name:"contact",content:'<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg" id="contact">\n<path d="M20.8334 4H4.83337C3.73337 4 2.84337 4.9 2.84337 6L2.83337 18C2.83337 19.1 3.73337 20 4.83337 20H20.8334C21.9334 20 22.8334 19.1 22.8334 18V6C22.8334 4.9 21.9334 4 20.8334 4ZM20.8334 8L12.8334 13L4.83337 8V6L12.8334 11L20.8334 6V8Z"/>\n</svg>\n'},{name:"content_paste",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="content_paste">\n    <path d="M19.834 3h-4.18c-.42-1.16-1.52-2-2.82-2-1.3 0-2.4.84-2.82 2h-4.18c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1Zm7 18h-14V5h2v3h10V5h2v16Z"/>\n</svg>\n'},{name:"copy",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="copy">\n    <path d="M17.334 1h-12c-1.1 0-2 .9-2 2v14h2V3h12V1Zm-1 4 6 6v10c0 1.1-.9 2-2 2H9.324c-1.1 0-1.99-.9-1.99-2l.01-14c0-1.1.89-2 1.99-2h7Zm-1 7h5.5l-5.5-5.5V12Z"/>\n</svg>\n'},{name:"dashboard",content:'<svg id="dashboard" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" >\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"/>\n</svg>\n'},{name:"data_import",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="data_import">\n    <path d="M12.833 20c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm0 2c5.52 0 10-4.48 10-10s-4.48-10-10-10-10 4.48-10 10 4.48 10 10 10Zm-1-10v4h2v-4h3l-4-4-4 4h3Z"/>\n</svg>\n'},{name:"deactivated",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="deactivated">\n    <path d="M6.833 6h12v12h-12V6Z"/>\n</svg>\n'},{name:"deactivated_circle-red",content:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 25 24" id="deactivated_circle-red">\n    <path fill="#DC3545" d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm4 14h-8V8h8v8Z"/>\n</svg>\n'},{name:"deactivated_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="deactivated_circle">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm4 14h-8V8h8v8Z"/>\n</svg>\n'},{name:"deactivated_circle_outlined",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="deactivated_circle_outlined">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm4-4h-8V8h8v8Z"/>\n</svg>\n'},{name:"desktop",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="desktop">\n    <path d="M20.834 18.5c1.1 0 1.99-.9 1.99-2l.01-11c0-1.1-.9-2-2-2h-16c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h-4c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2h-4Zm-16-13h16v11h-16v-11Zm8 14c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Z"/>\n</svg>\n'},{name:"desktop_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="desktop_circle">\n    <path d="M12.763 2.04c-5.49.02-9.92 4.48-9.9 9.96v.07c.03 5.5 4.53 9.94 10.03 9.9 5.5-.03 9.93-4.53 9.9-10.03-.03-5.5-4.53-9.95-10.03-9.9Zm6.11 14.15H6.783c-.63.03-1.17-.45-1.21-1.08h2.42c-.63.03-1.17-.45-1.21-1.08V8.08c.04-.63.58-1.11 1.21-1.08h9.67c.63-.03 1.16.45 1.2 1.08v5.95c-.03.63-.57 1.11-1.2 1.08h2.42c-.04.63-.58 1.11-1.21 1.08Z"/>\n    <path d="M12.953 14.56c-.3-.03-.57.18-.6.48-.03.3.18.57.48.6.31.01.58-.23.6-.54 0-.28-.21-.51-.48-.54ZM17.663 8.07h-9.67v5.95h9.67V8.07Z"/>\n</svg>\n'},{name:"disabled_by_default",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="disabled_by_default">\n    <path d="M3.833 3v18h18V3h-18Zm14 12.59L16.424 17l-3.59-3.59L9.244 17l-1.41-1.41 3.59-3.59-3.59-3.59L9.243 7l3.59 3.59L16.424 7l1.41 1.41-3.59 3.59 3.59 3.59Z"/>\n</svg>\n'},{name:"dislike",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="dislike">\n    <path d="M15.367 2h-9c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l
503-.95 4.57-.03.32c0 .41.17.79.44 1.06l1.06 1.05 6.59-6.59c.36-.36.58-.86.58-1.41V4c0-1.1-.9-2-2-2Zm4 0v12h4V2h-4Z"/>\n</svg>\n'},{name:"done_check",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="done_check">\n    <path d="m9.634 15.9-4.2-4.2-1.4 1.4 5.6 5.6 12-12-1.4-1.4-10.6 10.6Z"/>\n</svg>\n'},{name:"double_arrow_down",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="double_arrow_down">\n    <path d="M18.834 6.41 17.424 5l-4.59 4.58L8.244 5l-1.41 1.41 6 6 6-6Z"/>\n    <path d="m18.834 13-1.41-1.41-4.59 4.58-4.59-4.58L6.833 13l6 6 6-6Z"/>\n</svg>\n'},{name:"download",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="download">\n    <path d="M5.833 20.5h14v-2h-14v2Zm14-11h-4v-6h-6v6h-4l7 7 7-7Z"/>\n</svg>\n'},{name:"edit",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="edit">\n    <path d="M3.832 17.251v3.75h3.75l11.06-11.06-3.75-3.75-11.06 11.06Zm17.71-10.21a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83Z"/>\n</svg>\n'},{name:"edit_box",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="edit_box">\n    <path d="M18.834 4h-12c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm-8.6 12.3h-2v-1.9l5.8-5.5 2 1.9-5.8 5.5Zm7.2-7-.9.9-2-1.9 1-.9c.2-.2.5-.2.7 0l1.2 1.2c.2.2.2.5 0 .7Z"/>\n</svg>\n'},{name:"edit_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="edit_circle">\n    <path d="M12.834 2c-5.6 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10Zm2.8 9.5-4.9 4.8-2 .3c-.2 0-.4-.1-.5-.4v-.1l.2-2.1 4.8-4.8c.1-.1.3-.1.4 0l2 2c.1.1.1.2 0 .3Zm1.6-1.5-.8.8c-.1.1-.2.1-.3 0l-2-2c-.1-.1-.1-.2 0-.3l.8-.8c.3-.3.9-.3 1.2 0l1.1 1.1c.2.3.2.8 0 1.2Z"/>\n</svg>\n'},{name:"email",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="email">\n    <path d="M20.834 4h-16c-1.1 0-1.99.9-1.99 2l-.01 12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z"/>\n</svg>\n'},{name:"expand_field",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="expand_field">\n    <path d="m18.133 20.2 2.8-2.8-1.3-1.4-2.8 2.8 1.3 1.4Zm-13.4-3.5 1.4 1.4 12.7-12.8-1.4-1.4-12.7 12.8Zm7.1 2.8 8.5-8.5-1.5-1.4-8.5 8.5 1.5 1.4Z"/>\n</svg>\n'},{name:"explore",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" id="explore"><path d="m300-300 280-80 80-280-280 80-80 280Zm180-120q-25 0-42.5-17.5T420-480q0-25 17.5-42.5T480-540q25 0 42.5 17.5T540-480q0 25-17.5 42.5T480-420Zm0 340q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q133 0 226.5-93.5T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160Zm0-320Z"/></svg>\n'},{name:"faq_fallback",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="faq_fallback">\n    <path d="M13.862 3.129c-4.7 0-8.6 3.8-8.6 8.6h-2.8l3.7 3.7.1.1 3.8-3.8h-2.9c0-3.7 2.9-6.8 6.7-6.8 3.8 0 6.8 2.9 6.8 6.7 0 3.8-2.9 6.8-6.7 6.8-1.8 0-3.6-.6-4.7-1.9l-1.4 1.4c3.3 3.3 8.8 3.3 12.2 0 3.3-3.3 3.3-8.8 0-12.2-1.7-1.7-3.9-2.6-6.2-2.6Zm-.9 10.5c0-.6.1-1.1.2-1.5.2-.4.4-.8.9-1.1.4-.4.7-.7.8-.9.1-.2.2-.5.2-.7 0-.8-.4-1.2-1.1-1.2-.3 0-.6.1-.8.3-.2.2-.3.5-.3.9h-2c0-.9.3-1.6.8-2 .6-.5 1.3-.7 2.3-.7 1 0 1.7.2 2.2.7.5.5.8 1.1.8 2 0 .4-.1.8-.3 1.1-.2.3-.5.7-.9 1.1l-.6.5c-.3.3-.5.7-.6 1.2v.4h-1.6v-.1Zm-.2 2.1c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.3 0 .6.1.8.3.2.2.3.4.3.8 0 .3-.1.5-.3.7-.2.2-.5.3-.8.3-.3 0-.6-.1-.8-.3-.2-.1-.3-.4-.3-.7Z"/>\n</svg>\n'},{name:"filter",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="filter">\n    <path d="M5.089 5.61c2.02 2.59 5.75 7.39 5.75 7.39v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39a.998.998 0 0 0-.79-1.61H5.879c-.83 0-1.3.95-.79 1.61Z"/>\n</svg>\n'},{name:"fraud_detection",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="fraud_detection">\n    <path d="M22.333 7.8c-.3-.2-.7-.3-1.1-.2l-8.4 2-8.4-2c-.4-.1-.8 0-1.1.2-.3.2-.5.6-.5 1v.7c0 3.8 2.6 6.9 5.8 6.9h2.6c.6 0 1.1-.2 1.6-.6.4.4 1 .6 1.6.6h2.6c3.2 0 5.8-3.1 5.8-6.9v-.7c0-.4-.2-.8-.5-1Zm-11.1 6.3h-2.6c-1.8 0-3.3-1.8-3.5-4.1l6.6 1.6v1.7c0 .5-.3.8-.5.8Zm5.8 0h-2.6c-.2 0-.5-.3-.5-.8v-1.7l6.6-1.6c-.2 2.3-1.7 4.1-3.5 4.1Z"/>\n</svg>\n'},{name:"full_script_api",content:'<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 25 24" id="full_script_api">\n    <path d="m14.833 12-2 2-2-2 2-2 2 2Zm-2-6 2.12 2.12 2.5-2.5L12.833 1l-4.62 4.62 2.5 2.5L12.833 6Zm-6 6 2.12-2.12-2.5-2.5L1.833 12l4.62 4.62 2.5-2.5L6.833 12Zm12 0-2.12 2.12 2.5 2.5 4.62-4.62-4.62-4.62-2.5 2.5 2.12 2.12Zm-6 6-2.12-2.12-2.5 2.5 4.62 4.62 4.62-4.62-2.5-2.5-2.12 2.12Z"/>\n</svg>\n'},{name:"general",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="general">\n    <path d="M12.834 2c-5.51 0-10 4.49-10 10s4.49 10 10 10 10-4.49 10-10-4.49-10-10-10Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm3-8c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3Z"/>\n</svg>\n'},{name:"google",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="google">\n    <path d="M2.814 11.11c.13-.67.21-1.36.39-2.02 1.15-4.06 4.68-6.99 8.87-7.37 2.74-.3 5.48.58 7.54 2.41.07.06.14.13.23.21l-2.75 2.64c-.18-.14-.33-.28-.5-.41a6.101 6.101 0 0 0-7.65.38 6.208 6.208 0 0 0-2.08 6.3 5.97 5.97 0 0 0 4.47 4.79c2.26.76 4.75.08 6.3-1.72.61-.68 1.01-1.51 1.16-2.41h-5.76v-3.5h9.62c.04.4.11.79.13 1.19.15 2.22-.41 4.43-1.6 6.31a8.89 8.89 0 0 1-6.29 3.99c-
5035.57 1.02-10.9-2.67-11.92-8.24-.05-.25-.08-.51-.11-.77-.01-.09-.04-.18-.06-.28v-1.53l.01.03Z"/>\n</svg>\n'},{name:"google_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="google_circle">\n    <path d="M12.833 2.11c-5.52 0-9.99 4.47-9.99 9.99 0 5.52 4.47 9.99 9.99 9.99 5.52 0 9.99-4.47 9.99-9.99 0-5.52-4.47-9.99-9.99-9.99Zm5.11 13.81a5.37 5.37 0 0 1-3.8 2.41c-3.36.61-6.59-1.61-7.2-4.98-.03-.15-.05-.31-.07-.46 0-.06-.02-.11-.03-.17v-.92c.08-.41.13-.82.24-1.22a6.14 6.14 0 0 1 5.36-4.45 5.9 5.9 0 0 1 4.56 1.46l.13.13-1.66 1.6c-.11-.09-.2-.17-.3-.25a3.69 3.69 0 0 0-4.62.23c-1.12.92-1.61 2.4-1.26 3.81a3.625 3.625 0 0 0 2.71 2.89c1.36.46 2.87.05 3.81-1.04.37-.41.61-.91.7-1.45h-3.48v-2.12h5.8c.03.24.07.48.08.72.09 1.34-.25 2.68-.97 3.81Z"/>\n</svg>\n'},{name:"history",content:'<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg" id="history">\n<path d="M19.8334 1.75L14.8334 6.75V17.75L19.8334 13.25V1.75ZM1.83337 6.75V21.4C1.83337 21.65 2.08337 21.9 2.33337 21.9C2.43337 21.9 2.48337 21.85 2.58337 21.85C3.93337 21.2 5.88337 20.75 7.33337 20.75C9.28337 20.75 11.3834 21.15 12.8334 22.25V6.75C11.3834 5.65 9.28337 5.25 7.33337 5.25C5.38337 5.25 3.28337 5.65 1.83337 6.75ZM23.8334 6.75C23.2334 6.3 22.5834 6 21.8334 5.75V19.25C20.7334 18.9 19.5334 18.75 18.3334 18.75C16.6334 18.75 14.1834 19.4 12.8334 20.25V22.25C14.1834 21.4 16.6334 20.75 18.3334 20.75C19.9834 20.75 21.6834 21.05 23.0834 21.8C23.1834 21.85 23.2334 21.85 23.3334 21.85C23.5834 21.85 23.8334 21.6 23.8334 21.35V6.75Z"/>\n</svg>\n'},{name:"home",content:'<svg id=\'home\' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" >\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>\n</svg>\n'},{name:"hosted",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="hosted">\n    <path d="M21.034 4.3h-16.3c-1 0-1.8.9-1.8 1.9v11.6c0 1 .8 1.9 1.8 1.9h16.4c1 0 1.8-.9 1.8-1.9V6.2c0-1-.8-1.9-1.9-1.9Zm0 13.5h-16.3V6.2h16.4v11.6h-.1Z"/>\n    <path d="M19.234 9.1h-12.8V11h12.8V9.1ZM19.234 13h-12.8v1.9h12.8V13Z"/>\n</svg>\n'},{name:"hosted_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="hosted_circle">\n    <path d="M7.934 15.9h9.9v-7h-9.9v7Zm1-5.3h7.7v1.2h-7.7v-1.2Zm0 2.4h7.7v1.1h-7.7V13Z"/>\n    <path d="M12.834 2.1c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10Zm6.1 13.8c0 .6-.5 1.1-1.1 1.2h-9.9c-.6 0-1.1-.5-1.1-1.2v-7c0-.6.5-1.2 1.1-1.2h9.9c.6 0 1.1.5 1.1 1.2v7Z"/>\n</svg>\n'},{name:"image",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="image">\n    <path d="M21.834 19V5c0-1.1-.9-2-2-2h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2Zm-12.5-5.5 2.5 3.01 3.5-4.51 4.5 6h-14l3.5-4.5Z"/>\n</svg>\n'},{name:"incentive",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="incentive">\n    <path d="M19.834 5h-2V3h-10v2h-2c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94a5.01 5.01 0 0 0 3.61 2.96V19h-4v2h10v-2h-4v-3.1a5.01 5.01 0 0 0 3.61-2.96c2.47-.31 4.39-2.39 4.39-4.94V7c0-1.1-.9-2-2-2Zm-14 3V7h2v3.82c-1.16-.42-2-1.52-2-2.82Zm14 0c0 1.3-.84 2.4-2 2.82V7h2v1Z"/>\n</svg>\n'},{name:"incentive_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="incentive_circle">\n    <path d="M16.163 11.66c.77-.24 1.31-.94 1.33-1.75v-.62h-1.33v2.37ZM8.184 9.91c.02.81.56 1.51 1.33 1.75V9.29h-1.33v.62ZM14.823 8.05h-3.99v3.73c.05 1.06.94 1.89 2 1.86 1.07.03 1.96-.8 2-1.86h-.01V8.05Z"/>\n    <path d="M12.834 2.02c-5.51 0-9.98 4.47-9.98 9.98 0 5.51 4.47 9.98 9.98 9.98 5.51 0 9.98-4.47 9.98-9.98 0-5.51-4.47-9.98-9.98-9.98Zm5.99 7.89a3.178 3.178 0 0 1-2.92 3.07c-.45.97-1.35 1.65-2.4 1.84v1.93h2.66v1.24h-6.65v-1.24h2.65v-1.93a3.308 3.308 0 0 1-2.39-1.84 3.18 3.18 0 0 1-2.93-3.07v-.62c.03-.71.62-1.26 1.33-1.24h1.34V6.81h6.65v1.24h1.33c.71-.02 1.3.53 1.33 1.24v.62Z"/>\n</svg>\n'},{name:"info",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="info">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm1 15h-2v-6h2v6Zm0-8h-2V7h2v2Z"/>\n</svg>\n'},{name:"info_black_24dp",content:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/>
503\n</svg>\n'},{name:"integrations",content:'<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg" id="integrations">\n    <path d="M22.8334 12L18.8334 16L17.4234 14.59L19.0034 13H13.7734C13.4334 16.1 11.5134 18.72 8.83337 20.05C8.79337 21.69 7.47337 23 5.83337 23C4.17337 23 2.83337 21.66 2.83337 20C2.83337 18.34 4.17337 17 5.83337 17C6.78337 17 7.61337 17.45 8.16337 18.14C10.0634 17.11 11.4234 15.23 11.7434 13H8.64337C8.23337 14.16 7.13337 15 5.83337 15C4.17337 15 2.83337 13.66 2.83337 12C2.83337 10.34 4.17337 9 5.83337 9C7.13337 9 8.23337 9.84 8.65337 11H11.7534C11.4334 8.77 10.0634 6.9 8.16337 5.86C7.61337 6.55 6.78337 7 5.83337 7C4.17337 7 2.83337 5.66 2.83337 4C2.83337 2.34 4.17337 1 5.83337 1C7.47337 1 8.79337 2.31 8.82337 3.95C11.5034 5.28 13.4234 7.9 13.7634 11H18.9934L17.4134 9.41L18.8334 8L22.8334 12Z"/>\n</svg>\n'},{name:"jobs",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="jobs">\n    <path d="M10.833 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM11.183 13.01c-2.73-.1-8.35 1.26-8.35 3.99v2h9.54c-2.47-2.76-1.23-5.89-1.19-5.99ZM20.263 17.02c.36-.59.57-1.28.57-2.02 0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4c.74 0 1.43-.22 2.02-.57l2.57 2.57 1.41-1.41-2.57-2.57Zm-3.43-.02c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"/>\n</svg>\n'},{name:"like",content:'<svg viewBox="0 0 23 22" xmlns="http://www.w3.org/2000/svg" id="like">\n    <path d="M0.366455 20.5H4.36646V8.5H0.366455V20.5ZM22.3665 9.5C22.3665 8.4 21.4665 7.5 20.3665 7.5H14.0565L15.0065 2.93L15.0365 2.61C15.0365 2.2 14.8665 1.82 14.5965 1.55L13.5365 0.5L6.95646 7.09C6.58646 7.45 6.36646 7.95 6.36646 8.5V18.5C6.36646 19.6 7.26646 20.5 8.36646 20.5H17.3665C18.1965 20.5 18.9065 20 19.2065 19.28L22.2265 12.23C22.3165 12 22.3665 11.76 22.3665 11.5V9.5Z"/>\n</svg>\n'},{name:"link_reports",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="link_reports">\n    <path d="M4.734 12c0-1.71 1.39-3.1 3.1-3.1h4V7h-4c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9h-4c-1.71 0-3.1-1.39-3.1-3.1Zm4.1 1h8v-2h-8v2Zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.71-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Z"/>\n</svg>\n'},{name:"linkvertise_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="linkvertise_circle">\n    <path d="M12.834 2.1c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10Zm4.7 7.1c.1 0 .1 0 0 0V10.4l-2.6 2.6c0-.2.1-.3.1-.5V11.7l1.4-1.4 1.1-1.1Zm-1.7-1.9c-.1 0-.1 0 0 0l-2.3 2.3-1.3 1.3c-.2.2-.4.6-.4 1 0 .6.5 1.2 1.1 1.3h.4l-.7.7h-.1c-.6-.2-1-.6-1.3-1.1-.2-.3-.2-.7-.2-1 0-.6.2-1.1.6-1.4 1-1 2-2 2.9-3l.1-.1h1.2Zm-8.4 6c.2-.2.3-.5.4-.7V9c0-1 .7-1.8 1.6-1.9h4l1.2-.6h.1l-7.6 7.6.3-.8Zm.4 1.9v-1.3l2.9-2.9c0 .1-.1.2-.1.4-.1.3-.1.6 0 .8v.1c-.9 1-1.8 1.9-2.8 2.9Zm2 1.8.7-.7 2.4-2.4c.2-.2.5-.5.7-.8.3-.3.4-.9.2-1.3s-.6-.8-1-.8h-.4l.7-.7h.1c.3.1.6.3.9.6.8.9.8 2.2-.1 3.1l-1.5 1.5-1.6 1.6h-.1c-.2-.1-.6-.1-1-.1Zm8.5-6.4c-.1.3-.2.5-.4.8v3.7c0 1-.7 1.8-1.7 1.9h-3.9c-.5.2-1 .5-1.4.7l7.7-7.7-.3.6Z"/>\n</svg>\n'},{name:"linkvertise_links",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="linkvertise_links">\n    <path d="M8.833 21.104c.9-.383 1.7-.767 2.6-1.246h7c1.7-.287 2.9-1.629 2.9-3.258v-6.133c0-.096 0-.192.1-.288.2-.383.4-.862.7-1.246.1-.287.3-.479.4-.766-4.7 4.312-9.2 8.625-13.7 12.937Zm-6.6-6.42 13.4-12.842h-.1c-.7.287-1.4.67-2 .958-.1 0-.2.096-.3.096h-6.8c-1.7.192-2.9 1.629-2.9 3.258v5.942c0 .096 0 .191-.1.191-.4.671-.7 1.438-1.1 2.109 0 .096 0 .191-.1.287Zm9.4-5.08h.6c.9.096 1.5.575 1.8 1.438.3.862.2 1.629-.4 2.204l-1.2 1.15-2 1.916-3.5 3.355-.1.095h2.1s.1 0 .1-.095l2.9-2.78 2.6-2.491c.8-.767 1.2-1.63 1.2-2.684 0-1.533-1.1-2.97-2.7-3.45h-.2c-.3.384-.7.863-1.2 1.342.1-.096.1-.096 0 0Zm1.5 3.546h-.6c-1.1-.096-2-1.054-2-2.108 0-.575.2-1.15.7-1.63.7-.766 1.5-1.437 2.3-2.204l4-3.833s0-.096.1-.096H15.733c-.1 0-.2 0-.2.096-1.9 1.63-3.7 3.354-5.4 4.983-.7.671-1.1 1.534-1.1 2.396 0 .575.1 1.246.4 1.725.5.959 1.2 1.534 2.3 1.917h.1l1.3-1.246Zm-9.6 3.546c.1 0 .1 0 0 0l5-4.792c.1-.096.1-.096.1-.191-.1-.48-.1-1.055 0-1.534 0-.191.1-.287.1-.479l-5.1 4.888-.1.095v2.013Zm12.6-3.738 4.6-4.408s.1-.096.1-.192V6.442l-.1.096-2.6 2.491-1.8 1.725s-.1.096-.1.192c0 .191.1.383.1.575 0 .479-.1.958-.2 1.437Z"/>\n</svg>\n'},{name:"location",content:'<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg" id="location">\n    <path d="M12.8334 2C8.96337 2 5.83337 5.13 5.83337 9C5.83337 14.25 12.8334 22 12.8334 22C12.8334 22 19.8334 14.25 19.8334 9C19.8334 5.13 16.7034 2 12.8334 2ZM12.8334 11.5C11.4534 11.5 10.3334 10.38 10.3334 9C10.3334 7.62 11.4534 6.5 12.8334 6.5C14.2134 6.5 15.3334 7.62 15.3334 9C15.3334 10.38 14.2134 11.5 12.8334 11.5Z"/>\n</svg>\n'},{name:"lock",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="lock">\n    <path d="M18.834 8.5h-1v-2c0-2.76-2.24-5-5-5s-5 2.24-5 5v2h-1c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-10c0-1.1-.9-2-2-2Zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm3.1-9h-6.2v-2c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2Z"/>\n</svg>\n'},{name:"login",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="login">\n    <path d="M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5-5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8v14z"/>\n</svg>\n'},{name:"logout",content:'<svg id="logout" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" >\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"/>\n</svg>\n'},{name:"logs_notes",content:'<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg" id="logs_notes">\n<path d="M3.83337 9H17.8334V7H3.83337V9ZM3.83337 13H17.8334V11H3.83337V13ZM3.83337 17H17.8334V15H3.83337V17ZM19.8334 17H21.8334V15H19.8334V17ZM19.8334 7V9H21.8334V7H19.8334ZM19.8334 13H21.8334V11H19.8334V13Z"/>\n</svg>\n'},{name:"menu",content:'<svg id="menu" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 24 24" >\n    <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>\n</svg>\n'},{name:"mobile",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="mobile">\n    <path d="M16.834 1h-8a2.5 2.5 0 0 0-2.5 2.5v17a2.5 2.5 0 0 0 2.5 2.5h8a2.5 2.5 0 0 0 2.5-2.5v-17a2.5 2.5 0 0 0-2.5-2.5Zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5Zm4.5-4h-9V4h9v14Z"/>\n</svg>\n'},{name:"mobile_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="mobile_circle">\n    <path d="M15.533 7.3h-5.4v8.4h5.4V7.3ZM12.834 16.3c-.5 0-.9.4-.9.9s.4.8.9.8.9-.4.9-.9c0-.4-.4-.8-.9-.8Z"/>
503\n    <path d="M2.833 12c0-5.5 4.5-10 10-10s10 4.5 10 10-4.5 10-10 10-10-4.5-10-10Zm12.3 6.7c.8 0 1.5-.7 1.5-1.5 0 0 0-10.2.1-10.2 0-.8-.7-1.5-1.5-1.5h-4.8c-.8 0-1.5.7-1.5 1.5v10.2c0 .8.7 1.5 1.5 1.5h4.7Z" clip-rule="evenodd"/>\n</svg>\n'},{name:"monetized_geos_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="monetized_geos_circle">\n    <path d="m12.073 6.92-.2-.34-.37.12-.28-.12c0 .07-.41.32-.4.32l.41.24.84-.22ZM13.543 6.86l.59-.45-.41-.23-.63.35-.36.23.25.16.56-.06Z"/>\n    <path d="M12.833 2.11c-5.52 0-9.99 4.47-9.99 9.99 0 5.52 4.47 9.99 9.99 9.99 5.52 0 9.99-4.47 9.99-9.99 0-5.52-4.47-9.99-9.99-9.99Zm2.62 4.39-.22.03-.61-.09-.43.29-.3.33-1.1.1-.45-.07-.31.49-.91.05-.57-.16-.51.28-1.1.15-.88.26a6.142 6.142 0 0 1 7.39-1.66Zm-1.85 11.72a6.157 6.157 0 0 1-3.91-.8 6.17 6.17 0 0 1-2.2-8.45l.44-.1-.45.35.35.23h.7l1.03-.18.65 1.06v.99l.89 1.2h.15v-.42l.34.71 1.03.23.47.47.41.12-.41.86.45.84s.28.95.28.99c0 .04-.28 1.15-.28 1.15l.06.75Zm.7-.11.11-.41 1.06-.71.28-.76.73-.34.7-1.33-1.07-.63-.56-.63-.33-.04-.66-.18-.57-.09-.5.14-.3-.34-.3-.09.02-.45h-.37l-.21.25-.12-.51.48-.23.49.23h.26l.1-.39.74-.88 1.03-.52.59.07.05-.29-.74-.75-.28-.56h-.41l-.25-.15-.54-.08-.11.65-.66-.13-.05-.4.51-.11.17-.72.5.21v.31l.37.16.26.07.31-.16-.28-.33-.57-.56v-.27l.59.11.49.44.15.39.11.37.78.71.2.06.28-.44.99-.09.19-.06c.41.61.71 1.29.9 2.01.8 3.32-1.24 6.65-4.56 7.45Z"/>\n</svg>\n'},{name:"move",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="move">\n    <path d="m17.834 16.1 4-4-4-4 .002 3.292H7.83L7.834 8.1l-4 4 4 4V12.81h9.999V16.1Z"/>\n    <path d="m8.833 17.1 4 4 4-4-3.291.002V7.098l3.292.002-4-4-4 4h3.291v10H8.833Z"/>\n</svg>\n'},{name:"new",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="new">\n    <path d="m23.366 11.995-2.44-2.78.34-3.68-3.61-.82-1.89-3.18-3.4 1.46-3.4-1.46-1.89 3.18-3.61.81.34 3.68-2.44 2.79 2.44 2.78-.34 3.69 3.61.82 1.89 3.18 3.4-1.47 3.4 1.46 1.89-3.18 3.61-.82-.34-3.68 2.44-2.78Zm-10 5h-2v-2h2v2Zm0-4h-2v-6h2v6Z"/>\n</svg>\n'},{name:"notes_menu",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="notes_menu">\n    <path d="M6.833 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"/>\n</svg>\n'},{name:"notifications",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="notifications">\n    <path d="M12.833 21.75c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2Zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32v-.68c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-2.87.68-4.5 3.24-4.5 6.32v5l-2 2v1h16v-1l-2-2Z"/>\n</svg>\n'},{name:"open_in_full",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="open_in_full">\n    <path d="M21.834 11V3h-8l3.29 3.29-10 10L3.833 13v8h8l-3.29-3.29 10-10 3.29 3.29Z"/>\n</svg>\n'},{name:"open_in_new",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="open_in_new">\n    <path d="M19.834 19h-14V5h7V3h-7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7Zm-5-16v2h3.59l-9.83 9.83 1.41 1.41 9.83-9.83V10h2V3h-7Z"/>\n</svg>\n'},{name:"organic",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="organic">\n    <path d="M3.833 12c0-5.1 4.2-9 9-9h9v9c0 2.3-.8 4.6-2.6 6.4-1.8 1.7-4.1 2.6-6.4 2.6-2.1 0-4.1-.8-5.6-2l-2 2-1.4-1.4 2-2c-1.3-1.5-2-3.5-2-5.6Zm8.8-4.5c-3.5 2.4-5.3 9.5-5.3 9.5s2.4-4.8 5-7.5c2.7-3 6.6-3.5 6.6-3.5s-2.8-.9-6.3 1.5Z"/>\n</svg>\n'},{name:"organic_type_in",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="organic_type_in">\n    <path d="M21.834 3.6h-18c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-13c0-1.1-.9-2-2-2Zm-14 8v2h-2v-2h2Zm-2-2v-2h2v2h-2Zm6 2v2h-2v-2h2Zm-2-2v-2h2v2h-2Zm7 6v1h-8v-1h8Zm-1-4v2h-2v-2h2Zm-2-2v-2h2v2h-2Zm4 4v-2h2v2h-2Zm2-4h-2v-2h2v2Z"/>\n</svg>\n'},{name:"organic_type_in_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="organic_type_in_circle">\n    <path d="M12.834 2.1c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10Zm5.9 13.2c0 .6-.5 1.1-1.1 1.1h-9.7c-.6 0-1.1-.5-1.1-1.1v-7c0-.6.5-1.1 1.1-1.1h9.7c.6 0 1.1.5 1.1 1.1v7Z"/>\n    <path d="M7.934 15.3h9.7v-7h-9.7v7Zm7.5-5.9h1.1v1.1h-1.1V9.4Zm0 2.1h1.1v1.1h-1.1v-1.1Zm-2.1-2.1h1.1v1.1h-1.1V9.4Zm0 2.2h1.1v1.1h-1.1v-1.1Zm-2.2-2.2h1.1v1.1h-1.1V9.4Zm0 2.2h1.1v1.1h-1.1v-1.1Zm-.5 2.2h4.3v.5h-4.3v-.5Zm-1.6-4.4h1.1v1.1h-1.1V9.4Zm0 2.1h1.1v1.1h-1.1v-1.1Z"/>\n</svg>\n'},{name:"overview_all-circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="overview_all-circle">\n    <g clip-path="url(#a)">\n        <path d="M12.833 2c-5.6 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10Zm-5.37 15.16a1.04 1.04 0 1 1-.002-2.082 1.04 1.04 0 0 1 .002 2.082Zm0-4.14c-.57 0-1.04-.46-1.04-1.04 0-.58.46-1.04 1.04-1.04.58 0 1.04.46 1.04 1.04 0 .58-.46 1.04-1.04 1.04Zm0-4.14c-.57 0-1.04-.46-1.04-1.04 0-.58.46-1.04 1.04-1.04.58 0 1.04.46 1.04 1.04 0 .58-.46 1.04-1.04 1.04Zm11.76 7.94h-9.68v-1.38h9.68v1.38Zm0-4.14h-9.68V11.3h9.68v1.38Zm0-4.14h-9.68V7.16h9.68v1.38Z"/>\n    </g>\n    <defs>\n        <clipPath id="a">\n            <path d="M.833 0h24v24h-24z"/>\n        </clipPath>\n    </defs>\n</svg>\n'},{name:"overview_all",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="overview_all">\n    <path d="M5.083 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5Zm0-6c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5Zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5Zm3 2.5h14v-2h-14v2Zm0-6h14v-2h-14v2Zm0-8v2h14V5h-14Z"/>\n</svg>\n'},{name:"paid_native",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="paid_native">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm.88 15.76V19h-1.75v-1.29c-.74-.18-2.39-.77-3.02-2.96l1.65-.67c.06.22.58 2.09 2.4 2.09.93 0 1.98-.48 1.98-1.61 0-.96-.7-1.46-2.28-2.03-1.1-.39-3.35-1.03-3.35-3.31 0-.1.01-2.4 2.62-2.96V5h1.75v1.24c1.84.32 2.51 1.79 2.66 2.23l-1.58.67c-.11-.35-.59-1.34-1.9-1.34-.7 0-1.81.37-1.81 1.39 0 .95.86 1.31 2.64 1.9 2.4.83 3.01 2.05 3.01 3.45 0 2.63-2.5 3.13-3.02 3.22Z"/>\n</svg>\n'},{name:"paid_search_native",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="paid_search_native">\n    <path d="M12.834 2.12c-5.51 0-9.98 4.47-9.98 9.98 0 5.51 4.47 9.98 9.98 9.98 5.51 0 9.98-4.47 9.98-9.98 0-5.51-4.47-9.98-9.98-9.98Zm0 16.02c-3.34 0-6.05-2.71-6.05-6.05s2.71-6.05 6.05-6.05 6.05 2.72 6.05 6.05c0 3.33-2.71 6.05-6.05 6.05Z"/>\n    <path d="M12.834 7.26c-2.67 0-4.84 2.17-4.84 4.84s2.17 4.84 4.84 4.84 4.84-2.17 4.84-4.84-2.17-4.84-4.84-4.84Zm.53 8.29v.75h-1.06v-.78c-.9-.2-1.61-.9-1.83-1.79l1.01-.4c.14.7.74 1.22 1.45 1.27.56 0 1.2-.29 1.2-.97 0-.58-.42-.89-1.38-1.23-.67-.24-2.03-.63-2.03-2 .03-.9.7-1.66 1.59-1.79v-.76h1.06v.76c.74.12 1.36.64 1.61 1.35l-.96.41c-.16-.5-.63-.83-1.15-.81-.43 0-1.1.22-1.1.84 0 .57.52.79 1.6 1.15 1.45.5 1.82 1.24 1.82 2.05a2.01 2.01 0 0 1-1.83 1.95Z"/>\n</svg>\n'},{name:"partner",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="partner">\n    <path d="m8.853 18.12-4.44-3.87c-.21-.19-.33-.18-.52.04-.35.41-.71.81-1.06 1.22h-.01v.19l.15.15c1.83 1.6 3.67 3.2 5.5 4.8.21.18.33.17.51-.04.32-.35.63-.71.94-1.07.19-.22.18-.33-.04-.52-.34-.3-.69-.6-1.03-.9ZM21.793 14.31c-.2-.24-.31-.25-.55-.04l-4.14 3.6c-.45.39-.9.79-1.35 1.18-.17.14-.19.27-.07.42.34.41.7.82 1.06 1.22.11.12.24.12.37.03a849.454 849.454 0 0 0 4.65-4.05c.36-.31.74-.61 1.07-.96h.01v-.19c-.35-.41-.7-.81-1.05-1.21ZM18.283 13.1c.06-.13.12-.26.17-.39.21-.53.37-1.07.39-1.66.01-.29-.11-.5-.35-.67l-.02.02c-.05.07-.08.12-.11.16-.21.29-.45.56-.75.77-.06.05-.12.11-.21.05.03-.13.11-.23.18
503-.33.2-.3.41-.59.59-.9.19-.33.34-.66.4-1.04.07-.46-.1-.86-.47-1.05-.04.05-.09.1-.13.15-.24.26-.47.53-.75.75-.08.06-.15.15-.27.08-.02-.1.03-.18.07-.25.08-.14.17-.27.26-.4.21-.3.45-.57.68-.85.28-.33.31-.77.1-1.11-.19-.3-.48-.38-.77-.22-.37.19-.74.39-1.14.52-.09.02-.18.05-.28 0-.03-.15.08-.21.16-.27.34-.28.73-.49 1.12-.69.16-.08.25-.2.32-.36.29-.65-.1-1.34-.78-1.38-.17-.01-.34 0-.5.04-.76.18-1.51.42-2.24.71-.43.17-.85.35-1.23.63-.5.36-.99.71-1.51 1.04-.21.13-.42.27-.62.44.13.15.24.28.34.43.11.15.19.31.26.49.23.6.04 1.21-.47 1.56-.05.04-.11.05-.14.11.44.75.49 1.54-.43 2.04.12.47.12.93-.17 1.34-.31.43-.75.47-1.22.39-.06.13-.1.24-.16.35-.25.45-.61.69-1.12.63-.39-.04-.74-.2-1.05-.44-.04-.04-.08-.1-.16-.1-.15.21-.31.42-.47.64l4.24 3.88c.29-.36.57-.69.87-1 .44-.46.93-.8 1.55-.91.14-.02.28-.06.42-.09 1.57-.3 3-.94 4.33-1.84.48-.32.84-.73 1.07-1.27Z"/>\n    <path d="M15.903 18.29c1.54-1.35 3.04-2.66 4.56-3.98-.42-.4-.82-.78-1.22-1.17-.06.11-.12.23-.18.35-.2.37-.43.71-.77.95-1.24.87-2.56 1.56-4.02 1.98-.37.11-.74.18-1.15.28.41.21.8.39 1.21.51.57.17 1.03.48 1.43.91.05.05.08.1.14.17ZM8.253 10.47c.37.19.74.38 1.16.45.51.09.91-.29.84-.81-.05-.3-.2-.56-.33-.72-1.11-.51-2.11-1.02-2.77-2.04-.35.13-.58.37-.66.75-.07.3.01.57.17.82.41.64.92 1.18 1.59 1.55ZM9.023 6.06c.4.12.8.07 1.19-.05.43-.14.81-.39 1.2-.63.63-.39 1.19-.89 1.88-1.18v-.04h.01c-.39-.33-.78-.66-1.25-.87-.25-.1-.5-.09-.76 0-.32.11-.59.32-.83.56-.5.49-1 .97-1.5 1.46-.06.06-.11.12-.15.18-.19.29-.13.47.2.57h.01Z"/>\n    <path d="M8.033 7.69c.51.45 1.08.8 1.7 1.09.2.09.4.07.58-.05.37-.23.5-.63.34-1.03-.17-.43-.48-.76-.82-1.07-.07-.06-.14-.05-.22-.05-.38.02-.74-.04-1.07-.24-.24-.15-.33-.38-.3-.65.01-.08.04-.17.06-.28-.66.14-1 .65-.86 1.28.09.4.29.73.6 1h-.01ZM8.173 12.6c.21.1.43.13.65.13.36 0 .59-.18.69-.52.08-.27.04-.54-.06-.79-1.4-.3-2.44-1.08-3.21-2.27-.16.18-.25.38-.29.61-.1.52.08.97.37 1.39.47.67 1.12 1.12 1.85 1.45ZM6.913 13.51c.53.13.9-.09 1.03-.61-.81-.37-1.54-.87-2.04-1.62-.44.55-.44 1.17-.02 1.63.28.3.62.5 1.03.6Z"/>\n</svg>\n'},{name:"pause",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="pause">\n    <path d="M6.833 19h4V5h-4v14Zm8-14v14h4V5h-4Z"/>\n</svg>\n'},{name:"pause_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="pause_circle">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm-1 14h-2V8h2v8Zm4 0h-2V8h2v8Z"/>\n</svg>\n'},{name:"pause_circle_outlined",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="pause_circle_outlined">\n    <path d="M9.834 16h2V8h-2v8Zm3-14c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm1-4h2V8h-2v8Z"/>\n</svg>\n'},{name:"payouts",content:'<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg" id="payouts">\n<path d="M19.8334 14V6C19.8334 4.9 18.9334 4 17.8334 4H3.83337C2.73337 4 1.83337 4.9 1.83337 6V14C1.83337 15.1 2.73337 16 3.83337 16H17.8334C18.9334 16 19.8334 15.1 19.8334 14ZM10.8334 13C9.17337 13 7.83337 11.66 7.83337 10C7.83337 8.34 9.17337 7 10.8334 7C12.4934 7 13.8334 8.34 13.8334 10C13.8334 11.66 12.4934 13 10.8334 13ZM23.8334 7V18C23.8334 19.1 22.9334 20 21.8334 20H4.83337V18H21.8334V7H23.8334Z"/>\n</svg>\n'},{name:"pending",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="pending">\n  <path d="M12 2c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12 6.5 2 12 2z"/>\n  <path fill="none" d="M12 5.2c3.8 0 6.8 3 6.8 6.8s-3 6.8-6.8 6.8-6.8-3-6.8-6.8 3-6.8 6.8-6.8z"/>\n  <path fill="#fff"\n        d="M12 6c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6m0-.8c3.8 0 6.8 3 6.8 6.8s-3 6.8-6.8 6.8-6.8-3-6.8-6.8 3-6.8 6.8-6.8z"/>\n  <path fill="#fff" d="M15.402 14.109c.3.2.4.6.2.9-.4.6-1 .2-1 .2l-4-2.4v-4.5c0-.4.3-.7.7-.7s.7.3.7.7v3.7l3.4 2.1z"/>\n</svg>\n'},{name:"pending_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="pending_circle">\n    <path d="M12.823 2.1c-5.52 0-9.99 4.48-9.99 10s4.47 10 9.99 10c5.53 0 10.01-4.48 10.01-10s-4.48-10-10.01-10Zm3.3 14.71-4.29-4.3V7.1h2v4.59l3.71 3.71-1.42 1.41Z"/>\n</svg>\n'},{name:"pending_circle_outlined",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="pending_circle_outlined">\n    <path d="M12.823 2.1c-5.52 0-9.99 4.48-9.99 10s4.47 10 9.99 10c5.53 0 10.01-4.48 10.01-10s-4.48-10-10.01-10Zm.01 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13h-1.5v6l5.25 3.15.75-1.23-4.5-2.67V7.1Z"/>\n</svg>\n'},{name:"premium",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="premium">
503\n    <path d="m12.834 2.9-3.9 6.7-6.1-5.6 2.2 12.3h15.6l2.2-12.3-6.1 5.6-3.9-6.7Z"/>\n    <path d="M20.634 19.6c0 .6-.4 1.1-1 1.1h-13.5c-.6 0-1.1-.4-1.1-1v-1.2h15.6v1.1Z"/>\n</svg>\n'},{name:"presented",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="presented">\n    <path d="M12.357 2c-5.52 0-9.99 4.48-9.99 10s4.47 10 9.99 10c5.53 0 10.01-4.48 10.01-10s-4.48-10-10.01-10Zm4.24 16-4.23-2.55L8.136 18l1.12-4.81-3.73-3.23 4.92-.42L12.367 5l1.92 4.53 4.92.42-3.73 3.23 1.12 4.82Z"/>\n</svg>\n'},{name:"process",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="process">\n    <path d="M14.333 3.25c-4.97 0-9 3.918-9 8.75h-3l3.89 3.782.07.136L10.333 12h-3c0-3.762 3.13-6.806 7-6.806s7 3.044 7 6.806-3.13 6.806-7 6.806c-1.93 0-3.68-.768-4.94-2.003l-1.42 1.38a9.084 9.084 0 0 0 6.36 2.567c4.97 0 9-3.918 9-8.75s-4.03-8.75-9-8.75Zm-1 4.861v4.861l4.28 2.47.72-1.177-3.5-2.022V8.111h-1.5Z"/>\n</svg>\n'},{name:"profile",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="profile">\n    <path d="M12.833 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4Zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4Z"/>\n</svg>\n'},{name:"publisher",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="publisher">\n    <path d="M10 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1h-6v1ZM13 2C9.1 2 6 5.1 6 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7Zm4.16 7.5c-.22.22-.57.22-.79 0l-2.71-2.71V13a.555.555 0 0 1-1.11 0V6.79L9.83 9.5c-.22.22-.57.22-.78 0-.21-.22-.22-.57 0-.78l3.67-3.66c.22-.22.57-.22.78 0l3.67 3.67c.22.22.22.57 0 .78l-.01-.01Z"/>\n</svg>\n'},{name:"question_mark_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="question_mark_circle">>\n    <path d="M12.833 2.11c-5.52 0-9.99 4.47-9.99 9.99 0 5.52 4.47 9.99 9.99 9.99 5.52 0 9.99-4.47 9.99-9.99 0-5.52-4.47-9.99-9.99-9.99Zm1 16.98h-2v-2h2v2Zm2.06-7.74-.9.92c-.81.7-1.25 1.75-1.17 2.83h-2v-.5c0-1.06.42-2.08 1.17-2.83l1.24-1.26c.38-.37.59-.88.59-1.41a2 2 0 0 0-2-2c-1.11 0-2 .89-2 2h-1.99c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .85-.34 1.65-.94 2.25Z"/>\n</svg>\n'},{name:"refresh",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="refresh">\n    <path d="M18.478 6.35A7.958 7.958 0 0 0 12.828 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08a5.99 5.99 0 0 1-5.65 4c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13.828 11h7V4l-2.35 2.35Z"/>\n</svg>\n'},{name:"remove",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="remove">\n    <path d="M19.834 13h-14v-2h14v2Z"/>\n</svg>\n'},{name:"remove_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="remove_circle">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm5 11h-10v-2h10v2Z"/>\n</svg>\n'},{name:"report",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="report">\n    <path d="M12.834 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"/>\n</svg>\n'},{name:"search",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="search">\n    <path d="M16.588 14.255h-.79l-.28-.27a6.471 6.471 0 0 0 1.57-4.23 6.5 6.5 0 1 0-6.5 6.5c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99 1.49-1.49-4.99-5Zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5Z"/>\n</svg>\n'},{name:"search_box",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="search_box">\n    <g clip-path="url(#a)">\n        <path d="M19.834 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Z"/>\n        <path fill="#fff" d="m18.433 18.8-3.8-3.8c-.8.5-1.7.8-2.8.8-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5c0 1-.3 2-.8 2.8l3.8 3.8-1.4 1.4Zm-3.6-8c0-1.6-1.4-3-3-3s-3 1.4-3 3 1.4 3 3 3 3-1.4 3-3Z"/>\n    </g>\n    <defs>\n        <clipPath id="a">\n            <path fill="#fff" d="M.833 0h24v24h-24z"/>\n        </clipPath>\n    </defs>\n</svg>\n'},{name:"select_department",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="select_department">\n    <path fill="none" d="M0 0h24v24H0z"/>\n    <path d="M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 0 0-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/>\n</svg>\n'},{name:"send",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="send">\n    <path d="m2.344 21 20.99-9-20.99-9-.01 7 15 2-15 2 .01 7Z"/>\n</svg>\n'},{name:"settings",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="settings">\n    <path d="M19.973 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.488.488 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22l-1.91 3.32c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94 0 .31.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58Zm-7.14 2.66a3.61 3.61 0 0 1-3.6-3.6c0-1.98 1.62-3.6 3.6-3.6s3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6Z"/>\n</svg>\n'},{name:"shield",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 25">\n  <path d="M12 22.025c-2.317-.583-4.23-1.912-5.737-3.987C4.754 15.963 4 13.658 4 11.125v-6.1l8-3 8 3v6.1c0 2.534-.754 4.838-2.262 6.913-1.509 2.075-3.421 3.404-5.738 3.987Z"/>\n</svg>'},{name:"skip_next",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="skip_next">\n    <path d="m6.833 18.1 8.5-6-8.5-6v12Zm10-12v12h2v-12h-2Z"/>\n</svg>\n'},{name:"skip_previous",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="skip_previous">\n    <path d="M6.833 6.1h2v12h-2v-12Zm3.5 6 8.5 6v-12l-8.5 6Z"/>\n</svg>\n'},{name:"skype",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="skype">\n    <path d="M21.034 13.8c.1-.6.2-1.1.2-1.8 0-4.5-3.7-8.3-8.3-8.3-.6 0-1.1.1-1.8.2-2-1.6-4.8-1.1-6.3.8-1.2 1.6-1.2 3.8 0 5.5 0 .6-.1 1.2-.1 1.8 0 4.5 3.7 8.3 8.3 8.3.6 0 1.1-.1 1.8-.2 2 1.6 4.8 1.1 6.3-.8.6-.8.9-1.8.9-2.8 0-1-.4-2-1-2.7Zm-7.8 3.6c-2.6 0-4.9-1.1-4.9-2.6-.1-.6.4-1.1 1-1.2h.2c1.2 0 1.3 1.8 3.5 1.8 1 0 1.7-.4 1.7-1 0-.7-.6-.8-1.7-1.1-2.5-.6-4.8-.9-4.8-3.5 0-2.4 2.4
503-3.3 4.3-3.3 2.2 0 4.4.9 4.4 2.3 0 .6-.5 1.2-1.1 1.2h-.1c-1.1 0-1.1-1.3-3-1.3-1 0-1.7.3-1.7.9 0 .8.8.8 2.8 1.3 1.7.4 3.6 1 3.6 3.1.3 2.3-2 3.4-4.2 3.4Z"/>\n</svg>\n'},{name:"sort",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="sort">\n    <path d="M3.833 18h6v-2h-6v2Zm0-12v2h18V6h-18Zm0 7h12v-2h-12v2Z"/>\n</svg>\n'},{name:"statistic",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="statistic">\n    <path d="M8.833 9h-4v11h4V9ZM20.833 13h-4v7h4v-7ZM14.833 4h-4v16h4V4Z"/>\n</svg>\n'},{name:"submitted_circle_filled",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="submitted_circle_filled">\n    <path d="M12.834 2.1c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm1 10v4h-2v-4h-3l4-4 4 4h-3Z"/>\n</svg>\n'},{name:"submitted_circle_outlined",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="submitted_circle_outlined">\n    <path d="M12.834 20.1c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm0 2c5.52 0 10-4.48 10-10s-4.48-10-10-10-10 4.48-10 10 4.48 10 10 10Zm-1-10v4h2v-4h3l-4-4-4 4h3Z"/>\n</svg>\n'},{name:"support_ticket",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="support_ticket">\n    <path d="M12.833 1a9 9 0 0 0-9 9v7c0 1.66 1.34 3 3 3h3v-8h-4v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10a9 9 0 0 0-9-9Z"/>\n</svg>\n'},{name:"tablet",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="tablet">\n    <path d="M19.834 0h-14a2.5 2.5 0 0 0-2.5 2.5v19a2.5 2.5 0 0 0 2.5 2.5h14a2.5 2.5 0 0 0 2.5-2.5v-19a2.5 2.5 0 0 0-2.5-2.5Zm-7 23c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5Zm7.5-4h-15V3h15v16Z"/>\n</svg>\n'},{name:"tablet_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="tablet_circle">\n    <path d="M12.873 16.57c-.47 0-.85.37-.85.83 0 .46.38.83.85.83s.85-.38.85-.83c0-.45-.38-.83-.85-.83ZM17.123 7.17h-8.5v8.84h8.5V7.17Z"/>\n    <path d="M22.803 12.05c.07-5.45-4.39-9.92-9.97-10-5.58.08-10.04 4.56-9.97 10-.07 5.45 4.39 9.92 9.97 10 5.59-.08 10.05-4.55 9.97-10Zm-4.56 5.34c0 .76-.63 1.38-1.41 1.38h-7.93c-.79 0-1.42-.62-1.42-1.38V6.89c0-.76.64-1.38 1.42-1.38h7.93c.79 0 1.42.62 1.41 1.38v10.5Z"/>\n</svg>\n'},{name:"time_countdown",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="time_countdown">\n    <path d="M12.823 2c-5.52 0-9.99 4.48-9.99 10s4.47 10 9.99 10c5.53 0 10.01-4.48 10.01-10s-4.48-10-10.01-10Zm3.3 14.71-4.29-4.3V7h2v4.59l3.71 3.71-1.42 1.41Z"/>\n</svg>\n'},{name:"timer",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="timer">\n    <path d="M15.834 1.5h-6v2h6v-2ZM19.863 7.89l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42a8.962 8.962 0 0 0-5.62-1.98 9 9 0 0 0-9 9c0 4.97 4.02 9 9 9a8.994 8.994 0 0 0 7.03-14.61Zm-6.03 6.61h-2v-6h2v6Z"/>\n</svg>\n'},{name:"timeline",content:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" ><path d="M120-240q-33 0-56.5-23.5T40-320q0-33 23.5-56.5T120-400h10.5q4.5 0 9.5 2l182-182q-2-5-2-9.5V-600q0-33 23.5-56.5T400-680q33 0 56.5 23.5T480-600q0 2-2 20l102 102q5-2 9.5-2h21q4.5 0 9.5 2l142-142q-2-5-2-9.5V-640q0-33 23.5-56.5T840-720q33 0 56.5 23.5T920-640q0 33-23.5 56.5T840-560h-10.5q-4.5 0-9.5-2L678-420q2 5 2 9.5v10.5q0 33-23.5 56.5T600-320q-33 0-56.5-23.5T520-400v-10.5q0-4.5 2-9.5L420-522q-5 2-9.5 2H400q-2 0-20-2L198-340q2 5 2 9.5v10.5q0 33-23.5 56.5T120-240Z"/></svg>'},{name:"tipalti",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="tipalti">\n    <path d="M13.334 21.9c.62-.06 1.24-.21 1.82-.44.19-.07.33-.24.36-.44.07-.37.15-.73.22-1.09.05-.23.1-.46.13-.69.03-.18-.03
503-.23-.2-.17-.08.03-.17.06-.25.08-.59.19-1.2.32-1.81.4-.23.02-.46.02-.69 0-.1-.01-.2-.02-.31-.04-.53-.07-.97-.45-1.11-.96-.04-.23-.07-.47-.08-.71.03-.07 0-.14.02-.21.02-.17.04-.34.07-.5.1-.61.19-1.22.3-1.83.1-.54.21-1.08.32-1.61.11-.53.21-1.06.32-1.59 0-.09.07-.16.15-.17a.43.43 0 0 1 .16 0h3.04c.05 0 .11 0 .16-.01a.31.31 0 0 0 .23-.3c0-.05.02-.09.03-.14l.22-1.18c.02-.06.02-.12 0-.18-.06-.1-.15-.09-.25-.09h-3.18c-.15 0-.19-.03-.16-.17l.21-1.29c.08-.45.17-.91.26-1.36.02-.05.02-.1 0-.15a.2.2 0 0 0-.23-.14h-1.94c-.12-.02-.23.07-.25.19v.02c-.07.38-.14.76-.21 1.15-.1.51-.19 1.02-.29 1.53-.04.2-.08.24-.28.24h-2.04c-.18 0-.25.06-.29.23-.02.09-.03.19-.05.28-.07.39-.14.78-.21 1.16-.02.1 0 .18.1.21.63.02 1.24 0 1.86 0h.5c0 .1 0 .19-.02.29-.1.51-.21 1.01-.31 1.52-.12.62-.22 1.25-.32 1.88-.07.41-.15.81-.21 1.22-.05.3-.08.6-.11.9-.04.34-.07.69-.1 1.03-.01.08-.01.16 0 .24v.23s0 .1.03.15c.05.42.2.83.44 1.18.59.82 1.53 1.31 2.53 1.35l.41.03c.21.01.42.01.62 0l.38-.03.01-.02ZM18.284 4.83c-.05.7-.65 1.23-1.35 1.18-.22-.01-.43-.09-.61-.21-.29-.2-.56-.41-.81-.65-.6-.56-1.32-.96-2.11-1.18-.38-.1-.77-.14-1.15-.21-.24-.02-.47-.02-.71 0-1.21.08-2.36.57-3.26 1.39-.2.18-.38.39-.57.57-.07.07-.16.13-.25.16-.07.04-.16.01-.2-.06a.118.118 0 0 1-.01-.1c0-.1.03-.19.08-.28a7.057 7.057 0 0 1 4.77-3.37c1.49-.3 3.04-.14 4.43.48.48.2.92.5 1.28.88.26.27.43.61.48.97.02.14.02.28 0 .42"/>\n</svg>\n'},{name:"today",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="today">\n    <path d="M19.834 4h-1V2h-2v2h-8V2h-2v2h-1c-1.11 0-1.99.9-1.99 2l-.01 14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16h-14V9h14v11Zm-12-9h5v5h-5v-5Z"/>\n</svg>\n'},{name:"trash",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="trash">\n    <path d="M6.833 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7h-12v12Zm13-15h-3.5l-1-1h-5l-1 1h-3.5v2h14V4Z"/>\n</svg>\n'},{name:"trend",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="trend">\n    <path d="m12.366 13.9-2.13 2.09c-.56.56-.87 1.29-.87 2.07 0 1.62 1.35 2.94 3 2.94s3-1.32 3-2.94c0-.78-.31-1.52-.87-2.07l-2.13-2.09Z"/>\n    <path d="m16.366 7-.44.55c-1.18 1.47-3.56.64-3.56-1.25V3s-8 4-8 11c0 2.92 1.56 5.47 3.89 6.86-.56-.79-.89-1.76-.89-2.8 0-1.32.52-2.56 1.47-3.5l3.53-3.46 3.53 3.47c.95.93 1.47 2.17 1.47 3.5 0 1.02-.31 1.96-.85 2.75 1.89-1.15 3.29-3.06 3.71-5.3.66-3.55-1.07-6.9-3.86-8.52Z"/>\n</svg>\n'},{name:"trending_down-red",content:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 25 24" id="trending_down-red">\n    <path fill="#DC3545" d="m16.834 18 2.29-2.29-4.88-4.88-4 4-7.41-7.42L4.244 6l6 6 4-4 6.3 6.29 2.29-2.29v6h-6Z"/>\n</svg>\n'},{name:"trending_flat",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="trending_flat">\n    <path d="m22.334 12-4-4v3h-15v2h15v3l4-4Z"/>\n</svg>\n'},{name:"trending_up-green",content:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 25 24" id="trending_up-green">\n    <path fill="#28A745" d="m16.834 6 2.29 2.29-4.88 4.88-4-4-7.41 7.42L4.244 18l6-6 4 4 6.3-6.29 2.29 2.29V6h-6Z"/>\n</svg>\n'},{name:"twitter",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="twitter">\n    <path d="M20.133 8.1v.5c0 4.8-3.7 10.4-10.4 10.4-2 0-4-.6-5.6-1.6h.9c1.6 0 3.3-.5 4.6-1.6-1.6 0-2.9-1.1-3.4-2.5.2 0 .5.1.7.1.3 0 .6 0 1-.1-1.9-.4-3.1-1.9-3.1-3.6.5.3 1.1.4 1.7.5-1.7-1.2-2.2-3.3-1.2-5 1.9 2.3 4.6 3.7 7.6 3.8-.1-.3-.1-.5-.1-.8 0-2 1.6-3.7 3.7-3.7 1 0 2 .4 2.7 1.2.8-.2 1.6-.5 2.3-.9-.3.8-.8 1.6-1.6 2 .7-.1 1.4-.3 2.1-.6-.5.8-1.2 1.4-1.9 1.9Z"/>\n</svg>\n'},{name:"upload",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="upload">\n    <path d="M5.833 20.5h14v-2h-14v2Zm0-10h4v6h6v-6h4l-7-7-7 7Z"/>\n</svg>\n'},{name:"users_team_employee",content:'<svg viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg" id="users_team_employee">\n    <path fill-rule="evenodd" clip-rule="evenodd"\n          d="M17.5034 13.13C18.8734 14.06 19.8334 15.32 19.8334 17V20H23.8334V17C23.8334 14.82 20.2634 13.53 17.5034 13.13Z"/>\n    <path d="M9.83337 12C12.0425 12 13.8334 10.2091 13.8334 8C13.8334 5.79086 12.0425 4 9.83337 4C7.62424 4 5.83337 5.79086 5.83337 8C5.83337 10.2091 7.62424 12 9.83337 12Z"/>\n    <path fill-rule="evenodd" clip-rule="evenodd"\n          d="M15.8334 12C18.0434 12 19.8334 10.21 19.8334 8C19.8334 5.79 18.0434 4 15.8334 4C15.3634 4 14.9234 4.1 14.5034 4.24C15.3334 5.27 15.8334 6.58 15.8334 8C15.8334 9.42 15.3334 10.73 14.5034 11.76C14.9234 11.9 15.3634 12 15.8334 12Z"/>\n    <path fill-rule="evenodd" clip-rule="evenodd"\n          d="M9.83337 13C7.16337 13 1.83337 14.34 1.83337 17V20H17.8334V17C17.8334 14.34 12.5034 13 9.83337 13Z"/>\n</svg>\n'},{name:"visibility",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="visibility">\n    <path d="M12.834 4.5c-5 0-9.27 3.11-11 7.5 1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5Zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5Zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3Z"/>\n</svg>\n'},{name:"visibility_off",content:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.0049 7C14.7649 7 17.0049 9.24 17.0049 12C17.0049 12.65 16.8749 13.26 16.6449 13.83L19.5649 16.75C21.0749 15.49 22.2649 13.86 22.9949 12C21.2649 7.61 16.9949 4.5 11.9949 4.5C10.5949 4.5 9.25488 4.75 8.01488 5.2L10.1749 7.36C10.7449 7.13 11.3549 7 12.0049 7ZM2.00488 4.27L4.28488 6.55L4.74488 7.01C3.08488 8.3 1.78488 10.02 1.00488 12C2.73488 16.39 7.00488 19.5 12.0049 19.5C13.5549 19.5 15.0349 19.2 16.3849 18.66L16.8049 19.08L19.7349 22L21.0049 20.73L3.27488 3L2.00488 4.27ZM7.53488 9.8L9.08488 11.35C9.03488 11.56 9.00488 11.78 9.00488 12C9.00488 13.66 10.3449 15 12.0049 15C12.2249 15 12.4449 14.97 12.6549 14.92L14.2049 16.47C13.5349 16.8 12.7949 17 12.0049 17C9.24488 17 7.00488 14.76 7.00488 12C7.00488 11.21 7.20488 10.47 7.53488 9.8ZM11.8449 9.02L14.9949 12.17L15.0149 12.01C15.0149 10.35 13.6749 9.01 12.0149 9.01L11.8449 9.02Z" fill="#262626"/> </svg>'},{name:"warning-orange",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="none" id="warning-orange">\n    <path fill="#FF8114" d="M1.833 21.5h22l-11-19-11 19Zm12-3h-2v-2h2v2Zm0-4h-2v-4h2v4Z"/>\n</svg>\n'},{name:"warning-red",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="none" id="warning-red">\n    <path fill="#DC3545" d="M1.833 21.5h22l-11-19-11 19Zm12-3h-2v-2h2v2Zm0-4h-2v-4h2v4Z"/>\n</svg>\n'},{name:"warning",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="warning">\n    <path d="M1.833 21.5h22l-11-19-11 19Zm12-3h-2v-2h2v2Zm0-4h-2v-4h2v4Z"/>\n</svg>\n'},{name:"yahoo",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="yahoo">\n    <path d="m14.733 11.98.19-.46.71-1.71 1.62-3.92.32-.77c.108-.257.215-.515.32-.7
5037l.236-.568c.135-.325.272-.654.404-.982 0-.05.06-.09.12-.08h4.19c-.05.13-.1.25-.15.36-.202.493-.408.986-.613 1.476l-.001.002-.356.852c-.37.89-.74 1.78-1.1 2.67-.132.323-.266.646-.4.97-.191.457-.382.917-.57 1.38-.16.384-.316.762-.475 1.148l-.145.352c0 .04-.04.06-.08.06h-4.22v-.01ZM5.644 21.28l.61-1.46.74-1.76c.03-.075.062-.15.095-.225l.095-.225v-.11c-.33-.79-.67-1.59-1.01-2.38l-.354-.837c-.206-.486-.414-.975-.617-1.463l-.93-2.19c-.114-.275-.232-.55-.35-.825-.117-.275-.235-.55-.35-.825l-.72-1.69s0-.03-.02-.05h3.82s.1.02.11.08c.37.96.74 1.91 1.11 2.86.34.87.68 1.74 1.02 2.62.028.064.054.131.08.2.03.08.063.164.1.25l.023-.043a.381.381 0 0 0 .037-.087l.82-2.08.83-2.05c.11-.28.223-.562.335-.844.113-.283.226-.566.335-.846.02-.05.05-.05.09-.05h3.75l-.19.45-.99 2.4-.75 1.8-.43 1.035c-.142.345-.284.69-.43 1.035l-.85 2.06-.89 2.15-.99 2.4-.28.69v.03h-3.84v-.02h-.01ZM17.594 13.65c-.46-.5-1.11-.78-1.78-.76-.034 0-.075.005-.117.01a2.21 2.21 0 0 0-1.003.28 2.41 2.41 0 0 0-1.23 2.58c.09.52.36.99.76 1.33.55.48 1.3.67 2.01.52.58-.09 1.11-.41 1.46-.89.41-.53.58-1.21.47-1.87-.07-.45-.26-.87-.57-1.2Z"/>\n</svg>\n'},{name:"yahoo_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="yahoo_circle">\n    <path d="M12.833 2.11c-5.52 0-9.99 4.47-9.99 9.99 0 5.52 4.47 9.99 9.99 9.99 5.52 0 9.99-4.47 9.99-9.99 0-5.52-4.47-9.99-9.99-9.99Zm-.21 11.01-.53 1.28-.56 1.34-.63 1.52-.18.43v.02h-2.39l.38-.92.46-1.1c.04-.09.08-.19.12-.28.01-.02.01-.05 0-.07-.21-.5-.42-.99-.63-1.49-.2-.48-.4-.96-.61-1.43-.19-.45-.39-.91-.58-1.36-.14-.34-.29-.69-.43-1.03l-.44-1.06s-.01-.02-.01-.03h2.39s.06.02.07.05c.23.6.46 1.19.7 1.79l.64 1.63.11.28.04-.08.51-1.3.51-1.29c.14-.35.28-.7.42-1.06 0-.03.03-.03.06-.03h2.33l-.12.28c-.21.5-.41 1-.62 1.5-.16.37-.31.75-.47 1.12l-.54 1.29Zm3.24 1.73c-.22.3-.55.5-.91.56-.45.09-.91-.03-1.25-.32-.25-.21-.42-.51-.48-.83-.02-.08-.02-.17-.03-.25a1.52 1.52 0 0 1 1.34-1.54c.06 0 .12-.01.16-.01h.16c.19.02.37.07.54.15.02 0 .03.02.05.02a1.492 1.492 0 0 1 .37.28c.11.13.2.27.26.43.03.09.06.17.08.27v.06a1.578 1.578 0 0 1-.29 1.18Zm3.13-8.53-.6 1.46-.69 1.67c-.2.49-.41.98-.61 1.47l-.39.93v.02c-.01.02-.03.04-.05.04h-2.61l-.02-.02.12-.29.44-1.07.4-.96.61-1.48c.13-.32.27-.64.4-.96.13-.32.27-.64.4-.97v-.01c0-.03.04-.05.07-.05h2.62c-.03.08-.06.16-.09.23v-.01Z"/>\n</svg>\n'},{name:"yandex",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="yandex">\n    <path d="M17.484 3.25c.12.06.14.11.09.26-.16.44-.32.89-.49 1.33-1.2 3.29-2.4 6.58-3.6 9.86-.02.06-.03.13-.03.2v5.71c0 .09-.05.14-.14.14h-1.38a.14.14 0 0 1-.14-.12v-5.8c0-.06-.01-.12-.03-.18l-3.66-9.57c-.05-.09-.02-.2.07-.25.04-.02.08-.03.12-.02h1.39c.13-.02.26.07.28.2.69 1.96 1.37 3.91 2.06 5.87.23.64.47 1.28.7 1.92 0 .03.02.05.04.1.03-.11.05-.18.07-.27.44-1.81 1.05-3.57 1.62-5.34.42-1.3.84-2.59 1.26-3.89.03-.08.09-.14.18-.17h1.58l.01.02Z"/>\n</svg>\n'},{name:"yandex_circle",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25" id="yandex_circle">\n    <path d="M12.833 2.11c-5.52 0-9.99 4.47-9.99 9.99 0 5.52 4.47 9.99 9.99 9.99 5.52 0 9.99-4.47 9.99-9.99 0-5.52-4.47-9.99-9.99-9.99Zm3.47 3.76c-.12.32-.24.65-.36.98-.88 2.42-1.76 4.83-2.64 7.24-.02.05-.03.09-.03.14v4.19c0 .07-.04.1-.1.1h-1.01s-.1-.03-.1-.08v-4.25s0-.09-.03-.13c-.9-2.34-1.79-4.68-2.69-7.02a.13.13 0 0 1 .04-.18c.03-.02.07-.02.1-.02h1.02c.1 0 .19.05.2.15.5 1.43 1 2.87 1.51 4.3.17.47.34.94.52 1.41 0 .02.02.04.03.08.02-.08.04-.13.05-.2.32-1.33.77-2.62 1.19-3.92.31-.95.62-1.9.92-2.85.02-.06.07-.1.13-.12h1.19c.09.04.11.07.06.18Z"/>\n</svg>\n'},{name:"youtube",content:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" id="youtube">\n    <path fill="#fff" d="M6 6h14v11H6z"/>\n    <path d="M21.934 8c.1-1.5-1.1-2.8-2.6-2.9-2-.1-3.9-.1-6-.1h-.6c-2 0-4 0-6 .1-1.4 0-2.6 1.3-2.6 2.9-.1 1.3-.1 2.5-.1 3.8 0 1.3 0 2.5.1 3.8 0 1.6 1.2 2.9 2.6 2.9 2.1.1 4.2.1 6.3.1 2.1 0 4.2 0 6.3-.1 1.4 0 2.6-1.3 2.6-2.9.1-1.3.1-2.5.1-3.8.1-1.3 0-2.6-.1-3.8Zm-10.6 7.2V8.3l5.1 3.5-5.1 3.4Z"/>\n</svg>\n'},{name:"paid",content:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000"><path d="M444-200h70v-50q50-9 86-39t36-89q0-42-24-77t-96-61q-60-20-83-35t-23-41q0-26 18.5-41t53.5-15q32 0 50 15.5t26 38.5l64-26q-11-35-40.5-61T516-710v-50h-70v50q-50 11-78 44t-28 74q0 47 27.5 76t86.5 50q63 23 87.5 41t24.5 47q0 33-23.5 48.5T486-314q-33 0-58.5-20.5T390-396l-66 26q14 48 43.5 77.5T444-252v52Zm36 120q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q
503-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>'},{name:"group_add",content:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000"><path d="M500-482q29-32 44.5-73t15.5-85q0-44-15.5-85T500-798q60 8 100 53t40 105q0 60-40 105t-100 53Zm220 322v-120q0-36-16-68.5T662-406q51 18 94.5 46.5T800-280v120h-80Zm80-280v-80h-80v-80h80v-80h80v80h80v80h-80v80h-80Zm-480-40q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM0-160v-112q0-34 17.5-62.5T64-378q62-31 126-46.5T320-440q66 0 130 15.5T576-378q29 15 46.5 43.5T640-272v112H0Zm320-400q33 0 56.5-23.5T400-640q0-33-23.5-56.5T320-720q-33 0-56.5 23.5T240-640q0 33 23.5 56.5T320-560ZM80-240h480v-32q0-11-5.5-20T540-306q-54-27-109-40.5T320-360q-56 0-111 13.5T100-306q-9 5-14.5 14T80-272v32Zm240-400Zm0 400Z"/></svg>'},{name:"download",content:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#fff"><path d="M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"/></svg>'},{name:"file_copy",content:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#fff"><path d="M160-40q-33 0-56.5-23.5T80-120v-560h80v560h440v80H160Zm160-160q-33 0-56.5-23.5T240-280v
503-560q0-33 23.5-56.5T320-920h280l240 240v400q0 33-23.5 56.5T760-200H320Zm240-440h200L560-840v200Z"/></svg>'},{name:"how_to_reg",content:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000"><path d="M80-160v-112q0-33 17-62t47-44q51-26 115-44t141-18q30 0 58.5 3t55.5 9l-70 70q-11-2-21.5-2H400q-71 0-127.5 17T180-306q-9 5-14.5 14t-5.5 20v32h250l80 80H80Zm542 16L484-282l56-56 82 82 202-202 56 56-258 258ZM400-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm10 240Zm-10-320q33 0 56.5-23.5T480-640q0-33-23.5-56.5T400-720q-33 0-56.5 23.5T320-640q0 33 23.5 56.5T400-560Zm0-80Z"/></svg>'}];let it=(()=>{class Ee{constructor(){this.matIconRegistry=(0,C.WQX)(Mt.tp),this.domSanitizer=(0,C.WQX)(Oe.up),o.forEach(ve=>{this.matIconRegistry.addSvgIconLiteral(ve.name,this.domSanitizer.bypassSecurityTrustHtml(ve.content))})}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275prov=C.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}}return Ee})();const nn=["*"];let tn=(()=>{class Ee{constructor(){this.iconName=h.hFB.required(),this.color=(0,h.hFB)("default"),this.size=(0,h.hFB)("md"),this.iconService=(0,C.WQX)(it)}handleSize(ve){switch(ve){case"sm":return"1rem";case"md":default:return"1.5rem";case"lg":return"2rem";case"xl":return"2.5rem"}}handleColorClass(ve){const Pe="icon icon-color--";switch(ve){case"primary":return`${Pe}primary`;case"success":return`${Pe}success`;case"danger":return`${Pe}danger`;case"secondary":return`${Pe}secondary`;case"warning":return`${Pe}warning`;case"white":return`${Pe}white`;default:return`${Pe}default`}}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-icon"]],inputs:{iconName:[1,"iconName"],color:[1,"color"],size:[1,"size"]},ngContentSelectors:nn,decls:2,vars:6,consts:[[3,"svgIcon","ngClass"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.j41(0,"mat-icon",0),c.SdG(1),c.k0s()),2&Pe&&(c.xc7("height",je.handleSize(je.size()))("width",je.handleSize(je.size())),c.Y8G("svgIcon",je.iconName())("ngClass",je.handleColorClass(je.color())))},dependencies:[Rt.An,ge.YU],styles:[".icon[_ngcontent-%COMP%]{display:flex}.icon-color[_ngcontent-%COMP%]{fill:var(--lv-black)}.icon-color--primary[_ngcontent-%COMP%]{fill:var(--lv-primary)}.icon-color--secondary[_ngcontent-%COMP%]{fill:var(--lv-secondary)}.icon-color--success[_ngcontent-%COMP%]{fill:var(--lv-success)}.icon-color--danger[_ngcontent-%COMP%]{fill:var(--lv-red)}.icon-color--warning[_ngcontent-%COMP%]{fill:var(--lv-warning)}.icon-color--info[_ngcontent-%COMP%]{fill:var(--lv-info)}.icon-color--white[_ngcontent-%COMP%]{fill:var(--lv-white)}"],changeDetection:0})}}return Ee})();const xn=(Ee,xe)=>xe.key;function bn(Ee,xe){if(1&Ee&&(c.j41(0,"div",4),c.EFF(1),c.k0s()),2&Ee){const ve=xe.$implicit;c.R7$(),c.JRh(ve)}}function pr(Ee,xe){if(1&Ee&&(c.j41(0,"div",1)(1,"div",3),c.Z7z(2,bn,2,1,"div",4,c.fX1),c.k0s()()),2&Ee){const ve=c.XpG().$implicit,Pe=c.XpG();c.R7$(),c.xc7("transform",Pe.getDigitWheelTransform(ve.to)),c.R7$(),c.Dyx(Pe.digitOptions)}}function Tr(Ee,xe){1&Ee&&(c.j41(0,"div",2),c.EFF(1,"."),c.k0s())}function ir(Ee,xe){1&Ee&&c.nVh(0,pr,4,2,"div",1)(1,Tr,2,0,"div",2),2&Ee&&c.vxM(xe.$implicit.isSeparator?1:0)}let Kr=(()=>{class Ee{constructor(){this.fontSize=(0,h.hFB)("1rem"),this.color=(0,h.hFB)("orange"),this.targetValue=(0,h.hFB)(0,{transform:ve=>Math.round(ve)}),this.currentValue=(0,C.vPA)(this.targetValue()),this.hasInitialized=(0,C.vPA)(!1),this.formattedDigits=(0,v.EW)(()=>{const Pe=this.currentValue().toString().split(""),je=Pe.length;return Pe.flatMap((Qt,hn)=>{const Ln=[{to:parseInt(Qt,10),key:hn,isSeparator:!1}];return!(hn===je-1)&&(je-hn-1)%3==0&&Ln.push({to:null,key:je+hn,isSeparator:!0}),Ln})}),this.digitOptions=[...Array(2)].flatMap(()=>[...Array(10)].map((ve,Pe)=>(9-Pe).toString())),this.setupReactiveUpdates()}setupReactiveUpdates(){(0,C.QZP)(()=>{const ve=this.targetValue();(0,v.O8)(()=>{if(!this.hasInitialized())return this.currentValue.set(ve),void this.hasInitialized.set(!0);this.currentValue()!==ve&&this.currentValue.set(ve)})})}getDigitWheelTransform(ve){return null===ve?"":`translateY(-${1.5*(9-ve)}em)`}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-odometer"]],inputs:{fontSize:[1,"fontSize"],color:[1,"color"],targetValue:[1,"targetValue"]},decls:3,vars:3,consts:[[1,"odometer",3,"ngClass"],[1,"digit"],[1,"separator"],[1,"digit-wheel"],[1,"digit-value"]],template:function(Pe,je){1&Pe&&(c.j41(0,"div",0),c.Z7z(1,ir,2,1,null,null,xn),c.k0s()),2&Pe&&(c.xc7("font-size",je.fontSize()),c.Y8G("ngClass",je.color()),c.R7$(),c.Dyx(je.formattedDigits()))},dependencies:[ge.YU],styles:[".odometer[_ngcontent-%COMP%]{display:inline-flex;align-items:flex-end;font-family:Roboto,serif;
503font-weight:var(--lv-font-weight-medium)}.odometer.orange[_ngcontent-%COMP%]{color:var(--lv-orange)}.odometer.white[_ngcontent-%COMP%]{color:var(--lv-white)}.odometer.black[_ngcontent-%COMP%]{color:var(--lv-black)}.odometer.darkgrey[_ngcontent-%COMP%]{color:var(--lv-darkgrey)}.odometer.green[_ngcontent-%COMP%]{color:var(--lv-green)}.odometer.blue[_ngcontent-%COMP%]{color:var(--lv-blue)}.odometer.red[_ngcontent-%COMP%]{color:var(--lv-red)}.digit[_ngcontent-%COMP%]{width:1ch;height:1.5em;overflow:hidden;position:relative}.digit[_ngcontent-%COMP%]   .digit-wheel[_ngcontent-%COMP%]{display:flex;flex-direction:column;transition:transform 1s ease-out;will-change:transform}.digit[_ngcontent-%COMP%]   .digit-value[_ngcontent-%COMP%]{display:flex;align-items:center;height:1.5em}.separator[_ngcontent-%COMP%]{line-height:var(--lv-line-height-xl);width:auto}"],changeDetection:0})}}return Ee})();var _r=i(9183);let en=(()=>{class Ee{constructor(){this.maxLength=(0,h.hFB)(1e3),this.actualLength=(0,h.hFB)(0),this.showRemainingCharacters=(0,h.hFB)(1),this.strokeWidth=(0,h.hFB)(8),this.strokeColor="",this.color="",this.overflow=null,this.percent=1,this.red="circle-red",this.orange="circle-orange",this.light="circle-light"}ngOnChanges(){this.dataCalculation()}dataCalculation(){this.color=this.light,this.percent=this.actualLength()/this.maxLength()*100,this.overflow=null,this.actualLength()>=this.maxLength()-this.showRemainingCharacters()&&(this.overflow=this.maxLength()-this.actualLength(),this.color=this.orange),this.actualLength()>=this.maxLength()&&(this.color=this.red,this.overflow=0),this.strokeColor=this.actualLength()<=this.maxLength()+this.showRemainingCharacters()?this.color:""}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-progress-circle-small"]],inputs:{maxLength:[1,"maxLength"],actualLength:[1,"actualLength"],showRemainingCharacters:[1,"showRemainingCharacters"],strokeWidth:[1,"strokeWidth"]},features:[c.OA$],decls:4,vars:8,consts:[[1,"progress-spinner-small-wrapper"],[3,"value","mode","strokeWidth"]],template:function(Pe,je){1&Pe&&(c.j41(0,"div",0),c.nrm(1,"mat-progress-spinner",1),c.j41(2,"p"),c.EFF(3),c.k0s()()),2&Pe&&(c.R7$(),c.HbH(je.strokeColor),c.Y8G("value",je.percent)("mode","determinate")("strokeWidth",je.strokeWidth()),c.R7$(),c.HbH(je.color),c.R7$(),c.JRh(je.overflow))},dependencies:[_r.LG],styles:["lv-lib-progress-circle-small p.circle-red{color:var(--lv-red)}lv-lib-progress-circle-small p.circle-orange{color:var(--lv-orange)}lv-lib-progress-circle-small p.circle-light{color:var(--lv-light)}lv-lib-progress-circle-small .progress-spinner-small-wrapper{width:var(--lv-sizing-2xl)!important;height:var(--lv-sizing-2xl)!important;display:flex;align-items:center;justify-content:center;pointer-events:none;-webkit-user-select:none;user-select:none;border-radius:var(--lv-sizing-pct-50)}lv-lib-progress-circle-small .progress-spinner-small-wrapper mat-progress-spinner{max-width:var(--lv-sizing-pct-100);max-height:var(--lv-sizing-pct-100)}lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-red{position:absolute}lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-red .mdc-circular-progress__determinate-circle,lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-red .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--lv-red)!important}lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-orange{position:absolute}lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-orange .mdc-circular-progress__determinate-circle,lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-orange .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--lv-orange)!important}lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-light{position:absolute}lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-light .mdc-circular-progress__determinate-circle,lv-lib-progress-circle-small .progress-spinner-small-wrapper .circle-light .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--lv-light)!important}\n"],encapsulation:2})}}return Ee})();const Bn=["*"];let Xe=(()=>{class Ee{constructor(){this.borderRadius=(0,h.hFB)("sm"),this.pulseRepeat=(0,h.hFB)("infinite"),this.classes=(0,v.EW)(()=>[`pulse-animation-${this.pulseRepeat()}`,`border-radius-${this.borderRadius()}`])}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275cmp=c.VBU({type:Ee,selectors:[["lv-lib-pulse-effect-container"]],inputs:{borderRadius:[1,"borderRadius"],pulseRepeat:[1,"pulseRepeat"]},ngContentSelectors:Bn,decls:2,vars:2,consts:[[1,"pulse-effect-container"]],template:function(Pe,je){1&Pe&&(c.NAR(),c.rj2(0,"div",0),c.SdG(1),c.eux()),2&Pe&&c.HbH(je.classes())},styles:["@keyframes _ngcontent-%COMP%_pulse{0%{box-shadow:0 0 #ff8114}to{box-shadow:0 0 0 var(--lv-spacing-2xs) #ff811433}}.pulse-effect-container[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);height:var(--lv-sizing-pct-100);display:inline-block;position:relative}.pulse-effect-container.border-radius-sm[_ngcontent-%COMP%]{border-radius:var(--lv-border-radius-xs)}.pulse-effect-container.border-radius-full[_ngcontent-%COMP%]{border-radius:var(--lv-border-radius-full)}.pulse-animation-1[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 1 alternate}.pulse-animation-2[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 2 alternate}.pulse-animation-3[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 3 alternate}
503.pulse-animation-4[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 4 alternate}.pulse-animation-5[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 5 alternate}.pulse-animation-6[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 6 alternate}.pulse-animation-7[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 7 alternate}.pulse-animation-8[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 8 alternate}.pulse-animation-9[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 9 alternate}.pulse-animation-10[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s 10 alternate}.pulse-animation-infinite[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s linear 1s infinite alternate}"]})}}return Ee})();var F=function(Ee){return Ee.white="white",Ee.primary="primary",Ee.success="success",Ee.danger="danger",Ee.default="default",Ee.secondary="secondary",Ee}(F||{}),Z=i(5057),Re=i(6939);let ct=(()=>{class Ee{constructor(){this.overlay=(0,C.WQX)(Z.hJ),this.injector=(0,C.WQX)(C.zZn),this.document=(0,C.WQX)(C.qQL),this.rendererFactory=(0,C.WQX)(c._9s),this.renderer=this.rendererFactory.createRenderer(null,null),this._openDialogsAtThisLevel=[]}open(ve,Pe){const je=this.overlay.position().global().centerHorizontally().centerVertically(),hn=("overlay-panel-custom"+(Pe?.panelClass?` ${Pe.panelClass}`:"")).split(" "),Ln=this.overlay.create({positionStrategy:je,hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),backdropClass:"overlay-backdrop",panelClass:hn}),$n=this.renderer.createElement("style");this.renderer.appendChild($n,this.renderer.createText(`\n      .overlay-panel-custom {\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        animation: slideIn cubic-bezier(0.4, 0, 0.2, 1) ${Pe?.animationDuration??300}ms;\n        ${Pe?.width?`width: ${Pe.width};`:""}\n        ${Pe?.height?`height: ${Pe.height};`:""}\n    }\n\n        @media screen and (max-width: 768px) {\n          .overlay-panel-custom {\n            position: absolute !important;\n            overflow: hidden;\n            bottom: env(safe-area-inset-bottom, 0);\n            padding-top: env(safe-area-inset-top, 0);\n          }\n        }\n\n        @keyframes slideIn {\n          0% {\n          transform: translateY(20px);\n        }\n          100% {\n          transform: translateY(0);\n          }\n        }\n\n\n        .overlay-backdrop {\n        background-color: rgba(0, 0, 0, 0.5);\n        transition: opacity ${Pe?.backdropDuration??300}ms cubic-bezier(0.25, 0.8, 0.25, 1) !important;\n\n\n        @media screen and (max-width: 768px) {\n          background-color: rgba(0, 0, 0, 0.8);\n        }\n       } \n      `)),this.renderer.appendChild(this.document.head,$n);const fr=Pe?.backdropClickClose??!0,Or=new Lt(Ln);Ln.backdropClick().subscribe(()=>{fr&&(Ln.dispose(),Or.close())});const Br=C.zZn.create({parent:this.injector,providers:[{provide:Lt,useValue:Or},{provide:tt,useValue:Pe?.data}]}),li=new Re.A8(ve,null,Br);return Or.componentInstance=Ln.attach(li).instance,this._openDialogsAtThisLevel.push(Or),Or.afterClosed().subscribe(()=>{this._openDialogsAtThisLevel=this._openDialogsAtThisLevel.filter(wi=>wi!==Or)}),Or}closeAll(){this._openDialogsAtThisLevel.forEach(ve=>ve.close())}static{this.\u0275fac=function(Pe){return new(Pe||Ee)}}static{this.\u0275prov=C.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}}return Ee})();var _t=i(3695),wt=i(5850);function ee(Ee,xe,ve){(0,_t.tf)(Ee,({valueOf:Pe})=>{const je={kind:wt.Fv.MATCH,message:ve??"error-msg.not_matched_default"};if(Pe(Ee)!==Pe(xe))return je})}(new Date).getFullYear();new Uint32Array(65536);const Wn=Ee=>{const xe={};let ve=1;return Ee.forEach(Pe=>{xe[Pe]=ve,ve+=1}),xe};var dr={a:["4","@"],b:["8"],c:["(","{","[","<"],d:["6","|)"],e:["3"],f:["#"],g:["6","9","&"],h:["#","|-|"],i:["1","!","|"],k:["<","|<"],l:["!","1","|","7"],m:["^^","nn","2n","/\\\\/\\\\"],n:["//"],o:["0","()"],q:["9"],u:["|_|"],s:["$","5"],t:["+","7"],v:["<",">","/"],w:["^/","uu","vv","2u","2v","\\\\/\\\\/"],x:["%","><"],z:["2"]},Hr={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",to
503pHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class Qr{constructor(xe=[]){this.parents=xe,this.children=new Map}addSub(xe,...ve){const Pe=xe.charAt(0);this.children.has(Pe)||this.children.set(Pe,new Qr([...this.parents,Pe]));let je=this.children.get(Pe);for(let Qt=1;Qt<xe.length;Qt+=1){const hn=xe.charAt(Qt);je.hasChild(hn)||je.addChild(hn),je=je.getChild(hn)}return je.subs=(je.subs||[]).concat(ve),this}getChild(xe){return this.children.get(xe)}isTerminal(){return!!this.subs}addChild(xe){this.hasChild(xe)||this.children.set(xe,new Qr([...this.parents,xe]))}hasChild(xe){return this.children.has(xe)}}var qr=(Ee,xe)=>(Object.entries(Ee).forEach(([ve,Pe])=>{Pe.forEach(je=>{xe.addSub(je,ve)})}),xe);new class Cr{constructor(){this.matchers={},this.l33tTable=dr,this.trieNodeRoot=qr(dr,new Qr),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=Hr,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(xe={}){xe.l33tTable&&(this.l33tTable=xe.l33tTable,this.trieNodeRoot=qr(xe.l33tTable,new Qr)),xe.dictionary&&(this.dictionary=xe.dictionary,this.setRankedDictionaries()),xe.translations&&this.setTranslations(xe.translations),xe.graphs&&(this.graphs=xe.graphs),void 0!==xe.useLevenshteinDistance&&(this.useLevenshteinDistance=xe.useLevenshteinDistance),void 0!==xe.levenshteinThreshold&&(this.levenshteinThreshold=xe.levenshteinThreshold),void 0!==xe.l33tMaxSubstitutions&&(this.l33tMaxSubstitutions=xe.l33tMaxSubstitutions),void 0!==xe.maxLength&&(this.maxLength=xe.maxLength)}setTranslations(xe){if(!this.checkCustomTranslations(xe))throw new Error("Invalid translations object fallback to keys");this.translations=xe}checkCustomTranslations(xe){let ve=!0;return Object.keys(Hr).forEach(Pe=>{if(Pe in xe){const je=Pe;Object.keys(Hr[je]).forEach(Qt=>{Qt in xe[je]||(ve=!1)})}else ve=!1}),ve}setRankedDictionaries(){const xe={},ve={};Object.keys(this.dictionary).forEach(Pe=>{xe[Pe]=Wn(this.dictionary[Pe]),ve[Pe]=this.getRankedDictionariesMaxWordSize(this.dictionary[Pe])}),this.rankedDictionaries=xe,this.rankedDictionariesMaxWordSize=ve}getRankedDictionariesMaxWordSize(xe){const ve=xe.map(Pe=>"string"!=typeof Pe?Pe.toString().length:Pe.length);return 0===ve.length?0:ve.reduce((Pe,je)=>Math.max(Pe,je),-1/0)}buildSanitizedRankedDictionary(xe){const ve=[];return xe.forEach(Pe=>{const je=typeof Pe;("string"===je||"number"===je||"boolean"===je)&&ve.push(Pe.toString().toLowerCase())}),Wn(ve)}extendUserInputsDictionary(xe){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const ve=[...this.dictionary.userInputs,...xe];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(ve),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(ve)}addMatcher(xe,ve){this.matchers[xe]?console.info(`Matcher ${xe} already exists`):this.matchers[xe]=ve}},new RegExp(`[${[" ",",",";",":","|","/","\\","_",".","-"].join("")}]`)},6464(vt,Y,i){i.d(Y,{g:()=>we});var h=i(9769),b=i(5802),c=i(7705),C=i(2271),T=i(345),y=i(522),O=i(1763),k=i(5547);function w(X,ye){if(1&X&&k.Hgh(0,"div",3),2&X){const Q=ye.$index,ae=k.XpG();k.AVh("size-large",Q===ae.activeIndex||Q>ae.min&&Q<ae.max||0===Q||Q===ae.dots.length-1)("hidden",Q<ae.min||Q>ae.max)("active",ae.activeIndex===Q)}}let v=(()=>{class X{constructor(){this.activeIndex=0,this.MAX_VISIBLE_INDICATORS=2,this.min=0,this.max=this.MAX_VISIBLE_INDICATORS+1,this.dir="r",this.dots=[]}ngOnInit(){if(void 0===this.count||0===this.count)throw new Error("LvLibIndicationDotsComponent: Count is undefined or 0, please use a valid number.");this.dots=this.fillArray()}ngOnChanges(Q){this.count<=3||(Q.activeIndex&&this.calcNew(Q),Q.count&&(this.dots=this.fillArray()))}calcNew(Q){this.dir=Q.activeIndex.currentValue>Q.activeIndex.previousValue?"r":"l";const ae=Q.count;if(ae)for(let _e=ae.previousValue||0;_e<ae.currentValue;_e++)this.dots=[],this.fillArray();const H=Q.activeIndex;H&&(H.currentValue<=this.min&&(this.min=H.currentValue-1,this.max=this.min+this.MAX_VISIBLE_INDICATORS+1,0===H.currentValue&&(this.max=this.min+this.MAX_VISIBLE_INDICATORS+1),this.max>this.count&&(this.max=this.count)),H.currentValue>=this.max&&(this.max=H.currentValue+1,this.min=this.max-this.MAX_VISIBLE_INDICATORS-1,H.
503currentValue===this.count-1&&(this.min=this.max-this.MAX_VISIBLE_INDICATORS-2),this.min<0&&(this.min=0)))}fillArray(){return Array(this.count).fill(0)}static{this.\u0275fac=function(ae){return new(ae||X)}}static{this.\u0275cmp=k.VBU({type:X,selectors:[["lv-lib-indication-dots"]],inputs:{activeIndex:"activeIndex",count:"count"},features:[k.OA$],decls:4,vars:0,consts:[[1,"indicators"],[1,"slide"],[1,"indicator",3,"size-large","hidden","active"],[1,"indicator"]],template:function(ae,H){1&ae&&(k.rj2(0,"div",0)(1,"div",1),k.Z7z(2,w,1,6,"div",2,k.Vm6),k.eux()()),2&ae&&(k.R7$(2),k.Dyx(H.dots))},styles:['.indicators[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]{display:flex;align-items:center}.indicators[_ngcontent-%COMP%]   .indicator[_ngcontent-%COMP%]{aspect-ratio:1/1;display:inline-block;width:4px;height:4px;position:relative;transition:all .2s ease-in-out}.indicators[_ngcontent-%COMP%]   .indicator[_ngcontent-%COMP%] + .indicator[_ngcontent-%COMP%]{margin-left:var(--lv-spacing-2xs)}.indicators[_ngcontent-%COMP%]   .indicator[_ngcontent-%COMP%]:before{content:"";position:absolute;top:var(--lv-sizing-pct-50);left:var(--lv-sizing-pct-50);transform:translate(var(--lv-sizing-neg-pct-50),var(--lv-sizing-neg-pct-50));width:2px;height:2px;border-radius:var(--lv-sizing-pct-100);background-color:var(--lv-lightgrey);transition:all .2s ease-in-out}.indicators[_ngcontent-%COMP%]   .indicator.active[_ngcontent-%COMP%]:before{background-color:var(--lv-white)}.indicators[_ngcontent-%COMP%]   .indicator.size-large[_ngcontent-%COMP%]:before{height:4px;width:4px}.indicators[_ngcontent-%COMP%]   .indicator.hidden[_ngcontent-%COMP%]{width:0;opacity:0;margin-left:0!important}']})}}return X})();var D=i(8091),m=i(1744);const u=["itemCarousel"],W=(X,ye)=>({$implicit:X,index:ye});function z(X,ye){if(1&X&&k.nrm(0,"iframe",6),2&X){const Q=k.XpG(2);k.Y8G("src",Q.autoPlayUrlSanitized(),k.f$h)}}function se(X,ye){if(1&X&&k.eu8(0,7),2&X){const Q=k.XpG(),ae=Q.$implicit,H=Q.$index;k.Y8G("ngTemplateOutlet",ye)("ngTemplateOutletContext",k.l_i(2,W,ae,H))}}function G(X,ye){if(1&X&&(k.nrm(0,"img",8),k.nI1(1,"LvLibSafe")),2&X){const Q=k.XpG().$implicit;k.Y8G("src",k.i5U(1,1,Q,"resourceUrl"),k.B4B)}}function le(X,ye){if(1&X&&(k.j41(0,"div",3),k.nVh(1,z,1,1,"iframe",6)(2,se,1,5,"ng-container",7)(3,G,2,4,"img",8),k.
503k0s()),2&X){let Q;const ae=ye.$index,H=k.XpG();k.R7$(),k.vxM(H.autoPlayUrlSanitized()&&0===ae&&H.autoplayFirstItem()?1:(Q=H.slideTemplate())?2:3,Q)}}function _(X,ye){if(1&X){const Q=k.RV6();k.j41(0,"div",4)(1,"lv-lib-chip",9),k.bIt("click",function(H){b.eBV(Q);const _e=k.XpG();return b.Njj(_e.skipAdClick(H))}),k.k0s()()}2&X&&(k.R7$(),k.Y8G("iconColor","white")("iconPosition","right")("isMaterial",!0)("icon","skip_next")("textColor","white")("chipColor","dark-transparent")("chipType","static")("text","Skip Ad"))}function ge(X,ye){if(1&X&&(k.j41(0,"div",5)(1,"p",10),k.EFF(2),k.k0s()()),2&X){const Q=k.XpG();k.R7$(2),k.JRh(Q.adIndex()+"/"+Q.adsTotal())}}function q(X,ye){if(1&X){const Q=k.RV6();k.j41(0,"button",15),k.bIt("click",function(){b.eBV(Q);const H=k.XpG(2);return b.Njj(H.prevItem())}),k.nrm(1,"lv-lib-icon-font",16),k.k0s()}if(2&X){const Q=k.XpG(2);k.AVh("is-touch-device",Q.isTouchDevice),k.R7$(),k.Y8G("iconColor","white")("iconName","keyboard_arrow_left")}}function Te(X,ye){if(1&X){const Q=k.RV6();k.j41(0,"button",17),k.bIt("click",function(){b.eBV(Q);const H=k.XpG(2);return b.Njj(H.nextItem())}),k.nrm(1,"lv-lib-icon-font",16),k.k0s()}if(2&X){const Q=k.XpG(2);k.AVh("is-touch-device",Q.isTouchDevice),k.R7$(),k.Y8G("iconColor","white")("iconName","keyboard_arrow_right")}}function Be(X,ye){if(1&X&&(k.j41(0,"div",5)(1,"p",10),k.EFF(2),k.k0s()(),k.j41(3,"div",11),k.nrm(4,"lv-lib-indication-dots",12),k.k0s(),k.nVh(5,q,2,4,"button",13),k.nVh(6,Te,2,4,"button",14)),2&X){const Q=k.XpG();k.R7$(2),k.JRh(Q.currentItemIndex()+1+"/"+Q.items().length),k.R7$(2),k.Y8G("activeIndex",Q.currentItemIndex())("count",Q.items().length),k.R7$(),k.vxM(Q.limitLeft()?-1:5),k.R7$(),k.vxM(Q.limitRight()?-1:6)}}let we=(()=>{class X{constructor(){this.sanitizer=(0,b.WQX)(T.up),this.items=(0,c.hFB)([]),this.adIndex=(0,c.hFB)(1),this.adsTotal=(0,c.hFB)(0),this.slideTemplate=(0,c.hFB)(null),this.autoplayFirstItem=(0,c.hFB)(!0),this.canSkipAd=(0,c.hFB)(!1),this.isTouchDevice=window.matchMedia?.("(hover: none)")?.matches??!1,this.limitLeft=(0,b.vPA)(!0),this.limitRight=(0,b.vPA)(!1),this.itemCarousel=(0,c.ebz)("itemCarousel"),this.currentItemIndex=(0,b.vPA)(0),this.onSkipAdClick=(0,c.CGW)(),this.autoPlayUrlSanitized=(0,C.EW)(()=>{if(this.items()){const Q=y.Q.getEmbededYoutubeUrl(this.items()[0]);if(Q){const ae=y.Q.addParamsToEmbedUrl(Q,{mute:"1",enablejsapi:"1",start:"0",autoplay:"1"});return this.sanitizer.bypassSecurityTrustResourceUrl(ae)}return""}return""})}nextItem(){this.currentItemIndex()<this.items().length-1&&(this.currentItemIndex.update(Q=>Q+1),this.limitLeft.set(!1),this.scrollToCurrentItem()),this.limitRight.set(this.currentItemIndex()===this.items().length-1)}prevItem(){this.currentItemIndex()>0&&(this.currentItemIndex.update(Q=>Q-1),this.limitRight.set(!1),this.scrollToCurrentItem()),this.limitLeft.set(0===this.currentItemIndex())}skipAdClick(Q){this.onSkipAdClick.emit(Q)}scrollToCurrentItem(){const Q=this.itemCarousel()?.nativeElement,ae=Q.offsetWidth;Q.scrollTo({left:this.currentItemIndex()*ae,behavior:"smooth"})}onCarouselScroll(Q){if(!this.isTouchDevice)return;const ae=this.itemCarousel()?.nativeElement,{scrollLeft:H}=ae,We=Math.round(H/ae.offsetWidth);this.currentItemIndex.set(We)}static{this.\u0275fac=function(ae){return new(ae||X)}}static{this.\u0275cmp=k.VBU({type:X,selectors:[["lv-lib-carousel"]],viewQuery:function(ae,H){1&ae&&k.wEZ(H.itemCarousel,u,5),2&ae&&k.NyB()},inputs:{items:[1,"items"],adIndex:[1,"adIndex"],adsTotal:[1,"adsTotal"],slideTemplate:[1,"slideTemplate"],autoplayFirstItem:[1,"autoplayFirstItem"],canSkipAd:[1,"canSkipAd"]},outputs:{onSkipAdClick:"onSkipAdClick"},decls:8,vars:2,consts:[["itemCarousel",""],[1,"carousel-wrapper"],[1,"carousel",3,"scroll"],[1,"slide"],["data-testid","lv-lib-carousel-skip-btn",1,"skip-button"],[1,"carousel-items-counter"],["allow","accelerometer; encrypted-media","allowfullscreen","",3,"src"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"src"],[3,"click","iconColor","iconPosition","isMaterial","icon","textColor","chipColor","chipType","text"],[1,"typography-label-l3"],[1,"dots-indicator"],[3,"activeIndex","count"],[1,"carousel-button","carousel-button-left",3,"is-touch-device"],[1,"carousel-button","carousel-button-right",3,"is-touch-device"],[1,"carousel-button","carousel-button-left",3,"click"],[3,"iconColor","iconName"],[1,"carousel-button","carousel-button-right",3,"click"]],template:function(ae,H){1&ae&&(k.j41(0,"div",1)(1,"div",2,0),k.bIt("scroll",function(We){return H.onCarouselScroll(We)}),k.Z7z(3,le,4,1,"div",3,k.Vm6),k.k0s(),k.nVh(5,_,2,8,"div",4),k.nVh(6,ge,3,1,"div",5)(7,Be,7,5),k.k0s()),2&ae&&(k.R7$(3),k.Dyx(H.items()),k.R7$(2),k.vxM(H.canSkipAd()?5:-1),k.R7$(),k.vxM(H.adsTotal()>1?6:H.items().length>1?7:-1))},dependencies:[O.w,v,D.t,h.T3,m.H],styles:['@charset "UTF-8";[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{color-scheme:light;--lv-orange: #ff8114;--lv-orange-hover: #cc6810;--lv-darkgrey: #323232;
503--lv-dark-hover: #808080;--lv-lightgrey: #aaa;--lv-light: #dbdbdb;--lv-creme: #f5f5f5;--lv-white: #fff;--lv-black: #000;--lv-green: #28a745;--lv-green-hover: #18662b;--lv-red: #dc3545;--lv-red-hover: #9c2531;--lv-blue: #007bff;--lv-blue-hover: #003e80;--lv-pink: #e6828b;--lv-discord-border: #00000014;--lv-primary: var(--lv-orange);--lv-secondary: var(--lv-darkgrey);--lv-tertiary: var(--lv-creme);--lv-success: var(--lv-green);--lv-error: var(--lv-red);--lv-warning: var(--lv-orange);--lv-info: var(--lv-darkgrey);--lv-background-default: var(--lv-creme);--lv-background-muted: var(--lv-white);--lv-background-primary: var(--lv-orange);--lv-background-secondary: var(--lv-darkgrey);--alpha-dark-1: rgb(0 0 0 / .1);--alpha-dark-2: rgb(0 0 0 / .2);--alpha-dark-3: rgb(0 0 0 / .3);--alpha-dark-4: rgb(0 0 0 / .4);--alpha-dark-5: rgb(0 0 0 / .5);--alpha-dark-6: rgb(0 0 0 / .6);--alpha-dark-7: rgb(0 0 0 / .7);--alpha-dark-8: rgb(0 0 0 / .8);--alpha-dark-9: rgb(0 0 0 / .9);--alpha-light-1: rgb(255 255 255 / .1);--alpha-light-2: rgb(255 255 255 / .2);--alpha-light-3: rgb(255 255 255 / .3);--alpha-light-4: rgb(255 255 255 / .4);--alpha-light-5: rgb(255 255 255 / .5);--alpha-light-6: rgb(255 255 255 / .6);--alpha-light-7: rgb(255 255 255 / .7);--alpha-light-8: rgb(255 255 255 / .8);--alpha-light-9: rgb(255 255 255 / .9);--amber-50: #fffbeb;--amber-500: #fd9a00;--amber-700: #b45309;--green-50: #f0fdf4;--green-500: #00c951;--green-700: #15803d;--neutral-50: #fafafa;--neutral-800: #262626;--orange-100: #ffedd4;--red-50: #fef2f2;--red-500: #fb2c36;--red-700: #b91c1c;--lv-avatar-red-bg: #fee2e2;--lv-avatar-red-text: #ef4444;--lv-avatar-orange-bg: #ffedd5;--lv-avatar-orange-text: #f97316;--lv-avatar-amber-bg: #fef3c7;--lv-avatar-amber-text: #f59e0b;--lv-avatar-yellow-bg: #fef9c3;--lv-avatar-yellow-text: #eab308;--lv-avatar-lime-bg: #ecfccb;--lv-avatar-lime-text: #84cc16;--lv-avatar-green-bg: #dcfce7;--lv-avatar-green-text: #22c55e;--lv-avatar-emerald-bg: #d1fae5;--lv-avatar-emerald-text: #10b981;--lv-avatar-teal-bg: #ccfbf1;--lv-avatar-teal-text: #14b8a6;--lv-avatar-cyan-bg: #cffafe;--lv-avatar-cyan-text: #06b6d4;--lv-avatar-sky-bg: #e0f2fe;--lv-avatar-sky-text: #0ea5e9;--lv-avatar-blue-bg: #dbeafe;--lv-avatar-blue-text: #3b82f6;--lv-avatar-indigo-bg: #e0e7ff;--lv-avatar-indigo-text: #6366f1;--lv-avatar-violet-bg: #ede9fe;--lv-avatar-violet-text: #8b5cf6;--lv-avatar-purple-bg: #f3e8ff;--lv-avatar-purple-text: #a855f7;--lv-avatar-fuchsia-bg: #fae8ff;--lv-avatar-fuchsia-text: #d946ef;--lv-avatar-pink-bg: #fce7f3;--lv-avatar-pink-text: #ec4899;--lv-avatar-rose-bg: #ffe4e6;--lv-avatar-rose-text: #f43f5e;--lv-container-3xs: 16rem;--lv-container-2xs: 18rem;--lv-container-xs: 20rem;--lv-container-sm: 24rem;--lv-container-md: 28rem;--lv-container-lg: 32rem;--lv-container-xl: 36rem;--lv-container-2xl: 42rem;--lv-container-3xl: 48rem;--lv-container-4xl: 56rem;--lv-container-5xl: 64rem;--lv-container-6xl: 72rem;--lv-container-7xl: 80rem;--lv-popover-width-sm: 28.125rem;--lv-popover-width-md: 44rem;--lv-popover-width-lg: 65.5rem;--lv-spacing-2xs: .25rem;--lv-spacing-xs: .5rem;--lv-spacing-s: .75rem;--lv-spacing-m: 1rem;--lv-spacing-l: 1.5rem;--lv-spacing-xl: 2rem;--lv-spacing-2xl: 2.5rem;--lv-spacing-3xl: 3rem;--lv-spacing-4xl: 4rem;--lv-spacing-5xl: 5rem;--lv-extra-spacing-4xs: .063rem;--lv-extra-spacing-3xs: .125rem;--lv-extra-spacing-2xs: .375rem;--lv-extra-spacing-xs: .625rem;--lv-extra-spacing-s: 1.125rem;--lv-extra-spacing-m: 1.25rem;--lv-extra-spacing-l: 1.875rem;--lv-extra-spacing-xl: 2.25rem;--lv-extra-spacing-2xl: 3.125rem;--lv-extra-spacing-3xl: 3.75rem;--lv-sizing-s: .75rem;--lv-sizing-m: 1rem;--lv-sizing-l: 1.5rem;--lv-sizing-xl: 2rem;--lv-sizing-2xl: 2.5rem;--lv-sizing-3xl: 3rem;--lv-sizing-4xl: 3.5rem;--lv-sizing-5xl: 4rem;--lv-sizing-6xl: 4.5rem;--lv-sizing-7xl: 5rem;--lv-sizing-8xl: 8.75rem;--lv-sizing-pct-20: 20%;--lv-sizing-pct-50: 50%;--lv-sizing-pct-60: 60%;--lv-sizing-pct-80: 80%;--lv-sizing-pct-90: 90%;--lv-sizing-pct-100: 100%;--lv-sizing-neg-pct-50: -50%;--lv-sizing-neg-pct-100: -100%;--lv-extra-sizing-3xs: .063rem;--lv-extra-sizing-2xs: .25rem;--lv-extra-sizing-xs: .5rem;--lv-extra-sizing-s: 1.125rem;--lv-extra-sizing-m: 1.25rem;--lv-extra-sizing-l: 1.875rem;--lv-extra-sizing-xl: 3.125rem;--lv-extra-sizing-2xl: 3.75rem;--lv-extra-sizing-3xl: 9.375rem;--lv-extra-sizing-4xl: 12.5rem;--lv-extra-sizing-5xl: 14.0625rem;--lv-extra-sizing-6xl: 15.625rem;--lv-extra-sizing-7xl: 21.875rem;
503--lv-extra-sizing-8xl: 25rem;--lv-layout-content-max: 25rem;--lv-font-family: "Roboto", sans-serif;--lv-font-weight-light: 300;--lv-font-weight-regular: 400;--lv-font-weight-medium: 500;--lv-font-weight-bold: 700;--lv-font-weight-thin: 100;--lv-font-weight-extra-light: 200;--lv-line-height-xs: 1;--lv-line-height-s: 1.1;--lv-line-height-m: 1.3;--lv-line-height-xl: 1.5;--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: 1rem;--lv-font-size-400: 1.25rem;--lv-font-size-500: 1.5rem;--lv-font-size-600: 2rem;--lv-font-size-700: 2.5rem;--lv-font-size-800: 3rem;--lv-font-size-900: 3.75rem;--lv-font-size-250: .875rem;--lv-font-size-350: 1.125rem}@media(width<=80rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1.125rem;--lv-font-size-500: 1.25rem;--lv-font-size-600: 1.5rem;--lv-font-size-700: 2rem;--lv-font-size-800: 2.5rem;--lv-font-size-900: 3rem}}@media(width<=48rem){[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-font-size-100: .625rem;--lv-font-size-200: .75rem;--lv-font-size-300: .875rem;--lv-font-size-400: 1rem;--lv-font-size-500: 1.125rem;--lv-font-size-600: 1.25rem;--lv-font-size-700: 1.5rem;--lv-font-size-800: 2rem;--lv-font-size-900: 2.5rem}}[_ngcontent-%COMP%]:root, [_ngcontent-%COMP%]:root.theme-light{--lv-letter-spacing-normal: 0;--lv-letter-spacing-small: .02em;--lv-letter-spacing-narrow: -.02em;--lv-shadow: 0 3px 24px 0 rgb(from var(--lv-black) r g b / .04);--lv-shadow-m: 0 1px 16px 0 rgb(from var(--lv-black) r g b / .16);--lv-shadow-xl: 20px 30px 20px 0 rgb(from var(--lv-black) r g b / .4);--lv-border-radius-2xs: .25rem;--lv-border-radius-xs: .5rem;--lv-border-radius-s: .75rem;--lv-border-radius-m: 1rem;--lv-border-radius-l: 1.25rem;--lv-border-radius-xl: 1.5rem;--lv-border-radius-full: 50%;--lv-extra-border-radius-s: 15px;--lv-extra-border-radius-3xl: 50px;--lv-border-width-small: .063rem;--lv-border-width-wide: .125rem;--lv-brand-primary-1: var(--lv-orange);--lv-brand-primary-2: var(--orange-100);--lv-brand-secondary-1: var(--lv-darkgrey);--lv-brand-secondary-2: var(--lv-darkgrey);--lv-brand-tertiary-1: var(--neutral-50);--lv-brand-tertiary-2: var(--lv-creme);--lv-surface-1: var(--neutral-50);--lv-surface-2: var(--lv-white);--lv-surface-3: var(--lv-creme);--lv-surface-inverse: var(--lv-darkgrey);--lv-text-1: var(--neutral-800);--lv-text-2: var(--alpha-dark-6);--lv-text-3: var(--alpha-dark-3);--lv-text-inverse: var(--lv-white);--lv-outline-1: var(--alpha-dark-5);--lv-outline-2: var(--alpha-dark-3);--lv-outline-3: var(--alpha-dark-1);--lv-state-disabled-opacity: .3;--lv-state-hover: var(--alpha-light-2);--lv-state-hover-dynamic: var(--alpha-light-2);--lv-state-success-1: var(--green-700);--lv-state-success-2: var(--green-500);--lv-state-success-3: var(--green-50);--lv-state-error-1: var(--red-700);--lv-state-error-2: var(--red-500);--lv-state-error-3: var(--red-50);--lv-state-warning-1: var(--amber-700);--lv-state-warning-2: var(--amber-500);--lv-state-warning-3: var(--amber-50);--lv-alpha-dynamic-1: var(--alpha-dark-1);--lv-alpha-dynamic-2: var(--alpha-dark-2);--lv-alpha-dynamic-3: var(--alpha-dark-3);--lv-alpha-dynamic-4: var(--alpha-dark-4);--lv-alpha-dynamic-5: var(--alpha-dark-5);--lv-alpha-dynamic-6: var(--alpha-dark-6);--lv-alpha-dynamic-7: var(--alpha-dark-7);--lv-alpha-dynamic-8: var(--alpha-dark-8);--lv-alpha-dynamic-9: var(--alpha-dark-9);--lv-primary: var(--lv-brand-primary-1);--lv-secondary: var(--lv-brand-secondary-1);--lv-tertiary: var(--lv-brand-tertiary-2);--lv-success: var(--lv-state-success-2);--lv-error: var(--lv-state-error-2);--lv-warning: var(--lv-state-warning-2);--lv-info: var(--lv-text-2);--lv-background-default: var(--lv-surface-1);--lv-background-muted: var(--lv-surface-2);--lv-background-primary: var(--lv-brand-primary-1);--lv-background-secondary: var(--lv-brand-secondary-1)}[_nghost-%COMP%]{display:block;width:var(--lv-sizing-pct-100)}.carousel-wrapper[_ngcontent-%COMP%]{position:relative}.carousel-wrapper[_ngcontent-%COMP%]   .skip-button[_ngcontent-%COMP%]{position:absolute;bottom:var(--lv-spacing-m);right:var(--lv-spacing-m);cursor:pointer}.carousel-wrapper[_ngcontent-%COMP%]   .carousel-items-counter[_ngcontent-%COMP%]{border-radius:var(--lv-extra-border-radius-3xl);border:none;background-color:rgb(from var(--lv-black) r g b/.6);
503display:inline-flex;justify-content:center;align-items:center;padding:var(--lv-spacing-2xs) var(--lv-spacing-xs);-webkit-backdrop-filter:blur(var(--lv-spacing-xs));backdrop-filter:blur(var(--lv-spacing-xs));position:absolute;right:var(--lv-extra-spacing-m);top:var(--lv-extra-spacing-m)}.carousel-wrapper[_ngcontent-%COMP%]   .carousel-items-counter[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--lv-white);padding:0 var(--lv-spacing-2xs)}.carousel-wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);aspect-ratio:16/9;display:flex;flex-direction:row;gap:var(--lv-extra-spacing-m);overflow:auto hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}@media screen and (width>=48rem){.carousel-wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]{overflow-x:hidden}}.carousel-wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]{flex:0 0 var(--lv-sizing-pct-100);scroll-snap-align:start;display:flex;justify-content:center;align-items:center}.carousel-wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);height:var(--lv-sizing-pct-100);border:none;aspect-ratio:16/9}.carousel-wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{aspect-ratio:16/9;width:var(--lv-sizing-pct-100)}.carousel-wrapper[_ngcontent-%COMP%]   .dots-indicator[_ngcontent-%COMP%]{border-radius:var(--lv-extra-border-radius-3xl);border:none;background-color:rgb(from var(--lv-black) r g b/.6);-webkit-backdrop-filter:blur(var(--lv-spacing-xs));backdrop-filter:blur(var(--lv-spacing-xs));display:inline-flex;justify-content:center;align-items:center;gap:var(--lv-spacing-2xs);padding:var(--lv-spacing-xs);position:absolute;left:var(--lv-sizing-pct-50);transform:translate(var(--lv-sizing-neg-pct-50));bottom:var(--lv-extra-spacing-m)}.carousel-wrapper[_ngcontent-%COMP%]   .carousel-button[_ngcontent-%COMP%]{border-radius:var(--lv-sizing-pct-50);border:none;display:flex;justify-content:center;align-items:center;width:var(--lv-sizing-2xl);height:var(--lv-sizing-2xl);-webkit-backdrop-filter:blur(var(--lv-spacing-xs));backdrop-filter:blur(var(--lv-spacing-xs));position:absolute;z-index:10;top:var(--lv-sizing-pct-50);transform:translateY(var(--lv-sizing-neg-pct-50));cursor:pointer;background-color:rgb(from var(--lv-black) r g b/.6)}.carousel-wrapper[_ngcontent-%COMP%]   .carousel-button-right[_ngcontent-%COMP%]{right:var(--lv-extra-spacing-m)}.carousel-wrapper[_ngcontent-%COMP%]   .carousel-button-left[_ngcontent-%COMP%]{left:var(--lv-extra-spacing-m)}@media screen and (width<=48rem){.carousel-wrapper[_ngcontent-%COMP%]   .is-touch-device[_ngcontent-%COMP%]{display:none}}']})}}return X})()},1763(vt,Y,i){i.d(Y,{w:()=>D});var h=i(9213),b=i(9769),c=i(4823),C=i(5547),T=i(9714);const y=(m,u,W,z,se,G,le,_,ge,q,Te,Be)=>({"lv-chip--primary":m,"lv-chip--success":u,"lv-chip--default":W,"lv-chip--danger":z,"lv-chip--neutral":se,"lv-chip--dark":G,"lv-chip--light":le,"lv-chip--light-30":_,"lv-chip--transparent":ge,"lv-chip--dark-transparent":q,"lv-chip--interactive":Te,"lv-chip--status":Be}),O=m=>({"lv-chip__wrapper-interactive":m}),k=(m,u,W,z,se,G)=>({"lv-chip__icon-white":m,"lv-chip__icon-primary":u,"lv-chip__icon-success":W,"lv-chip__icon-default":z,"lv-chip__icon-danger":se,"lv-chip__icon-secondary":G});function w(m,u){if(1&m&&(C.j41(0,"mat-icon",3),C.EFF(1),C.k0s()),2&m){const W=C.XpG();C.Y8G("ngClass",C.l4e(2,k,"status"===W.chipType||"white"===W.iconColor,"primary"===W.iconColor,"success"===W.iconColor,"default"===W.iconColor,"danger"===W.iconColor,"secondary"===W.iconColor)),C.R7$(),C.SpI("",W.icon," ")}}function v(m,u){if(1&m&&C.nrm(0,"img",7),2&m){const W=C.XpG();C.xc7("--icon-color",W.iconColor),C.Y8G("alt",C.mNQ(W.icon))("src",W.icon,C.B4B)}}let D=(()=>{class m{constructor(){this.icon="",this.text="",this.textColor="",this.iconPosition="left",this.chipType="static",this.chipColor="light",this.isMaterial=!0,this.iconColor="default",this.tooltip=""}static{this.\u0275fac=function(z){return new(z||m)}}static{this.\u0275cmp=C.VBU({type:m,selectors:[["lv-lib-chip"]],inputs:{icon:"icon",text:"text",textColor:"textColor",iconPosition:"iconPosition",chipType:"chipType",chipColor:"chipColor",isMaterial:"isMaterial",iconColor:"iconColor",tooltip:"tooltip"},decls:8,vars:29,consts:[["data-testid","lv-chip",1,"lv-chip",3,"ngClass"],[1,"lv-chip__wrapper",3,"ngClass"],[1,"lv-chip__icon-wrapper",3,"matTooltip"],[1,"lv-chip__icon",3,"ngClass"],[1,"lv-chip__icon","lv-chip__icon--image",3,"alt","src","--icon-color"],[1,"lv-chip__text-wrapper"],["data-testid","lv-lib-chip-text",1,"lv-chip__text"],[1,"lv-chip__icon","lv-chip__icon--image",3,"alt","src"]],template:function(z,se){1&z&&(C.j41(0,"div",0)(1,"div",1)(2,"div",2),C.nVh(3,w,2,9,"mat-icon",3),C.nVh(4,v,1,5,"img",4),C.
503k0s(),C.j41(5,"div",5)(6,"span",6),C.EFF(7),C.k0s()()()()),2&z&&(C.AVh("lv-chip--icon-only",!se.text),C.Y8G("ngClass",C.zJS(14,y,["primary"===se.chipColor,"success"===se.chipColor,"default"===se.chipColor||"interactive"===se.chipType,"danger"===se.chipColor,"neutral"===se.chipColor,"dark"===se.chipColor,"light"===se.chipColor,"light-30"===se.chipColor,"transparent"===se.chipColor,"dark-transparent"===se.chipColor,"interactive"===se.chipType,"status"===se.chipType])),C.R7$(),C.xc7("gap",se.text?"0.25rem":"0"),C.AVh("lv-chip__wrapper-icon-right","right"===se.iconPosition),C.Y8G("ngClass",C.eq3(27,O,"interactive"===se.chipType)),C.R7$(),C.Y8G("matTooltip",se.tooltip),C.R7$(),C.vxM(se.isMaterial&&"interactive"!==se.chipType?3:-1),C.R7$(),C.vxM(se.isMaterial?-1:4),C.R7$(2),C.AVh("lv-chip__text--white","status"===se.chipType||"dark"===se.chipColor||"light-30"===se.chipColor||"white"===se.textColor),C.R7$(),C.SpI("",se.text," "))},dependencies:[h.m_,h.An,b.YU,c.uc,T.oV],styles:[".lv-chip[_ngcontent-%COMP%]{display:inline-block;padding:0 var(--lv-spacing-xs);border-radius:var(--lv-extra-border-radius-3xl);height:var(--lv-sizing-l);width:auto}.lv-chip--primary[_ngcontent-%COMP%]{background-color:var(--lv-primary)}.lv-chip--light[_ngcontent-%COMP%]{background-color:var(--lv-creme)}.lv-chip--success[_ngcontent-%COMP%]{background-color:var(--lv-green)}.lv-chip--danger[_ngcontent-%COMP%]{background-color:var(--lv-red)}.lv-chip--dark[_ngcontent-%COMP%]{background-color:var(--lv-dark)}.lv-chip--neutral[_ngcontent-%COMP%]{background-color:var(--lv-blue)}.lv-chip--default[_ngcontent-%COMP%]{background-color:var(--lv-light)}.lv-chip--light-30[_ngcontent-%COMP%]{background-color:rgb(from var(--lv-creme) r g b/.3)}.lv-chip--transparent[_ngcontent-%COMP%]{background-color:rgb(from var(--lv-black) r g b/.2);-webkit-backdrop-filter:blur(var(--lv-spacing-xs));backdrop-filter:blur(var(--lv-spacing-xs))}.lv-chip--dark-transparent[_ngcontent-%COMP%]{background-color:rgb(from var(--lv-black) r g b/.6);-webkit-backdrop-filter:blur(var(--lv-spacing-xs));backdrop-filter:blur(var(--lv-spacing-xs))}.lv-chip--interactive[_ngcontent-%COMP%]{cursor:pointer;color:var(--lv-white);transition:background-color .3s ease-in-out;height:var(--lv-sizing-xl);width:auto}.lv-chip--interactive[_ngcontent-%COMP%]:hover{background-color:var(--lv-primary)}.lv-chip--status[_ngcontent-%COMP%]{height:var(--lv-sizing-l);width:128px;align-items:center}.lv-chip--icon-only[_ngcontent-%COMP%]{padding:0 var(--lv-spacing-2xs)}.lv-chip__wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--lv-spacing-xs);height:var(--lv-sizing-pct-100)}.lv-chip__wrapper-interactive[_ngcontent-%COMP%]{width:var(--lv-sizing-pct-100);gap:0;min-width:var(--lv-sizing-2xl)}.lv-chip__wrapper-icon-right[_ngcontent-%COMP%]{flex-direction:row-reverse}.lv-chip__icon-wrapper[_ngcontent-%COMP%]{height:var(--lv-sizing-m)}.lv-chip__icon[_ngcontent-%COMP%]{display:flex;font-size:var(--lv-sizing-m);height:var(--lv-sizing-m);width:var(--lv-sizing-m)}.lv-chip__icon-white[_ngcontent-%COMP%]{color:var(--lv-white)}.lv-chip__icon-primary[_ngcontent-%COMP%]{color:var(--lv-primary)}.lv-chip__icon-success[_ngcontent-%COMP%]{color:var(--lv-green)}.lv-chip__icon-default[_ngcontent-%COMP%]{color:var(--lv-blue)}.lv-chip__icon-danger[_ngcontent-%COMP%]{color:var(--lv-red)}.lv-chip__icon-secondary[_ngcontent-%COMP%]{color:var(--lv-secondary)}.lv-chip__icon--image[_ngcontent-%COMP%]{height:var(--lv-sizing-pct-100);width:auto;fill:var(--icon-color)}.lv-chip__icon--image[_ngcontent-%COMP%] > path[_ngcontent-%COMP%], .lv-chip__icon--image[_ngcontent-%COMP%] > g[_ngcontent-%COMP%]{fill:var(--icon-color)}.lv-chip__text-wrapper[_ngcontent-%COMP%]{white-space:nowrap;margin:0;width:var(--lv-sizing-pct-100)}.lv-chip__text[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--text-color, var(--lv-black));font-size:var(--lv-font-size-200);font-weight:var(--lv-font-weight-medium)}.lv-chip__text--white[_ngcontent-%COMP%]{color:var(--lv-white)}"],changeDetection:0})}}return m})()},5453(vt,Y,i){i.d(Y,{p:()=>b});var h=i(5547);let b=(()=>{class c{constructor(){this.text=""}static{this.\u0275fac=function(y){return new(y||c)}}static{this.\u0275cmp=h.VBU({type:c,selectors:[["lv-lib-hint"]],inputs:{text:"text"},decls:4,vars:1,consts:[[1,"hint"],["src","assets/img/icons/info.svg"],[1,"hint__text",3,"innerHTML"]],template:function(y,O){1&y&&(h.rj2(0,"div",0)(1,"div"),h.Hgh(2,"img",1),h.eux(),h.Hgh(3,"p",2),h.eux()),2&y&&(h.R7$(3),h.Avn("innerHTML",O.text,h.npT))},styles:[".hint[_ngcontent-%COMP%]{background:var(--lv-creme);display:flex;padding:var(--lv-spacing-l);gap:var(--lv-spacing-m);border-radius:var(--lv-border-radius-s)}.hint__text[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--lv-primary)}"]})}}return c})()},8091(vt,Y,i){i.d(Y,{t:()=>C});var h=i(7705),b=i(2271),c=i(5547);let C=(()=>{class T{constructor(){this.iconClass=(0,b.EW)(()=>[`icon-${this.iconName()}`,this.iconSize(),this.iconColor()]),this.customSize=(0,h.hFB)(null),this.iconName=h.hFB.required(),this.iconColor=(0,h.hFB)("default"),this.iconSize=(0,h.hFB)("md")}static{this.\u0275fac=function(k){return new(k||T)}}static{this.\u0275cmp=c.VBU({type:T,selectors:[["lv-lib-icon-font"]],inputs:{customSize:[1,"customSize"],iconName:[1,"iconName"],iconColor:[1,"iconColor"],iconSize:[1,"iconSize"]},decls:1,vars:4,template:function(k,w){1&k&&c.Hgh(0,"i"),2&k&&(c.HbH(w.iconClass()),c.xc7("font-size",w.customSize()))},styles:['@font-face{font-family:lv-icons;src:url(lv-icons.0c69073331a6b6a6.ttf?0085f9386ea3041554e6af7c571df4a2) format("truetype"),url(lv-icons.7baeca8ee7568495.woff?0085f9386ea3041554e6af7c571df4a2) format("woff"),url(lv-icons.a6e06d1b6d3487fd.woff2?0085f9386ea3041554e6af7c571df4a2) format("woff2")}i[class^=icon][_ngcontent-%COMP%], i[class*=" icon"][_ngcontent-%COMP%]{display:inline-block;width:1em;height:1em;line-height:1;vertical-align:middle}i[class^=icon-][_ngcontent-%COMP%]:before, i[class*=" icon-"][_ngcontent-%COMP%]:before{font-family:lv-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
503.icon-youtube[_ngcontent-%COMP%]:before{content:"\\f101"}.icon-yandex_circle[_ngcontent-%COMP%]:before{content:"\\f102"}.icon-yandex[_ngcontent-%COMP%]:before{content:"\\f103"}.icon-yahoo_circle[_ngcontent-%COMP%]:before{content:"\\f104"}.icon-yahoo[_ngcontent-%COMP%]:before{content:"\\f105"}.icon-wysiwyg[_ngcontent-%COMP%]:before{content:"\\f106"}.icon-widgets_outline[_ngcontent-%COMP%]:before{content:"\\f107"}.icon-widgets[_ngcontent-%COMP%]:before{content:"\\f108"}.icon-warning[_ngcontent-%COMP%]:before{content:"\\f109"}.icon-volume_up_outlined[_ngcontent-%COMP%]:before{content:"\\f10a"}.icon-volume_up[_ngcontent-%COMP%]:before{content:"\\f10b"}.icon-visibility_off[_ngcontent-%COMP%]:before{content:"\\f10c"}.icon-visibility[_ngcontent-%COMP%]:before{content:"\\f10d"}.icon-verified[_ngcontent-%COMP%]:before{content:"\\f10e"}.icon-upload_outlined[_ngcontent-%COMP%]:before{content:"\\f10f"}.icon-upload[_ngcontent-%COMP%]:before{content:"\\f110"}.icon-undo[_ngcontent-%COMP%]:before{content:"\\f111"}.icon-twitter[_ngcontent-%COMP%]:before{content:"\\f112"}.icon-tune[_ngcontent-%COMP%]:before{content:"\\f113"}.icon-trending_up[_ngcontent-%COMP%]:before{content:"\\f114"}.icon-trending_flat[_ngcontent-%COMP%]:before{content:"\\f115"}.icon-trending_down[_ngcontent-%COMP%]:before{content:"\\f116"}.icon-toggle_on[_ngcontent-%COMP%]:before{content:"\\f117"}.icon-today[_ngcontent-%COMP%]:before{content:"\\f118"}.icon-toc[_ngcontent-%COMP%]:before{content:"\\f119"}.icon-tips_and_updates_outline[_ngcontent-%COMP%]:before{content:"\\f11a"}.icon-tips_and_updates[_ngcontent-%COMP%]:before{content:"\\f11b"}.icon-tipalti[_ngcontent-%COMP%]:before{content:"\\f11c"}.icon-timer_off_outlined[_ngcontent-%COMP%]:before{content:"\\f11d"}.icon-timer_off[_ngcontent-%COMP%]:before{content:"\\f11e"}.icon-timer[_ngcontent-%COMP%]:before{content:"\\f11f"}.icon-timelapse[_ngcontent-%COMP%]:before{content:"\\f120"}.icon-thumb_up_outlined[_ngcontent-%COMP%]:before{content:"\\f121"}.icon-thumb_up[_ngcontent-%COMP%]:before{content:"\\f122"}.icon-thumb_down_outlined[_ngcontent-%COMP%]:before{content:"\\f123"}.icon-thumb_down[_ngcontent-%COMP%]:before{content:"\\f124"}.icon-text_format[_ngcontent-%COMP%]:before{content:"\\f125"}
503.icon-tablet_mac_circle[_ngcontent-%COMP%]:before{content:"\\f126"}.icon-tablet_mac[_ngcontent-%COMP%]:before{content:"\\f127"}.icon-table_remove[_ngcontent-%COMP%]:before{content:"\\f128"}.icon-table[_ngcontent-%COMP%]:before{content:"\\f129"}.icon-strikethrough_s[_ngcontent-%COMP%]:before{content:"\\f12a"}.icon-stop_circle_outlined[_ngcontent-%COMP%]:before{content:"\\f12b"}.icon-stop_circle[_ngcontent-%COMP%]:before{content:"\\f12c"}.icon-stop[_ngcontent-%COMP%]:before{content:"\\f12d"}.icon-stars[_ngcontent-%COMP%]:before{content:"\\f12e"}.icon-source[_ngcontent-%COMP%]:before{content:"\\f12f"}.icon-sort[_ngcontent-%COMP%]:before{content:"\\f130"}.icon-smart_display[_ngcontent-%COMP%]:before{content:"\\f131"}.icon-skype[_ngcontent-%COMP%]:before{content:"\\f132"}.icon-skip_previous[_ngcontent-%COMP%]:before{content:"\\f133"}.icon-skip_next[_ngcontent-%COMP%]:before{content:"\\f134"}.icon-shield_outline[_ngcontent-%COMP%]:before{content:"\\f135"}.icon-shield[_ngcontent-%COMP%]:before{content:"\\f136"}.icon-share_outlined[_ngcontent-%COMP%]:before{content:"\\f137"}.icon-share[_ngcontent-%COMP%]:before{content:"\\f138"}.icon-settings[_ngcontent-%COMP%]:before{content:"\\f139"}.icon-send[_ngcontent-%COMP%]:before{content:"\\f13a"}.icon-search_outlined[_ngcontent-%COMP%]:before{content:"\\f13b"}.icon-search[_ngcontent-%COMP%]:before{content:"\\f13c"}.icon-save[_ngcontent-%COMP%]:before{content:"\\f13d"}.icon-rotate_right[_ngcontent-%COMP%]:before{content:"\\f13e"}.icon-remove_row[_ngcontent-%COMP%]:before{content:"\\f13f"}.icon-remove_outlined[_ngcontent-%COMP%]:before{content:"\\f140"}.icon-remove_column[_ngcontent-%COMP%]:before{content:"\\f141"}.icon-remove_circle_outlined[_ngcontent-%COMP%]:before{content:"\\f142"}.icon-remove_circle[_ngcontent-%COMP%]:before{content:"\\f143"}.icon-remove[_ngcontent-%COMP%]:before{content:"\\f144"}.icon-remove-row[_ngcontent-%COMP%]:before{content:"\\f145"}.icon-remove-column[_ngcontent-%COMP%]:before{content:"\\f146"}.icon-refresh[_ngcontent-%COMP%]:before{content:"\\f147"}.icon-redo[_ngcontent-%COMP%]:before{content:"\\f148"}.icon-radar_outlined[_ngcontent-%COMP%]:before{content:"\\f149"}.icon-radar[_ngcontent-%COMP%]:before{content:"\\f14a"}.icon-quiz[_ngcontent-%COMP%]:before{content:"\\f14b"}.icon-publisher[_ngcontent-%COMP%]:before{content:"\\f14c"}.icon-premium[_ngcontent-%COMP%]:before{content:"\\f14d"}.icon-play_disabled_outlined[_ngcontent-%COMP%]:before{content:"\\f14e"}.icon-play_disabled[_ngcontent-%COMP%]:before{content:"\\f14f"}
503.icon-play_circle[_ngcontent-%COMP%]:before{content:"\\f150"}.icon-play_arrow[_ngcontent-%COMP%]:before{content:"\\f151"}.icon-place[_ngcontent-%COMP%]:before{content:"\\f152"}.icon-pixel_tracking[_ngcontent-%COMP%]:before{content:"\\f153"}.icon-phone_iphone_circle[_ngcontent-%COMP%]:before{content:"\\f154"}.icon-phone_iphone[_ngcontent-%COMP%]:before{content:"\\f155"}.icon-person_search[_ngcontent-%COMP%]:before{content:"\\f156"}.icon-person_remove_outline[_ngcontent-%COMP%]:before{content:"\\f157"}.icon-person_remove[_ngcontent-%COMP%]:before{content:"\\f158"}.icon-person_check[_ngcontent-%COMP%]:before{content:"\\f159"}.icon-person_add_alt_outlined[_ngcontent-%COMP%]:before{content:"\\f15a"}.icon-person_add_alt[_ngcontent-%COMP%]:before{content:"\\f15b"}.icon-person[_ngcontent-%COMP%]:before{content:"\\f15c"}.icon-people_alt[_ngcontent-%COMP%]:before{content:"\\f15d"}.icon-payments[_ngcontent-%COMP%]:before{content:"\\f15e"}.icon-pause_circle_outlined[_ngcontent-%COMP%]:before{content:"\\f15f"}.icon-pause_circle[_ngcontent-%COMP%]:before{content:"\\f160"}.icon-pause[_ngcontent-%COMP%]:before{content:"\\f161"}.icon-partner[_ngcontent-%COMP%]:before{content:"\\f162"}.icon-palette[_ngcontent-%COMP%]:before{content:"\\f163"}.icon-paid_search_native[_ngcontent-%COMP%]:before{content:"\\f164"}.icon-paid[_ngcontent-%COMP%]:before{content:"\\f165"}.icon-overview_all-circle_outlined[_ngcontent-%COMP%]:before{content:"\\f166"}.icon-overview_all-circle[_ngcontent-%COMP%]:before{content:"\\f167"}.icon-organic_paid_circle[_ngcontent-%COMP%]:before{content:"\\f168"}
503.icon-organic_circle[_ngcontent-%COMP%]:before{content:"\\f169"}.icon-organic[_ngcontent-%COMP%]:before{content:"\\f16a"}.icon-open_in_new_outlined[_ngcontent-%COMP%]:before{content:"\\f16b"}.icon-open_in_new[_ngcontent-%COMP%]:before{content:"\\f16c"}.icon-open_in_full[_ngcontent-%COMP%]:before{content:"\\f16d"}.icon-notifications[_ngcontent-%COMP%]:before{content:"\\f16e"}.icon-newspaper[_ngcontent-%COMP%]:before{content:"\\f16f"}.icon-new_releases[_ngcontent-%COMP%]:before{content:"\\f170"}.icon-move[_ngcontent-%COMP%]:before{content:"\\f171"}.icon-more_vert[_ngcontent-%COMP%]:before{content:"\\f172"}.icon-more_horiz[_ngcontent-%COMP%]:before{content:"\\f173"}.icon-monetized_geos_cirlcle[_ngcontent-%COMP%]:before{content:"\\f174"}.icon-menu[_ngcontent-%COMP%]:before{content:"\\f175"}.icon-mediation[_ngcontent-%COMP%]:before{content:"\\f176"}.icon-manage_search[_ngcontent-%COMP%]:before{content:"\\f177"}.icon-logout[_ngcontent-%COMP%]:before{content:"\\f178"}.icon-login[_ngcontent-%COMP%]:before{content:"\\f179"}.icon-lock_outlined[_ngcontent-%COMP%]:before{content:"\\f17a"}.icon-lock_open[_ngcontent-%COMP%]:before{content:"\\f17b"}.icon-lock[_ngcontent-%COMP%]:before{content:"\\f17c"}.icon-local_fire_department[_ngcontent-%COMP%]:before{content:"\\f17d"}.icon-linkvertise_circle[_ngcontent-%COMP%]:before{content:"\\f17e"}.icon-linkvertise[_ngcontent-%COMP%]:before{content:"\\f17f"}.icon-link[_ngcontent-%COMP%]:before{content:"\\f180"}
503.icon-laptop_mac_circle[_ngcontent-%COMP%]:before{content:"\\f181"}.icon-laptop_mac[_ngcontent-%COMP%]:before{content:"\\f182"}.icon-keyboard_double_arrow_down[_ngcontent-%COMP%]:before{content:"\\f183"}.icon-keyboard_arrow_up[_ngcontent-%COMP%]:before{content:"\\f184"}.icon-keyboard_arrow_right[_ngcontent-%COMP%]:before{content:"\\f185"}.icon-keyboard_arrow_left[_ngcontent-%COMP%]:before{content:"\\f186"}.icon-keyboard_arrow_down[_ngcontent-%COMP%]:before{content:"\\f187"}.icon-keyboard_alt_circle[_ngcontent-%COMP%]:before{content:"\\f188"}.icon-keyboard_alt[_ngcontent-%COMP%]:before{content:"\\f189"}.icon-ios_share[_ngcontent-%COMP%]:before{content:"\\f18a"}.icon-info[_ngcontent-%COMP%]:before{content:"\\f18b"}.icon-image_outlined[_ngcontent-%COMP%]:before{content:"\\f18c"}.icon-image[_ngcontent-%COMP%]:before{content:"\\f18d"}.icon-iframe[_ngcontent-%COMP%]:before{content:"\\f18e"}.icon-hosted_cirlce[_ngcontent-%COMP%]:before{content:"\\f18f"}.icon-hosted[_ngcontent-%COMP%]:before{content:"\\f190"}.icon-horizontal_rule[_ngcontent-%COMP%]:before{content:"\\f191"}.icon-home[_ngcontent-%COMP%]:before{content:"\\f192"}.icon-history[_ngcontent-%COMP%]:before{content:"\\f193"}.icon-help[_ngcontent-%COMP%]:before{content:"\\f194"}.icon-headset_mic[_ngcontent-%COMP%]:before{content:"\\f195"}.icon-group_add[_ngcontent-%COMP%]:before{content:"\\f196"}.icon-google_circle[_ngcontent-%COMP%]:before{content:"\\f197"}.icon-google[_ngcontent-%COMP%]:before{content:"\\f198"}.icon-gif_box_outlined[_ngcontent-%COMP%]:before{content:"\\f199"}.icon-gif_box[_ngcontent-%COMP%]:before{content:"\\f19a"}.icon-front_hand[_ngcontent-%COMP%]:before{content:"\\f19b"}.icon-fraud_detection[_ngcontent-%COMP%]:before{content:"\\f19c"}.icon-forward_to_inbox_outlined[_ngcontent-%COMP%]:before{content:"\\f19d"}.icon-forward_to_inbox[_ngcontent-%COMP%]:before{content:"\\f19e"}.icon-format_underlined[_ngcontent-%COMP%]:before{content:"\\f19f"}.icon-format_quote[_ngcontent-%COMP%]:before{content:"\\f1a0"}.icon-format_list_numbered[_ngcontent-%COMP%]:before{content:"\\f1a1"}.icon-format_list_bulleted[_ngcontent-%COMP%]:before{content:"\\f1a2"}.icon-format_italic[_ngcontent-%COMP%]:before{content:"\\f1a3"}.icon-format_h3[_ngcontent-%COMP%]:before{content:"\\f1a4"}.icon-format_h2[_ngcontent-%COMP%]:before{content:"\\f1a5"}.icon-format_h1[_ngcontent-%COMP%]:before{content:"\\f1a6"}.icon-format_bold[_ngcontent-%COMP%]:before{content:"\\f1a7"}.icon-format_align_right[_ngcontent-%COMP%]:before{content:"\\f1a8"}.icon-format_align_left[_ngcontent-%COMP%]:before{content:"\\f1a9"}.icon-format_align_justify[_ngcontent-%COMP%]:before{content:"\\f1aa"}.icon-format_align_center[_ngcontent-%COMP%]:before{content:"\\f1ab"}.icon-folder[_ngcontent-%COMP%]:before{content:"\\f1ac"}.icon-flaky[_ngcontent-%COMP%]:before{content:"\\f1ad"}.icon-flag[_ngcontent-%COMP%]:before{content:"\\f1ae"}.icon-filter[_ngcontent-%COMP%]:before{content:"\\f1af"}.icon-file_copy_outlined[_ngcontent-%COMP%]:before{content:"\\f1b0"}.icon-file_copy[_ngcontent-%COMP%]:before{content:"\\f1b1"}.icon-favorite_outline[_ngcontent-%COMP%]:before{content:"\\f1b2"}.icon-favorite[_ngcontent-%COMP%]:before{content:"\\f1b3"}.icon-fast_rewind[_ngcontent-%COMP%]:before{content:"\\f1b4"}.icon-fast_forward[_ngcontent-%COMP%]:before{content:"\\f1b5"}.icon-explore[_ngcontent-%COMP%]:before{content:"\\f1b6"}.icon-expand_field[_ngcontent-%COMP%]:before{content:"\\f1b7"}.icon-exit_to_app[_ngcontent-%COMP%]:before{content:"\\f1b8"}.icon-error_outline_outlined[_ngcontent-%COMP%]:before{content:"\\f1b9"}.icon-error[_ngcontent-%COMP%]:before{content:"\\f1ba"}.icon-emoji_events_circle[_ngcontent-%COMP%]:before{content:"\\f1bb"}.icon-emoji_events[_ngcontent-%COMP%]:before{content:"\\f1bc"}.icon-email_outlined[_ngcontent-%COMP%]:before{content:"\\f1bd"}.icon-email[_ngcontent-%COMP%]:before{content:"\\f1be"}.icon-edit_outlined[_ngcontent-%COMP%]:before{content:"\\f1bf"}.icon-edit_note[_ngcontent-%COMP%]:before{content:"\\f1c0"}.icon-edit_circle[_ngcontent-%COMP%]:before{content:"\\f1c1"}.icon-edit_box[_ngcontent-%COMP%]:before{content:"\\f1c2"}.icon-edit[_ngcontent-%COMP%]:before{content:"\\f1c3"}.icon-drag_indicator[_ngcontent-%COMP%]:before{content:"\\f1c4"}.icon-drag_handle[_ngcontent-%COMP%]:before{content:"\\f1c5"}.icon-download_outlined[_ngcontent-%COMP%]:before{content:"\\f1c6"}.icon-download[_ngcontent-%COMP%]:before{content:"\\f1c7"}.icon-done[_ngcontent-%COMP%]:before{content:"\\f1c8"}.icon-dns[_ngcontent-%COMP%]:before{content:"\\f1c9"}.icon-disabled_by_default[_ngcontent-%COMP%]:before{content:"\\f1ca"}.icon-diamond[_ngcontent-%COMP%]:before{content:"\\f1cb"}
503.icon-devices_circle[_ngcontent-%COMP%]:before{content:"\\f1cc"}.icon-delete[_ngcontent-%COMP%]:before{content:"\\f1cd"}.icon-dashboard[_ngcontent-%COMP%]:before{content:"\\f1ce"}.icon-crown[_ngcontent-%COMP%]:before{content:"\\f1cf"}.icon-cookie_outline[_ngcontent-%COMP%]:before{content:"\\f1d0"}.icon-cookie[_ngcontent-%COMP%]:before{content:"\\f1d1"}.icon-contract[_ngcontent-%COMP%]:before{content:"\\f1d2"}.icon-content_paste[_ngcontent-%COMP%]:before{content:"\\f1d3"}.icon-code_circle[_ngcontent-%COMP%]:before{content:"\\f1d4"}.icon-code[_ngcontent-%COMP%]:before{content:"\\f1d5"}.icon-close[_ngcontent-%COMP%]:before{content:"\\f1d6"}.icon-checklist[_ngcontent-%COMP%]:before{content:"\\f1d7"}.icon-check_circle_outlined[_ngcontent-%COMP%]:before{content:"\\f1d8"}.icon-check_circle[_ngcontent-%COMP%]:before{content:"\\f1d9"}.icon-chat_outlined[_ngcontent-%COMP%]:before{content:"\\f1da"}.icon-chat[_ngcontent-%COMP%]:before{content:"\\f1db"}.icon-cbs[_ngcontent-%COMP%]:before{content:"\\f1dc"}.icon-cancel_outlined[_ngcontent-%COMP%]:before{content:"\\f1dd"}.icon-cancel[_ngcontent-%COMP%]:before{content:"\\f1de"}.icon-campaign_add[_ngcontent-%COMP%]:before{content:"\\f1df"}.icon-campaign[_ngcontent-%COMP%]:before{content:"\\f1e0"}.icon-bookmark[_ngcontent-%COMP%]:before{content:"\\f1e1"}.icon-bolt_outlined[_ngcontent-%COMP%]:before{content:"\\f1e2"}.icon-bolt[_ngcontent-%COMP%]:before{content:"\\f1e3"}.icon-bing_circle[_ngcontent-%COMP%]:before{content:"\\f1e4"}.icon-bing[_ngcontent-%COMP%]:before{content:"\\f1e5"}.icon-bar_chart[_ngcontent-%COMP%]:before{content:"\\f1e6"}.icon-auto_stories[_ngcontent-%COMP%]:before{content:"\\f1e7"}.icon-auto_awesome_outlined[_ngcontent-%COMP%]:before{content:"\\f1e8"}.icon-auto_awesome[_ngcontent-%COMP%]:before{content:"\\f1e9"}.icon-audio_file_outlined[_ngcontent-%COMP%]:before{content:"\\f1ea"}
503.icon-audio_file[_ngcontent-%COMP%]:before{content:"\\f1eb"}.icon-attach_file[_ngcontent-%COMP%]:before{content:"\\f1ec"}.icon-article_outline[_ngcontent-%COMP%]:before{content:"\\f1ed"}.icon-article[_ngcontent-%COMP%]:before{content:"\\f1ee"}.icon-arrow_upward[_ngcontent-%COMP%]:before{content:"\\f1ef"}.icon-arrow_right[_ngcontent-%COMP%]:before{content:"\\f1f0"}.icon-arrow_left[_ngcontent-%COMP%]:before{content:"\\f1f1"}.icon-arrow_forward[_ngcontent-%COMP%]:before{content:"\\f1f2"}.icon-arrow_drop_down[_ngcontent-%COMP%]:before{content:"\\f1f3"}.icon-arrow_downward[_ngcontent-%COMP%]:before{content:"\\f1f4"}.icon-arrow_circle_up_outlined[_ngcontent-%COMP%]:before{content:"\\f1f5"}.icon-arrow_circle_up[_ngcontent-%COMP%]:before{content:"\\f1f6"}.icon-arrow_circle_right_outlined[_ngcontent-%COMP%]:before{content:"\\f1f7"}.icon-arrow_circle_right[_ngcontent-%COMP%]:before{content:"\\f1f8"}.icon-arrow_circle_left_outlined[_ngcontent-%COMP%]:before{content:"\\f1f9"}.icon-arrow_circle_left[_ngcontent-%COMP%]:before{content:"\\f1fa"}.icon-arrow_circle_down_outlined[_ngcontent-%COMP%]:before{content:"\\f1fb"}.icon-arrow_circle_down[_ngcontent-%COMP%]:before{content:"\\f1fc"}.icon-arrow_back[_ngcontent-%COMP%]:before{content:"\\f1fd"}.icon-api[_ngcontent-%COMP%]:before{content:"\\f1fe"}.icon-analytics[_ngcontent-%COMP%]:before{content:"\\f1ff"}.icon-all_inclusive_outlined[_ngcontent-%COMP%]:before{content:"\\f200"}.icon-all_inclusive[_ngcontent-%COMP%]:before{content:"\\f201"}.icon-ads_click[_ngcontent-%COMP%]:before{content:"\\f202"}.icon-adjust[_ngcontent-%COMP%]:before{content:"\\f203"}.icon-add_row[_ngcontent-%COMP%]:before{content:"\\f204"}.icon-add_outlined[_ngcontent-%COMP%]:before{content:"\\f205"}.icon-add_column[_ngcontent-%COMP%]:before{content:"\\f206"}.icon-add_circle_outlined[_ngcontent-%COMP%]:before{content:"\\f207"}.icon-add_circle[_ngcontent-%COMP%]:before{content:"\\f208"}.icon-add_box_outlined[_ngcontent-%COMP%]:before{content:"\\f209"}.icon-add_box[_ngcontent-%COMP%]:before{content:"\\f20a"}.icon-add[_ngcontent-%COMP%]:before{content:"\\f20b"}.icon-account_tree[_ngcontent-%COMP%]:before{content:"\\f20c"}.icon-account_balance_outlined[_ngcontent-%COMP%]:before{content:"\\f20d"}.icon-account_balance[_ngcontent-%COMP%]:before{content:"\\f20e"}.icon-account[_ngcontent-%COMP%]:before{content:"\\f20f"}.icon-access_time_outlined[_ngcontent-%COMP%]:before{content:"\\f210"}.icon-access_time[_ngcontent-%COMP%]:before{content:"\\f211"}[_nghost-%COMP%]{display:inline-block;line-height:var(--lv-line-height-xs);vertical-align:middle}[_nghost-%COMP%]   i[_ngcontent-%COMP%]{display:block;line-height:var(--lv-line-height-xs)}.xl[_ngcontent-%COMP%]{font-size:var(--lv-font-size-700)}.lg[_ngcontent-%COMP%]{font-size:var(--lv-font-size-600)}.md[_ngcontent-%COMP%]{font-size:var(--lv-font-size-500)}.sm[_ngcontent-%COMP%]{font-size:var(--lv-font-size-300)}']})}}return T})()},1744(vt,Y,i){i.d(Y,{H:()=>C});var h=i(5802),b=i(345),c=i(5547);let C=(()=>{class T{constructor(){this.sanitizer=(0,h.WQX)(b.up)}transform(O,k){switch(k){case"html":return this.sanitizer.bypassSecurityTrustHtml(O);case"style":return this.sanitizer.bypassSecurityTrustStyle(O);case"script":return this.sanitizer.bypassSecurityTrustScript(O);case"url":return this.sanitizer.bypassSecurityTrustUrl(O);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(O);default:throw new Error(`Invalid safe type specified: ${k}`)}}static{this.\u0275fac=function(k){return new(k||T)}}static{this.\u0275pipe=c.EJ8({name:"LvLibSafe",type:T,pure:!0})}}return T})()},4412(vt,Y,i){i.d(Y,{t:()=>b});var h=i(1413);class b extends h.B{constructor(C){super(),this._value=C}get value(){return this.getValue()}_subscribe(C){const T=super._subscribe(C);return!T.closed&&C.next(this._value),T}getValue(){const{hasError:C,thrownError:T,_value:y}=this;if(C)throw T;return this._throwIfClosed(),y}next(C){super.next(this._value=C)}}},1985(vt,Y,i){i.d(Y,{c:()=>k});var h=i(7707),b=i(8359),c=i(3494),C=i(1203),T=i(1026),y=i(8071),O=i(9786);let k=(()=>{class m{constructor(W){W&&(this._subscribe=W)}lift(W){const z=new m;return z.source=this,z.operator=W,z}subscribe(W,z,se){const G=function D(m){return m&&m instanceof h.vU||function v(m){return m&&(0,y.T)(m.next)&&(0,y.T)(m.error)&&(0,y.T)(m.complete)}(m)&&(0,b.Uv)(m)}(W)?W:new h.Ms(W,z,se);return(0,O.Y)(()=>{const{operator:le,source:_}=this;G.add(le?le.call(G,_):_?this._subscribe(G):this._trySubscribe(G))}),G}_trySubscribe(W){try{return this._subscribe(W)}catch(z){W.error(z)}}forEach(W,z){return new(z=w(z))((se,G)=>
vendor: 5,094 bytes, line 503
503{const le=new h.Ms({next:_=>{try{W(_)}catch(ge){G(ge),le.unsubscribe()}},error:G,complete:se});this.subscribe(le)})}_subscribe(W){var z;return null===(z=this.source)||void 0===z?void 0:z.subscribe(W)}[c.s](){return this}pipe(...W){return(0,C.m)(W)(this)}toPromise(W){return new(W=w(W))((z,se)=>{let G;this.subscribe(le=>G=le,le=>se(le),()=>z(G))})}}return m.create=u=>new m(u),m})();function w(m){var u;return null!==(u=m??T.$.Promise)&&void 0!==u?u:Promise}},2771(vt,Y,i){i.d(Y,{m:()=>c});var h=i(1413),b=i(6129);class c extends h.B{constructor(T=1/0,y=1/0,O=b.U){super(),this._bufferSize=T,this._windowTime=y,this._timestampProvider=O,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=y===1/0,this._bufferSize=Math.max(1,T),this._windowTime=Math.max(1,y)}next(T){const{isStopped:y,_buffer:O,_infiniteTimeWindow:k,_timestampProvider:w,_windowTime:v}=this;y||(O.push(T),!k&&O.push(w.now()+v)),this._trimBuffer(),super.next(T)}_subscribe(T){this._throwIfClosed(),this._trimBuffer();const y=this._innerSubscribe(T),{_infiniteTimeWindow:O,_buffer:k}=this,w=k.slice();for(let v=0;v<w.length&&!T.closed;v+=O?1:2)T.next(w[v]);return this._checkFinalizedStatuses(T),y}_trimBuffer(){const{_bufferSize:T,_timestampProvider:y,_buffer:O,_infiniteTimeWindow:k}=this,w=(k?1:2)*T;if(T<1/0&&w<O.length&&O.splice(0,O.length-w),!k){const v=y.now();let D=0;for(let m=1;m<O.length&&O[m]<=v;m+=2)D=m;D&&O.splice(0,D+1)}}}},1413(vt,Y,i){i.d(Y,{B:()=>O});var h=i(1985),b=i(8359);const C=(0,i(1853).L)(w=>function(){w(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var T=i(7908),y=i(9786);let O=(()=>{class w extends h.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(D){const m=new k(this,this);return m.operator=D,m}_throwIfClosed(){if(this.closed)throw new C}next(D){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const m of this.currentObservers)m.next(D)}})}error(D){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=D;const{observers:m}=this;for(;m.length;)m.shift().error(D)}})}complete(){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:D}=this;for(;D.length;)D.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var D;return(null===(D=this.observers)||void 0===D?void 0:D.length)>0}_trySubscribe(D){return this._throwIfClosed(),super._trySubscribe(D)}_subscribe(D){return this._throwIfClosed(),this._checkFinalizedStatuses(D),this._innerSubscribe(D)}_innerSubscribe(D){const{hasError:m,isStopped:u,observers:W}=this;return m||u?b.Kn:(this.currentObservers=null,W.push(D),new b.yU(()=>{this.currentObservers=null,(0,T.o)(W,D)}))}_checkFinalizedStatuses(D){const{hasError:m,thrownError:u,isStopped:W}=this;m?D.error(u):W&&D.complete()}asObservable(){const D=new h.c;return D.source=this,D}}return w.create=(v,D)=>new k(v,D),w})();class k extends O{constructor(v,D){super(),this.destination=v,this.source=D}next(v){var D,m;null===(m=null===(D=this.destination)||void 0===D?void 0:D.next)||void 0===m||m.call(D,v)}error(v){var D,m;null===(m=null===(D=this.destination)||void 0===D?void 0:D.error)||void 0===m||m.call(D,v)}complete(){var v,D;null===(D=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===D||D.call(v)}_subscribe(v){var D,m;return null!==(m=null===(D=this.source)||void 0===D?void 0:D.subscribe(v))&&void 0!==m?m:b.Kn}}},7707(vt,Y,i){i.d(Y,{Ms:()=>se,vU:()=>m});var h=i(8071),b=i(8359),c=i(1026),C=i(5334),T=i(5343);const y=w("C",void 0,void 0);function w(q,Te,Be){return{kind:q,value:Te,error:Be}}var v=i(9270),D=i(9786);class m extends b.yU{constructor(Te){super(),this.isStopped=!1,Te?(this.destination=Te,(0,b.Uv)(Te)&&Te.add(this)):this.destination=ge}static create(Te,Be,we){return new se(Te,Be,we)}next(Te){this.isStopped?_(function k(q){return w("N",q,void 0)}(Te),this):this._next(Te)}error(Te){this.isStopped?_(function O(q){return w("E",void 0,q)}(Te),this):(this.isStopped=!0,this._error(Te))}complete(){this.isStopped?_(y,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Te){this.destination.next(Te)}_error(Te){try{this.destination.error(Te)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const u=Function.prototype.bind;function W(q,Te){return u.call(q,Te)}class z{constructor(Te){this.partialObserver=Te}next(Te){const{partialObserver:Be}=this;if(Be.next)try{Be.next(Te)}catch(we){G(we)}}error(Te){const{partialObserver:Be}=this;if(Be.error)try{Be.error(Te)}catch(we){G(we)}else G(Te)}complete(){const{partialObserver:Te}=this;if(Te.complete)try{Te.complete()}catch(Be){G(Be)}}}class se extends m{constructor(Te,Be,we){let X;if(super(),(0,h.T)(Te)||!Te)X={next:Te??void 0,error:Be??void 0,complete:we??void 0};else{let ye;
503this&&c.$.useDeprecatedNextContext?(ye=Object.create(Te),ye.unsubscribe=()=>this.unsubscribe(),X={next:Te.next&&W(Te.next,ye),error:Te.error&&W(Te.error,ye),complete:Te.complete&&W(Te.complete,ye)}):X=Te}this.destination=new z(X)}}function G(q){c.$.useDeprecatedSynchronousErrorHandling?(0,D.l)(q):(0,C.m)(q)}function _(q,Te){const{onStoppedNotification:Be}=c.$;Be&&v.f.setTimeout(()=>Be(q,Te))}const ge={closed:!0,next:T.l,error:function le(q){throw q},complete:T.l}},8359(vt,Y,i){i.d(Y,{Kn:()=>y,yU:()=>T,Uv:()=>O});var h=i(8071);const c=(0,i(1853).L)(w=>function(D){w(this),this.message=D?`${D.length} errors occurred during unsubscription:\n${D.map((m,u)=>`${u+1}) ${m.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=D});var C=i(7908);class T{constructor(v){this.initialTeardown=v,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let v;if(!this.closed){this.closed=!0;const{_parentage:D}=this;if(D)if(this._parentage=null,Array.isArray(D))for(const W of D)W.remove(this);else D.remove(this);const{initialTeardown:m}=this;if((0,h.T)(m))try{m()}catch(W){v=W instanceof c?W.errors:[W]}const{_finalizers:u}=this;if(u){this._finalizers=null;for(const W of u)try{k(W)}catch(z){v=v??[],z instanceof c?v=[...v,...z.errors]:v.push(z)}}if(v)throw new c(v)}}add(v){var D;if(v&&v!==this)if(this.closed)k(v);else{if(v instanceof T){if(v.closed||v._hasParent(this))return;v._addParent(this)}(this._finalizers=null!==(D=this._finalizers)&&void 0!==D?D:[]).push(v)}}_hasParent(v){const{_parentage:D}=this;return D===v||Array.isArray(D)&&D.includes(v)}_addParent(v){const{_parentage:D}=this;this._parentage=Array.isArray(D)?(D.push(v),D):D?[D,v]:v}_removeParent(v){const{_parentage:D}=this;D===v?this._parentage=null:Array.isArray(D)&&(0,C.o)(D,v)}remove(v){const{_finalizers:D}=this;D&&(0,C.o)(D,v),v instanceof T&&v._removeParent(this)}}T.EMPTY=(()=>{const w=new T;return w.closed=!0,w})();const y=T.EMPTY;function O(w){return w instanceof T||w&&"closed"in w&&(0,h.T)(w.remove)&&(0,h.T)(w.add)&&(0,h.T)(w.unsubscribe)}function k(w){(0,h.T)(w)?w():w.unsubscribe()}},1026(vt,Y,i){i.d(Y,{$:()=>h});const h={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4843(vt,Y,i){i.d(Y,{_:()=>c});var h=i(9350),b=i(7707);function c(C,T){const y="object"==typeof T;return new Promise((O,k)=>{const w=new b.Ms({next:v=>{O(v),w.unsubscribe()},error:k,complete:()=>{y?O(T.defaultValue):k(new h.G)}});C.subscribe(w)})}},3207(vt,Y,i){i.d(Y,{s:()=>b});var h=i(9350);function b(c,C){const T="object"==typeof C;return new Promise((y,O)=>{let w,k=!1;c.subscribe({next:v=>{w=v,k=!0},error:O,complete:()=>{k?y(w):T?y(C.defaultValue):O(new h.G)}})})}},4572(vt,Y,i){i.d(Y,{z:()=>v});var h=i(1985),b=i(3073),c=i(2806),C=i(3669),T=i(6450),y=i(9326),O=i(8496),k=i(4360),w=i(5225);function v(...u){const W=(0,y.lI)(u),z=(0,y.ms)(u),{args:se,keys:G}=(0,b.D)(u);if(0===se.length)return(0,c.H)([],W);const le=new h.c(function D(u,W,z=C.D){return se=>{m(W,()=>{const{length:G}=u,le=new Array(G);let _=G,ge=G;for(let q=0;q<G;q++)m(W,()=>{const Te=(0,c.H)(u[q],W);let Be=!1;Te.subscribe((0,k._)(se,we=>{le[q]=we,Be||(Be=!0,ge--),ge||se.next(z(le.slice()))},()=>{--_||se.complete()}))},se)},se)}}(se,W,G?_=>(0,O.e)(G,_):C.D));return z?le.pipe((0,T.I)(z)):le}function m(u,W,z){u?(0,w.N)(z,u,W):W()}},8793(vt,Y,i){i.d(Y,{x:()=>T});var h=i(6365),c=i(9326),C=i(2806);function T(...y){return function b(){return(0,h.U)(1)}()((0,C.H)(y,(0,c.lI)(y)))}},9030(vt,Y,i){i.d(Y,{v:()=>c});var h=i(1985),b=i(8750);function c(C){return new h.c(T=>{(0,b.Tg)(C()).subscribe(T)})}},983(vt,Y,i){i.d(Y,{w:()=>c});const c=new(i(1985).c)(y=>y.complete())},7468(vt,Y,i){i.d(Y,{p:()=>k});var h=i(1985),b=i(3073),c=i(8750),C=i(9326),T=i(4360),y=i(6450),O=i(8496);function k(...w){const v=(0,C.ms)(w),{args:D,keys:m}=(0,b.D)(w),u=new h.c(W=>{const{length:z}=D;if(!z)return void W.complete();const se=new Array(z);let G=z,le=z;for(let _=0;_<z;_++){let ge=!1;(0,c.Tg)(D[_]).subscribe((0,T._)(W,q=>{ge||(ge=!0,le--),se[_]=q},()=>G--,void 0,()=>{(!G||!ge)&&(le||W.next(m?(0,O.e)(m,se):se),W.complete())}))}});return v?u.pipe((0,y.I)(v)):u}},2806(vt,Y,i){i.d(Y,{H:()=>Be});var h=i(8750),b=i(941),c=i(9974);function C(we,X=0){return(0,c.N)((ye,Q)=>{Q.add(we.schedule(()=>ye.subscribe(Q),X))})}var O=i(1985),w=i(4761),v=i(8071),D=i(5225);
503function u(we,X){if(!we)throw new Error("Iterable cannot be null");return new O.c(ye=>{(0,D.N)(ye,X,()=>{const Q=we[Symbol.asyncIterator]();(0,D.N)(ye,X,()=>{Q.next().then(ae=>{ae.done?ye.complete():ye.next(ae.value)})},0,!0)})})}var W=i(5055),z=i(9858),se=i(7441),G=i(5397),le=i(7953),_=i(591),ge=i(5196);function Be(we,X){return X?function Te(we,X){if(null!=we){if((0,W.l)(we))return function T(we,X){return(0,h.Tg)(we).pipe(C(X),(0,b.Q)(X))}(we,X);if((0,se.X)(we))return function k(we,X){return new O.c(ye=>{let Q=0;return X.schedule(function(){Q===we.length?ye.complete():(ye.next(we[Q++]),ye.closed||this.schedule())})})}(we,X);if((0,z.y)(we))return function y(we,X){return(0,h.Tg)(we).pipe(C(X),(0,b.Q)(X))}(we,X);if((0,le.T)(we))return u(we,X);if((0,G.x)(we))return function m(we,X){return new O.c(ye=>{let Q;return(0,D.N)(ye,X,()=>{Q=we[w.l](),(0,D.N)(ye,X,()=>{let ae,H;try{({value:ae,done:H}=Q.next())}catch(_e){return void ye.error(_e)}H?ye.complete():ye.next(ae)},0,!0)}),()=>(0,v.T)(Q?.return)&&Q.return()})}(we,X);if((0,ge.U)(we))return function q(we,X){return u((0,ge.C)(we),X)}(we,X)}throw(0,_.L)(we)}(we,X):(0,h.Tg)(we)}},8750(vt,Y,i){i.d(Y,{Tg:()=>u});var h=i(1635),b=i(7441),c=i(9858),C=i(1985),T=i(5055),y=i(7953),O=i(591),k=i(5397),w=i(5196),v=i(8071),D=i(5334),m=i(3494);function u(q){if(q instanceof C.c)return q;if(null!=q){if((0,T.l)(q))return function W(q){return new C.c(Te=>{const Be=q[m.s]();if((0,v.T)(Be.subscribe))return Be.subscribe(Te);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(q);if((0,b.X)(q))return function z(q){return new C.c(Te=>{for(let Be=0;Be<q.length&&!Te.closed;Be++)Te.next(q[Be]);Te.complete()})}(q);if((0,c.y)(q))return function se(q){return new C.c(Te=>{q.then(Be=>{Te.closed||(Te.next(Be),Te.complete())},Be=>Te.error(Be)).then(null,D.m)})}(q);if((0,y.T)(q))return le(q);if((0,k.x)(q))return function G(q){return new C.c(Te=>{for(const Be of q)if(Te.next(Be),Te.closed)return;Te.complete()})}(q);if((0,w.U)(q))return function _(q){return le((0,w.C)(q))}(q)}throw(0,O.L)(q)}function le(q){return new C.c(Te=>{(function ge(q,Te){var Be,we,X,ye;return(0,h.sH)(this,void 0,void 0,function*(){try{for(Be=(0,h.xN)(q);!(we=yield Be.next()).done;)if(Te.next(we.value),Te.closed)return}catch(Q){X={error:Q}}finally{try{we&&!we.done&&(ye=Be.return)&&(yield ye.call(Be))}finally{if(X)throw X.error}}Te.complete()})})(q,Te).catch(Be=>Te.error(Be))})}},7786(vt,Y,i){i.d(Y,{h:()=>y});var h=i(6365),b=i(8750),c=i(983),C=i(9326),T=i(2806);function y(...O){const k=(0,C.lI)(O),w=(0,C.R0)(O,1/0),v=O;return v.length?1===v.length?(0,b.Tg)(v[0]):(0,h.U)(w)((0,T.H)(v,k)):c.w}},7673(vt,Y,i){i.d(Y,{of:()=>c});var h=i(9326),b=i(2806);function c(...C){const T=(0,h.lI)(C);return(0,b.H)(C,T)}},8810(vt,Y,i){i.d(Y,{$:()=>c});var h=i(1985),b=i(8071);function c(C,T){const y=(0,b.T)(C)?C:()=>C,O=k=>k.error(y());return new h.c(T?k=>T.schedule(O,0,k):O)}},1807(vt,Y,i){i.d(Y,{O:()=>T});var h=i(1985),b=i(3236),c=i(9470),C=i(8211);function T(y=0,O,k=b.b){let w=-1;return null!=O&&((0,c.m)(O)?k=O:w=O),new h.c(v=>{let D=(0,C.v)(y)?+y-k.now():y;D<0&&(D=0);let m=0;return k.schedule(function(){v.closed||(v.next(m++),0<=w?this.schedule(void 0,w):v.complete())},D)})}},4360(vt,Y,i){i.d(Y,{_:()=>b});var h=i(7707);function b(C,T,y,O,k){return new c(C,T,y,O,k)}class c extends h.vU{constructor(T,y,O,k,w,v){super(T),this.onFinalize=w,this.shouldUnsubscribe=v,this._next=y?function(D){try{y(D)}catch(m){T.error(m)}}:super._next,this._error=k?function(D){try{k(D)}catch(m){T.error(m)}finally{this.unsubscribe()}}:super._error,this._complete=O?function(){try{O()}catch(D){T.error(D)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var T;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:y}=this;super.unsubscribe(),!y&&(null===(T=this.onFinalize)||void 0===T||T.call(this))}}}},3798(vt,Y,i){i.d(Y,{Z:()=>O});var h=i(3236),b=i(9974),c=i(8750),C=i(4360),y=i(1807);function O(k,w=h.E){return function T(k){return(0,b.N)((w,v)=>{let D=!1,m=null,u=null,W=!1;const z=()=>{if(u?.unsubscribe(),u=null,D){D=!1;const G=m;
503m=null,v.next(G)}W&&v.complete()},se=()=>{u=null,W&&v.complete()};w.subscribe((0,C._)(v,G=>{D=!0,m=G,u||(0,c.Tg)(k(G)).subscribe(u=(0,C._)(v,z,se))},()=>{W=!0,(!D||!u||u.closed)&&v.complete()}))})}(()=>(0,y.O)(k,w))}},9437(vt,Y,i){i.d(Y,{W:()=>C});var h=i(8750),b=i(4360),c=i(9974);function C(T){return(0,c.N)((y,O)=>{let v,k=null,w=!1;k=y.subscribe((0,b._)(O,void 0,void 0,D=>{v=(0,h.Tg)(T(D,C(T)(y))),k?(k.unsubscribe(),k=null,v.subscribe(O)):w=!0})),w&&(k.unsubscribe(),k=null,v.subscribe(O))})}},274(vt,Y,i){i.d(Y,{H:()=>c});var h=i(1397),b=i(8071);function c(C,T){return(0,b.T)(T)?(0,h.Z)(C,T,1):(0,h.Z)(C,1)}},152(vt,Y,i){i.d(Y,{B:()=>C});var h=i(3236),b=i(9974),c=i(4360);function C(T,y=h.E){return(0,b.N)((O,k)=>{let w=null,v=null,D=null;const m=()=>{if(w){w.unsubscribe(),w=null;const W=v;v=null,k.next(W)}};function u(){const W=D+T,z=y.now();if(z<W)return w=this.schedule(void 0,W-z),void k.add(w);m()}O.subscribe((0,c._)(k,W=>{v=W,D=y.now(),w||(w=y.schedule(u,T),k.add(w))},()=>{m(),k.complete()},void 0,()=>{v=w=null}))})}},9901(vt,Y,i){i.d(Y,{U:()=>c});var h=i(9974),b=i(4360);function c(C){return(0,h.N)((T,y)=>{let O=!1;T.subscribe((0,b._)(y,k=>{O=!0,y.next(k)},()=>{O||y.next(C),y.complete()}))})}},1986(vt,Y,i){i.d(Y,{c:()=>u});var h=i(3236),b=i(8793),c=i(6697),C=i(9974),T=i(4360),y=i(5343),k=i(3703),w=i(1397),v=i(8750);function D(W,z){return z?se=>(0,b.x)(z.pipe((0,c.s)(1),function O(){return(0,C.N)((W,z)=>{W.subscribe((0,T._)(z,y.l))})}()),se.pipe(D(W))):(0,w.Z)((se,G)=>(0,v.Tg)(W(se,G)).pipe((0,c.s)(1),(0,k.u)(se)))}var m=i(1807);function u(W,z=h.E){const se=(0,m.O)(W,z);return D(()=>se)}},3294(vt,Y,i){i.d(Y,{F:()=>C});var h=i(3669),b=i(9974),c=i(4360);function C(y,O=h.D){return y=y??T,(0,b.N)((k,w)=>{let v,D=!0;k.subscribe((0,c._)(w,m=>{const u=O(m);(D||!y(v,u))&&(D=!1,v=u,w.next(m))}))})}function T(y,O){return y===O}},786(vt,Y,i){i.d(Y,{p:()=>T});var h=i(6354),b=i(8750),c=i(9974),C=i(4360);function T(y,O){return O?k=>k.pipe(T((w,v)=>(0,b.Tg)(y(w,v)).pipe((0,h.T)((D,m)=>O(w,D,v,m))))):(0,c.N)((k,w)=>{let v=0,D=null,m=!1;k.subscribe((0,C._)(w,u=>{D||(D=(0,C._)(w,void 0,()=>{D=null,m&&w.complete()}),(0,b.Tg)(y(u,v++)).subscribe(D))},()=>{m=!0,!D&&w.complete()}))})}},5964(vt,Y,i){i.d(Y,{p:()=>c});var h=i(9974),b=i(4360);function c(C,T){return(0,h.N)((y,O)=>{let k=0;y.subscribe((0,b._)(O,w=>C.call(T,w,k++)&&O.next(w)))})}},980(vt,Y,i){i.d(Y,{j:()=>b});var h=i(9974);function b(c){return(0,h.N)((C,T)=>{try{C.subscribe(T)}finally{T.add(c)}})}},1594(vt,Y,i){i.d(Y,{$:()=>O});var h=i(9350),b=i(5964),c=i(6697),C=i(9901),T=i(3774),y=i(3669);function O(k,w){const v=arguments.length>=2;return D=>D.pipe(k?(0,b.p)((m,u)=>k(m,u,D)):y.D,(0,c.s)(1),v?(0,C.U)(w):(0,T.v)(()=>new h.G))}},6354(vt,Y,i){i.d(Y,{T:()=>c});var h=i(9974),b=i(4360);function c(C,T){return(0,h.N)((y,O)=>{let k=0;y.subscribe((0,b._)(O,w=>{O.next(C.call(T,w,k++))}))})}},3703(vt,Y,i){i.d(Y,{u:()=>b});var h=i(6354);function b(c){return(0,h.T)(()=>c)}},6365(vt,Y,i){i.d(Y,{U:()=>c});var h=i(1397),b=i(3669);function c(C=1/0){return(0,h.Z)(b.D,C)}},1397(vt,Y,i){i.d(Y,{Z:()=>k});var h=i(6354),b=i(8750),c=i(9974),C=i(5225),T=i(4360),O=i(8071);function k(w,v,D=1/0){return(0,O.T)(v)?k((m,u)=>(0,h.T)((W,z)=>v(m,W,u,z))((0,b.Tg)(w(m,u))),D):("number"==typeof v&&(D=v),(0,c.N)((m,u)=>function y(w,v,D,m,u,W,z,se){const G=[];let le=0,_=0,ge=!1;const q=()=>{ge&&!G.length&&!le&&v.complete()},Te=we=>le<m?Be(we):G.push(we),Be=we=>{W&&v.next(we),le++;let X=!1;(0,b.Tg)(D(we,_++)).subscribe((0,T._)(v,ye=>{u?.(ye),W?Te(ye):v.next(ye)},()=>{X=!0},void 0,()=>{if(X)try{for(le--;G.length&&le<m;){const ye=G.shift();z?(0,C.N)(v,z,()=>Be(ye)):Be(ye)}q()}catch(ye){v.error(ye)}}))};return w.subscribe((0,T._)(v,Te,()=>{ge=!0,q()})),()=>{se?.()}}(m,u,w,D)))}},941(vt,Y,i){i.d(Y,{Q:()=>C});var h=i(5225),b=i(9974),c=i(4360);function C(T,y=0){return(0,b.N)((O,k)=>{O.subscribe((0,c._)(k,w=>(0,h.N)(k,T,()=>k.next(w),y),()=>(0,h.N)(k,T,()=>k.complete(),y),w=>(0,h.N)(k,T,()=>k.error(w),y)))})}},7647(vt,Y,i){i.d(Y,{u:()=>T});var h=i(8750),b=i(1413),c=i(7707),C=i(9974);function T(O={}){const{connector:k=()=>new b.B,resetOnError:w=!0,resetOnComplete:v=!0,resetOnRefCountZero:D=!0}=O;return m=>{let u,W,z,se=0,G=!1,le=!1;const _=()=>{W?.unsubscribe(),W=void 0},ge=()=>{_(),u=z=void 0,G=le=!1},q=()=>{const Te=u;ge(),Te?.unsubscribe()};return(0,C.N)((Te,Be)=>
503{se++,!le&&!G&&_();const we=z=z??k();Be.add(()=>{se--,0===se&&!le&&!G&&(W=y(q,D))}),we.subscribe(Be),!u&&se>0&&(u=new c.Ms({next:X=>we.next(X),error:X=>{le=!0,_(),W=y(ge,w,X),we.error(X)},complete:()=>{G=!0,_(),W=y(ge,v),we.complete()}}),(0,h.Tg)(Te).subscribe(u))})(m)}}function y(O,k,...w){if(!0===k)return void O();if(!1===k)return;const v=new c.Ms({next:()=>{v.unsubscribe(),O()}});return(0,h.Tg)(k(...w)).subscribe(v)}},4668(vt,Y,i){i.d(Y,{t:()=>c});var h=i(2771),b=i(7647);function c(C,T,y){let O,k=!1;return C&&"object"==typeof C?({bufferSize:O=1/0,windowTime:T=1/0,refCount:k=!1,scheduler:y}=C):O=C??1/0,(0,b.u)({connector:()=>new h.m(O,T,y),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:k})}},5245(vt,Y,i){i.d(Y,{i:()=>b});var h=i(5964);function b(c){return(0,h.p)((C,T)=>c<=T)}},9172(vt,Y,i){i.d(Y,{Z:()=>C});var h=i(8793),b=i(9326),c=i(9974);function C(...T){const y=(0,b.lI)(T);return(0,c.N)((O,k)=>{(y?(0,h.x)(T,O,y):(0,h.x)(T,O)).subscribe(k)})}},5558(vt,Y,i){i.d(Y,{n:()=>C});var h=i(8750),b=i(9974),c=i(4360);function C(T,y){return(0,b.N)((O,k)=>{let w=null,v=0,D=!1;const m=()=>D&&!w&&k.complete();O.subscribe((0,c._)(k,u=>{w?.unsubscribe();let W=0;const z=v++;(0,h.Tg)(T(u,z)).subscribe(w=(0,c._)(k,se=>k.next(y?y(u,se,z,W++):se),()=>{w=null,m()}))},()=>{D=!0,m()}))})}},6697(vt,Y,i){i.d(Y,{s:()=>C});var h=i(983),b=i(9974),c=i(4360);function C(T){return T<=0?()=>h.w:(0,b.N)((y,O)=>{let k=0;y.subscribe((0,c._)(O,w=>{++k<=T&&(O.next(w),T<=k&&O.complete())}))})}},5109(vt,Y,i){i.d(Y,{o:()=>C});var h=i(983),b=i(9974),c=i(4360);function C(T){return T<=0?()=>h.w:(0,b.N)((y,O)=>{let k=[];y.subscribe((0,c._)(O,w=>{k.push(w),T<k.length&&k.shift()},()=>{for(const w of k)O.next(w);O.complete()},void 0,()=>{k=null}))})}},6977(vt,Y,i){i.d(Y,{Q:()=>T});var h=i(9974),b=i(4360),c=i(8750),C=i(5343);function T(y){return(0,h.N)((O,k)=>{(0,c.Tg)(y).subscribe((0,b._)(k,()=>k.complete(),C.l)),!k.closed&&O.subscribe(k)})}},7048(vt,Y,i){i.d(Y,{v:()=>c});var h=i(9974),b=i(4360);function c(C,T=!1){return(0,h.N)((y,O)=>{let k=0;y.subscribe((0,b._)(O,w=>{const v=C(w,k++);(v||T)&&O.next(w),!v&&O.complete()}))})}},8141(vt,Y,i){i.d(Y,{M:()=>T});var h=i(8071),b=i(9974),c=i(4360),C=i(3669);function T(y,O,k){const w=(0,h.T)(y)||O||k?{next:y,error:O,complete:k}:y;return w?(0,b.N)((v,D)=>{var m;null===(m=w.subscribe)||void 0===m||m.call(w);let u=!0;v.subscribe((0,c._)(D,W=>{var z;null===(z=w.next)||void 0===z||z.call(w,W),D.next(W)},()=>{var W;u=!1,null===(W=w.complete)||void 0===W||W.call(w),D.complete()},W=>{var z;u=!1,null===(z=w.error)||void 0===z||z.call(w,W),D.error(W)},()=>{var W,z;u&&(null===(W=w.unsubscribe)||void 0===W||W.call(w)),null===(z=w.finalize)||void 0===z||z.call(w)}))}):C.D}},3774(vt,Y,i){i.d(Y,{v:()=>C});var h=i(9350),b=i(9974),c=i(4360);function C(y=T){return(0,b.N)((O,k)=>{let w=!1;O.subscribe((0,c._)(k,v=>{w=!0,k.next(v)},()=>w?k.complete():k.error(y())))})}function T(){return new h.G}},2087(vt,Y,i){i.d(Y,{w:()=>w});var h=i(3236),b=i(8211),c=i(9974),C=i(8750),T=i(1853),y=i(4360),O=i(5225);const k=(0,T.L)(D=>function(u=null){D(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=u});function w(D,m){const{first:u,each:W,with:z=v,scheduler:se=m??h.E,meta:G=null}=(0,b.v)(D)?{first:D}:"number"==typeof D?{each:D}:D;if(null==u&&null==W)throw new TypeError("No timeout provided.");return(0,c.N)((le,_)=>{let ge,q,Te=null,Be=0;const we=X=>{q=(0,O.N)(_,se,()=>{try{ge.unsubscribe(),(0,C.Tg)(z({meta:G,lastValue:Te,seen:Be})).subscribe(_)}catch(ye){_.error(ye)}},X)};ge=le.subscribe((0,y._)(_,X=>{q?.unsubscribe(),Be++,_.next(Te=X),W>0&&we(W)},void 0,void 0,()=>{q?.closed||q?.unsubscribe(),Te=null})),!Be&&we(null!=u?"number"==typeof u?u:+u-se.now():W)})}function v(D){throw new k(D)}},6780(vt,Y,i){i.d(Y,{R:()=>T});var h=i(8359);class b extends h.yU{constructor(O,k){super()}schedule(O,k=0){return this}}const c={setInterval(y,O,...k){const{delegate:w}=c;return w?.setInterval?w.setInterval(y,O,...k):setInterval(y,O,...k)},clearInterval(y){const{delegate:O}=c;return(O?.clearInterval||clearInterval)(y)},delegate:void 0};var C=i(7908);
vendor: 8,595 bytes, line 503
503class T extends b{constructor(O,k){super(O,k),this.scheduler=O,this.work=k,this.pending=!1}schedule(O,k=0){var w;if(this.closed)return this;this.state=O;const v=this.id,D=this.scheduler;return null!=v&&(this.id=this.recycleAsyncId(D,v,k)),this.pending=!0,this.delay=k,this.id=null!==(w=this.id)&&void 0!==w?w:this.requestAsyncId(D,this.id,k),this}requestAsyncId(O,k,w=0){return c.setInterval(O.flush.bind(O,this),w)}recycleAsyncId(O,k,w=0){if(null!=w&&this.delay===w&&!1===this.pending)return k;null!=k&&c.clearInterval(k)}execute(O,k){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const w=this._execute(O,k);if(w)return w;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(O,k){let v,w=!1;try{this.work(O)}catch(D){w=!0,v=D||new Error("Scheduled action threw falsy error")}if(w)return this.unsubscribe(),v}unsubscribe(){if(!this.closed){const{id:O,scheduler:k}=this,{actions:w}=k;this.work=this.state=this.scheduler=null,this.pending=!1,(0,C.o)(w,this),null!=O&&(this.id=this.recycleAsyncId(k,O,null)),this.delay=null,super.unsubscribe()}}}},9687(vt,Y,i){i.d(Y,{q:()=>c});var h=i(6129);class b{constructor(T,y=b.now){this.schedulerActionCtor=T,this.now=y}schedule(T,y=0,O){return new this.schedulerActionCtor(this,T).schedule(O,y)}}b.now=h.U.now;class c extends b{constructor(T,y=b.now){super(T,y),this.actions=[],this._active=!1}flush(T){const{actions:y}=this;if(this._active)return void y.push(T);let O;this._active=!0;do{if(O=T.execute(T.state,T.delay))break}while(T=y.shift());if(this._active=!1,O){for(;T=y.shift();)T.unsubscribe();throw O}}}},536(vt,Y,i){i.d(Y,{X:()=>O});var h=i(6780),b=i(8359);const c={schedule(w){let v=requestAnimationFrame,D=cancelAnimationFrame;const{delegate:m}=c;m&&(v=m.requestAnimationFrame,D=m.cancelAnimationFrame);const u=v(W=>{D=void 0,w(W)});return new b.yU(()=>D?.(u))},requestAnimationFrame(...w){const{delegate:v}=c;return(v?.requestAnimationFrame||requestAnimationFrame)(...w)},cancelAnimationFrame(...w){const{delegate:v}=c;return(v?.cancelAnimationFrame||cancelAnimationFrame)(...w)},delegate:void 0};var T=i(9687);const O=new class y extends T.q{flush(v){let D;this._active=!0,v?D=v.id:(D=this._scheduled,this._scheduled=void 0);const{actions:m}=this;let u;v=v||m.shift();do{if(u=v.execute(v.state,v.delay))break}while((v=m[0])&&v.id===D&&m.shift());if(this._active=!1,u){for(;(v=m[0])&&v.id===D&&m.shift();)v.unsubscribe();throw u}}}(class C extends h.R{constructor(v,D){super(v,D),this.scheduler=v,this.work=D}requestAsyncId(v,D,m=0){return null!==m&&m>0?super.requestAsyncId(v,D,m):(v.actions.push(this),v._scheduled||(v._scheduled=c.requestAnimationFrame(()=>v.flush(void 0))))}recycleAsyncId(v,D,m=0){var u;if(null!=m?m>0:this.delay>0)return super.recycleAsyncId(v,D,m);const{actions:W}=v;null!=D&&D===v._scheduled&&(null===(u=W[W.length-1])||void 0===u?void 0:u.id)!==D&&(c.cancelAnimationFrame(D),v._scheduled=void 0)}})},5007(vt,Y,i){i.d(Y,{$:()=>W});var h=i(6780);let c,b=1;const C={};function T(se){return se in C&&(delete C[se],!0)}const y={setImmediate(se){const G=b++;return C[G]=!0,c||(c=Promise.resolve()),c.then(()=>T(G)&&se()),G},clearImmediate(se){T(se)}},{setImmediate:k,clearImmediate:w}=y,v={setImmediate(...se){const{delegate:G}=v;return(G?.setImmediate||k)(...se)},clearImmediate(se){const{delegate:G}=v;return(G?.clearImmediate||w)(se)},delegate:void 0};var m=i(9687);const W=new class u extends m.q{flush(G){this._active=!0;const le=this._scheduled;this._scheduled=void 0;const{actions:_}=this;let ge;G=G||_.shift();do{if(ge=G.execute(G.state,G.delay))break}while((G=_[0])&&G.id===le&&_.shift());if(this._active=!1,ge){for(;(G=_[0])&&G.id===le&&_.shift();)G.unsubscribe();throw ge}}}(class D extends h.R{constructor(G,le){super(G,le),this.scheduler=G,this.work=le}requestAsyncId(G,le,_=0){return null!==_&&_>0?super.requestAsyncId(G,le,_):(G.actions.push(this),G._scheduled||(G._scheduled=v.setImmediate(G.flush.bind(G,void 0))))}recycleAsyncId(G,le,_=0){var ge;if(null!=_?_>0:this.delay>0)return super.recycleAsyncId(G,le,_);const{actions:q}=G;null!=le&&(null===(ge=q[q.length-1])||void 0===ge?void 0:ge.id)!==le&&(v.clearImmediate(le),G._scheduled===le&&(G._scheduled=void 0))}})},3236(vt,Y,i){i.d(Y,{E:()=>c,b:()=>C});var h=i(6780);const c=new(i(9687).q)(h.R),C=c},6129(vt,Y,i){i.d(Y,{U:()=>h});const h={now:()=>(h.delegate||Date).now(),delegate:void 0}},9270(vt,Y,i){i.d(Y,{f:()=>h});const h={setTimeout(b,c,...C){const{delegate:T}=h;return T?.setTimeout?T.setTimeout(b,c,...C):setTimeout(b,c,...C)},clearTimeout(b){const{delegate:c}=h;return(c?.clearTimeout||clearTimeout)(b)},delegate:void 0}},4761(vt,Y,i){i.d(Y,{l:()=>b});const b=function h(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(vt,Y,i){i.d(Y,{s:()=>h});const h="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(vt,Y,i){i.d(Y,{G:()=>b});const b=(0,i(1853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"})},9326(vt,Y,i){i.d(Y,{R0:()=>y,lI:()=>T,ms:()=>C});var h=i(8071),b=i(9470);function c(O){return O[O.length-1]}function C(O){return(0,h.T)(c(O))?O.pop():void 0}function T(O){return(0,b.m)(c(O))?O.pop():void 0}function y(O,k){return"number"==typeof c(O)?O.pop():k}},3073(vt,Y,i){i.d(Y,{D:()=>T});const{isArray:h}=Array,{getPrototypeOf:b,prototype:c,keys:C}=Object;function T(O){if(1===O.length){const k=O[0];if(h(k))return{args:k,keys:null};if(function y(O){return O&&"object"==typeof O&&b(O)===c}(k)){const w=C(k);return{args:w.map(v=>k[v]),keys:w}}}return{args:O,keys:null}}},7908(vt,Y,i){function h(b,c){if(b){const C=b.indexOf(c);0<=C&&b.splice(C,1)}}i.d(Y,{o:()=>h})},1853(vt,Y,i){function h(b){const C=b(T=>{Error.call(T),T.stack=(new Error).stack});return C.prototype=Object.create(Error.prototype),C.prototype.constructor=C,C}i.d(Y,{L:()=>h})},8496(vt,Y,i){function h(b,c){return b.reduce((C,T,y)=>(C[T]=c[y],C),{})}i.d(Y,{e:()=>h})},9786(vt,Y,i){i.d(Y,{Y:()=>c,l:()=>C});var h=i(1026);let b=null;function c(T){if(h.$.useDeprecatedSynchronousErrorHandling){const y=!b;if(y&&(b={errorThrown:!1,error:null}),T(),y){const{errorThrown:O,error:k}=b;if(b=null,O)throw k}}else T()}function C(T){h.$.useDeprecatedSynchronousErrorHandling&&b&&(b.errorThrown=!0,b.error=T)}},5225(vt,Y,i){function h(b,c,C,T=0,y=!1){const O=c.schedule(function(){C(),y?b.add(this.schedule(null,T)):this.unsubscribe()},T);if(b.add(O),!y)return O}i.d(Y,{N:()=>h})},3669(vt,Y,i){function h(b){return b}i.d(Y,{D:()=>h})},7441(vt,Y,i){i.d(Y,{X:()=>h});const h=b=>b&&"number"==typeof b.length&&"function"!=typeof b},7953(vt,Y,i){i.d(Y,{T:()=>b});var h=i(8071);function b(c){return Symbol.asyncIterator&&(0,h.T)(c?.[Symbol.asyncIterator])}},8211(vt,Y,i){function h(b){return b instanceof Date&&!isNaN(b)}i.d(Y,{v:()=>h})},8071(vt,Y,i){function h(b){return"function"==typeof b}i.d(Y,{T:()=>h})},5055(vt,Y,i){i.d(Y,{l:()=>c});var h=i(3494),b=i(8071);function c(C){return(0,b.T)(C[h.s])}},5397(vt,Y,i){i.d(Y,{x:()=>c});var h=i(4761),b=i(8071);function c(C){return(0,b.T)(C?.[h.l])}},4402(vt,Y,i){i.d(Y,{A:()=>c});var h=i(1985),b=i(8071);function c(C){return!!C&&(C instanceof h.c||(0,b.T)(C.lift)&&(0,b.T)(C.subscribe))}},9858(vt,Y,i){i.d(Y,{y:()=>b});var h=i(8071);function b(c){return(0,h.T)(c?.then)}},5196(vt,Y,i){i.d(Y,{C:()=>c,U:()=>C});var h=i(1635),b=i(8071);function c(T){return(0,h.AQ)(this,arguments,function*(){const O=T.getReader();try{for(;;){const{value:k,done:w}=yield(0,h.N3)(O.read());if(w)return yield(0,h.N3)(void 0);yield yield(0,h.N3)(k)}}finally{O.releaseLock()}})}function C(T){return(0,b.T)(T?.getReader)}},9470(vt,Y,i){i.d(Y,{m:()=>b});var h=i(8071);function b(c){return c&&(0,h.T)(c.schedule)}},9974(vt,Y,i){i.d(Y,{N:()=>c,S:()=>b});var h=i(8071);function b(C){return(0,h.T)(C?.lift)}function c(C){return T=>{if(b(T))return T.lift(function(y){try{return C(y,this)}catch(O){this.error(O)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(vt,Y,i){i.d(Y,{I:()=>C});var h=i(6354);const{isArray:b}=Array;function C(T){return(0,h.T)(y=>function c(T,y){return b(y)?T(...y):T(y)}(T,y))}},5343(vt,Y,i){function h(){}i.d(Y,{l:()=>h})},1203(vt,Y,i){i.d(Y,{F:()=>b,m:()=>c});var h=i(3669);function b(...C){return c(C)}function c(C){return 0===C.length?h.D:1===C.length?C[0]:function(y){return C.reduce((O,k)=>k(O),y)}}},5334(vt,Y,i){i.d(Y,{m:()=>c});var h=i(1026),b=i(9270);function c(C){b.f.setTimeout(()=>{const{onUnhandledError:T}=h.$;if(!T)throw C;T(C)})}},591(vt,Y,i){function h(b){return new TypeError(`You provided ${null!==b&&"object"==typeof b?"an invali
503d object":`'${b}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}i.d(Y,{L:()=>h})},4523(vt,Y,i){function h(c,C,T,y,O,k,w){try{var v=c[k](w),D=v.value}catch(m){return void T(m)}v.done?C(D):Promise.resolve(D).then(y,O)}function b(c){return function(){var C=this,T=arguments;return new Promise(function(y,O){var k=c.apply(C,T);function w(D){h(k,y,O,w,v,"next",D)}function v(D){h(k,y,O,w,v,"throw",D)}w(void 0)})}}i.d(Y,{A:()=>b})},6189(vt,Y,i){i.d(Y,{Ai:()=>He,Pd:()=>ot,sp:()=>an});var u=i(5547),W=i(5802),z=i(7421),se=i(9046),G=i(1535),le=i(345),_=i(2318);class an{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(M){this._enabled=M,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(M,this._startAnchor),this._toggleAnchorTabIndex(M,this._endAnchor))}_enabled=!0;constructor(M,gt,pe,lt,Rt=!1,Yt){this._element=M,this._checker=gt,this._ngZone=pe,this._document=lt,this._injector=Yt,Rt||this.attachAnchors()}destroy(){const M=this._startAnchor,gt=this._endAnchor;M&&(M.removeEventListener("focus",this.startAnchorListener),M.remove()),gt&&(gt.removeEventListener("focus",this.endAnchorListener),gt.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(M){return new Promise(gt=>{this._executeOnStable(()=>gt(this.focusInitialElement(M)))})}focusFirstTabbableElementWhenReady(M){return new Promise(gt=>{this._executeOnStable(()=>gt(this.focusFirstTabbableElement(M)))})}focusLastTabbableElementWhenReady(M){return new Promise(gt=>{this._executeOnStable(()=>gt(this.focusLastTabbableElement(M)))})}_getRegionBoundary(M){const gt=this._element.querySelectorAll(`[cdk-focus-region-${M}], [cdkFocusRegion${M}], [cdk-focus-${M}]`);return"start"==M?gt.length?gt[0]:this._getFirstTabbableElement(this._element):gt.length?gt[gt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(M){const gt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(gt){if(!this._checker.isFocusable(gt)){const pe=this._getFirstTabbableElement(gt);return pe?.focus(M),!!pe}return gt.focus(M),!0}return this.focusFirstTabbableElement(M)}focusFirstTabbableElement(M){const gt=this._getRegionBoundary("start");return gt&&gt.focus(M),!!gt}focusLastTabbableElement(M){const gt=this._getRegionBoundary("end");return gt&&gt.focus(M),!!gt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(M){if(this._checker.isFocusable(M)&&this._checker.isTabbable(M))return M;const gt=M.children;for(let pe=0;pe<gt.length;pe++){const lt=gt[pe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(gt[pe]):null;if(lt)return lt}return null}_getLastTabbableElement(M){if(this._checker.isFocusable(M)&&this._checker.isTabbable(M))return M;const gt=M.children;for(let pe=gt.length-1;pe>=0;pe--){const lt=gt[pe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(gt[pe]):null;if(lt)return lt}return null}_createAnchor(){const M=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,M),M.classList.add("cdk-visually-hidden"),M.classList.add("cdk-focus-trap-anchor"),M.setAttribute("aria-hidden","true"),M}_toggleAnchorTabIndex(M,gt){M?gt.setAttribute("tabindex","0"):gt.removeAttribute("tabindex")}toggleAnchors(M){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(M,this._startAnchor),this._toggleAnchorTabIndex(M,this._endAnchor))}_executeOnStable(M){this._injector?(0,u.mal)(M,{injector:this._injector}
vendor: 4,164 bytes, line 503
503):setTimeout(M)}}const at=new W.nKC("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),Ve=new W.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Le=0,He=(()=>{class At{_ngZone=(0,W.WQX)(W.SKi);_defaultOptions=(0,W.WQX)(Ve,{optional:!0});_liveElement;_document=(0,W.WQX)(W.qQL);_sanitizer=(0,W.WQX)(le.up);_previousTimeout;_currentPromise;_currentResolve;constructor(){const gt=(0,W.WQX)(at,{optional:!0});this._liveElement=gt||this._createLiveElement()}announce(gt,...pe){const lt=this._defaultOptions;let Rt,Yt;return 1===pe.length&&"number"==typeof pe[0]?Yt=pe[0]:[Rt,Yt]=pe,this.clear(),clearTimeout(this._previousTimeout),Rt||(Rt=lt&&lt.politeness?lt.politeness:"polite"),null==Yt&&lt&&(Yt=lt.duration),this._liveElement.setAttribute("aria-live",Rt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ut=>this._currentResolve=Ut)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{gt&&"string"!=typeof gt?(0,se.Z9)(this._liveElement,gt,this._sanitizer):this._liveElement.textContent=gt,"number"==typeof Yt&&(this._previousTimeout=setTimeout(()=>this.clear(),Yt)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const gt="cdk-live-announcer-element",pe=this._document.getElementsByClassName(gt),lt=this._document.createElement("div");for(let Rt=0;Rt<pe.length;Rt++)pe[Rt].remove();return lt.classList.add(gt),lt.classList.add("cdk-visually-hidden"),lt.setAttribute("aria-atomic","true"),lt.setAttribute("aria-live","polite"),lt.id="cdk-live-announcer-"+Le++,this._document.body.appendChild(lt),lt}_exposeAnnouncerToModals(gt){const pe=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let lt=0;lt<pe.length;lt++){const Rt=pe[lt],Yt=Rt.getAttribute("aria-owns");Yt?-1===Yt.indexOf(gt)&&Rt.setAttribute("aria-owns",Yt+" "+gt):Rt.setAttribute("aria-owns",gt)}}static \u0275fac=function(pe){return new(pe||At)};static \u0275prov=W.jDH({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();var Ae=function(At){return At[At.NONE=0]="NONE",At[At.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",At[At.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",At}(Ae||{});const qe="cdk-high-contrast-black-on-white",tt="cdk-high-contrast-white-on-black",pt="cdk-high-contrast-active";let Lt=(()=>{class At{_platform=(0,W.WQX)(z.O);_hasCheckedHighContrastMode=!1;_document=(0,W.WQX)(W.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,W.WQX)(G.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ae.NONE;const gt=this._document.createElement("div");gt.style.backgroundColor="rgb(1,2,3)",gt.style.position="absolute",this._document.body.appendChild(gt);const pe=this._document.defaultView||window,lt=pe&&pe.getComputedStyle?pe.getComputedStyle(gt):null,Rt=(lt&&lt.backgroundColor||"").replace(/ /g,"");switch(gt.remove(),Rt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ae.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ae.BLACK_ON_WHITE}return Ae.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const gt=this._document.body.classList;gt.remove(pt,qe,tt),this._hasCheckedHighContrastMode=!0;const pe=this.getHighContrastMode();pe===Ae.BLACK_ON_WHITE?gt.add(pt,qe):pe===Ae.WHITE_ON_BLACK&&gt.add(pt,tt)}}static \u0275fac=function(pe){return new(pe||At)};static \u0275prov=W.jDH({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})(),ot=(()=>{class At{constructor(){(0,W.WQX)(Lt)._applyBodyHighContrastModeCssClasse
503s()}static \u0275fac=function(pe){return new(pe||At)};static \u0275mod=u.$C({type:At});static \u0275inj=W.G2t({imports:[_.w5]})}return At})()},7523(vt,Y,i){function h(b){return Array.isArray(b)?b:[b]}i.d(Y,{F:()=>h})},1535(vt,Y,i){i.d(Y,{D:()=>G,Q:()=>ge});var h=i(5802),b=i(5547),c=i(1985),C=i(1413),T=i(4572),y=i(8793),O=i(152),k=i(6354),w=i(5245),v=i(9172),D=i(6697),m=i(6977),u=i(7421),W=i(7523);const z=new Set;let se,G=(()=>{class Te{_platform=(0,h.WQX)(u.O);_nonce=(0,h.WQX)(b.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_}matchMedia(we){return(this._platform.WEBKIT||this._platform.BLINK)&&function le(Te,Be){if(!z.has(Te))try{se||(se=document.createElement("style"),Be&&se.setAttribute("nonce",Be),se.setAttribute("type","text/css"),document.head.appendChild(se)),se.sheet&&(se.sheet.insertRule(`@media ${Te} {body{ }}`,0),z.add(Te))}catch(we){console.error(we)}}(we,this._nonce),this._matchMedia(we)}static \u0275fac=function(X){return new(X||Te)};static \u0275prov=h.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})();function _(Te){return{matches:"all"===Te||""===Te,media:Te,addListener:()=>{},removeListener:()=>{}}}let ge=(()=>{class Te{_mediaMatcher=(0,h.WQX)(G);_zone=(0,h.WQX)(h.SKi);_queries=new Map;_destroySubject=new C.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(we){return q((0,W.F)(we)).some(ye=>this._registerQuery(ye).mql.matches)}observe(we){const ye=q((0,W.F)(we)).map(ae=>this._registerQuery(ae).observable);let Q=(0,T.z)(ye);return Q=(0,y.x)(Q.pipe((0,D.s)(1)),Q.pipe((0,w.i)(1),(0,O.B)(0))),Q.pipe((0,k.T)(ae=>{const H={matches:!1,breakpoints:{}};return ae.forEach(({matches:_e,query:We})=>{H.matches=H.matches||_e,H.breakpoints[We]=_e}),H}))}_registerQuery(we){if(this._queries.has(we))return this._queries.get(we);const X=this._mediaMatcher.matchMedia(we),Q={observable:new c.c(ae=>{const H=_e=>this._zone.run(()=>ae.next(_e));return X.addListener(H),()=>{X.removeListener(H)}}).pipe((0,v.Z)(X),(0,k.T)(({matches:ae})=>({query:we,matches:ae})),(0,m.Q)(this._destroySubject)),mql:X};return this._queries.set(we,Q),Q}static \u0275fac=function(X){return new(X||Te)};static \u0275prov=h.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})();function q(Te){return Te.map(Be=>Be.split(",")).reduce((Be,we)=>Be.concat(we)).map(Be=>Be.trim())}},9752(vt,Y,i){i.d(Y,{dS:()=>T});var h=i(5802);const b=new h.nKC("cdk-dir-doc",{providedIn:"root",factory:()=>(0,h.WQX)(h.qQL)}),c=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let T=(()=>{class y{get value(){return this.valueSignal()}valueSignal=(0,h.vPA)("ltr");change=new h.bkB;constructor(){const k=(0,h.WQX)(b,{optional:!0});k&&this.valueSignal.set(function C(y){const O=y?.toLowerCase()||"";return"auto"===O&&typeof navigator<"u"&&navigator?.language?c.test(navigator.language)?"rtl":"ltr":"rtl"===O?"rtl":"ltr"}((k.body?k.body.dir:null)||(k.documentElement?k.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(w){return new(w||y)};static \u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},7384(vt,Y,i){i.d(Y,{OE:()=>b,i8:()=>C,o1:()=>c});var h=i(5547);function b(T,y=0){return c(T)?Number(T):2===arguments.length?y:0}function c(T){return!isNaN(parseFloat(T))&&!isNaN(Number(T))}function C(T){return T instanceof h.aKT?T.nativeElement:T}},3250(vt,Y,i){function h(c){return 0===c.buttons||0===c.detail}function b(c){const C=c.touches&&c.touches[0]||c.changedTouches&&c.changedTouches[0];return!(!C||-1!==C.identifier||null!=C.radiusX&&1!==C.radiusX||null!=C.radiusY&&1!==C.radiusY)}i.d(Y,{_:()=>h,w:()=>b})},8868(vt,Y,i){i.d(Y,{B:()=>b});var h=i(3132);class b extends h.l{_origin="program";setFocusOrigin(C){return this._origin=C,this}setActiveItem(C){super.setActiveItem(C),this.activeItem&&this.activeItem.focus(this._origin)}}},6537(vt,Y,i){i.d(Y,{FN:()=>Be,Uc:()=>_,vR:()=>we});var h=i(5547),b=i(5802),c=i(1413),C=i(4412),T=i(7673),y=i(3294),O=i(5245),k=i(6977),w=i(3250),v=i(413),D=i(9867),m=i(7421),u=i(1539),W=i(7384);const z=new b.nKC("cdk-input-modality-detector-options"),se={ignoreKeys:[v.A$,v.W3,v.eg,v.Ge,v.FX]},le={passive:!0,capture:!0};let _=(()=>{class X{_platform=(0,b.WQX)(m.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new C.t(null);_options;_lastTouchMs=0;_onKeydown=Q=>{this._options?.ignoreKeys?.some(ae=>ae===Q.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.Fb)(
vendor: 7,201 bytes, line 503
503Q))};_onMousedown=Q=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,w._)(Q)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.Fb)(Q))};_onTouchstart=Q=>{(0,w.w)(Q)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.Fb)(Q))};constructor(){const Q=(0,b.WQX)(b.SKi),ae=(0,b.WQX)(b.qQL),H=(0,b.WQX)(z,{optional:!0});if(this._options={...se,...H},this.modalityDetected=this._modality.pipe((0,O.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,y.F)()),this._platform.isBrowser){const _e=(0,b.WQX)(h._9s).createRenderer(null,null);this._listenerCleanups=Q.runOutsideAngular(()=>[_e.listen(ae,"keydown",this._onKeydown,le),_e.listen(ae,"mousedown",this._onMousedown,le),_e.listen(ae,"touchstart",this._onTouchstart,le)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(Q=>Q())}static \u0275fac=function(ae){return new(ae||X)};static \u0275prov=b.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();var ge=function(X){return X[X.IMMEDIATE=0]="IMMEDIATE",X[X.EVENTUAL=1]="EVENTUAL",X}(ge||{});const q=new b.nKC("cdk-focus-monitor-default-options"),Te=(0,u.B)({passive:!0,capture:!0});let Be=(()=>{class X{_ngZone=(0,b.WQX)(b.SKi);_platform=(0,b.WQX)(m.O);_inputModalityDetector=(0,b.WQX)(_);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,b.WQX)(b.qQL);_stopInputModalityDetector=new c.B;constructor(){const Q=(0,b.WQX)(q,{optional:!0});this._detectionMode=Q?.detectionMode||ge.IMMEDIATE}_rootNodeFocusAndBlurListener=Q=>{for(let H=(0,D.Fb)(Q);H;H=H.parentElement)"focus"===Q.type?this._onFocus(Q,H):this._onBlur(Q,H)};monitor(Q,ae=!1){const H=(0,W.i8)(Q);if(!this._platform.isBrowser||1!==H.nodeType)return(0,T.of)();const _e=(0,D.KT)(H)||this._document,We=this._elementInfo.get(H);if(We)return ae&&(We.checkChildren=!0),We.subject;const ht={checkChildren:ae,subject:new c.B,rootNode:_e};return this._elementInfo.set(H,ht),this._registerGlobalListeners(ht),ht.subject}stopMonitoring(Q){const ae=(0,W.i8)(Q),H=this._elementInfo.get(ae);H&&(H.subject.complete(),this._setClasses(ae),this._elementInfo.delete(ae),this._removeGlobalListeners(H))}focusVia(Q,ae,H){const _e=(0,W.i8)(Q);_e===this._document.activeElement?this._getClosestElementsInfo(_e).forEach(([ht,Vt])=>this._originChanged(ht,ae,Vt)):(this._setOrigin(ae),"function"==typeof _e.focus&&_e.focus(H))}ngOnDestroy(){this._elementInfo.forEach((Q,ae)=>this.stopMonitoring(ae))}_getWindow(){return this._document.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===ge.EVENTUAL||!!Q?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Q,ae){Q.classList.toggle("cdk-focused",!!ae),Q.classList.toggle("cdk-touch-focused","touch"===ae),Q.classList.toggle("cdk-keyboard-focused","keyboard"===ae),Q.classList.toggle("cdk-mouse-focused","mouse"===ae),Q.classList.toggle("cdk-program-focused","program"===ae)}_setOrigin(Q,ae=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Q,this._originFromTouchInteraction="touch"===Q&&ae,this._detectionMode===ge.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Q,ae){const H=this._elementInfo.get(ae),_e=(0,D.Fb)(Q);!H||!H.checkChildren&&ae!==_e||this._originChanged(ae,this._getFocusOrigin(_e),H)}_onBlur(Q,ae){const H=this._elementInfo.get(ae);!H||H.checkChildren&&Q.relatedTarget instanceof Node&&ae.contains(Q.relatedTarget)||(this._setClasses(ae),this._emitOrigin(H,null))}_emitOrigin(Q,ae){Q.subject.observers.length&&this._ngZone.run(()=>Q.subject.next(ae))}_registerGlobalListeners(Q){if(!this._platform.isBrowser)return;const ae=Q.rootNode,H=this._rootNodeFocusListenerCount.get(ae)||0;H||this._ngZone.runOutsideAngular(()=>{ae.addEventListener("focus",this._rootNodeFocusAndBlurListener,Te),ae.addEventListener("blur",this._rootNodeFocusAndBlurListener,Te)}),this._rootNodeFocusListenerCount.set(ae,H+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,k.Q)(this._stopInputModalityDetector)).subscribe(_e=>{this._setOrigin(_e,!0)}))}_removeGlobalListeners(Q){const ae=Q.rootNode;if(this._rootNodeFocusListenerCount.has(ae)){const H=this._rootNodeFocusListenerCount.get(ae);H>1?this._rootNodeFocusListenerCount.set(ae,H-1):(ae.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Te),ae.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Te),this._rootNodeFocusListenerCount.delete(ae))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Q,ae,H){this._setClasses(Q,ae),this._emitOrigin(H,ae),this._lastFocusOrigin=ae}_getClosestElementsInfo(Q){const ae=[];return this._elementInfo.forEach((H,_e)=>{(_e===Q||H.checkChildren&&_e.contains(Q))&&ae.push([_e,H])}),ae}_isLastInteractionFromInputLabel(Q){const{_mostRecentTarget:ae,mostRecentModality:H}=this._inputModalityDetector;if("mouse"!==H||!ae||ae===Q||"INPUT"!==Q.nodeName&&"TEXTAREA"!==Q.nodeName||Q.disabled)return!1;const _e=Q.labels;if(_e)for(let We=0;We<_e.length;We++)if(_e[We].contains(ae))return!0;return!1}static \u0275fac=function(ae){return new(ae||X)};static \u0275prov=b.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),we=(()=>{class X{_elementRef=(0,b.WQX)(h.aKT);_focusMonitor=(0,b.WQX)(Be);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new b.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Q=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Q,1===Q.nodeType&&Q.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(ae=>{this._focusOrigin=ae,this.cdkFocusChange.emit(ae)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(ae){return new(ae||X)};static \u0275dir=h.FsC({type:X,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return X})()},3531(vt,Y,i){i.d(Y,{g:()=>C});var h=i(5802),b=i(5547);const c={};class C{_appId=(0,h.WQX)(b.sZ2);static _infix=`a${Math.floor(1e5*Math.random()).toString()}`;getId(y,O=!1){return"ng"!==this._appId&&(y+=this._appId),c.hasOwnProperty(y)||(c[y]=0),`${y}${O?C._infix+"-":""}${c[y]++}`}static \u0275fac=function(O){return new(O||C)};
503static \u0275prov=h.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}},413(vt,Y,i){i.d(Y,{A:()=>Le,A$:()=>k,FX:()=>y,Fm:()=>T,Ge:()=>bn,Kp:()=>z,LE:()=>_,UQ:()=>G,W3:()=>O,Z:()=>xn,_f:()=>D,bn:()=>an,dB:()=>W,eg:()=>In,f2:()=>X,i7:()=>le,n6:()=>ge,t6:()=>m,w_:()=>u,wn:()=>c,yZ:()=>se});const c=9,T=13,y=16,O=17,k=18,D=27,m=32,u=33,W=34,z=35,se=36,G=37,le=38,_=39,ge=40,X=48,an=57,Le=65,xn=90,bn=91,In=224},3132(vt,Y,i){i.d(Y,{l:()=>k});var h=i(5547),b=i(5802),c=i(1413),C=i(8359),T=i(4775),y=i(7336),O=i(413);class k{_items;_activeItemIndex=(0,b.vPA)(-1);_activeItem=(0,b.vPA)(null);_wrap=!1;_typeaheadSubscription=C.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=v=>v.disabled;constructor(v,D){this._items=v,v instanceof h.rOR?this._itemChangesSubscription=v.changes.subscribe(m=>this._itemsChanged(m.toArray())):(0,h.Hps)(v)&&(this._effectRef=(0,b.QZP)(()=>this._itemsChanged(v()),{injector:D}))}tabOut=new c.B;change=new c.B;skipPredicate(v){return this._skipPredicateFn=v,this}withWrap(v=!0){return this._wrap=v,this}withVerticalOrientation(v=!0){return this._vertical=v,this}withHorizontalOrientation(v){return this._horizontal=v,this}withAllowedModifierKeys(v){return this._allowedModifierKeys=v,this}withTypeAhead(v=200){this._typeaheadSubscription.unsubscribe();const D=this._getItemsArray();return this._typeahead=new T.i(D,{debounceInterval:"number"==typeof v?v:void 0,skipPredicate:m=>this._skipPredicateFn(m)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(m=>{this.setActiveItem(m)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(v=!0){return this._homeAndEnd=v,this}withPageUpDown(v=!0,D=10){return this._pageUpAndDown={enabled:v,delta:D},this}setActiveItem(v){const D=this._activeItem();this.updateActiveItem(v),this._activeItem()!==D&&this.change.next(this._activeItemIndex())}onKeydown(v){const D=v.keyCode,u=["altKey","ctrlKey","metaKey","shiftKey"].every(W=>!v[W]||this._allowedModifierKeys.indexOf(W)>-1);switch(D){case O.wn:return void this.tabOut.next();case O.n6:if(this._vertical&&u){this.setNextItemActive();break}return;case O.i7:if(this._vertical&&u){this.setPreviousItemActive();break}return;case O.LE:if(this._horizontal&&u){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case O.UQ:if(this._horizontal&&u){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case O.yZ:if(this._homeAndEnd&&u){this.setFirstItemActive();break}return;case O.Kp:if(this._homeAndEnd&&u){this.setLastItemActive();break}return;case O.w_:if(this._pageUpAndDown.enabled&&u){const W=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(W>0?W:0,1);break}return;case O.dB:if(this._pageUpAndDown.enabled&&u){const W=this._activeItemIndex()+this._pageUpAndDown.delta,z=this._getItemsArray().length;this._setActiveItemByIndex(W<z?W:z-1,-1);break}return;default:return void((u||(0,y.rp)(v,"shiftKey"))&&this._typeahead?.handleKey(v))}this._typeahead?.reset(),v.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}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(v){const D=this._getItemsArray(),m="number"==typeof v?v:D.indexOf(v);this._activeItem.set(D[m]??null),this._activeItemIndex.set(m),this._typeahead?.setCurrentSelectedItemIndex(m)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(v){this._wrap?this._setActiveInWrapMode(v):this._setActiveInDefaultMode(v)}_setActiveInWrapMode(v){const D=this._getItemsArray();for(let m=1;m<=D.length;
vendor: 4,146 bytes, line 503
503m++){const u=(this._activeItemIndex()+v*m+D.length)%D.length;if(!this._skipPredicateFn(D[u]))return void this.setActiveItem(u)}}_setActiveInDefaultMode(v){this._setActiveItemByIndex(this._activeItemIndex()+v,v)}_setActiveItemByIndex(v,D){const m=this._getItemsArray();if(m[v]){for(;this._skipPredicateFn(m[v]);)if(!m[v+=D])return;this.setActiveItem(v)}}_getItemsArray(){return(0,h.Hps)(this._items)?this._items():this._items instanceof h.rOR?this._items.toArray():this._items}_itemsChanged(v){this._typeahead?.setItems(v);const D=this._activeItem();if(D){const m=v.indexOf(D);m>-1&&m!==this._activeItemIndex()&&(this._activeItemIndex.set(m),this._typeahead?.setCurrentSelectedItemIndex(m))}}}},5057(vt,Y,i){i.d(Y,{WB:()=>Bn,$Q:()=>_r,ao:()=>bn,hJ:()=>Tr,rR:()=>Gt,z_:()=>Xe,EB:()=>o,pq:()=>Mt,$M:()=>Rt,uA:()=>nn,Y$:()=>pr,RH:()=>Vt});var h=i(5802),b=i(5547),c=i(7705),C=i(5984),T=i(7421),y=i(9867);function O(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var k=i(3293),w=i(1413),v=i(8359);function D($){return null==$?"":"string"==typeof $?$:`${$}px`}var m=i(7523),u=i(5478),W=i(7249),z=i(5964),se=i(7048),G=i(3531),le=i(9752),_=i(6939),ge=i(413),q=i(7336),Te=i(8203);const Be=(0,W.CZ)();class X{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(F,K){this._viewportRuler=F,this._document=K}attach(){}enable(){if(this._canBeEnabled()){const F=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=F.style.left||"",this._previousHTMLStyles.top=F.style.top||"",F.style.left=D(-this._previousScrollPosition.left),F.style.top=D(-this._previousScrollPosition.top),F.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const F=this._document.documentElement,Z=F.style,Re=this._document.body.style,ct=Z.scrollBehavior||"",_t=Re.scrollBehavior||"";this._isEnabled=!1,Z.left=this._previousHTMLStyles.left,Z.top=this._previousHTMLStyles.top,F.classList.remove("cdk-global-scrollblock"),Be&&(Z.scrollBehavior=Re.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Be&&(Z.scrollBehavior=ct,Re.scrollBehavior=_t)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.documentElement,Z=this._viewportRuler.getViewportSize();return K.scrollHeight>Z.height||K.scrollWidth>Z.width}}class ae{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(F,K,Z,Re){this._scrollDispatcher=F,this._ngZone=K,this._viewportRuler=Z,this._config=Re}attach(F){this._overlayRef=F}enable(){if(this._scrollSubscription)return;const F=this._scrollDispatcher.scrolled(0).pipe((0,z.p)(K=>!K||!this._overlayRef.overlayElement.contains(K.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=F.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=F.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class _e{enable(){}disable(){}attach(){}}function We($,F){return F.some(K=>$.bottom<K.top||$.top>K.bottom||$.right<K.left||$.left>K.right)}function ht($,F){return F.some(K=>$.top<K.top||$.bottom>K.bottom||$.left<K.left||$.right>K.right)}function Vt($,F){return new an($.get(u.R),$.get(u.Xj),$.get(h.SKi),F)}class an{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(F,K,Z,Re){this._scrollDispatcher=F,this._viewportRuler
vendor: 5,168 bytes, line 503
503=K,this._ngZone=Z,this._config=Re}attach(F){this._overlayRef=F}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 K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Z,height:Re}=this._viewportRuler.getViewportSize();We(K,[{width:Z,height:Re,bottom:Re,right:Z,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 Et=(()=>{class ${_injector=(0,h.WQX)(h.zZn);constructor(){}noop=()=>new _e;close=K=>function Q($,F){return new ae($.get(u.R),$.get(h.SKi),$.get(u.Xj),F)}(this._injector,K);block=()=>function we($){return new X($.get(u.Xj),$.get(h.qQL))}(this._injector);reposition=K=>Vt(this._injector,K);static \u0275fac=function(Z){return new(Z||$)};static \u0275prov=h.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();class Gt{positionStrategy;scrollStrategy=new _e;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(F){if(F){const K=Object.keys(F);for(const Z of K)void 0!==F[Z]&&(this[Z]=F[Z])}}}class Le{connectionPair;scrollableViewProperties;constructor(F,K){this.connectionPair=F,this.scrollableViewProperties=K}}let Ae=(()=>{class ${_attachedOverlays=[];_document=(0,h.WQX)(h.qQL);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const Z=this._attachedOverlays.indexOf(K);Z>-1&&this._attachedOverlays.splice(Z,1),0===this._attachedOverlays.length&&this.detach()}canReceiveEvent(K,Z,Re){return!(Re.observers.length<1)&&(!K.eventPredicate||K.eventPredicate(Z))}static \u0275fac=function(Z){return new(Z||$)};static \u0275prov=h.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),qe=(()=>{class $ extends Ae{_ngZone=(0,h.WQX)(h.SKi);_renderer=(0,h.WQX)(b._9s).createRenderer(null,null);_cleanupKeydown;add(K){super.add(K),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=K=>{const Z=this._attachedOverlays;for(let Re=Z.length-1;Re>-1;Re--){const ct=Z[Re];if(this.canReceiveEvent(ct,K,ct._keydownEvents)){this._ngZone.run(()=>ct._keydownEvents.next(K));break}}};static \u0275fac=(()=>{let K;return function(Re){return(K||(K=b.xGo($)))(Re||$)}})();static \u0275prov=h.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),tt=(()=>{class $ extends Ae{_platform=(0,h.WQX)(T.O);_ngZone=(0,h.WQX)(h.SKi);_renderer=(0,h.WQX)(b._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(K){if(super.add(K),!this._isAttached){const Z=this._document.body,Re={capture:!0},ct=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[ct.listen(Z,"pointerdown",this._pointerDownListener,Re),ct.listen(Z,"click",this._clickListener,Re),ct.listen(Z,"auxclick",this._clickListener,Re),ct.listen(Z,"contextmenu",this._clickListener,Re)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Z.style.cursor,Z.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(K=>K()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=K=>{this._pointerDownEventTarget=(0,y.Fb)(K)};_clickListener=K=>{const Z=(0,y.Fb)(K),Re="click"===K.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Z;this._pointerDownEventTarget=null;const ct=this._attachedOverlays.slice();for(let _t=ct.length-1;_t>-1;_t--){const wt=ct[_t],ee=wt._outsidePointerEvents;if(wt.hasAttached()&&this.canReceiveEvent(wt,K,ee)){if(pt(wt.overlayElement,Z)||pt(wt.overlayElement,Re))break;this._ngZone?this._ngZone.run(()=>ee.next(K)):ee.next(K)}}};static \u0275fac=(()=>{let K;return function(Re){return(K||(K=b.xGo($)))(Re||$)}})();static \u0275prov=h.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();function pt($,F){const K=typeof ShadowRoot<"u"&&ShadowRoot;let Z=F;for(;Z;){if(Z===$)return!0;Z=K&&Z instanceof ShadowRoot?Z.host:Z.parentNode}return!1}let Lt=(()=>{class ${static \u0275fac=function(Z){return new(Z||$)};static \u0275cmp=b.VBU({type:$,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(Z,Re){},styles:[".cdk-overlay-container, .cdk-global-overlay-wrapper {\n  pointer-events: none;\n  top: 0;\n  left: 0;\n  height: 100%;\n  width: 100%;\n}\n\n.cdk-overlay-container {\n  position: fixed;\n}\n@layer cdk-overlay {\n  .cdk-overlay-container {\n    z-index: 1000;\n  }\n}
503\n.cdk-overlay-container:empty {\n  display: none;\n}\n\n.cdk-global-overlay-wrapper {\n  display: flex;\n  position: absolute;\n}\n@layer cdk-overlay {\n  .cdk-global-overlay-wrapper {\n    z-index: 1000;\n  }\n}\n\n.cdk-overlay-pane {\n  position: absolute;\n  pointer-events: auto;\n  box-sizing: border-box;\n  display: flex;\n  max-width: 100%;\n  max-height: 100%;\n}\n@layer cdk-overlay {\n  .cdk-overlay-pane {\n    z-index: 1000;\n  }\n}\n\n.cdk-overlay-backdrop {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  pointer-events: auto;\n  -webkit-tap-highlight-color: transparent;\n  opacity: 0;\n  touch-action: manipulation;\n}\n@layer cdk-overlay {\n  .cdk-overlay-backdrop {\n    z-index: 1000;\n    transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n  }\n}\n@media (prefers-reduced-motion) {\n  .cdk-overlay-backdrop {\n    transition-duration: 1ms;\n  }\n}\n\n.cdk-overlay-backdrop-showing {\n  opacity: 1;\n}\n@media (forced-colors: active) {\n  .cdk-overlay-backdrop-showing {\n    opacity: 0.6;\n  }\n}\n\n@layer cdk-overlay {\n  .cdk-overlay-dark-backdrop {\n    background: rgba(0, 0, 0, 0.32);\n  }\n}\n\n.cdk-overlay-transparent-backdrop {\n  transition: visibility 1ms linear, opacity 1ms linear;\n  visibility: hidden;\n  opacity: 1;\n}\n.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {\n  opacity: 0;\n  visibility: visible;\n}\n\n.cdk-overlay-backdrop-noop-animation {\n  transition: none;\n}\n\n.cdk-overlay-connected-position-bounding-box {\n  position: absolute;\n  display: flex;\n  flex-direction: column;\n  min-width: 1px;\n  min-height: 1px;\n}\n@layer cdk-overlay {\n  .cdk-overlay-connected-position-bounding-box {\n    z-index: 1000;\n  }\n}\n\n.cdk-global-scrollblock {\n  position: fixed;\n  width: 100%;\n  overflow-y: scroll;\n}\n\n.cdk-overlay-popover {\n  background: none;\n  border: none;\n  padding: 0;\n  outline: 0;\n  overflow: visible;\n  position: fixed;\n  pointer-events: none;\n  white-space: normal;\n  color: inherit;\n  text-decoration: none;\n  width: 100%;\n  height: 100%;\n  inset: auto;\n  top: 0;\n  left: 0;\n}\n.cdk-overlay-popover::backdrop {\n  display: none;\n}\n.cdk-overlay-popover .cdk-overlay-backdrop {\n  position: fixed;\n  z-index: auto;\n}\n"],encapsulation:2,changeDetection:0})}return $})(),ot=(()=>{class ${_platform=(0,h.WQX)(T.O);_containerElement;_document=(0,h.WQX)(h.qQL);_styleLoader=(0,h.WQX)(k.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||O()){const Re=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let ct=0;ct<Re.length;ct++)Re[ct].remove()}const Z=this._document.createElement("div");Z.classList.add(K),O()?Z.setAttribute("platform","test"):this._platform.isBrowser||Z.setAttribute("platform","server"),this._document.body.appendChild(Z),this._containerElement=Z}_loadStyles(){this._styleLoader.load(Lt)}static \u0275fac=function(Z){return new(Z||$)};static \u0275prov=h.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();class At{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(F,K,Z,Re){this._renderer=K,this._ngZone=Z,this.element=F.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=K.listen(this.element,"click",Re)}detach(){this._ngZone.runOutsideAngular(()=>{const F=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(F,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),F.style.pointerEvents="none",F.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}function M($){return $&&1===$.nodeType}class gt{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new w.B;_attachments=new w.B;_detachments=new w.B;_positionStrategy;_scrollStrategy;_locationChanges=v.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new w.B;_outsidePointerEvents=new w.B;_afterNextRenderRef;constructor(F,K,Z,Re,ct,_t,wt,ee,Se,Pt=!1,St,Xt){this._portalOutlet=F,this._host=K,this._pane=Z,this._config=Re,this._ngZone=ct,this._keyboardDispatcher=_t,this._document=wt,this._location=ee,this._outsideClickDispatcher=Se,this._animationsDisabled=Pt,this._injector=St,this._renderer=Xt,Re.scrollStrategy&&(this._scrollStrategy=Re.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Re.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(F){if(this._disposed)return null;this._attachHost();const K=this._portalOutlet.attach(F);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,b.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const F=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),F}dispose(){if(this._disposed)return;const F=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
vendor: 8,867 bytes, line 503
503pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,F&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}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(F){F!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=F,this.hasAttached()&&(F.attach(this),this.updatePosition()))}updateSize(F){this._config={...this._config,...F},this._updateElementSize()}setDirection(F){this._config={...this._config,direction:F},this._updateElementDirection()}addPanelClass(F){this._pane&&this._toggleClasses(this._pane,F,!0)}removePanelClass(F){this._pane&&this._toggleClasses(this._pane,F,!1)}getDirection(){const F=this._config.direction;return F?"string"==typeof F?F:F.value:"ltr"}updateScrollStrategy(F){F!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=F,this.hasAttached()&&(F.attach(this),F.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const F=this._pane.style;F.width=D(this._config.width),F.height=D(this._config.height),F.minWidth=D(this._config.minWidth),F.minHeight=D(this._config.minHeight),F.maxWidth=D(this._config.maxWidth),F.maxHeight=D(this._config.maxHeight)}_togglePointerEvents(F){this._pane.style.pointerEvents=F?"":"none"}_attachHost(){if(!this._host.parentElement){const F=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;M(F)?F.after(this._host):"parent"===F?.type?F.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){const F="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new At(this._document,this._renderer,this._ngZone,K=>{this._backdropClick.next(K)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(F))}):this._backdropRef.element.classList.add(F)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(F,K,Z){const Re=(0,m.F)(K||[]).filter(ct=>!!ct);Re.length&&(Z?F.classList.add(...Re):F.classList.remove(...Re))}_detachContentWhenEmpty(){let F=!1;try{this._detachContentAfterRenderRef=(0,b.mal)(()=>{F=!0,this._detachContent()},{injector:this._injector})}catch(K){if(F)throw K;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const F=this._scrollStrategy;F?.disable(),F?.detach?.()}}const pe="cdk-overlay-connected-position-bounding-box",lt=/([A-Za-z%]+)$/;function Rt($,F){return new Yt(F,$.get(u.Xj),$.get(h.qQL),$.get(T.O),$.get(ot))}class Yt{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new w.B;_resizeSubscription=v.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(F,K,Z,Re,ct){this._viewportRuler=K,this._document=Z,this._platform=Re,this._overlayContainer=ct,this.setOrigin(F)}attach(F){this._validatePositions(),F.hostElement.classList.add(pe),this._overlayRef=F,this._boundingBox=F.hostElement,this._pane=F.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._getContainerRect();const F=this._originRect,K=this._overlayRect,Z=this._viewportRect,Re=this._containerRect,ct=[];let _t;for(let wt of this._preferredPositions){let ee=this._getOriginPoint(F,Re,wt),Se=this._getOverlayPoint(ee,K,wt),Pt=this._getOverlayFit(Se,K,Z,wt);if(Pt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(wt,ee);this._canFitWithFlexibleDimensions(Pt,Se,Z)?ct.push({position:wt,origin:ee,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(ee,wt)}):(!_t||_t.overlayFit.visibleArea<Pt.visibleArea)&&(_t={overlayFit:Pt,overlayPoint:Se,originPoint:ee,position:wt,overlayRect:K})}if(ct.length){let wt=null,ee=-1;for(const Se of ct){const Pt=Se.boundingBoxRect.width*Se.boundingBoxRect.height*(Se.position.weight||1);Pt>ee&&(ee=Pt,wt=Se)}return this._isPushed=!1,void this._applyPosition(wt.position,wt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(_t.position,_t.originPoint);this._applyPosition(_t.position,_t.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ut(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(pe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const F=this._lastPosition;F?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(F,this._getOriginPoint(this._originRect,this._containerRect,F))):this.apply()}withScrollableContainers(F){return this._scrollables=F,this}withPositions(F){return this._preferredPositions=F,-1===F.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(F){return this._viewportMargin=F,this}withFlexibleDimensions(F=!0){return this._hasFlexibleDimensions=F,this}withGrowAfterOpen(F=!0){return this._growAfterOpen=F,this}withPush(F=!0){return this._canPush=F,this}withLockedPosition(F=!0){return this._positionLocked=F,this}setOrigin(F){return this._origin=F,this}withDefaultOffsetX(F){return this._offsetX=F,this}withDefaultOffsetY(F){return this._offsetY=F,this}withTransformOriginOn(F){return this._transformOriginSelector=F,this}withPopoverLocation(F){return this._popoverLocation=F,this}getPopoverInsertionPoint(){return"global"===this._popoverLocation?null:"inl
503ine"!==this._popoverLocation?this._popoverLocation:this._origin instanceof b.aKT?this._origin.nativeElement:M(this._origin)?this._origin:null}_getOriginPoint(F,K,Z){let Re,ct;if("center"==Z.originX)Re=F.left+F.width/2;else{const _t=this._isRtl()?F.right:F.left,wt=this._isRtl()?F.left:F.right;Re="start"==Z.originX?_t:wt}return K.left<0&&(Re-=K.left),ct="center"==Z.originY?F.top+F.height/2:"top"==Z.originY?F.top:F.bottom,K.top<0&&(ct-=K.top),{x:Re,y:ct}}_getOverlayPoint(F,K,Z){let Re,ct;return Re="center"==Z.overlayX?-K.width/2:"start"===Z.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,ct="center"==Z.overlayY?-K.height/2:"top"==Z.overlayY?0:-K.height,{x:F.x+Re,y:F.y+ct}}_getOverlayFit(F,K,Z,Re){const ct=zt(K);let{x:_t,y:wt}=F,ee=this._getOffset(Re,"x"),Se=this._getOffset(Re,"y");ee&&(_t+=ee),Se&&(wt+=Se);let Xt=0-wt,Jt=wt+ct.height-Z.height,vn=this._subtractOverflows(ct.width,0-_t,_t+ct.width-Z.width),jn=this._subtractOverflows(ct.height,Xt,Jt),Zn=vn*jn;return{visibleArea:Zn,isCompletelyWithinViewport:ct.width*ct.height===Zn,fitsInViewportVertically:jn===ct.height,fitsInViewportHorizontally:vn==ct.width}}_canFitWithFlexibleDimensions(F,K,Z){if(this._hasFlexibleDimensions){const Re=Z.bottom-K.y,ct=Z.right-K.x,_t=jt(this._overlayRef.getConfig().minHeight),wt=jt(this._overlayRef.getConfig().minWidth);return(F.fitsInViewportVertically||null!=_t&&_t<=Re)&&(F.fitsInViewportHorizontally||null!=wt&&wt<=ct)}return!1}_pushOverlayOnScreen(F,K,Z){if(this._previousPushAmount&&this._positionLocked)return{x:F.x+this._previousPushAmount.x,y:F.y+this._previousPushAmount.y};const Re=zt(K),ct=this._viewportRect,_t=Math.max(F.x+Re.width-ct.width,0),wt=Math.max(F.y+Re.height-ct.height,0),ee=Math.max(ct.top-Z.top-F.y,0),Se=Math.max(ct.left-Z.left-F.x,0);let Pt=0,St=0;return Pt=Re.width<=ct.width?Se||-_t:F.x<this._getViewportMarginStart()?ct.left-Z.left-F.x:0,St=Re.height<=ct.height?ee||-wt:F.y<this._getViewportMarginTop()?ct.top-Z.top-F.y:0,this._previousPushAmount={x:Pt,y:St},{x:F.x+Pt,y:F.y+St}}_applyPosition(F,K){if(this._setTransformOrigin(F),this._setOverlayElementStyles(K,F),this._setBoundingBoxStyles(K,F),F.panelClass&&this._addPanelClasses(F.panelClass),this._positionChanges.observers.length){const Z=this._getScrollVisibility();if(F!==this._lastPosition||!this._lastScrollVisibility||!function Oe($,F){return $===F||$.isOriginClipped===F.isOriginClipped&&$.isOriginOutsideView===F.isOriginOutsideView&&$.isOverlayClipped===F.isOverlayClipped&&$.isOverlayOutsideView===F.isOverlayOutsideView}(this._lastScrollVisibility,Z)){const Re=new Le(F,Z);this._positionChanges.next(Re)}this._lastScrollVisibility=Z}this._lastPosition=F,this._isInitialRender=!1}_setTransformOrigin(F){if(!this._transformOriginSelector)return;const K=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Z,Re=F.overlayY;Z="center"===F.overlayX?"center":this._isRtl()?"start"===F.overlayX?"right":"left":"start"===F.overlayX?"left":"right";for(let ct=0;ct<K.length;ct++)K[ct].style.transformOrigin=`${Z} ${Re}`}_calculateBoundingBoxRect(F,K){const Z=this._viewportRect,Re=this._isRtl();let ct,_t,wt;if("top"===K.overlayY)_t=F.y,ct=Z.height-_t+this._getViewportMarginBottom();else if("bottom"===K.overlayY)wt=Z.height-F.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),ct=Z.height-wt+this._getViewportMarginTop();else{const Jt=Math.min(Z.bottom-F.y+Z.top,F.y),vn=this._lastBoundingBoxSize.height;ct=2*Jt,_t=F.y-Jt,ct>vn&&!this._isInitialRender&&!this._growAfterOpen&&(_t=F.y-vn/2)}const ee="start"===K.overlayX&&!Re||"end"===K.overlayX&&Re;let Pt,St,Xt;if("end"===K.overlayX&&!Re||"start"===K.overlayX&&Re)Xt=Z.width-F.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),Pt=F.x-this._getViewportMarginStart();else if(ee)St=F.x,Pt=Z.right-F.x-this._getViewportMarginEnd();else{const Jt=Math.min(Z.right-F.x+Z.left,F.x),vn=this._lastBoundingBoxSize.width;Pt=2*Jt,St=F.x-Jt,Pt>vn&&!this._isInitialRender&&!this._growAfterOpen&&(St=F.x-vn/2)}return{top:_t,left:St,bottom:wt,right:Xt,width:Pt,height:ct}}_setBoundingBoxStyles(F,K){const Z=this._calculateBoundingBoxRect(F,K);!this._isInitialRender&&!this._growAfterOpen&&(Z.height=Math.min(Z.height,this._lastBoundingBoxSize.height),Z.width=Math.min(Z.width,this._lastBoundingBoxSize.width));const Re={};if(this._hasExactPosition())Re.top=Re.left="0",Re.bottom=Re.right="auto",Re.maxHeight=Re.maxWidth="",Re.width=Re.height="100%";else{const ct=this._overlayRef.getConfig().maxHeight,_t=this._overlayRef.getConfig().maxWidth;Re.width=D(Z.width),Re.height=D(Z.height),Re.top=D(Z.top)||"auto",Re.bottom=D(Z.bottom)||"auto",Re.left=D(Z.left)||"auto",Re.right=D(Z.right)||"auto",Re.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Re.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",ct&&(Re.maxHeight=D(ct)),_t&&(Re.maxWidth=D(_t))}this._lastBoundingBoxSize=Z,Ut(this._boundingBox.style,Re)}_resetBoundingBoxStyles(){Ut(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ut(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(F,K){const Z={},Re=this._hasExactPosition(),ct=this._hasFlexibleDimensions,_t=this._overlayRef.getConfig();if(Re){const Pt=this._viewportRuler.getViewportScrollPosition();Ut(Z,this._getExactOverlayY(K,F,Pt)),Ut(Z,this._getExactOverlayX(K,F,Pt))}else Z.position="static";let wt="",ee=this._getOffset(K,"x"),Se=this._getOffset(K,"y");ee&&(wt+=`translateX(${ee}px) `),Se&&(wt+=`translateY(${Se}px)`),Z.transform=wt.trim(),_t.maxHeight&&(Re?Z.maxHeight=D(_t.maxHeight):ct&&(Z.maxHeight="")),_t.maxWidth&&(Re?Z.maxWidth=D(_t.maxWidth):ct&&(Z.maxWidth="")),Ut(this._pane.style,Z)}_getExactOverlayY(F,K,Z){let Re={top:"",bottom:""},ct=this._getOverlayPoint(K,this._overlayRect,F);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,Z)),"bottom"===F.overlayY?Re.bottom=this._document.documentElement.clientHeight-(ct.y+this._overlayRect.height)+"px":Re.top=D(ct.y),Re}_getExactOverlayX(F,K,Z){let _t,Re={left:"",right:""},ct=this._getOverlayPoint(K,this._overlayRect,F);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,Z)),_t=this._isRtl()?"end"===F.overlayX?"left":"right":"end"===F.overlayX?"right":"left","right"===_t?Re.right=this._document.documentElement.clientWidth-(ct.x+this._overlayRect.width)+"px":Re.left=D(ct.x),Re}_getScrollVisibility(){const F=this._getOriginRect(),K=this._pane.getBoundingClientRect(),Z=this._scrollables.map(Re=>Re.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ht(F,Z),isOriginOutsideView:We(F,Z),isOverlayClipped:ht(K,Z),isOverlayOutsideView:We(K,Z)}}_subtractOverflows(F,...K){return K.reduce((Z,Re)=>Z-Math.max(Re,0),F)}_getNarrowedViewportRect(){const F=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,Z=this._viewportRuler.getViewportScrollPosition();return{top:Z.top+this._getViewportMarginTop(),left:Z.left+this._getViewportMarginStart(),right:Z.left+F-this._getViewportMarginEnd(),bottom:Z.top+K-this._getViewportMarginBottom(),width:F-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:K-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(F,K){return"x"===K?null==F.offsetX?this._offsetX:F.offsetX:null==F.offsetY?this._offsetY:F.offsetY}_validatePositions(){}
vendor: 5,638 bytes, line 503
503_addPanelClasses(F){this._pane&&(0,m.F)(F).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(F=>{this._pane.classList.remove(F)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){const F=this._origin;if(F instanceof b.aKT)return F.nativeElement.getBoundingClientRect();if(F instanceof Element)return F.getBoundingClientRect();const K=F.width||0,Z=F.height||0;return{top:F.y,bottom:F.y+Z,left:F.x,right:F.x+K,height:Z,width:K}}_getContainerRect(){const F=this._overlayRef.getConfig().usePopover&&"global"!==this._popoverLocation,K=this._overlayContainer.getContainerElement();F&&(K.style.display="block");const Z=K.getBoundingClientRect();return F&&(K.style.display=""),Z}}function Ut($,F){for(let K in F)F.hasOwnProperty(K)&&($[K]=F[K]);return $}function jt($){if("number"!=typeof $&&null!=$){const[F,K]=$.split(lt);return K&&"px"!==K?null:parseFloat(F)}return $||null}function zt($){return{top:Math.floor($.top),right:Math.floor($.right),bottom:Math.floor($.bottom),left:Math.floor($.left),width:Math.floor($.width),height:Math.floor($.height)}}const Mt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],o=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],it="cdk-global-overlay-wrapper";function nn($){return new tn}class tn{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(F){const K=F.getConfig();this._overlayRef=F,this._width&&!K.width&&F.updateSize({width:this._width}),this._height&&!K.height&&F.updateSize({height:this._height}),F.hostElement.classList.add(it),this._isDisposed=!1}top(F=""){return this._bottomOffset="",this._topOffset=F,this._alignItems="flex-start",this}left(F=""){return this._xOffset=F,this._xPosition="left",this}bottom(F=""){return this._topOffset="",this._bottomOffset=F,this._alignItems="flex-end",this}right(F=""){return this._xOffset=F,this._xPosition="right",this}start(F=""){return this._xOffset=F,this._xPosition="start",this}end(F=""){return this._xOffset=F,this._xPosition="end",this}width(F=""){return this._overlayRef?this._overlayRef.updateSize({width:F}):this._width=F,this}height(F=""){return this._overlayRef?this._overlayRef.updateSize({height:F}):this._height=F,this}centerHorizontally(F=""){return this.left(F),this._xPosition="center",this}centerVertically(F=""){return this.top(F),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const F=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement.style,Z=this._overlayRef.getConfig(),{width:Re,height:ct,maxWidth:_t,maxHeight:wt}=Z,ee=!("100%"!==Re&&"100vw"!==Re||_t&&"100%"!==_t&&"100vw"!==_t),Se=!("100%"!==ct&&"100vh"!==ct||wt&&"100%"!==wt&&"100vh"!==wt),Pt=this._xPosition,St=this._xOffset,Xt="rtl"===this._overlayRef.getConfig().direction;let Jt="",vn="",jn="";ee?jn="flex-start":"center"===Pt?(jn="center",Xt?vn=St:Jt=St):Xt?"left"===Pt||"end"===Pt?(jn="flex-end",Jt=St):("right"===Pt||"start"===Pt)&&(jn="flex-start",vn=St):"left"===Pt||"start"===Pt?(jn="flex-start",Jt=St):("right"===Pt||"end"===Pt)&&(jn="flex-end",vn=St),F.position=this._cssPosition,F.marginLeft=ee?"0":Jt,F.marginTop=Se?"0":this._topOffset,F.marginBottom=this._bottomOffset,F.marginRight=ee?"0":vn,K.justifyContent=jn,K.alignItems=Se?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const F=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,Z=K.style;K.classList.remove(it),Z.justifyContent=Z.alignItems=F.marginTop=F.marginBottom=F.marginLeft=F.marginRight=F.position="",this._overlayRef=null,this._isDisposed=!0}}let xn=(()=>{class ${_injector=(0,h.WQX)(h.zZn);constructor(){}global(){return nn()}flexibleConnectedTo(K){return Rt(this._injector,K)}static \u0275fac=function(Z){return new(Z||$)};static \u0275prov=h.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();const bn=new h.nKC("OVERLAY_DEFAULT_CONFIG");function pr($,F){$.get(k.l).load(Lt);const K=$.get(ot),Z=$.get(h.qQL),Re=$.get(G.g),ct=$.get(b.o8S),_t=$.get(le.dS),wt=$.get(b.sFG,null,{optional:!0})||$.get(b._9s).createRenderer(null,null),ee=new Gt(F),Se=$.get(bn,null,{optional:!0})?.usePopover??!0;ee.direction=ee.direction||_t.value,ee.usePopover="showPopover"in Z.body&&(F?.usePopover??Se);const Pt=Z.createElement("div"),St=Z.createElement("div");Pt.id=Re.getId("cdk-overlay-"),Pt.classList.add("cdk-overlay-pane"),St.appendChild(Pt),ee.usePopover&&(St.setAttribute("popover","manual"),St.classList.add("cdk-overlay-popover"));const Xt=ee.usePopover?ee.positionStrategy?.getPopoverInsertionPoint?.():null;
503return M(Xt)?Xt.after(St):"parent"===Xt?.type?Xt.element.appendChild(St):K.getContainerElement().appendChild(St),new gt(new _.aI(Pt,ct,$),St,Pt,ee,$.get(h.SKi),$.get(qe),Z,$.get(C.aZ),$.get(tt),F?.disableAnimations??"NoopAnimations"===$.get(b.bc$,null,{optional:!0}),$.get(h.uvJ),wt)}let Tr=(()=>{class ${scrollStrategies=(0,h.WQX)(Et);_positionBuilder=(0,h.WQX)(xn);_injector=(0,h.WQX)(h.zZn);constructor(){}create(K){return pr(this._injector,K)}position(){return this._positionBuilder}static \u0275fac=function(Z){return new(Z||$)};static \u0275prov=h.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();const ir=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Kr=new h.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const $=(0,h.WQX)(h.zZn);return()=>Vt($)}});let _r=(()=>{class ${elementRef=(0,h.WQX)(b.aKT);constructor(){}static \u0275fac=function(Z){return new(Z||$)};static \u0275dir=b.FsC({type:$,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return $})();const en=new h.nKC("cdk-connected-overlay-default-config");let Bn=(()=>{class ${_dir=(0,h.WQX)(le.dS,{optional:!0});_injector=(0,h.WQX)(h.zZn);_overlayRef;_templatePortal;_backdropSubscription=v.yU.EMPTY;_attachSubscription=v.yU.EMPTY;_detachSubscription=v.yU.EMPTY;_positionSubscription=v.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,h.WQX)(Kr);_ngZone=(0,h.WQX)(h.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(K){"string"!=typeof K&&this._assignConfig(K)}backdropClick=new h.bkB;positionChange=new h.bkB;attach=new h.bkB;detach=new h.bkB;overlayKeydown=new h.bkB;overlayOutsideClick=new h.bkB;constructor(){const K=(0,h.WQX)(b.C4Q),Z=(0,h.WQX)(b.c1b),Re=(0,h.WQX)(en,{optional:!0}),ct=(0,h.WQX)(bn,{optional:!0});this.usePopover=!1===ct?.usePopover?null:"global",this._templatePortal=new _.VA(K,Z),this.scrollStrategy=this._scrollStrategyFactory(),Re&&this._assignConfig(Re)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ir);const K=this._overlayRef=pr(this._injector,this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(Z=>{this.overlayKeydown.next(Z),Z.keyCode===ge._f&&!this.disableClose&&!(0,q.rp)(Z)&&(Z.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Z=>{const Re=this._getOriginElement(),ct=(0,y.Fb)(Z);(!Re||Re!==ct&&!Re.contains(ct))&&this.overlayOutsideClick.next(Z)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),Z=new Gt({direction:this._dir||"ltr",positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||0===this.height)&&(Z.height=this.height),(this.minWidth||0===this.minWidth)&&(Z.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Z.minHeight=this.minHeight),this.backdropClass&&(Z.backdropClass=this.backdropClass),this.panelClass&&(Z.panelClass=this.panelClass),Z}_updatePositionStrategy(K){const Z=this.positions.map(Re=>({originX:Re.originX,originY:Re.originY,overlayX:Re.overlayX,overlayY:Re.overlayY,offsetX:Re.offsetX||this.offsetX,offsetY:Re.offsetY||this.offsetY,panelClass:Re.panelClass||void 0}));return K.setOrigin(this._getOrigin()).withPositions(Z).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(null===this.usePopover?"global":this.usePopover)}_createPositionStrategy(){const K=Rt(this._injector,this._getOrigin());return this._updatePositionStrategy(K),K}
503_getOrigin(){return this.origin instanceof _r?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof _r?this.origin.elementRef.nativeElement:this.origin instanceof b.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();const K=this._overlayRef;K.getConfig().hasBackdrop=this.hasBackdrop,K.updateSize({width:this._getWidth()}),K.hasAttached()||K.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=K.backdropClick().subscribe(Z=>this.backdropClick.emit(Z)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,se.v)(()=>this.positionChange.observers.length>0)).subscribe(Z=>{this._ngZone.run(()=>this.positionChange.emit(Z)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(K){this.origin=K.origin??this.origin,this.positions=K.positions??this.positions,this.positionStrategy=K.positionStrategy??this.positionStrategy,this.offsetX=K.offsetX??this.offsetX,this.offsetY=K.offsetY??this.offsetY,this.width=K.width??this.width,this.height=K.height??this.height,this.minWidth=K.minWidth??this.minWidth,this.minHeight=K.minHeight??this.minHeight,this.backdropClass=K.backdropClass??this.backdropClass,this.panelClass=K.panelClass??this.panelClass,this.viewportMargin=K.viewportMargin??this.viewportMargin,this.scrollStrategy=K.scrollStrategy??this.scrollStrategy,this.disableClose=K.disableClose??this.disableClose,this.transformOriginSelector=K.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=K.hasBackdrop??this.hasBackdrop,this.lockPosition=K.lockPosition??this.lockPosition,this.flexibleDimensions=K.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=K.growAfterOpen??this.growAfterOpen,this.push=K.push??this.push,this.disposeOnNavigation=K.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=K.usePopover??this.usePopover,this.matchWidth=K.matchWidth??this.matchWidth}static \u0275fac=function(Z){return new(Z||$)};static \u0275dir=b.FsC({type:$,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",c.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",c.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",c.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",c.L39],push:[2,"cdkConnectedOverlayPush","push",c.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",c.L39],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",c.L39],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[b.OA$]})}return $})(),Xe=(()=>{class ${static \u0275fac=function(Z){return new(Z||$)};static \u0275mod=b.$C({type:$});static \u0275inj=h.G2t({providers:[Tr],imports:[Te.jI,_.jc,u.E9,u.E9]})}return $})()},1539(vt,Y,i){let h;function c(C){return function b(){if(null==h&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?C:!!C.capture}i.d(Y,{B:()=>c})},7421(vt,Y,i){i.d(Y,{O:()=>T});var h=i(5802),b=i(5547),c=i(177);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let T=(()=>{class y{_platformId=(0,h.WQX)(b.Agw);isBrowser=this._platformId?(0,c.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);
503TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!C)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(w){return new(w||y)};static \u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},7249(vt,Y,i){i.d(Y,{BD:()=>T,CZ:()=>C,r5:()=>h});var h=function(y){return y[y.NORMAL=0]="NORMAL",y[y.NEGATED=1]="NEGATED",y[y.INVERTED=2]="INVERTED",y}(h||{});let b,c;function C(){if(null==c){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return c=!1,c;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)c=!0;else{const y=Element.prototype.scrollTo;c=!!y&&!/\{\s*\[native code\]\s*\}/.test(y.toString())}}return c}function T(){if("object"!=typeof document||!document)return h.NORMAL;if(null==b){const y=document.createElement("div"),O=y.style;y.dir="rtl",O.width="1px",O.overflow="auto",O.visibility="hidden",O.pointerEvents="none",O.position="absolute";const k=document.createElement("div"),w=k.style;w.width="2px",w.height="1px",y.appendChild(k),document.body.appendChild(y),b=h.NORMAL,0===y.scrollLeft&&(y.scrollLeft=1,b=0===y.scrollLeft?h.NEGATED:h.INVERTED),y.remove()}return b}},9867(vt,Y,i){let h;function c(y){if(function b(){if(null==h){const y=typeof document<"u"?document.head:null;h=!(!y||!y.createShadowRoot&&!y.attachShadow)}return h}()){const O=y.getRootNode?y.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&O instanceof ShadowRoot)return O}return null}function T(y){return y.composedPath?y.composedPath()[0]:y.target}i.d(Y,{Fb:()=>T,KT:()=>c})},3293(vt,Y,i){i.d(Y,{l:()=>T});var h=i(5802),b=i(7705),c=i(5547);const C=new WeakMap;let T=(()=>{class y{_appRef;_injector=(0,h.WQX)(h.zZn);_environmentInjector=(0,h.WQX)(h.uvJ);load(k){const w=this._appRef=this._appRef||this._injector.get(c.o8S);let v=C.get(w);v||(v={loaders:new Set,refs:[]},C.set(w,v),w.onDestroy(()=>{C.get(w)?.refs.forEach(D=>D.destroy()),C.delete(w)})),v.loaders.has(k)||(v.loaders.add(k),v.refs.push((0,b.a0P)(k,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(w){return new(w||y)};static \u0275prov=h.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},4775(vt,Y,i){i.d(Y,{i:()=>k});var h=i(1413),b=i(152),c=i(5964),C=i(6354),T=i(8141),y=i(413);class k{_letterKeyStream=new h.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new h.B;selectedItem=this._selectedItem;constructor(v,D){const m="number"==typeof D?.debounceInterval?D.debounceInterval:200;D?.skipPredicate&&(this._skipPredicateFn=D.skipPredicate),this.setItems(v),this._setupKeyHandler(m)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(v){this._selectedItemIndex=v}setItems(v){this._items=v}handleKey(v){const D=v.keyCode;v.key&&1===v.key.length?this._letterKeyStream.next(v.key.toLocaleUpperCase()):(D>=y.A&&D<=y.Z||D>=y.f2&&D<=y.bn)&&this._letterKeyStream.next(String.fromCharCode(D))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(v){this._letterKeyStream.pipe((0,T.M)(D=>this._pressedLetters.push(D)),(0,b.B)(v),(0,c.p)(()=>this._pressedLetters.length>0),(0,C.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(D=>{for(let m=1;m<this._items.length+1;m++){const W=this._items[(this._selectedItemIndex+m)%this._items.length];if(!this._skipPredicateFn?.(W)&&0===W.getLabel?.().toLocaleUpperCase().trim().indexOf(D)){this._selectedItem.next(W);break}}this._pressedLetters=[]})}}},910(vt,Y,i){i.d(Y,{z:()=>b});var h=i(5802);let b=(()=>{class c{_listeners=[];notify(T,y){for(let O of this._listeners)O(T,y)}listen(T){return this._listeners.push(T),()=>{this._listeners=this._listeners.filter(y=>T!==y)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(y){return new(y||c)};static \u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},144(vt,Y,i){i.d(Y,{vr:()=>_e,px:()=>Be,Ae:()=>we}),i(6189);var b=i(5802),c=i(5547),C=i(7421),T=i(3293),y=i(9046);function Be(He,Ne,Ae){const qe=X(He,Ne);Ae=Ae.trim(),!qe.some(tt=>tt.trim()===Ae)&&(qe.push(Ae),He.setAttribute(Ne,qe.join(" ")))}function we(He,Ne,Ae){const qe=X(He,Ne);Ae=Ae.trim();const tt=qe.filter(pt=>pt!==Ae);tt.length?He.setAttribute(Ne,tt.join(" ")):He.removeAttribute(Ne)}function X(He,Ne){return He.getAttribute(Ne)?.match(/\S+/g)??[]}i(1413),i(8359),i(4402),i(7673),i(6697),i(4775);const Q="cdk-describedby-message",ae="cdk-describedby-host";let H=0,_e=(()=>{class He{_platform=(0,b.WQX)(C.O);_document=(0,b.WQX)(b.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+H++;constructor(){(0,b.WQX)(T.l).load(y.Yc),this._id=(0,b.WQX)(c.sZ2)+"-"+H++}describe(Ae,qe,tt){if(!this._canBeDescribed(Ae,qe))return;const pt=We(qe,tt);"string"!=typeof qe?(ht(qe,this._id),this._messageRegistry.set(pt,{messageElement:qe,referenceCount:0})):this._messageRegistry.has(pt)||this._createMessageElement(qe,tt),this._isElementDescribedByMessage(Ae,pt)||this._addMessageReference(Ae,pt)}removeDescription(Ae,qe,tt){if(!qe||!this._isElementNode(Ae))return;const pt=We(qe,tt);if(this._isElementDescribedByMessage(Ae,pt)&&this._removeMessageReference(Ae,pt),"string"==typeof qe){const Lt=this._messageRegistry.get(pt);Lt&&0===Lt.referenceCount&&this._deleteMessageElement(pt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ae=this._document.querySelectorAll(`[${ae}="${this._id}"]`);for(let qe=0;qe<Ae.length;qe++)this._removeCdkDescribedByReferenceIds(Ae[qe]),Ae[qe].removeAttribute(ae);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Ae,qe){const tt=this._document.createElement("div");ht(tt,this._id),tt.textContent=Ae,qe&&tt.setAttribute("role",qe),this._createMessagesContainer(),this._messagesContainer.appendChild(tt),this._messageRegistry.set(We(Ae,qe),{messageElement:tt,referenceCount:0})}_deleteMessageElement(Ae){this._messageRegistry.get(Ae)?.messageElement?.remove(),this._messageRegistry.delete(Ae)}_createMessagesContainer(){if(this._messagesContainer)return;const Ae="cdk-describedby-message-container",qe=this._document.querySelectorAll(`.${Ae}[platform="server"]`);for(let pt=0;pt<qe.length;pt++)qe[pt].remove();const tt=this._document.createElement("div");tt.style.visibility="hidden",tt.classList.add(Ae),tt.classList.add("cdk-visually-hidden"),this._platform.isBrowser||tt.setAttribute("platform","server"),this._document.body.appendChild(tt),this._messagesContainer=tt}_removeCdkDescribedByReferenceIds(Ae){const qe=X(Ae,"aria-describedby").filter(tt=>0!=tt.indexOf(Q));Ae.setAttribute("aria-describedby",qe.join(" "))}_addMessageReference(Ae,qe){const tt=this._messageRegistry.get(qe);Be(Ae,"aria-describedby",tt.messageElement.id),Ae.setAttribute(ae,this._id),tt.referenceCount++}_removeMessageReference(Ae,qe){const tt=this._messageRegistry.get(qe);tt.referenceCount--,we(Ae,"aria-describedby",tt.messageElement.id),Ae.removeAttribute(ae)}_isElementDescribedByMessage(Ae,qe){const tt=X(Ae,"aria-describedby"),pt=this._messageRegistry.get(qe),Lt=pt&&pt.messageElement.id;return!!Lt&&-1!=tt.indexOf(Lt)}_canBeDescribed(Ae,qe){if(!this._isElementNode(Ae))return!1;if(qe&&"object"==typeof qe)return!0;const tt=null==qe?"":`${qe}`.trim(),pt=Ae.getAttribute("aria-label");return!(!tt||pt&&pt.trim()===tt)}_isElementNode(Ae){return Ae.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(qe){return new(qe||He)};static \u0275prov=b.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();function We(He,Ne){return"string"==typeof He?`${Ne||""}/${He}`:He}function ht(He,Ne){He.id||(He.id=`${Q}-${Ne}-${H++}`)}},8203(vt,Y,i){i.d(Y,{jI:()=>w});var y=i(5547),O=i(5802);let w=(()=>{class v{static \u0275fac=function(u){return new(u||v)};static \u0275mod=y.$C({type:v});static \u0275inj=O.G2t({})}return v})()},3801(vt,Y,i){i.d(Y,{B0:()=>k,FQ:()=>D});var T=i(5547),y=i(5802);class O{_document;_textarea;constructor(u,W){this._document=W;const z=this._textarea=this._document.createElement("textarea"),se=z.style;se.position="fixed",se.top=se.opacity="0",se.left="-999em",z.setAttribute("aria-hidden","true"),z.value=u,z.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(z)}copy(){const u=this._textarea;let W=!1;try{if(u){const z=this._document.activeElement;u.select(),u.setSelectionRange(0,u.value.length),W=this._document.execCommand("copy"),z&&z.focu
503s()}}catch{}return W}destroy(){const u=this._textarea;u&&(u.remove(),this._textarea=void 0)}}let k=(()=>{class m{_document=(0,y.WQX)(y.qQL);constructor(){}copy(W){const z=this.beginCopy(W),se=z.copy();return z.destroy(),se}beginCopy(W){return new O(W,this._document)}static \u0275fac=function(z){return new(z||m)};static \u0275prov=y.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})(),D=(()=>{class m{static \u0275fac=function(z){return new(z||m)};static \u0275mod=T.$C({type:m});static \u0275inj=y.G2t({})}return m})()},4085(vt,Y,i){function h(c){return null!=c&&"false"!=`${c}`}i.d(Y,{he:()=>h})},7336(vt,Y,i){function h(b,...c){return c.length?c.some(C=>b[C]):b.altKey||b.shiftKey||b.ctrlKey||b.metaKey}i.d(Y,{rp:()=>h})},8067(vt,Y,i){i.d(Y,{CS:()=>nn,Hh:()=>tn,Fv:()=>Et,p$:()=>Mt,e9:()=>bn,wh:()=>Oe});var h=i(5547),b=i(5802),c=i(7705),C=i(2271),T=i(1413),y=i(7786);i(5964),i(8750);var D=i(9172),m=i(152),u=i(3294),W=i(6977),z=i(1397),se=i(3703),G=i(6365),le=i(5558);i(9974),i(4360),i(5245);var Be=i(3531),we=i(5057),X=i(6939),ye=i(9752),Q=i(9867),ae=i(910),H=i(413),_e=i(6537),We=i(7336),ht=i(8868);let Et=(()=>{class en{static \u0275fac=function($){return new($||en)};static \u0275dir=h.FsC({type:en,selectors:[["","cdkMenuGroup",""]],hostAttrs:["role","group",1,"cdk-menu-group"],exportAs:["cdkMenuGroup"],features:[h.Jv_([{provide:ae.z,useClass:ae.z}])]})}return en})();const Gt=new b.nKC("cdk-menu");var at=function(en){return en[en.nextItem=0]="nextItem",en[en.previousItem=1]="previousItem",en[en.currentItem=2]="currentItem",en}(at||{});const Ve=new b.nKC("cdk-menu-stack"),Le={provide:Ve,useFactory:()=>(0,b.WQX)(Ve,{optional:!0,skipSelf:!0})||new Ne},He=en=>({provide:Ve,useFactory:()=>(0,b.WQX)(Ve,{optional:!0,skipSelf:!0})||Ne.inline(en)});let Ne=(()=>{class en{id=(0,b.WQX)(Be.g).getId("cdk-menu-stack-");_elements=[];_close=new T.B;_empty=new T.B;_hasFocus=new T.B;closed=this._close;hasFocus=this._hasFocus.pipe((0,D.Z)(!1),(0,m.B)(0),(0,u.F)());emptied=this._empty;_inlineMenuOrientation=null;static inline(Xe){const $=new en;return $._inlineMenuOrientation=Xe,$}push(Xe){this._elements.push(Xe)}close(Xe,$){const{focusNextOnEmpty:F,focusParentTrigger:K}={...$};if(this._elements.indexOf(Xe)>=0){let Z;do{Z=this._elements.pop(),this._close.next({item:Z,focusParentTrigger:K})}while(Z!==Xe);this.isEmpty()&&this._empty.next(F)}}closeSubMenuOf(Xe){let $=!1;if(this._elements.indexOf(Xe)>=0)for($=this.peek()!==Xe;this.peek()!==Xe;)this._close.next({item:this._elements.pop()});return $}closeAll(Xe){const{focusNextOnEmpty:$,focusParentTrigger:F}={...Xe};if(!this.isEmpty()){for(;!this.isEmpty();){const K=this._elements.pop();K&&this._close.next({item:K,focusParentTrigger:F})}this._empty.next($)}}isEmpty(){return!this._elements.length}length(){return this._elements.length}peek(){return this._elements[this._elements.length-1]}hasInlineMenu(){return null!=this._inlineMenuOrientation}inlineMenuOrientation(){return this._inlineMenuOrientation}setHasFocus(Xe){this._hasFocus.next(Xe)}static \u0275fac=function($){return new($||en)};static \u0275prov=b.jDH({token:en,factory:en.\u0275fac})}return en})();const Ae=new b.nKC("cdk-menu-trigger"),qe=new b.nKC("cdk-menu-scroll-strategy",{providedIn:"root",factory:()=>{const en=(0,b.WQX)(b.zZn);return()=>(0,we.RH)(en)}});let tt=(()=>{class en{static _openMenuTrigger;update(Xe){en._openMenuTrigger!==Xe&&(en._openMenuTrigger?.close(),en._openMenuTrigger=Xe)}static \u0275fac=function($){return new($||en)};static \u0275prov=b.jDH({token:en,factory:en.\u0275fac,providedIn:"root"})}return en})(),pt=(()=>{class en{injector=(0,b.WQX)(b.zZn);viewContainerRef=(0,b.WQX)(h.c1b);menuStack=(0,b.WQX)(Ve);menuScrollStrategy=(0,b.WQX)(qe);menuPosition;opened=new b.bkB;closed=new b.bkB;menuTemplateRef=null;menuData;transformOriginSelector=null;overlayRef=null;destroyed=new T.B;stopOutsideClicksListener=(0,y.h)(this.closed,this.destroyed);childMenu;_menuPortal;_childMenuInjector;ngOnDestroy(){this._destroyOverlay(),this.destroyed.next(),this.destroyed.complete()}isOpen(){return!!this.overlayRef?.hasAttached()}registerChildMenu(Xe){this.childMenu=Xe}getMenuContentPortal(){return this.menuTemplateRef&&(!this._menuPortal||this.menuTemplateRef!==this._menuPortal?.templateRef)&&(this._menuPortal=new X.VA(this.menuTemplateRef,this.viewContainerRef,this.menuData,this._getChildMenuInjector())),this._menuPortal}isElementInsideMenuStack(Xe){for(let $=Xe;$;$=$?.parentElement??null)if($.getAttribute("data-cdk-menu-stack-id")===this.menuStack.id)return!0;return!1}_destroyOverlay(){this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}_getChildMenuInjector(){return this._childMenuInjector=this._childMenuInjector||b.zZn.create({providers:[{provide:Ae,useValue:this},{provide:Ve,useValue:this.menuStack}],parent:this.injector}),this._childMenuInjector}static \u0275fac=function($){return new($||en)};static \u0275dir=h.FsC({type:en,hostVars:2,hostBindings:function($,F){2&$&&h.BMQ("aria-controls",null==F.childMenu?null:F.childMenu.id)("data-cdk-menu-stack-id",F.menuStack.id)}})}return en})();const At=new b.nKC("cdk-menu-aim");function zt(en,Bn){if(!Bn.isTrusted)return!1;const Xe=en.nativeElement,$=Bn.keyCode;return"BUTTON"!==Xe.nodeName||Xe.disabled?"A"===Xe.nodeName&&$===H.Fm:$===H.Fm||$===H.t6}let Oe=(()=>{class en extends pt{_elementRef=(0,b.WQX)(h.aKT);_ngZone=(0,b.WQX)(b.SKi);_changeDetectorRef=(0,b.WQX)(c.gRc);_inputModalityDetector=(0,b.WQX)(_e.Uc);_directionality=(0,b.WQX)(ye.dS,{optional:!0});_renderer=(0,b.WQX)(h.sFG);_injector=(0,b.WQX)(b.zZn);_cleanupMouseenter;_menuTracker=(0,b.WQX)(tt);_parentMenu=(0,b.WQX)(Gt,{optional:!0});_menuAim=(0,b.WQX)(At,{optional:!0});constructor(){super(),this._setRole(),this._registerCloseHandler(),this._subscribeToMenuStackClosed(),this._subscribeToMouseEnter(),this._subscribeToMenuStackHasFocus(),this._setType()}toggle(){this.isOpen()?this.close():this.open()}open(){this._parentMenu||this._menuTracker.update(this),!this.isOpen()&&null!=this.menuTemplateRef&&(this.opened.next(),this.overlayRef=this.overlayRef||(0,we.Y$)(this._injector,this._getOverlayConfig()),this.overlayRef.attach(this.getMenuContentPortal()
503),this._changeDetectorRef.markForCheck(),this._subscribeToOutsideClicks())}close(){this.isOpen()&&(this.closed.next(),this.overlayRef.detach(),this._changeDetectorRef.markForCheck()),this._closeSiblingTriggers()}getMenu(){return this.childMenu}ngOnChanges(Xe){Xe.menuPosition&&this.overlayRef&&this.overlayRef.updatePositionStrategy(this._getOverlayPositionStrategy())}ngOnDestroy(){this._cleanupMouseenter(),super.ngOnDestroy()}_toggleOnKeydown(Xe){const $="vertical"===this._parentMenu?.orientation;switch(Xe.keyCode){case H.t6:case H.Fm:!(0,We.rp)(Xe)&&!zt(this._elementRef,Xe)&&(this.toggle(),this.childMenu?.focusFirstItem("keyboard"));break;case H.LE:(0,We.rp)(Xe)||this._parentMenu&&$&&"rtl"!==this._directionality?.value&&(Xe.preventDefault(),this.open(),this.childMenu?.focusFirstItem("keyboard"));break;case H.UQ:(0,We.rp)(Xe)||this._parentMenu&&$&&"rtl"===this._directionality?.value&&(Xe.preventDefault(),this.open(),this.childMenu?.focusFirstItem("keyboard"));break;case H.n6:case H.i7:(0,We.rp)(Xe)||$||(Xe.preventDefault(),this.open(),Xe.keyCode===H.n6?this.childMenu?.focusFirstItem("keyboard"):this.childMenu?.focusLastItem("keyboard"))}}_handleClick(){this.toggle(),this.childMenu?.focusFirstItem("mouse")}_setHasFocus(Xe){this._parentMenu||this.menuStack.setHasFocus(Xe)}_subscribeToMouseEnter(){this._cleanupMouseenter=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"mouseenter",()=>{if("touch"!==this._inputModalityDetector.mostRecentModality&&!this.menuStack.isEmpty()&&!this.isOpen()){const Xe=()=>this._ngZone.run(()=>{this._closeSiblingTriggers(),this.open()});this._menuAim?this._menuAim.toggle(Xe):Xe()}}))}_closeSiblingTriggers(){this._parentMenu?!this.menuStack.closeSubMenuOf(this._parentMenu)&&this.menuStack.peek()!==this._parentMenu&&this.menuStack.closeAll():this.menuStack.closeAll()}_getOverlayConfig(){return new we.rR({positionStrategy:this._getOverlayPositionStrategy(),scrollStrategy:this.menuScrollStrategy(),direction:this._directionality||void 0})}_getOverlayPositionStrategy(){const Xe=(0,we.$M)(this._injector,this._elementRef).withLockedPosition().withFlexibleDimensions(!1).withPositions(this._getOverlayPositions());return this.transformOriginSelector&&Xe.withTransformOriginOn(this.transformOriginSelector),Xe}_getOverlayPositions(){return this.menuPosition??(this._parentMenu&&"horizontal"!==this._parentMenu.orientation?we.EB:we.pq)}_registerCloseHandler(){this._parentMenu||this.menuStack.closed.pipe((0,W.Q)(this.destroyed)).subscribe(({item:Xe})=>{Xe===this.childMenu&&this.close()})}_subscribeToOutsideClicks(){this.overlayRef&&this.overlayRef.outsidePointerEvents().pipe((0,W.Q)(this.stopOutsideClicksListener)).subscribe(Xe=>{const $=(0,Q.Fb)(Xe),F=this._elementRef.nativeElement;$!==F&&!F.contains($)&&(this.isElementInsideMenuStack($)?this._closeSiblingTriggers():this.menuStack.closeAll())})}_subscribeToMenuStackHasFocus(){this._parentMenu||this.menuStack.hasFocus.pipe((0,W.Q)(this.destroyed)).subscribe(Xe=>{Xe||this.menuStack.closeAll()})}_subscribeToMenuStackClosed(){this._parentMenu||this.menuStack.closed.subscribe(({focusParentTrigger:Xe})=>{Xe&&!this.menuStack.length()&&this._elementRef.nativeElement.focus()})}_setRole(){this._parentMenu||this._elementRef.nativeElement.setAttribute("role","button")}_setType(){const Xe=this._elementRef.nativeElement;"BUTTON"===Xe.nodeName&&!Xe.getAttribute("type")&&Xe.setAttribute("type","button")}static \u0275fac=function($){return new($||en)};static \u0275dir=h.FsC({type:en,selectors:[["","cdkMenuTriggerFor",""]],hostAttrs:[1,"cdk-menu-trigger"],hostVars:2,hostBindings:function($,F){1&$&&h.bIt("focusin",function(){return F._setHasFocus(!0)})("focusout",function(){return F._setHasFocus(!1)})("keydown",function(Z){return F._toggleOnKeydown(Z)})("click",function(){return F._handleClick()}),2&$&&h.BMQ("aria-haspopup",F.menuTemplateRef?"menu":null)("aria-expanded",null==F.menuTemplateRef?null:F.isOpen())},inputs:{menuTemplateRef:[0,"cdkMenuTriggerFor","menuTemplateRef"],menuPosition:[0,"cdkMenuPosition","menuPosition"],menuData:[0,"cdkMenuTriggerData","menuData"],transformOriginSelector:[0,"cdkMenuTriggerTransformOriginOn","transformOriginSelector"]},outputs:{opened:"cdkMenuOpened",closed:"cdkMenuClosed"},exportAs:["cdkMenuTriggerFor"],features:[h.Jv_([{provide:Ae,useExisting:en},Le]),h.Vt3,h.OA$]})}return en})(),Mt=(()=>{class en{_dir=(0,b.WQX)(ye.dS,{optional:!0});_elementRef=(0,b.WQX)(h.aKT);_ngZone=(0,b.WQX)(b.SKi);_inputModalityDetector=(0,b.WQX)(_e.Uc);_renderer=(0,b.WQX)(h.sFG);_cleanupMouseEnter;_menuAim=(0,b.WQX)(At,{optional:!0});_menuStack=(0,b.WQX)(Ve);_parentMenu=(0,b.WQX)(Gt,{optional:!0});_menuTrigger=(0,b.WQX)(Oe,{optional:!0,self:!0});disabled=!1;typeaheadLabel=null;triggered=new b.bkB;get hasMenu(){return null!=this._menuTrigger?.menuTemplateRef}_tabindex=-1;closeOnSpacebarTrigger=!0;destroyed=new T.B;constructor(){this._setupMouseEnter(),this._setType(),this._isStandaloneItem()&&(this._tabindex=0)}ngOnDestroy(){this._cleanupMouseEnter?.(),this.destroyed.next(),this.destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}trigger(Xe){const{keepOpen:$}={...Xe};!this.disabled&&!this.hasMenu&&(this.triggered.next(),$||this._menuStack.closeAll({focusParentTrigger:!0}))}isMenuOpen(){return!!this._menuTrigger?.isOpen()}getMenu(){return this._menuTrigger?.getMenu()}getMenuTrigger(){return this._menuTrigger}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}_resetTabIndex(){this._isStandaloneItem()||(this._tabindex=-1)}_setTabIndex(Xe){this.disabled||(!Xe||!this._menuStack.isEmpty())&&(this._tabindex=0)}_handleClick(Xe){this.disabled?(Xe.preventDefault(),Xe.stopPropagation()):this.trigger()}_onKeydown(Xe){switch(Xe.keyCode){case H.t6:case H.Fm:if(!(0,We.rp)(Xe)&&!zt(this._elementRef,Xe)){const $=this._elementRef.nativeElement.nodeName;"A"!==$&&"BUTTON"!==$&&Xe.preventDefault(),this.trigger({keepOpen:Xe.keyCode===H.t6&&!this.closeOnSpacebarTrigger})}break;case H.LE:(0,We.rp)(Xe)||this._parentMenu&&this._isParentVertical()&&("rtl"!==this._dir?.value?this._forwardArrowPressed(Xe):this._backArrowPressed(Xe));break;case H.UQ:(0,We.rp)(Xe)||this._parentMenu&&this._isParentVertical()&&("rtl"!==this._dir?.value?this._backArrowPressed(Xe):this._forwardArrowPressed(Xe))}}_isStandaloneItem(){return!this._parentMenu}_backArrowPressed(Xe){const $=this._parentMenu;(this._menuStack.hasInlineMenu()||this._menuStack.length()>1)&&(Xe.preventDefault(),this._menuStack.close($,{focusNextOnEmpty:"horizontal"===this._menuStack.inlineMenuOrientation()?at.previousItem:at.currentItem,focusParentTrigger:!0}))}_forwardArrowPressed(Xe){!this.hasMenu&&"horizontal"===this._menuStack.inlineMenuOrientation()&&(Xe.preventDefault(),this._menuStack.closeAll({focusNextOnEmpty:at.nextItem,focusParentTrigger:!0}))}_setupMouseEnter(){if(!this._isStandaloneItem()){const Xe=()=>this._ngZone.run(()=>this._menuStack.closeSubMenuOf(this._parentMenu));this._cleanupMouseEnter=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"mouseenter",()=>{"touch"!==this._inputModalityDetector.mostRecentModality&&!this._menuStack.isEmpty()&&!this.hasMenu&&(this._menuAim?this._menuAim.toggle(Xe):Xe())}))}}_isParentVertical(){return"vertical"===this._parentMenu?.orientation}_setType(){const Xe=this._elementRef.nativeElement;"BUTTON"===Xe.nodeName&&!Xe.getAttribute("type")&&Xe.setAttribute("type","button")}static \u0275fac=function($){return new($||en)};static \u0275dir=h.FsC({type:en,selectors:[["","cdkMenuItem",""]],hostAttrs:["role","menuitem",1,"cdk-menu-item"],hostVars:4,hostBindings:function($,F){1&$&&h.bIt("blur",function(){return F._resetTabIndex()})("focus",function(){return F._setTabIndex()})("click",function(Z){return F._handleClick(Z)})("keydown",function(Z){return F._onKeydown(Z)}),2&$&&(h.Avn("tabIndex",F._tabindex),h.BMQ("aria-disabled",F.disabled||null),h.AVh("cdk-menu-item-disabled",F.disabled))},inputs:{disabled:[2,"cdkMenuItemDisabled","disabled",c.L39],typeaheadLabel:[0,"cdkMenuitemTypeaheadLabel","typeaheadLabel"]},outputs:{triggered:"cdkMenuItemTriggered"},exportAs:["cdkMenuItem"]})}return en})();class o{_renderer;_items;_eventCleanups;
503_itemsSubscription;entered=new T.B;exited=new T.B;activeElement;previousElement;constructor(Bn,Xe){this._renderer=Bn,this._items=Xe,this._bindEvents(),this.entered.subscribe($=>this.activeElement=$),this.exited.subscribe(()=>{this.previousElement=this.activeElement,this.activeElement=void 0})}destroy(){this._cleanupEvents(),this._itemsSubscription?.unsubscribe()}_bindEvents(){this._itemsSubscription=this._items.changes.pipe((0,D.Z)(this._items)).subscribe(()=>{this._cleanupEvents(),this._eventCleanups=[],this._items.forEach(Bn=>{const Xe=Bn._elementRef.nativeElement;this._eventCleanups.push(this._renderer.listen(Xe,"mouseenter",()=>{this.entered.next(Bn)}),this._renderer.listen(Xe,"mouseout",()=>{this.exited.next(Bn)}))})})}_cleanupEvents(){this._eventCleanups?.forEach(Bn=>Bn()),this._eventCleanups=void 0}}let it=(()=>{class en extends Et{_focusMonitor=(0,b.WQX)(_e.FN);ngZone=(0,b.WQX)(b.SKi);_renderer=(0,b.WQX)(h.sFG);nativeElement=(0,b.WQX)(h.aKT).nativeElement;menuStack=(0,b.WQX)(Ve);menuAim=(0,b.WQX)(At,{optional:!0,self:!0});dir=(0,b.WQX)(ye.dS,{optional:!0});_allItems;id=(0,b.WQX)(Be.g).getId("cdk-menu-");items=new h.rOR;orientation="vertical";isInline=!1;keyManager;destroyed=new T.B;triggerItem;pointerTracker;_menuStackHasFocus=(0,b.vPA)(!1);_tabIndexSignal=(0,C.EW)(()=>{const Xe=this._menuStackHasFocus()?-1:0;return this.isInline?Xe:null});ngAfterContentInit(){this.isInline||this.menuStack.push(this),this._setItems(),this._setKeyManager(),this._handleFocus(),this._subscribeToMenuStackHasFocus(),this._subscribeToMenuOpen(),this._subscribeToMenuStackClosed(),this._setUpPointerTracker()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.nativeElement),this.keyManager?.destroy(),this.destroyed.next(),this.destroyed.complete(),this.pointerTracker?.destroy()}focusFirstItem(Xe="program"){this.keyManager.setFocusOrigin(Xe),this.keyManager.setFirstItemActive()}focusLastItem(Xe="program"){this.keyManager.setFocusOrigin(Xe),this.keyManager.setLastItemActive()}setActiveMenuItem(Xe){this.keyManager?.setActiveItem(Xe)}_getTabIndex(){return this._tabIndexSignal()}closeOpenMenu(Xe,$){const{focusParentTrigger:F}={...$},K=this.keyManager,Z=this.triggerItem;Xe===Z?.getMenuTrigger()?.getMenu()&&(Z?.getMenuTrigger()?.close(),F&&(Z?K.setActiveItem(Z):K.setFirstItemActive()))}_setItems(){this._allItems.changes.pipe((0,D.Z)(this._allItems),(0,W.Q)(this.destroyed)).subscribe(Xe=>{this.items.reset(Xe.filter($=>$._parentMenu===this)),this.items.notifyOnChanges()})}_setKeyManager(){this.keyManager=new ht.B(this.items).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1),"horizontal"===this.orientation?this.keyManager.withHorizontalOrientation(this.dir?.value||"ltr"):this.keyManager.withVerticalOrientation()}_subscribeToMenuOpen(){const Xe=(0,y.h)(this.items.changes,this.destroyed);this.items.changes.pipe((0,D.Z)(this.items),(0,z.Z)($=>$.filter(F=>F.hasMenu).map(F=>F.getMenuTrigger().opened.pipe((0,se.u)(F),(0,W.Q)(Xe)))),(0,G.U)(),(0,le.n)($=>(this.triggerItem=$,$.getMenuTrigger().closed)),(0,W.Q)(this.destroyed)).subscribe(()=>this.triggerItem=void 0)}_subscribeToMenuStackClosed(){this.menuStack.closed.pipe((0,W.Q)(this.destroyed)).subscribe(({item:Xe,focu
503sParentTrigger:$})=>this.closeOpenMenu(Xe,{focusParentTrigger:$}))}_subscribeToMenuStackHasFocus(){this.isInline&&this.menuStack.hasFocus.pipe((0,W.Q)(this.destroyed)).subscribe(Xe=>{this._menuStackHasFocus.set(Xe)})}_setUpPointerTracker(){this.menuAim&&(this.ngZone.runOutsideAngular(()=>{this.pointerTracker=new o(this._renderer,this.items)}),this.menuAim.initialize(this,this.pointerTracker))}_handleFocus(){this._focusMonitor.monitor(this.nativeElement,!1).pipe((0,W.Q)(this.destroyed)).subscribe(Xe=>{null!==Xe&&"mouse"!==Xe&&this.focusFirstItem(Xe)})}static \u0275fac=(()=>{let Xe;return function(F){return(Xe||(Xe=h.xGo(en)))(F||en)}})();static \u0275dir=h.FsC({type:en,contentQueries:function($,F,K){if(1&$&&h.wni(K,Mt,5),2&$){let Z;h.mGM(Z=h.lsd())&&(F._allItems=Z)}},hostAttrs:["role","menu"],hostVars:4,hostBindings:function($,F){1&$&&h.bIt("focusin",function(){return F.menuStack.setHasFocus(!0)})("focusout",function(){return F.menuStack.setHasFocus(!1)}),2&$&&(h.Avn("tabIndex",F._getTabIndex())("id",F.id),h.BMQ("aria-orientation",F.orientation)("data-cdk-menu-stack-id",F.menuStack.id))},inputs:{id:"id"},features:[h.Vt3]})}return en})(),nn=(()=>{class en extends it{_parentTrigger=(0,b.WQX)(Ae,{optional:!0});closed=new b.bkB;orientation="vertical";isInline=!this._parentTrigger;constructor(){super(),this.destroyed.subscribe(this.closed),this._parentTrigger?.registerChildMenu(this)}ngAfterContentInit(){super.ngAfterContentInit(),this._subscribeToMenuStackEmptied()}ngOnDestroy(){super.ngOnDestroy(),this.closed.complete()}_handleKeyEvent(Xe){const $=this.keyManager;switch(Xe.keyCode){case H.UQ:case H.LE:(0,We.rp)(Xe)||(Xe.preventDefault(),$.setFocusOrigin("keyboard"),$.onKeydown(Xe));break;case H._f:(0,We.rp)(Xe)||(Xe.preventDefault(),this.menuStack.close(this,{focusNextOnEmpty:at.currentItem,focusParentTrigger:!0}));break;case H.wn:(0,We.rp)(Xe,"altKey","metaKey","ctrlKey")||this.menuStack.closeAll({focusParentTrigger:!0});break;default:$.onKeydown(Xe)}}_toggleMenuFocus(Xe){const $=this.keyManager;switch(Xe){case at.nextItem:$.setFocusOrigin("keyboard"),$.setNextItemActive();break;case at.previousItem:$.setFocusOrigin("keyboard"),$.setPreviousItemActive();break;case at.currentItem:$.activeItem&&($.setFocusOrigin("keyboard"),$.setActiveItem($.activeItem))}}
503_subscribeToMenuStackEmptied(){this.menuStack.emptied.pipe((0,W.Q)(this.destroyed)).subscribe(Xe=>this._toggleMenuFocus(Xe))}static \u0275fac=function($){return new($||en)};static \u0275dir=h.FsC({type:en,selectors:[["","cdkMenu",""]],hostAttrs:["role","menu",1,"cdk-menu"],hostVars:2,hostBindings:function($,F){1&$&&h.bIt("keydown",function(Z){return F._handleKeyEvent(Z)}),2&$&&h.AVh("cdk-menu-inline",F.isInline)},outputs:{closed:"closed"},exportAs:["cdkMenu"],features:[h.Jv_([{provide:Et,useExisting:en},{provide:Gt,useExisting:en},He("vertical")]),h.Vt3]})}return en})(),tn=(()=>{class en extends it{orientation="horizontal";isInline=!0;ngAfterContentInit(){super.ngAfterContentInit(),this._subscribeToMenuStackEmptied()}_handleKeyEvent(Xe){const $=this.keyManager;switch(Xe.keyCode){case H.i7:case H.n6:case H.UQ:case H.LE:if(!(0,We.rp)(Xe)&&(Xe.keyCode===H.UQ||Xe.keyCode===H.LE)){Xe.preventDefault();const K=$.activeItem?.isMenuOpen();$.activeItem?.getMenuTrigger()?.close(),$.setFocusOrigin("keyboard"),$.onKeydown(Xe),K&&$.activeItem?.getMenuTrigger()?.open()}break;case H._f:(0,We.rp)(Xe)||(Xe.preventDefault(),$.activeItem?.getMenuTrigger()?.close());break;case H.wn:(0,We.rp)(Xe,"altKey","metaKey","ctrlKey")||$.activeItem?.getMenuTrigger()?.close();break;default:$.onKeydown(Xe)}}_toggleOpenMenu(Xe){const $=this.keyManager;switch(Xe){case at.nextItem:$.setFocusOrigin("keyboard"),$.setNextItemActive(),$.activeItem?.getMenuTrigger()?.open();break;case at.previousItem:$.setFocusOrigin("keyboard"),$.setPreviousItemActive(),$.activeItem?.getMenuTrigger()?.open();break;case at.currentItem:$.activeItem&&($.setFocusOrigin("keyboard"),$.setActiveItem($.activeItem))}}_subscribeToMenuStackEmptied(){this.menuStack?.emptied.pipe((0,W.Q)(this.destroyed)).subscribe(Xe=>this._toggleOpenMenu(Xe))}static \u0275fac=(()=>{let Xe;return function(F){return(Xe||(Xe=h.xGo(en)))(F||en)}})();static \u0275dir=h.FsC({type:en,selectors:[["","cdkMenuBar",""]],hostAttrs:["role","menubar",1,"cdk-menu-bar"],hostBindings:function($,F){1&$&&h.bIt("keydown",function(Z){return F._handleKeyEvent(Z)})},exportAs:["cdkMenuBar"],features:[h.Jv_([{provide:Et,useExisting:en},{provide:Gt,useExisting:en},{provide:Ve,useFactory:()=>Ne.inline("horizontal")}]),h.Vt3]})}return en})(),xn=(()=>{class en extends Mt{checked=!1;closeOnSpacebarTrigger=!1;static \u0275fac=(()=>{let Xe;return function(F){return(Xe||(Xe=h.xGo(en)))(F||en)}})();static \u0275dir=h.FsC({type:en,hostVars:2,hostBindings:function($,F){2&$&&h.BMQ("aria-checked",!!F.checked)("aria-disabled",F.disabled||null)},inputs:{checked:[2,"cdkMenuItemChecked","checked",c.L39]},features:[h.Vt3]})}return en})(),bn=(()=>{class en extends xn{_selectionDispatcher=(0,b.WQX)(ae.z);_id=(0,b.WQX)(Be.g).getId("cdk-menu-item-radio-");_removeDispatcherListener;constructor(){super(),this._removeDispatcherListener=this._selectionDispatcher.listen(Xe=>{this.checked=this._id===Xe})}ngOnDestroy(){super.ngOnDestroy(),this._removeDispatcherListener()}trigger(Xe){super.trigger(Xe),this.disabled||this._selectionDispatcher.notify(this._id,"")}static \u0275fac=function($){return new($||en)};static \u0275dir=h.FsC({type:en,selectors:[["","cdkMenuItemRadio",""]],hostAttrs:["role","menuitemradio"],hostVars:2,hostBindings:function($,F){2&$&&h.AVh("cdk-menu-item-radio",!0)},exportAs:["cdkMenuItemRadio"],features:[h.Jv_([{provide:xn,useExisting:en},{provide:Mt,useExisting:xn}]),h.Vt3]})}return en})()},7088(vt,Y,i){i.d(Y,{a:()=>v});var h=i(5802),c=(i(5547),i(1985)),C=i(1413),T=i(5964),y=i(4668),O=i(6977);class w{_box;_destroyed=new C.B;_resizeSubject=new C.B;_resizeObserver;_elementObservables=new Map;constructor(m){this._box=m,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(u=>this._resizeSubject.next(u)))}observe(m){return this._elementObservables.has(m)||this._elementObservables.set(m,new c.c(u=>{const W=this._resizeSubject.subscribe(u);return this._resizeObserver?.observe(m,{box:this._box}),()=>{this._resizeObserver?.unobserve(m),W.unsubscribe(),this._elementObservables.delete(m)}}).pipe((0,T.p)(u=>u.some(W=>W.target===m)),(0,y.t)({bufferSize:1,refCount:!0}),(0,O.Q)(this._destroyed))),this._elementObservables.get(m)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let v=(()=>{class D{_cleanupErrorListener;_observers=new Map;_ngZone=(0,h.WQX)(h.SKi);constructor(){}ngOnDestroy(){for(const[,u]of this._observers)u.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(u,W){const z=W?.box||"content-box";return this._observers.has(z)||this._observers.set(z,new w(z)),this._observers.get(z).observe(u)}static \u0275fac=function(W){return new(W||D)};static \u0275prov=h.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},2318(vt,Y,i){i.d(Y,{Wv:()=>u,w5:()=>W});var h=i(5547),b=i(5802),c=i(7705),C=i(1985),T=i(1413),y=i(152),O=i(5964),k=i(6354),w=i(7384);let D=(()=>{class z{create(G){return typeof MutationObserver>"u"?null:new MutationObserver(G)}static \u0275fac=function(le){return new(le||z)};static \u0275prov=b.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),m=(()=>{class z{_mutationObserverFactory=(0,b.WQX)(D);_observedElements=new Map;_ngZone=(0,b.WQX)(b.SKi);constructor(){}
503ngOnDestroy(){this._observedElements.forEach((G,le)=>this._cleanupObserver(le))}observe(G){const le=(0,w.i8)(G);return new C.c(_=>{const q=this._observeElement(le).pipe((0,k.T)(Te=>Te.filter(Be=>!function v(z){if("characterData"===z.type&&z.target instanceof Comment)return!0;if("childList"===z.type){for(let se=0;se<z.addedNodes.length;se++)if(!(z.addedNodes[se]instanceof Comment))return!1;for(let se=0;se<z.removedNodes.length;se++)if(!(z.removedNodes[se]instanceof Comment))return!1;return!0}return!1}(Be))),(0,O.p)(Te=>!!Te.length)).subscribe(Te=>{this._ngZone.run(()=>{_.next(Te)})});return()=>{q.unsubscribe(),this._unobserveElement(le)}})}_observeElement(G){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(G))this._observedElements.get(G).count++;else{const le=new T.B,_=this._mutationObserverFactory.create(ge=>le.next(ge));_&&_.observe(G,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(G,{observer:_,stream:le,count:1})}return this._observedElements.get(G).stream})}_unobserveElement(G){this._observedElements.has(G)&&(this._observedElements.get(G).count--,this._observedElements.get(G).count||this._cleanupObserver(G))}_cleanupObserver(G){if(this._observedElements.has(G)){const{observer:le,stream
503:_}=this._observedElements.get(G);le&&le.disconnect(),_.complete(),this._observedElements.delete(G)}}static \u0275fac=function(le){return new(le||z)};static \u0275prov=b.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),u=(()=>{class z{_contentObserver=(0,b.WQX)(m);_elementRef=(0,b.WQX)(h.aKT);event=new b.bkB;get disabled(){return this._disabled}set disabled(G){this._disabled=G,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(G){this._debounce=(0,w.OE)(G),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const G=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?G.pipe((0,y.B)(this.debounce)):G).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(le){return new(le||z)};static \u0275dir=h.FsC({type:z,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",c.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return z})(),W=(()=>{class z{static \u0275fac=function(le){return new(le||z)};static \u0275mod=h.$C({type:z});static \u0275inj=b.G2t({providers:[D]})}return z})()},6939(vt,Y,i){i.d(Y,{A8:()=>D,I3:()=>G,VA:()=>m,aI:()=>z,bV:()=>se,jc:()=>le,lb:()=>W});var h=i(5547),b=i(5802),c=i(7705);class v{_attachedHost=null;attach(ge){return this._attachedHost=ge,ge.attach(this)}detach(){let ge=this._attachedHost;null!=ge&&(this._attachedHost=null,ge.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ge){this._attachedHost=ge}}class D extends v{component;viewContainerRef;injector;projectableNodes;bindings;constructor(ge,q,Te,Be,we){super(),this.component=ge,this.viewContainerRef=q,this.injector=Te,this.projectableNodes=Be,this.bindings=we||null}}class m extends v{templateRef;viewContainerRef;context;injector;constructor(ge,q,Te,Be){super(),this.templateRef=ge,this.viewContainerRef=q,this.context=Te,this.injector=Be}get origin(){return this.templateRef.elementRef}attach(ge,q=this.context){return this.context=q,super.attach(ge)}detach(){return this.context=void 0,super.detach()}}class u extends v{element;constructor(ge){super(),this.element=ge instanceof h.aKT?ge.nativeElement:ge}}class W{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(ge){return ge instanceof D?(this._attachedPortal=ge,this.attachComponentPortal(ge)):ge instanceof m?(this._attachedPortal=ge,this.attachTemplatePortal(ge)):this.attachDomPortal&&ge instanceof u?(this._attachedPortal=ge,this.attachDomPortal(ge)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ge){this._disposeFn=ge}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class z extends W{outletElement;_appRef;_defaultInjector;constructor(ge,q,Te){super(),this.outletElement=ge,this._appRef=q,this._defaultInjector=Te}attachComponentPortal(ge){let q;if(ge.viewContainerRef){const Te=ge.injector||ge.viewContainerRef.injector,Be=Te.get(h.Ab1,null,{optional:!0})||void 0;q=ge.viewContainerRef.createComponent(ge.component,{index:ge.viewContainerRef.length,injector:Te,ngModuleRef:Be,projectableNodes:ge.projectableNodes||void 0,bindings:ge.bindings||void 0}),this.setDisposeFn(()=>q.destroy())}else{const Te=this._appRef,Be=ge.injector||this._defaultInjector||b.zZn.NULL,we=Be.get(b.uvJ,Te.injector);q=(0,c.a0P)(ge.component,{elementInjector:Be,environmentInjector:we,projectableNodes:ge.projectableNodes||void 0,bindings:ge.bindings||void 0}),Te.attachView(q.hostView),this.setDisposeFn(()=>{Te.viewCount>0&&Te.detachView(q.hostView),q.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(q)),this._attachedPortal=ge,q}attachTemplatePortal(ge){let q=ge.viewContainerRef,Te=q.createEmbeddedView(ge.templateRef,ge.context,{injector:ge.injector});
503return Te.rootNodes.forEach(Be=>this.outletElement.appendChild(Be)),Te.detectChanges(),this.setDisposeFn(()=>{let Be=q.indexOf(Te);-1!==Be&&q.remove(Be)}),this._attachedPortal=ge,Te}attachDomPortal=ge=>{const q=ge.element,Te=this.outletElement.ownerDocument.createComment("dom-portal");q.parentNode.insertBefore(Te,q),this.outletElement.appendChild(q),this._attachedPortal=ge,super.setDisposeFn(()=>{Te.parentNode&&Te.parentNode.replaceChild(q,Te)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ge){return ge.hostView.rootNodes[0]}}let se=(()=>{class _ extends m{constructor(){super((0,b.WQX)(h.C4Q),(0,b.WQX)(h.c1b))}static \u0275fac=function(Te){return new(Te||_)};static \u0275dir=h.FsC({type:_,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[h.Vt3]})}return _})(),G=(()=>{class _ extends W{_moduleRef=(0,b.WQX)(h.Ab1,{optional:!0});_document=(0,b.WQX)(b.qQL);_viewContainerRef=(0,b.WQX)(h.c1b);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(q){this.hasAttached()&&!q&&!this._isInitialized||(this.hasAttached()&&super.detach(),q&&super.attach(q),this._attachedPortal=q||null)}attached=new b.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(q){q.setAttachedHost(this);const Te=null!=q.viewContainerRef?q.viewContainerRef:this._viewContainerRef,Be=Te.createComponent(q.component,{index:Te.length,injector:q.injector||Te.injector,projectableNodes:q.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:q.bindings||void 0});return Te!==this._viewContainerRef&&this._getRootNode().appendChild(Be.hostView.rootNodes[0]),super.setDisposeFn(()=>Be.destroy()),this._attachedPortal=q,this._attachedRef=Be,this.attached.emit(Be),Be}attachTemplatePortal(q){q.setAttachedHost(this);const Te=this._viewContainerRef.createEmbeddedView(q.templateRef,q.context,{injector:q.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=q,this._attachedRef=Te,this.attached.emit(Te),Te}attachDomPortal=q=>{const Te=q.element,Be=this._document.createComment("dom-portal");q.setAttachedHost(this),Te.parentNode.insertBefore(Be,Te),this._getRootNode().appendChild(Te),this._attachedPortal=q,super.setDisposeFn(()=>{Be.parentNode&&Be.parentNode.replaceChild(Te,Be)})};_getRootNode(){const q=this._viewContainerRef.element.nativeElement;return q.nodeType===q.ELEMENT_NODE?q:q.parentNode}static \u0275fac=function(Te){return new(Te||_)};static \u0275dir=h.FsC({type:_,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[h.Vt3]})}return _})(),le=(()=>{class _{static \u0275fac=function(Te){return new(Te||_)};static \u0275mod=h.$C({type:_});static \u0275inj=b.G2t({})}return _})()},9046(vt,Y,i){i.d(Y,{Mv:()=>T,Yc:()=>b,Z9:()=>y});var h=i(5547);let c,b=(()=>{class O{static \u0275fac=function(v){return new(v||O)};static \u0275cmp=h.VBU({type:O,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(v,D){},styles:[".cdk-visually-hidden {\n  border: 0;\n  clip: rect(0 0 0 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n  white-space: nowrap;\n  outline: 0;\n  -webkit-appearance: none;\n  -moz-appearance: none;\n  left: 0;\n}\n[dir=rtl] .cdk-visually-hidden {\n  left: auto;\n  right: 0;\n}\n"],encapsulation:2,changeDetection:0})}return O})();function T(O){return function C(){if(void 0===c&&(c=null,typeof window<"u")){const O=window;void 0!==O.trustedTypes&&(c=O.trustedTypes.createPolicy("angular#components",{createHTML:k=>k}))}return c}()?.createHTML(O)||O}function y(O,k,w){const v=w.sanitize(h.WPN.HTML,k);O.innerHTML=T(v||"")}},5478(vt,Y,i){i.d(Y,{E9:()=>Xe,Gj:()=>Bn,R:()=>Oe,Xj:()=>it,m8:()=>pr,uv:()=>Mt});var at=i(5547),Ve=i(5802),Le=i(1985),He=i(1413),qe=(i(5007),i(536),i(7673)),tt=i(3798),pt=i(5964),Lt=i(7421),ot=i(7384),At=i(9752),M=i(7249),gt=i(8203);let Oe=(()=>{class ${_ngZone=(0,Ve.WQX)(Ve.SKi);_platform=(0,Ve.WQX)(Lt.O);_renderer=(0,Ve.WQX)(at._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new He.B;_scrolledCount=0;
503scrollContainers=new Map;register(K){this.scrollContainers.has(K)||this.scrollContainers.set(K,K.elementScrolled().subscribe(()=>this._scrolled.next(K)))}deregister(K){const Z=this.scrollContainers.get(K);Z&&(Z.unsubscribe(),this.scrollContainers.delete(K))}scrolled(K=20){return this._platform.isBrowser?new Le.c(Z=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const Re=K>0?this._scrolled.pipe((0,tt.Z)(K)).subscribe(Z):this._scrolled.subscribe(Z);return this._scrolledCount++,()=>{Re.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,qe.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((K,Z)=>this.deregister(Z)),this._scrolled.complete()}ancestorScrolled(K,Z){const Re=this.getAncestorScrollContainers(K);return this.scrolled(Z).pipe((0,pt.p)(ct=>!ct||Re.indexOf(ct)>-1))}getAncestorScrollContainers(K){const Z=[];return this.scrollContainers.forEach((Re,ct)=>{this._scrollableContainsElement(ct,K)&&Z.push(ct)}),Z}_scrollableContainsElement(K,Z){let Re=(0,ot.i8)(Z),ct=K.getElementRef().nativeElement;do{if(Re==ct)return!0}while(Re=Re.parentElement);return!1}static \u0275fac=function(Z){return new(Z||$)};static \u0275prov=Ve.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),Mt=(()=>{class ${elementRef=(0,Ve.WQX)(at.aKT);scrollDispatcher=(0,Ve.WQX)(Oe);ngZone=(0,Ve.WQX)(Ve.SKi);dir=(0,Ve.WQX)(At.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new He.B;_renderer=(0,Ve.WQX)(at.sFG);_cleanupScroll;_elementScrolled=new He.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",K=>this._elementScrolled.next(K))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(K){const Z=this.elementRef.nativeElement,Re=this.dir&&"rtl"==this.dir.value;null==K.left&&(K.left=Re?K.end:K.start),null==K.right&&(K.right=Re?K.start:K.end),null!=K.bottom&&(K.top=Z.scrollHeight-Z.clientHeight-K.bottom),Re&&(0,M.BD)()!=M.r5.NORMAL?(null!=K.left&&(K.right=Z.scrollWidth-Z.clientWidth-K.left),(0,M.BD)()==M.r5.INVERTED?K.left=K.right:(0,M.BD)()==M.r5.NEGATED&&(K.left=K.right?-K.right:K.right)):null!=K.right&&(K.left=Z.scrollWidth-Z.clientWidth-K.right),this._applyScrollToOptions(K)}_applyScrollToOptions(K){const Z=this.elementRef.nativeElement;(0,M.CZ)()?Z.scrollTo(K):(null!=K.top&&(Z.scrollTop=K.top),null!=K.left&&(Z.scrollLeft=K.left))}measureScrollOffset(K){const Z="left",ct=this.elementRef.nativeElement;if("top"==K)return ct.scrollTop;if("bottom"==K)return ct.scrollHeight-ct.clientHeight-ct.scrollTop;const _t=this.dir&&"rtl"==this.dir.value;return"start"==K?K=_t?"right":Z:"end"==K&&(K=_t?Z:"right"),_t&&(0,M.BD)()==M.r5.INVERTED?K==Z?ct.scrollWidth-ct.clientWidth-ct.scrollLeft:ct.scrollLeft:_t&&(0,M.BD)()==M.r5.NEGATED?K==Z?ct.scrollLeft+ct.scrollWidth-ct.clientWidth:-ct.scrollLeft:K==Z?ct.scrollLeft:ct.scrollWidth-ct.clientWidth-ct.scrollLeft}static \u0275fac=function(Z){return new(Z||$)};static \u0275dir=at.FsC({type:$,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return $})(),it=(()=>{class ${_platform=(0,Ve.WQX)(Lt.O);_listeners;_viewportSize=null;_change=new He.B;_document=(0,Ve.WQX)(Ve.qQL);constructor(){const K=(0,Ve.WQX)(Ve.SKi),Z=(0,Ve.WQX)(at._9s).createRenderer(null,null);K.runOutsideAngular(()=>{if(this._platform.isBrowser){const Re=ct=>this._change.next(ct);this._listeners=[Z.listen("window","resize",Re),Z.listen("window","orientationchange",Re)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(K=>K()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const K={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),K}getViewportRect(){const K=this.getViewportScrollPosition(),{width:Z,height:Re}=this.getViewportSize();
503return{top:K.top,left:K.left,bottom:K.top+Re,right:K.left+Z,height:Re,width:Z}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const K=this._document,Z=this._getWindow(),Re=K.documentElement,ct=Re.getBoundingClientRect();return{top:-ct.top||K.body?.scrollTop||Z.scrollY||Re.scrollTop||0,left:-ct.left||K.body?.scrollLeft||Z.scrollX||Re.scrollLeft||0}}change(K=20){return K>0?this._change.pipe((0,tt.Z)(K)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const K=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:K.innerWidth,height:K.innerHeight}:{width:0,height:0}}static \u0275fac=function(Z){return new(Z||$)};static \u0275prov=Ve.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();const pr=new Ve.nKC("CDK_VIRTUAL_SCROLL_VIEWPORT");let Bn=(()=>{class ${static \u0275fac=function(Z){return new(Z||$)};static \u0275mod=at.$C({type:$});static \u0275inj=Ve.G2t({})}return $})(),Xe=(()=>{class ${static \u0275fac=function(Z){return new(Z||$)};static \u0275mod=at.$C({type:$});static \u0275inj=Ve.G2t({imports:[gt.jI,Bn,gt.jI,Bn]})}return $})()},9769(vt,Y,i){i.d(Y,{B3:()=>rn,Jj:()=>qr,MD:()=>Di,QX:()=>Ur,T3:()=>In,YU:()=>ft,bT:()=>Wt,oe:()=>Vi,vh:()=>nt});var v=i(7705),D=i(5547),m=i(5802),u=i(2271);const z={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KGS:[void 0,"\u20c0"],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XCG:["Cg."],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var se=function(de){return de[de.Decimal=0]="Decimal",de[de.Percent=1]="Percent",de[de.Currency=2]="Currency",de[de.Scientific=3]="Scientific",de}(se||{}
503),le=function(de){return de[de.Format=0]="Format",de[de.Standalone=1]="Standalone",de}(le||{}),_=function(de){return de[de.Narrow=0]="Narrow",de[de.Abbreviated=1]="Abbreviated",de[de.Wide=2]="Wide",de[de.Short=3]="Short",de}(_||{}),ge=function(de){return de[de.Short=0]="Short",de[de.Medium=1]="Medium",de[de.Long=2]="Long",de[de.Full=3]="Full",de}(ge||{});function _e(de,et){return tt((0,D.kBR)(de)[D.NSC.DateFormat],et)}function We(de,et){return tt((0,D.kBR)(de)[D.NSC.TimeFormat],et)}function ht(de,et){return tt((0,D.kBR)(de)[D.NSC.DateTimeFormat],et)}function Vt(de,et){const Ie=(0,D.kBR)(de),Ke=Ie[D.NSC.NumberSymbols][et];if(typeof Ke>"u"){if(12===et)return Ie[D.NSC.NumberSymbols][0];if(13===et)return Ie[D.NSC.NumberSymbols][1]}return Ke}function an(de,et){return(0,D.kBR)(de)[D.NSC.NumberFormats][et]}function He(de){if(!de[D.NSC.ExtraData])throw new m.buA(2303,!1)}function tt(de,et){for(let Ie=et;Ie>-1;Ie--)if(typeof de[Ie]<"u")return de[Ie];throw new m.buA(2304,!1)}function pt(de){const[et,Ie]=de.split(":");return{hours:+et,minutes:+Ie}}const M=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,gt={},pe=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function lt(de,et,Ie,Ke){let Bt=function F(de){if(Z(de))return de;if("number"==typeof de&&!isNaN(de))return new Date(de);if("string"==typeof de){if(de=de.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(de)){const[Bt,En=1,wn=1]=de.split("-").map(ar=>+ar);return Yt(Bt,En-1,wn)}const Ie=parseFloat(de);if(!isNaN(de-Ie))return new Date(Ie);let Ke;if(Ke=de.match(M))return function K(de){const et=new Date(0);let Ie=0,Ke=0;const Bt=de[8]?et.setUTCFullYear:et.setFullYear,En=de[8]?et.setUTCHours:et.setHours;de[9]&&(Ie=Number(de[9]+de[10]),Ke=Number(de[9]+de[11])),Bt.call(et,Number(de[1]),Number(de[2])-1,Number(de[3]));const wn=Number(de[4]||0)-Ie,ar=Number(de[5]||0)-Ke,Gr=Number(de[6]||0),$r=Math.floor(1e3*parseFloat("0."+(de[7]||0)));return En.call(et,wn,ar,Gr,$r),et}(Ke)}const et=new Date(de);if(!Z(et))throw new m.buA(2311,!1);return et}(de);et=Ut(Ie,et)||et;let ar,wn=[];for(;et;){if(ar=pe.exec(et),!ar){wn.push(et);break}{wn=wn.concat(ar.slice(1));const ei=wn.pop();if(!ei)break;et=ei}}let Gr=Bt.getTimezoneOffset();Ke&&(Gr=Bn(Ke,Gr),Bt=function $(de,et){const Bt=de.getTimezoneOffset();return function Xe(de,et){return(de=new Date(de.getTime())).setMinutes(de.getMinutes()+et),de}(de,-1*(Bn(et,Bt)-Bt))}(Bt,Ke));let $r="";return wn.forEach(ei=>{const br=function en(de){if(_r[de])return _r[de];let et;switch(de){case"G":case"GG":case"GGG":et=it(3,_.Abbreviated);break;case"GGGG":et=it(3,_.Wide);break;case"GGGGG":et=it(3,_.Narrow);break;case"y":et=Mt(0,1,0,!1,!0);break;case"yy":et=Mt(0,2,0,!0,!0);break;case"yyy":et=Mt(0,3,0,!1,!0);break;case"yyyy":et=Mt(0,4,0,!1,!0);break;case"Y":et=Kr(1);break;case"YY":et=Kr(2,!0);break;case"YYY":et=Kr(3);break;case"YYYY":et=Kr(4);break;case"M":case"L":et=Mt(1,1,1);break;case"MM":case"LL":et=Mt(1,2,1);break;case"MMM":et=it(2,_.Abbreviated);break;case"MMMM":et=it(2,_.Wide);break;case"MMMMM":et=it(2,_.Narrow);break;case"LLL":et=it(2,_.Abbreviated,le.Standalone);break;case"LLLL":et=it(2,_.Wide,le.Standalone);break;case"LLLLL":et=it(2,_.Narrow,le.Standalone);break;case"w":et=ir(1);break;case"ww":et=ir(2);break;case"W":et=ir(1,!0);break;case"d":et=Mt(2,1);break;case"dd":et=Mt(2,2);break;case"c":case"cc":et=Mt(7,1);break;case"ccc":et=it(1,_.Abbreviated,le.Standalone);break;case"cccc":et=it(1,_.Wide,le.Standalone);break;case"ccccc":et=it(1,_.Narrow,le.Standalone);break;case"cccccc":et=it(1,_.Short,le.Standalone);break;case"E":case"EE":case"EEE":et=it(1,_.Abbreviated);break;case"EEEE":et=it(1,_.Wide);break;case"EEEEE":et=it(1,_.Narrow);break;case"EEEEEE":et=it(1,_.Short);break;case"a":case"aa":case"aaa":et=it(0,_.Abbreviated);break;case"aaaa":et=it(0,_.Wide);break;case"aaaaa":et=it(0,_.Narrow);break;case"b":case"bb":case"bbb":et=it(0,_.Abbreviated,le.Standalone,!0);break;case"bbbb":et=it(0,_.Wide,le.Standalone,!0);break;case"bbbbb":et=it(0,_.Narrow,le.Standalone,!0);break;case"B":case"BB":case"BBB":et=it(0,_.Abbreviated,le.Format,!0);break;case"BBBB":et=it(0,_.Wide,le.Format,!0);break;case"BBBBB":et=it(0,_.Narrow,le.Format,!0);break;case"h":et=Mt(3,1,-12);break;
503case"hh":et=Mt(3,2,-12);break;case"H":et=Mt(3,1);break;case"HH":et=Mt(3,2);break;case"m":et=Mt(4,1);break;case"mm":et=Mt(4,2);break;case"s":et=Mt(5,1);break;case"ss":et=Mt(5,2);break;case"S":et=Mt(6,1);break;case"SS":et=Mt(6,2);break;case"SSS":et=Mt(6,3);break;case"Z":case"ZZ":case"ZZZ":et=tn(0);break;case"ZZZZZ":et=tn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":et=tn(1);break;case"OOOO":case"ZZZZ":case"zzzz":et=tn(2);break;default:return null}return _r[de]=et,et}(ei);$r+=br?br(Bt,Ie,Gr):"''"===ei?"'":ei.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),$r}function Yt(de,et,Ie){const Ke=new Date(0);return Ke.setFullYear(de,et,Ie),Ke.setHours(0,0,0),Ke}function Ut(de,et){const Ie=function Be(de){return(0,D.kBR)(de)[D.NSC.LocaleId]}(de);if(gt[Ie]??={},gt[Ie][et])return gt[Ie][et];let Ke="";switch(et){case"shortDate":Ke=_e(de,ge.Short);break;case"mediumDate":Ke=_e(de,ge.Medium);break;case"longDate":Ke=_e(de,ge.Long);break;case"fullDate":Ke=_e(de,ge.Full);break;case"shortTime":Ke=We(de,ge.Short);break;case"mediumTime":Ke=We(de,ge.Medium);break;case"longTime":Ke=We(de,ge.Long);break;case"fullTime":Ke=We(de,ge.Full);break;case"short":const Bt=Ut(de,"shortTime"),En=Ut(de,"shortDate");Ke=jt(ht(de,ge.Short),[Bt,En]);break;case"medium":const wn=Ut(de,"mediumTime"),ar=Ut(de,"mediumDate");Ke=jt(ht(de,ge.Medium),[wn,ar]);break;case"long":const Gr=Ut(de,"longTime"),$r=Ut(de,"longDate");Ke=jt(ht(de,ge.Long),[Gr,$r]);break;case"full":const ei=Ut(de,"fullTime"),br=Ut(de,"fullDate");Ke=jt(ht(de,ge.Full),[ei,br])}return Ke&&(gt[Ie][et]=Ke),Ke}
503function jt(de,et){return et&&(de=de.replace(/\{([^}]+)}/g,function(Ie,Ke){return null!=et&&Ke in et?et[Ke]:Ie})),de}function zt(de,et,Ie="-",Ke,Bt){let En="";(de<0||Bt&&de<=0)&&(Bt?de=1-de:(de=-de,En=Ie));let wn=String(de);for(;wn.length<et;)wn="0"+wn;return Ke&&(wn=wn.slice(wn.length-et)),En+wn}function Mt(de,et,Ie=0,Ke=!1,Bt=!1){return function(En,wn){let ar=function o(de,et){switch(de){case 0:return et.getFullYear();case 1:return et.getMonth();case 2:return et.getDate();case 3:return et.getHours();case 4:return et.getMinutes();case 5:return et.getSeconds();case 6:return et.getMilliseconds();case 7:return et.getDay();default:throw new m.buA(2301,!1)}}(de,En);if((Ie>0||ar>-Ie)&&(ar+=Ie),3===de)0===ar&&-12===Ie&&(ar=12);else if(6===de)return function Oe(de,et){return zt(de,3).substring(0,et)}(ar,et);const Gr=Vt(wn,5);return zt(ar,et,Gr,Ke,Bt)}}function it(de,et,Ie=le.Format,Ke=!1){return function(Bt,En){return function nn(de,et,Ie,Ke,Bt,En){switch(Ie){case 2:return function ye(de,et,Ie){const Ke=(0,D.kBR)(de),En=tt([Ke[D.NSC.MonthsFormat],Ke[D.NSC.MonthsStandalone]],et);return tt(En,Ie)}(et,Bt,Ke)[de.getMonth()];case 1:return function X(de,et,Ie){const Ke=(0,D.kBR)(de),En=tt([Ke[D.NSC.DaysFormat],Ke[D.NSC.DaysStandalone]],et);return tt(En,Ie)}(et,Bt,Ke)[de.getDay()];case 0:const wn=de.getHours(),ar=de.getMinutes();if(En){const $r=function Ne(de){const et=(0,D.kBR)(de);return He(et),(et[D.NSC.ExtraData][2]||[]).map(Ke=>"string"==typeof Ke?pt(Ke):[pt(Ke[0]),pt(Ke[1])])}(et),ei=function Ae(de,et,Ie){const Ke=(0,D.kBR)(de);He(Ke);const En=tt([Ke[D.NSC.ExtraData][0],Ke[D.NSC.ExtraData][1]],et)||[];return tt(En,Ie)||[]}(et,Bt,Ke),br=$r.findIndex(fi=>{if(Array.isArray(fi)){const[ni,Jr]=fi,Li=wn>=ni.hours&&ar>=ni.minutes,pi=wn<Jr.hours||wn===Jr.hours&&ar<Jr.minutes;if(ni.hours<Jr.hours){if(Li&&pi)return!0}else if(Li||pi)return!0}else if(fi.hours===wn&&fi.minutes===ar)return!0;return!1});if(-1!==br)return ei[br]}return function we(de,et,Ie){const Ke=(0,D.kBR)(de),En=tt([Ke[D.NSC.DayPeriodsFormat],Ke[D.NSC.DayPeriodsStandalone]],et);return tt(En,Ie)}(et,Bt,Ke)[wn<12?0:1];case 3:return function Q(de,et){return tt((0,D.kBR)(de)[D.NSC.Eras],et)}(et,Ke)[de.getFullYear()<=0?0:1];default:throw new m.buA(2302,!1)}}(Bt,En,de,et,Ie,Ke)}}function tn(de){return function(et,Ie,Ke){const Bt=-1*Ke,En=Vt(Ie,5),wn=Bt>0?Math.floor(Bt/60):Math.ceil(Bt/60);switch(de){case 0:return(Bt>=0?"+":"")+zt(wn,2,En)+zt(Math.abs(Bt%60),2,En);case 1:return"GMT"+(Bt>=0?"+":"")+zt(wn,1,En);case 2:return"GMT"+(Bt>=0?"+":"")+zt(wn,2,En)+":"+zt(Math.abs(Bt%60),2,En);case 3:return 0===Ke?"Z":(Bt>=0?"+":"")+zt(wn,2,En)+":"+zt(Math.abs(Bt%60),2,En);default:throw new m.buA(2310,!1)}}}function Tr(de){const et=de.getDay(),Ie=0===et?-3:4-et;return Yt(de.getFullYear(),de.getMonth(),de.getDate()+Ie)}function ir(de,et=!1){return function(Ie,Ke){let Bt;if(et){const En=new Date(Ie.getFullYear(),Ie.getMonth(),1).getDay()-1,wn=Ie.getDate();Bt=1+Math.floor((wn+En)/7)}else{const En=Tr(Ie),wn=function pr(de){const et=Yt(de,0,1).getDay();return Yt(de,0,1+(et<=4?4:11)-et)}(En.getFullYear()),ar=En.getTime()-wn.getTime();Bt=1+Math.round(ar/6048e5)}return zt(Bt,de,Vt(Ke,5))}}function Kr(de,et=!1){return function(Ie,Ke){return zt(Tr(Ie).getFullYear(),de,Vt(Ke,5),et)}}const _r={};function Bn(de,et){de=de.replace(/:/g,"");const Ie=Date.parse("Jan 01, 1970 00:00:00 "+de)/6e4;return isNaN(Ie)?et:Ie}function Z(de){return de instanceof Date&&!isNaN(de.valueOf())}const Re=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Jt(de,et,Ie,Ke,Bt,En,wn=!1){let ar="",Gr=!1;if(isFinite(de)){let $r=function $e(de){let Ke,Bt,En,wn,ar,et=Math.abs(de)+"",Ie=0;for((Bt=et.indexOf("."))>-1&&(et=et.replace(".","")),(En=et.search(/e/i))>0?(Bt<0&&(Bt=En),Bt+=+et.slice(En+1),et=et.substring(0,En)):Bt<0&&(Bt=et.length),En=0;"0"===et.charAt(En);En++);if(En===(ar=et.length))Ke=[0],Bt=1;else{for(ar--;"0"===et.charAt(ar);)ar--;for(Bt-=En,Ke=[],wn=0;En<=ar;En++,wn++)Ke[wn]=Number(et.charAt(En))}return Bt>22&&(Ke=Ke.splice(0,21),Ie=Bt-1,Bt=1),{digits:Ke,exponent:Ie,integerLen:Bt}}(de);wn&&($r=function Yn(de){if(0===de.digits[0])return de;const et=de.digits.length-de.integerLen;return de.exponent?de.exponent+=2:(0===et?de.digits.push(0,0):1===et&&de.digits.push(0),de.integerLen+=2),de}($r));let ei=et.minInt,br=et.minFrac,fi=et.maxFrac;if(En){const Wi=En.match(Re);if(null===Wi)throw new m.buA(2306,!1);const To=Wi[1],Hi=Wi[3],yi=Wi[5];null!=To&&(ei=Ze(To)),null!=Hi&&(br=Ze(Hi)),null!=yi?fi=Ze(yi):null!=Hi&&br>fi&&(fi=br)}!function Ct(de,et,Ie){if(et>Ie)throw new m.buA(2307,!1);let Ke=de.digits,Bt=Ke.length-de.integerLen;const En=Math.min(Math.max(et,Bt),Ie);let wn=En+de.integerLen,ar=Ke[wn];if(wn>0){Ke.splice(Math.max(de.integerLen,wn));for(let br=wn;br<Ke.length;br++)Ke[br]=0}else{Bt=Math.max(0,Bt),de.integerLen=1,Ke.length=Math.max(1,wn=En+1),Ke[0]=0;for(let br=1;br<wn;br++)Ke[br]=0}if(ar>=5)if(wn-1<0){for(let br=0;br>wn;br--)Ke.unshift(0),de.integerLen++;Ke.unshift(1),de.integerLen++}else Ke[wn-1]++;for(;Bt<Math.max(0,En);Bt++)Ke.push(0);let Gr=0!==En;const $r=et+de.integerLen,ei=Ke.reduceRight(function(br,fi,ni,Jr){return Jr[ni]=(fi+=br)<10?fi:fi-10,Gr&&(0===Jr[ni]&&ni>=$r?Jr.pop():Gr=!1),fi>=10?1:0},0);ei&&(Ke.unshift(ei),de.integerLen++)}($r,br,fi);let ni=$r.digits,Jr=$r.integerLen;const Li=$r.exponent;let pi=[];for(Gr=ni.every(Wi=>!Wi);Jr<ei;Jr++)ni.unshift(0);for(;Jr<0;Jr++)ni.unshift(0);Jr>0?pi=ni.splice(Jr,ni.length):(pi=ni,ni=[0]);const ri=[];for(ni.length>=et.lgSize&&ri.unshift(ni.splice(-et.lgSize,ni.length).join(""));ni.length>et.gSize;)ri.unshift(ni.splice(-et.gSize,ni.length).join(""));ni.length&&ri.unshift(ni.join("")),ar=ri.join(Vt(Ie,Ke)),pi.length&&(ar+=Vt(Ie,Bt)+pi.join("")),Li&&(ar+=Vt(Ie,6)+"+"+Li)}else ar=Vt(Ie,9);return ar=de<0&&!Gr?et.negPre+ar+et.negSuf:et.posPre+ar+et.posSuf,ar}function Tn(de,et="-"){const Ie={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ke=de.split(";"),Bt=Ke[0],En=Ke[1],wn=-1!==Bt.indexOf(".")?Bt.split("."):[Bt.substring(0,Bt.lastIndexOf("0")+1),Bt.substring(Bt.lastIndexOf("0")+1)],ar=wn[0],Gr=wn[1]||"";Ie.posPre=ar.substring(0,ar.indexOf("#"));for(let ei=0;ei<Gr.length;ei++){const br=Gr.charAt(ei);"0"===br?Ie.minFrac=Ie.maxFrac=ei+1:"#"===br?Ie.maxFrac=ei+1:Ie.posSuf+=br}const $r=ar.split(",");if(Ie.gSize=$r[1]?$r[1].length:0,Ie.lgSize=$r[2]||$r[1]?($r[2]||$r[1]).length:0,En){const ei=Bt.length-Ie.posPre.length-Ie.posSuf.length,br=En.indexOf("#");Ie.negPre=En.substring(0,br).replace(/'/g,""),Ie.negSuf=En.slice(br+ei).replace(/'/g,"")}else Ie.negPre=et+Ie.posPre,Ie.negSuf=Ie.posSuf;return Ie}function Ze(de){const et=parseInt(de);
vendor: 1,517 bytes, line 503
503if(isNaN(et))throw new m.buA(2305,!1);return et}const Ue=/\s+/,ue=[];let ft=(()=>{class de{_ngEl;_renderer;initialClasses=ue;rawClass;stateMap=new Map;constructor(Ie,Ke){this._ngEl=Ie,this._renderer=Ke}set klass(Ie){this.initialClasses=null!=Ie?Ie.trim().split(Ue):ue}set ngClass(Ie){this.rawClass="string"==typeof Ie?Ie.trim().split(Ue):Ie}ngDoCheck(){for(const Ke of this.initialClasses)this._updateState(Ke,!0);const Ie=this.rawClass;if(Array.isArray(Ie)||Ie instanceof Set)for(const Ke of Ie)this._updateState(Ke,!0);else if(null!=Ie)for(const Ke of Object.keys(Ie))this._updateState(Ke,!!Ie[Ke]);this._applyStateDiff()}_updateState(Ie,Ke){const Bt=this.stateMap.get(Ie);void 0!==Bt?(Bt.enabled!==Ke&&(Bt.changed=!0,Bt.enabled=Ke),Bt.touched=!0):this.stateMap.set(Ie,{enabled:Ke,changed:!0,touched:!0})}_applyStateDiff(){for(const Ie of this.stateMap){const Ke=Ie[0],Bt=Ie[1];Bt.changed?(this._toggleClass(Ke,Bt.enabled),Bt.changed=!1):Bt.touched||(Bt.enabled&&this._toggleClass(Ke,!1),this.stateMap.delete(Ke)),Bt.touched=!1}}_toggleClass(Ie,Ke){(Ie=Ie.trim()).length>0&&Ie.split(Ue).forEach(Bt=>{Ke?this._renderer.addClass(this._ngEl.nativeElement,Bt):this._renderer.removeClass(this._ngEl.nativeElement,Bt)})}static \u0275fac=function(Ke){return new(Ke||de)(D.rXU(D.aKT),D.rXU(D.sFG))};static \u0275dir=D.FsC({type:de,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return de})(),Wt=(()=>{class de{_viewContainer;_context=new kn;_thenTemplateRef=null;_elseTemplateRef=null;
503_thenViewRef=null;_elseViewRef=null;constructor(Ie,Ke){this._viewContainer=Ie,this._thenTemplateRef=Ke}set ngIf(Ie){this._context.$implicit=this._context.ngIf=Ie,this._updateView()}set ngIfThen(Ie){Fr(Ie),this._thenTemplateRef=Ie,this._thenViewRef=null,this._updateView()}set ngIfElse(Ie){Fr(Ie),this._elseTemplateRef=Ie,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(Ie,Ke){return!0}static \u0275fac=function(Ke){return new(Ke||de)(D.rXU(D.c1b),D.rXU(D.C4Q))};static \u0275dir=D.FsC({type:de,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return de})();class kn{$implicit=null;ngIf=null}function Fr(de,et){if(de&&!de.createEmbeddedView)throw new m.buA(2020,!1)}let rn=(()=>{class de{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(Ie,Ke,Bt){this._ngEl=Ie,this._differs=Ke,this._renderer=Bt}set ngStyle(Ie){this._ngStyle=Ie,!this._differ&&Ie&&(this._differ=this._differs.find(Ie).create())}ngDoCheck(){if(this._differ){const Ie=this._differ.diff(this._ngStyle);Ie&&this._applyChanges(Ie)}}_setStyle(Ie,Ke){const[Bt,En]=Ie.split("."),wn=-1===Bt.indexOf("-")?void 0:D.czy.DashCase;null!=Ke?this._renderer.setStyle(this._ngEl.nativeElement,Bt,En?`${Ke}${En}`:Ke,wn):this._renderer.removeStyle(this._ngEl.nativeElement,Bt,wn)}_applyChanges(Ie){Ie.forEachRemovedItem(Ke=>this._setStyle(Ke.key,null)),Ie.forEachAddedItem(Ke=>this._setStyle(Ke.key,Ke.currentValue)),Ie.forEachChangedItem(Ke=>this._setStyle(Ke.key,Ke.currentValue))}static \u0275fac=function(Ke){return new(Ke||de)(D.rXU(D.aKT),D.rXU(v.MKu),D.rXU(D.sFG))};static \u0275dir=D.FsC({type:de,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return de})(),In=(()=>{class de{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,m.WQX)(m.zZn);constructor(Ie){this._viewContainerRef=Ie}ngOnChanges(Ie){if(this._shouldRecreateView(Ie)){const Ke=this._viewContainerRef;if(this._viewRef&&Ke.remove(Ke.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Bt=this._createContextForwardProxy();this._viewRef=Ke.createEmbeddedView(this.ngTemplateOutlet,Bt,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(Ie){return!!Ie.ngTemplateOutlet||!!Ie.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ie,Ke,Bt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ke,Bt),get:(Ie,Ke,Bt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ke,Bt)}})}static \u0275fac=function(Ke){return new(Ke||de)(D.rXU(D.c1b))};static \u0275dir=D.FsC({type:de,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[D.OA$]})}return de})();function Sn(de,et){return new m.buA(2100,!1)}class Wn{createSubscription(et,Ie,Ke){return(0,u.O8)(()=>et.subscribe({next:Ie,error:Ke}))}dispose(et){(0,u.O8)(()=>et.unsubscribe())}}class dr{createSubscription(et,Ie,Ke){return et.then(Bt=>Ie?.(Bt),Bt=>Ke?.(Bt)),{unsubscribe:()=>{Ie=null,Ke=null}}}dispose(et){et.unsubscribe()}}const Hr=new dr,Qr=new Wn;let qr=(()=>{class de{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,m.WQX)(m.ZTf);constructor(Ie){this._ref=Ie}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ie){if(!this._obj){if(Ie)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ie)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ie!==this._obj?(this._dispose(),this.transform(Ie)):this._latestValue}_subscribe(Ie){this._obj=Ie,this._strategy=this._selectStrategy(Ie),this._subscription=this._strategy.createSubscription(Ie,Ke=>this._updateLatestValue(Ie,Ke),Ke=>this.applicationErrorHandler(Ke))}_selectStrategy(Ie){if((0,D.yLl)(Ie))return Hr;if((0,D.cdK)(Ie))return Qr;throw Sn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ie,Ke){Ie===this._obj&&(this._latestValue=Ke,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(Ke){return new(Ke||de)(D.rXU(v.gRc,16))};static \u0275pipe=D.EJ8({name:"async",type:de,pure:!1})}return de})();
503const Ei=new m.nKC(""),Dt=new m.nKC("");let nt=(()=>{class de{locale;defaultTimezone;defaultOptions;constructor(Ie,Ke,Bt){this.locale=Ie,this.defaultTimezone=Ke,this.defaultOptions=Bt}transform(Ie,Ke,Bt,En){if(null==Ie||""===Ie||Ie!=Ie)return null;try{return lt(Ie,Ke??this.defaultOptions?.dateFormat??"mediumDate",En||this.locale,Bt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(wn){throw Sn()}}static \u0275fac=function(Ke){return new(Ke||de)(D.rXU(D.xe9,16),D.rXU(Ei,24),D.rXU(Dt,24))};static \u0275pipe=D.EJ8({name:"date",type:de,pure:!0})}return de})(),Ur=(()=>{class de{_locale;constructor(Ie){this._locale=Ie}transform(Ie,Ke,Bt){if(!xi(Ie))return null;Bt||=this._locale;try{return function Zn(de,et,Ie){return Jt(de,Tn(an(et,se.Decimal),Vt(et,5)),et,1,0,Ie)}(Mi(Ie),Bt,Ke)}catch(En){throw Sn()}}static \u0275fac=function(Ke){return new(Ke||de)(D.rXU(D.xe9,16))};static \u0275pipe=D.EJ8({name:"number",type:de,pure:!0})}return de})(),Vi=(()=>{class de{_locale;_defaultCurrencyCode;constructor(Ie,Ke="USD"){this._locale=Ie,this._defaultCurrencyCode=Ke}transform(Ie,Ke=this._defaultCurrencyCode,Bt="symbol",En,wn){if(!xi(Ie))return null;wn||=this._locale,"boolean"==typeof Bt&&(Bt=Bt?"symbol":"code");let ar=Ke||this._defaultCurrencyCode;"code"!==Bt&&(ar="symbol"===Bt||"symbol-narrow"===Bt?function Lt(de,et,Ie="en"){const Ke=function Ve(de){return(0,D.kBR)(de)[D.NSC.Currencies]}(Ie)[de]||z[de]||[],Bt=Ke[1];return"narrow"===et&&"string"==typeof Bt?Bt:Ke[0]||de}(ar,"symbol"===Bt?"wide":"narrow",wn):Bt);try{return function vn(de,et,Ie,Ke,Bt){const wn=Tn(an(et,se.Currency),Vt(et,5));return wn.minFrac=function At(de){let et;const Ie=z[de];return Ie&&(et=Ie[2]),"number"==typeof et?et:2}(Ke),wn.maxFrac=wn.minFrac,Jt(de,wn,et,13,12,Bt).replace("\xa4",Ie).replace("\xa4","").trim()}(Mi(Ie),wn,ar,Ke,En)}catch(Gr){throw Sn()}}static \u0275fac=function(Ke){return new(Ke||de)(D.rXU(D.xe9,16),D.rXU(D.Ocv,16))};static \u0275pipe=D.EJ8({name:"currency",type:de,pure:!0})}return de})();function xi(de){return!(null==de||""===de||de!=de)}function Mi(de){if("string"==typeof de&&!isNaN(Number(de)-parseFloat(de)))return Number(de);if("number"!=typeof de)throw new m.buA(2309,!1);return de}let Di=(()=>{class de{static \u0275fac=function(Ke){return new(Ke||de)};static \u0275mod=D.$C({type:de});static \u0275inj=m.G2t({})}return de})()},5984(vt,Y,i){i.d(Y,{aZ:()=>W,hb:()=>k});var b=i(5802),c=i(1413),C=i(6494);function T(_,ge){return _?ge?_.endsWith("/")?ge.startsWith("/")?_+ge.slice(1):_+ge:ge.startsWith("/")?_+ge:`${_}/${ge}`:_:ge}function y(_){const ge=_.search(/#|\?|$/);return"/"===_[ge-1]?_.slice(0,ge-1)+_.slice(ge):_}function O(_){return _&&"?"!==_[0]?`?${_}`:_}let k=(()=>{class _{historyGo(q){throw new Error("")}static \u0275fac=function(Te){return new(Te||_)};static \u0275prov=b.jDH({token:_,factory:()=>(0,b.WQX)(v),providedIn:"root"})}return _})();const w=new b.nKC("");let v=(()=>{class _ extends k{_platformLocation;_baseHref;_removeListenerFns=[];constructor(q,Te){super(),this._platformLocation=q,this._baseHref=Te??this._platformLocation.getBaseHrefFromDOM()??(0,b.WQX)(b.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(q){this._removeListenerFns.push(this._platformLocation.onPopState(q),this._platformLocation.onHashChange(q))}getBaseHref(){return this._baseHref}prepareExternalUrl(q){return T(this._baseHref,q)}path(q=!1){const Te=this._platformLocation.pathname+O(this._platformLocation.search),Be=this._platformLocation.hash;return Be&&q?`${Te}${Be}`:Te}pushState(q,Te,Be,we){const X=this.prepareExternalUrl(Be+O(we));this._platformLocation.pushState(q,Te,X)}replaceState(q,Te,Be,we){const X=this.prepareExternalUrl(Be+O(we));this._platformLocation.replaceState(q,Te,X)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(q=0){this._platformLocation.historyGo?.(q)}static \u0275fac=function(Te){return new(Te||_)(b.KVO(C.Vw),b.KVO(w,8))};static \u0275prov=b.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),W=(()=>
vendor: 4,673 bytes, line 503
503{class _{_subject=new c.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(q){this._locationStrategy=q;const Te=this._locationStrategy.getBaseHref();this._basePath=function le(_){if(new RegExp("^(https?:)?//").test(_)){const[,q]=_.split(/\/\/[^\/]+/);return q}return _}(y(G(Te))),this._locationStrategy.onPopState(Be=>{this._subject.next({url:this.path(!0),pop:!0,state:Be.state,type:Be.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(q=!1){return this.normalize(this._locationStrategy.path(q))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(q,Te=""){return this.path()==this.normalize(q+O(Te))}normalize(q){return _.stripTrailingSlash(function se(_,ge){if(!_||!ge.startsWith(_))return ge;const q=ge.substring(_.length);return""===q||["/",";","?","#"].includes(q[0])?q:ge}(this._basePath,G(q)))}prepareExternalUrl(q){return q&&"/"!==q[0]&&(q="/"+q),this._locationStrategy.prepareExternalUrl(q)}go(q,Te="",Be=null){this._locationStrategy.pushState(Be,"",q,Te),this._notifyUrlChangeListeners(this.prepareExternalUrl(q+O(Te)),Be)}replaceState(q,Te="",Be=null){this._locationStrategy.replaceState(Be,"",q,Te),this._notifyUrlChangeListeners(this.prepareExternalUrl(q+O(Te)),Be)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(q=0){this._locationStrategy.historyGo?.(q)}onUrlChange(q){return this._urlChangeListeners.push(q),this._urlChangeSubscription??=this.subscribe(Te=>{this._notifyUrlChangeListeners(Te.url,Te.state)}),()=>{const Te=this._urlChangeListeners.indexOf(q);this._urlChangeListeners.splice(Te,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(q="",Te){this._urlChangeListeners.forEach(Be=>Be(q,Te))}subscribe(q,Te,Be){return this._subject.subscribe({next:q,error:Te??void 0,complete:Be??void 0})}static normalizeQueryParams=O;static joinWithSlash=T;static stripTrailingSlash=y;static \u0275fac=function(Te){return new(Te||_)(b.KVO(k))};static \u0275prov=b.jDH({token:_,factory:()=>function z(){return new W((0,b.KVO)(k))}(),providedIn:"root"})}return _})();function G(_){return _.replace(/\/index.html$/,"")}},3794(vt,Y,i){i.d(Y,{$R:()=>ue,JV:()=>Bn,Kd:()=>pt,Lr:()=>we,Nl:()=>an,Qq:()=>Z,_y:()=>Q,a7:()=>Tr,b$:()=>ft,cS:()=>M,hv:()=>Lt,yz:()=>gt}),i(4523);var m=i(5802),u=i(5547),W=i(274),z=i(5964),se=i(980),G=i(6354),le=i(5558),_=i(1985),q=(i(2806),i(7673)),Te=i(3117),Be=i(6494);class we{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(bt){bt?"string"==typeof bt?this.lazyInit=()=>{this.headers=new Map,bt.split("\n").forEach(yt=>{const un=yt.indexOf(":");if(un>0){const _n=yt.slice(0,un),Pn=yt.slice(un+1).trim();this.addHeaderEntry(_n,Pn)}})}:typeof Headers<"u"&&bt instanceof Headers?(this.headers=new Map,bt.forEach((yt,un)=>{this.addHeaderEntry(un,yt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(bt).forEach(([yt,un])=>{this.setHeaderEntries(yt,un)})}:this.headers=new Map}has(bt){return this.init(),this.headers.has(bt.toLowerCase())}get(bt){this.init();const yt=this.headers.get(bt.toLowerCase());return yt&&yt.length>0?yt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(bt){return this.init(),this.headers.get(bt.toLowerCase())||null}append(bt,yt){return this.clone({name:bt,value:yt,op:"a"})}set(bt,yt){return this.clone({name:bt,value:yt,op:"s"})}delete(bt,yt){return this.clone({name:bt,value:yt,op:"d"})}maybeSetNormalizedName(bt,yt){this.normalizedNames.has(yt)||this.normalizedNames.set(yt,bt)}init(){this.lazyInit&&(this.lazyInit instanceof we?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(bt=>this.applyUpdate(bt)),this.lazyUpdate=null))}copyFrom(bt){bt.init(),Array.from(bt.headers.keys()).forEach(yt=>{this.headers.set(yt,bt.headers.get(yt)),this.normalizedNames.set(yt,bt.normalizedNames.get(yt))})}clone(bt){const yt=new we;return yt.lazyInit=this.lazyInit&&this.lazyInit instanceof we?this.lazyInit:this,yt.lazyUpdate=(this.lazyUpdate||[]).concat([bt]),yt}applyUpdate(bt){const yt=bt.name.toLowerCase();switch(bt.op){case"a":case"s":let un=bt.value;if("string"==typeof un&&(un=[un]),0===un.length)return;this.maybeSetNormalizedName(bt.name,yt);const _n=("a"===bt.op?this.headers.get(yt):void 0)||[];_n.push(...un),this.headers.set(yt,_n);break;case"d":const Pn=bt.value;if(Pn){let rn=this.headers.get(yt);if(!rn)return;rn=rn.filter(In=>-1===Pn.indexOf(In)),0===rn.length?(this.headers.delete(yt),this.normalizedNames.delete(yt)):this.headers.set(yt,rn
vendor: 11,356 bytes, line 503
503)}else this.headers.delete(yt),this.normalizedNames.delete(yt)}}addHeaderEntry(bt,yt){const un=bt.toLowerCase();this.maybeSetNormalizedName(bt,un),this.headers.has(un)?this.headers.get(un).push(yt):this.headers.set(un,[yt])}setHeaderEntries(bt,yt){const un=(Array.isArray(yt)?yt:[yt]).map(Pn=>Pn.toString()),_n=bt.toLowerCase();this.headers.set(_n,un),this.maybeSetNormalizedName(bt,_n)}forEach(bt){this.init(),Array.from(this.normalizedNames.keys()).forEach(yt=>bt(this.normalizedNames.get(yt),this.headers.get(yt)))}}class Q{map=new Map;set(bt,yt){return this.map.set(bt,yt),this}get(bt){return this.map.has(bt)||this.map.set(bt,bt.defaultValue()),this.map.get(bt)}delete(bt){return this.map.delete(bt),this}has(bt){return this.map.has(bt)}keys(){return this.map.keys()}}class ae{encodeKey(bt){return ht(bt)}encodeValue(bt){return ht(bt)}decodeKey(bt){return decodeURIComponent(bt)}decodeValue(bt){return decodeURIComponent(bt)}}const _e=/%(\d[a-f0-9])/gi,We={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ht(Qe){return encodeURIComponent(Qe).replace(_e,(bt,yt)=>We[yt]??bt)}function Vt(Qe){return`${Qe}`}class an{map;encoder;updates=null;cloneFrom=null;constructor(bt={}){if(this.encoder=bt.encoder||new ae,bt.fromString){if(bt.fromObject)throw new m.buA(2805,!1);this.map=function H(Qe,bt){const yt=new Map;return Qe.length>0&&Qe.replace(/^\?/,"").split("&").forEach(_n=>{const Pn=_n.indexOf("="),[rn,In]=-1==Pn?[bt.decodeKey(_n),""]:[bt.decodeKey(_n.slice(0,Pn)),bt.decodeValue(_n.slice(Pn+1))],Zt=yt.get(rn)||[];Zt.push(In),yt.set(rn,Zt)}),yt}(bt.fromString,this.encoder)}else bt.fromObject?(this.map=new Map,Object.keys(bt.fromObject).forEach(yt=>{const un=bt.fromObject[yt],_n=Array.isArray(un)?un.map(Vt):[Vt(un)];this.map.set(yt,_n)})):this.map=null}has(bt){return this.init(),this.map.has(bt)}get(bt){this.init();const yt=this.map.get(bt);return yt?yt[0]:null}getAll(bt){return this.init(),this.map.get(bt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(bt,yt){return this.clone({param:bt,value:yt,op:"a"})}appendAll(bt){const yt=[];return Object.keys(bt).forEach(un=>{const _n=bt[un];Array.isArray(_n)?_n.forEach(Pn=>{yt.push({param:un,value:Pn,op:"a"})}):yt.push({param:un,value:_n,op:"a"})}),this.clone(yt)}set(bt,yt){return this.clone({param:bt,value:yt,op:"s"})}delete(bt,yt){return this.clone({param:bt,value:yt,op:"d"})}toString(){return this.init(),this.keys().map(bt=>{const yt=this.encoder.encodeKey(bt);return this.map.get(bt).map(un=>yt+"="+this.encoder.encodeValue(un)).join("&")}).filter(bt=>""!==bt).join("&")}clone(bt){const yt=new an({encoder:this.encoder});return yt.cloneFrom=this.cloneFrom||this,yt.updates=(this.updates||[]).concat(bt),yt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(bt=>this.map.set(bt,this.cloneFrom.map.get(bt))),this.updates.forEach(bt=>{switch(bt.op){case"a":case"s":const yt=("a"===bt.op?this.map.get(bt.param):void 0)||[];yt.push(Vt(bt.value)),this.map.set(bt.param,yt);break;case"d":if(void 0===bt.value){this.map.delete(bt.param);break}{let un=this.map.get(bt.param)||[];const _n=un.indexOf(Vt(bt.value));-1!==_n&&un.splice(_n,1),un.length>0?this.map.set(bt.param,un):this.map.delete(bt.param)}}}),this.cloneFrom=this.updates=null)}}function Gt(Qe){return typeof ArrayBuffer<"u"&&Qe instanceof ArrayBuffer}function at(Qe){return typeof Blob<"u"&&Qe instanceof Blob}function Ve(Qe){return typeof FormData<"u"&&Qe instanceof FormData}const He="Content-Type",Ae="text/plain",qe="application/json",tt=`${qe}, ${Ae}, */*`;class pt{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(bt,yt,un,_n){let Pn;if(this.url=yt,this.method=bt.toUpperCase(),function Et(Qe){switch(Qe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||_n?(this.body=void 0!==un?un:null,Pn=_n):Pn=un,Pn){if(this.reportProgress=!!Pn.reportProgress,this.withCredentials=!!Pn.withCredentials,this.keepalive=!!Pn.keepalive,Pn.responseType&&(this.responseType=Pn.responseType),Pn.headers&&(this.headers=Pn.headers),Pn.context&&(this.context=Pn.context),Pn.params&&(this.params=Pn.params),Pn.priority&&(this.priority=Pn.priority),Pn.cache&&(this.cache=Pn.cache),Pn.credentials&&(this.credentials=Pn.credentials),"number"==typeof Pn.timeout){if(Pn.timeout<1||!Number.isInteger(Pn.timeout))throw new m.buA(2822,"");this.timeout=Pn.timeout}Pn.mode&&(this.mode=Pn.mode),Pn.redirect&&(this.redirect=Pn.redirect),Pn.integrity&&(this.integrity=Pn.integrity),Pn.referrer&&(this.referrer=Pn.referrer),Pn.referrerPolicy&&(this.referrerPolicy=Pn.referrerPolicy),this.transferCache=Pn.transferCache}if(this.headers??=new we,this.context??=new Q,this.params){const rn=this.params.toString();if(0===rn.length)this.urlWithParams=yt;else{const In=yt.indexOf("?");this.urlWithParams=yt+(-1===In?"?":In<yt.length-1?"&":"")+rn}}else this.params=new an,this.urlWithParams=yt}serializeBody(){return null===this.body?null:"string"==typeof this.body||Gt(this.body)||at(this.body)||Ve(this.body)||function Le(Qe){return typeof URLSearchParams<"u"&&Qe instanceof URLSearchParams}(this.body)?this.body:this.body instanceof an?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||Ve(this.body)?null:at(this.body)?this.body.type||null:Gt(this.body)?null:"string"==typeof this.body?Ae:this.body instanceof an?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?qe:null}clone(bt={}){const yt=bt.method||this.method,un=bt.url||this.url,_n=bt.responseType||this.responseType,Pn=bt.keepalive??this.keepalive,rn=bt.priority||this.priority,In=bt.cache||this.cache,Zt=bt.mode||this.mode,Sn=bt.redirect||this.redirect,or=bt.credentials||this.credentials,Wn=bt.referrer||this.referrer,dr=bt.integrity||this.integrity,Hr=bt.referrerPolicy||this.referrerPolicy,Qr=bt.transferCache??this.transferCache,qr=bt.timeout??this.timeout,Cr=void 0!==bt.body?bt.body:this.body,Ir=bt.withCredentials??this.withCredentials,Xr=bt.reportProgress??this.reportProgress;let Zr=bt.headers||this.headers,hr=bt.params||this.params;const Si=bt.context??this.context;return void 0!==bt.setHeaders&&(Zr=Object.keys(bt.setHeaders).reduce((Ei,Dt)=>Ei.set(Dt,bt.setHeaders[Dt]),Zr)),bt.setParams&&(hr=Object.keys(bt.setParams).reduce((Ei,Dt)=>Ei.set(Dt,bt.setParams[Dt]),hr)),new pt(yt,un,Cr,{params:hr,headers:Zr,context:Si,reportProgress:Xr,responseType:_n,withCredentials:Ir,transferCache:Qr,keepalive:Pn,cache:In,priority:rn,timeout:qr,mode:Zt,redirect:Sn,credentials:or,referrer:Wn,integrity:dr,referrerPolicy:Hr})}}var Lt=function(Qe){return Qe[Qe.Sent=0]="Sent",Qe[Qe.UploadProgress=1]="UploadProgress",Qe[Qe.ResponseHeader=2]="ResponseHeader",Qe[Qe.DownloadProgress=3]="DownloadProgress",Qe[Qe.Response=4]="Response",Qe[Qe.User=5]="User",Qe}(Lt||{});class ot{headers;status;statusText;url;ok;type;redirected;responseType;constructor(bt,yt=200,un="OK"){this.headers=bt.headers||new we,this.status=void 0!==bt.status?bt.status:yt,this.statusText=bt.statusText||un,this.url=bt.url||null,this.redirected=bt.redirected,this.responseType=bt.responseType,this.ok=this.status>=200&&this.status<300}}class At extends ot{constructor(bt={}){super(bt)}type=Lt.ResponseHeader;clone(bt={}){return new At({headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class M extends ot{body;constructor(bt={}){super(bt),this.body=void 0!==bt.body?bt.body:null}type=Lt.Response;clone(bt={}){return new M({body:void 0!==bt.body?bt.body:this.body,headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0,redirected:bt.redirected??this.redirected,responseType:bt.responseType??this.responseType})}}class gt extends ot{name="HttpErrorResponse";message;error;ok=!1;constructor(bt){super(bt,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${bt.url||"(unknown url)"}`:`Http failure response for ${bt.url||"(unknown url)"}: ${bt.status} ${bt.statusText}`,this.error=bt.error||null}}const Ut=new m.nKC(""),it=/^\)\]\}',?\n/;let tn=(()=>{class Qe{xhrFactory;tracingService=(0,m.WQX)(u.a8H,{optional:!0});constructor(yt){this.xhrFactory=yt}maybePropagateTrace(yt){return this.tracingService?.propagate?this.tracingService.propagate(yt):yt}handle(yt){if("JSONP"===yt.method)throw new m.buA(-2800,!1);const un=this.xhrFactory;return(0,q.of)(null).pipe((0,le.n)(()=>new _.c(Pn=>{const rn=un.build();if(rn.open(yt.method,yt.urlWithParams),yt.withCredentials&&(rn.withCredentials=!0),yt.headers.forEach((Cr,Ir)=>rn.setRequestHeader(Cr,Ir.join(","))),yt.headers.has("Accept")||rn.setRequestHeader("Accept",tt),!yt.headers.has(He)){const Cr=yt.detectContentTypeHeader();null!==Cr&&rn.setRequestHeader(He,Cr)}if(yt.timeout&&(rn.timeout=yt.timeout),yt.responseType){const Cr=yt.responseType.toLowerCase();rn.responseType="json"!==Cr?Cr:"text"}const In=yt.serializeBody();let Zt=null;const Sn=()=>{if(null!==Zt)return Zt;const Cr=rn.statusText||"OK",Ir=new we(rn.getAllResponseHeaders());return Zt=new At({headers:Ir,status:rn.status,statusText:Cr,url:rn.responseURL||yt.url}),Zt},or=this.maybePropagateTrace(()=>{let{headers:Cr,status:Ir,statusText:Xr,url:Zr}=Sn(),hr=null;204!==Ir&&(hr=typeof rn.response>"u"?rn.responseText:rn.response),0===Ir&&(Ir=hr?200:0);let Si=Ir>=200&&Ir<300;if("json"===yt.responseType&&"string"==typeof hr){const Ei=hr;hr=hr.replace(it,"");try{hr=""!==hr?JSON.parse(hr):null}catch(Dt){hr=Ei,Si&&(Si=!1,hr={error:Dt,text:hr})}}Si?(Pn.next(new M({body:hr,headers:Cr,status:Ir,statusText:Xr,url:Zr||void 0})),Pn.complete()):Pn.error(new gt({error:hr,headers:Cr,status:Ir,statusText:Xr,url:Zr||void 0}))}),Wn=this.maybePropagateTrace(Cr=>{const{url:Ir}=Sn(),Xr=new gt({error:Cr,status:rn.status||0,statusText:rn.statusText||"Unknown Error",url:Ir||void 0});Pn.error(Xr)});let dr=Wn;yt.timeout&&(dr=this.maybePropagateTrace(Cr=>{const{url:Ir}=Sn(),Xr=new gt({error:new DOMException("Request timed out","TimeoutError"),status:rn.status||0,statusText:rn.statusText||"Request timeout",url:Ir||void 0});Pn.error(Xr)}));let Hr=!1;const Qr=this.maybePropagateTrace(Cr=>{Hr||(Pn.next(Sn()),Hr=!0);let Ir={type:Lt.DownloadProgress,loaded:Cr.loaded};Cr.lengthComputable&&(Ir.total=Cr.total),"text"===yt.responseType&&rn.responseText&&(Ir.partialText=rn.responseText),Pn.next(Ir)}),qr=this.maybePropagateTrace(Cr=>{let Ir={type:Lt.UploadProgress,loaded:Cr.loaded};Cr.lengthComputable&&(Ir.total=Cr.total),Pn.next(Ir)});return rn.addEventListener("load",or),rn.addEventListener("error",Wn),rn.addEventListener("timeout",dr),rn.addEventListener("abort",Wn),yt.reportProgress&&(rn.addEventListener("progress",Qr),null!==In&&rn.upload&&rn.upload.addEventListener("progress",qr)),rn.send(In),Pn.next({type:Lt.Sent}),()=>{rn.removeEventListener("error",Wn),rn.removeEventListener("abort",Wn),r
503n.removeEventListener("load",or),rn.removeEventListener("timeout",dr),yt.reportProgress&&(rn.removeEventListener("progress",Qr),null!==In&&rn.upload&&rn.upload.removeEventListener("progress",qr)),rn.readyState!==rn.DONE&&rn.abort()}})))}static \u0275fac=function(un){return new(un||Qe)(m.KVO(Te.N))};static \u0275prov=m.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();function xn(Qe,bt){return bt(Qe)}const Tr=new m.nKC(""),ir=new m.nKC("",{factory:()=>[]}),Kr=new m.nKC(""),_r=new m.nKC("",{factory:()=>!0});let Bn=(()=>{class Qe{static \u0275fac=function(un){return new(un||Qe)};static \u0275prov=m.jDH({token:Qe,factory:function(un){let _n=null;return _n=un?new(un||Qe):m.KVO(tn),_n},providedIn:"root"})}return Qe})(),$=(()=>{class Qe{backend;injector;chain=null;pendingTasks=(0,m.WQX)(m.u5s);contributeToStability=(0,m.WQX)(_r);constructor(yt,un){this.backend=yt,this.injector=un}handle(yt){if(null===this.chain){const un=Array.from(new Set([...this.injector.get(ir),...this.injector.get(Kr,[])]));this.chain=un.reduceRight((_n,Pn)=>function pr(Qe,bt,yt){return(un,_n)=>(0,m.N4e)(yt,()=>bt(un,Pn=>Qe(Pn,_n)))}(_n,Pn,this.injector),xn)}if(this.contributeToStability){const un=this.pendingTasks.add();return this.chain(yt,_n=>this.backend.handle(_n)).pipe((0,se.j)(un))}return this.chain(yt,un=>this.backend.handle(un))}static \u0275fac=function(un){return new(un||Qe)(m.KVO(Bn),m.KVO(m.uvJ))};static \u0275prov=m.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),F=(()=>{class Qe{static \u0275fac=function(un){return new(un||Qe)};static \u0275prov=m.jDH({token:Qe,factory:function(un){let _n=null;return _n=un?new(un||Qe):m.KVO($),_n},providedIn:"root"})}return Qe})();function K(Qe,bt){return{body:bt,headers:Qe.headers,context:Qe.context,observe:Qe.observe,params:Qe.params,reportProgress:Qe.reportProgress,responseType:Qe.responseType,withCredentials:Qe.withCredentials,credentials:Qe.credentials,transferCache:Qe.transferCache,timeout:Qe.timeout,keepalive:Qe.keepalive,priority:Qe.priority,cache:Qe.cache,mode:Qe.mode,redirect:Qe.redirect,integrity:Qe.integrity,referrer:Qe.referrer,referrerPolicy:Qe.referrerPolicy}}let Z=(()=>{class Qe{handler;constructor(yt){this.handler=yt}request(yt,un,_n={}){let Pn;if(yt instanceof pt)Pn=yt;else{let Zt,Sn;Zt=_n.headers instanceof we?_n.headers:new we(_n.headers),_n.params&&(Sn=_n.params instanceof an?_n.params:new an({fromObject:_n.params})),Pn=new pt(yt,un,void 0!==_n.body?_n.body:null,{headers:Zt,context:_n.context,params:Sn,reportProgress:_n.reportProgress,responseType:_n.responseType||"json",withCredentials:_n.withCredentials,transferCache:_n.transferCache,keepalive:_n.keepalive,priority:_n.priority,cache:_n.cache,mode:_n.mode,redirect:_n.redirect,credentials:_n.credentials,referrer:_n.referrer,referrerPolicy:_n.referrerPolicy,integrity:_n.integrity,timeout:_n.timeout})}const rn=(0,q.of)(Pn).pipe((0,W.H)(Zt=>this.handler.handle(Zt)));if(yt instanceof pt||"events"===_n.observe)return rn;const In=rn.pipe((0,z.p)(Zt=>Zt instanceof M));switch(_n.observe||"body"){case"body":switch(Pn.responseType){case"arraybuffer":return In.pipe((0,G.T)(Zt=>{if(null!==Zt.body&&!(Zt.body instanceof ArrayBuffer))throw new m.buA(2806,!1);return Zt.body}));case"blob":return In.pipe((0,G.T)(Zt=>{if(null!==Zt.body&&!(Zt.body instanceof Blob))throw new m.buA(2807,!1);return Zt.body}));case"text":return In.pipe((0,G.T)(Zt=>{if(null!==Zt.body&&"string"!=typeof Zt.body)throw new m.buA(2808,!1);return Zt.body}));default:return In.pipe((0,G.T)(Zt=>Zt.body))}case"response":return In;default:throw new m.buA(2809,!1)}}delete(yt,un={}){return this.request("DELETE",yt,un)}get(yt,un={}){return this.request("GET",yt,un)}head(yt,un={}){return this.request("HEAD",yt,un)}jsonp(yt,un){return this.request("JSONP",yt,{params:(new an).append(un,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(yt,un={}){return this.request("OPTIONS",yt,un)}patch(yt,un,_n={}){return this.request("PATCH",yt,K(_n,un))}post(yt,un,_n={}){return this.request("POST",yt,K(_n,un))}put(yt,un,_n={}){return this.request("PUT",yt,K(_n,un))}static \u0275fac=function(un){return new(un||Qe)(m.KVO(F))};static \u0275prov=m.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();
503const jn=new m.nKC("",{factory:()=>!0}),Tn=new m.nKC("",{factory:()=>"XSRF-TOKEN"}),$e=new m.nKC("",{factory:()=>"X-XSRF-TOKEN"});let Ct=(()=>{class Qe{cookieName=(0,m.WQX)(Tn);doc=(0,m.WQX)(m.qQL);lastCookieString="";lastToken=null;parseCount=0;getToken(){const yt=this.doc.cookie||"";return yt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Te.b)(yt,this.cookieName),this.lastCookieString=yt),this.lastToken}static \u0275fac=function(un){return new(un||Qe)};static \u0275prov=m.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),Ze=(()=>{class Qe{static \u0275fac=function(un){return new(un||Qe)};static \u0275prov=m.jDH({token:Qe,factory:function(un){let _n=null;return _n=un?new(un||Qe):m.KVO(Ct),_n},providedIn:"root"})}return Qe})();function Ht(Qe,bt){if(!(0,m.WQX)(jn)||"GET"===Qe.method||"HEAD"===Qe.method)return bt(Qe);try{const _n=(0,m.WQX)(Be.Vw).href,{origin:Pn}=new URL(_n),{origin:rn}=new URL(Qe.url,Pn);if(Pn!==rn)return bt(Qe)}catch{return bt(Qe)}const yt=(0,m.WQX)(Ze).getToken(),un=(0,m.WQX)($e);return null!=yt&&!Qe.headers.has(un)&&(Qe=Qe.clone({headers:Qe.headers.set(un,yt)})),bt(Qe)}var mt=function(Qe){return Qe[Qe.Interceptors=0]="Interceptors",Qe[Qe.LegacyInterceptors=1]="LegacyInterceptors",Qe[Qe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Qe[Qe.NoXsrfProtection=3]="NoXsrfProtection",Qe[Qe.JsonpSupport=4]="JsonpSupport",Qe[Qe.RequestsMadeViaParent=5]="RequestsMadeViaParent",Qe[Qe.Fetch=6]="Fetch",Qe}(mt||{});function ue(...Qe){const bt=[Z,$,{provide:F,useExisting:$},{provide:Bn,useFactory:()=>(0,m.WQX)(Ut,{optional:!0})??(0,m.WQX)(tn)},{provide:ir,useValue:Ht,multi:!0}];for(const yt of Qe)bt.push(...yt.\u0275providers);return(0,m.EmA)(bt)}function ft(Qe){return function Ue(Qe,bt){return{\u0275kind:Qe,\u0275providers:bt}}(mt.Interceptors,Qe.map(bt=>({provide:ir,useValue:bt,multi:!0})))}},6494(vt,Y,i){i.d(Y,{Vw:()=>y,ig:()=>C,qj:()=>T,rb:()=>c});var h=i(5802);let b=null;function c(){return b}function C(w){b??=w}class T{}let y=(()=>{class w{historyGo(D){throw new Error("")}static \u0275fac=function(m){return new(m||w)};static \u0275prov=h.jDH({token:w,factory:()=>(0,h.WQX)(k),providedIn:"platform"})}return w})(),k=(()=>{class w extends y{_location;_history;_doc=(0,h.WQX)(h.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return c().getBaseHref(this._doc)}onPopState(D){const m=c().getGlobalEventTarget(this._doc,"window");return m.addEventListener("popstate",D,!1),()=>m.removeEventListener("popstate",D)}onHashChange(D){const m=c().getGlobalEventTarget(this._doc,"window");return m.addEventListener("hashchange",D,!1),()=>m.removeEventListener("hashchange",D)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(D){this._location.pathname=D}pushState(D,m,u){this._history.pushState(D,m,u)}replaceState(D,m,u){this._history.replaceState(D,m,u)}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}static \u0275fac=function(m){return new(m||w)};static \u0275prov=h.jDH({token:w,factory:()=>new w,providedIn:"platform"})}return w})()},3117(vt,Y,i){function h(c,C){C=encodeURIComponent(C);for(const T of c.split(";")){const y=T.indexOf("="),[O,k]=-1==y?[T,""]:[T.slice(0,y),T.slice(y+1)];if(O.trim()===C)return decodeURIComponent(k)}return null}i.d(Y,{N:()=>b,b:()=>h});class b{}},177(vt,Y,i){i.d(Y,{AJ:()=>ae,UE:()=>_e,Xr:()=>Vt});var X=i(5802);const ae="browser";function _e(Dt){return Dt===ae}let Vt=(()=>{class Dt{static \u0275prov=(0,X.jDH)({token:Dt,providedIn:"root",factory:()=>new an((0,X.WQX)(X.qQL),window)})}return Dt})();class an{document;window;offset=()=>[0,0];constructor(nt,pn){this.document=nt,this.window=pn}setOffset(nt){this.offset=Array.isArray(nt)?()=>nt:nt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(nt,pn){this.window.scrollTo({...pn,left:nt[0],top:nt[1]})}scrollToAnchor(nt,pn){const An=function Et(Dt,nt){const pn=Dt.getElementById(nt)||Dt.getElementsByName(nt)[0];if(pn)return pn;if("function"==typeof Dt.createTreeWalker&&Dt.body&&"function"==typeof Dt.body.attachShadow){const An=Dt.createTreeWalker(Dt.body,NodeFilter.SHOW_ELEMENT);let tr=An.currentNode;for(;tr;){const Ar=tr.shadowRoot;if(Ar){const Yr=Ar.getElementById(nt)||Ar.querySelector(`[name="${nt}"]`);if(Yr)return Yr}tr=An.nextNode()}}return null}(this.document,nt);An&&(this.scrollToElement(An,pn),An.focus({preventScroll:!0}))}setHistoryScrollRestoration(nt){try{this.window.history.scrollRestoration=nt}
vendor: 23,844 bytes, line 503
503catch{console.warn((0,X.OsK)(2400,!1))}}scrollToElement(nt,pn){const An=nt.getBoundingClientRect(),tr=An.left+this.window.pageXOffset,Ar=An.top+this.window.pageYOffset,Yr=this.offset();this.window.scrollTo({...pn,left:tr-Yr[0],top:Ar-Yr[1]})}}},5547(vt,Y,i){i.d(Y,{$C:()=>xv,$Ln:()=>p_,$o8:()=>Pe,AVh:()=>Im,Ab1:()=>nc,Aen:()=>w0,Agw:()=>Qt,Avn:()=>pm,B1s:()=>mf,B4B:()=>yd,BIS:()=>Ln,BMQ:()=>em,C4Q:()=>$d,C5r:()=>wb,C6U:()=>Dm,C7A:()=>Zv,Co$:()=>Cv,CsU:()=>OE,DH7:()=>eb,DNE:()=>Fp,DUP:()=>pl,DkB:()=>gm,Dyx:()=>F_,EBC:()=>Fa,EFF:()=>L0,EJ8:()=>Tv,Ef8:()=>cn,FsC:()=>wv,FuF:()=>Y1,GBs:()=>Mm,H1s:()=>__,HbH:()=>T0,Hgh:()=>cm,Hps:()=>Hp,JRh:()=>km,Jt5:()=>W_,Jv_:()=>db,KED:()=>TD,Lme:()=>Am,NAR:()=>f0,NCX:()=>Ch,NOj:()=>Fl,NSC:()=>ad,NYb:()=>PE,NyB:()=>v0,OA$:()=>Yn,OR8:()=>ql,Ocv:()=>YD,Ol2:()=>Ap,PLl:()=>je,PYC:()=>ff,PYt:()=>yv,PeT:()=>Bp,QR4:()=>cu,QTQ:()=>Fg,QXe:()=>Xg,Ql9:()=>GD,R50:()=>Rm,R7$:()=>th,RPW:()=>gf,RV6:()=>z_,SS7:()=>Lm,SdG:()=>p0,SpI:()=>rf,TFI:()=>Wh,UQu:()=>KD,VBU:()=>Mv,VeQ:()=>fr,VkB:()=>ob,Vm6:()=>R_,Vt3:()=>Np,VwU:()=>ym,VzW:()=>oC,WPN:()=>_a,XpG:()=>h0,Y8G:()=>sm,YEm:()=>Ee,Z7z:()=>L_,Zhj:()=>q1,_9s:()=>dp,_9u:()=>Dr,_qm:()=>Fi,_ys:()=>Rd,a8H:()=>za,aCM:()=>ss,aKT:()=>bo,ai1:()=>sb,bH1:()=>Ev,bH3:()=>nb,bIt:()=>bm,bMT:()=>Mb,bVm:()=>uu,bc$:()=>hn,brH:()=>xb,c1b:()=>Rh,cDI:()=>VC,cSq:()=>Iv,cdK:()=>g_,cf$:()=>zc,czy:()=>Sc,d80:()=>QD,dOL:()=>f_,dfE:()=>Ku,e6s:()=>zM,eHC:()=>Ah,eq3:()=>fb,eu8:()=>um,eux:()=>Xh,f$h:()=>Cd,fX1:()=>N_,gXe:()=>us,gil:()=>bc,hnC:()=>Z1,i5U:()=>Db,iLQ:()=>b_,iWE:()=>ka,j41:()=>du,jOp:()=>qp,k0s:()=>Gh,kBR:()=>mm,kS0:()=>fi,l4e:()=>mb,lJ4:()=>hb,lJT:()=>y_,l_i:()=>pb,lsd:()=>g0,mGM:()=>m0,mNQ:()=>ib,mS5:()=>Ge,mU9:()=>X1,mal:()=>Gl,mxI:()=>Nm,n$t:()=>no,nI1:()=>Eb,nI4:()=>tg,nVh:()=>k_,npT:()=>Uu,nrm:()=>lm,o8S:()=>Gp,ozJ:()=>mp,p2i:()=>pf,pJN:()=>Br,phd:()=>kE,pl0:()=>AE,qAN:()=>Gg,qex:()=>Zh,r8f:()=>rb,rAh:()=>ta,rOR:()=>gi,rXU:()=>Yc,rj2:()=>Qh,rpG:()=>$b,sFG:()=>t1,sZ2:()=>xe,sdS:()=>_0,sgu:()=>tC,tSv:()=>Dc,uiO:()=>Re,utN:()=>v1,vDg:()=>Hg,vxM:()=>A_,w6W:()=>iC,wEZ:()=>xm,wni:()=>Em,wr$:()=>Ci,xGo:()=>Gr,xc7:()=>Pm,xe9:()=>Gb,yLl:()=>m_,ypd:()=>RE,zJS:()=>gb,ziy:()=>$l,zoo:()=>Kl,zw6:()=>Or});var Mt=i(4523),o=i(5802),it=i(5824),nn=i(1413),tn=i(8359),xn=i(6354);function bn(e){return{toString:e}.toString()}const pr="__annotations__",Tr="__parameters__",ir="__prop__metadata__";function Kr(e,t,n,r,s){return bn(()=>{const d=_r(t);function g(...x){if(this instanceof g)return d.call(this,...x),this;const R=new g(...x);return function(me){return s&&s(me,...x),(me.hasOwnProperty(pr)?me[pr]:Object.defineProperty(me,pr,{value:[]})[pr]).push(R),me}}return n&&(g.prototype=Object.create(n.prototype)),g.prototype.ngMetadataName=e,g.annotationCls=g,g})}function _r(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}function en(e,t,n){return bn(()=>{const r=_r(t);function s(...d){if(this instanceof s)return r.apply(this,d),this;const g=new s(...d);return x.annotation=g,x;function x(R,re,me){const ze=R.hasOwnProperty(Tr)?R[Tr]:Object.defineProperty(R,Tr,{value:[]})[Tr];for(;ze.length<=me;)ze.push(null);return(ze[me]=ze[me]||[]).push(g),R}}return s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const Xe=(0,o.z6V)(en("Inject",e=>({token:e})),-1),$=(0,o.z6V)(en("Optional"),8),F=(0,o.z6V)(en("Self"),2),K=(0,o.z6V)(en("SkipSelf"),4),Z=(0,o.z6V)(en("Host"),1);function Re(e){const t=o.laP.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const ct={\u0275\u0275defineInjectable:o.jDH,\u0275\u0275defineInjector:o.G2t,\u0275\u0275inject:o.KVO,\u0275\u0275invalidFactoryDep:o.dmw,resolveForwardRef:o.nl4},_t=Function;function wt(e){return"function"==typeof e}const ee=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Se=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Pt=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,St=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Jt{_reflect;constructor(t){this._reflect=t||o.laP.Reflect}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=(0,o.WfI)(typeof t>"u"?n.length:t.length);for(let s=0;s<r.length;s++)r[s]=typeof t>"u"?[]:t[s]&&t[s]!=Object?[t[s]]:[],n&&null!=n[s]&&(r[s]=r[s].concat(n[s]));return r}_ownParameters(t,n){if(function Xt(e){return ee.test(e)||St.test(e)||Se.test(e)&&!Pt.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const s=t.ctorParameters;if(s&&s!==n.ctorParameters){const x="function"==typeof s?s():s,R=x.map(me=>me&&me.type),re=x.map(me=>me&&vn(me.decorators));return this._zipTypesAndAnnotations(R,re)}const d=t.hasOwnProperty(Tr)&&t[Tr],g=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return g||d?this._zipTypesAndAnnotations(g,d):(0,o.WfI)(t.length)}parameters(t){if(!wt(t))return[];const n=jn(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?vn(t.decorators):t.hasOwnProperty(pr)?t[pr]:null}annotations(t){if(!wt(t))return[];const n=jn(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,s={};return Object.keys(r).forEach(d=>{s[d]=vn(r[d])}),s}return t.hasOwnProperty(ir)?t[ir]:null}propMetadata(t){if(!wt(t))return{};const n=jn(t),r={};if(n!==Object){const d=this.propMetadata(n);Object.keys(d).forEach(g=>{r[g]=d[g]})}const s=this._ownPropMetadata(t,n);return s&&Object.keys(s).forEach(d=>{const g=[];r.hasOwnProperty(d)&&g.push(...r[d]),g.push(...s[d]),r[d]=g}),r}ownPropMetadata(t){return wt(t)&&this._ownPropMetadata(t,jn(t))||{}}hasLifecycleHook(t,n){return t instanceof _t&&n in t.prototype}}function vn(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function jn(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}function Zn(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class Tn{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}const Yn=(()=>{const e=()=>$e;return e.ngInherit=!0,e})();function $e(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ze),Ct}function Ct(){const e=I(this),t=e?.current;if(t){const n=e.previous;if(n===o.MZA)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ze(e,t,n,r,s){const d=this.declaredInputs[r],g=I(e)||function mt(e,t){return e[Ht]=t}(e,{previous:o.MZA,current:null}),x=g.current||(g.current={}),R=g.previous,re=R[d];x[d]=new Tn(re&&re.currentValue,n,R===o.MZA),Zn(e,t,s,n)}const Ht="__ngSimpleChanges__";function I(e){return e[Ht]||null}const Ue=[],cn=function(e,t=null,n){for(let r=0;r<Ue.length;r++)(0,Ue[r])(e,t,n)};var Ge=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(Ge||{});function xt(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const d=e.data[n].type.prototype,{ngAfterContentInit:g,ngAfterContentChecked:x,ngAfterViewInit:R,ngAfterViewChecked:re,ngOnDestroy:me}=d;g&&(e.contentHooks??=[]).push(-n,g),x&&((e.contentHooks??=[]).push(n,x),(e.contentCheckHooks??=[]).push(n,x)),R&&(e.viewHooks??=[]).push(-n,R),re&&((e.viewHooks??=[]).push(n,re),(e.viewCheckHooks??=[]).push(n,re)),null!=me&&(e.destroyHooks??=[]).push(n,me)}}function sn(e,t,n){Fr(e,t,3,n)}function Wt(e,t,n,r){(3&e[o.Wg1])===n&&Fr(e,t,n,r)}function kn(e,t){let n=e[o.Wg1];(3&n)===t&&(n&=16383,n+=1,e[o.Wg1]=n)}function Fr(e,t,n,r){const d=r??-1,g=t.length-1;let x=0;for(let R=void 0!==r?65535&e[o.wVl]:0;R<g;R++)if("number"==typeof t[R+1]){if(x=t[R],null!=r&&x>=r)break}else t[R]<0&&(e[o.wVl]+=65536),(x<d||-1==d)&&(Qe(e,n,t,R),e[o.wVl]=(4294901760&e[o.wVl])+R+2),R++}function mi(e,t){cn(Ge.LifecycleHookStart,e,t);const n=(0,it.Ht)(null);try{t.call(e)}finally{(0,it.Ht)(n),cn(Ge.LifecycleHookEnd,e,t)}}function Qe(e,t,n,r){const s=n[r]<0,d=n[r+1],x=e[s?-n[r]:n[r]];s?e[o.Wg1]>>14<e[o.wVl]>>16&&(3&e[o.Wg1])===t&&(e[o.Wg1]+=16384,mi(x,d)):mi(x,d)}class yt{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,s){this.factory=t,this.name=s,this.canSeeViewProviders=n,this.injectImpl=r}}function _n(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Wn(e){return 3===e||4===e||6===e}function dr(e){return 64===e.charCodeAt(0)}function Hr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||Qr(e,n,s,0,-1===n||2===n?t[++r]:null)}}return e}function Qr(e,t,n,r,s){let d=0,g=e.length;if(-1===t)g=-1;else for(;d<e.length;){const x=e[d++];if("number"==typeof x){if(x===t){g=-1;break}if(x>t){g=d-1;break}}}for(;d<e.length;){const x=e[d];if("number"==typeof x)break;if(x===n)return void(null!==s&&(e[d+1]=s));d++,null!==s&&d++}-1!==g&&(e.splice(g,0,t),d=g+1),e.splice(d++,0,n),null!==s&&e.splice(d++,0,s)}function qr(e){return-1!==e}function Cr(e){return 32767&e}function Xr(e,t){let n=function Ir(e){return e>>16}(e),r=t;for(;n>0;)r=r[o.X5O],n--;return r}let Zr=!0;function hr(e){const t=Zr;return Zr=e,t}let nt=0;const pn={};function tr(e,t){const n=Yr(e,t);if(-1!==n)return n;const r=t[o.eDl];r.firstCreatePass&&(e.injectorIndex=t.length,Ar(r.data,e),Ar(t,null),Ar(r.blueprint,null));const s=ci(e,t),d=e.injectorIndex;if(qr(s)){const g=Cr(s),x=Xr(s,t),R=x[o.eDl].data;for(let re=0;re<8;re++)t[d+re]=x[g+re]|R[g+re]}return t[d+8]=s,d}function Ar(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Yr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ci(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=br(s),null===r)return-1;if(n++,s=s[o.X5O],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Wr(e,t,n){!function An(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(o.p9y)&&(r=n[o.p9y]),null==r&&(r=n[o.p9y]=nt++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function wo(e,t,n){if(8&n||void 0!==e)return e;(0,o.$Hz)(t,"NodeInjector")}function Vi(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const s=e[o.YEL],d=(0,o.a2B)(void 0);try{return s?s.get(t,r,8&n):(0,o.MzJ)(t,r,8&n)}finally{(0,o.a2B)(d)}}return wo(r,t,n)}function xi(e,t,n,r=0,s){if(null!==e){if(2048&t[o.Wg1]&&!(2&r)){const g=function ei(e,t,n,r,s){let d=e,g=t;for(;null!==d&&null!==g&&2048&g[o.Wg1]&&!(0,o.EFk)(g);){const x=Mi(d,g,n,2|r,pn);if(x!==pn)return x;let R=d.parent;if(!R){const re=g[o.oMQ];if(re){const me=re.get(n,pn,-5&r);if(me!==pn)return me}R=br(g),g=g[o.X5O]}d=R}return s}(e,t,n,r,pn);if(g!==pn)return g}const d=Mi(e,t,n,r,pn);if(d!==pn)return d}return Vi(t,n,r,s)}function Mi(e,t,n,r,s){const d=function et(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(o.p9y)?e[o.p9y]:void 0;return"number"==typeof t?t>=0?255&t:ar:t}(n);if("function"==typeof d){if(!(0,o.ihb)(t,e,r))return 1&r?wo(s,n,r):Vi(t,n,r,s);try{let g;if(g=d(r),null!=g||8&r)return g;(0,o.$Hz)(n)}finally{(0,o.niQ)()}}else if("number"==typeof d){let g=null,x=Yr(e,t),R=-1,re=1&r?t[o.b5C][o.qlT]:null;for((-1===x||4&r)&&(R=-1===x?ci(e,t):t[x+8],-1!==R&&Ke(r,!1)?(g=t[o.eDl],x=Cr(R),t=Xr(R,t)):x=-1);-1!==x;){const me=t[o.eDl];if(Ie(d,x,me.data)){const ze=sr(x,t,n,g,r,re);if(ze!==pn)return ze}R=t[x+8],-1!==R&&Ke(r,t[o.eDl].data[x+8]===re)&&Ie(d,x,t)?(g=me,x=Cr(R),t=Xr(R,t)):x=-1}}return s}function sr(e,t,n,r,s,d){const g=t[o.eDl],x=g.data[e+8],me=Qn(x,g,n,null==r?(0,o.Qs1)(x)&&Zr:r!=g&&!!(3&x.type),1&s&&d===x);return null!==me?de(t,g,me,x,s):pn}function Qn(e,t,n,r,s){const d=e.providerIndexes,g=t.data,x=1048575&d,R=e.directiveStart,me=d>>20,Tt=s?x+me:e.directiveEnd;for(let Nt=r?x:x+me;Nt<Tt;Nt++){const ln=g[Nt];if(Nt<R&&n===ln||Nt>=R&&ln.type===n)return Nt}if(s){const Nt=g[R];if(Nt&&(0,o.JlV)(Nt)&&Nt.type===n)return R}return null}function de(e,t,n,r,s){let d=e[n];const g=t.data;if(d instanceof yt){const x=d;if(x.resolving)throw(0,o.PQT)("");const R=hr(x.canSeeViewProviders);x.resolving=!0;const ze=x.injectImpl?(0,o.a2B)(x.injectImpl):null;(0,o.ihb)(e,r,0);try{d=e[n]=x.factory(void 0,s,g,e,r),t.firstCreatePass&&n>=r.directiveStart&&function On(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:d}=t.type.prototype;if(r){const g=$e(t);(n.preOrderHooks??=[]).push(e,g),(n.preOrderCheckHooks??=[]).push(e,g)}s&&(n.preOrderHooks??=[]).push(0-e,s),d&&((n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d))}(n,g[n],t)}finally{null!==ze&&(0,o.a2B)(ze),hr(R),x.resolving=!1,(0,o.niQ)()}}return d}function Ie(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ke(e,t){return!(2&e||1&e&&t)}class wn{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return xi(this._tNode,this._lView,t,(0,o.hjC)(r),n)}}function ar(){return new wn((0,o.Mx4)(),(0,o.OAn)())}function Gr(e){return bn(()=>{const t=e.prototype.constructor,n=t[o.zSs]||$r(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const d=s[o.zSs]||$r(s);if(d&&d!==n)return d;s=Object.getPrototypeOf(s)}return d=>new d})}function $r(e){return(0,o.Jzi)(e)?()=>{const t=$r((0,o.nl4)(e));return t&&t()}:(0,o.wGu)(e)}function br(e){const t=e[o.eDl],n=t.type;return 2===n?t.declTNode:1===n?e[o.qlT]:null}function fi(e){return function Ur(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const d=n[s];if(Wn(d))break;if(0===d)s+=2;else if("number"==typeof d)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(d===t)return n[s+1];s+=2}}}return null}((0,o.Mx4)(),e)}const ni=en("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>fi(e)}));let Jr=null;function pi(e){return ri(function Li(){return Jr=Jr||new Jt}().parameters(e))}function ri(e){return e.map(t=>function Wi(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const s=Object.getPrototypeOf(r);if(r instanceof $||"Optional"===s.ngMetadataName)t.optional=!0;else if(r instanceof K||"SkipSelf"===s.ngMetadataName)t.skipSelf=!0;else if(r instanceof F||"Self"===s.ngMetadataName)t.self=!0;else if(r instanceof Z||"Host"===s.ngMetadataName)t.host=!0;else if(r instanceof Xe)t.token=r.token;else if(r instanceof ni){if(void 0===r.attributeName)throw new o.buA(-204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}const Hi=(0,o.kLh)({provide:String,useValue:o.kLh});function yi(e){return void 0!==e.useClass}function Po(e){return void 0!==e.useFactory}const Fi=Kr("Injectable",void 0,void 0,0,(e,t)=>function To(e,t){let n=null,r=null;e.hasOwnProperty(o.yAH)||Object.defineProperty(e,o.yAH,{get:()=>(null===n&&(n=Re().compileInjectable(ct,`ng:///${e.name}/\u0275prov.js`,function Io(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(yi(n)||Po(n))&&void 0!==n.deps&&(r.deps=ri(n.deps)),yi(n)?r.useClass=n.useClass:function Oo(e){return Hi in e}(n)?r.useValue=n.useValue:Po(n)?r.useFactory=n.useFactory:function Qi(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(o.zSs)||Object.defineProperty(e,o.zSs,{get:()=>{if(null===r){const s=Re();r=s.compileFactory(ct,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:pi(e),target:s.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function Uo(){return Xi((0,o.Mx4)(),(0,o.OAn)())}function Xi(e,t){return new bo((0,o.d31)(e,t))}let bo=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Uo})();function $o(e){return e instanceof bo?e.nativeElement:e}function So(){return this._results[Symbol.iterator]()}class gi{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new nn.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=(0,o.Bqz)(t);(this._changesDetected=!(0,o.ng7)(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=So}function di(e){return!(128&~e.flags)}var Zi=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(Zi||{});const so=new Map;let Go=0;function Qo(e){so.delete(e[o.ID])}const ho="__ngContext__";function vi(e,t){(0,o.q$2)(t)?(e[ho]=t[o.ID],function yo(e){so.set(e[o.ID],e)}(t)):e[ho]=t}function ke(e){return vr(e[o.EJG])}function kt(e){return vr(e[o.K29])}function vr(e){for(;null!==e&&!(0,o.A0l)(e);)e=e[o.K29];return e}let gr;function Dr(e){gr=e}function Ee(){if(void 0!==gr)return gr;if(typeof document<"u")return document;throw new o.buA(210,!1)}const xe=new o.nKC("",{factory:()=>ve}),ve="ng",Pe={provide:o.Z63,multi:!0,useValue:()=>{const e=(0,o.WQX)(xe);if(!/^[a-zA-Z0-9\-_]+$/.test(e))throw new o.buA(211,`APP_ID value "${e}" is not alphanumeric. The APP_ID must be a string of alphanumeric characters. (a-zA-Z0-9), hyphens (-) and underscores (_) are allowed.`)}},je=new o.nKC(""),Qt=new o.nKC("",{providedIn:"platform",factory:()=>"unknown"}),hn=new o.nKC(""),Ln=new o.nKC("",{factory:()=>(0,o.WQX)(o.qQL).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),$n={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},fr=new o.nKC("",{factory:()=>$n});function Or(e){return e}let Br=(()=>{class e{static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>{const n=new e;return n.store=function li(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}((0,o.WQX)(o.qQL),(0,o.WQX)(xe)),n}});store={};onSerializeCallbacks={};get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return e})();const Sr=new o.nKC("",{factory:()=>!1}),Da=new o.nKC(""),Js={passive:!0,capture:!0},Ls=new WeakMap,ys=new WeakMap,cs=new WeakMap,Fs=["click","keydown"],As=["mouseenter","mouseover","focusin"],po=new Map;class Cs{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function Bs(e,t){let n=ys.get(e);if(!n){n=new Cs,ys.set(e,n);for(const r of Fs)e.addEventListener(r,n.listener,Js)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:s}=n;if(r.delete(t),0===r.size){ys.delete(e);for(const d of Fs)e.removeEventListener(d,s,Js)}}}function Rs(e,t){let n=Ls.get(e);if(!n){n=new Cs,Ls.set(e,n);for(const r of As)e.addEventListener(r,n.listener,Js)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:s}=n;if(r.delete(t),0===r.size){for(const d of As)e.removeEventListener(d,s,Js);Ls.delete(e)}}}function S(e){return e?`${e.rootMargin}/${"number"==typeof e.threshold?e.threshold:e.threshold?.join("\n")}`:""}const Cn=new WeakMap;const No=new o.nKC("");function Ns(e){return!(32&~e.flags)}function qa(e){let t=e._lView;return 2===t[o.eDl].type?null:((0,o.EFk)(t)&&(t=t[o.Yw1]),t)}function ce(e){return e.get(Da,!1,{optional:!0})}function tl(e,t){const n=e.contentQueries;if(null!==n){const r=(0,it.Ht)(null);try{for(let s=0;s<n.length;s+=2){const g=n[s+1];if(-1!==g){const x=e.data[g];(0,o.GA0)(n[s]),x.contentQueries(2,t[g],g)}}}finally{(0,it.Ht)(r)}}}function nl(e,t,n){(0,o.GA0)(0);const r=(0,it.Ht)(null);try{t(e,n)}finally{(0,it.Ht)(r)}}function rl(e,t,n){if((0,o.srX)(t)){const r=(0,it.Ht)(null);try{const d=t.directiveEnd;for(let g=t.directiveStart;g<d;g++){const x=e.data[g];x.contentQueries&&x.contentQueries(1,n[g],g)}}finally{(0,it.Ht)(r)}}}var us=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(us||{});let sl,P;function Al(){if(void 0===sl&&(sl=null,o.laP.trustedTypes))try{sl=o.laP.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return sl}function os(e){return Al()?.createHTML(e)||e}function oe(){if(void 0===P&&(P=null,o.laP.trustedTypes))try{P=o.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return P}function Fe(e){return oe()?.createHTML(e)||e}function Ft(e){return oe()?.createScript(e)||e}function fn(e){return oe()?.createScriptURL(e)||e}class Hn{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${o.ok8})`}}class lr extends Hn{getTypeName(){return"HTML"}}class Oi extends Hn{getTypeName(){return"Style"}}
vendor: 5,637 bytes, line 503
503class ii extends Hn{getTypeName(){return"Script"}}class hi extends Hn{getTypeName(){return"URL"}}class Hs extends Hn{getTypeName(){return"ResourceURL"}}function ss(e){return e instanceof Hn?e.changingThisBreaksApplicationSecurity:e}function ka(e,t){const n=function hf(e){return e instanceof Hn&&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 ${o.ok8})`)}return n===t}function ff(e){return new lr(e)}function ta(e){return new Oi(e)}function pf(e){return new ii(e)}function mf(e){return new hi(e)}function gf(e){return new Hs(e)}function na(e){const t=new vf(e);return function _f(){try{return!!(new window.DOMParser).parseFromString(os(""),"text/html")}catch{return!1}}()?new fd(t):t}class fd{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(os(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class vf{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=os(t),n}}const bf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bc(e){return(e=String(e)).match(bf)?e:"unsafe:"+e}function Ks(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function al(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Tu=Ks("area,br,col,hr,img,wbr"),Ou=Ks("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Pu=Ks("rp,rt"),pd=al(Tu,al(Ou,Ks("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")),al(Pu,Ks("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")),al(Pu,Ou)),md=Ks("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nl=al(md,Ks("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"),Ks("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")),yf=Ks("script,style,template"),Iu=al(md,Ks("action,formaction,data,codebase"));class Aa{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,s=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)s.push(n),n=Ra(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let d=Cf(n);if(d){n=d;break}n=s.pop()}return this.buf.join("")}startElement(t){const n=Su(t).toLowerCase();if(!pd.hasOwnProperty(n))return this.sanitizedSomething=!0,!yf.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const d=r.item(s),g=d.name,x=g.toLowerCase();if(!Nl.hasOwnProperty(x)){this.sanitizedSomething=!0;continue}let R=d.value;md[x]&&(R=bc(R)),this.buf.push(" ",g,'="',va(R),'"')}return this.buf.push(">"),!0}endElement(t){const n=Su(t).toLowerCase();pd.hasOwnProperty(n)&&!Tu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(va(t))}}function Cf(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw gd(t);return t}function Ra(e){const t=e.firstChild;if(t&&function ga(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw gd(t);return t}function Su(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function gd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const vd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yc=/([^\#-~ |!])/g;function va(e){return e.replace(/&/g,"&amp;").replace(vd,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(yc,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Cc;function Ci(e,t){let n=null;try{Cc=Cc||na(e);let r=t?String(t):"";n=Cc.getInertBodyElement(r);let s=5,d=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=d,d=n.innerHTML,n=Cc.getInertBodyElement(r)}while(r!==d);return os((new Aa).sanitizeChildren(Mo(n)||n))}finally{if(n){const r=Mo(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}
503function Mo(e){return"content"in e&&function ku(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const go=/^>|^->|<!--|-->|--!>|<!-$/g,Ef=/(<|>)/g;function fs(e,t){return e.createText(t)}function Ru(e,t,n){e.setValue(t,n)}function _d(e,t){return e.createComment(function Au(e){return e.replace(go,t=>t.replace(Ef,"\u200b$1\u200b"))}(t))}function Mc(e,t,n){return e.createElement(t,n)}function Na(e,t,n,r,s){e.insertBefore(t,n,r,s)}function Nu(e,t,n){e.appendChild(t,n)}function Lu(e,t,n,r,s){null!==r?Na(e,t,n,r,s):Nu(e,t,n)}function Ll(e,t,n,r){e.removeChild(null,t,n,r)}function bd(e,t,n){const{mergedAttrs:r,classes:s,styles:d}=n;null!==r&&function or(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const d=n[r++],g=n[r++],x=n[r++];e.setAttribute(t,g,x,d)}else{const d=s,g=n[++r];dr(d)?e.setProperty(t,d,g):e.setAttribute(t,d,g),r++}}}(e,t,r),null!==s&&function Bu(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,s),null!==d&&function Mf(e,t,n){e.setAttribute(t,"style",n)}(e,t,d)}var _a=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}(_a||{});function Uu(e){const t=La();return t?Fe(t.sanitize(_a.HTML,e)||""):ka(e,"HTML")?Fe(ss(e)):Ci(Ee(),(0,o.eFE)(e))}function yd(e){const t=La();return t?t.sanitize(_a.URL,e)||"":ka(e,"URL")?ss(e):bc((0,o.eFE)(e))}function Cd(e){const t=La();if(t)return fn(t.sanitize(_a.RESOURCE_URL,e)||"");if(ka(e,"ResourceURL"))return fn(ss(e));throw new o.buA(904,!1)}const Ed={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function no(e,t,n){return function xf(e,t){return!0===Ed[e]?.[t]?Cd:yd}(t,n)(e)}function La(){const e=(0,o.OAn)();return e&&e[o.M0L].sanitizer}const ba=new Set(["href","xlink:href"]),zu={iframe:{sandbox:!0,allow:!0,allowfullscreen:!0,referrerpolicy:!0,csp:!0,fetchpriority:!0},animate:{attributename:!0,to:ba,values:ba,from:ba},set:{attributename:!0,to:ba},animatemotion:{attributename:!0},animatetransform:{attributename:!0}};function Vu(e,t,n){const r=t.toLowerCase(),s=n.toLowerCase(),d=zu[r]?.[s];if(!d)return e;const g=(0,o.CpD)();if(2!==g.type)return e;const x=(0,o.OAn)();if("iframe"===r&&function Df(e){const t=(0,o.OAn)();e.src="",e.srcdoc=os(""),Ll(t[o.GpT],e)}((0,o.d31)(g,x)),"boolean"!=typeof d){const me=(0,o.d31)(g,x).getAttribute("attributeName");if(me&&d.has(me.toLowerCase()))throw new o.buA(-910,!1);return e}throw new o.buA(-910,!1)}function Dc(e){return e.ownerDocument.defaultView}function Fa(e){return e.ownerDocument}function ps(e){return e instanceof Function?e():e}function Ku(e){if(Fl(e),!(0,o.xUg)(e).standalone)throw new o.buA(907,`The ${(0,o.PP7)(e)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${(0,o.PP7)(e)} component does not have the \`standalone: false\` flag in the decorator.`)}function Fl(e){if(!(0,o.xUg)(e))throw new o.buA(906,`The ${(0,o.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function If(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const d=t.length;if(s+d===r||e.charCodeAt(s+d)<=32)return s}n=s+1}}const Qu="ng-template";function Bl(e,t,n,r){let s=0;if(r){for(;s<t.length&&"string"==typeof t[s];s+=2)if("class"===t[s]&&-1!==If(t[s+1].toLowerCase(),n,0))return!0}else if(xd(e))return!1;if(s=t.indexOf(1,s),s>-1){let d;for(;++s<t.length&&"string"==typeof(d=t[s]);)if(d.toLowerCase()===n)return!0}return!1}function xd(e){return 4===e.type&&e.value!==Qu}function wc(e,t,n){return t===(4!==e.type||n?e.value:Qu)}function wd(e,t,n){let r=4;const s=e.attrs,d=null!==s?function kf(e){for(let t=0;t<e.length;t++)if(Wn(e[t]))return t;return e.length}(s):0;let g=!1;for(let x=0;x<t.length;x++){const R=t[x];if("number"!=typeof R){if(!g)if(4&r){if(r=2|1&r,""!==R&&!wc(e,R,n)||""===R&&1===t.length){if(ms(r))return!1;g=!0}}else if(8&r){if(null===s||!Bl(e,s,R,n)){if(ms(r))return!1;g=!0}}else{const re=t[++x],me=Sf(R,s,xd(e),n);if(-1===me){if(ms(r))return!1;g=!0;continue}if(""!==re){let ze;if(ze=me>d?"":s[me+1].toLowerCase(),2&r&&re!==ze){if(ms(r))return!1;g=!0}}}}else{if(!g&&!ms(r)&&!ms(R))return!1;if(g&&ms(R))continue;g=!1,r=R|1&r}}return ms(r)||g}function ms(e){return!(1&e)}function Sf(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let d=!1;for(;s<t.length;){const g=t[s];if(g===e)return s;if(3===g||6===g)d=!0;else{if(1===g||2===g){let x=t[++s];for(;"string"==typeof x;)x=t[++s];continue}if(4===g)break;
vendor: 4,552 bytes, line 503
503if(0===g){s+=4;continue}}s+=d?1:2}return-1}return function Af(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function dl(e,t,n=!1){for(let r=0;r<t.length;r++)if(wd(e,t[r],n))return!0;return!1}function Zu(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function Td(e,t){return e?":not("+t.trim()+")":t}function Od(e){let t=e[0],n=1,r=2,s="",d=!1;for(;n<e.length;){let g=e[n];if("string"==typeof g)if(2&r){const x=e[++n];s+="["+g+(x.length>0?'="'+x+'"':"")+"]"}else 8&r?s+="."+g:4&r&&(s+=" "+g);else""!==s&&!ms(g)&&(t+=Td(d,s),s=""),r=g,d=d||!ms(r);n++}return""!==s&&(t+=Td(d,s)),t}const _i={};function Tc(e,t,n,r,s,d,g,x,R,re,me){const ze=o.Yw1+r,Tt=ze+s,Nt=function qu(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:_i);return n}(ze,Tt),ln="function"==typeof re?re():re;return Nt[o.eDl]={type:e,blueprint:Nt,template:n,queries:null,viewQuery:x,declTNode:t,data:Nt.slice().fill(null,ze),bindingStartIndex:ze,expandoStartIndex:Tt,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 d?d():d,pipeRegistry:"function"==typeof g?g():g,firstChild:null,schemas:R,consts:ln,incompleteFirstPass:!1,ssrId:me}}function Ua(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Tc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ul(e,t,n,r,s,d,g,x,R,re,me){const ze=t.blueprint.slice();return ze[o.jgP]=s,ze[o.Wg1]=1228|r,(null!==re||e&&2048&e[o.Wg1])&&(ze[o.Wg1]|=2048),(0,o.HUe)(ze),ze[o.f7T]=ze[o.X5O]=e,ze[o.SKP]=n,ze[o.M0L]=g||e&&e[o.M0L],ze[o.GpT]=x||e&&e[o.GpT],ze[o.YEL]=R||e&&e[o.YEL]||null,ze[o.qlT]=d,ze[o.ID]=function as(){return Go++}(),ze[o.tcA]=me,ze[o.oMQ]=re,ze[o.b5C]=2==t.type?e[o.b5C]:ze,ze}function Oc(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ia(e,t,n,r){if(0===n)return-1;const s=t.length;for(let d=0;d<n;d++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Pc(e,t){return e[o.EJG]?e[o.Yrj][o.K29]=t:e[o.EJG]=t,e[o.Yrj]=t,t}function th(e=1){nh((0,o.klJ)(),(0,o.OAn)(),(0,o._px)()+e,!1)}function nh(e,t,n,r){if(!r)if(3&~t[o.Wg1]){const d=e.preOrderHooks;null!==d&&Wt(t,d,0,n)}else{const d=e.preOrderCheckHooks;null!==d&&sn(t,d,n)}(0,o.ypq)(n)}var Ic=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ic||{});function $s(e,t,n,r){const s=(0,it.Ht)(null);try{const[d,g,x]=e.inputs[n];let R=null;0!==(g&Ic.SignalBased)&&(R=t[d][it.bh]),null!==R&&void 0!==R.transformFn?r=R.transformFn(r):null!==x&&(r=x.call(t,r)),null!==e.setInput?e.setInput(t,R,r,n,d):Zn(t,R,d,r)}finally{(0,it.Ht)(s)}}var Sc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Sc||{});let kc;function Ac(e,t){return kc(e,t)}const Rf=new o.nKC("",{factory:()=>!1}),Nf=new o.nKC("",{factory:()=>ih}),ih=4e3,oa=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function jl(e){return e[o.YEL].get(Rf,!1)}function zl(e){const t=Ca.get(e);if(t){for(const n of t.cleanupFns)n();Ca.delete(e)}Ea.delete(e)}const Uf=()=>{},Ca=new WeakMap,Ea=new WeakMap,Vl=new WeakMap,Wl=new WeakSet;function Pd(e,t){const n=Vl.get(e);if(n&&n.length>0){const r=n.findIndex(s=>s===t);r>-1&&n.splice(r,1)}0===n?.length&&Vl.delete(e)}function Id(e,t){const n=Vl.get(e);n?n.includes(t)||n.push(t):Vl.set(e,[t])}function Rc(e){const t=e[o.Isx]??={};return t.enter??=new Map}function ja(e){const t=e[o.Isx]??={};return t.leave??=new Map}function Nc(e){const t="function"==typeof e?e():e;let n=Array.isArray(t)?t:null;return"string"==typeof t&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function ul(e){return e.composedPath?e.composedPath()[0]:e.target}function Lc(e,t){const n=Ea.get(t);return void 0===n||t===ul(e)&&(void 0!==n.animationName&&e.animationName===n.animationName||void 0!==n.propertyName&&("all"===n.propertyName||e.propertyName===n.propertyName))}function hl(e,t,n){const r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function fl(e,t){if(e)for(const n of e)n();for(const n of t)n()}function Fc(e,t){const n=ja(e).get(t.index);n&&(n.resolvers=void 0)}
vendor: 4,596 bytes, line 503
503function Hl(e,t,n,r,s){Pd(t,n),fl(r,s),Fc(e,t)}function Bc(e){if(!e)return 0;const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function sa(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function Uc(e,t){return void 0!==e&&e.duration>t.duration}function kd(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function ah(e,t,n){if(!n)return;const r=e.getAnimations();return 0===r.length?function jc(e,t){const n=getComputedStyle(e),r=function sh(e){const t=sa(e,"animation-name"),n=sa(e,"animation-delay"),r=sa(e,"animation-duration"),s=sa(e,"animation-iteration-count"),d={animationName:"",propertyName:void 0,duration:0};for(let g=0;g<t.length;g++){const x=Bc(n[g])+Bc(r[g]);x>d.duration&&"infinite"!==s[g]&&(d.animationName=t[g],d.duration=x)}return d}(n),s=function oh(e){const t=sa(e,"transition-property"),n=sa(e,"transition-duration"),r=sa(e,"transition-delay"),s={propertyName:"",duration:0,animationName:void 0};for(let d=0;d<t.length;d++){const g=Bc(r[d])+Bc(n[d]);g>s.duration&&(s.propertyName=t[d],s.duration=g)}return s}(n),d=r.duration>s.duration?r:s;Uc(t.get(e),d)||kd(d)&&t.set(e,d)}(e,t):function Vf(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(const s of n){const d=s.effect?.getTiming();if(d?.iterations===1/0)continue;const g="number"==typeof d?.duration?d.duration:0;let x=(d?.delay??0)+g;const R=s.playbackRate;let re,me;void 0!==R&&0!==R&&1!==R&&(x/=Math.abs(R)),s.animationName?me=s.animationName:re=s.transitionProperty,x>=r.duration&&(r={animationName:me,propertyName:re,duration:x})}Uc(t.get(e),r)||kd(r)&&t.set(e,r)}(e,t,r)}const pl=new Set;var lh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(lh||{});const za=new o.nKC(""),Ad=new Set;function Ko(e){Ad.has(e)||(Ad.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let zc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const Kl=[0,1,2,3];let $l=(()=>{class e{ngZone=(0,o.WQX)(o.SKi);scheduler=(0,o.WQX)(o.hk6);errorHandler=(0,o.WQX)(o.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,o.WQX)(za,{optional:!0})}execute(){const n=this.sequences.size>0;n&&cn(Ge.AfterRenderHooksStart),this.executing=!0;for(const r of Kl)for(const s of this.sequences)if(!s.erroredOrDestroyed&&s.hooks[r])try{s.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,s.hooks[r])(s.pipelinedValue),s.snapshot))}catch(d){s.erroredOrDestroyed=!0,this.errorHandler?.handleError(d)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&cn(Ge.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[o.JEi]??=[]).push(n),(0,o.blu)(r),r[o.Wg1]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(lh.AFTER_NEXT_RENDER,n):n()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class Rd{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,s,d,g=null){this.impl=t,this.hooks=n,this.view=r,this.once=s,this.snapshot=g,this.unregisterOnDestroy=d?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[o.JEi];t&&(this.view[o.JEi]=t.filter(n=>n!==this))}}function Gl(e,t){const n=t?.injector??(0,o.WQX)(o.zZn);return Ko("NgAfterNextRender"),Hf(e,n,t,!0)}function Hf(e,t,n,r){const s=t.get(zc);s.impl??=t.get($l);const d=t.get(za,null,{optional:!0}),g=!0!==n?.manualCleanup?t.get(o.abz):null,x=t.get(o.r4V,null,{optional:!0}),R=new Rd(s.impl,function aa(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),x?.view,r,g,d?.snapshot(null));return s.impl.register(R),R}const tg={destroy(){}},Vc=new o.nKC("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:(0,o.WQX)(o.uvJ)})});
vendor: 20,452 bytes, line 503
503function ch(e,t,n){const r=e.get(Vc);if(Array.isArray(t))for(const s of t)r.queue.add(s),n?.detachedLeaveAnimationFns?.push(s);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function $f(e){const t=e.get(Vc);t.isScheduled||(Gl(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function Wc(e){const t=e.get(Vc);t.scheduler=$f,t.scheduler(e)}function Nd(e,t){for(const[n,r]of t)ch(e,r.animateFns)}function dh(e,t,n,r){const s=e?.[o.Isx]?.enter;null!==t&&s&&s.has(n.index)&&Nd(r,s)}function ml(e,t,n,r,s,d,g,x){if(null!=s){let R,re=!1;(0,o.A0l)(s)?R=s:(0,o.q$2)(s)&&(re=!0,s=s[o.jgP]);const me=(0,o.IvY)(s);0===e&&null!==r?(dh(x,r,d,n),null==g?Nu(t,r,me):Na(t,r,me,g||null,!0)):1===e&&null!==r?(dh(x,r,d,n),Na(t,r,me,g||null,!0),function jf(e,t){const n=Vl.get(e);if(!n||0===n.length)return;const r=t.parentNode,s=t.previousSibling;for(let d=n.length-1;d>=0;d--){const g=n[d],x=g.parentNode;g===t?(n.splice(d,1),Wl.add(g),g.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(s&&g===s||x&&r&&x!==r)&&(n.splice(d,1),g.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),g.parentNode?.removeChild(g))}}(d,me)):2===e?(x?.[o.Isx]?.leave?.has(d.index)&&Id(d,me),Wl.delete(me),Bd(x,d,n,ze=>{Wl.has(me)?Wl.delete(me):Ll(t,me,re,ze)})):3===e&&(Wl.delete(me),Bd(x,d,n,()=>{t.destroyNode(me)})),null!=R&&function f(e,t,n,r,s,d,g){const x=r[o.s6P];x!==(0,o.IvY)(r)&&ml(t,e,n,d,x,s,g);for(let re=o.Y20;re<r.length;re++){const me=r[re];p(me[o.eDl],me,e,t,d,x)}}(t,e,n,R,d,r,g)}}function uh(e,t){fh(e,t),t[o.jgP]=null,t[o.qlT]=null}function fh(e,t){t[o.M0L].changeDetectionScheduler?.notify(9),p(e,t,t[o.GpT],2,null,null)}function Ld(e,t){const n=e[o.nfM],r=n.indexOf(t);n.splice(r,1)}function Ql(e,t){if((0,o.EPY)(t))return;const n=t[o.GpT];n.destroyNode&&p(e,t,n,3,null,null),function Gf(e){let t=e[o.EJG];if(!t)return Fd(e[o.eDl],e);for(;t;){let n=null;if((0,o.q$2)(t))n=t[o.EJG];else{const r=t[o.Y20];r&&(n=r)}if(!n){for(;t&&!t[o.K29]&&t!==e;)(0,o.q$2)(t)&&Fd(t[o.eDl],t),t=t[o.f7T];null===t&&(t=e),(0,o.q$2)(t)&&Fd(t[o.eDl],t),n=t&&t[o.K29]}t=n}}(t)}function Fd(e,t){if((0,o.EPY)(t))return;const n=(0,it.Ht)(null);try{t[o.Wg1]&=-129,t[o.Wg1]|=256,t[o.Iaj]&&(0,it.XR)(t[o.Iaj]),function Zf(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof yt)){const d=n[r+1];if(Array.isArray(d))for(let g=0;g<d.length;g+=2){const x=s[d[g]],R=d[g+1];cn(Ge.LifecycleHookStart,x,R);try{R.call(x)}finally{cn(Ge.LifecycleHookEnd,x,R)}}else{cn(Ge.LifecycleHookStart,s,d);try{d.call(s)}finally{cn(Ge.LifecycleHookEnd,s,d)}}}}}(e,t),function Xf(e,t){const n=e.cleanup,r=t[o.VVG];if(null!==n)for(let g=0;g<n.length-1;g+=2)if("string"==typeof n[g]){const x=n[g+3];x>=0?r[x]():r[-x].unsubscribe(),g+=2}else n[g].call(r[n[g+1]]);null!==r&&(t[o.VVG]=null);const s=t[o.Czx];if(null!==s){t[o.Czx]=null;for(let g=0;g<s.length;g++)(0,s[g])()}const d=t[o.tQN];if(null!==d){t[o.tQN]=null;for(const g of d)g.destroy()}}(e,t),1===t[o.eDl].type&&t[o.GpT].destroy();const r=t[o.rQE];if(null!==r&&(0,o.A0l)(t[o.f7T])){r!==t[o.f7T]&&Ld(r,t);const s=t[o.Ds7];null!==s&&s.detachView(e)}Qo(t)}finally{(0,it.Ht)(n)}}function Bd(e,t,n,r){const s=e?.[o.Isx];if(null==s||null==s.leave||!s.leave.has(t.index))return r(!1);e&&pl.add(e[o.ID]),ch(n,()=>{if(s.leave&&s.leave.has(t.index)){const g=s.leave.get(t.index),x=[];if(g){for(let R=0;R<g.animateFns.length;R++){const re=g.animateFns[R],{promise:me}=re();x.push(me)}s.detachedLeaveAnimationFns=void 0}s.running=Promise.allSettled(x),function Qf(e,t){const n=e[o.Isx]?.running;n?n.then(()=>{e[o.Isx].running=void 0,pl.delete(e[o.ID]),t(!0)}):t(!1)}(e,r)}else e&&pl.delete(e[o.ID]),r(!1)},s)}function Ud(e,t,n){return ph(e,t.parent,n)}function ph(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[o.jgP];if((0,o.Qs1)(r)){const{encapsulation:s}=e.data[r.directiveStart+r.componentOffset];if(s===us.None||s===us.Emulated)return null}return(0,o.d31)(r,n)}function mh(e,t,n){return vh(e,t,n)}function gh(e,t,n){return 40&e.type?(0,o.d31)(e,n):null}let jd,vh=gh;function _h(e,t){vh=e,jd=t}function zd(e,t,n,r){const s=Ud(e,r,t),d=t[o.GpT],x=mh(r.parent||t[o.qlT],r,t);if(null!=s)if(Array.isArray(n))for(let R=0;R<n.length;R++)Lu(d,s,n[R],x,!1);else Lu(d,s,n,x,!1);void 0!==jd&&jd(d,r,t,n,s)}function Va(e,t){if(null!==t){const n=t.type;if(3&n)return(0,o.d31)(t,e);if(4&n)return Vd(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Va(e,r);{const s=e[t.index];return(0,o.A0l)(s)?Vd(-1,s):(0,o.IvY)(s)}}if(128&n)return Va(e,t.next);if(32&n)return Ac(t,e)()||(0,o.IvY)(e[t.index]);{const r=bh(e,t);return null!==r?Array.isArray(r)?r[0]:Va((0,o._0$)(e[o.b5C]),r):Va(e,t.next)}}return null}function bh(e,t){return null!==t?e[o.b5C][o.qlT].projection[t.projection]:null}function Vd(e,t){const n=o.Y20+e+1;if(n<t.length){const r=t[n],s=r[o.eDl].firstChild;if(null!==s)return Va(r,s)}return t[o.s6P]}function Wd(e,t,n,r,s,d,g){for(;null!=n;){const x=r[o.YEL];if(128===n.type){n=n.next;continue}const R=r[n.index],re=n.type;if(g&&0===t&&(R&&vi((0,o.IvY)(R),r),n.flags|=2),!Ns(n))if(8&re)Wd(e,t,n.child,r,s,d,!1),ml(t,e,x,s,R,n,d,r);else if(32&re){const me=Ac(n,r);let ze;for(;ze=me();)ml(t,e,x,s,ze,n,d,r);ml(t,e,x,s,R,n,d,r)}else 16&re?l(e,t,r,n,s,d):ml(t,e,x,s,R,n,d,r);n=g?n.projectionNext:n.next}}function p(e,t,n,r,s,d){Wd(n,r,e.firstChild,t,s,d,!1)}function l(e,t,n,r,s,d){const g=n[o.b5C],R=g[o.qlT].projection[r.projection];if(Array.isArray(R))for(let re=0;re<R.length;re++)ml(t,e,n[o.YEL],s,R[re],r,d,n);else{let re=R;const me=g[o.f7T];di(r)&&(re.flags|=128),Wd(e,t,re,me,s,d,!0)}}function L(e,t,n,r,s){const d=(0,o._px)(),g=2&r;try{(0,o.ypq)(-1),g&&t.length>o.Yw1&&nh(e,t,o.Yw1,!1),cn(g?Ge.TemplateUpdateStart:Ge.TemplateCreateStart,s,n),n(r,s)}finally{(0,o.ypq)(d),cn(g?Ge.TemplateUpdateEnd:Ge.TemplateCreateEnd,s,n)}}function J(e,t,n){(function si(e,t,n){const r=n.directiveStart,s=n.directiveEnd;(0,o.Qs1)(n)&&function eh(e,t,n){const r=(0,o.d31)(t,e),s=Ua(n),d=e[o.M0L].rendererFactory,g=Pc(e,Ul(e,s,null,Oc(n),r,t,null,d.createRenderer(r,n),null,null,null));e[t.index]=g}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||tr(n,t);const d=n.initialInputs;for(let g=r;g<s;g++){const x=e.data[g],R=de(t,e,g,n);vi(R,t),null!==d&&la(0,g-r,R,x,0,d),(0,o.JlV)(x)&&((0,o.KdJ)(n.index,t)[o.SKP]=de(t,e,g,n))}})(e,t,n),!(64&~n.flags)&&function Nr(e,t,n){const r=n.directiveStart,s=n.directiveEnd,d=n.index,g=(0,o.Z9v)();try{(0,o.ypq)(d);for(let x=r;x<s;x++){const R=e.data[x],re=t[x];(0,o.RZ9)(x),(null!==R.hostBindings||0!==R.hostVars||null!==R.hostAttrs)&&oi(R,re)}}finally{(0,o.ypq)(-1),(0,o.RZ9)(g)}}(e,t,n)}function Me(e,t,n=o.d31){const r=t.localNames;if(null!==r){let s=t.index+1;for(let d=0;d<r.length;d+=2){const g=r[d+1],x=-1===g?n(t,e):e[g];e[s++]=x}}}let qt=()=>null;function Nn(e,t,n,r,s,d){Zl(e,t[o.eDl],t,n,r)?(0,o.Qs1)(e)&&cr(t,e.index):(3&e.type&&(n=function dn(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),Mn(e,t,n,r,s,d))}function Mn(e,t,n,r,s,d){if(3&e.type){const g=(0,o.d31)(e,t);r=null!=d?d(r,e.value||"",n):r,s.setProperty(g,n,r)}}function cr(e,t){const n=(0,o.KdJ)(t,e);16&n[o.Wg1]||(n[o.Wg1]|=64)}function oi(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Yi(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let s=0;s<n.length;s++){const d=n[s];dl(t,d.selectors,!1)&&(r??=[],(0,o.JlV)(d)?r.unshift(d):r.push(d))}return r}function co(e,t,n,r,s,d,g){if(null==d)e.removeAttribute(t,s,n);else{const x=null==g?(0,o.eFE)(d):g(d,r||"",s);e.setAttribute(t,s,x,n)}}function la(e,t,n,r,s,d){const g=d[t];if(null!==g)for(let x=0;x<g.length;x+=2)$s(r,n,g[x],g[x+1])}function gs(e,t,n,r,s){const d=o.Yw1+n,g=t[o.eDl],x=s(g,t,e,r,n);t[d]=x,(0,o.iMd)(e,!0);const R=2===e.type;return R?(bd(t[o.GpT],x,e),(0===(0,o.znI)()||(0,o.yoD)(e))&&vi(x,t),(0,o.Fje)()):vi(x,t),(0,o.SX7)()&&(!R||!Ns(e))&&zd(g,t,x,e),e}function Xl(e){let t=e;return(0,o.YWB)()?(0,o.Pfq)():(t=t.parent,(0,o.iMd)(t,!1)),t}function Hc(e,t,n){return(null===e||(0,o.JlV)(e))&&(n=(0,o.zAe)(n[t.index])),n[o.GpT]}function Kc(e,t){const n=e[o.YEL];if(!n)return;let r;try{r=n.get(o.ZTf,null)}catch{r=null}r?.(t)}function Zl(e,t,n,r,s){const d=e.inputs?.[r],g=e.hostDirectiveInputs?.[r];let x=!1;if(g)for(let R=0;R<g.length;R+=2){const re=g[R];$s(t.data[re],n[re],g[R+1],s),x=!0}if(d)for(const R of d)$s(t.data[R],n[R],r,s),x=!0;return x}function Lr(e,t){const n=(0,o.KdJ)(t,e),r=n[o.eDl];!function Vr(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const s=n[o.jgP];null!==s&&null===n[o.tcA]&&(n[o.tcA]=null),cn(Ge.ComponentStart);try{ai(r,n,n[o.SKP])}finally{cn(Ge.ComponentEnd,n[o.SKP])}}function ai(e,t,n){(0,o.ID8)(t);try{const r=e.viewQuery;null!==r&&nl(1,r,n);const s=e.template;null!==s&&L(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[o.Ds7]?.finishViewCreation(e),e.staticContentQueries&&tl(e,t),e.staticViewQueries&&nl(2,e.viewQuery,n);const d=e.components;null!==d&&function xo(e,t){for(let n=0;n<t.length;n++)Lr(e,t[n])}(t,d)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[o.Wg1]&=-5,(0,o.bll)()}}function es(e,t,n,r){const s=(0,it.Ht)(null);try{const d=t.tView,R=Ul(e,d,n,4096&e[o.Wg1]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);R[o.rQE]=e[t.index];const me=e[o.Ds7];return null!==me&&(R[o.Ds7]=me.createEmbeddedView(d)),ai(d,R,n),R}finally{(0,it.Ht)(s)}}function vo(e,t){return!t||null===t.firstChild||di(e)}function vl(e,t,n,r,s=!1){for(;null!==n;){if(128===n.type){n=s?n.projectionNext:n.next;continue}const d=t[n.index];null!==d&&r.push((0,o.IvY)(d)),(0,o.A0l)(d)&&Yf(d,r);const g=n.type;if(8&g)vl(e,t,n.child,r);else if(32&g){const x=Ac(n,t);let R;for(;R=x();)r.push(R)}else if(16&g){const x=bh(t,n);if(Array.isArray(x))r.push(...x);else{const R=(0,o._0$)(t[o.b5C]);vl(R[o.eDl],R,x,r,!0)}}n=s?n.projectionNext:n.next}return r}function Yf(e,t){for(let n=o.Y20;n<e.length;n++){const r=e[n],s=r[o.eDl].firstChild;null!==s&&vl(r[o.eDl],r,s,t)}e[o.s6P]!==e[o.jgP]&&t.push(e[o.s6P])}function Fo(e){if(null!==e[o.JEi]){for(const t of e[o.JEi])t.impl.addSequence(t);e[o.JEi].length=0}}let Ma=[];const Yb={...it.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{(0,o.blu)(e.lView)},consumerOnSignalRead(){this.lView[o.Iaj]=this}},qb={...it.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=(0,o._0$)(e.lView);for(;t&&!ng(t[o.eDl]);)t=(0,o._0$)(t);t&&(0,o.HAh)(t)},consumerOnSignalRead(){this.lView[o.Iaj]=this}};function ng(e){return 2!==e.type}function rg(e){if(null===e[o.tQN])return;let t=!0;for(;t;){let n=!1;for(const r of e[o.tQN])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[o.Wg1])}}function yh(e,t=0){const r=e[o.M0L].rendererFactory;r.begin?.();try{!function ty(e,t){const n=(0,o.yP_)();try{(0,o.cBl)(!0),Jf(e,t);let r=0;for(;(0,o.dMS)(e);){if(100===r)throw new o.buA(103,!1);r++,Jf(e,1)}}finally{(0,o.cBl)(n)}}(e,t)}finally{r.end?.()}}function ig(e,t,n,r){if((0,o.EPY)(t))return;const s=t[o.Wg1];(0,o.ID8)(t);let x=!0,R=null,re=null;ng(e)?(re=function Ts(e){return e[o.Iaj]??function $c(e){const t=Ma.pop()??Object.create(Yb);return t.lView=e,t}(e)}(t),R=(0,it.Bg)(re)):null===(0,it.nR)()?(x=!1,re=function Jb(e){const t=e[o.Iaj]??Object.create(qb);return t.lView=e,t}(t),R=(0,it.Bg)(re)):t[o.Iaj]&&((0,it.XR)(t[o.Iaj]),t[o.Iaj]=null);try{(0,o.HUe)(t),(0,o.Kw3)(e.bindingStartIndex),null!==n&&L(e,t,n,2,r);const me=!(3&~s);if(me){const Nt=e.preOrderCheckHooks;null!==Nt&&sn(t,Nt,null)}else{const Nt=e.preOrderHooks;null!==Nt&&Wt(t,Nt,0,null),kn(t,0)}if(function ny(e){for(let t=ke(e);null!==t;t=kt(t)){if(!(2&t[o.Wg1]))continue;const n=t[o.nfM];for(let r=0;r<n.length;r++)(0,o.HAh)(n[r])}}(t),rg(t),og(t,0),null!==e.contentQueries&&tl(e,t),me){const Nt=e.contentCheckHooks;null!==Nt&&sn(t,Nt)}else{const Nt=e.contentHooks;null!==Nt&&Wt(t,Nt,1),kn(t,1)}!function iy(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)(0,o.ypq)(~s);else{const d=s,g=n[++r],x=n[++r];(0,o.vQI)(g,d);const R=t[d];cn(Ge.HostBindingsUpdateStart,R);try{x(2,R)}finally{cn(Ge.HostBindingsUpdateEnd,R)}}}}finally{(0,o.ypq)(-1)}}(e,t);const ze=e.components;null!==ze&&ag(t,ze,0);const Tt=e.viewQuery;if(null!==Tt&&nl(2,Tt,r),me){const Nt=e.viewCheckHooks;null!==Nt&&sn(t,Nt)}else{const Nt=e.viewHooks;null!==Nt&&Wt(t,Nt,2),kn(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[o.pcR]){for(const Nt of t[o.pcR])Nt();t[o.pcR]=null}Fo(t),t[o.Wg1]&=-73}catch(me){throw(0,o.blu)(t),me}finally{null!==re&&((0,it.Wu)(re,R),x&&function Hd(e){e.lView[o.Iaj]!==e&&(e.lView=null,Ma.push(e))}(re)),(0,o.bll)()}}function og(e,t){for(let n=ke(e);null!==n;n=kt(n))for(let r=o.Y20;r<n.length;r++)sg(n[r],t)}function ry(e,t,n){cn(Ge.ComponentStart);const r=(0,o.KdJ)(t,e);try{sg(r,n)}finally{cn(Ge.ComponentEnd,r[o.SKP])}}function sg(e,t){(0,o.F1c)(e)&&Jf(e,t)}function Jf(e,t){const r=e[o.eDl],s=e[o.Wg1],d=e[o.Iaj];let g=!!(0===t&&16&s);if(g||=!!(64&s&&0===t),g||=!!(1024&s),g||=!(!d?.dirty||!(0,it.si)(d)),g||=!1,d&&(d.dirty=!1),e[o.Wg1]&=-9217,g)ig(r,e,r.template,e[o.SKP]);else if(8192&s){const x=(0,it.Ht)(null);try{rg(e),og(e,1);const R=r.components;null!==R&&ag(e,R,1),Fo(e)}finally{(0,it.Ht)(x)}}}function ag(e,t,n){for(let r=0;r<t.length;r++)ry(e,t[r],n)}function Gc(e,t){const n=(0,o.yP_)()?64:1088;for(e[o.M0L].changeDetectionScheduler?.notify(t);e;){e[o.Wg1]|=n;const r=(0,o._0$)(e);if((0,o.EFk)(e)&&!r)return e;e=r}return null}function lg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function cg(e,t){const n=o.Y20+t;if(n<e.length)return e[n]}function Qc(e,t,n,r=!0){const s=t[o.eDl];if(function oy(e,t,n,r){const s=o.Y20+r,d=n.length;r>0&&(n[s-1][o.K29]=t),r<d-o.Y20?(t[o.K29]=n[s],(0,o.EYC)(n,o.Y20+r,t)):(n.push(t),t[o.K29]=null),t[o.f7T]=n;const g=t[o.rQE];null!==g&&n!==g&&dg(g,t);const x=t[o.Ds7];null!==x&&x.insertView(e),(0,o._gW)(t),t[o.Wg1]|=128}(s,t,e,n),r){const g=Vd(n,e),x=t[o.GpT],R=x.parentNode(e[o.s6P]);null!==R&&function hh(e,t,n,r,s,d){r[o.jgP]=s,r[o.qlT]=t,p(e,r,n,1,s,d)}(s,e[o.qlT],x,t,R,g)}const d=t[o.tcA];null!==d&&null!==d.firstChild&&(d.firstChild=null)}function qf(e,t){const n=Kd(e,t);return void 0!==n&&Ql(n[o.eDl],n),n}function Kd(e,t){if(e.length<=o.Y20)return;const n=o.Y20+t,r=e[n];if(r){const s=r[o.rQE];null!==s&&s!==e&&Ld(s,r),t>0&&(e[n-1][o.K29]=r[o.K29]);const d=(0,o.E6O)(e,o.Y20+t);uh(r[o.eDl],r);const g=d[o.Ds7];null!==g&&g.detachView(d[o.eDl]),r[o.f7T]=null,r[o.K29]=null,r[o.Wg1]&=-129}return r}function dg(e,t){const n=e[o.nfM],r=t[o.f7T];((0,o.q$2)(r)||t[o.b5C]!==r[o.f7T][o.b5C])&&(e[o.Wg1]|=2),null===n?e[o.nfM]=[t]:n.push(t)}class Ch{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[o.eDl];return vl(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[o.SKP]}set context(t){this._lView[o.SKP]=t}get destroyed(){return(0,o.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[o.f7T];if((0,o.A0l)(t)){const n=t[o.bm_],r=n?n.indexOf(this):-1;r>-1&&(Kd(t,r),(0,o.E6O)(n,r))}this._attachedToViewContainer=!1}Ql(this._lView[o.eDl],this._lView)}onDestroy(t){(0,o.ik5)(this._lView,t)}markForCheck(){Gc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[o.Wg1]&=-129}reattach(){(0,o._gW)(this._lView),this._lView[o.Wg1]|=128}detectChanges(){this._lView[o.Wg1]|=1024,yh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new o.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,o.EFk)(this._lView),n=this._lView[o.rQE];null!==n&&!t&&Ld(n,this._lView),fh(this._lView[o.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new o.buA(902,!1);this._appRef=t;const n=(0,o.EFk)(this._lView),r=this._lView[o.rQE];null!==r&&!n&&dg(r,this._lView),(0,o._gW)(this._lView)}}let $d=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=sy;constructor(n,r,s){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=s}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,s){const d=es(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:s});return new Ch(d)}})();function sy(){return Eh((0,o.Mx4)(),(0,o.OAn)())}function Eh(e,t){return 4&e.type?new $d(t,e,Xi(e,t)):null}function fg(e,t,n){const r=t.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?gh(e,0,n):(0,o.IvY)(n[s])}function pg(e,t,n,r,s){const d=t.insertBeforeIndex;if(Array.isArray(d)){let g=r,x=null;if(3&t.type||(x=g,g=s),null!==g&&-1===t.componentOffset)for(let R=1;R<d.length;R++)Na(e,g,n[d[R]],x,!1)}}function Yl(e,t,n,r,s){let d=e.data[t];if(null===d)d=rp(e,t,n,r,s),(0,o.JjR)()&&(d.flags|=32);else if(64&d.type){d.type=n,d.value=r,d.attrs=s;const g=(0,o.Ab)();d.injectorIndex=null===g?-1:g.injectorIndex}return(0,o.iMd)(d,!0),d}function rp(e,t,n,r,s){const d=(0,o.veI)(),g=(0,o.YWB)(),R=e.data[t]=function vy(e,t,n,r,s,d){let g=t?t.injectorIndex:-1,x=0;return(0,o.KtD)()&&(x|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:g,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:x,providerIndexes:0,value:s,attrs:d,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex: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,g?d:d&&d.parent,n,t,r,s);return function gy(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,R,d,g),R}function mg(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];gg(r)||_y(r,t)&&null===by(r)&&yy(r,t.index)}}function gg(e){return!(64&e.type)}function _y(e,t){return gg(t)||e.index>t.index}function by(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function yy(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(_h(fg,pg),e.insertBeforeIndex=t)}function Zd(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function My(e,t,n){const r=rp(e,n,64,null,null);return mg(t,r),r}function Dh(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function vg(e){return e>>>17}function _g(e){return(131070&e)>>>1}function ip(e,t,n){e.index=0;const r=Dh(t,n);e.removes=null!==r?t.remove[r]:o.Mlv}function xh(e){if(e.index<e.removes.length){const t=e.removes[e.index++];return t>0?e.lView[t]:(e.stack.push(e.index,e.removes),ip(e,e.lView[o.eDl].data[~t],e.lView),xh(e))}return 0===e.stack.length?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),xh(e))}function xy(){const e={stack:[],index:-1};return function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return ip(e,n.value,r),xh.bind(null,e)}}function Ky(e,t,n){for(const r of n.node.cases[n.case]){const s=t.get(r.index-o.Yw1);s&&Ll(e,s,!1)}}function Th(e){const t=e[o.qFA]??[],r=e[o.f7T][o.GpT],s=[];for(const d of t)void 0!==d.data.di?s.push(d):Pg(d,r);e[o.qFA]=s}function $y(e){const{lContainer:t}=e,n=t[o.qFA];if(null===n)return;const s=t[o.f7T][o.GpT];for(const d of n)Pg(d,s)}function Pg(e,t){let n=0,r=e.firstChild;if(r){const s=e.data.r;for(;n<s;){const d=r.nextSibling;Ll(t,r,!1),r=d,n++}}}function Oh(e){Th(e);const t=e[o.jgP];(0,o.q$2)(t)&&qd(t);for(let n=o.Y20;n<e.length;n++)qd(e[n])}function qd(e){!function Hy(e){const t=e[o.tcA];if(t){const{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){const s=e[o.GpT];for(const d of r.values())Ky(s,n,d)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[o.eDl];for(let n=o.Yw1;n<t.bindingStartIndex;n++)(0,o.A0l)(e[n])?Oh(e[n]):(0,o.q$2)(e[n])&&qd(e[n])}let qy=class{},Ng=class{};
vendor: 5,313 bytes, line 503
503class e1{resolveComponentFactory(t){throw new o.buA(917,!1)}}let Ph=class{static NULL=new e1};class dp{}let t1=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function n1(){const e=(0,o.OAn)(),t=(0,o.Mx4)(),n=(0,o.KdJ)(t.index,e);return((0,o.q$2)(n)?n:e)[o.GpT]}()})(),r1=(()=>{class e{static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function up(e){return void 0!==e.ngModule}function ql(e){return!!(0,o.phH)(e)}function Ih(e){return!!(0,o.oyA)(e)}function Lg(e){return!!(0,o.HaV)(e)}function tu(e){return!!(0,o.xUg)(e)}function o1(e,t){if((0,o.Jzi)(e)&&!(e=(0,o.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,o.PP7)(t)}", to return a standalone entity or NgModule but got "${(0,o.PP7)(e)||e}".`);if(null==(0,o.phH)(e)){const n=(0,o.xUg)(e)||(0,o.HaV)(e)||(0,o.oyA)(e);if(null==n)throw up(e)?new Error(`A module with providers was imported from "${(0,o.PP7)(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,o.PP7)(e)}" type, imported from "${(0,o.PP7)(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!n.standalone){const r=function i1(e){return(0,o.xUg)(e)?"component":(0,o.HaV)(e)?"directive":(0,o.oyA)(e)?"pipe":"type"}(e);throw new Error(`The "${(0,o.PP7)(e)}" ${r}, imported from "${(0,o.PP7)(t)}", is not standalone. Does the ${r} have the standalone: false flag?`)}}}class s1{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const n=(0,o.phH)(t);if(n?.declarations)for(const r of ps(n.declarations))tu(r)&&this.ownerNgModule.set(r,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,n){this.resolveNgModulesDecls();const r=(0,o.xUg)(t);if(null===r)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(r.standalone){const s=this.getStandaloneComponentScope(t,n);return s.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...s.compilation.directives,...s.compilation.pipes,...s.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const s=this.getNgModuleScope(this.ownerNgModule.get(t));return s.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...s.compilation.directives,...s.compilation.pipes]}}}registerNgModule(t,n){if(!ql(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const n=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,n),n}computeNgModuleScope(t){const n=(0,o.WbQ)(t),r={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const s of ps(n.imports))if(ql(s)){const d=this.getNgModuleScope(s);_l(d.exported.directives,r.compilation.directives),_l(d.exported.pipes,r.compilation.pipes)}else{if(!(0,o.QuC)(s)){r.compilation.isPoisoned=!0;break}if(Lg(s)||tu(s))r.compilation.directives.add(s);else{if(!Ih(s))throw new o.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");r.compilation.pipes.add(s)}}if(!r.compilation.isPoisoned)for(const s of ps(n.declarations)){if(ql(s)||(0,o.QuC)(s)){r.compilation.isPoisoned=!0;break}Ih(s)?r.compilation.pipes.add(s):r.compilation.directives.add(s)}for(const s of ps(n.exports))if(ql(s)){const d=this.getNgModuleScope(s);_l(d.exported.directives,r.exported.directives),_l(d.exported.pipes,r.exported.pipes),_l(d.exported.directives,r.compilation.directives),_l(d.exported.pipes,r.compilation.pipes)}else Ih(s)?r.exported.pipes.add(s):r.exported.directives.add(s);return r}getStandaloneComponentScope(t,n){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const r=this.computeStandaloneComponentScope(t,n);return this.standaloneComponentsScopeCache.set(t,r),r}computeStandaloneComponentScope(t,n){const r={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const s of(0,o.Bqz)(n??[])){const d=(0,o.nl4)(s);try{o1(d,t)}catch{return r.compilation.isPoisoned=!0,r}if(ql(d)){r.compilation.ngModules.add(d);const g=this.getNgModuleScope(d);if(g.exported.isPoisoned)return r.compilation.isPoisoned=!0,r;_l(g.exported.directives,r.compilation.directives),_l(g.exported.pipes,r.compilation.pipes)}else if(Ih(d))r.compilation.pipes.add(d);else{if(!Lg(d)&&!tu(d))return r.compilation.isPoisoned=!0,r;r.compilation.directives.add(d)}}return r}isOrphanComponent(t){const n=(0,o.xUg)(t);return!(!n||n.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function _l(e,t){for(const n of e)t.add(n)}const nu=new s1,hp={};class Zc{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const s=this.injector.get(t,hp,r);return s!==hp||n===hp?s:this.parentInjector.get(t,n,r)}}
vendor: 4,879 bytes, line 503
503function Sh(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,d=0;if(null!==t)for(let g=0;g<t.length;g++){const x=t[g];if("number"==typeof x)d=x;else if(1==d)s=(0,o.n$e)(s,x);else if(2==d){const re=t[++g];r=(0,o.n$e)(r,x+": "+re+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function Yc(e,t=0){const n=(0,o.OAn)();return null===n?(0,o.KVO)(e,t):xi((0,o.Mx4)(),n,(0,o.nl4)(e),t)}function Fg(){throw new Error("invalid")}function Bg(e,t,n,r,s){const d=null===r?null:{"":-1},g=s(e,n);if(null!==g){let x=g,R=null,re=null;for(const me of g)if(null!==me.resolveHostDirectives){[x,R,re]=me.resolveHostDirectives(g);break}!function c1(e,t,n,r,s,d,g){const x=r.length;let R=null;for(let Tt=0;Tt<x;Tt++){const Nt=r[Tt];null===R&&(0,o.JlV)(Nt)&&(R=Nt,l1(e,n,Tt)),Wr(tr(n,t),e,Nt.type)}(function m1(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,x),R?.viewProvidersResolver&&R.viewProvidersResolver(R);for(let Tt=0;Tt<x;Tt++){const Nt=r[Tt];Nt.providersResolver&&Nt.providersResolver(Nt)}let re=!1,me=!1,ze=ia(e,t,x,null);x>0&&(n.directiveToIndex=new Map);for(let Tt=0;Tt<x;Tt++){const Nt=r[Tt];if(n.mergedAttrs=Hr(n.mergedAttrs,Nt.hostAttrs),u1(e,n,t,ze,Nt),p1(ze,Nt,s),null!==g&&g.has(Nt)){const[Gn,ur]=g.get(Nt);n.directiveToIndex.set(Nt.type,[ze,Gn+n.directiveStart,ur+n.directiveStart])}else(null===d||!d.has(Nt))&&n.directiveToIndex.set(Nt.type,ze);null!==Nt.contentQueries&&(n.flags|=4),(null!==Nt.hostBindings||null!==Nt.hostAttrs||0!==Nt.hostVars)&&(n.flags|=64);const ln=Nt.type.prototype;!re&&(ln.ngOnChanges||ln.ngOnInit||ln.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),re=!0),!me&&(ln.ngOnChanges||ln.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),me=!0),ze++}!function d1(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const s=e.data[r];if(null!==n&&n.has(s)){const d=n.get(s);jg(0,t,d,r),jg(1,t,d,r),Vg(t,r,!0)}else Ug(0,t,s,r),Ug(1,t,s,r),Vg(t,r,!1)}}(e,n,d)}(e,t,n,x,d,R,re)}null!==d&&null!==r&&function a1(e,t,n){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const d=n[t[s+1]];if(null==d)throw new o.buA(-301,!1);r.push(t[s],d)}}(n,r,d)}function l1(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Ug(e,t,n,r){const s=0===e?n.inputs:n.outputs;for(const d in s)if(s.hasOwnProperty(d)){let g;g=0===e?t.inputs??={}:t.outputs??={},g[d]??=[],g[d].push(r),zg(t,d)}}function jg(e,t,n,r){const s=0===e?n.inputs:n.outputs;for(const d in s)if(s.hasOwnProperty(d)){const g=s[d];let x;x=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},x[g]??=[],x[g].push(r,d),zg(t,g)}}function zg(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function Vg(e,t,n){const{attrs:r,inputs:s,hostDirectiveInputs:d}=e;if(null===r||!n&&null===s||n&&null===d||xd(e))return e.initialInputs??=[],void e.initialInputs.push(null);let g=null,x=0;for(;x<r.length;){const R=r[x];if(0!==R)if(5!==R){if("number"==typeof R)break;if(!n&&s.hasOwnProperty(R)){const re=s[R];for(const me of re)if(me===t){g??=[],g.push(R,r[x+1]);break}}else if(n&&d.hasOwnProperty(R)){const re=d[R];for(let me=0;me<re.length;me+=2)if(re[me]===t){g??=[],g.push(re[me+1],r[x+1]);break}}x+=2}else x+=2;else x+=4}e.initialInputs??=[],e.initialInputs.push(g)}function u1(e,t,n,r,s){e.data[r]=s;const d=s.factory||(s.factory=(0,o.wGu)(s.type,!0)),g=new yt(d,(0,o.JlV)(s),Yc,null);e.blueprint[r]=g,n[r]=g,function h1(e,t,n,r,s){const d=s.hostBindings;if(d){let g=e.hostBindingOpCodes;null===g&&(g=e.hostBindingOpCodes=[]);const x=~t.index;(function f1(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(g)!=x&&g.push(x),g.push(n,r,d)}}(e,t,r,ia(e,n,s.hostVars,_i),s)}function p1(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;(0,o.JlV)(t)&&(n[""]=e)}}function fp(e,t,n,r,s,d,g,x){const R=t[o.eDl],re=R.consts,ze=Yl(R,e,n,r,(0,o.db4)(re,g));return d&&Bg(R,t,ze,(0,o.db4)(re,x),s),ze.mergedAttrs=Hr(ze.mergedAttrs,ze.attrs),null!==ze.attrs&&Sh(ze,ze.attrs,!1),null!==ze.mergedAttrs&&Sh(ze,ze.mergedAttrs,!0),null!==R.queries&&R.queries.elementStart(R,ze),ze}function pp(e,t){xt(e,t),(0,o.srX)(t)&&e.queries.elementEnd(t)}function Wg(e,t,n,r,s,d){const g=t.consts,R=Yl(t,e,n,r,(0,o.db4)(g,s));if(R.mergedAttrs=Hr(R.mergedAttrs,R.attrs),null!=d){const re=(0,o.db4)(g,d);R.localNames=[];for(let me=0;me<re.length;me+=2)R.localNames.push(re[me],-1)}return null!==R.attrs&&Sh(R,R.attrs,!1),null!==R.mergedAttrs&&Sh(R,R.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,R),R}function mp(e){return!!Hg(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function v1(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}function Hg(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ca(e,t,n){return e[t]=n}
vendor: 6,028 bytes, line 503
503function Jc(e,t){return e[t]}function Gi(e,t,n){return n!==_i&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function ec(e,t,n,r){const s=Gi(e,t,n);return Gi(e,t+1,r)||s}function kh(e,t,n,r,s){const d=ec(e,t,n,r);return Gi(e,t+2,s)||d}function Gs(e,t,n,r,s,d){const g=ec(e,t,n,r);return ec(e,t+2,s,d)||g}function bl(e,t,n){return function r(s){const d=r.__ngNativeEl__;void 0!==d&&function Fn(e,t){if(null==e||"object"!=typeof e)return;let n=Cn.get(e);n||(n=new WeakSet,Cn.set(e,n)),n.add(t)}(s,d),Gc((0,o.Qs1)(e)?(0,o.KdJ)(e.index,t):t,5);const x=t[o.SKP];let R=Kg(t,x,n,s),re=r.__ngNextListenerFn__;for(;re;)R=Kg(t,x,re,s)&&R,re=re.__ngNextListenerFn__;return R}}function Kg(e,t,n,r){const s=(0,it.Ht)(null);try{return cn(Ge.OutputStart,t,n),!1!==n(r)}catch(d){return Kc(e,d),!1}finally{cn(Ge.OutputEnd,t,n),(0,it.Ht)(s)}}function gp(e,t,n,r,s,d,g,x){const R=(0,o.yoD)(e);let re=!1,me=null;if(!r&&R&&(me=function y1(e,t,n,r){const s=e.cleanup;if(null!=s)for(let d=0;d<s.length-1;d+=2){const g=s[d];if(g===n&&s[d+1]===r){const x=t[o.VVG],R=s[d+2];return x&&x.length>R?x[R]:null}"string"==typeof g&&(d+=2)}return null}(t,n,d,e.index)),null!==me)(me.__ngLastListenerFn__||me).__ngNextListenerFn__=g,me.__ngLastListenerFn__=g,re=!0;else{const ze=(0,o.d31)(e,n),Tt=r?r(ze):ze;r||(x.__ngNativeEl__=ze);const Nt=s.listen(Tt,d,x);(function b1(e){return e.startsWith("animation")||e.startsWith("transition")})(d)||$g(r?Gn=>r((0,o.IvY)(Gn[e.index])):e.index,t,n,d,x,Nt,!1)}return re}function $g(e,t,n,r,s,d,g){const x=t.firstCreatePass?(0,o.vNG)(t):null,R=(0,o.d_l)(n),re=R.length;R.push(s,d),x&&x.push(r,e,re,(re+1)*(g?-1:1))}function qc(e,t,n,r,s,d){const x=t[o.eDl],ze=t[n][x.data[n].outputs[r]].subscribe(d);$g(e.index,x,t,s,d,ze,!0)}function Gg(){!function Qg(){const e=(0,o.OAn)(),t=(0,o.klJ)(),n=(0,o.Mx4)();if(t.firstCreatePass&&function M1(e,t){for(let s=t.directiveStart;s<t.directiveEnd;s++)if(e.data[s].controlDef){t.controlDirectiveIndex=s;break}if(-1===t.controlDirectiveIndex)return;const r=e.data[t.controlDirectiveIndex].controlDef;r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1?t.flags|=4096:function D1(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){const r=e.data[n];if(Jg(r,"value"))return t.flags|=1024,void(t.customControlIndex=n);if(Jg(r,"checked"))return t.flags|=2048,void(t.customControlIndex=n)}}(e,t)}(t,n),-1===n.controlDirectiveIndex)return;Ko("NgSignalForms"),t.data[n.controlDirectiveIndex].controlDef.create(e[n.controlDirectiveIndex],new Yg(e,t,n))}()}function Xg(){!function Zg(){const e=(0,o.OAn)(),t=(0,o.klJ)(),n=(0,o.CpD)();if(-1===n.controlDirectiveIndex)return;t.data[n.controlDirectiveIndex].controlDef.update(e[n.controlDirectiveIndex],new Yg(e,t,n))}()}class Yg{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(4096&r.flags)}get customControl(){return-1!==this.tNode.customControlIndex?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){qg(this.tView.data[this.tNode.customControlIndex],t)&&qc(this.tNode,this.lView,this.tNode.customControlIndex,t,t,bl(this.tNode,this.lView,n))}listenToCustomControlModel(t){const n=1024&this.tNode.flags?"valueChange":"checkedChange";qc(this.tNode,this.lView,this.tNode.customControlIndex,n,n,bl(this.tNode,this.lView,t))}listenToDom(t,n){gp(this.tNode,this.tView,this.lView,void 0,this.lView[o.GpT],t,n,bl(this.tNode,this.lView,n))}setInputOnDirectives(t,n){const r=this.tNode.inputs?.[t],s=this.tNode.hostDirectiveInputs?.[t];if(!r&&!s)return!1;if(r)for(const d of r)$s(this.tView.data[d],this.lView[d],t,n);if(s)for(let d=0;d<s.length;d+=2){const g=s[d];$s(this.tView.data[g],this.lView[g],s[d+1],n)}return!0}setCustomControlModelInput(t){$s(this.tView.data[this.tNode.customControlIndex],this.lView[this.tNode.customControlIndex],1024&this.tNode.flags?"value":"checked",t)}customControlHasInput(t){return-1!==this.tNode.customControlIndex&&null!=this.tView.data[this.tNode.customControlIndex].inputs[t]}}function Jg(e,t){return function x1(e,t){return t in e.inputs}(e,t)&&qg(e,t+"Change")}function qg(e,t){return t in e.outputs}const Ha=Symbol("BINDING");function vp(e){return e.debugInfo?.className||e.type.name||null}class nv extends Ph{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=(0,o.xUg)(t);return new Ah(n,this.ngModule)}}class Ah extends Ng{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function P1(e){return Object.keys(e).map(t=>{const[n,r,s]=e[t],d={propName:n,templateName:t,isSignal:0!==(r&Ic.SignalBased)};return s&&(d.transform=s),d})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function I1(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Yu(e){return e.map(Od).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,s,d,g){cn(Ge.DynamicComponentStart);const x=(0,it.Ht)(null);try{const R=this.componentDef,re=function S1(e,t,n){let r=t instanceof o.uvJ?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Zc(n,r):n}(R,s||this.ngModule,t),me=function k1(e){const t=e.get(dp,null);if(null===t)throw new o.buA(407,!1);return{rendererFactory:t,sanitizer:e.get(r1,null),changeDetectionScheduler:e.get(o.hk6,null),ngReflect:!1,tracingService:e.get(za,null,{optional:!0})}}(re),ze=me.tracingService;return ze&&ze.componentCreate?ze.componentCreate(vp(R),()=>this.createComponentRef(me,re,n,r,d,g)):this.createComponentRef(me,re,n,r,d,g)}finally{(0,it.Ht)(x)}}createComponentRef(t,n,r,s,d,g){const x=this.componentDef,R=function N1(e,t,n,r){const s=e?["ng-version","21.2.13"]:function Ju(e){const t=[],n=[];let r=1,s=2;
vendor: 7,571 bytes, line 503
503for(;r<e.length;){let d=e[r];if("string"==typeof d)2===s?""!==d&&t.push(d,e[++r]):8===s&&n.push(d);else{if(!ms(s))break;s=d}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let d=null,g=null,x=0;if(n)for(const me of n)x+=me[Ha].requiredVars,me.create&&(me.targetIdx=0,(d??=[]).push(me)),me.update&&(me.targetIdx=0,(g??=[]).push(me));if(r)for(let me=0;me<r.length;me++){const ze=r[me];if("function"!=typeof ze)for(const Tt of ze.bindings){x+=Tt[Ha].requiredVars;const Nt=me+1;Tt.create&&(Tt.targetIdx=Nt,(d??=[]).push(Tt)),Tt.update&&(Tt.targetIdx=Nt,(g??=[]).push(Tt))}}const R=[t];if(r)for(const me of r){const Tt=(0,o.HaV)("function"==typeof me?me:me.type);R.push(Tt)}return Tc(0,null,function L1(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(d,g),1,x,R,null,null,null,[s],null)}(s,x,g,d),re=t.rendererFactory.createRenderer(null,x),me=s?function Ye(e,t,n,r){const d=r.get(Sr,!1)||n===us.ShadowDom||n===us.ExperimentalIsolatedShadowDom,g=e.selectRootElement(t,d);return function rt(e){qt(e)}(g),g}(re,s,x.encapsulation,n):function A1(e,t){const n=function R1(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return Mc(t,n,"svg"===n?o.jNX:"math"===n?o.rJ1:null)}(x,re),ze=g?.some(rv)||d?.some(ln=>"function"!=typeof ln&&ln.bindings.some(rv)),Tt=Ul(null,R,null,512|Oc(x),null,null,t,re,n,null,null);Tt[o.Yw1]=me,(0,o.ID8)(Tt);let Nt=null;try{const ln=fp(o.Yw1,Tt,2,"#host",()=>R.directiveRegistry,!0,0);bd(re,me,ln),vi(me,Tt),J(R,Tt,ln),rl(R,ln,Tt),pp(R,ln),void 0!==r&&function B1(e,t,n){const r=e.projection=[];for(let s=0;s<t.length;s++){const d=n[s];r.push(null!=d&&d.length?Array.from(d):null)}}(ln,this.ngContentSelectors,r),Nt=(0,o.KdJ)(ln.index,Tt),Tt[o.SKP]=Nt[o.SKP],ai(R,Tt,null)}catch(ln){throw null!==Nt&&Qo(Nt),Qo(Tt),ln}finally{cn(Ge.DynamicComponentEnd),(0,o.bll)()}return new F1(this.componentType,Tt,!!ze)}}function rv(e){const t=e[Ha].kind;return"input"===t||"twoWay"===t}class F1 extends qy{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=(0,o.XRZ)(n[o.eDl],o.Yw1),this.location=Xi(this._tNode,n),this.instance=(0,o.KdJ)(this._tNode.index,n)[o.SKP],this.hostView=this.changeDetectorRef=new Ch(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Zl(r,s[o.eDl],s,t,n),this.previousInputValues.set(t,n),Gc((0,o.KdJ)(r.index,s),1)}get injector(){return new wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Rh=(()=>class e{static __NG_ELEMENT_ID__=U1})();function U1(){return ov((0,o.Mx4)(),(0,o.OAn)())}class _p extends Rh{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Xi(this._hostTNode,this._hostLView)}get injector(){return new wn(this._hostTNode,this._hostLView)}get parentInjector(){const t=ci(this._hostTNode,this._hostLView);if(qr(t)){const n=Xr(t,this._hostLView),r=Cr(t);return new wn(n[o.eDl].data[r+8],n)}return new wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=iv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-o.Y20}createEmbeddedView(t,n,r){let s,d;"number"==typeof r?s=r:null!=r&&(s=r.index,d=r.injector);const x=t.createEmbeddedViewImpl(n||{},d,null);return this.insertImpl(x,s,vo(this._hostTNode,null)),x}createComponent(t,n,r,s,d,g,x){const R=t&&!wt(t);let re;if(R)re=n;else{const ur=n||{};re=ur.index,r=ur.injector,s=ur.projectableNodes,d=ur.environmentInjector||ur.ngModuleRef,g=ur.directives,x=ur.bindings}const me=R?t:new Ah((0,o.xUg)(t)),ze=r||this.parentInjector;if(!d&&null==me.ngModule){const Pr=(R?ze:this.parentInjector).get(o.uvJ,null);Pr&&(d=Pr)}(0,o.xUg)(me.componentType??{});const Gn=me.create(ze,s,null,d,g,x);return this.insertImpl(Gn.hostView,re,vo(this._hostTNode,null)),Gn}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const s=t._lView;if((0,o.ITl)(s)){const x=this.indexOf(t);if(-1!==x)this.detach(x);else{const R=s[o.f7T],re=new _p(R,R[o.qlT],R[o.f7T]);re.detach(re.indexOf(t))}}const d=this._adjustIndex(n),g=this._lContainer;return Qc(g,s,d,r),t.attachToViewContainerRef(),(0,o.EYC)(bp(g),d,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=iv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Kd(this._lContainer,n);r&&((0,o.E6O)(bp(this._lContainer),n),Ql(r[o.eDl],r))}detach(t){const n=this._adjustIndex(t,-1),r=Kd(this._lContainer,n);return r&&null!=(0,o.E6O)(bp(this._lContainer),n)?new Ch(r):null}_adjustIndex(t,n=0){return t??this.length+n}}function iv(e){return e[o.bm_]}function bp(e){return e[o.bm_]||(e[o.bm_]=[])}function ov(e,t){let n;const r=t[e.index];return(0,o.A0l)(r)?n=r:(n=lg(r,t,null,e),t[e.index]=n,Pc(t,n)),sv(n,t,e,r),new _p(n,e,t)}let sv=function lv(e,t,n,r){if(e[o.s6P])return;let s;s=8&n.type?(0,o.IvY)(r):function j1(e,t){const n=e[o.GpT],r=n.createComment(""),s=(0,o.d31)(t,e),d=n.parentNode(s);return Na(n,d,r,n.nextSibling(s),!1),r}(t,n),e[o.s6P]=s};class Cp{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Cp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ep{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let d=0;d<r;d++){const g=n.getByIndex(d);s.push(this.queries[g.indexInDeclarationView].clone())}return new Ep(s)}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!==Tp(t,n).matches&&this.queries[n].setDirty()}}class cv{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function G1(e){return e.split(",").map(t=>t.trim())}(t):t}}class Mp{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const s=null!==n?n.length:0,d=this.getByIndex(r).embeddedTView(t,s);d&&(d.indexInDeclarationView=r,null!==n?n.push(d):n=[d])}return null!==n?new Mp(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Dp{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,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 Dp(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}
vendor: 4,437 bytes, line 503
503matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const d=r[s];this.matchTNodeWithReadOption(t,n,W1(n,d)),this.matchTNodeWithReadOption(t,n,Qn(n,t,d,!1,!1))}else r===$d?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Qn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===bo||s===Rh||s===$d&&4&n.type)this.addMatch(n.index,-2);else{const d=Qn(n,t,s,!1,!1);null!==d&&this.addMatch(n.index,d)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function W1(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function K1(e,t,n,r){return-1===n?function H1(e,t){return 11&e.type?Xi(e,t):4&e.type?Eh(e,t):null}(t,e):-2===n?function $1(e,t,n){return n===bo?Xi(t,e):n===$d?Eh(t,e):n===Rh?ov(t,e):void 0}(e,t,r):de(e,e[o.eDl],n,t)}function dv(e,t,n,r){const s=t[o.Ds7].queries[r];if(null===s.matches){const d=e.data,g=n.matches,x=[];for(let R=0;null!==g&&R<g.length;R+=2){const re=g[R];x.push(re<0?null:K1(t,d[re],g[R+1],n.metadata.read))}s.matches=x}return s.matches}function xp(e,t,n,r){const s=e.queries.getByIndex(n),d=s.matches;if(null!==d){const g=dv(e,t,s,n);for(let x=0;x<d.length;x+=2){const R=d[x];if(R>0)r.push(g[x/2]);else{const re=d[x+1],me=t[-R];for(let ze=o.Y20;ze<me.length;ze++){const Tt=me[ze];Tt[o.rQE]===Tt[o.f7T]&&xp(Tt[o.eDl],Tt,re,r)}if(null!==me[o.nfM]){const ze=me[o.nfM];for(let Tt=0;Tt<ze.length;Tt++){const Nt=ze[Tt];xp(Nt[o.eDl],Nt,re,r)}}}}}return r}function wp(e,t){return e[o.Ds7].queries[t].queryList}function uv(e,t,n){const r=new gi(!(4&~n));return(0,o.B22)(e,t,r,r.destroy),(t[o.Ds7]??=new Ep).queries.push(new Cp(r))-1}function hv(e,t,n){const r=(0,o.klJ)();return r.firstCreatePass&&(pv(r,new cv(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),uv(r,(0,o.OAn)(),t)}function fv(e,t,n,r){const s=(0,o.klJ)();if(s.firstCreatePass){const d=(0,o.Mx4)();pv(s,new cv(t,n,r),d.index),function Q1(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),!(2&~n)&&(s.staticContentQueries=!0)}return uv(s,(0,o.OAn)(),n)}function pv(e,t,n){null===e.queries&&(e.queries=new Mp),e.queries.track(new Dp(t,n))}function Tp(e,t){return e.queries.getByIndex(t)}function mv(e,t){const n=e[o.eDl],r=Tp(n,t);return r.crossesNgTemplate?xp(n,e,t,[]):dv(n,e,r,t)}function Op(e,t,n){let r;const s=(0,it.KZ)(()=>{r._dirtyCounter();const d=function J1(e,t){const n=e._lView,r=e._queryIndex;if(void 0===n||void 0===r||4&n[o.Wg1])return t?void 0:o.Mlv;const s=wp(n,r),d=mv(n,r);return s.reset(d,$o),t?s.first:s._changesDetected||void 0===e._flatValue?e._flatValue=s.toArray():e._flatValue}(r,e);if(t&&void 0===d)throw new o.buA(-951,!1);return d});return r=s[it.bh],r._dirtyCounter=(0,o.vPA)(0),r._flatValue=void 0,s}function X1(e){return Op(!0,!1)}function Z1(e){return Op(!0,!0)}function Y1(e){return Op(!1,!1)}function gv(e,t){const n=e[it.bh];n._lView=(0,o.OAn)(),n._queryIndex=t,n._queryList=wp(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}let tc=new Map;const ru=new Set;function q1(e){return Pp.apply(this,arguments)}function Pp(){return Pp=(0,Mt.A)(function*(e){const t=tc;tc=new Map;const n=new Map;function r(d){const g=n.get(d);if(g)return g;const x=e(d).then(R=>function nC(e,t){return Ip.apply(this,arguments)}(d,R));return n.set(d,x),x}const s=Array.from(t).map(function(){var d=(0,Mt.A)(function*([g,x]){if(x.styleUrl&&x.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");const R=[];x.templateUrl&&R.push(r(x.templateUrl).then(Tt=>{x.template=Tt}));const re="string"==typeof x.styles?[x.styles]:x.styles??[];x.styles=re;let{styleUrl:me,styleUrls:ze}=x;if(me&&(ze=[me],x.styleUrl=void 0),ze?.length){const Tt=Promise.all(ze.map(Nt=>r(Nt))).then(Nt=>{re.push(...Nt),x.styleUrls=void 0});R.push(Tt)}yield Promise.all(R),ru.delete(g)});return function(g){return d.apply(this,arguments)}}());yield Promise.all(s)}),Pp.apply(this,arguments)}function tC(){return 0===tc.size}function Ip(){return(Ip=(0,Mt.A)(function*(e,t){if("string"==typeof t)return t;if(void 0!==t.status&&200!==t.status)throw new o.buA(918,!1);return t.text()})).apply(this,arguments)}const Sp=new Map;
vendor: 6,381 bytes, line 503
503function bv(e,t){(function rC(e,t,n){if(t&&t!==n)throw new o.buA(921,!1)})(0,Sp.get(t)||null,e),Sp.set(t,e)}let nc=class{},yv=class{};function iC(e,t){return new kp(e,t??null,[])}class kp extends nc{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new nv(this);constructor(t,n,r,s=!0){super(),this.ngModuleType=t,this._parent=n;const d=(0,o.phH)(t);this._bootstrapComponents=ps(d.bootstrap),this._r3Injector=(0,o.Pz9)(t,n,[{provide:nc,useValue:this},{provide:Ph,useValue:this.componentFactoryResolver},...r],(0,o.AsM)(t),new Set(["environment"])),s&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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 Cv extends yv{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new kp(this.moduleType,t,[])}}function oC(e,t,n){return new kp(e,t,n,!1)}class Ev extends nc{injector;componentFactoryResolver=new nv(this);instance=null;constructor(t){super();const n=new o.e5P([...t.providers,{provide:nc,useValue:this},{provide:Ph,useValue:this.componentFactoryResolver}],t.parent||(0,o.WB9)(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Ap(e,t,n=null){return new Ev({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let sC=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=(0,o.jXY)(!1,n.type),s=r.length>0?Ap([r],this._injector,""):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,o.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,o.KVO)(o.uvJ))})}return e})();function Mv(e){return bn(()=>{const t=Ov(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Zi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?s=>s.get(sC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||us.Emulated,styles:e.styles||o.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Ko("NgStandalone"),Pv(n);const r=e.dependencies;return n.directiveDefs=Nh(r,Dv),n.pipeDefs=Nh(r,o.oyA),n.id=function dC(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":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];for(const d of r.join("|"))t=Math.imul(31,t)+d.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Dv(e){return(0,o.xUg)(e)||(0,o.HaV)(e)}function xv(e){return bn(()=>({type:e.type,bootstrap:e.bootstrap||o.Mlv,declarations:e.declarations||o.Mlv,imports:e.imports||o.Mlv,exports:e.exports||o.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function aC(e,t){if(null==e)return o.MZA;const n={};for(const r in e)if(e.hasOwnProperty(r)){const s=e[r];let d,g,x,R;Array.isArray(s)?(x=s[0],d=s[1],g=s[2]??d,R=s[3]||null):(d=s,g=s,x=Ic.None,R=null),n[d]=[r,x,R],t[d]=g}return n}function lC(e){if(null==e)return o.MZA;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function wv(e){return bn(()=>{const t=Ov(e);return Pv(t),t})}function Tv(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ov(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||o.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||o.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:aC(e.inputs,t),outputs:lC(e.outputs),debugInfo:null}}function Pv(e){e.features?.forEach(t=>t(e))}function Nh(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const s of n){const d=t(s);null!==d&&r.push(d)}return r}:null}function Iv(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}}function hC(e){const t=[];let n=!1,r=null,s=null;for(let d=0;d<e.length;d++){const g=e[d];if(null!==g.hostDirectives){const x=t.length;r??=new Map,s??=new Map,Sv(g,t,r),s.set(g,[x,t.length-1])}0===d&&(0,o.JlV)(g)&&(n=!0,t.push(g))}for(let d=n?1:0;d<e.length;d++)t.push(e[d]);return[t,r,s]}function Sv(e,t,n){if(null!==e.hostDirectives)for(const r of e.hostDirectives)if("function"==typeof r){const s=r();for(const d of s)kv(Rp(d),t,n)}else kv(r,t,n)}function kv(e,t,n){const r=(0,o.HaV)(e.directive);(function fC(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])})(r.declaredInputs,e.inputs),Sv(r,t,n),n.set(r,e),t.push(r)}function Rp(e){return"function"==typeof e?{directive:(0,o.nl4)(e),inputs:o.MZA,outputs:o.MZA}:{directive:(0,o.nl4)(e.directive),inputs:Av(e.inputs),outputs:Av(e.outputs)}}function Av(e){if(void 0===e||0===e.length)return o.MZA;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Np(e){let t=function pC(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if((0,o.JlV)(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new o.buA(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const g=e;g.inputs=Lp(e.inputs),g.declaredInputs=Lp(e.declaredInputs),g.outputs=Lp(e.outputs);const x=s.hostBindings;x&&bC(e,x);const R=s.viewQuery,re=s.contentQueries;
vendor: 4,518 bytes, line 503
503if(R&&vC(e,R),re&&_C(e,re),mC(e,s),(0,o.dwj)(e.outputs,s.outputs),(0,o.JlV)(s)&&s.data.animation){const me=e.data;me.animation=(me.animation||[]).concat(s.data.animation)}}const d=s.features;if(d)for(let g=0;g<d.length;g++){const x=d[g];x&&x.ngInherit&&x(e),x===Np&&(n=!1)}}t=Object.getPrototypeOf(t)}!function gC(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=Hr(s.hostAttrs,n=Hr(n,s.hostAttrs))}}(r)}function mC(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Lp(e){return e===o.MZA?{}:e===o.Mlv?[]:e}function vC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function _C(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,d)=>{t(r,s,d),n(r,s,d)}:t}function bC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}function Nv(e,t,n,r,s,d,g,x){if(n.firstCreatePass){e.mergedAttrs=Hr(e.mergedAttrs,e.attrs);const me=e.tView=Tc(2,e,s,d,g,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),me.queries=n.queries.embeddedTView(e))}x&&(e.flags|=x),(0,o.iMd)(e,!1);const R=Lv(n,t,e,r);(0,o.SX7)()&&zd(n,t,R,e),vi(R,t);const re=lg(R,t,R,e);t[r+o.Yw1]=re,Pc(t,re)}function rc(e,t,n,r,s,d,g,x,R,re,me){const ze=n+o.Yw1;let Tt;if(t.firstCreatePass){if(Tt=Yl(t,ze,4,g||null,x||null),null!=re){const Nt=(0,o.db4)(t.consts,re);Tt.localNames=[];for(let ln=0;ln<Nt.length;ln+=2)Tt.localNames.push(Nt[ln],-1)}}else Tt=t.data[ze];return Nv(Tt,e,t,n,r,s,d,R),null!=re&&Me(e,Tt,me),Tt}function Fp(e,t,n,r,s,d,g,x){const R=(0,o.OAn)(),re=(0,o.klJ)();return function yC(e,t,n,r,s,d,g,x,R,re,me){const ze=n+o.Yw1;let Tt;t.firstCreatePass?(Tt=Yl(t,ze,4,g||null,x||null),(0,o.ckz)()&&Bg(t,e,Tt,(0,o.db4)(t.consts,re),Yi),xt(t,Tt)):Tt=t.data[ze],Nv(Tt,e,t,n,r,s,d,R),(0,o.yoD)(Tt)&&J(t,e,Tt),null!=re&&Me(e,Tt,me)}(R,re,e,t,n,r,s,(0,o.db4)(re.consts,d),void 0,g,x),Fp}function Bp(e,t,n,r,s,d,g,x){const R=(0,o.OAn)(),re=(0,o.klJ)();return rc(R,re,e,t,n,r,s,(0,o.db4)(re.consts,d),void 0,g,x),Bp}let Lv=function Fv(e,t,n,r){return(0,o.m7n)(!0),t[o.GpT].createComment("")};var _o=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(_o||{}),Ni=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(Ni||{}),ed=function(e){return e[e.Initial=-1]="Initial",e}(ed||{}),Uv=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Uv||{});function ou(e,t,n){const r=zv(e);null===t[r]&&(t[r]=[]),t[r].push(n)}function Bh(e,t){const n=zv(e),r=t[n];if(null!==r){for(const s of r)s();t[n]=null}}function jv(e){Bh(1,e),Bh(0,e),Bh(2,e)}function zv(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}function su(e){return e+1}function Os(e,t){return e[su(t.index)]}function ts(e,t){const n=su(t.index);return e.data[n]}function Up(e,t){return t===Ni.Placeholder?e.placeholderBlockConfig?.[0]??null:t===Ni.Loading?e.loadingBlockConfig?.[0]??null:null}function Vv(e){return e.loadingBlockConfig?.[1]??null}function Wv(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function jp(e,t,n,r){const s=n.get(o.SKi);return function Us(e,t,n,r){const s=S(r);let d=cs.get(e)?.get(s);po.has(s)||po.set(s,{observer:n(r),count:0});const g=po.get(s);if(!d){d=new Cs,g.observer.observe(e);let x=cs.get(e);x?x.set(s,d):(x=new Map,cs.set(e,x)),x.set(s,d),g.count++}return d.callbacks.add(t),()=>{if(cs.get(e)?.has(s)){if(d.callbacks.delete(t),0===d.callbacks.size){g.observer.unobserve(e),g.count--;const x=cs.get(e);x&&(x.delete(s),0===x.size&&cs.delete(e))}0===g.count&&(g.observer.disconnect(),po.delete(s))}}}(e,()=>s.run(t),d=>s.runOutsideAngular(()=>function Es(e){const t=S(e);return new IntersectionObserver(n=>{for(const r of n)r.isIntersecting&&cs.has(r.target)&&cs.get(r.target)?.get(t)?.listener()},e)}(d)),r)}function rd(e,t,n,r,s,d,g,x){const R=e[o.YEL],re=R.get(o.SKi);let me;me=function Wf(e,t){const n=t?.injector??(0,o.WQX)(o.zZn);return Ko("NgAfterRender"),Hf(e,n,t,!1)}({read:function ze(){if((0,o.EPY)(e))return void me.destroy();const Tt=Os(e,t),Nt=Tt[1];if(Nt!==ed.Initial&&Nt!==Ni.Placeholder)return void me.destroy();const ln=function IC(e,t,n){return null==n?e:n>=0?(0,o.jRZ)(n,e):e[t.index][o.Y20]??null}(e,t,r);
vendor: 24,920 bytes, line 503
503if(!ln||(me.destroy(),(0,o.EPY)(ln)))return;const Gn=function SC(e,t){return(0,o.vaC)(o.Yw1+t,e)}(ln,n),ur=s(Gn,()=>{re.run(()=>{e!==ln&&(0,o.DyX)(ln,ur),d()})},R,x);e!==ln&&(0,o.ik5)(ln,ur),ou(g,Tt,ur)}},{injector:R})}function Uh(e,t){const n=t.get(RC);return n.add(e),()=>n.remove(e)}let RC=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,o.WQX)(o.SKi);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(n){(this.executingCallbacks?this.deferred:this.current).add(n),null===this.idleId&&this.scheduleIdleCallback()}remove(n){const{current:r,deferred:s}=this;r.delete(n),s.delete(n),0===r.size&&0===s.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function jh(e){return(t,n)=>Kv(e,t,n)}function Kv(e,t,n){const r=n.get(NC),s=n.get(o.SKi);return r.add(e,t,s),()=>r.remove(t)}let NC=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(n,r,s){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+n,r),this.scheduleTimer(s)}remove(n){const{current:r,deferred:s}=this;-1===this.removeFromQueue(r,n)&&this.removeFromQueue(s,n),0===r.length&&0===s.length&&this.clearTimeout()}addToQueue(n,r,s){let d=n.length;for(let g=0;g<n.length;g+=2)if(n[g]>r){d=g;break}(0,o.llW)(n,d,r,s)}removeFromQueue(n,r){let s=-1;for(let d=0;d<n.length;d+=2)if(n[d+1]===r){s=d;break}return s>-1&&(0,o.gsJ)(n,s,2),s}scheduleTimer(n){const r=()=>{this.clearTimeout(),this.executingCallbacks=!0;const d=[...this.current],g=Date.now();for(let R=0;R<d.length;R+=2){const me=d[R+1];if(!(d[R]<=g))break;me()}let x=-1;for(let R=0;R<this.current.length&&this.current[R]<=g;R+=2)x=R+1;if(x>=0&&(0,o.gsJ)(this.current,0,x+1),this.executingCallbacks=!1,this.deferred.length>0){for(let R=0;R<this.deferred.length;R+=2)this.addToQueue(this.current,this.deferred[R],this.deferred[R+1]);this.deferred.length=0}this.scheduleTimer(n)};if(this.current.length>0){const d=Date.now(),g=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-g>16){this.clearTimeout();const x=Math.max(g-d,16);this.invokeTimerAt=g,this.timeoutId=n.runOutsideAngular(()=>setTimeout(()=>n.run(r),x))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),LC=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,s,d){if(!this.cachedInjectors.has(n)){const g=s.length>0?Ap(s,r,d):null;this.cachedInjectors.set(n,g)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,o.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const FC=new o.nKC("");function zp(e,t,n){return e.get(LC).getOrCreateInjector(t,e,n,"")}function yl(e,t,n,r=!1){const s=n[o.f7T],d=s[o.eDl];if((0,o.EPY)(s))return;const g=Os(s,t),R=g[7];if(!(null!==R&&e<R)&&Qv(g[1],e)&&Qv(g[0]??-1,e)){const re=ts(d,t),ze=r||null===Vv(re)&&null===Up(re,Ni.Loading)&&!Up(re,Ni.Placeholder)?$v:Vp;try{ze(e,g,n,t,s)}catch(Tt){Kc(s,Tt)}}}function $v(e,t,n,r,s){cn(Ge.DeferBlockStateStart);const d=function OC(e,t,n){const s=ts(t[o.eDl],n);switch(e){case Ni.Complete:return s.primaryTmplIndex;case Ni.Loading:return s.loadingTmplIndex;case Ni.Error:return s.errorTmplIndex;case Ni.Placeholder:return s.placeholderTmplIndex;default:return null}}(e,s,r);if(null!==d){t[1]=e;const g=s[o.eDl],R=(0,o.XRZ)(g,d+o.Yw1),re=0;let me;if(qf(n,re),e===Ni.Complete){const ln=ts(g,r),Gn=ln.providers;Gn&&Gn.length>0&&(me=function BC(e,t,n){if(e instanceof Zc){const s=e.injector,g=zp(e.parentInjector,t,n);return new Zc(s,g)}const r=e.get(o.uvJ);if(r!==e){const s=zp(r,t,n);return new Zc(e,s)}return zp(e,t,n)}(s[o.YEL],ln,Gn))}const{dehydratedView:ze,dehydratedViewIx:Tt}=function UC(e,t){const n=e[o.qFA]?.findIndex(s=>s.data.s===t[1])??-1;return{dehydratedView:n>-1?e[o.qFA][n]:null,dehydratedViewIx:n}}(n,t),Nt=es(s,R,null,{injector:me,dehydratedView:ze});if(Qc(n,Nt,re,vo(R,ze)),Gc(Nt,2),Tt>-1&&n[o.qFA]?.splice(Tt,1),(e===Ni.Complete||e===Ni.Error)&&Array.isArray(t[8])){for(const ln of t[8])ln();t[8]=null}}cn(Ge.DeferBlockStateEnd)}function jC(e,t,n,r,s){const d=Date.now(),x=ts(s[o.eDl],r);if(null===t[2]||t[2]<=d){t[2]=null;const R=Vv(x),re=null!==t[3];if(e!==Ni.Loading||null===R||re){e>Ni.Loading&&re&&(t[3](),t[3]=null,t[0]=null),$v(e,t,n,r,s);const me=Up(x,e);null!==me&&(t[2]=d+me,Gv(me,t,r,n,s))}else{t[0]=e;const me=Gv(R,t,r,n,s);t[3]=me}}else t[0]=e}function Gv(e,t,n,r,s){return Kv(e,()=>{const g=t[0];t[2]=null,t[0]=null,null!==g&&yl(g,n,r)},s[o.YEL])}function Qv(e,t){return e<t}function id(e,t){yl(Ni.Placeholder,t,e[t.index])}function Xv(e,t,n){e.loadingPromise.then(()=>{e.loadingState===_o.COMPLETE?yl(Ni.Complete,t,n):e.loadingState===_o.FAILED&&yl(Ni.Error,t,n)})}let Vp=null;function VC(e,t,n,r){return bn(()=>{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==n&&(s.ctorParameters=n),null!==r&&(s.propDecorators=s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?{...s.propDecorators,...r}:r)})}let Zv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Hp(e){return"function"==typeof e&&void 0!==e[it.bh]}function Jv(e){return Hp(e)&&"function"==typeof e.set}function OE(e,t){!function h_(e,t){if(typeof COMPILED>"u"||!COMPILED){const n=o.laP;n.ng??={},n.ng[e]=t}}(e,t)}const f_=new o.nKC(""),p_=new o.nKC("");let $p,PE=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,s){this._ngZone=n,this.registry=r,(0,o.M6u)()&&(this._destroyRef=(0,o.WQX)(o.abz,{optional:!0})??void 0),$p||(function SE(e){$p=e}(s),s.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{o.SKi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,s){let d=-1;r&&r>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(g=>g.timeoutId!==d),n()},r)),this._callbacks.push({doneCb:n,timeoutId:d,updateCb:s})}whenStable(n,r,s){if(s&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,s),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}static \u0275fac=function(r){return new(r||e)((0,o.KVO)(o.SKi),(0,o.KVO)(IE),(0,o.KVO)(p_))};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac})}return e})(),IE=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return $p?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function m_(e){return!!e&&"function"==typeof e.then}function g_(e){return!!e&&"function"==typeof e.subscribe}const v_=new o.nKC("");function kE(e){return(0,o.EmA)([{provide:v_,multi:!0,useValue:e}])}let __=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=(0,o.WQX)(v_,{optional:!0})??[];injector=(0,o.WQX)(o.zZn);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const s of this.appInits){const d=(0,o.N4e)(this.injector,s);if(m_(d))n.push(d);else if(g_(d)){const g=new Promise((x,R)=>{d.subscribe({complete:x,error:R})});n.push(g)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const b_=new o.nKC("");function AE(){}function RE(){(0,it.KO)(()=>{throw new o.buA(600,"")})}function y_(e,t){return Array.isArray(t)?t.reduce(y_,e):{...e,...t}}let Gp=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,o.WQX)(o.ZTf);afterRenderManager=(0,o.WQX)(zc);zonelessEnabled=(0,o.WQX)(o.Evm);rootEffectScheduler=(0,o.WQX)(o.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new nn.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,o.WQX)(o.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,xn.T)(n=>!n))}constructor(){(0,o.WQX)(za,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:s=>{s&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=(0,o.WQX)(o.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,s=o.zZn.NULL){return this._injector.get(o.SKi).run(()=>{cn(Ge.BootstrapComponentStart);const g=n instanceof Ng;if(!this._injector.get(__).done)throw new o.buA(405,"");let R;R=g?n:this._injector.get(Ph).resolveComponentFactory(n),this.componentTypes.push(R.componentType);const re=function NE(e){return e.isBoundToModule}(R)?void 0:this._injector.get(nc),ze=R.create(s,[],r||R.selector,re),Tt=ze.location.nativeElement,Nt=ze.injector.get(f_,null);return Nt?.registerApplication(Tt),ze.onDestroy(()=>{this.detachView(ze.hostView),Wh(this.components,ze),Nt?.unregisterApplication(Tt)}),this._loadComponent(ze),cn(Ge.BootstrapComponentEnd,ze),ze})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){cn(Ge.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(lh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw cn(Ge.ChangeDetectionEnd),new o.buA(101,!1);const n=(0,it.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,it.Ht)(n),this.afterTick.next(),cn(Ge.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(dp,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){cn(Ge.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{cn(Ge.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:s}of this.allViews)(r||(0,o.dMS)(s))&&(yh(s,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>(0,o.dMS)(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Wh(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(s){this.internalErrorHandler(s)}this.components.push(n),this._injector.get(b_,[]).forEach(s=>s(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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Wh(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new o.buA(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Qp(){let e,t;return{promise:new Promise((r,s)=>{e=r,t=s}),resolve:e,reject:t}}function C_(e){const t=(0,o.OAn)(),n=(0,o.Mx4)();if(id(t,n),!D_(0,t))return;const r=t[o.YEL];ou(0,Os(t,n),e(()=>sc(0,t,n),r))}function E_(e){const t=(0,o.OAn)(),n=t[o.YEL],r=(0,o.Mx4)(),d=ts(t[o.eDl],r);d.loadingState===_o.NOT_STARTED&&ou(1,Os(t,r),e(()=>lu(d,t,r),n))}function M_(e,t,n){const r=t[o.YEL],s=Os(t,n),d=s[6];ou(2,s,e(()=>ac(r,d),r))}function lu(e,t,n){Xp(e,t,n)}function Xp(e,t,n){const r=t[o.YEL],s=t[o.eDl];if(e.loadingState!==_o.NOT_STARTED)return e.loadingPromise??Promise.resolve();const d=Os(t,n),g=function PC(e,t){return(0,o.XRZ)(e,t.primaryTmplIndex+o.Yw1)}(s,e);e.loadingState=_o.IN_PROGRESS,Bh(1,d);let x=e.dependencyResolverFn;const R=r.get(o.u5s).add();return x?(e.loadingPromise=Promise.allSettled(x()).then(re=>{let me=!1,ze=null;const Tt=[],Nt=[];for(let ln=0;ln<re.length;ln++){const Gn=re[ln];if("fulfilled"!==Gn.status){me=!0,ze=Gn.reason instanceof Error?Gn.reason:new Error(String(Gn.reason));break}{const ur=Gn.value,Pr=(0,o.xUg)(ur)||(0,o.HaV)(ur);if(Pr)Tt.push(Pr);else{const Kn=(0,o.oyA)(ur);Kn&&Nt.push(Kn)}}}if(me){if(e.loadingState=_o.FAILED,null===e.errorTmplIndex){const ur=new o.buA(-750,"");Kc(t,ur)}}else{e.loadingState=_o.COMPLETE;const ln=g.tView;if(Tt.length>0){ln.directiveRegistry=Wv(ln.directiveRegistry,Tt);const Gn=Tt.map(Pr=>Pr.type),ur=(0,o.jXY)(!1,...Gn);e.providers=ur}Nt.length>0&&(ln.pipeRegistry=Wv(ln.pipeRegistry,Nt))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,R()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=_o.COMPLETE,R()}),e.loadingPromise)}function D_(e,t){return t[o.YEL].get(FC,null,{optional:!0})?.behavior!==Uv.Manual}function sc(e,t,n){const r=t[o.eDl],s=t[n.index];if(!D_(0,t))return;const d=Os(t,n),g=ts(r,n);switch(jv(d),g.loadingState){case _o.NOT_STARTED:yl(Ni.Loading,n,s),Xp(g,t,n),g.loadingState===_o.IN_PROGRESS&&Xv(g,n,s);break;case _o.IN_PROGRESS:yl(Ni.Loading,n,s),Xv(g,n,s);break;case _o.COMPLETE:yl(Ni.Complete,n,s);break;case _o.FAILED:yl(Ni.Error,n,s)}}function ac(e,t,n){return Zp.apply(this,arguments)}function Zp(){return(Zp=(0,Mt.A)(function*(e,t,n){const r=e.get(No);if(r.hydrating.has(t))return;const{parentBlockPromise:d,hydrationQueue:g}=function mo(e,t){const n=t.get(No),s=t.get(Br).get("__nghDeferData__",{});let d=!1,g=e,x=null;const R=[];for(;!d&&g;){d=n.has(g);const re=n.hydrating.get(g);if(null===x&&null!=re){x=re.promise;break}R.unshift(g),g=s[g].p}return{parentBlockPromise:x,hydrationQueue:R}}(t,e);if(0===g.length)return;null!==d&&g.shift(),function UE(e,t){for(let n of t)e.hydrating.set(n,Qp())}(r,g),null!==d&&(yield d);const x=g[0];r.has(x)?yield x_(e,g,n):r.awaitParentBlock(x,(0,Mt.A)(function*(){return yield x_(e,g,n)}))})).apply(this,arguments)}function x_(e,t,n){return Yp.apply(this,arguments)}function Yp(){return(Yp=(0,Mt.A)(function*(e,t,n){const r=e.get(No),s=r.hydrating,d=e.get(o.rev),g=d.add();for(let R=0;R<t.length;R++){const re=t[R],me=r.get(re);if(null==me){BE(R,t,r),w_(t.slice(R),r);break}if(yield zE(me),yield jE(e),FE(me)){$y(me),w_(t.slice(R),r);break}s.get(re).resolve()}const x=t[t.length-1];yield s.get(x)?.promise,d.remove(g),n&&n(t),function Qy(e,t,n,r){null!==e&&(n.cleanup(t),Oh(e.lContainer),function Gy(e){const t=e._views;for(const n of t){const r=qa(n);null!==r&&null!==r[o.jgP]&&((0,o.q$2)(r)?qd(r):Oh(r))}}(r))}(r.get(x),t,r,e.get(Gp))})).apply(this,arguments)}function FE(e){return Os(e.lView,e.tNode)[1]===Ni.Error}function BE(e,t,n){const r=e-1,s=r>-1?n.get(t[r]):null;s&&Oh(s.lContainer)}function w_(e,t){const n=t.hydrating;for(const r in e)n.get(r)?.reject();t.cleanup(e)}function jE(e){return new Promise(t=>Gl(t,{injector:e}))}function zE(e){return Jp.apply(this,arguments)}function Jp(){return(Jp=(0,Mt.A)(function*(e){const{tNode:t,lView:n}=e,r=Os(n,t);return new Promise(s=>{(function VE(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(r,s),sc(0,n,t)})})).apply(this,arguments)}function uo(e,t,n){return 0===e?T_(t,n):2!==e||!T_(t,n)}function T_(e,t){const n=e[o.YEL],r=ts(e[o.eDl],t),s=ce(n),d=function WE(e){return null!=e&&!(1&~e)}(r.flags),x=null!==Os(e,t)[6];return!(d&&x&&s)}function Cl(e,t){const n=ts(e,t);return n.hydrateTriggers??=new Map}function qp(e,t){const n=(0,o.OAn)();if(Gi(n,(0,o.xbp)(),t)){const s=(0,o.klJ)(),d=(0,o.CpD)();if(Zl(d,s,n,e,t))(0,o.Qs1)(d)&&cr(n,d.index);else{const x=(0,o.d31)(d,n);co(n[o.GpT],x,null,d.value,e,t,null)}}return qp}function em(e,t,n,r){const s=(0,o.OAn)();return Gi(s,(0,o.xbp)(),t)&&((0,o.klJ)(),function ro(e,t,n,r,s,d){const g=(0,o.d31)(e,t);co(t[o.GpT],g,d,e.value,n,r,s)}((0,o.CpD)(),s,e,t,n,r)),em}function cu(e){if(Ko("NgAnimateEnter"),!oa)return cu;const t=(0,o.OAn)();if(jl(t))return cu;const n=(0,o.Mx4)(),r=t[o.YEL].get(o.SKi);return hl(Rc(t),n,()=>function vM(e,t,n,r){const s=(0,o.d31)(t,e),d=e[o.GpT],g=Nc(n),x=[];let R=!1;const re=ze=>{if(ul(ze)!==s)return;const Tt=ze instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{d.listen(s,Tt,me)})},me=ze=>{ul(ze)===s&&(Lc(ze,s)&&(R=!0),function _M(e,t,n){const r=Ca.get(t);if(ul(e)===t&&r&&Lc(e,t)){e.stopPropagation();for(const s of r.classList)n.removeClass(t,s);zl(t)}}(ze,s,d))};if(g&&g.length>0){r.runOutsideAngular(()=>{x.push(d.listen(s,"animationstart",re)),x.push(d.listen(s,"transitionstart",re))}),function Bf(e,t,n){const r=Ca.get(e);if(r){for(const s of t)r.classList.push(s);for(const s of n)r.cleanupFns.push(s)}else Ca.set(e,{classList:t,cleanupFns:n})}(s,g,x);for(const ze of g)d.addClass(s,ze);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!R&&(ah(s,Ea,oa),!Ea.has(s))){for(const ze of g)d.removeClass(s,ze);zl(s)}})})}}(t,n,e,r)),Wc(t[o.YEL]),Nd(t[o.YEL],Rc(t)),cu}class DM{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),s=Math.max(t,n),d=this.detach(s);if(s-r>1){const g=this.detach(r);this.attach(r,d),this.attach(s,g)}else this.attach(r,d)}move(t,n){this.attach(n,this.detach(t))}}function nm(e,t,n,r,s){return e===n&&Object.is(t,r)?1:Object.is(s(e,t),s(n,r))?-1:0}function rm(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function P_(e,t,n,r,s){if(rm(e,t,r,n(r,s)))e.updateValue(r,s);else{const d=e.create(r,s);e.attach(r,d)}}function I_(e,t,n,r){const s=new Set;for(let d=t;d<=n;d++)s.add(r(d,e.at(d)));return s}class S_{kvMap=new Map;_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 r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const s=this._vMap;for(;s.has(r);)r=s.get(r);s.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const s=this._vMap;for(;s.has(r);)r=s.get(r),t(r,n)}}}function k_(e,t,n,r,s,d,g,x){Ko("NgControlFlow");const R=(0,o.OAn)(),re=(0,o.klJ)();return rc(R,re,e,t,n,r,s,(0,o.db4)(re.consts,d),256,g,x),im}function im(e,t,n,r,s,d,g,x){Ko("NgControlFlow");const R=(0,o.OAn)(),re=(0,o.klJ)();return rc(R,re,e,t,n,r,s,(0,o.db4)(re.consts,d),512,g,x),im}function A_(e,t){Ko("NgControlFlow");const n=(0,o.OAn)(),r=(0,o.xbp)(),s=n[r]!==_i?n[r]:-1,d=-1!==s?$h(n,o.Yw1+s):void 0;if(Gi(n,r,e)){const x=(0,it.Ht)(null);try{if(void 0!==d&&qf(d,0),-1!==e){const R=o.Yw1+e,re=$h(n,R),me=om(n[o.eDl],R),ze=null;Qc(re,es(n,me,t,{dehydratedView:ze}),0,vo(me,ze))}}finally{(0,it.Ht)(x)}}else if(void 0!==d){const x=cg(d,0);void 0!==x&&(x[o.SKP]=t)}}class wM{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-o.Y20}}function R_(e){return e}function N_(e,t){return t}class TM{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function L_(e,t,n,r,s,d,g,x,R,re,me,ze,Tt){Ko("NgControlFlow");const Nt=(0,o.OAn)(),ln=(0,o.klJ)(),Gn=void 0!==R,ur=(0,o.OAn)(),Pr=x?g.bind(ur[o.b5C][o.SKP]):g,Kn=new TM(Gn,Pr);ur[o.Yw1+e]=Kn,rc(Nt,ln,e+1,t,n,r,s,(0,o.db4)(ln.consts,d),256),Gn&&rc(Nt,ln,e+2,R,re,me,ze,(0,o.db4)(ln.consts,Tt),512)}class OM extends DM{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-o.Y20}at(t){return this.getLView(t)[o.SKP].$implicit}attach(t,n){const r=n[o.tcA];this.needsIndexUpdate||=t!==this.length,Qc(this.lContainer,n,t,vo(this.templateTNode,r)),function PM(e,t){if(e.length<=o.Y20)return;const r=e[o.Y20+t],s=r?r[o.Isx]:void 0;r&&s&&s.detachedLeaveAnimationFns&&s.detachedLeaveAnimationFns.length>0&&(function Kf(e,t){const n=e.get(Vc);if(t.detachedLeaveAnimationFns){for(const r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}(r[o.YEL],s),pl.delete(r[o.ID]),s.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function IM(e,t){if(e.length<=o.Y20)return;const r=e[o.Y20+t],s=r?r[o.Isx]:void 0;s&&s.leave&&s.leave.size>0&&(s.detachedLeaveAnimationFns=[])}(this.lContainer,t),function SM(e,t){return Kd(e,t)}(this.lContainer,t)}create(t,n){return es(this.hostLView,this.templateTNode,new wM(this.lContainer,n,t),{dehydratedView:null})}destroy(t){Ql(t[o.eDl],t)}updateValue(t,n){this.getLView(t)[o.SKP].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[o.SKP].$index=t}getLView(t){return function kM(e,t){return cg(e,t)}(this.lContainer,t)}}function F_(e){const t=(0,it.Ht)(null),n=(0,o._px)();try{const r=(0,o.OAn)(),s=r[o.eDl],d=r[n],g=n+1,x=$h(r,g);if(void 0===d.liveCollection){const re=om(s,g);d.liveCollection=new OM(x,r,re)}else d.liveCollection.reset();const R=d.liveCollection;if(function xM(e,t,n,r){let s,d,g=0,x=e.length-1;if(Array.isArray(t)){(0,it.Ht)(r);let re=t.length-1;for((0,it.Ht)(null);g<=x&&g<=re;){const me=e.at(g),ze=t[g],Tt=nm(g,me,g,ze,n);if(0!==Tt){Tt<0&&e.updateValue(g,ze),g++;continue}const Nt=e.at(x),ln=t[re],Gn=nm(x,Nt,re,ln,n);if(0!==Gn){Gn<0&&e.updateValue(x,ln),x--,re--;continue}const ur=n(g,me),Pr=n(x,Nt),Kn=n(g,ze);if(Object.is(Kn,Pr)){const bi=n(re,ln);Object.is(bi,ur)?(e.swap(g,x),e.updateValue(x,ln),re--,x--):e.move(x,g),e.updateValue(g,ze),g++;continue}if(s??=new S_,d??=I_(e,g,x,n),rm(e,s,g,Kn))e.updateValue(g,ze),g++,x++;else if(d.has(Kn))s.set(ur,e.detach(g)),x--;else{const bi=e.create(g,t[g]);e.attach(g,bi),g++,x++}}for(;g<=re;)P_(e,s,n,g,t[g]),g++}else if(null!=t){(0,it.Ht)(r);
vendor: 6,492 bytes, line 503
503const re=t[Symbol.iterator]();(0,it.Ht)(null);let me=re.next();for(;!me.done&&g<=x;){const ze=e.at(g),Tt=me.value,Nt=nm(g,ze,g,Tt,n);if(0!==Nt)Nt<0&&e.updateValue(g,Tt),g++,me=re.next();else{s??=new S_,d??=I_(e,g,x,n);const ln=n(g,Tt);if(rm(e,s,g,ln))e.updateValue(g,Tt),g++,x++,me=re.next();else if(d.has(ln)){const Gn=n(g,ze);s.set(Gn,e.detach(g)),x--}else e.attach(g,e.create(g,Tt)),g++,x++,me=re.next()}}for(;!me.done;)P_(e,s,n,e.length,me.value),me=re.next()}for(;g<=x;)e.destroy(e.detach(x--));s?.forEach(re=>{e.destroy(re)})}(R,e,d.trackByFn,t),R.updateIndexes(),d.hasEmptyBlock){const re=(0,o.xbp)(),me=0===R.length;if(Gi(r,re,me)){const ze=n+2,Tt=$h(r,ze);if(me){const Nt=om(s,ze),ln=null;Qc(Tt,es(r,Nt,void 0,{dehydratedView:ln}),0,vo(Nt,ln))}else s.firstUpdatePass&&Th(Tt),qf(Tt,0)}}}finally{(0,it.Ht)(t)}}function $h(e,t){return e[t]}function om(e,t){return(0,o.XRZ)(e,t)}function sm(e,t,n){const r=(0,o.OAn)();return Gi(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Nn((0,o.CpD)(),r,e,t,r[o.GpT],n)),sm}function am(e,t,n,r,s){Zl(t,e,n,s?"class":"style",r)}function du(e,t,n,r){const s=(0,o.OAn)(),d=s[o.eDl],g=e+o.Yw1,x=d.firstCreatePass?fp(g,s,2,t,Yi,(0,o.ckz)(),n,r):d.data[g];if((0,o.Qs1)(x)){const R=s[o.M0L].tracingService;if(R&&R.componentCreate)return R.componentCreate(vp(d.data[x.directiveStart+x.componentOffset]),()=>(B_(e,t,s,x,r),du))}return B_(e,t,s,x,r),du}function B_(e,t,n,r,s){if(gs(r,n,e,t,dm),(0,o.yoD)(r)){const d=n[o.eDl];J(d,n,r),rl(d,r,n)}null!=s&&Me(n,r)}function Gh(){const e=(0,o.klJ)(),n=Xl((0,o.Mx4)());return e.firstCreatePass&&pp(e,n),(0,o.UhH)(n)&&(0,o.krE)(),(0,o.N79)(),null!=n.classesWithoutHost&&function rn(e){return!!(8&e.flags)}(n)&&am(e,n,(0,o.OAn)(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function In(e){return!!(16&e.flags)}(n)&&am(e,n,(0,o.OAn)(),n.stylesWithoutHost,!1),Gh}function lm(e,t,n,r){return du(e,t,n,r),Gh(),lm}function Qh(e,t,n,r){const s=(0,o.OAn)(),d=s[o.eDl],g=e+o.Yw1,x=d.firstCreatePass?Wg(g,d,2,t,n,r):d.data[g];return gs(x,s,e,t,dm),null!=r&&Me(s,x),Qh}function Xh(){const t=Xl((0,o.Mx4)());return(0,o.UhH)(t)&&(0,o.krE)(),(0,o.N79)(),Xh}function cm(e,t,n,r){return Qh(e,t,n,r),Xh(),cm}let dm=(e,t,n,r,s)=>((0,o.m7n)(!0),Mc(t[o.GpT],r,(0,o.UaU)()));function Zh(e,t,n){const r=(0,o.OAn)(),s=r[o.eDl],d=e+o.Yw1,g=s.firstCreatePass?fp(d,r,8,"ng-container",Yi,(0,o.ckz)(),t,n):s.data[d];if(gs(g,r,e,"ng-container",fm),(0,o.yoD)(g)){const x=r[o.eDl];J(x,r,g),rl(x,g,r)}return null!=n&&Me(r,g),Zh}function uu(){const e=(0,o.klJ)(),n=Xl((0,o.Mx4)());return e.firstCreatePass&&pp(e,n),uu}function um(e,t,n){return Zh(e,t,n),uu(),um}function hm(e,t,n){const r=(0,o.OAn)(),s=r[o.eDl],d=e+o.Yw1,g=s.firstCreatePass?Wg(d,s,8,"ng-container",t,n):s.data[d];return gs(g,r,e,"ng-container",fm),null!=n&&Me(r,g),hm}function U_(){return Xl((0,o.Mx4)()),uu}let fm=(e,t,n,r,s)=>((0,o.m7n)(!0),_d(t[o.GpT],""));function z_(){return(0,o.OAn)()}function pm(e,t,n){const r=(0,o.OAn)();return Gi(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Mn((0,o.CpD)(),r,e,t,r[o.GpT],n)),pm}const hu=void 0;var LM=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],hu,[["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"]],hu,[["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\u202fa","h:mm:ss\u202fa","h:mm:ss\u202fa z","h:mm:ss\u202fa zzzz"],["{1}, {0}",hu,hu,hu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function NM(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let sd={};function mm(e){const t=function FM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=H_(t);if(n)return n;const r=t.split("-")[0];if(n=H_(r),n)return n;if("en"===r)return LM;throw new o.buA(701,!1)}function W_(e){return mm(e)[ad.PluralCase]}function H_(e){return e in sd||(sd[e]=o.laP.ng&&o.laP.ng.common&&o.laP.ng.common.locales&&o.laP.ng.common.locales[e]),sd[e]}var ad=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}(ad||{});const BM=["zero","one","two","few","many"],gm="en-US",Yh={marker:"element"},Jh={marker:"ICU"};var Is=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Is||{});let K_=gm;function zM(e){"string"==typeof e&&(K_=e.toLowerCase().replace(/_/g,"-"))}let fu=0,pu=0;let mu=(e,t,n,r)=>((0,o.m7n)(!0),function $_(e,t,n){const r=e[o.GpT];switch(n){case Node.COMMENT_NODE:return _d(r,t);case Node.TEXT_NODE:return fs(r,t);case Node.ELEMENT_NODE:return Mc(r,t,null)}}(e,n,r));function G_(e,t,n,r){const s=n[o.GpT];let g,d=null;for(let x=0;x<t.length;x++){const R=t[x];if("string"==typeof R){const re=t[++x];null===n[re]&&(n[re]=mu(n,0,R,Node.TEXT_NODE))}else if("number"==typeof R)switch(1&R){case 0:const re=vg(R);let me,ze;if(null===d&&(d=re,g=s.parentNode(r)),re===d?(me=r,ze=g):(me=null,ze=(0,o.IvY)(n[re])),null!==ze){const Gn=_g(R);Na(s,ze,n[Gn],me,!1);const Pr=Zd(e,Gn);if(null!==Pr&&"object"==typeof Pr){const Kn=Dh(Pr,n);null!==Kn&&G_(e,Pr.create[Kn],n,n[Pr.anchorIdx])}}break;case 1:const Nt=t[++x],ln=t[++x];co(s,(0,o.vaC)(R>>>1,n),null,null,Nt,ln,null)}else switch(R){case Jh:const re=t[++x],me=t[++x];null===n[me]&&vi(n[me]=mu(n,0,re,Node.COMMENT_NODE),n);break;case Yh:const ze=t[++x],Tt=t[++x];null===n[Tt]&&vi(n[Tt]=mu(n,0,ze,Node.ELEMENT_NODE),n)}}}
vendor: 4,166 bytes, line 503
503function Q_(e,t,n,r,s){for(let d=0;d<n.length;d++){const g=n[d],x=n[++d];if(g&s){let R="";for(let re=d+1;re<=d+x;re++){const me=n[re];if("string"==typeof me)R+=me;else if("number"==typeof me)if(me<0)R+=(0,o.eFE)(t[r-me]);else{const ze=me>>>2;switch(3&me){case 1:const Tt=n[++re],Nt=n[++re],ln=e.data[ze];"string"==typeof ln?co(t[o.GpT],t[ze],null,ln,Tt,R,Nt):Nn(ln,t,Tt,R,t[o.GpT],Nt);break;case 0:const Gn=t[ze];null!==Gn&&Ru(t[o.GpT],Gn,R);break;case 2:GM(e,Zd(e,ze),t,R);break;case 3:X_(e,Zd(e,ze),r,t)}}}}else{const R=n[d+1];if(R>0&&!(3&~R)){const me=Zd(e,R>>>2);t[me.currentCaseLViewIndex]<0&&X_(e,me,r,t)}}d+=x}}function X_(e,t,n,r){let s=r[t.currentCaseLViewIndex];if(null!==s){let d=fu;s<0&&(s=r[t.currentCaseLViewIndex]=~s,d=-1),Q_(e,r,t.update[s],n,d)}}function GM(e,t,n,r){const s=function QM(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function UM(e,t){const n=W_(t)(parseInt(e,10)),r=BM[n];return void 0!==r?r:"other"}(t,function VM(){return K_}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Dh(t,n)!==s&&(Z_(e,t,n),n[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const g=n[t.anchorIdx];g&&G_(e,t.create[s],n,g)}}function Z_(e,t,n){let r=Dh(t,n);if(null!==r){const s=t.remove[r];for(let d=0;d<s.length;d++){const g=s[d];if(g>0){const x=(0,o.vaC)(g,n);null!==x&&Ll(n[o.GpT],x)}else Z_(e,Zd(e,~g),n)}}}const qh=/\ufffd(\d+):?\d*\ufffd/gi,XM=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,ZM=/\ufffd(\d+)\ufffd/,J_=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,YM=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,JM=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,qM=/\uE500/g;function q_(e,t,n,r,s,d,g){const x=ia(e,r,1,null);let R=x<<Is.SHIFT,re=(0,o.Ab)();t===re&&(re=null),null===re&&(R|=Is.APPEND_EAGERLY),g&&(R|=Is.COMMENT,function rh(e){void 0===kc&&(kc=e())}(xy)),s.push(R,null===d?"":d);const me=rp(e,x,g?32:1,null===d?"":d,null);mg(n,me);const ze=me.index;return(0,o.iMd)(me,!1),null!==re&&t!==re&&function Ey(e,t){let n=e.insertBeforeIndex;null===n?(_h(fg,pg),n=e.insertBeforeIndex=[null,t]):((0,o.Xln)(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(re,ze),me}function n2(e,t,n,r,s,d,g,x){const R=x.match(qh),me=q_(t,n,r,g,s,R?null:x,!1).index;R&&ef(d,x,me,null,0,null),e.push({kind:0,index:me})}function ef(e,t,n,r,s,d){const g=e.length,x=g+1;e.push(null,null);const R=g+2,re=t.split(qh);let me=0;for(let ze=0;ze<re.length;ze++){const Tt=re[ze];if(1&ze){const Nt=s+parseInt(Tt,10);e.push(-1-Nt),me|=e0(Nt)}else""!==Tt&&e.push(Tt)}return e.push(n<<2|(r?1:0)),r&&e.push(r,d),e[g]=me,e[x]=e.length-R,me}function i2(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function e0(e){return 1<<Math.min(e,31)}function t0(e){let t,d,n="",r=0,s=!1;for(;null!==(t=YM.exec(e));)s?t[0]===`\ufffd/*${d}\ufffd`&&(r=t.index,s=!1):(n+=e.substring(r,t.index+t[0].length),d=t[1],s=!0);return n+=e.slice(r),n}function n0(e,t,n,r,s,d,g){let x=0;const R={type:d.type,currentCaseLViewIndex:ia(t,n,1,null),anchorIdx:g,cases:[],create:[],remove:[],update:[]};(function c2(e,t,n){e.push(e0(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(r,d,g),function Cy(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(t,g,R);const re=d.values,me=[];for(let ze=0;ze<re.length;ze++){const Tt=re[ze],Nt=[];for(let Gn=0;Gn<Tt.length;Gn++){const ur=Tt[Gn];if("string"!=typeof ur){const Pr=Nt.push(ur)-1;Tt[Gn]=`\x3c!--\ufffd${Pr}\ufffd--\x3e`}}const ln=[];me.push(ln),x=a2(ln,t,R,n,r,s,d.cases[ze],Tt.join(""),Nt)|x}x&&function d2(e,t,n){e.push(t,1,n<<2|3)}(r,x,g),e.push({kind:3,index:g,cases:me,currentCaseLViewIndex:R.currentCaseLViewIndex})}function s2(e){const t=[],n=[];let r=1,s=0;const d=vm(e=e.replace(J_,function(g,x,R){return r="select"===R?0:1,s=parseInt(x.slice(1),10),""}));for(let g=0;g<d.length;){let x=d[g++].trim();1===r&&(x=x.replace(/\s*(?:=)?(\w+)\s*/,"$1")),x.length&&t.push(x);const R=vm(d[g++]);t.length>n.length&&n.push(R)}return{type:r,mainBinding:s,cases:t,values:n}}function vm(e){if(!e)return[];let t=0;const n=[],r=[],s=/[{}]/g;let d;for(s.lastIndex=0;d=s.exec(e);){const x=d.index;if("}
503"==d[0]){if(n.pop(),0==n.length){const R=e.substring(t,x);J_.test(R)?r.push(s2(R)):r.push(R),t=x+1}}else{if(0==n.length){const R=e.substring(t,x);r.push(R),t=x+1}n.push("{")}}const g=e.substring(t);return r.push(g),r}function a2(e,t,n,r,s,d,g,x,R){const re=[],me=[],ze=[];n.cases.push(g),n.create.push(re),n.remove.push(me),n.update.push(ze);const Nt=na(Ee()).getInertBodyElement(x),ln=Mo(Nt)||Nt;return ln?r0(e,t,n,r,s,re,me,ze,ln,d,R,0):0}function r0(e,t,n,r,s,d,g,x,R,re,me,ze){let Tt=0,Nt=R.firstChild;for(;Nt;){const ln=ia(t,r,1,null);switch(Nt.nodeType){case Node.ELEMENT_NODE:const Gn=Nt,ur=Gn.tagName.toLowerCase();if(pd.hasOwnProperty(ur)){_m(d,Yh,ur,re,ln),t.data[ln]=ur;const ns=Gn.attributes;for(let $a=0;$a<ns.length;$a++){const dc=ns.item($a),df=dc.name.toLowerCase();dc.value.match(qh)?Nl.hasOwnProperty(df)&&ef(x,dc.value,ln,dc.name,0,s0(df)):Nl[df]&&o0(d,ln,dc.name,Iu[df]?"unsafe:blocked":dc.value)}const qi={kind:1,index:ln,children:[]};e.push(qi),Tt=r0(qi.children,t,n,r,s,d,g,x,Nt,ln,me,ze+1)|Tt,i0(g,ln,ze)}break;case Node.TEXT_NODE:const Pr=Nt.textContent||"",Kn=Pr.match(qh);_m(d,null,Kn?"":Pr,re,ln),i0(g,ln,ze),Kn&&(Tt=ef(x,Pr,ln,null,0,null)|Tt),e.push({kind:0,index:ln});break;case Node.COMMENT_NODE:const bi=ZM.exec(Nt.textContent||"");if(bi){const qi=me[parseInt(bi[1],10)];_m(d,Jh,"",re,ln),n0(e,t,r,s,re,qi,ln),l2(g,ln,ze)}}Nt=Nt.nextSibling}return Tt}function i0(e,t,n){0===n&&e.push(t)}function l2(e,t,n){0===n&&(e.push(~t),e.push(t))}function _m(e,t,n,r,s){null!==t&&e.push(t),e.push(n,s,function Dy(e,t,n){return e|t<<17|n<<1}(0,r,s))}function o0(e,t,n,r){e.push(t<<1|1,n,r)}const u2=new Set(Object.values(zu).flatMap(e=>e?Object.keys(e):[]));function s0(e){const t=e.toLowerCase();return Iu[t]?bc:u2.has(t)?Vu:null}const h2=/\[(\ufffd.+?\ufffd?)\]/,f2=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,p2=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,m2=/{([A-Z0-9_]+)}/g,g2=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,v2=/\/\*/,_2=/\d+\:(\d+)/;function l0(e,t,n=-1){const r=(0,o.klJ)(),s=(0,o.OAn)(),d=o.Yw1+e,g=(0,o.db4)(r.consts,t),x=(0,o.Ab)();r.firstCreatePass&&function t2(e,t,n,r,s,d){const g=(0,o.Ab)(),x=[],R=[],re=[[]],me=[[]];s=function o2(e,t){if(function yg(e){return-1===e}(t))return t0(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return t0(e.substring(n,r))}}(s,d);const ze=function e2(e){return e.replace(qM," ")}(s).split(JM);for(let Tt=0;Tt<ze.length;Tt++){let Nt=ze[Tt];if(1&Tt){const ln=47===Nt.charCodeAt(0),Gn=Nt.charCodeAt(ln?1:0),ur=o.Yw1+Number.parseInt(Nt.substring(ln?2:1));if(ln)re.shift(),me.shift(),(0,o.iMd)((0,o.Ab)(),!1);else{const Pr=My(e,re[0],ur);re.unshift([]),(0,o.iMd)(Pr,!0);const Kn={kind:2,index:ur,children:[],type:35===Gn?0:1};me[0].push(Kn),me.unshift(Kn.children)}}else{const ln=vm(Nt);for(let Gn=0;Gn<ln.length;Gn++){let ur=ln[Gn];if(1&Gn){const Pr=ur;if("object"!=typeof Pr)throw new Error(`Unable to parse ICU expression in "${s}" message.`);const bi=q_(e,g,re[0],n,x,"",!0).index;n0(me[0],e,n,R,t,Pr,bi)}else""!==ur&&n2(me[0],e,g,re[0],x,R,n,ur)}}}e.data[r]={create:x,update:R,ast:me[0],parentTNodeIndex:t}}(r,null===x?0:x.index,s,d,g,n),2===r.type?s[o.b5C][o.Wg1]|=32:s[o.Wg1]|=32;const R=r.data[d],me=ph(r,x===s[o.qlT]?null:x,s);(function $M(e,t,n,r){const s=e[o.GpT];for(let d=0;d<t.length;d++){const g=t[d++],re=(g&Is.APPEND_EAGERLY)===Is.APPEND_EAGERLY,me=g>>>Is.SHIFT;let ze=e[me],Tt=!1;null===ze&&(ze=e[me]=mu(e,0,t[d],(g&Is.COMMENT)===Is.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Tt=(0,o.SX7)()),re&&null!==n&&Tt&&Na(s,n,ze,r,!1)}})(s,R.create,me,x&&8&x.type?s[x.index]:null),(0,o.xyx)(!0)}function c0(){(0,o.xyx)(!1)}function bm(e,t,n){const r=(0,o.OAn)(),s=(0,o.klJ)(),d=(0,o.Mx4)();return Cm(s,r,r[o.GpT],d,e,t,n),bm}function ym(e,t,n){const r=(0,o.OAn)(),s=(0,o.klJ)(),d=(0,o.Mx4)();return(3&d.type||n)&&gp(d,s,r,n,r[o.GpT],e,t,bl(d,r,t)),ym}function Cm(e,t,n,r,s,d,g){let x=!0,R=null;if((3&r.type||g)&&(R??=bl(r,t,d),gp(r,e,t,g,n,s,d,R)&&(x=!1)),x){const re=r.outputs?.[s],me=r.hostDirectiveOutputs?.[s];if(me&&me.length)for(let ze=0;ze<me.length;ze+=2){const Tt=me[ze],Nt=me[ze+1];R??=bl(r,t,d),qc(r,t,Tt,Nt,s,R)}if(re&&re.length)for(const ze of re)R??=bl(r,t,d),qc(r,t,ze,s,s,R)}}function h0(e=1){return(0,o.jvu)(e)}function D2(e,t){let n=null;const r=function Xu(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 s=0;s<t.length;s++){const d=t[s];if("*"!==d){if(null===r?dl(e,d,!0):Zu(r,d))return s}else n=s}return n}function f0(e){const t=(0,o.OAn)()[o.b5C][o.qlT];if(!t.projection){const r=t.projection=(0,o.WfI)(e?e.length:1,null),s=r.slice();let d=t.child;for(;null!==d;){if(128!==d.type){const g=e?D2(d,e):0;null!==g&&(s[g]?s[g].projectionNext=d:r[g]=d,s[g]=d)}d=d.next}}}function p0(e,t=0,n,r,s,d){const g=(0,o.OAn)(),x=(0,o.klJ)(),R=r?e+1:null;
vendor: 18,846 bytes, line 503
503null!==R&&rc(g,x,R,r,s,d,null,n);const re=Yl(x,o.Yw1+e,16,null,n||null);null===re.projection&&(re.projection=t),(0,o.Pfq)();const ze=!g[o.tcA]||(0,o.KtD)();null===g[o.b5C][o.qlT].projection[re.projection]&&null!==R?function x2(e,t,n){const r=o.Yw1+n,s=t.data[r],d=e[r];Qc(d,es(e,s,void 0,{dehydratedView:null}),0,vo(s,null))}(g,x,R):ze&&!Ns(re)&&function a(e,t,n){l(t[o.GpT],0,t,n,Ud(e,n,t),mh(n.parent||t[o.qlT],n,t))}(x,g,re)}function Em(e,t,n,r){return fv(e,t,n,r),Em}function Mm(e,t,n){return hv(e,t,n),Mm}function m0(e){const t=(0,o.OAn)(),n=(0,o.klJ)(),r=(0,o.w7Z)();(0,o.GA0)(r+1);const s=Tp(n,r);if(e.dirty&&(0,o.vOT)(t)===!(2&~s.metadata.flags)){if(null===s.matches)e.reset([]);else{const d=mv(t,r);e.reset(d,$o),e.notifyOnChanges()}return!0}return!1}function g0(){return wp((0,o.OAn)(),(0,o.w7Z)())}function Dm(e,t,n,r,s){return gv(t,fv(e,n,r,s)),Dm}function xm(e,t,n,r){return gv(e,hv(t,n,r)),xm}function v0(e=1){(0,o.GA0)((0,o.w7Z)()+e)}function _0(e){const t=(0,o.VPL)();return(0,o.Hh6)(t,o.Yw1+e)}function tf(e,t){return e<<17|t<<2}function lc(e){return e>>17&32767}function wm(e){return 2|e}function ld(e){return(131068&e)>>2}function Tm(e,t){return-131069&e|t<<2}function Om(e){return 1|e}function b0(e,t,n,r){const s=e[n+1],d=null===t;let g=r?lc(s):ld(s),x=!1;for(;0!==g&&(!1===x||d);){const re=e[g+1];S2(e[g],t)&&(x=!0,e[g+1]=r?Om(re):wm(re)),g=r?lc(re):ld(re)}x&&(e[n+1]=r?wm(s):Om(s))}function S2(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&(0,o.FRF)(e,t)>=0}const Bo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function y0(e){return e.substring(Bo.key,Bo.keyEnd)}function k2(e){return e.substring(Bo.value,Bo.valueEnd)}function C0(e,t){const n=Bo.textEnd;return n===t?-1:(t=Bo.keyEnd=function N2(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Bo.key=t,n),cd(e,t,n))}function E0(e,t){const n=Bo.textEnd;let r=Bo.key=cd(e,t,n);return n===r?-1:(r=Bo.keyEnd=function L2(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=D0(e,r,n),r=Bo.value=cd(e,r,n),r=Bo.valueEnd=function F2(e,t,n){let r=-1,s=-1,d=-1,g=t,x=g;for(;g<n;){const R=e.charCodeAt(g++);if(59===R)return x;34===R||39===R?x=g=x0(e,R,g,n):t===g-4&&85===d&&82===s&&76===r&&40===R?x=g=x0(e,41,g,n):R>32&&(x=g),d=s,s=r,r=-33&R}return x}(e,r,n),D0(e,r,n))}function M0(e){Bo.key=0,Bo.keyEnd=0,Bo.value=0,Bo.valueEnd=0,Bo.textEnd=e.length}function cd(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function D0(e,t,n,r){return(t=cd(e,t,n))<n&&t++,t}function x0(e,t,n,r){let s=-1,d=n;for(;d<r;){const g=e.charCodeAt(d++);if(g==t&&92!==s)return d;s=92==g&&92===s?0:g}throw new Error}function Pm(e,t,n){return O0(e,t,n,!1),Pm}function Im(e,t){return O0(e,t,null,!0),Im}function w0(e){P0(k0,B2,e,!1)}function B2(e,t){for(let n=function R2(e){return M0(e),E0(e,cd(e,0,Bo.textEnd))}(t);n>=0;n=E0(t,n))k0(e,y0(t),k2(t))}function T0(e){P0(K2,U2,e,!0)}function U2(e,t){for(let n=function A2(e){return M0(e),C0(e,cd(e,0,Bo.textEnd))}(t);n>=0;n=C0(t,n))(0,o.ezK)(e,y0(t),!0)}function O0(e,t,n,r){const s=(0,o.OAn)(),d=(0,o.klJ)(),g=(0,o.b$O)(2);d.firstUpdatePass&&S0(d,e,g,r),t!==_i&&Gi(s,g,t)&&A0(d,d.data[(0,o._px)()],s,s[o.GpT],e,s[g+1]=function G2(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=(0,o.AsM)(ss(e)))),e}(t,n),r,g)}function P0(e,t,n,r){const s=(0,o.klJ)(),d=(0,o.b$O)(2);s.firstUpdatePass&&S0(s,null,d,r);const g=(0,o.OAn)();if(n!==_i&&Gi(g,d,n)){const x=s.data[(0,o._px)()];if(N0(x,r)&&!I0(s,d)){let R=r?x.classesWithoutHost:x.stylesWithoutHost;null!==R&&(n=(0,o.n$e)(R,n||"")),am(s,x,g,n,r)}else!function $2(e,t,n,r,s,d,g,x){s===_i&&(s=o.Mlv);let R=0,re=0,me=0<s.length?s[0]:null,ze=0<d.length?d[0]:null;for(;null!==me||null!==ze;){const Tt=R<s.length?s[R+1]:void 0,Nt=re<d.length?d[re+1]:void 0;let Gn,ln=null;me===ze?(R+=2,re+=2,Tt!==Nt&&(ln=ze,Gn=Nt)):null===ze||null!==me&&me<ze?(R+=2,ln=me):(re+=2,ln=ze,Gn=Nt),null!==ln&&A0(e,t,n,r,ln,Gn,g,x),me=R<s.length?s[R]:null,ze=re<d.length?d[re]:null}}(s,x,g,g[o.GpT],g[d+1],g[d+1]=function H2(e,t,n){if(null==n||""===n)return o.Mlv;const r=[],s=ss(n);if(Array.isArray(s))for(let d=0;d<s.length;d++)e(r,s[d],!0);else if(s instanceof Set)for(const d of s)e(r,d,!0);else if("object"==typeof s)for(const d in s)s.hasOwnProperty(d)&&e(r,d,s[d]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,d)}}function I0(e,t){return t>=e.expandoStartIndex}function S0(e,t,n,r){const s=e.data;if(null===s[n+1]){const d=s[(0,o._px)()],g=I0(e,n);N0(d,r)&&null===t&&!g&&(t=!1),t=function j2(e,t,n,r){const s=(0,o.MT)(e);let d=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=vu(n=Sm(null,e,t,n,r),t.attrs,r),d=null);else{const g=t.directiveStylingLast;if(-1===g||e[g]!==s)if(n=Sm(s,e,t,n,r),null===d){let R=function z2(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ld(r))return e[lc(r)]}(e,t,r);void 0!==R&&Array.isArray(R)&&(R=Sm(null,e,t,R[1],r),R=vu(R,t.attrs,r),function V2(e,t,n,r){e[lc(n?t.classBindings:t.styleBindings)]=r}(e,t,r,R))}else d=function W2(e,t,n){let r;const s=t.directiveEnd;for(let d=1+t.directiveStylingLast;d<s;d++)r=vu(r,e[d].hostAttrs,n);return vu(r,t.attrs,n)}(e,t,r)}return void 0!==d&&(r?t.residualClasses=d:t.residualStyles=d),n}(s,d,t,r),function P2(e,t,n,r,s,d){let g=d?t.classBindings:t.styleBindings,x=lc(g),R=ld(g);e[r]=n;let me,re=!1;if(Array.isArray(n)?(me=n[1],(null===me||(0,o.FRF)(n,me)>0)&&(re=!0)):me=n,s)if(0!==R){const Tt=lc(e[x+1]);e[r+1]=tf(Tt,x),0!==Tt&&(e[Tt+1]=Tm(e[Tt+1],r)),e[x+1]=function T2(e,t){return 131071&e|t<<17}(e[x+1],r)}else e[r+1]=tf(x,0),0!==x&&(e[x+1]=Tm(e[x+1],r)),x=r;else e[r+1]=tf(R,0),0===x?x=r:e[R+1]=Tm(e[R+1],r),R=r;re&&(e[r+1]=wm(e[r+1])),b0(e,me,r,!0),b0(e,me,r,!1),function I2(e,t,n,r,s){const d=s?e.residualClasses:e.residualStyles;null!=d&&"string"==typeof t&&(0,o.FRF)(d,t)>=0&&(n[r+1]=Om(n[r+1]))}(t,me,e,r,d),g=tf(x,R),d?t.classBindings=g:t.styleBindings=g}(s,d,t,n,g,r)}}function Sm(e,t,n,r,s){let d=null;const g=n.directiveEnd;let x=n.directiveStylingLast;for(-1===x?x=n.directiveStart:x++;x<g&&(d=t[x],r=vu(r,d.hostAttrs,s),d!==e);)x++;return null!==e&&(n.directiveStylingLast=x),r}function vu(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let d=0;d<t.length;d++){const g=t[d];"number"==typeof g?s=g:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),(0,o.ezK)(e,g,!!n||t[++d]))}return void 0===e?null:e}function k0(e,t,n){(0,o.ezK)(e,t,ss(n))}function K2(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&(0,o.ezK)(e,r,n)}function A0(e,t,n,r,s,d,g,x){if(!(3&t.type))return;const R=e.data,re=R[x+1],me=function O2(e){return!(1&~e)}(re)?R0(R,t,n,s,ld(re),g):void 0;nf(me)||(nf(d)||function w2(e){return!(2&~e)}(re)&&(d=R0(R,null,n,s,x,g)),function E(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let d=-1===r.indexOf("-")?void 0:Sc.DashCase;null==s?e.removeStyle(n,r,d):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),d|=Sc.Important),e.setStyle(n,r,s,d))}}(r,g,(0,o.vaC)((0,o._px)(),n),s,d))}function R0(e,t,n,r,s,d){const g=null===t;let x;for(;s>0;){const R=e[s],re=Array.isArray(R),me=re?R[1]:R,ze=null===me;let Tt=n[s+1];Tt===_i&&(Tt=ze?o.Mlv:void 0);let Nt=ze?(0,o.K7h)(Tt,r):me===r?Tt:void 0;if(re&&!nf(Nt)&&(Nt=(0,o.K7h)(R,r)),nf(Nt)&&(x=Nt,g))return x;const ln=e[s+1];s=g?lc(ln):ld(ln)}if(null!==t){let R=d?t.residualClasses:t.residualStyles;null!=R&&(x=(0,o.K7h)(R,r))}return x}function nf(e){return void 0!==e}function N0(e,t){return!!(e.flags&(t?8:16))}function L0(e,t=""){const n=(0,o.OAn)(),r=(0,o.klJ)(),s=e+o.Yw1,d=r.firstCreatePass?Yl(r,s,1,t,null):r.data[s],g=F0(r,n,d,t);n[s]=g,(0,o.SX7)()&&zd(r,n,g,d),(0,o.iMd)(d,!1)}let F0=(e,t,n,r)=>((0,o.m7n)(!0),fs(t[o.GpT],r));function B0(e,t){let n=!1,r=(0,o.c$7)();for(let d=1;d<t.length;d+=2)n=Gi(e,r++,t[d])||n;if((0,o.Kw3)(r),!n)return _i;let s=t[0];for(let d=1;d<t.length;d+=2)s+=(0,o.eFE)(t[d])+(d+1!==t.length?t[d+1]:"");return s}function U0(e,t,n,r=""){return Gi(e,(0,o.xbp)(),n)?t+(0,o.eFE)(n)+r:_i}function j0(e,t,n,r,s,d=""){const x=ec(e,(0,o.c$7)(),n,s);return(0,o.b$O)(2),x?t+(0,o.eFE)(n)+r+(0,o.eFE)(s)+d:_i}function z0(e,t,n,r,s,d,g,x=""){const re=kh(e,(0,o.c$7)(),n,s,g);return(0,o.b$O)(3),re?t+(0,o.eFE)(n)+r+(0,o.eFE)(s)+d+(0,o.eFE)(g)+x:_i}function V0(e,t,n,r,s,d,g,x,R,re=""){const ze=Gs(e,(0,o.c$7)(),n,s,g,R);return(0,o.b$O)(4),ze?t+(0,o.eFE)(n)+r+(0,o.eFE)(s)+d+(0,o.eFE)(g)+x+(0,o.eFE)(R)+re:_i}function W0(e,t,n,r,s,d,g,x,R,re,me,ze=""){const Tt=(0,o.c$7)();let Nt=Gs(e,Tt,n,s,g,R);return Nt=Gi(e,Tt+4,me)||Nt,(0,o.b$O)(5),Nt?t+(0,o.eFE)(n)+r+(0,o.eFE)(s)+d+(0,o.eFE)(g)+x+(0,o.eFE)(R)+re+(0,o.eFE)(me)+ze:_i}function H0(e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt=""){const ln=(0,o.c$7)();let Gn=Gs(e,ln,n,s,g,R);return Gn=ec(e,ln+4,me,Tt)||Gn,(0,o.b$O)(6),Gn?t+(0,o.eFE)(n)+r+(0,o.eFE)(s)+d+(0,o.eFE)(g)+x+(0,o.eFE)(R)+re+(0,o.eFE)(me)+ze+(0,o.eFE)(Tt)+Nt:_i}function K0(e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln,Gn=""){const ur=(0,o.c$7)();let Pr=Gs(e,ur,n,s,g,R);return Pr=kh(e,ur+4,me,Tt,ln)||Pr,(0,o.b$O)(7),Pr?t+(0,o.eFE)(n)+r+(0,o.eFE)(s)+d+(0,o.eFE)(g)+x+(0,o.eFE)(R)+re+(0,o.eFE)(me)+ze+(0,o.eFE)(Tt)+Nt+(0,o.eFE)(ln)+Gn:_i}function $0(e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln,Gn,ur,Pr=""){const Kn=(0,o.c$7)();let bi=Gs(e,Kn,n,s,g,R);return bi=Gs(e,Kn+4,me,Tt,ln,ur)||bi,(0,o.b$O)(8),bi?t+(0,o.eFE)(n)+r+(0,o.eFE)(s)+d+(0,o.eFE)(g)+x+(0,o.eFE)(R)+re+(0,o.eFE)(me)+ze+(0,o.eFE)(Tt)+Nt+(0,o.eFE)(ln)+Gn+(0,o.eFE)(ur)+Pr:_i}function km(e){return rf("",e),km}function rf(e,t,n){const r=(0,o.OAn)(),s=U0(r,e,t,n);return s!==_i&&Ka(r,(0,o._px)(),s),rf}function Am(e,t,n,r,s){const d=(0,o.OAn)(),g=j0(d,e,t,n,r,s);return g!==_i&&Ka(d,(0,o._px)(),g),Am}function Ka(e,t,n){const r=(0,o.vaC)(t,e);Ru(e[o.GpT],r,n)}function Rm(e,t,n){Jv(t)&&(t=t());const r=(0,o.OAn)();return Gi(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Nn((0,o.CpD)(),r,e,t,r[o.GpT],n)),Rm}function eb(e,t){const n=Jv(e);return n&&e.set(t),n}function Nm(e,t){const n=(0,o.OAn)(),r=(0,o.klJ)(),s=(0,o.Mx4)();return Cm(r,n,n[o.GpT],s,e,t),Nm}const tb={};function Lm(e){Ko("NgLet");const t=(0,o.klJ)(),n=(0,o.OAn)(),r=e+o.Yw1,s=Yl(t,r,128,null,null);return(0,o.iMd)(s,!1),(0,o.M_e)(t,n,r,tb),Lm}function nb(e){const t=(0,o.klJ)(),n=(0,o.OAn)(),r=(0,o._px)();return(0,o.M_e)(t,n,r,e),e}function rb(e){const t=(0,o.VPL)(),n=(0,o.Hh6)(t,o.Yw1+e);if(n===tb)throw new o.buA(314,!1);return n}function ib(e){return Gi((0,o.OAn)(),(0,o.xbp)(),e)?(0,o.eFE)(e):_i}function ob(e,t,n=""){return U0((0,o.OAn)(),e,t,n)}function sb(e,t,n,r,s=""){return j0((0,o.OAn)(),e,t,n,r,s)}function ab(e,t,n){const r=(0,o.klJ)();r.firstCreatePass&&lb(t,r.data,r.blueprint,(0,o.JlV)(e),n)}function lb(e,t,n,r,s){if(e=(0,o.nl4)(e),Array.isArray(e))for(let d=0;d<e.length;d++)lb(e[d],t,n,r,s);else{const d=(0,o.klJ)(),g=(0,o.OAn)(),x=(0,o.Mx4)();let R=(0,o.Y3W)(e)?e:(0,o.nl4)(e.provide);const re=(0,o.Rc9)(e),me=1048575&x.providerIndexes,ze=x.directiveStart,Tt=x.providerIndexes>>20;if((0,o.Y3W)(e)||!e.multi){const Nt=new yt(re,s,Yc,null),ln=Bm(R,t,s?me:me+Tt,ze);-1===ln?(Wr(tr(x,g),d,R),Fm(d,e,t.length),t.push(R),x.directiveStart++,x.directiveEnd++,s&&(x.providerIndexes+=1048576),n.push(Nt),g.push(Nt)):(n[ln]=Nt,g[ln]=Nt)}else{const Nt=Bm(R,t,me+Tt,ze),ln=Bm(R,t,me,me+Tt),ur=ln>=0&&n[ln];if(s&&!ur||!s&&!(Nt>=0&&n[Nt])){Wr(tr(x,g),d,R);const Pr=function sD(e,t,n,r,s){const g=new yt(e,n,Yc,null);return g.multi=[],g.index=t,g.componentProviders=0,cb(g,s,r&&!n),g}(s?oD:iD,n.length,s,r,re);!s&&ur&&(n[ln].providerFactory=Pr),Fm(d,e,t.length,0),t.push(R),x.directiveStart++,x.directiveEnd++,s&&(x.providerIndexes+=1048576),n.push(Pr),g.push(Pr)}else Fm(d,e,Nt>-1?Nt:ln,cb(n[s?ln:Nt],re,!s&&r));!s&&r&&ur&&n[ln].componentProviders++}}}function Fm(e,t,n,r){const s=(0,o.Y3W)(t),d=(0,o.MME)(t);if(s||d){const R=(d?(0,o.nl4)(t.useClass):t).prototype.ngOnDestroy;if(R){const re=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const me=re.indexOf(n);-1===me?re.push(n,[r,R]):re[me+1].push(r,R)}else re.push(n,R)}}}function cb(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Bm(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function iD(e,t,n,r,s){return Um(this.multi,[])}function oD(e,t,n,r,s){const d=this.multi;let g;if(this.providerFactory){const x=this.providerFactory.componentProviders,R=de(r,r[o.eDl],this.providerFactory.index,s);g=R.slice(0,x),Um(d,g);for(let re=x;re<R.length;re++)g.push(R[re])}else g=[],Um(d,g);return g}function Um(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function db(e,t){return n=>{n.providersResolver=(r,s)=>ab(r,s?s(e):e,!1),t&&(n.viewProvidersResolver=(r,s)=>ab(r,s?s(t):t,!0))}}function of(e){if("function"==typeof e)return e;const t=(0,o.Bqz)(e);return t.some(o.Jzi)?()=>t.map(o.nl4).map(ub):t.map(ub)}function ub(e){return up(e)?e.ngModule:e}function hb(e,t){const n=(0,o.gxQ)()+e,r=(0,o.OAn)();return r[n]===_i?ca(r,n,t()):Jc(r,n)}function fb(e,t,n){return vb((0,o.OAn)(),(0,o.gxQ)(),e,t,n)}function pb(e,t,n,r){return _b((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r)}function mb(e,t,n,r,s,d,g,x){const R=(0,o.gxQ)()+e,re=(0,o.OAn)(),me=Gs(re,R,n,r,s,d);return ec(re,R+4,g,x)||me?ca(re,R+6,t(n,r,s,d,g,x)):Jc(re,R+6)}function gb(e,t,n){return Cb((0,o.OAn)(),(0,o.gxQ)(),e,t,n)}function _u(e,t){const n=e[t];return n===_i?void 0:n}function vb(e,t,n,r,s,d){const g=t+n;return Gi(e,g,s)?ca(e,g+1,d?r.call(d,s):r(s)):_u(e,g+1)}function _b(e,t,n,r,s,d,g){const x=t+n;return ec(e,x,s,d)?ca(e,x+2,g?r.call(g,s,d):r(s,d)):_u(e,x+2)}function bb(e,t,n,r,s,d,g,x){const R=t+n;return kh(e,R,s,d,g)?ca(e,R+3,x?r.call(x,s,d,g):r(s,d,g)):_u(e,R+3)}function yb(e,t,n,r,s,d,g,x,R){const re=t+n;return Gs(e,re,s,d,g,x)?ca(e,re+4,R?r.call(R,s,d,g,x):r(s,d,g,x)):_u(e,re+4)}function Cb(e,t,n,r,s,d){let g=t+n,x=!1;for(let R=0;R<s.length;R++)Gi(e,g++,s[R])&&(x=!0);return x?ca(e,g,r.apply(d,s)):_u(e,g)}function Eb(e,t){const n=(0,o.klJ)();let r;const s=e+o.Yw1;n.firstCreatePass?(r=function mD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks??=[]).push(s,r.onDestroy)):r=n.data[s];const d=r.factory||(r.factory=(0,o.wGu)(r.type,!0)),x=(0,o.a2B)(Yc);try{const R=hr(!1),re=d();return hr(R),(0,o.M_e)(n,(0,o.OAn)(),s,re),re}finally{(0,o.a2B)(x)}}function Mb(e,t,n){const r=e+o.Yw1,s=(0,o.OAn)(),d=(0,o.Hh6)(s,r);return bu(s,r)?vb(s,(0,o.gxQ)(),t,d.transform,n,d):d.transform(n)}function Db(e,t,n,r){const s=e+o.Yw1,d=(0,o.OAn)(),g=(0,o.Hh6)(d,s);return bu(d,s)?_b(d,(0,o.gxQ)(),t,g.transform,n,r,g):g.transform(n,r)}function xb(e,t,n,r,s){const d=e+o.Yw1,g=(0,o.OAn)(),x=(0,o.Hh6)(g,d);return bu(g,d)?bb(g,(0,o.gxQ)(),t,x.transform,n,r,s,x):x.transform(n,r,s)}function bu(e,t){return e[o.eDl].data[t].pure}function wb(e,t){return Eh(e,t)}function sf(e,t,n,r,s){const d=s[o.eDl];if(d!==r.tView)for(let g=o.Yw1;g<d.bindingStartIndex;g++){const x=s[g];if((0,o.A0l)(x)){(0,o.q$2)(x[o.jgP])&&sf(e,t,n,r,x[o.jgP]);for(let R=o.Y20;R<x.length;R++)sf(e,t,n,r,x[R])}else(0,o.q$2)(x)&&sf(e,t,n,r,x)}else!function DD(e,t,n,r,s){const d=s[o.SKP];let g=s[o.jgP];const x=s[o.f7T],R=s[o.qlT],re=s[o.YEL].get(o.SKi,null),me=()=>{if(r.encapsulation===us.ShadowDom||r.encapsulation===us.ExperimentalIsolatedShadowDom){const ln=g.cloneNode(!1);g.replaceWith(ln),g=ln}const ze=Ua(n),Tt=Ul(x,ze,d,Oc(n),g,R,null,null,null,null,null);(function xD(e,t,n,r){for(let s=o.Yw1;s<e[o.eDl].bindingStartIndex;s++){const d=e[s];if(((0,o.q$2)(d)||(0,o.A0l)(d))&&d[o.K29]===t){d[o.K29]=n;break}}e[o.EJG]===t&&(e[o.EJG]=n),e[o.Yrj]===t&&(e[o.Yrj]=n),n[o.K29]=t[o.K29],t[o.K29]=null,e[r]=n})(x,s,Tt,R.index),Ql(s[o.eDl],s),qd(s);const Nt=s[o.M0L].rendererFactory;(function MD(e,t){e.componentReplaced?.(t.id)})(Nt,r),Tt[o.GpT]=Nt.createRenderer(g,n),uh(s[o.eDl],s),function wD(e){if(null!==e.projection){for(const t of e.projection)_n(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(R),ai(ze,Tt,d),ig(ze,Tt,ze.template,d)};null===re?Tb(e,t,me):re.run(()=>Tb(e,t,me))}(e,t,n,r,s)}function Tb(e,t,n){try{n()}catch(r){if(null!==t&&r.message){const d=r.message+(r.stack?"\n"+r.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:d,error:!0})}throw r}}const El={\u0275\u0275animateEnter:cu,\u0275\u0275animateEnterListener:function Hh(e){if(Ko("NgAnimateEnter"),!oa)return Hh;const t=(0,o.OAn)();if(jl(t))return Hh;const n=(0,o.Mx4)();return hl(Rc(t),n,()=>function bM(e,t,n){const r=(0,o.d31)(t,e);n.call(e[o.SKP],{target:r,animationComplete:Uf})}(t,n,e)),Wc(t[o.YEL]),Nd(t[o.YEL],Rc(t)),Hh},\u0275\u0275animateLeave:function Kh(e){if(Ko("NgAnimateLeave"),!oa)return Kh;const t=(0,o.OAn)();if(jl(t))return Kh;const r=(0,o.Mx4)(),s=t[o.YEL].get(o.SKi);return hl(ja(t),r,()=>function yM(e,t,n,r){const{promise:s,resolve:d}=Qp(),g=(0,o.d31)(t,e),x=e[o.GpT];pl.add(e[o.ID]),(ja(e).get(t.index).resolvers??=[]).push(d);const R=Nc(n);return R&&R.length>0?function CM(e,t,n,r,s,d){!function Sd(e,t){if(!oa)return;const n=Ca.get(e);if(n&&n.classList.length>0&&function zf(e,t){for(const n of t)if(e.classList.contains(n))return!0;return!1}(e,n.classList))for(const r of n.classList)t.removeClass(e,r);zl(e)}(e,s);const g=[],x=ja(n).get(t.index)?.resolvers;let R,re=!1;const me=ze=>{if((ul(ze)===e||"animation-fallback"===ze.type)&&("animation-fallback"===ze.type||Lc(ze,e))){if(re=!0,R&&clearTimeout(R),"animation-fallback"!==ze.type&&ze.stopPropagation(),Ea.delete(e),Pd(t,e),Array.isArray(t.projection))for(const Nt of r)s.removeClass(e,Nt);fl(x,g),Fc(n,t)}};d.runOutsideAngular(()=>{g.push(s.listen(e,"animationend",me)),g.push(s.listen(e,"transitionend",me))}),Id(t,e);for(const ze of r)s.addClass(e,ze);d.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(re)return;ah(e,Ea,oa);const ze=Ea.get(e);ze?(R=setTimeout(()=>{me(new CustomEvent("animation-fallback"))},ze.duration+50),g.push(()=>clearTimeout(R))):(Pd(t,e),fl(x,g),Fc(n,t))})})}(g,t,e,R,x,r):d(),{promise:s,resolve:d}}(t,r,e,s)),Wc(t[o.YEL]),Kh},\u0275\u0275animateLeaveListener:function tm(e){if(Ko("NgAnimateLeave"),!oa)return tm;const t=(0,o.OAn)(),n=(0,o.Mx4)();pl.add(t[o.ID]);const r=t[o.YEL].get(o.SKi),s=t[o.YEL].get(Nf);return hl(ja(t),n,()=>function EM(e,t,n,r,s){const{promise:d,resolve:g}=Qp(),x=(0,o.d31)(t,e),R=[],re=e[o.GpT],me=jl(e);(ja(e).get(t.index).resolvers??=[]).push(g);const ze=ja(e).get(t.index)?.resolvers;if(me)Hl(e,t,x,ze,R);else{const Tt=setTimeout(()=>Hl(e,t,x,ze,R),s),Nt={target:x,animationComplete:()=>{Hl(e,t,x,ze,R),clearTimeout(Tt)}};Id(t,x),r.runOutsideAngular(()=>{R.push(re.listen(x,"animationend",()=>{Hl(e,t,x,ze,R),clearTimeout(Tt)},{once:!0}))}),n.call(e[o.SKP],Nt)}return{promise:d,resolve:g}}(t,n,e,r,s)),Wc(t[o.YEL]),tm},\u0275\u0275attribute:em,\u0275\u0275defineComponent:Mv,\u0275\u0275defineDirective:wv,\u0275\u0275defineInjectable:o.jDH,\u0275\u0275defineInjector:o.G2t,\u0275\u0275defineNgModule:xv,\u0275\u0275definePipe:Tv,\u0275\u0275directiveInject:Yc,\u0275\u0275getIn
vendor: 9,822 bytes, line 503
503heritedFactory:Gr,\u0275\u0275inject:o.KVO,\u0275\u0275injectAttribute:fi,\u0275\u0275invalidFactory:Fg,\u0275\u0275invalidFactoryDep:o.dmw,\u0275\u0275templateRefExtractor:wb,\u0275\u0275resetView:o.Njj,\u0275\u0275HostDirectivesFeature:function uC(e){const t=n=>{const r=Array.isArray(e);null===n.hostDirectives?(n.resolveHostDirectives=hC,n.hostDirectives=r?e.map(Rp):[e]):r?n.hostDirectives.unshift(...e.map(Rp)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t},\u0275\u0275NgOnChangesFeature:Yn,\u0275\u0275ControlFeature:Iv,\u0275\u0275ProvidersFeature:db,\u0275\u0275InheritDefinitionFeature:Np,\u0275\u0275ExternalStylesFeature:function aD(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(s=>s+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+t.encapsulation))}},\u0275\u0275nextContext:h0,\u0275\u0275namespaceHTML:o.joV,\u0275\u0275namespaceMathML:o.By9,\u0275\u0275namespaceSVG:o.qSk,\u0275\u0275enableBindings:o.cSN,\u0275\u0275disableBindings:o.fuf,\u0275\u0275elementStart:du,\u0275\u0275elementEnd:Gh,\u0275\u0275element:lm,\u0275\u0275elementContainerStart:Zh,\u0275\u0275elementContainerEnd:uu,\u0275\u0275domElement:cm,\u0275\u0275domElementStart:Qh,\u0275\u0275domElementEnd:Xh,\u0275\u0275domElementContainer:function j_(e,t,n){return hm(e,t,n),U_(),j_},\u0275\u0275domElementContainerStart:hm,\u0275\u0275domElementContainerEnd:U_,\u0275\u0275domTemplate:Bp,\u0275\u0275domListener:ym,\u0275\u0275elementContainer:um,\u0275\u0275pureFunction0:hb,\u0275\u0275pureFunction1:fb,\u0275\u0275pureFunction2:pb,\u0275\u0275pureFunction3:function dD(e,t,n,r,s){return bb((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r,s)},\u0275\u0275pureFunction4:function uD(e,t,n,r,s,d,g){return yb((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r,s,d)},\u0275\u0275pureFunction5:function hD(e,t,n,r,s,d,g){const x=(0,o.gxQ)()+e,R=(0,o.OAn)(),re=Gs(R,x,n,r,s,d);return Gi(R,x+4,g)||re?ca(R,x+5,t(n,r,s,d,g)):Jc(R,x+5)},\u0275\u0275pureFunction6:mb,\u0275\u0275pureFunction7:function fD(e,t,n,r,s,d,g,x,R){const re=(0,o.gxQ)()+e,me=(0,o.OAn)();let ze=Gs(me,re,n,r,s,d);return kh(me,re+4,g,x,R)||ze?ca(me,re+7,t(n,r,s,d,g,x,R)):Jc(me,re+7)},\u0275\u0275pureFunction8:function pD(e,t,n,r,s,d,g,x,R,re){const me=(0,o.gxQ)()+e,ze=(0,o.OAn)(),Tt=Gs(ze,me,n,r,s,d);return Gs(ze,me+4,g,x,R,re)||Tt?ca(ze,me+8,t(n,r,s,d,g,x,R,re)):Jc(ze,me+8)},\u0275\u0275pureFunctionV:gb,\u0275\u0275getCurrentView:z_,\u0275\u0275restoreView:o.eBV,\u0275\u0275listener:bm,\u0275\u0275projection:p0,\u0275\u0275syntheticHostProperty:function V_(e,t,n){const r=(0,o.OAn)();if(Gi(r,(0,o.xbp)(),t)){const d=(0,o.klJ)(),g=(0,o.CpD)();Mn(g,r,e,t,Hc((0,o.MT)(d.data),g,r),n)}return V_},\u0275\u0275syntheticHostListener:function u0(e,t){const n=(0,o.Mx4)(),r=(0,o.OAn)(),s=(0,o.klJ)();return Cm(s,r,Hc((0,o.MT)(s.data),n,r),n,e,t),u0},\u0275\u0275pipeBind1:Mb,\u0275\u0275pipeBind2:Db,\u0275\u0275pipeBind3:xb,\u0275\u0275pipeBind4:function gD(e,t,n,r,s,d){const g=e+o.Yw1,x=(0,o.OAn)(),R=(0,o.Hh6)(x,g);return bu(x,g)?yb(x,(0,o.gxQ)(),t,R.transform,n,r,s,d,R):R.transform(n,r,s,d)},\u0275\u0275pipeBindV:function vD(e,t,n){const r=e+o.Yw1,s=(0,o.OAn)(),d=(0,o.Hh6)(s,r);return bu(s,r)?Cb(s,(0,o.gxQ)(),t,d.transform,n,d):d.transform.apply(d,n)},\u0275\u0275projectionDef:f0,\u0275\u0275domProperty:pm,\u0275\u0275ariaProperty:qp,\u0275\u0275property:sm,\u0275\u0275control:Xg,\u0275\u0275controlCreate:Gg,\u0275\u0275pipe:Eb,\u0275\u0275queryRefresh:m0,\u0275\u0275queryAdvance:v0,\u0275\u0275viewQuery:Mm,\u0275\u0275viewQuerySignal:xm,\u0275\u0275loadQuery:g0,\u0275\u0275contentQuery:Em,\u0275\u0275contentQuerySignal:Dm,\u0275\u0275reference:_0,\u0275\u0275classMap:T0,\u0275\u0275styleMap:w0,\u0275\u0275styleProp:Pm,\u0275\u0275classProp:Im,\u0275\u0275advance:th,\u0275\u0275template:Fp,\u0275\u0275conditional:A_,\u0275\u0275conditionalCreate:k_,\u0275\u0275conditionalBranchCreate:im,\u0275\u0275defer:function QE(e,t,n,r,s,d,g,x,R,re){const me=(0,o.OAn)(),ze=(0,o.klJ)(),Tt=e+o.Yw1,Nt=rc(me,ze,e,null,0,0),ln=me[o.YEL],Gn=ce(ln);if(ze.firstCreatePass){Ko("NgDefer");const $a={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:s??null,errorTmplIndex:d??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:_o.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:re??0};R?.(ze,$a,x,g),function TC(e,t,n){const r=su(t);e.data[r]=n}(ze,Tt,$a)}const ur=me[Tt];let Pr=null,Kn=null;if(ur[o.qFA]?.length>0){const $a=ur[o.qFA][0].data;Kn=$a.di??null,Pr=$a.s}const bi=[null,ed.Initial,null,null,null,null,Kn,Pr,null,null];!function wC(e,t,n){e[su(t)]=n}(me,Tt,bi);let ns=null;null!==Kn&&Gn&&(ns=ln.get(No),ns.add(Kn,{lView:me,tNode:Nt,lContainer:ur}));const qi=()=>{jv(bi),null!==Kn&&ns?.cleanup([Kn])};ou(0,bi,()=>(0,o.DyX)(me,qi)),(0,o.ik5)(me,qi)},\u0275\u0275deferWhen:function XE(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(uo(0,t,n)&&Gi(t,(0,o.xbp)(),e)){const s=(0,it.Ht)(null);try{const d=!!e,x=Os(t,n)[1];!1===d&&x===ed.Initial?id(t,n):!0===d&&(x===ed.Initial||x===Ni.Placeholder)&&sc(0,t,n)}finally{(0,it.Ht)(s)}}},\u0275\u0275deferOnIdle:function qE(){uo(0,(0,o.OAn)(),(0,o.Mx4)())&&C_(Uh)},\u0275\u0275deferOnImmediate:function nM(){const e=(0,o.OAn)(),t=(0,o.Mx4)();uo(0,e,t)&&(null===ts(e[o.eDl],t).loadingTmplIndex&&id(e,t),sc(0,e,t))},\u0275\u0275deferOnTimer:function oM(e){uo(0,(0,o.OAn)(),(0,o.Mx4)())&&C_(jh(e))},\u0275\u0275deferOnHover:function lM(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();uo(0,n,r)&&(id(n,r),rd(n,r,e,t,Rs,()=>sc(0,n,r),0))},\u0275\u0275deferOnInteraction:function uM(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();uo(0,n,r)&&(id(n,r),rd(n,r,e,t,Bs,()=>sc(0,n,r),0))},\u0275\u0275deferOnViewport:function pM(e,t,n){const r=(0,o.OAn)(),s=(0,o.Mx4)();uo(0,r,s)&&(id(r,s),rd(r,s,e,t,jp,()=>sc(0,r,s),0,n))},\u0275\u0275deferPrefetchWhen:function ZE(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(uo(1,t,n)&&Gi(t,(0,o.xbp)(),e)){const s=(0,it.Ht)(null);try{const d=!!e,x=ts(t[o.eDl],n);!0===d&&x.loadingState===_o.NOT_STARTED&&lu(x,t,n)}finally{(0,it.Ht)(s)}}},\u0275\u0275deferPrefetchOnIdle:function eM(){uo(1,(0,o.OAn)(),(0,o.Mx4)())&&E_(Uh)},\u0275\u0275deferPrefetchOnImmediate:function rM(){const e=(0,o.OAn)(),t=(0,o.Mx4)();if(!uo(1,e,t))return;const r=ts(e[o.eDl],t);r.loadingState===_o.NOT_STARTED&&Xp(r,e,t)},\u0275\u0275deferPrefetchOnTimer:function sM(e){uo(1,(0,o.OAn)(),(0,o.Mx4)())&&E_(jh(e))},\u0275\u0275deferPrefetchOnHover:function cM(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!uo(1,n,r))return;const d=ts(n[o.eDl],r);d.loadingState===_o.NOT_STARTED&&rd(n,r,e,t,Rs,()=>lu(d,n,r),1)},\u0275\u0275deferPrefetchOnInteraction:function hM(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!uo(1,n,r))return;const d=ts(n[o.eDl],r);d.loadingState===_o.NOT_STARTED&&rd(n,r,e,t,Bs,()=>lu(d,n,r),1)},\u0275\u0275deferPrefetchOnViewport:function mM(e,t,n){const r=(0,o.OAn)(),s=(0,o.Mx4)();if(!uo(1,r,s))return;const g=ts(r[o.eDl],s);g.loadingState===_o.NOT_STARTED&&rd(r,s,e,t,jp,()=>lu(g,r,s),1,n)},\u0275\u0275deferHydrateWhen:function YE(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(!uo(2,t,n))return;const r=(0,o.xbp)();if(Cl((0,o.klJ)(),n).set(6,null),Gi(t,r,e)){const g=t[o.YEL],x=(0,it.Ht)(null);try{1==!!e&&ac(g,Os(t,n)[6])}finally{(0,it.Ht)(x)}}},\u0275\u0275deferHydrateNever:function JE(){const e=(0,o.OAn)(),t=(0,o.Mx4)();uo(2,e,t)&&Cl((0,o.klJ)(),t).set(7,null)},\u0275\u0275deferHydrateOnIdle:function tM(){const e=(0,o.OAn)(),t=(0,o.Mx4)();uo(2,e,t)&&(Cl((0,o.klJ)(),t).set(0,null),M_(Uh,e,t))},\u0275\u0275deferHydrateOnImmediate:function iM(){const e=(0,o.OAn)(),t=(0,o.Mx4)();uo(2,e,t)&&(Cl((0,o.klJ)(),t).set(1,null),ac(e[o.YEL],Os(e,t)[6]))},\u0275\u0275deferHydrateOnTimer:function aM(e){const t=(0,o.OAn)(),n=(0,o.Mx4)();uo(2,t,n)&&(Cl((0,o.klJ)(),n).set(5,{type:5,delay:e}),M_(jh(e),t,n))},\u0275\u0275deferHydrateOnHover:function dM(){const e=(0,o.OAn)(),t=(0,o.Mx4)();uo(2,e,t)&&Cl((0,o.klJ)(),t).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function fM(){const e=(0,o.OAn)(),t=(0,o.Mx4)();uo(2,e,t)&&Cl((0,o.klJ)(),t).set(3,null)},\u0275\u0275deferHydrateOnViewport:function gM(e){const t=(0,o.OAn)(),n=(0,o.Mx4)();uo(2,t,n)&&Cl((0,o.klJ)(),n).set(2,e?{type:2,intersectionObserverOptions:e}:null)},\u0275\u0275deferEnableTimerScheduling:function zC(e,t,n,r){const s=e.consts;null!=n&&(t.placeholderBlockConfig=(0,o.db4)(s,n)),null!=r&&(t.loadingBlockConfig=(0,o.db4)(s,r)),null===Vp&&(Vp=jC)},\u0275\u0275repeater:F_,\u0275\u0275repeaterCreate:L_,\u0275\u0275repeaterTrackByIndex:R_,\u0275\u0275repeaterTrackByIdentity:N_,\u0275\u0275componentInstance:function MM(){return(0,o.OAn)()[o.b5C][o.SKP]},\u0275\u0275text:L0,\u0275\u0275textInterpolate:km,\u0275\u0275textInterpolate1:rf,\u0275\u0275textInterpolate2:Am,\u0275\u0275textInterpolate3:function G0(e,t,n,r,s,d,g){const x=(0,o.OAn)(),R=z0(x,e,t,n,r,s,d,g);return R!==_i&&Ka(x,(0,o._px)(),R),G0},\u0275\u0275textInterpolate4:function Q0(e,t,n,r,s,d,g,x,R){const re=(0,o.OAn)(),me=V0(re,e,t,n,r,s,d,g,x,R);return me!==_i&&Ka(re,(0,o._px)(),me),Q0},\u0275\u0275textInterpolate5:function X0(e,t,n,r,s,d,g,x,R,re,me){const ze=(0,o.OAn)(),Tt=W0(ze,e,t,n,r,s,d,g,x,R,re,me);return Tt!==_i&&Ka(ze,(0,o._px)(),Tt),X0},\u0275\u0275textInterpolate6:function Z0(e,t,n,r,s,d,g,x,R,re,me,ze,Tt){const Nt=(0,o.OAn)(),ln=H0(Nt,e,t,n,r,s,d,g,x,R,re,me,ze,Tt);return ln!==_i&&Ka(Nt,(0,o._px)(),ln),Z0},\u0275\u0275textInterpolate7:function Y0(e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln){const Gn=(0,o.OAn)(),ur=K0(Gn,e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln);return ur!==_i&&Ka(Gn,(0,o._px)(),ur),Y0},\u0275\u0275textInterpolate8:function J0(e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln,Gn,ur){const Pr=(0,o.OAn)(),Kn=$0(Pr,e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln,Gn,ur);return Kn!==_i&&Ka(Pr,(0,o._px)(),Kn),J0},\u0275\u0275textInterpolateV:function q0(e){const t=(0,o.OAn)(),n=B0(t,e);return n!==_i&&Ka(t,(0,o._px)(),n),q0}
vendor: 5,397 bytes, line 503
503,\u0275\u0275i18n:function y2(e,t,n){l0(e,t,n),c0()},\u0275\u0275i18nAttributes:function C2(e,t){const n=(0,o.klJ)(),r=(0,o.db4)(n.consts,t);!function r2(e,t,n){const s=(0,o.Mx4)().index,d=[];if(e.firstCreatePass&&null===e.data[t]){for(let g=0;g<n.length;g+=2){const x=n[g],R=n[g+1];if(""!==R){if(XM.test(R))throw new Error(`ICU expressions are not supported in attributes. Message: "${R}".`);ef(d,R,s,x,i2(d),s0(x))}}e.data[t]=d}}(n,e+o.Yw1,r)},\u0275\u0275i18nExp:function d0(e){return function WM(e){e&&(fu|=1<<Math.min(pu,31)),pu++}(Gi((0,o.OAn)(),(0,o.xbp)(),e)),d0},\u0275\u0275i18nStart:l0,\u0275\u0275i18nEnd:c0,\u0275\u0275i18nApply:function E2(e){!function HM(e,t,n){try{if(pu>0){const r=e.data[n];Q_(e,t,Array.isArray(r)?r:r.update,(0,o.c$7)()-pu-1,fu)}}finally{fu=0,pu=0}}((0,o.klJ)(),(0,o.OAn)(),e+o.Yw1)},\u0275\u0275i18nPostprocess:function M2(e,t={}){return function b2(e,t={}){let n=e;if(h2.test(e)){const r={},s=[0];n=n.replace(f2,(d,g,x)=>{const R=g||x,re=r[R]||[];if(re.length||(R.split("|").forEach(Gn=>{const ur=Gn.match(_2),Pr=ur?parseInt(ur[1],10):0,Kn=v2.test(Gn);re.push([Pr,Kn,Gn])}),r[R]=re),!re.length)throw new Error(`i18n postprocess: unmatched placeholder - ${R}`);const me=s[s.length-1];let ze=0;for(let Gn=0;Gn<re.length;Gn++)if(re[Gn][0]===me){ze=Gn;break}const[Tt,Nt,ln]=re[ze];return Nt?s.pop():me!==Tt&&s.push(Tt),re.splice(ze,1),ln})}return Object.keys(t).length&&(n=n.replace(p2,(r,s,d,g,x,R)=>t.hasOwnProperty(d)?`${s}${t[d]}${R}`:r),n=n.replace(m2,(r,s)=>t.hasOwnProperty(s)?t[s]:r),n=n.replace(g2,(r,s)=>{if(t.hasOwnProperty(s)){const d=t[s];if(!d.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${s}`);return d.shift()}return r})),n}(e,t)},\u0275\u0275resolveWindow:Dc,\u0275\u0275resolveDocument:Fa,\u0275\u0275resolveBody:function Hu(e){return e.ownerDocument.body},\u0275\u0275setComponentScope:function lD(e,t,n){const r=e.\u0275cmp;r.directiveDefs=Nh(t,Dv),r.pipeDefs=Nh(n,o.oyA)},\u0275\u0275setNgModuleScope:function cD(e,t){return bn(()=>{const n=(0,o.WbQ)(e);n.declarations=of(t.declarations||o.Mlv),n.imports=of(t.imports||o.Mlv),n.exports=of(t.exports||o.Mlv),t.bootstrap&&(n.bootstrap=of(t.bootstrap)),nu.registerNgModule(e,t)})},\u0275\u0275registerNgModuleType:bv,\u0275\u0275getComponentDepsFactory:function _D(e,t){return()=>{try{return nu.getComponentDependencies(e,t).dependencies}catch(n){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,n),n}}},\u0275setClassDebugInfo:function bD(e,t){const n=(0,o.xUg)(e);null!==n&&(n.debugInfo=t)},\u0275\u0275declareLet:Lm,\u0275\u0275storeLet:nb,\u0275\u0275arrowFunction:function rD(e,t,n){const r=(0,o.gxQ)()+e,s=(0,o.OAn)();return s[r]===_i?ca(s,r,t(n,s)):Jc(s,r)},\u0275\u0275readContextLet:rb,\u0275\u0275attachSourceLocations:function X2(e,t){const n=(0,o.klJ)(),r=(0,o.OAn)(),s=r[o.GpT],d="data-ng-source-location";for(const[g,x,R,re]of t){(0,o.XRZ)(n,g+o.Yw1);const ze=(0,o.vaC)(g+o.Yw1,r);ze.hasAttribute(d)||s.setAttribute(ze,d,`${e}@o:${x},l:${R},c:${re}`)}},\u0275\u0275interpolate:ib,\u0275\u0275interpolate1:ob,\u0275\u0275interpolate2:sb,\u0275\u0275interpolate3:function Z2(e,t,n,r,s,d,g=""){return z0((0,o.OAn)(),e,t,n,r,s,d,g)},\u0275\u0275interpolate4:function Y2(e,t,n,r,s,d,g,x,R=""){return V0((0,o.OAn)(),e,t,n,r,s,d,g,x,R)},\u0275\u0275interpolate5:function J2(e,t,n,r,s,d,g,x,R,re,me=""){return W0((0,o.OAn)(),e,t,n,r,s,d,g,x,R,re,me)},\u0275\u0275interpolate6:function q2(e,t,n,r,s,d,g,x,R,re,me,ze,Tt=""){return H0((0,o.OAn)(),e,t,n,r,s,d,g,x,R,re,me,ze,Tt)},\u0275\u0275interpolate7:function eD(e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln=""){return K0((0,o.OAn)(),e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln)},\u0275\u0275interpolate8:function tD(e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln,Gn,ur=""){return $0((0,o.OAn)(),e,t,n,r,s,d,g,x,R,re,me,ze,Tt,Nt,ln,Gn,ur)},\u0275\u0275interpolateV:function nD(e){return B0((0,o.OAn)(),e)},\u0275\u0275sanitizeHtml:Uu,\u0275\u0275sanitizeStyle:function ws(e){const t=La();return t?t.sanitize(_a.STYLE,e)||"":ka(e,"Style")?ss(e):(0,o.eFE)(e)},\u0275\u0275sanitizeResourceUrl:Cd,\u0275\u0275sanitizeScript:function ju(e){const t=La();if(t)return Ft(t.sanitize(_a.SCRIPT,e)||"");if(ka(e,"Script"))return Ft(ss(e));throw new o.buA(905,!1)},\u0275\u0275validateAttribute:Vu,\u0275\u0275sanitizeUrl:yd,\u0275\u0275sanitizeUrlOrResourceUrl:no,\u0275\u0275trustConstantHtml:function ll(e){return os(e[0])},\u0275\u0275trustConstantResourceUrl:function cl(e){return function Rl(e){return Al()?.createScriptURL(e)||e}(e[0])},forwardRef:o.Rfq,resolveForwardRef:o.nl4,\u0275\u0275twoWayProperty:Rm,\u0275\u0275twoWayBindingSet:eb,\u0275\u0275twoWayListener:Nm,\u0275\u0275replaceMetadata:function CD(e,t,n,r,s=null,d=null){const g=(0,o.xUg)(e);t.apply(null,[e,n,...r]);const{newDef:x,oldDef:R}=function ED(e,t){const n={...e};return{newDef:Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}(g,(0,o.xUg)(e));if(e[o.CQl]=x,R.tView){const re=function ls(){return so}().values();for(const me of re)(0,o.EFk)(me)&&null===me[o.f7T]&&sf(s,d,x,R,me)}},\u0275\u0275getReplaceMetadataURL:function yD(e,t,n){const r=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(r,n).href}};let dd=null;function TD(e){null!==dd&&(e.defaultEncapsulation!==dd.defaultEncapsulation||e.preserveWhitespace
vendor: 10,569 bytes, line 503
503s!==dd.preserveWhitespaces)||(dd=e)}const yu=[];function Ab(e){return up(e)?e.ngModule:e}const KD=Kr("NgModule",e=>e,void 0,0,(e,t)=>function SD(e,t={}){(function kD(e,t){const r=(0,o.Bqz)(t.declarations||o.Mlv);let s=null;Object.defineProperty(e,o.hmW,{configurable:!0,get:()=>(null===s&&(s=Re().compileNgModule(El,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,o.Bqz)(t.bootstrap||o.Mlv).map(o.nl4),declarations:r.map(o.nl4),imports:(0,o.Bqz)(t.imports||o.Mlv).map(o.nl4).map(Ab),exports:(0,o.Bqz)(t.exports||o.Mlv).map(o.nl4).map(Ab),schemas:t.schemas?(0,o.Bqz)(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])),s)});let d=null;Object.defineProperty(e,o.zSs,{get:()=>{if(null===d){const x=Re();d=x.compileFactory(El,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:pi(e),target:x.FactoryTarget.NgModule,typeArgumentCount:0})}return d},configurable:!1});let g=null;Object.defineProperty(e,o.ONQ,{get:()=>{if(null===g){const x={name:e.name,type:e,providers:t.providers||o.Mlv,imports:[(t.imports||o.Mlv).map(o.nl4),(t.exports||o.Mlv).map(o.nl4)]};g=Re().compileInjector(El,`ng:///${e.name}/\u0275inj.js`,x)}return g},configurable:!1})})(e,t),void 0!==t.id&&bv(e,t.id),function PD(e,t){yu.push({moduleType:e,ngModule:t})}(e,t)}(e,t));class $D{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let GD=(()=>{class e{compileModuleSync(n){return new Cv(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),d=ps((0,o.phH)(n).declarations).reduce((g,x)=>{const R=(0,o.xUg)(x);return R&&g.push(new Ah(R)),g},[]);return new $D(r,d)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const QD=new o.nKC("");let XD=(()=>{class e{applicationErrorHandler=(0,o.WQX)(o.ZTf);appRef=(0,o.WQX)(Gp);taskService=(0,o.WQX)(o.rev);ngZone=(0,o.WQX)(o.SKi);zonelessEnabled=(0,o.WQX)(o.Evm);tracing=(0,o.WQX)(za,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new tn.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(o.AbJ):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,o.WQX)(o.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?o.uiq:o.l4E;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(o.AbJ+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $b(){return[{provide:o.hk6,useExisting:XD},{provide:o.SKi,useClass:o.myG},{provide:o.Evm,useValue:!0}]}const Gb=new o.nKC("",{factory:()=>(0,o.WQX)(Gb,{optional:!0,skipSelf:!0})||function ZD(){return typeof $localize<"u"&&$localize.locale||gm}()}),YD=new o.nKC("",{factory:()=>"USD"})},5824(vt,Y,i){i.d(Y,{Ag:()=>ht,Bg:()=>le,EF:()=>an,H8:()=>_e,Ht:()=>y,JC:()=>u,KE:()=>k,KO:()=>Le,KZ:()=>We,Ny:()=>Vt,TO:()=>G,Wu:()=>ge,XR:()=>Be,a7:()=>Q,bh:()=>T,j2:()=>tt,lh:()=>gt,mC:()=>pt,mK:()=>D,n5:()=>Ne,nR:()=>O,pL:()=>v,s0:()=>ot,si:()=>Te,vX:()=>M});let h=null,b=!1,c=1;const T=Symbol("SIGNAL");function y(pe){const lt=h;return h=pe,lt}function O(){return h}function k(){return b}const v={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function D(pe){if(b)throw new Error("");if(null===h)return;h.consumerOnSignalRead(pe);const lt=h.producersTail;if(void 0!==lt&&lt.producer===pe)return;let Rt;const Yt=h.recomputing;if(Yt&&(Rt=void 0!==lt?lt.nextProducer:h.producers,void 0!==Rt&&Rt.producer===pe))return h.producersTail=Rt,void(Rt.lastReadVersion=pe.version);const Ut=pe.consumersTail;if(void 0!==Ut&&Ut.consumer===h&&(!Yt||function H(pe,lt){const Rt=lt.producersTail;if(void 0!==Rt){let Yt=lt.producers;do{if(Yt===pe)return!0;if(Yt===Rt)break;Yt=Yt.nextProducer}while(void 0!==Yt)}return!1}(Ut,h)))return;const jt=ye(h),zt={producer:pe,consumer:h,nextProducer:Rt,prevConsumer:Ut,lastReadVersion:pe.version,nextConsumer:void 0};h.producersTail=zt,void 0!==lt?lt.nextProducer=zt:h.producers=zt,jt&&we(pe,zt)}function u(pe){if((!ye(pe)||pe.dirty)&&(pe.dirty||pe.lastCleanEpoch!==c)){if(!pe.producerMustRecompute(pe)&&!Te(pe))return void G(pe);pe.producerRecomputeValue(pe),G(pe)}}function W(pe){if(void 0===pe.consumers)return;const lt=b;b=!0;try{for(let Rt=pe.consumers;void 0!==Rt;Rt=Rt.nextConsumer){const Yt=Rt.consumer;Yt.dirty||se(Yt)}}finally{b=lt}}function z(){return!1!==h?.consumerAllowSignalWrites}function se(pe){pe.dirty=!0,W(pe),pe.consumerMarkedDirty?.(pe)}function G(pe){pe.dirty=!1,pe.lastCleanEpoch=c}function le(pe){return pe&&function _(pe){pe.producersTail=void 0,pe.recomputing=!0}(pe),y(pe)}function ge(pe,lt){y(lt),pe&&function q(pe){pe.recomputing=!1;const lt=pe.producersTail;let Rt=void 0!==lt?lt.nextProducer:pe.producers;if(void 0!==Rt){if(ye(pe))do{Rt=X(Rt)}while(void 0!==Rt);void 0!==lt?lt.nextProducer=void 0:pe.producers=void 0}}(pe)}function Te(pe){for(let lt=pe.producers;void 0!==lt;lt=lt.nextProducer){const Rt=lt.producer,Yt=lt.lastReadVersion;if(Yt!==Rt.version||(u(Rt),Yt!==Rt.version))return!0}return!1}function Be(pe){if(ye(pe)){let lt=pe.producers;for(;void 0!==lt;)lt=X(lt)}pe.producers=void 0,pe.producersTail=void 0,pe.consumers=void 0,pe.consumersTail=void 0}function we(pe,lt){const Rt=pe.consumersTail,Yt=ye(pe);if(void 0!==Rt?(lt.nextConsumer=Rt.nextConsumer,Rt.nextConsumer=lt):(lt.nextConsumer=void 0,pe.consumers=lt),lt.prevConsumer=Rt,pe.consumersTail=lt,!Yt)for(let Ut=pe.producers;void 0!==Ut;Ut=Ut.nextProducer)we(Ut.producer,Ut)}function X(pe){const lt=pe.producer,Rt=pe.nextProducer,Yt=pe.nextConsumer,Ut=pe.prevConsumer;if(pe.nextConsumer=void 0,pe.prevConsumer=void 0,void 0!==Yt?Yt.prevConsumer=Ut:lt.consumersTail=Ut,void 0!==Ut)Ut.nextConsumer=Yt;else if(lt.consumers=Yt,!ye(lt)){let jt=lt.producers;for(;void 0!==jt;)jt=X(jt)}return Rt}function ye(pe){return pe.consumerIsAlwaysLive||void 0!==pe.consumers}function Q(pe){}function _e(pe,lt){return Object.is(pe,lt)}function We(pe,lt){const Rt=Object.create(Et);Rt.computation=pe,void 0!==lt&&(Rt.equal=lt);const Yt=()=>{if(u(Rt),D(Rt),Rt.value===an)throw Rt.error;return Rt.value};return Yt[T]=Rt,Yt}const ht=Symbol("UNSET"),Vt=Symbol("COMPUTING"),an=Symbol("ERRORED"),Et={...v,value:ht,dirty:!0,error:null,equal:_e,kind:"computed",producerMustRecompute:pe=>pe.value===ht||pe.value===Vt,producerRecomputeValue(pe){if(pe.value===Vt)throw new Error("");const lt=pe.value;pe.value=Vt;const Rt=le(pe);let Yt,Ut=!1;try{Yt=pe.computation(),y(null),Ut=lt!==ht&&lt!==an&&Yt!==an&&pe.equal(lt,Yt)}catch(jt){Yt=an,pe.error=jt}finally{ge(pe,Rt)}Ut?pe.value=lt:(pe.value=Yt,pe.version++)}};let at=function Gt(){throw new Error};function Ve(pe){at(pe)}function Le(pe){at=pe}function Ne(pe,lt){const Rt=Object.create(ot);Rt.value=pe,void 0!==lt&&(Rt.equal=lt);const Yt=()=>function qe(pe){return D(pe),pe.value}(Rt);return Yt[T]=Rt,[Yt,zt=>tt(Rt,zt),zt=>pt(Rt,zt)]}function tt(pe,lt){z()||Ve(pe),pe.equal(pe.value,lt)||(pe.value=lt,function At(pe){pe.version++,function m(){c++}(),W(pe)}(pe))}function pt(pe,lt){z()||Ve(pe),tt(pe,lt(pe.value))}const ot={...v,equal:_e,value:void 0,kind:"signal"},M={...v,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function gt(pe){if(pe.dirty=!1,pe.version>0&&!Te(pe))return;pe.version++;const lt=le(pe);try{pe.cleanup(),pe.fn()}finally{ge(pe,lt)}}},5802(vt,Y,i){i.d(Y,{JEi:()=>to,Isx:()=>Ao,EJG:()=>Go,Yrj:()=>as,VVG:()=>di,Y20:()=>Co,SKP:()=>zo,hk6:()=>vc,eVN:()=>bs,b5C:()=>ko,rQE:()=>Qo,X5O:()=>yo,qFA:()=>Xo,qQL:()=>be,dUD:()=>z,abz:()=>ut,tQN:()=>vi,pcR:()=>ho,oMQ:()=>ao,Mlv:()=>Wr,MZA:()=>ci,M0L:()=>Zi,Z63:()=>Ur,Ap:()=>se,dTm:()=>Sa,VML:()=>_c,uvJ:()=>Li,zcH:()=>mc,bkB:()=>zr,Wg1:()=>gi,Yw1:()=>lo,jgP:()=>$o,tcA:()=>oo,ID:()=>ui,YEL:()=>Vo,B9r:()=>Vi,GBX:()=>ei,ZTf:()=>tl,nKC:()=>nn,zZn:()=>ce,rJ1:()=>hn,nfM:()=>Wo,s6P:()=>ji,K29:()=>rs,CQl:()=>ct,p9y:()=>Pt,zSs:()=>Se,ONQ:()=>it,hmW:()=>ee,yAH:()=>o,SKi:()=>ds,myG:()=>Cu,oTH:()=>xi,Czx:()=>
503Ui,f7T:()=>io,wVl:()=>ls,GYQ:()=>wu,u5s:()=>il,rev:()=>xr,Ds7:()=>Bi,e5P:()=>pi,Iaj:()=>eo,GpT:()=>so,buA:()=>le,AQb:()=>hd,jNX:()=>Qt,eDl:()=>So,qlT:()=>jo,bm_:()=>vs,RxE:()=>u,r4V:()=>gc,ok8:()=>G,Evm:()=>xu,laP:()=>q,EYC:()=>Si,AbJ:()=>qo,ng7:()=>Xr,llW:()=>pn,gsJ:()=>nt,GZS:()=>Rn,iYM:()=>Lt,PEr:()=>gr,z7f:()=>At,LZP:()=>M,Xln:()=>at,yzR:()=>nr,TWe:()=>zn,LIA:()=>Gt,GWr:()=>qe,pbo:()=>tt,bBq:()=>Jn,Af3:()=>bo,zQk:()=>Dr,oZy:()=>Ee,tF7:()=>gt,ZFY:()=>un,cP4:()=>qn,MdC:()=>Xn,XvL:()=>Ne,KET:()=>Un,Tkx:()=>je,iw4:()=>Ve,tdH:()=>uf,pr_:()=>lt,IAh:()=>He,U45:()=>Vt,WrV:()=>an,kNT:()=>pe,MI:()=>Pe,biv:()=>ve,ZQF:()=>Le,Cv0:()=>Et,W0r:()=>yn,R2n:()=>gn,O8q:()=>st,VKj:()=>Ce,Rom:()=>It,z6V:()=>qr,n$e:()=>Q,hjC:()=>dr,Pz9:()=>De,PQT:()=>ft,VX4:()=>Kt,_Z$:()=>Ht,N79:()=>Ys,xLP:()=>hr,QZP:()=>hs,A7J:()=>K,BI7:()=>$,U7d:()=>Bn,uXy:()=>Xe,nZS:()=>en,ihb:()=>Xa,ID8:()=>Za,gv8:()=>nl,dwj:()=>X,Bqz:()=>Zr,OsK:()=>ge,Rfq:()=>_e,c$7:()=>kr,gxQ:()=>yr,ckz:()=>xa,kLh:()=>we,xUg:()=>vn,KdJ:()=>Ii,db4:()=>$i,VPL:()=>he,MT:()=>qs,Z9v:()=>ua,Ab:()=>S,w7Z:()=>Ml,Mx4:()=>Es,veI:()=>Us,HaV:()=>Zn,Agf:()=>jn,znI:()=>Qa,wGu:()=>Ir,ebl:()=>Mt,OAn:()=>po,_0$:()=>Ss,UaU:()=>el,vaC:()=>fr,d31:()=>Or,ZRn:()=>Br,phH:()=>Xt,WbQ:()=>Jt,WB9:()=>Jr,d_l:()=>Ro,vNG:()=>Ga,oyA:()=>Tn,_px:()=>wl,CpD:()=>js,XRZ:()=>li,klJ:()=>Cs,oKB:()=>Qn,Fje:()=>Da,b$O:()=>Ms,SMZ:()=>Be,WQX:()=>Wn,MzJ:()=>yt,jXY:()=>Di,MME:()=>$r,JlV:()=>vr,Qs1:()=>ke,srX:()=>j,vOT:()=>Eo,YWB:()=>N,EPY:()=>fe,yoD:()=>kt,P3H:()=>Ot,Jzi:()=>ht,rFz:()=>Je,JjR:()=>Ho,M6u:()=>Xi,KtD:()=>Js,muV:()=>jt,A0l:()=>ie,q$2:()=>ne,yP_:()=>Cn,EFk:()=>te,UhH:()=>Ls,QuC:()=>$e,Y3W:()=>Gr,K7h:()=>tr,FRF:()=>Ar,ezK:()=>An,m7n:()=>Pa,niQ:()=>Ja,krE:()=>As,bll:()=>Oa,Hh6:()=>wi,EmA:()=>Mi,blu:()=>Zo,HAh:()=>zi,WfI:()=>Dt,xbp:()=>Yo,jvu:()=>qa,Rc9:()=>Hi,E6O:()=>Ei,DyX:()=>Xs,eFE:()=>Ct,dMS:()=>is,HUe:()=>Ai,nl4:()=>We,N4e:()=>Uo,XaM:()=>Z,uiq:()=>Ri,l4E:()=>Ti,Kw3:()=>ki,vQI:()=>No,RZ9:()=>Ns,GA0:()=>Dl,iMd:()=>U,Pfq:()=>V,xyx:()=>Ds,a2B:()=>bt,kcM:()=>Kr,DFp:()=>bn,P2g:()=>dt,cBl:()=>Fn,ypq:()=>Jo,vPA:()=>Du,HO5:()=>Sl,M_e:()=>jr,B22:()=>Zs,ik5:()=>Qs,AsM:()=>ye,PP7:()=>Ze,$8:()=>ot,$Hz:()=>
vendor: 32,990 bytes, line 503
503On,kU6:()=>ae,zAe:()=>$n,IvY:()=>Ln,_gW:()=>fo,F1c:()=>Ki,ITl:()=>ti,brz:()=>et,jRZ:()=>_s,SX7:()=>fa,jDH:()=>Rt,G2t:()=>Yt,fuf:()=>Fs,cSN:()=>ys,KVO:()=>Sn,dmw:()=>or,joV:()=>Tl,By9:()=>ha,qSk:()=>zs,Njj:()=>Rs,eBV:()=>Bs});var h=i(5824),b=i(4412),c=i(1985),C=i(1413),T=i(8359);let y;function O(){return y}function k(P){const oe=y;return y=P,oe}const v=Symbol("NotFound");function m(P){return P===v||"\u0275NotFound"===P?.name}Error;class u{full;major;minor;patch;constructor(oe){this.full=oe;const Fe=oe.split(".");this.major=Fe[0],this.minor=Fe[1],this.patch=Fe.slice(2).join(".")}}const W=new u("21.2.13"),z=(()=>{const P=W.full;return`https://${P.includes("-next")||P.includes("-rc")||"0.0.0-PLACEHOLDER"===P?"next":`v${W.major}`}.angular.dev`})(),se=`${z}/errors`,G="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class le extends Error{code;constructor(oe,Fe){super(ge(oe,Fe)),this.code=oe}}function ge(P,oe){return`${function _(P){return`NG0${Math.abs(P)}`}(P)}${oe?": "+oe:""}`}const q=globalThis;function Be(){return!1}function we(P){for(let oe in P)if(P[oe]===we)return oe;throw Error("")}function X(P,oe){for(const Fe in oe)oe.hasOwnProperty(Fe)&&!P.hasOwnProperty(Fe)&&(P[Fe]=oe[Fe])}function ye(P){if("string"==typeof P)return P;if(Array.isArray(P))return`[${P.map(ye).join(", ")}]`;if(null==P)return""+P;const oe=P.overriddenName||P.name;if(oe)return`${oe}`;const Fe=P.toString();if(null==Fe)return""+Fe;const Ft=Fe.indexOf("\n");return Ft>=0?Fe.slice(0,Ft):Fe}function Q(P,oe){return P?oe?`${P} ${oe}`:P:oe||""}function ae(P,oe=100){if(!P||oe<1||P.length<=oe)return P;if(1==oe)return P.substring(0,1)+"...";const Fe=Math.round(oe/2);return P.substring(0,Fe)+"..."+P.substring(P.length-Fe)}const H=we({__forward_ref__:we});function _e(P){return P.__forward_ref__=_e,P}function We(P){return ht(P)?P():P}function ht(P){return"function"==typeof P&&P.hasOwnProperty(H)&&P.__forward_ref__===_e}function Vt(P,oe){"number"!=typeof P&&ot(oe,typeof P,"number","===")}function an(P,oe,Fe){Vt(P,"Expected a number"),function Ae(P,oe,Fe){P<=oe||ot(Fe,P,oe,"<=")}(P,Fe,"Expected number to be less than or equal to"),tt(P,oe,"Expected number to be greater than or equal to")}function Et(P,oe){"string"!=typeof P&&ot(oe,null===P?"null":typeof P,"string","===")}function Gt(P,oe){"function"!=typeof P&&ot(oe,null===P?"null":typeof P,"function","===")}function at(P,oe,Fe){P!=oe&&ot(Fe,P,oe,"==")}function Ve(P,oe,Fe){P==oe&&ot(Fe,P,oe,"!=")}function Le(P,oe,Fe){P!==oe&&ot(Fe,P,oe,"===")}function He(P,oe,Fe){P===oe&&ot(Fe,P,oe,"!==")}function Ne(P,oe,Fe){P<oe||ot(Fe,P,oe,"<")}function qe(P,oe,Fe){P>oe||ot(Fe,P,oe,">")}function tt(P,oe,Fe){P>=oe||ot(Fe,P,oe,">=")}function Lt(P,oe){null==P&&ot(oe,P,null,"!=")}function ot(P,oe,Fe,Ft){throw new Error(`ASSERTION ERROR: ${P}`+(null==Ft?"":` [Expected=> ${Fe} ${Ft} ${oe} <=Actual]`))}function At(P){P instanceof Node||ot(`The provided value must be an instance of a DOM Node but got ${ye(P)}`)}function M(P){P instanceof Element||ot(`The provided value must be an element but got ${ye(P)}`)}function gt(P,oe){Lt(P,"Array must be defined.");const Fe=P.length;(oe<0||oe>=Fe)&&ot(`Index expected to be less than ${Fe} but got ${oe}`)}function pe(P,...oe){if(-1!==oe.indexOf(P))return!0;ot(`Expected value to be one of ${JSON.stringify(oe)} but was ${JSON.stringify(P)}.`)}function lt(P){null!==(0,h.nR)()&&ot(`${P}() should never be called in a reactive context.`)}function Rt(P){return{token:P.token,providedIn:P.providedIn||null,factory:P.factory,value:void 0}}function Yt(P){return{providers:P.providers||[],imports:P.imports||[]}}function Ut(P){return function zt(P,oe){return P.hasOwnProperty(oe)&&P[oe]||null}(P,o)}function jt(P){return null!==Ut(P)}function Mt(P){return P&&P.hasOwnProperty(it)?P[it]:null}const o=we({\u0275prov:we}),it=we({\u0275inj:we});class nn{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(oe,Fe){this._desc=oe,this.\u0275prov=void 0,"number"==typeof Fe?this.__NG_ELEMENT_ID__=Fe:void 0!==Fe&&(this.\u0275prov=Rt({token:this,providedIn:Fe.providedIn||"root",factory:Fe.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let tn;function xn(){return ot("getInjectorProfilerContext should never be called in production mode"),tn}function bn(P){ot("setInjectorProfilerContext should never be called in production mode");const oe=tn;return tn=P,oe}const pr=[],Tr=()=>{};function Kr(P){return ot("setInjectorProfiler should never be called in production mode"),null!==P?(pr.includes(P)||pr.push(P),()=>function ir(P){const oe=pr.indexOf(P);-1!==oe&&pr.splice(oe,1)}(P)):(pr.length=0,Tr)}function _r(P){ot("Injector profiler should never be called in production mode");for(let oe=0;oe<pr.length;oe++)(0,pr[oe])(P)}function en(P,oe=!1){let Fe;ot("Injector profiler should never be called in production mode"),Fe="function"==typeof P||P instanceof nn?P:We(P.provide);let Ft=P;P instanceof nn&&(Ft=P.\u0275prov||P),_r({type:2,context:xn(),providerRecord:{token:Fe,provider:Ft,isViewProvider:oe}})}function Bn(P){ot("Injector profiler should never be called in production mode"),_r({type:5,context:xn(),token:P})}function Xe(P){ot("Injector profiler should never be called in production mode"),_r({type:1,context:xn(),instance:{value:P}})}function $(P,oe,Fe){ot("Injector profiler should never be called in production mode"),_r({type:0,context:xn(),service:{token:P,value:oe,flags:Fe}})}function K(P){ot("Injector profiler should never be called in production mode"),_r({type:4,context:xn(),effectPhase:P})}function Z(P,oe,Fe){ot("runInInjectorProfilerContext should never be called in production mode");const Ft=bn({injector:P,token:oe});try{Fe()}finally{bn(Ft)}}function Re(P){return P&&!!P.\u0275providers}const ct=we({\u0275cmp:we}),_t=we({\u0275dir:we}),wt=we({\u0275pipe:we}),ee=we({\u0275mod:we}),Se=we({\u0275fac:we}),Pt=we({__NG_ELEMENT_ID__:we}),St=we({__NG_ENV_ID__:we});function Xt(P){return Yn(P),P[ee]||null}function Jt(P){const oe=Xt(P);if(!oe)throw new le(915,!1);return oe}function vn(P){return Yn(P),P[ct]||null}function jn(P){const oe=Zn(P);if(!oe)throw new le(916,!1);return oe}function Zn(P){return Yn(P),P[_t]||null}function Tn(P){return Yn(P),P[wt]||null}function Yn(P,oe){if(null==P)throw new le(-919,!1)}function $e(P){const oe=vn(P)||Zn(P)||Tn(P);return null!==oe&&oe.standalone}function Ct(P){return"string"==typeof P?P:null==P?"":String(P)}function Ze(P){return"function"==typeof P?P.name||P.toString():"object"==typeof P&&null!=P&&"function"==typeof P.type?P.type.name||P.type.toString():Ct(P)}function Ht(P){const oe=vn(P);return null!==oe&&oe.debugInfo?function I(P){return P.filePath&&P.lineNumber?`${P.className} (at ${P.filePath}:${P.lineNumber})`:P.className}(oe.debugInfo):Ze(P)}const mt=we({ngErrorCode:we}),Ue=we({ngErrorMessage:we}),ue=we({ngTokenPath:we});function ft(P,oe){return Wt("",-200,oe)}function Kt(P,oe){return function sn(P,oe){return P.message=function Fr(P,oe,Fe=[],Ft=null){let fn="";Fe&&Fe.length>1&&(fn=` Path: ${Fe.join(" -> ")}.`);return ge(oe,`${P}${Ft?` Source: ${Ft}.`:""}${fn}`)}(P[Ue]||P.message,P[mt],P[ue],oe),P}(ft(0,oe),null)}function On(P,oe){throw new le(-201,!1)}function Wt(P,oe,Fe){const Ft=new le(oe,P);return Ft[mt]=oe,Ft[Ue]=P,Fe&&(Ft[ue]=Fe),Ft}let mi;function Qe(){return mi}function bt(P){const oe=mi;return mi=P,oe}function yt(P,oe,Fe){const Ft=Ut(P);return Ft&&"root"==Ft.providedIn?void 0===Ft.value?Ft.value=Ft.factory():Ft.value:8&Fe?null:void 0!==oe?oe:void On()}function un(P){}const Pn={},rn="__NG_DI_FLAG__";class In{injector;constructor(oe){this.injector=oe}retrieve(oe,Fe){const Ft=dr(Fe)||0;try{return this.injector.get(oe,8&Ft?null:Pn,Ft)}catch(fn){if(m(fn))return fn;throw fn}}}function Zt(P,oe=0){const Fe=O();if(void 0===Fe)throw new le(-203,!1);if(null===Fe)return yt(P,void 0,oe);{const Ft=function Hr(P){return{optional:!!(8&P),host:!!(1&P),self:!!(2&P),skipSelf:!!(4&P)}}(oe),fn=Fe.retrieve(P,Ft);if(m(fn)){if(Ft.optional)return null;throw fn}return fn}}function Sn(P,oe=0){return(Qe()||Zt)(We(P),oe)}function or(P){throw new le(202,!1)}function Wn(P,oe){return Sn(P,dr(oe))}function dr(P){return typeof P>"u"||"number"==typeof P?P:0|(P.optional&&8)|(P.host&&1)|(P.self&&2)|(P.skipSelf&&4)}function Qr(P){const oe=[];for(let Fe=0;Fe<P.length;Fe++){const Ft=We(P[Fe]);if(Array.isArray(Ft)){if(0===Ft.length)throw new le(900,!1);let fn,Hn=0;for(let lr=0;lr<Ft.length;lr++){const Oi=Ft[lr],ii=Cr(Oi);"number"==typeof ii?-1===ii?fn=Oi.token:Hn|=ii:fn=Oi}oe.push(Sn(fn,Hn))}else oe.push(Sn(Ft))}return oe}function qr(P,oe){return P[rn]=oe,P.prototype[rn]=oe,P}function Cr(P){return P[rn]}function Ir(P,oe){return P.hasOwnProperty(Se)?P[Se]:null}function Xr(P,oe,Fe){if(P.length!==oe.length)return!1;for(let Ft=0;Ft<P.length;Ft++){let fn=P[Ft],Hn=oe[Ft];if(Fe&&(fn=Fe(fn),Hn=Fe(Hn)),Hn!==fn)return!1}return!0}function Zr(P){return P.flat(Number.POSITIVE_INFINITY)}function hr(P,oe){P.forEach(Fe=>Array.isArray(Fe)?hr(Fe,oe):oe(Fe))}function Si(P,oe,Fe){oe>=P.length?P.push(Fe):P.splice(oe,0,Fe)}function Ei(P,oe){return oe>=P.length-1?P.pop():P.splice(oe,1)[0]}function Dt(P,oe){const Fe=[];for(let Ft=0;Ft<P;Ft++)Fe.push(oe);return Fe}function nt(P,oe,Fe){const Ft=P.length-Fe;for(;oe<Ft;)P[oe]=P[oe+Fe],oe++;for(;Fe--;)P.pop()}function pn(P,oe,Fe,Ft){let fn=P.length;if(fn==oe)P.push(Fe,Ft);else if(1===fn)P.push(Ft,P[0]),P[0]=Fe;else{for(fn--,P.push(P[fn-1],P[fn]);fn>oe;)P[fn]=P[fn-2],fn--;P[oe]=Fe,P[oe+1]=Ft}}function An(P,oe,Fe){let Ft=Ar(P,oe);return Ft>=0?P[1|Ft]=Fe:(Ft=~Ft,pn(P,Ft,oe,Fe)),Ft}function tr(P,oe){const Fe=Ar(P,oe);if(Fe>=0)return P[1|Fe]}function Ar(P,oe){return function Yr(P,oe,Fe){let Ft=0,fn=P.length>>Fe;for(;fn!==Ft;){const Hn=Ft+(fn-Ft>>1),lr=P[Hn<<Fe];if(oe===lr)return Hn<<Fe;lr>oe?fn=Hn:Ft=Hn+1}return~(fn<<Fe)}(P,oe,1)}const ci={},Wr=[],Ur=new nn(""),wo=new nn("",-1),Vi=new nn("");class xi{get(oe,Fe=Pn){if(Fe===Pn){const fn=Wt("",-201);throw fn.name="\u0275NotFound",fn}return Fe}}function Mi(P){return{\u0275providers:P}}function Qn(...P){return{\u0275providers:Di(0,P),\u0275fromNgModule:!0}}function Di(P,...oe){const Fe=[],Ft=new Set;let fn;const Hn=lr=>{Fe.push(lr)};return hr(oe,lr=>{const Oi=lr;et(Oi,Hn,[],Ft)&&(fn||=[],fn.push(Oi))}),void 0!==fn&&de(fn,Hn),Fe}function de(P,oe){for(let Fe=0;Fe<P.length;Fe++){const{ngModule:Ft,providers:fn}=P[Fe];Ke(fn,Hn=>{oe(Hn,Ft)})}}function et(P,oe,Fe,Ft){if(!(P=We(P)))return!1;let fn=null,Hn=Mt(P);const lr=!Hn&&vn(P);if(Hn||lr){if(lr&&!lr.standalone)return!1;fn=P}else{const ii=P.ngModule;if(Hn=Mt(ii),!Hn)return!1;fn=ii}const Oi=Ft.has(fn);if(lr){if(Oi)return!1;if(Ft.add(fn),lr.dependencies){const ii="function"==typeof lr.dependencies?lr.dependencies():lr.dependencies;for(const hi of ii)et(hi,oe,Fe,Ft)}}else{if(!Hn)return!1;{if(null!=Hn.imports&&!Oi){let hi;Ft.add(fn),hr(Hn.imports,Hs=>{et(Hs,oe,Fe,Ft)&&(hi||=[],hi.push(Hs))}),void 0!==hi&&de(hi,oe)}if(!Oi){const hi=Ir(fn)||(()=>new fn);oe({provide:fn,useFactory:hi,deps:Wr},fn),oe({provide:Vi,useValue:fn,multi:!0},fn),oe({provide:Ur,useValue:()=>Sn(fn),multi:!0},fn)}const ii=Hn.providers;if(null!=ii&&!Oi){const hi=P;Ke(ii,Hs=>{oe(Hs,hi)})}}}return fn!==P&&void 0!==P.providers}function Ke(P,oe){for(let Fe of P)Re(Fe)&&(Fe=Fe.\u0275providers),Array.isArray(Fe)?Ke(Fe,oe):oe(Fe)}const Bt=we({provide:String,useValue:we});function En(P){return null!==P&&"object"==typeof P&&Bt in P}function Gr(P){return"function"==typeof P}function $r(P){return!!P.useClass}const ei=new nn(""),br={},fi={};let ni;function Jr(){return void 0===ni&&(ni=new xi),ni}class Li{}class pi extends Li{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(oe,Fe,Ft,fn){super(),this.parent=Fe,this.source=Ft,this.scopes=fn,Fi(oe,lr=>this.processProvider(lr)),this.records.set(wo,Oo(void 0,this)),fn.has("environment")&&this.records.set(Li,Oo(void 0,this));const Hn=this.records.get(ei);null!=Hn&&"string"==typeof Hn.value&&this.scopes.add(Hn.value),this.injectorDefTypes=new Set(this.get(Vi,Wr,{self:!0}))}retrieve(oe,Fe){const Ft=dr(Fe)||0;try{return this.get(oe,Pn,Ft)}catch(fn){if(m(fn))return fn;throw fn}}destroy(){yi(this),this._destroyed=!0;const oe=(0,h.Ht)(null);try{for(const Ft of this._ngOnDestroyHooks)Ft.ngOnDestroy();const Fe=this._onDestroyHooks;this._onDestroyHooks=[];for(const Ft of Fe)Ft()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,h.Ht)(oe)}}onDestroy(oe){return yi(this),this._onDestroyHooks.push(oe),()=>this.removeOnDestroy(oe)}runInContext(oe){yi(this);const Fe=k(this),Ft=bt(void 0);try{return oe()}finally{k(Fe),bt(Ft)}}get(oe,Fe=Pn,Ft){if(yi(this),oe.hasOwnProperty(St))return oe[St](this);const fn=dr(Ft),lr=k(this),Oi=bt(void 0);try{if(!(4&fn)){let hi=this.records.get(oe);if(void 0===hi){const Hs=function Io(P){return"function"==typeof P||"object"==typeof P&&"InjectionToken"===P.ngMetadataName}(oe)&&Ut(oe);hi=Hs&&this.injectableDefInScope(Hs)?Oo(ri(oe),br):null,this.records.set(oe,hi)}if(null!=hi)return this.hydrate(oe,hi,fn)}return(2&fn?Jr():this.parent).get(oe,Fe=8&fn&&Fe===Pn?null:Fe)}catch(ii){const hi=function kn(P){return P[mt]}(ii);throw-200===hi||-201===hi?new le(hi,null):ii}finally{bt(Oi),k(lr)}}resolveInjectorInitializers(){const oe=(0,h.Ht)(null),Fe=k(this),Ft=bt(void 0);try{const Hn=this.get(Ur,Wr,{self:!0});for(const lr of Hn)lr()}finally{k(Fe),bt(Ft),(0,h.Ht)(oe)}}toString(){return"R3Injector[...]"}processProvider(oe){let Fe=Gr(oe=We(oe))?oe:We(oe&&oe.provide);const Ft=function To(P){return En(P)?Oo(void 0,P.useValue):Oo(Hi(P),br)}(oe);if(!Gr(oe)&&!0===oe.multi){let fn=this.records.get(Fe);fn||(fn=Oo(void 0,br,!0),fn.factory=()=>Qr(fn.multi),this.records.set(Fe,fn)),Fe=oe,fn.multi.push(oe)}this.records.set(Fe,Ft)}hydrate(oe,Fe,Ft){const fn=(0,h.Ht)(null);try{if(Fe.value===fi)throw ft();return Fe.value===br&&(Fe.value=fi,Fe.value=Fe.factory(void 0,Ft)),"object"==typeof Fe.value&&Fe.value&&function Qi(P){return null!==P&&"object"==typeof P&&"function"==typeof P.ngOnDestroy}(Fe.value)&&this._ngOnDestroyHooks.add(Fe.value),Fe.value}finally{(0,h.Ht)(fn)}}injectableDefInScope(oe){if(!oe.providedIn)return!1;const Fe=We(oe.providedIn);return"string"==typeof Fe?"any"===Fe||this.scopes.has(Fe):this.injectorDefTypes.has(Fe)}removeOnDestroy(oe){const Fe=this._onDestroyHooks.indexOf(oe);-1!==Fe&&this._onDestroyHooks.splice(Fe,1)}}function ri(P){const oe=Ut(P),Fe=null!==oe?oe.factory:Ir(P);if(null!==Fe)return Fe;if(P instanceof nn)throw new le(-204,!1);if(P instanceof Function)return function Wi(P){if(P.length>0)throw new le(-204,!1);const Fe=function Oe(P){return(P?.[o]??null)||null}(P);return null!==Fe?()=>Fe.factory(P):()=>new P}(P);throw new le(-204,!1)}function Hi(P,oe,Fe){let Ft;if(Gr(P)){const fn=We(P);return Ir(fn)||ri(fn)}if(En(P))Ft=()=>We(P.useValue);else if(function ar(P){return!(!P||!P.useFactory)}(P))Ft=()=>P.useFactory(...Qr(P.deps||[]));else if(function wn(P){return!(!P||!P.useExisting)}(P))Ft=(fn,Hn)=>Sn(We(P.useExisting),void 0!==Hn&&8&Hn?8:void 0);else{const fn=We(P&&(P.useClass||P.provide));if(!function Po(P){return!!P.deps}(P))return Ir(fn)||ri(fn);Ft=()=>new fn(...Qr(P.deps))}return Ft}function yi(P){if(P.destroyed)throw new le(-205,!1)}function Oo(P,oe,Fe=!1){return{factory:P,value:oe,multi:Fe?[]:void 0}}function Fi(P,oe){for(const Fe of P)Array.isArray(Fe)?Fi(Fe,oe):Fe&&Re(Fe)?Fi(Fe.\u0275providers,oe):oe(Fe)}function Uo(P,oe){let Fe;P instanceof pi?(yi(P),Fe=P):Fe=new In(P);const fn=k(Fe),Hn=bt(void 0);try{return oe()}finally{k(fn),bt(Hn)}}function Xi(){return void 0!==Qe()||null!=O()}function bo(P){if(!Xi())throw new le(-203,!1)}const $o=0,So=1,gi=2,io=3,rs=4,jo=5,oo=6,di=7,zo=8,Vo=9,Zi=10,so=11,Go=12,as=13,yo=14,ko=15,Qo=16,ls=17,Bi=18,ui=19,ao=20,Ui=21,ho=22,vi=23,eo=24,to=25,Ao=26,lo=27,Xo=6,ji=7,vs=8,Wo=9,Co=10;function ne(P){return Array.isArray(P)&&"object"==typeof P[1]}function ie(P){return Array.isArray(P)&&!0===P[1]}function j(P){return!!(4&P.flags)}function ke(P){return P.componentOffset>-1}function kt(P){return!(1&~P.flags)}function vr(P){return!!P.template}function te(P){return!!(512&P[gi])}function fe(P){return!(256&~P[gi])}function Ce(P,oe){It(P,oe[So])}function st(P,oe){const Fe=oe+lo;gt(P,Fe),Ne(Fe,P[So].bindingStartIndex,"TNodes should be created before any bindings")}function It(P,oe){gn(P);const Fe=oe.data;for(let Ft=lo;Ft<Fe.length;Ft++)if(Fe[Ft]===P)return;ot("This TNode does not belong to this TView.")}function gn(P){Lt(P,"TNode must be defined"),P&&"object"==typeof P&&P.hasOwnProperty("directiveStylingLast")||ot("Not of type TNode, got: "+P)}function yn(P){Lt(P,"Expected TIcu to be defined"),"number"!=typeof P.currentCaseLViewIndex&&ot("Object is not of TIcu type.")}function Rn(P,oe="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){vn(P)||ot(oe)}function Un(P,oe="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){Xt(P)||ot(oe)}function Jn(P){Lt(P,"currentTNode should exist!"),Lt(P.parent,"currentTNode should have a parent")}function qn(P){Lt(P,"LContainer must be defined"),at(ie(P),!0,"Expecting LContainer")}function Xn(P){Lt(P,"LView must be defined"),at(ne(P),!0,"Expecting LView")}function nr(P,oe){at(P.firstCreatePass,!0,oe||"Should only be called in first create pass.")}function zn(P,oe){at(P.firstUpdatePass,!0,"Should only be called in first update pass.")}function gr(P){(void 0===P.type||null==P.selectors||void 0===P.inputs)&&ot("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function Dr(P,oe){xe(lo,P.bindingStartIndex,oe)}function Ee(P,oe){xe(P[1].expandoStartIndex,P.length,oe)}function xe(P,oe,Fe){P<=Fe&&Fe<oe||ot(`Index out of range (expecting ${P} <= ${Fe} < ${oe})`)}function ve(P,oe){Lt(P[ko],"Component views should exist."),Lt(P[ko][jo].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function Pe(P,oe){Lt(P,"Component views should always have a parent view (component's host view)")}function je(P,oe){Ee(P,oe),Ee(P,oe+8),Vt(P[oe+0],"injectorIndex should point to a bloom filter"),Vt(P[oe+1],"injectorIndex should point to a bloom filter"),Vt(P[oe+2],"injectorIndex should point to a bloom filter"),Vt(P[oe+3],"injectorIndex should point to a bloom filter"),Vt(P[oe+4],"injectorIndex should point to a bloom filter"),Vt(P[oe+5],"injectorIndex should point to a bloom filter"),Vt(P[oe+6],"injectorIndex should point to a bloom filter"),Vt(P[oe+7],"injectorIndex should point to a bloom filter"),Vt(P[oe+8],"injectorIndex should point to parent injector")}const Qt="svg",hn="math";function Ln(P){for(;Array.isArray(P);)P=P[$o];return P}function $n(P){for(;Array.isArray(P);){if("object"==typeof P[1])return P;P=P[$o]}return null}function fr(P,oe){return Ln(oe[P])}function Or(P,oe){return Ln(oe[P.index])}function Br(P,oe){const Fe=null===P?-1:P.index;return-1!==Fe?Ln(oe[Fe]):null}function li(P,oe){return P.data[oe]}function wi(P,oe){return P[oe]}function jr(P,oe,Fe,Ft){Fe>=P.data.length&&(P.data[Fe]=null,P.blueprint[Fe]=null),oe[Fe]=Ft}function Ii(P,oe){const Fe=oe[P];return ne(Fe)?Fe:Fe[$o]}function Eo(P){return!(4&~P[gi])}function Ki(P){return!(128&~P[gi])}function ti(P){return ie(P[io])}function $i(P,oe){return null==oe?null:P[oe]}function Ai(P){P[ls]=0}function zi(P){1024&P[gi]||(P[gi]|=1024,Ki(P)&&Zo(P))}function _s(P,oe){for(;P>0;)oe=oe[yo],P--;return oe}function is(P){return!!(9216&P[gi]||P[eo]?.dirty)}function fo(P){P[Zi].changeDetectionScheduler?.notify(8),64&P[gi]&&(P[gi]|=1024),is(P)&&Zo(P)}function Zo(P){P[Zi].changeDetectionScheduler?.notify(0);let oe=Ss(P);for(;null!==oe&&!(8192&oe[gi])&&(oe[gi]|=8192,Ki(oe));)oe=Ss(oe)}function Qs(P,oe){if(fe(P))throw new le(911,!1);null===P[Ui]&&(P[Ui]=[]),P[Ui].push(oe)}function Xs(P,oe){if(null===P[Ui])return;const Fe=P[Ui].indexOf(oe);-1!==Fe&&P[Ui].splice(Fe,1)}function Ss(P){const oe=P[io];return ie(oe)?oe[io]:oe}function Ro(P){return P[di]??=[]}function Ga(P){return P.cleanup??=[]}function Zs(P,oe,Fe,Ft){const fn=Ro(oe);fn.push(Fe),P.firstCreatePass&&Ga(P).push(Ft,fn.length-1)}const Sr={lFrame:Ya(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var bs=function(P){return P[P.Off=0]="Off",P[P.Exhaustive=1]="Exhaustive",P[P.OnlyDirtyViews=2]="OnlyDirtyViews",P}(bs||{});let ks=0,da=!1;function Qa(){return Sr.lFrame.elementDepthCount}function Da(){Sr.lFrame.elementDepthCount++}function Ys(){Sr.lFrame.elementDepthCount--}function xa(){return Sr.bindingsEnabled}function Js(){return null!==Sr.skipHydrationRootTNode}function Ls(P){return Sr.skipHydrationRootTNode===P}function ys(){Sr.bindingsEnabled=!0}function Fs(){Sr.bindingsEnabled=!1}function As(){Sr.skipHydrationRootTNode=null}function po(){return Sr.lFrame.lView}function Cs(){return Sr.lFrame.tView}function Bs(P){return Sr.lFrame.contextLView=P,P[zo]}function Rs(P){return Sr.lFrame.contextLView=null,P}function Es(){let P=Us();for(;null!==P&&64===P.type;)P=P.parent;return P}function Us(){return Sr.lFrame.currentTNode}function S(){const P=Sr.lFrame,oe=P.currentTNode;return P.isParent?oe:oe.parent}function U(P,oe){const Fe=Sr.lFrame;Fe.currentTNode=P,Fe.isParent=oe}function N(){return Sr.lFrame.isParent}function V(){Sr.lFrame.isParent=!1}function he(){return Sr.lFrame.contextLView}function Je(){return ot("Must never be called in production mode"),ks!==bs.Off}function Ot(){return ot("Must never be called in production mode"),ks===bs.Exhaustive}function dt(P){ot("Must never be called in production mode"),ks=P}function Cn(){return da}function Fn(P){const oe=da;return da=P,oe}function yr(){const P=Sr.lFrame;let oe=P.bindingRootIndex;return-1===oe&&(oe=P.bindingRootIndex=P.tView.bindingStartIndex),oe}function kr(){return Sr.lFrame.bindingIndex}function ki(P){return Sr.lFrame.bindingIndex=P}function Yo(){return Sr.lFrame.bindingIndex++}function Ms(P){const oe=Sr.lFrame,Fe=oe.bindingIndex;return oe.bindingIndex=oe.bindingIndex+P,Fe}function Ho(){return Sr.lFrame.inI18n}function Ds(P){Sr.lFrame.inI18n=P}function No(P,oe){const Fe=Sr.lFrame;Fe.bindingIndex=Fe.bindingRootIndex=P,Ns(oe)}function ua(){return Sr.lFrame.currentDirectiveIndex}function Ns(P){Sr.lFrame.currentDirectiveIndex=P}function qs(P){const oe=Sr.lFrame.currentDirectiveIndex;return-1===oe?null:P[oe]}function Ml(){return Sr.lFrame.currentQueryIndex}function Dl(P){Sr.lFrame.currentQueryIndex=P}function wa(P){const oe=P[So];return 2===oe.type?oe.declTNode:1===oe.type?P[jo]:null}function Xa(P,oe,Fe){if(4&Fe){let fn=oe,Hn=P;for(;!(fn=fn.parent,null!==fn||1&Fe||(fn=wa(Hn),null===fn||(Hn=Hn[yo],10&fn.type))););if(null===fn)return!1;oe=fn,P=Hn}const Ft=Sr.lFrame=Ta();return Ft.currentTNode=oe,Ft.lView=P,!0}function Za(P){const oe=Ta(),Fe=P[So];Sr.lFrame=oe,oe.currentTNode=Fe.firstChild,oe.lView=P,oe.tView=Fe,oe.contextLView=P,oe.bindingIndex=Fe.bindingStartIndex,oe.inI18n=!1}function Ta(){const P=Sr.lFrame,oe=null===P?null:P.child;return null===oe?Ya(P):oe}function Ya(P){const oe={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:P,child:null,inI18n:!1};return null!==P&&(P.child=oe),oe}function xl(){const P=Sr.lFrame;return Sr.lFrame=P.parent,P.currentTNode=null,P.lView=null,P}const Ja=xl;function Oa(){const P=xl();P.isParent=!0,P.tView=null,P.selectedIndex=-1,P.contextLView=null,P.elementDepthCount=0,P.currentDirectiveIndex=-1,P.currentNamespace=null,P.bindingRootIndex=-1,P.bindingIndex=-1,P.currentQueryIndex=0}function qa(P){return(Sr.lFrame.contextLView=_s(P,Sr.lFrame.contextLView))[zo]}function wl(){return Sr.lFrame.selectedIndex}function Jo(P){Sr.lFrame.selectedIndex=P}function js(){const P=Sr.lFrame;return li(P.tView,P.selectedIndex)}function zs(){Sr.lFrame.currentNamespace=Qt}function ha(){Sr.lFrame.currentNamespace=hn}function Tl(){!function uc(){Sr.lFrame.currentNamespace=null}()}function el(){return Sr.lFrame.currentNamespace}let hc=!0;function fa(){return hc}function Pa(P){hc=P}function pa(P,oe=null,Fe=null,Ft){const fn=De(P,oe,Fe);return fn.resolveInjectorInitializers(),fn}function De(P,oe=null,Fe=null,Ft,fn=new Set){const Hn=[Fe||Wr,Qn(P)];return new pi(Hn,oe||Jr(),null,fn)}class ce{static THROW_IF_NOT_FOUND=Pn;static NULL=new xi;static create(oe,Fe){if(Array.isArray(oe))return pa({name:""},Fe,oe);{const Ft=oe.name??"";return pa({name:Ft},oe.parent,oe.providers)}}static \u0275prov=Rt({token:ce,providedIn:"any",factory:()=>Sn(wo)});static __NG_ELEMENT_ID__=-1}const be=new nn("");let ut=(()=>class P{static __NG_ELEMENT_ID__=Dn;static __NG_ENV_ID__=Fe=>Fe})();class on extends ut{_lView;constructor(oe){super(),this._lView=oe}get destroyed(){return fe(this._lView)}onDestroy(oe){const Fe=this._lView;return Qs(Fe,oe),()=>Xs(Fe,oe)}}function Dn(){return new on(po())}const Vn=!1,rr=new nn("");let xr=(()=>{class P{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new b.t(!1);debugTaskTracker=Wn(rr,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new c.c(Fe=>{Fe.next(!1),Fe.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Fe=this.taskId++;return this.pendingTasks.add(Fe),this.debugTaskTracker?.add(Fe),Fe}has(Fe){return this.pendingTasks.has(Fe)}remove(Fe){this.pendingTasks.delete(Fe),this.debugTaskTracker?.remove(Fe),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Rt({token:P,providedIn:"root",factory:()=>new P})}return P})();const zr=class Rr extends C.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(oe=!1){super(),this.__isAsync=oe,Xi()&&(this.destroyRef=Wn(ut,{optional:!0})??void 0,this.pendingTasks=Wn(xr,{optional:!0})??void 0)}emit(oe){const Fe=(0,h.Ht)(null);try{super.next(oe)}finally{(0,h.Ht)(Fe)}}subscribe(oe,Fe,Ft){let fn=oe,Hn=Fe||(()=>null),lr=Ft;if(oe&&"object"==typeof oe){const ii=oe;fn=ii.next?.bind(ii),Hn=ii.error?.bind(ii),lr=ii.complete?.bind(ii)}this.__isAsync&&(Hn=this.wrapInTimeout(Hn),fn&&(fn=this.wrapInTimeout(fn)),lr&&(lr=this.wrapInTimeout(lr)));const Oi=super.subscribe({next:fn,error:Hn,complete:lr});return oe instanceof T.yU&&oe.add(Oi),Oi}wrapInTimeout(oe){return Fe=>{const Ft=this.pendingTasks?.add();setTimeout(()=>{try{oe(Fe)}finally{void 0!==Ft&&this.pendingTasks?.remove(Ft)}})}}};function wr(...P){}function Ti(P){let oe,Fe;function Ft(){P=wr;try{void 0!==Fe&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(Fe),void 0!==oe&&clearTimeout(oe)}catch{}}return oe=setTimeout(()=>{P(),Ft()}),"function"==typeof requestAnimationFrame&&(Fe=requestAnimationFrame(()=>{P(),Ft()})),()=>Ft()}function Ri(P){return queueMicrotask(()=>P()),()=>{P=wr}}const mo="isAngularZone",qo=mo+"_ID";let Vs=0;class ds{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new zr(!1);onMicrotaskEmpty=new zr(!1);onStable=new zr(!1);onError=new zr(!1);constructor(oe){const{enableLongStackTrace:Fe=!1,shouldCoalesceEventChangeDetection:Ft=!1,shouldCoalesceRunChangeDetection:fn=!1,scheduleInRootZone:Hn=Vn}=oe;if(typeof Zone>"u")throw new le(908,!1);Zone.assertZonePatched();const lr=this;lr._nesting=0,lr._outer=lr._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(lr._inner=lr._inner.fork(new Zone.TaskTrackingZoneSpec)),Fe&&Zone.longStackTraceZoneSpec&&(lr._inner=lr._inner.fork(Zone.longStackTraceZoneSpec)),lr.shouldCoalesceEventChangeDetection=!fn&&Ft,lr.shouldCoalesceRunChangeDetection=fn,lr.callbackScheduled=!1,lr.scheduleInRootZone=Hn,function ud(P){const oe=()=>{!function ea(P){function oe(){Ti(()=>{P.callbackScheduled=!1,Ol(P),P.isCheckStableRunning=!0,ma(P),P.isCheckStableRunning=!1})}P.isCheckStableRunning||P.callbackScheduled||(P.callbackScheduled=!0,P.scheduleInRootZone?Zone.root.run(()=>{oe()}):P._outer.run(()=>{oe()}),Ol(P))}(P)},Fe=Vs++;P._inner=P._inner.fork({name:"angular",properties:{[mo]:!0,[qo]:Fe,[qo+Fe]:!0},onInvokeTask:(Ft,fn,Hn,lr,Oi,ii)=>{if(function Eu(P){return Il(P,"__ignore_ng_zone__")}(ii))return Ft.invokeTask(Hn,lr,Oi,ii);try{return fc(P),Ft.invokeTask(Hn,lr,Oi,ii)}finally{(P.shouldCoalesceEventChangeDetection&&"eventTask"===lr.type||P.shouldCoalesceRunChangeDetection)&&oe(),Pl(P)}},onInvoke:(Ft,fn,Hn,lr,Oi,ii,hi)=>{try{return fc(P),Ft.invoke(Hn,lr,Oi,ii,hi)}finally{P.shouldCoalesceRunChangeDetection&&!P.callbackScheduled&&!function pc(P){return Il(P,"__scheduler_tick__")}(ii)&&oe(),Pl(P)}},onHasTask:(Ft,fn,Hn,lr)=>{Ft.hasTask(Hn,lr),fn===Hn&&("microTask"==lr.change?(P._hasPendingMicrotasks=lr.microTask,Ol(P),ma(P)):"macroTask"==lr.change&&(P.hasPendingMacrotasks=lr.macroTask))},onHandleError:(Ft,fn,Hn,lr)=>(Ft.handleError(Hn,lr),P.runOutsideAngular(()=>P.onError.emit(lr)),!1)})}(lr)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(mo)}static assertInAngularZone(){if(!ds.isInAngularZone())throw new le(909,!1)}static assertNotInAngularZone(){if(ds.isInAngularZone())throw new le(909,!1)}run(oe,Fe,Ft){return this._inner.run(oe,Fe,Ft)}runTask(oe,Fe,Ft,fn){const Hn=this._inner,lr=Hn.scheduleEventTask("NgZoneEvent: "+fn,oe,xs,wr,wr);try{return Hn.runTask(lr,Fe,Ft)}finally{Hn.cancelTask(lr)}}runGuarded(oe,Fe,Ft){return this._inner.runGuarded(oe,Fe,Ft)}runOutsideAngular(oe){return this._outer.run(oe)}}const xs={};function ma(P){if(0==P._nesting&&!P.hasPendingMicrotasks&&!P.isStable)try{P._nesting++,P.onMicrotaskEmpty.emit(null)}finally{if(P._nesting--,!P.hasPendingMicrotasks)try{P.runOutsideAngular(()=>P.onStable.emit(null))}finally{P.isStable=!0}}}function Ol(P){P.hasPendingMicrotasks=!!(P._hasPendingMicrotasks||(P.shouldCoalesceEventChangeDetection||P.shouldCoalesceRunChangeDetection)&&!0===P.callbackScheduled)}function fc(P){P._nesting++,P.isStable&&(P.isStable=!1,P.onUnstable.emit(null))}function Pl(P){P._nesting--,ma(P)}class Cu{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new zr;onMicrotaskEmpty=new zr;onStable=new zr;onError=new zr;run(oe,Fe,Ft){return oe.apply(Fe,Ft)}runGuarded(oe,Fe,Ft){return oe.apply(Fe,Ft)}runOutsideAngular(oe){return oe()}runTask(oe,Fe,Ft,fn){return oe.apply(Fe,Ft)}}function Il(P,oe){return!(!Array.isArray(P)||1!==P.length)&&!0===P[0]?.data?.[oe]}class mc{_console=console;handleError(oe){this._console.error("ERROR",oe)}}const tl=new nn("",{factory:()=>{const P=Wn(ds),oe=Wn(Li);let Fe;return Ft=>{P.runOutsideAngular(()=>{oe.destroyed&&!Fe?setTimeout(()=>{throw Ft}):(Fe??=oe.get(mc),Fe.handleError(Ft))})}}}),nl={provide:Ur,useValue:()=>{Wn(mc,{optional:!0})},multi:!0};function Du(P,oe){const[Fe,Ft,fn]=(0,h.n5)(P,oe?.equal),Hn=Fe;return Hn.set=Ft,Hn.update=fn,Hn.asReadonly=Sl.bind(Hn),Hn}function Sl(){const P=this[h.bh];if(void 0===P.readonlyFn){const oe=()=>this();oe[h.bh]=P,P.readonlyFn=oe}return P.readonlyFn}function uf(P,oe){if(null!==(0,h.nR)())throw new le(-602,!1)}let gc=(()=>class P{view;node;constructor(Fe,Ft){this.view=Fe,this.node=Ft}static __NG_ELEMENT_ID__=Ws})();function Ws(){return new gc(po(),Es())}class vc{}const xu=new nn("",{factory:()=>!0}),wu=new nn("",{factory:()=>!1}),hd=new nn("");let il=(()=>{class P{internalPendingTasks=Wn(xr);scheduler=Wn(vc);errorHandler=Wn(tl);add(){const Fe=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Fe)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Fe))}}run(Fe){const Ft=this.add();Fe().catch(this.errorHandler).finally(Ft)}static \u0275prov=Rt({token:P,providedIn:"root",factory:()=>new P})}return P})(),_c=(()=>{class P{static \u0275prov=Rt({token:P,providedIn:"root",factory:()=>new Ia})}return P})();class Ia{dirtyEffectCount=0;queues=new Map;add(oe){this.enqueue(oe),this.schedule(oe)}schedule(oe){oe.dirty&&this.dirtyEffectCount++}remove(oe){const Ft=this.queues.get(oe.zone);Ft.has(oe)&&(Ft.delete(oe),oe.dirty&&this.dirtyEffectCount--)}enqueue(oe){const Fe=oe.zone;this.queues.has(Fe)||this.queues.set(Fe,new Set);const Ft=this.queues.get(Fe);Ft.has(oe)||Ft.add(oe)}flush(){for(;this.dirtyEffectCount>0;){let oe=!1;for(const[Fe,Ft]of this.queues)oe||=null===Fe?this.flushQueue(Ft):Fe.run(()=>this.flushQueue(Ft));oe||(this.dirtyEffectCount=0)}}flushQueue(oe){let Fe=!1;for(const Ft of oe)Ft.dirty&&(this.dirtyEffectCount--,Fe=!0,Ft.run());return Fe}}class Sa{[h.bh];constructor(oe){this[h.bh]=oe}destroy(){this[h.bh].destroy()}}function hs(P,oe){const Fe=oe?.injector??Wn(ce);let fn,Ft=!0!==oe?.manualCleanup?Fe.get(ut):null;const Hn=Fe.get(gc,null,{optional:!0}),lr=Fe.get(vc);return null!==Hn?(fn=function Al(P,oe,Fe){const Ft=Object.create(sl);return Ft.view=P,Ft.zone=typeof Zone<"u"?Zone.current:null,Ft.notifier=oe,Ft.fn=Rl(Ft,Fe),P[vi]??=new Set,P[vi].add(Ft),Ft.consumerMarkedDirty(Ft),Ft}(Hn.view,lr,P),Ft instanceof on&&Ft._lView===Hn.view&&(Ft=null)):fn=function os(P,oe,Fe){const Ft=Object.create(kl);
503return Ft.fn=Rl(Ft,P),Ft.scheduler=oe,Ft.notifier=Fe,Ft.zone=typeof Zone<"u"?Zone.current:null,Ft.scheduler.add(Ft),Ft.notifier.notify(12),Ft}(P,Fe.get(_c),lr),fn.injector=Fe,null!==Ft&&(fn.onDestroyFns=[Ft.onDestroy(()=>fn.destroy())]),new Sa(fn)}const ol={...h.vX,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const P=Fn(!1);try{(0,h.lh)(this)}finally{Fn(P)}},cleanup(){if(!this.cleanupFns?.length)return;const P=(0,h.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,h.Ht)(P)}}},kl={...ol,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if((0,h.XR)(this),null!==this.onDestroyFns)for(const P of this.onDestroyFns)P();this.cleanup(),this.scheduler.remove(this)}},sl={...ol,consumerMarkedDirty(){this.view[gi]|=8192,Zo(this.view),this.notifier.notify(13)},destroy(){if((0,h.XR)(this),null!==this.onDestroyFns)for(const P of this.onDestroyFns)P();this.cleanup(),this.view[vi]?.delete(this)}};function Rl(P,oe){return()=>{oe(Fe=>(P.cleanupFns??=[]).push(Fe))}}},2271(vt,Y,i){i.d(Y,{Zf:()=>w,vG:()=>le,EW:()=>m,wl:()=>X,nf:()=>v,uu:()=>W,Zc:()=>se,O8:()=>D});var h=i(4523),b=i(5802),c=i(5824);function C(H,_e,We){const ht=Object.create(O);ht.source=H,ht.computation=_e,null!=We&&(ht.equal=We);const an=()=>{if((0,c.JC)(ht),(0,c.mK)(ht),ht.value===c.EF)throw ht.error;return ht.value};return an[c.bh]=ht,(0,c.a7)(ht),an}const O={...c.pL,value:c.Ag,dirty:!0,error:null,equal:c.H8,kind:"linkedSignal",producerMustRecompute:H=>H.value===c.Ag||H.value===c.Ny,producerRecomputeValue(H){if(H.value===c.Ny)throw new Error("");const _e=H.value;H.value=c.Ny;const We=(0,c.Bg)(H);let ht,Vt=!1;try{const an=H.source(),Et=_e!==c.Ag&&_e!==c.EF;ht=H.computation(an,Et?{source:H.sourceValue,value:_e}:void 0),H.sourceValue=an,(0,c.Ht)(null),Vt=Et&&ht!==c.EF&&H.equal(_e,ht)}catch(an){ht=c.EF,H.error=an}finally{(0,c.Wu)(H,We)}Vt?H.value=_e:(H.value=ht,H.version++)}};class w{destroyed=!1;listeners=null;errorHandler=(0,b.WQX)(b.zcH,{optional:!0});destroyRef=(0,b.WQX)(b.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(_e){if(this.destroyed)throw new b.buA(953,!1);return(this.listeners??=[]).push(_e),{unsubscribe:()=>{const We=this.listeners?.indexOf(_e);void 0!==We&&-1!==We&&this.listeners?.splice(We,1)}}}emit(_e){if(this.destroyed)return void console.warn((0,b.OsK)(953,!1));if(null===this.listeners)return;const We=(0,c.Ht)(null);try{for(const ht of this.listeners)try{ht(_e)}catch(Vt){this.errorHandler?.handleError(Vt)}}finally{(0,c.Ht)(We)}}}function v(H){return H.destroyRef}function D(H){return function k(H){const _e=(0,c.Ht)(null);try{return H()}finally{(0,c.Ht)(_e)}}(H)}function m(H,_e){return(0,c.KZ)(H,_e?.equal)}const u=H=>H;function W(H,_e){return z("function"==typeof H?C(H,u,_e?.equal):C(H.source,H.computation,H.equal))}function z(H,_e){const We=H[c.bh],ht=H;return ht.set=Vt=>function T(H,_e){(0,c.JC)(H),(0,c.j2)(H,_e),(0,c.TO)(H)}(We,Vt),ht.update=Vt=>function y(H,_e){if((0,c.JC)(H),H.value===c.EF)throw H.error;(0,c.mC)(H,_e),(0,c.TO)(H)}(We,Vt),ht.asReadonly=b.HO5.bind(H),ht}function se(H){return new le(H.params??H.request??(()=>null),function ge(H){return function q(H){return!!H.stream}(H)?H.stream:function(){var _e=(0,h.A)(function*(We){try{return(0,b.vPA)({value:yield H.loader(We)},void 0)}catch(ht){return(0,b.vPA)({error:X(ht)},void 0)}});return function(We){return _e.apply(this,arguments)}}()}(H),H.defaultValue,H.equal?function _(H){return(_e,We)=>void 0===_e||void 0===We?_e===We:H(_e,We)}(H.equal):void 0,H.debugName,H.injector??(0,b.WQX)(b.zZn))}class G{value;isLoading;constructor(_e,We){this.value=_e,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=b.HO5,this.isLoading=m(()=>"loading"===this.status()||"reloading"===this.status(),void 0)}isError=m(()=>"error"===this.status());update(_e){this.set(_e(D(this.value)))}isValueDefined=m(()=>!this.isError()&&void 0!==this.value());_snapshot;get snapshot(){return this._snapshot??=m(()=>{const _e=this.status();return"error"===_e?{status:"error",error:this.error()}:{status:_e,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}}class le extends G{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(_e,We,ht,Vt,an,Et,Gt){super(m(()=>{const at=this.state().stream?.();if(!at||"loading"===this.state().status&&this.error())return ht;if(!Be(at))throw new Q(this.error());return at.value},{equal:Vt}),an),this.loaderFn=We,this.equal=Vt,this.debugName=an,this.extRequest=W({source:_e,computation:at=>({request:at,reload:0})}),this.state=W({source:this.extRequest,computation:(at,Ve)=>{if(Ve)return{extRequest:at,status:void 0===at.request?"idle":"loading",previousStatus:Te(Ve.value),stream:Ve.value.extRequest.request===at.request?Ve.value.stream
503:void 0};{const Le=Gt?.(at.request);return Gt=void 0,{extRequest:at,status:void 0===at.request?"idle":Le?"resolved":"loading",previousStatus:"idle",stream:Le}}}}),this.effectRef=(0,b.QZP)(this.loadEffect.bind(this),{injector:Et,manualCleanup:!0}),this.pendingTasks=Et.get(b.u5s),this.unregisterOnDestroy=Et.get(b.abz).onDestroy(()=>this.destroy()),this.status=m(()=>Te(this.state()),void 0),this.error=m(()=>{const at=this.state().stream?.();return at&&!Be(at)?at.error:void 0},void 0)}set(_e){if(this.destroyed)return;const We=D(this.error),ht=D(this.state);if(!We){const Vt=D(this.value);if("local"===ht.status&&(this.equal?this.equal(Vt,_e):Vt===_e))return}this.state.set({extRequest:ht.extRequest,status:"local",previousStatus:"local",stream:(0,b.vPA)({value:_e},void 0)}),this.abortInProgressLoad()}reload(){const{status:_e}=D(this.state);return"idle"!==_e&&"loading"!==_e&&(this.extRequest.update(({request:We,reload:ht})=>({request:We,reload:ht+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){var _e=this;return(0,h.A)(function*(){const We=_e.extRequest(),{status:ht,previousStatus:Vt}=D(_e.state);if(void 0===We.request)return;if("loading"!==ht)return;_e.abortInProgressLoad();let an=_e.resolvePendingTask=_e.pendingTasks.add();const{signal:Et}=_e.pendingController=new AbortController;try{const Gt=yield D(()=>_e.loaderFn({params:We.request,abortSignal:Et,previous:{status:Vt}}));if(Et.aborted||D(_e.extRequest)!==We)return;_e.state.set({extRequest:We,status:"resolved",previousStatus:"resolved",stream:Gt})}catch(Gt){if(Et.aborted||D(_e.extRequest)!==We)return;_e.state.set({extRequest:We,status:"resolved",previousStatus:"error",stream:(0,b.vPA)({error:X(Gt)},void 0)})}finally{an?.(),an=void 0}})()}abortInProgressLoad(){D(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}}function Te(H){switch(H.status){case"loading":return 0===H.extRequest.reload?"loading":"reloading";case"resolved":return Be(H.stream())?"resolved":"error";default:return H.status}}function Be(H){return void 0===H.error}function X(H){return function ye(H){return H instanceof Error||"object"==typeof H&&"string"==typeof H.name&&"string"==typeof H.message}(H)?H:new ae(H)}class Q extends Error{constructor(_e){super(_e.message,{cause:_e})}}class ae extends Error{constructor(_e){super(String(_e),{cause:_e})}}},7705(vt,Y,i){i.d(Y,{CGW:()=>ni,ES_:()=>ei,HJs:()=>el,Hbi:()=>Ys,L39:()=>Cn,MKu:()=>Sr,SmG:()=>A,TL3:()=>xa,Udg:()=>Fn,_q3:()=>Ro,a0P:()=>uc,dtW:()=>Hi,ebz:()=>To,gRc:()=>wi,geq:()=>bo,hFB:()=>pi,naY:()=>te,sbv:()=>Po,tEk:()=>Qi,uEv:()=>Jo});var sr=i(5547),Qn=i(5802),Di=i(2271),et=(i(8359),i(5824));const Ie=Symbol("InputSignalNode#UNSET"),Ke={...et.s0,transformFn:void 0,applyValueToInputSignal(De,ce){(0,et.j2)(De,ce)}};function En(De,ce){const be=Object.create(Ke);function ut(){if((0,et.mK)(be),be.value===Ie)throw new Qn.buA(-950,null);return be.value}return be.value=De,be.transformFn=ce?.transform,ut[et.bh]=be,ut}class ei{attributeName;constructor(ce){this.attributeName=ce}__NG_ELEMENT_ID__=()=>(0,sr.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function ni(De){return new Di.Zf}function Jr(De,ce){return En(De,ce)}const pi=(Jr.required=function Li(De){return En(Ie,De)},Jr);function ri(De,ce){return(0,sr.mU9)(ce)}const To=(ri.required=function Wi(De,ce){return(0,sr.hnC)(ce)},ri);function Hi(De,ce){return(0,sr.FuF)(ce)}function yi(De,ce){return(0,sr.mU9)(ce)}const Po=(yi.required=function Oo(De,ce){return(0,sr.hnC)(ce)},yi);function Qi(De,ce){return(0,sr.FuF)(ce)}function Io(De,ce){const be=Object.create(Ke),ut=new Di.Zf;function on(){return(0,et.mK)(be),Fi(be.value),be.value}return be.value=De,on[et.bh]=be,on.asReadonly=Qn.HO5.bind(on),on.set=Dn=>{be.equal(be.value,Dn)||((0,et.j2)(be,Dn),ut.emit(Dn))},on.update=Dn=>{Fi(be.value),on.set(Dn(be.value))},on.subscribe=ut.subscribe.bind(ut),on.destroyRef=ut.destroyRef,on}function Fi(De){if(De===Ie)throw new Qn.buA(952,!1)}function Uo(De,ce){return Io(De)}const bo=(Uo.required=function Xi(De){return Io(Ie)},Uo),ui=new Qn.nKC(""),ao=new Qn.nKC("");function Ui(De){return!De.moduleRef}let Pi=null;function te(){return!1}function A(){}let wi=(()=>class De{static __NG_ELEMENT_ID__=jr})();function jr(De){return function Ii(De,ce,be){if((0,Qn.Qs1)(De)&&!be){const ut=(0,Qn.KdJ)(De.index,ce);return new sr.NCX(ut,ut)}return 175&De.type?new sr.NCX(ce[Qn.b5C],ce):null}((0,Qn.Mx4)(),(0,Qn.OAn)(),!(16&~De))}class ti{supports(ce){return(0,sr.ozJ)(ce)}create(ce){return new Ai(ce)}}const $i=(De,ce)=>ce;class Ai{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(ce){this._trackByFn=ce||$i}forEachItem(ce){let be;for(be=this._itHead;null!==be;be=be._next)ce(be)}forEachOperation(ce){let be=this._itHead,ut=this._removalsHead,on=0,Dn=null;for(;be||ut;){const Vn=!ut||be&&be.currentIndex<fo(ut,on,Dn)?be:ut,rr=fo(Vn,on,Dn),xr=Vn.currentIndex;if(Vn===ut)on--,ut=ut._nextRemoved;else if(be=be._next,null==Vn.previousIndex)on++;else{Dn||(Dn=[]);const Rr=rr-on,zr=xr-on;if(Rr!=zr){for(let Ti=0;Ti<Rr;Ti++){const Ri=Ti<Dn.length?Dn[Ti]:Dn[Ti]=0,Lo=Ri+Ti;zr<=Lo&&Lo<Rr&&(Dn[Ti]=Ri+1)}Dn[Vn.previousIndex]=zr-Rr}}rr!==xr&&ce(Vn,rr,xr)}}forEachPreviousItem(ce){let be;for(be=this._previousItHead;null!==be;be=be._nextPrevious)ce(be)}forEachAddedItem(ce){let be;for(be=this._additionsHead;null!==be;be=be._nextAdded)ce(be)}forEachMovedItem(ce){let be;for(be=this._movesHead;null!==be;be=be._nextMoved)ce(be)}forEachRemovedItem(ce){let be;for(be=this._removalsHead;null!==be;be=be._nextRemoved)ce(be)}forEachIdentityChange(ce){let be;for(be=this._identityChangesHead;null!==be;be=be._nextIdentityChange)ce(be)}diff(ce){if(null==ce&&(ce=[]),!(0,sr.ozJ)(ce))throw new Qn.buA(900,!1);return this.check(ce)?this:null}onDestroy(){}check(ce){this._reset();let on,Dn,Vn,be=this._itHead,ut=!1;if(Array.isArray(ce)){this.length=ce.length;for(let rr=0;rr<this.length;rr++)Dn=ce[rr],Vn=this._trackByFn(rr,Dn),null!==be&&Object.is(be.trackById,Vn)?(ut&&(be=this._verifyReinsertion(be,Dn,Vn,rr)),Object.is(be.item,Dn)||this._addIdentityChange(be,Dn)):(be=this._mismatch(be,Dn,Vn,rr),ut=!0),be=be._next}else on=0,(0,sr.utN)(ce,rr=>{Vn=this._trackByFn(on,rr),null!==be&&Object.is(be.trackById,Vn)?(ut&&(be=this._verifyReinsertion(be,rr,Vn,on)),Object.is(be.item,rr)||this._addIdentityChange(be,rr)):(be=this._mismatch(be,rr,Vn,on),ut=!0),be=be._next,on++}),this.length=on;return this._truncate(be),this.collection=ce,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let ce;for(ce=this._previousItHead=this._itHead;null!==ce;ce=ce._next)ce._nextPrevious=ce._next;for(ce=this._additionsHead;null!==ce;ce=ce._nextAdded)ce.previousIndex=ce.currentIndex;for(this._additionsHead=this._additionsTail=null,ce=this._movesHead;null!==ce;ce=ce._nextMoved)ce.previousIndex=ce.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(ce,be,ut,on){let Dn;return null===ce?Dn=this._itTail:(Dn=ce._prev,this._remove(ce)),null!==(ce=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ut,null))?(Object.is(ce.item,be)||this._addIdentityChange(ce,be),this._reinsertAfter(ce,Dn,on)):null!==(ce=null===this._linkedRecords?null:this._linkedRecords.get(ut,on))?(Object.is(ce.item,be)||this._addIdentityChange(ce,be),this._moveAfter(ce,Dn,on)):ce=this._addAfter(new zi(be,ut),Dn,on),ce}_verifyReinsertion(ce,be,ut,on){let Dn=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ut,null);return null!==Dn?ce=this._reinsertAfter(Dn,ce._prev,on):ce.currentIndex!=on&&(ce.currentIndex=on,this._addToMoves(ce,on)),ce}_truncate(ce){for(;null!==ce;){const be=ce._next;this._addToRemovals(this._unlink(ce)),ce=be}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(ce,be,ut){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(ce);const on=ce._prevRemoved,Dn=ce._nextRemoved;return null===on?this._removalsHead=Dn:on._nextRemoved=Dn,null===Dn?this._removalsTail=on:Dn._prevRemoved=on,this._insertAfter(ce,be,ut),this._addToMoves(ce,ut),ce}_moveAfter(ce,be,ut){return this._unlink(ce),this._insertAfter(ce,be,ut),this._addToMoves(ce,ut),ce}_addAfter(ce,be,ut){return this._insertAfter(ce,be,ut),this._additionsTail=null===this._additionsTail?this._additionsHead=ce:this._additionsTail._nextAdded=ce,ce}_insertAfter(ce,be,ut){const on=null===be?this._itHead:be._next;
vendor: 7,452 bytes, line 503
503return ce._next=on,ce._prev=be,null===on?this._itTail=ce:on._prev=ce,null===be?this._itHead=ce:be._next=ce,null===this._linkedRecords&&(this._linkedRecords=new is),this._linkedRecords.put(ce),ce.currentIndex=ut,ce}_remove(ce){return this._addToRemovals(this._unlink(ce))}_unlink(ce){null!==this._linkedRecords&&this._linkedRecords.remove(ce);const be=ce._prev,ut=ce._next;return null===be?this._itHead=ut:be._next=ut,null===ut?this._itTail=be:ut._prev=be,ce}_addToMoves(ce,be){return ce.previousIndex===be||(this._movesTail=null===this._movesTail?this._movesHead=ce:this._movesTail._nextMoved=ce),ce}_addToRemovals(ce){return null===this._unlinkedRecords&&(this._unlinkedRecords=new is),this._unlinkedRecords.put(ce),ce.currentIndex=null,ce._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=ce,ce._prevRemoved=null):(ce._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=ce),ce}_addIdentityChange(ce,be){return ce.item=be,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=ce:this._identityChangesTail._nextIdentityChange=ce,ce}}class zi{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(ce,be){this.item=ce,this.trackById=be}}class _s{_head=null;_tail=null;add(ce){null===this._head?(this._head=this._tail=ce,ce._nextDup=null,ce._prevDup=null):(this._tail._nextDup=ce,ce._prevDup=this._tail,ce._nextDup=null,this._tail=ce)}get(ce,be){let ut;for(ut=this._head;null!==ut;ut=ut._nextDup)if((null===be||be<=ut.currentIndex)&&Object.is(ut.trackById,ce))return ut;return null}remove(ce){const be=ce._prevDup,ut=ce._nextDup;return null===be?this._head=ut:be._nextDup=ut,null===ut?this._tail=be:ut._prevDup=be,null===this._head}}class is{map=new Map;put(ce){const be=ce.trackById;let ut=this.map.get(be);ut||(ut=new _s,this.map.set(be,ut)),ut.add(ce)}get(ce,be){const on=this.map.get(ce);return on?on.get(ce,be):null}remove(ce){const be=ce.trackById;return this.map.get(be).remove(ce)&&this.map.delete(be),ce}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function fo(De,ce,be){const ut=De.previousIndex;if(null===ut)return ut;let on=0;return be&&ut<be.length&&(on=be[ut]),ut+ce+on}class Zo{supports(ce){return ce instanceof Map||(0,sr.vDg)(ce)}create(){return new Qs}}class Qs{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(ce){let be;for(be=this._mapHead;null!==be;be=be._next)ce(be)}forEachPreviousItem(ce){let be;for(be=this._previousMapHead;null!==be;be=be._nextPrevious)ce(be)}forEachChangedItem(ce){let be;for(be=this._changesHead;null!==be;be=be._nextChanged)ce(be)}forEachAddedItem(ce){let be;for(be=this._additionsHead;null!==be;be=be._nextAdded)ce(be)}forEachRemovedItem(ce){let be;for(be=this._removalsHead;null!==be;be=be._nextRemoved)ce(be)}diff(ce){if(ce){if(!(ce instanceof Map||(0,sr.vDg)(ce)))throw new Qn.buA(900,!1)}else ce=new Map;return this.check(ce)?this:null}check(ce){this._reset();let be=this._mapHead;if(this._appendAfter=null,this._forEach(ce,(ut,on)=>{if(be&&be.key===on)this._maybeAddToChanges(be,ut),this._appendAfter=be,be=be._next;else{const Dn=this._getOrCreateRecordForKey(on,ut);be=this._insertBeforeOrAppend(be,Dn)}}),be){be._prev&&(be._prev._next=null),this._removalsHead=be;for(let ut=be;null!==ut;ut=ut._nextRemoved)ut===this._mapHead&&(this._mapHead=null),this._records.delete(ut.key),ut._nextRemoved=ut._next,ut.previousValue=ut.currentValue,ut.currentValue=null,ut._prev=null,ut._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(ce,be){if(ce){const ut=ce._prev;return be._next=ce,be._prev=ut,ce._prev=be,ut&&(ut._next=be),ce===this._mapHead&&(this._mapHead=be),this._appendAfter=ce,ce}return this._appendAfter?(this._appendAfter._next=be,be._prev=this._appendAfter):this._mapHead=be,this._appendAfter=be,null}_getOrCreateRecordForKey(ce,be){if(this._records.has(ce)){const on=this._records.get(ce);this._maybeAddToChanges(on,be);const Dn=on._prev,Vn=on._next;return Dn&&(Dn._next=Vn),Vn&&(Vn._prev=Dn),on._next=null,on._prev=null,on}const ut=new Xs(ce);return this._records.set(ce,ut),ut.currentValue=be,this._addToAdditions(ut),ut}_reset(){if(this.isDirty){let ce;for(this._previousMapHead=this._mapHead,ce=this._previousMapHead;null!==ce;ce=ce._next)ce._nextPrevious=ce._next;for(ce=this._changesHead;null!==ce;ce=ce._nextChanged)ce.previousValue=ce.currentValue;for(ce=this._additionsHead;null!=ce;ce=ce._nextAdded)ce.previousValue=ce.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(ce,be){Object.is(be,ce.currentValue)||(ce.previousValue=ce.currentValue,ce.currentValue=be,this._addToChanges(ce))}_addToAdditions(ce){null===this._additionsHead?this._additionsHead=this._additionsTail=ce:(this._additionsTail._nextAdded=ce,this._additionsTail=ce)}_addToChanges(ce){null===this._changesHead?this._changesHead=this._changesTail=ce:(this._changesTail._nextChanged=ce,this._changesTail=ce)}_forEach(ce,be){ce instanceof Map?ce.forEach(be):Object.keys(ce).forEach(ut=>be(ce[ut],ut))}}class Xs{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(ce){this.key=ce}}function Ss(){return new Ro([new ti])}let Ro=(()=>{class De{factories;static \u0275prov=(0,Qn.jDH)({token:De,providedIn:"root",factory:Ss});constructor(be){this.factories=be}static create(be,ut){if(null!=ut){const on=ut.factories.slice();be=be.concat(on)}return new De(be)}static extend(be){return{provide:De,useFactory:()=>{const ut=(0,Qn.WQX)(De,{optional:!0,skipSelf:!0});return De.create(be,ut||Ss())}}}find(be){const ut=this.factories.find(on=>on.supports(be));if(null!=ut)return ut;throw new Qn.buA(901,!1)}}return De})();function Zs(){return new Sr([new Zo])}let Sr=(()=>{class De{static \u0275prov=(0,Qn.jDH)({token:De,providedIn:"root",factory:Zs});factories;constructor(be){this.factories=be}static create(be,ut){if(ut){const on=ut.factories.slice();be=be.concat(on)}return new De(be)}static extend(be){return{provide:De,useFactory:()=>{const ut=(0,Qn.WQX)(De,{optional:!0,skipSelf:!0});return De.create(be,ut||Zs())}}}find(be){const ut=this.factories.find(on=>on.supports(be));if(ut)return ut;throw new Qn.buA(901,!1)}}return De})(),Ys=(()=>{class De{constructor(be){}static \u0275fac=function(ut){return new(ut||De)((0,Qn.KVO)(sr.o8S))};static \u0275mod=(0,sr.$C)({type:De});static \u0275inj=(0,Qn.G2t)({})}return De})();function xa(De){const{rootComponent:ce,appProviders:be,platformProviders:ut,platformRef:on}=De;(0,sr.Ef8)(sr.mS5.BootstrapApplicationStart);try{const Dn=on?.injector??function ie(De=[]){if(Pi)return Pi;(0,sr.pl0)();const ce=function vs(De=[],ce){return Qn.zZn.create({name:ce,providers:[{provide:Qn.GBX,useValue:"platform"},{provide:ui,useValue:new Set([()=>Pi=null])},...De]})}(De);return Pi=ce,(0,sr.ypd)(),function ke(De){const ce=De.get(sr.PLl,null);(0,Qn.N4e)(De,()=>{ce?.forEach(be=>
503be())})}(ce),ce}(ut),Vn=[(0,sr.rpG)(),Qn.gv8,...be||[]];return function ho(De){const ce=Ui(De)?De.r3Injector:De.moduleRef.injector,be=ce.get(Qn.SKi);return be.run(()=>{Ui(De)?De.r3Injector.resolveInjectorInitializers():De.moduleRef.resolveInjectorInitializers();const ut=ce.get(Qn.ZTf);let on;if(be.runOutsideAngular(()=>{on=be.onError.subscribe({next:ut})}),Ui(De)){const Dn=()=>ce.destroy(),Vn=De.platformInjector.get(ui);Vn.add(Dn),ce.onDestroy(()=>{on.unsubscribe(),Vn.delete(Dn)})}else{const Dn=()=>De.moduleRef.destroy(),Vn=De.platformInjector.get(ui);Vn.add(Dn),De.moduleRef.onDestroy(()=>{(0,sr.TFI)(De.allPlatformModules,De.moduleRef),on.unsubscribe(),Vn.delete(Dn)})}return function Ao(De,ce,be){try{const ut=be();return(0,sr.yLl)(ut)?ut.catch(on=>{throw ce.runOutsideAngular(()=>De(on)),on}):ut}catch(ut){throw ce.runOutsideAngular(()=>De(ut)),ut}}(ut,be,()=>{const Dn=ce.get(Qn.rev),Vn=Dn.add(),rr=ce.get(sr.H1s);return rr.runInitializers(),rr.donePromise.then(()=>{const xr=ce.get(sr.xe9,sr.DkB);if((0,sr.e6s)(xr||sr.DkB),!ce.get(ao,!0))return Ui(De)?ce.get(sr.o8S):(De.allPlatformModules.push(De.moduleRef),De.moduleRef);if(Ui(De)){const zr=ce.get(sr.o8S);return void 0!==De.rootComponent&&zr.bootstrap(De.rootComponent),zr}return De.moduleRef}).finally(()=>{Dn.remove(Vn)})})})}({r3Injector:new sr.bH1({providers:Vn,parent:Dn,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:Dn,rootComponent:ce})}catch(Dn){return Promise.reject(Dn)}finally{(0,sr.Ef8)(sr.mS5.BootstrapApplicationEnd)}}function Cn(De){return"boolean"==typeof De?De:null!=De&&"false"!==De}function Fn(De,ce=NaN){return isNaN(parseFloat(De))||isNaN(Number(De))?ce:Number(De)}const Ja=Symbol("NOT_SET"),Oa=new Set,qa={...et.s0,kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Ja,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(De){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Ja&&!(0,et.si)(this))return this.signal;try{for(const on of this.cleanup??Oa)on()}finally{this.cleanup?.clear()}const ce=[];void 0!==De&&ce.push(De),ce.push(this.registerCleanupFn);const be=(0,et.Bg)(this);let ut;try{ut=this.userFn.apply(null,ce)}finally{(0,et.Wu)(this,be)}return(this.value===Ja||!this.equal(this.value,ut))&&(this.value=ut,this.version++),this.signal}};class wl extends sr._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(ce,be,ut,on,Dn,Vn=null){super(ce,[void 0,void 0,void 0,void 0],ut,!1,Dn.get(Qn.abz),Vn),this.scheduler=on;for(const rr of sr.zoo){const xr=be[rr];if(void 0===xr)continue;const Rr=Object.create(qa);Rr.sequence=this,Rr.phase=rr,Rr.userFn=xr,Rr.dirty=!0,Rr.signal=()=>((0,et.mK)(Rr),Rr.value),Rr.signal[et.bh]=Rr,Rr.registerCleanupFn=zr=>(Rr.cleanup??=new Set).add(zr),this.nodes[rr]=Rr,this.hooks[rr]=zr=>Rr.phaseFn(zr)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(null!==this.onDestroyFns)for(const ce of this.onDestroyFns)ce();super.destroy();for(const ce of this.nodes)if(ce)try{for(const be of ce.cleanup??Oa)be()}finally{(0,et.XR)(ce)}}}function Jo(De,ce){const be=ce?.injector??(0,Qn.WQX)(Qn.zZn),ut=be.get(Qn.hk6),on=be.get(sr.cf$),Dn=be.get(sr.a8H,null,{optional:!0});on.impl??=be.get(sr.ziy);let Vn=De;"function"==typeof Vn&&(Vn={mixedReadWrite:De});const rr=be.get(Qn.r4V,null,{optional:!0}),xr=new wl(on.impl,[Vn.earlyRead,Vn.write,Vn.mixedReadWrite,Vn.read],rr?.view,ut,be,Dn?.snapshot(null));return on.impl.register(xr),xr}function uc(De,ce){const be=(0,Qn.xUg)(De),ut=ce.elementInjector||(0,Qn.WB9)();return new sr.eHC(be).create(ut,ce.projectableNodes,ce.hostElement,ce.environmentInjector,ce.directives,ce.bindings)}function el(De){const ce=(0,Qn.xUg)(De);if(!ce)return null;const be=new sr.eHC(ce);return{get selector(){return be.selector},get type(){return be.componentType},get inputs(){return be.inputs},get outputs(){return be.outputs},get ngContentSelectors(){return be.ngContentSelectors},get isStandalone(){return ce.standalone},get isSignal(){return ce.signals}}}},9079(vt,Y,i){i.d(Y,{ZX:()=>Te,br:()=>G,ot:()=>le,pQ:()=>u,yC:()=>se});var k=i(1985),w=i(2771),v=i(6977),D=i(5802),m=i(2271);function u(Be){Be||(Be=(0,D.WQX)(D.abz));const we=new k.c(X=>{if(!Be.destroyed)return Be.onDestroy(X.next.bind(X));X.next()});return X=>X.pipe((0,v.Q)(we))}function se(Be){const we=(0,m.nf)(Be);return new k.c(X=>{const ye=we?.onDestroy(()=>X.complete()),Q=Be.subscribe(ae=>X.next(ae));return()=>{Q.unsubscribe(),ye?.()}})}function G(Be,we){const X=we?.injector??(0,D.WQX)(D.zZn),ye=new w.m(1),Q=(0,D.QZP)(()=>{let ae;try{ae=Be()}catch(H){return void(0,m.O8)(()=>ye.error(H))}(0,m.O8)(()=>ye.next(ae))},{injector:X,manualCleanup:!0}
503);return X.get(D.abz).onDestroy(()=>{Q.destroy(),ye.complete()}),ye.asObservable()}function le(Be,we){const ye=we?.manualCleanup?null:we?.injector?.get(D.abz)??(0,D.WQX)(D.abz),Q=function _(Be=Object.is){return(we,X)=>1===we.kind&&1===X.kind&&Be(we.value,X.value)}(we?.equal);let ae,H;ae=(0,D.vPA)(we?.requireSync?{kind:0}:{kind:1,value:we?.initialValue},{equal:Q});const _e=Be.subscribe({next:We=>ae.set({kind:1,value:We}),error:We=>{ae.set({kind:2,error:We}),H?.()},complete:()=>{H?.()}});if(we?.requireSync&&0===ae().kind)throw new D.buA(601,!1);return H=ye?.onDestroy(_e.unsubscribe.bind(_e)),(0,m.EW)(()=>{const We=ae();switch(We.kind){case 1:return We.value;case 2:throw We.error;case 0:throw new D.buA(601,!1)}},{equal:we?.equal})}function Te(Be){return(0,m.Zc)({...Be,loader:void 0,stream:we=>{let X;const ye=()=>X?.unsubscribe();we.abortSignal.addEventListener("abort",ye);const Q=(0,D.vPA)({value:void 0});let ae;const H=new Promise(ht=>ae=ht);function _e(ht){Q.set(ht),ae?.(Q),ae=void 0}const We=Be.stream;if(void 0===We)throw new D.buA(990,!1);return X=We(we).subscribe({next:ht=>_e({value:ht}),error:ht=>{_e({error:(0,m.wl)(ht)}),we.abortSignal.removeEventListener("abort",ye)},complete:()=>{ae&&_e({error:new D.buA(991,!1)}),we.abortSignal.removeEventListener("abort",ye)}}),H}})}},9844(vt,Y,i){i.d(Y,{$_:()=>zt,Bb:()=>Jt,D5:()=>Ne,E2:()=>lt,G6:()=>pe,KA:()=>o,XF:()=>Rt,Zd:()=>St,_7:()=>ot,iQ:()=>Et,ld:()=>Ht,mw:()=>At,tA:()=>Zn,tl:()=>Lt,wQ:()=>Yn,yu:()=>Ae});var c=i(4523),C=i(5547),T=i(5802),y=i(2271),O=i(9417),k=i(5824);let w=0;function D(Ue,ue){return(...ft)=>{try{return w=ue,Ue(...ft)}finally{w=0}}}function m(Ue){return!Ue}function u(Ue){return Ue}function z(Ue){return Array.isArray(Ue)}function se(Ue){return("object"==typeof Ue||"function"==typeof Ue)&&null!=Ue}const G=Symbol(),le=Symbol();class _{predicates;fns=[];constructor(ue){this.predicates=ue}push(ue){this.fns.push(we(this.predicates,ue))}mergeIn(ue){const ft=this.predicates?ue.fns.map(Kt=>we(this.predicates,Kt)):ue.fns;this.fns.push(...ft)}}class ge extends _{get defaultValue(){return!1}compute(ue){return this.fns.some(ft=>{const Kt=ft(ue);return Kt&&Kt!==le})}}class q extends _{ignore;static ignoreNull(ue){return new q(ue,ft=>null===ft)}constructor(ue,ft){super(ue),this.ignore=ft}get defaultValue(){return[]}compute(ue){return this.fns.reduce((ft,Kt)=>{const cn=Kt(ue);return void 0===cn||cn===le?ft:z(cn)?[...ft,...this.ignore?cn.filter(Ge=>!this.ignore(Ge)):cn]:this.ignore&&this.ignore(cn)?ft:[...ft,cn]},[])}}class Te extends q{constructor(ue){super(ue,void 0)}}class Be extends _{key;get defaultValue(){return this.key.reducer.getInitial()}constructor(ue,ft){super(ue),this.key=ft}compute(ue){if(0===this.fns.length)return this.key.reducer.getInitial();let ft=this.key.reducer.getInitial();for(let Kt=0;Kt<this.fns.length;Kt++){const cn=this.fns[Kt](ue);cn!==le&&(ft=this.key.reducer.reduce(ft,cn))}return ft}}function we(Ue,ue){return 0===Ue.length?ue:ft=>{for(const Kt of Ue){let cn=ft.stateOf(Kt.path);const Ge=(0,y.O8)(cn.structure.pathKeys).length-Kt.depth;for(let On=0;On<Ge;On++)cn=cn.structure.parent;if(!Kt.fn(cn.context))return le}return ue(ft)}}class X{predicates;hidden;disabledReasons;readonly;syncErrors;syncTreeErrors;asyncErrors;metadata=new Map;constructor(ue){this.predicates=ue,this.hidden=new ge(ue),this.disabledReasons=new Te(ue),this.readonly=new ge(ue),this.syncErrors=q.ignoreNull(ue),this.syncTreeErrors=q.ignoreNull(ue),this.asyncErrors=q.ignoreNull(ue)}hasMetadata(ue){return this.metadata.has(ue)}getMetadataKeys(){return this.metadata.keys()}getMetadata(ue){return this.metadata.has(ue)||this.metadata.set(ue,new Be(this.predicates,ue)),this.metadata.get(ue)}mergeIn(ue){this.hidden.mergeIn(ue.hidden),this.disabledReasons.mergeIn(ue.disabledReasons),this.readonly.mergeIn(ue.readonly),this.syncErrors.mergeIn(ue.syncErrors),this.syncTreeErrors.mergeIn(ue.syncTreeErrors),this.asyncErrors.mergeIn(ue.asyncErrors);for(const ft of ue.getMetadataKeys()){const Kt=ue.metadata.get(ft);this.getMetadata(ft).mergeIn(Kt)}}}class ye{depth;constructor(ue){this.depth=ue}build(){return new H(this,[],0)}}class Q extends ye{constructor(ue){super(ue)}current;all=[];addHiddenRule(ue){this.getCurrent().addHiddenRule(ue)}addDisabledReasonRule(ue){this.getCurrent().addDisabledReasonRule(ue)}addReadonlyRule(ue){this.getCurrent().addReadonlyRule(ue)}addSyncErrorRule(ue){this.getCurrent().addSyncErrorRule(ue)}addSyncTreeErrorRule(ue){this.getCurrent().addSyncTreeErrorRule(ue)}addAsyncErrorRule(ue){this.getCurrent().addAsyncErrorRule(ue)}addMetadataRule(ue,ft){this.getCurrent().addMetadataRule(ue,ft)}
503getChild(ue){if(ue===G){const ft=this.getCurrent().children;ft.size>(ft.has(G)?1:0)&&(this.current=void 0)}return this.getCurrent().getChild(ue)}hasLogic(ue){return this===ue||this.all.some(({builder:ft})=>ft.hasLogic(ue))}mergeIn(ue,ft){this.all.push(ft?{builder:ue,predicate:{fn:D(ft.fn,this.depth),path:ft.path}}:{builder:ue}),this.current=void 0}getCurrent(){return void 0===this.current&&(this.current=new ae(this.depth),this.all.push({builder:this.current})),this.current}static newRoot(){return new Q(0)}}class ae extends ye{logic=new X([]);children=new Map;constructor(ue){super(ue)}addHiddenRule(ue){this.logic.hidden.push(D(ue,this.depth))}addDisabledReasonRule(ue){this.logic.disabledReasons.push(D(ue,this.depth))}addReadonlyRule(ue){this.logic.readonly.push(D(ue,this.depth))}addSyncErrorRule(ue){this.logic.syncErrors.push(D(ue,this.depth))}addSyncTreeErrorRule(ue){this.logic.syncTreeErrors.push(D(ue,this.depth))}addAsyncErrorRule(ue){this.logic.asyncErrors.push(D(ue,this.depth))}addMetadataRule(ue,ft){this.logic.getMetadata(ue).push(D(ft,this.depth))}getChild(ue){return this.children.has(ue)||this.children.set(ue,new Q(this.depth+1)),this.children.get(ue)}hasLogic(ue){return this===ue}}class H{builder;predicates;depth;logic;constructor(ue,ft,Kt){this.builder=ue,this.predicates=ft,this.depth=Kt,this.logic=ue?function ht(Ue,ue,ft){const Kt=new X(ue);if(Ue instanceof Q){const cn=Ue.all.map(({builder:Ge,predicate:On})=>new H(Ge,On?[...ue,Vt(On,ft)]:ue,ft));for(const Ge of cn)Kt.mergeIn(Ge.logic)}else{if(!(Ue instanceof ae))throw new T.buA(1909,!1);Kt.mergeIn(Ue.logic)}return Kt}(ue,ft,Kt):new X([])}getChild(ue){const ft=this.builder?We(this.builder,ue):[];if(0===ft.length)return new H(void 0,[],this.depth+1);if(1===ft.length){const{builder:Kt,predicates:cn}=ft[0];return new H(Kt,[...this.predicates,...cn.map(Ge=>Vt(Ge,this.depth))],this.depth+1)}{const Kt=ft.map(({builder:cn,predicates:Ge})=>new H(cn,[...this.predicates,...Ge.map(On=>Vt(On,this.depth))],this.depth+1));return new _e(Kt)}}hasLogic(ue){return this.builder?.hasLogic(ue)??!1}}class _e{all;logic;constructor(ue){this.all=ue,this.logic=new X([]);for(const ft of ue)this.logic.mergeIn(ft.logic)}getChild(ue){return new _e(this.all.flatMap(ft=>ft.getChild(ue)))}hasLogic(ue){return this.all.some(ft=>ft.hasLogic(ue))}}function We(Ue,ue){if(Ue instanceof Q)return Ue.all.flatMap(({builder:ft,predicate:Kt})=>{const cn=We(ft,ue);return Kt?cn.map(({builder:Ge,predicates:On})=>({builder:Ge,predicates:[...On,Kt]})):cn});if(Ue instanceof ae)return[...ue!==G&&Ue.children.has(G)?[{builder:Ue.getChild(G),predicates:[]}]:[],...Ue.children.has(ue)?[{builder:Ue.getChild(ue),predicates:[]}]:[]];throw new T.buA(1909,!1)}function Vt(Ue,ue){return{...Ue,depth:ue}}const an=Symbol("PATH");class Et{keys;parent;keyInParent;root;children=new Map;fieldPathProxy=new Proxy(this,Gt);logicBuilder;constructor(ue,ft,Kt,cn){this.keys=ue,this.parent=Kt,this.keyInParent=cn,this.root=ft??this,Kt||(this.logicBuilder=Q.newRoot())}get builder(){return this.logicBuilder?this.logicBuilder:this.parent.builder.getChild(this.keyInParent)}getChild(ue){return this.children.has(ue)||this.children.set(ue,new Et([...this.keys,ue],this.root,this,ue)),this.children.get(ue)}mergeIn(ue,ft){const Kt=ue.compile();this.builder.mergeIn(Kt.builder,ft)}static unwrapFieldPath(ue){return ue[an]}static newRoot(){return new Et([],void 0,void 0,void 0)}}const Gt={get:(Ue,ue)=>ue===an?Ue:Ue.getChild(ue).fieldPathProxy};let at;const Ve=new Map;class Le{schemaFn;constructor(ue){this.schemaFn=ue}compile(){if(Ve.has(this))return Ve.get(this);const ue=Et.newRoot();Ve.set(this,ue);let ft=at;try{at=ue,this.schemaFn(ue.fieldPathProxy)}finally{at=ft}return ue}static create(ue){return ue instanceof Le?ue:new Le(ue)}static rootCompile(ue){try{return Ve.clear(),void 0===ue?Et.newRoot():ue instanceof Le?ue.compile():new Le(ue).compile()}finally{Ve.clear()}}}function Ne(Ue){if(at!==Et.unwrapFieldPath(Ue).root)throw new T.buA(1908,!1)}function Ae(Ue,ue,ft){return Ne(Ue),Et.unwrapFieldPath(Ue).builder.addMetadataRule(ue,ft),ue}const qe_list=()=>({reduce:(Ue,ue)=>void 0===ue?Ue:[...Ue,ue],getInitial:()=>[]}),qe_min=()=>({reduce:(Ue,ue)=>void 0===Ue||void 0===ue?Ue??ue:Math.min(Ue,ue),getInitial:()=>{}}),qe_max=()=>({reduce:(Ue,ue)=>void 0===Ue||void 0===ue?Ue??ue:Math.max(Ue,ue),getInitial:()=>{}}),qe_or=()=>({reduce:(Ue,ue)=>Ue||ue,getInitial:()=>!1}),qe_override=function tt(Ue){return{reduce:(ue,ft)=>ft,getInitial:()=>Ue?.()}};class pt{reducer;create;brand;constructor(ue,ft){this.reducer=ue,this.create=ft}}function Lt(Ue){return new pt(Ue??qe_override())}function ot(Ue,ue){return new pt(ue??qe_override(),Ue)}const At=Lt(qe_or()),M=Lt(qe_max()),gt=Lt(qe_min()),pe=Lt(qe_max()),lt=Lt(qe_min()),Rt=Lt(qe_list());class Ut{node;constructor(ue){this.node=ue}rawSyncTreeErrors=(0,y.EW)(()=>this.shouldSkipValidation()?[]:[...this.node.logicNode.logic.syncTreeErrors.compute(this.node.context),...this.node.structure.parent?.validationState.rawSyncTreeErrors()??[]]);syncErrors=(0,y.EW)(()=>{return this.shouldSkipValidation()?[]:[...this.node.logicNode.logic.syncErrors.compute(this.node.context),...this.syncTreeErrors(),...(Ue=this.node.submitState.submissionErrors(),void 0===Ue?[]:z(Ue)?Ue:[Ue])];var Ue});syncValid=(0,y.EW)(()=>!!this.shouldSkipValidation()||this.node.structure.reduceChildren(0===this.syncErrors().length,(ue,ft)=>ft&&ue.validationState.syncValid(),m));syncTreeErrors=(0,y.EW)(()=>this.rawSyncTreeErrors().filter(ue=>ue.fieldTree===this.node.fieldTree));rawAsyncErrors=(0,y.EW)(()=>this.shouldSkipValidation()?[]:[...this.node.logicNode.logic.asyncErrors.compute(this.node.context),...this.node.structure.parent?.validationState.rawAsyncErrors()??[]]);asyncErrors=(0,y.EW)(()=>this.shouldSkipValidation()?[]:this.rawAsyncErrors().filter(ue=>"pending"===ue||ue.fieldTree===this.node.fieldTree));parseErrors=(0,y.EW)(()=>this.node.formFieldBindings().flatMap(ue=>ue.parseErrors()));errors=(0,y.EW)(()=>[...this.parseErrors(),...this.syncErrors(),...this.asyncErrors().filter(ue=>"pending"!==ue)]);errorSummary=(0,y.EW)(()=>{const ue=this.node.structure.reduceChildren(this.errors(),(ft,Kt)=>[...Kt,...ft.errorSummary()]);return(0,y.O8)(()=>ue.sort(Mt)),ue});pending=(0,y.EW)(()=>this.node.structure.reduceChildren(this.asyncErrors().includes("pending"),(ue,ft)=>ft||ue.validationState.asyncErrors().includes("pending")));status=(0,y.EW)(()=>
503{if(this.shouldSkipValidation())return"valid";let ue=function Yt(Ue){return Ue.errors().length>0?"invalid":Ue.pending()?"unknown":"valid"}(this);return this.node.structure.reduceChildren(ue,(ft,Kt)=>"invalid"===Kt||"invalid"===ft.validationState.status()?"invalid":"unknown"===Kt||"unknown"===ft.validationState.status()?"unknown":"valid",ft=>"invalid"===ft)});valid=(0,y.EW)(()=>"valid"===this.status());invalid=(0,y.EW)(()=>"invalid"===this.status());shouldSkipValidation=(0,y.EW)(()=>this.node.hidden()||this.node.disabled()||this.node.readonly())}function zt(Ue,ue){if(z(Ue))for(const ft of Ue)ft.fieldTree??=ue;else Ue&&(Ue.fieldTree??=ue);return Ue}function Oe(Ue){return Ue.formField?Ue.formField.element:Ue.fieldTree().formFieldBindings().reduce((ue,ft)=>ue&&ft.element?ue.compareDocumentPosition(ft.element)&Node.DOCUMENT_POSITION_PRECEDING?ft.element:ue:ue??ft.element,void 0)}function Mt(Ue,ue){const ft=Oe(Ue),Kt=Oe(ue);return ft===Kt?0:void 0===ft||void 0===Kt?void 0===ft?1:-1:ft.compareDocumentPosition(Kt)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}const o=Lt();class it{node;cache=new WeakMap;constructor(ue){this.node=ue}resolve(ue){if(!this.cache.has(ue)){const ft=(0,y.EW)(()=>{const Kt=Et.unwrapFieldPath(ue);let cn=this.node,Ge=function v(){return w}();for(;Ge>0||!cn.structure.logic.hasLogic(Kt.root.builder);)if(Ge--,cn=cn.structure.parent,void 0===cn)throw new T.buA(1900,!1);for(let On of Kt.keys)if(cn=cn.structure.getChild(On),void 0===cn)throw new T.buA(1901,!1);return cn.fieldTree});this.cache.set(ue,ft)}return this.cache.get(ue)()}get fieldTree(){return this.node.fieldProxy}get state(){return this.node}get value(){return this.node.structure.value}get key(){return this.node.structure.keyInParent}get pathKeys(){return this.node.structure.pathKeys}index=(0,y.EW)(()=>{const ue=this.key();if(!z((0,y.O8)(this.node.structure.parent.value)))throw new T.buA(1906,!1);return Number(ue)});fieldTreeOf=ue=>this.resolve(ue);stateOf=ue=>this.resolve(ue)();valueOf=ue=>{const ft=this.resolve(ue)().value();if(ft instanceof O.EL)throw new T.buA(1907,!1);return ft}}class nn{node;metadata=new Map;constructor(ue){this.node=ue;for(const ft of this.node.logicNode.logic.getMetadataKeys())if(ft.create){const Kt=this.node.logicNode.logic.getMetadata(ft),cn=(0,y.O8)(()=>(0,T.N4e)(this.node.structure.injector,()=>ft.create((0,y.EW)(()=>Kt.compute(this.node.context)))));this.metadata.set(ft,cn)}}get(ue){if(this.has(ue)&&!this.metadata.has(ue)){if(ue.create)throw new T.buA(1912,!1);
503const ft=this.node.logicNode.logic.getMetadata(ue);this.metadata.set(ue,(0,y.EW)(()=>ft.compute(this.node.context)))}return this.metadata.get(ue)}has(ue){return this.node.logicNode.logic.hasMetadata(ue)}}const tn={get(Ue,ue,ft){const Kt=Ue(),cn=Kt.structure.getChild(ue);if(void 0!==cn)return cn.fieldTree;const Ge=(0,y.O8)(Kt.value);if(z(Ge)){if("length"===ue)return Kt.value().length;if(ue===Symbol.iterator)return()=>(Kt.value(),Array.prototype[Symbol.iterator].apply(Kt.fieldTree))}return se(Ge)&&ue===Symbol.iterator?function*(){for(const On in ft)yield[On,ft[On]]}:void 0},getOwnPropertyDescriptor(Ue,ue){const ft=(0,y.O8)(Ue().value),Kt=Reflect.getOwnPropertyDescriptor(ft,ue);return Kt&&!Kt.configurable&&(Kt.configurable=!0),Kt},ownKeys(Ue){const ue=(0,y.O8)(Ue().value);return"object"==typeof ue&&null!==ue?Reflect.ownKeys(ue):[]}};class pr{logic;node;createChildNode;identitySymbol=Symbol();_injector=void 0;get injector(){return this._injector??=T.zZn.create({providers:[],parent:this.fieldManager.injector}),this._injector}constructor(ue,ft,Kt){this.logic=ue,this.node=ft,this.createChildNode=Kt}children(){const ue=this.childrenMap();return void 0===ue?[]:Array.from(ue.byPropertyKey.values()).map(ft=>(0,y.O8)(ft.reader))}getChild(ue){const ft=ue.toString();let Kt=(0,y.O8)(this.childrenMap)?.byPropertyKey.get(ft)?.reader;return Kt||(Kt=this.createReader(ft)),Kt()}reduceChildren(ue,ft,Kt){const cn=this.childrenMap();if(!cn)return ue;let Ge=ue;for(const On of cn.byPropertyKey.values()){if(Kt?.(Ge))break;Ge=ft((0,y.O8)(On.reader),Ge)}return Ge}destroy(){this.injector.destroy()}createKeyInParent(ue,ft,Kt){if("root"===ue.kind)return en;if(void 0===ft){const cn=Kt;return(0,y.EW)(()=>{if(this.parent.structure.getChild(cn)!==this.node)throw new T.buA(-1902,!1);return cn})}{let cn=Kt;return(0,y.EW)(()=>{const Ge=this.parent.structure.value();if(!z(Ge))throw new T.buA(1903,!1);const On=Ge[cn];if(se(On)&&On.hasOwnProperty(this.parent.structure.identitySymbol)&&On[this.parent.structure.identitySymbol]===ft)return cn;for(let xt=0;xt<Ge.length;xt++){const sn=Ge[xt];if(se(sn)&&sn.hasOwnProperty(this.parent.structure.identitySymbol)&&sn[this.parent.structure.identitySymbol]===ft)return cn=xt.toString()}throw new T.buA(1904,!1)})}}createChildrenMap(){return(0,y.uu)({source:this.value,computation:(ue,ft)=>{if(!se(ue))return;const Kt=ft?.value??{byPropertyKey:new Map};let cn;const Ge=z(ue);void 0!==Kt&&(cn=Ge?function Xe(Ue,ue,ft){let Kt;const cn=new Set(Ue.byPropertyKey.keys()),Ge=new Set(Ue.byTrackingKey?.keys());for(let On=0;On<ue.length;On++){const xt=ue[On];cn.delete(On.toString()),se(xt)&&xt.hasOwnProperty(ft)&&Ge.delete(xt[ft])}if(cn.size>0){Kt??={...Ue};for(const On of cn)Kt.byPropertyKey.delete(On)}if(Ge.size>0){Kt??={...Ue};for(const On of Ge)Kt.byTrackingKey?.delete(On)}return Kt}(Kt,ue,this.identitySymbol):function $(Ue,ue){let ft;for(const Kt of Ue.byPropertyKey.keys())ue.hasOwnProperty(Kt)||(ft??={...Ue},ft.byPropertyKey.delete(Kt));return ft}(Kt,ue));for(const On of Object.keys(ue)){let xt;const sn=ue[On];if(void 0===sn){Kt.byPropertyKey.has(On)&&(cn??={...Kt},cn.byPropertyKey.delete(On));continue}let Wt;Ge&&se(sn)&&!z(sn)&&(xt=sn[this.identitySymbol]??=Symbol("")),xt&&(Kt.byTrackingKey?.has(xt)||(cn??={...Kt},cn.byTrackingKey??=new Map,cn.byTrackingKey.set(xt,this.createChildNode(On,xt,Ge))),Wt=(cn??Kt).byTrackingKey.get(xt));const kn=Kt.byPropertyKey.get(On);void 0===kn?(cn??={...Kt},cn.byPropertyKey.set(On,{reader:this.createReader(On),node:Wt??this.createChildNode(On,xt,Ge)})):Wt&&Wt!==kn.node&&(cn??={...Kt},kn.node=Wt)}return cn??Kt}})}createReader(ue){return(0,y.EW)(()=>this.childrenMap()?.byPropertyKey.get(ue)?.node)}}class Tr extends pr{fieldManager;value;get parent(){}get root(){return this.node}get pathKeys(){return _r}get keyInParent(){return en}childrenMap;constructor(ue,ft,Kt,cn,Ge){super(ft,ue,Ge),this.fieldManager=Kt,this.value=cn,this.childrenMap=this.createChildrenMap()}}class ir extends pr{logic;parent;root;pathKeys;keyInParent;value;childrenMap;get fieldManager(){return this.root.structure.fieldManager}constructor(ue,ft,Kt,cn,Ge,On){super(ft,ue,On),this.logic=ft,this.parent=Kt,this.root=this.parent.structure.root,this.keyInParent=this.createKeyInParent({kind:"child",parent:Kt,pathNode:void 0,logic:ft,initialKeyInParent:Ge,identityInParent:cn,fieldAdapter:void 0},cn,Ge),this.pathKeys=(0,y.EW)(()=>[...Kt.structure.pathKeys(),this.keyInParent()]),this.value=function xn(Ue,ue){const ft
503=(0,y.EW)(()=>Ue()[ue()]);return ft[k.bh]=Ue[k.bh],ft.set=Kt=>{Ue.update(cn=>function bn(Ue,ue,ft){if(z(Ue)){const Kt=[...Ue];return Kt[ft]=ue,Kt}return{...Ue,[ft]:ue}}(cn,Kt,ue()))},ft.update=Kt=>{ft.set(Kt((0,y.O8)(ft)))},ft.asReadonly=()=>ft,ft}(this.parent.structure.value,this.keyInParent),this.childrenMap=this.createChildrenMap(),this.fieldManager.structures.add(this)}}const _r=(0,y.EW)(()=>[]),en=(0,y.EW)(()=>{throw new T.buA(1905,!1)});class F{node;selfSubmitting=(0,T.vPA)(!1);submissionErrors;constructor(ue){this.node=ue,this.submissionErrors=(0,y.uu)({source:this.node.structure.value,computation:()=>[]})}submitting=(0,y.EW)(()=>this.selfSubmitting()||(this.node.structure.parent?.submitting()??!1))}class K{structure;validationState;metadataState;nodeState;submitState;fieldAdapter;controlValue;_context=void 0;get context(){return this._context??=new it(this)}fieldProxy=new Proxy(()=>this,tn);pathNode;constructor(ue){this.pathNode=ue.pathNode,this.fieldAdapter=ue.fieldAdapter,this.structure=this.fieldAdapter.createStructure(this,ue),this.validationState=this.fieldAdapter.createValidationState(this,ue),this.nodeState=this.fieldAdapter.createNodeState(this,ue),this.metadataState=new nn(this),this.submitState=new F(this),this.controlValue=this.controlValueSignal()}focusBoundControl(ue){this.getBindingForFocus()?.focus(ue)}getBindingForFocus(){return this.formFieldBindings().filter(ft=>void 0!==ft.focus).reduce(ct,void 0)||this.structure.children().map(ft=>ft.getBindingForFocus()).reduce(ct,void 0)}pendingSync=(0,y.uu)({source:()=>this.value(),computation:(ue,ft)=>{ft?.value?.abort()}});get fieldTree(){return this.fieldProxy}get logicNode(){return this.structure.logic}get value(){return this.structure.value}get keyInParent(){return this.structure.keyInParent}get errors(){return this.validationState.errors}get parseErrors(){return this.validationState.parseErrors}get errorSummary(){return this.validationState.errorSummary}get pending(){return this.validationState.pending}get valid(){return this.validationState.valid}get invalid(){return this.validationState.invalid}get dirty(){return this.nodeState.dirty}get touched(){return this.nodeState.touched}get disabled(){return this.nodeState.disabled}get disabledReasons(){return this.nodeState.disabledReasons}get hidden(){return this.nodeState.hidden}get readonly(){return this.nodeState.readonly}get formFieldBindings(){return this.nodeState.formFieldBindings}get submitting(){return this.submitState.submitting}get name(){return this.nodeState.name}get max(){return this.metadata(gt)}get maxLength(){return this.metadata(lt)}get min(){return this.metadata(M)}get minLength(){return this.metadata(pe)}get pattern(){return this.metadata(Rt)??Z}get required(){return this.metadata(At)??Re}metadata(ue){return this.metadataState.get(ue)}hasMetadata(ue){return this.metadataState.has(ue)}markAsTouched(){(0,y.O8)(()=>{this.nodeState.markAsTouched(),this.flushSync()})}markAsDirty(){this.nodeState.markAsDirty()}markAsPristine(){this.nodeState.markAsPristine()}markAsUntouched(){this.nodeState.markAsUntouched()}reset(ue){(0,y.O8)(()=>this._reset(ue))}_reset(ue){void 0!==ue&&this.value.set(ue),this.nodeState.markAsUntouched(),this.nodeState.markAsPristine();for(const ft of this.structure.children())ft._reset()}controlValueSignal(){const ue=(0,y.uu)(this.value),{set:ft,update:Kt}=ue;return ue.set=cn=>{ft(cn),this.markAsDirty(),this.debounceSync()},ue.update=cn=>{Kt(cn),this.markAsDirty(),this.debounceSync()},ue}sync(){this.value.set(this.controlValue())}flushSync(){const ue=this.pendingSync();ue&&!ue.signal.aborted&&(ue.abort(),this.sync())}debounceSync(){var ue=this;return(0,c.A)(function*(){const ft=(0,y.O8)(()=>(ue.pendingSync()?.abort(),ue.nodeState.debouncer()));if(ft){const Kt=new AbortController,cn=ft(Kt.signal);if(cn&&(ue.pendingSync.set(Kt),yield cn,Kt.signal.aborted))return}ue.sync()})()}static newRoot(ue,ft,Kt,cn){return cn.newRoot(ue,ft,Kt,cn)}createStructure(ue){return"root"===ue.kind?new Tr(this,ue.logic,ue.fieldManager,ue.value,this.newChild.bind(this)):new ir(this,ue.logic,ue.parent,ue.identityInParent,ue.initialKeyInParent,this.newChild.bind(this))}newChild(ue,ft,Kt){let cn,Ge;return Kt?(cn=this.pathNode.getChild(G),Ge=this.structure.logic.getChild(G)):(cn=this.pathNode.getChild(ue),Ge=this.structure.logic.getChild(ue)),this.fieldAdapter.newChild({kind:"child",parent:this,pathNode:cn,logic:Ge,initialKeyInParent:ue,identityInParent:ft,fieldAdapter:this.fieldAdapter})}}const Z=(0,y.EW)(()=>[]),Re=(0,y.EW)(()=>!1);function ct(Ue,ue){return Ue?ue&&Ue.element.compareDocumentPosition(ue.element)&Node.DOCUMENT_POSITION_PRECEDING?ue:Ue:ue}class _t{node;selfTouched=(0,T.vPA)(!1);selfDirty=(0,T.vPA)(!1);markAsTouched(){this.selfTouched.set(!0)}markAsDirty(){this.selfDirty.set(!0)}markAsPristine(){this.selfDirty.set(!1)}markAsUntouched(){this.selfTouched.set(!1)}formFieldBindings=(0,T.vPA)([]);constructor(ue){this.node=ue}dirty=(0,y.EW)(()=>{const ue=this.selfDirty()&&!this.isNonInteractive();return this.node.structure.reduceChildren(ue,(ft,Kt)=>Kt||ft.nodeState.dirty(),u)});touched=(0,y.EW)(()=>{const ue=this.selfTouched()&&!this.isNonInteractive();return this.node.structure.reduceChildren(ue,(ft,Kt)=>Kt||ft.nodeState.touched(),u)});disabledReasons=(0,y.EW)(()=>[...this.node.structure.parent?.nodeState.disabledReasons()??[],...this.node.logicNode.logic.disabledReasons.compute(this.node.context)]);disabled=(0,y.EW)(()=>!!this.disabledReasons().length);readonly=(0,y.EW)(()=>(this.node.structure.parent?.nodeState.readonly()||this.node.logicNode.logic.readonly.compute(this.node.context))??!1);hidden=(0,y.EW)(()=>(this.node.structure.parent?.nodeState.hidden()||this.node.logicNode.logic.hidden.compute(this.node.context))??!1);name=(0,y.EW)(()=>{const ue=this.node.structure.parent;return ue?`${ue.name()}.${this.node.structure.keyInParent()}`:this.node.structure.fieldManager.rootName});debouncer=(0,y.EW)(()=>
503{if(this.node.logicNode.logic.hasMetadata(o)){const ft=this.node.logicNode.logic.getMetadata(o).compute(this.node.context);if(ft)return Kt=>ft(this.node.context,Kt)}return this.node.structure.parent?.nodeState.debouncer?.()});isNonInteractive=(0,y.EW)(()=>this.hidden()||this.disabled()||this.readonly())}class wt{newRoot(ue,ft,Kt,cn){return new K({kind:"root",fieldManager:ue,value:ft,pathNode:Kt,logic:Kt.builder.build(),fieldAdapter:cn})}newChild(ue){return new K(ue)}createNodeState(ue){return new _t(ue)}createValidationState(ue){return new Ut(ue)}createStructure(ue,ft){return ue.createStructure(ft)}}class ee{injector;rootName;submitOptions;constructor(ue,ft,Kt){this.injector=ue,this.rootName=ft??`${this.injector.get(C.sZ2)}.form${Se++}`,this.submitOptions=Kt}structures=new Set;createFieldManagementEffect(ue){(0,T.QZP)(()=>{const ft=new Set;this.markStructuresLive(ue,ft);for(const Kt of this.structures)ft.has(Kt)||(this.structures.delete(Kt),(0,y.O8)(()=>Kt.destroy()))},{injector:this.injector})}markStructuresLive(ue,ft){ft.add(ue);for(const Kt of ue.children())this.markStructuresLive(Kt.structure,ft)}}let Se=0;function St(...Ue){const[ue,ft,Kt]=function Pt(Ue){let ue,ft,Kt;return 3===Ue.length?[ue,ft,Kt]=Ue:2===Ue.length?function He(Ue){return Ue instanceof Le||"function"==typeof Ue}(Ue[1])?[ue,ft]=Ue:[ue,Kt]=Ue:[ue]=Ue,[ue,ft,Kt]}(Ue),cn=Kt?.injector??(0,T.WQX)(T.zZn),Ge=(0,T.N4e)(cn,()=>Le.rootCompile(ft)),On=new ee(cn,Kt?.name,Kt?.submission),xt=Kt?.adapter??new wt,sn=K.newRoot(On,ue,Ge,xt);return On.createFieldManagementEffect(sn.structure),sn.fieldTree}function Jt(Ue,ue){Ne(Ue),Et.unwrapFieldPath(Ue).mergeIn(Le.create(ue))}function Zn(Ue,ue){return Tn.apply(this,arguments)}function Tn(){return(Tn=(0,c.A)(function*(Ue,ue){const ft=(0,y.O8)(Ue);if((0,y.O8)(ft.submitState.submitting))return!1;const Kt=void 0===ue?ft.structure.root.fieldProxy:Ue,cn={root:ft.structure.root.fieldProxy,submitted:Ue};ue="function"==typeof ue?{action:ue}:ue??ft.structure.fieldManager.submitOptions;const Ge=ue?.action;if(!Ge)throw new T.buA(1915,!1);const On=ue?.onInvalid,xt=ue?.ignoreValidators??"pending";let sn=!0;(0,y.O8)(()=>{$e(ft),"none"===xt?sn=ft.valid():"pending"===xt&&(sn=!ft.invalid())});try{if(sn){ft.submitState.selfSubmitting.set(!0);const Wt=yield(0,y.O8)(()=>Ge?.(Kt,cn));return Wt&&function Ct(Ue,ue){z(ue)||(ue=[ue]);
503const ft=new Map;for(const Kt of ue){const cn=zt(Kt,Ue.fieldTree),Ge=cn.fieldTree();let On=ft.get(Ge);On||(On=[],ft.set(Ge,On)),On.push(cn)}for(const[Kt,cn]of ft)Kt.submitState.submissionErrors.set(cn)}(ft,Wt),!Wt||z(Wt)&&0===Wt.length}return(0,y.O8)(()=>On?.(Kt,cn)),!1}finally{ft.submitState.selfSubmitting.set(!1)}})).apply(this,arguments)}function Yn(Ue){return Le.create(Ue)}function $e(Ue){if(!Ue.validationState.shouldSkipValidation()){Ue.markAsTouched();for(const ue of Ue.structure.children())$e(ue)}}class Ze{kind="compat";control;fieldTree;context;message;constructor({context:ue,kind:ft,control:Kt}){this.context=ue,this.kind=ft,this.control=Kt}}function Ht(Ue){if(0===Ue.length)return null;const ue={};for(const ft of Ue)ue[ft.kind]=ft instanceof Ze?ft.context:ft;return ue}},9417(vt,Y,i){i.d(Y,{BC:()=>Oe,EL:()=>I,X1:()=>Co,YN:()=>Wo,cV:()=>hr,cb:()=>Mt,j4:()=>Qi,k0:()=>ye,kq:()=>W,me:()=>ge,qT:()=>sr,vO:()=>Ut,vS:()=>xi});var c=i(5547),C=i(5802),T=i(7705),y=i(2271),O=i(1413),k=i(7468),w=i(2806),v=i(6354),D=i(6494);let m=(()=>{class ne{_renderer;_elementRef;onChange=j=>{};onTouched=()=>{};constructor(j,ke){this._renderer=j,this._elementRef=ke}setProperty(j,ke){this._renderer.setProperty(this._elementRef.nativeElement,j,ke)}registerOnTouched(j){this.onTouched=j}registerOnChange(j){this.onChange=j}setDisabledState(j){this.setProperty("disabled",j)}static \u0275fac=function(ke){return new(ke||ne)(c.rXU(c.sFG),c.rXU(c.aKT))};static \u0275dir=c.FsC({type:ne})}return ne})(),u=(()=>{class ne extends m{static \u0275fac=(()=>{let j;return function(kt){return(j||(j=c.xGo(ne)))(kt||ne)}})();static \u0275dir=c.FsC({type:ne,features:[c.Vt3]})}return ne})();const W=new C.nKC(""),G={provide:W,useExisting:(0,C.Rfq)(()=>ge),multi:!0},_=new C.nKC("");let ge=(()=>{class ne extends m{_compositionMode;_composing=!1;constructor(j,ke,kt){super(j,ke),this._compositionMode=kt,null==this._compositionMode&&(this._compositionMode=!function le(){const ne=(0,D.rb)()?(0,D.rb)().getUserAgent():"";return/android (\d+)/.test(ne.toLowerCase())}())}writeValue(j){this.setProperty("value",j??"")}_handleInput(j){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(j)}_compositionStart(){this._composing=!0}_compositionEnd(j){this._composing=!1,this._compositionMode&&this.onChange(j)}static \u0275fac=function(ke){return new(ke||ne)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(_,8))};static \u0275dir=c.FsC({type:ne,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(ke,kt){1&ke&&c.bIt("input",function(te){return kt._handleInput(te.target.value)})("blur",function(){return kt.onTouched()})("compositionstart",function(){return kt._compositionStart()})("compositionend",function(te){return kt._compositionEnd(te.target.value)})},standalone:!1,features:[c.Jv_([G]),c.Vt3]})}return ne})();function q(ne){return null==ne||0===Te(ne)}function Te(ne){return null==ne?null:Array.isArray(ne)||"string"==typeof ne?ne.length:ne instanceof Set?ne.size:null}const Be=new C.nKC(""),we=new C.nKC(""),X=/^(?=.{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 ye{static min(ie){return function Q(ne){return ie=>{if(null==ie.value||null==ne)return null;const j=parseFloat(ie.value);return!isNaN(j)&&j<ne?{min:{min:ne,actual:ie.value}}:null}}(ie)}static max(ie){return function ae(ne){return ie=>{if(null==ie.value||null==ne)return null;const j=parseFloat(ie.value);return!isNaN(j)&&j>ne?{max:{max:ne,actual:ie.value}}:null}}(ie)}static required(ie){return function H(ne){return q(ne.value)?{required:!0}:null}(ie)}static requiredTrue(ie){return function _e(ne){return!0===ne.value?null:{required:!0}}(ie)}static email(ie){return function We(ne){return q(ne.value)||X.test(ne.value)?null:{email:!0}}(ie)}static minLength(ie){return function ht(ne){return ie=>{const j=ie.value?.length??Te(ie.value);return null===j||0===j?null:j<ne?{minlength:{requiredLength:ne,actualLength:j}}:null}}(ie)}static maxLength(ie){return function Vt(ne){return ie=>{const j=ie.value?.length??Te(ie.value);return null!==j&&j>ne?{maxlength:{requiredLength:ne,actualLength:j}}:null}}(ie)}static pattern(ie){return function an(ne){if(!ne)return Et;let ie,j;return"string"==typeof ne?(j="","^"!==ne.charAt(0)&&(j+="^"),j+=ne,"$"!==ne.charAt(ne.length-1)&&(j+="$"),ie=new RegExp(j)):(j=ne.toString(),ie=ne),ke=>{if(q(ke.value))return null;
vendor: 4,880 bytes, line 503
503const kt=ke.value;return ie.test(kt)?null:{pattern:{requiredPattern:j,actualValue:kt}}}}(ie)}static nullValidator(ie){return null}static compose(ie){return Ae(ie)}static composeAsync(ie){return tt(ie)}}function Et(ne){return null}function Gt(ne){return null!=ne}function at(ne){return(0,c.yLl)(ne)?(0,w.H)(ne):ne}function Ve(ne){let ie={};return ne.forEach(j=>{ie=null!=j?{...ie,...j}:ie}),0===Object.keys(ie).length?null:ie}function Le(ne,ie){return ie.map(j=>j(ne))}function Ne(ne){return ne.map(ie=>function He(ne){return!ne.validate}(ie)?ie:j=>ie.validate(j))}function Ae(ne){if(!ne)return null;const ie=ne.filter(Gt);return 0==ie.length?null:function(j){return Ve(Le(j,ie))}}function qe(ne){return null!=ne?Ae(Ne(ne)):null}function tt(ne){if(!ne)return null;const ie=ne.filter(Gt);return 0==ie.length?null:function(j){const ke=Le(j,ie).map(at);return(0,k.p)(ke).pipe((0,v.T)(Ve))}}function pt(ne){return null!=ne?tt(Ne(ne)):null}function Lt(ne,ie){return null===ne?[ie]:Array.isArray(ne)?[...ne,ie]:[ne,ie]}function ot(ne){return ne._rawValidators}function At(ne){return ne._rawAsyncValidators}function M(ne){return ne?Array.isArray(ne)?ne:[ne]:[]}function gt(ne,ie){return Array.isArray(ne)?ne.includes(ie):ne===ie}function pe(ne,ie){const j=M(ie);return M(ne).forEach(kt=>{gt(j,kt)||j.push(kt)}),j}function lt(ne,ie){return M(ie).filter(j=>!gt(ne,j))}class Rt{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(ie){this._rawValidators=ie||[],this._composedValidatorFn=qe(this._rawValidators)}_setAsyncValidators(ie){this._rawAsyncValidators=ie||[],this._composedAsyncValidatorFn=pt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(ie){this._onDestroyCallbacks.push(ie)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ie=>ie()),this._onDestroyCallbacks=[]}reset(ie=void 0){this.control?.reset(ie)}hasError(ie,j){return!!this.control&&this.control.hasError(ie,j)}getError(ie,j){return this.control?this.control.getError(ie,j):null}}class Yt extends Rt{name;get formDirective(){return null}get path(){return null}}class Ut extends Rt{_parent=null;name=null;valueAccessor=null}class jt{_cd;constructor(ie){this._cd=ie}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Oe=(()=>{class ne extends jt{constructor(j){super(j)}static \u0275fac=function(ke){return new(ke||ne)(c.rXU(Ut,2))};static \u0275dir=c.FsC({type:ne,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ke,kt){2&ke&&c.AVh("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)},standalone:!1,features:[c.Vt3]})}return ne})(),Mt=(()=>{class ne extends jt{constructor(j){super(j)}static \u0275fac=function(ke){return new(ke||ne)(c.rXU(Yt,10))};static \u0275dir=c.FsC({type:ne,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ke,kt){2&ke&&c.AVh("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)("ng-submitted",kt.isSubmitted)},standalone:!1,features:[c.Vt3]})}return ne})();
vendor: 8,695 bytes, line 503
503const ct="VALID",_t="INVALID",wt="PENDING",ee="DISABLED";class Se{}class Pt extends Se{value;source;constructor(ie,j){super(),this.value=ie,this.source=j}}class St extends Se{pristine;source;constructor(ie,j){super(),this.pristine=ie,this.source=j}}class Xt extends Se{touched;source;constructor(ie,j){super(),this.touched=ie,this.source=j}}class Jt extends Se{status;source;constructor(ie,j){super(),this.status=ie,this.source=j}}class vn extends Se{source;constructor(ie){super(),this.source=ie}}class jn extends Se{source;constructor(ie){super(),this.source=ie}}function Zn(ne){return(Ct(ne)?ne.validators:ne)||null}function Yn(ne,ie){return(Ct(ie)?ie.asyncValidators:ne)||null}function Ct(ne){return null!=ne&&!Array.isArray(ne)&&"object"==typeof ne}class I{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(ie,j){this._assignValidators(ie),this._assignAsyncValidators(j)}get validator(){return this._composedValidatorFn}set validator(ie){this._rawValidators=this._composedValidatorFn=ie}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ie){this._rawAsyncValidators=this._composedAsyncValidatorFn=ie}get parent(){return this._parent}get status(){return(0,y.O8)(this.statusReactive)}set status(ie){(0,y.O8)(()=>this.statusReactive.set(ie))}_status=(0,y.EW)(()=>this.statusReactive());statusReactive=(0,C.vPA)(void 0);get valid(){return this.status===ct}get invalid(){return this.status===_t}get pending(){return this.status===wt}get disabled(){return this.status===ee}get enabled(){return this.status!==ee}errors;get pristine(){return(0,y.O8)(this.pristineReactive)}set pristine(ie){(0,y.O8)(()=>this.pristineReactive.set(ie))}_pristine=(0,y.EW)(()=>this.pristineReactive());pristineReactive=(0,C.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,y.O8)(this.touchedReactive)}set touched(ie){(0,y.O8)(()=>this.touchedReactive.set(ie))}_touched=(0,y.EW)(()=>this.touchedReactive());touchedReactive=(0,C.vPA)(!1);get untouched(){return!this.touched}_events=new O.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ie){this._assignValidators(ie)}setAsyncValidators(ie){this._assignAsyncValidators(ie)}addValidators(ie){this.setValidators(pe(ie,this._rawValidators))}addAsyncValidators(ie){this.setAsyncValidators(pe(ie,this._rawAsyncValidators))}removeValidators(ie){this.setValidators(lt(ie,this._rawValidators))}removeAsyncValidators(ie){this.setAsyncValidators(lt(ie,this._rawAsyncValidators))}hasValidator(ie){return gt(this._rawValidators,ie)}hasAsyncValidator(ie){return gt(this._rawAsyncValidators,ie)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ie={}){const j=!1===this.touched;this.touched=!0;const ke=ie.sourceControl??this;ie.onlySelf||this._parent?.markAsTouched({...ie,sourceControl:ke}),j&&!1!==ie.emitEvent&&this._events.next(new Xt(!0,ke))}markAllAsDirty(ie={}){this.markAsDirty({onlySelf:!0,emitEvent:ie.emitEvent,sourceControl:this}),this._forEachChild(j=>j.markAllAsDirty(ie))}markAllAsTouched(ie={}){this.markAsTouched({onlySelf:!0,emitEvent:ie.emitEvent,sourceControl:this}),this._forEachChild(j=>j.markAllAsTouched(ie))}markAsUntouched(ie={}){const j=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const ke=ie.sourceControl??this;this._forEachChild(kt=>{kt.markAsUntouched({onlySelf:!0,emitEvent:ie.emitEvent,sourceControl:ke})}),ie.onlySelf||this._parent?._updateTouched(ie,ke),j&&!1!==ie.emitEvent&&this._events.next(new Xt(!1,ke))}markAsDirty(ie={}){const j=!0===this.pristine;this.pristine=!1;const ke=ie.sourceControl??this;ie.onlySelf||this._parent?.markAsDirty({...ie,sourceControl:ke}),j&&!1!==ie.emitEvent&&this._events.next(new St(!1,ke))}markAsPristine(ie={}){const j=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const ke=ie.sourceControl??this;this._forEachChild(kt=>{kt.markAsPristine({onlySelf:!0,emitEvent:ie.emitEvent})}),ie.onlySelf||this._parent?._updatePristine(ie,ke),j&&!1!==ie.emitEvent&&this._events.next(new St(!0,ke))}markAsPending(ie={}){this.status=wt;const j=ie.sourceControl??this;!1!==ie.emitEvent&&(this._events.next(new Jt(this.status,j)),this.statusChanges.emit(this.status)),ie.onlySelf||this._parent?.markAsPending({...ie,sourceControl:j})}disable(ie={}){const j=this._parentMarkedDirty(ie.onlySelf);this.status=ee,this.errors=null,this._forEachChild(kt=>{kt.disable({...ie,onlySelf:!0})}),this._updateValue();const ke=ie.sourceControl??this;!1!==ie.emitEvent&&(this._events.next(new Pt(this.value,ke)),this._events.next(new Jt(this.status,ke)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ie,skipPristineCheck:j},this),this._onDisabledChange.forEach(kt=>kt(!0))}enable(ie={}){const j=this._parentMarkedDirty(ie.onlySelf);this.status=ct,this._forEachChild(ke=>{ke.enable({...ie,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ie.emitEvent}),this._updateAncestors({...ie,skipPristineCheck:j},this),this._onDisabledChange.forEach(ke=>ke(!1))}_updateAncestors(ie,j){ie.onlySelf||(this._parent?.updateValueAndValidity(ie),ie.skipPristineCheck||this._parent?._updatePristine({},j),this._parent?._updateTouched({},j))}setParent(ie){this._parent=ie}getRawValue(){return this.value}updateValueAndValidity(ie={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const ke=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ct||this.status===wt)&&this._runAsyncValidator(ke,ie.emitEvent)}const j=ie.sourceControl??this;!1!==ie.emitEvent&&(this._events.next(new Pt(this.value,j)),this._events.next(new Jt(this.status,j)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),ie.onlySelf||this._parent?.updateValueAndValidity({...ie,sourceControl:j})}_updateTreeValidity(ie={emitEvent:!0}){this._forEachChild(j=>j._updateTreeValidity(ie)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ie.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ee:ct}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ie,j){if(this.asyncValidator){this.status=wt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==j,shouldHaveEmitted:!1!==ie};const ke=at(this.asyncValidator(this));this._asyncValidationSubscription=ke.subscribe(kt=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(kt,{emitEvent:j,shouldHaveEmitted:ie})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const ie=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,ie}return!1}setErrors(ie,j={}){this.errors=ie,this._updateControlsErrors(!1!==j.emitEvent,this,j.shouldHaveEmitted)}get(ie){let j=ie;return null==j||(Array.isArray(j)||(j=j.split(".")),0===j.length)?null:j.reduce((ke,kt)=>ke&&ke._find(kt),this)}getError(ie,j){const ke=j?this.get(j):this;return ke?.errors?ke.errors[ie]:null}hasError(ie,j){return!!this.getError(ie,j)}get root(){let ie=this;for(;ie._parent;)ie=ie._parent;return ie}_updateControlsErrors(ie,j,ke){this.status=this._calculateStatus(),ie&&this.statusChanges.emit(this.status),(ie||ke)&&this._events.next(new Jt(this.status,j)),this._parent&&this._parent._updateControlsErrors(ie,j,ke)}_initObservables(){this.valueChanges=new C.bkB,this.statusChanges=new C.bkB}_calculateStatus(){return this._allControlsDisabled()?ee:this.errors?_t:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wt)?wt:this._anyControlsHaveStatus(_t)?_t:ct}_anyControlsHaveStatus(ie){return this._anyControls(j=>j.status===ie)}_anyControlsDirty(){return this._anyControls(ie=>ie.dirty)}_anyControlsTouched(){return this._anyControls(ie=>ie.touched)}_updatePristine(ie,j){const ke=!this._anyControlsDirty(),kt=this.pristine!==ke;this.pristine=ke,ie.onlySelf||this._parent?._updatePristine(ie,j),kt&&this._events.next(new St(this.pristine,j))}_updateTouched(ie={},j){this.touched=this._anyControlsTouched(),this._events.next(new Xt(this.touched,j)),ie.onlySelf||this._parent?._updateTouched(ie,j)}_onDisabledChange=[];_registerOnCollectionChange(ie){this._onCollectionChange=ie}_setUpdateStrategy(ie){Ct(ie)&&null!=ie.updateOn&&(this._updateOn=ie.updateOn)}_parentMarkedDirty(ie){return!ie&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}
vendor: 11,017 bytes, line 503
503_find(ie){return null}_assignValidators(ie){this._rawValidators=Array.isArray(ie)?ie.slice():ie,this._composedValidatorFn=function Tn(ne){return Array.isArray(ne)?qe(ne):ne||null}(this._rawValidators)}_assignAsyncValidators(ie){this._rawAsyncValidators=Array.isArray(ie)?ie.slice():ie,this._composedAsyncValidatorFn=function $e(ne){return Array.isArray(ne)?pt(ne):ne||null}(this._rawAsyncValidators)}}class mt extends I{constructor(ie,j,ke){super(Zn(j),Yn(ke,j)),this.controls=ie,this._initObservables(),this._setUpdateStrategy(j),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(ie,j){return this.controls[ie]?this.controls[ie]:(this.controls[ie]=j,j.setParent(this),j._registerOnCollectionChange(this._onCollectionChange),j)}addControl(ie,j,ke={}){this.registerControl(ie,j),this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}removeControl(ie,j={}){this.controls[ie]&&this.controls[ie]._registerOnCollectionChange(()=>{}),delete this.controls[ie],this.updateValueAndValidity({emitEvent:j.emitEvent}),this._onCollectionChange()}setControl(ie,j,ke={}){this.controls[ie]&&this.controls[ie]._registerOnCollectionChange(()=>{}),delete this.controls[ie],j&&this.registerControl(ie,j),this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}contains(ie){return this.controls.hasOwnProperty(ie)&&this.controls[ie].enabled}setValue(ie,j={}){(function Ht(ne,ie,j){ne._forEachChild((ke,kt)=>{if(void 0===j[kt])throw new C.buA(-1002,"")})})(this,0,ie),Object.keys(ie).forEach(ke=>{(function Ze(ne,ie,j){const ke=ne.controls;if(!(ie?Object.keys(ke):ke).length)throw new C.buA(1e3,"");if(!ke[j])throw new C.buA(1001,"")})(this,!0,ke),this.controls[ke].setValue(ie[ke],{onlySelf:!0,emitEvent:j.emitEvent})}),this.updateValueAndValidity(j)}patchValue(ie,j={}){null!=ie&&(Object.keys(ie).forEach(ke=>{const kt=this.controls[ke];kt&&kt.patchValue(ie[ke],{onlySelf:!0,emitEvent:j.emitEvent})}),this.updateValueAndValidity(j))}reset(ie={},j={}){this._forEachChild((ke,kt)=>{ke.reset(ie?ie[kt]:null,{...j,onlySelf:!0})}),this._updatePristine(j,this),this._updateTouched(j,this),this.updateValueAndValidity(j),!1!==j?.emitEvent&&this._events.next(new jn(this))}getRawValue(){return this._reduceChildren({},(ie,j,ke)=>(ie[ke]=j.getRawValue(),ie))}_syncPendingControls(){let ie=this._reduceChildren(!1,(j,ke)=>!!ke._syncPendingControls()||j);return ie&&this.updateValueAndValidity({onlySelf:!0}),ie}_forEachChild(ie){Object.keys(this.controls).forEach(j=>{const ke=this.controls[j];ke&&ie(ke,j)})}_setUpControls(){this._forEachChild(ie=>{ie.setParent(this),ie._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ie){for(const[j,ke]of Object.entries(this.controls))if(this.contains(j)&&ie(ke))return!0;return!1}_reduceValue(){return this._reduceChildren({},(j,ke,kt)=>((ke.enabled||this.disabled)&&(j[kt]=ke.value),j))}_reduceChildren(ie,j){let ke=ie;return this._forEachChild((kt,vr)=>{ke=j(ke,kt,vr)}),ke}_allControlsDisabled(){for(const ie of Object.keys(this.controls))if(this.controls[ie].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ie){return this.controls.hasOwnProperty(ie)?this.controls[ie]:null}}const Ge=new C.nKC("",{factory:()=>On}),On="always";function sn(ne,ie,j=On){mi(ne,ie),ie.valueAccessor.writeValue(ne.value),(ne.disabled||"always"===j)&&ie.valueAccessor.setDisabledState?.(ne.disabled),function bt(ne,ie){ie.valueAccessor.registerOnChange(j=>{ne._pendingValue=j,ne._pendingChange=!0,ne._pendingDirty=!0,"change"===ne.updateOn&&un(ne,ie)})}(ne,ie),function _n(ne,ie){const j=(ke,kt)=>{ie.valueAccessor.writeValue(ke),kt&&ie.viewToModelUpdate(ke)};ne.registerOnChange(j),ie._registerOnDestroy(()=>{ne._unregisterOnChange(j)})}(ne,ie),function yt(ne,ie){ie.valueAccessor.registerOnTouched(()=>{ne._pendingTouched=!0,"blur"===ne.updateOn&&ne._pendingChange&&un(ne,ie),"submit"!==ne.updateOn&&ne.markAsTouched()})}(ne,ie),function Fr(ne,ie){if(ie.valueAccessor.setDisabledState){const j=ke=>{ie.valueAccessor.setDisabledState(ke)};ne.registerOnDisabledChange(j),ie._registerOnDestroy(()=>{ne._unregisterOnDisabledChange(j)})}}(ne,ie)}function Wt(ne,ie,j=!0){const ke=()=>{};ie?.valueAccessor?.registerOnChange(ke),ie?.valueAccessor?.registerOnTouched(ke),Qe(ne,ie),ne&&(ie._invokeOnDestroyCallbacks(),ne._registerOnCollectionChange(()=>{}))}function kn(ne,ie){ne.forEach(j=>{j.registerOnValidatorChange&&j.registerOnValidatorChange(ie)})}function mi(ne,ie){const j=ot(ne);null!==ie.validator?ne.setValidators(Lt(j,ie.validator)):"function"==typeof j&&ne.setValidators([j]);const ke=At(ne);null!==ie.asyncValidator?ne.setAsyncValidators(Lt(ke,ie.asyncValidator)):"function"==typeof ke&&ne.setAsyncValidators([ke]);const kt=()=>ne.updateValueAndValidity();kn(ie._rawValidators,kt),kn(ie._rawAsyncValidators,kt)}function Qe(ne,ie){let j=!1;if(null!==ne){if(null!==ie.validator){const kt=ot(ne);if(Array.isArray(kt)&&kt.length>0){const vr=kt.filter(te=>te!==ie.validator);vr.length!==kt.length&&(j=!0,ne.setValidators(vr))}}if(null!==ie.asyncValidator){const kt=At(ne);if(Array.isArray(kt)&&kt.length>0){const vr=kt.filter(te=>te!==ie.asyncValidator);vr.length!==kt.length&&(j=!0,ne.setAsyncValidators(vr))}}}const ke=()=>{};return kn(ie._rawValidators,ke),kn(ie._rawAsyncValidators,ke),j}function un(ne,ie){ne._pendingDirty&&ne.markAsDirty(),ne.setValue(ne._pendingValue,{emitModelToViewChange:!1}),ie.viewToModelUpdate(ne._pendingValue),ne._pendingChange=!1}function Pn(ne,ie){mi(ne,ie)}function Qr(ne,ie){ne._syncPendingControls(),ie.forEach(j=>{const ke=j.control;"submit"===ke.updateOn&&ke._pendingChange&&(j.viewToModelUpdate(ke._pendingValue),ke._pendingChange=!1)})}const Xr={provide:Yt,useExisting:(0,C.Rfq)(()=>hr)},Zr=Promise.resolve();let hr=(()=>{class ne extends Yt{callSetDisabledState;get submitted(){return(0,y.O8)(this.submittedReactive)}_submitted=(0,y.EW)(()=>this.submittedReactive());submittedReactive=(0,C.vPA)(!1);_directives=new Set;form;ngSubmit=new C.bkB;options;constructor(j,ke,kt){super(),this.callSetDisabledState=kt,this.form=new mt({},qe(j),pt(ke))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(j){Zr.then(()=>{const ke=this._findContainer(j.path);j.control=ke.registerControl(j.name,j.control),sn(j.control,j,this.callSetDisabledState),j.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(j)})}getControl(j){return this.form.get(j.path)}removeControl(j){Zr.then(()=>{this._findContainer(j.path)?.removeControl(j.name),this._directives.delete(j)})}addFormGroup(j){Zr.then(()=>{const ke=this._findContainer(j.path),kt=new mt({});Pn(kt,j),ke.registerControl(j.name,kt),kt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(j){Zr.then(()=>{this._findContainer(j.path)?.removeControl?.(j.name)})}getFormGroup(j){return this.form.get(j.path)}updateModel(j,ke){Zr.then(()=>{this.form.get(j.path).setValue(ke)})}setValue(j){this.control.setValue(j)}onSubmit(j){return this.submittedReactive.set(!0),Qr(this.form,this._directives),this.ngSubmit.emit(j),this.form._events.next(new vn(this.control)),"dialog"===j?.target?.method}onReset(){this.resetForm()}resetForm(j=void 0){this.form.reset(j),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(j){return j.pop(),j.length?this.form.get(j):this.form}static \u0275fac=function(ke){return new(ke||ne)(c.rXU(Be,10),c.rXU(we,10),c.rXU(Ge,8))};static \u0275dir=c.FsC({type:ne,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(ke,kt){1&ke&&c.bIt("submit",function(te){return kt.onSubmit(te)})("reset",function(){return kt.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[c.Jv_([Xr]),c.Vt3]})}return ne})();function Si(ne,ie){const j=ne.indexOf(ie);j>-1&&ne.splice(j,1)}function Ei(ne){return"object"==typeof ne&&null!==ne&&2===Object.keys(ne).length&&"value"in ne&&"disabled"in ne}const Dt=class extends I{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(ie=null,j,ke){super(Zn(j),Yn(ke,j)),this._applyFormState(ie),this._setUpdateStrategy(j),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ct(j)&&(j.nonNullable||j.initialValueIsDefault)&&(this.defaultValue=Ei(ie)?ie.value:ie)}setValue(ie,j={}){this.value=this._pendingValue=ie,this._onChange.length&&!1!==j.emitModelToViewChange&&this._onChange.forEach(ke=>ke(this.value,!1!==j.emitViewToModelChange)),this.updateValueAndValidity(j)}patchValue(ie,j={}){this.setValue(ie,j)}reset(ie=this.defaultValue,j={}){this._applyFormState(ie),this.markAsPristine(j),this.markAsUntouched(j),this.setValue(this.value,j),j.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==j?.emitEvent&&this._events.next(new jn(this))}_updateValue(){}_anyControls(ie){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ie){this._onChange.push(ie)}_unregisterOnChange(ie){Si(this._onChange,ie)}registerOnDisabledChange(ie){this._onDisabledChange.push(ie)}_unregisterOnDisabledChange(ie){Si(this._onDisabledChange,ie)}_forEachChild(ie){}_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(ie){Ei(ie)?(this.value=this._pendingValue=ie.value,ie.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ie}},wo={provide:Ut,useExisting:(0,C.Rfq)(()=>xi)},Vi=Promise.resolve();let xi=(()=>{class ne extends Ut{_changeDetectorRef;callSetDisabledState;control=new Dt;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new C.bkB;constructor(j,ke,kt,vr,te,A){super(),this._changeDetectorRef=te,this.callSetDisabledState=A,this._parent=j,this._setValidators(ke),this._setAsyncValidators(kt),this.valueAccessor=function qr(ne,ie){if(!ie)return null;let j,ke,kt;return Array.isArray(ie),ie.forEach(vr=>{vr.constructor===ge?j=vr:function Hr(ne){return Object.getPrototypeOf(ne.constructor)===u}(vr)?ke=vr:kt=vr}),kt||ke||j||null}(0,vr)}ngOnChanges(j){if(this._checkForErrors(),!this._registered||"name"in j){if(this._registered&&(this._checkName(),this.formDirective)){const ke=j.name.previousValue;this.formDirective.removeControl({name:ke,path:this._getPath(ke)})}this._setUpControl()}"isDisabled"in j&&this._updateDisabled(j),function dr(ne,ie){if(!ne.hasOwnProperty("model"))return!1;const j=ne.model;return!!j.isFirstChange()||!Object.is(ie,j.currentValue)}
503(j,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(j){this.viewModel=j,this.update.emit(j)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){sn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(j){Vi.then(()=>{this.control.setValue(j,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(j){const ke=j.isDisabled.currentValue,kt=0!==ke&&(0,T.L39)(ke);Vi.then(()=>{kt&&!this.control.disabled?this.control.disable():!kt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(j){return this._parent?function xt(ne,ie){return[...ie.path,ne]}(j,this._parent):[j]}static \u0275fac=function(ke){return new(ke||ne)(c.rXU(Yt,9),c.rXU(Be,10),c.rXU(we,10),c.rXU(W,10),c.rXU(T.gRc,8),c.rXU(Ge,8))};static \u0275dir=c.FsC({type:ne,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[c.Jv_([wo]),c.Vt3,c.OA$]})}return ne})(),sr=(()=>{class ne{static \u0275fac=function(ke){return new(ke||ne)};static \u0275dir=c.FsC({type:ne,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return ne})(),$r=(()=>{class ne extends Yt{callSetDisabledState;get submitted(){return(0,y.O8)(this._submittedReactive)}set submitted(j){this._submittedReactive.set(j)}_submitted=(0,y.EW)(()=>this._submittedReactive());_submittedReactive=(0,C.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(j,ke,kt){super(),this.callSetDisabledState=kt,this._setValidators(j),this._setAsyncValidators(ke)}ngOnChanges(j){this.onChanges(j)}ngOnDestroy(){this.onDestroy()}onChanges(j){this._checkFormPresent(),j.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Qe(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(j){const ke=this.form.get(j.path);return sn(ke,j,this.callSetDisabledState),ke.updateValueAndValidity({emitEvent:!1}),this.directives.push(j),ke}getControl(j){return this.form.get(j.path)}
503removeControl(j){Wt(j.control||null,j,!1),function Cr(ne,ie){const j=ne.indexOf(ie);j>-1&&ne.splice(j,1)}(this.directives,j)}addFormGroup(j){this._setUpFormContainer(j)}removeFormGroup(j){this._cleanUpFormContainer(j)}getFormGroup(j){return this.form.get(j.path)}getFormArray(j){return this.form.get(j.path)}addFormArray(j){this._setUpFormContainer(j)}removeFormArray(j){this._cleanUpFormContainer(j)}updateModel(j,ke){this.form.get(j.path).setValue(ke)}onReset(){this.resetForm()}resetForm(j=void 0,ke={}){this.form.reset(j,ke),this._submittedReactive.set(!1)}onSubmit(j){return this.submitted=!0,Qr(this.form,this.directives),this.ngSubmit.emit(j),this.form._events.next(new vn(this.control)),"dialog"===j?.target?.method}_updateDomValue(){this.directives.forEach(j=>{const ke=j.control,kt=this.form.get(j.path);ke!==kt&&(Wt(ke||null,j),(ne=>ne instanceof Dt)(kt)&&(sn(kt,j,this.callSetDisabledState),j.control=kt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(j){const ke=this.form.get(j.path);Pn(ke,j),ke.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(j){const ke=this.form?.get(j.path);ke&&function rn(ne,ie){return Qe(ne,ie)}(ke,j)&&ke.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){mi(this.form,this),this._oldForm&&Qe(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(ke){return new(ke||ne)(c.rXU(Be,10),c.rXU(we,10),c.rXU(Ge,8))};static \u0275dir=c.FsC({type:ne,features:[c.Vt3,c.OA$]})}return ne})();const fi=new C.nKC(""),Po={provide:Yt,useExisting:(0,C.Rfq)(()=>Qi)};let Qi=(()=>{class ne extends $r{form=null;ngSubmit=new C.bkB;get control(){return this.form}static \u0275fac=(()=>{let j;return function(kt){return(j||(j=c.xGo(ne)))(kt||ne)}})();static \u0275dir=c.FsC({type:ne,selectors:[["","formGroup",""]],hostBindings:function(ke,kt){1&ke&&c.bIt("submit",function(te){return kt.onSubmit(te)})("reset",function(){return kt.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[c.Jv_([Po]),c.Vt3]})}return ne})(),lo=(()=>{class ne{static \u0275fac=function(ke){return new(ke||ne)};static \u0275mod=c.$C({type:ne});static \u0275inj=C.G2t({})}return ne})(),Wo=(()=>{class ne{static withConfig(j){return{ngModule:ne,providers:[{provide:Ge,useValue:j.callSetDisabledState??On}]}}static \u0275fac=function(ke){return new(ke||ne)};static \u0275mod=c.$C({type:ne});static \u0275inj=C.G2t({imports:[lo]})}return ne})(),Co=(()=>{class ne{static withConfig(j){return{ngModule:ne,providers:[{provide:fi,useValue:j.warnOnNgModelWithFormControl??"always"},{provide:Ge,useValue:j.callSetDisabledState??On}]}}static \u0275fac=function(ke){return new(ke||ne)};static \u0275mod=c.$C({type:ne});static \u0275inj=C.G2t({imports:[lo]})}return ne})()},3695(vt,Y,i){i.d(Y,{Bp:()=>lt,F0:()=>Ut,Rp:()=>At,Ru:()=>gt,T1:()=>Rt,V_:()=>Yt,dn:()=>Yn,r9:()=>Te,sg:()=>nn,tf:()=>H,zB:()=>Tn});var W=i(5547),z=i(7705),se=i(5802),G=i(2271),le=i(9417),_=i(9844);const ge=new se.nKC("");function Te($e,Ct){(0,_.D5)($e),_.iQ.unwrapFieldPath($e).builder.addDisabledReasonRule(Ht=>{let I=!0;return"string"==typeof Ct?I=Ct:Ct&&(I=Ct(Ht)),"string"==typeof I?{fieldTree:Ht.fieldTree,message:I}:I?{fieldTree:Ht.fieldTree}:void 0})}function X($e){return"number"==typeof $e.length?$e.length:$e.size}function ye($e,Ct){return $e instanceof Function?$e(Ct):$e}function Q($e){return"number"==typeof $e?isNaN($e):""===$e||!1===$e||null==$e}function ae($e){return void 0===$e?[]:Array.isArray($e)?$e:[$e]}function H($e,Ct){(0,_.D5)($e),_.iQ.unwrapFieldPath($e).builder.addSyncErrorRule(Ht=>(0,_.$_)(Ct(Ht),Ht.fieldTree))}class at{__brand=void 0;kind="";fieldTree;message;constructor(Ct){Ct&&Object.assign(this,Ct)}}class Ve extends at{kind="required"}class Ne extends at{minLength;kind="minLength";constructor(Ct,Ze){super(Ze),this.minLength=Ct}}class Ae extends at{maxLength;kind="maxLength";constructor(Ct,Ze){super(Ze),this.maxLength=Ct}}class qe extends at{pattern;kind="pattern";constructor(Ct,Ze){super(Ze),this.pattern=Ct}}class tt extends at{kind="email"}class pt extends at{kind="parse"}const ot=/^(?=.{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])?)*$/;function At($e,Ct){H($e,Ze=>{if(!Q(Ze.value())&&!ot.test(Ze.value()))return Ct?.error?ye(Ct.error,Ze):function Gt($e){return new tt($e)}({message:ye(Ct?.message,Ze)})})}function gt($e,Ct,Ze){const Ht=(0,_.yu)($e,(0,_.tl)(),I=>
503"number"==typeof Ct?Ct:Ct(I));(0,_.yu)($e,_.E2,({state:I})=>I.metadata(Ht)()),H($e,I=>{if(Q(I.value()))return;const mt=I.state.metadata(Ht)();return void 0!==mt&&X(I.value())>mt?Ze?.error?ye(Ze.error,I):function an($e,Ct){return new Ae($e,Ct)}(mt,{message:ye(Ze?.message,I)}):void 0})}function lt($e,Ct,Ze){const Ht=(0,_.yu)($e,(0,_.tl)(),I=>"number"==typeof Ct?Ct:Ct(I));(0,_.yu)($e,_.G6,({state:I})=>I.metadata(Ht)()),H($e,I=>{if(Q(I.value()))return;const mt=I.state.metadata(Ht)();return void 0!==mt&&X(I.value())<mt?Ze?.error?ye(Ze.error,I):function Vt($e,Ct){return new Ne($e,Ct)}(mt,{message:ye(Ze?.message,I)}):void 0})}function Rt($e,Ct,Ze){const Ht=(0,_.yu)($e,(0,_.tl)(),I=>Ct instanceof RegExp?Ct:Ct(I));(0,_.yu)($e,_.XF,({state:I})=>I.metadata(Ht)()),H($e,I=>{if(Q(I.value()))return;const mt=I.state.metadata(Ht)();return void 0===mt||mt.test(I.value())?void 0:Ze?.error?ye(Ze.error,I):function Et($e,Ct){return new qe($e,Ct)}(mt,{message:ye(Ze?.message,I)})})}function Yt($e,Ct){const Ze=(0,_.yu)($e,(0,_.tl)(),Ht=>!Ct?.when||Ct.when(Ht));(0,_.yu)($e,_.mw,({state:Ht})=>Ht.metadata(Ze)()),H($e,Ht=>{if(Ht.state.metadata(Ze)()&&Q(Ht.value()))return Ct?.error?ye(Ct.error,Ht):function _e($e){return new Ve($e)}({message:ye(Ct?.message,Ht)})})}function Ut($e,Ct){(0,_.D5)($e);const Ze=_.iQ.unwrapFieldPath($e),Ht=(0,_._7)(Ct.factory);(0,_.yu)($e,Ht,I=>{const Ue=I.stateOf($e).validationState;if(!Ue.shouldSkipValidation()&&Ue.syncValid())return Ct.params(I)}),Ze.builder.addAsyncErrorRule(I=>{const mt=I.state.metadata(Ht);let Ue;switch(mt.status()){case"idle":return;case"loading":case"reloading":return"pending";case"resolved":case"local":return mt.hasValue()?(Ue=Ct.onSuccess(mt.value(),I),(0,_.$_)(Ue,I.fieldTree)):void 0;case"error":return Ue=Ct.onError(mt.error(),I),(0,_.$_)(Ue,I.fieldTree)}})}function nn($e,Ct){(0,_.D5)($e);const Ze=_.iQ.unwrapFieldPath($e),Ht=function tn($e){return"function"==typeof $e?$e:"blur"===$e?function bn(){return($e,Ct)=>new Promise(Ze=>{Ct.addEventListener("abort",()=>Ze(),{once:!0})})}():$e>0?function xn($e){return(Ct,Ze)=>new Promise(Ht=>{let I;const mt=()=>{clearTimeout(I),Ht()};I=setTimeout(()=>{Ze.removeEventListener("abort",mt),Ht()},$e),Ze.addEventListener("abort",mt,{once:!0})})}($e):pr}(Ct);Ze.builder.addMetadataRule(_.KA,()=>Ht)}function pr(){}const Tr=new se.nKC("");class _r{field;constructor(Ct){this.field=Ct}control=this;get value(){return this.field().value()}get valid(){return this.field().valid()}get invalid(){return this.field().invalid()}get pending(){return this.field().pending()}get disabled(){return this.field().disabled()}get enabled(){return!this.field().disabled()}get errors(){return(0,_.ld)(this.field().errors())}get pristine(){return!this.field().dirty()}get dirty(){return this.field().dirty()}get touched(){return this.field().touched()}get untouched(){return!this.field().touched()}get status(){if(this.field().disabled())return"DISABLED";if(this.field().valid())return"VALID";if(this.field().invalid())return"INVALID";if(this.field().pending())return"PENDING";throw new se.buA(1910,!1)}valueAccessor=null;hasValidator(Ct){return Ct===le.k0.required&&this.field().required()}updateValueAndValidity(){}}const en={disabled:"disabled",disabledReasons:"disabledReasons",dirty:"dirty",errors:"errors",hidden:"hidden",invalid:"invalid",max:"max",maxLength:"maxLength",min:"min",minLength:"minLength",
503name:"name",pattern:"pattern",pending:"pending",readonly:"readonly",required:"required",touched:"touched"},Bn=(()=>{const $e={};for(const Ct of Object.keys(en))$e[en[Ct]]=Ct;return $e})();function Xe($e,Ct){const Ze=Bn[Ct];return $e[Ze]?.()}const $=Object.values(en);function K($e,Ct,Ze){return $e[Ct]!==Ze&&($e[Ct]=Ze,!0)}function ee($e,Ct){isNaN(Ct)?$e.value="":$e.valueAsNumber=Ct}function Se($e,Ct,Ze,Ht){switch(Ze){case"name":$e.setAttribute(Ct,Ze,Ht);break;case"disabled":case"readonly":case"required":Ht?$e.setAttribute(Ct,Ze,""):$e.removeAttribute(Ct,Ze);break;case"max":case"min":case"minLength":case"maxLength":void 0!==Ht?$e.setAttribute(Ct,Ze,Ht.toString()):$e.removeAttribute(Ct,Ze)}}function vn($e,Ct,Ze){let Ht=!1;const I=Ct.nativeFormElement,mt=function ir($e,Ct,Ze){const Ht=(0,G.uu)({source:$e,computation:()=>[]});return{errors:Ht.asReadonly(),setRawValue:mt=>{const Ue=Ze(mt);Ht.set(ae(Ue.error)),void 0!==Ue.value&&Ct(Ue.value),Ht.set(ae(Ue.error))}}}(()=>Ct.state().value(),ue=>Ct.state().controlValue.set(ue),()=>function _t($e,Ct){let Ze;if($e.validity.badInput)return{error:new pt};switch($e.type){case"checkbox":return{value:$e.checked};case"number":case"range":case"datetime-local":if(Ze=(0,G.O8)(Ct),"number"==typeof Ze||null===Ze)return{value:""===$e.value?null:$e.valueAsNumber};break;case"date":case"month":case"time":case"week":if(Ze=(0,G.O8)(Ct),null===Ze||Ze instanceof Date)return{value:$e.valueAsDate};if("number"==typeof Ze)return{value:$e.valueAsNumber}}return{value:$e.value}}(I,Ct.state().value));Ze.set(mt.errors),$e.listenToDom("input",()=>mt.setRawValue(void 0)),$e.listenToDom("blur",()=>Ct.state().markAsTouched()),Ct.registerAsBinding(),"SELECT"===I.tagName&&function Xt($e,Ct,Ze){if("function"!=typeof MutationObserver)return;const Ht=new MutationObserver(I=>{I.some(mt=>function Jt($e){if("childList"===$e.type||"characterData"===$e.type){if($e.target instanceof Comment)return!1;for(const Ct of $e.addedNodes)if(!(Ct instanceof Comment))return!0;for(const Ct of $e.removedNodes)if(!(Ct instanceof Comment))return!0;return!1}return"attributes"===$e.type&&$e.target instanceof HTMLOptionElement}(mt))&&Ct()});Ht.observe($e,{attributes:!0,attributeFilter:["value"],characterData:!0,childList:!0,subtree:!0}),Ze.onDestroy(()=>Ht.disconnect())}(I,()=>{Ht&&(I.value=Ct.state().controlValue())},Ct.destroyRef);const Ue={};return()=>{const ue=Ct.state(),ft=ue.controlValue();K(Ue,"controlValue",ft)&&function wt($e,Ct){switch($e.type){case"checkbox":return void($e.checked=Ct);case"radio":return void($e.checked=Ct===$e.value);case"number":case"range":case"datetime-local":if("number"==typeof Ct)return void ee($e,Ct);if(null===Ct)return void($e.value="");break;case"date":case"month":case"time":case"week":if(null===Ct||Ct instanceof Date)return void($e.valueAsDate=Ct);if("number"==typeof Ct)return void ee($e,Ct)}$e.value=Ct}(I,ft);for(const Kt of $){const cn=Xe(ue,Kt);K(Ue,Kt,cn)&&($e.setInputOnDirectives(Kt,cn),Ct.elementAcceptsNativeProperty(Kt)&&Se(Ct.renderer,I,Kt,cn))}Ht=!0}}const jn=Symbol(),Zn=new se.nKC("");let Tn=(()=>{class $e{field=z.hFB.required({alias:"formField"});renderer=(0,se.WQX)(W.sFG);destroyRef=(0,se.WQX)(se.abz);state=(0,G.EW)(()=>this.field()());injector=(0,se.WQX)(se.zZn);element=(0,se.WQX)(W.aKT).nativeElement;elementIsNativeFormElement=function Z($e){return"INPUT"===$e.tagName||"SELECT"===$e.tagName||"TEXTAREA"===$e.tagName}(this.element);elementAcceptsNumericValues=function Re($e){if("INPUT"!==$e.tagName)return!1;const Ct=$e.type;return"date"===Ct||"datetime-local"===Ct||"month"===Ct||"number"===Ct||"range"===Ct||"time"===Ct||"week"===Ct}(this.element);elementAcceptsTextualValues=function ct($e){return"INPUT"===$e.tagName||"TEXTAREA"===$e.tagName}(this.element);nativeFormElement=this.elementIsNativeFormElement?this.element:void 0;focuser=Ze=>this.element.focus(Ze);controlValueAccessors=(0,se.WQX)(le.kq,{optional:!0,self:!0});config=(0,se.WQX)(ge,{optional:!0});parseErrorsSource=(0,se.vPA)(void 0);_interopNgControl;get interopNgControl(){return this._interopNgControl??=new _r(this.state)}parseErrors=(0,G.EW)(()=>this.parseErrorsSource()?.().map(Ze=>({...Ze,fieldTree:(0,G.O8)(this.state).fieldTree,formField:this}))??[]);errors=(0,G.EW)(()=>this.state().errors().filter(Ze=>!Ze.formField||Ze.formField===this));isFieldBinding=!1;get controlValueAccessor(){return this.controlValueAccessors?.[0]??this.interopNgControl?.valueAccessor??void 0}installClassBindingEffect(){const Ze=Object.entries(this.config?.classes??{}).map(([I,mt])=>[I,(0,G.EW)(()=>mt(this))]);if(0===Ze.length)return;const Ht={};(0,z.uEv)({write:()=>{for(const[I,mt]of Ze){const Ue=mt();K(Ht,I,Ue)&&(Ue?this.renderer.addClass(this.element,I):this.renderer.removeClass(this.element,I))}}},{injector:this.injector})}focus(Ze){this.focuser(Ze)}registerAsBinding(Ze){if(this.isFieldBinding)throw new se.buA(1913,!1);this.isFieldBinding=!0,this.installClassBindingEffect(),Ze?.focus&&(this.focuser=Ht=>
503Ze.focus(Ht)),(0,se.QZP)(Ht=>{const I=this.state();I.nodeState.formFieldBindings.update(mt=>[...mt,this]),Ht(()=>{I.nodeState.formFieldBindings.update(mt=>mt.filter(Ue=>Ue!==this))})},{injector:this.injector})}[jn];\u0275ngControlCreate(Ze){if(!Ze.hasPassThrough)if(this.controlValueAccessor)this.\u0275ngControlUpdate=function St($e,Ct){Ct.controlValueAccessor.registerOnChange(Ht=>Ct.state().controlValue.set(Ht)),Ct.controlValueAccessor.registerOnTouched(()=>Ct.state().markAsTouched()),Ct.registerAsBinding();const Ze={};return()=>{const Ht=Ct.state(),I=Ht.value();K(Ze,"controlValue",I)&&(0,G.O8)(()=>Ct.controlValueAccessor.writeValue(I));for(const mt of $){const Ue=Xe(Ht,mt);if(K(Ze,mt,Ue)){const ue=$e.setInputOnDirectives(mt,Ue);"disabled"===mt&&Ct.controlValueAccessor.setDisabledState?(0,G.O8)(()=>Ct.controlValueAccessor.setDisabledState(Ue)):!ue&&Ct.elementAcceptsNativeProperty(mt)&&Se(Ct.renderer,Ct.nativeFormElement,mt,Ue)}}}}(Ze,this);else if(Ze.customControl)this.\u0275ngControlUpdate=function Pt($e,Ct){$e.listenToCustomControlModel(Ht=>Ct.state().controlValue.set(Ht)),$e.listenToCustomControlOutput("touchedChange",()=>Ct.state().markAsTouched()),Ct.registerAsBinding($e.customControl);const Ze={};return()=>{const Ht=Ct.state(),I=Ht.controlValue();K(Ze,"controlValue",I)&&$e.setCustomControlModelInput(I);for(const mt of $){let Ue;Ue="errors"===mt?Ct.errors():Xe(Ht,mt),K(Ze,mt,Ue)&&($e.setInputOnDirectives(mt,Ue),Ct.elementAcceptsNativeProperty(mt)&&!$e.customControlHasInput(mt)&&Se(Ct.renderer,Ct.nativeFormElement,mt,Ue))}}}(Ze,this);else{if(!this.elementIsNativeFormElement)throw new se.buA(1914,!1);this.\u0275ngControlUpdate=vn(Ze,this,this.parseErrorsSource)}}\u0275ngControlUpdate;elementAcceptsNativeProperty(Ze){if(!this.elementIsNativeFormElement)return!1;switch(Ze){case"min":case"max":return this.elementAcceptsNumericValues;case"minLength":case"maxLength":return this.elementAcceptsTextualValues;case"disabled":case"required":case"readonly":case"name":return!0;default:return!1}}static \u0275fac=function(Ht){return new(Ht||$e)};static \u0275dir=W.FsC({type:$e,selectors:[["","formField",""]],inputs:{field:[1,"formField","field"]},exportAs:["formField"],features:[W.Jv_([{provide:Zn,useExisting:$e},{provide:le.vO,useFactory:()=>(0,se.WQX)($e).interopNgControl},{provide:Tr,useFactory:()=>(0,se.WQX)($e).parseErrorsSource}]),W.cSq("formField")]})}return $e})(),Yn=(()=>{class $e{fieldTree=z.hFB.required({alias:"formRoot"});onSubmit(Ze){Ze.preventDefault(),(0,_.tA)(this.fieldTree())}static \u0275fac=function(Ht){return new(Ht||$e)};static \u0275dir=W.FsC({type:$e,selectors:[["form","formRoot",""]],hostAttrs:["novalidate",""],hostBindings:function(Ht,I){1&Ht&&W.bIt("submit",function(Ue){return I.onSubmit(Ue)})},inputs:{fieldTree:[1,"formRoot","fieldTree"]}})}return $e})()},8649(vt,Y,i){i.d(Y,{Rc:()=>O,_J:()=>y});var h=i(1535),b=i(5547),c=i(5802);const C=new c.nKC("MATERIAL_ANIMATIONS");let T=null;function y(){return(0,c.WQX)(C,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,c.WQX)(b.bc$,{optional:!0})?"di-disabled":(T??=(0,c.WQX)(h.D).matchMedia("(prefers-reduced-motion)").matches,T?"reduced-motion":"enabled")}function O(){return"enabled"!==y()}},48(vt,Y,i){i.d(Y,{e:()=>C});var b=i(5802);let C=(()=>{class T{isErrorState(O,k){return!!(O&&O.invalid&&(O.touched||k&&k.submitted))}static \u0275fac=function(k){return new(k||T)};static \u0275prov=b.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},6373(vt,Y,i){i.d(Y,{X:()=>h});class h{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(c,C,T,y,O){this._defaultMatcher=c,this.ngControl=C,this._parentFormGroup=T,this._parentForm=y,this._stateChanges=O}updateErrorState(){const c=this.errorState,C=this._parentFormGroup||this._parentForm,T=this.matcher||this._defaultMatcher,y=this.ngControl?this.ngControl.control:null,O=T?.isErrorState(y,C)??!1;O!==c&&(this.errorState=O,this._stateChanges.next())}}},7936(vt,Y,i){i.d(Y,{xb:()=>ir,TL:()=>pe,rl:()=>$,qT:()=>xn,nJ:()=>M,JW:()=>Yt,yw:()=>jt});var h=i(3531),b=i(9752),c=i(4085),C=i(7421),T=i(9769),y=i(5547),O=i(5802),k=i(7705),w=i(2271),v=i(8359),D=i(1413),m=i(7786),u=i(9172),W=i(6354),z=i(9974),se=i(4360),le=i(5964),_=i(6977),ge=i(7088),q=i(8649);const Te=["notch"],Be=["matFormFieldNotchedOutline",""],we=["*"],X=["iconPrefixContainer"],ye=["textPrefixContainer"],Q=["iconSuffixContainer"],ae=["textSuffixContainer"],H=["textField"],_e=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],We=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function ht(F,K){1&F&&y.nrm(0,"span",21)}
vendor: 22,021 bytes, line 503
503function Vt(F,K){if(1&F&&(y.j41(0,"label",20),y.SdG(1,1),y.nVh(2,ht,1,0,"span",21),y.k0s()),2&F){const Z=y.XpG(2);y.Y8G("floating",Z._shouldLabelFloat())("monitorResize",Z._hasOutline())("id",Z._labelId),y.BMQ("for",Z._control.disableAutomaticLabeling?null:Z._control.id),y.R7$(2),y.vxM(!Z.hideRequiredMarker&&Z._control.required?2:-1)}}function an(F,K){if(1&F&&y.nVh(0,Vt,3,5,"label",20),2&F){const Z=y.XpG();y.vxM(Z._hasFloatingLabel()?0:-1)}}function Et(F,K){1&F&&y.nrm(0,"div",7)}function Gt(F,K){}function at(F,K){if(1&F&&y.DNE(0,Gt,0,0,"ng-template",13),2&F){y.XpG(2);const Z=y.sdS(1);y.Y8G("ngTemplateOutlet",Z)}}function Ve(F,K){if(1&F&&(y.j41(0,"div",9),y.nVh(1,at,1,1,null,13),y.k0s()),2&F){const Z=y.XpG();y.Y8G("matFormFieldNotchedOutlineOpen",Z._shouldLabelFloat()),y.R7$(),y.vxM(Z._forceDisplayInfixLabel()?-1:1)}}function Le(F,K){1&F&&(y.j41(0,"div",10,2),y.SdG(2,2),y.k0s())}function He(F,K){1&F&&(y.j41(0,"div",11,3),y.SdG(2,3),y.k0s())}function Ne(F,K){}function Ae(F,K){if(1&F&&y.DNE(0,Ne,0,0,"ng-template",13),2&F){y.XpG();const Z=y.sdS(1);y.Y8G("ngTemplateOutlet",Z)}}function qe(F,K){1&F&&(y.j41(0,"div",14,4),y.SdG(2,4),y.k0s())}function tt(F,K){1&F&&(y.j41(0,"div",15,5),y.SdG(2,5),y.k0s())}function pt(F,K){1&F&&y.nrm(0,"div",16)}function Lt(F,K){1&F&&(y.j41(0,"div",18),y.SdG(1,6),y.k0s())}function ot(F,K){if(1&F&&(y.j41(0,"mat-hint",22),y.EFF(1),y.k0s()),2&F){const Z=y.XpG(2);y.Y8G("id",Z._hintLabelId),y.R7$(),y.JRh(Z.hintLabel)}}function At(F,K){if(1&F&&(y.j41(0,"div",19),y.nVh(1,ot,2,2,"mat-hint",22),y.SdG(2,7),y.nrm(3,"div",23),y.SdG(4,8),y.k0s()),2&F){const Z=y.XpG();y.R7$(),y.vxM(Z.hintLabel?1:-1)}}let M=(()=>{class F{static \u0275fac=function(Re){return new(Re||F)};static \u0275dir=y.FsC({type:F,selectors:[["mat-label"]]})}return F})();const gt=new O.nKC("MatError");let pe=(()=>{class F{id=(0,O.WQX)(h.g).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(Re){return new(Re||F)};static \u0275dir=y.FsC({type:F,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Re,ct){2&Re&&y.Avn("id",ct.id)},inputs:{id:"id"},features:[y.Jv_([{provide:gt,useExisting:F}])]})}return F})(),lt=(()=>{class F{align="start";id=(0,O.WQX)(h.g).getId("mat-mdc-hint-");static \u0275fac=function(Re){return new(Re||F)};static \u0275dir=y.FsC({type:F,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Re,ct){2&Re&&(y.Avn("id",ct.id),y.BMQ("align",null),y.AVh("mat-mdc-form-field-hint-end","end"===ct.align))},inputs:{align:"align",id:"id"}})}return F})();const Rt=new O.nKC("MatPrefix");let Yt=(()=>{class F{set _isTextSelector(Z){this._isText=!0}_isText=!1;static \u0275fac=function(Re){return new(Re||F)};static \u0275dir=y.FsC({type:F,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[y.Jv_([{provide:Rt,useExisting:F}])]})}return F})();const Ut=new O.nKC("MatSuffix");let jt=(()=>{class F{set _isTextSelector(Z){this._isText=!0}_isText=!1;static \u0275fac=function(Re){return new(Re||F)};static \u0275dir=y.FsC({type:F,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[y.Jv_([{provide:Ut,useExisting:F}])]})}return F})();const zt=new O.nKC("FloatingLabelParent");let Oe=(()=>{class F{_elementRef=(0,O.WQX)(y.aKT);get floating(){return this._floating}set floating(Z){this._floating=Z,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(Z){this._monitorResize=Z,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,O.WQX)(ge.a);_ngZone=(0,O.WQX)(O.SKi);_parent=(0,O.WQX)(zt);_resizeSubscription=new v.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Mt(F){if(null!==F.offsetParent)return F.scrollWidth;const Z=F.cloneNode(!0);Z.style.setProperty("position","absolute"),Z.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Z);const Re=Z.scrollWidth;return Z.remove(),Re}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(Re){return new(Re||F)};static \u0275dir=y.FsC({type:F,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Re,ct){2&Re&&y.AVh("mdc-floating-label--float-above",ct.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return F})();const o="mdc-line-ripple--active",it="mdc-line-ripple--deactivating";let nn=(()=>{class F{_elementRef=(0,O.WQX)(y.aKT);_cleanupTransitionEnd;constructor(){const Z=(0,O.WQX)(O.SKi),Re=(0,O.WQX)(y.sFG);Z.runOutsideAngular(()=>{this._cleanupTransitionEnd=Re.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const Z=this._elementRef.nativeElement.classList;Z.remove(it),Z.add(o)}deactivate(){this._elementRef.nativeElement.classList.add(it)}_handleTransitionEnd=Z=>{const Re=this._elementRef.nativeElement.classList,ct=Re.contains(it);"opacity"===Z.propertyName&&ct&&Re.remove(o,it)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(Re){return new(Re||F)};static \u0275dir=y.FsC({type:F,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return F})(),tn=(()=>{class F{_elementRef=(0,O.WQX)(y.aKT);_ngZone=(0,O.WQX)(O.SKi);open=!1;_notch;ngAfterViewInit(){const Z=this._elementRef.nativeElement,Re=Z.querySelector(".mdc-floating-label");Re?(Z.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Re.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Re.style.transitionDuration="")}))):Z.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Z){this._notch.nativeElement.style.width=this.open&&Z?`calc(${Z}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(Z){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Z}px)`)}static \u0275fac=function(Re){return new(Re||F)};static \u0275cmp=y.VBU({type:F,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Re,ct){if(1&Re&&y.GBs(Te,5),2&Re){let _t;y.mGM(_t=y.lsd())&&(ct._notch=_t.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Re,ct){2&Re&&y.AVh("mdc-notched-outline--notched",ct.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Be,ngContentSelectors:we,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(Re,ct){1&Re&&(y.NAR(),y.Hgh(0,"div",1),y.rj2(1,"div",2,0),y.SdG(3),y.eux(),y.Hgh(4,"div",3))},encapsulation:2,changeDetection:0})}return F})(),xn=(()=>{class F{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(Re){return new(Re||F)};static \u0275dir=y.FsC({type:F})}return F})();const ir=new O.nKC("MatFormField"),Kr=new O.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let $=(()=>{class F{_elementRef=(0,O.WQX)(y.aKT);_changeDetectorRef=(0,O.WQX)(k.gRc);_platform=(0,O.WQX)(C.O);_idGenerator=(0,O.WQX)(h.g);_ngZone=(0,O.WQX)(O.SKi);_defaults=(0,O.WQX)(Kr,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=(0,k.ebz)("iconPrefixContainer");_textPrefixContainerSignal=(0,k.ebz)("textPrefixContainer");_iconSuffixContainerSignal=(0,k.ebz)("iconSuffixContainer");_textSuffixContainerSignal=(0,k.ebz)("textSuffixContainer");_prefixSuffixContainers=(0,w.EW)(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(Z=>Z?.nativeElement).filter(Z=>void 0!==Z));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,k.sbv)(M);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Z){this._hideRequiredMarker=(0,c.he)(Z)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Z){Z!==this._floatLabel&&(this._floatLabel=Z,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(Z){this._appearanceSignal.set(Z||this._defaults?.appearance||"fill")}_appearanceSignal=(0,O.vPA)("fill");get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Z){this._subscriptSizing=Z||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(Z){this._hintLabel=Z,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Z){this._explicitFormFieldControl=Z}_destroyed=new D.B;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=(0,q.Rc)();constructor(){const Z=this._defaults,Re=(0,O.WQX)(b.dS);Z&&(Z.appearance&&(this.appearance=Z.appearance),this._hideRequiredMarker=!!Z?.hideRequiredMarker,Z.color&&(this.color=Z.color)),(0,O.QZP)(()=>this._currentDirection=Re.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,w.EW)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(Z){const Re=this._control,ct="mat-mdc-form-field-type-";Z&&this._elementRef.nativeElement.classList.remove(ct+Z.controlType),Re.controlType&&this._elementRef.nativeElement.classList.add(ct+Re.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=Re.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=Re.stateChanges.pipe((0,u.Z)([void 0,void 0]),(0,W.T)(()=>[Re.errorState,Re.userAriaDescribedBy]),function G(){return(0,z.N)((F,K)=>{let Z,Re=!1;F.subscribe((0,se._)(K,ct=>{const _t=Z;Z=ct,Re&&K.next([_t,ct]),Re=!0}))})}(),(0,le.p)(([[_t,wt],[ee,Se]])=>_t!==ee||wt!==Se)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),Re.ngControl&&Re.ngControl.valueChanges&&(this._valueChanges=Re.ngControl.valueChanges.pipe((0,_.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Z=>!Z._isText),this._hasTextPrefix=!!this._prefixChildren.find(Z=>Z._isText),this._hasIconSuffix=!!this._suffixChildren.find(Z=>!Z._isText),this._hasTextSuffix=!!this._suffixChildren.find(Z=>Z._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,m.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(){const Z=this._control.focused;Z&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!Z&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",Z),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",Z)}_syncOutlineLabelOffset(){(0,k.uEv)({earlyRead:()=>{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const Z of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(Z,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:Z=>this._writeOutlinedLabelStyles(Z())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,w.EW)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(Z){const Re=this._control?this._control.ngControl:null;return Re&&Re[Z]}_getSubscriptMessageType(){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 Z=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Z.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const _t=this._hintChildren?this._hintChildren.find(ee=>"start"===ee.align):null,wt=this._hintChildren?this._hintChildren.find(ee=>"end"===ee.align):null;_t?Z.push(_t.id):this._hintLabel&&Z.push(this._hintLabelId),wt&&Z.push(wt.id)}else this._errorChildren&&Z.push(...this._errorChildren.map(_t=>_t.id));const Re=this._control.describedByIds;let ct;if(Re){const _t=this._describedByIds||Z;ct=Z.concat(Re.filter(wt=>wt&&!_t.includes(wt)))}else ct=Z;this._control.setDescribedByIds(ct),this._describedByIds=Z}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const Z=this._iconPrefixContainer?.nativeElement,Re=this._textPrefixContainer?.nativeElement,ct=this._iconSuffixContainer?.nativeElement,_t=this._textSuffixContainer?.nativeElement,wt=Z?.getBoundingClientRect().width??0,ee=Re?.getBoundingClientRect().width??0,Se=ct?.getBoundingClientRect().width??0,Pt=_t?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(${"rtl"===this._currentDirection?"-1":"1"} * (${wt+ee}px + var(--mat-mdc-form-field-label-offset-x, 0px)))))`,wt+ee+Se+Pt]}_writeOutlinedLabelStyles(Z){if(null!==Z){const[Re,ct]=Z;this._floatingLabel&&(this._floatingLabel.element.style.transform=Re),null!==ct&&this._notchedOutline?._setMaxWidth(ct)}}_isAttachedToDom(){const Z=this._elementRef.nativeElement;if(Z.getRootNode){const Re=Z.getRootNode();return Re&&Re!==Z}return document.documentElement.contains(Z)}static \u0275fac=function(Re){return new(Re||F)};static \u0275cmp=y.VBU({type:F,selectors:[["mat-form-field"]],contentQueries:function(Re,ct,_t){if(1&Re&&(y.C6U(_t,ct._labelChild,M,5),y.wni(_t,xn,5)(_t,Rt,5)(_t,Ut,5)(_t,gt,5)(_t,lt,5)),2&Re){let wt;y.NyB(),y.mGM(wt=y.lsd())&&(ct._formFieldControl=wt.first),y.mGM(wt=y.lsd())&&(ct._prefixChildren=wt),y.mGM(wt=y.lsd())&&(ct._suffixChildren=wt),y.mGM(wt=y.lsd())&&(ct._errorChildren=wt),y.mGM(wt=y.lsd())&&(ct._hintChildren=wt)}},viewQuery:function(Re,ct){if(1&Re&&(y.wEZ(ct._iconPrefixContainerSignal,X,5)(ct._textPrefixContainerSignal,ye,5)(ct._iconSuffixContainerSignal,Q,5)(ct._textSuffixContainerSignal,ae,5),y.GBs(H,5)(X,5)(ye,5)(Q,5)(ae,5)(Oe,5)(tn,5)(nn,5)),2&Re){let _t;y.NyB(4),y.mGM(_t=y.lsd())&&(ct._textField=_t.first),y.mGM(_t=y.lsd())&&(ct._iconPrefixContainer=_t.first),y.mGM(_t=y.lsd())&&(ct._textPrefixContainer=_t.first),y.mGM(_t=y.lsd())&&(ct._iconSuffixContainer=_t.first),y.mGM(_t=y.lsd())&&(ct._textSuffixContainer=_t.first),y.mGM(_t=y.lsd())&&(ct._floatingLabel=_t.first),y.mGM(_t=y.lsd())&&(ct._notchedOutline=_t.first),y.mGM(_t=y.lsd())&&(ct._lineRipple=_t.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(Re,ct){2&Re&&y.AVh("mat-mdc-form-field-label-always-float",ct._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",ct._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",ct._hasIconSuffix)("mat-form-field-invalid",ct._control.errorState)("mat-form-field-disabled",ct._control.disabled)("mat-form-field-autofilled",ct._control.autofilled)("mat-form-field-appearance-fill","fill"==ct.appearance)("mat-form-field-appearance-outline","outline"==ct.appearance)("mat-form-field-hide-placeholder",ct._hasFloatingLabel()&&!ct._shouldLabelFloat())("mat-primary","accent"!==ct.color&&"warn"!==ct.color)("mat-accent","accent"===ct.color)("mat-warn","warn"===ct.color)("ng-untouched",ct._shouldForward("untouched"))("ng-touched",ct._shouldForward("touched"))("ng-pristine",ct._shouldForward("pristine"))("ng-dirty",ct._shouldForward("dirty"))("ng-valid",ct._shouldForward("valid"))("ng-invalid",ct._shouldForward("invalid"))("ng-pending",ct._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[y.Jv_([{provide:ir,useExisting:F},{provide:zt,useExisting:F}])],ngContentSelectors:We,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[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",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(Re,ct){if(1&Re&&(y.NAR(_e),y.DNE(0,an,1,1,"ng-template",null,0,y.C5r),y.j41(2,"div",6,1),y.bIt("click",function(wt){return ct._control.onContainerClick(wt)}),y.nVh(4,Et,1,0,"div",7),y.j41(5,"div",8),y.nVh(6,Ve,2,2,"div",9),y.nVh(7,Le,3,0,"div",10),y.nVh(8,He,3,0,"div",11),y.j41(9,"div",12),y.nVh(10,Ae,1,1,null,13),y.SdG(11),y.k0s(),y.nVh(12,qe,3,0,"div",14),y.nVh(13,tt,3,0,"div",15),y.k0s(),y.nVh(14,pt,1,0,"div",16),y.k0s(),y.j41(15,"div",17),y.nVh(16,Lt,2,0,"div",18)(17,At,5,1,"div",19),y.k0s()),2&Re){let _t;y.R7$(2),y.AVh("mdc-text-field--filled",!ct._hasOutline())("mdc-text-field--outlined",ct._hasOutline())("mdc-text-field--no-label",!ct._hasFloatingLabel())("mdc-text-field--disabled",ct._control.disabled)("mdc-text-field--invalid",ct._control.errorState),y.R7$(2),y.vxM(ct._hasOutline()||ct._control.disabled?-1:4),y.R7$(2),y.vxM(ct._hasOutline()?6:-1),y.R7$(),y.vxM(ct._hasIconPrefix?7:-1),y.R7$(),y.vxM(ct._hasTextPrefix?8:-1),y.R7$(2),y.vxM(!ct._hasOutline()||ct._forceDisplayInfixLabel()?10:-1),y.R7$(2),y.vxM(ct._hasTextSuffix?12:-1),y.R7$(),y.vxM(ct._hasIconSuffix?13:-1),y.R7$(),y.vxM(ct._hasOutline()?-1:14),y.R7$(),y.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===ct.subscriptSizing);const wt=ct._getSubscriptMessageType();y.R7$(),y.vxM("error"===(_t=wt)?16:"hint"===_t?17:-1)}},dependencies:[Oe,tn,T.T3,nn,lt
vendor: 37,822 bytes, line 503
503],styles:['.mdc-text-field {\n  display: inline-flex;\n  align-items: baseline;\n  padding: 0 16px;\n  position: relative;\n  box-sizing: border-box;\n  overflow: hidden;\n  will-change: opacity, transform, color;\n  border-top-left-radius: 4px;\n  border-top-right-radius: 4px;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 0;\n}\n\n.mdc-text-field__input {\n  width: 100%;\n  min-width: 0;\n  border: none;\n  border-radius: 0;\n  background: none;\n  padding: 0;\n  -moz-appearance: none;\n  -webkit-appearance: none;\n  height: 28px;\n}\n.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button {\n  display: none;\n}\n.mdc-text-field__input::-ms-clear {\n  display: none;\n}\n.mdc-text-field__input:focus {\n  outline: none;\n}\n.mdc-text-field__input:invalid {\n  box-shadow: none;\n}\n.mdc-text-field__input::placeholder {\n  opacity: 0;\n}\n.mdc-text-field__input::-moz-placeholder {\n  opacity: 0;\n}\n.mdc-text-field__input::-webkit-input-placeholder {\n  opacity: 0;\n}\n.mdc-text-field__input:-ms-input-placeholder {\n  opacity: 0;\n}\n.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder {\n  opacity: 1;\n}\n.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {\n  opacity: 1;\n}\n.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {\n  opacity: 1;\n}\n.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {\n  opacity: 1;\n}\n.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder {\n  opacity: 0;\n}\n.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder {\n  opacity: 0;\n}\n.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder {\n  opacity: 0;\n}\n.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder {\n  opacity: 0;\n}\n.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input {\n  height: 100%;\n}\n.mdc-text-field--outlined .mdc-text-field__input {\n  display: flex;\n  border: none !important;\n  background-color: transparent;\n}\n.mdc-text-field--disabled .mdc-text-field__input {\n  pointer-events: auto;\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input {\n  color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));\n  caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {\n  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {\n  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {\n  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {\n  color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input {\n  color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));\n  caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {\n  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {\n  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {\n  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {\n  color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {\n  caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error));\n}\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {\n  caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error));\n}\n.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input {\n  color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {\n  color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n@media (forced-colors: active) {\n  .mdc-text-field--disabled .mdc-text-field__input {\n    background-color: Window;\n  }\n}\n\n.mdc-text-field--filled {\n  height: 56px;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 0;\n  border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));\n  border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) {\n  background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant));\n}\n.mdc-text-field--filled.mdc-text-field--disabled {\n  background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent));\n}\n\n.mdc-text-field--outlined {\n  height: 56px;\n  overflow: visible;\n  padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));\n  padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);\n}\n[dir=rtl] .mdc-text-field--outlined {\n  padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);\n  padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));\n}\n\n.mdc-floating-label {\n  position: absolute;\n  left: 0;\n  transform-origin: left top;\n  line-height: 1.15rem;\n  text-align: left;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  cursor: text;\n  overflow: hidden;\n  will-change: transform;\n}\n[dir=rtl] .mdc-floating-label {\n  right: 0;\n  left: auto;\n  transform-origin: right top;\n  text-align: right;\n}\n.mdc-text-field .mdc-floating-label {\n  top: 50%;\n  transform: translateY(-50%);\n  pointer-events: none;\n}\n.mdc-notched-outline .mdc-floating-label {\n  display: inline-block;\n  position: relative;\n  max-width: 100%;\n}\n.mdc-text-field--outlined .mdc-floating-label {\n  left: 4px;\n  right: auto;\n}\n[dir=rtl] .mdc-text-field--outlined .mdc-floating-label {\n  left: auto;\n  right: 4px;\n}\n.mdc-text-field--filled .mdc-floating-label {\n  left: 16px;\n  right: auto;\n}\n[dir=rtl] .mdc-text-field--filled .mdc-floating-label {\n  left: auto;\n  right: 16px;\n}\n.mdc-text-field--disabled .mdc-floating-label {\n  cursor: default;\n}\n@media (forced-colors: active) {\n  .mdc-text-field--disabled .mdc-floating-label {\n    z-index: 1;\n  }\n}\n.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label {\n  display: none;\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label {\n  color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {\n  color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label {\n  color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label {\n  color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {\n  color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {\n  color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {\n  color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container));\n}\n.mdc-text-field--filled .mdc-floating-label {\n  font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));\n  font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));\n  font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));\n  letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label {\n  color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {\n  color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label {\n  color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface));\n}\n.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label {\n  color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {\n  color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {\n  color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {\n  color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container));\n}\n.mdc-text-field--outlined .mdc-floating-label {\n  font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));\n  font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));\n  font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));\n  letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking));\n}\n\n.mdc-floating-label--float-above {\n  cursor: auto;\n  transform: translateY(-106%) scale(0.75);\n}\n.mdc-text-field--filled .mdc-floating-label--float-above {\n  transform: translateY(-106%) scale(0.75);\n}\n.mdc-text-field--outlined .mdc-floating-label--float-above {\n  transform: translateY(-37.25px) scale(1);\n  font-size: 0.75rem;\n}\n.mdc-notched-outline .mdc-floating-label--float-above {\n  text-overflow: clip;\n}\n.mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n  max-width: 133.3333333333%;\n}\n.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 {\n  transform: translateY(-34.75px) scale(0.75);\n}\n.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 {\n  font-size: 1rem;\n}\n\n.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {\n  margin-left: 1px;\n  margin-right: 0;\n  content: "*";\n}\n[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {\n  margin-left: 0;\n  margin-right: 1px;\n}\n\n.mdc-notched-outline {\n  display: flex;\n  position: absolute;\n  top: 0;\n  right: 0;\n  left: 0;\n  box-sizing: border-box;\n  width: 100%;\n  max-width: 100%;\n  height: 100%;\n  text-align: left;\n  pointer-events: none;\n}\n[dir=rtl] .mdc-notched-outline {\n  text-align: right;\n}\n.mdc-text-field--outlined .mdc-notched-outline {\n  z-index: 1;\n}\n\n.mat-mdc-notch-piece {\n  box-sizing: border-box;\n  height: 100%;\n  pointer-events: none;\n  border: none;\n  border-top: 1px solid;\n  border-bottom: 1px solid;\n}\n.mdc-text-field--focused .mat-mdc-notch-piece {\n  border-width: 2px;\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece {\n  border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));\n  border-width: var(--mat-form-field-outlined-outline-width, 1px);\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece {\n  border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece {\n  border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary));\n}\n.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece {\n  border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {\n  border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece {\n  border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece {\n  border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error));\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece {\n  border-width: var(--mat-form-field-outlined-focus-outline-width, 2px);\n}\n\n.mdc-notched-outline__leading {\n  border-left: 1px solid;\n  border-right: none;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n  border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));\n  border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));\n}\n.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {\n  width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));\n}\n[dir=rtl] .mdc-notched-outline__leading {\n  border-left: none;\n  border-right: 1px solid;\n  border-bottom-left-radius: 0;\n  border-top-left-radius: 0;\n  border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));\n  border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));\n}\n\n.mdc-notched-outline__trailing {\n  flex-grow: 1;\n  border-left: none;\n  border-right: 1px solid;\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));\n  border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));\n}\n[dir=rtl] .mdc-notched-outline__trailing {\n  border-left: 1px solid;\n  border-right: none;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n  border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));\n  border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));\n}\n\n.mdc-notched-outline__notch {\n  flex: 0 0 auto;\n  width: auto;\n}\n.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch {\n  max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2));\n}\n.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n  max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2));\n}\n.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n  padding-top: 1px;\n}\n.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n  padding-top: 2px;\n}\n.mdc-notched-outline--notched .mdc-notched-outline__notch {\n  padding-left: 0;\n  padding-right: 8px;\n  border-top: none;\n}\n[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch {\n  padding-left: 8px;\n  padding-right: 0;\n}\n.mdc-notched-outline--no-label .mdc-notched-outline__notch {\n  display: none;\n}\n\n.mdc-line-ripple::before, .mdc-line-ripple::after {\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  width: 100%;\n  border-bottom-style: solid;\n  content: "";\n}\n.mdc-line-ripple::before {\n  z-index: 1;\n  border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px);\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before {\n  border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before {\n  border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface));\n}\n.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before {\n  border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before {\n  border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error));\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before {\n  border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container));\n}\n.mdc-line-ripple::after {\n  transform: scaleX(0);\n  opacity: 0;\n  z-index: 2;\n}\n.mdc-text-field--filled .mdc-line-ripple::after {\n  border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px);\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after {\n  border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary));\n}\n.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after {\n  border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error));\n}\n\n.mdc-line-ripple--active::after {\n  transform: scaleX(1);\n  opacity: 1;\n}\n\n.mdc-line-ripple--deactivating::after {\n  opacity: 0;\n}\n\n.mdc-text-field--disabled {\n  pointer-events: none;\n}\n\n.mat-mdc-form-field-textarea-control {\n  vertical-align: middle;\n  resize: vertical;\n  box-sizing: border-box;\n  height: auto;\n  margin: 0;\n  padding: 0;\n  border: none;\n  overflow: auto;\n}\n\n.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control {\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  font: inherit;\n  letter-spacing: inherit;\n  text-decoration: inherit;\n  text-transform: inherit;\n  border: none;\n}\n\n.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label {\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  line-height: normal;\n  pointer-events: all;\n  will-change: auto;\n}\n\n.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label {\n  cursor: inherit;\n}\n\n.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,\n.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control {\n  height: auto;\n}\n\n.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] {\n  height: 23px;\n}\n\n.mat-mdc-text-field-wrapper {\n  height: auto;\n  flex: auto;\n  will-change: auto;\n}\n\n.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {\n  padding-left: 0;\n  --mat-mdc-form-field-label-offset-x: -16px;\n}\n\n.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {\n  padding-right: 0;\n}\n\n[dir=rtl] .mat-mdc-text-field-wrapper {\n  padding-left: 16px;\n  padding-right: 16px;\n}\n[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {\n  padding-left: 0;\n}\n[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {\n  padding-right: 0;\n}\n\n.mat-form-field-disabled .mdc-text-field__input::placeholder {\n  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder {\n  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder {\n  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder {\n  color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n\n.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder {\n  transition-delay: 40ms;\n  transition-duration: 110ms;\n  opacity: 1;\n}\n\n.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label {\n  left: auto;\n  right: auto;\n}\n\n.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input {\n  display: inline-block;\n}\n\n.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch {\n  padding-top: 0;\n}\n\n.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 {\n  border-left: 1px solid transparent;\n}\n\n[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 {\n  border-left: none;\n  border-right: 1px solid transparent;\n}\n\n.mat-mdc-form-field-infix {\n  min-height: var(--mat-form-field-container-height, 56px);\n  padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px);\n  padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px);\n}\n.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix {\n  padding-top: var(--mat-form-field-container-vertical-padding, 16px);\n  padding-bottom: var(--mat-form-field-container-vertical-padding, 16px);\n}\n\n.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {\n  top: calc(var(--mat-form-field-container-height, 56px) / 2);\n}\n\n.mdc-text-field--filled .mat-mdc-floating-label {\n  display: var(--mat-form-field-filled-label-display, block);\n}\n\n.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n  --mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1))\n    scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));\n  transform: var(--mat-mdc-form-field-label-transform);\n}\n\n@keyframes _mat-form-field-subscript-animation {\n  from {\n    opacity: 0;\n    transform: translateY(-5px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n.mat-mdc-form-field-subscript-wrapper {\n  box-sizing: border-box;\n  width: 100%;\n  position: relative;\n}\n\n.mat-mdc-form-field-hint-wrapper,\n.mat-mdc-form-field-error-wrapper {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  padding: 0 16px;\n  opacity: 1;\n  transform: translateY(0);\n  animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2);\n}\n\n.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,\n.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper {\n  position: static;\n}\n\n.mat-mdc-form-field-bottom-align::before {\n  content: "";\n  display: inline-block;\n  height: 16px;\n}\n\n.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before {\n  content: unset;\n}\n\n.mat-mdc-form-field-hint-end {\n  order: 1;\n}\n\n.mat-mdc-form-field-hint-wrapper {\n  display: flex;\n}\n\n.mat-mdc-form-field-hint-spacer {\n  flex: 1 0 1em;\n}\n\n.mat-mdc-form-field-error {\n  display: block;\n  color: var(--mat-form-field-error-text-color, var(--mat-sys-error));\n}\n\n.mat-mdc-form-field-subscript-wrapper,\n.mat-mdc-form-field-bottom-align::before {\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  font-family: var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));\n  line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));\n  font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));\n  letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));\n  font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight));\n}\n\n.mat-mdc-form-field-focus-overlay {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  opacity: 0;\n  pointer-events: none;\n  background-color: var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay {\n  opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {\n  opacity: var(--mat-form-field-focus-state-layer-opacity, 0);\n}\n\nselect.mat-mdc-form-field-input-control {\n  -moz-appearance: none;\n  -webkit-appearance: none;\n  background-color: transparent;\n  display: inline-flex;\n  box-sizing: border-box;\n}\nselect.mat-mdc-form-field-input-control:not(:disabled) {\n  cursor: pointer;\n}\nselect.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option {\n  color: var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10));\n}\nselect.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled {\n  color: var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent));\n}\n\n.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {\n  content: "";\n  width: 0;\n  height: 0;\n  border-left: 5px solid transparent;\n  border-right: 5px solid transparent;\n  border-top: 5px solid;\n  position: absolute;\n  right: 0;\n  top: 50%;\n  margin-top: -2.5px;\n  pointer-events: none;\n  color: var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant));\n}\n[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {\n  right: auto;\n  left: 0;\n}\n.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after {\n  color: var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary));\n}\n.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after {\n  color: var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {\n  padding-right: 15px;\n}\n[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {\n  padding-right: 0;\n  padding-left: 15px;\n}\n\n@media (forced-colors: active) {\n  .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper {\n    outline: solid 1px;\n  }\n}\n@media (forced-colors: active) {\n  .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper {\n    outline-color: GrayText;\n  }\n}\n\n@media (forced-colors: active) {\n  .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper {\n    outline: dashed 3px;\n  }\n}\n\n@media (forced-colors: active) {\n  .mat-mdc-form-field.mat-focused .mdc-notched-outline {\n    border: dashed 3px;\n  }\n}\n\n.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] {\n  line-height: 1;\n}\n.mat-mdc-form-field-input-control::-webkit-datetime-edit {\n  line-height: 1;\n  padding: 0;\n  margin-bottom: -2px;\n}\n\n.mat-mdc-form-field {\n  --mat-mdc-form-field-floating-label-scale: 0.75;\n  display: inline-flex;\n  flex-direction: column;\n  min-width: 0;\n  text-align: left;\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  font-family: var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));\n  line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));\n  font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));\n  letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));\n  font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight));\n}\n.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above {\n  font-size: calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale));\n}\n.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n  font-size: var(--mat-form-field-outlined-label-text-populated-size);\n}\n[dir=rtl] .mat-mdc-form-field {\n  text-align: right;\n}\n\n.mat-mdc-form-field-flex {\n  display: inline-flex;\n  align-items: baseline;\n  box-sizing: border-box;\n  width: 100%;\n}\n\n.mat-mdc-text-field-wrapper {\n  width: 100%;\n  z-index: 0;\n}\n\n.mat-mdc-form-field-icon-prefix,\n.mat-mdc-form-field-icon-suffix {\n  align-self: center;\n  line-height: 0;\n  pointer-events: auto;\n  position: relative;\n  z-index: 1;\n}\n.mat-mdc-form-field-icon-prefix > .mat-icon,\n.mat-mdc-form-field-icon-suffix > .mat-icon {\n  padding: 0 12px;\n  box-sizing: content-box;\n}\n\n.mat-mdc-form-field-icon-prefix {\n  color: var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant));\n}\n.mat-form-field-disabled .mat-mdc-form-field-icon-prefix {\n  color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n\n.mat-mdc-form-field-icon-suffix {\n  color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant));\n}\n.mat-form-field-disabled .mat-mdc-form-field-icon-suffix {\n  color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-form-field-invalid .mat-mdc-form-field-icon-suffix {\n  color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error));\n}\n.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix {\n  color: var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container));\n}\n.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix {\n  color: var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error));\n}\n\n.mat-mdc-form-field-icon-prefix,\n[dir=rtl] .mat-mdc-form-field-icon-suffix {\n  padding: 0 4px 0 0;\n}\n\n.mat-mdc-form-field-icon-suffix,\n[dir=rtl] .mat-mdc-form-field-icon-prefix {\n  padding: 0 0 0 4px;\n}\n\n.mat-mdc-form-field-subscript-wrapper .mat-icon,\n.mat-mdc-form-field label .mat-icon {\n  width: 1em;\n  height: 1em;\n  font-size: inherit;\n}\n\n.mat-mdc-form-field-infix {\n  flex: auto;\n  min-width: 0;\n  width: 180px;\n  position: relative;\n  box-sizing: border-box;\n}\n.mat-mdc-form-field-infix:has(textarea[cols]) {\n  width: auto;\n}\n\n.mat-mdc-form-field .mdc-notched-outline__notch {\n  margin-left: -1px;\n  -webkit-clip-path: inset(-9em -999em -9em 1px);\n  clip-path: inset(-9em -999em -9em 1px);\n}\n[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch {\n  margin-left: 0;\n  margin-right: -1px;\n  -webkit-clip-path: inset(-9em 1px -9em -999em);\n  clip-path: inset(-9em 1px -9em -999em);\n}\n\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label {\n  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input {\n  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder {\n  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder {\n  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder {\n  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder {\n  transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder {\n  transition-delay: 40ms;\n  transition-duration: 110ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {\n  transition-delay: 40ms;\n  transition-duration: 110ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {\n  transition-delay: 40ms;\n  transition-duration: 110ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {\n  transition-delay: 40ms;\n  transition-duration: 110ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before {\n  transition-duration: 75ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after {\n  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,\n.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper {\n  animation-duration: 300ms;\n}\n\n.mdc-notched-outline .mdc-floating-label {\n  max-width: calc(100% + 1px);\n}\n\n.mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n  max-width: calc(133.3333333333% + 1px);\n}\n'],encapsulation:2,changeDetection:0})}return 
vendor: 1,255 bytes, line 503
503F})()},3848(vt,Y,i){i.d(Y,{iM:()=>Te,iY:()=>Be});var h=i(5547),b=i(5802),c=i(7705),C=i(6537),T=i(3293),y=i(7421),O=i(9867),k=i(8649),w=i(8943);const v={capture:!0},D=["focus","mousedown","mouseenter","touchstart"],m="mat-ripple-loader-uninitialized",u="mat-ripple-loader-class-name",W="mat-ripple-loader-centered",z="mat-ripple-loader-disabled";let se=(()=>{class X{_document=(0,b.WQX)(b.qQL);_animationsDisabled=(0,k.Rc)();_globalRippleOptions=(0,b.WQX)(w.$E,{optional:!0});_platform=(0,b.WQX)(y.O);_ngZone=(0,b.WQX)(b.SKi);_injector=(0,b.WQX)(b.zZn);_eventCleanups;_hosts=new Map;constructor(){const Q=(0,b.WQX)(h._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>D.map(ae=>Q.listen(this._document,ae,this._onInteraction,v)))}ngOnDestroy(){const Q=this._hosts.keys();for(const ae of Q)this.destroyRipple(ae);this._eventCleanups.forEach(ae=>ae())}configureRipple(Q,ae){Q.setAttribute(m,this._globalRippleOptions?.namespace??""),(ae.className||!Q.hasAttribute(u))&&Q.setAttribute(u,ae.className||""),ae.centered&&Q.setAttribute(W,""),ae.disabled&&Q.setAttribute(z,"")}setDisabled(Q,ae){const H=this._hosts.get(Q);H?(H.target.rippleDisabled=ae,!ae&&!H.hasSetUpEvents&&(H.hasSetUpEvents=!0,H.renderer.setupTriggerEvents(Q
vendor: 10,769 bytes, line 503
503))):ae?Q.setAttribute(z,""):Q.removeAttribute(z)}_onInteraction=Q=>{const ae=(0,O.Fb)(Q);if(ae instanceof HTMLElement){const H=ae.closest(`[${m}="${this._globalRippleOptions?.namespace??""}"]`);H&&this._createRipple(H)}};_createRipple(Q){if(!this._document||this._hosts.has(Q))return;Q.querySelector(".mat-ripple")?.remove();const ae=this._document.createElement("span");ae.classList.add("mat-ripple",Q.getAttribute(u)),Q.append(ae);const H=this._globalRippleOptions,_e=this._animationsDisabled?0:H?.animation?.enterDuration??w.EX.enterDuration,We=this._animationsDisabled?0:H?.animation?.exitDuration??w.EX.exitDuration,ht={rippleDisabled:this._animationsDisabled||H?.disabled||Q.hasAttribute(z),rippleConfig:{centered:Q.hasAttribute(W),terminateOnPointerUp:H?.terminateOnPointerUp,animation:{enterDuration:_e,exitDuration:We}}},Vt=new w.ug(ht,this._ngZone,ae,this._platform,this._injector),an=!ht.rippleDisabled;an&&Vt.setupTriggerEvents(Q),this._hosts.set(Q,{target:ht,renderer:Vt,hasSetUpEvents:an}),Q.removeAttribute(m)}destroyRipple(Q){const ae=this._hosts.get(Q);ae&&(ae.renderer._removeTriggerEvents(),this._hosts.delete(Q))}static \u0275fac=function(ae){return new(ae||X)};static \u0275prov=b.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();var G=i(1767);const le=["mat-icon-button",""],_=["*"],ge=new b.nKC("MAT_BUTTON_CONFIG");function q(X){return null==X?void 0:(0,c.Udg)(X)}let Te=(()=>{class X{_elementRef=(0,b.WQX)(h.aKT);_ngZone=(0,b.WQX)(b.SKi);_animationsDisabled=(0,k.Rc)();_config=(0,b.WQX)(ge,{optional:!0});_focusMonitor=(0,b.WQX)(C.FN);_cleanupClick;_renderer=(0,b.WQX)(h.sFG);_rippleLoader=(0,b.WQX)(se);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(Q){this._disableRipple=Q,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(Q){this._disabled=Q,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(Q){this.tabIndex=Q}constructor(){(0,b.WQX)(T.l).load(G.A);const Q=this._elementRef.nativeElement;this._isAnchor="A"===Q.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(Q,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(Q="program",ae){Q?this._focusMonitor.focusVia(this._elementRef.nativeElement,Q,ae):this._elementRef.nativeElement.focus(ae)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",Q=>{this.disabled&&(Q.preventDefault(),Q.stopImmediatePropagation())}))}static \u0275fac=function(ae){return new(ae||X)};static \u0275dir=h.FsC({type:X,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(ae,H){2&ae&&(h.BMQ("disabled",H._getDisabledAttribute())("aria-disabled",H._getAriaDisabled())("tabindex",H._getTabIndex()),h.HbH(H.color?"mat-"+H.color:""),h.AVh("mat-mdc-button-disabled",H.disabled)("mat-mdc-button-disabled-interactive",H.disabledInteractive)("mat-unthemed",!H.color)("_mat-animation-noopable",H._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",c.L39],disabled:[2,"disabled","disabled",c.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",c.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",c.L39],tabIndex:[2,"tabIndex","tabIndex",q],_tabindex:[2,"tabindex","_tabindex",q]}})}return X})(),Be=(()=>{class X extends Te{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(ae){return new(ae||X)};static \u0275cmp=h.VBU({type:X,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[h.Vt3],attrs:le,ngContentSelectors:_,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ae,H){1&ae&&(h.NAR(),h.Hgh(0,"span",0),h.SdG(1),h.Hgh(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button {\n  -webkit-user-select: none;\n  user-select: none;\n  display: inline-block;\n  position: relative;\n  box-sizing: border-box;\n  border: none;\n  outline: none;\n  background-color: transparent;\n  fill: currentColor;\n  text-decoration: none;\n  cursor: pointer;\n  z-index: 0;\n  overflow: visible;\n  border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));\n  flex-shrink: 0;\n  text-align: center;\n  width: var(--mat-icon-button-state-layer-size, 40px);\n  height: var(--mat-icon-button-state-layer-size, 40px);\n  padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);\n  font-size: var(--mat-icon-button-icon-size, 24px);\n  color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));\n  -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-icon-button .mat-mdc-button-ripple,\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  pointer-events: none;\n  border-radius: inherit;\n}\n.mat-mdc-icon-button .mat-mdc-button-ripple {\n  overflow: hidden;\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n  content: "";\n  opacity: 0;\n}\n.mat-mdc-icon-button .mdc-button__label,\n.mat-mdc-icon-button .mat-icon {\n  z-index: 1;\n  position: relative;\n}\n.mat-mdc-icon-button .mat-focus-indicator {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  border-radius: inherit;\n}\n.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before {\n  content: "";\n  border-radius: inherit;\n}\n.mat-mdc-icon-button .mat-ripple-element {\n  background-color: var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.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 {\n  opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-icon-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-icon-button-touch-target-size, 48px);\n  display: var(--mat-icon-button-touch-target-display, block);\n  left: 50%;\n  width: var(--mat-icon-button-touch-target-size, 48px);\n  transform: translate(-50%, -50%);\n}\n.mat-mdc-icon-button._mat-animation-noopable {\n  transition: none !important;\n  animation: none !important;\n}\n.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-icon-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n.mat-mdc-icon-button img,\n.mat-mdc-icon-button svg {\n  width: var(--mat-icon-button-icon-size, 24px);\n  height: var(--mat-icon-button-icon-size, 24px);\n  vertical-align: baseline;\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple {\n  border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));\n}\n.mat-mdc-icon-button[hidden] {\n  display: none;\n}\n.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 {\n  background: transparent;\n  opacity: 1;\n}\n',"@media (forced-colors: active) {\n  .mat-mdc-button:not(.mdc-button--outlined),\n  .mat-mdc-unelevated-button:not(.mdc-button--outlined),\n  .mat-mdc-raised-button:not(.mdc-button--outlined),\n  .mat-mdc-outlined-button:not(.mdc-button--outlined),\n  .mat-mdc-button-base.mat-tonal-button,\n  .mat-mdc-icon-button.mat-mdc-icon-button,\n  .mat-mdc-outlined-button .mdc-button__ripple {\n    outline: solid 1px;\n  }\n}\n"],encapsulation:2,changeDetection:0})}return X})()},5346(vt,Y,i){i.d(Y,{tp:()=>_});var h=i(9046),b=i(3794),c=i(5802),C=i(5547),T=i(345),y=i(7468),O=i(7673),k=i(8810),w=i(9437),v=i(980),D=i(6354),m=i(7647),u=i(8141);function W(Be){return Error(`Unable to find icon with the name "${Be}"`)}function se(Be){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Be}".`)}function G(Be){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Be}".`)}class le{url;svgText;options;svgElement=null;constructor(we,X,ye){this.url=we,this.svgText=X,this.options=ye}}let _=(()=>{class Be{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;
503_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(X,ye,Q,ae){this._httpClient=X,this._sanitizer=ye,this._errorHandler=ae,this._document=Q}addSvgIcon(X,ye,Q){return this.addSvgIconInNamespace("",X,ye,Q)}addSvgIconLiteral(X,ye,Q){return this.addSvgIconLiteralInNamespace("",X,ye,Q)}addSvgIconInNamespace(X,ye,Q,ae){return this._addSvgIconConfig(X,ye,new le(Q,null,ae))}addSvgIconResolver(X){return this._resolvers.push(X),this}addSvgIconLiteralInNamespace(X,ye,Q,ae){const H=this._sanitizer.sanitize(C.WPN.HTML,Q);if(!H)throw G(Q);const _e=(0,h.Mv)(H);return this._addSvgIconConfig(X,ye,new le("",_e,ae))}addSvgIconSet(X,ye){return this.addSvgIconSetInNamespace("",X,ye)}addSvgIconSetLiteral(X,ye){return this.addSvgIconSetLiteralInNamespace("",X,ye)}addSvgIconSetInNamespace(X,ye,Q){return this._addSvgIconSetConfig(X,new le(ye,null,Q))}addSvgIconSetLiteralInNamespace(X,ye,Q){const ae=this._sanitizer.sanitize(C.WPN.HTML,ye);if(!ae)throw G(ye);const H=(0,h.Mv)(ae);return this._addSvgIconSetConfig(X,new le("",H,Q))}registerFontClassAlias(X,ye=X){return this._fontCssClassesByAlias.set(X,ye),this}classNameForFontAlias(X){return this._fontCssClassesByAlias.get(X)||X}setDefaultFontSetClass(...X){return this._defaultFontSetClass=X,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(X){const ye=this._sanitizer.sanitize(C.WPN.RESOURCE_URL,X);if(!ye)throw se(X);const Q=this._cachedIconsByUrl.get(ye);return Q?(0,O.of)(ge(Q)):this._loadSvgIconFromConfig(new le(X,null)).pipe((0,u.M)(ae=>this._cachedIconsByUrl.set(ye,ae)),(0,D.T)(ae=>ge(ae)))}getNamedSvgIcon(X,ye=""){const Q=q(ye,X);let ae=this._svgIconConfigs.get(Q);if(ae)return this._getSvgFromConfig(ae);if(ae=this._getIconConfigFromResolvers(ye,X),ae)return this._svgIconConfigs.set(Q,ae),this._getSvgFromConfig(ae);const H=this._iconSetConfigs.get(ye);return H?this._getSvgFromIconSetConfigs(X,H):(0,k.$)(W(Q))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(X){return X.svgText?(0,O.of)(ge(this._svgElementFromConfig(X))):this._loadSvgIconFromConfig(X).pipe((0,D.T)(ye=>ge(ye)))}_getSvgFromIconSetConfigs(X,ye){const Q=this._extractIconWithNameFromAnySet(X,ye);if(Q)return(0,O.of)(Q);const ae=ye.filter(H=>!H.svgText).map(H=>this._loadSvgIconSetFromConfig(H).pipe((0,w.W)(_e=>{const ht=`Loading icon set URL: ${this._sanitizer.sanitize(C.WPN.RESOURCE_URL,H.url)} failed: ${_e.message}`;return this._errorHandler.handleError(new Error(ht)),(0,O.of)(null)})));return(0,y.p)(ae).pipe((0,D.T)(()=>{const H=this._extractIconWithNameFromAnySet(X,ye);if(!H)throw W(X);return H}))}_extractIconWithNameFromAnySet(X,ye){for(let Q=ye.length-1;Q>=0;Q--){const ae=ye[Q];if(ae.svgText&&ae.svgText.toString().indexOf(X)>-1){const H=this._svgElementFromConfig(ae),_e=this._extractSvgIconFromSet(H,X,ae.options);if(_e)return _e}}return null}_loadSvgIconFromConfig(X){return this._fetchIcon(X).pipe((0,u.M)(ye=>X.svgText=ye),(0,D.T)(()=>this._svgElementFromConfig(X)))}_loadSvgIconSetFromConfig(X){return X.svgText?(0,O.of)(null):this._fetchIcon(X).pipe((0,u.M)(ye=>X.svgText=ye))}_extractSvgIconFromSet(X,ye,Q){const ae=X.querySelector(`[id="${ye}"]`);if(!ae)return null;const H=ae.cloneNode(!0);if(H.removeAttribute("id"),"svg"===H.nodeName.toLowerCase())return this._setSvgAttributes(H,Q);if("symbol"===H.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(H),Q);const _e=this._svgElementFromString((0,h.Mv)("<svg></svg>"));return _e.appendChild(H),this._setSvgAttributes(_e,Q)}_svgElementFromString(X){const ye=this._document.createElement("DIV");ye.innerHTML=X;const Q=ye.querySelector("svg");if(!Q)throw Error("<svg> tag not found");return Q}_toSvgElement(X){const ye=this._svgElementFromString((0,h.Mv)("<svg></svg>")),Q=X.attributes;for(let ae=0;ae<Q.length;ae++){const{name:H,value:_e}=Q[ae];"id"!==H&&ye.setAttribute(H,_e)}for(let ae=0;ae<X.childNodes.length;ae++)X.childNodes[ae].nodeType===this._document.ELEMENT_NODE&&ye.appendChild(X.childNodes[ae].cloneNode(!0));return ye}_setSvgAttributes(X,ye){return X.setAttribute("fit",""),X.setAttribute("height","100%"),X.setAttribute("width","100%"),X.setAttribute("preserveAspectRatio","xMidYMid meet"),X.setAttribute("focusable","false"),ye&&ye.viewBox&&X.setAttribute("viewBox",ye.viewBox),X}_fetchIcon(X){const{url:ye,options:Q}=X,ae=Q?.withCredentials??!1;if(!this._httpClient)throw function z(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==ye)throw Error(`Cannot fetch icon from URL "${ye}".`);const H=this._sanitizer.sanitize(C.WPN.RESOURCE_URL,ye);if(!H)throw se(ye);const _e=this._inProgressUrlFetches.get(H);if(_e)return _e;const We=this._httpClient.get(H,{responseType:"text",withCredentials:ae}).pipe((0,D.T)(ht=>(0,h.Mv)(ht)),(0,v.j)(()=>this._inProgressUrlFetches.delete(H)),(0,m.u)());return this._inProgressUrlFetches.set(H,We),We}_addSvgIconConfig(X,ye,Q){return this._svgIconConfigs.set(q(X,ye),Q),this}_addSvgIconSetConfig(X,ye){const Q=this._iconSetConfigs.get(X);return Q?Q.push(ye):this._iconSetConfigs.set(X,[ye]),this}_svgElementFromConfig(X){if(!X.svgElement){const ye=this._svgElementFromString(X.svgText);this._setSvgAttributes(ye,X.options),X.svgElement=ye}return X.svgElement}_getIconConfigFromResolvers(X,ye){for(let Q=0;Q<this._resolvers.length;Q++){const ae=this._resolvers[Q](ye,X);
vendor: 4,931 bytes, line 503
503if(ae)return Te(ae)?new le(ae.url,null,ae.options):new le(ae,null)}}static \u0275fac=function(ye){return new(ye||Be)(c.KVO(b.Qq,8),c.KVO(T.up),c.KVO(c.qQL,8),c.KVO(c.zcH))};static \u0275prov=c.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})();function ge(Be){return Be.cloneNode(!0)}function q(Be,we){return Be+":"+we}function Te(Be){return!(!Be.url||!Be.options)}},8943(vt,Y,i){i.d(Y,{$E:()=>Te,EX:()=>W,r6:()=>Be,ug:()=>ge});var h=i(7421),b=i(9867),c=i(1539),C=i(5547),T=i(5802),y=i(3250),O=i(7384),k=i(3293),w=i(8649),v=function(we){return we[we.FADING_IN=0]="FADING_IN",we[we.VISIBLE=1]="VISIBLE",we[we.FADING_OUT=2]="FADING_OUT",we[we.HIDDEN=3]="HIDDEN",we}(v||{});class D{_renderer;element;config;_animationForciblyDisabledThroughCss;state=v.HIDDEN;constructor(X,ye,Q,ae=!1){this._renderer=X,this.element=ye,this.config=Q,this._animationForciblyDisabledThroughCss=ae}fadeOut(){this._renderer.fadeOutRipple(this)}}const m=(0,c.B)({passive:!0,capture:!0});class u{_events=new Map;addHandler(X,ye,Q,ae){const H=this._events.get(ye);if(H){const _e=H.get(Q);_e?_e.add(ae):H.set(Q,new Set([ae]))}else this._events.set(ye,new Map([[Q,new Set([ae])]])),X.runOutsideAngular(()=>{document.addEventListener(ye,this._delegateEventHandler,m)})}removeHandler(X,ye,Q){const ae=this._events.get(X);if(!ae)return;const H=ae.get(ye);H&&(H.delete(Q),0===H.size&&ae.delete(ye),0===ae.size&&(this._events.delete(X),document.removeEventListener(X,this._delegateEventHandler,m)))}_delegateEventHandler=X=>{const ye=(0,b.Fb)(X);ye&&this._events.get(X.type)?.forEach((Q,ae)=>{(ae===ye||ae.contains(ye))&&Q.forEach(H=>H.handleEvent(X))})}}const W={enterDuration:225,exitDuration:150},se=(0,c.B)({passive:!0,capture:!0}),G=["mousedown","touchstart"],le=["mouseup","mouseleave","touchend","touchcancel"];let _=(()=>{class we{static \u0275fac=function(Q){return new(Q||we)};static \u0275cmp=C.VBU({type:we,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(Q,ae){},styles:[".mat-ripple {\n  overflow: hidden;\n  position: relative;\n}\n.mat-ripple:not(:empty) {\n  transform: translateZ(0);\n}\n\n.mat-ripple.mat-ripple-unbounded {\n  overflow: visible;\n}\n\n.mat-ripple-element {\n  position: absolute;\n  border-radius: 50%;\n  pointer-events: none;\n  transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);\n  transform: scale3d(0, 0, 0);\n  background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent));\n}\n@media (forced-colors: active) {\n  .mat-ripple-element {\n    display: none;\n  }\n}\n.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {\n  display: none;\n}\n"],encapsulation:2,changeDetection:0})}return we})();class ge{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new u;constructor(X,ye,Q,ae,H){this._target=X,this._ngZone=ye,this._platform=ae,ae.isBrowser&&(this._containerElement=(0,O.i8)(Q)),H&&H.get(k.l).load(_)}fadeInRipple(X,ye,Q={}){const ae=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),H={...W,...Q.animation};Q.centered&&(X=ae.left+ae.width/2,ye=ae.top+ae.height/2);const _e=Q.radius||function q(we,X,ye){const Q=Math.max(Math.abs(we-ye.left),Math.abs(we-ye.right)),ae=Math.max(Math.abs(X-ye.top),Math.abs(X-ye.bottom));return Math.sqrt(Q*Q+ae*ae)}(X,ye,ae),We=X-ae.left,ht=ye-ae.top,Vt=H.enterDuration,an=document.createElement("div");an.classList.add("mat-ripple-element"),an.style.left=We-_e+"px",an.style.top=ht-_e+"px",an.style.height=2*_e+"px",an.style.width=2*_e+"px",null!=Q.color&&(an.style.backgroundColor=Q.color),an.style.transitionDuration=`${Vt}ms`,this._containerElement.appendChild(an);const Et=window.getComputedStyle(an),at=Et.transitionDuration,Ve="none"===Et.transitionProperty||"0s"===at||"0s, 0s"===at||0===ae.width&&0===ae.height,Le=new D(this,an,Q,Ve);an.style.transform="scale3d(1, 1, 1)",Le.state=v.FADING_IN,Q.persistent||(this._mostRecentTransientRipple=Le);let He=null;return!Ve&&(Vt||H.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ne=()=>{He&&(He.fallbackTimer=null),clearTimeout(qe),this._finishRippleTransition(Le)},Ae=()=>this._destroyRipple(Le),qe=setTimeout(Ae,Vt+100);an.addEventListener("transitionend",Ne),an.addEventListener("transitioncancel",Ae),He={onTransitionEnd:Ne,onTransitionCancel:Ae,fallbackTimer:qe}}),this._activeRipples.set(Le,He),(Ve||!Vt)&&this._finishRippleTransition(Le),Le}fadeOutRipple(X){if(X.state===v.FADING_OUT||X.state===v.HIDDEN)return;const ye=X.element,Q={...W,...X.config.animation};ye.style.transitionDuration=`${Q.exitDuration}ms`,ye.style.opacity="0",X.state=v.FADING_OUT,(X._animationForciblyDisabledThroughCss||!Q.exitDuration)&&this._finishRippleTransition(X)}
vendor: 6,589 bytes, line 503
503fadeOutAll(){this._getActiveRipples().forEach(X=>X.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(X=>{X.config.persistent||X.fadeOut()})}setupTriggerEvents(X){const ye=(0,O.i8)(X);!this._platform.isBrowser||!ye||ye===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ye,G.forEach(Q=>{ge._eventManager.addHandler(this._ngZone,Q,ye,this)}))}handleEvent(X){"mousedown"===X.type?this._onMousedown(X):"touchstart"===X.type?this._onTouchStart(X):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{le.forEach(ye=>{this._triggerElement.addEventListener(ye,this,se)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(X){X.state===v.FADING_IN?this._startFadeOutTransition(X):X.state===v.FADING_OUT&&this._destroyRipple(X)}_startFadeOutTransition(X){const ye=X===this._mostRecentTransientRipple,{persistent:Q}=X.config;X.state=v.VISIBLE,!Q&&(!ye||!this._isPointerDown)&&X.fadeOut()}_destroyRipple(X){const ye=this._activeRipples.get(X)??null;this._activeRipples.delete(X),this._activeRipples.size||(this._containerRect=null),X===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),X.state=v.HIDDEN,null!==ye&&(X.element.removeEventListener("transitionend",ye.onTransitionEnd),X.element.removeEventListener("transitioncancel",ye.onTransitionCancel),null!==ye.fallbackTimer&&clearTimeout(ye.fallbackTimer)),X.element.remove()}_onMousedown(X){const ye=(0,y._)(X),Q=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ye&&!Q&&(this._isPointerDown=!0,this.fadeInRipple(X.clientX,X.clientY,this._target.rippleConfig))}_onTouchStart(X){if(!this._target.rippleDisabled&&!(0,y.w)(X)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ye=X.changedTouches;if(ye)for(let Q=0;Q<ye.length;Q++)this.fadeInRipple(ye[Q].clientX,ye[Q].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(X=>{!X.config.persistent&&(X.state===v.VISIBLE||X.config.terminateOnPointerUp&&X.state===v.FADING_IN)&&X.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const X=this._triggerElement;X&&(G.forEach(ye=>ge._eventManager.removeHandler(ye,X,this)),this._pointerUpEventsRegistered&&(le.forEach(ye=>X.removeEventListener(ye,this,se)),this._pointerUpEventsRegistered=!1))}}const Te=new T.nKC("mat-ripple-global-options");let Be=(()=>{class we{_elementRef=(0,T.WQX)(C.aKT);_animationsDisabled=(0,w.Rc)();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(ye){ye&&this.fadeOutAllNonPersistent(),this._disabled=ye,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ye){this._trigger=ye,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const ye=(0,T.WQX)(T.SKi),Q=(0,T.WQX)(h.O),ae=(0,T.WQX)(Te,{optional:!0}),H=(0,T.WQX)(T.zZn);this._globalOptions=ae||{},this._rippleRenderer=new ge(this,ye,this._elementRef,Q,H)}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,...this._animationsDisabled?{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(ye,Q=0,ae){return"number"==typeof ye?this._rippleRenderer.fadeInRipple(ye,Q,{...this.rippleConfig,...ae}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ye})}static \u0275fac=function(Q){return new(Q||we)};static \u0275dir=C.FsC({type:we,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Q,ae){2&Q&&C.AVh("mat-ripple-unbounded",ae.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return we})()},6384(vt,Y,i){i.d(Y,{p:()=>C});var h=i(8203),b=i(5547),c=i(5802);let C=(()=>{class T{static \u0275fac=function(k){return new(k||T)};static \u0275mod=b.$C({type:T});static \u0275inj=c.G2t({imports:[h.jI]})}return T})()},1767(vt,Y,i){i.d(Y,{A:()=>b});var h=i(5547);let b=(()=>{class c{static \u0275fac=function(y){return new(y||c)};static \u0275cmp=h.VBU({type:c,selectors:[["structural-styles"]],decls:0,vars:0,template:function(y,O){},styles:['.mat-focus-indicator {\n  position: relative;\n}\n.mat-focus-indicator::before {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  box-sizing: border-box;\n  pointer-events: none;\n  display: var(--mat-focus-indicator-display, none);\n  border-width: var(--mat-focus-indicator-border-width, 3px);\n  border-style: var(--mat-focus-indicator-border-style, solid);\n  border-color: var(--mat-focus-indicator-border-color, transparent);\n  border-radius: var(--mat-focus-indicator-border-radius, 4px);\n}\n.mat-focus-indicator:focus-visible::before {\n  content: "";\n}\n\n@media (forced-colors: active) {\n  html {\n    --mat-focus-indicator-display: block;\n  }\n}\n'],encapsulation:2,changeDetection:0})}return c})()},9714(vt,Y,i){i.d(Y,{oV:()=>We});var h=i(6977),b=i(4085),c=i(7384),C=i(7336),T=i(413),y=i(5547),O=i(7705),k=i(5802),w=i(7421),v=i(144),D=i(6537),m=i(9752),u=i(5057),W=i(5478),z=i(6939),se=i(1535),G=i(1413),le=i(8649);const _=["tooltip"],Te=new k.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const Vt=(0,k.WQX)(k.zZn);return()=>(0,u.RH)(Vt,{scrollThrottle:20})}}),Be=new k.nKC("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})}),X="tooltip-panel",ye={passive:!0};let We=(()=>{class Vt{_elementRef=(0,k.WQX)(y.aKT);_ngZone=(0,k.WQX)(k.SKi);_platform=(0,k.WQX)(w.O);_ariaDescriber=(0,k.WQX)(v.vr);_focusMonitor=(0,k.WQX)(D.FN);_dir=(0,k.WQX)(m.dS);_injector=(0,k.WQX)(k.zZn);
vendor: 10,917 bytes, line 503
503_viewContainerRef=(0,k.WQX)(y.c1b);_mediaMatcher=(0,k.WQX)(se.D);_document=(0,k.WQX)(k.qQL);_renderer=(0,k.WQX)(y.sFG);_animationsDisabled=(0,le.Rc)();_defaultOptions=(0,k.WQX)(Be,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=ht;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(Et){Et!==this._position&&(this._position=Et,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Et){this._positionAtOrigin=(0,b.he)(Et),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Et){const Gt=(0,b.he)(Et);this._disabled!==Gt&&(this._disabled=Gt,Gt?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(Et){this._showDelay=(0,c.OE)(Et)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(Et){this._hideDelay=(0,c.OE)(Et),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(Et){const Gt=this._message;this._message=null!=Et?String(Et).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(Gt)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(Et){this._tooltipClass=Et,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new G.B;_isDestroyed=!1;constructor(){const Et=this._defaultOptions;Et&&(this._showDelay=Et.showDelay,this._hideDelay=Et.hideDelay,Et.position&&(this.position=Et.position),Et.positionAtOrigin&&(this.positionAtOrigin=Et.positionAtOrigin),Et.touchGestures&&(this.touchGestures=Et.touchGestures),Et.tooltipClass&&(this.tooltipClass=Et.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,h.Q)(this._destroyed)).subscribe(Et=>{Et?"keyboard"===Et&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Et=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(Gt=>Gt()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(Et,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Et)}show(Et=this.showDelay,Gt){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const at=this._createOverlay(Gt);this._detach(),this._portal=this._portal||new z.A8(this._tooltipComponent,this._viewContainerRef);const Ve=this._tooltipInstance=at.attach(this._portal).instance;Ve._triggerElement=this._elementRef.nativeElement,Ve._mouseLeaveHideDelay=this._hideDelay,Ve.afterHidden().pipe((0,h.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ve.show(Et)}hide(Et=this.hideDelay){const Gt=this._tooltipInstance;Gt&&(Gt.isVisible()?Gt.hide(Et):(Gt._cancelPendingAnimations(),this._detach()))}toggle(Et){this._isTooltipVisible()?this.hide():this.show(void 0,Et)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Et){if(this._overlayRef){const Le=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Et)&&Le._origin instanceof y.aKT)return this._overlayRef;this._detach()}const Gt=this._injector.get(W.R).getAncestorScrollContainers(this._elementRef),at=`${this._cssClassPrefix}-${X}`,Ve=(0,u.$M)(this._injector,this.positionAtOrigin&&Et||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Gt).withPopoverLocation("global");return Ve.positionChanges.pipe((0,h.Q)(this._destroyed)).subscribe(Le=>{this._updateCurrentPositionClass(Le.connectionPair),this._tooltipInstance&&Le.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,u.Y$)(this._injector,{direction:this._dir,positionStrategy:Ve,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,at]:at,scrollStrategy:this._injector.get(Te)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,h.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,h.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,h.Q)(this._destroyed)).subscribe(Le=>{Le.preventDefault(),Le.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,h.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(Et){const Gt=Et.getConfig().positionStrategy,at=this._getOrigin(),Ve=this._getOverlayPosition();Gt.withPositions([this._addOffset({...at.main,...Ve.main}),this._addOffset({...at.fallback,...Ve.fallback})])}_addOffset(Et){const at=!this._dir||"ltr"==this._dir.value;return"top"===Et.originY?Et.offsetY=-8:"bottom"===Et.originY?Et.offsetY=8:"start"===Et.originX?Et.offsetX=at?-8:8:"end"===Et.originX&&(Et.offsetX=at?8:-8),Et}_getOrigin(){const Et=!this._dir||"ltr"==this._dir.value,Gt=this.position;let at;"above"==Gt||"below"==Gt?at={originX:"center",originY:"above"==Gt?"top":"bottom"}:"before"==Gt||"left"==Gt&&Et||"right"==Gt&&!Et?at={originX:"start",originY:"center"}:("after"==Gt||"right"==Gt&&Et||"left"==Gt&&!Et)&&(at={originX:"end",originY:"center"});const{x:Ve,y:Le}=this._invertPosition(at.originX,at.originY);return{main:at,fallback:{originX:Ve,originY:Le}}}_getOverlayPosition(){const Et=!this._dir||"ltr"==this._dir.value,Gt=this.position;let at;"above"==Gt?at={overlayX:"center",overlayY:"bottom"}:"below"==Gt?at={overlayX:"center",overlayY:"top"}:"before"==Gt||"left"==Gt&&Et||"right"==Gt&&!Et?at={overlayX:"end",overlayY:"center"}:("after"==Gt||"right"==Gt&&Et||"left"==Gt&&!Et)&&(at={overlayX:"start",overlayY:"center"});const{x:Ve,y:Le}=this._invertPosition(at.overlayX,at.overlayY);return{main:at,fallback:{overlayX:Ve,overlayY:Le}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,y.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(Et){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Et instanceof Set?Array.from(Et):Et,this._tooltipInstance._markForCheck())}_invertPosition(Et,Gt){return"above"===this.position||"below"===this.position?"top"===Gt?Gt="bottom":"bottom"===Gt&&(Gt="top"):"end"===Et?Et="start":"start"===Et&&(Et="end"),{x:Et,y:Gt}}_updateCurrentPositionClass(Et){const{overlayY:Gt,originX:at,originY:Ve}=Et;let Le;if(Le="center"===Gt?this._dir&&"rtl"===this._dir.value?"end"===at?"left":"right":"start"===at?"left":"right":"bottom"===Gt&&"top"===Ve?"above":"below",Le!==this._currentPosition){const He=this._overlayRef;if(He){const Ne=`${this._cssClassPrefix}-${X}-`;He.removePanelClass(Ne+this._currentPosition),He.addPanelClass(Ne+Le)}this._currentPosition=Le}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",Et=>{const Gt=Et.targetTouches?.[0],at=Gt?{x:Gt.clientX,y:Gt.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,at)},this._defaultOptions?.touchLongPressShowDelay??500)})):this._addListener("mouseenter",Et=>{let Gt;this._setupPointerExitEventsIfNeeded(),void 0!==Et.x&&void 0!==Et.y&&(Gt=Et),this.show(void 0,Gt)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized)if(this._pointerExitEventsInitialized=!0,this._isTouchPlatform()){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Et=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",Et),this._addListener("touchcancel",Et)}}else this._addListener("mouseleave",Et=>{const Gt=Et.relatedTarget;(!Gt||!this._overlayRef?.overlayElement.contains(Gt))&&this.hide()}),this._addListener("wheel",Et=>{if(this._isTooltipVisible()){const Gt=this._document.elementFromPoint(Et.clientX,Et.clientY),at=this._elementRef.nativeElement;Gt!==at&&!at.contains(Gt)&&this.hide()}})}_addListener(Et,Gt){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,Et,Gt,ye))}_isTouchPlatform(){const Et=this._defaultOptions?.detectHoverCapability;return"function"==typeof Et?!Et():!(!this._platform.IOS&&!this._platform.ANDROID)||!!this._platform.isBrowser&&!!Et&&this._mediaMatcher.matchMedia("(any-hover: none)").matches}_disableNativeGesturesIfNecessary(){const Et=this.touchGestures;if("off"!==Et){const Gt=this._elementRef.nativeElement,at=Gt.style;("on"===Et||"INPUT"!==Gt.nodeName&&"TEXTAREA"!==Gt.nodeName)&&(at.userSelect=at.msUserSelect=at.webkitUserSelect=at.MozUserSelect="none"),("on"===Et||!Gt.draggable)&&(at.webkitUserDrag="none"),at.touchAction="none",at.webkitTapHighlightColor="transparent"}}_syncAriaDescription(Et){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,Et,"tooltip"),this._isDestroyed||(0,y.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=Et=>"keydown"!==Et.type||this._isTooltipVisible()&&Et.keyCode===T._f&&!(0,C.rp)(Et);static \u0275fac=function(Gt){return new(Gt||Vt)}
vendor: 4,473 bytes, line 503
503;static \u0275dir=y.FsC({type:Vt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(Gt,at){2&Gt&&y.AVh("mat-mdc-tooltip-disabled",at.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return Vt})(),ht=(()=>{class Vt{_changeDetectorRef=(0,k.WQX)(O.gRc);_elementRef=(0,k.WQX)(y.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,le.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new G.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(Et){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Et)}hide(Et){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Et)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:Et}){(!Et||!this._triggerElement.contains(Et))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const Et=this._elementRef.nativeElement.getBoundingClientRect();return Et.height>24&&Et.width>=200}_handleAnimationEnd({animationName:Et}){(Et===this._showAnimation||Et===this._hideAnimation)&&this._finalizeAnimation(Et===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Et){Et?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Et){const Gt=this._tooltip.nativeElement,at=this._showAnimation,Ve=this._hideAnimation;if(Gt.classList.remove(Et?Ve:at),Gt.classList.add(Et?at:Ve),this._isVisible!==Et&&(this._isVisible=Et,this._changeDetectorRef.markForCheck()),Et&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Le=getComputedStyle(Gt);("0s"===Le.getPropertyValue("animation-duration")||"none"===Le.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Et&&this._onShow(),this._animationsDisabled&&(Gt.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Et))}static \u0275fac=function(Gt){return new(Gt||Vt)};static \u0275cmp=y.VBU({type:Vt,selectors:[["mat-tooltip-component"]],viewQuery:function(Gt,at){if(1&Gt&&y.GBs(_,7),2&Gt){let Ve;y.mGM(Ve=y.lsd())&&(at._tooltip=Ve.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(Gt,at){1&Gt&&y.bIt("mouseleave",function(Le){return at._handleMouseLeave(Le)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(Gt,at){1&Gt&&(y.rj2(0,"div",1,0),y.VwU("animationend",function(Le){return at._handleAnimationEnd(Le)}),y.rj2(2,"div",2),y.EFF(3),y.eux()()),2&Gt&&(y.HbH(at.tooltipClass),y.AVh("mdc-tooltip--multiline",at._isMultiline),y.R7$(3),y.JRh(at.message))},styles:['.mat-mdc-tooltip {\n  position: relative;\n  transform: scale(0);\n  display: inline-flex;\n}\n.mat-mdc-tooltip::before {\n  content: "";\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: -1;\n  position: absolute;\n}\n.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {\n  top: -8px;\n}\n.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {\n  bottom: -8px;\n}\n.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {\n  left: -8px;\n}\n.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {\n  right: -8px;\n}\n.mat-mdc-tooltip._mat-animation-noopable {\n  animation: none;\n  transform: scale(1);\n}\n\n.mat-mdc-tooltip-surface {\n  word-break: normal;
503\n  overflow-wrap: anywhere;\n  padding: 4px 8px;\n  min-width: 40px;\n  max-width: 200px;\n  min-height: 24px;\n  max-height: 40vh;\n  box-sizing: border-box;\n  overflow: hidden;\n  text-align: center;\n  will-change: transform, opacity;\n  background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));\n  color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));\n  border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));\n  font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));\n  font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));\n  font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));\n  line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));\n  letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking));\n}\n.mat-mdc-tooltip-surface::before {\n  position: absolute;\n  box-sizing: border-box;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n  border: 1px solid transparent;\n  border-radius: inherit;\n  content: "";\n  pointer-events: none;\n}\n.mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n  text-align: left;\n}\n[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n  text-align: right;\n}\n\n.mat-mdc-tooltip-panel {\n  line-height: normal;\n}\n.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {\n  pointer-events: none;\n}\n\n@keyframes mat-mdc-tooltip-show {\n  0% {\n    opacity: 0;\n    transform: scale(0.8);\n  }\n  100% {\n    opacity: 1;\n    transform: scale(1);\n  }\n}\n@keyframes mat-mdc-tooltip-hide {\n  0% {\n    opacity: 1;\n    transform: scale(1);\n  }\n  100% {\n    opacity: 0;\n    transform: scale(0.8);\n  }\n}\n.mat-mdc-tooltip-show {\n  animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n.mat-mdc-tooltip-hide {\n  animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n'],encapsulation:2,changeDetection:0})}return Vt})()},8834(vt,Y,i){i.d(Y,{$z:()=>G,Hl:()=>ye});var T=i(3848),y=i(5547),O=i(5802),k=i(8203),w=i(6384);const v=["matButton",""],D=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],m=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],se=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);let G=(()=>{class Q extends T.iM{get appearance(){return this._appearance}set appearance(H){this.setAppearance(H||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const H=function le(Q){return Q.hasAttribute("mat-raised-button")?"elevated":Q.hasAttribute("mat-stroked-button")?"outlined":Q.hasAttribute("mat-flat-button")?"filled":Q.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);H&&this.setAppearance(H)}setAppearance(H){if(H===this._appearance)return;const _e=this._elementRef.nativeElement.classList,We=this._appearance?se.get(this._appearance):null,ht=se.get(H);We&&_e.remove(...We),_e.add(...ht),this._appearance=H}static \u0275fac=function(_e){return new(_e||Q)};static \u0275cmp=y.VBU({type:Q,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[y.Vt3],attrs:v,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(_e,We){1&_e&&(y.NAR(D),y.Hgh(0,"span",0),y.SdG(1),y.rj2(2,"span",1),y.SdG(3,1),y.eux(),y.SdG(4,2),y.Hgh(
5035,"span",2)(6,"span",3)),2&_e&&y.AVh("mdc-button__ripple",!We._isFab)("mdc-fab__ripple",We._isFab)},styles:['.mat-mdc-button-base {\n  text-decoration: none;\n}\n.mat-mdc-button-base .mat-icon {\n  min-height: fit-content;\n  flex-shrink: 0;\n}\n@media (hover: none) {\n  .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before {\n    opacity: 0;\n  }\n}\n\n.mdc-button {\n  -webkit-user-select: none;\n  user-select: none;\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  box-sizing: border-box;\n  min-width: 64px;\n  border: none;\n  outline: none;\n  line-height: inherit;\n  -webkit-appearance: none;\n  overflow: visible;\n  vertical-align: middle;\n  background: transparent;\n  padding: 0 8px;\n}\n.mdc-button::-moz-focus-inner {\n  padding: 0;\n  border: 0;\n}\n.mdc-button:active {\n  outline: none;\n}\n.mdc-button:hover {\n  cursor: pointer;\n}\n.mdc-button:disabled {\n  cursor: default;\n  pointer-events: none;\n}\n.mdc-button[hidden] {\n  display: none;\n}\n.mdc-button .mdc-button__label {\n  position: relative;\n}\n\n.mat-mdc-button {\n  padding: 0 var(--mat-button-text-horizontal-padding, 12px);\n  height: var(--mat-button-text-container-height, 40px);\n  font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-text-label-text-transform);\n  font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight));\n}\n.mat-mdc-button, .mat-mdc-button .mdc-button__ripple {\n  border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full));\n}\n.mat-mdc-button:not(:disabled) {\n  color: var(--mat-button-text-label-text-color, var(--mat-sys-primary));\n}\n.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) {\n  padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px);\n}\n.mat-mdc-button > .mat-icon {\n  margin-right: var(--mat-button-text-icon-spacing, 8px);\n  margin-left: var(--mat-button-text-icon-offset, -4px);\n}\n[dir=rtl] .mat-mdc-button > .mat-icon {\n  margin-right: var(--mat-button-text-icon-offset, -4px);\n  margin-left: var(--mat-button-text-icon-spacing, 8px);\n}\n.mat-mdc-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-text-icon-offset, -4px);\n  margin-left: var(--mat-button-text-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-text-icon-spacing, 8px);\n  margin-left: var(--mat-button-text-icon-offset, -4px);\n}\n.mat-mdc-button .mat-ripple-element {\n  background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary));\n}\n.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.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 {\n  opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-text-touch-target-size, 48px);\n  display: var(--mat-button-text-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n\n.mat-mdc-unelevated-button {\n  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n  height: var(--mat-button-filled-container-height, 40px);\n  font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-filled-label-text-transform);\n  font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));\n  padding: 0 var(--mat-button-filled-horizontal-padding, 24px);\n}\n.mat-mdc-unelevated-button > .mat-icon {\n  margin-right: var(--mat-button-filled-icon-spacing, 8px);\n  margin-left: var(--mat-button-filled-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-unelevated-button > .mat-icon {\n  margin-right: var(--mat-button-filled-icon-offset, -8px);\n  margin-left: var(--mat-button-filled-icon-spacing, 8px);\n}\n.mat-mdc-unelevated-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-filled-icon-offset, -8px);\n  margin-left: var(--mat-button-filled-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-filled-icon-spacing, 8px);\n  margin-left: var(--mat-button-filled-icon-offset, -8px);\n}\n.mat-mdc-unelevated-button .mat-ripple-element {\n  background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary));\n}\n.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.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 {\n  opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-unelevated-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-filled-touch-target-size, 48px);\n  display: var(--mat-button-filled-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n.mat-mdc-unelevated-button:not(:disabled) {\n  color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));\n  background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary));\n}\n.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple {\n  border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full));\n}\n.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n  background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n\n.mat-mdc-raised-button {\n  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n  box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));\n  height: var(--mat-button-protected-container-height, 40px);\n  font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-protected-label-text-transform);\n  font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));\n  padding: 0 var(--mat-button-protected-horizontal-padding, 24px);\n}\n.mat-mdc-raised-button > .mat-icon {\n  margin-right: var(--mat-button-protected-icon-spacing, 8px);\n  margin-left: var(--mat-button-protected-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-raised-button > .mat-icon {\n  margin-right: var(--mat-button-protected-icon-offset, -8px);\n  margin-left: var(--mat-button-protected-icon-spacing, 8px);\n}\n.mat-mdc-raised-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-protected-icon-offset, -8px);\n  margin-left: var(--mat-button-protected-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-protected-icon-spacing, 8px);\n  margin-left: var(--mat-button-protected-icon-offset, -8px);\n}\n.mat-mdc-raised-button .mat-ripple-element {\n  background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary));\n}\n.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.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 {\n  opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-raised-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-protected-touch-target-size, 48px);\n  display: var(--mat-button-protected-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n.mat-mdc-raised-button:not(:disabled) {\n  color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary));\n  background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface));\n}\n.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple {\n  border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full));\n}\n@media (hover: hover) {\n  .mat-mdc-raised-button:hover {\n    box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2));\n  }\n}\n.mat-mdc-raised-button:focus {\n  box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1));\n}\n.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active {\n  box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1));\n}\n.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n  background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled {\n  box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0));\n}\n.mat-mdc-raised-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n\n.mat-mdc-outlined-button {\n  border-style: solid;\n  transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1);\n  height: var(--mat-button-outlined-container-height, 40px);\n  font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-outlined-label-text-transform);\n  font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));\n  border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));\n  border-width: var(--mat-button-outlined-outline-width, 1px);\n  padding: 0 var(--mat-button-outlined-horizontal-padding, 24px);\n}\n.mat-mdc-outlined-button > .mat-icon {\n  margin-right: var(--mat-button-outlined-icon-spacing, 8px);\n  margin-left: var(--mat-button-outlined-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-outlined-button > .mat-icon {\n  margin-right: var(--mat-button-outlined-icon-offset, -8px);\n  margin-left: var(--mat-button-outlined-icon-spacing, 8px);\n}\n.mat-mdc-outlined-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-outlined-icon-offset, -8px);\n  margin-left: var(--mat-button-outlined-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-outlined-icon-spacing, 8px);\n  margin-left: var(--mat-button-outlined-icon-offset, -8px);\n}\n.mat-mdc-outlined-button .mat-ripple-element {\n  background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary));\n}\n.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.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 {\n  opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-outlined-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 5
5030%;\n  height: var(--mat-button-outlined-touch-target-size, 48px);\n  display: var(--mat-button-outlined-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n.mat-mdc-outlined-button:not(:disabled) {\n  color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));\n  border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline));\n}\n.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n  border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n\n.mat-tonal-button {\n  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n  height: var(--mat-button-tonal-container-height, 40px);\n  font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));\n  font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));\n  text-transform: var(--mat-button-tonal-label-text-transform);\n  font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));\n  padding: 0 var(--mat-button-tonal-horizontal-padding, 24px);\n}\n.mat-tonal-button:not(:disabled) {\n  color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));\n  background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container));\n}\n.mat-tonal-button, .mat-tonal-button .mdc-button__ripple {\n  border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full));\n}\n.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled {\n  cursor: default;\n  pointer-events: none;\n  color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n  background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));\n}\n.mat-tonal-button.mat-mdc-button-disabled-interactive {\n  pointer-events: auto;\n}\n.mat-tonal-button > .mat-icon {\n  margin-right: var(--mat-button-tonal-icon-spacing, 8px);\n  margin-left: var(--mat-button-tonal-icon-offset, -8px);\n}\n[dir=rtl] .mat-tonal-button > .mat-icon {\n  margin-right: var(--mat-button-tonal-icon-offset, -8px);\n  margin-left: var(--mat-button-tonal-icon-spacing, 8px);\n}\n.mat-tonal-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-tonal-icon-offset, -8px);\n  margin-left: var(--mat-button-tonal-icon-spacing, 8px);\n}\n[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon {\n  margin-right: var(--mat-button-tonal-icon-spacing, 8px);\n  margin-left: var(--mat-button-tonal-icon-offset, -8px);\n}\n.mat-tonal-button .mat-ripple-element {\n  background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container));\n}\n.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n  background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant));\n}\n.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));\n}\n.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));\n}\n.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before {\n  opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));\n}\n.mat-tonal-button .mat-mdc-button-touch-target {\n  position: absolute;\n  top: 50%;\n  height: var(--mat-button-tonal-touch-target-size, 48px);\n  display: var(--mat-button-tonal-touch-target-display, block);\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n\n.mat-mdc-button,\n.mat-mdc-unelevated-button,\n.mat-mdc-raised-button,\n.mat-mdc-outlined-button,\n.mat-tonal-button {\n  -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-button .mat-mdc-button-ripple,\n.mat-mdc-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-unelevated-button .mat-mdc-button-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-raised-button .mat-mdc-button-ripple,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,\n.mat-tonal-button .mat-mdc-button-ripple,\n.mat-tonal-button .mat-mdc-button-persistent-ripple,\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  pointer-events: none;\n  border-radius: inherit;\n}\n.mat-mdc-button .mat-mdc-button-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-ripple,\n.mat-mdc-raised-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-tonal-button .mat-mdc-button-ripple {\n  overflow: hidden;\n}\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n  content: "";\n  opacity: 0;\n}\n.mat-mdc-button .mdc-button__label,\n.mat-mdc-button .mat-icon,\n.mat-mdc-unelevated-button .mdc-button__label,\n.mat-mdc-unelevated-button .mat-icon,\n.mat-mdc-raised-button .mdc-button__label,\n.mat-mdc-raised-button .mat-icon,\n.mat-mdc-outlined-button .mdc-button__label,\n.mat-mdc-outlined-button .mat-icon,\n.mat-tonal-button .mdc-button__label,\n.mat-tonal-button .mat-icon {\n  z-index: 1;\n  position: relative;\n}\n.mat-mdc-button .mat-focus-indicator,\n.mat-mdc-unelevated-button .mat-focus-indicator,\n.mat-mdc-raised-button .mat-focus-indicator,\n.mat-mdc-outlined-button .mat-focus-indicator,\n.mat-tonal-button .mat-focus-indicator {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  border-radius: inherit;\n}\n.mat-mdc-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before,\n.mat-tonal-button:focus-visible > .mat-focus-indicator::before {\n  content: "";\n  border-radius: inherit;\n}\n.mat-mdc-button._mat-animation-noopable,\n.mat-mdc-unelevated-button._mat-animation-noopable,\n.mat-mdc-raised-button._mat-animation-noopable,\n.mat-mdc-outlined-button._mat-animation-noopable,\n.mat-tonal-button._mat-animation-noopable {\n  transition: none !important;\n  animation: none !important;\n}\n.mat-mdc-button > .mat-icon,\n.mat-mdc-unelevated-button > .mat-icon,\n.mat-mdc-raised-button > .mat-icon,\n.mat-mdc-outlined-button > .mat-icon,\n.mat-tonal-button > .mat-icon {\n  display: inline-block;\n  position: relative;\n  vertical-align: top;\n  font-size: 1.125rem;\n  height: 1.125rem;\n  width: 1.125rem;\n}\n\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mdc-button__ripple {\n  top: -1px;\n  left: -1px;\n  bottom: -1px;\n  right: -1px;\n}\n\n.mat-mdc-unelevated-button .mat-focus-indicator::before,\n.mat-tonal-button .mat-focus-indicator::before,\n.mat-mdc-raised-button .mat-focus-indicator::before {\n  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);\n}\n\n.mat-mdc-outlined-button .mat-focus-indicator::before {\n  margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1);\n}\n',"@media (forced-colors: active) {\n  .mat-mdc-button:not(.mdc-button--outlined),\n  .mat-mdc-unelevated-button:not(.mdc-button--outlined),\n  .mat-mdc-raised-button:not(.mdc-button--outlined),\n  .mat-mdc-outlined-button:not(.mdc-button--outlined),\n  .mat-mdc-button-base.mat-tonal-button,\n  .mat-mdc-icon-button.mat-mdc-icon-button,\n  .mat-mdc-outlined-button .mdc-button__ripple {\n    outline: solid 1px;\n  }\n}\n"],encapsulation:2,changeDetection:0})}return Q})(),ye=(()=>{class Q{static \u0275fac=function(_e){return new(_e||Q)};static \u0275mod=y.$C({type:Q});
vendor: 4,122 bytes, line 503
503static \u0275inj=O.G2t({imports:[w.p,k.jI]})}return Q})()},3719(vt,Y,i){i.d(Y,{RG:()=>y});var h=i(7936),b=i(8203),c=i(2318),C=i(5547),T=i(5802);let y=(()=>{class O{static \u0275fac=function(v){return new(v||O)};static \u0275mod=C.$C({type:O});static \u0275inj=T.G2t({imports:[c.w5,h.rl,b.jI]})}return O})()},9213(vt,Y,i){i.d(Y,{An:()=>W,m_:()=>z});var h=i(5547),b=i(5802),c=i(7705),C=i(8359),T=i(6697),y=i(5346),O=i(8203);const k=["*"],w=new b.nKC("MAT_ICON_DEFAULT_OPTIONS"),v=new b.nKC("mat-icon-location",{providedIn:"root",factory:()=>{const se=(0,b.WQX)(b.qQL),G=se?se.location:null;return{getPathname:()=>G?G.pathname+G.search:""}}}),D=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],m=D.map(se=>`[${se}]`).join(", "),u=/^url\(['"]?#(.*?)['"]?\)$/;let W=(()=>{class se{_elementRef=(0,b.WQX)(h.aKT);_iconRegistry=(0,b.WQX)(y.tp);_location=(0,b.WQX)(v);_errorHandler=(0,b.WQX)(b.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(le){this._color=le}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(le){le!==this._svgIcon&&(le?this._updateSvgIcon(le):this._svgIcon&&this._clearSvgElement(),this._svgIcon=le)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(le){const _=this._cleanupFontValue(le);_!==this._fontSet&&(this._fontSet=_,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(le){const _=this._cleanupFontValue(le);_!==this._fontIcon&&(this._fontIcon=_,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=C.yU.EMPTY;constructor(){const le=(0,b.WQX)(new c.ES_("aria-hidden"),{optional:!0}),_=(0,b.WQX)(w,{optional:!0});_&&(_.color&&(this.color=this._defaultColor=_.color),_.fontSet&&(this.fontSet=_.fontSet)),le||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(le){if(!le)return["",""];const _=le.split(":");switch(_.length){case 1:return["",_[0]];case 2:return _;default:throw Error(`Invalid icon name: "${le}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const le=this._elementsWithExternalReferences;if(le&&le.size){const _=this._location.getPathname();_!==this._previousPath&&(this._previousPath=_,this._prependPathToReferences(_))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(le){this._clearSvgElement();const _=this._location.getPathname();this._previousPath=_,this._cacheChildrenWithExternalReferences(le),this._prependPathToReferences(_),this._elementRef.nativeElement.appendChild(le)}_clearSvgElement(){const le=this._elementRef.nativeElement;let _=le.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();_--;){const ge=le.childNodes[_];(1!==ge.nodeType||"svg"===ge.nodeName.toLowerCase())&&ge.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const le=this._elementRef.nativeElement,_=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ge=>ge.length>0);this._previousFontSetClass.forEach(ge=>le.classList.remove(ge)),_.forEach(ge=>le.classList.add(ge)),this._previousFontSetClass=_,this.fontIcon!==this._previousFontIconClass&&!_.includes("mat-ligature-font")&&(this._previousFontIconClass&&le.classList.remove(this._previousFontIconClass),this.fontIcon&&le.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(le){return"string"==typeof le?le.trim().split(" ")[0]:le}_prependPathToReferences(le){const _=this._elementsWithExternalReferences;_&&_.forEach((ge,q)=>{ge.forEach(Te=>{q.setAttribute(Te.name,`url('${le}#${Te.value}')`)})})}_cacheChildrenWithExternalReferences(le){const _=le.querySelectorAll(m),ge=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let q=0;q<_.length;
503q++)D.forEach(Te=>{const Be=_[q],we=Be.getAttribute(Te),X=we?we.match(u):null;if(X){let ye=ge.get(Be);ye||(ye=[],ge.set(Be,ye)),ye.push({name:Te,value:X[1]})}})}_updateSvgIcon(le){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),le){const[_,ge]=this._splitIconName(le);_&&(this._svgNamespace=_),ge&&(this._svgName=ge),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ge,_).pipe((0,T.s)(1)).subscribe(q=>this._setSvgElement(q),q=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${_}:${ge}! ${q.message}`))})}}static \u0275fac=function(_){return new(_||se)};static \u0275cmp=h.VBU({type:se,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(_,ge){2&_&&(h.BMQ("data-mat-icon-type",ge._usingFontIcon()?"font":"svg")("data-mat-icon-name",ge._svgName||ge.fontIcon)("data-mat-icon-namespace",ge._svgNamespace||ge.fontSet)("fontIcon",ge._usingFontIcon()?ge.fontIcon:null),h.HbH(ge.color?"mat-"+ge.color:""),h.AVh("mat-icon-inline",ge.inline)("mat-icon-no-color","primary"!==ge.color&&"accent"!==ge.color&&"warn"!==ge.color))},inputs:{color:"color",inline:[2,"inline","inline",c.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:k,decls:1,vars:0,template:function(_,ge){1&_&&(h.NAR(),h.SdG(0))},styles:["mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {\n  color: var(--mat-icon-color, inherit);\n}\n\n.mat-icon {\n  -webkit-user-select: none;\n  user-select: none;\n  background-repeat: no-repeat;\n  display: inline-block;\n  fill: currentColor;\n  height: 24px;\n  width: 24px;\n  overflow: hidden;\n}\n.mat-icon.mat-icon-inline {\n  font-size: inherit;\n  height: inherit;\n  line-height: inherit;\n  width: inherit;\n}\n.mat-icon.mat-ligature-font[fontIcon]::before {\n  content: attr(fontIcon);\n}\n\n[dir=rtl] .mat-icon-rtl-mirror {\n  transform: scale(-1, 1);\n}\n\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon {\n  display: block;\n}\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {\n  margin: auto;\n}\n"],encapsulation:2,changeDetection:0})}return se})(),z=(()=>{class se{static \u0275fac=function(_){return new(_||se)};static \u0275mod=h.$C({type:se});static \u0275inj=b.G2t({imports:[O.jI]})}return se})()},7708(vt,Y,i){i.d(Y,{fg:()=>pt,fS:()=>Lt});var h=i(4085),b=i(7421);let T;const y=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function O(){if(T)return T;if("object"!=typeof document||!document)return T=new Set(y),T;let ot=document.createElement("input");return T=new Set(y.filter(At=>(ot.setAttribute("type",At),ot.type===At))),T}var k=i(5547),w=i(5802),v=i(983),D=i(1413),m=i(3293),u=i(7384);let Q=(()=>{class ot{static \u0275fac=function(gt){return new(gt||ot)};static \u0275cmp=k.VBU({type:ot,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(gt,pe){},styles:["textarea.cdk-textarea-autosize {\n  resize: none;\n}\n\ntextarea.cdk-textarea-autosize-measuring {\n  padding: 2px 0 !important;\n  box-sizing: content-box !important;\n  height: auto !important;\n  overflow: hidden !important;\n}\n\ntextarea.cdk-textarea-autosize-measuring-firefox {\n  padding: 2px 0 !important;\n  box-sizing: content-box !important;\n  height: 0 !important;\n}\n\n@keyframes cdk-text-field-autofill-start { /*!*/ }\n@keyframes cdk-text-field-autofill-end { /*!*/ }\n.cdk-text-field-autofill-monitored:-webkit-autofill {\n  animation: cdk-text-field-autofill-start 0s 1ms;\n}\n\n.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {\n  animation: cdk-text-field-autofill-end 0s 1ms;\n}\n"],encapsulation:2,changeDetection:0})}return ot})();const ae={passive:!0};let H=(()=>{class ot{_platform=(0,w.WQX)(b.O);_ngZone=(0,w.WQX)(w.SKi);_renderer=(0,w.WQX)(k._9s).createRenderer(null,null);_styleLoader=(0,w.WQX)(m.l);_monitoredElements=new Map;constructor(){}monitor(M){if(!this._platform.isBrowser)return v.w;this._styleLoader.load(Q);const gt=(0,u.i8)(M),pe=this._monitoredElements.get(gt);if(pe)return pe.subject;const lt=new D.B,Rt="cdk-text-field-autofilled",Yt=jt=>{"cdk-text-field-autofill-start"!==jt.animationName||gt.classList.contains(Rt)?"cdk-text-field-autofill-end"===jt.animationName&&gt.classList.contains(Rt)&&(gt.classList.remove(Rt),this._ngZone.run(()=>lt.next({target:jt.target,isAutofilled:!1}))):(gt.classList.add(Rt),this._ngZone.run(()=>lt.next({target:jt.target,isAutofilled:!0})))},Ut=this._ngZone.runOutsideAngular(()=>(gt.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(gt,"animationstart",Yt,ae)));return this._monitoredElements.set(gt,{subject:lt,unlisten:Ut}),lt}stopMonitoring(M){const gt=(0,u.i8)(M),pe=this._monitoredElements.get(gt);pe&&(pe.unlisten(),pe.subject.complete(),gt.classList.remove("cdk-text-field-autofill-monitored"),gt.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(gt))}
vendor: 7,752 bytes, line 503
503ngOnDestroy(){this._monitoredElements.forEach((M,gt)=>this.stopMonitoring(gt))}static \u0275fac=function(gt){return new(gt||ot)};static \u0275prov=w.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})(),ht=(()=>{class ot{static \u0275fac=function(gt){return new(gt||ot)};static \u0275mod=k.$C({type:ot});static \u0275inj=w.G2t({})}return ot})();var Vt=i(7705),an=i(3531),Et=i(9417);const Gt=new w.nKC("MAT_INPUT_VALUE_ACCESSOR");var at=i(7936),Ve=i(48),Le=i(6373),He=i(8203),Ne=i(3719);const qe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],tt=new w.nKC("MAT_INPUT_CONFIG");let pt=(()=>{class ot{_elementRef=(0,w.WQX)(k.aKT);_platform=(0,w.WQX)(b.O);ngControl=(0,w.WQX)(Et.vO,{optional:!0,self:!0});_autofillMonitor=(0,w.WQX)(H);_ngZone=(0,w.WQX)(w.SKi);_formField=(0,w.WQX)(at.xb,{optional:!0});_renderer=(0,w.WQX)(k.sFG);_uid=(0,w.WQX)(an.g).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=(0,w.WQX)(tt,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new D.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(M){this._disabled=(0,h.he)(M),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(M){this._id=M||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Et.k0.required)??!1}set required(M){this._required=(0,h.he)(M)}_required;get type(){return this._type}set type(M){this._type=M||"text",this._validateType(),!this._isTextarea&&O().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(M){this._errorStateTracker.matcher=M}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(M){M!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(M):this._inputValueAccessor.value=M,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(M){this._readonly=(0,h.he)(M)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(M){this._errorStateTracker.errorState=M}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(M=>O().has(M));constructor(){const M=(0,w.WQX)(Et.cV,{optional:!0}),gt=(0,w.WQX)(Et.j4,{optional:!0}),pe=(0,w.WQX)(Ve.e),lt=(0,w.WQX)(Gt,{optional:!0,self:!0}),Rt=this._elementRef.nativeElement,Yt=Rt.nodeName.toLowerCase();lt?(0,k.Hps)(lt.value)?this._signalBasedValueAccessor=lt:this._inputValueAccessor=lt:this._inputValueAccessor=Rt,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(Rt,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Le.X(pe,this.ngControl,gt,M,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Yt,this._isTextarea="textarea"===Yt,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=Rt.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,w.QZP)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(M=>{this.autofilled=M.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(M){this._elementRef.nativeElement.focus(M)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(M){if(M!==this.focused){if(!this._isNativeSelect&&M&&this.disabled&&this.disabledInteractive){const gt=this._elementRef.nativeElement;"number"===gt.type?(gt.type="text",gt.setSelectionRange(0,0),gt.type="number"):gt.setSelectionRange(0,0)}this.focused=M,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const M=this._elementRef.nativeElement.value;this._previousNativeValue!==M&&(this._previousNativeValue=M,this.stateChanges.next())}_dirtyCheckPlaceholder(){const M=this._getPlaceholder();if(M!==this._previousPlaceholder){const gt=this._elementRef.nativeElement;this._previousPlaceholder=M,M?gt.setAttribute("placeholder",M):gt.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){qe.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let M=this._elementRef.nativeElement.validity;return M&&M.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const M=this._elementRef.nativeElement,gt=M.options[0];return this.focused||M.multiple||!this.empty||!!(M.selectedIndex>-1&&gt&&gt.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(M){const gt=this._elementRef.nativeElement;M.length?gt.setAttribute("aria-describedby",M.join(" ")):gt.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const M=this._elementRef.nativeElement;return this._isNativeSelect&&(M.multiple||M.size>1)}_iOSKeyupListener=M=>{const gt=M.target;!gt.value&&0===gt.selectionStart&&0===gt.selectionEnd&&(gt.setSelectionRange(1,1),gt.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(gt){return new(gt||ot)};static \u0275dir=k.FsC({type:ot,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(gt,pe){1&gt&&k.bIt("focus",function(){return pe._focusChanged(!0)})("blur",function(){return pe._focusChanged(!1)})("input",function(){return pe._onInput()}),2&gt&&(k.Avn("id",pe.id)("disabled",pe.disabled&&!pe.disabledInteractive)("required",pe.required),k.BMQ("name",pe.name||null)("readonly",pe._getReadonlyAttribute())("aria-disabled",pe.disabled&&pe.disabledInteractive?"true":null)("aria-invalid",pe.empty&&pe.required?null:pe.errorState)("aria-required",pe.required)("id",pe.id),k.AVh("mat-input-server",pe._isServer)("mat-mdc-form-field-textarea-control",pe._isInFormField&&pe._isTextarea)("mat-mdc-form-field-input-control",pe._isInFormField)("mat-mdc-input-disabled-interactive",pe.disabledInteractive)("mdc-text-field__input",pe._isInFormField)("mat-mdc-native-select-inline",pe._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Vt.
503L39]},exportAs:["matInput"],features:[k.Jv_([{provide:at.qT,useExisting:ot}]),k.OA$]})}return ot})(),Lt=(()=>{class ot{static \u0275fac=function(gt){return new(gt||ot)};static \u0275mod=k.$C({type:ot});static \u0275inj=w.G2t({imports:[Ne.RG,Ne.RG,ht,He.jI]})}return ot})()},9115(vt,Y,i){i.d(Y,{Cp:()=>Kr,kk:()=>xn});var Be=i(6939),we=i(5547),X=i(5802),ye=i(7705),Q=i(1413),ae=i(8359),H=i(7786),_e=i(7673),We=i(6537),ht=i(8868),Vt=i(3531),an=i(3250),Et=i(7336),Gt=i(413),at=i(5964),Ve=i(9172),Le=i(5558),He=i(6697),Ne=i(6977),Ae=i(3293),qe=i(1767),tt=i(8943),pt=i(8649),Lt=i(9752),ot=i(5057);const At=["mat-menu-item",""],M=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],gt=["mat-icon, [matMenuItemIcon]","*"];function pe(Bn,Xe){1&Bn&&(X.qSk(),we.j41(0,"svg",2),we.nrm(1,"polygon",3),we.k0s())}const lt=["*"];function Rt(Bn,Xe){if(1&Bn){const $=we.RV6();we.rj2(0,"div",0),we.VwU("click",function(){X.eBV($);const K=we.XpG();return X.Njj(K.closed.emit("click"))})("animationstart",function(K){X.eBV($);const Z=we.XpG();return X.Njj(Z._onAnimationStart(K.animationName))})("animationend",function(K){X.eBV($);const Z=we.XpG();return X.Njj(Z._onAnimationDone(K.animationName))})("animationcancel",function(K){X.eBV($);const Z=we.XpG();return X.Njj(Z._onAnimationDone(K.animationName))}),we.rj2(1,"div",1),we.SdG(2),we.eux()()}if(2&Bn){const $=we.XpG();we.HbH($._classList),we.AVh("mat-menu-panel-animations-disabled",$._animationsDisabled)("mat-menu-panel-exit-animation","void"===$._panelAnimationState)("mat-menu-panel-animating",$._isAnimating()),we.Avn("id",$.panelId),we.BMQ("aria-label",$.ariaLabel||null)("aria-labelledby",$.ariaLabelledby||null)("aria-describedby",$.ariaDescribedby||null)}}const Yt=new X.nKC("MAT_MENU_PANEL");let Ut=(()=>{class Bn{_elementRef=(0,X.WQX)(we.aKT);_document=(0,X.WQX)(X.qQL);_focusMonitor=(0,X.WQX)(We.FN);_parentMenu=(0,X.WQX)(Yt,{optional:!0});_changeDetectorRef=(0,X.WQX)(ye.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new Q.B;_focused=new Q.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,X.WQX)(Ae.l).load(qe.A),this._parentMenu?.addItem?.(this)}focus($,F){this._focusMonitor&&$?this._focusMonitor.focusVia(this._getHostElement(),$,F):this._getHostElement().focus(F),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled($){this.disabled&&($.preventDefault(),$.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const $=this._elementRef.nativeElement.cloneNode(!0),F=$.querySelectorAll("mat-icon, .material-icons");for(let K=0;K<F.length;K++)F[K].remove();return $.textContent?.trim()||""}_setHighlighted($){this._highlighted=$,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu($){this._triggersSubmenu=$,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(F){return new(F||Bn)};static \u0275cmp=we.VBU({type:Bn,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(F,K){1&F&&we.bIt("click",function(Re){return K._checkDisabled(Re)})("mouseenter",function(){return K._handleMouseEnter()}),2&F&&(we.BMQ("role",K.role)("tabindex",K._getTabIndex())("aria-disabled",K.disabled)("disabled",K.disabled||null),we.AVh("mat-mdc-menu-item-highlighted",K._highlighted)("mat-mdc-menu-item-submenu-trigger",K._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",ye.L39],disableRipple:[2,"disableRipple","disableRipple",ye.L39]},exportAs:["matMenuItem"],attrs:At,ngContentSelectors:gt,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(F,K){1&F&&(we.NAR(M),we.SdG(0),we.j41(1,"span",0),we.SdG(2,1),we.k0s(),we.nrm(3,"div",1),we.nVh(4,pe,2,0,":svg:svg",2)),2&F&&(we.R7$(3),we.Y8G("matRippleDisabled",K.disableRipple||K.disabled)("matRippleTrigger",K._getHostElement()),we.R7$(),we.vxM(K._triggersSubmenu?4:-1))},dependencies:[tt.r6],encapsulation:2,changeDetection:0})}return Bn})();
503const Mt=new X.nKC("MatMenuContent"),it=new X.nKC("mat-menu-default-options",{providedIn:"root",factory:()=>({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),nn="_mat-menu-enter",tn="_mat-menu-exit";let xn=(()=>{class Bn{_elementRef=(0,X.WQX)(we.aKT);_changeDetectorRef=(0,X.WQX)(ye.gRc);_injector=(0,X.WQX)(X.zZn);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=(0,pt.Rc)();_allItems;_directDescendantItems=new we.rOR;_classList={};_panelAnimationState="void";_animationDone=new Q.B;_isAnimating=(0,X.vPA)(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition($){this._xPosition=$,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition($){this._yPosition=$,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;set panelClass($){const F=this._previousPanelClass,K={...this._classList};F&&F.length&&F.split(" ").forEach(Z=>{K[Z]=!1}),this._previousPanelClass=$,$&&$.length&&($.split(" ").forEach(Z=>{K[Z]=!0}),this._elementRef.nativeElement.className=""),this._classList=K}_previousPanelClass;get classList(){return this.panelClass}set classList($){this.panelClass=$}closed=new X.bkB;close=this.closed;panelId=(0,X.WQX)(Vt.g).getId("mat-menu-panel-");constructor(){const $=(0,X.WQX)(it);this.overlayPanelClass=$.overlayPanelClass||"",this._xPosition=$.xPosition,this._yPosition=$.yPosition,this.backdropClass=$.backdropClass,this.overlapTrigger=$.overlapTrigger,this.hasBackdrop=$.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ht.B(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Ve.Z)(this._directDescendantItems),(0,Le.n)($=>(0,H.h)(...$.map(F=>F._focused)))).subscribe($=>this._keyManager.updateActiveItem($)),this._directDescendantItems.changes.subscribe($=>{const F=this._keyManager;if("enter"===this._panelAnimationState&&F.activeItem?._hasFocus()){const K=$.toArray(),Z=Math.max(0,Math.min(K.length-1,F.activeItemIndex||0));K[Z]&&!K[Z].disabled?F.setActiveItem(Z):F.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe((0,Ve.Z)(this._directDescendantItems),(0,Le.n)(F=>(0,H.h)(...F.map(K=>K._hovered))))}addItem($){}removeItem($){}_handleKeydown($){const F=$.keyCode,K=this._keyManager;switch(F){case Gt._f:(0,Et.rp)($)||($.preventDefault(),this.closed.emit("keydown"));break;case Gt.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Gt.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(F===Gt.i7||F===Gt.n6)&&K.setFocusOrigin("keyboard"),void K.onKeydown($)}}focusFirstItem($="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,we.mal)(()=>{const F=this._resolvePanel();if(!F||!F.contains(document.activeElement)){const K=this._keyManager;K.setFocusOrigin($).setFirstItemActive(),!K.activeItem&&F&&F.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation($){}setPositionClasses($=this.xPosition,F=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===$,"mat-menu-after":"after"===$,"mat-menu-above":"above"===F,"mat-menu-below":"below"===F},this._changeDetectorRef.markForCheck()}_onAnimationDone($){const F=$===tn;(F||$===nn)&&(F&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(F?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart($){($===nn||$===tn)&&this._isAnimating.set(!0)}_setIsOpen($){if(this._panelAnimationState=$?"enter":"void",$){if(0===this._keyManager.activeItemIndex){const F=this._resolvePanel();F&&(F.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(tn),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone($?nn:tn)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe((0,Ve.Z)(this._allItems)).subscribe($=>{this._directDescendantItems.reset($.filter(F=>F._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let $=null;return this._directDescendantItems.length&&($=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),$}static \u0275fac=function(F){return new(F||Bn)};static \u0275cmp=we.VBU({type:Bn,selectors:[["mat-menu"]],contentQueries:function(F,K,Z){if(1&F&&we.wni(Z,Mt,5)(Z,Ut,5)(Z,Ut,4),2&F){let Re;we.mGM(Re=we.lsd())&&(K.lazyContent=Re.first),we.mGM(Re=we.lsd())&&(K._allItems=Re),we.mGM(Re=we.lsd())&&(K.items=Re)}},viewQuery:function(F,K){if(1&F&&we.GBs(we.C4Q,5),2&F){let Z;we.mGM(Z=we.lsd())&&(K.templateRef=Z.first)}},hostVars:3,hostBindings:function(F,K){2&F&&we.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",ye.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",$=>null==$?null:(0,ye.L39)($)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[we.Jv_([{provide:Yt,useExisting:Bn}])],ngContentSelectors:lt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(F,K){1&F&&(we.NAR(),we.PeT(0,Rt
vendor: 5,980 bytes, line 503
503,3,12,"ng-template"))},styles:['mat-menu {\n  display: none;\n}\n\n.mat-mdc-menu-content {\n  margin: 0;\n  padding: 8px 0;\n  outline: 0;\n}\n.mat-mdc-menu-content,\n.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text {\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n  flex: 1;\n  white-space: normal;\n  font-family: var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));\n  line-height: var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));\n  font-size: var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));\n  letter-spacing: var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));\n  font-weight: var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight));\n}\n\n@keyframes _mat-menu-enter {\n  from {\n    opacity: 0;\n    transform: scale(0.8);\n  }\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n@keyframes _mat-menu-exit {\n  from {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n.mat-mdc-menu-panel {\n  min-width: 112px;\n  max-width: 280px;\n  overflow: auto;\n  box-sizing: border-box;\n  outline: 0;\n  animation: _mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);\n  border-radius: var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));\n  background-color: var(--mat-menu-container-color, var(--mat-sys-surface-container));\n  box-shadow: var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));\n  will-change: transform, opacity;\n}\n.mat-mdc-menu-panel.mat-menu-panel-exit-animation {\n  animation: _mat-menu-exit 100ms 25ms linear forwards;\n}\n.mat-mdc-menu-panel.mat-menu-panel-animations-disabled {\n  animation: none;\n}\n.mat-mdc-menu-panel.mat-menu-panel-animating {\n  pointer-events: none;\n}\n.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty) {\n  display: none;\n}\n@media (forced-colors: active) {\n  .mat-mdc-menu-panel {\n    outline: solid 1px;\n  }\n}\n.mat-mdc-menu-panel .mat-divider {\n  border-top-color: var(--mat-menu-divider-color, var(--mat-sys-surface-variant));\n  margin-bottom: var(--mat-menu-divider-bottom-spacing, 8px);\n  margin-top: var(--mat-menu-divider-top-spacing, 8px);\n}\n\n.mat-mdc-menu-item {\n  display: flex;\n  position: relative;\n  align-items: center;\n  justify-content: flex-start;\n  overflow: hidden;\n  padding: 0;\n  cursor: pointer;\n  width: 100%;\n  text-align: left;\n  box-sizing: border-box;\n  color: inherit;\n  font-size: inherit;\n  background: none;\n  text-decoration: none;\n  margin: 0;\n  min-height: 48px;\n  padding-left: var(--mat-menu-item-leading-spacing, 12px);\n  padding-right: var(--mat-menu-item-trailing-spacing, 12px);\n  -webkit-user-select: none;\n  user-select: none;\n  cursor: pointer;\n  outline: none;\n  border: none;\n  -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-menu-item::-moz-focus-inner {\n  border: 0;\n}\n[dir=rtl] .mat-mdc-menu-item {\n  padding-left: var(--mat-menu-item-trailing-spacing, 12px);\n  padding-right: var(--mat-menu-item-leading-spacing, 12px);\n}\n.mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) {\n  padding-left: var(--mat-menu-item-with-icon-leading-spacing, 12px);\n  padding-right: var(--mat-menu-item-with-icon-trailing-spacing, 12px);\n}\n[dir=rtl] .mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) {\n  padding-left: var(--mat-menu-item-with-icon-trailing-spacing, 12px);\n  padding-right: var(--mat-menu-item-with-icon-leading-spacing, 12px);\n}\n.mat-mdc-menu-item, .mat-mdc-menu-item:visited, .mat-mdc-menu-item:link {\n  color: var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-menu-item .mat-icon-no-color,\n.mat-mdc-menu-item .mat-mdc-menu-submenu-icon {\n  color: var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-menu-item[disabled] {\n  cursor: default;\n  opacity: 0.38;\n}\n.mat-mdc-menu-item[disabled]::after {\n  display: block;\n  position: absolute;\n  content: "";\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n}\n.mat-mdc-menu-item:focus {\n  outline: 0;\n}\n.mat-mdc-menu-item .mat-icon {\n  flex-shrink: 0;\n  margin-right: var(--mat-menu-item-spacing, 12px);\n  height: var(--mat-menu-item-icon-size, 24px);\n  width: var(--mat-menu-item-icon-size, 24px);\n}\n[dir=rtl] .mat-mdc-menu-item {\n  text-align: right;\n}\n[dir=rtl] .mat-mdc-menu-item .mat-icon {\n  margin-right: 0;\n  margin-left: var(--mat-menu-item-spacing, 12px);\n}\n.mat-mdc-menu-item:not([disabled]):hover {\n  background-color: var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-menu-item:not([disabled]).cdk-program-focused, .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused, .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted {\n  background-color: var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));\n}\n@media (forced-colors: active) {\n  .mat-mdc-menu-item {\n    margin-top: 1px;\n  }\n}\n\n.mat-mdc-menu-submenu-icon {\n  width: var(--mat-menu-item-icon-size, 24px);\n  height: 10px;\n  fill: currentColor;\n  padding-left: var(--mat-menu-item-spacing, 12px);\n}\n[dir=rtl] .mat-mdc-menu-submenu-icon {\n  padding-right: var(--mat-menu-item-spacing, 12px);\n  padding-left: 0;\n}\n[dir=rtl] .mat-mdc-menu-submenu-icon polygon {\n  transform: scaleX(-1);\n  transform-origin: center;\n}\n@media (forced-colors: active) {\n  .mat-mdc-menu-submenu-icon {\n    fill: CanvasText;\n  }\n}\n\n.mat-mdc-menu-item .mat-mdc-menu-ripple {\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  position: absolute;\n  pointer-events: none;\n}\n'],encapsulation:2,changeDetection:0})}return 
503Bn})();const bn=new X.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Bn=(0,X.WQX)(X.zZn);return()=>(0,ot.RH)(Bn)}}),Tr=new WeakMap;let ir=(()=>{class Bn{_canHaveBackdrop;_element=(0,X.WQX)(we.aKT);_viewContainerRef=(0,X.WQX)(we.c1b);_menuItemInstance=(0,X.WQX)(Ut,{optional:!0,self:!0});_dir=(0,X.WQX)(Lt.dS,{optional:!0});_focusMonitor=(0,X.WQX)(We.FN);_ngZone=(0,X.WQX)(X.SKi);_injector=(0,X.WQX)(X.zZn);
vendor: 2,911 bytes, line 503
503_scrollStrategy=(0,X.WQX)(bn);_changeDetectorRef=(0,X.WQX)(ye.gRc);_animationsDisabled=(0,pt.Rc)();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=ae.yU.EMPTY;_menuCloseSubscription=ae.yU.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu($){$!==this._menuInternal&&(this._menuInternal=$,this._menuCloseSubscription.unsubscribe(),$&&(this._menuCloseSubscription=$.close.subscribe(F=>{this._destroyMenu(F),("click"===F||"tab"===F)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(F)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor($){this._canHaveBackdrop=$;const F=(0,X.WQX)(Yt,{optional:!0});this._parentMaterialMenu=F instanceof xn?F:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Tr.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu($){if(this._triggerIsAriaDisabled())return;const F=this._menu;if(this._menuOpen||!F)return;this._pendingRemoval?.unsubscribe();const K=Tr.get(F);Tr.set(F,this),K&&K!==this&&K._closeMenu();const Z=this._createOverlay(F),Re=Z.getConfig(),ct=Re.positionStrategy;this._setPosition(F,ct),Re.hasBackdrop=this._canHaveBackdrop?null==F.hasBackdrop?!this._triggersSubmenu():F.hasBackdrop:F.hasBackdrop??!1,Z.hasAttached()||(Z.attach(this._getPortal(F)),F.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),F.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,F.direction=this.dir,$&&F.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),F instanceof xn&&(F._setIsOpen(!0),F._directDescendantItems.changes.pipe((0,Ne.Q)(F.close)).subscribe(()=>{ct.withLockedPosition(!1).reapplyLastPosition(),ct.withLockedPosition(!0)}))}focus($,F){this._focusMonitor&&$?this._focusMonitor.focusVia(this._element,$,F):this._element.nativeElement.focus(F)}_destroyMenu($){const F=this._overlayRef,K=this._menu;!F||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),K instanceof xn&&this._ownsMenu(K)?(this._pendingRemoval=K._animationDone.pipe((0,He.s)(1)).subscribe(()=>{F.detach(),Tr.has(K)||K.lazyContent?.detach()}),K._setIsOpen(!1)):(F.detach(),K?.lazyContent?.detach()),K&&this._ownsMenu(K)&&Tr.delete(K),this.restoreFocus&&("keydown"===$||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}
503_setIsMenuOpen($){$!==this._menuOpen&&(this._menuOpen=$,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted($),this._changeDetectorRef.markForCheck())}_createOverlay($){if(!this._overlayRef){const F=this._getOverlayConfig($);this._subscribeToPositions($,F.positionStrategy),this._overlayRef=(0,ot.Y$)(this._injector,F),this._overlayRef.keydownEvents().subscribe(K=>{this._menu instanceof xn&&this._menu._handleKeydown(K)})}return this._overlayRef}_getOverlayConfig($){return new ot.rR({positionStrategy:(0,ot.$M)(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:$.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:$.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions($,F){$.setPositionClasses&&F.positionChanges.subscribe(K=>{this._ngZone.run(()=>{$.setPositionClasses("start"===K.connectionPair.overlayX?"after":"before","top"===K.connectionPair.overlayY?"below":"above")})})}_setPosition($,F){let[K,Z]="before"===$.xPosition?["end","start"]:["start","end"],[Re,ct]="above"===$.yPosition?["bottom","top"]:["top","bottom"],[_t,wt]=[Re,ct],[ee,Se]=[K,Z],Pt=0;if(this._triggersSubmenu()){if(Se=K="before"===$.xPosition?"start":"end",Z=ee="end"===K?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const St=this._parentMaterialMenu.items.first;this._parentInnerPadding=St?St._getHostElement().offsetTop:0}Pt="bottom"===Re?this._parentInnerPadding:-this._parentInnerPadding}}else $.overlapTrigger||(_t="top"===Re?"bottom":"top",wt="top"===ct?"bottom":"top");F.withPositions([{originX:K,originY:_t,overlayX:ee,overlayY:Re,offsetY:Pt},{originX:Z,originY:_t,overlayX:Se,overlayY:Re,offsetY:Pt},{originX:K,originY:wt,overlayX:ee,overlayY:ct,offsetY:-Pt},{originX:Z,originY:wt,overlayX:Se,overlayY:ct,offsetY:-Pt}])}_menuClosingActions(){const $=this._getOutsideClickStream(this._overlayRef),F=this._overlayRef.detachments(),K=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,_e.of)(),Z=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,at.p)(Re=>this._menuOpen&&Re!==this._menuItemInstance)):(0,_e.of)();return(0,H.h)($,K,Z,F)}_getPortal($){return(!this._portal||this._portal.templateRef!==$.templateRef)&&(this._portal=new Be.VA($.templateRef,this._viewContainerRef)),this._portal}_ownsMenu($){return Tr.get($)===this}_triggerIsAriaDisabled(){return(0,ye.L39)(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(F){we.QTQ()};static \u0275dir=we.FsC({type:Bn})}return Bn})(),Kr=(()=>{class Bn extends ir{_cleanupTouchstart;_hoverSubscription=ae.yU.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor($){this.menu=$}get menu(){return this._menu}set menu($){this._menu=$}menuData;restoreFocus=!0;menuOpened=new X.bkB;onMenuOpen=this.menuOpened;menuClosed=new X.bkB;onMenuClose=this.menuClosed;constructor(){super(!0);const $=(0,X.WQX)(we.sFG);this._cleanupTouchstart=$.listen(this._element.nativeElement,"touchstart",F=>{(0,an.w)(F)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream($){return $.backdropClick()}_handleMousedown($){(0,an._)($)||(this._openedBy=0===$.button?"mouse":void 0,this.triggersSubmenu()&&$.preventDefault())}_handleKeydown($){const F=$.keyCode;(F===Gt.Fm||F===Gt.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(F===Gt.LE&&"ltr"===this.dir||F===Gt.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick($){this.triggersSubmenu()?($.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe($=>{$===this._menuItemInstance&&!$.disabled&&"void"!==this._parentMaterialMenu?._panelAnimationState&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(F){return new(F||Bn)};static \u0275dir=we.FsC({type:Bn,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(F,K){1&F&&we.bIt("click",function(Re){return K._handleClick(Re)})("mousedown",function(Re){return K._handleMousedown(Re)})("keydown",function(Re){return K._handleKeydown(Re)}),2&F&&we.BMQ("aria-haspopup",K.menu?"menu":null)("aria-expanded",K.menuOpen)("aria-controls",K.menuOpen?null==K.menu?null:K.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[we.Vt3]})}return Bn})()},9183(vt,Y,i){i.d(Y,{D6:()=>W,LG:()=>m});var h=i(5547),b=i(5802),c=i(7705),C=i(9769),T=i(8649),y=i(8203);const O=["determinateSpinner"];function k(z,se){if(1&z&&(b.qSk(),h.j41(0,"svg",11),h.nrm(1,"circle",12),h.k0s()),2&z){const G=h.XpG();
503h.BMQ("viewBox",G._viewBox()),h.R7$(),h.xc7("stroke-dasharray",G._strokeCircumference(),"px")("stroke-dashoffset",G._strokeCircumference()/2,"px")("stroke-width",G._circleStrokeWidth(),"%"),h.BMQ("r",G._circleRadius())}}const w=new b.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:v})}),v=100;let m=(()=>{class z{_elementRef=(0,b.WQX)(h.aKT);_noopAnimations;get color(){return this._color||this._defaultColor}set color(G){this._color=G}_color;_defaultColor="primary";_determinateCircle;constructor(){const G=(0,b.WQX)(w),le=(0,T._J)(),_=this._elementRef.nativeElement;this._noopAnimations="di-disabled"===le&&!!G&&!G._forceAnimations,this.mode="mat-spinner"===_.nodeName.toLowerCase()?"indeterminate":"determinate",!this._noopAnimations&&"reduced-motion"===le&&_.classList.add("mat-progress-spinner-reduced-motion"),G&&(G.color&&(this.color=this._defaultColor=G.color),G.diameter&&(this.diameter=G.diameter),G.strokeWidth&&(this.strokeWidth=G.strokeWidth))}mode;get value(){return"determinate"===this.mode?this._value:0}set value(G){this._value=Math.max(0,Math.min(100,G||0))}_value=0;get diameter(){return this._diameter}set diameter(G){this._diameter=G||0}_diameter=v;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(G){this._strokeWidth=G||0}_strokeWidth;_circleRadius(){return(this.diameter-10)/2}_viewBox(){const G=2*this._circleRadius()+this.strokeWidth;return`0 0 ${G} ${G}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(le){return new(le||z)};static \u0275cmp=h.VBU({type:z,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(le,_){if(1&le&&h.GBs(O,5),2&le){let ge;h.mGM(ge=h.lsd())&&(_._determinateCircle=ge.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(le,_){2&le&&(h.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===_.mode?_.value:null)("mode",_.mode),h.HbH("mat-"+_.color),h.xc7("width",_.diameter,"px")("height",_.diameter,"px")("--mat-progress-spinner-size",_.diameter+"px")("--mat-progress-spinner-active-indicator-width",_.diameter+"px"),h.AVh("_mat-animation-noopable",_._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===_.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",c.Udg],diameter:[2,"diameter","diameter",c.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",c.Udg]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(le,_){if(1&le&&(h.DNE(0,k,2,8,"ng-template",null,0,h.C5r),h.j41(2,"div",2,1),b.qSk(),h.j41(4,"svg",3),h.nrm(5,"circle",4),h.k0s()(),b.joV(),h.j41(6,"div",5)(7,"div",6)(8,"div",7),h.eu8(9,8),h.k0s(),h.j41(10,"div",9),h.eu8(11,8),h.k0s(),h.j41(12,"div",10),h.eu8(13,8),h.k0s()()()),2&le){const ge=h.sdS(1);h.R7$(4),h.BMQ("viewBox",_._viewBox()),h.R7$(),h.xc7("stroke-dasharray",_._strokeCircumference(),"px")("stroke-dashoffset",_._strokeDashOffset(),"px")("stroke-width",_._circleStrokeWidth(),"%"),h.BMQ("r",_._circleRadius()),h.R7$(4),h.Y8G("ngTemplateOutlet",ge),h.R7$(2),h.Y8G("ngTemplateOutlet",ge),h.R7$(2),h.Y8G("ngTemplateOutlet",ge)}},dependencies:[C.T3],styles:[".mat-mdc-progress-spinner {\n  --mat-progress-spinner-animation-multiplier: 1;\n  display: block;\n  overflow: hidden;\n  line-height: 0;\n  position: relative;\n  direction: ltr;\n  transition: opacity 250ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mat-mdc-progress-spinner circle {\n  stroke-width: var(--mat-progress-spinner-active-indicator-width, 4px);\n}\n.mat-mdc-progress-spinner._mat-animation-noopable, .mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle {\n  transition: none !important;\n}\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container {\n  animation: none !important;\n}\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle {\n  stroke-dasharray: 0 !important;\n}\n@media (forced-colors: active) {\n  .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,\n  .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle {\n    stroke: currentColor;\n    stroke: CanvasText;\n  }\n}\n\n.mat-progress-spinner-reduced-motion {\n  --mat-progress-spinner-animation-multiplier: 1.25;\n}\n\n.mdc-circular-progress__determinate-container,\n.mdc-circular-progress__indeterminate-circle-graphic,\n.mdc-circular-progress__indeterminate-container,\n.mdc-circular-progress__spinner-layer {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n\n.mdc-circular-progress__determinate-container {\n  transform: rotate(-90deg);\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container {\n  opacity: 0;\n}\n\n.mdc-circular-progress__indeterminate-container {\n  font-size: 0;\n  letter-spacing: 0;\n  white-space: nowrap;\n  opacity: 0;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container {\n  opacity: 1;\n  animation: mdc-circular-progress-container-rotate calc(1568.2352941176ms * var(--mat-progress-spinner-animation-multiplier)) linear infinite;\n}\n\n.mdc-circular-progress__determinate-circle-graphic,\n.mdc-circular-progress__indeterminate-circle-graphic {\n  fill: transparent;\n}\n\n.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,\n.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {\n  stroke: var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary));\n}\n@media (forced-colors: active) {\n  .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,\n  .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {\n    stroke: CanvasText;\n  }\n}\n\n.mdc-circular-progress__determinate-circle {\n  transition: stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mdc-circular-progress__gap-patch {\n  position: absolute;\n  top: 0;\n  left: 47.5%;\n  box-sizing: border-box;\n  width: 5%;\n  height: 100%;\n  overflow: hidden;\n}\n\n.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic {\n  left: -900%;\n  width: 2000%;\n  transform: rotate(180deg);\n}\n.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic {\n  width: 200%;\n}\n.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {\n  left: -100%;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic {\n  animation: mdc-circular-progress-left-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {\n  animation: mdc-circular-progress-right-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n\n.mdc-circular-progress__circle-clipper {\n  display: inline-flex;\n  position: relative;\n  width: 50%;\n  height: 100%;\n  overflow: hidden;\n}\n\n.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer {\n  animation: mdc-circular-progress-spinner-layer-rotate calc(5332ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n\n@keyframes mdc-circular-progress-container-rotate {\n  to {\n    transform: rotate(360deg);\n  }\n}\n@keyframes mdc-circular-progress-spinner-layer-rotate {\n  12.5% {\n    transform: rotate(135deg);\n  }\n  25% {\n    transform: rotate(270deg);\n  }\n  37.5% {\n    transform: rotate(405deg);\n  }\n  50% {\n    transform: rotate(540deg);\n  }\n  62.5% {\n    transform: rotate(675deg);\n  }\n  75% {\n    transform: rotate(810deg);\n  }\n  87.5% {\n    transform: rotate(945deg);\n  }\n  100% {\n    transform: rotate(1080deg);\n  }\n}\n@keyframes mdc-circular-progress-left-spin {\n  from {\n    transform: rotate(265deg);\n  }\n  50% {\n    transform: rotate(130deg);\n  }\n  to {\n    transform: rotate(265deg);\n  }\n}\n@keyframes mdc-circular-progress-right-spin {\n  from {\n    transform: rotate(-265deg);\n  }\n  50% {\n    transform: rotate(-130deg);\n  }\n  to {\n    transform: rotate(-265deg);\n  }\n}\n"],encapsulation:2,changeDetection:0})}return z})(),W=(()=>{class z{static \u0275fac=function(le){return new(le||z)};static \u0275mod=h.$C({type:z});static \u0275inj=b.G2t({imports:[y.jI]})}return z})()},8822(vt,Y,i){i.d(Y,{UG:()=>an,_T:()=>Gt});var h=i(5547),b=i(5802),c=i(7705),C=i(3531),T=i(6189),y=i(1535);var v=i(5057),D=i(1413),m=i(7673),u=i(8834),W=i(7421),z=i(6939),se=i(8649),G=i(6977),le=i(8203);function _(at,Ve){if(1&at){const Le=h.RV6();h.j41(0,"div",1)(1,"button",2),h.bIt("click",function(){b.eBV(Le);const Ne=h.XpG();return b.Njj(Ne.action())}),h.EFF(2),h.k0s()()}if(2&at){const Le=h.XpG();h.R7$(2),h.SpI(" ",Le.data.action," ")}}const ge=["label"];function q(at,Ve){}const Te=Math.pow(2,31)-1;class Be{_overlayRef;instance;containerInstance;_afterDismissed=new D.B;_afterOpened=new D.B;_onAction=new D.B;_durationTimeoutId;_dismissedByAction=!1;constructor(Ve,Le){this._overlayRef=Le,this.containerInstance=Ve,Ve._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(Ve){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Ve,Te))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const we=new b.nKC("MatSnackBarData");class X{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"}let ye=(()=>{class at{static \u0275fac=function(He){return new(He||at)};static \u0275dir=h.FsC({type:at,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return at})(),Q=(()=>{class at{static \u0275fac=function(He){return new(He||at)};static \u0275dir=h.FsC({type:at,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return at})(),ae=(()=>{class at{static \u0275fac=function(He){return new(He||at)};static \u0275dir=h.FsC({type:at,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return at})(),H=(()=>{class at{snackBarRef=(0,b.WQX)(Be);data=(0,b.WQX)(we);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(He){return new(He||at)};static \u0275cmp=h.VBU({type:at,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(He,Ne){1&He&&(h.j41(0,"div",0),h.EFF(1),h.k0s(),h.nVh(2,_,3,1,"div",1)),2&He&&(h.R7$(),h.SpI(" ",Ne.data.message,"\n"),h.R7$(),h.vxM(Ne.hasAction?2:-1))},dependencies:[u.$z,ye,Q,ae],styles:[".mat-mdc-simple-snack-bar {\n  display: flex;\n}\n.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label {\n  max-height: 50vh;\n  overflow: auto;\n}\n"],encapsulation:2,changeDetection:0})}return at})();const _e="_mat-snack-bar-enter",We="_mat-snack-bar-exit";let ht=(()=>{class at extends z.lb{_ngZone=(0,b.WQX)(b.SKi);_elementRef=(0,b.WQX)(h.aKT);_changeDetectorRef=(0,b.WQX)(c.gRc);_platform=(0,b.WQX)(W.O);_animationsDisabled=(0,se.Rc)();snackBarConfig=(0,b.WQX)(X);_document=(0,b.WQX)(b.qQL);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=(0,b.WQX)(b.zZn);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;
503_onAnnounce=new D.B;_onExit=new D.B;_onEnter=new D.B;_animationState="void";_live;_label;_role;_liveElementId=(0,b.WQX)(C.g).getId("mat-snack-bar-container-live-");constructor(){super();const Le=this.snackBarConfig;this._live="assertive"!==Le.politeness||Le.announcementMessage?"off"===Le.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(Le){this._assertNotAttached();const He=this._portalOutlet.attachComponentPortal(Le);return this._afterPortalAttached(),He}attachTemplatePortal(Le){this._assertNotAttached();const He=this._portalOutlet.attachTemplatePortal(Le);return this._afterPortalAttached(),He}attachDomPortal=Le=>{this._assertNotAttached();const He=this._portalOutlet.attachDomPortal(Le);return this._afterPortalAttached(),He};onAnimationEnd(Le){Le===We?this._completeExit():Le===_e&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?(0,h.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(_e)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(_e)},200)))}exit(){return this._destroyed?(0,m.of)(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?(0,h.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(We)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(We),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const Le=this._elementRef.nativeElement,He=this.snackBarConfig.panelClass;He&&(Array.isArray(He)?He.forEach(qe=>Le.classList.add(qe)):Le.classList.add(He)),this._exposeToModals();const Ne=this._label.nativeElement,Ae="mdc-snackbar__label";Ne.classList.toggle(Ae,!Ne.querySelector(`.${Ae}`))}_exposeToModals(){const Le=this._liveElementId,He=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Ne=0;Ne<He.length;Ne++){const Ae=He[Ne],qe=Ae.getAttribute("aria-owns");this._trackedModals.add(Ae),qe?-1===qe.indexOf(Le)&&Ae.setAttribute("aria-owns",qe+" "+Le):Ae.setAttribute("aria-owns",Le)}}_clearFromModals(){this._trackedModals.forEach(Le=>{const He=Le.getAttribute("aria-owns");if(He){const Ne=He.replace(this._liveElementId,"").trim();Ne.length>0?Le.setAttribute("aria-owns",Ne):Le.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;const Le=this._elementRef.nativeElement,He=Le.querySelector("[aria-hidden]"),Ne=Le.querySelector("[aria-live]");if(He&&Ne){let Ae=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&He.contains(document.activeElement)&&(Ae=document.activeElement),He.removeAttribute("aria-hidden"),Ne.appendChild(He),Ae?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(He){return new(He||at)};static \u0275cmp=h.VBU({type:at,selectors:[["mat-snack-bar-container"]],viewQuery:function(He,Ne){if(1&He&&h.GBs(z.I3,7)(ge,7),2&He){let Ae;h.mGM(Ae=h.lsd())&&(Ne._portalOutlet=Ae.first),h.mGM(Ae=h.lsd())&&(Ne._label=Ae.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(He,Ne){1&He&&h.bIt("animationend",function(qe){return Ne.onAnimationEnd(qe.animationName)})("animationcancel",function(qe){return Ne.onAnimationEnd(qe.animationName)}),2&He&&h.AVh("mat-snack-bar-container-enter","visible"===Ne._animationState)("mat-snack-bar-container-exit","hidden"===Ne._animationState)("mat-snack-bar-container-animations-enabled",!Ne._animationsDisabled)},features:[h.Vt3],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(He,Ne){1&He&&(h.j41(0,"div",1)(1,"div",2,0)(3,"div",3),h.DNE(4,q,0,0,"ng-template",4),h.k0s(),h.nrm(5,"div"),h.k0s()()),2&He&&(h.R7$(5),h.BMQ("aria-l
503ive",Ne._live)("role",Ne._role)("id",Ne._liveElementId))},dependencies:[z.I3],styles:["@keyframes _mat-snack-bar-enter {\n  from {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n  to {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes _mat-snack-bar-exit {\n  from {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n.mat-mdc-snack-bar-container {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  box-sizing: border-box;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  margin: 8px;\n}\n.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container {\n  width: 100vw;\n}\n\n.mat-snack-bar-container-animations-enabled {\n  opacity: 0;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible {\n  opacity: 1;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter {\n  animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit {\n  animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n\n.mat-mdc-snackbar-surface {\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n  display: flex;\n  align-items: center;\n  justify-content: flex-start;\n  box-sizing: border-box;\n  padding-left: 0;\n  padding-right: 8px;\n}\n[dir=rtl] .mat-mdc-snackbar-surface {\n  padding-right: 0;\n  padding-left: 8px;\n}\n.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {\n  min-width: 344px;\n  max-width: 672px;\n}\n.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface {\n  width: 100%;\n  min-width: 0;\n}\n@media (forced-colors: active) {\n  .mat-mdc-snackbar-surface {\n    outline: solid 1px;\n  }\n}\n.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {\n  color: var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));\n  border-radius: var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));\n  background-color: var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface));\n}\n\n.mdc-snackbar__label {\n  width: 100%;\n  flex-grow: 1;\n  box-sizing: border-box;\n  margin: 0;\n  padding: 14px 8px 14px 16px;\n}\n[dir=rtl] .mdc-snackbar__label {\n  padding-left: 8px;\n  padding-right: 16px;\n}\n.mat-mdc-snack-bar-container .mdc-snackbar__label {\n  font-family: var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));\n  font-size: var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));\n  font-weight: var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));\n  line-height: var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height));\n}\n\n.mat-mdc-snack-bar-actions {\n  display: flex;\n  flex-shrink: 0;\n  align-items: center;\n  box-sizing: border-box;\n}\n\n.mat-mdc-snack-bar-handset,\n.mat-mdc-snack-bar-container,\n.mat-mdc-snack-bar-label {\n  flex: 1 1 auto;\n}\n\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed {\n  color: var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary));\n}\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {\n  --mat-button-text-state-layer-color: currentColor;\n  --mat-button-text-ripple-color: currentColor;\n}\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {\n  opacity: 0.1;\n}\n"],encapsulation:2})}return at})();const Vt=new b.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new X});let an=(()=>{class at{_live=(0,b.WQX)(T.Ai);_injector=(0,b.WQX)(b.zZn);_breakpointObserver=(0,b.WQX)(y.Q);_parentSnackBar=(0,b.WQX)(at,{optional:!0,skipSelf:!0});_defaultConfig=(0,b.WQX)(Vt);_animationsDisabled=(0,se.Rc)();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=H;snackBarContainerComponent=ht;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){const Le=this._parentSnackBar;return Le?Le._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(Le){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=Le:this._snackBarRefAtThisLevel=Le}constructor(){}openFromComponent(Le,He){return this._attach(Le,He)}openFromTemplate(Le,He){return this._attach(Le,He)}open(Le,He="",Ne){const Ae={...this._defaultConfig,...Ne};return Ae.data={message:Le,action:He},Ae.announcementMessage===Le&&(Ae.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,Ae)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(Le,He){const Ae=b.zZn.create({parent:He&&He.viewContainerRef&&He.viewContainerRef.injector||this._injector,providers:[{provide:X,useValue:He}]}),qe=new z.A8(this.snackBarContainerComponent,He.viewContainerRef,Ae),tt=Le.attach(qe);return tt.instance.snackBarConfig=He,tt.instance}_attach(Le,He){const Ne={...new X,...this._defaultConfig,...He},Ae=this._createOverlay(Ne),qe=this._attachSnackBarContainer(Ae,Ne),tt=new Be(qe,Ae);if(Le instanceof h.C4Q){const pt=new z.VA(Le,null,{$implicit:Ne.data,snackBarRef:tt});tt.instance=qe.attachTemplatePortal(pt)}else{const pt=this._createInjector(Ne,tt),Lt=new z.A8(Le,void 0,pt),ot=qe.attachComponentPortal(Lt);tt.instance=ot.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe((0,G.Q)(Ae.detachments())).subscribe(pt=>{Ae.overlayElement.classList.toggle(this.handsetCssClass,pt.matches)}),Ne.announcementMessage&&qe._onAnnounce.subscribe(()=>{this._live.announce(Ne.announcementMessage,Ne.politeness)}),this._animateSnackBar(tt,Ne),this._openedSnackBarRef=tt,this._openedSnackBarRef}_animateSnackBar(Le,He){Le.afterDismissed().subscribe(()=>{this._openedSnackBarRef==Le&&(this._openedSnackBarRef=null),He.announcementMessage&&this._live.clear()}),He.duration&&He.duration>0&&Le.afterOpened().subscribe(()=>Le._dismissAfter(He.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{Le.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):Le.containerInstance.enter()}_createOverlay(Le){const He=new v.rR;He.direction=Le.direction;const Ne=(0,v.uA)(this._injector),Ae="rtl"===Le.direction,qe="left"
503===Le.horizontalPosition||"start"===Le.horizontalPosition&&!Ae||"end"===Le.horizontalPosition&&Ae,tt=!qe&&"center"!==Le.horizontalPosition;return qe?Ne.left("0"):tt?Ne.right("0"):Ne.centerHorizontally(),"top"===Le.verticalPosition?Ne.top("0"):Ne.bottom("0"),He.positionStrategy=Ne,He.disableAnimations=this._animationsDisabled,(0,v.Y$)(this._injector,He)}_createInjector(Le,He){return b.zZn.create({parent:Le&&Le.viewContainerRef&&Le.viewContainerRef.injector||this._injector,providers:[{provide:Be,useValue:He},{provide:we,useValue:Le.data}]})}static \u0275fac=function(He){return new(He||at)};static \u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})(),Gt=(()=>{class at{static \u0275fac=function(He){return new(He||at)};static \u0275mod=h.$C({type:at});static \u0275inj=b.G2t({providers:[an],imports:[v.z_,z.jc,u.Hl,H,le.jI]})}return at})()},4823(vt,Y,i){i.d(Y,{uc:()=>O});var h=i(5547),b=i(5802),c=i(6189),C=i(8203),T=i(5057),y=i(5478);let O=(()=>{class k{static \u0275fac=function(D){return new(D||k)};static \u0275mod=h.$C({type:k});static \u0275inj=b.G2t({imports:[c.Pd,T.z_,C.jI,y.Gj]})}return k})()},345(vt,Y,i){i.d(Y,{W8:()=>ye,hE:()=>ae,up:()=>qe});var Be=i(5802),we=i(6494),X=i(5547);let ye=(()=>{class Ut{_doc;_dom;constructor(zt){this._doc=zt,this._dom=(0,we.rb)()}addTag(zt,Oe=!1){return zt?this._getOrCreateElement(zt,Oe):null}addTags(zt,Oe=!1){return zt?zt.reduce((Mt,o)=>(o&&Mt.push(this._getOrCreateElement(o,Oe)),Mt),[]):[]}getTag(zt){return zt&&this._doc.querySelector(`meta[${zt}]`)||null}getTags(zt){if(!zt)return[];const Oe=this._doc.querySelectorAll(`meta[${zt}]`);return Oe?[].slice.call(Oe):[]}updateTag(zt,Oe){if(!zt)return null;Oe=Oe||this._parseSelector(zt);const Mt=this.getTag(Oe);return Mt?this._setMetaElementAttributes(zt,Mt):this._getOrCreateElement(zt,!0)}removeTag(zt){this.removeTagElement(this.getTag(zt))}removeTagElement(zt){zt&&this._dom.remove(zt)}_getOrCreateElement(zt,Oe=!1){if(!Oe){const it=this._parseSelector(zt),nn=this.getTags(it).filter(tn=>this._containsAttributes(zt,tn))[0];if(void 0!==nn)return nn}const Mt=this._dom.createElement("meta");return this._setMetaElementAttributes(zt,Mt),this._doc.getElementsByTagName("head")[0].appendChild(Mt),Mt}_setMetaElementAttributes(zt,Oe){return Object.keys(zt).forEach(Mt=>Oe.setAttribute(this._getMetaKeyMap(Mt),zt[Mt])),Oe}_parseSelector(zt){const Oe=zt.name?"name":"property";return`${Oe}="${zt[Oe]}"`}_containsAttributes(zt,Oe){return Object.keys(zt).every(Mt=>Oe.getAttribute(this._getMetaKeyMap(Mt))===zt[Mt])}_getMetaKeyMap(zt){return Q[zt]||zt}static \u0275fac=function(Oe){return new(Oe||Ut)(Be.KVO(Be.qQL))};static \u0275prov=Be.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})();const Q={httpEquiv:"http-equiv"};let ae=(()=>{class Ut{_doc;constructor(zt){this._doc=zt}getTitle(){return this._doc.title}setTitle(zt){this._doc.title=zt||""}static \u0275fac=function(Oe){return new(Oe||Ut)(Be.KVO(Be.qQL))};static \u0275prov=Be.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})(),qe=(()=>{class Ut{static \u0275fac=function(Oe){return new(Oe||Ut)};static \u0275prov=Be.jDH({token:Ut,factory:function(Oe){let Mt=null;return Mt=Oe?new(Oe||Ut):Be.KVO(tt),Mt},providedIn:"root"})}return Ut})(),tt=(()=>{class Ut extends qe{_doc;constructor(zt){super(),this._doc=zt}sanitize(zt,Oe){if(null==Oe)return null;switch(zt){case X.WPN.NONE:return Oe;case X.WPN.HTML:return(0,X.iWE)(Oe,"HTML")?(0,X.aCM)(Oe):(0,X.wr$)(this._doc,String(Oe)).toString();case X.WPN.STYLE:return(0,X.iWE)(Oe,"Style")?(0,X.aCM)(Oe):Oe;case X.WPN.SCRIPT:if((0,X.iWE)(Oe,"Script"))return(0,X.aCM)(Oe);throw new Be.buA(5200,!1);case X.WPN.URL:return(0,X.iWE)(Oe,"URL")?(0,X.aCM)(Oe):(0,X.gil)(String(Oe));case X.WPN.RESOURCE_URL:if((0,X.iWE)(Oe,"ResourceURL"))return(0,X.aCM)(Oe);throw new Be.buA(5201,!1);default:throw new Be.buA(5202,!1)}}bypassSecurityTrustHtml(zt){return(0,X.PYC)(zt)}bypassSecurityTrustStyle(zt){return(0,X.rAh)(zt)}bypassSecurityTrustScript(zt){return(0,X.p2i)(zt)}bypassSecurityTrustUrl(zt){return(0,X.B1s)(zt)}bypassSecurityTrustResourceUrl(zt){return(0,X.RPW)(zt)}static \u0275fac=function(Oe){return new(Oe||Ut)(Be.KVO(Be.qQL))};static \u0275prov=Be.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})()},9882(vt,Y,i){i.d(Y,{$m:()=>jt,D$:()=>_s,E:()=>Ut,Ix:()=>Es,J2:()=>Da,J_:()=>Ai,OY:()=>Ar,Sd:()=>_r,Xw:()=>pr,Z:()=>Sn,Zp:()=>xi,bw:()=>zi,c1:()=>pi,cS:()=>Qi,el:()=>xn,fN:()=>Cs,lW:()=>qr,mo:()=>dr,n3:()=>Jr,nU:()=>en,nX:()=>Bt,tD:()=>ri,tE:()=>Yt,wF:()=>or,wO:()=>
503Ht,wU:()=>rn,we:()=>Wi});var C=i(4523),T=i(5984),y=i(5547),O=i(5802),k=i(7705),w=i(2271),v=i(1985),D=i(1413),m=i(4412),u=i(8359),W=i(1203),z=i(4402),se=i(9350),G=i(4572),le=i(8793),_=i(9030),ge=i(2806),q=i(7673),Te=i(8810),Be=i(983),we=i(9437),X=i(274),ye=i(5964),Q=i(980),ae=i(1594),H=i(6354),_e=i(1397),We=i(9172),ht=i(5558),Vt=i(6697),an=i(5109),Et=i(6977),Gt=i(8141),at=i(345);const Ve="primary",Le=Symbol("RouteTitle");class He{params;constructor(U){this.params=U||{}}has(U){return Object.prototype.hasOwnProperty.call(this.params,U)}get(U){if(this.has(U)){const N=this.params[U];return Array.isArray(N)?N[0]:N}return null}getAll(U){if(this.has(U)){const N=this.params[U];return Array.isArray(N)?N:[N]}return[]}get keys(){return Object.keys(this.params)}}function Ne(S){return new He(S)}function Ae(S,U,N){for(let V=0;V<S.length;V++){const he=S[V],Je=U[V];if(":"===he[0])N[he.substring(1)]=Je;else if(he!==Je.path)return!1}return!0}function qe(S,U,N){const V=N.path.split("/"),he=V.indexOf("**");if(-1===he){if(V.length>S.length||"full"===N.pathMatch&&(U.hasChildren()||V.length<S.length))return null;const Cn={},Fn=S.slice(0,V.length);return Ae(V,Fn,Cn)?{consumed:Fn,posParams:Cn}:null}if(he!==V.lastIndexOf("**"))return null;const Je=V.slice(0,he),Ot=V.slice(he+1);if(Je.length+Ot.length>S.length||"full"===N.pathMatch&&U.hasChildren()&&"**"!==N.path)return null;const dt={};return Ae(Je,S.slice(0,Je.length),dt)&&Ae(Ot,S.slice(S.length-Ot.length),dt)?{consumed:S,posParams:dt}:null}function tt(S){return new Promise((U,N)=>{S.pipe((0,ae.$)()).subscribe({next:V=>U(V),error:V=>N(V)})})}function Lt(S,U){const N=S?ot(S):void 0,V=U?ot(U):void 0;if(!N||!V||N.length!=V.length)return!1;let he;for(let Je=0;Je<N.length;Je++)if(he=N[Je],!At(S[he],U[he]))return!1;return!0}function ot(S){return[...Object.keys(S),...Object.getOwnPropertySymbols(S)]}function At(S,U){if(Array.isArray(S)&&Array.isArray(U)){if(S.length!==U.length)return!1;const N=[...S].sort(),V=[...U].sort();return N.every((he,Je)=>V[Je]===he)}return S===U}function gt(S){return(0,z.A)(S)?S:(0,y.yLl)(S)?(0,ge.H)(Promise.resolve(S)):(0,q.of)(S)}function pe(S){return(0,z.A)(S)?tt(S):Promise.resolve(S)}
503const lt={exact:function Mt(S,U,N){if(!ir(S.segments,U.segments)||!tn(S.segments,U.segments,N)||S.numberOfChildren!==U.numberOfChildren)return!1;for(const V in U.children)if(!S.children[V]||!Mt(S.children[V],U.children[V],N))return!1;return!0},subset:it},Rt={exact:function Oe(S,U){return Lt(S,U)},subset:function o(S,U){return Object.keys(U).length<=Object.keys(S).length&&Object.keys(U).every(N=>At(S[N],U[N]))},ignored:()=>!0},Yt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ut={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function jt(S,U,N){const V=S instanceof xn?S:U.parseUrl(S);return(0,w.EW)(()=>zt(U.lastSuccessfulNavigation()?.finalUrl??new xn,V,{...Ut,...N}))}function zt(S,U,N){return lt[N.paths](S.root,U.root,N.matrixParams)&&Rt[N.queryParams](S.queryParams,U.queryParams)&&!("exact"===N.fragment&&S.fragment!==U.fragment)}function it(S,U,N){return nn(S,U,U.segments,N)}function nn(S,U,N,V){if(S.segments.length>N.length){const he=S.segments.slice(0,N.length);return!(!ir(he,N)||U.hasChildren()||!tn(he,N,V))}if(S.segments.length===N.length){if(!ir(S.segments,N)||!tn(S.segments,N,V))return!1;for(const he in U.children)if(!S.children[he]||!it(S.children[he],U.children[he],V))return!1;return!0}{const he=N.slice(0,S.segments.length),Je=N.slice(S.segments.length);return!!(ir(S.segments,he)&&tn(S.segments,he,V)&&S.children[Ve])&&nn(S.children[Ve],U,Je,V)}}function tn(S,U,N){return U.every((V,he)=>Rt[N](S[he].parameters,V.parameters))}class xn{root;queryParams;fragment;_queryParamMap;constructor(U=new bn([],{}),N={},V=null){this.root=U,this.queryParams=N,this.fragment=V}get queryParamMap(){return this._queryParamMap??=Ne(this.queryParams),this._queryParamMap}toString(){return Bn.serialize(this)}}class bn{segments;children;parent=null;constructor(U,N){this.segments=U,this.children=N,Object.values(N).forEach(V=>V.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xe(this)}}class pr{path;parameters;_parameterMap;constructor(U,N){this.path=U,this.parameters=N}get parameterMap(){return this._parameterMap??=Ne(this.parameters),this._parameterMap}toString(){return wt(this)}}function ir(S,U){return S.length===U.length&&S.every((N,V)=>N.path===U[V].path)}let _r=(()=>{class S{static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:()=>new en,providedIn:"root"})}return S})();class en{parse(U){const N=new Yn(U);return new xn(N.parseRootSegment(),N.parseQueryParams(),N.parseFragment())}serialize(U){const N=`/${$(U.root,!0)}`,V=function Se(S){const U=Object.entries(S).map(([N,V])=>Array.isArray(V)?V.map(he=>`${K(N)}=${K(he)}`).join("&"):`${K(N)}=${K(V)}`).filter(N=>N);return U.length?`?${U.join("&")}`:""}(U.queryParams);return`${N}${V}${"string"==typeof U.fragment?`#${function Z(S){return encodeURI(S)}(U.fragment)}`:""}`}}const Bn=new en;function Xe(S){return S.segments.map(U=>wt(U)).join("/")}function $(S,U){if(!S.hasChildren())return Xe(S);if(U){const N=S.children[Ve]?$(S.children[Ve],!1):"",V=[];return Object.entries(S.children).forEach(([he,Je])=>{he!==Ve&&V.push(`${he}:${$(Je,!1)}`)}),V.length>0?`${N}(${V.join("//")})`:N}{const N=function Kr(S,U){let N=[];return Object.entries(S.children).forEach(([V,he])=>{V===Ve&&(N=N.concat(U(he,V)))}),Object.entries(S.children).forEach(([V,he])=>{V!==Ve&&(N=N.concat(U(he,V)))}),N}(S,(V,he)=>he===Ve?[$(S.children[Ve],!1)]:[`${he}:${$(V,!1)}`]);return 1===Object.keys(S.children).length&&null!=S.children[Ve]?`${Xe(S)}/${N[0]}`:`${Xe(S)}/(${N.join("//")})`}}function F(S){return encodeURIComponent(S).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function K(S){return F(S).replace(/%3B/gi,";")}function Re(S){return F(S).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ct(S){return decodeURIComponent(S)}function _t(S){return ct(S.replace(/\+/g,"%20"))}function wt(S){return`${Re(S.path)}${function ee(S){return Object.entries(S).map(([U,N])=>`;${Re(U)}=${Re(N)}`).join("")}(S.parameters)}`}const Pt=/^[^\/()?;#]+/;function St(S){const U=S.match(Pt);return U?U[0]:""}const Xt=/^[^\/()?;=#]+/,vn=/^[^=?&#]+/,Zn=/^[^&#]+/;class Yn{url;remaining;constructor(U){this.url=U,this.remaining=U}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bn([],{}):new bn([],this.parseChildren())}parseQueryParams(){const U={};if(this.consumeOptional("?"))do{this.parseQueryParam(U)}while(this.consumeOptional("&"));return U}
503parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(U=0){if(U>50)throw new O.buA(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const N=[];for(this.peekStartsWith("(")||N.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),N.push(this.parseSegment());let V={};this.peekStartsWith("/(")&&(this.capture("/"),V=this.parseParens(!0,U));let he={};return this.peekStartsWith("(")&&(he=this.parseParens(!1,U)),(N.length>0||Object.keys(V).length>0)&&(he[Ve]=new bn(N,V)),he}parseSegment(){const U=St(this.remaining);if(""===U&&this.peekStartsWith(";"))throw new O.buA(4009,!1);return this.capture(U),new pr(ct(U),this.parseMatrixParams())}parseMatrixParams(){const U={};for(;this.consumeOptional(";");)this.parseParam(U);return U}parseParam(U){const N=function Jt(S){const U=S.match(Xt);return U?U[0]:""}(this.remaining);if(!N)return;this.capture(N);let V="";if(this.consumeOptional("=")){const he=St(this.remaining);he&&(V=he,this.capture(V))}U[ct(N)]=ct(V)}parseQueryParam(U){const N=function jn(S){const U=S.match(vn);return U?U[0]:""}(this.remaining);if(!N)return;this.capture(N);let V="";if(this.consumeOptional("=")){const Ot=function Tn(S){const U=S.match(Zn);return U?U[0]:""}(this.remaining);Ot&&(V=Ot,this.capture(V))}const he=_t(N),Je=_t(V);if(U.hasOwnProperty(he)){let Ot=U[he];Array.isArray(Ot)||(Ot=[Ot],U[he]=Ot),Ot.push(Je)}else U[he]=Je}parseParens(U,N){const V={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const he=St(this.remaining),Je=this.remaining[he.length];if("/"!==Je&&")"!==Je&&";"!==Je)throw new O.buA(4010,!1);let Ot;he.indexOf(":")>-1?(Ot=he.slice(0,he.indexOf(":")),this.capture(Ot),this.capture(":")):U&&(Ot=Ve);const dt=this.parseChildren(N+1);V[Ot??Ve]=1===Object.keys(dt).length&&dt[Ve]?dt[Ve]:new bn([],dt),this.consumeOptional("//")}return V}peekStartsWith(U){return this.remaining.startsWith(U)}consumeOptional(U){return!!this.peekStartsWith(U)&&(this.remaining=this.remaining.substring(U.length),!0)}capture(U){if(!this.consumeOptional(U))throw new O.buA(4011,!1)}}function $e(S){return S.segments.length>0?new bn([],{[Ve]:S}):S}function Ct(S){const U={};for(const[V,he]of Object.entries(S.children)){const Je=Ct(he);if(V===Ve&&0===Je.segments.length&&Je.hasChildren())for(const[Ot,dt]of Object.entries(Je.children))U[Ot]=dt;else(Je.segments.length>0||Je.hasChildren())&&(U[V]=Je)}return function Ze(S){if(1===S.numberOfChildren&&S.children[Ve]){const U=S.children[Ve];return new bn(S.segments.concat(U.segments),U.children)}return S}(new bn(S.segments,U))}function Ht(S){return S instanceof xn}function mt(S){let U;const he=$e(function N(Je){const Ot={};for(const Cn of Je.children){const Fn=N(Cn);Ot[Cn.outlet]=Fn}const dt=new bn(Je.url,Ot);return Je===S&&(U=dt),dt}(S.root));return U??he}function Ue(S,U,N,V,he){let Je=S;for(;Je.parent;)Je=Je.parent;if(0===U.length)return cn(Je,Je,Je,N,V,he);const Ot=function xt(S){if("string"==typeof S[0]&&1===S.length&&"/"===S[0])return new On(!0,0,S);let U=0,N=!1;const V=S.reduce((he,Je,Ot)=>{if("object"==typeof Je&&null!=Je){if(Je.outlets){const dt={};return Object.entries(Je.outlets).forEach(([Cn,Fn])=>{dt[Cn]="string"==typeof Fn?Fn.split("/"):Fn}),[...he,{outlets:dt}]}if(Je.segmentPath)return[...he,Je.segmentPath]}return"string"!=typeof Je?[...he,Je]:0===Ot?(Je.split("/").forEach((dt,Cn)=>{0==Cn&&"."===dt||(0==Cn&&""===dt?N=!0:".."===dt?U++:""!=dt&&he.push(dt))}),he):[...he,Je]},[]);return new On(N,U,V)}(U);if(Ot.toRoot())return cn(Je,Je,new bn([],{}),N,V,he);const dt=function Wt(S,U,N){if(S.isAbsolute)return new sn(U,!0,0);if(!N)return new sn(U,!1,NaN);if(null===N.parent)return new sn(N,!0,0);const V=ue(S.commands[0])?0:1;return function kn(S,U,N){let V=S,he=U,Je=N;for(;Je>he;){if(Je-=he,V=V.parent,!V)throw new O.buA(4005,!1);he=V.segments.length}return new sn(V,!1,he-Je)}(N,N.segments.length-1+V,S.numberOfDoubleDots)}(Ot,Je,S),Cn=dt.processChildren?Qe(dt.segmentGroup,dt.index,Ot.commands):mi(dt.segmentGroup,dt.index,Ot.commands);return cn(Je,dt.segmentGroup,Cn,N,V,he)}function ue(S){return"object"==typeof S&&null!=S&&!S.outlets&&!S.segmentPath}function ft(S){return"object"==typeof S&&null!=S&&S.outlets}function Kt(S,U,N){S||="\u0275";const V=new xn;return V.queryParams={[S]:U}
503,N.parse(N.serialize(V)).queryParams[S]}function cn(S,U,N,V,he,Je){const Ot={};for(const[Fn,yr]of Object.entries(V??{}))Ot[Fn]=Array.isArray(yr)?yr.map(kr=>Kt(Fn,kr,Je)):Kt(Fn,yr,Je);let dt;dt=S===U?N:Ge(S,U,N);const Cn=$e(Ct(dt));return new xn(Cn,Ot,he)}function Ge(S,U,N){const V={};return Object.entries(S.children).forEach(([he,Je])=>{V[he]=Je===U?N:Ge(Je,U,N)}),new bn(S.segments,V)}class On{isAbsolute;numberOfDoubleDots;commands;constructor(U,N,V){if(this.isAbsolute=U,this.numberOfDoubleDots=N,this.commands=V,U&&V.length>0&&ue(V[0]))throw new O.buA(4003,!1);const he=V.find(ft);if(he&&he!==function M(S){return S.length>0?S[S.length-1]:null}(V))throw new O.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class sn{segmentGroup;processChildren;index;constructor(U,N,V){this.segmentGroup=U,this.processChildren=N,this.index=V}}function mi(S,U,N){if(S??=new bn([],{}),0===S.segments.length&&S.hasChildren())return Qe(S,U,N);const V=function bt(S,U,N){let V=0,he=U;const Je={match:!1,pathIndex:0,commandIndex:0};for(;he<S.segments.length;){if(V>=N.length)return Je;const Ot=S.segments[he],dt=N[V];if(ft(dt))break;const Cn=`${dt}`,Fn=V<N.length-1?N[V+1]:null;if(he>0&&void 0===Cn)break;if(Cn&&Fn&&"object"==typeof Fn&&void 0===Fn.outlets){if(!Pn(Cn,Fn,Ot))return Je;V+=2}else{if(!Pn(Cn,{},Ot))return Je;V++}he++}return{match:!0,pathIndex:he,commandIndex:V}}(S,U,N),he=N.slice(V.commandIndex);if(V.match&&V.pathIndex<S.segments.length){const Je=new bn(S.segments.slice(0,V.pathIndex),{});return Je.children[Ve]=new bn(S.segments.slice(V.pathIndex),S.children),Qe(Je,0,he)}return V.match&&0===he.length?new bn(S.segments,{}):V.match&&!S.hasChildren()?yt(S,U,N):V.match?Qe(S,0,he):yt(S,U,N)}function Qe(S,U,N){if(0===N.length)return new bn(S.segments,{});{const V=function Fr(S){return ft(S[0])?S[0].outlets:{[Ve]:S}}(N),he={};if(Object.keys(V).some(Je=>Je!==Ve)&&S.children[Ve]&&1===S.numberOfChildren&&0===S.children[Ve].segments.length){const Je=Qe(S.children[Ve],U,N);return new bn(S.segments,Je.children)}return Object.entries(V).forEach(([Je,Ot])=>{"string"==typeof Ot&&(Ot=[Ot]),null!==Ot&&(he[Je]=mi(S.children[Je],U,Ot))}),Object.entries(S.children).forEach(([Je,Ot])=>{void 0===V[Je]&&(he[Je]=Ot)}),new bn(S.segments,he)}}function yt(S,U,N){const V=S.segments.slice(0,U);let he=0;for(;he<N.length;){const Je=N[he];if(ft(Je)){const Cn=un(Je.outlets);return new bn(V,Cn)}if(0===he&&ue(N[0])){V.push(new pr(S.segments[U].path,_n(N[0]))),he++;continue}const Ot=ft(Je)?Je.outlets[Ve]:`${Je}`,dt=he<N.length-1?N[he+1]:null;Ot&&dt&&ue(dt)?(V.push(new pr(Ot,_n(dt))),he+=2):(V.push(new pr(Ot,{})),he++)}return new bn(V,{})}function un(S){const U={};return Object.entries(S).forEach(([N,V])=>{"string"==typeof V&&(V=[V]),null!==V&&(U[N]=yt(new bn([],{}),0,V))}),U}function _n(S){const U={};return Object.entries(S).forEach(([N,V])=>U[N]=`${V}`),U}function Pn(S,U,N){return S==N.path&&Lt(U,N.parameters)}const rn="imperative";var In=function(S){return S[S.NavigationStart=0]="NavigationStart",S[S.NavigationEnd=1]="NavigationEnd",S[S.NavigationCancel=2]="NavigationCancel",S[S.NavigationError=3]="NavigationError",S[S.RoutesRecognized=4]="RoutesRecognized",S[S.ResolveStart=5]="ResolveStart",S[S.ResolveEnd=6]="ResolveEnd",S[S.GuardsCheckStart=7]="GuardsCheckStart",S[S.GuardsCheckEnd=8]="GuardsCheckEnd",S[S.RouteConfigLoadStart=9]="RouteConfigLoadStart",S[S.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",S[S.ChildActivationStart=11]="ChildActivationStart",S[S.ChildActivationEnd=12]="ChildActivationEnd",S[S.ActivationStart=13]="ActivationStart",S[S.ActivationEnd=14]="ActivationEnd",S[S.Scroll=15]="Scroll",S[S.NavigationSkipped=16]="NavigationSkipped",S}(In||{});class Zt{id;url;constructor(U,N){this.id=U,this.url=N}}class Sn extends Zt{type=In.NavigationStart;navigationTrigger;restoredState;constructor(U,N,V="imperative",he=null){super(U,N),this.navigationTrigger=V,this.restoredState=he}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class or extends Zt{urlAfterRedirects;type=In.NavigationEnd;constructor(U,N,V){super(U,N),this.urlAfterRedirects=V}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Wn=function(S){return S[S.Redirect=0]="Redirect",S[S.SupersededByNewNavigation=1]="SupersededByNewNavigation",S[S.NoDataFromRe
503solver=2]="NoDataFromResolver",S[S.GuardRejected=3]="GuardRejected",S[S.Aborted=4]="Aborted",S}(Wn||{}),dr=function(S){return S[S.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",S[S.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",S}(dr||{});class Hr extends Zt{reason;code;type=In.NavigationCancel;constructor(U,N,V,he){super(U,N),this.reason=V,this.code=he}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class qr extends Zt{reason;code;type=In.NavigationSkipped;constructor(U,N,V,he){super(U,N),this.reason=V,this.code=he}}class Cr extends Zt{error;target;type=In.NavigationError;constructor(U,N,V,he){super(U,N),this.error=V,this.target=he}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ir extends Zt{urlAfterRedirects;state;type=In.RoutesRecognized;constructor(U,N,V,he){super(U,N),this.urlAfterRedirects=V,this.state=he}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xr extends Zt{urlAfterRedirects;state;type=In.GuardsCheckStart;constructor(U,N,V,he){super(U,N),this.urlAfterRedirects=V,this.state=he}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zr extends Zt{urlAfterRedirects;state;shouldActivate;type=In.GuardsCheckEnd;constructor(U,N,V,he,Je){super(U,N),this.urlAfterRedirects=V,this.state=he,this.shouldActivate=Je}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class hr extends Zt{urlAfterRedirects;state;type=In.ResolveStart;constructor(U,N,V,he){super(U,N),this.urlAfterRedirects=V,this.state=he}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Si extends Zt{urlAfterRedirects;state;type=In.ResolveEnd;constructor(U,N,V,he){super(U,N),this.urlAfterRedirects=V,this.state=he}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ei{route;type=In.RouteConfigLoadStart;constructor(U){this.route=U}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Dt{route;type=In.RouteConfigLoadEnd;constructor(U){this.route=U}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class nt{snapshot;type=In.ChildActivationStart;constructor(U){this.snapshot=U}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pn{snapshot;type=In.ChildActivationEnd;constructor(U){this.snapshot=U}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class An{snapshot;type=In.ActivationStart;constructor(U){this.snapshot=U}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tr{snapshot;type=In.ActivationEnd;constructor(U){this.snapshot=U}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ar{routerEvent;position;anchor;scrollBehavior;type=In.Scroll;constructor(U,N,V,he){this.routerEvent=U,this.position=N,this.anchor=V,this.scrollBehavior=he}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Yr{}class ci{}class Wr{url;navigationBehaviorOptions;constructor(U,N){this.url=U,this.navigationBehaviorOptions=N}}class Vi{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(U){this.rootInjector=U,this.children=new xi(this.rootInjector)}}let xi=(()=>{class S{rootInjector;contexts=new Map;constructor(N){this.rootInjector=N}onChildOutletCreated(N,V){const he=this.getOrCreateContext(N);he.outlet=V,this.contexts.set(N,he)}onChildOutletDestroyed(N){const V=this.getContext(N);V&&(V.outlet=null,V.attachRef=null)}onOutletDeactivated(){const N=this.contexts;return this.contexts=new Map,N}onOutletReAttached(N){this.contexts=N}getOrCreateContext(N){let V=this.getContext(N);return V||(V=new Vi(this.rootInjector),this.contexts.set(N,V)),V}getContext(N){return this.contexts.get(N)||null}static \u0275fac=function(V){return new(V||S)(O.KVO(O.uvJ))};static \u0275prov=O.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();class Mi{_root;constructor(U){this._root=U}get root(){return this._root.value}
503parent(U){const N=this.pathFromRoot(U);return N.length>1?N[N.length-2]:null}children(U){const N=sr(U,this._root);return N?N.children.map(V=>V.value):[]}firstChild(U){const N=sr(U,this._root);return N&&N.children.length>0?N.children[0].value:null}siblings(U){const N=Qn(U,this._root);return N.length<2?[]:N[N.length-2].children.map(he=>he.value).filter(he=>he!==U)}pathFromRoot(U){return Qn(U,this._root).map(N=>N.value)}}function sr(S,U){if(S===U.value)return U;for(const N of U.children){const V=sr(S,N);if(V)return V}return null}function Qn(S,U){if(S===U.value)return[U];for(const N of U.children){const V=Qn(S,N);if(V.length)return V.unshift(U),V}return[]}class Di{value;children;constructor(U,N){this.value=U,this.children=N}toString(){return`TreeNode(${this.value})`}}function de(S){const U={};return S&&S.children.forEach(N=>U[N.value.outlet]=N),U}class et extends Mi{snapshot;constructor(U,N){super(U),this.snapshot=N,Gr(this,U)}toString(){return this.snapshot.toString()}}function Ie(S,U){const N=function Ke(S,U){const Ot=new wn([],{},{},"",{},Ve,S,null,{},U);return new ar("",new Di(Ot,[]))}(S,U),V=new m.t([new pr("",{})]),he=new m.t({}),Je=new m.t({}),Ot=new m.t({}),dt=new m.t(""),Cn=new Bt(V,he,Ot,dt,Je,Ve,S,N.root);return Cn.snapshot=N.root,new et(new Di(Cn,[]),N)}class Bt{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(U,N,V,he,Je,Ot,dt,Cn){this.urlSubject=U,this.paramsSubject=N,this.queryParamsSubject=V,this.fragmentSubject=he,this.dataSubject=Je,this.outlet=Ot,this.component=dt,this._futureSnapshot=Cn,this.title=this.dataSubject?.pipe((0,H.T)(Fn=>Fn[Le]))??(0,q.of)(void 0),this.url=U,this.params=N,this.queryParams=V,this.fragment=he,this.data=Je}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,H.T)(U=>Ne(U))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,H.T)(U=>Ne(U))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function En(S,U,N="emptyOnly"){let V;const{routeConfig:he}=S;return V=null===U||"always"!==N&&""!==he?.path&&(U.component||U.routeConfig?.loadComponent)?{params:{...S.params},data:{...S.data},resolve:{...S.data,...S._resolvedData??{}}}:{params:{...U.params,...S.params},data:{...U.data,...S.data},resolve:{...S.data,...U.data,...he?.data,...S._resolvedData}},he&&fi(he)&&(V.resolve[Le]=he.title),V}class wn{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Le]}constructor(U,N,V,he,Je,Ot,dt,Cn,Fn,yr){this.url=U,this.params=N,this.queryParams=V,this.fragment=he,this.data=Je,this.outlet=Ot,this.component=dt,this.routeConfig=Cn,this._resolve=Fn,this._environmentInjector=yr}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??=Ne(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ne(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(V=>V.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ar extends Mi{url;constructor(U,N){super(N),this.url=U,Gr(this,N)}toString(){return $r(this._root)}}function Gr(S,U){U.value._routerState=S,U.children.forEach(N=>Gr(S,N))}function $r(S){const U=S.children.length>0?` { ${S.children.map($r).join(", ")} } `:"";return`${S.value}${U}`}function ei(S){if(S.snapshot){const U=S.snapshot,N=S._futureSnapshot;S.snapshot=N,Lt(U.queryParams,N.queryParams)||S.queryParamsSubject.next(N.queryParams),U.fragment!==N.fragment&&S.fragmentSubject.next(N.fragment),Lt(U.params,N.params)||S.paramsSubject.next(N.params),function pt(S,U){if(S.length!==U.length)return!1;for(let N=0;N<S.length;++N)if(!Lt(S[N],U[N]))return!1;return!0}(U.url,N.url)||S.urlSubject.next(N.url),Lt(U.data,N.data)||S.dataSubject.next(N.data)}else S.snapshot=S._futureSnapshot,S.dataSubject.next(S._futureSnapshot.data)}function br(S,U){const N=Lt(S.params,U.params)&&function Tr(S,U){return ir(S,U)&&S.every((N,V)=>Lt(N.parameters,U[V].parameters))}(S.url,U.url);return N&&!(!S.parent!=!U.parent)&&(!S.parent||br(S.parent,U.parent))}function fi(S){return"string"==typeof S.title||null===S.title}const ni=new O.nKC("");let Jr=(()=>{class S{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ve;activateEvents=new O.bkB;deactivateEvents=new O.bkB;attachEvents=new O.bkB;detachEvents=new O.bkB;routerOutletData=(0,k.hFB)();parentContexts=(0,O.WQX)(xi);location=(0,O.WQX)(y.c1b);changeDetector=(0,O.WQX)(k.gRc);inputBinder=(0,O.WQX)(pi,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(N){if(N.name){const{firstChange:V,previousValue:he}=N.name;if(V)return;this.isTrackedInParentContexts(he)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(he)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(N){return this.parentContexts.getContext(N)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const N=this.parentContexts.getContext(this.name);N?.route&&(N.attachRef?this.attach(N.attachRef,N.route):this.activateWith(N.route,N.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new O.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new O.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new O.buA(4012,!1);this.location.detach();const N=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(N.instance),N}attach(N,V){this.activated=N,this._activatedRoute=V,this.location.insert(N.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(N.instance)}deactivate(){if(this.activated){const N=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(N)}}activateWith(N,V){if(this.isActivated)throw new O.buA(4013,!1);this._activatedRoute=N;const he=this.location,Ot=N.snapshot.component,dt=this.parentContexts.getOrCreateContext(this.name).children,Cn=new Li(N,dt,he.injector,this.routerOutletData);this.activated=he.createComponent(Ot,{index:he.length,injector:Cn,environmentInjector:V}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(V){return new(V||S)};static \u0275dir=y.FsC({type:S,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[y.OA$]})}return S})();class Li{route;childContexts;parent;outletData;constructor(U,N,V,he){this.route=U,this.childContexts=N,this.parent=V,this.outletData=he}get(U,N){return U===Bt?this.route:U===xi?this.childContexts:U===ni?this.outletData:this.parent.get(U,N)}}const pi=new O.nKC("");let ri=(()=>{class S{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(N){this.unsubscribeFromRouteData(N),this.subscribeToRouteData(N)}unsubscribeFromRouteData(N){this.outletDataSubscriptions.get(N)?.unsubscribe(),this.outletDataSubscriptions.delete(N)}subscribeToRouteData(N){const{activatedRoute:V}=N,he=(0,G.z)([V.queryParams,V.params,V.data]).pipe((0,ht.n)(([Je,Ot,dt],Cn)=>(dt={...Je,...Ot,...dt}
503,0===Cn?(0,q.of)(dt):Promise.resolve(dt)))).subscribe(Je=>{if(!N.isActivated||!N.activatedComponentRef||N.activatedRoute!==V||null===V.component)return void this.unsubscribeFromRouteData(N);const Ot=(0,k.HJs)(V.component);if(Ot)for(const{templateName:dt}of Ot.inputs)N.activatedComponentRef.setInput(dt,Je[dt]);else this.unsubscribeFromRouteData(N)});this.outletDataSubscriptions.set(N,he)}static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:S.\u0275fac})}return S})(),Wi=(()=>{class S{static \u0275fac=function(V){return new(V||S)};static \u0275cmp=y.VBU({type:S,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(V,he){1&V&&y.nrm(0,"router-outlet")},dependencies:[Jr],encapsulation:2})}return S})();function To(S){const U=S.children&&S.children.map(To),N=U?{...S,children:U}:{...S};return!N.component&&!N.loadComponent&&(U||N.loadChildren)&&N.outlet&&N.outlet!==Ve&&(N.component=Wi),N}function yi(S,U,N){if(N&&S.shouldReuseRoute(U.value,N.value.snapshot)){const V=N.value;V._futureSnapshot=U.value;const he=function Oo(S,U,N){return U.children.map(V=>{for(const he of N.children)if(S.shouldReuseRoute(V.value,he.value.snapshot))return yi(S,V,he);return yi(S,V)})}(S,U,N);return new Di(V,he)}{if(S.shouldAttach(U.value)){const Je=S.retrieve(U.value);if(null!==Je){const Ot=Je.route;return Ot.value._futureSnapshot=U.value,Ot.children=U.children.map(dt=>yi(S,dt)),Ot}}const V=function Po(S){return new Bt(new m.t(S.url),new m.t(S.params),new m.t(S.queryParams),new m.t(S.fragment),new m.t(S.data),S.outlet,S.component,S)}(U.value),he=U.children.map(Je=>yi(S,Je));return new Di(V,he)}}class Qi{redirectTo;navigationBehaviorOptions;constructor(U,N){this.redirectTo=U,this.navigationBehaviorOptions=N}}const Io="ngNavigationCancelingError";function Fi(S,U){const{redirectTo:N,navigationBehaviorOptions:V}=Ht(U)?{redirectTo:U,navigationBehaviorOptions:void 0}:U,he=Uo(!1,Wn.Redirect);return he.url=N,he.navigationBehaviorOptions=V,he}function Uo(S,U){const N=new Error(`NavigationCancelingError: ${S||""}`);return N[Io]=!0,N.cancellationCode=U,N}function bo(S){return!!S&&S[Io]}class So{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(U,N,V,he,Je){this.routeReuseStrategy=U,this.futureState=N,this.currState=V,this.forwardEvent=he,this.inputBindingEnabled=Je}activate(U){const N=this.futureState._root,V=this.currState?this.currState._root:null;this.deactivateChildRoutes(N,V,U),ei(this.futureState.root),this.activateChildRoutes(N,V,U)}deactivateChildRoutes(U,N,V){const he=de(N);U.children.forEach(Je=>{const Ot=Je.value.outlet;this.deactivateRoutes(Je,he[Ot],V),delete he[Ot]}),Object.values(he).forEach(Je=>{this.deactivateRouteAndItsChildren(Je,V)})}deactivateRoutes(U,N,V){const he=U.value,Je=N?N.value:null;if(he===Je)if(he.component){const Ot=V.getContext(he.outlet);Ot&&this.deactivateChildRoutes(U,N,Ot.children)}else this.deactivateChildRoutes(U,N,V);else Je&&this.deactivateRouteAndItsChildren(N,V)}deactivateRouteAndItsChildren(U,N){U.value.component&&this.routeReuseStrategy.shouldDetach(U.value.snapshot)?this.detachAndStoreRouteSubtree(U,N):this.deactivateRouteAndOutlet(U,N)}detachAndStoreRouteSubtree(U,N){const V=N.getContext(U.value.outlet),he=V&&U.value.component?V.children:N,Je=de(U);for(const Ot of Object.values(Je))this.deactivateRouteAndItsChildren(Ot,he);if(V&&V.outlet){const Ot=V.outlet.detach(),dt=V.children.onOutletDeactivated();this.routeReuseStrategy.store(U.value.snapshot,{componentRef:Ot,route:U,contexts:dt})}}deactivateRouteAndOutlet(U,N){const V=N.getContext(U.value.outlet),he=V&&U.value.component?V.children:N,Je=de(U);for(const Ot of Object.values(Je))this.deactivateRouteAndItsChildren(Ot,he);V&&(V.outlet&&(V.outlet.deactivate(),V.children.onOutletDeactivated()),V.attachRef=null,V.route=null)}activateChildRoutes(U,N,V){const he=de(N);U.children.forEach(Je=>{this.activateRoutes(Je,he[Je.value.outlet],V),this.forwardEvent(new tr(Je.value.snapshot))}),U.children.length&&this.forwardEvent(new pn(U.value.snapshot))}activateRoutes(U,N,V){const he=U.value,Je=N?N.value:null;if(ei(he),he===Je)if(he.component){const Ot=V.getOrCreateContext(he.outlet);this.activateChildRoutes(U,N,Ot.children)}else this.activateChildRoutes(U,N,V);else if(he.component){const Ot=V.getOrCreateContext(he.outlet);if(this.routeReuseStrategy.shouldAttach(he.snapshot)){const dt=this.routeReuseStrategy.retrieve(he.snapshot);this.routeReuseStrategy.store(he.snapshot,null),Ot.children.onOutletReAttached(dt.contexts),Ot.attachRef=dt.componentRef,Ot.route=dt.route.value,Ot.outlet&&Ot.outlet.attach(dt.componentRef,dt.route.value),ei(dt.route.value),this.activateChildRoutes(U,null,Ot.children)}else Ot.attachRef=null,Ot.route=he,Ot.outlet&&Ot.outlet.activateWith(he,Ot.injector),this.activateChildRoutes(U,null,Ot.children)}else this.activateChildRoutes(U,null,V)}}class gi{path;route;constructor(U){this.path=U,this.route=this.path[this.path.length-1]}}class io{component;route;constructor(U,N){this.component=U,this.route=N}
503}function rs(S,U,N){const V=S._root;return di(V,U?U._root:null,N,[V.value])}function oo(S,U){const N=Symbol(),V=U.get(S,N);return V===N?"function"!=typeof S||(0,O.muV)(S)?U.get(S):S:V}function di(S,U,N,V,he={canDeactivateChecks:[],canActivateChecks:[]}){const Je=de(U);return S.children.forEach(Ot=>{(function zo(S,U,N,V,he={canDeactivateChecks:[],canActivateChecks:[]}){const Je=S.value,Ot=U?U.value:null,dt=N?N.getContext(S.value.outlet):null;if(Ot&&Je.routeConfig===Ot.routeConfig){const Cn=function Vo(S,U,N){if("function"==typeof N)return(0,O.N4e)(U._environmentInjector,()=>N(S,U));switch(N){case"pathParamsChange":return!ir(S.url,U.url);case"pathParamsOrQueryParamsChange":return!ir(S.url,U.url)||!Lt(S.queryParams,U.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!br(S,U)||!Lt(S.queryParams,U.queryParams);default:return!br(S,U)}}(Ot,Je,Je.routeConfig.runGuardsAndResolvers);Cn?he.canActivateChecks.push(new gi(V)):(Je.data=Ot.data,Je._resolvedData=Ot._resolvedData),di(S,U,Je.component?dt?dt.children:null:N,V,he),Cn&&dt&&dt.outlet&&dt.outlet.isActivated&&he.canDeactivateChecks.push(new io(dt.outlet.component,Ot))}else Ot&&Zi(U,dt,he),he.canActivateChecks.push(new gi(V)),di(S,null,Je.component?dt?dt.children:null:N,V,he)})(Ot,Je[Ot.value.outlet],N,V.concat([Ot.value]),he),delete Je[Ot.value.outlet]}),Object.entries(Je).forEach(([Ot,dt])=>Zi(dt,N.getContext(Ot),he)),he}function Zi(S,U,N){const V=de(S),he=S.value;Object.entries(V).forEach(([Je,Ot])=>{Zi(Ot,he.component?U?U.children.getContext(Je):null:U,N)}),N.canDeactivateChecks.push(new io(he.component&&U&&U.outlet&&U.outlet.isActivated?U.outlet.component:null,he))}function so(S){return"function"==typeof S}function Bi(S){return S instanceof se.G||"EmptyError"===S?.name}const ui=Symbol("INITIAL_VALUE");function ao(){return(0,ht.n)(S=>(0,G.z)(S.map(U=>U.pipe((0,Vt.s)(1),(0,We.Z)(ui)))).pipe((0,H.T)(U=>{for(const N of U)if(!0!==N){if(N===ui)return ui;if(!1===N||Ui(N))return N}return!0}),(0,ye.p)(U=>U!==ui),(0,Vt.s)(1)))}function Ui(S){return Ht(S)||S instanceof Qi}function ho(S){return S.aborted?(0,q.of)(void 0).pipe((0,Vt.s)(1)):new v.c(U=>{const N=()=>{U.next(),U.complete()};return S.addEventListener("abort",N),()=>S.removeEventListener("abort",N)})}function vi(S){return(0,Et.Q)(ho(S))}function Co(S){return(0,W.F)((0,Gt.M)(U=>{if("boolean"!=typeof U)throw Fi(0,U)}),(0,H.T)(U=>!0===U))}class ie extends Error{segmentGroup;constructor(U){super(),this.segmentGroup=U||null,Object.setPrototypeOf(this,ie.prototype)}}class j extends Error{urlTree;constructor(U){super(),this.urlTree=U,Object.setPrototypeOf(this,j.prototype)}}function ke(S){throw new O.buA(4e3,!1)}class vr{urlSerializer;urlTree;constructor(U,N){this.urlSerializer=U,this.urlTree=N}lineralizeSegments(U,N){return(0,C.A)(function*(){let V=[],he=N.root;for(;;){if(V=V.concat(he.segments),0===he.numberOfChildren)return V;if(he.numberOfChildren>1||!he.children[Ve])throw ke();he=he.children[Ve]}})()}applyRedirectCommands(U,N,V,he,Je){var Ot=this;return(0,C.A)(function*(){const dt=yield function te(S,U,N){if("string"==typeof S)return Promise.resolve(S);const V=S;return tt(gt((0,O.N4e)(N,()=>V(U))))}(N,he,Je);if(dt instanceof xn)throw new j(dt);const Cn=Ot.applyRedirectCreateUrlTree(dt,Ot.urlSerializer.parse(dt),U,V);if("/"===dt[0])throw new j(Cn);return Cn})()}applyRedirectCreateUrlTree(U,N,V,he){const Je=this.createSegmentGroup(U,N.root,V,he);return new xn(Je,this.createQueryParams(N.queryParams,this.urlTree.queryParams),N.fragment)}createQueryParams(U,N){const V={};
503return Object.entries(U).forEach(([he,Je])=>{if("string"==typeof Je&&":"===Je[0]){const dt=Je.substring(1);V[he]=N[dt]}else V[he]=Je}),V}createSegmentGroup(U,N,V,he){const Je=this.createSegments(U,N.segments,V,he);let Ot={};return Object.entries(N.children).forEach(([dt,Cn])=>{Ot[dt]=this.createSegmentGroup(U,Cn,V,he)}),new bn(Je,Ot)}createSegments(U,N,V,he){return N.map(Je=>":"===Je.path[0]?this.findPosParam(U,Je,he):this.findOrReturn(Je,V))}findPosParam(U,N,V){const he=V[N.path.substring(1)];if(!he)throw new O.buA(4001,!1);return he}findOrReturn(U,N){let V=0;for(const he of N){if(he.path===U.path)return N.splice(V),he;V++}return U}}function It(S){return S.outlet||Ve}function gn(S,U){const N=S.filter(V=>It(V)===U);return N.push(...S.filter(V=>It(V)!==U)),N}const yn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Rn(S){return{routeConfig:S.routeConfig,url:S.url,params:S.params,queryParams:S.queryParams,fragment:S.fragment,data:S.data,outlet:S.outlet,title:S.title,paramMap:S.paramMap,queryParamMap:S.queryParamMap}}function Un(S,U,N,V,he,Je,Ot){const dt=Jn(S,U,N);if(!dt.matched)return(0,q.of)(dt);const Cn=Rn(Je(dt));return V=function A(S,U){return S.providers&&!S._injector&&(S._injector=(0,y.Ol2)(S.providers,U,`Route: ${S.path}`)),S._injector??U}(U,V),function ne(S,U,N,V,he,Je){const Ot=U.canMatch;if(!Ot||0===Ot.length)return(0,q.of)(!0);const dt=Ot.map(Cn=>{const Fn=oo(Cn,S);return gt(function ls(S){return S&&so(S.canMatch)}(Fn)?Fn.canMatch(U,N,he):(0,O.N4e)(S,()=>Fn(U,N,he))).pipe(vi(Je))});return(0,q.of)(dt).pipe(ao(),Co())}(V,U,N,0,Cn,Ot).pipe((0,H.T)(Fn=>!0===Fn?dt:{...yn}))}function Jn(S,U,N){if(""===U.path)return"full"===U.pathMatch&&(S.hasChildren()||N.length>0)?{...yn}:{matched:!0,consumedSegments:[],remainingSegments:N,parameters:{},positionalParamSegments:{}};const he=(U.matcher||qe)(N,S,U);if(!he)return{...yn};const Je={};Object.entries(he.posParams??{}).forEach(([dt,Cn])=>{Je[dt]=Cn.path});const Ot=he.consumed.length>0?{...Je,...he.consumed[he.consumed.length-1].parameters}:Je;return{matched:!0,consumedSegments:he.consumed,remainingSegments:N.slice(he.consumed.length),parameters:Ot,positionalParamSegments:he.posParams??{}}}function qn(S,U,N,V,he){return N.length>0&&function nr(S,U,N,V){return N.some(he=>!(!gr(S,U,he)||It(he)===Ve||void 0!==V&&It(he)===V))}(S,N,V,he)?{segmentGroup:new bn(U,Xn(V,new bn(N,S.children))),slicedSegments:[]}:0===N.length&&function zn(S,U,N){return N.some(V=>gr(S,U,V))}(S,N,V)?{segmentGroup:new bn(S.segments,Er(S,N,V,S.children)),slicedSegments:N}:{segmentGroup:new bn(S.segments,S.children),slicedSegments:N}}function Er(S,U,N,V){const he={};for(const Je of N)if(gr(S,U,Je)&&!V[It(Je)]){const Ot=new bn([],{});he[It(Je)]=Ot}return{...V,...he}}function Xn(S,U){const N={};N[Ve]=U;for(const V of S)if(""===V.path&&It(V)!==Ve){const he=new bn([],{});N[It(V)]=he}return N}function gr(S,U,N){return(!(S.hasChildren()||U.length>0)||"full"!==N.pathMatch)&&""===N.path}class Ee{}function ve(){return(ve=(0,C.A)(function*(S,U,N,V,he,Je,Ot="emptyOnly",dt){return new je(S,U,N,V,he,Ot,Je,dt).recognize()})).apply(this,arguments)}class je{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(U,N,V,he,Je,Ot,dt,Cn){this.injector=U,this.configLoader=N,this.rootComponentType=V,this.config=he,this.urlTree=Je,this.paramsInheritanceStrategy=Ot,this.urlSerializer=dt,this.abortSignal=Cn,this.applyRedirects=new vr(this.urlSerializer,this.urlTree)}noMatchError(U){return new O.buA(4002,`'${U.segmentGroup}'`)}recognize(){var U=this;return(0,C.A)(function*(){const N=qn(U.urlTree.root,[],[],U.config).segmentGroup,{children:V,rootSnapshot:he}=yield U.match(N),Je=new Di(he,V),Ot=new ar("",Je),dt=function I(S,U,N=null,V=null,he=new en){return Ue(mt(S),U,N,V,he)}(he,[],U.urlTree.queryParams,U.urlTree.fragment);return dt.queryParams=U.urlTree.queryParams,Ot.url=U.urlSerializer.serialize(dt),{state:Ot,tree:dt}})()}match(U){var N=this;return(0,C.A)(function*(){const V=new wn([],Object.freeze({}),Object.freeze({...N.urlTree.queryParams}),N.urlTree.fragment,Object.freeze({}),Ve,N.rootComponentType,null,{},N.injector);try{return{children:yield N.processSegmentGroup(N.injector,N.config,U,Ve,V),rootSnapshot:V}}catch(he){if(he instanceof j)return N.urlTree=he.urlTree,N.match(he.urlTree.root);throw he instanceof ie?N.noMatchError(he):he}})()}processSegmentGroup(U,N,V,he,Je){var Ot=this;return(0,C.A)(function*(){if(0===V.segments.length&&V.hasChildren())return Ot.processChildren(U,N,V,Je);const dt=yield Ot.processSegment(U,N,V,V.segments,he,!0,Je);return dt instanceof Di?[dt]:[]})()}processChildren(U,N,V,he){var Je=this;return(0,C.A)(function*(){const Ot=[];for(const Fn of Object.keys(V.children))"primary"===Fn?Ot.unshift(Fn):Ot.push(Fn);let dt=[];
503for(const Fn of Ot){const yr=V.children[Fn],kr=gn(N,Fn),ki=yield Je.processSegmentGroup(U,kr,yr,Fn,he);dt.push(...ki)}const Cn=Ln(dt);return function Qt(S){S.sort((U,N)=>U.value.outlet===Ve?-1:N.value.outlet===Ve?1:U.value.outlet.localeCompare(N.value.outlet))}(Cn),Cn})()}processSegment(U,N,V,he,Je,Ot,dt){var Cn=this;return(0,C.A)(function*(){for(const Fn of N)try{return yield Cn.processSegmentAgainstRoute(Fn._injector??U,N,Fn,V,he,Je,Ot,dt)}catch(yr){if(yr instanceof ie||Bi(yr))continue;throw yr}if(function Dr(S,U,N){return 0===U.length&&!S.children[N]}(V,he,Je))return new Ee;throw new ie(V)})()}processSegmentAgainstRoute(U,N,V,he,Je,Ot,dt,Cn){var Fn=this;return(0,C.A)(function*(){if(It(V)!==Ot&&(Ot===Ve||!gr(he,Je,V)))throw new ie(he);if(void 0===V.redirectTo)return Fn.matchSegmentAgainstRoute(U,he,V,Je,Ot,Cn);if(Fn.allowRedirects&&dt)return Fn.expandSegmentAgainstRouteUsingRedirect(U,he,N,V,Je,Ot,Cn);throw new ie(he)})()}expandSegmentAgainstRouteUsingRedirect(U,N,V,he,Je,Ot,dt){var Cn=this;return(0,C.A)(function*(){const{matched:Fn,parameters:yr,consumedSegments:kr,positionalParamSegments:ki,remainingSegments:Yo}=Jn(N,he,Je);if(!Fn)throw new ie(N);"string"==typeof he.redirectTo&&"/"===he.redirectTo[0]&&(Cn.absoluteRedirectCount++,Cn.absoluteRedirectCount>31&&(Cn.allowRedirects=!1));const Ms=Cn.createSnapshot(U,he,Je,yr,dt);if(Cn.abortSignal.aborted)throw new Error(Cn.abortSignal.reason);const Ho=yield Cn.applyRedirects.applyRedirectCommands(kr,he.redirectTo,ki,Rn(Ms),U),Ds=yield Cn.applyRedirects.lineralizeSegments(he,Ho);return Cn.processSegment(U,V,N,Ds.concat(Yo),Ot,!1,dt)})()}createSnapshot(U,N,V,he,Je){const Ot=new wn(V,he,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function fr(S){return S.data||{}}(N),It(N),N.component??N._loadedComponent??null,N,function Or(S){return S.resolve||{}}(N),U),dt=En(Ot,Je,this.paramsInheritanceStrategy);return Ot.params=Object.freeze(dt.params),Ot.data=Object.freeze(dt.data),Ot}matchSegmentAgainstRoute(U,N,V,he,Je,Ot){var dt=this;return(0,C.A)(function*(){if(dt.abortSignal.aborted)throw new Error(dt.abortSignal.reason);const Fn=yield tt(Un(N,V,he,U,0,qs=>dt.createSnapshot(U,V,qs.consumedSegments,qs.parameters,Ot),dt.abortSignal));if("**"===V.path&&(N.children={}),!Fn?.matched)throw new ie(N);U=V._injector??U;const{routes:yr}=yield dt.getChildConfig(U,V,he),kr=V._loadedInjector??U,{parameters:ki,consumedSegments:Yo,remainingSegments:Ms}=Fn,Ho=dt.createSnapshot(U,V,Yo,ki,Ot),{segmentGroup:Ds,slicedSegments:No}=qn(N,Yo,Ms,yr,Je);if(0===No.length&&Ds.hasChildren()){const qs=yield dt.processChildren(kr,yr,Ds,Ho);return new Di(Ho,qs)}if(0===yr.length&&0===No.length)return new Di(Ho,[]);const ua=It(V)===Je,Ns=yield dt.processSegment(kr,yr,Ds,No,ua?Ve:Je,!0,Ho);return new Di(Ho,Ns instanceof Di?[Ns]:[])})()}getChildConfig(U,N,V){var he=this;return(0,C.A)(function*(){if(N.children)return{routes:N.children,injector:U};if(N.loadChildren){if(void 0!==N._loadedRoutes){const Ot=N._loadedNgModuleFactory;return Ot&&!N._loadedInjector&&(N._loadedInjector=Ot.create(U).injector),{routes:N._loadedRoutes,injector:N._loadedInjector}}if(he.abortSignal.aborted)throw new Error(he.abortSignal.reason);if(yield tt(function Wo(S,U,N,V,he){const Je=U.canLoad;if(void 0===Je||0===Je.length)return(0,q.of)(!0);const Ot=Je.map(dt=>{const Cn=oo(dt,S),yr=gt(function as(S){return S&&so(S.canLoad)}(Cn)?Cn.canLoad(U,N):(0,O.N4e)(S,()=>Cn(U,N)));return he?yr.pipe(vi(he)):yr});return(0,q.of)(Ot).pipe(ao(),Co())}(U,N,V,0,he.abortSignal))){const Ot=yield he.configLoader.loadChildren(U,N);return N._loadedRoutes=Ot.routes,N._loadedInjector=Ot.injector,N._loadedNgModuleFactory=Ot.factory,Ot}throw function kt(){throw Uo(!1,Wn.GuardRejected)}()}return{routes:[],injector:U}})()}}function hn(S){const U=S.value.routeConfig;return U&&""===U.path}function Ln(S){const U=[],N=new Set;for(const V of S){if(!hn(V)){U.push(V);continue}const he=U.find(Je=>V.value.routeConfig===Je.value.routeConfig);void 0!==he?(he.children.push(...V.children),N.add(he)):U.push(V)}for(const V of N){const he=Ln(V.children);U.push(new Di(V.value,he))}return U.filter(V=>!N.has(V))}function wi(S){const U=S.children.map(N=>wi(N)).flat();return[S,...U]}function Ki(S){return(0,ht.n)(U=>{const N=S(U);return N?(0,ge.H)(N).pipe((0,H.T)(()=>U)):(0,q.of)(U)})}let ti=(()=>{class S{buildTitle(N){let V,he=N.root;for(;void 0!==he;)V=this.getResolvedTitleForRoute(he)??V,he=he.children.find(Je=>Je.outlet===Ve);return V}getResolvedTitleForRoute(N){return N.data[Le]}static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:()=>(0,O.WQX)($i),providedIn:"root"})}return S})(),$i=(()=>{class S extends ti{title;constructor(N){super(),this.title=N}updateTitle(N){const V=this.buildTitle(N);void 0!==V&&this.title.setTitle(V)}static \u0275fac=function(V){return new(V||S)(O.KVO(at.hE))};static \u0275prov=O.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();const Ai=new O.nKC("",{factory:()=>({})}),zi=new O.nKC("");let _s=(()=>{class S{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,O.WQX)(y.Ql9);loadComponent(N,V){var he=this;return(0,C.A)(function*(){if(he.componentLoaders.get(V))return he.componentLoaders.get(V);if(V._loadedComponent)return Promise.resolve(V._loadedComponent);he.onLoadStartListener&&he.onLoadStartListener(V);const Je=(0,C.A)(function*(){try{const Ot=yield pe((0,O.N4e)(N,()=>V.loadComponent())),dt=yield Xs(Qs(Ot));return he.onLoadEndListener&&he.onLoadEndListener(V),V._loadedComponent=dt,dt}finally{he.componentLoaders.delete(V)}})();return he.componentLoaders.set(V,Je),Je})()}loadChildren(N,V){var he=this;if(this.childrenLoaders.get(V))return this.childrenLoaders.get(V);if(V._loadedRoutes)return Promise.resolve({routes:V._loadedRoutes,injector:V._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(V);const Je=(0,C.A)(function*(){try{const Ot=yield function is(S,U,N,V){return fo.apply(this,arguments)}(V,he.compiler,N,he.onLoadEndListener);return V._loadedRoutes=Ot.routes,V._loadedInjector=Ot.injector,V._loadedNgModuleFactory=Ot.factory,Ot}finally{he.childrenLoaders.delete(V)}})();return this.childrenLoaders.set(V,Je),Je}static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();function fo(){return(fo=(0,C.A)(function*(S,U,N,V){const he=yield pe((0,O.N4e)(N,()=>S.loadChildren())),Je=yield Xs(Qs(he));let Ot;Ot=Je instanceof y.PYt||Array.isArray(Je)?Je:yield U.compileModuleAsync(Je),V&&V(S);let dt,Cn,yr;return Array.isArray(Ot)?Cn=Ot:(dt=Ot.create(N).injector,yr=Ot,Cn=dt.get(zi,[],{optional:!0,self:!0}).flat()),{routes:Cn.map(To),injector:dt,factory:yr}})).apply(this,arguments)}function Qs(S){return function Zo(S){return S&&"object"==typeof S&&"default"in S}(S)?S.default:S}function Xs(S){return Ss.apply(this,arguments)}function Ss(){return(Ss=(0,C.A)(function*(S){return S})).apply(this,arguments)}let Ro=(()=>{class S{static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:()=>(0,O.WQX)(Ga),providedIn:"root"})}return S})(),Ga=(()=>{class S{shouldProcessUrl(N){return!0}extract(N){return N}merge(N,V){return N}static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();const Zs=new O.nKC(""),da=()=>{},Qa=new O.nKC("");let Da=(()=>{class S{currentNavigation=(0,O.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,O.vPA)(null);events=new D.B;
503transitionAbortWithErrorSubject=new D.B;configLoader=(0,O.WQX)(_s);environmentInjector=(0,O.WQX)(O.uvJ);destroyRef=(0,O.WQX)(O.abz);urlSerializer=(0,O.WQX)(_r);rootContexts=(0,O.WQX)(xi);location=(0,O.WQX)(T.aZ);inputBindingEnabled=null!==(0,O.WQX)(pi,{optional:!0});titleStrategy=(0,O.WQX)(ti);options=(0,O.WQX)(Ai,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,O.WQX)(Ro);createViewTransition=(0,O.WQX)(Zs,{optional:!0});navigationErrorHandler=(0,O.WQX)(Qa,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,q.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=he=>this.events.next(new Dt(he)),this.configLoader.onLoadStartListener=he=>this.events.next(new Ei(he)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(N){const V=++this.navigationId;(0,w.O8)(()=>{this.transitions?.next({...N,extractedUrl:this.urlHandlingStrategy.extract(N.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:V,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(N){return this.transitions=new m.t(null),this.transitions.pipe((0,ye.p)(V=>null!==V),(0,ht.n)(V=>{let he=!1;const Je=new AbortController,Ot=()=>!he&&this.currentTransition?.id===V.id;return(0,q.of)(V).pipe((0,ht.n)(dt=>{if(this.navigationId>V.id)return this.cancelNavigationTransition(V,"",Wn.SupersededByNewNavigation),Be.w;this.currentTransition=V;const Cn=this.lastSuccessfulNavigation();this.currentNavigation.set({id:dt.id,initialUrl:dt.rawUrl,extractedUrl:dt.extractedUrl,targetBrowserUrl:"string"==typeof dt.extras.browserUrl?this.urlSerializer.parse(dt.extras.browserUrl):dt.extras.browserUrl,trigger:dt.source,extras:dt.extras,previousNavigation:Cn?{...Cn,previousNavigation:null}:null,abort:()=>Je.abort(),routesRecognizeHandler:dt.routesRecognizeHandler,beforeActivateHandler:dt.beforeActivateHandler});const Fn=!N.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Fn&&"reload"!==(dt.extras.onSameUrlNavigation??N.onSameUrlNavigation))return this.events.next(new qr(dt.id,this.urlSerializer.serialize(dt.rawUrl),"",dr.IgnoredSameUrlNavigation)),dt.resolve(!1),Be.w;if(this.urlHandlingStrategy.shouldProcessUrl(dt.rawUrl))return(0,q.of)(dt).pipe((0,ht.n)(kr=>(this.events.next(new Sn(kr.id,this.urlSerializer.serialize(kr.extractedUrl),kr.source,kr.restoredState)),kr.id!==this.navigationId?Be.w:Promise.resolve(kr))),function Br(S,U,N,V,he,Je,Ot){return(0,_e.Z)(function(){var dt=(0,C.A)(function*(Cn){const{state:Fn,tree:yr}=yield function xe(S,U,N,V,he,Je){return ve.apply(this,arguments)}(S,U,N,V,Cn.extractedUrl,he,Je,Ot);return{...Cn,targetSnapshot:Fn,urlAfterRedirects:yr}});return function(Cn){return dt.apply(this,arguments)}}())}(this.environmentInjector,this.configLoader,this.rootComponentType,N.config,this.urlSerializer,this.paramsInheritanceStrategy,Je.signal),(0,Gt.M)(kr=>{V.targetSnapshot=kr.targetSnapshot,V.urlAfterRedirects=kr.urlAfterRedirects,this.currentNavigation.update(ki=>(ki.finalUrl=kr.urlAfterRedirects,ki)),this.events.next(new ci)}),(0,ht.n)(kr=>(0,ge.H)(V.routesRecognizeHandler.deferredHandle??(0,q.of)(void 0)).pipe((0,H.T)(()=>kr))),(0,Gt.M)(()=>{const kr=new Ir(dt.id,this.urlSerializer.serialize(dt.extractedUrl),this.urlSerializer.serialize(dt.urlAfterRedirects),dt.targetSnapshot);this.events.next(kr)}));if(Fn&&this.urlHandlingStrategy.shouldProcessUrl(dt.currentRawUrl)){const{id:kr,extractedUrl:ki,source:Yo,restoredState:Ms,extras:Ho}=dt,Ds=new Sn(kr,this.urlSerializer.serialize(ki),Yo,Ms);this.events.next(Ds);const No=Ie(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=V={...dt,targetSnapshot:No,urlAfterRedirects:ki,extras:{...Ho,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(ua=>(ua.finalUrl=ki,ua)),(0,q.of)(V)}return this.events.next(new qr(dt.id,this.urlSerializer.serialize(dt.extractedUrl),"",dr.IgnoredByUrlHandlingStrategy)),dt.resolve(!1),Be.w}),(0,H.T)(dt=>{const Cn=new Xr(dt.id,this.urlSerializer.serialize(dt.extractedUrl),this.urlSerializer.serialize(dt.urlAfterRedirects),dt.targetSnapshot);return this.events.next(Cn),this.currentTransition=V={...dt,guards:rs(dt.targetSnapshot,dt.currentSnapshot,this.rootContexts)},V}),function eo(S){return(0,_e.Z)(U=>{const{targetSnapshot:N,currentSnapshot:V,guards:{canActivateChecks:he,canDeactivateChecks:Je}}=U;
503return 0===Je.length&&0===he.length?(0,q.of)({...U,guardsResult:!0}):function to(S,U,N){return(0,ge.H)(S).pipe((0,_e.Z)(V=>function vs(S,U,N,V){const he=U&&U.routeConfig?U.routeConfig.canDeactivate:null;if(!he||0===he.length)return(0,q.of)(!0);const Je=he.map(Ot=>{const dt=U._environmentInjector,Cn=oo(Ot,dt);return gt(function Qo(S){return S&&so(S.canDeactivate)}(Cn)?Cn.canDeactivate(S,U,N,V):(0,O.N4e)(dt,()=>Cn(S,U,N,V))).pipe((0,ae.$)())});return(0,q.of)(Je).pipe(ao())}(V.component,V.route,N,U)),(0,ae.$)(V=>!0!==V,!0))}(Je,N,V).pipe((0,_e.Z)(Ot=>Ot&&function Go(S){return"boolean"==typeof S}(Ot)?function Ao(S,U,N){return(0,ge.H)(U).pipe((0,X.H)(V=>(0,le.x)(function Pi(S,U){return null!==S&&U&&U(new nt(S)),(0,q.of)(!0)}(V.route.parent,N),function lo(S,U){return null!==S&&U&&U(new An(S)),(0,q.of)(!0)}(V.route,N),function ji(S,U){const N=U[U.length-1],he=U.slice(0,U.length-1).reverse().map(Je=>function jo(S){const U=S.routeConfig?S.routeConfig.canActivateChild:null;return U&&0!==U.length?{node:S,guards:U}:null}(Je)).filter(Je=>null!==Je).map(Je=>(0,_.v)(()=>{const Ot=Je.guards.map(dt=>{const Cn=Je.node._environmentInjector,Fn=oo(dt,Cn);return gt(function ko(S){return S&&so(S.canActivateChild)}(Fn)?Fn.canActivateChild(N,S):(0,O.N4e)(Cn,()=>Fn(N,S))).pipe((0,ae.$)())});return(0,q.of)(Ot).pipe(ao())}));return(0,q.of)(he).pipe(ao())}(S,V.path),function Xo(S,U){const N=U.routeConfig?U.routeConfig.canActivate:null;if(!N||0===N.length)return(0,q.of)(!0);const V=N.map(he=>(0,_.v)(()=>{const Je=U._environmentInjector,Ot=oo(he,Je);return gt(function yo(S){return S&&so(S.canActivate)}(Ot)?Ot.canActivate(U,S):(0,O.N4e)(Je,()=>Ot(U,S))).pipe((0,ae.$)())}));return(0,q.of)(V).pipe(ao())}(S,V.route))),(0,ae.$)(V=>!0!==V,!0))}(N,he,S):(0,q.of)(Ot)),(0,H.T)(Ot=>({...U,guardsResult:Ot})))})}(dt=>this.events.next(dt)),(0,ht.n)(dt=>{if(V.guardsResult=dt.guardsResult,dt.guardsResult&&"boolean"!=typeof dt.guardsResult)throw Fi(0,dt.guardsResult);const Cn=new Zr(dt.id,this.urlSerializer.serialize(dt.extractedUrl),this.urlSerializer.serialize(dt.urlAfterRedirects),dt.targetSnapshot,!!dt.guardsResult);if(this.events.next(Cn),!Ot())return Be.w;if(!dt.guardsResult)return this.cancelNavigationTransition(dt,"",Wn.GuardRejected),Be.w;if(0===dt.guards.canActivateChecks.length)return(0,q.of)(dt);const Fn=new hr(dt.id,this.urlSerializer.serialize(dt.extractedUrl),this.urlSerializer.serialize(dt.urlAfterRedirects),dt.targetSnapshot);if(this.events.next(Fn),!Ot())return Be.w;let yr=!1;return(0,q.of)(dt).pipe(function li(S){return(0,_e.Z)(U=>{const{targetSnapshot:N,guards:{canActivateChecks:V}}=U;if(!V.length)return(0,q.of)(U);const he=new Set(V.map(dt=>dt.route)),Je=new Set;for(const dt of he)if(!Je.has(dt))for(const Cn of wi(dt))Je.add(Cn);let Ot=0;return(0,ge.H)(Je).pipe((0,X.H)(dt=>he.has(dt)?function jr(S,U,N){const V=S.routeConfig,he=S._resolve;return void 0!==V?.title&&!fi(V)&&(he[Le]=V.title),(0,_.v)(()=>(S.data=En(S,S.parent,N).resolve,function Ii(S,U,N){const V=ot(S);if(0===V.length)return(0,q.of)({});const he={};return(0,ge.H)(V).pipe((0,_e.Z)(Je=>function Eo(S,U,N){const V=U._environmentInjector,he=oo(S,V);return gt(he.resolve?he.resolve(U,N):(0,O.N4e)(V,()=>he(U,N)))}(S[Je],U,N).pipe((0,ae.$)(),(0,Gt.M)(Ot=>{if(Ot instanceof Qi)throw Fi(new en,Ot);he[Je]=Ot}))),(0,an.o)(1),(0,H.T)(()=>he),(0,we.W)(Je=>Bi(Je)?Be.w:(0,Te.$)(Je)))}(he,S,U).pipe((0,H.T)(Je=>(S._resolvedData=Je,S.data={...S.data,...Je},null)))))}(dt,N,S):(dt.data=En(dt,dt.parent,S).resolve,(0,q.of)(void 0))),(0,Gt.M)(()=>Ot++),(0,an.o)(1),(0,_e.Z)(dt=>Ot===Je.size?(0,q.of)(U):Be.w))})}(this.paramsInheritanceStrategy),(0,Gt.M)({next:()=>{yr=!0;const kr=new Si(dt.id,this.urlSerializer.serialize(dt.extractedUrl),this.urlSerializer.serialize(dt.urlAfterRedirects),dt.targetSnapshot);this.events.next(kr)},complete:()=>{yr||this.cancelNavigationTransition(dt,"",Wn.NoDataFromResolver)}}))}),Ki(dt=>{const Cn=yr=>{const kr=[];yr.routeConfig?._loadedComponent?yr.component=yr.routeConfig?._loadedComponent:yr.routeConfig?.loadComponent&&kr.push(this.configLoader.loadComponent(yr._environmentInjector,yr.routeConfig).then(Yo=>{yr.component=Yo}));for(const ki of yr.children)kr.push(...Cn(ki));return kr},Fn=Cn(dt.targetSnapshot.root);
503return 0===Fn.length?(0,q.of)(dt):(0,ge.H)(Promise.all(Fn).then(()=>dt))}),Ki(()=>this.afterPreactivation()),(0,ht.n)(()=>{const{currentSnapshot:dt,targetSnapshot:Cn}=V,Fn=this.createViewTransition?.(this.environmentInjector,dt.root,Cn.root);return Fn?(0,ge.H)(Fn).pipe((0,H.T)(()=>V)):(0,q.of)(V)}),(0,Vt.s)(1),(0,ht.n)(dt=>{const Cn=function Hi(S,U,N){const V=yi(S,U._root,N?N._root:void 0);return new et(V,U)}(N.routeReuseStrategy,dt.targetSnapshot,dt.currentRouterState);this.currentTransition=V=dt={...dt,targetRouterState:Cn},this.currentNavigation.update(yr=>(yr.targetRouterState=Cn,yr)),this.events.next(new Yr);const Fn=V.beforeActivateHandler.deferredHandle;return Fn?(0,ge.H)(Fn.then(()=>dt)):(0,q.of)(dt)}),(0,Gt.M)(dt=>{new So(N.routeReuseStrategy,V.targetRouterState,V.currentRouterState,Cn=>this.events.next(Cn),this.inputBindingEnabled).activate(this.rootContexts),Ot()&&(he=!0,this.currentNavigation.update(Cn=>(Cn.abort=da,Cn)),this.lastSuccessfulNavigation.set((0,w.O8)(this.currentNavigation)),this.events.next(new or(dt.id,this.urlSerializer.serialize(dt.extractedUrl),this.urlSerializer.serialize(dt.urlAfterRedirects))),this.titleStrategy?.updateTitle(dt.targetRouterState.snapshot),dt.resolve(!0))}),(0,Et.Q)(ho(Je.signal).pipe((0,ye.p)(()=>!he&&!V.targetRouterState),(0,Gt.M)(()=>{this.cancelNavigationTransition(V,Je.signal.reason+"",Wn.Aborted)}))),(0,Gt.M)({complete:()=>{he=!0}}),(0,Et.Q)(this.transitionAbortWithErrorSubject.pipe((0,Gt.M)(dt=>{throw dt}))),(0,Q.j)(()=>{Je.abort(),he||this.cancelNavigationTransition(V,"",Wn.SupersededByNewNavigation),this.currentTransition?.id===V.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,we.W)(dt=>{if(he=!0,this.destroyed)return V.resolve(!1),Be.w;if(bo(dt))this.events.next(new Hr(V.id,this.urlSerializer.serialize(V.extractedUrl),dt.message,dt.cancellationCode)),function Xi(S){return bo(S)&&Ht(S.url)}(dt)?this.events.next(new Wr(dt.url,dt.navigationBehaviorOptions)):V.resolve(!1);else{const Cn=new Cr(V.id,this.urlSerializer.serialize(V.extractedUrl),dt,V.targetSnapshot??void 0);try{const Fn=(0,O.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Cn));if(!(Fn instanceof Qi))throw this.events.next(Cn),dt;{const{message:yr,cancellationCode:kr}=Fi(0,Fn);this.events.next(new Hr(V.id,this.urlSerializer.serialize(V.extractedUrl),yr,kr)),this.events.next(new Wr(Fn.redirectTo,Fn.navigationBehaviorOptions))}}catch(Fn){this.options.resolveNavigationPromiseOnError?V.resolve(!1):V.reject(Fn)}}return Be.w}))}))}cancelNavigationTransition(N,V,he){const Je=new Hr(N.id,this.urlSerializer.serialize(N.extractedUrl),V,he);this.events.next(Je),N.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const N=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),V=(0,w.O8)(this.currentNavigation),he=V?.targetBrowserUrl??V?.extractedUrl;return N.toString()!==he?.toString()&&!V?.extras.skipLocationChange}static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();function Ys(S){return S!==rn}const xa=new O.nKC("");let Fs=(()=>{class S{static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:()=>(0,O.WQX)(po),providedIn:"root"})}return S})();class As{shouldDetach(U){return!1}store(U,N){}shouldAttach(U){return!1}retrieve(U){return null}shouldReuseRoute(U,N){return U.routeConfig===N.routeConfig}shouldDestroyInjector(U){return!0}}let po=(()=>{class S extends As{static \u0275fac=(()=>{let N;return function(he){return(N||(N=y.xGo(S)))(he||S)}})();static \u0275prov=O.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),Cs=(()=>{class S{urlSerializer=(0,O.WQX)(_r);options=(0,O.WQX)(Ai,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,O.WQX)(T.aZ);urlHandlingStrategy=(0,O.WQX)(Ro);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new xn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:N,initialUrl:V,targetBrowserUrl:he}){const Je=void 0!==N?this.urlHandlingStrategy.merge(N,V):V,Ot=he??Je;return Ot instanceof xn?this.urlSerializer.serialize(Ot):Ot}routerUrlState(N){return void 0===N?.targetBrowserUrl||void 0===N?.finalUrl?{}:{\u0275routerUrl:this.urlSerializer.serialize(N.finalUrl)}}commitTransition({targetRouterState:N,finalUrl:V,initialUrl:he}){V&&N?(this.currentUrlTree=V,this.rawUrlTree=this.urlHandlingStrategy.merge(V,he),this.routerState=N):this.rawUrlTree=he}routerState=Ie(null,(0,O.WQX)(O.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:()=>(0,O.WQX)(Bs),providedIn:"root"})}return S})(),Bs=(()=>{class S extends Cs{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(N){return this.location.subscribe(V=>{"popstate"===V.type&&setTimeout(()=>{N(V.url,V.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(N,V){N instanceof Sn?this.updateStateMemento():N instanceof qr?this.commitTransition(V):N instanceof Ir?"eager"===this.urlUpdateStrategy&&(V.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(V),V)):N instanceof Yr?(this.commitTransition(V),"deferred"===this.urlUpdateStrategy&&!V.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(V),V)):N instanceof Hr&&!function Qr(S){return S instanceof Hr&&(S.code===Wn.Redirect||S.c
503ode===Wn.SupersededByNewNavigation)}(N)?this.restoreHistory(V):N instanceof Cr?this.restoreHistory(V,!0):N instanceof or&&(this.lastSuccessfulId=N.id,this.currentPageId=this.browserPageId)}setBrowserUrl(N,V){const{extras:he,id:Je}=V,{replaceUrl:Ot,state:dt}=he;if(this.location.isCurrentPathEqualTo(N)||Ot){const Cn=this.browserPageId,Fn={...dt,...this.generateNgRouterState(Je,Cn,V)};this.location.replaceState(N,"",Fn)}else{const Cn={...dt,...this.generateNgRouterState(Je,this.browserPageId+1,V)};this.location.go(N,"",Cn)}}restoreHistory(N,V=!1){if("computed"===this.canceledNavigationResolution){const Je=this.currentPageId-this.browserPageId;0!==Je?this.location.historyGo(Je):this.getCurrentUrlTree()===N.finalUrl&&0===Je&&(this.resetInternalState(N),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(V&&this.resetInternalState(N),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:N}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,N??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(N,V,he){return"computed"===this.canceledNavigationResolution?{navigationId:N,\u0275routerPageId:V,...this.routerUrlState(he)}:{navigationId:N,...this.routerUrlState(he)}}static \u0275fac=(()=>{let N;return function(he){return(N||(N=y.xGo(S)))(he||S)}})();static \u0275prov=O.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),Es=(()=>{class S{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,O.WQX)(y.C7A);stateManager=(0,O.WQX)(Cs);options=(0,O.WQX)(Ai,{optional:!0})||{};pendingTasks=(0,O.WQX)(O.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,O.WQX)(Da);urlSerializer=(0,O.WQX)(_r);location=(0,O.WQX)(T.aZ);urlHandlingStrategy=(0,O.WQX)(Ro);injector=(0,O.WQX)(O.uvJ);_events=new D.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,O.WQX)(Fs);injectorCleanup=(0,O.WQX)(xa,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,O.WQX)(zi,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,O.WQX)(pi,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:N=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new u.yU;subscribeToNavigationEvents(){const N=this.navigationTransitions.events.subscribe(V=>{try{const he=this.navigationTransitions.currentTransition,Je=(0,w.O8)(this.navigationTransitions.currentNavigation);if(null!==he&&null!==Je)if(this.stateManager.handleRouterEvent(V,Je),V instanceof Hr&&V.code!==Wn.Redirect&&V.code!==Wn.SupersededByNewNavigation)this.navigated=!0;else if(V instanceof or)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(V instanceof Wr){const Ot=V.navigationBehaviorOptions,dt=this.urlHandlingStrategy.merge(V.url,he.currentRawUrl),Cn={scroll:he.extras.scroll,browserUrl:he.extras.browserUrl,info:he.extras.info,skipLocationChange:he.extras.skipLocationChange,replaceUrl:he.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Ys(he.source),...Ot};this.scheduleNavigation(dt,rn,null,Cn,{resolve:he.resolve,reject:he.reject,promise:he.promise})}(function Ur(S){return!(S instanceof Yr||S instanceof Wr||S instanceof ci)})(V)&&this._events.next(V)}catch(he){this.navigationTransitions.transitionAbortWithErrorSubject.next(he)}});this.eventsSubscription.add(N)}resetRootComponentType(N){this.routerState.root.component=N,this.navigationTransitions.rootComponentType=N}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),rn,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((N,V,he,Je)=>{this.navigateToSyncWithBrowser(N,he,V,Je)})}navigateToSyncWithBrowser(N,V,he,Je){const Ot=he?.navigationId?he:null,dt=he?.\u0275routerUrl??N;if(he?.\u0275routerUrl&&(Je={...Je,browserUrl:N}),he){const Fn={...he};delete Fn.navigationId,delete Fn.\u0275routerPageId,delete Fn.\u0275routerUrl,0!==Object.keys(Fn).length&&(Je.state=Fn)}const Cn=this.parseUrl(dt);
503this.scheduleNavigation(Cn,V,Ot,Je).catch(Fn=>{this.disposed||this.injector.get(O.ZTf)(Fn)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,w.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(N){this.config=N.map(To),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(N,V={}){const{relativeTo:he,queryParams:Je,fragment:Ot,queryParamsHandling:dt,preserveFragment:Cn}=V,Fn=Cn?this.currentUrlTree.fragment:Ot;let kr,yr=null;switch(dt??this.options.defaultQueryParamsHandling){case"merge":yr={...this.currentUrlTree.queryParams,...Je};break;case"preserve":yr=this.currentUrlTree.queryParams;break;default:yr=Je||null}null!==yr&&(yr=this.removeEmptyProps(yr));try{kr=mt(he?he.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof N[0]||"/"!==N[0][0])&&(N=[]),kr=this.currentUrlTree.root}return Ue(kr,N,yr,Fn??null,this.urlSerializer)}navigateByUrl(N,V={skipLocationChange:!1}){const he=Ht(N)?N:this.parseUrl(N),Je=this.urlHandlingStrategy.merge(he,this.rawUrlTree);return this.scheduleNavigation(Je,rn,null,V)}navigate(N,V={skipLocationChange:!1}){return function Us(S){for(let U=0;U<S.length;U++)if(null==S[U])throw new O.buA(4008,!1)}(N),this.navigateByUrl(this.createUrlTree(N,V),V)}serializeUrl(N){return this.urlSerializer.serialize(N)}parseUrl(N){try{return this.urlSerializer.parse(N)}catch{return this.console.warn((0,O.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(N,V){let he;if(he=!0===V?{...Yt}:!1===V?{...Ut}:{...Ut,...V},Ht(N))return zt(this.currentUrlTree,N,he);const Je=this.parseUrl(N);return zt(this.currentUrlTree,Je,he)}removeEmptyProps(N){return Object.entries(N).reduce((V,[he,Je])=>(null!=Je&&(V[he]=Je),V),{})}scheduleNavigation(N,V,he,Je,Ot){if(this.disposed)return Promise.resolve(!1);let dt,Cn,Fn;Ot?(dt=Ot.resolve,Cn=Ot.reject,Fn=Ot.promise):Fn=new Promise((kr,ki)=>{dt=kr,Cn=ki});const yr=this.pendingTasks.add();return function Rs(S,U){S.events.pipe((0,ye.p)(N=>N instanceof or||N instanceof Hr||N instanceof Cr||N instanceof qr),(0,H.T)(N=>N instanceof or||N instanceof qr?0:N instanceof Hr&&(N.code===Wn.Redirect||N.code===Wn.SupersededByNewNavigation)?2:1),(0,ye.p)(N=>2!==N),(0,Vt.s)(1)).subscribe(()=>{U()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(yr))}),this.navigationTransitions.handleNavigationRequest({source:V,restoredState:he,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:N,extras:Je,resolve:dt,reject:Cn,promise:Fn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Fn.catch(Promise.reject.bind(Promise))}static \u0275fac=function(V){return new(V||S)};static \u0275prov=O.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},3049(vt,Y,i){i.d(Y,{Ii:()=>ft,Wk:()=>en,lG:()=>On,lh:()=>St,oH:()=>Tn});var Oe=i(4523),Mt=i(5984),o=i(177),it=i(7705),nn=i(5547),tn=i(5802),xn=i(2271),bn=i(9882),pr=i(1413);i(2806),i(7673),i(6365);let _r=(()=>{class rn{router=(0,tn.WQX)(bn.Ix);stateManager=(0,tn.WQX)(bn.fN);fragment=(0,tn.vPA)("");queryParams=(0,tn.vPA)({});path=(0,tn.vPA)("");serializer=(0,tn.WQX)(bn.Sd);constructor(){this.updateState(),this.router.events?.subscribe(Zt=>{Zt instanceof bn.wF&&this.updateState()})}updateState(){const{fragment:Zt,root:Sn,queryParams:or}=this.stateManager.getCurrentUrlTree();this.fragment.set(Zt),this.queryParams.set(or),this.path.set(this.serializer.serialize(new bn.el(Sn)))}static \u0275fac=function(Sn){return new(Sn||rn)};static \u0275prov=tn.jDH({token:rn,factory:rn.\u0275fac,providedIn:"root"})}return rn})(),en=(()=>{class rn{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,tn.WQX)(new it.ES_("href"),{optional:!0});reactiveHref=(0,xn.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return(0,xn.O8)(this.reactiveHref)}set href(Zt){this.reactiveHref.set(Zt)}set target(Zt){this._target.set(Zt)}get target(){return(0,xn.O8)(this._target)}_target=(0,tn.vPA)(void 0);set queryParams(Zt){this._queryParams.set(Zt)}get queryParams(){return(0,xn.O8)(this._queryParams)}_queryParams=(0,tn.vPA)(void 0,{equal:()=>!1});set fragment(Zt){this._fragment.set(Zt)}get fragment(){return(0,xn.O8)(this._fragment)}_fragment=(0,tn.vPA)(void 0);set queryParamsHandling(Zt){this._queryParamsHandling.set(Zt)}get queryParamsHandling(){return(0,xn.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,tn.vPA)(void 0);set state(Zt){this._state.set(Zt)}get state(){return(0,xn.O8)(this._state)}_state=(0,tn.vPA)(void 0,{equal:()=>!1});set info(Zt){this._info.set(Zt)}get info(){return(0,xn.O8)(this._info)}_info=(0,tn.vPA)(void 0,{equal:()=>!1});set relativeTo(Zt){this._relativeTo.set(Zt)}get relativeTo(){return(0,xn.O8)(this._relativeTo)}_relativeTo=(0,tn.vPA)(void 0);set preserveFragment(Zt){this._preserveFragment.set(Zt)}get preserveFragment(){return(0,xn.O8)(this._preserveFragment)}_preserveFragment=(0,tn.vPA)(!1);set skipLocationChange(Zt){this._skipLocationChange.set(Zt)}get skipLocationChange(){return(0,xn.O8)(this._skipLocationChange)}_skipLocationChange=(0,tn.vPA)(!1);set replaceUrl(Zt){this._replaceUrl.set(Zt)}get replaceUrl(){return(0,xn.O8)(this._replaceUrl)}_replaceUrl=(0,tn.vPA)(!1);isAnchorElement;onChanges=new pr.B;applicationErrorHandler=(0,tn.WQX)(tn.ZTf);options=(0,tn.WQX)(bn.J_,{optional:!0});reactiveRouterState=(0,tn.WQX)(_r);constructor(Zt,Sn,or,Wn,dr,Hr){this.router=Zt,this.route=Sn,this.tabIndexAttribute=or,this.renderer=Wn,this.el=dr,this.locationStrategy=Hr;const Qr=dr.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Qr||"area"===Qr||!("object"!=typeof customElements||!customElements.get(Qr)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(Zt){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Zt)}ngOnChanges(Zt){this.onChanges.next(this)}routerLinkInput=(0,tn.vPA)(null);set routerLink(Zt){null==Zt?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,bn.wO)(Zt)?this.routerLinkInput.set(Zt):this.routerLinkInput.set(Array.isArray(Zt)?Zt:[Zt]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(Zt,Sn,or,Wn,dr){const Hr=this._urlTree();if(null===Hr||this.isAnchorElement&&(0!==Zt||Sn||or||Wn||dr||"string"==typeof this.target&&"_self"!=this.target))return!0;const Qr={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(Hr,Qr)?.catch(qr=>{this.applicationErrorHandler(qr)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(Zt,Sn){const or=this.renderer,Wn=this.el.nativeElement;null!==Sn?or.setAttribute(Wn,Zt,Sn):or.removeAttribute(Wn,Zt)}_urlTree=(0,xn.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const Zt=or=>"preserve"===or||"merge"===or;(Zt(this._queryParamsHandling())||Zt(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const Sn=this.routerLinkInput();return null!==Sn&&this.router.createUrlTree?(0,bn.wO)(Sn)?Sn:this.router.createUrlTree(Sn,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null}
503,{equal:(Zt,Sn)=>this.computeHref(Zt)===this.computeHref(Sn)});get urlTree(){return(0,xn.O8)(this._urlTree)}computeHref(Zt){return null!==Zt&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Zt))??"":null}static \u0275fac=function(Sn){return new(Sn||rn)(nn.rXU(bn.Ix),nn.rXU(bn.nX),nn.kS0("tabindex"),nn.rXU(nn.sFG),nn.rXU(nn.aKT),nn.rXU(Mt.hb))};static \u0275dir=nn.FsC({type:rn,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Sn,or){1&Sn&&nn.bIt("click",function(dr){return or.onClick(dr.button,dr.ctrlKey,dr.shiftKey,dr.altKey,dr.metaKey)}),2&Sn&&nn.BMQ("href",or.reactiveHref(),nn.n$t)("target",or._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",it.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",it.L39],replaceUrl:[2,"replaceUrl","replaceUrl",it.L39],routerLink:"routerLink"},features:[nn.OA$]})}return rn})();const Re=new tn.nKC("");let ct=(()=>{class rn{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=bn.wU;restoredId=0;store={};urlSerializer=(0,tn.WQX)(bn.Sd);zone=(0,tn.WQX)(tn.SKi);viewportScroller=(0,tn.WQX)(o.Xr);transitions=(0,tn.WQX)(bn.J2);constructor(Zt){this.options=Zt,this.options.scrollPositionRestoration||="disabled",this.options.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(Zt=>{Zt instanceof bn.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Zt.navigationTrigger,this.restoredId=Zt.restoredState?Zt.restoredState.navigationId:0):Zt instanceof bn.wF?(this.lastId=Zt.id,this.scheduleScrollEvent(Zt,this.urlSerializer.parse(Zt.urlAfterRedirects).fragment)):Zt instanceof bn.lW&&Zt.code===bn.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Zt,this.urlSerializer.parse(Zt.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Zt=>{if(!(Zt instanceof bn.OY)||"manual"===Zt.scrollBehavior)return;const Sn={behavior:"instant"};Zt.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Sn):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Zt.position,Sn):Zt.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Zt.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(Zt,Sn){var or=this;const Wn=(0,xn.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,Oe.A)(function*(){yield new Promise(dr=>{setTimeout(dr),typeof requestAnimationFrame<"u"&&requestAnimationFrame(dr)}),or.zone.run(()=>{or.transitions.events.next(new bn.OY(Zt,"popstate"===or.lastSource?or.store[or.restoredId]:null,Sn,Wn))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Sn){nn.QTQ()};static \u0275prov=tn.jDH({token:rn,factory:rn.\u0275fac})}return rn})();function St(rn,...In){return(0,tn.EmA)([{provide:bn.bw,multi:!0,useValue:rn},[],{provide:bn.nX,useFactory:Xt},{provide:nn.iLQ,multi:!0,useFactory:$e},In.map(Zt=>Zt.\u0275providers)])}function Xt(){return(0,tn.WQX)(bn.Ix).routerState.root}function Jt(rn,In){return{\u0275kind:rn,\u0275providers:In}}function Tn(rn={}){return Jt(4,[{provide:Re,useFactory:()=>new ct(rn)}])}function $e(){const rn=(0,tn.WQX)(tn.zZn);return In=>{const Zt=rn.get(nn.o8S);if(In!==Zt.components[0])return;const Sn=rn.get(bn.Ix),or=rn.get(Ct);1===rn.get(Ze)&&Sn.initialNavigation(),rn.get(Ue,null,{optional:!0})?.setUpPreloading(),rn.get(Re,null,{optional:!0})?.init(),Sn.resetRootComponentType(Zt.componentTypes[0]),or.closed||(or.next(),or.complete(),or.unsubscribe())}}const Ct=new tn.nKC("",{factory:()=>new pr.B}),Ze=new tn.nKC("",{factory:()=>1}),Ue=new tn.nKC("");function ft(rn){return Jt(5,[{provide:bn.J_,useValue:rn}])}function On(){return Jt(8,[bn.tD,{provide:bn.c1,useExisting:bn.tD}])}},4257(vt,Y,i){i.d(Y,{K:()=>c});var h=i(4951);function b(C){return C.filter(T=>T).map(T=>T.message||"Error message not found.").join("\n")}let c=(()=>
503{class C extends Error{static is(y){return(0,h.t)(y,"CombinedGraphQLErrors")}static formatMessage=b;errors;data;extensions;constructor(y,O=y.errors||[]){super(C.formatMessage(O,{result:y,defaultFormatMessage:b})),this.errors=O,this.data=y.data,this.extensions=y.extensions,this.name="CombinedGraphQLErrors",(0,h.w)(this),Object.setPrototypeOf(this,C.prototype)}}return C})()},4951(vt,Y,i){function h(c,C){return"object"==typeof c&&null!==c&&c[Symbol.for("apollo.error")]===C}function b(c){Object.defineProperty(c,Symbol.for("apollo.error"),{value:c.name,enumerable:!1,writable:!1,configurable:!1})}i.d(Y,{t:()=>h,w:()=>b})},4639(vt,Y,i){i.d(Y,{C:()=>O});var h=i(983),b=i(5459),c=i(2517),T=i(3156),y=i(4236);class O{static empty(){return new O(()=>h.w)}static from(w){if(0===w.length)return O.empty();const[v,...D]=w;return v.concat(...D)}static split(w,v,D=new O((m,u)=>u(m))){const m=new O((u,W)=>{const z=w(u);return T.g&&"boolean"!=typeof z&&T.g&&y.V1.warn(63,z),z?v.request(u,W):D.request(u,W)});return Object.assign(m,{left:v,right:D})}static execute(w,v,D){return w.request(function C(k,{client:w}){const v={query:k.query,variables:k.variables||{},extensions:k.extensions||{},operationName:(0,b.n)(k.query),operationType:(0,c.V)(k.query).operation};let D={...k.context};const u=()=>Object.freeze({...D});return Object.defineProperty(v,"setContext",{enumerable:!1,value:W=>{D="function"==typeof W?{...D,...W(u())}:{...D,...W}}}),Object.defineProperty(v,"getContext",{enumerable:!1,value:u}),Object.defineProperty(v,"client",{enumerable:!1,value:w}),v}(v,D),()=>(T.g&&T.g&&y.V1.warn(64),h.w))}static concat(...w){return O.from(w)}constructor(w){w&&(this.request=w)}split(w,v,D){return this.concat(O.split(w,v,D))}concat(...w){return 0===w.length?this:w.reduce(this.combine.bind(this),this)}combine(w,v){const D=new O((m,u)=>w.request(m,W=>v.request(W,u)));return Object.assign(D,{left:w,right:v})}request(w,v){throw(0,y.vA)(65)}left;right}},6882(vt,Y,i){i.d(Y,{s:()=>y,y:()=>T});var h=i(1955),b=i(9163),c=i(3156),C=i(4236);const T=new b.DX;function y(O){const k=O.directives?.find(({name:v})=>"unmask"===v.value);if(!k)return"mask";const w=k.arguments?.find(({name:v})=>"mode"===v.value);return c.g&&w&&(w.value.kind===h.b.VARIABLE?c.g&&C.V1.warn(44):w.value.kind!==
503h.b.STRING?c.g&&C.V1.warn(45):"migrate"!==w.value.value&&c.g&&C.V1.warn(46,w.value.value)),w&&"value"in w.value&&"migrate"===w.value.value?"migrate":"unmask"}},2151(vt,Y,i){i.d(Y,{v:()=>c});const c={...i(4587).A[Symbol.for("apollo.cacheSize")]}},3156(vt,Y,i){i.d(Y,{g:()=>h});const h=!1},8926(vt,Y,i){i.d(Y,{c:()=>k});var h=i(9055),b=i(4420),c=i(9163),C=i(4984),T=i(4236),y=i(2151);function O(w){return w}class k{transform;cached;resultCache=new WeakSet;getCacheKey(v){return[v]}static identity(){return new k(O,{cache:!1})}static split(v,D,m=k.identity()){return Object.assign(new k(u=>(v(u)?D:m).transformDocument(u),{cache:!1}),{left:D,right:m})}constructor(v,D={}){this.transform=v,D.getCacheKey&&(this.getCacheKey=D.getCacheKey),this.cached=!1!==D.cache,this.resetCache()}resetCache(){if(this.cached){const v=new b.b;this.performWork=(0,c.LV)(k.prototype.performWork.bind(this),{makeCacheKey:D=>{const m=this.getCacheKey(D);if(m)return(0,T.V1)(Array.isArray(m),20),v.lookupArray(m)},max:y.v["documentTransform.cache"],cache:h.l})}}performWork(v){return(0,C.s)(v),this.transform(v)}transformDocument(v){if(this.resultCache.has(v))return v;const D=this.performWork(v);return this.resultCache.add(D),D}concat(v){return Object.assign(new k(D=>v.transformDocument(this.transformDocument(D)),{cache:!1}),{left:this,right:v})}left;right}},1658(vt,Y,i){i.d(Y,{y:()=>O});var h=i(3246),b=i(3156),c=i(9578),C=i(3326),T=i(2151);let y;const O=Object.assign(k=>{let w=y.get(k);return w||(w=(0,h.y)(k),y.set(k,w)),w},{reset(){y=new C.A(T.v.print||2e3)}});O.reset(),b.g&&(0,c.D_)("print",()=>y?y.size:0)},3326(vt,Y,i){i.d(Y,{A:()=>T,V:()=>y});var h=i(6476),b=i(9055);const c=new WeakSet;function C(O){O.size<=(O.max||-1)||c.has(O)||(c.add(O),setTimeout(()=>{O.clean(),c.delete(O)},100))}const T=function(O,k){const w=new b.l(O,k);return w.set=function(v,D){const m=b.l.prototype.set.call(this,v,D);return C(this),m},w},y=function(O,k){const w=new h.C(O,k);return w.set=function(v,D){const m=h.C.prototype.set.call(this,v,D);return C(this),m},w}},1962(vt,Y,i){i.d(Y,{M:()=>T});var h=i(3156),b=i(2151),c=i(3326),C=i(9578);const T=Object.assign(function(v){return JSON.stringify(v,O)},{reset(){y=new c.V(b.v.canonicalStringify||1e3)}});let y;function O(w,v){if(v&&"object"==typeof v){const D=Object.getPrototypeOf(v);if(D===Object.prototype||null===D){const m=Object.keys(v);if(m.every(k))return v;const u=JSON.stringify(m);let W=y.get(u);if(!W){m.sort();const se=JSON.stringify(m);W=y.get(se)||m,y.set(u,W),y.set(se,W)}const z=Object.create(D);return W.forEach(se=>{z[se]=v[se]}),z}}return v}function k(w,v,D){return 0===v||D[v-1]<=w}h.g&&(0,C.D_)("canonicalStringify",()=>y.size),T.reset()},4984(vt,Y,i){i.d(Y,{s:()=>k});var h=i(1955),b=i(8540),c=i(3156),C=i(4236),T=i(2151),y=i(5459);const k=(0,i(5265).B)((w,v)=>{(0,C.V1)(w&&"Document"===w.kind,1);const D=w.definitions.filter(m=>"OperationDefinition"===m.kind);c.g&&(w.definitions.forEach(m=>{if("OperationDefinition"!==m.kind&&"FragmentDefinition"!==m.kind)throw(0,C.vA)(2,m.kind)}),(0,C.V1)(D.length<=1,3,D.length)),v&&(0,C.V1)(1==D.length&&D[0].operation===v,4,v,v,D[0].operation),(0,b.YR)(w,{Field(m,u,W,z){if(m.alias&&("__typename"===m.alias.value||m.alias.value.startsWith("__ac_"))&&m.alias.value!==m.name.value){let se=w,G=[];for(const le of z)se=se[le],se.kind===h.b.FIELD&&G.push(se.alias?.value||se.name.value);throw G.splice(-1,1,m.name.value),(0,C.vA)(5,m.alias.value,G.join("."),D[0].operation,(0,y.n)(w,"(anonymous)"))}}})},{max:T.v.checkDocument||2e3})},6576(vt,Y,i){function h(...b){const c={};return b.forEach(C=>{C&&Reflect.ownKeys(C).forEach(T=>{const y=C[T];void 0!==y&&(c[T]=y)})}),c}i.d(Y,{o:()=>h})},6452(vt,Y,i){i.d(Y,{DH:()=>b,X:()=>h,_K:()=>c});const h=Symbol.for("apollo.result.extensions"),b=Symbol.for("apollo.result.streamInfo"),c=Symbol.for("apollo.observableQuery.variablesUnknown")},2123(vt,Y,i){function h(b=[]){const c={};return b.forEach(C=>{c[C.name.value]=C}),c}i.d(Y,{J:()=>h})},626(vt,Y,i){i.d(Y,{a:()=>w});var h=i(9860),b=i(2123),c=i(3791),C=i(5631),T=i(521),y=i(9089),O=i(5932),k=i(944);function w(u,{data:W,...z},{data:se,...G},le){return(0,h.L)(z,G)&&v((0,T.V)(u).selectionSet,W,se,{fragmentMap:(0,b.J)((0,c.z)(u)),variables:le})}function v(u,W,z,se){if(W===z)return!0;const G=new Set;return u.selections.every(le=>{if(G.has(le)||(G.add(le),!(0,k.M)(le,se.variables))||D(le))return!0;
503if((0,y.d)(le)){const _=(0,O.u)(le),ge=W&&W[_],q=z&&z[_],Te=le.selectionSet;if(!Te)return(0,h.L)(ge,q);const Be=Array.isArray(ge),we=Array.isArray(q);if(Be!==we)return!1;if(Be&&we){const X=ge.length;if(q.length!==X)return!1;for(let ye=0;ye<X;++ye)if(!v(Te,ge[ye],q[ye],se))return!1;return!0}return v(Te,ge,q,se)}{const _=(0,C.H)(le,se.fragmentMap);if(_)return!!D(_)||v(_.selectionSet,W,z,se)}})}function D(u){return!!u.directives&&u.directives.some(m)}function m(u){return"nonreactive"===u.name.value}},7806(vt,Y,i){i.d(Y,{w:()=>b});var h=i(3115);function b(c){const C={},T=c&&c.variableDefinitions;return T&&T.length&&T.forEach(y=>{y.defaultValue&&(0,h.J)(C,y.variable.name,y.defaultValue)}),C}},752(vt,Y,i){i.d(Y,{E:()=>b});var h=i(4236);function b(c){(0,h.V1)("Document"===c.kind,6),(0,h.V1)(c.definitions.length<=1,7);const C=c.definitions[0];return(0,h.V1)("FragmentDefinition"===C.kind,8),C}},3791(vt,Y,i){function h(b){return b.definitions.filter(c=>"FragmentDefinition"===c.kind)}i.d(Y,{z:()=>h})},5631(vt,Y,i){i.d(Y,{H:()=>b});var h=i(4236);function b(c,C){switch(c.kind){case"InlineFragment":return c;case"FragmentSpread":{const T=c.name.value;if("function"==typeof C)return C(T);const y=C&&C[T];return(0,h.V1)(y,9,T),y||null}default:return null}}},521(vt,Y,i){i.d(Y,{V:()=>c});var h=i(4236),b=i(4984);function c(C){let T;(0,b.s)(C);for(let y of C.definitions){if("OperationDefinition"===y.kind)return y;"FragmentDefinition"===y.kind&&!T&&(T=y)}if(T)return T;throw(0,h.vA)(12)}},9578(vt,Y,i){i.d(Y,{D_:()=>C});const c={};function C(le,_){c[le]=_}},2517(vt,Y,i){i.d(Y,{V:()=>b});var h=i(4984);function b(c){return(0,h.s)(c),c.definitions.filter(C=>"OperationDefinition"===C.kind)[0]}},5459(vt,Y,i){function h(b,c){return b.definitions.find(C=>"OperationDefinition"===C.kind&&!!C.name)?.name.value??c}i.d(Y,{n:()=>h})},4804(vt,Y,i){i.d(Y,{A:()=>c});var h=i(4236),b=i(2517);function c(C){const T=(0,b.V)(C);return(0,h.V1)(T&&"query"===T.operation,13),T}},4587(vt,Y,i){function h(c){try{return c()}catch{}}i.d(Y,{A:()=>b});const b=h(()=>globalThis)||h(()=>window)||h(()=>self)||h(()=>global)||h(function(){return h.constructor("return this")()})},3303(vt,Y,i){i.d(Y,{d:()=>b});var h=i(8540);function b(c,C,T){const y=new Set(c),O=y.size;return(0,h.YR)(C,{Directive(k){if(y.delete(k.name.value)&&(!T||!y.size))return h.sP}}),T?!y.size:y.size<O}},9412(vt,Y,i){function h(){throw new Error("only supported in development mode")}i.d(Y,{cM:()=>C,ep:()=>c,tQ:()=>b});const b=h,c=h,C=h},3896(vt,Y,i){i.d(Y,{c:()=>h});const h=Array.isArray},9089(vt,Y,i){function h(b){return"Field"===b.kind}i.d(Y,{d:()=>h})},5180(vt,Y,i){function h(b){return Array.isArray(b)&&b.length>0}i.d(Y,{E:()=>h})},3152(vt,Y,i){function h(b){return null!==b&&"object"==typeof b}i.d(Y,{U:()=>h})},9745(vt,Y,i){i.d(Y,{v:()=>b});const h=new Map;function b(c){const C=h.get(c)||1;return h.set(c,C+1),`${c}:${C}:${Math.random().toString(36).slice(2)}`}},3306(vt,Y,i){i.d(Y,{Q:()=>T});var h=i(6354),b=i(4668);const T=(0,i(5265).B)(function(O,k,w){return function C(y,O){let k,w;function v(D){return D!==k&&(k=D,w=O(k)),w}return Object.assign(y.pipe((0,h.T)(v),(0,b.t)({bufferSize:1,refCount:!0})),{getCurrentResult:()=>v(y.getCurrentResult())})}(O,w)},{max:1,makeCacheKey:y=>y.slice(0,2)})},9880(vt,Y,i){i.d(Y,{G:()=>T});var h=i(3156),b=i(3152);function T(y){return h.g&&function c(y){const O=new Set([y]);return O.forEach(k=>{(0,b.U)(k)&&function C(y){if(h.g&&!Object.isFrozen(y))try{Object.freeze(y)}catch(O){if(O instanceof TypeError)return null;throw O}return y}(k)===k&&Object.getOwnPropertyNames(k).forEach(w=>{(0,b.U)(k[w])&&O.add(k[w])})}),y}(y),y}},5265(vt,Y,i){i.d(Y,{B:()=>c});var h=i(4420),b=i(3326);function c(C,{max:T,makeCacheKey:y=O=>O}){const O=new h.b(!0),k=new b.A(T);return(...w)=>{const v=O.lookupArray(y(w)),D=k.get(v);if(D){if(D.error)throw D.error;return D.result}const m=k.set(v,{});try{return m.result=C(...w)}catch(u){throw m.error=u,u}}}},5932(vt,Y,i){function h(b){return b.alias?b.alias.value:b.name.value}i.d(Y,{u:()=>h})},944(vt,Y,i){i.d(Y,{M:()=>b});var h=i(4236);function b({directives:T},y){return!T||!T.length||function C(T){const y=[];return T&&T.length&&T.forEach(O=>{if(!function c({name:{value:T}}){return"skip"===T||"include"===T}(O))return;const k=O.arguments,w=O.name.value;(0,h.V1)(k&&1===k.length,16,w);const v=k[0];(0,h.V1)(v.name&&"if"===v.name.value,17,w);const D=v.value;(0,h.V1)(D&&("Variable"===D.kind||"BooleanValue"===D.kind),18,w),y.push({directive:O,ifArgument:v})}),y}(T).every(({directive:O,ifArgument:k})=>{let w=!1;return"Variable"===k.value.kind?(w=y&&y[k.value.name.value],(0,h.V1)(void 0!==w,15,O.name.value)):w=k.value.value,"skip"===O.name.value?!w:w})}},9199(vt,Y,i){i.d(Y,{p:()=>b});var h=i(9745);function b(c,C=0){const T=(0,h.v)("stringifyForDisplay");return JSON.stringify(c,(y,O)=>void 0===O?T:O,C).split(JSON.stringify(T)).join("<undefined>")}},3115(vt,Y,i){i.d(Y,{J:()=>c});var h=i(1955),b=i(4236);function c(C,T,y,O){if(y.kind===h.b.INT||y.kind===h.b.FLOAT)C[T.value]=Number(y.value);else if(y.kind===h.b.BOOLEAN||y.kind===h.b.STRING)C[T.value]=y.value;else if(y.kind===h.b.OBJECT){const k={};y.fields.map(w=>c(k,w.name,w.value,O)),C[T.value]=k}else if(y.kind===h.b.VARIABLE)C[T.value]=(O||{})[y.name.value];else if(y.kind===h.b.LIST)C[T.value]=y.values.map(k=>{const w={};return c(w,T,k,O),w[T.value]});else if(y.kind===h.b.ENUM)C[T.value]=y.value;else{if(y.kind!==h.b.NULL)throw(0,b.vA)(19,T.value,y.kind);C[T.value]=null}}},4236(vt,Y,i){i.d(Y,{V1:()=>w,vA:()=>m});var h=i(3156),b=i(4587),c=i(560),C=i(9199);const T="Invariant Violation";
503class y extends Error{constructor(le=T){super(le),this.name=T,Object.setPrototypeOf(this,y.prototype)}}const O=["debug","log","warn","error","silent"];let k=O.indexOf(h.g?"log":"silent");function w(G,...le){if(!G)throw m(...le)}function v(G){return function(le,..._){if(O.indexOf(G)>=k){const ge=console[G]||console.log;if("number"==typeof le){const q=le;(le=z(q))||(le=se(q,_),_=[])}ge(le,..._)}}}function m(G,...le){return new y(z(G,le)||se(G,le))}w.debug=v("debug"),w.log=v("log"),w.warn=v("warn"),w.error=v("error");const u=Symbol.for("ApolloErrorMessageHandler_"+c.r);function W(G){if("string"==typeof G)return G;try{return(0,C.p)(G,2).slice(0,1e3)}catch{return"<non-serializable>"}}function z(G,le=[]){if(G)return b.A[u]&&b.A[u](G,le.map(W))}function se(G,le=[]){if(G)return"string"==typeof G?le.reduce((_,ge)=>_.replace(/%[sdfo]/,W(ge)),G):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:c.r,message:G,args:le.map(W)}))}`}},560(vt,Y,i){i.d(Y,{r:()=>h});const h="4.1.9"},8018(vt,Y,i){i.d(Y,{D8:()=>Yt,D9:()=>M,Wr:()=>X,c$:()=>ot,h:()=>zt});var y=i(5547),O=i(5802),k=i(7705),w=i(1413),v=i(4402),D=i(8793),m=i(9030),u=i(7468),W=i(7673),z=i(274),se=i(6354),G=i(4668),le=i(5558),_=i(6697);class q{}let Te=(()=>{class Oe{handle(o){return o.key}static \u0275fac=function(it){return new(it||Oe)};static \u0275prov=O.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();class Be{}let we=(()=>{class Oe extends Be{compile(o,it){return o}compileTranslations(o,it){return o}static \u0275fac=(()=>{let o;return function(nn){return(o||(o=y.xGo(Oe)))(nn||Oe)}})();static \u0275prov=O.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();class X{}let ye=(()=>{class Oe extends X{getTranslation(o){return(0,W.of)({})}static \u0275fac=(()=>{let o;return function(nn){return(o||(o=y.xGo(Oe)))(nn||Oe)}})();static \u0275prov=O.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();function Q(Oe,Mt){if(Oe===Mt)return!0;if(null===Oe||null===Mt)return!1;if(Oe!=Oe&&Mt!=Mt)return!0;const o=typeof Oe;let nn;if(o==typeof Mt&&"object"==o)if(Array.isArray(Oe)){if(!Array.isArray(Mt))return!1;if((nn=Oe.length)==Mt.length){for(let tn=0;tn<nn;tn++)if(!Q(Oe[tn],Mt[tn]))return!1;return!0}}else{if(Array.isArray(Mt))return!1;if(_e(Oe)&&_e(Mt)){const tn=Object.create(null);for(const xn in Oe){if(!Q(Oe[xn],Mt[xn]))return!1;tn[xn]=!0}for(const xn in Mt)if(!(xn in tn)&&typeof Mt[xn]<"u")return!1;return!0}}return!1}function ae(Oe){return typeof Oe<"u"&&null!==Oe}function H(Oe){return void 0!==Oe}function _e(Oe){return We(Oe)&&!ht(Oe)&&null!==Oe}function We(Oe){return"object"==typeof Oe&&null!==Oe}function ht(Oe){return Array.isArray(Oe)}function Vt(Oe){return"string"==typeof Oe}function Et(Oe){if(ht(Oe))return Oe.map(Mt=>Et(Mt));if(_e(Oe)){const Mt={};return Object.keys(Oe).forEach(o=>{Mt[o]=Et(Oe[o])}),Mt}return Oe}function Gt(Oe,Mt){if(!We(Oe))return Et(Mt);const o=Et(Oe);return We(o)&&We(Mt)&&Object.keys(Mt).forEach(it=>{_e(Mt[it])?it in Oe?o[it]=Gt(Oe[it],Mt[it]):Object.assign(o,{[it]:Mt[it]}):Object.assign(o,{[it]:Mt[it]})}),o}function at(Oe,Mt){const o=Mt.split(".");Mt="";do{Mt+=o.shift();const it=!o.length;if(ae(Oe)){if(_e(Oe)&&H(Oe[Mt])&&(_e(Oe[Mt])||ht(Oe[Mt])||it)){Oe=Oe[Mt],Mt="";continue}if(ht(Oe)){const nn=parseInt(Mt,10);if(H(Oe[nn])&&(_e(Oe[nn])||ht(Oe[nn])||it)){Oe=Oe[nn],Mt="";continue}}}it?Oe=void 0:Mt+="."}while(o.length);return Oe}class Ne{}let Ae=(()=>{class Oe extends Ne{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(o,it){return Vt(o)?this.interpolateString(o,it):function an(Oe){return"function"==typeof Oe}(o)?this.interpolateFunction(o,it):void 0}interpolateFunction(o,it){return o(it)}interpolateString(o,it){return it?o.replace(this.templateMatcher,(nn,tn)=>{const xn=this.getInterpolationReplacement(it,tn);return void 0!==xn?xn:nn}):o}getInterpolationReplacement(o,it){return this.formatValue(at(o,it))}formatValue(o){return Vt(o)?o:"number"==typeof o||"boolean"==typeof o?o.toString():null===o?"null":ht(o)?o.join(", "):We(o)?"function"==typeof o.toString&&o.toString!==Object.prototype.toString?o.toString():JSON.stringify(o):void 0}static \u0275fac=(()=>{let o;return function(nn){return(o||(o=y.xGo(Oe)))(nn||Oe)}})();static \u0275prov=O.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})(),qe=(()=>{class Oe{_onTranslationChange=new w.B;_onLangChange=new w.B;_onFallbackLangChange=new w.B;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(o){return this.translations[o]}setTranslations(o,it,nn){this.translations[o]=nn&&this.hasTranslationFor(o)?Gt(this.translations[o],it):it,this.addLanguages([o]),this._onTranslationChange.next({lang:o,translations:this.getTranslations(o)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(o,it=!0){this.fallbackLang=o,it&&this._onFallbackLangChange.next({lang:o,translations:this.translations[o]})}setCurrentLang(o,it=!0){this.currentLang=o,it&&this._onLangChange.next({lang:o,translations:this.translations[o]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(o){this.languages=Array.from(new Set([...this.languages,...o]))}hasTranslationFor(o){return typeof this.translations[o]<"u"}deleteTranslations(o){delete this.translations[o]}getTranslation(o){let it=this.getValue(this.currentLang,o);return void 0===it&&null!=this.fallbackLang&&this.fallbackLang!==this.currentLang&&(it=this.getValue(this.fallbackLang,o)),it}getValue(o,it){return at(this.getTranslations(o),it)}static \u0275fac=function(it){return new(it||Oe)};static \u0275prov=O.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();const tt=new O.nKC("TRANSLATE_CONFIG"),pt=Oe=>(0,v.A)(Oe)?Oe:(0,W.of)(Oe);let ot=(()=>{class Oe{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=(0,O.WQX)(X);compiler=(0,O.WQX)(Be);parser=(0,O.WQX)(Ne);missingTranslationHandler=(0,O.WQX)(q);store=(0,O.WQX)(qe);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){const o={extend:!1,fallbackLang:null,...(0,O.WQX)(tt,{optional:!0})};o.lang&&this.use(o.lang),o.fallbackLang&&this.setFallbackLang(o.fallbackLang),o.extend&&(this.extend=!0)}setFallbackLang(o){this.getFallbackLang()||this.store.setFallbackLang(o,!1);const it=this.loadOrExtendLanguage(o);return(0,v.A)(it)?(it.pipe((0,_.s)(1)).subscribe({next:()=>{this.store.setFallbackLang(o)},error:()=>{}}),it):(this.store.setFallbackLang(o),(0,W.of)(this.store.getTranslations(o)))}use(o){this.lastUseLanguage=o,this.getCurrentLang()||this.store.setCurrentLang(o,!1);const it=this.loadOrExtendLanguage(o);return(0,v.A)(it)?(it.pipe((0,_.s)(1)).subscribe({next:()=>{this.changeLang(o)},error:()=>{}}),it):(this.changeLang(o),(0,W.of)(this.store.getTranslations(o)))}loadOrExtendLanguage(o){if(!this.store.hasTranslationFor(o)||this.extend)return this._translationRequests[o]=this._translationRequests[o]||this.loadAndCompileTranslations(o),this._translationRequests[o]}changeLang(o){o===this.lastUseLanguage&&this.store.setCurrentLang(o)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(o){this.pending=!0;const it=this.currentLoader.getTranslation(o).pipe((0,G.t)(1),(0,_.s)(1));return this.loadingTranslations=it.pipe((0,se.T)(nn=>this.compiler.compileTranslations(nn,o)),(0,G.t)(1),(0,_.s)(1)),this.loadingTranslations.subscribe({next:nn=>{this.store.setTranslations(o,nn,this.extend),this.pending=!1},error:nn=>{this.pending=!1}}),it}setTranslation(o,it,nn=!1){const tn=this.compiler.compileTranslations(it,o);this.store.setTranslations(o,tn,nn||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(o){this.store.addLanguages(o)}getParsedResultForKey(o,it){const nn=this.getTextToInterpolate(o);if(ae(nn))return this.runInterpolation(nn,it);const tn=this.missingTranslationHandler.handle({key:o,translateService:this,...void 0!==it&&{interpolateParams:it}});return void 0!==tn?tn:o}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(o){return this.store.getTranslation(o)}runInterpolation(o,it){if(ae(o))return ht(o)?this.runInterpolationOnArray(o,it):_e(o)?this.runInterpolationOnDict(o,it):this.parser.interpolate(o,it)}runInterpolationOnArray(o,it){return o.map(nn=>this.runInterpolation(nn,it))}runInterpolationOnDict(o,it){const nn={};for(const tn in o){const xn=this.runInterpolation(o[tn],it);void 0!==xn&&(nn[tn]=xn)}return nn}getParsedResult(o,it){return o instanceof Array?this.getParsedResultForArray(o,it):this.getParsedResultForKey(o,it)}getParsedResultForArray(o,it){const nn={};let tn=!1;for(const bn of o)nn[bn]=this.getParsedResultForKey(bn,it),tn=tn||(0,v.A)(nn[bn]);if(!tn)return nn;const xn=o.map(bn=>pt(nn[bn]));return(0,u.p)(xn).pipe((0,se.T)(bn=>{const pr={};
503return bn.forEach((Tr,ir)=>{pr[o[ir]]=Tr}),pr}))}get(o,it){if(!ae(o)||!o.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe((0,z.H)(()=>pt(this.getParsedResult(o,it)))):pt(this.getParsedResult(o,it))}getStreamOnTranslationChange(o,it){if(!ae(o)||!o.length)throw new Error('Parameter "key" is required and cannot be empty');return(0,D.x)((0,m.v)(()=>this.get(o,it)),this.onTranslationChange.pipe((0,le.n)(()=>{const nn=this.getParsedResult(o,it);return pt(nn)})))}stream(o,it){if(!ae(o)||!o.length)throw new Error('Parameter "key" required');return(0,D.x)((0,m.v)(()=>this.get(o,it)),this.onLangChange.pipe((0,le.n)(()=>{const nn=this.getParsedResult(o,it);return pt(nn)})))}instant(o,it){if(!ae(o)||0===o.length)throw new Error('Parameter "key" is required and cannot be empty');const nn=this.getParsedResult(o,it);return(0,v.A)(nn)?Array.isArray(o)?o.reduce((tn,xn)=>(tn[xn]=xn,tn),{}):o:nn}set(o,it,nn=this.getCurrentLang()){this.store.setTranslations(nn,function Le(Oe,Mt,o){return Gt(Oe,function He(Oe,Mt){return Oe.split(".").reduceRight((o,it)=>({[it]:o}),Mt)}(Mt,o))}(this.store.getTranslations(nn),o,Vt(it)?this.compiler.compile(it,nn):this.compiler.compileTranslations(it,nn)),!1)}reloadLang(o){return this.resetLang(o),this.loadAndCompileTranslations(o)}resetLang(o){delete this._translationRequests[o],this.store.deleteTranslations(o)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;const o=this.getBrowserCultureLang();return o?o.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return Oe.getBrowserLang()}getBrowserCultureLang(){return Oe.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(o){return this.setFallbackLang(o)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(it){return new(it||Oe)};static \u0275prov=O.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})(),M=(()=>{class Oe{translate=(0,O.WQX)(ot);_ref=(0,O.WQX)(k.gRc);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;
503updateValue(o,it,nn){const tn=xn=>{this.value=void 0!==xn?xn:o,this.lastKey=o,this._ref.markForCheck()};if(nn){const xn=this.translate.getParsedResult(o,it);(0,v.A)(xn)?xn.subscribe(tn):tn(xn)}this.translate.get(o,it).subscribe(tn)}transform(o,...it){if(!o||!o.length)return o;if(Q(o,this.lastKey)&&Q(it,this.lastParams))return this.value;let nn;if(ae(it[0])&&it.length)if(Vt(it[0])&&it[0].length){const tn=it[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{nn=JSON.parse(tn)}catch(xn){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${it[0]}`)}}else _e(it[0])&&(nn=it[0]);return this.lastKey=o,this.lastParams=it,this.updateValue(o,nn),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(tn=>{(this.lastKey&&tn.lang===this.translate.getCurrentLang()||tn.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(o,nn,tn.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(tn=>{this.lastKey&&(this.lastKey=null,this.updateValue(o,nn,tn.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(o,nn))})),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.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(it){return new(it||Oe)};static \u0275pipe=y.EJ8({name:"translate",type:Oe,pure:!1});static \u0275prov=O.jDH({token:Oe,factory:Oe.\u0275fac})}return Oe})();function gt(Oe){return{provide:X,useClass:Oe}}function pe(Oe){return{provide:Be,useClass:Oe}}function lt(Oe){return{provide:Ne,useClass:Oe}}function Rt(Oe){return{provide:q,useClass:Oe}}function Yt(Oe={}){return jt({compiler:pe(we),parser:lt(Ae),loader:gt(ye),missingTranslationHandler:Rt(Te),...Oe},!0)}function jt(Oe={},Mt){const o=[];return Oe.loader&&o.push(Oe.loader),Oe.compiler&&o.push(Oe.compiler),Oe.parser&&o.push(Oe.parser),Oe.missingTranslationHandler&&o.push(Oe.missingTranslationHandler),Mt&&o.push(qe),(Oe.useDefaultLang||Oe.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),!0===Oe.useDefaultLang&&Oe.defaultLanguage&&(Oe.fallbackLang=Oe.defaultLanguage)),o.push({provide:tt,useValue:{fallbackLang:Oe.fallbackLang??null,lang:Oe.lang,extend:Oe.extend??!1}}),o.push({provide:ot,useClass:ot,deps:[qe,X,Be,Ne,q,tt]}),o}let zt=(()=>{class Oe{static forRoot(o={}){return{ngModule:Oe,providers:[...jt({compiler:pe(we),parser:lt(Ae),loader:gt(ye),missingTranslationHandler:Rt(Te),...o},!0)]}}static forChild(o={}){return{ngModule:Oe,providers:[...jt(o,o.isolate??!1)]}}static \u0275fac=function(it){return new(it||Oe)};static \u0275mod=y.$C({type:Oe});static \u0275inj=O.G2t({})}return Oe})()},6476(vt,Y,i){function h(){}i.d(Y,{C:()=>b});class b{constructor(C=1/0,T=h){this.max=C,this.dispose=T,this.map=new Map,this.newest=null,this.oldest=null}has(C){return this.map.has(C)}get(C){const T=this.getNode(C);return T&&T.value}get size(){return this.map.size}getNode(C){const T=this.map.get(C);if(T&&T!==this.newest){const{older:y,newer:O}=T;O&&(O.older=y),y&&(y.newer=O),T.older=this.newest,T.older.newer=T,T.newer=null,this.newest=T,T===this.oldest&&(this.oldest=O)}return T}set(C,T){let y=this.getNode(C);return y?y.value=T:(y={key:C,value:T,newer:null,older:this.newest},this.newest&&(this.newest.newer=y),this.newest=y,this.oldest=this.oldest||y,this.map.set(C,y),y.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(C){const T=this.map.get(C);return!!T&&(T===this.newest&&(this.newest=T.older),T===this.oldest&&(this.oldest=T.newer),T.newer&&(T.newer.older=T.older),T.older&&(T.older.newer=T.newer),this.map.delete(C),this.dispose(T.value,C),!0)}}},9055(vt,Y,i){function h(){}i.d(Y,{l:()=>O});const b=h,c=typeof WeakRef<"u"?WeakRef:function(k){return{deref:()=>k}},C=typeof WeakMap<"u"?WeakMap:Map,T=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:h,unregister:h}};class O{constructor(w=1/0,v=b){this.max=w,this.dispose=v,this.map=new C,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const D=this.unfinalizedNodes.values();for(let m=0;m<10024;m++){const u=D.next().value;if(!u)break;this.unfinalizedNodes.delete(u);const W=u.key;delete u.key,u.keyRef=new c(W),this.registry.register(W,u,u)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new T(this.deleteNode.bind(this))}has(w){return this.map.has(w)}get(w){const v=this.getNode(w);return v&&v.value}getNode(w){const v=this.map.get(w);if(v&&v!==this.newest){const{older:D,newer:m}=v;m&&(m.older=D),D&&(D.newer=m),v.older=this.newest,v.older.newer=v,v.newer=null,this.newest=v,v===this.oldest&&(this.oldest=m)}return v}set(w,v){let D=this.getNode(w);return D?D.value=v:(D={key:w,value:v,newer:null,older:this.newest},this.newest&&(this.newest.newer=D),this.newest=D,this.oldest=this.oldest||D,this.scheduleFinalization(D),this.map.set(w,D),this.size++,D.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(w){w===this.newest&&(this.newest=w.older),w===this.oldest&&(this.oldest=w.newer),w.newer&&(w.newer.older=w.older),w.older&&(w.older.newer=w.newer),this.size--;const v=w.key||w.keyRef&&w.keyRef.deref();this.dispose(w.value,v),w.keyRef?this.registry.unregister(w):this.unfinalizedNodes.delete(w),v&&this.map.delete(v)}delete(w){const v=this.map.get(w);return!!v&&(this.deleteNode(v),!0)}scheduleFinalization(w){this.unfinalizedNodes.add(w),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},9860(vt,Y,i){i.d(Y,{L:()=>T});const{toString:h,hasOwnProperty:b}=Object.prototype,c=Function.prototype.toString,C=new Map;function T(u,W){try{return O(u,W)}finally{C.clear()}}function O(u,W){if(u===W)return!0;const z=h.call(u);if(z!==h.call(W))return!1;switch(z){case"[object Array]":if(u.length!==W.length)return!1;case"[object Object]":{if(m(u,W))return!0;const G=k(u),le=k(W),_=G.length;if(_!==le.length)return!1;for(let ge=0;ge<_;++ge)if(!b.call(W,G[ge]))return!1;for(let ge=0;ge<_;++ge){const q=G[ge];
503if(!O(u[q],W[q]))return!1}return!0}case"[object Error]":return u.name===W.name&&u.message===W.message;case"[object Number]":if(u!=u)return W!=W;case"[object Boolean]":case"[object Date]":return+u==+W;case"[object RegExp]":case"[object String]":return u==`${W}`;case"[object Map]":case"[object Set]":{if(u.size!==W.size)return!1;if(m(u,W))return!0;const G=u.entries(),le="[object Map]"===z;for(;;){const _=G.next();if(_.done)break;const[ge,q]=_.value;if(!W.has(ge)||le&&!O(q,W.get(ge)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":u=new Uint8Array(u),W=new Uint8Array(W);case"[object DataView]":{let G=u.byteLength;if(G===W.byteLength)for(;G--&&u[G]===W[G];);return-1===G}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const G=c.call(u);return G===c.call(W)&&!function D(u,W){const z=u.length-W.length;return z>=0&&u.indexOf(W,z)===z}(G,v)}}return!1}function k(u){return Object.keys(u).filter(w,u)}function w(u){return void 0!==this[u]}const v="{ [native code] }";function m(u,W){let z=C.get(u);if(z){if(z.has(W))return!0}else C.set(u,z=new Set);return z.add(W),!1}},4420(vt,Y,i){i.d(Y,{b:()=>T});const h=()=>Object.create(null),{forEach:b,slice:c}=Array.prototype,{hasOwnProperty:C}=Object.prototype;class T{constructor(k=!0,w=h){this.weakness=k,this.makeData=w}lookup(){return this.lookupArray(arguments)}lookupArray(k){let w=this;return b.call(k,v=>w=w.getChildTrie(v)),C.call(w,"data")?w.data:w.data=this.makeData(c.call(k))}peek(){return this.peekArray(arguments)}peekArray(k){let w=this;for(let v=0,D=k.length;w&&v<D;++v){const m=w.mapFor(k[v],!1);w=m&&m.get(k[v])}return w&&w.data}remove(){return this.removeArray(arguments)}removeArray(k){let w;if(k.length){const v=k[0],D=this.mapFor(v,!1),m=D&&D.get(v);m&&(w=m.removeArray(c.call(k,1)),!m.data&&!m.weak&&(!m.strong||!m.strong.size)&&D.delete(v))}else w=this.data,delete this.data;return w}getChildTrie(k){const w=this.mapFor(k,!0);let v=w.get(k);return v||w.set(k,v=new T(this.weakness,this.makeData)),v}mapFor(k,w){return this.weakness&&function y(O){switch(typeof O){case"object":if(null===O)break;case"function":return!0}return!1}(k)?this.weak||(w?this.weak=new WeakMap:void 0):this.strong||(w?this.strong=new Map:void 0)}}},5125(vt,Y,i){i.d(Y,{TC:()=>Kr,ax:()=>F});var h=i(4523),b=i(5547),c=i(5802),C=i(3794),T=i(1413),y=i(7673),O=i(2806),k=i(1985),w=i(8750);const{isArray:v}=Array;var m=i(4360);var z=i(8810),se=i(4572),G=i(7786),le=i(5964),_=i(8141),ge=i(152),q=i(1986),Te=i(5558),Be=i(6354),we=i(1594),X=i(9437),ye=i(2087),Q=i(6697),ae=i(1397);class ht{validateSignature(wt){return Promise.resolve(null)}validateAtHash(wt){return Promise.resolve(!0)}}class Vt{}class Et{}let Gt=(()=>{class _t extends Et{now(){return Date.now()}new(){return new Date}static{this.\u0275fac=(()=>{let ee;return function(Pt){return(ee||(ee=b.xGo(_t)))(Pt||_t)}})()}static{this.\u0275prov=c.jDH({token:_t,factory:_t.\u0275fac})}}return _t})();class Ve{}class Le{}let He=(()=>{class _t{constructor(){this.data=new Map}getItem(ee){return this.data.get(ee)}removeItem(ee){this.data.delete(ee)}setItem(ee,Se){this.data.set(ee,Se)}static{this.\u0275fac=function(Se){return new(Se||_t)}}static{this.\u0275prov=c.jDH({token:_t,factory:_t.\u0275fac})}}return _t})();class Ae{constructor(wt){this.type=wt}}class qe extends Ae{constructor(wt,ee=null){super(wt),this.info=ee}}class tt extends Ae{constructor(wt,ee=null){super(wt),this.info=ee}}class pt extends Ae{constructor(wt,ee,Se=null){super(wt),this.reason=ee,this.params=Se}}function Lt(_t){const wt=_t.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(wt).split("").map(function(ee){return"%"+("00"+ee.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function ot(_t){return btoa(_t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class At{constructor(wt){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefresh
503IFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=ee=>{location.href=ee},wt&&Object.assign(this,wt)}}class M{encodeKey(wt){return encodeURIComponent(wt)}encodeValue(wt){return encodeURIComponent(wt)}decodeKey(wt){return decodeURIComponent(wt)}decodeValue(wt){return decodeURIComponent(wt)}}class gt{}let lt=(()=>{class _t{getHashFragmentParams(ee){let Se=ee||window.location.hash;if(Se=decodeURIComponent(Se),0!==Se.indexOf("#"))return{};const Pt=Se.indexOf("?");return Se=Se.substr(Pt>-1?Pt+1:1),this.parseQueryString(Se)}parseQueryString(ee){const Se={};let Pt,St,Xt,Jt,vn,jn;if(null===ee)return Se;const Zn=ee.split("&");for(let Tn=0;Tn<Zn.length;Tn++)Pt=Zn[Tn],St=Pt.indexOf("="),-1===St?(Xt=Pt,Jt=null):(Xt=Pt.substr(0,St),Jt=Pt.substr(St+1)),vn=decodeURIComponent(Xt),jn=decodeURIComponent(Jt),"/"===vn.substr(0,1)&&(vn=vn.substr(1)),Se[vn]=jn;return Se}static{this.\u0275fac=function(Se){return new(Se||_t)}}static{this.\u0275prov=c.jDH({token:_t,factory:_t.\u0275fac})}}return _t})();const Ut=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function jt(_t,wt,ee,Se,Pt){let St,Xt,Jt,vn,jn,Zn,Tn,Yn,$e,Ct,Ze,Ht,I;for(;Pt>=64;){for(St=wt[0],Xt=wt[1],Jt=wt[2],vn=wt[3],jn=wt[4],Zn=wt[5],Tn=wt[6],Yn=wt[7],Ct=0;Ct<16;Ct++)Ze=Se+4*Ct,_t[Ct]=(255&ee[Ze])<<24|(255&ee[Ze+1])<<16|(255&ee[Ze+2])<<8|255&ee[Ze+3];for(Ct=16;Ct<64;Ct++)$e=_t[Ct-2],Ht=($e>>>17|$e<<15)^($e>>>19|$e<<13)^$e>>>10,$e=_t[Ct-15],I=($e>>>7|$e<<25)^($e>>>18|$e<<14)^$e>>>3,_t[Ct]=(Ht+_t[Ct-7]|0)+(I+_t[Ct-16]|0);for(Ct=0;Ct<64;Ct++)Ht=(((jn>>>6|jn<<26)^(jn>>>11|jn<<21)^(jn>>>25|jn<<7))+(jn&Zn^~jn&Tn)|0)+(Yn+(Ut[Ct]+_t[Ct]|0)|0)|0,I=((St>>>2|St<<30)^(St>>>13|St<<19)^(St>>>22|St<<10))+(St&Xt^St&Jt^Xt&Jt)|0,Yn=Tn,Tn=Zn,Zn=jn,jn=vn+Ht|0,vn=Jt,Jt=Xt,Xt=St,St=Ht+I|0;wt[0]+=St,wt[1]+=Xt,wt[2]+=Jt,wt[3]+=vn,wt[4]+=jn,wt[5]+=Zn,wt[6]+=Tn,wt[7]+=Yn,Se+=64,Pt-=64}return Se}class zt{constructor(){this.digestLength=32,this.blockSize=64,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let wt=0;wt<this.buffer.length;wt++)this.buffer[wt]=0;for(let wt=0;wt<this.temp.length;wt++)this.temp[wt]=0;this.reset()}update(wt,ee=wt.length){if(this.finished)throw new Error("SHA256: can't update because hash was finished.");let Se=0;if(this.bytesHashed+=ee,this.bufferLength>0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=wt[Se++],ee--;64===this.bufferLength&&(jt(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(Se=jt(this.temp,this.state,wt,Se,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=wt[Se++],ee--;return this}finish(wt){if(!this.finished){const ee=this.bytesHashed,Se=this.bufferLength,Pt=ee/536870912|0,St=ee<<3,Xt=ee%64<56?64:128;this.buffer[Se]=128;for(let Jt=Se+1;Jt<Xt-8;Jt++)this.buffer[Jt]=0;this.buffer[Xt-8]=Pt>>>24&255,this.buffer[Xt-7]=Pt>>>16&255,this.buffer[Xt-6]=Pt>>>8&255,this.buffer[Xt-5]=Pt>>>0&255,this.buffer[Xt-4]=St>>>24&255,this.buffer[Xt-3]=St>>>16&255,this.buffer[Xt-2]=St>>>8&255,this.buffer[Xt-1]=St>>>0&255,jt(this.temp,this.state,this.buffer,0,Xt),this.finished=!0}for(let ee=0;ee<8;ee++)wt[4*ee+0]=this.state[ee]>>>24&255,wt[4*ee+1]=this.state[ee]>>>16&255,wt[4*ee+2]=this.state[ee]>>>8&255,wt[4*ee+3]=this.state[ee]>>>0&255;return this}
503digest(){const wt=new Uint8Array(this.digestLength);return this.finish(wt),wt}_saveState(wt){for(let ee=0;ee<this.state.length;ee++)wt[ee]=this.state[ee]}_restoreState(wt,ee){for(let Se=0;Se<this.state.length;Se++)this.state[Se]=wt[Se];this.bytesHashed=ee,this.finished=!1,this.bufferLength=0}}new Uint8Array(32);class bn{}let ir=(()=>{class _t{calcHash(ee,Se){return(0,h.A)(function*(){return function Tr(_t){const wt=[];for(let ee=0;ee<_t.length;ee++)wt.push(String.fromCharCode(_t[ee]));return wt.join("")}(function Mt(_t){const wt=(new zt).update(_t),ee=wt.digest();return wt.clean(),ee}(function pr(_t){if("string"!=typeof _t)throw new TypeError("expected string");const wt=_t,ee=new Uint8Array(wt.length);for(let Se=0;Se<wt.length;Se++)ee[Se]=wt.charCodeAt(Se);return ee}(ee)))})()}toHashString2(ee){let Se="";for(const Pt of ee)Se+=String.fromCharCode(Pt);return Se}toHashString(ee){const Se=new Uint8Array(ee);let Pt="";for(const St of Se)Pt+=String.fromCharCode(St);return Pt}static{this.\u0275fac=function(Se){return new(Se||_t)}}static{this.\u0275prov=c.jDH({token:_t,factory:_t.\u0275fac})}}return _t})(),Kr=(()=>{class _t extends At{constructor(ee,Se,Pt,St,Xt,Jt,vn,jn,Zn,Tn){super(),this.ngZone=ee,this.http=Se,this.config=Xt,this.urlHelper=Jt,this.logger=vn,this.crypto=jn,this.dateTimeService=Tn,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new T.B,this.discoveryDocumentLoadedSubject=new T.B,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Zn,Xt||(Xt={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),St&&(this.tokenValidationHandler=St),Xt&&this.configure(Xt);try{Pt?this.setStorage(Pt):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(Yn){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",Yn)}if(this.checkLocalStorageAccessable()){const Yn=window?.navigator?.userAgent;(Yn?.includes("MSIE ")||Yn?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const ee="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(ee,ee),localStorage.removeItem(ee),0))}catch{return!1}}configure(ee){Object.assign(this,new At,ee),this.config=Object.assign({},new At,ee),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,le.p)(ee=>"token_received"===ee.type)).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(ee={},Se,Pt=!0){let St=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,_.M)(Xt=>{"token_received"===Xt.type?St=!0:"logout"===Xt.type&&(St=!1)}),(0,le.p)(Xt=>"token_expires"===Xt.type&&(null==Se||"any"===Se||Xt.info===Se)),(0,ge.B)(1e3)).subscribe(()=>{St&&this.refreshInternal(ee,Pt).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(ee,Se){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(ee,Se):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(ee=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(ee))}loadDiscoveryDocumentAndLogin(ee=null){return this.loadDiscoveryDocumentAndTryLogin(ee=ee||{}).then(()=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof ee.state?ee.state:""),!1))}debug(...ee){this.showDebugInformation&&this.logger.debug(...ee)}validateUrlFromDiscoveryDocument(ee){const Se=[],Pt=this.validateUrlForHttps(ee),St=this.validateUrlAgainstIssuer(ee);
503return Pt||Se.push("https for all urls required. Also for urls received by discovery."),St||Se.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),Se}validateUrlForHttps(ee){if(!ee)return!0;const Se=ee.toLowerCase();return!(!1!==this.requireHttps&&(!Se.match(/^http:\/\/localhost($|[:/])/)&&!Se.match(/^http:\/\/localhost($|[:/])/)||"remoteOnly"!==this.requireHttps))||Se.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(ee,Se){if(!ee)throw new Error(`'${Se}' should not be null`);if(!this.validateUrlForHttps(ee))throw new Error(`'${Se}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(ee){return!this.strictDiscoveryDocumentValidation||!ee||ee.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){typeof window>"u"?this.debug("timer not supported on this plattform"):((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,le.p)(ee=>"token_received"===ee.type)).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const ee=this.getAccessTokenExpiration(),Se=this.getAccessTokenStoredAt(),Pt=this.calcTimeout(Se,ee);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,y.of)(new tt("token_expires","access_token")).pipe((0,q.c)(Pt)).subscribe(St=>{this.ngZone.run(()=>{this.eventsSubject.next(St)})})})}setupIdTokenTimer(){const ee=this.getIdTokenExpiration(),Se=this.getIdTokenStoredAt(),Pt=this.calcTimeout(Se,ee);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,y.of)(new tt("token_expires","id_token")).pipe((0,q.c)(Pt)).subscribe(St=>{this.ngZone.run(()=>{this.eventsSubject.next(St)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}
503calcTimeout(ee,Se){const Pt=this.dateTimeService.now(),Xt=Math.max(0,(Se-ee)*this.timeoutFactor-(Pt-ee)),Jt=2147483647;return Xt>Jt?Jt:Xt}setStorage(ee){this._storage=ee,this.configChanged()}loadDiscoveryDocument(ee=null){return new Promise((Se,Pt)=>{ee||((ee=this.issuer||"").endsWith("/")||(ee+="/"),ee+=".well-known/openid-configuration"),this.validateUrlForHttps(ee)?this.http.get(ee).subscribe(St=>{if(!this.validateDiscoveryDocument(St))return this.eventsSubject.next(new pt("discovery_document_validation_error",null)),void Pt("discovery_document_validation_error");this.loginUrl=St.authorization_endpoint,this.logoutUrl=St.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=St.grant_types_supported,this.issuer=St.issuer,this.tokenEndpoint=St.token_endpoint,this.userinfoEndpoint=St.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=St.jwks_uri,this.sessionCheckIFrameUrl=St.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(St),this.revocationEndpoint=St.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Xt=>{const vn=new qe("discovery_document_loaded",{discoveryDocument:St,jwks:Xt});this.eventsSubject.next(vn),Se(vn)}).catch(Xt=>{this.eventsSubject.next(new pt("discovery_document_load_error",Xt)),Pt(Xt)})},St=>{this.logger.error("error loading discovery document",St),this.eventsSubject.next(new pt("discovery_document_load_error",St)),Pt(St)}):Pt("issuer  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((ee,Se)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(Pt=>{this.jwks=Pt,ee(Pt)},Pt=>{this.logger.error("error loading jwks",Pt),this.eventsSubject.next(new pt("jwks_load_error",Pt)),Se(Pt)}):ee(null)})}validateDiscoveryDocument(ee){let Se;return this.skipIssuerCheck||ee.issuer===this.issuer?(Se=this.validateUrlFromDiscoveryDocument(ee.authorization_endpoint),Se.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",Se),!1):(Se=this.validateUrlFromDiscoveryDocument(ee.end_session_endpoint),Se.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",Se),!1):(Se=this.validateUrlFromDiscoveryDocument(ee.token_endpoint),Se.length>0&&this.logger.error("error validating token_endpoint in discovery document",Se),Se=this.validateUrlFromDiscoveryDocument(ee.revocation_endpoint),Se.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",Se),Se=this.validateUrlFromDiscoveryDocument(ee.userinfo_endpoint),Se.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",Se),!1):(Se=this.validateUrlFromDiscoveryDocument(ee.jwks_uri),Se.length>0?(this.logger.error("error validating jwks_uri in discovery document",Se),!1):(this.sessionChecksEnabled&&!ee.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+ee.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(ee,Se,Pt=new C.Lr){return this.fetchTokenUsingPasswordFlow(ee,Se,Pt).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((ee,Se)=>{const Pt=(new C.Lr).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:Pt,observe:"response",responseType:"text"}).subscribe(St=>{if(this.debug("userinfo received",JSON.stringify(St)),St.headers.get("content-type").startsWith("application/json")){let Xt=JSON.parse(St.body);const Jt=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!Jt.sub||Xt.sub!==Jt.sub))return void Se("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to fal
503se");Xt=Object.assign({},Jt,Xt),this._storage.setItem("id_token_claims_obj",JSON.stringify(Xt)),this.eventsSubject.next(new qe("user_profile_loaded")),ee({info:Xt})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new qe("user_profile_loaded")),ee(JSON.parse(St.body))},St=>{this.logger.error("error loading user info",St),this.eventsSubject.next(new pt("user_profile_load_error",St)),Se(St)})})}fetchTokenUsingPasswordFlow(ee,Se,Pt=new C.Lr){return this.fetchTokenUsingGrant("password",{username:ee,password:Se},Pt)}fetchTokenUsingGrant(ee,Se,Pt=new C.Lr){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let St=new C.Nl({encoder:new M}).set("grant_type",ee).set("scope",this.scope);if(this.useHttpBasicAuth){const Xt=btoa(`${this.clientId}:${this.dummyClientSecret}`);Pt=Pt.set("Authorization","Basic "+Xt)}if(this.useHttpBasicAuth||(St=St.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(St=St.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Xt of Object.getOwnPropertyNames(this.customQueryParams))St=St.set(Xt,this.customQueryParams[Xt]);for(const Xt of Object.keys(Se))St=St.set(Xt,Se[Xt]);return Pt=Pt.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Xt,Jt)=>{this.http.post(this.tokenEndpoint,St,{headers:Pt}).subscribe(vn=>{this.debug("tokenResponse",vn),this.storeAccessTokenResponse(vn.access_token,vn.refresh_token,vn.expires_in||this.fallbackAccessTokenExpirationTimeInSec,vn.scope,this.extractRecognizedCustomParameters(vn)),this.oidc&&vn.id_token&&this.processIdToken(vn.id_token,vn.access_token).then(jn=>{this.storeIdToken(jn),Xt(vn)}),this.eventsSubject.next(new qe("token_received")),Xt(vn)},vn=>{this.logger.error("Error performing ${grantType} flow",vn),this.eventsSubject.next(new pt("token_error",vn)),Jt(vn)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((ee,Se)=>{let Pt=new C.Nl({encoder:new M}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),St=(new C.Lr).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Xt=btoa(`${this.clientId}:${this.dummyClientSecret}`);St=St.set("Authorization","Basic "+Xt)}if(this.useHttpBasicAuth||(Pt=Pt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Pt=Pt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Xt of Object.getOwnPropertyNames(this.customQueryParams))Pt=Pt.set(Xt,this.customQueryParams[Xt]);this.http.post(this.tokenEndpoint,Pt,{headers:St}).pipe((0,Te.n)(Xt=>this.oidc&&Xt.id_token?(0,O.H)(this.processIdToken(Xt.id_token,Xt.access_token,!0)).pipe((0,_.M)(Jt=>this.storeIdToken(Jt)),(0,Be.T)(()=>Xt)):(0,y.of)(Xt))).subscribe(Xt=>{this.debug("refresh tokenResponse",Xt),this.storeAccessTokenResponse(Xt.access_token,Xt.refresh_token,Xt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Xt.scope,this.extractRecognizedCustomParameters(Xt)),this.eventsSubject.next(new qe("token_received")),this.eventsSubject.next(new qe("token_refreshed")),ee(Xt)},Xt=>{this.logger.error("Error refreshing token",Xt),this.eventsSubject.next(new pt("token_refresh_error",Xt)),Se(Xt)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=ee=>{const Se=this.processMessageEventMessage(ee);this.checkOrigin&&ee.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:Se,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(Pt=>this.debug("tryLogin during silent refresh failed",Pt))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(ee={},Se=!0){const Pt=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(ee.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");
503const St=this.document.getElementById(this.silentRefreshIFrameName);St&&this.document.body.removeChild(St),this.silentRefreshSubject=Pt.sub;const Xt=this.document.createElement("iframe");return Xt.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,Se,ee).then(Tn=>{Xt.setAttribute("src",Tn),this.silentRefreshShowIFrame||(Xt.style.display="none"),this.document.body.appendChild(Xt)}),function u(..._t){return 1===(_t=function D(_t){return 1===_t.length&&v(_t[0])?_t[0]:_t}(_t)).length?(0,w.Tg)(_t[0]):new k.c(function W(_t){return wt=>{let ee=[];for(let Se=0;ee&&!wt.closed&&Se<_t.length;Se++)ee.push((0,w.Tg)(_t[Se]).subscribe((0,m._)(wt,Pt=>{if(ee){for(let St=0;St<ee.length;St++)St!==Se&&ee[St].unsubscribe();ee=null}wt.next(Pt)})))}}(_t))}([this.events.pipe((0,le.p)(Tn=>Tn instanceof pt),(0,we.$)()),this.events.pipe((0,le.p)(Tn=>"token_received"===Tn.type),(0,we.$)()),(0,y.of)(new pt("silent_refresh_timeout",null)).pipe((0,q.c)(this.silentRefreshTimeout))]).pipe((0,Be.T)(Tn=>{if(Tn instanceof pt)throw"silent_refresh_timeout"===Tn.type||(Tn=new pt("silent_refresh_error",Tn)),this.eventsSubject.next(Tn),Tn;return"token_received"===Tn.type&&(Tn=new qe("silently_refreshed"),this.eventsSubject.next(Tn)),Tn})).toPromise()}initImplicitFlowInPopup(ee){return this.initLoginFlowInPopup(ee)}initLoginFlowInPopup(ee){return ee=ee||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(Se=>new Promise((Pt,St)=>{let vn,Jt=null;ee.windowRef?ee.windowRef&&!ee.windowRef.closed&&(Jt=ee.windowRef,Jt.location.href=Se):Jt=window.open(Se,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(ee));const jn=Ct=>{this.tryLogin({customHashFragment:Ct,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{Tn(),Pt(!0)},Ze=>{Tn(),St(Ze)})};Jt?vn=window.setInterval(()=>{(!Jt||Jt.closed)&&(Tn(),St(new pt("popup_closed",{})))},500):St(new pt("popup_blocked",{}));const Tn=()=>{window.clearInterval(vn),window.removeEventListener("storage",$e),window.removeEventListener("message",Yn),null!==Jt&&Jt.close(),Jt=null},Yn=Ct=>{const Ze=this.processMessageEventMessage(Ct);Ze&&null!==Ze?(window.removeEventListener("storage",$e),jn(Ze)):console.log("false event firing")},$e=Ct=>{"auth_hash"===Ct.key&&(window.removeEventListener("message",Yn),jn(Ct.newValue))};window.addEventListener("message",Yn),window.addEventListener("storage",$e)}))}calculatePopupFeatures(ee){const Se=ee.height||470,Pt=ee.width||500,St=window.screenLeft+(window.outerWidth-Pt)/2;return`location=no,toolbar=no,width=${Pt},height=${Se},top=${window.screenTop+(window.outerHeight-Se)/2},left=${St}`}processMessageEventMessage(ee){let Se="#";if(this.silentRefreshMessagePrefix&&(Se+=this.silentRefreshMessagePrefix),!ee||!ee.data||"string"!=typeof ee.data)return;const Pt=ee.data;return Pt.startsWith(Se)?"#"+Pt.substr(Se.length):void 0}canPerformSessionCheck(){return!(!this.sessionChecksEnabled||(this.sessionCheckIFrameUrl?this.get
503SessionState()?typeof this.document>"u":(console.warn("sessionChecksEnabled is activated but there is no session_state"),1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),1)))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=ee=>{const Se=ee.origin.toLowerCase(),Pt=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),Pt.startsWith(Se)){switch(ee.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",ee)}else this.debug("sessionCheckEventListener","wrong origin",Se,"expected",Pt,"event",ee)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new tt("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new tt("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new tt("session_terminated")),this.logOut(!0)):this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new tt("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,le.p)(ee=>"silently_refreshed"===ee.type||"silent_refresh_timeout"===ee.type||"silent_refresh_error"===ee.type),(0,we.$)()).subscribe(ee=>{"silently_refreshed"!==ee.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new tt("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new tt("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const ee=this.document.getElementById(this.sessionCheckIFrameName);ee&&this.document.body.removeChild(ee);const Se=this.document.createElement("iframe");Se.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),Se.setAttribute("src",this.sessionCheckIFrameUrl),Se.style.display="none",this.document.body.appendChild(Se),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const ee=this.document.getElementById(this.sessionCheckIFrameName);ee||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const Se=this.getSessionState();Se||this.stopSessionCheckTimer(),ee.contentWindow.postMessage(this.clientId+" "+Se,this.issuer)}createLoginUrl(){var ee=this;return(0,h.A)(function*(Se="",Pt="",St="",Xt=!1,Jt={}){const vn=ee;let jn;jn=St||ee.redirectUri;const Zn=yield ee.createAndSaveNonce();if(Se=Se?Zn+ee.config.nonceStateSeparator+encodeURIComponent(Se):Zn,!ee.requestAccessToken&&!ee.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");ee.responseType=ee.config.responseType?ee.config.responseType:ee.oidc&&ee.requestAccessToken?"id_token token":ee.oidc&&!ee.requestAccessToken?"id_token":"token";const Tn=vn.loginUrl.indexOf("?")>-1?"&":"?";let Yn=vn.scope;ee.oidc&&!Yn.match(/(^|\s)openid($|\s)/)&&(Yn="openid "+Yn);let $e=vn.loginUrl+Tn+"response_type="+encodeURIComponent(vn.responseType)+"&client_id="+encodeURIComponent(vn.clientId)+"&state="+encodeURIComponent(Se)+"&redirect_uri="+encodeURIComponent(jn)+"&scope="+encodeURIComponent(Yn);if(ee.responseType.includes("code")&&!ee.disablePKCE){const[Ct,Ze]=yield ee.createChallangeVerifierPairForPKCE();ee.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",Ze):ee._storage.setItem("PKCE_verifier",Ze),$e+="&code_challenge="+Ct,$e+="&code_challenge_method=S256"}Pt&&($e+="&login_hint="+encodeURIComponent(Pt)),vn.resource&&($e+="&resource="+encodeURIComponent(vn.resource)),vn.oidc&&($e+="&nonce="+encodeURIComponent(Zn)),Xt&&($e+="&prompt=none");
503for(const Ct of Object.keys(Jt))$e+="&"+encodeURIComponent(Ct)+"="+encodeURIComponent(Jt[Ct]);if(ee.customQueryParams)for(const Ct of Object.getOwnPropertyNames(ee.customQueryParams))$e+="&"+Ct+"="+encodeURIComponent(ee.customQueryParams[Ct]);return $e}).apply(this,arguments)}initImplicitFlowInternal(ee="",Se=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let Pt={},St=null;"string"==typeof Se?St=Se:"object"==typeof Se&&(Pt=Se),this.createLoginUrl(ee,St,null,!1,Pt).then(this.config.openUri).catch(Xt=>{console.error("Error in initImplicitFlow",Xt),this.inImplicitFlow=!1})}initImplicitFlow(ee="",Se=""){""!==this.loginUrl?this.initImplicitFlowInternal(ee,Se):this.events.pipe((0,le.p)(Pt=>"discovery_document_loaded"===Pt.type)).subscribe(()=>this.initImplicitFlowInternal(ee,Se))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(ee){const Se=this;if(ee.onTokenReceived){const Pt={idClaims:Se.getIdentityClaims(),idToken:Se.getIdToken(),accessToken:Se.getAccessToken(),state:Se.state};ee.onTokenReceived(Pt)}}storeAccessTokenResponse(ee,Se,Pt,St,Xt){if(this._storage.setItem("access_token",ee),St&&!Array.isArray(St)?this._storage.setItem("granted_scopes",JSON.stringify(St.split(" "))):St&&Array.isArray(St)&&this._storage.setItem("granted_scopes",JSON.stringify(St)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.n
503ow()),Pt){const Jt=1e3*Pt,jn=this.dateTimeService.new().getTime()+Jt;this._storage.setItem("expires_at",""+jn)}Se&&this._storage.setItem("refresh_token",Se),Xt&&Xt.forEach((Jt,vn)=>{this._storage.setItem(vn,Jt)})}tryLogin(ee=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(ee).then(()=>!0):this.tryLoginImplicitFlow(ee)}parseQueryString(ee){return ee&&0!==ee.length?("?"===ee.charAt(0)&&(ee=ee.substr(1)),this.urlHelper.parseQueryString(ee)):{}}tryLoginCodeFlow(){var ee=this;return(0,h.A)(function*(Se=null){const Pt=(Se=Se||{}).customHashFragment?Se.customHashFragment.substring(1):window.location.search,St=ee.getCodePartsFromUrl(Pt),Xt=St.code,Jt=St.state,vn=St.session_state;if(!Se.preventClearHashAfterLogin){const Tn=location.origin+location.pathname+location.search.replace(/code=[^&$]*/,"").replace(/scope=[^&$]*/,"").replace(/session_state=[^&$]*/,"").replace(/state=[^&$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,Tn)}const[jn,Zn]=ee.parseState(Jt);if(ee.state=Zn,St.error){ee.debug("error trying to login"),ee.handleLoginError(Se,St);const Tn=new pt("code_error",{},St);return ee.eventsSubject.next(Tn),Promise.reject(Tn)}if(!Se.disableNonceCheck){if(!jn)return ee.saveRequestedRoute(),Promise.resolve();if(!Se.disableOAuth2StateCheck&&!ee.validateNonce(jn)){const Yn=new pt("invalid_nonce_in_state",null);return ee.eventsSubject.next(Yn),Promise.reject(Yn)}}return ee.storeSessionState(vn),Xt&&(yield ee.getTokenFromCode(Xt,Se),ee.restoreRequestedRoute()),Promise.resolve()}).apply(this,arguments)}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const ee=this._storage.getItem("requested_route");ee&&history.replaceState(null,"",window.location.origin+ee)}getCodePartsFromUrl(ee){return ee&&0!==ee.length?("?"===ee.charAt(0)&&(ee=ee.substr(1)),this.urlHelper.parseQueryString(ee)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(ee,Se){let Pt=new C.Nl({encoder:new M}).set("grant_type","authorization_code").set("code",ee).set("redirect_uri",Se.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let St;St=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),St?Pt=Pt.set("code_verifier",St):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(Pt,Se)}fetchAndProcessToken(ee,Se){Se=Se||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Pt=(new C.Lr).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const St=btoa(`${this.clientId}:${this.dummyClientSecret}`);Pt=Pt.set("Authorization","Basic "+St)}return this.useHttpBasicAuth||(ee=ee.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ee=ee.set("client_secret",this.dummyClientSecret)),new Promise((St,Xt)=>{if(this.customQueryParams)for(const Jt of Object.getOwnPropertyNames(this.customQueryParams))ee=ee.set(Jt,this.customQueryParams[Jt]);this.http.post(this.tokenEndpoint,ee,{headers:Pt}).subscribe(Jt=>{this.debug("refresh tokenResponse",Jt),this.storeAccessTokenResponse(Jt.access_token,Jt.refresh_token,Jt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Jt.scope,this.extractRecognizedCustomParameters(Jt)),this.oidc&&Jt.id_token?this.processIdToken(Jt.id_token,Jt.access_token,Se.disableNonceCheck).then(vn=>{this.storeIdToken(vn),this.eventsSubject.next(new qe("token_received")),this.eventsSubject.next(new qe("token_refreshed")),St(Jt)}).catch(vn=>{this.eventsSubject.next(new pt("token_validation_error",vn)),console.error("Error validating tokens"),console.error(vn),Xt(vn)}):(this.eventsSubject.next(new qe("token_received")),this.eventsSubject.next(new qe("token_refreshed")),St(Jt))},Jt=>{console.error("Error getting token",Jt),this.eventsSubject.next(new pt("token_error",Jt)),Xt(Jt)})})}tryLoginImplicitFlow(ee=null){let Se;Se=(ee=ee||{}
503).customHashFragment?this.urlHelper.getHashFragmentParams(ee.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",Se);const Pt=Se.state,[St,Xt]=this.parseState(Pt);if(this.state=Xt,Se.error){this.debug("error trying to login"),this.handleLoginError(ee,Se);const Tn=new pt("token_error",{},Se);return this.eventsSubject.next(Tn),Promise.reject(Tn)}const Jt=Se.access_token,vn=Se.id_token,jn=Se.session_state,Zn=Se.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!Jt||this.requestAccessToken&&!ee.disableOAuth2StateCheck&&!Pt||this.oidc&&!vn)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!jn&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!ee.disableNonceCheck&&!this.validateNonce(St)){const Yn=new pt("invalid_nonce_in_state",null);return this.eventsSubject.next(Yn),Promise.reject(Yn)}return this.requestAccessToken&&this.storeAccessTokenResponse(Jt,null,Se.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Zn),this.oidc?this.processIdToken(vn,Jt,ee.disableNonceCheck).then(Tn=>ee.validationHandler?ee.validationHandler({accessToken:Jt,idClaims:Tn.idTokenClaims,idToken:Tn.idToken,state:Pt}).then(()=>Tn):Tn).then(Tn=>(this.storeIdToken(Tn),this.storeSessionState(jn),this.clearHashAfterLogin&&!ee.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new qe("token_received")),this.callOnTokenReceivedIfExists(ee),this.inImplicitFlow=!1,!0)).catch(Tn=>(this.eventsSubject.next(new pt("token_validation_error",Tn)),this.logger.error("Error validating tokens"),this.logger.error(Tn),Promise.reject(Tn))):(this.eventsSubject.next(new qe("token_received")),this.clearHashAfterLogin&&!ee.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(ee),Promise.resolve(!0))}parseState(ee){let Se=ee,Pt="";if(ee){const St=ee.indexOf(this.config.nonceStateSeparator);St>-1&&(Se=ee.substr(0,St),Pt=ee.substr(St+this.config.nonceStateSeparator.length))}return[Se,Pt]}validateNonce(ee){let Se;return Se=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Se===ee||(console.error("Validating access_token failed, wrong state/nonce.",Se,ee),!1)}storeIdToken(ee){this._storage.setItem("id_token",ee.idToken),this._storage.setItem("id_token_claims_obj",ee.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+ee.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.n
503ow())}storeSessionState(ee){this._storage.setItem("session_state",ee)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(ee,Se){ee.onLoginError&&ee.onLoginError(Se),this.clearHashAfterLogin&&!ee.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(ee=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:ee}processIdToken(ee,Se,Pt=!1){const St=ee.split("."),Jt=Lt(this.padBase64(St[0])),vn=JSON.parse(Jt),Zn=Lt(this.padBase64(St[1])),Tn=JSON.parse(Zn);let Yn;if(Yn=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(Tn.aud)){if(Tn.aud.every(mt=>mt!==this.clientId)){const mt="Wrong audience: "+Tn.aud.join(",");return this.logger.warn(mt),Promise.reject(mt)}}else if(Tn.aud!==this.clientId){const mt="Wrong audience: "+Tn.aud;return this.logger.warn(mt),Promise.reject(mt)}if(!Tn.sub){const mt="No sub claim in id_token";return this.logger.warn(mt),Promise.reject(mt)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==Tn.sub){const mt=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${Tn.sub}`;return this.logger.warn(mt),Promise.reject(mt)}if(!Tn.iat){const mt="No iat claim in id_token";return this.logger.warn(mt),Promise.reject(mt)}if(!this.skipIssuerCheck&&Tn.iss!==this.issuer){const mt="Wrong issuer: "+Tn.iss;return this.logger.warn(mt),Promise.reject(mt)}if(!Pt&&Tn.nonce!==Yn){const mt="Wrong nonce: "+Tn.nonce;return this.logger.warn(mt),Promise.reject(mt)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!Tn.at_hash){const mt="An at_hash is needed!";return this.logger.warn(mt),Promise.reject(mt)}
503const $e=this.dateTimeService.now(),Ct=1e3*Tn.iat,Ze=1e3*Tn.exp,Ht=this.getClockSkewInMsec();if(Ct-Ht>=$e||Ze+Ht-this.decreaseExpirationBySec<=$e){const mt="Token has expired";return console.error(mt),console.error({now:$e,issuedAtMSec:Ct,expiresAtMSec:Ze}),Promise.reject(mt)}const I={accessToken:Se,idToken:ee,jwks:this.jwks,idTokenClaims:Tn,idTokenHeader:vn,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(I).then(()=>({idToken:ee,idTokenClaims:Tn,idTokenClaimsJson:Zn,idTokenHeader:vn,idTokenHeaderJson:Jt,idTokenExpiresAt:Ze})):this.checkAtHash(I).then(mt=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!mt){const Ue="Wrong at_hash";return this.logger.warn(Ue),Promise.reject(Ue)}return this.checkSignature(I).then(()=>{const ue={idToken:ee,idTokenClaims:Tn,idTokenClaimsJson:Zn,idTokenHeader:vn,idTokenHeaderJson:Jt,idTokenExpiresAt:Ze};return this.disableAtHashCheck?ue:this.checkAtHash(I).then(ft=>{if(this.requestAccessToken&&!ft){const Kt="Wrong at_hash";return this.logger.warn(Kt),Promise.reject(Kt)}return ue})})})}getIdentityClaims(){const ee=this._storage.getItem("id_token_claims_obj");return ee?JSON.parse(ee):null}getGrantedScopes(){const ee=this._storage.getItem("granted_scopes");return ee?JSON.parse(ee):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(ee){for(;ee.length%4!=0;)ee+="=";return ee}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const ee=this._storage.getItem("expires_at"),Se=this.dateTimeService.new();return!(ee&&parseInt(ee,10)-this.decreaseExpirationBySec<Se.getTime()-this.getClockSkewInMsec())}return!1}hasValidIdToken(){if(this.getIdToken()){const ee=this._storage.getItem("id_token_expires_at"),Se=this.dateTimeService.new();return!(ee&&parseInt(ee,10)-this.decreaseExpirationBySec<Se.getTime()-this.getClockSkewInMsec())}return!1}getCustomTokenResponseProperty(ee){return this._storage&&this.config.customTokenParameters&&this.config.customTokenParameters.indexOf(ee)>=0&&null!==this._storage.getItem(ee)?JSON.parse(this._storage.getItem(ee)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(ee={},Se=""){let Pt=!1;"boolean"==typeof ee&&(Pt=ee,ee={});const St=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(Jt=>this._storage.removeItem(Jt)),this.silentRefreshSubject=null,this.eventsSubject.next(new tt("logout")),!this.logoutUrl||Pt)return;let Xt;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)Xt=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(St)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let Jt=new C.Nl({encoder:new M});St&&(Jt=Jt.set("id_token_hint",St));const vn=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";vn&&(Jt=Jt.set("post_logout_redirect_uri",vn),Se&&(Jt=Jt.set("state",Se)));for(const jn in ee)Jt=Jt.set(jn,ee[jn]);Xt=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+Jt.toString()}this.config.openUri(Xt)}createAndSaveNonce(){const ee=this;return this.createNonce().then(function(Se){return ee.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",Se):ee._storage.setItem("nonce",Se),Se})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();
503const ee=this.document.getElementById(this.silentRefreshIFrameName);ee&&ee.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const Se=this.document.getElementById(this.sessionCheckIFrameName);Se&&Se.remove()}createNonce(){return new Promise(ee=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const Se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let Pt=45,St="";const Xt=typeof self>"u"?null:self.crypto||self.msCrypto;if(Xt){let Jt=new Uint8Array(Pt);Xt.getRandomValues(Jt),Jt.map||(Jt.map=Array.prototype.map),Jt=Jt.map(vn=>Se.charCodeAt(vn%66)),St=String.fromCharCode.apply(null,Jt)}else for(;0<Pt--;)St+=Se[66*Math.random()|0];ee(ot(St))})}checkAtHash(ee){var Se=this;return(0,h.A)(function*(){return Se.tokenValidationHandler?Se.tokenValidationHandler.validateAtHash(ee):(Se.logger.warn("No tokenValidationHandler configured. Cannot check at_hash."),!0)})()}checkSignature(ee){return this.tokenValidationHandler?this.tokenValidationHandler.validateSignature(ee):(this.logger.warn("No tokenValidationHandler configured. Cannot check signature."),Promise.resolve(null))}initLoginFlow(ee="",Se={}){return"code"===this.responseType?this.initCodeFlow(ee,Se):this.initImplicitFlow(ee,Se)}initCodeFlow(ee="",Se={}){""!==this.loginUrl?this.initCodeFlowInternal(ee,Se):this.events.pipe((0,le.p)(Pt=>"discovery_document_loaded"===Pt.type)).subscribe(()=>this.initCodeFlowInternal(ee,Se))}initCodeFlowInternal(ee="",Se={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let Pt={},St=null;"string"==typeof Se?St=Se:"object"==typeof Se&&(Pt=Se),this.createLoginUrl(ee,St,null,!1,Pt).then(this.config.openUri).catch(Xt=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Xt)})}createChallangeVerifierPairForPKCE(){var ee=this;return(0,h.A)(function*(){if(!ee.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const Se=yield ee.createNonce();return[ot(yield ee.crypto.calcHash(Se,"sha-256")),Se]})()}extractRecognizedCustomParameters(ee){const Se=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(Pt=>{ee[Pt]&&Se.set(Pt,JSON.stringify(ee[Pt]))}),Se}revokeTokenAndLogout(ee={},Se=!1){const Pt=this.revocationEndpoint,St=this.getAccessToken(),Xt=this.getRefreshToken();if(!St)return Promise.resolve();let Jt=new C.Nl({encoder:new M}),vn=(new C.Lr).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const jn=btoa(`${this.clientId}:${this.dummyClientSecret}`);vn=vn.set("Authorization","Basic "+jn)}if(this.useHttpBasicAuth||(Jt=Jt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Jt=Jt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const jn of Object.getOwnPropertyNames(this.customQueryParams))Jt=Jt.set(jn,this.customQueryParams[jn]);return new Promise((jn,Zn)=>{let Tn,Yn;if(St){const $e=Jt.set("token",St).set("token_type_hint","access_token");Tn=this.http.post(Pt,$e,{headers:vn,responseType:"text"})}else Tn=(0,y.of)(null);if(Xt){const $e=Jt.set("token",Xt).set("token_type_hint","refresh_token");Yn=this.http.post(Pt,$e,{headers:vn,responseType:"text"})}else Yn=(0,y.of)(null);Se&&(Tn=Tn.pipe((0,X.W)($e=>0===$e.status?(0,y.of)(null):(0,z.$)($e))),Yn=Yn.pipe((0,X.W)($e=>0===$e.status?(0,y.of)(null):(0,z.$)($e)))),(0,se.z)([Tn,Yn]).subscribe($e=>{this.logOut(ee),jn($e),this.logger.info("Token successfully revoked")},$e=>{this.logger.error("Error revoking token",$e),this.eventsSubject.next(new pt("token_revoke_error",$e)),Zn($e)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}static{this.\u0275fac=function(Se){return new(Se||_t)(c.KVO(c.SKi),c.KVO(C.Qq),c.KVO(Le,8),c.KVO(gt,8),c.KVO(At,8),c.KVO(lt),c.KVO(Ve),c.KVO(bn,8),c.KVO(c.qQL),c.KVO(Et))}}static{this.\u0275prov=c.jDH({token:_t,factory:_t.\u0275fac})}}return _t})();class _r{}class en{handleError(wt){return(0,z.$)(wt)}}let Bn=(()=>{class _t{constructor(ee,Se,Pt){this.oAuthService=ee,this.errorHandler=Se,this.moduleConfig=Pt}checkUrl(ee){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(ee):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(Se=>ee.toLowerCase().startsWith(Se.toLowerCase()))}intercept(ee,Se){const Pt=ee.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(Pt)?this.moduleConfig.resourceServer.sendAccessToken?(0,G.h)((0,y.of)(this.oAuthService.getAccessToken()).pipe((0,le.p)(Xt=>!!Xt)),this.oAuthService.events.pipe((0,le.p)(Xt=>"token_received"===Xt.type),(0,ye.w)(this.oAuthService.waitForTokenInMsec||0),(0,X.W)(()=>(0,y.of)(null)),(0,Be.T)(()=>this.oAuthService.getAccessToken()))).pipe((0,Q.s)(1),(0,ae.Z)(Xt=>{if(Xt){const vn=ee.headers.set("Authorization","Bearer "+Xt);ee=ee.clone({headers:vn})}return Se.handle(ee).pipe((0,X.W)(Jt=>this.errorHandler.handleError(Jt)))})):Se.handle(ee).pipe((0,X.W)(Xt=>this.errorHandler.handleError(Xt))):Se.handle(ee)}static{this.\u0275fac=function(Se){return new(Se||_t)(c.KVO(Kr),c.KVO(_r),c.KVO(Vt,8))}}static{this.\u0275prov=c.jDH({token:_t,factory:_t.\u0275fac})}}return _t})();function Xe(){return console}function $(){return typeof sessionStorage<"u"?sessionStorage:new He}function F(_t=null,wt=ht){return(0,c.EmA)([Kr,lt,{provide:Ve,useFactory:Xe},{provide:Le,useFactory:$},{provide:gt,useClass:wt},{provide:bn,useClass:ir},{provide:_r,useClass:en},{provide:Vt,useValue:_t},{provide:C.a7,useClass:Bn,multi:!0},{provide:Et,useClass:Gt}])}},4589(vt,Y,i){i.d(Y,{Ic:()=>Pi,sM:()=>Co,XK:()=>Wo,J1:()=>j,Gw:()=>ke,xC:()=>ji});var h=i(5802),b=i(1222),c=i(6354),C=i(3303),T=i(4236);class y{isIncrementalResult(A){return!1}prepareRequest(A){return(0,T.V1)(!(0,C.d)(["defer","stream"],A.query),67),A}extractErrors(){}startRequest=void 0}const k=i(4639).C.execute;var w=i(8926),v=i(3156),D=i(6576);function m(te,A){return(0,D.o)(te,A,A.variables&&{variables:(0,D.o)({...te&&te.variables,...A.variables})})}var u=i(4984),W=i(3306),z=i(8540);function se(te){return(0,z.YR)(te,{FragmentSpread(A){if(!A.directives?.some(({name:B})=>"unmask"===B.value))return null}})}var G=i(9412),le=i(560),_=i(4523),ge=i(4420),q=i(1955),Te=i(1985),Be=i(8810),we=i(1397),X=i(2806),ye=i(3207),Q=i(7673),ae=i(9437),H=i(5964),_e=i(980),We=i(7647),ht=i(4668),Vt=i(1413),an=i(983),Et=i(8071);class at{constructor(A,B,fe){this.kind=A,this.value=B,this.error=fe,this.hasValue="N"===A}observe(A){return function Ve(te,A){var B,fe,Ce;const{kind:st,value:It,error:gn}=te;if("string"!=typeof st)throw new TypeError('Invalid notification, missing "kind"');"N"===st?null===(B=A.next)||void 0===B||B.call(A,It):"E"===st?null===(fe=A.error)||void 0===fe||fe.call(A,gn):null===(Ce=A.complete)||void 0===Ce||Ce.call(A)}(this,A)}do(A,B,fe){const{kind:Ce,value:st,error:It}=this;return"N"===Ce?A?.(st):"E"===Ce?B?.(It):fe?.()}accept(A,B,fe){var Ce;return(0,Et.T)(null===(Ce=A)||void 0===Ce?void 0:Ce.next)?this.observe(A):this.do(A,B,fe)}toObservable(){const{kind:A,value:B,error:fe}=this,Ce="N"===A?(0,Q.of)(B):"E"===A?(0,Be.$)(()=>fe):"C"===A?an.w:0;if(!Ce)throw new TypeError(`Unexpected notification kind ${A}`);return Ce}static createNext(A){return new at("N",A)}static createError(A){return new at("E",void 0,A)}static createComplete(){return at.completeNotification}}at.completeNotification=new at("C");var Le=i(9974),He=i(4360),Ae=i(8793),qe=i(8141),tt=i(1962),pt=i(4257),Lt=i(4951);function ot(te){return te.map(A=>A.message||"Error message not found.").join("\n")}let At=(()=>
503{class te extends Error{static is(B){return(0,Lt.t)(B,"CombinedProtocolErrors")}static formatMessage=ot;errors;constructor(B){super(te.formatMessage(B,{defaultFormatMessage:ot})),this.name="CombinedProtocolErrors",this.errors=B,(0,Lt.w)(this),Object.setPrototypeOf(this,te.prototype)}}return te})();class gt extends Error{static is(A){return(0,Lt.t)(A,"UnconventionalError")}constructor(A){super("An error of unexpected shape occurred.",{cause:A}),this.name="UnconventionalError",(0,Lt.w)(this),Object.setPrototypeOf(this,gt.prototype)}}const pe=Symbol(),Yt=new WeakSet;var zt=i(2517),Oe=i(2123),Mt=i(3791),o=i(9880),it=i(5932),nn=i(6882);function tn(te,A,B){return nn.y.withValue(!0,()=>{const fe=bn(te,A,B,!1);return Object.isFrozen(te)&&(0,o.G)(fe),fe})}function bn(te,A,B,fe,Ce){const{knownChanged:st}=B,It=function xn(te,A){if(A.has(te))return A.get(te);const B=Array.isArray(te)?[]:{};return A.set(te,B),B}(te,B.mutableTargets);if(Array.isArray(te)){for(const[gn,yn]of Array.from(te.entries())){if(null===yn){It[gn]=null;continue}const Rn=bn(yn,A,B,fe,v.g?`${Ce||""}[${gn}]`:void 0);st.has(Rn)&&st.add(It),It[gn]=Rn}return st.has(It)?It:te}for(const gn of A.selections){let yn;if(fe&&st.add(It),gn.kind===q.b.FIELD){const Rn=(0,it.u)(gn),Un=gn.selectionSet;if(yn=It[Rn]||te[Rn],void 0===yn)continue;if(Un&&null!==yn){const Jn=bn(te[Rn],Un,B,fe,v.g?`${Ce||""}.${Rn}`:void 0);st.has(Jn)&&(yn=Jn)}v.g||(It[Rn]=yn),v.g&&(fe&&"__typename"!==Rn&&!Object.getOwnPropertyDescriptor(It,Rn)?.value?Object.defineProperty(It,Rn,pr(Rn,yn,Ce||"",B.operationName,B.operationType)):(delete It[Rn],It[Rn]=yn))}if(gn.kind===q.b.INLINE_FRAGMENT&&(!gn.typeCondition||B.cache.fragmentMatches(gn,te.__typename))&&(yn=bn(te,gn.selectionSet,B,fe,Ce)),gn.kind===q.b.FRAGMENT_SPREAD){const Rn=gn.name.value,Un=B.fragmentMap[Rn]||(B.fragmentMap[Rn]=B.cache.lookupFragment(Rn));(0,T.V1)(Un,39,Rn);const Jn=(0,nn.s)(gn);"mask"!==Jn&&(yn=bn(te,Un.selectionSet,B,"migrate"===Jn,Ce))}st.has(yn)&&st.add(It)}return"__typename"in te&&!("__typename"in It)&&(It.__typename=te.__typename),Object.keys(It).length!==Object.keys(te).length&&st.add(It),st.has(It)?It:te}function pr(te,A,B,fe,Ce){let st=()=>(nn.y.getValue()||(v.g&&T.V1.warn(40,fe?`${Ce} '${fe}'`:`anonymous ${Ce}`,`${B}.${te}`.replace(/^\./,"")),st=()=>A),A);return{get:()=>st(),set(It){st=()=>It},enumerable:!0,configurable:!0}}var ir=i(9860),_r=i(2151),en=i(1658);function Bn(te){return 7===te||8===te}function Xe(te){return!Bn(te)}var $=i(5459);function F(te){return!!te.errors?.length}function K(te,A=()=>{}){return B=>new Te.c(fe=>{let Ce=A();return B.subscribe({next(st){let It;try{It=te(st,Ce)}catch(gn){fe.error(gn)}void 0!==It&&fe.next(It)},error(st){fe.error(st)},complete(){fe.complete()}})})}function Z(te){const A={data:te.data};return te.error&&(A.error=te.error),A}var Re=i(3326);function ct(te){let A=!1;return(0,z.YR)(te,{Directive:{enter(B){if("client"===B.name.value&&B.arguments&&(A=B.arguments.some(fe=>"always"===fe.name.value&&"BooleanValue"===fe.value.kind&&!0===fe.value.value),A))return z.sP}}}),A}var _t=i(752),wt=i(3896),ee=i(5180);function Se(te,A){(0,u.s)(A);const B=Pt(""),fe=Pt(""),Ce=zn=>{for(let Dr,gr=0;gr<zn.length&&(Dr=zn[gr]);++gr)if(!(0,wt.c)(Dr)){if(Dr.kind===q.b.OPERATION_DEFINITION)return B(Dr.name&&Dr.name.value);if(Dr.kind===q.b.FRAGMENT_DEFINITION)return fe(Dr.name.value)}return T.V1.error(14),null};let st=0;for(let zn=A.definitions.length-1;zn>=0;--zn)A.definitions[zn].kind===q.b.OPERATION_DEFINITION&&++st;const It=function St(te){const A=new Map,B=new Map;return te.forEach(fe=>{fe&&(fe.name?A.set(fe.name,fe):fe.test&&B.set(fe.test,fe))}),fe=>{let Ce=A.get(fe.name.value);return!Ce&&B.size&&B.forEach((st,It)=>{It(fe)&&(Ce=st)}),Ce}}(te),gn=zn=>(0,ee.E)(zn)&&zn.map(It).some(gr=>gr&&gr.remove),yn=new Map;let Rn=!1;const Un={enter(zn){if(gn(zn.directives))return Rn=!0,null}},Jn=(0,z.YR)(A,{Field:Un,InlineFragment:Un,VariableDefinition:{enter:()=>!1},Variable:{enter(zn,gr,Dr,Ee,xe){const ve=Ce(xe);ve&&ve.variables.add(zn.name.value)}},FragmentSpread:{enter(zn,gr,Dr,Ee,xe){if(gn(zn.directives))return Rn=!0,null;const ve=Ce(xe);ve&&ve.fragmentSpreads.add(zn.name.value)}},FragmentDefinition:{enter(zn,gr,Dr,Ee){yn.set(JSON.stringify(Ee),zn)},leave:(zn,gr,Dr,Ee)=>zn===yn.get(JSON.stringify(Ee))?zn:st>0&&zn.selectionSet.selections.every(ve=>ve.kind===q.b.FIELD&&"__typename"===ve.name.value)?(fe(zn.name.value).removed=!0,Rn=!0,null):void 0},Directive:{leave(zn){if(It(zn))return Rn=!0,null}}});if(!Rn)return A;const qn=zn=>(zn.transitiveVars||(zn.transitiveVars=new Set(zn.variables),zn.removed||zn.fragmentSpreads.forEach(gr=>
503{qn(fe(gr)).transitiveVars.forEach(Dr=>{zn.transitiveVars.add(Dr)})})),zn),Er=new Set;Jn.definitions.forEach(zn=>{zn.kind===q.b.OPERATION_DEFINITION?qn(B(zn.name&&zn.name.value)).fragmentSpreads.forEach(gr=>{Er.add(gr)}):zn.kind===q.b.FRAGMENT_DEFINITION&&0===st&&!fe(zn.name.value).removed&&Er.add(zn.name.value)}),Er.forEach(zn=>{qn(fe(zn)).fragmentSpreads.forEach(gr=>{Er.add(gr)})});const nr={enter(zn){if((zn=>!(Er.has(zn)&&!fe(zn).removed))(zn.name.value))return null}};return function Jt(te){return Xt((0,zt.V)(te)||(0,_t.E)(te),(0,Oe.J)((0,Mt.z)(te)))?null:te}((0,z.YR)(Jn,{FragmentSpread:nr,FragmentDefinition:nr,OperationDefinition:{leave(zn){if(zn.variableDefinitions){const gr=qn(B(zn.name&&zn.name.value)).transitiveVars;if(gr.size<zn.variableDefinitions.length)return{...zn,variableDefinitions:zn.variableDefinitions.filter(Dr=>gr.has(Dr.variable.name.value))}}}}}))}function Pt(te){const A=new Map;return function(fe=te){let Ce=A.get(fe);return Ce||A.set(fe,Ce={variables:new Set,fragmentSpreads:new Set}),Ce}}function Xt(te,A){return!te||te.selectionSet.selections.every(B=>B.kind===q.b.FRAGMENT_SPREAD&&Xt(A[B.name.value],A))}var vn=i(7806),jn=i(3152),Tn=i(6452),Yn=i(9745),$e=function(te){return te[te.loading=1]="loading",te[te.setVariables=2]="setVariables",te[te.fetchMore=3]="fetchMore",te[te.refetch=4]="refetch",te[te.poll=6]="poll",te[te.ready=7]="ready",te[te.error=8]="error",te[te.streaming=9]="streaming",te}($e||{}),Ct=i(4412),Ze=i(626),Ht=i(4804);function I(te){return te.catch(()=>{}),te}const{assign:mt,hasOwnProperty:Ue}=Object,ue={loading:!0,networkStatus:$e.loading,data:void 0,dataState:"empty",partial:!0},ft={loading:!1,networkStatus:$e.ready,data:void 0,dataState:"empty",partial:!0};class Kt{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:A,options:B,transformedQuery:fe=A.transform(B.query)}){this.queryManager=A,this.waitForNetworkResult="network-only"===B.fetchPolicy,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:Ce="cache-first"}={}}=A.defaultOptions,{fetchPolicy:st=Ce,initialFetchPolicy:It=("standby"===st?Ce:st)}=B;B[Tn._K]&&((0,T.V1)("standby"===st,80),this.variablesUnknown=!0),this.lastQuery=fe,this.options={...B,initialFetchPolicy:It,fetchPolicy:st,variables:this.getVariablesWithDefaults(B.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const gn=(0,zt.V)(this.query);this.queryName=gn&&gn.name&&gn.name.value}initializeObservablesQueue(){this.subject=new Ct.t({query:this.query,variables:this.variables,result:ue,meta:{}});const A=this.subject.pipe((0,qe.M)({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),K(({query:B,variables:fe,result:Ce,meta:st},It)=>{const{shouldEmit:gn}=st;if(Ce===ue&&(It.previous=void 0,It.previousVariables=void 0),"standby"===this.options.fetchPolicy||2===gn)return;if(1===gn)return Un();const{previous:yn,previousVariables:Rn}=It;if(yn){const Jn=this.queryManager.getDocumentInfo(B),qn=this.queryManager.dataMasking;if((qn||Jn.hasNonreactiveDirective?(0,Ze.a)(qn?Jn.nonReactiveQuery:B,yn,Ce,fe):(0,ir.L)(yn,Ce))&&(0,ir.L)(Rn,fe))return}if(3!==gn||this.options.notifyOnNetworkStatusChange&&!(0,ir.L)(yn,Ce))return Un();function Un(){return It.previous=Ce,It.previousVariables=fe,Ce}},()=>({})));this.pipe=A.pipe.bind(A),this.subscribe=A.subscribe.bind(A),this.input=new Vt.B,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:A=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:A})}getInitialResult(A){let B=A||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&("network-only"===B||"cac
503he-and-network"===B)&&(B="cache-first");const fe=()=>{const Ce=this.getCacheDiff(),st=this.options.returnPartialData||Ce.complete?Ce.result??void 0:void 0;return this.maskResult({data:st,dataState:Ce.complete?"complete":void 0===st?"empty":"partial",loading:!Ce.complete,networkStatus:Ce.complete?$e.ready:$e.loading,partial:!Ce.complete})};switch(B){case"cache-only":return{...fe(),loading:!1,networkStatus:$e.ready};case"cache-first":return fe();case"cache-and-network":return{...fe(),loading:!0,networkStatus:$e.loading};case"standby":return ft;default:return ue}}resubscribeCache(){const{variables:A,fetchPolicy:B}=this.options,fe=this.query,Ce="standby"===B||"no-cache"===B||this.waitForNetworkResult,st=!Ge({query:fe,variables:A},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((Ce||st)&&this.unsubscribeFromCache?.(),Ce||!st)return;const It={query:fe,variables:A,optimistic:!0,watcher:this,callback:yn=>{const Rn=this.queryManager.getDocumentInfo(fe);if((Rn.hasClientExports||Rn.hasForcedResolvers)&&(It.lastDiff=void 0),It.lastOwnDiff===yn)return;const{result:Un}=this.subject.getValue();!yn.complete&&(Un.error||Un===ue||Un===ft)||(0,ir.L)(Un.data,yn.result)||this.scheduleNotify()}},gn=this.cache.watch(It);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,gn()},{query:fe,variables:A})}stableLastResult;getCurrentResult(){const{result:A}=this.subject.getValue();let B=A.networkStatus===$e.error||this.hasObservers()||"no-cache"===this.options.fetchPolicy?A:this.getInitialResult();return B===ue&&(B=this.getInitialResult()),(0,ir.L)(this.stableLastResult,B)||(this.stableLastResult=B),this.stableLastResult}refetch(A){const{fetchPolicy:B}=this.options,fe={pollInterval:0};if(fe.fetchPolicy="no-cache"===B?"no-cache":"network-only",v.g&&A&&Ue.call(A,"variables")){const Ce=(0,Ht.A)(this.query),st=Ce.variableDefinitions;(!st||!st.some(It=>"variables"===It.variable.name.value))&&v.g&&T.V1.warn(81,A,Ce.name?.value||Ce)}return A&&!(0,ir.L)(this.variables,A)&&(fe.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...A})),this._lastWrite=void 0,this._reobserve(fe,{newNetworkStatus:$e.refetch})}fetchMore({query:A,variables:B,context:fe,errorPolicy:Ce,updateQuery:st}){(0,T.V1)("cache-only"!==this.options.fetchPolicy,82,(0,$.n)(this.query,"(anonymous)"));const It={...(0,D.o)(this.options,{errorPolicy:"none"},{query:A,context:fe,errorPolicy:Ce}),variables:A?B:{...this.variables,...B},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};It.query=this.transformDocument(It.query),this.lastQuery=A?this.transformDocument(this.options.query):It.query;let gn=!1;const yn="no-cache"!==this.options.fetchPolicy;yn||(0,T.V1)(st,83);const{finalize:Rn,pushNotification:Un}=this.pushOperation($e.fetchMore);Un({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});const{promise:Jn,operator:qn}=On(),{observable:Er}=this.queryManager.fetchObservableWithInfo(It,{networkStatus:$e.fetchMore,exposeExtensions:!0}),Xn=Er.pipe(qn,(0,H.p)(nr=>"N"===nr.kind&&"network"===nr.source)).subscribe({next:nr=>{gn=!1;const zn=nr.value,gr=zn[Tn.X];if(Bn(nr.value.networkStatus)&&Rn(),yn){const Dr=this.getCacheDiff();this.cache.batch({update:Ee=>{st?Ee.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:gr},xe=>st(xe,{fetchMoreResult:zn.data,variables:It.variables})):Ee.writeQuery({query:It.query,variables:It.variables,data:zn.data,extensions:gr})},onWatchUpdated:(Ee,xe)=>{if(Ee.watcher===this&&!(0,ir.L)(xe.result,Dr.result)){gn=!0;const ve=this.getCurrentResult();Xe(zn.networkStatus)&&Un({kind:"N",source:"network",value:{...ve,networkStatus:zn.networkStatus===$e.error?$e.ready:zn.networkStatus,loading:!1,data:xe.result,dataState:"streaming"===zn.dataState?"streaming":"complete"}})}}})}else{const Dr=this.getCurrentResult(),Ee=st(Dr.data,{fetchMoreResult:zn.data,variables:It.variables});Un({kind:"N",value:{...Dr,networkStatus:$e.ready,loading:!1,data:Ee,dataState:"streaming"===Dr.dataState?"streaming":"complete"},source:"network"})}}});return I(Jn.then(nr=>Z(this.maskResult(nr))).finally(()=>
503{if(Xn.unsubscribe(),Rn(),yn&&!gn){const nr=this.getCurrentResult();"streaming"===nr.dataState?Un({kind:"N",source:"network",value:{...nr,dataState:"complete",networkStatus:$e.ready}}):Un({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(A){const B=this.queryManager.startGraphQLSubscription({query:A.document,variables:A.variables,context:A.context}).subscribe({next:fe=>{const{updateQuery:Ce,onError:st}=A,{error:It}=fe;It?st?st(It):T.V1.error(84,It):Ce&&this.updateQuery((gn,yn)=>Ce(gn,{subscriptionData:fe,...yn}))}});return this.subscriptions.add(B),()=>{this.subscriptions.delete(B)&&B.unsubscribe()}}applyOptions(A){const B=(0,D.o)(this.options,A||{});mt(this.options,B),this.updatePolling()}setVariables(A){var B=this;return(0,_.A)(function*(){return A=B.getVariablesWithDefaults(A),(0,ir.L)(B.variables,A)||(B.options.variables=A,!B.hasObservers())?Z(B.getCurrentResult()):B._reobserve({fetchPolicy:B.options.initialFetchPolicy,variables:A},{newNetworkStatus:$e.setVariables})})()}updateQuery(A){const{queryManager:B}=this,{result:fe,complete:Ce}=this.getCacheDiff({optimistic:!1}),st=A(fe,{variables:this.variables,complete:!!Ce,previousData:fe});st&&(this.cache.writeQuery({query:this.options.query,data:st,variables:this.variables}),B.broadcastQueries())}startPolling(A){this.options.pollInterval=A,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(A,B){if(B.nextFetchPolicy){const{fetchPolicy:fe="cache-first",initialFetchPolicy:Ce=fe}=B;"standby"===fe||(B.fetchPolicy="function"==typeof B.nextFetchPolicy?B.nextFetchPolicy.call(B,fe,{reason:A,options:B,observable:this,initialFetchPolicy:Ce}):"variables-changed"===A?Ce:B.nextFetchPolicy)}return B.fetchPolicy}fetch(A,B,fe,Ce){const st=this.options.fetchPolicy;A.context??={};let It=!1,{observable:Rn,fromLink:Un}=this.queryManager.fetchObservableWithInfo(A,{networkStatus:B,query:fe,onCacheHit:()=>{It=!0},fetchQueryOperator:zn=>new Te.c(gr=>{try{return zn.subscribe({next(Dr){It=!0,gr.next(Dr)},error:Dr=>gr.error(Dr),complete:()=>gr.complete()})}finally{It||(Er.override=B,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:Jn,variables:qn,meta:{shouldEmit:3,fetchPolicy:st}}))}}),observableQuery:this});const{query:Jn,variables:qn}=this,Er={abort:()=>{nr.unsubscribe()},query:Jn,variables:qn};this.activeOperations.add(Er);let Xn=B==$e.refetch||B==$e.setVariables;Rn=Rn.pipe(Ce,(0,We.u)());const nr=Rn.pipe((0,qe.M)({next:zn=>{"newNetworkStatus"===zn.source||"N"===zn.kind&&zn.value.loading?Er.override=B:delete Er.override},finalize:()=>this.activeOperations.delete(Er)})).subscribe({next:zn=>{const gr={};Xn&&"N"===zn.kind&&"loading"in zn.value&&!zn.value.loading&&(Xn=!1,gr.shouldEmit=1),this.input.next({...zn,query:Jn,variables:qn,meta:gr})}});return{fromLink:Un,subscription:nr,observable:Rn}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;const{pollingInfo:A,options:{fetchPolicy:B,pollInterval:fe}}=this,Ce=()=>{const{options:yn}=this;return!yn.pollInterval||!this.hasObservers()||"cache-only"===yn.fetchPolicy||"standby"===yn.fetchPolicy};if(Ce())return v.g&&!this.didWarnCacheOnlyPolling&&fe&&"cache-only"===B&&(v.g&&T.V1.warn(85,(0,$.n)(this.query,"(anonymous)")),this.didWarnCacheOnlyPolling=!0),void this.cancelPolling();if(A?.interval===fe)return;(A||(this.pollingInfo={})).interval=fe;const It=()=>{if(Ce())return this.cancelPolling();this.pollingInfo&&(Xe(this.networkStatus)||this.options.skipPollAttempt?.()?gn():this._reobserve({fetchPolicy:"no-cache"===this.options.initialFetchPolicy?"no-cache":"network-only"},{newNetworkStatus:$e.poll}).then(gn,gn))},gn=()=>{const yn=this.pollingInfo;yn&&(clearTimeout(yn.timeout),yn.timeout=setTimeout(It,yn.interval))};gn()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(A){return this._reobserve(A)}_reobserve(A,B){this.isTornDown=!1;let{newNetworkStatus:fe}=B||{};this.queryManager.obsQueries.add(this);const Ce=fe===$e.refetch||fe===$e.poll,st=this.variables,It=this.options.fetchPolicy,gn=(0,D.o)(this.options,A||{});this.variablesUnknown&&="standby"===gn.fetchPolicy;const yn=Ce?gn:mt(this.options,gn),Rn=this.transformDocument(yn.query);this.lastQuery=Rn,A&&"variables"in A&&(yn.variables=this.getVariablesWithDefaults(A.variables)),Ce||(this.updatePolling(),A&&A.variables&&!(0,ir.L)(A.variables,st)&&"standby"!==yn.fetchPolicy&&(yn.fetchPolicy===It||"function"==typeof yn.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",yn),void 0===fe&&(fe=$e.setVariables))),fe||(fe=$e.loading,this.networkStatus!==$e.loading&&A?.variables&&!(0,ir.L)(A.variables,st)&&(fe=$e.setVariables),"standby"===yn.fetchPolicy&&(fe=$e.ready)),"standby"===yn.fetchPolicy&&this.cancelPolling(),this.resubscribeCache();const{promise:Jn,operator:qn}=On("standby"===yn.fetchPolicy?{data:void 0}:void 0),{subscription:Er,observable:Xn,fromLink:nr}=this.fetch(yn,fe,Rn,qn);!Ce&&(nr||!this.linkSubscription)&&(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=Er);const zn=Object.assign(I(Jn.then(gr=>Z(this.maskResult(gr))).finally(()=>{!this.hasObservers()&&0===this.activeOperations.size&&this.tearDownQuery()})),{retain:()=>{const gr=Xn.subscribe({}),Dr=()=>gr.unsubscribe();return Jn.then(Dr,Dr),zn}});return zn}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(A=>A.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(A){return this.queryManager.transform(A)}maskResult(A){const B=this.queryManager.maskOperation({document:this.query,data:A.data,fetchPolicy:this.options.fetchPolicy,cause:this});return B===A.data?A:{...A,data:B}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(A=!1){if(!A){const fe=this.queryManager.getDocumentInfo(this.query);if(fe.hasClientExports||fe.hasForcedResolvers)return}const{dirty:B}=this;if(this.resetNotifications(),B&&("cache-only"===this.options.fetchPolicy||"cache-and-network"===this.options.fetchPolicy||!this.activeOperations.size)){const fe=this.getCacheDiff();(0,ir.L)(fe.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:fe.result,dataState:fe.complete?"complete":fe.result?"partial":"empty",networkStatus:$e.ready,loading:!1,error:void 0,partial:!fe.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(A){let B=!1;const{query:fe,variables:Ce}=this,st=()=>{this.activeOperations.delete(It)},It={override:A,abort:()=>{B=!0,st()},query:fe,variables:Ce};return this.activeOperations.add(It),{finalize:st,pushNotification:(gn,yn)=>{B||this.input.next({...gn,query:fe,variables:Ce,meta:{...yn}})}}}calculateNetworkStatus(A){return A===$e.streaming?A:Array.from(this.activeOperations.values()).reverse().find(fe=>Ge(fe,this)&&void 0!==fe.override)?.override??A}abortActiveOperations(){this.activeOperations.forEach(A=>A.abort())}reset(){const A="cache-only"===this.options.fetchPolicy;this.setResult(A?ft:ue,{shouldEmit:A?1:2}),this.abortActiveOperations()}setResult(A,B){this.input.next({source:"setResult",kind:"N",value:A,query:this.query,variables:this.variables,meta:{...B}})}operator=K(A=>{const{query:B,variables:fe,meta:Ce}=A;if("setResult"===A.source)return{query:B,variables:fe,result:A.value,meta:Ce};if("C"===A.kind||!Ge(A,this))return;let st;const It=this.subject.getValue();if("cache"===A.source){if(st=A.value,st.networkStatus===$e.ready&&st.partial&&(!this.options.returnPartialData||It.result.networkStatus===$e.error)&&"cache-only"!==this.options.fetchPolicy)return}else if("network"===A.source)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),st="E"===A.kind?{...Ge(It,A)?It.result:{data:void 0,dataState:"empty",partial:!0},error:A.error,networkStatus:$e.error,loading:!1}:A.value,"E"===A.kind&&"streaming"===st.dataState&&(st.dataState="complete"),st.error&&(Ce.shouldEmit=1);else if("newNetworkStatus"===A.source){const gn=Ge(It,A)?It.result:this.getInitialResult(Ce.fetchPolicy),{resetError:yn}=A.value,Rn=yn?void 0:gn.error,Un=Rn?$e.error:$e.ready;st={...gn,error:Rn,networkStatus:Un}}return(0,T.V1)(st),st.error||delete st.error,st.networkStatus=this.calculateNetworkStatus(st.networkStatus),st.loading=Xe(st.networkStatus),st=this.maskResult(st),{query:B,variables:fe,result:st,meta:Ce}});reobserveCacheFirst(){const{fetchPolicy:A,nextFetchPolicy:B}=this.options;"cache-and-network"===A||"network-only"===A?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(fe,Ce){return this.nextFetchPolicy=B,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(fe,Ce):A}}):this.reobserve()}getVariablesWithDefaults(A){return this.queryManager.getVariables(this.query,A)}}function Ge(te,A){return!!(te&&A&&te.query===A.query&&(0,ir.L)(te.variables,A.variables))}function On(te){let B,fe,A=te;return{promise:new Promise((It,gn)=>{B=It,fe=gn}),operator:(0,qe.M)({next(It){if("E"===It.kind)return fe(It.error);"N"===It.kind&&"newNetworkStatus"!==It.source&&!It.value.loading&&(A=It.value)},finalize:()=>{if(A)B(A);else{const It="The operation was aborted.",gn="AbortError";fe(typeof DOMException<"u"?new DOMException(It,gn):Object.assign(new Error(It),{name:gn}))}}})}}const xt={},sn=new WeakMap;function Wt(te,A){const B=te[A];"function"==typeof B&&(te[A]=function(){return sn.set(te,(sn.get(te)+1)%1e15),B.apply(this,arguments)})}const kn=new WeakMap;class Fr{lastRequestId=1;cache;queryManager;id;observableQuery;incremental;constructor(A,B){const fe=this.cache=A.cache,Ce=(kn.get(A)||0)+1;kn.set(A,Ce),this.id=Ce+"",this.observableQuery=B,this.queryManager=A,sn.has(fe)||(sn.set(fe,0),Wt(fe,"evict"),Wt(fe,"modify"),Wt(fe,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(A){(this.observableQuery||this)._lastWrite=A}resetLastWrite(){this.lastWrite=void 0}shouldWrite(A,B){const{lastWrite:fe}=this;return!(fe&&fe.dmCount===sn.get(this.cache)&&(0,ir.L)(B,fe.variables)&&(0,ir.L)(A.data,fe.result.data)&&A.extensions?.[Tn.DH]===fe.result.extensions?.[Tn.DH])}get hasNext(){return!!this.incremental&&this.incremental.hasNext}maybeHandleIncrementalResult(A,B,fe){const{incrementalHandler:Ce}=this.queryManager;return Ce.isIncrementalResult(B)?(this.incremental||=Ce.startRequest
503({query:fe}),this.incremental.handle(A,B)):B}markQueryResult(A,{document:B,variables:fe,errorPolicy:Ce,cacheWriteBehavior:st}){const It={query:B,variables:fe,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();const gn=0===st,yn=gn?void 0:this.cache.diff(It);let Rn=this.maybeHandleIncrementalResult(yn?.result,A,B);return gn||(mi(Rn,Ce)?this.cache.batch({onWatchUpdated:(Un,Jn)=>{Un.watcher===this.observableQuery&&(Un.lastOwnDiff=Jn)},update:Un=>{if(this.shouldWrite(Rn,fe))Un.writeQuery({query:B,data:Rn.data,variables:fe,overwrite:1===st,extensions:Rn.extensions}),this.lastWrite={result:Rn,variables:fe,dmCount:sn.get(this.cache)};else if(yn&&yn.complete)return void(Rn={...Rn,data:yn.result});const Jn=Un.diff(It);Jn.complete&&(Rn={...Rn,data:Jn.result})}}):this.lastWrite=void 0),Rn}markMutationResult(A,B,fe=this.cache){const Ce=[],st=0===B.cacheWriteBehavior;let It=this.maybeHandleIncrementalResult(st?void 0:fe.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(B.document).asQuery,variables:B.variables,optimistic:!1,returnPartialData:!0}).result,A,B.document);if("ignore"===B.errorPolicy&&(It={...It,errors:[]}),F(It)&&"none"===B.errorPolicy)return Promise.resolve(It);const gn=()=>({...It,dataState:this.hasNext?"streaming":"complete"});if(!st&&mi(It,B.errorPolicy)){Ce.push({result:It.data,dataId:"ROOT_MUTATION",query:B.document,variables:B.variables,extensions:It.extensions});const{updateQueries:Rn}=B;Rn&&this.queryManager.getObservableQueries("all").forEach(Un=>{const Jn=Un&&Un.queryName;if(!Jn||!Object.hasOwnProperty.call(Rn,Jn))return;const qn=Rn[Jn],{query:Er,variables:Xn}=Un,{result:nr,complete:zn}=Un.getCacheDiff({optimistic:!1});if(zn&&nr){const gr=qn(nr,{mutationResult:gn(),queryName:Er&&(0,$.n)(Er)||void 0,queryVariables:Xn});gr&&Ce.push({result:gr,dataId:"ROOT_QUERY",query:Er,variables:Xn})}})}let yn=B.refetchQueries;if("function"==typeof yn&&(yn=yn(gn())),Ce.length>0||(yn||"").length>0||B.update||B.onQueryUpdated||B.removeOptimistic){const Rn=[];if(this.queryManager.refetchQueries({updateCache:Un=>{st||Ce.forEach(qn=>Un.write(qn));const{update:Jn}=B;if(Jn){if(!st){const qn=Un.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(B.document).asQuery,variables:B.variables,optimistic:!1,returnPartialData:!0});qn.complete&&(It={...It,data:qn.result})}this.hasNext||Jn(Un,It,{context:B.context,variables:B.variables})}!st&&!B.keepRootFields&&!this.hasNext&&Un.modify({id:"ROOT_MUTATION",fields:(qn,{fieldName:Er,DELETE:Xn})=>"__typename"===Er?qn:Xn})},include:yn,optimistic:!1,removeOptimistic:B.removeOptimistic,onQueryUpdated:B.onQueryUpdated||null}).forEach(Un=>Rn.push(Un)),B.awaitRefetchQueries||B.onQueryUpdated)return Promise.all(Rn).then(()=>It)}return Promise.resolve(It)}markMutationOptimistic(A,B){const fe="function"==typeof A?A(B.variables,{IGNORE:xt}):A;return fe!==xt&&(this.cache.recordOptimisticTransaction(Ce=>{try{this.markMutationResult({data:fe},B,Ce)}catch(st){T.V1.error(st)}},this.id),!0)}markSubscriptionResult(A,{document:B,variables:fe,errorPolicy:Ce,cacheWriteBehavior:st}){0!==st&&(mi(A,Ce)&&this.cache.write({query:B,result:A.data,dataId:"ROOT_SUBSCRIPTION",variables:fe,extensions:A.extensions}),this.queryManager.broadcastQueries())}}function mi(te,A="none"){const B="ignore"===A||"all"===A;let fe=!F(te);return!fe&&B&&te.data&&(fe=!0),fe}class Qe{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(A){const B=new w.c(Ce=>this.cache.transformDocument(Ce),{cache:!1});this.client=A.client,this.defaultOptions=A.defaultOptions,this.queryDeduplication=A.queryDeduplication,this.clientOptions=A.clientOptions,this.ssrMode=A.ssrMode,this.assumeImmutableResults=A.assumeImmutableResults,this.dataMasking=A.dataMasking,this.localState=A.localState,this.incrementalHandler=A.incrementalHandler;const fe=A.documentTransform;this.documentTransform=fe?B.concat(fe).concat(B):B,this.defaultContext=A.defaultContext||{},(this.onBroadcast=A.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}
503stop(){this.obsQueries.forEach(A=>A.stop()),this.cancelPendingFetches((0,T.vA)(87))}cancelPendingFetches(A){this.fetchCancelFns.forEach(B=>B(A)),this.fetchCancelFns.clear()}mutate(A){var B=this;return(0,_.A)(function*({mutation:fe,variables:Ce,optimisticResponse:st,updateQueries:It,refetchQueries:gn=[],awaitRefetchQueries:yn=!1,update:Rn,onQueryUpdated:Un,fetchPolicy:Jn,errorPolicy:qn,keepRootFields:Er,context:Xn}){const nr=new Fr(B);fe=B.cache.transformForLink(B.transform(fe));const{hasClientExports:zn}=B.getDocumentInfo(fe);Ce=B.getVariables(fe,Ce),zn&&(v.g&&(0,T.V1)(B.localState,88,(0,$.n)(fe,"(anonymous)")),Ce=yield B.localState.getExportedVariables({client:B.client,document:fe,variables:Ce,context:Xn}));const gr=B.mutationStore&&(B.mutationStore[nr.id]={mutation:fe,variables:Ce,loading:!0,error:null}),Dr=st&&nr.markMutationOptimistic(st,{document:fe,variables:Ce,cacheWriteBehavior:"no-cache"===Jn?0:2,errorPolicy:qn,context:Xn,updateQueries:It,update:Rn,keepRootFields:Er});return B.broadcastQueries(),new Promise((Ee,xe)=>{const ve={};return B.getObservableFromLink(fe,{...Xn,optimisticResponse:Dr?st:void 0},Ce,Jn,{},!1).observable.pipe(bt(),(0,we.Z)(Pe=>{const je={...Pe};return(0,X.H)(nr.markMutationResult(je,{document:fe,variables:Ce,cac
503heWriteBehavior:"no-cache"===Jn?0:2,errorPolicy:qn,context:Xn,update:Rn,updateQueries:It,awaitRefetchQueries:yn,refetchQueries:gn,removeOptimistic:Dr?nr.id:void 0,onQueryUpdated:Un,keepRootFields:Er}))})).pipe((0,c.T)(Pe=>{if(F(Pe)&&"none"===qn)throw new pt.K(_n(Pe));return gr&&(gr.loading=!1,gr.error=null),Pe})).subscribe({next:Pe=>{if(B.broadcastQueries(),!nr.hasNext){const je={data:B.maskOperation({document:fe,data:Pe.data,fetchPolicy:Jn,cause:ve})};F(Pe)&&(je.error=new pt.K(Pe)),Object.keys(Pe.extensions||{}).length&&(je.extensions=Pe.extensions),Ee(je)}},error:Pe=>(gr&&(gr.loading=!1,gr.error=Pe),Dr&&B.cache.removeOptimistic(nr.id),B.broadcastQueries(),"ignore"===qn?Ee({data:void 0}):"all"===qn?Ee({data:void 0,error:Pe}):void xe(Pe))})})}).apply(this,arguments)}fetchQuery(A,B){var fe=this;return(0,u.s)(A.query,b.cE.QUERY),(0,_.A)(function*(){return(0,ye.s)(fe.fetchObservableWithInfo(A,{networkStatus:B}).observable.pipe(K(Ce=>{switch(Ce.kind){case"E":throw Ce.error;case"N":if("newNetworkStatus"!==Ce.source)return Z(Ce.value)}})),{defaultValue:{data:void 0}})})()}transform(A){return this.documentTransform.transformDocument(A)}transformCache=new Re.A(_r.v["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(A){const{transformCache:B}=this;if(!B.has(A)){const Ce=(0,zt.V)(A),st={hasClientExports:(0,C.d)(["client","export"],A,!0),hasForcedResolvers:ct(A),hasNonreactiveDirective:(0,C.d)(["nonreactive"],A),hasIncrementalDirective:(0,C.d)(["defer"],A),nonReactiveQuery:(te=A,(0,z.YR)(te,{FragmentSpread:A=>{if(!A.directives?.some(B=>"unmask"===B.name.value))return{...A,directives:[...A.directives||[],{kind:q.b.DIRECTIVE,name:{kind:q.b.NAME,value:"nonreactive"}}
503]}}})),clientQuery:(0,C.d)(["client"],A)?A:null,serverQuery:Se([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],A),operationType:Ce?.operation,defaultVars:(0,vn.w)(Ce),asQuery:{...A,definitions:A.definitions.map(It=>"OperationDefinition"===It.kind&&"query"!==It.operation?{...It,operation:"query"}:It)}};B.set(A,st)}var te;const fe=B.get(A);if(fe.violation)throw fe.violation;return fe}getVariables(A,B){const fe=this.getDocumentInfo(A).defaultVars,Ce=Object.entries(B??{}).map(([st,It])=>[st,void 0===It?fe[st]:It]);return{...fe,...Object.fromEntries(Ce)}}watchQuery(A){(0,u.s)(A.query,b.cE.QUERY);const B=this.transform(A.query);return typeof(A={...A,variables:this.getVariables(B,A.variables)}).notifyOnNetworkStatusChange>"u"&&(A.notifyOnNetworkStatusChange=!0),new Kt({queryManager:this,options:A,transformedQuery:B})}query(A){const B=this.transform(A.query);return this.fetchQuery({...A,query:B}).then(fe=>({...fe,data:this.maskOperation({document:B,data:fe?.data,fetchPolicy:A.fetchPolicy})}))}requestIdCounter=1;generateRequestId(){return this.requestIdCounter++}clearStore(A={discardWatches:!0}){return this.cancelPendingFetches((0,T.vA)(89)),this.obsQueries.forEach(B=>{B.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(A)}getObservableQueries(A="active"){const B=new Set,fe=new Map,Ce=new Map,st=new Set;return Array.isArray(A)&&A.forEach(It=>{if("string"==typeof It)fe.set(It,It),Ce.set(It,!1);else if(function Zn(te){return(0,jn.U)(te)&&"Document"===te.kind&&Array.isArray(te.definitions)}(It)){const gn=(0,en.y)(this.transform(It));fe.set(gn,(0,$.n)(It)),Ce.set(gn,!1)}else(0,jn.U)(It)&&It.query&&st.add(It)}),this.obsQueries.forEach(It=>{const gn=(0,en.y)(this.transform(It.options.query));if("all"===A)return void B.add(It);const{queryName:yn,options:{fetchPolicy:Rn}}=It;"active"===A&&"standby"===Rn||("active"===A||yn&&Ce.has(yn)||gn&&Ce.has(gn))&&(B.add(It),yn&&Ce.set(yn,!0),gn&&Ce.set(gn,!0))}),st.size&&st.forEach(It=>{const gn=new Kt({queryManager:this,options:{...m(this.defaultOptions.watchQuery,It),fetchPolicy:"network-only"}});B.add(gn)}),v.g&&Ce.size&&Ce.forEach((It,gn)=>{if(!It){const yn=fe.get(gn);yn?v.g&&T.V1.warn(90,yn):v.g&&T.V1.warn(91)}}),B}refetchObservableQueries(A=!1){const B=[];return this.getObservableQueries(A?"all":"active").forEach(fe=>{const{fetchPolicy:Ce}=fe.options;(A||"standby"!==Ce)&&"cache-only"!==Ce&&B.push(fe.refetch())}),this.broadcastQueries(),Promise.all(B)}startGraphQLSubscription(A){let{query:B,variables:fe}=A;const{fetchPolicy:Ce="cache-first",errorPolicy:st="none",context:It={},extensions:gn={}}=A;let yn;(0,u.s)(B,b.cE.SUBSCRIPTION),B=this.transform(B),fe=this.getVariables(B,fe),v.g&&(0,T.V1)(!this.getDocumentInfo(B).hasClientExports||this.localState,92,(0,$.n)(B,"(anonymous)"));const Rn=(this.getDocumentInfo(B).hasClientExports?(0,X.H)(this.localState.getExportedVariables({client:this.client,document:B,variables:fe,context:It})):(0,Q.of)(fe)).pipe((0,we.Z)(Un=>{const{observable:Jn,restart:qn}=this.getObservableFromLink(B,It,Un,Ce,gn),Er=new Fr(this);return yn=qn,Jn.pipe((0,c.T)(Xn=>{Er.markSubscriptionResult(Xn,{document:B,variables:Un,errorPolicy:st,cacheWriteBehavior:"no-cache"===Ce?0:2});const nr={data:Xn.data??void 0};return F(Xn)?nr.error=new pt.K(Xn):function lt(te){return"extensions"in te&&At.is(te.extensions[pe])}(Xn)&&(nr.error=Xn.extensions[pe],delete Xn.extensions[pe]),Xn.extensions&&Object.keys(Xn.extensions).length&&(nr.extensions=Xn.extensions),nr.error&&"none"===st&&(nr.data=void 0),"ignore"===st&&delete nr.error,nr}),(0,ae.W)(Xn=>(0,Q.of)("ignore"===st?{data:void 0}:{data:void 0,error:Xn})),(0,H.p)(Xn=>!(!Xn.data&&!Xn.error)))}));return Object.assign(Rn,{restart:()=>yn?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(A=>A.notify())}inFlightLinkObservables=new ge.b(!1);getObservableFromLink(A,B,fe,Ce,st,It=B?.queryDeduplication??this.queryDeduplication){let gn={};const{serverQuery:yn,clientQuery:Rn,operationType:Un,hasIncrementalDirective:Jn}=this.getDocumentInfo(A),qn=(0,$.n)(A),Er={client:this.client};if(yn){const{inFlightLinkObservables:Xn,link:nr}=this;try{let gr=function(Dr){return new Te.c(Ee=>{function xe(){return Dr.subscribe({next:Ee.next.bind(Ee),complete:Ee.complete.bind(Ee),error:Ee.error.bind(Ee)})}let ve=xe();return gn.restart||=()=>{ve.unsubscribe(),ve=xe()},()=>{ve.unsubscribe(),gn.restart=void 0}})};const zn=this.incrementalHandler.prepareRequest({query:yn,variables:fe,context:{...this.defaultContext,...B,queryDeduplication:It},extensions:st});if(B=zn.context,It){const Dr=(0,en.y)(yn),Ee=(0,tt.M)(fe);gn=Xn.lookup(Dr,Ee),gn.observable||(gn.observable=k(nr,zn,Er).pipe(gr,(0,_e.j)(()=>{Xn.peek(Dr,Ee)===gn&&Xn.remove(Dr,Ee)}),Un===b.cE.SUBSCRIPTION?(0,We.u)():(0,ht.t)({refCount:!0})))}else gn.observable=k(nr,zn,Er).pipe(gr)}catch(zn){gn.observable=(0,Be.$)(()=>zn)}}else gn.observable=(0,Q.of)({data:{}});if(Rn){const{operation:Xn}=(0,zt.V)(A);v.g&&(0,T.V1)(this.localState,93,Xn[0].toUpperCase()+Xn.slice(1),qn??"(anonymous)"),(0,T.V1)(!Jn,94,Xn[0].toUpperCase()+Xn.slice(1),qn??"(anonymous)"),gn.observable=gn.observable.pipe((0,we.Z)(nr=>(0,X.H)(this.localState.execute({client:this.client,document:Rn,remoteResult:nr,context:B,variables:fe,fetchPolicy:Ce}))))}return{restart:()=>gn.restart?.(),observable:gn.observable.pipe((0,ae.W)(Xn=>{throw function Ut(te){Yt.add(te)}(Xn=function Rt(te){return function M(te){return null!==te&&"object"==typeof te&&"string"==typeof te.message&&"string"==typeof te.name&&("string"==typeof te.stack||typeof te.stack>"u")}(te)?te:"string"==typeof te?new Error(te,{cause:te}):new gt(te)}(Xn)),Xn}))}}getResultsFromLink(A,{queryInfo:B,cacheWriteBehavior:fe,observableQuery:Ce,expose
503Extensions:st}){const It=B.lastRequestId=this.generateRequestId(),{errorPolicy:gn}=A,yn=this.cache.transformForLink(A.query);return this.getObservableFromLink(yn,A.context,A.variables,A.fetchPolicy).observable.pipe((0,c.T)(Rn=>{const Un=B.markQueryResult(Rn,{...A,document:yn,cacheWriteBehavior:fe}),Jn=F(Un);if(Jn&&"none"===gn)throw B.resetLastWrite(),Ce?.resetNotifications(),new pt.K(_n(Un));const qn={data:Un.data,...B.hasNext?{loading:!0,networkStatus:$e.streaming,dataState:"streaming",partial:!0}:{dataState:Un.data?"complete":"empty",loading:!1,networkStatus:$e.ready,partial:!Un.data}};return st&&"extensions"in Un&&(qn[Tn.X]=Un.extensions),Jn&&("none"===gn&&(qn.data=void 0,qn.dataState="empty"),"ignore"!==gn&&(qn.error=new pt.K(_n(Un)),"streaming"!==qn.dataState&&(qn.networkStatus=$e.error))),qn}),(0,ae.W)(Rn=>{if(It>=B.lastRequestId&&"none"===gn)throw B.resetLastWrite(),Ce?.resetNotifications(),Rn;const Un={data:void 0,dataState:"empty",loading:!1,networkStatus:$e.ready,partial:!0};return"ignore"!==gn&&(Un.error=Rn,Un.networkStatus=$e.error),(0,Q.of)(Un)}))}fetchObservableWithInfo(A,{networkStatus:B=$e.loading,query:fe=A.query,fetchQueryOperator:Ce=yn=>yn,onCacheHit:st=()=>{},observableQuery:It,exposeExtensions:gn}){const yn=this.getVariables(fe,A.variables);let{fetchPolicy:Rn="cache-first",errorPolicy:Un="none",returnPartialData:Jn=!1,notifyOnNetworkStatusChange:qn=!0,context:Er={}}=A;this.prioritizeCacheValues&&("network-only"===Rn||"cache-and-network"===Rn)&&(Rn="cache-first");const Xn=Object.assign({},A,{query:fe,variables:yn,fetchPolicy:Rn,errorPolicy:Un,returnPartialData:Jn,notifyOnNetworkStatusChange:qn,context:Er}),nr=new Fr(this,It),zn=ve=>{Xn.variables=ve;const je=this.fetchQueryByPolicy(Xn,{queryInfo:nr,cacheWriteBehavior:"no-cache"===Rn?0:B===$e.refetch&&"merge"!==Xn.refetchWritePolicy?1:2,onCacheHit:st,observableQuery:It,exposeExtensions:gn});return je.observable=je.observable.pipe(Ce),"standby"!==Xn.fetchPolicy&&It?.applyNextFetchPolicy("after-fetch",A),je},gr=()=>{this.fetchCancelFns.delete(nr.id)};this.fetchCancelFns.set(nr.id,ve=>{Dr.next({kind:"E",error:ve,source:"network"})});const Dr=new Vt.B;let Ee,xe;if(this.getDocumentInfo(Xn.query).hasClientExports)v.g&&(0,T.V1)(this.localState,95,(0,$.n)(Xn.query,"(anonymous)")),Ee=(0,X.H)(this.localState.getExportedVariables({client:this.client,document:Xn.query,variables:Xn.variables,context:Xn.context})).pipe((0,we.Z)(ve=>zn(ve).observable)),xe=!0;else{const ve=zn(Xn.variables);xe=ve.fromLink,Ee=ve.observable}return{observable:new Te.c(ve=>{ve.add(gr),Ee.subscribe(ve),Dr.subscribe(ve)}).pipe((0,We.u)()),fromLink:xe}}refetchQueries({updateCache:A,include:B,optimistic:fe=!1,removeOptimistic:Ce=(fe?(0,Yn.v)("refetchQueries"):void 0),onQueryUpdated:st}){const It=new Map;B&&this.getObservableQueries(B).forEach(yn=>{if("cache-only"===yn.options.fetchPolicy||yn.variablesUnknown)return;const Rn=yn.getCurrentResult();It.set(yn,{oq:yn,lastDiff:{result:Rn?.data,complete:!Rn?.partial}})});const gn=new Map;if(A){const yn=new Set;this.cache.batch({update:A,optimistic:fe&&Ce||!1,removeOptimistic:Ce,onWatchUpdated(Rn,Un,Jn){const qn=Rn.watcher;if(qn instanceof Kt&&!yn.has(qn)){if(yn.add(qn),st){It.delete(qn);let Er=st(qn,Un,Jn);return!0===Er&&(Er=qn.refetch().retain()),!1!==Er&&gn.set(qn,Er),Er}null!==st&&"cache-only"!==qn.options.fetchPolicy&&It.set(qn,{oq:qn,lastDiff:Jn,diff:Un})}}})}return It.size&&It.forEach(({oq:yn,lastDiff:Rn,diff:Un})=>{let Jn;st&&(Un||(Un=yn.getCacheDiff()),Jn=st(yn,Un,Rn)),(!st||!0===Jn)&&(Jn=yn.refetch().retain()),!1!==Jn&&gn.set(yn,Jn)}),Ce&&this.cache.removeOptimistic(Ce),gn}noCacheWarningsByCause=new WeakSet;maskOperation(A){const{document:B,data:fe}=A;if(v.g){const{fetchPolicy:Ce,cause:st={}}=A,It=(0,zt.V)(B)?.operation;this.dataMasking&&"no-cache"===Ce&&!function yt(te){let A=!0;return(0,z.YR)(te,{FragmentSpread:B=>{if(A=!!B.directives&&B.directives.some(fe=>"unmask"===fe.name.value),!A)return z.sP}}),A}(B)&&!this.noCacheWarningsByCause.has(st)&&(this.noCacheWarningsByCause.add(st),v.g&&T.V1.warn(96,(0,$.n)(B,`Unnamed ${It??"operation"}`)))}return this.dataMasking?function Tr(te,A,B){const fe=(0,zt.V)(A);return(0,T.V1)(fe,43),null==te?te:tn(te,fe.selectionSet,{operationType:fe.operation,operationName:fe.name?.value,fragmentMap:(0,Oe.J)((0,Mt.z)(A)),cache:B,mutableTargets:new WeakMap,knownChanged:new WeakSet})}(fe,B,this.cache):fe}maskFragment(A){const{data:B,fragment:fe,fragmentName:Ce}=A;return this.dataMasking?function Kr(te,A,B,fe){const Ce=A.definitions.filter(It=>It.kind===q.b.FRAGMENT_DEFINITION);typeof fe>"u"&&((0,T.V1)(1===Ce.length,41,Ce.length),fe=Ce[0].name.value);const st=Ce.find(It=>It.name.value===fe);return(0,T.V1)(!!st,42,fe),null==te||(0,ir.L)(te,{})?te:tn(te,st.selectionSet,{operationType:"fragment",operationName:st.name.value,fragmentMap:(0,Oe.J)((0,Mt.z)(A)),cache:B,mutableTargets:new WeakMap,knownChanged:new WeakSet})}(B,fe,this.cache,Ce):B}fetchQueryByPolicy({query:A,variables:B,fetchPolicy:fe,errorPolicy:Ce,returnPartialData:st,context:It},{cacheWriteBehavior:gn,onCacheHit:yn,queryInfo:Rn,observableQuery:Un,exposeExtensions:Jn}){const qn=()=>this.cache.diff({query:A,variables:B,returnPartialData:!0,optimistic:!0}),Er=(nr,zn)=>{const gr=nr.result;v.g&&!st&&null!==gr&&function cn(te){v.g&&te&&v.g&&T.V1.debug(86,te)}(nr.missing);const Dr=xe=>(!nr.complete&&!st&&(xe=void 0),{data:xe,dataState:nr.complete?"complete":xe?"partial":"empty",loading:Xe(zn),networkStatus:zn,partial:!nr.complete});return(nr.complete||st)&&this.getDocumentInfo(A).hasForcedResolvers?(v.g&&(0,T.V1)(this.localState,97,(0,$.n)(A,"(anonymous)")),yn(),(0,X.H)(this.localState.execute({client:this.client,document:A,remoteResult:gr?{data:gr}:void 0,context:It,variables:B,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:fe}).then(xe=>({kind:"N",value:Dr(xe.data||void 0),source:"cache"})))):(0,Q.of)({kind:"N",value:Dr("none"===Ce&&zn===$e.refetch&&nr.missing?void 0:gr||void 0),source:"cache"})},Xn=()=>this.getResultsFromLink({query:A,variables:B,context:It,fetchPolicy:fe,errorPolicy:Ce},{cacheWriteBehavior:gn,queryInfo:Rn,observableQuery:Un,exposeExtensions:Jn}).pipe(bt(),function Ne(){return(0,Le.N)((te,A)=>{te.subscribe((0,He._)(A,B=>{A.next(at.createNext(B))},()=>{A.next(at.createComplete()),A.complete()},B=>{A.next(at.createError(B)),A.complete()}
503))})}(),(0,c.T)(nr=>({...nr,source:"network"})));switch(fe){default:case"cache-first":{const nr=qn();return nr.complete?{fromLink:!1,observable:Er(nr,$e.ready)}:st?{fromLink:!0,observable:(0,Ae.x)(Er(nr,$e.loading),Xn())}:{fromLink:!0,observable:Xn()}}case"cache-and-network":{const nr=qn();return nr.complete||st?{fromLink:!0,observable:(0,Ae.x)(Er(nr,$e.loading),Xn())}:{fromLink:!0,observable:Xn()}}case"cache-only":return{fromLink:!1,observable:(0,Ae.x)(Er(qn(),$e.ready))};case"network-only":case"no-cache":return{fromLink:!0,observable:Xn()};case"standby":return{fromLink:!1,observable:an.w}}}}function bt(){let te=!1;return(0,qe.M)({next(){te=!0},complete(){(0,T.V1)(te,98)}})}function _n(te){if(null==te.extensions?.[Tn.DH])return te;const{extensions:{[Tn.DH]:A,...B},...fe}=te;return Object.keys(B).length>0&&(fe.extensions=B),fe}let Pn=!1;class rn{link;cache;disableNetworkFetches;set prioritizeCacheValues(A){this.queryManager.prioritizeCacheValues=A}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(A){v.g&&((0,T.V1)(A.cache,68),(0,T.V1)(A.link,69));const{cache:B,documentTransform:fe,ssrMode:Ce=!1,ssrForceFetchDelay:st=0,queryDeduplication:It=!0,defaultOptions:gn,defaultContext:yn,assumeImmutableResults:Rn=B.assumeImmutableResults,localState:Un,devtools:Jn,dataMasking:qn,link:Er,incrementalHandler:Xn=new y,experiments:nr=[]}=A;this.link=Er,this.cache=B,this.queryDeduplication=It,this.defaultOptions=gn||{},this.devtoolsConfig={...Jn,enabled:Jn?.enabled??v.g},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=le.r,this.queryManager=new Qe({client:this,defaultOptions:this.defaultOptions,defaultContext:yn,documentTransform:fe,queryDeduplication:It,ssrMode:Ce,dataMasking:!!qn,clientOptions:A,incrementalHandler:Xn,assumeImmutableResults:Rn,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:Un}),this.prioritizeCacheValues=Ce||st>0,st&&setTimeout(()=>{this.prioritizeCacheValues=!1},st),this.devtoolsConfig.enabled&&this.connectToDevTools(),nr.forEach(zn=>zn.call(this,A))}connectToDevTools(){if(typeof window>"u")return;const A=window,B=Symbol.for("apollo.devtools");(A[B]=A[B]||[]).push(this),A.__APOLLO_CLIENT__=this,!Pn&&v.g&&(Pn=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(()=>{if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){const fe=window.navigator,Ce=fe&&fe.userAgent;let st;"string"==typeof Ce&&(Ce.indexOf("Chrome/")>-1?st="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":Ce.indexOf("Firefox/")>-1&&(st="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),st&&v.g&&T.V1.log("Download the Apollo DevTools for a better development experience: %s",st)}},1e4))}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(A){this.queryManager.localState=A}stop(){this.queryManager.stop()}watchQuery(A){return this.defaultOptions.watchQuery&&(A=m(this.defaultOptions.watchQuery,A)),this.queryManager.watchQuery(A)}query(A){return this.defaultOptions.query&&(A=m(this.defaultOptions.query,A)),v.g&&((0,T.V1)("cache-and-network"!==A.fetchPolicy,70),(0,T.V1)("standby"!==A.fetchPolicy,71),(0,T.V1)(A.query,72),(0,T.V1)("Document"===A.query.kind,73),(0,T.V1)(!A.returnPartialData,74),(0,T.V1)(!A.pollInterval,75),(0,T.V1)(!A.notifyOnNetworkStatusChange,76)),this.queryManager.query(A)}mutate(A){const B=m((0,D.o)({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),A);return v.g&&((0,T.V1)(B.mutation,77),(0,T.V1)("network-only"===B.fetchPolicy||"no-cache"===B.fetchPolicy,78)),(0,u.s)(B.mutation,b.cE.MUTATION),this.queryManager.mutate(B)}subscribe(A){const B={},fe=this.queryManager.startGraphQLSubscription(A),Ce=fe.pipe((0,c.T)(st=>({...st,data:this.queryManager.maskOperation({document:A.query,data:st.data,fetchPolicy:A.fetchPolicy,cause:B})})));return Object.assign(Ce,{restart:fe.restart})}readQuery(A,B=!1){return this.cache.readQuery({...A,query:this.transform(A.query)},B)}watchFragment(A){const B=this.queryManager.dataMasking,fe=this.cache.watchFragment({...A,fragment:this.transform(A.fragment,B)});return v.g?(0,W.Q)(fe,Symbol.for("apollo.transform.dev.mask"),Ce=>({...Ce,data:this.queryManager.maskFragment({...A,data:Ce.data})})):fe}readFragment(A,B=!1){return this.cache.readFragment({...A,fragment:this.transform(A.fragment)},B)}writeQuery(A){const B=this.cache.writeQuery(A);return!1!==A.broadcast&&this.queryManager.broadcastQueries(),B}writeFragment(A){const B=this.cache.writeFragment(A);return!1!==A.broadcast&&this.queryManager.broadcastQueries(),B}__actionHookForDevTools(A){this.devToolsHookCb=A}__requestRaw(A){return k(this.link,A,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(A=>A()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(A=>A())))}onResetStore(A){return this.resetStoreCallbacks.push(A),()=>
503{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(B=>B!==A)}}onClearStore(A){return this.clearStoreCallbacks.push(A),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(B=>B!==A)}}reFetchObservableQueries;refetchObservableQueries(A){return this.queryManager.refetchObservableQueries(A)}refetchQueries(A){const B=this.queryManager.refetchQueries(A),fe=[],Ce=[];B.forEach((It,gn)=>{fe.push(gn),Ce.push(It)});const st=Promise.all(Ce);return st.queries=fe,st.results=Ce,st.catch(It=>{v.g&&T.V1.debug(79,It)}),st}getObservableQueries(A="active"){return this.queryManager.getObservableQueries(A)}extract(A){return this.cache.extract(A)}restore(A){return this.cache.restore(A)}setLink(A){this.link=A}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new w.c(se);transform(A,B=!1){const fe=this.queryManager.transform(A);return B?this.maskedFragmentTransform.transformDocument(fe):fe}}v.g&&(rn.prototype.getMemoryInternals=G.ep);var In=i(1635);function Sn(te,A){if(!te)throw new Error(A??"Unexpected invariant triggered.")}const or=/\r\n|[\n\r]/g;function Wn(te,A){let B=0,fe=1;for(const Ce of te.body.matchAll(or)){if("number"==typeof Ce.index||Sn(!1),Ce.index>=A)break;B=Ce.index+Ce[0].length,fe+=1}return{line:fe,column:A+1-B}}function dr(te){return Hr(te.source,Wn(te.source,te.start))}function Hr(te,A){const B=te.locationOffset.column-1,fe="".padStart(B)+te.body,Ce=A.line-1,It=A.line+(te.locationOffset.line-1),yn=A.column+(1===A.line?B:0),Rn=`${te.name}:${It}:${yn}\n`,Un=fe.split(/\r\n|[\n\r]/g),Jn=Un[Ce];if(Jn.length>120){const qn=Math.floor(yn/80),Er=yn%80,Xn=[];for(let nr=0;nr<Jn.length;nr+=80)Xn.push(Jn.slice(nr,nr+80));return Rn+Qr([[`${It} |`,Xn[0]],...Xn.slice(1,qn+1).map(nr=>["|",nr]),["|","^".padStart(Er)],["|",Xn[qn+1]]])}return Rn+Qr([[It-1+" |",Un[Ce-1]],[`${It} |`,Jn],["|","^".padStart(yn)],[`${It+1} |`,Un[Ce+1]]])}function Qr(te){const A=te.filter(([fe,Ce])=>void 0!==Ce),B=Math.max(...A.map(([fe])=>fe.length));return A.map(([fe,Ce])=>fe.padStart(B)+(Ce?" "+Ce:"")).join("\n")}class Cr extends Error{constructor(A,...B){var fe,Ce,st;const{nodes:It,source:gn,positions:yn,path:Rn,originalError:Un,extensions:Jn}=function qr(te){const A=te[0];return null==A||"kind"in A||"length"in A?{nodes:A,source:te[1],positions:te[2],path:te[3],originalError:te[4],extensions:te[5]}:A}(B);super(A),this.name="GraphQLError",this.path=Rn??void 0,this.originalError=Un??void 0,this.nodes=Ir(Array.isArray(It)?It:It?[It]:void 0);const qn=Ir(null===(fe=this.nodes)||void 0===fe?void 0:fe.map(Xn=>Xn.loc).filter(Xn=>null!=Xn));this.source=gn??(null==qn||null===(Ce=qn[0])||void 0===Ce?void 0:Ce.source),this.positions=yn??qn?.map(Xn=>Xn.start),this.locations=yn&&gn?yn.map(Xn=>Wn(gn,Xn)):qn?.map(Xn=>Wn(Xn.source,Xn.start));const Er=function Zt(te){return"object"==typeof te&&null!==te}(Un?.extensions)?Un?.extensions:void 0;this.extensions=null!==(st=Jn??Er)&&void 0!==st?st:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=Un&&Un.stack?Object.defineProperty(this,"stack",{value:Un.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Cr):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let A=this.message;if(this.nodes)for(const B of this.nodes)B.loc&&(A+="\n\n"+dr(B.loc));else if(this.source&&this.locations)for(const B of this.locations)A+="\n\n"+Hr(this.source,B);return A}toJSON(){const A={message:this.message};return null!=this.locations&&(A.locations=this.locations),null!=this.path&&(A.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(A.extensions=this.extensions),A}}function Ir(te){return void 0===te||0===te.length?void 0:te}function hr(te,A,B){return new Cr(`Syntax Error: ${B}`,{source:te,positions:[A]})}var Si=function(te){return te.QUERY="QUERY",te.MUTATION="MUTATION",te.SUBSCRIPTION="SUBSCRIPTION",te.FIELD="FIELD",te.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",te.FRAGMENT_SPREAD="FRAGMENT_SPREAD",te.INLINE_FRAGMENT="INLINE_FRAGMENT",te.VARIABLE_DEFINITION="VARIABLE_DEFINITION",te.SC
503HEMA="SCHEMA",te.SCALAR="SCALAR",te.OBJECT="OBJECT",te.FIELD_DEFINITION="FIELD_DEFINITION",te.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",te.INTERFACE="INTERFACE",te.UNION="UNION",te.ENUM="ENUM",te.ENUM_VALUE="ENUM_VALUE",te.INPUT_OBJECT="INPUT_OBJECT",te.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",te.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION",te}(Si||{}),Ei=i(5174),Dt=i(3725),nt=function(te){return te.SOF="<SOF>",te.EOF="<EOF>",te.BANG="!",te.DOLLAR="$",te.AMP="&",te.PAREN_L="(",te.PAREN_R=")",te.DOT=".",te.SPREAD="...",te.COLON=":",te.EQUALS="=",te.AT="@",te.BRACKET_L="[",te.BRACKET_R="]",te.BRACE_L="{",te.PIPE="|",te.BRACE_R="}",te.NAME="Name",te.INT="Int",te.FLOAT="Float",te.STRING="String",te.BLOCK_STRING="BlockString",te.COMMENT="Comment",te}(nt||{});class pn{constructor(A){const B=new b.ou(nt.SOF,0,0,0,0);this.source=A,this.lastToken=B,this.token=B,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let A=this.token;if(A.kind!==nt.EOF)do{if(A.next)A=A.next;else{const B=wo(this,A.end);A.next=B,B.prev=A,A=B}}while(A.kind===nt.COMMENT);return A}}function tr(te){return te>=0&&te<=55295||te>=57344&&te<=1114111}function Ar(te,A){return Yr(te.charCodeAt(A))&&ci(te.charCodeAt(A+1))}function Yr(te){return te>=55296&&te<=56319}function ci(te){return te>=56320&&te<=57343}function Wr(te,A){const B=te.source.body.codePointAt(A);if(void 0===B)return nt.EOF;if(B>=32&&B<=126){const fe=String.fromCodePoint(B);return'"'===fe?"'\"'":`"${fe}"`}return"U+"+B.toString(16).toUpperCase().padStart(4,"0")}function Ur(te,A,B,fe,Ce){return new b.ou(A,B,fe,te.line,1+B-te.lineStart,Ce)}function wo(te,A){const B=te.source.body,fe=B.length;let Ce=A;for(;Ce<fe;){const st=B.charCodeAt(Ce);switch(st){case 65279:case 9:case 32:case 44:++Ce;continue;case 10:++Ce,++te.line,te.lineStart=Ce;continue;case 13:10===B.charCodeAt(Ce+1)?Ce+=2:++Ce,++te.line,te.lineStart=Ce;continue;case 35:return Vi(te,Ce);case 33:return Ur(te,nt.BANG,Ce,Ce+1);case 36:return Ur(te,nt.DOLLAR,Ce,Ce+1);case 38:return Ur(te,nt.AMP,Ce,Ce+1);case 40:return Ur(te,nt.PAREN_L,Ce,Ce+1);case 41:return Ur(te,nt.PAREN_R,Ce,Ce+1);case 46:if(46===B.charCodeAt(Ce+1)&&46===B.charCodeAt(Ce+2))return Ur(te,nt.SPREAD,Ce,Ce+3);break;case 58:return Ur(te,nt.COLON,Ce,Ce+1);case 61:return Ur(te,nt.EQUALS,Ce,Ce+1);case 64:return Ur(te,nt.AT,Ce,Ce+1);case 91:return Ur(te,nt.BRACKET_L,Ce,Ce+1);case 93:return Ur(te,nt.BRACKET_R,Ce,Ce+1);case 123:return Ur(te,nt.BRACE_L,Ce,Ce+1);case 124:return Ur(te,nt.PIPE,Ce,Ce+1);case 125:return Ur(te,nt.BRACE_R,Ce,Ce+1);case 34:return 34===B.charCodeAt(Ce+1)&&34===B.charCodeAt(Ce+2)?Ke(te,Ce):sr(te,Ce)}if((0,Dt.yp)(st)||45===st)return xi(te,Ce,st);if((0,Dt.un)(st))return Bt(te,Ce);throw hr(te.source,Ce,39===st?"Unexpected single quote character ('), did you mean to use a double quote (\")?":tr(st)||Ar(B,Ce)?`Unexpected character: ${Wr(te,Ce)}.`:`Invalid character: ${Wr(te,Ce)}.`)}return Ur(te,nt.EOF,fe,fe)}function Vi(te,A){const B=te.source.body,fe=B.length;let Ce=A+1;for(;Ce<fe;){const st=B.charCodeAt(Ce);if(10===st||13===st)break;if(tr(st))++Ce;else{if(!Ar(B,Ce))break;Ce+=2}}return Ur(te,nt.COMMENT,A,Ce,B.slice(A+1,Ce))}function xi(te,A,B){const fe=te.source.body;let Ce=A,st=B,It=!1;if(45===st&&(st=fe.charCodeAt(++Ce)),48===st){if(st=fe.charCodeAt(++Ce),(0,Dt.yp)(st))throw hr(te.source,Ce,`Invalid number, unexpected digit after 0: ${Wr(te,Ce)}.`)}else Ce=Mi(te,Ce,st),st=fe.charCodeAt(Ce);if(46===st&&(It=!0,st=fe.charCodeAt(++Ce),Ce=Mi(te,Ce,st),st=fe.charCodeAt(Ce)),(69===st||101===st)&&(It=!0,st=fe.charCodeAt(++Ce),(43===st||45===st)&&(st=fe.charCodeAt(++Ce)),Ce=Mi(te,Ce,st),st=fe.charCodeAt(Ce)),46===st||(0,Dt.un)(st))throw hr(te.source,Ce,`Invalid number, expected digit but got: ${Wr(te,Ce)}.`);return Ur(te,It?nt.FLOAT:nt.INT,A,Ce,fe.slice(A,Ce))}function Mi(te,A,B){if(!(0,Dt.yp)(B))throw hr(te.source,A,`Invalid number, expected digit but got: ${Wr(te,A)}.`);const fe=te.source.body;let Ce=A+1;for(;(0,Dt.yp)(fe.charCodeAt(Ce));)++Ce;return Ce}function sr(te,A){const B=te.source.body,fe=B.length;let Ce=A+1,st=Ce,It="";for(;Ce<fe;
vendor: 5,527 bytes, line 503
503){const gn=B.charCodeAt(Ce);if(34===gn)return It+=B.slice(st,Ce),Ur(te,nt.STRING,A,Ce+1,It);if(92===gn){It+=B.slice(st,Ce);const yn=117===B.charCodeAt(Ce+1)?123===B.charCodeAt(Ce+2)?Qn(te,Ce):Di(te,Ce):Ie(te,Ce);It+=yn.value,Ce+=yn.size,st=Ce;continue}if(10===gn||13===gn)break;if(tr(gn))++Ce;else{if(!Ar(B,Ce))throw hr(te.source,Ce,`Invalid character within String: ${Wr(te,Ce)}.`);Ce+=2}}throw hr(te.source,Ce,"Unterminated string.")}function Qn(te,A){const B=te.source.body;let fe=0,Ce=3;for(;Ce<12;){const st=B.charCodeAt(A+Ce++);if(125===st){if(Ce<5||!tr(fe))break;return{value:String.fromCodePoint(fe),size:Ce}}if(fe=fe<<4|et(st),fe<0)break}throw hr(te.source,A,`Invalid Unicode escape sequence: "${B.slice(A,A+Ce)}".`)}function Di(te,A){const B=te.source.body,fe=de(B,A+2);if(tr(fe))return{value:String.fromCodePoint(fe),size:6};if(Yr(fe)&&92===B.charCodeAt(A+6)&&117===B.charCodeAt(A+7)){const Ce=de(B,A+8);if(ci(Ce))return{value:String.fromCodePoint(fe,Ce),size:12}}throw hr(te.source,A,`Invalid Unicode escape sequence: "${B.slice(A,A+6)}".`)}function de(te,A){return et(te.charCodeAt(A))<<12|et(te.charCodeAt(A+1))<<8|et(te.charCodeAt(A+2))<<4|et(te.charCodeAt(A+3))}function et(te){return te>=48&&te<=57?te-48:te>=65&&te<=70?te-55:te>=97&&te<=102?te-87:-1}function Ie(te,A){const B=te.source.body;switch(B.charCodeAt(A+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw hr(te.source,A,`Invalid character escape sequence: "${B.slice(A,A+2)}".`)}function Ke(te,A){const B=te.source.body,fe=B.length;let Ce=te.lineStart,st=A+3,It=st,gn="";const yn=[];for(;st<fe;){const Rn=B.charCodeAt(st);if(34===Rn&&34===B.charCodeAt(st+1)&&34===B.charCodeAt(st+2)){gn+=B.slice(It,st),yn.push(gn);const Un=Ur(te,nt.BLOCK_STRING,A,st+3,(0,Ei.OC)(yn).join("\n"));return te.line+=yn.length-1,te.lineStart=Ce,Un}if(92!==Rn||34!==B.charCodeAt(st+1)||34!==B.charCodeAt(st+2)||34!==B.charCodeAt(st+3))if(10!==Rn&&13!==Rn)if(tr(Rn))++st;else{if(!Ar(B,st))throw hr(te.source,st,`Invalid character within String: ${Wr(te,st)}.`);st+=2}else gn+=B.slice(It,st),yn.push(gn),13===Rn&&10===B.charCodeAt(st+1)?st+=2:++st,gn="",It=st,Ce=st;else gn+=B.slice(It,st),It=st+1,st+=4}throw hr(te.source,st,"Unterminated string.")}function Bt(te,A){const B=te.source.body,fe=B.length;let Ce=A+1;for(;Ce<fe;){const st=B.charCodeAt(Ce);if(!(0,Dt.xr)(st))break;++Ce}return Ur(te,nt.NAME,A,Ce,B.slice(A,Ce))}var En=i(6005),wn=i(7250);const Gr=globalThis.process?function(A,B){return A instanceof B}:function(A,B){if(A instanceof B)return!0;if("object"==typeof A&&null!==A){var fe;const Ce=B.prototype[Symbol.toStringTag];if(Ce===(Symbol.toStringTag in A?A[Symbol.toStringTag]:null===(fe=A.constructor)||void 0===fe?void 0:fe.name)){const It=(0,wn.N)(A);throw new Error(`Cannot use ${Ce} "${It}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class $r{constructor(A,B="GraphQL request",fe={line:1,column:1}){"string"==typeof A||(0,En.U)(!1,`Body must be a string. Received: ${(0,wn.N)(A)}.`),this.body=A,this.name=B,this.locationOffset=fe,this.locationOffset.line>0||(0,En.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,En.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class Hi{constructor(A,B={}){const{lexer:fe,...Ce}=B;if(fe)this._lexer=fe;else{const st=function ei(te){return Gr(te,$r)}(A)?A:new $r(A);this._lexer=new pn(st)}this._options=Ce,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const A=this.expectToken(nt.NAME);return this.node(A,{kind:q.b.NAME,value:A.value})}parseDocument(){return this.node(this._lexer.token,{kind:q.b.DOCUMENT,definitions:this.many(nt.SOF,this.parseDefinition,nt.EOF)})}parseDefinition(){if(this.peek(nt.BRACE_L))return this.parseOperationDefinition();const A=this.peekDescription(),B=A?this._lexer.lookahead():this._lexer.token;if(A&&B.kind===nt.BRACE_L)throw hr(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(B.kind===nt.NAME){switch(B.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(B.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(A)throw hr(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
503ort descriptions.");if("extend"===B.value)return this.parseTypeSystemExtension()}throw this.unexpected(B)}parseOperationDefinition(){const A=this._lexer.token;if(this.peek(nt.BRACE_L))return this.node(A,{kind:q.b.OPERATION_DEFINITION,operation:b.cE.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const B=this.parseDescription(),fe=this.parseOperationType();let Ce;return this.peek(nt.NAME)&&(Ce=this.parseName()),this.node(A,{kind:q.b.OPERATION_DEFINITION,operation:fe,description:B,name:Ce,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const A=this.expectToken(nt.NAME);switch(A.value){case"query":return b.cE.QUERY;case"mutation":return b.cE.MUTATION;case"subscription":return b.cE.SUBSCRIPTION}throw this.unexpected(A)}parseVariableDefinitions(){return this.optionalMany(nt.PAREN_L,this.parseVariableDefinition,nt.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:q.b.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(nt.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(nt.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const A=this._lexer.token;return this.expectToken(nt.DOLLAR),this.node(A,{kind:q.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:q.b.SELECTION_SET,selections:this.many(nt.BRACE_L,this.parseSelection,nt.BRACE_R)})}parseSelection(){return this.peek(nt.SPREAD)?this.parseFragment():this.parseField()}parseField(){const A=this._lexer.token,B=this.parseName();let fe,Ce;return this.expectOptionalToken(nt.COLON)?(fe=B,Ce=this.parseName()):Ce=B,this.node(A,{kind:q.b.FIELD,alias:fe,name:Ce,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(nt.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(A){return this.optionalMany(nt.PAREN_L,A?this.parseConstArgument:this.parseArgument,nt.PAREN_R)}parseArgument(A=!1){const B=this._lexer.token,fe=this.parseName();return this.expectToken(nt.COLON),this.node(B,{kind:q.b.ARGUMENT,name:fe,value:this.parseValueLiteral(A)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const A=this._lexer.token;this.expectToken(nt.SPREAD);const B=this.expectOptionalKeyword("on");return!B&&this.peek(nt.NAME)?this.node(A,{kind:q.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(A,{kind:q.b.INLINE_FRAGMENT,typeCondition:B?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const A=this._lexer.token,B=this.parseDescription();return this.expectKeyword("fragment"),this.node(A,!0===this._options.allowLegacyFragmentVariables?{kind:q.b.FRAGMENT_DEFINITION,description:B,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}:{kind:q.b.FRAGMENT_DEFINITION,description:B,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(A){const B=this._lexer.token;switch(B.kind){case nt.BRACKET_L:return this.parseList(A);case nt.BRACE_L:return this.parseObject(A);case nt.INT:return this.advanceLexer(),this.node(B,{kind:q.b.INT,value:B.value});case nt.FLOAT:return this.advanceLexer(),this.node(B,{kind:q.b.FLOAT,value:B.value});case nt.STRING:case nt.BLOCK_STRING:return this.parseStringLiteral();case nt.NAME:switch(this.advanceLexer(),B.value){case"true":return this.node(B,{kind:q.b.BOOLEAN,value:!0});case"false":return this.node(B,{kind:q.b.BOOLEAN,value:!1});case"null":return this.node(B,{kind:q.b.NULL});default:return this.node(B,{kind:q.b.ENUM,value:B.value})}case nt.DOLLAR:if(A){if(this.expectToken(nt.DOLLAR),this._lexer.token.kind===nt.NAME)throw hr(this._lexer.source,B.start,`Unexpected variable "$${this._lexer.token.value}" in constant value.`);throw this.unexpected(B)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const A=this._lexer.token;return this.advanceLexer(),this.node(A,{kind:q.b.STRING,value:A.value,block:A.kind===nt.BLOCK_STRING})}parseList(A){return this.node(this._lexer.token,{kind:q.b.LIST,values:this.any(nt.BRACKET_L,()=>this.parseValueLiteral(A),nt.BRACKET_R)})}parseObject(A){return this.node(this._lexer.token,{kind:q.b.OBJECT,fields:this.any(nt.BRACE_L,()=>this.parseObjectField(A),nt.BRACE_R)})}parseObjectField(A){const B=this._lexer.token,fe=this.parseName();return this.expectToken(nt.COLON),this.node(B,{kind:q.b.OBJECT_FIELD,name:fe,value:this.parseValueLiteral(A)})}parseDirectives(A){const B=[];for(;this.peek(nt.AT);)B.push(this.parseDirective(A));return B}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(A){const B=this._lexer.token;return this.expectToken(nt.AT),this.node(B,{kind:q.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(A)})}parseTypeReference(){const A=this._lexer.token;let B;if(this.expectOptionalToken(nt.BRACKET_L)){const fe=this.parseTypeReference();this.expectToken(nt.BRACKET_R),B=this.node(A,{kind:q.b.LIST_TYPE,type:fe})}else B=this.parseNamedType();return this.expectOptionalToken(nt.BANG)?this.node(A,{kind:q.b.NON_NULL_TYPE,type:B}):B}parseNamedType(){return this.node(this._lexer.token,{kind:q.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(nt.STRING)||this.peek(nt.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const A=this._lexer.token,B=this.parseDescription();this.expectKeyword("schema");const fe=this.parseConstDirectives(),Ce=this.many(nt.BRACE_L,this.parseOperationTypeDefinition,nt.BRACE_R);return this.node(A,{kind:q.b.SCHEMA_DEFINITION,description:B,directives:fe,operationTypes:Ce})}parseOperationTypeDefinition(){const A=this._lexer.token,B=this.parseOperationType();this.expectToken(nt.COLON);const fe=this.parseNamedType();return this.node(A,{kind:q.b.OPERATION_TYPE_DEFINITION,operation:B,type:fe})}parseScalarTypeDefinition(){const A=this._lexer.token,B=this.parseDescription();this.expectKeyword("scalar");
vendor: 7,145 bytes, line 503
503const fe=this.parseName(),Ce=this.parseConstDirectives();return this.node(A,{kind:q.b.SCALAR_TYPE_DEFINITION,description:B,name:fe,directives:Ce})}parseObjectTypeDefinition(){const A=this._lexer.token,B=this.parseDescription();this.expectKeyword("type");const fe=this.parseName(),Ce=this.parseImplementsInterfaces(),st=this.parseConstDirectives(),It=this.parseFieldsDefinition();return this.node(A,{kind:q.b.OBJECT_TYPE_DEFINITION,description:B,name:fe,interfaces:Ce,directives:st,fields:It})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(nt.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(nt.BRACE_L,this.parseFieldDefinition,nt.BRACE_R)}parseFieldDefinition(){const A=this._lexer.token,B=this.parseDescription(),fe=this.parseName(),Ce=this.parseArgumentDefs();this.expectToken(nt.COLON);const st=this.parseTypeReference(),It=this.parseConstDirectives();return this.node(A,{kind:q.b.FIELD_DEFINITION,description:B,name:fe,arguments:Ce,type:st,directives:It})}parseArgumentDefs(){return this.optionalMany(nt.PAREN_L,this.parseInputValueDef,nt.PAREN_R)}parseInputValueDef(){const A=this._lexer.token,B=this.parseDescription(),fe=this.parseName();this.expectToken(nt.COLON);const Ce=this.parseTypeReference();let st;this.expectOptionalToken(nt.EQUALS)&&(st=this.parseConstValueLiteral());const It=this.parseConstDirectives();return this.node(A,{kind:q.b.INPUT_VALUE_DEFINITION,description:B,name:fe,type:Ce,defaultValue:st,directives:It})}parseInterfaceTypeDefinition(){const A=this._lexer.token,B=this.parseDescription();this.expectKeyword("interface");const fe=this.parseName(),Ce=this.parseImplementsInterfaces(),st=this.parseConstDirectives(),It=this.parseFieldsDefinition();return this.node(A,{kind:q.b.INTERFACE_TYPE_DEFINITION,description:B,name:fe,interfaces:Ce,directives:st,fields:It})}parseUnionTypeDefinition(){const A=this._lexer.token,B=this.parseDescription();this.expectKeyword("union");const fe=this.parseName(),Ce=this.parseConstDirectives(),st=this.parseUnionMemberTypes();return this.node(A,{kind:q.b.UNION_TYPE_DEFINITION,description:B,name:fe,directives:Ce,types:st})}parseUnionMemberTypes(){return this.expectOptionalToken(nt.EQUALS)?this.delimitedMany(nt.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const A=this._lexer.token,B=this.parseDescription();this.expectKeyword("enum");const fe=this.parseName(),Ce=this.parseConstDirectives(),st=this.parseEnumValuesDefinition();return this.node(A,{kind:q.b.ENUM_TYPE_DEFINITION,description:B,name:fe,directives:Ce,values:st})}parseEnumValuesDefinition(){return this.optionalMany(nt.BRACE_L,this.parseEnumValueDefinition,nt.BRACE_R)}parseEnumValueDefinition(){const A=this._lexer.token,B=this.parseDescription(),fe=this.parseEnumValueName(),Ce=this.parseConstDirectives();return this.node(A,{kind:q.b.ENUM_VALUE_DEFINITION,description:B,name:fe,directives:Ce})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw hr(this._lexer.source,this._lexer.token.start,`${yi(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const A=this._lexer.token,B=this.parseDescription();this.expectKeyword("input");const fe=this.parseName(),Ce=this.parseConstDirectives(),st=this.parseInputFieldsDefinition();return this.node(A,{kind:q.b.INPUT_OBJECT_TYPE_DEFINITION,description:B,name:fe,directives:Ce,fields:st})}parseInputFieldsDefinition(){return this.optionalMany(nt.BRACE_L,this.parseInputValueDef,nt.BRACE_R)}parseTypeSystemExtension(){const A=this._lexer.lookahead();if(A.kind===nt.NAME)switch(A.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(A)}parseSchemaExtension(){const A=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const B=this.parseConstDirectives(),fe=this.optionalMany(nt.BRACE_L,this.parseOperationTypeDefinition,nt.BRACE_R);if(0===B.length&&0===fe.length)throw this.unexpected();return this.node(A,{kind:q.b.SCHEMA_EXTENSION,directives:B,operationTypes:fe})}parseScalarTypeExtension(){const A=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const B=this.parseName(),fe=this.parseConstDirectives();if(0===fe.length)throw this.unexpected();return this.node(A,{kind:q.b.SCALAR_TYPE_EXTENSION,name:B,directives:fe})}parseObjectTypeExtension(){const A=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const B=this.parseName(),fe=this.parseImplementsInterfaces(),Ce=this.parseConstDirectives(),st=this.parseFieldsDefinition();if(0===fe.length&&0===Ce.length&&0===st.length)throw this.unexpected();return this.node(A,{kind:q.b.OBJECT_TYPE_EXTENSION,name:B,interfaces:fe,directives:Ce,fields:st})}parseInterfaceTypeExtension(){const A=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const B=this.parseName(),fe=this.parseImplementsInterfaces(),Ce=this.parseConstDirectives(),st=this.parseFieldsDefinition();if(0===fe.length&&0===Ce.length&&0===st.length)throw this.unexpected();return this.node(A,{kind:q.b.INTERFACE_TYPE_EXTENSION,name:B,interfaces:fe,directives:Ce,fields:st})}parseUnionTypeExtension(){const A=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const B=this.parseName(),fe=this.parseConstDirectives(),Ce=this.parseUnionMemberTypes();if(0===fe.length&&0===Ce.length)throw this.unexpected();return this.node(A,{kind:q.b.UNION_TYPE_EXTENSION,name:B,directives:fe,types:Ce})}parseEnumTypeExtension(){const A=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const B=this.parseName(),fe=this.parseConstDirectives(),Ce=this.parseEnumValuesDefinition();if(0===fe.length&&0===Ce.length)throw this.unexpected();return this.node(A,{kind:q.b.ENUM_TYPE_EXTENSION,name:B,directives:fe,values:Ce})}parseInputObjectTypeExtension(){const A=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const B=this.parseName(),fe=this.parseConstDirectives(),Ce=this.parseInputFieldsDefinition();if(0===fe.length&&0===Ce.length)throw this.unexpected();return this.node(A,{kind:q.b.INPUT_OBJECT_TYPE_EXTENSION,name:B,directives:fe,fields:Ce})}parseDirectiveDefinitionExtension(){const A=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(nt.AT);const B=this.parseName(),fe=this.parseConstDirectives();if(0===fe.length)throw this.unexpected();return this.node(A,{kind:q.b.DIRECTIVE_EXTENSION,name:B,directives:fe})}parseDirectiveDefinition(){const A=this._lexer.token,B=this.parseDescription();this.expectKeyword("directive"),this.expectToken(nt.AT);
503const fe=this.parseName(),Ce=this.parseArgumentDefs(),st=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],It=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const gn=this.parseDirectiveLocations();return this.node(A,{kind:q.b.DIRECTIVE_DEFINITION,description:B,name:fe,arguments:Ce,directives:st,repeatable:It,locations:gn})}parseDirectiveLocations(){return this.delimitedMany(nt.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const A=this._lexer.token,B=this.parseName();if(Object.prototype.hasOwnProperty.call(Si,B.value))return B;throw this.unexpected(A)}parseSchemaCoordinate(){const A=this._lexer.token,B=this.expectOptionalToken(nt.AT),fe=this.parseName();let Ce,st;return!B&&this.expectOptionalToken(nt.DOT)&&(Ce=this.parseName()),(B||Ce)&&this.expectOptionalToken(nt.PAREN_L)&&(st=this.parseName(),this.expectToken(nt.COLON),this.expectToken(nt.PAREN_R)),this.node(A,B?st?{kind:q.b.DIRECTIVE_ARGUMENT_COORDINATE,name:fe,argumentName:st}:{kind:q.b.DIRECTIVE_COORDINATE,name:fe}:Ce?st?{kind:q.b.ARGUMENT_COORDINATE,name:fe,fieldName:Ce,argumentName:st}:{kind:q.b.MEMBER_COORDINATE,name:fe,memberName:Ce}:{kind:q.b.TYPE_COORDINATE,name:fe})}node(A,B){return!0!==this._options.noLocation&&(B.loc=new b.aZ(A,this._lexer.lastToken,this._lexer.source)),B}peek(A){return this._lexer.token.kind===A}expectToken(A){const B=this._lexer.token;if(B.kind===A)return this.advanceLexer(),B;throw hr(this._lexer.source,B.start,`Expected ${Oo(A)}, found ${yi(B)}.`)}expectOptionalToken(A){return this._lexer.token.kind===A&&(this.advanceLexer(),!0)}expectKeyword(A){const B=this._lexer.token;if(B.kind!==nt.NAME||B.value!==A)throw hr(this._lexer.source,B.start,`Expected "${A}", found ${yi(B)}.`);this.advanceLexer()}expectOptionalKeyword(A){const B=this._lexer.token;return B.kind===nt.NAME&&B.value===A&&(this.advanceLexer(),!0)}unexpected(A){const B=A??this._lexer.token;return hr(this._lexer.source,B.start,`Unexpected ${yi(B)}.`)}any(A,B,fe){this.expectToken(A);const Ce=[];for(;!this.expectOptionalToken(fe);)Ce.push(B.call(this));return Ce}optionalMany(A,B,fe){if(this.expectOptionalToken(A)){const Ce=[];do{Ce.push(B.call(this))}while(!this.expectOptionalToken(fe));return Ce}return[]}many(A,B,fe){this.expectToken(A);const Ce=[];do{Ce.push(B.call(this))}while(!this.expectOptionalToken(fe));return Ce}delimitedMany(A,B){this.expectOptionalToken(A);const fe=[];do{fe.push(B.call(this))}while(this.expectOptionalToken(A));return fe}advanceLexer(){const{maxTokens:A}=this._options,B=this._lexer.advance();if(B.kind!==nt.EOF&&(++this._tokenCounter,void 0!==A&&this._tokenCounter>A))throw hr(this._lexer.source,B.start,`Document contains more that ${A} tokens. Parsing aborted.`)}}function yi(te){const A=te.value;return Oo(te.kind)+(null!=A?` "${A}"`:"")}function Oo(te){return function An(te){return te===nt.BANG||te===nt.DOLLAR||te===nt.AMP||te===nt.PAREN_L||te===nt.PAREN_R||te===nt.DOT||te===nt.SPREAD||te===nt.COLON||te===nt.EQUALS||te===nt.AT||te===nt.BRACKET_L||te===nt.BRACKET_R||te===nt.BRACE_L||te===nt.PIPE||te===nt.BRACE_R}(te)?`"${te}"`:te}var Po=new Map,Qi=new Map,Io=!0,Fi=!1;function Uo(te){return te.replace(/[\s,]+/g," ").trim()}function So(te){var A=Uo(te);if(!Po.has(A)){var B=function Li(te,A){const B=new Hi(te,A),fe=B.parseDocument();return Object.defineProperty(fe,"tokenCount",{enumerable:!1,value:B.tokenCount}),fe}(te,{experimentalFragmentVariables:Fi,allowLegacyFragmentVariables:Fi,experimentalFragmentArguments:Fi});if(!B||"Document"!==B.kind)throw new Error("Not a valid GraphQL document.");Po.set(A,function $o(te){var A=new Set(te.definitions);A.forEach(function(fe){fe.loc&&delete fe.loc,Object.keys(fe).forEach(function(Ce){var st=fe[Ce];st&&"object"==typeof st&&A.add(st)})});var B=te.loc;return B&&(delete B.startToken,delete B.endToken),te}(function bo(te){var A=new Set,B=[];return te.definitions.forEach(function(fe){if("FragmentDefinition"===fe.kind){var Ce=fe.name.value,st=function Xi(te){return Uo(te.source.body.substring(te.start,te.end))}(fe.loc),It=Qi.get(Ce);It&&!It.has(st)?Io&&console.warn("Warning: fragment with name "+Ce+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):It||Qi.set(Ce,It=new Set),It.add(st),A.has(st)||(A.add(st),B.push(fe))}else B.push(fe)}),(0,In.Cl)((0,In.Cl)({},te),{definitions:B})}(B)))}return Po.get(A)}function gi(te){for(var A=[],B=1;B<arguments.length;B++)A[B-1]=arguments[B];"string"==typeof te&&(te=[te]);var fe=te[0];return A.forEach(function(Ce,st){fe+=Ce&&"Document"===Ce.kind?Ce.loc.source.body:Ce,fe+=te[st+1]}),So(fe)}var te,di_gql=gi;(te=gi||(gi={})).gql=di_gql,te.resetCaches=function io(){Po.clear(),Qi.clear()},te.disableFragmentWarnings=function rs(){Io=!1},te.enableExperimentalFragmentVariables=function jo(){Fi=!0},te.disableExperimentalFragmentVariables=function oo(){Fi=!1},gi.default=gi;var Vo=i(6780),so=i(9687);const as=new class Go extends so.q{}(class Zi extends Vo.R{constructor(A,B){super(A,B),this.scheduler
503=A,this.work=B}schedule(A,B=0){return B>0?super.schedule(A,B):(this.delay=B,this.state=A,this.scheduler.flush(this),this)}execute(A,B){return B>0||this.closed?super.execute(A,B):this._execute(A,B)}requestAsyncId(A,B,fe=0){return null!=fe&&fe>0||null==fe&&this.delay>0?super.requestAsyncId(A,B,fe):(A.flush(this),0)}});var ko=i(9172),Qo=i(941);function ui(te){return new Te.c(A=>(te().then(B=>{A.closed||(A.next(B),A.complete())},B=>{A.closed||A.error(B)}),()=>A.unsubscribe()))}class Ui{zone;constructor(A){this.zone=A}now=Date.now;schedule(A,B=0,fe){return this.zone.run(()=>as.schedule(A,B,fe))}}function ho(te,A){return te.pipe((0,Qo.Q)(new Ui(A)))}class vi{obsQuery;valueChanges;constructor(A,B){this.obsQuery=A,this.valueChanges=ho((0,X.H)(this.obsQuery),B)}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}getCurrentResult(){return this.obsQuery.getCurrentResult()}refetch(A){return this.obsQuery.refetch(A)}fetchMore(A){return this.obsQuery.fetchMore(A)}subscribeToMore(A){return this.obsQuery.subscribeToMore(A)}updateQuery(A){return this.obsQuery.updateQuery(A)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(A){return this.obsQuery.startPolling(A)}setVariables(A){return this.obsQuery.setVariables(A)}reobserve(A){return this.obsQuery.reobserve(A)}}const eo=new h.nKC("APOLLO_FLAGS"),to=new h.nKC("APOLLO_OPTIONS"),Ao=new h.nKC("APOLLO_NAMED_OPTIONS");class lo{ngZone;flags;_client;useMutationLoading;constructor(A,B,fe){this.ngZone=A,this.flags=B,this._client=fe,this.useMutationLoading=B?.useMutationLoading??!1}watchQuery(A){return new vi(this.ensureClient().watchQuery({...A}),this.ngZone)}query(A){return ui(()=>this.ensureClient().query({...A}))}mutate(A){return function ao(te,A){return A?te.pipe((0,c.T)(B=>({...B,loading:!1})),(0,ko.Z)({data:void 0,loading:!0})):te.pipe((0,c.T)(B=>({...B,loading:!1})))}(ui(()=>this.ensureClient().mutate({...A})),A.useMutationLoading??this.useMutationLoading)}watchFragment(A){const{useZone:B,...fe}=A,Ce=this.ensureClient().watchFragment({...fe});return!0!==B?Ce:ho(Ce,this.ngZone)}subscribe(A){const{useZone:B,...fe}=A,Ce=this.ensureClient().subscribe({...fe});return!0!==B?Ce:ho(Ce,this.ngZone)}get client(){return this.ensureClient()}set client(A){if(this._client)throw new Error("Client has been already defined");this._client=A}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(this._client)return!0;throw new Error("Client has not been defined yet")}}let Pi=(()=>{class te extends lo{map=new Map;constructor(B,fe,Ce,st){if(super(B,st),fe&&this.createDefault(fe),Ce&&"object"==typeof Ce)for(let It in Ce)Ce.hasOwnProperty(It)&&this.create(Ce[It],It)}create(B,fe){Xo(fe)?this.createNamed(fe,B):this.createDefault(B)}default(){return this}use(B){return Xo(B)?this.map.get(B):this.default()}createDefault(B){if(this._client)throw new Error("Apollo has been already created.");this.client=this.ngZone.runOutsideAngular(()=>new rn(B))}createNamed(B,fe){if(this.map.has(B))throw new Error(`Client ${B} has been already created`);this.map.set(B,new lo(this.ngZone,this.flags,this.ngZone.runOutsideAngular(()=>new rn(fe))))}removeClient(B){Xo(B)?this.map.delete(B):this._client=void 0}static \u0275fac=function(fe){return new(fe||te)(h.KVO(h.SKi),h.KVO(to,8),h.KVO(Ao,8),h.KVO(eo,8))};static \u0275prov=h.jDH({token:te,factory:te.\u0275fac})}return te})();function Xo(te){return!!te&&"default"!==te}function ji(te,A={}){return[Pi,{provide:to,useFactory:te},{provide:eo,useValue:A}]}let Wo=(()=>{class te{apollo;client="default";constructor(B){this.apollo=B}watch(...[B]){return this.apollo.use(this.client).watchQuery({...B,query:this.document})}fetch(...[B]){return this.apollo.use(this.client).query({...B,query:this.document})}static \u0275fac=function(fe){return new(fe||te)(h.KVO(Pi))};static \u0275prov=h.jDH({token:te,factory:te.\u0275fac})}return te})(),Co=(()=>{class te{apollo;client="default";constructor(B){this.apollo=B}mutate(...[B]){return this.apollo.use(this.client).mutate({...B,mutation:this.document})}static \u0275fac=function(fe){return new(fe||te)(h.KVO(Pi))};static \u0275prov=h.jDH({token:te,factory:te.\u0275fac})}return te})();const j=gi;function ke(){return(0,H.p)(te=>"complete"===te.dataState)}},6005(vt,Y,i){function h(b,c){if(!b)throw new Error(c)}i.d(Y,{U:()=>h})},7250(vt,Y,i){function c(v){return C(v,[])}function C(v,D){switch(typeof v){case"string":return JSON.stringify(v);case"function":return v.name?`[function ${v.name}]`:"[function]";case"object":return function T(v,D){if(null===v)return"null";if(D.includes(v))return"[Circular]";const m=[...D,v];if(function y(v){return"function"==typeof v.toJSON}(v)){const u=v.toJSON();if(u!==v)return"string"==typeof u?u:C(u,m)}
503else if(Array.isArray(v))return function k(v,D){if(0===v.length)return"[]";if(D.length>2)return"[Array]";const m=Math.min(10,v.length),u=v.length-m,W=[];for(let z=0;z<m;++z)W.push(C(v[z],D));return 1===u?W.push("... 1 more item"):u>1&&W.push(`... ${u} more items`),"["+W.join(", ")+"]"}(v,m);return function O(v,D){const m=Object.entries(v);return 0===m.length?"{}":D.length>2?"["+function w(v){const D=Object.prototype.toString.call(v).replace(/^\[object /,"").replace(/]$/,"");if("Object"===D&&"function"==typeof v.constructor){const m=v.constructor.name;if("string"==typeof m&&""!==m)return m}return D}(v)+"]":"{ "+m.map(([W,z])=>W+": "+C(z,D)).join(", ")+" }"}(v,m)}(v,D);default:return String(v)}}i.d(Y,{N:()=>c})},1222(vt,Y,i){i.d(Y,{Ll:()=>T,aD:()=>c,aZ:()=>h,cE:()=>y,ou:()=>b});class h{constructor(k,w,v){this.start=k.start,this.end=w.end,this.startToken=k,this.endToken=w,this.source=v}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class b{constructor(k,w,v,D,m,u){this.kind=k,this.start=w,this.end=v,this.line=D,this.column=m,this.value=u,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const c={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},C=new Set(Object.keys(c));function T(O){const k=O?.kind;return"string"==typeof k&&C.has(k)}var y=function(O){return O.QUERY="query",O.MUTATION="mutation",O.SUBSCRIPTION="subscription",O}(y||{})},5174(vt,Y,i){i.d(Y,{OC:()=>b,yo:()=>T});var h=i(3725);function b(y){var O;let k=Number.MAX_SAFE_INTEGER,w=null,v=-1;for(let m=0;m<y.length;++m){var D;const u=y[m],W=c(u);W!==u.length&&(w=null!==(D=w)&&void 0!==D?D:m,v=m,0!==m&&W<k&&(k=W))}return y.map((m,u)=>0===u?m:m.slice(k)).slice(null!==(O=w)&&void 0!==O?O:0,v+1)}function c(y){let O=0;for(;O<y.length&&(0,h.i0)(y.charCodeAt(O));)++O;return O}function T(y,O){const k=y.replace(/"""/g,'\\"""'),w=k.split(/\r\n|[\n\r]/g),v=1===w.length,D=w.length>1&&w.slice(1).every(_=>0===_.length||(0,h.i0)(_.charCodeAt(0))),m=k.endsWith('\\"""'),u=y.endsWith('"')&&!m,W=y.endsWith("\\"),z=u||W,se=!(null!=O&&O.minimize)&&(!v||y.length>70||z||D||m);let G="";const le=v&&(0,h.i0)(y.charCodeAt(0));return(se&&!le||D)&&(G+="\n"),G+=k,(se||z)&&(G+="\n"),'"""'+G+'"""'}},3725(vt,Y,i){function h(y){return 9===y||32===y}function b(y){return y>=48&&y<=57}function c(y){return y>=97&&y<=122||y>=65&&y<=90}function C(y){return c(y)||95===y}function T(y){return c(y)||b(y)||95===y}i.d(Y,{i0:()=>h,un:()=>C,xr:()=>T,yp:()=>b})},1955(vt,Y,i){i.d(Y,{b:()=>h});var h=function(b){return b.NAME="Name",b.DOCUMENT="Document",b.OPERATION_DEFINITION="OperationDefinition",b.VARIABLE_DEFINITION="VariableDefinition",b.SELECTION_SET="SelectionSet",b.FIELD="Field",b.ARGUMENT="Argument",b.FRAGMENT_SPREAD="FragmentSpread",b.INLINE_FRAGMENT="InlineFragment",b.FRAGMENT_DEFINITION="FragmentDefinition",b.VARIABLE="Variable",b.INT="IntValue",b.FLOAT="FloatValue",b.STRING="Str
503ingValue",b.BOOLEAN="BooleanValue",b.NULL="NullValue",b.ENUM="EnumValue",b.LIST="ListValue",b.OBJECT="ObjectValue",b.OBJECT_FIELD="ObjectField",b.DIRECTIVE="Directive",b.NAMED_TYPE="NamedType",b.LIST_TYPE="ListType",b.NON_NULL_TYPE="NonNullType",b.SCHEMA_DEFINITION="SchemaDefinition",b.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",b.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",b.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",b.FIELD_DEFINITION="FieldDefinition",b.INPUT_VALUE_DEFINITION="InputValueDefinition",b.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",b.UNION_TYPE_DEFINITION="UnionTypeDefinition",b.ENUM_TYPE_DEFINITION="EnumTypeDefinition",b.ENUM_VALUE_DEFINITION="EnumValueDefinition",b.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",b.DIRECTIVE_DEFINITION="DirectiveDefinition",b.SCHEMA_EXTENSION="SchemaExtension",b.DIRECTIVE_EXTENSION="DirectiveExtension",b.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",b.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",b.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",b.UNION_TYPE_EXTENSION="UnionTypeExtension",b.ENUM_TYPE_EXTENSION="EnumTypeExtension",b.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",b.TYPE_COORDINATE="TypeCoordinate",b.MEMBER_COORDINATE="MemberCoordinate",b.ARGUMENT_COORDINATE="ArgumentCoordinate",b.DIRECTIVE_COORDINATE="DirectiveCoordinate",b.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate",b}(h||{})},3246(vt,Y,i){i.d(Y,{y:()=>O});var h=i(5174);const c=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function C(z){return T[z.charCodeAt(0)]}const T=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var y=i(8540);function O(z){return(0,y.YR)(z,w)}const w={Name:{leave:z=>z.value},Variable:{leave:z=>"$"+z.name},Document:{leave:z=>v(z.definitions,"\n\n")},OperationDefinition:{leave(z){const se=W(z.variableDefinitions)?m("(\n",v(z.variableDefinitions,"\n"),"\n)"):m("(",v(z.variableDefinitions,", "),")"),G=m("",z.description,"\n")+v([z.operation,v([z.name,se]),v(z.directives," ")]," ");return("query"===G?"":G+" ")+z.selectionSet}},VariableDefinition:{leave:({variable:z,type:se,defaultValue:G,directives:le,description:_})=>m("",_,"\n")+z+": "+se+m(" = ",G)+m(" ",v(le," "))},SelectionSet:{leave:({selections:z})=>D(z)},Field:{leave({alias:z,name:se,arguments:G,directives:le,selectionSet:_}){const ge=m("",z,": ")+se;let q=ge+m("(",v(G,", "),")");return q.length>80&&(q=ge+m("(\n",u(v(G,"\n")),"\n)")),v([q,v(le," "),_]," ")}},Argument:{leave:({name:z,value:se})=>z+": "+se},FragmentSpread:{leave:({name:z,directives:se})=>"..."+z+m(" ",v(se," "))},InlineFragment:{leave:({typeCondition:z,directives:se,selectionSet:G})=>v(["...",m("on ",z),v(se," "),G]," ")},FragmentDefinition:{leave:({name:z,typeCondition:se,variableDefinitions:G,directives:le,selectionSet:_,description:ge})=>m("",ge,"\n")+`fragment ${z}${m("(",v(G,", "),")")} on ${se} ${m("",v(le," ")," ")}`+_},IntValue:{leave:({value:z})=>z},FloatValue:{leave:({value:z})=>z},StringValue:{leave:({value:z,block:se})=>se?(0,h.yo)(z):function b(z){return`"${z.replace(c,C)}"`}(z)},BooleanValue:{leave:({value:z})=>z?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:z})=>z},ListValue:{leave:({values:z})=>"["+v(z,", ")+"]"}
503,ObjectValue:{leave:({fields:z})=>"{"+v(z,", ")+"}"},ObjectField:{leave:({name:z,value:se})=>z+": "+se},Directive:{leave:({name:z,arguments:se})=>"@"+z+m("(",v(se,", "),")")},NamedType:{leave:({name:z})=>z},ListType:{leave:({type:z})=>"["+z+"]"},NonNullType:{leave:({type:z})=>z+"!"},SchemaDefinition:{leave:({description:z,directives:se,operationTypes:G})=>m("",z,"\n")+v(["schema",v(se," "),D(G)]," ")},OperationTypeDefinition:{leave:({operation:z,type:se})=>z+": "+se},ScalarTypeDefinition:{leave:({description:z,name:se,directives:G})=>m("",z,"\n")+v(["scalar",se,v(G," ")]," ")},ObjectTypeDefinition:{leave:({description:z,name:se,interfaces:G,directives:le,fields:_})=>m("",z,"\n")+v(["type",se,m("implements ",v(G," & ")),v(le," "),D(_)]," ")},FieldDefinition:{leave:({description:z,name:se,arguments:G,type:le,directives:_})=>m("",z,"\n")+se+(W(G)?m("(\n",u(v(G,"\n")),"\n)"):m("(",v(G,", "),")"))+": "+le+m(" ",v(_," "))},InputValueDefinition:{leave:({description:z,name:se,type:G,defaultValue:le,directives:_})=>m("",z,"\n")+v([se+": "+G,m("= ",le),v(_," ")]," ")},InterfaceTypeDefinition:{leave:({description:z,name:se,interfaces:G,directives:le,fields:_})=>m("",z,"\n")+v(["interface",se,m("implements ",v(G," & ")),v(le," "),D(_)]," ")},UnionTypeDefinition:{leave:({description:z,name:se,directives:G,types:le})=>m("",z,"\n")+v(["union",se,v(G," "),m("= ",v(le," | "))]," ")},EnumTypeDefinition:{leave:({description:z,name:se,directives:G,values:le})=>m("",z,"\n")+v(["enum",se,v(G," "),D(le)]," ")},EnumValueDefinition:{leave:({description:z,name:se,directives:G})=>m("",z,"\n")+v([se,v(G," ")]," ")},InputObjectTypeDefinition:{leave:({description:z,name:se,directives:G,fields:le})=>m("",z,"\n")+v(["input",se,v(G," "),D(le)]," ")},DirectiveDefinition:{leave:({description:z,name:se,arguments:G,directives:le,repeatable:_,locations:ge})=>m("",z,"\n")+"directive @"+se+(W(G)?m("(\n",u(v(G,"\n")),"\n)"):m("(",v(G,", "),")"))+m(" ",v(le," "))+(_?" repeatable":"")+" on "+v(ge," | ")},SchemaExtension:{leave:({directives:z,operationTypes:se})=>v(["extend schema",v(z," "),D(se)]," ")},ScalarTypeExtension:{leave:({name:z,directives:se})=>v(["extend scalar",z,v(se," ")]," ")},ObjectTypeExtension:{leave:({name:z,interfaces:se,directives:G,fields:le})=>v(["extend type",z,m("implements ",v(se," & ")),v(G," "),D(le)]," ")},InterfaceTypeExtension:{leave:({name:z,interfaces:se,directives:G,fields:le})=>v(["extend interface",z,m("implements ",v(se," & ")),v(G," "),D(le)]," ")},UnionTypeExtension:{leave:({name:z,directives:se,types:G})=>v(["extend union",z,v(se," "),m("= ",v(G," | "))]," ")},EnumTypeExtension:{leave:({name:z,directives:se,values:G})=>v(["extend enum",z,v(se," "),D(G)]," ")},InputObjectTypeExtension:{leave:({name:z,directives:se,fields:G})=>v(["extend input",z,v(se," "),D(G)]," ")},DirectiveExtension:{leave:({name:z,directives:se})=>v(["extend directive @"+z,v(se," ")]," ")},TypeCoordinate:{leave:({name:z})=>z},MemberCoordinate:{leave:({name:z,memberName:se})=>v([z,m(".",se)])},ArgumentCoordinate:{leave:({name:z,fieldName:se,argumentName:G})=>v([z,m(".",se),m("(",G,":)")])},DirectiveCoordinate:{leave:({name:z})=>v(["@",z])},DirectiveArgumentCoordinate:{leave:({name:z,argumentName:se})=>v(["@",z,m("(",se,":)")])}};function v(z,se=""){var G;return null!==(G=z?.filter(le=>le).join(se))&&void 0!==G?G:""}function D(z){return m("{\n",u(v(z,"\n")),"\n}")}function m(z,se,G=""){return null!=se&&""!==se?z+se+G:""}function u(z){return m("  ",z.replace(/\n/g,"\n  "))}function W(z){var se;return null!==(se=z?.some(G=>G.includes("\n")))&&void 0!==se&&se}},8540(vt,Y,i){i.d(Y,{YR:()=>O,sP:()=>y});var b=i(6005),c=i(7250),C=i(1222),T=i(1955);const y=Object.freeze({});function O(D,m,u=C.aD){const W=new Map;for(const ae of Object.values(T.b))W.set(ae,w(m,ae));let z,q,Te,se=Array.isArray(D),G=[D],le=-1,_=[],ge=D;const Be=[],we=[];do{le++;const ae=le===G.length,H=ae&&0!==_.length;if(ae){if(q=0===we.length?void 0:Be[Be.length-1],ge=Te,Te=we.pop(),H)if(se){ge=ge.slice();let We=0;for(const[ht,Vt]of _){const an=ht-We;null===Vt?(ge.splice(an,1),We++):ge[an]=Vt}}else{ge={...ge};for(const[We,ht]of _)ge[We]=ht}le=z.index,G=z.keys,_=z.edits,se=z.inArray,z=z.prev}else if(Te){if(q=se?le:G[le],ge=Te[q],null==ge)continue;Be.push(q)}let _e;if(!Array.isArray(ge)){var X,ye;(0,C.Ll)(ge)||(0,b.U)(!1,`Invalid AST Node: ${(0,c.N)(ge)}.`);const We=ae?null===(X=W.get(ge.kind))||void 0===X?void 0:X.leave:null===(ye=W.get(ge.kind))||void 0===ye?void 0:ye.enter;if(_e=We?.call(m,ge,q,Te,Be,we),_e===y)break;if(!1===_e){if(!ae){Be.pop();continue}}else if(void 0!==_e&&(_.push([q,_e]),!ae)){if(!(0,C.Ll)(_e)){Be.pop();continue}ge=_e}}var Q;void 0===_e&&H&&_.push([q,ge]),ae?Be.pop():(z={inArray:se,index:le,keys:G,edits:_,prev:z},se=Array.isArray(ge),G=se?ge:null!==(Q=u[ge.kind])&&void 0!==Q?Q:[],le=-1,_=[],Te&&we.push(Te),Te=ge)}while(void 0!==z);return 0!==_.length?_[_.length-1][1]:D}function w(D,m){const u=D[m];
503return"object"==typeof u?u:"function"==typeof u?{enter:u,leave:void 0}:{enter:D.enter,leave:D.leave}}},2234(vt,Y,i){i.d(Y,{Yq:()=>z});var k=i(5547),w=i(5802);const u=new w.nKC("ngx-skeleton-loader.config");let z=(()=>{class G{static forRoot(_){return{ngModule:G,providers:[{provide:u,useValue:_}]}}static{this.\u0275fac=function(ge){return new(ge||G)}}static{this.\u0275mod=k.$C({type:G})}static{this.\u0275inj=w.G2t({})}}return G})()},9163(vt,Y,i){i.d(Y,{DX:()=>D,NS:()=>At,yN:()=>Lt,LV:()=>gt});var h=i(4420),b=i(6476);let c=null;const C={};let T=1;function O(pe){try{return pe()}catch{}}const k="@wry/context:Slot",v=O(()=>globalThis)||O(()=>global)||Object.create(null),D=v[k]||Array[k]||function(pe){try{Object.defineProperty(v,k,{value:pe,enumerable:!1,writable:!1,configurable:!0})}finally{return pe}}(class{constructor(){this.id=["slot",T++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let lt=c;lt;lt=lt.parent)if(this.id in lt.slots){const Rt=lt.slots[this.id];if(Rt===C)break;return lt!==c&&(c.slots[this.id]=Rt),!0}return c&&(c.slots[this.id]=C),!1}getValue(){if(this.hasValue())return c.slots[this.id]}withValue(lt,Rt,Yt,Ut){const zt=c;c={parent:zt,slots:{__proto__:null,[this.id]:lt}};try{return Rt.apply(Ut,Yt)}finally{c=zt}}static bind(lt){const Rt=c;return function(){const Yt=c;try{return c=Rt,lt.apply(this,arguments)}finally{c=Yt}}}static noContext(lt,Rt,Yt){if(!c)return lt.apply(Yt,Rt);{const Ut=c;try{return c=null,lt.apply(Yt,Rt)}finally{c=Ut}}}}),_=new D,{hasOwnProperty:q}=Object.prototype,Te=Array.from||function(pe){const lt=[];return pe.forEach(Rt=>lt.push(Rt)),lt};function Be(pe){const{unsubscribe:lt}=pe;"function"==typeof lt&&(pe.unsubscribe=void 0,lt())}const we=[];function ye(pe,lt){if(!pe)throw new Error(lt||"assertion failure")}function Q(pe,lt){const Rt=pe.length;return Rt>0&&Rt===lt.length&&pe[Rt-1]===lt[Rt-1]}function ae(pe){switch(pe.length){case 0:throw new Error("unknown value");case 1:return pe[0];case 2:throw pe[1]}}function H(pe){return pe.slice(0)}let _e=(()=>{class pe{constructor(Rt){this.fn=Rt,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++pe.count}peek(){if(1===this.value.length&&!an(this))return We(this),this.value[0]}recompute(Rt){return ye(!this.recomputing,"already recomputing"),We(this),an(this)?function ht(pe,lt){return Ae(pe),_.withValue(pe,Vt,[pe,lt]),function tt(pe,lt){if("function"==typeof pe.subscribe)try{Be(pe),pe.unsubscribe=pe.subscribe.apply(null,lt)}catch{return pe.setDirty(),!1}return!0}(pe,lt)&&function Et(pe){pe.dirty=!1,!an(pe)&&at(pe)}(pe),ae(pe.value)}(this,Rt):ae(this.value)}setDirty(){this.dirty||(this.dirty=!0,Gt(this),Be(this))}dispose(){this.setDirty(),Ae(this),Ve(this,(Rt,Yt)=>{Rt.setDirty(),qe(Rt,this)})}forget(){this.dispose()}dependOn(Rt){Rt.add(this),this.deps||(this.deps=we.pop()||new Set),this.deps.add(Rt)}forgetDeps(){this.deps&&(Te(this.deps).forEach(Rt=>Rt.delete(this)),this.deps.clear(),we.push(this.deps),this.deps=null)}}return pe.count=0,pe})();function We(pe){const lt=_.getValue();if(lt)return pe.parents.add(lt),lt.childValues.has(pe)||lt.childValues.set(pe,[]),an(pe)?Le(lt,pe):He(lt,pe),lt}function Vt(pe,lt){pe.recomputing=!0;const{normalizeResult:Rt}=pe;let Yt;Rt&&1===pe.value.length&&(Yt=H(pe.value)),pe.value.length=0;try{if(pe.value[0]=pe.fn.apply(null,lt),Rt&&Yt&&!Q(Yt,pe.value))try{pe.value[0]=Rt(pe.value[0],Yt[0])}catch{}}catch(Ut){pe.value[1]=Ut}pe.recomputing=!1}function an(pe){return pe.dirty||!(!pe.dirtyChildren||!pe.dirtyChildren.size)}function Gt(pe){Ve(pe,Le)}function at(pe){Ve(pe,He)}function Ve(pe,lt){const Rt=pe.parents.size;if(Rt){const Yt=Te(pe.parents);for(let Ut=0;Ut<Rt;++Ut)lt(Yt[Ut],pe)}}function Le(pe,lt){ye(pe.childValues.has(lt)),ye(an(lt));const Rt=!an(pe);if(pe.dirtyChildren){if(pe.dirtyChildren.has(lt))return}else pe.dirtyChildren=we.pop()||new Set;pe.dirtyChildren.add(lt),Rt&&Gt(pe)}function He(pe,lt){ye(pe.childValues.has(lt)),ye(!an(lt));const Rt=pe.childValues.get(lt);0===Rt.length?pe.childValues.set(lt,H(lt.value)):Q(Rt,lt.value)||pe.setDirty(),Ne(pe,lt),!an(pe)&&at(pe)}function Ne(pe,lt){const Rt=pe.dirtyChildren;
503Rt&&(Rt.delete(lt),0===Rt.size&&(we.length<100&&we.push(Rt),pe.dirtyChildren=null))}function Ae(pe){pe.childValues.size>0&&pe.childValues.forEach((lt,Rt)=>{qe(pe,Rt)}),pe.forgetDeps(),ye(null===pe.dirtyChildren)}function qe(pe,lt){lt.parents.delete(pe),pe.childValues.delete(lt),Ne(pe,lt)}const pt={setDirty:!0,dispose:!0,forget:!0};function Lt(pe){const lt=new Map,Rt=pe&&pe.subscribe;function Yt(Ut){const jt=_.getValue();if(jt){let zt=lt.get(Ut);zt||lt.set(Ut,zt=new Set),jt.dependOn(zt),"function"==typeof Rt&&(Be(zt),zt.unsubscribe=Rt(Ut))}}return Yt.dirty=function(jt,zt){const Oe=lt.get(jt);if(Oe){const Mt=zt&&q.call(pt,zt)?zt:"setDirty";Te(Oe).forEach(o=>o[Mt]()),lt.delete(jt),Be(Oe)}},Yt}let ot;function At(...pe){return(ot||(ot=new h.b("function"==typeof WeakMap))).lookupArray(pe)}const M=new Set;function gt(pe,{max:lt=Math.pow(2,16),keyArgs:Rt,makeCacheKey:Yt=At,normalizeResult:Ut,subscribe:jt,cache:zt=b.C}=Object.create(null)){const Oe="function"==typeof zt?new zt(lt,tn=>tn.dispose()):zt,Mt=function(){const tn=Yt.apply(null,Rt?Rt.apply(null,arguments):arguments);if(void 0===tn)return pe.apply(null,arguments);let xn=Oe.get(tn);xn||(Oe.set(tn,xn=new _e(pe)),xn.normalizeResult=Ut,xn.subscribe=jt,xn.forget=()=>Oe.delete(tn));const bn=xn.recompute(Array.prototype.slice.call(arguments));return Oe.set(tn,xn),M.add(Oe),_.hasValue()||(M.forEach(pr=>pr.clean()),M.clear()),bn};function o(tn){const xn=tn&&Oe.get(tn);xn&&xn.setDirty()}function it(tn){const xn=tn&&Oe.get(tn);if(xn)return xn.peek()}function nn(tn){return!!tn&&Oe.delete(tn)}return Object.defineProperty(Mt,"size",{get:()=>Oe.size,configurable:!1,enumerable:!1}),Object.freeze(Mt.options={max:lt,keyArgs:Rt,makeCacheKey:Yt,normalizeResult:Ut,subscribe:jt,cache:Oe}),Mt.dirtyKey=o,Mt.dirty=function(){o(Yt.apply(null,arguments))},Mt.peekKey=it,Mt.peek=function(){return it(Yt.apply(null,arguments))},Mt.forgetKey=nn,Mt.forget=function(){return nn(Yt.apply(null,arguments))},Mt.makeCacheKey=Yt,Mt.getKey=Rt?function(){return Yt.apply(null,Rt.apply(null,arguments))}:Yt,Object.freeze(Mt)}},1635(vt,Y,i){i.d(Y,{AQ:()=>Te,Cl:()=>c,N3:()=>q,sH:()=>m,xN:()=>we});var c=function(){return c=Object.assign||function(Le){for(var He,Ne=1,Ae=arguments.length;Ne<Ae;Ne++)for(var qe in He=arguments[Ne])Object.prototype.hasOwnProperty.call(He,qe)&&(Le[qe]=He[qe]);return Le},c.apply(this,arguments)};function m(Ve,Le,He,Ne){return new(He||(He=Promise))(function(qe,tt){function pt(At){try{ot(Ne.next(At))}catch(M){tt(M)}}function Lt(At){try{ot(Ne.throw(At))}catch(M){tt(M)}}function ot(At){At.done?qe(At.value):function Ae(qe){return qe instanceof He?qe:new He(function(tt){tt(qe)})}(At.value).then(pt,Lt)}ot((Ne=Ne.apply(Ve,Le||[])).next())})}function q(Ve){return this instanceof q?(this.v=Ve,this):new q(Ve)}function Te(Ve,Le,He){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ae,Ne=He.apply(Ve,Le||[]),qe=[];return Ae=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),pt("next"),pt("throw"),pt("return",function tt(pe){return function(lt){return Promise.resolve(lt).then(pe,M)}}),Ae[Symbol.asyncIterator]=function(){return this},Ae;function pt(pe,lt){Ne[pe]&&(Ae[pe]=function(Rt){return new Promise(function(Yt,Ut){qe.push([pe,Rt,Yt,Ut])>1||Lt(pe,Rt)})},lt&&(Ae[pe]=lt(Ae[pe])))}function Lt(pe,lt){try{!function ot(pe){pe.value instanceof q?Promise.resolve(pe.value.v).then(At,M):gt(qe[0][2],pe)}(Ne[pe](lt))}catch(Rt){gt(qe[0][3],Rt)}}function At(pe){Lt("next",pe)}function M(pe){Lt("throw",pe)}function gt(pe,lt){pe(lt),qe.shift(),qe.length&&Lt(qe[0][0],qe[0][1])}}function we(Ve){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var He,Le=Ve[Symbol.asyncIterator];return Le?Le.call(Ve):(Ve=function se(Ve){var Le="function"==typeof Symbol&&Symbol.iterator,He=Le&&Ve[Le],Ne=0;if(He)return He.call(Ve);if(Ve&&"number"==typeof Ve.length)return{next:function(){return Ve&&Ne>=Ve.length&&(Ve=void 0),{value:Ve&&Ve[Ne++],done:!Ve}}};throw new TypeError(Le?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ve),He={},Ne("next"),Ne("throw"),Ne("return"),He[Symbol.asyncIterator]=function(){return this},He);function Ne(qe){He[qe]=Ve[qe]&&function(tt){return new Promise(function(pt,Lt){!function Ae(qe,tt,pt,Lt){Promise.resolve(Lt).then(function(ot){qe({value:ot,done:pt})},tt)}(pt,Lt,(tt=Ve[qe](tt)).done,tt.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},vt=>{vt(vt.s=6274)}]);

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.