@bitwarden/commercial-sdk-internal 0.2.0-main.373 → 0.2.0-main.375

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.
@@ -3,16 +3,6 @@ export function __wbg_set_wasm(val) {
3
3
  wasm = val;
4
4
  }
5
5
 
6
- const heap = new Array(128).fill(undefined);
7
-
8
- heap.push(undefined, null, true, false);
9
-
10
- function getObject(idx) {
11
- return heap[idx];
12
- }
13
-
14
- let WASM_VECTOR_LEN = 0;
15
-
16
6
  let cachedUint8ArrayMemory0 = null;
17
7
 
18
8
  function getUint8ArrayMemory0() {
@@ -22,24 +12,60 @@ function getUint8ArrayMemory0() {
22
12
  return cachedUint8ArrayMemory0;
23
13
  }
24
14
 
25
- const lTextEncoder =
26
- typeof TextEncoder === "undefined" ? (0, module.require)("util").TextEncoder : TextEncoder;
15
+ let cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
27
16
 
28
- let cachedTextEncoder = new lTextEncoder("utf-8");
17
+ cachedTextDecoder.decode();
29
18
 
30
- const encodeString =
31
- typeof cachedTextEncoder.encodeInto === "function"
32
- ? function (arg, view) {
33
- return cachedTextEncoder.encodeInto(arg, view);
34
- }
35
- : function (arg, view) {
36
- const buf = cachedTextEncoder.encode(arg);
37
- view.set(buf);
38
- return {
39
- read: arg.length,
40
- written: buf.length,
41
- };
42
- };
19
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
20
+ let numBytesDecoded = 0;
21
+ function decodeText(ptr, len) {
22
+ numBytesDecoded += len;
23
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
24
+ cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
25
+ cachedTextDecoder.decode();
26
+ numBytesDecoded = len;
27
+ }
28
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
29
+ }
30
+
31
+ function getStringFromWasm0(ptr, len) {
32
+ ptr = ptr >>> 0;
33
+ return decodeText(ptr, len);
34
+ }
35
+
36
+ let heap = new Array(128).fill(undefined);
37
+
38
+ heap.push(undefined, null, true, false);
39
+
40
+ let heap_next = heap.length;
41
+
42
+ function addHeapObject(obj) {
43
+ if (heap_next === heap.length) heap.push(heap.length + 1);
44
+ const idx = heap_next;
45
+ heap_next = heap[idx];
46
+
47
+ heap[idx] = obj;
48
+ return idx;
49
+ }
50
+
51
+ function getObject(idx) {
52
+ return heap[idx];
53
+ }
54
+
55
+ let WASM_VECTOR_LEN = 0;
56
+
57
+ const cachedTextEncoder = new TextEncoder();
58
+
59
+ if (!("encodeInto" in cachedTextEncoder)) {
60
+ cachedTextEncoder.encodeInto = function (arg, view) {
61
+ const buf = cachedTextEncoder.encode(arg);
62
+ view.set(buf);
63
+ return {
64
+ read: arg.length,
65
+ written: buf.length,
66
+ };
67
+ };
68
+ }
43
69
 
