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