const win = typeof window !== 'undefined' ? window : undefined;
const global = typeof globalThis !== 'undefined' ? globalThis : win;
export const ArrayProto = Array.prototype;
export const nativeForEach = ArrayProto.forEach;
export const nativeIndexOf = ArrayProto.indexOf;
export const navigator = global === null || global === void 0 ? void 0 : global.navigator;
export const document = global === null || global === void 0 ? void 0 : global.document;
export const location = global === null || global === void 0 ? void 0 : global.location;
export const fetch = global === null || global === void 0 ? void 0 : global.fetch;
export const XMLHttpRequest = (global === null || global === void 0 ? void 0 : global.XMLHttpRequest) && 'withCredentials' in new global.XMLHttpRequest() ? global.XMLHttpRequest : undefined;
export const AbortController = global === null || global === void 0 ? void 0 : global.AbortController;
export const userAgent = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent;
export { win as window };
//# sourceMappingURL=globals.js.map