File: //opt/netdata/usr/local/share/netdata/web/v3/2558.4cd1b3cde62555d8c2f9.chunk.js
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]="6b682b4b-56de-4721-b330-3f18aa46dcae",e._sentryDebugIdIdentifier="sentry-dbid-6b682b4b-56de-4721-b330-3f18aa46dcae")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"71e6cd07d3b7cc35c33cc0937670fa3dc3e40c07"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2558],{12558:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});var o=t(96540),d=t(63766),a=t(56171),s=t(79748),r=t(6304),c=t(32886),i=t(74848);const l=()=>{const e=(0,c.e)(),[n,,t,l]=(0,r.A)();return(0,o.useEffect)((()=>{"Reachable"===e&&t()}),[e]),n?(0,i.jsx)(d.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)(d.Flex,{justifyContent:"center",alignItems:"center",width:"100%",gap:2,children:(0,i.jsxs)(d.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)(d.Box,{"data-testid":"agent-not-secure-banner-close-button",as:d.Icon,color:"text",cursor:"pointer",name:"x",position:"absolute",right:"8px",onClick:l})]})}):null}}}]);