import{toConsumableArray as r}from"../_virtual/_rollupPluginBabelHelpers.js";import{useMemo as t,useCallback as o}from"react";import{throttle as a}from"lodash-es";function i(i,l,n){var e=l.wait,u=l.trailing,m=void 0===u||u,s=t((function(){return a(i,e,{trailing:m})}),[e,m].concat(r(n)));return o(s,[s])}export{i as default};
