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]="0291b160-4445-430c-add1-8c168bb9c17b",e._sentryDebugIdIdentifier="sentry-dbid-0291b160-4445-430c-add1-8c168bb9c17b")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"c6e90b75029143378cf96f31f3bee729c9327ca4"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[1608],{61608:(e,d,n)=>{n.r(d),n.d(d,{default:()=>_});n(96540);var l=n(33185),o=n(63950),s=n.n(o),i=n(81683),t=n(78446),a=n(99275),c=n(24013),r=n(14681),f=n(74848);const h=e=>{let{id:d}=e;const n=(0,c.xY)(d,"name");return(0,f.jsxs)(a.Flex,{alignItems:"center",gap:1,children:[(0,f.jsx)(a.Icon,{name:"node_hollow",color:"text",size:"small"}),(0,f.jsx)(r.A,{nodeId:d,children:n})]})};var b=n(96768),x=n(76522),u=n(23208),j=n(94413),g=n(76609),p=n(81517),w=n(18283);const y=e=>{let{id:d}=e;const n=(0,c.xY)(d);return n.loaded?(0,f.jsxs)(a.Flex,{"data-testid":"node-info-home-page",column:!0,gap:1,overflow:{horizontal:"hidden",vertical:"auto"},padding:[2],width:"100%",children:[(0,f.jsx)(b.A,{node:n}),(0,f.jsx)(x.A,{node:n}),(0,f.jsx)(u.A,{id:d,flavour:"sidebar"}),(0,f.jsx)(j.A,{node:n}),(0,f.jsx)(g.A,{node:n}),(0,f.jsx)(p.A,{node:n}),(0,f.jsx)(w.A,{node:n})]}):null};var m=n(50959);const A=(0,l.default)(a.Tabs).withConfig({displayName:"contents__StyledTabs",componentId:"sc-11zjb7h-0"})(["overflow:hidden;height:100%;"]),I=e=>d=>(0,f.jsx)(a.Flex,{column:!0,overflow:"hidden",height:"calc(100% - 80px)",position:"relative",gap:3,padding:[1,0],children:(0,f.jsx)(e,{...d})}),T=I(y),v=I(m.A),_=e=>{let{id:d,onClose:n=s()}=e;return(0,f.jsx)(i.Ay,{width:90,isOpen:!0,header:(0,f.jsx)(t.A,{title:(0,f.jsx)(h,{id:d}),onClick:n}),children:(0,f.jsx)(a.Flex,{"data-testid":"home-sidebar-tabs",column:!0,overflow:"hidden",height:"100%",children:(0,f.jsxs)(A,{selected:0,children:[(0,f.jsx)(a.Tab,{label:(0,f.jsx)(a.Text,{children:"Info"}),small:!0,children:(0,f.jsx)(T,{id:d})}),(0,f.jsx)(a.Tab,{label:(0,f.jsx)(a.Text,{children:"Alerts"}),small:!0,children:(0,f.jsx)(v,{nodeIds:[d]})})]})})})}}}]);