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]="e4b143ae-8091-4476-a3bd-50585131bd37",e._sentryDebugIdIdentifier="sentry-dbid-e4b143ae-8091-4476-a3bd-50585131bd37")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"5d40e988866bc1ced9436c4523b12b814ae5cda9"};(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),r=n(24013),c=n(14681),h=n(74848);const f=e=>{let{id:d}=e;const n=(0,r.xY)(d,"name");return(0,h.jsxs)(a.Flex,{alignItems:"center",gap:1,children:[(0,h.jsx)(a.Icon,{name:"node_hollow",color:"text",size:"small"}),(0,h.jsx)(c.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,r.xY)(d);return n.loaded?(0,h.jsxs)(a.Flex,{"data-testid":"node-info-home-page",column:!0,gap:1,overflow:{horizontal:"hidden",vertical:"auto"},padding:[2],width:"100%",children:[(0,h.jsx)(b.A,{node:n}),(0,h.jsx)(x.A,{node:n}),(0,h.jsx)(u.A,{id:d,flavour:"sidebar"}),(0,h.jsx)(j.A,{node:n}),(0,h.jsx)(g.A,{node:n}),(0,h.jsx)(p.A,{node:n}),(0,h.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,h.jsx)(a.Flex,{column:!0,overflow:"hidden",height:"calc(100% - 80px)",position:"relative",gap:3,padding:[1,0],children:(0,h.jsx)(e,{...d})}),T=I(y),v=I(m.A),_=e=>{let{id:d,onClose:n=s()}=e;return(0,h.jsx)(i.Ay,{width:90,isOpen:!0,header:(0,h.jsx)(t.A,{title:(0,h.jsx)(f,{id:d}),onClick:n}),children:(0,h.jsx)(a.Flex,{"data-testid":"home-sidebar-tabs",column:!0,overflow:"hidden",height:"100%",children:(0,h.jsxs)(A,{selected:0,children:[(0,h.jsx)(a.Tab,{label:(0,h.jsx)(a.Text,{children:"Info"}),small:!0,children:(0,h.jsx)(T,{id:d})}),(0,h.jsx)(a.Tab,{label:(0,h.jsx)(a.Text,{children:"Alerts"}),small:!0,children:(0,h.jsx)(v,{nodeIds:[d]})})]})})})}}}]);