import{D as h,j as t,aY as u,aT as f,at as g,ak as j}from"./vendor-mui-core-BPQ6AEW_.js";import{c as S,N as y,e as E,S as N}from"./index-DY2wgD65.js";import{C as P}from"./config-space-D3N5gAYj.js";import{H as b}from"./addon-Dd6xL7zL.js";import{P as W,L as v}from"./vendor-arcblock-D8WYBDYe.js";import{u as L,W as k}from"./wizard-components-BMVfnHKJ.js";import"./vendor-react-CUXIiAnY.js";import"./vendor-ux-r9bApERu.js";import"./vendor-utils-BgSaqjGx.js";import"./vendor-hooks-PN9SWiQm.js";import"./lottie-web-4koyQiv_.js";import"./spaces-Cgv_XshJ.js";import"./api-uGeIZn4a.js";import"./question-mark-circle.svg-DK9nTUDZ.js";import"./get-safe-url-DqysS0i0.js";import"./use-server-logo-D4Yh4atf.js";import"./server-logo-notext.svg-DHxZ1bRk.js";import"./use-mobile-ajdJIsoX.js";function Q(){const s=h(),a=`${S.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(y,{children:t.jsxs(P,{children:[t.jsx(u,{styles:w}),t.jsx(C,{children:t.jsx(v,{locale:"zh",loading:!1,blockletMeta:{...e,title:E.getDisplayName({...o,meta:e})},navLogo:m,pcWidth:"80%",style:{height:"100%"},logoUrl:n,useOfSkeleton:!1,extraNav:null,headerEndAddons:t.jsx(b,{SessionContext:N,sessionManagerProps:{disableLogout:!0}}),theme:s,launchingText:d("setup.title"),children:t.jsx(k,{blocklet:o,stepIndex:l,steps:i,onNext:c,onPrevious:x,launcherSession:r})})})]})})})}const w=f`
  html,
  body,
  #app,
  #app > .wrapper {
    height: 100%;
  }
`,C=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{Q as default};
