(page)
| 197 | |
| 198 | const timelineSince = (page, t0) => page.evaluate((from) => window.__probeTimeline.filter((row) => row.t >= from), t0); |
| 199 | const now = (page) => page.evaluate(() => Math.round(performance.now())); |
| 200 | const intersects = (a, b) => Boolean(a && b) && !(a.x >= b.x + b.width || b.x >= a.x + a.width || a.y >= b.y + b.height || b.y >= a.y + a.height); |
| 201 | |
| 202 | /* ------------------------------------------------------------------ */ |