@bitcredit/bcr-ebill-wasm 0.4.6 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +18 -12
- package/index.js +338 -325
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -321,6 +321,7 @@ export interface LightBitcreditBillWeb {
|
|
|
321
321
|
issue_date: string;
|
|
322
322
|
time_of_drawing: number;
|
|
323
323
|
time_of_maturity: number;
|
|
324
|
+
last_block_time: number;
|
|
324
325
|
}
|
|
325
326
|
|
|
326
327
|
export type BillParticipantWeb = { Anon: BillAnonParticipantWeb } | { Ident: BillIdentParticipantWeb };
|
|
@@ -523,14 +524,16 @@ export interface SeedPhrase {
|
|
|
523
524
|
|
|
524
525
|
export interface IdentityProofWeb {
|
|
525
526
|
id: string;
|
|
526
|
-
node_id:
|
|
527
|
-
stamp:
|
|
528
|
-
url:
|
|
527
|
+
node_id: string;
|
|
528
|
+
stamp: string;
|
|
529
|
+
url: string;
|
|
529
530
|
timestamp: number;
|
|
530
531
|
status: IdentityProofStatusWeb;
|
|
531
532
|
status_last_checked_timestamp: number;
|
|
532
533
|
}
|
|
533
534
|
|
|
535
|
+
export type IdentityProofStatusWeb = "Success" | "NotFound" | "FailureConnect" | "FailureClient" | "FailureServer";
|
|
536
|
+
|
|
534
537
|
export interface NotificationStatusWeb {
|
|
535
538
|
node_id: string;
|
|
536
539
|
active: boolean;
|
|
@@ -666,6 +669,7 @@ export interface Config {
|
|
|
666
669
|
default_mint_url: string;
|
|
667
670
|
default_mint_node_id: string;
|
|
668
671
|
num_confirmations_for_payment: number;
|
|
672
|
+
dev_mode: boolean;
|
|
669
673
|
}
|
|
670
674
|
|
|
671
675
|
export interface MintRequestStateWeb {
|
|
@@ -758,6 +762,7 @@ export class Bill {
|
|
|
758
762
|
* Given a bill id, resync the chain via block transport
|
|
759
763
|
*/
|
|
760
764
|
sync_bill_chain(payload: ResyncBillPayload): Promise<void>;
|
|
765
|
+
dev_mode_get_full_bill_chain(bill_id: string): Promise<string[]>;
|
|
761
766
|
}
|
|
762
767
|
export class Company {
|
|
763
768
|
private constructor();
|
|
@@ -900,6 +905,7 @@ export interface InitOutput {
|
|
|
900
905
|
readonly bill_request_to_recourse_bill_acceptance: (a: number, b: any) => any;
|
|
901
906
|
readonly bill_clear_bill_cache: (a: number) => any;
|
|
902
907
|
readonly bill_sync_bill_chain: (a: number, b: any) => any;
|
|
908
|
+
readonly bill_dev_mode_get_full_bill_chain: (a: number, b: number, c: number) => any;
|
|
903
909
|
readonly company_file: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
904
910
|
readonly company_file_base64: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
905
911
|
readonly company_upload: (a: number, b: any) => any;
|
|
@@ -969,13 +975,13 @@ export interface InitOutput {
|
|
|
969
975
|
readonly api_notification: () => number;
|
|
970
976
|
readonly api_contact: () => number;
|
|
971
977
|
readonly api_company: () => number;
|
|
972
|
-
readonly
|
|
978
|
+
readonly __wbg_bill_free: (a: number, b: number) => void;
|
|
979
|
+
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
980
|
+
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
973
981
|
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
974
982
|
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
975
|
-
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
976
|
-
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
977
|
-
readonly __wbg_bill_free: (a: number, b: number) => void;
|
|
978
983
|
readonly __wbg_company_free: (a: number, b: number) => void;
|
|
984
|
+
readonly __wbg_identityproof_free: (a: number, b: number) => void;
|
|
979
985
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
980
986
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
981
987
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -984,11 +990,11 @@ export interface InitOutput {
|
|
|
984
990
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
985
991
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
986
992
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
987
|
-
readonly
|
|
988
|
-
readonly
|
|
989
|
-
readonly
|
|
990
|
-
readonly
|
|
991
|
-
readonly
|
|
993
|
+
readonly closure357_externref_shim: (a: number, b: number, c: any) => void;
|
|
994
|
+
readonly wasm_bindgen__convert__closures_____invoke__h154b536fadeb3f8d: (a: number, b: number) => void;
|
|
995
|
+
readonly closure866_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
996
|
+
readonly wasm_bindgen__convert__closures_____invoke__h15d8466e320b582b: (a: number, b: number) => void;
|
|
997
|
+
readonly closure651_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
992
998
|
readonly __wbindgen_start: () => void;
|
|
993
999
|
}
|
|
994
1000
|
|
package/index.js
CHANGED
|
@@ -119,59 +119,6 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
119
119
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
123
|
-
? { register: () => {}, unregister: () => {} }
|
|
124
|
-
: new FinalizationRegistry(state => {
|
|
125
|
-
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b)
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
129
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
130
|
-
const real = (...args) => {
|
|
131
|
-
// First up with a closure we increment the internal reference
|
|
132
|
-
// count. This ensures that the Rust closure environment won't
|
|
133
|
-
// be deallocated while we're invoking it.
|
|
134
|
-
state.cnt++;
|
|
135
|
-
const a = state.a;
|
|
136
|
-
state.a = 0;
|
|
137
|
-
try {
|
|
138
|
-
return f(a, state.b, ...args);
|
|
139
|
-
} finally {
|
|
140
|
-
if (--state.cnt === 0) {
|
|
141
|
-
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
142
|
-
CLOSURE_DTORS.unregister(state);
|
|
143
|
-
} else {
|
|
144
|
-
state.a = a;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
real.original = state;
|
|
149
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
150
|
-
return real;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
function makeClosure(arg0, arg1, dtor, f) {
|
|
154
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
155
|
-
const real = (...args) => {
|
|
156
|
-
// First up with a closure we increment the internal reference
|
|
157
|
-
// count. This ensures that the Rust closure environment won't
|
|
158
|
-
// be deallocated while we're invoking it.
|
|
159
|
-
state.cnt++;
|
|
160
|
-
try {
|
|
161
|
-
return f(state.a, state.b, ...args);
|
|
162
|
-
} finally {
|
|
163
|
-
if (--state.cnt === 0) {
|
|
164
|
-
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
|
|
165
|
-
state.a = 0;
|
|
166
|
-
CLOSURE_DTORS.unregister(state);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
real.original = state;
|
|
171
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
172
|
-
return real;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
122
|
function debugString(val) {
|
|
176
123
|
// primitive types
|
|
177
124
|
const type = typeof val;
|
|
@@ -236,6 +183,62 @@ function debugString(val) {
|
|
|
236
183
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
237
184
|
return className;
|
|
238
185
|
}
|
|
186
|
+
|
|
187
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
188
|
+
? { register: () => {}, unregister: () => {} }
|
|
189
|
+
: new FinalizationRegistry(
|
|
190
|
+
state => {
|
|
191
|
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
|
|
192
|
+
}
|
|
193
|
+
);
|
|
194
|
+
|
|
195
|
+
function makeClosure(arg0, arg1, dtor, f) {
|
|
196
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
197
|
+
const real = (...args) => {
|
|
198
|
+
|
|
199
|
+
// First up with a closure we increment the internal reference
|
|
200
|
+
// count. This ensures that the Rust closure environment won't
|
|
201
|
+
// be deallocated while we're invoking it.
|
|
202
|
+
state.cnt++;
|
|
203
|
+
try {
|
|
204
|
+
return f(state.a, state.b, ...args);
|
|
205
|
+
} finally {
|
|
206
|
+
if (--state.cnt === 0) {
|
|
207
|
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b); state.a = 0;
|
|
208
|
+
CLOSURE_DTORS.unregister(state);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
real.original = state;
|
|
213
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
214
|
+
return real;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
218
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
219
|
+
const real = (...args) => {
|
|
220
|
+
|
|
221
|
+
// First up with a closure we increment the internal reference
|
|
222
|
+
// count. This ensures that the Rust closure environment won't
|
|
223
|
+
// be deallocated while we're invoking it.
|
|
224
|
+
state.cnt++;
|
|
225
|
+
const a = state.a;
|
|
226
|
+
state.a = 0;
|
|
227
|
+
try {
|
|
228
|
+
return f(a, state.b, ...args);
|
|
229
|
+
} finally {
|
|
230
|
+
if (--state.cnt === 0) {
|
|
231
|
+
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
232
|
+
CLOSURE_DTORS.unregister(state);
|
|
233
|
+
} else {
|
|
234
|
+
state.a = a;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
real.original = state;
|
|
239
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
240
|
+
return real;
|
|
241
|
+
}
|
|
239
242
|
/**
|
|
240
243
|
* @param {Config} cfg
|
|
241
244
|
* @returns {Promise<void>}
|
|
@@ -261,27 +264,27 @@ export function task_worker_entry_point(ptr) {
|
|
|
261
264
|
}
|
|
262
265
|
}
|
|
263
266
|
|
|
264
|
-
function
|
|
265
|
-
wasm.
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
function __wbg_adapter_55(arg0, arg1, arg2) {
|
|
269
|
-
wasm.closure353_externref_shim(arg0, arg1, arg2);
|
|
267
|
+
function __wbg_adapter_8(arg0, arg1, arg2) {
|
|
268
|
+
wasm.closure357_externref_shim(arg0, arg1, arg2);
|
|
270
269
|
}
|
|
271
270
|
|
|
272
|
-
function
|
|
273
|
-
wasm.
|
|
271
|
+
function __wbg_adapter_17(arg0, arg1) {
|
|
272
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h154b536fadeb3f8d(arg0, arg1);
|
|
274
273
|
}
|
|
275
274
|
|
|
276
|
-
function
|
|
277
|
-
const ret = wasm.
|
|
275
|
+
function __wbg_adapter_26(arg0, arg1, arg2) {
|
|
276
|
+
const ret = wasm.closure866_externref_shim_multivalue_shim(arg0, arg1, arg2);
|
|
278
277
|
if (ret[1]) {
|
|
279
278
|
throw takeFromExternrefTable0(ret[0]);
|
|
280
279
|
}
|
|
281
280
|
}
|
|
282
281
|
|
|
283
|
-
function
|
|
284
|
-
wasm.
|
|
282
|
+
function __wbg_adapter_31(arg0, arg1) {
|
|
283
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h15d8466e320b582b(arg0, arg1);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
function __wbg_adapter_222(arg0, arg1, arg2, arg3) {
|
|
287
|
+
wasm.closure651_externref_shim(arg0, arg1, arg2, arg3);
|
|
285
288
|
}
|
|
286
289
|
|
|
287
290
|
/**
|
|
@@ -748,6 +751,16 @@ export class Bill {
|
|
|
748
751
|
const ret = wasm.bill_sync_bill_chain(this.__wbg_ptr, payload);
|
|
749
752
|
return ret;
|
|
750
753
|
}
|
|
754
|
+
/**
|
|
755
|
+
* @param {string} bill_id
|
|
756
|
+
* @returns {string[]}
|
|
757
|
+
*/
|
|
758
|
+
dev_mode_get_full_bill_chain(bill_id) {
|
|
759
|
+
const ptr0 = passStringToWasm0(bill_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
760
|
+
const len0 = WASM_VECTOR_LEN;
|
|
761
|
+
const ret = wasm.bill_dev_mode_get_full_bill_chain(this.__wbg_ptr, ptr0, len0);
|
|
762
|
+
return ret;
|
|
763
|
+
}
|
|
751
764
|
}
|
|
752
765
|
|
|
753
766
|
const CompanyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1415,10 +1428,14 @@ async function __wbg_load(module, imports) {
|
|
|
1415
1428
|
function __wbg_get_imports() {
|
|
1416
1429
|
const imports = {};
|
|
1417
1430
|
imports.wbg = {};
|
|
1418
|
-
imports.wbg.
|
|
1431
|
+
imports.wbg.__wbg_Error_90f14b053b2af32f = function(arg0, arg1) {
|
|
1419
1432
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1420
1433
|
return ret;
|
|
1421
1434
|
};
|
|
1435
|
+
imports.wbg.__wbg_Number_d61e9549dcb95df6 = function(arg0) {
|
|
1436
|
+
const ret = Number(arg0);
|
|
1437
|
+
return ret;
|
|
1438
|
+
};
|
|
1422
1439
|
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
1423
1440
|
const ret = String(arg1);
|
|
1424
1441
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1426,38 +1443,34 @@ function __wbg_get_imports() {
|
|
|
1426
1443
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1427
1444
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1428
1445
|
};
|
|
1429
|
-
imports.wbg.
|
|
1446
|
+
imports.wbg.__wbg_abort_3c16ba0e9bfef904 = function() { return handleError(function (arg0) {
|
|
1447
|
+
arg0.abort();
|
|
1448
|
+
}, arguments) };
|
|
1449
|
+
imports.wbg.__wbg_abort_4703781fc49d1f48 = function(arg0) {
|
|
1430
1450
|
arg0.abort();
|
|
1431
1451
|
};
|
|
1432
|
-
imports.wbg.
|
|
1452
|
+
imports.wbg.__wbg_abort_a47139ff13270262 = function(arg0, arg1) {
|
|
1433
1453
|
arg0.abort(arg1);
|
|
1434
1454
|
};
|
|
1435
|
-
imports.wbg.
|
|
1436
|
-
arg0.abort();
|
|
1437
|
-
}, arguments) };
|
|
1438
|
-
imports.wbg.__wbg_advance_d12120c423e27f56 = function() { return handleError(function (arg0, arg1) {
|
|
1455
|
+
imports.wbg.__wbg_advance_d397d29cd835f03c = function() { return handleError(function (arg0, arg1) {
|
|
1439
1456
|
arg0.advance(arg1 >>> 0);
|
|
1440
1457
|
}, arguments) };
|
|
1441
|
-
imports.wbg.
|
|
1458
|
+
imports.wbg.__wbg_append_86985cd0ff9b3735 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1442
1459
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1443
1460
|
}, arguments) };
|
|
1444
|
-
imports.wbg.
|
|
1461
|
+
imports.wbg.__wbg_arrayBuffer_c23deccc789004c3 = function() { return handleError(function (arg0) {
|
|
1445
1462
|
const ret = arg0.arrayBuffer();
|
|
1446
1463
|
return ret;
|
|
1447
1464
|
}, arguments) };
|
|
1448
|
-
imports.wbg.
|
|
1465
|
+
imports.wbg.__wbg_bound_970399f5f240e664 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1449
1466
|
const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
|
|
1450
1467
|
return ret;
|
|
1451
1468
|
}, arguments) };
|
|
1452
|
-
imports.wbg.
|
|
1453
|
-
const ret = arg0.buffer;
|
|
1454
|
-
return ret;
|
|
1455
|
-
};
|
|
1456
|
-
imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1469
|
+
imports.wbg.__wbg_call_52af042a326d9b3a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1457
1470
|
const ret = arg0.call(arg1, arg2);
|
|
1458
1471
|
return ret;
|
|
1459
1472
|
}, arguments) };
|
|
1460
|
-
imports.wbg.
|
|
1473
|
+
imports.wbg.__wbg_call_90bf4b9978d51034 = function() { return handleError(function (arg0, arg1) {
|
|
1461
1474
|
const ret = arg0.call(arg1);
|
|
1462
1475
|
return ret;
|
|
1463
1476
|
}, arguments) };
|
|
@@ -1472,29 +1485,29 @@ function __wbg_get_imports() {
|
|
|
1472
1485
|
const ret = clearTimeout(arg0);
|
|
1473
1486
|
return ret;
|
|
1474
1487
|
};
|
|
1475
|
-
imports.wbg.
|
|
1488
|
+
imports.wbg.__wbg_close_638f149c7d475fe2 = function() { return handleError(function (arg0) {
|
|
1476
1489
|
arg0.close();
|
|
1477
1490
|
}, arguments) };
|
|
1478
|
-
imports.wbg.
|
|
1491
|
+
imports.wbg.__wbg_code_3f2c0ecfa04d4f74 = function(arg0) {
|
|
1479
1492
|
const ret = arg0.code;
|
|
1480
1493
|
return ret;
|
|
1481
1494
|
};
|
|
1482
|
-
imports.wbg.
|
|
1495
|
+
imports.wbg.__wbg_code_7494ffb0ed556a6e = function(arg0) {
|
|
1483
1496
|
const ret = arg0.code;
|
|
1484
1497
|
return ret;
|
|
1485
1498
|
};
|
|
1486
|
-
imports.wbg.
|
|
1499
|
+
imports.wbg.__wbg_contains_d3365b528f4997b6 = function(arg0, arg1, arg2) {
|
|
1487
1500
|
const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
|
|
1488
1501
|
return ret;
|
|
1489
1502
|
};
|
|
1490
|
-
imports.wbg.
|
|
1503
|
+
imports.wbg.__wbg_continue_40eef0ff0247df20 = function() { return handleError(function (arg0) {
|
|
1491
1504
|
arg0.continue();
|
|
1492
1505
|
}, arguments) };
|
|
1493
|
-
imports.wbg.
|
|
1506
|
+
imports.wbg.__wbg_createIndex_1cbed22f5dac0641 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1494
1507
|
const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
|
|
1495
1508
|
return ret;
|
|
1496
1509
|
}, arguments) };
|
|
1497
|
-
imports.wbg.
|
|
1510
|
+
imports.wbg.__wbg_createObjectStore_f81d2438a545065c = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1498
1511
|
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
|
|
1499
1512
|
return ret;
|
|
1500
1513
|
}, arguments) };
|
|
@@ -1502,36 +1515,32 @@ function __wbg_get_imports() {
|
|
|
1502
1515
|
const ret = arg0.crypto;
|
|
1503
1516
|
return ret;
|
|
1504
1517
|
};
|
|
1505
|
-
imports.wbg.
|
|
1518
|
+
imports.wbg.__wbg_data_f0e9cb0e6e0623e9 = function(arg0) {
|
|
1506
1519
|
const ret = arg0.data;
|
|
1507
1520
|
return ret;
|
|
1508
1521
|
};
|
|
1509
|
-
imports.wbg.
|
|
1522
|
+
imports.wbg.__wbg_debug_80dbd0bdb86bbe3b = function(arg0, arg1, arg2, arg3) {
|
|
1510
1523
|
console.debug(arg0, arg1, arg2, arg3);
|
|
1511
1524
|
};
|
|
1512
|
-
imports.wbg.
|
|
1525
|
+
imports.wbg.__wbg_deleteIndex_f5fa98410c30f858 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1513
1526
|
arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
|
|
1514
1527
|
}, arguments) };
|
|
1515
|
-
imports.wbg.
|
|
1528
|
+
imports.wbg.__wbg_deleteObjectStore_88de783d96ce182a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1516
1529
|
arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
|
1517
1530
|
}, arguments) };
|
|
1518
|
-
imports.wbg.
|
|
1531
|
+
imports.wbg.__wbg_delete_73ff37657420da07 = function() { return handleError(function (arg0, arg1) {
|
|
1519
1532
|
const ret = arg0.delete(arg1);
|
|
1520
1533
|
return ret;
|
|
1521
1534
|
}, arguments) };
|
|
1522
|
-
imports.wbg.
|
|
1535
|
+
imports.wbg.__wbg_done_73bb10bcf6e0c339 = function(arg0) {
|
|
1523
1536
|
const ret = arg0.done;
|
|
1524
1537
|
return ret;
|
|
1525
1538
|
};
|
|
1526
|
-
imports.wbg.
|
|
1539
|
+
imports.wbg.__wbg_entries_4f3de4ccde51d587 = function(arg0) {
|
|
1527
1540
|
const ret = Object.entries(arg0);
|
|
1528
1541
|
return ret;
|
|
1529
1542
|
};
|
|
1530
|
-
imports.wbg.
|
|
1531
|
-
const ret = arg0.error;
|
|
1532
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1533
|
-
}, arguments) };
|
|
1534
|
-
imports.wbg.__wbg_error_624160881466fd69 = function(arg0, arg1, arg2, arg3) {
|
|
1543
|
+
imports.wbg.__wbg_error_67c633323e1067bb = function(arg0, arg1, arg2, arg3) {
|
|
1535
1544
|
console.error(arg0, arg1, arg2, arg3);
|
|
1536
1545
|
};
|
|
1537
1546
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
@@ -1548,7 +1557,11 @@ function __wbg_get_imports() {
|
|
|
1548
1557
|
imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
|
|
1549
1558
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
1550
1559
|
};
|
|
1551
|
-
imports.wbg.
|
|
1560
|
+
imports.wbg.__wbg_error_f1e752adc19b7227 = function() { return handleError(function (arg0) {
|
|
1561
|
+
const ret = arg0.error;
|
|
1562
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1563
|
+
}, arguments) };
|
|
1564
|
+
imports.wbg.__wbg_fetch_611809d2c49be2d4 = function(arg0, arg1) {
|
|
1552
1565
|
const ret = arg0.fetch(arg1);
|
|
1553
1566
|
return ret;
|
|
1554
1567
|
};
|
|
@@ -1562,27 +1575,27 @@ function __wbg_get_imports() {
|
|
|
1562
1575
|
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
1563
1576
|
arg0.getRandomValues(arg1);
|
|
1564
1577
|
}, arguments) };
|
|
1565
|
-
imports.wbg.
|
|
1578
|
+
imports.wbg.__wbg_getTime_871723e89d2fc364 = function(arg0) {
|
|
1566
1579
|
const ret = arg0.getTime();
|
|
1567
1580
|
return ret;
|
|
1568
1581
|
};
|
|
1569
|
-
imports.wbg.
|
|
1582
|
+
imports.wbg.__wbg_getTimezoneOffset_3f81a90b92d6f678 = function(arg0) {
|
|
1570
1583
|
const ret = arg0.getTimezoneOffset();
|
|
1571
1584
|
return ret;
|
|
1572
1585
|
};
|
|
1573
|
-
imports.wbg.
|
|
1574
|
-
const ret =
|
|
1586
|
+
imports.wbg.__wbg_get_56d4b5da2b695058 = function() { return handleError(function (arg0, arg1) {
|
|
1587
|
+
const ret = arg0.get(arg1);
|
|
1575
1588
|
return ret;
|
|
1576
1589
|
}, arguments) };
|
|
1577
|
-
imports.wbg.
|
|
1590
|
+
imports.wbg.__wbg_get_6e64f6b3af0c61a2 = function(arg0, arg1) {
|
|
1578
1591
|
const ret = arg0[arg1 >>> 0];
|
|
1579
1592
|
return ret;
|
|
1580
1593
|
};
|
|
1581
|
-
imports.wbg.
|
|
1582
|
-
const ret =
|
|
1594
|
+
imports.wbg.__wbg_get_bb21663672334172 = function() { return handleError(function (arg0, arg1) {
|
|
1595
|
+
const ret = Reflect.get(arg0, arg1);
|
|
1583
1596
|
return ret;
|
|
1584
1597
|
}, arguments) };
|
|
1585
|
-
imports.wbg.
|
|
1598
|
+
imports.wbg.__wbg_get_e768451908b57a36 = function(arg0, arg1, arg2) {
|
|
1586
1599
|
const ret = arg1[arg2 >>> 0];
|
|
1587
1600
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1588
1601
|
var len1 = WASM_VECTOR_LEN;
|
|
@@ -1593,22 +1606,22 @@ function __wbg_get_imports() {
|
|
|
1593
1606
|
const ret = arg0[arg1];
|
|
1594
1607
|
return ret;
|
|
1595
1608
|
};
|
|
1596
|
-
imports.wbg.
|
|
1609
|
+
imports.wbg.__wbg_has_d475219e5abfb8d5 = function() { return handleError(function (arg0, arg1) {
|
|
1597
1610
|
const ret = Reflect.has(arg0, arg1);
|
|
1598
1611
|
return ret;
|
|
1599
1612
|
}, arguments) };
|
|
1600
|
-
imports.wbg.
|
|
1613
|
+
imports.wbg.__wbg_headers_2fbd6da24e99b7fe = function(arg0) {
|
|
1601
1614
|
const ret = arg0.headers;
|
|
1602
1615
|
return ret;
|
|
1603
1616
|
};
|
|
1604
|
-
imports.wbg.
|
|
1617
|
+
imports.wbg.__wbg_indexNames_1393eb62da67fcb3 = function(arg0) {
|
|
1605
1618
|
const ret = arg0.indexNames;
|
|
1606
1619
|
return ret;
|
|
1607
1620
|
};
|
|
1608
|
-
imports.wbg.
|
|
1621
|
+
imports.wbg.__wbg_info_c40bc9ca4670efae = function(arg0, arg1, arg2, arg3) {
|
|
1609
1622
|
console.info(arg0, arg1, arg2, arg3);
|
|
1610
1623
|
};
|
|
1611
|
-
imports.wbg.
|
|
1624
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_625e762023eb35cf = function(arg0) {
|
|
1612
1625
|
let result;
|
|
1613
1626
|
try {
|
|
1614
1627
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1618,7 +1631,7 @@ function __wbg_get_imports() {
|
|
|
1618
1631
|
const ret = result;
|
|
1619
1632
|
return ret;
|
|
1620
1633
|
};
|
|
1621
|
-
imports.wbg.
|
|
1634
|
+
imports.wbg.__wbg_instanceof_Blob_0b44f721b4a0d308 = function(arg0) {
|
|
1622
1635
|
let result;
|
|
1623
1636
|
try {
|
|
1624
1637
|
result = arg0 instanceof Blob;
|
|
@@ -1628,7 +1641,7 @@ function __wbg_get_imports() {
|
|
|
1628
1641
|
const ret = result;
|
|
1629
1642
|
return ret;
|
|
1630
1643
|
};
|
|
1631
|
-
imports.wbg.
|
|
1644
|
+
imports.wbg.__wbg_instanceof_IdbFactory_34c329ff4b0cbb4d = function(arg0) {
|
|
1632
1645
|
let result;
|
|
1633
1646
|
try {
|
|
1634
1647
|
result = arg0 instanceof IDBFactory;
|
|
@@ -1638,7 +1651,7 @@ function __wbg_get_imports() {
|
|
|
1638
1651
|
const ret = result;
|
|
1639
1652
|
return ret;
|
|
1640
1653
|
};
|
|
1641
|
-
imports.wbg.
|
|
1654
|
+
imports.wbg.__wbg_instanceof_Map_7d3de120a6cca988 = function(arg0) {
|
|
1642
1655
|
let result;
|
|
1643
1656
|
try {
|
|
1644
1657
|
result = arg0 instanceof Map;
|
|
@@ -1648,7 +1661,7 @@ function __wbg_get_imports() {
|
|
|
1648
1661
|
const ret = result;
|
|
1649
1662
|
return ret;
|
|
1650
1663
|
};
|
|
1651
|
-
imports.wbg.
|
|
1664
|
+
imports.wbg.__wbg_instanceof_Response_fbc9a5db7a3ab57a = function(arg0) {
|
|
1652
1665
|
let result;
|
|
1653
1666
|
try {
|
|
1654
1667
|
result = arg0 instanceof Response;
|
|
@@ -1658,7 +1671,7 @@ function __wbg_get_imports() {
|
|
|
1658
1671
|
const ret = result;
|
|
1659
1672
|
return ret;
|
|
1660
1673
|
};
|
|
1661
|
-
imports.wbg.
|
|
1674
|
+
imports.wbg.__wbg_instanceof_Uint8Array_6935b7b95ef40080 = function(arg0) {
|
|
1662
1675
|
let result;
|
|
1663
1676
|
try {
|
|
1664
1677
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1668,81 +1681,77 @@ function __wbg_get_imports() {
|
|
|
1668
1681
|
const ret = result;
|
|
1669
1682
|
return ret;
|
|
1670
1683
|
};
|
|
1671
|
-
imports.wbg.
|
|
1684
|
+
imports.wbg.__wbg_isArray_fe31d4a8d77ae781 = function(arg0) {
|
|
1672
1685
|
const ret = Array.isArray(arg0);
|
|
1673
1686
|
return ret;
|
|
1674
1687
|
};
|
|
1675
|
-
imports.wbg.
|
|
1688
|
+
imports.wbg.__wbg_isSafeInteger_342db8cae87edb4e = function(arg0) {
|
|
1676
1689
|
const ret = Number.isSafeInteger(arg0);
|
|
1677
1690
|
return ret;
|
|
1678
1691
|
};
|
|
1679
|
-
imports.wbg.
|
|
1692
|
+
imports.wbg.__wbg_iterator_fe047a6b04943f88 = function() {
|
|
1680
1693
|
const ret = Symbol.iterator;
|
|
1681
1694
|
return ret;
|
|
1682
1695
|
};
|
|
1683
|
-
imports.wbg.
|
|
1696
|
+
imports.wbg.__wbg_key_83acfc09dbbe224b = function() { return handleError(function (arg0) {
|
|
1684
1697
|
const ret = arg0.key;
|
|
1685
1698
|
return ret;
|
|
1686
1699
|
}, arguments) };
|
|
1687
|
-
imports.wbg.
|
|
1700
|
+
imports.wbg.__wbg_length_09646ad20ebb8534 = function(arg0) {
|
|
1688
1701
|
const ret = arg0.length;
|
|
1689
1702
|
return ret;
|
|
1690
1703
|
};
|
|
1691
|
-
imports.wbg.
|
|
1704
|
+
imports.wbg.__wbg_length_537fa63a6103cbdb = function(arg0) {
|
|
1692
1705
|
const ret = arg0.length;
|
|
1693
1706
|
return ret;
|
|
1694
1707
|
};
|
|
1695
|
-
imports.wbg.
|
|
1708
|
+
imports.wbg.__wbg_length_9c7d09e7bea90f1d = function(arg0) {
|
|
1696
1709
|
const ret = arg0.length;
|
|
1697
1710
|
return ret;
|
|
1698
1711
|
};
|
|
1699
|
-
imports.wbg.
|
|
1712
|
+
imports.wbg.__wbg_log_de48fb9598000231 = function(arg0, arg1, arg2, arg3) {
|
|
1700
1713
|
console.log(arg0, arg1, arg2, arg3);
|
|
1701
1714
|
};
|
|
1702
1715
|
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1703
1716
|
const ret = arg0.msCrypto;
|
|
1704
1717
|
return ret;
|
|
1705
1718
|
};
|
|
1706
|
-
imports.wbg.
|
|
1719
|
+
imports.wbg.__wbg_new0_c64c48ddf51d2ee4 = function() {
|
|
1707
1720
|
const ret = new Date();
|
|
1708
1721
|
return ret;
|
|
1709
1722
|
};
|
|
1710
|
-
imports.wbg.
|
|
1723
|
+
imports.wbg.__wbg_new_1b925e0c0e1d30ba = function() {
|
|
1711
1724
|
const ret = new Object();
|
|
1712
1725
|
return ret;
|
|
1713
1726
|
};
|
|
1714
|
-
imports.wbg.
|
|
1715
|
-
const ret = new
|
|
1716
|
-
return ret;
|
|
1717
|
-
}, arguments) };
|
|
1718
|
-
imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
|
|
1719
|
-
const ret = new Headers();
|
|
1720
|
-
return ret;
|
|
1721
|
-
}, arguments) };
|
|
1722
|
-
imports.wbg.__wbg_new_58353953ad2097cc = function() {
|
|
1723
|
-
const ret = new Array();
|
|
1727
|
+
imports.wbg.__wbg_new_3c48ee6a683248da = function() {
|
|
1728
|
+
const ret = new Map();
|
|
1724
1729
|
return ret;
|
|
1725
1730
|
};
|
|
1726
1731
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
1727
1732
|
const ret = new Error();
|
|
1728
1733
|
return ret;
|
|
1729
1734
|
};
|
|
1730
|
-
imports.wbg.
|
|
1735
|
+
imports.wbg.__wbg_new_8ff6ffa0dc289b1f = function() { return handleError(function () {
|
|
1736
|
+
const ret = new Headers();
|
|
1737
|
+
return ret;
|
|
1738
|
+
}, arguments) };
|
|
1739
|
+
imports.wbg.__wbg_new_9db3583303284e35 = function(arg0) {
|
|
1731
1740
|
const ret = new Date(arg0);
|
|
1732
1741
|
return ret;
|
|
1733
1742
|
};
|
|
1734
|
-
imports.wbg.
|
|
1735
|
-
const ret = new
|
|
1743
|
+
imports.wbg.__wbg_new_b25e3e4428c04a92 = function() { return handleError(function (arg0, arg1) {
|
|
1744
|
+
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
1736
1745
|
return ret;
|
|
1737
|
-
};
|
|
1738
|
-
imports.wbg.
|
|
1746
|
+
}, arguments) };
|
|
1747
|
+
imports.wbg.__wbg_new_b38cbb8a106768cf = function(arg0, arg1) {
|
|
1739
1748
|
try {
|
|
1740
1749
|
var state0 = {a: arg0, b: arg1};
|
|
1741
1750
|
var cb0 = (arg0, arg1) => {
|
|
1742
1751
|
const a = state0.a;
|
|
1743
1752
|
state0.a = 0;
|
|
1744
1753
|
try {
|
|
1745
|
-
return
|
|
1754
|
+
return __wbg_adapter_222(a, state0.b, arg0, arg1);
|
|
1746
1755
|
} finally {
|
|
1747
1756
|
state0.a = a;
|
|
1748
1757
|
}
|
|
@@ -1753,39 +1762,39 @@ function __wbg_get_imports() {
|
|
|
1753
1762
|
state0.a = state0.b = 0;
|
|
1754
1763
|
}
|
|
1755
1764
|
};
|
|
1756
|
-
imports.wbg.
|
|
1765
|
+
imports.wbg.__wbg_new_d6b08dae7359cebb = function(arg0) {
|
|
1757
1766
|
const ret = new Uint8Array(arg0);
|
|
1758
1767
|
return ret;
|
|
1759
1768
|
};
|
|
1760
|
-
imports.wbg.
|
|
1761
|
-
const ret = new
|
|
1769
|
+
imports.wbg.__wbg_new_d8a154d0939e6bb4 = function() {
|
|
1770
|
+
const ret = new Array();
|
|
1771
|
+
return ret;
|
|
1772
|
+
};
|
|
1773
|
+
imports.wbg.__wbg_new_eb9a0b389ac8dd8f = function() { return handleError(function () {
|
|
1774
|
+
const ret = new AbortController();
|
|
1762
1775
|
return ret;
|
|
1763
1776
|
}, arguments) };
|
|
1764
|
-
imports.wbg.
|
|
1777
|
+
imports.wbg.__wbg_newfromslice_87a363f6accf981c = function(arg0, arg1) {
|
|
1765
1778
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1766
1779
|
return ret;
|
|
1767
1780
|
};
|
|
1768
|
-
imports.wbg.
|
|
1781
|
+
imports.wbg.__wbg_newnoargs_863941679b1933bb = function(arg0, arg1) {
|
|
1769
1782
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1770
1783
|
return ret;
|
|
1771
1784
|
};
|
|
1772
|
-
imports.wbg.
|
|
1773
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1774
|
-
return ret;
|
|
1775
|
-
};
|
|
1776
|
-
imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
|
|
1785
|
+
imports.wbg.__wbg_newwithlength_79dd8226b146df94 = function(arg0) {
|
|
1777
1786
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1778
1787
|
return ret;
|
|
1779
1788
|
};
|
|
1780
|
-
imports.wbg.
|
|
1789
|
+
imports.wbg.__wbg_newwithstrandinit_59c419a01785b79c = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1781
1790
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1782
1791
|
return ret;
|
|
1783
1792
|
}, arguments) };
|
|
1784
|
-
imports.wbg.
|
|
1793
|
+
imports.wbg.__wbg_next_59846e169128a0ea = function(arg0) {
|
|
1785
1794
|
const ret = arg0.next;
|
|
1786
1795
|
return ret;
|
|
1787
1796
|
};
|
|
1788
|
-
imports.wbg.
|
|
1797
|
+
imports.wbg.__wbg_next_c782e76a0400870a = function() { return handleError(function (arg0) {
|
|
1789
1798
|
const ret = arg0.next();
|
|
1790
1799
|
return ret;
|
|
1791
1800
|
}, arguments) };
|
|
@@ -1793,11 +1802,15 @@ function __wbg_get_imports() {
|
|
|
1793
1802
|
const ret = arg0.node;
|
|
1794
1803
|
return ret;
|
|
1795
1804
|
};
|
|
1796
|
-
imports.wbg.
|
|
1805
|
+
imports.wbg.__wbg_now_5180ef7a3cc4af32 = function() {
|
|
1806
|
+
const ret = Date.now();
|
|
1807
|
+
return ret;
|
|
1808
|
+
};
|
|
1809
|
+
imports.wbg.__wbg_now_6a243c2bde68b68f = function(arg0) {
|
|
1797
1810
|
const ret = arg0.now();
|
|
1798
1811
|
return ret;
|
|
1799
1812
|
};
|
|
1800
|
-
imports.wbg.
|
|
1813
|
+
imports.wbg.__wbg_now_71123b9940376874 = function(arg0) {
|
|
1801
1814
|
const ret = arg0.now();
|
|
1802
1815
|
return ret;
|
|
1803
1816
|
};
|
|
@@ -1805,35 +1818,31 @@ function __wbg_get_imports() {
|
|
|
1805
1818
|
const ret = Date.now();
|
|
1806
1819
|
return ret;
|
|
1807
1820
|
}, arguments) };
|
|
1808
|
-
imports.wbg.
|
|
1809
|
-
const ret = Date.now();
|
|
1810
|
-
return ret;
|
|
1811
|
-
};
|
|
1812
|
-
imports.wbg.__wbg_objectStoreNames_e82275eb2d403a92 = function(arg0) {
|
|
1821
|
+
imports.wbg.__wbg_objectStoreNames_2eb6f59260ca622b = function(arg0) {
|
|
1813
1822
|
const ret = arg0.objectStoreNames;
|
|
1814
1823
|
return ret;
|
|
1815
1824
|
};
|
|
1816
|
-
imports.wbg.
|
|
1825
|
+
imports.wbg.__wbg_objectStore_10bacef7492561d9 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1817
1826
|
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
|
1818
1827
|
return ret;
|
|
1819
1828
|
}, arguments) };
|
|
1820
|
-
imports.wbg.
|
|
1821
|
-
const ret = arg0.openCursor();
|
|
1829
|
+
imports.wbg.__wbg_openCursor_4cd576358271ad68 = function() { return handleError(function (arg0, arg1) {
|
|
1830
|
+
const ret = arg0.openCursor(arg1);
|
|
1822
1831
|
return ret;
|
|
1823
1832
|
}, arguments) };
|
|
1824
|
-
imports.wbg.
|
|
1825
|
-
const ret = arg0.openCursor(
|
|
1833
|
+
imports.wbg.__wbg_openCursor_4cdc231af3d9f36d = function() { return handleError(function (arg0) {
|
|
1834
|
+
const ret = arg0.openCursor();
|
|
1826
1835
|
return ret;
|
|
1827
1836
|
}, arguments) };
|
|
1828
|
-
imports.wbg.
|
|
1829
|
-
const ret = arg0.openCursor(arg1);
|
|
1837
|
+
imports.wbg.__wbg_openCursor_ad5aae0a797cbd86 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1838
|
+
const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
|
|
1830
1839
|
return ret;
|
|
1831
1840
|
}, arguments) };
|
|
1832
|
-
imports.wbg.
|
|
1841
|
+
imports.wbg.__wbg_open_2a7c0878a0baa8b2 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1833
1842
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
1834
1843
|
return ret;
|
|
1835
1844
|
}, arguments) };
|
|
1836
|
-
imports.wbg.
|
|
1845
|
+
imports.wbg.__wbg_open_cf18d06569cbd8f8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1837
1846
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2));
|
|
1838
1847
|
return ret;
|
|
1839
1848
|
}, arguments) };
|
|
@@ -1841,40 +1850,43 @@ function __wbg_get_imports() {
|
|
|
1841
1850
|
const ret = arg0.performance;
|
|
1842
1851
|
return ret;
|
|
1843
1852
|
};
|
|
1844
|
-
imports.wbg.
|
|
1853
|
+
imports.wbg.__wbg_postMessage_c404cedcccb08ca1 = function() { return handleError(function (arg0, arg1) {
|
|
1845
1854
|
arg0.postMessage(arg1);
|
|
1846
1855
|
}, arguments) };
|
|
1847
1856
|
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1848
1857
|
const ret = arg0.process;
|
|
1849
1858
|
return ret;
|
|
1850
1859
|
};
|
|
1851
|
-
imports.wbg.
|
|
1860
|
+
imports.wbg.__wbg_prototypesetcall_a81ac58a5b6e988c = function(arg0, arg1, arg2) {
|
|
1861
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1862
|
+
};
|
|
1863
|
+
imports.wbg.__wbg_push_a625ffb414ba40f2 = function(arg0, arg1) {
|
|
1852
1864
|
const ret = arg0.push(arg1);
|
|
1853
1865
|
return ret;
|
|
1854
1866
|
};
|
|
1855
|
-
imports.wbg.
|
|
1867
|
+
imports.wbg.__wbg_put_2852b836f727aa24 = function() { return handleError(function (arg0, arg1) {
|
|
1856
1868
|
const ret = arg0.put(arg1);
|
|
1857
1869
|
return ret;
|
|
1858
1870
|
}, arguments) };
|
|
1859
|
-
imports.wbg.
|
|
1871
|
+
imports.wbg.__wbg_put_43d1b6f83d0a84aa = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1860
1872
|
const ret = arg0.put(arg1, arg2);
|
|
1861
1873
|
return ret;
|
|
1862
1874
|
}, arguments) };
|
|
1863
|
-
imports.wbg.
|
|
1875
|
+
imports.wbg.__wbg_queueMicrotask_1d75ffff194a09bc = function(arg0) {
|
|
1864
1876
|
queueMicrotask(arg0);
|
|
1865
1877
|
};
|
|
1866
|
-
imports.wbg.
|
|
1878
|
+
imports.wbg.__wbg_queueMicrotask_b9a8d325fc1ebe35 = function(arg0) {
|
|
1867
1879
|
const ret = arg0.queueMicrotask;
|
|
1868
1880
|
return ret;
|
|
1869
1881
|
};
|
|
1870
1882
|
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1871
1883
|
arg0.randomFillSync(arg1);
|
|
1872
1884
|
}, arguments) };
|
|
1873
|
-
imports.wbg.
|
|
1885
|
+
imports.wbg.__wbg_readyState_79842e7a36b3e26f = function(arg0) {
|
|
1874
1886
|
const ret = arg0.readyState;
|
|
1875
1887
|
return ret;
|
|
1876
1888
|
};
|
|
1877
|
-
imports.wbg.
|
|
1889
|
+
imports.wbg.__wbg_reason_0d911d4cf2fdcb89 = function(arg0, arg1) {
|
|
1878
1890
|
const ret = arg1.reason;
|
|
1879
1891
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1880
1892
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -1885,18 +1897,18 @@ function __wbg_get_imports() {
|
|
|
1885
1897
|
const ret = module.require;
|
|
1886
1898
|
return ret;
|
|
1887
1899
|
}, arguments) };
|
|
1888
|
-
imports.wbg.
|
|
1900
|
+
imports.wbg.__wbg_resolve_f9faa06f9350ac82 = function(arg0) {
|
|
1889
1901
|
const ret = Promise.resolve(arg0);
|
|
1890
1902
|
return ret;
|
|
1891
1903
|
};
|
|
1892
|
-
imports.wbg.
|
|
1904
|
+
imports.wbg.__wbg_result_edc56dc5d213943f = function() { return handleError(function (arg0) {
|
|
1893
1905
|
const ret = arg0.result;
|
|
1894
1906
|
return ret;
|
|
1895
1907
|
}, arguments) };
|
|
1896
|
-
imports.wbg.
|
|
1908
|
+
imports.wbg.__wbg_send_1bcf47fc78631aa0 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1897
1909
|
arg0.send(getArrayU8FromWasm0(arg1, arg2));
|
|
1898
1910
|
}, arguments) };
|
|
1899
|
-
imports.wbg.
|
|
1911
|
+
imports.wbg.__wbg_send_64d7571c89ed808e = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1900
1912
|
arg0.send(getStringFromWasm0(arg1, arg2));
|
|
1901
1913
|
}, arguments) };
|
|
1902
1914
|
imports.wbg.__wbg_setInterval_c733bbe39e9b7c2b = function(arg0, arg1) {
|
|
@@ -1918,86 +1930,83 @@ function __wbg_get_imports() {
|
|
|
1918
1930
|
const ret = arg0.setTimeout(arg1, arg2);
|
|
1919
1931
|
return ret;
|
|
1920
1932
|
}, arguments) };
|
|
1933
|
+
imports.wbg.__wbg_set_038a8a067d895c6a = function(arg0, arg1, arg2) {
|
|
1934
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1935
|
+
};
|
|
1921
1936
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1922
1937
|
arg0[arg1] = arg2;
|
|
1923
1938
|
};
|
|
1924
|
-
imports.wbg.
|
|
1925
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1926
|
-
};
|
|
1927
|
-
imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
|
|
1939
|
+
imports.wbg.__wbg_set_a15b7b524330d4f1 = function(arg0, arg1, arg2) {
|
|
1928
1940
|
const ret = arg0.set(arg1, arg2);
|
|
1929
1941
|
return ret;
|
|
1930
1942
|
};
|
|
1931
|
-
imports.wbg.
|
|
1932
|
-
arg0.set(arg1, arg2 >>> 0);
|
|
1933
|
-
};
|
|
1934
|
-
imports.wbg.__wbg_setautoincrement_6589237510ecaf4f = function(arg0, arg1) {
|
|
1943
|
+
imports.wbg.__wbg_setautoincrement_1c7ba42a63746112 = function(arg0, arg1) {
|
|
1935
1944
|
arg0.autoIncrement = arg1 !== 0;
|
|
1936
1945
|
};
|
|
1937
|
-
imports.wbg.
|
|
1946
|
+
imports.wbg.__wbg_setbinaryType_6091041926b40e35 = function(arg0, arg1) {
|
|
1938
1947
|
arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
1939
1948
|
};
|
|
1940
|
-
imports.wbg.
|
|
1949
|
+
imports.wbg.__wbg_setbody_eae092e0854ca08a = function(arg0, arg1) {
|
|
1941
1950
|
arg0.body = arg1;
|
|
1942
1951
|
};
|
|
1943
|
-
imports.wbg.
|
|
1952
|
+
imports.wbg.__wbg_setcache_70ccfaf96bf3bf74 = function(arg0, arg1) {
|
|
1944
1953
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1945
1954
|
};
|
|
1946
|
-
imports.wbg.
|
|
1955
|
+
imports.wbg.__wbg_setcredentials_ddd888a46135fc55 = function(arg0, arg1) {
|
|
1947
1956
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1948
1957
|
};
|
|
1949
|
-
imports.wbg.
|
|
1958
|
+
imports.wbg.__wbg_setheaders_45a1a764e8a12c9e = function(arg0, arg1) {
|
|
1950
1959
|
arg0.headers = arg1;
|
|
1951
1960
|
};
|
|
1952
|
-
imports.wbg.
|
|
1961
|
+
imports.wbg.__wbg_setkeypath_05f52d0e6711e48a = function(arg0, arg1) {
|
|
1953
1962
|
arg0.keyPath = arg1;
|
|
1954
1963
|
};
|
|
1955
|
-
imports.wbg.
|
|
1964
|
+
imports.wbg.__wbg_setmethod_105ebdc42c30973c = function(arg0, arg1, arg2) {
|
|
1956
1965
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1957
1966
|
};
|
|
1958
|
-
imports.wbg.
|
|
1967
|
+
imports.wbg.__wbg_setmode_0bdbbe8e2bd4a045 = function(arg0, arg1) {
|
|
1959
1968
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1960
1969
|
};
|
|
1961
|
-
imports.wbg.
|
|
1970
|
+
imports.wbg.__wbg_setmultientry_bac208c25c921e8c = function(arg0, arg1) {
|
|
1962
1971
|
arg0.multiEntry = arg1 !== 0;
|
|
1963
1972
|
};
|
|
1964
|
-
imports.wbg.
|
|
1973
|
+
imports.wbg.__wbg_setonabort_ce5b0297ac87ad98 = function(arg0, arg1) {
|
|
1965
1974
|
arg0.onabort = arg1;
|
|
1966
1975
|
};
|
|
1967
|
-
imports.wbg.
|
|
1976
|
+
imports.wbg.__wbg_setonclose_ed36c5c56fb23784 = function(arg0, arg1) {
|
|
1968
1977
|
arg0.onclose = arg1;
|
|
1969
1978
|
};
|
|
1970
|
-
imports.wbg.
|
|
1979
|
+
imports.wbg.__wbg_setoncomplete_fdb5cbfe53d8afc0 = function(arg0, arg1) {
|
|
1971
1980
|
arg0.oncomplete = arg1;
|
|
1972
1981
|
};
|
|
1973
|
-
imports.wbg.
|
|
1982
|
+
imports.wbg.__wbg_setonerror_0b06c8c3823405d9 = function(arg0, arg1) {
|
|
1974
1983
|
arg0.onerror = arg1;
|
|
1975
1984
|
};
|
|
1976
|
-
imports.wbg.
|
|
1985
|
+
imports.wbg.__wbg_setonerror_9368e4812d62d001 = function(arg0, arg1) {
|
|
1977
1986
|
arg0.onerror = arg1;
|
|
1978
1987
|
};
|
|
1979
|
-
imports.wbg.
|
|
1988
|
+
imports.wbg.__wbg_setonerror_9ba199199b0e31ef = function(arg0, arg1) {
|
|
1980
1989
|
arg0.onerror = arg1;
|
|
1981
1990
|
};
|
|
1982
|
-
imports.wbg.
|
|
1991
|
+
imports.wbg.__wbg_setonmessage_030be9b28b78c8a3 = function(arg0, arg1) {
|
|
1983
1992
|
arg0.onmessage = arg1;
|
|
1984
1993
|
};
|
|
1985
|
-
imports.wbg.
|
|
1994
|
+
imports.wbg.__wbg_setonopen_efe76fab4b23b530 = function(arg0, arg1) {
|
|
1986
1995
|
arg0.onopen = arg1;
|
|
1987
1996
|
};
|
|
1988
|
-
imports.wbg.
|
|
1997
|
+
imports.wbg.__wbg_setonsuccess_8128514f84436214 = function(arg0, arg1) {
|
|
1989
1998
|
arg0.onsuccess = arg1;
|
|
1990
1999
|
};
|
|
1991
|
-
imports.wbg.
|
|
2000
|
+
imports.wbg.__wbg_setonupgradeneeded_d0eb7543b529ba4f = function(arg0, arg1) {
|
|
1992
2001
|
arg0.onupgradeneeded = arg1;
|
|
1993
2002
|
};
|
|
1994
|
-
imports.wbg.
|
|
2003
|
+
imports.wbg.__wbg_setsignal_bf1514f1b6ae2fd8 = function(arg0, arg1) {
|
|
1995
2004
|
arg0.signal = arg1;
|
|
1996
2005
|
};
|
|
1997
|
-
imports.wbg.
|
|
2006
|
+
imports.wbg.__wbg_setunique_785a6fec6f5f82f8 = function(arg0, arg1) {
|
|
1998
2007
|
arg0.unique = arg1 !== 0;
|
|
1999
2008
|
};
|
|
2000
|
-
imports.wbg.
|
|
2009
|
+
imports.wbg.__wbg_signal_50f939f8e2d92aa9 = function(arg0) {
|
|
2001
2010
|
const ret = arg0.signal;
|
|
2002
2011
|
return ret;
|
|
2003
2012
|
};
|
|
@@ -2008,119 +2017,107 @@ function __wbg_get_imports() {
|
|
|
2008
2017
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2009
2018
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2010
2019
|
};
|
|
2011
|
-
imports.wbg.
|
|
2020
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_656a564fb01c5b63 = function() {
|
|
2012
2021
|
const ret = typeof global === 'undefined' ? null : global;
|
|
2013
2022
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2014
2023
|
};
|
|
2015
|
-
imports.wbg.
|
|
2024
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_09a6cc4b9571ef65 = function() {
|
|
2016
2025
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
2017
2026
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2018
2027
|
};
|
|
2019
|
-
imports.wbg.
|
|
2028
|
+
imports.wbg.__wbg_static_accessor_SELF_36742aea97854d74 = function() {
|
|
2020
2029
|
const ret = typeof self === 'undefined' ? null : self;
|
|
2021
2030
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2022
2031
|
};
|
|
2023
|
-
imports.wbg.
|
|
2032
|
+
imports.wbg.__wbg_static_accessor_WINDOW_0ce0d90b0830e7e6 = function() {
|
|
2024
2033
|
const ret = typeof window === 'undefined' ? null : window;
|
|
2025
2034
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2026
2035
|
};
|
|
2027
|
-
imports.wbg.
|
|
2036
|
+
imports.wbg.__wbg_status_7fd748ec5eec290d = function(arg0) {
|
|
2028
2037
|
const ret = arg0.status;
|
|
2029
2038
|
return ret;
|
|
2030
2039
|
};
|
|
2031
|
-
imports.wbg.
|
|
2040
|
+
imports.wbg.__wbg_stringify_61d42b7d144137e4 = function() { return handleError(function (arg0) {
|
|
2032
2041
|
const ret = JSON.stringify(arg0);
|
|
2033
2042
|
return ret;
|
|
2034
2043
|
}, arguments) };
|
|
2035
|
-
imports.wbg.
|
|
2044
|
+
imports.wbg.__wbg_subarray_07c7c2b284d2102d = function(arg0, arg1, arg2) {
|
|
2036
2045
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
2037
2046
|
return ret;
|
|
2038
2047
|
};
|
|
2039
|
-
imports.wbg.
|
|
2048
|
+
imports.wbg.__wbg_target_72e166dcea4f58a3 = function(arg0) {
|
|
2040
2049
|
const ret = arg0.target;
|
|
2041
2050
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2042
2051
|
};
|
|
2043
|
-
imports.wbg.
|
|
2052
|
+
imports.wbg.__wbg_text_d0c0100f17e99e8f = function() { return handleError(function (arg0) {
|
|
2044
2053
|
const ret = arg0.text();
|
|
2045
2054
|
return ret;
|
|
2046
2055
|
}, arguments) };
|
|
2047
|
-
imports.wbg.
|
|
2048
|
-
const ret = arg0.then(arg1
|
|
2056
|
+
imports.wbg.__wbg_then_66350f316a20107b = function(arg0, arg1) {
|
|
2057
|
+
const ret = arg0.then(arg1);
|
|
2049
2058
|
return ret;
|
|
2050
2059
|
};
|
|
2051
|
-
imports.wbg.
|
|
2052
|
-
const ret = arg0.then(arg1);
|
|
2060
|
+
imports.wbg.__wbg_then_a8d64a36c84944e9 = function(arg0, arg1, arg2) {
|
|
2061
|
+
const ret = arg0.then(arg1, arg2);
|
|
2053
2062
|
return ret;
|
|
2054
2063
|
};
|
|
2055
|
-
imports.wbg.
|
|
2064
|
+
imports.wbg.__wbg_toString_212ed1a09015116e = function(arg0) {
|
|
2056
2065
|
const ret = arg0.toString();
|
|
2057
2066
|
return ret;
|
|
2058
2067
|
};
|
|
2059
|
-
imports.wbg.
|
|
2060
|
-
const ret = arg0.transaction;
|
|
2061
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2062
|
-
};
|
|
2063
|
-
imports.wbg.__wbg_transaction_399fc15f5bba1880 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2068
|
+
imports.wbg.__wbg_transaction_5bf4a8d590ebdbbb = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2064
2069
|
const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
|
|
2065
2070
|
return ret;
|
|
2066
2071
|
}, arguments) };
|
|
2067
|
-
imports.wbg.
|
|
2072
|
+
imports.wbg.__wbg_transaction_60c6f85a83cfb35e = function(arg0) {
|
|
2073
|
+
const ret = arg0.transaction;
|
|
2074
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2075
|
+
};
|
|
2076
|
+
imports.wbg.__wbg_url_6c91002a6358b1ec = function(arg0, arg1) {
|
|
2068
2077
|
const ret = arg1.url;
|
|
2069
2078
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2070
2079
|
const len1 = WASM_VECTOR_LEN;
|
|
2071
2080
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2072
2081
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2073
2082
|
};
|
|
2074
|
-
imports.wbg.
|
|
2083
|
+
imports.wbg.__wbg_url_cc954a4db05371ac = function(arg0, arg1) {
|
|
2075
2084
|
const ret = arg1.url;
|
|
2076
2085
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2077
2086
|
const len1 = WASM_VECTOR_LEN;
|
|
2078
2087
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2079
2088
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2080
2089
|
};
|
|
2081
|
-
imports.wbg.
|
|
2090
|
+
imports.wbg.__wbg_value_1006f2c681888091 = function() { return handleError(function (arg0) {
|
|
2082
2091
|
const ret = arg0.value;
|
|
2083
2092
|
return ret;
|
|
2084
|
-
};
|
|
2085
|
-
imports.wbg.
|
|
2093
|
+
}, arguments) };
|
|
2094
|
+
imports.wbg.__wbg_value_4ae21701b6f5c482 = function(arg0) {
|
|
2086
2095
|
const ret = arg0.value;
|
|
2087
2096
|
return ret;
|
|
2088
|
-
}
|
|
2097
|
+
};
|
|
2089
2098
|
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
2090
2099
|
const ret = arg0.versions;
|
|
2091
2100
|
return ret;
|
|
2092
2101
|
};
|
|
2093
|
-
imports.wbg.
|
|
2102
|
+
imports.wbg.__wbg_warn_ca2df7e1f95ea58c = function(arg0, arg1, arg2, arg3) {
|
|
2094
2103
|
console.warn(arg0, arg1, arg2, arg3);
|
|
2095
2104
|
};
|
|
2096
|
-
imports.wbg.
|
|
2105
|
+
imports.wbg.__wbg_wasClean_871b5d3fe6b372d2 = function(arg0) {
|
|
2097
2106
|
const ret = arg0.wasClean;
|
|
2098
2107
|
return ret;
|
|
2099
2108
|
};
|
|
2100
|
-
imports.wbg.
|
|
2101
|
-
const ret = +arg0;
|
|
2102
|
-
return ret;
|
|
2103
|
-
};
|
|
2104
|
-
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
2105
|
-
const ret = arg0;
|
|
2106
|
-
return ret;
|
|
2107
|
-
};
|
|
2108
|
-
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
2109
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
2110
|
-
return ret;
|
|
2111
|
-
};
|
|
2112
|
-
imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
2109
|
+
imports.wbg.__wbg_wbindgenbigintgetasi64_d3d568a64e846827 = function(arg0, arg1) {
|
|
2113
2110
|
const v = arg1;
|
|
2114
2111
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
2115
2112
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
2116
2113
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
2117
2114
|
};
|
|
2118
|
-
imports.wbg.
|
|
2115
|
+
imports.wbg.__wbg_wbindgenbooleanget_527bfac1bf7c06df = function(arg0) {
|
|
2119
2116
|
const v = arg0;
|
|
2120
|
-
const ret = typeof(v) === 'boolean' ?
|
|
2121
|
-
return ret;
|
|
2117
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
2118
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
2122
2119
|
};
|
|
2123
|
-
imports.wbg.
|
|
2120
|
+
imports.wbg.__wbg_wbindgencbdrop_470850fcb28f4519 = function(arg0) {
|
|
2124
2121
|
const obj = arg0.original;
|
|
2125
2122
|
if (obj.cnt-- == 1) {
|
|
2126
2123
|
obj.a = 0;
|
|
@@ -2129,107 +2126,57 @@ function __wbg_get_imports() {
|
|
|
2129
2126
|
const ret = false;
|
|
2130
2127
|
return ret;
|
|
2131
2128
|
};
|
|
2132
|
-
imports.wbg.
|
|
2133
|
-
const ret = makeMutClosure(arg0, arg1, 711, __wbg_adapter_55);
|
|
2134
|
-
return ret;
|
|
2135
|
-
};
|
|
2136
|
-
imports.wbg.__wbindgen_closure_wrapper11305 = function(arg0, arg1, arg2) {
|
|
2137
|
-
const ret = makeMutClosure(arg0, arg1, 857, __wbg_adapter_58);
|
|
2138
|
-
return ret;
|
|
2139
|
-
};
|
|
2140
|
-
imports.wbg.__wbindgen_closure_wrapper11335 = function(arg0, arg1, arg2) {
|
|
2141
|
-
const ret = makeMutClosure(arg0, arg1, 860, __wbg_adapter_65);
|
|
2142
|
-
return ret;
|
|
2143
|
-
};
|
|
2144
|
-
imports.wbg.__wbindgen_closure_wrapper20108 = function(arg0, arg1, arg2) {
|
|
2145
|
-
const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_55);
|
|
2146
|
-
return ret;
|
|
2147
|
-
};
|
|
2148
|
-
imports.wbg.__wbindgen_closure_wrapper20149 = function(arg0, arg1, arg2) {
|
|
2149
|
-
const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_58);
|
|
2150
|
-
return ret;
|
|
2151
|
-
};
|
|
2152
|
-
imports.wbg.__wbindgen_closure_wrapper2189 = function(arg0, arg1, arg2) {
|
|
2153
|
-
const ret = makeClosure(arg0, arg1, 352, __wbg_adapter_52);
|
|
2154
|
-
return ret;
|
|
2155
|
-
};
|
|
2156
|
-
imports.wbg.__wbindgen_closure_wrapper2894 = function(arg0, arg1, arg2) {
|
|
2157
|
-
const ret = makeMutClosure(arg0, arg1, 352, __wbg_adapter_55);
|
|
2158
|
-
return ret;
|
|
2159
|
-
};
|
|
2160
|
-
imports.wbg.__wbindgen_closure_wrapper5457 = function(arg0, arg1, arg2) {
|
|
2161
|
-
const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_58);
|
|
2162
|
-
return ret;
|
|
2163
|
-
};
|
|
2164
|
-
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
2129
|
+
imports.wbg.__wbg_wbindgendebugstring_0c28a61befa1f3ce = function(arg0, arg1) {
|
|
2165
2130
|
const ret = debugString(arg1);
|
|
2166
2131
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2167
2132
|
const len1 = WASM_VECTOR_LEN;
|
|
2168
2133
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2169
2134
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2170
2135
|
};
|
|
2171
|
-
imports.wbg.
|
|
2136
|
+
imports.wbg.__wbg_wbindgenin_ed944d66e9a43ef2 = function(arg0, arg1) {
|
|
2172
2137
|
const ret = arg0 in arg1;
|
|
2173
2138
|
return ret;
|
|
2174
2139
|
};
|
|
2175
|
-
imports.wbg.
|
|
2176
|
-
const table = wasm.__wbindgen_export_4;
|
|
2177
|
-
const offset = table.grow(4);
|
|
2178
|
-
table.set(0, undefined);
|
|
2179
|
-
table.set(offset + 0, undefined);
|
|
2180
|
-
table.set(offset + 1, null);
|
|
2181
|
-
table.set(offset + 2, true);
|
|
2182
|
-
table.set(offset + 3, false);
|
|
2183
|
-
;
|
|
2184
|
-
};
|
|
2185
|
-
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
2140
|
+
imports.wbg.__wbg_wbindgenisbigint_1a3fbe7ad37b3968 = function(arg0) {
|
|
2186
2141
|
const ret = typeof(arg0) === 'bigint';
|
|
2187
2142
|
return ret;
|
|
2188
2143
|
};
|
|
2189
|
-
imports.wbg.
|
|
2144
|
+
imports.wbg.__wbg_wbindgenisfalsy_487fc8c477e22c22 = function(arg0) {
|
|
2190
2145
|
const ret = !arg0;
|
|
2191
2146
|
return ret;
|
|
2192
2147
|
};
|
|
2193
|
-
imports.wbg.
|
|
2148
|
+
imports.wbg.__wbg_wbindgenisfunction_27a5c72d80bbdf07 = function(arg0) {
|
|
2194
2149
|
const ret = typeof(arg0) === 'function';
|
|
2195
2150
|
return ret;
|
|
2196
2151
|
};
|
|
2197
|
-
imports.wbg.
|
|
2152
|
+
imports.wbg.__wbg_wbindgenisobject_bdb9aa7f2dd707ef = function(arg0) {
|
|
2198
2153
|
const val = arg0;
|
|
2199
2154
|
const ret = typeof(val) === 'object' && val !== null;
|
|
2200
2155
|
return ret;
|
|
2201
2156
|
};
|
|
2202
|
-
imports.wbg.
|
|
2157
|
+
imports.wbg.__wbg_wbindgenisstring_55b63daa584dc807 = function(arg0) {
|
|
2203
2158
|
const ret = typeof(arg0) === 'string';
|
|
2204
2159
|
return ret;
|
|
2205
2160
|
};
|
|
2206
|
-
imports.wbg.
|
|
2161
|
+
imports.wbg.__wbg_wbindgenisundefined_2e902cd900cf5927 = function(arg0) {
|
|
2207
2162
|
const ret = arg0 === undefined;
|
|
2208
2163
|
return ret;
|
|
2209
2164
|
};
|
|
2210
|
-
imports.wbg.
|
|
2165
|
+
imports.wbg.__wbg_wbindgenjsvaleq_af67af1ed6574f4f = function(arg0, arg1) {
|
|
2211
2166
|
const ret = arg0 === arg1;
|
|
2212
2167
|
return ret;
|
|
2213
2168
|
};
|
|
2214
|
-
imports.wbg.
|
|
2169
|
+
imports.wbg.__wbg_wbindgenjsvallooseeq_4f1ced8136023b79 = function(arg0, arg1) {
|
|
2215
2170
|
const ret = arg0 == arg1;
|
|
2216
2171
|
return ret;
|
|
2217
2172
|
};
|
|
2218
|
-
imports.wbg.
|
|
2219
|
-
const ret = wasm.memory;
|
|
2220
|
-
return ret;
|
|
2221
|
-
};
|
|
2222
|
-
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
2173
|
+
imports.wbg.__wbg_wbindgennumberget_41a5988c9fc46eeb = function(arg0, arg1) {
|
|
2223
2174
|
const obj = arg1;
|
|
2224
2175
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
2225
2176
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
2226
2177
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
2227
2178
|
};
|
|
2228
|
-
imports.wbg.
|
|
2229
|
-
const ret = arg0;
|
|
2230
|
-
return ret;
|
|
2231
|
-
};
|
|
2232
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
2179
|
+
imports.wbg.__wbg_wbindgenstringget_c45e0c672ada3c64 = function(arg0, arg1) {
|
|
2233
2180
|
const obj = arg1;
|
|
2234
2181
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
2235
2182
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2237,12 +2184,78 @@ function __wbg_get_imports() {
|
|
|
2237
2184
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2238
2185
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2239
2186
|
};
|
|
2240
|
-
imports.wbg.
|
|
2187
|
+
imports.wbg.__wbg_wbindgenthrow_681185b504fabc8e = function(arg0, arg1) {
|
|
2188
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
2189
|
+
};
|
|
2190
|
+
imports.wbg.__wbindgen_cast_184d600a38453ec9 = function(arg0, arg1) {
|
|
2191
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 267, function: Function { arguments: [], shim_idx: 268, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
2192
|
+
const ret = makeClosure(arg0, arg1, 267, __wbg_adapter_31);
|
|
2193
|
+
return ret;
|
|
2194
|
+
};
|
|
2195
|
+
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
2196
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
2241
2197
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
2242
2198
|
return ret;
|
|
2243
2199
|
};
|
|
2244
|
-
imports.wbg.
|
|
2245
|
-
|
|
2200
|
+
imports.wbg.__wbindgen_cast_43561ab79e43e799 = function(arg0, arg1) {
|
|
2201
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 641, function: Function { arguments: [], shim_idx: 485, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2202
|
+
const ret = makeMutClosure(arg0, arg1, 641, __wbg_adapter_17);
|
|
2203
|
+
return ret;
|
|
2204
|
+
};
|
|
2205
|
+
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
2206
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
2207
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
2208
|
+
return ret;
|
|
2209
|
+
};
|
|
2210
|
+
imports.wbg.__wbindgen_cast_5120819c36bfff40 = function(arg0, arg1) {
|
|
2211
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 725, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 357, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2212
|
+
const ret = makeMutClosure(arg0, arg1, 725, __wbg_adapter_8);
|
|
2213
|
+
return ret;
|
|
2214
|
+
};
|
|
2215
|
+
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
2216
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
2217
|
+
const ret = arg0;
|
|
2218
|
+
return ret;
|
|
2219
|
+
};
|
|
2220
|
+
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
2221
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
2222
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
2223
|
+
return ret;
|
|
2224
|
+
};
|
|
2225
|
+
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
2226
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
2227
|
+
const ret = arg0;
|
|
2228
|
+
return ret;
|
|
2229
|
+
};
|
|
2230
|
+
imports.wbg.__wbindgen_cast_e058a0a5cff64fb2 = function(arg0, arg1) {
|
|
2231
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 865, function: Function { arguments: [NamedExternref("Event")], shim_idx: 866, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2232
|
+
const ret = makeMutClosure(arg0, arg1, 865, __wbg_adapter_26);
|
|
2233
|
+
return ret;
|
|
2234
|
+
};
|
|
2235
|
+
imports.wbg.__wbindgen_cast_e18de7f8c8d727a0 = function(arg0, arg1) {
|
|
2236
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 641, function: Function { arguments: [Externref], shim_idx: 357, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2237
|
+
const ret = makeMutClosure(arg0, arg1, 641, __wbg_adapter_8);
|
|
2238
|
+
return ret;
|
|
2239
|
+
};
|
|
2240
|
+
imports.wbg.__wbindgen_cast_e3d6704fc2f8f5a8 = function(arg0, arg1) {
|
|
2241
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 484, function: Function { arguments: [], shim_idx: 485, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2242
|
+
const ret = makeMutClosure(arg0, arg1, 484, __wbg_adapter_17);
|
|
2243
|
+
return ret;
|
|
2244
|
+
};
|
|
2245
|
+
imports.wbg.__wbindgen_cast_fb509b5333712aa1 = function(arg0, arg1) {
|
|
2246
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 267, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 357, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2247
|
+
const ret = makeMutClosure(arg0, arg1, 267, __wbg_adapter_8);
|
|
2248
|
+
return ret;
|
|
2249
|
+
};
|
|
2250
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
2251
|
+
const table = wasm.__wbindgen_export_4;
|
|
2252
|
+
const offset = table.grow(4);
|
|
2253
|
+
table.set(0, undefined);
|
|
2254
|
+
table.set(offset + 0, undefined);
|
|
2255
|
+
table.set(offset + 1, null);
|
|
2256
|
+
table.set(offset + 2, true);
|
|
2257
|
+
table.set(offset + 3, false);
|
|
2258
|
+
;
|
|
2246
2259
|
};
|
|
2247
2260
|
|
|
2248
2261
|
return imports;
|
package/index_bg.wasm
CHANGED
|
Binary file
|