!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"e1389b29a88a178b657c7ee0929bea19c58ceb8c"};var d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4abff743-7e07-446e-8903-67da58dc2546",e._sentryDebugIdIdentifier="sentry-dbid-4abff743-7e07-446e-8903-67da58dc2546")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[4306],{95297(e,d,a){a.r(d),a.d(d,{DashboardContent:()=>I,default:()=>A});a(33110);var o=a(96540),t=a(76667),s=a(96243);var r=a(93933),n=a(24609),i=a(19186),l=a(41579),b=a(67294),u=a(96957),c=a(44245),f=a(45706),g=a(1623),h=a(86023),p=a(12407),y=a(60908),v=a(74848);const I=e=>{let{id:d}=e;const a=(0,n.vt)(),o=(0,n.bq)(),t=(0,i.ID)(),s=(0,i.QW)(),r=(0,u.oj)("state"),l=(0,f.A)(d,{spaceId:a,spaceSlug:o,roomId:t,roomSlug:s});return l?(0,v.jsx)(g.A,{}):(0,v.jsx)(y.Ay,{feature:"Dashboard",dashboardId:d,children:"notAvailable"===r?(0,v.jsx)(p.A,{flavour:"dashboard"}):(0,v.jsx)(h.A,{id:d},JSON.stringify({id:d,loading:l}))})},A=(0,o.memo)(e=>{let{customDashboardId:d}=e;(0,l.A)(),(e=>{const{dashboardSlug:d=e}=(0,t.g)(),a=(0,s.Xv)(),r=(0,s.Tf)();(0,o.useEffect)(()=>{r!==d&&a(d)},[r,d]),(0,o.useEffect)(()=>()=>a(null),[])})(d),(0,r.z1)(d);const a=(0,u.zi)(d),n=(0,u.oj)("slug");(0,c.ZB)({title:n,id:a,destination:n,type:"dashboards",droppable:!0,droppableProps:{dashboardId:a,dropArea:!0},tooltip:{title:n,description:"Custom dashboard with personalized visualizations and metrics tailored to your monitoring requirements."}});const i=(0,b.RQ)();return(0,v.jsx)(I,{id:i?a:null})})},1623(e,d,a){a.d(d,{A:()=>s});var o=a(63474),t=a(74848);const s=()=>(0,t.jsx)(o.O2,{"data-testid":"dashboardLoading"})},47154(e,d,a){var o=a(66118);o.t1.register(...o.$L)}}]);