sqlrooms 0.1.0__py3-none-any.whl

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 (57) hide show
  1. sqlrooms/cli.py +576 -0
  2. sqlrooms/web/__init__.py +0 -0
  3. sqlrooms/web/db_bridge/__init__.py +28 -0
  4. sqlrooms/web/db_bridge/connectors/__init__.py +9 -0
  5. sqlrooms/web/db_bridge/connectors/base.py +59 -0
  6. sqlrooms/web/db_bridge/connectors/postgres.py +118 -0
  7. sqlrooms/web/db_bridge/connectors/snowflake.py +161 -0
  8. sqlrooms/web/db_bridge/factory.py +91 -0
  9. sqlrooms/web/db_bridge/registry.py +113 -0
  10. sqlrooms/web/db_bridge/types.py +29 -0
  11. sqlrooms/web/db_bridge/utils.py +45 -0
  12. sqlrooms/web/launcher.py +1215 -0
  13. sqlrooms/web/static/assets/AiSlice-x2gVCmwI.js +137 -0
  14. sqlrooms/web/static/assets/CommandSlice-DPSuuiIV.js +23 -0
  15. sqlrooms/web/static/assets/DockLayout-DhgcIQET.js +1 -0
  16. sqlrooms/web/static/assets/GridLayout-CBVgs-6H.css +1 -0
  17. sqlrooms/web/static/assets/GridLayout-fXJZYHbE.js +253 -0
  18. sqlrooms/web/static/assets/LayoutRendererContext-BKO2wB-W.js +1 -0
  19. sqlrooms/web/static/assets/LeafLayout-DPFHUP6B.js +1 -0
  20. sqlrooms/web/static/assets/LeafLayout-ekhNDEEg.js +1 -0
  21. sqlrooms/web/static/assets/RenderNodeContext-BdrX8FaE.js +1 -0
  22. sqlrooms/web/static/assets/RendererSwitcher-DnVbhqg4.js +1 -0
  23. sqlrooms/web/static/assets/SplitLayout-fPLAPJN-.js +1 -0
  24. sqlrooms/web/static/assets/TabsLayout-C0N-7wmx.js +1 -0
  25. sqlrooms/web/static/assets/TabsLayout-T3iApyr5.js +41 -0
  26. sqlrooms/web/static/assets/chunk-jRWAZmH_.js +1 -0
  27. sqlrooms/web/static/assets/codicon-ngg6Pgfi.ttf +0 -0
  28. sqlrooms/web/static/assets/core.esm-DdCldPzV.js +5 -0
  29. sqlrooms/web/static/assets/css.worker-Wv5dxAWO.js +89 -0
  30. sqlrooms/web/static/assets/devtools-BNUn8Jb2.js +2 -0
  31. sqlrooms/web/static/assets/dist-dwKeDPoe.js +1 -0
  32. sqlrooms/web/static/assets/html.worker-CQP8QQsS.js +502 -0
  33. sqlrooms/web/static/assets/index-D9UP9D4f.js +316286 -0
  34. sqlrooms/web/static/assets/index-DioDnqnf.css +1 -0
  35. sqlrooms/web/static/assets/json.worker-DzV-CpCQ.js +58 -0
  36. sqlrooms/web/static/assets/loro_wasm_bg-DP4dC0x3.wasm +0 -0
  37. sqlrooms/web/static/assets/loro_wasm_bg-VQ4j4Qa9.js +9 -0
  38. sqlrooms/web/static/assets/loro_wasm_bg-oL0xMWtE.js +3630 -0
  39. sqlrooms/web/static/assets/maplibre-gl-C-a91wbz.js +748 -0
  40. sqlrooms/web/static/assets/node-sql-parser-ChfKIXD7.js +68 -0
  41. sqlrooms/web/static/assets/prop-types-DybOnnvg.js +1 -0
  42. sqlrooms/web/static/assets/react-dom-liMHu8hH.js +1 -0
  43. sqlrooms/web/static/assets/resizable-DYr7VLR3.js +1 -0
  44. sqlrooms/web/static/assets/scroll-area-ZmzNHGEm.js +1 -0
  45. sqlrooms/web/static/assets/tooltip-mgpsA9tW.js +1 -0
  46. sqlrooms/web/static/assets/ts.worker-Dth06zuC.js +67734 -0
  47. sqlrooms/web/static/assets/utils-yJ4l7ARz.js +1 -0
  48. sqlrooms/web/static/assets/webgl-device-CgQl7NRd.js +1 -0
  49. sqlrooms/web/static/assets/webgl-device-CtgDFnYR.js +13 -0
  50. sqlrooms/web/static/index.html +32 -0
  51. sqlrooms/web/static/logo.png +0 -0
  52. sqlrooms/web/ui.py +37 -0
  53. sqlrooms-0.1.0.dist-info/METADATA +274 -0
  54. sqlrooms-0.1.0.dist-info/RECORD +57 -0
  55. sqlrooms-0.1.0.dist-info/WHEEL +4 -0
  56. sqlrooms-0.1.0.dist-info/entry_points.txt +2 -0
  57. sqlrooms-0.1.0.dist-info/licenses/LICENSE +9 -0
