(time: number)
| 110 | const ready = castDuration !== null && videoDuration !== null && Number.isFinite(duration); |
| 111 | |
| 112 | const actAt = (time: number): number => { |
| 113 | for (let i = acts.length - 1; i >= 0; i -= 1) { |
| 114 | const act = acts[i]; |
| 115 | if (act && time >= act.from - 0.001) return i; |
| 116 | } |
| 117 | return 0; |
| 118 | }; |
| 119 | const activeAct = acts[actAt(t)]; |
| 120 | const activeWindow = activeAct?.window ?? "terminal"; |
| 121 |
no outgoing calls
no test coverage detected