@janssenproject/cedarling_wasm 1.9.0 → 1.11.0-nodejs
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/cedarling_wasm.d.ts +0 -77
- package/cedarling_wasm.js +678 -627
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +2 -6
package/cedarling_wasm.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
let wasm;
|
|
2
1
|
|
|
3
|
-
let
|
|
2
|
+
let imports = {};
|
|
3
|
+
imports['__wbindgen_placeholder__'] = module.exports;
|
|
4
|
+
let wasm;
|
|
5
|
+
const { TextDecoder, TextEncoder } = require(`util`);
|
|
4
6
|
|
|
5
7
|
let cachedUint8ArrayMemory0 = null;
|
|
6
8
|
|
|
@@ -11,7 +13,22 @@ function getUint8ArrayMemory0() {
|
|
|
11
13
|
return cachedUint8ArrayMemory0;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
17
|
+
|
|
18
|
+
cachedTextDecoder.decode();
|
|
19
|
+
|
|
20
|
+
function decodeText(ptr, len) {
|
|
21
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function getStringFromWasm0(ptr, len) {
|
|
25
|
+
ptr = ptr >>> 0;
|
|
26
|
+
return decodeText(ptr, len);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
let WASM_VECTOR_LEN = 0;
|
|
30
|
+
|
|
31
|
+
const cachedTextEncoder = new TextEncoder('utf-8');
|
|
15
32
|
|
|
16
33
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
17
34
|
? function (arg, view) {
|
|
@@ -74,15 +91,6 @@ function getDataViewMemory0() {
|
|
|
74
91
|
return cachedDataViewMemory0;
|
|
75
92
|
}
|
|
76
93
|
|
|
77
|
-
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
78
|
-
|
|
79
|
-
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
80
|
-
|
|
81
|
-
function getStringFromWasm0(ptr, len) {
|
|
82
|
-
ptr = ptr >>> 0;
|
|
83
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
94
|
function addToExternrefTable0(obj) {
|
|
87
95
|
const idx = wasm.__externref_table_alloc();
|
|
88
96
|
wasm.__wbindgen_export_4.set(idx, obj);
|
|
@@ -98,6 +106,11 @@ function handleError(f, args) {
|
|
|
98
106
|
}
|
|
99
107
|
}
|
|
100
108
|
|
|
109
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
110
|
+
ptr = ptr >>> 0;
|
|
111
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
112
|
+
}
|
|
113
|
+
|
|
101
114
|
function isLikeNone(x) {
|
|
102
115
|
return x === undefined || x === null;
|
|
103
116
|
}
|
|
@@ -203,10 +216,10 @@ function debugString(val) {
|
|
|
203
216
|
* @param {any} config
|
|
204
217
|
* @returns {Promise<Cedarling>}
|
|
205
218
|
*/
|
|
206
|
-
|
|
219
|
+
module.exports.init = function(config) {
|
|
207
220
|
const ret = wasm.init(config);
|
|
208
221
|
return ret;
|
|
209
|
-
}
|
|
222
|
+
};
|
|
210
223
|
|
|
211
224
|
function takeFromExternrefTable0(idx) {
|
|
212
225
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
@@ -230,18 +243,20 @@ function _assertClass(instance, klass) {
|
|
|
230
243
|
throw new Error(`expected instance of ${klass.name}`);
|
|
231
244
|
}
|
|
232
245
|
}
|
|
233
|
-
function
|
|
234
|
-
wasm.
|
|
246
|
+
function __wbg_adapter_48(arg0, arg1) {
|
|
247
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha606d566df222057(arg0, arg1);
|
|
235
248
|
}
|
|
236
249
|
|
|
237
|
-
function
|
|
238
|
-
wasm.
|
|
250
|
+
function __wbg_adapter_51(arg0, arg1, arg2) {
|
|
251
|
+
wasm.closure545_externref_shim(arg0, arg1, arg2);
|
|
239
252
|
}
|
|
240
253
|
|
|
241
254
|
function __wbg_adapter_244(arg0, arg1, arg2, arg3) {
|
|
242
|
-
wasm.
|
|
255
|
+
wasm.closure1825_externref_shim(arg0, arg1, arg2, arg3);
|
|
243
256
|
}
|
|
244
257
|
|
|
258
|
+
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
259
|
+
|
|
245
260
|
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
246
261
|
|
|
247
262
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
@@ -253,7 +268,7 @@ const AuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
253
268
|
* A WASM wrapper for the Rust `cedarling::AuthorizeResult` struct.
|
|
254
269
|
* Represents the result of an authorization request.
|
|
255
270
|
*/
|
|
256
|
-
|
|
271
|
+
class AuthorizeResult {
|
|
257
272
|
|
|
258
273
|
static __wrap(ptr) {
|
|
259
274
|
ptr = ptr >>> 0;
|
|
@@ -389,6 +404,7 @@ export class AuthorizeResult {
|
|
|
389
404
|
return ret === 0 ? undefined : AuthorizeResultResponse.__wrap(ret);
|
|
390
405
|
}
|
|
391
406
|
}
|
|
407
|
+
module.exports.AuthorizeResult = AuthorizeResult;
|
|
392
408
|
|
|
393
409
|
const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
394
410
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -397,7 +413,7 @@ const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'un
|
|
|
397
413
|
* A WASM wrapper for the Rust `cedar_policy::Response` struct.
|
|
398
414
|
* Represents the result of an authorization request.
|
|
399
415
|
*/
|
|
400
|
-
|
|
416
|
+
class AuthorizeResultResponse {
|
|
401
417
|
|
|
402
418
|
static __wrap(ptr) {
|
|
403
419
|
ptr = ptr >>> 0;
|
|
@@ -435,6 +451,7 @@ export class AuthorizeResultResponse {
|
|
|
435
451
|
return Diagnostics.__wrap(ret);
|
|
436
452
|
}
|
|
437
453
|
}
|
|
454
|
+
module.exports.AuthorizeResultResponse = AuthorizeResultResponse;
|
|
438
455
|
|
|
439
456
|
const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
440
457
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -442,7 +459,7 @@ const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
442
459
|
/**
|
|
443
460
|
* The instance of the Cedarling application.
|
|
444
461
|
*/
|
|
445
|
-
|
|
462
|
+
class Cedarling {
|
|
446
463
|
|
|
447
464
|
static __wrap(ptr) {
|
|
448
465
|
ptr = ptr >>> 0;
|
|
@@ -603,6 +620,7 @@ export class Cedarling {
|
|
|
603
620
|
return ret;
|
|
604
621
|
}
|
|
605
622
|
}
|
|
623
|
+
module.exports.Cedarling = Cedarling;
|
|
606
624
|
|
|
607
625
|
const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
608
626
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -613,7 +631,7 @@ const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
613
631
|
*
|
|
614
632
|
* Provides detailed information about how a policy decision was made, including policies that contributed to the decision and any errors encountered during evaluation.
|
|
615
633
|
*/
|
|
616
|
-
|
|
634
|
+
class Diagnostics {
|
|
617
635
|
|
|
618
636
|
static __wrap(ptr) {
|
|
619
637
|
ptr = ptr >>> 0;
|
|
@@ -659,12 +677,13 @@ export class Diagnostics {
|
|
|
659
677
|
return v1;
|
|
660
678
|
}
|
|
661
679
|
}
|
|
680
|
+
module.exports.Diagnostics = Diagnostics;
|
|
662
681
|
|
|
663
682
|
const JsJsonLogicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
664
683
|
? { register: () => {}, unregister: () => {} }
|
|
665
684
|
: new FinalizationRegistry(ptr => wasm.__wbg_jsjsonlogic_free(ptr >>> 0, 1));
|
|
666
685
|
|
|
667
|
-
|
|
686
|
+
class JsJsonLogic {
|
|
668
687
|
|
|
669
688
|
__destroy_into_raw() {
|
|
670
689
|
const ptr = this.__wbg_ptr;
|
|
@@ -696,6 +715,7 @@ export class JsJsonLogic {
|
|
|
696
715
|
return takeFromExternrefTable0(ret[0]);
|
|
697
716
|
}
|
|
698
717
|
}
|
|
718
|
+
module.exports.JsJsonLogic = JsJsonLogic;
|
|
699
719
|
|
|
700
720
|
const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
701
721
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -706,7 +726,7 @@ const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'unde
|
|
|
706
726
|
*
|
|
707
727
|
* Represents an error that occurred when evaluating a Cedar policy.
|
|
708
728
|
*/
|
|
709
|
-
|
|
729
|
+
class PolicyEvaluationError {
|
|
710
730
|
|
|
711
731
|
static __wrap(ptr) {
|
|
712
732
|
ptr = ptr >>> 0;
|
|
@@ -760,640 +780,671 @@ export class PolicyEvaluationError {
|
|
|
760
780
|
}
|
|
761
781
|
}
|
|
762
782
|
}
|
|
783
|
+
module.exports.PolicyEvaluationError = PolicyEvaluationError;
|
|
763
784
|
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
785
|
+
module.exports.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
|
|
786
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
787
|
+
return ret;
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
791
|
+
const ret = String(arg1);
|
|
792
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
793
|
+
const len1 = WASM_VECTOR_LEN;
|
|
794
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
795
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
module.exports.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
|
|
799
|
+
arg0.abort();
|
|
800
|
+
};
|
|
801
|
+
|
|
802
|
+
module.exports.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
|
|
803
|
+
arg0.abort(arg1);
|
|
804
|
+
};
|
|
805
|
+
|
|
806
|
+
module.exports.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
807
|
+
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
808
|
+
}, arguments) };
|
|
809
|
+
|
|
810
|
+
module.exports.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
|
|
811
|
+
const ret = arg0.arrayBuffer();
|
|
812
|
+
return ret;
|
|
813
|
+
}, arguments) };
|
|
769
814
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
815
|
+
module.exports.__wbg_authorizeresult_new = function(arg0) {
|
|
816
|
+
const ret = AuthorizeResult.__wrap(arg0);
|
|
817
|
+
return ret;
|
|
818
|
+
};
|
|
773
819
|
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
}
|
|
820
|
+
module.exports.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
|
|
821
|
+
const ret = arg0.buffer;
|
|
822
|
+
return ret;
|
|
823
|
+
};
|
|
779
824
|
|
|
780
|
-
|
|
781
|
-
|
|
825
|
+
module.exports.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
826
|
+
const ret = arg0.call(arg1, arg2);
|
|
827
|
+
return ret;
|
|
828
|
+
}, arguments) };
|
|
782
829
|
|
|
783
|
-
|
|
784
|
-
|
|
830
|
+
module.exports.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
|
|
831
|
+
const ret = arg0.call(arg1);
|
|
832
|
+
return ret;
|
|
833
|
+
}, arguments) };
|
|
785
834
|
|
|
786
|
-
|
|
787
|
-
|
|
835
|
+
module.exports.__wbg_cedarling_new = function(arg0) {
|
|
836
|
+
const ret = Cedarling.__wrap(arg0);
|
|
837
|
+
return ret;
|
|
838
|
+
};
|
|
788
839
|
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
}
|
|
840
|
+
module.exports.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
|
|
841
|
+
const ret = clearTimeout(arg0);
|
|
842
|
+
return ret;
|
|
843
|
+
};
|
|
794
844
|
|
|
795
|
-
function
|
|
796
|
-
const
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
const ret = String(arg1);
|
|
800
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
801
|
-
const len1 = WASM_VECTOR_LEN;
|
|
802
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
803
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
804
|
-
};
|
|
805
|
-
imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
|
|
806
|
-
arg0.abort(arg1);
|
|
807
|
-
};
|
|
808
|
-
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
|
809
|
-
arg0.abort();
|
|
810
|
-
};
|
|
811
|
-
imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
812
|
-
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
813
|
-
}, arguments) };
|
|
814
|
-
imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
|
|
815
|
-
const ret = arg0.arrayBuffer();
|
|
816
|
-
return ret;
|
|
817
|
-
}, arguments) };
|
|
818
|
-
imports.wbg.__wbg_authorizeresult_new = function(arg0) {
|
|
819
|
-
const ret = AuthorizeResult.__wrap(arg0);
|
|
820
|
-
return ret;
|
|
821
|
-
};
|
|
822
|
-
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
823
|
-
const ret = arg0.buffer;
|
|
824
|
-
return ret;
|
|
825
|
-
};
|
|
826
|
-
imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
827
|
-
const ret = arg0.call(arg1);
|
|
828
|
-
return ret;
|
|
829
|
-
}, arguments) };
|
|
830
|
-
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
831
|
-
const ret = arg0.call(arg1, arg2);
|
|
832
|
-
return ret;
|
|
833
|
-
}, arguments) };
|
|
834
|
-
imports.wbg.__wbg_cedarling_new = function(arg0) {
|
|
835
|
-
const ret = Cedarling.__wrap(arg0);
|
|
836
|
-
return ret;
|
|
837
|
-
};
|
|
838
|
-
imports.wbg.__wbg_clearTimeout_0b53d391c1b94dda = function(arg0) {
|
|
839
|
-
const ret = clearTimeout(arg0);
|
|
840
|
-
return ret;
|
|
841
|
-
};
|
|
842
|
-
imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
843
|
-
const ret = arg0.crypto;
|
|
844
|
-
return ret;
|
|
845
|
-
};
|
|
846
|
-
imports.wbg.__wbg_debug_faaa2b98a2718860 = function(arg0) {
|
|
847
|
-
console.debug(...arg0);
|
|
848
|
-
};
|
|
849
|
-
imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
|
|
850
|
-
const ret = arg0.done;
|
|
851
|
-
return ret;
|
|
852
|
-
};
|
|
853
|
-
imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
|
|
854
|
-
const ret = Object.entries(arg0);
|
|
855
|
-
return ret;
|
|
856
|
-
};
|
|
857
|
-
imports.wbg.__wbg_entries_c8a90a7ed73e84ce = function(arg0) {
|
|
858
|
-
const ret = arg0.entries();
|
|
859
|
-
return ret;
|
|
860
|
-
};
|
|
861
|
-
imports.wbg.__wbg_error_dc53417fcef5463a = function(arg0) {
|
|
862
|
-
console.error(...arg0);
|
|
863
|
-
};
|
|
864
|
-
imports.wbg.__wbg_fetch_11bff8299d0ecd2b = function(arg0) {
|
|
865
|
-
const ret = fetch(arg0);
|
|
866
|
-
return ret;
|
|
867
|
-
};
|
|
868
|
-
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
869
|
-
const ret = arg0.fetch(arg1);
|
|
870
|
-
return ret;
|
|
871
|
-
};
|
|
872
|
-
imports.wbg.__wbg_fromEntries_524679eecb0bdc2e = function() { return handleError(function (arg0) {
|
|
873
|
-
const ret = Object.fromEntries(arg0);
|
|
874
|
-
return ret;
|
|
875
|
-
}, arguments) };
|
|
876
|
-
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
877
|
-
arg0.getRandomValues(arg1);
|
|
878
|
-
}, arguments) };
|
|
879
|
-
imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
|
|
880
|
-
const ret = arg0.getTime();
|
|
881
|
-
return ret;
|
|
882
|
-
};
|
|
883
|
-
imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
|
|
884
|
-
const ret = arg0.getTimezoneOffset();
|
|
885
|
-
return ret;
|
|
886
|
-
};
|
|
887
|
-
imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
|
|
888
|
-
const ret = Reflect.get(arg0, arg1);
|
|
889
|
-
return ret;
|
|
890
|
-
}, arguments) };
|
|
891
|
-
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
892
|
-
const ret = arg0[arg1 >>> 0];
|
|
893
|
-
return ret;
|
|
894
|
-
};
|
|
895
|
-
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
896
|
-
const ret = arg0[arg1];
|
|
897
|
-
return ret;
|
|
898
|
-
};
|
|
899
|
-
imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
|
|
900
|
-
const ret = Reflect.has(arg0, arg1);
|
|
901
|
-
return ret;
|
|
902
|
-
}, arguments) };
|
|
903
|
-
imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
|
|
904
|
-
const ret = arg0.headers;
|
|
905
|
-
return ret;
|
|
906
|
-
};
|
|
907
|
-
imports.wbg.__wbg_info_7fbe81f62c7b4dab = function(arg0) {
|
|
908
|
-
console.info(...arg0);
|
|
909
|
-
};
|
|
910
|
-
imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
911
|
-
let result;
|
|
912
|
-
try {
|
|
913
|
-
result = arg0 instanceof ArrayBuffer;
|
|
914
|
-
} catch (_) {
|
|
915
|
-
result = false;
|
|
916
|
-
}
|
|
917
|
-
const ret = result;
|
|
918
|
-
return ret;
|
|
919
|
-
};
|
|
920
|
-
imports.wbg.__wbg_instanceof_Array_6ac07133d621675a = function(arg0) {
|
|
921
|
-
let result;
|
|
922
|
-
try {
|
|
923
|
-
result = arg0 instanceof Array;
|
|
924
|
-
} catch (_) {
|
|
925
|
-
result = false;
|
|
926
|
-
}
|
|
927
|
-
const ret = result;
|
|
928
|
-
return ret;
|
|
929
|
-
};
|
|
930
|
-
imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
931
|
-
let result;
|
|
932
|
-
try {
|
|
933
|
-
result = arg0 instanceof Map;
|
|
934
|
-
} catch (_) {
|
|
935
|
-
result = false;
|
|
936
|
-
}
|
|
937
|
-
const ret = result;
|
|
938
|
-
return ret;
|
|
939
|
-
};
|
|
940
|
-
imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
|
|
941
|
-
let result;
|
|
942
|
-
try {
|
|
943
|
-
result = arg0 instanceof Response;
|
|
944
|
-
} catch (_) {
|
|
945
|
-
result = false;
|
|
946
|
-
}
|
|
947
|
-
const ret = result;
|
|
948
|
-
return ret;
|
|
949
|
-
};
|
|
950
|
-
imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
951
|
-
let result;
|
|
952
|
-
try {
|
|
953
|
-
result = arg0 instanceof Uint8Array;
|
|
954
|
-
} catch (_) {
|
|
955
|
-
result = false;
|
|
956
|
-
}
|
|
957
|
-
const ret = result;
|
|
958
|
-
return ret;
|
|
959
|
-
};
|
|
960
|
-
imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
|
|
961
|
-
const ret = Array.isArray(arg0);
|
|
962
|
-
return ret;
|
|
963
|
-
};
|
|
964
|
-
imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
|
|
965
|
-
const ret = Number.isSafeInteger(arg0);
|
|
966
|
-
return ret;
|
|
967
|
-
};
|
|
968
|
-
imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
|
|
969
|
-
const ret = Symbol.iterator;
|
|
970
|
-
return ret;
|
|
971
|
-
};
|
|
972
|
-
imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
|
|
973
|
-
const ret = Object.keys(arg0);
|
|
974
|
-
return ret;
|
|
975
|
-
};
|
|
976
|
-
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
977
|
-
const ret = arg0.length;
|
|
978
|
-
return ret;
|
|
979
|
-
};
|
|
980
|
-
imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
981
|
-
const ret = arg0.length;
|
|
982
|
-
return ret;
|
|
983
|
-
};
|
|
984
|
-
imports.wbg.__wbg_log_245868b4b99cdf20 = function(arg0) {
|
|
985
|
-
console.log(...arg0);
|
|
986
|
-
};
|
|
987
|
-
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
988
|
-
const ret = arg0.msCrypto;
|
|
989
|
-
return ret;
|
|
990
|
-
};
|
|
991
|
-
imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
|
|
992
|
-
const ret = new Date();
|
|
993
|
-
return ret;
|
|
994
|
-
};
|
|
995
|
-
imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
|
|
996
|
-
const ret = new Headers();
|
|
997
|
-
return ret;
|
|
998
|
-
}, arguments) };
|
|
999
|
-
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
1000
|
-
try {
|
|
1001
|
-
var state0 = {a: arg0, b: arg1};
|
|
1002
|
-
var cb0 = (arg0, arg1) => {
|
|
1003
|
-
const a = state0.a;
|
|
1004
|
-
state0.a = 0;
|
|
1005
|
-
try {
|
|
1006
|
-
return __wbg_adapter_244(a, state0.b, arg0, arg1);
|
|
1007
|
-
} finally {
|
|
1008
|
-
state0.a = a;
|
|
1009
|
-
}
|
|
1010
|
-
};
|
|
1011
|
-
const ret = new Promise(cb0);
|
|
1012
|
-
return ret;
|
|
1013
|
-
} finally {
|
|
1014
|
-
state0.a = state0.b = 0;
|
|
1015
|
-
}
|
|
1016
|
-
};
|
|
1017
|
-
imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
|
|
1018
|
-
const ret = new Date(arg0);
|
|
1019
|
-
return ret;
|
|
1020
|
-
};
|
|
1021
|
-
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
1022
|
-
const ret = new Object();
|
|
1023
|
-
return ret;
|
|
1024
|
-
};
|
|
1025
|
-
imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
|
|
1026
|
-
const ret = new Map();
|
|
1027
|
-
return ret;
|
|
1028
|
-
};
|
|
1029
|
-
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
1030
|
-
const ret = new Array();
|
|
1031
|
-
return ret;
|
|
1032
|
-
};
|
|
1033
|
-
imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
1034
|
-
const ret = new Uint8Array(arg0);
|
|
1035
|
-
return ret;
|
|
1036
|
-
};
|
|
1037
|
-
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
1038
|
-
const ret = new AbortController();
|
|
1039
|
-
return ret;
|
|
1040
|
-
}, arguments) };
|
|
1041
|
-
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
1042
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1043
|
-
return ret;
|
|
1044
|
-
};
|
|
1045
|
-
imports.wbg.__wbg_newwithargs_ab6ffe8cd6c19c04 = function(arg0, arg1, arg2, arg3) {
|
|
1046
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1047
|
-
return ret;
|
|
1048
|
-
};
|
|
1049
|
-
imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
|
|
1050
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1051
|
-
return ret;
|
|
1052
|
-
};
|
|
1053
|
-
imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
|
|
1054
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
1055
|
-
return ret;
|
|
1056
|
-
};
|
|
1057
|
-
imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1058
|
-
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1059
|
-
return ret;
|
|
1060
|
-
}, arguments) };
|
|
1061
|
-
imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
|
|
1062
|
-
const ret = arg0.next;
|
|
1063
|
-
return ret;
|
|
1064
|
-
};
|
|
1065
|
-
imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
|
|
1066
|
-
const ret = arg0.next();
|
|
1067
|
-
return ret;
|
|
1068
|
-
}, arguments) };
|
|
1069
|
-
imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
1070
|
-
const ret = arg0.node;
|
|
1071
|
-
return ret;
|
|
1072
|
-
};
|
|
1073
|
-
imports.wbg.__wbg_policyevaluationerror_new = function(arg0) {
|
|
1074
|
-
const ret = PolicyEvaluationError.__wrap(arg0);
|
|
1075
|
-
return ret;
|
|
1076
|
-
};
|
|
1077
|
-
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1078
|
-
const ret = arg0.process;
|
|
1079
|
-
return ret;
|
|
1080
|
-
};
|
|
1081
|
-
imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
|
1082
|
-
const ret = arg0.push(arg1);
|
|
1083
|
-
return ret;
|
|
1084
|
-
};
|
|
1085
|
-
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
1086
|
-
queueMicrotask(arg0);
|
|
1087
|
-
};
|
|
1088
|
-
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
1089
|
-
const ret = arg0.queueMicrotask;
|
|
1090
|
-
return ret;
|
|
1091
|
-
};
|
|
1092
|
-
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1093
|
-
arg0.randomFillSync(arg1);
|
|
1094
|
-
}, arguments) };
|
|
1095
|
-
imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
1096
|
-
const ret = module.require;
|
|
1097
|
-
return ret;
|
|
1098
|
-
}, arguments) };
|
|
1099
|
-
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
1100
|
-
const ret = Promise.resolve(arg0);
|
|
1101
|
-
return ret;
|
|
1102
|
-
};
|
|
1103
|
-
imports.wbg.__wbg_setTimeout_73ce8df12de4f2f2 = function(arg0, arg1) {
|
|
1104
|
-
const ret = setTimeout(arg0, arg1);
|
|
1105
|
-
return ret;
|
|
1106
|
-
};
|
|
1107
|
-
imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
1108
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1109
|
-
};
|
|
1110
|
-
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1111
|
-
arg0[arg1] = arg2;
|
|
1112
|
-
};
|
|
1113
|
-
imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
1114
|
-
arg0.set(arg1, arg2 >>> 0);
|
|
1115
|
-
};
|
|
1116
|
-
imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
|
|
1117
|
-
const ret = arg0.set(arg1, arg2);
|
|
1118
|
-
return ret;
|
|
1119
|
-
};
|
|
1120
|
-
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1121
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1122
|
-
return ret;
|
|
1123
|
-
}, arguments) };
|
|
1124
|
-
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
1125
|
-
arg0.body = arg1;
|
|
1126
|
-
};
|
|
1127
|
-
imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
|
|
1128
|
-
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1129
|
-
};
|
|
1130
|
-
imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
|
|
1131
|
-
arg0.headers = arg1;
|
|
1132
|
-
};
|
|
1133
|
-
imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
|
|
1134
|
-
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1135
|
-
};
|
|
1136
|
-
imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
|
|
1137
|
-
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1138
|
-
};
|
|
1139
|
-
imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
|
|
1140
|
-
arg0.signal = arg1;
|
|
1141
|
-
};
|
|
1142
|
-
imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
|
|
1143
|
-
const ret = arg0.signal;
|
|
1144
|
-
return ret;
|
|
1145
|
-
};
|
|
1146
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
1147
|
-
const ret = typeof global === 'undefined' ? null : global;
|
|
1148
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1149
|
-
};
|
|
1150
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
1151
|
-
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1152
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1153
|
-
};
|
|
1154
|
-
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
1155
|
-
const ret = typeof self === 'undefined' ? null : self;
|
|
1156
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1157
|
-
};
|
|
1158
|
-
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
1159
|
-
const ret = typeof window === 'undefined' ? null : window;
|
|
1160
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1161
|
-
};
|
|
1162
|
-
imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
|
|
1163
|
-
const ret = arg0.status;
|
|
1164
|
-
return ret;
|
|
1165
|
-
};
|
|
1166
|
-
imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
|
|
1167
|
-
const ret = JSON.stringify(arg0);
|
|
1168
|
-
return ret;
|
|
1169
|
-
}, arguments) };
|
|
1170
|
-
imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
|
|
1171
|
-
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1172
|
-
return ret;
|
|
1173
|
-
};
|
|
1174
|
-
imports.wbg.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
|
|
1175
|
-
const ret = arg0.text();
|
|
1176
|
-
return ret;
|
|
1177
|
-
}, arguments) };
|
|
1178
|
-
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
1179
|
-
const ret = arg0.then(arg1);
|
|
1180
|
-
return ret;
|
|
1181
|
-
};
|
|
1182
|
-
imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
1183
|
-
const ret = arg0.then(arg1, arg2);
|
|
1184
|
-
return ret;
|
|
1185
|
-
};
|
|
1186
|
-
imports.wbg.__wbg_trace_8fa9ac2274ea7420 = function(arg0) {
|
|
1187
|
-
console.trace(...arg0);
|
|
1188
|
-
};
|
|
1189
|
-
imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
|
|
1190
|
-
const ret = arg1.url;
|
|
1191
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1192
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1193
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1194
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1195
|
-
};
|
|
1196
|
-
imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
|
|
1197
|
-
const ret = arg0.value;
|
|
1198
|
-
return ret;
|
|
1199
|
-
};
|
|
1200
|
-
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1201
|
-
const ret = arg0.versions;
|
|
1202
|
-
return ret;
|
|
1203
|
-
};
|
|
1204
|
-
imports.wbg.__wbg_warn_ba4bf5118b457d45 = function(arg0) {
|
|
1205
|
-
console.warn(...arg0);
|
|
1206
|
-
};
|
|
1207
|
-
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
1208
|
-
const ret = arg0;
|
|
1209
|
-
return ret;
|
|
1210
|
-
};
|
|
1211
|
-
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
1212
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
1213
|
-
return ret;
|
|
1214
|
-
};
|
|
1215
|
-
imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
1216
|
-
const v = arg1;
|
|
1217
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1218
|
-
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1219
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1220
|
-
};
|
|
1221
|
-
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
1222
|
-
const v = arg0;
|
|
1223
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
1224
|
-
return ret;
|
|
1225
|
-
};
|
|
1226
|
-
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
1227
|
-
const obj = arg0.original;
|
|
1228
|
-
if (obj.cnt-- == 1) {
|
|
1229
|
-
obj.a = 0;
|
|
1230
|
-
return true;
|
|
1231
|
-
}
|
|
1232
|
-
const ret = false;
|
|
1233
|
-
return ret;
|
|
1234
|
-
};
|
|
1235
|
-
imports.wbg.__wbindgen_closure_wrapper3866 = function(arg0, arg1, arg2) {
|
|
1236
|
-
const ret = makeMutClosure(arg0, arg1, 495, __wbg_adapter_50);
|
|
1237
|
-
return ret;
|
|
1238
|
-
};
|
|
1239
|
-
imports.wbg.__wbindgen_closure_wrapper4018 = function(arg0, arg1, arg2) {
|
|
1240
|
-
const ret = makeMutClosure(arg0, arg1, 540, __wbg_adapter_53);
|
|
1241
|
-
return ret;
|
|
1242
|
-
};
|
|
1243
|
-
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
1244
|
-
const ret = debugString(arg1);
|
|
1245
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1246
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1247
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1248
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1249
|
-
};
|
|
1250
|
-
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
1251
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1252
|
-
return ret;
|
|
1253
|
-
};
|
|
1254
|
-
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
1255
|
-
const ret = arg0 in arg1;
|
|
1256
|
-
return ret;
|
|
1257
|
-
};
|
|
1258
|
-
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1259
|
-
const table = wasm.__wbindgen_export_4;
|
|
1260
|
-
const offset = table.grow(4);
|
|
1261
|
-
table.set(0, undefined);
|
|
1262
|
-
table.set(offset + 0, undefined);
|
|
1263
|
-
table.set(offset + 1, null);
|
|
1264
|
-
table.set(offset + 2, true);
|
|
1265
|
-
table.set(offset + 3, false);
|
|
1266
|
-
;
|
|
1267
|
-
};
|
|
1268
|
-
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
1269
|
-
const ret = typeof(arg0) === 'bigint';
|
|
1270
|
-
return ret;
|
|
1271
|
-
};
|
|
1272
|
-
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
1273
|
-
const ret = typeof(arg0) === 'function';
|
|
1274
|
-
return ret;
|
|
1275
|
-
};
|
|
1276
|
-
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
1277
|
-
const val = arg0;
|
|
1278
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
1279
|
-
return ret;
|
|
1280
|
-
};
|
|
1281
|
-
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
1282
|
-
const ret = typeof(arg0) === 'string';
|
|
1283
|
-
return ret;
|
|
1284
|
-
};
|
|
1285
|
-
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
1286
|
-
const ret = arg0 === undefined;
|
|
1287
|
-
return ret;
|
|
1288
|
-
};
|
|
1289
|
-
imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
1290
|
-
const ret = arg0 === arg1;
|
|
1291
|
-
return ret;
|
|
1292
|
-
};
|
|
1293
|
-
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
1294
|
-
const ret = arg0 == arg1;
|
|
1295
|
-
return ret;
|
|
1296
|
-
};
|
|
1297
|
-
imports.wbg.__wbindgen_memory = function() {
|
|
1298
|
-
const ret = wasm.memory;
|
|
1299
|
-
return ret;
|
|
1300
|
-
};
|
|
1301
|
-
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
1302
|
-
const obj = arg1;
|
|
1303
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1304
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1305
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1306
|
-
};
|
|
1307
|
-
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
1308
|
-
const ret = arg0;
|
|
1309
|
-
return ret;
|
|
1310
|
-
};
|
|
1311
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
1312
|
-
const obj = arg1;
|
|
1313
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1314
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1315
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1316
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1317
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1318
|
-
};
|
|
1319
|
-
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
1320
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
1321
|
-
return ret;
|
|
1322
|
-
};
|
|
1323
|
-
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
1324
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1325
|
-
};
|
|
845
|
+
module.exports.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
846
|
+
const ret = arg0.crypto;
|
|
847
|
+
return ret;
|
|
848
|
+
};
|
|
1326
849
|
|
|
1327
|
-
|
|
1328
|
-
|
|
850
|
+
module.exports.__wbg_debug_d6b79b0bf4da29c2 = function(arg0) {
|
|
851
|
+
console.debug(...arg0);
|
|
852
|
+
};
|
|
1329
853
|
|
|
1330
|
-
function
|
|
854
|
+
module.exports.__wbg_done_4d01f352bade43b7 = function(arg0) {
|
|
855
|
+
const ret = arg0.done;
|
|
856
|
+
return ret;
|
|
857
|
+
};
|
|
1331
858
|
|
|
1332
|
-
|
|
859
|
+
module.exports.__wbg_entries_41651c850143b957 = function(arg0) {
|
|
860
|
+
const ret = Object.entries(arg0);
|
|
861
|
+
return ret;
|
|
862
|
+
};
|
|
1333
863
|
|
|
1334
|
-
function
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
cachedUint8ArrayMemory0 = null;
|
|
864
|
+
module.exports.__wbg_entries_c951fa14164704e7 = function(arg0) {
|
|
865
|
+
const ret = arg0.entries();
|
|
866
|
+
return ret;
|
|
867
|
+
};
|
|
1339
868
|
|
|
869
|
+
module.exports.__wbg_error_5cb390bc4013f9d1 = function(arg0) {
|
|
870
|
+
console.error(...arg0);
|
|
871
|
+
};
|
|
1340
872
|
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
873
|
+
module.exports.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
|
|
874
|
+
const ret = arg0.fetch(arg1);
|
|
875
|
+
return ret;
|
|
876
|
+
};
|
|
1344
877
|
|
|
1345
|
-
function
|
|
1346
|
-
|
|
878
|
+
module.exports.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
|
|
879
|
+
const ret = fetch(arg0);
|
|
880
|
+
return ret;
|
|
881
|
+
};
|
|
1347
882
|
|
|
883
|
+
module.exports.__wbg_fromEntries_91e19ec7b6783aeb = function() { return handleError(function (arg0) {
|
|
884
|
+
const ret = Object.fromEntries(arg0);
|
|
885
|
+
return ret;
|
|
886
|
+
}, arguments) };
|
|
1348
887
|
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
888
|
+
module.exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
889
|
+
arg0.getRandomValues(arg1);
|
|
890
|
+
}, arguments) };
|
|
891
|
+
|
|
892
|
+
module.exports.__wbg_getTime_2afe67905d873e92 = function(arg0) {
|
|
893
|
+
const ret = arg0.getTime();
|
|
894
|
+
return ret;
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
module.exports.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
|
|
898
|
+
const ret = arg0.getTimezoneOffset();
|
|
899
|
+
return ret;
|
|
900
|
+
};
|
|
901
|
+
|
|
902
|
+
module.exports.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
|
|
903
|
+
const ret = Reflect.get(arg0, arg1);
|
|
904
|
+
return ret;
|
|
905
|
+
}, arguments) };
|
|
906
|
+
|
|
907
|
+
module.exports.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
|
|
908
|
+
const ret = arg0[arg1 >>> 0];
|
|
909
|
+
return ret;
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
module.exports.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
913
|
+
const ret = arg0[arg1];
|
|
914
|
+
return ret;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
module.exports.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
|
|
918
|
+
const ret = Reflect.has(arg0, arg1);
|
|
919
|
+
return ret;
|
|
920
|
+
}, arguments) };
|
|
921
|
+
|
|
922
|
+
module.exports.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
|
|
923
|
+
const ret = arg0.headers;
|
|
924
|
+
return ret;
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
module.exports.__wbg_info_6bba09377e5a3490 = function(arg0) {
|
|
928
|
+
console.info(...arg0);
|
|
929
|
+
};
|
|
930
|
+
|
|
931
|
+
module.exports.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
|
|
932
|
+
let result;
|
|
933
|
+
try {
|
|
934
|
+
result = arg0 instanceof ArrayBuffer;
|
|
935
|
+
} catch (_) {
|
|
936
|
+
result = false;
|
|
1355
937
|
}
|
|
938
|
+
const ret = result;
|
|
939
|
+
return ret;
|
|
940
|
+
};
|
|
1356
941
|
|
|
1357
|
-
|
|
942
|
+
module.exports.__wbg_instanceof_Array_b740b533930f065b = function(arg0) {
|
|
943
|
+
let result;
|
|
944
|
+
try {
|
|
945
|
+
result = arg0 instanceof Array;
|
|
946
|
+
} catch (_) {
|
|
947
|
+
result = false;
|
|
948
|
+
}
|
|
949
|
+
const ret = result;
|
|
950
|
+
return ret;
|
|
951
|
+
};
|
|
1358
952
|
|
|
1359
|
-
|
|
953
|
+
module.exports.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
|
|
954
|
+
let result;
|
|
955
|
+
try {
|
|
956
|
+
result = arg0 instanceof Map;
|
|
957
|
+
} catch (_) {
|
|
958
|
+
result = false;
|
|
959
|
+
}
|
|
960
|
+
const ret = result;
|
|
961
|
+
return ret;
|
|
962
|
+
};
|
|
1360
963
|
|
|
1361
|
-
|
|
1362
|
-
|
|
964
|
+
module.exports.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
|
|
965
|
+
let result;
|
|
966
|
+
try {
|
|
967
|
+
result = arg0 instanceof Response;
|
|
968
|
+
} catch (_) {
|
|
969
|
+
result = false;
|
|
1363
970
|
}
|
|
971
|
+
const ret = result;
|
|
972
|
+
return ret;
|
|
973
|
+
};
|
|
1364
974
|
|
|
1365
|
-
|
|
975
|
+
module.exports.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
|
|
976
|
+
let result;
|
|
977
|
+
try {
|
|
978
|
+
result = arg0 instanceof Uint8Array;
|
|
979
|
+
} catch (_) {
|
|
980
|
+
result = false;
|
|
981
|
+
}
|
|
982
|
+
const ret = result;
|
|
983
|
+
return ret;
|
|
984
|
+
};
|
|
1366
985
|
|
|
1367
|
-
|
|
1368
|
-
|
|
986
|
+
module.exports.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
|
|
987
|
+
const ret = Array.isArray(arg0);
|
|
988
|
+
return ret;
|
|
989
|
+
};
|
|
1369
990
|
|
|
1370
|
-
|
|
1371
|
-
|
|
991
|
+
module.exports.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
|
|
992
|
+
const ret = Number.isSafeInteger(arg0);
|
|
993
|
+
return ret;
|
|
994
|
+
};
|
|
1372
995
|
|
|
996
|
+
module.exports.__wbg_iterator_4068add5b2aef7a6 = function() {
|
|
997
|
+
const ret = Symbol.iterator;
|
|
998
|
+
return ret;
|
|
999
|
+
};
|
|
1373
1000
|
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1001
|
+
module.exports.__wbg_keys_42062809bf87339e = function(arg0) {
|
|
1002
|
+
const ret = Object.keys(arg0);
|
|
1003
|
+
return ret;
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
module.exports.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
|
|
1007
|
+
const ret = arg0.length;
|
|
1008
|
+
return ret;
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
module.exports.__wbg_length_f00ec12454a5d9fd = function(arg0) {
|
|
1012
|
+
const ret = arg0.length;
|
|
1013
|
+
return ret;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
module.exports.__wbg_log_7e417898f19eba17 = function(arg0) {
|
|
1017
|
+
console.log(...arg0);
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
module.exports.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1021
|
+
const ret = arg0.msCrypto;
|
|
1022
|
+
return ret;
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
module.exports.__wbg_new0_97314565408dea38 = function() {
|
|
1026
|
+
const ret = new Date();
|
|
1027
|
+
return ret;
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
module.exports.__wbg_new_07b483f72211fd66 = function() {
|
|
1031
|
+
const ret = new Object();
|
|
1032
|
+
return ret;
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
module.exports.__wbg_new_186abcfdff244e42 = function() { return handleError(function () {
|
|
1036
|
+
const ret = new AbortController();
|
|
1037
|
+
return ret;
|
|
1038
|
+
}, arguments) };
|
|
1039
|
+
|
|
1040
|
+
module.exports.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
|
|
1041
|
+
const ret = new Headers();
|
|
1042
|
+
return ret;
|
|
1043
|
+
}, arguments) };
|
|
1044
|
+
|
|
1045
|
+
module.exports.__wbg_new_58353953ad2097cc = function() {
|
|
1046
|
+
const ret = new Array();
|
|
1047
|
+
return ret;
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
module.exports.__wbg_new_a2957aa5684de228 = function(arg0) {
|
|
1051
|
+
const ret = new Date(arg0);
|
|
1052
|
+
return ret;
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
module.exports.__wbg_new_a979b4b45bd55c7f = function() {
|
|
1056
|
+
const ret = new Map();
|
|
1057
|
+
return ret;
|
|
1058
|
+
};
|
|
1381
1059
|
|
|
1382
|
-
|
|
1383
|
-
|
|
1060
|
+
module.exports.__wbg_new_e30c39c06edaabf2 = function(arg0, arg1) {
|
|
1061
|
+
try {
|
|
1062
|
+
var state0 = {a: arg0, b: arg1};
|
|
1063
|
+
var cb0 = (arg0, arg1) => {
|
|
1064
|
+
const a = state0.a;
|
|
1065
|
+
state0.a = 0;
|
|
1066
|
+
try {
|
|
1067
|
+
return __wbg_adapter_244(a, state0.b, arg0, arg1);
|
|
1068
|
+
} finally {
|
|
1069
|
+
state0.a = a;
|
|
1070
|
+
}
|
|
1071
|
+
};
|
|
1072
|
+
const ret = new Promise(cb0);
|
|
1073
|
+
return ret;
|
|
1074
|
+
} finally {
|
|
1075
|
+
state0.a = state0.b = 0;
|
|
1384
1076
|
}
|
|
1385
|
-
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
module.exports.__wbg_new_e52b3efaaa774f96 = function(arg0) {
|
|
1080
|
+
const ret = new Uint8Array(arg0);
|
|
1081
|
+
return ret;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
module.exports.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
|
|
1085
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1086
|
+
return ret;
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
module.exports.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
|
|
1090
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1091
|
+
return ret;
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
module.exports.__wbg_newwithargs_17a05078fc85d3aa = function(arg0, arg1, arg2, arg3) {
|
|
1095
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1096
|
+
return ret;
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
module.exports.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
|
|
1100
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1101
|
+
return ret;
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
module.exports.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
|
|
1105
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
1106
|
+
return ret;
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1109
|
+
module.exports.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1110
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1111
|
+
return ret;
|
|
1112
|
+
}, arguments) };
|
|
1113
|
+
|
|
1114
|
+
module.exports.__wbg_next_8bb824d217961b5d = function(arg0) {
|
|
1115
|
+
const ret = arg0.next;
|
|
1116
|
+
return ret;
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
module.exports.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
|
|
1120
|
+
const ret = arg0.next();
|
|
1121
|
+
return ret;
|
|
1122
|
+
}, arguments) };
|
|
1123
|
+
|
|
1124
|
+
module.exports.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
1125
|
+
const ret = arg0.node;
|
|
1126
|
+
return ret;
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
module.exports.__wbg_policyevaluationerror_new = function(arg0) {
|
|
1130
|
+
const ret = PolicyEvaluationError.__wrap(arg0);
|
|
1131
|
+
return ret;
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
module.exports.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1135
|
+
const ret = arg0.process;
|
|
1136
|
+
return ret;
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
module.exports.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
|
|
1140
|
+
const ret = arg0.push(arg1);
|
|
1141
|
+
return ret;
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
module.exports.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
|
|
1145
|
+
queueMicrotask(arg0);
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
module.exports.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
|
|
1149
|
+
const ret = arg0.queueMicrotask;
|
|
1150
|
+
return ret;
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
module.exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1154
|
+
arg0.randomFillSync(arg1);
|
|
1155
|
+
}, arguments) };
|
|
1156
|
+
|
|
1157
|
+
module.exports.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
1158
|
+
const ret = module.require;
|
|
1159
|
+
return ret;
|
|
1160
|
+
}, arguments) };
|
|
1161
|
+
|
|
1162
|
+
module.exports.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
|
|
1163
|
+
const ret = Promise.resolve(arg0);
|
|
1164
|
+
return ret;
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
module.exports.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
|
|
1168
|
+
const ret = setTimeout(arg0, arg1);
|
|
1169
|
+
return ret;
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
module.exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1173
|
+
arg0[arg1] = arg2;
|
|
1174
|
+
};
|
|
1175
|
+
|
|
1176
|
+
module.exports.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
|
|
1177
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
module.exports.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1181
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1182
|
+
return ret;
|
|
1183
|
+
}, arguments) };
|
|
1184
|
+
|
|
1185
|
+
module.exports.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
|
|
1186
|
+
const ret = arg0.set(arg1, arg2);
|
|
1187
|
+
return ret;
|
|
1188
|
+
};
|
|
1189
|
+
|
|
1190
|
+
module.exports.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
|
|
1191
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
module.exports.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
|
|
1195
|
+
arg0.body = arg1;
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
module.exports.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
|
|
1199
|
+
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
module.exports.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
|
|
1203
|
+
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1204
|
+
};
|
|
1386
1205
|
|
|
1387
|
-
|
|
1388
|
-
|
|
1206
|
+
module.exports.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
|
|
1207
|
+
arg0.headers = arg1;
|
|
1208
|
+
};
|
|
1209
|
+
|
|
1210
|
+
module.exports.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
|
|
1211
|
+
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
module.exports.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
|
|
1215
|
+
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
module.exports.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
|
|
1219
|
+
arg0.signal = arg1;
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
module.exports.__wbg_signal_b96223519a041faa = function(arg0) {
|
|
1223
|
+
const ret = arg0.signal;
|
|
1224
|
+
return ret;
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
module.exports.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
|
|
1228
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1229
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1230
|
+
};
|
|
1231
|
+
|
|
1232
|
+
module.exports.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
|
|
1233
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1234
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
module.exports.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
|
|
1238
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
1239
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
module.exports.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
|
|
1243
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
1244
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
module.exports.__wbg_status_a54682bbe52f9058 = function(arg0) {
|
|
1248
|
+
const ret = arg0.status;
|
|
1249
|
+
return ret;
|
|
1250
|
+
};
|
|
1251
|
+
|
|
1252
|
+
module.exports.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
|
|
1253
|
+
const ret = JSON.stringify(arg0);
|
|
1254
|
+
return ret;
|
|
1255
|
+
}, arguments) };
|
|
1256
|
+
|
|
1257
|
+
module.exports.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
|
|
1258
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1259
|
+
return ret;
|
|
1260
|
+
};
|
|
1261
|
+
|
|
1262
|
+
module.exports.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
|
|
1263
|
+
const ret = arg0.text();
|
|
1264
|
+
return ret;
|
|
1265
|
+
}, arguments) };
|
|
1266
|
+
|
|
1267
|
+
module.exports.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
|
|
1268
|
+
const ret = arg0.then(arg1, arg2);
|
|
1269
|
+
return ret;
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
module.exports.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
|
|
1273
|
+
const ret = arg0.then(arg1);
|
|
1274
|
+
return ret;
|
|
1275
|
+
};
|
|
1276
|
+
|
|
1277
|
+
module.exports.__wbg_trace_f1ea3a49486fac2c = function(arg0) {
|
|
1278
|
+
console.trace(...arg0);
|
|
1279
|
+
};
|
|
1280
|
+
|
|
1281
|
+
module.exports.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
|
|
1282
|
+
const ret = arg1.url;
|
|
1283
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1284
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1285
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1286
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
module.exports.__wbg_value_17b896954e14f896 = function(arg0) {
|
|
1290
|
+
const ret = arg0.value;
|
|
1291
|
+
return ret;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
module.exports.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1295
|
+
const ret = arg0.versions;
|
|
1296
|
+
return ret;
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
module.exports.__wbg_warn_c6a0f82186237bfa = function(arg0) {
|
|
1300
|
+
console.warn(...arg0);
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
1304
|
+
const ret = arg0;
|
|
1305
|
+
return ret;
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
1309
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1310
|
+
return ret;
|
|
1311
|
+
};
|
|
1312
|
+
|
|
1313
|
+
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
1314
|
+
const v = arg1;
|
|
1315
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1316
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1317
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1320
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
1321
|
+
const v = arg0;
|
|
1322
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
1323
|
+
return ret;
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
1327
|
+
const obj = arg0.original;
|
|
1328
|
+
if (obj.cnt-- == 1) {
|
|
1329
|
+
obj.a = 0;
|
|
1330
|
+
return true;
|
|
1389
1331
|
}
|
|
1332
|
+
const ret = false;
|
|
1333
|
+
return ret;
|
|
1334
|
+
};
|
|
1390
1335
|
|
|
1391
|
-
|
|
1336
|
+
module.exports.__wbindgen_closure_wrapper3948 = function(arg0, arg1, arg2) {
|
|
1337
|
+
const ret = makeMutClosure(arg0, arg1, 498, __wbg_adapter_48);
|
|
1338
|
+
return ret;
|
|
1339
|
+
};
|
|
1392
1340
|
|
|
1393
|
-
|
|
1341
|
+
module.exports.__wbindgen_closure_wrapper4097 = function(arg0, arg1, arg2) {
|
|
1342
|
+
const ret = makeMutClosure(arg0, arg1, 544, __wbg_adapter_51);
|
|
1343
|
+
return ret;
|
|
1344
|
+
};
|
|
1345
|
+
|
|
1346
|
+
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
1347
|
+
const ret = debugString(arg1);
|
|
1348
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1349
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1350
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1351
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
1355
|
+
const ret = arg0 in arg1;
|
|
1356
|
+
return ret;
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1359
|
+
module.exports.__wbindgen_init_externref_table = function() {
|
|
1360
|
+
const table = wasm.__wbindgen_export_4;
|
|
1361
|
+
const offset = table.grow(4);
|
|
1362
|
+
table.set(0, undefined);
|
|
1363
|
+
table.set(offset + 0, undefined);
|
|
1364
|
+
table.set(offset + 1, null);
|
|
1365
|
+
table.set(offset + 2, true);
|
|
1366
|
+
table.set(offset + 3, false);
|
|
1367
|
+
;
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1370
|
+
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
1371
|
+
const ret = typeof(arg0) === 'bigint';
|
|
1372
|
+
return ret;
|
|
1373
|
+
};
|
|
1394
1374
|
|
|
1395
|
-
|
|
1396
|
-
|
|
1375
|
+
module.exports.__wbindgen_is_function = function(arg0) {
|
|
1376
|
+
const ret = typeof(arg0) === 'function';
|
|
1377
|
+
return ret;
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
module.exports.__wbindgen_is_object = function(arg0) {
|
|
1381
|
+
const val = arg0;
|
|
1382
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
1383
|
+
return ret;
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
1387
|
+
const ret = typeof(arg0) === 'string';
|
|
1388
|
+
return ret;
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
1392
|
+
const ret = arg0 === undefined;
|
|
1393
|
+
return ret;
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
1397
|
+
const ret = arg0 === arg1;
|
|
1398
|
+
return ret;
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
1402
|
+
const ret = arg0 == arg1;
|
|
1403
|
+
return ret;
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
module.exports.__wbindgen_memory = function() {
|
|
1407
|
+
const ret = wasm.memory;
|
|
1408
|
+
return ret;
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
1412
|
+
const obj = arg1;
|
|
1413
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1414
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1415
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
1419
|
+
const ret = arg0;
|
|
1420
|
+
return ret;
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
1424
|
+
const obj = arg1;
|
|
1425
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1426
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1427
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1428
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1429
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
1433
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1434
|
+
return ret;
|
|
1435
|
+
};
|
|
1436
|
+
|
|
1437
|
+
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
1438
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1439
|
+
};
|
|
1440
|
+
|
|
1441
|
+
const path = require('path').join(__dirname, 'cedarling_wasm_bg.wasm');
|
|
1442
|
+
const bytes = require('fs').readFileSync(path);
|
|
1443
|
+
|
|
1444
|
+
const wasmModule = new WebAssembly.Module(bytes);
|
|
1445
|
+
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
1446
|
+
wasm = wasmInstance.exports;
|
|
1447
|
+
module.exports.__wasm = wasm;
|
|
1448
|
+
|
|
1449
|
+
wasm.__wbindgen_start();
|
|
1397
1450
|
|
|
1398
|
-
export { initSync };
|
|
1399
|
-
export default __wbg_init;
|