@powersync/web 1.10.2 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. package/dist/24cd027f23123a1360de.wasm +0 -0
  2. package/dist/_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js-async-mutex-c-3cff7d0.index.umd.js +325 -0
  3. package/dist/_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js-async-mutex-c-3cff7d0.index.umd.js.map +1 -0
  4. package/dist/_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js-async-mutex-c-3cff7d1.index.umd.js +325 -0
  5. package/dist/_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js-async-mutex-c-3cff7d1.index.umd.js.map +1 -0
  6. package/dist/index.umd.js +48 -177
  7. package/dist/index.umd.js.map +1 -1
  8. package/dist/worker/SharedSyncImplementation.umd.js +223 -233
  9. package/dist/worker/SharedSyncImplementation.umd.js.map +1 -1
  10. package/dist/worker/WASQLiteDB.umd.js +223 -233
  11. package/dist/worker/WASQLiteDB.umd.js.map +1 -1
  12. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.umd.js +2 -132
  13. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.umd.js.map +1 -1
  14. package/dist/worker/node_modules_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js.umd.js +1707 -1372
  15. package/dist/worker/node_modules_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js.umd.js.map +1 -1
  16. package/lib/package.json +3 -3
  17. package/lib/src/shared/open-db.js +36 -35
  18. package/lib/tsconfig.tsbuildinfo +1 -1
  19. package/package.json +3 -3
  20. package/dist/5fe5ed837a91c836c24f.wasm +0 -0
