871be01783a95c95c820e3051fa61b3ca6416772ec95ae615efd9ebf1267fbd6e5505bcd7e33d86588c01d87e35c1e4860e4601f4c38899b67fd55cebed535 617 B

123456789101112131415
  1. export const timeoutProvider = {
  2. setTimeout(handler, timeout, ...args) {
  3. const { delegate } = timeoutProvider;
  4. if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {
  5. return delegate.setTimeout(handler, timeout, ...args);
  6. }
  7. return setTimeout(handler, timeout, ...args);
  8. },
  9. clearTimeout(handle) {
  10. const { delegate } = timeoutProvider;
  11. return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);
  12. },
  13. delegate: undefined,
  14. };
  15. //# sourceMappingURL=timeoutProvider.js.map