@tiddlywiki/mws 0.0.21 → 0.1.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.
- package/README.md +42 -9
- package/dist/metafile-esm.json +1 -0
- package/dist/mws.d.ts +1 -0
- package/dist/mws.js +34710 -0
- package/dist/mws.js.map +1 -0
- package/editions/mws-docs/tiddlers/$__StoryList.tid +1 -2
- package/editions/mws-docs/tiddlers/2025-02-18 - User Management.md.meta +2 -2
- package/editions/mws-docs/tiddlers/2025-04-14 - client plugins /342/234/224/357/270/217.md" +31 -0
- package/editions/mws-docs/tiddlers/2025-04-14 - client plugins /342/234/224/357/270/217.md.meta" +5 -0
- package/editions/mws-docs/tiddlers/{2025-05-04.md → 2025-05-04 - event hooks /342/234/224/357/270/217.md" } +7 -1
- package/editions/mws-docs/tiddlers/2025-05-04 - event hooks /342/234/224/357/270/217.md.meta" +5 -0
- package/editions/mws-docs/tiddlers/{2025-05-06.md → 2025-05-06 - syncer design.md } +0 -4
- package/editions/mws-docs/tiddlers/2025-05-06 - syncer design.md.meta +5 -0
- package/editions/mws-docs/tiddlers/Allowed Methods.tid +8 -0
- package/editions/mws-docs/tiddlers/Application Access & Security.md +14 -84
- package/editions/mws-docs/tiddlers/Application Access & Security.md.meta +1 -1
- package/editions/mws-docs/tiddlers/Body Format.md +19 -0
- package/editions/mws-docs/tiddlers/Body Format.md.meta +4 -0
- package/editions/mws-docs/tiddlers/Checklists and Features.md +0 -3
- package/editions/mws-docs/tiddlers/Checklists and Features.md.meta +1 -1
- package/editions/mws-docs/tiddlers/Client Plugins.md +17 -0
- package/editions/mws-docs/tiddlers/Client Plugins.md.meta +5 -0
- package/editions/mws-docs/tiddlers/HTTP API.md +4 -3
- package/editions/mws-docs/tiddlers/HTTP API.md.meta +1 -1
- package/editions/mws-docs/tiddlers/HelloThere.tid +2 -2
- package/editions/mws-docs/tiddlers/Installation.tid +2 -3
- package/editions/mws-docs/tiddlers/MWS Architecture.tid +6 -1
- package/editions/mws-docs/tiddlers/Multi-user Trust.md +12 -0
- package/editions/mws-docs/tiddlers/Multi-user Trust.md.meta +5 -0
- package/editions/mws-docs/tiddlers/Notes.tid +5 -3
- package/editions/mws-docs/tiddlers/Oracle Attacks.md +29 -0
- package/editions/mws-docs/tiddlers/Oracle Attacks.md.meta +5 -0
- package/editions/mws-docs/tiddlers/Reference.md +1 -0
- package/editions/mws-docs/tiddlers/Reference.md.meta +1 -1
- package/editions/mws-docs/tiddlers/Request Handling.md +53 -0
- package/editions/mws-docs/tiddlers/Request Handling.md.meta +5 -0
- package/editions/mws-docs/tiddlers/Roadmap.tid +7 -0
- package/editions/mws-docs/tiddlers/Route Definers.md +206 -0
- package/editions/mws-docs/tiddlers/Route Definers.md.meta +5 -0
- package/editions/mws-docs/tiddlers/Security.md +75 -0
- package/editions/mws-docs/tiddlers/Security.md.meta +5 -0
- package/editions/mws-docs/tiddlers/Server Plugins.md +7 -0
- package/editions/mws-docs/tiddlers/Server Plugins.md.meta +5 -0
- package/editions/mws-docs/tiddlers/Startup Cache.md +28 -0
- package/editions/mws-docs/tiddlers/Startup Cache.md.meta +5 -0
- package/editions/mws-docs/tiddlers/TiddlerFields.md +5 -0
- package/editions/mws-docs/tiddlers/TiddlerFields.md.meta +4 -0
- package/editions/mws-docs/tiddlers/Usage.tid +2 -2
- package/editions/mws-docs/tiddlers/system/$__mws_cssvar-macro.tid +10 -0
- package/editions/mws-docs/tiddlers/system/$__palettes_MUI +143 -0
- package/editions/mws-docs/tiddlers/system/$__palettes_MUI.meta +7 -0
- package/editions/mws-docs/tiddlers/system/$__palettes_MUI_styles.css +567 -0
- package/editions/mws-docs/tiddlers/system/$__palettes_MUI_styles.css.meta +6 -0
- package/editions/mws-docs/tiddlers/system/$__theme.tid +6 -0
- package/editions/mws-docs/tiddlers/system/SplashScreen.tid +21 -0
- package/editions/mws-docs/tiddlers/system/StaticBanner.tid +1 -1
- package/editions/mws-docs/tiddlers/system/Styles.tid +13 -0
- package/editions/mws-docs/tiddlers/system/palette.tid +4 -1
- package/editions/mws-docs/tiddlers/system/sidebarlayout.tid +4 -1
- package/editions/mws-docs/tiddlers/x-mws-tiddler.md +35 -0
- package/editions/mws-docs/tiddlers/x-mws-tiddler.md.meta +5 -0
- package/mws.run.mjs +30 -0
- package/package.json +47 -36
- package/plugins/client/package-lock.json +46 -83
- package/plugins/client/package.json +1 -6
- package/plugins/client/plugin.info +2 -2
- package/plugins/client/src/fflate.d.ts +1501 -0
- package/plugins/client/src/multiwikiclientadaptor.ts +768 -317
- package/plugins/client/src/mws.d.ts +4 -0
- package/plugins/client/src/types.d.ts +3928 -0
- package/plugins/client/tiddlers/en-US.multids +3 -0
- package/plugins/client/tiddlers/status/SaveWikiButtonTemplate.tid +3 -0
- package/plugins/client/tiddlers/status/icon-cloud.tid +4 -0
- package/plugins/client/tiddlers/status/info-segment.tid +8 -0
- package/plugins/client/tiddlers/status/readonly-styles.tid +27 -0
- package/plugins/client/tiddlers/status/save-offline.tid +7 -0
- package/plugins/client/tiddlers/status/save-wiki-button.tid +26 -0
- package/plugins/client/tiddlers/status/styles.tid +44 -0
- package/plugins/client/tiddlers/status/syncer-actions-copy-logs.tid +6 -0
- package/plugins/client/tiddlers/status/syncer-actions-login-status.tid +9 -0
- package/plugins/client/tiddlers/status/syncer-actions-login.tid +8 -0
- package/plugins/client/tiddlers/status/syncer-actions-logout.tid +8 -0
- package/plugins/client/tiddlers/status/syncer-actions-refresh.tid +9 -0
- package/plugins/client/tiddlers/status/syncer-actions-save-snapshot.tid +9 -0
- package/plugins/client/tiddlers/status/tags-syncerdropdown.tid +2 -0
- package/plugins/client/tiddlers/syncer/multiwikiclientadaptor.js +640 -0
- package/plugins/client/tiddlers/syncer/syncer.js +831 -0
- package/plugins/client/tsconfig.json +19 -16
- package/plugins/filter-ast-to-sql/example-run-series.ts +146 -0
- package/plugins/server/SplashScreen.tid +150 -0
- package/plugins/server/fflate.js +9 -0
- package/plugins/server/plugin.info +8 -0
- package/plugins/server/readme +1 -0
- package/plugins/server/url-polyfill.js +294 -0
- package/prisma/client/client.d.ts +1 -0
- package/prisma/client/client.js +3 -0
- package/prisma/client/default.d.ts +1 -0
- package/prisma/client/default.js +3 -0
- package/prisma/client/edge.d.ts +1 -0
- package/prisma/client/edge.js +297 -0
- package/prisma/client/index-browser.js +275 -0
- package/prisma/client/index.d.ts +17770 -0
- package/prisma/client/index.js +324 -0
- package/prisma/client/package.json +173 -0
- package/prisma/client/query_engine_bg.js +811 -0
- package/prisma/client/query_engine_bg.wasm +0 -0
- package/prisma/client/runtime/edge-esm.js +10000 -0
- package/prisma/client/runtime/edge.js +10036 -0
- package/prisma/client/runtime/index-browser.d.ts +370 -0
- package/prisma/client/runtime/index-browser.js +2300 -0
- package/prisma/client/runtime/library.d.ts +3681 -0
- package/prisma/client/runtime/library.js +10604 -0
- package/prisma/client/runtime/react-native.js +10629 -0
- package/prisma/client/runtime/wasm-compiler-edge.js +11238 -0
- package/prisma/client/runtime/wasm-engine-edge.js +7801 -0
- package/prisma/client/schema.prisma +156 -0
- package/prisma/client/wasm-edge-light-loader.mjs +4 -0
- package/prisma/client/wasm-worker-loader.mjs +4 -0
- package/prisma/client/wasm.d.ts +1 -0
- package/prisma/client/wasm.js +304 -0
- package/prisma/global.ts +53 -0
- package/prisma/migrations/{20250406213424_init → 20250606001949_init}/migration.sql +46 -48
- package/prisma/migrations/20250613000526_remove_group/migration.sql +22 -0
- package/prisma/migrations/20250620014502_settings/migration.sql +5 -0
- package/prisma/migrations/20250707205229_recipes/migration.sql +20 -0
- package/prisma/migrations/migration_lock.toml +1 -1
- package/prisma/notes.md +1 -2
- package/prisma/schema.prisma +52 -49
- package/prisma/test.sqlite +0 -0
- package/prisma/test.sqlite-journal +0 -0
- package/public/react-admin/android-chrome-192x192.png +0 -0
- package/public/react-admin/android-chrome-512x512.png +0 -0
- package/public/react-admin/apple-touch-icon.png +0 -0
- package/{react-user-mgmt/public/esm-QKDFEP3B.js → public/react-admin/esm-L4WLVWJN.js} +1 -1
- package/public/react-admin/esm-L4WLVWJN.js.map +7 -0
- package/public/react-admin/esm-QMNGI3LF.js +3 -0
- package/public/react-admin/favicon-16x16.png +0 -0
- package/public/react-admin/favicon-32x32.png +0 -0
- package/public/react-admin/favicon.ico +0 -0
- package/public/react-admin/index.html +36 -0
- package/public/react-admin/main.js +268 -0
- package/public/react-admin/main.js.map +7 -0
- package/public/react-admin/site.webmanifest +20 -0
- package/public/react-admin/stats.json +1 -0
- package/scripts.mjs +134 -25
- package/dist/server.d.ts +0 -945
- package/dist/server.js +0 -20775
- package/dist/server.js.map +0 -1
- package/editions/mws-docs/tiddlers/2025-04-03 - Phases of Development.md +0 -64
- package/editions/mws-docs/tiddlers/2025-04-03 - Phases of Development.md.meta +0 -5
- package/editions/mws-docs/tiddlers/2025-04-13 - Plugins.md +0 -18
- package/editions/mws-docs/tiddlers/2025-04-13 - Plugins.md.meta +0 -5
- package/editions/mws-docs/tiddlers/2025-05-04.md.meta +0 -5
- package/editions/mws-docs/tiddlers/2025-05-06.md.meta +0 -5
- package/editions/mws-docs/tiddlers/Moduler Design.md +0 -29
- package/editions/mws-docs/tiddlers/Moduler Design.md.meta +0 -5
- package/editions/mws-docs/tiddlers/Request Server.md +0 -20
- package/editions/mws-docs/tiddlers/Request Server.md.meta +0 -5
- package/editions/mws-docs/tiddlers/system/$__palettes_MUI-Dark +0 -173
- package/editions/mws-docs/tiddlers/system/$__palettes_MUI-Dark.meta +0 -6
- package/editions/mws-docs/tiddlers/system/$__palettes_MUI-Light +0 -172
- package/editions/mws-docs/tiddlers/system/$__palettes_MUI-Light.meta +0 -6
- package/plugins/client/tiddlers/config-tiddlers-filter.tid +0 -2
- package/plugins/client/tiddlers/config-use-server-sent-events.tid +0 -2
- package/plugins/client/tiddlers/info-segment.tid +0 -8
- package/plugins/client/tiddlers/multiwikiclientadaptor.js +0 -444
- package/prisma/migrations/20250407002306_disconnect_user_tables/migration.sql +0 -52
- package/prisma/old-db.sql +0 -144
- package/react-user-mgmt/README.md +0 -50
- package/react-user-mgmt/eslint.config.js +0 -28
- package/react-user-mgmt/package-lock.json +0 -2738
- package/react-user-mgmt/package.json +0 -31
- package/react-user-mgmt/public/index.html +0 -1
- package/react-user-mgmt/public/main.js +0 -295
- package/react-user-mgmt/public/main.js.map +0 -7
- package/react-user-mgmt/public/stats.json +0 -1
- package/react-user-mgmt/tsconfig.json +0 -40
- package/react-user-mgmt/types.d.ts +0 -2
- package/tiddlywiki-types/boot/boot.d.ts +0 -378
- package/tiddlywiki-types/boot/bootprefix.d.ts +0 -110
- package/tiddlywiki-types/core/modules/filters.d.ts +0 -107
- package/tiddlywiki-types/core/modules/tiddler.d.ts +0 -47
- package/tiddlywiki-types/core/modules/wiki-bulkops.d.ts +0 -36
- package/tiddlywiki-types/core/modules/wiki.d.ts +0 -208
- package/tiddlywiki-types/index.d.ts +0 -7
- package/tiddlywiki-types/package.json +0 -3
- /package/plugins/client/tiddlers/{sidebarsegment.tid → status/sidebarsegment.tid} +0 -0
- /package/plugins/client/tiddlers/{GettingStarted.tid → syncer/GettingStarted.tid} +0 -0
- /package/plugins/client/tiddlers/{config-incoming-updates-filter.tid → syncer/config-incoming-updates-filter.tid} +0 -0
- /package/plugins/client/tiddlers/{readme.tid → syncer/readme.tid} +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/chunk-YALWN5OT.js +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/chunk-YALWN5OT.js.map +0 -0
- /package/{react-user-mgmt/public/esm-QKDFEP3B.js.map → public/react-admin/esm-QMNGI3LF.js.map} +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/favicon.png +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/missing-favicon.png +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/motovun-jack.jpg +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/mws-icon.png +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/stats.css +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/stats.html +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/stats.js +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/stats.svg +0 -0
- /package/{react-user-mgmt/public → public/react-admin}/vite.svg +0 -0
|
@@ -0,0 +1,811 @@
|
|
|
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
|
+
});
|