1import{f as E}from"./chunk-MILEB6RE.js";import{h as T,m as O}from"./chunk-L7CZ7KZJ.js";import{c as $,x as o}from"./chunk-T3YYMYAA.js";import{d as _,j as P}from"./chunk-U2NOKKVY.js";import{$a as S,Cc as C,Da as s,I as n,Ia as i,Jf as A,La as d,Ma as f,Mf as j,Qa as v,W as m,We as y,_a as M,aa as l,eb as x,ef as w,fb as p,gb as c,hb as u,p as h,sb as b,sf as I,uf as k,za as g}from"./chunk-JJXGM4WM.js";function W(t,G){if(t&1&&(p(0,"div",2),u(1,"img",3),c()),t&2){let e=b();s(),x("src",e.logoPath,g)}}var z=(()=>{class t extends y{constructor(e,a,r,H,L){super(),this.authLogoPath=e,this.darkModeService=a,this._translateService=r,this._megaSeoService=H,this._megaWebsiteService=L,this.loading=!1,this._megaSeoService.updateTitle(`${this._translateService.instant("JOIN_THE_COMMUNITY")} \xB7 ${this._megaWebsiteService.website?.title}`)}_doSubscription(){this._megaWebsiteService.logos$.pipe(n(e=>!!e),m(this._unsubscribe$)).subscribe(e=>{this.logoPath=e?.logo?.optimizedPath||e?.logo?.path||null,this.authLogoPath.next(this.logoPath)}),this._megaWebsiteService.header$.pipe(n(e=>!!e),m(this._unsubscribe$)).subscribe(e=>{this.backgroundImage=e?.backgroundImages?.length>0?e.backgroundImages[0].optimizedPath||e.backgroundImages[0].path:null,this.loading=!1})}static{this.\u0275fac=function(a){return new(a||t)(i(o),i(w),i(I),i(T),i(O))}}static{this.\u0275cmp=d({type:t,selectors:[["megaCMS-page-auth"]],standalone:!1,features:[v],decls:4,vars:1,consts:[[1,"layout-auth"],[1,"auth-form-wrapper"],[1,"avatar-container"],["src","logo-img","alt","logo",3,"src"]],template:function(a,r){a&1&&(p(0,"div",0)(1,"div",1),M(2,W,2,1,"div",2),u(3,"router-outlet"),c()()),a&2&&(s(2),S(r.logoPath?2:-1))},dependencies:[A],styles:[`@media(prefers-color-scheme:dark){megaCMS-page-auth ::placeholder{color:#fff!important}}megaCMS-page-auth .avatar-container{display:none!important}megaCMS-page-auth .layout-auth{display:flex;flex-direction:column;align-items:center;width:100%;max-height:100%;min-height:100vh;background-size:cover;overflow:auto;background-position:center;background-color:var(--light-light)}@media(min-width:576px){megaCMS-page-auth .layout-auth{justify-content:center}}megaCMS-page-auth .layout-auth .auth-form-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:center}@media(min-width:768px){megaCMS-page-auth .layout-auth .auth-form-wrapper{max-height:100vh;padding:0 0 var(--space-gargantuan) 0}}@media(max-width:767px){megaCMS-page-auth .layout-auth .auth-form-wrapper{padding:80px var(--space) var(--space-gargantuan) var(--space)}}megaCMS-page-auth .layout-auth .auth-form-wrapper .logo-icon{width:282px;margin-bottom:var(--space-big)}megaCMS-page-auth .layout-auth .auth-form-wrapper .avatar-container{display:flex;width:128px;height:128px;margin-bottom:20px;border-radius:50%;overflow:hidden;background-size:cover;background-position:center;transition:all .25s;box-shadow:0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f,0 7px 8px -4px #0003}megaCMS-page-auth .layout-auth .auth-form-wrapper .avatar-container img{width:100%;max-height:100%} 2`],encapsulation:2})}}return t})();var D=[{path:"",component:z,children:[{path:"",loadChildren:()=>import("./chunk-3NIK3BQG.js").then(t=>t.MegaAuthModule)}]}],ne=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=f({type:t})}static{this.\u0275inj=l({providers:[$,{provide:o,useValue:new h(null)}],imports:[C,j.forChild(D),k,E,P,_]})}}return t})();export{ne as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.