(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742],{67298:(e,o,a)=>{Promise.resolve().then(a.bind(a,75865))},75865:(e,o,a)=>{"use strict";a.d(o,{DriveRouteScope:()=>l});var r=a(91356),t=a(81647);function l(){return(0,r.useEffect)(()=>{let e=document.documentElement;return e.dataset.routeScope="drive",(0,t.Z)(e),()=>{delete e.dataset.routeScope}},[]),null}},81647:(e,o,a)=>{"use strict";a.d(o,{Z:()=>t,i:()=>l});var r=a(81893);function t(e=document.documentElement){delete e.dataset.mailBackground,e.style.removeProperty("--mail-bg-layer"),e.style.removeProperty("--mail-bg-fallback")}function l(e,o=document.documentElement){let a=(0,r.y9)(e),{background:n,fallbackColor:c}=(0,r.Pu)(a);"none"===a||"none"===n?t(o):(o.dataset.mailBackground=a,o.style.setProperty("--mail-bg-layer",n),o.style.setProperty("--mail-bg-fallback",c))}},81893:(e,o,a)=>{"use strict";a.d(o,{Pu:()=>n,UT:()=>t,y9:()=>l});let r={mountains:"photo-mountains",ocean:"gradient-ocean",forest:"photo-nature",abstract:"gradient-blossom"},t=[{id:"none",label:"Aucun",background:"none",fallbackColor:"var(--app-canvas)"},{id:"gradient-aurora",label:"Aurore",background:'url("/mail-backgrounds/gradient-aurora.svg") center / cover no-repeat',fallbackColor:"#667eea"},{id:"gradient-sunset",label:"Coucher de soleil",background:'url("/mail-backgrounds/gradient-sunset.svg") center / cover no-repeat',fallbackColor:"#e44d26"},{id:"gradient-ocean",label:"Oc\xe9an",background:'url("/mail-backgrounds/gradient-ocean.svg") center / cover no-repeat',fallbackColor:"#203a43"},{id:"gradient-blossom",label:"Floral",background:'url("/mail-backgrounds/gradient-blossom.svg") center / cover no-repeat',fallbackColor:"#ffecd2"},{id:"photo-mountains",label:"Montagnes",background:'url("https://picsum.photos/seed/ultimail-mountains/1920/1080") center / cover no-repeat',fallbackColor:"#5c6b73"},{id:"photo-ocean",label:"Mer",background:'url("https://picsum.photos/seed/ultimail-ocean/1920/1080") center / cover no-repeat',fallbackColor:"#1a5276"},{id:"photo-city",label:"Ville",background:'url("https://picsum.photos/seed/ultimail-city/1920/1080") center / cover no-repeat',fallbackColor:"#2c3e50"},{id:"photo-nature",label:"Nature",background:'url("https://picsum.photos/seed/ultimail-nature/1920/1080") center / cover no-repeat',fallbackColor:"#2d5016"}];function l(e){return t.some(o=>o.id===e)?e:r[e]??"none"}function n(e){let o,a=(o=l(e),t.find(e=>e.id===o)??t[0]);return{background:a.background,fallbackColor:a.fallbackColor}}}},e=>{e.O(0,[1614,1506,7358],()=>e(e.s=67298)),_N_E=e.O()}]);