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]="0c4ce2d8-dbca-46d7-8493-f24c7f01207b",e._sentryDebugIdIdentifier="sentry-dbid-0c4ce2d8-dbca-46d7-8493-f24c7f01207b")}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([[5297],{95297:(e,d,o)=>{o.r(d),o.d(d,{DashboardContent:()=>I,default:()=>A});var n=o(96540),s=o(15920),a=o(96243);var t=o(93933),l=o(24609),f=o(19186),r=o(41579),b=o(67294),u=o(92726),i=o(44245),c=o(45706),p=o(1623),g=o(40910),h=o(12407),y=o(60908),w=o(74848);const I=e=>{let{id:d}=e;const o=(0,l.vt)(),n=(0,l.bq)(),s=(0,f.ID)(),a=(0,f.QW)(),t=(0,u.oj)("state");return(0,c.A)(d,{spaceId:o,spaceSlug:n,roomId:s,roomSlug:a})?(0,w.jsx)(p.A,{}):(0,w.jsx)(y.Ay,{feature:"Dashboard",dashboardId:d,children:"notAvailable"===t?(0,w.jsx)(h.A,{flavour:"dashboard"}):(0,w.jsx)(g.A,{id:d})})},A=(0,n.memo)((e=>{let{customDashboardId:d}=e;(0,r.A)(),(e=>{const{dashboardSlug:d=e}=(0,s.g)(),o=(0,a.Xv)(),t=(0,a.Tf)();(0,n.useEffect)((()=>{t!==d&&o(d)}),[t,d]),(0,n.useEffect)((()=>()=>o(null)),[])})(d),(0,t.z1)(d);const o=(0,u.zi)(d),l=(0,u.oj)("slug");(0,i.ZB)({title:l,id:o,destination:l,type:"dashboards",droppable:!0,droppableProps:{dashboardId:o,dropArea:!0}});const f=(0,b.RQ)();return(0,w.jsx)(I,{id:f?o:null})}))}}]);