import fakeIndexedDB from"./lib/fake-indexeddb/fakeIndexedDB.js";import FDBCursor from"./lib/fake-indexeddb/FDBCursor.js";import FDBCursorWithValue from"./lib/fake-indexeddb/FDBCursorWithValue.js";import FDBDatabase from"./lib/fake-indexeddb/FDBDatabase.js";import FDBFactory from"./lib/fake-indexeddb/FDBFactory.js";import FDBIndex from"./lib/fake-indexeddb/FDBIndex.js";import FDBKeyRange from"./lib/fake-indexeddb/FDBKeyRange.js";import FDBObjectStore from"./lib/fake-indexeddb/FDBObjectStore.js";import FDBOpenDBRequest from"./lib/fake-indexeddb/FDBOpenDBRequest.js";import FDBRequest from"./lib/fake-indexeddb/FDBRequest.js";import FDBTransaction from"./lib/fake-indexeddb/FDBTransaction.js";import FDBVersionChangeEvent from"./lib/fake-indexeddb/FDBVersionChangeEvent.js";const ZeroIndexedDBFactory=()=>{var globalVar="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:"undefined"!=typeof global?global:Function("return this;")();Object.defineProperty(globalVar,"indexedDB",{value:fakeIndexedDB}),Object.defineProperty(globalVar,"IDBCursor",{value:FDBCursor}),Object.defineProperty(globalVar,"IDBCursorWithValue",{value:FDBCursorWithValue}),Object.defineProperty(globalVar,"IDBDatabase",{value:FDBDatabase}),Object.defineProperty(globalVar,"IDBFactory",{value:FDBFactory}),Object.defineProperty(globalVar,"IDBIndex",{value:FDBIndex}),Object.defineProperty(globalVar,"IDBKeyRange",{value:FDBKeyRange}),Object.defineProperty(globalVar,"IDBObjectStore",{value:FDBObjectStore}),Object.defineProperty(globalVar,"IDBOpenDBRequest",{value:FDBOpenDBRequest}),Object.defineProperty(globalVar,"IDBRequest",{value:FDBRequest}),Object.defineProperty(globalVar,"IDBTransaction",{value:FDBTransaction}),Object.defineProperty(globalVar,"IDBVersionChangeEvent",{value:FDBVersionChangeEvent})};export default ZeroIndexedDBFactory;