File: //opt/netdata/usr/local/local/share/netdata/web/v3/7931.8d4b4519fc8bedce6766.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]="f62435f3-2bed-4f17-9a97-b4ad737b15f0",e._sentryDebugIdIdentifier="sentry-dbid-f62435f3-2bed-4f17-9a97-b4ad737b15f0")}()}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([[7931],{27931:(e,n,t)=>{t.r(n),t.d(n,{default:()=>w});t(98992),t(81454);var a=t(86177),s=t(56171),r=t(53949),d=t(43581),i=t(17662),o=t(96540),l=t(24609),f=t(40545);const c=e=>{let{key:n}=e;const{id:t}=(0,f.A)(),a=(0,l.vt)();return(0,o.useCallback)((()=>`${n}-${t}-${a}`),[n,t,a])};var g=t(74848);const u=e=>{let{warningKey:n,warningLevel:t,text:o}=e;const{background:l,isDismissable:f,icon:u,iconColor:b}=i.f[t],w=c({key:n}),{dismissed:y,onClose:p}=(0,r.A)({getLocalStorageKey:w,logKey:`${n}-dissmiss`});return y?null:(0,g.jsx)(s.A,{className:"space-warning-banner-container",testId:`space-warning-banner-${n}-${t}`,background:l,onClose:f?p:null,children:(0,g.jsxs)(a.Flex,{"data-testid":`text-space-warnings-${n}-${t}`,justifyContent:"center",alignItems:"center",width:"100%",gap:2,children:[(0,g.jsx)(a.Icon,{"data-testid":`icon-banner-space-warnings-${n}-${t}`,color:b,name:u}),(0,g.jsx)(d.A,{children:o})]})})};var b=t(68534);const w=()=>{const{warnings:e}=(0,b.A)();return(0,g.jsx)(g.Fragment,{children:e.map((e=>(0,g.jsx)(u,{...e},e.warningKey)))})}},43581:(e,n,t)=>{t.d(n,{A:()=>d});var a=t(22794),s=t(34412),r=t(74848);const d=e=>{let{children:n}=e;return(0,r.jsx)(a.A,{config:{nodes:s.A},children:n})}},68534:(e,n,t)=>{t.d(n,{A:()=>s});t(98992),t(81454);var a=t(24609);const s=()=>{const e=(0,a.ap)(),{warnings:n}=e||{};return{warnings:(n||[]).map((e=>{let{kind:n,text:t,urgency:a}=e;return{warningKey:n,warningLevel:a||"info",text:t}}))}}}}]);