import{r as m}from"./vendor-react-Dvs43sk9.js";import{V as n}from"./vendor-ux-IiQnod3w.js";import{ac as p,_ as l,ae as c,e as u}from"./index-sNHCLgAE.js";import{a as x,b as d}from"./domain-action-card-ClQw061p.js";import{j as t,ak as k,b1 as f,aX as h}from"./vendor-mui-core-CnXrAOs3.js";import"./vendor-utils-cJEl_UEd.js";import"./vendor-hooks-CjESGRlR.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-CuFtPveO.js";import"./useSetState-DFuQZPPV.js";import"./permission-DhYNRf8T.js";import"./session-BAD0lxQk.js";import"./useAsyncRetry-DwwEjrjs.js";import"./useAsync-cZ_FPf9k.js";import"./confirm-CR8be0u2.js";import"./index-DBs9Ljax.js";import"./actions-DqoNrBDK.js";import"./delete-confirm-DhJd_sYk.js";import"./click-to-copy-BOJgIYli.js";import"./useAsync-BcVLpt2E.js";import"./index-l32Mt1U_.js";import"./util-BsAmOTBh.js";import"./engine-DPn0LHHl.js";function z(){const{blocklet:o,actions:{updateBlockletDomainAliases:i}}=p(),{inService:r}=l(),{t:e}=n(),a=m.useMemo(()=>{let s=!0;return c(o)&&(s=s&&r),s},[r,o]);return t.jsxs(k,{component:f,sx:{gap:3,maxWidth:820},children:[t.jsxs(t.Fragment,{children:[u.isAccessible(o.status)===!1&&t.jsx(h,{severity:"warning",children:e("blocklet.router.noRunning")}),a&&t.jsx(x,{blocklet:o,updateBlockletDomainAliases:i,connectDomainProps:{shouldCheckDomain:!0}})]}),t.jsx(d,{showAllDomains:!0,updateBlockletDomainAliases:i})]})}export{z as default};
