@janssenproject/cedarling_wasm 0.0.275 → 0.0.276-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/README.md +39 -0
- package/cedarling_wasm.d.ts +32 -78
- package/cedarling_wasm.js +789 -634
- 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
|
|
|
@@ -213,16 +207,22 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
213
207
|
CLOSURE_DTORS.register(real, state, state);
|
|
214
208
|
return real;
|
|
215
209
|
}
|
|
210
|
+
|
|
211
|
+
function _assertClass(instance, klass) {
|
|
212
|
+
if (!(instance instanceof klass)) {
|
|
213
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
216
|
/**
|
|
217
217
|
* Create a new instance of the Cedarling application.
|
|
218
218
|
* This function can take as config parameter the eather `Map` other `Object`
|
|
219
219
|
* @param {any} config
|
|
220
220
|
* @returns {Promise<Cedarling>}
|
|
221
221
|
*/
|
|
222
|
-
|
|
222
|
+
exports.init = function(config) {
|
|
223
223
|
const ret = wasm.init(config);
|
|
224
224
|
return ret;
|
|
225
|
-
}
|
|
225
|
+
};
|
|
226
226
|
|
|
227
227
|
function takeFromExternrefTable0(idx) {
|
|
228
228
|
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
@@ -240,20 +240,14 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
240
240
|
wasm.__externref_drop_slice(ptr, len);
|
|
241
241
|
return result;
|
|
242
242
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
if (!(instance instanceof klass)) {
|
|
246
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
247
|
-
}
|
|
243
|
+
function wasm_bindgen__convert__closures_____invoke__hb85a0d6bfa2beadc(arg0, arg1) {
|
|
244
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb85a0d6bfa2beadc(arg0, arg1);
|
|
248
245
|
}
|
|
246
|
+
|
|
249
247
|
function wasm_bindgen__convert__closures_____invoke__h1c715d53d5a00020(arg0, arg1, arg2) {
|
|
250
248
|
wasm.wasm_bindgen__convert__closures_____invoke__h1c715d53d5a00020(arg0, arg1, arg2);
|
|
251
249
|
}
|
|
252
250
|
|
|
253
|
-
function wasm_bindgen__convert__closures_____invoke__hf8ac7184f86fbcce(arg0, arg1) {
|
|
254
|
-
wasm.wasm_bindgen__convert__closures_____invoke__hf8ac7184f86fbcce(arg0, arg1);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
251
|
function wasm_bindgen__convert__closures_____invoke__h4b59ba169ea05287(arg0, arg1, arg2, arg3) {
|
|
258
252
|
wasm.wasm_bindgen__convert__closures_____invoke__h4b59ba169ea05287(arg0, arg1, arg2, arg3);
|
|
259
253
|
}
|
|
@@ -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;
|
|
@@ -523,6 +521,16 @@ export class Cedarling {
|
|
|
523
521
|
const ret = wasm.cedarling_authorize_unsigned(this.__wbg_ptr, request);
|
|
524
522
|
return ret;
|
|
525
523
|
}
|
|
524
|
+
/**
|
|
525
|
+
* Authorize multi-issuer request.
|
|
526
|
+
* Makes authorization decision based on multiple JWT tokens from different issuers
|
|
527
|
+
* @param {any} request
|
|
528
|
+
* @returns {Promise<MultiIssuerAuthorizeResult>}
|
|
529
|
+
*/
|
|
530
|
+
authorize_multi_issuer(request) {
|
|
531
|
+
const ret = wasm.cedarling_authorize_multi_issuer(this.__wbg_ptr, request);
|
|
532
|
+
return ret;
|
|
533
|
+
}
|
|
526
534
|
/**
|
|
527
535
|
* Get logs and remove them from the storage.
|
|
528
536
|
* Returns `Array` of `Map`
|
|
@@ -625,6 +633,8 @@ export class Cedarling {
|
|
|
625
633
|
}
|
|
626
634
|
if (Symbol.dispose) Cedarling.prototype[Symbol.dispose] = Cedarling.prototype.free;
|
|
627
635
|
|
|
636
|
+
exports.Cedarling = Cedarling;
|
|
637
|
+
|
|
628
638
|
const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
629
639
|
? { register: () => {}, unregister: () => {} }
|
|
630
640
|
: new FinalizationRegistry(ptr => wasm.__wbg_diagnostics_free(ptr >>> 0, 1));
|
|
@@ -634,7 +644,7 @@ const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
634
644
|
*
|
|
635
645
|
* Provides detailed information about how a policy decision was made, including policies that contributed to the decision and any errors encountered during evaluation.
|
|
636
646
|
*/
|
|
637
|
-
|
|
647
|
+
class Diagnostics {
|
|
638
648
|
|
|
639
649
|
static __wrap(ptr) {
|
|
640
650
|
ptr = ptr >>> 0;
|
|
@@ -682,11 +692,13 @@ export class Diagnostics {
|
|
|
682
692
|
}
|
|
683
693
|
if (Symbol.dispose) Diagnostics.prototype[Symbol.dispose] = Diagnostics.prototype.free;
|
|
684
694
|
|
|
695
|
+
exports.Diagnostics = Diagnostics;
|
|
696
|
+
|
|
685
697
|
const JsJsonLogicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
686
698
|
? { register: () => {}, unregister: () => {} }
|
|
687
699
|
: new FinalizationRegistry(ptr => wasm.__wbg_jsjsonlogic_free(ptr >>> 0, 1));
|
|
688
700
|
|
|
689
|
-
|
|
701
|
+
class JsJsonLogic {
|
|
690
702
|
|
|
691
703
|
__destroy_into_raw() {
|
|
692
704
|
const ptr = this.__wbg_ptr;
|
|
@@ -720,6 +732,118 @@ export class JsJsonLogic {
|
|
|
720
732
|
}
|
|
721
733
|
if (Symbol.dispose) JsJsonLogic.prototype[Symbol.dispose] = JsJsonLogic.prototype.free;
|
|
722
734
|
|
|
735
|
+
exports.JsJsonLogic = JsJsonLogic;
|
|
736
|
+
|
|
737
|
+
const MultiIssuerAuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
738
|
+
? { register: () => {}, unregister: () => {} }
|
|
739
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_multiissuerauthorizeresult_free(ptr >>> 0, 1));
|
|
740
|
+
/**
|
|
741
|
+
* A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
|
|
742
|
+
* Represents the result of a multi-issuer authorization request.
|
|
743
|
+
*/
|
|
744
|
+
class MultiIssuerAuthorizeResult {
|
|
745
|
+
|
|
746
|
+
static __wrap(ptr) {
|
|
747
|
+
ptr = ptr >>> 0;
|
|
748
|
+
const obj = Object.create(MultiIssuerAuthorizeResult.prototype);
|
|
749
|
+
obj.__wbg_ptr = ptr;
|
|
750
|
+
MultiIssuerAuthorizeResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
751
|
+
return obj;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
__destroy_into_raw() {
|
|
755
|
+
const ptr = this.__wbg_ptr;
|
|
756
|
+
this.__wbg_ptr = 0;
|
|
757
|
+
MultiIssuerAuthorizeResultFinalization.unregister(this);
|
|
758
|
+
return ptr;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
free() {
|
|
762
|
+
const ptr = this.__destroy_into_raw();
|
|
763
|
+
wasm.__wbg_multiissuerauthorizeresult_free(ptr, 0);
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Result of Cedar policy authorization
|
|
767
|
+
* @returns {AuthorizeResultResponse}
|
|
768
|
+
*/
|
|
769
|
+
get response() {
|
|
770
|
+
const ret = wasm.__wbg_get_multiissuerauthorizeresult_response(this.__wbg_ptr);
|
|
771
|
+
return AuthorizeResultResponse.__wrap(ret);
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* Result of Cedar policy authorization
|
|
775
|
+
* @param {AuthorizeResultResponse} arg0
|
|
776
|
+
*/
|
|
777
|
+
set response(arg0) {
|
|
778
|
+
_assertClass(arg0, AuthorizeResultResponse);
|
|
779
|
+
var ptr0 = arg0.__destroy_into_raw();
|
|
780
|
+
wasm.__wbg_set_multiissuerauthorizeresult_response(this.__wbg_ptr, ptr0);
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* Result of authorization
|
|
784
|
+
* true means `ALLOW`
|
|
785
|
+
* false means `Deny`
|
|
786
|
+
* @returns {boolean}
|
|
787
|
+
*/
|
|
788
|
+
get decision() {
|
|
789
|
+
const ret = wasm.__wbg_get_multiissuerauthorizeresult_decision(this.__wbg_ptr);
|
|
790
|
+
return ret !== 0;
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* Result of authorization
|
|
794
|
+
* true means `ALLOW`
|
|
795
|
+
* false means `Deny`
|
|
796
|
+
* @param {boolean} arg0
|
|
797
|
+
*/
|
|
798
|
+
set decision(arg0) {
|
|
799
|
+
wasm.__wbg_set_multiissuerauthorizeresult_decision(this.__wbg_ptr, arg0);
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Request ID of the authorization request
|
|
803
|
+
* @returns {string}
|
|
804
|
+
*/
|
|
805
|
+
get request_id() {
|
|
806
|
+
let deferred1_0;
|
|
807
|
+
let deferred1_1;
|
|
808
|
+
try {
|
|
809
|
+
const ret = wasm.__wbg_get_multiissuerauthorizeresult_request_id(this.__wbg_ptr);
|
|
810
|
+
deferred1_0 = ret[0];
|
|
811
|
+
deferred1_1 = ret[1];
|
|
812
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
813
|
+
} finally {
|
|
814
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* Request ID of the authorization request
|
|
819
|
+
* @param {string} arg0
|
|
820
|
+
*/
|
|
821
|
+
set request_id(arg0) {
|
|
822
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
823
|
+
const len0 = WASM_VECTOR_LEN;
|
|
824
|
+
wasm.__wbg_set_multiissuerauthorizeresult_request_id(this.__wbg_ptr, ptr0, len0);
|
|
825
|
+
}
|
|
826
|
+
/**
|
|
827
|
+
* Convert `MultiIssuerAuthorizeResult` to json string value
|
|
828
|
+
* @returns {string}
|
|
829
|
+
*/
|
|
830
|
+
json_string() {
|
|
831
|
+
let deferred1_0;
|
|
832
|
+
let deferred1_1;
|
|
833
|
+
try {
|
|
834
|
+
const ret = wasm.multiissuerauthorizeresult_json_string(this.__wbg_ptr);
|
|
835
|
+
deferred1_0 = ret[0];
|
|
836
|
+
deferred1_1 = ret[1];
|
|
837
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
838
|
+
} finally {
|
|
839
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
if (Symbol.dispose) MultiIssuerAuthorizeResult.prototype[Symbol.dispose] = MultiIssuerAuthorizeResult.prototype.free;
|
|
844
|
+
|
|
845
|
+
exports.MultiIssuerAuthorizeResult = MultiIssuerAuthorizeResult;
|
|
846
|
+
|
|
723
847
|
const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
724
848
|
? { register: () => {}, unregister: () => {} }
|
|
725
849
|
: new FinalizationRegistry(ptr => wasm.__wbg_policyevaluationerror_free(ptr >>> 0, 1));
|
|
@@ -729,7 +853,7 @@ const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'unde
|
|
|
729
853
|
*
|
|
730
854
|
* Represents an error that occurred when evaluating a Cedar policy.
|
|
731
855
|
*/
|
|
732
|
-
|
|
856
|
+
class PolicyEvaluationError {
|
|
733
857
|
|
|
734
858
|
static __wrap(ptr) {
|
|
735
859
|
ptr = ptr >>> 0;
|
|
@@ -785,642 +909,673 @@ export class PolicyEvaluationError {
|
|
|
785
909
|
}
|
|
786
910
|
if (Symbol.dispose) PolicyEvaluationError.prototype[Symbol.dispose] = PolicyEvaluationError.prototype.free;
|
|
787
911
|
|
|
788
|
-
|
|
912
|
+
exports.PolicyEvaluationError = PolicyEvaluationError;
|
|
789
913
|
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
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
|
+
};
|
|
795
918
|
|
|
796
|
-
|
|
797
|
-
|
|
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
|
+
};
|
|
798
957
|
|
|
799
|
-
|
|
800
|
-
|
|
958
|
+
exports.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function(arg0) {
|
|
959
|
+
const ret = typeof(arg0) === 'bigint';
|
|
960
|
+
return ret;
|
|
961
|
+
};
|
|
801
962
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
}
|
|
963
|
+
exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
|
|
964
|
+
const ret = typeof(arg0) === 'function';
|
|
965
|
+
return ret;
|
|
966
|
+
};
|
|
807
967
|
|
|
808
|
-
|
|
809
|
-
|
|
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
|
+
};
|
|
810
973
|
|
|
811
|
-
|
|
812
|
-
|
|
974
|
+
exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
|
|
975
|
+
const ret = typeof(arg0) === 'string';
|
|
976
|
+
return ret;
|
|
977
|
+
};
|
|
813
978
|
|
|
814
|
-
|
|
815
|
-
|
|
979
|
+
exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
|
|
980
|
+
const ret = arg0 === undefined;
|
|
981
|
+
return ret;
|
|
982
|
+
};
|
|
816
983
|
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
}
|
|
984
|
+
exports.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
|
|
985
|
+
const ret = arg0 === arg1;
|
|
986
|
+
return ret;
|
|
987
|
+
};
|
|
822
988
|
|
|
823
|
-
function
|
|
824
|
-
const
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
const ret = typeof(arg0) === 'function';
|
|
869
|
-
return ret;
|
|
870
|
-
};
|
|
871
|
-
imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
|
|
872
|
-
const val = arg0;
|
|
873
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
874
|
-
return ret;
|
|
875
|
-
};
|
|
876
|
-
imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
|
|
877
|
-
const ret = typeof(arg0) === 'string';
|
|
878
|
-
return ret;
|
|
879
|
-
};
|
|
880
|
-
imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
|
|
881
|
-
const ret = arg0 === undefined;
|
|
882
|
-
return ret;
|
|
883
|
-
};
|
|
884
|
-
imports.wbg.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
|
|
885
|
-
const ret = arg0 === arg1;
|
|
886
|
-
return ret;
|
|
887
|
-
};
|
|
888
|
-
imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
|
|
889
|
-
const ret = arg0 == arg1;
|
|
890
|
-
return ret;
|
|
891
|
-
};
|
|
892
|
-
imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
|
|
893
|
-
const obj = arg1;
|
|
894
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
895
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
896
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
897
|
-
};
|
|
898
|
-
imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
|
|
899
|
-
const obj = arg1;
|
|
900
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
901
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
902
|
-
var len1 = WASM_VECTOR_LEN;
|
|
903
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
904
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
905
|
-
};
|
|
906
|
-
imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
|
|
907
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
908
|
-
};
|
|
909
|
-
imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
|
|
910
|
-
arg0._wbg_cb_unref();
|
|
911
|
-
};
|
|
912
|
-
imports.wbg.__wbg_abort_28ad55c5825b004d = function(arg0, arg1) {
|
|
913
|
-
arg0.abort(arg1);
|
|
914
|
-
};
|
|
915
|
-
imports.wbg.__wbg_abort_e7eb059f72f9ed0c = function(arg0) {
|
|
916
|
-
arg0.abort();
|
|
917
|
-
};
|
|
918
|
-
imports.wbg.__wbg_append_b577eb3a177bc0fa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
919
|
-
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
920
|
-
}, arguments) };
|
|
921
|
-
imports.wbg.__wbg_arrayBuffer_b375eccb84b4ddf3 = function() { return handleError(function (arg0) {
|
|
922
|
-
const ret = arg0.arrayBuffer();
|
|
923
|
-
return ret;
|
|
924
|
-
}, arguments) };
|
|
925
|
-
imports.wbg.__wbg_authorizeresult_new = function(arg0) {
|
|
926
|
-
const ret = AuthorizeResult.__wrap(arg0);
|
|
927
|
-
return ret;
|
|
928
|
-
};
|
|
929
|
-
imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
|
|
930
|
-
const ret = arg0.call(arg1, arg2);
|
|
931
|
-
return ret;
|
|
932
|
-
}, arguments) };
|
|
933
|
-
imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
|
|
934
|
-
const ret = arg0.call(arg1);
|
|
935
|
-
return ret;
|
|
936
|
-
}, arguments) };
|
|
937
|
-
imports.wbg.__wbg_cedarling_new = function(arg0) {
|
|
938
|
-
const ret = Cedarling.__wrap(arg0);
|
|
939
|
-
return ret;
|
|
940
|
-
};
|
|
941
|
-
imports.wbg.__wbg_clearTimeout_7a42b49784aea641 = function(arg0) {
|
|
942
|
-
const ret = clearTimeout(arg0);
|
|
943
|
-
return ret;
|
|
944
|
-
};
|
|
945
|
-
imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
946
|
-
const ret = arg0.crypto;
|
|
947
|
-
return ret;
|
|
948
|
-
};
|
|
949
|
-
imports.wbg.__wbg_debug_755c0800f64c9a88 = function(arg0) {
|
|
950
|
-
console.debug(...arg0);
|
|
951
|
-
};
|
|
952
|
-
imports.wbg.__wbg_done_2042aa2670fb1db1 = function(arg0) {
|
|
953
|
-
const ret = arg0.done;
|
|
954
|
-
return ret;
|
|
955
|
-
};
|
|
956
|
-
imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
|
|
957
|
-
const ret = Object.entries(arg0);
|
|
958
|
-
return ret;
|
|
959
|
-
};
|
|
960
|
-
imports.wbg.__wbg_entries_eb145c4da5c811f7 = function(arg0) {
|
|
961
|
-
const ret = arg0.entries();
|
|
962
|
-
return ret;
|
|
963
|
-
};
|
|
964
|
-
imports.wbg.__wbg_error_7a6b3e62969d4270 = function(arg0) {
|
|
965
|
-
console.error(...arg0);
|
|
966
|
-
};
|
|
967
|
-
imports.wbg.__wbg_fetch_74a3e84ebd2c9a0e = function(arg0) {
|
|
968
|
-
const ret = fetch(arg0);
|
|
969
|
-
return ret;
|
|
970
|
-
};
|
|
971
|
-
imports.wbg.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
|
|
972
|
-
const ret = arg0.fetch(arg1);
|
|
973
|
-
return ret;
|
|
974
|
-
};
|
|
975
|
-
imports.wbg.__wbg_fromEntries_c7159f3787268c9f = function() { return handleError(function (arg0) {
|
|
976
|
-
const ret = Object.fromEntries(arg0);
|
|
977
|
-
return ret;
|
|
978
|
-
}, arguments) };
|
|
979
|
-
imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
980
|
-
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
981
|
-
}, arguments) };
|
|
982
|
-
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
983
|
-
arg0.getRandomValues(arg1);
|
|
984
|
-
}, arguments) };
|
|
985
|
-
imports.wbg.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
|
|
986
|
-
const ret = arg0.getTime();
|
|
987
|
-
return ret;
|
|
988
|
-
};
|
|
989
|
-
imports.wbg.__wbg_getTimezoneOffset_d391cb11d54969f8 = function(arg0) {
|
|
990
|
-
const ret = arg0.getTimezoneOffset();
|
|
991
|
-
return ret;
|
|
992
|
-
};
|
|
993
|
-
imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
994
|
-
const ret = arg0[arg1 >>> 0];
|
|
995
|
-
return ret;
|
|
996
|
-
};
|
|
997
|
-
imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
998
|
-
const ret = Reflect.get(arg0, arg1);
|
|
999
|
-
return ret;
|
|
1000
|
-
}, arguments) };
|
|
1001
|
-
imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
1002
|
-
const ret = arg0[arg1];
|
|
1003
|
-
return ret;
|
|
1004
|
-
};
|
|
1005
|
-
imports.wbg.__wbg_has_787fafc980c3ccdb = function() { return handleError(function (arg0, arg1) {
|
|
1006
|
-
const ret = Reflect.has(arg0, arg1);
|
|
1007
|
-
return ret;
|
|
1008
|
-
}, arguments) };
|
|
1009
|
-
imports.wbg.__wbg_headers_b87d7eaba61c3278 = function(arg0) {
|
|
1010
|
-
const ret = arg0.headers;
|
|
1011
|
-
return ret;
|
|
1012
|
-
};
|
|
1013
|
-
imports.wbg.__wbg_info_f0ce824723264770 = function(arg0) {
|
|
1014
|
-
console.info(...arg0);
|
|
1015
|
-
};
|
|
1016
|
-
imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
|
|
1017
|
-
let result;
|
|
1018
|
-
try {
|
|
1019
|
-
result = arg0 instanceof ArrayBuffer;
|
|
1020
|
-
} catch (_) {
|
|
1021
|
-
result = false;
|
|
1022
|
-
}
|
|
1023
|
-
const ret = result;
|
|
1024
|
-
return ret;
|
|
1025
|
-
};
|
|
1026
|
-
imports.wbg.__wbg_instanceof_Array_fca44e0f4a7f6240 = function(arg0) {
|
|
1027
|
-
let result;
|
|
1028
|
-
try {
|
|
1029
|
-
result = arg0 instanceof Array;
|
|
1030
|
-
} catch (_) {
|
|
1031
|
-
result = false;
|
|
1032
|
-
}
|
|
1033
|
-
const ret = result;
|
|
1034
|
-
return ret;
|
|
1035
|
-
};
|
|
1036
|
-
imports.wbg.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
|
|
1037
|
-
let result;
|
|
1038
|
-
try {
|
|
1039
|
-
result = arg0 instanceof Map;
|
|
1040
|
-
} catch (_) {
|
|
1041
|
-
result = false;
|
|
1042
|
-
}
|
|
1043
|
-
const ret = result;
|
|
1044
|
-
return ret;
|
|
1045
|
-
};
|
|
1046
|
-
imports.wbg.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
|
|
1047
|
-
let result;
|
|
1048
|
-
try {
|
|
1049
|
-
result = arg0 instanceof Response;
|
|
1050
|
-
} catch (_) {
|
|
1051
|
-
result = false;
|
|
1052
|
-
}
|
|
1053
|
-
const ret = result;
|
|
1054
|
-
return ret;
|
|
1055
|
-
};
|
|
1056
|
-
imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
|
|
1057
|
-
let result;
|
|
1058
|
-
try {
|
|
1059
|
-
result = arg0 instanceof Uint8Array;
|
|
1060
|
-
} catch (_) {
|
|
1061
|
-
result = false;
|
|
1062
|
-
}
|
|
1063
|
-
const ret = result;
|
|
1064
|
-
return ret;
|
|
1065
|
-
};
|
|
1066
|
-
imports.wbg.__wbg_isArray_96e0af9891d0945d = function(arg0) {
|
|
1067
|
-
const ret = Array.isArray(arg0);
|
|
1068
|
-
return ret;
|
|
1069
|
-
};
|
|
1070
|
-
imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
|
|
1071
|
-
const ret = Number.isSafeInteger(arg0);
|
|
1072
|
-
return ret;
|
|
1073
|
-
};
|
|
1074
|
-
imports.wbg.__wbg_iterator_e5822695327a3c39 = function() {
|
|
1075
|
-
const ret = Symbol.iterator;
|
|
1076
|
-
return ret;
|
|
1077
|
-
};
|
|
1078
|
-
imports.wbg.__wbg_keys_b4d27b02ad14f4be = function(arg0) {
|
|
1079
|
-
const ret = Object.keys(arg0);
|
|
1080
|
-
return ret;
|
|
1081
|
-
};
|
|
1082
|
-
imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
|
|
1083
|
-
const ret = arg0.length;
|
|
1084
|
-
return ret;
|
|
1085
|
-
};
|
|
1086
|
-
imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
1087
|
-
const ret = arg0.length;
|
|
1088
|
-
return ret;
|
|
1089
|
-
};
|
|
1090
|
-
imports.wbg.__wbg_log_33f7f6dbc0d0ccf4 = function(arg0) {
|
|
1091
|
-
console.log(...arg0);
|
|
1092
|
-
};
|
|
1093
|
-
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1094
|
-
const ret = arg0.msCrypto;
|
|
1095
|
-
return ret;
|
|
1096
|
-
};
|
|
1097
|
-
imports.wbg.__wbg_new_0_f9740686d739025c = function() {
|
|
1098
|
-
const ret = new Date();
|
|
1099
|
-
return ret;
|
|
1100
|
-
};
|
|
1101
|
-
imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
|
|
1102
|
-
const ret = new Object();
|
|
1103
|
-
return ret;
|
|
1104
|
-
};
|
|
1105
|
-
imports.wbg.__wbg_new_2531773dac38ebb3 = function() { return handleError(function () {
|
|
1106
|
-
const ret = new AbortController();
|
|
1107
|
-
return ret;
|
|
1108
|
-
}, arguments) };
|
|
1109
|
-
imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
|
|
1110
|
-
try {
|
|
1111
|
-
var state0 = {a: arg0, b: arg1};
|
|
1112
|
-
var cb0 = (arg0, arg1) => {
|
|
1113
|
-
const a = state0.a;
|
|
1114
|
-
state0.a = 0;
|
|
1115
|
-
try {
|
|
1116
|
-
return wasm_bindgen__convert__closures_____invoke__h4b59ba169ea05287(a, state0.b, arg0, arg1);
|
|
1117
|
-
} finally {
|
|
1118
|
-
state0.a = a;
|
|
1119
|
-
}
|
|
1120
|
-
};
|
|
1121
|
-
const ret = new Promise(cb0);
|
|
1122
|
-
return ret;
|
|
1123
|
-
} finally {
|
|
1124
|
-
state0.a = state0.b = 0;
|
|
1125
|
-
}
|
|
1126
|
-
};
|
|
1127
|
-
imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
|
|
1128
|
-
const ret = new Uint8Array(arg0);
|
|
1129
|
-
return ret;
|
|
1130
|
-
};
|
|
1131
|
-
imports.wbg.__wbg_new_68651c719dcda04e = function() {
|
|
1132
|
-
const ret = new Map();
|
|
1133
|
-
return ret;
|
|
1134
|
-
};
|
|
1135
|
-
imports.wbg.__wbg_new_93d9417ed3fb115d = function(arg0) {
|
|
1136
|
-
const ret = new Date(arg0);
|
|
1137
|
-
return ret;
|
|
1138
|
-
};
|
|
1139
|
-
imports.wbg.__wbg_new_9edf9838a2def39c = function() { return handleError(function () {
|
|
1140
|
-
const ret = new Headers();
|
|
1141
|
-
return ret;
|
|
1142
|
-
}, arguments) };
|
|
1143
|
-
imports.wbg.__wbg_new_e17d9f43105b08be = function() {
|
|
1144
|
-
const ret = new Array();
|
|
1145
|
-
return ret;
|
|
1146
|
-
};
|
|
1147
|
-
imports.wbg.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
|
|
1148
|
-
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1149
|
-
return ret;
|
|
1150
|
-
};
|
|
1151
|
-
imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
|
|
1152
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1153
|
-
return ret;
|
|
1154
|
-
};
|
|
1155
|
-
imports.wbg.__wbg_new_with_args_02cbc439ce3fd7db = function(arg0, arg1, arg2, arg3) {
|
|
1156
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1157
|
-
return ret;
|
|
1158
|
-
};
|
|
1159
|
-
imports.wbg.__wbg_new_with_length_01aa0dc35aa13543 = function(arg0) {
|
|
1160
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
1161
|
-
return ret;
|
|
1162
|
-
};
|
|
1163
|
-
imports.wbg.__wbg_new_with_str_and_init_0ae7728b6ec367b1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1164
|
-
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1165
|
-
return ret;
|
|
1166
|
-
}, arguments) };
|
|
1167
|
-
imports.wbg.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
|
|
1168
|
-
const ret = arg0.next();
|
|
1169
|
-
return ret;
|
|
1170
|
-
}, arguments) };
|
|
1171
|
-
imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
|
|
1172
|
-
const ret = arg0.next;
|
|
1173
|
-
return ret;
|
|
1174
|
-
};
|
|
1175
|
-
imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
1176
|
-
const ret = arg0.node;
|
|
1177
|
-
return ret;
|
|
1178
|
-
};
|
|
1179
|
-
imports.wbg.__wbg_policyevaluationerror_new = function(arg0) {
|
|
1180
|
-
const ret = PolicyEvaluationError.__wrap(arg0);
|
|
1181
|
-
return ret;
|
|
1182
|
-
};
|
|
1183
|
-
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1184
|
-
const ret = arg0.process;
|
|
1185
|
-
return ret;
|
|
1186
|
-
};
|
|
1187
|
-
imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
|
|
1188
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1189
|
-
};
|
|
1190
|
-
imports.wbg.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
|
|
1191
|
-
const ret = arg0.push(arg1);
|
|
1192
|
-
return ret;
|
|
1193
|
-
};
|
|
1194
|
-
imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
|
|
1195
|
-
const ret = arg0.queueMicrotask;
|
|
1196
|
-
return ret;
|
|
1197
|
-
};
|
|
1198
|
-
imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
|
|
1199
|
-
queueMicrotask(arg0);
|
|
1200
|
-
};
|
|
1201
|
-
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1202
|
-
arg0.randomFillSync(arg1);
|
|
1203
|
-
}, arguments) };
|
|
1204
|
-
imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
1205
|
-
const ret = module.require;
|
|
1206
|
-
return ret;
|
|
1207
|
-
}, arguments) };
|
|
1208
|
-
imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
|
|
1209
|
-
const ret = Promise.resolve(arg0);
|
|
1210
|
-
return ret;
|
|
1211
|
-
};
|
|
1212
|
-
imports.wbg.__wbg_setTimeout_7bb3429662ab1e70 = function(arg0, arg1) {
|
|
1213
|
-
const ret = setTimeout(arg0, arg1);
|
|
1214
|
-
return ret;
|
|
1215
|
-
};
|
|
1216
|
-
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1217
|
-
arg0[arg1] = arg2;
|
|
1218
|
-
};
|
|
1219
|
-
imports.wbg.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
1220
|
-
const ret = arg0.set(arg1, arg2);
|
|
1221
|
-
return ret;
|
|
1222
|
-
};
|
|
1223
|
-
imports.wbg.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
|
|
1224
|
-
arg0.body = arg1;
|
|
1225
|
-
};
|
|
1226
|
-
imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
|
|
1227
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1228
|
-
};
|
|
1229
|
-
imports.wbg.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1230
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1231
|
-
return ret;
|
|
1232
|
-
}, arguments) };
|
|
1233
|
-
imports.wbg.__wbg_set_cache_2f9deb19b92b81e3 = function(arg0, arg1) {
|
|
1234
|
-
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1235
|
-
};
|
|
1236
|
-
imports.wbg.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
|
|
1237
|
-
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1238
|
-
};
|
|
1239
|
-
imports.wbg.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
|
|
1240
|
-
arg0.headers = arg1;
|
|
1241
|
-
};
|
|
1242
|
-
imports.wbg.__wbg_set_method_c02d8cbbe204ac2d = function(arg0, arg1, arg2) {
|
|
1243
|
-
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1244
|
-
};
|
|
1245
|
-
imports.wbg.__wbg_set_mode_52ef73cfa79639cb = function(arg0, arg1) {
|
|
1246
|
-
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1247
|
-
};
|
|
1248
|
-
imports.wbg.__wbg_set_signal_dda2cf7ccb6bee0f = function(arg0, arg1) {
|
|
1249
|
-
arg0.signal = arg1;
|
|
1250
|
-
};
|
|
1251
|
-
imports.wbg.__wbg_signal_4db5aa055bf9eb9a = function(arg0) {
|
|
1252
|
-
const ret = arg0.signal;
|
|
1253
|
-
return ret;
|
|
1254
|
-
};
|
|
1255
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
|
|
1256
|
-
const ret = typeof global === 'undefined' ? null : global;
|
|
1257
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1258
|
-
};
|
|
1259
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
|
|
1260
|
-
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1261
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1262
|
-
};
|
|
1263
|
-
imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
|
|
1264
|
-
const ret = typeof self === 'undefined' ? null : self;
|
|
1265
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1266
|
-
};
|
|
1267
|
-
imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
|
|
1268
|
-
const ret = typeof window === 'undefined' ? null : window;
|
|
1269
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1270
|
-
};
|
|
1271
|
-
imports.wbg.__wbg_status_de7eed5a7a5bfd5d = function(arg0) {
|
|
1272
|
-
const ret = arg0.status;
|
|
1273
|
-
return ret;
|
|
1274
|
-
};
|
|
1275
|
-
imports.wbg.__wbg_stringify_b5fb28f6465d9c3e = function() { return handleError(function (arg0) {
|
|
1276
|
-
const ret = JSON.stringify(arg0);
|
|
1277
|
-
return ret;
|
|
1278
|
-
}, arguments) };
|
|
1279
|
-
imports.wbg.__wbg_subarray_480600f3d6a9f26c = function(arg0, arg1, arg2) {
|
|
1280
|
-
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1281
|
-
return ret;
|
|
1282
|
-
};
|
|
1283
|
-
imports.wbg.__wbg_text_dc33c15c17bdfb52 = function() { return handleError(function (arg0) {
|
|
1284
|
-
const ret = arg0.text();
|
|
1285
|
-
return ret;
|
|
1286
|
-
}, arguments) };
|
|
1287
|
-
imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
|
|
1288
|
-
const ret = arg0.then(arg1);
|
|
1289
|
-
return ret;
|
|
1290
|
-
};
|
|
1291
|
-
imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
|
|
1292
|
-
const ret = arg0.then(arg1, arg2);
|
|
1293
|
-
return ret;
|
|
1294
|
-
};
|
|
1295
|
-
imports.wbg.__wbg_trace_15baa8999e3f2ed1 = function(arg0) {
|
|
1296
|
-
console.trace(...arg0);
|
|
1297
|
-
};
|
|
1298
|
-
imports.wbg.__wbg_url_b36d2a5008eb056f = function(arg0, arg1) {
|
|
1299
|
-
const ret = arg1.url;
|
|
1300
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1301
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1302
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1303
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1304
|
-
};
|
|
1305
|
-
imports.wbg.__wbg_value_692627309814bb8c = function(arg0) {
|
|
1306
|
-
const ret = arg0.value;
|
|
1307
|
-
return ret;
|
|
1308
|
-
};
|
|
1309
|
-
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1310
|
-
const ret = arg0.versions;
|
|
1311
|
-
return ret;
|
|
1312
|
-
};
|
|
1313
|
-
imports.wbg.__wbg_warn_a2d80c28bcdb1933 = function(arg0) {
|
|
1314
|
-
console.warn(...arg0);
|
|
1315
|
-
};
|
|
1316
|
-
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1317
|
-
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1318
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
1319
|
-
return ret;
|
|
1320
|
-
};
|
|
1321
|
-
imports.wbg.__wbindgen_cast_2fb66661e8d075cf = function(arg0, arg1) {
|
|
1322
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [Externref], shim_idx: 554, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1323
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8bb11a3ec59bf31f, wasm_bindgen__convert__closures_____invoke__h1c715d53d5a00020);
|
|
1324
|
-
return ret;
|
|
1325
|
-
};
|
|
1326
|
-
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1327
|
-
// Cast intrinsic for `U64 -> Externref`.
|
|
1328
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
1329
|
-
return ret;
|
|
1330
|
-
};
|
|
1331
|
-
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
1332
|
-
// Cast intrinsic for `I64 -> Externref`.
|
|
1333
|
-
const ret = arg0;
|
|
1334
|
-
return ret;
|
|
1335
|
-
};
|
|
1336
|
-
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
1337
|
-
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1338
|
-
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1339
|
-
return ret;
|
|
1340
|
-
};
|
|
1341
|
-
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
1342
|
-
// Cast intrinsic for `F64 -> Externref`.
|
|
1343
|
-
const ret = arg0;
|
|
1344
|
-
return ret;
|
|
1345
|
-
};
|
|
1346
|
-
imports.wbg.__wbindgen_cast_f0904d98c773eedb = function(arg0, arg1) {
|
|
1347
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 508, function: Function { arguments: [], shim_idx: 509, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1348
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha0787d3d14449f11, wasm_bindgen__convert__closures_____invoke__hf8ac7184f86fbcce);
|
|
1349
|
-
return ret;
|
|
1350
|
-
};
|
|
1351
|
-
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1352
|
-
const table = wasm.__wbindgen_externrefs;
|
|
1353
|
-
const offset = table.grow(4);
|
|
1354
|
-
table.set(0, undefined);
|
|
1355
|
-
table.set(offset + 0, undefined);
|
|
1356
|
-
table.set(offset + 1, null);
|
|
1357
|
-
table.set(offset + 2, true);
|
|
1358
|
-
table.set(offset + 3, false);
|
|
1359
|
-
;
|
|
1360
|
-
};
|
|
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) };
|
|
1361
1034
|
|
|
1362
|
-
|
|
1363
|
-
|
|
1035
|
+
exports.__wbg_authorizeresult_new = function(arg0) {
|
|
1036
|
+
const ret = AuthorizeResult.__wrap(arg0);
|
|
1037
|
+
return ret;
|
|
1038
|
+
};
|
|
1364
1039
|
|
|
1365
|
-
function
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
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) };
|
|
1370
1044
|
|
|
1045
|
+
exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
|
|
1046
|
+
const ret = arg0.call(arg1);
|
|
1047
|
+
return ret;
|
|
1048
|
+
}, arguments) };
|
|
1371
1049
|
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1050
|
+
exports.__wbg_cedarling_new = function(arg0) {
|
|
1051
|
+
const ret = Cedarling.__wrap(arg0);
|
|
1052
|
+
return ret;
|
|
1053
|
+
};
|
|
1375
1054
|
|
|
1376
|
-
function
|
|
1377
|
-
|
|
1055
|
+
exports.__wbg_clearTimeout_7a42b49784aea641 = function(arg0) {
|
|
1056
|
+
const ret = clearTimeout(arg0);
|
|
1057
|
+
return ret;
|
|
1058
|
+
};
|
|
1378
1059
|
|
|
1060
|
+
exports.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
1061
|
+
const ret = arg0.crypto;
|
|
1062
|
+
return ret;
|
|
1063
|
+
};
|
|
1379
1064
|
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
} else {
|
|
1384
|
-
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1065
|
+
exports.__wbg_debug_755c0800f64c9a88 = function(arg0) {
|
|
1066
|
+
console.debug(...arg0);
|
|
1067
|
+
};
|
|
1387
1068
|
|
|
1388
|
-
|
|
1069
|
+
exports.__wbg_done_2042aa2670fb1db1 = function(arg0) {
|
|
1070
|
+
const ret = arg0.done;
|
|
1071
|
+
return ret;
|
|
1072
|
+
};
|
|
1389
1073
|
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1074
|
+
exports.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
|
|
1075
|
+
const ret = Object.entries(arg0);
|
|
1076
|
+
return ret;
|
|
1077
|
+
};
|
|
1393
1078
|
|
|
1394
|
-
|
|
1079
|
+
exports.__wbg_entries_eb145c4da5c811f7 = function(arg0) {
|
|
1080
|
+
const ret = arg0.entries();
|
|
1081
|
+
return ret;
|
|
1082
|
+
};
|
|
1395
1083
|
|
|
1396
|
-
|
|
1397
|
-
|
|
1084
|
+
exports.__wbg_error_7a6b3e62969d4270 = function(arg0) {
|
|
1085
|
+
console.error(...arg0);
|
|
1086
|
+
};
|
|
1398
1087
|
|
|
1399
|
-
|
|
1400
|
-
|
|
1088
|
+
exports.__wbg_fetch_74a3e84ebd2c9a0e = function(arg0) {
|
|
1089
|
+
const ret = fetch(arg0);
|
|
1090
|
+
return ret;
|
|
1091
|
+
};
|
|
1401
1092
|
|
|
1093
|
+
exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
|
|
1094
|
+
const ret = arg0.fetch(arg1);
|
|
1095
|
+
return ret;
|
|
1096
|
+
};
|
|
1402
1097
|
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1098
|
+
exports.__wbg_fromEntries_c7159f3787268c9f = function() { return handleError(function (arg0) {
|
|
1099
|
+
const ret = Object.fromEntries(arg0);
|
|
1100
|
+
return ret;
|
|
1101
|
+
}, arguments) };
|
|
1102
|
+
|
|
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;
|
|
1156
|
+
}
|
|
1157
|
+
const ret = result;
|
|
1158
|
+
return ret;
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
exports.__wbg_instanceof_Array_fca44e0f4a7f6240 = function(arg0) {
|
|
1162
|
+
let result;
|
|
1163
|
+
try {
|
|
1164
|
+
result = arg0 instanceof Array;
|
|
1165
|
+
} catch (_) {
|
|
1166
|
+
result = false;
|
|
1167
|
+
}
|
|
1168
|
+
const ret = result;
|
|
1169
|
+
return ret;
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
|
|
1173
|
+
let result;
|
|
1174
|
+
try {
|
|
1175
|
+
result = arg0 instanceof Map;
|
|
1176
|
+
} catch (_) {
|
|
1177
|
+
result = false;
|
|
1409
1178
|
}
|
|
1179
|
+
const ret = result;
|
|
1180
|
+
return ret;
|
|
1181
|
+
};
|
|
1410
1182
|
|
|
1411
|
-
|
|
1412
|
-
|
|
1183
|
+
exports.__wbg_instanceof_Response_f4f3e87e07f3135c = function(arg0) {
|
|
1184
|
+
let result;
|
|
1185
|
+
try {
|
|
1186
|
+
result = arg0 instanceof Response;
|
|
1187
|
+
} catch (_) {
|
|
1188
|
+
result = false;
|
|
1413
1189
|
}
|
|
1414
|
-
const
|
|
1190
|
+
const ret = result;
|
|
1191
|
+
return ret;
|
|
1192
|
+
};
|
|
1415
1193
|
|
|
1416
|
-
|
|
1417
|
-
|
|
1194
|
+
exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
|
|
1195
|
+
let result;
|
|
1196
|
+
try {
|
|
1197
|
+
result = arg0 instanceof Uint8Array;
|
|
1198
|
+
} catch (_) {
|
|
1199
|
+
result = false;
|
|
1418
1200
|
}
|
|
1201
|
+
const ret = result;
|
|
1202
|
+
return ret;
|
|
1203
|
+
};
|
|
1419
1204
|
|
|
1420
|
-
|
|
1205
|
+
exports.__wbg_isArray_96e0af9891d0945d = function(arg0) {
|
|
1206
|
+
const ret = Array.isArray(arg0);
|
|
1207
|
+
return ret;
|
|
1208
|
+
};
|
|
1421
1209
|
|
|
1422
|
-
|
|
1423
|
-
|
|
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__h4b59ba169ea05287(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_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1523
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1524
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1525
|
+
return ret;
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1529
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
1530
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1531
|
+
return ret;
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1534
|
+
exports.__wbindgen_cast_7476ec76802be9a6 = function(arg0, arg1) {
|
|
1535
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 520, function: Function { arguments: [], shim_idx: 521, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1536
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h412f0562fcad9c84, wasm_bindgen__convert__closures_____invoke__hb85a0d6bfa2beadc);
|
|
1537
|
+
return ret;
|
|
1538
|
+
};
|
|
1539
|
+
|
|
1540
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
1541
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
1542
|
+
const ret = arg0;
|
|
1543
|
+
return ret;
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
1547
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1548
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1549
|
+
return ret;
|
|
1550
|
+
};
|
|
1551
|
+
|
|
1552
|
+
exports.__wbindgen_cast_d13a751f153ef52c = function(arg0, arg1) {
|
|
1553
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 565, function: Function { arguments: [Externref], shim_idx: 566, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1554
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8bb11a3ec59bf31f, wasm_bindgen__convert__closures_____invoke__h1c715d53d5a00020);
|
|
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();
|
|
1424
1581
|
|
|
1425
|
-
export { initSync };
|
|
1426
|
-
export default __wbg_init;
|