// Metro module 14181 (f14182). import ActionSheetStore from "../../../../action_sheet/native/ActionSheetStore"; import { useActiveContextMenu } from "../../../../../design/components/ContextMenu/native/ContextMenuState.native"; import { useOpenModalKey } from "../../../../main_tabs_v2/helpers/NavigationRouteUtils.native"; import { getVideoQuestModalKey } from "../../../utils/VideoQuestUtils"; import { useStateFromStores } from "../../../../../_bundle/Module589"; import { useAlertStore } from "../../../../../design/components/AlertModal/native/useAlertStore.native"; import { isIOS } from "../../../../../utils/PlatformUtils"; export function useVideoExternallyPaused(a0, a1) { const activeContextMenu = useActiveContextMenu(); const openModalKey = useOpenModalKey(); const videoQuestModalKey = getVideoQuestModalKey(a0); const stateFromStores = useStateFromStores([ActionSheetStore], () => ActionSheetStore.getKey()); const r2 = useAlertStore((a0) => a0.alerts).length > 0; return isIOS() && a1 || stateFromStores != null || activeContextMenu != null || openModalKey !== videoQuestModalKey || r2; }