const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/identity-providers-Bc4SwiaK.js","assets/vendor-BmRNukEL.js","assets/vendor-DXOeSP1F.css","assets/index-PU-0vjEQ.js","assets/index-BXA319rR.css","assets/identity-providers-DRL3RWD3.css"])))=>i.map(i=>d[i]);
import{F as V,m as s,ai as C,P as g,_ as n,R as a,aO as I,a1 as i,T as o,X as m,a0 as y,e as r,ae as A,W as h,a2 as E,ab as N}from"./vendor-BmRNukEL.js";import{a6 as S,i as k,cm as x}from"./index-PU-0vjEQ.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-Bc4SwiaK.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(y(e.$t("pages.sign_in.header")),1)]),_:1}),v.value?(a(),n(r(x),{key:0})):h("",!0)]),u.value?(a(),n(r(_),{key:0,providers:t.value,class:"sign-in__providers sign-in__providers--only"},null,8,["providers"])):h("",!0)]),_:2},[p.value&&!u.value?{name:"side",fn:i(()=>[o("div",w,[o("div",B,y(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-BSnfmYm6.js.map
