import{G as x,j as t,bc as u,aR as f,aT as g,al as j}from"./vendor-mui-core-CDEc-eG6.js";import{W as y,N as S,n as b,k as N}from"./index-CgSpL7jz.js";import{C as P}from"./config-space-CjtdFXkd.js";import{H as W}from"./addon-DIDUuqKP.js";import{P as E,L as v}from"./vendor-arcblock-BVQTtbN-.js";import{u as L,W as k}from"./wizard-components-BwA5watz.js";import"./vendor-react-DX7tU9aY.js";import"./vendor-ux-PO0jFgJf.js";import"./vendor-utils-_C9URqjS.js";import"./vendor-hooks-Ca2cSNuD.js";import"./spaces-DiyZ082O.js";import"./api-Bo6lutcq.js";import"./theme-mode-toggle-WRMGhjzA.js";import"./question-mark-circle.svg-B0bcUgC5.js";import"./get-safe-url-uxJSMQTF.js";import"./use-server-logo-btsDYvqE.js";import"./server-logo-notext.svg-CtPRYaCm.js";import"./use-mobile-CnCzXOEv.js";function Y(){const s=x(),a=`${y}/setup`,{meta:e,blocklet:o,launcherSession:r,steps:i,stepIndex:l,totalSteps:p,logoUrl:n,logo:m,t:d,onNext:c,onPrevious:h}=L(a);return t.jsx(E,{steps:p,children:t.jsx(S,{children:t.jsxs(P,{children:[t.jsx(u,{styles:R}),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(W,{SessionContext:N,sessionManagerProps:{disableLogout:!0}}),theme:s,launchingText:d("setup.title"),children:t.jsx(k,{blocklet:o,stepIndex:l,steps:i,onNext:c,onPrevious:h,launcherSession:r})})})]})})})}const R=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};
