@tiddlywiki/mws 0.1.14 → 0.2.1

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 (117) hide show
  1. package/README.md +41 -20
  2. package/dist/metafile-esm.json +1 -1
  3. package/dist/mws.js +40121 -20116
  4. package/dist/mws.js.map +1 -1
  5. package/mws.run.mjs +28 -8
  6. package/package.json +20 -33
  7. package/plugins/client/plugin.info +1 -1
  8. package/plugins/client/src/multiwikiclientadaptor.ts +6 -34
  9. package/plugins/client/src/mws.d.ts +2 -1
  10. package/plugins/client/src/new-multiwikiclientadaptor.ts +634 -0
  11. package/plugins/client/src/types.d.ts +2531 -1036
  12. package/plugins/client/tiddlers/managetiddleraction.js +0 -5
  13. package/plugins/client/tiddlers/syncer/new-multiwikiclientadaptor.js +432 -0
  14. package/plugins/client/tiddlers/syncer/syncer.js +123 -241
  15. package/plugins/client/tsconfig.json +5 -1
  16. package/prisma/browser.ts +2 -0
  17. package/prisma/client/browser.ts +84 -0
  18. package/prisma/client/client.ts +108 -0
  19. package/prisma/client/commonInputTypes.ts +598 -0
  20. package/prisma/client/enums.ts +42 -0
  21. package/prisma/client/internal/class.ts +326 -0
  22. package/prisma/client/internal/prismaNamespace.ts +1870 -0
  23. package/prisma/client/internal/prismaNamespaceBrowser.ts +259 -0
  24. package/prisma/client/models/Bag.ts +1701 -0
  25. package/prisma/client/models/BagPermission.ts +1284 -0
  26. package/prisma/client/models/Recipe.ts +1722 -0
  27. package/prisma/client/models/RecipeBag.ts +1518 -0
  28. package/prisma/client/models/RecipePermission.ts +1284 -0
  29. package/prisma/client/models/Roles.ts +1316 -0
  30. package/prisma/client/models/Sessions.ts +1344 -0
  31. package/prisma/client/models/Settings.ts +1093 -0
  32. package/prisma/client/models/Template.ts +1477 -0
  33. package/prisma/client/models/TemplatePermission.ts +1284 -0
  34. package/prisma/client/models/Tiddler.ts +1434 -0
  35. package/prisma/client/models/TiddlerEvent.ts +1360 -0
  36. package/prisma/client/models/Users.ts +1579 -0
  37. package/prisma/client/models.ts +24 -0
  38. package/prisma/client/pjtg.ts +183 -0
  39. package/prisma/index.ts +74 -0
  40. package/prisma/migrations/20260708160259_init/migration.sql +172 -0
  41. package/prisma/migrations-v1/migration_lock.toml +3 -0
  42. package/prisma/package.json +12 -0
  43. package/prisma/schema.prisma +147 -89
  44. package/prisma/types.ts +9 -0
  45. package/public/.default.html +1 -0
  46. package/public/admin-vanilla/fish.svg +399 -0
  47. package/public/admin-vanilla/fish2.svg +389 -0
  48. package/public/admin-vanilla/main-LYDE4NDJ.css +1 -0
  49. package/public/admin-vanilla/main-Y4GDO4MD.js +1797 -0
  50. package/public/admin-vanilla/main-Y4GDO4MD.js.map +7 -0
  51. package/public/admin-vanilla/normalize.css +349 -0
  52. package/public/admin-vanilla/polyfill-ADOI2A4V.js +2 -0
  53. package/public/admin-vanilla/polyfill-ADOI2A4V.js.map +7 -0
  54. package/public/{react-admin → admin-vanilla}/site.webmanifest +1 -1
  55. package/public/admin-vanilla.html +62 -0
  56. package/public/admin-vanilla.json +1 -0
  57. package/public/{react-admin → stats}/stats.html +5 -2
  58. package/public/{react-admin → stats}/stats.js +2 -1
  59. package/scripts/build-docs.sh +30 -0
  60. package/scripts/helpers.mjs +107 -0
  61. package/scripts/json.js +8 -0
  62. package/scripts/scripts.mjs +114 -0
  63. package/prisma/client/client.d.ts +0 -1
  64. package/prisma/client/client.js +0 -3
  65. package/prisma/client/default.d.ts +0 -1
  66. package/prisma/client/default.js +0 -3
  67. package/prisma/client/edge.d.ts +0 -1
  68. package/prisma/client/edge.js +0 -297
  69. package/prisma/client/index-browser.js +0 -275
  70. package/prisma/client/index.d.ts +0 -17770
  71. package/prisma/client/index.js +0 -324
  72. package/prisma/client/package.json +0 -173
  73. package/prisma/client/query_engine_bg.js +0 -811
  74. package/prisma/client/query_engine_bg.wasm +0 -0
  75. package/prisma/client/runtime/edge-esm.js +0 -10000
  76. package/prisma/client/runtime/edge.js +0 -10036
  77. package/prisma/client/runtime/index-browser.d.ts +0 -370
  78. package/prisma/client/runtime/index-browser.js +0 -2300
  79. package/prisma/client/runtime/library.d.ts +0 -3681
  80. package/prisma/client/runtime/library.js +0 -10604
  81. package/prisma/client/runtime/react-native.js +0 -10629
  82. package/prisma/client/runtime/wasm-compiler-edge.js +0 -11238
  83. package/prisma/client/runtime/wasm-engine-edge.js +0 -7801
  84. package/prisma/client/schema.prisma +0 -156
  85. package/prisma/client/wasm-edge-light-loader.mjs +0 -4
  86. package/prisma/client/wasm-worker-loader.mjs +0 -4
  87. package/prisma/client/wasm.d.ts +0 -1
  88. package/prisma/client/wasm.js +0 -304
  89. package/prisma/global.ts +0 -53
  90. package/public/react-admin/chunk-YALWN5OT.js +0 -2
  91. package/public/react-admin/esm-L4WLVWJN.js +0 -3
  92. package/public/react-admin/esm-L4WLVWJN.js.map +0 -7
  93. package/public/react-admin/esm-QMNGI3LF.js +0 -3
  94. package/public/react-admin/esm-QMNGI3LF.js.map +0 -7
  95. package/public/react-admin/index.html +0 -36
  96. package/public/react-admin/main.js +0 -268
  97. package/public/react-admin/main.js.map +0 -7
  98. package/public/react-admin/stats.json +0 -1
  99. package/scripts.mjs +0 -142
  100. /package/prisma/{migrations → migrations-v1}/20250606001949_init/migration.sql +0 -0
  101. /package/prisma/{migrations → migrations-v1}/20250613000526_remove_group/migration.sql +0 -0
  102. /package/prisma/{migrations → migrations-v1}/20250620014502_settings/migration.sql +0 -0
  103. /package/prisma/{migrations → migrations-v1}/20250707205229_recipes/migration.sql +0 -0
  104. /package/public/{react-admin → admin-vanilla}/android-chrome-192x192.png +0 -0
  105. /package/public/{react-admin → admin-vanilla}/android-chrome-512x512.png +0 -0
  106. /package/public/{react-admin → admin-vanilla}/apple-touch-icon.png +0 -0
  107. /package/public/{react-admin → admin-vanilla}/favicon-16x16.png +0 -0
  108. /package/public/{react-admin → admin-vanilla}/favicon-32x32.png +0 -0
  109. /package/public/{react-admin → admin-vanilla}/favicon.ico +0 -0
  110. /package/public/{react-admin → admin-vanilla}/favicon.png +0 -0
  111. /package/public/{react-admin/chunk-YALWN5OT.js.map → admin-vanilla/main-LYDE4NDJ.css.map} +0 -0
  112. /package/public/{react-admin → admin-vanilla}/missing-favicon.png +0 -0
  113. /package/public/{react-admin → admin-vanilla}/motovun-jack.jpg +0 -0
  114. /package/public/{react-admin → admin-vanilla}/mws-icon.png +0 -0
  115. /package/public/{react-admin → admin-vanilla}/vite.svg +0 -0
  116. /package/public/{react-admin → stats}/stats.css +0 -0
  117. /package/public/{react-admin → stats}/stats.svg +0 -0
