@next/swc-wasm-nodejs 13.5.5-canary.1 → 13.5.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 +18 -18
- package/wasm.js +258 -257
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
+
* @param {string} query
|
|
5
|
+
* @param {any} opts
|
|
6
|
+
* @returns {any}
|
|
7
|
+
*/
|
|
8
|
+
export function browserslist(query: string, opts: any): any;
|
|
9
|
+
/**
|
|
10
|
+
* @param {string} value
|
|
11
|
+
* @param {any} opts
|
|
12
|
+
* @returns {any}
|
|
13
|
+
*/
|
|
14
|
+
export function mdxCompileSync(value: string, opts: any): any;
|
|
15
|
+
/**
|
|
16
|
+
* @param {string} value
|
|
17
|
+
* @param {any} opts
|
|
18
|
+
* @returns {Promise<any>}
|
|
19
|
+
*/
|
|
20
|
+
export function mdxCompile(value: string, opts: any): Promise<any>;
|
|
21
|
+
/**
|
|
4
22
|
* @param {string} s
|
|
5
23
|
* @param {any} opts
|
|
6
24
|
* @returns {any}
|
|
@@ -36,21 +54,3 @@ export function parseSync(s: string, opts: any): any;
|
|
|
36
54
|
* @returns {Promise<any>}
|
|
37
55
|
*/
|
|
38
56
|
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
|
@@ -117,24 +117,6 @@ function addHeapObject(obj) {
|
|
|
117
117
|
return idx;
|
|
118
118
|
}
|
|
119
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
|
-
let cachedBigInt64Memory0 = null;
|
|
130
|
-
|
|
131
|
-
function getBigInt64Memory0() {
|
|
132
|
-
if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
|
|
133
|
-
cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
|
|
134
|
-
}
|
|
135
|
-
return cachedBigInt64Memory0;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
120
|
function debugString(val) {
|
|
139
121
|
// primitive types
|
|
140
122
|
const type = typeof val;
|
|
@@ -200,6 +182,24 @@ function debugString(val) {
|
|
|
200
182
|
return className;
|
|
201
183
|
}
|
|
202
184
|
|
|
185
|
+
let cachedFloat64Memory0 = null;
|
|
186
|
+
|
|
187
|
+
function getFloat64Memory0() {
|
|
188
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
189
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
190
|
+
}
|
|
191
|
+
return cachedFloat64Memory0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
let cachedBigInt64Memory0 = null;
|
|
195
|
+
|
|
196
|
+
function getBigInt64Memory0() {
|
|
197
|
+
if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
|
|
198
|
+
cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
|
|
199
|
+
}
|
|
200
|
+
return cachedBigInt64Memory0;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
203
|
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
204
204
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
205
205
|
const real = (...args) => {
|
|
@@ -225,18 +225,20 @@ 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_eebc47535ce6acff___convert__closures__invoke1_mut___wasm_bindgen_eebc47535ce6acff___JsValue_____(arg0, arg1, addHeapObject(arg2));
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
* @param {string}
|
|
232
|
+
* @param {string} query
|
|
233
233
|
* @param {any} opts
|
|
234
234
|
* @returns {any}
|
|
235
235
|
*/
|
|
236
|
-
module.exports.
|
|
236
|
+
module.exports.browserslist = function(query, opts) {
|
|
237
237
|
try {
|
|
238
238
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
239
|
-
|
|
239
|
+
const ptr0 = passStringToWasm0(query, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
240
|
+
const len0 = WASM_VECTOR_LEN;
|
|
241
|
+
wasm.browserslist(retptr, ptr0, len0, addHeapObject(opts));
|
|
240
242
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
241
243
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
242
244
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -249,25 +251,34 @@ module.exports.minifySync = function(s, opts) {
|
|
|
249
251
|
}
|
|
250
252
|
};
|
|
251
253
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
254
|
+
function getCachedStringFromWasm0(ptr, len) {
|
|
255
|
+
if (ptr === 0) {
|
|
256
|
+
return getObject(len);
|
|
257
|
+
} else {
|
|
258
|
+
return getStringFromWasm0(ptr, len);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
function handleError(f, args) {
|
|
263
|
+
try {
|
|
264
|
+
return f.apply(this, args);
|
|
265
|
+
} catch (e) {
|
|
266
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
function __wbg_adapter_114(arg0, arg1, arg2, arg3) {
|
|
270
|
+
wasm.wasm_bindgen_eebc47535ce6acff___convert__closures__invoke2_mut___wasm_bindgen_eebc47535ce6acff___JsValue__wasm_bindgen_eebc47535ce6acff___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
271
|
+
}
|
|
261
272
|
|
|
262
273
|
/**
|
|
263
|
-
* @param {
|
|
274
|
+
* @param {string} value
|
|
264
275
|
* @param {any} opts
|
|
265
276
|
* @returns {any}
|
|
266
277
|
*/
|
|
267
|
-
module.exports.
|
|
278
|
+
module.exports.mdxCompileSync = function(value, opts) {
|
|
268
279
|
try {
|
|
269
280
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
270
|
-
wasm.
|
|
281
|
+
wasm.mdxCompileSync(retptr, addHeapObject(value), addHeapObject(opts));
|
|
271
282
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
272
283
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
273
284
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -281,12 +292,12 @@ module.exports.transformSync = function(s, opts) {
|
|
|
281
292
|
};
|
|
282
293
|
|
|
283
294
|
/**
|
|
284
|
-
* @param {
|
|
295
|
+
* @param {string} value
|
|
285
296
|
* @param {any} opts
|
|
286
297
|
* @returns {Promise<any>}
|
|
287
298
|
*/
|
|
288
|
-
module.exports.
|
|
289
|
-
const ret = wasm.
|
|
299
|
+
module.exports.mdxCompile = function(value, opts) {
|
|
300
|
+
const ret = wasm.mdxCompile(addHeapObject(value), addHeapObject(opts));
|
|
290
301
|
return takeObject(ret);
|
|
291
302
|
};
|
|
292
303
|
|
|
@@ -295,10 +306,10 @@ module.exports.transform = function(s, opts) {
|
|
|
295
306
|
* @param {any} opts
|
|
296
307
|
* @returns {any}
|
|
297
308
|
*/
|
|
298
|
-
module.exports.
|
|
309
|
+
module.exports.minifySync = function(s, opts) {
|
|
299
310
|
try {
|
|
300
311
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
301
|
-
wasm.
|
|
312
|
+
wasm.minifySync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
302
313
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
303
314
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
304
315
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -316,20 +327,20 @@ module.exports.parseSync = function(s, opts) {
|
|
|
316
327
|
* @param {any} opts
|
|
317
328
|
* @returns {Promise<any>}
|
|
318
329
|
*/
|
|
319
|
-
module.exports.
|
|
320
|
-
const ret = wasm.
|
|
330
|
+
module.exports.minify = function(s, opts) {
|
|
331
|
+
const ret = wasm.minify(addHeapObject(s), addHeapObject(opts));
|
|
321
332
|
return takeObject(ret);
|
|
322
333
|
};
|
|
323
334
|
|
|
324
335
|
/**
|
|
325
|
-
* @param {
|
|
336
|
+
* @param {any} s
|
|
326
337
|
* @param {any} opts
|
|
327
338
|
* @returns {any}
|
|
328
339
|
*/
|
|
329
|
-
module.exports.
|
|
340
|
+
module.exports.transformSync = function(s, opts) {
|
|
330
341
|
try {
|
|
331
342
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
332
|
-
wasm.
|
|
343
|
+
wasm.transformSync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
333
344
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
334
345
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
335
346
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -343,33 +354,24 @@ module.exports.mdxCompileSync = function(value, opts) {
|
|
|
343
354
|
};
|
|
344
355
|
|
|
345
356
|
/**
|
|
346
|
-
* @param {
|
|
357
|
+
* @param {any} s
|
|
347
358
|
* @param {any} opts
|
|
348
359
|
* @returns {Promise<any>}
|
|
349
360
|
*/
|
|
350
|
-
module.exports.
|
|
351
|
-
const ret = wasm.
|
|
361
|
+
module.exports.transform = function(s, opts) {
|
|
362
|
+
const ret = wasm.transform(addHeapObject(s), addHeapObject(opts));
|
|
352
363
|
return takeObject(ret);
|
|
353
364
|
};
|
|
354
365
|
|
|
355
|
-
function getCachedStringFromWasm0(ptr, len) {
|
|
356
|
-
if (ptr === 0) {
|
|
357
|
-
return getObject(len);
|
|
358
|
-
} else {
|
|
359
|
-
return getStringFromWasm0(ptr, len);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
366
|
/**
|
|
363
|
-
* @param {string}
|
|
367
|
+
* @param {string} s
|
|
364
368
|
* @param {any} opts
|
|
365
369
|
* @returns {any}
|
|
366
370
|
*/
|
|
367
|
-
module.exports.
|
|
371
|
+
module.exports.parseSync = function(s, opts) {
|
|
368
372
|
try {
|
|
369
373
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
370
|
-
|
|
371
|
-
const len0 = WASM_VECTOR_LEN;
|
|
372
|
-
wasm.browserslist(retptr, ptr0, len0, addHeapObject(opts));
|
|
374
|
+
wasm.parseSync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
373
375
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
374
376
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
375
377
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -382,21 +384,40 @@ module.exports.browserslist = function(query, opts) {
|
|
|
382
384
|
}
|
|
383
385
|
};
|
|
384
386
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
387
|
+
/**
|
|
388
|
+
* @param {string} s
|
|
389
|
+
* @param {any} opts
|
|
390
|
+
* @returns {Promise<any>}
|
|
391
|
+
*/
|
|
392
|
+
module.exports.parse = function(s, opts) {
|
|
393
|
+
const ret = wasm.parse(addHeapObject(s), addHeapObject(opts));
|
|
394
|
+
return takeObject(ret);
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
|
|
398
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
399
|
+
return addHeapObject(ret);
|
|
400
|
+
};
|
|
395
401
|
|
|
396
402
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
397
403
|
takeObject(arg0);
|
|
398
404
|
};
|
|
399
405
|
|
|
406
|
+
module.exports.__wbg_next_88560ec06a094dea = function() { return handleError(function (arg0) {
|
|
407
|
+
const ret = getObject(arg0).next();
|
|
408
|
+
return addHeapObject(ret);
|
|
409
|
+
}, arguments) };
|
|
410
|
+
|
|
411
|
+
module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) {
|
|
412
|
+
const ret = getObject(arg0).done;
|
|
413
|
+
return ret;
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) {
|
|
417
|
+
const ret = getObject(arg0).value;
|
|
418
|
+
return addHeapObject(ret);
|
|
419
|
+
};
|
|
420
|
+
|
|
400
421
|
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
401
422
|
const obj = getObject(arg1);
|
|
402
423
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
@@ -411,42 +432,39 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
|
411
432
|
return addHeapObject(ret);
|
|
412
433
|
};
|
|
413
434
|
|
|
414
|
-
module.exports.
|
|
415
|
-
const ret =
|
|
435
|
+
module.exports.__wbg_get_baf4855f9a986186 = function() { return handleError(function (arg0, arg1) {
|
|
436
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
416
437
|
return addHeapObject(ret);
|
|
417
|
-
};
|
|
438
|
+
}, arguments) };
|
|
418
439
|
|
|
419
|
-
module.exports.
|
|
420
|
-
const
|
|
421
|
-
|
|
422
|
-
return ret;
|
|
440
|
+
module.exports.__wbg_new0_25059e40b1c02766 = function() {
|
|
441
|
+
const ret = new Date();
|
|
442
|
+
return addHeapObject(ret);
|
|
423
443
|
};
|
|
424
444
|
|
|
425
|
-
module.exports.
|
|
426
|
-
const ret =
|
|
445
|
+
module.exports.__wbg_getTime_7c59072d1651a3cf = function(arg0) {
|
|
446
|
+
const ret = getObject(arg0).getTime();
|
|
427
447
|
return ret;
|
|
428
448
|
};
|
|
429
449
|
|
|
430
|
-
module.exports.
|
|
450
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
431
451
|
const ret = arg0;
|
|
432
452
|
return addHeapObject(ret);
|
|
433
453
|
};
|
|
434
454
|
|
|
435
|
-
module.exports.
|
|
436
|
-
const ret = getObject(arg0)
|
|
437
|
-
return ret;
|
|
455
|
+
module.exports.__wbg_new_f127e324c1313064 = function(arg0) {
|
|
456
|
+
const ret = new Date(getObject(arg0));
|
|
457
|
+
return addHeapObject(ret);
|
|
438
458
|
};
|
|
439
459
|
|
|
440
|
-
module.exports.
|
|
441
|
-
const ret =
|
|
442
|
-
return
|
|
460
|
+
module.exports.__wbg_getTimezoneOffset_2a6b27fb18493a56 = function(arg0) {
|
|
461
|
+
const ret = getObject(arg0).getTimezoneOffset();
|
|
462
|
+
return ret;
|
|
443
463
|
};
|
|
444
464
|
|
|
445
|
-
module.exports.
|
|
446
|
-
const
|
|
447
|
-
|
|
448
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
449
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
465
|
+
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
466
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
467
|
+
return ret;
|
|
450
468
|
};
|
|
451
469
|
|
|
452
470
|
module.exports.__wbindgen_is_object = function(arg0) {
|
|
@@ -455,14 +473,24 @@ module.exports.__wbindgen_is_object = function(arg0) {
|
|
|
455
473
|
return ret;
|
|
456
474
|
};
|
|
457
475
|
|
|
458
|
-
module.exports.
|
|
459
|
-
const
|
|
476
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
477
|
+
const v = getObject(arg0);
|
|
478
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
460
479
|
return ret;
|
|
461
480
|
};
|
|
462
481
|
|
|
463
|
-
module.exports.
|
|
464
|
-
const ret =
|
|
465
|
-
return ret;
|
|
482
|
+
module.exports.__wbg_new_b525de17f44a8943 = function() {
|
|
483
|
+
const ret = new Array();
|
|
484
|
+
return addHeapObject(ret);
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
module.exports.__wbg_set_17224bc548dd1d7b = function(arg0, arg1, arg2) {
|
|
488
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
492
|
+
const ret = getObject(arg0)[getObject(arg1)];
|
|
493
|
+
return addHeapObject(ret);
|
|
466
494
|
};
|
|
467
495
|
|
|
468
496
|
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
@@ -470,6 +498,11 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
470
498
|
return ret;
|
|
471
499
|
};
|
|
472
500
|
|
|
501
|
+
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
502
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
503
|
+
return ret;
|
|
504
|
+
};
|
|
505
|
+
|
|
473
506
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
474
507
|
const ret = new Error();
|
|
475
508
|
return addHeapObject(ret);
|
|
@@ -489,38 +522,41 @@ if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1); }
|
|
|
489
522
|
console.error(v0);
|
|
490
523
|
};
|
|
491
524
|
|
|
492
|
-
module.exports.
|
|
493
|
-
const
|
|
494
|
-
|
|
495
|
-
obj.a = 0;
|
|
496
|
-
return true;
|
|
497
|
-
}
|
|
498
|
-
const ret = false;
|
|
499
|
-
return ret;
|
|
525
|
+
module.exports.__wbindgen_memory = function() {
|
|
526
|
+
const ret = wasm.memory;
|
|
527
|
+
return addHeapObject(ret);
|
|
500
528
|
};
|
|
501
529
|
|
|
502
|
-
module.exports.
|
|
503
|
-
const ret = getObject(arg0);
|
|
530
|
+
module.exports.__wbg_buffer_cf65c07de34b9a08 = function(arg0) {
|
|
531
|
+
const ret = getObject(arg0).buffer;
|
|
504
532
|
return addHeapObject(ret);
|
|
505
533
|
};
|
|
506
534
|
|
|
507
|
-
module.exports.
|
|
508
|
-
const ret = getObject(arg0)
|
|
509
|
-
return ret;
|
|
535
|
+
module.exports.__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5 = function(arg0, arg1, arg2) {
|
|
536
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
537
|
+
return addHeapObject(ret);
|
|
510
538
|
};
|
|
511
539
|
|
|
512
|
-
module.exports.
|
|
513
|
-
|
|
540
|
+
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
541
|
+
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
542
|
+
}, arguments) };
|
|
543
|
+
|
|
544
|
+
module.exports.__wbg_subarray_7526649b91a252a6 = function(arg0, arg1, arg2) {
|
|
545
|
+
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
514
546
|
return addHeapObject(ret);
|
|
515
547
|
};
|
|
516
548
|
|
|
517
|
-
module.exports.
|
|
518
|
-
|
|
549
|
+
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
550
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
551
|
+
}, arguments) };
|
|
552
|
+
|
|
553
|
+
module.exports.__wbg_new_537b7341ce90bb31 = function(arg0) {
|
|
554
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
519
555
|
return addHeapObject(ret);
|
|
520
556
|
};
|
|
521
557
|
|
|
522
|
-
module.exports.
|
|
523
|
-
getObject(arg0)
|
|
558
|
+
module.exports.__wbg_set_17499e8aa4003ebd = function(arg0, arg1, arg2) {
|
|
559
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
524
560
|
};
|
|
525
561
|
|
|
526
562
|
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
@@ -543,80 +579,51 @@ module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
|
543
579
|
return addHeapObject(ret);
|
|
544
580
|
};
|
|
545
581
|
|
|
582
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
583
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
584
|
+
return ret;
|
|
585
|
+
};
|
|
586
|
+
|
|
546
587
|
module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
547
588
|
const ret = getObject(arg0).msCrypto;
|
|
548
589
|
return addHeapObject(ret);
|
|
549
590
|
};
|
|
550
591
|
|
|
592
|
+
module.exports.__wbg_newwithlength_b56c882b57805732 = function(arg0) {
|
|
593
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
594
|
+
return addHeapObject(ret);
|
|
595
|
+
};
|
|
596
|
+
|
|
551
597
|
module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
552
598
|
const ret = module.require;
|
|
553
599
|
return addHeapObject(ret);
|
|
554
600
|
}, arguments) };
|
|
555
601
|
|
|
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
602
|
module.exports.__wbindgen_is_function = function(arg0) {
|
|
575
603
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
576
604
|
return ret;
|
|
577
605
|
};
|
|
578
606
|
|
|
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;
|
|
587
|
-
return addHeapObject(ret);
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
module.exports.__wbg_next_88560ec06a094dea = function() { return handleError(function (arg0) {
|
|
591
|
-
const ret = getObject(arg0).next();
|
|
607
|
+
module.exports.__wbg_call_9495de66fdbe016b = function() { return handleError(function (arg0, arg1, arg2) {
|
|
608
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
592
609
|
return addHeapObject(ret);
|
|
593
610
|
}, arguments) };
|
|
594
611
|
|
|
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
612
|
module.exports.__wbg_iterator_55f114446221aa5a = function() {
|
|
606
613
|
const ret = Symbol.iterator;
|
|
607
614
|
return addHeapObject(ret);
|
|
608
615
|
};
|
|
609
616
|
|
|
610
|
-
module.exports.__wbg_get_baf4855f9a986186 = function() { return handleError(function (arg0, arg1) {
|
|
611
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
612
|
-
return addHeapObject(ret);
|
|
613
|
-
}, arguments) };
|
|
614
|
-
|
|
615
617
|
module.exports.__wbg_call_95d1ea488d03e4e8 = function() { return handleError(function (arg0, arg1) {
|
|
616
618
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
617
619
|
return addHeapObject(ret);
|
|
618
620
|
}, arguments) };
|
|
619
621
|
|
|
622
|
+
module.exports.__wbg_next_b7d530c04fd8b217 = function(arg0) {
|
|
623
|
+
const ret = getObject(arg0).next;
|
|
624
|
+
return addHeapObject(ret);
|
|
625
|
+
};
|
|
626
|
+
|
|
620
627
|
module.exports.__wbg_self_e7c1f827057f6584 = function() { return handleError(function () {
|
|
621
628
|
const ret = self.self;
|
|
622
629
|
return addHeapObject(ret);
|
|
@@ -637,17 +644,55 @@ module.exports.__wbg_global_c85a9259e621f3db = function() { return handleError(f
|
|
|
637
644
|
return addHeapObject(ret);
|
|
638
645
|
}, arguments) };
|
|
639
646
|
|
|
640
|
-
module.exports.
|
|
641
|
-
|
|
647
|
+
module.exports.__wbg_newnoargs_2b8b6bd7753c76ba = function(arg0, arg1) {
|
|
648
|
+
var v0 = getCachedStringFromWasm0(arg0, arg1);
|
|
649
|
+
const ret = new Function(v0);
|
|
642
650
|
return addHeapObject(ret);
|
|
643
651
|
};
|
|
644
652
|
|
|
645
|
-
module.exports.
|
|
646
|
-
|
|
653
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
654
|
+
const ret = getObject(arg0);
|
|
655
|
+
return addHeapObject(ret);
|
|
647
656
|
};
|
|
648
657
|
|
|
649
|
-
module.exports.
|
|
650
|
-
const ret =
|
|
658
|
+
module.exports.__wbg_length_27a2afe8ab42b09f = function(arg0) {
|
|
659
|
+
const ret = getObject(arg0).length;
|
|
660
|
+
return ret;
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
664
|
+
const ret = debugString(getObject(arg1));
|
|
665
|
+
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
666
|
+
const len0 = WASM_VECTOR_LEN;
|
|
667
|
+
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
668
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
672
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
673
|
+
return addHeapObject(ret);
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
module.exports.__wbg_entries_4e1315b774245952 = function(arg0) {
|
|
677
|
+
const ret = Object.entries(getObject(arg0));
|
|
678
|
+
return addHeapObject(ret);
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
682
|
+
const obj = getObject(arg1);
|
|
683
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
684
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
685
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
module.exports.__wbg_instanceof_Uint8Array_01cebe79ca606cca = function(arg0) {
|
|
689
|
+
let result;
|
|
690
|
+
try {
|
|
691
|
+
result = getObject(arg0) instanceof Uint8Array;
|
|
692
|
+
} catch {
|
|
693
|
+
result = false;
|
|
694
|
+
}
|
|
695
|
+
const ret = result;
|
|
651
696
|
return ret;
|
|
652
697
|
};
|
|
653
698
|
|
|
@@ -662,46 +707,57 @@ module.exports.__wbg_instanceof_ArrayBuffer_a69f02ee4c4f5065 = function(arg0) {
|
|
|
662
707
|
return ret;
|
|
663
708
|
};
|
|
664
709
|
|
|
665
|
-
module.exports.
|
|
666
|
-
const ret =
|
|
667
|
-
return addHeapObject(ret);
|
|
668
|
-
}, arguments) };
|
|
669
|
-
|
|
670
|
-
module.exports.__wbg_isSafeInteger_8c4789029e885159 = function(arg0) {
|
|
671
|
-
const ret = Number.isSafeInteger(getObject(arg0));
|
|
710
|
+
module.exports.__wbg_isArray_39d28997bf6b96b4 = function(arg0) {
|
|
711
|
+
const ret = Array.isArray(getObject(arg0));
|
|
672
712
|
return ret;
|
|
673
713
|
};
|
|
674
714
|
|
|
675
|
-
module.exports.
|
|
676
|
-
const ret = getObject(arg0).
|
|
715
|
+
module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) {
|
|
716
|
+
const ret = getObject(arg0).length;
|
|
677
717
|
return ret;
|
|
678
718
|
};
|
|
679
719
|
|
|
680
|
-
module.exports.
|
|
681
|
-
const ret =
|
|
720
|
+
module.exports.__wbg_new_f9876326328f45ed = function() {
|
|
721
|
+
const ret = new Object();
|
|
722
|
+
return addHeapObject(ret);
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
|
|
726
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
730
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
682
731
|
return ret;
|
|
683
732
|
};
|
|
684
733
|
|
|
685
|
-
module.exports.
|
|
686
|
-
const
|
|
687
|
-
|
|
734
|
+
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
735
|
+
const v = getObject(arg1);
|
|
736
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
737
|
+
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
738
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
688
739
|
};
|
|
689
740
|
|
|
690
|
-
module.exports.
|
|
691
|
-
const ret =
|
|
741
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
742
|
+
const ret = arg0;
|
|
692
743
|
return addHeapObject(ret);
|
|
693
744
|
};
|
|
694
745
|
|
|
695
|
-
module.exports.
|
|
696
|
-
const ret =
|
|
697
|
-
return
|
|
746
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
747
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
748
|
+
return ret;
|
|
698
749
|
};
|
|
699
750
|
|
|
700
|
-
module.exports.
|
|
701
|
-
const ret =
|
|
751
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
752
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
702
753
|
return addHeapObject(ret);
|
|
703
754
|
};
|
|
704
755
|
|
|
756
|
+
module.exports.__wbg_isSafeInteger_8c4789029e885159 = function(arg0) {
|
|
757
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
758
|
+
return ret;
|
|
759
|
+
};
|
|
760
|
+
|
|
705
761
|
module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
706
762
|
try {
|
|
707
763
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -709,7 +765,7 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
|
709
765
|
const a = state0.a;
|
|
710
766
|
state0.a = 0;
|
|
711
767
|
try {
|
|
712
|
-
return
|
|
768
|
+
return __wbg_adapter_114(a, state0.b, arg0, arg1);
|
|
713
769
|
} finally {
|
|
714
770
|
state0.a = a;
|
|
715
771
|
}
|
|
@@ -721,87 +777,32 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
|
721
777
|
}
|
|
722
778
|
};
|
|
723
779
|
|
|
724
|
-
module.exports.
|
|
725
|
-
|
|
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);
|
|
780
|
+
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
781
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
742
782
|
};
|
|
743
783
|
|
|
744
|
-
module.exports.
|
|
745
|
-
const ret =
|
|
784
|
+
module.exports.__wbg_resolve_fd40f858d9db1a04 = function(arg0) {
|
|
785
|
+
const ret = Promise.resolve(getObject(arg0));
|
|
746
786
|
return addHeapObject(ret);
|
|
747
787
|
};
|
|
748
788
|
|
|
749
|
-
module.exports.
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
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;
|
|
789
|
+
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
790
|
+
const obj = takeObject(arg0).original;
|
|
791
|
+
if (obj.cnt-- == 1) {
|
|
792
|
+
obj.a = 0;
|
|
793
|
+
return true;
|
|
764
794
|
}
|
|
765
|
-
const ret =
|
|
795
|
+
const ret = false;
|
|
766
796
|
return ret;
|
|
767
797
|
};
|
|
768
798
|
|
|
769
|
-
module.exports.
|
|
770
|
-
const ret =
|
|
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
|
-
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
787
|
-
const ret = debugString(getObject(arg1));
|
|
788
|
-
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
789
|
-
const len0 = WASM_VECTOR_LEN;
|
|
790
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
791
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
792
|
-
};
|
|
793
|
-
|
|
794
|
-
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
795
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
796
|
-
};
|
|
797
|
-
|
|
798
|
-
module.exports.__wbindgen_memory = function() {
|
|
799
|
-
const ret = wasm.memory;
|
|
799
|
+
module.exports.__wbg_then_ec5db6d509eb475f = function(arg0, arg1) {
|
|
800
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
800
801
|
return addHeapObject(ret);
|
|
801
802
|
};
|
|
802
803
|
|
|
803
|
-
module.exports.
|
|
804
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
804
|
+
module.exports.__wbindgen_closure_wrapper22617 = function(arg0, arg1, arg2) {
|
|
805
|
+
const ret = makeMutClosure(arg0, arg1, 287, __wbg_adapter_48);
|
|
805
806
|
return addHeapObject(ret);
|
|
806
807
|
};
|
|
807
808
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|