import{iv as l,ig as p,fH as s,b3 as r,bU as a,ck as t,aD as u,jD as x,jB as c}from"./strapi-ye6TfKul.js";import{S as f}from"./SSOProviders-C144dvHl.js";const n=x(c)`
  flex: 1;
`,h=i=>{const{formatMessage:d}=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(n,{}),s.jsx(a,{paddingLeft:3,paddingRight:3,children:s.jsx(u,{variant:"sigma",textColor:"neutral600",children:d({id:"Auth.login.sso.divider"})})}),s.jsx(n,{})]}),s.jsx(f,{providers:e,displayAllProviders:!1})]})})})};export{h as LoginEE};
