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]="133b9342-960b-4ade-9a6e-85255fdbfb22",e._sentryDebugIdIdentifier="sentry-dbid-133b9342-960b-4ade-9a6e-85255fdbfb22")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"73b76b0b53402b174350d469272adf0bbf58506c"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6333],{96333:(e,d,n)=>{n.r(d),n.d(d,{default:()=>c});var o=n(96540),s=n(97665),t=n(42653),l=n(29022),f=n(79748),b=n(61841),i=n(81391),a=n(19186),r=n(37617),u=n(74848);const c=()=>{const[e,d]=(0,b.Ay)(),{path:n}=(0,r.A)(),c=(0,i.n)("id"),p=(0,a.wz)(c,"loaded"),y=(0,a.wz)(c,"nodeCount"),h=(0,s.Zp)();return(0,o.useEffect)((()=>{p&&0==y&&h(n,{replace:!0})}),[p,y,n,h]),p?(0,u.jsxs)(l.A,{title:"Empty room",children:[(0,u.jsx)(t.Text,{children:"This room has no nodes."}),(0,u.jsxs)(t.Text,{children:["Go to"," ",(0,u.jsx)(f.A,{as:s.N_,to:`/spaces/${e}/settings/rooms/${d}?tab=nodes`,children:"room settings"})," ","and add some nodes."]})]}):null}}}]);