const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/identity-providers-B1RwNZOc.js","assets/vendor-D0AQuxPe.js","assets/vendor-DXOeSP1F.css","assets/index-BZGh_npj.js","assets/index-CIFIXL5x.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,aN as I,a1 as i,T as o,X as m,a0 as y,e as r,ae as N,W as h,a2 as A,ac as E}from"./vendor-D0AQuxPe.js";import{a2 as S,f as k,cj as x}from"./index-BZGh_npj.js";const O={class:"sign-in__form"},w={class:"sign-in__side"},B={class:"sign-in__divider"},c="Password",H=V({__name:"sign-in",setup(D){const _=N(()=>E(()=>import("./identity-providers-B1RwNZOc.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:f}=C();return k({title:f("pages.sign_in.meta.title")}),(e,R)=>{const P=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(P,{tag:"h1",class:"sign-in__title"},{default:i(()=>[A(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{H as default};
//# sourceMappingURL=sign-in-DttCFpKd.js.map
