throttle.cb82641b.js 289 B

1
  1. import{aS as n,aT as l}from"./index.bec96d93.js";var g="Expected a function";function f(i,t,r){var a=!0,e=!0;if(typeof i!="function")throw new TypeError(g);return n(r)&&(a="leading"in r?!!r.leading:a,e="trailing"in r?!!r.trailing:e),l(i,t,{leading:a,maxWait:t,trailing:e})}export{f as t};