@next/swc-wasm-nodejs 13.5.7-canary.29 → 14.0.5-canary.3
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/package.json +1 -1
- package/wasm.d.ts +12 -18
- package/wasm.js +298 -329
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {any} opts
|
|
6
|
+
* @returns {any}
|
|
7
|
+
*/
|
|
8
|
+
export function mdxCompileSync(value: string, opts: any): any;
|
|
9
|
+
/**
|
|
10
|
+
* @param {string} value
|
|
11
|
+
* @param {any} opts
|
|
12
|
+
* @returns {Promise<any>}
|
|
13
|
+
*/
|
|
14
|
+
export function mdxCompile(value: string, opts: any): Promise<any>;
|
|
15
|
+
/**
|
|
4
16
|
* @param {string} s
|
|
5
17
|
* @param {any} opts
|
|
6
18
|
* @returns {any}
|
|
@@ -36,21 +48,3 @@ export function parseSync(s: string, opts: any): any;
|
|
|
36
48
|
* @returns {Promise<any>}
|
|
37
49
|
*/
|
|
38
50
|
export function parse(s: string, opts: any): Promise<any>;
|
|
39
|
-
/**
|
|
40
|
-
* @param {string} value
|
|
41
|
-
* @param {any} opts
|
|
42
|
-
* @returns {any}
|
|
43
|
-
*/
|
|
44
|
-
export function mdxCompileSync(value: string, opts: any): any;
|
|
45
|
-
/**
|
|
46
|
-
* @param {string} value
|
|
47
|
-
* @param {any} opts
|
|
48
|
-
* @returns {Promise<any>}
|
|
49
|
-
*/
|
|
50
|
-
export function mdxCompile(value: string, opts: any): Promise<any>;
|
|
51
|
-
/**
|
|
52
|
-
* @param {string} query
|
|
53
|
-
* @param {any} opts
|
|
54
|
-
* @returns {any}
|
|
55
|
-
*/
|
|
56
|
-
export function browserslist(query: string, opts: any): any;
|
package/wasm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
let imports = {};
|
|
2
2
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
3
|
let wasm;
|
|
4
|
-
const {
|
|
4
|
+
const { TextDecoder, TextEncoder } = require(`util`);
|
|
5
5
|
|
|
6
6
|
const heap = new Array(128).fill(undefined);
|
|
7
7
|
|
|
@@ -23,7 +23,18 @@ function takeObject(idx) {
|
|
|
23
23
|
return ret;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
function addHeapObject(obj) {
|
|
27
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
28
|
+
const idx = heap_next;
|
|
29
|
+
heap_next = heap[idx];
|
|
30
|
+
|
|
31
|
+
heap[idx] = obj;
|
|
32
|
+
return idx;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
36
|
+
|
|
37
|
+
cachedTextDecoder.decode();
|
|
27
38
|
|
|
28
39
|
let cachedUint8Memory0 = null;
|
|
29
40
|
|
|
@@ -34,6 +45,34 @@ function getUint8Memory0() {
|
|
|
34
45
|
return cachedUint8Memory0;
|
|
35
46
|
}
|
|
36
47
|
|
|
48
|
+
function getStringFromWasm0(ptr, len) {
|
|
49
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function isLikeNone(x) {
|
|
53
|
+
return x === undefined || x === null;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
let cachedFloat64Memory0 = null;
|
|
57
|
+
|
|
58
|
+
function getFloat64Memory0() {
|
|
59
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
60
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
61
|
+
}
|
|
62
|
+
return cachedFloat64Memory0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
let cachedInt32Memory0 = null;
|
|
66
|
+
|
|
67
|
+
function getInt32Memory0() {
|
|
68
|
+
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
69
|
+
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
70
|
+
}
|
|
71
|
+
return cachedInt32Memory0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
let WASM_VECTOR_LEN = 0;
|
|
75
|
+
|
|
37
76
|
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
38
77
|
|
|
39
78
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
@@ -87,45 +126,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
87
126
|
return ptr;
|
|
88
127
|
}
|
|
89
128
|
|
|
90
|
-
function isLikeNone(x) {
|
|
91
|
-
return x === undefined || x === null;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
let cachedInt32Memory0 = null;
|
|
95
|
-
|
|
96
|
-
function getInt32Memory0() {
|
|
97
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
98
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
99
|
-
}
|
|
100
|
-
return cachedInt32Memory0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
104
|
-
|
|
105
|
-
cachedTextDecoder.decode();
|
|
106
|
-
|
|
107
|
-
function getStringFromWasm0(ptr, len) {
|
|
108
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
function addHeapObject(obj) {
|
|
112
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
113
|
-
const idx = heap_next;
|
|
114
|
-
heap_next = heap[idx];
|
|
115
|
-
|
|
116
|
-
heap[idx] = obj;
|
|
117
|
-
return idx;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
let cachedFloat64Memory0 = null;
|
|
121
|
-
|
|
122
|
-
function getFloat64Memory0() {
|
|
123
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
124
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
125
|
-
}
|
|
126
|
-
return cachedFloat64Memory0;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
129
|
let cachedBigInt64Memory0 = null;
|
|
130
130
|
|
|
131
131
|
function getBigInt64Memory0() {
|
|
@@ -225,49 +225,37 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
225
225
|
return real;
|
|
226
226
|
}
|
|
227
227
|
function __wbg_adapter_48(arg0, arg1, arg2) {
|
|
228
|
-
wasm.
|
|
228
|
+
wasm.wasm_bindgen_48203e07820231a3___convert__closures__invoke1_mut___wasm_bindgen_48203e07820231a3___JsValue_____(arg0, arg1, addHeapObject(arg2));
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
module.exports.minifySync = function(s, opts) {
|
|
237
|
-
try {
|
|
238
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
239
|
-
wasm.minifySync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
240
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
241
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
242
|
-
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
243
|
-
if (r2) {
|
|
244
|
-
throw takeObject(r1);
|
|
245
|
-
}
|
|
246
|
-
return takeObject(r0);
|
|
247
|
-
} finally {
|
|
248
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
231
|
+
function getCachedStringFromWasm0(ptr, len) {
|
|
232
|
+
if (ptr === 0) {
|
|
233
|
+
return getObject(len);
|
|
234
|
+
} else {
|
|
235
|
+
return getStringFromWasm0(ptr, len);
|
|
249
236
|
}
|
|
250
|
-
}
|
|
237
|
+
}
|
|
251
238
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
239
|
+
function handleError(f, args) {
|
|
240
|
+
try {
|
|
241
|
+
return f.apply(this, args);
|
|
242
|
+
} catch (e) {
|
|
243
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
function __wbg_adapter_109(arg0, arg1, arg2, arg3) {
|
|
247
|
+
wasm.wasm_bindgen_48203e07820231a3___convert__closures__invoke2_mut___wasm_bindgen_48203e07820231a3___JsValue__wasm_bindgen_48203e07820231a3___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
248
|
+
}
|
|
261
249
|
|
|
262
250
|
/**
|
|
263
|
-
* @param {
|
|
251
|
+
* @param {string} value
|
|
264
252
|
* @param {any} opts
|
|
265
253
|
* @returns {any}
|
|
266
254
|
*/
|
|
267
|
-
module.exports.
|
|
255
|
+
module.exports.mdxCompileSync = function(value, opts) {
|
|
268
256
|
try {
|
|
269
257
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
270
|
-
wasm.
|
|
258
|
+
wasm.mdxCompileSync(retptr, addHeapObject(value), addHeapObject(opts));
|
|
271
259
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
272
260
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
273
261
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -281,12 +269,12 @@ module.exports.transformSync = function(s, opts) {
|
|
|
281
269
|
};
|
|
282
270
|
|
|
283
271
|
/**
|
|
284
|
-
* @param {
|
|
272
|
+
* @param {string} value
|
|
285
273
|
* @param {any} opts
|
|
286
274
|
* @returns {Promise<any>}
|
|
287
275
|
*/
|
|
288
|
-
module.exports.
|
|
289
|
-
const ret = wasm.
|
|
276
|
+
module.exports.mdxCompile = function(value, opts) {
|
|
277
|
+
const ret = wasm.mdxCompile(addHeapObject(value), addHeapObject(opts));
|
|
290
278
|
return takeObject(ret);
|
|
291
279
|
};
|
|
292
280
|
|
|
@@ -295,10 +283,10 @@ module.exports.transform = function(s, opts) {
|
|
|
295
283
|
* @param {any} opts
|
|
296
284
|
* @returns {any}
|
|
297
285
|
*/
|
|
298
|
-
module.exports.
|
|
286
|
+
module.exports.minifySync = function(s, opts) {
|
|
299
287
|
try {
|
|
300
288
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
301
|
-
wasm.
|
|
289
|
+
wasm.minifySync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
302
290
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
303
291
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
304
292
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -316,20 +304,20 @@ module.exports.parseSync = function(s, opts) {
|
|
|
316
304
|
* @param {any} opts
|
|
317
305
|
* @returns {Promise<any>}
|
|
318
306
|
*/
|
|
319
|
-
module.exports.
|
|
320
|
-
const ret = wasm.
|
|
307
|
+
module.exports.minify = function(s, opts) {
|
|
308
|
+
const ret = wasm.minify(addHeapObject(s), addHeapObject(opts));
|
|
321
309
|
return takeObject(ret);
|
|
322
310
|
};
|
|
323
311
|
|
|
324
312
|
/**
|
|
325
|
-
* @param {
|
|
313
|
+
* @param {any} s
|
|
326
314
|
* @param {any} opts
|
|
327
315
|
* @returns {any}
|
|
328
316
|
*/
|
|
329
|
-
module.exports.
|
|
317
|
+
module.exports.transformSync = function(s, opts) {
|
|
330
318
|
try {
|
|
331
319
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
332
|
-
wasm.
|
|
320
|
+
wasm.transformSync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
333
321
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
334
322
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
335
323
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -343,33 +331,24 @@ module.exports.mdxCompileSync = function(value, opts) {
|
|
|
343
331
|
};
|
|
344
332
|
|
|
345
333
|
/**
|
|
346
|
-
* @param {
|
|
334
|
+
* @param {any} s
|
|
347
335
|
* @param {any} opts
|
|
348
336
|
* @returns {Promise<any>}
|
|
349
337
|
*/
|
|
350
|
-
module.exports.
|
|
351
|
-
const ret = wasm.
|
|
338
|
+
module.exports.transform = function(s, opts) {
|
|
339
|
+
const ret = wasm.transform(addHeapObject(s), addHeapObject(opts));
|
|
352
340
|
return takeObject(ret);
|
|
353
341
|
};
|
|
354
342
|
|
|
355
|
-
function getCachedStringFromWasm0(ptr, len) {
|
|
356
|
-
if (ptr === 0) {
|
|
357
|
-
return getObject(len);
|
|
358
|
-
} else {
|
|
359
|
-
return getStringFromWasm0(ptr, len);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
343
|
/**
|
|
363
|
-
* @param {string}
|
|
344
|
+
* @param {string} s
|
|
364
345
|
* @param {any} opts
|
|
365
346
|
* @returns {any}
|
|
366
347
|
*/
|
|
367
|
-
module.exports.
|
|
348
|
+
module.exports.parseSync = function(s, opts) {
|
|
368
349
|
try {
|
|
369
350
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
370
|
-
|
|
371
|
-
const len0 = WASM_VECTOR_LEN;
|
|
372
|
-
wasm.browserslist(retptr, ptr0, len0, addHeapObject(opts));
|
|
351
|
+
wasm.parseSync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
373
352
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
374
353
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
375
354
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -382,94 +361,45 @@ module.exports.browserslist = function(query, opts) {
|
|
|
382
361
|
}
|
|
383
362
|
};
|
|
384
363
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
wasm.wasm_bindgen_9ed0e3b0c0ec5f8___convert__closures__invoke2_mut___wasm_bindgen_9ed0e3b0c0ec5f8___JsValue__wasm_bindgen_9ed0e3b0c0ec5f8___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
397
|
-
takeObject(arg0);
|
|
398
|
-
};
|
|
399
|
-
|
|
400
|
-
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
401
|
-
const obj = getObject(arg1);
|
|
402
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
403
|
-
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
404
|
-
var len0 = WASM_VECTOR_LEN;
|
|
405
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
406
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
364
|
+
/**
|
|
365
|
+
* @param {string} s
|
|
366
|
+
* @param {any} opts
|
|
367
|
+
* @returns {Promise<any>}
|
|
368
|
+
*/
|
|
369
|
+
module.exports.parse = function(s, opts) {
|
|
370
|
+
const ret = wasm.parse(addHeapObject(s), addHeapObject(opts));
|
|
371
|
+
return takeObject(ret);
|
|
407
372
|
};
|
|
408
373
|
|
|
409
|
-
module.exports.
|
|
410
|
-
const ret =
|
|
374
|
+
module.exports.__wbg_new0_25059e40b1c02766 = function() {
|
|
375
|
+
const ret = new Date();
|
|
411
376
|
return addHeapObject(ret);
|
|
412
377
|
};
|
|
413
378
|
|
|
414
|
-
module.exports.
|
|
415
|
-
const
|
|
416
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
379
|
+
module.exports.__wbg_getTime_7c59072d1651a3cf = function(arg0) {
|
|
380
|
+
const ret = getObject(arg0).getTime();
|
|
417
381
|
return ret;
|
|
418
382
|
};
|
|
419
383
|
|
|
420
|
-
module.exports.
|
|
421
|
-
|
|
422
|
-
return ret;
|
|
384
|
+
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
385
|
+
takeObject(arg0);
|
|
423
386
|
};
|
|
424
387
|
|
|
425
|
-
module.exports.
|
|
388
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
426
389
|
const ret = arg0;
|
|
427
390
|
return addHeapObject(ret);
|
|
428
391
|
};
|
|
429
392
|
|
|
430
|
-
module.exports.
|
|
431
|
-
const ret = getObject(arg0)
|
|
432
|
-
return ret;
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
436
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
393
|
+
module.exports.__wbg_new_f127e324c1313064 = function(arg0) {
|
|
394
|
+
const ret = new Date(getObject(arg0));
|
|
437
395
|
return addHeapObject(ret);
|
|
438
396
|
};
|
|
439
397
|
|
|
440
|
-
module.exports.
|
|
441
|
-
const
|
|
442
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
443
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
444
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
445
|
-
};
|
|
446
|
-
|
|
447
|
-
module.exports.__wbindgen_is_object = function(arg0) {
|
|
448
|
-
const val = getObject(arg0);
|
|
449
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
450
|
-
return ret;
|
|
451
|
-
};
|
|
452
|
-
|
|
453
|
-
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
454
|
-
const ret = getObject(arg0) in getObject(arg1);
|
|
455
|
-
return ret;
|
|
456
|
-
};
|
|
457
|
-
|
|
458
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
459
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
460
|
-
return ret;
|
|
461
|
-
};
|
|
462
|
-
|
|
463
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
464
|
-
const ret = getObject(arg0) === undefined;
|
|
398
|
+
module.exports.__wbg_getTimezoneOffset_2a6b27fb18493a56 = function(arg0) {
|
|
399
|
+
const ret = getObject(arg0).getTimezoneOffset();
|
|
465
400
|
return ret;
|
|
466
401
|
};
|
|
467
402
|
|
|
468
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
469
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
470
|
-
return addHeapObject(ret);
|
|
471
|
-
};
|
|
472
|
-
|
|
473
403
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
474
404
|
const ret = new Error();
|
|
475
405
|
return addHeapObject(ret);
|
|
@@ -489,38 +419,82 @@ if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1); }
|
|
|
489
419
|
console.error(v0);
|
|
490
420
|
};
|
|
491
421
|
|
|
492
|
-
module.exports.
|
|
493
|
-
const
|
|
494
|
-
|
|
495
|
-
obj.a = 0;
|
|
496
|
-
return true;
|
|
497
|
-
}
|
|
498
|
-
const ret = false;
|
|
499
|
-
return ret;
|
|
422
|
+
module.exports.__wbindgen_memory = function() {
|
|
423
|
+
const ret = wasm.memory;
|
|
424
|
+
return addHeapObject(ret);
|
|
500
425
|
};
|
|
501
426
|
|
|
502
|
-
module.exports.
|
|
503
|
-
const ret = getObject(arg0);
|
|
427
|
+
module.exports.__wbg_buffer_cf65c07de34b9a08 = function(arg0) {
|
|
428
|
+
const ret = getObject(arg0).buffer;
|
|
504
429
|
return addHeapObject(ret);
|
|
505
430
|
};
|
|
506
431
|
|
|
507
|
-
module.exports.
|
|
508
|
-
const ret = getObject(arg0)
|
|
509
|
-
return ret;
|
|
432
|
+
module.exports.__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5 = function(arg0, arg1, arg2) {
|
|
433
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
434
|
+
return addHeapObject(ret);
|
|
510
435
|
};
|
|
511
436
|
|
|
512
|
-
module.exports.
|
|
513
|
-
|
|
437
|
+
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
438
|
+
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
439
|
+
}, arguments) };
|
|
440
|
+
|
|
441
|
+
module.exports.__wbg_subarray_7526649b91a252a6 = function(arg0, arg1, arg2) {
|
|
442
|
+
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
514
443
|
return addHeapObject(ret);
|
|
515
444
|
};
|
|
516
445
|
|
|
517
|
-
module.exports.
|
|
518
|
-
|
|
446
|
+
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
447
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
448
|
+
}, arguments) };
|
|
449
|
+
|
|
450
|
+
module.exports.__wbg_new_537b7341ce90bb31 = function(arg0) {
|
|
451
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
519
452
|
return addHeapObject(ret);
|
|
520
453
|
};
|
|
521
454
|
|
|
522
|
-
module.exports.
|
|
523
|
-
getObject(arg0)
|
|
455
|
+
module.exports.__wbg_set_17499e8aa4003ebd = function(arg0, arg1, arg2) {
|
|
456
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
module.exports.__wbg_self_e7c1f827057f6584 = function() { return handleError(function () {
|
|
460
|
+
const ret = self.self;
|
|
461
|
+
return addHeapObject(ret);
|
|
462
|
+
}, arguments) };
|
|
463
|
+
|
|
464
|
+
module.exports.__wbg_window_a09ec664e14b1b81 = function() { return handleError(function () {
|
|
465
|
+
const ret = window.window;
|
|
466
|
+
return addHeapObject(ret);
|
|
467
|
+
}, arguments) };
|
|
468
|
+
|
|
469
|
+
module.exports.__wbg_globalThis_87cbb8506fecf3a9 = function() { return handleError(function () {
|
|
470
|
+
const ret = globalThis.globalThis;
|
|
471
|
+
return addHeapObject(ret);
|
|
472
|
+
}, arguments) };
|
|
473
|
+
|
|
474
|
+
module.exports.__wbg_global_c85a9259e621f3db = function() { return handleError(function () {
|
|
475
|
+
const ret = global.global;
|
|
476
|
+
return addHeapObject(ret);
|
|
477
|
+
}, arguments) };
|
|
478
|
+
|
|
479
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
480
|
+
const ret = getObject(arg0) === undefined;
|
|
481
|
+
return ret;
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
module.exports.__wbg_newnoargs_2b8b6bd7753c76ba = function(arg0, arg1) {
|
|
485
|
+
var v0 = getCachedStringFromWasm0(arg0, arg1);
|
|
486
|
+
const ret = new Function(v0);
|
|
487
|
+
return addHeapObject(ret);
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
module.exports.__wbg_call_95d1ea488d03e4e8 = function() { return handleError(function (arg0, arg1) {
|
|
491
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
492
|
+
return addHeapObject(ret);
|
|
493
|
+
}, arguments) };
|
|
494
|
+
|
|
495
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
496
|
+
const ret = getObject(arg0);
|
|
497
|
+
return addHeapObject(ret);
|
|
524
498
|
};
|
|
525
499
|
|
|
526
500
|
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
@@ -528,6 +502,12 @@ module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
|
528
502
|
return addHeapObject(ret);
|
|
529
503
|
};
|
|
530
504
|
|
|
505
|
+
module.exports.__wbindgen_is_object = function(arg0) {
|
|
506
|
+
const val = getObject(arg0);
|
|
507
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
508
|
+
return ret;
|
|
509
|
+
};
|
|
510
|
+
|
|
531
511
|
module.exports.__wbg_process_298734cf255a885d = function(arg0) {
|
|
532
512
|
const ret = getObject(arg0).process;
|
|
533
513
|
return addHeapObject(ret);
|
|
@@ -543,65 +523,41 @@ module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
|
543
523
|
return addHeapObject(ret);
|
|
544
524
|
};
|
|
545
525
|
|
|
526
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
527
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
528
|
+
return ret;
|
|
529
|
+
};
|
|
530
|
+
|
|
546
531
|
module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
547
532
|
const ret = getObject(arg0).msCrypto;
|
|
548
533
|
return addHeapObject(ret);
|
|
549
534
|
};
|
|
550
535
|
|
|
536
|
+
module.exports.__wbg_newwithlength_b56c882b57805732 = function(arg0) {
|
|
537
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
538
|
+
return addHeapObject(ret);
|
|
539
|
+
};
|
|
540
|
+
|
|
551
541
|
module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
552
542
|
const ret = module.require;
|
|
553
543
|
return addHeapObject(ret);
|
|
554
544
|
}, arguments) };
|
|
555
545
|
|
|
556
|
-
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
557
|
-
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
558
|
-
}, arguments) };
|
|
559
|
-
|
|
560
|
-
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
561
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
562
|
-
}, arguments) };
|
|
563
|
-
|
|
564
|
-
module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
|
|
565
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
566
|
-
return addHeapObject(ret);
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) {
|
|
570
|
-
const ret = getObject(arg0).length;
|
|
571
|
-
return ret;
|
|
572
|
-
};
|
|
573
|
-
|
|
574
546
|
module.exports.__wbindgen_is_function = function(arg0) {
|
|
575
547
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
576
548
|
return ret;
|
|
577
549
|
};
|
|
578
550
|
|
|
579
|
-
module.exports.
|
|
580
|
-
|
|
581
|
-
const ret = new Function(v0);
|
|
582
|
-
return addHeapObject(ret);
|
|
583
|
-
};
|
|
584
|
-
|
|
585
|
-
module.exports.__wbg_next_b7d530c04fd8b217 = function(arg0) {
|
|
586
|
-
const ret = getObject(arg0).next;
|
|
551
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
552
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
587
553
|
return addHeapObject(ret);
|
|
588
554
|
};
|
|
589
555
|
|
|
590
|
-
module.exports.
|
|
591
|
-
const ret = getObject(arg0).
|
|
556
|
+
module.exports.__wbg_call_9495de66fdbe016b = function() { return handleError(function (arg0, arg1, arg2) {
|
|
557
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
592
558
|
return addHeapObject(ret);
|
|
593
559
|
}, arguments) };
|
|
594
560
|
|
|
595
|
-
module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) {
|
|
596
|
-
const ret = getObject(arg0).done;
|
|
597
|
-
return ret;
|
|
598
|
-
};
|
|
599
|
-
|
|
600
|
-
module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) {
|
|
601
|
-
const ret = getObject(arg0).value;
|
|
602
|
-
return addHeapObject(ret);
|
|
603
|
-
};
|
|
604
|
-
|
|
605
561
|
module.exports.__wbg_iterator_55f114446221aa5a = function() {
|
|
606
562
|
const ret = Symbol.iterator;
|
|
607
563
|
return addHeapObject(ret);
|
|
@@ -612,42 +568,61 @@ module.exports.__wbg_get_baf4855f9a986186 = function() { return handleError(func
|
|
|
612
568
|
return addHeapObject(ret);
|
|
613
569
|
}, arguments) };
|
|
614
570
|
|
|
615
|
-
module.exports.
|
|
616
|
-
const ret = getObject(arg0).
|
|
571
|
+
module.exports.__wbg_next_b7d530c04fd8b217 = function(arg0) {
|
|
572
|
+
const ret = getObject(arg0).next;
|
|
617
573
|
return addHeapObject(ret);
|
|
618
|
-
}
|
|
574
|
+
};
|
|
619
575
|
|
|
620
|
-
module.exports.
|
|
621
|
-
const ret =
|
|
622
|
-
return
|
|
623
|
-
}
|
|
576
|
+
module.exports.__wbg_length_27a2afe8ab42b09f = function(arg0) {
|
|
577
|
+
const ret = getObject(arg0).length;
|
|
578
|
+
return ret;
|
|
579
|
+
};
|
|
624
580
|
|
|
625
|
-
module.exports.
|
|
626
|
-
const ret =
|
|
581
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
582
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
627
583
|
return addHeapObject(ret);
|
|
628
|
-
}
|
|
584
|
+
};
|
|
629
585
|
|
|
630
|
-
module.exports.
|
|
631
|
-
const ret =
|
|
586
|
+
module.exports.__wbg_entries_4e1315b774245952 = function(arg0) {
|
|
587
|
+
const ret = Object.entries(getObject(arg0));
|
|
632
588
|
return addHeapObject(ret);
|
|
633
|
-
}
|
|
589
|
+
};
|
|
634
590
|
|
|
635
|
-
module.exports.
|
|
636
|
-
const ret =
|
|
637
|
-
return
|
|
638
|
-
}
|
|
591
|
+
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
592
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
593
|
+
return ret;
|
|
594
|
+
};
|
|
639
595
|
|
|
640
|
-
module.exports.
|
|
641
|
-
const
|
|
642
|
-
|
|
596
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
597
|
+
const v = getObject(arg0);
|
|
598
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
599
|
+
return ret;
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
603
|
+
const obj = getObject(arg1);
|
|
604
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
605
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
606
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
643
607
|
};
|
|
644
608
|
|
|
645
|
-
module.exports.
|
|
646
|
-
|
|
609
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
610
|
+
const obj = getObject(arg1);
|
|
611
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
612
|
+
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
613
|
+
var len0 = WASM_VECTOR_LEN;
|
|
614
|
+
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
615
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
647
616
|
};
|
|
648
617
|
|
|
649
|
-
module.exports.
|
|
650
|
-
|
|
618
|
+
module.exports.__wbg_instanceof_Uint8Array_01cebe79ca606cca = function(arg0) {
|
|
619
|
+
let result;
|
|
620
|
+
try {
|
|
621
|
+
result = getObject(arg0) instanceof Uint8Array;
|
|
622
|
+
} catch {
|
|
623
|
+
result = false;
|
|
624
|
+
}
|
|
625
|
+
const ret = result;
|
|
651
626
|
return ret;
|
|
652
627
|
};
|
|
653
628
|
|
|
@@ -662,38 +637,75 @@ module.exports.__wbg_instanceof_ArrayBuffer_a69f02ee4c4f5065 = function(arg0) {
|
|
|
662
637
|
return ret;
|
|
663
638
|
};
|
|
664
639
|
|
|
665
|
-
module.exports.
|
|
666
|
-
const ret = getObject(arg0)
|
|
640
|
+
module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
|
|
641
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
642
|
+
return addHeapObject(ret);
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
module.exports.__wbg_next_88560ec06a094dea = function() { return handleError(function (arg0) {
|
|
646
|
+
const ret = getObject(arg0).next();
|
|
667
647
|
return addHeapObject(ret);
|
|
668
648
|
}, arguments) };
|
|
669
649
|
|
|
670
|
-
module.exports.
|
|
671
|
-
const ret =
|
|
650
|
+
module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) {
|
|
651
|
+
const ret = getObject(arg0).done;
|
|
672
652
|
return ret;
|
|
673
653
|
};
|
|
674
654
|
|
|
675
|
-
module.exports.
|
|
676
|
-
const ret = getObject(arg0).
|
|
677
|
-
return ret;
|
|
655
|
+
module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) {
|
|
656
|
+
const ret = getObject(arg0).value;
|
|
657
|
+
return addHeapObject(ret);
|
|
678
658
|
};
|
|
679
659
|
|
|
680
|
-
module.exports.
|
|
681
|
-
const ret = getObject(arg0)
|
|
660
|
+
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
661
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
682
662
|
return ret;
|
|
683
663
|
};
|
|
684
664
|
|
|
685
|
-
module.exports.
|
|
686
|
-
const
|
|
665
|
+
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
666
|
+
const v = getObject(arg1);
|
|
667
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
668
|
+
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
669
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
673
|
+
const ret = arg0;
|
|
687
674
|
return addHeapObject(ret);
|
|
688
675
|
};
|
|
689
676
|
|
|
690
|
-
module.exports.
|
|
691
|
-
const ret =
|
|
677
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
678
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
679
|
+
return ret;
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
683
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
692
684
|
return addHeapObject(ret);
|
|
693
685
|
};
|
|
694
686
|
|
|
695
|
-
module.exports.
|
|
696
|
-
const ret =
|
|
687
|
+
module.exports.__wbg_isSafeInteger_8c4789029e885159 = function(arg0) {
|
|
688
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
689
|
+
return ret;
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
module.exports.__wbg_isArray_39d28997bf6b96b4 = function(arg0) {
|
|
693
|
+
const ret = Array.isArray(getObject(arg0));
|
|
694
|
+
return ret;
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
698
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
699
|
+
return ret;
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) {
|
|
703
|
+
const ret = getObject(arg0).length;
|
|
704
|
+
return ret;
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
708
|
+
const ret = getObject(arg0)[getObject(arg1)];
|
|
697
709
|
return addHeapObject(ret);
|
|
698
710
|
};
|
|
699
711
|
|
|
@@ -702,6 +714,10 @@ module.exports.__wbg_new_f9876326328f45ed = function() {
|
|
|
702
714
|
return addHeapObject(ret);
|
|
703
715
|
};
|
|
704
716
|
|
|
717
|
+
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
|
|
718
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
719
|
+
};
|
|
720
|
+
|
|
705
721
|
module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
706
722
|
try {
|
|
707
723
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -709,7 +725,7 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
|
709
725
|
const a = state0.a;
|
|
710
726
|
state0.a = 0;
|
|
711
727
|
try {
|
|
712
|
-
return
|
|
728
|
+
return __wbg_adapter_109(a, state0.b, arg0, arg1);
|
|
713
729
|
} finally {
|
|
714
730
|
state0.a = a;
|
|
715
731
|
}
|
|
@@ -721,68 +737,6 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
|
721
737
|
}
|
|
722
738
|
};
|
|
723
739
|
|
|
724
|
-
module.exports.__wbg_resolve_fd40f858d9db1a04 = function(arg0) {
|
|
725
|
-
const ret = Promise.resolve(getObject(arg0));
|
|
726
|
-
return addHeapObject(ret);
|
|
727
|
-
};
|
|
728
|
-
|
|
729
|
-
module.exports.__wbg_then_ec5db6d509eb475f = function(arg0, arg1) {
|
|
730
|
-
const ret = getObject(arg0).then(getObject(arg1));
|
|
731
|
-
return addHeapObject(ret);
|
|
732
|
-
};
|
|
733
|
-
|
|
734
|
-
module.exports.__wbg_buffer_cf65c07de34b9a08 = function(arg0) {
|
|
735
|
-
const ret = getObject(arg0).buffer;
|
|
736
|
-
return addHeapObject(ret);
|
|
737
|
-
};
|
|
738
|
-
|
|
739
|
-
module.exports.__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5 = function(arg0, arg1, arg2) {
|
|
740
|
-
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
741
|
-
return addHeapObject(ret);
|
|
742
|
-
};
|
|
743
|
-
|
|
744
|
-
module.exports.__wbg_new_537b7341ce90bb31 = function(arg0) {
|
|
745
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
746
|
-
return addHeapObject(ret);
|
|
747
|
-
};
|
|
748
|
-
|
|
749
|
-
module.exports.__wbg_set_17499e8aa4003ebd = function(arg0, arg1, arg2) {
|
|
750
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
751
|
-
};
|
|
752
|
-
|
|
753
|
-
module.exports.__wbg_length_27a2afe8ab42b09f = function(arg0) {
|
|
754
|
-
const ret = getObject(arg0).length;
|
|
755
|
-
return ret;
|
|
756
|
-
};
|
|
757
|
-
|
|
758
|
-
module.exports.__wbg_instanceof_Uint8Array_01cebe79ca606cca = function(arg0) {
|
|
759
|
-
let result;
|
|
760
|
-
try {
|
|
761
|
-
result = getObject(arg0) instanceof Uint8Array;
|
|
762
|
-
} catch {
|
|
763
|
-
result = false;
|
|
764
|
-
}
|
|
765
|
-
const ret = result;
|
|
766
|
-
return ret;
|
|
767
|
-
};
|
|
768
|
-
|
|
769
|
-
module.exports.__wbg_newwithlength_b56c882b57805732 = function(arg0) {
|
|
770
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
771
|
-
return addHeapObject(ret);
|
|
772
|
-
};
|
|
773
|
-
|
|
774
|
-
module.exports.__wbg_subarray_7526649b91a252a6 = function(arg0, arg1, arg2) {
|
|
775
|
-
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
776
|
-
return addHeapObject(ret);
|
|
777
|
-
};
|
|
778
|
-
|
|
779
|
-
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
780
|
-
const v = getObject(arg1);
|
|
781
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
782
|
-
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
783
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
784
|
-
};
|
|
785
|
-
|
|
786
740
|
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
787
741
|
const ret = debugString(getObject(arg1));
|
|
788
742
|
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -795,13 +749,28 @@ module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
|
795
749
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
796
750
|
};
|
|
797
751
|
|
|
798
|
-
module.exports.
|
|
799
|
-
const ret =
|
|
752
|
+
module.exports.__wbg_then_ec5db6d509eb475f = function(arg0, arg1) {
|
|
753
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
754
|
+
return addHeapObject(ret);
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
module.exports.__wbg_resolve_fd40f858d9db1a04 = function(arg0) {
|
|
758
|
+
const ret = Promise.resolve(getObject(arg0));
|
|
800
759
|
return addHeapObject(ret);
|
|
801
760
|
};
|
|
802
761
|
|
|
803
|
-
module.exports.
|
|
804
|
-
const
|
|
762
|
+
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
763
|
+
const obj = takeObject(arg0).original;
|
|
764
|
+
if (obj.cnt-- == 1) {
|
|
765
|
+
obj.a = 0;
|
|
766
|
+
return true;
|
|
767
|
+
}
|
|
768
|
+
const ret = false;
|
|
769
|
+
return ret;
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
module.exports.__wbindgen_closure_wrapper23872 = function(arg0, arg1, arg2) {
|
|
773
|
+
const ret = makeMutClosure(arg0, arg1, 361, __wbg_adapter_48);
|
|
805
774
|
return addHeapObject(ret);
|
|
806
775
|
};
|
|
807
776
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|