()
| 131 | root.dataset.turnWindow = 'ready'; |
| 132 | arrivalPin.current?.release(); |
| 133 | const prefetch = () => { |
| 134 | if (root.scrollTop <= Math.max(640, root.clientHeight * 2)) { |
| 135 | requestEarlierRef.current(); |
| 136 | } |
| 137 | }; |
| 138 | if (typeof window.requestIdleCallback === 'function') { |
| 139 | idle = window.requestIdleCallback(prefetch, { timeout: 250 }); |
| 140 | } else { |