import { isClient } from '@react-hooks-library/shared' ; export const _window = isClient ? window : undefined ; export const _document = isClient ? window . document : undefined ; export const _navigator = isClient ? window . navigator : undefined ; export const _location = isClient ? window . location : undefined ;