()
| 516 | ((container: globalThis.Element) => container.textContent ?? "") |
| 517 | const frames: Array<string> = [] |
| 518 | const frame = () => { |
| 519 | const next = project(container) |
| 520 | if (frames.length === 0 || frames[frames.length - 1] !== next) { |
| 521 | frames.push(next) |
| 522 | } |
| 523 | } |
| 524 | frame() |
| 525 | |
| 526 | // -- client --------------------------------------------------------------- |