import{a as l,aW as p,j as s,aX as r,a8 as a,e as t,T as x,k as u,aY as c}from"./strapi-D_Y4QZhh.js";import{S as g}from"./SSOProviders-zGTI-TKc.js";const d=u(c)`
  flex: 1;
`,h=i=>{const{formatMessage:n}=l(),{isLoading:o,data:e=[]}=p(void 0,{skip:!window.strapi.features.isEnabled(window.strapi.features.SSO)});return!window.strapi.features.isEnabled(window.strapi.features.SSO)||!o&&e.length===0?s.jsx(r,{...i}):s.jsx(r,{...i,children:s.jsx(a,{paddingTop:7,children:s.jsxs(t,{direction:"column",alignItems:"stretch",gap:7,children:[s.jsxs(t,{children:[s.jsx(d,{}),s.jsx(a,{paddingLeft:3,paddingRight:3,children:s.jsx(x,{variant:"sigma",textColor:"neutral600",children:n({id:"Auth.login.sso.divider"})})}),s.jsx(d,{})]}),s.jsx(g,{providers:e,displayAllProviders:!1})]})})})};export{h as LoginEE};
