const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/identity-providers-CMTRNOWe.js","assets/vendor-3e8OGtgt.js","assets/vendor-DXOeSP1F.css","assets/index-D8gWJXbr.js","assets/index-D7GD6xz2.css","assets/identity-providers-DRL3RWD3.css"])))=>i.map(i=>d[i]);
import{F as V,m as s,ag as C,P as v,_ as n,R as a,aW as I,a1 as i,T as o,X as m,a0 as y,e as r,az as A,W as h,a2 as E,ad as N}from"./vendor-3e8OGtgt.js";import{a2 as S,f as k,cg as x}from"./index-D8gWJXbr.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 _=A(()=>N(()=>import("./identity-providers-CMTRNOWe.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&&!g.value),g=s(()=>l.includes(c)),{t:f}=C();return k({title:f("pages.sign_in.meta.title")}),(e,R)=>{const P=v("VcTypography"),T=v("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(()=>[E(y(e.$t("pages.sign_in.header")),1)]),_:1}),g.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-C9SwlksB.js.map