@@ -0,0 +1,325 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("@journeyapps/wa-sqlite"), require("@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js"), require("async-mutex"), require("comlink"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["@journeyapps/wa-sqlite", "@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js", "async-mutex", "comlink"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["sdk_web"] = factory(require("@journeyapps/wa-sqlite"), require("@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js"), require("async-mutex"), require("comlink"));
8
+ else
9
+ root["sdk_web"] = factory(root["@journeyapps/wa-sqlite"], root["@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js"], root["async-mutex"], root["comlink"]);
10
+ })(self, (__WEBPACK_EXTERNAL_MODULE__journeyapps_wa_sqlite__, __WEBPACK_EXTERNAL_MODULE__journeyapps_wa_sqlite_src_examples_IDBBatchAtomicVFS_js__, __WEBPACK_EXTERNAL_MODULE_async_mutex__, __WEBPACK_EXTERNAL_MODULE_comlink__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ "@journeyapps/wa-sqlite":
16
+ /*!*****************************************!*\
17
+ !*** external "@journeyapps/wa-sqlite" ***!
18
+ \*****************************************/
19
+ /***/ ((module) => {
20
+
21
+ module.exports = __WEBPACK_EXTERNAL_MODULE__journeyapps_wa_sqlite__;
22
+
23
+ /***/ }),
24
+
25
+ /***/ "@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js":
26
+ /*!***************************************************************************!*\
27
+ !*** external "@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js" ***!
28
+ \***************************************************************************/
29
+ /***/ ((module) => {
30
+
31
+ module.exports = __WEBPACK_EXTERNAL_MODULE__journeyapps_wa_sqlite_src_examples_IDBBatchAtomicVFS_js__;
32
+
33
+ /***/ }),
34
+
35
+ /***/ "async-mutex":
36
+ /*!******************************!*\
37
+ !*** external "async-mutex" ***!
38
+ \******************************/
39
+ /***/ ((module) => {
40
+
41
+ module.exports = __WEBPACK_EXTERNAL_MODULE_async_mutex__;
42
+
43
+ /***/ }),
44
+
45
+ /***/ "comlink":
46
+ /*!**************************!*\
47
+ !*** external "comlink" ***!
48
+ \**************************/
49
+ /***/ ((module) => {
50
+
51
+ module.exports = __WEBPACK_EXTERNAL_MODULE_comlink__;
52
+
53
+ /***/ })
54
+
55
+ /******/ });
56
+ /************************************************************************/
57
+ /******/ // The module cache
58
+ /******/ var __webpack_module_cache__ = {};
59
+ /******/
60
+ /******/ // The require function
61
+ /******/ function __webpack_require__(moduleId) {
62
+ /******/ // Check if module is in cache
63
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
64
+ /******/ if (cachedModule !== undefined) {
65
+ /******/ return cachedModule.exports;
66
+ /******/ }
67
+ /******/ // Create a new module (and put it into the cache)
68
+ /******/ var module = __webpack_module_cache__[moduleId] = {
69
+ /******/ id: moduleId,
70
+ /******/ loaded: false,
71
+ /******/ exports: {}
72
+ /******/ };
73
+ /******/
74
+ /******/ // Execute the module function
75
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
76
+ /******/
77
+ /******/ // Flag the module as loaded
78
+ /******/ module.loaded = true;
79
+ /******/
80
+ /******/ // Return the exports of the module
81
+ /******/ return module.exports;
82
+ /******/ }
83
+ /******/
84
+ /******/ // expose the modules object (__webpack_modules__)
85
+ /******/ __webpack_require__.m = __webpack_modules__;
86
+ /******/
87
+ /******/ // the startup function
88
+ /******/ __webpack_require__.x = () => {
89
+ /******/ // Load entry module and return exports
90
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
91
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["lib_src_worker_sync_SharedSyncImplementation_worker_js"], () => (__webpack_require__("./lib/src/worker/db/WASQLiteDB.worker.js")))
92
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
93
+ /******/ return __webpack_exports__;
94
+ /******/ };
95
+ /******/
96
+ /************************************************************************/
97
+ /******/ /* webpack/runtime/chunk loaded */
98
+ /******/ (() => {
99
+ /******/ var deferred = [];
100
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
101
+ /******/ if(chunkIds) {
102
+ /******/ priority = priority || 0;
103
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
104
+ /******/ deferred[i] = [chunkIds, fn, priority];
105
+ /******/ return;
106
+ /******/ }
107
+ /******/ var notFulfilled = Infinity;
108
+ /******/ for (var i = 0; i < deferred.length; i++) {
109
+ /******/ var [chunkIds, fn, priority] = deferred[i];
110
+ /******/ var fulfilled = true;
111
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
112
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
113
+ /******/ chunkIds.splice(j--, 1);
114
+ /******/ } else {
115
+ /******/ fulfilled = false;
116
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
117
+ /******/ }
118
+ /******/ }
119
+ /******/ if(fulfilled) {
120
+ /******/ deferred.splice(i--, 1)
121
+ /******/ var r = fn();
122
+ /******/ if (r !== undefined) result = r;
123
+ /******/ }
124
+ /******/ }
125
+ /******/ return result;
126
+ /******/ };
127
+ /******/ })();
128
+ /******/
129
+ /******/ /* webpack/runtime/compat get default export */
130
+ /******/ (() => {
131
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
132
+ /******/ __webpack_require__.n = (module) => {
133
+ /******/ var getter = module && module.__esModule ?
134
+ /******/ () => (module['default']) :
135
+ /******/ () => (module);
136
+ /******/ __webpack_require__.d(getter, { a: getter });
137
+ /******/ return getter;
138
+ /******/ };
139
+ /******/ })();
140
+ /******/
141
+ /******/ /* webpack/runtime/create fake namespace object */
142
+ /******/ (() => {
143
+ /******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
144
+ /******/ var leafPrototypes;
145
+ /******/ // create a fake namespace object
146
+ /******/ // mode & 1: value is a module id, require it
147
+ /******/ // mode & 2: merge all properties of value into the ns
148
+ /******/ // mode & 4: return value when already ns object
149
+ /******/ // mode & 16: return value when it's Promise-like
150
+ /******/ // mode & 8|1: behave like require
151
+ /******/ __webpack_require__.t = function(value, mode) {
152
+ /******/ if(mode & 1) value = this(value);
153
+ /******/ if(mode & 8) return value;
154
+ /******/ if(typeof value === 'object' && value) {
155
+ /******/ if((mode & 4) && value.__esModule) return value;
156
+ /******/ if((mode & 16) && typeof value.then === 'function') return value;
157
+ /******/ }
158
+ /******/ var ns = Object.create(null);
159
+ /******/ __webpack_require__.r(ns);
160
+ /******/ var def = {};
161
+ /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
162
+ /******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
163
+ /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
164
+ /******/ }
165
+ /******/ def['default'] = () => (value);
166
+ /******/ __webpack_require__.d(ns, def);
167
+ /******/ return ns;
168
+ /******/ };
169
+ /******/ })();
170
+ /******/
171
+ /******/ /* webpack/runtime/define property getters */
172
+ /******/ (() => {
173
+ /******/ // define getter functions for harmony exports
174
+ /******/ __webpack_require__.d = (exports, definition) => {
175
+ /******/ for(var key in definition) {
176
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
177
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
178
+ /******/ }
179
+ /******/ }
180
+ /******/ };
181
+ /******/ })();
182
+ /******/
183
+ /******/ /* webpack/runtime/ensure chunk */
184
+ /******/ (() => {
185
+ /******/ __webpack_require__.f = {};
186
+ /******/ // This file contains only the entry chunk.
187
+ /******/ // The chunk loading function for additional chunks
188
+ /******/ __webpack_require__.e = (chunkId) => {
189
+ /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
190
+ /******/ __webpack_require__.f[key](chunkId, promises);
191
+ /******/ return promises;
192
+ /******/ }, []));
193
+ /******/ };
194
+ /******/ })();
195
+ /******/
196
+ /******/ /* webpack/runtime/get javascript chunk filename */
197
+ /******/ (() => {
198
+ /******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
199
+ /******/ __webpack_require__.u = (chunkId) => {
200
+ /******/ // return url for filenames based on template
201
+ /******/ return "index.umd.js";
202
+ /******/ };
203
+ /******/ })();
204
+ /******/
205
+ /******/ /* webpack/runtime/global */
206
+ /******/ (() => {
207
+ /******/ __webpack_require__.g = (function() {
208
+ /******/ if (typeof globalThis === 'object') return globalThis;
209
+ /******/ try {
210
+ /******/ return this || new Function('return this')();
211
+ /******/ } catch (e) {
212
+ /******/ if (typeof window === 'object') return window;
213
+ /******/ }
214
+ /******/ })();
215
+ /******/ })();
216
+ /******/
217
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
218
+ /******/ (() => {
219
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
220
+ /******/ })();
221
+ /******/
222
+ /******/ /* webpack/runtime/make namespace object */
223
+ /******/ (() => {
224
+ /******/ // define __esModule on exports
225
+ /******/ __webpack_require__.r = (exports) => {
226
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
227
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
228
+ /******/ }
229
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
230
+ /******/ };
231
+ /******/ })();
232
+ /******/
233
+ /******/ /* webpack/runtime/node module decorator */
234
+ /******/ (() => {
235
+ /******/ __webpack_require__.nmd = (module) => {
236
+ /******/ module.paths = [];
237
+ /******/ if (!module.children) module.children = [];
238
+ /******/ return module;
239
+ /******/ };
240
+ /******/ })();
241
+ /******/
242
+ /******/ /* webpack/runtime/publicPath */
243
+ /******/ (() => {
244
+ /******/ var scriptUrl;
245
+ /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
246
+ /******/ var document = __webpack_require__.g.document;
247
+ /******/ if (!scriptUrl && document) {
248
+ /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
249
+ /******/ scriptUrl = document.currentScript.src;
250
+ /******/ if (!scriptUrl) {
251
+ /******/ var scripts = document.getElementsByTagName("script");
252
+ /******/ if(scripts.length) {
253
+ /******/ var i = scripts.length - 1;
254
+ /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
255
+ /******/ }
256
+ /******/ }
257
+ /******/ }
258
+ /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
259
+ /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
260
+ /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
261
+ /******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
262
+ /******/ __webpack_require__.p = scriptUrl;
263
+ /******/ })();
264
+ /******/
265
+ /******/ /* webpack/runtime/importScripts chunk loading */
266
+ /******/ (() => {
267
+ /******/ __webpack_require__.b = self.location + "";
268
+ /******/
269
+ /******/ // object to store loaded chunks
270
+ /******/ // "1" means "already loaded"
271
+ /******/ var installedChunks = {
272
+ /******/ "_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js-async-mutex-c-3cff7d1": 1
273
+ /******/ };
274
+ /******/
275
+ /******/ // importScripts chunk loading
276
+ /******/ var installChunk = (data) => {
277
+ /******/ var [chunkIds, moreModules, runtime] = data;
278
+ /******/ for(var moduleId in moreModules) {
279
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
280
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
281
+ /******/ }
282
+ /******/ }
283
+ /******/ if(runtime) runtime(__webpack_require__);
284
+ /******/ while(chunkIds.length)
285
+ /******/ installedChunks[chunkIds.pop()] = 1;
286
+ /******/ parentChunkLoadingFunction(data);
287
+ /******/ };
288
+ /******/ __webpack_require__.f.i = (chunkId, promises) => {
289
+ /******/ // "1" is the signal for "already loaded"
290
+ /******/ if(!installedChunks[chunkId]) {
291
+ /******/ if(true) { // all chunks have JS
292
+ /******/ importScripts(__webpack_require__.p + __webpack_require__.u(chunkId));
293
+ /******/ }
294
+ /******/ }
295
+ /******/ };
296
+ /******/
297
+ /******/ var chunkLoadingGlobal = self["webpackChunksdk_web"] = self["webpackChunksdk_web"] || [];
298
+ /******/ var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);
299
+ /******/ chunkLoadingGlobal.push = installChunk;
300
+ /******/
301
+ /******/ // no HMR
302
+ /******/
303
+ /******/ // no HMR manifest
304
+ /******/ })();
305
+ /******/
306
+ /******/ /* webpack/runtime/startup chunk dependencies */
307
+ /******/ (() => {
308
+ /******/ var next = __webpack_require__.x;
309
+ /******/ __webpack_require__.x = () => {
310
+ /******/ return Promise.all([
311
+ /******/
312
+ /******/ ]).then(next);
313
+ /******/ };
314
+ /******/ })();
315
+ /******/
316
+ /************************************************************************/
317
+ /******/
318
+ /******/ // run startup
319
+ /******/ var __webpack_exports__ = __webpack_require__.x();
320
+ /******/
321
+ /******/ return __webpack_exports__;
322
+ /******/ })()
323
+ ;
324
+ });
325
+ //# sourceMappingURL=_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js-async-mutex-c-3cff7d1.index.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js-async-mutex-c-3cff7d1.index.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;ACVA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACRA;AACA;AACA;AACA;AACA;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACPA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;;;;;AELA;AACA","sources":["webpack://sdk_web/webpack/universalModuleDefinition","webpack://sdk_web/external umd \"@journeyapps/wa-sqlite\"","webpack://sdk_web/external umd \"@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js\"","webpack://sdk_web/external umd \"async-mutex\"","webpack://sdk_web/external umd \"comlink\"","webpack://sdk_web/webpack/bootstrap","webpack://sdk_web/webpack/runtime/chunk loaded","webpack://sdk_web/webpack/runtime/compat get default export","webpack://sdk_web/webpack/runtime/create fake namespace object","webpack://sdk_web/webpack/runtime/define property getters","webpack://sdk_web/webpack/runtime/ensure chunk","webpack://sdk_web/webpack/runtime/get javascript chunk filename","webpack://sdk_web/webpack/runtime/global","webpack://sdk_web/webpack/runtime/hasOwnProperty shorthand","webpack://sdk_web/webpack/runtime/make namespace object","webpack://sdk_web/webpack/runtime/node module decorator","webpack://sdk_web/webpack/runtime/publicPath","webpack://sdk_web/webpack/runtime/importScripts chunk loading","webpack://sdk_web/webpack/runtime/startup chunk dependencies","webpack://sdk_web/webpack/before-startup","webpack://sdk_web/webpack/startup","webpack://sdk_web/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@journeyapps/wa-sqlite\"), require(\"@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js\"), require(\"async-mutex\"), require(\"comlink\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"@journeyapps/wa-sqlite\", \"@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js\", \"async-mutex\", \"comlink\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"sdk_web\"] = factory(require(\"@journeyapps/wa-sqlite\"), require(\"@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js\"), require(\"async-mutex\"), require(\"comlink\"));\n\telse\n\t\troot[\"sdk_web\"] = factory(root[\"@journeyapps/wa-sqlite\"], root[\"@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js\"], root[\"async-mutex\"], root[\"comlink\"]);\n})(self, (__WEBPACK_EXTERNAL_MODULE__journeyapps_wa_sqlite__, __WEBPACK_EXTERNAL_MODULE__journeyapps_wa_sqlite_src_examples_IDBBatchAtomicVFS_js__, __WEBPACK_EXTERNAL_MODULE_async_mutex__, __WEBPACK_EXTERNAL_MODULE_comlink__) => {\nreturn ","module.exports = __WEBPACK_EXTERNAL_MODULE__journeyapps_wa_sqlite__;","module.exports = __WEBPACK_EXTERNAL_MODULE__journeyapps_wa_sqlite_src_examples_IDBBatchAtomicVFS_js__;","module.exports = __WEBPACK_EXTERNAL_MODULE_async_mutex__;","module.exports = __WEBPACK_EXTERNAL_MODULE_comlink__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [\"lib_src_worker_sync_SharedSyncImplementation_worker_js\"], () => (__webpack_require__(\"./lib/src/worker/db/WASQLiteDB.worker.js\")))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"index.umd.js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","__webpack_require__.b = self.location + \"\";\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t\"_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js-async-mutex-c-3cff7d1\": 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunksdk_web\"] = self[\"webpackChunksdk_web\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn Promise.all([\n\n\t]).then(next);\n};","","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n",""],"names":[],"sourceRoot":""}