import{s,m as d,v as m}from"./index-B_2CoVdl.js";import"./vue-vendor-CxLCUzY4.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./vxe-table-vendor-B5h3MVdD.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};
