@janssenproject/cedarling_wasm 0.0.279 → 0.0.280-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 -87
- package/cedarling_wasm.js +665 -632
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +2 -6
package/cedarling_wasm.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
let imports = {};
|
|
3
|
+
imports['__wbindgen_placeholder__'] = module.exports;
|
|
2
4
|
|
|
3
5
|
let cachedUint8ArrayMemory0 = null;
|
|
4
6
|
|
|
@@ -13,15 +15,7 @@ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true
|
|
|
13
15
|
|
|
14
16
|
cachedTextDecoder.decode();
|
|
15
17
|
|
|
16
|
-
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
17
|
-
let numBytesDecoded = 0;
|
|
18
18
|
function decodeText(ptr, len) {
|
|
19
|
-
numBytesDecoded += len;
|
|
20
|
-
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
21
|
-
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
22
|
-
cachedTextDecoder.decode();
|
|
23
|
-
numBytesDecoded = len;
|
|
24
|
-
}
|
|
25
19
|
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
26
20
|
}
|
|
27
21
|
|
|
@@ -225,10 +219,10 @@ function _assertClass(instance, klass) {
|
|
|
225
219
|
* @param {any} config
|
|
226
220
|
* @returns {Promise<Cedarling>}
|
|
227
221
|
*/
|
|
228
|
-
|
|
222
|
+
exports.init = function(config) {
|
|
229
223
|
const ret = wasm.init(config);
|
|
230
224
|
return ret;
|
|
231
|
-
}
|
|
225
|
+
};
|
|
232
226
|
|
|
233
227
|
function takeFromExternrefTable0(idx) {
|
|
234
228
|
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
@@ -246,8 +240,8 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
246
240
|
wasm.__externref_drop_slice(ptr, len);
|
|
247
241
|
return result;
|
|
248
242
|
}
|
|
249
|
-
function
|
|
250
|
-
wasm.
|
|
243
|
+
function wasm_bindgen__convert__closures_____invoke__h1ef9cb20a66113c0(arg0, arg1) {
|
|
244
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1ef9cb20a66113c0(arg0, arg1);
|
|
251
245
|
}
|
|
252
246
|
|
|
253
247
|
function wasm_bindgen__convert__closures_____invoke__h6327561d424f9a15(arg0, arg1, arg2) {
|
|
@@ -271,7 +265,7 @@ const AuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
271
265
|
* A WASM wrapper for the Rust `cedarling::AuthorizeResult` struct.
|
|
272
266
|
* Represents the result of an authorization request.
|
|
273
267
|
*/
|
|
274
|
-
|
|
268
|
+
class AuthorizeResult {
|
|
275
269
|
|
|
276
270
|
static __wrap(ptr) {
|
|
277
271
|
ptr = ptr >>> 0;
|
|
@@ -409,6 +403,8 @@ export class AuthorizeResult {
|
|
|
409
403
|
}
|
|
410
404
|
if (Symbol.dispose) AuthorizeResult.prototype[Symbol.dispose] = AuthorizeResult.prototype.free;
|
|
411
405
|
|
|
406
|
+
exports.AuthorizeResult = AuthorizeResult;
|
|
407
|
+
|
|
412
408
|
const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
413
409
|
? { register: () => {}, unregister: () => {} }
|
|
414
410
|
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresultresponse_free(ptr >>> 0, 1));
|
|
@@ -416,7 +412,7 @@ const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'un
|
|
|
416
412
|
* A WASM wrapper for the Rust `cedar_policy::Response` struct.
|
|
417
413
|
* Represents the result of an authorization request.
|
|
418
414
|
*/
|
|
419
|
-
|
|
415
|
+
class AuthorizeResultResponse {
|
|
420
416
|
|
|
421
417
|
static __wrap(ptr) {
|
|
422
418
|
ptr = ptr >>> 0;
|
|
@@ -456,13 +452,15 @@ export class AuthorizeResultResponse {
|
|
|
456
452
|
}
|
|
457
453
|
if (Symbol.dispose) AuthorizeResultResponse.prototype[Symbol.dispose] = AuthorizeResultResponse.prototype.free;
|
|
458
454
|
|
|
455
|
+
exports.AuthorizeResultResponse = AuthorizeResultResponse;
|
|
456
|
+
|
|
459
457
|
const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
460
458
|
? { register: () => {}, unregister: () => {} }
|
|
461
459
|
: new FinalizationRegistry(ptr => wasm.__wbg_cedarling_free(ptr >>> 0, 1));
|
|
462
460
|
/**
|
|
463
461
|
* The instance of the Cedarling application.
|
|
464
462
|
*/
|
|
465
|
-
|
|
463
|
+
class Cedarling {
|
|
466
464
|
|
|
467
465
|
static __wrap(ptr) {
|
|
468
466
|
ptr = ptr >>> 0;
|
|
@@ -635,6 +633,8 @@ export class Cedarling {
|
|
|
635
633
|
}
|
|
636
634
|
if (Symbol.dispose) Cedarling.prototype[Symbol.dispose] = Cedarling.prototype.free;
|
|
637
635
|
|
|
636
|
+
exports.Cedarling = Cedarling;
|
|
637
|
+
|
|
638
638
|
const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
639
639
|
? { register: () => {}, unregister: () => {} }
|
|
640
640
|
: new FinalizationRegistry(ptr => wasm.__wbg_diagnostics_free(ptr >>> 0, 1));
|
|
@@ -644,7 +644,7 @@ const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
644
644
|
*
|
|
645
645
|
* Provides detailed information about how a policy decision was made, including policies that contributed to the decision and any errors encountered during evaluation.
|
|
646
646
|
*/
|
|
647
|
-
|
|
647
|
+
class Diagnostics {
|
|
648
648
|
|
|
649
649
|
static __wrap(ptr) {
|
|
650
650
|
ptr = ptr >>> 0;
|
|
@@ -692,11 +692,13 @@ export class Diagnostics {
|
|
|
692
692
|
}
|
|
693
693
|
if (Symbol.dispose) Diagnostics.prototype[Symbol.dispose] = Diagnostics.prototype.free;
|
|
694
694
|
|
|
695
|
+
exports.Diagnostics = Diagnostics;
|
|
696
|
+
|
|
695
697
|
const JsJsonLogicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
696
698
|
? { register: () => {}, unregister: () => {} }
|
|
697
699
|
: new FinalizationRegistry(ptr => wasm.__wbg_jsjsonlogic_free(ptr >>> 0, 1));
|
|
698
700
|
|
|
699
|
-
|
|
701
|
+
class JsJsonLogic {
|
|
700
702
|
|
|
701
703
|
__destroy_into_raw() {
|
|
702
704
|
const ptr = this.__wbg_ptr;
|
|
@@ -730,6 +732,8 @@ export class JsJsonLogic {
|
|
|
730
732
|
}
|
|
731
733
|
if (Symbol.dispose) JsJsonLogic.prototype[Symbol.dispose] = JsJsonLogic.prototype.free;
|
|
732
734
|
|
|
735
|
+
exports.JsJsonLogic = JsJsonLogic;
|
|
736
|
+
|
|
733
737
|
const MultiIssuerAuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
734
738
|
? { register: () => {}, unregister: () => {} }
|
|
735
739
|
: new FinalizationRegistry(ptr => wasm.__wbg_multiissuerauthorizeresult_free(ptr >>> 0, 1));
|
|
@@ -737,7 +741,7 @@ const MultiIssuerAuthorizeResultFinalization = (typeof FinalizationRegistry ===
|
|
|
737
741
|
* A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
|
|
738
742
|
* Represents the result of a multi-issuer authorization request.
|
|
739
743
|
*/
|
|
740
|
-
|
|
744
|
+
class MultiIssuerAuthorizeResult {
|
|
741
745
|
|
|
742
746
|
static __wrap(ptr) {
|
|
743
747
|
ptr = ptr >>> 0;
|
|
@@ -838,6 +842,8 @@ export class MultiIssuerAuthorizeResult {
|
|
|
838
842
|
}
|
|
839
843
|
if (Symbol.dispose) MultiIssuerAuthorizeResult.prototype[Symbol.dispose] = MultiIssuerAuthorizeResult.prototype.free;
|
|
840
844
|
|
|
845
|
+
exports.MultiIssuerAuthorizeResult = MultiIssuerAuthorizeResult;
|
|
846
|
+
|
|
841
847
|
const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
842
848
|
? { register: () => {}, unregister: () => {} }
|
|
843
849
|
: new FinalizationRegistry(ptr => wasm.__wbg_policyevaluationerror_free(ptr >>> 0, 1));
|
|
@@ -847,7 +853,7 @@ const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'unde
|
|
|
847
853
|
*
|
|
848
854
|
* Represents an error that occurred when evaluating a Cedar policy.
|
|
849
855
|
*/
|
|
850
|
-
|
|
856
|
+
class PolicyEvaluationError {
|
|
851
857
|
|
|
852
858
|
static __wrap(ptr) {
|
|
853
859
|
ptr = ptr >>> 0;
|
|
@@ -903,646 +909,673 @@ export class PolicyEvaluationError {
|
|
|
903
909
|
}
|
|
904
910
|
if (Symbol.dispose) PolicyEvaluationError.prototype[Symbol.dispose] = PolicyEvaluationError.prototype.free;
|
|
905
911
|
|
|
906
|
-
|
|
912
|
+
exports.PolicyEvaluationError = PolicyEvaluationError;
|
|
907
913
|
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
return await WebAssembly.instantiateStreaming(module, imports);
|
|
914
|
+
exports.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
|
|
915
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
916
|
+
return ret;
|
|
917
|
+
};
|
|
913
918
|
|
|
914
|
-
|
|
915
|
-
|
|
919
|
+
exports.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
|
|
920
|
+
const ret = Number(arg0);
|
|
921
|
+
return ret;
|
|
922
|
+
};
|
|
923
|
+
|
|
924
|
+
exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
925
|
+
const ret = String(arg1);
|
|
926
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
927
|
+
const len1 = WASM_VECTOR_LEN;
|
|
928
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
929
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
exports.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function(arg0, arg1) {
|
|
933
|
+
const v = arg1;
|
|
934
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
935
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
936
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
exports.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
|
|
940
|
+
const v = arg0;
|
|
941
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
942
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
|
|
946
|
+
const ret = debugString(arg1);
|
|
947
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
948
|
+
const len1 = WASM_VECTOR_LEN;
|
|
949
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
950
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
951
|
+
};
|
|
952
|
+
|
|
953
|
+
exports.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
|
|
954
|
+
const ret = arg0 in arg1;
|
|
955
|
+
return ret;
|
|
956
|
+
};
|
|
916
957
|
|
|
917
|
-
|
|
918
|
-
|
|
958
|
+
exports.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function(arg0) {
|
|
959
|
+
const ret = typeof(arg0) === 'bigint';
|
|
960
|
+
return ret;
|
|
961
|
+
};
|
|
919
962
|
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
}
|
|
963
|
+
exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
|
|
964
|
+
const ret = typeof(arg0) === 'function';
|
|
965
|
+
return ret;
|
|
966
|
+
};
|
|
925
967
|
|
|
926
|
-
|
|
927
|
-
|
|
968
|
+
exports.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
|
|
969
|
+
const val = arg0;
|
|
970
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
971
|
+
return ret;
|
|
972
|
+
};
|
|
928
973
|
|
|
929
|
-
|
|
930
|
-
|
|
974
|
+
exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
|
|
975
|
+
const ret = typeof(arg0) === 'string';
|
|
976
|
+
return ret;
|
|
977
|
+
};
|
|
931
978
|
|
|
932
|
-
|
|
933
|
-
|
|
979
|
+
exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
|
|
980
|
+
const ret = arg0 === undefined;
|
|
981
|
+
return ret;
|
|
982
|
+
};
|
|
934
983
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
}
|
|
984
|
+
exports.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
|
|
985
|
+
const ret = arg0 === arg1;
|
|
986
|
+
return ret;
|
|
987
|
+
};
|
|
940
988
|
|
|
941
|
-
function
|
|
942
|
-
const
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
const ret = typeof(arg0) === 'function';
|
|
987
|
-
return ret;
|
|
988
|
-
};
|
|
989
|
-
imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
|
|
990
|
-
const val = arg0;
|
|
991
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
992
|
-
return ret;
|
|
993
|
-
};
|
|
994
|
-
imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
|
|
995
|
-
const ret = typeof(arg0) === 'string';
|
|
996
|
-
return ret;
|
|
997
|
-
};
|
|
998
|
-
imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
|
|
999
|
-
const ret = arg0 === undefined;
|
|
1000
|
-
return ret;
|
|
1001
|
-
};
|
|
1002
|
-
imports.wbg.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
|
|
1003
|
-
const ret = arg0 === arg1;
|
|
1004
|
-
return ret;
|
|
1005
|
-
};
|
|
1006
|
-
imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
|
|
1007
|
-
const ret = arg0 == arg1;
|
|
1008
|
-
return ret;
|
|
1009
|
-
};
|
|
1010
|
-
imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
|
|
1011
|
-
const obj = arg1;
|
|
1012
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1013
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1014
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1015
|
-
};
|
|
1016
|
-
imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
|
|
1017
|
-
const obj = arg1;
|
|
1018
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1019
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1020
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1021
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1022
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1023
|
-
};
|
|
1024
|
-
imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
|
|
1025
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1026
|
-
};
|
|
1027
|
-
imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
|
|
1028
|
-
arg0._wbg_cb_unref();
|
|
1029
|
-
};
|
|
1030
|
-
imports.wbg.__wbg_abort_28ad55c5825b004d = function(arg0, arg1) {
|
|
1031
|
-
arg0.abort(arg1);
|
|
1032
|
-
};
|
|
1033
|
-
imports.wbg.__wbg_abort_e7eb059f72f9ed0c = function(arg0) {
|
|
1034
|
-
arg0.abort();
|
|
1035
|
-
};
|
|
1036
|
-
imports.wbg.__wbg_append_b577eb3a177bc0fa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1037
|
-
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1038
|
-
}, arguments) };
|
|
1039
|
-
imports.wbg.__wbg_arrayBuffer_b375eccb84b4ddf3 = function() { return handleError(function (arg0) {
|
|
1040
|
-
const ret = arg0.arrayBuffer();
|
|
1041
|
-
return ret;
|
|
1042
|
-
}, arguments) };
|
|
1043
|
-
imports.wbg.__wbg_authorizeresult_new = function(arg0) {
|
|
1044
|
-
const ret = AuthorizeResult.__wrap(arg0);
|
|
1045
|
-
return ret;
|
|
1046
|
-
};
|
|
1047
|
-
imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1048
|
-
const ret = arg0.call(arg1, arg2);
|
|
1049
|
-
return ret;
|
|
1050
|
-
}, arguments) };
|
|
1051
|
-
imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
|
|
1052
|
-
const ret = arg0.call(arg1);
|
|
1053
|
-
return ret;
|
|
1054
|
-
}, arguments) };
|
|
1055
|
-
imports.wbg.__wbg_cedarling_new = function(arg0) {
|
|
1056
|
-
const ret = Cedarling.__wrap(arg0);
|
|
1057
|
-
return ret;
|
|
1058
|
-
};
|
|
1059
|
-
imports.wbg.__wbg_clearTimeout_7a42b49784aea641 = function(arg0) {
|
|
1060
|
-
const ret = clearTimeout(arg0);
|
|
1061
|
-
return ret;
|
|
1062
|
-
};
|
|
1063
|
-
imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
1064
|
-
const ret = arg0.crypto;
|
|
1065
|
-
return ret;
|
|
1066
|
-
};
|
|
1067
|
-
imports.wbg.__wbg_debug_755c0800f64c9a88 = function(arg0) {
|
|
1068
|
-
console.debug(...arg0);
|
|
1069
|
-
};
|
|
1070
|
-
imports.wbg.__wbg_done_2042aa2670fb1db1 = function(arg0) {
|
|
1071
|
-
const ret = arg0.done;
|
|
1072
|
-
return ret;
|
|
1073
|
-
};
|
|
1074
|
-
imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
|
|
1075
|
-
const ret = Object.entries(arg0);
|
|
1076
|
-
return ret;
|
|
1077
|
-
};
|
|
1078
|
-
imports.wbg.__wbg_entries_eb145c4da5c811f7 = function(arg0) {
|
|
1079
|
-
const ret = arg0.entries();
|
|
1080
|
-
return ret;
|
|
1081
|
-
};
|
|
1082
|
-
imports.wbg.__wbg_error_7a6b3e62969d4270 = function(arg0) {
|
|
1083
|
-
console.error(...arg0);
|
|
1084
|
-
};
|
|
1085
|
-
imports.wbg.__wbg_fetch_74a3e84ebd2c9a0e = function(arg0) {
|
|
1086
|
-
const ret = fetch(arg0);
|
|
1087
|
-
return ret;
|
|
1088
|
-
};
|
|
1089
|
-
imports.wbg.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
|
|
1090
|
-
const ret = arg0.fetch(arg1);
|
|
1091
|
-
return ret;
|
|
1092
|
-
};
|
|
1093
|
-
imports.wbg.__wbg_fromEntries_c7159f3787268c9f = function() { return handleError(function (arg0) {
|
|
1094
|
-
const ret = Object.fromEntries(arg0);
|
|
1095
|
-
return ret;
|
|
1096
|
-
}, arguments) };
|
|
1097
|
-
imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
1098
|
-
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1099
|
-
}, arguments) };
|
|
1100
|
-
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
1101
|
-
arg0.getRandomValues(arg1);
|
|
1102
|
-
}, arguments) };
|
|
1103
|
-
imports.wbg.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
|
|
1104
|
-
const ret = arg0.getTime();
|
|
1105
|
-
return ret;
|
|
1106
|
-
};
|
|
1107
|
-
imports.wbg.__wbg_getTimezoneOffset_d391cb11d54969f8 = function(arg0) {
|
|
1108
|
-
const ret = arg0.getTimezoneOffset();
|
|
1109
|
-
return ret;
|
|
1110
|
-
};
|
|
1111
|
-
imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
1112
|
-
const ret = arg0[arg1 >>> 0];
|
|
1113
|
-
return ret;
|
|
1114
|
-
};
|
|
1115
|
-
imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
1116
|
-
const ret = Reflect.get(arg0, arg1);
|
|
1117
|
-
return ret;
|
|
1118
|
-
}, arguments) };
|
|
1119
|
-
imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
1120
|
-
const ret = arg0[arg1];
|
|
1121
|
-
return ret;
|
|
1122
|
-
};
|
|
1123
|
-
imports.wbg.__wbg_has_787fafc980c3ccdb = function() { return handleError(function (arg0, arg1) {
|
|
1124
|
-
const ret = Reflect.has(arg0, arg1);
|
|
1125
|
-
return ret;
|
|
1126
|
-
}, arguments) };
|
|
1127
|
-
imports.wbg.__wbg_headers_b87d7eaba61c3278 = function(arg0) {
|
|
1128
|
-
const ret = arg0.headers;
|
|
1129
|
-
return ret;
|
|
1130
|
-
};
|
|
1131
|
-
imports.wbg.__wbg_info_f0ce824723264770 = function(arg0) {
|
|
1132
|
-
console.info(...arg0);
|
|
1133
|
-
};
|
|
1134
|
-
imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
|
|
1135
|
-
let result;
|
|
1136
|
-
try {
|
|
1137
|
-
result = arg0 instanceof ArrayBuffer;
|
|
1138
|
-
} catch (_) {
|
|
1139
|
-
result = false;
|
|
1140
|
-
}
|
|
1141
|
-
const ret = result;
|
|
1142
|
-
return ret;
|
|
1143
|
-
};
|
|
1144
|
-
imports.wbg.__wbg_instanceof_Array_fca44e0f4a7f6240 = function(arg0) {
|
|
1145
|
-
let result;
|
|
1146
|
-
try {
|
|
1147
|
-
result = arg0 instanceof Array;
|
|
1148
|
-
} catch (_) {
|
|
1149
|
-
result = false;
|
|
1150
|
-
}
|
|
1151
|
-
const ret = result;
|
|
1152
|
-
return ret;
|
|
1153
|
-
};
|
|
1154
|
-
imports.wbg.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
|
|
1155
|
-
let result;
|
|
1156
|
-
try {
|
|
1157
|
-
result = arg0 instanceof Map;
|
|
1158
|
-
} catch (_) {
|
|
1159
|
-
result = false;
|
|
1160
|
-
}
|
|
1161
|
-
const ret = result;
|
|
1162
|
-
return ret;
|
|
1163
|
-
};
|
|
1164
|
-
imports.wbg.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
|
|
1165
|
-
let result;
|
|
1166
|
-
try {
|
|
1167
|
-
result = arg0 instanceof Response;
|
|
1168
|
-
} catch (_) {
|
|
1169
|
-
result = false;
|
|
1170
|
-
}
|
|
1171
|
-
const ret = result;
|
|
1172
|
-
return ret;
|
|
1173
|
-
};
|
|
1174
|
-
imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
|
|
1175
|
-
let result;
|
|
1176
|
-
try {
|
|
1177
|
-
result = arg0 instanceof Uint8Array;
|
|
1178
|
-
} catch (_) {
|
|
1179
|
-
result = false;
|
|
1180
|
-
}
|
|
1181
|
-
const ret = result;
|
|
1182
|
-
return ret;
|
|
1183
|
-
};
|
|
1184
|
-
imports.wbg.__wbg_isArray_96e0af9891d0945d = function(arg0) {
|
|
1185
|
-
const ret = Array.isArray(arg0);
|
|
1186
|
-
return ret;
|
|
1187
|
-
};
|
|
1188
|
-
imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
|
|
1189
|
-
const ret = Number.isSafeInteger(arg0);
|
|
1190
|
-
return ret;
|
|
1191
|
-
};
|
|
1192
|
-
imports.wbg.__wbg_iterator_e5822695327a3c39 = function() {
|
|
1193
|
-
const ret = Symbol.iterator;
|
|
1194
|
-
return ret;
|
|
1195
|
-
};
|
|
1196
|
-
imports.wbg.__wbg_keys_b4d27b02ad14f4be = function(arg0) {
|
|
1197
|
-
const ret = Object.keys(arg0);
|
|
1198
|
-
return ret;
|
|
1199
|
-
};
|
|
1200
|
-
imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
|
|
1201
|
-
const ret = arg0.length;
|
|
1202
|
-
return ret;
|
|
1203
|
-
};
|
|
1204
|
-
imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
1205
|
-
const ret = arg0.length;
|
|
1206
|
-
return ret;
|
|
1207
|
-
};
|
|
1208
|
-
imports.wbg.__wbg_log_33f7f6dbc0d0ccf4 = function(arg0) {
|
|
1209
|
-
console.log(...arg0);
|
|
1210
|
-
};
|
|
1211
|
-
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1212
|
-
const ret = arg0.msCrypto;
|
|
1213
|
-
return ret;
|
|
1214
|
-
};
|
|
1215
|
-
imports.wbg.__wbg_multiissuerauthorizeresult_new = function(arg0) {
|
|
1216
|
-
const ret = MultiIssuerAuthorizeResult.__wrap(arg0);
|
|
1217
|
-
return ret;
|
|
1218
|
-
};
|
|
1219
|
-
imports.wbg.__wbg_new_0_f9740686d739025c = function() {
|
|
1220
|
-
const ret = new Date();
|
|
1221
|
-
return ret;
|
|
1222
|
-
};
|
|
1223
|
-
imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
|
|
1224
|
-
const ret = new Object();
|
|
1225
|
-
return ret;
|
|
1226
|
-
};
|
|
1227
|
-
imports.wbg.__wbg_new_2531773dac38ebb3 = function() { return handleError(function () {
|
|
1228
|
-
const ret = new AbortController();
|
|
1229
|
-
return ret;
|
|
1230
|
-
}, arguments) };
|
|
1231
|
-
imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
|
|
1232
|
-
try {
|
|
1233
|
-
var state0 = {a: arg0, b: arg1};
|
|
1234
|
-
var cb0 = (arg0, arg1) => {
|
|
1235
|
-
const a = state0.a;
|
|
1236
|
-
state0.a = 0;
|
|
1237
|
-
try {
|
|
1238
|
-
return wasm_bindgen__convert__closures_____invoke__h4e75ae6afb7ea833(a, state0.b, arg0, arg1);
|
|
1239
|
-
} finally {
|
|
1240
|
-
state0.a = a;
|
|
1241
|
-
}
|
|
1242
|
-
};
|
|
1243
|
-
const ret = new Promise(cb0);
|
|
1244
|
-
return ret;
|
|
1245
|
-
} finally {
|
|
1246
|
-
state0.a = state0.b = 0;
|
|
1247
|
-
}
|
|
1248
|
-
};
|
|
1249
|
-
imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
|
|
1250
|
-
const ret = new Uint8Array(arg0);
|
|
1251
|
-
return ret;
|
|
1252
|
-
};
|
|
1253
|
-
imports.wbg.__wbg_new_68651c719dcda04e = function() {
|
|
1254
|
-
const ret = new Map();
|
|
1255
|
-
return ret;
|
|
1256
|
-
};
|
|
1257
|
-
imports.wbg.__wbg_new_93d9417ed3fb115d = function(arg0) {
|
|
1258
|
-
const ret = new Date(arg0);
|
|
1259
|
-
return ret;
|
|
1260
|
-
};
|
|
1261
|
-
imports.wbg.__wbg_new_9edf9838a2def39c = function() { return handleError(function () {
|
|
1262
|
-
const ret = new Headers();
|
|
1263
|
-
return ret;
|
|
1264
|
-
}, arguments) };
|
|
1265
|
-
imports.wbg.__wbg_new_e17d9f43105b08be = function() {
|
|
1266
|
-
const ret = new Array();
|
|
1267
|
-
return ret;
|
|
1268
|
-
};
|
|
1269
|
-
imports.wbg.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
|
|
1270
|
-
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1271
|
-
return ret;
|
|
1272
|
-
};
|
|
1273
|
-
imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
|
|
1274
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1275
|
-
return ret;
|
|
1276
|
-
};
|
|
1277
|
-
imports.wbg.__wbg_new_with_args_02cbc439ce3fd7db = function(arg0, arg1, arg2, arg3) {
|
|
1278
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1279
|
-
return ret;
|
|
1280
|
-
};
|
|
1281
|
-
imports.wbg.__wbg_new_with_length_01aa0dc35aa13543 = function(arg0) {
|
|
1282
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
1283
|
-
return ret;
|
|
1284
|
-
};
|
|
1285
|
-
imports.wbg.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1286
|
-
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1287
|
-
return ret;
|
|
1288
|
-
}, arguments) };
|
|
1289
|
-
imports.wbg.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
|
|
1290
|
-
const ret = arg0.next();
|
|
1291
|
-
return ret;
|
|
1292
|
-
}, arguments) };
|
|
1293
|
-
imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
|
|
1294
|
-
const ret = arg0.next;
|
|
1295
|
-
return ret;
|
|
1296
|
-
};
|
|
1297
|
-
imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
1298
|
-
const ret = arg0.node;
|
|
1299
|
-
return ret;
|
|
1300
|
-
};
|
|
1301
|
-
imports.wbg.__wbg_policyevaluationerror_new = function(arg0) {
|
|
1302
|
-
const ret = PolicyEvaluationError.__wrap(arg0);
|
|
1303
|
-
return ret;
|
|
1304
|
-
};
|
|
1305
|
-
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1306
|
-
const ret = arg0.process;
|
|
1307
|
-
return ret;
|
|
1308
|
-
};
|
|
1309
|
-
imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
|
|
1310
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1311
|
-
};
|
|
1312
|
-
imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
|
|
1313
|
-
const ret = arg0.push(arg1);
|
|
1314
|
-
return ret;
|
|
1315
|
-
};
|
|
1316
|
-
imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
|
|
1317
|
-
const ret = arg0.queueMicrotask;
|
|
1318
|
-
return ret;
|
|
1319
|
-
};
|
|
1320
|
-
imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
|
|
1321
|
-
queueMicrotask(arg0);
|
|
1322
|
-
};
|
|
1323
|
-
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1324
|
-
arg0.randomFillSync(arg1);
|
|
1325
|
-
}, arguments) };
|
|
1326
|
-
imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
1327
|
-
const ret = module.require;
|
|
1328
|
-
return ret;
|
|
1329
|
-
}, arguments) };
|
|
1330
|
-
imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
|
|
1331
|
-
const ret = Promise.resolve(arg0);
|
|
1332
|
-
return ret;
|
|
1333
|
-
};
|
|
1334
|
-
imports.wbg.__wbg_setTimeout_7bb3429662ab1e70 = function(arg0, arg1) {
|
|
1335
|
-
const ret = setTimeout(arg0, arg1);
|
|
1336
|
-
return ret;
|
|
1337
|
-
};
|
|
1338
|
-
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1339
|
-
arg0[arg1] = arg2;
|
|
1340
|
-
};
|
|
1341
|
-
imports.wbg.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
1342
|
-
const ret = arg0.set(arg1, arg2);
|
|
1343
|
-
return ret;
|
|
1344
|
-
};
|
|
1345
|
-
imports.wbg.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
|
|
1346
|
-
arg0.body = arg1;
|
|
1347
|
-
};
|
|
1348
|
-
imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
|
|
1349
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1350
|
-
};
|
|
1351
|
-
imports.wbg.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1352
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1353
|
-
return ret;
|
|
1354
|
-
}, arguments) };
|
|
1355
|
-
imports.wbg.__wbg_set_cache_2f9deb19b92b81e3 = function(arg0, arg1) {
|
|
1356
|
-
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1357
|
-
};
|
|
1358
|
-
imports.wbg.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
|
|
1359
|
-
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1360
|
-
};
|
|
1361
|
-
imports.wbg.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
|
|
1362
|
-
arg0.headers = arg1;
|
|
1363
|
-
};
|
|
1364
|
-
imports.wbg.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
|
|
1365
|
-
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1366
|
-
};
|
|
1367
|
-
imports.wbg.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
|
|
1368
|
-
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1369
|
-
};
|
|
1370
|
-
imports.wbg.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
|
|
1371
|
-
arg0.signal = arg1;
|
|
1372
|
-
};
|
|
1373
|
-
imports.wbg.__wbg_signal_4db5aa055bf9eb9a = function(arg0) {
|
|
1374
|
-
const ret = arg0.signal;
|
|
1375
|
-
return ret;
|
|
1376
|
-
};
|
|
1377
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
|
|
1378
|
-
const ret = typeof global === 'undefined' ? null : global;
|
|
1379
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1380
|
-
};
|
|
1381
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
|
|
1382
|
-
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1383
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1384
|
-
};
|
|
1385
|
-
imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
|
|
1386
|
-
const ret = typeof self === 'undefined' ? null : self;
|
|
1387
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1388
|
-
};
|
|
1389
|
-
imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
|
|
1390
|
-
const ret = typeof window === 'undefined' ? null : window;
|
|
1391
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1392
|
-
};
|
|
1393
|
-
imports.wbg.__wbg_status_de7eed5a7a5bfd5d = function(arg0) {
|
|
1394
|
-
const ret = arg0.status;
|
|
1395
|
-
return ret;
|
|
1396
|
-
};
|
|
1397
|
-
imports.wbg.__wbg_stringify_b5fb28f6465d9c3e = function() { return handleError(function (arg0) {
|
|
1398
|
-
const ret = JSON.stringify(arg0);
|
|
1399
|
-
return ret;
|
|
1400
|
-
}, arguments) };
|
|
1401
|
-
imports.wbg.__wbg_subarray_480600f3d6a9f26c = function(arg0, arg1, arg2) {
|
|
1402
|
-
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1403
|
-
return ret;
|
|
1404
|
-
};
|
|
1405
|
-
imports.wbg.__wbg_text_dc33c15c17bdfb52 = function() { return handleError(function (arg0) {
|
|
1406
|
-
const ret = arg0.text();
|
|
1407
|
-
return ret;
|
|
1408
|
-
}, arguments) };
|
|
1409
|
-
imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
|
|
1410
|
-
const ret = arg0.then(arg1);
|
|
1411
|
-
return ret;
|
|
1412
|
-
};
|
|
1413
|
-
imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
|
|
1414
|
-
const ret = arg0.then(arg1, arg2);
|
|
1415
|
-
return ret;
|
|
1416
|
-
};
|
|
1417
|
-
imports.wbg.__wbg_trace_15baa8999e3f2ed1 = function(arg0) {
|
|
1418
|
-
console.trace(...arg0);
|
|
1419
|
-
};
|
|
1420
|
-
imports.wbg.__wbg_url_b36d2a5008eb056f = function(arg0, arg1) {
|
|
1421
|
-
const ret = arg1.url;
|
|
1422
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1423
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1424
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1425
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1426
|
-
};
|
|
1427
|
-
imports.wbg.__wbg_value_692627309814bb8c = function(arg0) {
|
|
1428
|
-
const ret = arg0.value;
|
|
1429
|
-
return ret;
|
|
1430
|
-
};
|
|
1431
|
-
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1432
|
-
const ret = arg0.versions;
|
|
1433
|
-
return ret;
|
|
1434
|
-
};
|
|
1435
|
-
imports.wbg.__wbg_warn_a2d80c28bcdb1933 = function(arg0) {
|
|
1436
|
-
console.warn(...arg0);
|
|
1437
|
-
};
|
|
1438
|
-
imports.wbg.__wbindgen_cast_02fea57424c85e3c = function(arg0, arg1) {
|
|
1439
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [Externref], shim_idx: 562, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1440
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4fff4cc5f82a04c0, wasm_bindgen__convert__closures_____invoke__h6327561d424f9a15);
|
|
1441
|
-
return ret;
|
|
1442
|
-
};
|
|
1443
|
-
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1444
|
-
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1445
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
1446
|
-
return ret;
|
|
1447
|
-
};
|
|
1448
|
-
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1449
|
-
// Cast intrinsic for `U64 -> Externref`.
|
|
1450
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
1451
|
-
return ret;
|
|
1452
|
-
};
|
|
1453
|
-
imports.wbg.__wbindgen_cast_67365bd7b36f80c7 = function(arg0, arg1) {
|
|
1454
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 517, function: Function { arguments: [], shim_idx: 518, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1455
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hfceb61579afa4415, wasm_bindgen__convert__closures_____invoke__hb2ffb7e4f031e9d5);
|
|
1456
|
-
return ret;
|
|
1457
|
-
};
|
|
1458
|
-
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
1459
|
-
// Cast intrinsic for `I64 -> Externref`.
|
|
1460
|
-
const ret = arg0;
|
|
1461
|
-
return ret;
|
|
1462
|
-
};
|
|
1463
|
-
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
1464
|
-
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1465
|
-
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1466
|
-
return ret;
|
|
1467
|
-
};
|
|
1468
|
-
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
1469
|
-
// Cast intrinsic for `F64 -> Externref`.
|
|
1470
|
-
const ret = arg0;
|
|
1471
|
-
return ret;
|
|
1472
|
-
};
|
|
1473
|
-
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1474
|
-
const table = wasm.__wbindgen_externrefs;
|
|
1475
|
-
const offset = table.grow(4);
|
|
1476
|
-
table.set(0, undefined);
|
|
1477
|
-
table.set(offset + 0, undefined);
|
|
1478
|
-
table.set(offset + 1, null);
|
|
1479
|
-
table.set(offset + 2, true);
|
|
1480
|
-
table.set(offset + 3, false);
|
|
1481
|
-
;
|
|
1482
|
-
};
|
|
989
|
+
exports.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
|
|
990
|
+
const ret = arg0 == arg1;
|
|
991
|
+
return ret;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
exports.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
|
|
995
|
+
const obj = arg1;
|
|
996
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
997
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
998
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
999
|
+
};
|
|
1000
|
+
|
|
1001
|
+
exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
|
|
1002
|
+
const obj = arg1;
|
|
1003
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1004
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1005
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1006
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1007
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
exports.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
|
|
1011
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
exports.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
|
|
1015
|
+
arg0._wbg_cb_unref();
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
exports.__wbg_abort_28ad55c5825b004d = function(arg0, arg1) {
|
|
1019
|
+
arg0.abort(arg1);
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
exports.__wbg_abort_e7eb059f72f9ed0c = function(arg0) {
|
|
1023
|
+
arg0.abort();
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
exports.__wbg_append_b577eb3a177bc0fa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1027
|
+
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1028
|
+
}, arguments) };
|
|
1029
|
+
|
|
1030
|
+
exports.__wbg_arrayBuffer_b375eccb84b4ddf3 = function() { return handleError(function (arg0) {
|
|
1031
|
+
const ret = arg0.arrayBuffer();
|
|
1032
|
+
return ret;
|
|
1033
|
+
}, arguments) };
|
|
1483
1034
|
|
|
1484
|
-
|
|
1485
|
-
|
|
1035
|
+
exports.__wbg_authorizeresult_new = function(arg0) {
|
|
1036
|
+
const ret = AuthorizeResult.__wrap(arg0);
|
|
1037
|
+
return ret;
|
|
1038
|
+
};
|
|
1486
1039
|
|
|
1487
|
-
function
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
cachedUint8ArrayMemory0 = null;
|
|
1040
|
+
exports.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1041
|
+
const ret = arg0.call(arg1, arg2);
|
|
1042
|
+
return ret;
|
|
1043
|
+
}, arguments) };
|
|
1492
1044
|
|
|
1045
|
+
exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
|
|
1046
|
+
const ret = arg0.call(arg1);
|
|
1047
|
+
return ret;
|
|
1048
|
+
}, arguments) };
|
|
1493
1049
|
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1050
|
+
exports.__wbg_cedarling_new = function(arg0) {
|
|
1051
|
+
const ret = Cedarling.__wrap(arg0);
|
|
1052
|
+
return ret;
|
|
1053
|
+
};
|
|
1497
1054
|
|
|
1498
|
-
function
|
|
1499
|
-
|
|
1055
|
+
exports.__wbg_clearTimeout_7a42b49784aea641 = function(arg0) {
|
|
1056
|
+
const ret = clearTimeout(arg0);
|
|
1057
|
+
return ret;
|
|
1058
|
+
};
|
|
1500
1059
|
|
|
1060
|
+
exports.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
1061
|
+
const ret = arg0.crypto;
|
|
1062
|
+
return ret;
|
|
1063
|
+
};
|
|
1501
1064
|
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
} else {
|
|
1506
|
-
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1065
|
+
exports.__wbg_debug_755c0800f64c9a88 = function(arg0) {
|
|
1066
|
+
console.debug(...arg0);
|
|
1067
|
+
};
|
|
1509
1068
|
|
|
1510
|
-
|
|
1069
|
+
exports.__wbg_done_2042aa2670fb1db1 = function(arg0) {
|
|
1070
|
+
const ret = arg0.done;
|
|
1071
|
+
return ret;
|
|
1072
|
+
};
|
|
1511
1073
|
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1074
|
+
exports.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
|
|
1075
|
+
const ret = Object.entries(arg0);
|
|
1076
|
+
return ret;
|
|
1077
|
+
};
|
|
1515
1078
|
|
|
1516
|
-
|
|
1079
|
+
exports.__wbg_entries_eb145c4da5c811f7 = function(arg0) {
|
|
1080
|
+
const ret = arg0.entries();
|
|
1081
|
+
return ret;
|
|
1082
|
+
};
|
|
1517
1083
|
|
|
1518
|
-
|
|
1519
|
-
|
|
1084
|
+
exports.__wbg_error_7a6b3e62969d4270 = function(arg0) {
|
|
1085
|
+
console.error(...arg0);
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
exports.__wbg_fetch_74a3e84ebd2c9a0e = function(arg0) {
|
|
1089
|
+
const ret = fetch(arg0);
|
|
1090
|
+
return ret;
|
|
1091
|
+
};
|
|
1520
1092
|
|
|
1521
|
-
|
|
1522
|
-
|
|
1093
|
+
exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
|
|
1094
|
+
const ret = arg0.fetch(arg1);
|
|
1095
|
+
return ret;
|
|
1096
|
+
};
|
|
1523
1097
|
|
|
1098
|
+
exports.__wbg_fromEntries_c7159f3787268c9f = function() { return handleError(function (arg0) {
|
|
1099
|
+
const ret = Object.fromEntries(arg0);
|
|
1100
|
+
return ret;
|
|
1101
|
+
}, arguments) };
|
|
1524
1102
|
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1103
|
+
exports.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
1104
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1105
|
+
}, arguments) };
|
|
1106
|
+
|
|
1107
|
+
exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
1108
|
+
arg0.getRandomValues(arg1);
|
|
1109
|
+
}, arguments) };
|
|
1110
|
+
|
|
1111
|
+
exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
|
|
1112
|
+
const ret = arg0.getTime();
|
|
1113
|
+
return ret;
|
|
1114
|
+
};
|
|
1115
|
+
|
|
1116
|
+
exports.__wbg_getTimezoneOffset_d391cb11d54969f8 = function(arg0) {
|
|
1117
|
+
const ret = arg0.getTimezoneOffset();
|
|
1118
|
+
return ret;
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
1122
|
+
const ret = arg0[arg1 >>> 0];
|
|
1123
|
+
return ret;
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
1127
|
+
const ret = Reflect.get(arg0, arg1);
|
|
1128
|
+
return ret;
|
|
1129
|
+
}, arguments) };
|
|
1130
|
+
|
|
1131
|
+
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
1132
|
+
const ret = arg0[arg1];
|
|
1133
|
+
return ret;
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
exports.__wbg_has_787fafc980c3ccdb = function() { return handleError(function (arg0, arg1) {
|
|
1137
|
+
const ret = Reflect.has(arg0, arg1);
|
|
1138
|
+
return ret;
|
|
1139
|
+
}, arguments) };
|
|
1140
|
+
|
|
1141
|
+
exports.__wbg_headers_b87d7eaba61c3278 = function(arg0) {
|
|
1142
|
+
const ret = arg0.headers;
|
|
1143
|
+
return ret;
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
exports.__wbg_info_f0ce824723264770 = function(arg0) {
|
|
1147
|
+
console.info(...arg0);
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
exports.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
|
|
1151
|
+
let result;
|
|
1152
|
+
try {
|
|
1153
|
+
result = arg0 instanceof ArrayBuffer;
|
|
1154
|
+
} catch (_) {
|
|
1155
|
+
result = false;
|
|
1531
1156
|
}
|
|
1157
|
+
const ret = result;
|
|
1158
|
+
return ret;
|
|
1159
|
+
};
|
|
1532
1160
|
|
|
1533
|
-
|
|
1534
|
-
|
|
1161
|
+
exports.__wbg_instanceof_Array_fca44e0f4a7f6240 = function(arg0) {
|
|
1162
|
+
let result;
|
|
1163
|
+
try {
|
|
1164
|
+
result = arg0 instanceof Array;
|
|
1165
|
+
} catch (_) {
|
|
1166
|
+
result = false;
|
|
1535
1167
|
}
|
|
1536
|
-
const
|
|
1168
|
+
const ret = result;
|
|
1169
|
+
return ret;
|
|
1170
|
+
};
|
|
1537
1171
|
|
|
1538
|
-
|
|
1539
|
-
|
|
1172
|
+
exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
|
|
1173
|
+
let result;
|
|
1174
|
+
try {
|
|
1175
|
+
result = arg0 instanceof Map;
|
|
1176
|
+
} catch (_) {
|
|
1177
|
+
result = false;
|
|
1540
1178
|
}
|
|
1179
|
+
const ret = result;
|
|
1180
|
+
return ret;
|
|
1181
|
+
};
|
|
1541
1182
|
|
|
1542
|
-
|
|
1183
|
+
exports.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
|
|
1184
|
+
let result;
|
|
1185
|
+
try {
|
|
1186
|
+
result = arg0 instanceof Response;
|
|
1187
|
+
} catch (_) {
|
|
1188
|
+
result = false;
|
|
1189
|
+
}
|
|
1190
|
+
const ret = result;
|
|
1191
|
+
return ret;
|
|
1192
|
+
};
|
|
1543
1193
|
|
|
1544
|
-
|
|
1545
|
-
|
|
1194
|
+
exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
|
|
1195
|
+
let result;
|
|
1196
|
+
try {
|
|
1197
|
+
result = arg0 instanceof Uint8Array;
|
|
1198
|
+
} catch (_) {
|
|
1199
|
+
result = false;
|
|
1200
|
+
}
|
|
1201
|
+
const ret = result;
|
|
1202
|
+
return ret;
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
exports.__wbg_isArray_96e0af9891d0945d = function(arg0) {
|
|
1206
|
+
const ret = Array.isArray(arg0);
|
|
1207
|
+
return ret;
|
|
1208
|
+
};
|
|
1209
|
+
|
|
1210
|
+
exports.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
|
|
1211
|
+
const ret = Number.isSafeInteger(arg0);
|
|
1212
|
+
return ret;
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
exports.__wbg_iterator_e5822695327a3c39 = function() {
|
|
1216
|
+
const ret = Symbol.iterator;
|
|
1217
|
+
return ret;
|
|
1218
|
+
};
|
|
1219
|
+
|
|
1220
|
+
exports.__wbg_keys_b4d27b02ad14f4be = function(arg0) {
|
|
1221
|
+
const ret = Object.keys(arg0);
|
|
1222
|
+
return ret;
|
|
1223
|
+
};
|
|
1224
|
+
|
|
1225
|
+
exports.__wbg_length_69bca3cb64fc8748 = function(arg0) {
|
|
1226
|
+
const ret = arg0.length;
|
|
1227
|
+
return ret;
|
|
1228
|
+
};
|
|
1229
|
+
|
|
1230
|
+
exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
1231
|
+
const ret = arg0.length;
|
|
1232
|
+
return ret;
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
exports.__wbg_log_33f7f6dbc0d0ccf4 = function(arg0) {
|
|
1236
|
+
console.log(...arg0);
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1239
|
+
exports.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1240
|
+
const ret = arg0.msCrypto;
|
|
1241
|
+
return ret;
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
exports.__wbg_multiissuerauthorizeresult_new = function(arg0) {
|
|
1245
|
+
const ret = MultiIssuerAuthorizeResult.__wrap(arg0);
|
|
1246
|
+
return ret;
|
|
1247
|
+
};
|
|
1248
|
+
|
|
1249
|
+
exports.__wbg_new_0_f9740686d739025c = function() {
|
|
1250
|
+
const ret = new Date();
|
|
1251
|
+
return ret;
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
exports.__wbg_new_1acc0b6eea89d040 = function() {
|
|
1255
|
+
const ret = new Object();
|
|
1256
|
+
return ret;
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
exports.__wbg_new_2531773dac38ebb3 = function() { return handleError(function () {
|
|
1260
|
+
const ret = new AbortController();
|
|
1261
|
+
return ret;
|
|
1262
|
+
}, arguments) };
|
|
1263
|
+
|
|
1264
|
+
exports.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
|
|
1265
|
+
try {
|
|
1266
|
+
var state0 = {a: arg0, b: arg1};
|
|
1267
|
+
var cb0 = (arg0, arg1) => {
|
|
1268
|
+
const a = state0.a;
|
|
1269
|
+
state0.a = 0;
|
|
1270
|
+
try {
|
|
1271
|
+
return wasm_bindgen__convert__closures_____invoke__h4e75ae6afb7ea833(a, state0.b, arg0, arg1);
|
|
1272
|
+
} finally {
|
|
1273
|
+
state0.a = a;
|
|
1274
|
+
}
|
|
1275
|
+
};
|
|
1276
|
+
const ret = new Promise(cb0);
|
|
1277
|
+
return ret;
|
|
1278
|
+
} finally {
|
|
1279
|
+
state0.a = state0.b = 0;
|
|
1280
|
+
}
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
exports.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
|
|
1284
|
+
const ret = new Uint8Array(arg0);
|
|
1285
|
+
return ret;
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
exports.__wbg_new_68651c719dcda04e = function() {
|
|
1289
|
+
const ret = new Map();
|
|
1290
|
+
return ret;
|
|
1291
|
+
};
|
|
1292
|
+
|
|
1293
|
+
exports.__wbg_new_93d9417ed3fb115d = function(arg0) {
|
|
1294
|
+
const ret = new Date(arg0);
|
|
1295
|
+
return ret;
|
|
1296
|
+
};
|
|
1297
|
+
|
|
1298
|
+
exports.__wbg_new_9edf9838a2def39c = function() { return handleError(function () {
|
|
1299
|
+
const ret = new Headers();
|
|
1300
|
+
return ret;
|
|
1301
|
+
}, arguments) };
|
|
1302
|
+
|
|
1303
|
+
exports.__wbg_new_e17d9f43105b08be = function() {
|
|
1304
|
+
const ret = new Array();
|
|
1305
|
+
return ret;
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
exports.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
|
|
1309
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1310
|
+
return ret;
|
|
1311
|
+
};
|
|
1312
|
+
|
|
1313
|
+
exports.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
|
|
1314
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1315
|
+
return ret;
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
exports.__wbg_new_with_args_02cbc439ce3fd7db = function(arg0, arg1, arg2, arg3) {
|
|
1319
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1320
|
+
return ret;
|
|
1321
|
+
};
|
|
1322
|
+
|
|
1323
|
+
exports.__wbg_new_with_length_01aa0dc35aa13543 = function(arg0) {
|
|
1324
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
1325
|
+
return ret;
|
|
1326
|
+
};
|
|
1327
|
+
|
|
1328
|
+
exports.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1329
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1330
|
+
return ret;
|
|
1331
|
+
}, arguments) };
|
|
1332
|
+
|
|
1333
|
+
exports.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
|
|
1334
|
+
const ret = arg0.next();
|
|
1335
|
+
return ret;
|
|
1336
|
+
}, arguments) };
|
|
1337
|
+
|
|
1338
|
+
exports.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
|
|
1339
|
+
const ret = arg0.next;
|
|
1340
|
+
return ret;
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
exports.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
1344
|
+
const ret = arg0.node;
|
|
1345
|
+
return ret;
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
exports.__wbg_policyevaluationerror_new = function(arg0) {
|
|
1349
|
+
const ret = PolicyEvaluationError.__wrap(arg0);
|
|
1350
|
+
return ret;
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
exports.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1354
|
+
const ret = arg0.process;
|
|
1355
|
+
return ret;
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
exports.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
|
|
1359
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
exports.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
|
|
1363
|
+
const ret = arg0.push(arg1);
|
|
1364
|
+
return ret;
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
exports.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
|
|
1368
|
+
const ret = arg0.queueMicrotask;
|
|
1369
|
+
return ret;
|
|
1370
|
+
};
|
|
1371
|
+
|
|
1372
|
+
exports.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
|
|
1373
|
+
queueMicrotask(arg0);
|
|
1374
|
+
};
|
|
1375
|
+
|
|
1376
|
+
exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1377
|
+
arg0.randomFillSync(arg1);
|
|
1378
|
+
}, arguments) };
|
|
1379
|
+
|
|
1380
|
+
exports.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
1381
|
+
const ret = module.require;
|
|
1382
|
+
return ret;
|
|
1383
|
+
}, arguments) };
|
|
1384
|
+
|
|
1385
|
+
exports.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
|
|
1386
|
+
const ret = Promise.resolve(arg0);
|
|
1387
|
+
return ret;
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
exports.__wbg_setTimeout_7bb3429662ab1e70 = function(arg0, arg1) {
|
|
1391
|
+
const ret = setTimeout(arg0, arg1);
|
|
1392
|
+
return ret;
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1396
|
+
arg0[arg1] = arg2;
|
|
1397
|
+
};
|
|
1398
|
+
|
|
1399
|
+
exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
1400
|
+
const ret = arg0.set(arg1, arg2);
|
|
1401
|
+
return ret;
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
|
|
1405
|
+
arg0.body = arg1;
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
exports.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
|
|
1409
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1410
|
+
};
|
|
1411
|
+
|
|
1412
|
+
exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1413
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1414
|
+
return ret;
|
|
1415
|
+
}, arguments) };
|
|
1416
|
+
|
|
1417
|
+
exports.__wbg_set_cache_2f9deb19b92b81e3 = function(arg0, arg1) {
|
|
1418
|
+
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1419
|
+
};
|
|
1420
|
+
|
|
1421
|
+
exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
|
|
1422
|
+
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1423
|
+
};
|
|
1424
|
+
|
|
1425
|
+
exports.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
|
|
1426
|
+
arg0.headers = arg1;
|
|
1427
|
+
};
|
|
1428
|
+
|
|
1429
|
+
exports.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
|
|
1430
|
+
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
exports.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
|
|
1434
|
+
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1435
|
+
};
|
|
1436
|
+
|
|
1437
|
+
exports.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
|
|
1438
|
+
arg0.signal = arg1;
|
|
1439
|
+
};
|
|
1440
|
+
|
|
1441
|
+
exports.__wbg_signal_4db5aa055bf9eb9a = function(arg0) {
|
|
1442
|
+
const ret = arg0.signal;
|
|
1443
|
+
return ret;
|
|
1444
|
+
};
|
|
1445
|
+
|
|
1446
|
+
exports.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
|
|
1447
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1448
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
exports.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
|
|
1452
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1453
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
exports.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
|
|
1457
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
1458
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1459
|
+
};
|
|
1460
|
+
|
|
1461
|
+
exports.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
|
|
1462
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
1463
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
exports.__wbg_status_de7eed5a7a5bfd5d = function(arg0) {
|
|
1467
|
+
const ret = arg0.status;
|
|
1468
|
+
return ret;
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1471
|
+
exports.__wbg_stringify_b5fb28f6465d9c3e = function() { return handleError(function (arg0) {
|
|
1472
|
+
const ret = JSON.stringify(arg0);
|
|
1473
|
+
return ret;
|
|
1474
|
+
}, arguments) };
|
|
1475
|
+
|
|
1476
|
+
exports.__wbg_subarray_480600f3d6a9f26c = function(arg0, arg1, arg2) {
|
|
1477
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1478
|
+
return ret;
|
|
1479
|
+
};
|
|
1480
|
+
|
|
1481
|
+
exports.__wbg_text_dc33c15c17bdfb52 = function() { return handleError(function (arg0) {
|
|
1482
|
+
const ret = arg0.text();
|
|
1483
|
+
return ret;
|
|
1484
|
+
}, arguments) };
|
|
1485
|
+
|
|
1486
|
+
exports.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
|
|
1487
|
+
const ret = arg0.then(arg1);
|
|
1488
|
+
return ret;
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
exports.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
|
|
1492
|
+
const ret = arg0.then(arg1, arg2);
|
|
1493
|
+
return ret;
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
exports.__wbg_trace_15baa8999e3f2ed1 = function(arg0) {
|
|
1497
|
+
console.trace(...arg0);
|
|
1498
|
+
};
|
|
1499
|
+
|
|
1500
|
+
exports.__wbg_url_b36d2a5008eb056f = function(arg0, arg1) {
|
|
1501
|
+
const ret = arg1.url;
|
|
1502
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1503
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1504
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1505
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
exports.__wbg_value_692627309814bb8c = function(arg0) {
|
|
1509
|
+
const ret = arg0.value;
|
|
1510
|
+
return ret;
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
exports.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1514
|
+
const ret = arg0.versions;
|
|
1515
|
+
return ret;
|
|
1516
|
+
};
|
|
1517
|
+
|
|
1518
|
+
exports.__wbg_warn_a2d80c28bcdb1933 = function(arg0) {
|
|
1519
|
+
console.warn(...arg0);
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
exports.__wbindgen_cast_02fea57424c85e3c = function(arg0, arg1) {
|
|
1523
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [Externref], shim_idx: 562, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1524
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4fff4cc5f82a04c0, wasm_bindgen__convert__closures_____invoke__h6327561d424f9a15);
|
|
1525
|
+
return ret;
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1529
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1530
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1531
|
+
return ret;
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1534
|
+
exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1535
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
1536
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1537
|
+
return ret;
|
|
1538
|
+
};
|
|
1539
|
+
|
|
1540
|
+
exports.__wbindgen_cast_67365bd7b36f80c7 = function(arg0, arg1) {
|
|
1541
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 517, function: Function { arguments: [], shim_idx: 518, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1542
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8149dcdd225949c1, wasm_bindgen__convert__closures_____invoke__h1ef9cb20a66113c0);
|
|
1543
|
+
return ret;
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
1547
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
1548
|
+
const ret = arg0;
|
|
1549
|
+
return ret;
|
|
1550
|
+
};
|
|
1551
|
+
|
|
1552
|
+
exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
1553
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1554
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1555
|
+
return ret;
|
|
1556
|
+
};
|
|
1557
|
+
|
|
1558
|
+
exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
1559
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
1560
|
+
const ret = arg0;
|
|
1561
|
+
return ret;
|
|
1562
|
+
};
|
|
1563
|
+
|
|
1564
|
+
exports.__wbindgen_init_externref_table = function() {
|
|
1565
|
+
const table = wasm.__wbindgen_externrefs;
|
|
1566
|
+
const offset = table.grow(4);
|
|
1567
|
+
table.set(0, undefined);
|
|
1568
|
+
table.set(offset + 0, undefined);
|
|
1569
|
+
table.set(offset + 1, null);
|
|
1570
|
+
table.set(offset + 2, true);
|
|
1571
|
+
table.set(offset + 3, false);
|
|
1572
|
+
;
|
|
1573
|
+
};
|
|
1574
|
+
|
|
1575
|
+
const wasmPath = `${__dirname}/cedarling_wasm_bg.wasm`;
|
|
1576
|
+
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
1577
|
+
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
1578
|
+
const wasm = exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports;
|
|
1579
|
+
|
|
1580
|
+
wasm.__wbindgen_start();
|
|
1546
1581
|
|
|
1547
|
-
export { initSync };
|
|
1548
|
-
export default __wbg_init;
|