/*!
 * Built by Revolist OU ❤️
 */
import{d as i}from"./debounce.js";import{a as n}from"./toNumber.js";function r(r,t,o){var a=!0,e=!0;if("function"!=typeof r)throw new TypeError("Expected a function");return n(o)&&(a="leading"in o?!!o.leading:a,e="trailing"in o?!!o.trailing:e),i(r,t,{leading:a,maxWait:t,trailing:e})}export{r as t}