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]="3ab7d63c-1ac1-4c0f-9fc4-cc3a2fdc1fa6",e._sentryDebugIdIdentifier="sentry-dbid-3ab7d63c-1ac1-4c0f-9fc4-cc3a2fdc1fa6")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"dd305b9a707fe1fc2ae01eb09726abafb220e121"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[7931],{27931:(e,n,a)=>{a.r(n),a.d(n,{default:()=>w});a(98992),a(81454);var t=a(83937),s=a(56171),r=a(53949),d=a(43581),c=a(17662),i=a(96540),o=a(24609),l=a(40545);const f=e=>{let{key:n}=e;const{id:a}=(0,l.A)(),t=(0,o.vt)();return(0,i.useCallback)((()=>`${n}-${a}-${t}`),[n,a,t])};var g=a(74848);const u=e=>{let{warningKey:n,warningLevel:a,text:i}=e;const{background:o,isDismissable:l,icon:u,iconColor:b}=c.f[a],w=f({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}-${a}`,background:o,onClose:l?p:null,children:(0,g.jsxs)(t.Flex,{"data-testid":`text-space-warnings-${n}-${a}`,justifyContent:"center",alignItems:"center",width:"100%",gap:2,children:[(0,g.jsx)(t.Icon,{"data-testid":`icon-banner-space-warnings-${n}-${a}`,color:b,name:u}),(0,g.jsx)(d.A,{children:i})]})})};var b=a(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,a)=>{a.d(n,{A:()=>d});var t=a(22794),s=a(34412),r=a(74848);const d=e=>{let{children:n}=e;return(0,r.jsx)(t.A,{config:{nodes:s.A},children:n})}},68534:(e,n,a)=>{a.d(n,{A:()=>s});a(98992),a(81454);var t=a(24609);const s=()=>{const e=(0,t.ap)(),{warnings:n}=e||{};return{warnings:(n||[]).map((e=>{let{kind:n,text:a,urgency:t}=e;return{warningKey:n,warningLevel:t||"info",text:a}}))}}}}]);