()
| 17 | type RouteEvent = Parameters<NextRouter['events']['on']>[0]; |
| 18 | |
| 19 | const canMove = (): boolean => |
| 20 | window.matchMedia(phone.replace('@media ', '')).matches && |
| 21 | !window.matchMedia('(prefers-reduced-motion: reduce)').matches; |
| 22 | |
| 23 | const standingSelector = '.shell-block, .shell-cluster, .shell-scrim, .fixed'; |
| 24 | const itemSelector = 'main article'; |