import{cZ as o,cM as d,cv as a}from"./index.bde7963b.js";function m(r,s=150,n){let e=()=>{r()};e=a(e,s);const t=()=>{n&&n.immediate&&e(),window.addEventListener("resize",e)},i=()=>{window.removeEventListener("resize",e)};return o(()=>{t()}),d(()=>{i()}),[t,i]}export{m as u};
