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]="8a4ea743-709f-4a67-949f-54e2daf80572",e._sentryDebugIdIdentifier="sentry-dbid-8a4ea743-709f-4a67-949f-54e2daf80572")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"dd305b9a707fe1fc2ae01eb09726abafb220e121"}}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(83937),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}}}]);