44
70
  function passStringToWasm0(arg, malloc, realloc) {
45
71
  if (realloc === undefined) {
@@ -71,7 +97,7 @@ function passStringToWasm0(arg, malloc, realloc) {
71
97
  }
72
98
  ptr = realloc(ptr, len, (len = offset + arg.length * 3), 1) >>> 0;
73
99
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
74
- const ret = encodeString(arg, view);
100
+ const ret = cachedTextEncoder.encodeInto(arg, view);
75
101
 
76
102
  offset += ret.written;
77
103
  ptr = realloc(ptr, len, offset, 1) >>> 0;
@@ -95,90 +121,10 @@ function getDataViewMemory0() {
95
121
  return cachedDataViewMemory0;
96
122
  }
97
123
 
98
- let heap_next = heap.length;
99
-
100
- function addHeapObject(obj) {
101
- if (heap_next === heap.length) heap.push(heap.length + 1);
102
- const idx = heap_next;
103
- heap_next = heap[idx];
104
-
105
- heap[idx] = obj;
106
- return idx;
107
- }
108
-
109
- function handleError(f, args) {
110
- try {
111
- return f.apply(this, args);
112
- } catch (e) {
113
- wasm.__wbindgen_exn_store(addHeapObject(e));
114
- }
115
- }
116
-
117
- const lTextDecoder =
118
- typeof TextDecoder === "undefined" ? (0, module.require)("util").TextDecoder : TextDecoder;
119
-
120
- let cachedTextDecoder = new lTextDecoder("utf-8", { ignoreBOM: true, fatal: true });
121
-
122
- cachedTextDecoder.decode();
123
-
124
- function getStringFromWasm0(ptr, len) {
125
- ptr = ptr >>> 0;
126
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
127
- }
128
-
129
124
  function isLikeNone(x) {
130
125
  return x === undefined || x === null;
131
126
  }
132
127
 
133
- function dropObject(idx) {
134
- if (idx < 132) return;
135
- heap[idx] = heap_next;
136
- heap_next = idx;
137
- }
138
-
139
- function takeObject(idx) {
140
- const ret = getObject(idx);
141
- dropObject(idx);
142
- return ret;
143
- }
144
-
145
- function getArrayU8FromWasm0(ptr, len) {
146
- ptr = ptr >>> 0;
147
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
148
- }
149
-
150
- const CLOSURE_DTORS =
151
- typeof FinalizationRegistry === "undefined"
152
- ? { register: () => {}, unregister: () => {} }
153
- : new FinalizationRegistry((state) => {
154
- wasm.__wbindgen_export_4.get(state.dtor)(state.a, state.b);
155
- });
156
-
157
- function makeMutClosure(arg0, arg1, dtor, f) {
158
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
159
- const real = (...args) => {
160
- // First up with a closure we increment the internal reference
161
- // count. This ensures that the Rust closure environment won't
162
- // be deallocated while we're invoking it.
163
- state.cnt++;
164
- const a = state.a;
165
- state.a = 0;
166
- try {
167
- return f(a, state.b, ...args);
168
- } finally {
169
- if (--state.cnt === 0) {
170
- wasm.__wbindgen_export_4.get(state.dtor)(a, state.b);
171
- CLOSURE_DTORS.unregister(state);
172
- } else {
173
- state.a = a;
174
- }
175
- }
176
- };
177
- real.original = state;
178
- CLOSURE_DTORS.register(real, state, state);
179
- return real;
180
- }
181
-
182
128
  function debugString(val) {
183
129
  // primitive types
184
130
  const type = typeof val;
@@ -243,6 +189,73 @@ function debugString(val) {
243
189
  // TODO we could test for more things here, like `Set`s and `Map`s.
244
190
  return className;
245
191
  }
192
+
193
+ function handleError(f, args) {
194
+ try {
195
+ return f.apply(this, args);
196
+ } catch (e) {
197
+ wasm.__wbindgen_exn_store(addHeapObject(e));
198
+ }
199
+ }
200
+
201
+ function dropObject(idx) {
202
+ if (idx < 132) return;
203
+ heap[idx] = heap_next;
204
+ heap_next = idx;
205
+ }
206
+
207
+ function takeObject(idx) {
208
+ const ret = getObject(idx);
209
+ dropObject(idx);
210
+ return ret;
211
+ }
212
+
213
+ function getArrayU8FromWasm0(ptr, len) {
214
+ ptr = ptr >>> 0;
215
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
216
+ }
217
+
218
+ const CLOSURE_DTORS =
219
+ typeof FinalizationRegistry === "undefined"
220
+ ? { register: () => {}, unregister: () => {} }
221
+ : new FinalizationRegistry((state) => state.dtor(state.a, state.b));
222
+
223
+ function makeMutClosure(arg0, arg1, dtor, f) {
224
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
225
+ const real = (...args) => {
226
+ // First up with a closure we increment the internal reference
227
+ // count. This ensures that the Rust closure environment won't
228
+ // be deallocated while we're invoking it.
229
+ state.cnt++;
230
+ const a = state.a;
231
+ state.a = 0;
232
+ try {
233
+ return f(a, state.b, ...args);
234
+ } finally {
235
+ state.a = a;
236
+ real._wbg_cb_unref();
237
+ }
238
+ };
239
+ real._wbg_cb_unref = () => {
240
+ if (--state.cnt === 0) {
241
+ state.dtor(state.a, state.b);
242
+ state.a = 0;
243
+ CLOSURE_DTORS.unregister(state);
244
+ }
245
+ };
246
+ CLOSURE_DTORS.register(real, state, state);
247
+ return real;
248
+ }
249
+
250
+ function getArrayJsValueFromWasm0(ptr, len) {
251
+ ptr = ptr >>> 0;
252
+ const mem = getDataViewMemory0();
253
+ const result = [];
254
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
255
+ result.push(takeObject(mem.getUint32(i, true)));
256
+ }
257
+ return result;
258
+ }
246
259
  /**
247
260
  * @param {LogLevel} level
248
261
  */
@@ -464,16 +477,6 @@ function passArrayJsValueToWasm0(array, malloc) {
464
477
  WASM_VECTOR_LEN = array.length;
465
478
  return ptr;
466
479
  }
467
-
468
- function getArrayJsValueFromWasm0(ptr, len) {
469
- ptr = ptr >>> 0;
470
- const mem = getDataViewMemory0();
471
- const result = [];
472
- for (let i = ptr; i < ptr + 4 * len; i += 4) {
473
- result.push(takeObject(mem.getUint32(i, true)));
474
- }
475
- return result;
476
- }
477
480
  /**
478
481
  * @param {any} error
479
482
  * @returns {boolean}
@@ -872,10 +875,22 @@ export function isEncryptFileError(error) {
872
875
  }
873
876
  }
874
877
 
875
- function __wbg_adapter_54(arg0, arg1, arg2) {
878
+ function wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1) {
879
+ wasm.wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01(arg0, arg1);
880
+ }
881
+
882
+ function wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009(arg0, arg1, arg2) {
883
+ wasm.wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009(
884
+ arg0,
885
+ arg1,
886
+ addHeapObject(arg2),
887
+ );
888
+ }
889
+
890
+ function wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52(arg0, arg1, arg2) {
876
891
  try {
877
892
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
878
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3daa5b4d8aa47cd(
893
+ wasm.wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52(
879
894
  retptr,
880
895
  arg0,
881
896
  arg1,
@@ -891,23 +906,8 @@ function __wbg_adapter_54(arg0, arg1, arg2) {
891
906
  }
892
907
  }
893
908
 
894
- function __wbg_adapter_57(arg0, arg1, arg2) {
895
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h65ba38d36075af32(
896
- arg0,
897
- arg1,
898
- addHeapObject(arg2),
899
- );
900
- }
901
-
902
- function __wbg_adapter_60(arg0, arg1) {
903
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d088d25aee734e6(
904
- arg0,
905
- arg1,
906
- );
907
- }
908
-
909
- function __wbg_adapter_357(arg0, arg1, arg2, arg3) {
910
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h849ee2a9e4ae2f91(
909
+ function wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(arg0, arg1, arg2, arg3) {
910
+ wasm.wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(
911
911
  arg0,
912
912
  arg1,
913
913
  addHeapObject(arg2),
@@ -1137,6 +1137,7 @@ export class AttachmentsClient {
1137
1137
  }
1138
1138
  }
1139
1139
  }
1140
+ if (Symbol.dispose) AttachmentsClient.prototype[Symbol.dispose] = AttachmentsClient.prototype.free;
1140
1141
 
1141
1142
  const AuthClientFinalization =
1142
1143
  typeof FinalizationRegistry === "undefined"
@@ -1182,6 +1183,7 @@ export class AuthClient {
1182
1183
  return SendAccessClient.__wrap(ret);
1183
1184
  }
1184
1185
  }
1186
+ if (Symbol.dispose) AuthClient.prototype[Symbol.dispose] = AuthClient.prototype.free;
1185
1187
 
1186
1188
  const BitwardenClientFinalization =
1187
1189
  typeof FinalizationRegistry === "undefined"
@@ -1346,6 +1348,7 @@ export class BitwardenClient {
1346
1348
  return ExporterClient.__wrap(ret);
1347
1349
  }
1348
1350
  }
1351
+ if (Symbol.dispose) BitwardenClient.prototype[Symbol.dispose] = BitwardenClient.prototype.free;
1349
1352
 
1350
1353
  const CipherRiskClientFinalization =
1351
1354
  typeof FinalizationRegistry === "undefined"
@@ -1428,6 +1431,7 @@ export class CipherRiskClient {
1428
1431
  return takeObject(ret);
1429
1432
  }
1430
1433
  }
1434
+ if (Symbol.dispose) CipherRiskClient.prototype[Symbol.dispose] = CipherRiskClient.prototype.free;
1431
1435
 
1432
1436
  const CiphersClientFinalization =
1433
1437
  typeof FinalizationRegistry === "undefined"
@@ -1743,6 +1747,7 @@ export class CiphersClient {
1743
1747
  }
1744
1748
  }
1745
1749
  }
1750
+ if (Symbol.dispose) CiphersClient.prototype[Symbol.dispose] = CiphersClient.prototype.free;
1746
1751
 
1747
1752
  const CollectionViewNodeItemFinalization =
1748
1753
  typeof FinalizationRegistry === "undefined"
@@ -1807,6 +1812,8 @@ export class CollectionViewNodeItem {
1807
1812
  return takeObject(ret);
1808
1813
  }
1809
1814
  }
1815
+ if (Symbol.dispose)
1816
+ CollectionViewNodeItem.prototype[Symbol.dispose] = CollectionViewNodeItem.prototype.free;
1810
1817
 
1811
1818
  const CollectionViewTreeFinalization =
1812
1819
  typeof FinalizationRegistry === "undefined"
@@ -1877,6 +1884,8 @@ export class CollectionViewTree {
1877
1884
  }
1878
1885
  }
1879
1886
  }
1887
+ if (Symbol.dispose)
1888
+ CollectionViewTree.prototype[Symbol.dispose] = CollectionViewTree.prototype.free;
1880
1889
 
1881
1890
  const CollectionsClientFinalization =
1882
1891
  typeof FinalizationRegistry === "undefined"
@@ -1960,6 +1969,7 @@ export class CollectionsClient {
1960
1969
  return CollectionViewTree.__wrap(ret);
1961
1970
  }
1962
1971
  }
1972
+ if (Symbol.dispose) CollectionsClient.prototype[Symbol.dispose] = CollectionsClient.prototype.free;
1963
1973
 
1964
1974
  const CommercialPasswordManagerClientFinalization =
1965
1975
  typeof FinalizationRegistry === "undefined"
@@ -1999,6 +2009,9 @@ export class CommercialPasswordManagerClient {
1999
2009
  return CommercialVaultClient.__wrap(ret);
2000
2010
  }
2001
2011
  }
2012
+ if (Symbol.dispose)
2013
+ CommercialPasswordManagerClient.prototype[Symbol.dispose] =
2014
+ CommercialPasswordManagerClient.prototype.free;
2002
2015
 
2003
2016
  const CommercialVaultClientFinalization =
2004
2017
  typeof FinalizationRegistry === "undefined"
@@ -2026,6 +2039,8 @@ export class CommercialVaultClient {
2026
2039
  wasm.__wbg_commercialvaultclient_free(ptr, 0);
2027
2040
  }
2028
2041
  }
2042
+ if (Symbol.dispose)
2043
+ CommercialVaultClient.prototype[Symbol.dispose] = CommercialVaultClient.prototype.free;
2029
2044
 
2030
2045
  const CryptoClientFinalization =
2031
2046
  typeof FinalizationRegistry === "undefined"
@@ -2269,6 +2284,7 @@ export class CryptoClient {
2269
2284
  }
2270
2285
  }
2271
2286
  }
2287
+ if (Symbol.dispose) CryptoClient.prototype[Symbol.dispose] = CryptoClient.prototype.free;
2272
2288
 
2273
2289
  const ExporterClientFinalization =
2274
2290
  typeof FinalizationRegistry === "undefined"
@@ -2450,6 +2466,7 @@ export class ExporterClient {
2450
2466
  }
2451
2467
  }
2452
2468
  }
2469
+ if (Symbol.dispose) ExporterClient.prototype[Symbol.dispose] = ExporterClient.prototype.free;
2453
2470
 
2454
2471
  const FoldersClientFinalization =
2455
2472
  typeof FinalizationRegistry === "undefined"
@@ -2584,6 +2601,7 @@ export class FoldersClient {
2584
2601
  return takeObject(ret);
2585
2602
  }
2586
2603
  }
2604
+ if (Symbol.dispose) FoldersClient.prototype[Symbol.dispose] = FoldersClient.prototype.free;
2587
2605
 
2588
2606
  const GeneratorClientFinalization =
2589
2607
  typeof FinalizationRegistry === "undefined"
@@ -2715,6 +2733,7 @@ export class GeneratorClient {
2715
2733
  }
2716
2734
  }
2717
2735
  }
2736
+ if (Symbol.dispose) GeneratorClient.prototype[Symbol.dispose] = GeneratorClient.prototype.free;
2718
2737
 
2719
2738
  const IdentityClientFinalization =
2720
2739
  typeof FinalizationRegistry === "undefined"
@@ -2744,6 +2763,7 @@ export class IdentityClient {
2744
2763
  wasm.__wbg_identityclient_free(ptr, 0);
2745
2764
  }
2746
2765
  }
2766
+ if (Symbol.dispose) IdentityClient.prototype[Symbol.dispose] = IdentityClient.prototype.free;
2747
2767
 
2748
2768
  const IncomingMessageFinalization =
2749
2769
  typeof FinalizationRegistry === "undefined"
@@ -2883,6 +2903,7 @@ export class IncomingMessage {
2883
2903
  return takeObject(ret);
2884
2904
  }
2885
2905
  }
2906
+ if (Symbol.dispose) IncomingMessage.prototype[Symbol.dispose] = IncomingMessage.prototype.free;
2886
2907
 
2887
2908
  const IpcClientFinalization =
2888
2909
  typeof FinalizationRegistry === "undefined"
@@ -2893,6 +2914,14 @@ const IpcClientFinalization =
2893
2914
  * [IpcClient] documentation.
2894
2915
  */
2895
2916
  export class IpcClient {
2917
+ static __wrap(ptr) {
2918
+ ptr = ptr >>> 0;
2919
+ const obj = Object.create(IpcClient.prototype);
2920
+ obj.__wbg_ptr = ptr;
2921
+ IpcClientFinalization.register(obj, obj.__wbg_ptr, obj);
2922
+ return obj;
2923
+ }
2924
+
2896
2925
  __destroy_into_raw() {
2897
2926
  const ptr = this.__wbg_ptr;
2898
2927
  this.__wbg_ptr = 0;
@@ -2905,14 +2934,30 @@ export class IpcClient {
2905
2934
  wasm.__wbg_ipcclient_free(ptr, 0);
2906
2935
  }
2907
2936
  /**
2937
+ * Create a new `IpcClient` instance with an in-memory session repository for saving
2938
+ * sessions within the SDK.
2908
2939
  * @param {IpcCommunicationBackend} communication_provider
2940
+ * @returns {IpcClient}
2909
2941
  */
2910
- constructor(communication_provider) {
2942
+ static newWithSdkInMemorySessions(communication_provider) {
2911
2943
  _assertClass(communication_provider, IpcCommunicationBackend);
2912
- const ret = wasm.ipcclient_new(communication_provider.__wbg_ptr);
2913
- this.__wbg_ptr = ret >>> 0;
2914
- IpcClientFinalization.register(this, this.__wbg_ptr, this);
2915
- return this;
2944
+ const ret = wasm.ipcclient_newWithSdkInMemorySessions(communication_provider.__wbg_ptr);
2945
+ return IpcClient.__wrap(ret);
2946
+ }
2947
+ /**
2948
+ * Create a new `IpcClient` instance with a client-managed session repository for saving
2949
+ * sessions using State Provider.
2950
+ * @param {IpcCommunicationBackend} communication_provider
2951
+ * @param {IpcSessionRepository} session_repository
2952
+ * @returns {IpcClient}
2953
+ */
2954
+ static newWithClientManagedSessions(communication_provider, session_repository) {
2955
+ _assertClass(communication_provider, IpcCommunicationBackend);
2956
+ const ret = wasm.ipcclient_newWithClientManagedSessions(
2957
+ communication_provider.__wbg_ptr,
2958
+ addHeapObject(session_repository),
2959
+ );
2960
+ return IpcClient.__wrap(ret);
2916
2961
  }
2917
2962
  /**
2918
2963
  * @returns {Promise<void>}
@@ -2946,6 +2991,7 @@ export class IpcClient {
2946
2991
  return takeObject(ret);
2947
2992
  }
2948
2993
  }
2994
+ if (Symbol.dispose) IpcClient.prototype[Symbol.dispose] = IpcClient.prototype.free;
2949
2995
 
2950
2996
  const IpcClientSubscriptionFinalization =
2951
2997
  typeof FinalizationRegistry === "undefined"
@@ -2987,6 +3033,8 @@ export class IpcClientSubscription {
2987
3033
  return takeObject(ret);
2988
3034
  }
2989
3035
  }
3036
+ if (Symbol.dispose)
3037
+ IpcClientSubscription.prototype[Symbol.dispose] = IpcClientSubscription.prototype.free;
2990
3038
 
2991
3039
  const IpcCommunicationBackendFinalization =
2992
3040
  typeof FinalizationRegistry === "undefined"
@@ -3037,6 +3085,8 @@ export class IpcCommunicationBackend {
3037
3085
  }
3038
3086
  }
3039
3087
  }
3088
+ if (Symbol.dispose)
3089
+ IpcCommunicationBackend.prototype[Symbol.dispose] = IpcCommunicationBackend.prototype.free;
3040
3090
 
3041
3091
  const OutgoingMessageFinalization =
3042
3092
  typeof FinalizationRegistry === "undefined"
@@ -3179,6 +3229,7 @@ export class OutgoingMessage {
3179
3229
  }
3180
3230
  }
3181
3231
  }
3232
+ if (Symbol.dispose) OutgoingMessage.prototype[Symbol.dispose] = OutgoingMessage.prototype.free;
3182
3233
 
3183
3234
  const PlatformClientFinalization =
3184
3235
  typeof FinalizationRegistry === "undefined"
@@ -3230,6 +3281,7 @@ export class PlatformClient {
3230
3281
  }
3231
3282
  }
3232
3283
  }
3284
+ if (Symbol.dispose) PlatformClient.prototype[Symbol.dispose] = PlatformClient.prototype.free;
3233
3285
 
3234
3286
  const PureCryptoFinalization =
3235
3287
  typeof FinalizationRegistry === "undefined"
@@ -4045,6 +4097,7 @@ export class PureCrypto {
4045
4097
  }
4046
4098
  }
4047
4099
  }
4100
+ if (Symbol.dispose) PureCrypto.prototype[Symbol.dispose] = PureCrypto.prototype.free;
4048
4101
 
4049
4102
  const SendAccessClientFinalization =
4050
4103
  typeof FinalizationRegistry === "undefined"
@@ -4086,6 +4139,7 @@ export class SendAccessClient {
4086
4139
  return takeObject(ret);
4087
4140
  }
4088
4141
  }
4142
+ if (Symbol.dispose) SendAccessClient.prototype[Symbol.dispose] = SendAccessClient.prototype.free;
4089
4143
 
4090
4144
  const StateClientFinalization =
4091
4145
  typeof FinalizationRegistry === "undefined"
@@ -4143,6 +4197,7 @@ export class StateClient {
4143
4197
  return takeObject(ret);
4144
4198
  }
4145
4199
  }
4200
+ if (Symbol.dispose) StateClient.prototype[Symbol.dispose] = StateClient.prototype.free;
4146
4201
 
4147
4202
  const TotpClientFinalization =
4148
4203
  typeof FinalizationRegistry === "undefined"
@@ -4207,6 +4262,7 @@ export class TotpClient {
4207
4262
  }
4208
4263
  }
4209
4264
  }
4265
+ if (Symbol.dispose) TotpClient.prototype[Symbol.dispose] = TotpClient.prototype.free;
4210
4266
 
4211
4267
  const VaultClientFinalization =
4212
4268
  typeof FinalizationRegistry === "undefined"
@@ -4282,6 +4338,17 @@ export class VaultClient {
4282
4338
  return CipherRiskClient.__wrap(ret);
4283
4339
  }
4284
4340
  }
4341
+ if (Symbol.dispose) VaultClient.prototype[Symbol.dispose] = VaultClient.prototype.free;
4342
+
4343
+ export function __wbg_Error_e83987f665cf5504(arg0, arg1) {
4344
+ const ret = Error(getStringFromWasm0(arg0, arg1));
4345
+ return addHeapObject(ret);
4346
+ }
4347
+
4348
+ export function __wbg_Number_bb48ca12f395cd08(arg0) {
4349
+ const ret = Number(getObject(arg0));
4350
+ return ret;
4351
+ }
4285
4352
 
4286
4353
  export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
4287
4354
  const ret = String(getObject(arg1));
@@ -4291,79 +4358,162 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
4291
4358
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4292
4359
  }
4293
4360
 
4294
- export function __wbg_abort_410ec47a64ac6117(arg0, arg1) {
4295
- getObject(arg0).abort(getObject(arg1));
4361
+ export function __wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd(arg0, arg1) {
4362
+ const v = getObject(arg1);
4363
+ const ret = typeof v === "bigint" ? v : undefined;
4364
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
4365
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
4296
4366
  }
4297
4367
 
4298
- export function __wbg_abort_775ef1d17fc65868(arg0) {
4299
- getObject(arg0).abort();
4368
+ export function __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68(arg0) {
4369
+ const v = getObject(arg0);
4370
+ const ret = typeof v === "boolean" ? v : undefined;
4371
+ return isLikeNone(ret) ? 0xffffff : ret ? 1 : 0;
4300
4372
  }
4301
4373
 
4302
- export function __wbg_abort_99fc644e2c79c9fb() {
4303
- return handleError(function (arg0) {
4304
- getObject(arg0).abort();
4305
- }, arguments);
4374
+ export function __wbg___wbindgen_debug_string_df47ffb5e35e6763(arg0, arg1) {
4375
+ const ret = debugString(getObject(arg1));
4376
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4377
+ const len1 = WASM_VECTOR_LEN;
4378
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4379
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4306
4380
  }
4307
4381
 
4308
- export function __wbg_addEventListener_dc3da056b615f634(arg0, arg1, arg2, arg3) {
4309
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
4382
+ export function __wbg___wbindgen_in_bb933bd9e1b3bc0f(arg0, arg1) {
4383
+ const ret = getObject(arg0) in getObject(arg1);
4384
+ return ret;
4310
4385
  }
4311
4386
 
4312
- export function __wbg_append_299d5d48292c0495() {
4313
- return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4314
- getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
4315
- }, arguments);
4387
+ export function __wbg___wbindgen_is_bigint_cb320707dcd35f0b(arg0) {
4388
+ const ret = typeof getObject(arg0) === "bigint";
4389
+ return ret;
4316
4390
  }
4317
4391
 
4318
- export function __wbg_append_8c7dd8d641a5f01b() {
4319
- return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4320
- getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
4321
- }, arguments);
4392
+ export function __wbg___wbindgen_is_function_ee8a6c5833c90377(arg0) {
4393
+ const ret = typeof getObject(arg0) === "function";
4394
+ return ret;
4322
4395
  }
4323
4396
 
4324
- export function __wbg_append_b2d1fc16de2a0e81() {
4325
- return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
4326
- getObject(arg0).append(
4327
- getStringFromWasm0(arg1, arg2),
4328
- getObject(arg3),
4329
- getStringFromWasm0(arg4, arg5),
4330
- );
4331
- }, arguments);
4397
+ export function __wbg___wbindgen_is_object_c818261d21f283a4(arg0) {
4398
+ const val = getObject(arg0);
4399
+ const ret = typeof val === "object" && val !== null;
4400
+ return ret;
4401
+ }
4402
+
4403
+ export function __wbg___wbindgen_is_string_fbb76cb2940daafd(arg0) {
4404
+ const ret = typeof getObject(arg0) === "string";
4405
+ return ret;
4406
+ }
4407
+
4408
+ export function __wbg___wbindgen_is_undefined_2d472862bd29a478(arg0) {
4409
+ const ret = getObject(arg0) === undefined;
4410
+ return ret;
4411
+ }
4412
+
4413
+ export function __wbg___wbindgen_jsval_eq_6b13ab83478b1c50(arg0, arg1) {
4414
+ const ret = getObject(arg0) === getObject(arg1);
4415
+ return ret;
4416
+ }
4417
+
4418
+ export function __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147(arg0, arg1) {
4419
+ const ret = getObject(arg0) == getObject(arg1);
4420
+ return ret;
4421
+ }
4422
+
4423
+ export function __wbg___wbindgen_number_get_a20bf9b85341449d(arg0, arg1) {
4424
+ const obj = getObject(arg1);
4425
+ const ret = typeof obj === "number" ? obj : undefined;
4426
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
4427
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
4428
+ }
4429
+
4430
+ export function __wbg___wbindgen_string_get_e4f06c90489ad01b(arg0, arg1) {
4431
+ const obj = getObject(arg1);
4432
+ const ret = typeof obj === "string" ? obj : undefined;
4433
+ var ptr1 = isLikeNone(ret)
4434
+ ? 0
4435
+ : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4436
+ var len1 = WASM_VECTOR_LEN;
4437
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4438
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4439
+ }
4440
+
4441
+ export function __wbg___wbindgen_throw_b855445ff6a94295(arg0, arg1) {
4442
+ throw new Error(getStringFromWasm0(arg0, arg1));
4443
+ }
4444
+
4445
+ export function __wbg__wbg_cb_unref_2454a539ea5790d9(arg0) {
4446
+ getObject(arg0)._wbg_cb_unref();
4447
+ }
4448
+
4449
+ export function __wbg_abort_28ad55c5825b004d(arg0, arg1) {
4450
+ getObject(arg0).abort(getObject(arg1));
4451
+ }
4452
+
4453
+ export function __wbg_abort_3b256cd5ad0ac232() {
4454
+ return handleError(function (arg0) {
4455
+ getObject(arg0).abort();
4456
+ }, arguments);
4457
+ }
4458
+
4459
+ export function __wbg_abort_e7eb059f72f9ed0c(arg0) {
4460
+ getObject(arg0).abort();
4461
+ }
4462
+
4463
+ export function __wbg_addEventListener_dc3da056b615f634(arg0, arg1, arg2, arg3) {
4464
+ getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
4465
+ }
4466
+
4467
+ export function __wbg_append_45ddba58b0706f62() {
4468
+ return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4469
+ getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
4470
+ }, arguments);
4471
+ }
4472
+
4473
+ export function __wbg_append_892c5e2d5bdd60ac() {
4474
+ return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
4475
+ getObject(arg0).append(
4476
+ getStringFromWasm0(arg1, arg2),
4477
+ getObject(arg3),
4478
+ getStringFromWasm0(arg4, arg5),
4479
+ );
4480
+ }, arguments);
4481
+ }
4482
+
4483
+ export function __wbg_append_b577eb3a177bc0fa() {
4484
+ return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4485
+ getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
4486
+ }, arguments);
4332
4487
  }
4333
4488
 
4334
- export function __wbg_append_b44785ebeb668479() {
4489
+ export function __wbg_append_cb0bba4cf263a60b() {
4335
4490
  return handleError(function (arg0, arg1, arg2, arg3) {
4336
4491
  getObject(arg0).append(getStringFromWasm0(arg1, arg2), getObject(arg3));
4337
4492
  }, arguments);
4338
4493
  }
4339
4494
 
4340
- export function __wbg_arrayBuffer_d1b44c4390db422f() {
4495
+ export function __wbg_arrayBuffer_b375eccb84b4ddf3() {
4341
4496
  return handleError(function (arg0) {
4342
4497
  const ret = getObject(arg0).arrayBuffer();
4343
4498
  return addHeapObject(ret);
4344
4499
  }, arguments);
4345
4500
  }
4346
4501
 
4347
- export function __wbg_buffer_609cc3eee51ed158(arg0) {
4348
- const ret = getObject(arg0).buffer;
4349
- return addHeapObject(ret);
4350
- }
4351
-
4352
- export function __wbg_call_672a4d21634d4a24() {
4353
- return handleError(function (arg0, arg1) {
4354
- const ret = getObject(arg0).call(getObject(arg1));
4502
+ export function __wbg_call_525440f72fbfc0ea() {
4503
+ return handleError(function (arg0, arg1, arg2) {
4504
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
4355
4505
  return addHeapObject(ret);
4356
4506
  }, arguments);
4357
4507
  }
4358
4508
 
4359
- export function __wbg_call_7cccdd69e0791ae2() {
4360
- return handleError(function (arg0, arg1, arg2) {
4361
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
4509
+ export function __wbg_call_e762c39fa8ea36bf() {
4510
+ return handleError(function (arg0, arg1) {
4511
+ const ret = getObject(arg0).call(getObject(arg1));
4362
4512
  return addHeapObject(ret);
4363
4513
  }, arguments);
4364
4514
  }
4365
4515
 
4366
- export function __wbg_cipher_a27a94359315cc93(arg0) {
4516
+ export function __wbg_cipher_eb520ade5d02e2c8(arg0) {
4367
4517
  const ret = getObject(arg0).cipher;
4368
4518
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4369
4519
  }
@@ -4378,7 +4528,7 @@ export function __wbg_collectionviewnodeitem_new(arg0) {
4378
4528
  return addHeapObject(ret);
4379
4529
  }
4380
4530
 
4381
- export function __wbg_createObjectStore_d2f9e1016f4d81b9() {
4531
+ export function __wbg_createObjectStore_283a43a822bf49ca() {
4382
4532
  return handleError(function (arg0, arg1, arg2, arg3) {
4383
4533
  const ret = getObject(arg0).createObjectStore(getStringFromWasm0(arg1, arg2), getObject(arg3));
4384
4534
  return addHeapObject(ret);
@@ -4390,26 +4540,33 @@ export function __wbg_crypto_574e78ad8b13b65f(arg0) {
4390
4540
  return addHeapObject(ret);
4391
4541
  }
4392
4542
 
4393
- export function __wbg_debug_e17b51583ca6a632(arg0, arg1, arg2, arg3) {
4543
+ export function __wbg_debug_e55e1461940eb14d(arg0, arg1, arg2, arg3) {
4394
4544
  console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
4395
4545
  }
4396
4546
 
4397
- export function __wbg_deleteObjectStore_3f08ae00cd288224() {
4547
+ export function __wbg_deleteObjectStore_444a266b213fafcf() {
4398
4548
  return handleError(function (arg0, arg1, arg2) {
4399
4549
  getObject(arg0).deleteObjectStore(getStringFromWasm0(arg1, arg2));
4400
4550
  }, arguments);
4401
4551
  }
4402
4552
 
4403
- export function __wbg_done_769e5ede4b31c67b(arg0) {
4553
+ export function __wbg_done_2042aa2670fb1db1(arg0) {
4404
4554
  const ret = getObject(arg0).done;
4405
4555
  return ret;
4406
4556
  }
4407
4557
 
4408
- export function __wbg_entries_3265d4158b33e5dc(arg0) {
4558
+ export function __wbg_entries_e171b586f8f6bdbf(arg0) {
4409
4559
  const ret = Object.entries(getObject(arg0));
4410
4560
  return addHeapObject(ret);
4411
4561
  }
4412
4562
 
4563
+ export function __wbg_error_3e929987fcd3e155() {
4564
+ return handleError(function (arg0) {
4565
+ const ret = getObject(arg0).error;
4566
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
4567
+ }, arguments);
4568
+ }
4569
+
4413
4570
  export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
4414
4571
  let deferred0_0;
4415
4572
  let deferred0_1;
@@ -4422,33 +4579,26 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
4422
4579
  }
4423
4580
  }
4424
4581
 
4425
- export function __wbg_error_80de38b3f7cc3c3c(arg0, arg1, arg2, arg3) {
4582
+ export function __wbg_error_d8b22cf4e59a6791(arg0, arg1, arg2, arg3) {
4426
4583
  console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
4427
4584
  }
4428
4585
 
4429
- export function __wbg_error_ff4ddaabdfc5dbb3() {
4430
- return handleError(function (arg0) {
4431
- const ret = getObject(arg0).error;
4432
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
4433
- }, arguments);
4434
- }
4435
-
4436
4586
  export function __wbg_fetch_3afbdcc7ddbf16fe(arg0) {
4437
4587
  const ret = fetch(getObject(arg0));
4438
4588
  return addHeapObject(ret);
4439
4589
  }
4440
4590
 
4441
- export function __wbg_fetch_509096533071c657(arg0, arg1) {
4591
+ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4442
4592
  const ret = getObject(arg0).fetch(getObject(arg1));
4443
4593
  return addHeapObject(ret);
4444
4594
  }
4445
4595
 
4446
- export function __wbg_folder_ff53d2d4dc2faf85(arg0) {
4596
+ export function __wbg_folder_a9c369db22013424(arg0) {
4447
4597
  const ret = getObject(arg0).folder;
4448
4598
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4449
4599
  }
4450
4600
 
4451
- export function __wbg_getFullYear_17d3c9e4db748eb7(arg0) {
4601
+ export function __wbg_getFullYear_8240d5a15191feae(arg0) {
4452
4602
  const ret = getObject(arg0).getFullYear();
4453
4603
  return ret;
4454
4604
  }
@@ -4465,12 +4615,22 @@ export function __wbg_getRandomValues_b8f5dbd5f3995a9e() {
4465
4615
  }, arguments);
4466
4616
  }
4467
4617
 
4468
- export function __wbg_getTime_46267b1c24877e30(arg0) {
4618
+ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4469
4619
  const ret = getObject(arg0).getTime();
4470
4620
  return ret;
4471
4621
  }
4472
4622
 
4473
- export function __wbg_get_669deafd63743335() {
4623
+ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4624
+ const ret = getObject(arg0)[arg1 >>> 0];
4625
+ return addHeapObject(ret);
4626
+ }
4627
+
4628
+ export function __wbg_get_access_token_2a6f3a7572a71513(arg0) {
4629
+ const ret = getObject(arg0).get_access_token();
4630
+ return addHeapObject(ret);
4631
+ }
4632
+
4633
+ export function __wbg_get_e964441f5ccb3c80() {
4474
4634
  return handleError(function (arg0, arg1, arg2) {
4475
4635
  let deferred0_0;
4476
4636
  let deferred0_1;
@@ -4485,14 +4645,7 @@ export function __wbg_get_669deafd63743335() {
4485
4645
  }, arguments);
4486
4646
  }
4487
4647
 
4488
- export function __wbg_get_67b2ba62fc30de12() {
4489
- return handleError(function (arg0, arg1) {
4490
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4491
- return addHeapObject(ret);
4492
- }, arguments);
4493
- }
4494
-
4495
- export function __wbg_get_ab004b7c5fd98da4() {
4648
+ export function __wbg_get_ec74c278e7438da5() {
4496
4649
  return handleError(function (arg0, arg1, arg2) {
4497
4650
  let deferred0_0;
4498
4651
  let deferred0_1;
@@ -4507,29 +4660,26 @@ export function __wbg_get_ab004b7c5fd98da4() {
4507
4660
  }, arguments);
4508
4661
  }
4509
4662
 
4510
- export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
4511
- const ret = getObject(arg0)[arg1 >>> 0];
4512
- return addHeapObject(ret);
4513
- }
4514
-
4515
- export function __wbg_getaccesstoken_005ebb39d33faf4d(arg0) {
4516
- const ret = getObject(arg0).get_access_token();
4517
- return addHeapObject(ret);
4663
+ export function __wbg_get_efcb449f58ec27c2() {
4664
+ return handleError(function (arg0, arg1) {
4665
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4666
+ return addHeapObject(ret);
4667
+ }, arguments);
4518
4668
  }
4519
4669
 
4520
- export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
4670
+ export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
4521
4671
  const ret = getObject(arg0)[getObject(arg1)];
4522
4672
  return addHeapObject(ret);
4523
4673
  }
4524
4674
 
4525
- export function __wbg_has_a5ea9117f258a0ec() {
4675
+ export function __wbg_has_787fafc980c3ccdb() {
4526
4676
  return handleError(function (arg0, arg1) {
4527
4677
  const ret = Reflect.has(getObject(arg0), getObject(arg1));
4528
4678
  return ret;
4529
4679
  }, arguments);
4530
4680
  }
4531
4681
 
4532
- export function __wbg_headers_9cb51cfd2ac780a4(arg0) {
4682
+ export function __wbg_headers_b87d7eaba61c3278(arg0) {
4533
4683
  const ret = getObject(arg0).headers;
4534
4684
  return addHeapObject(ret);
4535
4685
  }
@@ -4539,25 +4689,25 @@ export function __wbg_incomingmessage_new(arg0) {
4539
4689
  return addHeapObject(ret);
4540
4690
  }
4541
4691
 
4542
- export function __wbg_indexedDB_b1f49280282046f8() {
4692
+ export function __wbg_indexedDB_62bfbbd55ec74b14() {
4543
4693
  return handleError(function (arg0) {
4544
4694
  const ret = getObject(arg0).indexedDB;
4545
4695
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4546
4696
  }, arguments);
4547
4697
  }
4548
4698
 
4549
- export function __wbg_indexedDB_f6b47b0dc333fd2f() {
4699
+ export function __wbg_indexedDB_8b464318fe56681e() {
4550
4700
  return handleError(function (arg0) {
4551
4701
  const ret = getObject(arg0).indexedDB;
4552
4702
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4553
4703
  }, arguments);
4554
4704
  }
4555
4705
 
4556
- export function __wbg_info_033d8b8a0838f1d3(arg0, arg1, arg2, arg3) {
4706
+ export function __wbg_info_68cd5b51ef7e5137(arg0, arg1, arg2, arg3) {
4557
4707
  console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
4558
4708
  }
4559
4709
 
4560
- export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
4710
+ export function __wbg_instanceof_ArrayBuffer_70beb1189ca63b38(arg0) {
4561
4711
  let result;
4562
4712
  try {
4563
4713
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -4568,7 +4718,7 @@ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
4568
4718
  return ret;
4569
4719
  }
4570
4720
 
4571
- export function __wbg_instanceof_DomException_ed1ccb7aaf39034c(arg0) {
4721
+ export function __wbg_instanceof_DomException_83b15e7b042a0b1a(arg0) {
4572
4722
  let result;
4573
4723
  try {
4574
4724
  result = getObject(arg0) instanceof DOMException;
@@ -4579,7 +4729,7 @@ export function __wbg_instanceof_DomException_ed1ccb7aaf39034c(arg0) {
4579
4729
  return ret;
4580
4730
  }
4581
4731
 
4582
- export function __wbg_instanceof_IdbDatabase_a3ef009ca00059f9(arg0) {
4732
+ export function __wbg_instanceof_IdbDatabase_fcf75ffeeec3ec8c(arg0) {
4583
4733
  let result;
4584
4734
  try {
4585
4735
  result = getObject(arg0) instanceof IDBDatabase;
@@ -4590,7 +4740,7 @@ export function __wbg_instanceof_IdbDatabase_a3ef009ca00059f9(arg0) {
4590
4740
  return ret;
4591
4741
  }
4592
4742
 
4593
- export function __wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893(arg0) {
4743
+ export function __wbg_instanceof_IdbOpenDbRequest_08e4929084e51476(arg0) {
4594
4744
  let result;
4595
4745
  try {
4596
4746
  result = getObject(arg0) instanceof IDBOpenDBRequest;
@@ -4601,7 +4751,7 @@ export function __wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893(arg0) {
4601
4751
  return ret;
4602
4752
  }
4603
4753
 
4604
- export function __wbg_instanceof_IdbRequest_4813c3f207666aa4(arg0) {
4754
+ export function __wbg_instanceof_IdbRequest_26754883a3cc8f81(arg0) {
4605
4755
  let result;
4606
4756
  try {
4607
4757
  result = getObject(arg0) instanceof IDBRequest;
@@ -4612,7 +4762,7 @@ export function __wbg_instanceof_IdbRequest_4813c3f207666aa4(arg0) {
4612
4762
  return ret;
4613
4763
  }
4614
4764
 
4615
- export function __wbg_instanceof_Map_f3469ce2244d2430(arg0) {
4765
+ export function __wbg_instanceof_Map_8579b5e2ab5437c7(arg0) {
4616
4766
  let result;
4617
4767
  try {
4618
4768
  result = getObject(arg0) instanceof Map;
@@ -4623,7 +4773,7 @@ export function __wbg_instanceof_Map_f3469ce2244d2430(arg0) {
4623
4773
  return ret;
4624
4774
  }
4625
4775
 
4626
- export function __wbg_instanceof_Response_f2cc20d9f7dfd644(arg0) {
4776
+ export function __wbg_instanceof_Response_f4f3e87e07f3135c(arg0) {
4627
4777
  let result;
4628
4778
  try {
4629
4779
  result = getObject(arg0) instanceof Response;
@@ -4634,7 +4784,7 @@ export function __wbg_instanceof_Response_f2cc20d9f7dfd644(arg0) {
4634
4784
  return ret;
4635
4785
  }
4636
4786
 
4637
- export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
4787
+ export function __wbg_instanceof_Uint8Array_20c8e73002f7af98(arg0) {
4638
4788
  let result;
4639
4789
  try {
4640
4790
  result = getObject(arg0) instanceof Uint8Array;
@@ -4645,7 +4795,7 @@ export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
4645
4795
  return ret;
4646
4796
  }
4647
4797
 
4648
- export function __wbg_instanceof_Window_def73ea0955fc569(arg0) {
4798
+ export function __wbg_instanceof_Window_4846dbb3de56c84c(arg0) {
4649
4799
  let result;
4650
4800
  try {
4651
4801
  result = getObject(arg0) instanceof Window;
@@ -4656,7 +4806,7 @@ export function __wbg_instanceof_Window_def73ea0955fc569(arg0) {
4656
4806
  return ret;
4657
4807
  }
4658
4808
 
4659
- export function __wbg_instanceof_WorkerGlobalScope_dbdbdea7e3b56493(arg0) {
4809
+ export function __wbg_instanceof_WorkerGlobalScope_e31f49b6d33fcadd(arg0) {
4660
4810
  let result;
4661
4811
  try {
4662
4812
  result = getObject(arg0) instanceof WorkerGlobalScope;
@@ -4672,46 +4822,46 @@ export function __wbg_ipcclientsubscription_new(arg0) {
4672
4822
  return addHeapObject(ret);
4673
4823
  }
4674
4824
 
4675
- export function __wbg_isArray_a1eab7e0d067391b(arg0) {
4825
+ export function __wbg_isArray_96e0af9891d0945d(arg0) {
4676
4826
  const ret = Array.isArray(getObject(arg0));
4677
4827
  return ret;
4678
4828
  }
4679
4829
 
4680
- export function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) {
4830
+ export function __wbg_isSafeInteger_d216eda7911dde36(arg0) {
4681
4831
  const ret = Number.isSafeInteger(getObject(arg0));
4682
4832
  return ret;
4683
4833
  }
4684
4834
 
4685
- export function __wbg_iterator_9a24c88df860dc65() {
4835
+ export function __wbg_iterator_e5822695327a3c39() {
4686
4836
  const ret = Symbol.iterator;
4687
4837
  return addHeapObject(ret);
4688
4838
  }
4689
4839
 
4690
- export function __wbg_length_a446193dc22c12f8(arg0) {
4840
+ export function __wbg_length_69bca3cb64fc8748(arg0) {
4691
4841
  const ret = getObject(arg0).length;
4692
4842
  return ret;
4693
4843
  }
4694
4844
 
4695
- export function __wbg_length_e2d2a49132c1b256(arg0) {
4845
+ export function __wbg_length_cdd215e10d9dd507(arg0) {
4696
4846
  const ret = getObject(arg0).length;
4697
4847
  return ret;
4698
4848
  }
4699
4849
 
4700
- export function __wbg_list_8a771eed93888b5d() {
4850
+ export function __wbg_list_b8dfecdd2b65e61e() {
4701
4851
  return handleError(function (arg0) {
4702
4852
  const ret = getObject(arg0).list();
4703
4853
  return addHeapObject(ret);
4704
4854
  }, arguments);
4705
4855
  }
4706
4856
 
4707
- export function __wbg_list_97f0fbb3cdf20313() {
4857
+ export function __wbg_list_daa32c63b02d85cb() {
4708
4858
  return handleError(function (arg0) {
4709
4859
  const ret = getObject(arg0).list();
4710
4860
  return addHeapObject(ret);
4711
4861
  }, arguments);
4712
4862
  }
4713
4863
 
4714
- export function __wbg_log_cad59bb680daec67(arg0, arg1, arg2, arg3) {
4864
+ export function __wbg_log_45eb3a49e7cdcb64(arg0, arg1, arg2, arg3) {
4715
4865
  console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
4716
4866
  }
4717
4867
 
@@ -4720,7 +4870,7 @@ export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
4720
4870
  return addHeapObject(ret);
4721
4871
  }
4722
4872
 
4723
- export function __wbg_name_f2d27098bfd843e7(arg0, arg1) {
4873
+ export function __wbg_name_3a33ad25b892b2dd(arg0, arg1) {
4724
4874
  const ret = getObject(arg1).name;
4725
4875
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4726
4876
  const len1 = WASM_VECTOR_LEN;
@@ -4728,26 +4878,36 @@ export function __wbg_name_f2d27098bfd843e7(arg0, arg1) {
4728
4878
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4729
4879
  }
4730
4880
 
4731
- export function __wbg_new0_f788a2397c7ca929() {
4881
+ export function __wbg_new_0_f9740686d739025c() {
4732
4882
  const ret = new Date();
4733
4883
  return addHeapObject(ret);
4734
4884
  }
4735
4885
 
4736
- export function __wbg_new_018dcc2d6c8c2f6a() {
4886
+ export function __wbg_new_1acc0b6eea89d040() {
4887
+ const ret = new Object();
4888
+ return addHeapObject(ret);
4889
+ }
4890
+
4891
+ export function __wbg_new_2531773dac38ebb3() {
4737
4892
  return handleError(function () {
4738
- const ret = new Headers();
4893
+ const ret = new AbortController();
4739
4894
  return addHeapObject(ret);
4740
4895
  }, arguments);
4741
4896
  }
4742
4897
 
4743
- export function __wbg_new_23a2665fac83c611(arg0, arg1) {
4898
+ export function __wbg_new_3c3d849046688a66(arg0, arg1) {
4744
4899
  try {
4745
4900
  var state0 = { a: arg0, b: arg1 };
4746
4901
  var cb0 = (arg0, arg1) => {
4747
4902
  const a = state0.a;
4748
4903
  state0.a = 0;
4749
4904
  try {
4750
- return __wbg_adapter_357(a, state0.b, arg0, arg1);
4905
+ return wasm_bindgen__convert__closures_____invoke__h4096c3b930b983e7(
4906
+ a,
4907
+ state0.b,
4908
+ arg0,
4909
+ arg1,
4910
+ );
4751
4911
  } finally {
4752
4912
  state0.a = a;
4753
4913
  }
@@ -4759,19 +4919,21 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
4759
4919
  }
4760
4920
  }
4761
4921
 
4762
- export function __wbg_new_405e22f390576ce2() {
4763
- const ret = new Object();
4922
+ export function __wbg_new_5a79be3ab53b8aa5(arg0) {
4923
+ const ret = new Uint8Array(getObject(arg0));
4764
4924
  return addHeapObject(ret);
4765
4925
  }
4766
4926
 
4767
- export function __wbg_new_5e0be73521bc8c17() {
4927
+ export function __wbg_new_68651c719dcda04e() {
4768
4928
  const ret = new Map();
4769
4929
  return addHeapObject(ret);
4770
4930
  }
4771
4931
 
4772
- export function __wbg_new_78feb108b6472713() {
4773
- const ret = new Array();
4774
- return addHeapObject(ret);
4932
+ export function __wbg_new_6f694bb0585846e0() {
4933
+ return handleError(function () {
4934
+ const ret = new FormData();
4935
+ return addHeapObject(ret);
4936
+ }, arguments);
4775
4937
  }
4776
4938
 
4777
4939
  export function __wbg_new_8a6f238a6ece86ea() {
@@ -4779,28 +4941,21 @@ export function __wbg_new_8a6f238a6ece86ea() {
4779
4941
  return addHeapObject(ret);
4780
4942
  }
4781
4943
 
4782
- export function __wbg_new_9fd39a253424609a() {
4944
+ export function __wbg_new_9edf9838a2def39c() {
4783
4945
  return handleError(function () {
4784
- const ret = new FormData();
4946
+ const ret = new Headers();
4785
4947
  return addHeapObject(ret);
4786
4948
  }, arguments);
4787
4949
  }
4788
4950
 
4789
- export function __wbg_new_a12002a7f91c75be(arg0) {
4790
- const ret = new Uint8Array(getObject(arg0));
4791
- return addHeapObject(ret);
4792
- }
4793
-
4794
- export function __wbg_new_c68d7209be747379(arg0, arg1) {
4951
+ export function __wbg_new_a7442b4b19c1a356(arg0, arg1) {
4795
4952
  const ret = new Error(getStringFromWasm0(arg0, arg1));
4796
4953
  return addHeapObject(ret);
4797
4954
  }
4798
4955
 
4799
- export function __wbg_new_e25e5aab09ff45db() {
4800
- return handleError(function () {
4801
- const ret = new AbortController();
4802
- return addHeapObject(ret);
4803
- }, arguments);
4956
+ export function __wbg_new_e17d9f43105b08be() {
4957
+ const ret = new Array();
4958
+ return addHeapObject(ret);
4804
4959
  }
4805
4960
 
4806
4961
  export function __wbg_new_f24b6d53abe5bc82(arg0, arg1) {
@@ -4816,72 +4971,72 @@ export function __wbg_new_f24b6d53abe5bc82(arg0, arg1) {
4816
4971
  }
4817
4972
  }
4818
4973
 
4819
- export function __wbg_newnoargs_105ed471475aaf50(arg0, arg1) {
4820
- const ret = new Function(getStringFromWasm0(arg0, arg1));
4974
+ export function __wbg_new_from_slice_92f4d78ca282a2d2(arg0, arg1) {
4975
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
4821
4976
  return addHeapObject(ret);
4822
4977
  }
4823
4978
 
4824
- export function __wbg_newwithbyteoffsetandlength_d97e637ebe145a9a(arg0, arg1, arg2) {
4825
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
4979
+ export function __wbg_new_no_args_ee98eee5275000a4(arg0, arg1) {
4980
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
4826
4981
  return addHeapObject(ret);
4827
4982
  }
4828
4983
 
4829
- export function __wbg_newwithlength_a381634e90c276d4(arg0) {
4984
+ export function __wbg_new_with_length_01aa0dc35aa13543(arg0) {
4830
4985
  const ret = new Uint8Array(arg0 >>> 0);
4831
4986
  return addHeapObject(ret);
4832
4987
  }
4833
4988
 
4834
- export function __wbg_newwithstrandinit_06c535e0a867c635() {
4989
+ export function __wbg_new_with_str_and_init_0ae7728b6ec367b1() {
4835
4990
  return handleError(function (arg0, arg1, arg2) {
4836
4991
  const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
4837
4992
  return addHeapObject(ret);
4838
4993
  }, arguments);
4839
4994
  }
4840
4995
 
4841
- export function __wbg_newwithu8arraysequenceandoptions_068570c487f69127() {
4996
+ export function __wbg_new_with_u8_array_sequence_and_options_0c1d0bd56d93d25a() {
4842
4997
  return handleError(function (arg0, arg1) {
4843
4998
  const ret = new Blob(getObject(arg0), getObject(arg1));
4844
4999
  return addHeapObject(ret);
4845
5000
  }, arguments);
4846
5001
  }
4847
5002
 
4848
- export function __wbg_next_25feadfc0913fea9(arg0) {
4849
- const ret = getObject(arg0).next;
4850
- return addHeapObject(ret);
4851
- }
4852
-
4853
- export function __wbg_next_6574e1a8a62d1055() {
5003
+ export function __wbg_next_020810e0ae8ebcb0() {
4854
5004
  return handleError(function (arg0) {
4855
5005
  const ret = getObject(arg0).next();
4856
5006
  return addHeapObject(ret);
4857
5007
  }, arguments);
4858
5008
  }
4859
5009
 
5010
+ export function __wbg_next_2c826fe5dfec6b6a(arg0) {
5011
+ const ret = getObject(arg0).next;
5012
+ return addHeapObject(ret);
5013
+ }
5014
+
4860
5015
  export function __wbg_node_905d3e251edff8a2(arg0) {
4861
5016
  const ret = getObject(arg0).node;
4862
5017
  return addHeapObject(ret);
4863
5018
  }
4864
5019
 
4865
- export function __wbg_now_d18023d54d4e5500(arg0) {
5020
+ export function __wbg_now_f5ba683d8ce2c571(arg0) {
4866
5021
  const ret = getObject(arg0).now();
4867
5022
  return ret;
4868
5023
  }
4869
5024
 
4870
- export function __wbg_open_e0c0b2993eb596e1() {
5025
+ export function __wbg_open_9d8c51d122a5a6ea() {
4871
5026
  return handleError(function (arg0, arg1, arg2, arg3) {
4872
5027
  const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
4873
5028
  return addHeapObject(ret);
4874
5029
  }, arguments);
4875
5030
  }
4876
5031
 
4877
- export function __wbg_parse_def2e24ef1252aff() {
5032
+ export function __wbg_parse_2a704d6b78abb2b8() {
4878
5033
  return handleError(function (arg0, arg1) {
4879
5034
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
4880
5035
  return addHeapObject(ret);
4881
5036
  }, arguments);
4882
5037
  }
4883
5038
 
4884
- export function __wbg_preventDefault_c2314fd813c02b3c(arg0) {
5039
+ export function __wbg_preventDefault_1f362670ce7ef430(arg0) {
4885
5040
  getObject(arg0).preventDefault();
4886
5041
  }
4887
5042
 
@@ -4890,27 +5045,31 @@ export function __wbg_process_dc0fbacc7c1c06f7(arg0) {
4890
5045
  return addHeapObject(ret);
4891
5046
  }
4892
5047
 
4893
- export function __wbg_push_737cfc8c1432c2c6(arg0, arg1) {
4894
- const ret = getObject(arg0).push(getObject(arg1));
4895
- return ret;
5048
+ export function __wbg_prototypesetcall_2a6620b6922694b2(arg0, arg1, arg2) {
5049
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
4896
5050
  }
4897
5051
 
4898
- export function __wbg_queueMicrotask_97d92b4fcc8a61c5(arg0) {
4899
- queueMicrotask(getObject(arg0));
5052
+ export function __wbg_push_df81a39d04db858c(arg0, arg1) {
5053
+ const ret = getObject(arg0).push(getObject(arg1));
5054
+ return ret;
4900
5055
  }
4901
5056
 
4902
- export function __wbg_queueMicrotask_d3219def82552485(arg0) {
5057
+ export function __wbg_queueMicrotask_34d692c25c47d05b(arg0) {
4903
5058
  const ret = getObject(arg0).queueMicrotask;
4904
5059
  return addHeapObject(ret);
4905
5060
  }
4906
5061
 
5062
+ export function __wbg_queueMicrotask_9d76cacb20c84d58(arg0) {
5063
+ queueMicrotask(getObject(arg0));
5064
+ }
5065
+
4907
5066
  export function __wbg_randomFillSync_ac0988aba3254290() {
4908
5067
  return handleError(function (arg0, arg1) {
4909
5068
  getObject(arg0).randomFillSync(takeObject(arg1));
4910
5069
  }, arguments);
4911
5070
  }
4912
5071
 
4913
- export function __wbg_remove_956f7c593f896a01() {
5072
+ export function __wbg_remove_3bf97e854da9e7c3() {
4914
5073
  return handleError(function (arg0, arg1, arg2) {
4915
5074
  let deferred0_0;
4916
5075
  let deferred0_1;
@@ -4925,7 +5084,7 @@ export function __wbg_remove_956f7c593f896a01() {
4925
5084
  }, arguments);
4926
5085
  }
4927
5086
 
4928
- export function __wbg_remove_e3a32c8e47e778c1() {
5087
+ export function __wbg_remove_be4a47406b9a0def() {
4929
5088
  return handleError(function (arg0, arg1, arg2) {
4930
5089
  let deferred0_0;
4931
5090
  let deferred0_1;
@@ -4947,12 +5106,12 @@ export function __wbg_require_60cc747a6bc5215a() {
4947
5106
  }, arguments);
4948
5107
  }
4949
5108
 
4950
- export function __wbg_resolve_4851785c9c5f573d(arg0) {
5109
+ export function __wbg_resolve_caf97c30b83f7053(arg0) {
4951
5110
  const ret = Promise.resolve(getObject(arg0));
4952
5111
  return addHeapObject(ret);
4953
5112
  }
4954
5113
 
4955
- export function __wbg_result_f29afabdf2c05826() {
5114
+ export function __wbg_result_25e75004b82b9830() {
4956
5115
  return handleError(function (arg0) {
4957
5116
  const ret = getObject(arg0).result;
4958
5117
  return addHeapObject(ret);
@@ -4971,19 +5130,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
4971
5130
  return addHeapObject(ret);
4972
5131
  }
4973
5132
 
4974
- export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
4975
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
4976
- }
4977
-
4978
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
4979
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4980
- }
4981
-
4982
- export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4983
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4984
- }
4985
-
4986
- export function __wbg_set_89104a657df0b114() {
5133
+ export function __wbg_set_10039b2e1149cb0c() {
4987
5134
  return handleError(function (arg0, arg1, arg2, arg3) {
4988
5135
  let deferred0_0;
4989
5136
  let deferred0_1;
@@ -4998,12 +5145,28 @@ export function __wbg_set_89104a657df0b114() {
4998
5145
  }, arguments);
4999
5146
  }
5000
5147
 
5001
- export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
5148
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5149
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5150
+ }
5151
+
5152
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5002
5153
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5003
5154
  return addHeapObject(ret);
5004
5155
  }
5005
5156
 
5006
- export function __wbg_set_d46a2477f493c1aa() {
5157
+ export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5158
+ getObject(arg0).body = getObject(arg1);
5159
+ }
5160
+
5161
+ export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
5162
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5163
+ }
5164
+
5165
+ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5166
+ getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5167
+ }
5168
+
5169
+ export function __wbg_set_f2f0abdffceab618() {
5007
5170
  return handleError(function (arg0, arg1, arg2, arg3) {
5008
5171
  let deferred0_0;
5009
5172
  let deferred0_1;
@@ -5018,27 +5181,19 @@ export function __wbg_set_d46a2477f493c1aa() {
5018
5181
  }, arguments);
5019
5182
  }
5020
5183
 
5021
- export function __wbg_setbody_5923b78a95eedf29(arg0, arg1) {
5022
- getObject(arg0).body = getObject(arg1);
5023
- }
5024
-
5025
- export function __wbg_setcredentials_c3a22f1cd105a2c6(arg0, arg1) {
5026
- getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5027
- }
5028
-
5029
- export function __wbg_setheaders_834c0bdb6a8949ad(arg0, arg1) {
5184
+ export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
5030
5185
  getObject(arg0).headers = getObject(arg1);
5031
5186
  }
5032
5187
 
5033
- export function __wbg_setmethod_3c5280fe5d890842(arg0, arg1, arg2) {
5188
+ export function __wbg_set_method_c02d8cbbe204ac2d(arg0, arg1, arg2) {
5034
5189
  getObject(arg0).method = getStringFromWasm0(arg1, arg2);
5035
5190
  }
5036
5191
 
5037
- export function __wbg_setmode_5dc300b865044b65(arg0, arg1) {
5192
+ export function __wbg_set_mode_52ef73cfa79639cb(arg0, arg1) {
5038
5193
  getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
5039
5194
  }
5040
5195
 
5041
- export function __wbg_setname_c0e2d6f348c746f4(arg0, arg1, arg2) {
5196
+ export function __wbg_set_name_c0e2d6f348c746f4(arg0, arg1, arg2) {
5042
5197
  let deferred0_0;
5043
5198
  let deferred0_1;
5044
5199
  try {
@@ -5050,27 +5205,27 @@ export function __wbg_setname_c0e2d6f348c746f4(arg0, arg1, arg2) {
5050
5205
  }
5051
5206
  }
5052
5207
 
5053
- export function __wbg_setonerror_d7e3056cc6e56085(arg0, arg1) {
5208
+ export function __wbg_set_onerror_dc82fea584ffccaa(arg0, arg1) {
5054
5209
  getObject(arg0).onerror = getObject(arg1);
5055
5210
  }
5056
5211
 
5057
- export function __wbg_setonsuccess_afa464ee777a396d(arg0, arg1) {
5212
+ export function __wbg_set_onsuccess_f367d002b462109e(arg0, arg1) {
5058
5213
  getObject(arg0).onsuccess = getObject(arg1);
5059
5214
  }
5060
5215
 
5061
- export function __wbg_setonupgradeneeded_fcf7ce4f2eb0cb5f(arg0, arg1) {
5216
+ export function __wbg_set_onupgradeneeded_0a519a73284a1418(arg0, arg1) {
5062
5217
  getObject(arg0).onupgradeneeded = getObject(arg1);
5063
5218
  }
5064
5219
 
5065
- export function __wbg_setsignal_75b21ef3a81de905(arg0, arg1) {
5220
+ export function __wbg_set_signal_dda2cf7ccb6bee0f(arg0, arg1) {
5066
5221
  getObject(arg0).signal = getObject(arg1);
5067
5222
  }
5068
5223
 
5069
- export function __wbg_settype_39ed370d3edd403c(arg0, arg1, arg2) {
5224
+ export function __wbg_set_type_63fa4c18251f6545(arg0, arg1, arg2) {
5070
5225
  getObject(arg0).type = getStringFromWasm0(arg1, arg2);
5071
5226
  }
5072
5227
 
5073
- export function __wbg_setvariant_d1d41b778dfe9c17(arg0, arg1, arg2) {
5228
+ export function __wbg_set_variant_d1d41b778dfe9c17(arg0, arg1, arg2) {
5074
5229
  let deferred0_0;
5075
5230
  let deferred0_1;
5076
5231
  try {
@@ -5082,7 +5237,7 @@ export function __wbg_setvariant_d1d41b778dfe9c17(arg0, arg1, arg2) {
5082
5237
  }
5083
5238
  }
5084
5239
 
5085
- export function __wbg_signal_aaf9ad74119f20a4(arg0) {
5240
+ export function __wbg_signal_4db5aa055bf9eb9a(arg0) {
5086
5241
  const ret = getObject(arg0).signal;
5087
5242
  return addHeapObject(ret);
5088
5243
  }
@@ -5095,22 +5250,22 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
5095
5250
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5096
5251
  }
5097
5252
 
5098
- export function __wbg_static_accessor_GLOBAL_88a902d13a557d07() {
5253
+ export function __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e() {
5099
5254
  const ret = typeof global === "undefined" ? null : global;
5100
5255
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
5101
5256
  }
5102
5257
 
5103
- export function __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0() {
5258
+ export function __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac() {
5104
5259
  const ret = typeof globalThis === "undefined" ? null : globalThis;
5105
5260
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
5106
5261
  }
5107
5262
 
5108
- export function __wbg_static_accessor_SELF_37c5d418e4bf5819() {
5263
+ export function __wbg_static_accessor_SELF_6fdf4b64710cc91b() {
5109
5264
  const ret = typeof self === "undefined" ? null : self;
5110
5265
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
5111
5266
  }
5112
5267
 
5113
- export function __wbg_static_accessor_WINDOW_5de37043a91a9c40() {
5268
+ export function __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2() {
5114
5269
  const ret = typeof window === "undefined" ? null : window;
5115
5270
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
5116
5271
  }
@@ -5120,51 +5275,51 @@ export function __wbg_static_accessor_performance_da77b3a901a72934() {
5120
5275
  return addHeapObject(ret);
5121
5276
  }
5122
5277
 
5123
- export function __wbg_status_f6360336ca686bf0(arg0) {
5278
+ export function __wbg_status_de7eed5a7a5bfd5d(arg0) {
5124
5279
  const ret = getObject(arg0).status;
5125
5280
  return ret;
5126
5281
  }
5127
5282
 
5128
- export function __wbg_stringify_f7ed6987935b4a24() {
5283
+ export function __wbg_stringify_b5fb28f6465d9c3e() {
5129
5284
  return handleError(function (arg0) {
5130
5285
  const ret = JSON.stringify(getObject(arg0));
5131
5286
  return addHeapObject(ret);
5132
5287
  }, arguments);
5133
5288
  }
5134
5289
 
5135
- export function __wbg_subarray_aa9065fa9dc5df96(arg0, arg1, arg2) {
5290
+ export function __wbg_subarray_480600f3d6a9f26c(arg0, arg1, arg2) {
5136
5291
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
5137
5292
  return addHeapObject(ret);
5138
5293
  }
5139
5294
 
5140
- export function __wbg_target_0a62d9d79a2a1ede(arg0) {
5295
+ export function __wbg_target_1447f5d3a6fa6fe0(arg0) {
5141
5296
  const ret = getObject(arg0).target;
5142
5297
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
5143
5298
  }
5144
5299
 
5145
- export function __wbg_text_7805bea50de2af49() {
5300
+ export function __wbg_text_dc33c15c17bdfb52() {
5146
5301
  return handleError(function (arg0) {
5147
5302
  const ret = getObject(arg0).text();
5148
5303
  return addHeapObject(ret);
5149
5304
  }, arguments);
5150
5305
  }
5151
5306
 
5152
- export function __wbg_then_44b73946d2fb3e7d(arg0, arg1) {
5307
+ export function __wbg_then_4f46f6544e6b4a28(arg0, arg1) {
5153
5308
  const ret = getObject(arg0).then(getObject(arg1));
5154
5309
  return addHeapObject(ret);
5155
5310
  }
5156
5311
 
5157
- export function __wbg_then_48b406749878a531(arg0, arg1, arg2) {
5312
+ export function __wbg_then_70d05cf780a18d77(arg0, arg1, arg2) {
5158
5313
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
5159
5314
  return addHeapObject(ret);
5160
5315
  }
5161
5316
 
5162
- export function __wbg_transaction_e713aa7b07ccaedd(arg0) {
5317
+ export function __wbg_transaction_9fb8349a0a81725c(arg0) {
5163
5318
  const ret = getObject(arg0).transaction;
5164
5319
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
5165
5320
  }
5166
5321
 
5167
- export function __wbg_url_ae10c34ca209681d(arg0, arg1) {
5322
+ export function __wbg_url_b36d2a5008eb056f(arg0, arg1) {
5168
5323
  const ret = getObject(arg1).url;
5169
5324
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5170
5325
  const len1 = WASM_VECTOR_LEN;
@@ -5172,7 +5327,7 @@ export function __wbg_url_ae10c34ca209681d(arg0, arg1) {
5172
5327
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5173
5328
  }
5174
5329
 
5175
- export function __wbg_value_cd1ffa7b1ab794f1(arg0) {
5330
+ export function __wbg_value_692627309814bb8c(arg0) {
5176
5331
  const ret = getObject(arg0).value;
5177
5332
  return addHeapObject(ret);
5178
5333
  }
@@ -5182,150 +5337,116 @@ export function __wbg_versions_c01dfd4722a88165(arg0) {
5182
5337
  return addHeapObject(ret);
5183
5338
  }
5184
5339
 
5185
- export function __wbg_warn_aaf1f4664a035bd6(arg0, arg1, arg2, arg3) {
5340
+ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
5186
5341
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5187
5342
  }
5188
5343
 
5189
- export function __wbindgen_array_new() {
5190
- const ret = [];
5344
+ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
5345
+ // Cast intrinsic for `Ref(String) -> Externref`.
5346
+ const ret = getStringFromWasm0(arg0, arg1);
5191
5347
  return addHeapObject(ret);
5192
5348
  }
5193
5349
 
5194
- export function __wbindgen_array_push(arg0, arg1) {
5195
- getObject(arg0).push(takeObject(arg1));
5196
- }
5197
-
5198
- export function __wbindgen_as_number(arg0) {
5199
- const ret = +getObject(arg0);
5200
- return ret;
5201
- }
5202
-
5203
- export function __wbindgen_bigint_from_i64(arg0) {
5204
- const ret = arg0;
5350
+ export function __wbindgen_cast_36265b4dca1d434b(arg0, arg1) {
5351
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5352
+ const ret = makeMutClosure(
5353
+ arg0,
5354
+ arg1,
5355
+ wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
5356
+ wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
5357
+ );
5205
5358
  return addHeapObject(ret);
5206
5359
  }
5207
5360
 
5208
- export function __wbindgen_bigint_from_u64(arg0) {
5361
+ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
5362
+ // Cast intrinsic for `U64 -> Externref`.
5209
5363
  const ret = BigInt.asUintN(64, arg0);
5210
5364
  return addHeapObject(ret);
5211
5365
  }
5212
5366
 
5213
- export function __wbindgen_bigint_get_as_i64(arg0, arg1) {
5214
- const v = getObject(arg1);
5215
- const ret = typeof v === "bigint" ? v : undefined;
5216
- getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
5217
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
5218
- }
5219
-
5220
- export function __wbindgen_boolean_get(arg0) {
5221
- const v = getObject(arg0);
5222
- const ret = typeof v === "boolean" ? (v ? 1 : 0) : 2;
5223
- return ret;
5224
- }
5225
-
5226
- export function __wbindgen_cb_drop(arg0) {
5227
- const obj = takeObject(arg0).original;
5228
- if (obj.cnt-- == 1) {
5229
- obj.a = 0;
5230
- return true;
5231
- }
5232
- const ret = false;
5233
- return ret;
5234
- }
5235
-
5236
- export function __wbindgen_closure_wrapper196(arg0, arg1, arg2) {
5237
- const ret = makeMutClosure(arg0, arg1, 7, __wbg_adapter_54);
5367
+ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
5368
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5369
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5370
+ // Cast intrinsic for `Vector(NamedExternref("CipherRiskResult")) -> Externref`.
5371
+ const ret = v0;
5238
5372
  return addHeapObject(ret);
5239
5373
  }
5240
5374
 
5241
- export function __wbindgen_closure_wrapper198(arg0, arg1, arg2) {
5242
- const ret = makeMutClosure(arg0, arg1, 7, __wbg_adapter_57);
5375
+ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5376
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5377
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5378
+ // Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
5379
+ const ret = v0;
5243
5380
  return addHeapObject(ret);
5244
5381
  }
5245
5382
 
5246
- export function __wbindgen_closure_wrapper4523(arg0, arg1, arg2) {
5247
- const ret = makeMutClosure(arg0, arg1, 349, __wbg_adapter_60);
5383
+ export function __wbindgen_cast_91244c1b651c8ba8(arg0, arg1) {
5384
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5385
+ const ret = makeMutClosure(
5386
+ arg0,
5387
+ arg1,
5388
+ wasm.wasm_bindgen__closure__destroy__h7b7f88151484c167,
5389
+ wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009,
5390
+ );
5248
5391
  return addHeapObject(ret);
5249
5392
  }
5250
5393
 
5251
- export function __wbindgen_closure_wrapper8581(arg0, arg1, arg2) {
5252
- const ret = makeMutClosure(arg0, arg1, 516, __wbg_adapter_60);
5394
+ export function __wbindgen_cast_98de615b9dbdc064(arg0, arg1) {
5395
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 268, function: Function { arguments: [Externref], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5396
+ const ret = makeMutClosure(
5397
+ arg0,
5398
+ arg1,
5399
+ wasm.wasm_bindgen__closure__destroy__h04ff7fddf688fec6,
5400
+ wasm_bindgen__convert__closures_____invoke__h4f8d9ba9b5b9a009,
5401
+ );
5253
5402
  return addHeapObject(ret);
5254
5403
  }
5255
5404
 
5256
- export function __wbindgen_closure_wrapper8967(arg0, arg1, arg2) {
5257
- const ret = makeMutClosure(arg0, arg1, 538, __wbg_adapter_57);
5405
+ export function __wbindgen_cast_9ae0607507abb057(arg0) {
5406
+ // Cast intrinsic for `I64 -> Externref`.
5407
+ const ret = arg0;
5258
5408
  return addHeapObject(ret);
5259
5409
  }
5260
5410
 
5261
- export function __wbindgen_debug_string(arg0, arg1) {
5262
- const ret = debugString(getObject(arg1));
5263
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5264
- const len1 = WASM_VECTOR_LEN;
5265
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5266
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5267
- }
5268
-
5269
- export function __wbindgen_error_new(arg0, arg1) {
5270
- const ret = new Error(getStringFromWasm0(arg0, arg1));
5411
+ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
5412
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
5413
+ const ret = getArrayU8FromWasm0(arg0, arg1);
5271
5414
  return addHeapObject(ret);
5272
5415
  }
5273
5416
 
5274
- export function __wbindgen_in(arg0, arg1) {
5275
- const ret = getObject(arg0) in getObject(arg1);
5276
- return ret;
5277
- }
5278
-
5279
- export function __wbindgen_is_bigint(arg0) {
5280
- const ret = typeof getObject(arg0) === "bigint";
5281
- return ret;
5282
- }
5283
-
5284
- export function __wbindgen_is_function(arg0) {
5285
- const ret = typeof getObject(arg0) === "function";
5286
- return ret;
5287
- }
5288
-
5289
- export function __wbindgen_is_object(arg0) {
5290
- const val = getObject(arg0);
5291
- const ret = typeof val === "object" && val !== null;
5292
- return ret;
5293
- }
5294
-
5295
- export function __wbindgen_is_string(arg0) {
5296
- const ret = typeof getObject(arg0) === "string";
5297
- return ret;
5298
- }
5299
-
5300
- export function __wbindgen_is_undefined(arg0) {
5301
- const ret = getObject(arg0) === undefined;
5302
- return ret;
5303
- }
5304
-
5305
- export function __wbindgen_jsval_eq(arg0, arg1) {
5306
- const ret = getObject(arg0) === getObject(arg1);
5307
- return ret;
5308
- }
5309
-
5310
- export function __wbindgen_jsval_loose_eq(arg0, arg1) {
5311
- const ret = getObject(arg0) == getObject(arg1);
5312
- return ret;
5417
+ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
5418
+ // Cast intrinsic for `F64 -> Externref`.
5419
+ const ret = arg0;
5420
+ return addHeapObject(ret);
5313
5421
  }
5314
5422
 
5315
- export function __wbindgen_memory() {
5316
- const ret = wasm.memory;
5423
+ export function __wbindgen_cast_e904f2c9fda6146b(arg0, arg1) {
5424
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 5, function: Function { arguments: [NamedExternref("Event")], shim_idx: 8, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5425
+ const ret = makeMutClosure(
5426
+ arg0,
5427
+ arg1,
5428
+ wasm.wasm_bindgen__closure__destroy__h7b7f88151484c167,
5429
+ wasm_bindgen__convert__closures_____invoke__hf869d8564f5adb52,
5430
+ );
5317
5431
  return addHeapObject(ret);
5318
5432
  }
5319
5433
 
5320
- export function __wbindgen_number_get(arg0, arg1) {
5321
- const obj = getObject(arg1);
5322
- const ret = typeof obj === "number" ? obj : undefined;
5323
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
5324
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
5434
+ export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
5435
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5436
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5437
+ // Cast intrinsic for `Vector(NamedExternref("FolderView")) -> Externref`.
5438
+ const ret = v0;
5439
+ return addHeapObject(ret);
5325
5440
  }
5326
5441
 
5327
- export function __wbindgen_number_new(arg0) {
5328
- const ret = arg0;
5442
+ export function __wbindgen_cast_f31034722c398fdb(arg0, arg1) {
5443
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 520, function: Function { arguments: [], shim_idx: 269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5444
+ const ret = makeMutClosure(
5445
+ arg0,
5446
+ arg1,
5447
+ wasm.wasm_bindgen__closure__destroy__h1cce7ce4a094839d,
5448
+ wasm_bindgen__convert__closures_____invoke__h76c71c1158b6af01,
5449
+ );
5329
5450
  return addHeapObject(ret);
5330
5451
  }
5331
5452
 
@@ -5337,23 +5458,3 @@ export function __wbindgen_object_clone_ref(arg0) {
5337
5458
  export function __wbindgen_object_drop_ref(arg0) {
5338
5459
  takeObject(arg0);
5339
5460
  }
5340
-
5341
- export function __wbindgen_string_get(arg0, arg1) {
5342
- const obj = getObject(arg1);
5343
- const ret = typeof obj === "string" ? obj : undefined;
5344
- var ptr1 = isLikeNone(ret)
5345
- ? 0
5346
- : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5347
- var len1 = WASM_VECTOR_LEN;
5348
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5349
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5350
- }
5351
-
5352
- export function __wbindgen_string_new(arg0, arg1) {
5353
- const ret = getStringFromWasm0(arg0, arg1);
5354
- return addHeapObject(ret);
5355
- }
5356
-
5357
- export function __wbindgen_throw(arg0, arg1) {
5358
- throw new Error(getStringFromWasm0(arg0, arg1));
5359
- }