@@ -1,811 +0,0 @@
1
- "use strict";
2
- var S = Object.defineProperty;
3
- var k = Object.getOwnPropertyDescriptor;
4
- var D = Object.getOwnPropertyNames;
5
- var R = Object.prototype.hasOwnProperty;
6
- var B = (e, t) => {
7
- for (var n in t) S(e, n, { get: t[n], enumerable: !0 });
8
- },
9
- U = (e, t, n, o) => {
10
- if ((t && typeof t == "object") || typeof t == "function")
11
- for (let _ of D(t))
12
- !R.call(e, _) &&
13
- _ !== n &&
14
- S(e, _, {
15
- get: () => t[_],
16
- enumerable: !(o = k(t, _)) || o.enumerable,
17
- });
18
- return e;
19
- };
20
- var L = (e) => U(S({}, "__esModule", { value: !0 }), e);
21
- var Et = {};
22
- B(Et, {
23
- QueryEngine: () => Q,
24
- __wbg_String_8f0eb39a4a4c2f66: () => H,
25
- __wbg_buffer_609cc3eee51ed158: () => J,
26
- __wbg_call_672a4d21634d4a24: () => K,
27
- __wbg_call_7cccdd69e0791ae2: () => X,
28
- __wbg_crypto_805be4ce92f1e370: () => Y,
29
- __wbg_done_769e5ede4b31c67b: () => Z,
30
- __wbg_entries_3265d4158b33e5dc: () => ee,
31
- __wbg_getRandomValues_f6a868620c8bab49: () => te,
32
- __wbg_getTime_46267b1c24877e30: () => ne,
33
- __wbg_get_67b2ba62fc30de12: () => re,
34
- __wbg_get_b9b93047fe3cf45b: () => oe,
35
- __wbg_get_ece95cf6585650d9: () => _e,
36
- __wbg_getwithrefkey_1dc361bd10053bfe: () => ce,
37
- __wbg_has_a5ea9117f258a0ec: () => ie,
38
- __wbg_instanceof_ArrayBuffer_e14585432e3737fc: () => ue,
39
- __wbg_instanceof_Map_f3469ce2244d2430: () => se,
40
- __wbg_instanceof_Promise_935168b8f4b49db3: () => fe,
41
- __wbg_instanceof_Uint8Array_17156bcf118086a9: () => ae,
42
- __wbg_isArray_a1eab7e0d067391b: () => be,
43
- __wbg_isSafeInteger_343e2beeeece1bb0: () => le,
44
- __wbg_iterator_9a24c88df860dc65: () => ge,
45
- __wbg_keys_5c77a08ddc2fb8a6: () => de,
46
- __wbg_length_a446193dc22c12f8: () => we,
47
- __wbg_length_e2d2a49132c1b256: () => pe,
48
- __wbg_msCrypto_2ac4d17c4748234a: () => xe,
49
- __wbg_new0_f788a2397c7ca929: () => ye,
50
- __wbg_new_23a2665fac83c611: () => me,
51
- __wbg_new_405e22f390576ce2: () => he,
52
- __wbg_new_5e0be73521bc8c17: () => Te,
53
- __wbg_new_78feb108b6472713: () => qe,
54
- __wbg_new_a12002a7f91c75be: () => Se,
55
- __wbg_newnoargs_105ed471475aaf50: () => Ae,
56
- __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a: () => Ie,
57
- __wbg_newwithlength_a381634e90c276d4: () => Ee,
58
- __wbg_next_25feadfc0913fea9: () => Oe,
59
- __wbg_next_6574e1a8a62d1055: () => Fe,
60
- __wbg_node_ecc8306b9857f33d: () => Me,
61
- __wbg_now_7fd00a794a07d388: () => je,
62
- __wbg_now_807e54c39636c349: () => ke,
63
- __wbg_now_b3f7572f6ef3d3a9: () => De,
64
- __wbg_process_5cff2739921be718: () => Re,
65
- __wbg_push_737cfc8c1432c2c6: () => Be,
66
- __wbg_queueMicrotask_5a8a9131f3f0b37b: () => Ue,
67
- __wbg_queueMicrotask_6d79674585219521: () => Le,
68
- __wbg_randomFillSync_d3c85af7e31cf1f8: () => ve,
69
- __wbg_require_0c566c6f2eef6c79: () => Ne,
70
- __wbg_resolve_4851785c9c5f573d: () => $e,
71
- __wbg_setTimeout_5d6a1d4fc51ea450: () => Ce,
72
- __wbg_set_37837023f3d740e8: () => Ve,
73
- __wbg_set_3f1d0b984ed272ed: () => ze,
74
- __wbg_set_65595bdd868b3009: () => We,
75
- __wbg_set_8fc6bf8a5b1071d1: () => Pe,
76
- __wbg_set_bb8cecf6a62b9f46: () => Ge,
77
- __wbg_set_wasm: () => v,
78
- __wbg_static_accessor_GLOBAL_88a902d13a557d07: () => Qe,
79
- __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0: () => He,
80
- __wbg_static_accessor_SELF_37c5d418e4bf5819: () => Je,
81
- __wbg_static_accessor_WINDOW_5de37043a91a9c40: () => Ke,
82
- __wbg_subarray_aa9065fa9dc5df96: () => Xe,
83
- __wbg_then_44b73946d2fb3e7d: () => Ye,
84
- __wbg_then_48b406749878a531: () => Ze,
85
- __wbg_valueOf_7392193dd78c6b97: () => et,
86
- __wbg_value_cd1ffa7b1ab794f1: () => tt,
87
- __wbg_versions_a8e5a362e1f16442: () => nt,
88
- __wbindgen_as_number: () => rt,
89
- __wbindgen_bigint_from_i64: () => ot,
90
- __wbindgen_bigint_from_u64: () => _t,
91
- __wbindgen_bigint_get_as_i64: () => ct,
92
- __wbindgen_boolean_get: () => it,
93
- __wbindgen_cb_drop: () => ut,
94
- __wbindgen_closure_wrapper7323: () => st,
95
- __wbindgen_debug_string: () => ft,
96
- __wbindgen_error_new: () => at,
97
- __wbindgen_in: () => bt,
98
- __wbindgen_init_externref_table: () => lt,
99
- __wbindgen_is_bigint: () => gt,
100
- __wbindgen_is_function: () => dt,
101
- __wbindgen_is_object: () => wt,
102
- __wbindgen_is_string: () => pt,
103
- __wbindgen_is_undefined: () => xt,
104
- __wbindgen_jsval_eq: () => yt,
105
- __wbindgen_jsval_loose_eq: () => mt,
106
- __wbindgen_memory: () => ht,
107
- __wbindgen_number_get: () => Tt,
108
- __wbindgen_number_new: () => qt,
109
- __wbindgen_string_get: () => St,
110
- __wbindgen_string_new: () => At,
111
- __wbindgen_throw: () => It,
112
- debug_panic: () => W,
113
- getBuildTimeInfo: () => z,
114
- });
115
- module.exports = L(Et);
116
- var y = () => {};
117
- y.prototype = y;
118
- let r;
119
- function v(e) {
120
- r = e;
121
- }
122
- let s = 0,
123
- m = null;
124
- function h() {
125
- return (
126
- (m === null || m.byteLength === 0) && (m = new Uint8Array(r.memory.buffer)),
127
- m
128
- );
129
- }
130
- const N =
131
- typeof TextEncoder > "u"
132
- ? (0, module.require)("util").TextEncoder
133
- : TextEncoder;
134
- let T = new N("utf-8");
135
- const $ =
136
- typeof T.encodeInto == "function"
137
- ? function (e, t) {
138
- return T.encodeInto(e, t);
139
- }
140
- : function (e, t) {
141
- const n = T.encode(e);
142
- return (t.set(n), { read: e.length, written: n.length });
143
- };
144
- function f(e, t, n) {
145
- if (n === void 0) {
146
- const u = T.encode(e),
147
- a = t(u.length, 1) >>> 0;
148
- return (
149
- h()
150
- .subarray(a, a + u.length)
151
- .set(u),
152
- (s = u.length),
153
- a
154
- );
155
- }
156
- let o = e.length,
157
- _ = t(o, 1) >>> 0;
158
- const i = h();
159
- let c = 0;
160
- for (; c < o; c++) {
161
- const u = e.charCodeAt(c);
162
- if (u > 127) break;
163
- i[_ + c] = u;
164
- }
165
- if (c !== o) {
166
- (c !== 0 && (e = e.slice(c)),
167
- (_ = n(_, o, (o = c + e.length * 3), 1) >>> 0));
168
- const u = h().subarray(_ + c, _ + o),
169
- a = $(e, u);
170
- ((c += a.written), (_ = n(_, o, c, 1) >>> 0));
171
- }
172
- return ((s = c), _);
173
- }
174
- let w = null;
175
- function g() {
176
- return (
177
- (w === null ||
178
- w.buffer.detached === !0 ||
179
- (w.buffer.detached === void 0 && w.buffer !== r.memory.buffer)) &&
180
- (w = new DataView(r.memory.buffer)),
181
- w
182
- );
183
- }
184
- function p(e) {
185
- const t = r.__externref_table_alloc();
186
- return (r.__wbindgen_export_4.set(t, e), t);
187
- }
188
- function b(e, t) {
189
- try {
190
- return e.apply(this, t);
191
- } catch (n) {
192
- const o = p(n);
193
- r.__wbindgen_exn_store(o);
194
- }
195
- }
196
- const C =
197
- typeof TextDecoder > "u"
198
- ? (0, module.require)("util").TextDecoder
199
- : TextDecoder;
200
- let I = new C("utf-8", { ignoreBOM: !0, fatal: !0 });
201
- I.decode();
202
- function q(e, t) {
203
- return ((e = e >>> 0), I.decode(h().subarray(e, e + t)));
204
- }
205
- function l(e) {
206
- return e == null;
207
- }
208
- const E =
209
- typeof FinalizationRegistry > "u"
210
- ? { register: () => {}, unregister: () => {} }
211
- : new FinalizationRegistry((e) => {
212
- r.__wbindgen_export_5.get(e.dtor)(e.a, e.b);
213
- });
214
- function V(e, t, n, o) {
215
- const _ = { a: e, b: t, cnt: 1, dtor: n },
216
- i = (...c) => {
217
- _.cnt++;
218
- const u = _.a;
219
- _.a = 0;
220
- try {
221
- return o(u, _.b, ...c);
222
- } finally {
223
- --_.cnt === 0
224
- ? (r.__wbindgen_export_5.get(_.dtor)(u, _.b), E.unregister(_))
225
- : (_.a = u);
226
- }
227
- };
228
- return ((i.original = _), E.register(i, _, _), i);
229
- }
230
- function A(e) {
231
- const t = typeof e;
232
- if (t == "number" || t == "boolean" || e == null) return `${e}`;
233
- if (t == "string") return `"${e}"`;
234
- if (t == "symbol") {
235
- const _ = e.description;
236
- return _ == null ? "Symbol" : `Symbol(${_})`;
237
- }
238
- if (t == "function") {
239
- const _ = e.name;
240
- return typeof _ == "string" && _.length > 0 ? `Function(${_})` : "Function";
241
- }
242
- if (Array.isArray(e)) {
243
- const _ = e.length;
244
- let i = "[";
245
- _ > 0 && (i += A(e[0]));
246
- for (let c = 1; c < _; c++) i += ", " + A(e[c]);
247
- return ((i += "]"), i);
248
- }
249
- const n = /\[object ([^\]]+)\]/.exec(toString.call(e));
250
- let o;
251
- if (n && n.length > 1) o = n[1];
252
- else return toString.call(e);
253
- if (o == "Object")
254
- try {
255
- return "Object(" + JSON.stringify(e) + ")";
256
- } catch {
257
- return "Object";
258
- }
259
- return e instanceof Error
260
- ? `${e.name}: ${e.message}
261
- ${e.stack}`
262
- : o;
263
- }
264
- function O(e) {
265
- const t = r.__wbindgen_export_4.get(e);
266
- return (r.__externref_table_dealloc(e), t);
267
- }
268
- function z() {
269
- return r.getBuildTimeInfo();
270
- }
271
- function W(e) {
272
- var t = l(e) ? 0 : f(e, r.__wbindgen_malloc, r.__wbindgen_realloc),
273
- n = s;
274
- const o = r.debug_panic(t, n);
275
- if (o[1]) throw O(o[0]);
276
- }
277
- function P(e, t, n) {
278
- r.closure574_externref_shim(e, t, n);
279
- }
280
- function G(e, t, n, o) {
281
- r.closure126_externref_shim(e, t, n, o);
282
- }
283
- const F =
284
- typeof FinalizationRegistry > "u"
285
- ? { register: () => {}, unregister: () => {} }
286
- : new FinalizationRegistry((e) => r.__wbg_queryengine_free(e >>> 0, 1));
287
- class Q {
288
- __destroy_into_raw() {
289
- const t = this.__wbg_ptr;
290
- return ((this.__wbg_ptr = 0), F.unregister(this), t);
291
- }
292
- free() {
293
- const t = this.__destroy_into_raw();
294
- r.__wbg_queryengine_free(t, 0);
295
- }
296
- constructor(t, n, o) {
297
- const _ = r.queryengine_new(t, n, o);
298
- if (_[2]) throw O(_[1]);
299
- return (
300
- (this.__wbg_ptr = _[0] >>> 0),
301
- F.register(this, this.__wbg_ptr, this),
302
- this
303
- );
304
- }
305
- connect(t, n) {
306
- const o = f(t, r.__wbindgen_malloc, r.__wbindgen_realloc),
307
- _ = s,
308
- i = f(n, r.__wbindgen_malloc, r.__wbindgen_realloc),
309
- c = s;
310
- return r.queryengine_connect(this.__wbg_ptr, o, _, i, c);
311
- }
312
- disconnect(t, n) {
313
- const o = f(t, r.__wbindgen_malloc, r.__wbindgen_realloc),
314
- _ = s,
315
- i = f(n, r.__wbindgen_malloc, r.__wbindgen_realloc),
316
- c = s;
317
- return r.queryengine_disconnect(this.__wbg_ptr, o, _, i, c);
318
- }
319
- query(t, n, o, _) {
320
- const i = f(t, r.__wbindgen_malloc, r.__wbindgen_realloc),
321
- c = s,
322
- u = f(n, r.__wbindgen_malloc, r.__wbindgen_realloc),
323
- a = s;
324
- var d = l(o) ? 0 : f(o, r.__wbindgen_malloc, r.__wbindgen_realloc),
325
- x = s;
326
- const M = f(_, r.__wbindgen_malloc, r.__wbindgen_realloc),
327
- j = s;
328
- return r.queryengine_query(this.__wbg_ptr, i, c, u, a, d, x, M, j);
329
- }
330
- startTransaction(t, n, o) {
331
- const _ = f(t, r.__wbindgen_malloc, r.__wbindgen_realloc),
332
- i = s,
333
- c = f(n, r.__wbindgen_malloc, r.__wbindgen_realloc),
334
- u = s,
335
- a = f(o, r.__wbindgen_malloc, r.__wbindgen_realloc),
336
- d = s;
337
- return r.queryengine_startTransaction(this.__wbg_ptr, _, i, c, u, a, d);
338
- }
339
- commitTransaction(t, n, o) {
340
- const _ = f(t, r.__wbindgen_malloc, r.__wbindgen_realloc),
341
- i = s,
342
- c = f(n, r.__wbindgen_malloc, r.__wbindgen_realloc),
343
- u = s,
344
- a = f(o, r.__wbindgen_malloc, r.__wbindgen_realloc),
345
- d = s;
346
- return r.queryengine_commitTransaction(this.__wbg_ptr, _, i, c, u, a, d);
347
- }
348
- rollbackTransaction(t, n, o) {
349
- const _ = f(t, r.__wbindgen_malloc, r.__wbindgen_realloc),
350
- i = s,
351
- c = f(n, r.__wbindgen_malloc, r.__wbindgen_realloc),
352
- u = s,
353
- a = f(o, r.__wbindgen_malloc, r.__wbindgen_realloc),
354
- d = s;
355
- return r.queryengine_rollbackTransaction(this.__wbg_ptr, _, i, c, u, a, d);
356
- }
357
- metrics(t) {
358
- const n = f(t, r.__wbindgen_malloc, r.__wbindgen_realloc),
359
- o = s;
360
- return r.queryengine_metrics(this.__wbg_ptr, n, o);
361
- }
362
- trace(t) {
363
- const n = f(t, r.__wbindgen_malloc, r.__wbindgen_realloc),
364
- o = s;
365
- return r.queryengine_trace(this.__wbg_ptr, n, o);
366
- }
367
- }
368
- function H(e, t) {
369
- const n = String(t),
370
- o = f(n, r.__wbindgen_malloc, r.__wbindgen_realloc),
371
- _ = s;
372
- (g().setInt32(e + 4 * 1, _, !0), g().setInt32(e + 4 * 0, o, !0));
373
- }
374
- function J(e) {
375
- return e.buffer;
376
- }
377
- function K() {
378
- return b(function (e, t) {
379
- return e.call(t);
380
- }, arguments);
381
- }
382
- function X() {
383
- return b(function (e, t, n) {
384
- return e.call(t, n);
385
- }, arguments);
386
- }
387
- function Y(e) {
388
- return e.crypto;
389
- }
390
- function Z(e) {
391
- return e.done;
392
- }
393
- function ee(e) {
394
- return Object.entries(e);
395
- }
396
- function te() {
397
- return b(function (e, t) {
398
- e.getRandomValues(t);
399
- }, arguments);
400
- }
401
- function ne(e) {
402
- return e.getTime();
403
- }
404
- function re() {
405
- return b(function (e, t) {
406
- return Reflect.get(e, t);
407
- }, arguments);
408
- }
409
- function oe(e, t) {
410
- return e[t >>> 0];
411
- }
412
- function _e() {
413
- return b(function (e, t) {
414
- return e[t];
415
- }, arguments);
416
- }
417
- function ce(e, t) {
418
- return e[t];
419
- }
420
- function ie() {
421
- return b(function (e, t) {
422
- return Reflect.has(e, t);
423
- }, arguments);
424
- }
425
- function ue(e) {
426
- let t;
427
- try {
428
- t = e instanceof ArrayBuffer;
429
- } catch {
430
- t = !1;
431
- }
432
- return t;
433
- }
434
- function se(e) {
435
- let t;
436
- try {
437
- t = e instanceof Map;
438
- } catch {
439
- t = !1;
440
- }
441
- return t;
442
- }
443
- function fe(e) {
444
- let t;
445
- try {
446
- t = e instanceof Promise;
447
- } catch {
448
- t = !1;
449
- }
450
- return t;
451
- }
452
- function ae(e) {
453
- let t;
454
- try {
455
- t = e instanceof Uint8Array;
456
- } catch {
457
- t = !1;
458
- }
459
- return t;
460
- }
461
- function be(e) {
462
- return Array.isArray(e);
463
- }
464
- function le(e) {
465
- return Number.isSafeInteger(e);
466
- }
467
- function ge() {
468
- return Symbol.iterator;
469
- }
470
- function de(e) {
471
- return Object.keys(e);
472
- }
473
- function we(e) {
474
- return e.length;
475
- }
476
- function pe(e) {
477
- return e.length;
478
- }
479
- function xe(e) {
480
- return e.msCrypto;
481
- }
482
- function ye() {
483
- return new Date();
484
- }
485
- function me(e, t) {
486
- try {
487
- var n = { a: e, b: t },
488
- o = (i, c) => {
489
- const u = n.a;
490
- n.a = 0;
491
- try {
492
- return G(u, n.b, i, c);
493
- } finally {
494
- n.a = u;
495
- }
496
- };
497
- return new Promise(o);
498
- } finally {
499
- n.a = n.b = 0;
500
- }
501
- }
502
- function he() {
503
- return new Object();
504
- }
505
- function Te() {
506
- return new Map();
507
- }
508
- function qe() {
509
- return new Array();
510
- }
511
- function Se(e) {
512
- return new Uint8Array(e);
513
- }
514
- function Ae(e, t) {
515
- return new y(q(e, t));
516
- }
517
- function Ie(e, t, n) {
518
- return new Uint8Array(e, t >>> 0, n >>> 0);
519
- }
520
- function Ee(e) {
521
- return new Uint8Array(e >>> 0);
522
- }
523
- function Oe(e) {
524
- return e.next;
525
- }
526
- function Fe() {
527
- return b(function (e) {
528
- return e.next();
529
- }, arguments);
530
- }
531
- function Me(e) {
532
- return e.node;
533
- }
534
- function je(e) {
535
- return e.now();
536
- }
537
- function ke() {
538
- return Date.now();
539
- }
540
- function De() {
541
- return b(function () {
542
- return Date.now();
543
- }, arguments);
544
- }
545
- function Re(e) {
546
- return e.process;
547
- }
548
- function Be(e, t) {
549
- return e.push(t);
550
- }
551
- function Ue(e) {
552
- return e.queueMicrotask;
553
- }
554
- function Le(e) {
555
- queueMicrotask(e);
556
- }
557
- function ve() {
558
- return b(function (e, t) {
559
- e.randomFillSync(t);
560
- }, arguments);
561
- }
562
- function Ne() {
563
- return b(function () {
564
- return module.require;
565
- }, arguments);
566
- }
567
- function $e(e) {
568
- return Promise.resolve(e);
569
- }
570
- function Ce(e, t) {
571
- return setTimeout(e, t >>> 0);
572
- }
573
- function Ve(e, t, n) {
574
- e[t >>> 0] = n;
575
- }
576
- function ze(e, t, n) {
577
- e[t] = n;
578
- }
579
- function We(e, t, n) {
580
- e.set(t, n >>> 0);
581
- }
582
- function Pe(e, t, n) {
583
- return e.set(t, n);
584
- }
585
- function Ge() {
586
- return b(function (e, t, n) {
587
- return Reflect.set(e, t, n);
588
- }, arguments);
589
- }
590
- function Qe() {
591
- const e = typeof global > "u" ? null : global;
592
- return l(e) ? 0 : p(e);
593
- }
594
- function He() {
595
- const e = typeof globalThis > "u" ? null : globalThis;
596
- return l(e) ? 0 : p(e);
597
- }
598
- function Je() {
599
- const e = typeof self > "u" ? null : self;
600
- return l(e) ? 0 : p(e);
601
- }
602
- function Ke() {
603
- const e = typeof window > "u" ? null : window;
604
- return l(e) ? 0 : p(e);
605
- }
606
- function Xe(e, t, n) {
607
- return e.subarray(t >>> 0, n >>> 0);
608
- }
609
- function Ye(e, t) {
610
- return e.then(t);
611
- }
612
- function Ze(e, t, n) {
613
- return e.then(t, n);
614
- }
615
- function et(e) {
616
- return e.valueOf();
617
- }
618
- function tt(e) {
619
- return e.value;
620
- }
621
- function nt(e) {
622
- return e.versions;
623
- }
624
- function rt(e) {
625
- return +e;
626
- }
627
- function ot(e) {
628
- return e;
629
- }
630
- function _t(e) {
631
- return BigInt.asUintN(64, e);
632
- }
633
- function ct(e, t) {
634
- const n = t,
635
- o = typeof n == "bigint" ? n : void 0;
636
- (g().setBigInt64(e + 8 * 1, l(o) ? BigInt(0) : o, !0),
637
- g().setInt32(e + 4 * 0, !l(o), !0));
638
- }
639
- function it(e) {
640
- const t = e;
641
- return typeof t == "boolean" ? (t ? 1 : 0) : 2;
642
- }
643
- function ut(e) {
644
- const t = e.original;
645
- return t.cnt-- == 1 ? ((t.a = 0), !0) : !1;
646
- }
647
- function st(e, t, n) {
648
- return V(e, t, 575, P);
649
- }
650
- function ft(e, t) {
651
- const n = A(t),
652
- o = f(n, r.__wbindgen_malloc, r.__wbindgen_realloc),
653
- _ = s;
654
- (g().setInt32(e + 4 * 1, _, !0), g().setInt32(e + 4 * 0, o, !0));
655
- }
656
- function at(e, t) {
657
- return new Error(q(e, t));
658
- }
659
- function bt(e, t) {
660
- return e in t;
661
- }
662
- function lt() {
663
- const e = r.__wbindgen_export_4,
664
- t = e.grow(4);
665
- (e.set(0, void 0),
666
- e.set(t + 0, void 0),
667
- e.set(t + 1, null),
668
- e.set(t + 2, !0),
669
- e.set(t + 3, !1));
670
- }
671
- function gt(e) {
672
- return typeof e == "bigint";
673
- }
674
- function dt(e) {
675
- return typeof e == "function";
676
- }
677
- function wt(e) {
678
- const t = e;
679
- return typeof t == "object" && t !== null;
680
- }
681
- function pt(e) {
682
- return typeof e == "string";
683
- }
684
- function xt(e) {
685
- return e === void 0;
686
- }
687
- function yt(e, t) {
688
- return e === t;
689
- }
690
- function mt(e, t) {
691
- return e == t;
692
- }
693
- function ht() {
694
- return r.memory;
695
- }
696
- function Tt(e, t) {
697
- const n = t,
698
- o = typeof n == "number" ? n : void 0;
699
- (g().setFloat64(e + 8 * 1, l(o) ? 0 : o, !0),
700
- g().setInt32(e + 4 * 0, !l(o), !0));
701
- }
702
- function qt(e) {
703
- return e;
704
- }
705
- function St(e, t) {
706
- const n = t,
707
- o = typeof n == "string" ? n : void 0;
708
- var _ = l(o) ? 0 : f(o, r.__wbindgen_malloc, r.__wbindgen_realloc),
709
- i = s;
710
- (g().setInt32(e + 4 * 1, i, !0), g().setInt32(e + 4 * 0, _, !0));
711
- }
712
- function At(e, t) {
713
- return q(e, t);
714
- }
715
- function It(e, t) {
716
- throw new Error(q(e, t));
717
- }
718
- 0 &&
719
- (module.exports = {
720
- QueryEngine,
721
- __wbg_String_8f0eb39a4a4c2f66,
722
- __wbg_buffer_609cc3eee51ed158,
723
- __wbg_call_672a4d21634d4a24,
724
- __wbg_call_7cccdd69e0791ae2,
725
- __wbg_crypto_805be4ce92f1e370,
726
- __wbg_done_769e5ede4b31c67b,
727
- __wbg_entries_3265d4158b33e5dc,
728
- __wbg_getRandomValues_f6a868620c8bab49,
729
- __wbg_getTime_46267b1c24877e30,
730
- __wbg_get_67b2ba62fc30de12,
731
- __wbg_get_b9b93047fe3cf45b,
732
- __wbg_get_ece95cf6585650d9,
733
- __wbg_getwithrefkey_1dc361bd10053bfe,
734
- __wbg_has_a5ea9117f258a0ec,
735
- __wbg_instanceof_ArrayBuffer_e14585432e3737fc,
736
- __wbg_instanceof_Map_f3469ce2244d2430,
737
- __wbg_instanceof_Promise_935168b8f4b49db3,
738
- __wbg_instanceof_Uint8Array_17156bcf118086a9,
739
- __wbg_isArray_a1eab7e0d067391b,
740
- __wbg_isSafeInteger_343e2beeeece1bb0,
741
- __wbg_iterator_9a24c88df860dc65,
742
- __wbg_keys_5c77a08ddc2fb8a6,
743
- __wbg_length_a446193dc22c12f8,
744
- __wbg_length_e2d2a49132c1b256,
745
- __wbg_msCrypto_2ac4d17c4748234a,
746
- __wbg_new0_f788a2397c7ca929,
747
- __wbg_new_23a2665fac83c611,
748
- __wbg_new_405e22f390576ce2,
749
- __wbg_new_5e0be73521bc8c17,
750
- __wbg_new_78feb108b6472713,
751
- __wbg_new_a12002a7f91c75be,
752
- __wbg_newnoargs_105ed471475aaf50,
753
- __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a,
754
- __wbg_newwithlength_a381634e90c276d4,
755
- __wbg_next_25feadfc0913fea9,
756
- __wbg_next_6574e1a8a62d1055,
757
- __wbg_node_ecc8306b9857f33d,
758
- __wbg_now_7fd00a794a07d388,
759
- __wbg_now_807e54c39636c349,
760
- __wbg_now_b3f7572f6ef3d3a9,
761
- __wbg_process_5cff2739921be718,
762
- __wbg_push_737cfc8c1432c2c6,
763
- __wbg_queueMicrotask_5a8a9131f3f0b37b,
764
- __wbg_queueMicrotask_6d79674585219521,
765
- __wbg_randomFillSync_d3c85af7e31cf1f8,
766
- __wbg_require_0c566c6f2eef6c79,
767
- __wbg_resolve_4851785c9c5f573d,
768
- __wbg_setTimeout_5d6a1d4fc51ea450,
769
- __wbg_set_37837023f3d740e8,
770
- __wbg_set_3f1d0b984ed272ed,
771
- __wbg_set_65595bdd868b3009,
772
- __wbg_set_8fc6bf8a5b1071d1,
773
- __wbg_set_bb8cecf6a62b9f46,
774
- __wbg_set_wasm,
775
- __wbg_static_accessor_GLOBAL_88a902d13a557d07,
776
- __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0,
777
- __wbg_static_accessor_SELF_37c5d418e4bf5819,
778
- __wbg_static_accessor_WINDOW_5de37043a91a9c40,
779
- __wbg_subarray_aa9065fa9dc5df96,
780
- __wbg_then_44b73946d2fb3e7d,
781
- __wbg_then_48b406749878a531,
782
- __wbg_valueOf_7392193dd78c6b97,
783
- __wbg_value_cd1ffa7b1ab794f1,
784
- __wbg_versions_a8e5a362e1f16442,
785
- __wbindgen_as_number,
786
- __wbindgen_bigint_from_i64,
787
- __wbindgen_bigint_from_u64,
788
- __wbindgen_bigint_get_as_i64,
789
- __wbindgen_boolean_get,
790
- __wbindgen_cb_drop,
791
- __wbindgen_closure_wrapper7323,
792
- __wbindgen_debug_string,
793
- __wbindgen_error_new,
794
- __wbindgen_in,
795
- __wbindgen_init_externref_table,
796
- __wbindgen_is_bigint,
797
- __wbindgen_is_function,
798
- __wbindgen_is_object,
799
- __wbindgen_is_string,
800
- __wbindgen_is_undefined,
801
- __wbindgen_jsval_eq,
802
- __wbindgen_jsval_loose_eq,
803
- __wbindgen_memory,
804
- __wbindgen_number_get,
805
- __wbindgen_number_new,
806
- __wbindgen_string_get,
807
- __wbindgen_string_new,
808
- __wbindgen_throw,
809
- debug_panic,
810
- getBuildTimeInfo,
811
- });