import{r as m}from"./vendor-react-CTtPmzVP.js";import{V as n}from"./vendor-ux-DTEmWsko.js";import{Y as p,Z as l,ag as c,q as u}from"./index-BZxsCCR_.js";import{a as x,b as d}from"./domain-action-card-CI8HeDAo.js";import{j as t,ak as k,b6 as f,aZ as h}from"./vendor-mui-core-DnR6WYuU.js";import"./vendor-utils-CxWN1dT3.js";import"./vendor-hooks-qxhUUbW5.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-CIBaEWEy.js";import"./useSetState-L-f8mSga.js";import"./permission-B2PLdaCS.js";import"./session-DwQKgNVz.js";import"./useAsyncRetry-r8dEPb-x.js";import"./useAsync-Dotoxibi.js";import"./confirm-CkoSEAQA.js";import"./index-DBs9Ljax.js";import"./actions-Dfiiwkit.js";import"./delete-confirm-CRZxojEX.js";import"./click-to-copy-Y_g1bzK1.js";import"./useAsync-DVl73fmG.js";import"./index-icvBZv9S.js";import"./util-BYnhSg2W.js";import"./engine-D3NlocNz.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};
