import{r as m}from"./vendor-react-CTtPmzVP.js";import{V as n}from"./vendor-ux-KtPBvlG0.js";import{Y as p,Z as l,ag as c,q as u}from"./index-DGg3AL9l.js";import{a as x,b as d}from"./domain-action-card-DaWxksqg.js";import{j as t,ak as k,b6 as f,aZ as h}from"./vendor-mui-core-DnR6WYuU.js";import"./vendor-utils-BqKQizRf.js";import"./vendor-hooks-DpqqC65c.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-DRfhQ9Yl.js";import"./useSetState-L-f8mSga.js";import"./permission-CjBTXkmT.js";import"./session-Bavobyzn.js";import"./useAsyncRetry-v1aVMcV-.js";import"./useAsync-BSd-eaZO.js";import"./confirm-Dul9DyCY.js";import"./index-DBs9Ljax.js";import"./actions-Dfiiwkit.js";import"./delete-confirm-BT4RGlre.js";import"./click-to-copy-03_3P1nz.js";import"./useAsync-DOpjtrvS.js";import"./index-CiQKtWIW.js";import"./util-CqIowTns.js";import"./engine-BaNtB6sW.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};
