import{s,m as d,v as m}from"./index-CLZzJyTP.js";import"./vue-vendor-CxLCUzY4.js";import"./antd-vue-vendor-CahNzUUa.js";import"./vxe-table-vendor-Cdi8WfTx.js";function z(r,o=150,n){let e=()=>{r()};e=m(e,o);const t=()=>{n&&n.immediate&&e(),window.addEventListener("resize",e)},i=()=>{window.removeEventListener("resize",e)};return s(()=>{t()}),d(()=>{i()}),[t,i]}export{z as useWindowSizeFn};
