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