"use strict";const o=require("./index.cjs165.js");function g(f,c,n){var e,l,r,a,t=0;n||(n={});var v=function(){t=n.leading===!1?0:o(),e=null,a=f.apply(l,r),e||(l=r=null)},s=function(){var i=o();!t&&n.leading===!1&&(t=i);var u=c-(i-t);return l=this,r=arguments,u<=0||u>c?(e&&(clearTimeout(e),e=null),t=i,a=f.apply(l,r),e||(l=r=null)):!e&&n.trailing!==!1&&(e=setTimeout(v,u)),a};return s.cancel=function(){clearTimeout(e),t=0,e=l=r=null},s}module.exports=g;
//# sourceMappingURL=index.cjs171.js.map
