!function(){try{var d="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};d.SENTRY_RELEASE={id:"161df38a3ce485b0993d5667ea290f6097b8818b"};var e=(new d.Error).stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="da961ee1-6b0c-4861-bad0-d38341cdb12a",d._sentryDebugIdIdentifier="sentry-dbid-da961ee1-6b0c-4861-bad0-d38341cdb12a")}catch(d){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[4306],{95297(d,e,a){a.r(e),a.d(e,{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(94567),p=a(12407),y=a(60908),v=a(74848);const I=d=>{let{id:e}=d;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)(e,{spaceId:a,spaceSlug:o,roomId:t,roomSlug:s});return l?(0,v.jsx)(g.A,{}):(0,v.jsx)(y.Ay,{feature:"Dashboard",dashboardId:e,children:"notAvailable"===r?(0,v.jsx)(p.A,{flavour:"dashboard"}):(0,v.jsx)(h.A,{id:e},JSON.stringify({id:e,loading:l}))})},A=(0,o.memo)(d=>{let{customDashboardId:e}=d;(0,l.A)(),(d=>{const{dashboardSlug:e=d}=(0,t.g)(),a=(0,s.Xv)(),r=(0,s.Tf)();(0,o.useEffect)(()=>{r!==e&&a(e)},[r,e]),(0,o.useEffect)(()=>()=>a(null),[])})(e),(0,r.z1)(e);const a=(0,u.zi)(e),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(d,e,a){a.d(e,{A:()=>s});var o=a(63474),t=a(74848);const s=()=>(0,t.jsx)(o.O2,{"data-testid":"dashboardLoading"})},47154(d,e,a){var o=a(66118);o.t1.register(...o.$L)}}]);