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]="b2a07cf5-ca43-42e7-889f-207188d6d5e3",e._sentryDebugIdIdentifier="sentry-dbid-b2a07cf5-ca43-42e7-889f-207188d6d5e3")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"a34c67398217da8f13771210ac9af709452b2a25"};(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(65258),r=n(24013),c=n(14681),f=n(74848);const h=e=>{let{id:d}=e;const n=(0,r.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)(c.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,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)(x.A,{node:n}),(0,f.jsx)(b.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]})})]})})})}}}]);