(self.webpackChunkcreator_web=self.webpackChunkcreator_web||[]).push([[792],{8151:(kt,De,u)=>{"use strict";u.d(De,{g:()=>ee});var t=u(1626),p=u(6661),D=u(7217),j=u(179),E=u(4438);let ee=(()=>{class G{constructor(R,P,I){this.http=R,this.apiSettingsService=P,this.passwordResetGQL=I,this.baseUrl=p.c.baseUrl}postLogin(R,P,I){return this.http.post(this.baseUrl+"auth/login",{email:R,password:P,captcha:I})}postLoginUsingSubscriptionToken(R){return this.http.post(this.baseUrl+"auth/login-using-subscription-token",{subscriptionToken:R})}postPasswordReset(R,P,I,A){return this.passwordResetGQL.mutate({input:{captcha:A,email:P,password:I,token:R}})}postPasswordForget(R,P){const I={email:R,captcha:P};let A=new t.Lr;return A=A.append("Accept","application/json"),this.http.post(this.baseUrl+"auth/password-forget",I,{headers:A})}getAccount(){return this.apiSettingsService.getAccount()}static#e=this.\u0275fac=function(P){return new(P||G)(E.KVO(t.Qq),E.KVO(D.H),E.KVO(j.RV))};static#t=this.\u0275prov=E.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})()},4925:(kt,De,u)=>{"use strict";u.d(De,{q:()=>G});var t=u(6661),p=u(6160),D=u(179),j=u(5980),E=u(4438),ee=u(1626);let G=(()=>{class B{constructor(P,I,A){this.http=P,this.membershipPlansGQL=I,this.dialog=A,this.baseUrl=t.c.baseUrl}postCheckout(P,I,A,b,F){return this.http.post(`${this.baseUrl}checkout`,{email:P,password:I,membership_plan_id:A,captcha:b,redirect_origin:F})}postCheckoutRenew(P){return this.http.post(`${this.baseUrl}checkout/renew`,{membership_plan_id:P})}fetchCheckoutStatus(P){return this.http.post(`${this.baseUrl}checkout/status`,{hostPageId:P})}fetchMembershipPlans(){return this.membershipPlansGQL.fetch(null,{fetchPolicy:"network-only"})}checkChargebeeStatus(P,I){switch(!0){case!I&&"ACTIVE"!==P.data.state:return"DEFAULT";case"PENDING"===I&&P.data.reason:return"PENDING-SUPPORT";case"PENDING"===I:return"PENDING-FAILED";default:return P.data.state}}handleChargebeeStatus(P){return this.dialog.open(p.t,{backdropClickClose:!1,panelClass:"full-width-dialog",data:{status:P}})}static#e=this.\u0275fac=function(I){return new(I||B)(E.KVO(ee.Qq),E.KVO(D.H_),E.KVO(j.o3))};static#t=this.\u0275prov=E.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},5341:(kt,De,u)=>{"use strict";u.d(De,{C:()=>E});var t=u(4438),p=u(6661),D=u(1626),j=u(33);let E=(()=>{class ee{constructor(B,R){this.http=B,this.router=R,this.baseUrl=p.c.baseUrl,this.textQuery="",this.query="",this.search=new t.bkB,this.loading=!1,this.hasOpenSearch=!1}getSearchPost(B,R={},P,I=null){return this.http.post(this.baseUrl+"search",{q:B,filters:R,p:P,featuredId:I})}performSearch(B,R=null){B=B.replace(/([\/()])/g,""),this.router.navigate(["/search/"+B],{queryParams:{featured:R}})}getTextQuery(){return this.textQuery}setTextQuery(B){this.textQuery=B}getQuery(){return this.query}setQuery(B){this.query=B}setLoading(B){this.loading=B}getHasOpenSearch(){return this.hasOpenSearch}setHasOpenSearch(B){this.hasOpenSearch=B}static#e=this.\u0275fac=function(R){return new(R||ee)(t.KVO(D.Qq),t.KVO(j.Ix))};static#t=this.\u0275prov=t.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}return ee})()},7484:(kt,De,u)=>{"use strict";u.d(De,{u:()=>p});var t=u(4438);let p=(()=>{class D{constructor(){this.detected=new t.bkB}check(){[this.checkForClass(),this.checkForPosition()].reduce((G,B)=>G||B,!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#e=this.\u0275fac=function(ee){return new(ee||D)};static#t=this.\u0275prov=t.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},7366:(kt,De,u)=>{"use strict";u.d(De,{u:()=>G});var t=u(8151),p=u(4412),D=u(8141),j=u(4438),E=u(1626),ee=u(33);let G=(()=>{class B{constructor(P,I,A){this.http=P,this.router=I,this.apiAuthService=A,this.logged=!1,this.hasActivePremium=!1,this.isDunning=!1,this.isExpired=!1,this.isNoticed=!1,this.authCallDone=new p.t(!1)}postLogin(P,I,A){return this.apiAuthService.postLogin(P,I,A)}postLoginUsingSubscriptionToken(P){return this.apiAuthService.postLoginUsingSubscriptionToken(P)}postPasswordForget(P,I){return this.apiAuthService.postPasswordForget(P,I)}login(P){P?(this.accessToken=P,this.logged=!0,this.apiAuthService.getAccount().subscribe(I=>{if(I.data.user.chargebeeData){const A=I.data.user.chargebeeData.db_state;"ACTIVE"===A||"NOTICED"===A?(this.hasActivePremium=!0,this.isNoticed=!0):"DUNNING"===A?this.isDunning=!0:"EXPIRED"===A?this.isExpired=!0:(this.isDunning=!1,this.isExpired=!1,this.hasActivePremium=!1)}this.authCallDone.next(!0)}),localStorage.setItem("accessToken",this.accessToken)):this.authCallDone.next(!0)}check(){return!!this.hasActivePremium}isLoggedIn(){return this.logged}tapToCallDone(){return(0,D.M)(P=>{this.authCallDone.next(!0)})}readFromLocalStorage(){null!==localStorage.getItem("accessToken")?(this.login(localStorage.getItem("accessToken")),this.apiAuthService.getAccount().pipe(this.tapToCallDone()).subscribe(P=>{this.collectNowHostedPageUrl=P.data.user.collectNowHostedPageUrl,!0!==P.success&&this.localLogout()})):this.authCallDone.next(!0)}localLogout(){this.accessToken=null,this.logged=!1,localStorage.removeItem("accessToken")}logout(){this.accessToken=null,this.logged=!1,localStorage.removeItem("accessToken"),this.router.navigateByUrl("").then(()=>{window.location.reload()})}static#e=this.\u0275fac=function(I){return new(I||B)(j.KVO(E.Qq),j.KVO(ee.Ix),j.KVO(t.g))};static#t=this.\u0275prov=j.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},188:(kt,De,u)=>{"use strict";u.d(De,{V:()=>j});var t=u(4412),p=u(6354),D=u(4438);let j=(()=>{class E{constructor(){this.countdown$$=new t.t(0),this.completed$$=new t.t(!1),this.hasCountdown$$=new t.t(!1),this.countdownValueIsLoading$$=new t.t(!0),this.countdownInterval=null,this.pauseInterval=!1}getCountdown(){return this.countdown$$.asObservable()}getCountdownStr(){return this.countdown$$.asObservable().pipe((0,p.T)(G=>this.formatTime(G)))}getCompleted(){return this.completed$$.asObservable()}getCompletedValue(){return this.completed$$.value}getHasCountdown(){return this.hasCountdown$$.asObservable()}getCountdownValueIsLoading(){return this.countdownValueIsLoading$$.asObservable()}pauseCountdown(){this.pauseInterval=!0}resumeCountdown(){this.pauseInterval=!1}stopCountdown(){clearInterval(this.countdownInterval),this.countdownInterval=null,this.pauseInterval=!1,this.completed$$.next(!0),this.hasCountdown$$.next(!1),this.countdownValueIsLoading$$.next(!0)}restartCountdown(G){G&&(this.stopCountdown(),this.startCountdown(G))}startCountdown(G){this.pauseInterval=!1,this.countdownValueIsLoading$$.next(!1),!this.countdownInterval&&(this.countdown$$.next(G),this.completed$$.next(!1),this.hasCountdown$$.next(!0),this.countdownInterval=setInterval(()=>{if(!this.pauseInterval){const B=this.countdown$$.value;B>0?this.countdown$$.next(B-1):this.stopCountdown()}},1e3))}formatTime(G){const B=Math.floor(G/60),R=G%60;return`${String(B).padStart(2,"0")}:${String(R).padStart(2,"0")}`}static#e=this.\u0275fac=function(B){return new(B||E)};static#t=this.\u0275prov=D.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},1057:(kt,De,u)=>{"use strict";u.d(De,{g:()=>G});var t=u(177),p=u(2771);const D=void 0,E=["de",[["AM","PM"],D,D],D,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],D,D],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",D,"{1} 'um' {0}",D],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[D,"\u0440."],CUC:[D,"Cub$"],DEM:["DM"],FKP:[D,"Fl\xa3"],GHS:[D,"\u20b5"],GNF:[D,"F.G."],KMF:[D,"FC"],PHP:[D,"\u20b1"],RON:[D,"L"],RUR:[D,"\u0440."],RWF:[D,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[D,"K"]},"ltr",function j(B){const P=Math.floor(Math.abs(B)),I=B.toString().replace(/^[^.]*\.?/,"").length;return 1===P&&0===I?1:5}];var ee=u(4438);let G=(()=>{class B{constructor(P){this.document=P,this.translationsAvailable$$=new p.m(1),this.translationsAvailable$=this.translationsAvailable$$.asObservable(),this.currenciesWithoutEmptyFractions=["VND","CLP","JPY","KRW","UGX","IDR"],(0,t.EO)(E);const I=navigator.language.slice(0,2);this.locale="de"===I||"en"===I?I:"en",this.setHtmlLang(this.locale)}formatCurrencyForLocale(P,I,A){return new Intl.NumberFormat(A,{style:"currency",currency:I,trailingZeroDisplay:this.currenciesWithoutEmptyFractions.includes(I)?"stripIfInteger":"auto"}).format(P)}anounceTranslationsAvailable(){this.translationsAvailable$$.next()}isInEurope(){if(!this.country)return!1;const P=this.country.toUpperCase();return["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"].includes(P)}setHtmlLang(P){this.document.documentElement.lang=P}static#e=this.\u0275fac=function(I){return new(I||B)(ee.KVO(t.qQ))};static#t=this.\u0275prov=ee.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},4499:(kt,De,u)=>{"use strict";u.d(De,{_:()=>B});var t=u(4412),p=u(5980),D=u(4438),j=u(1057);let E=(()=>{class R{constructor(I){this.languageService=I}transform(I,A){if(I){let b,F,L;if(A?.isDateInUTC){const Se=(new Date).toISOString();F=new Date(Se).getTime(),L=new Date(`${I}Z`).getTime()}else F=(new Date).getTime(),L=new Date(I).getTime();if(b=Math.floor((F-L)/1e3),b<29)return"de"!==this.languageService.locale||A?.onlyEN?"Just now":"Gerade eben";const de={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,minute:60,second:1};let me,re=null;re="de"!==this.languageService.locale||A?.onlyEN?{year:["year","years"],month:["month","months"],week:["week","weeks"],day:["day","days"],hour:["hour","hours"],minute:["minute","minutes"],second:["second","seconds"]}:{year:["Jahr","Jahren"],month:["Monat","Monaten"],week:["Woche","Wochen"],day:["Tag","Tagen"],hour:["Stunde","Stunden"],minute:["Minute","Minuten"],second:["Sekunde","Sekunden"]};for(const Se in de)if(me=Math.floor(b/de[Se]),me>0)return 1===me?"de"!==this.languageService.locale||A?.onlyEN?`${me} ${re[Se][0]} ago`:`vor ${me} ${re[Se][0]}`:"de"!==this.languageService.locale||A?.onlyEN?`${me} ${re[Se][1]} ago`:`vor ${me} ${re[Se][1]}`}return I}static#e=this.\u0275fac=function(A){return new(A||R)(D.rXU(j.g,16))};static#t=this.\u0275pipe=D.EJ8({name:"dateAgo",type:R,pure:!0,standalone:!0})}return R})();var ee=u(3955),G=u(33);let B=(()=>{class R{constructor(I,A,b){this.translate=I,this.router=A,this.langService=b,this.linkTarget$=new t.t(null)}openLink(I){I&&this.router.navigateByUrl(`${I.user_id??I.publisher.id}/${I.url}`)}getChipsData(I,A=!0){const b=[];if(I.last_edit_at&&b.push({icon:"today",text:new E(this.langService).transform(I.last_edit_at,{isDateInUTC:!0,onlyEN:!0})}),I.recently_edited){let F="New";"de"===this.langService.locale&&(F="Neu"),b.push({icon:"new_releases",iconColor:p.Li.default,text:A?"":F,tooltip:A?F:""})}return(I.is_trending||I.isTrending)&&b.push({icon:"local_fire_department",iconColor:p.Li.danger,text:A?"":"Trending",tooltip:A?"Trending":""}),(I.is_premium_only_link||I.isPremium)&&b.push({icon:"workspace_premium",text:A?"":"Premium",tooltip:A?"Premium":"",isMaterial:!1}),I.rating>0?b.push({icon:"thumb_up",text:`${Math.floor(100*I.rating)}%`,tooltip:"",isMaterial:!0}):(0===I.rating||-1===I.rating)&&b.push({icon:"thumb_up",text:"0%",tooltip:"",isMaterial:!0}),I.todo_impression_count>0&&b.push({icon:"visibility",text:new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short"}).format(I.todo_impression_count).toLowerCase(),tooltip:"",isMaterial:!0}),b}handleTargetResponse(I){I&&("URL"===I.type&&I.url?this.handleLinkTargetURL(I.url):console.error("Incorrect targetData type"))}handleLinkTargetURL(I){if(!I)return;const A=I,b=document.createElement("a");document.body.appendChild(b),b.setAttribute("href",A),b.setAttribute("target","_blank"),setTimeout(()=>{b.click()},1),document.body.removeChild(b)}getTargetData(){return this.linkTarget$.asObservable()}setTargetData(I){this.linkTarget$.next(I)}static#e=this.\u0275fac=function(A){return new(A||R)(D.KVO(ee.c$),D.KVO(G.Ix),D.KVO(j.g))};static#t=this.\u0275prov=D.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},9576:(kt,De,u)=>{"use strict";u.d(De,{U:()=>D});var t=u(4438),p=u(5416);let D=(()=>{class j{constructor(ee){this.snackBar=ee,this.loading=!0}setLoading(ee){setTimeout(()=>{this.loading=ee},0)}isLoading(){return this.loading}finishWithSnackBar(ee,G=2e3,B,R){return this.snackBar.open(ee,B,R||{duration:G})}static#e=this.\u0275fac=function(G){return new(G||j)(t.KVO(p.UG))};static#t=this.\u0275prov=t.jDH({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},3300:(kt,De,u)=>{"use strict";u.d(De,{b:()=>R});var t=u(6697),p=u(5341),D=u(2708),j=u(4438),E=u(1057),ee=u(345),G=u(9576),B=u(3955);let R=(()=>{class P{constructor(A,b,F,L,de,re){this.languageService=A,this.titleService=b,this.metaService=F,this.apiSearchService=L,this.loadingService=de,this.translateService=re,this.onHomePage=!1,this.onSearchPage=!1,this.onLinkDetailPage=!1,this.onSettingsPage=!1,this.translateService.use(this.languageService.locale)}setPageHome(){this.onHomePage=!0,this.loadingService.setLoading(!0),this.translateService.get("meta-description").pipe((0,t.s)(1)).subscribe(A=>{this.titleService.setTitle(A),this.metaService.addTag({name:"Description",content:A})}),this.translateService.get("home-headline").pipe((0,t.s)(1)).subscribe(A=>{this.titleService.setTitle("Linkvertise | "+A)}),this.loadingService.setLoading(!1)}removePageHome(){this.metaService.removeTag("name='Description'"),this.apiSearchService.setHasOpenSearch(!1),this.onHomePage=!1}setDetailPage(A,b,F,L){this.onLinkDetailPage=!0,this.translateService.get("meta-short-link-title").pipe((0,t.s)(1)).subscribe(de=>{this.metaService.addTag({name:"Description",content:F}),A?this.titleService.setTitle(A+" | Linkvertise"):b&&this.titleService.setTitle(b+de)}),L!==D.sb.ApprovedSeo&&this.metaService.addTag({name:"robots",content:"noindex"})}removeDetailPage(){this.onLinkDetailPage=!1,this.metaService.removeTag("name='robots'"),this.metaService.removeTag("name='Description'")}setPageSearch(){this.onSearchPage=!1,this.metaService.addTag({name:"robots",content:"noindex"}),this.translateService.get("search-results-for").pipe((0,t.s)(1)).subscribe(A=>{this.titleService.setTitle(A+" | Linkvertise")})}removePageSearch(){this.metaService.removeTag("name='robots'"),this.onSearchPage=!1}static#e=this.\u0275fac=function(b){return new(b||P)(j.KVO(E.g),j.KVO(ee.hE),j.KVO(ee.W8),j.KVO(p.C),j.KVO(G.U),j.KVO(B.c$))};static#t=this.\u0275prov=j.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})()},5184:(kt,De,u)=>{"use strict";u.d(De,{p:()=>B});var t=u(1626),p=u(7376),D=u.n(p),j=u(4412),E=u(6661),ee=u(4438),G=u(33);let B=(()=>{class R{constructor(I,A){this.http=I,this.router=A,this.selectedLinks$$=new j.t([]),this.baseUrl=E.c.baseUrl}getSelectedLinks(){return this.selectedLinks$$.asObservable()}getProfile(I){let A=new t.Lr;return A=A.append("Accept","application/json"),this.http.get(this.baseUrl+"profile/"+I,{headers:A})}getMoreProfileData(I,A){let b=new t.Lr;b=b.append("Accept","application/json");let F=new t.Nl;return F=F.append("page",A.toString()),this.http.get(this.baseUrl+"profile/"+I,{headers:b,params:F})}getLinkData(I,A,b){let F,L=new t.Lr;L=L.append("Accept","application/json");let de=new t.Nl;return de=de.append("page",A.toString()),F=this.http.get(this.baseUrl+"profile/"+I,{headers:L,params:de}),F}getTopNAmountOfLinksFromArr(I,A){return I.length=A?I.slice(0,A):null}sortProfileData(I,A,b){return D().orderBy(I,A,b)}selectProfileLinksByCategory(I,A){const b=I.map(L=>"APPROVED_SEO"!==L.seo_classification?{...L,isPremium:!0}:{...L}),F=[];switch(A){case"all":default:F.push(...b.slice());break;case"public":F.push(...b.filter(L=>"APPROVED_SEO"===L.seo_classification));break;case"trending":F.push(...b.filter(L=>!0===L.isTrending));break;case"recently":F.push(...b.filter(L=>!0===L.recently_edited||!0===L.newly_created))}this.selectedLinks$$.next(F)}subscribeProfile(I){let A=new t.Lr;return A=A.append("Accept","application/json"),this.http.post(this.baseUrl+"subscriptions/subscribe",{user_id:I},{headers:A})}unsubscribeProfile(I){let A=new t.Lr;return A=A.append("Accept","application/json"),this.http.post(this.baseUrl+"subscriptions/unsubscribe",{user_id:I},{headers:A})}getSubscriber(){let I=new t.Lr;return I=I.append("Accept","application/json"),this.http.get(this.baseUrl+"subscriptions/list",{headers:I})}openProfile(I){this.router.navigateByUrl(I)}static#e=this.\u0275fac=function(A){return new(A||R)(ee.KVO(t.Qq),ee.KVO(G.Ix))};static#t=this.\u0275prov=ee.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})()},7217:(kt,De,u)=>{"use strict";u.d(De,{H:()=>E});var t=u(1626),p=u(6661),D=u(7647),j=u(4438);let E=(()=>{class ee{constructor(B){this.http=B,this.defaultHeaders=(new t.Lr).append("Accept","application/json"),this.baseUrl=p.c.baseUrl,this.account$=this.http.get(this.baseUrl+"account",{headers:this.defaultHeaders}).pipe((0,D.u)())}getAccount(){return this.account$}updatePassword(B,R){return this.http.post(this.baseUrl+"account/update-password",{password:B,password_confirmation:R},{headers:this.defaultHeaders})}updateEmail(B){return this.http.post(this.baseUrl+"account/update-email",{email:B},{headers:this.defaultHeaders})}updateLanguage(B){return this.http.post(this.baseUrl+"account/update-locale",{locale:B},{headers:this.defaultHeaders})}postRenew(){return this.http.post(this.baseUrl+"account/renew",{headers:this.defaultHeaders})}static#e=this.\u0275fac=function(R){return new(R||ee)(j.KVO(t.Qq))};static#t=this.\u0275prov=j.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}return ee})()},2803:(kt,De,u)=>{"use strict";u.d(De,{o:()=>D});var t=u(4412),p=u(4438);let D=(()=>{class j{constructor(){this.open=!1,this.show=!0,this.miniChanged=new t.t(!0)}get mini(){return this.miniChanged.value}toggleMini(){this.setMini(!this.mini)}setMini(ee){this.miniChanged.next(ee)}static#e=this.\u0275fac=function(G){return new(G||j)};static#t=this.\u0275prov=p.jDH({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},7057:(kt,De,u)=>{"use strict";u.d(De,{e:()=>A});var t=u(4523),p=u(9350);function D(b,F){const L="object"==typeof F;return new Promise((de,re)=>{let Se,me=!1;b.subscribe({next:tt=>{Se=tt,me=!0},error:re,complete:()=>{me?de(Se):L?de(F.defaultValue):re(new p.G)}})})}var j=u(4668),E=u(7673),ee=u(6661),G=u(6354),B=u(9437),R=u(4438),P=u(1626);let I=(()=>{class b{constructor(){}componentToHex(L){const de=L.toString(16);return 1===de.length?"0"+de:de}hexToHSL(L){let de=0,re=0,me=0;4===L.length?(de="0x"+L[1]+L[1],re="0x"+L[2]+L[2],me="0x"+L[3]+L[3]):7===L.length&&(de="0x"+L[1]+L[2],re="0x"+L[3]+L[4],me="0x"+L[5]+L[6]),de/=255,re/=255,me/=255;const Se=Math.min(de,re,me),tt=Math.max(de,re,me),je=tt-Se;let xe=0,ve=0,ye=0;return xe=0===je?0:tt===de?(re-me)/je%6:tt===re?(me-de)/je+2:(de-re)/je+4,xe=Math.round(60*xe),xe<0&&(xe+=360),ye=(tt+Se)/2,ve=0===je?0:je/(1-Math.abs(2*ye-1)),ve=+(100*ve).toFixed(1),ye=+(100*ye).toFixed(1),[xe,ve,ye]}hslToHex(L,de,re){let me,Se,tt;if(L/=360,re/=100,0==(de/=100))me=Se=tt=re;else{const xe=(pe,Pe,$)=>($<0&&($+=1),$>1&&($-=1),$<.16666666666666666?pe+6*(Pe-pe)*$:$<.5?Pe:$<.6666666666666666?pe+(Pe-pe)*(.6666666666666666-$)*6:ye),ve=re<.5?re*(1+de):re+de-re*de,ye=2*re-ve;me=xe(ye,ve,L+1/3),Se=xe(ye,ve,L),tt=xe(ye,ve,L-1/3)}const je=xe=>{const ve=Math.round(255*xe).toString(16);return 1===ve.length?"0"+ve:ve};return`#${je(me)}${je(Se)}${je(tt)}`}static#e=this.\u0275fac=function(de){return new(de||b)};static#t=this.\u0275prov=R.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),A=(()=>{class b{constructor(L,de){this.http=L,this.colorConvertingService=de,this.faviconMetaStore={},this.canvasStore={},this.baseUrl=ee.c.baseUrl}handleThumbnailUrlFallbackGeneration(L){var de=this;return(0,t.A)(function*(){"FALLBACK_THUMBNAIL"===L.thumbnail_url&&(L.thumbnail_url=yield de.generateThumbnailForLink(L))})()}generateThumbnailForLink(L){var de=this;return(0,t.A)(function*(){return de.getThumbnail(L.btn_text||L.short_link_title,L.target_host||L.target_hostname)})()}getThumbnail(L,de){var re=this;return(0,t.A)(function*(){if(!L||!de)return re.fallback();L=re.sanitizeText(L);const me=yield D(re.getFaviconMetaData(de)),Se=yield D(re.getCanvasBlob(L));return re.createBlobUrl(Se,me,L,de)})()}createBlobUrl(L,de,re,me){var Se=this;return(0,t.A)(function*(){return new Promise(tt=>{const je=new FileReader;je.onloadend=()=>{let xe=je.result;xe=Se.replaceValues(xe,de,re,me),tt(URL.createObjectURL(new Blob([xe],{type:"image/svg+xml"})))},je.readAsText(L)})})()}sanitizeText(L){return L.replace(/[^A-Za-z0-9\s]/g,"")}fallback(){return"/assets/img/fallback/fallback.jpeg"}getCanvasBlob(L){const de=this.getCanvasUrl(L);return de in this.canvasStore?this.canvasStore[de]:this.canvasStore[de]=this.http.get(de,{responseType:"blob"}).pipe((0,j.t)(1))}getCanvasUrl(L){return L.length<15?"/assets/img/thumbnail/canvas_1.svg":"/assets/img/thumbnail/canvas_2.svg"}getFaviconMetaData(L){if(L in this.faviconMetaStore)return this.faviconMetaStore[L];const re={primary_color:"#ffffff"};return this.faviconMetaStore[L]=this.http.get(`${this.baseUrl}media/favicons?domain=${L}`).pipe((0,G.T)(me=>me.error?re:me),(0,B.W)(()=>(0,E.of)(re)),(0,j.t)(1))}replaceValues(L,de,re,me){return L=this.replaceColors(L,de.primary_color),(L=(L=this.replaceLines(L,re)).replace("HOST",me)).replace("{FAVICON_URL}",de.favicon)}replaceColors(L,de){const me=L.match(/#([A-Fa-f0-9]{6})/g),Se=this.colorConvertingService.hexToHSL(de),tt=0===Se[0]&&0===Se[1];return me.forEach(je=>{const xe=this.colorConvertingService.hexToHSL(je);tt?(xe[0]=0,xe[1]=0):xe[0]=Se[0];const ve=this.colorConvertingService.hslToHex(xe[0],xe[1],xe[2]);L=L.replace(je,ve)}),L}replaceLines(L,de){if(de.length>14){let re=de.slice(0,13);for(;!re.endsWith(" ")&&" "!==de.charAt(13)&&re.length>0;)re=re.substring(0,re.length-1);0===re.length&&(re=de.slice(0,14)),L=L.replace("Line 1",re);let me=14;for(;" "!==de.charAt(me-1)&&me>0;)me-=1;0===me&&(me=14);const Se=de.slice(me,de.length);L=L.replace("Line 2",Se)}else L=L.replace("Line 1",de);return L}static#e=this.\u0275fac=function(de){return new(de||b)(R.KVO(P.Qq),R.KVO(I))};static#t=this.\u0275prov=R.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},3068:(kt,De,u)=>{"use strict";u.d(De,{_:()=>D,b:()=>j});var t=u(4004),p=u(4438),D=function(E){return E.StartPage="start_page",E.DetailPage="detail_page",E.ProfilePage="profile_page",E.SearchResultsPage="search_results_page",E.SuccessPage="success_page",E}(D||{});let j=(()=>{class E{constructor(G){this.userTokenService=G,this.utToken=null,this.session=self.crypto.randomUUID(),this.userTokenService.userToken$.subscribe(B=>{this.utToken=B})}track(G,B={}){window.dataLayer=window.dataLayer||[],window.dataLayer.push({...B,session:this.session,utToken:this.utToken,event:G})}trackOpenDetailPage(G){this.track("openDetailPage",{isPremium:G})}trackTargetOpened(G,B,R){this.track("openContent",{version:B,isPremium:G,action_id:R})}trackPaywallOpen(G,B){this.track("PaywallOpen",{version:B,countdownTimeInSeconds:G})}trackPaywallPurchase(G){this.track("PaywallPurchase",{version:G})}trackOpenTodoPage(G){this.track("openTodoPage",{version:G})}trackAdClick(G,B){this.track("clickAd",{version:G,action_id:B})}trackSuggestionClick(G,B,R){this.track("suggestionClick",{suggestion_location:G,link_id:B,link_path:R})}trackOpenSuccessPage(G,B){this.track("openSuccessPage",{isPremium:G,version:B})}trackSuccessPageEvent(G){this.track(G,{location:"successPage"})}trackFollowEvent(G,B){this.track(G,{location:B})}trackRatingClick(G,B){this.track("rateAsset",{location:G,rating:B})}static#e=this.\u0275fac=function(B){return new(B||E)(p.KVO(t.W))};static#t=this.\u0275prov=p.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},4004:(kt,De,u)=>{"use strict";u.d(De,{W:()=>ee});var t=u(1626),p=u(1413),D=u(6354),j=u(7366),E=u(4438);let ee=(()=>{class G{constructor(R){this.auth=R,this.userToken$$=new p.B,this.userToken$=this.userToken$$.asObservable()}setToken(R){R&&(localStorage.setItem("X-LINKVERTISE-UT",R),this.userToken$$.next(R))}getToken(){const R=localStorage.getItem("X-LINKVERTISE-UT");if(R)return R}intercept(R,P){return!this.auth.isLoggedIn()&&this.getToken()&&(R=R.clone({params:R.params.set("X-Linkvertise-UT",this.getToken())})),P.handle(R).pipe((0,D.T)(I=>(I instanceof t.cS&&I.body&&this.setToken(I.body.user_token),I)))}static#e=this.\u0275fac=function(P){return new(P||G)(E.KVO(j.u))};static#t=this.\u0275prov=E.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})()},6160:(kt,De,u)=>{"use strict";u.d(De,{t:()=>de});var t=u(5980),p=u(3955),D=u(9821),j=u(9213),E=u(9183),ee=u(177),G=u(8069),B=u(4438);function R(re,me){1&re&&B.nrm(0,"mat-spinner")}function P(re,me){1&re&&(B.j41(0,"mat-icon",9),B.EFF(1,"check_circle"),B.k0s())}function I(re,me){1&re&&(B.j41(0,"mat-icon",10),B.EFF(1,"cancel"),B.k0s())}function A(re,me){1&re&&(B.j41(0,"mat-icon",10),B.EFF(1,"cancel"),B.k0s())}function b(re,me){1&re&&(B.j41(0,"mat-icon",10),B.EFF(1,"cancel"),B.k0s())}function F(re,me){1&re&&(B.j41(0,"mat-icon",10),B.EFF(1,"cancel"),B.k0s())}function L(re,me){1&re&&B.nrm(0,"mat-spinner")}let de=(()=>{class re{constructor(Se,tt,je){this.data=Se,this.dialogRef=tt,this.cdr=je,this.modalTitle="",this.currentState=""}ngOnInit(){"string"==typeof this.data.status?this.defaultTitleSwitch(this.data.status):this.data.status.subscribe(Se=>{this.defaultTitleSwitch(Se.toLowerCase())})}defaultTitleSwitch(Se){this.currentState=Se,"default"===Se&&"default"===this.currentState?(this.modalTitle="chargebee.status-modal."+Se+".title",setTimeout(()=>{"default"===Se&&"default"===this.currentState&&(this.modalTitle="chargebee.status-modal."+Se+".title-02")},6e4)):(this.modalTitle="chargebee.status-modal."+Se+".title",this.cdr.detectChanges())}handleButtonClick(Se){"pending-support"===Se?window.open("https://lvcreator.zendesk.com/hc/en-us","_blank"):this.dialogRef.close(Se)}ngOnDestroy(){this.modalTitle=""}static#e=this.\u0275fac=function(tt){return new(tt||re)(B.rXU(t.Qs),B.rXU(t.ce),B.rXU(B.gRc))};static#t=this.\u0275cmp=B.VBU({type:re,selectors:[["lv-chargebee-status-modal"]],standalone:!0,features:[B.aNF],decls:19,vars:19,consts:[[3,"padding"],[1,"lv-center","lv-column","gap-1"],[1,"status-icon",3,"ngSwitch"],[4,"ngSwitchCaseDefault"],["class","active",4,"ngSwitchCase"],["class","pending",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"link-primary",3,"innerHTML"],[3,"click","rounded","disabled"],[1,"active"],[1,"pending"]],template:function(tt,je){1&tt&&(B.j41(0,"lv-lib-popover")(1,"lv-lib-popover-body",0)(2,"div",1)(3,"div",2),B.DNE(4,R,1,0,"mat-spinner",3)(5,P,2,0,"mat-icon",4)(6,I,2,0,"mat-icon",5)(7,A,2,0,"mat-icon",5)(8,b,2,0,"mat-icon",5)(9,F,2,0,"mat-icon",5)(10,L,1,0,"mat-spinner",6),B.k0s(),B.j41(11,"h1"),B.EFF(12),B.nI1(13,"translate"),B.k0s(),B.nrm(14,"div",7),B.nI1(15,"translate"),B.j41(16,"lv-lib-button",8),B.bIt("click",function(){return je.handleButtonClick(je.currentState)}),B.EFF(17),B.nI1(18,"translate"),B.k0s()()()()),2&tt&&(B.R7$(),B.Y8G("padding",!0),B.R7$(2),B.Y8G("ngSwitch",je.currentState),B.R7$(2),B.Y8G("ngSwitchCase","active"),B.R7$(),B.Y8G("ngSwitchCase","dunning"),B.R7$(),B.Y8G("ngSwitchCase","pending-failed"),B.R7$(),B.Y8G("ngSwitchCase","pending-support"),B.R7$(),B.Y8G("ngSwitchCase","premium-dunning"),B.R7$(),B.Y8G("ngSwitchCase","default"),B.R7$(2),B.SpI(" ",B.bMT(13,13,je.modalTitle)," "),B.R7$(2),B.Y8G("innerHTML",B.bMT(15,15,"chargebee.status-modal."+je.currentState+".description"),B.npT),B.R7$(2),B.Y8G("rounded",!0)("disabled","default"===je.currentState),B.R7$(),B.SpI(" ",B.bMT(18,17,"chargebee.status-modal."+je.currentState+".button-text")," "))},dependencies:[G.qX,G.$0,ee.ux,E.LG,ee.e1,j.An,D.X,p.h,p.D9],styles:[".status-icon[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:86px}.status-icon[_ngcontent-%COMP%] .pending[_ngcontent-%COMP%]{color:red;font-size:86px;width:100%;height:100%}.status-icon[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{color:green;font-size:86px;width:100%;height:100%}"]})}return re})()},431:(kt,De,u)=>{"use strict";u.d(De,{X:()=>Se});var t=u(7366),p=u(9417),D=u(5980),j=u(8746),E=u(3955),ee=u(9821),G=u(9631),B=u(2102),R=u(9213),P=u(6173),I=u(177),A=u(8069),b=u(4438);const F=tt=>({email:tt});function L(tt,je){if(1&tt){const xe=b.RV6();b.j41(0,"lv-lib-alerts",12),b.bIt("close",function(){b.eBV(xe);const ye=b.XpG();return b.Njj(ye.hideForgetSuccess())}),b.j41(1,"div",13)(2,"mat-icon"),b.EFF(3,"forward_to_inbox"),b.k0s(),b.EFF(4),b.nI1(5,"translate"),b.k0s()()}if(2&tt){const xe=b.XpG();b.Y8G("rounded",!0)("showClose",!0)("type","POSITIVE"),b.R7$(4),b.SpI(" ",b.i5U(5,4,"password-forget-success",b.eq3(7,F,xe.passwordForgetForm.get("email").value))," ")}}let de=(()=>{class tt{constructor(xe,ve){this.authService=xe,this.dialogRef=ve,this.forgetSuccess=!1,this.eMailRegEx="^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}"}ngOnInit(){this.passwordForgetForm=new p.gE({email:new p.MJ("",[p.k0.required,p.k0.email,p.k0.pattern(this.eMailRegEx)]),captcha:new p.MJ("",[p.k0.required])})}setCaptchaInput(xe){this.passwordForgetForm.get("captcha")?.setValue(xe),this.passwordForgetForm.updateValueAndValidity()}forget(){this.passwordForgetForm.invalid||(this.forgetSuccess=!0,this.authService.postPasswordForget(this.passwordForgetForm.get("email").value,this.passwordForgetForm.get("captcha").value).subscribe(xe=>{this.captcha.reset(),this.passwordForgetForm.get("captcha")?.setValue(null)}))}closeDialog(){this.dialogRef.close()}hideForgetSuccess(){this.forgetSuccess=!1}static#e=this.\u0275fac=function(ve){return new(ve||tt)(b.rXU(t.u),b.rXU(D.ce))};static#t=this.\u0275cmp=b.VBU({type:tt,selectors:[["lv-password-forget"]],viewQuery:function(ve,ye){if(1&ve&&b.GBs(j.c,5),2&ve){let pe;b.mGM(pe=b.lsd())&&(ye.captcha=pe.first)}},standalone:!0,features:[b.aNF],decls:26,vars:23,consts:[["captcha",""],[3,"close"],[3,"padding"],[3,"rounded","showClose","type","close",4,"ngIf"],[3,"formGroup"],["appearance","fill",1,"input-field",3,"hideRequiredMarker"],["matInput","","formControlName","email","type","email","name","email"],[1,"input-field","lv-center-x"],[3,"captchaResponse"],[1,"action-buttons"],[1,"action-buttons__button",3,"click","rounded","type"],[1,"action-buttons__button",3,"click","rounded","disabled"],[3,"close","rounded","showClose","type"],[1,"alert-center-text"]],template:function(ve,ye){if(1&ve){const pe=b.RV6();b.j41(0,"lv-lib-popover")(1,"lv-lib-popover-header",1),b.bIt("close",function(){return b.eBV(pe),b.Njj(ye.closeDialog())}),b.j41(2,"h2"),b.EFF(3),b.nI1(4,"translate"),b.k0s()(),b.j41(5,"lv-lib-popover-body",2),b.DNE(6,L,6,9,"lv-lib-alerts",3),b.j41(7,"form",4)(8,"mat-form-field",5)(9,"mat-label"),b.EFF(10),b.nI1(11,"translate"),b.k0s(),b.nrm(12,"input",6),b.j41(13,"mat-error"),b.EFF(14),b.nI1(15,"translate"),b.k0s()()(),b.j41(16,"div",7)(17,"lv-captcha",8,0),b.bIt("captchaResponse",function($){return b.eBV(pe),b.Njj(ye.setCaptchaInput($))}),b.k0s()(),b.j41(19,"div",9)(20,"lv-lib-button",10),b.bIt("click",function(){return b.eBV(pe),b.Njj(ye.closeDialog())}),b.EFF(21),b.nI1(22,"translate"),b.k0s(),b.j41(23,"lv-lib-button",11),b.bIt("click",function(){return b.eBV(pe),b.Njj(ye.forget())}),b.EFF(24),b.nI1(25,"translate"),b.k0s()()()()}2&ve&&(b.R7$(3),b.JRh(b.bMT(4,13,"premium-modal-password-forget-headline")),b.R7$(2),b.Y8G("padding",!0),b.R7$(),b.Y8G("ngIf",ye.forgetSuccess),b.R7$(),b.Y8G("formGroup",ye.passwordForgetForm),b.R7$(),b.Y8G("hideRequiredMarker",!0),b.R7$(2),b.JRh(b.bMT(11,15,"settings-email")),b.R7$(4),b.JRh(b.bMT(15,17,"error-msg.required")),b.R7$(6),b.Y8G("rounded",!0)("type","secondary"),b.R7$(),b.SpI(" ",b.bMT(22,19,"button.close")," "),b.R7$(2),b.Y8G("rounded",!0)("disabled",ye.passwordForgetForm.invalid),b.R7$(),b.SpI(" ",b.bMT(25,21,"button.reset")," "))},dependencies:[A.qX,A.SD,A.$0,I.bT,P.v,R.An,p.YN,p.qT,p.me,p.BC,p.cb,p.X1,p.j4,p.JD,B.rl,B.nJ,G.fg,B.TL,j.c,ee.X,E.h,E.D9],styles:["lv-password-forget .container-alert{margin-bottom:1rem}lv-password-forget .alert-center-text{display:flex;gap:.5rem;align-items:center}lv-password-forget .input-field{width:100%;margin-bottom:11px}lv-password-forget .action-buttons{margin-top:1.5rem;display:flex;justify-content:space-between;-moz-column-gap:1rem;column-gap:1rem}lv-password-forget .action-buttons__button{max-width:256px;width:100%}@media (min-width: 768px){lv-password-forget .action-buttons button{width:100%!important}}\n"],encapsulation:2})}return tt})();var re=u(3383);function me(tt,je){if(1&tt){const xe=b.RV6();b.j41(0,"lv-lib-alerts",16),b.bIt("close",function(){b.eBV(xe);const ye=b.XpG();return b.Njj(ye.hideLoginAlert())}),b.j41(1,"div",17)(2,"mat-icon"),b.EFF(3,"info"),b.k0s(),b.EFF(4),b.nI1(5,"translate"),b.k0s()()}2&tt&&(b.Y8G("rounded",!0)("showClose",!0)("type","NEGATIVE"),b.R7$(4),b.SpI(" ",b.bMT(5,4,"login-alert")," "))}let Se=(()=>{class tt{constructor(xe,ve,ye){this.authService=xe,this.dialog=ve,this.dialogRef=ye,this.showLoginAlert=!1,this.captchaSize="normal",this.eMailRegEx="^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}",this.loginForm=new p.gE({email:new p.MJ("",[p.k0.required,p.k0.email,p.k0.pattern(this.eMailRegEx)]),password:new p.MJ("",[p.k0.required,p.k0.required]),captcha:new p.MJ("",[p.k0.required])})}navigateToForgetPassword(){this.dialogRef.close(),this.dialog.open(de)}setCaptchaInput(xe){this.loginForm.get("captcha")?.setValue(xe),this.loginForm.updateValueAndValidity()}closeDialog(){this.dialogRef.close()}logIn(){this.loginForm.invalid||(this.showLoginAlert=!1,this.authService.postLogin(this.loginForm.get("email").value,this.loginForm.get("password").value,this.loginForm.get("captcha").value).subscribe(xe=>{xe.success?(this.showLoginAlert=!1,this.authService.login(xe.data.access_token),window.location.reload()):(this.captcha.reset(),this.loginForm.get("captcha")?.setValue(null),this.showLoginAlert=!0)}))}hideLoginAlert(){this.showLoginAlert=!1}openRegister(){this.dialogRef.close(),this.dialog.open(re.v,{data:{hasCountdown:!1}})}static#e=this.\u0275fac=function(ve){return new(ve||tt)(b.rXU(t.u),b.rXU(D.o3),b.rXU(D.ce))};static#t=this.\u0275cmp=b.VBU({type:tt,selectors:[["lv-login"]],viewQuery:function(ve,ye){if(1&ve&&b.GBs(j.c,5),2&ve){let pe;b.mGM(pe=b.lsd())&&(ye.captcha=pe.first)}},standalone:!0,features:[b.aNF],decls:43,vars:33,consts:[["captcha",""],[3,"close"],[3,"padding"],[3,"rounded","showClose","type","close",4,"ngIf"],[3,"formGroup"],["appearance","fill",1,"input-field",3,"hideRequiredMarker"],["matInput","","type","email","name","email","formControlName","email"],["matInput","","type","password","name","password","formControlName","password"],[1,"link-forgot","pointer",3,"click"],[1,"login-text-wrapper"],[1,"login-link",3,"click"],[1,"input-field","lv-center-x"],[3,"captchaResponse"],[1,"action-buttons"],[1,"action-buttons__button",3,"click","rounded","type"],[1,"action-buttons__button",3,"click","rounded","disabled"],[3,"close","rounded","showClose","type"],[1,"alert-center-text"]],template:function(ve,ye){if(1&ve){const pe=b.RV6();b.j41(0,"lv-lib-popover")(1,"lv-lib-popover-header",1),b.bIt("close",function(){return b.eBV(pe),b.Njj(ye.closeDialog())}),b.j41(2,"h2"),b.EFF(3,"Login"),b.k0s()(),b.j41(4,"lv-lib-popover-body",2),b.DNE(5,me,6,6,"lv-lib-alerts",3),b.j41(6,"form",4)(7,"mat-form-field",5)(8,"mat-label"),b.EFF(9),b.nI1(10,"translate"),b.k0s(),b.nrm(11,"input",6),b.j41(12,"mat-error"),b.EFF(13),b.nI1(14,"translate"),b.k0s()(),b.j41(15,"mat-form-field",5)(16,"mat-label"),b.EFF(17),b.nI1(18,"translate"),b.k0s(),b.nrm(19,"input",7),b.j41(20,"mat-error"),b.EFF(21),b.nI1(22,"translate"),b.k0s()()(),b.j41(23,"div",8),b.bIt("click",function(){return b.eBV(pe),b.Njj(ye.navigateToForgetPassword())}),b.EFF(24),b.nI1(25,"translate"),b.k0s(),b.j41(26,"div",9)(27,"p")(28,"span"),b.EFF(29),b.nI1(30,"translate"),b.k0s(),b.j41(31,"span",10),b.bIt("click",function(){return b.eBV(pe),b.Njj(ye.openRegister())}),b.EFF(32,"Register"),b.k0s()()(),b.j41(33,"div",11)(34,"lv-captcha",12,0),b.bIt("captchaResponse",function($){return b.eBV(pe),b.Njj(ye.setCaptchaInput($))}),b.k0s()(),b.j41(36,"div",13)(37,"lv-lib-button",14),b.bIt("click",function(){return b.eBV(pe),b.Njj(ye.closeDialog())}),b.EFF(38),b.nI1(39,"translate"),b.k0s(),b.j41(40,"lv-lib-button",15),b.bIt("click",function(){return b.eBV(pe),b.Njj(ye.logIn())}),b.EFF(41),b.nI1(42,"translate"),b.k0s()()()()}2&ve&&(b.R7$(4),b.Y8G("padding",!0),b.R7$(),b.Y8G("ngIf",ye.showLoginAlert),b.R7$(),b.Y8G("formGroup",ye.loginForm),b.R7$(),b.Y8G("hideRequiredMarker",!0),b.R7$(2),b.JRh(b.bMT(10,17,"settings-email")),b.R7$(4),b.JRh(b.bMT(14,19,"error-msg.required")),b.R7$(2),b.Y8G("hideRequiredMarker",!0),b.R7$(2),b.JRh(b.bMT(18,21,"password")),b.R7$(4),b.JRh(b.bMT(22,23,"error-msg.required")),b.R7$(3),b.SpI(" ",b.bMT(25,25,"password-forget")," "),b.R7$(5),b.SpI("",b.bMT(30,27,"premium-popup.to-register-button")," "),b.R7$(8),b.Y8G("rounded",!0)("type","secondary"),b.R7$(),b.SpI(" ",b.bMT(39,29,"button.close")," "),b.R7$(2),b.Y8G("rounded",!0)("disabled",ye.loginForm.invalid),b.R7$(),b.SpI(" ",b.bMT(42,31,"button.log-in")," "))},dependencies:[D.qX,D.SD,D.$0,I.bT,D.vc,R.An,p.YN,p.qT,p.me,p.BC,p.cb,p.X1,p.j4,p.JD,B.rl,B.nJ,G.fg,B.TL,j.c,D.Xb,E.h,E.D9],styles:["lv-login .container-alert{margin-bottom:1rem}lv-login .alert-center-text{display:flex;gap:.5rem;align-items:center}lv-login .input-field{width:100%;margin-bottom:.5rem}lv-login .link-forgot{margin-top:-20px;margin-bottom:6px;text-decoration:underline!important;font-size:.75rem;color:#ff8114;display:flex;flex-direction:row-reverse;position:relative}lv-login .action-buttons{margin-top:1.5rem;display:flex;justify-content:space-between;-moz-column-gap:1rem;column-gap:1rem}lv-login .action-buttons__button{max-width:256px;width:100%}@media (min-width: 768px){lv-login .action-buttons button{width:100%!important}}.login-text-wrapper{display:flex;padding:1rem 0}.login-text-wrapper p{font-size:1rem;font-weight:500;line-height:1.5}.login-text-wrapper p .login-link{color:#ff8114;text-decoration:underline;cursor:pointer}\n"],encapsulation:2})}return tt})()},3383:(kt,De,u)=>{"use strict";u.d(De,{v:()=>ir});var t=u(4438),p=u(3294),D=u(6697),j=u(9437),E=u(6354),ee=u(8141),G=u(8359),B=u(4412),R=u(7673),P=u(4925),I=u(1626),A=u(1057),b=u(3955);let F=(()=>{class it{constructor(we,Ft,Rt,qn){this.http=we,this.languageService=Ft,this.translateService=Rt,this.apiCheckoutService=qn,this.selectedPlan$$=new B.t(null),this.selectedPlan$=this.selectedPlan$$.asObservable(),this.translateService.use(this.languageService.locale)}update(we){this.subscriptionAccessToken=we,localStorage.setItem("lv_checkout.subscriptionAccessToken",this.subscriptionAccessToken)}readFromLocalStorage(){this.subscriptionAccessToken=localStorage.getItem("lv_checkout.subscriptionAccessToken")}getAlertText(we,Ft){let Rt="";return we?.length>0&&(Rt=we[0]),Ft||this.translateService.get("error-msg.accepted-gtc").pipe((0,D.s)(1)).subscribe(qn=>{Rt=qn}),Rt}getMembershipPlans(){return this.apiCheckoutService.fetchMembershipPlans().pipe((0,D.s)(1),(0,E.T)(we=>we.data?.getMembershipPlansForUser))}emitSelectedPlan(we){this.selectedPlan$$.next(we)}static#e=this.\u0275fac=function(Ft){return new(Ft||it)(t.KVO(I.Qq),t.KVO(A.g),t.KVO(b.c$),t.KVO(P.q))};static#t=this.\u0275prov=t.jDH({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();var L=u(4410),de=u(4499),re=u(431),me=u(177),Se=u(9417),tt=u(2102),je=u(9213),xe=u(9631),ve=u(5980),ye=u(345);let pe=(()=>{class it{constructor(we){this.sanitizer=we}transform(we,Ft){switch(Ft){case"html":return this.sanitizer.bypassSecurityTrustHtml(we);case"style":return this.sanitizer.bypassSecurityTrustStyle(we);case"script":return this.sanitizer.bypassSecurityTrustScript(we);case"url":return this.sanitizer.bypassSecurityTrustUrl(we);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(we);default:throw new Error(`Invalid safe type specified: ${Ft}`)}}static#e=this.\u0275fac=function(Ft){return new(Ft||it)(t.rXU(ye.up,16))};static#t=this.\u0275pipe=t.EJ8({name:"safe",type:it,pure:!0,standalone:!0})}return it})();var Pe=u(6661),$=u(6173),Oe=u(7366);let Ke=(()=>{class it{constructor(){this.initialized=!1,this.chargebeeSubDomain=Pe.c.chargebeeSubDomain}static shouldEnableRedirectMode(){return/iPad|iPhone|iPod/.test(navigator.userAgent)}initialize(){this.initialized||(this.cbInstance=window.Chargebee.init({site:this.chargebeeSubDomain,enableRedirectMode:it.shouldEnableRedirectMode()}),this.initialized=!0)}getInstance(){return this.initialize(),this.cbInstance}static#e=this.\u0275fac=function(Ft){return new(Ft||it)};static#t=this.\u0275prov=t.jDH({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();var Nt=u(3068),Ct=u(8746),$t=u(9886),be=u(2234);const Be=()=>({width:"60px",height:"31px",borderRadius:"0px",backgroundColor:"#dddbdd"}),oe=()=>({width:"62px",height:"31px",borderRadius:"0px",backgroundColor:"#dddbdd"}),Re=()=>({width:"40px",height:"18px",borderRadius:"0px",backgroundColor:"#dddbdd"});function fe(it,si){1&it&&(t.j41(0,"div",6),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&it&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"membership-price-plan.most-popular")," "))}let ge=(()=>{class it{constructor(){this.isMostPopular=!1,this.isSelected=!1}static#e=this.\u0275fac=function(Ft){return new(Ft||it)};static#t=this.\u0275cmp=t.VBU({type:it,selectors:[["lv-membership-price-plan-skeleton"]],inputs:{isMostPopular:"isMostPopular",isSelected:"isSelected"},standalone:!0,features:[t.aNF],decls:10,vars:8,consts:[[1,"membership-price-skeleton",3,"ngClass"],["class","membership-price-skeleton__most-popular",4,"ngIf"],[1,"membership-price-skeleton__wrapper"],[1,"membership-price-skeleton__wrapper__duration"],["appearance","line",3,"theme"],[1,"membership-price-skeleton__wrapper__price-per-duration"],[1,"membership-price-skeleton__most-popular"]],template:function(Ft,Rt){1&Ft&&(t.j41(0,"div",0),t.DNE(1,fe,3,3,"div",1),t.j41(2,"div",2)(3,"div",3),t.nrm(4,"ngx-skeleton-loader",4),t.k0s(),t.j41(5,"div",5)(6,"div"),t.nrm(7,"ngx-skeleton-loader",4),t.k0s(),t.j41(8,"div"),t.nrm(9,"ngx-skeleton-loader",4),t.k0s()()()()),2&Ft&&(t.Y8G("ngClass",Rt.isSelected?"active":""),t.R7$(),t.Y8G("ngIf",Rt.isMostPopular),t.R7$(3),t.Y8G("theme",t.lJ4(5,Be)),t.R7$(3),t.Y8G("theme",t.lJ4(6,oe)),t.R7$(2),t.Y8G("theme",t.lJ4(7,Re)))},dependencies:[me.YU,me.bT,be.Yq,be.Zm,b.h,b.D9],styles:[".membership-price-skeleton[_ngcontent-%COMP%]{width:100%;border:1px solid #dbdbdb;border-radius:8px}.membership-price-skeleton__most-popular[_ngcontent-%COMP%]{transform:translateY(-50%);background:#ff8114;color:#fff;display:flex;justify-content:center;align-items:center;border-radius:4px;font-size:12px;font-weight:500;height:20px;width:-moz-fit-content;width:fit-content;margin-left:16px;padding:4px 8px;margin-bottom:-22px}.membership-price-skeleton__wrapper[_ngcontent-%COMP%]{padding:19px 24px 2px 19px;display:flex;justify-content:space-between}.membership-price-skeleton__wrapper__duration[_ngcontent-%COMP%]{font-weight:500;font-size:16px}.membership-price-skeleton__wrapper__price-per-duration[_ngcontent-%COMP%]{display:flex;align-items:baseline}.membership-price-skeleton__wrapper__price-per-duration[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-of-type{font-weight:500;font-size:24px}.membership-price-skeleton__wrapper__price-per-duration[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-of-type{font-weight:300;font-size:12px}.active[_ngcontent-%COMP%]{border:0!important;outline:2px solid #ff8114}"]})}return it})();function ke(it,si){if(1&it&&t.nrm(0,"lv-membership-price-plan-skeleton",2),2&it){const we=t.XpG();t.Y8G("isMostPopular",we.isMostPopular)("isSelected",we.isSelected)}}function qe(it,si){1&it&&(t.EFF(0),t.nI1(1,"translate")),2&it&&t.SpI(" ",t.bMT(1,1,"membership-price-plan.most-popular")," ")}function Ce(it,si){1&it&&(t.EFF(0),t.nI1(1,"translate")),2&it&&t.SpI(" ",t.bMT(1,1,"membership-price-plan.reactivate")," ")}function We(it,si){if(1&it&&(t.j41(0,"div",9),t.DNE(1,qe,2,3)(2,Ce,2,3),t.k0s()),2&it){const we=t.XpG(2);t.R7$(),t.vxM(1,we.isExpired?2:1)}}function Ze(it,si){1&it&&(t.j41(0,"div",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&it&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"membership-price-plan.catch-phrase")," "))}function gt(it,si){if(1&it&&(t.j41(0,"div",3),t.DNE(1,We,3,1,"div",4)(2,Ze,3,3,"div",5),t.j41(3,"div",6)(4,"div",7),t.EFF(5),t.k0s(),t.j41(6,"div",8)(7,"div"),t.EFF(8),t.k0s(),t.j41(9,"div"),t.EFF(10),t.k0s()()()()),2&it){const we=t.XpG();t.Y8G("ngClass",we.isSelected?"active":""),t.R7$(),t.Y8G("ngIf",we.isMostPopular),t.R7$(),t.vxM(2,we.bigPlan?2:-1),t.R7$(2),t.AVh("membership-price__wrapper__duration__expired",we.bigPlan),t.R7$(),t.SpI(" ",we.durationDisplayText," "),t.R7$(),t.AVh("membership-price__wrapper__price-per-duration__expired",we.bigPlan),t.R7$(2),t.JRh(we.priceDisplayText),t.R7$(2),t.SpI("/",we.durationPerPriceDisplayText,"")}}let an=(()=>{class it{constructor(){this.isMostPopular=!1,this.isSelected=!1,this.showSkeleton=!1,this.isExpired=!1,this.bigPlan=!1}static#e=this.\u0275fac=function(Ft){return new(Ft||it)};static#t=this.\u0275cmp=t.VBU({type:it,selectors:[["lv-membership-price-plan"]],inputs:{isMostPopular:"isMostPopular",durationDisplayText:"durationDisplayText",durationPerPriceDisplayText:"durationPerPriceDisplayText",priceDisplayText:"priceDisplayText",isSelected:"isSelected",showSkeleton:"showSkeleton",isExpired:"isExpired",bigPlan:"bigPlan"},standalone:!0,features:[t.aNF],decls:2,vars:2,consts:[[3,"isMostPopular","isSelected",4,"ngIf"],["class","membership-price",3,"ngClass",4,"ngIf"],[3,"isMostPopular","isSelected"],[1,"membership-price",3,"ngClass"],["class","membership-price__most-popular",4,"ngIf"],[1,"membership-price__text-wrapper"],[1,"membership-price__wrapper"],[1,"membership-price__wrapper__duration"],[1,"membership-price__wrapper__price-per-duration"],[1,"membership-price__most-popular"]],template:function(Ft,Rt){1&Ft&&t.DNE(0,ke,1,2,"lv-membership-price-plan-skeleton",0)(1,gt,11,10,"div",1),2&Ft&&(t.Y8G("ngIf",Rt.showSkeleton),t.R7$(),t.Y8G("ngIf",!Rt.showSkeleton))},dependencies:[me.bT,ge,me.YU,b.h,b.D9],styles:[".membership-price[_ngcontent-%COMP%]{width:100%;border:1px solid #dbdbdb;border-radius:8px;cursor:pointer}.membership-price__most-popular[_ngcontent-%COMP%]{transform:translateY(-50%);background:#ff8114;color:#fff;display:flex;justify-content:center;align-items:center;border-radius:4px;font-size:12px;font-weight:500;height:20px;width:-moz-fit-content;width:fit-content;margin-left:16px;padding:4px 8px;margin-bottom:-22px}.membership-price__text-wrapper[_ngcontent-%COMP%]{padding:1rem 1.5rem 0;font-weight:500}.membership-price__wrapper[_ngcontent-%COMP%]{padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center}.membership-price__wrapper__duration[_ngcontent-%COMP%]{font-weight:500;font-size:16px}.membership-price__wrapper__duration__expired[_ngcontent-%COMP%]{font-weight:300;font-size:2rem}@media screen and (max-width: 370px){.membership-price__wrapper__duration[_ngcontent-%COMP%]{font-weight:500;font-size:24px}}.membership-price__wrapper__price-per-duration[_ngcontent-%COMP%]{display:flex;align-items:baseline}.membership-price__wrapper__price-per-duration[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-of-type{font-weight:500;font-size:24px}.membership-price__wrapper__price-per-duration[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-of-type{font-weight:300;font-size:12px}@media screen and (min-width: 370px){.membership-price__wrapper__price-per-duration__expired[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-of-type{font-weight:300;font-size:2rem}.membership-price__wrapper__price-per-duration__expired[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-of-type{font-weight:300;font-size:12px}}.active[_ngcontent-%COMP%]{border:0!important;outline:2px solid #ff8114}"]})}return it})();var xn=u(2803),Tn=u(5351);function Rn(it,si){if(1&it){const we=t.RV6();t.j41(0,"div")(1,"lv-lib-alerts",23),t.bIt("close",function(){const Rt=t.eBV(we).index,qn=t.XpG();return t.Njj(qn.removeErrorMessage(Rt))}),t.nrm(2,"div",24),t.nI1(3,"safe"),t.k0s()()}if(2&it){const we=si.$implicit;t.R7$(),t.Y8G("rounded",!0)("type","NEGATIVE"),t.R7$(),t.Y8G("innerHTML",t.i5U(3,3,we,"html"),t.npT)}}function ii(it,si){1&it&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&it&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"error-msg.accepted-gtc")," "))}let Cn=(()=>{class it{constructor(we,Ft,Rt,qn,ei,nr,Mr,lr,Dr,cr,vi){this.data=we,this.sidebarService=Ft,this.apiCheckoutService=Rt,this.dialogService=qn,this.checkoutService=ei,this.authService=nr,this.trackingService=Mr,this.translate=lr,this.chargebeeService=Dr,this.dialog=cr,this.dialogRef=vi,this.eMailRegEx="^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}",this.isCheckboxChecked=!1,this.chargeBeeInstance=this.chargebeeService.getInstance(),this.checkboxTouched=!1,this.subscriptions=new G.yU,this.errorMessages=[],this.hasCheqError=!1,this.currentStatus=new B.t("DEFAULT"),this.disableRegister=(0,t.vPA)(!1),this.chargebeeSubDomain=Pe.c.chargebeeSubDomain}ngOnInit(){this.subscriptions.add(this.checkoutService.selectedPlan$.subscribe(we=>{this.memberShipPlan=we})),this.registerForm=new Se.gE({email:new Se.MJ("",[Se.k0.required,Se.k0.email,Se.k0.pattern(this.eMailRegEx),this.triggerRepeatFieldValidator("repeatEmail")]),repeatEmail:new Se.MJ("",[Se.k0.required,this.matchValidator("email")]),password:new Se.MJ("",[Se.k0.required,Se.k0.minLength(6),this.triggerRepeatFieldValidator("repeatPassword")]),repeatPassword:new Se.MJ("",[Se.k0.required,this.matchValidator("password")]),confirmCheckbox:new Se.MJ(!1,[this.checkboxValid()]),captcha:new Se.MJ("",[Se.k0.required])})}ngOnDestroy(){this.subscriptions.unsubscribe()}closeDialog(){this.dialogRef.close()}setCaptchaInput(we){this.registerForm.get("captcha")?.setValue(we),this.registerForm.updateValueAndValidity()}openWithdrawDialog(){this.sidebarService.open=!1,this.dialogService.open($t.p,{backdropClass:"dialogOpenInFront",data:{type:"withdraw"}})}openPrivacyDialog(){this.sidebarService.open=!1,this.dialogService.open($t.p,{backdropClass:"dialogOpenInFront",data:{type:"privacy"}})}openGtcDialog(){this.sidebarService.open=!1,this.dialogService.open($t.p,{backdropClass:"dialogOpenInFront",data:{type:"gtc"}})}back(){this.dialogRef.close(),this.dialog.open(ir,{data:{hasCountdown:this.data.countdownHasSeen,variant:this.data.variant,targetLink:{id:this.data.targetLink.id,short_link_title:this.data.targetLink.short_link_title}}})}register(){this.disableRegister.set(!0),this.apiCheckoutService.postCheckout(this.registerForm.get("email").value,this.registerForm.get("password").value,this.memberShipPlan.id,this.registerForm.get("captcha").value,this.sanitizeUrl()).subscribe({next:we=>this.handleAfterPostCheckout(we),error:we=>{this.errorHandling(we),this.disableRegister.set(!1)}})}handleAfterPostCheckout(we){if(we.success){const Ft=new Promise(Rt=>{this.checkoutService.update(we.data?.subscription_token),Rt(we.data?.hosted_page)});this.chargeBeeInstance.openCheckout({hostedPage:()=>Ft,success:Rt=>{this.trackingService.trackPaywallPurchase(this.data.variant),this.status(Rt),this.checkDialogRef=this.apiCheckoutService.handleChargebeeStatus(this.currentStatus)}}),this.disableRegister.set(!1)}else this.captcha.reset(),this.registerForm.get("captcha")?.setValue(null),"some errors occured!"===we.messages[0]?this.vpnErrorHandling():this.errorMessages=we.messages}errorHandling(we){this.captcha.reset(),this.registerForm.get("captcha")?.setValue(null),this.errorMessages=[],"some errors occured!"===we.error?.message&&this.vpnErrorHandling(),we.error?.errors?.email&&we.error.errors.email.forEach(Ft=>{this.errorMessages.push(Ft)}),we.error?.errors?.password&&we.error.errors.password.forEach(Ft=>{this.errorMessages.push(Ft)}),we.error?.errors?.membership_plan_id&&we.error.errors.membership_plan_id.forEach(Ft=>{this.errorMessages.push(Ft)})}vpnErrorHandling(){this.translate.get("registration.invalid-user").pipe((0,D.s)(1)).subscribe(we=>{this.errorMessages.push(we)}),this.hasCheqError=!0}status(we){this.apiCheckoutService.fetchCheckoutStatus(we).subscribe(Ft=>{this.currentStatus.next(this.apiCheckoutService.checkChargebeeStatus(Ft,this.globalStatus)),"DEFAULT"!==this.currentStatus.value?this.checkDialogRef.afterClosed().subscribe(Rt=>{"active"===Rt?this.authService.postLogin(this.registerForm.get("email").value,this.registerForm.get("password").value,"bypass-captcha").subscribe(qn=>{this.authService.login(qn.data.access_token),window.location.reload()}):"dunning"===Rt&&this.authService.postLogin(this.registerForm.get("email").value,this.registerForm.get("password").value,"bypass-captcha").subscribe(qn=>{this.authService.login(qn.data.access_token),window.open(`https://${this.chargebeeSubDomain}.chargebeeportal.com/portal/v2/login`,"_blank"),window.location.reload()}),this.captcha.reset(),this.globalStatus=void 0}):setTimeout(()=>{this.globalStatus=Ft.data.state,this.status(we)},12e4)})}checkboxValid(){return()=>this.isCheckboxChecked?null:{required:!0}}checkboxChange(we){this.checkboxTouched=!0,this.isCheckboxChecked=we.target.checked,this.registerForm.get("confirmCheckbox")?.setValue(we.target.checked)}matchValidator(we){return Ft=>{const Rt=Ft,qn=Ft.parent?.get(we);if(Rt&&qn)return qn.value!==Rt.value?{notMatched:!0}:null}}triggerRepeatFieldValidator(we){return Ft=>{const Rt=Ft.parent?.get(we);return Rt&&Rt.updateValueAndValidity(),null}}removeErrorMessage(we){this.errorMessages.splice(we,1)}sanitizeUrl(){return window.location.href.split("/checkout-complete")[0]}static#e=this.\u0275fac=function(Ft){return new(Ft||it)(t.rXU(ve.Qs),t.rXU(xn.o),t.rXU(P.q),t.rXU(Tn.bZ),t.rXU(F),t.rXU(Oe.u),t.rXU(Nt.b),t.rXU(b.c$),t.rXU(Ke),t.rXU(ve.o3),t.rXU(ve.ce))};static#t=this.\u0275cmp=t.VBU({type:it,selectors:[["lv-register"]],viewQuery:function(Ft,Rt){if(1&Ft&&t.GBs(Ct.c,5),2&Ft){let qn;t.mGM(qn=t.lsd())&&(Rt.captcha=qn.first)}},standalone:!0,features:[t.aNF],decls:76,vars:73,consts:[["captcha",""],[3,"close","padding"],[3,"padding"],[4,"ngFor","ngForOf"],[3,"isSelected","isMostPopular","durationDisplayText","priceDisplayText","durationPerPriceDisplayText"],[1,"register-form",3,"formGroup"],[1,"register-form__email-fields"],["appearance","fill",3,"hideRequiredMarker"],["matInput","","type","email","name","email","formControlName","email"],["matInput","","type","email","name","repeatEmail","formControlName","repeatEmail","onpaste","return false;","ondrop","return false;","autocomplete","off"],[1,"register-form__password-fields"],["matInput","","formControlName","password","type","password","name","password"],["matInput","","formControlName","repeatPassword","type","password","name","repeatPassword","onpaste","return false;","ondrop","return false;","autocomplete","off"],[1,"register-form__confirm-checkbox"],[3,"click"],["href","javascript:void(0);",3,"click","innerHTML"],[4,"ngIf"],[1,"input-field","lv-center-x"],[3,"captchaResponse"],[1,"register-button-wrapper"],["type","secondary","id","backButton",1,"register-button-wrapper__lib-button",3,"click","rounded","isfullWidth"],[1,"register-button-wrapper__button"],["type","primary",1,"register-button-wrapper__lib-button",3,"click","rounded","isfullWidth","disabled"],[3,"close","rounded","type"],[1,"alert-center-text",3,"innerHTML"]],template:function(Ft,Rt){if(1&Ft){const qn=t.RV6();t.j41(0,"lv-lib-popover")(1,"lv-lib-popover-header",1),t.bIt("close",function(){return t.eBV(qn),t.Njj(Rt.closeDialog())}),t.j41(2,"h2"),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"lv-lib-popover-body",2),t.DNE(6,Rn,4,6,"div",3),t.nrm(7,"lv-membership-price-plan",4),t.j41(8,"form",5)(9,"div",6)(10,"mat-form-field",7)(11,"mat-label"),t.EFF(12),t.nI1(13,"translate"),t.k0s(),t.nrm(14,"input",8),t.j41(15,"mat-error"),t.EFF(16),t.nI1(17,"translate"),t.k0s()(),t.j41(18,"mat-form-field",7)(19,"mat-label"),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.nrm(22,"input",9),t.j41(23,"mat-error"),t.EFF(24),t.nI1(25,"translate"),t.k0s()()(),t.j41(26,"div",10)(27,"mat-form-field",7)(28,"mat-label"),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.nrm(31,"input",11),t.j41(32,"mat-error"),t.EFF(33),t.nI1(34,"translate"),t.k0s()(),t.j41(35,"mat-form-field",7)(36,"mat-label"),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.nrm(39,"input",12),t.j41(40,"mat-error"),t.EFF(41),t.nI1(42,"translate"),t.k0s()()(),t.j41(43,"div",13)(44,"lv-lib-checkbox",14),t.bIt("click",function(nr){return t.eBV(qn),t.Njj(Rt.checkboxChange(nr))}),t.EFF(45),t.nI1(46,"translate"),t.j41(47,"a",15),t.nI1(48,"translate"),t.bIt("click",function(){return t.eBV(qn),t.Njj(Rt.openGtcDialog())}),t.k0s(),t.EFF(49),t.nI1(50,"translate"),t.j41(51,"a",15),t.nI1(52,"translate"),t.bIt("click",function(){return t.eBV(qn),t.Njj(Rt.openWithdrawDialog())}),t.k0s(),t.EFF(53),t.nI1(54,"translate"),t.j41(55,"a",15),t.nI1(56,"translate"),t.bIt("click",function(){return t.eBV(qn),t.Njj(Rt.openPrivacyDialog())}),t.k0s(),t.EFF(57),t.nI1(58,"translate"),t.k0s(),t.DNE(59,ii,3,3,"mat-error",16),t.k0s()(),t.j41(60,"div",17)(61,"lv-captcha",18,0),t.bIt("captchaResponse",function(nr){return t.eBV(qn),t.Njj(Rt.setCaptchaInput(nr))}),t.k0s()(),t.j41(63,"div",19)(64,"lv-lib-button",20),t.bIt("click",function(){return t.eBV(qn),t.Njj(Rt.back())}),t.j41(65,"div",21)(66,"mat-icon"),t.EFF(67,"arrow_back"),t.k0s(),t.j41(68,"span"),t.EFF(69),t.nI1(70,"translate"),t.k0s()()(),t.j41(71,"lv-lib-button",22),t.bIt("click",function(){return t.eBV(qn),t.Njj(Rt.register())}),t.j41(72,"div",21)(73,"span"),t.EFF(74),t.nI1(75,"translate"),t.k0s()()()()()()}2&Ft&&(t.R7$(),t.Y8G("padding",!0),t.R7$(2),t.JRh(t.bMT(4,37,"registration.headline")),t.R7$(2),t.Y8G("padding",!0),t.R7$(),t.Y8G("ngForOf",Rt.errorMessages),t.R7$(),t.Y8G("isSelected",!0)("isMostPopular",Rt.memberShipPlan.mostPopular)("durationDisplayText",Rt.memberShipPlan.durationDisplayText)("priceDisplayText",Rt.memberShipPlan.priceDisplayText)("durationPerPriceDisplayText",Rt.memberShipPlan.durationPerPriceDisplayText),t.R7$(),t.Y8G("formGroup",Rt.registerForm),t.R7$(2),t.Y8G("hideRequiredMarker",!0),t.R7$(2),t.JRh(t.bMT(13,39,"registration.email")),t.R7$(4),t.JRh(t.bMT(17,41,"error-msg.email.invalid")),t.R7$(2),t.Y8G("hideRequiredMarker",!0),t.R7$(2),t.JRh(t.bMT(21,43,"registration.repeat-email")),t.R7$(4),t.JRh(t.bMT(25,45,"error-msg.email.not_matched")),t.R7$(3),t.Y8G("hideRequiredMarker",!0),t.R7$(2),t.JRh(t.bMT(30,47,"registration.password")),t.R7$(4),t.JRh(t.bMT(34,49,"error-msg.psw.character_length")),t.R7$(2),t.Y8G("hideRequiredMarker",!0),t.R7$(2),t.JRh(t.bMT(38,51,"registration.repeat-password")),t.R7$(4),t.JRh(t.bMT(42,53,"error-msg.psw.not_matched")),t.R7$(4),t.SpI(" ",t.bMT(46,55,"registration.checkbox.part1")," "),t.R7$(2),t.Y8G("innerHTML",t.bMT(48,57,"registration.checkbox.part2"),t.npT),t.R7$(2),t.SpI("",t.bMT(50,59,"registration.checkbox.part3")," "),t.R7$(2),t.Y8G("innerHTML",t.bMT(52,61,"registration.checkbox.part4"),t.npT),t.R7$(2),t.SpI(" ",t.bMT(54,63,"registration.checkbox.part5")," "),t.R7$(2),t.Y8G("innerHTML",t.bMT(56,65,"registration.checkbox.part6"),t.npT),t.R7$(2),t.SpI(" ",t.bMT(58,67,"registration.checkbox.part7")," "),t.R7$(2),t.Y8G("ngIf",!Rt.isCheckboxChecked&&Rt.checkboxTouched),t.R7$(5),t.Y8G("rounded",!0)("isfullWidth",!1),t.R7$(5),t.SpI(" ",t.bMT(70,69,"registration.back")," "),t.R7$(2),t.Y8G("rounded",!0)("isfullWidth",!1)("disabled",Rt.registerForm.invalid||Rt.hasCheqError||Rt.disableRegister()),t.R7$(3),t.SpI(" ",t.bMT(75,71,"registration.register")," "))},dependencies:[ve.qX,ve.SD,ve.$0,me.pM,$.v,an,Se.YN,Se.qT,Se.me,Se.BC,Se.cb,Se.X1,Se.j4,Se.JD,tt.rl,tt.nJ,xe.fg,tt.TL,ve._f,me.bT,Ct.c,ve.Xb,je.An,pe,b.h,b.D9],styles:["lv-register .input-field{width:100%;margin-bottom:1.5rem}lv-register .container-alert{margin-bottom:1rem}lv-register .alert-center-text{align-content:center}lv-register .alert-center-text a,lv-register .alert-center-text .invalid-user-click{text-decoration:underline!important;color:#fff;cursor:pointer}lv-register .register-form{margin-top:1.5rem;margin-bottom:11px;display:flex;flex-direction:column;gap:10.5px}lv-register .register-form>div{display:flex;gap:1rem}@media (max-width: 768px){lv-register .register-form>div{flex-direction:column}}lv-register .register-form>div>mat-form-field{width:100%;font-size:16px;font-weight:300}lv-register .register-form>div>mat-form-field .mat-form-field-label{color:#000!important}lv-register .register-form__confirm-checkbox{display:flex;gap:0!important;flex-direction:column}lv-register .register-form__confirm-checkbox mat-error{font-size:75%;font-weight:300;padding-left:10px}lv-register .register-form__confirm-checkbox .checkbox-container{display:flex;align-items:center;gap:.5rem}lv-register .register-form__confirm-checkbox .checkbox-container__box{display:block!important}lv-register .register-form__confirm-checkbox .checkbox-container__label{margin-top:0!important;margin-bottom:.4rem!important;font-size:16px;font-weight:300}lv-register .register-form__confirm-checkbox .checkbox-container__label a{color:#ff8114}lv-register .register-button-wrapper{display:flex;justify-content:space-between;width:100%;gap:1rem}lv-register .register-button-wrapper__lib-button{max-width:256px;width:100%}lv-register .register-button-wrapper__button{display:flex;align-items:center;gap:.5rem}@media (min-width: 768px){lv-register .register-button-wrapper button{width:100%!important}}\n"],encapsulation:2})}return it})();const ot=it=>({target:it}),Le=it=>({price:it});function at(it,si){if(1&it){const we=t.RV6();t.j41(0,"lv-lib-button",7),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.dialogRef.close("openChargebee"))}),t.j41(1,"span",8),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}if(2&it){const we=t.XpG();t.Y8G("rounded",!0),t.R7$(2),t.SpI("",t.i5U(3,2,"premium-popup.close-dialog-btn-text",t.eq3(5,Le,we.data.selectedPlan))," ")}}function _t(it,si){if(1&it){const we=t.RV6();t.j41(0,"lv-lib-button",7),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.dialogRef.close("openRegister"))}),t.j41(1,"span",8),t.EFF(2),t.nI1(3,"translate"),t.k0s()()}if(2&it){const we=t.XpG();t.Y8G("rounded",!0),t.R7$(2),t.SpI("",t.i5U(3,2,"premium-popup.close-dialog-btn-text",t.eq3(5,Le,we.data.selectedPlan))," ")}}let rn=(()=>{class it{constructor(we,Ft){this.dialogRef=we,this.data=Ft,this.auth=(0,t.WQX)(Oe.u),this.isExpired=this.auth.isExpired}static#e=this.\u0275fac=function(Ft){return new(Ft||it)(t.rXU(ve.ce),t.rXU(ve.Qs))};static#t=this.\u0275cmp=t.VBU({type:it,selectors:[["lv-close-paywall-dialog"]],standalone:!0,features:[t.aNF],decls:14,vars:14,consts:[[1,"paywall__wrapper"],[3,"close"],[3,"padding"],[3,"innerHTML"],[1,"close-dialog-action-btn"],["type","text","mat-button","",3,"click"],[1,"full-width",3,"rounded"],[1,"full-width",3,"click","rounded"],["lv-lib-ellipsis","1"]],template:function(Ft,Rt){1&Ft&&(t.j41(0,"div",0)(1,"lv-lib-popover-header",1),t.bIt("close",function(){return Rt.dialogRef.close(!0)}),t.j41(2,"h2"),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"lv-lib-popover-body",2),t.nrm(6,"p",3),t.nI1(7,"translate"),t.j41(8,"div",4)(9,"lv-lib-button",5),t.bIt("click",function(){return Rt.dialogRef.close("closePaywallDialog")}),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.DNE(12,at,4,7,"lv-lib-button",6)(13,_t,4,7),t.k0s()()()),2&Ft&&(t.R7$(3),t.JRh(t.bMT(4,5,"profile-page.custom-ad-dialog-btn-close")),t.R7$(2),t.Y8G("padding",!0),t.R7$(),t.Y8G("innerHTML",t.i5U(7,7,"premium-popup.close-dialog-paragraph",t.eq3(12,ot,null==Rt.data?null:Rt.data.target)),t.npT),t.R7$(4),t.SpI(" ",t.bMT(11,10,"button.close")," "),t.R7$(2),t.vxM(12,Rt.isExpired?12:13))},dependencies:[ve.SD,ve.$0,ve.Xb,b.h,b.D9],styles:[".paywall__wrapper[_ngcontent-%COMP%]{border-radius:24px;background-color:#fff;overflow:hidden;width:100vw;max-width:400px}@media (max-width: 768px){.paywall__wrapper[_ngcontent-%COMP%]{max-width:100vw;border-bottom-right-radius:0;border-bottom-left-radius:0}}.paywall__wrapper[_ngcontent-%COMP%] .close-dialog-action-btn[_ngcontent-%COMP%]{padding-top:1.5rem;display:flex;gap:1rem;justify-content:flex-end;align-items:center}.paywall__wrapper[_ngcontent-%COMP%] .close-dialog-action-btn[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{min-width:150px}"]})}return it})();var Hn=u(4630),Xn=u(2211);function Bt(it,si){if(1&it){const we=t.RV6();t.j41(0,"div",4),t.nrm(1,"lv-membership-price-plan",8),t.j41(2,"div",9)(3,"p",10),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG(2);return t.Njj(Rt.currentStep.set(Rt.dialogSteps.allPlans))}),t.EFF(4),t.nI1(5,"translate"),t.k0s()()()}if(2&it){let we,Ft,Rt;const qn=t.XpG(2);t.R7$(),t.Y8G("isMostPopular",!1)("isSelected",!0)("durationDisplayText",null!==(we=null==(we=qn.lastPlan()[0])?null:we.durationDisplayText)&&void 0!==we?we:"")("priceDisplayText",null!==(Ft=null==(Ft=qn.lastPlan()[0])?null:Ft.priceDisplayText)&&void 0!==Ft?Ft:"")("durationPerPriceDisplayText",null!==(Rt=null==(Rt=qn.lastPlan()[0])?null:Rt.durationPerPriceDisplayText)&&void 0!==Rt?Rt:"")("showSkeleton",qn.showSkeleton())("isExpired",qn.isExpired())("bigPlan",!0),t.R7$(3),t.JRh(t.bMT(5,9,"expired-dialog.change-plan"))}}function ce(it,si){if(1&it){const we=t.RV6();t.j41(0,"div",11)(1,"lv-membership-price-plan",12),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG(2);return t.Njj(Rt.setSelectedPlan(Rt.visiblePlans()[Rt.YEAR_INDEX]))}),t.k0s(),t.j41(2,"lv-membership-price-plan",12),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG(2);return t.Njj(Rt.setSelectedPlan(Rt.visiblePlans()[Rt.MONTH_INDEX]))}),t.k0s()()}if(2&it){let we,Ft,Rt,qn,ei,nr,Mr,lr,Dr,cr;const vi=t.XpG(2);t.R7$(),t.Y8G("isMostPopular",(null==(we=vi.visiblePlans()[vi.YEAR_INDEX])?null:we.chargebee_identifier)===(null==(we=vi.lastPlan()[0])?null:we.chargebee_identifier))("isSelected",vi.selectedPlan()===(null==(Ft=vi.visiblePlans()[vi.YEAR_INDEX])?null:Ft.chargebee_identifier))("durationDisplayText",null!==(Rt=null==(Rt=vi.visiblePlans()[vi.YEAR_INDEX])?null:Rt.durationDisplayText)&&void 0!==Rt?Rt:"")("priceDisplayText",null!==(qn=null==(qn=vi.visiblePlans()[vi.YEAR_INDEX])?null:qn.priceDisplayText)&&void 0!==qn?qn:"")("durationPerPriceDisplayText",null!==(ei=null==(ei=vi.visiblePlans()[vi.YEAR_INDEX])?null:ei.durationPerPriceDisplayText)&&void 0!==ei?ei:"")("showSkeleton",vi.showSkeleton())("isExpired",vi.isExpired()),t.R7$(),t.Y8G("isMostPopular",(null==(nr=vi.visiblePlans()[vi.MONTH_INDEX])?null:nr.chargebee_identifier)===(null==(nr=vi.lastPlan()[0])?null:nr.chargebee_identifier))("isSelected",vi.selectedPlan()===(null==(Mr=vi.visiblePlans()[vi.MONTH_INDEX])?null:Mr.chargebee_identifier))("durationDisplayText",null!==(lr=null==(lr=vi.visiblePlans()[vi.MONTH_INDEX])?null:lr.durationDisplayText)&&void 0!==lr?lr:"")("priceDisplayText",null!==(Dr=null==(Dr=vi.visiblePlans()[vi.MONTH_INDEX])?null:Dr.priceDisplayText)&&void 0!==Dr?Dr:"")("durationPerPriceDisplayText",null!==(cr=null==(cr=vi.visiblePlans()[vi.MONTH_INDEX])?null:cr.durationPerPriceDisplayText)&&void 0!==cr?cr:"")("showSkeleton",vi.showSkeleton())("isExpired",vi.isExpired())}}function Ye(it,si){if(1&it){const we=t.RV6();t.j41(0,"div",0)(1,"div",1)(2,"mat-icon"),t.EFF(3,"timer_off"),t.k0s(),t.nrm(4,"span",2),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",1),t.nrm(7,"lv-lib-icon",3)(8,"span",2),t.nI1(9,"translate"),t.k0s(),t.j41(10,"div",1)(11,"mat-icon"),t.EFF(12,"play_disabled"),t.k0s(),t.nrm(13,"span",2),t.nI1(14,"translate"),t.k0s(),t.j41(15,"div",1)(16,"mat-icon"),t.EFF(17,"all_inclusive"),t.k0s(),t.nrm(18,"span",2),t.nI1(19,"translate"),t.k0s()(),t.DNE(20,Bt,6,11,"div",4)(21,ce,3,14),t.j41(22,"div",5)(23,"lv-lib-button",6),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.currentStep.set(Rt.dialogSteps.confirmPlan))}),t.j41(24,"div",7)(25,"span"),t.EFF(26),t.nI1(27,"translate"),t.k0s()()()()}if(2&it){const we=t.XpG();t.R7$(4),t.Y8G("innerHTML",t.bMT(5,13,"premium-popup.benefits.skip-waiting"),t.npT),t.R7$(3),t.Y8G("size","sm")("color","primary")("iconName","premium"),t.R7$(),t.Y8G("innerHTML",t.bMT(9,15,"premium-popup.benefits.premium-status"),t.npT),t.R7$(5),t.Y8G("innerHTML",t.bMT(14,17,"premium-popup.benefits.no-ads"),t.npT),t.R7$(5),t.Y8G("innerHTML",t.bMT(19,19,"premium-popup.benefits.unlimited-access-new"),t.npT),t.R7$(2),t.vxM(20,we.currentStep()===we.dialogSteps.lastPlan?20:we.currentStep()===we.dialogSteps.allPlans?21:-1),t.R7$(3),t.Y8G("rounded",!0)("isfullWidth",!0)("disabled",we.showSkeleton())("type","success"),t.R7$(3),t.SpI(" ",t.bMT(27,21,"membership-plan-selection.reactivate")," ")}}function Je(it,si){if(1&it){const we=t.RV6();t.j41(0,"div",13),t.nrm(1,"p",2),t.nI1(2,"translate"),t.k0s(),t.j41(3,"div",5)(4,"lv-lib-button",6),t.bIt("click",function(Rt){t.eBV(we);const qn=t.XpG();return t.Njj(qn.changeSubscription(Rt))}),t.j41(5,"div",7)(6,"span"),t.EFF(7),t.nI1(8,"translate"),t.k0s()()()()}if(2&it){const we=t.XpG();t.R7$(),t.Y8G("innerHTML",t.bMT(2,6,"expired-dialog.welcome-back"),t.npT),t.R7$(3),t.Y8G("rounded",!0)("isfullWidth",!0)("disabled",we.showSkeleton())("type","success"),t.R7$(3),t.SpI(" ",t.bMT(8,8,"membership-plan-selection.reactivate")," ")}}var xt=function(it){return it.lastPlan="lastPlan",it.allPlans="allPlans",it.confirmPlan="confirmPlan",it}(xt||{});let Kt=(()=>{class it{constructor(){this.data=t.hFB.required(),this.visiblePlans=t.hFB.required(),this.YEAR_INDEX=1,this.MONTH_INDEX=2,this.selectedPlan=t.hFB.required(),this.showSkeleton=(0,t.hFB)(!0),this.isExpired=t.hFB.required(),this.dialogSteps=xt,this.currentStep=(0,t.vPA)(xt.lastPlan),this.lastPlan=(0,t.vPA)([]),this.setPlan=(0,t.CGW)(),this.changePlan=(0,t.CGW)(),(0,t.QZP)(()=>{let we;we=this.data().lastSubscription?.startsWith("linkvertise-premium-2d-|-1-month")?this.visiblePlans().filter(Ft=>Ft&&Ft.chargebee_identifier?.startsWith("linkvertise-premium-|-1-month")):this.visiblePlans().filter(Ft=>Ft&&Ft.chargebee_identifier===this.data().lastSubscription),this.lastPlan.set(we)},{allowSignalWrites:!0})}setSelectedPlan(we){this.setPlan.emit(we)}changeSubscription(we){this.changePlan.emit(we)}static#e=this.\u0275fac=function(Ft){return new(Ft||it)};static#t=this.\u0275cmp=t.VBU({type:it,selectors:[["lv-expired-dialog-content"]],inputs:{data:[t.Mj6.SignalBased,"data"],visiblePlans:[t.Mj6.SignalBased,"visiblePlans"],selectedPlan:[t.Mj6.SignalBased,"selectedPlan"],showSkeleton:[t.Mj6.SignalBased,"showSkeleton"],isExpired:[t.Mj6.SignalBased,"isExpired"]},outputs:{setPlan:"setPlan",changePlan:"changePlan"},standalone:!0,features:[t.aNF],decls:2,vars:1,consts:[[1,"benefits-wrapper"],[1,"benefit"],[3,"innerHTML"],[3,"size","color","iconName"],[1,"last-plan-wrapper"],[1,"register-btn-wrapper"],[3,"click","rounded","isfullWidth","disabled","type"],[1,"register-btn-content"],[3,"isMostPopular","isSelected","durationDisplayText","priceDisplayText","durationPerPriceDisplayText","showSkeleton","isExpired","bigPlan"],[1,"change-wrapper"],[1,"change-plan",3,"click"],[1,"plans-wrapper"],[3,"click","isMostPopular","isSelected","durationDisplayText","priceDisplayText","durationPerPriceDisplayText","showSkeleton","isExpired"],[1,"text-wrapper"]],template:function(Ft,Rt){1&Ft&&t.DNE(0,Ye,28,23)(1,Je,9,10),2&Ft&&t.vxM(0,Rt.currentStep()!==Rt.dialogSteps.confirmPlan?0:1)},dependencies:[me.MD,an,b.h,b.D9,ve.Xb,je.An,Xn.o],styles:[".benefits-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1rem;margin:1rem 0 10px}.benefits-wrapper[_ngcontent-%COMP%] .benefit[_ngcontent-%COMP%]{display:flex;align-items:center}.benefits-wrapper[_ngcontent-%COMP%] .benefit[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:1rem;display:flex;align-items:center;justify-content:flex-start;color:#ff8114}.benefits-wrapper[_ngcontent-%COMP%] .benefit[_ngcontent-%COMP%] lv-lib-icon[_ngcontent-%COMP%]{margin:0 .5rem 0 0}.last-plan-wrapper[_ngcontent-%COMP%]{min-width:100%;display:flex;flex-direction:column;gap:1rem;padding:1rem 0}.last-plan-wrapper[_ngcontent-%COMP%] .change-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;padding-bottom:1rem;cursor:pointer}.last-plan-wrapper[_ngcontent-%COMP%] .change-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-decoration:underline}.plans-wrapper[_ngcontent-%COMP%]{min-height:237.5px;min-width:100%;display:flex;flex-direction:column;justify-content:space-evenly;gap:1rem;padding:1rem 0}.register-btn-wrapper[_ngcontent-%COMP%]{padding-bottom:1.5rem}.text-wrapper[_ngcontent-%COMP%]{padding:1rem 0}.text-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-weight:500}"]})}return it})();var pt=u(188);const jt=()=>({width:"200px",height:"31px",borderRadius:"0px",backgroundColor:"#dddbdd"}),nt=(it,si)=>({"variant-register-btn-wrapper":it,"variant-register-btn-wrapper-expired":si});function mt(it,si){1&it&&(t.j41(0,"h2"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&it&&(t.R7$(),t.JRh(t.bMT(2,1,"premium-popup.dialog-title")))}function At(it,si){1&it&&(t.j41(0,"h2"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&it&&(t.R7$(),t.JRh(t.bMT(2,1,"premium-popup.dialog-reactivate-title")))}function Yt(it,si){if(1&it){const we=t.RV6();t.j41(0,"lv-lib-popover-header",7),t.bIt("close",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.closeDialog())}),t.DNE(1,mt,3,3,"h2")(2,At,3,3),t.k0s()}if(2&it){const we=t.XpG();t.R7$(),t.vxM(1,we.isExpired?2:1)}}function jn(it,si){1&it&&(t.j41(0,"h2"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&it&&(t.R7$(),t.JRh(t.bMT(2,1,"premium-popup.variant-dialog-title")))}function En(it,si){1&it&&(t.j41(0,"h2"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&it&&(t.R7$(),t.JRh(t.bMT(2,1,"premium-popup.dialog-reactivate-title")))}function $n(it,si){1&it&&t.nrm(0,"ngx-skeleton-loader",9),2&it&&t.Y8G("theme",t.lJ4(1,jt))}function ki(it,si){1&it&&t.eu8(0)}function Qn(it,si){if(1&it&&(t.j41(0,"div",10),t.DNE(1,ki,1,0,"ng-container",11),t.k0s()),2&it){t.XpG(2);const we=t.sdS(12);t.R7$(),t.Y8G("ngTemplateOutlet",we)}}function Jt(it,si){if(1&it&&(t.j41(0,"lv-lib-popover-header",2)(1,"div",8),t.DNE(2,jn,3,3,"h2")(3,En,3,3)(4,$n,1,2,"ngx-skeleton-loader",9),t.nI1(5,"async"),t.nI1(6,"async"),t.DNE(7,Qn,2,1),t.k0s()()),2&it){const we=t.XpG();t.Y8G("showCloseIcon",!1),t.R7$(2),t.vxM(2,we.isExpired?3:2),t.R7$(2),t.vxM(4,we.showSkeleton&&t.bMT(5,3,we.hasCountdown$)&&!t.bMT(6,5,we.completed$)?4:7)}}function wi(it,si){1&it&&t.eu8(0)}function Qt(it,si){if(1&it){const we=t.RV6();t.j41(0,"lv-lib-button",12),t.nI1(1,"async"),t.nI1(2,"async"),t.nI1(3,"async"),t.nI1(4,"async"),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG(2);return t.Njj(Rt.openTarget())}),t.DNE(5,wi,1,0,"ng-container",11),t.k0s(),t.j41(6,"div",13)(7,"div",14)(8,"div",15)(9,"span"),t.EFF(10,"OR"),t.k0s()()()()}if(2&it){const we=t.XpG(2),Ft=t.sdS(10);t.Y8G("isfullWidth",!0)("rounded",!0)("type",!t.bMT(1,5,we.hasCountdown$)&&t.bMT(2,7,we.completed$)?"secondary":"primary")("disabled",t.bMT(3,9,we.hasCountdown$)&&!t.bMT(4,11,we.completed$)),t.R7$(5),t.Y8G("ngTemplateOutlet",Ft)}}function Zt(it,si){if(1&it&&(t.j41(0,"div"),t.DNE(1,Qt,11,13),t.k0s()),2&it){const we=t.XpG();t.R7$(),t.vxM(1,we.data.hasCountdown?1:-1)}}function He(it,si){if(1&it){const we=t.RV6();t.j41(0,"lv-lib-alerts",16),t.bIt("close",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.errorMessages.splice(0,1))}),t.nrm(1,"div",17),t.k0s()}if(2&it){const we=t.XpG();t.Y8G("rounded",!0)("type","NEGATIVE"),t.R7$(),t.Y8G("innerHTML",we.errorMessages[0],t.npT)}}function Ee(it,si){if(1&it){const we=t.RV6();t.j41(0,"lv-expired-dialog-content",18),t.bIt("setPlan",function(Rt){t.eBV(we);const qn=t.XpG();return t.Njj(qn.setSelectedPlan(Rt))})("changePlan",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.changeSubscription())}),t.k0s()}if(2&it){const we=t.XpG();t.Y8G("data",we.data)("visiblePlans",we.visiblePlans)("selectedPlan",we.selectedPlan)("isExpired",we.isExpired)("showSkeleton",we.showSkeleton)}}function q(it,si){if(1&it){const we=t.RV6();t.j41(0,"div",28)(1,"p")(2,"span"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"span",32),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG(2);return t.Njj(Rt.openLogin())}),t.EFF(6," Login "),t.k0s()()()}2&it&&(t.R7$(3),t.SpI("",t.bMT(4,1,"premium-popup.to-login-button")," "))}function J(it,si){1&it&&(t.j41(0,"div",29)(1,"mat-icon"),t.EFF(2,"verified_user"),t.k0s(),t.j41(3,"p")(4,"span"),t.EFF(5),t.nI1(6,"translate"),t.k0s()()()),2&it&&(t.R7$(5),t.SpI("",t.bMT(6,1,"premium-popup.30-day-guarantee")," "))}function Ie(it,si){if(1&it){const we=t.RV6();t.j41(0,"lv-lib-button",33),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG(2);return t.Njj(Rt.openRegister())}),t.j41(1,"div",34)(2,"mat-icon"),t.EFF(3,"bolt"),t.k0s(),t.j41(4,"span"),t.EFF(5),t.nI1(6,"translate"),t.k0s()()()}if(2&it){const we=t.XpG(2);t.Y8G("rounded",!0)("isfullWidth",!0)("disabled",we.showSkeleton),t.R7$(5),t.SpI(" ",t.bMT(6,4,"premium-popup.register-btn")," ")}}function rt(it,si){1&it&&(t.j41(0,"div",29)(1,"p")(2,"span"),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&it&&(t.R7$(3),t.SpI("",t.bMT(4,1,"premium-popup.30-day-guarantee")," "))}function Xt(it,si){if(1&it){const we=t.RV6();t.j41(0,"div",19)(1,"div",20)(2,"mat-icon"),t.EFF(3,"timer_off"),t.k0s(),t.nrm(4,"span",21),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",20),t.qSk(),t.j41(7,"svg",22),t.nrm(8,"path",23)(9,"path",24),t.k0s(),t.joV(),t.nrm(10,"span",21),t.nI1(11,"translate"),t.k0s(),t.j41(12,"div",20)(13,"mat-icon"),t.EFF(14,"play_disabled"),t.k0s(),t.nrm(15,"span",21),t.nI1(16,"translate"),t.k0s(),t.j41(17,"div",20)(18,"mat-icon"),t.EFF(19,"all_inclusive"),t.k0s(),t.nrm(20,"span",21),t.nI1(21,"translate"),t.k0s()(),t.j41(22,"div",25)(23,"lv-membership-price-plan",26),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.setSelectedPlan(Rt.visiblePlans[Rt.TWO_DAYS_INDEX],!0))}),t.k0s(),t.j41(24,"lv-membership-price-plan",27),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.setSelectedPlan(Rt.visiblePlans[Rt.YEAR_INDEX]))}),t.k0s(),t.j41(25,"lv-membership-price-plan",27),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG();return t.Njj(Rt.setSelectedPlan(Rt.visiblePlans[Rt.MONTH_INDEX]))}),t.k0s()(),t.DNE(26,q,7,3,"div",28)(27,J,7,3,"div",29),t.j41(28,"div",30),t.DNE(29,Ie,7,6,"lv-lib-button",31),t.k0s(),t.DNE(30,rt,5,3,"div",29)}if(2&it){const we=t.XpG();t.R7$(4),t.Y8G("innerHTML",t.bMT(5,29,"premium-popup.benefits.skip-waiting"),t.npT),t.R7$(6),t.Y8G("innerHTML",t.bMT(11,31,"premium-popup.benefits.premium-status"),t.npT),t.R7$(5),t.Y8G("innerHTML",t.bMT(16,33,"premium-popup.benefits.no-ads"),t.npT),t.R7$(5),t.Y8G("innerHTML",t.bMT(21,35,"premium-popup.benefits.unlimited-access-new"),t.npT),t.R7$(3),t.Y8G("isMostPopular",!0)("isSelected",!!we.showSkeleton||we.selectedPlan===(null==we.visiblePlans[we.TWO_DAYS_INDEX]?null:we.visiblePlans[we.TWO_DAYS_INDEX].chargebee_identifier))("durationDisplayText",null==we.visiblePlans[we.TWO_DAYS_INDEX]?null:we.visiblePlans[we.TWO_DAYS_INDEX].durationDisplayText)("priceDisplayText",null==we.visiblePlans[we.TWO_DAYS_INDEX]?null:we.visiblePlans[we.TWO_DAYS_INDEX].priceDisplayText)("durationPerPriceDisplayText",null==we.visiblePlans[we.TWO_DAYS_INDEX]?null:we.visiblePlans[we.TWO_DAYS_INDEX].durationPerPriceDisplayText)("showSkeleton",we.showSkeleton),t.R7$(),t.Y8G("isMostPopular",(null==we.visiblePlans[we.YEAR_INDEX]?null:we.visiblePlans[we.YEAR_INDEX].chargebee_identifier)===we.data.lastSubscription)("isSelected",we.selectedPlan===(null==we.visiblePlans[we.YEAR_INDEX]?null:we.visiblePlans[we.YEAR_INDEX].chargebee_identifier))("durationDisplayText",null==we.visiblePlans[we.YEAR_INDEX]?null:we.visiblePlans[we.YEAR_INDEX].durationDisplayText)("priceDisplayText",null==we.visiblePlans[we.YEAR_INDEX]?null:we.visiblePlans[we.YEAR_INDEX].priceDisplayText)("durationPerPriceDisplayText",null==we.visiblePlans[we.YEAR_INDEX]?null:we.visiblePlans[we.YEAR_INDEX].durationPerPriceDisplayText)("showSkeleton",we.showSkeleton)("isExpired",we.isExpired),t.R7$(),t.Y8G("isMostPopular",(null==we.visiblePlans[we.MONTH_INDEX]?null:we.visiblePlans[we.MONTH_INDEX].chargebee_identifier)===we.data.lastSubscription)("isSelected",we.selectedPlan===(null==we.visiblePlans[we.MONTH_INDEX]?null:we.visiblePlans[we.MONTH_INDEX].chargebee_identifier))("durationDisplayText",null==we.visiblePlans[we.MONTH_INDEX]?null:we.visiblePlans[we.MONTH_INDEX].durationDisplayText)("priceDisplayText",null==we.visiblePlans[we.MONTH_INDEX]?null:we.visiblePlans[we.MONTH_INDEX].priceDisplayText)("durationPerPriceDisplayText",null==we.visiblePlans[we.MONTH_INDEX]?null:we.visiblePlans[we.MONTH_INDEX].durationPerPriceDisplayText)("showSkeleton",we.showSkeleton)("isExpired",we.isExpired),t.R7$(),t.vxM(26,"testGroupNew"===we.data.variant||we.isLoggedIn()||we.data.hasCountdown?-1:26),t.R7$(),t.vxM(27,"testGroupNew"!==we.data.variant||we.isLoggedIn()?-1:27),t.R7$(),t.Y8G("ngClass",t.l_i(37,nt,"testGroupNew"===we.data.variant,we.isExpired||we.isNoticed)),t.R7$(),t.vxM(29,we.isExpired||we.isNoticed?-1:29),t.R7$(),t.vxM(30,"testGroupNew"===we.data.variant||we.isLoggedIn()?-1:30)}}function yn(it,si){if(1&it&&(t.j41(0,"span",35),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&it){let we;const Ft=t.XpG(2);t.R7$(),t.Lme(" ",t.bMT(2,2,"premium-popup.access-btn.ready-text")," ",null!==(we=null==Ft.data.targetLink?null:Ft.data.targetLink.short_link_title)&&void 0!==we?we:"content"," ")}}function Lt(it,si){1&it&&(t.j41(0,"span",36),t.EFF(1),t.nI1(2,"translate"),t.nrm(3,"div",38),t.k0s()),2&it&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"premium-popup.access-btn.countdown-text")," "))}function Mt(it,si){if(1&it&&(t.j41(0,"div",37)(1,"mat-icon"),t.EFF(2,"access_time"),t.k0s(),t.j41(3,"span"),t.EFF(4),t.nI1(5,"translate"),t.nI1(6,"async"),t.k0s()()),2&it){const we=t.XpG(2);t.R7$(4),t.Lme(" ",t.bMT(5,2,"premium-popup.access-btn.countdown-text")," ",t.bMT(6,4,we.countdownStr$)," ")}}function et(it,si){if(1&it&&(t.DNE(0,yn,3,4,"span",35),t.nI1(1,"async"),t.nI1(2,"async"),t.DNE(3,Lt,4,3,"span",36),t.nI1(4,"async"),t.nI1(5,"async"),t.DNE(6,Mt,7,6,"div",37),t.nI1(7,"async"),t.nI1(8,"async")),2&it){const we=t.XpG();t.vxM(0,!t.bMT(1,3,we.hasCountdown$)&&t.bMT(2,5,we.completed$)?0:-1),t.R7$(3),t.vxM(3,!t.bMT(4,7,we.completed$)&&t.bMT(5,9,we.countdownValueIsLoading$)?3:-1),t.R7$(3),t.vxM(6,t.bMT(7,11,we.countdownValueIsLoading$)||t.bMT(8,13,we.completed$)?-1:6)}}function St(it,si){if(1&it){const we=t.RV6();t.j41(0,"div",39),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG(2);return t.Njj(Rt.openTarget())}),t.j41(1,"span",35),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",40)(5,"mat-icon"),t.EFF(6,"skip_next"),t.k0s()()()}2&it&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"detail-page.free_access")," "))}function mn(it,si){1&it&&(t.j41(0,"span",36)(1,"span"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.EFF(4),t.nI1(5,"translate"),t.nrm(6,"div",38),t.k0s()),2&it&&(t.R7$(2),t.SpI(" ",t.bMT(3,2,"premium-popup.access-btn.free")," "),t.R7$(2),t.SpI(" ",t.bMT(5,4,"premium-popup.access-btn.variant-countdown-text")," "))}function _i(it,si){if(1&it){const we=t.RV6();t.j41(0,"div",39),t.bIt("click",function(){t.eBV(we);const Rt=t.XpG(2);return t.Njj(Rt.closeDialog())}),t.j41(1,"span")(2,"span",41),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.EFF(5),t.nI1(6,"translate"),t.nI1(7,"async"),t.k0s(),t.j41(8,"div",40)(9,"mat-icon"),t.EFF(10,"close"),t.k0s()()()}if(2&it){const we=t.XpG(2);t.R7$(3),t.SpI(" ",t.bMT(4,3,"premium-popup.access-btn.free")," "),t.R7$(2),t.Lme(" ",t.bMT(6,5,"premium-popup.access-btn.variant-countdown-text")," ",t.bMT(7,7,we.countdownStr$)," ")}}function tr(it,si){if(1&it&&(t.DNE(0,St,7,3,"div",37),t.nI1(1,"async"),t.nI1(2,"async"),t.DNE(3,mn,7,6,"span",36),t.nI1(4,"async"),t.nI1(5,"async"),t.DNE(6,_i,11,9,"div",37),t.nI1(7,"async"),t.nI1(8,"async")),2&it){const we=t.XpG();t.vxM(0,!t.bMT(1,3,we.hasCountdown$)&&t.bMT(2,5,we.completed$)?0:-1),t.R7$(3),t.vxM(3,!t.bMT(4,7,we.completed$)&&t.bMT(5,9,we.countdownValueIsLoading$)?3:-1),t.R7$(3),t.vxM(6,t.bMT(7,11,we.countdownValueIsLoading$)||t.bMT(8,13,we.completed$)?-1:6)}}let ir=(()=>{class it{constructor(we,Ft,Rt,qn,ei,nr,Mr,lr,Dr,cr,vi,qr,Ue,st){this.checkoutService=we,this.languageService=Ft,this.countdownService=Rt,this.apiDetailPageService=qn,this.trackingService=ei,this.auth=nr,this.translate=Mr,this.linkService=lr,this.dialogRef=Dr,this.chargebeeService=cr,this.translatePipe=vi,this.apiCheckoutService=qr,this.dialog=Ue,this.data=st,this.countdownStr$=this.countdownService.getCountdownStr(),this.countdownNum$=this.countdownService.getCountdown(),this.hasCountdown$=this.countdownService.getHasCountdown(),this.completed$=this.countdownService.getCompleted(),this.countdownValueIsLoading$=this.countdownService.getCountdownValueIsLoading(),this.targetData$=this.linkService.getTargetData(),this.visiblePlans=[],this.TWO_DAYS_INDEX=0,this.YEAR_INDEX=1,this.MONTH_INDEX=2,this.showPlans=!1,this.showSkeleton=!0,this.subscriptions=new G.yU,this.enableCountDownResume=!0,this.chargeBeeInstance=this.chargebeeService.getInstance(),this.currentStatus=new B.t("DEFAULT"),this.errorMessages=[],this.isExpired=this.auth.isExpired,this.isNoticed=this.auth.isNoticed,this.isDunning=this.auth.isDunning,this.isLoggedIn=(0,t.EWP)(()=>this.auth.isLoggedIn())}ngOnInit(){let we=0;this.countdownEndDate=(new Date).setSeconds((new Date).getSeconds()+this.data.remainingWaitingTime),this.subscriptions.add(this.countdownNum$.subscribe(Ft=>{we=Ft})),this.data.hasCountdown&&this.subscriptions.add(this.hasCountdown$.pipe((0,p.F)()).subscribe(Ft=>{Ft&&this.data.hasLongPaywallDuration&&this.trackingService.trackPaywallOpen(we,this.data.variant)})),this.updateMembershipPlans()}ngOnDestroy(){this.subscriptions.unsubscribe()}closeDialog(we=!1){if(we)this.dialogRef.close({afterOpeningTarget:we});else if("testGroupNew"===this.data.variant){this.enableCountDownResume=!1,this.countdownService.pauseCountdown();const Ft=this.dialog.open(rn,{backdropClickClose:!1,data:{target:this.data.targetLink.short_link_title,selectedPlan:this.selectedPlanPrice}});this.subscriptions.add(Ft.afterClosed().subscribe(Rt=>{"openRegister"===Rt?this.openRegister():"closePaywallDialog"===Rt?this.dialogRef.close():"openChargebee"===Rt&&(this.dialogRef.close(),this.changeSubscription()),this.enableCountDownResume=!0,this.countdownService.resumeCountdown()}))}else this.checkoutService.emitSelectedPlan(null),this.dialogRef.close()}openLogin(){this.dialogRef.close(),this.dialog.open(re.X)}openRegister(){this.dialogRef.close(),this.dialog.open(Cn,{data:{variant:this.data.variant,countdownHasSeen:this.data.hasCountdown,targetLink:{id:this.data.hasCountdown?this.data.targetLink.id:"",short_link_title:this.data.hasCountdown?this.data.targetLink.short_link_title:""}}}).afterClosed().subscribe(Ft=>{"testGroupNew"===this.data.variant&&this.countdownService.resumeCountdown()})}changeSubscription(){this.apiCheckoutService.postCheckoutRenew(this.selectedPlanId).subscribe({next:we=>this.handleAfterPostCheckoutRenew(we)})}handleAfterPostCheckoutRenew(we){if(we.success){const Ft=new Promise(Rt=>{this.checkoutService.update(we?.data?.subscription_token),Rt(we?.data?.hosted_page)});this.chargeBeeInstance.openCheckout({hostedPage:()=>Ft,success:Rt=>{this.trackingService.trackPaywallPurchase(this.data.variant),this.status(Rt),this.checkDialogRef=this.apiCheckoutService.handleChargebeeStatus(this.currentStatus)}})}else"some errors occured!"===we.messages[0]&&(this.translate.get("registration.invalid-user").pipe((0,D.s)(1)).subscribe(Ft=>{this.errorMessages.push(Ft)}),this.dialog.open(Hn.W,{data:{disableClose:!0,lastSubscription:this.data.lastSubscription}}))}status(we){this.apiCheckoutService.fetchCheckoutStatus(we).subscribe(Ft=>{this.currentStatus.next(this.apiCheckoutService.checkChargebeeStatus(Ft,this.globalStatus)),"DEFAULT"!==this.currentStatus.value?this.checkDialogRef.afterClosed().subscribe(Rt=>{"active"===Rt&&window.location.reload(),this.globalStatus=void 0}):setTimeout(()=>{this.globalStatus=Ft.data.state,this.status(we)},12e4)})}openTarget(){let we=!1;this.subscriptions.add(this.completed$.subscribe(Ft=>{we=Ft})),we&&this.closeDialog(!0)}updateMembershipPlans(){this.showSkeleton=!0,this.registerPlanSubscriptionAndHandleResults()}registerPlanSubscriptionAndHandleResults(){this.subscriptions.add(this.checkoutService.getMembershipPlans().pipe((0,j.W)(we=>(0,R.of)([])),(0,E.T)(we=>this.auth.isDunning||this.auth.isExpired||this.auth.isNoticed?we.filter(Ft=>"2days"!==Ft.name):we),(0,ee.M)(we=>{this.visiblePlans=this.getVisiblePlans(we),we.length>0&&(this.auth.isDunning||this.auth.isExpired||this.auth.isNoticed?(this.auth.isExpired||this.auth.isNoticed)&&this.setLastSubscribedPlan():this.setDefaultPlan(),this.showPlans=!0,this.showSkeleton=!1)})).subscribe())}getVisiblePlans(we){if(!we||0===we.length)return[];const Ft=we.map(Rt=>{const qn="year"===Rt.name?Rt.reduced_price_first_year/12:Rt.reduced_price_first_year,[ei,nr]=this.getDurationDisplayTexts(Rt);return{...Rt,mostPopular:!1,reduced_price:qn,durationDisplayText:ei,durationPerPriceDisplayText:nr,priceDisplayText:this.getPriceFormattedForDisplay({...Rt,reduced_price:qn})}});return this.sortMembershipPlans(Ft)}setDefaultPlan(){this.setSelectedPlan(this.visiblePlans?.find(we=>we.chargebee_identifier.startsWith("linkvertise-premium-2d-|-1-month")),!0)}setLastSubscribedPlan(){this.data.lastSubscription?.startsWith("linkvertise-premium-2d-|-1-month")?this.setSelectedPlan(this.visiblePlans?.find(we=>we?.chargebee_identifier?.startsWith("linkvertise-premium-|-1-month")),!0):this.setSelectedPlan(this.visiblePlans?.find(we=>we?.chargebee_identifier===this.data.lastSubscription),!0)}setSelectedPlan(we,Ft=!1){we&&(we.mostPopular=Ft,this.selectedPlan=we.chargebee_identifier,this.checkoutService.emitSelectedPlan(we),this.selectedPlanPrice=we.priceDisplayText,this.selectedPlanId=we.id)}getPriceFormattedForDisplay(we){const{reduced_price:Ft,currency:Rt,locale:qn}=we;return this.languageService.formatCurrencyForLocale(Ft,Rt,qn)}sortMembershipPlans(we){return[we.find(Ft=>"2days"===Ft.name),we.find(Ft=>"year"===Ft.name),we.find(Ft=>"month"===Ft.name)]}getDurationDisplayTexts(we){let Ft,Rt;switch(we.name){case"2days":Rt=`2 ${this.translatePipe.transform("premium-popup.days")}`,Ft=Rt;break;case"year":Rt=this.translatePipe.transform("premium-popup.month"),Ft=`1 ${this.translatePipe.transform("premium-popup.year")}`;break;default:Rt=this.translatePipe.transform("premium-popup.month"),Ft=`1 ${Rt}`}return[Ft,Rt]}onFocus(){if(!this.countdownService.getCompletedValue()&&this.enableCountDownResume){const we=((new Date).getTime()-this.countdownEndDate)/1e3;if(we<0){const Ft=Math.abs(we),Rt=Math.ceil(Ft);this.countdownService.restartCountdown(Rt)}else this.countdownService.stopCountdown()}}static#e=this.\u0275fac=function(Ft){return new(Ft||it)(t.rXU(F),t.rXU(A.g),t.rXU(pt.V),t.rXU(L.u),t.rXU(Nt.b),t.rXU(Oe.u),t.rXU(b.c$),t.rXU(de._),t.rXU(ve.ce),t.rXU(Ke),t.rXU(b.D9),t.rXU(P.q),t.rXU(ve.o3),t.rXU(ve.Qs))};static#t=this.\u0275cmp=t.VBU({type:it,selectors:[["lv-membership-plan-selection"]],hostBindings:function(Ft,Rt){1&Ft&&t.bIt("focus",function(ei){return Rt.onFocus(ei)},!1,t.tSv)},standalone:!0,features:[t.aNF],decls:13,vars:6,consts:[["accessButtonText",""],["variantAccessButtonText",""],[3,"showCloseIcon"],[3,"padding"],[1,"outer-padding"],[3,"rounded","type"],[3,"data","visiblePlans","selectedPlan","isExpired","showSkeleton"],[3,"close"],[1,"variant-header__wrapper"],["appearance","line",3,"theme"],[1,"close-wrapper"],[4,"ngTemplateOutlet"],[3,"click","isfullWidth","rounded","type","disabled"],[1,"or-divider"],[1,"divider-line"],[1,"divider-label"],[3,"close","rounded","type"],[1,"alert-center-text",3,"innerHTML"],[3,"setPlan","changePlan","data","visiblePlans","selectedPlan","isExpired","showSkeleton"],[1,"benefits-wrapper"],[1,"benefit"],[3,"innerHTML"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 16","fill","none"],["d","M5.39992 6.40002L7.99992 1.93335L10.5999 6.40002L14.6666 2.66668L13.1999 10.8667H2.79992L1.33325 2.66668L5.39992 6.40002Z","fill","#FF8114"],["d","M12.5334 13.8C12.9334 13.8 13.2 13.4667 13.2 13.0667V12.3333H2.80005V13.1333C2.80005 13.5333 3.13338 13.8 3.53338 13.8H12.5334Z","fill","#FF8114"],[1,"plan-wrapper"],[3,"click","isMostPopular","isSelected","durationDisplayText","priceDisplayText","durationPerPriceDisplayText","showSkeleton"],[3,"click","isMostPopular","isSelected","durationDisplayText","priceDisplayText","durationPerPriceDisplayText","showSkeleton","isExpired"],[1,"login-text-wrapper"],[1,"verified-user-guarantee"],[1,"register-btn-wrapper",3,"ngClass"],[3,"rounded","isfullWidth","disabled"],[1,"login-link",3,"click"],[3,"click","rounded","isfullWidth","disabled"],[1,"register-btn-content"],["lv-lib-ellipsis","1"],[1,"access-btn-loading-placeholder"],[1,"access-btn-counter-content"],[1,"loader"],[1,"access-btn-counter-content",3,"click"],[1,"close-icon"],[1,"optional-free-wrapper"]],template:function(Ft,Rt){1&Ft&&(t.j41(0,"lv-lib-popover"),t.DNE(1,Yt,3,1,"lv-lib-popover-header")(2,Jt,8,7,"lv-lib-popover-header",2),t.j41(3,"lv-lib-popover-body",3)(4,"div",4),t.DNE(5,Zt,2,1,"div")(6,He,2,3,"lv-lib-alerts",5)(7,Ee,1,5,"lv-expired-dialog-content",6)(8,Xt,31,40),t.k0s()()(),t.DNE(9,et,9,15,"ng-template",null,0,t.C5r)(11,tr,9,15,"ng-template",null,1,t.C5r)),2&Ft&&(t.R7$(),t.vxM(1,"testGroupNew"!==(null==Rt.data?null:Rt.data.variant)?1:-1),t.R7$(),t.vxM(2,"testGroupNew"===(null==Rt.data?null:Rt.data.variant)&&Rt.data.hasCountdown?2:-1),t.R7$(),t.Y8G("padding",!1),t.R7$(2),t.vxM(5,"testGroupNew"!==Rt.data.variant?5:-1),t.R7$(),t.vxM(6,Rt.errorMessages[0]?6:-1),t.R7$(),t.vxM(7,Rt.isExpired||Rt.isNoticed?7:8))},dependencies:[ve.qX,ve.SD,me.T3,ve.$0,ve.Xb,je.An,an,me.YU,me.Jj,b.h,b.D9,$.v,be.Yq,be.Zm,Kt],styles:[".outer-padding[_ngcontent-%COMP%]{padding:0 24px}.variant-header__wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-direction:row;width:100%}.variant-header__wrapper[_ngcontent-%COMP%] .close-wrapper[_ngcontent-%COMP%]{white-space:nowrap;cursor:pointer;display:flex;align-items:center;border-radius:50px;background-color:#f5f5f5;height:2rem;padding:.25rem 0 .25rem .75rem;gap:.5rem}@media (max-width: 768px){.variant-header__wrapper[_ngcontent-%COMP%] .close-wrapper[_ngcontent-%COMP%] .optional-free-wrapper[_ngcontent-%COMP%]{display:none}}.variant-header__wrapper[_ngcontent-%COMP%] .close-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{background-color:#323232;border-radius:50%;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.variant-header__wrapper[_ngcontent-%COMP%] .close-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff}.plan-wrapper[_ngcontent-%COMP%]{min-height:237.5px;min-width:100%;display:flex;flex-direction:column;justify-content:space-evenly;gap:1rem;padding:1rem 0}.caption-text[_ngcontent-%COMP%]{margin-bottom:1rem}.highlighted[_ngcontent-%COMP%]{color:#ff8114}.benefits-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1rem;margin:1rem 0 10px}.benefits-wrapper[_ngcontent-%COMP%] .benefit[_ngcontent-%COMP%]{display:flex;align-items:center}.benefits-wrapper[_ngcontent-%COMP%] .benefit[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:1rem;display:flex;align-items:center;justify-content:flex-start;color:#ff8114}.benefits-wrapper[_ngcontent-%COMP%] .benefit[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin:0 8px 0 0}.or-divider[_ngcontent-%COMP%]{height:40px;display:flex;align-items:center;justify-items:center;margin:12px 0}.or-divider[_ngcontent-%COMP%] .divider-line[_ngcontent-%COMP%]{width:100%;height:1px;display:flex;border:1px solid #dbdbdb;align-items:center;justify-content:center}.or-divider[_ngcontent-%COMP%] .divider-line[_ngcontent-%COMP%] .divider-label[_ngcontent-%COMP%]{position:relative;width:40px;height:40px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center;box-shadow:0 3px 8px #32323229;font-size:1rem;font-weight:700;font-family:Roboto,sans-serif}.access-btn-counter-content[_ngcontent-%COMP%], .access-btn-ready-content[_ngcontent-%COMP%], .register-btn-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}@media (max-width: 768px){.access-btn-counter-content[_ngcontent-%COMP%], .access-btn-ready-content[_ngcontent-%COMP%], .register-btn-content[_ngcontent-%COMP%]{font-size:1rem!important}}.register-btn-wrapper[_ngcontent-%COMP%]{padding:1rem 0 0}.variant-register-btn-wrapper[_ngcontent-%COMP%]{padding:.5rem 1.5rem 1.5rem;margin:0}.variant-register-btn-wrapper-expired[_ngcontent-%COMP%]{padding:unset;padding-bottom:2rem}.verified-user-guarantee[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin:.25rem 0}.verified-user-guarantee[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#28a745;font-size:1rem;text-align:center;height:1rem}.verified-user-guarantee[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.75rem;font-weight:500;line-height:1.5;margin:0;color:#aaa}.verified-user-guarantee[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .login-link[_ngcontent-%COMP%]{color:#ff8114;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.verified-user-guarantee[_ngcontent-%COMP%]{margin:3px 0 2.25rem 0px}}.login-text-wrapper[_ngcontent-%COMP%]{display:flex;padding:.5rem 0}.login-text-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1rem;font-weight:500;line-height:1.5}.login-text-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .login-link[_ngcontent-%COMP%]{color:#ff8114;text-decoration:underline;cursor:pointer}.access-btn-loading-placeholder[_ngcontent-%COMP%]{display:flex;gap:10px}.access-btn-loading-placeholder[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{width:20px;aspect-ratio:4;background:radial-gradient(circle closest-side,#f5f5f5 68%,#0000) 0/33.3333333333% 100% space;clip-path:inset(0 100% 0 0);animation:_ngcontent-%COMP%_l1 1s steps(4) infinite;transform:translateY(4px)}@keyframes _ngcontent-%COMP%_l1{to{clip-path:inset(0 -34% 0 0)}}"]})}return it})()},179:(kt,De,u)=>{"use strict";u.d(De,{H_:()=>j,RV:()=>ee});var t=u(1806),p=u(4438);const D=t.J1` query membershipPlans { getMembershipPlansForUser { id name chargebee_identifier currency locale price reduced_price_first_year length content_access_limit } } `;let j=(()=>{class G extends t.XK{constructor(R){super(R),this.document=D}static#e=this.\u0275fac=function(P){return new(P||G)(p.KVO(t.Ic))};static#t=this.\u0275prov=p.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const E=t.J1` mutation passwordReset($input: ResetPremiumPasswordInput!) { resetPremiumPassword(input: $input) } `;let ee=(()=>{class G extends t.sM{constructor(R){super(R),this.document=E}static#e=this.\u0275fac=function(P){return new(P||G)(p.KVO(t.Ic))};static#t=this.\u0275prov=p.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})()},4630:(kt,De,u)=>{"use strict";u.d(De,{W:()=>A});var t=u(177),p=u(3383),D=u(3955),j=u(5980),E=u(4438),ee=u(4085);let G=(()=>{class b{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(L){this._vertical=(0,ee.he)(L)}get inset(){return this._inset}set inset(L){this._inset=(0,ee.he)(L)}static#e=this.\u0275fac=function(de){return new(de||b)};static#t=this.\u0275cmp=E.VBU({type:b,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(de,re){2&de&&(E.BMQ("aria-orientation",re.vertical?"vertical":"horizontal"),E.AVh("mat-divider-vertical",re.vertical)("mat-divider-horizontal",!re.vertical)("mat-divider-inset",re.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[E.aNF],decls:0,vars:0,template:function(de,re){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return b})();var R=u(33);const P=()=>({disabled:!1,color:"darkgrey"}),I=()=>({disabled:!1,color:"orange"});let A=(()=>{class b{constructor(L,de,re,me){this.router=L,this.dialog=de,this.data=re,this.document=me,this.isMobile=navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i),this.buttonAbort={closeOnClick:!1,customConfig:{color:"darkgrey",disabled:!1}},this.buttonConfirm={closeOnClick:!1,customConfig:{color:"orange",disabled:!1}}}ngOnDestroy(){this.document.querySelector('meta[name="viewport"]').setAttribute("content","width=650, user-scalable=no")}refreshPage(){window.location.reload()}openMembershipSelectionDialog(){this.dialog.open(p.v,{data:{hasCountdown:!1,lastSubscription:this.data.lastSubscription}})}static#e=this.\u0275fac=function(de){return new(de||b)(E.rXU(R.Ix),E.rXU(j.o3),E.rXU(j.Qs),E.rXU(t.qQ))};static#t=this.\u0275cmp=E.VBU({type:b,selectors:[["lv-adblock-popup"]],standalone:!0,features:[E.aNF],decls:91,vars:64,consts:[[3,"showCancelBtn"],[1,"mat-dialog-content"],[1,"flex"],[1,"banner"],[1,"banner__top"],[1,"banner__top__left"],["alt","icon adblock detected","src","assets/img/stop-sign.svg",1,"icon-wrapper-stop"],[1,"banner__top__right"],[1,"banner__top__right__header"],[1,"banner__top__right__text"],[1,"banner__list"],[1,"banner__list__item"],[1,"banner__list__item__dot"],[1,"banner__list__item__text"],[1,"banner__thanks"],["href","https://lvcreator.zendesk.com/hc/en-us/articles/28267516191889-Invalid-Visit-detected-What-do-I-do-now","target","_blank"],[3,"classList"],["alt","icon linkvertise crown premium","src","assets/img/premium_icon.svg",1,"icon-wrapper-crown"],[1,"btn-container","desktop"],["lv-lib-button","",3,"click","customConfig"],[1,"btn-container","mobile"]],template:function(de,re){1&de&&(E.j41(0,"lib-shared-dialog-wrapper")(1,"lib-shared-dialog-header",0),E.EFF(2),E.nI1(3,"translate"),E.k0s(),E.j41(4,"lib-shared-dialog-content",1)(5,"lv-lib-card")(6,"div",2)(7,"div",3)(8,"div",4)(9,"div",5),E.nrm(10,"img",6),E.k0s(),E.j41(11,"div",7)(12,"h4",8),E.EFF(13),E.nI1(14,"translate"),E.k0s(),E.j41(15,"p",9),E.EFF(16),E.nI1(17,"translate"),E.k0s()()(),E.j41(18,"div",10)(19,"div",11)(20,"p",12),E.EFF(21,"\u2022 "),E.k0s(),E.j41(22,"p",13),E.EFF(23),E.nI1(24,"translate"),E.k0s()(),E.j41(25,"div",11)(26,"p",12),E.EFF(27,"\u2022 "),E.k0s(),E.j41(28,"p",13),E.EFF(29),E.nI1(30,"translate"),E.k0s()(),E.j41(31,"div",11)(32,"p",12),E.EFF(33,"\u2022 "),E.k0s(),E.j41(34,"p",13),E.EFF(35),E.nI1(36,"translate"),E.k0s()()(),E.j41(37,"h5",14),E.EFF(38),E.nI1(39,"translate"),E.j41(40,"a",15),E.EFF(41),E.nI1(42,"translate"),E.k0s()()(),E.nrm(43,"mat-divider",16),E.j41(44,"div",3)(45,"div",4)(46,"div",5),E.nrm(47,"img",17),E.k0s(),E.j41(48,"div",7)(49,"h4",8),E.EFF(50),E.nI1(51,"translate"),E.k0s(),E.j41(52,"p",9),E.EFF(53),E.nI1(54,"translate"),E.k0s()()(),E.j41(55,"div",10)(56,"div",11)(57,"p",12),E.EFF(58,"\u2022 "),E.k0s(),E.j41(59,"p",13),E.EFF(60),E.nI1(61,"translate"),E.k0s()(),E.j41(62,"div",11)(63,"p",12),E.EFF(64,"\u2022 "),E.k0s(),E.j41(65,"p",13),E.EFF(66),E.nI1(67,"translate"),E.k0s()(),E.j41(68,"div",11)(69,"p",12),E.EFF(70,"\u2022 "),E.k0s(),E.j41(71,"p",13),E.EFF(72),E.nI1(73,"translate"),E.k0s()()(),E.j41(74,"h5",14),E.EFF(75),E.nI1(76,"translate"),E.k0s()()()(),E.j41(77,"div",18)(78,"button",19),E.bIt("click",function(){return re.refreshPage()}),E.EFF(79),E.nI1(80,"translate"),E.k0s(),E.j41(81,"button",19),E.bIt("click",function(){return re.openMembershipSelectionDialog()}),E.EFF(82),E.nI1(83,"translate"),E.k0s()(),E.j41(84,"div",20)(85,"button",19),E.bIt("click",function(){return re.refreshPage()}),E.EFF(86),E.nI1(87,"translate"),E.k0s(),E.j41(88,"button",19),E.bIt("click",function(){return re.openMembershipSelectionDialog()}),E.EFF(89),E.nI1(90,"translate"),E.k0s()()()()),2&de&&(E.R7$(),E.Y8G("showCancelBtn",!1),E.R7$(),E.JRh(E.bMT(3,24,"adblock-popup.adblock-detected")),E.R7$(11),E.JRh(E.bMT(14,26,"adblock-popup.box-disable-adblock.heading")),E.R7$(3),E.JRh(E.bMT(17,28,"adblock-popup.box-disable-adblock.text")),E.R7$(7),E.JRh(E.bMT(24,30,"adblock-popup.box-disable-adblock.step-1")),E.R7$(6),E.JRh(E.bMT(30,32,"adblock-popup.box-disable-adblock.step-2")),E.R7$(6),E.JRh(E.bMT(36,34,"adblock-popup.box-disable-adblock.step-3")),E.R7$(3),E.SpI("",E.bMT(39,36,"adblock-popup.box-disable-adblock.help")," "),E.R7$(3),E.SpI(" ",E.bMT(42,38,"adblock-popup.box-disable-adblock.help-click")," "),E.R7$(2),E.Y8G("classList",re.isMobile?"horizontal-divider":"vertical-divider"),E.R7$(7),E.JRh(E.bMT(51,40,"adblock-popup.box-buy-premium.heading")),E.R7$(3),E.JRh(E.bMT(54,42,"adblock-popup.box-buy-premium.text")),E.R7$(7),E.JRh(E.bMT(61,44,"adblock-popup.box-buy-premium.step-1")),E.R7$(6),E.JRh(E.bMT(67,46,"adblock-popup.box-buy-premium.step-2")),E.R7$(6),E.JRh(E.bMT(73,48,"adblock-popup.box-buy-premium.step-3")),E.R7$(3),E.JRh(E.bMT(76,50,"adblock-popup.box-buy-premium.help")),E.R7$(3),E.Y8G("customConfig",E.lJ4(60,P)),E.R7$(),E.SpI(" ",E.bMT(80,52,"adblock-popup.done-cta")," "),E.R7$(2),E.Y8G("customConfig",E.lJ4(61,I)),E.R7$(),E.SpI(" ",E.bMT(83,54,"adblock-popup.premium-cta")," "),E.R7$(3),E.Y8G("customConfig",E.lJ4(62,P)),E.R7$(),E.SpI(" ",E.bMT(87,56,"adblock-popup.done-cta")," "),E.R7$(2),E.Y8G("customConfig",E.lJ4(63,I)),E.R7$(),E.SpI(" ",E.bMT(90,58,"adblock-popup.premium-cta-mobile")," "))},dependencies:[j.v0,j.BP,j.J2,j.xF,G,j.zO,D.h,D.D9],styles:[".btn-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:2rem}@media (min-width: 768px){.btn-container.mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 767px){.btn-container.desktop[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .lv-button-component{width:293px}p[_ngcontent-%COMP%]{font-size:16px;line-height:24px}.popup-subheading[_ngcontent-%COMP%]{font-size:20px;margin:0;line-height:20px}@media (max-width: 767px){.popup-subheading[_ngcontent-%COMP%]{font-size:24px;line-height:30px}}.popup-subheading-regular[_ngcontent-%COMP%]{margin-top:15px;font-size:16px;line-height:24px}@media (max-width: 767px){.popup-subheading-regular[_ngcontent-%COMP%]{font-size:24px;line-height:30px;margin-top:1.25rem}}.flex[_ngcontent-%COMP%]{display:flex;flex-basis:300px;flex-wrap:wrap;flex-direction:row;justify-content:space-around;height:100%}@media (max-width: 767px){.flex[_ngcontent-%COMP%]{margin-top:1.75rem;height:unset}}.flex[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:flex-start}@media (min-width: 768px){.flex[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%]{width:40%}}.flex[_ngcontent-%COMP%] .banner__top[_ngcontent-%COMP%]{display:flex;gap:16px}.flex[_ngcontent-%COMP%] .banner__top__right__header[_ngcontent-%COMP%]{margin:16px 0 0}.flex[_ngcontent-%COMP%] .banner__top__right__text[_ngcontent-%COMP%]{margin:24px 0 0}.flex[_ngcontent-%COMP%] .banner__list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;margin-top:32px;align-self:center}@media (min-width: 768px){.flex[_ngcontent-%COMP%] .banner__list[_ngcontent-%COMP%]{align-self:unset}}.flex[_ngcontent-%COMP%] .banner__list[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-family:Roboto;font-size:16px;line-height:24px;font-weight:500}.flex[_ngcontent-%COMP%] .banner__list__item[_ngcontent-%COMP%]{display:flex;gap:8px}.flex[_ngcontent-%COMP%] .banner__thanks[_ngcontent-%COMP%]{font-size:16px;font-weight:300;line-height:24px;margin:32px 0 0}.flex[_ngcontent-%COMP%] .banner__thanks[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}.flex[_ngcontent-%COMP%] .horizontal-divider[_ngcontent-%COMP%]{width:620px;height:1px;background-color:#a9a9a9;margin:1.75rem 0}.flex[_ngcontent-%COMP%] .vertical-divider[_ngcontent-%COMP%]{display:block;width:1px;background-color:#a9a9a9}.flex[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%]{width:35%;height:50%}.flex[_ngcontent-%COMP%] .icon-wrapper-stop[_ngcontent-%COMP%]{width:130px;height:130px;object-fit:contain}.flex[_ngcontent-%COMP%] .icon-wrapper-crown[_ngcontent-%COMP%]{width:130px;height:100%;object-fit:contain}@media (min-width: 768px){.flex[_ngcontent-%COMP%] .icon-wrapper-crown[_ngcontent-%COMP%]{width:145px;height:130px;object-fit:contain}}@media (min-width: 768px){ .dialog-footer-mobile{display:none}}@media (max-width: 767px){ .dialog-footer-desktop{display:none}}.mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin:0}@media (max-width: 768px){.mat-dialog-content[_ngcontent-%COMP%]{max-height:unset}.flex[_ngcontent-%COMP%] .vertical-divider[_ngcontent-%COMP%]{height:35px!important}}@media (max-width: 768px) and (max-height: 1050px){.footer[_ngcontent-%COMP%]{margin-top:-45px;position:absolute;bottom:0;padding-top:20px;background-color:#f5f5f5;width:100%}.flex[_ngcontent-%COMP%]{margin-bottom:40px}}@media (max-width: 768px) and (max-height: 600px){.footer[_ngcontent-%COMP%]{bottom:20px}.flex[_ngcontent-%COMP%]{margin-bottom:60px}}"]})}return b})()},4410:(kt,De,u)=>{"use strict";u.d(De,{u:()=>oo});var t=u(4412),p=u(3294),j=u(5558),E=u(8810),ee=u(7673),G=u(4668),B=u(1806),R=u(4438);const P=B.J1` mutation getDetailPageContent($linkIdentificationInput: PublicLinkIdentificationInput!, $origin: String, $additional_data: CustomAdOfferProviderAdditionalData!) { getDetailPageContent( linkIdentificationInput: $linkIdentificationInput origin: $origin additional_data: $additional_data ) { access_token payload_bag { taboola { session_id } } premium_subscription_active link { id video_url short_link_title recently_edited short_link_title description url target_type seo_faqs { body title } target_host last_edit_at link_images { url } title thumbnail_url view_count is_trending recently_edited seo_faqs { title body } percentage_rating is_premium_only_link publisher { id name subscriber_count } positive_rating negative_rating already_rated_by_user user_rating } linkCustomAdOffers { title call_to_action description countdown completion_token provider provider_additional_payload { taboola { available_event_url visible_event_url } } media { type ... on UrlMediaResource { content_type resource_url } } clickout_action { type ... on CustomAdOfferClickoutUrlAction { type clickout_url } } } link_recommendations { short_link_title target_host id url publisher { id name } last_edit_at link_images { url } title thumbnail_url view_count is_trending recently_edited percentage_rating publisher { name } } target_access_information { remaining_waiting_time } } } `;let I=(()=>{class qt extends B.sM{constructor(ft){super(ft),this.document=P}static#e=this.\u0275fac=function(un){return new(un||qt)(R.KVO(B.Ic))};static#t=this.\u0275prov=R.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"})}return qt})();const A=B.J1` mutation completeDetailPageContent($linkIdentificationInput: PublicLinkIdentificationInput!, $completeDetailPageContentInput: CompleteDetailPageContentInput!) { completeDetailPageContent( linkIdentificationInput: $linkIdentificationInput completeDetailPageContentInput: $completeDetailPageContentInput ) { CUSTOM_AD_STEP TARGET additional_target_access_information { remaining_waiting_time can_not_access should_show_ads has_long_paywall_duration } } } `;let b=(()=>{class qt extends B.sM{constructor(ft){super(ft),this.document=A}static#e=this.\u0275fac=function(un){return new(un||qt)(R.KVO(B.Ic))};static#t=this.\u0275prov=R.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"})}return qt})();const F=B.J1` mutation getDetailPageTarget($linkIdentificationInput: PublicLinkIdentificationInput!, $token: String!, $action_id: String) { getDetailPageTarget( linkIdentificationInput: $linkIdentificationInput token: $token action_id: $action_id ) { type url paste short_link_title } } `;let L=(()=>{class qt extends B.sM{constructor(ft){super(ft),this.document=F}static#e=this.\u0275fac=function(un){return new(un||qt)(R.KVO(B.Ic))};static#t=this.\u0275prov=R.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"})}return qt})();const de=B.J1` query getTaboolaAds($linkIdentificationInput: PublicLinkIdentificationInput!, $additional_data: CustomAdOfferProviderAdditionalData!) { getTaboolaAds( linkIdentificationInput: $linkIdentificationInput additional_data: $additional_data ) { title call_to_action description media { type resource_url } clickout_action { type clickout_url } provider_additional_payload { visible_event_url available_event_url } } } `;let re=(()=>{class qt extends B.XK{constructor(ft){super(ft),this.document=de}static#e=this.\u0275fac=function(un){return new(un||qt)(R.KVO(B.Ic))};static#t=this.\u0275prov=R.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"})}return qt})();B.J1` query linkCustomAdOffers($input: LinkIdentifier!, $additional_data: CustomAdOfferProviderAdditionalData!) { linkCustomAdOffers(link: $input, additional_data: $additional_data) { title call_to_action description countdown completion_token provider provider_additional_payload { taboola { available_event_url visible_event_url } } media { type ... on UrlMediaResource { content_type resource_url } } clickout_action { type ... on CustomAdOfferClickoutUrlAction { type clickout_url } } } } `;const tt=B.J1` mutation completeCustomAdOffer($completion_token: String!, $traffic_validation_token: String!, $action_id: String) { completeCustomAdOffer( completion_token: $completion_token traffic_validation_token: $traffic_validation_token action_id: $action_id ) } `;let je=(()=>{class qt extends B.sM{constructor(ft){super(ft),this.document=tt}static#e=this.\u0275fac=function(un){return new(un||qt)(R.KVO(B.Ic))};static#t=this.\u0275prov=R.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"})}return qt})();var qt,xe=u(3103),ve=u(6354),ye=u(9437),Oe="function",Ke="undefined",Nt="object",Ct="string",$t="major",be="model",Be="name",oe="type",Re="vendor",fe="version",ge="architecture",ke="console",qe="mobile",Ce="tablet",We="smarttv",Ze="wearable",an="embedded",xn="inapp",Tn="user-agent",ii="brands",Cn="formFactors",ot="fullVersionList",Le="platform",at="platformVersion",_t="bitness",rn="sec-ch-ua",Hn=rn+"-full-version-list",Xn=rn+"-arch",Bt=rn+"-"+_t,ce=rn+"-form-factors",Ye=rn+"-"+qe,Je=rn+"-"+be,xt=rn+"-"+Le,Kt=xt+"-version",pt=[ii,ot,qe,be,Le,at,ge,Cn,_t],jt="browser",nt="cpu",mt="device",At="engine",Yt="os",jn="result",En="Amazon",$n="Apple",Qn="BlackBerry",Jt="Google",Ee="Microsoft",q="Motorola",J="Samsung",rt="Sony",Xt="Xiaomi",yn="Zebra",Lt="Mobile ",Mt=" Browser",St="Chromecast",_i="Firefox",tr="Opera",ir="Facebook",si="Windows",Ft=typeof window!==Ke&&window.navigator?window.navigator:void 0,Rt=Ft&&Ft.userAgentData?Ft.userAgentData:void 0,ei=function(qt){for(var pn={},ft=0;ft0){for(var ft in qt)if(cr(qt[ft])==cr(pn))return!0;return!1}return!!lr(qt)&&-1!==cr(pn).indexOf(cr(qt))},Mr=function(qt,pn){for(var ft in qt)return/^(browser|cpu|device|engine|os)$/.test(ft)||!!pn&&Mr(qt[ft])},lr=function(qt){return typeof qt===Ct},Dr=function(qt){if(qt){for(var pn=[],ft=Ue(/\\?\"/g,qt).split(","),un=0;un-1){var Pn=ct(ft[un]).split(";v=");pn[un]={brand:Pn[0],version:Pn[1]}}else pn[un]=ct(ft[un]);return pn}},cr=function(qt){return lr(qt)?qt.toLowerCase():qt},vi=function(qt){return lr(qt)?Ue(/[^\d\.]/g,qt).split(".")[0]:void 0},qr=function(qt){for(var pn in qt){var ft=qt[pn];typeof ft==Nt&&2==ft.length?this[ft[0]]=ft[1]:this[ft]=void 0}return this},Ue=function(qt,pn){return lr(pn)?pn.replace(qt,""):pn},st=function(qt){return Ue(/\\?\"/g,qt)},ct=function(qt,pn){if(lr(qt))return qt=Ue(/^\s\s*/,qt),typeof pn===Ke?qt:qt.substring(0,500)},nn=function(qt,pn){if(qt&&pn)for(var un,Pn,fi,ai,Zi,Mi,ft=0;ft0?2===ai.length?this[ai[0]]=typeof ai[1]==Oe?ai[1].call(this,Mi):ai[1]:3===ai.length?this[ai[0]]=typeof ai[1]!==Oe||ai[1].exec&&ai[1].test?Mi?Mi.replace(ai[1],ai[2]):void 0:Mi?ai[1].call(this,Mi,ai[2]):void 0:4===ai.length&&(this[ai[0]]=Mi?ai[3].call(this,Mi.replace(ai[1],ai[2])):void 0):this[ai]=Mi||void 0;ft+=2}},yt=function(qt,pn){for(var ft in pn)if(typeof pn[ft]===Nt&&pn[ft].length>0){for(var un=0;un2&&this.set(be,"iPad").set(oe,Ce);break;case Yt:!this.get(Be)&&Rt&&Rt[Le]&&this.set(Be,Rt[Le]);break;case jn:var Pn=this.data,fi=function(ai){return Pn[ai].getItem().detectFeature().get()};this.set(jt,fi(jt)).set(nt,fi(nt)).set(mt,fi(mt)).set(At,fi(At)).set(Yt,fi(Yt))}return this},this.parseUA=function(){return this.itemType!=jn&&nn.call(this.data,this.ua,this.rgxMap),this.itemType==jt&&this.set($t,vi(this.get(fe))),this},this.parseCH=function(){var Pn=this.uaCH,fi=this.rgxMap;switch(this.itemType){case jt:var Zi,ai=Pn[ot]||Pn[ii];if(ai)for(var Mi in ai){var li=Ue(/(Google|Microsoft) /,ai[Mi].brand||ai[Mi]),go=ai[Mi].version;!/not.a.brand/i.test(li)&&(!Zi||/chrom/i.test(Zi)&&!/chromi/i.test(li))&&(this.set(Be,li).set(fe,go).set($t,vi(go)),Zi=li)}break;case nt:var gr=Pn[ge];gr&&(gr&&"64"==Pn[_t]&&(gr+="64"),nn.call(this.data,gr+";",fi));break;case mt:if(Pn[qe]&&this.set(oe,qe),Pn[be]&&this.set(be,Pn[be]),"Xbox"==Pn[be]&&this.set(oe,ke).set(Re,Ee),Pn[Cn]){var Ji;if("string"!=typeof Pn[Cn])for(var Mo=0;!Ji&&Mo=13?"11":"10"),this.set(Be,Io).set(fe,so)}this.get(Be)==si&&"Xbox"==Pn[be]&&this.set(Be,"Xbox").set(fe,void 0);break;case jn:var sn=this.data,ro=function(Lo){return sn[Lo].getItem().setCH(Pn).parseCH().get()};this.set(jt,ro(jt)).set(nt,ro(nt)).set(mt,ro(mt)).set(At,ro(At)).set(Yt,ro(Yt))}return this},qr.call(this,[["itemType",qt],["ua",pn],["uaCH",un],["rgxMap",ft],["data",ri(this,qt)]]),this}function Pi(qt,pn,ft){if(typeof qt===Nt?(Mr(qt,!0)?(typeof pn===Nt&&(ft=pn),pn=qt):(ft=qt,pn=void 0),qt=void 0):typeof qt===Ct&&!Mr(pn,!0)&&(ft=pn,pn=void 0),ft&&typeof ft.append===Oe){var un={};ft.forEach(function(Mi,li){un[li]=Mi}),ft=un}if(!(this instanceof Pi))return new Pi(qt,pn,ft).getResult();var Pn=typeof qt===Ct?qt:ft&&ft[Tn]?ft[Tn]:Ft&&Ft.userAgent?Ft.userAgent:"",fi=new Xi(ft,!0),ai=pn?function(qt,pn){var ft={},un=pn;if(!Mr(pn))for(var Pn in un={},pn)for(var fi in pn[Pn])un[fi]=pn[Pn][fi].concat(un[fi]?un[fi]:[]);for(var ai in qt)ft[ai]=un[ai]&&un[ai].length%2==0?un[ai].concat(qt[ai]):qt[ai];return ft}(Oi,pn):Oi,Zi=function(Mi){return Mi==jn?function(){return new Vi(Mi,Pn,ai,fi).set("ua",Pn).set(jt,this.getBrowser()).set(nt,this.getCPU()).set(mt,this.getDevice()).set(At,this.getEngine()).set(Yt,this.getOS()).get()}:function(){return new Vi(Mi,Pn,ai[Mi],fi).parseUA().get()}};return qr.call(this,[["getBrowser",Zi(jt)],["getCPU",Zi(nt)],["getDevice",Zi(mt)],["getEngine",Zi(At)],["getOS",Zi(Yt)],["getResult",Zi(jn)],["getUA",function(){return Pn}],["setUA",function(Mi){return lr(Mi)&&(Pn=Mi.length>500?ct(Mi,500):Mi),this}]]).setUA(Pn),this}Pi.VERSION="2.0.0",Pi.BROWSER=ei([Be,fe,$t,oe]),Pi.CPU=ei([ge]),Pi.DEVICE=ei([be,Re,oe,ke,qe,We,Ce,Ze,an]),Pi.ENGINE=Pi.OS=ei([Be,fe]);var dr=u(1626);let Or=(()=>{class qt{constructor(ft,un){this.http=ft,this.getTaboolaAdsGQL=un,this.taboolaUserId$=this.createTaboolaUserId$(),this.LOCAL_STORAGE_KEY="taboola-session-id"}getTaboolaUserId(){return this.taboolaUserId$}getSessionId(){const ft=this.getFromLocalStorageWithTimestamp(),un=(new Date).getTime(),Pn=ft?.created_at?.getTime(),fi=Math.abs(un-Pn)/6e4;return!fi||fi>30?null:ft.value}saveSessionIdWithLifetime(ft){ft?this.writeToLocalStorageWithCurrentTimestamp(ft):console.error("updateTaboolaSessionId: Missing sessionId parameter")}writeToLocalStorageWithCurrentTimestamp(ft){if(!ft)return;const un=JSON.stringify({value:ft,created_at:new Date});localStorage.setItem(this.LOCAL_STORAGE_KEY,un)}getFromLocalStorageWithTimestamp(){const ft=localStorage.getItem(this.LOCAL_STORAGE_KEY),un=JSON.parse(ft);return{value:un?.value,created_at:new Date(un?.created_at)}}postChainedTaboolaAvailableAndVisible(ft){if(!ft?.available_event_url||!ft?.visible_event_url)return(0,E.$)(()=>new Error("API-taboola: POST: missing additionalPayload"));const un=this.http.get(ft.available_event_url),Pn=this.http.get(ft.visible_event_url);return un.pipe((0,xe.c)(1e3),(0,j.n)(()=>Pn))}postTaboolaAvailable(ft){return ft?.available_event_url?this.http.get(ft.available_event_url):(0,E.$)(()=>new Error("API-taboola: POST: missing additionalPayload"))}postTaboolaVisible(ft){return ft?.visible_event_url?this.http.get(ft.visible_event_url):(0,E.$)(()=>new Error("API-taboola: POST: missing additionalPayload"))}requestTaboolaAds(ft,un,Pn,fi){return this.getTaboolaAdsGQL.fetch({linkIdentificationInput:ft,additional_data:{taboola:{consent_string:Pn,url:fi,user_id:un}}})}getTaboolaDummyAdData(ft){const un=this.getTaboolaCookieResponse()??"",Pn=window.location.href;return ft?this.taboolaUserId$.pipe((0,j.n)(fi=>this.requestTaboolaAds(ft,fi,un,Pn)),(0,ve.T)(fi=>fi.data.getTaboolaAds)):(0,E.$)(()=>new Error("API-taboola: POST: missing additionalPayload"))}getTaboolaCookieResponse(){let ft;return window.__tcfapi&&window.__tcfapi("getTCData",2,un=>{ft=un.tcString}),ft}getDeviceType(){const un=(new Pi).getDevice().type;return"mobile"===un||"tablet"===un?"mobile":"desktop"}createTaboolaUserId$(){const un=this.getDeviceType(),Pn=this.getTaboolaApiKeyDependingOnDeviceType(un);return this.http.get(`https://api.taboola.com/2.0/json/linkvertise-linkvertiseapikey/user.sync?app.type=${un}&app.apikey=${Pn}`).pipe((0,ve.T)(ai=>ai.user.id),(0,ye.W)(()=>(0,ee.of)("fallbackUserId")),(0,G.t)())}getTaboolaApiKeyDependingOnDeviceType(ft){return"mobile"===ft?"038d3e7da839787753d209627988d813fc1b1d2e":"5f560f57763908a1256447e08a287e0aaa466fb6"}static#e=this.\u0275fac=function(un){return new(un||qt)(R.KVO(dr.Qq),R.KVO(re))};static#t=this.\u0275prov=R.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"})}return qt})();var Fi=u(7057),Ni=u(7366),Sr=u(3068),Vr=u(8141),Pr=u(8750),Fr=u(6661);let oo=(()=>{class qt{constructor(ft,un,Pn,fi,ai,Zi,Mi,li){this.getDetailPageContentGQL=ft,this.getDetailPageTargetGQL=un,this.completeDetailPageContentGQL=Pn,this.completeCustomAdOfferGQL=fi,this.apiTaboolaService=ai,this.thumbnailService=Zi,this.auth=Mi,this.trackingService=li,this.currentParameter$$=new t.t(void 0),this.variant$=new t.t("old"),this.trigger$$=new t.t(!1),this.newVariantKey="AdStepVariant25-03-25",this.oldVariantKey="AdStepVariant",this.production=Fr.c.production,this.bypassCheqRTIv2secret=Fr.c.bypassCheqRTIv2secret,this.bypassContentAccessLimitsecret=Fr.c.bypassContentAccessLimitsecret}getVariant(){return this.variant$}setVariant(ft){localStorage.removeItem(this.oldVariantKey);let un="old";un=localStorage.getItem(this.newVariantKey)||"old",localStorage.setItem(this.newVariantKey,un),this.variant$.next(un)}setCurrentLinkIdentifierAndOrigin(ft,un,Pn){this.currentParameter$$.next({identifier:this.getLinkIdentificationInput(ft,un,Pn),origin:un.o,accessToken:this.currentParameter$$.value?.accessToken,postAccessToken:this.currentParameter$$.value?.postAccessToken,taboolaUserId:this.currentParameter$$.value?.taboolaUserId})}getCurrentParameter(){return this.currentParameter$$.asObservable().pipe(function D(qt,pn){return(0,p.F)((ft,un)=>pn?pn(ft[qt],un[qt]):ft[qt]===un[qt])}("identifier"))}createPageData$(){return this.apiTaboolaService.getTaboolaUserId().pipe((0,j.n)(ft=>(this.currentParameter$$.next({taboolaUserId:ft,accessToken:this.currentParameter$$.value.accessToken,identifier:this.currentParameter$$.value.identifier,origin:this.currentParameter$$.value.origin,postAccessToken:this.currentParameter$$.value.postAccessToken}),this.getCurrentParameter())),(0,j.n)(ft=>{const un=this.apiTaboolaService.getTaboolaCookieResponse(),Pn=this.apiTaboolaService.getSessionId(),fi=this.getVariant().value;return ft.identifier?this.getDetailPageContentGQL.mutate({linkIdentificationInput:ft.identifier,origin:ft.origin,additional_data:this.prepareAdditionalData(ft.taboolaUserId,un,document.referrer,Pn,fi)},{context:this.handleAdditionalHeaderForNonProduction()}):(0,E.$)(()=>new Error("API-detail-page: createPageData: Missing parameter"))}),(0,ve.T)(ft=>{const un=ft.data.getDetailPageContent;return this.currentParameter$$.next({accessToken:un.access_token,identifier:this.currentParameter$$.value.identifier,origin:this.currentParameter$$.value.origin,postAccessToken:this.currentParameter$$.value.postAccessToken,taboolaUserId:this.currentParameter$$.value.taboolaUserId}),un}),(0,Vr.M)(ft=>{ft.link_recommendations.forEach(un=>{this.thumbnailService.handleThumbnailUrlFallbackGeneration(un)})}),(0,j.n)(ft=>ft.link.link_images.length>0||ft.link.video_url?(0,ee.of)(ft):(0,Pr.Sx)(this.thumbnailService.getThumbnail(ft.link.short_link_title,ft.link.target_host)).pipe((0,ve.T)(un=>(ft.link.link_images.push({id:"0",url:un}),ft)))),(0,Vr.M)(ft=>{this.apiTaboolaService.saveSessionIdWithLifetime(ft.payload_bag.taboola?.session_id)}))}createTaboolaAds$(){return this.getCurrentParameter().pipe((0,j.n)(ft=>this.apiTaboolaService.getTaboolaDummyAdData(ft.identifier)))}createPagePostAccess$(){return this.getCurrentParameter().pipe((0,j.n)(ft=>ft.identifier&&ft.accessToken?this.completeDetailPageContentGQL.mutate({linkIdentificationInput:ft.identifier,completeDetailPageContentInput:{access_token:ft.accessToken}},{context:this.handleAdditionalHeaderForNonProduction()}):(0,E.$)(()=>new Error("API-detail-page: createPostAccess: Missing parameter"))),(0,ve.T)(ft=>{const un=ft.data.completeDetailPageContent;return this.customAdStepToken=un.CUSTOM_AD_STEP,this.currentParameter$$.next({postAccessToken:un.TARGET,identifier:this.currentParameter$$.value.identifier,origin:this.currentParameter$$.value.origin,accessToken:this.currentParameter$$.value.accessToken,taboolaUserId:this.currentParameter$$.value.taboolaUserId}),un}),(0,G.t)())}createPageTarget$(){const ft=this.actionIdGenerator();return this.getCurrentParameter().pipe((0,j.n)(un=>un.identifier&&un.postAccessToken?this.getDetailPageTargetGQL.mutate({linkIdentificationInput:un.identifier,token:un.postAccessToken,action_id:ft},{context:this.handleAdditionalHeaderForNonProduction()}).pipe((0,ye.W)(Pn=>(JSON.stringify(Pn).includes("early_target_access_fraud")&&(window.location.href="https://invalid.linkvertise.com"),(0,ee.of)(null))),(0,Vr.M)(Pn=>{Pn&&this.trackingService.trackTargetOpened(this.auth.check(),this.getVariant().value,ft)})):(0,E.$)(()=>new Error("API-detail-page: createTarget: Missing parameter"))),(0,ve.T)(un=>un.data.getDetailPageTarget),(0,G.t)())}postChainedTaboolaAvailableAndVisible(ft){return this.apiTaboolaService.postChainedTaboolaAvailableAndVisible(ft)}postTaboolaAvailable(ft){return this.apiTaboolaService.postTaboolaAvailable(ft)}postTaboolaVisible(ft){return this.apiTaboolaService.postTaboolaVisible(ft)}postAdCardCompletion(ft,un){if(!ft)return(0,E.$)(()=>new Error("API-detail-page: AdCard: Missing adToken"));if(!this.currentParameter$$.value.postAccessToken)return(0,E.$)(()=>new Error("API-detail-page: AdCard: Missing postAccesstoken"));const Pn=this.customAdStepToken,fi=this.actionIdGenerator();return this.completeCustomAdOfferGQL.mutate({completion_token:ft,traffic_validation_token:Pn,action_id:fi}).pipe((0,Vr.M)(()=>{this.trackingService.trackAdClick(un,fi)}))}handleAdditionalHeaderForNonProduction(){let ft=new dr.Lr;return this.production||(ft=ft.set("bypassrtiv2",this.bypassCheqRTIv2secret),ft=ft.set("X-LV-Content-Access-Bypass-Secret",this.bypassContentAccessLimitsecret)),{headers:ft}}prepareAdditionalData(ft,un,Pn,fi,ai){return{taboola:{external_referrer:Pn,user_id:ft,consent_string:un,url:window.location.href,test_group:ai??void 0,session_id:fi}}}getLinkIdentificationInput(ft,un,Pn){let fi;return"userIdAndUrl"===Pn?fi={userIdAndUrl:{user_id:ft.userId,url:ft.url}}:"userIdAndHash"===Pn?(fi={userIdAndHash:{user_id:ft.userId,hash:un.r,originates_from_adfly:"adfly"===un.link_origin}},un.v&&(fi.userIdAndHash.version=un.v)):"id"===Pn?fi={id:{id:ft.linkId}}:console.error("linkIdentificationType does not Match"),fi}actionIdGenerator(){let ft="",un=0;for(;un<3;)ft+=self.crypto.randomUUID(),un+=1;return ft.slice(0,100)}static#e=this.\u0275fac=function(un){return new(un||qt)(R.KVO(I),R.KVO(L),R.KVO(b),R.KVO(je),R.KVO(Or),R.KVO(Fi.e),R.KVO(Ni.u),R.KVO(Sr.b))};static#t=this.\u0275prov=R.jDH({token:qt,factory:qt.\u0275fac,providedIn:"root"})}return qt})()},8746:(kt,De,u)=>{"use strict";u.d(De,{c:()=>E});var t=u(4438),p=u(6661),D=u(5980);const j=["captcha"];let E=(()=>{class ee{constructor(){this.captchaResponse=new t.bkB,this.captchaSiteKey=p.c.captchaSiteKey,this.captchaSize="normal"}ngOnInit(){window.innerWidth<=367&&this.setCaptchaSize("compact")}reset(){this.captcha&&this.captcha?.captchaReset()}setCaptchaSize(B){this.captchaSize=B}handleCaptchaResponse(B){"success"===B.resType?this.captchaResponse.emit(B.response):this.reset()}static#e=this.\u0275fac=function(R){return new(R||ee)};static#t=this.\u0275cmp=t.VBU({type:ee,selectors:[["lv-captcha"]],viewQuery:function(R,P){if(1&R&&t.GBs(j,5),2&R){let I;t.mGM(I=t.lsd())&&(P.captcha=I.first)}},outputs:{captchaResponse:"captchaResponse"},standalone:!0,features:[t.Jv_([D.KG]),t.aNF],decls:1,vars:2,consts:[[3,"captchaResponse","size","siteKey"]],template:function(R,P){1&R&&(t.j41(0,"lv-lib-recaptcha",0),t.bIt("captchaResponse",function(A){return P.handleCaptchaResponse(A)}),t.k0s()),2&R&&t.Y8G("size",P.captchaSize)("siteKey",P.captchaSiteKey)},dependencies:[D.lr]})}return ee})()},9886:(kt,De,u)=>{"use strict";u.d(De,{p:()=>re});var t=u(4438),p=u(5351),D=u(3955),j=u(5980);function E(me,Se){1&me&&(t.EFF(0),t.nI1(1,"translate")),2&me&&t.SpI(" ",t.bMT(1,1,"footer-imprint-headline")," ")}function ee(me,Se){1&me&&(t.EFF(0),t.nI1(1,"translate")),2&me&&t.SpI(" ",t.bMT(1,1,"footer-withdraw-headline")," ")}function G(me,Se){1&me&&(t.EFF(0),t.nI1(1,"translate")),2&me&&t.SpI(" ",t.bMT(1,1,"footer-adfly-notice-headline")," ")}function B(me,Se){1&me&&(t.EFF(0),t.nI1(1,"translate")),2&me&&t.SpI(" ",t.bMT(1,1,"footer-gtc-headline")," ")}function R(me,Se){1&me&&(t.EFF(0),t.nI1(1,"translate")),2&me&&t.SpI(" ",t.bMT(1,1,"footer-privacy-headline")," ")}function P(me,Se){1&me&&(t.j41(0,"div",1),t.EFF(1,"No type provided for dialog title"),t.k0s())}function I(me,Se){1&me&&(t.nrm(0,"div",2),t.nI1(1,"translate")),2&me&&t.Y8G("innerHTML",t.bMT(1,1,"footer-imprint-dialog"),t.npT)}function A(me,Se){1&me&&(t.nrm(0,"div",2),t.nI1(1,"translate")),2&me&&t.Y8G("innerHTML",t.bMT(1,1,"footer-withdraw-dialog"),t.npT)}function b(me,Se){1&me&&(t.nrm(0,"div",2),t.nI1(1,"translate")),2&me&&t.Y8G("innerHTML",t.bMT(1,1,"footer-adfly-notice-dialog"),t.npT)}function F(me,Se){1&me&&(t.nrm(0,"div",2),t.nI1(1,"translate")),2&me&&t.Y8G("innerHTML",t.bMT(1,1,"footer-gtc-dialog"),t.npT)}function L(me,Se){1&me&&(t.nrm(0,"div",2),t.nI1(1,"translate")),2&me&&t.Y8G("innerHTML",t.bMT(1,1,"footer-privacy-dialog"),t.npT)}function de(me,Se){1&me&&(t.j41(0,"div",1),t.EFF(1,"No type provided for dialog body"),t.k0s())}let re=(()=>{class me{constructor(){this.data=(0,t.WQX)(p.Vh),this.dialogRef=(0,t.WQX)(p.CP)}close(tt){this.dialogRef.close(tt)}static#e=this.\u0275fac=function(je){return new(je||me)};static#t=this.\u0275cmp=t.VBU({type:me,selectors:[["lv-general-content-dialog"]],standalone:!0,features:[t.aNF],decls:15,vars:2,consts:[[3,"cancelBtnFunction"],[1,"link-primary"],[1,"link-primary",3,"innerHTML"]],template:function(je,xe){if(1&je&&(t.j41(0,"lib-shared-dialog-wrapper")(1,"lib-shared-dialog-header",0),t.bIt("cancelBtnFunction",function(){return xe.close()}),t.DNE(2,E,2,3)(3,ee,2,3)(4,G,2,3)(5,B,2,3)(6,R,2,3)(7,P,2,0),t.k0s(),t.j41(8,"lib-shared-dialog-content"),t.DNE(9,I,2,3)(10,A,2,3)(11,b,2,3)(12,F,2,3)(13,L,2,3)(14,de,2,0),t.k0s()()),2&je){let ve,ye;t.R7$(2),t.vxM(2,"imprint"===(ve=null==xe.data||null==xe.data.type?null:xe.data.type.toLowerCase())?2:"withdraw"===ve?3:"adfly-notice"===ve?4:"gtc"===ve?5:"privacy"===ve?6:7),t.R7$(7),t.vxM(9,"imprint"===(ye=null==xe.data||null==xe.data.type?null:xe.data.type.toLowerCase())?9:"withdraw"===ye?10:"adfly-notice"===ye?11:"gtc"===ye?12:"privacy"===ye?13:14)}},dependencies:[j.v0,j.BP,j.J2,D.h,D.D9]})}return me})()},6661:(kt,De,u)=>{"use strict";u.d(De,{c:()=>t});const t={production:!0,showDetailPageAccessBypass:!1,showActionboxAccessBypass:!1,bypassContentAccessLimitsecret:void 0,baseUrl:"https://publisher.linkvertise.com/api/v1/",graphqlUrl:"https://publisher.linkvertise.com/graphql",bypassCheqRTIv2secret:void 0,captchaSiteKey:"6LeDA6MZAAAAADcqwPtRSw9M7RK9kMkQbOeYViTd",chargebeeSubDomain:"linkvertise",churnkeyMode:"live"}},9618:(kt,De,u)=>{"use strict";var t=u(4438),p=u(6661),D=u(7366),j=u(33),E=u(7217),ee=u(5184),G=u(177),B=u(7376),R=u(8359),P=u(4572),I=u(5964),A=u(6354),b=u(5980),F=u(9417),L=u(8746),de=u(8151),re=u(6697),me=u(3955),Se=u(9821),tt=u(9631),je=u(2102),xe=u(9213),ve=u(6173),ye=u(8069);function pe(M,d){if(1&M){const c=t.RV6();t.j41(0,"lv-lib-alerts",14),t.bIt("close",function(){t.eBV(c);const C=t.XpG();return t.Njj(C.hideResetSuccess())}),t.j41(1,"div",15)(2,"mat-icon"),t.EFF(3,"info"),t.k0s(),t.EFF(4),t.k0s()()}if(2&M){const c=t.XpG();t.Y8G("rounded",!0)("showClose",!0)("type","NEGATIVE"),t.R7$(4),t.SpI(" ",c.alertText," ")}}let Pe=(()=>{class M{constructor(c,h,C,z,Q){this.apiAuthService=c,this.dialogRef=h,this.router=C,this.translate=z,this.urlParams=Q,this.alertText="",this.resetFailed=!1,this.eMailRegEx="^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}"}ngOnInit(){this.passwordResetForm=new F.gE({token:new F.MJ("",[F.k0.required]),email:new F.MJ({value:"",disabled:!0},[F.k0.required,F.k0.email,F.k0.pattern(this.eMailRegEx)]),password:new F.MJ("",[F.k0.required,F.k0.minLength(6),this.triggerRepeatFieldValidator("repeatPassword")]),repeatPassword:new F.MJ("",[F.k0.required,this.matchValidator("password")]),captcha:new F.MJ("",[F.k0.required])}),this.urlParams?.token&&this.urlParams?.email?(this.passwordResetForm.get("token")?.setValue(this.urlParams?.token),this.passwordResetForm.get("email")?.setValue(this.urlParams?.email)):this.translate.get("password-reset.no-params").pipe((0,re.s)(1)).subscribe(c=>{this.resetFailed=!0,this.alertText=c})}ngOnDestroy(){this.closeDialog()}triggerRepeatFieldValidator(c){return h=>{const C=h.parent?.get(c);return C&&C.updateValueAndValidity(),null}}matchValidator(c){return h=>{const C=h,z=h.parent?.get(c);if(C&&z)return z.value!==C.value?{notMatched:!0}:null}}setCaptchaInput(c){this.passwordResetForm.get("captcha")?.setValue(c),this.passwordResetForm.updateValueAndValidity()}reset(){this.passwordResetForm.invalid||this.apiAuthService.postPasswordReset(this.passwordResetForm.get("token").value,this.passwordResetForm.get("email").value,this.passwordResetForm.get("password").value,this.passwordResetForm.get("captcha").value).subscribe(c=>{"Password reset failed"===c?.data?.resetPremiumPassword?(this.captcha.reset(),this.passwordResetForm.get("captcha")?.setValue(null),this.translate.get("password-reset.link-expired").pipe((0,re.s)(1)).subscribe(h=>{this.resetFailed=!0,this.alertText=h})):window.location.replace("")})}closeDialog(){this.dialogRef.close()}hideResetSuccess(){this.resetFailed=!1}static#e=this.\u0275fac=function(h){return new(h||M)(t.rXU(de.g),t.rXU(b.ce),t.rXU(j.Ix),t.rXU(me.c$),t.rXU(b.Qs))};static#t=this.\u0275cmp=t.VBU({type:M,selectors:[["lv-password-reset"]],viewQuery:function(h,C){if(1&h&&t.GBs(L.c,5),2&h){let z;t.mGM(z=t.lsd())&&(C.captcha=z.first)}},standalone:!0,features:[t.aNF],decls:40,vars:35,consts:[["captcha",""],[3,"close"],[3,"padding"],[3,"rounded","showClose","type","close",4,"ngIf"],[1,"register-form",3,"formGroup"],["appearance","fill",3,"hideRequiredMarker"],["matInput","","formControlName","email","type","email","name","email",3,"readonly"],["matInput","","formControlName","password","type","password","name","password"],["matInput","","formControlName","repeatPassword","type","password","name","repeatPassword","onpaste","return false;","ondrop","return false;","autocomplete","off"],[1,"input-field","lv-center-x"],[3,"captchaResponse"],[1,"action-buttons"],[1,"action-buttons__button",3,"click","rounded","type"],[1,"action-buttons__button",3,"click","rounded","disabled"],[3,"close","rounded","showClose","type"],[1,"alert-center-text"]],template:function(h,C){if(1&h){const z=t.RV6();t.j41(0,"lv-lib-popover")(1,"lv-lib-popover-header",1),t.bIt("close",function(){return t.eBV(z),t.Njj(C.closeDialog())}),t.j41(2,"h2"),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"lv-lib-popover-body",2),t.DNE(6,pe,5,4,"lv-lib-alerts",3),t.j41(7,"form",4)(8,"mat-form-field",5)(9,"mat-label"),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.nrm(12,"input",6),t.k0s(),t.j41(13,"div")(14,"mat-form-field",5)(15,"mat-label"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.nrm(18,"input",7),t.j41(19,"mat-error"),t.EFF(20),t.nI1(21,"translate"),t.k0s()(),t.j41(22,"mat-form-field",5)(23,"mat-label"),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.nrm(26,"input",8),t.j41(27,"mat-error"),t.EFF(28),t.nI1(29,"translate"),t.k0s()()()(),t.j41(30,"div",9)(31,"lv-captcha",10,0),t.bIt("captchaResponse",function(Me){return t.eBV(z),t.Njj(C.setCaptchaInput(Me))}),t.k0s()(),t.j41(33,"div",11)(34,"lv-lib-button",12),t.bIt("click",function(){return t.eBV(z),t.Njj(C.closeDialog())}),t.EFF(35),t.nI1(36,"translate"),t.k0s(),t.j41(37,"lv-lib-button",13),t.bIt("click",function(){return t.eBV(z),t.Njj(C.reset())}),t.EFF(38),t.nI1(39,"translate"),t.k0s()()()()}2&h&&(t.R7$(3),t.JRh(t.bMT(4,19,"premium-modal-password-reset-headline")),t.R7$(2),t.Y8G("padding",!0),t.R7$(),t.Y8G("ngIf",C.resetFailed),t.R7$(),t.Y8G("formGroup",C.passwordResetForm),t.R7$(),t.Y8G("hideRequiredMarker",!0),t.R7$(2),t.JRh(t.bMT(11,21,"registration.email")),t.R7$(2),t.Y8G("readonly",!0),t.R7$(2),t.Y8G("hideRequiredMarker",!0),t.R7$(2),t.JRh(t.bMT(17,23,"registration.password")),t.R7$(4),t.JRh(t.bMT(21,25,"error-msg.psw.character_length")),t.R7$(2),t.Y8G("hideRequiredMarker",!0),t.R7$(2),t.JRh(t.bMT(25,27,"registration.repeat-password")),t.R7$(4),t.JRh(t.bMT(29,29,"error-msg.psw.not_matched")),t.R7$(6),t.Y8G("rounded",!0)("type","secondary"),t.R7$(),t.SpI(" ",t.bMT(36,31,"button.close")," "),t.R7$(2),t.Y8G("rounded",!0)("disabled",C.passwordResetForm.invalid),t.R7$(),t.SpI(" ",t.bMT(39,33,"button.reset")," "))},dependencies:[ye.qX,ye.SD,ye.$0,G.bT,ve.v,xe.An,F.YN,F.qT,F.me,F.BC,F.cb,F.X1,F.j4,F.JD,je.rl,je.nJ,tt.fg,je.TL,L.c,Se.X,me.h,me.D9],styles:["lv-password-reset .alert-center-text{display:flex;gap:.5rem;align-items:center}lv-password-reset .register-form{margin-top:1.5rem;margin-bottom:.75rem;display:flex;flex-direction:column;gap:10.5px}lv-password-reset .register-form>div{display:flex;gap:1rem}@media (max-width: 768px){lv-password-reset .register-form>div{flex-direction:column}}lv-password-reset .register-form>div>mat-form-field{width:100%;font-size:16px;font-weight:300}lv-password-reset .register-form>div>mat-form-field .mat-form-field-label{color:#000!important}lv-password-reset .input-field{width:100%;margin-bottom:.75rem}lv-password-reset .action-buttons{margin-top:1.5rem;display:flex;justify-content:space-between;-moz-column-gap:1rem;column-gap:1rem}lv-password-reset .action-buttons__button{max-width:256px;width:100%}@media (min-width: 768px){lv-password-reset .action-buttons button{width:100%!important}}\n"],encapsulation:2})}return M})();var $=u(5341),Oe=u(3300),Ke=u(1057);let Nt=(()=>{class M{constructor(c,h){this.pageService=c,this.languageService=h,this.loadedOrTimeoutReached=new t.bkB,this.loadTimeoutReached=!1,this.bootTimeout(),this.observeStatus()}initInMobi(){!function(){var c=window.location.hostname,h=document.createElement("script"),C=document.getElementsByTagName("script")[0],z="https://cmp.inmobi.com".concat("/choice/","qdwz11pX7Zrr6","/",c,"/choice.js?tag_version=V3"),Q=0;h.async=!0,h.type="text/javascript",h.src=z,C.parentNode.insertBefore(h,C),function Xe(){for(var Yn,cn="__tcfapiLocator",_n=[],hn=window;hn;){try{if(hn.frames[cn]){Yn=hn;break}}catch{}if(hn===window.top)break;hn=hn.parent}Yn||(function Ei(){var ui=hn.document,Kn=!!hn.frames[cn];if(!Kn)if(ui.body){var hr=ui.createElement("iframe");hr.style.cssText="display:none",hr.name=cn,ui.body.appendChild(hr)}else setTimeout(Ei,5);return!Kn}(),hn.__tcfapi=function gi(){var ui,Kn=arguments;if(!Kn.length)return _n;"setGdprApplies"===Kn[0]?Kn.length>3&&2===Kn[2]&&"boolean"==typeof Kn[3]&&(ui=Kn[3],"function"==typeof Kn[2]&&Kn[2]("set",!0)):"ping"===Kn[0]?"function"==typeof Kn[2]&&Kn[2]({gdprApplies:ui,cmpLoaded:!1,cmpStatus:"stub"}):("init"===Kn[0]&&"object"==typeof Kn[3]&&(Kn[3]=Object.assign(Kn[3],{tag_version:"V3"})),_n.push(Kn))},hn.addEventListener("message",function Vn(ui){var Kn="string"==typeof ui.data,hr={};try{hr=Kn?JSON.parse(ui.data):ui.data}catch{}var fr=hr.__tcfapiCall;fr&&window.__tcfapi(fr.command,fr.version,function(Lr,aa){var vs={__tcfapiReturn:{returnValue:Lr,success:aa,callId:fr.callId}};Kn&&(vs=JSON.stringify(vs)),ui&&ui.source&&ui.source.postMessage&&ui.source.postMessage(vs,"*")},fr.parameter)},!1))}(),function Ge(){const _n=["2:tcfeuv2","6:uspv1","7:usnatv1","8:usca","9:usvav1","10:uscov1","11:usutv1","12:usctv1"];window.__gpp_addFrame=function(hn){if(!window.frames[hn])if(document.body){var Yn=document.createElement("iframe");Yn.style.cssText="display:none",Yn.name=hn,document.body.appendChild(Yn)}else window.setTimeout(window.__gpp_addFrame,10,hn)},window.__gpp_stub=function(){var hn=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!hn.length||1==hn.length&&"queue"==hn[0])return __gpp.queue;if(1==hn.length&&"events"==hn[0])return __gpp.events;var Yn=hn[0],Ei=hn.length>1?hn[1]:null,gi=hn.length>2?hn[2]:null;if("ping"===Yn)Ei({gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:_n,cmpId:10,sectionList:[],applicableSections:[-1],gppString:"",parsedSections:{}},!0);else if("addEventListener"===Yn){"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var Vn=__gpp.lastId;__gpp.events.push({id:Vn,callback:Ei,parameter:gi}),Ei({eventName:"listenerRegistered",listenerId:Vn,data:!0,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:_n,cmpId:10,sectionList:[],applicableSections:[-1],gppString:"",parsedSections:{}}},!0)}else if("removeEventListener"===Yn){for(var ui=!1,Kn=0;Kn<__gpp.events.length;Kn++)if(__gpp.events[Kn].id==gi){__gpp.events.splice(Kn,1),ui=!0;break}Ei({eventName:"listenerRemoved",listenerId:gi,data:ui,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:_n,cmpId:10,sectionList:[],applicableSections:[-1],gppString:"",parsedSections:{}}},!0)}else"hasSection"===Yn?Ei(!1,!0):"getSection"===Yn||"getField"===Yn?Ei(null,!0):__gpp.queue.push([].slice.apply(hn))},window.__gpp_msghandler=function(hn){var Yn="string"==typeof hn.data;try{var Ei=Yn?JSON.parse(hn.data):hn.data}catch{Ei=null}if("object"==typeof Ei&&null!==Ei&&"__gppCall"in Ei){var gi=Ei.__gppCall;window.__gpp(gi.command,function(Vn,ui){var Kn={__gppReturn:{returnValue:Vn,success:ui,callId:gi.callId}};hn.source.postMessage(Yn?JSON.stringify(Kn):Kn,"*")},"parameter"in gi?gi.parameter:null,"version"in gi?gi.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"))}();var Ot=function(){var cn=arguments;typeof window.__uspapi!==Ot&&setTimeout(function(){typeof window.__uspapi<"u"&&window.__uspapi.apply(window.__uspapi,cn)},500)};if(typeof window.__uspapi>"u"){window.__uspapi=Ot;var ln=setInterval(function(){Q++,window.__uspapi===Ot&&Q<3?console.warn("USP is not accessible"):clearInterval(ln)},6e3)}}()}shouldLoad(){const c=this.pageService.onSearchPage,h=this.languageService.isInEurope();return!(c||!h)}getCmpState(){if(!this.shouldLoad())return"NOT_APPLIED";if(!window.__tcfapi)return"PENDING";let c=null;return window.__tcfapi("ping",2,h=>{c=h.cmpLoaded?"LOADED":"PENDING"}),c}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)}static#e=this.\u0275fac=function(h){return new(h||M)(t.KVO(Oe.b),t.KVO(Ke.g))};static#t=this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})();function Ct(M,d){1&M&&t.nrm(0,"img",4)}function $t(M,d){1&M&&(t.qex(0),t.j41(1,"div",5)(2,"h3"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"h5"),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.j41(8,"h5"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.j41(11,"h6"),t.EFF(12),t.nI1(13,"translate"),t.k0s(),t.j41(14,"h6"),t.EFF(15),t.nI1(16,"translate"),t.k0s()(),t.bVm()),2&M&&(t.R7$(3),t.JRh(t.bMT(4,5,"loading-error.header")),t.R7$(3),t.JRh(t.bMT(7,7,"loading-error.header-text")),t.R7$(3),t.JRh(t.bMT(10,9,"loading-error.results-header")),t.R7$(3),t.JRh(t.bMT(13,11,"loading-error.result-1")),t.R7$(3),t.JRh(t.bMT(16,13,"loading-error.result-2")))}function be(M,d){if(1&M&&(t.j41(0,"div",1),t.DNE(1,Ct,1,0,"img",2)(2,$t,17,15,"ng-container",3),t.k0s()),2&M){const c=t.XpG();t.R7$(),t.Y8G("ngIf",!c.showError),t.R7$(),t.Y8G("ngIf",c.showError)}}let Be=(()=>{class M{constructor(){this.showError=!1}static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275cmp=t.VBU({type:M,selectors:[["lv-loading"]],inputs:{loading:"loading"},standalone:!0,features:[t.aNF],decls:1,vars:1,consts:[["class","loading",4,"ngIf"],[1,"loading"],["src","../../assets/img/loading.gif","alt","",4,"ngIf"],[4,"ngIf"],["src","../../assets/img/loading.gif","alt",""],[1,"errorContainer"]],template:function(h,C){1&h&&t.DNE(0,be,3,2,"div",0),2&h&&t.Y8G("ngIf",C.loading)},dependencies:[G.bT,me.h,me.D9],styles:[".loading[_ngcontent-%COMP%]{position:fixed;inset:0;background:#fff;z-index:1000000;text-align:center;height:100vh;line-height:100vh!important}.errorContainer[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:left;padding:40px}"]})}return M})();var oe=u(9079);function Re(M,d){1&M&&(t.j41(0,"div",4),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"u",5),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6),t.nI1(7,"translate"),t.k0s()),2&M&&(t.R7$(),t.SpI(" ",t.bMT(2,4,"chargebee.non-renewing.canceled")," "),t.R7$(2),t.Y8G("routerLink","/settings"),t.R7$(),t.JRh(t.bMT(5,6,"chargebee.non-renewing.here")),t.R7$(2),t.SpI(" ",t.bMT(7,8,"chargebee.non-renewing.reactivate")," "))}function fe(M,d){1&M&&(t.j41(0,"div",6),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"u",5),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6),t.nI1(7,"translate"),t.k0s()),2&M&&(t.R7$(),t.SpI(" ",t.bMT(2,4,"chargebee.inactive")," "),t.R7$(2),t.Y8G("routerLink","/settings"),t.R7$(),t.JRh(t.bMT(5,6,"chargebee.non-renewing.here")),t.R7$(2),t.SpI(" ",t.bMT(7,8,"chargebee.non-renewing.reactivate")," "))}function ge(M,d){if(1&M&&(t.j41(0,"div",7),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"a",8),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.EFF(6),t.nI1(7,"translate"),t.k0s()),2&M){const c=t.XpG(2);t.R7$(),t.SpI(" ",t.bMT(2,4,"chargebee.dunning-payment.payment")," "),t.R7$(2),t.Y8G("href",c.collectNowHostedPageUrl,t.B4B),t.R7$(),t.JRh(t.bMT(5,6,"chargebee.dunning-payment.pay-now")),t.R7$(2),t.SpI(" ",t.bMT(7,8,"chargebee.dunning-payment.continue")," ")}}function ke(M,d){if(1&M&&(t.qex(0),t.DNE(1,Re,8,10,"div",1)(2,fe,8,10,"div",2)(3,ge,8,10,"div",3),t.bVm()),2&M){const c=t.XpG();t.R7$(),t.Y8G("ngIf","non_renewing"===c.currentUser.chargebeeData.status),t.R7$(),t.Y8G("ngIf","EXPIRED"===c.currentUser.chargebeeData.db_state),t.R7$(),t.Y8G("ngIf","DUNNING"===c.currentUser.chargebeeData.db_state&&c.collectNowHostedPageUrl)}}let qe=(()=>{class M{ngOnInit(){this.currentUser&&(this.currency=this.currentUser.chargebeeData?.planId?.includes("usd")?"$":"\u20ac")}static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275cmp=t.VBU({type:M,selectors:[["lv-chargebee-account-alerts"]],inputs:{currentUser:"currentUser",collectNowHostedPageUrl:"collectNowHostedPageUrl",locale:"locale"},standalone:!0,features:[t.aNF],decls:1,vars:1,consts:[[4,"ngIf"],["class","message non-renewing",4,"ngIf"],["class","message cancelled",4,"ngIf"],["class","message dunning",4,"ngIf"],[1,"message","non-renewing"],[1,"pointer",3,"routerLink"],[1,"message","cancelled"],[1,"message","dunning"],[1,"pointer",3,"href"]],template:function(h,C){1&h&&t.DNE(0,ke,4,3,"ng-container",0),2&h&&t.Y8G("ngIf",C.currentUser&&C.currentUser.chargebeeData)},dependencies:[G.bT,j.Wk,me.h,me.D9],styles:[".message[_ngcontent-%COMP%]{width:100%;color:#fff;background-color:#323232;font-size:1rem;padding:1rem 4rem}.message.non-renewing[_ngcontent-%COMP%]{background-color:#dc3545}.message.cancelled[_ngcontent-%COMP%]{background-color:#6c757d!important}.message.dunning[_ngcontent-%COMP%]{background-color:#dc3545!important}.message.dunning[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline!important;color:#fff}.dunning-message[_ngcontent-%COMP%]{color:#fff;background-color:#dc3545;font-size:1rem;margin:2rem 2rem 0;padding:1rem}@media (max-width: 768px){.dunning-message[_ngcontent-%COMP%]{padding:2rem}}.dunning-message[_ngcontent-%COMP%] .dunning-wrapper[_ngcontent-%COMP%]{display:flex;gap:1rem}@media (max-width: 768px){.dunning-message[_ngcontent-%COMP%] .dunning-wrapper[_ngcontent-%COMP%]{font-size:34px;gap:2rem;padding-bottom:1rem}.dunning-message[_ngcontent-%COMP%] .dunning-wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{transform:scale(2) translateY(6px)}}.dunning-message[_ngcontent-%COMP%] .dunning-wrapper[_ngcontent-%COMP%] .pay-now-link[_ngcontent-%COMP%]{all:unset;text-decoration:underline!important;cursor:pointer!important}.dunning-message[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse}@media (max-width: 768px){.dunning-message[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{padding-top:1rem}}.dunning-message[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:136px;height:1.5rem;font-size:12px;background-color:#f5f5f5;color:#000}@media (max-width: 768px){.dunning-message[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:22px;width:220px;height:44px}}.failedLink[_ngcontent-%COMP%]{all:unset;text-decoration:underline;cursor:pointer!important}.pointer[_ngcontent-%COMP%]{cursor:pointer}.dunning-breakline[_ngcontent-%COMP%]{background-color:#fff!important}"]})}return M})();var Ce=u(5351),We=u(431),Ze=u(3383),gt=u(9886);function an(M,d){if(1&M){const c=t.RV6();t.j41(0,"lv-lib-button",15),t.bIt("click",function(){t.eBV(c);const C=t.XpG();return t.Njj(C.openLogin())}),t.EFF(1," Login "),t.k0s(),t.j41(2,"lv-lib-button",16),t.bIt("click",function(){t.eBV(c);const C=t.XpG();return t.Njj(C.openMembershipSelectionDialog())}),t.EFF(3," Register "),t.k0s()}}let xn=(()=>{class M{constructor(){this.router=(0,t.WQX)(j.Ix),this.dialog=(0,t.WQX)(b.o3),this.matDialog=(0,t.WQX)(Ce.bZ),this.showHeaderMenu=(0,t.vPA)(!1),this.isCollapsed=(0,t.vPA)(!0),this.route=(0,t.vPA)(""),this.searchValue=(0,t.vPA)(""),this.searchSubmitted=(0,t.CGW)(),this.logoutAction=(0,t.CGW)(),this.isLoggedIn=t.hFB.required(),this.menuItems=(0,t.EWP)(()=>{const c=[{icon:"lock",title:"Privacy Policy"},{icon:"shield",title:"GTC"},{icon:"article",title:"Imprint"},{icon:"cookie",title:"Cookies"}];return this.isLoggedIn()&&c.push({icon:"logout",title:"Logout"}),c})}onSearchSubmitted(c){this.searchSubmitted.emit(c)}onClickMobileHeaderMenu(c){c&&this.showHeaderMenu.update(h=>!h)}handleCollapseChange(c){this.isCollapsed.set(c),this.showHeaderMenu.set(!1)}openMembershipSelectionDialog(){this.dialog.open(Ze.v,{data:{hasCountdown:!1}})}openLogin(){this.dialog.open(We.X)}handleMenuItemClick(c){switch(c.title.toLowerCase()){case"logout":this.logoutAction.emit(!0);break;case"privacy policy":this.matDialog.open(gt.p,{panelClass:"full-width",data:{type:"privacy"}});break;case"gtc":this.matDialog.open(gt.p,{panelClass:"full-width",data:{type:"gtc"}});break;case"imprint":this.matDialog.open(gt.p,{panelClass:"full-width",data:{type:"imprint"}});break;case"cookies":window.__tcfapi("displayConsentUi",2,()=>{})}}static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275cmp=t.VBU({type:M,selectors:[["lv-creator-header"]],inputs:{isLoggedIn:[t.Mj6.SignalBased,"isLoggedIn"]},outputs:{searchSubmitted:"searchSubmitted",logoutAction:"logoutAction"},standalone:!0,features:[t.aNF],decls:18,vars:10,consts:[[1,"header",3,"maxWidth"],["desktop","",1,"header__desktop"],["routerLink","",1,"header__logo"],["src","assets/img/linkvertise_logo_small.svg","alt","Linkvertise 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__second-half"],[1,"header__searchbar"],["defaultPlaceholder","Explore",3,"searchValueChange","searchSubmitted","searchValue"],[1,"header__buttons"],["mobile","",1,"header__mobile"],["routerLink","",1,"header__mobile-logo-wrapper"],["src","assets/img/linkvertise_logo_big.svg","alt","Linkvertise Logo",1,"header__mobile-logo-img"],["defaultPlaceholder","Explore",1,"header__mobile-searchbar",3,"searchSubmitted","isCollapsedChange","animation"],["type","text","shape","square","size","md",1,"header__mobile-navigation-button",3,"click","rounded","iconOnly"],[3,"onMenuItemClick","showMenu","menuItems"],["type","neutral","shape","round","size","md",3,"click"],["type","primary","shape","round","size","md",3,"click"]],template:function(h,C){1&h&&(t.j41(0,"lv-lib-header-new",0)(1,"div",1)(2,"div",2),t.nrm(3,"img",3)(4,"img",4),t.k0s(),t.j41(5,"div",5)(6,"div",6)(7,"lv-lib-search-bar",7),t.mxI("searchValueChange",function(Q){return t.DH7(C.searchValue,Q)||(C.searchValue=Q),Q}),t.bIt("searchSubmitted",function(Q){return C.onSearchSubmitted(Q)}),t.k0s()(),t.j41(8,"div",8),t.DNE(9,an,4,0),t.k0s()()(),t.j41(10,"div",9)(11,"div",10),t.nrm(12,"img",11),t.k0s(),t.j41(13,"lv-lib-search-bar",12),t.bIt("searchSubmitted",function(Q){return C.onSearchSubmitted(Q)})("isCollapsedChange",function(Q){return C.handleCollapseChange(Q)}),t.k0s(),t.j41(14,"lv-lib-button",13),t.bIt("click",function(Q){return C.onClickMobileHeaderMenu(Q)}),t.j41(15,"mat-icon"),t.EFF(16,"more_vert"),t.k0s()(),t.j41(17,"lv-lib-header-menu",14),t.bIt("onMenuItemClick",function(Q){return C.handleMenuItemClick(Q)}),t.k0s()()()),2&h&&(t.Y8G("maxWidth",1536),t.R7$(7),t.R50("searchValue",C.searchValue),t.R7$(2),t.vxM(9,C.isLoggedIn()?-1:9),t.R7$(4),t.Y8G("animation",!0),t.R7$(),t.Y8G("rounded",!0)("iconOnly",!0),t.R7$(),t.AVh("--active",C.showHeaderMenu()),t.R7$(2),t.Y8G("showMenu",C.showHeaderMenu())("menuItems",C.menuItems()))},dependencies:[G.MD,b.Xb,b.Qw,b.tx,b.sE,xe.An,Ce.hM,j.Wk],styles:[".header[_ngcontent-%COMP%]{height:100%;width:100%}.header__desktop[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1.5rem}@media (min-width: 1024px){.header__desktop[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 3fr}}@media (min-width: 768px){.header__desktop[_ngcontent-%COMP%]{padding:0 1.5rem}}.header__second-half[_ngcontent-%COMP%]{display:flex;gap:1.5rem;width:100%}@media (min-width: 1024px){.header__second-half[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;gap:unset}}.header__logo[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}.header__logo-img[_ngcontent-%COMP%]{height:auto;cursor:pointer}.header__logo-img--small[_ngcontent-%COMP%]{display:none}.header__logo-img--big[_ngcontent-%COMP%]{display:block}.header__searchbar[_ngcontent-%COMP%]{width:100%}@media (min-width: 1024px){.header__searchbar[_ngcontent-%COMP%]{padding-right:1.5rem}}.header__buttons[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:flex-end;align-items:flex-start;gap:.5rem}.header__mobile[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;height:100%}.header__mobile-logo-wrapper[_ngcontent-%COMP%]{display:flex;z-index:2}.header__mobile-logo-img[_ngcontent-%COMP%]{width:144px}.header__mobile-searchbar[_ngcontent-%COMP%]{width:100%;position:absolute}.header__mobile-navigation-button[_ngcontent-%COMP%]{position:absolute;right:60px}.header__mobile-navigation-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:gray}.header__mobile-navigation-button[_ngcontent-%COMP%] mat-icon.--active[_ngcontent-%COMP%]{color:#323232}@media (max-width: 1024px){.header__logo[_ngcontent-%COMP%]{width:auto;flex-shrink:0}.header__logo-img--small[_ngcontent-%COMP%]{display:block}.header__logo-img--big[_ngcontent-%COMP%]{display:none}.header__searchbar[_ngcontent-%COMP%]{width:100%}.header__buttons[_ngcontent-%COMP%]{flex:1}}"]})}return M})();function Tn(M,d){if(1&M){const c=t.RV6();t.j41(0,"lv-lib-sidebar-navigation-item",4),t.bIt("onClick",function(){const C=t.eBV(c).$implicit,z=t.XpG();return t.Njj(z.navigateTo(C.route,C.name))}),t.k0s()}if(2&M){const c=d.$implicit,h=t.XpG();t.Y8G("isLoggedIn",h.isLoggedIn())("followBadge","home"===c.name&&h.hasFollowedUsers())("icon",c.icon)("route",c.route)("label",c.label)("assetLink",c.assetLink)}}function Rn(M,d){if(1&M){const c=t.RV6();t.j41(0,"lv-lib-sidebar-navigation-item",5),t.bIt("onClick",function(){const C=t.eBV(c).$implicit,z=t.XpG();return t.Njj(z.openItemDialog(C.name))}),t.k0s()}if(2&M){const c=d.$implicit,h=t.XpG();t.Y8G("isLoggedIn",h.isLoggedIn())("icon",c.icon)("route",c.route)("label",c.label)("footer",!0)("itemIsActive",c.name===h.activeItem())}}function ii(M,d){if(1&M){const c=t.RV6();t.j41(0,"lv-lib-sidebar-navigation-item",6),t.bIt("onClick",function(){t.eBV(c);const C=t.XpG();return t.Njj(C.logout())}),t.k0s()}if(2&M){const c=t.XpG();t.Y8G("footer",!0)("isLoggedIn",c.isLoggedIn())}}function Cn(M,d){if(1&M){const c=t.RV6();t.j41(0,"lv-lib-sidebar-navigation-item",7),t.bIt("onClick",function(){const C=t.eBV(c).$implicit,z=t.XpG();return t.Njj(z.navigateTo(C.route,C.name))}),t.k0s()}if(2&M){const c=d.$implicit,h=t.XpG();t.Y8G("isLoggedIn",h.isLoggedIn())("icon",c.icon)("route",c.route)("isMobile",c.isMobile)("assetLink",c.assetLink)}}let ot=(()=>{class M{constructor(){this.dialogService=(0,t.WQX)(Ce.bZ),this.dialog=(0,t.WQX)(b.o3),this.router=(0,t.WQX)(j.Ix),this.authService=(0,t.WQX)(D.u),this.isLoggedIn=(0,t.hFB)(),this.followedUser=(0,t.hFB)([]),this.activeItem=(0,t.vPA)(""),this.navItems=[{icon:"home",route:"/",label:"For you",name:"home"},{icon:"users_team_employee",route:"/subscribed",label:"Following",name:"following"},{icon:"bar_chart",route:"https://publisher.linkvertise.com/dashboard",label:"Dashboard",name:"dashboard"},{icon:"account",route:"/settings",label:"Account",name:"settings"},{icon:"add_circle_outlined",route:"https://publisher.linkvertise.com/dashboard#link-create",label:"Monetize Assets",assetLink:!0,name:"monetize"}],this.navFooterItems=[{icon:"lock",route:"/privacy",label:"Privacy Policy",footer:!0,name:"privacy"},{icon:"shield",route:"/gtc",label:"GTC",footer:!0,name:"gtc"},{icon:"blog",route:"/imprint",label:"Imprint",footer:!0,name:"imprint"},{icon:"cookie",route:"/cookies",label:"Cookies",footer:!0,name:"cookie"}],this.navMobileItems=[{icon:"home",route:"/",isMobile:!0},{icon:"users_team_employee",route:"/subscribed",isMobile:!0,name:"following"},{icon:"add",route:"https://publisher.linkvertise.com/dashboard#link-create",isMobile:!0,assetLink:!0,name:"monetize"},{icon:"bar_chart",route:"https://publisher.linkvertise.com/dashboard",isMobile:!0,name:"dashboard"},{icon:"account",route:"/settings",name:"settings",isMobile:!0}],this.hasFollowedUsers=(0,t.EWP)(()=>!(!this.isLoggedIn()||!this.followedUser())&&this.followedUser().length>0)}openItemDialog(c){this.activeItem.set(c),"cookie"===c?this.openInMobiIFrame():this.dialogService.open(gt.p,{data:{type:c}}).afterClosed().subscribe(()=>{this.activeItem.set("")})}openMembershipSelectionDialog(){this.dialog.open(Ze.v,{data:{hasCountdown:!1}})}openInMobiIFrame(){window.__tcfapi("displayConsentUi",2,()=>{})}navigateTo(c,h){this.isLoggedIn()||"following"!==h&&"settings"!==h?"dashboard"===h||"monetize"===h?window.open(c,"_blank"):this.router.navigate([c]):this.openMembershipSelectionDialog()}logout(){this.authService.logout()}static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275cmp=t.VBU({type:M,selectors:[["lv-creator-sidebar"]],inputs:{isLoggedIn:[t.Mj6.SignalBased,"isLoggedIn"],followedUser:[t.Mj6.SignalBased,"followedUser"]},standalone:!0,features:[t.aNF],decls:8,vars:1,consts:[["sidebarItem","",3,"isLoggedIn","followBadge","icon","route","label","assetLink"],["sidebarFooterItem","",3,"isLoggedIn","icon","route","label","footer","itemIsActive"],["sidebarFooterItem","","icon","logout","label","Logout",3,"footer","isLoggedIn"],["mobileSidebarItem","",3,"isLoggedIn","icon","route","isMobile","assetLink"],["sidebarItem","",3,"onClick","isLoggedIn","followBadge","icon","route","label","assetLink"],["sidebarFooterItem","",3,"onClick","isLoggedIn","icon","route","label","footer","itemIsActive"],["sidebarFooterItem","","icon","logout","label","Logout",3,"onClick","footer","isLoggedIn"],["mobileSidebarItem","",3,"onClick","isLoggedIn","icon","route","isMobile","assetLink"]],template:function(h,C){1&h&&(t.j41(0,"lv-lib-sidebar-navigation"),t.Z7z(1,Tn,1,6,"lv-lib-sidebar-navigation-item",0,t.fX1),t.Z7z(3,Rn,1,6,"lv-lib-sidebar-navigation-item",1,t.fX1),t.DNE(5,ii,1,2,"lv-lib-sidebar-navigation-item",2),t.Z7z(6,Cn,1,5,"lv-lib-sidebar-navigation-item",3,t.fX1),t.k0s()),2&h&&(t.R7$(),t.Dyx(C.navItems),t.R7$(2),t.Dyx(C.navFooterItems),t.R7$(2),t.vxM(5,C.isLoggedIn()?5:-1),t.R7$(),t.Dyx(C.navMobileItems))},dependencies:[G.MD,b.FX,b.gO]})}return M})();var Le=u(7484),at=u(9576);function _t(M,d){if(1&M&&t.nrm(0,"lv-chargebee-account-alerts",2),2&M){const c=t.XpG();t.Y8G("collectNowHostedPageUrl",c.nowHostedPageUrl())("currentUser",c.user)}}let rn=(()=>{class M{constructor(c,h,C,z,Q,Me,Xe,Ge,Ot,Vt,ln,cn,_n){this.activatedRoute=c,this.dialog=h,this.translateService=C,this.auth=z,this.router=Q,this.apiAccountService=Me,this.profileService=Xe,this.languageService=Ge,this.apiSearchService=Ot,this.adblockService=Vt,this.loadingService=ln,this.inMobiService=cn,this.document=_n,this.subscription=new R.yU,this.routeAndParams$=(0,P.z)([this.router.events.pipe((0,I.p)(hn=>hn instanceof j.wF)),this.activatedRoute.queryParams]),this.title="creator-web",this.isLoggedIn=(0,t.EWP)(()=>this.auth.isLoggedIn()),this.followedUser=(0,oe.ot)(this.profileService.getSubscriber().pipe((0,A.T)(hn=>hn.data.subscriptions))),this.nowHostedPageUrl=(0,t.vPA)(this.auth.collectNowHostedPageUrl),this.onResize=(0,B.debounce)(this.onResize,150,{leading:!1,trailing:!0}),this.locale=this.languageService.locale,this.subscription.add(this.routeAndParams$.subscribe(([hn,Yn])=>{hn.url.includes("reset-password")&&this.dialog.open(Pe,{data:{token:Yn?.token,email:Yn?.email}})}))}ngOnInit(){this.adblockService.check(),this.createLinkForCanonicalURL(),this.screenWidth=window.innerWidth,this.auth.readFromLocalStorage(),this.apiAccountService.getAccount().subscribe(c=>{this.user=c.data.user,this.languageService.country=c.country,this.inMobiService.initInMobi(),this.translateService.setDefaultLang("en"),this.translateService.use(this.locale).subscribe(h=>{this.languageService.anounceTranslationsAvailable()})})}ngOnDestroy(){this.subscription.unsubscribe()}handleSearch(c){this.apiSearchService.performSearch(c)}onLogoutAction(c){c&&this.auth.logout()}scrollToTop(){const c=document.getElementById("top");null!==c&&c.scrollIntoView()}setAdBlock(c){this.adblockService.isAdBlocked=!0,this.adblockService.detected.emit()}onResize(c){this.screenWidth=c.target.innerWidth}createLinkForCanonicalURL(){const c=this.document.createElement("link");c.setAttribute("rel","canonical"),this.document.head.appendChild(c),c.setAttribute("href",this.document.URL.split("?")[0])}static#e=this.\u0275fac=function(h){return new(h||M)(t.rXU(j.nX),t.rXU(b.o3),t.rXU(me.c$),t.rXU(D.u),t.rXU(j.Ix),t.rXU(E.H),t.rXU(ee.p),t.rXU(Ke.g),t.rXU($.C),t.rXU(Le.u),t.rXU(at.U),t.rXU(Nt),t.rXU(G.qQ))};static#t=this.\u0275cmp=t.VBU({type:M,selectors:[["lv-root"]],hostBindings:function(h,C){1&h&&t.bIt("lvAdblock",function(Q){return C.setAdBlock(Q)},!1,t.EBC)("resize",function(Q){return C.onResize(Q)},!1,t.tSv)},standalone:!0,features:[t.aNF],decls:11,vars:5,consts:[[3,"loading"],[1,"alert"],[3,"collectNowHostedPageUrl","currentUser"],[1,"layout"],[1,"header-wrapper"],[3,"searchSubmitted","logoutAction","isLoggedIn"],[1,"main-container"],[1,"sidebar"],[3,"followedUser","isLoggedIn"],[1,"content-wrapper"]],template:function(h,C){1&h&&(t.nrm(0,"lv-loading",0),t.j41(1,"div",1),t.DNE(2,_t,1,2,"lv-chargebee-account-alerts",2),t.k0s(),t.j41(3,"div",3)(4,"div",4)(5,"lv-creator-header",5),t.bIt("searchSubmitted",function(Q){return C.handleSearch(Q)})("logoutAction",function(Q){return C.onLogoutAction(Q)}),t.k0s()(),t.j41(6,"div",6)(7,"div",7),t.nrm(8,"lv-creator-sidebar",8),t.k0s(),t.j41(9,"div",9),t.nrm(10,"router-outlet"),t.k0s()()()),2&h&&(t.Y8G("loading",C.loadingService.isLoading()),t.R7$(2),t.vxM(2,C.isLoggedIn()?2:-1),t.R7$(3),t.Y8G("isLoggedIn",C.isLoggedIn()),t.R7$(3),t.Y8G("followedUser",C.followedUser())("isLoggedIn",C.isLoggedIn()))},dependencies:[Be,xn,ot,qe,j.n3],styles:['.lv-text-color-main[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500!important;color:#ff8114!important}.lv-text-color-blue[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500!important;color:#007bff!important}.lv-text-color-green[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500!important;color:#28a745!important}.lv-caption[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:400;font-size:12px;line-height:14px;color:#dbdbdb}.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:16px;line-height:24px;letter-spacing:0;color:#ff8114}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em;display:table}@media (max-width: 768px){.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-size:24px;line-height:32px!important}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em!important;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em!important;display:table}}.link.small[_ngcontent-%COMP%], .link-left.small[_ngcontent-%COMP%]{font-size:12px;line-height:14px}.link.small[_ngcontent-%COMP%]:before, .link-left.small[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.6309em;display:table}.link.small[_ngcontent-%COMP%]:after, .link-left.small[_ngcontent-%COMP%]:after{content:"";margin-top:-.6582em;display:table}.link[_ngcontent-%COMP%]:hover, .link-left[_ngcontent-%COMP%]:hover{color:#cc6810}.lv-label[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:12px;line-height:13px;letter-spacing:-10;border-radius:100px;height:25px;width:-moz-fit-content;width:fit-content;padding:5px 10px}.lv-color-label-main[_ngcontent-%COMP%]{color:#fff;background-color:#ff8114}.lv-color-label-main[_ngcontent-%COMP%]:hover{background-color:#cc6810}.lv-color-label-positive[_ngcontent-%COMP%]{color:#fff;background-color:#28a745}.lv-color-label-positive[_ngcontent-%COMP%]:hover{background-color:#18662b}.lv-color-label-neutral[_ngcontent-%COMP%]{color:#fff;background-color:#323232}.lv-color-label-neutral[_ngcontent-%COMP%]:hover{background-color:gray}.lv-color-label-negative[_ngcontent-%COMP%]{color:#fff;background-color:#dc3545}.lv-color-label-negative[_ngcontent-%COMP%]:hover{background-color:#9c2531}.lv-badge-color-blue[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500!important;color:#007bff!important}.lv-text-color-red[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500!important;color:#dc3545!important}.alert[_ngcontent-%COMP%]{padding-top:0}.layout[_ngcontent-%COMP%]{width:100%;padding:0}.layout[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%]{vertical-align:middle;z-index:100;position:sticky;position:-webkit-sticky;top:0;background-color:#fff;height:64px;width:100%;margin:auto}@media (min-width: 768px){.layout[_ngcontent-%COMP%] .header-wrapper[_ngcontent-%COMP%]{height:80px}}.layout[_ngcontent-%COMP%] .main-container[_ngcontent-%COMP%]{max-width:1536px;display:grid;grid-template-columns:1fr;margin:0 auto;padding-top:1.5rem}@media (min-width: 768px){.layout[_ngcontent-%COMP%] .main-container[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 0;grid-template-columns:1fr 3fr;gap:1.5rem}}.layout[_ngcontent-%COMP%] .main-container[_ngcontent-%COMP%] .sidebar[_ngcontent-%COMP%]{width:100%;position:fixed;z-index:100;bottom:0}@media (min-width: 768px){.layout[_ngcontent-%COMP%] .main-container[_ngcontent-%COMP%] .sidebar[_ngcontent-%COMP%]{height:calc(100vh - 75px - 2.5rem);position:sticky;top:104px}}.layout[_ngcontent-%COMP%] .main-container[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{position:relative}@media (min-width: 768px){.layout[_ngcontent-%COMP%] .main-container[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{grid-column:2}}']})}return M})();var Hn=u(345),Xn=u(1626),Bt=u(1806),ce=u(1635),Ye=u(807),Je=u(9163),xt=u(9860),Kt=u(6108),pt=u(2151),jt=u(4229),nt=u(7994),mt=u(1115),At=u(9055),Yt=u(8782),jn=u(9471),En=u(4539),$n=function(){function M(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,Je.LV)(Kt.ct,{max:pt.v["cache.fragmentQueryDocuments"]||1e3,cache:At.l})}return M.prototype.lookupFragment=function(d){return null},M.prototype.batch=function(d){var C,c=this;return this.performTransaction(function(){return C=d.update(c)},"string"==typeof d.optimistic?d.optimistic:!1===d.optimistic?null:void 0),C},M.prototype.recordOptimisticTransaction=function(d,c){this.performTransaction(d,c)},M.prototype.transformDocument=function(d){return d},M.prototype.transformForLink=function(d){return d},M.prototype.identify=function(d){},M.prototype.gc=function(){return[]},M.prototype.modify=function(d){return!1},M.prototype.readQuery=function(d,c){return void 0===c&&(c=!!d.optimistic),this.read((0,ce.Cl)((0,ce.Cl)({},d),{rootId:d.id||"ROOT_QUERY",optimistic:c}))},M.prototype.watchFragment=function(d){var c=this,h=d.fragment,C=d.fragmentName,z=d.from,Q=d.optimistic,Me=void 0===Q||Q,Xe=(0,ce.Tt)(d,["fragment","fragmentName","from","optimistic"]),Ge=this.getFragmentDoc(h,C),Ot=typeof z>"u"||"string"==typeof z?z:this.identify(z),Vt=!!d[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var ln=C||(0,jt.E4)(h).name.value;Ot||!1!==globalThis.__DEV__&&Ye.V1.warn(1,ln)}var _n,cn=(0,ce.Cl)((0,ce.Cl)({},Xe),{returnPartialData:!0,id:Ot,query:Ge,optimistic:Me});return new nt.c(function(hn){return c.watch((0,ce.Cl)((0,ce.Cl)({},cn),{immediate:!0,callback:function(Yn){var Ei=Vt?(0,En.z)(Yn.result,h,c,C):Yn.result;if(!_n||!(0,jn.a)(Ge,{data:_n?.result},{data:Ei})){var gi={data:Ei,complete:!!Yn.complete};Yn.missing&&(gi.missing=(0,mt.IM)(Yn.missing.map(function(Vn){return Vn.missing}))),_n=(0,ce.Cl)((0,ce.Cl)({},Yn),{result:Ei}),hn.next(gi)}}}))})},M.prototype.readFragment=function(d,c){return void 0===c&&(c=!!d.optimistic),this.read((0,ce.Cl)((0,ce.Cl)({},d),{query:this.getFragmentDoc(d.fragment,d.fragmentName),rootId:d.id,optimistic:c}))},M.prototype.writeQuery=function(d){var c=d.id,h=d.data,C=(0,ce.Tt)(d,["id","data"]);return this.write(Object.assign(C,{dataId:c||"ROOT_QUERY",result:h}))},M.prototype.writeFragment=function(d){var c=d.id,h=d.data,C=d.fragment,z=d.fragmentName,Q=(0,ce.Tt)(d,["id","data","fragment","fragmentName"]);return this.write(Object.assign(Q,{query:this.getFragmentDoc(C,z),dataId:c,result:h}))},M.prototype.updateQuery=function(d,c){return this.batch({update:function(h){var C=h.readQuery(d),z=c(C);return null==z?C:(h.writeQuery((0,ce.Cl)((0,ce.Cl)({},d),{data:z})),z)}})},M.prototype.updateFragment=function(d,c){return this.batch({update:function(h){var C=h.readFragment(d),z=c(C);return null==z?C:(h.writeFragment((0,ce.Cl)((0,ce.Cl)({},d),{data:z})),z)}})},M}();!1!==globalThis.__DEV__&&($n.prototype.getMemoryInternals=Yt.tQ);var ki=function(M){function d(c,h,C,z){var Q,Me=M.call(this,c)||this;if(Me.message=c,Me.path=h,Me.query=C,Me.variables=z,Array.isArray(Me.path)){Me.missing=Me.message;for(var Xe=Me.path.length-1;Xe>=0;--Xe)Me.missing=((Q={})[Me.path[Xe]]=Me.missing,Q)}else Me.missing=Me.path;return Me.__proto__=d.prototype,Me}return(0,ce.C6)(d,M),d}(Error),Qn=u(8926),Jt=u(1601),wi=u(2130),Qt=u(1658),Zt=u(1367),He=u(1955),Ee=u(6500),q=u(120),J=u(4183),Ie=u(2848),rt=u(1181),Xt=u(4420),yn=u(7715),Lt=Object.prototype.hasOwnProperty;function Mt(M){return null==M}function et(M,d){var c=M.__typename,h=M.id,C=M._id;if("string"==typeof c&&(d&&(d.keyObject=Mt(h)?Mt(C)?void 0:{_id:C}:{id:h}),Mt(h)&&!Mt(C)&&(h=C),!Mt(h)))return"".concat(c,":").concat("number"==typeof h||"string"==typeof h?h:JSON.stringify(h))}var St={dataIdFromObject:et,addTypename:!0,resultCaching:!0,canonizeResults:!1};function _i(M){var d=M.canonizeResults;return void 0===d?St.canonizeResults:d}var ir=/^[_a-z][_0-9a-z]*/i;function it(M){var d=M.match(ir);return d?d[0]:M}function si(M,d,c){return!!(0,rt.U)(d)&&((0,yn.c)(d)?d.every(function(h){return si(M,h,c)}):M.selections.every(function(h){if((0,Zt.dt)(h)&&(0,J.MS)(h,c)){var C=(0,Zt.ue)(h);return Lt.call(d,C)&&(!h.selectionSet||si(h.selectionSet,d[C],c))}return!0}))}function we(M){return(0,rt.U)(M)&&!(0,Zt.A_)(M)&&!(0,yn.c)(M)}function Rt(M,d){var c=(0,Kt.JG)((0,jt.zK)(M));return{fragmentMap:c,lookupFragment:function(h){var C=c[h];return!C&&d&&(C=d.lookup(h)),C||null}}}var M,d,qn=Object.create(null),ei=function(){return qn},nr=Object.create(null),Mr=function(){function M(d,c){var h=this;this.policies=d,this.group=c,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(C,z){return(0,Ie.G)((0,Zt.A_)(C)?h.get(C.__ref,z):C&&C[z])},this.canRead=function(C){return(0,Zt.A_)(C)?h.has(C.__ref):"object"==typeof C},this.toReference=function(C,z){if("string"==typeof C)return(0,Zt.WU)(C);if((0,Zt.A_)(C))return C;var Q=h.policies.identify(C)[0];if(Q){var Me=(0,Zt.WU)(Q);return z&&h.merge(Q,C),Me}}}return M.prototype.toObject=function(){return(0,ce.Cl)({},this.data)},M.prototype.has=function(d){return void 0!==this.lookup(d,!0)},M.prototype.get=function(d,c){if(this.group.depend(d,c),Lt.call(this.data,d)){var h=this.data[d];if(h&&Lt.call(h,c))return h[c]}return"__typename"===c&&Lt.call(this.policies.rootTypenamesById,d)?this.policies.rootTypenamesById[d]:this instanceof vi?this.parent.get(d,c):void 0},M.prototype.lookup=function(d,c){return c&&this.group.depend(d,"__exists"),Lt.call(this.data,d)?this.data[d]:this instanceof vi?this.parent.lookup(d,c):this.policies.rootTypenamesById[d]?Object.create(null):void 0},M.prototype.merge=function(d,c){var C,h=this;(0,Zt.A_)(d)&&(d=d.__ref),(0,Zt.A_)(c)&&(c=c.__ref);var z="string"==typeof d?this.lookup(C=d):d,Q="string"==typeof c?this.lookup(C=c):c;if(Q){(0,Ye.V1)("string"==typeof C,2);var Me=new mt.ZI(Ue).merge(z,Q);if(this.data[C]=Me,Me!==z&&(delete this.refs[C],this.group.caching)){var Xe=Object.create(null);z||(Xe.__exists=1),Object.keys(Q).forEach(function(Ge){if(!z||z[Ge]!==Me[Ge]){Xe[Ge]=1;var Ot=it(Ge);Ot!==Ge&&!h.policies.hasKeyArgs(Me.__typename,Ot)&&(Xe[Ot]=1),void 0===Me[Ge]&&!(h instanceof vi)&&delete Me[Ge]}}),Xe.__typename&&!(z&&z.__typename)&&this.policies.rootTypenamesById[C]===Me.__typename&&delete Xe.__typename,Object.keys(Xe).forEach(function(Ge){return h.group.dirty(C,Ge)})}}},M.prototype.modify=function(d,c){var h=this,C=this.lookup(d);if(C){var z=Object.create(null),Q=!1,Me=!0,Xe={DELETE:qn,INVALIDATE:nr,isReference:Zt.A_,toReference:this.toReference,canRead:this.canRead,readField:function(Ge,Ot){return h.policies.readField("string"==typeof Ge?{fieldName:Ge,from:Ot||(0,Zt.WU)(d)}:Ge,{store:h})}};if(Object.keys(C).forEach(function(Ge){var Ot=it(Ge),Vt=C[Ge];if(void 0!==Vt){var ln="function"==typeof c?c:c[Ge]||c[Ot];if(ln){var cn=ln===ei?qn:ln((0,Ie.G)(Vt),(0,ce.Cl)((0,ce.Cl)({},Xe),{fieldName:Ot,storeFieldName:Ge,storage:h.getStorage(d,Ge)}));if(cn===nr)h.group.dirty(d,Ge);else if(cn===qn&&(cn=void 0),cn!==Vt&&(z[Ge]=cn,Q=!0,Vt=cn,!1!==globalThis.__DEV__)){var _n=function(Kn){if(void 0===h.lookup(Kn.__ref))return!1!==globalThis.__DEV__&&Ye.V1.warn(3,Kn),!0};if((0,Zt.A_)(cn))_n(cn);else if(Array.isArray(cn))for(var hn=!1,Yn=void 0,Ei=0,gi=cn;Ei0){var c=--this.rootIds[d];return c||delete this.rootIds[d],c}return 0},M.prototype.getRootIdSet=function(d){return void 0===d&&(d=new Set),Object.keys(this.rootIds).forEach(d.add,d),this instanceof vi?this.parent.getRootIdSet(d):Object.keys(this.policies.rootTypenamesById).forEach(d.add,d),d},M.prototype.gc=function(){var d=this,c=this.getRootIdSet(),h=this.toObject();c.forEach(function(Q){Lt.call(h,Q)&&(Object.keys(d.findChildRefIds(Q)).forEach(c.add,c),delete h[Q])});var C=Object.keys(h);if(C.length){for(var z=this;z instanceof vi;)z=z.parent;C.forEach(function(Q){return z.delete(Q)})}return C},M.prototype.findChildRefIds=function(d){if(!Lt.call(this.refs,d)){var c=this.refs[d]=Object.create(null),h=this.data[d];if(!h)return c;var C=new Set([h]);C.forEach(function(z){(0,Zt.A_)(z)&&(c[z.__ref]=!0),(0,rt.U)(z)&&Object.keys(z).forEach(function(Q){var Me=z[Q];(0,rt.U)(Me)&&C.add(Me)})})}return this.refs[d]},M.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},M}(),lr=function(){function M(d,c){void 0===c&&(c=null),this.caching=d,this.parent=c,this.d=null,this.resetCaching()}return M.prototype.resetCaching=function(){this.d=this.caching?(0,Je.yN)():null,this.keyMaker=new Xt.b(Ee.et)},M.prototype.depend=function(d,c){if(this.d){this.d(Dr(d,c));var h=it(c);h!==c&&this.d(Dr(d,h)),this.parent&&this.parent.depend(d,c)}},M.prototype.dirty=function(d,c){this.d&&this.d.dirty(Dr(d,c),"__exists"===c?"forget":"setDirty")},M}();function Dr(M,d){return d+"#"+M}function cr(M,d){st(M)&&M.group.depend(d,"__exists")}d=function(c){function h(C){var Q=C.resultCaching,Xe=C.seed,Ge=c.call(this,C.policies,new lr(void 0===Q||Q))||this;return Ge.stump=new qr(Ge),Ge.storageTrie=new Xt.b(Ee.et),Xe&&Ge.replace(Xe),Ge}return(0,ce.C6)(h,c),h.prototype.addLayer=function(C,z){return this.stump.addLayer(C,z)},h.prototype.removeLayer=function(){return this},h.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},h}(M=Mr||(Mr={})),M.Root=d;var vi=function(M){function d(c,h,C,z){var Q=M.call(this,h.policies,z)||this;return Q.id=c,Q.parent=h,Q.replay=C,Q.group=z,C(Q),Q}return(0,ce.C6)(d,M),d.prototype.addLayer=function(c,h){return new d(c,this,h,this.group)},d.prototype.removeLayer=function(c){var h=this,C=this.parent.removeLayer(c);return c===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(z){var Q=h.data[z],Me=C.lookup(z);Me?Q?Q!==Me&&Object.keys(Q).forEach(function(Xe){(0,xt.L)(Q[Xe],Me[Xe])||h.group.dirty(z,Xe)}):(h.group.dirty(z,"__exists"),Object.keys(Me).forEach(function(Xe){h.group.dirty(z,Xe)})):h.delete(z)}),C):C===this.parent?this:C.addLayer(this.id,this.replay)},d.prototype.toObject=function(){return(0,ce.Cl)((0,ce.Cl)({},this.parent.toObject()),this.data)},d.prototype.findChildRefIds=function(c){var h=this.parent.findChildRefIds(c);return Lt.call(this.data,c)?(0,ce.Cl)((0,ce.Cl)({},h),M.prototype.findChildRefIds.call(this,c)):h},d.prototype.getStorage=function(){for(var c=this.parent;c.parent;)c=c.parent;return c.getStorage.apply(c,arguments)},d}(Mr),qr=function(M){function d(c){return M.call(this,"EntityStore.Stump",c,function(){},new lr(c.group.caching,c.group))||this}return(0,ce.C6)(d,M),d.prototype.removeLayer=function(){return this},d.prototype.merge=function(c,h){return this.parent.merge(c,h)},d}(vi);function Ue(M,d,c){var h=M[c],C=d[c];return(0,xt.L)(h,C)?h:C}function st(M){return!!(M instanceof Mr&&M.group.caching)}var nn=function(){function M(){this.known=new(Ee.En?WeakSet:Set),this.pool=new Xt.b(Ee.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return M.prototype.isKnown=function(d){return(0,rt.U)(d)&&this.known.has(d)},M.prototype.pass=function(d){if((0,rt.U)(d)){var c=function ct(M){return(0,rt.U)(M)?(0,yn.c)(M)?M.slice(0):(0,ce.Cl)({__proto__:Object.getPrototypeOf(M)},M):M}(d);return this.passes.set(c,d),c}return d},M.prototype.admit=function(d){var c=this;if((0,rt.U)(d)){var h=this.passes.get(d);if(h)return h;switch(Object.getPrototypeOf(d)){case Array.prototype:if(this.known.has(d))return d;var z=d.map(this.admit,this);return(Q=this.pool.lookupArray(z)).array||(this.known.add(Q.array=z),!1!==globalThis.__DEV__&&Object.freeze(z)),Q.array;case null:case Object.prototype:if(this.known.has(d))return d;var Me=Object.getPrototypeOf(d),Xe=[Me],Ge=this.sortedKeys(d);Xe.push(Ge.json);var Q,Ot=Xe.length;if(Ge.sorted.forEach(function(cn){Xe.push(c.admit(d[cn]))}),!(Q=this.pool.lookupArray(Xe)).object){var Vt=Q.object=Object.create(Me);this.known.add(Vt),Ge.sorted.forEach(function(cn,_n){Vt[cn]=Xe[Ot+_n]}),!1!==globalThis.__DEV__&&Object.freeze(Vt)}return Q.object}}return d},M.prototype.sortedKeys=function(d){var c=Object.keys(d),h=this.pool.lookupArray(c);if(!h.keys){c.sort();var C=JSON.stringify(c);(h.keys=this.keysByJSON.get(C))||this.keysByJSON.set(C,h.keys={sorted:c,json:C})}return h.keys},M}();function yt(M){return[M.selectionSet,M.objectOrReference,M.context,M.context.canonizeResults]}var Ln=function(){function M(d){var c=this;this.knownResults=new(Ee.et?WeakMap:Map),this.config=(0,q.o)(d,{addTypename:!1!==d.addTypename,canonizeResults:_i(d)}),this.canon=d.canon||new nn,this.executeSelectionSet=(0,Je.LV)(function(h){var C,z=h.context.canonizeResults,Q=yt(h);Q[3]=!z;var Me=(C=c.executeSelectionSet).peek.apply(C,Q);return Me?z?(0,ce.Cl)((0,ce.Cl)({},Me),{result:c.canon.admit(Me.result)}):Me:(cr(h.context.store,h.enclosingRef.__ref),c.execSelectionSetImpl(h))},{max:this.config.resultCacheMaxSize||pt.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:yt,makeCacheKey:function(h,C,z,Q){if(st(z.store))return z.store.makeCacheKey(h,(0,Zt.A_)(C)?C.__ref:C,z.varString,Q)}}),this.executeSubSelectedArray=(0,Je.LV)(function(h){return cr(h.context.store,h.enclosingRef.__ref),c.execSubSelectedArrayImpl(h)},{max:this.config.resultCacheMaxSize||pt.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(h){var C=h.field,z=h.array,Q=h.context;if(st(Q.store))return Q.store.makeCacheKey(C,z,Q.varString)}})}return M.prototype.resetCanon=function(){this.canon=new nn},M.prototype.diffQueryAgainstStore=function(d){var c=d.store,h=d.query,C=d.rootId,z=void 0===C?"ROOT_QUERY":C,Q=d.variables,Me=d.returnPartialData,Xe=void 0===Me||Me,Ge=d.canonizeResults,Ot=void 0===Ge?this.config.canonizeResults:Ge,Vt=this.config.cache.policies;Q=(0,ce.Cl)((0,ce.Cl)({},(0,jt.wY)((0,jt.AT)(h))),Q);var _n,ln=(0,Zt.WU)(z),cn=this.executeSelectionSet({selectionSet:(0,jt.Vn)(h).selectionSet,objectOrReference:ln,enclosingRef:ln,context:(0,ce.Cl)({store:c,query:h,policies:Vt,variables:Q,varString:(0,wi.M)(Q),canonizeResults:Ot},Rt(h,this.config.fragments))});if(cn.missing&&(_n=[new ki(Bn(cn.missing),cn.missing,h,Q)],!Xe))throw _n[0];return{result:cn.result,complete:!_n,missing:_n}},M.prototype.isFresh=function(d,c,h,C){if(st(C.store)&&this.knownResults.get(d)===h){var z=this.executeSelectionSet.peek(h,c,C,this.canon.isKnown(d));if(z&&d===z.result)return!0}return!1},M.prototype.execSelectionSetImpl=function(d){var c=this,h=d.selectionSet,C=d.objectOrReference,z=d.enclosingRef,Q=d.context;if((0,Zt.A_)(C)&&!Q.policies.rootTypenamesById[C.__ref]&&!Q.store.has(C.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(C.__ref," object")};var ln,Me=Q.variables,Xe=Q.policies,Ot=Q.store.getFieldValue(C,"__typename"),Vt=[],cn=new mt.ZI;function _n(Vn,ui){var Kn;return Vn.missing&&(ln=cn.merge(ln,((Kn={})[ui]=Vn.missing,Kn))),Vn.result}this.config.addTypename&&"string"==typeof Ot&&!Xe.rootIdsByTypename[Ot]&&Vt.push({__typename:Ot});var hn=new Set(h.selections);hn.forEach(function(Vn){var ui,Kn;if((0,J.MS)(Vn,Me))if((0,Zt.dt)(Vn)){var hr=Xe.readField({fieldName:Vn.name.value,field:Vn,variables:Q.variables,from:C},Q),fr=(0,Zt.ue)(Vn);void 0===hr?Jt.XY.added(Vn)||(ln=cn.merge(ln,((ui={})[fr]="Can't find field '".concat(Vn.name.value,"' on ").concat((0,Zt.A_)(C)?C.__ref+" object":"object "+JSON.stringify(C,null,2)),ui))):(0,yn.c)(hr)?hr.length>0&&(hr=_n(c.executeSubSelectedArray({field:Vn,array:hr,enclosingRef:z,context:Q}),fr)):Vn.selectionSet?null!=hr&&(hr=_n(c.executeSelectionSet({selectionSet:Vn.selectionSet,objectOrReference:hr,enclosingRef:(0,Zt.A_)(hr)?hr:z,context:Q}),fr)):Q.canonizeResults&&(hr=c.canon.pass(hr)),void 0!==hr&&Vt.push(((Kn={})[fr]=hr,Kn))}else{var Lr=(0,Kt.HQ)(Vn,Q.lookupFragment);if(!Lr&&Vn.kind===He.b.FRAGMENT_SPREAD)throw(0,Ye.vA)(10,Vn.name.value);Lr&&Xe.fragmentMatches(Lr,Ot)&&Lr.selectionSet.selections.forEach(hn.add,hn)}});var Ei={result:(0,mt.IM)(Vt),missing:ln},gi=Q.canonizeResults?this.canon.admit(Ei):(0,Ie.G)(Ei);return gi.result&&this.knownResults.set(gi.result,h),gi},M.prototype.execSubSelectedArrayImpl=function(d){var Me,c=this,h=d.field,C=d.array,z=d.enclosingRef,Q=d.context,Xe=new mt.ZI;function Ge(Ot,Vt){var ln;return Ot.missing&&(Me=Xe.merge(Me,((ln={})[Vt]=Ot.missing,ln))),Ot.result}return h.selectionSet&&(C=C.filter(Q.store.canRead)),C=C.map(function(Ot,Vt){return null===Ot?null:(0,yn.c)(Ot)?Ge(c.executeSubSelectedArray({field:h,array:Ot,enclosingRef:z,context:Q}),Vt):h.selectionSet?Ge(c.executeSelectionSet({selectionSet:h.selectionSet,objectOrReference:Ot,enclosingRef:(0,Zt.A_)(Ot)?Ot:z,context:Q}),Vt):(!1!==globalThis.__DEV__&&function Oi(M,d,c){if(!d.selectionSet){var h=new Set([c]);h.forEach(function(C){(0,rt.U)(C)&&((0,Ye.V1)(!(0,Zt.A_)(C),11,function tr(M,d){return(0,Zt.A_)(d)?M.get(d.__ref,"__typename"):d&&d.__typename}(M,C),d.name.value),Object.values(C).forEach(h.add,h))})}}(Q.store,h,Ot),Ot)}),{result:Q.canonizeResults?this.canon.admit(C):C,missing:Me}},M}();function Bn(M){try{JSON.stringify(M,function(d,c){if("string"==typeof c)throw c;return c})}catch(d){return d}}var Jn=u(4246),ri=u(1687),Xi=u(4141),Vi=Object.create(null);function Pi(M){var d=JSON.stringify(M);return Vi[d]||(Vi[d]=Object.create(null))}function dr(M){var d=Pi(M);return d.keyFieldsFn||(d.keyFieldsFn=function(c,h){var C=function(Q,Me){return h.readField(Me,Q)},z=h.keyObject=Fi(M,function(Q){var Me=Vr(h.storeObject,Q,C);return void 0===Me&&c!==h.storeObject&&Lt.call(c,Q[0])&&(Me=Vr(c,Q,Sr)),(0,Ye.V1)(void 0!==Me,5,Q.join("."),c),Me});return"".concat(h.typename,":").concat(JSON.stringify(z))})}function Or(M){var d=Pi(M);return d.keyArgsFn||(d.keyArgsFn=function(c,h){var C=h.field,z=h.variables,Q=h.fieldName,Me=Fi(M,function(Ge){var Ot=Ge[0],Vt=Ot.charAt(0);if("@"!==Vt)if("$"!==Vt){if(c)return Vr(c,Ge)}else{var hn=Ot.slice(1);if(z&&Lt.call(z,hn)){var Yn=Ge.slice(0);return Yn[0]=hn,Vr(z,Yn)}}else if(C&&(0,yn.E)(C.directives)){var ln=Ot.slice(1),cn=C.directives.find(function(Ei){return Ei.name.value===ln}),_n=cn&&(0,Zt.MB)(cn,z);return _n&&Vr(_n,Ge.slice(1))}}),Xe=JSON.stringify(Me);return(c||"{}"!==Xe)&&(Q+=":"+Xe),Q})}function Fi(M,d){var c=new mt.ZI;return Ni(M).reduce(function(h,C){var z,Q=d(C);if(void 0!==Q){for(var Me=C.length-1;Me>=0;--Me)(z={})[C[Me]]=Q,Q=z;h=c.merge(h,Q)}return h},Object.create(null))}function Ni(M){var d=Pi(M);if(!d.paths){var c=d.paths=[],h=[];M.forEach(function(C,z){(0,yn.c)(C)?(Ni(C).forEach(function(Q){return c.push(h.concat(Q))}),h.length=0):(h.push(C),(0,yn.c)(M[z+1])||(c.push(h.slice(0)),h.length=0))})}return d.paths}function Sr(M,d){return M[d]}function Vr(M,d,c){return c=c||Sr,Pr(d.reduce(function h(C,z){return(0,yn.c)(C)?C.map(function(Q){return h(Q,z)}):C&&c(C,z)},M))}function Pr(M){return(0,rt.U)(M)?(0,yn.c)(M)?M.map(Pr):Fi(Object.keys(M).sort(),function(d){return Vr(M,d)}):M}var Fr=u(6882);function oo(M){return void 0!==M.args?M.args:M.field?(0,Zt.MB)(M.field,M.variables):null}var qt=function(){},pn=function(M,d){return d.fieldName},ft=function(M,d,c){return(0,c.mergeObjects)(M,d)},un=function(M,d){return d},Pn=function(){function M(d){this.config=d,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,ce.Cl)({dataIdFromObject:et},d),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),d.possibleTypes&&this.addPossibleTypes(d.possibleTypes),d.typePolicies&&this.addTypePolicies(d.typePolicies)}return M.prototype.identify=function(d,c){var h,C=this,z=c&&(c.typename||(null===(h=c.storeObject)||void 0===h?void 0:h.__typename))||d.__typename;if(z===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var Xe,Q=c&&c.storeObject||d,Me=(0,ce.Cl)((0,ce.Cl)({},c),{typename:z,storeObject:Q,readField:c&&c.readField||function(){var Vt=ai(arguments,Q);return C.readField(Vt,{store:C.cache.data,variables:Vt.variables})}}),Ge=z&&this.getTypePolicy(z),Ot=Ge&&Ge.keyFn||this.config.dataIdFromObject;return Fr.yV.withValue(!0,function(){for(;Ot;){var Vt=Ot((0,ce.Cl)((0,ce.Cl)({},d),Q),Me);if(!(0,yn.c)(Vt)){Xe=Vt;break}Ot=dr(Vt)}}),Xe=Xe?String(Xe):void 0,Me.keyObject?[Xe,Me.keyObject]:[Xe]},M.prototype.addTypePolicies=function(d){var c=this;Object.keys(d).forEach(function(h){var C=d[h],z=C.queryType,Q=C.mutationType,Me=C.subscriptionType,Xe=(0,ce.Tt)(C,["queryType","mutationType","subscriptionType"]);z&&c.setRootTypename("Query",h),Q&&c.setRootTypename("Mutation",h),Me&&c.setRootTypename("Subscription",h),Lt.call(c.toBeAdded,h)?c.toBeAdded[h].push(Xe):c.toBeAdded[h]=[Xe]})},M.prototype.updateTypePolicy=function(d,c){var h=this,C=this.getTypePolicy(d),z=c.keyFields,Q=c.fields;function Me(Xe,Ge){Xe.merge="function"==typeof Ge?Ge:!0===Ge?ft:!1===Ge?un:Xe.merge}Me(C,c.merge),C.keyFn=!1===z?qt:(0,yn.c)(z)?dr(z):"function"==typeof z?z:C.keyFn,Q&&Object.keys(Q).forEach(function(Xe){var Ge=h.getFieldPolicy(d,Xe,!0),Ot=Q[Xe];if("function"==typeof Ot)Ge.read=Ot;else{var Vt=Ot.keyArgs,ln=Ot.read,cn=Ot.merge;Ge.keyFn=!1===Vt?pn:(0,yn.c)(Vt)?Or(Vt):"function"==typeof Vt?Vt:Ge.keyFn,"function"==typeof ln&&(Ge.read=ln),Me(Ge,cn)}Ge.read&&Ge.merge&&(Ge.keyFn=Ge.keyFn||pn)})},M.prototype.setRootTypename=function(d,c){void 0===c&&(c=d);var h="ROOT_"+d.toUpperCase(),C=this.rootTypenamesById[h];c!==C&&((0,Ye.V1)(!C||C===d,6,d),C&&delete this.rootIdsByTypename[C],this.rootIdsByTypename[c]=h,this.rootTypenamesById[h]=c)},M.prototype.addPossibleTypes=function(d){var c=this;this.usingPossibleTypes=!0,Object.keys(d).forEach(function(h){c.getSupertypeSet(h,!0),d[h].forEach(function(C){c.getSupertypeSet(C,!0).add(h);var z=C.match(ir);(!z||z[0]!==C)&&c.fuzzySubtypes.set(C,new RegExp(C))})})},M.prototype.getTypePolicy=function(d){var c=this;if(!Lt.call(this.typePolicies,d)){var h=this.typePolicies[d]=Object.create(null);h.fields=Object.create(null);var C=this.supertypeMap.get(d);!C&&this.fuzzySubtypes.size&&(C=this.getSupertypeSet(d,!0),this.fuzzySubtypes.forEach(function(Q,Me){if(Q.test(d)){var Xe=c.supertypeMap.get(Me);Xe&&Xe.forEach(function(Ge){return C.add(Ge)})}})),C&&C.size&&C.forEach(function(Q){var Me=c.getTypePolicy(Q),Xe=Me.fields,Ge=(0,ce.Tt)(Me,["fields"]);Object.assign(h,Ge),Object.assign(h.fields,Xe)})}var z=this.toBeAdded[d];return z&&z.length&&z.splice(0).forEach(function(Q){c.updateTypePolicy(d,Q)}),this.typePolicies[d]},M.prototype.getFieldPolicy=function(d,c,h){if(d){var C=this.getTypePolicy(d).fields;return C[c]||h&&(C[c]=Object.create(null))}},M.prototype.getSupertypeSet=function(d,c){var h=this.supertypeMap.get(d);return!h&&c&&this.supertypeMap.set(d,h=new Set),h},M.prototype.fragmentMatches=function(d,c,h,C){var z=this;if(!d.typeCondition)return!0;if(!c)return!1;var Q=d.typeCondition.name.value;if(c===Q)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(Q))for(var Me=this.getSupertypeSet(c,!0),Xe=[Me],Ge=function(_n){var hn=z.getSupertypeSet(_n,!1);hn&&hn.size&&Xe.indexOf(hn)<0&&Xe.push(hn)},Ot=!(!h||!this.fuzzySubtypes.size),Vt=!1,ln=0;ln1?M[1]:d}:(Q=(0,ce.Cl)({},h),Lt.call(Q,"from")||(Q.from=d)),!1!==globalThis.__DEV__&&void 0===Q.from&&!1!==globalThis.__DEV__&&Ye.V1.warn(8,(0,ri.p)(Array.from(M))),void 0===Q.variables&&(Q.variables=c),Q}function Zi(M){return function(c,h){if((0,yn.c)(c)||(0,yn.c)(h))throw(0,Ye.vA)(9);if((0,rt.U)(c)&&(0,rt.U)(h)){var C=M.getFieldValue(c,"__typename"),z=M.getFieldValue(h,"__typename");if(C&&z&&C!==z)return h;if((0,Zt.A_)(c)&&we(h))return M.merge(c.__ref,h),c;if(we(c)&&(0,Zt.A_)(h))return M.merge(c,h.__ref),h;if(we(c)&&we(h))return(0,ce.Cl)((0,ce.Cl)({},c),h)}return h}}function Mi(M,d,c){var h="".concat(d).concat(c),C=M.flavors.get(h);return C||M.flavors.set(h,C=M.clientOnly===d&&M.deferred===c?M:(0,ce.Cl)((0,ce.Cl)({},M),{clientOnly:d,deferred:c})),C}var li=function(){function M(d,c,h){this.cache=d,this.reader=c,this.fragments=h}return M.prototype.writeToStore=function(d,c){var h=this,C=c.query,z=c.result,Q=c.dataId,Me=c.variables,Xe=c.overwrite,Ge=(0,jt.Vu)(C),Ot=function Ft(){return new mt.ZI}();Me=(0,ce.Cl)((0,ce.Cl)({},(0,jt.wY)(Ge)),Me);var Vt=(0,ce.Cl)((0,ce.Cl)({store:d,written:Object.create(null),merge:function(cn,_n){return Ot.merge(cn,_n)},variables:Me,varString:(0,wi.M)(Me)},Rt(C,this.fragments)),{overwrite:!!Xe,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),ln=this.processSelectionSet({result:z||Object.create(null),dataId:Q,selectionSet:Ge.selectionSet,mergeTree:{map:new Map},context:Vt});if(!(0,Zt.A_)(ln))throw(0,Ye.vA)(12,z);return Vt.incomingById.forEach(function(cn,_n){var hn=cn.storeObject,Yn=cn.mergeTree,Ei=cn.fieldNodeSet,gi=(0,Zt.WU)(_n);if(Yn&&Yn.map.size){var Vn=h.applyMerges(Yn,gi,hn,Vt);if((0,Zt.A_)(Vn))return;hn=Vn}if(!1!==globalThis.__DEV__&&!Vt.overwrite){var ui=Object.create(null);Ei.forEach(function(fr){fr.selectionSet&&(ui[fr.name.value]=!0)}),Object.keys(hn).forEach(function(fr){(function(fr){return!0===ui[it(fr)]})(fr)&&!function(fr){var Lr=Yn&&Yn.map.get(fr);return!!(Lr&&Lr.info&&Lr.info.merge)}(fr)&&function sn(M,d,c,h){var C=function(Vt){var ln=h.getFieldValue(Vt,c);return"object"==typeof ln&&ln},z=C(M);if(z){var Q=C(d);if(Q&&!(0,Zt.A_)(z)&&!(0,xt.L)(z,Q)&&!Object.keys(z).every(function(Vt){return void 0!==h.getFieldValue(Q,Vt)})){var Me=h.getFieldValue(M,"__typename")||h.getFieldValue(d,"__typename"),Xe=it(c),Ge="".concat(Me,".").concat(Xe);if(!so.has(Ge)){so.add(Ge);var Ot=[];!(0,yn.c)(z)&&!(0,yn.c)(Q)&&[z,Q].forEach(function(Vt){var ln=h.getFieldValue(Vt,"__typename");"string"==typeof ln&&!Ot.includes(ln)&&Ot.push(ln)}),!1!==globalThis.__DEV__&&Ye.V1.warn(15,Xe,Me,Ot.length?"either ensure all objects of type "+Ot.join(" and ")+" have an ID or a custom merge function, or ":"",Ge,(0,ce.Cl)({},z),(0,ce.Cl)({},Q))}}}}(gi,hn,fr,Vt.store)})}d.merge(_n,hn)}),d.retain(ln.__ref),ln},M.prototype.processSelectionSet=function(d){var c=this,h=d.dataId,C=d.result,z=d.selectionSet,Q=d.context,Me=d.mergeTree,Xe=this.cache.policies,Ge=Object.create(null),Ot=h&&Xe.rootTypenamesById[h]||(0,Zt.D$)(C,z,Q.fragmentMap)||h&&Q.store.get(h,"__typename");"string"==typeof Ot&&(Ge.__typename=Ot);var Vt=function(){var Vn=ai(arguments,Ge,Q.variables);if((0,Zt.A_)(Vn.from)){var ui=Q.incomingById.get(Vn.from.__ref);if(ui){var Kn=Xe.readField((0,ce.Cl)((0,ce.Cl)({},Vn),{from:ui.storeObject}),Q);if(void 0!==Kn)return Kn}}return Xe.readField(Vn,Q)},ln=new Set;this.flattenFields(z,C,Q,Ot).forEach(function(Vn,ui){var Kn,hr=(0,Zt.ue)(ui),fr=C[hr];if(ln.add(ui),void 0!==fr){var Lr=Xe.getStoreFieldName({typename:Ot,fieldName:ui.name.value,field:ui,variables:Vn.variables}),aa=gr(Me,Lr),vs=c.processFieldValue(fr,ui,ui.selectionSet?Mi(Vn,!1,!1):Vn,aa),El=void 0;ui.selectionSet&&((0,Zt.A_)(vs)||we(vs))&&(El=Vt("__typename",vs));var Ts=Xe.getMergeFunction(Ot,ui.name.value,El);Ts?aa.info={field:ui,typename:Ot,merge:Ts}:Io(Me,Lr),Ge=Vn.merge(Ge,((Kn={})[Lr]=vs,Kn))}else!1!==globalThis.__DEV__&&!Vn.clientOnly&&!Vn.deferred&&!Jt.XY.added(ui)&&!Xe.getReadFunction(Ot,ui.name.value)&&!1!==globalThis.__DEV__&&Ye.V1.error(13,(0,Zt.ue)(ui),C)});try{var cn=Xe.identify(C,{typename:Ot,selectionSet:z,fragmentMap:Q.fragmentMap,storeObject:Ge,readField:Vt}),hn=cn[1];h=h||cn[0],hn&&(Ge=Q.merge(Ge,hn))}catch(Vn){if(!h)throw Vn}if("string"==typeof h){var Yn=(0,Zt.WU)(h),Ei=Q.written[h]||(Q.written[h]=[]);if(Ei.indexOf(z)>=0||(Ei.push(z),this.reader&&this.reader.isFresh(C,Yn,z,Q)))return Yn;var gi=Q.incomingById.get(h);return gi?(gi.storeObject=Q.merge(gi.storeObject,Ge),gi.mergeTree=Ji(gi.mergeTree,Me),ln.forEach(function(Vn){return gi.fieldNodeSet.add(Vn)})):Q.incomingById.set(h,{storeObject:Ge,mergeTree:Mo(Me)?void 0:Me,fieldNodeSet:ln}),Yn}return Ge},M.prototype.processFieldValue=function(d,c,h,C){var z=this;return c.selectionSet&&null!==d?(0,yn.c)(d)?d.map(function(Q,Me){var Xe=z.processFieldValue(Q,c,h,gr(C,Me));return Io(C,Me),Xe}):this.processSelectionSet({result:d,selectionSet:c.selectionSet,context:h,mergeTree:C}):!1!==globalThis.__DEV__?(0,Jn.m)(d):d},M.prototype.flattenFields=function(d,c,h,C){void 0===C&&(C=(0,Zt.D$)(c,d,h.fragmentMap));var z=new Map,Q=this.cache.policies,Me=new Xt.b(!1);return function Xe(Ge,Ot){var Vt=Me.lookup(Ge,Ot.clientOnly,Ot.deferred);Vt.visited||(Vt.visited=!0,Ge.selections.forEach(function(ln){if((0,J.MS)(ln,h.variables)){var cn=Ot.clientOnly,_n=Ot.deferred;if(!(cn&&_n)&&(0,yn.E)(ln.directives)&&ln.directives.forEach(function(Ei){var gi=Ei.name.value;if("client"===gi&&(cn=!0),"defer"===gi){var Vn=(0,Zt.MB)(Ei,h.variables);(!Vn||!1!==Vn.if)&&(_n=!0)}}),(0,Zt.dt)(ln)){var hn=z.get(ln);hn&&(cn=cn&&hn.clientOnly,_n=_n&&hn.deferred),z.set(ln,Mi(h,cn,_n))}else{var Yn=(0,Kt.HQ)(ln,h.lookupFragment);if(!Yn&&ln.kind===He.b.FRAGMENT_SPREAD)throw(0,Ye.vA)(14,ln.name.value);Yn&&Q.fragmentMatches(Yn,C,c,h.variables)&&Xe(Yn.selectionSet,Mi(h,cn,_n))}}}))}(d,h),z},M.prototype.applyMerges=function(d,c,h,C,z){var Q,Me=this;if(d.map.size&&!(0,Zt.A_)(h)){var Xe=(0,yn.c)(h)||!(0,Zt.A_)(c)&&!we(c)?void 0:c,Ge=h;Xe&&!z&&(z=[(0,Zt.A_)(Xe)?Xe.__ref:Xe]);var Ot,Vt=function(ln,cn){return(0,yn.c)(ln)?"number"==typeof cn?ln[cn]:void 0:C.store.getFieldValue(ln,String(cn))};d.map.forEach(function(ln,cn){var _n=Vt(Xe,cn),hn=Vt(Ge,cn);if(void 0!==hn){z&&z.push(cn);var Yn=Me.applyMerges(ln,_n,hn,C,z);Yn!==hn&&(Ot=Ot||new Map).set(cn,Yn),z&&(0,Ye.V1)(z.pop()===cn)}}),Ot&&(h=(0,yn.c)(Ge)?Ge.slice(0):(0,ce.Cl)({},Ge),Ot.forEach(function(ln,cn){h[cn]=ln}))}return d.info?this.cache.policies.runMergeFunction(c,h,d.info,C,z&&(Q=C.store).getStorage.apply(Q,z)):h},M}(),go=[];function gr(M,d){var c=M.map;return c.has(d)||c.set(d,go.pop()||{map:new Map}),c.get(d)}function Ji(M,d){if(M===d||!d||Mo(d))return M;if(!M||Mo(M))return d;var c=M.info&&d.info?(0,ce.Cl)((0,ce.Cl)({},M.info),d.info):M.info||d.info,h=M.map.size&&d.map.size,z={info:c,map:h?new Map:M.map.size?M.map:d.map};if(h){var Q=new Set(d.map.keys());M.map.forEach(function(Me,Xe){z.map.set(Xe,Ji(Me,d.map.get(Xe))),Q.delete(Xe)}),Q.forEach(function(Me){z.map.set(Me,Ji(d.map.get(Me),M.map.get(Me)))})}return z}function Mo(M){return!M||!(M.info||M.map.size)}function Io(M,d){var c=M.map,h=c.get(d);h&&Mo(h)&&(go.push(h),c.delete(d))}var so=new Set,ro=function(M){function d(c){void 0===c&&(c={});var h=M.call(this)||this;return h.watches=new Set,h.addTypenameTransform=new Qn.c(Jt.XY),h.assumeImmutableResults=!0,h.makeVar=Xi.UT,h.txCount=0,h.config=function mn(M){return(0,q.o)(St,M)}(c),h.addTypename=!!h.config.addTypename,h.policies=new Pn({cache:h,dataIdFromObject:h.config.dataIdFromObject,possibleTypes:h.config.possibleTypes,typePolicies:h.config.typePolicies}),h.init(),h}return(0,ce.C6)(d,M),d.prototype.init=function(){var c=this.data=new Mr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=c.stump,this.resetResultCache()},d.prototype.resetResultCache=function(c){var h=this,C=this.storeReader,z=this.config.fragments;this.storeWriter=new li(this,this.storeReader=new Ln({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:_i(this.config),canon:c?void 0:C&&C.canon,fragments:z}),z),this.maybeBroadcastWatch=(0,Je.LV)(function(Q,Me){return h.broadcastWatch(Q,Me)},{max:this.config.resultCacheMaxSize||pt.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(Q){var Me=Q.optimistic?h.optimisticData:h.data;if(st(Me))return Me.makeCacheKey(Q.query,Q.callback,(0,wi.M)({optimistic:Q.optimistic,id:Q.id,variables:Q.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(Q){return Q.resetCaching()})},d.prototype.restore=function(c){return this.init(),c&&this.data.replace(c),this},d.prototype.extract=function(c){return void 0===c&&(c=!1),(c?this.optimisticData:this.data).extract()},d.prototype.read=function(c){var h=c.returnPartialData,C=void 0!==h&&h;try{return this.storeReader.diffQueryAgainstStore((0,ce.Cl)((0,ce.Cl)({},c),{store:c.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:C})).result||null}catch(z){if(z instanceof ki)return null;throw z}},d.prototype.write=function(c){try{return++this.txCount,this.storeWriter.writeToStore(this.data,c)}finally{! --this.txCount&&!1!==c.broadcast&&this.broadcastWatches()}},d.prototype.modify=function(c){if(Lt.call(c,"id")&&!c.id)return!1;var h=c.optimistic?this.optimisticData:this.data;try{return++this.txCount,h.modify(c.id||"ROOT_QUERY",c.fields)}finally{! --this.txCount&&!1!==c.broadcast&&this.broadcastWatches()}},d.prototype.diff=function(c){return this.storeReader.diffQueryAgainstStore((0,ce.Cl)((0,ce.Cl)({},c),{store:c.optimistic?this.optimisticData:this.data,rootId:c.id||"ROOT_QUERY",config:this.config}))},d.prototype.watch=function(c){var h=this;return this.watches.size||(0,Xi.MS)(this),this.watches.add(c),c.immediate&&this.maybeBroadcastWatch(c),function(){h.watches.delete(c)&&!h.watches.size&&(0,Xi.WR)(h),h.maybeBroadcastWatch.forget(c)}},d.prototype.gc=function(c){var h;wi.M.reset(),Qt.y.reset(),this.addTypenameTransform.resetCache(),null===(h=this.config.fragments)||void 0===h||h.resetCaches();var C=this.optimisticData.gc();return c&&!this.txCount&&(c.resetResultCache?this.resetResultCache(c.resetResultIdentities):c.resetResultIdentities&&this.storeReader.resetCanon()),C},d.prototype.retain=function(c,h){return(h?this.optimisticData:this.data).retain(c)},d.prototype.release=function(c,h){return(h?this.optimisticData:this.data).release(c)},d.prototype.identify=function(c){if((0,Zt.A_)(c))return c.__ref;try{return this.policies.identify(c)[0]}catch(h){!1!==globalThis.__DEV__&&Ye.V1.warn(h)}},d.prototype.evict=function(c){if(!c.id){if(Lt.call(c,"id"))return!1;c=(0,ce.Cl)((0,ce.Cl)({},c),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(c,this.data)}finally{! --this.txCount&&!1!==c.broadcast&&this.broadcastWatches()}},d.prototype.reset=function(c){var h=this;return this.init(),wi.M.reset(),c&&c.discardWatches?(this.watches.forEach(function(C){return h.maybeBroadcastWatch.forget(C)}),this.watches.clear(),(0,Xi.WR)(this)):this.broadcastWatches(),Promise.resolve()},d.prototype.removeOptimistic=function(c){var h=this.optimisticData.removeLayer(c);h!==this.optimisticData&&(this.optimisticData=h,this.broadcastWatches())},d.prototype.batch=function(c){var Ge,h=this,C=c.update,z=c.optimistic,Q=void 0===z||z,Me=c.removeOptimistic,Xe=c.onWatchUpdated,Ot=function(ln){var _n=h.data,hn=h.optimisticData;++h.txCount,ln&&(h.data=h.optimisticData=ln);try{return Ge=C(h)}finally{--h.txCount,h.data=_n,h.optimisticData=hn}},Vt=new Set;return Xe&&!this.txCount&&this.broadcastWatches((0,ce.Cl)((0,ce.Cl)({},c),{onWatchUpdated:function(ln){return Vt.add(ln),!1}})),"string"==typeof Q?this.optimisticData=this.optimisticData.addLayer(Q,Ot):!1===Q?Ot(this.data):Ot(),"string"==typeof Me&&(this.optimisticData=this.optimisticData.removeLayer(Me)),Xe&&Vt.size?(this.broadcastWatches((0,ce.Cl)((0,ce.Cl)({},c),{onWatchUpdated:function(ln,cn){var _n=Xe.call(this,ln,cn);return!1!==_n&&Vt.delete(ln),_n}})),Vt.size&&Vt.forEach(function(ln){return h.maybeBroadcastWatch.dirty(ln)})):this.broadcastWatches(c),Ge},d.prototype.performTransaction=function(c,h){return this.batch({update:c,optimistic:h||null!==h})},d.prototype.transformDocument=function(c){return this.addTypenameToDocument(this.addFragmentsToDocument(c))},d.prototype.fragmentMatches=function(c,h){return this.policies.fragmentMatches(c,h)},d.prototype.lookupFragment=function(c){var h;return(null===(h=this.config.fragments)||void 0===h?void 0:h.lookup(c))||null},d.prototype.broadcastWatches=function(c){var h=this;this.txCount||this.watches.forEach(function(C){return h.maybeBroadcastWatch(C,c)})},d.prototype.addFragmentsToDocument=function(c){var h=this.config.fragments;return h?h.transform(c):c},d.prototype.addTypenameToDocument=function(c){return this.addTypename?this.addTypenameTransform.transformDocument(c):c},d.prototype.broadcastWatch=function(c,h){var C=c.lastDiff,z=this.diff(c);h&&(c.optimistic&&"string"==typeof h.optimistic&&(z.fromOptimisticTransaction=!0),h.onWatchUpdated&&!1===h.onWatchUpdated.call(this,c,z,C))||(!C||!(0,xt.L)(C.result,z.result))&&c.callback(c.lastDiff=z,C)},d}($n);!1!==globalThis.__DEV__&&(ro.prototype.getMemoryInternals=Yt.cM);var Lo=u(3246),Po=u(8008),$o=u(1985),Wo=function(){function M(d){var c=d.batchDebounce,h=d.batchInterval,C=d.batchMax,z=d.batchHandler,Q=d.batchKey;this.batchesByKey=new Map,this.scheduledBatchTimerByKey=new Map,this.batchDebounce=c,this.batchInterval=h,this.batchMax=C||0,this.batchHandler=z,this.batchKey=Q||function(){return""}}return M.prototype.enqueueRequest=function(d){var c=this,h=(0,ce.Cl)((0,ce.Cl)({},d),{next:[],error:[],complete:[],subscribers:new Set}),C=this.batchKey(d.operation);return h.observable||(h.observable=new nt.c(function(z){var Q=c.batchesByKey.get(C);Q||c.batchesByKey.set(C,Q=new Set);var Me=0===Q.size,Xe=0===h.subscribers.size;return h.subscribers.add(z),Xe&&Q.add(h),z.next&&h.next.push(z.next.bind(z)),z.error&&h.error.push(z.error.bind(z)),z.complete&&h.complete.push(z.complete.bind(z)),(Me||c.batchDebounce)&&c.scheduleQueueConsumption(C),Q.size===c.batchMax&&c.consumeQueue(C),function(){var Ge;h.subscribers.delete(z)&&h.subscribers.size<1&&Q.delete(h)&&Q.size<1&&(c.consumeQueue(C),null===(Ge=Q.subscription)||void 0===Ge||Ge.unsubscribe())}})),h.observable},M.prototype.consumeQueue=function(d){void 0===d&&(d="");var c=this.batchesByKey.get(d);if(this.batchesByKey.delete(d),c&&c.size){var h=[],C=[],z=[],Q=[],Me=[],Xe=[];c.forEach(function(Vt){h.push(Vt.operation),C.push(Vt.forward),z.push(Vt.observable),Q.push(Vt.next),Me.push(Vt.error),Xe.push(Vt.complete)});var Ge=this.batchHandler(h,C)||nt.c.of(),Ot=function(Vt){Me.forEach(function(ln){ln&&ln.forEach(function(cn){return cn(Vt)})})};return c.subscription=Ge.subscribe({next:function(Vt){if(Array.isArray(Vt)||(Vt=[Vt]),Q.length!==Vt.length){var ln=new Error("server returned results with length ".concat(Vt.length,", expected length of ").concat(Q.length));return ln.result=Vt,Ot(ln)}Vt.forEach(function(cn,_n){Q[_n]&&Q[_n].forEach(function(hn){return hn(cn)})})},error:Ot,complete:function(){Xe.forEach(function(Vt){Vt&&Vt.forEach(function(ln){return ln()})})}}),z}},M.prototype.scheduleQueueConsumption=function(d){var c=this;clearTimeout(this.scheduledBatchTimerByKey.get(d)),this.scheduledBatchTimerByKey.set(d,setTimeout(function(){c.consumeQueue(d),c.scheduledBatchTimerByKey.delete(d)},this.batchInterval))},M}();!function(M){function d(c){var h=M.call(this)||this,C=c||{},Q=C.batchInterval,Xe=C.batchMax,Ot=C.batchHandler,ln=C.batchKey;return h.batcher=new Wo({batchDebounce:C.batchDebounce,batchInterval:void 0===Q?10:Q,batchMax:void 0===Xe?0:Xe,batchHandler:void 0===Ot?function(){return null}:Ot,batchKey:void 0===ln?function(){return""}:ln}),c.batchHandler.length<=1&&(h.request=function(_n){return h.batcher.enqueueRequest({operation:_n})}),h}(0,ce.C6)(d,M),d.prototype.request=function(c,h){return this.batcher.enqueueRequest({operation:c,forward:h})}}(Po.C);class Hr extends Po.C{httpClient;options;requester;print=Lo.y;constructor(d,c){super(),this.httpClient=d,this.options=c,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=h=>new nt.c(C=>{const z=h.getContext(),Q=(gi,Vn)=>function Li(...M){const d=M.find(c=>typeof c<"u");return typeof d>"u"?M[M.length-1]:d}(z[gi],this.options[gi],Vn);let Me=Q("method","POST");const Xe=Q("includeQuery",!0),Ge=Q("includeExtensions",!1),Ot=Q("uri","graphql"),Vt=Q("withCredentials"),ln=Q("useMultipart"),cn=!0===this.options.useGETForQueries,_n=h.query.definitions.some(gi=>"OperationDefinition"===gi.kind&&"query"===gi.operation);cn&&_n&&(Me="GET");const hn={method:Me,url:"function"==typeof Ot?Ot(h):Ot,body:{operationName:h.operationName,variables:h.variables},options:{withCredentials:Vt,useMultipart:ln,headers:this.options.headers}};Ge&&(hn.body.extensions=h.extensions),Xe&&(hn.body.query=this.print(h.query));const Yn=function vr(M){let d=M.headers&&M.headers instanceof Xn.Lr?M.headers:new Xn.Lr(M.headers);if(M.clientAwareness){const{name:c,version:h}=M.clientAwareness;c&&!d.has("apollographql-client-name")&&(d=d.set("apollographql-client-name",c)),h&&!d.has("apollographql-client-version")&&(d=d.set("apollographql-client-version",h))}return d}(z);hn.options.headers=((M,d)=>M&&d?d.keys().reduce((h,C)=>h.set(C,d.getAll(C)),M):d||M)(hn.options.headers,Yn);const Ei=((M,d,c)=>{const h=-1!==["POST","PUT","PATCH"].indexOf(M.method.toUpperCase()),z=M.body.length;let Me,Q=M.options&&M.options.useMultipart;if(Q){if(z)return new $o.c(Ge=>Ge.error(new Error("File upload is not available when combined with Batching")));if(!h)return new $o.c(Ge=>Ge.error(new Error("File upload is not available when GET is used")));if(!c)return new $o.c(Ge=>Ge.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));Me=c(M.body),Q=!!Me.files.size}let Xe={};if(z){if(!h)return new $o.c(Ge=>Ge.error(new Error("Batching is not available for GET requests")));Xe={body:M.body}}else Xe=h?{body:Q?Me.clone:M.body}:{params:Object.keys(M.body).reduce((Vt,ln)=>{const cn=M.body[ln];return Vt[ln]=-1!==["variables","extensions"].indexOf(ln.toLowerCase())?JSON.stringify(cn):cn,Vt},{})};if(Q&&h){const Ge=new FormData;Ge.append("operations",JSON.stringify(Xe.body));const Ot={},Vt=Me.files;let ln=0;Vt.forEach(cn=>{Ot[++ln]=cn}),Ge.append("map",JSON.stringify(Ot)),ln=0,Vt.forEach((cn,_n)=>{Ge.append(++ln+"",_n,_n.name)}),Xe.body=Ge}return d.request(M.method,M.url,{observe:"response",responseType:"json",reportProgress:!1,...Xe,...M.options})})(hn,this.httpClient,this.options.extractFiles).subscribe({next:gi=>{h.setContext({response:gi}),C.next(gi.body)},error:gi=>C.error(gi),complete:()=>C.complete()});return()=>{Ei.closed||Ei.unsubscribe()}})}request(d){return this.requester(d)}}let Go=(()=>{class M{httpClient;constructor(c){this.httpClient=c}create(c){return new Hr(this.httpClient,c)}static \u0275fac=function(h){return new(h||M)(t.KVO(Xn.Qq))};static \u0275prov=t.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})();const Ko=p.c.graphqlUrl;function Ao(M){return{link:M.create({uri:Ko}),cache:new ro}}let fa=(()=>{class M{static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275mod=t.$C({type:M});static#n=this.\u0275inj=t.G2t({providers:[{provide:Bt.$Y,useFactory:Ao,deps:[Go]}]})}return M})();var Ir=u(6600);let Xo=(()=>{class M{static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275mod=t.$C({type:M});static#n=this.\u0275inj=t.G2t({imports:[Ir.yE,Ir.yE]})}return M})();var wo=u(6914),Gn=u(9969);let Qs=(()=>{class M{static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275mod=t.$C({type:M});static#n=this.\u0275inj=t.G2t({imports:[Ir.yE,wo.Gj,wo.Gj,Ir.yE]})}return M})();function ne(M){return new t.wOt(3e3,!1)}function An(M){switch(M.length){case 0:return new Gn.sf;case 1:return M[0];default:return new Gn.ui(M)}}function Qe(M,d,c=new Map,h=new Map){const C=[],z=[];let Q=-1,Me=null;if(d.forEach(Xe=>{const Ge=Xe.get("offset"),Ot=Ge==Q,Vt=Ot&&Me||new Map;Xe.forEach((ln,cn)=>{let _n=cn,hn=ln;if("offset"!==cn)switch(_n=M.normalizePropertyName(_n,C),hn){case Gn.FX:hn=c.get(cn);break;case Gn.kp:hn=h.get(cn);break;default:hn=M.normalizeStyleValue(cn,_n,hn,C)}Vt.set(_n,hn)}),Ot||z.push(Vt),Me=Vt,Q=Ge}),C.length)throw function _(M){return new t.wOt(3502,!1)}();return z}function Et(M,d,c,h){switch(d){case"start":M.onStart(()=>h(c&&wt(c,"start",M)));break;case"done":M.onDone(()=>h(c&&wt(c,"done",M)));break;case"destroy":M.onDestroy(()=>h(c&&wt(c,"destroy",M)))}}function wt(M,d,c){const z=vn(M.element,M.triggerName,M.fromState,M.toState,d||M.phaseName,c.totalTime??M.totalTime,!!c.disabled),Q=M._data;return null!=Q&&(z._data=Q),z}function vn(M,d,c,h,C="",z=0,Q){return{element:M,triggerName:d,fromState:c,toState:h,phaseName:C,totalTime:z,disabled:!!Q}}function In(M,d,c){let h=M.get(d);return h||M.set(d,h=c),h}function di(M){const d=M.indexOf(":");return[M.substring(1,d),M.slice(d+1)]}const hi=typeof document>"u"?null:document.documentElement;function bi(M){const d=M.parentNode||M.host||null;return d===hi?null:d}let br=null,zi=!1;function Xr(M,d){for(;d;){if(d===M)return!0;d=bi(d)}return!1}function bo(M,d,c){if(c)return Array.from(M.querySelectorAll(d));const h=M.querySelector(d);return h?[h]:[]}let Co=(()=>{class M{validateStyleProperty(c){return function Wr(M){br||(br=function Qo(){return typeof document<"u"?document.body:null}()||{},zi=!!br.style&&"WebkitAppearance"in br.style);let d=!0;return br.style&&!function $r(M){return"ebkit"==M.substring(1,6)}(M)&&(d=M in br.style,!d&&zi&&(d="Webkit"+M.charAt(0).toUpperCase()+M.slice(1)in br.style)),d}(c)}matchesElement(c,h){return!1}containsElement(c,h){return Xr(c,h)}getParentElement(c){return bi(c)}query(c,h,C){return bo(c,h,C)}computeStyle(c,h,C){return C||""}animate(c,h,C,z,Q,Me=[],Xe){return new Gn.sf(C,z)}static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac})}return M})();class ps{static#e=this.NOOP=new Co}class Jo{}const Z=1e3,se="ng-enter",Y="ng-leave",dt="ng-trigger",Tt=".ng-trigger",wn="ng-animating",kn=".ng-animating";function Zn(M){if("number"==typeof M)return M;const d=M.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:y(parseFloat(d[1]),d[2])}function y(M,d){return"s"===d?M*Z:M}function le(M,d,c){return M.hasOwnProperty("duration")?M:function V(M,d,c){let C,z=0,Q="";if("string"==typeof M){const Me=M.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Me)return d.push(ne()),{duration:0,delay:0,easing:""};C=y(parseFloat(Me[1]),Me[2]);const Xe=Me[3];null!=Xe&&(z=y(parseFloat(Xe),Me[4]));const Ge=Me[5];Ge&&(Q=Ge)}else C=M;if(!c){let Me=!1,Xe=d.length;C<0&&(d.push(function ae(){return new t.wOt(3100,!1)}()),Me=!0),z<0&&(d.push(function U(){return new t.wOt(3101,!1)}()),Me=!0),Me&&d.splice(Xe,0,ne())}return{duration:C,delay:z,easing:Q}}(M,d,c)}function Ut(M,d,c){d.forEach((h,C)=>{const z=yr(C);c&&!c.has(C)&&c.set(C,M.style[z]),M.style[z]=h})}function dn(M,d){d.forEach((c,h)=>{const C=yr(h);M.style[C]=""})}function Wn(M){return Array.isArray(M)?1==M.length?M[0]:(0,Gn.K2)(M):M}const Yi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Hi(M){let d=[];if("string"==typeof M){let c;for(;c=Yi.exec(M);)d.push(c[1]);Yi.lastIndex=0}return d}function Ti(M,d,c){const h=`${M}`,C=h.replace(Yi,(z,Q)=>{let Me=d[Q];return null==Me&&(c.push(function vt(M){return new t.wOt(3003,!1)}()),Me=""),Me.toString()});return C==h?M:C}const Zr=/-+([a-z0-9])/g;function yr(M){return M.replace(Zr,(...d)=>d[1].toUpperCase())}function oi(M,d,c){switch(d.type){case Gn.If.Trigger:return M.visitTrigger(d,c);case Gn.If.State:return M.visitState(d,c);case Gn.If.Transition:return M.visitTransition(d,c);case Gn.If.Sequence:return M.visitSequence(d,c);case Gn.If.Group:return M.visitGroup(d,c);case Gn.If.Animate:return M.visitAnimate(d,c);case Gn.If.Keyframes:return M.visitKeyframes(d,c);case Gn.If.Style:return M.visitStyle(d,c);case Gn.If.Reference:return M.visitReference(d,c);case Gn.If.AnimateChild:return M.visitAnimateChild(d,c);case Gn.If.AnimateRef:return M.visitAnimateRef(d,c);case Gn.If.Query:return M.visitQuery(d,c);case Gn.If.Stagger:return M.visitStagger(d,c);default:throw function mi(M){return new t.wOt(3004,!1)}()}}function Cr(M,d){return window.getComputedStyle(M)[d]}const To=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 Gr extends Jo{normalizePropertyName(d,c){return yr(d)}normalizeStyleValue(d,c,h,C){let z="";const Q=h.toString().trim();if(To.has(c)&&0!==h&&"0"!==h)if("number"==typeof h)z="px";else{const Me=h.match(/^[+-]?[\d\.]+([a-z]*)$/);Me&&0==Me[1].length&&C.push(function ji(M,d){return new t.wOt(3005,!1)}())}return Q+z}}const Es="*";const ka=new Set(["true","1"]),Sa=new Set(["false","0"]);function Ms(M,d){const c=ka.has(M)||Sa.has(M),h=ka.has(d)||Sa.has(d);return(C,z)=>{let Q=M==Es||M==C,Me=d==Es||d==z;return!Q&&c&&"boolean"==typeof C&&(Q=C?ka.has(M):Sa.has(M)),!Me&&h&&"boolean"==typeof z&&(Me=z?ka.has(d):Sa.has(d)),Q&&Me}}const gl=new RegExp("s*:selfs*,?","g");function Ae(M,d,c,h){return new ia(M).build(d,c,h)}class ia{constructor(d){this._driver=d}build(d,c,h){const C=new _l(c);return this._resetContextStyleTimingState(C),oi(this,Wn(d),C)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,c){let h=c.queryCount=0,C=c.depCount=0;const z=[],Q=[];return"@"==d.name.charAt(0)&&c.errors.push(function Yo(){return new t.wOt(3006,!1)}()),d.definitions.forEach(Me=>{if(this._resetContextStyleTimingState(c),Me.type==Gn.If.State){const Xe=Me,Ge=Xe.name;Ge.toString().split(/\s*,\s*/).forEach(Ot=>{Xe.name=Ot,z.push(this.visitState(Xe,c))}),Xe.name=Ge}else if(Me.type==Gn.If.Transition){const Xe=this.visitTransition(Me,c);h+=Xe.queryCount,C+=Xe.depCount,Q.push(Xe)}else c.errors.push(function fs(){return new t.wOt(3007,!1)}())}),{type:Gn.If.Trigger,name:d.name,states:z,transitions:Q,queryCount:h,depCount:C,options:null}}visitState(d,c){const h=this.visitStyle(d.styles,c),C=d.options&&d.options.params||null;if(h.containsDynamicStyles){const z=new Set,Q=C||{};h.styles.forEach(Me=>{Me instanceof Map&&Me.forEach(Xe=>{Hi(Xe).forEach(Ge=>{Q.hasOwnProperty(Ge)||z.add(Ge)})})}),z.size&&c.errors.push(function wr(M,d){return new t.wOt(3008,!1)}(0,z.values()))}return{type:Gn.If.State,name:d.name,style:h,options:C?{params:C}:null}}visitTransition(d,c){c.queryCount=0,c.depCount=0;const h=oi(this,Wn(d.animation),c),C=function Bl(M,d){const c=[];return"string"==typeof M?M.split(/\s*,\s*/).forEach(h=>function is(M,d,c){if(":"==M[0]){const Xe=function co(M,d){switch(M){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,h)=>parseFloat(h)>parseFloat(c);case":decrement":return(c,h)=>parseFloat(h) *"}}(M,c);if("function"==typeof Xe)return void d.push(Xe);M=Xe}const h=M.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==h||h.length<4)return c.push(function qs(M){return new t.wOt(3015,!1)}()),d;const C=h[1],z=h[2],Q=h[3];d.push(Ms(C,Q)),"<"==z[0]&&(C!=Es||Q!=Es)&&d.push(Ms(Q,C))}(h,c,d)):c.push(M),c}(d.expr,c.errors);return{type:Gn.If.Transition,matchers:C,animation:h,queryCount:c.queryCount,depCount:c.depCount,options:Bo(d.options)}}visitSequence(d,c){return{type:Gn.If.Sequence,steps:d.steps.map(h=>oi(this,h,c)),options:Bo(d.options)}}visitGroup(d,c){const h=c.currentTime;let C=0;const z=d.steps.map(Q=>{c.currentTime=h;const Me=oi(this,Q,c);return C=Math.max(C,c.currentTime),Me});return c.currentTime=C,{type:Gn.If.Group,steps:z,options:Bo(d.options)}}visitAnimate(d,c){const h=function Vl(M,d){if(M.hasOwnProperty("duration"))return M;if("number"==typeof M)return fo(le(M,d).duration,0,"");const c=M;if(c.split(/\s+/).some(z=>"{"==z.charAt(0)&&"{"==z.charAt(1))){const z=fo(0,0,"");return z.dynamic=!0,z.strValue=c,z}const C=le(c,d);return fo(C.duration,C.delay,C.easing)}(d.timings,c.errors);c.currentAnimateTimings=h;let C,z=d.styles?d.styles:(0,Gn.iF)({});if(z.type==Gn.If.Keyframes)C=this.visitKeyframes(z,c);else{let Q=d.styles,Me=!1;if(!Q){Me=!0;const Ge={};h.easing&&(Ge.easing=h.easing),Q=(0,Gn.iF)(Ge)}c.currentTime+=h.duration+h.delay;const Xe=this.visitStyle(Q,c);Xe.isEmptyStep=Me,C=Xe}return c.currentAnimateTimings=null,{type:Gn.If.Animate,timings:h,style:C,options:null}}visitStyle(d,c){const h=this._makeStyleAst(d,c);return this._validateStyleAst(h,c),h}_makeStyleAst(d,c){const h=[],C=Array.isArray(d.styles)?d.styles:[d.styles];for(let Me of C)"string"==typeof Me?Me===Gn.kp?h.push(Me):c.errors.push(new t.wOt(3002,!1)):h.push(new Map(Object.entries(Me)));let z=!1,Q=null;return h.forEach(Me=>{if(Me instanceof Map&&(Me.has("easing")&&(Q=Me.get("easing"),Me.delete("easing")),!z))for(let Xe of Me.values())if(Xe.toString().indexOf("{{")>=0){z=!0;break}}),{type:Gn.If.Style,styles:h,easing:Q,offset:d.offset,containsDynamicStyles:z,options:null}}_validateStyleAst(d,c){const h=c.currentAnimateTimings;let C=c.currentTime,z=c.currentTime;h&&z>0&&(z-=h.duration+h.delay),d.styles.forEach(Q=>{"string"!=typeof Q&&Q.forEach((Me,Xe)=>{const Ge=c.collectedStyles.get(c.currentQuerySelector),Ot=Ge.get(Xe);let Vt=!0;Ot&&(z!=C&&z>=Ot.startTime&&C<=Ot.endTime&&(c.errors.push(function Js(M,d,c,h,C){return new t.wOt(3010,!1)}()),Vt=!1),z=Ot.startTime),Vt&&Ge.set(Xe,{startTime:z,endTime:C}),c.options&&function xi(M,d,c){const h=d.params||{},C=Hi(M);C.length&&C.forEach(z=>{h.hasOwnProperty(z)||c.push(function Fe(M){return new t.wOt(3001,!1)}())})}(Me,c.options,c.errors)})})}visitKeyframes(d,c){const h={type:Gn.If.Keyframes,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function Us(){return new t.wOt(3011,!1)}()),h;let z=0;const Q=[];let Me=!1,Xe=!1,Ge=0;const Ot=d.steps.map(Ei=>{const gi=this._makeStyleAst(Ei,c);let Vn=null!=gi.offset?gi.offset:function ra(M){if("string"==typeof M)return null;let d=null;if(Array.isArray(M))M.forEach(c=>{if(c instanceof Map&&c.has("offset")){const h=c;d=parseFloat(h.get("offset")),h.delete("offset")}});else if(M instanceof Map&&M.has("offset")){const c=M;d=parseFloat(c.get("offset")),c.delete("offset")}return d}(gi.styles),ui=0;return null!=Vn&&(z++,ui=gi.offset=Vn),Xe=Xe||ui<0||ui>1,Me=Me||ui0&&z{const Vn=ln>0?gi==cn?1:ln*gi:Q[gi],ui=Vn*Yn;c.currentTime=_n+hn.delay+ui,hn.duration=ui,this._validateStyleAst(Ei,c),Ei.offset=Vn,h.styles.push(Ei)}),h}visitReference(d,c){return{type:Gn.If.Reference,animation:oi(this,Wn(d.animation),c),options:Bo(d.options)}}visitAnimateChild(d,c){return c.depCount++,{type:Gn.If.AnimateChild,options:Bo(d.options)}}visitAnimateRef(d,c){return{type:Gn.If.AnimateRef,animation:this.visitReference(d.animation,c),options:Bo(d.options)}}visitQuery(d,c){const h=c.currentQuerySelector,C=d.options||{};c.queryCount++,c.currentQuery=d;const[z,Q]=function Ai(M){const d=!!M.split(/\s*,\s*/).find(c=>":self"==c);return d&&(M=M.replace(gl,"")),M=M.replace(/@\*/g,Tt).replace(/@\w+/g,c=>Tt+"-"+c.slice(1)).replace(/:animating/g,kn),[M,d]}(d.selector);c.currentQuerySelector=h.length?h+" "+z:z,In(c.collectedStyles,c.currentQuerySelector,new Map);const Me=oi(this,Wn(d.animation),c);return c.currentQuery=null,c.currentQuerySelector=h,{type:Gn.If.Query,selector:z,limit:C.limit||0,optional:!!C.optional,includeSelf:Q,animation:Me,originalSelector:d.selector,options:Bo(d.options)}}visitStagger(d,c){c.currentQuery||c.errors.push(function nl(){return new t.wOt(3013,!1)}());const h="full"===d.timings?{duration:0,delay:0,easing:"full"}:le(d.timings,c.errors,!0);return{type:Gn.If.Stagger,animation:oi(this,Wn(d.animation),c),timings:h,options:null}}}class _l{constructor(d){this.errors=d,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Bo(M){return M?(M={...M}).params&&(M.params=function ur(M){return M?{...M}:null}(M.params)):M={},M}function fo(M,d,c){return{duration:M,delay:d,easing:c}}function vl(M,d,c,h,C,z,Q=null,Me=!1){return{type:1,element:M,keyframes:d,preStyleProps:c,postStyleProps:h,duration:C,delay:z,totalTime:C+z,easing:Q,subTimeline:Me}}class Fo{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,c){let h=this._map.get(d);h||this._map.set(d,h=[]),h.push(...c)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const ms=new RegExp(":enter","g"),oa=new RegExp(":leave","g");function bl(M,d,c,h,C,z=new Map,Q=new Map,Me,Xe,Ge=[]){return(new xd).buildKeyframes(M,d,c,h,C,z,Q,Me,Xe,Ge)}class xd{buildKeyframes(d,c,h,C,z,Q,Me,Xe,Ge,Ot=[]){Ge=Ge||new Fo;const Vt=new gs(d,c,Ge,C,z,Ot,[]);Vt.options=Xe;const ln=Xe.delay?Zn(Xe.delay):0;Vt.currentTimeline.delayNextStep(ln),Vt.currentTimeline.setStyles([Q],null,Vt.errors,Xe),oi(this,h,Vt);const cn=Vt.timelines.filter(_n=>_n.containsAnimation());if(cn.length&&Me.size){let _n;for(let hn=cn.length-1;hn>=0;hn--){const Yn=cn[hn];if(Yn.element===c){_n=Yn;break}}_n&&!_n.allowOnlyTimelineStyles()&&_n.setStyles([Me],null,Vt.errors,Xe)}return cn.length?cn.map(_n=>_n.buildKeyframes()):[vl(c,[],[],[],0,ln,"",!1)]}visitTrigger(d,c){}visitState(d,c){}visitTransition(d,c){}visitAnimateChild(d,c){const h=c.subInstructions.get(c.element);if(h){const C=c.createSubContext(d.options),z=c.currentTimeline.currentTime,Q=this._visitSubInstructions(h,C,C.options);z!=Q&&c.transformIntoNewTimeline(Q)}c.previousNode=d}visitAnimateRef(d,c){const h=c.createSubContext(d.options);h.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],c,h),this.visitReference(d.animation,h),c.transformIntoNewTimeline(h.currentTimeline.currentTime),c.previousNode=d}_applyAnimationRefDelays(d,c,h){for(const C of d){const z=C?.delay;if(z){const Q="number"==typeof z?z:Zn(Ti(z,C?.params??{},c.errors));h.delayNextStep(Q)}}}_visitSubInstructions(d,c,h){let z=c.currentTimeline.currentTime;const Q=null!=h.duration?Zn(h.duration):null,Me=null!=h.delay?Zn(h.delay):null;return 0!==Q&&d.forEach(Xe=>{const Ge=c.appendInstructionToTimeline(Xe,Q,Me);z=Math.max(z,Ge.duration+Ge.delay)}),z}visitReference(d,c){c.updateOptions(d.options,!0),oi(this,d.animation,c),c.previousNode=d}visitSequence(d,c){const h=c.subContextCount;let C=c;const z=d.options;if(z&&(z.params||z.delay)&&(C=c.createSubContext(z),C.transformIntoNewTimeline(),null!=z.delay)){C.previousNode.type==Gn.If.Style&&(C.currentTimeline.snapshotCurrentStyles(),C.previousNode=Ul);const Q=Zn(z.delay);C.delayNextStep(Q)}d.steps.length&&(d.steps.forEach(Q=>oi(this,Q,C)),C.currentTimeline.applyStylesToKeyframe(),C.subContextCount>h&&C.transformIntoNewTimeline()),c.previousNode=d}visitGroup(d,c){const h=[];let C=c.currentTimeline.currentTime;const z=d.options&&d.options.delay?Zn(d.options.delay):0;d.steps.forEach(Q=>{const Me=c.createSubContext(d.options);z&&Me.delayNextStep(z),oi(this,Q,Me),C=Math.max(C,Me.currentTimeline.currentTime),h.push(Me.currentTimeline)}),h.forEach(Q=>c.currentTimeline.mergeTimelineCollectedStyles(Q)),c.transformIntoNewTimeline(C),c.previousNode=d}_visitTiming(d,c){if(d.dynamic){const h=d.strValue;return le(c.params?Ti(h,c.params,c.errors):h,c.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,c){const h=c.currentAnimateTimings=this._visitTiming(d.timings,c),C=c.currentTimeline;h.delay&&(c.incrementTime(h.delay),C.snapshotCurrentStyles());const z=d.style;z.type==Gn.If.Keyframes?this.visitKeyframes(z,c):(c.incrementTime(h.duration),this.visitStyle(z,c),C.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=d}visitStyle(d,c){const h=c.currentTimeline,C=c.currentAnimateTimings;!C&&h.hasCurrentStyleProperties()&&h.forwardFrame();const z=C&&C.easing||d.easing;d.isEmptyStep?h.applyEmptyStep(z):h.setStyles(d.styles,z,c.errors,c.options),c.previousNode=d}visitKeyframes(d,c){const h=c.currentAnimateTimings,C=c.currentTimeline.duration,z=h.duration,Me=c.createSubContext().currentTimeline;Me.easing=h.easing,d.styles.forEach(Xe=>{Me.forwardTime((Xe.offset||0)*z),Me.setStyles(Xe.styles,Xe.easing,c.errors,c.options),Me.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(Me),c.transformIntoNewTimeline(C+z),c.previousNode=d}visitQuery(d,c){const h=c.currentTimeline.currentTime,C=d.options||{},z=C.delay?Zn(C.delay):0;z&&(c.previousNode.type===Gn.If.Style||0==h&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=Ul);let Q=h;const Me=c.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!C.optional,c.errors);c.currentQueryTotal=Me.length;let Xe=null;Me.forEach((Ge,Ot)=>{c.currentQueryIndex=Ot;const Vt=c.createSubContext(d.options,Ge);z&&Vt.delayNextStep(z),Ge===c.element&&(Xe=Vt.currentTimeline),oi(this,d.animation,Vt),Vt.currentTimeline.applyStylesToKeyframe(),Q=Math.max(Q,Vt.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(Q),Xe&&(c.currentTimeline.mergeTimelineCollectedStyles(Xe),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=d}visitStagger(d,c){const h=c.parentContext,C=c.currentTimeline,z=d.timings,Q=Math.abs(z.duration),Me=Q*(c.currentQueryTotal-1);let Xe=Q*c.currentQueryIndex;switch(z.duration<0?"reverse":z.easing){case"reverse":Xe=Me-Xe;break;case"full":Xe=h.currentStaggerTime}const Ot=c.currentTimeline;Xe&&Ot.delayNextStep(Xe);const Vt=Ot.currentTime;oi(this,d.animation,c),c.previousNode=d,h.currentStaggerTime=C.currentTime-Vt+(C.startTime-h.currentTimeline.startTime)}}const Ul={};class gs{constructor(d,c,h,C,z,Q,Me,Xe){this._driver=d,this.element=c,this.subInstructions=h,this._enterClassName=C,this._leaveClassName=z,this.errors=Q,this.timelines=Me,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ul,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Xe||new yl(this._driver,c,0),Me.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,c){if(!d)return;const h=d;let C=this.options;null!=h.duration&&(C.duration=Zn(h.duration)),null!=h.delay&&(C.delay=Zn(h.delay));const z=h.params;if(z){let Q=C.params;Q||(Q=this.options.params={}),Object.keys(z).forEach(Me=>{(!c||!Q.hasOwnProperty(Me))&&(Q[Me]=Ti(z[Me],Q,this.errors))})}}_copyOptions(){const d={};if(this.options){const c=this.options.params;if(c){const h=d.params={};Object.keys(c).forEach(C=>{h[C]=c[C]})}}return d}createSubContext(d=null,c,h){const C=c||this.element,z=new gs(this._driver,C,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(C,h||0));return z.previousNode=this.previousNode,z.currentAnimateTimings=this.currentAnimateTimings,z.options=this._copyOptions(),z.updateOptions(d),z.currentQueryIndex=this.currentQueryIndex,z.currentQueryTotal=this.currentQueryTotal,z.parentContext=this,this.subContextCount++,z}transformIntoNewTimeline(d){return this.previousNode=Ul,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,c,h){const C={duration:c??d.duration,delay:this.currentTimeline.currentTime+(h??0)+d.delay,easing:""},z=new Ed(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,C,d.stretchStartingKeyframe);return this.timelines.push(z),C}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,c,h,C,z,Q){let Me=[];if(C&&Me.push(this.element),d.length>0){d=(d=d.replace(ms,"."+this._enterClassName)).replace(oa,"."+this._leaveClassName);let Ge=this._driver.query(this.element,d,1!=h);0!==h&&(Ge=h<0?Ge.slice(Ge.length+h,Ge.length):Ge.slice(0,h)),Me.push(...Ge)}return!z&&0==Me.length&&Q.push(function il(M){return new t.wOt(3014,!1)}()),Me}}class yl{constructor(d,c,h,C){this._driver=d,this.element=c,this.startTime=h,this._elementTimelineStylesLookup=C,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,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(d){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+d),c&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,c){return this.applyStylesToKeyframe(),new yl(this._driver,d,c||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(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,c){this._localTimelineStyles.set(d,c),this._globalTimelineStyles.set(d,c),this._styleSummary.set(d,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[c,h]of this._globalTimelineStyles)this._backFill.set(c,h||Gn.kp),this._currentKeyframe.set(c,Gn.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,c,h,C){c&&this._previousKeyframe.set("easing",c);const z=C&&C.params||{},Q=function zu(M,d){const c=new Map;let h;return M.forEach(C=>{if("*"===C){h??=d.keys();for(let z of h)c.set(z,Gn.kp)}else for(let[z,Q]of C)c.set(z,Q)}),c}(d,this._globalTimelineStyles);for(let[Me,Xe]of Q){const Ge=Ti(Xe,z,h);this._pendingStyles.set(Me,Ge),this._localTimelineStyles.has(Me)||this._backFill.set(Me,this._globalTimelineStyles.get(Me)??Gn.kp),this._updateStyle(Me,Ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,c)=>{this._currentKeyframe.set(c,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,d)}))}snapshotCurrentStyles(){for(let[d,c]of this._localTimelineStyles)this._pendingStyles.set(d,c),this._updateStyle(d,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let c in this._currentKeyframe)d.push(c);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((c,h)=>{const C=this._styleSummary.get(h);(!C||c.time>C.time)&&this._updateStyle(h,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,c=new Set,h=1===this._keyframes.size&&0===this.duration;let C=[];this._keyframes.forEach((Me,Xe)=>{const Ge=new Map([...this._backFill,...Me]);Ge.forEach((Ot,Vt)=>{Ot===Gn.FX?d.add(Vt):Ot===Gn.kp&&c.add(Vt)}),h||Ge.set("offset",Xe/this.duration),C.push(Ge)});const z=[...d.values()],Q=[...c.values()];if(h){const Me=C[0],Xe=new Map(Me);Me.set("offset",0),Xe.set("offset",1),C=[Me,Xe]}return vl(this.element,C,z,Q,this.duration,this.startTime,this.easing,!1)}}class Ed extends yl{constructor(d,c,h,C,z,Q,Me=!1){super(d,c,Q.delay),this.keyframes=h,this.preStyleProps=C,this.postStyleProps=z,this._stretchStartingKeyframe=Me,this.timings={duration:Q.duration,delay:Q.delay,easing:Q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:c,duration:h,easing:C}=this.timings;if(this._stretchStartingKeyframe&&c){const z=[],Q=h+c,Me=c/Q,Xe=new Map(d[0]);Xe.set("offset",0),z.push(Xe);const Ge=new Map(d[0]);Ge.set("offset",zl(Me)),z.push(Ge);const Ot=d.length-1;for(let Vt=1;Vt<=Ot;Vt++){let ln=new Map(d[Vt]);const cn=ln.get("offset");ln.set("offset",zl((c+cn*h)/Q)),z.push(ln)}h=Q,c=0,C="",d=z}return vl(this.element,d,this.preStyleProps,this.postStyleProps,h,c,C,!0)}}function zl(M,d=3){const c=Math.pow(10,d-1);return Math.round(M*c)/c}function Md(M,d,c,h,C,z,Q,Me,Xe,Ge,Ot,Vt,ln){return{type:0,element:M,triggerName:d,isRemovalTransition:C,fromState:c,fromStyles:z,toState:h,toStyles:Q,timelines:Me,queriedElements:Xe,preStyleProps:Ge,postStyleProps:Ot,totalTime:Vt,errors:ln}}const Fa={};class Dd{constructor(d,c,h){this._triggerName=d,this.ast=c,this._stateStyles=h}match(d,c,h,C){return function T(M,d,c,h,C){return M.some(z=>z(d,c,h,C))}(this.ast.matchers,d,c,h,C)}buildStyles(d,c,h){let C=this._stateStyles.get("*");return void 0!==d&&(C=this._stateStyles.get(d?.toString())||C),C?C.buildStyles(c,h):new Map}build(d,c,h,C,z,Q,Me,Xe,Ge,Ot){const Vt=[],ln=this.ast.options&&this.ast.options.params||Fa,_n=this.buildStyles(h,Me&&Me.params||Fa,Vt),hn=Xe&&Xe.params||Fa,Yn=this.buildStyles(C,hn,Vt),Ei=new Set,gi=new Map,Vn=new Map,ui="void"===C,Kn={params:w(hn,ln),delay:this.ast.options?.delay},hr=Ot?[]:bl(d,c,this.ast.animation,z,Q,_n,Yn,Kn,Ge,Vt);let fr=0;return hr.forEach(Lr=>{fr=Math.max(Lr.duration+Lr.delay,fr)}),Vt.length?Md(c,this._triggerName,h,C,ui,_n,Yn,[],[],gi,Vn,fr,Vt):(hr.forEach(Lr=>{const aa=Lr.element,vs=In(gi,aa,new Set);Lr.preStyleProps.forEach(Ts=>vs.add(Ts));const El=In(Vn,aa,new Set);Lr.postStyleProps.forEach(Ts=>El.add(Ts)),aa!==c&&Ei.add(aa)}),Md(c,this._triggerName,h,C,ui,_n,Yn,hr,[...Ei.values()],gi,Vn,fr))}}function w(M,d){const c={...d};return Object.entries(M).forEach(([h,C])=>{null!=C&&(c[h]=C)}),c}class k{constructor(d,c,h){this.styles=d,this.defaultParams=c,this.normalizer=h}buildStyles(d,c){const h=new Map,C=w(d,this.defaultParams);return this.styles.styles.forEach(z=>{"string"!=typeof z&&z.forEach((Q,Me)=>{Q&&(Q=Ti(Q,C,c));const Xe=this.normalizer.normalizePropertyName(Me,c);Q=this.normalizer.normalizeStyleValue(Me,Xe,Q,c),h.set(Me,Q)})}),h}}class Ne{constructor(d,c,h){this.name=d,this.ast=c,this._normalizer=h,this.transitionFactories=[],this.states=new Map,c.states.forEach(C=>{this.states.set(C.name,new k(C.style,C.options&&C.options.params||{},h))}),tn(this.states,"true","1"),tn(this.states,"false","0"),c.transitions.forEach(C=>{this.transitionFactories.push(new Dd(d,C,this.states))}),this.fallbackTransition=function ut(M,d,c){return new Dd(M,{type:Gn.If.Transition,animation:{type:Gn.If.Sequence,steps:[],options:null},matchers:[(Q,Me)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,c,h,C){return this.transitionFactories.find(Q=>Q.match(d,c,h,C))||null}matchStyles(d,c,h){return this.fallbackTransition.buildStyles(d,c,h)}}function tn(M,d,c){M.has(d)?M.has(c)||M.set(c,M.get(d)):M.has(c)&&M.set(d,M.get(c))}const Wt=new Fo;class ni{constructor(d,c,h){this.bodyNode=d,this._driver=c,this._normalizer=h,this._animations=new Map,this._playersById=new Map,this.players=[]}register(d,c){const h=[],z=Ae(this._driver,c,h,[]);if(h.length)throw function S(M){return new t.wOt(3503,!1)}();this._animations.set(d,z)}_buildPlayer(d,c,h){const C=d.element,z=Qe(this._normalizer,d.keyframes,c,h);return this._driver.animate(C,z,d.duration,d.delay,d.easing,[],!0)}create(d,c,h={}){const C=[],z=this._animations.get(d);let Q;const Me=new Map;if(z?(Q=bl(this._driver,c,z,se,Y,new Map,new Map,h,Wt,C),Q.forEach(Ot=>{const Vt=In(Me,Ot.element,new Map);Ot.postStyleProps.forEach(ln=>Vt.set(ln,null))})):(C.push(function W(){return new t.wOt(3300,!1)}()),Q=[]),C.length)throw function K(M){return new t.wOt(3504,!1)}();Me.forEach((Ot,Vt)=>{Ot.forEach((ln,cn)=>{Ot.set(cn,this._driver.computeStyle(Vt,cn,Gn.kp))})});const Ge=An(Q.map(Ot=>{const Vt=Me.get(Ot.element);return this._buildPlayer(Ot,new Map,Vt)}));return this._playersById.set(d,Ge),Ge.onDestroy(()=>this.destroy(d)),this.players.push(Ge),Ge}destroy(d){const c=this._getPlayer(d);c.destroy(),this._playersById.delete(d);const h=this.players.indexOf(c);h>=0&&this.players.splice(h,1)}_getPlayer(d){const c=this._playersById.get(d);if(!c)throw function Te(M){return new t.wOt(3301,!1)}();return c}listen(d,c,h,C){const z=vn(c,"","","");return Et(this._getPlayer(d),h,z,C),()=>{}}command(d,c,h,C){if("register"==h)return void this.register(d,C[0]);if("create"==h)return void this.create(d,c,C[0]||{});const z=this._getPlayer(d);switch(h){case"play":z.play();break;case"pause":z.pause();break;case"reset":z.reset();break;case"restart":z.restart();break;case"finish":z.finish();break;case"init":z.init();break;case"setPosition":z.setPosition(parseFloat(C[0]));break;case"destroy":this.destroy(d)}}}const qi="ng-animate-queued",io="ng-animate-disabled",sl=[],Vo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Oc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},os="__ng_removed";class Ds{get params(){return this.options.params}constructor(d,c=""){this.namespaceId=c;const h=d&&d.hasOwnProperty("value");if(this.value=function Sd(M){return M??null}(h?d.value:d),h){const{value:z,...Q}=d;this.options=Q}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const c=d.params;if(c){const h=this.options.params;Object.keys(c).forEach(C=>{null==h[C]&&(h[C]=c[C])})}}}const wl="void",sc=new Ds(wl);class ac{constructor(d,c,h){this.id=d,this.hostElement=c,this._engine=h,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,ss(c,this._hostClassName)}listen(d,c,h,C){if(!this._triggers.has(c))throw function lt(M,d){return new t.wOt(3302,!1)}();if(null==h||0==h.length)throw function Pt(M){return new t.wOt(3303,!1)}();if(!function Hu(M){return"start"==M||"done"==M}(h))throw function zt(M,d){return new t.wOt(3400,!1)}();const z=In(this._elementListeners,d,[]),Q={name:c,phase:h,callback:C};z.push(Q);const Me=In(this._engine.statesByElement,d,new Map);return Me.has(c)||(ss(d,dt),ss(d,dt+"-"+c),Me.set(c,sc)),()=>{this._engine.afterFlush(()=>{const Xe=z.indexOf(Q);Xe>=0&&z.splice(Xe,1),this._triggers.has(c)||Me.delete(c)})}}register(d,c){return!this._triggers.has(d)&&(this._triggers.set(d,c),!0)}_getTrigger(d){const c=this._triggers.get(d);if(!c)throw function en(M){return new t.wOt(3401,!1)}();return c}trigger(d,c,h,C=!0){const z=this._getTrigger(c),Q=new jo(this.id,c,d);let Me=this._engine.statesByElement.get(d);Me||(ss(d,dt),ss(d,dt+"-"+c),this._engine.statesByElement.set(d,Me=new Map));let Xe=Me.get(c);const Ge=new Ds(h,this.id);if(!(h&&h.hasOwnProperty("value"))&&Xe&&Ge.absorbOptions(Xe.options),Me.set(c,Ge),Xe||(Xe=sc),Ge.value!==wl&&Xe.value===Ge.value){if(!function ks(M,d){const c=Object.keys(M),h=Object.keys(d);if(c.length!=h.length)return!1;for(let C=0;C{dn(d,Yn),Ut(d,Ei)})}return}const ln=In(this._engine.playersByElement,d,[]);ln.forEach(hn=>{hn.namespaceId==this.id&&hn.triggerName==c&&hn.queued&&hn.destroy()});let cn=z.matchTransition(Xe.value,Ge.value,d,Ge.params),_n=!1;if(!cn){if(!C)return;cn=z.fallbackTransition,_n=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:c,transition:cn,fromState:Xe,toState:Ge,player:Q,isFallbackTransition:_n}),_n||(ss(d,qi),Q.onStart(()=>{Yr(d,qi)})),Q.onDone(()=>{let hn=this.players.indexOf(Q);hn>=0&&this.players.splice(hn,1);const Yn=this._engine.playersByElement.get(d);if(Yn){let Ei=Yn.indexOf(Q);Ei>=0&&Yn.splice(Ei,1)}}),this.players.push(Q),ln.push(Q),Q}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(c=>c.delete(d)),this._elementListeners.forEach((c,h)=>{this._elementListeners.set(h,c.filter(C=>C.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const c=this._engine.playersByElement.get(d);c&&(c.forEach(h=>h.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,c){const h=this._engine.driver.query(d,Tt,!0);h.forEach(C=>{if(C[os])return;const z=this._engine.fetchNamespacesByElement(C);z.size?z.forEach(Q=>Q.triggerLeaveAnimation(C,c,!1,!0)):this.clearElementCache(C)}),this._engine.afterFlushAnimationsDone(()=>h.forEach(C=>this.clearElementCache(C)))}triggerLeaveAnimation(d,c,h,C){const z=this._engine.statesByElement.get(d),Q=new Map;if(z){const Me=[];if(z.forEach((Xe,Ge)=>{if(Q.set(Ge,Xe.value),this._triggers.has(Ge)){const Ot=this.trigger(d,Ge,wl,C);Ot&&Me.push(Ot)}}),Me.length)return this._engine.markElementAsRemoved(this.id,d,!0,c,Q),h&&An(Me).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const c=this._elementListeners.get(d),h=this._engine.statesByElement.get(d);if(c&&h){const C=new Set;c.forEach(z=>{const Q=z.name;if(C.has(Q))return;C.add(Q);const Xe=this._triggers.get(Q).fallbackTransition,Ge=h.get(Q)||sc,Ot=new Ds(wl),Vt=new jo(this.id,Q,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:Q,transition:Xe,fromState:Ge,toState:Ot,player:Vt,isFallbackTransition:!0})})}}removeNode(d,c){const h=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,c),this.triggerLeaveAnimation(d,c,!0))return;let C=!1;if(h.totalAnimations){const z=h.players.length?h.playersByQueriedElement.get(d):[];if(z&&z.length)C=!0;else{let Q=d;for(;Q=Q.parentNode;)if(h.statesByElement.get(Q)){C=!0;break}}}if(this.prepareLeaveAnimationListeners(d),C)h.markElementAsRemoved(this.id,d,!1,c);else{const z=d[os];(!z||z===Vo)&&(h.afterFlush(()=>this.clearElementCache(d)),h.destroyInnerAnimations(d),h._onRemovalComplete(d,c))}}insertNode(d,c){ss(d,this._hostClassName)}drainQueuedTransitions(d){const c=[];return this._queue.forEach(h=>{const C=h.player;if(C.destroyed)return;const z=h.element,Q=this._elementListeners.get(z);Q&&Q.forEach(Me=>{if(Me.name==h.triggerName){const Xe=vn(z,h.triggerName,h.fromState.value,h.toState.value);Xe._data=d,Et(h.player,Me.phase,Xe,Me.callback)}}),C.markedForDestroy?this._engine.afterFlush(()=>{C.destroy()}):c.push(h)}),this._queue=[],c.sort((h,C)=>{const z=h.transition.ast.depCount,Q=C.transition.ast.depCount;return 0==z||0==Q?z-Q:this._engine.driver.containsElement(h.element,C.element)?1:-1})}destroy(d){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class Hl{_onRemovalComplete(d,c){this.onRemovalComplete(d,c)}constructor(d,c,h,C){this.bodyNode=d,this.driver=c,this._normalizer=h,this.scheduler=C,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(z,Q)=>{}}get queuedPlayers(){const d=[];return this._namespaceList.forEach(c=>{c.players.forEach(h=>{h.queued&&d.push(h)})}),d}createNamespace(d,c){const h=new ac(d,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(h,c):(this.newHostElements.set(c,h),this.collectEnterElement(c)),this._namespaceLookup[d]=h}_balanceNamespaceList(d,c){const h=this._namespaceList,C=this.namespacesByHostElement;if(h.length-1>=0){let Q=!1,Me=this.driver.getParentElement(c);for(;Me;){const Xe=C.get(Me);if(Xe){const Ge=h.indexOf(Xe);h.splice(Ge+1,0,d),Q=!0;break}Me=this.driver.getParentElement(Me)}Q||h.unshift(d)}else h.push(d);return C.set(c,d),d}register(d,c){let h=this._namespaceLookup[d];return h||(h=this.createNamespace(d,c)),h}registerTrigger(d,c,h){let C=this._namespaceLookup[d];C&&C.register(c,h)&&this.totalAnimations++}destroy(d,c){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const h=this._fetchNamespace(d);this.namespacesByHostElement.delete(h.hostElement);const C=this._namespaceList.indexOf(h);C>=0&&this._namespaceList.splice(C,1),h.destroy(c),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const c=new Set,h=this.statesByElement.get(d);if(h)for(let C of h.values())if(C.namespaceId){const z=this._fetchNamespace(C.namespaceId);z&&c.add(z)}return c}trigger(d,c,h,C){if($a(c)){const z=this._fetchNamespace(d);if(z)return z.trigger(c,h,C),!0}return!1}insertNode(d,c,h,C){if(!$a(c))return;const z=c[os];if(z&&z.setForRemoval){z.setForRemoval=!1,z.setForMove=!0;const Q=this.collectedLeaveElements.indexOf(c);Q>=0&&this.collectedLeaveElements.splice(Q,1)}if(d){const Q=this._fetchNamespace(d);Q&&Q.insertNode(c,h)}C&&this.collectEnterElement(c)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,c){c?this.disabledNodes.has(d)||(this.disabledNodes.add(d),ss(d,io)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),Yr(d,io))}removeNode(d,c,h){if($a(c)){this.scheduler?.notify();const C=d?this._fetchNamespace(d):null;C?C.removeNode(c,h):this.markElementAsRemoved(d,c,!1,h);const z=this.namespacesByHostElement.get(c);z&&z.id!==d&&z.removeNode(c,h)}else this._onRemovalComplete(c,h)}markElementAsRemoved(d,c,h,C,z){this.collectedLeaveElements.push(c),c[os]={namespaceId:d,setForRemoval:C,hasAnimation:h,removedBeforeQueried:!1,previousTriggersValues:z}}listen(d,c,h,C,z){return $a(c)?this._fetchNamespace(d).listen(c,h,C,z):()=>{}}_buildInstruction(d,c,h,C,z){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,h,C,d.fromState.options,d.toState.options,c,z)}destroyInnerAnimations(d){let c=this.driver.query(d,Tt,!0);c.forEach(h=>this.destroyActiveAnimationsForElement(h)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(d,kn,!0),c.forEach(h=>this.finishActiveQueriedAnimationOnElement(h)))}destroyActiveAnimationsForElement(d){const c=this.playersByElement.get(d);c&&c.forEach(h=>{h.queued?h.markedForDestroy=!0:h.destroy()})}finishActiveQueriedAnimationOnElement(d){const c=this.playersByQueriedElement.get(d);c&&c.forEach(h=>h.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return An(this.players).onDone(()=>d());d()})}processLeaveNode(d){const c=d[os];if(c&&c.setForRemoval){if(d[os]=Vo,c.namespaceId){this.destroyInnerAnimations(d);const h=this._fetchNamespace(c.namespaceId);h&&h.clearElementCache(d)}this._onRemovalComplete(d,c.setForRemoval)}d.classList?.contains(io)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(h=>{this.markElementAsDisabled(h,!1)})}flush(d=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((h,C)=>this._balanceNamespaceList(h,C)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let h=0;hh()),this._flushFns=[],this._whenQuietFns.length){const h=this._whenQuietFns;this._whenQuietFns=[],c.length?An(c).onDone(()=>{h.forEach(C=>C())}):h.forEach(C=>C())}}reportError(d){throw function on(M){return new t.wOt(3402,!1)}()}_flushAnimations(d,c){const h=new Fo,C=[],z=new Map,Q=[],Me=new Map,Xe=new Map,Ge=new Map,Ot=new Set;this.disabledNodes.forEach(yi=>{Ot.add(yi);const pi=this.driver.query(yi,".ng-animate-queued",!0);for(let Di=0;Di{const Di=se+hn++;_n.set(pi,Di),yi.forEach(kr=>ss(kr,Di))});const Yn=[],Ei=new Set,gi=new Set;for(let yi=0;yiEi.add(kr)):gi.add(pi))}const Vn=new Map,ui=Cl(ln,Array.from(Ei));ui.forEach((yi,pi)=>{const Di=Y+hn++;Vn.set(pi,Di),yi.forEach(kr=>ss(kr,Di))}),d.push(()=>{cn.forEach((yi,pi)=>{const Di=_n.get(pi);yi.forEach(kr=>Yr(kr,Di))}),ui.forEach((yi,pi)=>{const Di=Vn.get(pi);yi.forEach(kr=>Yr(kr,Di))}),Yn.forEach(yi=>{this.processLeaveNode(yi)})});const Kn=[],hr=[];for(let yi=this._namespaceList.length-1;yi>=0;yi--)this._namespaceList[yi].drainQueuedTransitions(c).forEach(Di=>{const kr=Di.player,Uo=Di.element;if(Kn.push(kr),this.collectedEnterElements.length){const Oo=Uo[os];if(Oo&&Oo.setForMove){if(Oo.previousTriggersValues&&Oo.previousTriggersValues.has(Di.triggerName)){const va=Oo.previousTriggersValues.get(Di.triggerName),ba=this.statesByElement.get(Di.element);if(ba&&ba.has(Di.triggerName)){const fc=ba.get(Di.triggerName);fc.value=va,ba.set(Di.triggerName,fc)}}return void kr.destroy()}}const Gs=!Vt||!this.driver.containsElement(Vt,Uo),yo=Vn.get(Uo),Ks=_n.get(Uo),po=this._buildInstruction(Di,h,Ks,yo,Gs);if(po.errors&&po.errors.length)return void hr.push(po);if(Gs)return kr.onStart(()=>dn(Uo,po.fromStyles)),kr.onDestroy(()=>Ut(Uo,po.toStyles)),void C.push(kr);if(Di.isFallbackTransition)return kr.onStart(()=>dn(Uo,po.fromStyles)),kr.onDestroy(()=>Ut(Uo,po.toStyles)),void C.push(kr);const hc=[];po.timelines.forEach(Oo=>{Oo.stretchStartingKeyframe=!0,this.disabledNodes.has(Oo.element)||hc.push(Oo)}),po.timelines=hc,h.append(Uo,po.timelines),Q.push({instruction:po,player:kr,element:Uo}),po.queriedElements.forEach(Oo=>In(Me,Oo,[]).push(kr)),po.preStyleProps.forEach((Oo,va)=>{if(Oo.size){let ba=Xe.get(va);ba||Xe.set(va,ba=new Set),Oo.forEach((fc,Dl)=>ba.add(Dl))}}),po.postStyleProps.forEach((Oo,va)=>{let ba=Ge.get(va);ba||Ge.set(va,ba=new Set),Oo.forEach((fc,Dl)=>ba.add(Dl))})});if(hr.length){const yi=[];hr.forEach(pi=>{yi.push(function Mn(M,d){return new t.wOt(3505,!1)}())}),Kn.forEach(pi=>pi.destroy()),this.reportError(yi)}const fr=new Map,Lr=new Map;Q.forEach(yi=>{const pi=yi.element;h.has(pi)&&(Lr.set(pi,pi),this._beforeAnimationBuild(yi.player.namespaceId,yi.instruction,fr))}),C.forEach(yi=>{const pi=yi.element;this._getPreviousPlayers(pi,!1,yi.namespaceId,yi.triggerName,null).forEach(kr=>{In(fr,pi,[]).push(kr),kr.destroy()})});const aa=Yn.filter(yi=>_s(yi,Xe,Ge)),vs=new Map;er(vs,this.driver,gi,Ge,Gn.kp).forEach(yi=>{_s(yi,Xe,Ge)&&aa.push(yi)});const Ts=new Map;cn.forEach((yi,pi)=>{er(Ts,this.driver,new Set(yi),Xe,Gn.FX)}),aa.forEach(yi=>{const pi=vs.get(yi),Di=Ts.get(yi);vs.set(yi,new Map([...pi?.entries()??[],...Di?.entries()??[]]))});const Ws=[],Pd=[],Ml={};Q.forEach(yi=>{const{element:pi,player:Di,instruction:kr}=yi;if(h.has(pi)){if(Ot.has(pi))return Di.onDestroy(()=>Ut(pi,kr.toStyles)),Di.disabled=!0,Di.overrideTotalTime(kr.totalTime),void C.push(Di);let Uo=Ml;if(Lr.size>1){let yo=pi;const Ks=[];for(;yo=yo.parentNode;){const po=Lr.get(yo);if(po){Uo=po;break}Ks.push(yo)}Ks.forEach(po=>Lr.set(po,Uo))}const Gs=this._buildAnimation(Di.namespaceId,kr,fr,z,Ts,vs);if(Di.setRealPlayer(Gs),Uo===Ml)Ws.push(Di);else{const yo=this.playersByElement.get(Uo);yo&&yo.length&&(Di.parentPlayer=An(yo)),C.push(Di)}}else dn(pi,kr.fromStyles),Di.onDestroy(()=>Ut(pi,kr.toStyles)),Pd.push(Di),Ot.has(pi)&&C.push(Di)}),Pd.forEach(yi=>{const pi=z.get(yi.element);if(pi&&pi.length){const Di=An(pi);yi.setRealPlayer(Di)}}),C.forEach(yi=>{yi.parentPlayer?yi.syncPlayerEvents(yi.parentPlayer):yi.destroy()});for(let yi=0;yi!Gs.destroyed);Uo.length?Pc(this,pi,Uo):this.processLeaveNode(pi)}return Yn.length=0,Ws.forEach(yi=>{this.players.push(yi),yi.onDone(()=>{yi.destroy();const pi=this.players.indexOf(yi);this.players.splice(pi,1)}),yi.play()}),Ws}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,c,h,C,z){let Q=[];if(c){const Me=this.playersByQueriedElement.get(d);Me&&(Q=Me)}else{const Me=this.playersByElement.get(d);if(Me){const Xe=!z||z==wl;Me.forEach(Ge=>{Ge.queued||!Xe&&Ge.triggerName!=C||Q.push(Ge)})}}return(h||C)&&(Q=Q.filter(Me=>!(h&&h!=Me.namespaceId||C&&C!=Me.triggerName))),Q}_beforeAnimationBuild(d,c,h){const z=c.element,Q=c.isRemovalTransition?void 0:d,Me=c.isRemovalTransition?void 0:c.triggerName;for(const Xe of c.timelines){const Ge=Xe.element,Ot=Ge!==z,Vt=In(h,Ge,[]);this._getPreviousPlayers(Ge,Ot,Q,Me,c.toState).forEach(cn=>{const _n=cn.getRealPlayer();_n.beforeDestroy&&_n.beforeDestroy(),cn.destroy(),Vt.push(cn)})}dn(z,c.fromStyles)}_buildAnimation(d,c,h,C,z,Q){const Me=c.triggerName,Xe=c.element,Ge=[],Ot=new Set,Vt=new Set,ln=c.timelines.map(_n=>{const hn=_n.element;Ot.add(hn);const Yn=hn[os];if(Yn&&Yn.removedBeforeQueried)return new Gn.sf(_n.duration,_n.delay);const Ei=hn!==Xe,gi=function Wa(M){const d=[];return $s(M,d),d}((h.get(hn)||sl).map(fr=>fr.getRealPlayer())).filter(fr=>!!fr.element&&fr.element===hn),Vn=z.get(hn),ui=Q.get(hn),Kn=Qe(this._normalizer,_n.keyframes,Vn,ui),hr=this._buildPlayer(_n,Kn,gi);if(_n.subTimeline&&C&&Vt.add(hn),Ei){const fr=new jo(d,Me,hn);fr.setRealPlayer(hr),Ge.push(fr)}return hr});Ge.forEach(_n=>{In(this.playersByQueriedElement,_n.element,[]).push(_n),_n.onDone(()=>function Ic(M,d,c){let h=M.get(d);if(h){if(h.length){const C=h.indexOf(c);h.splice(C,1)}0==h.length&&M.delete(d)}return h}(this.playersByQueriedElement,_n.element,_n))}),Ot.forEach(_n=>ss(_n,wn));const cn=An(ln);return cn.onDestroy(()=>{Ot.forEach(_n=>Yr(_n,wn)),Ut(Xe,c.toStyles)}),Vt.forEach(_n=>{In(C,_n,[]).push(cn)}),cn}_buildPlayer(d,c,h){return c.length>0?this.driver.animate(d.element,c,d.duration,d.delay,d.easing,h):new Gn.sf(d.duration,d.delay)}}class jo{constructor(d,c,h){this.namespaceId=d,this.triggerName=c,this.element=h,this._player=new Gn.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((c,h)=>{c.forEach(C=>Et(d,h,void 0,C))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const c=this._player;c.triggerCallback&&d.onStart(()=>c.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,c){In(this._queuedCallbacks,d,[]).push(c)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}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(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const c=this._player;c.triggerCallback&&c.triggerCallback(d)}}function $a(M){return M&&1===M.nodeType}function Td(M,d){const c=M.style.display;return M.style.display=d??"none",c}function er(M,d,c,h,C){const z=[];c.forEach(Xe=>z.push(Td(Xe)));const Q=[];h.forEach((Xe,Ge)=>{const Ot=new Map;Xe.forEach(Vt=>{const ln=d.computeStyle(Ge,Vt,C);Ot.set(Vt,ln),(!ln||0==ln.length)&&(Ge[os]=Oc,Q.push(Ge))}),M.set(Ge,Ot)});let Me=0;return c.forEach(Xe=>Td(Xe,z[Me++])),Q}function Cl(M,d){const c=new Map;if(M.forEach(Me=>c.set(Me,[])),0==d.length)return c;const C=new Set(d),z=new Map;function Q(Me){if(!Me)return 1;let Xe=z.get(Me);if(Xe)return Xe;const Ge=Me.parentNode;return Xe=c.has(Ge)?Ge:C.has(Ge)?1:Q(Ge),z.set(Me,Xe),Xe}return d.forEach(Me=>{const Xe=Q(Me);1!==Xe&&c.get(Xe).push(Me)}),c}function ss(M,d){M.classList?.add(d)}function Yr(M,d){M.classList?.remove(d)}function Pc(M,d,c){An(c).onDone(()=>M.processLeaveNode(d))}function $s(M,d){for(let c=0;cC.add(z)):d.set(M,h),c.delete(M),!0}class Ba{constructor(d,c,h,C){this._driver=c,this._normalizer=h,this._triggerCache={},this.onRemovalComplete=(z,Q)=>{},this._transitionEngine=new Hl(d.body,c,h,C),this._timelineEngine=new ni(d.body,c,h),this._transitionEngine.onRemovalComplete=(z,Q)=>this.onRemovalComplete(z,Q)}registerTrigger(d,c,h,C,z){const Q=d+"-"+C;let Me=this._triggerCache[Q];if(!Me){const Xe=[],Ot=Ae(this._driver,z,Xe,[]);if(Xe.length)throw function O(M,d){return new t.wOt(3404,!1)}();Me=function ie(M,d,c){return new Ne(M,d,c)}(C,Ot,this._normalizer),this._triggerCache[Q]=Me}this._transitionEngine.registerTrigger(c,C,Me)}register(d,c){this._transitionEngine.register(d,c)}destroy(d,c){this._transitionEngine.destroy(d,c)}onInsert(d,c,h,C){this._transitionEngine.insertNode(d,c,h,C)}onRemove(d,c,h){this._transitionEngine.removeNode(d,c,h)}disableAnimations(d,c){this._transitionEngine.markElementAsDisabled(d,c)}process(d,c,h,C){if("@"==h.charAt(0)){const[z,Q]=di(h);this._timelineEngine.command(z,c,Q,C)}else this._transitionEngine.trigger(d,c,h,C)}listen(d,c,h,C,z){if("@"==h.charAt(0)){const[Q,Me]=di(h);return this._timelineEngine.listen(Q,c,Me,z)}return this._transitionEngine.listen(d,c,h,C,z)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}class Fs{static#e=this.initialStylesByElement=new WeakMap;constructor(d,c,h){this._element=d,this._startStyles=c,this._endStyles=h,this._state=0;let C=Fs.initialStylesByElement.get(d);C||Fs.initialStylesByElement.set(d,C=new Map),this._initialStyles=C}start(){this._state<1&&(this._startStyles&&Ut(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ut(this._element,this._initialStyles),this._endStyles&&(Ut(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Fs.initialStylesByElement.delete(this._element),this._startStyles&&(dn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(dn(this._element,this._endStyles),this._endStyles=null),Ut(this._element,this._initialStyles),this._state=3)}}function lc(M){let d=null;return M.forEach((c,h)=>{(function Ac(M){return"display"===M||"position"===M})(h)&&(d=d||new Map,d.set(h,c))}),d}class Rc{constructor(d,c,h,C){this.element=d,this.keyframes=c,this.options=h,this._specialStyles=C,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=h.duration,this._delay=h.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const c=()=>this._onFinish();this.domPlayer.addEventListener("finish",c),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",c)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const c=[];return d.forEach(h=>{c.push(Object.fromEntries(h))}),c}_triggerWebAnimation(d,c,h){return d.animate(this._convertKeyframesToObject(c),h)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((h,C)=>{"offset"!==C&&d.set(C,this._finished?h:Cr(this.element,C))}),this.currentSnapshot=d}triggerCallback(d){const c="start"===d?this._onStartFns:this._onDoneFns;c.forEach(h=>h()),c.length=0}}class Ga{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}matchesElement(d,c){return!1}containsElement(d,c){return Xr(d,c)}getParentElement(d){return bi(d)}query(d,c,h){return bo(d,c,h)}computeStyle(d,c,h){return Cr(d,c)}animate(d,c,h,C,z,Q=[]){const Xe={duration:h,delay:C,fill:0==C?"both":"forwards"};z&&(Xe.easing=z);const Ge=new Map,Ot=Q.filter(cn=>cn instanceof Rc);(function Ci(M,d){return 0===M||0===d})(h,C)&&Ot.forEach(cn=>{cn.currentSnapshot.forEach((_n,hn)=>Ge.set(hn,_n))});let Vt=function te(M){return M.length?M[0]instanceof Map?M:M.map(d=>new Map(Object.entries(d))):[]}(c).map(cn=>new Map(cn));Vt=function Fn(M,d,c){if(c.size&&d.length){let h=d[0],C=[];if(c.forEach((z,Q)=>{h.has(Q)||C.push(Q),h.set(Q,z)}),C.length)for(let z=1;zQ.set(Me,Cr(M,Me)))}}return d}(d,Vt,Ge);const ln=function $u(M,d){let c=null,h=null;return Array.isArray(d)&&d.length?(c=lc(d[0]),d.length>1&&(h=lc(d[d.length-1]))):d instanceof Map&&(c=lc(d)),c||h?new Fs(M,c,h):null}(d,Vt);return new Rc(d,Vt,Xe,ln)}}const Ka="@.disabled";class Xa{constructor(d,c,h,C){this.namespaceId=d,this.delegate=c,this.engine=h,this._onDestroy=C,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,c){return this.delegate.createElement(d,c)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,c){this.delegate.appendChild(d,c),this.engine.onInsert(this.namespaceId,c,d,!1)}insertBefore(d,c,h,C=!0){this.delegate.insertBefore(d,c,h),this.engine.onInsert(this.namespaceId,c,d,C)}removeChild(d,c,h){this.engine.onRemove(this.namespaceId,c,this.delegate)}selectRootElement(d,c){return this.delegate.selectRootElement(d,c)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,c,h,C){this.delegate.setAttribute(d,c,h,C)}removeAttribute(d,c,h){this.delegate.removeAttribute(d,c,h)}addClass(d,c){this.delegate.addClass(d,c)}removeClass(d,c){this.delegate.removeClass(d,c)}setStyle(d,c,h,C){this.delegate.setStyle(d,c,h,C)}removeStyle(d,c,h){this.delegate.removeStyle(d,c,h)}setProperty(d,c,h){"@"==c.charAt(0)&&c==Ka?this.disableAnimations(d,!!h):this.delegate.setProperty(d,c,h)}setValue(d,c){this.delegate.setValue(d,c)}listen(d,c,h){return this.delegate.listen(d,c,h)}disableAnimations(d,c){this.engine.disableAnimations(d,c)}}class Gi extends Xa{constructor(d,c,h,C,z){super(c,h,C,z),this.factory=d,this.namespaceId=c}setProperty(d,c,h){"@"==c.charAt(0)?"."==c.charAt(1)&&c==Ka?this.disableAnimations(d,h=void 0===h||!!h):this.engine.process(this.namespaceId,d,c.slice(1),h):this.delegate.setProperty(d,c,h)}listen(d,c,h){if("@"==c.charAt(0)){const C=function dc(M){switch(M){case"body":return document.body;case"document":return document;case"window":return window;default:return M}}(d);let z=c.slice(1),Q="";return"@"!=z.charAt(0)&&([z,Q]=function Wu(M){const d=M.indexOf(".");return[M.substring(0,d),M.slice(d+1)]}(z)),this.engine.listen(this.namespaceId,C,z,Q,Me=>{this.factory.scheduleListenerCallback(Me._data||-1,h,Me)})}return this.delegate.listen(d,c,h)}}class Gu{constructor(d,c,h){this.delegate=d,this.engine=c,this._zone=h,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,c.onRemovalComplete=(C,z)=>{const Q=z?.parentNode(C);Q&&z.removeChild(Q,C)}}createRenderer(d,c){const C=this.delegate.createRenderer(d,c);if(!d||!c?.data?.animation){const Ge=this._rendererCache;let Ot=Ge.get(C);return Ot||(Ot=new Xa("",C,this.engine,()=>Ge.delete(C)),Ge.set(C,Ot)),Ot}const z=c.id,Q=c.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,d);const Me=Ge=>{Array.isArray(Ge)?Ge.forEach(Me):this.engine.registerTrigger(z,Q,d,Ge.name,Ge)};return c.data.animation.forEach(Me),new Gi(this,Q,C,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,c,h){if(d>=0&&dc(h));const C=this._animationCallbacksBuffer;0==C.length&&queueMicrotask(()=>{this._zone.run(()=>{C.forEach(z=>{const[Q,Me]=z;Q(Me)}),this._animationCallbacksBuffer=[]})}),C.push([c,h])}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()}}let Ku=(()=>{class M extends Ba{constructor(c,h,C){super(c,h,C,(0,t.WQX)(t.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(h){return new(h||M)(t.KVO(G.qQ),t.KVO(ps),t.KVO(Jo))};static#t=this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac})}return M})();const Va=[{provide:Jo,useFactory:function Xu(){return new Gr}},{provide:Ba,useClass:Ku},{provide:t._9s,useFactory:function Fc(M,d,c){return new Gu(M,d,c)},deps:[Hn.B7,Ba,t.SKi]}],Zu=[{provide:ps,useFactory:()=>new Ga},{provide:t.bc$,useValue:"BrowserAnimations"},...Va],xr=()=>{const M=(0,t.WQX)(D.u).isLoggedIn(),d=(0,t.WQX)(j.Ix);return!!M||d.parseUrl("")},Lc=[{path:"",loadComponent:()=>u.e(358).then(u.bind(u,6358)).then(M=>M.HomePageComponent)},{path:"imprint",loadComponent:()=>u.e(358).then(u.bind(u,6358)).then(M=>M.HomePageComponent)},{path:"gtc",loadComponent:()=>u.e(358).then(u.bind(u,6358)).then(M=>M.HomePageComponent)},{path:"privacy",loadComponent:()=>u.e(358).then(u.bind(u,6358)).then(M=>M.HomePageComponent)},{path:"adfly-notice",loadComponent:()=>u.e(358).then(u.bind(u,6358)).then(M=>M.HomePageComponent)}],Bc=[{path:"subscribed",loadComponent:()=>u.e(817).then(u.bind(u,5817)).then(M=>M.SubscribedPageComponent),canActivate:[xr]},{path:"settings",loadComponent:()=>Promise.all([u.e(291),u.e(198)]).then(u.bind(u,7198)).then(M=>M.SettingsPageComponent),canActivate:[xr]},{path:"logout",loadComponent:()=>u.e(730).then(u.bind(u,3730)).then(M=>M.LogoutComponent)},{path:"reset-password",redirectTo:""}],Qr=[{path:"premium-redirect/:linkId",loadComponent:()=>Promise.all([u.e(76),u.e(575)]).then(u.bind(u,2575)).then(M=>M.LinkDetailPageComponent),data:{linkIdentificationType:"id"}},{path:":userId/:url",loadComponent:()=>Promise.all([u.e(76),u.e(575)]).then(u.bind(u,2575)).then(M=>M.LinkDetailPageComponent),data:{linkIdentificationType:"userIdAndUrl"}},{path:":userId/:unusedRandomKeyToBeIgnored/dynamic",loadComponent:()=>Promise.all([u.e(76),u.e(575)]).then(u.bind(u,2575)).then(M=>M.LinkDetailPageComponent),data:{linkIdentificationType:"userIdAndHash"}},{path:":userId/:url/1",loadComponent:()=>Promise.all([u.e(76),u.e(575)]).then(u.bind(u,2575)).then(M=>M.LinkDetailPageComponent),data:{linkIdentificationType:"userIdAndUrl"}}],Vc=[{path:"profile/:profileId",loadComponent:()=>Promise.all([u.e(291),u.e(76),u.e(189)]).then(u.bind(u,1189)).then(M=>M.ProfilePageComponent)}],$l=[{path:"search/:searchTerm/:page",loadComponent:()=>Promise.all([u.e(76),u.e(821)]).then(u.bind(u,5821)).then(M=>M.SearchPageComponent)},{path:"search/:searchTerm",redirectTo:"search/:searchTerm/",pathMatch:"full"}],uc=[{matcher:function sa(M){const d=M.map(c=>c.path).join("/");return d.endsWith("checkout-complete")?{consumed:M,posParams:{precedingPath:new j.Xw(d.replace(/\/checkout-complete$/,""),{})}}:null},loadComponent:()=>u.e(752).then(u.bind(u,1752)).then(M=>M.ChargebeeRedirectPageComponent)},...Bc,...Lc,...Vc,...$l,...Qr];let Wl=(()=>{class M{constructor(c){this.auth=c}intercept(c,h){return c.urlWithParams.includes("https://r.toptopix.com/3.json")||((c=c.clone({headers:c.headers.set("Content-Type","application/json")})).headers.has("Accept")||(c=c.clone({headers:c.headers.set("Accept","application/json")})),this.auth.isLoggedIn()&&(c=c.clone({setHeaders:{Authorization:`Bearer ${this.auth.accessToken}`}}))),h.handle(c)}static#e=this.\u0275fac=function(h){return new(h||M)(t.KVO(D.u))};static#t=this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),Ju=(()=>{class M{constructor(){}intercept(c,h){return c.urlWithParams.includes("api.taboola.com")&&(c=c.clone({headers:c.headers.delete("Content-Type")})),h.handle(c)}static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac})}return M})(),Id=(()=>{class M{constructor(){}intercept(c,h){return("completeCustomAdOffer"===c.body?.operationName||c.url.includes("checkout"))&&(c=c.clone({headers:c.headers.set("cqreferrer",window.location.href)})),h.handle(c)}static#e=this.\u0275fac=function(h){return new(h||M)};static#t=this.\u0275prov=t.jDH({token:M,factory:M.\u0275fac})}return M})();var _r=u(4004);class Ss{http;prefix;suffix;constructor(d,c="/assets/i18n/",h=".json"){this.http=d,this.prefix=c,this.suffix=h}getTranslation(d){return this.http.get(`${this.prefix}${d}${this.suffix}`)}}const xl={providers:[me.D9,{provide:Xn.a7,useClass:Wl,multi:!0},{provide:Xn.a7,useClass:Ju,multi:!0},{provide:Xn.a7,useClass:Id,multi:!0},{provide:Xn.a7,useExisting:_r.W,multi:!0},(0,t.oKB)(Bt._9,G.MD,Hn.Bb,Qs,Xo,fa,me.h.forRoot({loader:{provide:me.Wr,useFactory:function ja(M){return new Ss(M,"/assets/i18n/",".json?v=1")},deps:[Xn.Qq]}})),{provide:Ce.di,useValue:b.vJ},(0,j.lh)(uc,(0,j.oH)({scrollPositionRestoration:"top"}),(0,j.Ii)({onSameUrlNavigation:"reload"})),function Od(){return(0,t.ngT)("NgEagerAnimations"),[...Zu]}(),(0,Xn.$R)((0,Xn.Sx)())]};p.c.production&&(0,t.SmG)(),(0,Hn.B8)(rn,xl).then(M=>{}).catch(M=>console.error(M))},2708:(kt,De,u)=>{"use strict";u.d(De,{X4:()=>L,sb:()=>F});var F=function($){return $.ApprovedSeo="APPROVED_SEO",$.DeclinedSeo="DECLINED_SEO",$.FollowUpSeo="FOLLOW_UP_SEO",$.Fullscript="FULLSCRIPT",$.NotSeo="NOT_SEO",$.PendingSeo="PENDING_SEO",$}(F||{}),L=function($){return $.Paste="PASTE",$.Url="URL",$}(L||{})},5980:(kt,De,u)=>{"use strict";u.d(De,{DL:()=>gr,fw:()=>P,dn:()=>li,Qs:()=>Mo,J2:()=>xe,BP:()=>Pe,ce:()=>so,o3:()=>ro,v0:()=>b,zG:()=>qe,r4:()=>Ze,Li:()=>Ue,KG:()=>bo,Rv:()=>Cn,vc:()=>Wr.v,Xb:()=>$t.X,zO:()=>vi,xF:()=>Ct.x,H6:()=>jn,_f:()=>ki,dz:()=>be.d,Qw:()=>He,tx:()=>wi,og:()=>Ee.o,$0:()=>Ji.$0,qX:()=>Ji.qX,SD:()=>Ji.SD,wi:()=>q.w,sE:()=>Mt,FX:()=>Ft,gO:()=>it,lr:()=>ko,vJ:()=>A});var t=u(4438),p=u(177);let D=(()=>{class Z{constructor(){this.digit=0}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-ui-badge"]],inputs:{digit:"digit",state:"state"},standalone:!0,features:[t.aNF],decls:3,vars:5,consts:[[1,"badge"]],template:function(se,Y){1&se&&(t.j41(0,"div",0)(1,"span"),t.EFF(2),t.k0s()()),2&se&&(t.AVh("--active","active"===Y.state)("--inactive","inactive"===Y.state),t.R7$(2),t.JRh(Y.digit))},dependencies:[p.MD],styles:[".badge[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;border-radius:8px;color:#fff;font-size:12px;font-weight:700;line-height:1rem;min-width:1rem;padding:0 4px;text-align:center}.badge.--inactive[_ngcontent-%COMP%]{background-color:#aaa;transition:background-color .15s ease-in-out}.badge.--active[_ngcontent-%COMP%]{background-color:#ff8114;transition:background-color .35s ease-in-out}"]})}return Z})();var j=u(1744);function E(Z,ue){if(1&Z&&(t.nrm(0,"img",5),t.nI1(1,"LvLibSafe")),2&Z){const N=t.XpG();t.HbH("avatar-fallback-"+N.avatarSize()),t.Y8G("src",t.i5U(1,3,N.imgSrc(),"resourceUrl"),t.B4B)}}function ee(Z,ue){if(1&Z&&(t.j41(0,"div",6)(1,"span"),t.EFF(2),t.k0s()()),2&Z){const N=t.XpG();t.R7$(),t.HbH("letter-container-"+N.avatarSize()),t.R7$(),t.JRh(N.getFirstTwoLettersOfDisplayname())}}function G(Z,ue){1&Z&&(t.j41(0,"div",3),t.nrm(1,"div",7),t.k0s())}function B(Z,ue){if(1&Z&&(t.j41(0,"div",4),t.nrm(1,"lv-lib-ui-badge",8),t.k0s()),2&Z){const N=t.XpG();t.R7$(),t.Y8G("digit",N.digitsForBadge())("state","active")}}function R(Z,ue){if(1&Z&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&Z){const N=t.XpG();t.R7$(),t.JRh(N.displayName())}}let P=(()=>{class Z{constructor(){this.imgSrc=(0,t.hFB)(""),this.showAddIcon=(0,t.hFB)(!1),this.showBadge=(0,t.hFB)(!1),this.digitsForBadge=(0,t.hFB)(0),this.avatarSize=(0,t.hFB)("medium"),this.displayName=(0,t.hFB)(),this.iconPosition=(0,t.hFB)("bottom-right"),this.displayNamePosition=(0,t.hFB)("hide"),this.avatarClicked=(0,t.CGW)()}clickEventEmitter(N){this.avatarClicked.emit(N)}getFirstTwoLettersOfDisplayname(){const N=this.displayName()?.match(/^(.)(.)?/);return N?N[1].toUpperCase()+(N[2]?N[2].toUpperCase():""):""}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-avatar"]],inputs:{imgSrc:[t.Mj6.SignalBased,"imgSrc"],showAddIcon:[t.Mj6.SignalBased,"showAddIcon"],showBadge:[t.Mj6.SignalBased,"showBadge"],digitsForBadge:[t.Mj6.SignalBased,"digitsForBadge"],avatarSize:[t.Mj6.SignalBased,"avatarSize"],displayName:[t.Mj6.SignalBased,"displayName"],iconPosition:[t.Mj6.SignalBased,"iconPosition"],displayNamePosition:[t.Mj6.SignalBased,"displayNamePosition"]},outputs:{avatarClicked:"avatarClicked"},standalone:!0,features:[t.aNF],decls:7,vars:8,consts:[[1,"avatar-container",3,"click"],[1,"avatar-fallback"],["alt","alt",1,"avatar-fallback","avatar-img",3,"class","src"],[1,"add-icon-wrapper"],[1,"badge-wrapper"],["alt","alt",1,"avatar-fallback","avatar-img",3,"src"],[1,"letter-container"],[1,"add-icon"],[3,"digit","state"]],template:function(se,Y){1&se&&(t.j41(0,"div",0),t.bIt("click",function(Tt){return Y.clickEventEmitter(Tt)}),t.j41(1,"div",1),t.DNE(2,E,2,6,"img",2)(3,ee,3,3)(4,G,2,0,"div",3)(5,B,2,2,"div",4),t.k0s(),t.DNE(6,R,2,1,"span"),t.k0s()),2&se&&(t.HbH("avatar-container-"+Y.avatarSize()+" avatar-container-display-name-"+Y.displayNamePosition()),t.R7$(),t.HbH("avatar-fallback-"+Y.avatarSize()+" avatar-fallback-icon-"+Y.iconPosition()),t.R7$(),t.vxM(2,""!==Y.imgSrc()?2:!Y.imgSrc()&&Y.displayName()?3:-1),t.R7$(2),t.vxM(4,Y.showAddIcon()&&!Y.showBadge()?4:-1),t.R7$(),t.vxM(5,Y.showBadge()&&Y.digitsForBadge()&&"small"!==Y.avatarSize()&&"large"!==Y.avatarSize()&&!Y.showAddIcon()?5:-1),t.R7$(),t.vxM(6,"hide"!==Y.displayNamePosition()?6:-1))},dependencies:[D,j.H],styles:['h1[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:2.5rem;line-height:1.3;margin:0}@media (max-width: 768px){h1[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}}h2[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.5rem;line-height:1.3;margin:0}h3[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.25rem;line-height:1.3;margin:0}h4[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.3;margin:0}p[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:300;font-size:1rem;line-height:1.5;margin:0}b[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.5;margin:0}.lv-center-shared[_ngcontent-%COMP%]{display:flex!important;justify-content:center;align-items:center}.custom-dialog[_ngcontent-%COMP%]{width:70vw;border-radius:0}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%]{width:100vw!important}}.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{padding:0;border-radius:0;height:auto}@media (min-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{margin:30px 0}}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{padding:0!important}}.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{color:#000}.btn-text[_ngcontent-%COMP%]{z-index:5;position:relative}.lv-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.lv-center-x[_ngcontent-%COMP%]{display:flex;justify-content:center}.lv-center-y[_ngcontent-%COMP%]{display:flex;align-items:center}.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:16px;line-height:24px;letter-spacing:0;color:#ff8114;cursor:pointer}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em;display:table}@media (max-width: 768px){.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-size:24px;line-height:32px!important}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em!important;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em!important;display:table}}.link.small[_ngcontent-%COMP%], .link-left.small[_ngcontent-%COMP%]{font-size:12px;line-height:14px}.link.small[_ngcontent-%COMP%]:before, .link-left.small[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.6309em;display:table}.link.small[_ngcontent-%COMP%]:after, .link-left.small[_ngcontent-%COMP%]:after{content:"";margin-top:-.6582em;display:table}.link[_ngcontent-%COMP%]:hover, .link-left[_ngcontent-%COMP%]:hover{color:#cc6810}.search-title[_ngcontent-%COMP%]{cursor:pointer;margin:3px 0 30px;line-height:36px}@media (max-width: 768px){.search-title[_ngcontent-%COMP%]{margin:0 0 10px!important;line-height:80px!important;height:40px!important;font-size:36px!important}}.avatar-container[_ngcontent-%COMP%]{display:flex}.avatar-container[_ngcontent-%COMP%] .letter-container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:100%;z-index:0;background-color:#cc6810}.avatar-container[_ngcontent-%COMP%] .letter-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff}.avatar-container[_ngcontent-%COMP%] .letter-container-small[_ngcontent-%COMP%]{font-size:1rem;font-weight:700}.avatar-container[_ngcontent-%COMP%] .letter-container-medium[_ngcontent-%COMP%]{font-size:2rem;font-weight:700}.avatar-container[_ngcontent-%COMP%] .letter-container-large[_ngcontent-%COMP%]{font-size:3rem;font-weight:700}.avatar-container-small[_ngcontent-%COMP%]{width:2rem}.avatar-container-medium[_ngcontent-%COMP%]{width:4rem}.avatar-container-large[_ngcontent-%COMP%]{width:6rem}.avatar-container-display-name-bottom[_ngcontent-%COMP%]{flex-direction:column;gap:.25rem}.avatar-container-display-name-bottom[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;font-size:.75rem}.avatar-container-display-name-bottom[_ngcontent-%COMP%] .avatar-img[_ngcontent-%COMP%]{position:absolute}.avatar-container-display-name-right[_ngcontent-%COMP%]{flex-direction:row;align-items:center;gap:.5rem;width:100%}.avatar-container-display-name-right[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500;font-size:1rem;cursor:pointer}.avatar-container[_ngcontent-%COMP%] .avatar-fallback[_ngcontent-%COMP%]{display:flex;border-radius:100%;background:url(profile_avatar_fallback.cd8106ac248f33f4.png);background-size:cover;cursor:pointer}.avatar-container[_ngcontent-%COMP%] .avatar-fallback[_ngcontent-%COMP%] .avatar-img[_ngcontent-%COMP%]{background:#fff;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:100%;background-color:#fff;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:#fff 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:1.5rem;height:1.5rem}.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[_ngcontent-%COMP%]{width:4rem;height:4rem}.avatar-container[_ngcontent-%COMP%] .avatar-fallback-medium[_ngcontent-%COMP%] .add-icon-wrapper[_ngcontent-%COMP%]{width:1rem;height:1rem}.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:2rem;height:2rem}']})}return Z})();const I=["*"],A={disableClose:!0,panelClass:"custom-dialog"};let b=(()=>{class Z{static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lib-shared-dialog-wrapper"]],standalone:!0,features:[t.aNF],ngContentSelectors:I,decls:2,vars:0,consts:[[1,"dialog-wrapper"]],template:function(se,Y){1&se&&(t.NAR(),t.j41(0,"div",0),t.SdG(1),t.k0s())},dependencies:[p.MD],styles:[".atomic-dialog-wrapper[_ngcontent-%COMP%]{background-color:#f5f5f5;display:flex;flex-direction:column;height:100%}"]})}return Z})();var tt=u(5351);const je=["*"];let xe=(()=>{class Z{constructor(){this.dialogPadding="xl"}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lib-shared-dialog-content"]],inputs:{dialogPadding:"dialogPadding"},standalone:!0,features:[t.aNF],ngContentSelectors:je,decls:2,vars:8,consts:[["mat-dialog-content","",1,"content-wrapper"]],template:function(se,Y){1&se&&(t.NAR(),t.j41(0,"div",0),t.SdG(1),t.k0s()),2&se&&t.AVh("s","s"===Y.dialogPadding)("m","m"===Y.dialogPadding)("l","l"===Y.dialogPadding)("xl","xl"===Y.dialogPadding)},dependencies:[p.MD,tt.Yi],styles:[".content-wrapper[_ngcontent-%COMP%]{background-color:#f5f5f5;color:#000;width:100%}.s[_ngcontent-%COMP%]{padding:.75rem}@media (max-width: 768px){.s[_ngcontent-%COMP%]{padding:.5rem}}.m[_ngcontent-%COMP%]{padding:1rem}@media (max-width: 768px){.m[_ngcontent-%COMP%]{padding:.75rem}}.l[_ngcontent-%COMP%]{padding:1.5rem}@media (max-width: 768px){.l[_ngcontent-%COMP%]{padding:1rem}}.xl[_ngcontent-%COMP%]{padding:2rem}@media (max-width: 768px){.xl[_ngcontent-%COMP%]{padding:1.5rem}}"]})}return Z})();var ve=u(9213);const ye=["*"];function pe(Z,ue){if(1&Z){const N=t.RV6();t.j41(0,"mat-icon",3),t.bIt("click",function(){t.eBV(N);const Y=t.XpG();return t.Njj(Y.cancelBtnFunction.emit())}),t.EFF(1,"close"),t.k0s()}}let Pe=(()=>{class Z{constructor(){this.showCancelBtn=!0,this.cancelBtnFunction=new t.bkB}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lib-shared-dialog-header"]],inputs:{showCancelBtn:"showCancelBtn"},outputs:{cancelBtnFunction:"cancelBtnFunction"},standalone:!0,features:[t.aNF],ngContentSelectors:ye,decls:4,vars:1,consts:[[1,"header-wrapper"],[1,"dialog-header-title"],[3,"click",4,"ngIf"],[3,"click"]],template:function(se,Y){1&se&&(t.NAR(),t.j41(0,"div",0)(1,"div",1),t.SdG(2),t.k0s(),t.DNE(3,pe,2,0,"mat-icon",2),t.k0s()),2&se&&(t.R7$(3),t.Y8G("ngIf",Y.showCancelBtn))},dependencies:[p.MD,p.bT,ve.m_,ve.An],styles:[".header-wrapper[_ngcontent-%COMP%]{background-color:#323232;height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 2rem;margin:0;color:#fff;gap:5px}.header-wrapper[_ngcontent-%COMP%] .dialog-header-title[_ngcontent-%COMP%]{overflow:hidden;font-size:40px;white-space:nowrap;text-overflow:ellipsis}@media (max-width: 768px){.header-wrapper[_ngcontent-%COMP%] .dialog-header-title[_ngcontent-%COMP%]{font-size:32px}}.header-wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff;transform:scale(1.6);overflow:visible;cursor:pointer}"]})}return Z})();var Ct=u(3989),$t=u(9821),be=u(4497),Be=u(345);class oe{static getEmbededYoutubeUrl(ue){const N=ue.match(/https:\/\/img\.youtube\.com\/vi\/([^\/]+)\/mqdefault\.jpg/);return N&&N[1]?`https://www.youtube.com/embed/${N[1]}`:null}static addParamsToEmbedUrl(ue,N){if(ue){const se=new URL(ue);return Object.entries(N).forEach(([Y,dt])=>{se.searchParams.set(Y,dt)}),se.toString()}return null}}function Re(Z,ue){if(1&Z&&(t.j41(0,"div",4),t.EFF(1),t.k0s()),2&Z){const N=t.XpG();t.R7$(),t.JRh(N.earlyAccesType())}}function fe(Z,ue){if(1&Z&&(t.j41(0,"div",7),t.nrm(1,"iframe",13),t.k0s()),2&Z){const N=t.XpG();t.R7$(),t.Y8G("src",N.autoPlayUrlSanitized(),t.f$h)}}function ge(Z,ue){if(1&Z&&t.nrm(0,"lv-lib-chip",10),2&Z){let N,se,Y,dt;const Tt=ue.$implicit;t.Y8G("icon",Tt.icon)("chipType","static")("tooltip",null!==(N=Tt.tooltip)&&void 0!==N?N:"")("iconColor",null!==(se=Tt.iconColor)&&void 0!==se?se:"black")("chipColor",null!==(Y=Tt.chipColor)&&void 0!==Y?Y:"light")("isMaterial",!0)("text",null!==(dt=Tt.text)&&void 0!==dt?dt:"")}}function ke(Z,ue){if(1&Z){const N=t.RV6();t.j41(0,"div",12)(1,"div",14)(2,"lv-lib-button",15),t.bIt("click",function(Y){t.eBV(N);const dt=t.XpG();return t.Njj(dt.clickContent(Y))}),t.EFF(3),t.k0s()(),t.j41(4,"div",16)(5,"lv-lib-button",15),t.bIt("click",function(Y){t.eBV(N);const dt=t.XpG();return t.Njj(dt.clickContent(Y))}),t.EFF(6),t.k0s()()()}if(2&Z){const N=t.XpG();t.R7$(2),t.Y8G("type","primary")("shape","round")("size","md")("isfullWidth",!1),t.R7$(),t.JRh(N.buttonText()),t.R7$(2),t.Y8G("type","primary")("shape","round")("size","lg")("isfullWidth",!0),t.R7$(),t.JRh(N.buttonText())}}let qe=(()=>{class Z{constructor(){this.ref=(0,t.WQX)(t.aKT),this.sanitizer=(0,t.WQX)(Be.up),this.result=t.hFB.required(),this.elementIndex=(0,t.hFB)(null),this.isAd=t.hFB.required(),this.buttonText=(0,t.hFB)(""),this.earlyAccesType=(0,t.hFB)("Public"),this.preloadVideo=(0,t.vPA)(!1),this.playVideo=(0,t.vPA)(!1),this.allowAutoplayOnHover=(0,t.hFB)(!1),this.autoPlayUrlSanitized=(0,t.EWP)(()=>{const N=oe.getEmbededYoutubeUrl(this.result()?.thumbnail_url);if(N&&(this.preloadVideo()||this.playVideo())){const se=oe.addParamsToEmbedUrl(N,{mute:"1",enablejsapi:"1",start:"5",autoplay:this.playVideo()?"1":"0"});if(se)return this.sanitizer.bypassSecurityTrustResourceUrl(se)}return""}),this.contentClicked=(0,t.CGW)(),this.avatarClicked=(0,t.CGW)(),this.videoPlaying=(0,t.CGW)()}clickContent(N){this.autoPlayUrlSanitized()||this.contentClicked.emit(N)}clickAvatar(N){this.avatarClicked.emit(N)}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lib-shared-ui-fullsize-result-component"]],inputs:{result:[t.Mj6.SignalBased,"result"],elementIndex:[t.Mj6.SignalBased,"elementIndex"],isAd:[t.Mj6.SignalBased,"isAd"],buttonText:[t.Mj6.SignalBased,"buttonText"],earlyAccesType:[t.Mj6.SignalBased,"earlyAccesType"],allowAutoplayOnHover:[t.Mj6.SignalBased,"allowAutoplayOnHover"]},outputs:{contentClicked:"contentClicked",avatarClicked:"avatarClicked",videoPlaying:"videoPlaying"},standalone:!0,features:[t.aNF],decls:16,vars:11,consts:[["data-testid","lv-result",3,"padding","rounded"],[1,"lv-card-container"],[1,"lv-card-header"],[3,"avatarClicked","avatarSize","displayName","displayNamePosition","imgSrc"],[1,"early-access"],[1,"lv-card-body",3,"click","mouseleave","mouseenter"],["alt","",3,"src"],[1,"player-wrapper"],[1,"lv-card-footer"],[1,"--badge-container"],["badges","",3,"icon","chipType","tooltip","iconColor","chipColor","isMaterial","text"],[1,"--title-container"],[1,"--button-container"],["width","100%","height","100%","frameborder","0","allow","accelerometer; encrypted-media","allowfullscreen","",3,"src"],[1,"button-desktop"],[3,"click","type","shape","size","isfullWidth"],[1,"button-mobile"]],template:function(se,Y){if(1&se&&(t.j41(0,"lv-lib-card",0)(1,"div",1)(2,"div",2)(3,"lv-lib-avatar",3),t.bIt("avatarClicked",function(){let Tt;return Y.clickAvatar(null==(Tt=Y.result())?null:Tt.user_id)}),t.k0s(),t.DNE(4,Re,2,1,"div",4),t.k0s(),t.j41(5,"div",5),t.bIt("click",function(Tt){return Y.clickContent(Tt)})("mouseleave",function(){return Y.playVideo.set(!1)})("mouseenter",function(){return Y.playVideo.set(!0)}),t.nrm(6,"img",6),t.DNE(7,fe,2,1,"div",7),t.k0s(),t.j41(8,"div",8)(9,"div",9),t.Z7z(10,ge,1,7,"lv-lib-chip",10,t.Vm6),t.k0s(),t.j41(12,"div",11)(13,"p"),t.EFF(14),t.k0s()(),t.DNE(15,ke,7,10,"div",12),t.k0s()()()),2&se){let dt,Tt,wn,kn;t.Y8G("padding",!1)("rounded",!0),t.R7$(3),t.Y8G("avatarSize","small")("displayName",Y.isAd()?"Linkvertise":null==(dt=Y.result())?null:dt.user_display_name)("displayNamePosition","right")("imgSrc",""),t.R7$(),t.vxM(4,Y.isAd()?-1:4),t.R7$(2),t.Y8G("src",null==(Tt=Y.result())?null:Tt.thumbnail_url,t.B4B),t.R7$(),t.vxM(7,Y.autoPlayUrlSanitized()&&Y.allowAutoplayOnHover()?7:-1),t.R7$(3),t.Dyx(null==(wn=Y.result())?null:wn.badges),t.R7$(4),t.JRh(null==(kn=Y.result())?null:kn.title),t.R7$(),t.vxM(15,Y.isAd()?-1:15)}},dependencies:[p.MD,Ct.x,$t.X,P,be.d],styles:[".lv-card-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;gap:1rem;padding-top:1rem;padding-bottom:1rem}@media screen and (max-width: 768px){.lv-card-container[_ngcontent-%COMP%] .lv-card-container[_ngcontent-%COMP%]{width:100%}}.lv-card-container[_ngcontent-%COMP%] .lv-card-header[_ngcontent-%COMP%]{background-color:#fff;padding-inline:1rem;display:flex;justify-content:space-between;align-items:center}.lv-card-container[_ngcontent-%COMP%] .lv-card-header[_ngcontent-%COMP%] .early-access[_ngcontent-%COMP%]{background-color:#f5f5f5;padding-inline:.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border-radius:4px;font-weight:500;font-size:.75rem;line-height:1}.lv-card-container[_ngcontent-%COMP%] .lv-card-body[_ngcontent-%COMP%]{gap:.5rem;width:100%;position:relative;cursor:pointer}.lv-card-container[_ngcontent-%COMP%] .lv-card-body[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%]{background-color:#fff;display:flex;flex-direction:column;gap:1rem}.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--badge-container[_ngcontent-%COMP%]{padding-inline:1rem;gap:.75rem;display:flex}.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--title-container[_ngcontent-%COMP%]{padding-inline:1rem;gap:.5rem}.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--title-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-weight:500;font-size:1.25rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width: 768px){.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--title-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal}}.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--button-container[_ngcontent-%COMP%]{display:flex;padding-inline:1rem}.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--button-container[_ngcontent-%COMP%] .button-mobile[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 768px){.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--button-container[_ngcontent-%COMP%]{display:block!important}.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--button-container[_ngcontent-%COMP%] .button-mobile[_ngcontent-%COMP%]{display:block}.lv-card-container[_ngcontent-%COMP%] .lv-card-footer[_ngcontent-%COMP%] .--button-container[_ngcontent-%COMP%] .button-desktop[_ngcontent-%COMP%]{display:none}}.player-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;pointer-events:none;transition:opacity .3s ease-in-out}.lv-card-body[_ngcontent-%COMP%]:hover .player-wrapper[_ngcontent-%COMP%]{pointer-events:all}"]})}return Z})();const Ce=["avatarContent"],We=["*"];let Ze=(()=>{class Z{constructor(){this.avatarClicked=(0,t.CGW)(),this.limitLeft=(0,t.vPA)(!0),this.limitRight=(0,t.vPA)(!1),this.leftScroll=(0,t.vPA)(0),this.isTouchDevice=window.matchMedia?.("(hover: none)")?.matches??!1,this.avatarContent=(0,t.ebz)("avatarContent"),(0,t.QZP)(()=>{const N=this.avatarContent()?.nativeElement;0===this.leftScroll()?this.limitLeft.set(!0):this.limitLeft.set(!1),this.leftScroll()+N.clientWidth>=N.scrollWidth?this.limitRight.set(!0):this.limitRight.set(!1)},{allowSignalWrites:!0})}onContentScroll(){if(this.isTouchDevice){const N=this.avatarContent()?.nativeElement,{scrollLeft:se}=N,Y=N.scrollWidth-N.clientWidth;this.limitLeft.set(0===se),this.limitRight.set(0!==se&&se>=Y)}}clickEventEmitter(N){this.avatarClicked.emit(N)}scrollRight(){(this.avatarContent()?.nativeElement).scrollTo({left:this.leftScroll()+150,behavior:"smooth"}),this.leftScroll.update(()=>this.leftScroll()+150)}scrollLeft(){(this.avatarContent()?.nativeElement).scrollTo({left:this.leftScroll()-150,behavior:"smooth"}),this.leftScroll.update(()=>this.leftScroll()-150)}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lib-shared-ui-horizontal-avatar-scroll-container"]],viewQuery:function(se,Y){1&se&&t.wEZ(Y.avatarContent,Ce,5),2&se&&t.NyB()},outputs:{avatarClicked:"avatarClicked"},standalone:!0,features:[t.aNF],ngContentSelectors:We,decls:12,vars:8,consts:[["avatarContent",""],[1,"content-container"],[1,"button-container"],[1,"scroll-button","scroll-button-left",3,"click"],[1,"content",3,"scroll"],[1,"scroll-button","scroll-button-right",3,"click"]],template:function(se,Y){if(1&se){const dt=t.RV6();t.NAR(),t.j41(0,"div",1)(1,"div",2)(2,"button",3),t.bIt("click",function(){return t.eBV(dt),t.Njj(Y.scrollLeft())}),t.j41(3,"mat-icon"),t.EFF(4,"keyboard_arrow_left"),t.k0s()()(),t.j41(5,"div",4,0),t.bIt("scroll",function(){return t.eBV(dt),t.Njj(Y.onContentScroll())}),t.SdG(7),t.k0s(),t.j41(8,"div",2)(9,"button",5),t.bIt("click",function(){return t.eBV(dt),t.Njj(Y.scrollRight())}),t.j41(10,"mat-icon"),t.EFF(11,"keyboard_arrow_right"),t.k0s()()()()}2&se&&(t.AVh("content-container-right-fade",!Y.limitRight())("content-container-left-fade",!Y.limitLeft()),t.R7$(),t.AVh("button-container-hide",Y.limitLeft()),t.R7$(7),t.AVh("button-container-hide",Y.limitRight()))},dependencies:[p.MD,ve.An],styles:['h1[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:2.5rem;line-height:1.3;margin:0}@media (max-width: 768px){h1[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}}h2[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.5rem;line-height:1.3;margin:0}h3[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.25rem;line-height:1.3;margin:0}h4[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.3;margin:0}p[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:300;font-size:1rem;line-height:1.5;margin:0}b[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.5;margin:0}.lv-center-shared[_ngcontent-%COMP%]{display:flex!important;justify-content:center;align-items:center}.custom-dialog[_ngcontent-%COMP%]{width:70vw;border-radius:0}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%]{width:100vw!important}}.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{padding:0;border-radius:0;height:auto}@media (min-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{margin:30px 0}}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{padding:0!important}}.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{color:#000}.btn-text[_ngcontent-%COMP%]{z-index:5;position:relative}.lv-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.lv-center-x[_ngcontent-%COMP%]{display:flex;justify-content:center}.lv-center-y[_ngcontent-%COMP%]{display:flex;align-items:center}.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:16px;line-height:24px;letter-spacing:0;color:#ff8114;cursor:pointer}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em;display:table}@media (max-width: 768px){.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-size:24px;line-height:32px!important}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em!important;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em!important;display:table}}.link.small[_ngcontent-%COMP%], .link-left.small[_ngcontent-%COMP%]{font-size:12px;line-height:14px}.link.small[_ngcontent-%COMP%]:before, .link-left.small[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.6309em;display:table}.link.small[_ngcontent-%COMP%]:after, .link-left.small[_ngcontent-%COMP%]:after{content:"";margin-top:-.6582em;display:table}.link[_ngcontent-%COMP%]:hover, .link-left[_ngcontent-%COMP%]:hover{color:#cc6810}.search-title[_ngcontent-%COMP%]{cursor:pointer;margin:3px 0 30px;line-height:36px}@media (max-width: 768px){.search-title[_ngcontent-%COMP%]{margin:0 0 10px!important;line-height:80px!important;height:40px!important;font-size:36px!important}}.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:15px;pointer-events:none;background-image:linear-gradient(to right,#0000,#f5f5f5);height:100%;width:163px}.content-container-left-fade[_ngcontent-%COMP%]:before{content:"";position:absolute;z-index:1;top:0;left:0;bottom:15px;pointer-events:none;background-image:linear-gradient(to left,#0000,#f5f5f5);height:100%;width:163px}.content-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;gap:1rem;white-space:nowrap;overflow-x:hidden;overflow-y:hidden;position:relative;scrollbar-width:none;padding-inline:1rem}.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:50%;width:2.5rem;height:2.5rem;background-color:#323232;border:none;color:#f5f5f5;position:absolute;top:50%;transform:translateY(-50%);cursor:pointer}.content-container[_ngcontent-%COMP%] .scroll-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute;z-index:100}.content-container[_ngcontent-%COMP%] .scroll-button-left[_ngcontent-%COMP%]{left:13.5px}.content-container[_ngcontent-%COMP%] .scroll-button-right[_ngcontent-%COMP%]{right:13.5px}@media (hover: none){.content-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.content-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.content-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{display:none}}']})}return Z})();var xn=u(9969);const Tn=["*"];function Rn(Z,ue){if(1&Z&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&Z){const N=t.XpG();t.R7$(),t.JRh(N.text)}}function ii(Z,ue){1&Z&&t.SdG(0)}let Cn=(()=>{class Z{set expanded(N){this._expanded=N,this.collapsing=this._expanded}constructor(){this.title="",this.text="",this.showText=!1,this.marginSize="m",this.showShadow=!0,this.collapsing=!1,this._expanded=!1}toggleAccordion(N){this.collapsing=!N}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-accordion"]],inputs:{title:"title",text:"text",showText:"showText",marginSize:"marginSize",showShadow:"showShadow",rounded:"rounded",expanded:"expanded"},standalone:!0,features:[t.aNF],ngContentSelectors:Tn,decls:9,vars:19,consts:[[1,"lv-accordion"],[1,"lv-accordion__item"],[1,"lv-accordion__header",3,"click"],[1,"lv-accordion__button"],[1,"lv-accordion__content"],[1,"lv-accordion__body"]],template:function(se,Y){1&se&&(t.NAR(),t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.bIt("click",function(){return Y.toggleAccordion(Y.collapsing)}),t.j41(3,"h4",3),t.EFF(4),t.k0s()(),t.j41(5,"div",4)(6,"div",5),t.DNE(7,Rn,2,1,"span")(8,ii,1,0),t.k0s()()()()),2&se&&(t.AVh("lv-accordion--shadow",Y.showShadow)("lv-accordion--border-radius",Y.rounded)("lv-accordion--margin-s","s"===Y.marginSize)("lv-accordion--margin-m","m"===Y.marginSize)("lv-accordion--margin-l","l"===Y.marginSize)("lv-accordion--margin-xl","xl"===Y.marginSize),t.R7$(2),t.AVh("lv-accordion__header--active",Y.collapsing),t.R7$(2),t.SpI(" ",Y.title," "),t.R7$(),t.AVh("lv-accordion__content--active",Y.collapsing),t.Y8G("@contentExpansion",Y.collapsing?"expanded":"collapsed"),t.R7$(2),t.vxM(7,Y.text?7:8))},styles:[".lv-accordion[_ngcontent-%COMP%]{background-color:#fff}.lv-accordion--border-radius[_ngcontent-%COMP%]{border-radius:12px}.lv-accordion[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;padding:1.5rem 0 1.5rem 1.5rem}.lv-accordion--shadow[_ngcontent-%COMP%]{box-shadow:0 3px 24px #3232320a}.lv-accordion--margin-s[_ngcontent-%COMP%]{margin-top:.75rem}.lv-accordion--margin-m[_ngcontent-%COMP%]{margin-top:1rem}.lv-accordion--margin-l[_ngcontent-%COMP%]{margin-top:1.5rem}.lv-accordion--margin-xl[_ngcontent-%COMP%]{margin-top:2rem}.lv-accordion__item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.lv-accordion__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:0;width:100%;-webkit-user-select:none;user-select:none}.lv-accordion__header[_ngcontent-%COMP%]:hover{cursor:pointer}.lv-accordion__header[_ngcontent-%COMP%]:after{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E\");width:24px;height:24px;right:0;margin-right:.75rem;transition:transform .4s ease}.lv-accordion__header--active[_ngcontent-%COMP%]:after{transform:rotate(180deg)}.lv-accordion__content[_ngcontent-%COMP%]{margin-top:0;transition-delay:.2s;padding:1.5rem}.lv-accordion__content--active[_ngcontent-%COMP%]{margin-top:.5rem;padding:0 1.5rem 1.5rem}"],data:{animation:[(0,xn.hZ)("contentExpansion",[(0,xn.wk)("expanded",(0,xn.iF)({display:"block",height:"*",opacity:1,visibility:"visible"})),(0,xn.wk)("collapsed",(0,xn.iF)({display:"none",height:"0px",opacity:0,visibility:"hidden"})),(0,xn.kY)("expanded <=> collapsed",(0,xn.i0)("100ms ease"))])]},changeDetection:0})}return Z})();function ot(Z,ue){if(1&Z&&(t.nrm(0,"img",1),t.nI1(1,"LvLibSafe")),2&Z){const N=t.XpG(2);t.Y8G("src",t.i5U(1,2,N.media().src,"resourceUrl"),t.B4B)("alt",N.media().alt)}}function Le(Z,ue){if(1&Z&&(t.j41(0,"div",2),t.nrm(1,"iframe",3),t.nI1(2,"LvLibSafe"),t.k0s()),2&Z){const N=t.XpG(2);t.R7$(),t.Y8G("title",N.media().alt)("src",t.i5U(2,2,"https://www.youtube-nocookie.com/embed/"+N.media().src+"?autoplay="+(N.isMobile()?0:1)+"&mute=1","resourceUrl"),t.f$h)}}function at(Z,ue){if(1&Z&&(t.j41(0,"div",4),t.nrm(1,"img",5),t.k0s()),2&Z){const N=t.XpG(2);t.R7$(),t.Y8G("src","https://img.youtube.com/vi/"+N.media().src+"/hq720.jpg",t.B4B)("alt",N.media().alt+"_thumbnail")}}function _t(Z,ue){if(1&Z&&(t.qex(0),t.DNE(1,ot,2,5,"img",1)(2,Le,3,5)(3,at,2,2),t.bVm()),2&Z){const N=t.XpG();t.R7$(),t.vxM(1,"image"===N.media().type?1:"ytVideo"===N.media().type&&N.allowAutoplay()&&!N.stopVideo()?2:"ytVideo"===N.media().type&&N.thumbnail()?3:-1)}}let rn=(()=>{class Z{constructor(){this.media=t.hFB.required(),this.thumbnail=(0,t.hFB)(!1),this.stopVideo=(0,t.hFB)(!1),this.isMobile=(0,t.hFB)(!1),this.allowAutoplay=(0,t.hFB)(!1),this.loaded=(0,t.CGW)()}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lib-carousel-media"]],inputs:{media:[t.Mj6.SignalBased,"media"],thumbnail:[t.Mj6.SignalBased,"thumbnail"],stopVideo:[t.Mj6.SignalBased,"stopVideo"],isMobile:[t.Mj6.SignalBased,"isMobile"],allowAutoplay:[t.Mj6.SignalBased,"allowAutoplay"]},outputs:{loaded:"loaded"},standalone:!0,features:[t.aNF],decls:2,vars:1,consts:[[1,"media"],["width","152px",3,"src","alt"],[1,"iframe-container"],["width","152px","allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",1,"embed-item",3,"title","src"],[1,"thumb-container"],[1,"thumb-container__image",3,"src","alt"]],template:function(se,Y){1&se&&(t.j41(0,"div",0),t.DNE(1,_t,4,1,"ng-container"),t.k0s()),2&se&&(t.R7$(),t.vxM(1,Y.media()?1:-1))},dependencies:[j.H],styles:['img[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%]{width:100%;max-width:100%;height:100%;border:none;aspect-ratio:16/9}.media[_ngcontent-%COMP%]{display:block;width:100%;aspect-ratio:16/9}.iframe-container[_ngcontent-%COMP%]{display:block}.thumb-container[_ngcontent-%COMP%]{position:relative;cursor:pointer;display:flex;justify-content:center;align-items:center}.thumb-container[_ngcontent-%COMP%]:hover:before{opacity:.85}.thumb-container[_ngcontent-%COMP%]:before{content:"";z-index:1;position:absolute;border-top:15px solid transparent;border-left:25px solid #fff;border-bottom:15px solid transparent;transition:opacity .4s cubic-bezier(.16,1,.3,1)}.thumb-container[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;background-color:#000;opacity:.2;z-index:0}.thumb-container__image[_ngcontent-%COMP%]{width:152px;aspect-ratio:16/9}.display-scene[_nghost-%COMP%] .thumb-container[_ngcontent-%COMP%]:before{border-top:45px solid transparent;border-left:75px solid #fff;border-bottom:45px solid transparent}.display-scene[_nghost-%COMP%] .thumb-container__image[_ngcontent-%COMP%]{width:100%}']})}return Z})();const Hn=["mediaDisplay"],Xn=["media"];let Bt=(()=>{class Z{constructor(){this.items=(0,t.hFB)([]),this.current=(0,t.hFB)(0),this.isMobile=(0,t.hFB)(!1),this.stopVideo=(0,t.hFB)(!1),this.oldCurrent=0,this.dir="left",this.currentDisplay=0,this.selectedItem=(0,t.EWP)(()=>0===this.currentDisplay?this.items()[this.current()]:this.items()[this.oldCurrent]),this.mediaDisplay=(0,t.dtW)("mediaDisplay"),this.media=(0,t.dtW)("media")}ngOnChanges(N){this.oldCurrent=N.current&&N.current.previousValue?N.current.previousValue:0,this.dir=this.oldCurrent{class Z{constructor(){this.elementClass="lib-slide-item"}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275dir=t.FsC({type:Z,selectors:[["","lvLibSlideItem",""]],hostVars:2,hostBindings:function(se,Y){2&se&&t.HbH(Y.elementClass)},standalone:!0})}return Z})();var Je=u(4412);let xt=(()=>{class Z{constructor(){this.items=[],this.currentIndex=new Je.t(0)}get current(){return this.currentIndex.getValue()}incrementCurrent(){this.currentIndex.next(this.current0?this.current-1:this.items.length-1)}selectSpecificItem(N){if(!(N>=0&&N{class Z{constructor(){this.timer=new Je.t(0),this.interval=1e3,this.duration=0}startTimer(N){this.completeTimer(),this.timer.next(0),this.duration=N,this.intervalId=setInterval(this.tick.bind(this),this.interval)}completeTimer(){this.clrInterval()}resumeTimer(){this.intervalId=setInterval(this.tick.bind(this),this.interval)}pauseTimer(){this.clrInterval()}clrInterval(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}tick(){this.timer.value>this.duration?this.completeTimer():this.timer.next(this.timer.value+1)}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275prov=t.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})();const pt=["slideContainer"],jt=["slideItems"],nt=["*"];let mt=(()=>{class Z{constructor(N,se){this.carouselController=N,this.timer=se,this.slideButtons="none",this.gap="auto",this.forceCenter=!1,this.autoSlide=!1,this.autoSlideDuration=5,this.currentDuration=0,this.selectedSlide=new ce.B,this.slideSizes={slideWidth:0,itemsWidth:0,isOverflown:!1,isAtEnd:!1,isAtStart:!0},this.prev=0,this.dir="left"}get current(){return this.carouselController.current}get items(){return this.carouselController.items}onResize(N){this.setSlideWidth()}onMouseEnter(N){this.autoSlide&&this.pauseTimer()}onMouseLeave(N){this.autoSlide&&this.resumeTimer()}ngAfterViewInit(){setTimeout(()=>{this.initSlides()},0),this.slideItems?.changes.subscribe(()=>{this.resetSlides()})}ngOnDestroy(){this.stopTimer()}startTimer(){this.timer.startTimer(this.autoSlideDuration)}pauseTimer(){this.timer.pauseTimer()}resumeTimer(){this.timer.resumeTimer()}stopTimer(){this.timer.completeTimer()}scrollToOffset(N){this.slideContainer?.nativeElement.scrollTo({left:this.clamp(N,0,this.slideSizes.itemsWidth-this.slideSizes.slideWidth),behavior:"smooth"})}clamp(N,se,Y){return Y-N<10?Y:N-se<10?se:Math.min(Math.max(N,se),Y)}onButtonLeft(){this.carouselController.decrementCurrent()}onButtonRight(){this.carouselController.incrementCurrent()}onSliderScroll(N){}checkSlideLocation(){this.slideSizes.isAtEnd=this.current===this.items.length-1,this.slideSizes.isAtStart=0===this.current}initSlides(){this.registerSlideItems(),this.setSlideWidth(),this.setSlideItemClickListener(),this.setItemWidth(),this.carouselController.currentIndex.subscribe(N=>{this.setDirection(N),this.setActiveSlide(N),this.checkElementLocation(this.slideItems.toArray()[N]),this.checkSlideLocation()}),this.setAutoSlide()}setDirection(N){this.dir=N>this.prev?"right":"left"}setItemWidth(){this.slideSizes.itemsWidth=Math.floor(this.itemContainer?.nativeElement.getBoundingClientRect().width),this.slideSizes.isOverflown=this.slideSizes.itemsWidth>this.slideSizes.slideWidth,this.scrollToOffset(0)}setSlideWidth(){this.slideSizes.slideWidth=Math.ceil(this.slideContainer?.nativeElement.getBoundingClientRect().width)}checkElementLocation(N){const se=N.nativeElement.getBoundingClientRect(),Y=this.slideContainer?.nativeElement.getBoundingClientRect();this.forceCenter?this.scrollToOffset(this.slideContainer?.nativeElement.scrollLeft+(se.left-Y.left)-Y.width/2+se.width/2):(se.leftY.right-100&&"right"===this.dir&&this.scrollToOffset(this.slideContainer?.nativeElement.scrollLeft+(se.right-Y.right)+150))}registerSlideItems(){const N=this.slideItems?.toArray();N&&0!==N.length?N.forEach((se,Y)=>{this.carouselController.addItem({slideItemRef:se})}):console.warn("No Slide Items found in the Carousel Component. Please add at least one Slide Item. See the documentation for more information.")}setActiveSlide(N){this.selectedSlide.next(N),this.slideItems?.toArray().forEach((se,Y)=>{se.nativeElement.classList.remove("active"),Y===N&&se.nativeElement.classList.add("active")})}setSlideItemClickListener(){this.slideItems?.toArray().forEach((N,se)=>{N.nativeElement.addEventListener("click",()=>{this.prev=this.current,this.carouselController.selectSpecificItem(se)})})}setAutoSlide(){this.autoSlide&&(this.timer.timer.subscribe(N=>{if(this.currentDuration=N,N>this.autoSlideDuration){if(this.carouselController.incrementCurrent(),!this.autoSlide)return;this.startTimer()}}),this.startTimer())}resetSlides(){this.carouselController.items=[],this.initSlides()}static#e=this.\u0275fac=function(se){return new(se||Z)(t.rXU(xt),t.rXU(Kt))};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lib-carousel-slider"]],contentQueries:function(se,Y,dt){if(1&se&&t.wni(dt,Ye,4,t.aKT),2&se){let Tt;t.mGM(Tt=t.lsd())&&(Y.slideItems=Tt)}},viewQuery:function(se,Y){if(1&se&&(t.GBs(pt,5,t.aKT),t.GBs(jt,5,t.aKT)),2&se){let dt;t.mGM(dt=t.lsd())&&(Y.slideContainer=dt.first),t.mGM(dt=t.lsd())&&(Y.itemContainer=dt.first)}},hostBindings:function(se,Y){1&se&&t.bIt("resize",function(Tt){return Y.onResize(Tt)},!1,t.tSv)("mouseenter",function(Tt){return Y.onMouseEnter(Tt)})("mouseleave",function(Tt){return Y.onMouseLeave(Tt)})},inputs:{slideButtons:"slideButtons",gap:"gap",forceCenter:"forceCenter",autoSlide:"autoSlide",autoSlideDuration:"autoSlideDuration"},outputs:{selectedSlide:"selectedSlide"},standalone:!0,features:[t.Jv_([xt,Kt]),t.aNF],ngContentSelectors:nt,decls:14,vars:9,consts:[["slideContainer",""],["slideItems",""],[1,"carousel-slider-wrap",3,"ngClass"],[1,"slider-control","control-right"],[3,"click"],[1,"slider-container",3,"scrollend"],[1,"lib-slide-items"],[1,"slider-control","control-left"]],template:function(se,Y){if(1&se){const dt=t.RV6();t.NAR(),t.j41(0,"div",2)(1,"div",3)(2,"button",4),t.bIt("click",function(){return t.eBV(dt),t.Njj(Y.onButtonRight())}),t.j41(3,"mat-icon"),t.EFF(4,"navigate_next"),t.k0s()()(),t.j41(5,"div",5,0),t.bIt("scrollend",function(wn){return t.eBV(dt),t.Njj(Y.onSliderScroll(wn))}),t.j41(7,"div",6,1),t.SdG(9),t.k0s()(),t.j41(10,"div",7)(11,"button",4),t.bIt("click",function(){return t.eBV(dt),t.Njj(Y.onButtonLeft())}),t.j41(12,"mat-icon"),t.EFF(13,"navigate_before"),t.k0s()()()()}2&se&&(t.AVh("gap-auto","auto"===Y.gap),t.Y8G("ngClass","slide-buttons-"+Y.slideButtons),t.R7$(2),t.AVh("hidden",Y.slideSizes.isAtEnd),t.R7$(3),t.AVh("centered",!Y.slideSizes.isOverflown),t.R7$(6),t.AVh("hidden",Y.slideSizes.isAtStart))},dependencies:[ve.m_,ve.An,p.YU],styles:[".sixteen-by-nine[_ngcontent-%COMP%]{aspect-ratio:16/9;width:100%;height:auto}.carousel-slider-wrap[_ngcontent-%COMP%]{position:relative;padding:0}.carousel-slider-wrap.slide-buttons-padded[_ngcontent-%COMP%]{padding:0 1.5rem}.carousel-slider-wrap.slide-buttons-none[_ngcontent-%COMP%] .slider-container[_ngcontent-%COMP%]{width:100%}.carousel-slider-wrap.slide-buttons-none[_ngcontent-%COMP%] .slider-control[_ngcontent-%COMP%]{display:none}.carousel-slider-wrap.slide-buttons-over[_ngcontent-%COMP%] .slider-container[_ngcontent-%COMP%]{width:100%}.carousel-slider-wrap.slide-buttons-over[_ngcontent-%COMP%] .slider-control[_ngcontent-%COMP%]{position:absolute}.carousel-slider-wrap.gap-auto[_ngcontent-%COMP%] .lib-slide-items[_ngcontent-%COMP%]{gap:.5rem}.slider-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:70%;margin:auto;justify-content:flex-start;overflow-y:hidden;overflow-x:auto;scroll-behavior:smooth;overscroll-behavior-x:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;position:relative}.slider-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.slider-container.centered[_ngcontent-%COMP%]{justify-content:center}.slider-control[_ngcontent-%COMP%]{position:absolute;height:100%;display:flex;flex-direction:column;justify-content:center;top:0}.slider-control[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#323232;border:none;width:2.5rem;height:2.5rem;background:#f5f5f5;border-radius:50%;padding:0;box-shadow:inset 0 0 15px 4px #0000;transition:box-shadow .4s cubic-bezier(.16,1,.3,1),opacity .4s cubic-bezier(.16,1,.3,1)}.slider-control[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:inset 0 0 15px 4px #0000000f}.slider-control[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:26px;line-height:unset;height:26px;width:26px}.slider-control[_ngcontent-%COMP%] button.hidden[_ngcontent-%COMP%]{opacity:0;pointer-events:none}.slider-control.control-left[_ngcontent-%COMP%]{left:0}.slider-control.control-right[_ngcontent-%COMP%]{right:0}[_nghost-%COMP%] .lib-slide-items{display:flex}[_nghost-%COMP%] .lib-slide-items .lib-slide-item{flex-shrink:0;cursor:pointer}"]})}return Z})();function At(Z,ue){1&Z&&t.nrm(0,"lib-carousel-media",4),2&Z&&t.Y8G("media",ue.$implicit)("thumbnail",!0)}function Yt(Z,ue){if(1&Z){const N=t.RV6();t.j41(0,"lib-carousel-slider",3),t.bIt("selectedSlide",function(Y){t.eBV(N);const dt=t.XpG();return t.Njj(dt.setCurrent(Y))}),t.Z7z(1,At,1,2,"lib-carousel-media",4,t.Vm6),t.k0s()}if(2&Z){const N=t.XpG();t.Y8G("gap","auto")("forceCenter",!0)("autoSlide",!1)("slideButtons","padded"),t.R7$(),t.Dyx(N.items())}}let jn=(()=>{class Z{constructor(){this.items=(0,t.hFB)([]),this.autoScroll=(0,t.hFB)(!1),this.scrollInterval=(0,t.hFB)(5),this.isMobile=(0,t.hFB)(!1),this.currentItem=0,this.stopVideo=(0,t.vPA)(!1)}setCurrent(N){if(N>=0&&N0),void(this.currentItem=N);throw new Error("Index out of bounds")}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-carousel"]],inputs:{items:[t.Mj6.SignalBased,"items"],autoScroll:[t.Mj6.SignalBased,"autoScroll"],scrollInterval:[t.Mj6.SignalBased,"scrollInterval"],isMobile:[t.Mj6.SignalBased,"isMobile"]},standalone:!0,features:[t.aNF],decls:3,vars:5,consts:[[1,"carousel-wrap"],[3,"items","isMobile","stopVideo","current"],[3,"gap","forceCenter","autoSlide","slideButtons"],[3,"selectedSlide","gap","forceCenter","autoSlide","slideButtons"],["lvLibSlideItem","",3,"media","thumbnail"]],template:function(se,Y){1&se&&(t.j41(0,"div",0),t.nrm(1,"lib-carousel-display",1),t.DNE(2,Yt,3,4,"lib-carousel-slider",2),t.k0s()),2&se&&(t.R7$(),t.Y8G("items",Y.items())("isMobile",Y.isMobile())("stopVideo",Y.stopVideo())("current",Y.currentItem),t.R7$(),t.vxM(2,Y.items()&&Y.items().length>1?2:-1))},dependencies:[Bt,mt,rn,Ye],styles:['.sixteen-by-nine[_ngcontent-%COMP%]{aspect-ratio:16/9;width:100%;height:auto}.carousel-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;width:100%;position:relative;box-sizing:border-box}lib-carousel-media[_ngcontent-%COMP%]{width:152px;border:2px solid transparent;padding:.25rem;aspect-ratio:16/9;position:relative;opacity:.5}@media (max-width: 768px){lib-carousel-media[_ngcontent-%COMP%]{width:16vw}}lib-carousel-media[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;top:2px;left:2px;height:calc(100% - 4px);width:calc(100% - 4px);z-index:1;opacity:1}lib-carousel-media.active[_ngcontent-%COMP%]{transition:opacity .2s ease,border .2s ease;border:2px solid #ff8114;opacity:1;border-radius:12px}lib-carousel-media.active[_ngcontent-%COMP%]:before{opacity:0}']})}return Z})();const En=["*"],$n=(Z,ue,N)=>({"--disabled":Z,"--checked":ue,"--indeterminate":N});let ki=(()=>{class Z{constructor(){this.text="",this.checkboxChange=new t.bkB}onCheckboxChange(N){this.checkboxChange.emit(N.target.checked)}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-checkbox"]],inputs:{text:"text",isDisabled:"isDisabled",isIndeterminate:"isIndeterminate",isChecked:"isChecked"},outputs:{checkboxChange:"checkboxChange"},standalone:!0,features:[t.aNF],ngContentSelectors:En,decls:6,vars:8,consts:[[1,"checkbox-container",3,"ngClass"],[1,"checkbox-container__box"],[1,"checkbox-container__box__ripple"],["name","checkbox","type","checkbox",1,"checkbox-container__box__input",3,"change","indeterminate","disabled","checked"],[1,"checkbox-container__label"]],template:function(se,Y){1&se&&(t.NAR(),t.j41(0,"div",0)(1,"div",1),t.nrm(2,"span",2),t.j41(3,"input",3),t.bIt("change",function(Tt){return Y.onCheckboxChange(Tt)}),t.k0s()(),t.j41(4,"label",4),t.SdG(5),t.k0s()()),2&se&&(t.Y8G("ngClass",t.sMw(4,$n,Y.isDisabled,Y.isChecked,Y.isIndeterminate)),t.R7$(3),t.Y8G("indeterminate",Y.isIndeterminate)("disabled",Y.isDisabled)("checked",Y.isChecked))},dependencies:[p.YU],styles:['h1[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:2.5rem;line-height:1.3;margin:0}@media (max-width: 768px){h1[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}}h2[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.5rem;line-height:1.3;margin:0}h3[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.25rem;line-height:1.3;margin:0}h4[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.3;margin:0}p[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:300;font-size:1rem;line-height:1.5;margin:0}b[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.5;margin:0}.lv-center-shared[_ngcontent-%COMP%]{display:flex!important;justify-content:center;align-items:center}.custom-dialog[_ngcontent-%COMP%]{width:70vw;border-radius:0}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%]{width:100vw!important}}.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{padding:0;border-radius:0;height:auto}@media (min-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{margin:30px 0}}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{padding:0!important}}.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{color:#000}.btn-text[_ngcontent-%COMP%]{z-index:5;position:relative}.lv-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.lv-center-x[_ngcontent-%COMP%]{display:flex;justify-content:center}.lv-center-y[_ngcontent-%COMP%]{display:flex;align-items:center}.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:16px;line-height:24px;letter-spacing:0;color:#ff8114;cursor:pointer}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em;display:table}@media (max-width: 768px){.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-size:24px;line-height:32px!important}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em!important;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em!important;display:table}}.link.small[_ngcontent-%COMP%], .link-left.small[_ngcontent-%COMP%]{font-size:12px;line-height:14px}.link.small[_ngcontent-%COMP%]:before, .link-left.small[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.6309em;display:table}.link.small[_ngcontent-%COMP%]:after, .link-left.small[_ngcontent-%COMP%]:after{content:"";margin-top:-.6582em;display:table}.link[_ngcontent-%COMP%]:hover, .link-left[_ngcontent-%COMP%]:hover{color:#cc6810}.search-title[_ngcontent-%COMP%]{cursor:pointer;margin:3px 0 30px;line-height:36px}@media (max-width: 768px){.search-title[_ngcontent-%COMP%]{margin:0 0 10px!important;line-height:80px!important;height:40px!important;font-size:36px!important}}.checkbox-container[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:16px;font-weight:300;display:flex}.checkbox-container__label[_ngcontent-%COMP%]{margin-top:11px}.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:#ffcda1;width:40px;height:40px;border-radius:50%;opacity:0;pointer-events:none}.checkbox-container__box__input[_ngcontent-%COMP%]{grid-row-start:1;grid-column-start:1;position:relative;cursor:pointer;-webkit-appearance:none;appearance:none;background-color:transparent;color:currentColor;margin:auto;width:18px;height:18px;border:2px solid #808080;border-radius:2px}.checkbox-container__box__input[_ngcontent-%COMP%]:before{position:absolute;display:inline-block;content:"";fill:none;width:24px;height:24px;top:50%;left:50%;transform:translate(-52%,-50%);opacity:0}.checkbox-container__box__input[_ngcontent-%COMP%]:checked{border:2px solid #ff8114;background-color:#ff8114;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}.--disabled[_ngcontent-%COMP%]{color:#dbdbdb}.--disabled[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:2px solid #dbdbdb;pointer-events:none}.--disabled[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked{background-color:#dbdbdb}.--disabled[_ngcontent-%COMP%]:hover .checkbox-container__box__ripple[_ngcontent-%COMP%]{opacity:0}.--disabled.--indeterminate[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:2px solid #dbdbdb;background-color:#dbdbdb}.--indeterminate[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{background-color:#ff8114;border:2px solid #ff8114;transition:.15s ease-in-out}.--indeterminate[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:before{position:absolute;display:inline-block;content:"";fill:none;width:24px;height:24px;top:50%;left:50%;transform:translate(-52%,-50%);opacity:0;opacity:1;background:url(check_indeterminate.491844f556b16de4.svg) no-repeat;transition:.15s ease-in-out}.--checked[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:before{background:url(check.7c18faa22f7a0638.svg) no-repeat}']})}return Z})();function Qn(Z,ue){if(1&Z){const N=t.RV6();t.j41(0,"li",2),t.bIt("click",function(){const Y=t.eBV(N).$implicit,dt=t.XpG(2);return t.Njj(dt.menuItemClick(Y))}),t.j41(1,"mat-icon"),t.EFF(2),t.k0s(),t.j41(3,"span"),t.EFF(4),t.k0s()()}if(2&Z){const N=ue.$implicit;t.R7$(2),t.JRh(N.icon),t.R7$(2),t.JRh(N.title)}}function Jt(Z,ue){if(1&Z&&(t.j41(0,"nav",0)(1,"ul"),t.Z7z(2,Qn,5,2,"li",1,t.fX1),t.k0s()()),2&Z){const N=t.XpG();t.R7$(2),t.Dyx(N.menuItems())}}let wi=(()=>{class Z{constructor(){this.menuItems=t.hFB.required(),this.showMenu=t.hFB.required(),this.onMenuItemClick=(0,t.CGW)()}menuItemClick(N){this.onMenuItemClick.emit(N)}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-header-menu"]],inputs:{menuItems:[t.Mj6.SignalBased,"menuItems"],showMenu:[t.Mj6.SignalBased,"showMenu"]},outputs:{onMenuItemClick:"onMenuItemClick"},standalone:!0,features:[t.aNF],decls:1,vars:1,consts:[["data-testid","lv-lib-header-menu",1,"menu-container"],[1,"menu-item"],[1,"menu-item",3,"click"]],template:function(se,Y){1&se&&t.DNE(0,Jt,4,0,"nav",0),2&se&&t.vxM(0,Y.showMenu()?0:-1)},dependencies:[p.MD,ve.An],styles:[".menu-container[_ngcontent-%COMP%]{position:absolute;top:105%;right:-16px;width:200px;background-color:#fff;box-shadow:0 3px 24px #3232320a}.menu-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.menu-item[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;align-items:center;gap:1rem;padding:1.5rem;cursor:pointer;height:18px;color:gray}.menu-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.75rem}"]})}return Z})();const Qt=[[["","default",""]],[["","desktop",""]],[["","mobile",""]]],Zt=["[default]","[desktop]","[mobile]"];let He=(()=>{class Z{constructor(){this.fullWidth=(0,t.hFB)(!1),this.maxWidth=(0,t.hFB)(1200)}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-header-new"]],inputs:{fullWidth:[t.Mj6.SignalBased,"fullWidth"],maxWidth:[t.Mj6.SignalBased,"maxWidth"]},standalone:!0,features:[t.aNF],ngContentSelectors:Zt,decls:5,vars:2,consts:[["data-testid","lv-lib-header"],[1,"header-container"]],template:function(se,Y){1&se&&(t.NAR(Qt),t.j41(0,"header",0)(1,"div",1),t.SdG(2),t.SdG(3,1),t.SdG(4,2),t.k0s()()),2&se&&(t.R7$(),t.xc7("max-width",Y.fullWidth()?null:Y.maxWidth()+"px"))},dependencies:[p.MD],styles:["header{width:100%;height:inherit;background-color:#fff}.header-container{height:100%;margin:auto}@media screen and (max-width: 768px){.header-container{padding-inline:1rem}}.header-container [desktop]{height:100%;width:100%}@media screen and (max-width: 768px){.header-container [desktop]{display:none}}.header-container [mobile]{height:100%;width:100%}@media screen and (min-width: 769px){.header-container [mobile]{display:none}}\n"],encapsulation:2})}return Z})();var Ee=u(2211),q=u(1318),J=u(9631),Ie=u(2102),rt=u(9417);const Xt=Z=>({"disabled-overlay":Z});function yn(Z,ue){if(1&Z&&t.nrm(0,"div",0),2&Z){const N=t.XpG();t.Y8G("@overlaySlide",N._isCollapsed()?"hide":"show")}}function Lt(Z,ue){if(1&Z){const N=t.RV6();t.j41(0,"mat-icon",6),t.bIt("mousedown",function(Y){t.eBV(N);const dt=t.XpG();return t.Njj(dt.onClearSearchValueMouseDown(Y))})("click",function(){t.eBV(N);const Y=t.XpG();return t.Njj(Y.onClearSearchValue())}),t.EFF(1," close "),t.k0s()}2&Z&&t.Y8G("@iconFade",void 0)}let Mt=(()=>{class Z{constructor(){this.searchSubmitted=(0,t.CGW)(),this.animation=(0,t.hFB)(!1),this._isCollapsed=(0,t.vPA)(!0),this.isCollapsedChange=(0,t.CGW)(),this._showCloseIcon=(0,t.vPA)(!1),this.searchValue=(0,t.geq)(""),this.defaultPlaceholder=(0,t.hFB)("Placeholder")}onAnimationDone(){this._showCloseIcon.set(!this._isCollapsed())}onInputFocusOut(N){const se=N.relatedTarget;(!se||!se.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))}clearSearchValue(){this.searchValue.set("")}onClearSearchValueMouseDown(N){N.preventDefault()}onClearSearchValue(){this.clearSearchValue(),this._isCollapsed.set(!0)}onEnterPressed(){this.searchSubmitted.emit(this.searchValue())}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-search-bar"]],inputs:{animation:[t.Mj6.SignalBased,"animation"],searchValue:[t.Mj6.SignalBased,"searchValue"],defaultPlaceholder:[t.Mj6.SignalBased,"defaultPlaceholder"]},outputs:{searchSubmitted:"searchSubmitted",isCollapsedChange:"isCollapsedChange",searchValue:"searchValueChange"},standalone:!0,features:[t.aNF],decls:7,vars:12,consts:[[1,"searchbar-overlay"],[1,"form-field-container",3,"ngClass"],["appearance","outline","data-testid","lv-lib-search-bar"],["matInput","","type","text",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(se,Y){1&se&&(t.DNE(0,yn,1,1,"div",0),t.j41(1,"div",1),t.bIt("@collapseAnimation.done",function(){return Y.onAnimationDone()}),t.j41(2,"mat-form-field",2)(3,"input",3),t.mxI("ngModelChange",function(Tt){return t.DH7(Y.searchValue,Tt)||(Y.searchValue=Tt),Tt}),t.bIt("keydown.enter",function(){return Y.onEnterPressed()})("focus",function(){return Y.expandSearchBar()})("focusout",function(Tt){return Y.onInputFocusOut(Tt)}),t.k0s(),t.j41(4,"mat-icon",4),t.bIt("click",function(){return Y.expandSearchBar()}),t.EFF(5," search "),t.k0s(),t.DNE(6,Lt,2,1,"mat-icon",5),t.k0s()()),2&se&&(t.vxM(0,Y.animation()?0:-1),t.R7$(),t.AVh("disabled-overlay",!Y._isCollapsed()),t.Y8G("ngClass",t.eq3(10,Xt,!Y._isCollapsed()))("@collapseAnimation",Y._isCollapsed()&&Y.animation()?"collapsed":"expanded"),t.R7$(),t.AVh("not-focused",Y._isCollapsed()),t.R7$(),t.R50("ngModel",Y.searchValue),t.Y8G("placeholder",Y.defaultPlaceholder()),t.R7$(3),t.vxM(6,Y.searchValue().length>0&&!Y._isCollapsed()&&Y._showCloseIcon()?6:-1))},dependencies:[p.MD,p.YU,Ie.RG,Ie.rl,Ie.JW,Ie.yw,J.fS,J.fg,ve.An,rt.YN,rt.me,rt.BC,rt.vS],styles:["lv-lib-search-bar .searchbar-overlay{position:absolute;top:-12px;left:-16px;right:-16px;height:100dvh;background-color:#00000052;z-index:5}lv-lib-search-bar .form-field-container{position:relative;z-index:10}lv-lib-search-bar .form-field-container.disabled-overlay{pointer-events:auto}lv-lib-search-bar .form-field-container:not(.disabled-overlay){pointer-events:none}lv-lib-search-bar mat-form-field{width:100%;position:absolute;height:40px;pointer-events:auto}lv-lib-search-bar .mat-mdc-form-field-subscript-wrapper{display:none}lv-lib-search-bar .mat-mdc-form-field-flex{align-items:center!important;height:100%!important}lv-lib-search-bar .mdc-notched-outline__notch,lv-lib-search-bar .mdc-notched-outline__leading,lv-lib-search-bar .mdc-notched-outline__trailing{border:none!important}lv-lib-search-bar .mat-mdc-form-field-icon-prefix,lv-lib-search-bar [dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 .5rem 0 0!important}lv-lib-search-bar .mat-mdc-text-field-wrapper{height:40px!important;padding-inline:.5rem!important;border-radius:10px!important;background-color:#f5f5f5!important}lv-lib-search-bar .mat-mdc-text-field-wrapper.mdc-text-field--focused{outline:none;box-shadow:0 0 0 1px #ff8114}lv-lib-search-bar .mat-mdc-form-field-icon-prefix{display:flex}lv-lib-search-bar .mat-mdc-form-field-icon-prefix mat-icon{padding:0!important}lv-lib-search-bar .mat-mdc-form-field-infix{display:flex;padding:0!important}lv-lib-search-bar .input{color:#000!important;caret-color:#000!important}lv-lib-search-bar .input::placeholder{color:gray!important}lv-lib-search-bar .input-leading-icon{padding-right:.5rem;color:gray}lv-lib-search-bar .input-trailing-icon{color:gray;cursor:pointer}lv-lib-search-bar .button-icon{color:gray}lv-lib-search-bar .not-focused .mdc-text-field--focused{box-shadow:none}\n"],encapsulation:2,data:{animation:[(0,xn.hZ)("overlaySlide",[(0,xn.wk)("hide",(0,xn.iF)({display:"none"})),(0,xn.wk)("show",(0,xn.iF)({display:"block"}))]),(0,xn.hZ)("collapseAnimation",[(0,xn.wk)("expanded",(0,xn.iF)({width:"100%",height:"40px",left:"0"})),(0,xn.wk)("collapsed",(0,xn.iF)({width:"40px",height:"40px",left:"calc(100% - 40px)"})),(0,xn.kY)("expanded => collapsed",[(0,xn.i0)("400ms ease-in-out")]),(0,xn.kY)("collapsed => expanded",[(0,xn.i0)("400ms ease-in-out")])]),(0,xn.hZ)("iconFade",[(0,xn.kY)(":enter",[(0,xn.iF)({opacity:0}),(0,xn.i0)("100ms ease-in",(0,xn.iF)({opacity:1}))]),(0,xn.kY)(":leave",[(0,xn.i0)("100ms ease-out",(0,xn.iF)({opacity:0}))])])]}})}return Z})();var et=u(4823),St=u(33);function mn(Z,ue){if(1&Z&&t.nrm(0,"lv-lib-avatar",2),2&Z){const N=t.XpG();t.Y8G("displayName",N.displayName())}}function _i(Z,ue){1&Z&&t.nrm(0,"div",4)}function tr(Z,ue){if(1&Z&&(t.j41(0,"div",3),t.DNE(1,_i,1,0,"div",4),t.nrm(2,"lv-lib-icon",5),t.k0s()),2&Z){const N=t.XpG();t.R7$(),t.vxM(1,N.followBadge()?1:-1),t.R7$(),t.Y8G("size",N.isMobile()?"lg":"md")("iconName",N.icon())}}function ir(Z,ue){if(1&Z&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&Z){const N=t.XpG();t.R7$(),t.JRh(N.label())}}let it=(()=>{class Z{constructor(N){this.router=N,this.isDisabled=(0,t.hFB)(!1),this.onClick=(0,t.CGW)(),this.isLoggedIn=t.hFB.required(),this.itemIsActive=(0,t.hFB)(!1),this.route=(0,t.hFB)(""),this.icon=(0,t.hFB)(""),this.label=(0,t.hFB)(""),this.assetLink=(0,t.hFB)(!1),this.footer=(0,t.hFB)(!1),this.isMobile=(0,t.hFB)(!1),this.displayName=(0,t.hFB)(void 0),this.followBadge=(0,t.hFB)(!1)}isActiveRoute(){return this.router.url===this.route()}static#e=this.\u0275fac=function(se){return new(se||Z)(t.rXU(St.Ix))};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-sidebar-navigation-item"]],inputs:{isDisabled:[t.Mj6.SignalBased,"isDisabled"],isLoggedIn:[t.Mj6.SignalBased,"isLoggedIn"],itemIsActive:[t.Mj6.SignalBased,"itemIsActive"],route:[t.Mj6.SignalBased,"route"],icon:[t.Mj6.SignalBased,"icon"],label:[t.Mj6.SignalBased,"label"],assetLink:[t.Mj6.SignalBased,"assetLink"],footer:[t.Mj6.SignalBased,"footer"],isMobile:[t.Mj6.SignalBased,"isMobile"],displayName:[t.Mj6.SignalBased,"displayName"],followBadge:[t.Mj6.SignalBased,"followBadge"]},outputs:{onClick:"onClick"},standalone:!0,features:[t.aNF],decls:5,vars:15,consts:[["matTooltip","Coming soon!",3,"matTooltipDisabled"],[3,"click"],["avatarSize","small",3,"displayName"],[1,"icon-wrapper"],[1,"follow-badge"],[1,"icons",3,"size","iconName"]],template:function(se,Y){1&se&&(t.j41(0,"div",0)(1,"a",1),t.bIt("click",function(Tt){return Y.onClick.emit(Tt)}),t.DNE(2,mn,1,1,"lv-lib-avatar",2)(3,tr,3,3)(4,ir,2,1,"span"),t.k0s()()),2&se&&(t.Y8G("matTooltipDisabled",!Y.isDisabled()),t.R7$(),t.AVh("mobile-items",Y.isMobile())("sidebar-item",!Y.isMobile())("asset-link",Y.assetLink())("footer",Y.footer())("active",Y.isActiveRoute()||Y.itemIsActive())("disabled",Y.isDisabled()),t.R7$(),t.vxM(2,Y.isLoggedIn()&&Y.displayName()?2:3),t.R7$(2),t.vxM(4,Y.isMobile()?-1:4))},dependencies:[p.MD,Ee.o,P,et.oV],styles:[".icon-wrapper[_ngcontent-%COMP%]{position:relative}.follow-badge[_ngcontent-%COMP%]{position:absolute;top:0;right:0;z-index:100;width:8px;height:8px;border-radius:50%;background-color:#ff8114}.icons[_ngcontent-%COMP%]{display:flex;align-items:center}.sidebar-item[_ngcontent-%COMP%]{text-decoration:none;box-sizing:border-box;width:100%;height:56px;display:flex;align-items:center;border-radius:8px;padding:1rem;gap:.75rem;transition:background-color .1s ease-in-out;background-color:transparent;color:#000;cursor:pointer}.sidebar-item[_ngcontent-%COMP%]:hover{background-color:#fff;color:#000}.sidebar-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500}.sidebar-item.active[_ngcontent-%COMP%]{background-color:#fff}.sidebar-item.disabled[_ngcontent-%COMP%]{pointer-events:none;color:#dbdbdb}.sidebar-item.asset-link[_ngcontent-%COMP%]{text-decoration:none;box-sizing:border-box;width:100%;height:56px;display:flex;align-items:center;border-radius:8px;padding:1rem;gap:.75rem;transition:background-color .1s ease-in-out;background-color:#ff8114;color:#fff}.sidebar-item.asset-link[_ngcontent-%COMP%]:hover{background-color:#cc6810;color:#fff}.sidebar-item.footer[_ngcontent-%COMP%]{display:flex;align-items:center}.sidebar-item.footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .sidebar-item.footer[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%]{color:gray}.sidebar-item.footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.75rem}.mobile-items[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%]{color:gray}.mobile-items.active[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%]{color:#000}.mobile-items.disabled[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%]{color:#dbdbdb}.mobile-items.asset-link[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:#ff8114;border-radius:50%}.mobile-items.asset-link[_ngcontent-%COMP%] .icons[_ngcontent-%COMP%]{color:#fff}"]})}return Z})();const si=[[["","sidebarItem",""]],[["","sidebarFooterItem",""]],[["","mobileSidebarItem",""]]],we=["[sidebarItem]","[sidebarFooterItem]","[mobileSidebarItem]"];let Ft=(()=>{class Z{static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-sidebar-navigation"]],standalone:!0,features:[t.aNF],ngContentSelectors:we,decls:7,vars:0,consts:[[1,"sidebar-container"],[1,"sidebar-item-wrapper"],[1,"sidebar-item-footer-wrapper"],[1,"mobile-sidebar-container"]],template:function(se,Y){1&se&&(t.NAR(si),t.j41(0,"nav",0)(1,"div",1),t.SdG(2),t.k0s(),t.j41(3,"div",2),t.SdG(4,1),t.k0s()(),t.j41(5,"nav",3),t.SdG(6,2),t.k0s())},dependencies:[p.MD],styles:[".sidebar-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;width:100%}.sidebar-container[_ngcontent-%COMP%] .sidebar-item-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;flex:1}.sidebar-container[_ngcontent-%COMP%] .sidebar-item-footer-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.mobile-sidebar-container[_ngcontent-%COMP%]{position:fixed;bottom:0;display:flex;align-items:center;justify-content:space-evenly;height:64px;width:100%;background-color:#fff}@media (max-width: 768px){.sidebar-container[_ngcontent-%COMP%]{display:none}.mobile-sidebar-container[_ngcontent-%COMP%]{border-top:1px solid #dbdbdb;display:flex}}@media (min-width: 768px){.sidebar-container[_ngcontent-%COMP%]{display:flex}.mobile-sidebar-container[_ngcontent-%COMP%]{display:none}}"]})}return Z})();var lr=u(8359),Dr=u(3726);let cr=(()=>{class Z{constructor(N,se,Y,dt){this.viewContainerRef=N,this.elementRef=se,this.componentFactoryResolver=Y,this.renderer=dt,this.customConfig={},this.elementClass="",this.classes=[""],this.config={color:"orange",matIcon:{name:""},class:"",width:"auto",type:"default",disabled:!1,link:{href:"",target:"_blank"}},this.subscription=new lr.yU}ngOnInit(){this.config={...this.config,...this.customConfig},this.setInputs(),this.subscription=this.handleClickEvent()}ngOnDestroy(){this.subscription.unsubscribe()}handleClickEvent(){return(0,Dr.R)(this.elementRef.nativeElement,"click",{capture:!0}).subscribe(N=>{N.target===this.elementRef.nativeElement&&this.config.disabled?(N.preventDefault(),N.stopImmediatePropagation()):this.config.link.href&&window.open(this.config.link.href,this.config.link.target)})}setInputs(){}addIcon(){}setFontSizeAndHeight(){}setColor(N){if(N.disabled)return"lv-inactive";switch(N.color){case"positive":return"lv-green";case"negative":return"lv-red";case"neutral":return"lv-black";case"orange":return"lv-orange";case"darkgrey":return"lv-darkgrey";case"inactive":return"lv-inactive";default:return""}}static#e=this.\u0275fac=function(se){return new(se||Z)(t.rXU(t.c1b),t.rXU(t.aKT),t.rXU(t.OM3),t.rXU(t.sFG))};static#t=this.\u0275dir=t.FsC({type:Z,selectors:[[""]],hostVars:2,hostBindings:function(se,Y){2&se&&t.HbH(Y.elementClass)},inputs:{customConfig:"customConfig"},standalone:!0})}return Z})(),vi=(()=>{class Z extends cr{constructor(N,se,Y,dt){super(N,se,Y,dt),this.customConfig={},this.subscription=new lr.yU,this.config={color:"orange",matIcon:{name:"",position:"left"},class:"",width:"auto",type:"default",disabled:void 0,link:{href:"",target:"_blank"}},this.classes=["lv-button-component"]}ngOnInit(){this.config={...this.config,...this.customConfig},this.setInputs(),this.subscription=this.handleClickEvent()}ngOnDestroy(){super.ngOnDestroy()}ngOnChanges(N){this.config={...this.config,...this.customConfig},this.setInputs()}setInputs(){this.config&&void 0!==this.config.disabled&&(this.config.disabled?this.renderer.setAttribute(this.elementRef.nativeElement,"disabled","true"):this.renderer.removeAttribute(this.elementRef.nativeElement,"disabled")),this.classes=["lv-button-component"],this.config.matIcon.name&&this.addIcon(),this.classes.push(this.setColor(this.config)),this.setFontSizeAndHeight(),this.updateWidth(),this.config.class&&this.classes.push(this.config.class),this.elementClass=this.classes.join(" ")}addIcon(){this.viewContainerRef.clear();const N=this.viewContainerRef.createComponent(this.componentFactoryResolver.resolveComponentFactory(ve.An),0,void 0,[[document.createTextNode(this.config.matIcon.name)]]);"right"===this.config.matIcon.position?this.elementRef.nativeElement.appendChild(N.location.nativeElement):this.elementRef.nativeElement.prepend(N.location.nativeElement),this.classes.push("icon")}setFontSizeAndHeight(){switch(this.config.type){case"default":case"new":this.classes.push("lv-button-size-desktop");break;case"table":this.classes.push("lv-button-size-table")}}updateWidth(){this.elementRef.nativeElement.style.setProperty("--button-width",this.config.width)}static#e=this.\u0275fac=function(se){return new(se||Z)(t.rXU(t.c1b),t.rXU(t.aKT),t.rXU(t.OM3),t.rXU(t.sFG))};static#t=this.\u0275dir=t.FsC({type:Z,selectors:[["","lv-lib-button",""]],inputs:{customConfig:"customConfig"},standalone:!0,features:[t.Vt3,t.OA$]})}return Z})();var Ue=function(Z){return Z.white="white",Z.primary="primary",Z.success="success",Z.danger="danger",Z.default="default",Z.secondary="secondary",Z}(Ue||{});const ct=["circle1"],nn=["circle2"],yt=["circle3"],Ln=(Z,ue)=>({"background-color":Z,color:ue}),Bn=(Z,ue)=>({"gradient-border adstep--container--wh-premium":Z,"adstep--container--wh-default":ue}),Oi=Z=>({"background-image":Z}),Jn=Z=>({color:Z}),ri=(Z,ue,N)=>({"step--form-rounded-completed step--form-rounded-completed-short":Z,"step--form-rounded-inactive":ue,"step--form-rounded-completed-premium":N}),Xi=Z=>({"check-icon--active check-icon--active-short":Z}),Vi=Z=>({"background-color":Z}),Pi=(Z,ue,N)=>({"step--form-rounded-completed step--form-rounded-direct":Z,"step--form-rounded-inactive":ue,"step--form-rounded-completed-premium":N}),dr=(Z,ue,N)=>({"step--form-rounded-completed":Z,"step--form-rounded-inactive":ue,"step--form-rounded-completed-premium":N}),Or=Z=>({"check-icon--active":Z}),Fi=Z=>({"margin-top":Z}),Ni=Z=>({stroke:Z}),Sr=(Z,ue)=>({"load--play":Z,"load--paused":ue}),Vr=(Z,ue,N)=>({"load--play":Z,"load--paused":ue,"one-short":N}),Pr=Z=>({color:Z,class:"cta--btn"}),Fr=Z=>({"cta--active":Z});function oo(Z,ue){if(1&Z&&(t.j41(0,"div",28)(1,"span"),t.EFF(2),t.k0s()()),2&Z){const N=t.XpG();t.R7$(2),t.SpI(" ",N.adNotice," ")}}function qt(Z,ue){if(1&Z){const N=t.RV6();t.j41(0,"mat-icon",32),t.bIt("click",function(){t.eBV(N);const Y=t.XpG(2);return t.Njj(Y.onClose.emit())}),t.EFF(1,"close "),t.k0s()}}function pn(Z,ue){if(1&Z&&(t.j41(0,"div",29),t.DNE(1,qt,2,0,"mat-icon",30),t.nrm(2,"div",31),t.k0s()),2&Z){const N=t.XpG();t.Y8G("ngStyle",N.handleTaboolaStyles(!1)),t.R7$(),t.Y8G("ngIf",N.showClose),t.R7$(),t.Y8G("ngStyle",N.handleTaboolaStyles(!1))}}function ft(Z,ue){1&Z&&(t.j41(0,"mat-icon",35),t.EFF(1,"skip_next "),t.k0s())}function un(Z,ue){if(1&Z){const N=t.RV6();t.j41(0,"div",33),t.bIt("click",function(){t.eBV(N);const Y=t.XpG();return t.Njj(Y.onSkip.emit())}),t.j41(1,"span"),t.EFF(2," Skip "),t.k0s(),t.DNE(3,ft,2,0,"mat-icon",34),t.nrm(4,"div",31),t.k0s()}if(2&Z){const N=t.XpG();t.Y8G("ngStyle",N.handleTaboolaStyles(!0)),t.R7$(3),t.Y8G("ngIf",!N.showClose),t.R7$(),t.Y8G("ngStyle",N.handleTaboolaStyles(!0))}}function Pn(Z,ue){if(1&Z&&(t.j41(0,"div",36),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"circle",38,0),t.k0s()()),2&Z){const N=t.XpG();t.Y8G("ngClass","inactive"===N.currentStep?"load load--reset":"load"),t.R7$(2),t.Aen(t.eq3(4,Ni,N.isPremium?"#fff !important":"black !important")),t.Y8G("ngClass",t.l_i(6,Sr,"active"===N.currentStep,"inactive"===N.currentStep))}}function fi(Z,ue){if(1&Z&&(t.j41(0,"mat-icon",14),t.EFF(1,"check "),t.k0s()),2&Z){const N=t.XpG();t.Y8G("ngClass",t.eq3(1,Or,"completed"===N.currentStep))}}function ai(Z,ue){if(1&Z&&(t.j41(0,"div",39),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"circle",40,1),t.k0s()()),2&Z){const N=t.XpG();t.R7$(2),t.Aen(t.eq3(3,Ni,N.isPremium?"#fff !important":"black !important")),t.Y8G("ngClass",t.sMw(5,Vr,"pending"===N.currentStep,"inactive"===N.currentStep||"active"===N.currentStep,"completed"===N.currentStep))}}function Zi(Z,ue){if(1&Z&&(t.j41(0,"div",41),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"circle",42),t.k0s()()),2&Z){const N=t.XpG();t.R7$(2),t.Aen(t.eq3(3,Ni,N.isPremium?"#fff !important":"black !important")),t.Y8G("ngClass",t.l_i(5,Sr,"completed"===N.currentStep,"inactive"===N.currentStep||"active"===N.currentStep||"pending"===N.currentStep))}}function Mi(Z,ue){if(1&Z){const N=t.RV6();t.j41(0,"button",43),t.bIt("click",function(){t.eBV(N);const Y=t.XpG();return t.Njj(Y.ctaClick.emit())}),t.EFF(1),t.k0s()}if(2&Z){const N=t.XpG();t.Y8G("customConfig",t.eq3(3,Pr,"completed"!==N.currentStep||N.isPremium?"orange":"darkgrey"))("ngClass",t.eq3(5,Fr,"completed"===N.currentStep)),t.R7$(),t.JRh("completed"!=N.currentStep?N.ctaTitle:N.completedStepBtnText)}}var li=function(Z){return Z.active="active",Z.inactive="inactive",Z.completed="completed",Z.pending="pending",Z}(li||{}),go=function(Z){return Z.premium="PREMIUM",Z.ad="AD",Z}(go||{});let gr=(()=>{class Z{constructor(){this.img="",this.isPremium=!1,this.title="",this.description="",this.currentStep=li.inactive,this.showClose=!1,this.isTaboola=!1,this.hrefTarget="",this.firstStepText="",this.secondStepText="",this.lastStepText="",this.adNotice="",this.secondStepWaitingText="Wating...",this.completedStepBtnText="",this.onClose=new t.bkB,this.onSkip=new t.bkB,this.ctaClick=new t.bkB,this.CustomAdStepStates=li,this.CustomAdStepTypes=go}ngOnChanges(N){"inactive"===N.currentStep?.currentValue&&"active"===N.currentStep.previousValue&&setTimeout(()=>{this.el2&&(this.el2.nativeElement.classList.remove("one-short"),setTimeout(()=>{this.el2&&this.el2.nativeElement.classList.add("one-short")},0))},10),"active"===N.currentStep?.currentValue&&"inactive"===N.currentStep?.previousValue&&this.el2&&(this.el2.nativeElement.classList.remove("one-short"),setTimeout(()=>{this.el2&&this.el2.nativeElement.classList.add("one-short")},5))}url(N){return`url(${N})`}handleTaboolaStyles(N){return N?{height:"50px",width:"125px"}:{height:"50px",width:"50px"}}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-ad-step"]],viewQuery:function(se,Y){if(1&se&&(t.GBs(ct,5),t.GBs(nn,5),t.GBs(yt,5)),2&se){let dt;t.mGM(dt=t.lsd())&&(Y.el=dt.first),t.mGM(dt=t.lsd())&&(Y.el1=dt.first),t.mGM(dt=t.lsd())&&(Y.el2=dt.first)}},inputs:{img:"img",isPremium:"isPremium",title:"title",description:"description",ctaTitle:"ctaTitle",shortLinkTitle:"shortLinkTitle",currentStep:"currentStep",showButton:"showButton",showClose:"showClose",isTaboola:"isTaboola",hrefTarget:"hrefTarget",firstStepText:"firstStepText",secondStepText:"secondStepText",lastStepText:"lastStepText",adNotice:"adNotice",secondStepWaitingText:"secondStepWaitingText",completedStepBtnText:"completedStepBtnText"},outputs:{onClose:"onClose",onSkip:"onSkip",ctaClick:"ctaClick"},standalone:!0,features:[t.OA$,t.aNF],decls:43,vars:77,consts:[["circle3",""],["circle1",""],[1,"adstep--container",3,"ngStyle","ngClass"],[1,"adstep--container__preview-image"],["style","position:absolute;","class","icon-container icon-container-left",4,"ngIf"],[2,"position","absolute"],["class","icon-container",3,"ngStyle",4,"ngIf"],["class","icon-container",3,"ngStyle","click",4,"ngIf"],[1,"adstep--container__content-wrapper"],[1,"title--heading",3,"ngStyle"],[1,"adstep--container__content"],[1,"adstep--container__content__step-wrapper"],[1,"step--wrapper"],[1,"step--form-rounded",3,"ngClass"],[1,"check-icon",3,"ngClass"],[1,"step--count",3,"ngClass"],[3,"ngClass",4,"ngIf"],[1,"cta--text","cta--text--top",3,"innerHTML"],[1,"step--seperator-wrapper",3,"ngStyle"],[1,"step--seperator","step--seperator--1",3,"ngStyle"],["class","check-icon",3,"ngClass",4,"ngIf"],["class","load",4,"ngIf"],[1,"cta--text","cta--text--top"],[1,"step--seperator-wrapper"],["class","load three",4,"ngIf"],[1,"step--text--stl","cta--text--top","cta--text"],[1,"cta-wrapper",3,"ngStyle"],["lv-lib-button","",3,"customConfig","ngClass","click",4,"ngIf"],[1,"icon-container","icon-container-left",2,"position","absolute"],[1,"icon-container",3,"ngStyle"],["class","icon-container__icon","style","width: 35px;",3,"click",4,"ngIf"],[1,"icon-container__background",3,"ngStyle"],[1,"icon-container__icon",2,"width","35px",3,"click"],[1,"icon-container",3,"click","ngStyle"],["class","icon-container__icon",4,"ngIf"],[1,"icon-container__icon"],[3,"ngClass"],["version","1.1","viewBox","0 0 120 120","xmlns","http://www.w3.org/2000/svg"],["shape-rendering","geometricPrecision","cx","60","cy","60","r","50",1,"load","one","one-short",3,"ngClass"],[1,"load"],["shape-rendering","geometricPrecision","cx","60","cy","60","r","55",1,"load","one",3,"ngClass"],[1,"load","three"],["shape-rendering","geometricPrecision","cx","60","cy","60","r","55",1,"load","one","one-once",3,"ngClass"],["lv-lib-button","",3,"click","customConfig","ngClass"]],template:function(se,Y){1&se&&(t.j41(0,"div")(1,"div",2)(2,"div",3),t.DNE(3,oo,3,1,"div",4),t.j41(4,"div",5),t.DNE(5,pn,3,3,"div",6)(6,un,5,3,"div",7),t.k0s()(),t.j41(7,"div",8)(8,"h2",9),t.EFF(9),t.k0s(),t.j41(10,"div",10)(11,"div",11)(12,"div",12)(13,"div",13)(14,"mat-icon",14),t.EFF(15,"check "),t.k0s(),t.j41(16,"span",15),t.EFF(17,"1"),t.k0s()(),t.DNE(18,Pn,4,9,"div",16),t.nrm(19,"span",17),t.k0s(),t.j41(20,"div",18),t.nrm(21,"div",19),t.k0s(),t.j41(22,"div",12)(23,"div",13),t.DNE(24,fi,2,3,"mat-icon",20),t.j41(25,"span",15),t.EFF(26,"2"),t.k0s()(),t.DNE(27,ai,4,9,"div",21),t.j41(28,"span",22),t.EFF(29),t.k0s()(),t.j41(30,"div",23),t.nrm(31,"div",19),t.k0s(),t.j41(32,"div",12)(33,"div",13)(34,"mat-icon",14),t.EFF(35,"check "),t.k0s(),t.j41(36,"span",15),t.EFF(37,"3"),t.k0s()(),t.DNE(38,Zi,3,8,"div",24),t.j41(39,"span",25),t.EFF(40),t.k0s()()()(),t.j41(41,"div",26),t.DNE(42,Mi,2,7,"button",27),t.k0s()()()()),2&se&&(t.xc7("transform",Y.isPremium?"scale(0.98)":"scale(1)"),t.R7$(),t.Y8G("ngStyle",t.l_i(37,Ln,Y.isPremium?"#323232":"#ffffff",Y.isPremium?"#fff":"black"))("ngClass",t.l_i(40,Bn,Y.isPremium,!Y.isPremium)),t.R7$(),t.Aen(t.eq3(43,Oi,Y.isPremium?"":Y.url(Y.img))),t.R7$(),t.Y8G("ngIf",Y.adNotice),t.R7$(2),t.Y8G("ngIf",Y.showClose),t.R7$(),t.Y8G("ngIf",!Y.showClose&&Y.currentStep!==Y.CustomAdStepStates.pending&&Y.currentStep!==Y.CustomAdStepStates.completed),t.R7$(2),t.Y8G("ngStyle",t.eq3(45,Jn,Y.isPremium?"#fff":"black")),t.R7$(),t.SpI(" ",Y.title," "),t.R7$(4),t.Y8G("ngClass",t.sMw(47,ri,"active"===Y.currentStep||"completed"===Y.currentStep||"pending"===Y.currentStep,"active"===Y.currentStep||"completed"===Y.currentStep||"pending"===Y.currentStep,Y.isPremium&&("pending"===Y.currentStep||"active"===Y.currentStep||"completed"===Y.currentStep))),t.R7$(),t.Y8G("ngClass",t.eq3(51,Xi,"active"===Y.currentStep||"completed"===Y.currentStep||"pending"===Y.currentStep)),t.R7$(2),t.Aen(t.eq3(53,Jn,Y.isPremium?"#fff !important":"black !important")),t.Y8G("ngClass","inactive"===Y.currentStep?"step--count":"step--count step--count-inactive step--count step--count-inactive-short"),t.R7$(2),t.Y8G("ngIf","active"===Y.currentStep||"inactive"===Y.currentStep||"pending"===Y.currentStep||"completed"===Y.currentStep),t.R7$(),t.Y8G("innerHTML",Y.firstStepText,t.npT),t.R7$(),t.Y8G("ngStyle",t.eq3(55,Jn,Y.isPremium?"#fff":"black")),t.R7$(),t.Y8G("ngStyle",t.eq3(57,Vi,Y.isPremium?"#fff":"black")),t.R7$(2),t.Y8G("ngClass",t.sMw(59,Pi,"completed"===Y.currentStep,"active"===Y.currentStep||"completed"===Y.currentStep||"pending"===Y.currentStep,Y.isPremium)),t.R7$(),t.Y8G("ngIf","completed"===Y.currentStep),t.R7$(),t.Aen(t.eq3(63,Jn,Y.isPremium?"#fff !important":"black !important")),t.Y8G("ngClass","inactive"===Y.currentStep||"active"===Y.currentStep||"pending"===Y.currentStep?"step--count":"step--count step--count-inactive step--count-inactive-direct"),t.R7$(2),t.Y8G("ngIf","pending"===Y.currentStep||"inactive"===Y.currentStep||"active"===Y.currentStep||"completed"===Y.currentStep),t.R7$(2),t.JRh(Y.secondStepText),t.R7$(2),t.Y8G("ngStyle",t.eq3(65,Vi,Y.isPremium?"#fff":"black")),t.R7$(2),t.Y8G("ngClass",t.sMw(67,dr,"completed"===Y.currentStep,"inactive"===Y.currentStep||"completed"===Y.currentStep,Y.isPremium)),t.R7$(),t.Y8G("ngClass",t.eq3(71,Or,"completed"===Y.currentStep)),t.R7$(2),t.Aen(t.eq3(73,Jn,Y.isPremium?"#fff !important":"black !important")),t.Y8G("ngClass","inactive"===Y.currentStep||"pending"==Y.currentStep||"active"===Y.currentStep?"step--count":"step--count step--count-inactive"),t.R7$(2),t.Y8G("ngIf","completed"===Y.currentStep||"inactive"===Y.currentStep||"active"===Y.currentStep||"pending"===Y.currentStep),t.R7$(2),t.JRh(Y.lastStepText),t.R7$(),t.Y8G("ngStyle",t.eq3(75,Fi,Y.showButton?"24px":"0")),t.R7$(),t.Y8G("ngIf",Y.showButton))},dependencies:[p.B3,p.YU,ve.m_,ve.An,p.bT,vi],styles:['.gradient-border[_ngcontent-%COMP%]{--borderWidth: 4px;position:relative;border-radius:var(--borderWidth)}.gradient-border[_ngcontent-%COMP%]:after{content:"";position:absolute;top:calc(-1 * var(--borderWidth));left:calc(-1 * var(--borderWidth));height:calc(100% + var(--borderWidth) * 2);width:calc(100% + var(--borderWidth) * 2);background-image:radial-gradient(#323232,#ff8114,#323232);z-index:-1;animation:_ngcontent-%COMP%_animatedgradient 4s linear forwards infinite;background-size:200% 200%}@keyframes _ngcontent-%COMP%_animatedgradient{0%{background-position:0% 0%}25%{background-position:100% 0%}50%{background-position:100% 100%}75%{background-position:0% 100%}to{background-position:0% 0%}}.title--wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;height:25%}.title--heading[_ngcontent-%COMP%]{overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-overflow:ellipsis;display:-webkit-box;margin:14px 0;font-size:30px;line-height:34px;min-height:102px}@media (max-width: 768px){.title--heading[_ngcontent-%COMP%]{font-size:40px;line-height:44px;min-height:132px}}.title--heading[_ngcontent-%COMP%]:before{margin-bottom:0}.title--heading[_ngcontent-%COMP%]:after{margin-top:0}.title--subheading[_ngcontent-%COMP%]{font-size:14px;font-weight:300;max-width:297px;color:#000;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis;margin:16px 0}@media (max-width: 768px){.title--subheading[_ngcontent-%COMP%]{font-size:24px;line-height:32px;max-width:unset;padding:0 16px}}.cta--button[_ngcontent-%COMP%]{height:36px!important}.cta--text[_ngcontent-%COMP%]{overflow:hidden;margin-top:13px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.cta--text--top[_ngcontent-%COMP%]{font-weight:500;width:90px;-webkit-line-clamp:2}@media (max-width: 768px){.cta--text--top[_ngcontent-%COMP%]{font-size:20px;line-height:24px;width:160px;transform:translateY(10px)}}.step--text[_ngcontent-%COMP%]{font-size:12px}.step--text--stl[_ngcontent-%COMP%]{overflow:hidden;width:100px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}@media (max-width: 768px){.step--text--stl[_ngcontent-%COMP%]{font-size:20px;line-height:24px;width:170px;transform:translateY(10px)}}.step--wrapper[_ngcontent-%COMP%]{position:relative;width:73px;flex-direction:column;display:flex;justify-content:flex-start;align-items:center}@media (min-width: 768px){.step--wrapper[_ngcontent-%COMP%]{height:90px}}.step--seperator-wrapper[_ngcontent-%COMP%]{display:flex;width:100%;height:50%;align-items:center;justify-content:center}.step--seperator[_ngcontent-%COMP%]{width:80%;top:50%;height:2px;background-color:#000;opacity:1}.step--form-rounded[_ngcontent-%COMP%]{opacity:1;position:relative;width:50px;height:50px;z-index:1000;border-radius:50%;background-color:#3330;color:#fff;display:flex;justify-content:center;align-items:center;transition:background-color .3s ease-in-out}@media (max-width: 768px){.step--form-rounded[_ngcontent-%COMP%]{width:62px;height:62px}}.step--form-rounded-inactive[_ngcontent-%COMP%]{border:none!important;transition-delay:1.3s}.step--form-rounded-completed[_ngcontent-%COMP%]{transition-delay:3s;background-color:#000!important}.step--form-rounded-completed-premium[_ngcontent-%COMP%]{background-color:#0000!important}.step--form-rounded-completed-short[_ngcontent-%COMP%]{transition-delay:1.5s}.step--form-rounded-completed-s1[_ngcontent-%COMP%]{transition-delay:3s;background-color:#333!important}.step--form-rounded-direct[_ngcontent-%COMP%]{transition-delay:0s}.step--form-rounded-pending[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_grey-pulse 1s infinite}@keyframes _ngcontent-%COMP%_grey-pulse{0%{background-color:#3330}50%{background-color:#33333380}to{background-color:#3330}}.step--count[_ngcontent-%COMP%]{font-size:26px;font-weight:500;opacity:1;position:absolute;color:#000!important}@media (max-width: 768px){.step--count[_ngcontent-%COMP%]{font-size:34px}}.step--count-inactive[_ngcontent-%COMP%]{color:#000!important;opacity:0!important;transition:opacity 3s step-end}.step--count-inactive-short[_ngcontent-%COMP%]{transition:opacity 1.5s step-end}.step--count-inactive-direct[_ngcontent-%COMP%]{transition:opacity 0s step-start}.adstep--container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start;width:395px;height:100%;box-shadow:0 3px 8px #32323229;box-sizing:border-box;text-align:center;background-position:center}.adstep--container__content-wrapper[_ngcontent-%COMP%]{padding:16px}.adstep--container--wh-default[_ngcontent-%COMP%]{width:395px;height:100%}@media (max-width: 768px){.adstep--container--wh-default[_ngcontent-%COMP%]{width:100%;height:100%}}.adstep--container--wh-premium[_ngcontent-%COMP%]{height:100%}@media (max-width: 768px){.adstep--container--wh-premium[_ngcontent-%COMP%]{width:100%;height:100%}}.adstep--container__preview-image[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:100%;background:url(premium-image.98ab40c2bfbd7bb4.svg) no-repeat left;background-size:cover;position:relative;padding-bottom:56.2%}.adstep--container__preview-image--premium[_ngcontent-%COMP%]{background:url(premium-image.98ab40c2bfbd7bb4.svg) no-repeat left!important}@media (max-width: 768px){.adstep--container__preview-image[_ngcontent-%COMP%]{background-size:cover}}.adstep--container__preview-image-fill[_ngcontent-%COMP%]{min-width:100%;max-height:283.59px}.adstep--container__content[_ngcontent-%COMP%]{height:100px;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}@media (max-width: 768px){.adstep--container__content[_ngcontent-%COMP%]{height:160px}}.adstep--container__content__step-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:flex-start;margin-top:10px;position:relative}@media (max-width: 768px){.adstep--container__content__step-wrapper[_ngcontent-%COMP%]{margin:10px 0;padding:0 30px}}.cta-wrapper[_ngcontent-%COMP%]{display:block;justify-content:center;align-items:center}button[_ngcontent-%COMP%]{width:100%}.active[_ngcontent-%COMP%]{background-color:#000;color:#fff}.icon-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;position:relative;z-index:1}.check-icon[_ngcontent-%COMP%]{position:absolute;left:8%;top:4px;font-size:40px;opacity:0;transition:opacity .3s ease-in-out}@media (max-width: 768px){.check-icon[_ngcontent-%COMP%]{font-size:50px;left:10%;top:6px}}.check-icon--active[_ngcontent-%COMP%]{width:40px;height:40px;transition:opacity 3s step-end;opacity:1}.check-icon--active-short[_ngcontent-%COMP%]{transition:opacity 1.5s step-end}.check-icon--inactive[_ngcontent-%COMP%]{opacity:0}body[_ngcontent-%COMP%]{background-color:#eee;width:100%;height:100vh;display:flex;justify-content:center;align-items:center}svg[_ngcontent-%COMP%]{fill:none;vertical-align:inherit}.load[_ngcontent-%COMP%]{rotate:-45deg;transform-origin:50% 50%;width:66px;top:-9px;left:7%;stroke-dasharray:530;stroke-linecap:round;position:absolute;stroke-dashoffset:480;opacity:1}@media (max-width: 768px){.load[_ngcontent-%COMP%]{top:-3px;left:7%}}.load--reset[_ngcontent-%COMP%]{stroke-dashoffset:960}.load.one[_ngcontent-%COMP%]{stroke:#000!important;stroke-dasharray:0;animation:_ngcontent-%COMP%_load-1 3s infinite;animation-fill-mode:forwards;transform:scaleY(-1)}.load.one-short[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_load-1-short 1.5s;animation-iteration-count:1;animation-fill-mode:forwards}.load.one-once[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_load-1 3s;opacity:1;animation-fill-mode:forwards;animation-iteration-count:1}.load.two[_ngcontent-%COMP%]{stroke:#000!important;stroke-dasharray:0;animation:_ngcontent-%COMP%_load-2 1.5s infinite;animation-fill-mode:backwards;animation-iteration-count:1;animation-delay:1.5s;transform:scaleY(1)}.load.three[_ngcontent-%COMP%]{stroke:#000!important;stroke-dasharray:0;animation:_ngcontent-%COMP%_load-3 1.5s infinite;animation-fill-mode:both;animation-iteration-count:1;animation-delay:1.5s;display:block;animation-play-state:paused;transform:scaleY(1)}.load--play[_ngcontent-%COMP%]{animation-delay:.3s;animation-play-state:running!important;animation-fill-mode:backwards}.load--play-infinite[_ngcontent-%COMP%]{animation-iteration-count:1!important;animation-play-state:running!important;animation-fill-mode:forwards}.load--paused[_ngcontent-%COMP%]{animation-play-state:paused!important;animation-fill-mode:forwards;stroke-dasharray:330}.load--reset[_ngcontent-%COMP%]{animation-play-state:paused!important;animation-fill-mode:forwards;stroke-dasharray:0}circle[_ngcontent-%COMP%]{stroke-width:3px;r:55px}@media (min-width: 768px){circle[_ngcontent-%COMP%]{r:45px}}@keyframes _ngcontent-%COMP%_load-1{0%{stroke-dasharray:830}49.99%{transform:scaleY(-1);stroke-dasharray:480}50%{transform:scaleY(1);stroke-dasharray:480}99.99%{opacity:1}to{opacity:1;transform:scaleY(1);stroke-dasharray:830}}@keyframes _ngcontent-%COMP%_load-1-short{0%{stroke-dasharray:830}99.99%{stroke-dasharray:480;border:2px solid white;stroke:#fff!important;opacity:1}to{border:2px solid white;transform:scaleY(-1);stroke:#000!important;opacity:1}}@keyframes _ngcontent-%COMP%_mirror-1{0%{transform:scaleX(1)}50%{transform:scaleX(-1)}to{transform:scaleX(1)}}@keyframes _ngcontent-%COMP%_load-2{0%{stroke-dasharray:480}to{stroke-dasharray:830}}@keyframes _ngcontent-%COMP%_load-3{0%{stroke-dasharray:480}99.99%{opacity:0;stroke-dasharray:830}to{stroke-dasharray:480}}span[_ngcontent-%COMP%]{font-size:12px;line-height:14px}.icon-container[_ngcontent-%COMP%]{display:flex;position:relative;justify-content:center;gap:.5rem;align-items:center;height:50px;width:50px;border-radius:25px;cursor:pointer;z-index:12;opacity:1;margin:.75rem;color:#f3f3f3}.icon-container-left[_ngcontent-%COMP%]{left:0;border-radius:50px;height:32px;padding:0 1rem;width:unset;background:#32323233;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.icon-container-left[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px!important}@media (max-width: 768px){.icon-container-left[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px!important}}@media (max-width: 768px){.icon-container-left[_ngcontent-%COMP%]{height:32px!important}}.icon-container__background[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:50px;width:50px;border-radius:25px;background:#323232;z-index:-1;opacity:.8}.icon-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:24px;line-height:28px}.icon-container__icon[_ngcontent-%COMP%]{font-size:35px;color:#fff;font-weight:500;height:35px}.circle-desktop[_ngcontent-%COMP%]{display:block}.circle-mobile[_ngcontent-%COMP%]{display:none}@media (max-width: 768px){.circle-desktop[_ngcontent-%COMP%]{display:none}.circle-mobile[_ngcontent-%COMP%]{display:block}}']})}return Z})();var Ji=u(8069);const Mo=new t.nKC("DIALOG_DATA");var Io=u(6939);class so{constructor(ue){this.overlayRef=ue,this.afterClosedSubject=new ce.B}close(ue){this.overlayRef.dispose(),this.afterClosedSubject.next(ue),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}}var sn=u(7987);let ro=(()=>{class Z{constructor(N,se,Y,dt){this.overlay=N,this.injector=se,this.document=Y,this.rendererFactory=dt,this.renderer=dt.createRenderer(null,null)}open(N,se){const Y=this.overlay.position().global().centerHorizontally().centerVertically();let Tt=("overlay-panel-custom"+(se?.panelClass?" "+se.panelClass:"")).split(" ");const wn=this.overlay.create({positionStrategy:Y,hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),backdropClass:"overlay-backdrop",panelClass:Tt}),kn=this.renderer.createElement("style");this.renderer.appendChild(kn,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) ${se?.animationDuration??300}ms;\n ${se?.width?`width: ${se.width};`:""}\n ${se?.height?`height: ${se.height};`:""}\n }\n \n @media screen and (max-width: 768px) {\n .overlay-panel-custom {\n position: absolute !important;\n overflow: hidden;\n bottom: 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 ${se?.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,kn);const Zn=se?.backdropClickClose??!0;wn.backdropClick().subscribe(()=>{Zn&&wn.dispose()});const y=new so(wn),le=t.zZn.create({parent:this.injector,providers:[{provide:so,useValue:y},{provide:Mo,useValue:se?.data}]}),V=new Io.A8(N,null,le);return wn.attach(V),y}static#e=this.\u0275fac=function(se){return new(se||Z)(t.KVO(sn.hJ),t.KVO(t.zZn),t.KVO(p.qQ),t.KVO(t._9s))};static#t=this.\u0275prov=t.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})();(new Date).getFullYear();new Uint32Array(65536);const xs=Z=>{const ue={};let N=1;return Z.forEach(se=>{ue[se]=N,N+=1}),ue};var Ur={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"]},_o={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"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 Rr{constructor(ue=[]){this.parents=ue,this.children=new Map}addSub(ue,...N){const se=ue.charAt(0);this.children.has(se)||this.children.set(se,new Rr([...this.parents,se]));let Y=this.children.get(se);for(let dt=1;dt(Object.entries(Z).forEach(([N,se])=>{se.forEach(Y=>{ue.addSub(Y,N)})}),ue);new class Ro{constructor(){this.matchers={},this.l33tTable=Ur,this.trieNodeRoot=Nr(Ur,new Rr),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=_o,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(ue={}){ue.l33tTable&&(this.l33tTable=ue.l33tTable,this.trieNodeRoot=Nr(ue.l33tTable,new Rr)),ue.dictionary&&(this.dictionary=ue.dictionary,this.setRankedDictionaries()),ue.translations&&this.setTranslations(ue.translations),ue.graphs&&(this.graphs=ue.graphs),void 0!==ue.useLevenshteinDistance&&(this.useLevenshteinDistance=ue.useLevenshteinDistance),void 0!==ue.levenshteinThreshold&&(this.levenshteinThreshold=ue.levenshteinThreshold),void 0!==ue.l33tMaxSubstitutions&&(this.l33tMaxSubstitutions=ue.l33tMaxSubstitutions),void 0!==ue.maxLength&&(this.maxLength=ue.maxLength)}setTranslations(ue){if(!this.checkCustomTranslations(ue))throw new Error("Invalid translations object fallback to keys");this.translations=ue}checkCustomTranslations(ue){let N=!0;return Object.keys(_o).forEach(se=>{if(se in ue){const Y=se;Object.keys(_o[Y]).forEach(dt=>{dt in ue[Y]||(N=!1)})}else N=!1}),N}setRankedDictionaries(){const ue={},N={};Object.keys(this.dictionary).forEach(se=>{ue[se]=xs(this.dictionary[se]),N[se]=this.getRankedDictionariesMaxWordSize(this.dictionary[se])}),this.rankedDictionaries=ue,this.rankedDictionariesMaxWordSize=N}getRankedDictionariesMaxWordSize(ue){const N=ue.map(se=>"string"!=typeof se?se.toString().length:se.length);return 0===N.length?0:N.reduce((se,Y)=>Math.max(se,Y),-1/0)}buildSanitizedRankedDictionary(ue){const N=[];return ue.forEach(se=>{const Y=typeof se;("string"===Y||"number"===Y||"boolean"===Y)&&N.push(se.toString().toLowerCase())}),xs(N)}extendUserInputsDictionary(ue){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const N=[...this.dictionary.userInputs,...ue];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(N),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(N)}addMatcher(ue,N){this.matchers[ue]?console.info(`Matcher ${ue} already exists`):this.matchers[ue]=N}},new RegExp(`[${[" ",",",";",":","|","/","\\","_",".","-"].join("")}]`);var Wr=u(6173);function ns(Z,ue,N,{url:se,lang:Y,nonce:dt}={}){window.lvGrecaptchaCallback=()=>{N(window.grecaptcha)};const Tt=document.createElement("script");Tt.innerHTML="";const{url:wn,nonce:kn}=ue(new URL(se??"https://www.google.com/recaptcha/api.js"));wn.searchParams.set("render","explicit"===Z?Z:Z.key),wn.searchParams.set("onload","lvGrecaptchaCallback"),wn.searchParams.set("trustedtypes","true"),Y&&wn.searchParams.set("hl",Y),Tt.src=wn.href;const Zn=kn??dt;Zn&&Tt.setAttribute("nonce",Zn),Tt.async=!0,Tt.defer=!0,document.head.appendChild(Tt)}const Xr_newLoadScript=function Qo({onBeforeLoad:Z,onLoaded:ue}){ns("explicit",Z,ue)};let bo=(()=>{class Z{constructor(){this.$ready=(0,t.vPA)(!1),this.grecaptcha=null,this.init()}init(){if(!this.$ready()){if(this.grecaptcha)return void this.$ready.set(!0);this.loadScript()}}loadScript(){Xr_newLoadScript({onLoaded:N=>{this.grecaptcha=N,this.$ready.set(!0)},onBeforeLoad:N=>({url:this.generateScriptUrl()??N,nonce:void 0})})}generateScriptUrl(){return new URL("https://www.google.com/recaptcha/api.js")}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275prov=t.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})();var sr=u(2234);const Co=["captcha"],ps=()=>({height:"80px"});function Jo(Z,ue){1&Z&&(t.j41(0,"div"),t.nrm(1,"ngx-skeleton-loader",3),t.k0s()),2&Z&&(t.xc7("max-width","300px"),t.R7$(),t.Y8G("theme",t.lJ4(3,ps)))}let ko=(()=>{class Z{constructor(){this.siteKey=t.hFB.required(),this.theme=(0,t.hFB)("light"),this.size=(0,t.hFB)("normal"),this.captchaResponse=(0,t.CGW)(),this.captchaId=void 0,this.captchaContainer=(0,t.ebz)("captcha"),this.captchaLoadingService=(0,t.WQX)(bo),(0,t.QZP)(()=>{this.captchaLoadingService.$ready()&&this.renderRecaptcha()})}captchaReset(){this.captchaId&&this.captchaLoadingService.grecaptcha.reset(this.captchaId)}captchaGetResponse(){return this.captchaLoadingService.grecaptcha.getResponse(this.captchaId)}renderRecaptcha(){this.captchaId=this.captchaLoadingService.grecaptcha.render(this.captchaContainer().nativeElement,{"error-callback":(...N)=>{this.handleError(N)},"expired-callback":()=>{this.handleExpired()},callback:N=>{this.handleResponse(N)}})}handleResponse(N){this.captchaResponse.emit({resType:"success",response:N,error:void 0})}handleError(N){this.captchaResponse.emit({error:N,response:void 0,resType:"error"})}handleExpired(){this.captchaResponse.emit({error:void 0,response:void 0,resType:"expired"})}static#e=this.\u0275fac=function(se){return new(se||Z)};static#t=this.\u0275cmp=t.VBU({type:Z,selectors:[["lv-lib-recaptcha"]],viewQuery:function(se,Y){1&se&&t.wEZ(Y.captchaContainer,Co,5),2&se&&t.NyB()},inputs:{siteKey:[t.Mj6.SignalBased,"siteKey"],theme:[t.Mj6.SignalBased,"theme"],size:[t.Mj6.SignalBased,"size"]},outputs:{captchaResponse:"captchaResponse"},standalone:!0,features:[t.aNF],decls:3,vars:4,consts:[["captcha",""],[1,"g-recaptcha"],[3,"max-width"],[3,"theme"]],template:function(se,Y){1&se&&(t.nrm(0,"div",1,0),t.DNE(2,Jo,2,4,"div",2)),2&se&&(t.BMQ("data-sitekey",Y.siteKey())("data-size",Y.size())("data-theme",Y.theme()),t.R7$(2),t.vxM(2,void 0===Y.captchaId?2:-1))},dependencies:[p.MD,sr.Yq,sr.Zm],encapsulation:2})}return Z})()},6173:(kt,De,u)=>{"use strict";u.d(De,{v:()=>ee});var t=u(4438),p=u(9213),D=u(177);const j=["*"];function E(G,B){if(1&G){const R=t.RV6();t.j41(0,"div",2)(1,"mat-icon",3),t.bIt("click",function(){t.eBV(R);const I=t.XpG();return t.Njj(I.close.emit())}),t.EFF(2,"close"),t.k0s()()}}let ee=(()=>{class G{constructor(){this.showClose=!0,this.type="POSITIVE",this.rounded=!0,this.close=new t.bkB,this.clickBtnTarget=new t.bkB}static#e=this.\u0275fac=function(P){return new(P||G)};static#t=this.\u0275cmp=t.VBU({type:G,selectors:[["lv-lib-alerts"]],inputs:{showClose:"showClose",type:"type",rounded:"rounded"},outputs:{close:"close",clickBtnTarget:"clickBtnTarget"},standalone:!0,features:[t.aNF],ngContentSelectors:j,decls:3,vars:11,consts:[[1,"container-alert"],["class","container-alert__box__close",4,"ngIf"],[1,"container-alert__box__close"],[3,"click"]],template:function(P,I){1&P&&(t.NAR(),t.j41(0,"div",0),t.SdG(1),t.DNE(2,E,3,0,"div",1),t.k0s()),2&P&&(t.AVh("container-alert--color-main","MAIN"===I.type)("container-alert--color-positive","POSITIVE"===I.type)("container-alert--color-negative","NEGATIVE"===I.type)("container-alert--color-neutral","NEUTRAL"===I.type)("container-alert--border-rounded",I.rounded),t.R7$(2),t.Y8G("ngIf",I.showClose))},dependencies:[p.An,D.bT],styles:['h1[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:2.5rem;line-height:1.3;margin:0}@media (max-width: 768px){h1[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}}h2[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.5rem;line-height:1.3;margin:0}h3[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.25rem;line-height:1.3;margin:0}h4[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.3;margin:0}p[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:300;font-size:1rem;line-height:1.5;margin:0}b[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.5;margin:0}.lv-center-shared[_ngcontent-%COMP%]{display:flex!important;justify-content:center;align-items:center}.custom-dialog[_ngcontent-%COMP%]{width:70vw;border-radius:0}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%]{width:100vw!important}}.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{padding:0;border-radius:0;height:auto}@media (min-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{margin:30px 0}}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{padding:0!important}}.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{color:#000}.btn-text[_ngcontent-%COMP%]{z-index:5;position:relative}.lv-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.lv-center-x[_ngcontent-%COMP%]{display:flex;justify-content:center}.lv-center-y[_ngcontent-%COMP%]{display:flex;align-items:center}.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:16px;line-height:24px;letter-spacing:0;color:#ff8114;cursor:pointer}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em;display:table}@media (max-width: 768px){.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-size:24px;line-height:32px!important}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em!important;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em!important;display:table}}.link.small[_ngcontent-%COMP%], .link-left.small[_ngcontent-%COMP%]{font-size:12px;line-height:14px}.link.small[_ngcontent-%COMP%]:before, .link-left.small[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.6309em;display:table}.link.small[_ngcontent-%COMP%]:after, .link-left.small[_ngcontent-%COMP%]:after{content:"";margin-top:-.6582em;display:table}.link[_ngcontent-%COMP%]:hover, .link-left[_ngcontent-%COMP%]:hover{color:#cc6810}.search-title[_ngcontent-%COMP%]{cursor:pointer;margin:3px 0 30px;line-height:36px}@media (max-width: 768px){.search-title[_ngcontent-%COMP%]{margin:0 0 10px!important;line-height:80px!important;height:40px!important;font-size:36px!important}}.container-alert[_ngcontent-%COMP%]{display:grid;grid-template-columns:16fr 1fr;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;max-width:100%;padding:1rem;background-color:#ff8114;color:#fff}.container-alert--border-rounded[_ngcontent-%COMP%]{border-radius:12px}.container-alert__box[_ngcontent-%COMP%]{display:flex;gap:1rem}.container-alert__box__info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.5rem;width:1.5rem;height:1.5rem}.container-alert__box__content[_ngcontent-%COMP%]{font-size:1rem;font-weight:500;line-height:1.5;flex:auto}.container-alert__box__close[_ngcontent-%COMP%]{margin:0 0 auto auto}.container-alert__box__close[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;font-size:1.5rem;cursor:pointer}.container-alert--color-main[_ngcontent-%COMP%]{background-color:#ff8114}.container-alert--color-positive[_ngcontent-%COMP%]{background-color:#28a745}.container-alert--color-negative[_ngcontent-%COMP%]{background-color:#dc3545}.container-alert--color-neutral[_ngcontent-%COMP%]{background-color:#323232}.--centered-text[_ngcontent-%COMP%]{text-align:center}']})}return G})()},9821:(kt,De,u)=>{"use strict";u.d(De,{X:()=>j});var t=u(177),p=u(4438);const D=["*"];let j=(()=>{class E{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._classList=[]}set classList(G){this._classList=G}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":""]}static#e=this.\u0275fac=function(B){return new(B||E)};static#t=this.\u0275cmp=p.VBU({type:E,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",classList:"classList"},standalone:!0,features:[p.aNF],ngContentSelectors:D,decls:2,vars:2,consts:[["data-testid","lv-button",3,"disabled","ngClass"]],template:function(B,R){1&B&&(p.NAR(),p.j41(0,"button",0),p.SdG(1),p.k0s()),2&B&&p.Y8G("disabled",R.disabled)("ngClass",R.classList)},dependencies:[t.YU],styles:['h1[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:2.5rem;line-height:1.3;margin:0}@media (max-width: 768px){h1[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}}h2[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.5rem;line-height:1.3;margin:0}h3[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1.25rem;line-height:1.3;margin:0}h4[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.3;margin:0}p[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:300;font-size:1rem;line-height:1.5;margin:0}b[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:1rem;line-height:1.5;margin:0}.lv-center-shared[_ngcontent-%COMP%]{display:flex!important;justify-content:center;align-items:center}.custom-dialog[_ngcontent-%COMP%]{width:70vw;border-radius:0}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%]{width:100vw!important}}.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{padding:0;border-radius:0;height:auto}@media (min-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%] .mdc-dialog__surface[_ngcontent-%COMP%]{margin:30px 0}}@media (max-width: 768px){.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{padding:0!important}}.custom-dialog[_ngcontent-%COMP%] .mdc-dialog[_ngcontent-%COMP%] .mdc-dialog__content[_ngcontent-%COMP%]{color:#000}.btn-text[_ngcontent-%COMP%]{z-index:5;position:relative}.lv-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.lv-center-x[_ngcontent-%COMP%]{display:flex;justify-content:center}.lv-center-y[_ngcontent-%COMP%]{display:flex;align-items:center}.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:16px;line-height:24px;letter-spacing:0;color:#ff8114;cursor:pointer}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em;display:table}@media (max-width: 768px){.link[_ngcontent-%COMP%], .link-left[_ngcontent-%COMP%]{font-size:24px;line-height:32px!important}.link[_ngcontent-%COMP%]:before, .link-left[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.3809em!important;display:table}.link[_ngcontent-%COMP%]:after, .link-left[_ngcontent-%COMP%]:after{content:"";margin-top:-.4082em!important;display:table}}.link.small[_ngcontent-%COMP%], .link-left.small[_ngcontent-%COMP%]{font-size:12px;line-height:14px}.link.small[_ngcontent-%COMP%]:before, .link-left.small[_ngcontent-%COMP%]:before{content:"";margin-bottom:-.6309em;display:table}.link.small[_ngcontent-%COMP%]:after, .link-left.small[_ngcontent-%COMP%]:after{content:"";margin-top:-.6582em;display:table}.link[_ngcontent-%COMP%]:hover, .link-left[_ngcontent-%COMP%]:hover{color:#cc6810}.search-title[_ngcontent-%COMP%]{cursor:pointer;margin:3px 0 30px;line-height:36px}@media (max-width: 768px){.search-title[_ngcontent-%COMP%]{margin:0 0 10px!important;line-height:80px!important;height:40px!important;font-size:36px!important}}button[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border:none;margin:0;background:none;font:inherit;cursor:pointer;text-align:inherit;-webkit-appearance:none;appearance:none;color:#fff}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;color:#f5f5f5;background-color:#dbdbdb}.lv-lib-button[_ngcontent-%COMP%] [_ngcontent-%COMP%]:disabled{cursor:not-allowed}.lv-lib-button--rounded[_ngcontent-%COMP%]{border-radius:8px}.lv-lib-button--primary[_ngcontent-%COMP%]{background-color:#ff8114}.lv-lib-button--primary[_ngcontent-%COMP%]:hover:not(:disabled){background-color:#cc6810}.lv-lib-button--secondary[_ngcontent-%COMP%]{background-color:#323232}.lv-lib-button--secondary[_ngcontent-%COMP%]:hover:not(:disabled){background-color:gray}.lv-lib-button--success[_ngcontent-%COMP%]{background-color:#28a745}.lv-lib-button--success[_ngcontent-%COMP%]:hover:not(:disabled){background-color:#18662b}.lv-lib-button--danger[_ngcontent-%COMP%]{background-color:#dc3545}.lv-lib-button--danger[_ngcontent-%COMP%]:hover:not(:disabled){background-color:#9c2531}.lv-lib-button--neutral[_ngcontent-%COMP%]{background-color:#f5f5f5;color:#000}.lv-lib-button--neutral[_ngcontent-%COMP%]:hover:not(:disabled){background-color:#dbdbdb}.lv-lib-button--outline[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #aaaaaa;color:#000}.lv-lib-button--lg[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:500;min-width:256px;padding:0 1rem;height:48px}@media screen and (max-width: 768px){.lv-lib-button--lg[_ngcontent-%COMP%]{min-width:148px;width:100%}}.lv-lib-button--md[_ngcontent-%COMP%]{font-size:.875rem;font-weight:500;padding-inline:1rem;height:2.5rem}@media screen and (max-width: 768px){.lv-lib-button--md[_ngcontent-%COMP%]{min-width:148px;width:100%}}.lv-lib-button--sm[_ngcontent-%COMP%]{font-size:.75rem;font-weight:500;min-width:136px;height:24px}@media screen and (max-width: 768px){.lv-lib-button--sm[_ngcontent-%COMP%]{width:100%}}.lv-lib-button--fill[_ngcontent-%COMP%]{width:100%}.lv-lib-button--text[_ngcontent-%COMP%]{background-color:transparent;color:#000;min-width:auto;padding:0}.lv-lib-button--icon[_ngcontent-%COMP%]{font-size:.75rem;font-weight:500;width:3.5rem;height:3.5rem}@media screen and (max-width: 768px){.lv-lib-button--icon[_ngcontent-%COMP%]{width:100%}}.lv-lib-button-icon--sm[_ngcontent-%COMP%]{width:2.5rem;height:2.5rem}.lv-lib-button-icon--lg[_ngcontent-%COMP%]{width:3.5rem;height:3.5rem}.lv-lib-button--full-width[_ngcontent-%COMP%]{width:100%}.lv-lib-button--round[_ngcontent-%COMP%]{border-radius:50px}.lv-lib-button--round[_ngcontent-%COMP%]{border-radius:8px}.lv-lib-button--rectangle[_ngcontent-%COMP%]{border-radius:0}.lv-lib-button--square[_ngcontent-%COMP%]{width:2.5rem;height:2.5rem}'],changeDetection:0})}return E})()},3989:(kt,De,u)=>{"use strict";u.d(De,{x:()=>j});var t=u(4438);const p=["cardWrapper"],D=["*"];let j=(()=>{class E{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.showButtonLess=!1,this.rowsNumberBackup=9999}set paddingSize(G){G&&(this.paddingValue=`lv-card--padding-${G}`)}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{"use strict";u.d(De,{d:()=>P});var t=u(9213),p=u(177),D=u(4823),j=u(4438);const E=(I,A,b,F,L,de,re,me,Se,tt)=>({"lv-chip--primary":I,"lv-chip--success":A,"lv-chip--default":b,"lv-chip--danger":F,"lv-chip--neutral":L,"lv-chip--dark":de,"lv-chip--light":re,"lv-chip--light-30":me,"lv-chip--interactive":Se,"lv-chip--status":tt}),ee=I=>({"lv-chip__wrapper-interactive":I}),G=(I,A,b,F,L,de)=>({"lv-chip__icon-white":I,"lv-chip__icon-primary":A,"lv-chip__icon-success":b,"lv-chip__icon-default":F,"lv-chip__icon-danger":L,"lv-chip__icon-secondary":de});function B(I,A){if(1&I&&(j.j41(0,"mat-icon",3),j.EFF(1),j.k0s()),2&I){const b=j.XpG();j.Y8G("ngClass",j.l4e(2,G,"status"===b.chipType,"primary"===b.iconColor,"success"===b.iconColor,"default"===b.iconColor,"danger"===b.iconColor,"secondary"===b.iconColor)),j.R7$(),j.SpI("",b.icon," ")}}function R(I,A){if(1&I&&j.nrm(0,"img",7),2&I){const b=j.XpG();j.xc7("--icon-color",b.iconColor),j.FS9("alt",b.icon),j.Y8G("src",b.icon,j.B4B)}}let P=(()=>{class I{constructor(){this.icon="",this.text="",this.chipType="static",this.chipColor="light",this.isMaterial=!0,this.iconColor="default",this.tooltip=""}static#e=this.\u0275fac=function(F){return new(F||I)};static#t=this.\u0275cmp=j.VBU({type:I,selectors:[["lv-lib-chip"]],inputs:{icon:"icon",text:"text",chipType:"chipType",chipColor:"chipColor",isMaterial:"isMaterial",iconColor:"iconColor",tooltip:"tooltip"},standalone:!0,features:[j.aNF],decls:8,vars:25,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","lv-chips__icon--material",3,"ngClass"],[1,"lv-chip__icon","lv-chip__icon--image",3,"alt","src","--icon-color"],[1,"lv-chip__text-wrapper"],[1,"lv-chip__text"],[1,"lv-chip__icon","lv-chip__icon--image",3,"alt","src"]],template:function(F,L){1&F&&(j.j41(0,"div",0)(1,"div",1)(2,"div",2),j.DNE(3,B,2,9,"mat-icon",3)(4,R,1,4,"img",4),j.k0s(),j.j41(5,"div",5)(6,"span",6),j.EFF(7),j.k0s()()()()),2&F&&(j.AVh("lv-chip--icon-only",!L.text),j.Y8G("ngClass",j.zJS(12,E,["primary"===L.chipColor,"success"===L.chipColor,"default"===L.chipColor||"interactive"===L.chipType,"danger"===L.chipColor,"neutral"===L.chipColor,"dark"===L.chipColor,"light"===L.chipColor,"light-30"===L.chipColor,"interactive"===L.chipType,"status"===L.chipType])),j.R7$(),j.xc7("gap",L.text?"0.5rem":"0"),j.Y8G("ngClass",j.eq3(23,ee,"interactive"===L.chipType)),j.R7$(),j.Y8G("matTooltip",L.tooltip),j.R7$(),j.vxM(3,L.isMaterial&&"interactive"!==L.chipType?3:-1),j.R7$(),j.vxM(4,L.isMaterial?-1:4),j.R7$(2),j.AVh("lv-chip__text--white","status"===L.chipType||"dark"===L.chipColor||"light-30"===L.chipColor),j.R7$(),j.SpI("",L.text," "))},dependencies:[t.m_,t.An,p.YU,D.uc,D.oV],styles:[".lv-chip[_ngcontent-%COMP%]{display:inline-block;padding:0 .75rem 0 .5rem;border-radius:50px;height:1.5rem;width:auto}.lv-chip--primary[_ngcontent-%COMP%]{background-color:#ff8114}.lv-chip--light[_ngcontent-%COMP%]{background-color:#f5f5f5}.lv-chip--success[_ngcontent-%COMP%]{background-color:#28a745}.lv-chip--danger[_ngcontent-%COMP%]{background-color:#dc3545}.lv-chip--dark[_ngcontent-%COMP%]{background-color:#323232}.lv-chip--neutral[_ngcontent-%COMP%]{background-color:#007bff}.lv-chip--default[_ngcontent-%COMP%]{background-color:#dbdbdb}.lv-chip--light-30[_ngcontent-%COMP%]{background-color:#f5f5f54d}.lv-chip--interactive[_ngcontent-%COMP%]{cursor:pointer;color:#fff;transition:background-color .3s ease-in-out;height:2rem;width:auto}.lv-chip--interactive[_ngcontent-%COMP%]:hover{background-color:#ff8114}.lv-chip--status[_ngcontent-%COMP%]{height:1.5rem;width:128px;align-items:center}.lv-chip--icon-only[_ngcontent-%COMP%]{padding:0 .25rem}.lv-chip__wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:.5rem;height:100%}.lv-chip__wrapper-interactive[_ngcontent-%COMP%]{width:100%;gap:0;min-width:2.5rem}.lv-chip__icon-wrapper[_ngcontent-%COMP%]{height:1rem}.lv-chip__icon[_ngcontent-%COMP%]{display:flex;font-size:1rem;height:1rem;width:1rem}.lv-chip__icon-white[_ngcontent-%COMP%]{color:#fff}.lv-chip__icon-primary[_ngcontent-%COMP%]{color:#ff8114}.lv-chip__icon-success[_ngcontent-%COMP%]{color:#28a745}.lv-chip__icon-default[_ngcontent-%COMP%]{color:#007bff}.lv-chip__icon-danger[_ngcontent-%COMP%]{color:#dc3545}.lv-chip__icon-secondary[_ngcontent-%COMP%]{color:#323232}.lv-chip__icon--material[_ngcontent-%COMP%]{color:var(--icon-color, #000000)}.lv-chip__icon--image[_ngcontent-%COMP%]{height: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:100%}.lv-chip__text[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--text-color, #000000);font-size:12px;font-weight:500}.lv-chip__text--white[_ngcontent-%COMP%]{color:#fff}"],changeDetection:0})}return I})()},2211:(kt,De,u)=>{"use strict";u.d(De,{o:()=>B});const t=[{name:"bar_chart",content:''},{name:"Add_pic_white",content:''},{name:"accepted",content:'\n \n \n \n \n \n \n \n \n\n'},{name:"account",content:'\n \n\n'},{name:"account_balance",content:'\n \n\n'},{name:"active",content:'\n \n\n'},{name:"active_circle-green",content:'\n \n\n'},{name:"active_circle",content:'\n \n\n'},{name:"add",content:'\n \n\n'},{name:"add_box",content:'\n \n\n'},{name:"add_circle",content:'\n \n\n'},{name:"add_circle_outlined",content:'\n \n'},{name:"ads_advertising",content:'\n \n\n'},{name:"affiliate",content:'\n \n \n \n \n \n \n \n \n\n'},{name:"appearance_moderation",content:'\n \n\n'},{name:"archive",content:'\n \n\n'},{name:"arrow_back",content:'\n \n\n'},{name:"arrow_down",content:'\n \n\n'},{name:"arrow_downward",content:'\n \n\n'},{name:"arrow_drop_down",content:'\n \n\n'},{name:"arrow_forward",content:'\n \n\n'},{name:"arrow_left",content:'\n \n\n'},{name:"arrow_right",content:'\n \n\n'},{name:"arrow_up",content:'\n \n\n'},{name:"arrow_upward",content:'\n \n\n'},{name:"attach_file",content:'\n \n\n'},{name:"ban",content:'\n \n\n'},{name:"bing",content:'\n \n\n'},{name:"bing_circle",content:'\n \n\n'},{name:"blog",content:'\n \n\n'},{name:"bookmark",content:'\n \n\n'},{name:"cbs",content:'\n \n\n'},{name:"cbs_circle",content:'\n \n \n\n'},{name:"chat",content:'\n \n\n'},{name:"check_activated_completed_circle-green",content:'\n \n\n'},{name:"check_activated_completed_circle",content:'\n \n\n'},{name:"check_activated_completed_circle_outline",content:'\n \n\n'},{name:"check_box",content:'\n \n\n'},{name:"check_indeterminate",content:'\n \n\n'},{name:"check_small",content:'\n \n\n'},{name:"close",content:'\n \n\n'},{name:"close_box",content:'\n \n\n'},{name:"close_declined_circle-red",content:'\n \n\n'},{name:"close_declined_circle",content:'\n \n\n'},{name:"close_declined_circle_outlined",content:'\n \n\n'},{name:"cookie",content:'\n \n'},{name:"code",content:'\n \n\n'},{name:"code_circle",content:'\n \n\n'},{name:"contact",content:'\n\n\n'},{name:"content_paste",content:'\n \n\n'},{name:"copy",content:'\n \n\n'},{name:"dashboard",content:'\n \n \n\n'},{name:"data_import",content:'\n \n\n'},{name:"deactivated",content:'\n \n\n'},{name:"deactivated_circle-red",content:'\n \n\n'},{name:"deactivated_circle",content:'\n \n\n'},{name:"deactivated_circle_outlined",content:'\n \n\n'},{name:"desktop",content:'\n \n\n'},{name:"desktop_circle",content:'\n \n \n\n'},{name:"disabled_by_default",content:'\n \n\n'},{name:"dislike",content:'\n \n\n'},{name:"done_check",content:'\n \n\n'},{name:"double_arrow_down",content:'\n \n \n\n'},{name:"download",content:'\n \n\n'},{name:"edit",content:'\n \n\n'},{name:"edit_box",content:'\n \n\n'},{name:"edit_circle",content:'\n \n\n'},{name:"email",content:'\n \n\n'},{name:"expand_field",content:'\n \n\n'},{name:"faq_fallback",content:'\n \n\n'},{name:"filter",content:'\n \n\n'},{name:"fraud_detection",content:'\n \n\n'},{name:"full_script_api",content:'\n \n\n'},{name:"general",content:'\n \n\n'},{name:"google",content:'\n \n\n'},{name:"google_circle",content:'\n \n\n'},{name:"history",content:'\n\n\n'},{name:"home",content:'\n \n \n\n'},{name:"hosted",content:'\n \n \n\n'},{name:"hosted_circle",content:'\n \n \n\n'},{name:"image",content:'\n \n\n'},{name:"incentive",content:'\n \n\n'},{name:"incentive_circle",content:'\n \n \n\n'},{name:"info",content:'\n \n\n'},{name:"info_black_24dp",content:'\n \n \n\n'},{name:"integrations",content:'\n \n\n'},{name:"jobs",content:'\n \n\n'},{name:"like",content:'\n \n\n'},{name:"link_reports",content:'\n \n\n'},{name:"linkvertise_circle",content:'\n \n\n'},{name:"linkvertise_links",content:'\n \n\n'},{name:"location",content:'\n \n\n'},{name:"lock",content:'\n \n\n'},{name:"login",content:'\n \n\n'},{name:"logout",content:'\n \n \n\n'},{name:"logs_notes",content:'\n\n\n'},{name:"menu",content:'\n \n\n'},{name:"mobile",content:'\n \n\n'},{name:"mobile_circle",content:'\n \n \n\n'},{name:"monetized_geos_circle",content:'\n \n \n\n'},{name:"move",content:'\n \n \n\n'},{name:"new",content:'\n \n\n'},{name:"notes_menu",content:'\n \n\n'},{name:"notifications",content:'\n \n\n'},{name:"open_in_full",content:'\n \n\n'},{name:"open_in_new",content:'\n \n\n'},{name:"organic",content:'\n \n\n'},{name:"organic_type_in",content:'\n \n\n'},{name:"organic_type_in_circle",content:'\n \n \n\n'},{name:"overview_all-circle",content:'\n \n \n \n \n \n \n \n \n\n'},{name:"overview_all",content:'\n \n\n'},{name:"paid_native",content:'\n'},{name:"paid_search_native",content:'\n'},{name:"partner",content:'\n \n \n \n\n'},{name:"pause",content:'\n \n\n'},{name:"pause_circle",content:'\n \n\n'},{name:"pause_circle_outlined",content:'\n \n\n'},{name:"payouts",content:'\n\n\n'},{name:"pending",content:'\n \n \n \n \n\n'},{name:"pending_circle",content:'\n \n\n'},{name:"pending_circle_outlined",content:'\n \n\n'},{name:"premium",content:'\n \n \n\n'},{name:"presented",content:'\n \n\n'},{name:"process",content:'\n \n\n'},{name:"profile",content:'\n \n\n'},{name:"publisher",content:'\n \n\n'},{name:"question_mark_circle",content:'>\n \n\n'},{name:"refresh",content:'\n \n\n'},{name:"remove",content:'\n \n\n'},{name:"remove_circle",content:'\n \n\n'},{name:"report",content:'\n \n\n'},{name:"search",content:'\n \n\n'},{name:"search_box",content:'\n \n \n \n \n \n \n \n \n \n\n'},{name:"select_department",content:'\n \n \n\n'},{name:"send",content:'\n \n\n'},{name:"settings",content:'\n \n\n'},{name:"shield",content:'\n \n'},{name:"skip_next",content:'\n \n\n'},{name:"skip_previous",content:'\n \n\n'},{name:"skype",content:'\n \n\n'},{name:"sort",content:'\n \n\n'},{name:"statistic",content:'\n \n\n'},{name:"submitted_circle_filled",content:'\n \n\n'},{name:"submitted_circle_outlined",content:'\n \n\n'},{name:"support_ticket",content:'\n \n\n'},{name:"tablet",content:'\n \n\n'},{name:"tablet_circle",content:'\n \n \n\n'},{name:"time_countdown",content:'\n \n\n'},{name:"timer",content:'\n \n\n'},{name:"timeline",content:''},{name:"tipalti",content:'\n \n\n'},{name:"today",content:'\n \n\n'},{name:"trash",content:'\n \n\n'},{name:"trend",content:'\n \n \n\n'},{name:"trending_down-red",content:'\n \n\n'},{name:"trending_flat",content:'\n \n\n'},{name:"trending_up-green",content:'\n \n\n'},{name:"twitter",content:'\n \n\n'},{name:"upload",content:'\n \n\n'},{name:"users_team_employee",content:'\n \n \n \n \n\n'},{name:"visibility",content:'\n \n\n'},{name:"visibility_off",content:'\n \n\n'},{name:"warning-orange",content:'\n \n\n'},{name:"warning-red",content:'\n \n\n'},{name:"warning",content:'\n \n\n'},{name:"yahoo",content:'\n \n\n'},{name:"yahoo_circle",content:'\n \n\n'},{name:"yandex",content:'\n \n\n'},{name:"yandex_circle",content:'\n \n\n'},{name:"youtube",content:'\n \n \n\n'},{name:"paid",content:''},{name:"group_add",content:''},{name:"download",content:''},{name:"file_copy",content:''},{name:"how_to_reg",content:''}];var p=u(4438),D=u(9213),j=u(345);let E=(()=>{class R{constructor(I,A){this.matIconRegistry=I,this.domSanitizer=A,t.forEach(b=>{this.matIconRegistry.addSvgIconLiteral(b.name,this.domSanitizer.bypassSecurityTrustHtml(b.content))})}static#e=this.\u0275fac=function(A){return new(A||R)(p.KVO(D.tp),p.KVO(j.up))};static#t=this.\u0275prov=p.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})();var ee=u(177);const G=["*"];let B=(()=>{class R{handleSize(I){switch(I){case"sm":return"1rem";case"md":default:return"1.5rem";case"lg":return"2rem";case"xl":return"2.5rem"}}handleColorClass(I){const A="icon icon-color--";switch(I){case"primary":return`${A}primary`;case"success":return`${A}success`;case"danger":return`${A}danger`;case"secondary":return`${A}secondary`;case"warning":return`${A}warning`;case"white":return`${A}white`;default:return`${A}default`}}constructor(I){this.iconName="",this.color="default",this.size="md"}static#e=this.\u0275fac=function(A){return new(A||R)(p.rXU(E))};static#t=this.\u0275cmp=p.VBU({type:R,selectors:[["lv-lib-icon"]],inputs:{iconName:"iconName",color:"color",size:"size"},standalone:!0,features:[p.aNF],ngContentSelectors:G,decls:2,vars:6,consts:[[3,"svgIcon","ngClass"]],template:function(A,b){1&A&&(p.NAR(),p.j41(0,"mat-icon",0),p.SdG(1),p.k0s()),2&A&&(p.xc7("height",b.handleSize(b.size))("width",b.handleSize(b.size)),p.Y8G("svgIcon",b.iconName)("ngClass",b.handleColorClass(b.color)))},dependencies:[D.An,ee.YU],styles:[".icon[_ngcontent-%COMP%]{display:flex}.icon-color[_ngcontent-%COMP%]{fill:#000}.icon-color--primary[_ngcontent-%COMP%]{fill:#ff8114}.icon-color--secondary[_ngcontent-%COMP%]{fill:#323232}.icon-color--success[_ngcontent-%COMP%]{fill:#28a745}.icon-color--danger[_ngcontent-%COMP%]{fill:#dc3545}.icon-color--warning[_ngcontent-%COMP%]{fill:#ff8114}.icon-color--info[_ngcontent-%COMP%]{fill:#323232}.icon-color--white[_ngcontent-%COMP%]{fill:#fff}"],changeDetection:0})}return R})()},1318:(kt,De,u)=>{"use strict";u.d(De,{w:()=>me});var t=u(4438),p=u(4497),D=u(1744),j=u(3989),E=u(177),ee=u(1413),G=u(152);let B=(()=>{class Se{constructor(je){this.zone=je,this.observedContainers=new Map,this.containerUpdate$=new ee.B,this.containerUpdate$.pipe((0,G.B)(100)).subscribe(xe=>{xe.forEach(ve=>{this.updateChildrenVisibility(ve.target)})}),this.resizeObserver=new ResizeObserver(xe=>{this.zone.run(()=>{this.containerUpdate$.next(xe)})})}updateChildrenVisibility(je){const xe=this.observedContainers.get(je),ve=je.getBoundingClientRect().width;if(ve>0){const ye=this.getLowestPriorityForWidth(ve,xe);xe.forEach(pe=>{pe.el.style.display=pe.priority>=ye?pe.originalDisplayProperty:"none"})}}observeContainer(je,xe){if(!je||je.children.length<1)return void console.error("can not observe element without any children");const ye=Array.from(je.children[0].children);let pe=[];ye.forEach((Pe,$)=>{pe.push({priority:xe?xe[$]:1,width:Math.ceil(Pe.getBoundingClientRect().width),el:Pe,originalDisplayProperty:getComputedStyle(Pe).display})}),pe=this.sortByPriority(pe),this.observedContainers.set(je,pe),this.resizeObserver.observe(je),this.updateChildrenVisibility(je)}getLowestPriorityForWidth(je,xe){let ve=xe.length-1,ye=0;for(let pe=0;peve.priorityye.priority?-1:0)}unobserveContainer(je){this.observedContainers.has(je)&&(this.resizeObserver.unobserve(je),this.observedContainers.delete(je))}disposeAllObservers(){Array.from(this.observedContainers.keys()).forEach(xe=>{this.unobserveContainer(xe)}),this.observedContainers=new Map}static#e=this.\u0275fac=function(xe){return new(xe||Se)(t.KVO(t.SKi))};static#t=this.\u0275prov=t.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"})}return Se})();const R=["observerCard"];function P(Se,tt){if(1&Se&&(t.nrm(0,"img",3),t.nI1(1,"LvLibSafe")),2&Se){const je=t.XpG();t.FS9("alt",je.imageAlt),t.Y8G("src",t.i5U(1,2,je.imageSrc,"resourceUrl"),t.B4B)}}function I(Se,tt){if(1&Se&&t.nrm(0,"lv-lib-chip",12),2&Se){let je,xe,ve,ye;const pe=tt.$implicit;t.Y8G("icon",pe.icon)("chipType","static")("tooltip",null!==(je=pe.tooltip)&&void 0!==je?je:"")("iconColor",null!==(xe=pe.iconColor)&&void 0!==xe?xe:"white")("chipColor",null!==(ve=pe.chipColor)&&void 0!==ve?ve:"light")("text",null!==(ye=pe.text)&&void 0!==ye?ye:"")}}function A(Se,tt){if(1&Se&&(t.j41(0,"div",5),t.DNE(1,I,1,6,"lv-lib-chip",11),t.k0s()),2&Se){const je=t.XpG();t.R7$(),t.Y8G("ngForOf",je.badges)}}function b(Se,tt){if(1&Se){const je=t.RV6();t.j41(0,"p",13),t.bIt("click",function(ve){t.eBV(je);const ye=t.XpG();return t.Njj(ye.clickProfile(ve))}),t.EFF(1),t.k0s()}if(2&Se){const je=t.XpG();t.R7$(),t.SpI(" ",je.username," ")}}function F(Se,tt){if(1&Se&&(t.j41(0,"div",9)(1,"div",15),t.EFF(2,"\u2022"),t.k0s(),t.j41(3,"p",16),t.EFF(4),t.nI1(5,"number"),t.k0s()()),2&Se){const je=t.XpG(2);t.R7$(4),t.SpI("",t.brH(5,1,je.views,"",je.locale)," Views")}}function L(Se,tt){if(1&Se&&t.DNE(0,F,6,5,"div",14),2&Se){const je=t.XpG();t.Y8G("ngIf",je.views)}}function de(Se,tt){if(1&Se&&(t.j41(0,"div",10)(1,"div",18),t.EFF(2,"\u2022"),t.k0s(),t.j41(3,"p",19),t.EFF(4),t.k0s()()),2&Se){const je=t.XpG(2);t.R7$(4),t.JRh(je.origin)}}function re(Se,tt){if(1&Se&&t.DNE(0,de,5,1,"div",17),2&Se){const je=t.XpG();t.Y8G("ngIf",je.origin)}}let me=(()=>{class Se{clickProfile(je){return je.stopPropagation(),this.profileClick.emit()}constructor(je){this.fitItemsInContainerService=je,this.locale="de-DE",this.imageSrc=null,this.imageAlt=null,this.title=null,this.badges=[],this.views=null,this.username=null,this.origin=null,this.rounded=!1,this.cardClick=new t.bkB,this.profileClick=new t.bkB}ngAfterViewInit(){this.fitItemsInContainerService.observeContainer(this.observerCard.nativeElement,[3,2,1])}static#e=this.\u0275fac=function(xe){return new(xe||Se)(t.rXU(B))};static#t=this.\u0275cmp=t.VBU({type:Se,selectors:[["lv-lib-result"]],viewQuery:function(xe,ve){if(1&xe&&t.GBs(R,7),2&xe){let ye;t.mGM(ye=t.lsd())&&(ve.observerCard=ye.first)}},inputs:{imageSrc:"imageSrc",imageAlt:"imageAlt",title:"title",badges:"badges",views:"views",username:"username",origin:"origin",rounded:"rounded"},outputs:{cardClick:"cardClick",profileClick:"profileClick"},standalone:!0,features:[t.aNF],decls:14,vars:10,consts:[["observerCard",""],["data-testid","lv-result",1,"click-container",3,"click","padding","rounded"],[1,"img-container"],[3,"src","alt"],[1,"bottom"],[1,"bottom__chips"],[1,"bottom__title"],[1,"bottom__meta"],[1,"bottom__meta__name"],[1,"bottom__meta__views"],[1,"bottom__meta__domain"],[3,"icon","chipType","tooltip","iconColor","chipColor","text",4,"ngFor","ngForOf"],[3,"icon","chipType","tooltip","iconColor","chipColor","text"],[1,"bottom__meta__name",3,"click"],["class","bottom__meta__views",4,"ngIf"],[1,"bottom__meta__views__dot"],[1,"bottom__meta__views__data"],["class","bottom__meta__domain",4,"ngIf"],[1,"bottom__meta__domain__dot"],[1,"bottom__meta__domain__data"]],template:function(xe,ve){if(1&xe){const ye=t.RV6();t.j41(0,"lv-lib-card",1),t.bIt("click",function(){return t.eBV(ye),t.Njj(ve.cardClick.emit())}),t.j41(1,"div",2),t.DNE(2,P,2,5,"img",3),t.k0s(),t.j41(3,"div",4),t.DNE(4,A,2,1,"div",5),t.j41(5,"div",6)(6,"h2"),t.EFF(7),t.k0s()(),t.j41(8,"div",null,0)(10,"div",7),t.DNE(11,b,2,1,"p",8)(12,L,1,1,"div",9)(13,re,1,1,"div",10),t.k0s()()()()}2&xe&&(t.Y8G("padding",!1)("rounded",ve.rounded),t.R7$(),t.AVh("img-container--rounded",ve.rounded),t.R7$(),t.vxM(2,"FALLBACK_THUMBNAIL"!==ve.imageSrc?2:-1),t.R7$(2),t.vxM(4,ve.badges?4:-1),t.R7$(3),t.JRh(ve.title),t.R7$(4),t.vxM(11,ve.username?11:-1),t.R7$(),t.vxM(12,ve.views?12:-1),t.R7$(),t.vxM(13,ve.origin?13:-1))},dependencies:[j.x,D.H,p.d,E.MD,E.Sq,E.bT,E.QX],styles:[".click-container[_ngcontent-%COMP%]{cursor:pointer;max-width:800px;height:100%;background-color:#fff;box-shadow:0 3px 24px #3232320a}.click-container--vertical[_ngcontent-%COMP%]{display:flex;flex-direction:column}.click-container--horizontal[_ngcontent-%COMP%]{display:flex;flex-direction:row;height:176px;min-width:765px}.click-container--horizontal[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{flex:1}.img-container[_ngcontent-%COMP%]{aspect-ratio:16/9;overflow:hidden}.img-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:cover}.bottom[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 1rem}.bottom__chips[_ngcontent-%COMP%]{display:flex;gap:.75rem;row-gap:.75rem}.bottom__title[_ngcontent-%COMP%]{margin:1rem 0 0;min-height:56px}.bottom__title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{max-width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0}.bottom__meta[_ngcontent-%COMP%]{margin:1rem 0 0;display:flex}.bottom__meta[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:.75rem}.bottom__meta__views[_ngcontent-%COMP%], .bottom__meta__domain[_ngcontent-%COMP%]{display:flex}.bottom__meta__views__dot[_ngcontent-%COMP%], .bottom__meta__domain__dot[_ngcontent-%COMP%]{font-size:.75rem;margin-block:auto;margin-inline:.75rem}"],changeDetection:0})}return Se})()},8069:(kt,De,u)=>{"use strict";u.d(De,{$0:()=>P,SD:()=>R,qX:()=>B});var t=u(177),p=u(4438),D=u(9213);const j=["*"],E=["header"];function ee(I,A){if(1&I){const b=p.RV6();p.j41(0,"mat-icon",3),p.bIt("click",function(){p.eBV(b);const L=p.XpG();return p.Njj(L.close.emit())}),p.EFF(1,"close"),p.k0s()}}const G=".lv-popover-container[_ngcontent-%COMP%]{border-radius:24px;background-color:#fff;overflow:hidden}.lv-popover-container--size-sm[_ngcontent-%COMP%]{width:100vw;max-width:312px}.lv-popover-container--size-md[_ngcontent-%COMP%]{width:100vw;max-width:704px}.lv-popover-container--size-lg[_ngcontent-%COMP%]{width:100vw;max-width:1048px}@media screen and (max-width: 768px){.lv-popover-container[_ngcontent-%COMP%]{border-radius:24px 24px 0 0;width:100vw;overflow:hidden}}.lv-popover-header[_ngcontent-%COMP%]{display:flex;z-index:1;position:sticky;top:0;border-radius:24px 24px 0 0;overflow:hidden;background-color:#fff;align-items:center;justify-content:space-between;padding:1.5rem 1.5rem .75rem;transition:box-shadow .3s ease-in-out}.lv-popover-header.lv-scrolled[_ngcontent-%COMP%]{box-shadow:0 3px 8px #32323229}.lv-popover-header[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{cursor:pointer;transition:color .3s ease-in-out}.lv-popover-header[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{cursor:pointer}.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 screen and (max-width: 768px){.lv-overflow-container[_ngcontent-%COMP%]{max-height:100vh}}.lv-overflow-container--padding[_ngcontent-%COMP%]{padding:1.5rem}";let B=(()=>{class I{constructor(){this.size="md"}static#e=this.\u0275fac=function(F){return new(F||I)};static#t=this.\u0275cmp=p.VBU({type:I,selectors:[["lv-lib-popover"]],inputs:{size:"size"},standalone:!0,features:[p.aNF],ngContentSelectors:j,decls:3,vars:6,consts:[[1,"lv-popover-container"],[1,"lv-overflow-container"]],template:function(F,L){1&F&&(p.NAR(),p.j41(0,"div",0)(1,"div",1),p.SdG(2),p.k0s()()),2&F&&p.AVh("lv-popover-container--size-sm","sm"===L.size)("lv-popover-container--size-md","md"===L.size)("lv-popover-container--size-lg","lg"===L.size)},styles:[G]})}return I})(),R=(()=>{class I{constructor(b){this.document=b,this.close=new p.bkB,this.class="lv-popover-header",this.padding=!1,this.showCloseIcon=!0,this.scrollElement=null}ngAfterViewInit(){this.scrollElement=this.document.querySelector(".lv-overflow-container"),this.scrollElement?this.scrollElement.addEventListener("scroll",this.onScroll.bind(this)):this.header.nativeElement.addEventListener("scroll",this.onScroll.bind(this))}onScroll(){this.scrollElement&&this.scrollElement.scrollTop>0?this.header.nativeElement.classList.add("lv-scrolled"):this.header.nativeElement.classList.remove("lv-scrolled")}static#e=this.\u0275fac=function(F){return new(F||I)(p.rXU(t.qQ))};static#t=this.\u0275cmp=p.VBU({type:I,selectors:[["lv-lib-popover-header"]],viewQuery:function(F,L){if(1&F&&p.GBs(E,5),2&F){let de;p.mGM(de=p.lsd())&&(L.header=de.first)}},hostVars:2,hostBindings:function(F,L){2&F&&p.HbH(L.class)},inputs:{padding:"padding",showCloseIcon:"showCloseIcon"},outputs:{close:"close"},standalone:!0,features:[p.aNF],ngContentSelectors:j,decls:4,vars:1,consts:[["header",""],[1,"lv-popover-header"],["class","close-icon",3,"click",4,"ngIf"],[1,"close-icon",3,"click"]],template:function(F,L){1&F&&(p.NAR(),p.j41(0,"div",1,0),p.SdG(2),p.DNE(3,ee,2,0,"mat-icon",2),p.k0s()),2&F&&(p.R7$(3),p.Y8G("ngIf",L.showCloseIcon))},dependencies:[D.m_,D.An,t.bT],styles:[G]})}return I})(),P=(()=>{class I{constructor(){this.padding=!1,this.class="lv-popover-body"}static#e=this.\u0275fac=function(F){return new(F||I)};static#t=this.\u0275cmp=p.VBU({type:I,selectors:[["lv-lib-popover-body"]],hostVars:2,hostBindings:function(F,L){2&F&&p.HbH(L.class)},inputs:{padding:"padding"},standalone:!0,features:[p.aNF],ngContentSelectors:j,decls:2,vars:2,consts:[[1,"lv-popover-body"]],template:function(F,L){1&F&&(p.NAR(),p.j41(0,"div",0),p.SdG(1),p.k0s()),2&F&&p.AVh("lv-overflow-container--padding",L.padding)},styles:[G]})}return I})()},1744:(kt,De,u)=>{"use strict";u.d(De,{H:()=>D});var t=u(4438),p=u(345);let D=(()=>{class j{constructor(ee){this.sanitizer=ee}transform(ee,G){switch(G){case"html":return this.sanitizer.bypassSecurityTrustHtml(ee);case"style":return this.sanitizer.bypassSecurityTrustStyle(ee);case"script":return this.sanitizer.bypassSecurityTrustScript(ee);case"url":return this.sanitizer.bypassSecurityTrustUrl(ee);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(ee);default:throw new Error(`Invalid safe type specified: ${G}`)}}static#e=this.\u0275fac=function(G){return new(G||j)(t.rXU(p.up,16))};static#t=this.\u0275pipe=t.EJ8({name:"LvLibSafe",type:j,pure:!0,standalone:!0})}return j})()},7376:function(kt,De,u){var t;kt=u.nmd(kt),function(){var p,ee="Expected a function",B="__lodash_hash_undefined__",P="__lodash_placeholder__",be=1/0,Be=9007199254740991,fe=4294967295,qe=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Ce="[object Arguments]",We="[object Array]",gt="[object Boolean]",an="[object Date]",Tn="[object Error]",Rn="[object Function]",ii="[object GeneratorFunction]",Cn="[object Map]",ot="[object Number]",at="[object Object]",_t="[object Promise]",Hn="[object RegExp]",Xn="[object Set]",Bt="[object String]",ce="[object Symbol]",Je="[object WeakMap]",Kt="[object ArrayBuffer]",pt="[object DataView]",jt="[object Float32Array]",nt="[object Float64Array]",mt="[object Int8Array]",At="[object Int16Array]",Yt="[object Int32Array]",jn="[object Uint8Array]",En="[object Uint8ClampedArray]",$n="[object Uint16Array]",ki="[object Uint32Array]",Qn=/\b__p \+= '';/g,Jt=/\b(__p \+=) '' \+/g,wi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qt=/&(?:amp|lt|gt|quot|#39);/g,Zt=/[&<>"']/g,He=RegExp(Qt.source),Ee=RegExp(Zt.source),q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,rt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xt=/^\w*$/,yn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,Mt=RegExp(Lt.source),et=/^\s+/,St=/\s/,mn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,_i=/\{\n\/\* \[wrapped with (.+)\] \*/,tr=/,? & /,ir=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,it=/[()=,{}\[\]\/\s]/,si=/\\(\\)?/g,we=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ft=/\w*$/,Rt=/^[-+]0x[0-9a-f]+$/i,qn=/^0b[01]+$/i,ei=/^\[object .+?Constructor\]$/,nr=/^0o[0-7]+$/i,Mr=/^(?:0|[1-9]\d*)$/,lr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Dr=/($^)/,cr=/['\n\r\u2028\u2029\\]/g,vi="\\ud800-\\udfff",ct="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nn="\\u2700-\\u27bf",yt="a-z\\xdf-\\xf6\\xf8-\\xff",ri="A-Z\\xc0-\\xd6\\xd8-\\xde",Xi="\\ufe0e\\ufe0f",Vi="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dr="["+vi+"]",Or="["+Vi+"]",Fi="["+ct+"]",Ni="\\d+",Sr="["+nn+"]",Vr="["+yt+"]",Pr="[^"+vi+Vi+Ni+nn+yt+ri+"]",Fr="\\ud83c[\\udffb-\\udfff]",qt="[^"+vi+"]",pn="(?:\\ud83c[\\udde6-\\uddff]){2}",ft="[\\ud800-\\udbff][\\udc00-\\udfff]",un="["+ri+"]",fi="(?:"+Vr+"|"+Pr+")",ai="(?:"+un+"|"+Pr+")",Zi="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Mi="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",li="(?:"+Fi+"|"+Fr+")?",go="["+Xi+"]?",Io=go+li+"(?:\\u200d(?:"+[qt,pn,ft].join("|")+")"+go+li+")*",so="(?:"+[Sr,pn,ft].join("|")+")"+Io,sn="(?:"+[qt+Fi+"?",Fi,pn,ft,dr].join("|")+")",ro=RegExp("['\u2019]","g"),Lo=RegExp(Fi,"g"),Po=RegExp(Fr+"(?="+Fr+")|"+sn+Io,"g"),$o=RegExp([un+"?"+Vr+"+"+Zi+"(?="+[Or,un,"$"].join("|")+")",ai+"+"+Mi+"(?="+[Or,un+fi,"$"].join("|")+")",un+"?"+fi+"+"+Zi,un+"+"+Mi,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ni,so].join("|"),"g"),Wo=RegExp("[\\u200d"+vi+ct+Xi+"]"),ws=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ar=-1,Li={};Li[jt]=Li[nt]=Li[mt]=Li[At]=Li[Yt]=Li[jn]=Li[En]=Li[$n]=Li[ki]=!0,Li[Ce]=Li[We]=Li[Kt]=Li[gt]=Li[pt]=Li[an]=Li[Tn]=Li[Rn]=Li[Cn]=Li[ot]=Li[at]=Li[Hn]=Li[Xn]=Li[Bt]=Li[Je]=!1;var vr={};vr[Ce]=vr[We]=vr[Kt]=vr[pt]=vr[gt]=vr[an]=vr[jt]=vr[nt]=vr[mt]=vr[At]=vr[Yt]=vr[Cn]=vr[ot]=vr[at]=vr[Hn]=vr[Xn]=vr[Bt]=vr[ce]=vr[jn]=vr[En]=vr[$n]=vr[ki]=!0,vr[Tn]=vr[Rn]=vr[Je]=!1;var Cs={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Da=parseFloat,Ko=parseInt,Ao="object"==typeof global&&global&&global.Object===Object&&global,fa="object"==typeof self&&self&&self.Object===Object&&self,Ir=Ao||fa||Function("return this")(),pa=De&&!De.nodeType&&De,to=pa&&kt&&!kt.nodeType&&kt,Zs=to&&to.exports===pa,hs=Zs&&Ao.process,Do=function(){try{return to&&to.require&&to.require("util").types||hs&&hs.binding&&hs.binding("util")}catch{}}(),Xo=Do&&Do.isArrayBuffer,wo=Do&&Do.isDate,Gn=Do&&Do.isMap,es=Do&&Do.isRegExp,ma=Do&&Do.isSet,ga=Do&&Do.isTypedArray;function jr(Qe,Et,wt){switch(wt.length){case 0:return Qe.call(Et);case 1:return Qe.call(Et,wt[0]);case 2:return Qe.call(Et,wt[0],wt[1]);case 3:return Qe.call(Et,wt[0],wt[1],wt[2])}return Qe.apply(Et,wt)}function Ys(Qe,Et,wt,vn){for(var In=-1,di=null==Qe?0:Qe.length;++In-1}function Rr(Qe,Et,wt){for(var vn=-1,In=null==Qe?0:Qe.length;++vn-1;);return wt}function Us(Qe,Et){for(var wt=Qe.length;wt--&&vo(Et,Qe[wt],0)>-1;);return wt}var tl=U({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Ha=U({"&":"&","<":"<",">":">",'"':""","'":"'"});function nl(Qe){return"\\"+Cs[Qe]}function qs(Qe){return Wo.test(Qe)}function zs(Qe){var Et=-1,wt=Array(Qe.size);return Qe.forEach(function(vn,In){wt[++Et]=[In,vn]}),wt}function O(Qe,Et){return function(wt){return Qe(Et(wt))}}function _(Qe,Et){for(var wt=-1,vn=Qe.length,In=0,di=[];++wt",""":'"',"'":"'"}),An=function Qe(Et){var s,wt=(Et=null==Et?Ir:An.defaults(Ir.Object(),Et,An.pick(Ir,eo))).Array,vn=Et.Date,In=Et.Error,di=Et.Function,hi=Et.Math,bi=Et.Object,$r=Et.RegExp,br=Et.String,zi=Et.TypeError,Wr=wt.prototype,Qo=bi.prototype,Xr=Et["__core-js_shared__"],bo=di.prototype.toString,sr=Qo.hasOwnProperty,Co=0,ps=(s=/[^.]+$/.exec(Xr&&Xr.keys&&Xr.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",Jo=Qo.toString,ko=bo.call(bi),Z=Ir._,ue=$r("^"+bo.call(sr).replace(Lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=Zs?Et.Buffer:p,se=Et.Symbol,Y=Et.Uint8Array,dt=N?N.allocUnsafe:p,Tt=O(bi.getPrototypeOf,bi),wn=bi.create,kn=Qo.propertyIsEnumerable,Zn=Wr.splice,y=se?se.isConcatSpreadable:p,le=se?se.iterator:p,V=se?se.toStringTag:p,te=function(){try{var s=Oa(bi,"defineProperty");return s({},"",{}),s}catch{}}(),$e=Et.clearTimeout!==Ir.clearTimeout&&Et.clearTimeout,Ut=vn&&vn.now!==Ir.Date.now&&vn.now,dn=Et.setTimeout!==Ir.setTimeout&&Et.setTimeout,Wn=hi.ceil,xi=hi.floor,Yi=bi.getOwnPropertySymbols,Hi=N?N.isBuffer:p,Ti=Et.isFinite,Zr=Wr.join,yr=O(bi.keys,bi),Wi=hi.max,Ci=hi.min,Fn=vn.now,oi=Et.parseInt,Cr=hi.random,To=Wr.reverse,Gr=Oa(Et,"DataView"),lo=Oa(Et,"Map"),ta=Oa(Et,"Promise"),zr=Oa(Et,"Set"),xo=Oa(Et,"WeakMap"),qo=Oa(bi,"create"),Bi=xo&&new xo,Es={},Bl=Kl(Gr),is=Kl(lo),co=Kl(ta),ka=Kl(zr),Sa=Kl(xo),Ms=se?se.prototype:p,Hs=Ms?Ms.valueOf:p,gl=Ms?Ms.toString:p;function Ae(s){if(Ho(s)&&!pr(s)&&!(s instanceof ur)){if(s instanceof Ai)return s;if(sr.call(s,"__wrapped__"))return Xl(s)}return new Ai(s)}var na=function(){function s(){}return function(l){if(!No(l))return{};if(wn)return wn(l);s.prototype=l;var g=new s;return s.prototype=p,g}}();function ia(){}function Ai(s,l){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=p}function ur(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=fe,this.__views__=[]}function Bo(s){var l=-1,g=null==s?0:s.length;for(this.clear();++l=l?s:l)),s}function Ds(s,l,g,H,_e,ze){var ht,Dt=1&l,Ht=2&l,Sn=4&l;if(g&&(ht=_e?g(s,H,_e,ze):g(s)),ht!==p)return ht;if(!No(s))return s;var Dn=pr(s);if(Dn){if(ht=function rg(s){var l=s.length,g=new s.constructor(l);return l&&"string"==typeof s[0]&&sr.call(s,"index")&&(g.index=s.index,g.input=s.input),g}(s),!Dt)return pi(s,ht)}else{var Nn=bs(s),ci=Nn==Rn||Nn==ii;if(Al(s))return fr(s,Dt);if(Nn==at||Nn==Ce||ci&&!_e){if(ht=Ht||ci?{}:oh(s),!Dt)return Ht?function Uo(s,l){return Di(s,rh(s),l)}(s,function sl(s,l){return s&&Di(l,da(l),s)}(ht,s)):function kr(s,l){return Di(s,ih(s),l)}(s,La(ht,s))}else{if(!vr[Nn])return _e?s:{};ht=function sh(s,l,g){var H=s.constructor;switch(l){case Kt:return Lr(s);case gt:case an:return new H(+s);case pt:return function aa(s,l){var g=l?Lr(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.byteLength)}(s,g);case jt:case nt:case mt:case At:case Yt:case jn:case En:case $n:case ki:return Ts(s,g);case Cn:return new H;case ot:case Bt:return new H(s);case Hn:return function vs(s){var l=new s.constructor(s.source,Ft.exec(s));return l.lastIndex=s.lastIndex,l}(s);case Xn:return new H;case ce:return function El(s){return Hs?bi(Hs.call(s)):{}}(s)}}(s,Nn,Dt)}}ze||(ze=new T);var Ii=ze.get(s);if(Ii)return Ii;ze.set(s,ht),Nh(s)?s.forEach(function(Ri){ht.add(Ds(Ri,l,g,Ri,s,ze))}):Qd(s)&&s.forEach(function(Ri,Tr){ht.set(Tr,Ds(Ri,l,g,Tr,s,ze))});var Er=Dn?p:(Sn?Ht?nh:Rd:Ht?da:Os)(s);return ho(Er||s,function(Ri,Tr){Er&&(Ri=s[Tr=Ri]),io(ht,Tr,Ds(Ri,l,g,Tr,s,ze))}),ht}function sc(s,l,g){var H=g.length;if(null==s)return!H;for(s=bi(s);H--;){var _e=g[H],ht=s[_e];if(ht===p&&!(_e in s)||!(0,l[_e])(ht))return!1}return!0}function ac(s,l,g){if("function"!=typeof s)throw new zi(ee);return Kc(function(){s.apply(p,g)},l)}function Hl(s,l,g,H){var _e=-1,ze=_o,ht=!0,Dt=s.length,Ht=[],Sn=l.length;if(!Dt)return Ht;g&&(l=Nr(l,wr(g))),H?(ze=Rr,ht=!1):l.length>=200&&(ze=js,ht=!1,l=new Fa(l));e:for(;++_e-1},ms.prototype.set=function Ul(s,l){var g=this.__data__,H=Na(g,s);return H<0?(++this.size,g.push([s,l])):g[H][1]=l,this},gs.prototype.clear=function yl(){this.size=0,this.__data__={hash:new Bo,map:new(lo||ms),string:new Bo}},gs.prototype.delete=function Ed(s){var l=$c(this,s).delete(s);return this.size-=l?1:0,l},gs.prototype.get=function zl(s){return $c(this,s).get(s)},gs.prototype.has=function zu(s){return $c(this,s).has(s)},gs.prototype.set=function Md(s,l){var g=$c(this,s),H=g.size;return g.set(s,l),this.size+=g.size==H?0:1,this},Fa.prototype.add=Fa.prototype.push=function Dd(s){return this.__data__.set(s,B),this},Fa.prototype.has=function v(s){return this.__data__.has(s)},T.prototype.clear=function w(){this.__data__=new ms,this.size=0},T.prototype.delete=function k(s){var l=this.__data__,g=l.delete(s);return this.size=l.size,g},T.prototype.get=function ie(s){return this.__data__.get(s)},T.prototype.has=function Ne(s){return this.__data__.has(s)},T.prototype.set=function ut(s,l){var g=this.__data__;if(g instanceof ms){var H=g.__data__;if(!lo||H.length<199)return H.push([s,l]),this.size=++g.size,this;g=this.__data__=new gs(H)}return g.set(s,l),this.size=g.size,this};var jo=Ks(Yr),Ic=Ks(Pc,!0);function Sd(s,l){var g=!0;return jo(s,function(H,_e,ze){return g=!!l(H,_e,ze)}),g}function $a(s,l,g){for(var H=-1,_e=s.length;++H<_e;){var ze=s[H],ht=l(ze);if(null!=ht&&(Dt===p?ht==ht&&!wa(ht):g(ht,Dt)))var Dt=ht,Ht=ze}return Ht}function Td(s,l){var g=[];return jo(s,function(H,_e,ze){l(H,_e,ze)&&g.push(H)}),g}function er(s,l,g,H,_e){var ze=-1,ht=s.length;for(g||(g=Xf),_e||(_e=[]);++ze0&&g(Dt)?l>1?er(Dt,l-1,g,H,_e):Ro(_e,Dt):H||(_e[_e.length]=Dt)}return _e}var Cl=po(),ss=po(!0);function Yr(s,l){return s&&Cl(s,l,Os)}function Pc(s,l){return s&&ss(s,l,Os)}function Wa(s,l){return Ur(l,function(g){return qa(s[g])})}function $s(s,l){for(var g=0,H=(l=Vn(l,s)).length;null!=s&&gl}function $u(s,l){return null!=s&&sr.call(s,l)}function Fs(s,l){return null!=s&&l in bi(s)}function Ac(s,l,g){for(var H=g?Rr:_o,_e=s[0].length,ze=s.length,ht=ze,Dt=wt(ze),Ht=1/0,Sn=[];ht--;){var Dn=s[ht];ht&&l&&(Dn=Nr(Dn,wr(l))),Ht=Ci(Dn.length,Ht),Dt[ht]=!g&&(l||_e>=120&&Dn.length>=120)?new Fa(ht&&Dn):p}Dn=s[0];var Nn=-1,ci=Dt[0];e:for(;++Nn<_e&&Sn.length=Dt?Ht:Ht*("desc"==g[H]?-1:1)}return s.index-l.index}(ze,ht,g)})}function Vc(s,l,g){for(var H=-1,_e=l.length,ze={};++H<_e;){var ht=l[H],Dt=$s(s,ht);g(Dt,ht)&&xl(ze,Vn(ht,s),Dt)}return ze}function sa(s,l,g,H){var _e=H?Qs:vo,ze=-1,ht=l.length,Dt=s;for(s===l&&(l=pi(l)),g&&(Dt=Nr(s,wr(g)));++ze-1;)Dt!==s&&Zn.call(Dt,Ht,1),Zn.call(s,Ht,1);return s}function uc(s,l){for(var g=s?l.length:0,H=g-1;g--;){var _e=l[g];if(g==H||_e!==ze){var ze=_e;ll(_e)?Zn.call(s,_e,1):Vt(s,_e)}}return s}function Wl(s,l){return s+xi(Cr()*(l-s+1))}function Id(s,l){var g="";if(!s||l<1||l>Be)return g;do{l%2&&(g+=s),(l=xi(l/2))&&(s+=s)}while(l);return g}function _r(s,l){return dh(ag(s,l,Ns),s+"")}function Ss(s){return Wt(tc(s))}function ja(s,l){var g=tc(s);return Ld(g,os(l,0,g.length))}function xl(s,l,g,H){if(!No(s))return s;for(var _e=-1,ze=(l=Vn(l,s)).length,ht=ze-1,Dt=s;null!=Dt&&++_e_e?0:_e+l),(g=g>_e?_e:g)<0&&(g+=_e),_e=l>g?0:g-l>>>0,l>>>=0;for(var ze=wt(_e);++H<_e;)ze[H]=s[H+l];return ze}function C(s,l){var g;return jo(s,function(H,_e,ze){return!(g=l(H,_e,ze))}),!!g}function z(s,l,g){var H=0,_e=null==s?H:s.length;if("number"==typeof l&&l==l&&_e<=2147483647){for(;H<_e;){var ze=H+_e>>>1,ht=s[ze];null!==ht&&!wa(ht)&&(g?ht<=l:ht=200){var Sn=l?null:ng(s);if(Sn)return S(Sn);ht=!1,_e=js,Ht=new Fa}else Ht=l?[]:Dt;e:for(;++H=H?s:h(s,l,g)}var hr=$e||function(s){return Ir.clearTimeout(s)};function fr(s,l){if(l)return s.slice();var g=s.length,H=dt?dt(g):new s.constructor(g);return s.copy(H),H}function Lr(s){var l=new s.constructor(s.byteLength);return new Y(l).set(new Y(s)),l}function Ts(s,l){var g=l?Lr(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.length)}function Ws(s,l){if(s!==l){var g=s!==p,H=null===s,_e=s==s,ze=wa(s),ht=l!==p,Dt=null===l,Ht=l==l,Sn=wa(l);if(!Dt&&!Sn&&!ze&&s>l||ze&&ht&&Ht&&!Dt&&!Sn||H&&ht&&Ht||!g&&Ht||!_e)return 1;if(!H&&!ze&&!Sn&&s1?g[_e-1]:p,ht=_e>2?g[2]:p;for(ze=s.length>3&&"function"==typeof ze?(_e--,ze):p,ht&&Xs(g[0],g[1],ht)&&(ze=_e<3?p:ze,_e=1),l=bi(l);++H<_e;){var Dt=g[H];Dt&&s(l,Dt,H,ze)}return l})}function Ks(s,l){return function(g,H){if(null==g)return g;if(!ca(g))return s(g,H);for(var _e=g.length,ze=l?_e:-1,ht=bi(g);(l?ze--:++ze<_e)&&!1!==H(ht[ze],ze,ht););return g}}function po(s){return function(l,g,H){for(var _e=-1,ze=bi(l),ht=H(l),Dt=ht.length;Dt--;){var Ht=ht[s?Dt:++_e];if(!1===g(ze[Ht],Ht,ze))break}return l}}function Ad(s){return function(l){var g=qs(l=Jr(l))?Pt(l):p,H=g?g[0]:l.charAt(0),_e=g?Kn(g,1).join(""):l.slice(1);return H[s]()+_e}}function Oo(s){return function(l){return ao(Qh(ru(l).replace(ro,"")),s,"")}}function va(s){return function(){var l=arguments;switch(l.length){case 0:return new s;case 1:return new s(l[0]);case 2:return new s(l[0],l[1]);case 3:return new s(l[0],l[1],l[2]);case 4:return new s(l[0],l[1],l[2],l[3]);case 5:return new s(l[0],l[1],l[2],l[3],l[4]);case 6:return new s(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new s(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var g=na(s.prototype),H=s.apply(g,l);return No(H)?H:g}}function fc(s){return function(l,g,H){var _e=bi(l);if(!ca(l)){var ze=Ui(g,3);l=Os(l),g=function(Dt){return ze(_e[Dt],Dt,_e)}}var ht=s(l,g,H);return ht>-1?_e[ze?l[ht]:ht]:p}}function Dl(s){return Za(function(l){var g=l.length,H=g,_e=Ai.prototype.thru;for(s&&l.reverse();H--;){var ze=l[H];if("function"!=typeof ze)throw new zi(ee);if(_e&&!ht&&"wrapper"==Ya(ze))var ht=new Ai([],!0)}for(H=ht?H:g;++H1&&Br.reverse(),Dn&&HtDt))return!1;var Sn=ze.get(s),Dn=ze.get(l);if(Sn&&Dn)return Sn==l&&Dn==s;var Nn=-1,ci=!0,Ii=2&g?new Fa:p;for(ze.set(s,l),ze.set(l,s);++Nn-1&&s%1==0&&s1?"& ":"")+l[H],l=l.join(g>2?", ":" "),s.replace(mn,"{\n/* [wrapped with "+l+"] */\n")}(H,function cg(s,l){return ho(qe,function(g){var H="_."+g[0];l&g[1]&&!_o(s,H)&&s.push(H)}),s.sort()}(function Kf(s){var l=s.match(_i);return l?l[1].split(tr):[]}(H),g)))}function lg(s){var l=0,g=0;return function(){var H=Fn(),_e=16-(H-g);if(g=H,_e>0){if(++l>=800)return arguments[0]}else l=0;return s.apply(p,arguments)}}function Ld(s,l){var g=-1,H=s.length,_e=H-1;for(l=l===p?H:l;++g1?s[l-1]:p;return g="function"==typeof g?(s.pop(),g):p,Og(s,g)});function zd(s){var l=Ae(s);return l.__chain__=!0,l}function Hd(s,l){return l(s)}var Rg=Za(function(s){var l=s.length,g=l?s[0]:0,H=this.__wrapped__,_e=function(ze){return Oc(ze,s)};return!(l>1||this.__actions__.length)&&H instanceof ur&&ll(g)?((H=H.slice(g,+g+(l?1:0))).__actions__.push({func:Hd,args:[_e],thisArg:p}),new Ai(H,this.__chain__).thru(function(ze){return l&&!ze.length&&ze.push(p),ze})):this.thru(_e)}),yh=Gs(function(s,l,g){sr.call(s,g)?++s[g]:Vo(s,g,1)}),Ch=fc(Yc),qc=fc(Qc);function Gd(s,l){return(pr(s)?ho:jo)(s,Ui(l,3))}function ed(s,l){return(pr(s)?_a:Ic)(s,Ui(l,3))}var P0=Gs(function(s,l,g){sr.call(s,g)?s[g].push(l):Vo(s,g,[l])}),td=_r(function(s,l,g){var H=-1,_e="function"==typeof l,ze=ca(s)?wt(s.length):[];return jo(s,function(ht){ze[++H]=_e?jr(l,ht,g):Ga(ht,l,g)}),ze}),Lg=Gs(function(s,l,g){Vo(s,g,l)});function nd(s,l){return(pr(s)?Nr:Yu)(s,Ui(l,3))}var Vg=Gs(function(s,l,g){s[g?0:1].push(l)},function(){return[[],[]]}),A0=_r(function(s,l){if(null==s)return[];var g=l.length;return g>1&&Xs(s,l[0],l[1])?l=[]:g>2&&Xs(l[0],l[1],l[2])&&(l=[l[0]]),Bc(s,er(l,1),[])}),Sh=Ut||function(){return Ir.Date.now()};function Cp(s,l,g){return l=g?p:l,Ua(s,128,p,p,p,p,l=s&&null==l?s.length:l)}function od(s,l){var g;if("function"!=typeof l)throw new zi(ee);return s=mr(s),function(){return--s>0&&(g=l.apply(this,arguments)),s<=1&&(l=p),g}}var sd=_r(function(s,l,g){var H=1;if(g.length){var _e=_(g,mc(sd));H|=32}return Ua(s,H,l,g,_e)}),xp=_r(function(s,l,g){var H=3;if(g.length){var _e=_(g,mc(xp));H|=32}return Ua(l,H,s,g,_e)});function ad(s,l,g){var H,_e,ze,ht,Dt,Ht,Sn=0,Dn=!1,Nn=!1,ci=!0;if("function"!=typeof s)throw new zi(ee);function Ii(Eo){var Ea=H,Fl=_e;return H=_e=p,Sn=Eo,ht=s.apply(Fl,Ea)}function Ri(Eo){var Ea=Eo-Ht;return Ht===p||Ea>=l||Ea<0||Nn&&Eo-Sn>=ze}function Tr(){var Eo=Sh();if(Ri(Eo))return Br(Eo);Dt=Kc(Tr,function Er(Eo){var af=l-(Eo-Ht);return Nn?Ci(af,ze-(Eo-Sn)):af}(Eo))}function Br(Eo){return Dt=p,ci&&H?Ii(Eo):(H=_e=p,ht)}function ha(){var Eo=Sh(),Ea=Ri(Eo);if(H=arguments,_e=this,Ht=Eo,Ea){if(Dt===p)return function Ki(Eo){return Sn=Eo,Dt=Kc(Tr,l),Dn?Ii(Eo):ht}(Ht);if(Nn)return hr(Dt),Dt=Kc(Tr,l),Ii(Ht)}return Dt===p&&(Dt=Kc(Tr,l)),ht}return l=Ia(l)||0,No(g)&&(Dn=!!g.leading,ze=(Nn="maxWait"in g)?Wi(Ia(g.maxWait)||0,l):ze,ci="trailing"in g?!!g.trailing:ci),ha.cancel=function xa(){Dt!==p&&hr(Dt),Sn=0,H=Ht=_e=Dt=p},ha.flush=function Ls(){return Dt===p?ht:Br(Sh())},ha}var Xd=_r(function(s,l){return ac(s,1,l)}),Ep=_r(function(s,l,g){return ac(s,Ia(l)||0,g)});function ld(s,l){if("function"!=typeof s||null!=l&&"function"!=typeof l)throw new zi(ee);var g=function(){var H=arguments,_e=l?l.apply(this,H):H[0],ze=g.cache;if(ze.has(_e))return ze.get(_e);var ht=s.apply(this,H);return g.cache=ze.set(_e,ht)||ze,ht};return g.cache=new(ld.Cache||gs),g}function Zl(s){if("function"!=typeof s)throw new zi(ee);return function(){var l=arguments;switch(l.length){case 0:return!s.call(this);case 1:return!s.call(this,l[0]);case 2:return!s.call(this,l[0],l[1]);case 3:return!s.call(this,l[0],l[1],l[2])}return!s.apply(this,l)}}ld.Cache=gs;var vc=ui(function(s,l){var g=(l=1==l.length&&pr(l[0])?Nr(l[0],wr(Ui())):Nr(er(l,1),wr(Ui()))).length;return _r(function(H){for(var _e=-1,ze=Ci(H.length,g);++_e=l}),Ql=kc(function(){return arguments}())?kc:function(s){return Ho(s)&&sr.call(s,"callee")&&!kn.call(s,"callee")},pr=wt.isArray,Zg=Xo?wr(Xo):function cc(s){return Ho(s)&&_s(s)==Kt};function ca(s){return null!=s&&Rh(s.length)&&!qa(s)}function zo(s){return Ho(s)&&ca(s)}var Al=Hi||pd,Yg=wo?wr(wo):function al(s){return Ho(s)&&_s(s)==an};function Jl(s){if(!Ho(s))return!1;var l=_s(s);return l==Tn||"[object DOMException]"==l||"string"==typeof s.message&&"string"==typeof s.name&&!cd(s)}function qa(s){if(!No(s))return!1;var l=_s(s);return l==Rn||l==ii||"[object AsyncFunction]"==l||"[object Proxy]"==l}function Ah(s){return"number"==typeof s&&s==mr(s)}function Rh(s){return"number"==typeof s&&s>-1&&s%1==0&&s<=Be}function No(s){var l=typeof s;return null!=s&&("object"==l||"function"==l)}function Ho(s){return null!=s&&"object"==typeof s}var Qd=Gn?wr(Gn):function Gi(s){return Ho(s)&&bs(s)==Cn};function Rp(s){return"number"==typeof s||Ho(s)&&_s(s)==ot}function cd(s){if(!Ho(s)||_s(s)!=at)return!1;var l=Tt(s);if(null===l)return!0;var g=sr.call(l,"constructor")&&l.constructor;return"function"==typeof g&&g instanceof g&&bo.call(g)==ko}var Fh=es?wr(es):function Gu(s){return Ho(s)&&_s(s)==Hn},Nh=ma?wr(ma):function Ku(s){return Ho(s)&&bs(s)==Xn};function Jd(s){return"string"==typeof s||!pr(s)&&Ho(s)&&_s(s)==Bt}function wa(s){return"symbol"==typeof s||Ho(s)&&_s(s)==ce}var ql=ga?wr(ga):function Xu(s){return Ho(s)&&Rh(s.length)&&!!Li[_s(s)]},t_=Uc(Nc),ec=Uc(function(s,l){return s<=l});function Bh(s){if(!s)return[];if(ca(s))return Jd(s)?Pt(s):pi(s);if(le&&s[le])return function rl(Qe){for(var Et,wt=[];!(Et=Qe.next()).done;)wt.push(Et.value);return wt}(s[le]());var l=bs(s);return(l==Cn?zs:l==Xn?S:tc)(s)}function ul(s){return s?(s=Ia(s))===be||s===-be?17976931348623157e292*(s<0?-1:1):s==s?s:0:0===s?s:0}function mr(s){var l=ul(s),g=l%1;return l==l?g?l-g:l:0}function eu(s){return s?os(mr(s),0,fe):0}function Ia(s){if("number"==typeof s)return s;if(wa(s))return NaN;if(No(s)){var l="function"==typeof s.valueOf?s.valueOf():s;s=No(l)?l+"":l}if("string"!=typeof s)return 0===s?s:+s;s=fs(s);var g=qn.test(s);return g||nr.test(s)?Ko(s.slice(2),g?2:8):Rt.test(s)?NaN:+s}function Np(s){return Di(s,da(s))}function Jr(s){return null==s?"":Ge(s)}var Lp=yo(function(s,l){if(Gc(l)||ca(l))Di(l,Os(l),s);else for(var g in l)sr.call(l,g)&&io(s,g,l[g])}),i_=yo(function(s,l){Di(l,da(l),s)}),Vh=yo(function(s,l,g,H){Di(l,da(l),s,H)}),dd=yo(function(s,l,g,H){Di(l,Os(l),s,H)}),r_=Za(Oc),s_=_r(function(s,l){s=bi(s);var g=-1,H=l.length,_e=H>2?l[2]:p;for(_e&&Xs(l[0],l[1],_e)&&(H=1);++g1),ze}),Di(s,nh(s),g),H&&(g=Ds(g,7,th));for(var _e=l.length;_e--;)Vt(g,l[_e]);return g}),Hp=Za(function(s,l){return null==s?{}:function Qr(s,l){return Vc(s,l,function(g,H){return jp(s,H)})}(s,l)});function $h(s,l){if(null==s)return{};var g=Nr(nh(s),function(H){return[H]});return l=Ui(l),Vc(s,g,function(H,_e){return l(H,_e[0])})}var Wh=zc(Os),f_=zc(da);function tc(s){return null==s?[]:ts(s,Os(s))}var m_=Oo(function(s,l,g){return l=l.toLowerCase(),s+(g?nc(l):l)});function nc(s){return lu(Jr(s).toLowerCase())}function ru(s){return(s=Jr(s))&&s.replace(lr,tl).replace(Lo,"")}var g_=Oo(function(s,l,g){return s+(g?"-":"")+l.toLowerCase()}),__=Oo(function(s,l,g){return s+(g?" ":"")+l.toLowerCase()}),Gp=Ad("toLowerCase"),Zh=Oo(function(s,l,g){return s+(g?"_":"")+l.toLowerCase()}),C_=Oo(function(s,l,g){return s+(g?" ":"")+lu(l)}),Qp=Oo(function(s,l,g){return s+(g?" ":"")+l.toUpperCase()}),lu=Ad("toUpperCase");function Qh(s,l,g){return s=Jr(s),(l=g?p:l)===p?function ea(Qe){return ws.test(Qe)}(s)?function Mn(Qe){return Qe.match($o)||[]}(s):function Zo(Qe){return Qe.match(ir)||[]}(s):s.match(l)||[]}var cu=_r(function(s,l){try{return jr(s,p,l)}catch(g){return Jl(g)?g:new In(g)}}),Jp=Za(function(s,l){return ho(l,function(g){g=Qa(g),Vo(s,g,sd(s[g],s))}),s});function uu(s){return function(){return s}}var fd=Dl(),qp=Dl(!0);function Ns(s){return s}function wc(s){return Fc("function"==typeof s?s:Ds(s,1))}var D_=_r(function(s,l){return function(g){return Ga(g,s,l)}}),S_=_r(function(s,l){return function(g){return Ga(s,g,l)}});function qh(s,l,g){var H=Os(l),_e=Wa(l,H);null==g&&(!No(l)||!_e.length&&H.length)&&(g=l,l=s,s=this,_e=Wa(l,Os(l)));var ze=!(No(g)&&"chain"in g&&!g.chain),ht=qa(s);return ho(_e,function(Dt){var Ht=l[Dt];s[Dt]=Ht,ht&&(s.prototype[Dt]=function(){var Sn=this.__chain__;if(ze||Sn){var Dn=s(this.__wrapped__);return(Dn.__actions__=pi(this.__actions__)).push({func:Ht,args:arguments,thisArg:s}),Dn.__chain__=Sn,Dn}return Ht.apply(s,Ro([this.value()],arguments))})}),s}function hu(){}var nm=jc(Nr),im=jc(xs),Cc=jc(So);function ef(s){return ah(s)?ae(Qa(s)):function $l(s){return function(l){return $s(l,s)}}(s)}var T_=qu(),fu=qu(!0);function kl(){return[]}function pd(){return!1}var sf=Tl(function(s,l){return s+l},0),O_=Ta("ceil"),I_=Tl(function(s,l){return s/l},1),P_=Ta("floor"),cm=Tl(function(s,l){return s*l},1),N_=Ta("round"),L_=Tl(function(s,l){return s-l},0);return Ae.after=function rd(s,l){if("function"!=typeof l)throw new zi(ee);return s=mr(s),function(){if(--s<1)return l.apply(this,arguments)}},Ae.ary=Cp,Ae.assign=Lp,Ae.assignIn=i_,Ae.assignInWith=Vh,Ae.assignWith=dd,Ae.at=r_,Ae.before=od,Ae.bind=sd,Ae.bindAll=Jp,Ae.bindKey=xp,Ae.castArray=function Yl(){if(!arguments.length)return[];var s=arguments[0];return pr(s)?s:[s]},Ae.chain=zd,Ae.chunk=function Xc(s,l,g){l=(g?Xs(s,l,g):l===p)?1:Wi(mr(l),0);var H=null==s?0:s.length;if(!H||l<1)return[];for(var _e=0,ze=0,ht=wt(Wn(H/l));_e_e?0:_e+g),(H=H===p||H>_e?_e:mr(H))<0&&(H+=_e),H=g>H?0:eu(H);g>>0)?(s=Jr(s))&&("string"==typeof l||null!=l&&!Fh(l))&&!(l=Ge(l))&&qs(s)?Kn(Pt(s),0,g):s.split(l,g):[]},Ae.spread=function Ph(s,l){if("function"!=typeof s)throw new zi(ee);return l=null==l?0:Wi(mr(l),0),_r(function(g){var H=g[l],_e=Kn(g,0,l);return H&&Ro(_e,H),jr(s,this,_e)})},Ae.tail=function hp(s){var l=null==s?0:s.length;return l?h(s,1,l):[]},Ae.take=function fp(s,l,g){return s&&s.length?h(s,0,(l=g||l===p?1:mr(l))<0?0:l):[]},Ae.takeRight=function pp(s,l,g){var H=null==s?0:s.length;return H?h(s,(l=H-(l=g||l===p?1:mr(l)))<0?0:l,H):[]},Ae.takeRightWhile=function Eg(s,l){return s&&s.length?cn(s,Ui(l,3),!1,!0):[]},Ae.takeWhile=function Mg(s,l){return s&&s.length?cn(s,Ui(l,3)):[]},Ae.tap=function T0(s,l){return l(s),s},Ae.throttle=function Sp(s,l,g){var H=!0,_e=!0;if("function"!=typeof s)throw new zi(ee);return No(g)&&(H="leading"in g?!!g.leading:H,_e="trailing"in g?!!g.trailing:_e),ad(s,l,{leading:H,maxWait:l,trailing:_e})},Ae.thru=Hd,Ae.toArray=Bh,Ae.toPairs=Wh,Ae.toPairsIn=f_,Ae.toPath=function rf(s){return pr(s)?Nr(s,Qa):wa(s)?[s]:pi(hh(Jr(s)))},Ae.toPlainObject=Np,Ae.transform=function p_(s,l,g){var H=pr(s),_e=H||Al(s)||ql(s);if(l=Ui(l,4),null==g){var ze=s&&s.constructor;g=_e?H?new ze:[]:No(s)&&qa(ze)?na(Tt(s)):{}}return(_e?ho:Yr)(s,function(ht,Dt,Ht){return l(g,ht,Dt,Ht)}),g},Ae.unary=function Tp(s){return Cp(s,1)},Ae.union=Dg,Ae.unionBy=Sg,Ae.unionWith=mp,Ae.uniq=function S0(s){return s&&s.length?Ot(s):[]},Ae.uniqBy=function gp(s,l){return s&&s.length?Ot(s,Ui(l,2)):[]},Ae.uniqWith=function Tg(s,l){return l="function"==typeof l?l:p,s&&s.length?Ot(s,p,l):[]},Ae.unset=function j0(s,l){return null==s||Vt(s,l)},Ae.unzip=_h,Ae.unzipWith=Og,Ae.update=function U0(s,l,g){return null==s?s:ln(s,l,gi(g))},Ae.updateWith=function $p(s,l,g,H){return H="function"==typeof H?H:p,null==s?s:ln(s,l,gi(g),H)},Ae.values=tc,Ae.valuesIn=function z0(s){return null==s?[]:ts(s,da(s))},Ae.without=Ig,Ae.words=Qh,Ae.wrap=function Op(s,l){return Ih(gi(l),s)},Ae.xor=_p,Ae.xorBy=vh,Ae.xorWith=Pg,Ae.zip=Pl,Ae.zipObject=function vp(s,l){return Yn(s||[],l||[],io)},Ae.zipObjectDeep=function Ag(s,l){return Yn(s||[],l||[],xl)},Ae.zipWith=bp,Ae.entries=Wh,Ae.entriesIn=f_,Ae.extend=i_,Ae.extendWith=Vh,qh(Ae,Ae),Ae.add=sf,Ae.attempt=cu,Ae.camelCase=m_,Ae.capitalize=nc,Ae.ceil=O_,Ae.clamp=function iu(s,l,g){return g===p&&(g=l,l=p),g!==p&&(g=(g=Ia(g))==g?g:0),l!==p&&(l=(l=Ia(l))==l?l:0),os(Ia(s),l,g)},Ae.clone=function Hg(s){return Ds(s,4)},Ae.cloneDeep=function Wg(s){return Ds(s,5)},Ae.cloneDeepWith=function Gg(s,l){return Ds(s,5,l="function"==typeof l?l:p)},Ae.cloneWith=function $g(s,l){return Ds(s,4,l="function"==typeof l?l:p)},Ae.conformsTo=function Kg(s,l){return null==l||sc(s,l,Os(l))},Ae.deburr=ru,Ae.defaultTo=function Jh(s,l){return null==s||s!=s?l:s},Ae.divide=I_,Ae.endsWith=function Wp(s,l,g){s=Jr(s),l=Ge(l);var H=s.length,_e=g=g===p?H:os(mr(g),0,H);return(g-=l.length)>=0&&s.slice(g,_e)==l},Ae.eq=ls,Ae.escape=function Xh(s){return(s=Jr(s))&&Ee.test(s)?s.replace(Zt,Ha):s},Ae.escapeRegExp=function ou(s){return(s=Jr(s))&&Mt.test(s)?s.replace(Lt,"\\$&"):s},Ae.every=function gc(s,l,g){var H=pr(s)?xs:Sd;return g&&Xs(s,l,g)&&(l=p),H(s,Ui(l,3))},Ae.find=Ch,Ae.findIndex=Yc,Ae.findKey=function a_(s,l){return Vs(s,Ui(l,3),Yr)},Ae.findLast=qc,Ae.findLastIndex=Qc,Ae.findLastKey=function l_(s,l){return Vs(s,Ui(l,3),Pc)},Ae.floor=P_,Ae.forEach=Gd,Ae.forEachRight=ed,Ae.forIn=function c_(s,l){return null==s?s:Cl(s,Ui(l,3),da)},Ae.forInRight=function d_(s,l){return null==s?s:ss(s,Ui(l,3),da)},Ae.forOwn=function u_(s,l){return s&&Yr(s,Ui(l,3))},Ae.forOwnRight=function h_(s,l){return s&&Pc(s,Ui(l,3))},Ae.get=Vp,Ae.gt=bc,Ae.gte=Xg,Ae.has=function Uh(s,l){return null!=s&&Wc(s,l,$u)},Ae.hasIn=jp,Ae.head=ph,Ae.identity=Ns,Ae.includes=function Eh(s,l,g,H){s=ca(s)?s:tc(s),g=g&&!H?mr(g):0;var _e=s.length;return g<0&&(g=Wi(_e+g,0)),Jd(s)?g<=_e&&s.indexOf(l,g)>-1:!!_e&&vo(s,l,g)>-1},Ae.indexOf=function gg(s,l,g){var H=null==s?0:s.length;if(!H)return-1;var _e=null==g?0:mr(g);return _e<0&&(_e=Wi(H+_e,0)),vo(s,l,_e)},Ae.inRange=function Gh(s,l,g){return l=ul(l),g===p?(g=l,l=0):g=ul(g),function lc(s,l,g){return s>=Ci(l,g)&&s=-Be&&s<=Be},Ae.isSet=Nh,Ae.isString=Jd,Ae.isSymbol=wa,Ae.isTypedArray=ql,Ae.isUndefined=function qd(s){return s===p},Ae.isWeakMap=function Fp(s){return Ho(s)&&bs(s)==Je},Ae.isWeakSet=function Lh(s){return Ho(s)&&"[object WeakSet]"==_s(s)},Ae.join=function gh(s,l){return null==s?"":Zr.call(s,l)},Ae.kebabCase=g_,Ae.last=uo,Ae.lastIndexOf=function Jc(s,l,g){var H=null==s?0:s.length;if(!H)return-1;var _e=H;return g!==p&&(_e=(_e=mr(g))<0?Wi(H+_e,0):Ci(_e,H-1)),l==l?function Te(Qe,Et,wt){for(var vn=wt+1;vn--;)if(Qe[vn]===Et)return vn;return vn}(s,l,_e):no(s,Rs,_e,!0)},Ae.lowerCase=__,Ae.lowerFirst=Gp,Ae.lt=t_,Ae.lte=ec,Ae.max=function am(s){return s&&s.length?$a(s,Ns,Ba):p},Ae.maxBy=function A_(s,l){return s&&s.length?$a(s,Ui(l,2),Ba):p},Ae.mean=function R_(s){return ne(s,Ns)},Ae.meanBy=function k_(s,l){return ne(s,Ui(l,2))},Ae.min=function F_(s){return s&&s.length?$a(s,Ns,Nc):p},Ae.minBy=function lm(s,l){return s&&s.length?$a(s,Ui(l,2),Nc):p},Ae.stubArray=kl,Ae.stubFalse=pd,Ae.stubObject=function md(){return{}},Ae.stubString=function om(){return""},Ae.stubTrue=function tf(){return!0},Ae.multiply=cm,Ae.nth=function ip(s,l){return s&&s.length?Lc(s,mr(l)):p},Ae.noConflict=function tm(){return Ir._===this&&(Ir._=Z),this},Ae.noop=hu,Ae.now=Sh,Ae.pad=function v_(s,l,g){s=Jr(s);var H=(l=mr(l))?lt(s):0;if(!l||H>=l)return s;var _e=(l-H)/2;return Gl(xi(_e),g)+s+Gl(Wn(_e),g)},Ae.padEnd=function b_(s,l,g){s=Jr(s);var H=(l=mr(l))?lt(s):0;return l&&Hl){var H=s;s=l,l=H}if(g||s%1||l%1){var _e=Cr();return Ci(s+_e*(l-s+Da("1e-"+((_e+"").length-1))),l)}return Wl(s,l)},Ae.reduce=function Mh(s,l,g){var H=pr(s)?ao:Fe,_e=arguments.length<3;return H(s,Ui(l,4),g,_e,jo)},Ae.reduceRight=function yp(s,l,g){var H=pr(s)?or:Fe,_e=arguments.length<3;return H(s,Ui(l,4),g,_e,Ic)},Ae.repeat=function ud(s,l,g){return l=(g?Xs(s,l,g):l===p)?1:mr(l),Id(Jr(s),l)},Ae.replace=function su(){var s=arguments,l=Jr(s[0]);return s.length<3?l:l.replace(s[1],s[2])},Ae.result=function yc(s,l,g){var H=-1,_e=(l=Vn(l,s)).length;for(_e||(_e=1,s=p);++H<_e;){var ze=null==s?p:s[Qa(l[H])];ze===p&&(H=_e,ze=g),s=qa(ze)?ze.call(s):ze}return s},Ae.round=N_,Ae.runInContext=Qe,Ae.sample=function Ug(s){return(pr(s)?Wt:Ss)(s)},Ae.size=function Dh(s){if(null==s)return 0;if(ca(s))return Jd(s)?lt(s):s.length;var l=bs(s);return l==Cn||l==Xn?s.size:Va(s).length},Ae.snakeCase=Zh,Ae.some=function zg(s,l,g){var H=pr(s)?So:C;return g&&Xs(s,l,g)&&(l=p),H(s,Ui(l,3))},Ae.sortedIndex=function wg(s,l){return z(s,l)},Ae.sortedIndexBy=function Cg(s,l,g){return Q(s,l,Ui(g,2))},Ae.sortedIndexOf=function xg(s,l){var g=null==s?0:s.length;if(g){var H=z(s,l);if(HBe)return[];var g=fe,H=Ci(s,fe);l=Ui(l),s-=fe;for(var _e=ji(H,l);++g=ze)return s;var Dt=g-lt(H);if(Dt<1)return H;var Ht=ht?Kn(ht,0,Dt).join(""):s.slice(0,Dt);if(_e===p)return Ht+H;if(ht&&(Dt+=Ht.length-Dt),Fh(_e)){if(s.slice(Dt).search(_e)){var Sn,Dn=Ht;for(_e.global||(_e=$r(_e.source,Jr(Ft.exec(_e))+"g")),_e.lastIndex=0;Sn=_e.exec(Dn);)var Nn=Sn.index;Ht=Ht.slice(0,Nn===p?Dt:Nn)}}else if(s.indexOf(Ge(_e),Dt)!=Dt){var ci=Ht.lastIndexOf(_e);ci>-1&&(Ht=Ht.slice(0,ci))}return Ht+H},Ae.unescape=function E_(s){return(s=Jr(s))&&He.test(s)?s.replace(Qt,en):s},Ae.uniqueId=function sm(s){var l=++Co;return Jr(s)+l},Ae.upperCase=Qp,Ae.upperFirst=lu,Ae.each=Gd,Ae.eachRight=ed,Ae.first=ph,qh(Ae,function(){var s={};return Yr(Ae,function(l,g){sr.call(Ae.prototype,g)||(s[g]=l)}),s}(),{chain:!1}),Ae.VERSION="4.17.21",ho(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){Ae[s].placeholder=Ae}),ho(["drop","take"],function(s,l){ur.prototype[s]=function(g){g=g===p?1:Wi(mr(g),0);var H=this.__filtered__&&!l?new ur(this):this.clone();return H.__filtered__?H.__takeCount__=Ci(g,H.__takeCount__):H.__views__.push({size:Ci(g,fe),type:s+(H.__dir__<0?"Right":"")}),H},ur.prototype[s+"Right"]=function(g){return this.reverse()[s](g).reverse()}}),ho(["filter","map","takeWhile"],function(s,l){var g=l+1,H=1==g||3==g;ur.prototype[s]=function(_e){var ze=this.clone();return ze.__iteratees__.push({iteratee:Ui(_e,3),type:g}),ze.__filtered__=ze.__filtered__||H,ze}}),ho(["head","last"],function(s,l){var g="take"+(l?"Right":"");ur.prototype[s]=function(){return this[g](1).value()[0]}}),ho(["initial","tail"],function(s,l){var g="drop"+(l?"":"Right");ur.prototype[s]=function(){return this.__filtered__?new ur(this):this[g](1)}}),ur.prototype.compact=function(){return this.filter(Ns)},ur.prototype.find=function(s){return this.filter(s).head()},ur.prototype.findLast=function(s){return this.reverse().find(s)},ur.prototype.invokeMap=_r(function(s,l){return"function"==typeof s?new ur(this):this.map(function(g){return Ga(g,s,l)})}),ur.prototype.reject=function(s){return this.filter(Zl(Ui(s)))},ur.prototype.slice=function(s,l){s=mr(s);var g=this;return g.__filtered__&&(s>0||l<0)?new ur(g):(s<0?g=g.takeRight(-s):s&&(g=g.drop(s)),l!==p&&(g=(l=mr(l))<0?g.dropRight(-l):g.take(l-s)),g)},ur.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},ur.prototype.toArray=function(){return this.take(fe)},Yr(ur.prototype,function(s,l){var g=/^(?:filter|find|map|reject)|While$/.test(l),H=/^(?:head|last)$/.test(l),_e=Ae[H?"take"+("last"==l?"Right":""):l],ze=H||/^find/.test(l);_e&&(Ae.prototype[l]=function(){var ht=this.__wrapped__,Dt=H?[1]:arguments,Ht=ht instanceof ur,Sn=Dt[0],Dn=Ht||pr(ht),Nn=function(Tr){var Br=_e.apply(Ae,Ro([Tr],Dt));return H&&ci?Br[0]:Br};Dn&&g&&"function"==typeof Sn&&1!=Sn.length&&(Ht=Dn=!1);var ci=this.__chain__,Ki=ze&&!ci,Er=Ht&&!this.__actions__.length;if(!ze&&Dn){ht=Er?ht:new ur(this);var Ri=s.apply(ht,Dt);return Ri.__actions__.push({func:Hd,args:[Nn],thisArg:p}),new Ai(Ri,ci)}return Ki&&Er?s.apply(this,Dt):(Ri=this.thru(Nn),Ki?H?Ri.value()[0]:Ri.value():Ri)})}),ho(["pop","push","shift","sort","splice","unshift"],function(s){var l=Wr[s],g=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",H=/^(?:pop|shift)$/.test(s);Ae.prototype[s]=function(){var _e=arguments;if(H&&!this.__chain__){var ze=this.value();return l.apply(pr(ze)?ze:[],_e)}return this[g](function(ht){return l.apply(pr(ht)?ht:[],_e)})}}),Yr(ur.prototype,function(s,l){var g=Ae[l];if(g){var H=g.name+"";sr.call(Es,H)||(Es[H]=[]),Es[H].push({name:l,func:g})}}),Es[Sl(p,2).name]=[{name:"wrapper",func:p}],ur.prototype.clone=function _l(){var s=new ur(this.__wrapped__);return s.__actions__=pi(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=pi(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=pi(this.__views__),s},ur.prototype.reverse=function ra(){if(this.__filtered__){var s=new ur(this);s.__dir__=-1,s.__filtered__=!0}else(s=this.clone()).__dir__*=-1;return s},ur.prototype.value=function Vl(){var s=this.__wrapped__.value(),l=this.__dir__,g=pr(s),H=l<0,_e=g?s.length:0,ze=function ig(s,l,g){for(var H=-1,_e=g.length;++H<_e;){var ze=g[H],ht=ze.size;switch(ze.type){case"drop":s+=ht;break;case"dropRight":l-=ht;break;case"take":l=Ci(l,s+ht);break;case"takeRight":s=Wi(s,l-ht)}}return{start:s,end:l}}(0,_e,this.__views__),ht=ze.start,Dt=ze.end,Ht=Dt-ht,Sn=H?Dt:ht-1,Dn=this.__iteratees__,Nn=Dn.length,ci=0,Ii=Ci(Ht,this.__takeCount__);if(!g||!H&&_e==Ht&&Ii==Ht)return _n(s,this.__actions__);var Ki=[];e:for(;Ht--&&ci=this.__values__.length;return{done:s,value:s?p:this.__values__[this.__index__++]}},Ae.prototype.plant=function $d(s){for(var l,g=this;g instanceof ia;){var H=Xl(g);H.__index__=0,H.__values__=p,l?_e.__wrapped__=H:l=H;var _e=H;g=g.__wrapped__}return _e.__wrapped__=s,l},Ae.prototype.reverse=function Ng(){var s=this.__wrapped__;if(s instanceof ur){var l=s;return this.__actions__.length&&(l=new ur(this)),(l=l.reverse()).__actions__.push({func:Hd,args:[jd],thisArg:p}),new Ai(l,this.__chain__)}return this.thru(jd)},Ae.prototype.toJSON=Ae.prototype.valueOf=Ae.prototype.value=function bh(){return _n(this.__wrapped__,this.__actions__)},Ae.prototype.first=Ae.prototype.head,le&&(Ae.prototype[le]=function I0(){return this}),Ae}();Ir._=An,(t=function(){return An}.call(De,u,De,kt))!==p&&(kt.exports=t)}.call(this)},4412:(kt,De,u)=>{"use strict";u.d(De,{t:()=>p});var t=u(1413);class p extends t.B{constructor(j){super(),this._value=j}get value(){return this.getValue()}_subscribe(j){const E=super._subscribe(j);return!E.closed&&j.next(this._value),E}getValue(){const{hasError:j,thrownError:E,_value:ee}=this;if(j)throw E;return this._throwIfClosed(),ee}next(j){super.next(this._value=j)}}},1985:(kt,De,u)=>{"use strict";u.d(De,{c:()=>B});var t=u(7707),p=u(8359),D=u(3494),j=u(1203),E=u(1026),ee=u(8071),G=u(9786);let B=(()=>{class A{constructor(F){F&&(this._subscribe=F)}lift(F){const L=new A;return L.source=this,L.operator=F,L}subscribe(F,L,de){const re=function I(A){return A&&A instanceof t.vU||function P(A){return A&&(0,ee.T)(A.next)&&(0,ee.T)(A.error)&&(0,ee.T)(A.complete)}(A)&&(0,p.Uv)(A)}(F)?F:new t.Ms(F,L,de);return(0,G.Y)(()=>{const{operator:me,source:Se}=this;re.add(me?me.call(re,Se):Se?this._subscribe(re):this._trySubscribe(re))}),re}_trySubscribe(F){try{return this._subscribe(F)}catch(L){F.error(L)}}forEach(F,L){return new(L=R(L))((de,re)=>{const me=new t.Ms({next:Se=>{try{F(Se)}catch(tt){re(tt),me.unsubscribe()}},error:re,complete:de});this.subscribe(me)})}_subscribe(F){var L;return null===(L=this.source)||void 0===L?void 0:L.subscribe(F)}[D.s](){return this}pipe(...F){return(0,j.m)(F)(this)}toPromise(F){return new(F=R(F))((L,de)=>{let re;this.subscribe(me=>re=me,me=>de(me),()=>L(re))})}}return A.create=b=>new A(b),A})();function R(A){var b;return null!==(b=A??E.$.Promise)&&void 0!==b?b:Promise}},2771:(kt,De,u)=>{"use strict";u.d(De,{m:()=>D});var t=u(1413),p=u(6129);class D extends t.B{constructor(E=1/0,ee=1/0,G=p.U){super(),this._bufferSize=E,this._windowTime=ee,this._timestampProvider=G,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ee===1/0,this._bufferSize=Math.max(1,E),this._windowTime=Math.max(1,ee)}next(E){const{isStopped:ee,_buffer:G,_infiniteTimeWindow:B,_timestampProvider:R,_windowTime:P}=this;ee||(G.push(E),!B&&G.push(R.now()+P)),this._trimBuffer(),super.next(E)}_subscribe(E){this._throwIfClosed(),this._trimBuffer();const ee=this._innerSubscribe(E),{_infiniteTimeWindow:G,_buffer:B}=this,R=B.slice();for(let P=0;P{"use strict";u.d(De,{B:()=>G});var t=u(1985),p=u(8359);const j=(0,u(1853).L)(R=>function(){R(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var E=u(7908),ee=u(9786);let G=(()=>{class R extends t.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(I){const A=new B(this,this);return A.operator=I,A}_throwIfClosed(){if(this.closed)throw new j}next(I){(0,ee.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const A of this.currentObservers)A.next(I)}})}error(I){(0,ee.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=I;const{observers:A}=this;for(;A.length;)A.shift().error(I)}})}complete(){(0,ee.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:I}=this;for(;I.length;)I.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var I;return(null===(I=this.observers)||void 0===I?void 0:I.length)>0}_trySubscribe(I){return this._throwIfClosed(),super._trySubscribe(I)}_subscribe(I){return this._throwIfClosed(),this._checkFinalizedStatuses(I),this._innerSubscribe(I)}_innerSubscribe(I){const{hasError:A,isStopped:b,observers:F}=this;return A||b?p.Kn:(this.currentObservers=null,F.push(I),new p.yU(()=>{this.currentObservers=null,(0,E.o)(F,I)}))}_checkFinalizedStatuses(I){const{hasError:A,thrownError:b,isStopped:F}=this;A?I.error(b):F&&I.complete()}asObservable(){const I=new t.c;return I.source=this,I}}return R.create=(P,I)=>new B(P,I),R})();class B extends G{constructor(P,I){super(),this.destination=P,this.source=I}next(P){var I,A;null===(A=null===(I=this.destination)||void 0===I?void 0:I.next)||void 0===A||A.call(I,P)}error(P){var I,A;null===(A=null===(I=this.destination)||void 0===I?void 0:I.error)||void 0===A||A.call(I,P)}complete(){var P,I;null===(I=null===(P=this.destination)||void 0===P?void 0:P.complete)||void 0===I||I.call(P)}_subscribe(P){var I,A;return null!==(A=null===(I=this.source)||void 0===I?void 0:I.subscribe(P))&&void 0!==A?A:p.Kn}}},7707:(kt,De,u)=>{"use strict";u.d(De,{Ms:()=>de,vU:()=>A});var t=u(8071),p=u(8359),D=u(1026),j=u(5334),E=u(5343);const ee=R("C",void 0,void 0);function R(je,xe,ve){return{kind:je,value:xe,error:ve}}var P=u(9270),I=u(9786);class A extends p.yU{constructor(xe){super(),this.isStopped=!1,xe?(this.destination=xe,(0,p.Uv)(xe)&&xe.add(this)):this.destination=tt}static create(xe,ve,ye){return new de(xe,ve,ye)}next(xe){this.isStopped?Se(function B(je){return R("N",je,void 0)}(xe),this):this._next(xe)}error(xe){this.isStopped?Se(function G(je){return R("E",void 0,je)}(xe),this):(this.isStopped=!0,this._error(xe))}complete(){this.isStopped?Se(ee,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(xe){this.destination.next(xe)}_error(xe){try{this.destination.error(xe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function F(je,xe){return b.call(je,xe)}class L{constructor(xe){this.partialObserver=xe}next(xe){const{partialObserver:ve}=this;if(ve.next)try{ve.next(xe)}catch(ye){re(ye)}}error(xe){const{partialObserver:ve}=this;if(ve.error)try{ve.error(xe)}catch(ye){re(ye)}else re(xe)}complete(){const{partialObserver:xe}=this;if(xe.complete)try{xe.complete()}catch(ve){re(ve)}}}class de extends A{constructor(xe,ve,ye){let pe;if(super(),(0,t.T)(xe)||!xe)pe={next:xe??void 0,error:ve??void 0,complete:ye??void 0};else{let Pe;this&&D.$.useDeprecatedNextContext?(Pe=Object.create(xe),Pe.unsubscribe=()=>this.unsubscribe(),pe={next:xe.next&&F(xe.next,Pe),error:xe.error&&F(xe.error,Pe),complete:xe.complete&&F(xe.complete,Pe)}):pe=xe}this.destination=new L(pe)}}function re(je){D.$.useDeprecatedSynchronousErrorHandling?(0,I.l)(je):(0,j.m)(je)}function Se(je,xe){const{onStoppedNotification:ve}=D.$;ve&&P.f.setTimeout(()=>ve(je,xe))}const tt={closed:!0,next:E.l,error:function me(je){throw je},complete:E.l}},8359:(kt,De,u)=>{"use strict";u.d(De,{Kn:()=>ee,yU:()=>E,Uv:()=>G});var t=u(8071);const D=(0,u(1853).L)(R=>function(I){R(this),this.message=I?`${I.length} errors occurred during unsubscription:\n${I.map((A,b)=>`${b+1}) ${A.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=I});var j=u(7908);class E{constructor(P){this.initialTeardown=P,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let P;if(!this.closed){this.closed=!0;const{_parentage:I}=this;if(I)if(this._parentage=null,Array.isArray(I))for(const F of I)F.remove(this);else I.remove(this);const{initialTeardown:A}=this;if((0,t.T)(A))try{A()}catch(F){P=F instanceof D?F.errors:[F]}const{_finalizers:b}=this;if(b){this._finalizers=null;for(const F of b)try{B(F)}catch(L){P=P??[],L instanceof D?P=[...P,...L.errors]:P.push(L)}}if(P)throw new D(P)}}add(P){var I;if(P&&P!==this)if(this.closed)B(P);else{if(P instanceof E){if(P.closed||P._hasParent(this))return;P._addParent(this)}(this._finalizers=null!==(I=this._finalizers)&&void 0!==I?I:[]).push(P)}}_hasParent(P){const{_parentage:I}=this;return I===P||Array.isArray(I)&&I.includes(P)}_addParent(P){const{_parentage:I}=this;this._parentage=Array.isArray(I)?(I.push(P),I):I?[I,P]:P}_removeParent(P){const{_parentage:I}=this;I===P?this._parentage=null:Array.isArray(I)&&(0,j.o)(I,P)}remove(P){const{_finalizers:I}=this;I&&(0,j.o)(I,P),P instanceof E&&P._removeParent(this)}}E.EMPTY=(()=>{const R=new E;return R.closed=!0,R})();const ee=E.EMPTY;function G(R){return R instanceof E||R&&"closed"in R&&(0,t.T)(R.remove)&&(0,t.T)(R.add)&&(0,t.T)(R.unsubscribe)}function B(R){(0,t.T)(R)?R():R.unsubscribe()}},1026:(kt,De,u)=>{"use strict";u.d(De,{$:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4572:(kt,De,u)=>{"use strict";u.d(De,{z:()=>P});var t=u(1985),p=u(3073),D=u(2806),j=u(3669),E=u(6450),ee=u(9326),G=u(8496),B=u(4360),R=u(5225);function P(...b){const F=(0,ee.lI)(b),L=(0,ee.ms)(b),{args:de,keys:re}=(0,p.D)(b);if(0===de.length)return(0,D.H)([],F);const me=new t.c(function I(b,F,L=j.D){return de=>{A(F,()=>{const{length:re}=b,me=new Array(re);let Se=re,tt=re;for(let je=0;je{const xe=(0,D.H)(b[je],F);let ve=!1;xe.subscribe((0,B._)(de,ye=>{me[je]=ye,ve||(ve=!0,tt--),tt||de.next(L(me.slice()))},()=>{--Se||de.complete()}))},de)},de)}}(de,F,re?Se=>(0,G.e)(re,Se):j.D));return L?me.pipe((0,E.I)(L)):me}function A(b,F,L){b?(0,R.N)(L,b,F):F()}},8793:(kt,De,u)=>{"use strict";u.d(De,{x:()=>E});var t=u(6365),D=u(9326),j=u(2806);function E(...ee){return function p(){return(0,t.U)(1)}()((0,j.H)(ee,(0,D.lI)(ee)))}},9030:(kt,De,u)=>{"use strict";u.d(De,{v:()=>D});var t=u(1985),p=u(8750);function D(j){return new t.c(E=>{(0,p.Tg)(j()).subscribe(E)})}},983:(kt,De,u)=>{"use strict";u.d(De,{w:()=>p});const p=new(u(1985).c)(E=>E.complete())},7468:(kt,De,u)=>{"use strict";u.d(De,{p:()=>B});var t=u(1985),p=u(3073),D=u(8750),j=u(9326),E=u(4360),ee=u(6450),G=u(8496);function B(...R){const P=(0,j.ms)(R),{args:I,keys:A}=(0,p.D)(R),b=new t.c(F=>{const{length:L}=I;if(!L)return void F.complete();const de=new Array(L);let re=L,me=L;for(let Se=0;Se{tt||(tt=!0,me--),de[Se]=je},()=>re--,void 0,()=>{(!re||!tt)&&(me||F.next(A?(0,G.e)(A,de):de),F.complete())}))}});return P?b.pipe((0,ee.I)(P)):b}},2806:(kt,De,u)=>{"use strict";u.d(De,{H:()=>ve});var t=u(8750),p=u(941),D=u(9974);function j(ye,pe=0){return(0,D.N)((Pe,$)=>{$.add(ye.schedule(()=>Pe.subscribe($),pe))})}var G=u(1985),R=u(4761),P=u(8071),I=u(5225);function b(ye,pe){if(!ye)throw new Error("Iterable cannot be null");return new G.c(Pe=>{(0,I.N)(Pe,pe,()=>{const $=ye[Symbol.asyncIterator]();(0,I.N)(Pe,pe,()=>{$.next().then(Oe=>{Oe.done?Pe.complete():Pe.next(Oe.value)})},0,!0)})})}var F=u(5055),L=u(9858),de=u(7441),re=u(5397),me=u(7953),Se=u(591),tt=u(5196);function ve(ye,pe){return pe?function xe(ye,pe){if(null!=ye){if((0,F.l)(ye))return function E(ye,pe){return(0,t.Tg)(ye).pipe(j(pe),(0,p.Q)(pe))}(ye,pe);if((0,de.X)(ye))return function B(ye,pe){return new G.c(Pe=>{let $=0;return pe.schedule(function(){$===ye.length?Pe.complete():(Pe.next(ye[$++]),Pe.closed||this.schedule())})})}(ye,pe);if((0,L.y)(ye))return function ee(ye,pe){return(0,t.Tg)(ye).pipe(j(pe),(0,p.Q)(pe))}(ye,pe);if((0,me.T)(ye))return b(ye,pe);if((0,re.x)(ye))return function A(ye,pe){return new G.c(Pe=>{let $;return(0,I.N)(Pe,pe,()=>{$=ye[R.l](),(0,I.N)(Pe,pe,()=>{let Oe,Ke;try{({value:Oe,done:Ke}=$.next())}catch(Nt){return void Pe.error(Nt)}Ke?Pe.complete():Pe.next(Oe)},0,!0)}),()=>(0,P.T)($?.return)&&$.return()})}(ye,pe);if((0,tt.U)(ye))return function je(ye,pe){return b((0,tt.C)(ye),pe)}(ye,pe)}throw(0,Se.L)(ye)}(ye,pe):(0,t.Tg)(ye)}},3726:(kt,De,u)=>{"use strict";u.d(De,{R:()=>P});var t=u(8750),p=u(1985),D=u(1397),j=u(7441),E=u(8071),ee=u(6450);const G=["addListener","removeListener"],B=["addEventListener","removeEventListener"],R=["on","off"];function P(L,de,re,me){if((0,E.T)(re)&&(me=re,re=void 0),me)return P(L,de,re).pipe((0,ee.I)(me));const[Se,tt]=function F(L){return(0,E.T)(L.addEventListener)&&(0,E.T)(L.removeEventListener)}(L)?B.map(je=>xe=>L[je](de,xe,re)):function A(L){return(0,E.T)(L.addListener)&&(0,E.T)(L.removeListener)}(L)?G.map(I(L,de)):function b(L){return(0,E.T)(L.on)&&(0,E.T)(L.off)}(L)?R.map(I(L,de)):[];if(!Se&&(0,j.X)(L))return(0,D.Z)(je=>P(je,de,re))((0,t.Tg)(L));if(!Se)throw new TypeError("Invalid event target");return new p.c(je=>{const xe=(...ve)=>je.next(1tt(xe)})}function I(L,de){return re=>me=>L[re](de,me)}},8750:(kt,De,u)=>{"use strict";u.d(De,{Sx:()=>de,Tg:()=>b});var t=u(1635),p=u(7441),D=u(9858),j=u(1985),E=u(5055),ee=u(7953),G=u(591),B=u(5397),R=u(5196),P=u(8071),I=u(5334),A=u(3494);function b(je){if(je instanceof j.c)return je;if(null!=je){if((0,E.l)(je))return function F(je){return new j.c(xe=>{const ve=je[A.s]();if((0,P.T)(ve.subscribe))return ve.subscribe(xe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(je);if((0,p.X)(je))return function L(je){return new j.c(xe=>{for(let ve=0;ve{for(const ve of je)if(xe.next(ve),xe.closed)return;xe.complete()})}(je);if((0,R.U)(je))return function Se(je){return me((0,R.C)(je))}(je)}throw(0,G.L)(je)}function de(je){return new j.c(xe=>{je.then(ve=>{xe.closed||(xe.next(ve),xe.complete())},ve=>xe.error(ve)).then(null,I.m)})}function me(je){return new j.c(xe=>{(function tt(je,xe){var ve,ye,pe,Pe;return(0,t.sH)(this,void 0,void 0,function*(){try{for(ve=(0,t.xN)(je);!(ye=yield ve.next()).done;)if(xe.next(ye.value),xe.closed)return}catch($){pe={error:$}}finally{try{ye&&!ye.done&&(Pe=ve.return)&&(yield Pe.call(ve))}finally{if(pe)throw pe.error}}xe.complete()})})(je,xe).catch(ve=>xe.error(ve))})}},7786:(kt,De,u)=>{"use strict";u.d(De,{h:()=>ee});var t=u(6365),p=u(8750),D=u(983),j=u(9326),E=u(2806);function ee(...G){const B=(0,j.lI)(G),R=(0,j.R0)(G,1/0),P=G;return P.length?1===P.length?(0,p.Tg)(P[0]):(0,t.U)(R)((0,E.H)(P,B)):D.w}},7673:(kt,De,u)=>{"use strict";u.d(De,{of:()=>D});var t=u(9326),p=u(2806);function D(...j){const E=(0,t.lI)(j);return(0,p.H)(j,E)}},8810:(kt,De,u)=>{"use strict";u.d(De,{$:()=>D});var t=u(1985),p=u(8071);function D(j,E){const ee=(0,p.T)(j)?j:()=>j,G=B=>B.error(ee());return new t.c(E?B=>E.schedule(G,0,B):G)}},1584:(kt,De,u)=>{"use strict";u.d(De,{O:()=>E});var t=u(1985),p=u(3236),D=u(9470);function E(ee=0,G,B=p.b){let R=-1;return null!=G&&((0,D.m)(G)?B=G:R=G),new t.c(P=>{let I=function j(ee){return ee instanceof Date&&!isNaN(ee)}(ee)?+ee-B.now():ee;I<0&&(I=0);let A=0;return B.schedule(function(){P.closed||(P.next(A++),0<=R?this.schedule(void 0,R):P.complete())},I)})}},4360:(kt,De,u)=>{"use strict";u.d(De,{_:()=>p});var t=u(7707);function p(j,E,ee,G,B){return new D(j,E,ee,G,B)}class D extends t.vU{constructor(E,ee,G,B,R,P){super(E),this.onFinalize=R,this.shouldUnsubscribe=P,this._next=ee?function(I){try{ee(I)}catch(A){E.error(A)}}:super._next,this._error=B?function(I){try{B(I)}catch(A){E.error(A)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(I){E.error(I)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ee}=this;super.unsubscribe(),!ee&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}},9437:(kt,De,u)=>{"use strict";u.d(De,{W:()=>j});var t=u(8750),p=u(4360),D=u(9974);function j(E){return(0,D.N)((ee,G)=>{let P,B=null,R=!1;B=ee.subscribe((0,p._)(G,void 0,void 0,I=>{P=(0,t.Tg)(E(I,j(E)(ee))),B?(B.unsubscribe(),B=null,P.subscribe(G)):R=!0})),R&&(B.unsubscribe(),B=null,P.subscribe(G))})}},274:(kt,De,u)=>{"use strict";u.d(De,{H:()=>D});var t=u(1397),p=u(8071);function D(j,E){return(0,p.T)(E)?(0,t.Z)(j,E,1):(0,t.Z)(j,1)}},152:(kt,De,u)=>{"use strict";u.d(De,{B:()=>j});var t=u(3236),p=u(9974),D=u(4360);function j(E,ee=t.E){return(0,p.N)((G,B)=>{let R=null,P=null,I=null;const A=()=>{if(R){R.unsubscribe(),R=null;const F=P;P=null,B.next(F)}};function b(){const F=I+E,L=ee.now();if(L{P=F,I=ee.now(),R||(R=ee.schedule(b,E),B.add(R))},()=>{A(),B.complete()},void 0,()=>{P=R=null}))})}},3103:(kt,De,u)=>{"use strict";u.d(De,{c:()=>j});var t=u(3236),p=u(2901),D=u(1584);function j(E,ee=t.E){const G=(0,D.O)(E,ee);return(0,p.o)(()=>G)}},2901:(kt,De,u)=>{"use strict";u.d(De,{o:()=>P});var t=u(8793),p=u(6697),D=u(9974),j=u(4360),E=u(5343),G=u(3703),B=u(1397),R=u(8750);function P(I,A){return A?b=>(0,t.x)(A.pipe((0,p.s)(1),function ee(){return(0,D.N)((I,A)=>{I.subscribe((0,j._)(A,E.l))})}()),b.pipe(P(I))):(0,B.Z)((b,F)=>(0,R.Tg)(I(b,F)).pipe((0,p.s)(1),(0,G.u)(b)))}},3294:(kt,De,u)=>{"use strict";u.d(De,{F:()=>j});var t=u(3669),p=u(9974),D=u(4360);function j(ee,G=t.D){return ee=ee??E,(0,p.N)((B,R)=>{let P,I=!0;B.subscribe((0,D._)(R,A=>{const b=G(A);(I||!ee(P,b))&&(I=!1,P=b,R.next(A))}))})}function E(ee,G){return ee===G}},5964:(kt,De,u)=>{"use strict";u.d(De,{p:()=>D});var t=u(9974),p=u(4360);function D(j,E){return(0,t.N)((ee,G)=>{let B=0;ee.subscribe((0,p._)(G,R=>j.call(E,R,B++)&&G.next(R)))})}},980:(kt,De,u)=>{"use strict";u.d(De,{j:()=>p});var t=u(9974);function p(D){return(0,t.N)((j,E)=>{try{j.subscribe(E)}finally{E.add(D)}})}},6354:(kt,De,u)=>{"use strict";u.d(De,{T:()=>D});var t=u(9974),p=u(4360);function D(j,E){return(0,t.N)((ee,G)=>{let B=0;ee.subscribe((0,p._)(G,R=>{G.next(j.call(E,R,B++))}))})}},3703:(kt,De,u)=>{"use strict";u.d(De,{u:()=>p});var t=u(6354);function p(D){return(0,t.T)(()=>D)}},6365:(kt,De,u)=>{"use strict";u.d(De,{U:()=>D});var t=u(1397),p=u(3669);function D(j=1/0){return(0,t.Z)(p.D,j)}},1397:(kt,De,u)=>{"use strict";u.d(De,{Z:()=>B});var t=u(6354),p=u(8750),D=u(9974),j=u(5225),E=u(4360),G=u(8071);function B(R,P,I=1/0){return(0,G.T)(P)?B((A,b)=>(0,t.T)((F,L)=>P(A,F,b,L))((0,p.Tg)(R(A,b))),I):("number"==typeof P&&(I=P),(0,D.N)((A,b)=>function ee(R,P,I,A,b,F,L,de){const re=[];let me=0,Se=0,tt=!1;const je=()=>{tt&&!re.length&&!me&&P.complete()},xe=ye=>me{F&&P.next(ye),me++;let pe=!1;(0,p.Tg)(I(ye,Se++)).subscribe((0,E._)(P,Pe=>{b?.(Pe),F?xe(Pe):P.next(Pe)},()=>{pe=!0},void 0,()=>{if(pe)try{for(me--;re.length&&meve(Pe)):ve(Pe)}je()}catch(Pe){P.error(Pe)}}))};return R.subscribe((0,E._)(P,xe,()=>{tt=!0,je()})),()=>{de?.()}}(A,b,R,I)))}},941:(kt,De,u)=>{"use strict";u.d(De,{Q:()=>j});var t=u(5225),p=u(9974),D=u(4360);function j(E,ee=0){return(0,p.N)((G,B)=>{G.subscribe((0,D._)(B,R=>(0,t.N)(B,E,()=>B.next(R),ee),()=>(0,t.N)(B,E,()=>B.complete(),ee),R=>(0,t.N)(B,E,()=>B.error(R),ee)))})}},7647:(kt,De,u)=>{"use strict";u.d(De,{u:()=>E});var t=u(8750),p=u(1413),D=u(7707),j=u(9974);function E(G={}){const{connector:B=(()=>new p.B),resetOnError:R=!0,resetOnComplete:P=!0,resetOnRefCountZero:I=!0}=G;return A=>{let b,F,L,de=0,re=!1,me=!1;const Se=()=>{F?.unsubscribe(),F=void 0},tt=()=>{Se(),b=L=void 0,re=me=!1},je=()=>{const xe=b;tt(),xe?.unsubscribe()};return(0,j.N)((xe,ve)=>{de++,!me&&!re&&Se();const ye=L=L??B();ve.add(()=>{de--,0===de&&!me&&!re&&(F=ee(je,I))}),ye.subscribe(ve),!b&&de>0&&(b=new D.Ms({next:pe=>ye.next(pe),error:pe=>{me=!0,Se(),F=ee(tt,R,pe),ye.error(pe)},complete:()=>{re=!0,Se(),F=ee(tt,P),ye.complete()}}),(0,t.Tg)(xe).subscribe(b))})(A)}}function ee(G,B,...R){if(!0===B)return void G();if(!1===B)return;const P=new D.Ms({next:()=>{P.unsubscribe(),G()}});return(0,t.Tg)(B(...R)).subscribe(P)}},4668:(kt,De,u)=>{"use strict";u.d(De,{t:()=>D});var t=u(2771),p=u(7647);function D(j,E,ee){let G,B=!1;return j&&"object"==typeof j?({bufferSize:G=1/0,windowTime:E=1/0,refCount:B=!1,scheduler:ee}=j):G=j??1/0,(0,p.u)({connector:()=>new t.m(G,E,ee),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:B})}},5245:(kt,De,u)=>{"use strict";u.d(De,{i:()=>p});var t=u(5964);function p(D){return(0,t.p)((j,E)=>D<=E)}},9172:(kt,De,u)=>{"use strict";u.d(De,{Z:()=>j});var t=u(8793),p=u(9326),D=u(9974);function j(...E){const ee=(0,p.lI)(E);return(0,D.N)((G,B)=>{(ee?(0,t.x)(E,G,ee):(0,t.x)(E,G)).subscribe(B)})}},5558:(kt,De,u)=>{"use strict";u.d(De,{n:()=>j});var t=u(8750),p=u(9974),D=u(4360);function j(E,ee){return(0,p.N)((G,B)=>{let R=null,P=0,I=!1;const A=()=>I&&!R&&B.complete();G.subscribe((0,D._)(B,b=>{R?.unsubscribe();let F=0;const L=P++;(0,t.Tg)(E(b,L)).subscribe(R=(0,D._)(B,de=>B.next(ee?ee(b,de,L,F++):de),()=>{R=null,A()}))},()=>{I=!0,A()}))})}},6697:(kt,De,u)=>{"use strict";u.d(De,{s:()=>j});var t=u(983),p=u(9974),D=u(4360);function j(E){return E<=0?()=>t.w:(0,p.N)((ee,G)=>{let B=0;ee.subscribe((0,D._)(G,R=>{++B<=E&&(G.next(R),E<=B&&G.complete())}))})}},6977:(kt,De,u)=>{"use strict";u.d(De,{Q:()=>E});var t=u(9974),p=u(4360),D=u(8750),j=u(5343);function E(ee){return(0,t.N)((G,B)=>{(0,D.Tg)(ee).subscribe((0,p._)(B,()=>B.complete(),j.l)),!B.closed&&G.subscribe(B)})}},7048:(kt,De,u)=>{"use strict";u.d(De,{v:()=>D});var t=u(9974),p=u(4360);function D(j,E=!1){return(0,t.N)((ee,G)=>{let B=0;ee.subscribe((0,p._)(G,R=>{const P=j(R,B++);(P||E)&&G.next(R),!P&&G.complete()}))})}},8141:(kt,De,u)=>{"use strict";u.d(De,{M:()=>E});var t=u(8071),p=u(9974),D=u(4360),j=u(3669);function E(ee,G,B){const R=(0,t.T)(ee)||G||B?{next:ee,error:G,complete:B}:ee;return R?(0,p.N)((P,I)=>{var A;null===(A=R.subscribe)||void 0===A||A.call(R);let b=!0;P.subscribe((0,D._)(I,F=>{var L;null===(L=R.next)||void 0===L||L.call(R,F),I.next(F)},()=>{var F;b=!1,null===(F=R.complete)||void 0===F||F.call(R),I.complete()},F=>{var L;b=!1,null===(L=R.error)||void 0===L||L.call(R,F),I.error(F)},()=>{var F,L;b&&(null===(F=R.unsubscribe)||void 0===F||F.call(R)),null===(L=R.finalize)||void 0===L||L.call(R)}))}):j.D}},6780:(kt,De,u)=>{"use strict";u.d(De,{R:()=>E});var t=u(8359);class p extends t.yU{constructor(G,B){super()}schedule(G,B=0){return this}}const D={setInterval(ee,G,...B){const{delegate:R}=D;return R?.setInterval?R.setInterval(ee,G,...B):setInterval(ee,G,...B)},clearInterval(ee){const{delegate:G}=D;return(G?.clearInterval||clearInterval)(ee)},delegate:void 0};var j=u(7908);class E extends p{constructor(G,B){super(G,B),this.scheduler=G,this.work=B,this.pending=!1}schedule(G,B=0){var R;if(this.closed)return this;this.state=G;const P=this.id,I=this.scheduler;return null!=P&&(this.id=this.recycleAsyncId(I,P,B)),this.pending=!0,this.delay=B,this.id=null!==(R=this.id)&&void 0!==R?R:this.requestAsyncId(I,this.id,B),this}requestAsyncId(G,B,R=0){return D.setInterval(G.flush.bind(G,this),R)}recycleAsyncId(G,B,R=0){if(null!=R&&this.delay===R&&!1===this.pending)return B;null!=B&&D.clearInterval(B)}execute(G,B){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const R=this._execute(G,B);if(R)return R;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(G,B){let P,R=!1;try{this.work(G)}catch(I){R=!0,P=I||new Error("Scheduled action threw falsy error")}if(R)return this.unsubscribe(),P}unsubscribe(){if(!this.closed){const{id:G,scheduler:B}=this,{actions:R}=B;this.work=this.state=this.scheduler=null,this.pending=!1,(0,j.o)(R,this),null!=G&&(this.id=this.recycleAsyncId(B,G,null)),this.delay=null,super.unsubscribe()}}}},9687:(kt,De,u)=>{"use strict";u.d(De,{q:()=>D});var t=u(6129);class p{constructor(E,ee=p.now){this.schedulerActionCtor=E,this.now=ee}schedule(E,ee=0,G){return new this.schedulerActionCtor(this,E).schedule(G,ee)}}p.now=t.U.now;class D extends p{constructor(E,ee=p.now){super(E,ee),this.actions=[],this._active=!1}flush(E){const{actions:ee}=this;if(this._active)return void ee.push(E);let G;this._active=!0;do{if(G=E.execute(E.state,E.delay))break}while(E=ee.shift());if(this._active=!1,G){for(;E=ee.shift();)E.unsubscribe();throw G}}}},5007:(kt,De,u)=>{"use strict";u.d(De,{$:()=>F});var t=u(6780);let D,p=1;const j={};function E(de){return de in j&&(delete j[de],!0)}const ee={setImmediate(de){const re=p++;return j[re]=!0,D||(D=Promise.resolve()),D.then(()=>E(re)&&de()),re},clearImmediate(de){E(de)}},{setImmediate:B,clearImmediate:R}=ee,P={setImmediate(...de){const{delegate:re}=P;return(re?.setImmediate||B)(...de)},clearImmediate(de){const{delegate:re}=P;return(re?.clearImmediate||R)(de)},delegate:void 0};var A=u(9687);const F=new class b extends A.q{flush(re){this._active=!0;const me=this._scheduled;this._scheduled=void 0;const{actions:Se}=this;let tt;re=re||Se.shift();do{if(tt=re.execute(re.state,re.delay))break}while((re=Se[0])&&re.id===me&&Se.shift());if(this._active=!1,tt){for(;(re=Se[0])&&re.id===me&&Se.shift();)re.unsubscribe();throw tt}}}(class I extends t.R{constructor(re,me){super(re,me),this.scheduler=re,this.work=me}requestAsyncId(re,me,Se=0){return null!==Se&&Se>0?super.requestAsyncId(re,me,Se):(re.actions.push(this),re._scheduled||(re._scheduled=P.setImmediate(re.flush.bind(re,void 0))))}recycleAsyncId(re,me,Se=0){var tt;if(null!=Se?Se>0:this.delay>0)return super.recycleAsyncId(re,me,Se);const{actions:je}=re;null!=me&&(null===(tt=je[je.length-1])||void 0===tt?void 0:tt.id)!==me&&(P.clearImmediate(me),re._scheduled===me&&(re._scheduled=void 0))}})},3236:(kt,De,u)=>{"use strict";u.d(De,{E:()=>D,b:()=>j});var t=u(6780);const D=new(u(9687).q)(t.R),j=D},6129:(kt,De,u)=>{"use strict";u.d(De,{U:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},9270:(kt,De,u)=>{"use strict";u.d(De,{f:()=>t});const t={setTimeout(p,D,...j){const{delegate:E}=t;return E?.setTimeout?E.setTimeout(p,D,...j):setTimeout(p,D,...j)},clearTimeout(p){const{delegate:D}=t;return(D?.clearTimeout||clearTimeout)(p)},delegate:void 0}},4761:(kt,De,u)=>{"use strict";u.d(De,{l:()=>p});const p=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(kt,De,u)=>{"use strict";u.d(De,{s:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(kt,De,u)=>{"use strict";u.d(De,{G:()=>p});const p=(0,u(1853).L)(D=>function(){D(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(kt,De,u)=>{"use strict";u.d(De,{R0:()=>ee,lI:()=>E,ms:()=>j});var t=u(8071),p=u(9470);function D(G){return G[G.length-1]}function j(G){return(0,t.T)(D(G))?G.pop():void 0}function E(G){return(0,p.m)(D(G))?G.pop():void 0}function ee(G,B){return"number"==typeof D(G)?G.pop():B}},3073:(kt,De,u)=>{"use strict";u.d(De,{D:()=>E});const{isArray:t}=Array,{getPrototypeOf:p,prototype:D,keys:j}=Object;function E(G){if(1===G.length){const B=G[0];if(t(B))return{args:B,keys:null};if(function ee(G){return G&&"object"==typeof G&&p(G)===D}(B)){const R=j(B);return{args:R.map(P=>B[P]),keys:R}}}return{args:G,keys:null}}},7908:(kt,De,u)=>{"use strict";function t(p,D){if(p){const j=p.indexOf(D);0<=j&&p.splice(j,1)}}u.d(De,{o:()=>t})},1853:(kt,De,u)=>{"use strict";function t(p){const j=p(E=>{Error.call(E),E.stack=(new Error).stack});return j.prototype=Object.create(Error.prototype),j.prototype.constructor=j,j}u.d(De,{L:()=>t})},8496:(kt,De,u)=>{"use strict";function t(p,D){return p.reduce((j,E,ee)=>(j[E]=D[ee],j),{})}u.d(De,{e:()=>t})},9786:(kt,De,u)=>{"use strict";u.d(De,{Y:()=>D,l:()=>j});var t=u(1026);let p=null;function D(E){if(t.$.useDeprecatedSynchronousErrorHandling){const ee=!p;if(ee&&(p={errorThrown:!1,error:null}),E(),ee){const{errorThrown:G,error:B}=p;if(p=null,G)throw B}}else E()}function j(E){t.$.useDeprecatedSynchronousErrorHandling&&p&&(p.errorThrown=!0,p.error=E)}},5225:(kt,De,u)=>{"use strict";function t(p,D,j,E=0,ee=!1){const G=D.schedule(function(){j(),ee?p.add(this.schedule(null,E)):this.unsubscribe()},E);if(p.add(G),!ee)return G}u.d(De,{N:()=>t})},3669:(kt,De,u)=>{"use strict";function t(p){return p}u.d(De,{D:()=>t})},7441:(kt,De,u)=>{"use strict";u.d(De,{X:()=>t});const t=p=>p&&"number"==typeof p.length&&"function"!=typeof p},7953:(kt,De,u)=>{"use strict";u.d(De,{T:()=>p});var t=u(8071);function p(D){return Symbol.asyncIterator&&(0,t.T)(D?.[Symbol.asyncIterator])}},8071:(kt,De,u)=>{"use strict";function t(p){return"function"==typeof p}u.d(De,{T:()=>t})},5055:(kt,De,u)=>{"use strict";u.d(De,{l:()=>D});var t=u(3494),p=u(8071);function D(j){return(0,p.T)(j[t.s])}},5397:(kt,De,u)=>{"use strict";u.d(De,{x:()=>D});var t=u(4761),p=u(8071);function D(j){return(0,p.T)(j?.[t.l])}},4402:(kt,De,u)=>{"use strict";u.d(De,{A:()=>D});var t=u(1985),p=u(8071);function D(j){return!!j&&(j instanceof t.c||(0,p.T)(j.lift)&&(0,p.T)(j.subscribe))}},9858:(kt,De,u)=>{"use strict";u.d(De,{y:()=>p});var t=u(8071);function p(D){return(0,t.T)(D?.then)}},5196:(kt,De,u)=>{"use strict";u.d(De,{C:()=>D,U:()=>j});var t=u(1635),p=u(8071);function D(E){return(0,t.AQ)(this,arguments,function*(){const G=E.getReader();try{for(;;){const{value:B,done:R}=yield(0,t.N3)(G.read());if(R)return yield(0,t.N3)(void 0);yield yield(0,t.N3)(B)}}finally{G.releaseLock()}})}function j(E){return(0,p.T)(E?.getReader)}},9470:(kt,De,u)=>{"use strict";u.d(De,{m:()=>p});var t=u(8071);function p(D){return D&&(0,t.T)(D.schedule)}},9974:(kt,De,u)=>{"use strict";u.d(De,{N:()=>D,S:()=>p});var t=u(8071);function p(j){return(0,t.T)(j?.lift)}function D(j){return E=>{if(p(E))return E.lift(function(ee){try{return j(ee,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(kt,De,u)=>{"use strict";u.d(De,{I:()=>j});var t=u(6354);const{isArray:p}=Array;function j(E){return(0,t.T)(ee=>function D(E,ee){return p(ee)?E(...ee):E(ee)}(E,ee))}},5343:(kt,De,u)=>{"use strict";function t(){}u.d(De,{l:()=>t})},1203:(kt,De,u)=>{"use strict";u.d(De,{F:()=>p,m:()=>D});var t=u(3669);function p(...j){return D(j)}function D(j){return 0===j.length?t.D:1===j.length?j[0]:function(ee){return j.reduce((G,B)=>B(G),ee)}}},5334:(kt,De,u)=>{"use strict";u.d(De,{m:()=>D});var t=u(1026),p=u(9270);function D(j){p.f.setTimeout(()=>{const{onUnhandledError:E}=t.$;if(!E)throw j;E(j)})}},591:(kt,De,u)=>{"use strict";function t(p){return new TypeError(`You provided ${null!==p&&"object"==typeof p?"an invalid object":`'${p}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}u.d(De,{L:()=>t})},4523:(kt,De,u)=>{"use strict";function t(D,j,E,ee,G,B,R){try{var P=D[B](R),I=P.value}catch(A){return void E(A)}P.done?j(I):Promise.resolve(I).then(ee,G)}function p(D){return function(){var j=this,E=arguments;return new Promise(function(ee,G){var B=D.apply(j,E);function R(I){t(B,ee,G,R,P,"next",I)}function P(I){t(B,ee,G,R,P,"throw",I)}R(void 0)})}}u.d(De,{A:()=>p})},9969:(kt,De,u)=>{"use strict";u.d(De,{FX:()=>Pe,If:()=>t,K2:()=>ee,MA:()=>A,Os:()=>E,P:()=>F,hZ:()=>D,i0:()=>j,iF:()=>G,kY:()=>P,kp:()=>p,sf:()=>ye,ui:()=>pe,wk:()=>B});var t=function($){return $[$.State=0]="State",$[$.Transition=1]="Transition",$[$.Sequence=2]="Sequence",$[$.Group=3]="Group",$[$.Animate=4]="Animate",$[$.Keyframes=5]="Keyframes",$[$.Style=6]="Style",$[$.Trigger=7]="Trigger",$[$.Reference=8]="Reference",$[$.AnimateChild=9]="AnimateChild",$[$.AnimateRef=10]="AnimateRef",$[$.Query=11]="Query",$[$.Stagger=12]="Stagger",$}(t||{});const p="*";function D($,Oe){return{type:t.Trigger,name:$,definitions:Oe,options:{}}}function j($,Oe=null){return{type:t.Animate,styles:Oe,timings:$}}function E($,Oe=null){return{type:t.Group,steps:$,options:Oe}}function ee($,Oe=null){return{type:t.Sequence,steps:$,options:Oe}}function G($){return{type:t.Style,styles:$,offset:null}}function B($,Oe,Ke){return{type:t.State,name:$,styles:Oe,options:Ke}}function P($,Oe,Ke=null){return{type:t.Transition,expr:$,animation:Oe,options:Ke}}function A($=null){return{type:t.AnimateChild,options:$}}function F($,Oe,Ke=null){return{type:t.Query,selector:$,animation:Oe,options:Ke}}class ye{constructor(Oe=0,Ke=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Oe+Ke}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Oe=>Oe()),this._onDoneFns=[])}onStart(Oe){this._originalOnStartFns.push(Oe),this._onStartFns.push(Oe)}onDone(Oe){this._originalOnDoneFns.push(Oe),this._onDoneFns.push(Oe)}onDestroy(Oe){this._onDestroyFns.push(Oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Oe=>Oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Oe=>Oe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Oe){this._position=this.totalTime?Oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Oe){const Ke="start"==Oe?this._onStartFns:this._onDoneFns;Ke.forEach(Nt=>Nt()),Ke.length=0}}class pe{constructor(Oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Oe;let Ke=0,Nt=0,Ct=0;const $t=this.players.length;0==$t?queueMicrotask(()=>this._onFinish()):this.players.forEach(be=>{be.onDone(()=>{++Ke==$t&&this._onFinish()}),be.onDestroy(()=>{++Nt==$t&&this._onDestroy()}),be.onStart(()=>{++Ct==$t&&this._onStart()})}),this.totalTime=this.players.reduce((be,Be)=>Math.max(be,Be.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Oe=>Oe()),this._onDoneFns=[])}init(){this.players.forEach(Oe=>Oe.init())}onStart(Oe){this._onStartFns.push(Oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Oe=>Oe()),this._onStartFns=[])}onDone(Oe){this._onDoneFns.push(Oe)}onDestroy(Oe){this._onDestroyFns.push(Oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Oe=>Oe.play())}pause(){this.players.forEach(Oe=>Oe.pause())}restart(){this.players.forEach(Oe=>Oe.restart())}finish(){this._onFinish(),this.players.forEach(Oe=>Oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Oe=>Oe.destroy()),this._onDestroyFns.forEach(Oe=>Oe()),this._onDestroyFns=[])}reset(){this.players.forEach(Oe=>Oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Oe){const Ke=Oe*this.totalTime;this.players.forEach(Nt=>{const Ct=Nt.totalTime?Math.min(1,Ke/Nt.totalTime):1;Nt.setPosition(Ct)})}getPosition(){const Oe=this.players.reduce((Ke,Nt)=>null===Ke||Nt.totalTime>Ke.totalTime?Nt:Ke,null);return null!=Oe?Oe.getPosition():0}beforeDestroy(){this.players.forEach(Oe=>{Oe.beforeDestroy&&Oe.beforeDestroy()})}triggerCallback(Oe){const Ke="start"==Oe?this._onStartFns:this._onDoneFns;Ke.forEach(Nt=>Nt()),Ke.length=0}}const Pe="!"},8617:(kt,De,u)=>{"use strict";u.d(De,{Ae:()=>xe,Ai:()=>mt,Au:()=>$t,Bu:()=>be,FN:()=>$n,GX:()=>ii,Pd:()=>He,Q_:()=>Zt,Z7:()=>oe,_G:()=>Hn,px:()=>je,vR:()=>ki,vr:()=>Oe,w6:()=>Xn});var t=u(177),p=u(4438),D=u(6860),j=u(1413),E=u(8359),ee=u(4412),G=u(7673),B=u(7336),R=u(8141),P=u(152),I=u(5964),A=u(6354),b=u(6697),F=u(5245),L=u(3294),de=u(6977),re=u(2318),me=u(4085),Se=u(9327);const tt=" ";function je(Ee,q,J){const Ie=ve(Ee,q);J=J.trim(),!Ie.some(rt=>rt.trim()===J)&&(Ie.push(J),Ee.setAttribute(q,Ie.join(tt)))}function xe(Ee,q,J){const Ie=ve(Ee,q);J=J.trim();const rt=Ie.filter(Xt=>Xt!==J);rt.length?Ee.setAttribute(q,rt.join(tt)):Ee.removeAttribute(q)}function ve(Ee,q){return Ee.getAttribute(q)?.match(/\S+/g)??[]}const pe="cdk-describedby-message",Pe="cdk-describedby-host";let $=0,Oe=(()=>{class Ee{constructor(J,Ie){this._platform=Ie,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+$++,this._document=J,this._id=(0,p.WQX)(p.sZ2)+"-"+$++}describe(J,Ie,rt){if(!this._canBeDescribed(J,Ie))return;const Xt=Ke(Ie,rt);"string"!=typeof Ie?(Nt(Ie,this._id),this._messageRegistry.set(Xt,{messageElement:Ie,referenceCount:0})):this._messageRegistry.has(Xt)||this._createMessageElement(Ie,rt),this._isElementDescribedByMessage(J,Xt)||this._addMessageReference(J,Xt)}removeDescription(J,Ie,rt){if(!Ie||!this._isElementNode(J))return;const Xt=Ke(Ie,rt);if(this._isElementDescribedByMessage(J,Xt)&&this._removeMessageReference(J,Xt),"string"==typeof Ie){const yn=this._messageRegistry.get(Xt);yn&&0===yn.referenceCount&&this._deleteMessageElement(Xt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const J=this._document.querySelectorAll(`[${Pe}="${this._id}"]`);for(let Ie=0;Ie0!=rt.indexOf(pe));J.setAttribute("aria-describedby",Ie.join(" "))}_addMessageReference(J,Ie){const rt=this._messageRegistry.get(Ie);je(J,"aria-describedby",rt.messageElement.id),J.setAttribute(Pe,this._id),rt.referenceCount++}_removeMessageReference(J,Ie){const rt=this._messageRegistry.get(Ie);rt.referenceCount--,xe(J,"aria-describedby",rt.messageElement.id),J.removeAttribute(Pe)}_isElementDescribedByMessage(J,Ie){const rt=ve(J,"aria-describedby"),Xt=this._messageRegistry.get(Ie),yn=Xt&&Xt.messageElement.id;return!!yn&&-1!=rt.indexOf(yn)}_canBeDescribed(J,Ie){if(!this._isElementNode(J))return!1;if(Ie&&"object"==typeof Ie)return!0;const rt=null==Ie?"":`${Ie}`.trim(),Xt=J.getAttribute("aria-label");return!(!rt||Xt&&Xt.trim()===rt)}_isElementNode(J){return J.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Ie){return new(Ie||Ee)(p.KVO(t.qQ),p.KVO(D.OD))};static#t=this.\u0275prov=p.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}return Ee})();function Ke(Ee,q){return"string"==typeof Ee?`${q||""}/${Ee}`:Ee}function Nt(Ee,q){Ee.id||(Ee.id=`${pe}-${q}-${$++}`)}class Ct{constructor(q,J){this._items=q,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new j.B,this._typeaheadSubscription=E.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Ie=>Ie.disabled,this._pressedLetters=[],this.tabOut=new j.B,this.change=new j.B,q instanceof p.rOR?this._itemChangesSubscription=q.changes.subscribe(Ie=>this._itemsChanged(Ie.toArray())):(0,p.Hps)(q)&&(this._effectRef=(0,p.QZP)(()=>this._itemsChanged(q()),{injector:J}))}skipPredicate(q){return this._skipPredicateFn=q,this}withWrap(q=!0){return this._wrap=q,this}withVerticalOrientation(q=!0){return this._vertical=q,this}withHorizontalOrientation(q){return this._horizontal=q,this}withAllowedModifierKeys(q){return this._allowedModifierKeys=q,this}withTypeAhead(q=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,R.M)(J=>this._pressedLetters.push(J)),(0,P.B)(q),(0,I.p)(()=>this._pressedLetters.length>0),(0,A.T)(()=>this._pressedLetters.join(""))).subscribe(J=>{const Ie=this._getItemsArray();for(let rt=1;rt!q[Xt]||this._allowedModifierKeys.indexOf(Xt)>-1);switch(J){case B.wn:return void this.tabOut.next();case B.n6:if(this._vertical&&rt){this.setNextItemActive();break}return;case B.i7:if(this._vertical&&rt){this.setPreviousItemActive();break}return;case B.LE:if(this._horizontal&&rt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case B.UQ:if(this._horizontal&&rt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case B.yZ:if(this._homeAndEnd&&rt){this.setFirstItemActive();break}return;case B.Kp:if(this._homeAndEnd&&rt){this.setLastItemActive();break}return;case B.w_:if(this._pageUpAndDown.enabled&&rt){const Xt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Xt>0?Xt:0,1);break}return;case B.dB:if(this._pageUpAndDown.enabled&&rt){const Xt=this._activeItemIndex+this._pageUpAndDown.delta,yn=this._getItemsArray().length;this._setActiveItemByIndex(Xt=B.A&&J<=B.Z||J>=B.f2&&J<=B.bn)&&this._letterKeyStream.next(String.fromCharCode(J))))}this._pressedLetters=[],q.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(q){const J=this._getItemsArray(),Ie="number"==typeof q?q:J.indexOf(q);this._activeItem=J[Ie]??null,this._activeItemIndex=Ie}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(q){this._wrap?this._setActiveInWrapMode(q):this._setActiveInDefaultMode(q)}_setActiveInWrapMode(q){const J=this._getItemsArray();for(let Ie=1;Ie<=J.length;Ie++){const rt=(this._activeItemIndex+q*Ie+J.length)%J.length;if(!this._skipPredicateFn(J[rt]))return void this.setActiveItem(rt)}}_setActiveInDefaultMode(q){this._setActiveItemByIndex(this._activeItemIndex+q,q)}_setActiveItemByIndex(q,J){const Ie=this._getItemsArray();if(Ie[q]){for(;this._skipPredicateFn(Ie[q]);)if(!Ie[q+=J])return;this.setActiveItem(q)}}_getItemsArray(){return(0,p.Hps)(this._items)?this._items():this._items instanceof p.rOR?this._items.toArray():this._items}_itemsChanged(q){if(this._activeItem){const J=q.indexOf(this._activeItem);J>-1&&J!==this._activeItemIndex&&(this._activeItemIndex=J)}}}class $t extends Ct{setActiveItem(q){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(q),this.activeItem&&this.activeItem.setActiveStyles()}}class be extends Ct{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(q){return this._origin=q,this}setActiveItem(q){super.setActiveItem(q),this.activeItem&&this.activeItem.focus(this._origin)}}let oe=(()=>{class Ee{constructor(J){this._platform=J}isDisabled(J){return J.hasAttribute("disabled")}isVisible(J){return function fe(Ee){return!!(Ee.offsetWidth||Ee.offsetHeight||"function"==typeof Ee.getClientRects&&Ee.getClientRects().length)}(J)&&"visible"===getComputedStyle(J).visibility}isTabbable(J){if(!this._platform.isBrowser)return!1;const Ie=function Re(Ee){try{return Ee.frameElement}catch{return null}}(function Tn(Ee){return Ee.ownerDocument&&Ee.ownerDocument.defaultView||window}(J));if(Ie&&(-1===gt(Ie)||!this.isVisible(Ie)))return!1;let rt=J.nodeName.toLowerCase(),Xt=gt(J);return J.hasAttribute("contenteditable")?-1!==Xt:!("iframe"===rt||"object"===rt||this._platform.WEBKIT&&this._platform.IOS&&!function an(Ee){let q=Ee.nodeName.toLowerCase(),J="input"===q&&Ee.type;return"text"===J||"password"===J||"select"===q||"textarea"===q}(J))&&("audio"===rt?!!J.hasAttribute("controls")&&-1!==Xt:"video"===rt?-1!==Xt&&(null!==Xt||this._platform.FIREFOX||J.hasAttribute("controls")):J.tabIndex>=0)}isFocusable(J,Ie){return function xn(Ee){return!function ke(Ee){return function Ce(Ee){return"input"==Ee.nodeName.toLowerCase()}(Ee)&&"hidden"==Ee.type}(Ee)&&(function ge(Ee){let q=Ee.nodeName.toLowerCase();return"input"===q||"select"===q||"button"===q||"textarea"===q}(Ee)||function qe(Ee){return function We(Ee){return"a"==Ee.nodeName.toLowerCase()}(Ee)&&Ee.hasAttribute("href")}(Ee)||Ee.hasAttribute("contenteditable")||Ze(Ee))}(J)&&!this.isDisabled(J)&&(Ie?.ignoreVisibility||this.isVisible(J))}static#e=this.\u0275fac=function(Ie){return new(Ie||Ee)(p.KVO(D.OD))};static#t=this.\u0275prov=p.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}return Ee})();function Ze(Ee){if(!Ee.hasAttribute("tabindex")||void 0===Ee.tabIndex)return!1;let q=Ee.getAttribute("tabindex");return!(!q||isNaN(parseInt(q,10)))}function gt(Ee){if(!Ze(Ee))return null;const q=parseInt(Ee.getAttribute("tabindex")||"",10);return isNaN(q)?-1:q}class Rn{get enabled(){return this._enabled}set enabled(q){this._enabled=q,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}constructor(q,J,Ie,rt,Xt=!1){this._element=q,this._checker=J,this._ngZone=Ie,this._document=rt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Xt||this.attachAnchors()}destroy(){const q=this._startAnchor,J=this._endAnchor;q&&(q.removeEventListener("focus",this.startAnchorListener),q.remove()),J&&(J.removeEventListener("focus",this.endAnchorListener),J.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(q){return new Promise(J=>{this._executeOnStable(()=>J(this.focusInitialElement(q)))})}focusFirstTabbableElementWhenReady(q){return new Promise(J=>{this._executeOnStable(()=>J(this.focusFirstTabbableElement(q)))})}focusLastTabbableElementWhenReady(q){return new Promise(J=>{this._executeOnStable(()=>J(this.focusLastTabbableElement(q)))})}_getRegionBoundary(q){const J=this._element.querySelectorAll(`[cdk-focus-region-${q}], [cdkFocusRegion${q}], [cdk-focus-${q}]`);return"start"==q?J.length?J[0]:this._getFirstTabbableElement(this._element):J.length?J[J.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(q){const J=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(J){if(!this._checker.isFocusable(J)){const Ie=this._getFirstTabbableElement(J);return Ie?.focus(q),!!Ie}return J.focus(q),!0}return this.focusFirstTabbableElement(q)}focusFirstTabbableElement(q){const J=this._getRegionBoundary("start");return J&&J.focus(q),!!J}focusLastTabbableElement(q){const J=this._getRegionBoundary("end");return J&&J.focus(q),!!J}hasAttached(){return this._hasAttached}_getFirstTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const J=q.children;for(let Ie=0;Ie=0;Ie--){const rt=J[Ie].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(J[Ie]):null;if(rt)return rt}return null}_createAnchor(){const q=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,q),q.classList.add("cdk-visually-hidden"),q.classList.add("cdk-focus-trap-anchor"),q.setAttribute("aria-hidden","true"),q}_toggleAnchorTabIndex(q,J){q?J.setAttribute("tabindex","0"):J.removeAttribute("tabindex")}toggleAnchors(q){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}_executeOnStable(q){this._ngZone.isStable?q():this._ngZone.onStable.pipe((0,b.s)(1)).subscribe(q)}}let ii=(()=>{class Ee{constructor(J,Ie,rt){this._checker=J,this._ngZone=Ie,this._document=rt}create(J,Ie=!1){return new Rn(J,this._checker,this._ngZone,this._document,Ie)}static#e=this.\u0275fac=function(Ie){return new(Ie||Ee)(p.KVO(oe),p.KVO(p.SKi),p.KVO(t.qQ))};static#t=this.\u0275prov=p.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}return Ee})();function Hn(Ee){return 0===Ee.buttons||0===Ee.detail}function Xn(Ee){const q=Ee.touches&&Ee.touches[0]||Ee.changedTouches&&Ee.changedTouches[0];return!(!q||-1!==q.identifier||null!=q.radiusX&&1!==q.radiusX||null!=q.radiusY&&1!==q.radiusY)}const Bt=new p.nKC("cdk-input-modality-detector-options"),ce={ignoreKeys:[B.A$,B.W3,B.eg,B.Ge,B.FX]},Je=(0,D.BQ)({passive:!0,capture:!0});let xt=(()=>{class Ee{get mostRecentModality(){return this._modality.value}constructor(J,Ie,rt,Xt){this._platform=J,this._mostRecentTarget=null,this._modality=new ee.t(null),this._lastTouchMs=0,this._onKeydown=yn=>{this._options?.ignoreKeys?.some(Lt=>Lt===yn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.Fb)(yn))},this._onMousedown=yn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Hn(yn)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.Fb)(yn))},this._onTouchstart=yn=>{Xn(yn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.Fb)(yn))},this._options={...ce,...Xt},this.modalityDetected=this._modality.pipe((0,F.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,L.F)()),J.isBrowser&&Ie.runOutsideAngular(()=>{rt.addEventListener("keydown",this._onKeydown,Je),rt.addEventListener("mousedown",this._onMousedown,Je),rt.addEventListener("touchstart",this._onTouchstart,Je)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Je),document.removeEventListener("mousedown",this._onMousedown,Je),document.removeEventListener("touchstart",this._onTouchstart,Je))}static#e=this.\u0275fac=function(Ie){return new(Ie||Ee)(p.KVO(D.OD),p.KVO(p.SKi),p.KVO(t.qQ),p.KVO(Bt,8))};static#t=this.\u0275prov=p.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}return Ee})();const Kt=new p.nKC("liveAnnouncerElement",{providedIn:"root",factory:function pt(){return null}}),jt=new p.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let nt=0,mt=(()=>{class Ee{constructor(J,Ie,rt,Xt){this._ngZone=Ie,this._defaultOptions=Xt,this._document=rt,this._liveElement=J||this._createLiveElement()}announce(J,...Ie){const rt=this._defaultOptions;let Xt,yn;return 1===Ie.length&&"number"==typeof Ie[0]?yn=Ie[0]:[Xt,yn]=Ie,this.clear(),clearTimeout(this._previousTimeout),Xt||(Xt=rt&&rt.politeness?rt.politeness:"polite"),null==yn&&rt&&(yn=rt.duration),this._liveElement.setAttribute("aria-live",Xt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Lt=>this._currentResolve=Lt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=J,"number"==typeof yn&&(this._previousTimeout=setTimeout(()=>this.clear(),yn)),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 J="cdk-live-announcer-element",Ie=this._document.getElementsByClassName(J),rt=this._document.createElement("div");for(let Xt=0;Xt .cdk-overlay-container [aria-modal="true"]');for(let rt=0;rt{class Ee{constructor(J,Ie,rt,Xt,yn){this._ngZone=J,this._platform=Ie,this._inputModalityDetector=rt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new j.B,this._rootNodeFocusAndBlurListener=Lt=>{for(let et=(0,D.Fb)(Lt);et;et=et.parentElement)"focus"===Lt.type?this._onFocus(Lt,et):this._onBlur(Lt,et)},this._document=Xt,this._detectionMode=yn?.detectionMode||Yt.IMMEDIATE}monitor(J,Ie=!1){const rt=(0,me.i8)(J);if(!this._platform.isBrowser||1!==rt.nodeType)return(0,G.of)();const Xt=(0,D.KT)(rt)||this._getDocument(),yn=this._elementInfo.get(rt);if(yn)return Ie&&(yn.checkChildren=!0),yn.subject;const Lt={checkChildren:Ie,subject:new j.B,rootNode:Xt};return this._elementInfo.set(rt,Lt),this._registerGlobalListeners(Lt),Lt.subject}stopMonitoring(J){const Ie=(0,me.i8)(J),rt=this._elementInfo.get(Ie);rt&&(rt.subject.complete(),this._setClasses(Ie),this._elementInfo.delete(Ie),this._removeGlobalListeners(rt))}focusVia(J,Ie,rt){const Xt=(0,me.i8)(J);Xt===this._getDocument().activeElement?this._getClosestElementsInfo(Xt).forEach(([Lt,Mt])=>this._originChanged(Lt,Ie,Mt)):(this._setOrigin(Ie),"function"==typeof Xt.focus&&Xt.focus(rt))}ngOnDestroy(){this._elementInfo.forEach((J,Ie)=>this.stopMonitoring(Ie))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(J){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(J)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:J&&this._isLastInteractionFromInputLabel(J)?"mouse":"program"}_shouldBeAttributedToTouch(J){return this._detectionMode===Yt.EVENTUAL||!!J?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(J,Ie){J.classList.toggle("cdk-focused",!!Ie),J.classList.toggle("cdk-touch-focused","touch"===Ie),J.classList.toggle("cdk-keyboard-focused","keyboard"===Ie),J.classList.toggle("cdk-mouse-focused","mouse"===Ie),J.classList.toggle("cdk-program-focused","program"===Ie)}_setOrigin(J,Ie=!1){this._ngZone.runOutsideAngular(()=>{this._origin=J,this._originFromTouchInteraction="touch"===J&&Ie,this._detectionMode===Yt.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(J,Ie){const rt=this._elementInfo.get(Ie),Xt=(0,D.Fb)(J);!rt||!rt.checkChildren&&Ie!==Xt||this._originChanged(Ie,this._getFocusOrigin(Xt),rt)}_onBlur(J,Ie){const rt=this._elementInfo.get(Ie);!rt||rt.checkChildren&&J.relatedTarget instanceof Node&&Ie.contains(J.relatedTarget)||(this._setClasses(Ie),this._emitOrigin(rt,null))}_emitOrigin(J,Ie){J.subject.observers.length&&this._ngZone.run(()=>J.subject.next(Ie))}_registerGlobalListeners(J){if(!this._platform.isBrowser)return;const Ie=J.rootNode,rt=this._rootNodeFocusListenerCount.get(Ie)||0;rt||this._ngZone.runOutsideAngular(()=>{Ie.addEventListener("focus",this._rootNodeFocusAndBlurListener,En),Ie.addEventListener("blur",this._rootNodeFocusAndBlurListener,En)}),this._rootNodeFocusListenerCount.set(Ie,rt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,de.Q)(this._stopInputModalityDetector)).subscribe(Xt=>{this._setOrigin(Xt,!0)}))}_removeGlobalListeners(J){const Ie=J.rootNode;if(this._rootNodeFocusListenerCount.has(Ie)){const rt=this._rootNodeFocusListenerCount.get(Ie);rt>1?this._rootNodeFocusListenerCount.set(Ie,rt-1):(Ie.removeEventListener("focus",this._rootNodeFocusAndBlurListener,En),Ie.removeEventListener("blur",this._rootNodeFocusAndBlurListener,En),this._rootNodeFocusListenerCount.delete(Ie))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(J,Ie,rt){this._setClasses(J,Ie),this._emitOrigin(rt,Ie),this._lastFocusOrigin=Ie}_getClosestElementsInfo(J){const Ie=[];return this._elementInfo.forEach((rt,Xt)=>{(Xt===J||rt.checkChildren&&Xt.contains(J))&&Ie.push([Xt,rt])}),Ie}_isLastInteractionFromInputLabel(J){const{_mostRecentTarget:Ie,mostRecentModality:rt}=this._inputModalityDetector;if("mouse"!==rt||!Ie||Ie===J||"INPUT"!==J.nodeName&&"TEXTAREA"!==J.nodeName||J.disabled)return!1;const Xt=J.labels;if(Xt)for(let yn=0;yn{class Ee{constructor(J,Ie){this._elementRef=J,this._focusMonitor=Ie,this._focusOrigin=null,this.cdkFocusChange=new p.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const J=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(J,1===J.nodeType&&J.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ie=>{this._focusOrigin=Ie,this.cdkFocusChange.emit(Ie)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Ie){return new(Ie||Ee)(p.rXU(p.aKT),p.rXU($n))};static#t=this.\u0275dir=p.FsC({type:Ee,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return Ee})();var Qn=function(Ee){return Ee[Ee.NONE=0]="NONE",Ee[Ee.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Ee[Ee.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Ee}(Qn||{});const Jt="cdk-high-contrast-black-on-white",wi="cdk-high-contrast-white-on-black",Qt="cdk-high-contrast-active";let Zt=(()=>{class Ee{constructor(J,Ie){this._platform=J,this._document=Ie,this._breakpointSubscription=(0,p.WQX)(Se.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Qn.NONE;const J=this._document.createElement("div");J.style.backgroundColor="rgb(1,2,3)",J.style.position="absolute",this._document.body.appendChild(J);const Ie=this._document.defaultView||window,rt=Ie&&Ie.getComputedStyle?Ie.getComputedStyle(J):null,Xt=(rt&&rt.backgroundColor||"").replace(/ /g,"");switch(J.remove(),Xt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Qn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Qn.BLACK_ON_WHITE}return Qn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const J=this._document.body.classList;J.remove(Qt,Jt,wi),this._hasCheckedHighContrastMode=!0;const Ie=this.getHighContrastMode();Ie===Qn.BLACK_ON_WHITE?J.add(Qt,Jt):Ie===Qn.WHITE_ON_BLACK&&J.add(Qt,wi)}}static#e=this.\u0275fac=function(Ie){return new(Ie||Ee)(p.KVO(D.OD),p.KVO(t.qQ))};static#t=this.\u0275prov=p.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}return Ee})(),He=(()=>{class Ee{constructor(J){J._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Ie){return new(Ie||Ee)(p.KVO(Zt))};static#t=this.\u0275mod=p.$C({type:Ee});static#n=this.\u0275inj=p.G2t({imports:[re.w5]})}return Ee})()},8203:(kt,De,u)=>{"use strict";u.d(De,{dS:()=>G,jI:()=>R});var t=u(4438),p=u(177);const D=new t.nKC("cdk-dir-doc",{providedIn:"root",factory:function j(){return(0,t.WQX)(p.qQ)}}),E=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let G=(()=>{class P{constructor(A){this.value="ltr",this.change=new t.bkB,A&&(this.value=function ee(P){const I=P?.toLowerCase()||"";return"auto"===I&&typeof navigator<"u"&&navigator?.language?E.test(navigator.language)?"rtl":"ltr":"rtl"===I?"rtl":"ltr"}((A.body?A.body.dir:null)||(A.documentElement?A.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(b){return new(b||P)(t.KVO(D,8))};static#t=this.\u0275prov=t.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),R=(()=>{class P{static#e=this.\u0275fac=function(b){return new(b||P)};static#t=this.\u0275mod=t.$C({type:P});static#n=this.\u0275inj=t.G2t({})}return P})()},4085:(kt,De,u)=>{"use strict";u.d(De,{FG:()=>E,OE:()=>D,a1:()=>ee,he:()=>p,i8:()=>G});var t=u(4438);function p(R){return null!=R&&"false"!=`${R}`}function D(R,P=0){return function j(R){return!isNaN(parseFloat(R))&&!isNaN(Number(R))}(R)?Number(R):P}function E(R){return Array.isArray(R)?R:[R]}function ee(R){return null==R?"":"string"==typeof R?R:`${R}px`}function G(R){return R instanceof t.aKT?R.nativeElement:R}},7336:(kt,De,u)=>{"use strict";u.d(De,{A:()=>ke,A$:()=>B,FX:()=>ee,Fm:()=>E,Ge:()=>jt,Kp:()=>L,LE:()=>Se,UQ:()=>re,W3:()=>G,Z:()=>pt,_f:()=>I,bn:()=>Be,dB:()=>F,eg:()=>Xi,f2:()=>pe,i7:()=>me,n6:()=>tt,rp:()=>Vi,t6:()=>A,w_:()=>b,wn:()=>D,yZ:()=>de});const D=9,E=13,ee=16,G=17,B=18,I=27,A=32,b=33,F=34,L=35,de=36,re=37,me=38,Se=39,tt=40,pe=48,Be=57,ke=65,pt=90,jt=91,Xi=224;function Vi(Pi,...dr){return dr.length?dr.some(Or=>Pi[Or]):Pi.altKey||Pi.shiftKey||Pi.ctrlKey||Pi.metaKey}},9327:(kt,De,u)=>{"use strict";u.d(De,{QP:()=>tt,Rp:()=>xe});var t=u(4438),p=u(4085),D=u(1413),j=u(4572),E=u(8793),ee=u(1985),G=u(6697),B=u(5245),R=u(152),P=u(6354),I=u(9172),A=u(6977),b=u(6860);const L=new Set;let de,re=(()=>{class ve{constructor(pe,Pe){this._platform=pe,this._nonce=Pe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Se}matchMedia(pe){return(this._platform.WEBKIT||this._platform.BLINK)&&function me(ve,ye){if(!L.has(ve))try{de||(de=document.createElement("style"),ye&&de.setAttribute("nonce",ye),de.setAttribute("type","text/css"),document.head.appendChild(de)),de.sheet&&(de.sheet.insertRule(`@media ${ve} {body{ }}`,0),L.add(ve))}catch(pe){console.error(pe)}}(pe,this._nonce),this._matchMedia(pe)}static#e=this.\u0275fac=function(Pe){return new(Pe||ve)(t.KVO(b.OD),t.KVO(t.BIS,8))};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();function Se(ve){return{matches:"all"===ve||""===ve,media:ve,addListener:()=>{},removeListener:()=>{}}}let tt=(()=>{class ve{constructor(pe,Pe){this._mediaMatcher=pe,this._zone=Pe,this._queries=new Map,this._destroySubject=new D.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(pe){return je((0,p.FG)(pe)).some($=>this._registerQuery($).mql.matches)}observe(pe){const $=je((0,p.FG)(pe)).map(Ke=>this._registerQuery(Ke).observable);let Oe=(0,j.z)($);return Oe=(0,E.x)(Oe.pipe((0,G.s)(1)),Oe.pipe((0,B.i)(1),(0,R.B)(0))),Oe.pipe((0,P.T)(Ke=>{const Nt={matches:!1,breakpoints:{}};return Ke.forEach(({matches:Ct,query:$t})=>{Nt.matches=Nt.matches||Ct,Nt.breakpoints[$t]=Ct}),Nt}))}_registerQuery(pe){if(this._queries.has(pe))return this._queries.get(pe);const Pe=this._mediaMatcher.matchMedia(pe),Oe={observable:new ee.c(Ke=>{const Nt=Ct=>this._zone.run(()=>Ke.next(Ct));return Pe.addListener(Nt),()=>{Pe.removeListener(Nt)}}).pipe((0,I.Z)(Pe),(0,P.T)(({matches:Ke})=>({query:pe,matches:Ke})),(0,A.Q)(this._destroySubject)),mql:Pe};return this._queries.set(pe,Oe),Oe}static#e=this.\u0275fac=function(Pe){return new(Pe||ve)(t.KVO(re),t.KVO(t.SKi))};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();function je(ve){return ve.map(ye=>ye.split(",")).reduce((ye,pe)=>ye.concat(pe)).map(ye=>ye.trim())}const xe={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},2318:(kt,De,u)=>{"use strict";u.d(De,{Wv:()=>B,w5:()=>R});var t=u(4085),p=u(4438),D=u(1985),j=u(1413),E=u(152);let ee=(()=>{class P{create(A){return typeof MutationObserver>"u"?null:new MutationObserver(A)}static#e=this.\u0275fac=function(b){return new(b||P)};static#t=this.\u0275prov=p.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),G=(()=>{class P{constructor(A){this._mutationObserverFactory=A,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((A,b)=>this._cleanupObserver(b))}observe(A){const b=(0,t.i8)(A);return new D.c(F=>{const de=this._observeElement(b).subscribe(F);return()=>{de.unsubscribe(),this._unobserveElement(b)}})}_observeElement(A){if(this._observedElements.has(A))this._observedElements.get(A).count++;else{const b=new j.B,F=this._mutationObserverFactory.create(L=>b.next(L));F&&F.observe(A,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(A,{observer:F,stream:b,count:1})}return this._observedElements.get(A).stream}_unobserveElement(A){this._observedElements.has(A)&&(this._observedElements.get(A).count--,this._observedElements.get(A).count||this._cleanupObserver(A))}_cleanupObserver(A){if(this._observedElements.has(A)){const{observer:b,stream:F}=this._observedElements.get(A);b&&b.disconnect(),F.complete(),this._observedElements.delete(A)}}static#e=this.\u0275fac=function(b){return new(b||P)(p.KVO(ee))};static#t=this.\u0275prov=p.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),B=(()=>{class P{get disabled(){return this._disabled}set disabled(A){this._disabled=A,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(A){this._debounce=(0,t.OE)(A),this._subscribe()}constructor(A,b,F){this._contentObserver=A,this._elementRef=b,this._ngZone=F,this.event=new p.bkB,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const A=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?A.pipe((0,E.B)(this.debounce)):A).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(b){return new(b||P)(p.rXU(G),p.rXU(p.aKT),p.rXU(p.SKi))};static#t=this.\u0275dir=p.FsC({type:P,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[p.Mj6.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",p.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[p.GFd]})}return P})(),R=(()=>{class P{static#e=this.\u0275fac=function(b){return new(b||P)};static#t=this.\u0275mod=p.$C({type:P});static#n=this.\u0275inj=p.G2t({providers:[ee]})}return P})()},7987:(kt,De,u)=>{"use strict";u.d(De,{$Q:()=>Le,Sf:()=>Be,WB:()=>at,hJ:()=>ii,rR:()=>pe,yY:()=>oe,z_:()=>Hn});var t=u(6914),p=u(177),D=u(4438),j=u(4085),E=u(6860),ee=u(5964),G=u(6697),B=u(6977),R=u(7048),P=u(8203),I=u(6939),A=u(1413),b=u(8359),F=u(7786),L=u(7336);const de=(0,E.CZ)();class re{constructor(ce,Ye){this._viewportRuler=ce,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ye}attach(){}enable(){if(this._canBeEnabled()){const ce=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ce.style.left||"",this._previousHTMLStyles.top=ce.style.top||"",ce.style.left=(0,j.a1)(-this._previousScrollPosition.left),ce.style.top=(0,j.a1)(-this._previousScrollPosition.top),ce.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ce=this._document.documentElement,Je=ce.style,xt=this._document.body.style,Kt=Je.scrollBehavior||"",pt=xt.scrollBehavior||"";this._isEnabled=!1,Je.left=this._previousHTMLStyles.left,Je.top=this._previousHTMLStyles.top,ce.classList.remove("cdk-global-scrollblock"),de&&(Je.scrollBehavior=xt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),de&&(Je.scrollBehavior=Kt,xt.scrollBehavior=pt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ye=this._document.body,Je=this._viewportRuler.getViewportSize();return Ye.scrollHeight>Je.height||Ye.scrollWidth>Je.width}}class Se{constructor(ce,Ye,Je,xt){this._scrollDispatcher=ce,this._ngZone=Ye,this._viewportRuler=Je,this._config=xt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ce){this._overlayRef=ce}enable(){if(this._scrollSubscription)return;const ce=this._scrollDispatcher.scrolled(0).pipe((0,ee.p)(Ye=>!Ye||!this._overlayRef.overlayElement.contains(Ye.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ce.subscribe(()=>{const Ye=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ye-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ce.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class tt{enable(){}disable(){}attach(){}}function je(Bt,ce){return ce.some(Ye=>Bt.bottomYe.bottom||Bt.rightYe.right)}function xe(Bt,ce){return ce.some(Ye=>Bt.topYe.bottom||Bt.leftYe.right)}class ve{constructor(ce,Ye,Je,xt){this._scrollDispatcher=ce,this._viewportRuler=Ye,this._ngZone=Je,this._config=xt,this._scrollSubscription=null}attach(ce){this._overlayRef=ce}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 Ye=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Je,height:xt}=this._viewportRuler.getViewportSize();je(Ye,[{width:Je,height:xt,bottom:xt,right:Je,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 ye=(()=>{class Bt{constructor(Ye,Je,xt,Kt){this._scrollDispatcher=Ye,this._viewportRuler=Je,this._ngZone=xt,this.noop=()=>new tt,this.close=pt=>new Se(this._scrollDispatcher,this._ngZone,this._viewportRuler,pt),this.block=()=>new re(this._viewportRuler,this._document),this.reposition=pt=>new ve(this._scrollDispatcher,this._viewportRuler,this._ngZone,pt),this._document=Kt}static#e=this.\u0275fac=function(Je){return new(Je||Bt)(D.KVO(t.R),D.KVO(t.Xj),D.KVO(D.SKi),D.KVO(p.qQ))};static#t=this.\u0275prov=D.jDH({token:Bt,factory:Bt.\u0275fac,providedIn:"root"})}return Bt})();class pe{constructor(ce){if(this.scrollStrategy=new tt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ce){const Ye=Object.keys(ce);for(const Je of Ye)void 0!==ce[Je]&&(this[Je]=ce[Je])}}}class Oe{constructor(ce,Ye){this.connectionPair=ce,this.scrollableViewProperties=Ye}}let Ct=(()=>{class Bt{constructor(Ye){this._attachedOverlays=[],this._document=Ye}ngOnDestroy(){this.detach()}add(Ye){this.remove(Ye),this._attachedOverlays.push(Ye)}remove(Ye){const Je=this._attachedOverlays.indexOf(Ye);Je>-1&&this._attachedOverlays.splice(Je,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Je){return new(Je||Bt)(D.KVO(p.qQ))};static#t=this.\u0275prov=D.jDH({token:Bt,factory:Bt.\u0275fac,providedIn:"root"})}return Bt})(),$t=(()=>{class Bt extends Ct{constructor(Ye,Je){super(Ye),this._ngZone=Je,this._keydownListener=xt=>{const Kt=this._attachedOverlays;for(let pt=Kt.length-1;pt>-1;pt--)if(Kt[pt]._keydownEvents.observers.length>0){const jt=Kt[pt]._keydownEvents;this._ngZone?this._ngZone.run(()=>jt.next(xt)):jt.next(xt);break}}}add(Ye){super.add(Ye),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(Je){return new(Je||Bt)(D.KVO(p.qQ),D.KVO(D.SKi,8))};static#t=this.\u0275prov=D.jDH({token:Bt,factory:Bt.\u0275fac,providedIn:"root"})}return Bt})(),be=(()=>{class Bt extends Ct{constructor(Ye,Je,xt){super(Ye),this._platform=Je,this._ngZone=xt,this._cursorStyleIsSet=!1,this._pointerDownListener=Kt=>{this._pointerDownEventTarget=(0,E.Fb)(Kt)},this._clickListener=Kt=>{const pt=(0,E.Fb)(Kt),jt="click"===Kt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:pt;this._pointerDownEventTarget=null;const nt=this._attachedOverlays.slice();for(let mt=nt.length-1;mt>-1;mt--){const At=nt[mt];if(At._outsidePointerEvents.observers.length<1||!At.hasAttached())continue;if(At.overlayElement.contains(pt)||At.overlayElement.contains(jt))break;const Yt=At._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Yt.next(Kt)):Yt.next(Kt)}}}add(Ye){if(super.add(Ye),!this._isAttached){const Je=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Je)):this._addEventListeners(Je),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Je.style.cursor,Je.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ye=this._document.body;Ye.removeEventListener("pointerdown",this._pointerDownListener,!0),Ye.removeEventListener("click",this._clickListener,!0),Ye.removeEventListener("auxclick",this._clickListener,!0),Ye.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ye.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ye){Ye.addEventListener("pointerdown",this._pointerDownListener,!0),Ye.addEventListener("click",this._clickListener,!0),Ye.addEventListener("auxclick",this._clickListener,!0),Ye.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Je){return new(Je||Bt)(D.KVO(p.qQ),D.KVO(E.OD),D.KVO(D.SKi,8))};static#t=this.\u0275prov=D.jDH({token:Bt,factory:Bt.\u0275fac,providedIn:"root"})}return Bt})(),Be=(()=>{class Bt{constructor(Ye,Je){this._platform=Je,this._document=Ye}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ye="cdk-overlay-container";if(this._platform.isBrowser||(0,E.v8)()){const xt=this._document.querySelectorAll(`.${Ye}[platform="server"], .${Ye}[platform="test"]`);for(let Kt=0;Ktthis._backdropClick.next(Yt),this._backdropTransitionendHandler=Yt=>{this._disposeBackdrop(Yt.target)},this._keydownEvents=new A.B,this._outsidePointerEvents=new A.B,xt.scrollStrategy&&(this._scrollStrategy=xt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=xt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ce){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ye=this._portalOutlet.attach(ce);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,G.s)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Ye?.onDestroy&&Ye.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ye}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ce=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ce}dispose(){const ce=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,ce&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ce){ce!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ce,this.hasAttached()&&(ce.attach(this),this.updatePosition()))}updateSize(ce){this._config={...this._config,...ce},this._updateElementSize()}setDirection(ce){this._config={...this._config,direction:ce},this._updateElementDirection()}addPanelClass(ce){this._pane&&this._toggleClasses(this._pane,ce,!0)}removePanelClass(ce){this._pane&&this._toggleClasses(this._pane,ce,!1)}getDirection(){const ce=this._config.direction;return ce?"string"==typeof ce?ce:ce.value:"ltr"}updateScrollStrategy(ce){ce!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ce,this.hasAttached()&&(ce.attach(this),ce.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ce=this._pane.style;ce.width=(0,j.a1)(this._config.width),ce.height=(0,j.a1)(this._config.height),ce.minWidth=(0,j.a1)(this._config.minWidth),ce.minHeight=(0,j.a1)(this._config.minHeight),ce.maxWidth=(0,j.a1)(this._config.maxWidth),ce.maxHeight=(0,j.a1)(this._config.maxHeight)}_togglePointerEvents(ce){this._pane.style.pointerEvents=ce?"":"none"}_attachBackdrop(){const ce="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(ce)})}):this._backdropElement.classList.add(ce)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ce=this._backdropElement;if(ce){if(this._animationsDisabled)return void this._disposeBackdrop(ce);ce.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ce.addEventListener("transitionend",this._backdropTransitionendHandler)}),ce.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ce)},500))}}_toggleClasses(ce,Ye,Je){const xt=(0,j.FG)(Ye||[]).filter(Kt=>!!Kt);xt.length&&(Je?ce.classList.add(...xt):ce.classList.remove(...xt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ce=this._ngZone.onStable.pipe((0,B.Q)((0,F.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ce.unsubscribe())})})}_disposeScrollStrategy(){const ce=this._scrollStrategy;ce&&(ce.disable(),ce.detach&&ce.detach())}_disposeBackdrop(ce){ce&&(ce.removeEventListener("click",this._backdropClickHandler),ce.removeEventListener("transitionend",this._backdropTransitionendHandler),ce.remove(),this._backdropElement===ce&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Re="cdk-overlay-connected-position-bounding-box",fe=/([A-Za-z%]+)$/;class ge{get positions(){return this._preferredPositions}constructor(ce,Ye,Je,xt,Kt){this._viewportRuler=Ye,this._document=Je,this._platform=xt,this._overlayContainer=Kt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new A.B,this._resizeSubscription=b.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ce)}attach(ce){this._validatePositions(),ce.hostElement.classList.add(Re),this._overlayRef=ce,this._boundingBox=ce.hostElement,this._pane=ce.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ce=this._originRect,Ye=this._overlayRect,Je=this._viewportRect,xt=this._containerRect,Kt=[];let pt;for(let jt of this._preferredPositions){let nt=this._getOriginPoint(ce,xt,jt),mt=this._getOverlayPoint(nt,Ye,jt),At=this._getOverlayFit(mt,Ye,Je,jt);if(At.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(jt,nt);this._canFitWithFlexibleDimensions(At,mt,Je)?Kt.push({position:jt,origin:nt,overlayRect:Ye,boundingBoxRect:this._calculateBoundingBoxRect(nt,jt)}):(!pt||pt.overlayFit.visibleAreant&&(nt=At,jt=mt)}return this._isPushed=!1,void this._applyPosition(jt.position,jt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(pt.position,pt.originPoint);this._applyPosition(pt.position,pt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ke(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Re),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ce=this._lastPosition;if(ce){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ye=this._getOriginPoint(this._originRect,this._containerRect,ce);this._applyPosition(ce,Ye)}else this.apply()}withScrollableContainers(ce){return this._scrollables=ce,this}withPositions(ce){return this._preferredPositions=ce,-1===ce.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ce){return this._viewportMargin=ce,this}withFlexibleDimensions(ce=!0){return this._hasFlexibleDimensions=ce,this}withGrowAfterOpen(ce=!0){return this._growAfterOpen=ce,this}withPush(ce=!0){return this._canPush=ce,this}withLockedPosition(ce=!0){return this._positionLocked=ce,this}setOrigin(ce){return this._origin=ce,this}withDefaultOffsetX(ce){return this._offsetX=ce,this}withDefaultOffsetY(ce){return this._offsetY=ce,this}withTransformOriginOn(ce){return this._transformOriginSelector=ce,this}_getOriginPoint(ce,Ye,Je){let xt,Kt;if("center"==Je.originX)xt=ce.left+ce.width/2;else{const pt=this._isRtl()?ce.right:ce.left,jt=this._isRtl()?ce.left:ce.right;xt="start"==Je.originX?pt:jt}return Ye.left<0&&(xt-=Ye.left),Kt="center"==Je.originY?ce.top+ce.height/2:"top"==Je.originY?ce.top:ce.bottom,Ye.top<0&&(Kt-=Ye.top),{x:xt,y:Kt}}_getOverlayPoint(ce,Ye,Je){let xt,Kt;return xt="center"==Je.overlayX?-Ye.width/2:"start"===Je.overlayX?this._isRtl()?-Ye.width:0:this._isRtl()?0:-Ye.width,Kt="center"==Je.overlayY?-Ye.height/2:"top"==Je.overlayY?0:-Ye.height,{x:ce.x+xt,y:ce.y+Kt}}_getOverlayFit(ce,Ye,Je,xt){const Kt=Ce(Ye);let{x:pt,y:jt}=ce,nt=this._getOffset(xt,"x"),mt=this._getOffset(xt,"y");nt&&(pt+=nt),mt&&(jt+=mt);let jn=0-jt,En=jt+Kt.height-Je.height,$n=this._subtractOverflows(Kt.width,0-pt,pt+Kt.width-Je.width),ki=this._subtractOverflows(Kt.height,jn,En),Qn=$n*ki;return{visibleArea:Qn,isCompletelyWithinViewport:Kt.width*Kt.height===Qn,fitsInViewportVertically:ki===Kt.height,fitsInViewportHorizontally:$n==Kt.width}}_canFitWithFlexibleDimensions(ce,Ye,Je){if(this._hasFlexibleDimensions){const xt=Je.bottom-Ye.y,Kt=Je.right-Ye.x,pt=qe(this._overlayRef.getConfig().minHeight),jt=qe(this._overlayRef.getConfig().minWidth);return(ce.fitsInViewportVertically||null!=pt&&pt<=xt)&&(ce.fitsInViewportHorizontally||null!=jt&&jt<=Kt)}return!1}_pushOverlayOnScreen(ce,Ye,Je){if(this._previousPushAmount&&this._positionLocked)return{x:ce.x+this._previousPushAmount.x,y:ce.y+this._previousPushAmount.y};const xt=Ce(Ye),Kt=this._viewportRect,pt=Math.max(ce.x+xt.width-Kt.width,0),jt=Math.max(ce.y+xt.height-Kt.height,0),nt=Math.max(Kt.top-Je.top-ce.y,0),mt=Math.max(Kt.left-Je.left-ce.x,0);let At=0,Yt=0;return At=xt.width<=Kt.width?mt||-pt:ce.x$n&&!this._isInitialRender&&!this._growAfterOpen&&(pt=ce.y-$n/2)}if("end"===Ye.overlayX&&!xt||"start"===Ye.overlayX&&xt)jn=Je.width-ce.x+2*this._viewportMargin,At=ce.x-this._viewportMargin;else if("start"===Ye.overlayX&&!xt||"end"===Ye.overlayX&&xt)Yt=ce.x,At=Je.right-ce.x;else{const En=Math.min(Je.right-ce.x+Je.left,ce.x),$n=this._lastBoundingBoxSize.width;At=2*En,Yt=ce.x-En,At>$n&&!this._isInitialRender&&!this._growAfterOpen&&(Yt=ce.x-$n/2)}return{top:pt,left:Yt,bottom:jt,right:jn,width:At,height:Kt}}_setBoundingBoxStyles(ce,Ye){const Je=this._calculateBoundingBoxRect(ce,Ye);!this._isInitialRender&&!this._growAfterOpen&&(Je.height=Math.min(Je.height,this._lastBoundingBoxSize.height),Je.width=Math.min(Je.width,this._lastBoundingBoxSize.width));const xt={};if(this._hasExactPosition())xt.top=xt.left="0",xt.bottom=xt.right=xt.maxHeight=xt.maxWidth="",xt.width=xt.height="100%";else{const Kt=this._overlayRef.getConfig().maxHeight,pt=this._overlayRef.getConfig().maxWidth;xt.height=(0,j.a1)(Je.height),xt.top=(0,j.a1)(Je.top),xt.bottom=(0,j.a1)(Je.bottom),xt.width=(0,j.a1)(Je.width),xt.left=(0,j.a1)(Je.left),xt.right=(0,j.a1)(Je.right),xt.alignItems="center"===Ye.overlayX?"center":"end"===Ye.overlayX?"flex-end":"flex-start",xt.justifyContent="center"===Ye.overlayY?"center":"bottom"===Ye.overlayY?"flex-end":"flex-start",Kt&&(xt.maxHeight=(0,j.a1)(Kt)),pt&&(xt.maxWidth=(0,j.a1)(pt))}this._lastBoundingBoxSize=Je,ke(this._boundingBox.style,xt)}_resetBoundingBoxStyles(){ke(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ke(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ce,Ye){const Je={},xt=this._hasExactPosition(),Kt=this._hasFlexibleDimensions,pt=this._overlayRef.getConfig();if(xt){const At=this._viewportRuler.getViewportScrollPosition();ke(Je,this._getExactOverlayY(Ye,ce,At)),ke(Je,this._getExactOverlayX(Ye,ce,At))}else Je.position="static";let jt="",nt=this._getOffset(Ye,"x"),mt=this._getOffset(Ye,"y");nt&&(jt+=`translateX(${nt}px) `),mt&&(jt+=`translateY(${mt}px)`),Je.transform=jt.trim(),pt.maxHeight&&(xt?Je.maxHeight=(0,j.a1)(pt.maxHeight):Kt&&(Je.maxHeight="")),pt.maxWidth&&(xt?Je.maxWidth=(0,j.a1)(pt.maxWidth):Kt&&(Je.maxWidth="")),ke(this._pane.style,Je)}_getExactOverlayY(ce,Ye,Je){let xt={top:"",bottom:""},Kt=this._getOverlayPoint(Ye,this._overlayRect,ce);return this._isPushed&&(Kt=this._pushOverlayOnScreen(Kt,this._overlayRect,Je)),"bottom"===ce.overlayY?xt.bottom=this._document.documentElement.clientHeight-(Kt.y+this._overlayRect.height)+"px":xt.top=(0,j.a1)(Kt.y),xt}_getExactOverlayX(ce,Ye,Je){let pt,xt={left:"",right:""},Kt=this._getOverlayPoint(Ye,this._overlayRect,ce);return this._isPushed&&(Kt=this._pushOverlayOnScreen(Kt,this._overlayRect,Je)),pt=this._isRtl()?"end"===ce.overlayX?"left":"right":"end"===ce.overlayX?"right":"left","right"===pt?xt.right=this._document.documentElement.clientWidth-(Kt.x+this._overlayRect.width)+"px":xt.left=(0,j.a1)(Kt.x),xt}_getScrollVisibility(){const ce=this._getOriginRect(),Ye=this._pane.getBoundingClientRect(),Je=this._scrollables.map(xt=>xt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xe(ce,Je),isOriginOutsideView:je(ce,Je),isOverlayClipped:xe(Ye,Je),isOverlayOutsideView:je(Ye,Je)}}_subtractOverflows(ce,...Ye){return Ye.reduce((Je,xt)=>Je-Math.max(xt,0),ce)}_getNarrowedViewportRect(){const ce=this._document.documentElement.clientWidth,Ye=this._document.documentElement.clientHeight,Je=this._viewportRuler.getViewportScrollPosition();return{top:Je.top+this._viewportMargin,left:Je.left+this._viewportMargin,right:Je.left+ce-this._viewportMargin,bottom:Je.top+Ye-this._viewportMargin,width:ce-2*this._viewportMargin,height:Ye-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ce,Ye){return"x"===Ye?null==ce.offsetX?this._offsetX:ce.offsetX:null==ce.offsetY?this._offsetY:ce.offsetY}_validatePositions(){}_addPanelClasses(ce){this._pane&&(0,j.FG)(ce).forEach(Ye=>{""!==Ye&&-1===this._appliedPanelClasses.indexOf(Ye)&&(this._appliedPanelClasses.push(Ye),this._pane.classList.add(Ye))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ce=>{this._pane.classList.remove(ce)}),this._appliedPanelClasses=[])}_getOriginRect(){const ce=this._origin;if(ce instanceof D.aKT)return ce.nativeElement.getBoundingClientRect();if(ce instanceof Element)return ce.getBoundingClientRect();const Ye=ce.width||0,Je=ce.height||0;return{top:ce.y,bottom:ce.y+Je,left:ce.x,right:ce.x+Ye,height:Je,width:Ye}}}function ke(Bt,ce){for(let Ye in ce)ce.hasOwnProperty(Ye)&&(Bt[Ye]=ce[Ye]);return Bt}function qe(Bt){if("number"!=typeof Bt&&null!=Bt){const[ce,Ye]=Bt.split(fe);return Ye&&"px"!==Ye?null:parseFloat(ce)}return Bt||null}function Ce(Bt){return{top:Math.floor(Bt.top),right:Math.floor(Bt.right),bottom:Math.floor(Bt.bottom),left:Math.floor(Bt.left),width:Math.floor(Bt.width),height:Math.floor(Bt.height)}}const an="cdk-global-overlay-wrapper";class xn{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ce){const Ye=ce.getConfig();this._overlayRef=ce,this._width&&!Ye.width&&ce.updateSize({width:this._width}),this._height&&!Ye.height&&ce.updateSize({height:this._height}),ce.hostElement.classList.add(an),this._isDisposed=!1}top(ce=""){return this._bottomOffset="",this._topOffset=ce,this._alignItems="flex-start",this}left(ce=""){return this._xOffset=ce,this._xPosition="left",this}bottom(ce=""){return this._topOffset="",this._bottomOffset=ce,this._alignItems="flex-end",this}right(ce=""){return this._xOffset=ce,this._xPosition="right",this}start(ce=""){return this._xOffset=ce,this._xPosition="start",this}end(ce=""){return this._xOffset=ce,this._xPosition="end",this}width(ce=""){return this._overlayRef?this._overlayRef.updateSize({width:ce}):this._width=ce,this}height(ce=""){return this._overlayRef?this._overlayRef.updateSize({height:ce}):this._height=ce,this}centerHorizontally(ce=""){return this.left(ce),this._xPosition="center",this}centerVertically(ce=""){return this.top(ce),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ce=this._overlayRef.overlayElement.style,Ye=this._overlayRef.hostElement.style,Je=this._overlayRef.getConfig(),{width:xt,height:Kt,maxWidth:pt,maxHeight:jt}=Je,nt=!("100%"!==xt&&"100vw"!==xt||pt&&"100%"!==pt&&"100vw"!==pt),mt=!("100%"!==Kt&&"100vh"!==Kt||jt&&"100%"!==jt&&"100vh"!==jt),At=this._xPosition,Yt=this._xOffset,jn="rtl"===this._overlayRef.getConfig().direction;let En="",$n="",ki="";nt?ki="flex-start":"center"===At?(ki="center",jn?$n=Yt:En=Yt):jn?"left"===At||"end"===At?(ki="flex-end",En=Yt):("right"===At||"start"===At)&&(ki="flex-start",$n=Yt):"left"===At||"start"===At?(ki="flex-start",En=Yt):("right"===At||"end"===At)&&(ki="flex-end",$n=Yt),ce.position=this._cssPosition,ce.marginLeft=nt?"0":En,ce.marginTop=mt?"0":this._topOffset,ce.marginBottom=this._bottomOffset,ce.marginRight=nt?"0":$n,Ye.justifyContent=ki,Ye.alignItems=mt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ce=this._overlayRef.overlayElement.style,Ye=this._overlayRef.hostElement,Je=Ye.style;Ye.classList.remove(an),Je.justifyContent=Je.alignItems=ce.marginTop=ce.marginBottom=ce.marginLeft=ce.marginRight=ce.position="",this._overlayRef=null,this._isDisposed=!0}}let Tn=(()=>{class Bt{constructor(Ye,Je,xt,Kt){this._viewportRuler=Ye,this._document=Je,this._platform=xt,this._overlayContainer=Kt}global(){return new xn}flexibleConnectedTo(Ye){return new ge(Ye,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Je){return new(Je||Bt)(D.KVO(t.Xj),D.KVO(p.qQ),D.KVO(E.OD),D.KVO(Be))};static#t=this.\u0275prov=D.jDH({token:Bt,factory:Bt.\u0275fac,providedIn:"root"})}return Bt})(),Rn=0,ii=(()=>{class Bt{constructor(Ye,Je,xt,Kt,pt,jt,nt,mt,At,Yt,jn,En){this.scrollStrategies=Ye,this._overlayContainer=Je,this._componentFactoryResolver=xt,this._positionBuilder=Kt,this._keyboardDispatcher=pt,this._injector=jt,this._ngZone=nt,this._document=mt,this._directionality=At,this._location=Yt,this._outsideClickDispatcher=jn,this._animationsModuleType=En}create(Ye){const Je=this._createHostElement(),xt=this._createPaneElement(Je),Kt=this._createPortalOutlet(xt),pt=new pe(Ye);return pt.direction=pt.direction||this._directionality.value,new oe(Kt,Je,xt,pt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ye){const Je=this._document.createElement("div");return Je.id="cdk-overlay-"+Rn++,Je.classList.add("cdk-overlay-pane"),Ye.appendChild(Je),Je}_createHostElement(){const Ye=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ye),Ye}_createPortalOutlet(Ye){return this._appRef||(this._appRef=this._injector.get(D.o8S)),new I.aI(Ye,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Je){return new(Je||Bt)(D.KVO(ye),D.KVO(Be),D.KVO(D.OM3),D.KVO(Tn),D.KVO($t),D.KVO(D.zZn),D.KVO(D.SKi),D.KVO(p.qQ),D.KVO(P.dS),D.KVO(p.aZ),D.KVO(be),D.KVO(D.bc$,8))};static#t=this.\u0275prov=D.jDH({token:Bt,factory:Bt.\u0275fac,providedIn:"root"})}return Bt})();const Cn=[{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"}],ot=new D.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Bt=(0,D.WQX)(ii);return()=>Bt.scrollStrategies.reposition()}});let Le=(()=>{class Bt{constructor(Ye){this.elementRef=Ye}static#e=this.\u0275fac=function(Je){return new(Je||Bt)(D.rXU(D.aKT))};static#t=this.\u0275dir=D.FsC({type:Bt,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return Bt})(),at=(()=>{class Bt{get offsetX(){return this._offsetX}set offsetX(Ye){this._offsetX=Ye,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Ye){this._offsetY=Ye,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Ye){this._disposeOnNavigation=Ye}constructor(Ye,Je,xt,Kt,pt){this._overlay=Ye,this._dir=pt,this._backdropSubscription=b.yU.EMPTY,this._attachSubscription=b.yU.EMPTY,this._detachSubscription=b.yU.EMPTY,this._positionSubscription=b.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,D.WQX)(D.SKi),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new D.bkB,this.positionChange=new D.bkB,this.attach=new D.bkB,this.detach=new D.bkB,this.overlayKeydown=new D.bkB,this.overlayOutsideClick=new D.bkB,this._templatePortal=new I.VA(Je,xt),this._scrollStrategyFactory=Kt,this.scrollStrategy=this._scrollStrategyFactory()}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&&this._overlayRef.dispose()}ngOnChanges(Ye){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Ye.origin&&this.open&&this._position.apply()),Ye.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Cn);const Ye=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Ye.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Ye.detachments().subscribe(()=>this.detach.emit()),Ye.keydownEvents().subscribe(Je=>{this.overlayKeydown.next(Je),Je.keyCode===L._f&&!this.disableClose&&!(0,L.rp)(Je)&&(Je.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Je=>{this.overlayOutsideClick.next(Je)})}_buildConfig(){const Ye=this._position=this.positionStrategy||this._createPositionStrategy(),Je=new pe({direction:this._dir,positionStrategy:Ye,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Je.width=this.width),(this.height||0===this.height)&&(Je.height=this.height),(this.minWidth||0===this.minWidth)&&(Je.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Je.minHeight=this.minHeight),this.backdropClass&&(Je.backdropClass=this.backdropClass),this.panelClass&&(Je.panelClass=this.panelClass),Je}_updatePositionStrategy(Ye){const Je=this.positions.map(xt=>({originX:xt.originX,originY:xt.originY,overlayX:xt.overlayX,overlayY:xt.overlayY,offsetX:xt.offsetX||this.offsetX,offsetY:xt.offsetY||this.offsetY,panelClass:xt.panelClass||void 0}));return Ye.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Je).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Ye=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Ye),Ye}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Le?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Ye=>{this.backdropClick.emit(Ye)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,R.v)(()=>this.positionChange.observers.length>0)).subscribe(Ye=>{this._ngZone.run(()=>this.positionChange.emit(Ye)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Je){return new(Je||Bt)(D.rXU(ii),D.rXU(D.C4Q),D.rXU(D.c1b),D.rXU(ot),D.rXU(P.dS,8))};static#t=this.\u0275dir=D.FsC({type:Bt,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[D.Mj6.None,"cdkConnectedOverlayOrigin","origin"],positions:[D.Mj6.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[D.Mj6.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[D.Mj6.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[D.Mj6.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[D.Mj6.None,"cdkConnectedOverlayWidth","width"],height:[D.Mj6.None,"cdkConnectedOverlayHeight","height"],minWidth:[D.Mj6.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[D.Mj6.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[D.Mj6.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[D.Mj6.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[D.Mj6.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[D.Mj6.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[D.Mj6.None,"cdkConnectedOverlayOpen","open"],disableClose:[D.Mj6.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[D.Mj6.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[D.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",D.L39],lockPosition:[D.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",D.L39],flexibleDimensions:[D.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",D.L39],growAfterOpen:[D.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",D.L39],push:[D.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",D.L39],disposeOnNavigation:[D.Mj6.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",D.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[D.GFd,D.OA$]})}return Bt})();const rn={provide:ot,deps:[ii],useFactory:function _t(Bt){return()=>Bt.scrollStrategies.reposition()}};let Hn=(()=>{class Bt{static#e=this.\u0275fac=function(Je){return new(Je||Bt)};static#t=this.\u0275mod=D.$C({type:Bt});static#n=this.\u0275inj=D.G2t({providers:[ii,rn],imports:[P.jI,I.jc,t.E9,t.E9]})}return Bt})()},6860:(kt,De,u)=>{"use strict";u.d(De,{BD:()=>de,BQ:()=>I,CZ:()=>L,Fb:()=>je,KT:()=>Se,MU:()=>B,OD:()=>j,r5:()=>A,v8:()=>xe,vc:()=>tt});var t=u(4438),p=u(177);let D;try{D=typeof Intl<"u"&&Intl.v8BreakIterator}catch{D=!1}let ee,j=(()=>{class ve{constructor(pe){this._platformId=pe,this.isBrowser=this._platformId?(0,p.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!D)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(Pe){return new(Pe||ve)(t.KVO(t.Agw))};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();const G=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function B(){if(ee)return ee;if("object"!=typeof document||!document)return ee=new Set(G),ee;let ve=document.createElement("input");return ee=new Set(G.filter(ye=>(ve.setAttribute("type",ye),ve.type===ye))),ee}let R;function I(ve){return function P(){if(null==R&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>R=!0}))}finally{R=R||!1}return R}()?ve:!!ve.capture}var A=function(ve){return ve[ve.NORMAL=0]="NORMAL",ve[ve.NEGATED=1]="NEGATED",ve[ve.INVERTED=2]="INVERTED",ve}(A||{});let b,F,re;function L(){if(null==F){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return F=!1,F;if("scrollBehavior"in document.documentElement.style)F=!0;else{const ve=Element.prototype.scrollTo;F=!!ve&&!/\{\s*\[native code\]\s*\}/.test(ve.toString())}}return F}function de(){if("object"!=typeof document||!document)return A.NORMAL;if(null==b){const ve=document.createElement("div"),ye=ve.style;ve.dir="rtl",ye.width="1px",ye.overflow="auto",ye.visibility="hidden",ye.pointerEvents="none",ye.position="absolute";const pe=document.createElement("div"),Pe=pe.style;Pe.width="2px",Pe.height="1px",ve.appendChild(pe),document.body.appendChild(ve),b=A.NORMAL,0===ve.scrollLeft&&(ve.scrollLeft=1,b=0===ve.scrollLeft?A.NEGATED:A.INVERTED),ve.remove()}return b}function Se(ve){if(function me(){if(null==re){const ve=typeof document<"u"?document.head:null;re=!(!ve||!ve.createShadowRoot&&!ve.attachShadow)}return re}()){const ye=ve.getRootNode?ve.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ye instanceof ShadowRoot)return ye}return null}function tt(){let ve=typeof document<"u"&&document?document.activeElement:null;for(;ve&&ve.shadowRoot;){const ye=ve.shadowRoot.activeElement;if(ye===ve)break;ve=ye}return ve}function je(ve){return ve.composedPath?ve.composedPath()[0]:ve.target}function xe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(kt,De,u)=>{"use strict";u.d(De,{A8:()=>P,I3:()=>Se,VA:()=>I,aI:()=>L,bV:()=>re,jc:()=>je,lb:()=>b});var t=u(4438),p=u(177);class R{attach(ye){return this._attachedHost=ye,ye.attach(this)}detach(){let ye=this._attachedHost;null!=ye&&(this._attachedHost=null,ye.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ye){this._attachedHost=ye}}class P extends R{constructor(ye,pe,Pe,$,Oe){super(),this.component=ye,this.viewContainerRef=pe,this.injector=Pe,this.componentFactoryResolver=$,this.projectableNodes=Oe}}class I extends R{constructor(ye,pe,Pe,$){super(),this.templateRef=ye,this.viewContainerRef=pe,this.context=Pe,this.injector=$}get origin(){return this.templateRef.elementRef}attach(ye,pe=this.context){return this.context=pe,super.attach(ye)}detach(){return this.context=void 0,super.detach()}}class A extends R{constructor(ye){super(),this.element=ye instanceof t.aKT?ye.nativeElement:ye}}class b{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ye){return ye instanceof P?(this._attachedPortal=ye,this.attachComponentPortal(ye)):ye instanceof I?(this._attachedPortal=ye,this.attachTemplatePortal(ye)):this.attachDomPortal&&ye instanceof A?(this._attachedPortal=ye,this.attachDomPortal(ye)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ye){this._disposeFn=ye}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class L extends b{constructor(ye,pe,Pe,$,Oe){super(),this.outletElement=ye,this._componentFactoryResolver=pe,this._appRef=Pe,this._defaultInjector=$,this.attachDomPortal=Ke=>{const Nt=Ke.element,Ct=this._document.createComment("dom-portal");Nt.parentNode.insertBefore(Ct,Nt),this.outletElement.appendChild(Nt),this._attachedPortal=Ke,super.setDisposeFn(()=>{Ct.parentNode&&Ct.parentNode.replaceChild(Nt,Ct)})},this._document=Oe}attachComponentPortal(ye){const Pe=(ye.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ye.component);let $;return ye.viewContainerRef?($=ye.viewContainerRef.createComponent(Pe,ye.viewContainerRef.length,ye.injector||ye.viewContainerRef.injector,ye.projectableNodes||void 0),this.setDisposeFn(()=>$.destroy())):($=Pe.create(ye.injector||this._defaultInjector||t.zZn.NULL),this._appRef.attachView($.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView($.hostView),$.destroy()})),this.outletElement.appendChild(this._getComponentRootNode($)),this._attachedPortal=ye,$}attachTemplatePortal(ye){let pe=ye.viewContainerRef,Pe=pe.createEmbeddedView(ye.templateRef,ye.context,{injector:ye.injector});return Pe.rootNodes.forEach($=>this.outletElement.appendChild($)),Pe.detectChanges(),this.setDisposeFn(()=>{let $=pe.indexOf(Pe);-1!==$&&pe.remove($)}),this._attachedPortal=ye,Pe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ye){return ye.hostView.rootNodes[0]}}let re=(()=>{class ve extends I{constructor(pe,Pe){super(pe,Pe)}static#e=this.\u0275fac=function(Pe){return new(Pe||ve)(t.rXU(t.C4Q),t.rXU(t.c1b))};static#t=this.\u0275dir=t.FsC({type:ve,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[t.Vt3]})}return ve})(),Se=(()=>{class ve extends b{constructor(pe,Pe,$){super(),this._componentFactoryResolver=pe,this._viewContainerRef=Pe,this._isInitialized=!1,this.attached=new t.bkB,this.attachDomPortal=Oe=>{const Ke=Oe.element,Nt=this._document.createComment("dom-portal");Oe.setAttachedHost(this),Ke.parentNode.insertBefore(Nt,Ke),this._getRootNode().appendChild(Ke),this._attachedPortal=Oe,super.setDisposeFn(()=>{Nt.parentNode&&Nt.parentNode.replaceChild(Ke,Nt)})},this._document=$}get portal(){return this._attachedPortal}set portal(pe){this.hasAttached()&&!pe&&!this._isInitialized||(this.hasAttached()&&super.detach(),pe&&super.attach(pe),this._attachedPortal=pe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(pe){pe.setAttachedHost(this);const Pe=null!=pe.viewContainerRef?pe.viewContainerRef:this._viewContainerRef,Oe=(pe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(pe.component),Ke=Pe.createComponent(Oe,Pe.length,pe.injector||Pe.injector,pe.projectableNodes||void 0);return Pe!==this._viewContainerRef&&this._getRootNode().appendChild(Ke.hostView.rootNodes[0]),super.setDisposeFn(()=>Ke.destroy()),this._attachedPortal=pe,this._attachedRef=Ke,this.attached.emit(Ke),Ke}attachTemplatePortal(pe){pe.setAttachedHost(this);const Pe=this._viewContainerRef.createEmbeddedView(pe.templateRef,pe.context,{injector:pe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=pe,this._attachedRef=Pe,this.attached.emit(Pe),Pe}_getRootNode(){const pe=this._viewContainerRef.element.nativeElement;return pe.nodeType===pe.ELEMENT_NODE?pe:pe.parentNode}static#e=this.\u0275fac=function(Pe){return new(Pe||ve)(t.rXU(t.OM3),t.rXU(t.c1b),t.rXU(p.qQ))};static#t=this.\u0275dir=t.FsC({type:ve,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[t.Mj6.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[t.Vt3]})}return ve})(),je=(()=>{class ve{static#e=this.\u0275fac=function(Pe){return new(Pe||ve)};static#t=this.\u0275mod=t.$C({type:ve});static#n=this.\u0275inj=t.G2t({})}return ve})()},6914:(kt,De,u)=>{"use strict";u.d(De,{uv:()=>Re,Gj:()=>Rn,R:()=>oe,E9:()=>ii,Xj:()=>ge});var t=u(4085),p=u(4438),D=u(1413),j=u(7673),E=u(1985),ee=u(3726),G=u(6780),B=u(8359);const R={schedule(Cn){let ot=requestAnimationFrame,Le=cancelAnimationFrame;const{delegate:at}=R;at&&(ot=at.requestAnimationFrame,Le=at.cancelAnimationFrame);const _t=ot(rn=>{Le=void 0,Cn(rn)});return new B.yU(()=>Le?.(_t))},requestAnimationFrame(...Cn){const{delegate:ot}=R;return(ot?.requestAnimationFrame||requestAnimationFrame)(...Cn)},cancelAnimationFrame(...Cn){const{delegate:ot}=R;return(ot?.cancelAnimationFrame||cancelAnimationFrame)(...Cn)},delegate:void 0};var I=u(9687);new class A extends I.q{flush(ot){this._active=!0;const Le=this._scheduled;this._scheduled=void 0;const{actions:at}=this;let _t;ot=ot||at.shift();do{if(_t=ot.execute(ot.state,ot.delay))break}while((ot=at[0])&&ot.id===Le&&at.shift());if(this._active=!1,_t){for(;(ot=at[0])&&ot.id===Le&&at.shift();)ot.unsubscribe();throw _t}}}(class P extends G.R{constructor(ot,Le){super(ot,Le),this.scheduler=ot,this.work=Le}requestAsyncId(ot,Le,at=0){return null!==at&&at>0?super.requestAsyncId(ot,Le,at):(ot.actions.push(this),ot._scheduled||(ot._scheduled=R.requestAnimationFrame(()=>ot.flush(void 0))))}recycleAsyncId(ot,Le,at=0){var _t;if(null!=at?at>0:this.delay>0)return super.recycleAsyncId(ot,Le,at);const{actions:rn}=ot;null!=Le&&(null===(_t=rn[rn.length-1])||void 0===_t?void 0:_t.id)!==Le&&(R.cancelAnimationFrame(Le),ot._scheduled=void 0)}});u(5007);var de=u(3236),re=u(9974),me=u(8750),Se=u(4360),je=u(1584);function xe(Cn,ot=de.E){return function tt(Cn){return(0,re.N)((ot,Le)=>{let at=!1,_t=null,rn=null,Hn=!1;const Xn=()=>{if(rn?.unsubscribe(),rn=null,at){at=!1;const ce=_t;_t=null,Le.next(ce)}Hn&&Le.complete()},Bt=()=>{rn=null,Hn&&Le.complete()};ot.subscribe((0,Se._)(Le,ce=>{at=!0,_t=ce,rn||(0,me.Tg)(Cn(ce)).subscribe(rn=(0,Se._)(Le,Xn,Bt))},()=>{Hn=!0,(!at||!rn||rn.closed)&&Le.complete()}))})}(()=>(0,je.O)(Cn,ot))}var ve=u(5964),ye=u(6977),pe=u(6860),Pe=u(177),$=u(8203);let oe=(()=>{class Cn{constructor(Le,at,_t){this._ngZone=Le,this._platform=at,this._scrolled=new D.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=_t}register(Le){this.scrollContainers.has(Le)||this.scrollContainers.set(Le,Le.elementScrolled().subscribe(()=>this._scrolled.next(Le)))}deregister(Le){const at=this.scrollContainers.get(Le);at&&(at.unsubscribe(),this.scrollContainers.delete(Le))}scrolled(Le=20){return this._platform.isBrowser?new E.c(at=>{this._globalSubscription||this._addGlobalListener();const _t=Le>0?this._scrolled.pipe(xe(Le)).subscribe(at):this._scrolled.subscribe(at);return this._scrolledCount++,()=>{_t.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,j.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Le,at)=>this.deregister(at)),this._scrolled.complete()}ancestorScrolled(Le,at){const _t=this.getAncestorScrollContainers(Le);return this.scrolled(at).pipe((0,ve.p)(rn=>!rn||_t.indexOf(rn)>-1))}getAncestorScrollContainers(Le){const at=[];return this.scrollContainers.forEach((_t,rn)=>{this._scrollableContainsElement(rn,Le)&&at.push(rn)}),at}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Le,at){let _t=(0,t.i8)(at),rn=Le.getElementRef().nativeElement;do{if(_t==rn)return!0}while(_t=_t.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Le=this._getWindow();return(0,ee.R)(Le.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(at){return new(at||Cn)(p.KVO(p.SKi),p.KVO(pe.OD),p.KVO(Pe.qQ,8))};static#t=this.\u0275prov=p.jDH({token:Cn,factory:Cn.\u0275fac,providedIn:"root"})}return Cn})(),Re=(()=>{class Cn{constructor(Le,at,_t,rn){this.elementRef=Le,this.scrollDispatcher=at,this.ngZone=_t,this.dir=rn,this._destroyed=new D.B,this._elementScrolled=new E.c(Hn=>this.ngZone.runOutsideAngular(()=>(0,ee.R)(this.elementRef.nativeElement,"scroll").pipe((0,ye.Q)(this._destroyed)).subscribe(Hn)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Le){const at=this.elementRef.nativeElement,_t=this.dir&&"rtl"==this.dir.value;null==Le.left&&(Le.left=_t?Le.end:Le.start),null==Le.right&&(Le.right=_t?Le.start:Le.end),null!=Le.bottom&&(Le.top=at.scrollHeight-at.clientHeight-Le.bottom),_t&&(0,pe.BD)()!=pe.r5.NORMAL?(null!=Le.left&&(Le.right=at.scrollWidth-at.clientWidth-Le.left),(0,pe.BD)()==pe.r5.INVERTED?Le.left=Le.right:(0,pe.BD)()==pe.r5.NEGATED&&(Le.left=Le.right?-Le.right:Le.right)):null!=Le.right&&(Le.left=at.scrollWidth-at.clientWidth-Le.right),this._applyScrollToOptions(Le)}_applyScrollToOptions(Le){const at=this.elementRef.nativeElement;(0,pe.CZ)()?at.scrollTo(Le):(null!=Le.top&&(at.scrollTop=Le.top),null!=Le.left&&(at.scrollLeft=Le.left))}measureScrollOffset(Le){const at="left",rn=this.elementRef.nativeElement;if("top"==Le)return rn.scrollTop;if("bottom"==Le)return rn.scrollHeight-rn.clientHeight-rn.scrollTop;const Hn=this.dir&&"rtl"==this.dir.value;return"start"==Le?Le=Hn?"right":at:"end"==Le&&(Le=Hn?at:"right"),Hn&&(0,pe.BD)()==pe.r5.INVERTED?Le==at?rn.scrollWidth-rn.clientWidth-rn.scrollLeft:rn.scrollLeft:Hn&&(0,pe.BD)()==pe.r5.NEGATED?Le==at?rn.scrollLeft+rn.scrollWidth-rn.clientWidth:-rn.scrollLeft:Le==at?rn.scrollLeft:rn.scrollWidth-rn.clientWidth-rn.scrollLeft}static#e=this.\u0275fac=function(at){return new(at||Cn)(p.rXU(p.aKT),p.rXU(oe),p.rXU(p.SKi),p.rXU($.dS,8))};static#t=this.\u0275dir=p.FsC({type:Cn,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return Cn})(),ge=(()=>{class Cn{constructor(Le,at,_t){this._platform=Le,this._change=new D.B,this._changeListener=rn=>{this._change.next(rn)},this._document=_t,at.runOutsideAngular(()=>{if(Le.isBrowser){const rn=this._getWindow();rn.addEventListener("resize",this._changeListener),rn.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Le=this._getWindow();Le.removeEventListener("resize",this._changeListener),Le.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Le={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Le}getViewportRect(){const Le=this.getViewportScrollPosition(),{width:at,height:_t}=this.getViewportSize();return{top:Le.top,left:Le.left,bottom:Le.top+_t,right:Le.left+at,height:_t,width:at}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Le=this._document,at=this._getWindow(),_t=Le.documentElement,rn=_t.getBoundingClientRect();return{top:-rn.top||Le.body.scrollTop||at.scrollY||_t.scrollTop||0,left:-rn.left||Le.body.scrollLeft||at.scrollX||_t.scrollLeft||0}}change(Le=20){return Le>0?this._change.pipe(xe(Le)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Le=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Le.innerWidth,height:Le.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(at){return new(at||Cn)(p.KVO(pe.OD),p.KVO(p.SKi),p.KVO(Pe.qQ,8))};static#t=this.\u0275prov=p.jDH({token:Cn,factory:Cn.\u0275fac,providedIn:"root"})}return Cn})(),Rn=(()=>{class Cn{static#e=this.\u0275fac=function(at){return new(at||Cn)};static#t=this.\u0275mod=p.$C({type:Cn});static#n=this.\u0275inj=p.G2t({})}return Cn})(),ii=(()=>{class Cn{static#e=this.\u0275fac=function(at){return new(at||Cn)};static#t=this.\u0275mod=p.$C({type:Cn});static#n=this.\u0275inj=p.G2t({imports:[$.jI,Rn,$.jI,Rn]})}return Cn})()},177:(kt,De,u)=>{"use strict";u.d(De,{AJ:()=>Ao,B3:()=>pn,EO:()=>Ue,Jj:()=>li,MD:()=>Ko,N0:()=>ga,QT:()=>D,QX:()=>Li,Sq:()=>Jn,T3:()=>ft,UE:()=>to,VF:()=>E,Vy:()=>Zs,Xr:()=>wo,YU:()=>yt,ZD:()=>j,_b:()=>st,aZ:()=>me,bT:()=>Vi,e1:()=>Sr,hb:()=>F,pM:()=>Jn,qQ:()=>G,ux:()=>Ni,vh:()=>ro});var t=u(4438);let p=null;function D(){return p}function j(y){p??=y}class E{}const G=new t.nKC("");let B=(()=>{class y{historyGo(V){throw new Error("")}static#e=this.\u0275fac=function(te){return new(te||y)};static#t=this.\u0275prov=t.jDH({token:y,factory:()=>(0,t.WQX)(P),providedIn:"platform"})}return y})(),P=(()=>{class y extends B{constructor(){super(),this._doc=(0,t.WQX)(G),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return D().getBaseHref(this._doc)}onPopState(V){const te=D().getGlobalEventTarget(this._doc,"window");return te.addEventListener("popstate",V,!1),()=>te.removeEventListener("popstate",V)}onHashChange(V){const te=D().getGlobalEventTarget(this._doc,"window");return te.addEventListener("hashchange",V,!1),()=>te.removeEventListener("hashchange",V)}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(V){this._location.pathname=V}pushState(V,te,$e){this._history.pushState(V,te,$e)}replaceState(V,te,$e){this._history.replaceState(V,te,$e)}forward(){this._history.forward()}back(){this._history.back()}historyGo(V=0){this._history.go(V)}getState(){return this._history.state}static#e=this.\u0275fac=function(te){return new(te||y)};static#t=this.\u0275prov=t.jDH({token:y,factory:()=>new y,providedIn:"platform"})}return y})();function I(y,le){if(0==y.length)return le;if(0==le.length)return y;let V=0;return y.endsWith("/")&&V++,le.startsWith("/")&&V++,2==V?y+le.substring(1):1==V?y+le:y+"/"+le}function A(y){const le=y.match(/#|\?|$/),V=le&&le.index||y.length;return y.slice(0,V-("/"===y[V-1]?1:0))+y.slice(V)}function b(y){return y&&"?"!==y[0]?"?"+y:y}let F=(()=>{class y{historyGo(V){throw new Error("")}static#e=this.\u0275fac=function(te){return new(te||y)};static#t=this.\u0275prov=t.jDH({token:y,factory:()=>(0,t.WQX)(de),providedIn:"root"})}return y})();const L=new t.nKC("");let de=(()=>{class y extends F{constructor(V,te){super(),this._platformLocation=V,this._removeListenerFns=[],this._baseHref=te??this._platformLocation.getBaseHrefFromDOM()??(0,t.WQX)(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(V){this._removeListenerFns.push(this._platformLocation.onPopState(V),this._platformLocation.onHashChange(V))}getBaseHref(){return this._baseHref}prepareExternalUrl(V){return I(this._baseHref,V)}path(V=!1){const te=this._platformLocation.pathname+b(this._platformLocation.search),$e=this._platformLocation.hash;return $e&&V?`${te}${$e}`:te}pushState(V,te,$e,Ut){const dn=this.prepareExternalUrl($e+b(Ut));this._platformLocation.pushState(V,te,dn)}replaceState(V,te,$e,Ut){const dn=this.prepareExternalUrl($e+b(Ut));this._platformLocation.replaceState(V,te,dn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(V=0){this._platformLocation.historyGo?.(V)}static#e=this.\u0275fac=function(te){return new(te||y)(t.KVO(B),t.KVO(L,8))};static#t=this.\u0275prov=t.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),me=(()=>{class y{constructor(V){this._subject=new t.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=V;const te=this._locationStrategy.getBaseHref();this._basePath=function xe(y){if(new RegExp("^(https?:)?//").test(y)){const[,V]=y.split(/\/\/[^\/]+/);return V}return y}(A(je(te))),this._locationStrategy.onPopState($e=>{this._subject.emit({url:this.path(!0),pop:!0,state:$e.state,type:$e.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(V=!1){return this.normalize(this._locationStrategy.path(V))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(V,te=""){return this.path()==this.normalize(V+b(te))}normalize(V){return y.stripTrailingSlash(function tt(y,le){if(!y||!le.startsWith(y))return le;const V=le.substring(y.length);return""===V||["/",";","?","#"].includes(V[0])?V:le}(this._basePath,je(V)))}prepareExternalUrl(V){return V&&"/"!==V[0]&&(V="/"+V),this._locationStrategy.prepareExternalUrl(V)}go(V,te="",$e=null){this._locationStrategy.pushState($e,"",V,te),this._notifyUrlChangeListeners(this.prepareExternalUrl(V+b(te)),$e)}replaceState(V,te="",$e=null){this._locationStrategy.replaceState($e,"",V,te),this._notifyUrlChangeListeners(this.prepareExternalUrl(V+b(te)),$e)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(V=0){this._locationStrategy.historyGo?.(V)}onUrlChange(V){return this._urlChangeListeners.push(V),this._urlChangeSubscription??=this.subscribe(te=>{this._notifyUrlChangeListeners(te.url,te.state)}),()=>{const te=this._urlChangeListeners.indexOf(V);this._urlChangeListeners.splice(te,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(V="",te){this._urlChangeListeners.forEach($e=>$e(V,te))}subscribe(V,te,$e){return this._subject.subscribe({next:V,error:te,complete:$e})}static#e=this.normalizeQueryParams=b;static#t=this.joinWithSlash=I;static#n=this.stripTrailingSlash=A;static#i=this.\u0275fac=function(te){return new(te||y)(t.KVO(F))};static#r=this.\u0275prov=t.jDH({token:y,factory:()=>function Se(){return new me((0,t.KVO)(F))}(),providedIn:"root"})}return y})();function je(y){return y.replace(/\/index.html$/,"")}var ye=function(y){return y[y.Decimal=0]="Decimal",y[y.Percent=1]="Percent",y[y.Currency=2]="Currency",y[y.Scientific=3]="Scientific",y}(ye||{}),Pe=function(y){return y[y.Format=0]="Format",y[y.Standalone=1]="Standalone",y}(Pe||{}),$=function(y){return y[y.Narrow=0]="Narrow",y[y.Abbreviated=1]="Abbreviated",y[y.Wide=2]="Wide",y[y.Short=3]="Short",y}($||{}),Oe=function(y){return y[y.Short=0]="Short",y[y.Medium=1]="Medium",y[y.Long=2]="Long",y[y.Full=3]="Full",y}(Oe||{});const Ke={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function ge(y,le){return Le((0,t.H5H)(y)[t.KH2.DateFormat],le)}function ke(y,le){return Le((0,t.H5H)(y)[t.KH2.TimeFormat],le)}function qe(y,le){return Le((0,t.H5H)(y)[t.KH2.DateTimeFormat],le)}function Ce(y,le){const V=(0,t.H5H)(y),te=V[t.KH2.NumberSymbols][le];if(typeof te>"u"){if(le===Ke.CurrencyDecimal)return V[t.KH2.NumberSymbols][Ke.Decimal];if(le===Ke.CurrencyGroup)return V[t.KH2.NumberSymbols][Ke.Group]}return te}function Rn(y){if(!y[t.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${y[t.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Le(y,le){for(let V=le;V>-1;V--)if(typeof y[V]<"u")return y[V];throw new Error("Locale data API: locale data undefined")}function at(y){const[le,V]=y.split(":");return{hours:+le,minutes:+V}}const Xn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Bt={},ce=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Ye=function(y){return y[y.Short=0]="Short",y[y.ShortGMT=1]="ShortGMT",y[y.Long=2]="Long",y[y.Extended=3]="Extended",y}(Ye||{}),Je=function(y){return y[y.FullYear=0]="FullYear",y[y.Month=1]="Month",y[y.Date=2]="Date",y[y.Hours=3]="Hours",y[y.Minutes=4]="Minutes",y[y.Seconds=5]="Seconds",y[y.FractionalSeconds=6]="FractionalSeconds",y[y.Day=7]="Day",y}(Je||{}),xt=function(y){return y[y.DayPeriods=0]="DayPeriods",y[y.Days=1]="Days",y[y.Months=2]="Months",y[y.Eras=3]="Eras",y}(xt||{});function Kt(y,le,V,te){let $e=function Xt(y){if(Lt(y))return y;if("number"==typeof y&&!isNaN(y))return new Date(y);if("string"==typeof y){if(y=y.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(y)){const[$e,Ut=1,dn=1]=y.split("-").map(Wn=>+Wn);return pt($e,Ut-1,dn)}const V=parseFloat(y);if(!isNaN(y-V))return new Date(V);let te;if(te=y.match(Xn))return function yn(y){const le=new Date(0);let V=0,te=0;const $e=y[8]?le.setUTCFullYear:le.setFullYear,Ut=y[8]?le.setUTCHours:le.setHours;y[9]&&(V=Number(y[9]+y[10]),te=Number(y[9]+y[11])),$e.call(le,Number(y[1]),Number(y[2])-1,Number(y[3]));const dn=Number(y[4]||0)-V,Wn=Number(y[5]||0)-te,xi=Number(y[6]||0),Yi=Math.floor(1e3*parseFloat("0."+(y[7]||0)));return Ut.call(le,dn,Wn,xi,Yi),le}(te)}const le=new Date(y);if(!Lt(le))throw new Error(`Unable to convert "${y}" into a date`);return le}(y);le=jt(V,le)||le;let Wn,dn=[];for(;le;){if(Wn=ce.exec(le),!Wn){dn.push(le);break}{dn=dn.concat(Wn.slice(1));const Hi=dn.pop();if(!Hi)break;le=Hi}}let xi=$e.getTimezoneOffset();te&&(xi=J(te,xi),$e=function rt(y,le,V){const te=V?-1:1,$e=y.getTimezoneOffset();return function Ie(y,le){return(y=new Date(y.getTime())).setMinutes(y.getMinutes()+le),y}(y,te*(J(le,$e)-$e))}($e,te,!0));let Yi="";return dn.forEach(Hi=>{const Ti=function q(y){if(Ee[y])return Ee[y];let le;switch(y){case"G":case"GG":case"GGG":le=En(xt.Eras,$.Abbreviated);break;case"GGGG":le=En(xt.Eras,$.Wide);break;case"GGGGG":le=En(xt.Eras,$.Narrow);break;case"y":le=Yt(Je.FullYear,1,0,!1,!0);break;case"yy":le=Yt(Je.FullYear,2,0,!0,!0);break;case"yyy":le=Yt(Je.FullYear,3,0,!1,!0);break;case"yyyy":le=Yt(Je.FullYear,4,0,!1,!0);break;case"Y":le=He(1);break;case"YY":le=He(2,!0);break;case"YYY":le=He(3);break;case"YYYY":le=He(4);break;case"M":case"L":le=Yt(Je.Month,1,1);break;case"MM":case"LL":le=Yt(Je.Month,2,1);break;case"MMM":le=En(xt.Months,$.Abbreviated);break;case"MMMM":le=En(xt.Months,$.Wide);break;case"MMMMM":le=En(xt.Months,$.Narrow);break;case"LLL":le=En(xt.Months,$.Abbreviated,Pe.Standalone);break;case"LLLL":le=En(xt.Months,$.Wide,Pe.Standalone);break;case"LLLLL":le=En(xt.Months,$.Narrow,Pe.Standalone);break;case"w":le=Zt(1);break;case"ww":le=Zt(2);break;case"W":le=Zt(1,!0);break;case"d":le=Yt(Je.Date,1);break;case"dd":le=Yt(Je.Date,2);break;case"c":case"cc":le=Yt(Je.Day,1);break;case"ccc":le=En(xt.Days,$.Abbreviated,Pe.Standalone);break;case"cccc":le=En(xt.Days,$.Wide,Pe.Standalone);break;case"ccccc":le=En(xt.Days,$.Narrow,Pe.Standalone);break;case"cccccc":le=En(xt.Days,$.Short,Pe.Standalone);break;case"E":case"EE":case"EEE":le=En(xt.Days,$.Abbreviated);break;case"EEEE":le=En(xt.Days,$.Wide);break;case"EEEEE":le=En(xt.Days,$.Narrow);break;case"EEEEEE":le=En(xt.Days,$.Short);break;case"a":case"aa":case"aaa":le=En(xt.DayPeriods,$.Abbreviated);break;case"aaaa":le=En(xt.DayPeriods,$.Wide);break;case"aaaaa":le=En(xt.DayPeriods,$.Narrow);break;case"b":case"bb":case"bbb":le=En(xt.DayPeriods,$.Abbreviated,Pe.Standalone,!0);break;case"bbbb":le=En(xt.DayPeriods,$.Wide,Pe.Standalone,!0);break;case"bbbbb":le=En(xt.DayPeriods,$.Narrow,Pe.Standalone,!0);break;case"B":case"BB":case"BBB":le=En(xt.DayPeriods,$.Abbreviated,Pe.Format,!0);break;case"BBBB":le=En(xt.DayPeriods,$.Wide,Pe.Format,!0);break;case"BBBBB":le=En(xt.DayPeriods,$.Narrow,Pe.Format,!0);break;case"h":le=Yt(Je.Hours,1,-12);break;case"hh":le=Yt(Je.Hours,2,-12);break;case"H":le=Yt(Je.Hours,1);break;case"HH":le=Yt(Je.Hours,2);break;case"m":le=Yt(Je.Minutes,1);break;case"mm":le=Yt(Je.Minutes,2);break;case"s":le=Yt(Je.Seconds,1);break;case"ss":le=Yt(Je.Seconds,2);break;case"S":le=Yt(Je.FractionalSeconds,1);break;case"SS":le=Yt(Je.FractionalSeconds,2);break;case"SSS":le=Yt(Je.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":le=ki(Ye.Short);break;case"ZZZZZ":le=ki(Ye.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":le=ki(Ye.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":le=ki(Ye.Long);break;default:return null}return Ee[y]=le,le}(Hi);Yi+=Ti?Ti($e,V,xi):"''"===Hi?"'":Hi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Yi}function pt(y,le,V){const te=new Date(0);return te.setFullYear(y,le,V),te.setHours(0,0,0),te}function jt(y,le){const V=function Ct(y){return(0,t.H5H)(y)[t.KH2.LocaleId]}(y);if(Bt[V]??={},Bt[V][le])return Bt[V][le];let te="";switch(le){case"shortDate":te=ge(y,Oe.Short);break;case"mediumDate":te=ge(y,Oe.Medium);break;case"longDate":te=ge(y,Oe.Long);break;case"fullDate":te=ge(y,Oe.Full);break;case"shortTime":te=ke(y,Oe.Short);break;case"mediumTime":te=ke(y,Oe.Medium);break;case"longTime":te=ke(y,Oe.Long);break;case"fullTime":te=ke(y,Oe.Full);break;case"short":const $e=jt(y,"shortTime"),Ut=jt(y,"shortDate");te=nt(qe(y,Oe.Short),[$e,Ut]);break;case"medium":const dn=jt(y,"mediumTime"),Wn=jt(y,"mediumDate");te=nt(qe(y,Oe.Medium),[dn,Wn]);break;case"long":const xi=jt(y,"longTime"),Yi=jt(y,"longDate");te=nt(qe(y,Oe.Long),[xi,Yi]);break;case"full":const Hi=jt(y,"fullTime"),Ti=jt(y,"fullDate");te=nt(qe(y,Oe.Full),[Hi,Ti])}return te&&(Bt[V][le]=te),te}function nt(y,le){return le&&(y=y.replace(/\{([^}]+)}/g,function(V,te){return null!=le&&te in le?le[te]:V})),y}function mt(y,le,V="-",te,$e){let Ut="";(y<0||$e&&y<=0)&&($e?y=1-y:(y=-y,Ut=V));let dn=String(y);for(;dn.length0||Wn>-V)&&(Wn+=V),y===Je.Hours)0===Wn&&-12===V&&(Wn=12);else if(y===Je.FractionalSeconds)return function At(y,le){return mt(y,3).substring(0,le)}(Wn,le);const xi=Ce(dn,Ke.MinusSign);return mt(Wn,le,xi,te,$e)}}function En(y,le,V=Pe.Format,te=!1){return function($e,Ut){return function $n(y,le,V,te,$e,Ut){switch(V){case xt.Months:return function Be(y,le,V){const te=(0,t.H5H)(y),Ut=Le([te[t.KH2.MonthsFormat],te[t.KH2.MonthsStandalone]],le);return Le(Ut,V)}(le,$e,te)[y.getMonth()];case xt.Days:return function be(y,le,V){const te=(0,t.H5H)(y),Ut=Le([te[t.KH2.DaysFormat],te[t.KH2.DaysStandalone]],le);return Le(Ut,V)}(le,$e,te)[y.getDay()];case xt.DayPeriods:const dn=y.getHours(),Wn=y.getMinutes();if(Ut){const Yi=function ii(y){const le=(0,t.H5H)(y);return Rn(le),(le[t.KH2.ExtraData][2]||[]).map(te=>"string"==typeof te?at(te):[at(te[0]),at(te[1])])}(le),Hi=function Cn(y,le,V){const te=(0,t.H5H)(y);Rn(te);const Ut=Le([te[t.KH2.ExtraData][0],te[t.KH2.ExtraData][1]],le)||[];return Le(Ut,V)||[]}(le,$e,te),Ti=Yi.findIndex(Zr=>{if(Array.isArray(Zr)){const[yr,Wi]=Zr,Ci=dn>=yr.hours&&Wn>=yr.minutes,Fn=dn0?Math.floor($e/60):Math.ceil($e/60);switch(y){case Ye.Short:return($e>=0?"+":"")+mt(dn,2,Ut)+mt(Math.abs($e%60),2,Ut);case Ye.ShortGMT:return"GMT"+($e>=0?"+":"")+mt(dn,1,Ut);case Ye.Long:return"GMT"+($e>=0?"+":"")+mt(dn,2,Ut)+":"+mt(Math.abs($e%60),2,Ut);case Ye.Extended:return 0===te?"Z":($e>=0?"+":"")+mt(dn,2,Ut)+":"+mt(Math.abs($e%60),2,Ut);default:throw new Error(`Unknown zone width "${y}"`)}}}const Qn=0,Jt=4;function Qt(y){const le=y.getDay(),V=0===le?-3:Jt-le;return pt(y.getFullYear(),y.getMonth(),y.getDate()+V)}function Zt(y,le=!1){return function(V,te){let $e;if(le){const Ut=new Date(V.getFullYear(),V.getMonth(),1).getDay()-1,dn=V.getDate();$e=1+Math.floor((dn+Ut)/7)}else{const Ut=Qt(V),dn=function wi(y){const le=pt(y,Qn,1).getDay();return pt(y,0,1+(le<=Jt?Jt:Jt+7)-le)}(Ut.getFullYear()),Wn=Ut.getTime()-dn.getTime();$e=1+Math.round(Wn/6048e5)}return mt($e,y,Ce(te,Ke.MinusSign))}}function He(y,le=!1){return function(V,te){return mt(Qt(V).getFullYear(),y,Ce(te,Ke.MinusSign),le)}}const Ee={};function J(y,le){y=y.replace(/:/g,"");const V=Date.parse("Jan 01, 1970 00:00:00 "+y)/6e4;return isNaN(V)?le:V}function Lt(y){return y instanceof Date&&!isNaN(y.valueOf())}const Mt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Dr(y){const le=parseInt(y);if(isNaN(le))throw new Error("Invalid integer literal when parsing "+y);return le}function Ue(y,le,V){return(0,t.XSP)(y,le,V)}function st(y,le){le=encodeURIComponent(le);for(const V of y.split(";")){const te=V.indexOf("="),[$e,Ut]=-1==te?[V,""]:[V.slice(0,te),V.slice(te+1)];if($e.trim()===le)return decodeURIComponent(Ut)}return null}const ct=/\s+/,nn=[];let yt=(()=>{class y{constructor(V,te){this._ngEl=V,this._renderer=te,this.initialClasses=nn,this.stateMap=new Map}set klass(V){this.initialClasses=null!=V?V.trim().split(ct):nn}set ngClass(V){this.rawClass="string"==typeof V?V.trim().split(ct):V}ngDoCheck(){for(const te of this.initialClasses)this._updateState(te,!0);const V=this.rawClass;if(Array.isArray(V)||V instanceof Set)for(const te of V)this._updateState(te,!0);else if(null!=V)for(const te of Object.keys(V))this._updateState(te,!!V[te]);this._applyStateDiff()}_updateState(V,te){const $e=this.stateMap.get(V);void 0!==$e?($e.enabled!==te&&($e.changed=!0,$e.enabled=te),$e.touched=!0):this.stateMap.set(V,{enabled:te,changed:!0,touched:!0})}_applyStateDiff(){for(const V of this.stateMap){const te=V[0],$e=V[1];$e.changed?(this._toggleClass(te,$e.enabled),$e.changed=!1):$e.touched||($e.enabled&&this._toggleClass(te,!1),this.stateMap.delete(te)),$e.touched=!1}}_toggleClass(V,te){(V=V.trim()).length>0&&V.split(ct).forEach($e=>{te?this._renderer.addClass(this._ngEl.nativeElement,$e):this._renderer.removeClass(this._ngEl.nativeElement,$e)})}static#e=this.\u0275fac=function(te){return new(te||y)(t.rXU(t.aKT),t.rXU(t.sFG))};static#t=this.\u0275dir=t.FsC({type:y,selectors:[["","ngClass",""]],inputs:{klass:[t.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return y})();class Oi{constructor(le,V,te,$e){this.$implicit=le,this.ngForOf=V,this.index=te,this.count=$e}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Jn=(()=>{class y{set ngForOf(V){this._ngForOf=V,this._ngForOfDirty=!0}set ngForTrackBy(V){this._trackByFn=V}get ngForTrackBy(){return this._trackByFn}constructor(V,te,$e){this._viewContainer=V,this._template=te,this._differs=$e,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(V){V&&(this._template=V)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const V=this._ngForOf;!this._differ&&V&&(this._differ=this._differs.find(V).create(this.ngForTrackBy))}if(this._differ){const V=this._differ.diff(this._ngForOf);V&&this._applyChanges(V)}}_applyChanges(V){const te=this._viewContainer;V.forEachOperation(($e,Ut,dn)=>{if(null==$e.previousIndex)te.createEmbeddedView(this._template,new Oi($e.item,this._ngForOf,-1,-1),null===dn?void 0:dn);else if(null==dn)te.remove(null===Ut?void 0:Ut);else if(null!==Ut){const Wn=te.get(Ut);te.move(Wn,dn),ri(Wn,$e)}});for(let $e=0,Ut=te.length;$e{ri(te.get($e.currentIndex),$e)})}static ngTemplateContextGuard(V,te){return!0}static#e=this.\u0275fac=function(te){return new(te||y)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(t._q3))};static#t=this.\u0275dir=t.FsC({type:y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return y})();function ri(y,le){y.context.$implicit=le.item}let Vi=(()=>{class y{constructor(V,te){this._viewContainer=V,this._context=new Pi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=te}set ngIf(V){this._context.$implicit=this._context.ngIf=V,this._updateView()}set ngIfThen(V){dr("ngIfThen",V),this._thenTemplateRef=V,this._thenViewRef=null,this._updateView()}set ngIfElse(V){dr("ngIfElse",V),this._elseTemplateRef=V,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(V,te){return!0}static#e=this.\u0275fac=function(te){return new(te||y)(t.rXU(t.c1b),t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return y})();class Pi{constructor(){this.$implicit=null,this.ngIf=null}}function dr(y,le){if(le&&!le.createEmbeddedView)throw new Error(`${y} must be a TemplateRef, but received '${(0,t.Tbb)(le)}'.`)}class Fi{constructor(le,V){this._viewContainerRef=le,this._templateRef=V,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(le){le&&!this._created?this.create():!le&&this._created&&this.destroy()}}let Ni=(()=>{class y{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(V){this._ngSwitch=V,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(V){this._defaultViews.push(V)}_matchCase(V){const te=V===this._ngSwitch;return this._lastCasesMatched||=te,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),te}_updateDefaultCases(V){if(this._defaultViews.length>0&&V!==this._defaultUsed){this._defaultUsed=V;for(const te of this._defaultViews)te.enforceState(V)}}static#e=this.\u0275fac=function(te){return new(te||y)};static#t=this.\u0275dir=t.FsC({type:y,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return y})(),Sr=(()=>{class y{constructor(V,te,$e){this.ngSwitch=$e,$e._addCase(),this._view=new Fi(V,te)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(te){return new(te||y)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(Ni,9))};static#t=this.\u0275dir=t.FsC({type:y,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return y})(),pn=(()=>{class y{constructor(V,te,$e){this._ngEl=V,this._differs=te,this._renderer=$e,this._ngStyle=null,this._differ=null}set ngStyle(V){this._ngStyle=V,!this._differ&&V&&(this._differ=this._differs.find(V).create())}ngDoCheck(){if(this._differ){const V=this._differ.diff(this._ngStyle);V&&this._applyChanges(V)}}_setStyle(V,te){const[$e,Ut]=V.split("."),dn=-1===$e.indexOf("-")?void 0:t.czy.DashCase;null!=te?this._renderer.setStyle(this._ngEl.nativeElement,$e,Ut?`${te}${Ut}`:te,dn):this._renderer.removeStyle(this._ngEl.nativeElement,$e,dn)}_applyChanges(V){V.forEachRemovedItem(te=>this._setStyle(te.key,null)),V.forEachAddedItem(te=>this._setStyle(te.key,te.currentValue)),V.forEachChangedItem(te=>this._setStyle(te.key,te.currentValue))}static#e=this.\u0275fac=function(te){return new(te||y)(t.rXU(t.aKT),t.rXU(t.MKu),t.rXU(t.sFG))};static#t=this.\u0275dir=t.FsC({type:y,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return y})(),ft=(()=>{class y{constructor(V){this._viewContainerRef=V,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(V){if(this._shouldRecreateView(V)){const te=this._viewContainerRef;if(this._viewRef&&te.remove(te.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const $e=this._createContextForwardProxy();this._viewRef=te.createEmbeddedView(this.ngTemplateOutlet,$e,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(V){return!!V.ngTemplateOutlet||!!V.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(V,te,$e)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,te,$e),get:(V,te,$e)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,te,$e)}})}static#e=this.\u0275fac=function(te){return new(te||y)(t.rXU(t.c1b))};static#t=this.\u0275dir=t.FsC({type:y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.OA$]})}return y})();function Pn(y,le){return new t.wOt(2100,!1)}class fi{createSubscription(le,V){return(0,t.O8t)(()=>le.subscribe({next:V,error:te=>{throw te}}))}dispose(le){(0,t.O8t)(()=>le.unsubscribe())}}class ai{createSubscription(le,V){return le.then(V,te=>{throw te})}dispose(le){}}const Zi=new ai,Mi=new fi;let li=(()=>{class y{constructor(V){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=V}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(V){if(!this._obj){if(V)try{this.markForCheckOnValueUpdate=!1,this._subscribe(V)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return V!==this._obj?(this._dispose(),this.transform(V)):this._latestValue}_subscribe(V){this._obj=V,this._strategy=this._selectStrategy(V),this._subscription=this._strategy.createSubscription(V,te=>this._updateLatestValue(V,te))}_selectStrategy(V){if((0,t.jNT)(V))return Zi;if((0,t.zjR)(V))return Mi;throw Pn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(V,te){V===this._obj&&(this._latestValue=te,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(te){return new(te||y)(t.rXU(t.gRc,16))};static#t=this.\u0275pipe=t.EJ8({name:"async",type:y,pure:!1,standalone:!0})}return y})();const so=new t.nKC(""),sn=new t.nKC("");let ro=(()=>{class y{constructor(V,te,$e){this.locale=V,this.defaultTimezone=te,this.defaultOptions=$e}transform(V,te,$e,Ut){if(null==V||""===V||V!=V)return null;try{return Kt(V,te??this.defaultOptions?.dateFormat??"mediumDate",Ut||this.locale,$e??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(dn){throw Pn()}}static#e=this.\u0275fac=function(te){return new(te||y)(t.rXU(t.xe9,16),t.rXU(so,24),t.rXU(sn,24))};static#t=this.\u0275pipe=t.EJ8({name:"date",type:y,pure:!0,standalone:!0})}return y})(),Li=(()=>{class y{constructor(V){this._locale=V}transform(V,te,$e){if(!function Go(y){return!(null==y||""===y||y!=y)}(V))return null;$e||=this._locale;try{return function qn(y,le,V){return function we(y,le,V,te,$e,Ut,dn=!1){let Wn="",xi=!1;if(isFinite(y)){let Yi=function Mr(y){let te,$e,Ut,dn,Wn,le=Math.abs(y)+"",V=0;for(($e=le.indexOf("."))>-1&&(le=le.replace(".","")),(Ut=le.search(/e/i))>0?($e<0&&($e=Ut),$e+=+le.slice(Ut+1),le=le.substring(0,Ut)):$e<0&&($e=le.length),Ut=0;"0"===le.charAt(Ut);Ut++);if(Ut===(Wn=le.length))te=[0],$e=1;else{for(Wn--;"0"===le.charAt(Wn);)Wn--;for($e-=Ut,te=[],dn=0;Ut<=Wn;Ut++,dn++)te[dn]=Number(le.charAt(Ut))}return $e>22&&(te=te.splice(0,21),V=$e-1,$e=1),{digits:te,exponent:V,integerLen:$e}}(y);dn&&(Yi=function nr(y){if(0===y.digits[0])return y;const le=y.digits.length-y.integerLen;return y.exponent?y.exponent+=2:(0===le?y.digits.push(0,0):1===le&&y.digits.push(0),y.integerLen+=2),y}(Yi));let Hi=le.minInt,Ti=le.minFrac,Zr=le.maxFrac;if(Ut){const Cr=Ut.match(Mt);if(null===Cr)throw new Error(`${Ut} is not a valid digit info`);const To=Cr[1],Gr=Cr[3],lo=Cr[5];null!=To&&(Hi=Dr(To)),null!=Gr&&(Ti=Dr(Gr)),null!=lo?Zr=Dr(lo):null!=Gr&&Ti>Zr&&(Zr=Ti)}!function lr(y,le,V){if(le>V)throw new Error(`The minimum number of digits after fraction (${le}) is higher than the maximum (${V}).`);let te=y.digits,$e=te.length-y.integerLen;const Ut=Math.min(Math.max(le,$e),V);let dn=Ut+y.integerLen,Wn=te[dn];if(dn>0){te.splice(Math.max(y.integerLen,dn));for(let Ti=dn;Ti=5)if(dn-1<0){for(let Ti=0;Ti>dn;Ti--)te.unshift(0),y.integerLen++;te.unshift(1),y.integerLen++}else te[dn-1]++;for(;$e=Yi?Wi.pop():xi=!1),Zr>=10?1:0},0);Hi&&(te.unshift(Hi),y.integerLen++)}(Yi,Ti,Zr);let yr=Yi.digits,Wi=Yi.integerLen;const Ci=Yi.exponent;let Fn=[];for(xi=yr.every(Cr=>!Cr);Wi0?Fn=yr.splice(Wi,yr.length):(Fn=yr,yr=[0]);const oi=[];for(yr.length>=le.lgSize&&oi.unshift(yr.splice(-le.lgSize,yr.length).join(""));yr.length>le.gSize;)oi.unshift(yr.splice(-le.gSize,yr.length).join(""));yr.length&&oi.unshift(yr.join("")),Wn=oi.join(Ce(V,te)),Fn.length&&(Wn+=Ce(V,$e)+Fn.join("")),Ci&&(Wn+=Ce(V,Ke.Exponential)+"+"+Ci)}else Wn=Ce(V,Ke.Infinity);return Wn=y<0&&!xi?le.negPre+Wn+le.negSuf:le.posPre+Wn+le.posSuf,Wn}(y,function ei(y,le="-"){const V={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},te=y.split(";"),$e=te[0],Ut=te[1],dn=-1!==$e.indexOf(".")?$e.split("."):[$e.substring(0,$e.lastIndexOf("0")+1),$e.substring($e.lastIndexOf("0")+1)],Wn=dn[0],xi=dn[1]||"";V.posPre=Wn.substring(0,Wn.indexOf("#"));for(let Hi=0;Hi{class y{static#e=this.\u0275fac=function(te){return new(te||y)};static#t=this.\u0275mod=t.$C({type:y});static#n=this.\u0275inj=t.G2t({})}return y})();const Ao="browser",fa="server";function to(y){return y===Ao}function Zs(y){return y===fa}let wo=(()=>{class y{static#e=this.\u0275prov=(0,t.jDH)({token:y,providedIn:"root",factory:()=>to((0,t.WQX)(t.Agw))?new Gn((0,t.WQX)(G),window):new ma})}return y})();class Gn{constructor(le,V){this.document=le,this.window=V,this.offset=()=>[0,0]}setOffset(le){this.offset=Array.isArray(le)?()=>le:le}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(le){this.window.scrollTo(le[0],le[1])}scrollToAnchor(le){const V=function es(y,le){const V=y.getElementById(le)||y.getElementsByName(le)[0];if(V)return V;if("function"==typeof y.createTreeWalker&&y.body&&"function"==typeof y.body.attachShadow){const te=y.createTreeWalker(y.body,NodeFilter.SHOW_ELEMENT);let $e=te.currentNode;for(;$e;){const Ut=$e.shadowRoot;if(Ut){const dn=Ut.getElementById(le)||Ut.querySelector(`[name="${le}"]`);if(dn)return dn}$e=te.nextNode()}}return null}(this.document,le);V&&(this.scrollToElement(V),V.focus())}setHistoryScrollRestoration(le){this.window.history.scrollRestoration=le}scrollToElement(le){const V=le.getBoundingClientRect(),te=V.left+this.window.pageXOffset,$e=V.top+this.window.pageYOffset,Ut=this.offset();this.window.scrollTo(te-Ut[0],$e-Ut[1])}}class ma{setOffset(le){}getScrollPosition(){return[0,0]}scrollToPosition(le){}scrollToAnchor(le){}setHistoryScrollRestoration(le){}}class ga{}},1626:(kt,De,u)=>{"use strict";u.d(De,{$R:()=>J,Lr:()=>F,Nl:()=>xe,Qq:()=>ge,Sx:()=>Xt,a7:()=>ii,cS:()=>Be}),u(4523);var p=u(4438),D=u(7673),j=u(1985),E=u(2806),ee=u(274),G=u(5964),B=u(6354),R=u(980),P=u(5558),I=u(177);class A{}class b{}class F{constructor(st){this.normalizedNames=new Map,this.lazyUpdate=null,st?"string"==typeof st?this.lazyInit=()=>{this.headers=new Map,st.split("\n").forEach(ct=>{const nn=ct.indexOf(":");if(nn>0){const yt=ct.slice(0,nn),Ln=yt.toLowerCase(),Bn=ct.slice(nn+1).trim();this.maybeSetNormalizedName(yt,Ln),this.headers.has(Ln)?this.headers.get(Ln).push(Bn):this.headers.set(Ln,[Bn])}})}:typeof Headers<"u"&&st instanceof Headers?(this.headers=new Map,st.forEach((ct,nn)=>{this.setHeaderEntries(nn,ct)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(st).forEach(([ct,nn])=>{this.setHeaderEntries(ct,nn)})}:this.headers=new Map}has(st){return this.init(),this.headers.has(st.toLowerCase())}get(st){this.init();const ct=this.headers.get(st.toLowerCase());return ct&&ct.length>0?ct[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(st){return this.init(),this.headers.get(st.toLowerCase())||null}append(st,ct){return this.clone({name:st,value:ct,op:"a"})}set(st,ct){return this.clone({name:st,value:ct,op:"s"})}delete(st,ct){return this.clone({name:st,value:ct,op:"d"})}maybeSetNormalizedName(st,ct){this.normalizedNames.has(ct)||this.normalizedNames.set(ct,st)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(st=>this.applyUpdate(st)),this.lazyUpdate=null))}copyFrom(st){st.init(),Array.from(st.headers.keys()).forEach(ct=>{this.headers.set(ct,st.headers.get(ct)),this.normalizedNames.set(ct,st.normalizedNames.get(ct))})}clone(st){const ct=new F;return ct.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,ct.lazyUpdate=(this.lazyUpdate||[]).concat([st]),ct}applyUpdate(st){const ct=st.name.toLowerCase();switch(st.op){case"a":case"s":let nn=st.value;if("string"==typeof nn&&(nn=[nn]),0===nn.length)return;this.maybeSetNormalizedName(st.name,ct);const yt=("a"===st.op?this.headers.get(ct):void 0)||[];yt.push(...nn),this.headers.set(ct,yt);break;case"d":const Ln=st.value;if(Ln){let Bn=this.headers.get(ct);if(!Bn)return;Bn=Bn.filter(Oi=>-1===Ln.indexOf(Oi)),0===Bn.length?(this.headers.delete(ct),this.normalizedNames.delete(ct)):this.headers.set(ct,Bn)}else this.headers.delete(ct),this.normalizedNames.delete(ct)}}setHeaderEntries(st,ct){const nn=(Array.isArray(ct)?ct:[ct]).map(Ln=>Ln.toString()),yt=st.toLowerCase();this.headers.set(yt,nn),this.maybeSetNormalizedName(st,yt)}forEach(st){this.init(),Array.from(this.normalizedNames.keys()).forEach(ct=>st(this.normalizedNames.get(ct),this.headers.get(ct)))}}class de{encodeKey(st){return tt(st)}encodeValue(st){return tt(st)}decodeKey(st){return decodeURIComponent(st)}decodeValue(st){return decodeURIComponent(st)}}const me=/%(\d[a-f0-9])/gi,Se={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function tt(Ue){return encodeURIComponent(Ue).replace(me,(st,ct)=>Se[ct]??st)}function je(Ue){return`${Ue}`}class xe{constructor(st={}){if(this.updates=null,this.cloneFrom=null,this.encoder=st.encoder||new de,st.fromString){if(st.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function re(Ue,st){const ct=new Map;return Ue.length>0&&Ue.replace(/^\?/,"").split("&").forEach(yt=>{const Ln=yt.indexOf("="),[Bn,Oi]=-1==Ln?[st.decodeKey(yt),""]:[st.decodeKey(yt.slice(0,Ln)),st.decodeValue(yt.slice(Ln+1))],Jn=ct.get(Bn)||[];Jn.push(Oi),ct.set(Bn,Jn)}),ct}(st.fromString,this.encoder)}else st.fromObject?(this.map=new Map,Object.keys(st.fromObject).forEach(ct=>{const nn=st.fromObject[ct],yt=Array.isArray(nn)?nn.map(je):[je(nn)];this.map.set(ct,yt)})):this.map=null}has(st){return this.init(),this.map.has(st)}get(st){this.init();const ct=this.map.get(st);return ct?ct[0]:null}getAll(st){return this.init(),this.map.get(st)||null}keys(){return this.init(),Array.from(this.map.keys())}append(st,ct){return this.clone({param:st,value:ct,op:"a"})}appendAll(st){const ct=[];return Object.keys(st).forEach(nn=>{const yt=st[nn];Array.isArray(yt)?yt.forEach(Ln=>{ct.push({param:nn,value:Ln,op:"a"})}):ct.push({param:nn,value:yt,op:"a"})}),this.clone(ct)}set(st,ct){return this.clone({param:st,value:ct,op:"s"})}delete(st,ct){return this.clone({param:st,value:ct,op:"d"})}toString(){return this.init(),this.keys().map(st=>{const ct=this.encoder.encodeKey(st);return this.map.get(st).map(nn=>ct+"="+this.encoder.encodeValue(nn)).join("&")}).filter(st=>""!==st).join("&")}clone(st){const ct=new xe({encoder:this.encoder});return ct.cloneFrom=this.cloneFrom||this,ct.updates=(this.updates||[]).concat(st),ct}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(st=>this.map.set(st,this.cloneFrom.map.get(st))),this.updates.forEach(st=>{switch(st.op){case"a":case"s":const ct=("a"===st.op?this.map.get(st.param):void 0)||[];ct.push(je(st.value)),this.map.set(st.param,ct);break;case"d":if(void 0===st.value){this.map.delete(st.param);break}{let nn=this.map.get(st.param)||[];const yt=nn.indexOf(je(st.value));-1!==yt&&nn.splice(yt,1),nn.length>0?this.map.set(st.param,nn):this.map.delete(st.param)}}}),this.cloneFrom=this.updates=null)}}class ye{constructor(){this.map=new Map}set(st,ct){return this.map.set(st,ct),this}get(st){return this.map.has(st)||this.map.set(st,st.defaultValue()),this.map.get(st)}delete(st){return this.map.delete(st),this}has(st){return this.map.has(st)}keys(){return this.map.keys()}}function Pe(Ue){return typeof ArrayBuffer<"u"&&Ue instanceof ArrayBuffer}function $(Ue){return typeof Blob<"u"&&Ue instanceof Blob}function Oe(Ue){return typeof FormData<"u"&&Ue instanceof FormData}class Nt{constructor(st,ct,nn,yt){let Ln;if(this.url=ct,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=st.toUpperCase(),function pe(Ue){switch(Ue){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||yt?(this.body=void 0!==nn?nn:null,Ln=yt):Ln=nn,Ln&&(this.reportProgress=!!Ln.reportProgress,this.withCredentials=!!Ln.withCredentials,Ln.responseType&&(this.responseType=Ln.responseType),Ln.headers&&(this.headers=Ln.headers),Ln.context&&(this.context=Ln.context),Ln.params&&(this.params=Ln.params),this.transferCache=Ln.transferCache),this.headers??=new F,this.context??=new ye,this.params){const Bn=this.params.toString();if(0===Bn.length)this.urlWithParams=ct;else{const Oi=ct.indexOf("?");this.urlWithParams=ct+(-1===Oi?"?":OiPi.set(dr,st.setHeaders[dr]),ri)),st.setParams&&(Xi=Object.keys(st.setParams).reduce((Pi,dr)=>Pi.set(dr,st.setParams[dr]),Xi)),new Nt(ct,nn,Bn,{params:Xi,headers:ri,context:Vi,reportProgress:Jn,responseType:yt,withCredentials:Oi,transferCache:Ln})}}var Ct=function(Ue){return Ue[Ue.Sent=0]="Sent",Ue[Ue.UploadProgress=1]="UploadProgress",Ue[Ue.ResponseHeader=2]="ResponseHeader",Ue[Ue.DownloadProgress=3]="DownloadProgress",Ue[Ue.Response=4]="Response",Ue[Ue.User=5]="User",Ue}(Ct||{});class $t{constructor(st,ct=Re.Ok,nn="OK"){this.headers=st.headers||new F,this.status=void 0!==st.status?st.status:ct,this.statusText=st.statusText||nn,this.url=st.url||null,this.ok=this.status>=200&&this.status<300}}class be extends $t{constructor(st={}){super(st),this.type=Ct.ResponseHeader}clone(st={}){return new be({headers:st.headers||this.headers,status:void 0!==st.status?st.status:this.status,statusText:st.statusText||this.statusText,url:st.url||this.url||void 0})}}class Be extends $t{constructor(st={}){super(st),this.type=Ct.Response,this.body=void 0!==st.body?st.body:null}clone(st={}){return new Be({body:void 0!==st.body?st.body:this.body,headers:st.headers||this.headers,status:void 0!==st.status?st.status:this.status,statusText:st.statusText||this.statusText,url:st.url||this.url||void 0})}}class oe extends $t{constructor(st){super(st,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${st.url||"(unknown url)"}`:`Http failure response for ${st.url||"(unknown url)"}: ${st.status} ${st.statusText}`,this.error=st.error||null}}var Re=function(Ue){return Ue[Ue.Continue=100]="Continue",Ue[Ue.SwitchingProtocols=101]="SwitchingProtocols",Ue[Ue.Processing=102]="Processing",Ue[Ue.EarlyHints=103]="EarlyHints",Ue[Ue.Ok=200]="Ok",Ue[Ue.Created=201]="Created",Ue[Ue.Accepted=202]="Accepted",Ue[Ue.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Ue[Ue.NoContent=204]="NoContent",Ue[Ue.ResetContent=205]="ResetContent",Ue[Ue.PartialContent=206]="PartialContent",Ue[Ue.MultiStatus=207]="MultiStatus",Ue[Ue.AlreadyReported=208]="AlreadyReported",Ue[Ue.ImUsed=226]="ImUsed",Ue[Ue.MultipleChoices=300]="MultipleChoices",Ue[Ue.MovedPermanently=301]="MovedPermanently",Ue[Ue.Found=302]="Found",Ue[Ue.SeeOther=303]="SeeOther",Ue[Ue.NotModified=304]="NotModified",Ue[Ue.UseProxy=305]="UseProxy",Ue[Ue.Unused=306]="Unused",Ue[Ue.TemporaryRedirect=307]="TemporaryRedirect",Ue[Ue.PermanentRedirect=308]="PermanentRedirect",Ue[Ue.BadRequest=400]="BadRequest",Ue[Ue.Unauthorized=401]="Unauthorized",Ue[Ue.PaymentRequired=402]="PaymentRequired",Ue[Ue.Forbidden=403]="Forbidden",Ue[Ue.NotFound=404]="NotFound",Ue[Ue.MethodNotAllowed=405]="MethodNotAllowed",Ue[Ue.NotAcceptable=406]="NotAcceptable",Ue[Ue.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Ue[Ue.RequestTimeout=408]="RequestTimeout",Ue[Ue.Conflict=409]="Conflict",Ue[Ue.Gone=410]="Gone",Ue[Ue.LengthRequired=411]="LengthRequired",Ue[Ue.PreconditionFailed=412]="PreconditionFailed",Ue[Ue.PayloadTooLarge=413]="PayloadTooLarge",Ue[Ue.UriTooLong=414]="UriTooLong",Ue[Ue.UnsupportedMediaType=415]="UnsupportedMediaType",Ue[Ue.RangeNotSatisfiable=416]="RangeNotSatisfiable",Ue[Ue.ExpectationFailed=417]="ExpectationFailed",Ue[Ue.ImATeapot=418]="ImATeapot",Ue[Ue.MisdirectedRequest=421]="MisdirectedRequest",Ue[Ue.UnprocessableEntity=422]="UnprocessableEntity",Ue[Ue.Locked=423]="Locked",Ue[Ue.FailedDependency=424]="FailedDependency",Ue[Ue.TooEarly=425]="TooEarly",Ue[Ue.UpgradeRequired=426]="UpgradeRequired",Ue[Ue.PreconditionRequired=428]="PreconditionRequired",Ue[Ue.TooManyRequests=429]="TooManyRequests",Ue[Ue.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Ue[Ue.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Ue[Ue.InternalServerError=500]="InternalServerError",Ue[Ue.NotImplemented=501]="NotImplemented",Ue[Ue.BadGateway=502]="BadGateway",Ue[Ue.ServiceUnavailable=503]="ServiceUnavailable",Ue[Ue.GatewayTimeout=504]="GatewayTimeout",Ue[Ue.HttpVersionNotSupported=505]="HttpVersionNotSupported",Ue[Ue.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Ue[Ue.InsufficientStorage=507]="InsufficientStorage",Ue[Ue.LoopDetected=508]="LoopDetected",Ue[Ue.NotExtended=510]="NotExtended",Ue[Ue.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Ue}(Re||{});function fe(Ue,st){return{body:st,headers:Ue.headers,context:Ue.context,observe:Ue.observe,params:Ue.params,reportProgress:Ue.reportProgress,responseType:Ue.responseType,withCredentials:Ue.withCredentials,transferCache:Ue.transferCache}}let ge=(()=>{class Ue{constructor(ct){this.handler=ct}request(ct,nn,yt={}){let Ln;if(ct instanceof Nt)Ln=ct;else{let Jn,ri;Jn=yt.headers instanceof F?yt.headers:new F(yt.headers),yt.params&&(ri=yt.params instanceof xe?yt.params:new xe({fromObject:yt.params})),Ln=new Nt(ct,nn,void 0!==yt.body?yt.body:null,{headers:Jn,context:yt.context,params:ri,reportProgress:yt.reportProgress,responseType:yt.responseType||"json",withCredentials:yt.withCredentials,transferCache:yt.transferCache})}const Bn=(0,D.of)(Ln).pipe((0,ee.H)(Jn=>this.handler.handle(Jn)));if(ct instanceof Nt||"events"===yt.observe)return Bn;const Oi=Bn.pipe((0,G.p)(Jn=>Jn instanceof Be));switch(yt.observe||"body"){case"body":switch(Ln.responseType){case"arraybuffer":return Oi.pipe((0,B.T)(Jn=>{if(null!==Jn.body&&!(Jn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Jn.body}));case"blob":return Oi.pipe((0,B.T)(Jn=>{if(null!==Jn.body&&!(Jn.body instanceof Blob))throw new Error("Response is not a Blob.");return Jn.body}));case"text":return Oi.pipe((0,B.T)(Jn=>{if(null!==Jn.body&&"string"!=typeof Jn.body)throw new Error("Response is not a string.");return Jn.body}));default:return Oi.pipe((0,B.T)(Jn=>Jn.body))}case"response":return Oi;default:throw new Error(`Unreachable: unhandled observe type ${yt.observe}}`)}}delete(ct,nn={}){return this.request("DELETE",ct,nn)}get(ct,nn={}){return this.request("GET",ct,nn)}head(ct,nn={}){return this.request("HEAD",ct,nn)}jsonp(ct,nn){return this.request("JSONP",ct,{params:(new xe).append(nn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ct,nn={}){return this.request("OPTIONS",ct,nn)}patch(ct,nn,yt={}){return this.request("PATCH",ct,fe(yt,nn))}post(ct,nn,yt={}){return this.request("POST",ct,fe(yt,nn))}put(ct,nn,yt={}){return this.request("PUT",ct,fe(yt,nn))}static#e=this.\u0275fac=function(nn){return new(nn||Ue)(p.KVO(A))};static#t=this.\u0275prov=p.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();function xn(Ue,st){return st(Ue)}function Tn(Ue,st){return(ct,nn)=>st.intercept(ct,{handle:yt=>Ue(yt,nn)})}const ii=new p.nKC(""),Cn=new p.nKC(""),ot=new p.nKC(""),Le=new p.nKC("");function at(){let Ue=null;return(st,ct)=>{null===Ue&&(Ue=((0,p.WQX)(ii,{optional:!0})??[]).reduceRight(Tn,xn));const nn=(0,p.WQX)(p.TgB),yt=nn.add();return Ue(st,ct).pipe((0,R.j)(()=>nn.remove(yt)))}}let Hn=(()=>{class Ue extends A{constructor(ct,nn){super(),this.backend=ct,this.injector=nn,this.chain=null,this.pendingTasks=(0,p.WQX)(p.TgB);const yt=(0,p.WQX)(Le,{optional:!0});this.backend=yt??ct}handle(ct){if(null===this.chain){const yt=Array.from(new Set([...this.injector.get(Cn),...this.injector.get(ot,[])]));this.chain=yt.reduceRight((Ln,Bn)=>function Rn(Ue,st,ct){return(nn,yt)=>(0,p.N4e)(ct,()=>st(nn,Ln=>Ue(Ln,yt)))}(Ln,Bn,this.injector),xn)}const nn=this.pendingTasks.add();return this.chain(ct,yt=>this.backend.handle(yt)).pipe((0,R.j)(()=>this.pendingTasks.remove(nn)))}static#e=this.\u0275fac=function(nn){return new(nn||Ue)(p.KVO(b),p.KVO(p.uvJ))};static#t=this.\u0275prov=p.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const At=/^\)\]\}',?\n/;let jn=(()=>{class Ue{constructor(ct){this.xhrFactory=ct}handle(ct){if("JSONP"===ct.method)throw new p.wOt(-2800,!1);const nn=this.xhrFactory;return(nn.\u0275loadImpl?(0,E.H)(nn.\u0275loadImpl()):(0,D.of)(null)).pipe((0,P.n)(()=>new j.c(Ln=>{const Bn=nn.build();if(Bn.open(ct.method,ct.urlWithParams),ct.withCredentials&&(Bn.withCredentials=!0),ct.headers.forEach((Fi,Ni)=>Bn.setRequestHeader(Fi,Ni.join(","))),ct.headers.has("Accept")||Bn.setRequestHeader("Accept","application/json, text/plain, */*"),!ct.headers.has("Content-Type")){const Fi=ct.detectContentTypeHeader();null!==Fi&&Bn.setRequestHeader("Content-Type",Fi)}if(ct.responseType){const Fi=ct.responseType.toLowerCase();Bn.responseType="json"!==Fi?Fi:"text"}const Oi=ct.serializeBody();let Jn=null;const ri=()=>{if(null!==Jn)return Jn;const Fi=Bn.statusText||"OK",Ni=new F(Bn.getAllResponseHeaders()),Sr=function Yt(Ue){return"responseURL"in Ue&&Ue.responseURL?Ue.responseURL:/^X-Request-URL:/m.test(Ue.getAllResponseHeaders())?Ue.getResponseHeader("X-Request-URL"):null}(Bn)||ct.url;return Jn=new be({headers:Ni,status:Bn.status,statusText:Fi,url:Sr}),Jn},Xi=()=>{let{headers:Fi,status:Ni,statusText:Sr,url:Vr}=ri(),Pr=null;Ni!==Re.NoContent&&(Pr=typeof Bn.response>"u"?Bn.responseText:Bn.response),0===Ni&&(Ni=Pr?Re.Ok:0);let Fr=Ni>=200&&Ni<300;if("json"===ct.responseType&&"string"==typeof Pr){const oo=Pr;Pr=Pr.replace(At,"");try{Pr=""!==Pr?JSON.parse(Pr):null}catch(qt){Pr=oo,Fr&&(Fr=!1,Pr={error:qt,text:Pr})}}Fr?(Ln.next(new Be({body:Pr,headers:Fi,status:Ni,statusText:Sr,url:Vr||void 0})),Ln.complete()):Ln.error(new oe({error:Pr,headers:Fi,status:Ni,statusText:Sr,url:Vr||void 0}))},Vi=Fi=>{const{url:Ni}=ri(),Sr=new oe({error:Fi,status:Bn.status||0,statusText:Bn.statusText||"Unknown Error",url:Ni||void 0});Ln.error(Sr)};let Pi=!1;const dr=Fi=>{Pi||(Ln.next(ri()),Pi=!0);let Ni={type:Ct.DownloadProgress,loaded:Fi.loaded};Fi.lengthComputable&&(Ni.total=Fi.total),"text"===ct.responseType&&Bn.responseText&&(Ni.partialText=Bn.responseText),Ln.next(Ni)},Or=Fi=>{let Ni={type:Ct.UploadProgress,loaded:Fi.loaded};Fi.lengthComputable&&(Ni.total=Fi.total),Ln.next(Ni)};return Bn.addEventListener("load",Xi),Bn.addEventListener("error",Vi),Bn.addEventListener("timeout",Vi),Bn.addEventListener("abort",Vi),ct.reportProgress&&(Bn.addEventListener("progress",dr),null!==Oi&&Bn.upload&&Bn.upload.addEventListener("progress",Or)),Bn.send(Oi),Ln.next({type:Ct.Sent}),()=>{Bn.removeEventListener("error",Vi),Bn.removeEventListener("abort",Vi),Bn.removeEventListener("load",Xi),Bn.removeEventListener("timeout",Vi),ct.reportProgress&&(Bn.removeEventListener("progress",dr),null!==Oi&&Bn.upload&&Bn.upload.removeEventListener("progress",Or)),Bn.readyState!==Bn.DONE&&Bn.abort()}})))}static#e=this.\u0275fac=function(nn){return new(nn||Ue)(p.KVO(I.N0))};static#t=this.\u0275prov=p.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const En=new p.nKC(""),ki=new p.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Jt=new p.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class wi{}let Qt=(()=>{class Ue{constructor(ct,nn,yt){this.doc=ct,this.platform=nn,this.cookieName=yt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ct=this.doc.cookie||"";return ct!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,I._b)(ct,this.cookieName),this.lastCookieString=ct),this.lastToken}static#e=this.\u0275fac=function(nn){return new(nn||Ue)(p.KVO(I.qQ),p.KVO(p.Agw),p.KVO(ki))};static#t=this.\u0275prov=p.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();function Zt(Ue,st){const ct=Ue.url.toLowerCase();if(!(0,p.WQX)(En)||"GET"===Ue.method||"HEAD"===Ue.method||ct.startsWith("http://")||ct.startsWith("https://"))return st(Ue);const nn=(0,p.WQX)(wi).getToken(),yt=(0,p.WQX)(Jt);return null!=nn&&!Ue.headers.has(yt)&&(Ue=Ue.clone({headers:Ue.headers.set(yt,nn)})),st(Ue)}var Ee=function(Ue){return Ue[Ue.Interceptors=0]="Interceptors",Ue[Ue.LegacyInterceptors=1]="LegacyInterceptors",Ue[Ue.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ue[Ue.NoXsrfProtection=3]="NoXsrfProtection",Ue[Ue.JsonpSupport=4]="JsonpSupport",Ue[Ue.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ue[Ue.Fetch=6]="Fetch",Ue}(Ee||{});function J(...Ue){const st=[ge,jn,Hn,{provide:A,useExisting:Hn},{provide:b,useExisting:jn},{provide:Cn,useValue:Zt,multi:!0},{provide:En,useValue:!0},{provide:wi,useClass:Qt}];for(const ct of Ue)st.push(...ct.\u0275providers);return(0,p.EmA)(st)}const rt=new p.nKC("");function Xt(){return function q(Ue,st){return{\u0275kind:Ue,\u0275providers:st}}(Ee.LegacyInterceptors,[{provide:rt,useFactory:at},{provide:Cn,useExisting:rt,multi:!0}])}},4438:(kt,De,u)=>{"use strict";function p(e,n){return Object.is(e,n)}u.d(De,{bc$:()=>Hd,iLQ:()=>f0,sZ2:()=>vp,Hbi:()=>MT,o8S:()=>Sc,BIS:()=>Rg,gRc:()=>EC,Ql9:()=>QS,OM3:()=>vf,Ocv:()=>oT,abz:()=>Il,Z63:()=>So,aKT:()=>Xc,uvJ:()=>Co,zcH:()=>cl,bkB:()=>Ja,$GK:()=>li,nKC:()=>yt,zZn:()=>ya,_q3:()=>w0,MKu:()=>C0,xe9:()=>Xm,Co$:()=>qb,Vns:()=>_d,SKi:()=>ys,Xx1:()=>to,Agw:()=>zd,PLl:()=>bp,rOR:()=>Bd,sFG:()=>$x,_9s:()=>ab,czy:()=>iu,WPN:()=>ec,kdw:()=>hs,C4Q:()=>ff,NYb:()=>HS,giA:()=>uC,RxE:()=>iC,c1b:()=>wm,gXe:()=>no,Af3:()=>Zn,tdH:()=>Kx,L39:()=>tO,EWP:()=>rO,Ol2:()=>pv,w6W:()=>ZE,QZP:()=>tx,SmG:()=>uT,Rfq:()=>Zt,oKB:()=>Qe,WQX:()=>Si,hFB:()=>Kl,naY:()=>dT,Hps:()=>cv,QuC:()=>Pt,EmA:()=>An,geq:()=>IE,Udg:()=>nO,CGW:()=>Ld,N4e:()=>wn,vPA:()=>Rb,O8t:()=>oO,ebz:()=>SE,dtW:()=>TE,An2:()=>_m,H3F:()=>rC,H8p:()=>ns,KH2:()=>Nu,TgB:()=>_u,wOt:()=>_t,WHO:()=>cC,e01:()=>dC,lNU:()=>at,h9k:()=>Fp,$MX:()=>Yd,ZF7:()=>bc,Kcf:()=>Ql,e5t:()=>zo,UyX:()=>Zg,cWb:()=>pr,osQ:()=>ca,H5H:()=>zv,Zy3:()=>rn,mq5:()=>a1,JZv:()=>Yt,TL3:()=>jT,LfX:()=>Dr,plB:()=>xc,jNT:()=>u0,zjR:()=>hC,ngT:()=>hl,XSP:()=>DD,TL$:()=>Pg,Tbb:()=>Qn,rcV:()=>ls,Vt3:()=>uv,Mj6:()=>vo,GFd:()=>Jb,OA$:()=>sl,Jv_:()=>ww,aNF:()=>Cw,R7$:()=>nm,BMQ:()=>Mv,HbH:()=>jy,ZvI:()=>Ky,STu:()=>Xy,AVh:()=>Av,vxM:()=>Jy,wni:()=>X1,VBU:()=>ea,FsC:()=>S,jDH:()=>ei,G2t:()=>Mr,$C:()=>O,EJ8:()=>W,rXU:()=>Cc,nrm:()=>Bv,eu8:()=>Vv,bVm:()=>Lm,qex:()=>Nm,k0s:()=>Fm,j41:()=>km,RV6:()=>s1,xGo:()=>rh,Mr5:()=>jv,KVO:()=>Hr,kS0:()=>Wc,QTQ:()=>ef,bIt:()=>Wv,lsd:()=>Q1,joV:()=>Lr,qSk:()=>hr,XpG:()=>L1,nI1:()=>Nw,bMT:()=>Lw,i5U:()=>Bw,brH:()=>Vw,ii3:()=>jw,SdG:()=>V1,NAR:()=>B1,Y8G:()=>Ov,FS9:()=>Xv,lJ4:()=>Ew,eq3:()=>Mw,l_i:()=>Dw,sMw:()=>Sw,s1E:()=>Tw,l4e:()=>Ow,zJS:()=>Iw,NyB:()=>q1,mGM:()=>Y1,sdS:()=>ew,Dyx:()=>n1,Z7z:()=>t1,fX1:()=>e1,Vm6:()=>qy,Njj:()=>Bc,EBC:()=>Hp,tSv:()=>zp,eBV:()=>Lc,npT:()=>Bh,f$h:()=>eu,B4B:()=>mr,n$t:()=>Lp,Aen:()=>fl,xc7:()=>Pv,Kam:()=>Gv,zvX:()=>Uv,DNE:()=>vu,C5r:()=>Uw,EFF:()=>dw,JRh:()=>Yv,SpI:()=>zm,Lme:()=>Qv,DH7:()=>bw,mxI:()=>qv,R50:()=>Jv,GBs:()=>Z1,wEZ:()=>J1}),u(4523);let D=null,j=!1,E=1;const ee=Symbol("SIGNAL");function G(e){const n=D;return D=e,n}const I={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function A(e){if(j)throw new Error("");if(null===D)return;D.consumerOnSignalRead(e);const n=D.nextProducerIndex++;pe(D),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function tt(e){pe(e);for(let n=0;n0}function pe(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Pe(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function $(e){const n=Object.create(Ct);n.computation=e;const i=()=>{if(F(n),A(n),n.value===Nt)throw n.error;return n.value};return i[ee]=n,i}const Oe=Symbol("UNSET"),Ke=Symbol("COMPUTING"),Nt=Symbol("ERRORED"),Ct={...I,value:Oe,dirty:!0,error:null,equal:p,producerMustRecompute:e=>e.value===Oe||e.value===Ke,producerRecomputeValue(e){if(e.value===Ke)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Ke;const i=me(e);let r;try{r=e.computation()}catch(o){r=Nt,e.error=o}finally{Se(e,i)}n!==Oe&&n!==Nt&&r!==Nt&&e.equal(n,r)?e.value=n:(e.value=r,e.version++)}};let be=function $t(){throw new Error};function Be(){be()}let Re=null;function qe(e,n){de()||Be(),e.equal(e.value,n)||(e.value=n,function Ze(e){e.version++,function b(){E++}(),L(e),Re?.()}(e))}const We={...I,equal:p,value:void 0};const an=()=>{},xn={...I,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:an};var Rn=u(1413),ii=u(8359),Cn=u(4412),ot=u(6354);const at="https://g.co/ng/security#xss";class _t extends Error{constructor(n,i){super(rn(n,i)),this.code=n}}function rn(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}const Hn=Symbol("InputSignalNode#UNSET"),Xn={...We,transformFn:void 0,applyValueToInputSignal(e,n){qe(e,n)}};function Ye(e,n){const i=Object.create(Xn);function r(){if(A(i),i.value===Hn)throw new _t(-950,!1);return i.value}return i.value=e,i.transformFn=n?.transform,r[ee]=i,r}function Je(e){return{toString:e}.toString()}const Kt="__parameters__";function mt(e,n,i){return Je(()=>{const r=function nt(e){return function(...i){if(e){const r=e(...i);for(const o in r)this[o]=r[o]}}}(n);function o(...a){if(this instanceof o)return r.apply(this,a),this;const f=new o(...a);return m.annotation=f,m;function m(x,X,he){const Ve=x.hasOwnProperty(Kt)?x[Kt]:Object.defineProperty(x,Kt,{value:[]})[Kt];for(;Ve.length<=he;)Ve.push(null);return(Ve[he]=Ve[he]||[]).push(f),x}}return i&&(o.prototype=Object.create(i.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Yt=globalThis;function $n(e){for(let n in e)if(e[n]===$n)return n;throw Error("Could not find renamed property on target object.")}function ki(e,n){for(const i in n)n.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=n[i])}function Qn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Qn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const i=n.indexOf("\n");return-1===i?n:n.substring(0,i)}function Jt(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const Qt=$n({__forward_ref__:$n});function Zt(e){return e.__forward_ref__=Zt,e.toString=function(){return Qn(this())},e}function He(e){return Ee(e)?e():e}function Ee(e){return"function"==typeof e&&e.hasOwnProperty(Qt)&&e.__forward_ref__===Zt}function ei(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mr(e){return{providers:e.providers||[],imports:e.imports||[]}}function lr(e){return cr(e,Ue)||cr(e,ct)}function Dr(e){return null!==lr(e)}function cr(e,n){return e.hasOwnProperty(n)?e[n]:null}function qr(e){return e&&(e.hasOwnProperty(st)||e.hasOwnProperty(nn))?e[st]:null}const Ue=$n({\u0275prov:$n}),st=$n({\u0275inj:$n}),ct=$n({ngInjectableDef:$n}),nn=$n({ngInjectorDef:$n});class yt{constructor(n,i){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=ei({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Fi(e){return e&&!!e.\u0275providers}const Ni=$n({\u0275cmp:$n}),Sr=$n({\u0275dir:$n}),Vr=$n({\u0275pipe:$n}),Pr=$n({\u0275mod:$n}),Fr=$n({\u0275fac:$n}),oo=$n({__NG_ELEMENT_ID__:$n}),qt=$n({__NG_ENV_ID__:$n});function pn(e){return"string"==typeof e?e:null==e?"":String(e)}function Mi(e,n){throw new _t(-201,!1)}var li=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(li||{});let go;function gr(){return go}function Ji(e){const n=go;return go=e,n}function Mo(e,n,i){const r=lr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:i&li.Optional?null:void 0!==n?n:void Mi()}const sn={},ro="__NG_DI_FLAG__",Lo="ngTempTokenPath",$o=/\n/gm,ws="__source";let eo;function Li(e){const n=eo;return eo=e,n}function vr(e,n=li.Default){if(void 0===eo)throw new _t(-203,!1);return null===eo?Mo(e,void 0,n):eo.get(e,n&li.Optional?null:void 0,n)}function Hr(e,n=li.Default){return(gr()||vr)(He(e),n)}function Si(e,n=li.Default){return Hr(e,Cs(n))}function Cs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Da(e){const n=[];for(let i=0;iArray.isArray(i)?es(i,n):n(i))}function ma(e,n,i){n>=e.length?e.push(i):e.splice(n,0,i)}function ga(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Ur(e,n,i){let r=Rr(e,n);return r>=0?e[1|r]=i:(r=~r,function _a(e,n,i,r){let o=e.length;if(o==n)e.push(i,r);else if(1===o)e.push(r,e[0]),e[0]=i;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=i,e[n+1]=r}}(e,r,n,i)),r}function _o(e,n){const i=Rr(e,n);if(i>=0)return e[1|i]}function Rr(e,n){return function Ro(e,n,i){let r=0,o=e.length>>i;for(;o!==r;){const a=r+(o-r>>1),f=e[a<n?o=a:r=a+1}return~(o<n){f=a-1;break}}}for(;a-1){let a;for(;++oa?"":o[he+1].toLowerCase(),2&r&&X!==Ve){if(wr(r))return!1;f=!0}}}}else{if(!f&&!wr(r)&&!wr(x))return!1;if(f&&wr(x))continue;f=!1,r=x|1&r}}return wr(r)||f}function wr(e){return!(1&e)}function ts(e,n,i,r){if(null===n)return-1;let o=0;if(r||!i){let a=!1;for(;o-1)for(i++;i0?'="'+m+'"':"")+"]"}else 8&r?o+="."+f:4&r&&(o+=" "+f);else""!==o&&!wr(f)&&(n+=Ha(a,o),o=""),r=f,a=a||!wr(r);i++}return""!==o&&(n+=Ha(a,o)),n}function ea(e){return Je(()=>{const n=en(e),i={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||no.Emulated,styles:e.styles||or,_:null,schemas:e.schemas||null,tView:null,id:""};on(i);const r=e.dependencies;return i.directiveDefs=bn(r,!1),i.pipeDefs=bn(r,!0),i.id=function zn(e){let n=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of i)n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(i),i})}function rl(e){return K(e)||Te(e)}function zs(e){return null!==e}function O(e){return Je(()=>({type:e.type,bootstrap:e.bootstrap||or,declarations:e.declarations||or,imports:e.imports||or,exports:e.exports||or,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _(e,n){if(null==e)return ao;const i={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let a,f,m=vo.None;Array.isArray(o)?(m=o[0],a=o[1],f=o[2]??a):(a=o,f=o),n?(i[a]=m!==vo.None?[r,m]:r,n[a]=f):i[a]=r}return i}function S(e){return Je(()=>{const n=en(e);return on(n),n})}function W(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function K(e){return e[Ni]||null}function Te(e){return e[Sr]||null}function lt(e){return e[Vr]||null}function Pt(e){const n=K(e)||Te(e)||lt(e);return null!==n&&n.standalone}function zt(e,n){const i=e[Pr]||null;if(!i&&!0===n)throw new Error(`Type ${Qn(e)} does not have '\u0275mod' property.`);return i}function en(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||ao,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||or,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:_(e.inputs,n),outputs:_(e.outputs),debugInfo:null}}function on(e){e.features?.forEach(n=>n(e))}function bn(e,n){if(!e)return null;const i=n?lt:rl;return()=>("function"==typeof e?e():e).map(r=>i(r)).filter(zs)}function An(e){return{\u0275providers:e}}function Qe(...e){return{\u0275providers:Et(0,e),\u0275fromNgModule:!0}}function Et(e,...n){const i=[],r=new Set;let o;const a=f=>{i.push(f)};return es(n,f=>{const m=f;vn(m,a,[],r)&&(o||=[],o.push(m))}),void 0!==o&&wt(o,a),i}function wt(e,n){for(let i=0;i{n(a,r)})}}function vn(e,n,i,r){if(!(e=He(e)))return!1;let o=null,a=qr(e);const f=!a&&K(e);if(a||f){if(f&&!f.standalone)return!1;o=e}else{const x=e.ngModule;if(a=qr(x),!a)return!1;o=x}const m=r.has(o);if(f){if(m)return!1;if(r.add(o),f.dependencies){const x="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const X of x)vn(X,n,i,r)}}else{if(!a)return!1;{if(null!=a.imports&&!m){let X;r.add(o);try{es(a.imports,he=>{vn(he,n,i,r)&&(X||=[],X.push(he))})}finally{}void 0!==X&&wt(X,n)}if(!m){const X=Xo(o)||(()=>new o);n({provide:o,useFactory:X,deps:or},o),n({provide:Bs,useValue:o,multi:!0},o),n({provide:So,useValue:()=>Hr(o),multi:!0},o)}const x=a.providers;if(null!=x&&!m){const X=e;di(x,he=>{n(he,X)})}}}return o!==e&&void 0!==e.providers}function di(e,n){for(let i of e)Fi(i)&&(i=i.\u0275providers),Array.isArray(i)?di(i,n):n(i)}const hi=$n({provide:String,useValue:$n});function bi(e){return null!==e&&"object"==typeof e&&hi in e}function zi(e){return"function"==typeof e}const ns=new yt(""),Qo={},Xr={};let bo;function sr(){return void 0===bo&&(bo=new Zo),bo}class Co{}class ps extends Co{get destroyed(){return this._destroyed}constructor(n,i,r,o){super(),this.parent=i,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Tt(n,f=>this.processProvider(f)),this.records.set(Ra,N(void 0,this)),o.has("environment")&&this.records.set(Co,N(void 0,this));const a=this.records.get(ns);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(Bs,or,li.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=G(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of i)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),G(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const i=Li(this),r=Ji(void 0);try{return n()}finally{Li(i),Ji(r)}}get(n,i=sn,r=li.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(qt))return n[qt](this);r=Cs(r);const a=Li(this),f=Ji(void 0);try{if(!(r&li.SkipSelf)){let x=this.records.get(n);if(void 0===x){const X=function dt(e){return"function"==typeof e||"object"==typeof e&&e instanceof yt}(n)&&lr(n);x=X&&this.injectableDefInScope(X)?N(Jo(n),Qo):null,this.records.set(n,x)}if(null!=x)return this.hydrate(n,x)}return(r&li.Self?sr():this.parent).get(n,i=r&li.Optional&&i===sn?null:i)}catch(m){if("NullInjectorError"===m.name){if((m[Lo]=m[Lo]||[]).unshift(Qn(n)),a)throw m;return function fa(e,n,i,r){const o=e[Lo];throw n[ws]&&o.unshift(n[ws]),e.message=function Ir(e,n,i,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Qn(n);if(Array.isArray(n))o=n.map(Qn).join(" -> ");else if("object"==typeof n){let a=[];for(let f in n)if(n.hasOwnProperty(f)){let m=n[f];a.push(f+":"+("string"==typeof m?JSON.stringify(m):Qn(m)))}o=`{${a.join(", ")}}`}return`${i}${r?"("+r+")":""}[${o}]: ${e.replace($o,"\n ")}`}("\n"+e.message,o,i,r),e.ngTokenPath=o,e[Lo]=null,e}(m,n,"R3InjectorError",this.source)}throw m}finally{Ji(f),Li(a)}}resolveInjectorInitializers(){const n=G(null),i=Li(this),r=Ji(void 0);try{const a=this.get(So,or,li.Self);for(const f of a)f()}finally{Li(i),Ji(r),G(n)}}toString(){const n=[],i=this.records;for(const r of i.keys())n.push(Qn(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _t(205,!1)}processProvider(n){let i=zi(n=He(n))?n:He(n&&n.provide);const r=function Z(e){return bi(e)?N(void 0,e.useValue):N(ue(e),Qo)}(n);if(!zi(n)&&!0===n.multi){let o=this.records.get(i);o||(o=N(void 0,Qo,!0),o.factory=()=>Da(o.multi),this.records.set(i,o)),i=n,o.multi.push(n)}this.records.set(i,r)}hydrate(n,i){const r=G(null);try{return i.value===Qo&&(i.value=Xr,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Y(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{G(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const i=He(n.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(n){const i=this._onDestroyHooks.indexOf(n);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Jo(e){const n=lr(e),i=null!==n?n.factory:Xo(e);if(null!==i)return i;if(e instanceof yt)throw new _t(204,!1);if(e instanceof Function)return function ko(e){if(e.length>0)throw new _t(204,!1);const i=function vi(e){return e&&(e[Ue]||e[ct])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new _t(204,!1)}function ue(e,n,i){let r;if(zi(e)){const o=He(e);return Xo(o)||Jo(o)}if(bi(e))r=()=>He(e.useValue);else if(function br(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Da(e.deps||[]));else if(function $r(e){return!(!e||!e.useExisting)}(e))r=()=>Hr(He(e.useExisting));else{const o=He(e&&(e.useClass||e.provide));if(!function se(e){return!!e.deps}(e))return Xo(o)||Jo(o);r=()=>new o(...Da(e.deps))}return r}function N(e,n,i=!1){return{factory:e,value:n,multi:i?[]:void 0}}function Tt(e,n){for(const i of e)Array.isArray(i)?Tt(i,n):i&&Fi(i)?Tt(i.\u0275providers,n):n(i)}function wn(e,n){e instanceof ps&&e.assertNotDestroyed();const r=Li(e),o=Ji(void 0);try{return n()}finally{Li(r),Ji(o)}}function kn(){return void 0!==gr()||null!=function Ar(){return eo}()}function Zn(e){if(!kn())throw new _t(-203,!1)}const Ci=0,Fn=1,oi=2,Cr=3,To=4,Gr=5,lo=6,ta=7,zr=8,xo=9,qo=10,Bi=11,Es=12,Bl=13,is=14,co=15,ka=16,Sa=17,Ms=18,Hs=19,gl=20,Ae=21,na=22,ia=23,Ai=25,ur=1,ra=7,Bo=9,fo=10;var vl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(vl||{});function Fo(e){return Array.isArray(e)&&"object"==typeof e[ur]}function rs(e){return Array.isArray(e)&&!0===e[ur]}function oc(e){return!!(4&e.flags)}function ms(e){return e.componentOffset>-1}function jl(e){return!(1&~e.flags)}function oa(e){return!!e.template}function bl(e){return!!(512&e[oi])}class ol{constructor(n,i,r){this.previousValue=n,this.currentValue=i,this.firstChange=r}isFirstChange(){return this.firstChange}}function La(e,n,i,r){null!==n?n.applyValueToInputSignal(n,r):e[i]=r}function sl(){return Vo}function Vo(e){return e.type.prototype.ngOnChanges&&(e.setInput=os),Oc}function Oc(){const e=wl(this),n=e?.current;if(n){const i=e.previous;if(i===ao)e.previous=n;else for(let r in n)i[r]=n[r];e.current=null,this.ngOnChanges(n)}}function os(e,n,i,r,o){const a=this.declaredInputs[r],f=wl(e)||function sc(e,n){return e[Ds]=n}(e,{previous:ao,current:null}),m=f.current||(f.current={}),x=f.previous,X=x[a];m[a]=new ol(X&&X.currentValue,i,x===ao),La(e,n,o,i)}sl.ngInherit=!0;const Ds="__ngSimpleChanges__";function wl(e){return e[Ds]||null}const jo=function(e,n,i){},Ic="svg";let $a=!1;function er(e){for(;Array.isArray(e);)e=e[Ci];return e}function ss(e,n){return er(n[e])}function Yr(e,n){return er(n[e.index])}function Wa(e,n){return e.data[n]}function $s(e,n){return e[n]}function ks(e,n){const i=n[e];return Fo(i)?i:i[Ci]}function Ba(e){return!(128&~e[oi])}function Fs(e,n){return null==n?null:e[n]}function lc(e){e[Sa]=0}function Ac(e){1024&e[oi]||(e[oi]|=1024,Ba(e)&&cc(e))}function Ga(e){return!!(9216&e[oi]||e[ia]?.dirty)}function kc(e){e[qo].changeDetectionScheduler?.notify(1),Ga(e)?cc(e):64&e[oi]&&(function Hu(){return $a}()?(e[oi]|=1024,cc(e)):e[qo].changeDetectionScheduler?.notify())}function cc(e){e[qo].changeDetectionScheduler?.notify();let n=Xa(e);for(;null!==n&&!(8192&n[oi])&&(n[oi]|=8192,Ba(n));)n=Xa(n)}function al(e,n){if(!(256&~e[oi]))throw new _t(911,!1);null===e[Ae]&&(e[Ae]=[]),e[Ae].push(n)}function Xa(e){const n=e[Cr];return rs(n)?n[Cr]:n}const Gi={lFrame:_n(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fc(){return Gi.bindingsEnabled}function Va(){return null!==Gi.skipHydrationRootTNode}function fn(){return Gi.lFrame.lView}function xr(){return Gi.lFrame.tView}function Lc(e){return Gi.lFrame.contextLView=e,e[zr]}function Bc(e){return Gi.lFrame.contextLView=null,e}function Qr(){let e=Vc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vc(){return Gi.lFrame.currentTNode}function sa(e,n){const i=Gi.lFrame;i.currentTNode=e,i.isParent=n}function uc(){return Gi.lFrame.isParent}function Wl(){Gi.lFrame.isParent=!1}function Ss(){const e=Gi.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function M(){return Gi.lFrame.bindingIndex++}function d(e){const n=Gi.lFrame,i=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,i}function C(e,n){const i=Gi.lFrame;i.bindingIndex=i.bindingRootIndex=e,Q(n)}function Q(e){Gi.lFrame.currentDirectiveIndex=e}function Me(e){const n=Gi.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Xe(){return Gi.lFrame.currentQueryIndex}function Ge(e){Gi.lFrame.currentQueryIndex=e}function Ot(e){const n=e[Fn];return 2===n.type?n.declTNode:1===n.type?e[Gr]:null}function Vt(e,n,i){if(i&li.SkipSelf){let o=n,a=e;for(;!(o=o.parent,null!==o||i&li.Host||(o=Ot(a),null===o||(a=a[is],10&o.type))););if(null===o)return!1;n=o,e=a}const r=Gi.lFrame=cn();return r.currentTNode=n,r.lView=e,!0}function ln(e){const n=cn(),i=e[Fn];Gi.lFrame=n,n.currentTNode=i.firstChild,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex,n.inI18n=!1}function cn(){const e=Gi.lFrame,n=null===e?null:e.child;return null===n?_n(e):n}function _n(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function hn(){const e=Gi.lFrame;return Gi.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Yn=hn;function Ei(){const e=hn();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Vn(){return Gi.lFrame.selectedIndex}function ui(e){Gi.lFrame.selectedIndex=e}function Kn(){const e=Gi.lFrame;return Wa(e.tView,e.selectedIndex)}function hr(){Gi.lFrame.currentNamespace=Ic}function Lr(){!function aa(){Gi.lFrame.currentNamespace=null}()}let El=!0;function Ts(){return El}function Ws(e){El=e}function Ml(e,n){for(let i=n.directiveStart,r=n.directiveEnd;i=r)break}else n[x]<0&&(e[Sa]+=65536),(m>14>16&&(3&e[oi])===n&&(e[oi]+=16384,Uo(m,a)):Uo(m,a)}const yo=-1;class Ks{constructor(n,i,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=r}}function Dl(e){return e!==yo}function Sl(e){return 32767&e}function Tl(e,n){let i=function zf(e){return e>>16}(e),r=n;for(;i>0;)r=r[is],i--;return r}let jc=!0;function Gl(e){const n=jc;return jc=e,n}const qu=255,Uc=5;let Hf=0;const Ta={};function zc(e,n){const i=eh(e,n);if(-1!==i)return i;const r=n[Fn];r.firstCreatePass&&(e.injectorIndex=n.length,Ua(r.data,e),Ua(n,null),Ua(r.blueprint,null));const o=Hc(e,n),a=e.injectorIndex;if(Dl(o)){const f=Sl(o),m=Tl(o,n),x=m[Fn].data;for(let X=0;X<8;X++)n[a+X]=m[f+X]|x[f+X]}return n[a+8]=o,a}function Ua(e,n){e.push(0,0,0,0,0,0,0,0,n)}function eh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Hc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,r=null,o=n;for(;null!==o;){if(r=Kf(o),null===r)return yo;if(i++,o=o[is],-1!==r.injectorIndex)return r.injectorIndex|i<<16}return yo}function th(e,n,i){!function ng(e,n,i){let r;"string"==typeof i?r=i.charCodeAt(0)||0:i.hasOwnProperty(oo)&&(r=i[oo]),null==r&&(r=i[oo]=Hf++);const o=r&qu;n.data[e+(o>>Uc)]|=1<=0?n&qu:ih:n}(i);if("function"==typeof a){if(!Vt(n,e,r))return r&li.Host?Wf(o,0,r):Gf(n,i,r,o);try{let f;if(f=a(r),null!=f||r&li.Optional)return f;Mi()}finally{Yn()}}else if("number"==typeof a){let f=null,m=eh(e,n),x=yo,X=r&li.Host?n[co][Gr]:null;for((-1===m||r&li.SkipSelf)&&(x=-1===m?Hc(e,n):n[m+8],x!==yo&&$c(r,!1)?(f=n[Fn],m=Sl(x),n=Tl(x,n)):m=-1);-1!==m;){const he=n[Fn];if(Ui(a,m,he.data)){const Ve=nh(m,n,i,f,r,X);if(Ve!==Ta)return Ve}x=n[m+8],x!==yo&&$c(r,n[Fn].data[m+8]===X)&&Ui(a,m,n)?(f=he,m=Sl(x),n=Tl(x,n)):m=-1}}return o}function nh(e,n,i,r,o,a){const f=n[Fn],m=f.data[e+8],he=pc(m,f,i,null==r?ms(m)&&jc:r!=f&&!!(3&m.type),o&li.Host&&a===m);return null!==he?Ya(n,f,he,m):Ta}function pc(e,n,i,r,o){const a=e.providerIndexes,f=n.data,m=1048575&a,x=e.directiveStart,he=a>>20,bt=o?m+he:e.directiveEnd;for(let It=r?m:m+he;It=x&&Gt.type===i)return It}if(o){const It=f[x];if(It&&oa(It)&&It.type===i)return x}return null}function Ya(e,n,i,r){let o=e[i];const a=n.data;if(function po(e){return e instanceof Ks}(o)){const f=o;f.resolving&&function fi(e,n){throw n&&n.join(" > "),new _t(-200,e)}(function ft(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():pn(e)}(a[i]));const m=Gl(f.canSeeViewProviders);f.resolving=!0;const X=f.injectImpl?Ji(f.injectImpl):null;Vt(e,r,li.Default);try{o=e[i]=f.factory(void 0,a,e,r),n.firstCreatePass&&i>=r.directiveStart&&function Pd(e,n,i){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:a}=n.type.prototype;if(r){const f=Vo(n);(i.preOrderHooks??=[]).push(e,f),(i.preOrderCheckHooks??=[]).push(e,f)}o&&(i.preOrderHooks??=[]).push(0-e,o),a&&((i.preOrderHooks??=[]).push(e,a),(i.preOrderCheckHooks??=[]).push(e,a))}(i,a[i],n)}finally{null!==X&&Ji(X),Gl(m),f.resolving=!1,Yn()}}return o}function Ui(e,n,i){return!!(i[n+(e>>Uc)]&1<{const n=e.prototype.constructor,i=n[Fr]||bs(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const a=o[Fr]||bs(o);if(a&&a!==i)return a;o=Object.getPrototypeOf(o)}return a=>new a})}function bs(e){return Ee(e)?()=>{const n=bs(He(e));return n&&n()}:Xo(e)}function Kf(e){const n=e[Fn],i=n.type;return 2===i?n.declTNode:1===i?e[Gr]:null}function Wc(e){return function $f(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const i=e.attrs;if(i){const r=i.length;let o=0;for(;o{class e{static#e=this.THROW_IF_NOT_FOUND=sn;static#t=this.NULL=new Zo;static create(i,r){if(Array.isArray(i))return ch({name:""},r,i,"");{const o=i.name??"";return ch({name:o},i.parent,i.providers,o)}}static#n=this.\u0275prov=ei({token:e,providedIn:"any",factory:()=>Hr(Ra)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Fd(e){return e.ngOriginalError}class cl{constructor(){this._console=console}handleError(n){const i=this._findOriginalError(n);this._console.error("ERROR",n),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(n){let i=n&&Fd(n);for(;i&&Fd(i);)i=Fd(i);return i||null}}const Nd=new yt("",{providedIn:"root",factory:()=>Si(cl).handleError.bind(void 0)});let Il=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dh;static#t=this.__NG_ENV_ID__=i=>i}return e})();class Kc extends Il{constructor(n){super(),this._lView=n}onDestroy(n){return al(this._lView,n),()=>function Ka(e,n){if(null===e[Ae])return;const i=e[Ae].indexOf(n);-1!==i&&e[Ae].splice(i,1)}(this._lView,n)}}function dh(){return new Kc(fn())}class uh{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=Si(cl,{optional:!0}),this.destroyRef=Si(Il),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new _t(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{const i=this.listeners?.indexOf(n);void 0!==i&&-1!==i&&this.listeners?.splice(i,1)}}}emit(n){if(this.destroyed)throw new _t(953,!1);if(null===this.listeners)return;const i=G(null);try{for(const r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{G(i)}}}function Ld(e){return new uh}function hh(e,n){return Ye(e,n)}const Kl=(hh.required=function Qa(e){return Ye(Hn,e)},hh);function cg(){return Xl(Qr(),fn())}function Xl(e,n){return new Xc(Yr(e,n))}let Xc=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=cg}return e})();function qf(e){return e instanceof Xc?e.nativeElement:e}function fh(e){return n=>{setTimeout(e,void 0,n)}}const Ja=class dg extends Rn.B{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,kn()&&(this.destroyRef=Si(Il,{optional:!0})??void 0)}emit(n){const i=G(null);try{super.next(n)}finally{G(i)}}subscribe(n,i,r){let o=n,a=i||(()=>null),f=r;if(n&&"object"==typeof n){const x=n;o=x.next?.bind(x),a=x.error?.bind(x),f=x.complete?.bind(x)}this.__isAsync&&(a=fh(a),o&&(o=fh(o)),f&&(f=fh(f)));const m=super.subscribe({next:o,error:a,complete:f});return n instanceof ii.yU&&n.add(m),m}};function ug(){return this._results[Symbol.iterator]()}class Bd{static#e=Symbol.iterator;get changes(){return this._changes??=new Ja}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=Bd.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=ug)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,i){return this._results.reduce(n,i)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,i){this.dirty=!1;const r=function Gn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function wo(e,n,i){if(e.length!==n.length)return!1;for(let r=0;rAg}),Ag="ng",bp=new yt(""),zd=new yt("",{providedIn:"platform",factory:()=>"unknown"}),Hd=new yt(""),Rg=new yt("",{providedIn:"root",factory:()=>Pl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let nd=()=>null;function Mh(e,n,i=!1){return nd(e,n,i)}const Mp=new yt("",{providedIn:"root",factory:()=>!1});let Zl,Zd;function vc(e){return function Oh(){if(void 0===Zl&&(Zl=null,Yt.trustedTypes))try{Zl=Yt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zl}()?.createHTML(e)||e}function Ph(){if(void 0===Zd&&(Zd=null,Yt.trustedTypes))try{Zd=Yt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zd}function Sp(e){return Ph()?.createHTML(e)||e}function Op(e){return Ph()?.createScriptURL(e)||e}class Yl{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${at})`}}class Hg extends Yl{getTypeName(){return"HTML"}}class $g extends Yl{getTypeName(){return"Style"}}class Wg extends Yl{getTypeName(){return"Script"}}class Gg extends Yl{getTypeName(){return"URL"}}class Kg extends Yl{getTypeName(){return"ResourceURL"}}function ls(e){return e instanceof Yl?e.changingThisBreaksApplicationSecurity:e}function bc(e,n){const i=function Xg(e){return e instanceof Yl&&e.getTypeName()||null}(e);if(null!=i&&i!==n){if("ResourceURL"===i&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${i} (see ${at})`)}return i===n}function Ql(e){return new Hg(e)}function pr(e){return new $g(e)}function Zg(e){return new Wg(e)}function ca(e){return new Gg(e)}function zo(e){return new Kg(e)}class Al{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const i=(new window.DOMParser).parseFromString(vc(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.removeChild(i.firstChild),i)}catch{return null}}}class Yg{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const i=this.inertDocument.createElement("template");return i.innerHTML=vc(n),i}}const Jg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yd(e){return(e=String(e)).match(Jg)?e:"unsafe:"+e}function dl(e){const n={};for(const i of e.split(","))n[i]=!0;return n}function Jl(...e){const n={};for(const i of e)for(const r in i)i.hasOwnProperty(r)&&(n[r]=!0);return n}const Pp=dl("area,br,col,hr,img,wbr"),qa=dl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ah=dl("rp,rt"),Qd=Jl(Pp,Jl(qa,dl("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")),Jl(Ah,dl("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")),Jl(Ah,qa)),kh=dl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ap=Jl(kh,dl("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"),dl("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")),qg=dl("script,style,template");class e_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let i=n.firstChild,r=!0,o=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?r=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,r&&i.firstChild)o.push(i),i=Fh(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let a=cd(i);if(a){i=a;break}i=o.pop()}return this.buf.join("")}startElement(n){const i=kp(n).toLowerCase();if(!Qd.hasOwnProperty(i))return this.sanitizedSomething=!0,!qg.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const r=n.attributes;for(let o=0;o"),!0}endElement(n){const i=kp(n).toLowerCase();Qd.hasOwnProperty(i)&&!Pp.hasOwnProperty(i)&&(this.buf.push(""))}chars(n){this.buf.push(ql(n))}}function cd(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw Nh(n);return n}function Fh(e){const n=e.firstChild;if(n&&function Rp(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw Nh(n);return n}function kp(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function Nh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Jd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wa=/([^\#-~ |!])/g;function ql(e){return e.replace(/&/g,"&").replace(Jd,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(wa,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let qd;function Fp(e,n){let i=null;try{qd=qd||function Ip(e){const n=new Yg(e);return function Qg(){try{return!!(new window.DOMParser).parseFromString(vc(""),"text/html")}catch{return!1}}()?new Al(n):n}(e);let r=n?String(n):"";i=qd.getInertBodyElement(r);let o=5,a=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=a,a=i.innerHTML,i=qd.getInertBodyElement(r)}while(r!==a);return vc((new e_).sanitizeChildren(Lh(i)||i))}finally{if(i){const r=Lh(i)||i;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Lh(e){return"content"in e&&function t_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ec=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}(ec||{});function Bh(e){const n=dd();return n?Sp(n.sanitize(ec.HTML,e)||""):bc(e,"HTML")?Sp(ls(e)):Fp(Pl(),pn(e))}function mr(e){const n=dd();return n?n.sanitize(ec.URL,e)||"":bc(e,"URL")?ls(e):Yd(pn(e))}function eu(e){const n=dd();if(n)return Op(n.sanitize(ec.RESOURCE_URL,e)||"");if(bc(e,"ResourceURL"))return Op(ls(e));throw new _t(904,!1)}function Lp(e,n,i){return function Jr(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?eu:mr}(n,i)(e)}function dd(){const e=fn();return e&&e[qo].sanitizer}const r_=/^>|^->||--!>|)/g,s_="\u200b$1\u200b";function zp(e){return e.ownerDocument.defaultView}function Hp(e){return e.ownerDocument}function Ca(e){return e instanceof Function?e():e}var iu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(iu||{});let Gh;function Kh(e,n){return Gh(e,n)}function nc(e,n,i,r,o){if(null!=r){let a,f=!1;rs(r)?a=r:Fo(r)&&(f=!0,r=r[Ci]);const m=er(r);0===e&&null!==i?null==o?Zp(n,i,m):ic(n,i,m,o||null,!0):1===e&&null!==i?ic(n,i,m,o||null,!0):2===e?function fd(e,n,i){const r=au(e,n);r&&function x_(e,n,i,r){e.removeChild(n,i,r)}(e,r,n,i)}(n,m,f):3===e&&n.destroyNode(m),null!=a&&function D_(e,n,i,r,o){const a=i[ra];a!==er(i)&&nc(n,e,r,a,o);for(let m=fo;mn.replace(o_,s_))}(n))}function ou(e,n,i){return e.createElement(n,i)}function Gp(e,n){n[qo].changeDetectionScheduler?.notify(1),wc(e,n,n[Bi],2,null,null)}function Kp(e,n){const i=e[Bo],r=i.indexOf(n);i.splice(r,1)}function ud(e,n){if(e.length<=fo)return;const i=fo+n,r=e[i];if(r){const o=r[ka];null!==o&&o!==e&&Kp(o,r),n>0&&(e[i-1][To]=r[To]);const a=ga(e,fo+n);!function g_(e,n){Gp(e,n),n[Ci]=null,n[Gr]=null}(r[Fn],r);const f=a[Ms];null!==f&&f.detachView(a[Fn]),r[Cr]=null,r[To]=null,r[oi]&=-129}return r}function su(e,n){if(!(256&n[oi])){const i=n[Bi];i.destroyNode&&wc(e,n,i,3,null,null),function v_(e){let n=e[Es];if(!n)return Zh(e[Fn],e);for(;n;){let i=null;if(Fo(n))i=n[Es];else{const r=n[fo];r&&(i=r)}if(!i){for(;n&&!n[To]&&n!==e;)Fo(n)&&Zh(n[Fn],n),n=n[Cr];null===n&&(n=e),Fo(n)&&Zh(n[Fn],n),i=n&&n[To]}n=i}}(n)}}function Zh(e,n){if(256&n[oi])return;const i=G(null);try{n[oi]&=-129,n[oi]|=256,n[ia]&&je(n[ia]),function C_(e,n){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let r=0;r=0?r[f]():r[-f].unsubscribe(),a+=2}else i[a].call(r[i[a+1]]);null!==r&&(n[ta]=null);const o=n[Ae];if(null!==o){n[Ae]=null;for(let a=0;a-1){const{encapsulation:a}=e.data[r.directiveStart+o];if(a===no.None||a===no.Emulated)return null}return Yr(r,i)}}(e,n.parent,i)}function ic(e,n,i,r,o){e.insertBefore(n,i,r,o)}function Zp(e,n,i){e.appendChild(n,i)}function Yp(e,n,i,r,o){null!==r?ic(e,n,i,r,o):Zp(e,n,i)}function au(e,n){return e.parentNode(n)}function Qp(e,n,i){return Qh(e,n,i)}let cu,Qh=function lu(e,n,i){return 40&e.type?Yr(e,i):null};function du(e,n,i,r){const o=Yh(e,r,n),a=n[Bi],m=Qp(r.parent||n[Gr],r,n);if(null!=o)if(Array.isArray(i))for(let x=0;xAi&&im(e,n,Ai,!1),jo(f?2:0,o),i(r,o)}finally{ui(a),jo(f?3:1,o)}}function tf(e,n,i){if(oc(n)){const r=G(null);try{const a=n.directiveEnd;for(let f=n.directiveStart;fnull;function lm(e,n,i,r,o){for(let a in n){if(!n.hasOwnProperty(a))continue;const f=n[a];if(void 0===f)continue;r??={};let m,x=vo.None;Array.isArray(f)?(m=f[0],x=f[1]):m=f;let X=a;if(null!==o){if(!o.hasOwnProperty(a))continue;X=o[a]}0===e?cm(r,i,X,m,x):cm(r,i,X,m)}return r}function cm(e,n,i,r,o){let a;e.hasOwnProperty(i)?(a=e[i]).push(n,r):a=e[i]=[n,r],void 0!==o&&a.push(o)}function ua(e,n,i,r,o,a,f,m){const x=Yr(n,i);let he,X=n.inputs;!m&&null!=X&&(he=X[r])?(V_(e,i,he,r,o),ms(n)&&function B_(e,n){const i=ks(n,e);16&i[oi]||(i[oi]|=64)}(i,n.index)):3&n.type&&(r=function L_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=f?f(o,n.value||"",r):o,a.setProperty(x,r,o))}function g(e,n,i,r){if(Fc()){const o=null===r?null:{"":-1},a=function Sn(e,n){const i=e.directiveRegistry;let r=null,o=null;if(i)for(let a=0;a0;){const i=e[--n];if("number"==typeof i&&i<0)return i}return 0})(f)!=m&&f.push(m),f.push(i,r,a)}}(e,n,r,md(e,i,o.hostVars,ar),o)}function Ri(e,n,i,r,o,a){const f=Yr(e,n);!function Tr(e,n,i,r,o,a,f){if(null==a)e.removeAttribute(n,o,i);else{const m=null==f?pn(a):f(a,r||"",o);e.setAttribute(n,o,m,i)}}(n[Bi],f,a,e.value,i,r,o)}function Br(e,n,i,r,o,a){const f=a[n];if(null!==f)for(let m=0;m0&&(i[o-1][To]=n),r{cc(e.lView)},consumerOnSignalRead(){this.lView[ia]=this}},Z0=100;function um(e,n=!0,i=0){const r=e[qo],o=r.rendererFactory;o.begin?.();try{!function dx(e,n){z_(e,n);let i=0;for(;Ga(e);){if(i===Z0)throw new _t(103,!1);i++,z_(e,1)}}(e,i)}catch(f){throw n&&dm(e,f),f}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function ux(e,n,i,r){const o=n[oi];if(!(256&~o))return;n[qo].inlineEffectRunner?.flush(),ln(n);let f=null,m=null;(function hx(e){return 2!==e.type})(e)&&(m=function sx(e){return e[ia]??function ax(e){const n=X0.pop()??Object.create(cx);return n.lView=e,n}(e)}(n),f=me(m));try{lc(n),function xl(e){return Gi.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==i&&om(e,n,i,2,r);const x=!(3&~o);if(x){const Ve=e.preOrderCheckHooks;null!==Ve&&yi(n,Ve,null)}else{const Ve=e.preOrderHooks;null!==Ve&&pi(n,Ve,0,null),Di(n,0)}if(function fx(e){for(let n=lp(e);null!==n;n=cp(n)){if(!(n[oi]&vl.HasTransplantedViews))continue;const i=n[Bo];for(let r=0;r-1&&(ud(n,r),ga(i,r))}this._attachedToViewContainer=!1}su(this._lView[Fn],this._lView)}onDestroy(n){al(this._lView,n)}markForCheck(){uf(this._cdRefInjectingView||this._lView)}detach(){this._lView[oi]&=-129}reattach(){kc(this._lView),this._lView[oi]|=128}detectChanges(){this._lView[oi]|=1024,um(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _t(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Gp(this._lView[Fn],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _t(902,!1);this._appRef=n,kc(this._lView)}}let ff=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=_x}return e})();const mx=ff,gx=class extends mx{constructor(n,i,r){super(),this._declarationLView=n,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,r){const o=lf(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:r});return new hf(o)}};function _x(){return hm(Qr(),fn())}function hm(e,n){return 4&e.type?new gx(n,e,Xl(e,n)):null}let rb=()=>null;function mu(e,n){return rb(e,n)}class _m{}class Ux{}class ob{}class Hx{resolveComponentFactory(n){throw function zx(e){const n=Error(`No component factory found for ${Qn(e)}.`);return n.ngComponent=e,n}(n)}}let vf=(()=>{class e{static#e=this.NULL=new Hx}return e})();class ab{}let $x=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Wx(){const e=fn(),i=ks(Qr().index,e);return(Fo(i)?i:e)[Bi]}()}return e})(),Gx=(()=>{class e{static#e=this.\u0275prov=ei({token:e,providedIn:"root",factory:()=>null})}return e})();const X_={};function Kx(e,n){if(null!==function B(){return D}())throw new _t(-602,!1)}const lb=new Set;function hl(e){lb.has(e)||(lb.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function cb(...e){}class ys{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ja(!1),this.onMicrotaskEmpty=new Ja(!1),this.onStable=new Ja(!1),this.onError=new Ja(!1),typeof Zone>"u")throw new _t(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&i,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Xx(){const e="function"==typeof Yt.requestAnimationFrame;let n=Yt[e?"requestAnimationFrame":"setTimeout"],i=Yt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&i){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Qx(e){const n=()=>{!function Yx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Yt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Y_(e),e.isCheckStableRunning=!0,Z_(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Y_(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,r,o,a,f,m)=>{if(function Jx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(m))return i.invokeTask(o,a,f,m);try{return db(e),i.invokeTask(o,a,f,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&n(),ub(e)}},onInvoke:(i,r,o,a,f,m,x)=>{try{return db(e),i.invoke(o,a,f,m,x)}finally{e.shouldCoalesceRunChangeDetection&&n(),ub(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Y_(e),Z_(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ys.isInAngularZone())throw new _t(909,!1)}static assertNotInAngularZone(){if(ys.isInAngularZone())throw new _t(909,!1)}run(n,i,r){return this._inner.run(n,i,r)}runTask(n,i,r,o){const a=this._inner,f=a.scheduleEventTask("NgZoneEvent: "+o,n,Zx,cb,cb);try{return a.runTask(f,i,r)}finally{a.cancelTask(f)}}runGuarded(n,i,r){return this._inner.runGuarded(n,i,r)}runOutsideAngular(n){return this._outer.run(n)}}const Zx={};function Z_(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Y_(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function db(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ub(e){e._nesting--,Z_(e)}let bf=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of i)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ei({token:e,providedIn:"root",factory:()=>new e})}return e})();function xc(e){return!!zt(e)}function bm(e,n,i){let r=i?e.styles:null,o=i?e.classes:null,a=0;if(null!==n)for(let f=0;f0&&tm(e,i,a.join(" "))}}(It,As,gn,r),void 0!==i&&function uE(e,n,i){const r=e.projection=[];for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=fE}return e})();function fE(){return Cb(Qr(),fn())}const pE=wm,yb=class extends pE{constructor(n,i,r){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=r}get element(){return Xl(this._hostTNode,this._hostLView)}get injector(){return new as(this._hostTNode,this._hostLView)}get parentInjector(){const n=Hc(this._hostTNode,this._hostLView);if(Dl(n)){const i=Tl(n,this._hostLView),r=Sl(n);return new as(i[Fn].data[r+8],i)}return new as(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=wb(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-fo}createEmbeddedView(n,i,r){let o,a;"number"==typeof r?o=r:null!=r&&(o=r.index,a=r.injector);const f=mu(this._lContainer,n.ssrId),m=n.createEmbeddedViewImpl(i||{},a,f);return this.insertImpl(m,o,pu(this._hostTNode,f)),m}createComponent(n,i,r,o,a){const f=n&&!function dn(e){return"function"==typeof e}(n);let m;if(f)m=i;else{const Gt=i||{};m=Gt.index,r=Gt.injector,o=Gt.projectableNodes,a=Gt.environmentInjector||Gt.ngModuleRef}const x=f?n:new Cf(K(n)),X=r||this.parentInjector;if(!a&&null==x.ngModule){const gn=(f?X:this.parentInjector).get(Co,null);gn&&(a=gn)}const he=K(x.componentType??{}),Ve=mu(this._lContainer,he?.id??null),It=x.create(X,o,Ve?.firstChild??null,a);return this.insertImpl(It.hostView,m,pu(this._hostTNode,Ve)),It}insert(n,i){return this.insertImpl(n,i,!0)}insertImpl(n,i,r){const o=n._lView;if(function $u(e){return rs(e[Cr])}(o)){const m=this.indexOf(n);if(-1!==m)this.detach(m);else{const x=o[Cr],X=new yb(x,x[Gr],x[Cr]);X.detach(X.indexOf(n))}}const a=this._adjustIndex(i),f=this._lContainer;return cf(f,o,a,r),n.attachToViewContainerRef(),ma(ev(f),a,n),n}move(n,i){return this.insert(n,i)}indexOf(n){const i=wb(this._lContainer);return null!==i?i.indexOf(n):-1}remove(n){const i=this._adjustIndex(n,-1),r=ud(this._lContainer,i);r&&(ga(ev(this._lContainer),i),su(r[Fn],r))}detach(n){const i=this._adjustIndex(n,-1),r=ud(this._lContainer,i);return r&&null!=ga(ev(this._lContainer),i)?new hf(r):null}_adjustIndex(n,i=0){return n??this.length+i}};function wb(e){return e[8]}function ev(e){return e[8]||(e[8]=[])}function Cb(e,n){let i;const r=n[e.index];return rs(r)?i=r:(i=Ls(r,n,null,e),n[e.index]=i,Eo(n,i)),xb(i,n,e,r),new yb(i,e,n)}let xb=function Mb(e,n,i,r){if(e[ra])return;let o;o=8&i.type?er(r):function mE(e,n){const i=e[Bi],r=i.createComment(""),o=Yr(n,e);return ic(i,au(i,o),r,function E_(e,n){return e.nextSibling(n)}(i,o),!1),r}(n,i),e[ra]=o},tv=()=>!1;class nv{constructor(n){this.queryList=n,this.matches=null}clone(){return new nv(this.queryList)}setDirty(){this.queryList.setDirty()}}class iv{constructor(n=[]){this.queries=n}createEmbeddedView(n){const i=n.queries;if(null!==i){const r=null!==n.contentQueries?n.contentQueries[0]:i.length,o=[];for(let a=0;an.trim())}(n):n}}class rv{constructor(n=[]){this.queries=n}elementStart(n,i){for(let r=0;r0)r.push(f[m/2]);else{const X=a[m+1],he=n[-x];for(let Ve=fo;Ve(A(n),n.value);return i[ee]=n,i}(e),r=i[ee];return n?.equal&&(r.equal=n.equal),i.set=o=>qe(r,o),i.update=o=>function Ce(e,n){de()||Be(),qe(e,n(e.value))}(r,o),i.asReadonly=kb.bind(i),i}function kb(){const e=this[ee];if(void 0===e.readonlyFn){const n=()=>this();n[ee]=e,e.readonlyFn=n}return e.readonlyFn}function Fb(e){return cv(e)&&"function"==typeof e.set}function dv(e,n){let i;const r=$(()=>{i._dirtyCounter();const o=function ME(e,n){const i=e._lView,r=e._queryIndex;if(void 0===i||void 0===r||4&i[oi])return n?void 0:or;const o=av(i,r),a=Ab(i,r);return o.reset(a,qf),n?o.first:o._changesDetected||void 0===e._flatValue?e._flatValue=o.toArray():e._flatValue}(i,e);if(n&&void 0===o)throw new _t(-951,!1);return o});return i=r[ee],i._dirtyCounter=Rb(0),i._flatValue=void 0,r}function jb(e,n){return function Nb(){return dv(!0,!1)}()}const SE=(jb.required=function DE(e,n){return function Lb(){return dv(!0,!0)}()},jb);function TE(e,n){return function Bb(){return dv(!1,!1)}()}function Ub(e){const n=Object.create(Xn),i=new uh;function r(){return A(n),zb(n.value),n.value}return n.value=e,r[ee]=n,r.asReadonly=kb.bind(r),r.set=o=>{n.equal(n.value,o)||(qe(n,o),i.emit(o))},r.update=o=>{zb(n.value),r.set(o(n.value))},r.subscribe=i.subscribe.bind(i),r.destroyRef=i.destroyRef,r}function zb(e){if(e===Hn)throw new _t(-952,!1)}function Hb(e){return Ub(e)}const IE=(Hb.required=function OE(){return Ub(Hn)},Hb);function uv(e){let n=function Xb(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),i=!0;const r=[e];for(;n;){let o;if(oa(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new _t(903,!1);o=n.\u0275dir}if(o){if(i){r.push(o);const f=e;f.inputs=xm(e.inputs),f.inputTransforms=xm(e.inputTransforms),f.declaredInputs=xm(e.declaredInputs),f.outputs=xm(e.outputs);const m=o.hostBindings;m&&HE(e,m);const x=o.viewQuery,X=o.contentQueries;if(x&&UE(e,x),X&&zE(e,X),VE(e,o),ki(e.outputs,o.outputs),oa(o)&&o.data.animation){const he=e.data;he.animation=(he.animation||[]).concat(o.data.animation)}}const a=o.features;if(a)for(let f=0;f=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=U(o.hostAttrs,i=U(i,o.hostAttrs))}}(r)}function VE(e,n){for(const i in n.inputs){if(!n.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const r=n.inputs[i];if(void 0!==r&&(e.inputs[i]=r,e.declaredInputs[i]=n.declaredInputs[i],null!==n.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=n.inputTransforms[o]}}}function xm(e){return e===ao?{}:e===or?[]:e}function UE(e,n){const i=e.viewQuery;e.viewQuery=i?(r,o)=>{n(r,o),i(r,o)}:n}function zE(e,n){const i=e.contentQueries;e.contentQueries=i?(r,o,a)=>{n(r,o,a),i(r,o,a)}:n}function HE(e,n){const i=e.hostBindings;e.hostBindings=i?(r,o)=>{n(r,o),i(r,o)}:n}function Jb(e){const n=e.inputConfig,i={};for(const r in n)if(n.hasOwnProperty(r)){const o=n[r];Array.isArray(o)&&o[3]&&(i[r]=o[3])}e.inputTransforms=i}class _d{}class qb{}function ZE(e,n){return new hv(e,n??null,[])}class hv extends _d{constructor(n,i,r){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vb(this);const o=zt(n);this._bootstrapComponents=Ca(o.bootstrap),this._r3Injector=Qf(n,i,[{provide:_d,useValue:this},{provide:vf,useValue:this.componentFactoryResolver},...r],Qn(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class fv extends qb{constructor(n){super(),this.moduleType=n}create(n){return new hv(this.moduleType,n,[])}}class ey extends _d{constructor(n){super(),this.componentFactoryResolver=new vb(this),this.instance=null;const i=new ps([...n.providers,{provide:_d,useValue:this},{provide:vf,useValue:this.componentFactoryResolver}],n.parent||sr(),n.debugName,new Set(["environment"]));this.injector=i,n.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function pv(e,n,i=null){return new ey({providers:e,parent:n,debugName:i,runEnvironmentInitializers:!0}).injector}let _u=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Cn.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Mm(e){return!!mv(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function mv(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Nl(e,n,i){return e[n]=i}function Ef(e,n){return e[n]}function cs(e,n,i){return!Object.is(e[n],i)&&(e[n]=i,!0)}function vd(e,n,i,r){const o=cs(e,n,i);return cs(e,n+1,r)||o}function el(e,n,i,r,o,a){const f=vd(e,n,i,r);return vd(e,n+2,o,a)||f}function vu(e,n,i,r,o,a,f,m){const x=fn(),X=xr(),he=e+Ai,Ve=X.firstCreatePass?function nM(e,n,i,r,o,a,f,m,x){const X=n.consts,he=kl(n,e,4,f||null,Fs(X,m));g(n,i,he,Fs(X,x)),Ml(n,he);const Ve=he.tView=sf(2,he,r,o,a,n.directiveRegistry,n.pipeRegistry,null,n.schemas,X,null);return null!==n.queries&&(n.queries.template(n,he),Ve.queries=n.queries.embeddedTView(he)),he}(he,X,x,n,i,r,o,a,f):X.data[he];sa(Ve,!1);const bt=ty(X,x,Ve,e);Ts()&&du(X,x,bt,Ve),uo(bt,x);const It=Ls(bt,x,bt,Ve);return x[he]=It,Eo(x,It),function Eb(e,n,i){return tv(e,n,i)}(It,Ve,x),jl(Ve)&&nf(X,x,Ve),null!=f&&rf(x,Ve,m),vu}let ty=function ny(e,n,i,r){return Ws(!0),n[Bi].createComment("")};function Mv(e,n,i,r){const o=fn();return cs(o,M(),n)&&(xr(),Ri(Kn(),o,e,n,i,r)),Mv}function Du(e,n,i,r){return cs(e,M(),i)?n+pn(i)+r:ar}function Su(e,n,i,r,o,a){const m=vd(e,function ja(){return Gi.lFrame.bindingIndex}(),i,o);return d(2),m?n+pn(i)+r+pn(o)+a:ar}function Am(e,n){return e<<17|n<<2}function Dc(e){return e>>17&32767}function Dv(e){return 2|e}function yd(e){return(131068&e)>>2}function Sv(e,n){return-131069&e|n<<2}function Tv(e){return 1|e}function Ry(e,n,i,r){const o=e[i+1],a=null===n;let f=r?Dc(o):yd(o),m=!1;for(;0!==f&&(!1===m||a);){const X=e[f+1];UM(e[f],n)&&(m=!0,e[f+1]=r?Tv(X):Dv(X)),f=r?Dc(X):yd(X)}m&&(e[i+1]=r?Dv(o):Tv(o))}function UM(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Rr(e,n)>=0}const Is={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ky(e){return e.substring(Is.key,Is.keyEnd)}function zM(e){return e.substring(Is.value,Is.valueEnd)}function Fy(e,n){const i=Is.textEnd;return i===n?-1:(n=Is.keyEnd=function WM(e,n,i){for(;n32;)n++;return n}(e,Is.key=n,i),ku(e,n,i))}function Ny(e,n){const i=Is.textEnd;let r=Is.key=ku(e,n,i);return i===r?-1:(r=Is.keyEnd=function GM(e,n,i){let r;for(;n=65&&(-33&r)<=90||r>=48&&r<=57);)n++;return n}(e,r,i),r=By(e,r,i),r=Is.value=ku(e,r,i),r=Is.valueEnd=function KM(e,n,i){let r=-1,o=-1,a=-1,f=n,m=f;for(;f32&&(m=f),a=o,o=r,r=-33&x}return m}(e,r,i),By(e,r,i))}function Ly(e){Is.key=0,Is.keyEnd=0,Is.value=0,Is.valueEnd=0,Is.textEnd=e.length}function ku(e,n,i){for(;n=0;i=Ny(n,i))Hy(e,ky(n),zM(n))}function jy(e){ml(eD,Ll,e,!0)}function Ll(e,n){for(let i=function HM(e){return Ly(e),Fy(e,ku(e,0,Is.textEnd))}(n);i>=0;i=Fy(n,i))Ur(e,ky(n),!0)}function pl(e,n,i,r){const o=fn(),a=xr(),f=d(2);a.firstUpdatePass&&zy(a,e,f,r),n!==ar&&cs(o,f,n)&&$y(a,a.data[Vn()],o,o[Bi],e,o[f+1]=function nD(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Qn(ls(e)))),e}(n,i),r,f)}function ml(e,n,i,r){const o=xr(),a=d(2);o.firstUpdatePass&&zy(o,null,a,r);const f=fn();if(i!==ar&&cs(f,a,i)){const m=o.data[Vn()];if(Gy(m,r)&&!Uy(o,a)){let x=r?m.classesWithoutHost:m.stylesWithoutHost;null!==x&&(i=Jt(x,i||"")),Iv(o,m,f,i,r)}else!function tD(e,n,i,r,o,a,f,m){o===ar&&(o=or);let x=0,X=0,he=0=e.expandoStartIndex}function zy(e,n,i,r){const o=e.data;if(null===o[i+1]){const a=o[Vn()],f=Uy(e,i);Gy(a,r)&&null===n&&!f&&(n=!1),n=function ZM(e,n,i,r){const o=Me(e);let a=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(i=Of(i=Rv(null,e,n,i,r),n.attrs,r),a=null);else{const f=n.directiveStylingLast;if(-1===f||e[f]!==o)if(i=Rv(o,e,n,i,r),null===a){let x=function YM(e,n,i){const r=i?n.classBindings:n.styleBindings;if(0!==yd(r))return e[Dc(r)]}(e,n,r);void 0!==x&&Array.isArray(x)&&(x=Rv(null,e,n,x[1],r),x=Of(x,n.attrs,r),function QM(e,n,i,r){e[Dc(i?n.classBindings:n.styleBindings)]=r}(e,n,r,x))}else a=function JM(e,n,i){let r;const o=n.directiveEnd;for(let a=1+n.directiveStylingLast;a0)&&(X=!0)):he=i,o)if(0!==x){const bt=Dc(e[m+1]);e[r+1]=Am(bt,m),0!==bt&&(e[bt+1]=Sv(e[bt+1],r)),e[m+1]=function LM(e,n){return 131071&e|n<<17}(e[m+1],r)}else e[r+1]=Am(m,0),0!==m&&(e[m+1]=Sv(e[m+1],r)),m=r;else e[r+1]=Am(x,0),0===m?m=r:e[x+1]=Sv(e[x+1],r),x=r;X&&(e[r+1]=Dv(e[r+1])),Ry(e,he,r,!0),Ry(e,he,r,!1),function jM(e,n,i,r,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof n&&Rr(a,n)>=0&&(i[r+1]=Tv(i[r+1]))}(n,he,e,r,a),f=Am(m,x),a?n.classBindings=f:n.styleBindings=f}(o,a,n,i,f,r)}}function Rv(e,n,i,r,o){let a=null;const f=i.directiveEnd;let m=i.directiveStylingLast;for(-1===m?m=i.directiveStart:m++;m0;){const x=e[o],X=Array.isArray(x),he=X?x[1]:x,Ve=null===he;let bt=i[o+1];bt===ar&&(bt=Ve?or:void 0);let It=Ve?_o(bt,r):he===r?bt:void 0;if(X&&!Rm(It)&&(It=_o(x,r)),Rm(It)&&(m=It,f))return m;const Gt=e[o+1];o=f?Dc(Gt):yd(Gt)}if(null!==n){let x=a?n.residualClasses:n.residualStyles;null!=x&&(m=_o(x,r))}return m}function Rm(e){return void 0!==e}function Gy(e,n){return!!(e.flags&(n?8:16))}function Ky(e,n,i){ml(Ur,Ll,Du(fn(),e,n,i),!0)}function Xy(e,n,i,r,o){ml(Ur,Ll,Su(fn(),e,n,i,r,o),!0)}class uD{destroy(n){}updateValue(n,i){}swap(n,i){const r=Math.min(n,i),o=Math.max(n,i),a=this.detach(o);if(o-r>1){const f=this.detach(r);this.attach(r,a),this.attach(o,f)}else this.attach(r,a)}move(n,i){this.attach(i,this.detach(n))}}function kv(e,n,i,r,o){return e===i&&Object.is(n,r)?1:Object.is(o(e,n),o(i,r))?-1:0}function Fv(e,n,i,r){return!(void 0===n||!n.has(r)||(e.attach(i,n.get(r)),n.delete(r),0))}function Zy(e,n,i,r,o){if(Fv(e,n,r,i(r,o)))e.updateValue(r,o);else{const a=e.create(r,o);e.attach(r,a)}}function Yy(e,n,i,r){const o=new Set;for(let a=n;a<=i;a++)o.add(r(a,e.at(a)));return o}class Qy{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const i=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(n,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,i){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,i)}else this.kvMap.set(n,i)}forEach(n){for(let[i,r]of this.kvMap)if(n(r,i),void 0!==this._vMap){const o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,i)}}}function Jy(e,n,i){hl("NgControlFlow");const r=fn(),o=M(),a=Nv(r,Ai+e);if(cs(r,o,n)){const m=G(null);try{if(U_(a,0),-1!==n){const x=Lv(r[Fn],Ai+n),X=mu(a,x.tView.ssrId);cf(a,lf(r,x,i,{dehydratedView:X}),0,pu(x,X))}}finally{G(m)}}else{const m=G0(a,0);void 0!==m&&(m[zr]=i)}}class fD{constructor(n,i,r){this.lContainer=n,this.$implicit=i,this.$index=r}get $count(){return this.lContainer.length-fo}}function qy(e){return e}function e1(e,n){return n}class pD{constructor(n,i,r){this.hasEmptyBlock=n,this.trackByFn=i,this.liveCollection=r}}function t1(e,n,i,r,o,a,f,m,x,X,he,Ve,bt){hl("NgControlFlow");const It=void 0!==x,Gt=fn(),gn=m?f.bind(Gt[co][zr]):f,Un=new pD(It,gn);Gt[Ai+e]=Un,vu(e+1,n,i,r,o,a),It&&vu(e+2,x,X,he,Ve,bt)}class mD extends uD{constructor(n,i,r){super(),this.lContainer=n,this.hostLView=i,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-fo}at(n){return this.getLView(n)[zr].$implicit}attach(n,i){const r=i[lo];this.needsIndexUpdate||=n!==this.length,cf(this.lContainer,i,n,pu(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function gD(e,n){return ud(e,n)}(this.lContainer,n)}create(n,i){const r=mu(this.lContainer,this.templateTNode.tView.ssrId);return lf(this.hostLView,this.templateTNode,new fD(this.lContainer,i,n),{dehydratedView:r})}destroy(n){su(n[Fn],n)}updateValue(n,i){this.getLView(n)[zr].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{e.destroy(m)})}(f,e,a.trackByFn),f.updateIndexes(),a.hasEmptyBlock){const m=M(),x=0===f.length;if(cs(r,m,x)){const X=i+2,he=Nv(r,X);if(x){const Ve=Lv(o,X),bt=mu(he,Ve.tView.ssrId);cf(he,lf(r,Ve,void 0,{dehydratedView:bt}),0,pu(Ve,bt))}else U_(he,0)}}}finally{G(n)}}function Nv(e,n){return e[n]}function Lv(e,n){return Wa(e,n)}function km(e,n,i,r){const o=fn(),a=xr(),f=Ai+e,m=o[Bi],x=a.firstCreatePass?function vD(e,n,i,r,o,a){const f=n.consts,x=kl(n,e,2,r,Fs(f,o));return g(n,i,x,Fs(f,a)),null!==x.attrs&&bm(x,x.attrs,!1),null!==x.mergedAttrs&&bm(x,x.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,x),x}(f,a,o,n,i,r):a.data[f],X=r1(a,o,x,m,n,e);o[f]=X;const he=jl(x);return sa(x,!0),hu(m,X,x),!function Mf(e){return!(32&~e.flags)}(x)&&Ts()&&du(a,o,X,x),0===function Gu(){return Gi.lFrame.elementDepthCount}()&&uo(X,o),function Ku(){Gi.lFrame.elementDepthCount++}(),he&&(nf(a,o,x),tf(a,x,o)),null!==r&&rf(o,x),km}function Fm(){let e=Qr();uc()?Wl():(e=e.parent,sa(e,!1));const n=e;(function Zu(e){return Gi.skipHydrationRootTNode===e})(n)&&function Qu(){Gi.skipHydrationRootTNode=null}(),function Xu(){Gi.lFrame.elementDepthCount--}();const i=xr();return i.firstCreatePass&&(Ml(i,e),oc(e)&&i.queries.elementEnd(e)),null!=n.classesWithoutHost&&function Oo(e){return!!(8&e.flags)}(n)&&Iv(i,n,fn(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function va(e){return!!(16&e.flags)}(n)&&Iv(i,n,fn(),n.stylesWithoutHost,!1),Fm}function Bv(e,n,i,r){return km(e,n,i,r),Fm(),Bv}let r1=(e,n,i,r,o,a)=>(Ws(!0),ou(r,o,function vs(){return Gi.lFrame.currentNamespace}()));function Nm(e,n,i){const r=fn(),o=xr(),a=e+Ai,f=o.firstCreatePass?function wD(e,n,i,r,o){const a=n.consts,f=Fs(a,r),m=kl(n,e,8,"ng-container",f);return null!==f&&bm(m,f,!0),g(n,i,m,Fs(a,o)),null!==n.queries&&n.queries.elementStart(n,m),m}(a,o,r,n,i):o.data[a];sa(f,!0);const m=o1(o,r,f,e);return r[a]=m,Ts()&&du(o,r,m,f),uo(m,r),jl(f)&&(nf(o,r,f),tf(o,f,r)),null!=i&&rf(r,f),Nm}function Lm(){let e=Qr();const n=xr();return uc()?Wl():(e=e.parent,sa(e,!1)),n.firstCreatePass&&(Ml(n,e),oc(e)&&n.queries.elementEnd(e)),Lm}function Vv(e,n,i){return Nm(e,n,i),Lm(),Vv}let o1=(e,n,i,r)=>(Ws(!0),Xh(n[Bi],""));function s1(){return fn()}function jv(e,n,i){const r=fn();return cs(r,M(),n)&&ua(xr(),Kn(),r,e,n,r[Bi],i,!0),jv}function Uv(e,n,i){const r=fn();if(cs(r,M(),n)){const a=xr(),f=Kn();ua(a,f,r,e,n,W0(Me(a.data),f,r),i,!0)}return Uv}const wd=void 0;var MD=["en",[["a","p"],["AM","PM"],wd],[["AM","PM"],wd,wd],[["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"]],wd,[["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"]],wd,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",wd,"{1} 'at' {0}",wd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ED(e){const i=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===r?1:5}];let Fu={};function DD(e,n,i){"string"!=typeof n&&(i=n,n=e[Nu.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),Fu[n]=e,i&&(Fu[n][Nu.ExtraData]=i)}function zv(e){const n=function SD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=l1(n);if(i)return i;const r=n.split("-")[0];if(i=l1(r),i)return i;if("en"===r)return MD;throw new _t(701,!1)}function a1(e){return zv(e)[Nu.PluralCase]}function l1(e){return e in Fu||(Fu[e]=Yt.ng&&Yt.ng.common&&Yt.ng.common.locales&&Yt.ng.common.locales[e]),Fu[e]}var Nu=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}(Nu||{});const Lu="en-US";let c1=Lu;function Wv(e,n,i,r){const o=fn(),a=xr(),f=Qr();return Kv(a,o,o[Bi],f,e,n,r),Wv}function Gv(e,n){const i=Qr(),r=fn(),o=xr();return Kv(o,r,W0(Me(o.data),i,r),i,e,n),Gv}function Kv(e,n,i,r,o,a,f){const m=jl(r),X=e.firstCreatePass&&$0(e),he=n[zr],Ve=af(n);let bt=!0;if(3&r.type||f){const gn=Yr(r,n),Un=f?f(gn):gn,ti=Ve.length,On=f?Kr=>f(er(Kr[r.index])):r.index;let Qi=null;if(!f&&m&&(Qi=function E2(e,n,i,r){const o=e.cleanup;if(null!=o)for(let a=0;ax?m[x]:null}"string"==typeof f&&(a+=2)}return null}(e,n,o,r.index)),null!==Qi)(Qi.__ngLastListenerFn__||Qi).__ngNextListenerFn__=a,Qi.__ngLastListenerFn__=a,bt=!1;else{a=N1(r,n,he,a,!1);const Kr=i.listen(Un,o,a);Ve.push(a,Kr),X&&X.push(o,On,ti,ti+1)}}else a=N1(r,n,he,a,!1);const It=r.outputs;let Gt;if(bt&&null!==It&&(Gt=It[o])){const gn=Gt.length;if(gn)for(let Un=0;Un-1?ks(e.index,n):n);let x=F1(n,i,r,f),X=a.__ngNextListenerFn__;for(;X;)x=F1(n,i,X,f)&&x,X=X.__ngNextListenerFn__;return o&&!1===x&&f.preventDefault(),x}}function L1(e=1){return function gi(e){return(Gi.lFrame.contextLView=function Rc(e,n){for(;e>0;)n=n[is],e--;return n}(e,Gi.lFrame.contextLView))[zr]}(e)}function M2(e,n){let i=null;const r=function Js(e){const n=e.attrs;if(null!=n){const i=n.indexOf(5);if(!(1&i))return n[i+1]}return null}(e);for(let o=0;oi._dirtyCounter.update(r=>r+1))}(e,Ob(n,i,r))}function q1(e=1){Ge(Xe()+e)}function ew(e){return $s(function Ju(){return Gi.lFrame.contextLView}(),Ai+e)}function dw(e,n=""){const i=fn(),r=xr(),o=e+Ai,a=r.firstCreatePass?kl(r,o,1,n,null):r.data[o],f=uw(r,i,a,n,e);i[o]=f,Ts()&&du(r,i,f,a),sa(a,!1)}let uw=(e,n,i,r,o)=>(Ws(!0),function ru(e,n){return e.createText(n)}(n[Bi],r));function Yv(e){return zm("",e,""),Yv}function zm(e,n,i){const r=fn(),o=Du(r,e,n,i);return o!==ar&&rc(r,Vn(),o),zm}function Qv(e,n,i,r,o){const a=fn(),f=Su(a,e,n,i,r,o);return f!==ar&&rc(a,Vn(),f),Qv}function Jv(e,n,i){Fb(n)&&(n=n());const r=fn();return cs(r,M(),n)&&ua(xr(),Kn(),r,e,n,r[Bi],i,!1),Jv}function bw(e,n){const i=Fb(e);return i&&e.set(n),i}function qv(e,n){const i=fn(),r=xr(),o=Qr();return Kv(r,i,i[Bi],o,e,n),qv}function e0(e,n,i,r,o){if(e=He(e),Array.isArray(e))for(let a=0;a>20;if(zi(e)||!e.multi){const It=new Ks(X,o,Cc),Gt=n0(x,n,o?he:he+bt,Ve);-1===Gt?(th(zc(m,f),a,x),t0(a,e,n.length),n.push(x),m.directiveStart++,m.directiveEnd++,o&&(m.providerIndexes+=1048576),i.push(It),f.push(It)):(i[Gt]=It,f[Gt]=It)}else{const It=n0(x,n,he+bt,Ve),Gt=n0(x,n,he,he+bt),Un=Gt>=0&&i[Gt];if(o&&!Un||!o&&!(It>=0&&i[It])){th(zc(m,f),a,x);const ti=function z2(e,n,i,r,o){const a=new Ks(e,i,Cc);return a.multi=[],a.index=n,a.componentProviders=0,yw(a,o,r&&!i),a}(o?U2:j2,i.length,o,r,X);!o&&Un&&(i[Gt].providerFactory=ti),t0(a,e,n.length,0),n.push(x),m.directiveStart++,m.directiveEnd++,o&&(m.providerIndexes+=1048576),i.push(ti),f.push(ti)}else t0(a,e,It>-1?It:Gt,yw(i[o?Gt:It],X,!o&&r));!o&&r&&Un&&i[Gt].componentProviders++}}}function t0(e,n,i,r){const o=zi(n),a=function Wr(e){return!!e.useClass}(n);if(o||a){const x=(a?He(n.useClass):n).prototype.ngOnDestroy;if(x){const X=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const he=X.indexOf(i);-1===he?X.push(i,[r,x]):X[he+1].push(r,x)}else X.push(i,x)}}}function yw(e,n,i){return i&&e.componentProviders++,e.multi.push(n)-1}function n0(e,n,i,r){for(let o=i;o{i.providersResolver=(r,o)=>function V2(e,n,i){const r=xr();if(r.firstCreatePass){const o=oa(e);e0(i,r.data,r.blueprint,o,!0),e0(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}let H2=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const r=Et(0,i.type),o=r.length>0?pv([r],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,o)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ei({token:e,providedIn:"environment",factory:()=>new e(Hr(Co))})}return e})();function Cw(e){hl("NgStandalone"),e.getStandaloneInjector=n=>n.get(H2).getOrCreateStandaloneInjector(e)}function Ew(e,n,i){const r=Ss()+e,o=fn();return o[r]===ar?Nl(o,r,i?n.call(i):n()):Ef(o,r)}function Mw(e,n,i,r){return Pw(fn(),Ss(),e,n,i,r)}function Dw(e,n,i,r,o){return Aw(fn(),Ss(),e,n,i,r,o)}function Sw(e,n,i,r,o,a){return Rw(fn(),Ss(),e,n,i,r,o,a)}function Tw(e,n,i,r,o,a,f,m){const x=Ss()+e,X=fn(),he=el(X,x,i,r,o,a);return cs(X,x+4,f)||he?Nl(X,x+5,m?n.call(m,i,r,o,a,f):n(i,r,o,a,f)):Ef(X,x+5)}function Ow(e,n,i,r,o,a,f,m,x){const X=Ss()+e,he=fn(),Ve=el(he,X,i,r,o,a);return vd(he,X+4,f,m)||Ve?Nl(he,X+6,x?n.call(x,i,r,o,a,f,m):n(i,r,o,a,f,m)):Ef(he,X+6)}function Iw(e,n,i,r){return function Fw(e,n,i,r,o,a){let f=n+i,m=!1;for(let x=0;x=0;i--){const r=n[i];if(e===r.name)return r}}(n,i.pipeRegistry),i.data[o]=r,r.onDestroy&&(i.destroyHooks??=[]).push(o,r.onDestroy)):r=i.data[o];const a=r.factory||(r.factory=Xo(r.type)),m=Ji(Cc);try{const x=Gl(!1),X=a();return Gl(x),function S2(e,n,i,r){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),n[i]=r}(i,fn(),o,X),X}finally{Ji(m)}}function Lw(e,n,i){const r=e+Ai,o=fn(),a=$s(o,r);return Lf(o,r)?Pw(o,Ss(),n,a.transform,i,a):a.transform(i)}function Bw(e,n,i,r){const o=e+Ai,a=fn(),f=$s(a,o);return Lf(a,o)?Aw(a,Ss(),n,f.transform,i,r,f):f.transform(i,r)}function Vw(e,n,i,r,o){const a=e+Ai,f=fn(),m=$s(f,a);return Lf(f,a)?Rw(f,Ss(),n,m.transform,i,r,o,m):m.transform(i,r,o)}function jw(e,n,i,r,o,a){const f=e+Ai,m=fn(),x=$s(m,f);return Lf(m,f)?function kw(e,n,i,r,o,a,f,m,x){const X=n+i;return el(e,X,o,a,f,m)?Nl(e,X+4,x?r.call(x,o,a,f,m):r(o,a,f,m)):Nf(e,X+4)}(m,Ss(),n,x.transform,i,r,o,a,x):x.transform(i,r,o,a)}function Lf(e,n){return e[Fn].data[n].pure}function Uw(e,n){return hm(e,n)}class iC{constructor(n){this.full=n;const i=n.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}let rC=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const cC=new yt(""),dC=new yt("");let d0,HS=(()=>{class e{constructor(i,r,o){this._ngZone=i,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,d0||(function $S(e){d0=e}(o),o.addToWindow(r)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ys.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(i)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,r,o){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==a),i()},r)),this._callbacks.push({doneCb:i,timeoutId:a,updateCb:o})}whenStable(i,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Hr(ys),Hr(uC),Hr(dC))};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac})}return e})(),uC=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,r){this._applications.set(i,r)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,r=!0){return d0?.findTestabilityInTree(this,i,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function u0(e){return!!e&&"function"==typeof e.then}function hC(e){return!!e&&"function"==typeof e.subscribe}const WS=new yt("");let h0=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r}),this.appInits=Si(WS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const o of this.appInits){const a=o();if(u0(a))i.push(a);else if(hC(a)){const f=new Promise((m,x)=>{a.subscribe({complete:m,error:x})});i.push(f)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{r()}).catch(o=>{this.reject(o)}),0===i.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const f0=new yt("");let Sc=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Si(Nd),this.afterRenderEffectManager=Si(bf),this.externalTestViews=new Set,this.beforeRender=new Rn.B,this.afterTick=new Rn.B,this.componentTypes=[],this.components=[],this.isStable=Si(_u).hasPendingTasks.pipe((0,ot.T)(i=>!i)),this._injector=Si(Co)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,r){const o=i instanceof ob;if(!this._injector.get(h0).done)throw!o&&Pt(i),new _t(405,!1);let f;f=o?i:this._injector.get(vf).resolveComponentFactory(i),this.componentTypes.push(f.componentType);const m=function GS(e){return e.isBoundToModule}(f)?void 0:this._injector.get(_d),X=f.create(ya.NULL,[],r||f.selector,m),he=X.location.nativeElement,Ve=X.injector.get(cC,null);return Ve?.registerApplication(he),X.onDestroy(()=>{this.detachView(X.hostView),Gm(this.components,X),Ve?.unregisterApplication(he)}),this._loadComponent(X),X}tick(){this._tick(!0)}_tick(i){if(this._runningTick)throw new _t(101,!1);const r=G(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(i)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,G(r)}}detectChangesInAttachedViews(i){let r=0;const o=this.afterRenderEffectManager;for(;;){if(r===Z0)throw new _t(103,!1);if(i){const a=0===r;this.beforeRender.next(a);for(let{_lView:f,notifyErrorHandler:m}of this._views)XS(f,a,m)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:a})=>p0(a))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:a})=>p0(a))))break}}attachView(i){const r=i;this._views.push(r),r.attachToAppRef(this)}detachView(i){const r=i;Gm(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const r=this._injector.get(f0,[]);[...this._bootstrapListeners,...r].forEach(o=>o(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Gm(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new _t(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gm(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}function XS(e,n,i){!n&&!p0(e)||function ZS(e,n,i){let r;i?(r=0,e[oi]|=1024):r=64&e[oi]?0:1,um(e,n,r)}(e,i,n)}function p0(e){return Ga(e)}class YS{constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let QS=(()=>{class e{compileModuleSync(i){return new fv(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const r=this.compileModuleSync(i),a=Ca(zt(i).declarations).reduce((f,m)=>{const x=K(m);return x&&f.push(new Cf(x)),f},[]);return new YS(r,a)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eT=(()=>{class e{constructor(){this.zone=Si(ys),this.applicationRef=Si(Sc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _C(e){return[{provide:ys,useFactory:e},{provide:So,multi:!0,useFactory:()=>{const n=Si(eT,{optional:!0});return()=>n.initialize()}},{provide:So,multi:!0,useFactory:()=>{const n=Si(iT);return()=>{n.initialize()}}},{provide:Nd,useFactory:tT}]}function tT(){const e=Si(ys),n=Si(cl);return i=>e.runOutsideAngular(()=>n.handleError(i))}function nT(e){return An([[],_C(()=>new ys(function vC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let iT=(()=>{class e{constructor(){this.subscription=new ii.yU,this.initialized=!1,this.zone=Si(ys),this.pendingTasks=Si(_u)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ys.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ys.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ei({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xm=new yt("",{providedIn:"root",factory:()=>Si(Xm,li.Optional|li.SkipSelf)||function rT(){return typeof $localize<"u"&&$localize.locale||Lu}()}),oT=new yt("",{providedIn:"root",factory:()=>"USD"}),m0=new yt("");let Tc=null;function dT(){return!1}function uT(){}let EC=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();function hT(e){return function fT(e,n,i){if(ms(e)&&!i){const r=ks(e.index,n);return new hf(r,r)}return 47&e.type?new hf(n[co],n):null}(Qr(),fn(),!(16&~e))}class TC{constructor(){}supports(n){return Mm(n)}create(n){return new vT(n)}}const _T=(e,n)=>n;class vT{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||_T}forEachItem(n){let i;for(i=this._itHead;null!==i;i=i._next)n(i)}forEachOperation(n){let i=this._itHead,r=this._removalsHead,o=0,a=null;for(;i||r;){const f=!r||i&&i.currentIndex{f=this._trackByFn(o,m),null!==i&&Object.is(i.trackById,f)?(r&&(i=this._verifyReinsertion(i,m,f,o)),Object.is(i.item,m)||this._addIdentityChange(i,m)):(i=this._mismatch(i,m,f,o),r=!0),i=i._next,o++}),this.length=o;return this._truncate(i),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,i,r,o){let a;return null===n?a=this._itTail:(a=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._reinsertAfter(n,a,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._moveAfter(n,a,o)):n=this._addAfter(new bT(i,r),a,o),n}_verifyReinsertion(n,i,r,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?n=this._reinsertAfter(a,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const i=n._next;this._addToRemovals(this._unlink(n)),n=i}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(n,i,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,a=n._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._prevRemoved=o,this._insertAfter(n,i,r),this._addToMoves(n,r),n}_moveAfter(n,i,r){return this._unlink(n),this._insertAfter(n,i,r),this._addToMoves(n,r),n}_addAfter(n,i,r){return this._insertAfter(n,i,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,i,r){const o=null===i?this._itHead:i._next;return n._next=o,n._prev=i,null===o?this._itTail=n:o._prev=n,null===i?this._itHead=n:i._next=n,null===this._linkedRecords&&(this._linkedRecords=new OC),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const i=n._prev,r=n._next;return null===i?this._itHead=r:i._next=r,null===r?this._itTail=i:r._prev=i,n}_addToMoves(n,i){return n.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new OC),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,i){return n.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class bT{constructor(n,i){this.item=n,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class yT{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,i){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===i||i<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const i=n._prevDup,r=n._nextDup;return null===i?this._head=r:i._nextDup=r,null===r?this._tail=i:r._prevDup=i,null===this._head}}class OC{constructor(){this.map=new Map}put(n){const i=n.trackById;let r=this.map.get(i);r||(r=new yT,this.map.set(i,r)),r.add(n)}get(n,i){const o=this.map.get(n);return o?o.get(n,i):null}remove(n){const i=n.trackById;return this.map.get(i).remove(n)&&this.map.delete(i),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IC(e,n,i){const r=e.previousIndex;if(null===r)return r;let o=0;return i&&r{if(i&&i.key===o)this._maybeAddToChanges(i,r),this._appendAfter=i,i=i._next;else{const a=this._getOrCreateRecordForKey(o,r);i=this._insertBeforeOrAppend(i,a)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let r=i;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,i){if(n){const r=n._prev;return i._next=n,i._prev=r,n._prev=i,r&&(r._next=i),n===this._mapHead&&(this._mapHead=i),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(n,i){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,i);const a=o._prev,f=o._next;return a&&(a._next=f),f&&(f._prev=a),o._next=null,o._prev=null,o}const r=new CT(n);return this._records.set(n,r),r.currentValue=i,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,i){Object.is(i,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=i,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,i){n instanceof Map?n.forEach(i):Object.keys(n).forEach(r=>i(n[r],r))}}class CT{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function AC(){return new w0([new TC])}let w0=(()=>{class e{static#e=this.\u0275prov=ei({token:e,providedIn:"root",factory:AC});constructor(i){this.factories=i}static create(i,r){if(null!=r){const o=r.factories.slice();i=i.concat(o)}return new e(i)}static extend(i){return{provide:e,useFactory:r=>e.create(i,r||AC()),deps:[[e,new hs,new to]]}}find(i){const r=this.factories.find(o=>o.supports(i));if(null!=r)return r;throw new _t(901,!1)}}return e})();function RC(){return new C0([new PC])}let C0=(()=>{class e{static#e=this.\u0275prov=ei({token:e,providedIn:"root",factory:RC});constructor(i){this.factories=i}static create(i,r){if(r){const o=r.factories.slice();i=i.concat(o)}return new e(i)}static extend(i){return{provide:e,useFactory:r=>e.create(i,r||RC()),deps:[[e,new hs,new to]]}}find(i){const r=this.factories.find(o=>o.supports(i));if(r)return r;throw new _t(901,!1)}}return e})(),MT=(()=>{class e{constructor(i){}static#e=this.\u0275fac=function(r){return new(r||e)(Hr(Sc))};static#t=this.\u0275mod=O({type:e});static#n=this.\u0275inj=Mr({})}return e})();function jT(e){try{const{rootComponent:n,appProviders:i,platformProviders:r}=e,o=function cT(e=[]){if(Tc)return Tc;const n=function wC(e=[],n){return ya.create({name:n,providers:[{provide:ns,useValue:"platform"},{provide:m0,useValue:new Set([()=>Tc=null])},...e]})}(e);return Tc=n,function fC(){!function oe(e){be=e}(()=>{throw new _t(600,!1)})}(),function CC(e){e.get(bp,null)?.forEach(i=>i())}(n),n}(r),a=[nT(),...i||[]],m=new ey({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,x=m.get(ys);return x.run(()=>{m.resolveInjectorInitializers();const X=m.get(cl,null);let he;x.runOutsideAngular(()=>{he=x.onError.subscribe({next:It=>{X.handleError(It)}})});const Ve=()=>m.destroy(),bt=o.get(m0);return bt.add(Ve),m.onDestroy(()=>{he.unsubscribe(),bt.delete(Ve)}),function pC(e,n,i){try{const r=i();return u0(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(X,x,()=>{const It=m.get(h0);return It.runInitializers(),It.donePromise.then(()=>{!function d1(e){"string"==typeof e&&(c1=e.toLowerCase().replace(/_/g,"-"))}(m.get(Xm,Lu)||Lu);const gn=m.get(Sc);return void 0!==n&&gn.bootstrap(n),gn})})})}catch(n){return Promise.reject(n)}}function tO(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function nO(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function rO(e,n){hl("NgSignals");const i=$(e);return n?.equal&&(i[ee].equal=n.equal),i}function oO(e){const n=G(null);try{return e()}finally{G(n)}}const sO=new yt("",{providedIn:"root",factory:()=>Si(aO)});let aO=(()=>{class e{static#e=this.\u0275prov=ei({token:e,providedIn:"root",factory:()=>new lO})}return e})();class lO{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Si(_u),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}enqueue(n){const i=n.creationZone;this.queues.has(i)||this.queues.set(i,new Set);const r=this.queues.get(i);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,i]of this.queues)null===n?this.flushQueue(i):n.run(()=>this.flushQueue(i))}flushQueue(n){for(const i of n)n.delete(i),this.queuedEffectCount--,i.run()}}class cO{constructor(n,i,r,o,a,f){this.scheduler=n,this.effectFn=i,this.creationZone=r,this.injector=a,this.watcher=function gt(e,n,i){const r=Object.create(xn);i&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const o=x=>{r.cleanupFn=x};return r.ref={notify:()=>re(r),run:()=>{if(null===r.fn)return;if(function R(){return j}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!tt(r))return;r.hasRun=!0;const x=me(r);try{r.cleanupFn(),r.cleanupFn=an,r.fn(o)}finally{Se(r,x)}},cleanup:()=>r.cleanupFn(),destroy:()=>function f(x){(function a(x){return null===x.fn&&null===x.schedule})(x)||(je(x),x.cleanupFn(),x.fn=null,x.schedule=null,x.cleanupFn=an)}(r),[ee]:r},r.ref}(m=>this.runEffect(m),()=>this.schedule(),f),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(i){this.injector.get(cl,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function tx(e,n){hl("NgSignals"),!n?.injector&&Zn();const i=n?.injector??Si(ya),r=!0!==n?.manualCleanup?i.get(Il):null,o=new cO(i.get(sO),e,typeof Zone>"u"?null:Zone.current,r,i,n?.allowSignalWrites??!1),a=i.get(EC,null,{optional:!0});return a&&8&a._lView[oi]?(a._lView[na]??=[]).push(o.watcher.notify):o.watcher.notify(),o}},9079:(kt,De,u)=>{"use strict";u.d(De,{ot:()=>G});var t=u(4438);function G(B,R){const P=!R?.manualCleanup;P&&!R?.injector&&(0,t.Af3)(G);const I=P?R?.injector?.get(t.abz)??(0,t.WQX)(t.abz):null;let A;A=(0,t.vPA)(R?.requireSync?{kind:0}:{kind:1,value:R?.initialValue});const b=B.subscribe({next:F=>A.set({kind:1,value:F}),error:F=>{if(R?.rejectErrors)throw F;A.set({kind:2,error:F})}});return I?.onDestroy(b.unsubscribe.bind(b)),(0,t.EWP)(()=>{const F=A();switch(F.kind){case 1:return F.value;case 2:throw F.error;case 0:throw new t.wOt(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},9417:(kt,De,u)=>{"use strict";u.d(De,{BC:()=>at,JD:()=>eo,MJ:()=>Pi,X1:()=>Rs,YN:()=>Qs,cV:()=>ri,cb:()=>_t,gE:()=>rt,j4:()=>sn,k0:()=>tt,l_:()=>Io,me:()=>F,qT:()=>un,vO:()=>ii,vS:()=>ft});var t=u(4438),p=u(177),D=u(2806),j=u(7468),E=u(6354);let ee=(()=>{class ne{constructor(U,Fe){this._renderer=U,this._elementRef=Fe,this.onChange=vt=>{},this.onTouched=()=>{}}setProperty(U,Fe){this._renderer.setProperty(this._elementRef.nativeElement,U,Fe)}registerOnTouched(U){this.onTouched=U}registerOnChange(U){this.onChange=U}setDisabledState(U){this.setProperty("disabled",U)}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(t.sFG),t.rXU(t.aKT))};static#t=this.\u0275dir=t.FsC({type:ne})}return ne})(),G=(()=>{class ne extends ee{static#e=this.\u0275fac=(()=>{let U;return function(vt){return(U||(U=t.xGo(ne)))(vt||ne)}})();static#t=this.\u0275dir=t.FsC({type:ne,features:[t.Vt3]})}return ne})();const B=new t.nKC(""),I={provide:B,useExisting:(0,t.Rfq)(()=>F),multi:!0},b=new t.nKC("");let F=(()=>{class ne extends ee{constructor(U,Fe,vt){super(U,Fe),this._compositionMode=vt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function A(){const ne=(0,p.QT)()?(0,p.QT)().getUserAgent():"";return/android (\d+)/.test(ne.toLowerCase())}())}writeValue(U){this.setProperty("value",U??"")}_handleInput(U){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(U)}_compositionStart(){this._composing=!0}_compositionEnd(U){this._composing=!1,this._compositionMode&&this.onChange(U)}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(b,8))};static#t=this.\u0275dir=t.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(Fe,vt){1&Fe&&t.bIt("input",function(ji){return vt._handleInput(ji.target.value)})("blur",function(){return vt.onTouched()})("compositionstart",function(){return vt._compositionStart()})("compositionend",function(ji){return vt._compositionEnd(ji.target.value)})},features:[t.Jv_([I]),t.Vt3]})}return ne})();function L(ne){return null==ne||("string"==typeof ne||Array.isArray(ne))&&0===ne.length}function de(ne){return null!=ne&&"number"==typeof ne.length}const re=new t.nKC(""),me=new t.nKC(""),Se=/^(?=.{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 tt{static min(ae){return function je(ne){return ae=>{if(L(ae.value)||L(ne))return null;const U=parseFloat(ae.value);return!isNaN(U)&&U{if(L(ae.value)||L(ne))return null;const U=parseFloat(ae.value);return!isNaN(U)&&U>ne?{max:{max:ne,actual:ae.value}}:null}}(ae)}static required(ae){return function ve(ne){return L(ne.value)?{required:!0}:null}(ae)}static requiredTrue(ae){return function ye(ne){return!0===ne.value?null:{required:!0}}(ae)}static email(ae){return function pe(ne){return L(ne.value)||Se.test(ne.value)?null:{email:!0}}(ae)}static minLength(ae){return function Pe(ne){return ae=>L(ae.value)||!de(ae.value)?null:ae.value.lengthde(ae.value)&&ae.value.length>ne?{maxlength:{requiredLength:ne,actualLength:ae.value.length}}:null}(ae)}static pattern(ae){return function Oe(ne){if(!ne)return Ke;let ae,U;return"string"==typeof ne?(U="","^"!==ne.charAt(0)&&(U+="^"),U+=ne,"$"!==ne.charAt(ne.length-1)&&(U+="$"),ae=new RegExp(U)):(U=ne.toString(),ae=ne),Fe=>{if(L(Fe.value))return null;const vt=Fe.value;return ae.test(vt)?null:{pattern:{requiredPattern:U,actualValue:vt}}}}(ae)}static nullValidator(ae){return null}static compose(ae){return Re(ae)}static composeAsync(ae){return ge(ae)}}function Ke(ne){return null}function Nt(ne){return null!=ne}function Ct(ne){return(0,t.jNT)(ne)?(0,D.H)(ne):ne}function $t(ne){let ae={};return ne.forEach(U=>{ae=null!=U?{...ae,...U}:ae}),0===Object.keys(ae).length?null:ae}function be(ne,ae){return ae.map(U=>U(ne))}function oe(ne){return ne.map(ae=>function Be(ne){return!ne.validate}(ae)?ae:U=>ae.validate(U))}function Re(ne){if(!ne)return null;const ae=ne.filter(Nt);return 0==ae.length?null:function(U){return $t(be(U,ae))}}function fe(ne){return null!=ne?Re(oe(ne)):null}function ge(ne){if(!ne)return null;const ae=ne.filter(Nt);return 0==ae.length?null:function(U){const Fe=be(U,ae).map(Ct);return(0,j.p)(Fe).pipe((0,E.T)($t))}}function ke(ne){return null!=ne?ge(oe(ne)):null}function qe(ne,ae){return null===ne?[ae]:Array.isArray(ne)?[...ne,ae]:[ne,ae]}function Ce(ne){return ne._rawValidators}function We(ne){return ne._rawAsyncValidators}function Ze(ne){return ne?Array.isArray(ne)?ne:[ne]:[]}function gt(ne,ae){return Array.isArray(ne)?ne.includes(ae):ne===ae}function an(ne,ae){const U=Ze(ae);return Ze(ne).forEach(vt=>{gt(U,vt)||U.push(vt)}),U}function xn(ne,ae){return Ze(ae).filter(U=>!gt(ne,U))}class Tn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ae){this._rawValidators=ae||[],this._composedValidatorFn=fe(this._rawValidators)}_setAsyncValidators(ae){this._rawAsyncValidators=ae||[],this._composedAsyncValidatorFn=ke(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ae){this._onDestroyCallbacks.push(ae)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ae=>ae()),this._onDestroyCallbacks=[]}reset(ae=void 0){this.control&&this.control.reset(ae)}hasError(ae,U){return!!this.control&&this.control.hasError(ae,U)}getError(ae,U){return this.control?this.control.getError(ae,U):null}}class Rn extends Tn{get formDirective(){return null}get path(){return null}}class ii extends Tn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Cn{constructor(ae){this._cd=ae}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let at=(()=>{class ne extends Cn{constructor(U){super(U)}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(ii,2))};static#t=this.\u0275dir=t.FsC({type:ne,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Fe,vt){2&Fe&&t.AVh("ng-untouched",vt.isUntouched)("ng-touched",vt.isTouched)("ng-pristine",vt.isPristine)("ng-dirty",vt.isDirty)("ng-valid",vt.isValid)("ng-invalid",vt.isInvalid)("ng-pending",vt.isPending)},features:[t.Vt3]})}return ne})(),_t=(()=>{class ne extends Cn{constructor(U){super(U)}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(Rn,10))};static#t=this.\u0275dir=t.FsC({type:ne,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Fe,vt){2&Fe&&t.AVh("ng-untouched",vt.isUntouched)("ng-touched",vt.isTouched)("ng-pristine",vt.isPristine)("ng-dirty",vt.isDirty)("ng-valid",vt.isValid)("ng-invalid",vt.isInvalid)("ng-pending",vt.isPending)("ng-submitted",vt.isSubmitted)},features:[t.Vt3]})}return ne})();const $n="VALID",ki="INVALID",Qn="PENDING",Jt="DISABLED";function wi(ne){return(Ee(ne)?ne.validators:ne)||null}function Zt(ne,ae){return(Ee(ae)?ae.asyncValidators:ne)||null}function Ee(ne){return null!=ne&&!Array.isArray(ne)&&"object"==typeof ne}class Ie{constructor(ae,U){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ae),this._assignAsyncValidators(U)}get validator(){return this._composedValidatorFn}set validator(ae){this._rawValidators=this._composedValidatorFn=ae}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ae){this._rawAsyncValidators=this._composedAsyncValidatorFn=ae}get parent(){return this._parent}get valid(){return this.status===$n}get invalid(){return this.status===ki}get pending(){return this.status==Qn}get disabled(){return this.status===Jt}get enabled(){return this.status!==Jt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ae){this._assignValidators(ae)}setAsyncValidators(ae){this._assignAsyncValidators(ae)}addValidators(ae){this.setValidators(an(ae,this._rawValidators))}addAsyncValidators(ae){this.setAsyncValidators(an(ae,this._rawAsyncValidators))}removeValidators(ae){this.setValidators(xn(ae,this._rawValidators))}removeAsyncValidators(ae){this.setAsyncValidators(xn(ae,this._rawAsyncValidators))}hasValidator(ae){return gt(this._rawValidators,ae)}hasAsyncValidator(ae){return gt(this._rawAsyncValidators,ae)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ae={}){this.touched=!0,this._parent&&!ae.onlySelf&&this._parent.markAsTouched(ae)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ae=>ae.markAllAsTouched())}markAsUntouched(ae={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(U=>{U.markAsUntouched({onlySelf:!0})}),this._parent&&!ae.onlySelf&&this._parent._updateTouched(ae)}markAsDirty(ae={}){this.pristine=!1,this._parent&&!ae.onlySelf&&this._parent.markAsDirty(ae)}markAsPristine(ae={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(U=>{U.markAsPristine({onlySelf:!0})}),this._parent&&!ae.onlySelf&&this._parent._updatePristine(ae)}markAsPending(ae={}){this.status=Qn,!1!==ae.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ae.onlySelf&&this._parent.markAsPending(ae)}disable(ae={}){const U=this._parentMarkedDirty(ae.onlySelf);this.status=Jt,this.errors=null,this._forEachChild(Fe=>{Fe.disable({...ae,onlySelf:!0})}),this._updateValue(),!1!==ae.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ae,skipPristineCheck:U}),this._onDisabledChange.forEach(Fe=>Fe(!0))}enable(ae={}){const U=this._parentMarkedDirty(ae.onlySelf);this.status=$n,this._forEachChild(Fe=>{Fe.enable({...ae,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ae.emitEvent}),this._updateAncestors({...ae,skipPristineCheck:U}),this._onDisabledChange.forEach(Fe=>Fe(!1))}_updateAncestors(ae){this._parent&&!ae.onlySelf&&(this._parent.updateValueAndValidity(ae),ae.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ae){this._parent=ae}getRawValue(){return this.value}updateValueAndValidity(ae={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===$n||this.status===Qn)&&this._runAsyncValidator(ae.emitEvent)),!1!==ae.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ae.onlySelf&&this._parent.updateValueAndValidity(ae)}_updateTreeValidity(ae={emitEvent:!0}){this._forEachChild(U=>U._updateTreeValidity(ae)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ae.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jt:$n}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ae){if(this.asyncValidator){this.status=Qn,this._hasOwnPendingAsyncValidator=!0;const U=Ct(this.asyncValidator(this));this._asyncValidationSubscription=U.subscribe(Fe=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Fe,{emitEvent:ae})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ae,U={}){this.errors=ae,this._updateControlsErrors(!1!==U.emitEvent)}get(ae){let U=ae;return null==U||(Array.isArray(U)||(U=U.split(".")),0===U.length)?null:U.reduce((Fe,vt)=>Fe&&Fe._find(vt),this)}getError(ae,U){const Fe=U?this.get(U):this;return Fe&&Fe.errors?Fe.errors[ae]:null}hasError(ae,U){return!!this.getError(ae,U)}get root(){let ae=this;for(;ae._parent;)ae=ae._parent;return ae}_updateControlsErrors(ae){this.status=this._calculateStatus(),ae&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ae)}_initObservables(){this.valueChanges=new t.bkB,this.statusChanges=new t.bkB}_calculateStatus(){return this._allControlsDisabled()?Jt:this.errors?ki:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qn)?Qn:this._anyControlsHaveStatus(ki)?ki:$n}_anyControlsHaveStatus(ae){return this._anyControls(U=>U.status===ae)}_anyControlsDirty(){return this._anyControls(ae=>ae.dirty)}_anyControlsTouched(){return this._anyControls(ae=>ae.touched)}_updatePristine(ae={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ae.onlySelf&&this._parent._updatePristine(ae)}_updateTouched(ae={}){this.touched=this._anyControlsTouched(),this._parent&&!ae.onlySelf&&this._parent._updateTouched(ae)}_registerOnCollectionChange(ae){this._onCollectionChange=ae}_setUpdateStrategy(ae){Ee(ae)&&null!=ae.updateOn&&(this._updateOn=ae.updateOn)}_parentMarkedDirty(ae){return!ae&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ae){return null}_assignValidators(ae){this._rawValidators=Array.isArray(ae)?ae.slice():ae,this._composedValidatorFn=function Qt(ne){return Array.isArray(ne)?fe(ne):ne||null}(this._rawValidators)}_assignAsyncValidators(ae){this._rawAsyncValidators=Array.isArray(ae)?ae.slice():ae,this._composedAsyncValidatorFn=function He(ne){return Array.isArray(ne)?ke(ne):ne||null}(this._rawAsyncValidators)}}class rt extends Ie{constructor(ae,U,Fe){super(wi(U),Zt(Fe,U)),this.controls=ae,this._initObservables(),this._setUpdateStrategy(U),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ae,U){return this.controls[ae]?this.controls[ae]:(this.controls[ae]=U,U.setParent(this),U._registerOnCollectionChange(this._onCollectionChange),U)}addControl(ae,U,Fe={}){this.registerControl(ae,U),this.updateValueAndValidity({emitEvent:Fe.emitEvent}),this._onCollectionChange()}removeControl(ae,U={}){this.controls[ae]&&this.controls[ae]._registerOnCollectionChange(()=>{}),delete this.controls[ae],this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}setControl(ae,U,Fe={}){this.controls[ae]&&this.controls[ae]._registerOnCollectionChange(()=>{}),delete this.controls[ae],U&&this.registerControl(ae,U),this.updateValueAndValidity({emitEvent:Fe.emitEvent}),this._onCollectionChange()}contains(ae){return this.controls.hasOwnProperty(ae)&&this.controls[ae].enabled}setValue(ae,U={}){(function J(ne,ae,U){ne._forEachChild((Fe,vt)=>{if(void 0===U[vt])throw new t.wOt(1002,"")})})(this,0,ae),Object.keys(ae).forEach(Fe=>{(function q(ne,ae,U){const Fe=ne.controls;if(!(ae?Object.keys(Fe):Fe).length)throw new t.wOt(1e3,"");if(!Fe[U])throw new t.wOt(1001,"")})(this,!0,Fe),this.controls[Fe].setValue(ae[Fe],{onlySelf:!0,emitEvent:U.emitEvent})}),this.updateValueAndValidity(U)}patchValue(ae,U={}){null!=ae&&(Object.keys(ae).forEach(Fe=>{const vt=this.controls[Fe];vt&&vt.patchValue(ae[Fe],{onlySelf:!0,emitEvent:U.emitEvent})}),this.updateValueAndValidity(U))}reset(ae={},U={}){this._forEachChild((Fe,vt)=>{Fe.reset(ae?ae[vt]:null,{onlySelf:!0,emitEvent:U.emitEvent})}),this._updatePristine(U),this._updateTouched(U),this.updateValueAndValidity(U)}getRawValue(){return this._reduceChildren({},(ae,U,Fe)=>(ae[Fe]=U.getRawValue(),ae))}_syncPendingControls(){let ae=this._reduceChildren(!1,(U,Fe)=>!!Fe._syncPendingControls()||U);return ae&&this.updateValueAndValidity({onlySelf:!0}),ae}_forEachChild(ae){Object.keys(this.controls).forEach(U=>{const Fe=this.controls[U];Fe&&ae(Fe,U)})}_setUpControls(){this._forEachChild(ae=>{ae.setParent(this),ae._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ae){for(const[U,Fe]of Object.entries(this.controls))if(this.contains(U)&&ae(Fe))return!0;return!1}_reduceValue(){return this._reduceChildren({},(U,Fe,vt)=>((Fe.enabled||this.disabled)&&(U[vt]=Fe.value),U))}_reduceChildren(ae,U){let Fe=ae;return this._forEachChild((vt,mi)=>{Fe=U(Fe,vt,mi)}),Fe}_allControlsDisabled(){for(const ae of Object.keys(this.controls))if(this.controls[ae].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ae){return this.controls.hasOwnProperty(ae)?this.controls[ae]:null}}const St=new t.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>mn}),mn="always";function _i(ne,ae){return[...ae.path,ne]}function tr(ne,ae,U=mn){we(ne,ae),ae.valueAccessor.writeValue(ne.value),(ne.disabled||"always"===U)&&ae.valueAccessor.setDisabledState?.(ne.disabled),function Rt(ne,ae){ae.valueAccessor.registerOnChange(U=>{ne._pendingValue=U,ne._pendingChange=!0,ne._pendingDirty=!0,"change"===ne.updateOn&&ei(ne,ae)})}(ne,ae),function nr(ne,ae){const U=(Fe,vt)=>{ae.valueAccessor.writeValue(Fe),vt&&ae.viewToModelUpdate(Fe)};ne.registerOnChange(U),ae._registerOnDestroy(()=>{ne._unregisterOnChange(U)})}(ne,ae),function qn(ne,ae){ae.valueAccessor.registerOnTouched(()=>{ne._pendingTouched=!0,"blur"===ne.updateOn&&ne._pendingChange&&ei(ne,ae),"submit"!==ne.updateOn&&ne.markAsTouched()})}(ne,ae),function si(ne,ae){if(ae.valueAccessor.setDisabledState){const U=Fe=>{ae.valueAccessor.setDisabledState(Fe)};ne.registerOnDisabledChange(U),ae._registerOnDestroy(()=>{ne._unregisterOnDisabledChange(U)})}}(ne,ae)}function ir(ne,ae,U=!0){const Fe=()=>{};ae.valueAccessor&&(ae.valueAccessor.registerOnChange(Fe),ae.valueAccessor.registerOnTouched(Fe)),Ft(ne,ae),ne&&(ae._invokeOnDestroyCallbacks(),ne._registerOnCollectionChange(()=>{}))}function it(ne,ae){ne.forEach(U=>{U.registerOnValidatorChange&&U.registerOnValidatorChange(ae)})}function we(ne,ae){const U=Ce(ne);null!==ae.validator?ne.setValidators(qe(U,ae.validator)):"function"==typeof U&&ne.setValidators([U]);const Fe=We(ne);null!==ae.asyncValidator?ne.setAsyncValidators(qe(Fe,ae.asyncValidator)):"function"==typeof Fe&&ne.setAsyncValidators([Fe]);const vt=()=>ne.updateValueAndValidity();it(ae._rawValidators,vt),it(ae._rawAsyncValidators,vt)}function Ft(ne,ae){let U=!1;if(null!==ne){if(null!==ae.validator){const vt=Ce(ne);if(Array.isArray(vt)&&vt.length>0){const mi=vt.filter(ji=>ji!==ae.validator);mi.length!==vt.length&&(U=!0,ne.setValidators(mi))}}if(null!==ae.asyncValidator){const vt=We(ne);if(Array.isArray(vt)&&vt.length>0){const mi=vt.filter(ji=>ji!==ae.asyncValidator);mi.length!==vt.length&&(U=!0,ne.setAsyncValidators(mi))}}}const Fe=()=>{};return it(ae._rawValidators,Fe),it(ae._rawAsyncValidators,Fe),U}function ei(ne,ae){ne._pendingDirty&&ne.markAsDirty(),ne.setValue(ne._pendingValue,{emitModelToViewChange:!1}),ae.viewToModelUpdate(ne._pendingValue),ne._pendingChange=!1}function Mr(ne,ae){we(ne,ae)}function st(ne,ae){if(!ne.hasOwnProperty("model"))return!1;const U=ne.model;return!!U.isFirstChange()||!Object.is(ae,U.currentValue)}function nn(ne,ae){ne._syncPendingControls(),ae.forEach(U=>{const Fe=U.control;"submit"===Fe.updateOn&&Fe._pendingChange&&(U.viewToModelUpdate(Fe._pendingValue),Fe._pendingChange=!1)})}function yt(ne,ae){if(!ae)return null;let U,Fe,vt;return Array.isArray(ae),ae.forEach(mi=>{mi.constructor===F?U=mi:function ct(ne){return Object.getPrototypeOf(ne.constructor)===G}(mi)?Fe=mi:vt=mi}),vt||Fe||U||null}const Oi={provide:Rn,useExisting:(0,t.Rfq)(()=>ri)},Jn=Promise.resolve();let ri=(()=>{class ne extends Rn{constructor(U,Fe,vt){super(),this.callSetDisabledState=vt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.bkB,this.form=new rt({},fe(U),ke(Fe))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(U){Jn.then(()=>{const Fe=this._findContainer(U.path);U.control=Fe.registerControl(U.name,U.control),tr(U.control,U,this.callSetDisabledState),U.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(U)})}getControl(U){return this.form.get(U.path)}removeControl(U){Jn.then(()=>{const Fe=this._findContainer(U.path);Fe&&Fe.removeControl(U.name),this._directives.delete(U)})}addFormGroup(U){Jn.then(()=>{const Fe=this._findContainer(U.path),vt=new rt({});Mr(vt,U),Fe.registerControl(U.name,vt),vt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(U){Jn.then(()=>{const Fe=this._findContainer(U.path);Fe&&Fe.removeControl(U.name)})}getFormGroup(U){return this.form.get(U.path)}updateModel(U,Fe){Jn.then(()=>{this.form.get(U.path).setValue(Fe)})}setValue(U){this.control.setValue(U)}onSubmit(U){return this.submitted=!0,nn(this.form,this._directives),this.ngSubmit.emit(U),"dialog"===U?.target?.method}onReset(){this.resetForm()}resetForm(U=void 0){this.form.reset(U),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(U){return U.pop(),U.length?this.form.get(U):this.form}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(re,10),t.rXU(me,10),t.rXU(St,8))};static#t=this.\u0275dir=t.FsC({type:ne,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Fe,vt){1&Fe&&t.bIt("submit",function(ji){return vt.onSubmit(ji)})("reset",function(){return vt.onReset()})},inputs:{options:[t.Mj6.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.Jv_([Oi]),t.Vt3]})}return ne})();function Xi(ne,ae){const U=ne.indexOf(ae);U>-1&&ne.splice(U,1)}function Vi(ne){return"object"==typeof ne&&null!==ne&&2===Object.keys(ne).length&&"value"in ne&&"disabled"in ne}const Pi=class extends Ie{constructor(ae=null,U,Fe){super(wi(U),Zt(Fe,U)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ae),this._setUpdateStrategy(U),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ee(U)&&(U.nonNullable||U.initialValueIsDefault)&&(this.defaultValue=Vi(ae)?ae.value:ae)}setValue(ae,U={}){this.value=this._pendingValue=ae,this._onChange.length&&!1!==U.emitModelToViewChange&&this._onChange.forEach(Fe=>Fe(this.value,!1!==U.emitViewToModelChange)),this.updateValueAndValidity(U)}patchValue(ae,U={}){this.setValue(ae,U)}reset(ae=this.defaultValue,U={}){this._applyFormState(ae),this.markAsPristine(U),this.markAsUntouched(U),this.setValue(this.value,U),this._pendingChange=!1}_updateValue(){}_anyControls(ae){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ae){this._onChange.push(ae)}_unregisterOnChange(ae){Xi(this._onChange,ae)}registerOnDisabledChange(ae){this._onDisabledChange.push(ae)}_unregisterOnDisabledChange(ae){Xi(this._onDisabledChange,ae)}_forEachChild(ae){}_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(ae){Vi(ae)?(this.value=this._pendingValue=ae.value,ae.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ae}},qt={provide:ii,useExisting:(0,t.Rfq)(()=>ft)},pn=Promise.resolve();let ft=(()=>{class ne extends ii{constructor(U,Fe,vt,mi,ji,Yo){super(),this._changeDetectorRef=ji,this.callSetDisabledState=Yo,this.control=new Pi,this._registered=!1,this.name="",this.update=new t.bkB,this._parent=U,this._setValidators(Fe),this._setAsyncValidators(vt),this.valueAccessor=yt(0,mi)}ngOnChanges(U){if(this._checkForErrors(),!this._registered||"name"in U){if(this._registered&&(this._checkName(),this.formDirective)){const Fe=U.name.previousValue;this.formDirective.removeControl({name:Fe,path:this._getPath(Fe)})}this._setUpControl()}"isDisabled"in U&&this._updateDisabled(U),st(U,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(U){this.viewModel=U,this.update.emit(U)}_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(){tr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(U){pn.then(()=>{this.control.setValue(U,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(U){const Fe=U.isDisabled.currentValue,vt=0!==Fe&&(0,t.L39)(Fe);pn.then(()=>{vt&&!this.control.disabled?this.control.disable():!vt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(U){return this._parent?_i(U,this._parent):[U]}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(Rn,9),t.rXU(re,10),t.rXU(me,10),t.rXU(B,10),t.rXU(t.gRc,8),t.rXU(St,8))};static#t=this.\u0275dir=t.FsC({type:ne,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[t.Mj6.None,"disabled","isDisabled"],model:[t.Mj6.None,"ngModel","model"],options:[t.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t.Jv_([qt]),t.Vt3,t.OA$]})}return ne})(),un=(()=>{class ne{static#e=this.\u0275fac=function(Fe){return new(Fe||ne)};static#t=this.\u0275dir=t.FsC({type:ne,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ne})();const Ji=new t.nKC(""),Mo={provide:ii,useExisting:(0,t.Rfq)(()=>Io)};let Io=(()=>{class ne extends ii{set isDisabled(U){}static#e=this._ngModelWarningSentOnce=!1;constructor(U,Fe,vt,mi,ji){super(),this._ngModelWarningConfig=mi,this.callSetDisabledState=ji,this.update=new t.bkB,this._ngModelWarningSent=!1,this._setValidators(U),this._setAsyncValidators(Fe),this.valueAccessor=yt(0,vt)}ngOnChanges(U){if(this._isControlChanged(U)){const Fe=U.form.previousValue;Fe&&ir(Fe,this,!1),tr(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}st(U,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ir(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(U){this.viewModel=U,this.update.emit(U)}_isControlChanged(U){return U.hasOwnProperty("form")}static#t=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(re,10),t.rXU(me,10),t.rXU(B,10),t.rXU(Ji,8),t.rXU(St,8))};static#n=this.\u0275dir=t.FsC({type:ne,selectors:[["","formControl",""]],inputs:{form:[t.Mj6.None,"formControl","form"],isDisabled:[t.Mj6.None,"disabled","isDisabled"],model:[t.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t.Jv_([Mo]),t.Vt3,t.OA$]})}return ne})();const so={provide:Rn,useExisting:(0,t.Rfq)(()=>sn)};let sn=(()=>{class ne extends Rn{constructor(U,Fe,vt){super(),this.callSetDisabledState=vt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.bkB,this._setValidators(U),this._setAsyncValidators(Fe)}ngOnChanges(U){this._checkFormPresent(),U.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ft(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(U){const Fe=this.form.get(U.path);return tr(Fe,U,this.callSetDisabledState),Fe.updateValueAndValidity({emitEvent:!1}),this.directives.push(U),Fe}getControl(U){return this.form.get(U.path)}removeControl(U){ir(U.control||null,U,!1),function Ln(ne,ae){const U=ne.indexOf(ae);U>-1&&ne.splice(U,1)}(this.directives,U)}addFormGroup(U){this._setUpFormContainer(U)}removeFormGroup(U){this._cleanUpFormContainer(U)}getFormGroup(U){return this.form.get(U.path)}addFormArray(U){this._setUpFormContainer(U)}removeFormArray(U){this._cleanUpFormContainer(U)}getFormArray(U){return this.form.get(U.path)}updateModel(U,Fe){this.form.get(U.path).setValue(Fe)}onSubmit(U){return this.submitted=!0,nn(this.form,this.directives),this.ngSubmit.emit(U),"dialog"===U?.target?.method}onReset(){this.resetForm()}resetForm(U=void 0){this.form.reset(U),this.submitted=!1}_updateDomValue(){this.directives.forEach(U=>{const Fe=U.control,vt=this.form.get(U.path);Fe!==vt&&(ir(Fe||null,U),(ne=>ne instanceof Pi)(vt)&&(tr(vt,U,this.callSetDisabledState),U.control=vt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(U){const Fe=this.form.get(U.path);Mr(Fe,U),Fe.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(U){if(this.form){const Fe=this.form.get(U.path);Fe&&function lr(ne,ae){return Ft(ne,ae)}(Fe,U)&&Fe.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){we(this.form,this),this._oldForm&&Ft(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(re,10),t.rXU(me,10),t.rXU(St,8))};static#t=this.\u0275dir=t.FsC({type:ne,selectors:[["","formGroup",""]],hostBindings:function(Fe,vt){1&Fe&&t.bIt("submit",function(ji){return vt.onSubmit(ji)})("reset",function(){return vt.onReset()})},inputs:{form:[t.Mj6.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.Jv_([so]),t.Vt3,t.OA$]})}return ne})();const ws={provide:ii,useExisting:(0,t.Rfq)(()=>eo)};let eo=(()=>{class ne extends ii{set isDisabled(U){}static#e=this._ngModelWarningSentOnce=!1;constructor(U,Fe,vt,mi,ji){super(),this._ngModelWarningConfig=ji,this._added=!1,this.name=null,this.update=new t.bkB,this._ngModelWarningSent=!1,this._parent=U,this._setValidators(Fe),this._setAsyncValidators(vt),this.valueAccessor=yt(0,mi)}ngOnChanges(U){this._added||this._setUpControl(),st(U,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(U){this.viewModel=U,this.update.emit(U)}get path(){return _i(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(Fe){return new(Fe||ne)(t.rXU(Rn,13),t.rXU(re,10),t.rXU(me,10),t.rXU(B,10),t.rXU(Ji,8))};static#n=this.\u0275dir=t.FsC({type:ne,selectors:[["","formControlName",""]],inputs:{name:[t.Mj6.None,"formControlName","name"],isDisabled:[t.Mj6.None,"disabled","isDisabled"],model:[t.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[t.Jv_([ws]),t.Vt3,t.OA$]})}return ne})(),ao=(()=>{class ne{static#e=this.\u0275fac=function(Fe){return new(Fe||ne)};static#t=this.\u0275mod=t.$C({type:ne});static#n=this.\u0275inj=t.G2t({})}return ne})(),Qs=(()=>{class ne{static withConfig(U){return{ngModule:ne,providers:[{provide:St,useValue:U.callSetDisabledState??mn}]}}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)};static#t=this.\u0275mod=t.$C({type:ne});static#n=this.\u0275inj=t.G2t({imports:[ao]})}return ne})(),Rs=(()=>{class ne{static withConfig(U){return{ngModule:ne,providers:[{provide:Ji,useValue:U.warnOnNgModelWithFormControl??"always"},{provide:St,useValue:U.callSetDisabledState??mn}]}}static#e=this.\u0275fac=function(Fe){return new(Fe||ne)};static#t=this.\u0275mod=t.$C({type:ne});static#n=this.\u0275inj=t.G2t({imports:[ao]})}return ne})()},8834:(kt,De,u)=>{"use strict";u.d(De,{$z:()=>xe,iY:()=>Ct});var t=u(6860),p=u(4438),D=u(8617),j=u(6600);const E=["mat-button",""],ee=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],G=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],b=["mat-icon-button",""],F=["*"],de=new p.nKC("MAT_BUTTON_CONFIG"),me=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let Se=(()=>{class Be{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(Re){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,Re)}get disableRipple(){return this._disableRipple}set disableRipple(Re){this._disableRipple=Re,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(Re){this._disabled=Re,this._updateRippleDisabled()}constructor(Re,fe,ge,ke){this._elementRef=Re,this._platform=fe,this._ngZone=ge,this._animationMode=ke,this._focusMonitor=(0,p.WQX)(D.FN),this._rippleLoader=(0,p.WQX)(j.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const qe=(0,p.WQX)(de,{optional:!0}),Ce=Re.nativeElement,We=Ce.classList;this.disabledInteractive=qe?.disabledInteractive??!1,this._rippleLoader?.configureRipple(Ce,{className:"mat-mdc-button-ripple"});for(const{attribute:Ze,mdcClasses:gt}of me)Ce.hasAttribute(Ze)&&We.add(...gt)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(Re="program",fe){Re?this._focusMonitor.focusVia(this._elementRef.nativeElement,Re,fe):this._elementRef.nativeElement.focus(fe)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(fe){p.QTQ()};static#t=this.\u0275dir=p.FsC({type:Be,inputs:{color:"color",disableRipple:[p.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",p.L39],disabled:[p.Mj6.HasDecoratorInputTransform,"disabled","disabled",p.L39],ariaDisabled:[p.Mj6.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",p.L39],disabledInteractive:[p.Mj6.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",p.L39]},features:[p.GFd]})}return Be})(),xe=(()=>{class Be extends Se{constructor(Re,fe,ge,ke){super(Re,fe,ge,ke)}static#e=this.\u0275fac=function(fe){return new(fe||Be)(p.rXU(p.aKT),p.rXU(t.OD),p.rXU(p.SKi),p.rXU(p.bc$,8))};static#t=this.\u0275cmp=p.VBU({type:Be,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(fe,ge){2&fe&&(p.BMQ("disabled",ge._getDisabledAttribute())("aria-disabled",ge._getAriaDisabled()),p.HbH(ge.color?"mat-"+ge.color:""),p.AVh("mat-mdc-button-disabled",ge.disabled)("mat-mdc-button-disabled-interactive",ge.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===ge._animationMode)("mat-unthemed",!ge.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[p.Vt3,p.aNF],attrs:E,ngContentSelectors:G,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(fe,ge){1&fe&&(p.NAR(ee),p.nrm(0,"span",0),p.SdG(1),p.j41(2,"span",1),p.SdG(3,1),p.k0s(),p.SdG(4,2),p.nrm(5,"span",2)(6,"span",3)),2&fe&&p.AVh("mdc-button__ripple",!ge._isFab)("mdc-fab__ripple",ge._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return Be})(),Ct=(()=>{class Be extends Se{constructor(Re,fe,ge,ke){super(Re,fe,ge,ke),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(fe){return new(fe||Be)(p.rXU(p.aKT),p.rXU(t.OD),p.rXU(p.SKi),p.rXU(p.bc$,8))};static#t=this.\u0275cmp=p.VBU({type:Be,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(fe,ge){2&fe&&(p.BMQ("disabled",ge._getDisabledAttribute())("aria-disabled",ge._getAriaDisabled()),p.HbH(ge.color?"mat-"+ge.color:""),p.AVh("mat-mdc-button-disabled",ge.disabled)("mat-mdc-button-disabled-interactive",ge.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===ge._animationMode)("mat-unthemed",!ge.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[p.Vt3,p.aNF],attrs:b,ngContentSelectors:F,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(fe,ge){1&fe&&(p.NAR(),p.nrm(0,"span",0),p.SdG(1),p.nrm(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return Be})()},6600:(kt,De,u)=>{"use strict";u.d(De,{es:()=>Rn,QC:()=>En,is:()=>Yt,yE:()=>pe,wT:()=>Jt,r6:()=>jt,Ej:()=>Xt,X0:()=>be,jb:()=>wi,TL:()=>Qt});var t=u(4438),p=u(8617),D=u(8203),E=u(177),ee=u(6860),G=u(4085),B=u(1413),R=u(7336);const A=["text"],b=[[["mat-icon"]],"*"],F=["mat-icon","*"];function L(Lt,Mt){if(1&Lt&&t.nrm(0,"mat-pseudo-checkbox",1),2&Lt){const et=t.XpG();t.Y8G("disabled",et.disabled)("state",et.selected?"checked":"unchecked")}}function de(Lt,Mt){if(1&Lt&&t.nrm(0,"mat-pseudo-checkbox",3),2&Lt){const et=t.XpG();t.Y8G("disabled",et.disabled)}}function re(Lt,Mt){if(1&Lt&&(t.j41(0,"span",4),t.EFF(1),t.k0s()),2&Lt){const et=t.XpG();t.R7$(),t.SpI("(",et.group.label,")")}}const ye=new t.nKC("mat-sanity-checks",{providedIn:"root",factory:function ve(){return!0}});let pe=(()=>{class Lt{constructor(et,St,mn){this._sanityChecks=St,this._document=mn,this._hasDoneGlobalChecks=!1,et._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(et){return!(0,ee.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[et])}static#e=this.\u0275fac=function(St){return new(St||Lt)(t.KVO(p.Q_),t.KVO(ye,8),t.KVO(E.qQ))};static#t=this.\u0275mod=t.$C({type:Lt});static#n=this.\u0275inj=t.G2t({imports:[D.jI,D.jI]})}return Lt})();class be{constructor(Mt,et,St,mn,_i){this._defaultMatcher=Mt,this.ngControl=et,this._parentFormGroup=St,this._parentForm=mn,this._stateChanges=_i,this.errorState=!1}updateErrorState(){const Mt=this.errorState,et=this._parentFormGroup||this._parentForm,St=this.matcher||this._defaultMatcher,mn=this.ngControl?this.ngControl.control:null,_i=St?.isErrorState(mn,et)??!1;_i!==Mt&&(this.errorState=_i,this._stateChanges.next())}}let Rn=(()=>{class Lt{isErrorState(et,St){return!!(et&&et.invalid&&(et.touched||St&&St.submitted))}static#e=this.\u0275fac=function(St){return new(St||Lt)};static#t=this.\u0275prov=t.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"})}return Lt})();var at=function(Lt){return Lt[Lt.FADING_IN=0]="FADING_IN",Lt[Lt.VISIBLE=1]="VISIBLE",Lt[Lt.FADING_OUT=2]="FADING_OUT",Lt[Lt.HIDDEN=3]="HIDDEN",Lt}(at||{});class _t{constructor(Mt,et,St,mn=!1){this._renderer=Mt,this.element=et,this.config=St,this._animationForciblyDisabledThroughCss=mn,this.state=at.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const rn=(0,ee.BQ)({passive:!0,capture:!0});class Hn{constructor(){this._events=new Map,this._delegateEventHandler=Mt=>{const et=(0,ee.Fb)(Mt);et&&this._events.get(Mt.type)?.forEach((St,mn)=>{(mn===et||mn.contains(et))&&St.forEach(_i=>_i.handleEvent(Mt))})}}addHandler(Mt,et,St,mn){const _i=this._events.get(et);if(_i){const tr=_i.get(St);tr?tr.add(mn):_i.set(St,new Set([mn]))}else this._events.set(et,new Map([[St,new Set([mn])]])),Mt.runOutsideAngular(()=>{document.addEventListener(et,this._delegateEventHandler,rn)})}removeHandler(Mt,et,St){const mn=this._events.get(Mt);if(!mn)return;const _i=mn.get(et);_i&&(_i.delete(St),0===_i.size&&mn.delete(et),0===mn.size&&(this._events.delete(Mt),document.removeEventListener(Mt,this._delegateEventHandler,rn)))}}const Xn={enterDuration:225,exitDuration:150},ce=(0,ee.BQ)({passive:!0,capture:!0}),Ye=["mousedown","touchstart"],Je=["mouseup","mouseleave","touchend","touchcancel"];class xt{static#e=this._eventManager=new Hn;constructor(Mt,et,St,mn){this._target=Mt,this._ngZone=et,this._platform=mn,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,mn.isBrowser&&(this._containerElement=(0,G.i8)(St))}fadeInRipple(Mt,et,St={}){const mn=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),_i={...Xn,...St.animation};St.centered&&(Mt=mn.left+mn.width/2,et=mn.top+mn.height/2);const tr=St.radius||function Kt(Lt,Mt,et){const St=Math.max(Math.abs(Lt-et.left),Math.abs(Lt-et.right)),mn=Math.max(Math.abs(Mt-et.top),Math.abs(Mt-et.bottom));return Math.sqrt(St*St+mn*mn)}(Mt,et,mn),ir=Mt-mn.left,it=et-mn.top,si=_i.enterDuration,we=document.createElement("div");we.classList.add("mat-ripple-element"),we.style.left=ir-tr+"px",we.style.top=it-tr+"px",we.style.height=2*tr+"px",we.style.width=2*tr+"px",null!=St.color&&(we.style.backgroundColor=St.color),we.style.transitionDuration=`${si}ms`,this._containerElement.appendChild(we);const Ft=window.getComputedStyle(we),qn=Ft.transitionDuration,ei="none"===Ft.transitionProperty||"0s"===qn||"0s, 0s"===qn||0===mn.width&&0===mn.height,nr=new _t(this,we,St,ei);we.style.transform="scale3d(1, 1, 1)",nr.state=at.FADING_IN,St.persistent||(this._mostRecentTransientRipple=nr);let Mr=null;return!ei&&(si||_i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const lr=()=>this._finishRippleTransition(nr),Dr=()=>this._destroyRipple(nr);we.addEventListener("transitionend",lr),we.addEventListener("transitioncancel",Dr),Mr={onTransitionEnd:lr,onTransitionCancel:Dr}}),this._activeRipples.set(nr,Mr),(ei||!si)&&this._finishRippleTransition(nr),nr}fadeOutRipple(Mt){if(Mt.state===at.FADING_OUT||Mt.state===at.HIDDEN)return;const et=Mt.element,St={...Xn,...Mt.config.animation};et.style.transitionDuration=`${St.exitDuration}ms`,et.style.opacity="0",Mt.state=at.FADING_OUT,(Mt._animationForciblyDisabledThroughCss||!St.exitDuration)&&this._finishRippleTransition(Mt)}fadeOutAll(){this._getActiveRipples().forEach(Mt=>Mt.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Mt=>{Mt.config.persistent||Mt.fadeOut()})}setupTriggerEvents(Mt){const et=(0,G.i8)(Mt);!this._platform.isBrowser||!et||et===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=et,Ye.forEach(St=>{xt._eventManager.addHandler(this._ngZone,St,et,this)}))}handleEvent(Mt){"mousedown"===Mt.type?this._onMousedown(Mt):"touchstart"===Mt.type?this._onTouchStart(Mt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Je.forEach(et=>{this._triggerElement.addEventListener(et,this,ce)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Mt){Mt.state===at.FADING_IN?this._startFadeOutTransition(Mt):Mt.state===at.FADING_OUT&&this._destroyRipple(Mt)}_startFadeOutTransition(Mt){const et=Mt===this._mostRecentTransientRipple,{persistent:St}=Mt.config;Mt.state=at.VISIBLE,!St&&(!et||!this._isPointerDown)&&Mt.fadeOut()}_destroyRipple(Mt){const et=this._activeRipples.get(Mt)??null;this._activeRipples.delete(Mt),this._activeRipples.size||(this._containerRect=null),Mt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Mt.state=at.HIDDEN,null!==et&&(Mt.element.removeEventListener("transitionend",et.onTransitionEnd),Mt.element.removeEventListener("transitioncancel",et.onTransitionCancel)),Mt.element.remove()}_onMousedown(Mt){const et=(0,p._G)(Mt),St=this._lastTouchStartEvent&&Date.now(){!Mt.config.persistent&&(Mt.state===at.VISIBLE||Mt.config.terminateOnPointerUp&&Mt.state===at.FADING_IN)&&Mt.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Mt=this._triggerElement;Mt&&(Ye.forEach(et=>xt._eventManager.removeHandler(et,Mt,this)),this._pointerUpEventsRegistered&&Je.forEach(et=>Mt.removeEventListener(et,this,ce)))}}const pt=new t.nKC("mat-ripple-global-options");let jt=(()=>{class Lt{get disabled(){return this._disabled}set disabled(et){et&&this.fadeOutAllNonPersistent(),this._disabled=et,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(et){this._trigger=et,this._setupTriggerEventsIfEnabled()}constructor(et,St,mn,_i,tr){this._elementRef=et,this._animationMode=tr,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=_i||{},this._rippleRenderer=new xt(this,St,et,mn)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(et,St=0,mn){return"number"==typeof et?this._rippleRenderer.fadeInRipple(et,St,{...this.rippleConfig,...mn}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...et})}static#e=this.\u0275fac=function(St){return new(St||Lt)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(ee.OD),t.rXU(pt,8),t.rXU(t.bc$,8))};static#t=this.\u0275dir=t.FsC({type:Lt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(St,mn){2&St&&t.AVh("mat-ripple-unbounded",mn.unbounded)},inputs:{color:[t.Mj6.None,"matRippleColor","color"],unbounded:[t.Mj6.None,"matRippleUnbounded","unbounded"],centered:[t.Mj6.None,"matRippleCentered","centered"],radius:[t.Mj6.None,"matRippleRadius","radius"],animation:[t.Mj6.None,"matRippleAnimation","animation"],disabled:[t.Mj6.None,"matRippleDisabled","disabled"],trigger:[t.Mj6.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return Lt})(),mt=(()=>{class Lt{constructor(et){this._animationMode=et,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(St){return new(St||Lt)(t.rXU(t.bc$,8))};static#t=this.\u0275cmp=t.VBU({type:Lt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(St,mn){2&St&&t.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===mn.state)("mat-pseudo-checkbox-checked","checked"===mn.state)("mat-pseudo-checkbox-disabled",mn.disabled)("mat-pseudo-checkbox-minimal","minimal"===mn.appearance)("mat-pseudo-checkbox-full","full"===mn.appearance)("_mat-animation-noopable","NoopAnimations"===mn._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[t.aNF],decls:0,vars:0,template:function(St,mn){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return Lt})();const Yt=new t.nKC("MAT_OPTION_PARENT_COMPONENT"),En=new t.nKC("MatOptgroup");let ki=0;class Qn{constructor(Mt,et=!1){this.source=Mt,this.isUserInput=et}}let Jt=(()=>{class Lt{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(et){this._disabled=et}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(et,St,mn,_i){this._element=et,this._changeDetectorRef=St,this._parent=mn,this.group=_i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ki++,this.onSelectionChange=new t.bkB,this._stateChanges=new B.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(et=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),et&&this._emitSelectionChangeEvent())}deselect(et=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),et&&this._emitSelectionChangeEvent())}focus(et,St){const mn=this._getHostElement();"function"==typeof mn.focus&&mn.focus(St)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(et){(et.keyCode===R.Fm||et.keyCode===R.t6)&&!(0,R.rp)(et)&&(this._selectViaInteraction(),et.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const et=this.viewValue;et!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=et)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(et=!1){this.onSelectionChange.emit(new Qn(this,et))}static#e=this.\u0275fac=function(St){return new(St||Lt)(t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(Yt,8),t.rXU(En,8))};static#t=this.\u0275cmp=t.VBU({type:Lt,selectors:[["mat-option"]],viewQuery:function(St,mn){if(1&St&&t.GBs(A,7),2&St){let _i;t.mGM(_i=t.lsd())&&(mn._text=_i.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(St,mn){1&St&&t.bIt("click",function(){return mn._selectViaInteraction()})("keydown",function(tr){return mn._handleKeydown(tr)}),2&St&&(t.Mr5("id",mn.id),t.BMQ("aria-selected",mn.selected)("aria-disabled",mn.disabled.toString()),t.AVh("mdc-list-item--selected",mn.selected)("mat-mdc-option-multiple",mn.multiple)("mat-mdc-option-active",mn.active)("mdc-list-item--disabled",mn.disabled))},inputs:{value:"value",id:"id",disabled:[t.Mj6.HasDecoratorInputTransform,"disabled","disabled",t.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[t.GFd,t.aNF],ngContentSelectors:F,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(St,mn){1&St&&(t.NAR(b),t.DNE(0,L,1,2,"mat-pseudo-checkbox",1),t.SdG(1),t.j41(2,"span",2,0),t.SdG(4,1),t.k0s(),t.DNE(5,de,1,1,"mat-pseudo-checkbox",3)(6,re,2,1,"span",4),t.nrm(7,"div",5)),2&St&&(t.vxM(0,mn.multiple?0:-1),t.R7$(5),t.vxM(5,mn.multiple||!mn.selected||mn.hideSingleSelectionIndicator?-1:5),t.R7$(),t.vxM(6,mn.group&&mn.group._inert?6:-1),t.R7$(),t.Y8G("matRippleTrigger",mn._getHostElement())("matRippleDisabled",mn.disabled||mn.disableRipple))},dependencies:[mt,jt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Lt})();function wi(Lt,Mt,et){if(et.length){let St=Mt.toArray(),mn=et.toArray(),_i=0;for(let tr=0;tret+St?Math.max(0,Lt-St+Mt):et}const He={capture:!0},Ee=["focus","click","mouseenter","touchstart"],q="mat-ripple-loader-uninitialized",J="mat-ripple-loader-class-name",Ie="mat-ripple-loader-centered",rt="mat-ripple-loader-disabled";let Xt=(()=>{class Lt{constructor(){this._document=(0,t.WQX)(E.qQ,{optional:!0}),this._animationMode=(0,t.WQX)(t.bc$,{optional:!0}),this._globalRippleOptions=(0,t.WQX)(pt,{optional:!0}),this._platform=(0,t.WQX)(ee.OD),this._ngZone=(0,t.WQX)(t.SKi),this._hosts=new Map,this._onInteraction=et=>{if(!(et.target instanceof HTMLElement))return;const mn=et.target.closest(`[${q}]`);mn&&this._createRipple(mn)},this._ngZone.runOutsideAngular(()=>{for(const et of Ee)this._document?.addEventListener(et,this._onInteraction,He)})}ngOnDestroy(){const et=this._hosts.keys();for(const St of et)this.destroyRipple(St);for(const St of Ee)this._document?.removeEventListener(St,this._onInteraction,He)}configureRipple(et,St){et.setAttribute(q,""),(St.className||!et.hasAttribute(J))&&et.setAttribute(J,St.className||""),St.centered&&et.setAttribute(Ie,""),St.disabled&&et.setAttribute(rt,"")}getRipple(et){return this._hosts.get(et)||this._createRipple(et)}setDisabled(et,St){const mn=this._hosts.get(et);mn?mn.disabled=St:St?et.setAttribute(rt,""):et.removeAttribute(rt)}_createRipple(et){if(!this._document)return;const St=this._hosts.get(et);if(St)return St;et.querySelector(".mat-ripple")?.remove();const mn=this._document.createElement("span");mn.classList.add("mat-ripple",et.getAttribute(J)),et.append(mn);const _i=new jt(new t.aKT(mn),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return _i._isInitialized=!0,_i.trigger=et,_i.centered=et.hasAttribute(Ie),_i.disabled=et.hasAttribute(rt),this.attachRipple(et,_i),_i}attachRipple(et,St){et.removeAttribute(q),this._hosts.set(et,St)}destroyRipple(et){const St=this._hosts.get(et);St&&(St.ngOnDestroy(),this._hosts.delete(et))}static#e=this.\u0275fac=function(St){return new(St||Lt)};static#t=this.\u0275prov=t.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"})}return Lt})()},5351:(kt,De,u)=>{"use strict";u.d(De,{Vh:()=>xn,di:()=>Tn,bZ:()=>Le,Yi:()=>Xn,hM:()=>Je,CP:()=>gt});var t=u(7987),p=u(177),D=u(4438),j=u(8617),E=u(6860),ee=u(6939),G=u(7336),B=u(1413),R=u(9030),P=u(7673),I=u(8203),A=u(9172);function b(pt,jt){}class F{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let de=(()=>{class pt extends ee.lb{constructor(nt,mt,At,Yt,jn,En,$n,ki){super(),this._elementRef=nt,this._focusTrapFactory=mt,this._config=Yt,this._interactivityChecker=jn,this._ngZone=En,this._overlayRef=$n,this._focusMonitor=ki,this._platform=(0,D.WQX)(E.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,D.WQX)(D.gRc),this.attachDomPortal=Qn=>{this._portalOutlet.hasAttached();const Jt=this._portalOutlet.attachDomPortal(Qn);return this._contentAttached(),Jt},this._document=At,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(nt){this._ariaLabelledByQueue.push(nt),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(nt){const mt=this._ariaLabelledByQueue.indexOf(nt);mt>-1&&(this._ariaLabelledByQueue.splice(mt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(nt){this._portalOutlet.hasAttached();const mt=this._portalOutlet.attachComponentPortal(nt);return this._contentAttached(),mt}attachTemplatePortal(nt){this._portalOutlet.hasAttached();const mt=this._portalOutlet.attachTemplatePortal(nt);return this._contentAttached(),mt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(nt,mt){this._interactivityChecker.isFocusable(nt)||(nt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const At=()=>{nt.removeEventListener("blur",At),nt.removeEventListener("mousedown",At),nt.removeAttribute("tabindex")};nt.addEventListener("blur",At),nt.addEventListener("mousedown",At)})),nt.focus(mt)}_focusByCssSelector(nt,mt){let At=this._elementRef.nativeElement.querySelector(nt);At&&this._forceFocus(At,mt)}_trapFocus(){const nt=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||nt.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(mt=>{mt||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const nt=this._config.restoreFocus;let mt=null;if("string"==typeof nt?mt=this._document.querySelector(nt):"boolean"==typeof nt?mt=nt?this._elementFocusedBeforeDialogWasOpened:null:nt&&(mt=nt),this._config.restoreFocus&&mt&&"function"==typeof mt.focus){const At=(0,E.vc)(),Yt=this._elementRef.nativeElement;(!At||At===this._document.body||At===Yt||Yt.contains(At))&&(this._focusMonitor?(this._focusMonitor.focusVia(mt,this._closeInteractionType),this._closeInteractionType=null):mt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const nt=this._elementRef.nativeElement,mt=(0,E.vc)();return nt===mt||nt.contains(mt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,E.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(mt){return new(mt||pt)(D.rXU(D.aKT),D.rXU(j.GX),D.rXU(p.qQ,8),D.rXU(F),D.rXU(j.Z7),D.rXU(D.SKi),D.rXU(t.yY),D.rXU(j.FN))};static#t=this.\u0275cmp=D.VBU({type:pt,selectors:[["cdk-dialog-container"]],viewQuery:function(mt,At){if(1&mt&&D.GBs(ee.I3,7),2&mt){let Yt;D.mGM(Yt=D.lsd())&&(At._portalOutlet=Yt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(mt,At){2&mt&&D.BMQ("id",At._config.id||null)("role",At._config.role)("aria-modal",At._config.ariaModal)("aria-labelledby",At._config.ariaLabel?null:At._ariaLabelledByQueue[0])("aria-label",At._config.ariaLabel)("aria-describedby",At._config.ariaDescribedBy||null)},standalone:!0,features:[D.Vt3,D.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(mt,At){1&mt&&D.DNE(0,b,0,0,"ng-template",0)},dependencies:[ee.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return pt})();class re{constructor(jt,nt){this.overlayRef=jt,this.config=nt,this.closed=new B.B,this.disableClose=nt.disableClose,this.backdropClick=jt.backdropClick(),this.keydownEvents=jt.keydownEvents(),this.outsidePointerEvents=jt.outsidePointerEvents(),this.id=nt.id,this.keydownEvents.subscribe(mt=>{mt.keyCode===G._f&&!this.disableClose&&!(0,G.rp)(mt)&&(mt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=jt.detachments().subscribe(()=>{!1!==nt.closeOnOverlayDetachments&&this.close()})}close(jt,nt){if(this.containerInstance){const mt=this.closed;this.containerInstance._closeInteractionType=nt?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),mt.next(jt),mt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(jt="",nt=""){return this.overlayRef.updateSize({width:jt,height:nt}),this}addPanelClass(jt){return this.overlayRef.addPanelClass(jt),this}removePanelClass(jt){return this.overlayRef.removePanelClass(jt),this}}const me=new D.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const pt=(0,D.WQX)(t.hJ);return()=>pt.scrollStrategies.block()}}),Se=new D.nKC("DialogData"),tt=new D.nKC("DefaultDialogConfig");let ve=0,ye=(()=>{class pt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(nt,mt,At,Yt,jn,En){this._overlay=nt,this._injector=mt,this._defaultOptions=At,this._parentDialog=Yt,this._overlayContainer=jn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new B.B,this._afterOpenedAtThisLevel=new B.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,R.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.Z)(void 0))),this._scrollStrategy=En}open(nt,mt){(mt={...this._defaultOptions||new F,...mt}).id=mt.id||"cdk-dialog-"+ve++,mt.id&&this.getDialogById(mt.id);const Yt=this._getOverlayConfig(mt),jn=this._overlay.create(Yt),En=new re(jn,mt),$n=this._attachContainer(jn,En,mt);return En.containerInstance=$n,this._attachDialogContent(nt,En,$n,mt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(En),En.closed.subscribe(()=>this._removeOpenDialog(En,!0)),this.afterOpened.next(En),En}closeAll(){pe(this.openDialogs,nt=>nt.close())}getDialogById(nt){return this.openDialogs.find(mt=>mt.id===nt)}ngOnDestroy(){pe(this._openDialogsAtThisLevel,nt=>{!1===nt.config.closeOnDestroy&&this._removeOpenDialog(nt,!1)}),pe(this._openDialogsAtThisLevel,nt=>nt.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(nt){const mt=new t.rR({positionStrategy:nt.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:nt.scrollStrategy||this._scrollStrategy(),panelClass:nt.panelClass,hasBackdrop:nt.hasBackdrop,direction:nt.direction,minWidth:nt.minWidth,minHeight:nt.minHeight,maxWidth:nt.maxWidth,maxHeight:nt.maxHeight,width:nt.width,height:nt.height,disposeOnNavigation:nt.closeOnNavigation});return nt.backdropClass&&(mt.backdropClass=nt.backdropClass),mt}_attachContainer(nt,mt,At){const Yt=At.injector||At.viewContainerRef?.injector,jn=[{provide:F,useValue:At},{provide:re,useValue:mt},{provide:t.yY,useValue:nt}];let En;At.container?"function"==typeof At.container?En=At.container:(En=At.container.type,jn.push(...At.container.providers(At))):En=de;const $n=new ee.A8(En,At.viewContainerRef,D.zZn.create({parent:Yt||this._injector,providers:jn}),At.componentFactoryResolver);return nt.attach($n).instance}_attachDialogContent(nt,mt,At,Yt){if(nt instanceof D.C4Q){const jn=this._createInjector(Yt,mt,At,void 0);let En={$implicit:Yt.data,dialogRef:mt};Yt.templateContext&&(En={...En,..."function"==typeof Yt.templateContext?Yt.templateContext():Yt.templateContext}),At.attachTemplatePortal(new ee.VA(nt,null,En,jn))}else{const jn=this._createInjector(Yt,mt,At,this._injector),En=At.attachComponentPortal(new ee.A8(nt,Yt.viewContainerRef,jn,Yt.componentFactoryResolver));mt.componentRef=En,mt.componentInstance=En.instance}}_createInjector(nt,mt,At,Yt){const jn=nt.injector||nt.viewContainerRef?.injector,En=[{provide:Se,useValue:nt.data},{provide:re,useValue:mt}];return nt.providers&&("function"==typeof nt.providers?En.push(...nt.providers(mt,nt,At)):En.push(...nt.providers)),nt.direction&&(!jn||!jn.get(I.dS,null,{optional:!0}))&&En.push({provide:I.dS,useValue:{value:nt.direction,change:(0,P.of)()}}),D.zZn.create({parent:jn||Yt,providers:En})}_removeOpenDialog(nt,mt){const At=this.openDialogs.indexOf(nt);At>-1&&(this.openDialogs.splice(At,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Yt,jn)=>{Yt?jn.setAttribute("aria-hidden",Yt):jn.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),mt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const nt=this._overlayContainer.getContainerElement();if(nt.parentElement){const mt=nt.parentElement.children;for(let At=mt.length-1;At>-1;At--){const Yt=mt[At];Yt!==nt&&"SCRIPT"!==Yt.nodeName&&"STYLE"!==Yt.nodeName&&!Yt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Yt,Yt.getAttribute("aria-hidden")),Yt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const nt=this._parentDialog;return nt?nt._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(mt){return new(mt||pt)(D.KVO(t.hJ),D.KVO(D.zZn),D.KVO(tt,8),D.KVO(pt,12),D.KVO(t.Sf),D.KVO(me))};static#t=this.\u0275prov=D.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})();function pe(pt,jt){let nt=pt.length;for(;nt--;)jt(pt[nt])}let Pe=(()=>{class pt{static#e=this.\u0275fac=function(mt){return new(mt||pt)};static#t=this.\u0275mod=D.$C({type:pt});static#n=this.\u0275inj=D.G2t({providers:[ye],imports:[t.z_,ee.jc,j.Pd,ee.jc]})}return pt})();var $=u(4085),Oe=u(7786),Ke=u(5964),Nt=u(6697),Ct=u(6600);function be(pt,jt){}u(9969);class Be{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const oe="mdc-dialog--open",Re="mdc-dialog--opening",fe="mdc-dialog--closing";let qe=(()=>{class pt extends de{constructor(nt,mt,At,Yt,jn,En,$n,ki,Qn){super(nt,mt,At,Yt,jn,En,$n,Qn),this._animationMode=ki,this._animationStateChanged=new D.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?We(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?We(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ce,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Re,oe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(oe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(oe),this._animationsEnabled?(this._hostElement.style.setProperty(Ce,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(fe)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(nt){this._actionSectionCount+=nt,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Re,fe)}_waitForAnimationToComplete(nt,mt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(mt,nt)}_requestAnimationFrame(nt){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(nt):nt()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(nt){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:nt})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(nt){const mt=super.attachComponentPortal(nt);return mt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),mt}static#e=this.\u0275fac=function(mt){return new(mt||pt)(D.rXU(D.aKT),D.rXU(j.GX),D.rXU(p.qQ,8),D.rXU(Be),D.rXU(j.Z7),D.rXU(D.SKi),D.rXU(t.yY),D.rXU(D.bc$,8),D.rXU(j.FN))};static#t=this.\u0275cmp=D.VBU({type:pt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(mt,At){2&mt&&(D.Mr5("id",At._config.id),D.BMQ("aria-modal",At._config.ariaModal)("role",At._config.role)("aria-labelledby",At._config.ariaLabel?null:At._ariaLabelledByQueue[0])("aria-label",At._config.ariaLabel)("aria-describedby",At._config.ariaDescribedBy||null),D.AVh("_mat-animation-noopable",!At._animationsEnabled)("mat-mdc-dialog-container-with-actions",At._actionSectionCount>0))},standalone:!0,features:[D.Vt3,D.aNF],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(mt,At){1&mt&&(D.j41(0,"div",0)(1,"div",1),D.DNE(2,be,0,0,"ng-template",2),D.k0s()())},dependencies:[ee.I3],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return pt})();const Ce="--mat-dialog-transition-duration";function We(pt){return null==pt?null:"number"==typeof pt?pt:pt.endsWith("ms")?(0,$.OE)(pt.substring(0,pt.length-2)):pt.endsWith("s")?1e3*(0,$.OE)(pt.substring(0,pt.length-1)):"0"===pt?0:null}var Ze=function(pt){return pt[pt.OPEN=0]="OPEN",pt[pt.CLOSING=1]="CLOSING",pt[pt.CLOSED=2]="CLOSED",pt}(Ze||{});class gt{constructor(jt,nt,mt){this._ref=jt,this._containerInstance=mt,this._afterOpened=new B.B,this._beforeClosed=new B.B,this._state=Ze.OPEN,this.disableClose=nt.disableClose,this.id=jt.id,jt.addPanelClass("mat-mdc-dialog-panel"),mt._animationStateChanged.pipe((0,Ke.p)(At=>"opened"===At.state),(0,Nt.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),mt._animationStateChanged.pipe((0,Ke.p)(At=>"closed"===At.state),(0,Nt.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),jt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Oe.h)(this.backdropClick(),this.keydownEvents().pipe((0,Ke.p)(At=>At.keyCode===G._f&&!this.disableClose&&!(0,G.rp)(At)))).subscribe(At=>{this.disableClose||(At.preventDefault(),function an(pt,jt,nt){return pt._closeInteractionType=jt,pt.close(nt)}(this,"keydown"===At.type?"keyboard":"mouse"))})}close(jt){this._result=jt,this._containerInstance._animationStateChanged.pipe((0,Ke.p)(nt=>"closing"===nt.state),(0,Nt.s)(1)).subscribe(nt=>{this._beforeClosed.next(jt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),nt.totalTime+100)}),this._state=Ze.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(jt){let nt=this._ref.config.positionStrategy;return jt&&(jt.left||jt.right)?jt.left?nt.left(jt.left):nt.right(jt.right):nt.centerHorizontally(),jt&&(jt.top||jt.bottom)?jt.top?nt.top(jt.top):nt.bottom(jt.bottom):nt.centerVertically(),this._ref.updatePosition(),this}updateSize(jt="",nt=""){return this._ref.updateSize(jt,nt),this}addPanelClass(jt){return this._ref.addPanelClass(jt),this}removePanelClass(jt){return this._ref.removePanelClass(jt),this}getState(){return this._state}_finishDialogClose(){this._state=Ze.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const xn=new D.nKC("MatMdcDialogData"),Tn=new D.nKC("mat-mdc-dialog-default-options"),Rn=new D.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const pt=(0,D.WQX)(t.hJ);return()=>pt.scrollStrategies.block()}});let ot=0,Le=(()=>{class pt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const nt=this._parentDialog;return nt?nt._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(nt,mt,At,Yt,jn,En,$n,ki){this._overlay=nt,this._defaultOptions=Yt,this._scrollStrategy=jn,this._parentDialog=En,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new B.B,this._afterOpenedAtThisLevel=new B.B,this.dialogConfigClass=Be,this.afterAllClosed=(0,R.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.Z)(void 0))),this._dialog=mt.get(ye),this._dialogRefConstructor=gt,this._dialogContainerType=qe,this._dialogDataToken=xn}open(nt,mt){let At;(mt={...this._defaultOptions||new Be,...mt}).id=mt.id||"mat-mdc-dialog-"+ot++,mt.scrollStrategy=mt.scrollStrategy||this._scrollStrategy();const Yt=this._dialog.open(nt,{...mt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:mt},{provide:F,useValue:mt}]},templateContext:()=>({dialogRef:At}),providers:(jn,En,$n)=>(At=new this._dialogRefConstructor(jn,mt,$n),At.updatePosition(mt?.position),[{provide:this._dialogContainerType,useValue:$n},{provide:this._dialogDataToken,useValue:En.data},{provide:this._dialogRefConstructor,useValue:At}])});return At.componentRef=Yt.componentRef,At.componentInstance=Yt.componentInstance,this.openDialogs.push(At),this.afterOpened.next(At),At.afterClosed().subscribe(()=>{const jn=this.openDialogs.indexOf(At);jn>-1&&(this.openDialogs.splice(jn,1),this.openDialogs.length||this._getAfterAllClosed().next())}),At}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(nt){return this.openDialogs.find(mt=>mt.id===nt)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(nt){let mt=nt.length;for(;mt--;)nt[mt].close()}static#e=this.\u0275fac=function(mt){return new(mt||pt)(D.KVO(t.hJ),D.KVO(D.zZn),D.KVO(p.aZ,8),D.KVO(Tn,8),D.KVO(Rn),D.KVO(pt,12),D.KVO(t.Sf),D.KVO(D.bc$,8))};static#t=this.\u0275prov=D.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})(),Xn=(()=>{class pt{static#e=this.\u0275fac=function(mt){return new(mt||pt)};static#t=this.\u0275dir=D.FsC({type:pt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0})}return pt})(),Je=(()=>{class pt{static#e=this.\u0275fac=function(mt){return new(mt||pt)};static#t=this.\u0275mod=D.$C({type:pt});static#n=this.\u0275inj=D.G2t({providers:[Le],imports:[Pe,t.z_,ee.jc,Ct.yE,Ct.yE]})}return pt})()},2102:(kt,De,u)=>{"use strict";u.d(De,{xb:()=>nt,TL:()=>Tn,rl:()=>ki,qT:()=>xt,RG:()=>Qn,nJ:()=>gt,JW:()=>ot,yw:()=>at});var t=u(4438),p=u(8203),D=u(6860),j=u(8359),E=u(1413),ee=u(7786),G=u(6977),B=u(1985),R=u(5964),P=u(4668);class A{constructor(wi){this._box=wi,this._destroyed=new E.B,this._resizeSubject=new E.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Qt=>this._resizeSubject.next(Qt)))}observe(wi){return this._elementObservables.has(wi)||this._elementObservables.set(wi,new B.c(Qt=>{const Zt=this._resizeSubject.subscribe(Qt);return this._resizeObserver?.observe(wi,{box:this._box}),()=>{this._resizeObserver?.unobserve(wi),Zt.unsubscribe(),this._elementObservables.delete(wi)}}).pipe((0,R.p)(Qt=>Qt.some(Zt=>Zt.target===wi)),(0,P.t)({bufferSize:1,refCount:!0}),(0,G.Q)(this._destroyed))),this._elementObservables.get(wi)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let b=(()=>{class Jt{constructor(){this._observers=new Map,this._ngZone=(0,t.WQX)(t.SKi)}ngOnDestroy(){for(const[,Qt]of this._observers)Qt.destroy();this._observers.clear()}observe(Qt,Zt){const He=Zt?.box||"content-box";return this._observers.has(He)||this._observers.set(He,new A(He)),this._observers.get(He).observe(Qt)}static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)};static#t=this.\u0275prov=t.jDH({token:Jt,factory:Jt.\u0275fac,providedIn:"root"})}return Jt})();var F=u(4085),L=u(9969),de=u(177),re=u(2318),me=u(6600);const Se=["notch"],tt=["matFormFieldNotchedOutline",""],je=["*"],xe=["textField"],ve=["iconPrefixContainer"],ye=["textPrefixContainer"],pe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Pe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function $(Jt,wi){1&Jt&&t.nrm(0,"span",17)}function Oe(Jt,wi){if(1&Jt&&(t.j41(0,"label",16),t.SdG(1,1),t.DNE(2,$,1,0,"span",17),t.k0s()),2&Jt){const Qt=t.XpG(2);t.Y8G("floating",Qt._shouldLabelFloat())("monitorResize",Qt._hasOutline())("id",Qt._labelId),t.BMQ("for",Qt._control.id),t.R7$(2),t.vxM(2,!Qt.hideRequiredMarker&&Qt._control.required?2:-1)}}function Ke(Jt,wi){if(1&Jt&&t.DNE(0,Oe,3,5,"label",16),2&Jt){const Qt=t.XpG();t.vxM(0,Qt._hasFloatingLabel()?0:-1)}}function Nt(Jt,wi){1&Jt&&t.nrm(0,"div",5)}function Ct(Jt,wi){}function $t(Jt,wi){if(1&Jt&&t.DNE(0,Ct,0,0,"ng-template",11),2&Jt){t.XpG(2);const Qt=t.sdS(1);t.Y8G("ngTemplateOutlet",Qt)}}function be(Jt,wi){if(1&Jt&&(t.j41(0,"div",7),t.DNE(1,$t,1,1,null,11),t.k0s()),2&Jt){const Qt=t.XpG();t.Y8G("matFormFieldNotchedOutlineOpen",Qt._shouldLabelFloat()),t.R7$(),t.vxM(1,Qt._forceDisplayInfixLabel()?-1:1)}}function Be(Jt,wi){1&Jt&&(t.j41(0,"div",8,2),t.SdG(2,2),t.k0s())}function oe(Jt,wi){1&Jt&&(t.j41(0,"div",9,3),t.SdG(2,3),t.k0s())}function Re(Jt,wi){}function fe(Jt,wi){if(1&Jt&&t.DNE(0,Re,0,0,"ng-template",11),2&Jt){t.XpG();const Qt=t.sdS(1);t.Y8G("ngTemplateOutlet",Qt)}}function ge(Jt,wi){1&Jt&&(t.j41(0,"div",12),t.SdG(1,4),t.k0s())}function ke(Jt,wi){1&Jt&&(t.j41(0,"div",13),t.SdG(1,5),t.k0s())}function qe(Jt,wi){1&Jt&&t.nrm(0,"div",14)}function Ce(Jt,wi){if(1&Jt&&(t.j41(0,"div",18),t.SdG(1,6),t.k0s()),2&Jt){const Qt=t.XpG();t.Y8G("@transitionMessages",Qt._subscriptAnimationState)}}function We(Jt,wi){if(1&Jt&&(t.j41(0,"mat-hint",20),t.EFF(1),t.k0s()),2&Jt){const Qt=t.XpG(2);t.Y8G("id",Qt._hintLabelId),t.R7$(),t.JRh(Qt.hintLabel)}}function Ze(Jt,wi){if(1&Jt&&(t.j41(0,"div",19),t.DNE(1,We,2,2,"mat-hint",20),t.SdG(2,7),t.nrm(3,"div",21),t.SdG(4,8),t.k0s()),2&Jt){const Qt=t.XpG();t.Y8G("@transitionMessages",Qt._subscriptAnimationState),t.R7$(),t.vxM(1,Qt.hintLabel?1:-1)}}let gt=(()=>{class Jt{static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)};static#t=this.\u0275dir=t.FsC({type:Jt,selectors:[["mat-label"]],standalone:!0})}return Jt})(),an=0;const xn=new t.nKC("MatError");let Tn=(()=>{class Jt{constructor(Qt,Zt){this.id="mat-mdc-error-"+an++,Qt||Zt.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)(t.kS0("aria-live"),t.rXU(t.aKT))};static#t=this.\u0275dir=t.FsC({type:Jt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Zt,He){2&Zt&&t.Mr5("id",He.id)},inputs:{id:"id"},standalone:!0,features:[t.Jv_([{provide:xn,useExisting:Jt}])]})}return Jt})(),Rn=0,ii=(()=>{class Jt{constructor(){this.align="start",this.id="mat-mdc-hint-"+Rn++}static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)};static#t=this.\u0275dir=t.FsC({type:Jt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Zt,He){2&Zt&&(t.Mr5("id",He.id),t.BMQ("align",null),t.AVh("mat-mdc-form-field-hint-end","end"===He.align))},inputs:{align:"align",id:"id"},standalone:!0})}return Jt})();const Cn=new t.nKC("MatPrefix");let ot=(()=>{class Jt{constructor(){this._isText=!1}set _isTextSelector(Qt){this._isText=!0}static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)};static#t=this.\u0275dir=t.FsC({type:Jt,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[t.Mj6.None,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[t.Jv_([{provide:Cn,useExisting:Jt}])]})}return Jt})();const Le=new t.nKC("MatSuffix");let at=(()=>{class Jt{constructor(){this._isText=!1}set _isTextSelector(Qt){this._isText=!0}static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)};static#t=this.\u0275dir=t.FsC({type:Jt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[t.Mj6.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[t.Jv_([{provide:Le,useExisting:Jt}])]})}return Jt})();const _t=new t.nKC("FloatingLabelParent");let rn=(()=>{class Jt{get floating(){return this._floating}set floating(Qt){this._floating=Qt,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Qt){this._monitorResize=Qt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Qt){this._elementRef=Qt,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.WQX)(b),this._ngZone=(0,t.WQX)(t.SKi),this._parent=(0,t.WQX)(_t),this._resizeSubscription=new j.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Hn(Jt){if(null!==Jt.offsetParent)return Jt.scrollWidth;const Qt=Jt.cloneNode(!0);Qt.style.setProperty("position","absolute"),Qt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Qt);const Zt=Qt.scrollWidth;return Qt.remove(),Zt}(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#e=this.\u0275fac=function(Zt){return new(Zt||Jt)(t.rXU(t.aKT))};static#t=this.\u0275dir=t.FsC({type:Jt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Zt,He){2&Zt&&t.AVh("mdc-floating-label--float-above",He.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return Jt})();const Xn="mdc-line-ripple--active",Bt="mdc-line-ripple--deactivating";let ce=(()=>{class Jt{constructor(Qt,Zt){this._elementRef=Qt,this._handleTransitionEnd=He=>{const Ee=this._elementRef.nativeElement.classList,q=Ee.contains(Bt);"opacity"===He.propertyName&&q&&Ee.remove(Xn,Bt)},Zt.runOutsideAngular(()=>{Qt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Qt=this._elementRef.nativeElement.classList;Qt.remove(Bt),Qt.add(Xn)}deactivate(){this._elementRef.nativeElement.classList.add(Bt)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)(t.rXU(t.aKT),t.rXU(t.SKi))};static#t=this.\u0275dir=t.FsC({type:Jt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return Jt})(),Ye=(()=>{class Jt{constructor(Qt,Zt){this._elementRef=Qt,this._ngZone=Zt,this.open=!1}ngAfterViewInit(){const Qt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Qt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Qt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Qt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Qt){this._notch.nativeElement.style.width=this.open&&Qt?`calc(${Qt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)(t.rXU(t.aKT),t.rXU(t.SKi))};static#t=this.\u0275cmp=t.VBU({type:Jt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Zt,He){if(1&Zt&&t.GBs(Se,5),2&Zt){let Ee;t.mGM(Ee=t.lsd())&&(He._notch=Ee.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Zt,He){2&Zt&&t.AVh("mdc-notched-outline--notched",He.open)},inputs:{open:[t.Mj6.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[t.aNF],attrs:tt,ngContentSelectors:je,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Zt,He){1&Zt&&(t.NAR(),t.nrm(0,"div",1),t.j41(1,"div",2,0),t.SdG(3),t.k0s(),t.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return Jt})();const Je={transitionMessages:(0,L.hZ)("transitionMessages",[(0,L.wk)("enter",(0,L.iF)({opacity:1,transform:"translateY(0%)"})),(0,L.kY)("void => enter",[(0,L.iF)({opacity:0,transform:"translateY(-5px)"}),(0,L.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xt=(()=>{class Jt{static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)};static#t=this.\u0275dir=t.FsC({type:Jt})}return Jt})();const nt=new t.nKC("MatFormField"),mt=new t.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let At=0,ki=(()=>{class Jt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Qt){this._hideRequiredMarker=(0,F.he)(Qt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Qt){Qt!==this._floatLabel&&(this._floatLabel=Qt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Qt){const Zt=this._appearance;this._appearance=Qt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Zt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Qt){this._subscriptSizing=Qt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Qt){this._hintLabel=Qt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Qt){this._explicitFormFieldControl=Qt}constructor(Qt,Zt,He,Ee,q,J,Ie,rt){this._elementRef=Qt,this._changeDetectorRef=Zt,this._ngZone=He,this._dir=Ee,this._platform=q,this._defaults=J,this._animationMode=Ie,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+At++,this._hintLabelId="mat-mdc-hint-"+At++,this._subscriptAnimationState="",this._destroyed=new E.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,J&&(J.appearance&&(this.appearance=J.appearance),this._hideRequiredMarker=!!J?.hideRequiredMarker,J.color&&(this.color=J.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Qt=this._control;Qt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Qt.controlType}`),Qt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Qt.ngControl&&Qt.ngControl.valueChanges&&Qt.ngControl.valueChanges.pipe((0,G.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Qt=>!Qt._isText),this._hasTextPrefix=!!this._prefixChildren.find(Qt=>Qt._isText),this._hasIconSuffix=!!this._suffixChildren.find(Qt=>!Qt._isText),this._hasTextSuffix=!!this._suffixChildren.find(Qt=>Qt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,ee.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,G.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,G.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Qt){const Zt=this._control?this._control.ngControl:null;return Zt&&Zt[Qt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Qt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Qt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Zt=this._hintChildren?this._hintChildren.find(Ee=>"start"===Ee.align):null,He=this._hintChildren?this._hintChildren.find(Ee=>"end"===Ee.align):null;Zt?Qt.push(Zt.id):this._hintLabel&&Qt.push(this._hintLabelId),He&&Qt.push(He.id)}else this._errorChildren&&Qt.push(...this._errorChildren.map(Zt=>Zt.id));this._control.setDescribedByIds(Qt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Qt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Qt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Zt=this._iconPrefixContainer?.nativeElement,He=this._textPrefixContainer?.nativeElement,Ee=Zt?.getBoundingClientRect().width??0,q=He?.getBoundingClientRect().width??0;Qt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Ee+q}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Qt=this._elementRef.nativeElement;if(Qt.getRootNode){const Zt=Qt.getRootNode();return Zt&&Zt!==Qt}return document.documentElement.contains(Qt)}static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)(t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(t.SKi),t.rXU(p.dS),t.rXU(D.OD),t.rXU(mt,8),t.rXU(t.bc$,8),t.rXU(de.qQ))};static#t=this.\u0275cmp=t.VBU({type:Jt,selectors:[["mat-form-field"]],contentQueries:function(Zt,He,Ee){if(1&Zt&&(t.wni(Ee,gt,5),t.wni(Ee,gt,7),t.wni(Ee,xt,5),t.wni(Ee,Cn,5),t.wni(Ee,Le,5),t.wni(Ee,xn,5),t.wni(Ee,ii,5)),2&Zt){let q;t.mGM(q=t.lsd())&&(He._labelChildNonStatic=q.first),t.mGM(q=t.lsd())&&(He._labelChildStatic=q.first),t.mGM(q=t.lsd())&&(He._formFieldControl=q.first),t.mGM(q=t.lsd())&&(He._prefixChildren=q),t.mGM(q=t.lsd())&&(He._suffixChildren=q),t.mGM(q=t.lsd())&&(He._errorChildren=q),t.mGM(q=t.lsd())&&(He._hintChildren=q)}},viewQuery:function(Zt,He){if(1&Zt&&(t.GBs(xe,5),t.GBs(ve,5),t.GBs(ye,5),t.GBs(rn,5),t.GBs(Ye,5),t.GBs(ce,5)),2&Zt){let Ee;t.mGM(Ee=t.lsd())&&(He._textField=Ee.first),t.mGM(Ee=t.lsd())&&(He._iconPrefixContainer=Ee.first),t.mGM(Ee=t.lsd())&&(He._textPrefixContainer=Ee.first),t.mGM(Ee=t.lsd())&&(He._floatingLabel=Ee.first),t.mGM(Ee=t.lsd())&&(He._notchedOutline=Ee.first),t.mGM(Ee=t.lsd())&&(He._lineRipple=Ee.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Zt,He){2&Zt&&t.AVh("mat-mdc-form-field-label-always-float",He._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",He._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",He._hasIconSuffix)("mat-form-field-invalid",He._control.errorState)("mat-form-field-disabled",He._control.disabled)("mat-form-field-autofilled",He._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===He._animationMode)("mat-form-field-appearance-fill","fill"==He.appearance)("mat-form-field-appearance-outline","outline"==He.appearance)("mat-form-field-hide-placeholder",He._hasFloatingLabel()&&!He._shouldLabelFloat())("mat-focused",He._control.focused)("mat-primary","accent"!==He.color&&"warn"!==He.color)("mat-accent","accent"===He.color)("mat-warn","warn"===He.color)("ng-untouched",He._shouldForward("untouched"))("ng-touched",He._shouldForward("touched"))("ng-pristine",He._shouldForward("pristine"))("ng-dirty",He._shouldForward("dirty"))("ng-valid",He._shouldForward("valid"))("ng-invalid",He._shouldForward("invalid"))("ng-pending",He._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[t.Jv_([{provide:nt,useExisting:Jt},{provide:_t,useExisting:Jt}]),t.aNF],ngContentSelectors:Pe,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(Zt,He){if(1&Zt){const Ee=t.RV6();t.NAR(pe),t.DNE(0,Ke,1,1,"ng-template",null,0,t.C5r),t.j41(2,"div",4,1),t.bIt("click",function(J){return t.eBV(Ee),t.Njj(He._control.onContainerClick(J))}),t.DNE(4,Nt,1,0,"div",5),t.j41(5,"div",6),t.DNE(6,be,2,2,"div",7)(7,Be,3,0,"div",8)(8,oe,3,0,"div",9),t.j41(9,"div",10),t.DNE(10,fe,1,1,null,11),t.SdG(11),t.k0s(),t.DNE(12,ge,2,0,"div",12)(13,ke,2,0,"div",13),t.k0s(),t.DNE(14,qe,1,0,"div",14),t.k0s(),t.j41(15,"div",15),t.DNE(16,Ce,2,1)(17,Ze,5,2),t.k0s()}if(2&Zt){let Ee;t.R7$(2),t.AVh("mdc-text-field--filled",!He._hasOutline())("mdc-text-field--outlined",He._hasOutline())("mdc-text-field--no-label",!He._hasFloatingLabel())("mdc-text-field--disabled",He._control.disabled)("mdc-text-field--invalid",He._control.errorState),t.R7$(2),t.vxM(4,He._hasOutline()||He._control.disabled?-1:4),t.R7$(2),t.vxM(6,He._hasOutline()?6:-1),t.R7$(),t.vxM(7,He._hasIconPrefix?7:-1),t.R7$(),t.vxM(8,He._hasTextPrefix?8:-1),t.R7$(2),t.vxM(10,!He._hasOutline()||He._forceDisplayInfixLabel()?10:-1),t.R7$(2),t.vxM(12,He._hasTextSuffix?12:-1),t.R7$(),t.vxM(13,He._hasIconSuffix?13:-1),t.R7$(),t.vxM(14,He._hasOutline()?-1:14),t.R7$(),t.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===He.subscriptSizing),t.R7$(),t.vxM(16,"error"===(Ee=He._getDisplayedMessages())?16:"hint"===Ee?17:-1)}},dependencies:[rn,Ye,de.T3,ce,ii],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Je.transitionMessages]},changeDetection:0})}return Jt})(),Qn=(()=>{class Jt{static#e=this.\u0275fac=function(Zt){return new(Zt||Jt)};static#t=this.\u0275mod=t.$C({type:Jt});static#n=this.\u0275inj=t.G2t({imports:[me.yE,de.MD,re.w5,me.yE]})}return Jt})()},9213:(kt,De,u)=>{"use strict";u.d(De,{An:()=>fe,m_:()=>ge,tp:()=>pe});var t=u(4438),p=u(6600),D=u(177),j=u(7673),E=u(8810),ee=u(7468),G=u(8359),B=u(8141),R=u(6354),P=u(9437),I=u(980),A=u(7647),b=u(6697),F=u(1626),L=u(345);const de=["*"];let re;function Se(ke){return function me(){if(void 0===re&&(re=null,typeof window<"u")){const ke=window;void 0!==ke.trustedTypes&&(re=ke.trustedTypes.createPolicy("angular#components",{createHTML:qe=>qe}))}return re}()?.createHTML(ke)||ke}function tt(ke){return Error(`Unable to find icon with the name "${ke}"`)}function xe(ke){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ke}".`)}function ve(ke){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ke}".`)}class ye{constructor(qe,Ce,We){this.url=qe,this.svgText=Ce,this.options=We}}let pe=(()=>{class ke{constructor(Ce,We,Ze,gt){this._httpClient=Ce,this._sanitizer=We,this._errorHandler=gt,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Ze}addSvgIcon(Ce,We,Ze){return this.addSvgIconInNamespace("",Ce,We,Ze)}addSvgIconLiteral(Ce,We,Ze){return this.addSvgIconLiteralInNamespace("",Ce,We,Ze)}addSvgIconInNamespace(Ce,We,Ze,gt){return this._addSvgIconConfig(Ce,We,new ye(Ze,null,gt))}addSvgIconResolver(Ce){return this._resolvers.push(Ce),this}addSvgIconLiteralInNamespace(Ce,We,Ze,gt){const an=this._sanitizer.sanitize(t.WPN.HTML,Ze);if(!an)throw ve(Ze);const xn=Se(an);return this._addSvgIconConfig(Ce,We,new ye("",xn,gt))}addSvgIconSet(Ce,We){return this.addSvgIconSetInNamespace("",Ce,We)}addSvgIconSetLiteral(Ce,We){return this.addSvgIconSetLiteralInNamespace("",Ce,We)}addSvgIconSetInNamespace(Ce,We,Ze){return this._addSvgIconSetConfig(Ce,new ye(We,null,Ze))}addSvgIconSetLiteralInNamespace(Ce,We,Ze){const gt=this._sanitizer.sanitize(t.WPN.HTML,We);if(!gt)throw ve(We);const an=Se(gt);return this._addSvgIconSetConfig(Ce,new ye("",an,Ze))}registerFontClassAlias(Ce,We=Ce){return this._fontCssClassesByAlias.set(Ce,We),this}classNameForFontAlias(Ce){return this._fontCssClassesByAlias.get(Ce)||Ce}setDefaultFontSetClass(...Ce){return this._defaultFontSetClass=Ce,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ce){const We=this._sanitizer.sanitize(t.WPN.RESOURCE_URL,Ce);if(!We)throw xe(Ce);const Ze=this._cachedIconsByUrl.get(We);return Ze?(0,j.of)(Oe(Ze)):this._loadSvgIconFromConfig(new ye(Ce,null)).pipe((0,B.M)(gt=>this._cachedIconsByUrl.set(We,gt)),(0,R.T)(gt=>Oe(gt)))}getNamedSvgIcon(Ce,We=""){const Ze=Ke(We,Ce);let gt=this._svgIconConfigs.get(Ze);if(gt)return this._getSvgFromConfig(gt);if(gt=this._getIconConfigFromResolvers(We,Ce),gt)return this._svgIconConfigs.set(Ze,gt),this._getSvgFromConfig(gt);const an=this._iconSetConfigs.get(We);return an?this._getSvgFromIconSetConfigs(Ce,an):(0,E.$)(tt(Ze))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ce){return Ce.svgText?(0,j.of)(Oe(this._svgElementFromConfig(Ce))):this._loadSvgIconFromConfig(Ce).pipe((0,R.T)(We=>Oe(We)))}_getSvgFromIconSetConfigs(Ce,We){const Ze=this._extractIconWithNameFromAnySet(Ce,We);if(Ze)return(0,j.of)(Ze);const gt=We.filter(an=>!an.svgText).map(an=>this._loadSvgIconSetFromConfig(an).pipe((0,P.W)(xn=>{const Rn=`Loading icon set URL: ${this._sanitizer.sanitize(t.WPN.RESOURCE_URL,an.url)} failed: ${xn.message}`;return this._errorHandler.handleError(new Error(Rn)),(0,j.of)(null)})));return(0,ee.p)(gt).pipe((0,R.T)(()=>{const an=this._extractIconWithNameFromAnySet(Ce,We);if(!an)throw tt(Ce);return an}))}_extractIconWithNameFromAnySet(Ce,We){for(let Ze=We.length-1;Ze>=0;Ze--){const gt=We[Ze];if(gt.svgText&>.svgText.toString().indexOf(Ce)>-1){const an=this._svgElementFromConfig(gt),xn=this._extractSvgIconFromSet(an,Ce,gt.options);if(xn)return xn}}return null}_loadSvgIconFromConfig(Ce){return this._fetchIcon(Ce).pipe((0,B.M)(We=>Ce.svgText=We),(0,R.T)(()=>this._svgElementFromConfig(Ce)))}_loadSvgIconSetFromConfig(Ce){return Ce.svgText?(0,j.of)(null):this._fetchIcon(Ce).pipe((0,B.M)(We=>Ce.svgText=We))}_extractSvgIconFromSet(Ce,We,Ze){const gt=Ce.querySelector(`[id="${We}"]`);if(!gt)return null;const an=gt.cloneNode(!0);if(an.removeAttribute("id"),"svg"===an.nodeName.toLowerCase())return this._setSvgAttributes(an,Ze);if("symbol"===an.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(an),Ze);const xn=this._svgElementFromString(Se(""));return xn.appendChild(an),this._setSvgAttributes(xn,Ze)}_svgElementFromString(Ce){const We=this._document.createElement("DIV");We.innerHTML=Ce;const Ze=We.querySelector("svg");if(!Ze)throw Error(" tag not found");return Ze}_toSvgElement(Ce){const We=this._svgElementFromString(Se("")),Ze=Ce.attributes;for(let gt=0;gtSe(Rn)),(0,I.j)(()=>this._inProgressUrlFetches.delete(an)),(0,A.u)());return this._inProgressUrlFetches.set(an,Tn),Tn}_addSvgIconConfig(Ce,We,Ze){return this._svgIconConfigs.set(Ke(Ce,We),Ze),this}_addSvgIconSetConfig(Ce,We){const Ze=this._iconSetConfigs.get(Ce);return Ze?Ze.push(We):this._iconSetConfigs.set(Ce,[We]),this}_svgElementFromConfig(Ce){if(!Ce.svgElement){const We=this._svgElementFromString(Ce.svgText);this._setSvgAttributes(We,Ce.options),Ce.svgElement=We}return Ce.svgElement}_getIconConfigFromResolvers(Ce,We){for(let Ze=0;Zeqe?qe.pathname+qe.search:""}}}),Be=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],oe=Be.map(ke=>`[${ke}]`).join(", "),Re=/^url\(['"]?#(.*?)['"]?\)$/;let fe=(()=>{class ke{get color(){return this._color||this._defaultColor}set color(Ce){this._color=Ce}get svgIcon(){return this._svgIcon}set svgIcon(Ce){Ce!==this._svgIcon&&(Ce?this._updateSvgIcon(Ce):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ce)}get fontSet(){return this._fontSet}set fontSet(Ce){const We=this._cleanupFontValue(Ce);We!==this._fontSet&&(this._fontSet=We,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ce){const We=this._cleanupFontValue(Ce);We!==this._fontIcon&&(this._fontIcon=We,this._updateFontIconClasses())}constructor(Ce,We,Ze,gt,an,xn){this._elementRef=Ce,this._iconRegistry=We,this._location=gt,this._errorHandler=an,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=G.yU.EMPTY,xn&&(xn.color&&(this.color=this._defaultColor=xn.color),xn.fontSet&&(this.fontSet=xn.fontSet)),Ze||Ce.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ce){if(!Ce)return["",""];const We=Ce.split(":");switch(We.length){case 1:return["",We[0]];case 2:return We;default:throw Error(`Invalid icon name: "${Ce}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ce=this._elementsWithExternalReferences;if(Ce&&Ce.size){const We=this._location.getPathname();We!==this._previousPath&&(this._previousPath=We,this._prependPathToReferences(We))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ce){this._clearSvgElement();const We=this._location.getPathname();this._previousPath=We,this._cacheChildrenWithExternalReferences(Ce),this._prependPathToReferences(We),this._elementRef.nativeElement.appendChild(Ce)}_clearSvgElement(){const Ce=this._elementRef.nativeElement;let We=Ce.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();We--;){const Ze=Ce.childNodes[We];(1!==Ze.nodeType||"svg"===Ze.nodeName.toLowerCase())&&Ze.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ce=this._elementRef.nativeElement,We=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ze=>Ze.length>0);this._previousFontSetClass.forEach(Ze=>Ce.classList.remove(Ze)),We.forEach(Ze=>Ce.classList.add(Ze)),this._previousFontSetClass=We,this.fontIcon!==this._previousFontIconClass&&!We.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ce.classList.remove(this._previousFontIconClass),this.fontIcon&&Ce.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ce){return"string"==typeof Ce?Ce.trim().split(" ")[0]:Ce}_prependPathToReferences(Ce){const We=this._elementsWithExternalReferences;We&&We.forEach((Ze,gt)=>{Ze.forEach(an=>{gt.setAttribute(an.name,`url('${Ce}#${an.value}')`)})})}_cacheChildrenWithExternalReferences(Ce){const We=Ce.querySelectorAll(oe),Ze=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let gt=0;gt{const xn=We[gt],Tn=xn.getAttribute(an),Rn=Tn?Tn.match(Re):null;if(Rn){let ii=Ze.get(xn);ii||(ii=[],Ze.set(xn,ii)),ii.push({name:an,value:Rn[1]})}})}_updateSvgIcon(Ce){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ce){const[We,Ze]=this._splitIconName(Ce);We&&(this._svgNamespace=We),Ze&&(this._svgName=Ze),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ze,We).pipe((0,b.s)(1)).subscribe(gt=>this._setSvgElement(gt),gt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${We}:${Ze}! ${gt.message}`))})}}static#e=this.\u0275fac=function(We){return new(We||ke)(t.rXU(t.aKT),t.rXU(pe),t.kS0("aria-hidden"),t.rXU($t),t.rXU(t.zcH),t.rXU(Ct,8))};static#t=this.\u0275cmp=t.VBU({type:ke,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(We,Ze){2&We&&(t.BMQ("data-mat-icon-type",Ze._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ze._svgName||Ze.fontIcon)("data-mat-icon-namespace",Ze._svgNamespace||Ze.fontSet)("fontIcon",Ze._usingFontIcon()?Ze.fontIcon:null),t.HbH(Ze.color?"mat-"+Ze.color:""),t.AVh("mat-icon-inline",Ze.inline)("mat-icon-no-color","primary"!==Ze.color&&"accent"!==Ze.color&&"warn"!==Ze.color))},inputs:{color:"color",inline:[t.Mj6.HasDecoratorInputTransform,"inline","inline",t.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[t.GFd,t.aNF],ngContentSelectors:de,decls:1,vars:0,template:function(We,Ze){1&We&&(t.NAR(),t.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return ke})(),ge=(()=>{class ke{static#e=this.\u0275fac=function(We){return new(We||ke)};static#t=this.\u0275mod=t.$C({type:ke});static#n=this.\u0275inj=t.G2t({imports:[p.yE,p.yE]})}return ke})()},9631:(kt,De,u)=>{"use strict";u.d(De,{fg:()=>me,fS:()=>Se});var t=u(4085),p=u(6860),D=u(4438),j=u(983),E=u(1413);const ee=(0,p.BQ)({passive:!0});let G=(()=>{class tt{constructor(xe,ve){this._platform=xe,this._ngZone=ve,this._monitoredElements=new Map}monitor(xe){if(!this._platform.isBrowser)return j.w;const ve=(0,t.i8)(xe),ye=this._monitoredElements.get(ve);if(ye)return ye.subject;const pe=new E.B,Pe="cdk-text-field-autofilled",$=Oe=>{"cdk-text-field-autofill-start"!==Oe.animationName||ve.classList.contains(Pe)?"cdk-text-field-autofill-end"===Oe.animationName&&ve.classList.contains(Pe)&&(ve.classList.remove(Pe),this._ngZone.run(()=>pe.next({target:Oe.target,isAutofilled:!1}))):(ve.classList.add(Pe),this._ngZone.run(()=>pe.next({target:Oe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ve.addEventListener("animationstart",$,ee),ve.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ve,{subject:pe,unlisten:()=>{ve.removeEventListener("animationstart",$,ee)}}),pe}stopMonitoring(xe){const ve=(0,t.i8)(xe),ye=this._monitoredElements.get(ve);ye&&(ye.unlisten(),ye.subject.complete(),ve.classList.remove("cdk-text-field-autofill-monitored"),ve.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ve))}ngOnDestroy(){this._monitoredElements.forEach((xe,ve)=>this.stopMonitoring(ve))}static#e=this.\u0275fac=function(ve){return new(ve||tt)(D.KVO(p.OD),D.KVO(D.SKi))};static#t=this.\u0275prov=D.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),P=(()=>{class tt{static#e=this.\u0275fac=function(ve){return new(ve||tt)};static#t=this.\u0275mod=D.$C({type:tt});static#n=this.\u0275inj=D.G2t({})}return tt})();var I=u(9417),A=u(6600),b=u(2102);const L=new D.nKC("MAT_INPUT_VALUE_ACCESSOR"),de=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let re=0,me=(()=>{class tt{get disabled(){return this._disabled}set disabled(xe){this._disabled=(0,t.he)(xe),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(xe){this._id=xe||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(I.k0.required)??!1}set required(xe){this._required=(0,t.he)(xe)}get type(){return this._type}set type(xe){this._type=xe||"text",this._validateType(),!this._isTextarea&&(0,p.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(xe){this._errorStateTracker.matcher=xe}get value(){return this._inputValueAccessor.value}set value(xe){xe!==this.value&&(this._inputValueAccessor.value=xe,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(xe){this._readonly=(0,t.he)(xe)}get errorState(){return this._errorStateTracker.errorState}set errorState(xe){this._errorStateTracker.errorState=xe}constructor(xe,ve,ye,pe,Pe,$,Oe,Ke,Nt,Ct){this._elementRef=xe,this._platform=ve,this.ngControl=ye,this._autofillMonitor=Ke,this._formField=Ct,this._uid="mat-input-"+re++,this.focused=!1,this.stateChanges=new E.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Be=>(0,p.MU)().has(Be)),this._iOSKeyupListener=Be=>{const oe=Be.target;!oe.value&&0===oe.selectionStart&&0===oe.selectionEnd&&(oe.setSelectionRange(1,1),oe.setSelectionRange(0,0))};const $t=this._elementRef.nativeElement,be=$t.nodeName.toLowerCase();this._inputValueAccessor=Oe||$t,this._previousNativeValue=this.value,this.id=this.id,ve.IOS&&Nt.runOutsideAngular(()=>{xe.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new A.X0($,ye,Pe,pe,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===be,this._isTextarea="textarea"===be,this._isInFormField=!!Ct,this._isNativeSelect&&(this.controlType=$t.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(xe=>{this.autofilled=xe.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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(xe){this._elementRef.nativeElement.focus(xe)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(xe){xe!==this.focused&&(this.focused=xe,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const xe=this._elementRef.nativeElement.value;this._previousNativeValue!==xe&&(this._previousNativeValue=xe,this.stateChanges.next())}_dirtyCheckPlaceholder(){const xe=this._getPlaceholder();if(xe!==this._previousPlaceholder){const ve=this._elementRef.nativeElement;this._previousPlaceholder=xe,xe?ve.setAttribute("placeholder",xe):ve.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){de.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let xe=this._elementRef.nativeElement.validity;return xe&&xe.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const xe=this._elementRef.nativeElement,ve=xe.options[0];return this.focused||xe.multiple||!this.empty||!!(xe.selectedIndex>-1&&ve&&ve.label)}return this.focused||!this.empty}setDescribedByIds(xe){xe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",xe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const xe=this._elementRef.nativeElement;return this._isNativeSelect&&(xe.multiple||xe.size>1)}static#e=this.\u0275fac=function(ve){return new(ve||tt)(D.rXU(D.aKT),D.rXU(p.OD),D.rXU(I.vO,10),D.rXU(I.cV,8),D.rXU(I.j4,8),D.rXU(A.es),D.rXU(L,10),D.rXU(G),D.rXU(D.SKi),D.rXU(b.xb,8))};static#t=this.\u0275dir=D.FsC({type:tt,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ve,ye){1&ve&&D.bIt("focus",function(){return ye._focusChanged(!0)})("blur",function(){return ye._focusChanged(!1)})("input",function(){return ye._onInput()}),2&ve&&(D.Mr5("id",ye.id)("disabled",ye.disabled)("required",ye.required),D.BMQ("name",ye.name||null)("readonly",ye.readonly&&!ye._isNativeSelect||null)("aria-invalid",ye.empty&&ye.required?null:ye.errorState)("aria-required",ye.required)("id",ye.id),D.AVh("mat-input-server",ye._isServer)("mat-mdc-form-field-textarea-control",ye._isInFormField&&ye._isTextarea)("mat-mdc-form-field-input-control",ye._isInFormField)("mdc-text-field__input",ye._isInFormField)("mat-mdc-native-select-inline",ye._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[D.Mj6.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[D.Jv_([{provide:b.qT,useExisting:tt}]),D.OA$]})}return tt})(),Se=(()=>{class tt{static#e=this.\u0275fac=function(ve){return new(ve||tt)};static#t=this.\u0275mod=D.$C({type:tt});static#n=this.\u0275inj=D.G2t({imports:[A.yE,b.RG,b.RG,P,A.yE]})}return tt})()},9183:(kt,De,u)=>{"use strict";u.d(De,{D6:()=>A,LG:()=>P});var t=u(4438),p=u(177),D=u(6600);const j=["determinateSpinner"];function E(b,F){if(1&b&&(t.qSk(),t.j41(0,"svg",11),t.nrm(1,"circle",12),t.k0s()),2&b){const L=t.XpG();t.BMQ("viewBox",L._viewBox()),t.R7$(),t.xc7("stroke-dasharray",L._strokeCircumference(),"px")("stroke-dashoffset",L._strokeCircumference()/2,"px")("stroke-width",L._circleStrokeWidth(),"%"),t.BMQ("r",L._circleRadius())}}const ee=new t.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function G(){return{diameter:B}}}),B=100;let P=(()=>{class b{get color(){return this._color||this._defaultColor}set color(L){this._color=L}constructor(L,de,re){this._elementRef=L,this._defaultColor="primary",this._value=0,this._diameter=B,this._noopAnimations="NoopAnimations"===de&&!!re&&!re._forceAnimations,this.mode="mat-spinner"===L.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",re&&(re.color&&(this.color=this._defaultColor=re.color),re.diameter&&(this.diameter=re.diameter),re.strokeWidth&&(this.strokeWidth=re.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(L){this._value=Math.max(0,Math.min(100,L||0))}get diameter(){return this._diameter}set diameter(L){this._diameter=L||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(L){this._strokeWidth=L||0}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const L=2*this._circleRadius()+this.strokeWidth;return`0 0 ${L} ${L}`}_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#e=this.\u0275fac=function(de){return new(de||b)(t.rXU(t.aKT),t.rXU(t.bc$,8),t.rXU(ee))};static#t=this.\u0275cmp=t.VBU({type:b,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(de,re){if(1&de&&t.GBs(j,5),2&de){let me;t.mGM(me=t.lsd())&&(re._determinateCircle=me.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(de,re){2&de&&(t.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===re.mode?re.value:null)("mode",re.mode),t.HbH("mat-"+re.color),t.xc7("width",re.diameter,"px")("height",re.diameter,"px")("--mdc-circular-progress-size",re.diameter+"px")("--mdc-circular-progress-active-indicator-width",re.diameter+"px"),t.AVh("_mat-animation-noopable",re._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===re.mode))},inputs:{color:"color",mode:"mode",value:[t.Mj6.HasDecoratorInputTransform,"value","value",t.Udg],diameter:[t.Mj6.HasDecoratorInputTransform,"diameter","diameter",t.Udg],strokeWidth:[t.Mj6.HasDecoratorInputTransform,"strokeWidth","strokeWidth",t.Udg]},exportAs:["matProgressSpinner"],standalone:!0,features:[t.GFd,t.aNF],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(de,re){if(1&de&&(t.DNE(0,E,2,8,"ng-template",null,0,t.C5r),t.j41(2,"div",2,1),t.qSk(),t.j41(4,"svg",3),t.nrm(5,"circle",4),t.k0s()(),t.joV(),t.j41(6,"div",5)(7,"div",6)(8,"div",7),t.eu8(9,8),t.k0s(),t.j41(10,"div",9),t.eu8(11,8),t.k0s(),t.j41(12,"div",10),t.eu8(13,8),t.k0s()()()),2&de){const me=t.sdS(1);t.R7$(4),t.BMQ("viewBox",re._viewBox()),t.R7$(),t.xc7("stroke-dasharray",re._strokeCircumference(),"px")("stroke-dashoffset",re._strokeDashOffset(),"px")("stroke-width",re._circleStrokeWidth(),"%"),t.BMQ("r",re._circleRadius()),t.R7$(4),t.Y8G("ngTemplateOutlet",me),t.R7$(2),t.Y8G("ngTemplateOutlet",me),t.R7$(2),t.Y8G("ngTemplateOutlet",me)}},dependencies:[p.T3],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return b})(),A=(()=>{class b{static#e=this.\u0275fac=function(de){return new(de||b)};static#t=this.\u0275mod=t.$C({type:b});static#n=this.\u0275inj=t.G2t({imports:[p.MD,D.yE]})}return b})()},5416:(kt,De,u)=>{"use strict";u.d(De,{UG:()=>Oe});var t=u(4438),p=u(8834),D=u(1413),j=u(177),E=u(9969),ee=u(6939),G=u(6860),B=u(8617),R=u(9327),P=u(7987),I=u(6977);function A(Ct,$t){if(1&Ct){const be=t.RV6();t.j41(0,"div",1)(1,"button",2),t.bIt("click",function(){t.eBV(be);const oe=t.XpG();return t.Njj(oe.action())}),t.EFF(2),t.k0s()()}if(2&Ct){const be=t.XpG();t.R7$(2),t.SpI(" ",be.data.action," ")}}const b=["label"];function F(Ct,$t){}const L=Math.pow(2,31)-1;class de{constructor($t,be){this._overlayRef=be,this._afterDismissed=new D.B,this._afterOpened=new D.B,this._onAction=new D.B,this._dismissedByAction=!1,this.containerInstance=$t,$t._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($t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min($t,L))}_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 re=new t.nKC("MatSnackBarData");class me{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let Se=(()=>{class Ct{static#e=this.\u0275fac=function(Be){return new(Be||Ct)};static#t=this.\u0275dir=t.FsC({type:Ct,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}return Ct})(),tt=(()=>{class Ct{static#e=this.\u0275fac=function(Be){return new(Be||Ct)};static#t=this.\u0275dir=t.FsC({type:Ct,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}return Ct})(),je=(()=>{class Ct{static#e=this.\u0275fac=function(Be){return new(Be||Ct)};static#t=this.\u0275dir=t.FsC({type:Ct,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}return Ct})(),xe=(()=>{class Ct{constructor(be,Be){this.snackBarRef=be,this.data=Be}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(Be){return new(Be||Ct)(t.rXU(de),t.rXU(re))};static#t=this.\u0275cmp=t.VBU({type:Ct,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[t.aNF],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(Be,oe){1&Be&&(t.j41(0,"div",0),t.EFF(1),t.k0s(),t.DNE(2,A,3,1,"div",1)),2&Be&&(t.R7$(),t.SpI(" ",oe.data.message,"\n"),t.R7$(),t.vxM(2,oe.hasAction?2:-1))},dependencies:[p.$z,Se,tt,je],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return Ct})();const ve={snackBarState:(0,E.hZ)("state",[(0,E.wk)("void, hidden",(0,E.iF)({transform:"scale(0.8)",opacity:0})),(0,E.wk)("visible",(0,E.iF)({transform:"scale(1)",opacity:1})),(0,E.kY)("* => visible",(0,E.i0)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,E.kY)("* => void, * => hidden",(0,E.i0)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,E.iF)({opacity:0})))])};let ye=0,pe=(()=>{class Ct extends ee.lb{constructor(be,Be,oe,Re,fe){super(),this._ngZone=be,this._elementRef=Be,this._changeDetectorRef=oe,this._platform=Re,this.snackBarConfig=fe,this._document=(0,t.WQX)(j.qQ),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new D.B,this._onExit=new D.B,this._onEnter=new D.B,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+ye++,this.attachDomPortal=ge=>{this._assertNotAttached();const ke=this._portalOutlet.attachDomPortal(ge);return this._afterPortalAttached(),ke},this._live="assertive"!==fe.politeness||fe.announcementMessage?"off"===fe.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(be){this._assertNotAttached();const Be=this._portalOutlet.attachComponentPortal(be);return this._afterPortalAttached(),Be}attachTemplatePortal(be){this._assertNotAttached();const Be=this._portalOutlet.attachTemplatePortal(be);return this._afterPortalAttached(),Be}onAnimationEnd(be){const{fromState:Be,toState:oe}=be;if(("void"===oe&&"void"!==Be||"hidden"===oe)&&this._completeExit(),"visible"===oe){const Re=this._onEnter;this._ngZone.run(()=>{Re.next(),Re.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const be=this._elementRef.nativeElement,Be=this.snackBarConfig.panelClass;Be&&(Array.isArray(Be)?Be.forEach(fe=>be.classList.add(fe)):be.classList.add(Be)),this._exposeToModals();const oe=this._label.nativeElement,Re="mdc-snackbar__label";oe.classList.toggle(Re,!oe.querySelector(`.${Re}`))}_exposeToModals(){const be=this._liveElementId,Be=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let oe=0;oe{const Be=be.getAttribute("aria-owns");if(Be){const oe=Be.replace(this._liveElementId,"").trim();oe.length>0?be.setAttribute("aria-owns",oe):be.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const be=this._elementRef.nativeElement.querySelector("[aria-hidden]"),Be=this._elementRef.nativeElement.querySelector("[aria-live]");if(be&&Be){let oe=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&be.contains(document.activeElement)&&(oe=document.activeElement),be.removeAttribute("aria-hidden"),Be.appendChild(be),oe?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(Be){return new(Be||Ct)(t.rXU(t.SKi),t.rXU(t.aKT),t.rXU(t.gRc),t.rXU(G.OD),t.rXU(me))};static#t=this.\u0275cmp=t.VBU({type:Ct,selectors:[["mat-snack-bar-container"]],viewQuery:function(Be,oe){if(1&Be&&(t.GBs(ee.I3,7),t.GBs(b,7)),2&Be){let Re;t.mGM(Re=t.lsd())&&(oe._portalOutlet=Re.first),t.mGM(Re=t.lsd())&&(oe._label=Re.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(Be,oe){1&Be&&t.Kam("@state.done",function(fe){return oe.onAnimationEnd(fe)}),2&Be&&t.zvX("@state",oe._animationState)},standalone:!0,features:[t.Vt3,t.aNF],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(Be,oe){1&Be&&(t.j41(0,"div",1)(1,"div",2,0)(3,"div",3),t.DNE(4,F,0,0,"ng-template",4),t.k0s(),t.nrm(5,"div"),t.k0s()()),2&Be&&(t.R7$(5),t.BMQ("aria-live",oe._live)("role",oe._role)("id",oe._liveElementId))},dependencies:[ee.I3],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{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)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[ve.snackBarState]}})}return Ct})();const $=new t.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function Pe(){return new me}});let Oe=(()=>{class Ct{get _openedSnackBarRef(){const be=this._parentSnackBar;return be?be._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(be){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=be:this._snackBarRefAtThisLevel=be}constructor(be,Be,oe,Re,fe,ge){this._overlay=be,this._live=Be,this._injector=oe,this._breakpointObserver=Re,this._parentSnackBar=fe,this._defaultConfig=ge,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=xe,this.snackBarContainerComponent=pe,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(be,Be){return this._attach(be,Be)}openFromTemplate(be,Be){return this._attach(be,Be)}open(be,Be="",oe){const Re={...this._defaultConfig,...oe};return Re.data={message:be,action:Be},Re.announcementMessage===be&&(Re.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,Re)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(be,Be){const Re=t.zZn.create({parent:Be&&Be.viewContainerRef&&Be.viewContainerRef.injector||this._injector,providers:[{provide:me,useValue:Be}]}),fe=new ee.A8(this.snackBarContainerComponent,Be.viewContainerRef,Re),ge=be.attach(fe);return ge.instance.snackBarConfig=Be,ge.instance}_attach(be,Be){const oe={...new me,...this._defaultConfig,...Be},Re=this._createOverlay(oe),fe=this._attachSnackBarContainer(Re,oe),ge=new de(fe,Re);if(be instanceof t.C4Q){const ke=new ee.VA(be,null,{$implicit:oe.data,snackBarRef:ge});ge.instance=fe.attachTemplatePortal(ke)}else{const ke=this._createInjector(oe,ge),qe=new ee.A8(be,void 0,ke),Ce=fe.attachComponentPortal(qe);ge.instance=Ce.instance}return this._breakpointObserver.observe(R.Rp.HandsetPortrait).pipe((0,I.Q)(Re.detachments())).subscribe(ke=>{Re.overlayElement.classList.toggle(this.handsetCssClass,ke.matches)}),oe.announcementMessage&&fe._onAnnounce.subscribe(()=>{this._live.announce(oe.announcementMessage,oe.politeness)}),this._animateSnackBar(ge,oe),this._openedSnackBarRef=ge,this._openedSnackBarRef}_animateSnackBar(be,Be){be.afterDismissed().subscribe(()=>{this._openedSnackBarRef==be&&(this._openedSnackBarRef=null),Be.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{be.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):be.containerInstance.enter(),Be.duration&&Be.duration>0&&be.afterOpened().subscribe(()=>be._dismissAfter(Be.duration))}_createOverlay(be){const Be=new P.rR;Be.direction=be.direction;let oe=this._overlay.position().global();const Re="rtl"===be.direction,fe="left"===be.horizontalPosition||"start"===be.horizontalPosition&&!Re||"end"===be.horizontalPosition&&Re,ge=!fe&&"center"!==be.horizontalPosition;return fe?oe.left("0"):ge?oe.right("0"):oe.centerHorizontally(),"top"===be.verticalPosition?oe.top("0"):oe.bottom("0"),Be.positionStrategy=oe,this._overlay.create(Be)}_createInjector(be,Be){return t.zZn.create({parent:be&&be.viewContainerRef&&be.viewContainerRef.injector||this._injector,providers:[{provide:de,useValue:Be},{provide:re,useValue:be.data}]})}static#e=this.\u0275fac=function(Be){return new(Be||Ct)(t.KVO(P.hJ),t.KVO(B.Ai),t.KVO(t.zZn),t.KVO(R.QP),t.KVO(Ct,12),t.KVO($))};static#t=this.\u0275prov=t.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}return Ct})()},4823:(kt,De,u)=>{"use strict";u.d(De,{oV:()=>Ct,uc:()=>Be});var t=u(6977),p=u(6697),D=u(4085),j=u(7336),E=u(4438),ee=u(177),G=u(6860),B=u(8617),R=u(8203),P=u(7987),I=u(6914),A=u(6939),b=u(1413),L=(u(9969),u(6600));const de=["tooltip"],Se=new E.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const oe=(0,E.WQX)(P.hJ);return()=>oe.scrollStrategies.reposition({scrollThrottle:20})}}),je={provide:Se,deps:[P.hJ],useFactory:function tt(oe){return()=>oe.scrollStrategies.reposition({scrollThrottle:20})}},ve=new E.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function xe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),pe="tooltip-panel",Pe=(0,G.BQ)({passive:!0});let Ct=(()=>{class oe{get position(){return this._position}set position(fe){fe!==this._position&&(this._position=fe,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(fe){this._positionAtOrigin=(0,D.he)(fe),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,D.he)(fe),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(fe){this._showDelay=(0,D.OE)(fe)}get hideDelay(){return this._hideDelay}set hideDelay(fe){this._hideDelay=(0,D.OE)(fe),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(fe){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=fe?String(fe).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(fe){this._tooltipClass=fe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(fe,ge,ke,qe,Ce,We,Ze,gt,an,xn,Tn,Rn){this._overlay=fe,this._elementRef=ge,this._scrollDispatcher=ke,this._viewContainerRef=qe,this._ngZone=Ce,this._platform=We,this._ariaDescriber=Ze,this._focusMonitor=gt,this._dir=xn,this._defaultOptions=Tn,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=$t,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new b.B,this._scrollStrategy=an,this._document=Rn,Tn&&(this._showDelay=Tn.showDelay,this._hideDelay=Tn.hideDelay,Tn.position&&(this.position=Tn.position),Tn.positionAtOrigin&&(this.positionAtOrigin=Tn.positionAtOrigin),Tn.touchGestures&&(this.touchGestures=Tn.touchGestures)),xn.change.pipe((0,t.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,t.Q)(this._destroyed)).subscribe(fe=>{fe?"keyboard"===fe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const fe=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([ge,ke])=>{fe.removeEventListener(ge,ke,Pe)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(fe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(fe)}show(fe=this.showDelay,ge){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ke=this._createOverlay(ge);this._detach(),this._portal=this._portal||new A.A8(this._tooltipComponent,this._viewContainerRef);const qe=this._tooltipInstance=ke.attach(this._portal).instance;qe._triggerElement=this._elementRef.nativeElement,qe._mouseLeaveHideDelay=this._hideDelay,qe.afterHidden().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),qe.show(fe)}hide(fe=this.hideDelay){const ge=this._tooltipInstance;ge&&(ge.isVisible()?ge.hide(fe):(ge._cancelPendingAnimations(),this._detach()))}toggle(fe){this._isTooltipVisible()?this.hide():this.show(void 0,fe)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(fe){if(this._overlayRef){const qe=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!fe)&&qe._origin instanceof E.aKT)return this._overlayRef;this._detach()}const ge=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ke=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&fe||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(ge);return ke.positionChanges.pipe((0,t.Q)(this._destroyed)).subscribe(qe=>{this._updateCurrentPositionClass(qe.connectionPair),this._tooltipInstance&&qe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ke,panelClass:`${this._cssClassPrefix}-${pe}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,t.Q)(this._destroyed)).subscribe(qe=>{this._isTooltipVisible()&&qe.keyCode===j._f&&!(0,j.rp)(qe)&&(qe.preventDefault(),qe.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(fe){const ge=fe.getConfig().positionStrategy,ke=this._getOrigin(),qe=this._getOverlayPosition();ge.withPositions([this._addOffset({...ke.main,...qe.main}),this._addOffset({...ke.fallback,...qe.fallback})])}_addOffset(fe){const ke=!this._dir||"ltr"==this._dir.value;return"top"===fe.originY?fe.offsetY=-8:"bottom"===fe.originY?fe.offsetY=8:"start"===fe.originX?fe.offsetX=ke?-8:8:"end"===fe.originX&&(fe.offsetX=ke?8:-8),fe}_getOrigin(){const fe=!this._dir||"ltr"==this._dir.value,ge=this.position;let ke;"above"==ge||"below"==ge?ke={originX:"center",originY:"above"==ge?"top":"bottom"}:"before"==ge||"left"==ge&&fe||"right"==ge&&!fe?ke={originX:"start",originY:"center"}:("after"==ge||"right"==ge&&fe||"left"==ge&&!fe)&&(ke={originX:"end",originY:"center"});const{x:qe,y:Ce}=this._invertPosition(ke.originX,ke.originY);return{main:ke,fallback:{originX:qe,originY:Ce}}}_getOverlayPosition(){const fe=!this._dir||"ltr"==this._dir.value,ge=this.position;let ke;"above"==ge?ke={overlayX:"center",overlayY:"bottom"}:"below"==ge?ke={overlayX:"center",overlayY:"top"}:"before"==ge||"left"==ge&&fe||"right"==ge&&!fe?ke={overlayX:"end",overlayY:"center"}:("after"==ge||"right"==ge&&fe||"left"==ge&&!fe)&&(ke={overlayX:"start",overlayY:"center"});const{x:qe,y:Ce}=this._invertPosition(ke.overlayX,ke.overlayY);return{main:ke,fallback:{overlayX:qe,overlayY:Ce}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,p.s)(1),(0,t.Q)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(fe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=fe,this._tooltipInstance._markForCheck())}_invertPosition(fe,ge){return"above"===this.position||"below"===this.position?"top"===ge?ge="bottom":"bottom"===ge&&(ge="top"):"end"===fe?fe="start":"start"===fe&&(fe="end"),{x:fe,y:ge}}_updateCurrentPositionClass(fe){const{overlayY:ge,originX:ke,originY:qe}=fe;let Ce;if(Ce="center"===ge?this._dir&&"rtl"===this._dir.value?"end"===ke?"left":"right":"start"===ke?"left":"right":"bottom"===ge&&"top"===qe?"above":"below",Ce!==this._currentPosition){const We=this._overlayRef;if(We){const Ze=`${this._cssClassPrefix}-${pe}-`;We.removePanelClass(Ze+this._currentPosition),We.addPanelClass(Ze+Ce)}this._currentPosition=Ce}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",fe=>{let ge;this._setupPointerExitEventsIfNeeded(),void 0!==fe.x&&void 0!==fe.y&&(ge=fe),this.show(void 0,ge)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",fe=>{const ge=fe.targetTouches?.[0],ke=ge?{x:ge.clientX,y:ge.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,ke),this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const fe=[];if(this._platformSupportsMouseEvents())fe.push(["mouseleave",ge=>{const ke=ge.relatedTarget;(!ke||!this._overlayRef?.overlayElement.contains(ke))&&this.hide()}],["wheel",ge=>this._wheelListener(ge)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const ge=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};fe.push(["touchend",ge],["touchcancel",ge])}this._addListeners(fe),this._passiveListeners.push(...fe)}_addListeners(fe){fe.forEach(([ge,ke])=>{this._elementRef.nativeElement.addEventListener(ge,ke,Pe)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(fe){if(this._isTooltipVisible()){const ge=this._document.elementFromPoint(fe.clientX,fe.clientY),ke=this._elementRef.nativeElement;ge!==ke&&!ke.contains(ge)&&this.hide()}}_disableNativeGesturesIfNecessary(){const fe=this.touchGestures;if("off"!==fe){const ge=this._elementRef.nativeElement,ke=ge.style;("on"===fe||"INPUT"!==ge.nodeName&&"TEXTAREA"!==ge.nodeName)&&(ke.userSelect=ke.msUserSelect=ke.webkitUserSelect=ke.MozUserSelect="none"),("on"===fe||!ge.draggable)&&(ke.webkitUserDrag="none"),ke.touchAction="none",ke.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(ge){return new(ge||oe)(E.rXU(P.hJ),E.rXU(E.aKT),E.rXU(I.R),E.rXU(E.c1b),E.rXU(E.SKi),E.rXU(G.OD),E.rXU(B.vr),E.rXU(B.FN),E.rXU(Se),E.rXU(R.dS),E.rXU(ve,8),E.rXU(ee.qQ))};static#t=this.\u0275dir=E.FsC({type:oe,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(ge,ke){2&ge&&E.AVh("mat-mdc-tooltip-disabled",ke.disabled)},inputs:{position:[E.Mj6.None,"matTooltipPosition","position"],positionAtOrigin:[E.Mj6.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[E.Mj6.None,"matTooltipDisabled","disabled"],showDelay:[E.Mj6.None,"matTooltipShowDelay","showDelay"],hideDelay:[E.Mj6.None,"matTooltipHideDelay","hideDelay"],touchGestures:[E.Mj6.None,"matTooltipTouchGestures","touchGestures"],message:[E.Mj6.None,"matTooltip","message"],tooltipClass:[E.Mj6.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return oe})(),$t=(()=>{class oe{constructor(fe,ge,ke){this._changeDetectorRef=fe,this._elementRef=ge,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new b.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===ke}show(fe){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},fe)}hide(fe){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},fe)}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:fe}){(!fe||!this._triggerElement.contains(fe))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const fe=this._elementRef.nativeElement.getBoundingClientRect();return fe.height>24&&fe.width>=200}_handleAnimationEnd({animationName:fe}){(fe===this._showAnimation||fe===this._hideAnimation)&&this._finalizeAnimation(fe===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(fe){fe?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(fe){const ge=this._tooltip.nativeElement,ke=this._showAnimation,qe=this._hideAnimation;if(ge.classList.remove(fe?qe:ke),ge.classList.add(fe?ke:qe),this._isVisible=fe,fe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ce=getComputedStyle(ge);("0s"===Ce.getPropertyValue("animation-duration")||"none"===Ce.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}fe&&this._onShow(),this._animationsDisabled&&(ge.classList.add("_mat-animation-noopable"),this._finalizeAnimation(fe))}static#e=this.\u0275fac=function(ge){return new(ge||oe)(E.rXU(E.gRc),E.rXU(E.aKT),E.rXU(E.bc$,8))};static#t=this.\u0275cmp=E.VBU({type:oe,selectors:[["mat-tooltip-component"]],viewQuery:function(ge,ke){if(1&ge&&E.GBs(de,7),2&ge){let qe;E.mGM(qe=E.lsd())&&(ke._tooltip=qe.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(ge,ke){1&ge&&E.bIt("mouseleave",function(Ce){return ke._handleMouseLeave(Ce)}),2&ge&&E.xc7("zoom",ke.isVisible()?1:null)},standalone:!0,features:[E.aNF],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(ge,ke){if(1&ge){const qe=E.RV6();E.j41(0,"div",1,0),E.bIt("animationend",function(We){return E.eBV(qe),E.Njj(ke._handleAnimationEnd(We))}),E.j41(2,"div",2),E.EFF(3),E.k0s()()}2&ge&&(E.AVh("mdc-tooltip--multiline",ke._isMultiline),E.Y8G("ngClass",ke.tooltipClass),E.R7$(3),E.JRh(ke.message))},dependencies:[ee.YU],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return oe})(),Be=(()=>{class oe{static#e=this.\u0275fac=function(ge){return new(ge||oe)};static#t=this.\u0275mod=E.$C({type:oe});static#n=this.\u0275inj=E.G2t({providers:[je],imports:[B.Pd,ee.MD,P.z_,L.yE,L.yE,I.Gj]})}return oe})()},345:(kt,De,u)=>{"use strict";u.d(De,{B7:()=>pe,B8:()=>ge,Bb:()=>Cn,W8:()=>ot,hE:()=>at,up:()=>At});var t=u(4438),p=u(177);class D extends p.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class j extends D{static makeCurrent(){(0,p.ZD)(new j)}onAndCancel(Ee,q,J){return Ee.addEventListener(q,J),()=>{Ee.removeEventListener(q,J)}}dispatchEvent(Ee,q){Ee.dispatchEvent(q)}remove(Ee){Ee.parentNode&&Ee.parentNode.removeChild(Ee)}createElement(Ee,q){return(q=q||this.getDefaultDocument()).createElement(Ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ee){return Ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ee){return Ee instanceof DocumentFragment}getGlobalEventTarget(Ee,q){return"window"===q?window:"document"===q?Ee:"body"===q?Ee.body:null}getBaseHref(Ee){const q=function ee(){return E=E||document.querySelector("base"),E?E.getAttribute("href"):null}();return null==q?null:function G(He){return new URL(He,document.baseURI).pathname}(q)}resetBaseElement(){E=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ee){return(0,p._b)(document.cookie,Ee)}}let E=null,R=(()=>{class He{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(J){return new(J||He)};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac})}return He})();const P=new t.nKC("");let I=(()=>{class He{constructor(q,J){this._zone=J,this._eventNameToPlugin=new Map,q.forEach(Ie=>{Ie.manager=this}),this._plugins=q.slice().reverse()}addEventListener(q,J,Ie){return this._findPluginFor(J).addEventListener(q,J,Ie)}getZone(){return this._zone}_findPluginFor(q){let J=this._eventNameToPlugin.get(q);if(J)return J;if(J=this._plugins.find(rt=>rt.supports(q)),!J)throw new t.wOt(5101,!1);return this._eventNameToPlugin.set(q,J),J}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(P),t.KVO(t.SKi))};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac})}return He})();class A{constructor(Ee){this._doc=Ee}}const b="ng-app-id";let F=(()=>{class He{constructor(q,J,Ie,rt={}){this.doc=q,this.appId=J,this.nonce=Ie,this.platformId=rt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,p.Vy)(rt),this.resetHostNodes()}addStyles(q){for(const J of q)1===this.changeUsageCount(J,1)&&this.onStyleAdded(J)}removeStyles(q){for(const J of q)this.changeUsageCount(J,-1)<=0&&this.onStyleRemoved(J)}ngOnDestroy(){const q=this.styleNodesInDOM;q&&(q.forEach(J=>J.remove()),q.clear());for(const J of this.getAllStyles())this.onStyleRemoved(J);this.resetHostNodes()}addHost(q){this.hostNodes.add(q);for(const J of this.getAllStyles())this.addStyleToHost(q,J)}removeHost(q){this.hostNodes.delete(q)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(q){for(const J of this.hostNodes)this.addStyleToHost(J,q)}onStyleRemoved(q){const J=this.styleRef;J.get(q)?.elements?.forEach(Ie=>Ie.remove()),J.delete(q)}collectServerRenderedStyles(){const q=this.doc.head?.querySelectorAll(`style[${b}="${this.appId}"]`);if(q?.length){const J=new Map;return q.forEach(Ie=>{null!=Ie.textContent&&J.set(Ie.textContent,Ie)}),J}return null}changeUsageCount(q,J){const Ie=this.styleRef;if(Ie.has(q)){const rt=Ie.get(q);return rt.usage+=J,rt.usage}return Ie.set(q,{usage:J,elements:[]}),J}getStyleElement(q,J){const Ie=this.styleNodesInDOM,rt=Ie?.get(J);if(rt?.parentNode===q)return Ie.delete(J),rt.removeAttribute(b),rt;{const Xt=this.doc.createElement("style");return this.nonce&&Xt.setAttribute("nonce",this.nonce),Xt.textContent=J,this.platformIsServer&&Xt.setAttribute(b,this.appId),q.appendChild(Xt),Xt}}addStyleToHost(q,J){const Ie=this.getStyleElement(q,J),rt=this.styleRef,Xt=rt.get(J)?.elements;Xt?Xt.push(Ie):rt.set(J,{elements:[Ie],usage:1})}resetHostNodes(){const q=this.hostNodes;q.clear(),q.add(this.doc.head)}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(p.qQ),t.KVO(t.sZ2),t.KVO(t.BIS,8),t.KVO(t.Agw))};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac})}return He})();const L={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},de=/%COMP%/g,je=new t.nKC("",{providedIn:"root",factory:()=>!0});function ye(He,Ee){return Ee.map(q=>q.replace(de,He))}let pe=(()=>{class He{constructor(q,J,Ie,rt,Xt,yn,Lt,Mt=null){this.eventManager=q,this.sharedStylesHost=J,this.appId=Ie,this.removeStylesOnCompDestroy=rt,this.doc=Xt,this.platformId=yn,this.ngZone=Lt,this.nonce=Mt,this.rendererByCompId=new Map,this.platformIsServer=(0,p.Vy)(yn),this.defaultRenderer=new Pe(q,Xt,Lt,this.platformIsServer)}createRenderer(q,J){if(!q||!J)return this.defaultRenderer;this.platformIsServer&&J.encapsulation===t.gXe.ShadowDom&&(J={...J,encapsulation:t.gXe.Emulated});const Ie=this.getOrCreateRenderer(q,J);return Ie instanceof $t?Ie.applyToHost(q):Ie instanceof Ct&&Ie.applyStyles(),Ie}getOrCreateRenderer(q,J){const Ie=this.rendererByCompId;let rt=Ie.get(J.id);if(!rt){const Xt=this.doc,yn=this.ngZone,Lt=this.eventManager,Mt=this.sharedStylesHost,et=this.removeStylesOnCompDestroy,St=this.platformIsServer;switch(J.encapsulation){case t.gXe.Emulated:rt=new $t(Lt,Mt,J,this.appId,et,Xt,yn,St);break;case t.gXe.ShadowDom:return new Nt(Lt,Mt,q,J,Xt,yn,this.nonce,St);default:rt=new Ct(Lt,Mt,J,et,Xt,yn,St)}Ie.set(J.id,rt)}return rt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(I),t.KVO(F),t.KVO(t.sZ2),t.KVO(je),t.KVO(p.qQ),t.KVO(t.Agw),t.KVO(t.SKi),t.KVO(t.BIS))};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac})}return He})();class Pe{constructor(Ee,q,J,Ie){this.eventManager=Ee,this.doc=q,this.ngZone=J,this.platformIsServer=Ie,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Ee,q){return q?this.doc.createElementNS(L[q]||q,Ee):this.doc.createElement(Ee)}createComment(Ee){return this.doc.createComment(Ee)}createText(Ee){return this.doc.createTextNode(Ee)}appendChild(Ee,q){(Ke(Ee)?Ee.content:Ee).appendChild(q)}insertBefore(Ee,q,J){Ee&&(Ke(Ee)?Ee.content:Ee).insertBefore(q,J)}removeChild(Ee,q){Ee&&Ee.removeChild(q)}selectRootElement(Ee,q){let J="string"==typeof Ee?this.doc.querySelector(Ee):Ee;if(!J)throw new t.wOt(-5104,!1);return q||(J.textContent=""),J}parentNode(Ee){return Ee.parentNode}nextSibling(Ee){return Ee.nextSibling}setAttribute(Ee,q,J,Ie){if(Ie){q=Ie+":"+q;const rt=L[Ie];rt?Ee.setAttributeNS(rt,q,J):Ee.setAttribute(q,J)}else Ee.setAttribute(q,J)}removeAttribute(Ee,q,J){if(J){const Ie=L[J];Ie?Ee.removeAttributeNS(Ie,q):Ee.removeAttribute(`${J}:${q}`)}else Ee.removeAttribute(q)}addClass(Ee,q){Ee.classList.add(q)}removeClass(Ee,q){Ee.classList.remove(q)}setStyle(Ee,q,J,Ie){Ie&(t.czy.DashCase|t.czy.Important)?Ee.style.setProperty(q,J,Ie&t.czy.Important?"important":""):Ee.style[q]=J}removeStyle(Ee,q,J){J&t.czy.DashCase?Ee.style.removeProperty(q):Ee.style[q]=""}setProperty(Ee,q,J){null!=Ee&&(Ee[q]=J)}setValue(Ee,q){Ee.nodeValue=q}listen(Ee,q,J){if("string"==typeof Ee&&!(Ee=(0,p.QT)().getGlobalEventTarget(this.doc,Ee)))throw new Error(`Unsupported event target ${Ee} for event ${q}`);return this.eventManager.addEventListener(Ee,q,this.decoratePreventDefault(J))}decoratePreventDefault(Ee){return q=>{if("__ngUnwrap__"===q)return Ee;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ee(q)):Ee(q))&&q.preventDefault()}}}function Ke(He){return"TEMPLATE"===He.tagName&&void 0!==He.content}class Nt extends Pe{constructor(Ee,q,J,Ie,rt,Xt,yn,Lt){super(Ee,rt,Xt,Lt),this.sharedStylesHost=q,this.hostEl=J,this.shadowRoot=J.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mt=ye(Ie.id,Ie.styles);for(const et of Mt){const St=document.createElement("style");yn&&St.setAttribute("nonce",yn),St.textContent=et,this.shadowRoot.appendChild(St)}}nodeOrShadowRoot(Ee){return Ee===this.hostEl?this.shadowRoot:Ee}appendChild(Ee,q){return super.appendChild(this.nodeOrShadowRoot(Ee),q)}insertBefore(Ee,q,J){return super.insertBefore(this.nodeOrShadowRoot(Ee),q,J)}removeChild(Ee,q){return super.removeChild(this.nodeOrShadowRoot(Ee),q)}parentNode(Ee){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ee)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ct extends Pe{constructor(Ee,q,J,Ie,rt,Xt,yn,Lt){super(Ee,rt,Xt,yn),this.sharedStylesHost=q,this.removeStylesOnCompDestroy=Ie,this.styles=Lt?ye(Lt,J.styles):J.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $t extends Ct{constructor(Ee,q,J,Ie,rt,Xt,yn,Lt){const Mt=Ie+"-"+J.id;super(Ee,q,J,rt,Xt,yn,Lt,Mt),this.contentAttr=function xe(He){return"_ngcontent-%COMP%".replace(de,He)}(Mt),this.hostAttr=function ve(He){return"_nghost-%COMP%".replace(de,He)}(Mt)}applyToHost(Ee){this.applyStyles(),this.setAttribute(Ee,this.hostAttr,"")}createElement(Ee,q){const J=super.createElement(Ee,q);return super.setAttribute(J,this.contentAttr,""),J}}let be=(()=>{class He extends A{constructor(q){super(q)}supports(q){return!0}addEventListener(q,J,Ie){return q.addEventListener(J,Ie,!1),()=>this.removeEventListener(q,J,Ie)}removeEventListener(q,J,Ie){return q.removeEventListener(J,Ie)}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(p.qQ))};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac})}return He})();const Be=["alt","control","meta","shift"],oe={"\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"},Re={alt:He=>He.altKey,control:He=>He.ctrlKey,meta:He=>He.metaKey,shift:He=>He.shiftKey};let fe=(()=>{class He extends A{constructor(q){super(q)}supports(q){return null!=He.parseEventName(q)}addEventListener(q,J,Ie){const rt=He.parseEventName(J),Xt=He.eventCallback(rt.fullKey,Ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,p.QT)().onAndCancel(q,rt.domEventName,Xt))}static parseEventName(q){const J=q.toLowerCase().split("."),Ie=J.shift();if(0===J.length||"keydown"!==Ie&&"keyup"!==Ie)return null;const rt=He._normalizeKey(J.pop());let Xt="",yn=J.indexOf("code");if(yn>-1&&(J.splice(yn,1),Xt="code."),Be.forEach(Mt=>{const et=J.indexOf(Mt);et>-1&&(J.splice(et,1),Xt+=Mt+".")}),Xt+=rt,0!=J.length||0===rt.length)return null;const Lt={};return Lt.domEventName=Ie,Lt.fullKey=Xt,Lt}static matchEventFullKeyCode(q,J){let Ie=oe[q.key]||q.key,rt="";return J.indexOf("code.")>-1&&(Ie=q.code,rt="code."),!(null==Ie||!Ie)&&(Ie=Ie.toLowerCase()," "===Ie?Ie="space":"."===Ie&&(Ie="dot"),Be.forEach(Xt=>{Xt!==Ie&&(0,Re[Xt])(q)&&(rt+=Xt+".")}),rt+=Ie,rt===J)}static eventCallback(q,J,Ie){return rt=>{He.matchEventFullKeyCode(rt,q)&&Ie.runGuarded(()=>J(rt))}}static _normalizeKey(q){return"esc"===q?"escape":q}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(p.qQ))};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac})}return He})();function ge(He,Ee){return(0,t.TL3)({rootComponent:He,...qe(Ee)})}function qe(He){return{appProviders:[...ii,...He?.providers??[]],platformProviders:an}}const an=[{provide:t.Agw,useValue:p.AJ},{provide:t.PLl,useValue:function We(){j.makeCurrent()},multi:!0},{provide:p.qQ,useFactory:function gt(){return(0,t.TL$)(document),document},deps:[]}],Tn=new t.nKC(""),Rn=[{provide:t.e01,useClass:class B{addToWindow(Ee){t.JZv.getAngularTestability=(J,Ie=!0)=>{const rt=Ee.findTestabilityInTree(J,Ie);if(null==rt)throw new t.wOt(5103,!1);return rt},t.JZv.getAllAngularTestabilities=()=>Ee.getAllTestabilities(),t.JZv.getAllAngularRootElements=()=>Ee.getAllRootElements(),t.JZv.frameworkStabilizers||(t.JZv.frameworkStabilizers=[]),t.JZv.frameworkStabilizers.push(J=>{const Ie=t.JZv.getAllAngularTestabilities();let rt=Ie.length;const Xt=function(){rt--,0==rt&&J()};Ie.forEach(yn=>{yn.whenStable(Xt)})})}findTestabilityInTree(Ee,q,J){return null==q?null:Ee.getTestability(q)??(J?(0,p.QT)().isShadowRoot(q)?this.findTestabilityInTree(Ee,q.host,!0):this.findTestabilityInTree(Ee,q.parentElement,!0):null)}},deps:[]},{provide:t.WHO,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]},{provide:t.NYb,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]}],ii=[{provide:t.H8p,useValue:"root"},{provide:t.zcH,useFactory:function Ze(){return new t.zcH},deps:[]},{provide:P,useClass:be,multi:!0,deps:[p.qQ,t.SKi,t.Agw]},{provide:P,useClass:fe,multi:!0,deps:[p.qQ]},pe,F,I,{provide:t._9s,useExisting:pe},{provide:p.N0,useClass:R,deps:[]},[]];let Cn=(()=>{class He{constructor(q){}static withServerTransition(q){return{ngModule:He,providers:[{provide:t.sZ2,useValue:q.appId}]}}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(Tn,12))};static#t=this.\u0275mod=t.$C({type:He});static#n=this.\u0275inj=t.G2t({providers:[...ii,...Rn],imports:[p.MD,t.Hbi]})}return He})(),ot=(()=>{class He{constructor(q){this._doc=q,this._dom=(0,p.QT)()}addTag(q,J=!1){return q?this._getOrCreateElement(q,J):null}addTags(q,J=!1){return q?q.reduce((Ie,rt)=>(rt&&Ie.push(this._getOrCreateElement(rt,J)),Ie),[]):[]}getTag(q){return q&&this._doc.querySelector(`meta[${q}]`)||null}getTags(q){if(!q)return[];const J=this._doc.querySelectorAll(`meta[${q}]`);return J?[].slice.call(J):[]}updateTag(q,J){if(!q)return null;J=J||this._parseSelector(q);const Ie=this.getTag(J);return Ie?this._setMetaElementAttributes(q,Ie):this._getOrCreateElement(q,!0)}removeTag(q){this.removeTagElement(this.getTag(q))}removeTagElement(q){q&&this._dom.remove(q)}_getOrCreateElement(q,J=!1){if(!J){const Xt=this._parseSelector(q),yn=this.getTags(Xt).filter(Lt=>this._containsAttributes(q,Lt))[0];if(void 0!==yn)return yn}const Ie=this._dom.createElement("meta");return this._setMetaElementAttributes(q,Ie),this._doc.getElementsByTagName("head")[0].appendChild(Ie),Ie}_setMetaElementAttributes(q,J){return Object.keys(q).forEach(Ie=>J.setAttribute(this._getMetaKeyMap(Ie),q[Ie])),J}_parseSelector(q){const J=q.name?"name":"property";return`${J}="${q[J]}"`}_containsAttributes(q,J){return Object.keys(q).every(Ie=>J.getAttribute(this._getMetaKeyMap(Ie))===q[Ie])}_getMetaKeyMap(q){return Le[q]||q}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(p.qQ))};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();const Le={httpEquiv:"http-equiv"};let at=(()=>{class He{constructor(q){this._doc=q}getTitle(){return this._doc.title}setTitle(q){this._doc.title=q||""}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(p.qQ))};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})(),At=(()=>{class He{static#e=this.\u0275fac=function(J){return new(J||He)};static#t=this.\u0275prov=t.jDH({token:He,factory:function(J){let Ie=null;return Ie=J?new(J||He):t.KVO(Yt),Ie},providedIn:"root"})}return He})(),Yt=(()=>{class He extends At{constructor(q){super(),this._doc=q}sanitize(q,J){if(null==J)return null;switch(q){case t.WPN.NONE:return J;case t.WPN.HTML:return(0,t.ZF7)(J,"HTML")?(0,t.rcV)(J):(0,t.h9k)(this._doc,String(J)).toString();case t.WPN.STYLE:return(0,t.ZF7)(J,"Style")?(0,t.rcV)(J):J;case t.WPN.SCRIPT:if((0,t.ZF7)(J,"Script"))return(0,t.rcV)(J);throw new t.wOt(5200,!1);case t.WPN.URL:return(0,t.ZF7)(J,"URL")?(0,t.rcV)(J):(0,t.$MX)(String(J));case t.WPN.RESOURCE_URL:if((0,t.ZF7)(J,"ResourceURL"))return(0,t.rcV)(J);throw new t.wOt(5201,!1);default:throw new t.wOt(5202,!1)}}bypassSecurityTrustHtml(q){return(0,t.Kcf)(q)}bypassSecurityTrustStyle(q){return(0,t.cWb)(q)}bypassSecurityTrustScript(q){return(0,t.UyX)(q)}bypassSecurityTrustUrl(q){return(0,t.osQ)(q)}bypassSecurityTrustResourceUrl(q){return(0,t.e5t)(q)}static#e=this.\u0275fac=function(J){return new(J||He)(t.KVO(p.qQ))};static#t=this.\u0275prov=t.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})()},33:(kt,De,u)=>{"use strict";u.d(De,{nX:()=>Wo,wF:()=>Pi,Ix:()=>Ci,Wk:()=>Cr,n3:()=>Cs,Xw:()=>nt,lh:()=>Es,oH:()=>Ms,Ii:()=>ra});var t=u(4438),p=u(4402),D=u(2806),j=u(7673),E=u(4412),ee=u(9350),G=u(4572),B=u(8793),R=u(9030),P=u(1203),I=u(8810),A=u(983),b=u(1985),F=u(8359),L=u(9974),de=u(4360);function re(){return(0,L.N)((v,T)=>{let w=null;v._refCount++;const k=(0,de._)(T,void 0,void 0,void 0,()=>{if(!v||v._refCount<=0||0<--v._refCount)return void(w=null);const ie=v._connection,Ne=w;w=null,ie&&(!Ne||ie===Ne)&&ie.unsubscribe(),T.unsubscribe()});v.subscribe(k),k.closed||(w=v.connect())})}class me extends b.c{constructor(T,w){super(),this.source=T,this.subjectFactory=w,this._subject=null,this._refCount=0,this._connection=null,(0,L.S)(T)&&(this.lift=T.lift)}_subscribe(T){return this.getSubject().subscribe(T)}getSubject(){const T=this._subject;return(!T||T.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:T}=this;this._subject=this._connection=null,T?.unsubscribe()}connect(){let T=this._connection;if(!T){T=this._connection=new F.yU;const w=this.getSubject();T.add(this.source.subscribe((0,de._)(w,void 0,()=>{this._teardown(),w.complete()},k=>{this._teardown(),w.error(k)},()=>this._teardown()))),T.closed&&(this._connection=null,T=F.yU.EMPTY)}return T}refCount(){return re()(this)}}var Se=u(1413),tt=u(177),je=u(6354),xe=u(5558),ve=u(6697),ye=u(9172),pe=u(5964),Pe=u(1397);function $(v){return(0,L.N)((T,w)=>{let k=!1;T.subscribe((0,de._)(w,ie=>{k=!0,w.next(ie)},()=>{k||w.next(v),w.complete()}))})}function Oe(v=Ke){return(0,L.N)((T,w)=>{let k=!1;T.subscribe((0,de._)(w,ie=>{k=!0,w.next(ie)},()=>k?w.complete():w.error(v())))})}function Ke(){return new ee.G}var Nt=u(3669);function Ct(v,T){const w=arguments.length>=2;return k=>k.pipe(v?(0,pe.p)((ie,Ne)=>v(ie,Ne,k)):Nt.D,(0,ve.s)(1),w?$(T):Oe(()=>new ee.G))}var $t=u(274),be=u(8141),Be=u(9437);function fe(v){return v<=0?()=>A.w:(0,L.N)((T,w)=>{let k=[];T.subscribe((0,de._)(w,ie=>{k.push(ie),v{for(const ie of k)w.next(ie);w.complete()},void 0,()=>{k=null}))})}var ke=u(3703),qe=u(980),Ce=u(6977),Ze=(u(6365),u(345));const gt="primary",an=Symbol("RouteTitle");class xn{constructor(T){this.params=T||{}}has(T){return Object.prototype.hasOwnProperty.call(this.params,T)}get(T){if(this.has(T)){const w=this.params[T];return Array.isArray(w)?w[0]:w}return null}getAll(T){if(this.has(T)){const w=this.params[T];return Array.isArray(w)?w:[w]}return[]}get keys(){return Object.keys(this.params)}}function Tn(v){return new xn(v)}function Rn(v,T,w){const k=w.path.split("/");if(k.length>v.length||"full"===w.pathMatch&&(T.hasChildren()||k.lengthk[Ne]===ie)}return v===T}function at(v){return v.length>0?v[v.length-1]:null}function _t(v){return(0,p.A)(v)?v:(0,t.jNT)(v)?(0,D.H)(Promise.resolve(v)):(0,j.of)(v)}const rn={exact:function ce(v,T,w){if(!At(v.segments,T.segments)||!Kt(v.segments,T.segments,w)||v.numberOfChildren!==T.numberOfChildren)return!1;for(const k in T.children)if(!v.children[k]||!ce(v.children[k],T.children[k],w))return!1;return!0},subset:Je},Hn={exact:function Bt(v,T){return Cn(v,T)},subset:function Ye(v,T){return Object.keys(T).length<=Object.keys(v).length&&Object.keys(T).every(w=>Le(v[w],T[w]))},ignored:()=>!0};function Xn(v,T,w){return rn[w.paths](v.root,T.root,w.matrixParams)&&Hn[w.queryParams](v.queryParams,T.queryParams)&&!("exact"===w.fragment&&v.fragment!==T.fragment)}function Je(v,T,w){return xt(v,T,T.segments,w)}function xt(v,T,w,k){if(v.segments.length>w.length){const ie=v.segments.slice(0,w.length);return!(!At(ie,w)||T.hasChildren()||!Kt(ie,w,k))}if(v.segments.length===w.length){if(!At(v.segments,w)||!Kt(v.segments,w,k))return!1;for(const ie in T.children)if(!v.children[ie]||!Je(v.children[ie],T.children[ie],k))return!1;return!0}{const ie=w.slice(0,v.segments.length),Ne=w.slice(v.segments.length);return!!(At(v.segments,ie)&&Kt(v.segments,ie,k)&&v.children[gt])&&xt(v.children[gt],T,Ne,k)}}function Kt(v,T,w){return T.every((k,ie)=>Hn[w](v[ie].parameters,k.parameters))}class pt{constructor(T=new jt([],{}),w={},k=null){this.root=T,this.queryParams=w,this.fragment=k}get queryParamMap(){return this._queryParamMap??=Tn(this.queryParams),this._queryParamMap}toString(){return $n.serialize(this)}}class jt{constructor(T,w){this.segments=T,this.children=w,this.parent=null,Object.values(w).forEach(k=>k.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ki(this)}}class nt{constructor(T,w){this.path=T,this.parameters=w}get parameterMap(){return this._parameterMap??=Tn(this.parameters),this._parameterMap}toString(){return q(this)}}function At(v,T){return v.length===T.length&&v.every((w,k)=>w.path===T[k].path)}let jn=(()=>{class v{static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:()=>new En,providedIn:"root"})}return v})();class En{parse(T){const w=new _i(T);return new pt(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(T){const w=`/${Qn(T.root,!0)}`,k=function Ie(v){const T=Object.entries(v).map(([w,k])=>Array.isArray(k)?k.map(ie=>`${wi(w)}=${wi(ie)}`).join("&"):`${wi(w)}=${wi(k)}`).filter(w=>w);return T.length?`?${T.join("&")}`:""}(T.queryParams);return`${w}${k}${"string"==typeof T.fragment?`#${function Qt(v){return encodeURI(v)}(T.fragment)}`:""}`}}const $n=new En;function ki(v){return v.segments.map(T=>q(T)).join("/")}function Qn(v,T){if(!v.hasChildren())return ki(v);if(T){const w=v.children[gt]?Qn(v.children[gt],!1):"",k=[];return Object.entries(v.children).forEach(([ie,Ne])=>{ie!==gt&&k.push(`${ie}:${Qn(Ne,!1)}`)}),k.length>0?`${w}(${k.join("//")})`:w}{const w=function Yt(v,T){let w=[];return Object.entries(v.children).forEach(([k,ie])=>{k===gt&&(w=w.concat(T(ie,k)))}),Object.entries(v.children).forEach(([k,ie])=>{k!==gt&&(w=w.concat(T(ie,k)))}),w}(v,(k,ie)=>ie===gt?[Qn(v.children[gt],!1)]:[`${ie}:${Qn(k,!1)}`]);return 1===Object.keys(v.children).length&&null!=v.children[gt]?`${ki(v)}/${w[0]}`:`${ki(v)}/(${w.join("//")})`}}function Jt(v){return encodeURIComponent(v).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wi(v){return Jt(v).replace(/%3B/gi,";")}function Zt(v){return Jt(v).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function He(v){return decodeURIComponent(v)}function Ee(v){return He(v.replace(/\+/g,"%20"))}function q(v){return`${Zt(v.path)}${function J(v){return Object.entries(v).map(([T,w])=>`;${Zt(T)}=${Zt(w)}`).join("")}(v.parameters)}`}const rt=/^[^\/()?;#]+/;function Xt(v){const T=v.match(rt);return T?T[0]:""}const yn=/^[^\/()?;=#]+/,Mt=/^[^=?&#]+/,St=/^[^&#]+/;class _i{constructor(T){this.url=T,this.remaining=T}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jt([],{}):new jt([],this.parseChildren())}parseQueryParams(){const T={};if(this.consumeOptional("?"))do{this.parseQueryParam(T)}while(this.consumeOptional("&"));return T}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const T=[];for(this.peekStartsWith("(")||T.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),T.push(this.parseSegment());let w={};this.peekStartsWith("/(")&&(this.capture("/"),w=this.parseParens(!0));let k={};return this.peekStartsWith("(")&&(k=this.parseParens(!1)),(T.length>0||Object.keys(w).length>0)&&(k[gt]=new jt(T,w)),k}parseSegment(){const T=Xt(this.remaining);if(""===T&&this.peekStartsWith(";"))throw new t.wOt(4009,!1);return this.capture(T),new nt(He(T),this.parseMatrixParams())}parseMatrixParams(){const T={};for(;this.consumeOptional(";");)this.parseParam(T);return T}parseParam(T){const w=function Lt(v){const T=v.match(yn);return T?T[0]:""}(this.remaining);if(!w)return;this.capture(w);let k="";if(this.consumeOptional("=")){const ie=Xt(this.remaining);ie&&(k=ie,this.capture(k))}T[He(w)]=He(k)}parseQueryParam(T){const w=function et(v){const T=v.match(Mt);return T?T[0]:""}(this.remaining);if(!w)return;this.capture(w);let k="";if(this.consumeOptional("=")){const ut=function mn(v){const T=v.match(St);return T?T[0]:""}(this.remaining);ut&&(k=ut,this.capture(k))}const ie=Ee(w),Ne=Ee(k);if(T.hasOwnProperty(ie)){let ut=T[ie];Array.isArray(ut)||(ut=[ut],T[ie]=ut),ut.push(Ne)}else T[ie]=Ne}parseParens(T){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const k=Xt(this.remaining),ie=this.remaining[k.length];if("/"!==ie&&")"!==ie&&";"!==ie)throw new t.wOt(4010,!1);let Ne;k.indexOf(":")>-1?(Ne=k.slice(0,k.indexOf(":")),this.capture(Ne),this.capture(":")):T&&(Ne=gt);const ut=this.parseChildren();w[Ne]=1===Object.keys(ut).length?ut[gt]:new jt([],ut),this.consumeOptional("//")}return w}peekStartsWith(T){return this.remaining.startsWith(T)}consumeOptional(T){return!!this.peekStartsWith(T)&&(this.remaining=this.remaining.substring(T.length),!0)}capture(T){if(!this.consumeOptional(T))throw new t.wOt(4011,!1)}}function tr(v){return v.segments.length>0?new jt([],{[gt]:v}):v}function ir(v){const T={};for(const[k,ie]of Object.entries(v.children)){const Ne=ir(ie);if(k===gt&&0===Ne.segments.length&&Ne.hasChildren())for(const[ut,tn]of Object.entries(Ne.children))T[ut]=tn;else(Ne.segments.length>0||Ne.hasChildren())&&(T[k]=Ne)}return function it(v){if(1===v.numberOfChildren&&v.children[gt]){const T=v.children[gt];return new jt(v.segments.concat(T.segments),T.children)}return v}(new jt(v.segments,T))}function si(v){return v instanceof pt}function Ft(v){let T;const ie=tr(function w(Ne){const ut={};for(const Wt of Ne.children){const ni=w(Wt);ut[Wt.outlet]=ni}const tn=new jt(Ne.url,ut);return Ne===v&&(T=tn),tn}(v.root));return T??ie}function Rt(v,T,w,k){let ie=v;for(;ie.parent;)ie=ie.parent;if(0===T.length)return nr(ie,ie,ie,w,k);const Ne=function Dr(v){if("string"==typeof v[0]&&1===v.length&&"/"===v[0])return new lr(!0,0,v);let T=0,w=!1;const k=v.reduce((ie,Ne,ut)=>{if("object"==typeof Ne&&null!=Ne){if(Ne.outlets){const tn={};return Object.entries(Ne.outlets).forEach(([Wt,ni])=>{tn[Wt]="string"==typeof ni?ni.split("/"):ni}),[...ie,{outlets:tn}]}if(Ne.segmentPath)return[...ie,Ne.segmentPath]}return"string"!=typeof Ne?[...ie,Ne]:0===ut?(Ne.split("/").forEach((tn,Wt)=>{0==Wt&&"."===tn||(0==Wt&&""===tn?w=!0:".."===tn?T++:""!=tn&&ie.push(tn))}),ie):[...ie,Ne]},[]);return new lr(w,T,k)}(T);if(Ne.toRoot())return nr(ie,ie,new jt([],{}),w,k);const ut=function vi(v,T,w){if(v.isAbsolute)return new cr(T,!0,0);if(!w)return new cr(T,!1,NaN);if(null===w.parent)return new cr(w,!0,0);const k=qn(v.commands[0])?0:1;return function qr(v,T,w){let k=v,ie=T,Ne=w;for(;Ne>ie;){if(Ne-=ie,k=k.parent,!k)throw new t.wOt(4005,!1);ie=k.segments.length}return new cr(k,!1,ie-Ne)}(w,w.segments.length-1+k,v.numberOfDoubleDots)}(Ne,ie,v),tn=ut.processChildren?ct(ut.segmentGroup,ut.index,Ne.commands):st(ut.segmentGroup,ut.index,Ne.commands);return nr(ie,ut.segmentGroup,tn,w,k)}function qn(v){return"object"==typeof v&&null!=v&&!v.outlets&&!v.segmentPath}function ei(v){return"object"==typeof v&&null!=v&&v.outlets}function nr(v,T,w,k,ie){let ut,Ne={};k&&Object.entries(k).forEach(([Wt,ni])=>{Ne[Wt]=Array.isArray(ni)?ni.map(qi=>`${qi}`):`${ni}`}),ut=v===T?w:Mr(v,T,w);const tn=tr(ir(ut));return new pt(tn,Ne,ie)}function Mr(v,T,w){const k={};return Object.entries(v.children).forEach(([ie,Ne])=>{k[ie]=Ne===T?w:Mr(Ne,T,w)}),new jt(v.segments,k)}class lr{constructor(T,w,k){if(this.isAbsolute=T,this.numberOfDoubleDots=w,this.commands=k,T&&k.length>0&&qn(k[0]))throw new t.wOt(4003,!1);const ie=k.find(ei);if(ie&&ie!==at(k))throw new t.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class cr{constructor(T,w,k){this.segmentGroup=T,this.processChildren=w,this.index=k}}function st(v,T,w){if(v??=new jt([],{}),0===v.segments.length&&v.hasChildren())return ct(v,T,w);const k=function nn(v,T,w){let k=0,ie=T;const Ne={match:!1,pathIndex:0,commandIndex:0};for(;ie=w.length)return Ne;const ut=v.segments[ie],tn=w[k];if(ei(tn))break;const Wt=`${tn}`,ni=k0&&void 0===Wt)break;if(Wt&&ni&&"object"==typeof ni&&void 0===ni.outlets){if(!Oi(Wt,ni,ut))return Ne;k+=2}else{if(!Oi(Wt,{},ut))return Ne;k++}ie++}return{match:!0,pathIndex:ie,commandIndex:k}}(v,T,w),ie=w.slice(k.commandIndex);if(k.match&&k.pathIndexNe!==gt)&&v.children[gt]&&1===v.numberOfChildren&&0===v.children[gt].segments.length){const Ne=ct(v.children[gt],T,w);return new jt(v.segments,Ne.children)}return Object.entries(k).forEach(([Ne,ut])=>{"string"==typeof ut&&(ut=[ut]),null!==ut&&(ie[Ne]=st(v.children[Ne],T,ut))}),Object.entries(v.children).forEach(([Ne,ut])=>{void 0===k[Ne]&&(ie[Ne]=ut)}),new jt(v.segments,ie)}}function yt(v,T,w){const k=v.segments.slice(0,T);let ie=0;for(;ie{"string"==typeof k&&(k=[k]),null!==k&&(T[w]=yt(new jt([],{}),0,k))}),T}function Bn(v){const T={};return Object.entries(v).forEach(([w,k])=>T[w]=`${k}`),T}function Oi(v,T,w){return v==w.path&&Cn(T,w.parameters)}const Jn="imperative";var ri=function(v){return v[v.NavigationStart=0]="NavigationStart",v[v.NavigationEnd=1]="NavigationEnd",v[v.NavigationCancel=2]="NavigationCancel",v[v.NavigationError=3]="NavigationError",v[v.RoutesRecognized=4]="RoutesRecognized",v[v.ResolveStart=5]="ResolveStart",v[v.ResolveEnd=6]="ResolveEnd",v[v.GuardsCheckStart=7]="GuardsCheckStart",v[v.GuardsCheckEnd=8]="GuardsCheckEnd",v[v.RouteConfigLoadStart=9]="RouteConfigLoadStart",v[v.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",v[v.ChildActivationStart=11]="ChildActivationStart",v[v.ChildActivationEnd=12]="ChildActivationEnd",v[v.ActivationStart=13]="ActivationStart",v[v.ActivationEnd=14]="ActivationEnd",v[v.Scroll=15]="Scroll",v[v.NavigationSkipped=16]="NavigationSkipped",v}(ri||{});class Xi{constructor(T,w){this.id=T,this.url=w}}class Vi extends Xi{constructor(T,w,k="imperative",ie=null){super(T,w),this.type=ri.NavigationStart,this.navigationTrigger=k,this.restoredState=ie}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pi extends Xi{constructor(T,w,k){super(T,w),this.urlAfterRedirects=k,this.type=ri.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var dr=function(v){return v[v.Redirect=0]="Redirect",v[v.SupersededByNewNavigation=1]="SupersededByNewNavigation",v[v.NoDataFromResolver=2]="NoDataFromResolver",v[v.GuardRejected=3]="GuardRejected",v}(dr||{}),Or=function(v){return v[v.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",v[v.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",v}(Or||{});class Fi extends Xi{constructor(T,w,k,ie){super(T,w),this.reason=k,this.code=ie,this.type=ri.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ni extends Xi{constructor(T,w,k,ie){super(T,w),this.reason=k,this.code=ie,this.type=ri.NavigationSkipped}}class Sr extends Xi{constructor(T,w,k,ie){super(T,w),this.error=k,this.target=ie,this.type=ri.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Vr extends Xi{constructor(T,w,k,ie){super(T,w),this.urlAfterRedirects=k,this.state=ie,this.type=ri.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pr extends Xi{constructor(T,w,k,ie){super(T,w),this.urlAfterRedirects=k,this.state=ie,this.type=ri.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fr extends Xi{constructor(T,w,k,ie,Ne){super(T,w),this.urlAfterRedirects=k,this.state=ie,this.shouldActivate=Ne,this.type=ri.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class oo extends Xi{constructor(T,w,k,ie){super(T,w),this.urlAfterRedirects=k,this.state=ie,this.type=ri.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qt extends Xi{constructor(T,w,k,ie){super(T,w),this.urlAfterRedirects=k,this.state=ie,this.type=ri.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pn{constructor(T){this.route=T,this.type=ri.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ft{constructor(T){this.route=T,this.type=ri.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class un{constructor(T){this.snapshot=T,this.type=ri.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pn{constructor(T){this.snapshot=T,this.type=ri.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(T){this.snapshot=T,this.type=ri.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ai{constructor(T){this.snapshot=T,this.type=ri.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zi{constructor(T,w,k){this.routerEvent=T,this.position=w,this.anchor=k,this.type=ri.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Mi{}class li{constructor(T){this.url=T}}class gr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ji,this.attachRef=null}}let Ji=(()=>{class v{constructor(){this.contexts=new Map}onChildOutletCreated(w,k){const ie=this.getOrCreateContext(w);ie.outlet=k,this.contexts.set(w,ie)}onChildOutletDestroyed(w){const k=this.getContext(w);k&&(k.outlet=null,k.attachRef=null)}onOutletDeactivated(){const w=this.contexts;return this.contexts=new Map,w}onOutletReAttached(w){this.contexts=w}getOrCreateContext(w){let k=this.getContext(w);return k||(k=new gr,this.contexts.set(w,k)),k}getContext(w){return this.contexts.get(w)||null}static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})();class Mo{constructor(T){this._root=T}get root(){return this._root.value}parent(T){const w=this.pathFromRoot(T);return w.length>1?w[w.length-2]:null}children(T){const w=Io(T,this._root);return w?w.children.map(k=>k.value):[]}firstChild(T){const w=Io(T,this._root);return w&&w.children.length>0?w.children[0].value:null}siblings(T){const w=so(T,this._root);return w.length<2?[]:w[w.length-2].children.map(ie=>ie.value).filter(ie=>ie!==T)}pathFromRoot(T){return so(T,this._root).map(w=>w.value)}}function Io(v,T){if(v===T.value)return T;for(const w of T.children){const k=Io(v,w);if(k)return k}return null}function so(v,T){if(v===T.value)return[T];for(const w of T.children){const k=so(v,w);if(k.length)return k.unshift(T),k}return[]}class sn{constructor(T,w){this.value=T,this.children=w}toString(){return`TreeNode(${this.value})`}}function ro(v){const T={};return v&&v.children.forEach(w=>T[w.value.outlet]=w),T}class Lo extends Mo{constructor(T,w){super(T),this.snapshot=w,Li(this,T)}toString(){return this.snapshot.toString()}}function Po(v){const T=function $o(v){const Ne=new eo([],{},{},"",{},gt,v,null,{});return new Ar("",new sn(Ne,[]))}(v),w=new E.t([new nt("",{})]),k=new E.t({}),ie=new E.t({}),Ne=new E.t({}),ut=new E.t(""),tn=new Wo(w,k,Ne,ut,ie,gt,v,T.root);return tn.snapshot=T.root,new Lo(new sn(tn,[]),T)}class Wo{constructor(T,w,k,ie,Ne,ut,tn,Wt){this.urlSubject=T,this.paramsSubject=w,this.queryParamsSubject=k,this.fragmentSubject=ie,this.dataSubject=Ne,this.outlet=ut,this.component=tn,this._futureSnapshot=Wt,this.title=this.dataSubject?.pipe((0,je.T)(ni=>ni[an]))??(0,j.of)(void 0),this.url=T,this.params=w,this.queryParams=k,this.fragment=ie,this.data=Ne}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,je.T)(T=>Tn(T))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,je.T)(T=>Tn(T))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ws(v,T,w="emptyOnly"){let k;const{routeConfig:ie}=v;return k=null===T||"always"!==w&&""!==ie?.path&&(T.component||T.routeConfig?.loadComponent)?{params:{...v.params},data:{...v.data},resolve:{...v.data,...v._resolvedData??{}}}:{params:{...T.params,...v.params},data:{...T.data,...v.data},resolve:{...v.data,...T.data,...ie?.data,...v._resolvedData}},ie&&Si(ie)&&(k.resolve[an]=ie.title),k}class eo{get title(){return this.data?.[an]}constructor(T,w,k,ie,Ne,ut,tn,Wt,ni){this.url=T,this.params=w,this.queryParams=k,this.fragment=ie,this.data=Ne,this.outlet=ut,this.component=tn,this.routeConfig=Wt,this._resolve=ni}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??=Tn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Tn(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(k=>k.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ar extends Mo{constructor(T,w){super(w),this.url=T,Li(this,w)}toString(){return vr(this._root)}}function Li(v,T){T.value._routerState=v,T.children.forEach(w=>Li(v,w))}function vr(v){const T=v.children.length>0?` { ${v.children.map(vr).join(", ")} } `:"";return`${v.value}${T}`}function Hr(v){if(v.snapshot){const T=v.snapshot,w=v._futureSnapshot;v.snapshot=w,Cn(T.queryParams,w.queryParams)||v.queryParamsSubject.next(w.queryParams),T.fragment!==w.fragment&&v.fragmentSubject.next(w.fragment),Cn(T.params,w.params)||v.paramsSubject.next(w.params),function ii(v,T){if(v.length!==T.length)return!1;for(let w=0;wCn(w.parameters,T[k].parameters))}(v.url,T.url);return w&&!(!v.parent!=!T.parent)&&(!v.parent||Go(v.parent,T.parent))}function Si(v){return"string"==typeof v.title||null===v.title}let Cs=(()=>{class v{constructor(){this.activated=null,this._activatedRoute=null,this.name=gt,this.activateEvents=new t.bkB,this.deactivateEvents=new t.bkB,this.attachEvents=new t.bkB,this.detachEvents=new t.bkB,this.parentContexts=(0,t.WQX)(Ji),this.location=(0,t.WQX)(t.c1b),this.changeDetector=(0,t.WQX)(t.gRc),this.environmentInjector=(0,t.WQX)(t.uvJ),this.inputBinder=(0,t.WQX)(Ko,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(w){if(w.name){const{firstChange:k,previousValue:ie}=w.name;if(k)return;this.isTrackedInParentContexts(ie)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ie)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(w){return this.parentContexts.getContext(w)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const w=this.parentContexts.getContext(this.name);w?.route&&(w.attachRef?this.attach(w.attachRef,w.route):this.activateWith(w.route,w.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.wOt(4012,!1);this.location.detach();const w=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(w.instance),w}attach(w,k){this.activated=w,this._activatedRoute=k,this.location.insert(w.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(w.instance)}deactivate(){if(this.activated){const w=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(w)}}activateWith(w,k){if(this.isActivated)throw new t.wOt(4013,!1);this._activatedRoute=w;const ie=this.location,ut=w.snapshot.component,tn=this.parentContexts.getOrCreateContext(this.name).children,Wt=new Da(w,tn,ie.injector);this.activated=ie.createComponent(ut,{index:ie.length,injector:Wt,environmentInjector:k??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275dir=t.FsC({type:v,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.OA$]})}return v})();class Da{constructor(T,w,k){this.route=T,this.childContexts=w,this.parent=k,this.__ngOutletInjector=!0}get(T,w){return T===Wo?this.route:T===Ji?this.childContexts:this.parent.get(T,w)}}const Ko=new t.nKC("");function Ir(v,T,w){if(w&&v.shouldReuseRoute(T.value,w.value.snapshot)){const k=w.value;k._futureSnapshot=T.value;const ie=function pa(v,T,w){return T.children.map(k=>{for(const ie of w.children)if(v.shouldReuseRoute(k.value,ie.value.snapshot))return Ir(v,k,ie);return Ir(v,k)})}(v,T,w);return new sn(k,ie)}{if(v.shouldAttach(T.value)){const Ne=v.retrieve(T.value);if(null!==Ne){const ut=Ne.route;return ut.value._futureSnapshot=T.value,ut.children=T.children.map(tn=>Ir(v,tn)),ut}}const k=function to(v){return new Wo(new E.t(v.url),new E.t(v.params),new E.t(v.queryParams),new E.t(v.fragment),new E.t(v.data),v.outlet,v.component,v)}(T.value),ie=T.children.map(Ne=>Ir(v,Ne));return new sn(k,ie)}}const Zs="ngNavigationCancelingError";function hs(v,T){const{redirectTo:w,navigationBehaviorOptions:k}=si(T)?{redirectTo:T,navigationBehaviorOptions:void 0}:T,ie=Do(!1,dr.Redirect);return ie.url=w,ie.navigationBehaviorOptions=k,ie}function Do(v,T){const w=new Error(`NavigationCancelingError: ${v||""}`);return w[Zs]=!0,w.cancellationCode=T,w}function wo(v){return!!v&&v[Zs]}let Gn=(()=>{class v{static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275cmp=t.VBU({type:v,selectors:[["ng-component"]],standalone:!0,features:[t.aNF],decls:1,vars:0,template:function(k,ie){1&k&&t.nrm(0,"router-outlet")},dependencies:[Cs],encapsulation:2})}return v})();function _o(v){const T=v.children&&v.children.map(_o),w=T?{...v,children:T}:{...v};return!w.component&&!w.loadComponent&&(T||w.loadChildren)&&w.outlet&&w.outlet!==gt&&(w.component=Gn),w}function Rr(v){return v.outlet||gt}function Ro(v){if(!v)return null;if(v.routeConfig?._injector)return v.routeConfig._injector;for(let T=v.parent;T;T=T.parent){const w=T.routeConfig;if(w?._loadedInjector)return w._loadedInjector;if(w?._injector)return w._injector}return null}class So{constructor(T,w,k,ie,Ne){this.routeReuseStrategy=T,this.futureState=w,this.currState=k,this.forwardEvent=ie,this.inputBindingEnabled=Ne}activate(T){const w=this.futureState._root,k=this.currState?this.currState._root:null;this.deactivateChildRoutes(w,k,T),Hr(this.futureState.root),this.activateChildRoutes(w,k,T)}deactivateChildRoutes(T,w,k){const ie=ro(w);T.children.forEach(Ne=>{const ut=Ne.value.outlet;this.deactivateRoutes(Ne,ie[ut],k),delete ie[ut]}),Object.values(ie).forEach(Ne=>{this.deactivateRouteAndItsChildren(Ne,k)})}deactivateRoutes(T,w,k){const ie=T.value,Ne=w?w.value:null;if(ie===Ne)if(ie.component){const ut=k.getContext(ie.outlet);ut&&this.deactivateChildRoutes(T,w,ut.children)}else this.deactivateChildRoutes(T,w,k);else Ne&&this.deactivateRouteAndItsChildren(w,k)}deactivateRouteAndItsChildren(T,w){T.value.component&&this.routeReuseStrategy.shouldDetach(T.value.snapshot)?this.detachAndStoreRouteSubtree(T,w):this.deactivateRouteAndOutlet(T,w)}detachAndStoreRouteSubtree(T,w){const k=w.getContext(T.value.outlet),ie=k&&T.value.component?k.children:w,Ne=ro(T);for(const ut of Object.values(Ne))this.deactivateRouteAndItsChildren(ut,ie);if(k&&k.outlet){const ut=k.outlet.detach(),tn=k.children.onOutletDeactivated();this.routeReuseStrategy.store(T.value.snapshot,{componentRef:ut,route:T,contexts:tn})}}deactivateRouteAndOutlet(T,w){const k=w.getContext(T.value.outlet),ie=k&&T.value.component?k.children:w,Ne=ro(T);for(const ut of Object.values(Ne))this.deactivateRouteAndItsChildren(ut,ie);k&&(k.outlet&&(k.outlet.deactivate(),k.children.onOutletDeactivated()),k.attachRef=null,k.route=null)}activateChildRoutes(T,w,k){const ie=ro(w);T.children.forEach(Ne=>{this.activateRoutes(Ne,ie[Ne.value.outlet],k),this.forwardEvent(new ai(Ne.value.snapshot))}),T.children.length&&this.forwardEvent(new Pn(T.value.snapshot))}activateRoutes(T,w,k){const ie=T.value,Ne=w?w.value:null;if(Hr(ie),ie===Ne)if(ie.component){const ut=k.getOrCreateContext(ie.outlet);this.activateChildRoutes(T,w,ut.children)}else this.activateChildRoutes(T,w,k);else if(ie.component){const ut=k.getOrCreateContext(ie.outlet);if(this.routeReuseStrategy.shouldAttach(ie.snapshot)){const tn=this.routeReuseStrategy.retrieve(ie.snapshot);this.routeReuseStrategy.store(ie.snapshot,null),ut.children.onOutletReAttached(tn.contexts),ut.attachRef=tn.componentRef,ut.route=tn.route.value,ut.outlet&&ut.outlet.attach(tn.componentRef,tn.route.value),Hr(tn.route.value),this.activateChildRoutes(T,null,ut.children)}else{const tn=Ro(ie.snapshot);ut.attachRef=null,ut.route=ie,ut.injector=tn,ut.outlet&&ut.outlet.activateWith(ie,ut.injector),this.activateChildRoutes(T,null,ut.children)}}else this.activateChildRoutes(T,null,k)}}class Ra{constructor(T){this.path=T,this.route=this.path[this.path.length-1]}}class Bs{constructor(T,w){this.component=T,this.route=w}}function Zo(v,T,w){const k=v._root;return vo(k,T?T._root:null,w,[k.value])}function no(v,T){const w=Symbol(),k=T.get(v,w);return k===w?"function"!=typeof v||(0,t.LfX)(v)?T.get(v):v:k}function vo(v,T,w,k,ie={canDeactivateChecks:[],canActivateChecks:[]}){const Ne=ro(T);return v.children.forEach(ut=>{(function Qs(v,T,w,k,ie={canDeactivateChecks:[],canActivateChecks:[]}){const Ne=v.value,ut=T?T.value:null,tn=w?w.getContext(v.value.outlet):null;if(ut&&Ne.routeConfig===ut.routeConfig){const Wt=function Rs(v,T,w){if("function"==typeof w)return w(v,T);switch(w){case"pathParamsChange":return!At(v.url,T.url);case"pathParamsOrQueryParamsChange":return!At(v.url,T.url)||!Cn(v.queryParams,T.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Go(v,T)||!Cn(v.queryParams,T.queryParams);default:return!Go(v,T)}}(ut,Ne,Ne.routeConfig.runGuardsAndResolvers);Wt?ie.canActivateChecks.push(new Ra(k)):(Ne.data=ut.data,Ne._resolvedData=ut._resolvedData),vo(v,T,Ne.component?tn?tn.children:null:w,k,ie),Wt&&tn&&tn.outlet&&tn.outlet.isActivated&&ie.canDeactivateChecks.push(new Bs(tn.outlet.component,ut))}else ut&&ne(T,tn,ie),ie.canActivateChecks.push(new Ra(k)),vo(v,null,Ne.component?tn?tn.children:null:w,k,ie)})(ut,Ne[ut.value.outlet],w,k.concat([ut.value]),ie),delete Ne[ut.value.outlet]}),Object.entries(Ne).forEach(([ut,tn])=>ne(tn,w.getContext(ut),ie)),ie}function ne(v,T,w){const k=ro(v),ie=v.value;Object.entries(k).forEach(([Ne,ut])=>{ne(ut,ie.component?T?T.children.getContext(Ne):null:T,w)}),w.canDeactivateChecks.push(new Bs(ie.component&&T&&T.outlet&&T.outlet.isActivated?T.outlet.component:null,ie))}function ae(v){return"function"==typeof v}function fs(v){return v instanceof ee.G||"EmptyError"===v?.name}const wr=Symbol("INITIAL_VALUE");function ts(){return(0,xe.n)(v=>(0,G.z)(v.map(T=>T.pipe((0,ve.s)(1),(0,ye.Z)(wr)))).pipe((0,je.T)(T=>{for(const w of T)if(!0!==w){if(w===wr)return wr;if(!1===w||w instanceof pt)return w}return!0}),(0,pe.p)(T=>T!==wr),(0,ve.s)(1)))}function ea(v){return(0,P.F)((0,be.M)(T=>{if(si(T))throw hs(0,T)}),(0,je.T)(T=>!0===T))}class zs{constructor(T){this.segmentGroup=T||null}}class O extends Error{constructor(T){super(),this.urlTree=T}}function _(v){return(0,I.$)(new zs(v))}class Te{constructor(T,w){this.urlSerializer=T,this.urlTree=w}lineralizeSegments(T,w){let k=[],ie=w.root;for(;;){if(k=k.concat(ie.segments),0===ie.numberOfChildren)return(0,j.of)(k);if(ie.numberOfChildren>1||!ie.children[gt])return(0,I.$)(new t.wOt(4e3,!1));ie=ie.children[gt]}}applyRedirectCommands(T,w,k){const ie=this.applyRedirectCreateUrlTree(w,this.urlSerializer.parse(w),T,k);if(w.startsWith("/"))throw new O(ie);return ie}applyRedirectCreateUrlTree(T,w,k,ie){const Ne=this.createSegmentGroup(T,w.root,k,ie);return new pt(Ne,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(T,w){const k={};return Object.entries(T).forEach(([ie,Ne])=>{if("string"==typeof Ne&&Ne.startsWith(":")){const tn=Ne.substring(1);k[ie]=w[tn]}else k[ie]=Ne}),k}createSegmentGroup(T,w,k,ie){const Ne=this.createSegments(T,w.segments,k,ie);let ut={};return Object.entries(w.children).forEach(([tn,Wt])=>{ut[tn]=this.createSegmentGroup(T,Wt,k,ie)}),new jt(Ne,ut)}createSegments(T,w,k,ie){return w.map(Ne=>Ne.path.startsWith(":")?this.findPosParam(T,Ne,ie):this.findOrReturn(Ne,k))}findPosParam(T,w,k){const ie=k[w.path.substring(1)];if(!ie)throw new t.wOt(4001,!1);return ie}findOrReturn(T,w){let k=0;for(const ie of w){if(ie.path===T.path)return w.splice(k),ie;k++}return T}}const lt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Pt(v,T,w,k,ie){const Ne=zt(v,T,w);return Ne.matched?(k=function es(v,T){return v.providers&&!v._injector&&(v._injector=(0,t.Ol2)(v.providers,T,`Route: ${v.path}`)),v._injector??T}(T,k),function rl(v,T,w,k){const ie=T.canMatch;if(!ie||0===ie.length)return(0,j.of)(!0);const Ne=ie.map(ut=>{const tn=no(ut,v);return _t(function Yo(v){return v&&ae(v.canMatch)}(tn)?tn.canMatch(T,w):(0,t.N4e)(v,()=>tn(T,w)))});return(0,j.of)(Ne).pipe(ts(),ea())}(k,T,w).pipe((0,je.T)(ut=>!0===ut?Ne:{...lt}))):(0,j.of)(Ne)}function zt(v,T,w){if("**"===T.path)return function en(v){return{matched:!0,parameters:v.length>0?at(v).parameters:{},consumedSegments:v,remainingSegments:[],positionalParamSegments:{}}}(w);if(""===T.path)return"full"===T.pathMatch&&(v.hasChildren()||w.length>0)?{...lt}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const ie=(T.matcher||Rn)(w,v,T);if(!ie)return{...lt};const Ne={};Object.entries(ie.posParams??{}).forEach(([tn,Wt])=>{Ne[tn]=Wt.path});const ut=ie.consumed.length>0?{...Ne,...ie.consumed[ie.consumed.length-1].parameters}:Ne;return{matched:!0,consumedSegments:ie.consumed,remainingSegments:w.slice(ie.consumed.length),parameters:ut,positionalParamSegments:ie.posParams??{}}}function on(v,T,w,k){return w.length>0&&function zn(v,T,w){return w.some(k=>Qe(v,T,k)&&Rr(k)!==gt)}(v,w,k)?{segmentGroup:new jt(T,Mn(k,new jt(w,v.children))),slicedSegments:[]}:0===w.length&&function An(v,T,w){return w.some(k=>Qe(v,T,k))}(v,w,k)?{segmentGroup:new jt(v.segments,bn(v,w,k,v.children)),slicedSegments:w}:{segmentGroup:new jt(v.segments,v.children),slicedSegments:w}}function bn(v,T,w,k){const ie={};for(const Ne of w)if(Qe(v,T,Ne)&&!k[Rr(Ne)]){const ut=new jt([],{});ie[Rr(Ne)]=ut}return{...k,...ie}}function Mn(v,T){const w={};w[gt]=T;for(const k of v)if(""===k.path&&Rr(k)!==gt){const ie=new jt([],{});w[Rr(k)]=ie}return w}function Qe(v,T,w){return(!(v.hasChildren()||T.length>0)||"full"!==w.pathMatch)&&""===w.path}class vn{}class hi{constructor(T,w,k,ie,Ne,ut,tn){this.injector=T,this.configLoader=w,this.rootComponentType=k,this.config=ie,this.urlTree=Ne,this.paramsInheritanceStrategy=ut,this.urlSerializer=tn,this.applyRedirects=new Te(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(T){return new t.wOt(4002,`'${T.segmentGroup}'`)}recognize(){const T=on(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(T).pipe((0,je.T)(w=>{const k=new eo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},gt,this.rootComponentType,null,{}),ie=new sn(k,w),Ne=new Ar("",ie),ut=function we(v,T,w=null,k=null){return Rt(Ft(v),T,w,k)}(k,[],this.urlTree.queryParams,this.urlTree.fragment);return ut.queryParams=this.urlTree.queryParams,Ne.url=this.urlSerializer.serialize(ut),this.inheritParamsAndData(Ne._root,null),{state:Ne,tree:ut}}))}match(T){return this.processSegmentGroup(this.injector,this.config,T,gt).pipe((0,Be.W)(k=>{if(k instanceof O)return this.urlTree=k.urlTree,this.match(k.urlTree.root);throw k instanceof zs?this.noMatchError(k):k}))}inheritParamsAndData(T,w){const k=T.value,ie=ws(k,w,this.paramsInheritanceStrategy);k.params=Object.freeze(ie.params),k.data=Object.freeze(ie.data),T.children.forEach(Ne=>this.inheritParamsAndData(Ne,k))}processSegmentGroup(T,w,k,ie){return 0===k.segments.length&&k.hasChildren()?this.processChildren(T,w,k):this.processSegment(T,w,k,k.segments,ie,!0).pipe((0,je.T)(Ne=>Ne instanceof sn?[Ne]:[]))}processChildren(T,w,k){const ie=[];for(const Ne of Object.keys(k.children))"primary"===Ne?ie.unshift(Ne):ie.push(Ne);return(0,D.H)(ie).pipe((0,$t.H)(Ne=>{const ut=k.children[Ne],tn=function Nr(v,T){const w=v.filter(k=>Rr(k)===T);return w.push(...v.filter(k=>Rr(k)!==T)),w}(w,Ne);return this.processSegmentGroup(T,tn,ut,Ne)}),function Re(v,T){return(0,L.N)(function oe(v,T,w,k,ie){return(Ne,ut)=>{let tn=w,Wt=T,ni=0;Ne.subscribe((0,de._)(ut,qi=>{const rr=ni++;Wt=tn?v(Wt,qi,rr):(tn=!0,qi),k&&ut.next(Wt)},ie&&(()=>{tn&&ut.next(Wt),ut.complete()})))}}(v,T,arguments.length>=2,!0))}((Ne,ut)=>(Ne.push(...ut),Ne)),$(null),function ge(v,T){const w=arguments.length>=2;return k=>k.pipe(v?(0,pe.p)((ie,Ne)=>v(ie,Ne,k)):Nt.D,fe(1),w?$(T):Oe(()=>new ee.G))}(),(0,Pe.Z)(Ne=>{if(null===Ne)return _(k);const ut=br(Ne);return function bi(v){v.sort((T,w)=>T.value.outlet===gt?-1:w.value.outlet===gt?1:T.value.outlet.localeCompare(w.value.outlet))}(ut),(0,j.of)(ut)}))}processSegment(T,w,k,ie,Ne,ut){return(0,D.H)(w).pipe((0,$t.H)(tn=>this.processSegmentAgainstRoute(tn._injector??T,w,tn,k,ie,Ne,ut).pipe((0,Be.W)(Wt=>{if(Wt instanceof zs)return(0,j.of)(null);throw Wt}))),Ct(tn=>!!tn),(0,Be.W)(tn=>{if(fs(tn))return function wt(v,T,w){return 0===T.length&&!v.children[w]}(k,ie,Ne)?(0,j.of)(new vn):_(k);throw tn}))}processSegmentAgainstRoute(T,w,k,ie,Ne,ut,tn){return function Et(v,T,w,k){return!!(Rr(v)===k||k!==gt&&Qe(T,w,v))&&zt(T,v,w).matched}(k,ie,Ne,ut)?void 0===k.redirectTo?this.matchSegmentAgainstRoute(T,ie,k,Ne,ut):this.allowRedirects&&tn?this.expandSegmentAgainstRouteUsingRedirect(T,ie,w,k,Ne,ut):_(ie):_(ie)}expandSegmentAgainstRouteUsingRedirect(T,w,k,ie,Ne,ut){const{matched:tn,consumedSegments:Wt,positionalParamSegments:ni,remainingSegments:qi}=zt(w,ie,Ne);if(!tn)return _(w);ie.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const rr=this.applyRedirects.applyRedirectCommands(Wt,ie.redirectTo,ni);return this.applyRedirects.lineralizeSegments(ie,rr).pipe((0,Pe.Z)(io=>this.processSegment(T,k,w,io.concat(qi),ut,!1)))}matchSegmentAgainstRoute(T,w,k,ie,Ne){const ut=Pt(w,k,ie,T);return"**"===k.path&&(w.children={}),ut.pipe((0,xe.n)(tn=>tn.matched?this.getChildConfig(T=k._injector??T,k,ie).pipe((0,xe.n)(({routes:Wt})=>{const ni=k._loadedInjector??T,{consumedSegments:qi,remainingSegments:rr,parameters:io}=tn,Na=new eo(qi,io,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Wr(v){return v.data||{}}(k),Rr(k),k.component??k._loadedComponent??null,k,function ns(v){return v.resolve||{}}(k)),{segmentGroup:ol,slicedSegments:La}=on(w,qi,rr,Wt);if(0===La.length&&ol.hasChildren())return this.processChildren(ni,Wt,ol).pipe((0,je.T)(Vo=>null===Vo?null:new sn(Na,Vo)));if(0===Wt.length&&0===La.length)return(0,j.of)(new sn(Na,[]));const sl=Rr(k)===Ne;return this.processSegment(ni,Wt,ol,La,sl?gt:Ne,!0).pipe((0,je.T)(Vo=>new sn(Na,Vo instanceof sn?[Vo]:[])))})):_(w)))}getChildConfig(T,w,k){return w.children?(0,j.of)({routes:w.children,injector:T}):w.loadChildren?void 0!==w._loadedRoutes?(0,j.of)({routes:w._loadedRoutes,injector:w._loadedInjector}):function qs(v,T,w,k){const ie=T.canLoad;if(void 0===ie||0===ie.length)return(0,j.of)(!0);const Ne=ie.map(ut=>{const tn=no(ut,v);return _t(function Fe(v){return v&&ae(v.canLoad)}(tn)?tn.canLoad(T,w):(0,t.N4e)(v,()=>tn(T,w)))});return(0,j.of)(Ne).pipe(ts(),ea())}(T,w,k).pipe((0,Pe.Z)(ie=>ie?this.configLoader.loadChildren(T,w).pipe((0,be.M)(Ne=>{w._loadedRoutes=Ne.routes,w._loadedInjector=Ne.injector})):function K(v){return(0,I.$)(Do(!1,dr.GuardRejected))}())):(0,j.of)({routes:[],injector:T})}}function $r(v){const T=v.value.routeConfig;return T&&""===T.path}function br(v){const T=[],w=new Set;for(const k of v){if(!$r(k)){T.push(k);continue}const ie=T.find(Ne=>k.value.routeConfig===Ne.value.routeConfig);void 0!==ie?(ie.children.push(...k.children),w.add(ie)):T.push(k)}for(const k of w){const ie=br(k.children);T.push(new sn(k.value,ie))}return T.filter(k=>!w.has(k))}function bo(v){const T=v.children.map(w=>bo(w)).flat();return[v,...T]}function Jo(v){return(0,xe.n)(T=>{const w=v(T);return w?(0,D.H)(w).pipe((0,je.T)(()=>T)):(0,j.of)(T)})}let ko=(()=>{class v{buildTitle(w){let k,ie=w.root;for(;void 0!==ie;)k=this.getResolvedTitleForRoute(ie)??k,ie=ie.children.find(Ne=>Ne.outlet===gt);return k}getResolvedTitleForRoute(w){return w.data[an]}static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:()=>(0,t.WQX)(Z),providedIn:"root"})}return v})(),Z=(()=>{class v extends ko{constructor(w){super(),this.title=w}updateTitle(w){const k=this.buildTitle(w);void 0!==k&&this.title.setTitle(k)}static#e=this.\u0275fac=function(k){return new(k||v)(t.KVO(Ze.hE))};static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})();const ue=new t.nKC("",{providedIn:"root",factory:()=>({})}),N=new t.nKC("");let se=(()=>{class v{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.WQX)(t.Ql9)}loadComponent(w){if(this.componentLoaders.get(w))return this.componentLoaders.get(w);if(w._loadedComponent)return(0,j.of)(w._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(w);const k=_t(w.loadComponent()).pipe((0,je.T)(Tt),(0,be.M)(Ne=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=Ne}),(0,qe.j)(()=>{this.componentLoaders.delete(w)})),ie=new me(k,()=>new Se.B).pipe(re());return this.componentLoaders.set(w,ie),ie}loadChildren(w,k){if(this.childrenLoaders.get(k))return this.childrenLoaders.get(k);if(k._loadedRoutes)return(0,j.of)({routes:k._loadedRoutes,injector:k._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(k);const Ne=function Y(v,T,w,k){return _t(v.loadChildren()).pipe((0,je.T)(Tt),(0,Pe.Z)(ie=>ie instanceof t.Co$||Array.isArray(ie)?(0,j.of)(ie):(0,D.H)(T.compileModuleAsync(ie))),(0,je.T)(ie=>{k&&k(v);let Ne,ut,tn=!1;return Array.isArray(ie)?(ut=ie,!0):(Ne=ie.create(w).injector,ut=Ne.get(N,[],{optional:!0,self:!0}).flat()),{routes:ut.map(_o),injector:Ne}}))}(k,this.compiler,w,this.onLoadEndListener).pipe((0,qe.j)(()=>{this.childrenLoaders.delete(k)})),ut=new me(Ne,()=>new Se.B).pipe(re());return this.childrenLoaders.set(k,ut),ut}static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})();function Tt(v){return function dt(v){return v&&"object"==typeof v&&"default"in v}(v)?v.default:v}let wn=(()=>{class v{static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:()=>(0,t.WQX)(kn),providedIn:"root"})}return v})(),kn=(()=>{class v{shouldProcessUrl(w){return!0}extract(w){return w}merge(w,k){return w}static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})();const Zn=new t.nKC("");let te=(()=>{class v{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Se.B,this.transitionAbortSubject=new Se.B,this.configLoader=(0,t.WQX)(se),this.environmentInjector=(0,t.WQX)(t.uvJ),this.urlSerializer=(0,t.WQX)(jn),this.rootContexts=(0,t.WQX)(Ji),this.location=(0,t.WQX)(tt.aZ),this.inputBindingEnabled=null!==(0,t.WQX)(Ko,{optional:!0}),this.titleStrategy=(0,t.WQX)(ko),this.options=(0,t.WQX)(ue,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,t.WQX)(wn),this.createViewTransition=(0,t.WQX)(Zn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,j.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ie=>this.events.next(new ft(ie)),this.configLoader.onLoadStartListener=ie=>this.events.next(new pn(ie))}complete(){this.transitions?.complete()}handleNavigationRequest(w){const k=++this.navigationId;this.transitions?.next({...this.transitions.value,...w,id:k})}setupNavigations(w,k,ie){return this.transitions=new E.t({id:0,currentUrlTree:k,currentRawUrl:k,extractedUrl:this.urlHandlingStrategy.extract(k),urlAfterRedirects:this.urlHandlingStrategy.extract(k),rawUrl:k,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Jn,restoredState:null,currentSnapshot:ie.snapshot,targetSnapshot:null,currentRouterState:ie,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,pe.p)(Ne=>0!==Ne.id),(0,je.T)(Ne=>({...Ne,extractedUrl:this.urlHandlingStrategy.extract(Ne.rawUrl)})),(0,xe.n)(Ne=>{let ut=!1,tn=!1;return(0,j.of)(Ne).pipe((0,xe.n)(Wt=>{if(this.navigationId>Ne.id)return this.cancelNavigationTransition(Ne,"",dr.SupersededByNewNavigation),A.w;this.currentTransition=Ne,this.currentNavigation={id:Wt.id,initialUrl:Wt.rawUrl,extractedUrl:Wt.extractedUrl,trigger:Wt.source,extras:Wt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const ni=!w.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ni&&"reload"!==(Wt.extras.onSameUrlNavigation??w.onSameUrlNavigation)){const rr="";return this.events.next(new Ni(Wt.id,this.urlSerializer.serialize(Wt.rawUrl),rr,Or.IgnoredSameUrlNavigation)),Wt.resolve(null),A.w}if(this.urlHandlingStrategy.shouldProcessUrl(Wt.rawUrl))return(0,j.of)(Wt).pipe((0,xe.n)(rr=>{const io=this.transitions?.getValue();return this.events.next(new Vi(rr.id,this.urlSerializer.serialize(rr.extractedUrl),rr.source,rr.restoredState)),io!==this.transitions?.getValue()?A.w:Promise.resolve(rr)}),function Qo(v,T,w,k,ie,Ne){return(0,Pe.Z)(ut=>function In(v,T,w,k,ie,Ne,ut="emptyOnly"){return new hi(v,T,w,k,ie,ut,Ne).recognize()}(v,T,w,k,ut.extractedUrl,ie,Ne).pipe((0,je.T)(({state:tn,tree:Wt})=>({...ut,targetSnapshot:tn,urlAfterRedirects:Wt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,w.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,be.M)(rr=>{Ne.targetSnapshot=rr.targetSnapshot,Ne.urlAfterRedirects=rr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:rr.urlAfterRedirects};const io=new Vr(rr.id,this.urlSerializer.serialize(rr.extractedUrl),this.urlSerializer.serialize(rr.urlAfterRedirects),rr.targetSnapshot);this.events.next(io)}));if(ni&&this.urlHandlingStrategy.shouldProcessUrl(Wt.currentRawUrl)){const{id:rr,extractedUrl:io,source:Na,restoredState:ol,extras:La}=Wt,sl=new Vi(rr,this.urlSerializer.serialize(io),Na,ol);this.events.next(sl);const Vo=Po(this.rootComponentType).snapshot;return this.currentTransition=Ne={...Wt,targetSnapshot:Vo,urlAfterRedirects:io,extras:{...La,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=io,(0,j.of)(Ne)}{const rr="";return this.events.next(new Ni(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),rr,Or.IgnoredByUrlHandlingStrategy)),Wt.resolve(null),A.w}}),(0,be.M)(Wt=>{const ni=new Pr(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);this.events.next(ni)}),(0,je.T)(Wt=>(this.currentTransition=Ne={...Wt,guards:Zo(Wt.targetSnapshot,Wt.currentSnapshot,this.rootContexts)},Ne)),function js(v,T){return(0,Pe.Z)(w=>{const{targetSnapshot:k,currentSnapshot:ie,guards:{canActivateChecks:Ne,canDeactivateChecks:ut}}=w;return 0===ut.length&&0===Ne.length?(0,j.of)({...w,guardsResult:!0}):function Js(v,T,w,k){return(0,D.H)(v).pipe((0,Pe.Z)(ie=>function il(v,T,w,k,ie){const Ne=T&&T.routeConfig?T.routeConfig.canDeactivate:null;if(!Ne||0===Ne.length)return(0,j.of)(!0);const ut=Ne.map(tn=>{const Wt=Ro(T)??ie,ni=no(tn,Wt);return _t(function ji(v){return v&&ae(v.canDeactivate)}(ni)?ni.canDeactivate(v,T,w,k):(0,t.N4e)(Wt,()=>ni(v,T,w,k))).pipe(Ct())});return(0,j.of)(ut).pipe(ts())}(ie.component,ie.route,w,T,k)),Ct(ie=>!0!==ie,!0))}(ut,k,ie,v).pipe((0,Pe.Z)(tn=>tn&&function U(v){return"boolean"==typeof v}(tn)?function Us(v,T,w,k){return(0,D.H)(T).pipe((0,$t.H)(ie=>(0,B.x)(function tl(v,T){return null!==v&&T&&T(new un(v)),(0,j.of)(!0)}(ie.route.parent,k),function $i(v,T){return null!==v&&T&&T(new fi(v)),(0,j.of)(!0)}(ie.route,k),function nl(v,T,w){const k=T[T.length-1],Ne=T.slice(0,T.length-1).reverse().map(ut=>function Vs(v){const T=v.routeConfig?v.routeConfig.canActivateChild:null;return T&&0!==T.length?{node:v,guards:T}:null}(ut)).filter(ut=>null!==ut).map(ut=>(0,R.v)(()=>{const tn=ut.guards.map(Wt=>{const ni=Ro(ut.node)??w,qi=no(Wt,ni);return _t(function mi(v){return v&&ae(v.canActivateChild)}(qi)?qi.canActivateChild(k,v):(0,t.N4e)(ni,()=>qi(k,v))).pipe(Ct())});return(0,j.of)(tn).pipe(ts())}));return(0,j.of)(Ne).pipe(ts())}(v,ie.path,w),function Ha(v,T,w){const k=T.routeConfig?T.routeConfig.canActivate:null;if(!k||0===k.length)return(0,j.of)(!0);const ie=k.map(Ne=>(0,R.v)(()=>{const ut=Ro(T)??w,tn=no(Ne,ut);return _t(function vt(v){return v&&ae(v.canActivate)}(tn)?tn.canActivate(T,v):(0,t.N4e)(ut,()=>tn(T,v))).pipe(Ct())}));return(0,j.of)(ie).pipe(ts())}(v,ie.route,w))),Ct(ie=>!0!==ie,!0))}(k,Ne,v,T):(0,j.of)(tn)),(0,je.T)(tn=>({...w,guardsResult:tn})))})}(this.environmentInjector,Wt=>this.events.next(Wt)),(0,be.M)(Wt=>{if(Ne.guardsResult=Wt.guardsResult,si(Wt.guardsResult))throw hs(0,Wt.guardsResult);const ni=new Fr(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot,!!Wt.guardsResult);this.events.next(ni)}),(0,pe.p)(Wt=>!!Wt.guardsResult||(this.cancelNavigationTransition(Wt,"",dr.GuardRejected),!1)),Jo(Wt=>{if(Wt.guards.canActivateChecks.length)return(0,j.of)(Wt).pipe((0,be.M)(ni=>{const qi=new oo(ni.id,this.urlSerializer.serialize(ni.extractedUrl),this.urlSerializer.serialize(ni.urlAfterRedirects),ni.targetSnapshot);this.events.next(qi)}),(0,xe.n)(ni=>{let qi=!1;return(0,j.of)(ni).pipe(function Xr(v,T){return(0,Pe.Z)(w=>{const{targetSnapshot:k,guards:{canActivateChecks:ie}}=w;if(!ie.length)return(0,j.of)(w);const Ne=new Set(ie.map(Wt=>Wt.route)),ut=new Set;for(const Wt of Ne)if(!ut.has(Wt))for(const ni of bo(Wt))ut.add(ni);let tn=0;return(0,D.H)(ut).pipe((0,$t.H)(Wt=>Ne.has(Wt)?function sr(v,T,w,k){const ie=v.routeConfig,Ne=v._resolve;return void 0!==ie?.title&&!Si(ie)&&(Ne[an]=ie.title),function Co(v,T,w,k){const ie=ot(v);if(0===ie.length)return(0,j.of)({});const Ne={};return(0,D.H)(ie).pipe((0,Pe.Z)(ut=>function ps(v,T,w,k){const ie=Ro(T)??k,Ne=no(v,ie);return _t(Ne.resolve?Ne.resolve(T,w):(0,t.N4e)(ie,()=>Ne(T,w)))}(v[ut],T,w,k).pipe(Ct(),(0,be.M)(tn=>{Ne[ut]=tn}))),fe(1),(0,ke.u)(Ne),(0,Be.W)(ut=>fs(ut)?A.w:(0,I.$)(ut)))}(Ne,v,T,k).pipe((0,je.T)(ut=>(v._resolvedData=ut,v.data=ws(v,v.parent,w).resolve,null)))}(Wt,k,v,T):(Wt.data=ws(Wt,Wt.parent,v).resolve,(0,j.of)(void 0))),(0,be.M)(()=>tn++),fe(1),(0,Pe.Z)(Wt=>tn===ut.size?(0,j.of)(w):A.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,be.M)({next:()=>qi=!0,complete:()=>{qi||this.cancelNavigationTransition(ni,"",dr.NoDataFromResolver)}}))}),(0,be.M)(ni=>{const qi=new qt(ni.id,this.urlSerializer.serialize(ni.extractedUrl),this.urlSerializer.serialize(ni.urlAfterRedirects),ni.targetSnapshot);this.events.next(qi)}))}),Jo(Wt=>{const ni=qi=>{const rr=[];qi.routeConfig?.loadComponent&&!qi.routeConfig._loadedComponent&&rr.push(this.configLoader.loadComponent(qi.routeConfig).pipe((0,be.M)(io=>{qi.component=io}),(0,je.T)(()=>{})));for(const io of qi.children)rr.push(...ni(io));return rr};return(0,G.z)(ni(Wt.targetSnapshot.root)).pipe($(null),(0,ve.s)(1))}),Jo(()=>this.afterPreactivation()),(0,xe.n)(()=>{const{currentSnapshot:Wt,targetSnapshot:ni}=Ne,qi=this.createViewTransition?.(this.environmentInjector,Wt.root,ni.root);return qi?(0,D.H)(qi).pipe((0,je.T)(()=>Ne)):(0,j.of)(Ne)}),(0,je.T)(Wt=>{const ni=function fa(v,T,w){const k=Ir(v,T._root,w?w._root:void 0);return new Lo(k,T)}(w.routeReuseStrategy,Wt.targetSnapshot,Wt.currentRouterState);return this.currentTransition=Ne={...Wt,targetRouterState:ni},this.currentNavigation.targetRouterState=ni,Ne}),(0,be.M)(()=>{this.events.next(new Mi)}),((v,T,w,k)=>(0,je.T)(ie=>(new So(T,ie.targetRouterState,ie.currentRouterState,w,k).activate(v),ie)))(this.rootContexts,w.routeReuseStrategy,Wt=>this.events.next(Wt),this.inputBindingEnabled),(0,ve.s)(1),(0,be.M)({next:Wt=>{ut=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pi(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Wt.targetRouterState.snapshot),Wt.resolve(!0)},complete:()=>{ut=!0}}),(0,Ce.Q)(this.transitionAbortSubject.pipe((0,be.M)(Wt=>{throw Wt}))),(0,qe.j)(()=>{!ut&&!tn&&this.cancelNavigationTransition(Ne,"",dr.SupersededByNewNavigation),this.currentTransition?.id===Ne.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Be.W)(Wt=>{if(tn=!0,wo(Wt))this.events.next(new Fi(Ne.id,this.urlSerializer.serialize(Ne.extractedUrl),Wt.message,Wt.cancellationCode)),function Xo(v){return wo(v)&&si(v.url)}(Wt)?this.events.next(new li(Wt.url)):Ne.resolve(!1);else{this.events.next(new Sr(Ne.id,this.urlSerializer.serialize(Ne.extractedUrl),Wt,Ne.targetSnapshot??void 0));try{Ne.resolve(w.errorHandler(Wt))}catch(ni){this.options.resolveNavigationPromiseOnError?Ne.resolve(!1):Ne.reject(ni)}}return A.w}))}))}cancelNavigationTransition(w,k,ie){const Ne=new Fi(w.id,this.urlSerializer.serialize(w.extractedUrl),k,ie);this.events.next(Ne),w.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})();function $e(v){return v!==Jn}let Ut=(()=>{class v{static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:()=>(0,t.WQX)(Wn),providedIn:"root"})}return v})();class dn{shouldDetach(T){return!1}store(T,w){}shouldAttach(T){return!1}retrieve(T){return null}shouldReuseRoute(T,w){return T.routeConfig===w.routeConfig}}let Wn=(()=>{class v extends dn{static#e=this.\u0275fac=(()=>{let w;return function(ie){return(w||(w=t.xGo(v)))(ie||v)}})();static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})(),xi=(()=>{class v{static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:()=>(0,t.WQX)(Yi),providedIn:"root"})}return v})(),Yi=(()=>{class v extends xi{constructor(){super(...arguments),this.location=(0,t.WQX)(tt.aZ),this.urlSerializer=(0,t.WQX)(jn),this.options=(0,t.WQX)(ue,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,t.WQX)(wn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new pt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Po(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(w){return this.location.subscribe(k=>{"popstate"===k.type&&w(k.url,k.state)})}handleRouterEvent(w,k){if(w instanceof Vi)this.stateMemento=this.createStateMemento();else if(w instanceof Ni)this.rawUrlTree=k.initialUrl;else if(w instanceof Vr){if("eager"===this.urlUpdateStrategy&&!k.extras.skipLocationChange){const ie=this.urlHandlingStrategy.merge(k.finalUrl,k.initialUrl);this.setBrowserUrl(ie,k)}}else w instanceof Mi?(this.currentUrlTree=k.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(k.finalUrl,k.initialUrl),this.routerState=k.targetRouterState,"deferred"===this.urlUpdateStrategy&&(k.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,k))):w instanceof Fi&&(w.code===dr.GuardRejected||w.code===dr.NoDataFromResolver)?this.restoreHistory(k):w instanceof Sr?this.restoreHistory(k,!0):w instanceof Pi&&(this.lastSuccessfulId=w.id,this.currentPageId=this.browserPageId)}setBrowserUrl(w,k){const ie=this.urlSerializer.serialize(w);if(this.location.isCurrentPathEqualTo(ie)||k.extras.replaceUrl){const ut={...k.extras.state,...this.generateNgRouterState(k.id,this.browserPageId)};this.location.replaceState(ie,"",ut)}else{const Ne={...k.extras.state,...this.generateNgRouterState(k.id,this.browserPageId+1)};this.location.go(ie,"",Ne)}}restoreHistory(w,k=!1){if("computed"===this.canceledNavigationResolution){const Ne=this.currentPageId-this.browserPageId;0!==Ne?this.location.historyGo(Ne):this.currentUrlTree===w.finalUrl&&0===Ne&&(this.resetState(w),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(k&&this.resetState(w),this.resetUrlToCurrentUrlTree())}resetState(w){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,w.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(w,k){return"computed"===this.canceledNavigationResolution?{navigationId:w,\u0275routerPageId:k}:{navigationId:w}}static#e=this.\u0275fac=(()=>{let w;return function(ie){return(w||(w=t.xGo(v)))(ie||v)}})();static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})();var Hi=function(v){return v[v.COMPLETE=0]="COMPLETE",v[v.FAILED=1]="FAILED",v[v.REDIRECTING=2]="REDIRECTING",v}(Hi||{});function Zr(v){throw v}const yr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Wi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ci=(()=>{class v{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,t.WQX)(t.H3F),this.stateManager=(0,t.WQX)(xi),this.options=(0,t.WQX)(ue,{optional:!0})||{},this.pendingTasks=(0,t.WQX)(t.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,t.WQX)(te),this.urlSerializer=(0,t.WQX)(jn),this.location=(0,t.WQX)(tt.aZ),this.urlHandlingStrategy=(0,t.WQX)(wn),this._events=new Se.B,this.errorHandler=this.options.errorHandler||Zr,this.navigated=!1,this.routeReuseStrategy=(0,t.WQX)(Ut),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,t.WQX)(N,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,t.WQX)(Ko,{optional:!0}),this.eventsSubscription=new F.yU,this.isNgZoneEnabled=(0,t.WQX)(t.SKi)instanceof t.SKi&&t.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:w=>{this.console.warn(w)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const w=this.navigationTransitions.events.subscribe(k=>{try{const ie=this.navigationTransitions.currentTransition,Ne=this.navigationTransitions.currentNavigation;if(null!==ie&&null!==Ne)if(this.stateManager.handleRouterEvent(k,Ne),k instanceof Fi&&k.code!==dr.Redirect&&k.code!==dr.SupersededByNewNavigation)this.navigated=!0;else if(k instanceof Pi)this.navigated=!0;else if(k instanceof li){const ut=this.urlHandlingStrategy.merge(k.url,ie.currentRawUrl),tn={info:ie.extras.info,skipLocationChange:ie.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$e(ie.source)};this.scheduleNavigation(ut,Jn,null,tn,{resolve:ie.resolve,reject:ie.reject,promise:ie.promise})}(function oi(v){return!(v instanceof Mi||v instanceof li)})(k)&&this._events.next(k)}catch(ie){this.navigationTransitions.transitionAbortSubject.next(ie)}});this.eventsSubscription.add(w)}resetRootComponentType(w){this.routerState.root.component=w,this.navigationTransitions.rootComponentType=w}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Jn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((w,k)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(w,"popstate",k)},0)})}navigateToSyncWithBrowser(w,k,ie){const Ne={replaceUrl:!0},ut=ie?.navigationId?ie:null;if(ie){const Wt={...ie};delete Wt.navigationId,delete Wt.\u0275routerPageId,0!==Object.keys(Wt).length&&(Ne.state=Wt)}const tn=this.parseUrl(w);this.scheduleNavigation(tn,k,ut,Ne)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(w){this.config=w.map(_o),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(w,k={}){const{relativeTo:ie,queryParams:Ne,fragment:ut,queryParamsHandling:tn,preserveFragment:Wt}=k,ni=Wt?this.currentUrlTree.fragment:ut;let rr,qi=null;switch(tn){case"merge":qi={...this.currentUrlTree.queryParams,...Ne};break;case"preserve":qi=this.currentUrlTree.queryParams;break;default:qi=Ne||null}null!==qi&&(qi=this.removeEmptyProps(qi));try{rr=Ft(ie?ie.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof w[0]||!w[0].startsWith("/"))&&(w=[]),rr=this.currentUrlTree.root}return Rt(rr,w,qi,ni??null)}navigateByUrl(w,k={skipLocationChange:!1}){const ie=si(w)?w:this.parseUrl(w),Ne=this.urlHandlingStrategy.merge(ie,this.rawUrlTree);return this.scheduleNavigation(Ne,Jn,null,k)}navigate(w,k={skipLocationChange:!1}){return function Fn(v){for(let T=0;T(null!=Ne&&(k[ie]=Ne),k),{})}scheduleNavigation(w,k,ie,Ne,ut){if(this.disposed)return Promise.resolve(!1);let tn,Wt,ni;ut?(tn=ut.resolve,Wt=ut.reject,ni=ut.promise):ni=new Promise((rr,io)=>{tn=rr,Wt=io});const qi=this.pendingTasks.add();return function Ti(v,T){v.events.pipe((0,pe.p)(w=>w instanceof Pi||w instanceof Fi||w instanceof Sr||w instanceof Ni),(0,je.T)(w=>w instanceof Pi||w instanceof Ni?Hi.COMPLETE:w instanceof Fi&&(w.code===dr.Redirect||w.code===dr.SupersededByNewNavigation)?Hi.REDIRECTING:Hi.FAILED),(0,pe.p)(w=>w!==Hi.REDIRECTING),(0,ve.s)(1)).subscribe(()=>{T()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(qi))}),this.navigationTransitions.handleNavigationRequest({source:k,restoredState:ie,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:w,extras:Ne,resolve:tn,reject:Wt,promise:ni,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ni.catch(rr=>Promise.reject(rr))}static#e=this.\u0275fac=function(k){return new(k||v)};static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})(),Cr=(()=>{class v{constructor(w,k,ie,Ne,ut,tn){this.router=w,this.route=k,this.tabIndexAttribute=ie,this.renderer=Ne,this.el=ut,this.locationStrategy=tn,this.href=null,this.commands=null,this.onChanges=new Se.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Wt=ut.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Wt||"area"===Wt,this.isAnchorElement?this.subscription=w.events.subscribe(ni=>{ni instanceof Pi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(w){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",w)}ngOnChanges(w){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(w){null!=w?(this.commands=Array.isArray(w)?w:[w],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(w,k,ie,Ne,ut){const tn=this.urlTree;return!!(null===tn||this.isAnchorElement&&(0!==w||k||ie||Ne||ut||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(tn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const w=this.urlTree;this.href=null!==w&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(w)):null;const k=null===this.href?null:(0,t.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",k)}applyAttributeValue(w,k){const ie=this.renderer,Ne=this.el.nativeElement;null!==k?ie.setAttribute(Ne,w,k):ie.removeAttribute(Ne,w)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(k){return new(k||v)(t.rXU(Ci),t.rXU(Wo),t.kS0("tabindex"),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(tt.hb))};static#t=this.\u0275dir=t.FsC({type:v,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(k,ie){1&k&&t.bIt("click",function(ut){return ie.onClick(ut.button,ut.ctrlKey,ut.shiftKey,ut.altKey,ut.metaKey)}),2&k&&t.BMQ("target",ie.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[t.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",t.L39],skipLocationChange:[t.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",t.L39],replaceUrl:[t.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",t.L39],routerLink:"routerLink"},standalone:!0,features:[t.GFd,t.OA$]})}return v})();const qo=new t.nKC("");let Bi=(()=>{class v{constructor(w,k,ie,Ne,ut={}){this.urlSerializer=w,this.transitions=k,this.viewportScroller=ie,this.zone=Ne,this.options=ut,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ut.scrollPositionRestoration||="disabled",ut.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(w=>{w instanceof Vi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=w.navigationTrigger,this.restoredId=w.restoredState?w.restoredState.navigationId:0):w instanceof Pi?(this.lastId=w.id,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.urlAfterRedirects).fragment)):w instanceof Ni&&w.code===Or.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof Zi&&(w.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(w.position):w.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(w.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(w,k){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Zi(w,"popstate"===this.lastSource?this.store[this.restoredId]:null,k))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(k){t.QTQ()};static#t=this.\u0275prov=t.jDH({token:v,factory:v.\u0275fac})}return v})();function Es(v,...T){return(0,t.EmA)([{provide:N,multi:!0,useValue:v},[],{provide:Wo,useFactory:Bl,deps:[Ci]},{provide:t.iLQ,multi:!0,useFactory:Hs},T.map(w=>w.\u0275providers)])}function Bl(v){return v.routerState.root}function is(v,T){return{\u0275kind:v,\u0275providers:T}}function Ms(v={}){return is(4,[{provide:qo,useFactory:()=>{const w=(0,t.WQX)(tt.Xr),k=(0,t.WQX)(t.SKi),ie=(0,t.WQX)(te),Ne=(0,t.WQX)(jn);return new Bi(Ne,ie,w,k,v)}}])}function Hs(){const v=(0,t.WQX)(t.zZn);return T=>{const w=v.get(t.o8S);if(T!==w.components[0])return;const k=v.get(Ci),ie=v.get(gl);1===v.get(Ae)&&k.initialNavigation(),v.get(ur,null,t.$GK.Optional)?.setUpPreloading(),v.get(qo,null,t.$GK.Optional)?.init(),k.resetRootComponentType(w.componentTypes[0]),ie.closed||(ie.next(),ie.complete(),ie.unsubscribe())}}const gl=new t.nKC("",{factory:()=>new Se.B}),Ae=new t.nKC("",{providedIn:"root",factory:()=>1}),ur=new t.nKC("");function ra(v){return is(5,[{provide:ue,useValue:v}])}},4141:(kt,De,u)=>{"use strict";u.d(De,{MS:()=>ee,UT:()=>G,WR:()=>E,bl:()=>p});var t=u(9163),p=new t.DX,D=new WeakMap;function j(R){var P=D.get(R);return P||D.set(R,P={vars:new Set,dep:(0,t.yN)()}),P}function E(R){j(R).vars.forEach(function(P){return P.forgetCache(R)})}function ee(R){j(R).vars.forEach(function(P){return P.attachCache(R)})}function G(R){var P=new Set,I=new Set,A=function(F){if(arguments.length>0){if(R!==F){R=F,P.forEach(function(re){j(re).dep.dirty(A),function B(R){R.broadcastWatches&&R.broadcastWatches()}(re)});var L=Array.from(I);I.clear(),L.forEach(function(re){return re(R)})}}else{var de=p.getValue();de&&(b(de),j(de).dep(A))}return R};A.onNextChange=function(F){return I.add(F),function(){I.delete(F)}};var b=A.attachCache=function(F){return P.add(F),j(F).vars.add(A),A};return A.forgetCache=function(F){return P.delete(F)},A}},9471:(kt,De,u)=>{"use strict";u.d(De,{a:()=>G});var t=u(1635),p=u(9860),D=u(4229),j=u(6108),E=u(4183),ee=u(1367);function G(I,A,b,F){var L=A.data,de=(0,t.Tt)(A,["data"]),re=b.data,me=(0,t.Tt)(b,["data"]);return(0,p.A)(de,me)&&B((0,D.Vn)(I).selectionSet,L,re,{fragmentMap:(0,j.JG)((0,D.zK)(I)),variables:F})}function B(I,A,b,F){if(A===b)return!0;var L=new Set;return I.selections.every(function(de){if(L.has(de)||(L.add(de),!(0,E.MS)(de,F.variables))||R(de))return!0;if((0,ee.dt)(de)){var re=(0,ee.ue)(de),me=A&&A[re],Se=b&&b[re],tt=de.selectionSet;if(!tt)return(0,p.A)(me,Se);var je=Array.isArray(me),xe=Array.isArray(Se);if(je!==xe)return!1;if(je&&xe){var ve=me.length;if(Se.length!==ve)return!1;for(var ye=0;ye{"use strict";u.d(De,{C:()=>I});var t=u(807),p=u(7994),D=u(1635),E=u(4229);function B(A,b){return b?b(A):p.c.of()}function R(A){return"function"==typeof A?new I(A):A}function P(A){return A.request.length<=1}var I=function(){function A(b){b&&(this.request=b)}return A.empty=function(){return new A(function(){return p.c.of()})},A.from=function(b){return 0===b.length?A.empty():b.map(R).reduce(function(F,L){return F.concat(L)})},A.split=function(b,F,L){var me,de=R(F),re=R(L||new A(B));return me=P(de)&&P(re)?new A(function(Se){return b(Se)?de.request(Se)||p.c.of():re.request(Se)||p.c.of()}):new A(function(Se,tt){return b(Se)?de.request(Se,tt)||p.c.of():re.request(Se,tt)||p.c.of()}),Object.assign(me,{left:de,right:re})},A.execute=function(b,F){return b.request(function j(A,b){var F=(0,D.Cl)({},A);return Object.defineProperty(b,"setContext",{enumerable:!1,value:function(re){F=(0,D.Cl)((0,D.Cl)({},F),"function"==typeof re?re(F):re)}}),Object.defineProperty(b,"getContext",{enumerable:!1,value:function(){return(0,D.Cl)({},F)}}),b}(F.context,function ee(A){var b={variables:A.variables||{},extensions:A.extensions||{},operationName:A.operationName,query:A.query};return b.operationName||(b.operationName="string"!=typeof b.query?(0,E.n4)(b.query)||void 0:""),b}(function G(A){for(var b=["query","operationName","variables","extensions","context"],F=0,L=Object.keys(A);F{"use strict";u.d(De,{S:()=>G});var t=u(1955),p=u(2848),D=u(1367),j=u(4183),E=u(6882),ee=u(807);function G(I,A,b){return E.yV.withValue(!0,function(){var F=R(I,A,b,!1);return Object.isFrozen(I)&&(0,p.G)(F),F})}function R(I,A,b,F,L){var de,re=b.knownChanged,me=function B(I,A){if(A.has(I))return A.get(I);var b=Array.isArray(I)?[]:Object.create(null);return A.set(I,b),b}(I,b.mutableTargets);if(Array.isArray(I)){for(var Se=0,tt=Array.from(I.entries());Se{"use strict";u.d(De,{z:()=>B});var t=u(1955),p=u(6882),D=u(807),j=u(9860),E=u(2390),ee=u(6108),G=u(4229);function B(R,P,I,A){if(!I.fragmentMatches)return!1!==globalThis.__DEV__&&(0,p.Ki)(),R;var b=P.definitions.filter(function(L){return L.kind===t.b.FRAGMENT_DEFINITION});typeof A>"u"&&((0,D.V1)(1===b.length,49,b.length),A=b[0].name.value);var F=b.find(function(L){return L.name.value===A});return(0,D.V1)(!!F,50,A),null==R||(0,j.A)(R,{})?R:(0,E.S)(R,F.selectionSet,{operationType:"fragment",operationName:F.name.value,fragmentMap:(0,ee.JG)((0,G.zK)(P)),cache:I,mutableTargets:new p.jq,knownChanged:new p.xm})}},6882:(kt,De,u)=>{"use strict";u.d(De,{Ki:()=>B,jq:()=>j,xm:()=>E,yV:()=>ee});var t=u(9163),p=u(807),D=u(6500),j=D.et?WeakMap:Map,E=D.En?WeakSet:Set,ee=new t.DX,G=!1;function B(){G||(G=!0,!1!==globalThis.__DEV__&&p.V1.warn(52))}},2170:(kt,De,u)=>{"use strict";u.d(De,{A:()=>E,V:()=>ee});var t=u(9055),p=u(6476),D=new WeakSet;function j(G){G.size<=(G.max||-1)||D.has(G)||(D.add(G),setTimeout(function(){G.clean(),D.delete(G)},100))}var E=function(G,B){var R=new t.l(G,B);return R.set=function(P,I){var A=t.l.prototype.set.call(this,P,I);return j(this),A},R},ee=function(G,B){var R=new p.C(G,B);return R.set=function(P,I){var A=p.C.prototype.set.call(this,P,I);return j(this),A},R}},8782:(kt,De,u)=>{"use strict";u.d(De,{D_:()=>j,cM:()=>ee,ep:()=>E,tQ:()=>G});var t=u(1635),p=u(2151),D={};function j(me,Se){D[me]=Se}var E=!1!==globalThis.__DEV__?function R(){var me,Se,tt,je,xe;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(Se){var tt=Se[0];return[tt,p.v[tt]||Se[1]]})),sizes:(0,t.Cl)({print:null===(me=D.print)||void 0===me?void 0:me.call(D),parser:null===(Se=D.parser)||void 0===Se?void 0:Se.call(D),canonicalStringify:null===(tt=D.canonicalStringify)||void 0===tt?void 0:tt.call(D),links:re(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:L(this.queryManager.documentTransform)}},null===(xe=(je=this.cache).getMemoryInternals)||void 0===xe?void 0:xe.call(je))}}:void 0,ee=!1!==globalThis.__DEV__?function I(){var me=this.config.fragments;return(0,t.Cl)((0,t.Cl)({},P.apply(this)),{addTypenameDocumentTransform:L(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:b(this.storeReader.executeSelectionSet),executeSubSelectedArray:b(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:b(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:b(me?.findFragmentSpreads),lookup:b(me?.lookup),transform:b(me?.transform)}})}:void 0,G=!1!==globalThis.__DEV__?P:void 0;function P(){return{cache:{fragmentQueryDocuments:b(this.getFragmentDoc)}}}function b(me){return function A(me){return!!me&&"dirtyKey"in me}(me)?me.size:void 0}function F(me){return null!=me}function L(me){return de(me).map(function(Se){return{cache:Se}})}function de(me){return me?(0,t.fX)((0,t.fX)([b(me?.performWork)],de(me?.left),!0),de(me?.right),!0).filter(F):[]}function re(me){var Se;return me?(0,t.fX)((0,t.fX)([null===(Se=me?.getMemoryInternals)||void 0===Se?void 0:Se.call(me)],re(me?.left),!0),re(me?.right),!0).filter(F):[]}},2151:(kt,De,u)=>{"use strict";u.d(De,{v:()=>j});var t=u(1635),p=u(807),D=Symbol.for("apollo.cacheSize"),j=(0,t.Cl)({},p.Sf[D])},7715:(kt,De,u)=>{"use strict";u.d(De,{E:()=>p,c:()=>t});var t=Array.isArray;function p(D){return Array.isArray(D)&&D.length>0}},6500:(kt,De,u)=>{"use strict";u.d(De,{En:()=>j,et:()=>D,ol:()=>E,uJ:()=>ee});var t=u(807),p="ReactNative"==(0,t.no)(function(){return navigator.product}),D="function"==typeof WeakMap&&!(p&&!global.HermesInternal),j="function"==typeof WeakSet,E="function"==typeof Symbol&&"function"==typeof Symbol.for,ee=E&&Symbol.asyncIterator;(0,t.no)(function(){return window.document.createElement}),(0,t.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},2130:(kt,De,u)=>{"use strict";u.d(De,{M:()=>j});var E,t=u(2170),p=u(2151),D=u(8782),j=Object.assign(function(R){return JSON.stringify(R,ee)},{reset:function(){E=new t.V(p.v.canonicalStringify||1e3)}});function ee(B,R){if(R&&"object"==typeof R){var P=Object.getPrototypeOf(R);if(P===Object.prototype||null===P){var I=Object.keys(R);if(I.every(G))return R;var A=JSON.stringify(I),b=E.get(A);if(!b){I.sort();var F=JSON.stringify(I);b=E.get(F)||I,E.set(A,b),E.set(F,b)}var L=Object.create(P);return b.forEach(function(de){L[de]=R[de]}),L}}return R}function G(B,R,P){return 0===R||P[R-1]<=B}!1!==globalThis.__DEV__&&(0,D.D_)("canonicalStringify",function(){return E.size}),j.reset()},4246:(kt,De,u)=>{"use strict";u.d(De,{m:()=>p});var t=Object.prototype.toString;function p(j){return D(j)}function D(j,E){switch(t.call(j)){case"[object Array]":if((E=E||new Map).has(j))return E.get(j);var ee=j.slice(0);return E.set(j,ee),ee.forEach(function(B,R){ee[R]=D(B,E)}),ee;case"[object Object]":if((E=E||new Map).has(j))return E.get(j);var G=Object.create(Object.getPrototypeOf(j));return E.set(j,G),Object.keys(j).forEach(function(B){G[B]=D(j[B],E)}),G;default:return j}}},120:(kt,De,u)=>{"use strict";function t(){for(var p=[],D=0;Dt})},9977:(kt,De,u)=>{"use strict";u.d(De,{v:()=>p});var t=new Map;function p(D){var j=t.get(D)||1;return t.set(D,j+1),"".concat(D,":").concat(j,":").concat(Math.random().toString(36).slice(2))}},2848:(kt,De,u)=>{"use strict";u.d(De,{G:()=>j});var t=u(1181);function j(E){return!1!==globalThis.__DEV__&&function p(E){var ee=new Set([E]);return ee.forEach(function(G){(0,t.U)(G)&&function D(E){if(!1!==globalThis.__DEV__&&!Object.isFrozen(E))try{Object.freeze(E)}catch(ee){if(ee instanceof TypeError)return null;throw ee}return E}(G)===G&&Object.getOwnPropertyNames(G).forEach(function(B){(0,t.U)(G[B])&&ee.add(G[B])})}),E}(E),E}},1115:(kt,De,u)=>{"use strict";u.d(De,{D9:()=>j,IM:()=>E,ZI:()=>G});var t=u(1635),p=u(1181),D=Object.prototype.hasOwnProperty;function j(){for(var B=[],R=0;R1)for(var I=new G,A=1;A{"use strict";function t(D){return null!==D&&"object"==typeof D}u.d(De,{U:()=>t})},1687:(kt,De,u)=>{"use strict";u.d(De,{p:()=>p});var t=u(9977);function p(D,j){void 0===j&&(j=0);var E=(0,t.v)("stringifyForDisplay");return JSON.stringify(D,function(ee,G){return void 0===G?E:G},j).split(JSON.stringify(E)).join("")}},807:(kt,De,u)=>{"use strict";u.d(De,{Sf:()=>F,V1:()=>re,no:()=>b,vA:()=>me});var t=u(1635),p="Invariant Violation",D=Object.setPrototypeOf,j=void 0===D?function(ye,pe){return ye.__proto__=pe,ye}:D,E=function(ye){function pe(Pe){void 0===Pe&&(Pe=p);var $=ye.call(this,"number"==typeof Pe?p+": "+Pe+" (see https://github.com/apollographql/invariant-packages)":Pe)||this;return $.framesToPop=1,$.name=p,j($,pe.prototype),$}return(0,t.C6)(pe,ye),pe}(Error);function ee(ye,pe){if(!ye)throw new E(pe)}var ye,G=["debug","log","warn","error","silent"],B=G.indexOf("log");function R(ye){return function(){if(G.indexOf(ye)>=B)return(console[ye]||console.log).apply(console,arguments)}}(ye=ee||(ee={})).debug=R("debug"),ye.log=R("log"),ye.warn=R("warn"),ye.error=R("error");var A=u(560);function b(ye){try{return ye()}catch{}}const F=b(function(){return globalThis})||b(function(){return window})||b(function(){return self})||b(function(){return global})||b(function(){return b.constructor("return this")()});var L=u(1687);function de(ye){return function(pe){for(var Pe=[],$=1;$"}}function je(ye,pe){if(void 0===pe&&(pe=[]),ye)return F[Se]&&F[Se](ye,pe.map(tt))}function xe(ye,pe){if(void 0===pe&&(pe=[]),ye)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:A.r,message:ye,args:pe.map(tt)})))}globalThis},8926:(kt,De,u)=>{"use strict";u.d(De,{c:()=>R});var t=u(4420),p=u(6500),D=u(4229),j=u(807),E=u(9055),ee=u(9163),G=u(2151);function B(P){return P}var R=function(){function P(I,A){void 0===A&&(A=Object.create(null)),this.resultCache=p.En?new WeakSet:new Set,this.transform=I,A.getCacheKey&&(this.getCacheKey=A.getCacheKey),this.cached=!1!==A.cache,this.resetCache()}return P.prototype.getCacheKey=function(I){return[I]},P.identity=function(){return new P(B,{cache:!1})},P.split=function(I,A,b){return void 0===b&&(b=P.identity()),Object.assign(new P(function(F){return(I(F)?A:b).transformDocument(F)},{cache:!1}),{left:A,right:b})},P.prototype.resetCache=function(){var I=this;if(this.cached){var A=new t.b(p.et);this.performWork=(0,ee.LV)(P.prototype.performWork.bind(this),{makeCacheKey:function(b){var F=I.getCacheKey(b);if(F)return(0,j.V1)(Array.isArray(F),77),A.lookupArray(F)},max:G.v["documentTransform.cache"],cache:E.l})}},P.prototype.performWork=function(I){return(0,D.sw)(I),this.transform(I)},P.prototype.transformDocument=function(I){if(this.resultCache.has(I))return I;var A=this.performWork(I);return this.resultCache.add(A),A},P.prototype.concat=function(I){var A=this;return Object.assign(new P(function(b){return I.transformDocument(A.transformDocument(b))},{cache:!1}),{left:this,right:I})},P}()},4183:(kt,De,u)=>{"use strict";u.d(De,{MS:()=>j,d8:()=>B,f2:()=>R,s7:()=>A});var t=u(807),p=u(8540),D=u(1955);function j(b,F){var L=b.directives;return!L||!L.length||function I(b){var F=[];return b&&b.length&&b.forEach(function(L){if(function P(b){var F=b.name.value;return"skip"===F||"include"===F}(L)){var de=L.arguments,re=L.name.value;(0,t.V1)(de&&1===de.length,79,re);var me=de[0];(0,t.V1)(me.name&&"if"===me.name.value,80,re);var Se=me.value;(0,t.V1)(Se&&("Variable"===Se.kind||"BooleanValue"===Se.kind),81,re),F.push({directive:L,ifArgument:me})}}),F}(L).every(function(de){var re=de.directive,me=de.ifArgument,Se=!1;return"Variable"===me.value.kind?(0,t.V1)(void 0!==(Se=F&&F[me.value.name.value]),78,re.name.value):Se=me.value.value,"skip"===re.name.value?!Se:Se})}function B(b,F,L){var de=new Set(b),re=de.size;return(0,p.YR)(F,{Directive:function(me){if(de.delete(me.name.value)&&(!L||!de.size))return p.sP}}),L?!de.size:de.size{"use strict";u.d(De,{HQ:()=>ee,JG:()=>E,ct:()=>j,s6:()=>G});var t=u(1635),p=u(807),D=u(8540);function j(B,R){var P=R,I=[];return B.definitions.forEach(function(b){if("OperationDefinition"===b.kind)throw(0,p.vA)(85,b.operation,b.name?" named '".concat(b.name.value,"'"):"");"FragmentDefinition"===b.kind&&I.push(b)}),typeof P>"u"&&((0,p.V1)(1===I.length,86,I.length),P=I[0].name.value),(0,t.Cl)((0,t.Cl)({},B),{definitions:(0,t.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:P}}]}}],B.definitions,!0)})}function E(B){void 0===B&&(B=[]);var R={};return B.forEach(function(P){R[P.name.value]=P}),R}function ee(B,R){switch(B.kind){case"InlineFragment":return B;case"FragmentSpread":var P=B.name.value;if("function"==typeof R)return R(P);var I=R&&R[P];return(0,p.V1)(I,87,P),I||null;default:return null}}function G(B){var R=!0;return(0,D.YR)(B,{FragmentSpread:function(P){if(!(R=!!P.directives&&P.directives.some(function(I){return"unmask"===I.name.value})))return D.sP}}),R}},4229:(kt,De,u)=>{"use strict";u.d(De,{AT:()=>G,E4:()=>B,Vn:()=>R,Vu:()=>j,n4:()=>E,sw:()=>D,wY:()=>P,zK:()=>ee});var t=u(807),p=u(1367);function D(I){(0,t.V1)(I&&"Document"===I.kind,88);var A=I.definitions.filter(function(b){return"FragmentDefinition"!==b.kind}).map(function(b){if("OperationDefinition"!==b.kind)throw(0,t.vA)(89,b.kind);return b});return(0,t.V1)(A.length<=1,90,A.length),I}function j(I){return D(I),I.definitions.filter(function(A){return"OperationDefinition"===A.kind})[0]}function E(I){return I.definitions.filter(function(A){return"OperationDefinition"===A.kind&&!!A.name}).map(function(A){return A.name.value})[0]||null}function ee(I){return I.definitions.filter(function(A){return"FragmentDefinition"===A.kind})}function G(I){var A=j(I);return(0,t.V1)(A&&"query"===A.operation,91),A}function B(I){(0,t.V1)("Document"===I.kind,92),(0,t.V1)(I.definitions.length<=1,93);var A=I.definitions[0];return(0,t.V1)("FragmentDefinition"===A.kind,94),A}function R(I){D(I);for(var A,b=0,F=I.definitions;b{"use strict";u.d(De,{y:()=>ee});var E,t=u(3246),p=u(2170),D=u(2151),j=u(8782),ee=Object.assign(function(G){var B=E.get(G);return B||(B=(0,t.y)(G),E.set(G,B)),B},{reset:function(){E=new p.A(D.v.print||2e3)}});ee.reset(),!1!==globalThis.__DEV__&&(0,j.D_)("print",function(){return E?E.size:0})},1367:(kt,De,u)=>{"use strict";u.d(De,{A_:()=>ee,D$:()=>ye,Ii:()=>me,J:()=>re,Kc:()=>G,MB:()=>xe,WU:()=>E,dt:()=>pe,kd:()=>Pe,o5:()=>je,ue:()=>ve});var t=u(807),p=u(1181),D=u(6108),j=u(2130);function E($){return{__ref:String($)}}function ee($){return!(!$||"object"!=typeof $||"string"!=typeof $.__ref)}function G($){return(0,p.U)($)&&"Document"===$.kind&&Array.isArray($.definitions)}function re($,Oe,Ke,Nt){if(function P($){return"IntValue"===$.kind}(Ke)||function I($){return"FloatValue"===$.kind}(Ke))$[Oe.value]=Number(Ke.value);else if(function R($){return"BooleanValue"===$.kind}(Ke)||function B($){return"StringValue"===$.kind}(Ke))$[Oe.value]=Ke.value;else if(function b($){return"ObjectValue"===$.kind}(Ke)){var Ct={};Ke.fields.map(function(be){return re(Ct,be.name,be.value,Nt)}),$[Oe.value]=Ct}else if(function A($){return"Variable"===$.kind}(Ke))$[Oe.value]=(Nt||{})[Ke.name.value];else if(function F($){return"ListValue"===$.kind}(Ke))$[Oe.value]=Ke.values.map(function(be){var Be={};return re(Be,Oe,be,Nt),Be[Oe.value]});else if(function L($){return"EnumValue"===$.kind}(Ke))$[Oe.value]=Ke.value;else{if(!function de($){return"NullValue"===$.kind}(Ke))throw(0,t.vA)(96,Oe.value,Ke.kind);$[Oe.value]=null}}function me($,Oe){var Ke=null;$.directives&&(Ke={},$.directives.forEach(function(Ct){Ke[Ct.name.value]={},Ct.arguments&&Ct.arguments.forEach(function($t){return re(Ke[Ct.name.value],$t.name,$t.value,Oe)})}));var Nt=null;return $.arguments&&$.arguments.length&&(Nt={},$.arguments.forEach(function(Ct){return re(Nt,Ct.name,Ct.value,Oe)})),je($.name.value,Nt,Ke)}var Se=["connection","include","skip","client","rest","export","nonreactive"],tt=j.M,je=Object.assign(function($,Oe,Ke){if(Oe&&Ke&&Ke.connection&&Ke.connection.key){if(Ke.connection.filter&&Ke.connection.filter.length>0){var Nt=Ke.connection.filter?Ke.connection.filter:[];Nt.sort();var Ct={};return Nt.forEach(function(Be){Ct[Be]=Oe[Be]}),"".concat(Ke.connection.key,"(").concat(tt(Ct),")")}return Ke.connection.key}var $t=$;if(Oe){var be=tt(Oe);$t+="(".concat(be,")")}return Ke&&Object.keys(Ke).forEach(function(Be){-1===Se.indexOf(Be)&&(Ke[Be]&&Object.keys(Ke[Be]).length?$t+="@".concat(Be,"(").concat(tt(Ke[Be]),")"):$t+="@".concat(Be))}),$t},{setStringify:function($){var Oe=tt;return tt=$,Oe}});function xe($,Oe){if($.arguments&&$.arguments.length){var Ke={};return $.arguments.forEach(function(Nt){return re(Ke,Nt.name,Nt.value,Oe)}),Ke}return null}function ve($){return $.alias?$.alias.value:$.name.value}function ye($,Oe,Ke){for(var Nt,Ct=0,$t=Oe.selections;Ct<$t.length;Ct++)if(pe(be=$t[Ct])){if("__typename"===be.name.value)return $[ve(be)]}else Nt?Nt.push(be):Nt=[be];if("string"==typeof $.__typename)return $.__typename;if(Nt)for(var Be=0,oe=Nt;Be{"use strict";u.d(De,{XY:()=>L,er:()=>ye,iz:()=>F,x3:()=>pe,zc:()=>ve});var t=u(1635),p=u(807),D=u(1955),j=u(8540),E=u(4229),ee=u(1367),G=u(6108),B=u(7715),R={kind:D.b.FIELD,name:{kind:D.b.NAME,value:"__typename"}};function P(Pe,$){return!Pe||Pe.selectionSet.selections.every(function(Oe){return Oe.kind===D.b.FRAGMENT_SPREAD&&P($[Oe.name.value],$)})}function I(Pe){return P((0,E.Vu)(Pe)||(0,E.E4)(Pe),(0,G.JG)((0,E.zK)(Pe)))?null:Pe}function b(Pe){var $=new Map;return function(Ke){void 0===Ke&&(Ke=Pe);var Nt=$.get(Ke);return Nt||$.set(Ke,Nt={variables:new Set,fragmentSpreads:new Set}),Nt}}function F(Pe,$){(0,E.sw)($);for(var Oe=b(""),Ke=b(""),Nt=function(Ze){for(var gt=0,an=void 0;gt=0;--$t)$.definitions[$t].kind===D.b.OPERATION_DEFINITION&&++Ct;var be=function A(Pe){var $=new Map,Oe=new Map;return Pe.forEach(function(Ke){Ke&&(Ke.name?$.set(Ke.name,Ke):Ke.test&&Oe.set(Ke.test,Ke))}),function(Ke){var Nt=$.get(Ke.name.value);return!Nt&&Oe.size&&Oe.forEach(function(Ct,$t){$t(Ke)&&(Nt=Ct)}),Nt}}(Pe),Be=function(Ze){return(0,B.E)(Ze)&&Ze.map(be).some(function(gt){return gt&>.remove})},oe=new Map,Re=!1,fe={enter:function(Ze){if(Be(Ze.directives))return Re=!0,null}},ge=(0,j.YR)($,{Field:fe,InlineFragment:fe,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(Ze,gt,an,xn,Tn){var Rn=Nt(Tn);Rn&&Rn.variables.add(Ze.name.value)}},FragmentSpread:{enter:function(Ze,gt,an,xn,Tn){if(Be(Ze.directives))return Re=!0,null;var Rn=Nt(Tn);Rn&&Rn.fragmentSpreads.add(Ze.name.value)}},FragmentDefinition:{enter:function(Ze,gt,an,xn){oe.set(JSON.stringify(xn),Ze)},leave:function(Ze,gt,an,xn){return Ze===oe.get(JSON.stringify(xn))?Ze:Ct>0&&Ze.selectionSet.selections.every(function(Rn){return Rn.kind===D.b.FIELD&&"__typename"===Rn.name.value})?(Ke(Ze.name.value).removed=!0,Re=!0,null):void 0}},Directive:{leave:function(Ze){if(be(Ze))return Re=!0,null}}});if(!Re)return $;var ke=function(Ze){return Ze.transitiveVars||(Ze.transitiveVars=new Set(Ze.variables),Ze.removed||Ze.fragmentSpreads.forEach(function(gt){ke(Ke(gt)).transitiveVars.forEach(function(an){Ze.transitiveVars.add(an)})})),Ze},qe=new Set;ge.definitions.forEach(function(Ze){Ze.kind===D.b.OPERATION_DEFINITION?ke(Oe(Ze.name&&Ze.name.value)).fragmentSpreads.forEach(function(gt){qe.add(gt)}):Ze.kind===D.b.FRAGMENT_DEFINITION&&0===Ct&&!Ke(Ze.name.value).removed&&qe.add(Ze.name.value)}),qe.forEach(function(Ze){ke(Ke(Ze)).fragmentSpreads.forEach(function(gt){qe.add(gt)})});var We={enter:function(Ze){if(function(Ze){return!(qe.has(Ze)&&!Ke(Ze).removed)}(Ze.name.value))return null}};return I((0,j.YR)(ge,{FragmentSpread:We,FragmentDefinition:We,OperationDefinition:{leave:function(Ze){if(Ze.variableDefinitions){var gt=ke(Oe(Ze.name&&Ze.name.value)).transitiveVars;if(gt.size{"use strict";u.d(De,{r:()=>t});var t="3.12.7"},3955:(kt,De,u)=>{"use strict";u.d(De,{D9:()=>Ct,Wr:()=>A,c$:()=>Ke,h:()=>$t});var t=u(4438),p=u(7673),D=u(4402),j=u(7468),E=u(8793),ee=u(9030),G=u(6697),B=u(4668),R=u(6354),P=u(274),I=u(5558);class A{}let b=(()=>{class be extends A{getTranslation(oe){return(0,p.of)({})}static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=t.xGo(be)))(fe||be)}})();static \u0275prov=t.jDH({token:be,factory:be.\u0275fac})}return be})();class F{}let L=(()=>{class be{handle(oe){return oe.key}static \u0275fac=function(Re){return new(Re||be)};static \u0275prov=t.jDH({token:be,factory:be.\u0275fac})}return be})();function de(be,Be){if(be===Be)return!0;if(null===be||null===Be)return!1;if(be!=be&&Be!=Be)return!0;let fe,ge,ke,oe=typeof be;if(oe==typeof Be&&"object"==oe){if(!Array.isArray(be)){if(Array.isArray(Be))return!1;for(ge in ke=Object.create(null),be){if(!de(be[ge],Be[ge]))return!1;ke[ge]=!0}for(ge in Be)if(!(ge in ke)&&typeof Be[ge]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((fe=be.length)==Be.length){for(ge=0;ge{me(Be[Re])?Re in be?oe[Re]=Se(be[Re],Be[Re]):Object.assign(oe,{[Re]:Be[Re]}):Object.assign(oe,{[Re]:Be[Re]})}),oe}class tt{}let je=(()=>{class be extends tt{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(oe,Re){let fe;return fe="string"==typeof oe?this.interpolateString(oe,Re):"function"==typeof oe?this.interpolateFunction(oe,Re):oe,fe}getValue(oe,Re){let fe="string"==typeof Re?Re.split("."):[Re];Re="";do{Re+=fe.shift(),!re(oe)||!re(oe[Re])||"object"!=typeof oe[Re]&&fe.length?fe.length?Re+=".":oe=void 0:(oe=oe[Re],Re="")}while(fe.length);return oe}interpolateFunction(oe,Re){return oe(Re)}interpolateString(oe,Re){return Re?oe.replace(this.templateMatcher,(fe,ge)=>{let ke=this.getValue(Re,ge);return re(ke)?ke:fe}):oe}static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=t.xGo(be)))(fe||be)}})();static \u0275prov=t.jDH({token:be,factory:be.\u0275fac})}return be})();class xe{}let ve=(()=>{class be extends xe{compile(oe,Re){return oe}compileTranslations(oe,Re){return oe}static \u0275fac=(()=>{let oe;return function(fe){return(oe||(oe=t.xGo(be)))(fe||be)}})();static \u0275prov=t.jDH({token:be,factory:be.\u0275fac})}return be})();class ye{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new t.bkB;onLangChange=new t.bkB;onDefaultLangChange=new t.bkB}const pe=new t.nKC("USE_STORE"),Pe=new t.nKC("USE_DEFAULT_LANG"),$=new t.nKC("DEFAULT_LANGUAGE"),Oe=new t.nKC("USE_EXTEND");let Ke=(()=>{class be{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new t.bkB;_onLangChange=new t.bkB;_onDefaultLangChange=new t.bkB;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(oe){this.isolate?this._defaultLang=oe:this.store.defaultLang=oe}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(oe){this.isolate?this._currentLang=oe:this.store.currentLang=oe}get langs(){return this.isolate?this._langs:this.store.langs}set langs(oe){this.isolate?this._langs=oe:this.store.langs=oe}get translations(){return this.isolate?this._translations:this.store.translations}set translations(oe){this.isolate?this._translations=oe:this.store.translations=oe}constructor(oe,Re,fe,ge,ke,qe=!0,Ce=!1,We=!1,Ze){this.store=oe,this.currentLoader=Re,this.compiler=fe,this.parser=ge,this.missingTranslationHandler=ke,this.useDefaultLang=qe,this.isolate=Ce,this.extend=We,Ze&&this.setDefaultLang(Ze)}setDefaultLang(oe){if(oe===this.defaultLang)return;let Re=this.retrieveTranslations(oe);typeof Re<"u"?(null==this.defaultLang&&(this.defaultLang=oe),Re.pipe((0,G.s)(1)).subscribe(fe=>{this.changeDefaultLang(oe)})):this.changeDefaultLang(oe)}getDefaultLang(){return this.defaultLang}use(oe){if(oe===this.currentLang)return(0,p.of)(this.translations[oe]);let Re=this.retrieveTranslations(oe);return typeof Re<"u"?(this.currentLang||(this.currentLang=oe),Re.pipe((0,G.s)(1)).subscribe(fe=>{this.changeLang(oe)}),Re):(this.changeLang(oe),(0,p.of)(this.translations[oe]))}retrieveTranslations(oe){let Re;return(typeof this.translations[oe]>"u"||this.extend)&&(this._translationRequests[oe]=this._translationRequests[oe]||this.getTranslation(oe),Re=this._translationRequests[oe]),Re}getTranslation(oe){this.pending=!0;const Re=this.currentLoader.getTranslation(oe).pipe((0,B.t)(1),(0,G.s)(1));return this.loadingTranslations=Re.pipe((0,R.T)(fe=>this.compiler.compileTranslations(fe,oe)),(0,B.t)(1),(0,G.s)(1)),this.loadingTranslations.subscribe({next:fe=>{this.translations[oe]=this.extend&&this.translations[oe]?{...fe,...this.translations[oe]}:fe,this.updateLangs(),this.pending=!1},error:fe=>{this.pending=!1}}),Re}setTranslation(oe,Re,fe=!1){Re=this.compiler.compileTranslations(Re,oe),this.translations[oe]=(fe||this.extend)&&this.translations[oe]?Se(this.translations[oe],Re):Re,this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}getLangs(){return this.langs}addLangs(oe){oe.forEach(Re=>{-1===this.langs.indexOf(Re)&&this.langs.push(Re)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(oe,Re,fe){let ge;if(Re instanceof Array){let ke={},qe=!1;for(let Ce of Re)ke[Ce]=this.getParsedResult(oe,Ce,fe),(0,D.A)(ke[Ce])&&(qe=!0);if(qe){const Ce=Re.map(We=>(0,D.A)(ke[We])?ke[We]:(0,p.of)(ke[We]));return(0,j.p)(Ce).pipe((0,R.T)(We=>{let Ze={};return We.forEach((gt,an)=>{Ze[Re[an]]=gt}),Ze}))}return ke}if(oe&&(ge=this.parser.interpolate(this.parser.getValue(oe,Re),fe)),typeof ge>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ge=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],Re),fe)),typeof ge>"u"){let ke={key:Re,translateService:this};typeof fe<"u"&&(ke.interpolateParams=fe),ge=this.missingTranslationHandler.handle(ke)}return typeof ge<"u"?ge:Re}get(oe,Re){if(!re(oe)||!oe.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,P.H)(fe=>(fe=this.getParsedResult(fe,oe,Re),(0,D.A)(fe)?fe:(0,p.of)(fe))));{let fe=this.getParsedResult(this.translations[this.currentLang],oe,Re);return(0,D.A)(fe)?fe:(0,p.of)(fe)}}getStreamOnTranslationChange(oe,Re){if(!re(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,E.x)((0,ee.v)(()=>this.get(oe,Re)),this.onTranslationChange.pipe((0,I.n)(fe=>{const ge=this.getParsedResult(fe.translations,oe,Re);return"function"==typeof ge.subscribe?ge:(0,p.of)(ge)})))}stream(oe,Re){if(!re(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,E.x)((0,ee.v)(()=>this.get(oe,Re)),this.onLangChange.pipe((0,I.n)(fe=>{const ge=this.getParsedResult(fe.translations,oe,Re);return(0,D.A)(ge)?ge:(0,p.of)(ge)})))}instant(oe,Re){if(!re(oe)||!oe.length)throw new Error('Parameter "key" required');let fe=this.getParsedResult(this.translations[this.currentLang],oe,Re);if((0,D.A)(fe)){if(oe instanceof Array){let ge={};return oe.forEach((ke,qe)=>{ge[oe[qe]]=oe[qe]}),ge}return oe}return fe}set(oe,Re,fe=this.currentLang){this.translations[fe][oe]=this.compiler.compile(Re,fe),this.updateLangs(),this.onTranslationChange.emit({lang:fe,translations:this.translations[fe]})}changeLang(oe){this.currentLang=oe,this.onLangChange.emit({lang:oe,translations:this.translations[oe]}),null==this.defaultLang&&this.changeDefaultLang(oe)}changeDefaultLang(oe){this.defaultLang=oe,this.onDefaultLangChange.emit({lang:oe,translations:this.translations[oe]})}reloadLang(oe){return this.resetLang(oe),this.getTranslation(oe)}resetLang(oe){this._translationRequests[oe]=void 0,this.translations[oe]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let oe=window.navigator.languages?window.navigator.languages[0]:null;return oe=oe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof oe>"u"?void 0:(-1!==oe.indexOf("-")&&(oe=oe.split("-")[0]),-1!==oe.indexOf("_")&&(oe=oe.split("_")[0]),oe)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let oe=window.navigator.languages?window.navigator.languages[0]:null;return oe=oe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,oe}static \u0275fac=function(Re){return new(Re||be)(t.KVO(ye),t.KVO(A),t.KVO(xe),t.KVO(tt),t.KVO(F),t.KVO(Pe),t.KVO(pe),t.KVO(Oe),t.KVO($))};static \u0275prov=t.jDH({token:be,factory:be.\u0275fac})}return be})(),Ct=(()=>{class be{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(oe,Re){this.translate=oe,this._ref=Re}updateValue(oe,Re,fe){let ge=ke=>{this.value=void 0!==ke?ke:oe,this.lastKey=oe,this._ref.markForCheck()};if(fe){let ke=this.translate.getParsedResult(fe,oe,Re);(0,D.A)(ke.subscribe)?ke.subscribe(ge):ge(ke)}this.translate.get(oe,Re).subscribe(ge)}transform(oe,...Re){if(!oe||!oe.length)return oe;if(de(oe,this.lastKey)&&de(Re,this.lastParams))return this.value;let fe;if(re(Re[0])&&Re.length)if("string"==typeof Re[0]&&Re[0].length){let ge=Re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{fe=JSON.parse(ge)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${Re[0]}`)}}else"object"==typeof Re[0]&&!Array.isArray(Re[0])&&(fe=Re[0]);return this.lastKey=oe,this.lastParams=Re,this.updateValue(oe,fe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ge=>{this.lastKey&&ge.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(oe,fe,ge.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ge=>{this.lastKey&&(this.lastKey=null,this.updateValue(oe,fe,ge.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(oe,fe))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(Re){return new(Re||be)(t.rXU(Ke,16),t.rXU(t.gRc,16))};static \u0275pipe=t.EJ8({name:"translate",type:be,pure:!1});static \u0275prov=t.jDH({token:be,factory:be.\u0275fac})}return be})(),$t=(()=>{class be{static forRoot(oe={}){return{ngModule:be,providers:[oe.loader||{provide:A,useClass:b},oe.compiler||{provide:xe,useClass:ve},oe.parser||{provide:tt,useClass:je},oe.missingTranslationHandler||{provide:F,useClass:L},ye,{provide:pe,useValue:oe.isolate},{provide:Pe,useValue:oe.useDefaultLang},{provide:Oe,useValue:oe.extend},{provide:$,useValue:oe.defaultLanguage},Ke]}}static forChild(oe={}){return{ngModule:be,providers:[oe.loader||{provide:A,useClass:b},oe.compiler||{provide:xe,useClass:ve},oe.parser||{provide:tt,useClass:je},oe.missingTranslationHandler||{provide:F,useClass:L},{provide:pe,useValue:oe.isolate},{provide:Pe,useValue:oe.useDefaultLang},{provide:Oe,useValue:oe.extend},{provide:$,useValue:oe.defaultLanguage},Ke]}}static \u0275fac=function(Re){return new(Re||be)};static \u0275mod=t.$C({type:be});static \u0275inj=t.G2t({})}return be})()},6476:(kt,De,u)=>{"use strict";function t(){}u.d(De,{C:()=>p});class p{constructor(j=1/0,E=t){this.max=j,this.dispose=E,this.map=new Map,this.newest=null,this.oldest=null}has(j){return this.map.has(j)}get(j){const E=this.getNode(j);return E&&E.value}get size(){return this.map.size}getNode(j){const E=this.map.get(j);if(E&&E!==this.newest){const{older:ee,newer:G}=E;G&&(G.older=ee),ee&&(ee.newer=G),E.older=this.newest,E.older.newer=E,E.newer=null,this.newest=E,E===this.oldest&&(this.oldest=G)}return E}set(j,E){let ee=this.getNode(j);return ee?ee.value=E:(ee={key:j,value:E,newer:null,older:this.newest},this.newest&&(this.newest.newer=ee),this.newest=ee,this.oldest=this.oldest||ee,this.map.set(j,ee),ee.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(j){const E=this.map.get(j);return!!E&&(E===this.newest&&(this.newest=E.older),E===this.oldest&&(this.oldest=E.newer),E.newer&&(E.newer.older=E.older),E.older&&(E.older.newer=E.newer),this.map.delete(j),this.dispose(E.value,j),!0)}}},9055:(kt,De,u)=>{"use strict";function t(){}u.d(De,{l:()=>G});const p=t,D=typeof WeakRef<"u"?WeakRef:function(B){return{deref:()=>B}},j=typeof WeakMap<"u"?WeakMap:Map,E=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:t,unregister:t}};class G{constructor(R=1/0,P=p){this.max=R,this.dispose=P,this.map=new j,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const I=this.unfinalizedNodes.values();for(let A=0;A<10024;A++){const b=I.next().value;if(!b)break;this.unfinalizedNodes.delete(b);const F=b.key;delete b.key,b.keyRef=new D(F),this.registry.register(F,b,b)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new E(this.deleteNode.bind(this))}has(R){return this.map.has(R)}get(R){const P=this.getNode(R);return P&&P.value}getNode(R){const P=this.map.get(R);if(P&&P!==this.newest){const{older:I,newer:A}=P;A&&(A.older=I),I&&(I.newer=A),P.older=this.newest,P.older.newer=P,P.newer=null,this.newest=P,P===this.oldest&&(this.oldest=A)}return P}set(R,P){let I=this.getNode(R);return I?I.value=P:(I={key:R,value:P,newer:null,older:this.newest},this.newest&&(this.newest.newer=I),this.newest=I,this.oldest=this.oldest||I,this.scheduleFinalization(I),this.map.set(R,I),this.size++,I.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(R){R===this.newest&&(this.newest=R.older),R===this.oldest&&(this.oldest=R.newer),R.newer&&(R.newer.older=R.older),R.older&&(R.older.newer=R.newer),this.size--;const P=R.key||R.keyRef&&R.keyRef.deref();this.dispose(R.value,P),R.keyRef?this.registry.unregister(R):this.unfinalizedNodes.delete(R),P&&this.map.delete(P)}delete(R){const P=this.map.get(R);return!!P&&(this.deleteNode(P),!0)}scheduleFinalization(R){this.unfinalizedNodes.add(R),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},9860:(kt,De,u)=>{"use strict";u.d(De,{A:()=>ee,L:()=>E});const{toString:t,hasOwnProperty:p}=Object.prototype,D=Function.prototype.toString,j=new Map;function E(b,F){try{return G(b,F)}finally{j.clear()}}const ee=E;function G(b,F){if(b===F)return!0;const L=t.call(b);if(L!==t.call(F))return!1;switch(L){case"[object Array]":if(b.length!==F.length)return!1;case"[object Object]":{if(A(b,F))return!0;const re=B(b),me=B(F),Se=re.length;if(Se!==me.length)return!1;for(let tt=0;tt=0&&b.indexOf(F,L)===L}(re,P)}}return!1}function B(b){return Object.keys(b).filter(R,b)}function R(b){return void 0!==this[b]}const P="{ [native code] }";function A(b,F){let L=j.get(b);if(L){if(L.has(F))return!0}else j.set(b,L=new Set);return L.add(F),!1}},4420:(kt,De,u)=>{"use strict";u.d(De,{b:()=>E});const t=()=>Object.create(null),{forEach:p,slice:D}=Array.prototype,{hasOwnProperty:j}=Object.prototype;class E{constructor(B=!0,R=t){this.weakness=B,this.makeData=R}lookup(){return this.lookupArray(arguments)}lookupArray(B){let R=this;return p.call(B,P=>R=R.getChildTrie(P)),j.call(R,"data")?R.data:R.data=this.makeData(D.call(B))}peek(){return this.peekArray(arguments)}peekArray(B){let R=this;for(let P=0,I=B.length;R&&P{"use strict";u.d(De,{$Y:()=>ts,Ic:()=>Us,_9:()=>Ha,sM:()=>il,XK:()=>nl,J1:()=>rl});var t=u(4438),p=u(1985),D=u(6780),E=u(9687);const G=new class ee extends E.q{}(class j extends D.R{constructor(_,S){super(_,S),this.scheduler=_,this.work=S}schedule(_,S=0){return S>0?super.schedule(_,S):(this.delay=S,this.state=_,this.scheduler.flush(this),this)}execute(_,S){return S>0||this.closed?super.execute(_,S):this._execute(_,S)}requestAsyncId(_,S,W=0){return null!=W&&W>0||null==W&&this.delay>0?super.requestAsyncId(_,S,W):(_.flush(this),0)}});var R=u(3494),P=u(2806),I=function(O){return O[O.loading=1]="loading",O[O.setVariables=2]="setVariables",O[O.fetchMore=3]="fetchMore",O[O.refetch=4]="refetch",O[O.poll=6]="poll",O[O.ready=7]="ready",O[O.error=8]="error",O}(I||{});function A(O){return!!O&&O<7}var F=u(1635),L=u(807),de=u(8008),re=de.C.execute,me=u(560),Se=u(4183),tt=u(7994),je=function(O,_){var S;try{S=JSON.stringify(O)}catch(K){var W=(0,L.vA)(42,_,K.message);throw W.parseError=K,W}return S},ve=u(6500);function $(O){var _={next:function(){return O.read()}};return ve.uJ&&(_[Symbol.asyncIterator]=function(){return this}),_}function Be(O){var _=O;if(function Oe(O){return!!O.body}(O)&&(_=O.body),function Nt(O){return!(!ve.uJ||!O[Symbol.asyncIterator])}(_))return function ye(O){var _,S=O[Symbol.asyncIterator]();return(_={next:function(){return S.next()}})[Symbol.asyncIterator]=function(){return this},_}(_);if(function Ke(O){return!!O.getReader}(_))return $(_.getReader());if(function Ct(O){return!!O.stream}(_))return $(_.stream().getReader());if(function $t(O){return!!O.arrayBuffer}(_))return function Pe(O){var _=!1,S={next:function(){return _?Promise.resolve({value:void 0,done:!0}):(_=!0,new Promise(function(W,K){O.then(function(Te){W({value:Te,done:!1})}).catch(K)}))}};return ve.uJ&&(S[Symbol.asyncIterator]=function(){return this}),S}(_.arrayBuffer());if(function be(O){return!!O.pipe}(_))return function pe(O){var _=null,S=null,W=!1,K=[],Te=[];function lt(bn){if(!S){if(Te.length){var Mn=Te.shift();if(Array.isArray(Mn)&&Mn[0])return Mn[0]({value:bn,done:!1})}K.push(bn)}}function Pt(bn){S=bn,Te.slice().forEach(function(zn){zn[1](bn)}),!_||_()}function zt(){W=!0,Te.slice().forEach(function(Mn){Mn[0]({value:void 0,done:!0})}),!_||_()}_=function(){_=null,O.removeListener("data",lt),O.removeListener("error",Pt),O.removeListener("end",zt),O.removeListener("finish",zt),O.removeListener("close",zt)},O.on("data",lt),O.on("error",Pt),O.on("end",zt),O.on("finish",zt),O.on("close",zt);var on={next:function(){return function en(){return new Promise(function(bn,Mn){return S?Mn(S):K.length?bn({value:K.shift(),done:!1}):W?bn({value:void 0,done:!0}):void Te.push([bn,Mn])})}()}};return ve.uJ&&(on[Symbol.asyncIterator]=function(){return this}),on}(_);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var oe=function(O,_,S){var W=new Error(S);throw W.name="ServerError",W.response=O,W.statusCode=O.status,W.result=_,W},Re=u(1181),fe=Symbol();function ke(O){return O.hasOwnProperty("graphQLErrors")}var Ce=function(O){function _(S){var W=S.graphQLErrors,K=S.protocolErrors,Te=S.clientErrors,lt=S.networkError,Pt=S.errorMessage,zt=S.extraInfo,en=O.call(this,Pt)||this;return en.name="ApolloError",en.graphQLErrors=W||[],en.protocolErrors=K||[],en.clientErrors=Te||[],en.networkError=lt||null,en.message=Pt||function(O){var _=(0,F.fX)((0,F.fX)((0,F.fX)([],O.graphQLErrors,!0),O.clientErrors,!0),O.protocolErrors,!0);return O.networkError&&_.push(O.networkError),_.map(function(S){return(0,Re.U)(S)&&S.message||"Error message not found."}).join("\n")}(en),en.extraInfo=zt,en.cause=(0,F.fX)((0,F.fX)((0,F.fX)([lt],W||[],!0),K||[],!0),Te||[],!0).find(function(on){return!!on})||null,en.__proto__=_.prototype,en}return(0,F.C6)(_,O),_}(Error),We=u(7715),Ze=u(1115);function gt(O){return"incremental"in O}function Tn(O){return(0,Re.U)(O)&&"payload"in O}function Rn(O,_){var S=O,W=new Ze.ZI;return gt(_)&&(0,We.E)(_.incremental)&&_.incremental.forEach(function(K){for(var Te=K.data,lt=K.path,Pt=lt.length-1;Pt>=0;--Pt){var zt=lt[Pt],on=isNaN(+zt)?{}:[];on[zt]=Te,Te=on}S=W.merge(S,Te)}),S}var ii=Object.prototype.hasOwnProperty;function ot(O){var _={};return O.split("\n").forEach(function(S){var W=S.indexOf(":");if(W>-1){var K=S.slice(0,W).trim().toLowerCase(),Te=S.slice(W+1).trim();_[K]=Te}}),_}function Le(O,_){O.status>=300&&oe(O,function(){try{return JSON.parse(_)}catch{return _}}(),"Response not successful: Received status code ".concat(O.status));try{return JSON.parse(_)}catch(K){var W=K;throw W.name="ServerParseError",W.response=O,W.statusCode=O.status,W.bodyText=_,W}}var Hn=u(1658),Ye={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Je=function(O,_){return _(O)};function nt(O){return new tt.c(function(_){_.error(O)})}var mt=u(8540),Yt=u(1601),jn=u(4229),En=(0,L.no)(function(){return fetch}),$n=function(O){void 0===O&&(O={});var _=O.uri,S=void 0===_?"/graphql":_,W=O.fetch,K=O.print,Te=void 0===K?Je:K,lt=O.includeExtensions,Pt=O.preserveHeaderCase,zt=O.useGETForQueries,en=O.includeUnusedVariables,on=void 0!==en&&en,bn=(0,F.Tt)(O,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(O){if(!O&&typeof fetch>"u")throw(0,L.vA)(40)}(W||En);var Mn={http:{includeExtensions:lt,preserveHeaderCase:Pt},options:bn.fetchOptions,credentials:bn.credentials,headers:bn.headers};return new de.C(function(zn){var An=function(O,_){return O.getContext().uri||("function"==typeof _?_(O):_||"/graphql")}(zn,S),Qe=zn.getContext(),Et={};if(Qe.clientAwareness){var wt=Qe.clientAwareness,vn=wt.name,In=wt.version;vn&&(Et["apollographql-client-name"]=vn),In&&(Et["apollographql-client-version"]=In)}var di=(0,F.Cl)((0,F.Cl)({},Et),Qe.headers),hi={http:Qe.http,options:Qe.fetchOptions,credentials:Qe.credentials,headers:di};if((0,Se.d8)(["client"],zn.query)){var bi=(0,Yt.er)(zn.query);if(!bi)return nt(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));zn.query=bi}var Wr,$r=function Kt(O,_){for(var S=[],W=2;W-1;){if(Et=void 0,$r=[Pt.slice(0,Qe),Pt.slice(Qe+lt.length)],Pt=$r[1],wt=(Et=$r[0]).indexOf("\r\n\r\n"),vn=ot(Et.slice(0,wt)),(In=vn["content-type"])&&-1===In.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(di=Et.slice(wt))if(hi=Le(O,di),Object.keys(hi).length>1||"data"in hi||"incremental"in hi||"errors"in hi||"payload"in hi)if(Tn(hi)){if(bi={},"payload"in hi){if(1===Object.keys(hi).length&&null===hi.payload)return[2];bi=(0,F.Cl)({},hi.payload)}"errors"in hi&&(bi=(0,F.Cl)((0,F.Cl)({},bi),{extensions:(0,F.Cl)((0,F.Cl)({},"extensions"in bi?bi.extensions:null),(br={},br[fe]=hi.errors,br))})),_(bi)}else _(hi);else if(1===Object.keys(hi).length&&"hasNext"in hi&&!hi.hasNext)return[2];Qe=Pt.indexOf(lt)}return[3,1];case 3:return[2]}})})}(N,ue):function _t(O){return function(_){return _.text().then(function(S){return Le(_,S)}).then(function(S){return!Array.isArray(S)&&!ii.call(S,"data")&&!ii.call(S,"errors")&&oe(_,S,"Server response was missing for query '".concat(Array.isArray(O)?O.map(function(W){return W.operationName}):O.operationName,"'.")),S})}}(zn)(N).then(ue)}).then(function(){Wr=void 0,ko.complete()}).catch(function(N){Wr=void 0,function at(O,_){O.result&&O.result.errors&&O.result.data&&_.next(O.result),_.error(O)}(N,ko)}),function(){Wr&&Wr.abort()}})})},ki=function(O){function _(S){void 0===S&&(S={});var W=O.call(this,$n(S).request)||this;return W.options=S,W}return(0,F.C6)(_,O),_}(de.C),Qn=u(9860),Jt=u(6108),wi=u(2130),Qt=u(8926);function Zt(O,_,S){return new tt.c(function(W){var K={then:function(zt){return new Promise(function(en){return en(zt())})}};function Te(zt,en){return function(on){if(zt){var bn=function(){return W.closed?0:zt(on)};K=K.then(bn,bn).then(function(Mn){return W.next(Mn)},function(Mn){return W.error(Mn)})}else W[en](on)}}var lt={next:Te(_,"next"),error:Te(S,"error"),complete:function(){K.then(function(){return W.complete()})}},Pt=O.subscribe(lt);return function(){return Pt.unsubscribe()}})}function He(O){var _=Ee(O);return(0,We.E)(_)}function Ee(O){var _=(0,We.E)(O.errors)?O.errors.slice(0):[];return gt(O)&&(0,We.E)(O.incremental)&&O.incremental.forEach(function(S){S.errors&&_.push.apply(_,S.errors)}),_}var q=u(1367),J=u(9977);function Ie(O,_,S){var W=[];O.forEach(function(K){return K[_]&&W.push(K)}),W.forEach(function(K){return K[_](S)})}function rt(O){function _(S){Object.defineProperty(O,S,{value:tt.c})}return ve.ol&&Symbol.species&&_(Symbol.species),_("@@species"),O}function Xt(O){return O&&"function"==typeof O.then}var yn=function(O){function _(S){var W=O.call(this,function(K){return W.addObserver(K),function(){return W.removeObserver(K)}})||this;return W.observers=new Set,W.promise=new Promise(function(K,Te){W.resolve=K,W.reject=Te}),W.handlers={next:function(K){null!==W.sub&&(W.latest=["next",K],W.notify("next",K),Ie(W.observers,"next",K))},error:function(K){var Te=W.sub;null!==Te&&(Te&&setTimeout(function(){return Te.unsubscribe()}),W.sub=null,W.latest=["error",K],W.reject(K),W.notify("error",K),Ie(W.observers,"error",K))},complete:function(){var Te=W.sub,lt=W.sources;if(null!==Te){var zt=(void 0===lt?[]:lt).shift();zt?Xt(zt)?zt.then(function(en){return W.sub=en.subscribe(W.handlers)},W.handlers.error):W.sub=zt.subscribe(W.handlers):(Te&&setTimeout(function(){return Te.unsubscribe()}),W.sub=null,W.latest&&"next"===W.latest[0]?W.resolve(W.latest[1]):W.resolve(),W.notify("complete"),Ie(W.observers,"complete"))}}},W.nextResultListeners=new Set,W.cancel=function(K){W.reject(K),W.sources=[],W.handlers.error(K)},W.promise.catch(function(K){}),"function"==typeof S&&(S=[new tt.c(S)]),Xt(S)?S.then(function(K){return W.start(K)},W.handlers.error):W.start(S),W}return(0,F.C6)(_,O),_.prototype.start=function(S){void 0===this.sub&&(this.sources=Array.from(S),this.handlers.complete())},_.prototype.deliverLastMessage=function(S){if(this.latest){var W=this.latest[0],K=S[W];K&&K.call(S,this.latest[1]),null===this.sub&&"next"===W&&S.complete&&S.complete()}},_.prototype.addObserver=function(S){this.observers.has(S)||(this.deliverLastMessage(S),this.observers.add(S))},_.prototype.removeObserver=function(S){this.observers.delete(S)&&this.observers.size<1&&this.handlers.complete()},_.prototype.notify=function(S,W){var K=this.nextResultListeners;K.size&&(this.nextResultListeners=new Set,K.forEach(function(Te){return Te(S,W)}))},_.prototype.beforeNext=function(S){var W=!1;this.nextResultListeners.add(function(K,Te){W||(W=!0,S(K,Te))})},_}(tt.c);rt(yn);var Lt=u(120),Mt=u(4246),St=u(9471),mn=Object.assign,_i=Object.hasOwnProperty,tr=function(O){function _(S){var W=S.queryManager,K=S.queryInfo,Te=S.options,lt=O.call(this,function(Et){try{var wt=Et._subscription._observer;wt&&!wt.error&&(wt.error=it)}catch{}var vn=!lt.observers.size;lt.observers.add(Et);var In=lt.last;return In&&In.error?Et.error&&Et.error(In.error):In&&In.result&&Et.next&&Et.next(lt.maskResult(In.result)),vn&<.reobserve().catch(function(){}),function(){lt.observers.delete(Et)&&!lt.observers.size&<.tearDownQuery()}})||this;lt.observers=new Set,lt.subscriptions=new Set,lt.queryInfo=K,lt.queryManager=W,lt.waitForOwnResult=we(Te.fetchPolicy),lt.isTornDown=!1,lt.subscribeToMore=lt.subscribeToMore.bind(lt),lt.maskResult=lt.maskResult.bind(lt);var Pt=W.defaultOptions.watchQuery,en=(void 0===Pt?{}:Pt).fetchPolicy,on=void 0===en?"cache-first":en,bn=Te.fetchPolicy,Mn=void 0===bn?on:bn,zn=Te.initialFetchPolicy,An=void 0===zn?"standby"===Mn?on:Mn:zn;lt.options=(0,F.Cl)((0,F.Cl)({},Te),{initialFetchPolicy:An,fetchPolicy:Mn}),lt.queryId=K.queryId||W.generateQueryId();var Qe=(0,jn.Vu)(lt.query);return lt.queryName=Qe&&Qe.name&&Qe.name.value,lt}return(0,F.C6)(_,O),Object.defineProperty(_.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),_.prototype.result=function(){var S=this;return new Promise(function(W,K){var Te={next:function(Pt){W(Pt),S.observers.delete(Te),S.observers.size||S.queryManager.removeQuery(S.queryId),setTimeout(function(){lt.unsubscribe()},0)},error:K},lt=S.subscribe(Te)})},_.prototype.resetDiff=function(){this.queryInfo.resetDiff()},_.prototype.getCurrentFullResult=function(S){void 0===S&&(S=!0);var W=this.getLastResult(!0),K=this.queryInfo.networkStatus||W&&W.networkStatus||I.ready,Te=(0,F.Cl)((0,F.Cl)({},W),{loading:A(K),networkStatus:K}),lt=this.options.fetchPolicy,Pt=void 0===lt?"cache-first":lt;if(!we(Pt)&&!this.queryManager.getDocumentInfo(this.query).hasForcedResolvers)if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var zt=this.queryInfo.getDiff();(zt.complete||this.options.returnPartialData)&&(Te.data=zt.result),(0,Qn.L)(Te.data,{})&&(Te.data=void 0),zt.complete?(delete Te.partial,zt.complete&&Te.networkStatus===I.loading&&("cache-first"===Pt||"cache-only"===Pt)&&(Te.networkStatus=I.ready,Te.loading=!1)):Te.partial=!0,!1!==globalThis.__DEV__&&!zt.complete&&!this.options.partialRefetch&&!Te.loading&&!Te.data&&!Te.error&&si(zt.missing)}return S&&this.updateLastResult(Te),Te},_.prototype.getCurrentResult=function(S){return void 0===S&&(S=!0),this.maskResult(this.getCurrentFullResult(S))},_.prototype.isDifferentFromLastResult=function(S,W){if(!this.last)return!0;var K=this.queryManager.getDocumentInfo(this.query),Te=this.queryManager.dataMasking;return(Te||K.hasNonreactiveDirective?!(0,St.a)(Te?K.nonReactiveQuery:this.query,this.last.result,S,this.variables):!(0,Qn.L)(this.last.result,S))||W&&!(0,Qn.L)(this.last.variables,W)},_.prototype.getLast=function(S,W){var K=this.last;if(K&&K[S]&&(!W||(0,Qn.L)(K.variables,this.variables)))return K[S]},_.prototype.getLastResult=function(S){return this.getLast("result",S)},_.prototype.getLastError=function(S){return this.getLast("error",S)},_.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},_.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},_.prototype.refetch=function(S){var W,K={pollInterval:0},Te=this.options.fetchPolicy;if(K.fetchPolicy="cache-and-network"===Te?Te:"no-cache"===Te?"no-cache":"network-only",!1!==globalThis.__DEV__&&S&&_i.call(S,"variables")){var lt=(0,jn.AT)(this.query),Pt=lt.variableDefinitions;(!Pt||!Pt.some(function(zt){return"variables"===zt.variable.name.value}))&&!1!==globalThis.__DEV__&&L.V1.warn(21,S,(null===(W=lt.name)||void 0===W?void 0:W.value)||lt)}return S&&!(0,Qn.L)(this.options.variables,S)&&(K.variables=this.options.variables=(0,F.Cl)((0,F.Cl)({},this.options.variables),S)),this.queryInfo.resetLastWrite(),this.reobserve(K,I.refetch)},_.prototype.fetchMore=function(S){var W=this,K=(0,F.Cl)((0,F.Cl)({},S.query?S:(0,F.Cl)((0,F.Cl)((0,F.Cl)((0,F.Cl)({},this.options),{query:this.options.query}),S),{variables:(0,F.Cl)((0,F.Cl)({},this.options.variables),S.variables)})),{fetchPolicy:"no-cache"});K.query=this.transformDocument(K.query);var Te=this.queryManager.generateQueryId();this.lastQuery=S.query?this.transformDocument(this.options.query):K.query;var lt=this.queryInfo,Pt=lt.networkStatus;lt.networkStatus=I.fetchMore,K.notifyOnNetworkStatusChange&&this.observe();var zt=new Set,en=S?.updateQuery,on="no-cache"!==this.options.fetchPolicy;return on||(0,L.V1)(en,22),this.queryManager.fetchQuery(Te,K,I.fetchMore).then(function(bn){if(W.queryManager.removeQuery(Te),lt.networkStatus===I.fetchMore&&(lt.networkStatus=Pt),on)W.queryManager.cache.batch({update:function(An){var Qe=S.updateQuery;Qe?An.updateQuery({query:W.query,variables:W.variables,returnPartialData:!0,optimistic:!1},function(Et){return Qe(Et,{fetchMoreResult:bn.data,variables:K.variables})}):An.writeQuery({query:K.query,variables:K.variables,data:bn.data})},onWatchUpdated:function(An){zt.add(An.query)}});else{var Mn=W.getLast("result"),zn=en(Mn.data,{fetchMoreResult:bn.data,variables:K.variables});W.reportResult((0,F.Cl)((0,F.Cl)({},Mn),{data:zn}),W.variables)}return W.maskResult(bn)}).finally(function(){on&&!zt.has(W.query)&&ir(W)})},_.prototype.subscribeToMore=function(S){var W=this,K=this.queryManager.startGraphQLSubscription({query:S.document,variables:S.variables,context:S.context}).subscribe({next:function(Te){var lt=S.updateQuery;lt&&W.updateQuery(function(Pt,zt){return lt(Pt,{subscriptionData:Te,variables:zt.variables})})},error:function(Te){S.onError?S.onError(Te):!1!==globalThis.__DEV__&&L.V1.error(23,Te)}});return this.subscriptions.add(K),function(){W.subscriptions.delete(K)&&K.unsubscribe()}},_.prototype.setOptions=function(S){return this.reobserve(S)},_.prototype.silentSetOptions=function(S){var W=(0,Lt.o)(this.options,S||{});mn(this.options,W)},_.prototype.setVariables=function(S){return(0,Qn.L)(this.variables,S)?this.observers.size?this.result():Promise.resolve():(this.options.variables=S,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:S},I.setVariables):Promise.resolve())},_.prototype.updateQuery=function(S){var W=this.queryManager,Te=S(W.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});Te&&(W.cache.writeQuery({query:this.options.query,data:Te,variables:this.variables}),W.broadcastQueries())},_.prototype.startPolling=function(S){this.options.pollInterval=S,this.updatePolling()},_.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},_.prototype.applyNextFetchPolicy=function(S,W){if(W.nextFetchPolicy){var K=W.fetchPolicy,Te=void 0===K?"cache-first":K,lt=W.initialFetchPolicy,Pt=void 0===lt?Te:lt;"standby"===Te||(W.fetchPolicy="function"==typeof W.nextFetchPolicy?W.nextFetchPolicy(Te,{reason:S,options:W,observable:this,initialFetchPolicy:Pt}):"variables-changed"===S?Pt:W.nextFetchPolicy)}return W.fetchPolicy},_.prototype.fetch=function(S,W,K){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,S,W,K)},_.prototype.updatePolling=function(){var S=this;if(!this.queryManager.ssrMode){var K=this.pollingInfo,Te=this.options.pollInterval;if(!Te||!this.hasObservers())return void(K&&(clearTimeout(K.timeout),delete this.pollingInfo));if(!K||K.interval!==Te){(0,L.V1)(Te,24),(K||(this.pollingInfo={})).interval=Te;var Pt=function(){var en,on;S.pollingInfo&&(A(S.queryInfo.networkStatus)||null!==(on=(en=S.options).skipPollAttempt)&&void 0!==on&&on.call(en)?zt():S.reobserve({fetchPolicy:"no-cache"===S.options.initialFetchPolicy?"no-cache":"network-only"},I.poll).then(zt,zt))},zt=function(){var en=S.pollingInfo;en&&(clearTimeout(en.timeout),en.timeout=setTimeout(Pt,en.interval))};zt()}}},_.prototype.updateLastResult=function(S,W){void 0===W&&(W=this.variables);var K=this.getLastError();return K&&this.last&&!(0,Qn.L)(W,this.last.variables)&&(K=void 0),this.last=(0,F.Cl)({result:this.queryManager.assumeImmutableResults?S:(0,Mt.m)(S),variables:W},K?{error:K}:null)},_.prototype.reobserveAsConcast=function(S,W){var K=this;this.isTornDown=!1;var Te=W===I.refetch||W===I.fetchMore||W===I.poll,lt=this.options.variables,Pt=this.options.fetchPolicy,zt=(0,Lt.o)(this.options,S||{}),en=Te?zt:mn(this.options,zt),on=this.transformDocument(en.query);this.lastQuery=on,Te||(this.updatePolling(),S&&S.variables&&!(0,Qn.L)(S.variables,lt)&&"standby"!==en.fetchPolicy&&(en.fetchPolicy===Pt||"function"==typeof en.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",en),void 0===W&&(W=I.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=we(en.fetchPolicy));var bn=function(){K.concast===An&&(K.waitForOwnResult=!1)},Mn=en.variables&&(0,F.Cl)({},en.variables),zn=this.fetch(en,W,on),An=zn.concast,Et={next:function(wt){(0,Qn.L)(K.variables,Mn)&&(bn(),K.reportResult(wt,Mn))},error:function(wt){(0,Qn.L)(K.variables,Mn)&&(ke(wt)||(wt=new Ce({networkError:wt})),bn(),K.reportError(wt,Mn))}};return!Te&&(zn.fromLink||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=An,this.observer=Et),An.addObserver(Et),An},_.prototype.reobserve=function(S,W){return function et(O){return O.catch(function(){}),O}(this.reobserveAsConcast(S,W).promise.then(this.maskResult))},_.prototype.resubscribeAfterError=function(){for(var S=[],W=0;W0},_.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(S){return S.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},_.prototype.transformDocument=function(S){return this.queryManager.transform(S)},_.prototype.maskResult=function(S){return S&&"data"in S?(0,F.Cl)((0,F.Cl)({},S),{data:this.queryManager.maskOperation({document:this.query,data:S.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):S},_}(tt.c);function ir(O){var _=O.options,S=_.fetchPolicy,W=_.nextFetchPolicy;return"cache-and-network"===S||"network-only"===S?O.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(K,Te){return this.nextFetchPolicy=W,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(K,Te):S}}):O.reobserve()}function it(O){!1!==globalThis.__DEV__&&L.V1.error(25,O.message,O.stack)}function si(O){!1!==globalThis.__DEV__&&O&&!1!==globalThis.__DEV__&&L.V1.debug(26,O)}function we(O){return"network-only"===O||"no-cache"===O||"standby"===O}rt(tr);var Ft=new(ve.et?WeakMap:Map);function Rt(O,_){var S=O[_];"function"==typeof S&&(O[_]=function(){return Ft.set(O,(Ft.get(O)+1)%1e15),S.apply(this,arguments)})}function qn(O){O.notifyTimeout&&(clearTimeout(O.notifyTimeout),O.notifyTimeout=void 0)}var ei=function(){function O(_,S){void 0===S&&(S=_.generateQueryId()),this.queryId=S,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var W=this.cache=_.cache;Ft.has(W)||(Ft.set(W,0),Rt(W,"evict"),Rt(W,"modify"),Rt(W,"reset"))}return O.prototype.init=function(_){var S=_.networkStatus||I.loading;return this.variables&&this.networkStatus!==I.loading&&!(0,Qn.L)(this.variables,_.variables)&&(S=I.setVariables),(0,Qn.L)(_.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:_.document,variables:_.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:S}),_.observableQuery&&this.setObservableQuery(_.observableQuery),_.lastRequestId&&(this.lastRequestId=_.lastRequestId),this},O.prototype.reset=function(){qn(this),this.dirty=!1},O.prototype.resetDiff=function(){this.lastDiff=void 0},O.prototype.getDiff=function(){var _=this.getDiffOptions();if(this.lastDiff&&(0,Qn.L)(_,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var S=this.observableQuery;if(S&&"no-cache"===S.options.fetchPolicy)return{complete:!1};var W=this.cache.diff(_);return this.updateLastDiff(W,_),W},O.prototype.updateLastDiff=function(_,S){this.lastDiff=_?{diff:_,options:S||this.getDiffOptions()}:void 0},O.prototype.getDiffOptions=function(_){var S;return void 0===_&&(_=this.variables),{query:this.document,variables:_,returnPartialData:!0,optimistic:!0,canonizeResults:null===(S=this.observableQuery)||void 0===S?void 0:S.options.canonizeResults}},O.prototype.setDiff=function(_){var W,S=this,K=this.lastDiff&&this.lastDiff.diff;_&&!_.complete&&null!==(W=this.observableQuery)&&void 0!==W&&W.getLastError()||(this.updateLastDiff(_),!this.dirty&&!(0,Qn.L)(K&&K.result,_&&_.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return S.notify()},0))))},O.prototype.setObservableQuery=function(_){var S=this;_!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=_,_?(_.queryInfo=this,this.listeners.add(this.oqListener=function(){S.getDiff().fromOptimisticTransaction?_.observe():ir(_)})):delete this.oqListener)},O.prototype.notify=function(){var _=this;qn(this),this.shouldNotify()&&this.listeners.forEach(function(S){return S(_)}),this.dirty=!1},O.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(A(this.networkStatus)&&this.observableQuery){var _=this.observableQuery.options.fetchPolicy;if("cache-only"!==_&&"cache-and-network"!==_)return!1}return!0},O.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=O.prototype.cancel;var _=this.observableQuery;_&&_.stopPolling()}},O.prototype.cancel=function(){},O.prototype.updateWatch=function(_){var S=this;void 0===_&&(_=this.variables);var W=this.observableQuery;if(!W||"no-cache"!==W.options.fetchPolicy){var K=(0,F.Cl)((0,F.Cl)({},this.getDiffOptions(_)),{watcher:this,callback:function(Te){return S.setDiff(Te)}});(!this.lastWatch||!(0,Qn.L)(K,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=K))}},O.prototype.resetLastWrite=function(){this.lastWrite=void 0},O.prototype.shouldWrite=function(_,S){var W=this.lastWrite;return!(W&&W.dmCount===Ft.get(this.cache)&&(0,Qn.L)(S,W.variables)&&(0,Qn.L)(_.data,W.result.data))},O.prototype.markResult=function(_,S,W,K){var Te=this,lt=new Ze.ZI,Pt=(0,We.E)(_.errors)?_.errors.slice(0):[];if(this.reset(),"incremental"in _&&(0,We.E)(_.incremental)){var zt=Rn(this.getDiff().result,_);_.data=zt}else if("hasNext"in _&&_.hasNext){var en=this.getDiff();_.data=lt.merge(en.result,_.data)}this.graphQLErrors=Pt,"no-cache"===W.fetchPolicy?this.updateLastDiff({result:_.data,complete:!0},this.getDiffOptions(W.variables)):0!==K&&(nr(_,W.errorPolicy)?this.cache.performTransaction(function(on){if(Te.shouldWrite(_,W.variables))on.writeQuery({query:S,data:_.data,variables:W.variables,overwrite:1===K}),Te.lastWrite={result:_,variables:W.variables,dmCount:Ft.get(Te.cache)};else if(Te.lastDiff&&Te.lastDiff.diff.complete)return void(_.data=Te.lastDiff.diff.result);var bn=Te.getDiffOptions(W.variables),Mn=on.diff(bn);!Te.stopped&&(0,Qn.L)(Te.variables,W.variables)&&Te.updateWatch(W.variables),Te.updateLastDiff(Mn,bn),Mn.complete&&(_.data=Mn.result)}):this.lastWrite=void 0)},O.prototype.markReady=function(){return this.networkError=null,this.networkStatus=I.ready},O.prototype.markError=function(_){return this.networkStatus=I.error,this.lastWrite=void 0,this.reset(),_.graphQLErrors&&(this.graphQLErrors=_.graphQLErrors),_.networkError&&(this.networkError=_.networkError),_},O}();function nr(O,_){void 0===_&&(_="none");var S="ignore"===_||"all"===_,W=!He(O);return!W&&S&&O.data&&(W=!0),W}var Mr=u(4420),lr=u(2170),Dr=u(2151),cr=u(2390),vi=u(6882),Ue=u(4539),st=Object.prototype.hasOwnProperty,ct=Object.create(null),nn=function(){function O(_){var S=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new lr.A(Dr.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Mr.b(!1),this.noCacheWarningsByQueryId=new Set;var W=new Qt.c(function(Te){return S.cache.transformDocument(Te)},{cache:!1});this.cache=_.cache,this.link=_.link,this.defaultOptions=_.defaultOptions,this.queryDeduplication=_.queryDeduplication,this.clientAwareness=_.clientAwareness,this.localState=_.localState,this.ssrMode=_.ssrMode,this.assumeImmutableResults=_.assumeImmutableResults,this.dataMasking=_.dataMasking;var K=_.documentTransform;this.documentTransform=K?W.concat(K).concat(W):W,this.defaultContext=_.defaultContext||Object.create(null),(this.onBroadcast=_.onBroadcast)&&(this.mutationStore=Object.create(null))}return O.prototype.stop=function(){var _=this;this.queries.forEach(function(S,W){_.stopQueryNoBroadcast(W)}),this.cancelPendingFetches((0,L.vA)(27))},O.prototype.cancelPendingFetches=function(_){this.fetchCancelFns.forEach(function(S){return S(_)}),this.fetchCancelFns.clear()},O.prototype.mutate=function(_){return(0,F.sH)(this,arguments,void 0,function(S){var W,K,Te,lt,Pt,zt,en,on=S.mutation,bn=S.variables,Mn=S.optimisticResponse,zn=S.updateQueries,An=S.refetchQueries,Qe=void 0===An?[]:An,Et=S.awaitRefetchQueries,wt=void 0!==Et&&Et,vn=S.update,In=S.onQueryUpdated,di=S.fetchPolicy,hi=void 0===di?(null===(zt=this.defaultOptions.mutate)||void 0===zt?void 0:zt.fetchPolicy)||"network-only":di,bi=S.errorPolicy,$r=void 0===bi?(null===(en=this.defaultOptions.mutate)||void 0===en?void 0:en.errorPolicy)||"none":bi,br=S.keepRootFields,zi=S.context;return(0,F.YH)(this,function(Wr){switch(Wr.label){case 0:return(0,L.V1)(on,28),(0,L.V1)("network-only"===hi||"no-cache"===hi,29),W=this.generateMutationId(),on=this.cache.transformForLink(this.transform(on)),K=this.getDocumentInfo(on).hasClientExports,bn=this.getVariables(on,bn),K?[4,this.localState.addExportedVariables(on,bn,zi)]:[3,2];case 1:bn=Wr.sent(),Wr.label=2;case 2:return Te=this.mutationStore&&(this.mutationStore[W]={mutation:on,variables:bn,loading:!0,error:null}),lt=Mn&&this.markMutationOptimistic(Mn,{mutationId:W,document:on,variables:bn,fetchPolicy:hi,errorPolicy:$r,context:zi,updateQueries:zn,update:vn,keepRootFields:br}),this.broadcastQueries(),Pt=this,[2,new Promise(function(ns,Qo){return Zt(Pt.getObservableFromLink(on,(0,F.Cl)((0,F.Cl)({},zi),{optimisticResponse:lt?Mn:void 0}),bn,{},!1),function(Xr){if(He(Xr)&&"none"===$r)throw new Ce({graphQLErrors:Ee(Xr)});Te&&(Te.loading=!1,Te.error=null);var bo=(0,F.Cl)({},Xr);return"function"==typeof Qe&&(Qe=Qe(bo)),"ignore"===$r&&He(bo)&&delete bo.errors,Pt.markMutationResult({mutationId:W,result:bo,document:on,variables:bn,fetchPolicy:hi,errorPolicy:$r,context:zi,update:vn,updateQueries:zn,awaitRefetchQueries:wt,refetchQueries:Qe,removeOptimistic:lt?W:void 0,onQueryUpdated:In,keepRootFields:br})}).subscribe({next:function(Xr){Pt.broadcastQueries(),(!("hasNext"in Xr)||!1===Xr.hasNext)&&ns((0,F.Cl)((0,F.Cl)({},Xr),{data:Pt.maskOperation({document:on,data:Xr.data,fetchPolicy:hi,id:W})}))},error:function(Xr){Te&&(Te.loading=!1,Te.error=Xr),lt&&Pt.cache.removeOptimistic(W),Pt.broadcastQueries(),Qo(Xr instanceof Ce?Xr:new Ce({networkError:Xr}))}})})]}})})},O.prototype.markMutationResult=function(_,S){var W=this;void 0===S&&(S=this.cache);var K=_.result,Te=[],lt="no-cache"===_.fetchPolicy;if(!lt&&nr(K,_.errorPolicy)){if(gt(K)||Te.push({result:K.data,dataId:"ROOT_MUTATION",query:_.document,variables:_.variables}),gt(K)&&(0,We.E)(K.incremental)){var Pt=S.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(_.document).asQuery,variables:_.variables,optimistic:!1,returnPartialData:!0}),zt=void 0;Pt.result&&(zt=Rn(Pt.result,K)),typeof zt<"u"&&(K.data=zt,Te.push({result:zt,dataId:"ROOT_MUTATION",query:_.document,variables:_.variables}))}var en=_.updateQueries;en&&this.queries.forEach(function(bn,Mn){var zn=bn.observableQuery,An=zn&&zn.queryName;if(An&&st.call(en,An)){var Qe=en[An],Et=W.queries.get(Mn),wt=Et.document,vn=Et.variables,In=S.diff({query:wt,variables:vn,returnPartialData:!0,optimistic:!1}),di=In.result;if(In.complete&&di){var bi=Qe(di,{mutationResult:K,queryName:wt&&(0,jn.n4)(wt)||void 0,queryVariables:vn});bi&&Te.push({result:bi,dataId:"ROOT_QUERY",query:wt,variables:vn})}}})}if(Te.length>0||(_.refetchQueries||"").length>0||_.update||_.onQueryUpdated||_.removeOptimistic){var on=[];if(this.refetchQueries({updateCache:function(bn){lt||Te.forEach(function(Qe){return bn.write(Qe)});var Mn=_.update,zn=!function xn(O){return gt(O)||function an(O){return"hasNext"in O&&"data"in O}(O)}(K)||gt(K)&&!K.hasNext;if(Mn){if(!lt){var An=bn.diff({id:"ROOT_MUTATION",query:W.getDocumentInfo(_.document).asQuery,variables:_.variables,optimistic:!1,returnPartialData:!0});An.complete&&("incremental"in(K=(0,F.Cl)((0,F.Cl)({},K),{data:An.result}))&&delete K.incremental,"hasNext"in K&&delete K.hasNext)}zn&&Mn(bn,K,{context:_.context,variables:_.variables})}!lt&&!_.keepRootFields&&zn&&bn.modify({id:"ROOT_MUTATION",fields:function(Qe,Et){return"__typename"===Et.fieldName?Qe:Et.DELETE}})},include:_.refetchQueries,optimistic:!1,removeOptimistic:_.removeOptimistic,onQueryUpdated:_.onQueryUpdated||null}).forEach(function(bn){return on.push(bn)}),_.awaitRefetchQueries||_.onQueryUpdated)return Promise.all(on).then(function(){return K})}return Promise.resolve(K)},O.prototype.markMutationOptimistic=function(_,S){var W=this,K="function"==typeof _?_(S.variables,{IGNORE:ct}):_;return K!==ct&&(this.cache.recordOptimisticTransaction(function(Te){try{W.markMutationResult((0,F.Cl)((0,F.Cl)({},S),{result:{data:K}}),Te)}catch(lt){!1!==globalThis.__DEV__&&L.V1.error(lt)}},S.mutationId),!0)},O.prototype.fetchQuery=function(_,S,W){return this.fetchConcastWithInfo(_,S,W).concast.promise},O.prototype.getQueryStore=function(){var _=Object.create(null);return this.queries.forEach(function(S,W){_[W]={variables:S.variables,networkStatus:S.networkStatus,networkError:S.networkError,graphQLErrors:S.graphQLErrors}}),_},O.prototype.resetErrors=function(_){var S=this.queries.get(_);S&&(S.networkError=void 0,S.graphQLErrors=[])},O.prototype.transform=function(_){return this.documentTransform.transformDocument(_)},O.prototype.getDocumentInfo=function(_){var S=this.transformCache;if(!S.has(_)){var W={hasClientExports:(0,Se.f2)(_),hasForcedResolvers:this.localState.shouldForceResolvers(_),hasNonreactiveDirective:(0,Se.d8)(["nonreactive"],_),nonReactiveQuery:(0,Yt.x3)(_),clientQuery:this.localState.clientQuery(_),serverQuery:(0,Yt.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],_),defaultVars:(0,jn.wY)((0,jn.Vu)(_)),asQuery:(0,F.Cl)((0,F.Cl)({},_),{definitions:_.definitions.map(function(K){return"OperationDefinition"===K.kind&&"query"!==K.operation?(0,F.Cl)((0,F.Cl)({},K),{operation:"query"}):K})})};S.set(_,W)}return S.get(_)},O.prototype.getVariables=function(_,S){return(0,F.Cl)((0,F.Cl)({},this.getDocumentInfo(_).defaultVars),S)},O.prototype.watchQuery=function(_){var S=this.transform(_.query);typeof(_=(0,F.Cl)((0,F.Cl)({},_),{variables:this.getVariables(S,_.variables)})).notifyOnNetworkStatusChange>"u"&&(_.notifyOnNetworkStatusChange=!1);var W=new ei(this),K=new tr({queryManager:this,queryInfo:W,options:_});return K.lastQuery=S,this.queries.set(K.queryId,W),W.init({document:S,observableQuery:K,variables:K.variables}),K},O.prototype.query=function(_,S){var W=this;void 0===S&&(S=this.generateQueryId()),(0,L.V1)(_.query,30),(0,L.V1)("Document"===_.query.kind,31),(0,L.V1)(!_.returnPartialData,32),(0,L.V1)(!_.pollInterval,33);var K=this.transform(_.query);return this.fetchQuery(S,(0,F.Cl)((0,F.Cl)({},_),{query:K})).then(function(Te){return Te&&(0,F.Cl)((0,F.Cl)({},Te),{data:W.maskOperation({document:K,data:Te.data,fetchPolicy:_.fetchPolicy,id:S})})}).finally(function(){return W.stopQuery(S)})},O.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},O.prototype.generateRequestId=function(){return this.requestIdCounter++},O.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},O.prototype.stopQueryInStore=function(_){this.stopQueryInStoreNoBroadcast(_),this.broadcastQueries()},O.prototype.stopQueryInStoreNoBroadcast=function(_){var S=this.queries.get(_);S&&S.stop()},O.prototype.clearStore=function(_){return void 0===_&&(_={discardWatches:!0}),this.cancelPendingFetches((0,L.vA)(34)),this.queries.forEach(function(S){S.observableQuery?S.networkStatus=I.loading:S.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(_)},O.prototype.getObservableQueries=function(_){var S=this;void 0===_&&(_="active");var W=new Map,K=new Map,Te=new Map,lt=new Set;return Array.isArray(_)&&_.forEach(function(Pt){if("string"==typeof Pt)K.set(Pt,Pt),Te.set(Pt,!1);else if((0,q.Kc)(Pt)){var zt=(0,Hn.y)(S.transform(Pt));K.set(zt,(0,jn.n4)(Pt)),Te.set(zt,!1)}else(0,Re.U)(Pt)&&Pt.query&<.add(Pt)}),this.queries.forEach(function(Pt,zt){var en=Pt.observableQuery,on=Pt.document;if(en){if("all"===_)return void W.set(zt,en);var bn=en.queryName;if("standby"===en.options.fetchPolicy||"active"===_&&!en.hasObservers())return;("active"===_||bn&&Te.has(bn)||on&&Te.has((0,Hn.y)(on)))&&(W.set(zt,en),bn&&Te.set(bn,!0),on&&Te.set((0,Hn.y)(on),!0))}}),lt.size&<.forEach(function(Pt){var zt=(0,J.v)("legacyOneTimeQuery"),en=S.getQuery(zt).init({document:Pt.query,variables:Pt.variables}),on=new tr({queryManager:S,queryInfo:en,options:(0,F.Cl)((0,F.Cl)({},Pt),{fetchPolicy:"network-only"})});(0,L.V1)(on.queryId===zt),en.setObservableQuery(on),W.set(zt,on)}),!1!==globalThis.__DEV__&&Te.size&&Te.forEach(function(Pt,zt){if(!Pt){var en=K.get(zt);en?!1!==globalThis.__DEV__&&L.V1.warn(35,en):!1!==globalThis.__DEV__&&L.V1.warn(36)}}),W},O.prototype.reFetchObservableQueries=function(_){var S=this;void 0===_&&(_=!1);var W=[];return this.getObservableQueries(_?"all":"active").forEach(function(K,Te){var lt=K.options.fetchPolicy;K.resetLastResults(),(_||"standby"!==lt&&"cache-only"!==lt)&&W.push(K.refetch()),S.getQuery(Te).setDiff(null)}),this.broadcastQueries(),Promise.all(W)},O.prototype.setObservableQuery=function(_){this.getQuery(_.queryId).setObservableQuery(_)},O.prototype.startGraphQLSubscription=function(_){var S=this,W=_.query,K=_.variables,Te=_.fetchPolicy,lt=_.errorPolicy,Pt=void 0===lt?"none":lt,zt=_.context,en=void 0===zt?{}:zt,on=_.extensions,bn=void 0===on?{}:on;W=this.transform(W),K=this.getVariables(W,K);var Mn=function(An){return S.getObservableFromLink(W,en,An,bn).map(function(Qe){"no-cache"!==Te&&(nr(Qe,Pt)&&S.cache.write({query:W,result:Qe.data,dataId:"ROOT_SUBSCRIPTION",variables:An}),S.broadcastQueries());var Et=He(Qe),wt=function ge(O){return!!O.extensions&&Array.isArray(O.extensions[fe])}(Qe);if(Et||wt){var vn={};if(Et&&(vn.graphQLErrors=Qe.errors),wt&&(vn.protocolErrors=Qe.extensions[fe]),"none"===Pt||wt)throw new Ce(vn)}return"ignore"===Pt&&delete Qe.errors,Qe})};if(this.getDocumentInfo(W).hasClientExports){var zn=this.localState.addExportedVariables(W,K,en).then(Mn);return new tt.c(function(An){var Qe=null;return zn.then(function(Et){return Qe=Et.subscribe(An)},An.error),function(){return Qe&&Qe.unsubscribe()}})}return Mn(K)},O.prototype.stopQuery=function(_){this.stopQueryNoBroadcast(_),this.broadcastQueries()},O.prototype.stopQueryNoBroadcast=function(_){this.stopQueryInStoreNoBroadcast(_),this.removeQuery(_)},O.prototype.removeQuery=function(_){this.fetchCancelFns.delete(_),this.queries.has(_)&&(this.getQuery(_).stop(),this.queries.delete(_))},O.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(_){return _.notify()})},O.prototype.getLocalState=function(){return this.localState},O.prototype.getObservableFromLink=function(_,S,W,K,Te){var Pt,lt=this;void 0===Te&&(Te=null!==(Pt=S?.queryDeduplication)&&void 0!==Pt?Pt:this.queryDeduplication);var zt,en=this.getDocumentInfo(_),on=en.serverQuery,bn=en.clientQuery;if(on){var zn=this.inFlightLinkObservables,An=this.link,Qe={query:on,variables:W,operationName:(0,jn.n4)(on)||void 0,context:this.prepareContext((0,F.Cl)((0,F.Cl)({},S),{forceFetch:!Te})),extensions:K};if(S=Qe.context,Te){var Et=(0,Hn.y)(on),wt=(0,wi.M)(W),vn=zn.lookup(Et,wt);if(!(zt=vn.observable)){var In=new yn([re(An,Qe)]);zt=vn.observable=In,In.beforeNext(function(){zn.remove(Et,wt)})}}else zt=new yn([re(An,Qe)])}else zt=new yn([tt.c.of({data:{}})]),S=this.prepareContext(S);return bn&&(zt=Zt(zt,function(di){return lt.localState.runResolvers({document:bn,remoteResult:di,context:S,variables:W})})),zt},O.prototype.getResultsFromLink=function(_,S,W){var K=_.lastRequestId=this.generateRequestId(),Te=this.cache.transformForLink(W.query);return Zt(this.getObservableFromLink(Te,W.context,W.variables),function(lt){var Pt=Ee(lt),zt=Pt.length>0,en=W.errorPolicy;if(K>=_.lastRequestId){if(zt&&"none"===en)throw _.markError(new Ce({graphQLErrors:Pt}));_.markResult(lt,Te,W,S),_.markReady()}var on={data:lt.data,loading:!1,networkStatus:I.ready};return zt&&"none"===en&&(on.data=void 0),zt&&"ignore"!==en&&(on.errors=Pt,on.networkStatus=I.error),on},function(lt){var Pt=ke(lt)?lt:new Ce({networkError:lt});throw K>=_.lastRequestId&&_.markError(Pt),Pt})},O.prototype.fetchConcastWithInfo=function(_,S,W,K){var Te=this;void 0===W&&(W=I.loading),void 0===K&&(K=S.query);var bi,$r,lt=this.getVariables(K,S.variables),Pt=this.getQuery(_),zt=this.defaultOptions.watchQuery,en=S.fetchPolicy,bn=S.errorPolicy,zn=S.returnPartialData,Qe=S.notifyOnNetworkStatusChange,wt=S.context,In=Object.assign({},S,{query:K,variables:lt,fetchPolicy:void 0===en?zt&&zt.fetchPolicy||"cache-first":en,errorPolicy:void 0===bn?zt&&zt.errorPolicy||"none":bn,returnPartialData:void 0!==zn&&zn,notifyOnNetworkStatusChange:void 0!==Qe&&Qe,context:void 0===wt?{}:wt}),di=function(zi){In.variables=zi;var Wr=Te.fetchQueryByPolicy(Pt,In,W);return"standby"!==In.fetchPolicy&&Wr.sources.length>0&&Pt.observableQuery&&Pt.observableQuery.applyNextFetchPolicy("after-fetch",S),Wr},hi=function(){return Te.fetchCancelFns.delete(_)};if(this.fetchCancelFns.set(_,function(zi){hi(),setTimeout(function(){return bi.cancel(zi)})}),this.getDocumentInfo(In.query).hasClientExports)bi=new yn(this.localState.addExportedVariables(In.query,In.variables,In.context).then(di).then(function(zi){return zi.sources})),$r=!0;else{var br=di(In.variables);$r=br.fromLink,bi=new yn(br.sources)}return bi.promise.then(hi,hi),{concast:bi,fromLink:$r}},O.prototype.refetchQueries=function(_){var S=this,W=_.updateCache,K=_.include,Te=_.optimistic,lt=void 0!==Te&&Te,Pt=_.removeOptimistic,zt=void 0===Pt?lt?(0,J.v)("refetchQueries"):void 0:Pt,en=_.onQueryUpdated,on=new Map;K&&this.getObservableQueries(K).forEach(function(Mn,zn){on.set(zn,{oq:Mn,lastDiff:S.getQuery(zn).getDiff()})});var bn=new Map;return W&&this.cache.batch({update:W,optimistic:lt&&zt||!1,removeOptimistic:zt,onWatchUpdated:function(Mn,zn,An){var Qe=Mn.watcher instanceof ei&&Mn.watcher.observableQuery;if(Qe){if(en){on.delete(Qe.queryId);var Et=en(Qe,zn,An);return!0===Et&&(Et=Qe.refetch()),!1!==Et&&bn.set(Qe,Et),Et}null!==en&&on.set(Qe.queryId,{oq:Qe,lastDiff:An,diff:zn})}}}),on.size&&on.forEach(function(Mn,zn){var wt,An=Mn.oq,Qe=Mn.lastDiff,Et=Mn.diff;if(en){if(!Et){var vn=An.queryInfo;vn.reset(),Et=vn.getDiff()}wt=en(An,Et,Qe)}(!en||!0===wt)&&(wt=An.refetch()),!1!==wt&&bn.set(An,wt),zn.indexOf("legacyOneTimeQuery")>=0&&S.stopQueryNoBroadcast(zn)}),zt&&this.cache.removeOptimistic(zt),bn},O.prototype.maskOperation=function(_){var S,W,K,Te=_.document,lt=_.data;if(!1!==globalThis.__DEV__){var Pt=_.fetchPolicy,zt=_.id,en=null===(S=(0,jn.Vu)(Te))||void 0===S?void 0:S.operation,on=(null!==(W=en?.[0])&&void 0!==W?W:"o")+zt;this.dataMasking&&"no-cache"===Pt&&!(0,Jt.s6)(Te)&&!this.noCacheWarningsByQueryId.has(on)&&(this.noCacheWarningsByQueryId.add(on),!1!==globalThis.__DEV__&&L.V1.warn(37,null!==(K=(0,jn.n4)(Te))&&void 0!==K?K:"Unnamed ".concat(en??"operation")))}return this.dataMasking?function qr(O,_,S){var W;if(!S.fragmentMatches)return!1!==globalThis.__DEV__&&(0,vi.Ki)(),O;var K=(0,jn.Vu)(_);return(0,L.V1)(K,51),null==O?O:(0,cr.S)(O,K.selectionSet,{operationType:K.operation,operationName:null===(W=K.name)||void 0===W?void 0:W.value,fragmentMap:(0,Jt.JG)((0,jn.zK)(_)),cache:S,mutableTargets:new vi.jq,knownChanged:new vi.xm})}(lt,Te,this.cache):lt},O.prototype.maskFragment=function(_){var S=_.data;return this.dataMasking?(0,Ue.z)(S,_.fragment,this.cache,_.fragmentName):S},O.prototype.fetchQueryByPolicy=function(_,S,W){var K=this,Te=S.query,lt=S.variables,Pt=S.fetchPolicy,zt=S.refetchWritePolicy,en=S.errorPolicy,on=S.returnPartialData,bn=S.context,Mn=S.notifyOnNetworkStatusChange,zn=_.networkStatus;_.init({document:Te,variables:lt,networkStatus:W});var An=function(){return _.getDiff()},Qe=function(di,hi){void 0===hi&&(hi=_.networkStatus||I.loading);var bi=di.result;!1!==globalThis.__DEV__&&!on&&!(0,Qn.L)(bi,{})&&si(di.missing);var $r=function(br){return tt.c.of((0,F.Cl)({data:br,loading:A(hi),networkStatus:hi},di.complete?null:{partial:!0}))};return bi&&K.getDocumentInfo(Te).hasForcedResolvers?K.localState.runResolvers({document:Te,remoteResult:{data:bi},context:bn,variables:lt,onlyRunForcedResolvers:!0}).then(function(br){return $r(br.data||void 0)}):"none"===en&&hi===I.refetch&&Array.isArray(di.missing)?$r(void 0):$r(bi)},Et="no-cache"===Pt?0:W===I.refetch&&"merge"!==zt?1:2,wt=function(){return K.getResultsFromLink(_,Et,{query:Te,variables:lt,context:bn,fetchPolicy:Pt,errorPolicy:en})},vn=Mn&&"number"==typeof zn&&zn!==W&&A(W);switch(Pt){default:case"cache-first":return(In=An()).complete?{fromLink:!1,sources:[Qe(In,_.markReady())]}:on||vn?{fromLink:!0,sources:[Qe(In),wt()]}:{fromLink:!0,sources:[wt()]};case"cache-and-network":var In;return(In=An()).complete||on||vn?{fromLink:!0,sources:[Qe(In),wt()]}:{fromLink:!0,sources:[wt()]};case"cache-only":return{fromLink:!1,sources:[Qe(An(),_.markReady())]};case"network-only":return vn?{fromLink:!0,sources:[Qe(An()),wt()]}:{fromLink:!0,sources:[wt()]};case"no-cache":return vn?{fromLink:!0,sources:[Qe(_.getDiff()),wt()]}:{fromLink:!0,sources:[wt()]};case"standby":return{fromLink:!1,sources:[]}}},O.prototype.getQuery=function(_){return _&&!this.queries.has(_)&&this.queries.set(_,new ei(this,_)),this.queries.get(_)},O.prototype.prepareContext=function(_){void 0===_&&(_={});var S=this.localState.prepareContext(_);return(0,F.Cl)((0,F.Cl)((0,F.Cl)({},this.defaultContext),S),{clientAwareness:this.clientAwareness})},O}(),yt=u(1955);function Oi(O){return O.kind===yt.b.FIELD||O.kind===yt.b.FRAGMENT_SPREAD||O.kind===yt.b.INLINE_FRAGMENT}var Fi=u(4141),Ni=function(){function O(_){var S=_.cache,W=_.client,K=_.resolvers,Te=_.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=S,W&&(this.client=W),K&&this.addResolvers(K),Te&&this.setFragmentMatcher(Te)}return O.prototype.addResolvers=function(_){var S=this;this.resolvers=this.resolvers||{},Array.isArray(_)?_.forEach(function(W){S.resolvers=(0,Ze.D9)(S.resolvers,W)}):this.resolvers=(0,Ze.D9)(this.resolvers,_)},O.prototype.setResolvers=function(_){this.resolvers={},this.addResolvers(_)},O.prototype.getResolvers=function(){return this.resolvers||{}},O.prototype.runResolvers=function(_){return(0,F.sH)(this,arguments,void 0,function(S){var W=S.document,K=S.remoteResult,Te=S.context,lt=S.variables,Pt=S.onlyRunForcedResolvers,zt=void 0!==Pt&&Pt;return(0,F.YH)(this,function(en){return W?[2,this.resolveDocument(W,K.data,Te,lt,this.fragmentMatcher,zt).then(function(on){return(0,F.Cl)((0,F.Cl)({},K),{data:on.result})})]:[2,K]})})},O.prototype.setFragmentMatcher=function(_){this.fragmentMatcher=_},O.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},O.prototype.clientQuery=function(_){return(0,Se.d8)(["client"],_)&&this.resolvers?_:null},O.prototype.serverQuery=function(_){return(0,Yt.er)(_)},O.prototype.prepareContext=function(_){var S=this.cache;return(0,F.Cl)((0,F.Cl)({},_),{cache:S,getCacheKey:function(W){return S.identify(W)}})},O.prototype.addExportedVariables=function(_){return(0,F.sH)(this,arguments,void 0,function(S,W,K){return void 0===W&&(W={}),void 0===K&&(K={}),(0,F.YH)(this,function(Te){return S?[2,this.resolveDocument(S,this.buildRootValueFromCache(S,W)||{},this.prepareContext(K),W).then(function(lt){return(0,F.Cl)((0,F.Cl)({},W),lt.exportedVariables)})]:[2,(0,F.Cl)({},W)]})})},O.prototype.shouldForceResolvers=function(_){var S=!1;return(0,mt.YR)(_,{Directive:{enter:function(W){if("client"===W.name.value&&W.arguments&&(S=W.arguments.some(function(K){return"always"===K.name.value&&"BooleanValue"===K.value.kind&&!0===K.value.value})))return mt.sP}}}),S},O.prototype.buildRootValueFromCache=function(_,S){return this.cache.diff({query:(0,Yt.zc)(_),variables:S,returnPartialData:!0,optimistic:!1}).result},O.prototype.resolveDocument=function(_,S){return(0,F.sH)(this,arguments,void 0,function(W,K,Te,lt,Pt,zt){var en,on,bn,Mn,zn,An,Qe,Et,wt,vn;return void 0===Te&&(Te={}),void 0===lt&&(lt={}),void 0===Pt&&(Pt=function(){return!0}),void 0===zt&&(zt=!1),(0,F.YH)(this,function(di){return en=(0,jn.Vn)(W),on=(0,jn.zK)(W),bn=(0,Jt.JG)(on),Mn=this.collectSelectionsToResolve(en,bn),An=(zn=en.operation)?zn.charAt(0).toUpperCase()+zn.slice(1):"Query",Et=(Qe=this).cache,wt=Qe.client,vn={fragmentMap:bn,context:(0,F.Cl)((0,F.Cl)({},Te),{cache:Et,client:wt}),variables:lt,fragmentMatcher:Pt,defaultOperationType:An,exportedVariables:{},selectionsToResolve:Mn,onlyRunForcedResolvers:zt},[2,this.resolveSelectionSet(en.selectionSet,!1,K,vn).then(function(hi){return{result:hi,exportedVariables:vn.exportedVariables}})]})})},O.prototype.resolveSelectionSet=function(_,S,W,K){return(0,F.sH)(this,void 0,void 0,function(){var Te,lt,Pt,zt,on=this;return(0,F.YH)(this,function(bn){return Te=K.fragmentMap,lt=K.context,Pt=K.variables,zt=[W],[2,Promise.all(_.selections.map(function(Mn){return(0,F.sH)(on,void 0,void 0,function(){var zn;return(0,F.YH)(this,function(Qe){return(S||K.selectionsToResolve.has(Mn))&&(0,Se.MS)(Mn,Pt)?(0,q.dt)(Mn)?[2,this.resolveField(Mn,S,W,K).then(function(Et){var wt;typeof Et<"u"&&zt.push(((wt={})[(0,q.ue)(Mn)]=Et,wt))})]:((0,q.kd)(Mn)?zn=Mn:(0,L.V1)(zn=Te[Mn.name.value],19,Mn.name.value),zn&&zn.typeCondition&&K.fragmentMatcher(W,zn.typeCondition.name.value,lt)?[2,this.resolveSelectionSet(zn.selectionSet,S,W,K).then(function(Et){zt.push(Et)})]:[2]):[2]})})})).then(function(){return(0,Ze.IM)(zt)})]})})},O.prototype.resolveField=function(_,S,W,K){return(0,F.sH)(this,void 0,void 0,function(){var Te,lt,Pt,zt,en,on,bn,Mn,zn,An=this;return(0,F.YH)(this,function(Qe){return W?(Te=K.variables,lt=_.name.value,Pt=(0,q.ue)(_),zt=lt!==Pt,en=W[Pt]||W[lt],on=Promise.resolve(en),(!K.onlyRunForcedResolvers||this.shouldForceResolvers(_))&&(bn=W.__typename||K.defaultOperationType,(Mn=this.resolvers&&this.resolvers[bn])&&(zn=Mn[zt?lt:Pt])&&(on=Promise.resolve(Fi.bl.withValue(this.cache,zn,[W,(0,q.MB)(_,Te),K.context,{field:_,fragmentMap:K.fragmentMap}])))),[2,on.then(function(Et){var wt,vn;if(void 0===Et&&(Et=en),_.directives&&_.directives.forEach(function(di){"export"===di.name.value&&di.arguments&&di.arguments.forEach(function(hi){"as"===hi.name.value&&"StringValue"===hi.value.kind&&(K.exportedVariables[hi.value.value]=Et)})}),!_.selectionSet||null==Et)return Et;var In=null!==(vn=null===(wt=_.directives)||void 0===wt?void 0:wt.some(function(di){return"client"===di.name.value}))&&void 0!==vn&&vn;return Array.isArray(Et)?An.resolveSubSelectedArray(_,S||In,Et,K):_.selectionSet?An.resolveSelectionSet(_.selectionSet,S||In,Et,K):void 0})]):[2,null]})})},O.prototype.resolveSubSelectedArray=function(_,S,W,K){var Te=this;return Promise.all(W.map(function(lt){return null===lt?null:Array.isArray(lt)?Te.resolveSubSelectedArray(_,S,lt,K):_.selectionSet?Te.resolveSelectionSet(_.selectionSet,S,lt,K):void 0}))},O.prototype.collectSelectionsToResolve=function(_,S){var W=function(lt){return!Array.isArray(lt)},K=this.selectionsToResolveCache;return function Te(lt){if(!K.has(lt)){var Pt=new Set;K.set(lt,Pt),(0,mt.YR)(lt,{Directive:function(zt,en,on,bn,Mn){"client"===zt.name.value&&Mn.forEach(function(zn){W(zn)&&Oi(zn)&&Pt.add(zn)})},FragmentSpread:function(zt,en,on,bn,Mn){var zn=S[zt.name.value];(0,L.V1)(zn,20,zt.name.value);var An=Te(zn);An.size>0&&(Mn.forEach(function(Qe){W(Qe)&&Oi(Qe)&&Pt.add(Qe)}),Pt.add(zt),An.forEach(function(Qe){Pt.add(Qe)}))}})}return K.get(lt)}(_)},O}();function Sr(O,_){return(0,Lt.o)(O,_,_.variables&&{variables:(0,Lt.o)((0,F.Cl)((0,F.Cl)({},O&&O.variables),_.variables))})}var Vr=u(8782),Pr=!1,Fr=function(){function O(_){var W,S=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!_.cache)throw(0,L.vA)(16);var K=_.uri,Pt=_.cache,zt=_.documentTransform,en=_.ssrMode,on=void 0!==en&&en,bn=_.ssrForceFetchDelay,Mn=void 0===bn?0:bn,zn=_.connectToDevTools,An=_.queryDeduplication,Qe=void 0===An||An,Et=_.defaultOptions,wt=_.defaultContext,vn=_.assumeImmutableResults,In=void 0===vn?Pt.assumeImmutableResults:vn,di=_.resolvers,hi=_.typeDefs,bi=_.fragmentMatcher,$r=_.name,br=_.version,zi=_.devtools,Wr=_.dataMasking,ns=_.link;ns||(ns=K?new ki({uri:K,credentials:_.credentials,headers:_.headers}):de.C.empty()),this.link=ns,this.cache=Pt,this.disableNetworkFetches=on||Mn>0,this.queryDeduplication=Qe,this.defaultOptions=Et||Object.create(null),this.typeDefs=hi,this.devtoolsConfig=(0,F.Cl)((0,F.Cl)({},zi),{enabled:null!==(W=zi?.enabled)&&void 0!==W?W:zn}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),Mn&&setTimeout(function(){return S.disableNetworkFetches=!1},Mn),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.bind(this),this.version=me.r,this.localState=new Ni({cache:Pt,client:this,resolvers:di,fragmentMatcher:bi}),this.queryManager=new nn({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:wt,documentTransform:zt,queryDeduplication:Qe,ssrMode:on,dataMasking:!!Wr,clientAwareness:{name:$r,version:br},localState:this.localState,assumeImmutableResults:In,onBroadcast:this.devtoolsConfig.enabled?function(){S.devToolsHookCb&&S.devToolsHookCb({action:{},state:{queries:S.queryManager.getQueryStore(),mutations:S.queryManager.mutationStore||{}},dataWithOptimisticResults:S.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return O.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var _=window,S=Symbol.for("apollo.devtools");(_[S]=_[S]||[]).push(this),_.__APOLLO_CLIENT__=this,!Pr&&!1!==globalThis.__DEV__&&(Pr=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var W=window.navigator,K=W&&W.userAgent,Te=void 0;"string"==typeof K&&(K.indexOf("Chrome/")>-1?Te="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":K.indexOf("Firefox/")>-1&&(Te="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Te&&!1!==globalThis.__DEV__&&L.V1.log("Download the Apollo DevTools for a better development experience: %s",Te)}},1e4))}},Object.defineProperty(O.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),O.prototype.stop=function(){this.queryManager.stop()},O.prototype.watchQuery=function(_){return this.defaultOptions.watchQuery&&(_=Sr(this.defaultOptions.watchQuery,_)),this.disableNetworkFetches&&("network-only"===_.fetchPolicy||"cache-and-network"===_.fetchPolicy)&&(_=(0,F.Cl)((0,F.Cl)({},_),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(_)},O.prototype.query=function(_){return this.defaultOptions.query&&(_=Sr(this.defaultOptions.query,_)),(0,L.V1)("cache-and-network"!==_.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===_.fetchPolicy&&(_=(0,F.Cl)((0,F.Cl)({},_),{fetchPolicy:"cache-first"})),this.queryManager.query(_)},O.prototype.mutate=function(_){return this.defaultOptions.mutate&&(_=Sr(this.defaultOptions.mutate,_)),this.queryManager.mutate(_)},O.prototype.subscribe=function(_){var S=this,W=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(_).map(function(K){return(0,F.Cl)((0,F.Cl)({},K),{data:S.queryManager.maskOperation({document:_.query,data:K.data,fetchPolicy:_.fetchPolicy,id:W})})})},O.prototype.readQuery=function(_,S){return void 0===S&&(S=!1),this.cache.readQuery(_,S)},O.prototype.watchFragment=function(_){var S;return this.cache.watchFragment((0,F.Cl)((0,F.Cl)({},_),((S={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,S)))},O.prototype.readFragment=function(_,S){return void 0===S&&(S=!1),this.cache.readFragment(_,S)},O.prototype.writeQuery=function(_){var S=this.cache.writeQuery(_);return!1!==_.broadcast&&this.queryManager.broadcastQueries(),S},O.prototype.writeFragment=function(_){var S=this.cache.writeFragment(_);return!1!==_.broadcast&&this.queryManager.broadcastQueries(),S},O.prototype.__actionHookForDevTools=function(_){this.devToolsHookCb=_},O.prototype.__requestRaw=function(_){return re(this.link,_)},O.prototype.resetStore=function(){var _=this;return Promise.resolve().then(function(){return _.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(_.resetStoreCallbacks.map(function(S){return S()}))}).then(function(){return _.reFetchObservableQueries()})},O.prototype.clearStore=function(){var _=this;return Promise.resolve().then(function(){return _.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(_.clearStoreCallbacks.map(function(S){return S()}))})},O.prototype.onResetStore=function(_){var S=this;return this.resetStoreCallbacks.push(_),function(){S.resetStoreCallbacks=S.resetStoreCallbacks.filter(function(W){return W!==_})}},O.prototype.onClearStore=function(_){var S=this;return this.clearStoreCallbacks.push(_),function(){S.clearStoreCallbacks=S.clearStoreCallbacks.filter(function(W){return W!==_})}},O.prototype.reFetchObservableQueries=function(_){return this.queryManager.reFetchObservableQueries(_)},O.prototype.refetchQueries=function(_){var S=this.queryManager.refetchQueries(_),W=[],K=[];S.forEach(function(lt,Pt){W.push(Pt),K.push(lt)});var Te=Promise.all(K);return Te.queries=W,Te.results=K,Te.catch(function(lt){!1!==globalThis.__DEV__&&L.V1.debug(18,lt)}),Te},O.prototype.getObservableQueries=function(_){return void 0===_&&(_="active"),this.queryManager.getObservableQueries(_)},O.prototype.extract=function(_){return this.cache.extract(_)},O.prototype.restore=function(_){return this.cache.restore(_)},O.prototype.addResolvers=function(_){this.localState.addResolvers(_)},O.prototype.setResolvers=function(_){this.localState.setResolvers(_)},O.prototype.getResolvers=function(){return this.localState.getResolvers()},O.prototype.setLocalStateFragmentMatcher=function(_){this.localState.setFragmentMatcher(_)},O.prototype.setLink=function(_){this.link=this.queryManager.link=_},Object.defineProperty(O.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),O}();function qt(O,_){if(!O)throw new Error(_??"Unexpected invariant triggered.")}!1!==globalThis.__DEV__&&(Fr.prototype.getMemoryInternals=Vr.ep);const pn=/\r\n|[\n\r]/g;function ft(O,_){let S=0,W=1;for(const K of O.body.matchAll(pn)){if("number"==typeof K.index||qt(!1),K.index>=_)break;S=K.index+K[0].length,W+=1}return{line:W,column:_+1-S}}function Pn(O,_){const S=O.locationOffset.column-1,W="".padStart(S)+O.body,K=_.line-1,lt=_.line+(O.locationOffset.line-1),zt=_.column+(1===_.line?S:0),en=`${O.name}:${lt}:${zt}\n`,on=W.split(/\r\n|[\n\r]/g),bn=on[K];if(bn.length>120){const Mn=Math.floor(zt/80),zn=zt%80,An=[];for(let Qe=0;Qe["|",Qe]),["|","^".padStart(zn)],["|",An[Mn+1]]])}return en+fi([[lt-1+" |",on[K-1]],[`${lt} |`,bn],["|","^".padStart(zt)],[`${lt+1} |`,on[K+1]]])}function fi(O){const _=O.filter(([W,K])=>void 0!==K),S=Math.max(..._.map(([W])=>W.length));return _.map(([W,K])=>W.padStart(S)+(K?" "+K:"")).join("\n")}class Zi extends Error{constructor(_,...S){var W,K,Te;const{nodes:lt,source:Pt,positions:zt,path:en,originalError:on,extensions:bn}=function ai(O){const _=O[0];return null==_||"kind"in _||"length"in _?{nodes:_,source:O[1],positions:O[2],path:O[3],originalError:O[4],extensions:O[5]}:_}(S);super(_),this.name="GraphQLError",this.path=en??void 0,this.originalError=on??void 0,this.nodes=Mi(Array.isArray(lt)?lt:lt?[lt]:void 0);const Mn=Mi(null===(W=this.nodes)||void 0===W?void 0:W.map(An=>An.loc).filter(An=>null!=An));this.source=Pt??(null==Mn||null===(K=Mn[0])||void 0===K?void 0:K.source),this.positions=zt??Mn?.map(An=>An.start),this.locations=zt&&Pt?zt.map(An=>ft(Pt,An)):Mn?.map(An=>ft(An.source,An.start));const zn=function oo(O){return"object"==typeof O&&null!==O}(on?.extensions)?on?.extensions:void 0;this.extensions=null!==(Te=bn??zn)&&void 0!==Te?Te: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!=on&&on.stack?Object.defineProperty(this,"stack",{value:on.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Zi):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let _=this.message;if(this.nodes)for(const S of this.nodes)S.loc&&(_+="\n\n"+Pn((O=S.loc).source,ft(O.source,O.start)));else if(this.source&&this.locations)for(const S of this.locations)_+="\n\n"+Pn(this.source,S);var O;return _}toJSON(){const _={message:this.message};return null!=this.locations&&(_.locations=this.locations),null!=this.path&&(_.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(_.extensions=this.extensions),_}}function Mi(O){return void 0===O||0===O.length?void 0:O}function gr(O,_,S){return new Zi(`Syntax Error: ${S}`,{source:O,positions:[_]})}var Ji=u(1222),Mo=function(O){return O.QUERY="QUERY",O.MUTATION="MUTATION",O.SUBSCRIPTION="SUBSCRIPTION",O.FIELD="FIELD",O.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",O.FRAGMENT_SPREAD="FRAGMENT_SPREAD",O.INLINE_FRAGMENT="INLINE_FRAGMENT",O.VARIABLE_DEFINITION="VARIABLE_DEFINITION",O.SCHEMA="SCHEMA",O.SCALAR="SCALAR",O.OBJECT="OBJECT",O.FIELD_DEFINITION="FIELD_DEFINITION",O.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",O.INTERFACE="INTERFACE",O.UNION="UNION",O.ENUM="ENUM",O.ENUM_VALUE="ENUM_VALUE",O.INPUT_OBJECT="INPUT_OBJECT",O.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",O}(Mo||{}),Io=u(5174),so=u(3725),sn=function(O){return O.SOF="",O.EOF="",O.BANG="!",O.DOLLAR="$",O.AMP="&",O.PAREN_L="(",O.PAREN_R=")",O.SPREAD="...",O.COLON=":",O.EQUALS="=",O.AT="@",O.BRACKET_L="[",O.BRACKET_R="]",O.BRACE_L="{",O.PIPE="|",O.BRACE_R="}",O.NAME="Name",O.INT="Int",O.FLOAT="Float",O.STRING="String",O.BLOCK_STRING="BlockString",O.COMMENT="Comment",O}(sn||{});class ro{constructor(_){const S=new Ji.ou(sn.SOF,0,0,0,0);this.source=_,this.lastToken=S,this.token=S,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let _=this.token;if(_.kind!==sn.EOF)do{if(_.next)_=_.next;else{const S=Li(this,_.end);_.next=S,S.prev=_,_=S}}while(_.kind===sn.COMMENT);return _}}function Po(O){return O>=0&&O<=55295||O>=57344&&O<=1114111}function $o(O,_){return Wo(O.charCodeAt(_))&&ws(O.charCodeAt(_+1))}function Wo(O){return O>=55296&&O<=56319}function ws(O){return O>=56320&&O<=57343}function eo(O,_){const S=O.source.body.codePointAt(_);if(void 0===S)return sn.EOF;if(S>=32&&S<=126){const W=String.fromCodePoint(S);return'"'===W?"'\"'":`"${W}"`}return"U+"+S.toString(16).toUpperCase().padStart(4,"0")}function Ar(O,_,S,W,K){return new Ji.ou(_,S,W,O.line,1+S-O.lineStart,K)}function Li(O,_){const S=O.source.body,W=S.length;let K=_;for(;K=48&&O<=57?O-48:O>=65&&O<=70?O-55:O>=97&&O<=102?O-87:-1}function fa(O,_){const S=O.source.body;switch(S.charCodeAt(_+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 gr(O.source,_,`Invalid character escape sequence: "${S.slice(_,_+2)}".`)}function Ir(O,_){const S=O.source.body,W=S.length;let K=O.lineStart,Te=_+3,lt=Te,Pt="";const zt=[];for(;Te0||(0,to.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,to.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class jr{constructor(_,S={}){const W=function wo(O){return Do(O,Xo)}(_)?_:new Xo(_);this._lexer=new ro(W),this._options=S,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const _=this.expectToken(sn.NAME);return this.node(_,{kind:yt.b.NAME,value:_.value})}parseDocument(){return this.node(this._lexer.token,{kind:yt.b.DOCUMENT,definitions:this.many(sn.SOF,this.parseDefinition,sn.EOF)})}parseDefinition(){if(this.peek(sn.BRACE_L))return this.parseOperationDefinition();const _=this.peekDescription(),S=_?this._lexer.lookahead():this._lexer.token;if(S.kind===sn.NAME){switch(S.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()}if(_)throw gr(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(S.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(S)}parseOperationDefinition(){const _=this._lexer.token;if(this.peek(sn.BRACE_L))return this.node(_,{kind:yt.b.OPERATION_DEFINITION,operation:Ji.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const S=this.parseOperationType();let W;return this.peek(sn.NAME)&&(W=this.parseName()),this.node(_,{kind:yt.b.OPERATION_DEFINITION,operation:S,name:W,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const _=this.expectToken(sn.NAME);switch(_.value){case"query":return Ji.cE.QUERY;case"mutation":return Ji.cE.MUTATION;case"subscription":return Ji.cE.SUBSCRIPTION}throw this.unexpected(_)}parseVariableDefinitions(){return this.optionalMany(sn.PAREN_L,this.parseVariableDefinition,sn.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:yt.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(sn.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(sn.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const _=this._lexer.token;return this.expectToken(sn.DOLLAR),this.node(_,{kind:yt.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:yt.b.SELECTION_SET,selections:this.many(sn.BRACE_L,this.parseSelection,sn.BRACE_R)})}parseSelection(){return this.peek(sn.SPREAD)?this.parseFragment():this.parseField()}parseField(){const _=this._lexer.token,S=this.parseName();let W,K;return this.expectOptionalToken(sn.COLON)?(W=S,K=this.parseName()):K=S,this.node(_,{kind:yt.b.FIELD,alias:W,name:K,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(sn.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(_){return this.optionalMany(sn.PAREN_L,_?this.parseConstArgument:this.parseArgument,sn.PAREN_R)}parseArgument(_=!1){const S=this._lexer.token,W=this.parseName();return this.expectToken(sn.COLON),this.node(S,{kind:yt.b.ARGUMENT,name:W,value:this.parseValueLiteral(_)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const _=this._lexer.token;this.expectToken(sn.SPREAD);const S=this.expectOptionalKeyword("on");return!S&&this.peek(sn.NAME)?this.node(_,{kind:yt.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(_,{kind:yt.b.INLINE_FRAGMENT,typeCondition:S?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const _=this._lexer.token;return this.expectKeyword("fragment"),this.node(_,!0===this._options.allowLegacyFragmentVariables?{kind:yt.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}:{kind:yt.b.FRAGMENT_DEFINITION,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(_){const S=this._lexer.token;switch(S.kind){case sn.BRACKET_L:return this.parseList(_);case sn.BRACE_L:return this.parseObject(_);case sn.INT:return this.advanceLexer(),this.node(S,{kind:yt.b.INT,value:S.value});case sn.FLOAT:return this.advanceLexer(),this.node(S,{kind:yt.b.FLOAT,value:S.value});case sn.STRING:case sn.BLOCK_STRING:return this.parseStringLiteral();case sn.NAME:switch(this.advanceLexer(),S.value){case"true":return this.node(S,{kind:yt.b.BOOLEAN,value:!0});case"false":return this.node(S,{kind:yt.b.BOOLEAN,value:!1});case"null":return this.node(S,{kind:yt.b.NULL});default:return this.node(S,{kind:yt.b.ENUM,value:S.value})}case sn.DOLLAR:if(_){if(this.expectToken(sn.DOLLAR),this._lexer.token.kind===sn.NAME)throw gr(this._lexer.source,S.start,`Unexpected variable "$${this._lexer.token.value}" in constant value.`);throw this.unexpected(S)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const _=this._lexer.token;return this.advanceLexer(),this.node(_,{kind:yt.b.STRING,value:_.value,block:_.kind===sn.BLOCK_STRING})}parseList(_){return this.node(this._lexer.token,{kind:yt.b.LIST,values:this.any(sn.BRACKET_L,()=>this.parseValueLiteral(_),sn.BRACKET_R)})}parseObject(_){return this.node(this._lexer.token,{kind:yt.b.OBJECT,fields:this.any(sn.BRACE_L,()=>this.parseObjectField(_),sn.BRACE_R)})}parseObjectField(_){const S=this._lexer.token,W=this.parseName();return this.expectToken(sn.COLON),this.node(S,{kind:yt.b.OBJECT_FIELD,name:W,value:this.parseValueLiteral(_)})}parseDirectives(_){const S=[];for(;this.peek(sn.AT);)S.push(this.parseDirective(_));return S}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(_){const S=this._lexer.token;return this.expectToken(sn.AT),this.node(S,{kind:yt.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(_)})}parseTypeReference(){const _=this._lexer.token;let S;if(this.expectOptionalToken(sn.BRACKET_L)){const W=this.parseTypeReference();this.expectToken(sn.BRACKET_R),S=this.node(_,{kind:yt.b.LIST_TYPE,type:W})}else S=this.parseNamedType();return this.expectOptionalToken(sn.BANG)?this.node(_,{kind:yt.b.NON_NULL_TYPE,type:S}):S}parseNamedType(){return this.node(this._lexer.token,{kind:yt.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(sn.STRING)||this.peek(sn.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const _=this._lexer.token,S=this.parseDescription();this.expectKeyword("schema");const W=this.parseConstDirectives(),K=this.many(sn.BRACE_L,this.parseOperationTypeDefinition,sn.BRACE_R);return this.node(_,{kind:yt.b.SCHEMA_DEFINITION,description:S,directives:W,operationTypes:K})}parseOperationTypeDefinition(){const _=this._lexer.token,S=this.parseOperationType();this.expectToken(sn.COLON);const W=this.parseNamedType();return this.node(_,{kind:yt.b.OPERATION_TYPE_DEFINITION,operation:S,type:W})}parseScalarTypeDefinition(){const _=this._lexer.token,S=this.parseDescription();this.expectKeyword("scalar");const W=this.parseName(),K=this.parseConstDirectives();return this.node(_,{kind:yt.b.SCALAR_TYPE_DEFINITION,description:S,name:W,directives:K})}parseObjectTypeDefinition(){const _=this._lexer.token,S=this.parseDescription();this.expectKeyword("type");const W=this.parseName(),K=this.parseImplementsInterfaces(),Te=this.parseConstDirectives(),lt=this.parseFieldsDefinition();return this.node(_,{kind:yt.b.OBJECT_TYPE_DEFINITION,description:S,name:W,interfaces:K,directives:Te,fields:lt})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(sn.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(sn.BRACE_L,this.parseFieldDefinition,sn.BRACE_R)}parseFieldDefinition(){const _=this._lexer.token,S=this.parseDescription(),W=this.parseName(),K=this.parseArgumentDefs();this.expectToken(sn.COLON);const Te=this.parseTypeReference(),lt=this.parseConstDirectives();return this.node(_,{kind:yt.b.FIELD_DEFINITION,description:S,name:W,arguments:K,type:Te,directives:lt})}parseArgumentDefs(){return this.optionalMany(sn.PAREN_L,this.parseInputValueDef,sn.PAREN_R)}parseInputValueDef(){const _=this._lexer.token,S=this.parseDescription(),W=this.parseName();this.expectToken(sn.COLON);const K=this.parseTypeReference();let Te;this.expectOptionalToken(sn.EQUALS)&&(Te=this.parseConstValueLiteral());const lt=this.parseConstDirectives();return this.node(_,{kind:yt.b.INPUT_VALUE_DEFINITION,description:S,name:W,type:K,defaultValue:Te,directives:lt})}parseInterfaceTypeDefinition(){const _=this._lexer.token,S=this.parseDescription();this.expectKeyword("interface");const W=this.parseName(),K=this.parseImplementsInterfaces(),Te=this.parseConstDirectives(),lt=this.parseFieldsDefinition();return this.node(_,{kind:yt.b.INTERFACE_TYPE_DEFINITION,description:S,name:W,interfaces:K,directives:Te,fields:lt})}parseUnionTypeDefinition(){const _=this._lexer.token,S=this.parseDescription();this.expectKeyword("union");const W=this.parseName(),K=this.parseConstDirectives(),Te=this.parseUnionMemberTypes();return this.node(_,{kind:yt.b.UNION_TYPE_DEFINITION,description:S,name:W,directives:K,types:Te})}parseUnionMemberTypes(){return this.expectOptionalToken(sn.EQUALS)?this.delimitedMany(sn.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const _=this._lexer.token,S=this.parseDescription();this.expectKeyword("enum");const W=this.parseName(),K=this.parseConstDirectives(),Te=this.parseEnumValuesDefinition();return this.node(_,{kind:yt.b.ENUM_TYPE_DEFINITION,description:S,name:W,directives:K,values:Te})}parseEnumValuesDefinition(){return this.optionalMany(sn.BRACE_L,this.parseEnumValueDefinition,sn.BRACE_R)}parseEnumValueDefinition(){const _=this._lexer.token,S=this.parseDescription(),W=this.parseEnumValueName(),K=this.parseConstDirectives();return this.node(_,{kind:yt.b.ENUM_VALUE_DEFINITION,description:S,name:W,directives:K})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw gr(this._lexer.source,this._lexer.token.start,`${Ys(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const _=this._lexer.token,S=this.parseDescription();this.expectKeyword("input");const W=this.parseName(),K=this.parseConstDirectives(),Te=this.parseInputFieldsDefinition();return this.node(_,{kind:yt.b.INPUT_OBJECT_TYPE_DEFINITION,description:S,name:W,directives:K,fields:Te})}parseInputFieldsDefinition(){return this.optionalMany(sn.BRACE_L,this.parseInputValueDef,sn.BRACE_R)}parseTypeSystemExtension(){const _=this._lexer.lookahead();if(_.kind===sn.NAME)switch(_.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()}throw this.unexpected(_)}parseSchemaExtension(){const _=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const S=this.parseConstDirectives(),W=this.optionalMany(sn.BRACE_L,this.parseOperationTypeDefinition,sn.BRACE_R);if(0===S.length&&0===W.length)throw this.unexpected();return this.node(_,{kind:yt.b.SCHEMA_EXTENSION,directives:S,operationTypes:W})}parseScalarTypeExtension(){const _=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const S=this.parseName(),W=this.parseConstDirectives();if(0===W.length)throw this.unexpected();return this.node(_,{kind:yt.b.SCALAR_TYPE_EXTENSION,name:S,directives:W})}parseObjectTypeExtension(){const _=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const S=this.parseName(),W=this.parseImplementsInterfaces(),K=this.parseConstDirectives(),Te=this.parseFieldsDefinition();if(0===W.length&&0===K.length&&0===Te.length)throw this.unexpected();return this.node(_,{kind:yt.b.OBJECT_TYPE_EXTENSION,name:S,interfaces:W,directives:K,fields:Te})}parseInterfaceTypeExtension(){const _=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const S=this.parseName(),W=this.parseImplementsInterfaces(),K=this.parseConstDirectives(),Te=this.parseFieldsDefinition();if(0===W.length&&0===K.length&&0===Te.length)throw this.unexpected();return this.node(_,{kind:yt.b.INTERFACE_TYPE_EXTENSION,name:S,interfaces:W,directives:K,fields:Te})}parseUnionTypeExtension(){const _=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const S=this.parseName(),W=this.parseConstDirectives(),K=this.parseUnionMemberTypes();if(0===W.length&&0===K.length)throw this.unexpected();return this.node(_,{kind:yt.b.UNION_TYPE_EXTENSION,name:S,directives:W,types:K})}parseEnumTypeExtension(){const _=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const S=this.parseName(),W=this.parseConstDirectives(),K=this.parseEnumValuesDefinition();if(0===W.length&&0===K.length)throw this.unexpected();return this.node(_,{kind:yt.b.ENUM_TYPE_EXTENSION,name:S,directives:W,values:K})}parseInputObjectTypeExtension(){const _=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const S=this.parseName(),W=this.parseConstDirectives(),K=this.parseInputFieldsDefinition();if(0===W.length&&0===K.length)throw this.unexpected();return this.node(_,{kind:yt.b.INPUT_OBJECT_TYPE_EXTENSION,name:S,directives:W,fields:K})}parseDirectiveDefinition(){const _=this._lexer.token,S=this.parseDescription();this.expectKeyword("directive"),this.expectToken(sn.AT);const W=this.parseName(),K=this.parseArgumentDefs(),Te=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const lt=this.parseDirectiveLocations();return this.node(_,{kind:yt.b.DIRECTIVE_DEFINITION,description:S,name:W,arguments:K,repeatable:Te,locations:lt})}parseDirectiveLocations(){return this.delimitedMany(sn.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const _=this._lexer.token,S=this.parseName();if(Object.prototype.hasOwnProperty.call(Mo,S.value))return S;throw this.unexpected(_)}node(_,S){return!0!==this._options.noLocation&&(S.loc=new Ji.aZ(_,this._lexer.lastToken,this._lexer.source)),S}peek(_){return this._lexer.token.kind===_}expectToken(_){const S=this._lexer.token;if(S.kind===_)return this.advanceLexer(),S;throw gr(this._lexer.source,S.start,`Expected ${ho(_)}, found ${Ys(S)}.`)}expectOptionalToken(_){return this._lexer.token.kind===_&&(this.advanceLexer(),!0)}expectKeyword(_){const S=this._lexer.token;if(S.kind!==sn.NAME||S.value!==_)throw gr(this._lexer.source,S.start,`Expected "${_}", found ${Ys(S)}.`);this.advanceLexer()}expectOptionalKeyword(_){const S=this._lexer.token;return S.kind===sn.NAME&&S.value===_&&(this.advanceLexer(),!0)}unexpected(_){const S=_??this._lexer.token;return gr(this._lexer.source,S.start,`Unexpected ${Ys(S)}.`)}any(_,S,W){this.expectToken(_);const K=[];for(;!this.expectOptionalToken(W);)K.push(S.call(this));return K}optionalMany(_,S,W){if(this.expectOptionalToken(_)){const K=[];do{K.push(S.call(this))}while(!this.expectOptionalToken(W));return K}return[]}many(_,S,W){this.expectToken(_);const K=[];do{K.push(S.call(this))}while(!this.expectOptionalToken(W));return K}delimitedMany(_,S){this.expectOptionalToken(_);const W=[];do{W.push(S.call(this))}while(this.expectOptionalToken(_));return W}advanceLexer(){const{maxTokens:_}=this._options,S=this._lexer.advance();if(S.kind!==sn.EOF&&(++this._tokenCounter,void 0!==_&&this._tokenCounter>_))throw gr(this._lexer.source,S.start,`Document contains more that ${_} tokens. Parsing aborted.`)}}function Ys(O){const _=O.value;return ho(O.kind)+(null!=_?` "${_}"`:"")}function ho(O){return function Lo(O){return O===sn.BANG||O===sn.DOLLAR||O===sn.AMP||O===sn.PAREN_L||O===sn.PAREN_R||O===sn.SPREAD||O===sn.COLON||O===sn.EQUALS||O===sn.AT||O===sn.BRACKET_L||O===sn.BRACKET_R||O===sn.BRACE_L||O===sn.PIPE||O===sn.BRACE_R}(O)?`"${O}"`:O}var _a=new Map,xs=new Map,Ur=!0,_o=!1;function Rr(O){return O.replace(/[\s,]+/g," ").trim()}function or(O){var _=Rr(O);if(!_a.has(_)){var S=function Gn(O,_){const S=new jr(O,_),W=S.parseDocument();return Object.defineProperty(W,"tokenCount",{enumerable:!1,value:S.tokenCount}),W}(O,{experimentalFragmentVariables:_o,allowLegacyFragmentVariables:_o});if(!S||"Document"!==S.kind)throw new Error("Not a valid GraphQL document.");_a.set(_,function ao(O){var _=new Set(O.definitions);_.forEach(function(W){W.loc&&delete W.loc,Object.keys(W).forEach(function(K){var Te=W[K];Te&&"object"==typeof Te&&_.add(Te)})});var S=O.loc;return S&&(delete S.startToken,delete S.endToken),O}(function Ro(O){var _=new Set,S=[];return O.definitions.forEach(function(W){if("FragmentDefinition"===W.kind){var K=W.name.value,Te=function Nr(O){return Rr(O.source.body.substring(O.start,O.end))}(W.loc),lt=xs.get(K);lt&&!lt.has(Te)?Ur&&console.warn("Warning: fragment with name "+K+" 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"):lt||xs.set(K,lt=new Set),lt.add(Te),_.has(Te)||(_.add(Te),S.push(W))}else S.push(W)}),(0,F.Cl)((0,F.Cl)({},O),{definitions:S})}(S)))}return _a.get(_)}function So(O){for(var _=[],S=1;S(O().then(S=>{_.closed||(_.next(S),_.complete())},S=>{_.closed||_.error(S)}),()=>_.unsubscribe()))}class Fe{zone;constructor(_){this.zone=_}now=Date.now?Date.now:()=>+new Date;schedule(_,S=0,W){return this.zone.run(()=>G.schedule(_,S,W))}}function vt(O){return O[R.s]=()=>O,O}function mi(O,_){return O.pipe((0,ne.Q)(new Fe(_)))}function ji(O,_,S){return O&&typeof O[_]<"u"?O[_]:S}class fs{obsQuery;valueChanges;queryId;constructor(_,S,W){this.obsQuery=_;const K=mi((0,P.H)(vt(this.obsQuery)),S);this.valueChanges=W.useInitialLoading?K.pipe(function Yo(O){return function(S){return new p.c(function(K){const Te=O.getCurrentResult(),{loading:lt,errors:Pt,error:zt,partial:en,data:on}=Te,{partialRefetch:bn,fetchPolicy:Mn}=O.options,zn=Pt||zt;return bn&&en&&(!on||0===Object.keys(on).length)&&"cache-only"!==Mn&&!lt&&!zn&&K.next({...Te,loading:!0,networkStatus:I.loading}),S.subscribe(K)})}}(this.obsQuery)):K,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(_){return this.obsQuery.refetch(_)}fetchMore(_){return this.obsQuery.fetchMore(_)}subscribeToMore(_){return this.obsQuery.subscribeToMore(_)}updateQuery(_){return this.obsQuery.updateQuery(_)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(_){return this.obsQuery.startPolling(_)}setOptions(_){return this.obsQuery.setOptions(_)}setVariables(_){return this.obsQuery.setVariables(_)}}const wr=new t.nKC("APOLLO_FLAGS"),ts=new t.nKC("APOLLO_OPTIONS"),js=new t.nKC("APOLLO_NAMED_OPTIONS");class Js{ngZone;flags;_client;useInitialLoading;useMutationLoading;constructor(_,S,W){this.ngZone=_,this.flags=S,this._client=W,this.useInitialLoading=ji(S,"useInitialLoading",!1),this.useMutationLoading=ji(S,"useMutationLoading",!1)}watchQuery(_){return new fs(this.ensureClient().watchQuery({..._}),this.ngZone,{useInitialLoading:this.useInitialLoading,..._})}query(_){return ae(()=>this.ensureClient().query({..._}))}mutate(_){return function U(O,_){return _?O.pipe((0,Rs.Z)({loading:!0}),(0,Qs.T)(S=>({...S,loading:!!S.loading}))):O.pipe((0,Qs.T)(S=>({...S,loading:!1})))}(ae(()=>this.ensureClient().mutate({..._})),_.useMutationLoading??this.useMutationLoading)}subscribe(_,S){const W=(0,P.H)(vt(this.ensureClient().subscribe({..._})));return S&&!0!==S.useZone?W:mi(W,this.ngZone)}getClient(){return this.client}setClient(_){this.client=_}get client(){return this._client}set client(_){if(this._client)throw new Error("Client has been already defined");this._client=_}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let Us=(()=>{class O extends Js{_ngZone;map=new Map;constructor(S,W,K,Te){if(super(S,Te),this._ngZone=S,W&&this.createDefault(W),K&&"object"==typeof K)for(let lt in K)K.hasOwnProperty(lt)&&this.create(K[lt],lt)}create(S,W){$i(W)?this.createDefault(S):this.createNamed(W,S)}default(){return this}use(S){return $i(S)?this.default():this.map.get(S)}createDefault(S){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new Fr(S))}createNamed(S,W){if(this.map.has(S))throw new Error(`Client ${S} has been already created`);this.map.set(S,new Js(this._ngZone,this.flags,new Fr(W)))}removeClient(S){$i(S)?this._client=void 0:this.map.delete(S)}static \u0275fac=function(W){return new(W||O)(t.KVO(t.SKi),t.KVO(ts,8),t.KVO(js,8),t.KVO(wr,8))};static \u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})();function $i(O){return!O||"default"===O}const tl=[Us];let Ha=(()=>{class O{static \u0275fac=function(W){return new(W||O)};static \u0275mod=t.$C({type:O});static \u0275inj=t.G2t({providers:tl})}return O})(),nl=(()=>{class O{apollo;document;client="default";constructor(S){this.apollo=S}watch(S,W){return this.apollo.use(this.client).watchQuery({...W,variables:S,query:this.document})}fetch(S,W){return this.apollo.use(this.client).query({...W,variables:S,query:this.document})}static \u0275fac=function(W){return new(W||O)(t.KVO(Us))};static \u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})(),il=(()=>{class O{apollo;document;client="default";constructor(S){this.apollo=S}mutate(S,W){return this.apollo.use(this.client).mutate({...W,variables:S,mutation:this.document})}static \u0275fac=function(W){return new(W||O)(t.KVO(Us))};static \u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})();const rl=function ea(O,..._){return So(O,..._)}},6005:(kt,De,u)=>{"use strict";function t(p,D){if(!p)throw new Error(D)}u.d(De,{U:()=>t})},7250:(kt,De,u)=>{"use strict";u.d(De,{N:()=>D});const t=10,p=2;function D(P){return j(P,[])}function j(P,I){switch(typeof P){case"string":return JSON.stringify(P);case"function":return P.name?`[function ${P.name}]`:"[function]";case"object":return function E(P,I){if(null===P)return"null";if(I.includes(P))return"[Circular]";const A=[...I,P];if(function ee(P){return"function"==typeof P.toJSON}(P)){const b=P.toJSON();if(b!==P)return"string"==typeof b?b:j(b,A)}else if(Array.isArray(P))return function B(P,I){if(0===P.length)return"[]";if(I.length>p)return"[Array]";const A=Math.min(t,P.length),b=P.length-A,F=[];for(let L=0;L1&&F.push(`... ${b} more items`),"["+F.join(", ")+"]"}(P,A);return function G(P,I){const A=Object.entries(P);return 0===A.length?"{}":I.length>p?"["+function R(P){const I=Object.prototype.toString.call(P).replace(/^\[object /,"").replace(/]$/,"");if("Object"===I&&"function"==typeof P.constructor){const A=P.constructor.name;if("string"==typeof A&&""!==A)return A}return I}(P)+"]":"{ "+A.map(([F,L])=>F+": "+j(L,I)).join(", ")+" }"}(P,A)}(P,I);default:return String(P)}}},1222:(kt,De,u)=>{"use strict";u.d(De,{Ll:()=>E,aD:()=>D,aZ:()=>t,cE:()=>ee,ou:()=>p});class t{constructor(B,R,P){this.start=B.start,this.end=R.end,this.startToken=B,this.endToken=R,this.source=P}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class p{constructor(B,R,P,I,A,b){this.kind=B,this.start=R,this.end=P,this.line=I,this.column=A,this.value=b,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 D={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["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:["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","locations"],SchemaExtension:["directives","operationTypes"],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"]},j=new Set(Object.keys(D));function E(G){const B=G?.kind;return"string"==typeof B&&j.has(B)}var ee=function(G){return G.QUERY="query",G.MUTATION="mutation",G.SUBSCRIPTION="subscription",G}(ee||{})},5174:(kt,De,u)=>{"use strict";u.d(De,{OC:()=>p,yo:()=>E});var t=u(3725);function p(ee){var G;let B=Number.MAX_SAFE_INTEGER,R=null,P=-1;for(let A=0;A0===b?A:A.slice(B)).slice(null!==(G=R)&&void 0!==G?G:0,P+1)}function D(ee){let G=0;for(;G1&&R.slice(1).every(Se=>0===Se.length||(0,t.i0)(Se.charCodeAt(0))),A=B.endsWith('\\"""'),b=ee.endsWith('"')&&!A,F=ee.endsWith("\\"),L=b||F,de=!(null!=G&&G.minimize)&&(!P||ee.length>70||L||I||A);let re="";const me=P&&(0,t.i0)(ee.charCodeAt(0));return(de&&!me||I)&&(re+="\n"),re+=B,(de||L)&&(re+="\n"),'"""'+re+'"""'}},3725:(kt,De,u)=>{"use strict";function t(ee){return 9===ee||32===ee}function p(ee){return ee>=48&&ee<=57}function D(ee){return ee>=97&&ee<=122||ee>=65&&ee<=90}function j(ee){return D(ee)||95===ee}function E(ee){return D(ee)||p(ee)||95===ee}u.d(De,{i0:()=>t,un:()=>j,xr:()=>E,yp:()=>p})},1955:(kt,De,u)=>{"use strict";u.d(De,{b:()=>t});var t=function(p){return p.NAME="Name",p.DOCUMENT="Document",p.OPERATION_DEFINITION="OperationDefinition",p.VARIABLE_DEFINITION="VariableDefinition",p.SELECTION_SET="SelectionSet",p.FIELD="Field",p.ARGUMENT="Argument",p.FRAGMENT_SPREAD="FragmentSpread",p.INLINE_FRAGMENT="InlineFragment",p.FRAGMENT_DEFINITION="FragmentDefinition",p.VARIABLE="Variable",p.INT="IntValue",p.FLOAT="FloatValue",p.STRING="StringValue",p.BOOLEAN="BooleanValue",p.NULL="NullValue",p.ENUM="EnumValue",p.LIST="ListValue",p.OBJECT="ObjectValue",p.OBJECT_FIELD="ObjectField",p.DIRECTIVE="Directive",p.NAMED_TYPE="NamedType",p.LIST_TYPE="ListType",p.NON_NULL_TYPE="NonNullType",p.SCHEMA_DEFINITION="SchemaDefinition",p.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",p.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",p.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",p.FIELD_DEFINITION="FieldDefinition",p.INPUT_VALUE_DEFINITION="InputValueDefinition",p.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",p.UNION_TYPE_DEFINITION="UnionTypeDefinition",p.ENUM_TYPE_DEFINITION="EnumTypeDefinition",p.ENUM_VALUE_DEFINITION="EnumValueDefinition",p.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",p.DIRECTIVE_DEFINITION="DirectiveDefinition",p.SCHEMA_EXTENSION="SchemaExtension",p.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",p.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",p.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",p.UNION_TYPE_EXTENSION="UnionTypeExtension",p.ENUM_TYPE_EXTENSION="EnumTypeExtension",p.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",p}(t||{})},3246:(kt,De,u)=>{"use strict";u.d(De,{y:()=>G});var t=u(5174);const D=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function j(L){return E[L.charCodeAt(0)]}const E=["\\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 ee=u(8540);function G(L){return(0,ee.YR)(L,R)}const R={Name:{leave:L=>L.value},Variable:{leave:L=>"$"+L.name},Document:{leave:L=>P(L.definitions,"\n\n")},OperationDefinition:{leave(L){const de=A("(",P(L.variableDefinitions,", "),")"),re=P([L.operation,P([L.name,de]),P(L.directives," ")]," ");return("query"===re?"":re+" ")+L.selectionSet}},VariableDefinition:{leave:({variable:L,type:de,defaultValue:re,directives:me})=>L+": "+de+A(" = ",re)+A(" ",P(me," "))},SelectionSet:{leave:({selections:L})=>I(L)},Field:{leave({alias:L,name:de,arguments:re,directives:me,selectionSet:Se}){const tt=A("",L,": ")+de;let je=tt+A("(",P(re,", "),")");return je.length>80&&(je=tt+A("(\n",b(P(re,"\n")),"\n)")),P([je,P(me," "),Se]," ")}},Argument:{leave:({name:L,value:de})=>L+": "+de},FragmentSpread:{leave:({name:L,directives:de})=>"..."+L+A(" ",P(de," "))},InlineFragment:{leave:({typeCondition:L,directives:de,selectionSet:re})=>P(["...",A("on ",L),P(de," "),re]," ")},FragmentDefinition:{leave:({name:L,typeCondition:de,variableDefinitions:re,directives:me,selectionSet:Se})=>`fragment ${L}${A("(",P(re,", "),")")} on ${de} ${A("",P(me," ")," ")}`+Se},IntValue:{leave:({value:L})=>L},FloatValue:{leave:({value:L})=>L},StringValue:{leave:({value:L,block:de})=>de?(0,t.yo)(L):function p(L){return`"${L.replace(D,j)}"`}(L)},BooleanValue:{leave:({value:L})=>L?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:L})=>L},ListValue:{leave:({values:L})=>"["+P(L,", ")+"]"},ObjectValue:{leave:({fields:L})=>"{"+P(L,", ")+"}"},ObjectField:{leave:({name:L,value:de})=>L+": "+de},Directive:{leave:({name:L,arguments:de})=>"@"+L+A("(",P(de,", "),")")},NamedType:{leave:({name:L})=>L},ListType:{leave:({type:L})=>"["+L+"]"},NonNullType:{leave:({type:L})=>L+"!"},SchemaDefinition:{leave:({description:L,directives:de,operationTypes:re})=>A("",L,"\n")+P(["schema",P(de," "),I(re)]," ")},OperationTypeDefinition:{leave:({operation:L,type:de})=>L+": "+de},ScalarTypeDefinition:{leave:({description:L,name:de,directives:re})=>A("",L,"\n")+P(["scalar",de,P(re," ")]," ")},ObjectTypeDefinition:{leave:({description:L,name:de,interfaces:re,directives:me,fields:Se})=>A("",L,"\n")+P(["type",de,A("implements ",P(re," & ")),P(me," "),I(Se)]," ")},FieldDefinition:{leave:({description:L,name:de,arguments:re,type:me,directives:Se})=>A("",L,"\n")+de+(F(re)?A("(\n",b(P(re,"\n")),"\n)"):A("(",P(re,", "),")"))+": "+me+A(" ",P(Se," "))},InputValueDefinition:{leave:({description:L,name:de,type:re,defaultValue:me,directives:Se})=>A("",L,"\n")+P([de+": "+re,A("= ",me),P(Se," ")]," ")},InterfaceTypeDefinition:{leave:({description:L,name:de,interfaces:re,directives:me,fields:Se})=>A("",L,"\n")+P(["interface",de,A("implements ",P(re," & ")),P(me," "),I(Se)]," ")},UnionTypeDefinition:{leave:({description:L,name:de,directives:re,types:me})=>A("",L,"\n")+P(["union",de,P(re," "),A("= ",P(me," | "))]," ")},EnumTypeDefinition:{leave:({description:L,name:de,directives:re,values:me})=>A("",L,"\n")+P(["enum",de,P(re," "),I(me)]," ")},EnumValueDefinition:{leave:({description:L,name:de,directives:re})=>A("",L,"\n")+P([de,P(re," ")]," ")},InputObjectTypeDefinition:{leave:({description:L,name:de,directives:re,fields:me})=>A("",L,"\n")+P(["input",de,P(re," "),I(me)]," ")},DirectiveDefinition:{leave:({description:L,name:de,arguments:re,repeatable:me,locations:Se})=>A("",L,"\n")+"directive @"+de+(F(re)?A("(\n",b(P(re,"\n")),"\n)"):A("(",P(re,", "),")"))+(me?" repeatable":"")+" on "+P(Se," | ")},SchemaExtension:{leave:({directives:L,operationTypes:de})=>P(["extend schema",P(L," "),I(de)]," ")},ScalarTypeExtension:{leave:({name:L,directives:de})=>P(["extend scalar",L,P(de," ")]," ")},ObjectTypeExtension:{leave:({name:L,interfaces:de,directives:re,fields:me})=>P(["extend type",L,A("implements ",P(de," & ")),P(re," "),I(me)]," ")},InterfaceTypeExtension:{leave:({name:L,interfaces:de,directives:re,fields:me})=>P(["extend interface",L,A("implements ",P(de," & ")),P(re," "),I(me)]," ")},UnionTypeExtension:{leave:({name:L,directives:de,types:re})=>P(["extend union",L,P(de," "),A("= ",P(re," | "))]," ")},EnumTypeExtension:{leave:({name:L,directives:de,values:re})=>P(["extend enum",L,P(de," "),I(re)]," ")},InputObjectTypeExtension:{leave:({name:L,directives:de,fields:re})=>P(["extend input",L,P(de," "),I(re)]," ")}};function P(L,de=""){var re;return null!==(re=L?.filter(me=>me).join(de))&&void 0!==re?re:""}function I(L){return A("{\n",b(P(L,"\n")),"\n}")}function A(L,de,re=""){return null!=de&&""!==de?L+de+re:""}function b(L){return A(" ",L.replace(/\n/g,"\n "))}function F(L){var de;return null!==(de=L?.some(re=>re.includes("\n")))&&void 0!==de&&de}},8540:(kt,De,u)=>{"use strict";u.d(De,{YR:()=>ee,sP:()=>E});var t=u(6005),p=u(7250),D=u(1222),j=u(1955);const E=Object.freeze({});function ee(P,I,A=D.aD){const b=new Map;for(const $ of Object.values(j.b))b.set($,B(I,$));let F,tt,je,L=Array.isArray(P),de=[P],re=-1,me=[],Se=P;const xe=[],ve=[];do{re++;const $=re===de.length,Oe=$&&0!==me.length;if($){if(tt=0===ve.length?void 0:xe[xe.length-1],Se=je,je=ve.pop(),Oe)if(L){Se=Se.slice();let Nt=0;for(const[Ct,$t]of me){const be=Ct-Nt;null===$t?(Se.splice(be,1),Nt++):Se[be]=$t}}else{Se=Object.defineProperties({},Object.getOwnPropertyDescriptors(Se));for(const[Nt,Ct]of me)Se[Nt]=Ct}re=F.index,de=F.keys,me=F.edits,L=F.inArray,F=F.prev}else if(je){if(tt=L?re:de[re],Se=je[tt],null==Se)continue;xe.push(tt)}let Ke;if(!Array.isArray(Se)){var ye,pe;(0,D.Ll)(Se)||(0,t.U)(!1,`Invalid AST Node: ${(0,p.N)(Se)}.`);const Nt=$?null===(ye=b.get(Se.kind))||void 0===ye?void 0:ye.leave:null===(pe=b.get(Se.kind))||void 0===pe?void 0:pe.enter;if(Ke=Nt?.call(I,Se,tt,je,xe,ve),Ke===E)break;if(!1===Ke){if(!$){xe.pop();continue}}else if(void 0!==Ke&&(me.push([tt,Ke]),!$)){if(!(0,D.Ll)(Ke)){xe.pop();continue}Se=Ke}}var Pe;void 0===Ke&&Oe&&me.push([tt,Se]),$?xe.pop():(F={inArray:L,index:re,keys:de,edits:me,prev:F},L=Array.isArray(Se),de=L?Se:null!==(Pe=A[Se.kind])&&void 0!==Pe?Pe:[],re=-1,me=[],je&&ve.push(je),je=Se)}while(void 0!==F);return 0!==me.length?me[me.length-1][1]:P}function B(P,I){const A=P[I];return"object"==typeof A?A:"function"==typeof A?{enter:A,leave:void 0}:{enter:P.enter,leave:P.leave}}},2234:(kt,De,u)=>{"use strict";u.d(De,{Yq:()=>R,Zm:()=>B});var t=u(4438),p=u(177);const D=["*"],j=(P,I,A,b,F)=>({"custom-content":P,circle:I,progress:A,"progress-dark":b,pulse:F});function E(P,I){1&P&&t.SdG(0)}function ee(P,I){if(1&P&&(t.j41(0,"div",0),t.DNE(1,E,1,0),t.k0s()),2&P){const A=t.XpG();t.Y8G("ngClass",t.s1E(5,j,"custom-content"===A.appearance,"circle"===A.appearance,"progress"===A.animation,"progress-dark"===A.animation,"pulse"===A.animation))("ngStyle",A.theme),t.BMQ("aria-label",A.ariaLabel)("aria-valuetext",A.loadingText),t.R7$(),t.vxM(1,"custom-content"===A.appearance?1:-1)}}const G=new t.nKC("ngx-skeleton-loader.config");let B=(()=>{class P{constructor(A){this.config=A;const{appearance:b="line",animation:F="progress",theme:L=null,loadingText:de="Loading...",count:re=1,ariaLabel:me="loading"}=A||{};this.appearance=b,this.animation=F,this.theme=L,this.loadingText=de,this.count=re,this.items=[],this.ariaLabel=me}ngOnInit(){this.validateInputValues()}validateInputValues(){/^\d+$/.test(`${this.count}`)||((0,t.naY)()&&console.error("`NgxSkeletonLoaderComponent` need to receive 'count' a numeric value. Forcing default to \"1\"."),this.count=1),"custom-content"===this.appearance&&(0,t.naY)()&&1!==this.count&&(console.error('`NgxSkeletonLoaderComponent` enforces elements with "custom-content" appearance as DOM nodes. Forcing "count" to "1".'),this.count=1),this.items.length=this.count;const A=["progress","progress-dark","pulse","false"];-1===A.indexOf(String(this.animation))&&((0,t.naY)()&&console.error(`\`NgxSkeletonLoaderComponent\` need to receive 'animation' as: ${A.join(", ")}. Forcing default to "progress".`),this.animation="progress"),-1===["circle","line","custom-content",""].indexOf(String(this.appearance))&&((0,t.naY)()&&console.error("`NgxSkeletonLoaderComponent` need to receive 'appearance' as: circle or line or custom-content or empty string. Forcing default to \"''\"."),this.appearance="");const{theme:b}=this.config||{};b&&b.extendsFromRoot&&null!==this.theme&&(this.theme={...this.config.theme,...this.theme})}ngOnChanges(A){["count","animation","appearance"].find(b=>A[b]&&(A[b].isFirstChange()||A[b].previousValue===A[b].currentValue))||this.validateInputValues()}static#e=this.\u0275fac=function(b){return new(b||P)(t.rXU(G,8))};static#t=this.\u0275cmp=t.VBU({type:P,selectors:[["ngx-skeleton-loader"]],inputs:{count:"count",loadingText:"loadingText",appearance:"appearance",animation:"animation",ariaLabel:"ariaLabel",theme:"theme"},features:[t.OA$],ngContentSelectors:D,decls:2,vars:0,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(b,F){1&b&&(t.NAR(),t.Z7z(0,ee,2,11,"div",0,t.fX1)),2&b&&t.Dyx(F.items)},dependencies:[p.YU,p.B3],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0})}return P})(),R=(()=>{class P{static forRoot(A){return{ngModule:P,providers:[{provide:G,useValue:A}]}}static#e=this.\u0275fac=function(b){return new(b||P)};static#t=this.\u0275mod=t.$C({type:P});static#n=this.\u0275inj=t.G2t({imports:[p.MD]})}return P})()},9163:(kt,De,u)=>{"use strict";u.d(De,{DX:()=>I,yN:()=>xn,LV:()=>Cn});var t=u(4420),p=u(6476);let D=null;const j={};let E=1;function G(ot){try{return ot()}catch{}}const B="@wry/context:Slot",P=G(()=>globalThis)||G(()=>global)||Object.create(null),I=P[B]||Array[B]||function(ot){try{Object.defineProperty(P,B,{value:ot,enumerable:!1,writable:!1,configurable:!0})}finally{return ot}}(class{constructor(){this.id=["slot",E++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let Le=D;Le;Le=Le.parent)if(this.id in Le.slots){const at=Le.slots[this.id];if(at===j)break;return Le!==D&&(D.slots[this.id]=at),!0}return D&&(D.slots[this.id]=j),!1}getValue(){if(this.hasValue())return D.slots[this.id]}withValue(Le,at,_t,rn){const Xn=D;D={parent:Xn,slots:{__proto__:null,[this.id]:Le}};try{return at.apply(rn,_t)}finally{D=Xn}}static bind(Le){const at=D;return function(){const _t=D;try{return D=at,Le.apply(this,arguments)}finally{D=_t}}}static noContext(Le,at,_t){if(!D)return Le.apply(_t,at);{const rn=D;try{return D=null,Le.apply(_t,at)}finally{D=rn}}}}),Se=new I,{hasOwnProperty:je}=Object.prototype,xe=Array.from||function(ot){const Le=[];return ot.forEach(at=>Le.push(at)),Le};function ve(ot){const{unsubscribe:Le}=ot;"function"==typeof Le&&(ot.unsubscribe=void 0,Le())}const ye=[],pe=100;function Pe(ot,Le){if(!ot)throw new Error(Le||"assertion failure")}function $(ot,Le){const at=ot.length;return at>0&&at===Le.length&&ot[at-1]===Le[at-1]}function Oe(ot){switch(ot.length){case 0:throw new Error("unknown value");case 1:return ot[0];case 2:throw ot[1]}}function Ke(ot){return ot.slice(0)}let Nt=(()=>{class ot{constructor(at){this.fn=at,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++ot.count}peek(){if(1===this.value.length&&!Be(this))return Ct(this),this.value[0]}recompute(at){return Pe(!this.recomputing,"already recomputing"),Ct(this),Be(this)?function $t(ot,Le){return We(ot),Se.withValue(ot,be,[ot,Le]),function gt(ot,Le){if("function"==typeof ot.subscribe)try{ve(ot),ot.unsubscribe=ot.subscribe.apply(null,Le)}catch{return ot.setDirty(),!1}return!0}(ot,Le)&&function oe(ot){ot.dirty=!1,!Be(ot)&&fe(ot)}(ot),Oe(ot.value)}(this,at):Oe(this.value)}setDirty(){this.dirty||(this.dirty=!0,Re(this),ve(this))}dispose(){this.setDirty(),We(this),ge(this,(at,_t)=>{at.setDirty(),Ze(at,this)})}forget(){this.dispose()}dependOn(at){at.add(this),this.deps||(this.deps=ye.pop()||new Set),this.deps.add(at)}forgetDeps(){this.deps&&(xe(this.deps).forEach(at=>at.delete(this)),this.deps.clear(),ye.push(this.deps),this.deps=null)}}return ot.count=0,ot})();function Ct(ot){const Le=Se.getValue();if(Le)return ot.parents.add(Le),Le.childValues.has(ot)||Le.childValues.set(ot,[]),Be(ot)?ke(Le,ot):qe(Le,ot),Le}function be(ot,Le){ot.recomputing=!0;const{normalizeResult:at}=ot;let _t;at&&1===ot.value.length&&(_t=Ke(ot.value)),ot.value.length=0;try{if(ot.value[0]=ot.fn.apply(null,Le),at&&_t&&!$(_t,ot.value))try{ot.value[0]=at(ot.value[0],_t[0])}catch{}}catch(rn){ot.value[1]=rn}ot.recomputing=!1}function Be(ot){return ot.dirty||!(!ot.dirtyChildren||!ot.dirtyChildren.size)}function Re(ot){ge(ot,ke)}function fe(ot){ge(ot,qe)}function ge(ot,Le){const at=ot.parents.size;if(at){const _t=xe(ot.parents);for(let rn=0;rn0&&ot.childValues.forEach((Le,at)=>{Ze(ot,at)}),ot.forgetDeps(),Pe(null===ot.dirtyChildren)}function Ze(ot,Le){Le.parents.delete(ot),ot.childValues.delete(Le),Ce(ot,Le)}const an={setDirty:!0,dispose:!0,forget:!0};function xn(ot){const Le=new Map,at=ot&&ot.subscribe;function _t(rn){const Hn=Se.getValue();if(Hn){let Xn=Le.get(rn);Xn||Le.set(rn,Xn=new Set),Hn.dependOn(Xn),"function"==typeof at&&(ve(Xn),Xn.unsubscribe=at(rn))}}return _t.dirty=function(Hn,Xn){const Bt=Le.get(Hn);if(Bt){const ce=Xn&&je.call(an,Xn)?Xn:"setDirty";xe(Bt).forEach(Ye=>Ye[ce]()),Le.delete(Hn),ve(Bt)}},_t}let Tn;function Rn(...ot){return(Tn||(Tn=new t.b("function"==typeof WeakMap))).lookupArray(ot)}const ii=new Set;function Cn(ot,{max:Le=Math.pow(2,16),keyArgs:at,makeCacheKey:_t=Rn,normalizeResult:rn,subscribe:Hn,cache:Xn=p.C}=Object.create(null)){const Bt="function"==typeof Xn?new Xn(Le,Kt=>Kt.dispose()):Xn,ce=function(){const Kt=_t.apply(null,at?at.apply(null,arguments):arguments);if(void 0===Kt)return ot.apply(null,arguments);let pt=Bt.get(Kt);pt||(Bt.set(Kt,pt=new Nt(ot)),pt.normalizeResult=rn,pt.subscribe=Hn,pt.forget=()=>Bt.delete(Kt));const jt=pt.recompute(Array.prototype.slice.call(arguments));return Bt.set(Kt,pt),ii.add(Bt),Se.hasValue()||(ii.forEach(nt=>nt.clean()),ii.clear()),jt};function Ye(Kt){const pt=Kt&&Bt.get(Kt);pt&&pt.setDirty()}function Je(Kt){const pt=Kt&&Bt.get(Kt);if(pt)return pt.peek()}function xt(Kt){return!!Kt&&Bt.delete(Kt)}return Object.defineProperty(ce,"size",{get:()=>Bt.size,configurable:!1,enumerable:!1}),Object.freeze(ce.options={max:Le,keyArgs:at,makeCacheKey:_t,normalizeResult:rn,subscribe:Hn,cache:Bt}),ce.dirtyKey=Ye,ce.dirty=function(){Ye(_t.apply(null,arguments))},ce.peekKey=Je,ce.peek=function(){return Je(_t.apply(null,arguments))},ce.forgetKey=xt,ce.forget=function(){return xt(_t.apply(null,arguments))},ce.makeCacheKey=_t,ce.getKey=at?function(){return _t.apply(null,at.apply(null,arguments))}:_t,Object.freeze(ce)}},7994:(kt,De,u)=>{"use strict";function D(pe,Pe){(null==Pe||Pe>pe.length)&&(Pe=pe.length);for(var $=0,Oe=new Array(Pe);$ye});var ee=function(){return"function"==typeof Symbol},G=function(pe){return ee()&&!!Symbol[pe]},B=function(pe){return G(pe)?Symbol[pe]:"@@"+pe};ee()&&!G("observable")&&(Symbol.observable=Symbol("observable"));var R=B("iterator"),P=B("observable"),I=B("species");function A(pe,Pe){var $=pe[Pe];if(null!=$){if("function"!=typeof $)throw new TypeError($+" is not a function");return $}}function b(pe){var Pe=pe.constructor;return void 0!==Pe&&null===(Pe=Pe[I])&&(Pe=void 0),void 0!==Pe?Pe:ye}function L(pe){L.log?L.log(pe):setTimeout(function(){throw pe})}function de(pe){Promise.resolve().then(function(){try{pe()}catch(Pe){L(Pe)}})}function re(pe){var Pe=pe._cleanup;if(void 0!==Pe&&(pe._cleanup=void 0,Pe))try{if("function"==typeof Pe)Pe();else{var $=A(Pe,"unsubscribe");$&&$.call(Pe)}}catch(Oe){L(Oe)}}function me(pe){pe._observer=void 0,pe._queue=void 0,pe._state="closed"}function tt(pe,Pe,$){pe._state="running";var Oe=pe._observer;try{var Ke=A(Oe,Pe);switch(Pe){case"next":Ke&&Ke.call(Oe,$);break;case"error":if(me(pe),!Ke)throw $;Ke.call(Oe,$);break;case"complete":me(pe),Ke&&Ke.call(Oe)}}catch(Nt){L(Nt)}"closed"===pe._state?re(pe):"running"===pe._state&&(pe._state="ready")}function je(pe,Pe,$){if("closed"!==pe._state){if("buffering"===pe._state)return void pe._queue.push({type:Pe,value:$});if("ready"!==pe._state)return pe._state="buffering",pe._queue=[{type:Pe,value:$}],void de(function(){return function Se(pe){var Pe=pe._queue;if(Pe){pe._queue=void 0,pe._state="ready";for(var $=0;$1,$t=!1,Be=arguments[1];return new Nt(function(oe){return Ke.subscribe({next:function(Re){var fe=!$t;if($t=!0,!fe||Ct)try{Be=Oe(Be,Re)}catch(ge){return oe.error(ge)}else Be=Re},error:function(Re){oe.error(Re)},complete:function(){if(!$t&&!Ct)return oe.error(new TypeError("Cannot reduce an empty sequence"));oe.next(Be),oe.complete()}})})},Pe.concat=function(){for(var Oe=this,Ke=arguments.length,Nt=new Array(Ke),Ct=0;Ct=0&&$t.splice(fe,1),Be()}});$t.push(Re)},error:function(oe){Ct.error(oe)},complete:function(){Be()}});function Be(){be.closed&&0===$t.length&&Ct.complete()}return function(){$t.forEach(function(oe){return oe.unsubscribe()}),be.unsubscribe()}})},Pe[P]=function(){return this},pe.from=function(Oe){var Ke="function"==typeof this?this:pe;if(null==Oe)throw new TypeError(Oe+" is not an object");var Nt=A(Oe,P);if(Nt){var Ct=Nt.call(Oe);if(Object(Ct)!==Ct)throw new TypeError(Ct+" is not an object");return function F(pe){return pe instanceof ye}(Ct)&&Ct.constructor===Ke?Ct:new Ke(function($t){return Ct.subscribe($t)})}if(G("iterator")&&(Nt=A(Oe,R)))return new Ke(function($t){de(function(){if(!$t.closed){for(var Be,be=function t(pe,Pe){var $=typeof Symbol<"u"&&pe[Symbol.iterator]||pe["@@iterator"];if($)return($=$.call(pe)).next.bind($);if(Array.isArray(pe)||($=function p(pe,Pe){if(pe){if("string"==typeof pe)return D(pe,Pe);var $=Object.prototype.toString.call(pe).slice(8,-1);if("Object"===$&&pe.constructor&&($=pe.constructor.name),"Map"===$||"Set"===$)return Array.from(pe);if("Arguments"===$||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return D(pe,Pe)}}(pe))||Pe&&pe&&"number"==typeof pe.length){$&&(pe=$);var Oe=0;return function(){return Oe>=pe.length?{done:!0}:{done:!1,value:pe[Oe++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(Nt.call(Oe));!(Be=be()).done;)if($t.next(Be.value),$t.closed)return;$t.complete()}})});if(Array.isArray(Oe))return new Ke(function($t){de(function(){if(!$t.closed){for(var be=0;be{"use strict";u.d(De,{AQ:()=>xe,C6:()=>p,Cl:()=>D,N3:()=>je,Tt:()=>j,YH:()=>b,fX:()=>tt,sH:()=>A,xN:()=>ye});var t=function(ge,ke){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(qe,Ce){qe.__proto__=Ce}||function(qe,Ce){for(var We in Ce)Object.prototype.hasOwnProperty.call(Ce,We)&&(qe[We]=Ce[We])})(ge,ke)};function p(ge,ke){if("function"!=typeof ke&&null!==ke)throw new TypeError("Class extends value "+String(ke)+" is not a constructor or null");function qe(){this.constructor=ge}t(ge,ke),ge.prototype=null===ke?Object.create(ke):(qe.prototype=ke.prototype,new qe)}var D=function(){return D=Object.assign||function(ke){for(var qe,Ce=1,We=arguments.length;Ce0&&Ze[Ze.length-1])&&(6===Tn[0]||2===Tn[0])){qe=0;continue}if(3===Tn[0]&&(!Ze||Tn[1]>Ze[0]&&Tn[1]1||xn(ot,at)})},Le&&(We[ot]=Le(We[ot])))}function xn(ot,Le){try{!function Tn(ot){ot.value instanceof je?Promise.resolve(ot.value.v).then(Rn,ii):Cn(Ze[0][2],ot)}(Ce[ot](Le))}catch(at){Cn(Ze[0][3],at)}}function Rn(ot){xn("next",ot)}function ii(ot){xn("throw",ot)}function Cn(ot,Le){ot(Le),Ze.shift(),Ze.length&&xn(Ze[0][0],Ze[0][1])}}function ye(ge){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var qe,ke=ge[Symbol.asyncIterator];return ke?ke.call(ge):(ge=function de(ge){var ke="function"==typeof Symbol&&Symbol.iterator,qe=ke&&ge[ke],Ce=0;if(qe)return qe.call(ge);if(ge&&"number"==typeof ge.length)return{next:function(){return ge&&Ce>=ge.length&&(ge=void 0),{value:ge&&ge[Ce++],done:!ge}}};throw new TypeError(ke?"Object is not iterable.":"Symbol.iterator is not defined.")}(ge),qe={},Ce("next"),Ce("throw"),Ce("return"),qe[Symbol.asyncIterator]=function(){return this},qe);function Ce(Ze){qe[Ze]=ge[Ze]&&function(gt){return new Promise(function(an,xn){!function We(Ze,gt,an,xn){Promise.resolve(xn).then(function(Tn){Ze({value:Tn,done:an})},gt)}(an,xn,(gt=ge[Ze](gt)).done,gt.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},kt=>{kt(kt.s=9618)}]);