A Flight component for the Page Visibility API.