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]="2b897f30-3cca-4e9c-b5de-969cf9bed23e",e._sentryDebugIdIdentifier="sentry-dbid-2b897f30-3cca-4e9c-b5de-969cf9bed23e")}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([[2558],{12558:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var o=n(96540),d=n(99275),s=n(56171),a=n(79748),r=n(6304),l=n(32886),c=n(74848);const i=()=>{const e=(0,l.e)(),[t,,n,i]=(0,r.A)();return(0,o.useEffect)((()=>{"Reachable"===e&&n()}),[e]),t?(0,c.jsx)(d.Layer,{full:"horizontal",backdropProps:{backdropBlur:"3px"},onClickOutside:i,onEsc:i,position:"top",children:(0,c.jsxs)(s.A,{testId:"agent-not-secure-banner",width:"100%",background:"warningBackground",position:"absolute",top:"0",tooltipProps:{align:"top"},zIndex:20,children:[(0,c.jsx)(d.Flex,{justifyContent:"center",alignItems:"center",width:"100%",gap:2,children:(0,c.jsxs)(d.Text,{children:["IMPORTANT: This Netdata is openly accessible from the Internet!"," ",(0,c.jsx)(a.A,{"data-testid":"learn",href:"https://learn.netdata.cloud/docs/netdata-agent/securing-netdata-agents/",as:"a",cursor:"pointer",textDecoration:"underline",color:"text",hoverColor:"textFocus",children:"Secure your Netdata now"}),"!"]})}),(0,c.jsx)(d.Box,{"data-testid":"agent-not-secure-banner-close-button",as:d.Icon,color:"text",cursor:"pointer",name:"x",position:"absolute",right:"8px",onClick:i})]})}):null}}}]);