const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/identity-providers-BFhYB2NZ.js","assets/vendor-D8NNcBCx.js","assets/vendor-DXOeSP1F.css","assets/index-C3Ufbmof.js","assets/index-Z5xVyoS0.css","assets/identity-providers-DRL3RWD3.css"])))=>i.map(i=>d[i]);
import{F as V,ai as C,P as g,_ as n,R as a,aM as I,a1 as i,m as s,T as o,X as m,a0 as h,e as r,ae as A,W as y,a2 as E,ab as N}from"./vendor-D8NNcBCx.js";import{a8 as S,h as k,cr as x}from"./index-C3Ufbmof.js";const O={class:"sign-in__form"},w={class:"sign-in__side"},B={class:"sign-in__divider"},c="Password",W=V({__name:"sign-in",setup(D){const _=A(()=>N(()=>import("./identity-providers-BFhYB2NZ.js"),__vite__mapDeps([0,1,2,3,4,5]))),{themeContext:d}=S(),l=d.value.storeSettings?.authenticationTypes?.length?d.value.storeSettings.authenticationTypes:[c],t=s(()=>l.filter(e=>e!==c)),p=s(()=>t.value.length>0),u=s(()=>p.value&&!v.value),v=s(()=>l.includes(c)),{t:P}=C();return k({title:P("pages.sign_in.meta.title")}),(e,R)=>{const f=g("VcTypography"),T=g("VcEmptyPage");return a(),n(T,{class:"sign-in",icon:"outline-security",image:"sign-in.jpg"},I({default:i(()=>[o("div",O,[m(f,{tag:"h1",class:"sign-in__title"},{default:i(()=>[E(h(e.$t("pages.sign_in.header")),1)]),_:1}),v.value?(a(),n(r(x),{key:0})):y("",!0)]),u.value?(a(),n(r(_),{key:0,providers:t.value,class:"sign-in__providers sign-in__providers--only"},null,8,["providers"])):y("",!0)]),_:2},[p.value&&!u.value?{name:"side",fn:i(()=>[o("div",w,[o("div",B,h(e.$t("pages.sign_in.divider_text")),1),m(r(_),{providers:t.value,class:"sign-in__providers"},null,8,["providers"])])]),key:"0"}:void 0]),1024)}}});export{W as default};
//# sourceMappingURL=sign-in-OUxhYfns.js.map
