!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"e1389b29a88a178b657c7ee0929bea19c58ceb8c"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="deb9797d-8a98-4874-84e3-87057e15d6f1",e._sentryDebugIdIdentifier="sentry-dbid-deb9797d-8a98-4874-84e3-87057e15d6f1")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[7931],{43581(e,n,s){s.d(n,{A:()=>i});var t=s(22794),a=s(34412),r=s(74848);const i=e=>{let{children:n}=e;return(0,r.jsx)(t.A,{config:{nodes:a.A},children:n})}},27931(e,n,s){s.r(n),s.d(n,{default:()=>w});s(98992),s(81454);var t=s(73777),a=s(56171),r=s(53949),i=s(43581),d=s(17662),o=s(96540),c=s(24609),l=s(40545);const g=e=>{let{key:n}=e;const{id:s}=(0,l.A)(),t=(0,c.vt)();return(0,o.useCallback)(()=>`${n}-${s}-${t}`,[n,s,t])};var u=s(74848);const b=e=>{let{warningKey:n,warningLevel:s,text:o}=e;const{background:c,isDismissable:l,icon:b,iconColor:f}=d.f[s],w=g({key:n}),{dismissed:y,onClose:h}=(0,r.A)({getLocalStorageKey:w,logKey:`${n}-dissmiss`});return y?null:(0,u.jsx)(a.A,{className:"space-warning-banner-container",testId:`space-warning-banner-${n}-${s}`,background:c,onClose:l?h:null,children:(0,u.jsxs)(t.Flex,{"data-testid":`text-space-warnings-${n}-${s}`,justifyContent:"center",alignItems:"center",width:"100%",gap:2,children:[(0,u.jsx)(t.Icon,{"data-testid":`icon-banner-space-warnings-${n}-${s}`,color:f,name:b}),(0,u.jsx)(i.A,{children:o})]})})};var f=s(68534);const w=()=>{const{warnings:e}=(0,f.A)();return(0,u.jsx)(u.Fragment,{children:e.map(e=>(0,u.jsx)(b,{...e},e.warningKey))})}},68534(e,n,s){s.d(n,{A:()=>a});s(98992),s(81454);var t=s(24609);const a=()=>{const e=(0,t.ap)(),{warnings:n}=e||{};return{warnings:(n||[]).map(e=>{let{kind:n,text:s,urgency:t}=e;return{warningKey:n,warningLevel:t||"info",text:s}})}}}}]);