import{a as e}from"./rolldown-runtime-C_ttsnZz.js";import{St as o,q as r,s,t}from"./index-BT8Vuu3B.js";var n=e(o(),1),d=r(),l=({children:e})=>{const{followerNode:o}=t();return(0,n.useEffect)(()=>{const e=new ResizeObserver(()=>{o?.message(s.RESIZE,{scrollHeight:document.body.scrollHeight,scrollWidth:document.body.scrollWidth})});return e.observe(document.body),()=>e.unobserve(document.body)},[]),(0,d.jsx)(d.Fragment,{children:e})};export{l as t};
//# sourceMappingURL=ResizeWrapper-CQXi5If2.js.map