()
| 115 | let arriving: HTMLElement | undefined; |
| 116 | const listeners: Array<[RouteEvent, () => void]> = []; |
| 117 | const cleanup = () => { |
| 118 | window.clearTimeout(timeout); |
| 119 | window.clearTimeout(ending); |
| 120 | cancelAnimationFrame(frame); |
| 121 | listeners.forEach(([name, handler]) => router.events.off(name, handler)); |
| 122 | leaving.remove(); |
| 123 | arriving?.remove(); |
| 124 | delete root.dataset.shellMove; |
| 125 | if (active === cleanup) { |
| 126 | active = undefined; |
| 127 | } |
| 128 | }; |
| 129 | active = cleanup; |
| 130 | |
| 131 | const travel = `${pageDuration}ms var(--shell-ease-travel)`; |
no outgoing calls
no test coverage detected