| 3650 | this._idleCallback || (this._idleCallback = this._requestCallback(this._process.bind(this))); |
| 3651 | } |
| 3652 | _process(e3) { |
| 3653 | this._idleCallback = void 0; |
| 3654 | let t3 = 0, i3 = 0, s3 = e3.timeRemaining(), r2 = 0; |
| 3655 | for (; this._i < this._tasks.length; ) { |
| 3656 | if (t3 = Date.now(), this._tasks[this._i]() || this._i++, t3 = Math.max(1, Date.now() - t3), i3 = Math.max(t3, i3), r2 = e3.timeRemaining(), 1.5 * i3 > r2) return s3 - t3 < -20 && console.warn(`task queue exceeded allotted deadline by ${Math.abs(Math.round(s3 - t3))}ms`), void this._start(); |
| 3657 | s3 = r2; |
| 3658 | } |
| 3659 | this.clear(); |
| 3660 | } |
| 3661 | } |
| 3662 | class n extends r { |
| 3663 | _requestCallback(e3) { |