@@ -0,0 +1,3630 @@
1
+ import { r as e } from "./chunk-jRWAZmH_.js";
2
+ let mr, lc, ds, ua, uo, di, Gn, Vs, Ho, Vi, Va, Hr, tr, Zs, Qo, Zi, Za, Qr, Tc, Fs, Fo, Pi, Pa, Fr, Hn, Rs, zo, Ri, Ra, zr, Vn, Tn, Ro, Li, La, Rr, Xn, Ks, qo, Ki, Ka, qr, or, tc, rs, na, no, ri, rr, $s, es, $i, $a, ei, Zn, qs, Jo, qi, qa, Jr, lr, ic, os, aa, ao, oi, sr, nc, is, ra, ro, ii, Qn, Js, Yo, Ji, Ja, Yr, qn, Us, Wo, Ui, Ua, Wr, Jn, Ws, Go, Wi, Wa, Gr, Un, zs, Bo, zi, za, Br, Yn, Gs, Ko, Gi, Ga, Kr, pr, cc, us, la, lo, ui, $n, Ys, Xo, Yi, Ya, Xr, Dc, Ps, Po, Ni, Na, Pr, Bn, Ls, Lo, Ii, Ia, Lr, ir, ec, ts, ea, eo, ti, nr, Qs, $o, Qi, Qa, $r, ar, $, ns, ta, to, ni, dr, oc, cs, sa, so, ci, ur, ac, ss, oa, oo, si, fr, sc, ls, ca, co, li, xc, ks, ko, Oi, Oa, jr, An, _s, _o, _i, F, ga, br, yc, Ms, Mo, ji, ja, _c, Nn, bs, bo, bi, U, ya, Cr, Fn, Cs, Co, Ci, Y, Sa, Tr, fs, fo, fi, uc, da, hr, In, ws, wo, wi, ve, Ca, Er, wc, Os, Oo, hc, Da, Ar, zn, Ds, Do, Di, r, Ea, kr, kn, gs, go, gi, mc, ha, yr, Kn, Hs, Uo, Hi, Ha, Ur, Wn, Bs, Vo, Bi, Ba, Vr, Pn, xs, xo, xi, G, ba, wn, Rn, Es, Eo, Ei, M, Ta, Or, Dn, ms, mo, mi, fc, pa, _r, jn, vs, vo, vi, z, _a, xr, Ln, Ts, To, Ti, a, wa, Dr, cr, rc, as, ia, io, ai, On, hs, ho, hi, pc, ma, vr, Mn, ys, yo, yi, V, va, Sr, En, ps, po, pi, dc, fa, gr, gc, Ss, So, Si, q, xa, wr, Cc, As, Ao, ki, ka, Mr, Ec, Is, Io, Fi, Fa, Ir, bc, Ns, No, Mi, Ma, vc, Sc, js, jo, Ai, Aa, Nr, er, Xs, Zo, Xi, Xa, Zr;
3
+ let __tla = (async ()=>{
4
+ let t, n, i;
5
+ t = `/assets/loro_wasm_bg-DP4dC0x3.wasm`;
6
+ n = async (e = {}, t)=>{
7
+ let n;
8
+ if (t.startsWith(`data:`)) {
9
+ let r = t.replace(/^data:.*?base64,/, ``), i;
10
+ if (typeof Buffer == `function` && typeof Buffer.from == `function`) i = Buffer.from(r, `base64`);
11
+ else if (typeof atob == `function`) {
12
+ let e = atob(r);
13
+ i = new Uint8Array(e.length);
14
+ for(let t = 0; t < e.length; t++)i[t] = e.charCodeAt(t);
15
+ } else throw Error(`Cannot decode base64-encoded data URL`);
16
+ n = await WebAssembly.instantiate(i, e);
17
+ } else {
18
+ let r = await fetch(t), i = r.headers.get(`Content-Type`) || ``;
19
+ if (`instantiateStreaming` in WebAssembly && i.startsWith(`application/wasm`)) n = await WebAssembly.instantiateStreaming(r, e);
20
+ else {
21
+ let t = await r.arrayBuffer();
22
+ n = await WebAssembly.instantiate(t, e);
23
+ }
24
+ }
25
+ return n.instance.exports;
26
+ };
27
+ r = e({
28
+ AwarenessWasm: ()=>fe,
29
+ ChangeModifier: ()=>me,
30
+ Cursor: ()=>N,
31
+ EphemeralStoreWasm: ()=>F,
32
+ LORO_VERSION: ()=>oe,
33
+ LoroCounter: ()=>L,
34
+ LoroDoc: ()=>z,
35
+ LoroList: ()=>V,
36
+ LoroMap: ()=>U,
37
+ LoroMovableList: ()=>G,
38
+ LoroText: ()=>q,
39
+ LoroTree: ()=>Y,
40
+ LoroTreeNode: ()=>X,
41
+ UndoManager: ()=>ve,
42
+ VersionVector: ()=>Q,
43
+ __wbg_String_8f0eb39a4a4c2f66: ()=>ye,
44
+ __wbg_apply_36be6a55257c99bf: ()=>be,
45
+ __wbg_apply_eb9e9b97497f91e4: ()=>xe,
46
+ __wbg_buffer_609cc3eee51ed158: ()=>Se,
47
+ __wbg_call_672a4d21634d4a24: ()=>Ce,
48
+ __wbg_call_7cccdd69e0791ae2: ()=>we,
49
+ __wbg_call_833bed5770ea2041: ()=>Te,
50
+ __wbg_call_b8adc8b1d0a0d8eb: ()=>Ee,
51
+ __wbg_changemodifier_new: ()=>De,
52
+ __wbg_crypto_574e78ad8b13b65f: ()=>Oe,
53
+ __wbg_cursor_new: ()=>ke,
54
+ __wbg_done_769e5ede4b31c67b: ()=>Ae,
55
+ __wbg_entries_3265d4158b33e5dc: ()=>je,
56
+ __wbg_entries_c8a90a7ed73e84ce: ()=>Me,
57
+ __wbg_error_7534b8e9a36f1ab4: ()=>Ne,
58
+ __wbg_error_fd027616b8006afa: ()=>Pe,
59
+ __wbg_from_2a5d3e218e67aa85: ()=>Fe,
60
+ __wbg_getOwnPropertySymbols_97eebed6fe6e08be: ()=>Ie,
61
+ __wbg_getRandomValues_b8f5dbd5f3995a9e: ()=>Le,
62
+ __wbg_get_67b2ba62fc30de12: ()=>Re,
63
+ __wbg_get_b9b93047fe3cf45b: ()=>ze,
64
+ __wbg_getindex_5b00c274b05714aa: ()=>Be,
65
+ __wbg_getwithrefkey_1dc361bd10053bfe: ()=>Ve,
66
+ __wbg_instanceof_ArrayBuffer_e14585432e3737fc: ()=>He,
67
+ __wbg_instanceof_Map_f3469ce2244d2430: ()=>Ue,
68
+ __wbg_instanceof_Object_7f2dcef8f78644a4: ()=>We,
69
+ __wbg_instanceof_Uint8Array_17156bcf118086a9: ()=>Ge,
70
+ __wbg_isArray_a1eab7e0d067391b: ()=>Ke,
71
+ __wbg_isSafeInteger_343e2beeeece1bb0: ()=>qe,
72
+ __wbg_iterator_9a24c88df860dc65: ()=>Je,
73
+ __wbg_length_a446193dc22c12f8: ()=>Ye,
74
+ __wbg_length_e2d2a49132c1b256: ()=>Xe,
75
+ __wbg_log_0cc1b7768397bcfe: ()=>Ze,
76
+ __wbg_log_62fc5f7c674bfa10: ()=>Qe,
77
+ __wbg_log_cb9e190acc5753fb: ()=>$e,
78
+ __wbg_lorocounter_new: ()=>et,
79
+ __wbg_lorolist_new: ()=>tt,
80
+ __wbg_loromap_new: ()=>nt,
81
+ __wbg_loromovablelist_new: ()=>rt,
82
+ __wbg_lorotext_new: ()=>it,
83
+ __wbg_lorotree_new: ()=>at,
84
+ __wbg_lorotreenode_new: ()=>ot,
85
+ __wbg_mark_7438147ce31e9d4b: ()=>st,
86
+ __wbg_measure_fb7825c11612c823: ()=>ct,
87
+ __wbg_msCrypto_a61aeb35a24c1329: ()=>lt,
88
+ __wbg_new_405e22f390576ce2: ()=>ut,
89
+ __wbg_new_5e0be73521bc8c17: ()=>dt,
90
+ __wbg_new_78feb108b6472713: ()=>ft,
91
+ __wbg_new_8a6f238a6ece86ea: ()=>pt,
92
+ __wbg_new_a12002a7f91c75be: ()=>mt,
93
+ __wbg_newnoargs_105ed471475aaf50: ()=>ht,
94
+ __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a: ()=>gt,
95
+ __wbg_newwithlength_a381634e90c276d4: ()=>_t,
96
+ __wbg_newwithlength_c4c419ef0bc8a1f8: ()=>vt,
97
+ __wbg_next_25feadfc0913fea9: ()=>yt,
98
+ __wbg_next_6574e1a8a62d1055: ()=>bt,
99
+ __wbg_node_905d3e251edff8a2: ()=>xt,
100
+ __wbg_now_6727e3e536e11536: ()=>St,
101
+ __wbg_ownKeys_3930041068756f1f: ()=>Ct,
102
+ __wbg_process_dc0fbacc7c1c06f7: ()=>wt,
103
+ __wbg_push_737cfc8c1432c2c6: ()=>Tt,
104
+ __wbg_randomFillSync_ac0988aba3254290: ()=>Et,
105
+ __wbg_require_60cc747a6bc5215a: ()=>Dt,
106
+ __wbg_resolve_4851785c9c5f573d: ()=>Ot,
107
+ __wbg_set_37837023f3d740e8: ()=>kt,
108
+ __wbg_set_3f1d0b984ed272ed: ()=>At,
109
+ __wbg_set_65595bdd868b3009: ()=>jt,
110
+ __wbg_set_8fc6bf8a5b1071d1: ()=>Mt,
111
+ __wbg_set_bb8cecf6a62b9f46: ()=>Nt,
112
+ __wbg_set_wasm: ()=>a,
113
+ __wbg_setindex_dcd71eabf405bde1: ()=>Pt,
114
+ __wbg_stack_0ed75d68575b0f3c: ()=>Ft,
115
+ __wbg_static_accessor_GLOBAL_88a902d13a557d07: ()=>It,
116
+ __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0: ()=>Lt,
117
+ __wbg_static_accessor_SELF_37c5d418e4bf5819: ()=>Rt,
118
+ __wbg_static_accessor_WINDOW_5de37043a91a9c40: ()=>zt,
119
+ __wbg_subarray_aa9065fa9dc5df96: ()=>Bt,
120
+ __wbg_then_44b73946d2fb3e7d: ()=>Vt,
121
+ __wbg_value_cd1ffa7b1ab794f1: ()=>Ht,
122
+ __wbg_versions_c01dfd4722a88165: ()=>Ut,
123
+ __wbg_versionvector_new: ()=>Wt,
124
+ __wbg_warn_5cdab1103c5473b2: ()=>Gt,
125
+ __wbindgen_as_number: ()=>Kt,
126
+ __wbindgen_bigint_from_i64: ()=>qt,
127
+ __wbindgen_bigint_from_u64: ()=>Jt,
128
+ __wbindgen_bigint_get_as_i64: ()=>Yt,
129
+ __wbindgen_boolean_get: ()=>Xt,
130
+ __wbindgen_cb_drop: ()=>Zt,
131
+ __wbindgen_closure_wrapper746: ()=>Qt,
132
+ __wbindgen_closure_wrapper748: ()=>$t,
133
+ __wbindgen_debug_string: ()=>en,
134
+ __wbindgen_error_new: ()=>tn,
135
+ __wbindgen_in: ()=>nn,
136
+ __wbindgen_is_array: ()=>rn,
137
+ __wbindgen_is_bigint: ()=>an,
138
+ __wbindgen_is_falsy: ()=>on,
139
+ __wbindgen_is_function: ()=>sn,
140
+ __wbindgen_is_null: ()=>cn,
141
+ __wbindgen_is_object: ()=>ln,
142
+ __wbindgen_is_string: ()=>un,
143
+ __wbindgen_is_undefined: ()=>dn,
144
+ __wbindgen_jsval_eq: ()=>fn,
145
+ __wbindgen_jsval_loose_eq: ()=>pn,
146
+ __wbindgen_memory: ()=>mn,
147
+ __wbindgen_number_get: ()=>hn,
148
+ __wbindgen_number_new: ()=>gn,
149
+ __wbindgen_object_clone_ref: ()=>_n,
150
+ __wbindgen_object_drop_ref: ()=>vn,
151
+ __wbindgen_rethrow: ()=>yn,
152
+ __wbindgen_string_get: ()=>bn,
153
+ __wbindgen_string_new: ()=>xn,
154
+ __wbindgen_throw: ()=>Sn,
155
+ __wbindgen_typeof: ()=>Cn,
156
+ callPendingEvents: ()=>M,
157
+ decodeFrontiers: ()=>re,
158
+ decodeImportBlobMeta: ()=>ae,
159
+ encodeFrontiers: ()=>ie,
160
+ redactJsonUpdates: ()=>ne,
161
+ run: ()=>se,
162
+ setDebug: ()=>ce
163
+ });
164
+ a = function(e) {
165
+ i = e;
166
+ };
167
+ var o = Array(128).fill(void 0);
168
+ o.push(void 0, null, !0, !1);
169
+ function s(e) {
170
+ return o[e];
171
+ }
172
+ var c = 0, l = null;
173
+ function u() {
174
+ return (l === null || l.byteLength === 0) && (l = new Uint8Array(i.memory.buffer)), l;
175
+ }
176
+ var d = new (typeof TextEncoder > `u` ? (0, module.require)(`util`).TextEncoder : TextEncoder)(`utf-8`), f = typeof d.encodeInto == `function` ? function(e, t) {
177
+ return d.encodeInto(e, t);
178
+ } : function(e, t) {
179
+ let n = d.encode(e);
180
+ return t.set(n), {
181
+ read: e.length,
182
+ written: n.length
183
+ };
184
+ };
185
+ function p(e, t, n) {
186
+ if (n === void 0) {
187
+ let n = d.encode(e), r = t(n.length, 1) >>> 0;
188
+ return u().subarray(r, r + n.length).set(n), c = n.length, r;
189
+ }
190
+ let r = e.length, i = t(r, 1) >>> 0, a = u(), o = 0;
191
+ for(; o < r; o++){
192
+ let t = e.charCodeAt(o);
193
+ if (t > 127) break;
194
+ a[i + o] = t;
195
+ }
196
+ if (o !== r) {
197
+ o !== 0 && (e = e.slice(o)), i = n(i, r, r = o + e.length * 3, 1) >>> 0;
198
+ let t = u().subarray(i + o, i + r), a = f(e, t);
199
+ o += a.written, i = n(i, r, o, 1) >>> 0;
200
+ }
201
+ return c = o, i;
202
+ }
203
+ var m = null;
204
+ function h() {
205
+ return (m === null || m.buffer.detached === !0 || m.buffer.detached === void 0 && m.buffer !== i.memory.buffer) && (m = new DataView(i.memory.buffer)), m;
206
+ }
207
+ var g = o.length;
208
+ function _(e) {
209
+ g === o.length && o.push(o.length + 1);
210
+ let t = g;
211
+ return g = o[t], o[t] = e, t;
212
+ }
213
+ function v(e, t) {
214
+ try {
215
+ return e.apply(this, t);
216
+ } catch (e) {
217
+ i.__wbindgen_exn_store(_(e));
218
+ }
219
+ }
220
+ var ee = new (typeof TextDecoder > `u` ? (0, module.require)(`util`).TextDecoder : TextDecoder)(`utf-8`, {
221
+ ignoreBOM: !0,
222
+ fatal: !0
223
+ });
224
+ ee.decode();
225
+ function y(e, t) {
226
+ return e >>>= 0, ee.decode(u().subarray(e, e + t));
227
+ }
228
+ function te(e) {
229
+ e < 132 || (o[e] = g, g = e);
230
+ }
231
+ function b(e) {
232
+ let t = s(e);
233
+ return te(e), t;
234
+ }
235
+ function x(e) {
236
+ return e == null;
237
+ }
238
+ var S = typeof FinalizationRegistry > `u` ? {
239
+ register: ()=>{},
240
+ unregister: ()=>{}
241
+ } : new FinalizationRegistry((e)=>{
242
+ i.__wbindgen_export_4.get(e.dtor)(e.a, e.b);
243
+ });
244
+ function C(e, t, n, r) {
245
+ let a = {
246
+ a: e,
247
+ b: t,
248
+ cnt: 1,
249
+ dtor: n
250
+ }, o = (...e)=>{
251
+ a.cnt++;
252
+ let t = a.a;
253
+ a.a = 0;
254
+ try {
255
+ return r(t, a.b, ...e);
256
+ } finally{
257
+ --a.cnt === 0 ? (i.__wbindgen_export_4.get(a.dtor)(t, a.b), S.unregister(a)) : a.a = t;
258
+ }
259
+ };
260
+ return o.original = a, S.register(o, a, a), o;
261
+ }
262
+ function w(e) {
263
+ let t = typeof e;
264
+ if (t == `number` || t == `boolean` || e == null) return `${e}`;
265
+ if (t == `string`) return `"${e}"`;
266
+ if (t == `symbol`) {
267
+ let t = e.description;
268
+ return t == null ? `Symbol` : `Symbol(${t})`;
269
+ }
270
+ if (t == `function`) {
271
+ let t = e.name;
272
+ return typeof t == `string` && t.length > 0 ? `Function(${t})` : `Function`;
273
+ }
274
+ if (Array.isArray(e)) {
275
+ let t = e.length, n = `[`;
276
+ t > 0 && (n += w(e[0]));
277
+ for(let r = 1; r < t; r++)n += `, ` + w(e[r]);
278
+ return n += `]`, n;
279
+ }
280
+ let n = /\[object ([^\]]+)\]/.exec(toString.call(e)), r;
281
+ if (n && n.length > 1) r = n[1];
282
+ else return toString.call(e);
283
+ if (r == `Object`) try {
284
+ return `Object(` + JSON.stringify(e) + `)`;
285
+ } catch {
286
+ return `Object`;
287
+ }
288
+ return e instanceof Error ? `${e.name}: ${e.message}\n${e.stack}` : r;
289
+ }
290
+ function T(e, t) {
291
+ if (!(e instanceof t)) throw Error(`expected instance of ${t.name}`);
292
+ }
293
+ var E = 128;
294
+ function D(e) {
295
+ if (E == 1) throw Error(`out of js stack`);
296
+ return o[--E] = e, E;
297
+ }
298
+ function O(e, t) {
299
+ let n = t(e.length * 1, 1) >>> 0;
300
+ return u().set(e, n / 1), c = e.length, n;
301
+ }
302
+ function k(e, t) {
303
+ return e >>>= 0, u().subarray(e / 1, e / 1 + t);
304
+ }
305
+ function A(e, t) {
306
+ e >>>= 0;
307
+ let n = h(), r = [];
308
+ for(let i = e; i < e + 4 * t; i += 4)r.push(b(n.getUint32(i, !0)));
309
+ return r;
310
+ }
311
+ function ne(e, t) {
312
+ try {
313
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
314
+ i.redactJsonUpdates(a, _(e), _(t));
315
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
316
+ if (h().getInt32(a + 8, !0)) throw b(r);
317
+ return b(n);
318
+ } finally{
319
+ i.__wbindgen_add_to_stack_pointer(16);
320
+ }
321
+ }
322
+ function re(e) {
323
+ try {
324
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = O(e, i.__wbindgen_malloc), o = c;
325
+ i.decodeFrontiers(r, a, o);
326
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
327
+ if (h().getInt32(r + 8, !0)) throw b(n);
328
+ return b(t);
329
+ } finally{
330
+ i.__wbindgen_add_to_stack_pointer(16);
331
+ }
332
+ }
333
+ function j(e, t) {
334
+ let n = t(e.length * 4, 4) >>> 0, r = h();
335
+ for(let t = 0; t < e.length; t++)r.setUint32(n + 4 * t, _(e[t]), !0);
336
+ return c = e.length, n;
337
+ }
338
+ function ie(e) {
339
+ try {
340
+ let o = i.__wbindgen_add_to_stack_pointer(-16), s = j(e, i.__wbindgen_malloc), l = c;
341
+ i.encodeFrontiers(o, s, l);
342
+ var t = h().getInt32(o + 0, !0), n = h().getInt32(o + 4, !0), r = h().getInt32(o + 8, !0);
343
+ if (h().getInt32(o + 12, !0)) throw b(r);
344
+ var a = k(t, n).slice();
345
+ return i.__wbindgen_free(t, n * 1, 1), a;
346
+ } finally{
347
+ i.__wbindgen_add_to_stack_pointer(16);
348
+ }
349
+ }
350
+ function ae(e, t) {
351
+ try {
352
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = O(e, i.__wbindgen_malloc), s = c;
353
+ i.decodeImportBlobMeta(a, o, s, t);
354
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
355
+ if (h().getInt32(a + 8, !0)) throw b(r);
356
+ return b(n);
357
+ } finally{
358
+ i.__wbindgen_add_to_stack_pointer(16);
359
+ }
360
+ }
361
+ function oe() {
362
+ let e, t;
363
+ try {
364
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
365
+ i.LORO_VERSION(a);
366
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
367
+ return e = n, t = r, y(n, r);
368
+ } finally{
369
+ i.__wbindgen_add_to_stack_pointer(16), i.__wbindgen_free(e, t, 1);
370
+ }
371
+ }
372
+ function se() {
373
+ i.run();
374
+ }
375
+ M = function() {
376
+ i.callPendingEvents();
377
+ };
378
+ function ce() {
379
+ i.setDebug();
380
+ }
381
+ function le(e, t, n) {
382
+ i._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h23bd7b34cf0bced7(e, t, _(n));
383
+ }
384
+ function ue(e, t) {
385
+ i._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd82b624f21a7fa96(e, t);
386
+ }
387
+ let de, fe, pe, me, he, N, P, I, L, R, B, H, W, K, J, ge, X, _e, Z, Q;
388
+ de = typeof FinalizationRegistry > `u` ? {
389
+ register: ()=>{},
390
+ unregister: ()=>{}
391
+ } : new FinalizationRegistry((e)=>i.__wbg_awarenesswasm_free(e >>> 0, 1));
392
+ fe = class {
393
+ __destroy_into_raw() {
394
+ let e = this.__wbg_ptr;
395
+ return this.__wbg_ptr = 0, de.unregister(this), e;
396
+ }
397
+ free() {
398
+ let e = this.__destroy_into_raw();
399
+ i.__wbg_awarenesswasm_free(e, 0);
400
+ }
401
+ getAllStates() {
402
+ try {
403
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
404
+ i.awarenesswasm_getAllStates(n, this.__wbg_ptr);
405
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
406
+ if (h().getInt32(n + 8, !0)) throw b(t);
407
+ return b(e);
408
+ } finally{
409
+ i.__wbindgen_add_to_stack_pointer(16);
410
+ }
411
+ }
412
+ getTimestamp(e) {
413
+ try {
414
+ let a = i.__wbindgen_add_to_stack_pointer(-32);
415
+ i.awarenesswasm_getTimestamp(a, this.__wbg_ptr, _(e));
416
+ var t = h().getInt32(a + 0, !0), n = h().getFloat64(a + 8, !0), r = h().getInt32(a + 16, !0);
417
+ if (h().getInt32(a + 20, !0)) throw b(r);
418
+ return t === 0 ? void 0 : n;
419
+ } finally{
420
+ i.__wbindgen_add_to_stack_pointer(32);
421
+ }
422
+ }
423
+ setLocalState(e) {
424
+ i.awarenesswasm_setLocalState(this.__wbg_ptr, _(e));
425
+ }
426
+ removeOutdated() {
427
+ try {
428
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
429
+ i.awarenesswasm_removeOutdated(r, this.__wbg_ptr);
430
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
431
+ return i.__wbindgen_free(e, t * 4, 4), n;
432
+ } finally{
433
+ i.__wbindgen_add_to_stack_pointer(16);
434
+ }
435
+ }
436
+ constructor(e, t){
437
+ try {
438
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
439
+ i.awarenesswasm_new(a, _(e), t);
440
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
441
+ if (h().getInt32(a + 8, !0)) throw b(r);
442
+ return this.__wbg_ptr = n >>> 0, de.register(this, this.__wbg_ptr, this), this;
443
+ } finally{
444
+ i.__wbindgen_add_to_stack_pointer(16);
445
+ }
446
+ }
447
+ peer() {
448
+ return b(i.awarenesswasm_peer(this.__wbg_ptr));
449
+ }
450
+ apply(e) {
451
+ try {
452
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = O(e, i.__wbindgen_malloc), o = c;
453
+ i.awarenesswasm_apply(r, this.__wbg_ptr, a, o);
454
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
455
+ if (h().getInt32(r + 8, !0)) throw b(n);
456
+ return b(t);
457
+ } finally{
458
+ i.__wbindgen_add_to_stack_pointer(16);
459
+ }
460
+ }
461
+ peers() {
462
+ try {
463
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
464
+ i.awarenesswasm_peers(r, this.__wbg_ptr);
465
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
466
+ return i.__wbindgen_free(e, t * 4, 4), n;
467
+ } finally{
468
+ i.__wbindgen_add_to_stack_pointer(16);
469
+ }
470
+ }
471
+ encode(e) {
472
+ try {
473
+ let o = i.__wbindgen_add_to_stack_pointer(-16);
474
+ i.awarenesswasm_encode(o, this.__wbg_ptr, _(e));
475
+ var t = h().getInt32(o + 0, !0), n = h().getInt32(o + 4, !0), r = h().getInt32(o + 8, !0);
476
+ if (h().getInt32(o + 12, !0)) throw b(r);
477
+ var a = k(t, n).slice();
478
+ return i.__wbindgen_free(t, n * 1, 1), a;
479
+ } finally{
480
+ i.__wbindgen_add_to_stack_pointer(16);
481
+ }
482
+ }
483
+ length() {
484
+ return i.awarenesswasm_length(this.__wbg_ptr);
485
+ }
486
+ isEmpty() {
487
+ return i.awarenesswasm_isEmpty(this.__wbg_ptr) !== 0;
488
+ }
489
+ getState(e) {
490
+ try {
491
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
492
+ i.awarenesswasm_getState(r, this.__wbg_ptr, _(e));
493
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
494
+ if (h().getInt32(r + 8, !0)) throw b(n);
495
+ return b(t);
496
+ } finally{
497
+ i.__wbindgen_add_to_stack_pointer(16);
498
+ }
499
+ }
500
+ encodeAll() {
501
+ try {
502
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
503
+ i.awarenesswasm_encodeAll(r, this.__wbg_ptr);
504
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = k(e, t).slice();
505
+ return i.__wbindgen_free(e, t * 1, 1), n;
506
+ } finally{
507
+ i.__wbindgen_add_to_stack_pointer(16);
508
+ }
509
+ }
510
+ };
511
+ pe = typeof FinalizationRegistry > `u` ? {
512
+ register: ()=>{},
513
+ unregister: ()=>{}
514
+ } : new FinalizationRegistry((e)=>i.__wbg_changemodifier_free(e >>> 0, 1));
515
+ me = class e {
516
+ static __wrap(t) {
517
+ t >>>= 0;
518
+ let n = Object.create(e.prototype);
519
+ return n.__wbg_ptr = t, pe.register(n, n.__wbg_ptr, n), n;
520
+ }
521
+ __destroy_into_raw() {
522
+ let e = this.__wbg_ptr;
523
+ return this.__wbg_ptr = 0, pe.unregister(this), e;
524
+ }
525
+ free() {
526
+ let e = this.__destroy_into_raw();
527
+ i.__wbg_changemodifier_free(e, 0);
528
+ }
529
+ setMessage(t) {
530
+ let n = p(t, i.__wbindgen_malloc, i.__wbindgen_realloc), r = c, a = i.changemodifier_setMessage(this.__wbg_ptr, n, r);
531
+ return e.__wrap(a);
532
+ }
533
+ setTimestamp(t) {
534
+ let n = i.changemodifier_setTimestamp(this.__wbg_ptr, t);
535
+ return e.__wrap(n);
536
+ }
537
+ };
538
+ he = typeof FinalizationRegistry > `u` ? {
539
+ register: ()=>{},
540
+ unregister: ()=>{}
541
+ } : new FinalizationRegistry((e)=>i.__wbg_cursor_free(e >>> 0, 1));
542
+ N = class e {
543
+ static __wrap(t) {
544
+ t >>>= 0;
545
+ let n = Object.create(e.prototype);
546
+ return n.__wbg_ptr = t, he.register(n, n.__wbg_ptr, n), n;
547
+ }
548
+ __destroy_into_raw() {
549
+ let e = this.__wbg_ptr;
550
+ return this.__wbg_ptr = 0, he.unregister(this), e;
551
+ }
552
+ free() {
553
+ let e = this.__destroy_into_raw();
554
+ i.__wbg_cursor_free(e, 0);
555
+ }
556
+ containerId() {
557
+ return b(i.cursor_containerId(this.__wbg_ptr));
558
+ }
559
+ pos() {
560
+ try {
561
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
562
+ i.cursor_pos(n, this.__wbg_ptr);
563
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
564
+ if (h().getInt32(n + 8, !0)) throw b(t);
565
+ return b(e);
566
+ } finally{
567
+ i.__wbindgen_add_to_stack_pointer(16);
568
+ }
569
+ }
570
+ kind() {
571
+ return b(i.cursor_kind(this.__wbg_ptr));
572
+ }
573
+ side() {
574
+ return b(i.cursor_side(this.__wbg_ptr));
575
+ }
576
+ static decode(t) {
577
+ try {
578
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = O(t, i.__wbindgen_malloc), s = c;
579
+ i.cursor_decode(a, o, s);
580
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
581
+ if (h().getInt32(a + 8, !0)) throw b(r);
582
+ return e.__wrap(n);
583
+ } finally{
584
+ i.__wbindgen_add_to_stack_pointer(16);
585
+ }
586
+ }
587
+ encode() {
588
+ try {
589
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
590
+ i.cursor_encode(r, this.__wbg_ptr);
591
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = k(e, t).slice();
592
+ return i.__wbindgen_free(e, t * 1, 1), n;
593
+ } finally{
594
+ i.__wbindgen_add_to_stack_pointer(16);
595
+ }
596
+ }
597
+ };
598
+ P = typeof FinalizationRegistry > `u` ? {
599
+ register: ()=>{},
600
+ unregister: ()=>{}
601
+ } : new FinalizationRegistry((e)=>i.__wbg_ephemeralstorewasm_free(e >>> 0, 1));
602
+ F = class {
603
+ __destroy_into_raw() {
604
+ let e = this.__wbg_ptr;
605
+ return this.__wbg_ptr = 0, P.unregister(this), e;
606
+ }
607
+ free() {
608
+ let e = this.__destroy_into_raw();
609
+ i.__wbg_ephemeralstorewasm_free(e, 0);
610
+ }
611
+ getAllStates() {
612
+ try {
613
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
614
+ i.ephemeralstorewasm_getAllStates(n, this.__wbg_ptr);
615
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
616
+ if (h().getInt32(n + 8, !0)) throw b(t);
617
+ return b(e);
618
+ } finally{
619
+ i.__wbindgen_add_to_stack_pointer(16);
620
+ }
621
+ }
622
+ removeOutdated() {
623
+ i.ephemeralstorewasm_removeOutdated(this.__wbg_ptr);
624
+ }
625
+ subscribeLocalUpdates(e) {
626
+ return b(i.ephemeralstorewasm_subscribeLocalUpdates(this.__wbg_ptr, _(e)));
627
+ }
628
+ get(e) {
629
+ let t = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), n = c;
630
+ return b(i.ephemeralstorewasm_get(this.__wbg_ptr, t, n));
631
+ }
632
+ constructor(e){
633
+ let t = i.ephemeralstorewasm_new(e);
634
+ return this.__wbg_ptr = t >>> 0, P.register(this, this.__wbg_ptr, this), this;
635
+ }
636
+ set(e, t) {
637
+ let n = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), r = c;
638
+ i.ephemeralstorewasm_set(this.__wbg_ptr, n, r, _(t));
639
+ }
640
+ keys() {
641
+ try {
642
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
643
+ i.ephemeralstorewasm_keys(r, this.__wbg_ptr);
644
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
645
+ return i.__wbindgen_free(e, t * 4, 4), n;
646
+ } finally{
647
+ i.__wbindgen_add_to_stack_pointer(16);
648
+ }
649
+ }
650
+ apply(e) {
651
+ try {
652
+ let n = i.__wbindgen_add_to_stack_pointer(-16), r = O(e, i.__wbindgen_malloc), a = c;
653
+ i.ephemeralstorewasm_apply(n, this.__wbg_ptr, r, a);
654
+ var t = h().getInt32(n + 0, !0);
655
+ if (h().getInt32(n + 4, !0)) throw b(t);
656
+ } finally{
657
+ i.__wbindgen_add_to_stack_pointer(16);
658
+ }
659
+ }
660
+ delete(e) {
661
+ let t = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), n = c;
662
+ i.ephemeralstorewasm_delete(this.__wbg_ptr, t, n);
663
+ }
664
+ encode(e) {
665
+ try {
666
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), s = c;
667
+ i.ephemeralstorewasm_encode(a, this.__wbg_ptr, o, s);
668
+ var t = h().getInt32(a + 0, !0), n = h().getInt32(a + 4, !0), r = k(t, n).slice();
669
+ return i.__wbindgen_free(t, n * 1, 1), r;
670
+ } finally{
671
+ i.__wbindgen_add_to_stack_pointer(16);
672
+ }
673
+ }
674
+ isEmpty() {
675
+ return i.ephemeralstorewasm_isEmpty(this.__wbg_ptr) !== 0;
676
+ }
677
+ encodeAll() {
678
+ try {
679
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
680
+ i.ephemeralstorewasm_encodeAll(r, this.__wbg_ptr);
681
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = k(e, t).slice();
682
+ return i.__wbindgen_free(e, t * 1, 1), n;
683
+ } finally{
684
+ i.__wbindgen_add_to_stack_pointer(16);
685
+ }
686
+ }
687
+ subscribe(e) {
688
+ return b(i.ephemeralstorewasm_subscribe(this.__wbg_ptr, _(e)));
689
+ }
690
+ };
691
+ I = typeof FinalizationRegistry > `u` ? {
692
+ register: ()=>{},
693
+ unregister: ()=>{}
694
+ } : new FinalizationRegistry((e)=>i.__wbg_lorocounter_free(e >>> 0, 1));
695
+ L = class e {
696
+ static __wrap(t) {
697
+ t >>>= 0;
698
+ let n = Object.create(e.prototype);
699
+ return n.__wbg_ptr = t, I.register(n, n.__wbg_ptr, n), n;
700
+ }
701
+ __destroy_into_raw() {
702
+ let e = this.__wbg_ptr;
703
+ return this.__wbg_ptr = 0, I.unregister(this), e;
704
+ }
705
+ free() {
706
+ let e = this.__destroy_into_raw();
707
+ i.__wbg_lorocounter_free(e, 0);
708
+ }
709
+ isAttached() {
710
+ return i.lorocounter_isAttached(this.__wbg_ptr) !== 0;
711
+ }
712
+ getAttached() {
713
+ return b(i.lorocounter_getAttached(this.__wbg_ptr));
714
+ }
715
+ getShallowValue() {
716
+ try {
717
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
718
+ i.lorocounter_getShallowValue(n, this.__wbg_ptr);
719
+ var e = h().getFloat64(n + 0, !0), t = h().getInt32(n + 8, !0);
720
+ if (h().getInt32(n + 12, !0)) throw b(t);
721
+ return e;
722
+ } finally{
723
+ i.__wbindgen_add_to_stack_pointer(16);
724
+ }
725
+ }
726
+ get id() {
727
+ return b(i.lorocounter_id(this.__wbg_ptr));
728
+ }
729
+ constructor(){
730
+ let e = i.lorocounter_new();
731
+ return this.__wbg_ptr = e >>> 0, I.register(this, this.__wbg_ptr, this), this;
732
+ }
733
+ kind() {
734
+ return b(i.lorocounter_kind(this.__wbg_ptr));
735
+ }
736
+ parent() {
737
+ return b(i.lorocounter_parent(this.__wbg_ptr));
738
+ }
739
+ toJSON() {
740
+ try {
741
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
742
+ i.lorocounter_getShallowValue(n, this.__wbg_ptr);
743
+ var e = h().getFloat64(n + 0, !0), t = h().getInt32(n + 8, !0);
744
+ if (h().getInt32(n + 12, !0)) throw b(t);
745
+ return e;
746
+ } finally{
747
+ i.__wbindgen_add_to_stack_pointer(16);
748
+ }
749
+ }
750
+ decrement(e) {
751
+ try {
752
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
753
+ i.lorocounter_decrement(n, this.__wbg_ptr, e);
754
+ var t = h().getInt32(n + 0, !0);
755
+ if (h().getInt32(n + 4, !0)) throw b(t);
756
+ } finally{
757
+ i.__wbindgen_add_to_stack_pointer(16);
758
+ }
759
+ }
760
+ get value() {
761
+ try {
762
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
763
+ i.lorocounter_getShallowValue(n, this.__wbg_ptr);
764
+ var e = h().getFloat64(n + 0, !0), t = h().getInt32(n + 8, !0);
765
+ if (h().getInt32(n + 12, !0)) throw b(t);
766
+ return e;
767
+ } finally{
768
+ i.__wbindgen_add_to_stack_pointer(16);
769
+ }
770
+ }
771
+ increment(e) {
772
+ try {
773
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
774
+ i.lorocounter_increment(n, this.__wbg_ptr, e);
775
+ var t = h().getInt32(n + 0, !0);
776
+ if (h().getInt32(n + 4, !0)) throw b(t);
777
+ } finally{
778
+ i.__wbindgen_add_to_stack_pointer(16);
779
+ }
780
+ }
781
+ subscribe(e) {
782
+ try {
783
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
784
+ i.lorocounter_subscribe(r, this.__wbg_ptr, _(e));
785
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
786
+ if (h().getInt32(r + 8, !0)) throw b(n);
787
+ return b(t);
788
+ } finally{
789
+ i.__wbindgen_add_to_stack_pointer(16);
790
+ }
791
+ }
792
+ };
793
+ R = typeof FinalizationRegistry > `u` ? {
794
+ register: ()=>{},
795
+ unregister: ()=>{}
796
+ } : new FinalizationRegistry((e)=>i.__wbg_lorodoc_free(e >>> 0, 1));
797
+ z = class e {
798
+ static __wrap(t) {
799
+ t >>>= 0;
800
+ let n = Object.create(e.prototype);
801
+ return n.__wbg_ptr = t, R.register(n, n.__wbg_ptr, n), n;
802
+ }
803
+ __destroy_into_raw() {
804
+ let e = this.__wbg_ptr;
805
+ return this.__wbg_ptr = 0, R.unregister(this), e;
806
+ }
807
+ free() {
808
+ let e = this.__destroy_into_raw();
809
+ i.__wbg_lorodoc_free(e, 0);
810
+ }
811
+ applyDiff(e) {
812
+ try {
813
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
814
+ i.lorodoc_applyDiff(n, this.__wbg_ptr, _(e));
815
+ var t = h().getInt32(n + 0, !0);
816
+ if (h().getInt32(n + 4, !0)) throw b(t);
817
+ } finally{
818
+ i.__wbindgen_add_to_stack_pointer(16);
819
+ }
820
+ }
821
+ isShallow() {
822
+ return i.lorodoc_isShallow(this.__wbg_ptr) !== 0;
823
+ }
824
+ changeCount() {
825
+ return i.lorodoc_changeCount(this.__wbg_ptr) >>> 0;
826
+ }
827
+ getByPath(e) {
828
+ let t = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), n = c;
829
+ return b(i.lorodoc_getByPath(this.__wbg_ptr, t, n));
830
+ }
831
+ getCounter(e) {
832
+ try {
833
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
834
+ i.lorodoc_getCounter(r, this.__wbg_ptr, D(e));
835
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
836
+ if (h().getInt32(r + 8, !0)) throw b(n);
837
+ return L.__wrap(t);
838
+ } finally{
839
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
840
+ }
841
+ }
842
+ isDetached() {
843
+ return i.lorodoc_isDetached(this.__wbg_ptr) !== 0;
844
+ }
845
+ get peerIdStr() {
846
+ return b(i.lorodoc_peerIdStr(this.__wbg_ptr));
847
+ }
848
+ setPeerId(e) {
849
+ try {
850
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
851
+ i.lorodoc_setPeerId(n, this.__wbg_ptr, _(e));
852
+ var t = h().getInt32(n + 0, !0);
853
+ if (h().getInt32(n + 4, !0)) throw b(t);
854
+ } finally{
855
+ i.__wbindgen_add_to_stack_pointer(16);
856
+ }
857
+ }
858
+ getCursorPos(e) {
859
+ try {
860
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
861
+ T(e, N), i.lorodoc_getCursorPos(r, this.__wbg_ptr, e.__wbg_ptr);
862
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
863
+ if (h().getInt32(r + 8, !0)) throw b(n);
864
+ return b(t);
865
+ } finally{
866
+ i.__wbindgen_add_to_stack_pointer(16);
867
+ }
868
+ }
869
+ hasContainer(e) {
870
+ return i.lorodoc_hasContainer(this.__wbg_ptr, _(e)) !== 0;
871
+ }
872
+ importBatch(e) {
873
+ try {
874
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
875
+ i.lorodoc_importBatch(r, this.__wbg_ptr, _(e));
876
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
877
+ if (h().getInt32(r + 8, !0)) throw b(n);
878
+ return b(t);
879
+ } finally{
880
+ i.__wbindgen_add_to_stack_pointer(16);
881
+ }
882
+ }
883
+ cmpFrontiers(e, t) {
884
+ try {
885
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = j(e, i.__wbindgen_malloc), s = c, l = j(t, i.__wbindgen_malloc), u = c;
886
+ i.lorodoc_cmpFrontiers(a, this.__wbg_ptr, o, s, l, u);
887
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
888
+ if (h().getInt32(a + 8, !0)) throw b(r);
889
+ return b(n);
890
+ } finally{
891
+ i.__wbindgen_add_to_stack_pointer(16);
892
+ }
893
+ }
894
+ debugHistory() {
895
+ i.lorodoc_debugHistory(this.__wbg_ptr);
896
+ }
897
+ static fromSnapshot(t) {
898
+ try {
899
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = O(t, i.__wbindgen_malloc), s = c;
900
+ i.lorodoc_fromSnapshot(a, o, s);
901
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
902
+ if (h().getInt32(a + 8, !0)) throw b(r);
903
+ return e.__wrap(n);
904
+ } finally{
905
+ i.__wbindgen_add_to_stack_pointer(16);
906
+ }
907
+ }
908
+ getChangeAt(e) {
909
+ try {
910
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
911
+ i.lorodoc_getChangeAt(r, this.__wbg_ptr, _(e));
912
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
913
+ if (h().getInt32(r + 8, !0)) throw b(n);
914
+ return b(t);
915
+ } finally{
916
+ i.__wbindgen_add_to_stack_pointer(16);
917
+ }
918
+ }
919
+ oplogVersion() {
920
+ let e = i.lorodoc_oplogVersion(this.__wbg_ptr);
921
+ return Q.__wrap(e);
922
+ }
923
+ getMovableList(e) {
924
+ try {
925
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
926
+ i.lorodoc_getMovableList(r, this.__wbg_ptr, D(e));
927
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
928
+ if (h().getInt32(r + 8, !0)) throw b(n);
929
+ return G.__wrap(t);
930
+ } finally{
931
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
932
+ }
933
+ }
934
+ frontiersToVV(e) {
935
+ try {
936
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = j(e, i.__wbindgen_malloc), o = c;
937
+ i.lorodoc_frontiersToVV(r, this.__wbg_ptr, a, o);
938
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
939
+ if (h().getInt32(r + 8, !0)) throw b(n);
940
+ return Q.__wrap(t);
941
+ } finally{
942
+ i.__wbindgen_add_to_stack_pointer(16);
943
+ }
944
+ }
945
+ getAllChanges() {
946
+ return b(i.lorodoc_getAllChanges(this.__wbg_ptr));
947
+ }
948
+ oplogFrontiers() {
949
+ try {
950
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
951
+ i.lorodoc_oplogFrontiers(n, this.__wbg_ptr);
952
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
953
+ if (h().getInt32(n + 8, !0)) throw b(t);
954
+ return b(e);
955
+ } finally{
956
+ i.__wbindgen_add_to_stack_pointer(16);
957
+ }
958
+ }
959
+ vvToFrontiers(e) {
960
+ try {
961
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
962
+ T(e, Q), i.lorodoc_vvToFrontiers(r, this.__wbg_ptr, e.__wbg_ptr);
963
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
964
+ if (h().getInt32(r + 8, !0)) throw b(n);
965
+ return b(t);
966
+ } finally{
967
+ i.__wbindgen_add_to_stack_pointer(16);
968
+ }
969
+ }
970
+ shallowSinceVV() {
971
+ let e = i.lorodoc_shallowSinceVV(this.__wbg_ptr);
972
+ return Q.__wrap(e);
973
+ }
974
+ configTextStyle(e) {
975
+ try {
976
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
977
+ i.lorodoc_configTextStyle(n, this.__wbg_ptr, _(e));
978
+ var t = h().getInt32(n + 0, !0);
979
+ if (h().getInt32(n + 4, !0)) throw b(t);
980
+ } finally{
981
+ i.__wbindgen_add_to_stack_pointer(16);
982
+ }
983
+ }
984
+ getOpsInChange(e) {
985
+ try {
986
+ let o = i.__wbindgen_add_to_stack_pointer(-16);
987
+ i.lorodoc_getOpsInChange(o, this.__wbg_ptr, _(e));
988
+ var t = h().getInt32(o + 0, !0), n = h().getInt32(o + 4, !0), r = h().getInt32(o + 8, !0);
989
+ if (h().getInt32(o + 12, !0)) throw b(r);
990
+ var a = A(t, n).slice();
991
+ return i.__wbindgen_free(t, n * 4, 4), a;
992
+ } finally{
993
+ i.__wbindgen_add_to_stack_pointer(16);
994
+ }
995
+ }
996
+ getShallowValue() {
997
+ try {
998
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
999
+ i.lorodoc_getShallowValue(n, this.__wbg_ptr);
1000
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
1001
+ if (h().getInt32(n + 8, !0)) throw b(t);
1002
+ return b(e);
1003
+ } finally{
1004
+ i.__wbindgen_add_to_stack_pointer(16);
1005
+ }
1006
+ }
1007
+ checkoutToLatest() {
1008
+ try {
1009
+ let t = i.__wbindgen_add_to_stack_pointer(-16);
1010
+ i.lorodoc_checkoutToLatest(t, this.__wbg_ptr);
1011
+ var e = h().getInt32(t + 0, !0);
1012
+ if (h().getInt32(t + 4, !0)) throw b(e);
1013
+ } finally{
1014
+ i.__wbindgen_add_to_stack_pointer(16);
1015
+ }
1016
+ }
1017
+ cmpWithFrontiers(e) {
1018
+ try {
1019
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = j(e, i.__wbindgen_malloc), o = c;
1020
+ i.lorodoc_cmpWithFrontiers(r, this.__wbg_ptr, a, o);
1021
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1022
+ if (h().getInt32(r + 8, !0)) throw b(n);
1023
+ return t;
1024
+ } finally{
1025
+ i.__wbindgen_add_to_stack_pointer(16);
1026
+ }
1027
+ }
1028
+ exportJsonInIdSpan(e) {
1029
+ try {
1030
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1031
+ i.lorodoc_exportJsonInIdSpan(r, this.__wbg_ptr, _(e));
1032
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1033
+ if (h().getInt32(r + 8, !0)) throw b(n);
1034
+ return b(t);
1035
+ } finally{
1036
+ i.__wbindgen_add_to_stack_pointer(16);
1037
+ }
1038
+ }
1039
+ subscribeJsonpath(e, t) {
1040
+ try {
1041
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), s = c;
1042
+ i.lorodoc_subscribeJsonpath(a, this.__wbg_ptr, o, s, _(t));
1043
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1044
+ if (h().getInt32(a + 8, !0)) throw b(r);
1045
+ return b(n);
1046
+ } finally{
1047
+ i.__wbindgen_add_to_stack_pointer(16);
1048
+ }
1049
+ }
1050
+ deleteRootContainer(e) {
1051
+ try {
1052
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1053
+ i.lorodoc_deleteRootContainer(n, this.__wbg_ptr, _(e));
1054
+ var t = h().getInt32(n + 0, !0);
1055
+ if (h().getInt32(n + 4, !0)) throw b(t);
1056
+ } finally{
1057
+ i.__wbindgen_add_to_stack_pointer(16);
1058
+ }
1059
+ }
1060
+ exportJsonUpdates(e, t, n) {
1061
+ try {
1062
+ let o = i.__wbindgen_add_to_stack_pointer(-16);
1063
+ i.lorodoc_exportJsonUpdates(o, this.__wbg_ptr, _(e), _(t), x(n) ? 16777215 : +!!n);
1064
+ var r = h().getInt32(o + 0, !0), a = h().getInt32(o + 4, !0);
1065
+ if (h().getInt32(o + 8, !0)) throw b(a);
1066
+ return b(r);
1067
+ } finally{
1068
+ i.__wbindgen_add_to_stack_pointer(16);
1069
+ }
1070
+ }
1071
+ getContainerById(e) {
1072
+ try {
1073
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1074
+ i.lorodoc_getContainerById(r, this.__wbg_ptr, _(e));
1075
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1076
+ if (h().getInt32(r + 8, !0)) throw b(n);
1077
+ return b(t);
1078
+ } finally{
1079
+ i.__wbindgen_add_to_stack_pointer(16);
1080
+ }
1081
+ }
1082
+ getPendingTxnLength() {
1083
+ return i.lorodoc_getPendingTxnLength(this.__wbg_ptr) >>> 0;
1084
+ }
1085
+ importJsonUpdates(e) {
1086
+ try {
1087
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1088
+ i.lorodoc_importJsonUpdates(r, this.__wbg_ptr, _(e));
1089
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1090
+ if (h().getInt32(r + 8, !0)) throw b(n);
1091
+ return b(t);
1092
+ } finally{
1093
+ i.__wbindgen_add_to_stack_pointer(16);
1094
+ }
1095
+ }
1096
+ importUpdateBatch(e) {
1097
+ try {
1098
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1099
+ i.lorodoc_importBatch(r, this.__wbg_ptr, _(e));
1100
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1101
+ if (h().getInt32(r + 8, !0)) throw b(n);
1102
+ return b(t);
1103
+ } finally{
1104
+ i.__wbindgen_add_to_stack_pointer(16);
1105
+ }
1106
+ }
1107
+ setDetachedEditing(e) {
1108
+ i.lorodoc_setDetachedEditing(this.__wbg_ptr, e);
1109
+ }
1110
+ setRecordTimestamp(e) {
1111
+ i.lorodoc_setRecordTimestamp(this.__wbg_ptr, e);
1112
+ }
1113
+ subscribePreCommit(e) {
1114
+ return b(i.lorodoc_subscribePreCommit(this.__wbg_ptr, _(e)));
1115
+ }
1116
+ findIdSpansBetween(e, t) {
1117
+ try {
1118
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = j(e, i.__wbindgen_malloc), s = c, l = j(t, i.__wbindgen_malloc), u = c;
1119
+ i.lorodoc_findIdSpansBetween(a, this.__wbg_ptr, o, s, l, u);
1120
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1121
+ if (h().getInt32(a + 8, !0)) throw b(r);
1122
+ return b(n);
1123
+ } finally{
1124
+ i.__wbindgen_add_to_stack_pointer(16);
1125
+ }
1126
+ }
1127
+ getChangeAtLamport(e, t) {
1128
+ try {
1129
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), s = c;
1130
+ i.lorodoc_getChangeAtLamport(a, this.__wbg_ptr, o, s, t);
1131
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1132
+ if (h().getInt32(a + 8, !0)) throw b(r);
1133
+ return b(n);
1134
+ } finally{
1135
+ i.__wbindgen_add_to_stack_pointer(16);
1136
+ }
1137
+ }
1138
+ getPathToContainer(e) {
1139
+ try {
1140
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1141
+ i.lorodoc_getPathToContainer(r, this.__wbg_ptr, _(e));
1142
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1143
+ if (h().getInt32(r + 8, !0)) throw b(n);
1144
+ return b(t);
1145
+ } finally{
1146
+ i.__wbindgen_add_to_stack_pointer(16);
1147
+ }
1148
+ }
1149
+ getChangedContainersIn(e, t) {
1150
+ try {
1151
+ let s = i.__wbindgen_add_to_stack_pointer(-16);
1152
+ i.lorodoc_getChangedContainersIn(s, this.__wbg_ptr, _(e), t);
1153
+ var n = h().getInt32(s + 0, !0), r = h().getInt32(s + 4, !0), a = h().getInt32(s + 8, !0);
1154
+ if (h().getInt32(s + 12, !0)) throw b(a);
1155
+ var o = A(n, r).slice();
1156
+ return i.__wbindgen_free(n, r * 4, 4), o;
1157
+ } finally{
1158
+ i.__wbindgen_add_to_stack_pointer(16);
1159
+ }
1160
+ }
1161
+ getDeepValueWithID() {
1162
+ return b(i.lorodoc_getDeepValueWithID(this.__wbg_ptr));
1163
+ }
1164
+ setNextCommitOrigin(e) {
1165
+ let t = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), n = c;
1166
+ i.lorodoc_setNextCommitOrigin(this.__wbg_ptr, t, n);
1167
+ }
1168
+ getUncommittedOpsAsJson() {
1169
+ try {
1170
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1171
+ i.lorodoc_getUncommittedOpsAsJson(n, this.__wbg_ptr);
1172
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
1173
+ if (h().getInt32(n + 8, !0)) throw b(t);
1174
+ return b(e);
1175
+ } finally{
1176
+ i.__wbindgen_add_to_stack_pointer(16);
1177
+ }
1178
+ }
1179
+ setNextCommitMessage(e) {
1180
+ let t = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), n = c;
1181
+ i.lorodoc_setNextCommitMessage(this.__wbg_ptr, t, n);
1182
+ }
1183
+ setNextCommitOptions(e) {
1184
+ try {
1185
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1186
+ i.lorodoc_setNextCommitOptions(n, this.__wbg_ptr, _(e));
1187
+ var t = h().getInt32(n + 0, !0);
1188
+ if (h().getInt32(n + 4, !0)) throw b(t);
1189
+ } finally{
1190
+ i.__wbindgen_add_to_stack_pointer(16);
1191
+ }
1192
+ }
1193
+ shallowSinceFrontiers() {
1194
+ try {
1195
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1196
+ i.lorodoc_shallowSinceFrontiers(n, this.__wbg_ptr);
1197
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
1198
+ if (h().getInt32(n + 8, !0)) throw b(t);
1199
+ return b(e);
1200
+ } finally{
1201
+ i.__wbindgen_add_to_stack_pointer(16);
1202
+ }
1203
+ }
1204
+ subscribeLocalUpdates(e) {
1205
+ return b(i.lorodoc_subscribeLocalUpdates(this.__wbg_ptr, _(e)));
1206
+ }
1207
+ travelChangeAncestors(e, t) {
1208
+ try {
1209
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = j(e, i.__wbindgen_malloc), o = c;
1210
+ i.lorodoc_travelChangeAncestors(r, this.__wbg_ptr, a, o, _(t));
1211
+ var n = h().getInt32(r + 0, !0);
1212
+ if (h().getInt32(r + 4, !0)) throw b(n);
1213
+ } finally{
1214
+ i.__wbindgen_add_to_stack_pointer(16);
1215
+ }
1216
+ }
1217
+ clearNextCommitOptions() {
1218
+ i.lorodoc_clearNextCommitOptions(this.__wbg_ptr);
1219
+ }
1220
+ configDefaultTextStyle(e) {
1221
+ try {
1222
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1223
+ i.lorodoc_configDefaultTextStyle(n, this.__wbg_ptr, _(e));
1224
+ var t = h().getInt32(n + 0, !0);
1225
+ if (h().getInt32(n + 4, !0)) throw b(t);
1226
+ } finally{
1227
+ i.__wbindgen_add_to_stack_pointer(16);
1228
+ }
1229
+ }
1230
+ setChangeMergeInterval(e) {
1231
+ i.lorodoc_setChangeMergeInterval(this.__wbg_ptr, e);
1232
+ }
1233
+ setNextCommitTimestamp(e) {
1234
+ i.lorodoc_setNextCommitTimestamp(this.__wbg_ptr, e);
1235
+ }
1236
+ setHideEmptyRootContainers(e) {
1237
+ try {
1238
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1239
+ i.lorodoc_setHideEmptyRootContainers(n, this.__wbg_ptr, e);
1240
+ var t = h().getInt32(n + 0, !0);
1241
+ if (h().getInt32(n + 4, !0)) throw b(t);
1242
+ } finally{
1243
+ i.__wbindgen_add_to_stack_pointer(16);
1244
+ }
1245
+ }
1246
+ isDetachedEditingEnabled() {
1247
+ return i.lorodoc_isDetachedEditingEnabled(this.__wbg_ptr) !== 0;
1248
+ }
1249
+ subscribeFirstCommitFromPeer(e) {
1250
+ return b(i.lorodoc_subscribeFirstCommitFromPeer(this.__wbg_ptr, _(e)));
1251
+ }
1252
+ constructor(){
1253
+ let e = i.lorodoc_new();
1254
+ return this.__wbg_ptr = e >>> 0, R.register(this, this.__wbg_ptr, this), this;
1255
+ }
1256
+ diff(e, t, n) {
1257
+ try {
1258
+ let o = i.__wbindgen_add_to_stack_pointer(-16), s = j(e, i.__wbindgen_malloc), l = c, u = j(t, i.__wbindgen_malloc), d = c;
1259
+ i.lorodoc_diff(o, this.__wbg_ptr, s, l, u, d, x(n) ? 16777215 : +!!n);
1260
+ var r = h().getInt32(o + 0, !0), a = h().getInt32(o + 4, !0);
1261
+ if (h().getInt32(o + 8, !0)) throw b(a);
1262
+ return b(r);
1263
+ } finally{
1264
+ i.__wbindgen_add_to_stack_pointer(16);
1265
+ }
1266
+ }
1267
+ fork() {
1268
+ let t = i.lorodoc_fork(this.__wbg_ptr);
1269
+ return e.__wrap(t);
1270
+ }
1271
+ attach() {
1272
+ i.lorodoc_attach(this.__wbg_ptr);
1273
+ }
1274
+ commit(e) {
1275
+ try {
1276
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1277
+ i.lorodoc_commit(n, this.__wbg_ptr, x(e) ? 0 : _(e));
1278
+ var t = h().getInt32(n + 0, !0);
1279
+ if (h().getInt32(n + 4, !0)) throw b(t);
1280
+ } finally{
1281
+ i.__wbindgen_add_to_stack_pointer(16);
1282
+ }
1283
+ }
1284
+ detach() {
1285
+ i.lorodoc_detach(this.__wbg_ptr);
1286
+ }
1287
+ export(e) {
1288
+ try {
1289
+ let o = i.__wbindgen_add_to_stack_pointer(-16);
1290
+ i.lorodoc_export(o, this.__wbg_ptr, _(e));
1291
+ var t = h().getInt32(o + 0, !0), n = h().getInt32(o + 4, !0), r = h().getInt32(o + 8, !0);
1292
+ if (h().getInt32(o + 12, !0)) throw b(r);
1293
+ var a = k(t, n).slice();
1294
+ return i.__wbindgen_free(t, n * 1, 1), a;
1295
+ } finally{
1296
+ i.__wbindgen_add_to_stack_pointer(16);
1297
+ }
1298
+ }
1299
+ import(e) {
1300
+ try {
1301
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = O(e, i.__wbindgen_malloc), o = c;
1302
+ i.lorodoc_import(r, this.__wbg_ptr, a, o);
1303
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1304
+ if (h().getInt32(r + 8, !0)) throw b(n);
1305
+ return b(t);
1306
+ } finally{
1307
+ i.__wbindgen_add_to_stack_pointer(16);
1308
+ }
1309
+ }
1310
+ forkAt(t) {
1311
+ try {
1312
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = j(t, i.__wbindgen_malloc), s = c;
1313
+ i.lorodoc_forkAt(a, this.__wbg_ptr, o, s);
1314
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1315
+ if (h().getInt32(a + 8, !0)) throw b(r);
1316
+ return e.__wrap(n);
1317
+ } finally{
1318
+ i.__wbindgen_add_to_stack_pointer(16);
1319
+ }
1320
+ }
1321
+ getMap(e) {
1322
+ try {
1323
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1324
+ i.lorodoc_getMap(r, this.__wbg_ptr, D(e));
1325
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1326
+ if (h().getInt32(r + 8, !0)) throw b(n);
1327
+ return U.__wrap(t);
1328
+ } finally{
1329
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
1330
+ }
1331
+ }
1332
+ opCount() {
1333
+ return i.lorodoc_opCount(this.__wbg_ptr) >>> 0;
1334
+ }
1335
+ get peerId() {
1336
+ let e = i.lorodoc_peerId(this.__wbg_ptr);
1337
+ return BigInt.asUintN(64, e);
1338
+ }
1339
+ toJSON() {
1340
+ try {
1341
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1342
+ i.lorodoc_toJSON(n, this.__wbg_ptr);
1343
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
1344
+ if (h().getInt32(n + 8, !0)) throw b(t);
1345
+ return b(e);
1346
+ } finally{
1347
+ i.__wbindgen_add_to_stack_pointer(16);
1348
+ }
1349
+ }
1350
+ version() {
1351
+ let e = i.lorodoc_version(this.__wbg_ptr);
1352
+ return Q.__wrap(e);
1353
+ }
1354
+ checkout(e) {
1355
+ try {
1356
+ let n = i.__wbindgen_add_to_stack_pointer(-16), r = j(e, i.__wbindgen_malloc), a = c;
1357
+ i.lorodoc_checkout(n, this.__wbg_ptr, r, a);
1358
+ var t = h().getInt32(n + 0, !0);
1359
+ if (h().getInt32(n + 4, !0)) throw b(t);
1360
+ } finally{
1361
+ i.__wbindgen_add_to_stack_pointer(16);
1362
+ }
1363
+ }
1364
+ getList(e) {
1365
+ try {
1366
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1367
+ i.lorodoc_getList(r, this.__wbg_ptr, D(e));
1368
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1369
+ if (h().getInt32(r + 8, !0)) throw b(n);
1370
+ return V.__wrap(t);
1371
+ } finally{
1372
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
1373
+ }
1374
+ }
1375
+ getText(e) {
1376
+ try {
1377
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1378
+ i.lorodoc_getText(r, this.__wbg_ptr, D(e));
1379
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1380
+ if (h().getInt32(r + 8, !0)) throw b(n);
1381
+ return q.__wrap(t);
1382
+ } finally{
1383
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
1384
+ }
1385
+ }
1386
+ getTree(e) {
1387
+ try {
1388
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1389
+ i.lorodoc_getTree(r, this.__wbg_ptr, D(e));
1390
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1391
+ if (h().getInt32(r + 8, !0)) throw b(n);
1392
+ return Y.__wrap(t);
1393
+ } finally{
1394
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
1395
+ }
1396
+ }
1397
+ frontiers() {
1398
+ try {
1399
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1400
+ i.lorodoc_frontiers(n, this.__wbg_ptr);
1401
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
1402
+ if (h().getInt32(n + 8, !0)) throw b(t);
1403
+ return b(e);
1404
+ } finally{
1405
+ i.__wbindgen_add_to_stack_pointer(16);
1406
+ }
1407
+ }
1408
+ JSONPath(e) {
1409
+ try {
1410
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), o = c;
1411
+ i.lorodoc_JSONPath(r, this.__wbg_ptr, a, o);
1412
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1413
+ if (h().getInt32(r + 8, !0)) throw b(n);
1414
+ return b(t);
1415
+ } finally{
1416
+ i.__wbindgen_add_to_stack_pointer(16);
1417
+ }
1418
+ }
1419
+ revertTo(e) {
1420
+ try {
1421
+ let n = i.__wbindgen_add_to_stack_pointer(-16), r = j(e, i.__wbindgen_malloc), a = c;
1422
+ i.lorodoc_revertTo(n, this.__wbg_ptr, r, a);
1423
+ var t = h().getInt32(n + 0, !0);
1424
+ if (h().getInt32(n + 4, !0)) throw b(t);
1425
+ } finally{
1426
+ i.__wbindgen_add_to_stack_pointer(16);
1427
+ }
1428
+ }
1429
+ subscribe(e) {
1430
+ return b(i.lorodoc_subscribe(this.__wbg_ptr, _(e)));
1431
+ }
1432
+ };
1433
+ B = typeof FinalizationRegistry > `u` ? {
1434
+ register: ()=>{},
1435
+ unregister: ()=>{}
1436
+ } : new FinalizationRegistry((e)=>i.__wbg_lorolist_free(e >>> 0, 1));
1437
+ V = class e {
1438
+ static __wrap(t) {
1439
+ t >>>= 0;
1440
+ let n = Object.create(e.prototype);
1441
+ return n.__wbg_ptr = t, B.register(n, n.__wbg_ptr, n), n;
1442
+ }
1443
+ __destroy_into_raw() {
1444
+ let e = this.__wbg_ptr;
1445
+ return this.__wbg_ptr = 0, B.unregister(this), e;
1446
+ }
1447
+ free() {
1448
+ let e = this.__destroy_into_raw();
1449
+ i.__wbg_lorolist_free(e, 0);
1450
+ }
1451
+ isAttached() {
1452
+ return i.lorolist_isAttached(this.__wbg_ptr) !== 0;
1453
+ }
1454
+ getAttached() {
1455
+ return b(i.lorolist_getAttached(this.__wbg_ptr));
1456
+ }
1457
+ pushContainer(e) {
1458
+ try {
1459
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1460
+ i.lorolist_pushContainer(r, this.__wbg_ptr, _(e));
1461
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1462
+ if (h().getInt32(r + 8, !0)) throw b(n);
1463
+ return b(t);
1464
+ } finally{
1465
+ i.__wbindgen_add_to_stack_pointer(16);
1466
+ }
1467
+ }
1468
+ insertContainer(e, t) {
1469
+ try {
1470
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
1471
+ i.lorolist_insertContainer(a, this.__wbg_ptr, e, _(t));
1472
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1473
+ if (h().getInt32(a + 8, !0)) throw b(r);
1474
+ return b(n);
1475
+ } finally{
1476
+ i.__wbindgen_add_to_stack_pointer(16);
1477
+ }
1478
+ }
1479
+ getShallowValue() {
1480
+ return b(i.lorolist_getShallowValue(this.__wbg_ptr));
1481
+ }
1482
+ get id() {
1483
+ return b(i.lorolist_id(this.__wbg_ptr));
1484
+ }
1485
+ get(e) {
1486
+ return b(i.lorolist_get(this.__wbg_ptr, e));
1487
+ }
1488
+ constructor(){
1489
+ let e = i.lorolist_new();
1490
+ return this.__wbg_ptr = e >>> 0, B.register(this, this.__wbg_ptr, this), this;
1491
+ }
1492
+ pop() {
1493
+ try {
1494
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1495
+ i.lorolist_pop(n, this.__wbg_ptr);
1496
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
1497
+ if (h().getInt32(n + 8, !0)) throw b(t);
1498
+ return b(e);
1499
+ } finally{
1500
+ i.__wbindgen_add_to_stack_pointer(16);
1501
+ }
1502
+ }
1503
+ kind() {
1504
+ return b(i.lorolist_kind(this.__wbg_ptr));
1505
+ }
1506
+ push(e) {
1507
+ try {
1508
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1509
+ i.lorolist_push(n, this.__wbg_ptr, _(e));
1510
+ var t = h().getInt32(n + 0, !0);
1511
+ if (h().getInt32(n + 4, !0)) throw b(t);
1512
+ } finally{
1513
+ i.__wbindgen_add_to_stack_pointer(16);
1514
+ }
1515
+ }
1516
+ clear() {
1517
+ try {
1518
+ let t = i.__wbindgen_add_to_stack_pointer(-16);
1519
+ i.lorolist_clear(t, this.__wbg_ptr);
1520
+ var e = h().getInt32(t + 0, !0);
1521
+ if (h().getInt32(t + 4, !0)) throw b(e);
1522
+ } finally{
1523
+ i.__wbindgen_add_to_stack_pointer(16);
1524
+ }
1525
+ }
1526
+ delete(e, t) {
1527
+ try {
1528
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1529
+ i.lorolist_delete(r, this.__wbg_ptr, e, t);
1530
+ var n = h().getInt32(r + 0, !0);
1531
+ if (h().getInt32(r + 4, !0)) throw b(n);
1532
+ } finally{
1533
+ i.__wbindgen_add_to_stack_pointer(16);
1534
+ }
1535
+ }
1536
+ insert(e, t) {
1537
+ try {
1538
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1539
+ i.lorolist_insert(r, this.__wbg_ptr, e, _(t));
1540
+ var n = h().getInt32(r + 0, !0);
1541
+ if (h().getInt32(r + 4, !0)) throw b(n);
1542
+ } finally{
1543
+ i.__wbindgen_add_to_stack_pointer(16);
1544
+ }
1545
+ }
1546
+ get length() {
1547
+ return i.lorolist_length(this.__wbg_ptr) >>> 0;
1548
+ }
1549
+ parent() {
1550
+ return b(i.lorolist_parent(this.__wbg_ptr));
1551
+ }
1552
+ getIdAt(e) {
1553
+ try {
1554
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1555
+ i.lorolist_getIdAt(r, this.__wbg_ptr, e);
1556
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1557
+ if (h().getInt32(r + 8, !0)) throw b(n);
1558
+ return b(t);
1559
+ } finally{
1560
+ i.__wbindgen_add_to_stack_pointer(16);
1561
+ }
1562
+ }
1563
+ toJSON() {
1564
+ return b(i.lorolist_toJSON(this.__wbg_ptr));
1565
+ }
1566
+ toArray() {
1567
+ try {
1568
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1569
+ i.lorolist_toArray(r, this.__wbg_ptr);
1570
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
1571
+ return i.__wbindgen_free(e, t * 4, 4), n;
1572
+ } finally{
1573
+ i.__wbindgen_add_to_stack_pointer(16);
1574
+ }
1575
+ }
1576
+ getCursor(e, t) {
1577
+ let n = i.lorolist_getCursor(this.__wbg_ptr, e, _(t));
1578
+ return n === 0 ? void 0 : N.__wrap(n);
1579
+ }
1580
+ isDeleted() {
1581
+ return i.lorolist_isDeleted(this.__wbg_ptr) !== 0;
1582
+ }
1583
+ subscribe(e) {
1584
+ try {
1585
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1586
+ i.lorolist_subscribe(r, this.__wbg_ptr, _(e));
1587
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1588
+ if (h().getInt32(r + 8, !0)) throw b(n);
1589
+ return b(t);
1590
+ } finally{
1591
+ i.__wbindgen_add_to_stack_pointer(16);
1592
+ }
1593
+ }
1594
+ };
1595
+ H = typeof FinalizationRegistry > `u` ? {
1596
+ register: ()=>{},
1597
+ unregister: ()=>{}
1598
+ } : new FinalizationRegistry((e)=>i.__wbg_loromap_free(e >>> 0, 1));
1599
+ U = class e {
1600
+ static __wrap(t) {
1601
+ t >>>= 0;
1602
+ let n = Object.create(e.prototype);
1603
+ return n.__wbg_ptr = t, H.register(n, n.__wbg_ptr, n), n;
1604
+ }
1605
+ __destroy_into_raw() {
1606
+ let e = this.__wbg_ptr;
1607
+ return this.__wbg_ptr = 0, H.unregister(this), e;
1608
+ }
1609
+ free() {
1610
+ let e = this.__destroy_into_raw();
1611
+ i.__wbg_loromap_free(e, 0);
1612
+ }
1613
+ isAttached() {
1614
+ return i.loromap_isAttached(this.__wbg_ptr) !== 0;
1615
+ }
1616
+ getAttached() {
1617
+ return b(i.loromap_getAttached(this.__wbg_ptr));
1618
+ }
1619
+ getLastEditor(e) {
1620
+ let t = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), n = c;
1621
+ return b(i.loromap_getLastEditor(this.__wbg_ptr, t, n));
1622
+ }
1623
+ setContainer(e, t) {
1624
+ try {
1625
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), s = c;
1626
+ i.loromap_setContainer(a, this.__wbg_ptr, o, s, _(t));
1627
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1628
+ if (h().getInt32(a + 8, !0)) throw b(r);
1629
+ return b(n);
1630
+ } finally{
1631
+ i.__wbindgen_add_to_stack_pointer(16);
1632
+ }
1633
+ }
1634
+ getShallowValue() {
1635
+ return b(i.loromap_getShallowValue(this.__wbg_ptr));
1636
+ }
1637
+ getOrCreateContainer(e, t) {
1638
+ try {
1639
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), s = c;
1640
+ i.loromap_getOrCreateContainer(a, this.__wbg_ptr, o, s, _(t));
1641
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1642
+ if (h().getInt32(a + 8, !0)) throw b(r);
1643
+ return b(n);
1644
+ } finally{
1645
+ i.__wbindgen_add_to_stack_pointer(16);
1646
+ }
1647
+ }
1648
+ get id() {
1649
+ return b(i.loromap_id(this.__wbg_ptr));
1650
+ }
1651
+ get(e) {
1652
+ let t = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), n = c;
1653
+ return b(i.loromap_get(this.__wbg_ptr, t, n));
1654
+ }
1655
+ constructor(){
1656
+ let e = i.loromap_new();
1657
+ return this.__wbg_ptr = e >>> 0, H.register(this, this.__wbg_ptr, this), this;
1658
+ }
1659
+ keys() {
1660
+ try {
1661
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1662
+ i.loromap_keys(r, this.__wbg_ptr);
1663
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
1664
+ return i.__wbindgen_free(e, t * 4, 4), n;
1665
+ } finally{
1666
+ i.__wbindgen_add_to_stack_pointer(16);
1667
+ }
1668
+ }
1669
+ kind() {
1670
+ return b(i.loromap_kind(this.__wbg_ptr));
1671
+ }
1672
+ get size() {
1673
+ return i.loromap_size(this.__wbg_ptr) >>> 0;
1674
+ }
1675
+ clear() {
1676
+ try {
1677
+ let t = i.__wbindgen_add_to_stack_pointer(-16);
1678
+ i.loromap_clear(t, this.__wbg_ptr);
1679
+ var e = h().getInt32(t + 0, !0);
1680
+ if (h().getInt32(t + 4, !0)) throw b(e);
1681
+ } finally{
1682
+ i.__wbindgen_add_to_stack_pointer(16);
1683
+ }
1684
+ }
1685
+ delete(e) {
1686
+ try {
1687
+ let n = i.__wbindgen_add_to_stack_pointer(-16), r = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), a = c;
1688
+ i.loromap_delete(n, this.__wbg_ptr, r, a);
1689
+ var t = h().getInt32(n + 0, !0);
1690
+ if (h().getInt32(n + 4, !0)) throw b(t);
1691
+ } finally{
1692
+ i.__wbindgen_add_to_stack_pointer(16);
1693
+ }
1694
+ }
1695
+ set(e, t) {
1696
+ try {
1697
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), o = c;
1698
+ i.loromap_set(r, this.__wbg_ptr, a, o, _(t));
1699
+ var n = h().getInt32(r + 0, !0);
1700
+ if (h().getInt32(r + 4, !0)) throw b(n);
1701
+ } finally{
1702
+ i.__wbindgen_add_to_stack_pointer(16);
1703
+ }
1704
+ }
1705
+ parent() {
1706
+ return b(i.loromap_parent(this.__wbg_ptr));
1707
+ }
1708
+ values() {
1709
+ try {
1710
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1711
+ i.loromap_values(r, this.__wbg_ptr);
1712
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
1713
+ return i.__wbindgen_free(e, t * 4, 4), n;
1714
+ } finally{
1715
+ i.__wbindgen_add_to_stack_pointer(16);
1716
+ }
1717
+ }
1718
+ entries() {
1719
+ try {
1720
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1721
+ i.loromap_entries(r, this.__wbg_ptr);
1722
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
1723
+ return i.__wbindgen_free(e, t * 4, 4), n;
1724
+ } finally{
1725
+ i.__wbindgen_add_to_stack_pointer(16);
1726
+ }
1727
+ }
1728
+ toJSON() {
1729
+ return b(i.loromap_toJSON(this.__wbg_ptr));
1730
+ }
1731
+ isDeleted() {
1732
+ return i.loromap_isDeleted(this.__wbg_ptr) !== 0;
1733
+ }
1734
+ subscribe(e) {
1735
+ try {
1736
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1737
+ i.loromap_subscribe(r, this.__wbg_ptr, _(e));
1738
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1739
+ if (h().getInt32(r + 8, !0)) throw b(n);
1740
+ return b(t);
1741
+ } finally{
1742
+ i.__wbindgen_add_to_stack_pointer(16);
1743
+ }
1744
+ }
1745
+ };
1746
+ W = typeof FinalizationRegistry > `u` ? {
1747
+ register: ()=>{},
1748
+ unregister: ()=>{}
1749
+ } : new FinalizationRegistry((e)=>i.__wbg_loromovablelist_free(e >>> 0, 1));
1750
+ G = class e {
1751
+ static __wrap(t) {
1752
+ t >>>= 0;
1753
+ let n = Object.create(e.prototype);
1754
+ return n.__wbg_ptr = t, W.register(n, n.__wbg_ptr, n), n;
1755
+ }
1756
+ __destroy_into_raw() {
1757
+ let e = this.__wbg_ptr;
1758
+ return this.__wbg_ptr = 0, W.unregister(this), e;
1759
+ }
1760
+ free() {
1761
+ let e = this.__destroy_into_raw();
1762
+ i.__wbg_loromovablelist_free(e, 0);
1763
+ }
1764
+ isAttached() {
1765
+ return i.loromovablelist_isAttached(this.__wbg_ptr) !== 0;
1766
+ }
1767
+ getCreatorAt(e) {
1768
+ return b(i.loromovablelist_getCreatorAt(this.__wbg_ptr, e));
1769
+ }
1770
+ getAttached() {
1771
+ return b(i.loromovablelist_getAttached(this.__wbg_ptr));
1772
+ }
1773
+ setContainer(e, t) {
1774
+ try {
1775
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
1776
+ i.loromovablelist_setContainer(a, this.__wbg_ptr, e, _(t));
1777
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1778
+ if (h().getInt32(a + 8, !0)) throw b(r);
1779
+ return b(n);
1780
+ } finally{
1781
+ i.__wbindgen_add_to_stack_pointer(16);
1782
+ }
1783
+ }
1784
+ getLastMoverAt(e) {
1785
+ return b(i.loromovablelist_getLastMoverAt(this.__wbg_ptr, e));
1786
+ }
1787
+ pushContainer(e) {
1788
+ try {
1789
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1790
+ i.loromovablelist_pushContainer(r, this.__wbg_ptr, _(e));
1791
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1792
+ if (h().getInt32(r + 8, !0)) throw b(n);
1793
+ return b(t);
1794
+ } finally{
1795
+ i.__wbindgen_add_to_stack_pointer(16);
1796
+ }
1797
+ }
1798
+ getLastEditorAt(e) {
1799
+ return b(i.loromovablelist_getLastEditorAt(this.__wbg_ptr, e));
1800
+ }
1801
+ insertContainer(e, t) {
1802
+ try {
1803
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
1804
+ i.loromovablelist_insertContainer(a, this.__wbg_ptr, e, _(t));
1805
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
1806
+ if (h().getInt32(a + 8, !0)) throw b(r);
1807
+ return b(n);
1808
+ } finally{
1809
+ i.__wbindgen_add_to_stack_pointer(16);
1810
+ }
1811
+ }
1812
+ getShallowValue() {
1813
+ return b(i.loromovablelist_getShallowValue(this.__wbg_ptr));
1814
+ }
1815
+ get id() {
1816
+ return b(i.loromovablelist_id(this.__wbg_ptr));
1817
+ }
1818
+ get(e) {
1819
+ return b(i.loromovablelist_get(this.__wbg_ptr, e));
1820
+ }
1821
+ move(e, t) {
1822
+ try {
1823
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1824
+ i.loromovablelist_move(r, this.__wbg_ptr, e, t);
1825
+ var n = h().getInt32(r + 0, !0);
1826
+ if (h().getInt32(r + 4, !0)) throw b(n);
1827
+ } finally{
1828
+ i.__wbindgen_add_to_stack_pointer(16);
1829
+ }
1830
+ }
1831
+ constructor(){
1832
+ let e = i.loromovablelist_new();
1833
+ return this.__wbg_ptr = e >>> 0, W.register(this, this.__wbg_ptr, this), this;
1834
+ }
1835
+ pop() {
1836
+ try {
1837
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1838
+ i.loromovablelist_pop(n, this.__wbg_ptr);
1839
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
1840
+ if (h().getInt32(n + 8, !0)) throw b(t);
1841
+ return b(e);
1842
+ } finally{
1843
+ i.__wbindgen_add_to_stack_pointer(16);
1844
+ }
1845
+ }
1846
+ set(e, t) {
1847
+ try {
1848
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1849
+ i.loromovablelist_set(r, this.__wbg_ptr, e, _(t));
1850
+ var n = h().getInt32(r + 0, !0);
1851
+ if (h().getInt32(r + 4, !0)) throw b(n);
1852
+ } finally{
1853
+ i.__wbindgen_add_to_stack_pointer(16);
1854
+ }
1855
+ }
1856
+ kind() {
1857
+ return b(i.loromovablelist_kind(this.__wbg_ptr));
1858
+ }
1859
+ push(e) {
1860
+ try {
1861
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1862
+ i.loromovablelist_push(n, this.__wbg_ptr, _(e));
1863
+ var t = h().getInt32(n + 0, !0);
1864
+ if (h().getInt32(n + 4, !0)) throw b(t);
1865
+ } finally{
1866
+ i.__wbindgen_add_to_stack_pointer(16);
1867
+ }
1868
+ }
1869
+ clear() {
1870
+ try {
1871
+ let t = i.__wbindgen_add_to_stack_pointer(-16);
1872
+ i.loromovablelist_clear(t, this.__wbg_ptr);
1873
+ var e = h().getInt32(t + 0, !0);
1874
+ if (h().getInt32(t + 4, !0)) throw b(e);
1875
+ } finally{
1876
+ i.__wbindgen_add_to_stack_pointer(16);
1877
+ }
1878
+ }
1879
+ delete(e, t) {
1880
+ try {
1881
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1882
+ i.loromovablelist_delete(r, this.__wbg_ptr, e, t);
1883
+ var n = h().getInt32(r + 0, !0);
1884
+ if (h().getInt32(r + 4, !0)) throw b(n);
1885
+ } finally{
1886
+ i.__wbindgen_add_to_stack_pointer(16);
1887
+ }
1888
+ }
1889
+ insert(e, t) {
1890
+ try {
1891
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1892
+ i.loromovablelist_insert(r, this.__wbg_ptr, e, _(t));
1893
+ var n = h().getInt32(r + 0, !0);
1894
+ if (h().getInt32(r + 4, !0)) throw b(n);
1895
+ } finally{
1896
+ i.__wbindgen_add_to_stack_pointer(16);
1897
+ }
1898
+ }
1899
+ get length() {
1900
+ return i.loromovablelist_length(this.__wbg_ptr) >>> 0;
1901
+ }
1902
+ parent() {
1903
+ return b(i.loromovablelist_parent(this.__wbg_ptr));
1904
+ }
1905
+ toJSON() {
1906
+ return b(i.loromovablelist_toJSON(this.__wbg_ptr));
1907
+ }
1908
+ toArray() {
1909
+ try {
1910
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1911
+ i.loromovablelist_toArray(r, this.__wbg_ptr);
1912
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
1913
+ return i.__wbindgen_free(e, t * 4, 4), n;
1914
+ } finally{
1915
+ i.__wbindgen_add_to_stack_pointer(16);
1916
+ }
1917
+ }
1918
+ getCursor(e, t) {
1919
+ let n = i.loromovablelist_getCursor(this.__wbg_ptr, e, _(t));
1920
+ return n === 0 ? void 0 : N.__wrap(n);
1921
+ }
1922
+ isDeleted() {
1923
+ return i.loromovablelist_isDeleted(this.__wbg_ptr) !== 0;
1924
+ }
1925
+ subscribe(e) {
1926
+ try {
1927
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1928
+ i.loromovablelist_subscribe(r, this.__wbg_ptr, _(e));
1929
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
1930
+ if (h().getInt32(r + 8, !0)) throw b(n);
1931
+ return b(t);
1932
+ } finally{
1933
+ i.__wbindgen_add_to_stack_pointer(16);
1934
+ }
1935
+ }
1936
+ };
1937
+ K = typeof FinalizationRegistry > `u` ? {
1938
+ register: ()=>{},
1939
+ unregister: ()=>{}
1940
+ } : new FinalizationRegistry((e)=>i.__wbg_lorotext_free(e >>> 0, 1));
1941
+ q = class e {
1942
+ static __wrap(t) {
1943
+ t >>>= 0;
1944
+ let n = Object.create(e.prototype);
1945
+ return n.__wbg_ptr = t, K.register(n, n.__wbg_ptr, n), n;
1946
+ }
1947
+ __destroy_into_raw() {
1948
+ let e = this.__wbg_ptr;
1949
+ return this.__wbg_ptr = 0, K.unregister(this), e;
1950
+ }
1951
+ free() {
1952
+ let e = this.__destroy_into_raw();
1953
+ i.__wbg_lorotext_free(e, 0);
1954
+ }
1955
+ applyDelta(e) {
1956
+ try {
1957
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
1958
+ i.lorotext_applyDelta(n, this.__wbg_ptr, _(e));
1959
+ var t = h().getInt32(n + 0, !0);
1960
+ if (h().getInt32(n + 4, !0)) throw b(t);
1961
+ } finally{
1962
+ i.__wbindgen_add_to_stack_pointer(16);
1963
+ }
1964
+ }
1965
+ convertPos(e, t, n) {
1966
+ let r = p(t, i.__wbindgen_malloc, i.__wbindgen_realloc), a = c, o = p(n, i.__wbindgen_malloc, i.__wbindgen_realloc), s = c;
1967
+ return b(i.lorotext_convertPos(this.__wbg_ptr, e, r, a, o, s));
1968
+ }
1969
+ deleteUtf8(e, t) {
1970
+ try {
1971
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
1972
+ i.lorotext_deleteUtf8(r, this.__wbg_ptr, e, t);
1973
+ var n = h().getInt32(r + 0, !0);
1974
+ if (h().getInt32(r + 4, !0)) throw b(n);
1975
+ } finally{
1976
+ i.__wbindgen_add_to_stack_pointer(16);
1977
+ }
1978
+ }
1979
+ getEditorOf(e) {
1980
+ return b(i.lorotext_getEditorOf(this.__wbg_ptr, e));
1981
+ }
1982
+ insertUtf8(e, t) {
1983
+ try {
1984
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = p(t, i.__wbindgen_malloc, i.__wbindgen_realloc), o = c;
1985
+ i.lorotext_insertUtf8(r, this.__wbg_ptr, e, a, o);
1986
+ var n = h().getInt32(r + 0, !0);
1987
+ if (h().getInt32(r + 4, !0)) throw b(n);
1988
+ } finally{
1989
+ i.__wbindgen_add_to_stack_pointer(16);
1990
+ }
1991
+ }
1992
+ isAttached() {
1993
+ return i.lorotext_isAttached(this.__wbg_ptr) !== 0;
1994
+ }
1995
+ sliceDelta(e, t) {
1996
+ try {
1997
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
1998
+ i.lorotext_sliceDelta(a, this.__wbg_ptr, e, t);
1999
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2000
+ if (h().getInt32(a + 8, !0)) throw b(r);
2001
+ return b(n);
2002
+ } finally{
2003
+ i.__wbindgen_add_to_stack_pointer(16);
2004
+ }
2005
+ }
2006
+ getAttached() {
2007
+ return b(i.lorotext_getAttached(this.__wbg_ptr));
2008
+ }
2009
+ updateByLine(e, t) {
2010
+ try {
2011
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), o = c;
2012
+ i.lorotext_updateByLine(r, this.__wbg_ptr, a, o, _(t));
2013
+ var n = h().getInt32(r + 0, !0);
2014
+ if (h().getInt32(r + 4, !0)) throw b(n);
2015
+ } finally{
2016
+ i.__wbindgen_add_to_stack_pointer(16);
2017
+ }
2018
+ }
2019
+ sliceDeltaUtf8(e, t) {
2020
+ try {
2021
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
2022
+ i.lorotext_sliceDeltaUtf8(a, this.__wbg_ptr, e, t);
2023
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2024
+ if (h().getInt32(a + 8, !0)) throw b(r);
2025
+ return b(n);
2026
+ } finally{
2027
+ i.__wbindgen_add_to_stack_pointer(16);
2028
+ }
2029
+ }
2030
+ getShallowValue() {
2031
+ let e, t;
2032
+ try {
2033
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
2034
+ i.lorotext_getShallowValue(a, this.__wbg_ptr);
2035
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2036
+ return e = n, t = r, y(n, r);
2037
+ } finally{
2038
+ i.__wbindgen_add_to_stack_pointer(16), i.__wbindgen_free(e, t, 1);
2039
+ }
2040
+ }
2041
+ get id() {
2042
+ return b(i.lorotext_id(this.__wbg_ptr));
2043
+ }
2044
+ constructor(){
2045
+ let e = i.lorotext_new();
2046
+ return this.__wbg_ptr = e >>> 0, K.register(this, this.__wbg_ptr, this), this;
2047
+ }
2048
+ iter(e) {
2049
+ try {
2050
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2051
+ i.lorotext_iter(n, this.__wbg_ptr, _(e));
2052
+ var t = h().getInt32(n + 0, !0);
2053
+ if (h().getInt32(n + 4, !0)) throw b(t);
2054
+ } finally{
2055
+ i.__wbindgen_add_to_stack_pointer(16);
2056
+ }
2057
+ }
2058
+ kind() {
2059
+ return b(i.lorotext_kind(this.__wbg_ptr));
2060
+ }
2061
+ mark(e, t, n) {
2062
+ try {
2063
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = p(t, i.__wbindgen_malloc, i.__wbindgen_realloc), s = c;
2064
+ i.lorotext_mark(a, this.__wbg_ptr, _(e), o, s, _(n));
2065
+ var r = h().getInt32(a + 0, !0);
2066
+ if (h().getInt32(a + 4, !0)) throw b(r);
2067
+ } finally{
2068
+ i.__wbindgen_add_to_stack_pointer(16);
2069
+ }
2070
+ }
2071
+ push(e) {
2072
+ try {
2073
+ let n = i.__wbindgen_add_to_stack_pointer(-16), r = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), a = c;
2074
+ i.lorotext_push(n, this.__wbg_ptr, r, a);
2075
+ var t = h().getInt32(n + 0, !0);
2076
+ if (h().getInt32(n + 4, !0)) throw b(t);
2077
+ } finally{
2078
+ i.__wbindgen_add_to_stack_pointer(16);
2079
+ }
2080
+ }
2081
+ slice(e, t) {
2082
+ let n, r;
2083
+ try {
2084
+ let d = i.__wbindgen_add_to_stack_pointer(-16);
2085
+ i.lorotext_slice(d, this.__wbg_ptr, e, t);
2086
+ var a = h().getInt32(d + 0, !0), o = h().getInt32(d + 4, !0), s = h().getInt32(d + 8, !0), c = h().getInt32(d + 12, !0), l = a, u = o;
2087
+ if (c) throw l = 0, u = 0, b(s);
2088
+ return n = l, r = u, y(l, u);
2089
+ } finally{
2090
+ i.__wbindgen_add_to_stack_pointer(16), i.__wbindgen_free(n, r, 1);
2091
+ }
2092
+ }
2093
+ delete(e, t) {
2094
+ try {
2095
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2096
+ i.lorotext_delete(r, this.__wbg_ptr, e, t);
2097
+ var n = h().getInt32(r + 0, !0);
2098
+ if (h().getInt32(r + 4, !0)) throw b(n);
2099
+ } finally{
2100
+ i.__wbindgen_add_to_stack_pointer(16);
2101
+ }
2102
+ }
2103
+ insert(e, t) {
2104
+ try {
2105
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = p(t, i.__wbindgen_malloc, i.__wbindgen_realloc), o = c;
2106
+ i.lorotext_insert(r, this.__wbg_ptr, e, a, o);
2107
+ var n = h().getInt32(r + 0, !0);
2108
+ if (h().getInt32(r + 4, !0)) throw b(n);
2109
+ } finally{
2110
+ i.__wbindgen_add_to_stack_pointer(16);
2111
+ }
2112
+ }
2113
+ get length() {
2114
+ return i.lorotext_length(this.__wbg_ptr) >>> 0;
2115
+ }
2116
+ parent() {
2117
+ return b(i.lorotext_parent(this.__wbg_ptr));
2118
+ }
2119
+ splice(e, t, n) {
2120
+ let r, a;
2121
+ try {
2122
+ let m = i.__wbindgen_add_to_stack_pointer(-16), g = p(n, i.__wbindgen_malloc, i.__wbindgen_realloc), _ = c;
2123
+ i.lorotext_splice(m, this.__wbg_ptr, e, t, g, _);
2124
+ var o = h().getInt32(m + 0, !0), s = h().getInt32(m + 4, !0), l = h().getInt32(m + 8, !0), u = h().getInt32(m + 12, !0), d = o, f = s;
2125
+ if (u) throw d = 0, f = 0, b(l);
2126
+ return r = d, a = f, y(d, f);
2127
+ } finally{
2128
+ i.__wbindgen_add_to_stack_pointer(16), i.__wbindgen_free(r, a, 1);
2129
+ }
2130
+ }
2131
+ unmark(e, t) {
2132
+ try {
2133
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = p(t, i.__wbindgen_malloc, i.__wbindgen_realloc), o = c;
2134
+ i.lorotext_unmark(r, this.__wbg_ptr, _(e), a, o);
2135
+ var n = h().getInt32(r + 0, !0);
2136
+ if (h().getInt32(r + 4, !0)) throw b(n);
2137
+ } finally{
2138
+ i.__wbindgen_add_to_stack_pointer(16);
2139
+ }
2140
+ }
2141
+ update(e, t) {
2142
+ try {
2143
+ let r = i.__wbindgen_add_to_stack_pointer(-16), a = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), o = c;
2144
+ i.lorotext_update(r, this.__wbg_ptr, a, o, _(t));
2145
+ var n = h().getInt32(r + 0, !0);
2146
+ if (h().getInt32(r + 4, !0)) throw b(n);
2147
+ } finally{
2148
+ i.__wbindgen_add_to_stack_pointer(16);
2149
+ }
2150
+ }
2151
+ charAt(e) {
2152
+ try {
2153
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2154
+ i.lorotext_charAt(r, this.__wbg_ptr, e);
2155
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
2156
+ if (h().getInt32(r + 8, !0)) throw b(n);
2157
+ return String.fromCodePoint(t);
2158
+ } finally{
2159
+ i.__wbindgen_add_to_stack_pointer(16);
2160
+ }
2161
+ }
2162
+ toJSON() {
2163
+ return b(i.lorotext_toJSON(this.__wbg_ptr));
2164
+ }
2165
+ toDelta() {
2166
+ try {
2167
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2168
+ i.lorotext_toDelta(n, this.__wbg_ptr);
2169
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2170
+ if (h().getInt32(n + 8, !0)) throw b(t);
2171
+ return b(e);
2172
+ } finally{
2173
+ i.__wbindgen_add_to_stack_pointer(16);
2174
+ }
2175
+ }
2176
+ getCursor(e, t) {
2177
+ let n = i.lorotext_getCursor(this.__wbg_ptr, e, _(t));
2178
+ return n === 0 ? void 0 : N.__wrap(n);
2179
+ }
2180
+ isDeleted() {
2181
+ return i.lorotext_isDeleted(this.__wbg_ptr) !== 0;
2182
+ }
2183
+ subscribe(e) {
2184
+ try {
2185
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2186
+ i.lorotext_subscribe(r, this.__wbg_ptr, _(e));
2187
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
2188
+ if (h().getInt32(r + 8, !0)) throw b(n);
2189
+ return b(t);
2190
+ } finally{
2191
+ i.__wbindgen_add_to_stack_pointer(16);
2192
+ }
2193
+ }
2194
+ toString() {
2195
+ let e, t;
2196
+ try {
2197
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
2198
+ i.lorotext_toString(a, this.__wbg_ptr);
2199
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2200
+ return e = n, t = r, y(n, r);
2201
+ } finally{
2202
+ i.__wbindgen_add_to_stack_pointer(16), i.__wbindgen_free(e, t, 1);
2203
+ }
2204
+ }
2205
+ };
2206
+ J = typeof FinalizationRegistry > `u` ? {
2207
+ register: ()=>{},
2208
+ unregister: ()=>{}
2209
+ } : new FinalizationRegistry((e)=>i.__wbg_lorotree_free(e >>> 0, 1));
2210
+ Y = class e {
2211
+ static __wrap(t) {
2212
+ t >>>= 0;
2213
+ let n = Object.create(e.prototype);
2214
+ return n.__wbg_ptr = t, J.register(n, n.__wbg_ptr, n), n;
2215
+ }
2216
+ __destroy_into_raw() {
2217
+ let e = this.__wbg_ptr;
2218
+ return this.__wbg_ptr = 0, J.unregister(this), e;
2219
+ }
2220
+ free() {
2221
+ let e = this.__destroy_into_raw();
2222
+ i.__wbg_lorotree_free(e, 0);
2223
+ }
2224
+ createNode(e, t) {
2225
+ try {
2226
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
2227
+ i.lorotree_createNode(a, this.__wbg_ptr, D(e), x(t) ? 4294967297 : t >>> 0);
2228
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2229
+ if (h().getInt32(a + 8, !0)) throw b(r);
2230
+ return X.__wrap(n);
2231
+ } finally{
2232
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
2233
+ }
2234
+ }
2235
+ isAttached() {
2236
+ return i.lorotree_isAttached(this.__wbg_ptr) !== 0;
2237
+ }
2238
+ getAttached() {
2239
+ return b(i.lorotree_getAttached(this.__wbg_ptr));
2240
+ }
2241
+ getNodeByID(e) {
2242
+ try {
2243
+ let t = i.lorotree_getNodeByID(this.__wbg_ptr, D(e));
2244
+ return t === 0 ? void 0 : X.__wrap(t);
2245
+ } finally{
2246
+ o[E++] = void 0;
2247
+ }
2248
+ }
2249
+ isNodeDeleted(e) {
2250
+ try {
2251
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2252
+ i.lorotree_isNodeDeleted(r, this.__wbg_ptr, D(e));
2253
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
2254
+ if (h().getInt32(r + 8, !0)) throw b(n);
2255
+ return t !== 0;
2256
+ } finally{
2257
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
2258
+ }
2259
+ }
2260
+ getShallowValue() {
2261
+ return b(i.lorotree_getShallowValue(this.__wbg_ptr));
2262
+ }
2263
+ enableFractionalIndex(e) {
2264
+ i.lorotree_enableFractionalIndex(this.__wbg_ptr, e);
2265
+ }
2266
+ disableFractionalIndex() {
2267
+ i.lorotree_disableFractionalIndex(this.__wbg_ptr);
2268
+ }
2269
+ isFractionalIndexEnabled() {
2270
+ return i.lorotree_isFractionalIndexEnabled(this.__wbg_ptr) !== 0;
2271
+ }
2272
+ get id() {
2273
+ return b(i.lorotree_id(this.__wbg_ptr));
2274
+ }
2275
+ move(e, t, n) {
2276
+ try {
2277
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
2278
+ i.lorotree_move(a, this.__wbg_ptr, D(e), D(t), x(n) ? 4294967297 : n >>> 0);
2279
+ var r = h().getInt32(a + 0, !0);
2280
+ if (h().getInt32(a + 4, !0)) throw b(r);
2281
+ } finally{
2282
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0, o[E++] = void 0;
2283
+ }
2284
+ }
2285
+ constructor(){
2286
+ let e = i.lorotree_new();
2287
+ return this.__wbg_ptr = e >>> 0, J.register(this, this.__wbg_ptr, this), this;
2288
+ }
2289
+ kind() {
2290
+ return b(i.lorotree_kind(this.__wbg_ptr));
2291
+ }
2292
+ nodes() {
2293
+ try {
2294
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2295
+ i.lorotree_nodes(r, this.__wbg_ptr);
2296
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
2297
+ return i.__wbindgen_free(e, t * 4, 4), n;
2298
+ } finally{
2299
+ i.__wbindgen_add_to_stack_pointer(16);
2300
+ }
2301
+ }
2302
+ roots() {
2303
+ try {
2304
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2305
+ i.lorotree_roots(r, this.__wbg_ptr);
2306
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = A(e, t).slice();
2307
+ return i.__wbindgen_free(e, t * 4, 4), n;
2308
+ } finally{
2309
+ i.__wbindgen_add_to_stack_pointer(16);
2310
+ }
2311
+ }
2312
+ delete(e) {
2313
+ try {
2314
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2315
+ i.lorotree_delete(n, this.__wbg_ptr, D(e));
2316
+ var t = h().getInt32(n + 0, !0);
2317
+ if (h().getInt32(n + 4, !0)) throw b(t);
2318
+ } finally{
2319
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
2320
+ }
2321
+ }
2322
+ parent() {
2323
+ return b(i.lorotree_parent(this.__wbg_ptr));
2324
+ }
2325
+ toJSON() {
2326
+ return b(i.lorotree_toJSON(this.__wbg_ptr));
2327
+ }
2328
+ has(e) {
2329
+ try {
2330
+ return i.lorotree_has(this.__wbg_ptr, D(e)) !== 0;
2331
+ } finally{
2332
+ o[E++] = void 0;
2333
+ }
2334
+ }
2335
+ toArray() {
2336
+ try {
2337
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2338
+ i.lorotree_toArray(n, this.__wbg_ptr);
2339
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2340
+ if (h().getInt32(n + 8, !0)) throw b(t);
2341
+ return b(e);
2342
+ } finally{
2343
+ i.__wbindgen_add_to_stack_pointer(16);
2344
+ }
2345
+ }
2346
+ getNodes(e) {
2347
+ try {
2348
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2349
+ i.lorotree_getNodes(r, this.__wbg_ptr, _(e));
2350
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
2351
+ if (h().getInt32(r + 8, !0)) throw b(n);
2352
+ return b(t);
2353
+ } finally{
2354
+ i.__wbindgen_add_to_stack_pointer(16);
2355
+ }
2356
+ }
2357
+ isDeleted() {
2358
+ return i.lorotree_isDeleted(this.__wbg_ptr) !== 0;
2359
+ }
2360
+ subscribe(e) {
2361
+ try {
2362
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2363
+ i.lorotree_subscribe(r, this.__wbg_ptr, _(e));
2364
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
2365
+ if (h().getInt32(r + 8, !0)) throw b(n);
2366
+ return b(t);
2367
+ } finally{
2368
+ i.__wbindgen_add_to_stack_pointer(16);
2369
+ }
2370
+ }
2371
+ };
2372
+ ge = typeof FinalizationRegistry > `u` ? {
2373
+ register: ()=>{},
2374
+ unregister: ()=>{}
2375
+ } : new FinalizationRegistry((e)=>i.__wbg_lorotreenode_free(e >>> 0, 1));
2376
+ X = class e {
2377
+ static __wrap(t) {
2378
+ t >>>= 0;
2379
+ let n = Object.create(e.prototype);
2380
+ return n.__wbg_ptr = t, ge.register(n, n.__wbg_ptr, n), n;
2381
+ }
2382
+ __destroy_into_raw() {
2383
+ let e = this.__wbg_ptr;
2384
+ return this.__wbg_ptr = 0, ge.unregister(this), e;
2385
+ }
2386
+ free() {
2387
+ let e = this.__destroy_into_raw();
2388
+ i.__wbg_lorotreenode_free(e, 0);
2389
+ }
2390
+ creationId() {
2391
+ try {
2392
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2393
+ i.lorotreenode_creationId(n, this.__wbg_ptr);
2394
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2395
+ if (h().getInt32(n + 8, !0)) throw b(t);
2396
+ return b(e);
2397
+ } finally{
2398
+ i.__wbindgen_add_to_stack_pointer(16);
2399
+ }
2400
+ }
2401
+ isDeleted() {
2402
+ try {
2403
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2404
+ i.lorotreenode_isDeleted(n, this.__wbg_ptr);
2405
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2406
+ if (h().getInt32(n + 8, !0)) throw b(t);
2407
+ return e !== 0;
2408
+ } finally{
2409
+ i.__wbindgen_add_to_stack_pointer(16);
2410
+ }
2411
+ }
2412
+ moveBefore(t) {
2413
+ try {
2414
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2415
+ T(t, e), i.lorotreenode_moveBefore(r, this.__wbg_ptr, t.__wbg_ptr);
2416
+ var n = h().getInt32(r + 0, !0);
2417
+ if (h().getInt32(r + 4, !0)) throw b(n);
2418
+ } finally{
2419
+ i.__wbindgen_add_to_stack_pointer(16);
2420
+ }
2421
+ }
2422
+ createNode(t) {
2423
+ try {
2424
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
2425
+ i.lorotreenode_createNode(a, this.__wbg_ptr, x(t) ? 4294967297 : t >>> 0);
2426
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2427
+ if (h().getInt32(a + 8, !0)) throw b(r);
2428
+ return e.__wrap(n);
2429
+ } finally{
2430
+ i.__wbindgen_add_to_stack_pointer(16);
2431
+ }
2432
+ }
2433
+ getLastMoveId() {
2434
+ try {
2435
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2436
+ i.lorotreenode_getLastMoveId(n, this.__wbg_ptr);
2437
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2438
+ if (h().getInt32(n + 8, !0)) throw b(t);
2439
+ return b(e);
2440
+ } finally{
2441
+ i.__wbindgen_add_to_stack_pointer(16);
2442
+ }
2443
+ }
2444
+ toJSON() {
2445
+ try {
2446
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2447
+ i.lorotreenode_toJSON(n, this.__wbg_ptr);
2448
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2449
+ if (h().getInt32(n + 8, !0)) throw b(t);
2450
+ return b(e);
2451
+ } finally{
2452
+ i.__wbindgen_add_to_stack_pointer(16);
2453
+ }
2454
+ }
2455
+ fractionalIndex() {
2456
+ try {
2457
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2458
+ i.lorotreenode_fractionalIndex(n, this.__wbg_ptr);
2459
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2460
+ if (h().getInt32(n + 8, !0)) throw b(t);
2461
+ return b(e);
2462
+ } finally{
2463
+ i.__wbindgen_add_to_stack_pointer(16);
2464
+ }
2465
+ }
2466
+ __getClassname() {
2467
+ let e, t;
2468
+ try {
2469
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
2470
+ i.lorotreenode___getClassname(a, this.__wbg_ptr);
2471
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2472
+ return e = n, t = r, y(n, r);
2473
+ } finally{
2474
+ i.__wbindgen_add_to_stack_pointer(16), i.__wbindgen_free(e, t, 1);
2475
+ }
2476
+ }
2477
+ get id() {
2478
+ return b(i.lorotreenode_id(this.__wbg_ptr));
2479
+ }
2480
+ move(e, t) {
2481
+ try {
2482
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2483
+ i.lorotreenode_move(r, this.__wbg_ptr, D(e), x(t) ? 4294967297 : t >>> 0);
2484
+ var n = h().getInt32(r + 0, !0);
2485
+ if (h().getInt32(r + 4, !0)) throw b(n);
2486
+ } finally{
2487
+ i.__wbindgen_add_to_stack_pointer(16), o[E++] = void 0;
2488
+ }
2489
+ }
2490
+ get data() {
2491
+ try {
2492
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2493
+ i.lorotreenode_data(n, this.__wbg_ptr);
2494
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2495
+ if (h().getInt32(n + 8, !0)) throw b(t);
2496
+ return U.__wrap(e);
2497
+ } finally{
2498
+ i.__wbindgen_add_to_stack_pointer(16);
2499
+ }
2500
+ }
2501
+ index() {
2502
+ try {
2503
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2504
+ i.lorotreenode_index(n, this.__wbg_ptr);
2505
+ var e = h().getFloat64(n + 0, !0), t = h().getInt32(n + 8, !0);
2506
+ if (h().getInt32(n + 12, !0)) throw b(t);
2507
+ return e === 4294967297 ? void 0 : e;
2508
+ } finally{
2509
+ i.__wbindgen_add_to_stack_pointer(16);
2510
+ }
2511
+ }
2512
+ parent() {
2513
+ try {
2514
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2515
+ i.lorotreenode_parent(r, this.__wbg_ptr);
2516
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
2517
+ if (h().getInt32(r + 8, !0)) throw b(n);
2518
+ return t === 0 ? void 0 : e.__wrap(t);
2519
+ } finally{
2520
+ i.__wbindgen_add_to_stack_pointer(16);
2521
+ }
2522
+ }
2523
+ creator() {
2524
+ return b(i.lorotreenode_creator(this.__wbg_ptr));
2525
+ }
2526
+ children() {
2527
+ return b(i.lorotreenode_children(this.__wbg_ptr));
2528
+ }
2529
+ moveAfter(t) {
2530
+ try {
2531
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2532
+ T(t, e), i.lorotreenode_moveAfter(r, this.__wbg_ptr, t.__wbg_ptr);
2533
+ var n = h().getInt32(r + 0, !0);
2534
+ if (h().getInt32(r + 4, !0)) throw b(n);
2535
+ } finally{
2536
+ i.__wbindgen_add_to_stack_pointer(16);
2537
+ }
2538
+ }
2539
+ };
2540
+ _e = typeof FinalizationRegistry > `u` ? {
2541
+ register: ()=>{},
2542
+ unregister: ()=>{}
2543
+ } : new FinalizationRegistry((e)=>i.__wbg_undomanager_free(e >>> 0, 1));
2544
+ ve = class {
2545
+ __destroy_into_raw() {
2546
+ let e = this.__wbg_ptr;
2547
+ return this.__wbg_ptr = 0, _e.unregister(this), e;
2548
+ }
2549
+ free() {
2550
+ let e = this.__destroy_into_raw();
2551
+ i.__wbg_undomanager_free(e, 0);
2552
+ }
2553
+ groupStart() {
2554
+ try {
2555
+ let t = i.__wbindgen_add_to_stack_pointer(-16);
2556
+ i.undomanager_groupStart(t, this.__wbg_ptr);
2557
+ var e = h().getInt32(t + 0, !0);
2558
+ if (h().getInt32(t + 4, !0)) throw b(e);
2559
+ } finally{
2560
+ i.__wbindgen_add_to_stack_pointer(16);
2561
+ }
2562
+ }
2563
+ topRedoValue() {
2564
+ return b(i.undomanager_topRedoValue(this.__wbg_ptr));
2565
+ }
2566
+ topUndoValue() {
2567
+ return b(i.undomanager_topUndoValue(this.__wbg_ptr));
2568
+ }
2569
+ setMaxUndoSteps(e) {
2570
+ i.undomanager_setMaxUndoSteps(this.__wbg_ptr, e);
2571
+ }
2572
+ setMergeInterval(e) {
2573
+ i.undomanager_setMergeInterval(this.__wbg_ptr, e);
2574
+ }
2575
+ addExcludeOriginPrefix(e) {
2576
+ let t = p(e, i.__wbindgen_malloc, i.__wbindgen_realloc), n = c;
2577
+ i.undomanager_addExcludeOriginPrefix(this.__wbg_ptr, t, n);
2578
+ }
2579
+ constructor(e, t){
2580
+ T(e, z);
2581
+ let n = i.undomanager_new(e.__wbg_ptr, _(t));
2582
+ return this.__wbg_ptr = n >>> 0, _e.register(this, this.__wbg_ptr, this), this;
2583
+ }
2584
+ peer() {
2585
+ return b(i.undomanager_peer(this.__wbg_ptr));
2586
+ }
2587
+ redo() {
2588
+ try {
2589
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2590
+ i.undomanager_redo(n, this.__wbg_ptr);
2591
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2592
+ if (h().getInt32(n + 8, !0)) throw b(t);
2593
+ return e !== 0;
2594
+ } finally{
2595
+ i.__wbindgen_add_to_stack_pointer(16);
2596
+ }
2597
+ }
2598
+ undo() {
2599
+ try {
2600
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2601
+ i.undomanager_undo(n, this.__wbg_ptr);
2602
+ var e = h().getInt32(n + 0, !0), t = h().getInt32(n + 4, !0);
2603
+ if (h().getInt32(n + 8, !0)) throw b(t);
2604
+ return e !== 0;
2605
+ } finally{
2606
+ i.__wbindgen_add_to_stack_pointer(16);
2607
+ }
2608
+ }
2609
+ clear() {
2610
+ i.undomanager_clear(this.__wbg_ptr);
2611
+ }
2612
+ canRedo() {
2613
+ return i.undomanager_canRedo(this.__wbg_ptr) !== 0;
2614
+ }
2615
+ canUndo() {
2616
+ return i.undomanager_canUndo(this.__wbg_ptr) !== 0;
2617
+ }
2618
+ groupEnd() {
2619
+ i.undomanager_groupEnd(this.__wbg_ptr);
2620
+ }
2621
+ setOnPop(e) {
2622
+ i.undomanager_setOnPop(this.__wbg_ptr, _(e));
2623
+ }
2624
+ clearRedo() {
2625
+ i.undomanager_clearRedo(this.__wbg_ptr);
2626
+ }
2627
+ clearUndo() {
2628
+ i.undomanager_clearUndo(this.__wbg_ptr);
2629
+ }
2630
+ setOnPush(e) {
2631
+ i.undomanager_setOnPush(this.__wbg_ptr, _(e));
2632
+ }
2633
+ };
2634
+ Z = typeof FinalizationRegistry > `u` ? {
2635
+ register: ()=>{},
2636
+ unregister: ()=>{}
2637
+ } : new FinalizationRegistry((e)=>i.__wbg_versionvector_free(e >>> 0, 1));
2638
+ Q = class e {
2639
+ static __wrap(t) {
2640
+ t >>>= 0;
2641
+ let n = Object.create(e.prototype);
2642
+ return n.__wbg_ptr = t, Z.register(n, n.__wbg_ptr, n), n;
2643
+ }
2644
+ __destroy_into_raw() {
2645
+ let e = this.__wbg_ptr;
2646
+ return this.__wbg_ptr = 0, Z.unregister(this), e;
2647
+ }
2648
+ free() {
2649
+ let e = this.__destroy_into_raw();
2650
+ i.__wbg_versionvector_free(e, 0);
2651
+ }
2652
+ get(e) {
2653
+ try {
2654
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2655
+ i.versionvector_get(r, this.__wbg_ptr, _(e));
2656
+ var t = h().getFloat64(r + 0, !0), n = h().getInt32(r + 8, !0);
2657
+ if (h().getInt32(r + 12, !0)) throw b(n);
2658
+ return t === 4294967297 ? void 0 : t;
2659
+ } finally{
2660
+ i.__wbindgen_add_to_stack_pointer(16);
2661
+ }
2662
+ }
2663
+ constructor(e){
2664
+ try {
2665
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2666
+ i.versionvector_new(r, _(e));
2667
+ var t = h().getInt32(r + 0, !0), n = h().getInt32(r + 4, !0);
2668
+ if (h().getInt32(r + 8, !0)) throw b(n);
2669
+ return this.__wbg_ptr = t >>> 0, Z.register(this, this.__wbg_ptr, this), this;
2670
+ } finally{
2671
+ i.__wbindgen_add_to_stack_pointer(16);
2672
+ }
2673
+ }
2674
+ static decode(t) {
2675
+ try {
2676
+ let a = i.__wbindgen_add_to_stack_pointer(-16), o = O(t, i.__wbindgen_malloc), s = c;
2677
+ i.versionvector_decode(a, o, s);
2678
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2679
+ if (h().getInt32(a + 8, !0)) throw b(r);
2680
+ return e.__wrap(n);
2681
+ } finally{
2682
+ i.__wbindgen_add_to_stack_pointer(16);
2683
+ }
2684
+ }
2685
+ encode() {
2686
+ try {
2687
+ let r = i.__wbindgen_add_to_stack_pointer(-16);
2688
+ i.versionvector_encode(r, this.__wbg_ptr);
2689
+ var e = h().getInt32(r + 0, !0), t = h().getInt32(r + 4, !0), n = k(e, t).slice();
2690
+ return i.__wbindgen_free(e, t * 1, 1), n;
2691
+ } finally{
2692
+ i.__wbindgen_add_to_stack_pointer(16);
2693
+ }
2694
+ }
2695
+ length() {
2696
+ return i.versionvector_length(this.__wbg_ptr) >>> 0;
2697
+ }
2698
+ remove(e) {
2699
+ try {
2700
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2701
+ i.versionvector_remove(n, this.__wbg_ptr, _(e));
2702
+ var t = h().getInt32(n + 0, !0);
2703
+ if (h().getInt32(n + 4, !0)) throw b(t);
2704
+ } finally{
2705
+ i.__wbindgen_add_to_stack_pointer(16);
2706
+ }
2707
+ }
2708
+ setEnd(e) {
2709
+ try {
2710
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2711
+ i.versionvector_setEnd(n, this.__wbg_ptr, _(e));
2712
+ var t = h().getInt32(n + 0, !0);
2713
+ if (h().getInt32(n + 4, !0)) throw b(t);
2714
+ } finally{
2715
+ i.__wbindgen_add_to_stack_pointer(16);
2716
+ }
2717
+ }
2718
+ compare(t) {
2719
+ T(t, e);
2720
+ let n = i.versionvector_compare(this.__wbg_ptr, t.__wbg_ptr);
2721
+ return n === 4294967297 ? void 0 : n;
2722
+ }
2723
+ setLast(e) {
2724
+ try {
2725
+ let n = i.__wbindgen_add_to_stack_pointer(-16);
2726
+ i.versionvector_setLast(n, this.__wbg_ptr, _(e));
2727
+ var t = h().getInt32(n + 0, !0);
2728
+ if (h().getInt32(n + 4, !0)) throw b(t);
2729
+ } finally{
2730
+ i.__wbindgen_add_to_stack_pointer(16);
2731
+ }
2732
+ }
2733
+ toJSON() {
2734
+ return b(i.versionvector_toJSON(this.__wbg_ptr));
2735
+ }
2736
+ static parseJSON(t) {
2737
+ try {
2738
+ let a = i.__wbindgen_add_to_stack_pointer(-16);
2739
+ i.versionvector_parseJSON(a, _(t));
2740
+ var n = h().getInt32(a + 0, !0), r = h().getInt32(a + 4, !0);
2741
+ if (h().getInt32(a + 8, !0)) throw b(r);
2742
+ return e.__wrap(n);
2743
+ } finally{
2744
+ i.__wbindgen_add_to_stack_pointer(16);
2745
+ }
2746
+ }
2747
+ };
2748
+ function ye(e, t) {
2749
+ let n = p(String(s(t)), i.__wbindgen_malloc, i.__wbindgen_realloc), r = c;
2750
+ h().setInt32(e + 4, r, !0), h().setInt32(e + 0, n, !0);
2751
+ }
2752
+ function be() {
2753
+ return v(function(e, t, n) {
2754
+ return _(s(e).apply(s(t), s(n)));
2755
+ }, arguments);
2756
+ }
2757
+ function xe() {
2758
+ return v(function(e, t, n) {
2759
+ return _(Reflect.apply(s(e), s(t), s(n)));
2760
+ }, arguments);
2761
+ }
2762
+ function Se(e) {
2763
+ let t = s(e).buffer;
2764
+ return _(t);
2765
+ }
2766
+ function Ce() {
2767
+ return v(function(e, t) {
2768
+ return _(s(e).call(s(t)));
2769
+ }, arguments);
2770
+ }
2771
+ function we() {
2772
+ return v(function(e, t, n) {
2773
+ return _(s(e).call(s(t), s(n)));
2774
+ }, arguments);
2775
+ }
2776
+ function Te() {
2777
+ return v(function(e, t, n, r) {
2778
+ return _(s(e).call(s(t), s(n), s(r)));
2779
+ }, arguments);
2780
+ }
2781
+ function Ee() {
2782
+ return v(function(e, t, n, r, i) {
2783
+ return _(s(e).call(s(t), s(n), s(r), s(i)));
2784
+ }, arguments);
2785
+ }
2786
+ function De(e) {
2787
+ return _(me.__wrap(e));
2788
+ }
2789
+ function Oe(e) {
2790
+ let t = s(e).crypto;
2791
+ return _(t);
2792
+ }
2793
+ function ke(e) {
2794
+ return _(N.__wrap(e));
2795
+ }
2796
+ function Ae(e) {
2797
+ return s(e).done;
2798
+ }
2799
+ function je(e) {
2800
+ return _(Object.entries(s(e)));
2801
+ }
2802
+ function Me(e) {
2803
+ return _(s(e).entries());
2804
+ }
2805
+ function Ne(e, t) {
2806
+ let n, r;
2807
+ try {
2808
+ n = e, r = t, console.error(y(e, t));
2809
+ } finally{
2810
+ i.__wbindgen_free(n, r, 1);
2811
+ }
2812
+ }
2813
+ function Pe(e, t) {
2814
+ console.error(y(e, t));
2815
+ }
2816
+ function Fe(e) {
2817
+ return _(Array.from(s(e)));
2818
+ }
2819
+ function Ie(e) {
2820
+ return _(Object.getOwnPropertySymbols(s(e)));
2821
+ }
2822
+ function Le() {
2823
+ return v(function(e, t) {
2824
+ s(e).getRandomValues(s(t));
2825
+ }, arguments);
2826
+ }
2827
+ function Re() {
2828
+ return v(function(e, t) {
2829
+ return _(Reflect.get(s(e), s(t)));
2830
+ }, arguments);
2831
+ }
2832
+ function ze(e, t) {
2833
+ let n = s(e)[t >>> 0];
2834
+ return _(n);
2835
+ }
2836
+ function Be(e, t) {
2837
+ return s(e)[t >>> 0];
2838
+ }
2839
+ function Ve(e, t) {
2840
+ let n = s(e)[s(t)];
2841
+ return _(n);
2842
+ }
2843
+ function He(e) {
2844
+ let t;
2845
+ try {
2846
+ t = s(e) instanceof ArrayBuffer;
2847
+ } catch {
2848
+ t = !1;
2849
+ }
2850
+ return t;
2851
+ }
2852
+ function Ue(e) {
2853
+ let t;
2854
+ try {
2855
+ t = s(e) instanceof Map;
2856
+ } catch {
2857
+ t = !1;
2858
+ }
2859
+ return t;
2860
+ }
2861
+ function We(e) {
2862
+ let t;
2863
+ try {
2864
+ t = s(e) instanceof Object;
2865
+ } catch {
2866
+ t = !1;
2867
+ }
2868
+ return t;
2869
+ }
2870
+ function Ge(e) {
2871
+ let t;
2872
+ try {
2873
+ t = s(e) instanceof Uint8Array;
2874
+ } catch {
2875
+ t = !1;
2876
+ }
2877
+ return t;
2878
+ }
2879
+ function Ke(e) {
2880
+ return Array.isArray(s(e));
2881
+ }
2882
+ function qe(e) {
2883
+ return Number.isSafeInteger(s(e));
2884
+ }
2885
+ function Je() {
2886
+ let e = Symbol.iterator;
2887
+ return _(e);
2888
+ }
2889
+ function Ye(e) {
2890
+ return s(e).length;
2891
+ }
2892
+ function Xe(e) {
2893
+ return s(e).length;
2894
+ }
2895
+ function Ze(e, t, n, r, a, o, s, c) {
2896
+ let l, u;
2897
+ try {
2898
+ l = e, u = t, console.log(y(e, t), y(n, r), y(a, o), y(s, c));
2899
+ } finally{
2900
+ i.__wbindgen_free(l, u, 1);
2901
+ }
2902
+ }
2903
+ function Qe(e, t) {
2904
+ console.log(y(e, t));
2905
+ }
2906
+ function $e(e, t) {
2907
+ let n, r;
2908
+ try {
2909
+ n = e, r = t, console.log(y(e, t));
2910
+ } finally{
2911
+ i.__wbindgen_free(n, r, 1);
2912
+ }
2913
+ }
2914
+ function et(e) {
2915
+ return _(L.__wrap(e));
2916
+ }
2917
+ function tt(e) {
2918
+ return _(V.__wrap(e));
2919
+ }
2920
+ function nt(e) {
2921
+ return _(U.__wrap(e));
2922
+ }
2923
+ function rt(e) {
2924
+ return _(G.__wrap(e));
2925
+ }
2926
+ function it(e) {
2927
+ return _(q.__wrap(e));
2928
+ }
2929
+ function at(e) {
2930
+ return _(Y.__wrap(e));
2931
+ }
2932
+ function ot(e) {
2933
+ return _(X.__wrap(e));
2934
+ }
2935
+ function st(e, t) {
2936
+ performance.mark(y(e, t));
2937
+ }
2938
+ function ct() {
2939
+ return v(function(e, t, n, r) {
2940
+ let a, o, s, c;
2941
+ try {
2942
+ a = e, o = t, s = n, c = r, performance.measure(y(e, t), y(n, r));
2943
+ } finally{
2944
+ i.__wbindgen_free(a, o, 1), i.__wbindgen_free(s, c, 1);
2945
+ }
2946
+ }, arguments);
2947
+ }
2948
+ function lt(e) {
2949
+ let t = s(e).msCrypto;
2950
+ return _(t);
2951
+ }
2952
+ function ut() {
2953
+ return _({});
2954
+ }
2955
+ function dt() {
2956
+ return _(new Map);
2957
+ }
2958
+ function ft() {
2959
+ return _([]);
2960
+ }
2961
+ function pt() {
2962
+ return _(Error());
2963
+ }
2964
+ function mt(e) {
2965
+ return _(new Uint8Array(s(e)));
2966
+ }
2967
+ function ht(e, t) {
2968
+ return _(Function(y(e, t)));
2969
+ }
2970
+ function gt(e, t, n) {
2971
+ return _(new Uint8Array(s(e), t >>> 0, n >>> 0));
2972
+ }
2973
+ function _t(e) {
2974
+ return _(new Uint8Array(e >>> 0));
2975
+ }
2976
+ function vt(e) {
2977
+ return _(Array(e >>> 0));
2978
+ }
2979
+ function yt(e) {
2980
+ let t = s(e).next;
2981
+ return _(t);
2982
+ }
2983
+ function bt() {
2984
+ return v(function(e) {
2985
+ return _(s(e).next());
2986
+ }, arguments);
2987
+ }
2988
+ function xt(e) {
2989
+ let t = s(e).node;
2990
+ return _(t);
2991
+ }
2992
+ function St() {
2993
+ return Date.now();
2994
+ }
2995
+ function Ct() {
2996
+ return v(function(e) {
2997
+ return _(Reflect.ownKeys(s(e)));
2998
+ }, arguments);
2999
+ }
3000
+ function wt(e) {
3001
+ let t = s(e).process;
3002
+ return _(t);
3003
+ }
3004
+ function Tt(e, t) {
3005
+ return s(e).push(s(t));
3006
+ }
3007
+ function Et() {
3008
+ return v(function(e, t) {
3009
+ s(e).randomFillSync(b(t));
3010
+ }, arguments);
3011
+ }
3012
+ function Dt() {
3013
+ return v(function() {
3014
+ let e = module.require;
3015
+ return _(e);
3016
+ }, arguments);
3017
+ }
3018
+ function Ot(e) {
3019
+ return _(Promise.resolve(s(e)));
3020
+ }
3021
+ function kt(e, t, n) {
3022
+ s(e)[t >>> 0] = b(n);
3023
+ }
3024
+ function At(e, t, n) {
3025
+ s(e)[b(t)] = b(n);
3026
+ }
3027
+ function jt(e, t, n) {
3028
+ s(e).set(s(t), n >>> 0);
3029
+ }
3030
+ function Mt(e, t, n) {
3031
+ return _(s(e).set(s(t), s(n)));
3032
+ }
3033
+ function Nt() {
3034
+ return v(function(e, t, n) {
3035
+ return Reflect.set(s(e), s(t), s(n));
3036
+ }, arguments);
3037
+ }
3038
+ function Pt(e, t, n) {
3039
+ s(e)[t >>> 0] = n;
3040
+ }
3041
+ function Ft(e, t) {
3042
+ let n = s(t).stack, r = p(n, i.__wbindgen_malloc, i.__wbindgen_realloc), a = c;
3043
+ h().setInt32(e + 4, a, !0), h().setInt32(e + 0, r, !0);
3044
+ }
3045
+ function It() {
3046
+ let e = typeof global > `u` ? null : global;
3047
+ return x(e) ? 0 : _(e);
3048
+ }
3049
+ function Lt() {
3050
+ let e = typeof globalThis > `u` ? null : globalThis;
3051
+ return x(e) ? 0 : _(e);
3052
+ }
3053
+ function Rt() {
3054
+ let e = typeof self > `u` ? null : self;
3055
+ return x(e) ? 0 : _(e);
3056
+ }
3057
+ function zt() {
3058
+ let e = typeof window > `u` ? null : window;
3059
+ return x(e) ? 0 : _(e);
3060
+ }
3061
+ function Bt(e, t, n) {
3062
+ return _(s(e).subarray(t >>> 0, n >>> 0));
3063
+ }
3064
+ function Vt(e, t) {
3065
+ return _(s(e).then(s(t)));
3066
+ }
3067
+ function Ht(e) {
3068
+ let t = s(e).value;
3069
+ return _(t);
3070
+ }
3071
+ function Ut(e) {
3072
+ let t = s(e).versions;
3073
+ return _(t);
3074
+ }
3075
+ function Wt(e) {
3076
+ return _(Q.__wrap(e));
3077
+ }
3078
+ function Gt(e, t) {
3079
+ console.warn(y(e, t));
3080
+ }
3081
+ function Kt(e) {
3082
+ return +s(e);
3083
+ }
3084
+ function qt(e) {
3085
+ return _(e);
3086
+ }
3087
+ function Jt(e) {
3088
+ return _(BigInt.asUintN(64, e));
3089
+ }
3090
+ function Yt(e, t) {
3091
+ let n = s(t), r = typeof n == `bigint` ? n : void 0;
3092
+ h().setBigInt64(e + 8, x(r) ? BigInt(0) : r, !0), h().setInt32(e + 0, !x(r), !0);
3093
+ }
3094
+ function Xt(e) {
3095
+ let t = s(e);
3096
+ return typeof t == `boolean` ? +!!t : 2;
3097
+ }
3098
+ function Zt(e) {
3099
+ let t = b(e).original;
3100
+ return t.cnt-- == 1 ? (t.a = 0, !0) : !1;
3101
+ }
3102
+ function Qt(e, t, n) {
3103
+ return _(C(e, t, 10, le));
3104
+ }
3105
+ function $t(e, t, n) {
3106
+ return _(C(e, t, 10, ue));
3107
+ }
3108
+ function en(e, t) {
3109
+ let n = p(w(s(t)), i.__wbindgen_malloc, i.__wbindgen_realloc), r = c;
3110
+ h().setInt32(e + 4, r, !0), h().setInt32(e + 0, n, !0);
3111
+ }
3112
+ function tn(e, t) {
3113
+ return _(Error(y(e, t)));
3114
+ }
3115
+ function nn(e, t) {
3116
+ return s(e) in s(t);
3117
+ }
3118
+ function rn(e) {
3119
+ return Array.isArray(s(e));
3120
+ }
3121
+ function an(e) {
3122
+ return typeof s(e) == `bigint`;
3123
+ }
3124
+ function on(e) {
3125
+ return !s(e);
3126
+ }
3127
+ function sn(e) {
3128
+ return typeof s(e) == `function`;
3129
+ }
3130
+ function cn(e) {
3131
+ return s(e) === null;
3132
+ }
3133
+ function ln(e) {
3134
+ let t = s(e);
3135
+ return typeof t == `object` && !!t;
3136
+ }
3137
+ function un(e) {
3138
+ return typeof s(e) == `string`;
3139
+ }
3140
+ function dn(e) {
3141
+ return s(e) === void 0;
3142
+ }
3143
+ function fn(e, t) {
3144
+ return s(e) === s(t);
3145
+ }
3146
+ function pn(e, t) {
3147
+ return s(e) == s(t);
3148
+ }
3149
+ function mn() {
3150
+ let e = i.memory;
3151
+ return _(e);
3152
+ }
3153
+ function hn(e, t) {
3154
+ let n = s(t), r = typeof n == `number` ? n : void 0;
3155
+ h().setFloat64(e + 8, x(r) ? 0 : r, !0), h().setInt32(e + 0, !x(r), !0);
3156
+ }
3157
+ function gn(e) {
3158
+ return _(e);
3159
+ }
3160
+ function _n(e) {
3161
+ return _(s(e));
3162
+ }
3163
+ function vn(e) {
3164
+ b(e);
3165
+ }
3166
+ function yn(e) {
3167
+ throw b(e);
3168
+ }
3169
+ function bn(e, t) {
3170
+ let n = s(t), r = typeof n == `string` ? n : void 0;
3171
+ var a = x(r) ? 0 : p(r, i.__wbindgen_malloc, i.__wbindgen_realloc), o = c;
3172
+ h().setInt32(e + 4, o, !0), h().setInt32(e + 0, a, !0);
3173
+ }
3174
+ function xn(e, t) {
3175
+ return _(y(e, t));
3176
+ }
3177
+ function Sn(e, t) {
3178
+ throw Error(y(e, t));
3179
+ }
3180
+ function Cn(e) {
3181
+ return _(typeof s(e));
3182
+ }
3183
+ wn = e({
3184
+ LORO_VERSION: ()=>En,
3185
+ __wbg_awarenesswasm_free: ()=>Dn,
3186
+ __wbg_changemodifier_free: ()=>On,
3187
+ __wbg_cursor_free: ()=>kn,
3188
+ __wbg_ephemeralstorewasm_free: ()=>An,
3189
+ __wbg_lorocounter_free: ()=>jn,
3190
+ __wbg_lorodoc_free: ()=>Mn,
3191
+ __wbg_lorolist_free: ()=>Nn,
3192
+ __wbg_loromap_free: ()=>Pn,
3193
+ __wbg_loromovablelist_free: ()=>gc,
3194
+ __wbg_lorotext_free: ()=>Fn,
3195
+ __wbg_lorotree_free: ()=>In,
3196
+ __wbg_lorotreenode_free: ()=>Ln,
3197
+ __wbg_undomanager_free: ()=>Rn,
3198
+ __wbg_versionvector_free: ()=>zn,
3199
+ __wbindgen_add_to_stack_pointer: ()=>wc,
3200
+ __wbindgen_exn_store: ()=>xc,
3201
+ __wbindgen_export_4: ()=>Cc,
3202
+ __wbindgen_free: ()=>Sc,
3203
+ __wbindgen_malloc: ()=>yc,
3204
+ __wbindgen_realloc: ()=>bc,
3205
+ __wbindgen_start: ()=>Dc,
3206
+ _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h23bd7b34cf0bced7: ()=>Tc,
3207
+ _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd82b624f21a7fa96: ()=>Ec,
3208
+ awarenesswasm_apply: ()=>Bn,
3209
+ awarenesswasm_encode: ()=>Vn,
3210
+ awarenesswasm_encodeAll: ()=>Hn,
3211
+ awarenesswasm_getAllStates: ()=>Un,
3212
+ awarenesswasm_getState: ()=>Wn,
3213
+ awarenesswasm_getTimestamp: ()=>Gn,
3214
+ awarenesswasm_isEmpty: ()=>Kn,
3215
+ awarenesswasm_length: ()=>qn,
3216
+ awarenesswasm_new: ()=>Jn,
3217
+ awarenesswasm_peer: ()=>Yn,
3218
+ awarenesswasm_peers: ()=>Xn,
3219
+ awarenesswasm_removeOutdated: ()=>Zn,
3220
+ awarenesswasm_setLocalState: ()=>Qn,
3221
+ callPendingEvents: ()=>$n,
3222
+ changemodifier_setMessage: ()=>er,
3223
+ changemodifier_setTimestamp: ()=>tr,
3224
+ cursor_containerId: ()=>nr,
3225
+ cursor_decode: ()=>rr,
3226
+ cursor_encode: ()=>ir,
3227
+ cursor_kind: ()=>ar,
3228
+ cursor_pos: ()=>or,
3229
+ cursor_side: ()=>sr,
3230
+ decodeFrontiers: ()=>cr,
3231
+ decodeImportBlobMeta: ()=>lr,
3232
+ encodeFrontiers: ()=>ur,
3233
+ ephemeralstorewasm_apply: ()=>dr,
3234
+ ephemeralstorewasm_delete: ()=>fr,
3235
+ ephemeralstorewasm_encode: ()=>pr,
3236
+ ephemeralstorewasm_encodeAll: ()=>mr,
3237
+ ephemeralstorewasm_get: ()=>hr,
3238
+ ephemeralstorewasm_getAllStates: ()=>gr,
3239
+ ephemeralstorewasm_isEmpty: ()=>_r,
3240
+ ephemeralstorewasm_keys: ()=>vr,
3241
+ ephemeralstorewasm_new: ()=>yr,
3242
+ ephemeralstorewasm_removeOutdated: ()=>br,
3243
+ ephemeralstorewasm_set: ()=>xr,
3244
+ ephemeralstorewasm_subscribe: ()=>Sr,
3245
+ ephemeralstorewasm_subscribeLocalUpdates: ()=>Cr,
3246
+ lorocounter_decrement: ()=>wr,
3247
+ lorocounter_getAttached: ()=>Tr,
3248
+ lorocounter_getShallowValue: ()=>Er,
3249
+ lorocounter_id: ()=>Dr,
3250
+ lorocounter_increment: ()=>Or,
3251
+ lorocounter_isAttached: ()=>kr,
3252
+ lorocounter_kind: ()=>Ar,
3253
+ lorocounter_new: ()=>jr,
3254
+ lorocounter_parent: ()=>Mr,
3255
+ lorocounter_subscribe: ()=>Nr,
3256
+ lorocounter_toJSON: ()=>_c,
3257
+ lorocounter_value: ()=>vc,
3258
+ lorodoc_JSONPath: ()=>Pr,
3259
+ lorodoc_applyDiff: ()=>Fr,
3260
+ lorodoc_attach: ()=>Ir,
3261
+ lorodoc_changeCount: ()=>Lr,
3262
+ lorodoc_checkout: ()=>Rr,
3263
+ lorodoc_checkoutToLatest: ()=>zr,
3264
+ lorodoc_clearNextCommitOptions: ()=>Br,
3265
+ lorodoc_cmpFrontiers: ()=>Vr,
3266
+ lorodoc_cmpWithFrontiers: ()=>Hr,
3267
+ lorodoc_commit: ()=>Ur,
3268
+ lorodoc_configDefaultTextStyle: ()=>Wr,
3269
+ lorodoc_configTextStyle: ()=>Gr,
3270
+ lorodoc_debugHistory: ()=>Kr,
3271
+ lorodoc_deleteRootContainer: ()=>qr,
3272
+ lorodoc_detach: ()=>Jr,
3273
+ lorodoc_diff: ()=>Yr,
3274
+ lorodoc_export: ()=>Xr,
3275
+ lorodoc_exportJsonInIdSpan: ()=>Zr,
3276
+ lorodoc_exportJsonUpdates: ()=>Qr,
3277
+ lorodoc_findIdSpansBetween: ()=>$r,
3278
+ lorodoc_fork: ()=>ei,
3279
+ lorodoc_forkAt: ()=>ti,
3280
+ lorodoc_fromSnapshot: ()=>ni,
3281
+ lorodoc_frontiers: ()=>ri,
3282
+ lorodoc_frontiersToVV: ()=>ii,
3283
+ lorodoc_getAllChanges: ()=>ai,
3284
+ lorodoc_getByPath: ()=>oi,
3285
+ lorodoc_getChangeAt: ()=>si,
3286
+ lorodoc_getChangeAtLamport: ()=>ci,
3287
+ lorodoc_getChangedContainersIn: ()=>li,
3288
+ lorodoc_getContainerById: ()=>ui,
3289
+ lorodoc_getCounter: ()=>di,
3290
+ lorodoc_getCursorPos: ()=>fi,
3291
+ lorodoc_getDeepValueWithID: ()=>pi,
3292
+ lorodoc_getList: ()=>mi,
3293
+ lorodoc_getMap: ()=>hi,
3294
+ lorodoc_getMovableList: ()=>gi,
3295
+ lorodoc_getOpsInChange: ()=>_i,
3296
+ lorodoc_getPathToContainer: ()=>vi,
3297
+ lorodoc_getPendingTxnLength: ()=>yi,
3298
+ lorodoc_getShallowValue: ()=>bi,
3299
+ lorodoc_getText: ()=>xi,
3300
+ lorodoc_getTree: ()=>Si,
3301
+ lorodoc_getUncommittedOpsAsJson: ()=>Ci,
3302
+ lorodoc_hasContainer: ()=>wi,
3303
+ lorodoc_import: ()=>Ti,
3304
+ lorodoc_importBatch: ()=>Ei,
3305
+ lorodoc_importJsonUpdates: ()=>Di,
3306
+ lorodoc_importUpdateBatch: ()=>hc,
3307
+ lorodoc_isDetached: ()=>Oi,
3308
+ lorodoc_isDetachedEditingEnabled: ()=>ki,
3309
+ lorodoc_isShallow: ()=>Ai,
3310
+ lorodoc_new: ()=>ji,
3311
+ lorodoc_opCount: ()=>Mi,
3312
+ lorodoc_oplogFrontiers: ()=>Ni,
3313
+ lorodoc_oplogVersion: ()=>Pi,
3314
+ lorodoc_peerId: ()=>Fi,
3315
+ lorodoc_peerIdStr: ()=>Ii,
3316
+ lorodoc_revertTo: ()=>Li,
3317
+ lorodoc_setChangeMergeInterval: ()=>Ri,
3318
+ lorodoc_setDetachedEditing: ()=>zi,
3319
+ lorodoc_setHideEmptyRootContainers: ()=>Bi,
3320
+ lorodoc_setNextCommitMessage: ()=>Vi,
3321
+ lorodoc_setNextCommitOptions: ()=>Hi,
3322
+ lorodoc_setNextCommitOrigin: ()=>Ui,
3323
+ lorodoc_setNextCommitTimestamp: ()=>Wi,
3324
+ lorodoc_setPeerId: ()=>Gi,
3325
+ lorodoc_setRecordTimestamp: ()=>Ki,
3326
+ lorodoc_shallowSinceFrontiers: ()=>qi,
3327
+ lorodoc_shallowSinceVV: ()=>Ji,
3328
+ lorodoc_subscribe: ()=>Yi,
3329
+ lorodoc_subscribeFirstCommitFromPeer: ()=>Xi,
3330
+ lorodoc_subscribeJsonpath: ()=>Zi,
3331
+ lorodoc_subscribeLocalUpdates: ()=>Qi,
3332
+ lorodoc_subscribePreCommit: ()=>$i,
3333
+ lorodoc_toJSON: ()=>ea,
3334
+ lorodoc_travelChangeAncestors: ()=>ta,
3335
+ lorodoc_version: ()=>na,
3336
+ lorodoc_vvToFrontiers: ()=>ra,
3337
+ lorolist_clear: ()=>ia,
3338
+ lorolist_delete: ()=>aa,
3339
+ lorolist_get: ()=>oa,
3340
+ lorolist_getAttached: ()=>sa,
3341
+ lorolist_getCursor: ()=>ca,
3342
+ lorolist_getIdAt: ()=>la,
3343
+ lorolist_getShallowValue: ()=>ua,
3344
+ lorolist_id: ()=>da,
3345
+ lorolist_insert: ()=>fa,
3346
+ lorolist_insertContainer: ()=>pa,
3347
+ lorolist_isAttached: ()=>ma,
3348
+ lorolist_isDeleted: ()=>ha,
3349
+ lorolist_kind: ()=>ga,
3350
+ lorolist_length: ()=>_a,
3351
+ lorolist_new: ()=>va,
3352
+ lorolist_parent: ()=>ya,
3353
+ lorolist_pop: ()=>ba,
3354
+ lorolist_push: ()=>xa,
3355
+ lorolist_pushContainer: ()=>Sa,
3356
+ lorolist_subscribe: ()=>Ca,
3357
+ lorolist_toArray: ()=>wa,
3358
+ lorolist_toJSON: ()=>Ta,
3359
+ loromap_clear: ()=>Ea,
3360
+ loromap_delete: ()=>Da,
3361
+ loromap_entries: ()=>Oa,
3362
+ loromap_get: ()=>ka,
3363
+ loromap_getAttached: ()=>Aa,
3364
+ loromap_getLastEditor: ()=>ja,
3365
+ loromap_getOrCreateContainer: ()=>Ma,
3366
+ loromap_getShallowValue: ()=>Na,
3367
+ loromap_id: ()=>Pa,
3368
+ loromap_isAttached: ()=>Fa,
3369
+ loromap_isDeleted: ()=>Ia,
3370
+ loromap_keys: ()=>La,
3371
+ loromap_kind: ()=>Ra,
3372
+ loromap_new: ()=>za,
3373
+ loromap_parent: ()=>Ba,
3374
+ loromap_set: ()=>Va,
3375
+ loromap_setContainer: ()=>Ha,
3376
+ loromap_size: ()=>Ua,
3377
+ loromap_subscribe: ()=>Wa,
3378
+ loromap_toJSON: ()=>Ga,
3379
+ loromap_values: ()=>Ka,
3380
+ loromovablelist_clear: ()=>qa,
3381
+ loromovablelist_delete: ()=>Ja,
3382
+ loromovablelist_get: ()=>Ya,
3383
+ loromovablelist_getAttached: ()=>Xa,
3384
+ loromovablelist_getCreatorAt: ()=>Za,
3385
+ loromovablelist_getCursor: ()=>Qa,
3386
+ loromovablelist_getLastEditorAt: ()=>$a,
3387
+ loromovablelist_getLastMoverAt: ()=>eo,
3388
+ loromovablelist_getShallowValue: ()=>to,
3389
+ loromovablelist_id: ()=>no,
3390
+ loromovablelist_insert: ()=>ro,
3391
+ loromovablelist_insertContainer: ()=>io,
3392
+ loromovablelist_isAttached: ()=>ao,
3393
+ loromovablelist_isDeleted: ()=>oo,
3394
+ loromovablelist_kind: ()=>so,
3395
+ loromovablelist_length: ()=>co,
3396
+ loromovablelist_move: ()=>lo,
3397
+ loromovablelist_new: ()=>uo,
3398
+ loromovablelist_parent: ()=>fo,
3399
+ loromovablelist_pop: ()=>po,
3400
+ loromovablelist_push: ()=>mo,
3401
+ loromovablelist_pushContainer: ()=>ho,
3402
+ loromovablelist_set: ()=>go,
3403
+ loromovablelist_setContainer: ()=>_o,
3404
+ loromovablelist_subscribe: ()=>vo,
3405
+ loromovablelist_toArray: ()=>yo,
3406
+ loromovablelist_toJSON: ()=>bo,
3407
+ lorotext_applyDelta: ()=>xo,
3408
+ lorotext_charAt: ()=>So,
3409
+ lorotext_convertPos: ()=>Co,
3410
+ lorotext_delete: ()=>wo,
3411
+ lorotext_deleteUtf8: ()=>To,
3412
+ lorotext_getAttached: ()=>Eo,
3413
+ lorotext_getCursor: ()=>Do,
3414
+ lorotext_getEditorOf: ()=>Oo,
3415
+ lorotext_getShallowValue: ()=>ko,
3416
+ lorotext_id: ()=>Ao,
3417
+ lorotext_insert: ()=>jo,
3418
+ lorotext_insertUtf8: ()=>Mo,
3419
+ lorotext_isAttached: ()=>No,
3420
+ lorotext_isDeleted: ()=>Po,
3421
+ lorotext_iter: ()=>Fo,
3422
+ lorotext_kind: ()=>Io,
3423
+ lorotext_length: ()=>Lo,
3424
+ lorotext_mark: ()=>Ro,
3425
+ lorotext_new: ()=>zo,
3426
+ lorotext_parent: ()=>Bo,
3427
+ lorotext_push: ()=>Vo,
3428
+ lorotext_slice: ()=>Ho,
3429
+ lorotext_sliceDelta: ()=>Uo,
3430
+ lorotext_sliceDeltaUtf8: ()=>Wo,
3431
+ lorotext_splice: ()=>Go,
3432
+ lorotext_subscribe: ()=>Ko,
3433
+ lorotext_toDelta: ()=>qo,
3434
+ lorotext_toJSON: ()=>Jo,
3435
+ lorotext_toString: ()=>Yo,
3436
+ lorotext_unmark: ()=>Xo,
3437
+ lorotext_update: ()=>Zo,
3438
+ lorotext_updateByLine: ()=>Qo,
3439
+ lorotree_createNode: ()=>$o,
3440
+ lorotree_delete: ()=>es,
3441
+ lorotree_disableFractionalIndex: ()=>ts,
3442
+ lorotree_enableFractionalIndex: ()=>ns,
3443
+ lorotree_getAttached: ()=>rs,
3444
+ lorotree_getNodeByID: ()=>is,
3445
+ lorotree_getNodes: ()=>as,
3446
+ lorotree_getShallowValue: ()=>os,
3447
+ lorotree_has: ()=>ss,
3448
+ lorotree_id: ()=>cs,
3449
+ lorotree_isAttached: ()=>ls,
3450
+ lorotree_isDeleted: ()=>us,
3451
+ lorotree_isFractionalIndexEnabled: ()=>ds,
3452
+ lorotree_isNodeDeleted: ()=>fs,
3453
+ lorotree_kind: ()=>ps,
3454
+ lorotree_move: ()=>ms,
3455
+ lorotree_new: ()=>hs,
3456
+ lorotree_nodes: ()=>gs,
3457
+ lorotree_parent: ()=>_s,
3458
+ lorotree_roots: ()=>vs,
3459
+ lorotree_subscribe: ()=>ys,
3460
+ lorotree_toArray: ()=>bs,
3461
+ lorotree_toJSON: ()=>xs,
3462
+ lorotreenode___getClassname: ()=>Ss,
3463
+ lorotreenode_children: ()=>Cs,
3464
+ lorotreenode_createNode: ()=>ws,
3465
+ lorotreenode_creationId: ()=>Ts,
3466
+ lorotreenode_creator: ()=>Es,
3467
+ lorotreenode_data: ()=>Ds,
3468
+ lorotreenode_fractionalIndex: ()=>Os,
3469
+ lorotreenode_getLastMoveId: ()=>ks,
3470
+ lorotreenode_id: ()=>As,
3471
+ lorotreenode_index: ()=>js,
3472
+ lorotreenode_isDeleted: ()=>Ms,
3473
+ lorotreenode_move: ()=>Ns,
3474
+ lorotreenode_moveAfter: ()=>Ps,
3475
+ lorotreenode_moveBefore: ()=>Fs,
3476
+ lorotreenode_parent: ()=>Is,
3477
+ lorotreenode_toJSON: ()=>Ls,
3478
+ memory: ()=>Tn,
3479
+ redactJsonUpdates: ()=>Rs,
3480
+ run: ()=>zs,
3481
+ setDebug: ()=>Bs,
3482
+ undomanager_addExcludeOriginPrefix: ()=>Vs,
3483
+ undomanager_canRedo: ()=>Hs,
3484
+ undomanager_canUndo: ()=>Us,
3485
+ undomanager_clear: ()=>Ws,
3486
+ undomanager_clearRedo: ()=>Gs,
3487
+ undomanager_clearUndo: ()=>Ks,
3488
+ undomanager_groupEnd: ()=>qs,
3489
+ undomanager_groupStart: ()=>Js,
3490
+ undomanager_new: ()=>Ys,
3491
+ undomanager_peer: ()=>Xs,
3492
+ undomanager_redo: ()=>Zs,
3493
+ undomanager_setMaxUndoSteps: ()=>Qs,
3494
+ undomanager_setMergeInterval: ()=>$s,
3495
+ undomanager_setOnPop: ()=>ec,
3496
+ undomanager_setOnPush: ()=>$,
3497
+ undomanager_topRedoValue: ()=>tc,
3498
+ undomanager_topUndoValue: ()=>nc,
3499
+ undomanager_undo: ()=>rc,
3500
+ versionvector_compare: ()=>ic,
3501
+ versionvector_decode: ()=>ac,
3502
+ versionvector_encode: ()=>oc,
3503
+ versionvector_get: ()=>sc,
3504
+ versionvector_length: ()=>cc,
3505
+ versionvector_new: ()=>lc,
3506
+ versionvector_parseJSON: ()=>uc,
3507
+ versionvector_remove: ()=>dc,
3508
+ versionvector_setEnd: ()=>fc,
3509
+ versionvector_setLast: ()=>pc,
3510
+ versionvector_toJSON: ()=>mc
3511
+ });
3512
+ URL = globalThis.URL;
3513
+ ({ memory: Tn, LORO_VERSION: En, __wbg_awarenesswasm_free: Dn, __wbg_changemodifier_free: On, __wbg_cursor_free: kn, __wbg_ephemeralstorewasm_free: An, __wbg_lorocounter_free: jn, __wbg_lorodoc_free: Mn, __wbg_lorolist_free: Nn, __wbg_loromap_free: Pn, __wbg_lorotext_free: Fn, __wbg_lorotree_free: In, __wbg_lorotreenode_free: Ln, __wbg_undomanager_free: Rn, __wbg_versionvector_free: zn, awarenesswasm_apply: Bn, awarenesswasm_encode: Vn, awarenesswasm_encodeAll: Hn, awarenesswasm_getAllStates: Un, awarenesswasm_getState: Wn, awarenesswasm_getTimestamp: Gn, awarenesswasm_isEmpty: Kn, awarenesswasm_length: qn, awarenesswasm_new: Jn, awarenesswasm_peer: Yn, awarenesswasm_peers: Xn, awarenesswasm_removeOutdated: Zn, awarenesswasm_setLocalState: Qn, callPendingEvents: $n, changemodifier_setMessage: er, changemodifier_setTimestamp: tr, cursor_containerId: nr, cursor_decode: rr, cursor_encode: ir, cursor_kind: ar, cursor_pos: or, cursor_side: sr, decodeFrontiers: cr, decodeImportBlobMeta: lr, encodeFrontiers: ur, ephemeralstorewasm_apply: dr, ephemeralstorewasm_delete: fr, ephemeralstorewasm_encode: pr, ephemeralstorewasm_encodeAll: mr, ephemeralstorewasm_get: hr, ephemeralstorewasm_getAllStates: gr, ephemeralstorewasm_isEmpty: _r, ephemeralstorewasm_keys: vr, ephemeralstorewasm_new: yr, ephemeralstorewasm_removeOutdated: br, ephemeralstorewasm_set: xr, ephemeralstorewasm_subscribe: Sr, ephemeralstorewasm_subscribeLocalUpdates: Cr, lorocounter_decrement: wr, lorocounter_getAttached: Tr, lorocounter_getShallowValue: Er, lorocounter_id: Dr, lorocounter_increment: Or, lorocounter_isAttached: kr, lorocounter_kind: Ar, lorocounter_new: jr, lorocounter_parent: Mr, lorocounter_subscribe: Nr, lorodoc_JSONPath: Pr, lorodoc_applyDiff: Fr, lorodoc_attach: Ir, lorodoc_changeCount: Lr, lorodoc_checkout: Rr, lorodoc_checkoutToLatest: zr, lorodoc_clearNextCommitOptions: Br, lorodoc_cmpFrontiers: Vr, lorodoc_cmpWithFrontiers: Hr, lorodoc_commit: Ur, lorodoc_configDefaultTextStyle: Wr, lorodoc_configTextStyle: Gr, lorodoc_debugHistory: Kr, lorodoc_deleteRootContainer: qr, lorodoc_detach: Jr, lorodoc_diff: Yr, lorodoc_export: Xr, lorodoc_exportJsonInIdSpan: Zr, lorodoc_exportJsonUpdates: Qr, lorodoc_findIdSpansBetween: $r, lorodoc_fork: ei, lorodoc_forkAt: ti, lorodoc_fromSnapshot: ni, lorodoc_frontiers: ri, lorodoc_frontiersToVV: ii, lorodoc_getAllChanges: ai, lorodoc_getByPath: oi, lorodoc_getChangeAt: si, lorodoc_getChangeAtLamport: ci, lorodoc_getChangedContainersIn: li, lorodoc_getContainerById: ui, lorodoc_getCounter: di, lorodoc_getCursorPos: fi, lorodoc_getDeepValueWithID: pi, lorodoc_getList: mi, lorodoc_getMap: hi, lorodoc_getMovableList: gi, lorodoc_getOpsInChange: _i, lorodoc_getPathToContainer: vi, lorodoc_getPendingTxnLength: yi, lorodoc_getShallowValue: bi, lorodoc_getText: xi, lorodoc_getTree: Si, lorodoc_getUncommittedOpsAsJson: Ci, lorodoc_hasContainer: wi, lorodoc_import: Ti, lorodoc_importBatch: Ei, lorodoc_importJsonUpdates: Di, lorodoc_isDetached: Oi, lorodoc_isDetachedEditingEnabled: ki, lorodoc_isShallow: Ai, lorodoc_new: ji, lorodoc_opCount: Mi, lorodoc_oplogFrontiers: Ni, lorodoc_oplogVersion: Pi, lorodoc_peerId: Fi, lorodoc_peerIdStr: Ii, lorodoc_revertTo: Li, lorodoc_setChangeMergeInterval: Ri, lorodoc_setDetachedEditing: zi, lorodoc_setHideEmptyRootContainers: Bi, lorodoc_setNextCommitMessage: Vi, lorodoc_setNextCommitOptions: Hi, lorodoc_setNextCommitOrigin: Ui, lorodoc_setNextCommitTimestamp: Wi, lorodoc_setPeerId: Gi, lorodoc_setRecordTimestamp: Ki, lorodoc_shallowSinceFrontiers: qi, lorodoc_shallowSinceVV: Ji, lorodoc_subscribe: Yi, lorodoc_subscribeFirstCommitFromPeer: Xi, lorodoc_subscribeJsonpath: Zi, lorodoc_subscribeLocalUpdates: Qi, lorodoc_subscribePreCommit: $i, lorodoc_toJSON: ea, lorodoc_travelChangeAncestors: ta, lorodoc_version: na, lorodoc_vvToFrontiers: ra, lorolist_clear: ia, lorolist_delete: aa, lorolist_get: oa, lorolist_getAttached: sa, lorolist_getCursor: ca, lorolist_getIdAt: la, lorolist_getShallowValue: ua, lorolist_id: da, lorolist_insert: fa, lorolist_insertContainer: pa, lorolist_isAttached: ma, lorolist_isDeleted: ha, lorolist_kind: ga, lorolist_length: _a, lorolist_new: va, lorolist_parent: ya, lorolist_pop: ba, lorolist_push: xa, lorolist_pushContainer: Sa, lorolist_subscribe: Ca, lorolist_toArray: wa, lorolist_toJSON: Ta, loromap_clear: Ea, loromap_delete: Da, loromap_entries: Oa, loromap_get: ka, loromap_getAttached: Aa, loromap_getLastEditor: ja, loromap_getOrCreateContainer: Ma, loromap_getShallowValue: Na, loromap_id: Pa, loromap_isAttached: Fa, loromap_isDeleted: Ia, loromap_keys: La, loromap_kind: Ra, loromap_new: za, loromap_parent: Ba, loromap_set: Va, loromap_setContainer: Ha, loromap_size: Ua, loromap_subscribe: Wa, loromap_toJSON: Ga, loromap_values: Ka, loromovablelist_clear: qa, loromovablelist_delete: Ja, loromovablelist_get: Ya, loromovablelist_getAttached: Xa, loromovablelist_getCreatorAt: Za, loromovablelist_getCursor: Qa, loromovablelist_getLastEditorAt: $a, loromovablelist_getLastMoverAt: eo, loromovablelist_getShallowValue: to, loromovablelist_id: no, loromovablelist_insert: ro, loromovablelist_insertContainer: io, loromovablelist_isAttached: ao, loromovablelist_isDeleted: oo, loromovablelist_kind: so, loromovablelist_length: co, loromovablelist_move: lo, loromovablelist_new: uo, loromovablelist_parent: fo, loromovablelist_pop: po, loromovablelist_push: mo, loromovablelist_pushContainer: ho, loromovablelist_set: go, loromovablelist_setContainer: _o, loromovablelist_subscribe: vo, loromovablelist_toArray: yo, loromovablelist_toJSON: bo, lorotext_applyDelta: xo, lorotext_charAt: So, lorotext_convertPos: Co, lorotext_delete: wo, lorotext_deleteUtf8: To, lorotext_getAttached: Eo, lorotext_getCursor: Do, lorotext_getEditorOf: Oo, lorotext_getShallowValue: ko, lorotext_id: Ao, lorotext_insert: jo, lorotext_insertUtf8: Mo, lorotext_isAttached: No, lorotext_isDeleted: Po, lorotext_iter: Fo, lorotext_kind: Io, lorotext_length: Lo, lorotext_mark: Ro, lorotext_new: zo, lorotext_parent: Bo, lorotext_push: Vo, lorotext_slice: Ho, lorotext_sliceDelta: Uo, lorotext_sliceDeltaUtf8: Wo, lorotext_splice: Go, lorotext_subscribe: Ko, lorotext_toDelta: qo, lorotext_toJSON: Jo, lorotext_toString: Yo, lorotext_unmark: Xo, lorotext_update: Zo, lorotext_updateByLine: Qo, lorotree_createNode: $o, lorotree_delete: es, lorotree_disableFractionalIndex: ts, lorotree_enableFractionalIndex: ns, lorotree_getAttached: rs, lorotree_getNodeByID: is, lorotree_getNodes: as, lorotree_getShallowValue: os, lorotree_has: ss, lorotree_id: cs, lorotree_isAttached: ls, lorotree_isDeleted: us, lorotree_isFractionalIndexEnabled: ds, lorotree_isNodeDeleted: fs, lorotree_kind: ps, lorotree_move: ms, lorotree_new: hs, lorotree_nodes: gs, lorotree_parent: _s, lorotree_roots: vs, lorotree_subscribe: ys, lorotree_toArray: bs, lorotree_toJSON: xs, lorotreenode___getClassname: Ss, lorotreenode_children: Cs, lorotreenode_createNode: ws, lorotreenode_creationId: Ts, lorotreenode_creator: Es, lorotreenode_data: Ds, lorotreenode_fractionalIndex: Os, lorotreenode_getLastMoveId: ks, lorotreenode_id: As, lorotreenode_index: js, lorotreenode_isDeleted: Ms, lorotreenode_move: Ns, lorotreenode_moveAfter: Ps, lorotreenode_moveBefore: Fs, lorotreenode_parent: Is, lorotreenode_toJSON: Ls, redactJsonUpdates: Rs, run: zs, setDebug: Bs, undomanager_addExcludeOriginPrefix: Vs, undomanager_canRedo: Hs, undomanager_canUndo: Us, undomanager_clear: Ws, undomanager_clearRedo: Gs, undomanager_clearUndo: Ks, undomanager_groupEnd: qs, undomanager_groupStart: Js, undomanager_new: Ys, undomanager_peer: Xs, undomanager_redo: Zs, undomanager_setMaxUndoSteps: Qs, undomanager_setMergeInterval: $s, undomanager_setOnPop: ec, undomanager_setOnPush: $, undomanager_topRedoValue: tc, undomanager_topUndoValue: nc, undomanager_undo: rc, versionvector_compare: ic, versionvector_decode: ac, versionvector_encode: oc, versionvector_get: sc, versionvector_length: cc, versionvector_new: lc, versionvector_parseJSON: uc, versionvector_remove: dc, versionvector_setEnd: fc, versionvector_setLast: pc, versionvector_toJSON: mc, lorodoc_importUpdateBatch: hc, __wbg_loromovablelist_free: gc, lorocounter_toJSON: _c, lorocounter_value: vc, __wbindgen_malloc: yc, __wbindgen_realloc: bc, __wbindgen_exn_store: xc, __wbindgen_free: Sc, __wbindgen_export_4: Cc, __wbindgen_add_to_stack_pointer: wc, _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h23bd7b34cf0bced7: Tc, _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd82b624f21a7fa96: Ec, __wbindgen_start: Dc } = await n({
3514
+ "./loro_wasm_bg.js": {
3515
+ __wbindgen_object_drop_ref: vn,
3516
+ __wbg_lorotext_new: it,
3517
+ __wbg_lorotreenode_new: ot,
3518
+ __wbg_lorotree_new: at,
3519
+ __wbg_lorolist_new: tt,
3520
+ __wbg_loromap_new: nt,
3521
+ __wbg_cursor_new: ke,
3522
+ __wbg_loromovablelist_new: rt,
3523
+ __wbg_lorocounter_new: et,
3524
+ __wbg_changemodifier_new: De,
3525
+ __wbg_versionvector_new: Wt,
3526
+ __wbindgen_is_function: sn,
3527
+ __wbindgen_number_get: hn,
3528
+ __wbindgen_string_get: bn,
3529
+ __wbindgen_string_new: xn,
3530
+ __wbindgen_boolean_get: Xt,
3531
+ __wbindgen_error_new: tn,
3532
+ __wbindgen_object_clone_ref: _n,
3533
+ __wbg_error_fd027616b8006afa: Pe,
3534
+ __wbindgen_cb_drop: Zt,
3535
+ __wbindgen_is_undefined: dn,
3536
+ __wbindgen_in: nn,
3537
+ __wbindgen_is_bigint: an,
3538
+ __wbindgen_bigint_from_i64: qt,
3539
+ __wbindgen_jsval_eq: fn,
3540
+ __wbindgen_is_object: ln,
3541
+ __wbindgen_bigint_from_u64: Jt,
3542
+ __wbindgen_as_number: Kt,
3543
+ __wbindgen_number_new: gn,
3544
+ __wbindgen_is_string: un,
3545
+ __wbindgen_is_null: cn,
3546
+ __wbindgen_is_falsy: on,
3547
+ __wbindgen_typeof: Cn,
3548
+ __wbg_warn_5cdab1103c5473b2: Gt,
3549
+ __wbg_log_62fc5f7c674bfa10: Qe,
3550
+ __wbindgen_is_array: rn,
3551
+ __wbg_log_cb9e190acc5753fb: $e,
3552
+ __wbg_log_0cc1b7768397bcfe: Ze,
3553
+ __wbg_mark_7438147ce31e9d4b: st,
3554
+ __wbg_measure_fb7825c11612c823: ct,
3555
+ __wbg_new_8a6f238a6ece86ea: pt,
3556
+ __wbg_stack_0ed75d68575b0f3c: Ft,
3557
+ __wbg_error_7534b8e9a36f1ab4: Ne,
3558
+ __wbindgen_jsval_loose_eq: pn,
3559
+ __wbg_getwithrefkey_1dc361bd10053bfe: Ve,
3560
+ __wbg_set_3f1d0b984ed272ed: At,
3561
+ __wbg_String_8f0eb39a4a4c2f66: ye,
3562
+ __wbg_now_6727e3e536e11536: St,
3563
+ __wbg_crypto_574e78ad8b13b65f: Oe,
3564
+ __wbg_process_dc0fbacc7c1c06f7: wt,
3565
+ __wbg_versions_c01dfd4722a88165: Ut,
3566
+ __wbg_node_905d3e251edff8a2: xt,
3567
+ __wbg_require_60cc747a6bc5215a: Dt,
3568
+ __wbg_msCrypto_a61aeb35a24c1329: lt,
3569
+ __wbg_randomFillSync_ac0988aba3254290: Et,
3570
+ __wbg_getRandomValues_b8f5dbd5f3995a9e: Le,
3571
+ __wbg_new_5e0be73521bc8c17: dt,
3572
+ __wbg_new_78feb108b6472713: ft,
3573
+ __wbg_new_405e22f390576ce2: ut,
3574
+ __wbg_newnoargs_105ed471475aaf50: ht,
3575
+ __wbg_new_a12002a7f91c75be: mt,
3576
+ __wbg_buffer_609cc3eee51ed158: Se,
3577
+ __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a: gt,
3578
+ __wbg_length_a446193dc22c12f8: Ye,
3579
+ __wbg_newwithlength_a381634e90c276d4: _t,
3580
+ __wbg_set_65595bdd868b3009: jt,
3581
+ __wbg_subarray_aa9065fa9dc5df96: Bt,
3582
+ __wbg_getindex_5b00c274b05714aa: Be,
3583
+ __wbg_setindex_dcd71eabf405bde1: Pt,
3584
+ __wbg_done_769e5ede4b31c67b: Ae,
3585
+ __wbg_value_cd1ffa7b1ab794f1: Ht,
3586
+ __wbg_instanceof_Map_f3469ce2244d2430: Ue,
3587
+ __wbg_instanceof_Object_7f2dcef8f78644a4: We,
3588
+ __wbg_instanceof_Uint8Array_17156bcf118086a9: Ge,
3589
+ __wbg_instanceof_ArrayBuffer_e14585432e3737fc: He,
3590
+ __wbg_set_8fc6bf8a5b1071d1: Mt,
3591
+ __wbg_entries_c8a90a7ed73e84ce: Me,
3592
+ __wbg_newwithlength_c4c419ef0bc8a1f8: vt,
3593
+ __wbg_get_b9b93047fe3cf45b: ze,
3594
+ __wbg_set_37837023f3d740e8: kt,
3595
+ __wbg_from_2a5d3e218e67aa85: Fe,
3596
+ __wbg_length_e2d2a49132c1b256: Xe,
3597
+ __wbg_push_737cfc8c1432c2c6: Tt,
3598
+ __wbg_isArray_a1eab7e0d067391b: Ke,
3599
+ __wbg_isSafeInteger_343e2beeeece1bb0: qe,
3600
+ __wbg_getOwnPropertySymbols_97eebed6fe6e08be: Ie,
3601
+ __wbg_entries_3265d4158b33e5dc: je,
3602
+ __wbg_iterator_9a24c88df860dc65: Je,
3603
+ __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0: Lt,
3604
+ __wbg_call_672a4d21634d4a24: Ce,
3605
+ __wbg_static_accessor_SELF_37c5d418e4bf5819: Rt,
3606
+ __wbg_static_accessor_GLOBAL_88a902d13a557d07: It,
3607
+ __wbg_static_accessor_WINDOW_5de37043a91a9c40: zt,
3608
+ __wbg_then_44b73946d2fb3e7d: Vt,
3609
+ __wbg_resolve_4851785c9c5f573d: Ot,
3610
+ __wbg_get_67b2ba62fc30de12: Re,
3611
+ __wbg_set_bb8cecf6a62b9f46: Nt,
3612
+ __wbg_apply_eb9e9b97497f91e4: xe,
3613
+ __wbg_ownKeys_3930041068756f1f: Ct,
3614
+ __wbg_apply_36be6a55257c99bf: be,
3615
+ __wbg_call_7cccdd69e0791ae2: we,
3616
+ __wbg_call_833bed5770ea2041: Te,
3617
+ __wbg_call_b8adc8b1d0a0d8eb: Ee,
3618
+ __wbg_next_25feadfc0913fea9: yt,
3619
+ __wbg_next_6574e1a8a62d1055: bt,
3620
+ __wbindgen_bigint_get_as_i64: Yt,
3621
+ __wbindgen_memory: mn,
3622
+ __wbindgen_throw: Sn,
3623
+ __wbindgen_rethrow: yn,
3624
+ __wbindgen_debug_string: en,
3625
+ __wbindgen_closure_wrapper746: Qt,
3626
+ __wbindgen_closure_wrapper748: $t
3627
+ }
3628
+ }, t));
3629
+ })();
3630
+ export { mr as $, lc as $a, ds as $i, ua as $n, uo as $r, di as $t, Gn as A, Vs as Aa, Ho as Ai, Vi as An, Va as Ar, Hr as At, tr as B, Zs as Ba, Qo as Bi, Zi as Bn, Za as Br, Qr as Bt, Tc as C, Fs as Ca, Fo as Ci, Pi as Cn, Pa as Cr, Fr as Ct, Hn as D, Rs as Da, zo as Di, Ri as Dn, Ra as Dr, zr as Dt, Vn as E, Tn as Ea, Ro as Ei, Li as En, La as Er, Rr as Et, Xn as F, Ks as Fa, qo as Fi, Ki as Fn, Ka as Fr, qr as Ft, or as G, tc as Ga, rs as Gi, na as Gn, no as Gr, ri as Gt, rr as H, $s as Ha, es as Hi, $i as Hn, $a as Hr, ei as Ht, Zn as I, qs as Ia, Jo as Ii, qi as In, qa as Ir, Jr as It, lr as J, ic as Ja, os as Ji, aa as Jn, ao as Jr, oi as Jt, sr as K, nc as Ka, is as Ki, ra as Kn, ro as Kr, ii as Kt, Qn as L, Js as La, Yo as Li, Ji as Ln, Ja as Lr, Yr as Lt, qn as M, Us as Ma, Wo as Mi, Ui as Mn, Ua as Mr, Wr as Mt, Jn as N, Ws as Na, Go as Ni, Wi as Nn, Wa as Nr, Gr as Nt, Un as O, zs as Oa, Bo as Oi, zi as On, za as Or, Br as Ot, Yn as P, Gs as Pa, Ko as Pi, Gi as Pn, Ga as Pr, Kr as Pt, pr as Q, cc as Qa, us as Qi, la as Qn, lo as Qr, ui as Qt, $n as R, Ys as Ra, Xo as Ri, Yi as Rn, Ya as Rr, Xr as Rt, Dc as S, Ps as Sa, Po as Si, Ni as Sn, Na as Sr, Pr as St, Bn as T, Ls as Ta, Lo as Ti, Ii as Tn, Ia as Tr, Lr as Tt, ir as U, ec as Ua, ts as Ui, ea as Un, eo as Ur, ti as Ut, nr as V, Qs as Va, $o as Vi, Qi as Vn, Qa as Vr, $r as Vt, ar as W, $ as Wa, ns as Wi, ta as Wn, to as Wr, ni as Wt, dr as X, oc as Xa, cs as Xi, sa as Xn, so as Xr, ci as Xt, ur as Y, ac as Ya, ss as Yi, oa as Yn, oo as Yr, si as Yt, fr as Z, sc as Za, ls as Zi, ca as Zn, co as Zr, li as Zt, xc as _, ks as _a, ko as _i, Oi as _n, Oa as _r, jr as _t, An as a, _s as aa, _o as ai, _i as an, F as ao, ga as ar, br as at, yc as b, Ms as ba, Mo as bi, ji as bn, ja as br, _c as bt, Nn as c, bs as ca, bo as ci, bi as cn, U as co, ya as cr, Cr as ct, Fn as d, Cs as da, Co as di, Ci as dn, Y as do, Sa as dr, Tr as dt, fs as ea, fo as ei, fi as en, uc as eo, da as er, hr as et, In as f, ws as fa, wo as fi, wi as fn, ve as fo, Ca as fr, Er as ft, wc as g, Os as ga, Oo as gi, hc as gn, Da as gr, Ar as gt, zn as h, Ds as ha, Do as hi, Di as hn, r as ho, Ea as hr, kr as ht, kn as i, gs as ia, go as ii, gi as in, mc as io, ha as ir, yr as it, Kn as j, Hs as ja, Uo as ji, Hi as jn, Ha as jr, Ur as jt, Wn as k, Bs as ka, Vo as ki, Bi as kn, Ba as kr, Vr as kt, Pn as l, xs as la, xo as li, xi as ln, G as lo, ba as lr, wn as lt, Rn as m, Es as ma, Eo as mi, Ei as mn, M as mo, Ta as mr, Or as mt, Dn as n, ms as na, mo as ni, mi as nn, fc as no, pa as nr, _r as nt, jn as o, vs as oa, vo as oi, vi as on, z as oo, _a as or, xr as ot, Ln as p, Ts as pa, To as pi, Ti as pn, a as po, wa as pr, Dr as pt, cr as q, rc as qa, as as qi, ia as qn, io as qr, ai as qt, On as r, hs as ra, ho as ri, hi as rn, pc as ro, ma as rr, vr as rt, Mn as s, ys as sa, yo as si, yi as sn, V as so, va as sr, Sr as st, En as t, ps as ta, po as ti, pi as tn, dc as to, fa as tr, gr as tt, gc as u, Ss as ua, So as ui, Si as un, q as uo, xa as ur, wr as ut, Cc as v, As as va, Ao as vi, ki as vn, ka as vr, Mr as vt, Ec as w, Is as wa, Io as wi, Fi as wn, Fa as wr, Ir as wt, bc as x, Ns as xa, No as xi, Mi as xn, Ma as xr, vc as xt, Sc as y, js as ya, jo as yi, Ai as yn, Aa as yr, Nr as yt, er as z, Xs as za, Zo as zi, Xi as zn, Xa as zr, Zr as zt, __tla };