import{r as i,j as c,a as o}from"./index-d6499a22.js";const u=(s,e)=>{const r=i.useRef();return i.useEffect(()=>{const t=new IntersectionObserver(([n])=>{n.isIntersecting&&e(n.isIntersecting)},{rootMargin:s});return r!=null&&r.current&&t.observe(r.current),()=>{r!=null&&r.current&&t.disconnect()}},[e,s]),r},I=({rootMargin:s="0px",onLoadMore:e})=>{const r=u(s,e);return c.jsx(o,{ref:r,sx:{visibility:"hidden"},children:"INVISIBLE"})};export{I as H};
