!function(){try{var d="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};d.SENTRY_RELEASE={id:"48d9eb4d3342ea0ac79a97ca2a631ad14571d487"};var a=(new d.Error).stack;a&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[a]="85a01121-26d0-4dc0-acc1-8c450ab37238",d._sentryDebugIdIdentifier="sentry-dbid-85a01121-26d0-4dc0-acc1-8c450ab37238")}catch(d){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[4306],{95297(d,a,e){e.r(a),e.d(a,{DashboardContent:()=>A,default:()=>m});e(33110);var o=e(96540),t=e(5981),s=e(96243);const r=d=>{const{dashboardSlug:a=d}=(0,t.g)(),e=(0,s.Xv)(),r=(0,s.Tf)();return(0,o.useEffect)(()=>{r!==a&&e(a)},[r,a]),(0,o.useEffect)(()=>()=>e(null),[]),a};e.dn(r);var n=e(93933),i=e(24609),l=e(19186),c=e(41579),u=e(67294),b=e(96957),f=e(44245),g=e(45706),h=e(1623),p=e(68477),y=e(12407),v=e(60908),I=e(74848);const A=d=>{let{id:a}=d;const e=(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:e,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)(d=>{let{customDashboardId:a}=d;(0,c.A)(),r(a),(0,n.z1)(a);const e=(0,b.zi)(a),o=(0,b.oj)("slug");(0,f.ZB)({title:o,id:e,destination:o,type:"dashboards",droppable:!0,droppableProps:{dashboardId:e,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?e:null})})},1623(d,a,e){e.d(a,{A:()=>s});var o=e(63474),t=e(74848);const s=()=>(0,t.jsx)(o.O2,{"data-testid":"dashboardLoading"})},47154(d,a,e){var o=e(66118);o.t1.register(...o.$L)}}]);