import{G as h,j as t,bc as u,aR as f,aT as g,al as j}from"./vendor-mui-core-D7t4vMS5.js";import{c as y,N as S,o as b,l as E}from"./index-Ca33rdd_.js";import{C as N}from"./config-space-HmsYCb6s.js";import{H as P}from"./addon-N_sS-Sx6.js";import{P as W,L as v}from"./vendor-arcblock-ivFYo5vP.js";import{u as L,W as R}from"./wizard-components-BzPyRFRt.js";import"./vendor-react-DX7tU9aY.js";import"./vendor-ux-Dl3wVbv_.js";import"./vendor-utils-BzQg432x.js";import"./vendor-hooks-DAZ1H6Va.js";import"./spaces-Ckljlc4d.js";import"./api-B8JXuhVp.js";import"./theme-mode-toggle-BltDSXhy.js";import"./question-mark-circle.svg-B0bcUgC5.js";import"./get-safe-url-D4zRnTpF.js";import"./use-server-logo-BLcfNvrR.js";import"./server-logo-notext.svg-CtPRYaCm.js";import"./use-mobile-BSL5RsRd.js";function Y(){const s=h(),a=`${y.WELLKNOWN_SERVICE_PATH_PREFIX}/setup`,{meta:e,blocklet:o,launcherSession:r,steps:i,stepIndex:l,totalSteps:p,logoUrl:n,logo:m,t:d,onNext:c,onPrevious:x}=L(a);return t.jsx(W,{steps:p,children:t.jsx(S,{children:t.jsxs(N,{children:[t.jsx(u,{styles:k}),t.jsx(w,{children:t.jsx(v,{locale:"zh",loading:!1,blockletMeta:{...e,title:b.getDisplayName({...o,meta:e})},navLogo:m,pcWidth:"80%",style:{height:"100%"},logoUrl:n,useOfSkeleton:!1,extraNav:null,headerEndAddons:t.jsx(P,{SessionContext:E,sessionManagerProps:{disableLogout:!0}}),theme:s,launchingText:d("setup.title"),children:t.jsx(R,{blocklet:o,stepIndex:l,steps:i,onNext:c,onPrevious:x,launcherSession:r})})})]})})})}const k=f`
  html,
  body,
  #app,
  #app > .wrapper {
    height: 100%;
  }
`,w=g(j)`
  /* display: flex;
  min-width: 0;
  flex: 1 1 0; */
  height: 100%;

  & .layout-content {
    min-width: 0;
    flex: 1 1 0;
  }

  & .ll-header {
    @media (max-width: 960px) {
      padding: 0 12px;
    }
  }
`;export{Y as default};
