@learncard/didkit-plugin 1.5.35 → 1.5.37

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.
@@ -3,6 +3,7 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
3
3
 
4
4
  // src/didkit/pkg/didkit_wasm.js
5
5
  var wasm;
6
+ var WASM_VECTOR_LEN = 0;
6
7
  var cachedUint8ArrayMemory0 = null;
7
8
  function getUint8ArrayMemory0() {
8
9
  if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
@@ -11,32 +12,6 @@ function getUint8ArrayMemory0() {
11
12
  return cachedUint8ArrayMemory0;
12
13
  }
13
14
  __name(getUint8ArrayMemory0, "getUint8ArrayMemory0");
14
- var cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
15
- throw Error("TextDecoder not available");
16
- } };
17
- if (typeof TextDecoder !== "undefined") {
18
- cachedTextDecoder.decode();
19
- }
20
- var MAX_SAFARI_DECODE_BYTES = 2146435072;
21
- var numBytesDecoded = 0;
22
- function decodeText(ptr, len) {
23
- numBytesDecoded += len;
24
- if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
25
- cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
26
- throw Error("TextDecoder not available");
27
- } };
28
- cachedTextDecoder.decode();
29
- numBytesDecoded = len;
30
- }
31
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
32
- }
33
- __name(decodeText, "decodeText");
34
- function getStringFromWasm0(ptr, len) {
35
- ptr = ptr >>> 0;
36
- return decodeText(ptr, len);
37
- }
38
- __name(getStringFromWasm0, "getStringFromWasm0");
39
- var WASM_VECTOR_LEN = 0;
40
15
  var cachedTextEncoder = typeof TextEncoder !== "undefined" ? new TextEncoder("utf-8") : { encode: () => {
41
16
  throw Error("TextEncoder not available");
42
17
  } };
@@ -90,6 +65,17 @@ function getDataViewMemory0() {
90
65
  return cachedDataViewMemory0;
91
66
  }
92
67
  __name(getDataViewMemory0, "getDataViewMemory0");
