@noir-lang/acvm_js 0.45.0 → 0.46.0-23a6477.nightly
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/nodejs/acvm_js.d.ts +76 -71
- package/nodejs/acvm_js.js +171 -553
- package/nodejs/acvm_js_bg.wasm +0 -0
- package/nodejs/acvm_js_bg.wasm.d.ts +12 -14
- package/package.json +1 -1
- package/web/acvm_js.d.ts +88 -85
- package/web/acvm_js.js +169 -489
- package/web/acvm_js_bg.wasm +0 -0
- package/web/acvm_js_bg.wasm.d.ts +12 -14
package/nodejs/acvm_js.js
CHANGED
|
@@ -127,15 +127,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
127
127
|
return ptr;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
let cachedBigInt64Memory0 = null;
|
|
131
|
-
|
|
132
|
-
function getBigInt64Memory0() {
|
|
133
|
-
if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
|
|
134
|
-
cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
|
|
135
|
-
}
|
|
136
|
-
return cachedBigInt64Memory0;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
130
|
function debugString(val) {
|
|
140
131
|
// primitive types
|
|
141
132
|
const type = typeof val;
|
|
@@ -225,8 +216,8 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
225
216
|
|
|
226
217
|
return real;
|
|
227
218
|
}
|
|
228
|
-
function
|
|
229
|
-
wasm.
|
|
219
|
+
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
220
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h36bac5ff3ea3c380(arg0, arg1, addHeapObject(arg2));
|
|
230
221
|
}
|
|
231
222
|
|
|
232
223
|
/**
|
|
@@ -368,96 +359,86 @@ module.exports.ecdsa_secp256r1_verify = function(hashed_msg, public_key_x_bytes,
|
|
|
368
359
|
};
|
|
369
360
|
|
|
370
361
|
/**
|
|
371
|
-
*
|
|
372
|
-
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
362
|
+
* @returns {Promise<WasmBlackBoxFunctionSolver>}
|
|
373
363
|
*/
|
|
374
|
-
module.exports.
|
|
375
|
-
const ret = wasm.
|
|
364
|
+
module.exports.createBlackBoxSolver = function() {
|
|
365
|
+
const ret = wasm.createBlackBoxSolver();
|
|
376
366
|
return takeObject(ret);
|
|
377
367
|
};
|
|
378
368
|
|
|
379
369
|
/**
|
|
380
|
-
*
|
|
370
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
381
371
|
*
|
|
382
372
|
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
383
|
-
* @param {WitnessMap}
|
|
384
|
-
* @
|
|
385
|
-
* @
|
|
386
|
-
* @param {WitnessMap} witness_map
|
|
387
|
-
* @returns {WitnessMap}
|
|
373
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
374
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
375
|
+
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
388
376
|
*/
|
|
389
|
-
module.exports.
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
wasm.getReturnWitness(retptr, ptr0, len0, addHeapObject(witness_map));
|
|
395
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
396
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
397
|
-
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
398
|
-
if (r2) {
|
|
399
|
-
throw takeObject(r1);
|
|
400
|
-
}
|
|
401
|
-
return takeObject(r0);
|
|
402
|
-
} finally {
|
|
403
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
404
|
-
}
|
|
377
|
+
module.exports.executeCircuit = function(program, initial_witness, foreign_call_handler) {
|
|
378
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
379
|
+
const len0 = WASM_VECTOR_LEN;
|
|
380
|
+
const ret = wasm.executeCircuit(ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
381
|
+
return takeObject(ret);
|
|
405
382
|
};
|
|
406
383
|
|
|
384
|
+
function _assertClass(instance, klass) {
|
|
385
|
+
if (!(instance instanceof klass)) {
|
|
386
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
387
|
+
}
|
|
388
|
+
return instance.ptr;
|
|
389
|
+
}
|
|
407
390
|
/**
|
|
408
|
-
*
|
|
391
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
392
|
+
* This method also extracts the public return values from the solved witness into its own return witness.
|
|
409
393
|
*
|
|
394
|
+
* @param {&WasmBlackBoxFunctionSolver} solver - A black box solver.
|
|
410
395
|
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
411
|
-
* @param {WitnessMap}
|
|
412
|
-
* @
|
|
413
|
-
* @
|
|
414
|
-
* @param {WitnessMap} solved_witness
|
|
415
|
-
* @returns {WitnessMap}
|
|
396
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
397
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
398
|
+
* @returns {SolvedAndReturnWitness} The solved witness calculated by executing the circuit on the provided inputs, as well as the return witness indices as specified by the circuit.
|
|
416
399
|
*/
|
|
417
|
-
module.exports.
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
424
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
425
|
-
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
426
|
-
if (r2) {
|
|
427
|
-
throw takeObject(r1);
|
|
428
|
-
}
|
|
429
|
-
return takeObject(r0);
|
|
430
|
-
} finally {
|
|
431
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
432
|
-
}
|
|
400
|
+
module.exports.executeCircuitWithReturnWitness = function(_solver, program, initial_witness, foreign_call_handler) {
|
|
401
|
+
_assertClass(_solver, WasmBlackBoxFunctionSolver);
|
|
402
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
403
|
+
const len0 = WASM_VECTOR_LEN;
|
|
404
|
+
const ret = wasm.executeCircuitWithReturnWitness(_solver.__wbg_ptr, ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
405
|
+
return takeObject(ret);
|
|
433
406
|
};
|
|
434
407
|
|
|
435
408
|
/**
|
|
436
|
-
*
|
|
409
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
437
410
|
*
|
|
411
|
+
* @param {&WasmBlackBoxFunctionSolver} solver - A black box solver.
|
|
438
412
|
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
439
|
-
* @param {WitnessMap}
|
|
440
|
-
* @
|
|
441
|
-
* @
|
|
442
|
-
* @param {WitnessMap} solved_witness
|
|
443
|
-
* @returns {WitnessMap}
|
|
413
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
414
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
415
|
+
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
444
416
|
*/
|
|
445
|
-
module.exports.
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
417
|
+
module.exports.executeCircuitWithBlackBoxSolver = function(_solver, program, initial_witness, foreign_call_handler) {
|
|
418
|
+
_assertClass(_solver, WasmBlackBoxFunctionSolver);
|
|
419
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
420
|
+
const len0 = WASM_VECTOR_LEN;
|
|
421
|
+
const ret = wasm.executeCircuitWithBlackBoxSolver(_solver.__wbg_ptr, ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
422
|
+
return takeObject(ret);
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
*/
|
|
427
|
+
module.exports.executeProgram = function(program, initial_witness, foreign_call_handler) {
|
|
428
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
429
|
+
const len0 = WASM_VECTOR_LEN;
|
|
430
|
+
const ret = wasm.executeProgram(ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
431
|
+
return takeObject(ret);
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
*/
|
|
436
|
+
module.exports.executeProgramWithBlackBoxSolver = function(_solver, program, initial_witness, foreign_call_executor) {
|
|
437
|
+
_assertClass(_solver, WasmBlackBoxFunctionSolver);
|
|
438
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
439
|
+
const len0 = WASM_VECTOR_LEN;
|
|
440
|
+
const ret = wasm.executeProgramWithBlackBoxSolver(_solver.__wbg_ptr, ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_executor));
|
|
441
|
+
return takeObject(ret);
|
|
461
442
|
};
|
|
462
443
|
|
|
463
444
|
/**
|
|
@@ -481,6 +462,15 @@ module.exports.initLogLevel = function(filter) {
|
|
|
481
462
|
}
|
|
482
463
|
};
|
|
483
464
|
|
|
465
|
+
/**
|
|
466
|
+
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
467
|
+
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
468
|
+
*/
|
|
469
|
+
module.exports.buildInfo = function() {
|
|
470
|
+
const ret = wasm.buildInfo();
|
|
471
|
+
return takeObject(ret);
|
|
472
|
+
};
|
|
473
|
+
|
|
484
474
|
/**
|
|
485
475
|
* Compresses a `WitnessMap` into the binary format outputted by Nargo.
|
|
486
476
|
*
|
|
@@ -581,87 +571,92 @@ module.exports.decompressWitnessStack = function(compressed_witness) {
|
|
|
581
571
|
};
|
|
582
572
|
|
|
583
573
|
/**
|
|
584
|
-
*
|
|
585
|
-
*/
|
|
586
|
-
module.exports.createBlackBoxSolver = function() {
|
|
587
|
-
const ret = wasm.createBlackBoxSolver();
|
|
588
|
-
return takeObject(ret);
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
574
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's return values.
|
|
593
575
|
*
|
|
594
576
|
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
595
|
-
* @param {WitnessMap}
|
|
596
|
-
* @
|
|
597
|
-
* @
|
|
577
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
578
|
+
* @returns {WitnessMap} A witness map containing the circuit's return values.
|
|
579
|
+
* @param {Uint8Array} program
|
|
580
|
+
* @param {WitnessMap} witness_map
|
|
581
|
+
* @returns {WitnessMap}
|
|
598
582
|
*/
|
|
599
|
-
module.exports.
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
583
|
+
module.exports.getReturnWitness = function(program, witness_map) {
|
|
584
|
+
try {
|
|
585
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
586
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
587
|
+
const len0 = WASM_VECTOR_LEN;
|
|
588
|
+
wasm.getReturnWitness(retptr, ptr0, len0, addHeapObject(witness_map));
|
|
589
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
590
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
591
|
+
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
592
|
+
if (r2) {
|
|
593
|
+
throw takeObject(r1);
|
|
594
|
+
}
|
|
595
|
+
return takeObject(r0);
|
|
596
|
+
} finally {
|
|
597
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
598
|
+
}
|
|
604
599
|
};
|
|
605
600
|
|
|
606
|
-
function _assertClass(instance, klass) {
|
|
607
|
-
if (!(instance instanceof klass)) {
|
|
608
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
609
|
-
}
|
|
610
|
-
return instance.ptr;
|
|
611
|
-
}
|
|
612
601
|
/**
|
|
613
|
-
*
|
|
614
|
-
* This method also extracts the public return values from the solved witness into its own return witness.
|
|
602
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public parameters.
|
|
615
603
|
*
|
|
616
|
-
* @param {&WasmBlackBoxFunctionSolver} solver - A black box solver.
|
|
617
604
|
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
618
|
-
* @param {WitnessMap}
|
|
619
|
-
* @
|
|
620
|
-
* @
|
|
605
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
606
|
+
* @returns {WitnessMap} A witness map containing the circuit's public parameters.
|
|
607
|
+
* @param {Uint8Array} program
|
|
608
|
+
* @param {WitnessMap} solved_witness
|
|
609
|
+
* @returns {WitnessMap}
|
|
621
610
|
*/
|
|
622
|
-
module.exports.
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
611
|
+
module.exports.getPublicParametersWitness = function(program, solved_witness) {
|
|
612
|
+
try {
|
|
613
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
614
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
615
|
+
const len0 = WASM_VECTOR_LEN;
|
|
616
|
+
wasm.getPublicParametersWitness(retptr, ptr0, len0, addHeapObject(solved_witness));
|
|
617
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
618
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
619
|
+
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
620
|
+
if (r2) {
|
|
621
|
+
throw takeObject(r1);
|
|
622
|
+
}
|
|
623
|
+
return takeObject(r0);
|
|
624
|
+
} finally {
|
|
625
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
626
|
+
}
|
|
628
627
|
};
|
|
629
628
|
|
|
630
629
|
/**
|
|
631
|
-
*
|
|
630
|
+
* Extracts a `WitnessMap` containing the witness indices corresponding to the circuit's public inputs.
|
|
632
631
|
*
|
|
633
|
-
* @param {&WasmBlackBoxFunctionSolver} solver - A black box solver.
|
|
634
632
|
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
635
|
-
* @param {WitnessMap}
|
|
636
|
-
* @
|
|
637
|
-
* @
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
_assertClass(solver, WasmBlackBoxFunctionSolver);
|
|
641
|
-
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
642
|
-
const len0 = WASM_VECTOR_LEN;
|
|
643
|
-
const ret = wasm.executeCircuitWithBlackBoxSolver(solver.__wbg_ptr, ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
644
|
-
return takeObject(ret);
|
|
645
|
-
};
|
|
646
|
-
|
|
647
|
-
/**
|
|
633
|
+
* @param {WitnessMap} witness_map - The completed witness map after executing the circuit.
|
|
634
|
+
* @returns {WitnessMap} A witness map containing the circuit's public inputs.
|
|
635
|
+
* @param {Uint8Array} program
|
|
636
|
+
* @param {WitnessMap} solved_witness
|
|
637
|
+
* @returns {WitnessMap}
|
|
648
638
|
*/
|
|
649
|
-
module.exports.
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
639
|
+
module.exports.getPublicWitness = function(program, solved_witness) {
|
|
640
|
+
try {
|
|
641
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
642
|
+
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
643
|
+
const len0 = WASM_VECTOR_LEN;
|
|
644
|
+
wasm.getPublicWitness(retptr, ptr0, len0, addHeapObject(solved_witness));
|
|
645
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
646
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
647
|
+
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
648
|
+
if (r2) {
|
|
649
|
+
throw takeObject(r1);
|
|
650
|
+
}
|
|
651
|
+
return takeObject(r0);
|
|
652
|
+
} finally {
|
|
653
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
654
|
+
}
|
|
654
655
|
};
|
|
655
656
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
_assertClass(solver, WasmBlackBoxFunctionSolver);
|
|
660
|
-
const ptr0 = passArray8ToWasm0(program, wasm.__wbindgen_malloc);
|
|
661
|
-
const len0 = WASM_VECTOR_LEN;
|
|
662
|
-
const ret = wasm.executeProgramWithBlackBoxSolver(solver.__wbg_ptr, ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_executor));
|
|
663
|
-
return takeObject(ret);
|
|
664
|
-
};
|
|
657
|
+
function __wbg_adapter_81(arg0, arg1, arg2, arg3, arg4) {
|
|
658
|
+
wasm.wasm_bindgen__convert__closures__invoke3_mut__h629417323d5efbaa(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
|
|
659
|
+
}
|
|
665
660
|
|
|
666
661
|
function handleError(f, args) {
|
|
667
662
|
try {
|
|
@@ -670,39 +665,10 @@ function handleError(f, args) {
|
|
|
670
665
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
671
666
|
}
|
|
672
667
|
}
|
|
673
|
-
function
|
|
674
|
-
wasm.
|
|
668
|
+
function __wbg_adapter_98(arg0, arg1, arg2, arg3) {
|
|
669
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h4efdd1050cfb3ea7(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
675
670
|
}
|
|
676
671
|
|
|
677
|
-
function __wbg_adapter_171(arg0, arg1, arg2, arg3) {
|
|
678
|
-
wasm.wasm_bindgen__convert__closures__invoke2_mut__h188e918906ff9a40(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* A struct representing a Trap
|
|
683
|
-
*/
|
|
684
|
-
class Trap {
|
|
685
|
-
|
|
686
|
-
__destroy_into_raw() {
|
|
687
|
-
const ptr = this.__wbg_ptr;
|
|
688
|
-
this.__wbg_ptr = 0;
|
|
689
|
-
|
|
690
|
-
return ptr;
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
free() {
|
|
694
|
-
const ptr = this.__destroy_into_raw();
|
|
695
|
-
wasm.__wbg_trap_free(ptr);
|
|
696
|
-
}
|
|
697
|
-
/**
|
|
698
|
-
* A marker method to indicate that an object is an instance of the `Trap`
|
|
699
|
-
* class.
|
|
700
|
-
*/
|
|
701
|
-
static __wbg_wasmer_trap() {
|
|
702
|
-
wasm.trap___wbg_wasmer_trap();
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
module.exports.Trap = Trap;
|
|
706
672
|
/**
|
|
707
673
|
*/
|
|
708
674
|
class WasmBlackBoxFunctionSolver {
|
|
@@ -733,6 +699,11 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
733
699
|
takeObject(arg0);
|
|
734
700
|
};
|
|
735
701
|
|
|
702
|
+
module.exports.__wbg_wasmblackboxfunctionsolver_new = function(arg0) {
|
|
703
|
+
const ret = WasmBlackBoxFunctionSolver.__wrap(arg0);
|
|
704
|
+
return addHeapObject(ret);
|
|
705
|
+
};
|
|
706
|
+
|
|
736
707
|
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
737
708
|
const obj = getObject(arg1);
|
|
738
709
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
@@ -740,32 +711,37 @@ module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
|
740
711
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
741
712
|
};
|
|
742
713
|
|
|
743
|
-
module.exports.
|
|
744
|
-
const
|
|
745
|
-
|
|
714
|
+
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
715
|
+
const obj = takeObject(arg0).original;
|
|
716
|
+
if (obj.cnt-- == 1) {
|
|
717
|
+
obj.a = 0;
|
|
718
|
+
return true;
|
|
719
|
+
}
|
|
720
|
+
const ret = false;
|
|
721
|
+
return ret;
|
|
746
722
|
};
|
|
747
723
|
|
|
748
|
-
module.exports.
|
|
749
|
-
const ret = getObject(arg0)
|
|
724
|
+
module.exports.__wbindgen_is_array = function(arg0) {
|
|
725
|
+
const ret = Array.isArray(getObject(arg0));
|
|
750
726
|
return ret;
|
|
751
727
|
};
|
|
752
728
|
|
|
753
|
-
module.exports.
|
|
754
|
-
const ret =
|
|
755
|
-
return
|
|
729
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
730
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
731
|
+
return ret;
|
|
756
732
|
};
|
|
757
733
|
|
|
758
|
-
module.exports.
|
|
759
|
-
const ret =
|
|
734
|
+
module.exports.__wbg_constructor_81b34c49dcbdd2af = function(arg0) {
|
|
735
|
+
const ret = new Error(takeObject(arg0));
|
|
760
736
|
return addHeapObject(ret);
|
|
761
737
|
};
|
|
762
738
|
|
|
763
|
-
module.exports.
|
|
764
|
-
const ret =
|
|
739
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
740
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
765
741
|
return addHeapObject(ret);
|
|
766
742
|
};
|
|
767
743
|
|
|
768
|
-
module.exports.
|
|
744
|
+
module.exports.__wbg_new_6f6c75f9324b78e8 = function() {
|
|
769
745
|
const ret = new Map();
|
|
770
746
|
return addHeapObject(ret);
|
|
771
747
|
};
|
|
@@ -784,36 +760,11 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
784
760
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
785
761
|
};
|
|
786
762
|
|
|
787
|
-
module.exports.
|
|
788
|
-
const ret = WasmBlackBoxFunctionSolver.__wrap(arg0);
|
|
789
|
-
return addHeapObject(ret);
|
|
790
|
-
};
|
|
791
|
-
|
|
792
|
-
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
793
|
-
const obj = takeObject(arg0).original;
|
|
794
|
-
if (obj.cnt-- == 1) {
|
|
795
|
-
obj.a = 0;
|
|
796
|
-
return true;
|
|
797
|
-
}
|
|
798
|
-
const ret = false;
|
|
799
|
-
return ret;
|
|
800
|
-
};
|
|
801
|
-
|
|
802
|
-
module.exports.__wbg_new_575b760e13535a20 = function() {
|
|
763
|
+
module.exports.__wbg_new_ee5ac63ff3b0fa4d = function() {
|
|
803
764
|
const ret = new Array();
|
|
804
765
|
return addHeapObject(ret);
|
|
805
766
|
};
|
|
806
767
|
|
|
807
|
-
module.exports.__wbindgen_is_array = function(arg0) {
|
|
808
|
-
const ret = Array.isArray(getObject(arg0));
|
|
809
|
-
return ret;
|
|
810
|
-
};
|
|
811
|
-
|
|
812
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
813
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
814
|
-
return ret;
|
|
815
|
-
};
|
|
816
|
-
|
|
817
768
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
818
769
|
const ret = new Error();
|
|
819
770
|
return addHeapObject(ret);
|
|
@@ -839,63 +790,6 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
839
790
|
}
|
|
840
791
|
};
|
|
841
792
|
|
|
842
|
-
module.exports.__wbindgen_ge = function(arg0, arg1) {
|
|
843
|
-
const ret = getObject(arg0) >= getObject(arg1);
|
|
844
|
-
return ret;
|
|
845
|
-
};
|
|
846
|
-
|
|
847
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
848
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
849
|
-
return addHeapObject(ret);
|
|
850
|
-
};
|
|
851
|
-
|
|
852
|
-
module.exports.__wbindgen_shr = function(arg0, arg1) {
|
|
853
|
-
const ret = getObject(arg0) >> getObject(arg1);
|
|
854
|
-
return addHeapObject(ret);
|
|
855
|
-
};
|
|
856
|
-
|
|
857
|
-
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
858
|
-
const ret = getObject(arg0) === getObject(arg1);
|
|
859
|
-
return ret;
|
|
860
|
-
};
|
|
861
|
-
|
|
862
|
-
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
863
|
-
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
864
|
-
return ret;
|
|
865
|
-
};
|
|
866
|
-
|
|
867
|
-
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
868
|
-
const ret = arg0;
|
|
869
|
-
return addHeapObject(ret);
|
|
870
|
-
};
|
|
871
|
-
|
|
872
|
-
module.exports.__wbindgen_bigint_from_u128 = function(arg0, arg1) {
|
|
873
|
-
const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1);
|
|
874
|
-
return addHeapObject(ret);
|
|
875
|
-
};
|
|
876
|
-
|
|
877
|
-
module.exports.__wbindgen_is_object = function(arg0) {
|
|
878
|
-
const val = getObject(arg0);
|
|
879
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
880
|
-
return ret;
|
|
881
|
-
};
|
|
882
|
-
|
|
883
|
-
module.exports.__wbindgen_is_function = function(arg0) {
|
|
884
|
-
const ret = typeof(getObject(arg0)) === 'function';
|
|
885
|
-
return ret;
|
|
886
|
-
};
|
|
887
|
-
|
|
888
|
-
module.exports.__wbg_instanceof_Global_f4b019d2b45e18ab = function(arg0) {
|
|
889
|
-
let result;
|
|
890
|
-
try {
|
|
891
|
-
result = getObject(arg0) instanceof WebAssembly.Global;
|
|
892
|
-
} catch {
|
|
893
|
-
result = false;
|
|
894
|
-
}
|
|
895
|
-
const ret = result;
|
|
896
|
-
return ret;
|
|
897
|
-
};
|
|
898
|
-
|
|
899
793
|
module.exports.__wbg_debug_e3f6a1578e6d45ca = function(arg0) {
|
|
900
794
|
console.debug(getObject(arg0));
|
|
901
795
|
};
|
|
@@ -928,44 +822,6 @@ module.exports.__wbg_warn_8342bfbc6028193a = function(arg0, arg1, arg2, arg3) {
|
|
|
928
822
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
929
823
|
};
|
|
930
824
|
|
|
931
|
-
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
932
|
-
const ret = getObject(arg0).crypto;
|
|
933
|
-
return addHeapObject(ret);
|
|
934
|
-
};
|
|
935
|
-
|
|
936
|
-
module.exports.__wbg_process_298734cf255a885d = function(arg0) {
|
|
937
|
-
const ret = getObject(arg0).process;
|
|
938
|
-
return addHeapObject(ret);
|
|
939
|
-
};
|
|
940
|
-
|
|
941
|
-
module.exports.__wbg_versions_e2e78e134e3e5d01 = function(arg0) {
|
|
942
|
-
const ret = getObject(arg0).versions;
|
|
943
|
-
return addHeapObject(ret);
|
|
944
|
-
};
|
|
945
|
-
|
|
946
|
-
module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
947
|
-
const ret = getObject(arg0).node;
|
|
948
|
-
return addHeapObject(ret);
|
|
949
|
-
};
|
|
950
|
-
|
|
951
|
-
module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
952
|
-
const ret = getObject(arg0).msCrypto;
|
|
953
|
-
return addHeapObject(ret);
|
|
954
|
-
};
|
|
955
|
-
|
|
956
|
-
module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
957
|
-
const ret = module.require;
|
|
958
|
-
return addHeapObject(ret);
|
|
959
|
-
}, arguments) };
|
|
960
|
-
|
|
961
|
-
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
962
|
-
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
963
|
-
}, arguments) };
|
|
964
|
-
|
|
965
|
-
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
966
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
967
|
-
}, arguments) };
|
|
968
|
-
|
|
969
825
|
module.exports.__wbg_get_7303ed2ef026b2f5 = function(arg0, arg1) {
|
|
970
826
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
971
827
|
return addHeapObject(ret);
|
|
@@ -981,65 +837,11 @@ module.exports.__wbg_new_0394642eae39db16 = function() {
|
|
|
981
837
|
return addHeapObject(ret);
|
|
982
838
|
};
|
|
983
839
|
|
|
984
|
-
module.exports.__wbg_BigInt_9523742cb675bb6f = function(arg0) {
|
|
985
|
-
const ret = BigInt(getObject(arg0));
|
|
986
|
-
return addHeapObject(ret);
|
|
987
|
-
};
|
|
988
|
-
|
|
989
|
-
module.exports.__wbg_newnoargs_c9e6043b8ad84109 = function(arg0, arg1) {
|
|
990
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
991
|
-
return addHeapObject(ret);
|
|
992
|
-
};
|
|
993
|
-
|
|
994
840
|
module.exports.__wbg_new_0f2b71ca2f2a6029 = function() {
|
|
995
841
|
const ret = new Map();
|
|
996
842
|
return addHeapObject(ret);
|
|
997
843
|
};
|
|
998
844
|
|
|
999
|
-
module.exports.__wbg_get_f53c921291c381bd = function() { return handleError(function (arg0, arg1) {
|
|
1000
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
1001
|
-
return addHeapObject(ret);
|
|
1002
|
-
}, arguments) };
|
|
1003
|
-
|
|
1004
|
-
module.exports.__wbg_call_557a2f2deacc4912 = function() { return handleError(function (arg0, arg1) {
|
|
1005
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
1006
|
-
return addHeapObject(ret);
|
|
1007
|
-
}, arguments) };
|
|
1008
|
-
|
|
1009
|
-
module.exports.__wbg_new_2b6fea4ea03b1b95 = function() {
|
|
1010
|
-
const ret = new Object();
|
|
1011
|
-
return addHeapObject(ret);
|
|
1012
|
-
};
|
|
1013
|
-
|
|
1014
|
-
module.exports.__wbg_self_742dd6eab3e9211e = function() { return handleError(function () {
|
|
1015
|
-
const ret = self.self;
|
|
1016
|
-
return addHeapObject(ret);
|
|
1017
|
-
}, arguments) };
|
|
1018
|
-
|
|
1019
|
-
module.exports.__wbg_window_c409e731db53a0e2 = function() { return handleError(function () {
|
|
1020
|
-
const ret = window.window;
|
|
1021
|
-
return addHeapObject(ret);
|
|
1022
|
-
}, arguments) };
|
|
1023
|
-
|
|
1024
|
-
module.exports.__wbg_globalThis_b70c095388441f2d = function() { return handleError(function () {
|
|
1025
|
-
const ret = globalThis.globalThis;
|
|
1026
|
-
return addHeapObject(ret);
|
|
1027
|
-
}, arguments) };
|
|
1028
|
-
|
|
1029
|
-
module.exports.__wbg_global_1c72617491ed7194 = function() { return handleError(function () {
|
|
1030
|
-
const ret = global.global;
|
|
1031
|
-
return addHeapObject(ret);
|
|
1032
|
-
}, arguments) };
|
|
1033
|
-
|
|
1034
|
-
module.exports.__wbg_newwithlength_cd1db47a173e3944 = function(arg0) {
|
|
1035
|
-
const ret = new Array(arg0 >>> 0);
|
|
1036
|
-
return addHeapObject(ret);
|
|
1037
|
-
};
|
|
1038
|
-
|
|
1039
|
-
module.exports.__wbg_set_b4da98d504ac6091 = function(arg0, arg1, arg2) {
|
|
1040
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
1041
|
-
};
|
|
1042
|
-
|
|
1043
845
|
module.exports.__wbg_from_6bc98a09a0b58bb1 = function(arg0) {
|
|
1044
846
|
const ret = Array.from(getObject(arg0));
|
|
1045
847
|
return addHeapObject(ret);
|
|
@@ -1052,7 +854,7 @@ module.exports.__wbg_forEach_5ae261259d7517c8 = function(arg0, arg1, arg2) {
|
|
|
1052
854
|
const a = state0.a;
|
|
1053
855
|
state0.a = 0;
|
|
1054
856
|
try {
|
|
1055
|
-
return
|
|
857
|
+
return __wbg_adapter_81(a, state0.b, arg0, arg1, arg2);
|
|
1056
858
|
} finally {
|
|
1057
859
|
state0.a = a;
|
|
1058
860
|
}
|
|
@@ -1073,30 +875,6 @@ module.exports.__wbg_reverse_a322332d916e2705 = function(arg0) {
|
|
|
1073
875
|
return addHeapObject(ret);
|
|
1074
876
|
};
|
|
1075
877
|
|
|
1076
|
-
module.exports.__wbg_byteLength_1a59a59856fc656a = function(arg0) {
|
|
1077
|
-
const ret = getObject(arg0).byteLength;
|
|
1078
|
-
return ret;
|
|
1079
|
-
};
|
|
1080
|
-
|
|
1081
|
-
module.exports.__wbg_toString_68dcf9fa017bbb08 = function(arg0, arg1, arg2) {
|
|
1082
|
-
const ret = getObject(arg1).toString(arg2);
|
|
1083
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1084
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1085
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
1086
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
1087
|
-
};
|
|
1088
|
-
|
|
1089
|
-
module.exports.__wbg_instanceof_Error_fac23a8832b241da = function(arg0) {
|
|
1090
|
-
let result;
|
|
1091
|
-
try {
|
|
1092
|
-
result = getObject(arg0) instanceof Error;
|
|
1093
|
-
} catch {
|
|
1094
|
-
result = false;
|
|
1095
|
-
}
|
|
1096
|
-
const ret = result;
|
|
1097
|
-
return ret;
|
|
1098
|
-
};
|
|
1099
|
-
|
|
1100
878
|
module.exports.__wbg_new_87297f22973157c8 = function(arg0, arg1) {
|
|
1101
879
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1102
880
|
return addHeapObject(ret);
|
|
@@ -1106,22 +884,6 @@ module.exports.__wbg_setcause_394738aae0ce9341 = function(arg0, arg1) {
|
|
|
1106
884
|
getObject(arg0).cause = getObject(arg1);
|
|
1107
885
|
};
|
|
1108
886
|
|
|
1109
|
-
module.exports.__wbg_message_eab7d45ec69a2135 = function(arg0) {
|
|
1110
|
-
const ret = getObject(arg0).message;
|
|
1111
|
-
return addHeapObject(ret);
|
|
1112
|
-
};
|
|
1113
|
-
|
|
1114
|
-
module.exports.__wbg_instanceof_Function_8e1bcaacb89c4438 = function(arg0) {
|
|
1115
|
-
let result;
|
|
1116
|
-
try {
|
|
1117
|
-
result = getObject(arg0) instanceof Function;
|
|
1118
|
-
} catch {
|
|
1119
|
-
result = false;
|
|
1120
|
-
}
|
|
1121
|
-
const ret = result;
|
|
1122
|
-
return ret;
|
|
1123
|
-
};
|
|
1124
|
-
|
|
1125
887
|
module.exports.__wbg_call_587b30eea3e09332 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1126
888
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
1127
889
|
return addHeapObject(ret);
|
|
@@ -1132,16 +894,6 @@ module.exports.__wbg_call_4c73e4aecced6a7d = function() { return handleError(fun
|
|
|
1132
894
|
return addHeapObject(ret);
|
|
1133
895
|
}, arguments) };
|
|
1134
896
|
|
|
1135
|
-
module.exports.__wbg_bind_7d5ce7224bedd5b8 = function(arg0, arg1, arg2) {
|
|
1136
|
-
const ret = getObject(arg0).bind(getObject(arg1), getObject(arg2));
|
|
1137
|
-
return addHeapObject(ret);
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
module.exports.__wbg_bind_f5218b29220675c3 = function(arg0, arg1, arg2, arg3) {
|
|
1141
|
-
const ret = getObject(arg0).bind(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1142
|
-
return addHeapObject(ret);
|
|
1143
|
-
};
|
|
1144
|
-
|
|
1145
897
|
module.exports.__wbg_forEach_942772130a8d06a6 = function(arg0, arg1, arg2) {
|
|
1146
898
|
try {
|
|
1147
899
|
var state0 = {a: arg1, b: arg2};
|
|
@@ -1149,7 +901,7 @@ module.exports.__wbg_forEach_942772130a8d06a6 = function(arg0, arg1, arg2) {
|
|
|
1149
901
|
const a = state0.a;
|
|
1150
902
|
state0.a = 0;
|
|
1151
903
|
try {
|
|
1152
|
-
return
|
|
904
|
+
return __wbg_adapter_98(a, state0.b, arg0, arg1);
|
|
1153
905
|
} finally {
|
|
1154
906
|
state0.a = a;
|
|
1155
907
|
}
|
|
@@ -1165,32 +917,11 @@ module.exports.__wbg_set_da7be7bf0e037b14 = function(arg0, arg1, arg2) {
|
|
|
1165
917
|
return addHeapObject(ret);
|
|
1166
918
|
};
|
|
1167
919
|
|
|
1168
|
-
module.exports.__wbg_instanceof_Object_a9e9e5766628e8b5 = function(arg0) {
|
|
1169
|
-
let result;
|
|
1170
|
-
try {
|
|
1171
|
-
result = getObject(arg0) instanceof Object;
|
|
1172
|
-
} catch {
|
|
1173
|
-
result = false;
|
|
1174
|
-
}
|
|
1175
|
-
const ret = result;
|
|
1176
|
-
return ret;
|
|
1177
|
-
};
|
|
1178
|
-
|
|
1179
|
-
module.exports.__wbg_constructor_f2623999a1f453eb = function(arg0) {
|
|
1180
|
-
const ret = getObject(arg0).constructor;
|
|
1181
|
-
return addHeapObject(ret);
|
|
1182
|
-
};
|
|
1183
|
-
|
|
1184
920
|
module.exports.__wbg_fromEntries_d1b310956d20d858 = function() { return handleError(function (arg0) {
|
|
1185
921
|
const ret = Object.fromEntries(getObject(arg0));
|
|
1186
922
|
return addHeapObject(ret);
|
|
1187
923
|
}, arguments) };
|
|
1188
924
|
|
|
1189
|
-
module.exports.__wbg_toString_e2b23ac99490a381 = function(arg0) {
|
|
1190
|
-
const ret = getObject(arg0).toString();
|
|
1191
|
-
return addHeapObject(ret);
|
|
1192
|
-
};
|
|
1193
|
-
|
|
1194
925
|
module.exports.__wbg_values_099fd000c271c313 = function(arg0) {
|
|
1195
926
|
const ret = Object.values(getObject(arg0));
|
|
1196
927
|
return addHeapObject(ret);
|
|
@@ -1203,7 +934,7 @@ module.exports.__wbg_new_2b55e405e4af4986 = function(arg0, arg1) {
|
|
|
1203
934
|
const a = state0.a;
|
|
1204
935
|
state0.a = 0;
|
|
1205
936
|
try {
|
|
1206
|
-
return
|
|
937
|
+
return __wbg_adapter_98(a, state0.b, arg0, arg1);
|
|
1207
938
|
} finally {
|
|
1208
939
|
state0.a = a;
|
|
1209
940
|
}
|
|
@@ -1230,119 +961,16 @@ module.exports.__wbg_then_835b073a479138e5 = function(arg0, arg1, arg2) {
|
|
|
1230
961
|
return addHeapObject(ret);
|
|
1231
962
|
};
|
|
1232
963
|
|
|
1233
|
-
module.exports.__wbg_buffer_55ba7a6b1b92e2ac = function(arg0) {
|
|
1234
|
-
const ret = getObject(arg0).buffer;
|
|
1235
|
-
return addHeapObject(ret);
|
|
1236
|
-
};
|
|
1237
|
-
|
|
1238
|
-
module.exports.__wbg_newwithbyteoffsetandlength_88d1d8be5df94b9b = function(arg0, arg1, arg2) {
|
|
1239
|
-
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
1240
|
-
return addHeapObject(ret);
|
|
1241
|
-
};
|
|
1242
|
-
|
|
1243
|
-
module.exports.__wbg_new_09938a7d020f049b = function(arg0) {
|
|
1244
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
1245
|
-
return addHeapObject(ret);
|
|
1246
|
-
};
|
|
1247
|
-
|
|
1248
|
-
module.exports.__wbg_set_3698e3ca519b3c3c = function(arg0, arg1, arg2) {
|
|
1249
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
1250
|
-
};
|
|
1251
|
-
|
|
1252
|
-
module.exports.__wbg_length_0aab7ffd65ad19ed = function(arg0) {
|
|
1253
|
-
const ret = getObject(arg0).length;
|
|
1254
|
-
return ret;
|
|
1255
|
-
};
|
|
1256
|
-
|
|
1257
|
-
module.exports.__wbg_newwithlength_89eeca401d8918c2 = function(arg0) {
|
|
1258
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
1259
|
-
return addHeapObject(ret);
|
|
1260
|
-
};
|
|
1261
|
-
|
|
1262
|
-
module.exports.__wbg_subarray_d82be056deb4ad27 = function(arg0, arg1, arg2) {
|
|
1263
|
-
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1264
|
-
return addHeapObject(ret);
|
|
1265
|
-
};
|
|
1266
|
-
|
|
1267
964
|
module.exports.__wbg_parse_76a8a18ca3f8730b = function() { return handleError(function (arg0, arg1) {
|
|
1268
965
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
1269
966
|
return addHeapObject(ret);
|
|
1270
967
|
}, arguments) };
|
|
1271
968
|
|
|
1272
|
-
module.exports.__wbg_compile_eefe73dfb19bff3d = function(arg0) {
|
|
1273
|
-
const ret = WebAssembly.compile(getObject(arg0));
|
|
1274
|
-
return addHeapObject(ret);
|
|
1275
|
-
};
|
|
1276
|
-
|
|
1277
|
-
module.exports.__wbg_instantiate_e61ee50cd947cd36 = function(arg0, arg1) {
|
|
1278
|
-
const ret = WebAssembly.instantiate(getObject(arg0), getObject(arg1));
|
|
1279
|
-
return addHeapObject(ret);
|
|
1280
|
-
};
|
|
1281
|
-
|
|
1282
|
-
module.exports.__wbg_exports_311291a1333429a3 = function(arg0) {
|
|
1283
|
-
const ret = getObject(arg0).exports;
|
|
1284
|
-
return addHeapObject(ret);
|
|
1285
|
-
};
|
|
1286
|
-
|
|
1287
|
-
module.exports.__wbg_exports_12505982ae149cb0 = function(arg0) {
|
|
1288
|
-
const ret = WebAssembly.Module.exports(getObject(arg0));
|
|
1289
|
-
return addHeapObject(ret);
|
|
1290
|
-
};
|
|
1291
|
-
|
|
1292
|
-
module.exports.__wbg_instanceof_Table_b0af5234a12a19f9 = function(arg0) {
|
|
1293
|
-
let result;
|
|
1294
|
-
try {
|
|
1295
|
-
result = getObject(arg0) instanceof WebAssembly.Table;
|
|
1296
|
-
} catch {
|
|
1297
|
-
result = false;
|
|
1298
|
-
}
|
|
1299
|
-
const ret = result;
|
|
1300
|
-
return ret;
|
|
1301
|
-
};
|
|
1302
|
-
|
|
1303
|
-
module.exports.__wbg_get_b5def15f90c3e295 = function() { return handleError(function (arg0, arg1) {
|
|
1304
|
-
const ret = getObject(arg0).get(arg1 >>> 0);
|
|
1305
|
-
return addHeapObject(ret);
|
|
1306
|
-
}, arguments) };
|
|
1307
|
-
|
|
1308
|
-
module.exports.__wbg_instanceof_Memory_331618ccd3fa615d = function(arg0) {
|
|
1309
|
-
let result;
|
|
1310
|
-
try {
|
|
1311
|
-
result = getObject(arg0) instanceof WebAssembly.Memory;
|
|
1312
|
-
} catch {
|
|
1313
|
-
result = false;
|
|
1314
|
-
}
|
|
1315
|
-
const ret = result;
|
|
1316
|
-
return ret;
|
|
1317
|
-
};
|
|
1318
|
-
|
|
1319
|
-
module.exports.__wbg_new_e40873b83efb2dcd = function() { return handleError(function (arg0) {
|
|
1320
|
-
const ret = new WebAssembly.Memory(getObject(arg0));
|
|
1321
|
-
return addHeapObject(ret);
|
|
1322
|
-
}, arguments) };
|
|
1323
|
-
|
|
1324
|
-
module.exports.__wbg_apply_46ea2bb0ad750196 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1325
|
-
const ret = Reflect.apply(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1326
|
-
return addHeapObject(ret);
|
|
1327
|
-
}, arguments) };
|
|
1328
|
-
|
|
1329
|
-
module.exports.__wbg_getPrototypeOf_7dc7a2328db2bc0e = function() { return handleError(function (arg0) {
|
|
1330
|
-
const ret = Reflect.getPrototypeOf(getObject(arg0));
|
|
1331
|
-
return addHeapObject(ret);
|
|
1332
|
-
}, arguments) };
|
|
1333
|
-
|
|
1334
969
|
module.exports.__wbg_set_07da13cc24b69217 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1335
970
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1336
971
|
return ret;
|
|
1337
972
|
}, arguments) };
|
|
1338
973
|
|
|
1339
|
-
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
1340
|
-
const v = getObject(arg1);
|
|
1341
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1342
|
-
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
1343
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
1344
|
-
};
|
|
1345
|
-
|
|
1346
974
|
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
1347
975
|
const ret = debugString(getObject(arg1));
|
|
1348
976
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1355,18 +983,8 @@ module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
|
1355
983
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1356
984
|
};
|
|
1357
985
|
|
|
1358
|
-
module.exports.
|
|
1359
|
-
const ret =
|
|
1360
|
-
return addHeapObject(ret);
|
|
1361
|
-
};
|
|
1362
|
-
|
|
1363
|
-
module.exports.__wbindgen_function_table = function() {
|
|
1364
|
-
const ret = wasm.__wbindgen_export_2;
|
|
1365
|
-
return addHeapObject(ret);
|
|
1366
|
-
};
|
|
1367
|
-
|
|
1368
|
-
module.exports.__wbindgen_closure_wrapper2097 = function(arg0, arg1, arg2) {
|
|
1369
|
-
const ret = makeMutClosure(arg0, arg1, 698, __wbg_adapter_52);
|
|
986
|
+
module.exports.__wbindgen_closure_wrapper493 = function(arg0, arg1, arg2) {
|
|
987
|
+
const ret = makeMutClosure(arg0, arg1, 201, __wbg_adapter_22);
|
|
1370
988
|
return addHeapObject(ret);
|
|
1371
989
|
};
|
|
1372
990
|
|