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