import{r as m}from"./vendor-react-DX7tU9aY.js";import{aa as n}from"./vendor-ux-PO0jFgJf.js";import{V as l,X as p,a6 as c,n as u}from"./index-CgSpL7jz.js";import{a as x,b as d}from"./domain-action-card-BXg1GQv4.js";import{j as t,al as k,b3 as f,b4 as h}from"./vendor-mui-core-CDEc-eG6.js";import"./vendor-utils-_C9URqjS.js";import"./vendor-hooks-Ca2cSNuD.js";import"./vendor-arcblock-BVQTtbN-.js";import"./useSetState-CUbypYGT.js";import"./permission-C2bdzuoM.js";import"./session-BEf_KK-i.js";import"./useAsyncRetry-DOQg_SXs.js";import"./useAsync-10WR8h3k.js";import"./confirm-DhDNorbd.js";import"./index-DBs9Ljax.js";import"./actions-C6EeERSU.js";import"./delete-confirm-C0N4quT9.js";import"./click-to-copy-BmatCVrP.js";import"./use-mobile-DKWj9MJD.js";import"./useAsync-DQXF8Gyy.js";import"./index-BEbBg3NW.js";import"./util-Cz5-V-1E.js";import"./engine-BmJsBu5Z.js";function G(){const{blocklet:o,actions:{updateBlockletDomainAliases:i}}=l(),{inService:r}=p(),{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{G as default};
