try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3636cbb5-f662-4f17-a29d-57697762d7e0",e._sentryDebugIdIdentifier="sentry-dbid-3636cbb5-f662-4f17-a29d-57697762d7e0")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"f4547e36230aa8f74486618baff2f1a6f3242a7f"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2558],{12558:(e,n,t)=>{t.r(n),t.d(n,{default:()=>c});var o=t(96540),a=t(86177),d=t(56171),s=t(79748),r=t(6304),i=t(32886),l=t(74848);const c=()=>{const e=(0,i.e)(),[n,,t,c]=(0,r.A)();return(0,o.useEffect)((()=>{"Reachable"===e&&t()}),[e]),n?(0,l.jsx)(a.Layer,{full:"horizontal",backdropProps:{backdropBlur:"3px"},onClickOutside:c,onEsc:c,position:"top",children:(0,l.jsxs)(d.A,{testId:"agent-not-secure-banner",width:"100%",background:"warningBackground",position:"absolute",top:"0",tooltipProps:{align:"top"},zIndex:20,children:[(0,l.jsx)(a.Flex,{justifyContent:"center",alignItems:"center",width:"100%",gap:2,children:(0,l.jsxs)(a.Text,{children:["IMPORTANT: This Netdata is openly accessible from the Internet!"," ",(0,l.jsx)(s.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,l.jsx)(a.Box,{"data-testid":"agent-not-secure-banner-close-button",as:a.Icon,color:"text",cursor:"pointer",name:"x",position:"absolute",right:"8px",onClick:c})]})}):null}}}]);