try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ea3ff03c-86bd-41bc-a642-f7b955998f84",e._sentryDebugIdIdentifier="sentry-dbid-ea3ff03c-86bd-41bc-a642-f7b955998f84")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"1bb8aa54b6deb0d4e541ef02c3c43ba128927d94"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6333],{96333:(e,d,n)=>{n.r(d),n.d(d,{default:()=>u});var o=n(96540),s=n(15920),t=n(46093),f=n(29022),l=n(79748),a=n(61841),i=n(81391),b=n(19186),r=n(37617),c=n(74848);const u=()=>{const[e,d]=(0,a.Ay)(),{path:n}=(0,r.A)(),u=(0,i.n)("id"),p=(0,b.wz)(u,"loaded"),y=(0,b.wz)(u,"nodeCount"),h=(0,s.Zp)();return(0,o.useEffect)((()=>{p&&0==y&&h(n,{replace:!0})}),[p,y,n,h]),p?(0,c.jsxs)(f.A,{title:"Empty room",children:[(0,c.jsx)(t.Text,{children:"This room has no nodes."}),(0,c.jsxs)(t.Text,{children:["Go to"," ",(0,c.jsx)(l.A,{as:s.N_,to:`/spaces/${e}/settings/rooms/${d}?tab=nodes`,children:"room settings"})," ","and add some nodes."]})]}):null}}}]);