Module 450373

341 characters · in 8ae49e1e8c223f23.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{A:()=>o});var a=n(582128),r=n(440745),l=n.n(r),s=n(317097),i=n(17928),d=n(775602);let o=function(e){let t=(0,i.bG)([d.Ay],()=>d.Ay.desaturateUserColors?d.Ay.saturation:1);return(0,a.useMemo)(()=>{let{h:n,s:a,l:r}=l()((0,s.Hl)(e)).toHsl(),i=l()({h:n,s:a*t,l:r});return{hex:i.toHexString(),hsl:i.toHslString()}},[e,t])}}