!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="75ce77a2-a058-4c59-b5af-e24a6dc2d877",e._sentryDebugIdIdentifier="sentry-dbid-75ce77a2-a058-4c59-b5af-e24a6dc2d877")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"8a739758aeaa9703d317afd549bb0f90035c314e"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2653],{62653:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var a=n(96540),o=n(65336),r=n(5396),d=n(4659),l=n(87659),c=n(51821);const s=()=>{const e=(0,c.e)(),[t,,n,s]=(0,l.A)();return(0,a.useEffect)((()=>{"Reachable"===e&&n()}),[e]),t?a.createElement(o.Layer,{full:"horizontal",backdropProps:{backdropBlur:"3px"},onClickOutside:s,onEsc:s,position:"top"},a.createElement(r.A,{testId:"agent-not-secure-banner",width:"100%",background:"warningBackground",position:"absolute",top:"0",tooltipProps:{align:"top"},zIndex:20},a.createElement(o.Flex,{justifyContent:"center",alignItems:"center",width:"100%",gap:2},a.createElement(o.Text,null,"IMPORTANT: This Netdata is openly accessible from the Internet!"," ",a.createElement(d.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"},"Secure your Netdata now"),"!")),a.createElement(o.Box,{"data-testid":"agent-not-secure-banner-close-button",as:o.Icon,color:"text",cursor:"pointer",name:"x",position:"absolute",right:"8px",onClick:s}))):null}}}]);