68
+ var cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
69
+ throw Error("TextDecoder not available");
70
+ } };
71
+ if (typeof TextDecoder !== "undefined") {
72
+ cachedTextDecoder.decode();
73
+ }
74
+ function getStringFromWasm0(ptr, len) {
75
+ ptr = ptr >>> 0;
76
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
77
+ }
78
+ __name(getStringFromWasm0, "getStringFromWasm0");
93
79
  function addToExternrefTable0(obj) {
94
80
  const idx = wasm.__externref_table_alloc();
95
81
  wasm.__wbindgen_export_4.set(idx, obj);
@@ -114,6 +100,33 @@ function isLikeNone(x) {
114
100
  return x === void 0 || x === null;
115
101
  }
116
102
  __name(isLikeNone, "isLikeNone");
103
+ var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {
104
+ }, unregister: () => {
105
+ } } : new FinalizationRegistry((state) => {
106
+ wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
107
+ });
108
+ function makeMutClosure(arg0, arg1, dtor, f) {
109
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
110
+ const real = /* @__PURE__ */ __name((...args) => {
111
+ state.cnt++;
112
+ const a = state.a;
113
+ state.a = 0;
114
+ try {
115
+ return f(a, state.b, ...args);
116
+ } finally {
117
+ if (--state.cnt === 0) {
118
+ wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
119
+ CLOSURE_DTORS.unregister(state);
120
+ } else {
121
+ state.a = a;
122
+ }
123
+ }
124
+ }, "real");
125
+ real.original = state;
126
+ CLOSURE_DTORS.register(real, state, state);
127
+ return real;
128
+ }
129
+ __name(makeMutClosure, "makeMutClosure");
117
130
  function debugString(val) {
118
131
  const type = typeof val;
119
132
  if (type == "number" || type == "boolean" || val == null) {
@@ -171,35 +184,6 @@ ${val.stack}`;
171
184
  return className;
172
185
  }
173
186
  __name(debugString, "debugString");
174
- var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {
175
- }, unregister: () => {
176
- } } : new FinalizationRegistry(
177
- (state) => {
178
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
179
- }
180
- );
181
- function makeMutClosure(arg0, arg1, dtor, f) {
182
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
183
- const real = /* @__PURE__ */ __name((...args) => {
184
- state.cnt++;
185
- const a = state.a;
186
- state.a = 0;
187
- try {
188
- return f(a, state.b, ...args);
189
- } finally {
190
- if (--state.cnt === 0) {
191
- wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
192
- CLOSURE_DTORS.unregister(state);
193
- } else {
194
- state.a = a;
195
- }
196
- }
197
- }, "real");
198
- real.original = state;
199
- CLOSURE_DTORS.register(real, state, state);
200
- return real;
201
- }
202
- __name(makeMutClosure, "makeMutClosure");
203
187
  function clearCache() {
204
188
  const ret = wasm.clearCache();
205
189
  return ret;
@@ -419,25 +403,23 @@ function contextLoader(url) {
419
403
  return ret;
420
404
  }
421
405
  __name(contextLoader, "contextLoader");
422
- function __wbg_adapter_10(arg0, arg1, arg2) {
423
- wasm.closure4202_externref_shim(arg0, arg1, arg2);
406
+ function __wbg_adapter_54(arg0, arg1, arg2) {
407
+ wasm.closure4184_externref_shim(arg0, arg1, arg2);
424
408
  }
425
- __name(__wbg_adapter_10, "__wbg_adapter_10");
426
- function __wbg_adapter_188(arg0, arg1, arg2, arg3) {
427
- wasm.closure4602_externref_shim(arg0, arg1, arg2, arg3);
409
+ __name(__wbg_adapter_54, "__wbg_adapter_54");
410
+ function __wbg_adapter_222(arg0, arg1, arg2, arg3) {
411
+ wasm.closure4586_externref_shim(arg0, arg1, arg2, arg3);
428
412
  }
429
- __name(__wbg_adapter_188, "__wbg_adapter_188");
413
+ __name(__wbg_adapter_222, "__wbg_adapter_222");
430
414
  var __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
431
415
  var __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
432
- var EXPECTED_RESPONSE_TYPES = /* @__PURE__ */ new Set(["basic", "cors", "default"]);
433
416
  async function __wbg_load(module2, imports) {
434
417
  if (typeof Response === "function" && module2 instanceof Response) {
435
418
  if (typeof WebAssembly.instantiateStreaming === "function") {
436
419
  try {
437
420
  return await WebAssembly.instantiateStreaming(module2, imports);
438
421
  } catch (e) {
439
- const validResponse = module2.ok && EXPECTED_RESPONSE_TYPES.has(module2.type);
440
- if (validResponse && module2.headers.get("Content-Type") !== "application/wasm") {
422
+ if (module2.headers.get("Content-Type") != "application/wasm") {
441
423
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
442
424
  } else {
443
425
  throw e;
@@ -459,10 +441,6 @@ __name(__wbg_load, "__wbg_load");
459
441
  function __wbg_get_imports() {
460
442
  const imports = {};
461
443
  imports.wbg = {};
462
- imports.wbg.__wbg_Error_1f3748b298f99708 = function(arg0, arg1) {
463
- const ret = Error(getStringFromWasm0(arg0, arg1));
464
- return ret;
465
- };
466
444
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
467
445
  const ret = String(arg1);
468
446
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -470,27 +448,31 @@ function __wbg_get_imports() {
470
448
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
471
449
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
472
450
  };
473
- imports.wbg.__wbg_abort_6665281623826052 = function(arg0) {
451
+ imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
474
452
  arg0.abort();
475
453
  };
476
- imports.wbg.__wbg_append_3e86b0cd6215edd8 = function() {
454
+ imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() {
477
455
  return handleError(function(arg0, arg1, arg2, arg3, arg4) {
478
456
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
479
457
  }, arguments);
480
458
  };
481
- imports.wbg.__wbg_arrayBuffer_55e4a430671abfd8 = function() {
459
+ imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() {
482
460
  return handleError(function(arg0) {
483
461
  const ret = arg0.arrayBuffer();
484
462
  return ret;
485
463
  }, arguments);
486
464
  };
487
- imports.wbg.__wbg_call_2f8d426a20a307fe = function() {
465
+ imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
466
+ const ret = arg0.buffer;
467
+ return ret;
468
+ };
469
+ imports.wbg.__wbg_call_672a4d21634d4a24 = function() {
488
470
  return handleError(function(arg0, arg1) {
489
471
  const ret = arg0.call(arg1);
490
472
  return ret;
491
473
  }, arguments);
492
474
  };
493
- imports.wbg.__wbg_call_f53f0647ceb9c567 = function() {
475
+ imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() {
494
476
  return handleError(function(arg0, arg1, arg2) {
495
477
  const ret = arg0.call(arg1, arg2);
496
478
  return ret;
@@ -504,15 +486,15 @@ function __wbg_get_imports() {
504
486
  const ret = arg0.crypto;
505
487
  return ret;
506
488
  };
507
- imports.wbg.__wbg_done_4a7743b6f942c9f3 = function(arg0) {
489
+ imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
508
490
  const ret = arg0.done;
509
491
  return ret;
510
492
  };
511
- imports.wbg.__wbg_entries_17f7acbc2d691c0d = function(arg0) {
493
+ imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
512
494
  const ret = Object.entries(arg0);
513
495
  return ret;
514
496
  };
515
- imports.wbg.__wbg_fetch_9885d2e26ad251bb = function(arg0, arg1) {
497
+ imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
516
498
  const ret = arg0.fetch(arg1);
517
499
  return ret;
518
500
  };
@@ -520,7 +502,7 @@ function __wbg_get_imports() {
520
502
  const ret = fetch(arg0);
521
503
  return ret;
522
504
  };
523
- imports.wbg.__wbg_from_237b1ad767238d8b = function(arg0) {
505
+ imports.wbg.__wbg_from_2a5d3e218e67aa85 = function(arg0) {
524
506
  const ret = Array.from(arg0);
525
507
  return ret;
526
508
  };
@@ -541,31 +523,31 @@ function __wbg_get_imports() {
541
523
  arg0.getRandomValues(arg1);
542
524
  }, arguments);
543
525
  };
544
- imports.wbg.__wbg_getTime_5b1dd03bb6d4b784 = function(arg0) {
526
+ imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
545
527
  const ret = arg0.getTime();
546
528
  return ret;
547
529
  };
548
- imports.wbg.__wbg_get_27b4bcbec57323ca = function() {
530
+ imports.wbg.__wbg_get_67b2ba62fc30de12 = function() {
549
531
  return handleError(function(arg0, arg1) {
550
532
  const ret = Reflect.get(arg0, arg1);
551
533
  return ret;
552
534
  }, arguments);
553
535
  };
554
- imports.wbg.__wbg_get_59c6316d15f9f1d0 = function(arg0, arg1) {
536
+ imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
555
537
  const ret = arg0[arg1 >>> 0];
556
538
  return ret;
557
539
  };
558
- imports.wbg.__wbg_has_85abdd8aeb8edebf = function() {
540
+ imports.wbg.__wbg_has_a5ea9117f258a0ec = function() {
559
541
  return handleError(function(arg0, arg1) {
560
542
  const ret = Reflect.has(arg0, arg1);
561
543
  return ret;
562
544
  }, arguments);
563
545
  };
564
- imports.wbg.__wbg_headers_177bc880a5823968 = function(arg0) {
546
+ imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
565
547
  const ret = arg0.headers;
566
548
  return ret;
567
549
  };
568
- imports.wbg.__wbg_instanceof_ArrayBuffer_59339a3a6f0c10ea = function(arg0) {
550
+ imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
569
551
  let result;
570
552
  try {
571
553
  result = arg0 instanceof ArrayBuffer;
@@ -575,7 +557,7 @@ function __wbg_get_imports() {
575
557
  const ret = result;
576
558
  return ret;
577
559
  };
578
- imports.wbg.__wbg_instanceof_Map_dd89a82d76d1b25f = function(arg0) {
560
+ imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
579
561
  let result;
580
562
  try {
581
563
  result = arg0 instanceof Map;
@@ -585,7 +567,7 @@ function __wbg_get_imports() {
585
567
  const ret = result;
586
568
  return ret;
587
569
  };
588
- imports.wbg.__wbg_instanceof_Response_0ab386c6818f788a = function(arg0) {
570
+ imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
589
571
  let result;
590
572
  try {
591
573
  result = arg0 instanceof Response;
@@ -595,7 +577,7 @@ function __wbg_get_imports() {
595
577
  const ret = result;
596
578
  return ret;
597
579
  };
598
- imports.wbg.__wbg_instanceof_Uint8Array_91f3c5adee7e6672 = function(arg0) {
580
+ imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
599
581
  let result;
600
582
  try {
601
583
  result = arg0 instanceof Uint8Array;
@@ -605,27 +587,27 @@ function __wbg_get_imports() {
605
587
  const ret = result;
606
588
  return ret;
607
589
  };
608
- imports.wbg.__wbg_isArray_bc2498eba6fcb71f = function(arg0) {
590
+ imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
609
591
  const ret = Array.isArray(arg0);
610
592
  return ret;
611
593
  };
612
- imports.wbg.__wbg_isSafeInteger_6091d6e3ee1b65fd = function(arg0) {
594
+ imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
613
595
  const ret = Number.isSafeInteger(arg0);
614
596
  return ret;
615
597
  };
616
- imports.wbg.__wbg_iterator_96378c3c9a17347c = function() {
598
+ imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
617
599
  const ret = Symbol.iterator;
618
600
  return ret;
619
601
  };
620
- imports.wbg.__wbg_keys_7eff209f4f3c9f17 = function(arg0) {
602
+ imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
621
603
  const ret = Object.keys(arg0);
622
604
  return ret;
623
605
  };
624
- imports.wbg.__wbg_length_246fa1f85a0dea5b = function(arg0) {
606
+ imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
625
607
  const ret = arg0.length;
626
608
  return ret;
627
609
  };
628
- imports.wbg.__wbg_length_904c0910ed998bf3 = function(arg0) {
610
+ imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
629
611
  const ret = arg0.length;
630
612
  return ret;
631
613
  };
@@ -637,42 +619,24 @@ function __wbg_get_imports() {
637
619
  const ret = arg0.msCrypto;
638
620
  return ret;
639
621
  };
640
- imports.wbg.__wbg_new0_85cc856927102294 = function() {
622
+ imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
641
623
  const ret = new Date();
642
624
  return ret;
643
625
  };
644
- imports.wbg.__wbg_new_12588505388d0897 = function() {
626
+ imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() {
645
627
  return handleError(function() {
646
628
  const ret = new Headers();
647
629
  return ret;
648
630
  }, arguments);
649
631
  };
650
- imports.wbg.__wbg_new_1930cbb8d9ffc31b = function() {
651
- const ret = new Object();
652
- return ret;
653
- };
654
- imports.wbg.__wbg_new_56407f99198feff7 = function() {
655
- const ret = /* @__PURE__ */ new Map();
656
- return ret;
657
- };
658
- imports.wbg.__wbg_new_6a8b180049d9484e = function() {
659
- return handleError(function() {
660
- const ret = new AbortController();
661
- return ret;
662
- }, arguments);
663
- };
664
- imports.wbg.__wbg_new_9190433fb67ed635 = function(arg0) {
665
- const ret = new Uint8Array(arg0);
666
- return ret;
667
- };
668
- imports.wbg.__wbg_new_d5e3800b120e37e1 = function(arg0, arg1) {
632
+ imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
669
633
  try {
670
634
  var state0 = { a: arg0, b: arg1 };
671
635
  var cb0 = /* @__PURE__ */ __name((arg02, arg12) => {
672
636
  const a = state0.a;
673
637
  state0.a = 0;
674
638
  try {
675
- return __wbg_adapter_188(a, state0.b, arg02, arg12);
639
+ return __wbg_adapter_222(a, state0.b, arg02, arg12);
676
640
  } finally {
677
641
  state0.a = a;
678
642
  }
@@ -683,43 +647,61 @@ function __wbg_get_imports() {
683
647
  state0.a = state0.b = 0;
684
648
  }
685
649
  };
686
- imports.wbg.__wbg_new_e969dc3f68d25093 = function() {
650
+ imports.wbg.__wbg_new_405e22f390576ce2 = function() {
651
+ const ret = new Object();
652
+ return ret;
653
+ };
654
+ imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
655
+ const ret = /* @__PURE__ */ new Map();
656
+ return ret;
657
+ };
658
+ imports.wbg.__wbg_new_78feb108b6472713 = function() {
687
659
  const ret = new Array();
688
660
  return ret;
689
661
  };
690
- imports.wbg.__wbg_newfromslice_d0d56929c6d9c842 = function(arg0, arg1) {
691
- const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
662
+ imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
663
+ const ret = new Uint8Array(arg0);
692
664
  return ret;
693
665
  };
694
- imports.wbg.__wbg_newnoargs_a81330f6e05d8aca = function(arg0, arg1) {
666
+ imports.wbg.__wbg_new_e25e5aab09ff45db = function() {
667
+ return handleError(function() {
668
+ const ret = new AbortController();
669
+ return ret;
670
+ }, arguments);
671
+ };
672
+ imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
695
673
  const ret = new Function(getStringFromWasm0(arg0, arg1));
696
674
  return ret;
697
675
  };
698
- imports.wbg.__wbg_newwithlength_ed0ee6c1edca86fc = function(arg0) {
676
+ imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
677
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
678
+ return ret;
679
+ };
680
+ imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
699
681
  const ret = new Uint8Array(arg0 >>> 0);
700
682
  return ret;
701
683
  };
702
- imports.wbg.__wbg_newwithstrandinit_e8e22e9851f3c2fe = function() {
684
+ imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() {
703
685
  return handleError(function(arg0, arg1, arg2) {
704
686
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
705
687
  return ret;
706
688
  }, arguments);
707
689
  };
708
- imports.wbg.__wbg_next_2e6b37020ac5fe58 = function() {
690
+ imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
691
+ const ret = arg0.next;
692
+ return ret;
693
+ };
694
+ imports.wbg.__wbg_next_6574e1a8a62d1055 = function() {
709
695
  return handleError(function(arg0) {
710
696
  const ret = arg0.next();
711
697
  return ret;
712
698
  }, arguments);
713
699
  };
714
- imports.wbg.__wbg_next_3de8f2669431a3ff = function(arg0) {
715
- const ret = arg0.next;
716
- return ret;
717
- };
718
700
  imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
719
701
  const ret = arg0.node;
720
702
  return ret;
721
703
  };
722
- imports.wbg.__wbg_now_1f875e5cd673bc3c = function(arg0) {
704
+ imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
723
705
  const ret = arg0.now();
724
706
  return ret;
725
707
  };
@@ -727,20 +709,17 @@ function __wbg_get_imports() {
727
709
  const ret = arg0.process;
728
710
  return ret;
729
711
  };
730
- imports.wbg.__wbg_prototypesetcall_c5f74efd31aea86b = function(arg0, arg1, arg2) {
731
- Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
732
- };
733
- imports.wbg.__wbg_push_cd3ac7d5b094565d = function(arg0, arg1) {
712
+ imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
734
713
  const ret = arg0.push(arg1);
735
714
  return ret;
736
715
  };
737
- imports.wbg.__wbg_queueMicrotask_bcc6e26d899696db = function(arg0) {
716
+ imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
717
+ queueMicrotask(arg0);
718
+ };
719
+ imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
738
720
  const ret = arg0.queueMicrotask;
739
721
  return ret;
740
722
  };
741
- imports.wbg.__wbg_queueMicrotask_f24a794d09c42640 = function(arg0) {
742
- queueMicrotask(arg0);
743
- };
744
723
  imports.wbg.__wbg_randomFillSync_994ac6d9ade7a695 = function(arg0, arg1, arg2) {
745
724
  arg0.randomFillSync(getArrayU8FromWasm0(arg1, arg2));
746
725
  };
@@ -759,7 +738,7 @@ function __wbg_get_imports() {
759
738
  return ret;
760
739
  }, arguments);
761
740
  };
762
- imports.wbg.__wbg_resolve_5775c0ef9222f556 = function(arg0) {
741
+ imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
763
742
  const ret = Promise.resolve(arg0);
764
743
  return ret;
765
744
  };
@@ -769,52 +748,52 @@ function __wbg_get_imports() {
769
748
  return ret;
770
749
  }, arguments);
771
750
  };
772
- imports.wbg.__wbg_set_1d5fe1e3f51a48d8 = function(arg0, arg1, arg2) {
773
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
774
- };
775
- imports.wbg.__wbg_set_31197016f65a6a19 = function(arg0, arg1, arg2) {
776
- const ret = arg0.set(arg1, arg2);
777
- return ret;
751
+ imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
752
+ arg0[arg1 >>> 0] = arg2;
778
753
  };
779
754
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
780
755
  arg0[arg1] = arg2;
781
756
  };
782
- imports.wbg.__wbg_set_b33e7a98099eed58 = function() {
757
+ imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
758
+ arg0.set(arg1, arg2 >>> 0);
759
+ };
760
+ imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
761
+ const ret = arg0.set(arg1, arg2);
762
+ return ret;
763
+ };
764
+ imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() {
783
765
  return handleError(function(arg0, arg1, arg2) {
784
766
  const ret = Reflect.set(arg0, arg1, arg2);
785
767
  return ret;
786
768
  }, arguments);
787
769
  };
788
- imports.wbg.__wbg_set_d636a0463acf1dbc = function(arg0, arg1, arg2) {
789
- arg0[arg1 >>> 0] = arg2;
790
- };
791
- imports.wbg.__wbg_setbody_e324371c31597f2a = function(arg0, arg1) {
770
+ imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
792
771
  arg0.body = arg1;
793
772
  };
794
- imports.wbg.__wbg_setcredentials_55a9317ed2777533 = function(arg0, arg1) {
773
+ imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
795
774
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
796
775
  };
797
- imports.wbg.__wbg_setheaders_ac0b1e4890a949cd = function(arg0, arg1) {
776
+ imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
798
777
  arg0.headers = arg1;
799
778
  };
800
- imports.wbg.__wbg_setmethod_9ce6e95af1ae0eaf = function(arg0, arg1, arg2) {
779
+ imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
801
780
  arg0.method = getStringFromWasm0(arg1, arg2);
802
781
  };
803
- imports.wbg.__wbg_setmode_b89d1784e7e7f118 = function(arg0, arg1) {
782
+ imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
804
783
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
805
784
  };
806
- imports.wbg.__wbg_setsignal_e663c6d962763cd5 = function(arg0, arg1) {
785
+ imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
807
786
  arg0.signal = arg1;
808
787
  };
809
- imports.wbg.__wbg_signal_bdb003fe19e53a13 = function(arg0) {
788
+ imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
810
789
  const ret = arg0.signal;
811
790
  return ret;
812
791
  };
813
- imports.wbg.__wbg_static_accessor_GLOBAL_1f13249cc3acc96d = function() {
792
+ imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
814
793
  const ret = typeof global === "undefined" ? null : global;
815
794
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
816
795
  };
817
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_df7ae94b1e0ed6a3 = function() {
796
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
818
797
  const ret = typeof globalThis === "undefined" ? null : globalThis;
819
798
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
820
799
  };
@@ -822,44 +801,44 @@ function __wbg_get_imports() {
822
801
  const ret = module;
823
802
  return ret;
824
803
  };
825
- imports.wbg.__wbg_static_accessor_SELF_6265471db3b3c228 = function() {
804
+ imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
826
805
  const ret = typeof self === "undefined" ? null : self;
827
806
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
828
807
  };
829
- imports.wbg.__wbg_static_accessor_WINDOW_16fb482f8ec52863 = function() {
808
+ imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
830
809
  const ret = typeof window === "undefined" ? null : window;
831
810
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
832
811
  };
833
- imports.wbg.__wbg_status_31874648c8651949 = function(arg0) {
812
+ imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
834
813
  const ret = arg0.status;
835
814
  return ret;
836
815
  };
837
- imports.wbg.__wbg_stringify_1f41b6198e0932e0 = function() {
816
+ imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() {
838
817
  return handleError(function(arg0) {
839
818
  const ret = JSON.stringify(arg0);
840
819
  return ret;
841
820
  }, arguments);
842
821
  };
843
- imports.wbg.__wbg_subarray_a219824899e59712 = function(arg0, arg1, arg2) {
822
+ imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
844
823
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
845
824
  return ret;
846
825
  };
847
- imports.wbg.__wbg_then_8d2fcccde5380a03 = function(arg0, arg1, arg2) {
848
- const ret = arg0.then(arg1, arg2);
826
+ imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
827
+ const ret = arg0.then(arg1);
849
828
  return ret;
850
829
  };
851
- imports.wbg.__wbg_then_9cc266be2bf537b6 = function(arg0, arg1) {
852
- const ret = arg0.then(arg1);
830
+ imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
831
+ const ret = arg0.then(arg1, arg2);
853
832
  return ret;
854
833
  };
855
- imports.wbg.__wbg_url_d5273b9e10503471 = function(arg0, arg1) {
834
+ imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
856
835
  const ret = arg1.url;
857
836
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
858
837
  const len1 = WASM_VECTOR_LEN;
859
838
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
860
839
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
861
840
  };
862
- imports.wbg.__wbg_value_09d0b4eaab48b91d = function(arg0) {
841
+ imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
863
842
  const ret = arg0.value;
864
843
  return ret;
865
844
  };
@@ -867,18 +846,30 @@ function __wbg_get_imports() {
867
846
  const ret = arg0.versions;
868
847
  return ret;
869
848
  };
870
- imports.wbg.__wbg_wbindgenbigintgetasi64_7637cb1a7fb9a81e = function(arg0, arg1) {
849
+ imports.wbg.__wbindgen_bigint_from_i128 = function(arg0, arg1) {
850
+ const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1);
851
+ return ret;
852
+ };
853
+ imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
854
+ const ret = arg0;
855
+ return ret;
856
+ };
857
+ imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
858
+ const ret = BigInt.asUintN(64, arg0);
859
+ return ret;
860
+ };
861
+ imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
871
862
  const v = arg1;
872
863
  const ret = typeof v === "bigint" ? v : void 0;
873
864
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
874
865
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
875
866
  };
876
- imports.wbg.__wbg_wbindgenbooleanget_59f830b1a70d2530 = function(arg0) {
867
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
877
868
  const v = arg0;
878
- const ret = typeof v === "boolean" ? v : void 0;
879
- return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
869
+ const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
870
+ return ret;
880
871
  };
881
- imports.wbg.__wbg_wbindgencbdrop_a85ed476c6a370b9 = function(arg0) {
872
+ imports.wbg.__wbindgen_cb_drop = function(arg0) {
882
873
  const obj = arg0.original;
883
874
  if (obj.cnt-- == 1) {
884
875
  obj.a = 0;
@@ -887,57 +878,83 @@ function __wbg_get_imports() {
887
878
  const ret = false;
888
879
  return ret;
889
880
  };
890
- imports.wbg.__wbg_wbindgendebugstring_bb652b1bc2061b6d = function(arg0, arg1) {
881
+ imports.wbg.__wbindgen_closure_wrapper12250 = function(arg0, arg1, arg2) {
882
+ const ret = makeMutClosure(arg0, arg1, 4185, __wbg_adapter_54);
883
+ return ret;
884
+ };
885
+ imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
891
886
  const ret = debugString(arg1);
892
887
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
893
888
  const len1 = WASM_VECTOR_LEN;
894
889
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
895
890
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
896
891
  };
897
- imports.wbg.__wbg_wbindgenin_192b210aa1c401e9 = function(arg0, arg1) {
892
+ imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
893
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
894
+ return ret;
895
+ };
896
+ imports.wbg.__wbindgen_in = function(arg0, arg1) {
898
897
  const ret = arg0 in arg1;
899
898
  return ret;
900
899
  };
901
- imports.wbg.__wbg_wbindgenisbigint_7d76a1ca6454e439 = function(arg0) {
900
+ imports.wbg.__wbindgen_init_externref_table = function() {
901
+ const table = wasm.__wbindgen_export_4;
902
+ const offset = table.grow(4);
903
+ table.set(0, void 0);
904
+ table.set(offset + 0, void 0);
905
+ table.set(offset + 1, null);
906
+ table.set(offset + 2, true);
907
+ table.set(offset + 3, false);
908
+ ;
909
+ };
910
+ imports.wbg.__wbindgen_is_bigint = function(arg0) {
902
911
  const ret = typeof arg0 === "bigint";
903
912
  return ret;
904
913
  };
905
- imports.wbg.__wbg_wbindgenisfunction_ea72b9d66a0e1705 = function(arg0) {
914
+ imports.wbg.__wbindgen_is_function = function(arg0) {
906
915
  const ret = typeof arg0 === "function";
907
916
  return ret;
908
917
  };
909
- imports.wbg.__wbg_wbindgenisnull_e1388bbe88158c3f = function(arg0) {
918
+ imports.wbg.__wbindgen_is_null = function(arg0) {
910
919
  const ret = arg0 === null;
911
920
  return ret;
912
921
  };
913
- imports.wbg.__wbg_wbindgenisobject_dfe064a121d87553 = function(arg0) {
922
+ imports.wbg.__wbindgen_is_object = function(arg0) {
914
923
  const val = arg0;
915
924
  const ret = typeof val === "object" && val !== null;
916
925
  return ret;
917
926
  };
918
- imports.wbg.__wbg_wbindgenisstring_4b74e4111ba029e6 = function(arg0) {
927
+ imports.wbg.__wbindgen_is_string = function(arg0) {
919
928
  const ret = typeof arg0 === "string";
920
929
  return ret;
921
930
  };
922
- imports.wbg.__wbg_wbindgenisundefined_71f08a6ade4354e7 = function(arg0) {
931
+ imports.wbg.__wbindgen_is_undefined = function(arg0) {
923
932
  const ret = arg0 === void 0;
924
933
  return ret;
925
934
  };
926
- imports.wbg.__wbg_wbindgenjsvaleq_f27272c0a890df7f = function(arg0, arg1) {
935
+ imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
927
936
  const ret = arg0 === arg1;
928
937
  return ret;
929
938
  };
930
- imports.wbg.__wbg_wbindgenjsvallooseeq_9dd7bb4b95ac195c = function(arg0, arg1) {
939
+ imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
931
940
  const ret = arg0 == arg1;
932
941
  return ret;
933
942
  };
934
- imports.wbg.__wbg_wbindgennumberget_d855f947247a3fbc = function(arg0, arg1) {
943
+ imports.wbg.__wbindgen_memory = function() {
944
+ const ret = wasm.memory;
945
+ return ret;
946
+ };
947
+ imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
935
948
  const obj = arg1;
936
949
  const ret = typeof obj === "number" ? obj : void 0;
937
950
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
938
951
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
939
952
  };
940
- imports.wbg.__wbg_wbindgenstringget_43fe05afe34b0cb1 = function(arg0, arg1) {
953
+ imports.wbg.__wbindgen_number_new = function(arg0) {
954
+ const ret = arg0;
955
+ return ret;
956
+ };
957
+ imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
941
958
  const obj = arg1;
942
959
  const ret = typeof obj === "string" ? obj : void 0;
943
960
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -945,46 +962,12 @@ function __wbg_get_imports() {
945
962
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
946
963
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
947
964
  };
948
- imports.wbg.__wbg_wbindgenthrow_4c11a24fca429ccf = function(arg0, arg1) {
949
- throw new Error(getStringFromWasm0(arg0, arg1));
950
- };
951
- imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
965
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
952
966
  const ret = getStringFromWasm0(arg0, arg1);
953
967
  return ret;
954
968
  };
955
- imports.wbg.__wbindgen_cast_2ddd8a25ff58642a = function(arg0, arg1) {
956
- const ret = BigInt.asUintN(64, arg0) | arg1 << BigInt(64);
957
- return ret;
958
- };
959
- imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
960
- const ret = BigInt.asUintN(64, arg0);
961
- return ret;
962
- };
963
- imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
964
- const ret = arg0;
965
- return ret;
966
- };
967
- imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
968
- const ret = getArrayU8FromWasm0(arg0, arg1);
969
- return ret;
970
- };
971
- imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
972
- const ret = arg0;
973
- return ret;
974
- };
975
- imports.wbg.__wbindgen_cast_f7331b0818e1ba43 = function(arg0, arg1) {
976
- const ret = makeMutClosure(arg0, arg1, 4201, __wbg_adapter_10);
977
- return ret;
978
- };
979
- imports.wbg.__wbindgen_init_externref_table = function() {
980
- const table = wasm.__wbindgen_export_4;
981
- const offset = table.grow(4);
982
- table.set(0, void 0);
983
- table.set(offset + 0, void 0);
984
- table.set(offset + 1, null);
985
- table.set(offset + 2, true);
986
- table.set(offset + 3, false);
987
- ;
969
+ imports.wbg.__wbindgen_throw = function(arg0, arg1) {
970
+ throw new Error(getStringFromWasm0(arg0, arg1));
988
971
  };
989
972
  return imports;
990
973
  }
@@ -1028,7 +1011,7 @@ var didkit_wasm_default = __wbg_init;
1028
1011
  // src/didkit/index.ts
1029
1012
  var initialized = false;
1030
1013
  var generating = false;
1031
- var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/HpIgP6KpQeWbTWaKs1ro") => {
1014
+ var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/HReKwBTm2Wha4Wlo4uwe") => {
1032
1015
  while (generating)
1033
1016
  await new Promise((res) => setTimeout(res, 250));
1034
1017
  if (initialized)