@bitwarden/sdk-internal 0.2.0-main.33 → 0.2.0-main.35
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/bitwarden_wasm_internal.d.ts +3 -34
- package/bitwarden_wasm_internal_bg.js +458 -461
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +30 -30
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +3 -34
- package/node/bitwarden_wasm_internal.js +457 -460
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +30 -30
- package/package.json +1 -1
@@ -1,58 +1,26 @@
|
|
1
1
|
let imports = {};
|
2
2
|
imports["__wbindgen_placeholder__"] = module.exports;
|
3
3
|
let wasm;
|
4
|
-
const {
|
5
|
-
|
6
|
-
let cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
|
7
|
-
|
8
|
-
cachedTextDecoder.decode();
|
9
|
-
|
10
|
-
let cachedUint8ArrayMemory0 = null;
|
11
|
-
|
12
|
-
function getUint8ArrayMemory0() {
|
13
|
-
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
14
|
-
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
15
|
-
}
|
16
|
-
return cachedUint8ArrayMemory0;
|
17
|
-
}
|
18
|
-
|
19
|
-
function getStringFromWasm0(ptr, len) {
|
20
|
-
ptr = ptr >>> 0;
|
21
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
22
|
-
}
|
4
|
+
const { TextEncoder, TextDecoder } = require(`util`);
|
23
5
|
|
24
6
|
const heap = new Array(128).fill(undefined);
|
25
7
|
|
26
8
|
heap.push(undefined, null, true, false);
|
27
9
|
|
28
|
-
let heap_next = heap.length;
|
29
|
-
|
30
|
-
function addHeapObject(obj) {
|
31
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
32
|
-
const idx = heap_next;
|
33
|
-
heap_next = heap[idx];
|
34
|
-
|
35
|
-
heap[idx] = obj;
|
36
|
-
return idx;
|
37
|
-
}
|
38
|
-
|
39
10
|
function getObject(idx) {
|
40
11
|
return heap[idx];
|
41
12
|
}
|
42
13
|
|
43
|
-
|
44
|
-
if (idx < 132) return;
|
45
|
-
heap[idx] = heap_next;
|
46
|
-
heap_next = idx;
|
47
|
-
}
|
14
|
+
let WASM_VECTOR_LEN = 0;
|
48
15
|
|
49
|
-
|
50
|
-
const ret = getObject(idx);
|
51
|
-
dropObject(idx);
|
52
|
-
return ret;
|
53
|
-
}
|
16
|
+
let cachedUint8ArrayMemory0 = null;
|
54
17
|
|
55
|
-
|
18
|
+
function getUint8ArrayMemory0() {
|
19
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
20
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
21
|
+
}
|
22
|
+
return cachedUint8ArrayMemory0;
|
23
|
+
}
|
56
24
|
|
57
25
|
let cachedTextEncoder = new TextEncoder("utf-8");
|
58
26
|
|
@@ -110,10 +78,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
110
78
|
return ptr;
|
111
79
|
}
|
112
80
|
|
113
|
-
function isLikeNone(x) {
|
114
|
-
return x === undefined || x === null;
|
115
|
-
}
|
116
|
-
|
117
81
|
let cachedDataViewMemory0 = null;
|
118
82
|
|
119
83
|
function getDataViewMemory0() {
|
@@ -128,6 +92,82 @@ function getDataViewMemory0() {
|
|
128
92
|
return cachedDataViewMemory0;
|
129
93
|
}
|
130
94
|
|
95
|
+
let cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });
|
96
|
+
|
97
|
+
cachedTextDecoder.decode();
|
98
|
+
|
99
|
+
function getStringFromWasm0(ptr, len) {
|
100
|
+
ptr = ptr >>> 0;
|
101
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
102
|
+
}
|
103
|
+
|
104
|
+
let heap_next = heap.length;
|
105
|
+
|
106
|
+
function addHeapObject(obj) {
|
107
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
108
|
+
const idx = heap_next;
|
109
|
+
heap_next = heap[idx];
|
110
|
+
|
111
|
+
heap[idx] = obj;
|
112
|
+
return idx;
|
113
|
+
}
|
114
|
+
|
115
|
+
function handleError(f, args) {
|
116
|
+
try {
|
117
|
+
return f.apply(this, args);
|
118
|
+
} catch (e) {
|
119
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
function dropObject(idx) {
|
124
|
+
if (idx < 132) return;
|
125
|
+
heap[idx] = heap_next;
|
126
|
+
heap_next = idx;
|
127
|
+
}
|
128
|
+
|
129
|
+
function takeObject(idx) {
|
130
|
+
const ret = getObject(idx);
|
131
|
+
dropObject(idx);
|
132
|
+
return ret;
|
133
|
+
}
|
134
|
+
|
135
|
+
function isLikeNone(x) {
|
136
|
+
return x === undefined || x === null;
|
137
|
+
}
|
138
|
+
|
139
|
+
const CLOSURE_DTORS =
|
140
|
+
typeof FinalizationRegistry === "undefined"
|
141
|
+
? { register: () => {}, unregister: () => {} }
|
142
|
+
: new FinalizationRegistry((state) => {
|
143
|
+
wasm.__wbindgen_export_4.get(state.dtor)(state.a, state.b);
|
144
|
+
});
|
145
|
+
|
146
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
147
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
148
|
+
const real = (...args) => {
|
149
|
+
// First up with a closure we increment the internal reference
|
150
|
+
// count. This ensures that the Rust closure environment won't
|
151
|
+
// be deallocated while we're invoking it.
|
152
|
+
state.cnt++;
|
153
|
+
const a = state.a;
|
154
|
+
state.a = 0;
|
155
|
+
try {
|
156
|
+
return f(a, state.b, ...args);
|
157
|
+
} finally {
|
158
|
+
if (--state.cnt === 0) {
|
159
|
+
wasm.__wbindgen_export_4.get(state.dtor)(a, state.b);
|
160
|
+
CLOSURE_DTORS.unregister(state);
|
161
|
+
} else {
|
162
|
+
state.a = a;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
};
|
166
|
+
real.original = state;
|
167
|
+
CLOSURE_DTORS.register(real, state, state);
|
168
|
+
return real;
|
169
|
+
}
|
170
|
+
|
131
171
|
function debugString(val) {
|
132
172
|
// primitive types
|
133
173
|
const type = typeof val;
|
@@ -169,7 +209,7 @@ function debugString(val) {
|
|
169
209
|
// Test for built-in
|
170
210
|
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
171
211
|
let className;
|
172
|
-
if (builtInMatches.length > 1) {
|
212
|
+
if (builtInMatches && builtInMatches.length > 1) {
|
173
213
|
className = builtInMatches[1];
|
174
214
|
} else {
|
175
215
|
// Failed to match the standard '[object ClassName]'
|
@@ -193,45 +233,6 @@ function debugString(val) {
|
|
193
233
|
return className;
|
194
234
|
}
|
195
235
|
|
196
|
-
const CLOSURE_DTORS =
|
197
|
-
typeof FinalizationRegistry === "undefined"
|
198
|
-
? { register: () => {}, unregister: () => {} }
|
199
|
-
: new FinalizationRegistry((state) => {
|
200
|
-
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
|
201
|
-
});
|
202
|
-
|
203
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
204
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
205
|
-
const real = (...args) => {
|
206
|
-
// First up with a closure we increment the internal reference
|
207
|
-
// count. This ensures that the Rust closure environment won't
|
208
|
-
// be deallocated while we're invoking it.
|
209
|
-
state.cnt++;
|
210
|
-
const a = state.a;
|
211
|
-
state.a = 0;
|
212
|
-
try {
|
213
|
-
return f(a, state.b, ...args);
|
214
|
-
} finally {
|
215
|
-
if (--state.cnt === 0) {
|
216
|
-
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
217
|
-
CLOSURE_DTORS.unregister(state);
|
218
|
-
} else {
|
219
|
-
state.a = a;
|
220
|
-
}
|
221
|
-
}
|
222
|
-
};
|
223
|
-
real.original = state;
|
224
|
-
CLOSURE_DTORS.register(real, state, state);
|
225
|
-
return real;
|
226
|
-
}
|
227
|
-
function __wbg_adapter_38(arg0, arg1, arg2) {
|
228
|
-
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc6535a5361f5caf9(
|
229
|
-
arg0,
|
230
|
-
arg1,
|
231
|
-
addHeapObject(arg2),
|
232
|
-
);
|
233
|
-
}
|
234
|
-
|
235
236
|
let stack_pointer = 128;
|
236
237
|
|
237
238
|
function addBorrowedObject(obj) {
|
@@ -311,15 +312,16 @@ module.exports.generate_ssh_key = function (key_algorithm) {
|
|
311
312
|
}
|
312
313
|
};
|
313
314
|
|
314
|
-
function
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
315
|
+
function __wbg_adapter_38(arg0, arg1, arg2) {
|
316
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb80710307d9edf75(
|
317
|
+
arg0,
|
318
|
+
arg1,
|
319
|
+
addHeapObject(arg2),
|
320
|
+
);
|
320
321
|
}
|
322
|
+
|
321
323
|
function __wbg_adapter_125(arg0, arg1, arg2, arg3) {
|
322
|
-
wasm.
|
324
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h1aea760ed40205bc(
|
323
325
|
arg0,
|
324
326
|
arg1,
|
325
327
|
addHeapObject(arg2),
|
@@ -327,6 +329,9 @@ function __wbg_adapter_125(arg0, arg1, arg2, arg3) {
|
|
327
329
|
);
|
328
330
|
}
|
329
331
|
|
332
|
+
/**
|
333
|
+
* @enum {0 | 1 | 2 | 3 | 4}
|
334
|
+
*/
|
330
335
|
module.exports.LogLevel = Object.freeze({
|
331
336
|
Trace: 0,
|
332
337
|
0: "Trace",
|
@@ -585,181 +590,161 @@ class ClientVault {
|
|
585
590
|
}
|
586
591
|
module.exports.ClientVault = ClientVault;
|
587
592
|
|
588
|
-
module.exports.
|
589
|
-
const ret =
|
593
|
+
module.exports.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
594
|
+
const ret = String(getObject(arg1));
|
595
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
596
|
+
const len1 = WASM_VECTOR_LEN;
|
597
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
598
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
599
|
+
};
|
600
|
+
|
601
|
+
module.exports.__wbg_abort_05026c983d86824c = function (arg0) {
|
602
|
+
getObject(arg0).abort();
|
603
|
+
};
|
604
|
+
|
605
|
+
module.exports.__wbg_append_66f7cb821a84ee22 = function () {
|
606
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
607
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
608
|
+
}, arguments);
|
609
|
+
};
|
610
|
+
|
611
|
+
module.exports.__wbg_append_72d1635ad8643998 = function () {
|
612
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
613
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
614
|
+
}, arguments);
|
615
|
+
};
|
616
|
+
|
617
|
+
module.exports.__wbg_append_7606a4b52c36db7b = function () {
|
618
|
+
return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
619
|
+
getObject(arg0).append(
|
620
|
+
getStringFromWasm0(arg1, arg2),
|
621
|
+
getObject(arg3),
|
622
|
+
getStringFromWasm0(arg4, arg5),
|
623
|
+
);
|
624
|
+
}, arguments);
|
625
|
+
};
|
626
|
+
|
627
|
+
module.exports.__wbg_append_f513a7a3683bdc23 = function () {
|
628
|
+
return handleError(function (arg0, arg1, arg2, arg3) {
|
629
|
+
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
630
|
+
}, arguments);
|
631
|
+
};
|
632
|
+
|
633
|
+
module.exports.__wbg_buffer_61b7ce01341d7f88 = function (arg0) {
|
634
|
+
const ret = getObject(arg0).buffer;
|
590
635
|
return addHeapObject(ret);
|
591
636
|
};
|
592
637
|
|
593
|
-
module.exports.
|
638
|
+
module.exports.__wbg_call_500db948e69c7330 = function () {
|
639
|
+
return handleError(function (arg0, arg1, arg2) {
|
640
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
641
|
+
return addHeapObject(ret);
|
642
|
+
}, arguments);
|
643
|
+
};
|
644
|
+
|
645
|
+
module.exports.__wbg_call_b0d8e36992d9900d = function () {
|
594
646
|
return handleError(function (arg0, arg1) {
|
595
|
-
const ret =
|
647
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
596
648
|
return addHeapObject(ret);
|
597
649
|
}, arguments);
|
598
650
|
};
|
599
651
|
|
600
|
-
module.exports.
|
601
|
-
|
652
|
+
module.exports.__wbg_crypto_ed58b8e10a292839 = function (arg0) {
|
653
|
+
const ret = getObject(arg0).crypto;
|
654
|
+
return addHeapObject(ret);
|
602
655
|
};
|
603
656
|
|
604
|
-
module.exports.
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
657
|
+
module.exports.__wbg_debug_19114f11037e4658 = function (arg0, arg1, arg2, arg3) {
|
658
|
+
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
659
|
+
};
|
660
|
+
|
661
|
+
module.exports.__wbg_done_f22c1561fa919baa = function (arg0) {
|
662
|
+
const ret = getObject(arg0).done;
|
663
|
+
return ret;
|
664
|
+
};
|
665
|
+
|
666
|
+
module.exports.__wbg_entries_4f2bb9b0d701c0f6 = function (arg0) {
|
667
|
+
const ret = Object.entries(getObject(arg0));
|
668
|
+
return addHeapObject(ret);
|
669
|
+
};
|
670
|
+
|
671
|
+
module.exports.__wbg_error_483d659117b6f3f6 = function (arg0, arg1, arg2, arg3) {
|
672
|
+
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
613
673
|
};
|
614
674
|
|
615
|
-
module.exports.
|
675
|
+
module.exports.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
616
676
|
let deferred0_0;
|
617
677
|
let deferred0_1;
|
618
678
|
try {
|
619
679
|
deferred0_0 = arg0;
|
620
680
|
deferred0_1 = arg1;
|
621
|
-
|
622
|
-
return addHeapObject(ret);
|
681
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
623
682
|
} finally {
|
624
683
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
625
684
|
}
|
626
685
|
};
|
627
686
|
|
628
|
-
module.exports.
|
629
|
-
|
630
|
-
let deferred0_1;
|
631
|
-
try {
|
632
|
-
deferred0_0 = arg1;
|
633
|
-
deferred0_1 = arg2;
|
634
|
-
getObject(arg0).name = getStringFromWasm0(arg1, arg2);
|
635
|
-
} finally {
|
636
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
637
|
-
}
|
638
|
-
};
|
639
|
-
|
640
|
-
module.exports.__wbg_setvariant_262a12673324f71b = function (arg0, arg1, arg2) {
|
641
|
-
let deferred0_0;
|
642
|
-
let deferred0_1;
|
643
|
-
try {
|
644
|
-
deferred0_0 = arg1;
|
645
|
-
deferred0_1 = arg2;
|
646
|
-
getObject(arg0).variant = getStringFromWasm0(arg1, arg2);
|
647
|
-
} finally {
|
648
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
649
|
-
}
|
650
|
-
};
|
651
|
-
|
652
|
-
module.exports.__wbindgen_jsval_loose_eq = function (arg0, arg1) {
|
653
|
-
const ret = getObject(arg0) == getObject(arg1);
|
654
|
-
return ret;
|
655
|
-
};
|
656
|
-
|
657
|
-
module.exports.__wbindgen_is_object = function (arg0) {
|
658
|
-
const val = getObject(arg0);
|
659
|
-
const ret = typeof val === "object" && val !== null;
|
660
|
-
return ret;
|
661
|
-
};
|
662
|
-
|
663
|
-
module.exports.__wbg_getwithrefkey_edc2c8960f0f1191 = function (arg0, arg1) {
|
664
|
-
const ret = getObject(arg0)[getObject(arg1)];
|
687
|
+
module.exports.__wbg_fetch_229368eecee9d217 = function (arg0, arg1) {
|
688
|
+
const ret = getObject(arg0).fetch(getObject(arg1));
|
665
689
|
return addHeapObject(ret);
|
666
690
|
};
|
667
691
|
|
668
|
-
module.exports.
|
669
|
-
const ret = getObject(arg0)
|
670
|
-
return ret;
|
671
|
-
};
|
672
|
-
|
673
|
-
module.exports.__wbindgen_in = function (arg0, arg1) {
|
674
|
-
const ret = getObject(arg0) in getObject(arg1);
|
675
|
-
return ret;
|
676
|
-
};
|
677
|
-
|
678
|
-
module.exports.__wbg_isSafeInteger_b9dff570f01a9100 = function (arg0) {
|
679
|
-
const ret = Number.isSafeInteger(getObject(arg0));
|
680
|
-
return ret;
|
681
|
-
};
|
682
|
-
|
683
|
-
module.exports.__wbindgen_as_number = function (arg0) {
|
684
|
-
const ret = +getObject(arg0);
|
685
|
-
return ret;
|
686
|
-
};
|
687
|
-
|
688
|
-
module.exports.__wbindgen_is_string = function (arg0) {
|
689
|
-
const ret = typeof getObject(arg0) === "string";
|
690
|
-
return ret;
|
691
|
-
};
|
692
|
-
|
693
|
-
module.exports.__wbg_entries_c02034de337d3ee2 = function (arg0) {
|
694
|
-
const ret = Object.entries(getObject(arg0));
|
692
|
+
module.exports.__wbg_fetch_b335d17f45a8b5a1 = function (arg0) {
|
693
|
+
const ret = fetch(getObject(arg0));
|
695
694
|
return addHeapObject(ret);
|
696
695
|
};
|
697
696
|
|
698
|
-
module.exports.
|
699
|
-
|
700
|
-
|
697
|
+
module.exports.__wbg_getRandomValues_bcb4912f16000dc4 = function () {
|
698
|
+
return handleError(function (arg0, arg1) {
|
699
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
700
|
+
}, arguments);
|
701
701
|
};
|
702
702
|
|
703
|
-
module.exports.
|
703
|
+
module.exports.__wbg_get_9aa3dff3f0266054 = function (arg0, arg1) {
|
704
704
|
const ret = getObject(arg0)[arg1 >>> 0];
|
705
705
|
return addHeapObject(ret);
|
706
706
|
};
|
707
707
|
|
708
|
-
module.exports.
|
709
|
-
return handleError(function (arg0, arg1
|
710
|
-
const ret =
|
708
|
+
module.exports.__wbg_get_bbccf8970793c087 = function () {
|
709
|
+
return handleError(function (arg0, arg1) {
|
710
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
711
711
|
return addHeapObject(ret);
|
712
712
|
}, arguments);
|
713
713
|
};
|
714
714
|
|
715
|
-
module.exports.
|
716
|
-
const ret =
|
715
|
+
module.exports.__wbg_getwithrefkey_1dc361bd10053bfe = function (arg0, arg1) {
|
716
|
+
const ret = getObject(arg0)[getObject(arg1)];
|
717
717
|
return addHeapObject(ret);
|
718
718
|
};
|
719
719
|
|
720
|
-
module.exports.
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
module.exports.__wbg_new_a9ae04a5200606a5 = function () {
|
725
|
-
return handleError(function () {
|
726
|
-
const ret = new Headers();
|
727
|
-
return addHeapObject(ret);
|
720
|
+
module.exports.__wbg_has_94c2fc1d261bbfe9 = function () {
|
721
|
+
return handleError(function (arg0, arg1) {
|
722
|
+
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
723
|
+
return ret;
|
728
724
|
}, arguments);
|
729
725
|
};
|
730
726
|
|
731
|
-
module.exports.
|
732
|
-
getObject(arg0).headers
|
733
|
-
};
|
734
|
-
|
735
|
-
module.exports.__wbg_setmode_4919fd636102c586 = function (arg0, arg1) {
|
736
|
-
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
737
|
-
};
|
738
|
-
|
739
|
-
module.exports.__wbg_setcredentials_a4e661320cdb9738 = function (arg0, arg1) {
|
740
|
-
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
741
|
-
};
|
742
|
-
|
743
|
-
module.exports.__wbg_setbody_aa8b691bec428bf4 = function (arg0, arg1) {
|
744
|
-
getObject(arg0).body = getObject(arg1);
|
745
|
-
};
|
746
|
-
|
747
|
-
module.exports.__wbg_signal_9acfcec9e7dffc22 = function (arg0) {
|
748
|
-
const ret = getObject(arg0).signal;
|
727
|
+
module.exports.__wbg_headers_24e3e19fe3f187c0 = function (arg0) {
|
728
|
+
const ret = getObject(arg0).headers;
|
749
729
|
return addHeapObject(ret);
|
750
730
|
};
|
751
731
|
|
752
|
-
module.exports.
|
753
|
-
getObject(arg0)
|
732
|
+
module.exports.__wbg_info_18e75e6ce8a36a90 = function (arg0, arg1, arg2, arg3) {
|
733
|
+
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
754
734
|
};
|
755
735
|
|
756
|
-
module.exports.
|
757
|
-
|
758
|
-
|
759
|
-
|
736
|
+
module.exports.__wbg_instanceof_ArrayBuffer_670ddde44cdb2602 = function (arg0) {
|
737
|
+
let result;
|
738
|
+
try {
|
739
|
+
result = getObject(arg0) instanceof ArrayBuffer;
|
740
|
+
} catch (_) {
|
741
|
+
result = false;
|
742
|
+
}
|
743
|
+
const ret = result;
|
744
|
+
return ret;
|
760
745
|
};
|
761
746
|
|
762
|
-
module.exports.
|
747
|
+
module.exports.__wbg_instanceof_Response_d3453657e10c4300 = function (arg0) {
|
763
748
|
let result;
|
764
749
|
try {
|
765
750
|
result = getObject(arg0) instanceof Response;
|
@@ -770,80 +755,66 @@ module.exports.__wbg_instanceof_Response_3c0e210a57ff751d = function (arg0) {
|
|
770
755
|
return ret;
|
771
756
|
};
|
772
757
|
|
773
|
-
module.exports.
|
774
|
-
|
758
|
+
module.exports.__wbg_instanceof_Uint8Array_28af5bc19d6acad8 = function (arg0) {
|
759
|
+
let result;
|
760
|
+
try {
|
761
|
+
result = getObject(arg0) instanceof Uint8Array;
|
762
|
+
} catch (_) {
|
763
|
+
result = false;
|
764
|
+
}
|
765
|
+
const ret = result;
|
775
766
|
return ret;
|
776
767
|
};
|
777
768
|
|
778
|
-
module.exports.
|
779
|
-
const ret = getObject(
|
780
|
-
|
781
|
-
const len1 = WASM_VECTOR_LEN;
|
782
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
783
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
769
|
+
module.exports.__wbg_isSafeInteger_12f5549b2fca23f4 = function (arg0) {
|
770
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
771
|
+
return ret;
|
784
772
|
};
|
785
773
|
|
786
|
-
module.exports.
|
787
|
-
const ret =
|
774
|
+
module.exports.__wbg_iterator_23604bb983791576 = function () {
|
775
|
+
const ret = Symbol.iterator;
|
788
776
|
return addHeapObject(ret);
|
789
777
|
};
|
790
778
|
|
791
|
-
module.exports.
|
792
|
-
|
793
|
-
const ret = getObject(arg0).next();
|
794
|
-
return addHeapObject(ret);
|
795
|
-
}, arguments);
|
796
|
-
};
|
797
|
-
|
798
|
-
module.exports.__wbg_done_983b5ffcaec8c583 = function (arg0) {
|
799
|
-
const ret = getObject(arg0).done;
|
779
|
+
module.exports.__wbg_length_65d1cd11729ced11 = function (arg0) {
|
780
|
+
const ret = getObject(arg0).length;
|
800
781
|
return ret;
|
801
782
|
};
|
802
783
|
|
803
|
-
module.exports.
|
804
|
-
const ret = getObject(arg0).
|
805
|
-
return
|
784
|
+
module.exports.__wbg_length_d65cf0786bfc5739 = function (arg0) {
|
785
|
+
const ret = getObject(arg0).length;
|
786
|
+
return ret;
|
806
787
|
};
|
807
788
|
|
808
|
-
module.exports.
|
809
|
-
|
810
|
-
const ret = JSON.stringify(getObject(arg0));
|
811
|
-
return addHeapObject(ret);
|
812
|
-
}, arguments);
|
789
|
+
module.exports.__wbg_log_bc77772961bf21bb = function (arg0, arg1, arg2, arg3) {
|
790
|
+
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
813
791
|
};
|
814
792
|
|
815
|
-
module.exports.
|
816
|
-
getObject(arg0).
|
793
|
+
module.exports.__wbg_msCrypto_0a36e2ec3a343d26 = function (arg0) {
|
794
|
+
const ret = getObject(arg0).msCrypto;
|
795
|
+
return addHeapObject(ret);
|
817
796
|
};
|
818
797
|
|
819
|
-
module.exports.
|
820
|
-
return handleError(function (
|
821
|
-
const ret =
|
798
|
+
module.exports.__wbg_new_079af0206358fe9d = function () {
|
799
|
+
return handleError(function () {
|
800
|
+
const ret = new FormData();
|
822
801
|
return addHeapObject(ret);
|
823
802
|
}, arguments);
|
824
803
|
};
|
825
804
|
|
826
|
-
module.exports.
|
827
|
-
const ret =
|
805
|
+
module.exports.__wbg_new_254fa9eac11932ae = function () {
|
806
|
+
const ret = new Array();
|
828
807
|
return addHeapObject(ret);
|
829
808
|
};
|
830
809
|
|
831
|
-
module.exports.
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
}
|
837
|
-
const ret = false;
|
838
|
-
return ret;
|
839
|
-
};
|
840
|
-
|
841
|
-
module.exports.__wbindgen_error_new = function (arg0, arg1) {
|
842
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
843
|
-
return addHeapObject(ret);
|
810
|
+
module.exports.__wbg_new_35d748855c4620b9 = function () {
|
811
|
+
return handleError(function () {
|
812
|
+
const ret = new Headers();
|
813
|
+
return addHeapObject(ret);
|
814
|
+
}, arguments);
|
844
815
|
};
|
845
816
|
|
846
|
-
module.exports.
|
817
|
+
module.exports.__wbg_new_3d446df9155128ef = function (arg0, arg1) {
|
847
818
|
try {
|
848
819
|
var state0 = { a: arg0, b: arg1 };
|
849
820
|
var cb0 = (arg0, arg1) => {
|
@@ -862,287 +833,281 @@ module.exports.__wbg_new_1073970097e5a420 = function (arg0, arg1) {
|
|
862
833
|
}
|
863
834
|
};
|
864
835
|
|
865
|
-
module.exports.
|
866
|
-
getObject(arg0)
|
836
|
+
module.exports.__wbg_new_3ff5b33b1ce712df = function (arg0) {
|
837
|
+
const ret = new Uint8Array(getObject(arg0));
|
838
|
+
return addHeapObject(ret);
|
867
839
|
};
|
868
840
|
|
869
|
-
module.exports.
|
870
|
-
|
841
|
+
module.exports.__wbg_new_5f48f21d4be11586 = function () {
|
842
|
+
return handleError(function () {
|
843
|
+
const ret = new AbortController();
|
844
|
+
return addHeapObject(ret);
|
845
|
+
}, arguments);
|
846
|
+
};
|
847
|
+
|
848
|
+
module.exports.__wbg_new_6799ef630abee97c = function (arg0, arg1) {
|
849
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
871
850
|
return addHeapObject(ret);
|
872
851
|
};
|
873
852
|
|
874
|
-
module.exports.
|
875
|
-
const ret =
|
876
|
-
|
877
|
-
const len1 = WASM_VECTOR_LEN;
|
878
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
879
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
853
|
+
module.exports.__wbg_new_688846f374351c92 = function () {
|
854
|
+
const ret = new Object();
|
855
|
+
return addHeapObject(ret);
|
880
856
|
};
|
881
857
|
|
882
|
-
module.exports.
|
858
|
+
module.exports.__wbg_new_8a6f238a6ece86ea = function () {
|
859
|
+
const ret = new Error();
|
860
|
+
return addHeapObject(ret);
|
861
|
+
};
|
862
|
+
|
863
|
+
module.exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
883
864
|
let deferred0_0;
|
884
865
|
let deferred0_1;
|
885
866
|
try {
|
886
867
|
deferred0_0 = arg0;
|
887
868
|
deferred0_1 = arg1;
|
888
|
-
|
869
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
870
|
+
return addHeapObject(ret);
|
889
871
|
} finally {
|
890
872
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
891
873
|
}
|
892
874
|
};
|
893
875
|
|
894
|
-
module.exports.
|
895
|
-
const ret =
|
876
|
+
module.exports.__wbg_newnoargs_fd9e4bf8be2bc16d = function (arg0, arg1) {
|
877
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
896
878
|
return addHeapObject(ret);
|
897
879
|
};
|
898
880
|
|
899
|
-
module.exports.
|
900
|
-
const ret = getObject(arg0)
|
881
|
+
module.exports.__wbg_newwithbyteoffsetandlength_ba35896968751d91 = function (arg0, arg1, arg2) {
|
882
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
901
883
|
return addHeapObject(ret);
|
902
884
|
};
|
903
885
|
|
904
|
-
module.exports.
|
905
|
-
const ret =
|
886
|
+
module.exports.__wbg_newwithlength_34ce8f1051e74449 = function (arg0) {
|
887
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
906
888
|
return addHeapObject(ret);
|
907
889
|
};
|
908
890
|
|
909
|
-
module.exports.
|
910
|
-
|
911
|
-
|
891
|
+
module.exports.__wbg_newwithstrandinit_a1f6583f20e4faff = function () {
|
892
|
+
return handleError(function (arg0, arg1, arg2) {
|
893
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
894
|
+
return addHeapObject(ret);
|
895
|
+
}, arguments);
|
912
896
|
};
|
913
897
|
|
914
|
-
module.exports.
|
915
|
-
return handleError(function () {
|
916
|
-
const ret =
|
898
|
+
module.exports.__wbg_newwithu8arraysequenceandoptions_75a3b40c32d6c988 = function () {
|
899
|
+
return handleError(function (arg0, arg1) {
|
900
|
+
const ret = new Blob(getObject(arg0), getObject(arg1));
|
917
901
|
return addHeapObject(ret);
|
918
902
|
}, arguments);
|
919
903
|
};
|
920
904
|
|
921
|
-
module.exports.
|
922
|
-
|
923
|
-
|
905
|
+
module.exports.__wbg_next_01dd9234a5bf6d05 = function () {
|
906
|
+
return handleError(function (arg0) {
|
907
|
+
const ret = getObject(arg0).next();
|
908
|
+
return addHeapObject(ret);
|
909
|
+
}, arguments);
|
924
910
|
};
|
925
911
|
|
926
|
-
module.exports.
|
927
|
-
const ret = getObject(arg0).
|
912
|
+
module.exports.__wbg_next_137428deb98342b0 = function (arg0) {
|
913
|
+
const ret = getObject(arg0).next;
|
928
914
|
return addHeapObject(ret);
|
929
915
|
};
|
930
916
|
|
931
|
-
module.exports.
|
932
|
-
const ret =
|
917
|
+
module.exports.__wbg_node_02999533c4ea02e3 = function (arg0) {
|
918
|
+
const ret = getObject(arg0).node;
|
933
919
|
return addHeapObject(ret);
|
934
920
|
};
|
935
921
|
|
936
|
-
module.exports.
|
937
|
-
const ret =
|
922
|
+
module.exports.__wbg_process_5c1d670bc53614b8 = function (arg0) {
|
923
|
+
const ret = getObject(arg0).process;
|
938
924
|
return addHeapObject(ret);
|
939
925
|
};
|
940
926
|
|
941
|
-
module.exports.
|
942
|
-
const ret = getObject(arg0).
|
943
|
-
return
|
927
|
+
module.exports.__wbg_push_6edad0df4b546b2c = function (arg0, arg1) {
|
928
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
929
|
+
return ret;
|
944
930
|
};
|
945
931
|
|
946
|
-
module.exports.
|
947
|
-
|
932
|
+
module.exports.__wbg_queueMicrotask_2181040e064c0dc8 = function (arg0) {
|
933
|
+
queueMicrotask(getObject(arg0));
|
934
|
+
};
|
935
|
+
|
936
|
+
module.exports.__wbg_queueMicrotask_ef9ac43769cbcc4f = function (arg0) {
|
937
|
+
const ret = getObject(arg0).queueMicrotask;
|
948
938
|
return addHeapObject(ret);
|
949
939
|
};
|
950
940
|
|
951
|
-
module.exports.
|
941
|
+
module.exports.__wbg_randomFillSync_ab2cfe79ebbf2740 = function () {
|
952
942
|
return handleError(function (arg0, arg1) {
|
953
943
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
954
944
|
}, arguments);
|
955
945
|
};
|
956
946
|
|
957
|
-
module.exports.
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
module.exports.__wbg_getRandomValues_3aa56aa6edec874c = function () {
|
963
|
-
return handleError(function (arg0, arg1) {
|
964
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
947
|
+
module.exports.__wbg_require_79b1e9274cde3c87 = function () {
|
948
|
+
return handleError(function () {
|
949
|
+
const ret = module.require;
|
950
|
+
return addHeapObject(ret);
|
965
951
|
}, arguments);
|
966
952
|
};
|
967
953
|
|
968
|
-
module.exports.
|
969
|
-
const ret =
|
954
|
+
module.exports.__wbg_resolve_0bf7c44d641804f9 = function (arg0) {
|
955
|
+
const ret = Promise.resolve(getObject(arg0));
|
970
956
|
return addHeapObject(ret);
|
971
957
|
};
|
972
958
|
|
973
|
-
module.exports.
|
959
|
+
module.exports.__wbg_set_23d69db4e5c66a6e = function (arg0, arg1, arg2) {
|
974
960
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
975
961
|
};
|
976
962
|
|
977
|
-
module.exports.
|
978
|
-
|
979
|
-
const ret = self.self;
|
980
|
-
return addHeapObject(ret);
|
981
|
-
}, arguments);
|
982
|
-
};
|
983
|
-
|
984
|
-
module.exports.__wbg_window_52dd9f07d03fd5f8 = function () {
|
985
|
-
return handleError(function () {
|
986
|
-
const ret = window.window;
|
987
|
-
return addHeapObject(ret);
|
988
|
-
}, arguments);
|
963
|
+
module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
964
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
989
965
|
};
|
990
966
|
|
991
|
-
module.exports.
|
992
|
-
|
993
|
-
const ret = globalThis.globalThis;
|
994
|
-
return addHeapObject(ret);
|
995
|
-
}, arguments);
|
967
|
+
module.exports.__wbg_setbody_64920df008e48adc = function (arg0, arg1) {
|
968
|
+
getObject(arg0).body = getObject(arg1);
|
996
969
|
};
|
997
970
|
|
998
|
-
module.exports.
|
999
|
-
|
1000
|
-
const ret = global.global;
|
1001
|
-
return addHeapObject(ret);
|
1002
|
-
}, arguments);
|
971
|
+
module.exports.__wbg_setcredentials_cfc15e48e3a3a535 = function (arg0, arg1) {
|
972
|
+
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
1003
973
|
};
|
1004
974
|
|
1005
|
-
module.exports.
|
1006
|
-
|
1007
|
-
return addHeapObject(ret);
|
975
|
+
module.exports.__wbg_setheaders_4c921e8e226bdfa7 = function (arg0, arg1) {
|
976
|
+
getObject(arg0).headers = getObject(arg1);
|
1008
977
|
};
|
1009
978
|
|
1010
|
-
module.exports.
|
1011
|
-
|
1012
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
1013
|
-
return addHeapObject(ret);
|
1014
|
-
}, arguments);
|
979
|
+
module.exports.__wbg_setmethod_cfc7f688ba46a6be = function (arg0, arg1, arg2) {
|
980
|
+
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
1015
981
|
};
|
1016
982
|
|
1017
|
-
module.exports.
|
1018
|
-
|
1019
|
-
return addHeapObject(ret);
|
983
|
+
module.exports.__wbg_setmode_cd03637eb7da01e0 = function (arg0, arg1) {
|
984
|
+
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
1020
985
|
};
|
1021
986
|
|
1022
|
-
module.exports.
|
1023
|
-
|
1024
|
-
|
987
|
+
module.exports.__wbg_setname_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
|
988
|
+
let deferred0_0;
|
989
|
+
let deferred0_1;
|
990
|
+
try {
|
991
|
+
deferred0_0 = arg1;
|
992
|
+
deferred0_1 = arg2;
|
993
|
+
getObject(arg0).name = getStringFromWasm0(arg1, arg2);
|
994
|
+
} finally {
|
995
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
996
|
+
}
|
1025
997
|
};
|
1026
998
|
|
1027
|
-
module.exports.
|
1028
|
-
|
1029
|
-
return addHeapObject(ret);
|
999
|
+
module.exports.__wbg_setsignal_f766190d206f09e5 = function (arg0, arg1) {
|
1000
|
+
getObject(arg0).signal = getObject(arg1);
|
1030
1001
|
};
|
1031
1002
|
|
1032
|
-
module.exports.
|
1033
|
-
|
1034
|
-
return ret;
|
1003
|
+
module.exports.__wbg_settype_fd39465d237c2f36 = function (arg0, arg1, arg2) {
|
1004
|
+
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
1035
1005
|
};
|
1036
1006
|
|
1037
|
-
module.exports.
|
1038
|
-
let
|
1007
|
+
module.exports.__wbg_setvariant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
|
1008
|
+
let deferred0_0;
|
1009
|
+
let deferred0_1;
|
1039
1010
|
try {
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1011
|
+
deferred0_0 = arg1;
|
1012
|
+
deferred0_1 = arg2;
|
1013
|
+
getObject(arg0).variant = getStringFromWasm0(arg1, arg2);
|
1014
|
+
} finally {
|
1015
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
1043
1016
|
}
|
1044
|
-
const ret = result;
|
1045
|
-
return ret;
|
1046
1017
|
};
|
1047
1018
|
|
1048
|
-
module.exports.
|
1049
|
-
const ret =
|
1019
|
+
module.exports.__wbg_signal_1fdadeba2d04660e = function (arg0) {
|
1020
|
+
const ret = getObject(arg0).signal;
|
1050
1021
|
return addHeapObject(ret);
|
1051
1022
|
};
|
1052
1023
|
|
1053
|
-
module.exports.
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1024
|
+
module.exports.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
1025
|
+
const ret = getObject(arg1).stack;
|
1026
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1027
|
+
const len1 = WASM_VECTOR_LEN;
|
1028
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
1029
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
1058
1030
|
};
|
1059
1031
|
|
1060
|
-
module.exports.
|
1061
|
-
const ret =
|
1062
|
-
return addHeapObject(ret);
|
1032
|
+
module.exports.__wbg_static_accessor_GLOBAL_0be7472e492ad3e3 = function () {
|
1033
|
+
const ret = typeof global === "undefined" ? null : global;
|
1034
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
1063
1035
|
};
|
1064
1036
|
|
1065
|
-
module.exports.
|
1066
|
-
const ret =
|
1067
|
-
return addHeapObject(ret);
|
1037
|
+
module.exports.__wbg_static_accessor_GLOBAL_THIS_1a6eb482d12c9bfb = function () {
|
1038
|
+
const ret = typeof globalThis === "undefined" ? null : globalThis;
|
1039
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
1068
1040
|
};
|
1069
1041
|
|
1070
|
-
module.exports.
|
1071
|
-
const ret =
|
1072
|
-
return addHeapObject(ret);
|
1042
|
+
module.exports.__wbg_static_accessor_SELF_1dc398a895c82351 = function () {
|
1043
|
+
const ret = typeof self === "undefined" ? null : self;
|
1044
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
1073
1045
|
};
|
1074
1046
|
|
1075
|
-
module.exports.
|
1076
|
-
const ret =
|
1077
|
-
return ret;
|
1047
|
+
module.exports.__wbg_static_accessor_WINDOW_ae1c80c7eea8d64a = function () {
|
1048
|
+
const ret = typeof window === "undefined" ? null : window;
|
1049
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
1078
1050
|
};
|
1079
1051
|
|
1080
|
-
module.exports.
|
1081
|
-
|
1082
|
-
try {
|
1083
|
-
result = getObject(arg0) instanceof Uint8Array;
|
1084
|
-
} catch (_) {
|
1085
|
-
result = false;
|
1086
|
-
}
|
1087
|
-
const ret = result;
|
1052
|
+
module.exports.__wbg_status_317f53bc4c7638df = function (arg0) {
|
1053
|
+
const ret = getObject(arg0).status;
|
1088
1054
|
return ret;
|
1089
1055
|
};
|
1090
1056
|
|
1091
|
-
module.exports.
|
1092
|
-
return handleError(function () {
|
1093
|
-
const ret =
|
1057
|
+
module.exports.__wbg_stringify_f4f701bc34ceda61 = function () {
|
1058
|
+
return handleError(function (arg0) {
|
1059
|
+
const ret = JSON.stringify(getObject(arg0));
|
1094
1060
|
return addHeapObject(ret);
|
1095
1061
|
}, arguments);
|
1096
1062
|
};
|
1097
1063
|
|
1098
|
-
module.exports.
|
1099
|
-
|
1100
|
-
|
1101
|
-
}, arguments);
|
1102
|
-
};
|
1103
|
-
|
1104
|
-
module.exports.__wbg_settype_623d2ee701e6310a = function (arg0, arg1, arg2) {
|
1105
|
-
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
1064
|
+
module.exports.__wbg_subarray_46adeb9b86949d12 = function (arg0, arg1, arg2) {
|
1065
|
+
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
1066
|
+
return addHeapObject(ret);
|
1106
1067
|
};
|
1107
1068
|
|
1108
|
-
module.exports.
|
1109
|
-
return handleError(function (arg0
|
1110
|
-
const ret =
|
1069
|
+
module.exports.__wbg_text_dfc4cb7631d2eb34 = function () {
|
1070
|
+
return handleError(function (arg0) {
|
1071
|
+
const ret = getObject(arg0).text();
|
1111
1072
|
return addHeapObject(ret);
|
1112
1073
|
}, arguments);
|
1113
1074
|
};
|
1114
1075
|
|
1115
|
-
module.exports.
|
1116
|
-
|
1117
|
-
|
1118
|
-
}, arguments);
|
1076
|
+
module.exports.__wbg_then_0438fad860fe38e1 = function (arg0, arg1) {
|
1077
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
1078
|
+
return addHeapObject(ret);
|
1119
1079
|
};
|
1120
1080
|
|
1121
|
-
module.exports.
|
1122
|
-
|
1123
|
-
|
1124
|
-
getStringFromWasm0(arg1, arg2),
|
1125
|
-
getObject(arg3),
|
1126
|
-
getStringFromWasm0(arg4, arg5),
|
1127
|
-
);
|
1128
|
-
}, arguments);
|
1081
|
+
module.exports.__wbg_then_0ffafeddf0e182a4 = function (arg0, arg1, arg2) {
|
1082
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
1083
|
+
return addHeapObject(ret);
|
1129
1084
|
};
|
1130
1085
|
|
1131
|
-
module.exports.
|
1132
|
-
const ret =
|
1086
|
+
module.exports.__wbg_url_5327bc0a41a9b085 = function (arg0, arg1) {
|
1087
|
+
const ret = getObject(arg1).url;
|
1088
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1089
|
+
const len1 = WASM_VECTOR_LEN;
|
1090
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
1091
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
1092
|
+
};
|
1093
|
+
|
1094
|
+
module.exports.__wbg_value_4c32fd138a88eee2 = function (arg0) {
|
1095
|
+
const ret = getObject(arg0).value;
|
1133
1096
|
return addHeapObject(ret);
|
1134
1097
|
};
|
1135
1098
|
|
1136
|
-
module.exports.
|
1137
|
-
const ret = getObject(arg0).
|
1099
|
+
module.exports.__wbg_versions_c71aa1626a93e0a1 = function (arg0) {
|
1100
|
+
const ret = getObject(arg0).versions;
|
1138
1101
|
return addHeapObject(ret);
|
1139
1102
|
};
|
1140
1103
|
|
1141
|
-
module.exports.
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1104
|
+
module.exports.__wbg_warn_cb8be8bbf790a5d6 = function (arg0, arg1, arg2, arg3) {
|
1105
|
+
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
1106
|
+
};
|
1107
|
+
|
1108
|
+
module.exports.__wbindgen_as_number = function (arg0) {
|
1109
|
+
const ret = +getObject(arg0);
|
1110
|
+
return ret;
|
1146
1111
|
};
|
1147
1112
|
|
1148
1113
|
module.exports.__wbindgen_boolean_get = function (arg0) {
|
@@ -1151,19 +1116,19 @@ module.exports.__wbindgen_boolean_get = function (arg0) {
|
|
1151
1116
|
return ret;
|
1152
1117
|
};
|
1153
1118
|
|
1154
|
-
module.exports.
|
1155
|
-
const obj =
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1119
|
+
module.exports.__wbindgen_cb_drop = function (arg0) {
|
1120
|
+
const obj = takeObject(arg0).original;
|
1121
|
+
if (obj.cnt-- == 1) {
|
1122
|
+
obj.a = 0;
|
1123
|
+
return true;
|
1124
|
+
}
|
1125
|
+
const ret = false;
|
1126
|
+
return ret;
|
1159
1127
|
};
|
1160
1128
|
|
1161
|
-
module.exports.
|
1162
|
-
const ret =
|
1163
|
-
|
1164
|
-
const len1 = WASM_VECTOR_LEN;
|
1165
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
1166
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
1129
|
+
module.exports.__wbindgen_closure_wrapper1832 = function (arg0, arg1, arg2) {
|
1130
|
+
const ret = makeMutClosure(arg0, arg1, 491, __wbg_adapter_38);
|
1131
|
+
return addHeapObject(ret);
|
1167
1132
|
};
|
1168
1133
|
|
1169
1134
|
module.exports.__wbindgen_debug_string = function (arg0, arg1) {
|
@@ -1174,51 +1139,83 @@ module.exports.__wbindgen_debug_string = function (arg0, arg1) {
|
|
1174
1139
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
1175
1140
|
};
|
1176
1141
|
|
1177
|
-
module.exports.
|
1178
|
-
|
1142
|
+
module.exports.__wbindgen_error_new = function (arg0, arg1) {
|
1143
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
1144
|
+
return addHeapObject(ret);
|
1179
1145
|
};
|
1180
1146
|
|
1181
|
-
module.exports.
|
1182
|
-
const ret = getObject(arg0)
|
1183
|
-
return
|
1147
|
+
module.exports.__wbindgen_in = function (arg0, arg1) {
|
1148
|
+
const ret = getObject(arg0) in getObject(arg1);
|
1149
|
+
return ret;
|
1184
1150
|
};
|
1185
1151
|
|
1186
|
-
module.exports.
|
1187
|
-
|
1152
|
+
module.exports.__wbindgen_is_function = function (arg0) {
|
1153
|
+
const ret = typeof getObject(arg0) === "function";
|
1154
|
+
return ret;
|
1188
1155
|
};
|
1189
1156
|
|
1190
|
-
module.exports.
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
}, arguments);
|
1157
|
+
module.exports.__wbindgen_is_object = function (arg0) {
|
1158
|
+
const val = getObject(arg0);
|
1159
|
+
const ret = typeof val === "object" && val !== null;
|
1160
|
+
return ret;
|
1195
1161
|
};
|
1196
1162
|
|
1197
|
-
module.exports.
|
1198
|
-
|
1163
|
+
module.exports.__wbindgen_is_string = function (arg0) {
|
1164
|
+
const ret = typeof getObject(arg0) === "string";
|
1165
|
+
return ret;
|
1199
1166
|
};
|
1200
1167
|
|
1201
|
-
module.exports.
|
1202
|
-
|
1168
|
+
module.exports.__wbindgen_is_undefined = function (arg0) {
|
1169
|
+
const ret = getObject(arg0) === undefined;
|
1170
|
+
return ret;
|
1203
1171
|
};
|
1204
1172
|
|
1205
|
-
module.exports.
|
1206
|
-
|
1173
|
+
module.exports.__wbindgen_jsval_loose_eq = function (arg0, arg1) {
|
1174
|
+
const ret = getObject(arg0) == getObject(arg1);
|
1175
|
+
return ret;
|
1207
1176
|
};
|
1208
1177
|
|
1209
|
-
module.exports.
|
1210
|
-
|
1178
|
+
module.exports.__wbindgen_memory = function () {
|
1179
|
+
const ret = wasm.memory;
|
1180
|
+
return addHeapObject(ret);
|
1211
1181
|
};
|
1212
1182
|
|
1213
|
-
module.exports.
|
1214
|
-
|
1183
|
+
module.exports.__wbindgen_number_get = function (arg0, arg1) {
|
1184
|
+
const obj = getObject(arg1);
|
1185
|
+
const ret = typeof obj === "number" ? obj : undefined;
|
1186
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
1187
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
1215
1188
|
};
|
1216
1189
|
|
1217
|
-
module.exports.
|
1218
|
-
const ret =
|
1190
|
+
module.exports.__wbindgen_object_clone_ref = function (arg0) {
|
1191
|
+
const ret = getObject(arg0);
|
1219
1192
|
return addHeapObject(ret);
|
1220
1193
|
};
|
1221
1194
|
|
1195
|
+
module.exports.__wbindgen_object_drop_ref = function (arg0) {
|
1196
|
+
takeObject(arg0);
|
1197
|
+
};
|
1198
|
+
|
1199
|
+
module.exports.__wbindgen_string_get = function (arg0, arg1) {
|
1200
|
+
const obj = getObject(arg1);
|
1201
|
+
const ret = typeof obj === "string" ? obj : undefined;
|
1202
|
+
var ptr1 = isLikeNone(ret)
|
1203
|
+
? 0
|
1204
|
+
: passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1205
|
+
var len1 = WASM_VECTOR_LEN;
|
1206
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
1207
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
1208
|
+
};
|
1209
|
+
|
1210
|
+
module.exports.__wbindgen_string_new = function (arg0, arg1) {
|
1211
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
1212
|
+
return addHeapObject(ret);
|
1213
|
+
};
|
1214
|
+
|
1215
|
+
module.exports.__wbindgen_throw = function (arg0, arg1) {
|
1216
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
1217
|
+
};
|
1218
|
+
|
1222
1219
|
const path = require("path").join(__dirname, "bitwarden_wasm_internal_bg.wasm");
|
1223
1220
|
const bytes = require("fs").readFileSync(path);
|
1224
1221
|
|