import{o as e}from"./rolldown-runtime.C0FnF6B9.js";import{r as t}from"./emotion-is-prop-valid.esm.CuYlOKOk.js";import{t as n}from"./useResizeObserver.3kyCQ1g6.js";var r=e(t(),1),i=(e=[],t=-1,i=100)=>{let{values:[a,o],elementRef:s}=n((0,r.useMemo)(()=>[`width`,`height`],[]),e,i);return{width:a||t,height:o||t,elementRef:s}};export{i as t};