"use strict";(self.webpackChunkname=self.webpackChunkname||[]).push([[5258],{81810:(e,a,t)=>{t.d(a,{Z:()=>o});var n=t(81672),r=t(79895);const o=function(e){var a=e.memoProps,t=e.Component;return(0,n.memo)(t,(function(e,t){return(0,r.fS0)((0,r.eiS)(a,e),(0,r.eiS)(a,t))}))}},35258:(e,a,t)=>{t.r(a),t.d(a,{default:()=>p});var n=t(80620),r=t(16628),o=t(16779),c=t(81810),i=t(79895),l="\nlinear-gradient(270deg, rgb(4, 76, 135), rgb(12, 114, 196), rgba(102, 183, 227, 0.2)),\nlinear-gradient(180deg, rgb(1, 36, 56), rgba(104, 186, 229, 0.2)),\nlinear-gradient(0deg, rgb(2, 40, 62), rgba(113, 195, 237, 0.2))",g=(0,o.Z)({wallpaper:function(e){var a=e.image;return{background:l,backgroundImage:"url(".concat(a,")"),backgroundPosition:"50%",backgroundRepeat:"no-repeat",backgroundSize:"cover",bottom:0,left:0,position:"fixed",right:0,top:0}}});const m=function(e){var a=e.image,t=g({image:a});return React.createElement(r.Z,{in:(0,i.ffD)((0,i.kKJ)(a))},React.createElement("div",{className:t.wallpaper,"data-testid":"centreon-wallpaper"}))};var u=t(29937),d=(0,o.Z)({placeholder:{background:l,bottom:0,left:0,position:"absolute",right:0,top:0}});const p=(0,c.Z)({Component:function(){var e=d(),a=(0,n.useAtomValue)(u.W);return React.createElement(React.Fragment,null,React.createElement(r.Z,{in:!0},React.createElement("div",{className:e.placeholder})),React.createElement(m,{image:a}))},memoProps:[]})}}]);