UNPKG

vue-files-preview-inno

Version:

A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

21 lines (20 loc) 584 B
import { getDefaultExportFromCjs as n } from "../../_virtual/_commonjsHelpers.mjs"; import { d as l } from "./debounce.mjs"; import { i as o } from "./isObject.mjs"; var f = l, d = o, g = "Expected a function"; function u(i, a, t) { var r = !0, e = !0; if (typeof i != "function") throw new TypeError(g); return d(t) && (r = "leading" in t ? !!t.leading : r, e = "trailing" in t ? !!t.trailing : e), f(i, a, { leading: r, maxWait: a, trailing: e }); } var c = u; const b = /* @__PURE__ */ n(c); export { b as default }; //# sourceMappingURL=throttle.mjs.map