import{r as m}from"./vendor-react-CUXIiAnY.js";import{V as n}from"./vendor-ux-BX9dSNUy.js";import{ac as p,_ as l,ae as c,e as u}from"./index-Dijoh4El.js";import{a as x,b as d}from"./domain-action-card-D9HXIIpd.js";import{j as t,ak as k,b1 as f,aX as h}from"./vendor-mui-core-B5XNUjey.js";import"./vendor-utils-CFxoplqC.js";import"./vendor-hooks-U4TTuKG0.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-D4Rvz_D3.js";import"./useSetState-cWrp7qoX.js";import"./permission-BYxNrlaa.js";import"./session-DUT2afHJ.js";import"./useAsyncRetry-CSW1hopB.js";import"./useAsync-DNDhrs-2.js";import"./confirm-BIsS5xyi.js";import"./index-DBs9Ljax.js";import"./actions-CiAs-6JM.js";import"./delete-confirm-DSQSBte5.js";import"./click-to-copy-DXHOGoUP.js";import"./useAsync-Dy8z2Lh_.js";import"./index-BjLM8Gon.js";import"./util-BxX0TJKJ.js";import"./engine-Cx3nUUOw.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};
