import{j as l}from"./vendor-mui-69397583.js";import{r as s}from"./vendor-react-ece1c85f.js";import{d}from"./index-c62ac197.js";const x=o=>{const{children:c,className:n,stickyClass:i,...a}=o,[f,m]=s.useState(!1),e=s.useRef(null);return s.useEffect(()=>{const t=e.current,r=new IntersectionObserver(([u])=>m(u.intersectionRatio<1),{threshold:[1]});return r.observe(t),function(){r.unobserve(t)}},[]),l.jsx("div",{id:"actions-footer",ref:e,className:d("sticky",n,f&&i),...a,children:c})};export{x as S};
