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