@forbespro/lead-agent
Version:
Lead Chat Agent React Component
2 lines (1 loc) • 496 B
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./index31.js");function u(t,a){if(typeof t!="function")throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof t}\`.`);let o,e=0;return function(...l){clearTimeout(o);const r=Date.now(),n=r-e,i=a-n;i<=0?(e=r,t.apply(this,l)):o=setTimeout(()=>{e=Date.now(),t.apply(this,l)},i)}}var c=u;const p=s.getDefaultExportFromCjs(c);exports.default=p;