import{o as e}from"./rolldown-runtime.C0FnF6B9.js";import{r as t}from"./emotion-is-prop-valid.esm.CuYlOKOk.js";var n=e(t(),1),r=()=>{let e=document.createElement(`div`);e.style.position=`absolute`,e.style.top=`-9999px`,e.style.left=`-9999px`,e.style.visibility=`hidden`,e.style.overflow=`scroll`,e.style.width=`50px`,e.style.height=`50px`,document.body.appendChild(e);let t=document.createElement(`div`);t.style.width=`100%`,t.style.height=`100%`,e.appendChild(t);let n=e.offsetWidth-t.offsetWidth;return e.remove(),n},i=()=>{let e=window.devicePixelRatio;return(0,n.useMemo)(()=>r(),[e])};export{i as t};