@rerun-io/web-viewer 0.0.2 → 0.0.4

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/re_viewer.js CHANGED
@@ -1,4 +1,2695 @@
1
- import * as wasm from "./re_viewer_bg.wasm";
2
- import { __wbg_set_wasm } from "./re_viewer_bg.js";
3
- __wbg_set_wasm(wasm);
4
- export * from "./re_viewer_bg.js";
1
+ let wasm;
2
+
3
+ const heap = new Array(128).fill(undefined);
4
+
5
+ heap.push(undefined, null, true, false);
6
+
7
+ function getObject(idx) { return heap[idx]; }
8
+
9
+ let heap_next = heap.length;
10
+
11
+ function dropObject(idx) {
12
+ if (idx < 132) return;
13
+ heap[idx] = heap_next;
14
+ heap_next = idx;
15
+ }
16
+
17
+ function takeObject(idx) {
18
+ const ret = getObject(idx);
19
+ dropObject(idx);
20
+ return ret;
21
+ }
22
+
23
+ const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
24
+
25
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
26
+
27
+ let cachedUint8Memory0 = null;
28
+
29
+ function getUint8Memory0() {
30
+ if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
31
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
32
+ }
33
+ return cachedUint8Memory0;
34
+ }
35
+
36
+ function getStringFromWasm0(ptr, len) {
37
+ ptr = ptr >>> 0;
38
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
39
+ }
40
+
41
+ function addHeapObject(obj) {
42
+ if (heap_next === heap.length) heap.push(heap.length + 1);
43
+ const idx = heap_next;
44
+ heap_next = heap[idx];
45
+
46
+ heap[idx] = obj;
47
+ return idx;
48
+ }
49
+
50
+ function isLikeNone(x) {
51
+ return x === undefined || x === null;
52
+ }
53
+
54
+ let cachedFloat64Memory0 = null;
55
+
56
+ function getFloat64Memory0() {
57
+ if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
58
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
59
+ }
60
+ return cachedFloat64Memory0;
61
+ }
62
+
63
+ let cachedInt32Memory0 = null;
64
+
65
+ function getInt32Memory0() {
66
+ if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
67
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
68
+ }
69
+ return cachedInt32Memory0;
70
+ }
71
+
72
+ let WASM_VECTOR_LEN = 0;
73
+
74
+ const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
75
+
76
+ const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
77
+ ? function (arg, view) {
78
+ return cachedTextEncoder.encodeInto(arg, view);
79
+ }
80
+ : function (arg, view) {
81
+ const buf = cachedTextEncoder.encode(arg);
82
+ view.set(buf);
83
+ return {
84
+ read: arg.length,
85
+ written: buf.length
86
+ };
87
+ });
88
+
89
+ function passStringToWasm0(arg, malloc, realloc) {
90
+
91
+ if (realloc === undefined) {
92
+ const buf = cachedTextEncoder.encode(arg);
93
+ const ptr = malloc(buf.length, 1) >>> 0;
94
+ getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
95
+ WASM_VECTOR_LEN = buf.length;
96
+ return ptr;
97
+ }
98
+
99
+ let len = arg.length;
100
+ let ptr = malloc(len, 1) >>> 0;
101
+
102
+ const mem = getUint8Memory0();
103
+
104
+ let offset = 0;
105
+
106
+ for (; offset < len; offset++) {
107
+ const code = arg.charCodeAt(offset);
108
+ if (code > 0x7F) break;
109
+ mem[ptr + offset] = code;
110
+ }
111
+
112
+ if (offset !== len) {
113
+ if (offset !== 0) {
114
+ arg = arg.slice(offset);
115
+ }
116
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
117
+ const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
118
+ const ret = encodeString(arg, view);
119
+
120
+ offset += ret.written;
121
+ }
122
+
123
+ WASM_VECTOR_LEN = offset;
124
+ return ptr;
125
+ }
126
+
127
+ function debugString(val) {
128
+ // primitive types
129
+ const type = typeof val;
130
+ if (type == 'number' || type == 'boolean' || val == null) {
131
+ return `${val}`;
132
+ }
133
+ if (type == 'string') {
134
+ return `"${val}"`;
135
+ }
136
+ if (type == 'symbol') {
137
+ const description = val.description;
138
+ if (description == null) {
139
+ return 'Symbol';
140
+ } else {
141
+ return `Symbol(${description})`;
142
+ }
143
+ }
144
+ if (type == 'function') {
145
+ const name = val.name;
146
+ if (typeof name == 'string' && name.length > 0) {
147
+ return `Function(${name})`;
148
+ } else {
149
+ return 'Function';
150
+ }
151
+ }
152
+ // objects
153
+ if (Array.isArray(val)) {
154
+ const length = val.length;
155
+ let debug = '[';
156
+ if (length > 0) {
157
+ debug += debugString(val[0]);
158
+ }
159
+ for(let i = 1; i < length; i++) {
160
+ debug += ', ' + debugString(val[i]);
161
+ }
162
+ debug += ']';
163
+ return debug;
164
+ }
165
+ // Test for built-in
166
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
167
+ let className;
168
+ if (builtInMatches.length > 1) {
169
+ className = builtInMatches[1];
170
+ } else {
171
+ // Failed to match the standard '[object ClassName]'
172
+ return toString.call(val);
173
+ }
174
+ if (className == 'Object') {
175
+ // we're a user defined class or Object
176
+ // JSON.stringify avoids problems with cycles, and is generally much
177
+ // easier than looping through ownProperties of `val`.
178
+ try {
179
+ return 'Object(' + JSON.stringify(val) + ')';
180
+ } catch (_) {
181
+ return 'Object';
182
+ }
183
+ }
184
+ // errors
185
+ if (val instanceof Error) {
186
+ return `${val.name}: ${val.message}\n${val.stack}`;
187
+ }
188
+ // TODO we could test for more things here, like `Set`s and `Map`s.
189
+ return className;
190
+ }
191
+
192
+ function makeMutClosure(arg0, arg1, dtor, f) {
193
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
194
+ const real = (...args) => {
195
+ // First up with a closure we increment the internal reference
196
+ // count. This ensures that the Rust closure environment won't
197
+ // be deallocated while we're invoking it.
198
+ state.cnt++;
199
+ const a = state.a;
200
+ state.a = 0;
201
+ try {
202
+ return f(a, state.b, ...args);
203
+ } finally {
204
+ if (--state.cnt === 0) {
205
+ wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
206
+
207
+ } else {
208
+ state.a = a;
209
+ }
210
+ }
211
+ };
212
+ real.original = state;
213
+
214
+ return real;
215
+ }
216
+ function __wbg_adapter_34(arg0, arg1) {
217
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h19f36e795f279e4e(arg0, arg1);
218
+ }
219
+
220
+ function __wbg_adapter_37(arg0, arg1) {
221
+ wasm.wasm_bindgen__convert__closures__invoke0_mut__hbb2d466e4a580595(arg0, arg1);
222
+ }
223
+
224
+ function __wbg_adapter_40(arg0, arg1) {
225
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf64c3fc72d424f95(arg0, arg1);
226
+ }
227
+
228
+ function __wbg_adapter_43(arg0, arg1, arg2) {
229
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hcda1bc7f6baacddd(arg0, arg1, addHeapObject(arg2));
230
+ }
231
+
232
+ function __wbg_adapter_46(arg0, arg1) {
233
+ try {
234
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
235
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3960a85cd94e1623(retptr, arg0, arg1);
236
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
237
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
238
+ if (r1) {
239
+ throw takeObject(r0);
240
+ }
241
+ } finally {
242
+ wasm.__wbindgen_add_to_stack_pointer(16);
243
+ }
244
+ }
245
+
246
+ function __wbg_adapter_49(arg0, arg1, arg2) {
247
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h00f3b5d0b78ac098(arg0, arg1, addHeapObject(arg2));
248
+ }
249
+
250
+ function __wbg_adapter_58(arg0, arg1, arg2) {
251
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf62c39bd238416f9(arg0, arg1, addHeapObject(arg2));
252
+ }
253
+
254
+ function __wbg_adapter_61(arg0, arg1, arg2) {
255
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hefb91f3bd6a8bfc9(arg0, arg1, addHeapObject(arg2));
256
+ }
257
+
258
+ function __wbg_adapter_64(arg0, arg1, arg2) {
259
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbc8a650979ad564c(arg0, arg1, addHeapObject(arg2));
260
+ }
261
+
262
+ /**
263
+ * Used to set the "email" property in the analytics config,
264
+ * in the same way as `rerun analytics email YOURNAME@rerun.io`.
265
+ *
266
+ * This one just panics when it fails, as it's only ever really run
267
+ * by rerun employees manually in `app.rerun.io` and `demo.rerun.io`.
268
+ * @param {string} email
269
+ */
270
+ export function set_email(email) {
271
+ const ptr0 = passStringToWasm0(email, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
272
+ const len0 = WASM_VECTOR_LEN;
273
+ wasm.set_email(ptr0, len0);
274
+ }
275
+
276
+ /**
277
+ * @returns {boolean}
278
+ */
279
+ export function is_webgpu_build() {
280
+ const ret = wasm.is_webgpu_build();
281
+ return ret !== 0;
282
+ }
283
+
284
+ function handleError(f, args) {
285
+ try {
286
+ return f.apply(this, args);
287
+ } catch (e) {
288
+ wasm.__wbindgen_exn_store(addHeapObject(e));
289
+ }
290
+ }
291
+
292
+ let cachedFloat32Memory0 = null;
293
+
294
+ function getFloat32Memory0() {
295
+ if (cachedFloat32Memory0 === null || cachedFloat32Memory0.byteLength === 0) {
296
+ cachedFloat32Memory0 = new Float32Array(wasm.memory.buffer);
297
+ }
298
+ return cachedFloat32Memory0;
299
+ }
300
+
301
+ function getArrayF32FromWasm0(ptr, len) {
302
+ ptr = ptr >>> 0;
303
+ return getFloat32Memory0().subarray(ptr / 4, ptr / 4 + len);
304
+ }
305
+
306
+ function getArrayI32FromWasm0(ptr, len) {
307
+ ptr = ptr >>> 0;
308
+ return getInt32Memory0().subarray(ptr / 4, ptr / 4 + len);
309
+ }
310
+
311
+ let cachedUint32Memory0 = null;
312
+
313
+ function getUint32Memory0() {
314
+ if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
315
+ cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
316
+ }
317
+ return cachedUint32Memory0;
318
+ }
319
+
320
+ function getArrayU32FromWasm0(ptr, len) {
321
+ ptr = ptr >>> 0;
322
+ return getUint32Memory0().subarray(ptr / 4, ptr / 4 + len);
323
+ }
324
+ function __wbg_adapter_979(arg0, arg1, arg2, arg3) {
325
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h1cdbc2433d9b182f(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
326
+ }
327
+
328
+ /**
329
+ */
330
+ export class IntoUnderlyingByteSource {
331
+
332
+ __destroy_into_raw() {
333
+ const ptr = this.__wbg_ptr;
334
+ this.__wbg_ptr = 0;
335
+
336
+ return ptr;
337
+ }
338
+
339
+ free() {
340
+ const ptr = this.__destroy_into_raw();
341
+ wasm.__wbg_intounderlyingbytesource_free(ptr);
342
+ }
343
+ /**
344
+ * @returns {string}
345
+ */
346
+ get type() {
347
+ let deferred1_0;
348
+ let deferred1_1;
349
+ try {
350
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
351
+ wasm.intounderlyingbytesource_type(retptr, this.__wbg_ptr);
352
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
353
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
354
+ deferred1_0 = r0;
355
+ deferred1_1 = r1;
356
+ return getStringFromWasm0(r0, r1);
357
+ } finally {
358
+ wasm.__wbindgen_add_to_stack_pointer(16);
359
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
360
+ }
361
+ }
362
+ /**
363
+ * @returns {number}
364
+ */
365
+ get autoAllocateChunkSize() {
366
+ const ret = wasm.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr);
367
+ return ret >>> 0;
368
+ }
369
+ /**
370
+ * @param {any} controller
371
+ */
372
+ start(controller) {
373
+ wasm.intounderlyingbytesource_start(this.__wbg_ptr, addHeapObject(controller));
374
+ }
375
+ /**
376
+ * @param {any} controller
377
+ * @returns {Promise<any>}
378
+ */
379
+ pull(controller) {
380
+ const ret = wasm.intounderlyingbytesource_pull(this.__wbg_ptr, addHeapObject(controller));
381
+ return takeObject(ret);
382
+ }
383
+ /**
384
+ */
385
+ cancel() {
386
+ const ptr = this.__destroy_into_raw();
387
+ wasm.intounderlyingbytesource_cancel(ptr);
388
+ }
389
+ }
390
+ /**
391
+ */
392
+ export class IntoUnderlyingSink {
393
+
394
+ __destroy_into_raw() {
395
+ const ptr = this.__wbg_ptr;
396
+ this.__wbg_ptr = 0;
397
+
398
+ return ptr;
399
+ }
400
+
401
+ free() {
402
+ const ptr = this.__destroy_into_raw();
403
+ wasm.__wbg_intounderlyingsink_free(ptr);
404
+ }
405
+ /**
406
+ * @param {any} chunk
407
+ * @returns {Promise<any>}
408
+ */
409
+ write(chunk) {
410
+ const ret = wasm.intounderlyingsink_write(this.__wbg_ptr, addHeapObject(chunk));
411
+ return takeObject(ret);
412
+ }
413
+ /**
414
+ * @returns {Promise<any>}
415
+ */
416
+ close() {
417
+ const ptr = this.__destroy_into_raw();
418
+ const ret = wasm.intounderlyingsink_close(ptr);
419
+ return takeObject(ret);
420
+ }
421
+ /**
422
+ * @param {any} reason
423
+ * @returns {Promise<any>}
424
+ */
425
+ abort(reason) {
426
+ const ptr = this.__destroy_into_raw();
427
+ const ret = wasm.intounderlyingsink_abort(ptr, addHeapObject(reason));
428
+ return takeObject(ret);
429
+ }
430
+ }
431
+ /**
432
+ */
433
+ export class IntoUnderlyingSource {
434
+
435
+ __destroy_into_raw() {
436
+ const ptr = this.__wbg_ptr;
437
+ this.__wbg_ptr = 0;
438
+
439
+ return ptr;
440
+ }
441
+
442
+ free() {
443
+ const ptr = this.__destroy_into_raw();
444
+ wasm.__wbg_intounderlyingsource_free(ptr);
445
+ }
446
+ /**
447
+ * @param {any} controller
448
+ * @returns {Promise<any>}
449
+ */
450
+ pull(controller) {
451
+ const ret = wasm.intounderlyingsource_pull(this.__wbg_ptr, addHeapObject(controller));
452
+ return takeObject(ret);
453
+ }
454
+ /**
455
+ */
456
+ cancel() {
457
+ const ptr = this.__destroy_into_raw();
458
+ wasm.intounderlyingsource_cancel(ptr);
459
+ }
460
+ }
461
+ /**
462
+ * Raw options for [`pipeTo()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo).
463
+ */
464
+ export class PipeOptions {
465
+
466
+ __destroy_into_raw() {
467
+ const ptr = this.__wbg_ptr;
468
+ this.__wbg_ptr = 0;
469
+
470
+ return ptr;
471
+ }
472
+
473
+ free() {
474
+ const ptr = this.__destroy_into_raw();
475
+ wasm.__wbg_pipeoptions_free(ptr);
476
+ }
477
+ /**
478
+ * @returns {boolean}
479
+ */
480
+ get preventClose() {
481
+ const ret = wasm.pipeoptions_preventClose(this.__wbg_ptr);
482
+ return ret !== 0;
483
+ }
484
+ /**
485
+ * @returns {boolean}
486
+ */
487
+ get preventCancel() {
488
+ const ret = wasm.pipeoptions_preventCancel(this.__wbg_ptr);
489
+ return ret !== 0;
490
+ }
491
+ /**
492
+ * @returns {boolean}
493
+ */
494
+ get preventAbort() {
495
+ const ret = wasm.pipeoptions_preventAbort(this.__wbg_ptr);
496
+ return ret !== 0;
497
+ }
498
+ /**
499
+ * @returns {AbortSignal | undefined}
500
+ */
501
+ get signal() {
502
+ const ret = wasm.pipeoptions_signal(this.__wbg_ptr);
503
+ return takeObject(ret);
504
+ }
505
+ }
506
+ /**
507
+ */
508
+ export class QueuingStrategy {
509
+
510
+ __destroy_into_raw() {
511
+ const ptr = this.__wbg_ptr;
512
+ this.__wbg_ptr = 0;
513
+
514
+ return ptr;
515
+ }
516
+
517
+ free() {
518
+ const ptr = this.__destroy_into_raw();
519
+ wasm.__wbg_queuingstrategy_free(ptr);
520
+ }
521
+ /**
522
+ * @returns {number}
523
+ */
524
+ get highWaterMark() {
525
+ const ret = wasm.queuingstrategy_highWaterMark(this.__wbg_ptr);
526
+ return ret;
527
+ }
528
+ }
529
+ /**
530
+ * Raw options for [`getReader()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/getReader).
531
+ */
532
+ export class ReadableStreamGetReaderOptions {
533
+
534
+ __destroy_into_raw() {
535
+ const ptr = this.__wbg_ptr;
536
+ this.__wbg_ptr = 0;
537
+
538
+ return ptr;
539
+ }
540
+
541
+ free() {
542
+ const ptr = this.__destroy_into_raw();
543
+ wasm.__wbg_readablestreamgetreaderoptions_free(ptr);
544
+ }
545
+ /**
546
+ * @returns {any}
547
+ */
548
+ get mode() {
549
+ const ret = wasm.readablestreamgetreaderoptions_mode(this.__wbg_ptr);
550
+ return takeObject(ret);
551
+ }
552
+ }
553
+ /**
554
+ */
555
+ export class WebHandle {
556
+
557
+ static __wrap(ptr) {
558
+ ptr = ptr >>> 0;
559
+ const obj = Object.create(WebHandle.prototype);
560
+ obj.__wbg_ptr = ptr;
561
+
562
+ return obj;
563
+ }
564
+
565
+ __destroy_into_raw() {
566
+ const ptr = this.__wbg_ptr;
567
+ this.__wbg_ptr = 0;
568
+
569
+ return ptr;
570
+ }
571
+
572
+ free() {
573
+ const ptr = this.__destroy_into_raw();
574
+ wasm.__wbg_webhandle_free(ptr);
575
+ }
576
+ /**
577
+ */
578
+ constructor() {
579
+ const ret = wasm.webhandle_new();
580
+ return WebHandle.__wrap(ret);
581
+ }
582
+ /**
583
+ * The `url` is an optional URL to either an .rrd file over http, or a Rerun WebSocket server.
584
+ * @param {string} canvas_id
585
+ * @param {string | undefined} url
586
+ * @returns {Promise<void>}
587
+ */
588
+ start(canvas_id, url) {
589
+ const ptr0 = passStringToWasm0(canvas_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
590
+ const len0 = WASM_VECTOR_LEN;
591
+ var ptr1 = isLikeNone(url) ? 0 : passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
592
+ var len1 = WASM_VECTOR_LEN;
593
+ const ret = wasm.webhandle_start(this.__wbg_ptr, ptr0, len0, ptr1, len1);
594
+ return takeObject(ret);
595
+ }
596
+ /**
597
+ */
598
+ destroy() {
599
+ wasm.webhandle_destroy(this.__wbg_ptr);
600
+ }
601
+ /**
602
+ * @returns {boolean}
603
+ */
604
+ has_panicked() {
605
+ const ret = wasm.webhandle_has_panicked(this.__wbg_ptr);
606
+ return ret !== 0;
607
+ }
608
+ /**
609
+ * @returns {string | undefined}
610
+ */
611
+ panic_message() {
612
+ try {
613
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
614
+ wasm.webhandle_panic_message(retptr, this.__wbg_ptr);
615
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
616
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
617
+ let v1;
618
+ if (r0 !== 0) {
619
+ v1 = getStringFromWasm0(r0, r1).slice();
620
+ wasm.__wbindgen_free(r0, r1 * 1);
621
+ }
622
+ return v1;
623
+ } finally {
624
+ wasm.__wbindgen_add_to_stack_pointer(16);
625
+ }
626
+ }
627
+ /**
628
+ * @returns {string | undefined}
629
+ */
630
+ panic_callstack() {
631
+ try {
632
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
633
+ wasm.webhandle_panic_callstack(retptr, this.__wbg_ptr);
634
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
635
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
636
+ let v1;
637
+ if (r0 !== 0) {
638
+ v1 = getStringFromWasm0(r0, r1).slice();
639
+ wasm.__wbindgen_free(r0, r1 * 1);
640
+ }
641
+ return v1;
642
+ } finally {
643
+ wasm.__wbindgen_add_to_stack_pointer(16);
644
+ }
645
+ }
646
+ }
647
+
648
+ async function __wbg_load(module, imports) {
649
+ if (typeof Response === 'function' && module instanceof Response) {
650
+ if (typeof WebAssembly.instantiateStreaming === 'function') {
651
+ try {
652
+ return await WebAssembly.instantiateStreaming(module, imports);
653
+
654
+ } catch (e) {
655
+ if (module.headers.get('Content-Type') != 'application/wasm') {
656
+ 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);
657
+
658
+ } else {
659
+ throw e;
660
+ }
661
+ }
662
+ }
663
+
664
+ const bytes = await module.arrayBuffer();
665
+ return await WebAssembly.instantiate(bytes, imports);
666
+
667
+ } else {
668
+ const instance = await WebAssembly.instantiate(module, imports);
669
+
670
+ if (instance instanceof WebAssembly.Instance) {
671
+ return { instance, module };
672
+
673
+ } else {
674
+ return instance;
675
+ }
676
+ }
677
+ }
678
+
679
+ function __wbg_get_imports() {
680
+ const imports = {};
681
+ imports.wbg = {};
682
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
683
+ takeObject(arg0);
684
+ };
685
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
686
+ const ret = getStringFromWasm0(arg0, arg1);
687
+ return addHeapObject(ret);
688
+ };
689
+ imports.wbg.__wbindgen_cb_drop = function(arg0) {
690
+ const obj = takeObject(arg0).original;
691
+ if (obj.cnt-- == 1) {
692
+ obj.a = 0;
693
+ return true;
694
+ }
695
+ const ret = false;
696
+ return ret;
697
+ };
698
+ imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
699
+ const ret = getObject(arg0);
700
+ return addHeapObject(ret);
701
+ };
702
+ imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
703
+ const obj = getObject(arg1);
704
+ const ret = typeof(obj) === 'number' ? obj : undefined;
705
+ getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
706
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
707
+ };
708
+ imports.wbg.__wbg_error_e38422e56bbd072c = function(arg0, arg1) {
709
+ let deferred0_0;
710
+ let deferred0_1;
711
+ try {
712
+ deferred0_0 = arg0;
713
+ deferred0_1 = arg1;
714
+ console.error(getStringFromWasm0(arg0, arg1));
715
+ } finally {
716
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
717
+ }
718
+ };
719
+ imports.wbg.__wbg_new_e7fbaa407e13d590 = function() {
720
+ const ret = new Error();
721
+ return addHeapObject(ret);
722
+ };
723
+ imports.wbg.__wbg_stack_21698d2a5852e13e = function(arg0, arg1) {
724
+ const ret = getObject(arg1).stack;
725
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
726
+ const len1 = WASM_VECTOR_LEN;
727
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
728
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
729
+ };
730
+ imports.wbg.__wbg_new_02033526dbe870ef = function() {
731
+ const ret = new Error();
732
+ return addHeapObject(ret);
733
+ };
734
+ imports.wbg.__wbg_stack_0da49df82f1c2e5e = function(arg0, arg1) {
735
+ const ret = getObject(arg1).stack;
736
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
737
+ const len1 = WASM_VECTOR_LEN;
738
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
739
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
740
+ };
741
+ imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
742
+ const obj = getObject(arg1);
743
+ const ret = typeof(obj) === 'string' ? obj : undefined;
744
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
745
+ var len1 = WASM_VECTOR_LEN;
746
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
747
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
748
+ };
749
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
750
+ const v = getObject(arg0);
751
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
752
+ return ret;
753
+ };
754
+ imports.wbg.__wbindgen_number_new = function(arg0) {
755
+ const ret = arg0;
756
+ return addHeapObject(ret);
757
+ };
758
+ imports.wbg.__wbindgen_is_string = function(arg0) {
759
+ const ret = typeof(getObject(arg0)) === 'string';
760
+ return ret;
761
+ };
762
+ imports.wbg.__wbg_instanceof_ReadableStream_723f1212419028dc = function(arg0) {
763
+ let result;
764
+ try {
765
+ result = getObject(arg0) instanceof ReadableStream;
766
+ } catch {
767
+ result = false;
768
+ }
769
+ const ret = result;
770
+ return ret;
771
+ };
772
+ imports.wbg.__wbg_getReader_8ecba87d8003e950 = function() { return handleError(function (arg0) {
773
+ const ret = getObject(arg0).getReader();
774
+ return addHeapObject(ret);
775
+ }, arguments) };
776
+ imports.wbg.__wbg_close_e9110ca16e2567db = function(arg0) {
777
+ getObject(arg0).close();
778
+ };
779
+ imports.wbg.__wbg_enqueue_d71a1a518e21f5c3 = function(arg0, arg1) {
780
+ getObject(arg0).enqueue(getObject(arg1));
781
+ };
782
+ imports.wbg.__wbg_byobRequest_08c18cee35def1f4 = function(arg0) {
783
+ const ret = getObject(arg0).byobRequest;
784
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
785
+ };
786
+ imports.wbg.__wbg_close_da7e6fb9d9851e5a = function(arg0) {
787
+ getObject(arg0).close();
788
+ };
789
+ imports.wbg.__wbg_view_231340b0dd8a2484 = function(arg0) {
790
+ const ret = getObject(arg0).view;
791
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
792
+ };
793
+ imports.wbg.__wbg_respond_8fadc5f5c9d95422 = function(arg0, arg1) {
794
+ getObject(arg0).respond(arg1 >>> 0);
795
+ };
796
+ imports.wbg.__wbg_buffer_4e79326814bdd393 = function(arg0) {
797
+ const ret = getObject(arg0).buffer;
798
+ return addHeapObject(ret);
799
+ };
800
+ imports.wbg.__wbg_byteOffset_b69b0a07afccce19 = function(arg0) {
801
+ const ret = getObject(arg0).byteOffset;
802
+ return ret;
803
+ };
804
+ imports.wbg.__wbg_byteLength_5299848ed3264181 = function(arg0) {
805
+ const ret = getObject(arg0).byteLength;
806
+ return ret;
807
+ };
808
+ imports.wbg.__wbg_cancel_7f202496da02cd45 = function(arg0) {
809
+ const ret = getObject(arg0).cancel();
810
+ return addHeapObject(ret);
811
+ };
812
+ imports.wbg.__wbg_releaseLock_9ae075576f54bf0b = function() { return handleError(function (arg0) {
813
+ getObject(arg0).releaseLock();
814
+ }, arguments) };
815
+ imports.wbg.__wbg_read_88c96573fc8b3b01 = function(arg0) {
816
+ const ret = getObject(arg0).read();
817
+ return addHeapObject(ret);
818
+ };
819
+ imports.wbg.__wbg_done_76252d32deca186b = function(arg0) {
820
+ const ret = getObject(arg0).done;
821
+ return ret;
822
+ };
823
+ imports.wbg.__wbg_value_ff3741eb46856618 = function(arg0) {
824
+ const ret = getObject(arg0).value;
825
+ return addHeapObject(ret);
826
+ };
827
+ imports.wbg.__wbg_instanceof_WebGl2RenderingContext_f921526c513bf717 = function(arg0) {
828
+ let result;
829
+ try {
830
+ result = getObject(arg0) instanceof WebGL2RenderingContext;
831
+ } catch {
832
+ result = false;
833
+ }
834
+ const ret = result;
835
+ return ret;
836
+ };
837
+ imports.wbg.__wbg_beginQuery_d338463adf721553 = function(arg0, arg1, arg2) {
838
+ getObject(arg0).beginQuery(arg1 >>> 0, getObject(arg2));
839
+ };
840
+ imports.wbg.__wbg_bindBufferRange_d8a5ebc8ea8be507 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
841
+ getObject(arg0).bindBufferRange(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5);
842
+ };
843
+ imports.wbg.__wbg_bindSampler_d74e398b68cf5980 = function(arg0, arg1, arg2) {
844
+ getObject(arg0).bindSampler(arg1 >>> 0, getObject(arg2));
845
+ };
846
+ imports.wbg.__wbg_bindVertexArray_8863a216d7b0a339 = function(arg0, arg1) {
847
+ getObject(arg0).bindVertexArray(getObject(arg1));
848
+ };
849
+ imports.wbg.__wbg_blitFramebuffer_e6642748dd06d47e = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
850
+ getObject(arg0).blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
851
+ };
852
+ imports.wbg.__wbg_bufferData_496bbb31639d9850 = function(arg0, arg1, arg2, arg3) {
853
+ getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
854
+ };
855
+ imports.wbg.__wbg_bufferData_21334671c4ba6004 = function(arg0, arg1, arg2, arg3) {
856
+ getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
857
+ };
858
+ imports.wbg.__wbg_bufferSubData_c472b93c9e272eac = function(arg0, arg1, arg2, arg3) {
859
+ getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3));
860
+ };
861
+ imports.wbg.__wbg_clearBufferfi_25bcd35b825f629d = function(arg0, arg1, arg2, arg3, arg4) {
862
+ getObject(arg0).clearBufferfi(arg1 >>> 0, arg2, arg3, arg4);
863
+ };
864
+ imports.wbg.__wbg_clearBufferfv_9de0cb45cc5a012b = function(arg0, arg1, arg2, arg3, arg4) {
865
+ getObject(arg0).clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
866
+ };
867
+ imports.wbg.__wbg_clearBufferiv_fc2f8bce2930c586 = function(arg0, arg1, arg2, arg3, arg4) {
868
+ getObject(arg0).clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
869
+ };
870
+ imports.wbg.__wbg_clearBufferuiv_2f6d220a31eabca4 = function(arg0, arg1, arg2, arg3, arg4) {
871
+ getObject(arg0).clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
872
+ };
873
+ imports.wbg.__wbg_clientWaitSync_6a74725ec890efdd = function(arg0, arg1, arg2, arg3) {
874
+ const ret = getObject(arg0).clientWaitSync(getObject(arg1), arg2 >>> 0, arg3 >>> 0);
875
+ return ret;
876
+ };
877
+ imports.wbg.__wbg_compressedTexSubImage2D_945ba54869f3a612 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
878
+ getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
879
+ };
880
+ imports.wbg.__wbg_compressedTexSubImage2D_ed56fa2f82a839b1 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
881
+ getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, getObject(arg8));
882
+ };
883
+ imports.wbg.__wbg_compressedTexSubImage3D_4cebeae1440fdc14 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
884
+ getObject(arg0).compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
885
+ };
886
+ imports.wbg.__wbg_compressedTexSubImage3D_0ae61aaa91089745 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
887
+ getObject(arg0).compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, getObject(arg10));
888
+ };
889
+ imports.wbg.__wbg_copyBufferSubData_d112912c90270156 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
890
+ getObject(arg0).copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
891
+ };
892
+ imports.wbg.__wbg_copyTexSubImage3D_9fa5e9e7b16cf09d = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
893
+ getObject(arg0).copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
894
+ };
895
+ imports.wbg.__wbg_createQuery_2ef2dc0f01a4a8e3 = function(arg0) {
896
+ const ret = getObject(arg0).createQuery();
897
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
898
+ };
899
+ imports.wbg.__wbg_createSampler_039ecd204675292b = function(arg0) {
900
+ const ret = getObject(arg0).createSampler();
901
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
902
+ };
903
+ imports.wbg.__wbg_createVertexArray_51d51e1e1e13e9f6 = function(arg0) {
904
+ const ret = getObject(arg0).createVertexArray();
905
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
906
+ };
907
+ imports.wbg.__wbg_deleteQuery_0c64c5200cdc57a6 = function(arg0, arg1) {
908
+ getObject(arg0).deleteQuery(getObject(arg1));
909
+ };
910
+ imports.wbg.__wbg_deleteSampler_ce5b8e120f96fc1a = function(arg0, arg1) {
911
+ getObject(arg0).deleteSampler(getObject(arg1));
912
+ };
913
+ imports.wbg.__wbg_deleteSync_1b05dfcc176e7466 = function(arg0, arg1) {
914
+ getObject(arg0).deleteSync(getObject(arg1));
915
+ };
916
+ imports.wbg.__wbg_deleteVertexArray_3e4f2e2ff7f05a19 = function(arg0, arg1) {
917
+ getObject(arg0).deleteVertexArray(getObject(arg1));
918
+ };
919
+ imports.wbg.__wbg_drawArraysInstanced_8fb13fe9faf95212 = function(arg0, arg1, arg2, arg3, arg4) {
920
+ getObject(arg0).drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
921
+ };
922
+ imports.wbg.__wbg_drawBuffers_15d26e17a8d24ee0 = function(arg0, arg1) {
923
+ getObject(arg0).drawBuffers(getObject(arg1));
924
+ };
925
+ imports.wbg.__wbg_drawElementsInstanced_dcf53461a977d44c = function(arg0, arg1, arg2, arg3, arg4, arg5) {
926
+ getObject(arg0).drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
927
+ };
928
+ imports.wbg.__wbg_endQuery_faf7eb231d6f2a66 = function(arg0, arg1) {
929
+ getObject(arg0).endQuery(arg1 >>> 0);
930
+ };
931
+ imports.wbg.__wbg_fenceSync_d68dcbdcdd134d92 = function(arg0, arg1, arg2) {
932
+ const ret = getObject(arg0).fenceSync(arg1 >>> 0, arg2 >>> 0);
933
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
934
+ };
935
+ imports.wbg.__wbg_framebufferTextureLayer_a92788e5f0409234 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
936
+ getObject(arg0).framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5);
937
+ };
938
+ imports.wbg.__wbg_getBufferSubData_8710cc73621fc332 = function(arg0, arg1, arg2, arg3) {
939
+ getObject(arg0).getBufferSubData(arg1 >>> 0, arg2, getObject(arg3));
940
+ };
941
+ imports.wbg.__wbg_getIndexedParameter_4f004dc25c3d15a9 = function() { return handleError(function (arg0, arg1, arg2) {
942
+ const ret = getObject(arg0).getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
943
+ return addHeapObject(ret);
944
+ }, arguments) };
945
+ imports.wbg.__wbg_getQueryParameter_64c18ef385414bf1 = function(arg0, arg1, arg2) {
946
+ const ret = getObject(arg0).getQueryParameter(getObject(arg1), arg2 >>> 0);
947
+ return addHeapObject(ret);
948
+ };
949
+ imports.wbg.__wbg_getSyncParameter_d93ec7f6bb11274c = function(arg0, arg1, arg2) {
950
+ const ret = getObject(arg0).getSyncParameter(getObject(arg1), arg2 >>> 0);
951
+ return addHeapObject(ret);
952
+ };
953
+ imports.wbg.__wbg_getUniformBlockIndex_99c15053c9a87c73 = function(arg0, arg1, arg2, arg3) {
954
+ const ret = getObject(arg0).getUniformBlockIndex(getObject(arg1), getStringFromWasm0(arg2, arg3));
955
+ return ret;
956
+ };
957
+ imports.wbg.__wbg_invalidateFramebuffer_03bd99588b15d627 = function() { return handleError(function (arg0, arg1, arg2) {
958
+ getObject(arg0).invalidateFramebuffer(arg1 >>> 0, getObject(arg2));
959
+ }, arguments) };
960
+ imports.wbg.__wbg_readBuffer_c426fe18344296ff = function(arg0, arg1) {
961
+ getObject(arg0).readBuffer(arg1 >>> 0);
962
+ };
963
+ imports.wbg.__wbg_readPixels_99fda83f6ca7ec72 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
964
+ getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
965
+ }, arguments) };
966
+ imports.wbg.__wbg_readPixels_9634f0dcfb54667c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
967
+ getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
968
+ }, arguments) };
969
+ imports.wbg.__wbg_renderbufferStorageMultisample_9260e2e620c949e5 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
970
+ getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
971
+ };
972
+ imports.wbg.__wbg_samplerParameterf_1c7562ef061b803b = function(arg0, arg1, arg2, arg3) {
973
+ getObject(arg0).samplerParameterf(getObject(arg1), arg2 >>> 0, arg3);
974
+ };
975
+ imports.wbg.__wbg_samplerParameteri_0fee083bc48e70ee = function(arg0, arg1, arg2, arg3) {
976
+ getObject(arg0).samplerParameteri(getObject(arg1), arg2 >>> 0, arg3);
977
+ };
978
+ imports.wbg.__wbg_texStorage2D_6665d01025a7e7fc = function(arg0, arg1, arg2, arg3, arg4, arg5) {
979
+ getObject(arg0).texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
980
+ };
981
+ imports.wbg.__wbg_texStorage3D_c01c31c1b02d75fd = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
982
+ getObject(arg0).texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
983
+ };
984
+ imports.wbg.__wbg_texSubImage2D_d2841ded12a8aa66 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
985
+ getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
986
+ }, arguments) };
987
+ imports.wbg.__wbg_texSubImage2D_bccf4e250f1ce1b8 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
988
+ getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
989
+ }, arguments) };
990
+ imports.wbg.__wbg_texSubImage2D_780a7c889dc20a98 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
991
+ getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
992
+ }, arguments) };
993
+ imports.wbg.__wbg_texSubImage2D_b5bb36f2f54b4264 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
994
+ getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
995
+ }, arguments) };
996
+ imports.wbg.__wbg_texSubImage2D_a297114050ea1098 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
997
+ getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
998
+ }, arguments) };
999
+ imports.wbg.__wbg_texSubImage3D_43f39a73ed02fae3 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
1000
+ getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
1001
+ }, arguments) };
1002
+ imports.wbg.__wbg_texSubImage3D_ffdccca1422b482a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
1003
+ getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
1004
+ }, arguments) };
1005
+ imports.wbg.__wbg_texSubImage3D_69d5e09d45e0251c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
1006
+ getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
1007
+ }, arguments) };
1008
+ imports.wbg.__wbg_texSubImage3D_ae3ed5d0154c346c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
1009
+ getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
1010
+ }, arguments) };
1011
+ imports.wbg.__wbg_texSubImage3D_80693fc2c7855e4d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
1012
+ getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11));
1013
+ }, arguments) };
1014
+ imports.wbg.__wbg_uniform2fv_2b473f6dce24c898 = function(arg0, arg1, arg2, arg3) {
1015
+ getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
1016
+ };
1017
+ imports.wbg.__wbg_uniform2iv_fdaa3cd258d3451e = function(arg0, arg1, arg2, arg3) {
1018
+ getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
1019
+ };
1020
+ imports.wbg.__wbg_uniform3fv_3e55033ca16ec6ab = function(arg0, arg1, arg2, arg3) {
1021
+ getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
1022
+ };
1023
+ imports.wbg.__wbg_uniform3iv_3d3ed90c76e6777e = function(arg0, arg1, arg2, arg3) {
1024
+ getObject(arg0).uniform3iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
1025
+ };
1026
+ imports.wbg.__wbg_uniform4fv_26ec0c9d7bf6d7c6 = function(arg0, arg1, arg2, arg3) {
1027
+ getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
1028
+ };
1029
+ imports.wbg.__wbg_uniform4iv_2be6b77c47b90d81 = function(arg0, arg1, arg2, arg3) {
1030
+ getObject(arg0).uniform4iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
1031
+ };
1032
+ imports.wbg.__wbg_uniformBlockBinding_0dc4bd81bb4ccb6a = function(arg0, arg1, arg2, arg3) {
1033
+ getObject(arg0).uniformBlockBinding(getObject(arg1), arg2 >>> 0, arg3 >>> 0);
1034
+ };
1035
+ imports.wbg.__wbg_uniformMatrix2fv_1ab7aeb8562ea3dd = function(arg0, arg1, arg2, arg3, arg4) {
1036
+ getObject(arg0).uniformMatrix2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
1037
+ };
1038
+ imports.wbg.__wbg_uniformMatrix3fv_0b151be4d76ee66b = function(arg0, arg1, arg2, arg3, arg4) {
1039
+ getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
1040
+ };
1041
+ imports.wbg.__wbg_uniformMatrix4fv_766b5ba343983038 = function(arg0, arg1, arg2, arg3, arg4) {
1042
+ getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
1043
+ };
1044
+ imports.wbg.__wbg_vertexAttribDivisor_197e2e23e3fbde7f = function(arg0, arg1, arg2) {
1045
+ getObject(arg0).vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
1046
+ };
1047
+ imports.wbg.__wbg_vertexAttribIPointer_6f8540e358f8a547 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
1048
+ getObject(arg0).vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
1049
+ };
1050
+ imports.wbg.__wbg_activeTexture_799bf1387e911c27 = function(arg0, arg1) {
1051
+ getObject(arg0).activeTexture(arg1 >>> 0);
1052
+ };
1053
+ imports.wbg.__wbg_attachShader_47256b6b3d42a22e = function(arg0, arg1, arg2) {
1054
+ getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
1055
+ };
1056
+ imports.wbg.__wbg_bindBuffer_24f6010e273fa400 = function(arg0, arg1, arg2) {
1057
+ getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
1058
+ };
1059
+ imports.wbg.__wbg_bindFramebuffer_a9573e340dab20fe = function(arg0, arg1, arg2) {
1060
+ getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
1061
+ };
1062
+ imports.wbg.__wbg_bindRenderbuffer_54c404711f9b6958 = function(arg0, arg1, arg2) {
1063
+ getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));
1064
+ };
1065
+ imports.wbg.__wbg_bindTexture_92d6d7f8bff9531e = function(arg0, arg1, arg2) {
1066
+ getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
1067
+ };
1068
+ imports.wbg.__wbg_blendColor_7974f09cb60d2be0 = function(arg0, arg1, arg2, arg3, arg4) {
1069
+ getObject(arg0).blendColor(arg1, arg2, arg3, arg4);
1070
+ };
1071
+ imports.wbg.__wbg_blendEquation_12146cb96dc1bcd9 = function(arg0, arg1) {
1072
+ getObject(arg0).blendEquation(arg1 >>> 0);
1073
+ };
1074
+ imports.wbg.__wbg_blendEquationSeparate_205526dad772d160 = function(arg0, arg1, arg2) {
1075
+ getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
1076
+ };
1077
+ imports.wbg.__wbg_blendFunc_533de6de45b80a09 = function(arg0, arg1, arg2) {
1078
+ getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
1079
+ };
1080
+ imports.wbg.__wbg_blendFuncSeparate_fbf93dee3e5ce456 = function(arg0, arg1, arg2, arg3, arg4) {
1081
+ getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
1082
+ };
1083
+ imports.wbg.__wbg_colorMask_fba1e2efd891e2ac = function(arg0, arg1, arg2, arg3, arg4) {
1084
+ getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
1085
+ };
1086
+ imports.wbg.__wbg_compileShader_6bf78b425d5c98e1 = function(arg0, arg1) {
1087
+ getObject(arg0).compileShader(getObject(arg1));
1088
+ };
1089
+ imports.wbg.__wbg_copyTexSubImage2D_26685100d5f2b4c0 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
1090
+ getObject(arg0).copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
1091
+ };
1092
+ imports.wbg.__wbg_createBuffer_323425af422748ac = function(arg0) {
1093
+ const ret = getObject(arg0).createBuffer();
1094
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1095
+ };
1096
+ imports.wbg.__wbg_createFramebuffer_1684a99697ac9563 = function(arg0) {
1097
+ const ret = getObject(arg0).createFramebuffer();
1098
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1099
+ };
1100
+ imports.wbg.__wbg_createProgram_4eaf3b97b5747a62 = function(arg0) {
1101
+ const ret = getObject(arg0).createProgram();
1102
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1103
+ };
1104
+ imports.wbg.__wbg_createRenderbuffer_3e6dd356d7897ed7 = function(arg0) {
1105
+ const ret = getObject(arg0).createRenderbuffer();
1106
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1107
+ };
1108
+ imports.wbg.__wbg_createShader_429776c9dd6fb87b = function(arg0, arg1) {
1109
+ const ret = getObject(arg0).createShader(arg1 >>> 0);
1110
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1111
+ };
1112
+ imports.wbg.__wbg_createTexture_1bf4d6fec570124b = function(arg0) {
1113
+ const ret = getObject(arg0).createTexture();
1114
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1115
+ };
1116
+ imports.wbg.__wbg_cullFace_6daa9f2aa42b4620 = function(arg0, arg1) {
1117
+ getObject(arg0).cullFace(arg1 >>> 0);
1118
+ };
1119
+ imports.wbg.__wbg_deleteBuffer_2c09d03fa4b0bd08 = function(arg0, arg1) {
1120
+ getObject(arg0).deleteBuffer(getObject(arg1));
1121
+ };
1122
+ imports.wbg.__wbg_deleteFramebuffer_edd16bb8df6a8e0d = function(arg0, arg1) {
1123
+ getObject(arg0).deleteFramebuffer(getObject(arg1));
1124
+ };
1125
+ imports.wbg.__wbg_deleteProgram_53a32852f245b839 = function(arg0, arg1) {
1126
+ getObject(arg0).deleteProgram(getObject(arg1));
1127
+ };
1128
+ imports.wbg.__wbg_deleteRenderbuffer_134040051fcc1ba5 = function(arg0, arg1) {
1129
+ getObject(arg0).deleteRenderbuffer(getObject(arg1));
1130
+ };
1131
+ imports.wbg.__wbg_deleteShader_7c1222349324b5e2 = function(arg0, arg1) {
1132
+ getObject(arg0).deleteShader(getObject(arg1));
1133
+ };
1134
+ imports.wbg.__wbg_deleteTexture_4fcfea73cd8f6214 = function(arg0, arg1) {
1135
+ getObject(arg0).deleteTexture(getObject(arg1));
1136
+ };
1137
+ imports.wbg.__wbg_depthFunc_fb41ad353d07948d = function(arg0, arg1) {
1138
+ getObject(arg0).depthFunc(arg1 >>> 0);
1139
+ };
1140
+ imports.wbg.__wbg_depthMask_6a4ff02cd2a2702e = function(arg0, arg1) {
1141
+ getObject(arg0).depthMask(arg1 !== 0);
1142
+ };
1143
+ imports.wbg.__wbg_depthRange_a5647a9040aec55b = function(arg0, arg1, arg2) {
1144
+ getObject(arg0).depthRange(arg1, arg2);
1145
+ };
1146
+ imports.wbg.__wbg_disable_e02106ca6c7002d6 = function(arg0, arg1) {
1147
+ getObject(arg0).disable(arg1 >>> 0);
1148
+ };
1149
+ imports.wbg.__wbg_disableVertexAttribArray_6d57776c8f642f44 = function(arg0, arg1) {
1150
+ getObject(arg0).disableVertexAttribArray(arg1 >>> 0);
1151
+ };
1152
+ imports.wbg.__wbg_drawArrays_c91ce3f736bf1f2a = function(arg0, arg1, arg2, arg3) {
1153
+ getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3);
1154
+ };
1155
+ imports.wbg.__wbg_enable_195891416c520019 = function(arg0, arg1) {
1156
+ getObject(arg0).enable(arg1 >>> 0);
1157
+ };
1158
+ imports.wbg.__wbg_enableVertexAttribArray_8804480c2ea0bb72 = function(arg0, arg1) {
1159
+ getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
1160
+ };
1161
+ imports.wbg.__wbg_framebufferRenderbuffer_3ec0983918c2b69d = function(arg0, arg1, arg2, arg3, arg4) {
1162
+ getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));
1163
+ };
1164
+ imports.wbg.__wbg_framebufferTexture2D_e88fcbd7f8523bb8 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
1165
+ getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
1166
+ };
1167
+ imports.wbg.__wbg_frontFace_786a036f1d643925 = function(arg0, arg1) {
1168
+ getObject(arg0).frontFace(arg1 >>> 0);
1169
+ };
1170
+ imports.wbg.__wbg_getActiveUniform_78367ddc7339640b = function(arg0, arg1, arg2) {
1171
+ const ret = getObject(arg0).getActiveUniform(getObject(arg1), arg2 >>> 0);
1172
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1173
+ };
1174
+ imports.wbg.__wbg_getExtension_77909f6d51d49d4d = function() { return handleError(function (arg0, arg1, arg2) {
1175
+ const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
1176
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1177
+ }, arguments) };
1178
+ imports.wbg.__wbg_getParameter_55b36a787dbbfb74 = function() { return handleError(function (arg0, arg1) {
1179
+ const ret = getObject(arg0).getParameter(arg1 >>> 0);
1180
+ return addHeapObject(ret);
1181
+ }, arguments) };
1182
+ imports.wbg.__wbg_getProgramInfoLog_b81bc53188e286fa = function(arg0, arg1, arg2) {
1183
+ const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
1184
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1185
+ var len1 = WASM_VECTOR_LEN;
1186
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1187
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1188
+ };
1189
+ imports.wbg.__wbg_getProgramParameter_35522a0bfdfaad27 = function(arg0, arg1, arg2) {
1190
+ const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
1191
+ return addHeapObject(ret);
1192
+ };
1193
+ imports.wbg.__wbg_getShaderInfoLog_968b93e75477d725 = function(arg0, arg1, arg2) {
1194
+ const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
1195
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1196
+ var len1 = WASM_VECTOR_LEN;
1197
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1198
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1199
+ };
1200
+ imports.wbg.__wbg_getShaderParameter_ac2727ae4fe7648e = function(arg0, arg1, arg2) {
1201
+ const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
1202
+ return addHeapObject(ret);
1203
+ };
1204
+ imports.wbg.__wbg_getSupportedExtensions_fafc31aab913037d = function(arg0) {
1205
+ const ret = getObject(arg0).getSupportedExtensions();
1206
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1207
+ };
1208
+ imports.wbg.__wbg_getUniformLocation_9f6eb60c560a347b = function(arg0, arg1, arg2, arg3) {
1209
+ const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
1210
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1211
+ };
1212
+ imports.wbg.__wbg_linkProgram_33998194075d71fb = function(arg0, arg1) {
1213
+ getObject(arg0).linkProgram(getObject(arg1));
1214
+ };
1215
+ imports.wbg.__wbg_pixelStorei_f3a24990aa352fc7 = function(arg0, arg1, arg2) {
1216
+ getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
1217
+ };
1218
+ imports.wbg.__wbg_polygonOffset_faca8e73770272ff = function(arg0, arg1, arg2) {
1219
+ getObject(arg0).polygonOffset(arg1, arg2);
1220
+ };
1221
+ imports.wbg.__wbg_renderbufferStorage_987d1af7c9faf5dd = function(arg0, arg1, arg2, arg3, arg4) {
1222
+ getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
1223
+ };
1224
+ imports.wbg.__wbg_scissor_e8e41e1c0a9817c8 = function(arg0, arg1, arg2, arg3, arg4) {
1225
+ getObject(arg0).scissor(arg1, arg2, arg3, arg4);
1226
+ };
1227
+ imports.wbg.__wbg_shaderSource_1cb7c64dc7d1a500 = function(arg0, arg1, arg2, arg3) {
1228
+ getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
1229
+ };
1230
+ imports.wbg.__wbg_stencilFuncSeparate_8ff94e24a50a3c45 = function(arg0, arg1, arg2, arg3, arg4) {
1231
+ getObject(arg0).stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
1232
+ };
1233
+ imports.wbg.__wbg_stencilMask_641f92999dd3c3de = function(arg0, arg1) {
1234
+ getObject(arg0).stencilMask(arg1 >>> 0);
1235
+ };
1236
+ imports.wbg.__wbg_stencilMaskSeparate_6b2c8ef22fb3b6d1 = function(arg0, arg1, arg2) {
1237
+ getObject(arg0).stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
1238
+ };
1239
+ imports.wbg.__wbg_stencilOpSeparate_38925591af8feb44 = function(arg0, arg1, arg2, arg3, arg4) {
1240
+ getObject(arg0).stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
1241
+ };
1242
+ imports.wbg.__wbg_texParameteri_85dad939f62a15aa = function(arg0, arg1, arg2, arg3) {
1243
+ getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
1244
+ };
1245
+ imports.wbg.__wbg_uniform1f_88379f4e2630bc66 = function(arg0, arg1, arg2) {
1246
+ getObject(arg0).uniform1f(getObject(arg1), arg2);
1247
+ };
1248
+ imports.wbg.__wbg_uniform1i_d2e61a6a43889648 = function(arg0, arg1, arg2) {
1249
+ getObject(arg0).uniform1i(getObject(arg1), arg2);
1250
+ };
1251
+ imports.wbg.__wbg_uniform4f_a9fd337d4b07f595 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
1252
+ getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5);
1253
+ };
1254
+ imports.wbg.__wbg_useProgram_3683cf6f60939dcd = function(arg0, arg1) {
1255
+ getObject(arg0).useProgram(getObject(arg1));
1256
+ };
1257
+ imports.wbg.__wbg_vertexAttribPointer_316ffe2f0458fde7 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1258
+ getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
1259
+ };
1260
+ imports.wbg.__wbg_viewport_fad1ce9e18f741c0 = function(arg0, arg1, arg2, arg3, arg4) {
1261
+ getObject(arg0).viewport(arg1, arg2, arg3, arg4);
1262
+ };
1263
+ imports.wbg.__wbg_instanceof_Window_9029196b662bc42a = function(arg0) {
1264
+ let result;
1265
+ try {
1266
+ result = getObject(arg0) instanceof Window;
1267
+ } catch {
1268
+ result = false;
1269
+ }
1270
+ const ret = result;
1271
+ return ret;
1272
+ };
1273
+ imports.wbg.__wbg_document_f7ace2b956f30a4f = function(arg0) {
1274
+ const ret = getObject(arg0).document;
1275
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1276
+ };
1277
+ imports.wbg.__wbg_location_56243dba507f472d = function(arg0) {
1278
+ const ret = getObject(arg0).location;
1279
+ return addHeapObject(ret);
1280
+ };
1281
+ imports.wbg.__wbg_navigator_7c9103698acde322 = function(arg0) {
1282
+ const ret = getObject(arg0).navigator;
1283
+ return addHeapObject(ret);
1284
+ };
1285
+ imports.wbg.__wbg_innerHeight_2dd06d8cf68f1d7d = function() { return handleError(function (arg0) {
1286
+ const ret = getObject(arg0).innerHeight;
1287
+ return addHeapObject(ret);
1288
+ }, arguments) };
1289
+ imports.wbg.__wbg_devicePixelRatio_f9de7bddca0eaf20 = function(arg0) {
1290
+ const ret = getObject(arg0).devicePixelRatio;
1291
+ return ret;
1292
+ };
1293
+ imports.wbg.__wbg_performance_2c295061c8b01e0b = function(arg0) {
1294
+ const ret = getObject(arg0).performance;
1295
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1296
+ };
1297
+ imports.wbg.__wbg_localStorage_dbac11bd189e9fa0 = function() { return handleError(function (arg0) {
1298
+ const ret = getObject(arg0).localStorage;
1299
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1300
+ }, arguments) };
1301
+ imports.wbg.__wbg_matchMedia_12ef69056e32d0b3 = function() { return handleError(function (arg0, arg1, arg2) {
1302
+ const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2));
1303
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1304
+ }, arguments) };
1305
+ imports.wbg.__wbg_open_7a2a86bf6285507d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1306
+ const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1307
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1308
+ }, arguments) };
1309
+ imports.wbg.__wbg_requestAnimationFrame_d082200514b6674d = function() { return handleError(function (arg0, arg1) {
1310
+ const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
1311
+ return ret;
1312
+ }, arguments) };
1313
+ imports.wbg.__wbg_clearInterval_080a47b47538d08c = function(arg0, arg1) {
1314
+ getObject(arg0).clearInterval(arg1);
1315
+ };
1316
+ imports.wbg.__wbg_fetch_336b6f0cb426b46e = function(arg0, arg1) {
1317
+ const ret = getObject(arg0).fetch(getObject(arg1));
1318
+ return addHeapObject(ret);
1319
+ };
1320
+ imports.wbg.__wbg_setTimeout_eb1a0d116c26d9f6 = function() { return handleError(function (arg0, arg1, arg2) {
1321
+ const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
1322
+ return ret;
1323
+ }, arguments) };
1324
+ imports.wbg.__wbg_body_674aec4c1c0910cd = function(arg0) {
1325
+ const ret = getObject(arg0).body;
1326
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1327
+ };
1328
+ imports.wbg.__wbg_createElement_4891554b28d3388b = function() { return handleError(function (arg0, arg1, arg2) {
1329
+ const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
1330
+ return addHeapObject(ret);
1331
+ }, arguments) };
1332
+ imports.wbg.__wbg_getElementById_cc0e0d931b0d9a28 = function(arg0, arg1, arg2) {
1333
+ const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
1334
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1335
+ };
1336
+ imports.wbg.__wbg_querySelector_52ded52c20e23921 = function() { return handleError(function (arg0, arg1, arg2) {
1337
+ const ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2));
1338
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1339
+ }, arguments) };
1340
+ imports.wbg.__wbg_setid_1984ee27e5075311 = function(arg0, arg1, arg2) {
1341
+ getObject(arg0).id = getStringFromWasm0(arg1, arg2);
1342
+ };
1343
+ imports.wbg.__wbg_scrollLeft_ea915614eac6bbeb = function(arg0) {
1344
+ const ret = getObject(arg0).scrollLeft;
1345
+ return ret;
1346
+ };
1347
+ imports.wbg.__wbg_clientWidth_51ec21e3189f5656 = function(arg0) {
1348
+ const ret = getObject(arg0).clientWidth;
1349
+ return ret;
1350
+ };
1351
+ imports.wbg.__wbg_clientHeight_09ec0b524d59c367 = function(arg0) {
1352
+ const ret = getObject(arg0).clientHeight;
1353
+ return ret;
1354
+ };
1355
+ imports.wbg.__wbg_setinnerHTML_b089587252408b67 = function(arg0, arg1, arg2) {
1356
+ getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2);
1357
+ };
1358
+ imports.wbg.__wbg_getBoundingClientRect_ac9db8cf97ca8083 = function(arg0) {
1359
+ const ret = getObject(arg0).getBoundingClientRect();
1360
+ return addHeapObject(ret);
1361
+ };
1362
+ imports.wbg.__wbg_setAttribute_e7e80b478b7b8b2f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1363
+ getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1364
+ }, arguments) };
1365
+ imports.wbg.__wbg_remove_48288e91662163dc = function(arg0) {
1366
+ getObject(arg0).remove();
1367
+ };
1368
+ imports.wbg.__wbg_writeText_9c0cc5145d005509 = function(arg0, arg1, arg2) {
1369
+ const ret = getObject(arg0).writeText(getStringFromWasm0(arg1, arg2));
1370
+ return addHeapObject(ret);
1371
+ };
1372
+ imports.wbg.__wbg_data_03708a776af7d2f6 = function(arg0, arg1) {
1373
+ const ret = getObject(arg1).data;
1374
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1375
+ var len1 = WASM_VECTOR_LEN;
1376
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1377
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1378
+ };
1379
+ imports.wbg.__wbg_setProperty_b95ef63ab852879e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1380
+ getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1381
+ }, arguments) };
1382
+ imports.wbg.__wbg_length_dd2eb44022569c32 = function(arg0) {
1383
+ const ret = getObject(arg0).length;
1384
+ return ret;
1385
+ };
1386
+ imports.wbg.__wbg_get_135f0a95f49ed3ff = function(arg0, arg1) {
1387
+ const ret = getObject(arg0)[arg1 >>> 0];
1388
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1389
+ };
1390
+ imports.wbg.__wbg_dataTransfer_bac494821ce31837 = function(arg0) {
1391
+ const ret = getObject(arg0).dataTransfer;
1392
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1393
+ };
1394
+ imports.wbg.__wbg_name_a46b2d975591a0b3 = function(arg0, arg1) {
1395
+ const ret = getObject(arg1).name;
1396
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1397
+ const len1 = WASM_VECTOR_LEN;
1398
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1399
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1400
+ };
1401
+ imports.wbg.__wbg_lastModified_711034410dfc02ad = function(arg0) {
1402
+ const ret = getObject(arg0).lastModified;
1403
+ return ret;
1404
+ };
1405
+ imports.wbg.__wbg_videoWidth_02eadb74917aa4fc = function(arg0) {
1406
+ const ret = getObject(arg0).videoWidth;
1407
+ return ret;
1408
+ };
1409
+ imports.wbg.__wbg_videoHeight_dac4c345988e5562 = function(arg0) {
1410
+ const ret = getObject(arg0).videoHeight;
1411
+ return ret;
1412
+ };
1413
+ imports.wbg.__wbg_keyCode_dfa86be31f5ef90c = function(arg0) {
1414
+ const ret = getObject(arg0).keyCode;
1415
+ return ret;
1416
+ };
1417
+ imports.wbg.__wbg_altKey_612289acf855835c = function(arg0) {
1418
+ const ret = getObject(arg0).altKey;
1419
+ return ret;
1420
+ };
1421
+ imports.wbg.__wbg_ctrlKey_582686fb2263dd3c = function(arg0) {
1422
+ const ret = getObject(arg0).ctrlKey;
1423
+ return ret;
1424
+ };
1425
+ imports.wbg.__wbg_shiftKey_48e8701355d8e2d4 = function(arg0) {
1426
+ const ret = getObject(arg0).shiftKey;
1427
+ return ret;
1428
+ };
1429
+ imports.wbg.__wbg_metaKey_43193b7cc99f8914 = function(arg0) {
1430
+ const ret = getObject(arg0).metaKey;
1431
+ return ret;
1432
+ };
1433
+ imports.wbg.__wbg_isComposing_f41d219def91d438 = function(arg0) {
1434
+ const ret = getObject(arg0).isComposing;
1435
+ return ret;
1436
+ };
1437
+ imports.wbg.__wbg_key_8aeaa079126a9cc7 = function(arg0, arg1) {
1438
+ const ret = getObject(arg1).key;
1439
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1440
+ const len1 = WASM_VECTOR_LEN;
1441
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1442
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1443
+ };
1444
+ imports.wbg.__wbg_parentElement_c75962bc9997ea5f = function(arg0) {
1445
+ const ret = getObject(arg0).parentElement;
1446
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1447
+ };
1448
+ imports.wbg.__wbg_appendChild_51339d4cde00ee22 = function() { return handleError(function (arg0, arg1) {
1449
+ const ret = getObject(arg0).appendChild(getObject(arg1));
1450
+ return addHeapObject(ret);
1451
+ }, arguments) };
1452
+ imports.wbg.__wbg_framebufferTextureMultiviewOVR_4d911c3fccedc517 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1453
+ getObject(arg0).framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5, arg6);
1454
+ };
1455
+ imports.wbg.__wbg_clipboardData_c480a3b34e3e7b1d = function(arg0) {
1456
+ const ret = getObject(arg0).clipboardData;
1457
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1458
+ };
1459
+ imports.wbg.__wbg_href_d62a28e4fc1ab948 = function() { return handleError(function (arg0, arg1) {
1460
+ const ret = getObject(arg1).href;
1461
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1462
+ const len1 = WASM_VECTOR_LEN;
1463
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1464
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1465
+ }, arguments) };
1466
+ imports.wbg.__wbg_origin_50aa482fa6784a0a = function() { return handleError(function (arg0, arg1) {
1467
+ const ret = getObject(arg1).origin;
1468
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1469
+ const len1 = WASM_VECTOR_LEN;
1470
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1471
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1472
+ }, arguments) };
1473
+ imports.wbg.__wbg_protocol_91948f5885595359 = function() { return handleError(function (arg0, arg1) {
1474
+ const ret = getObject(arg1).protocol;
1475
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1476
+ const len1 = WASM_VECTOR_LEN;
1477
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1478
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1479
+ }, arguments) };
1480
+ imports.wbg.__wbg_host_15090f3de0544fea = function() { return handleError(function (arg0, arg1) {
1481
+ const ret = getObject(arg1).host;
1482
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1483
+ const len1 = WASM_VECTOR_LEN;
1484
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1485
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1486
+ }, arguments) };
1487
+ imports.wbg.__wbg_hostname_b77e5e70d6ff6236 = function() { return handleError(function (arg0, arg1) {
1488
+ const ret = getObject(arg1).hostname;
1489
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1490
+ const len1 = WASM_VECTOR_LEN;
1491
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1492
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1493
+ }, arguments) };
1494
+ imports.wbg.__wbg_port_1b2b1249cacfca76 = function() { return handleError(function (arg0, arg1) {
1495
+ const ret = getObject(arg1).port;
1496
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1497
+ const len1 = WASM_VECTOR_LEN;
1498
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1499
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1500
+ }, arguments) };
1501
+ imports.wbg.__wbg_search_6c3c472e076ee010 = function() { return handleError(function (arg0, arg1) {
1502
+ const ret = getObject(arg1).search;
1503
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1504
+ const len1 = WASM_VECTOR_LEN;
1505
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1506
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1507
+ }, arguments) };
1508
+ imports.wbg.__wbg_hash_a1a795b89dda8e3d = function() { return handleError(function (arg0, arg1) {
1509
+ const ret = getObject(arg1).hash;
1510
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1511
+ const len1 = WASM_VECTOR_LEN;
1512
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1513
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1514
+ }, arguments) };
1515
+ imports.wbg.__wbg_drawBuffersWEBGL_139bf2fe0c1522d6 = function(arg0, arg1) {
1516
+ getObject(arg0).drawBuffersWEBGL(getObject(arg1));
1517
+ };
1518
+ imports.wbg.__wbg_drawArraysInstancedANGLE_01b862ba133350a3 = function(arg0, arg1, arg2, arg3, arg4) {
1519
+ getObject(arg0).drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
1520
+ };
1521
+ imports.wbg.__wbg_drawElementsInstancedANGLE_ea6343af8bf9c9f8 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
1522
+ getObject(arg0).drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
1523
+ };
1524
+ imports.wbg.__wbg_vertexAttribDivisorANGLE_a8476eb778e16c70 = function(arg0, arg1, arg2) {
1525
+ getObject(arg0).vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
1526
+ };
1527
+ imports.wbg.__wbg_preventDefault_24104f3f0a54546a = function(arg0) {
1528
+ getObject(arg0).preventDefault();
1529
+ };
1530
+ imports.wbg.__wbg_stopPropagation_55539cfa2506c867 = function(arg0) {
1531
+ getObject(arg0).stopPropagation();
1532
+ };
1533
+ imports.wbg.__wbg_instanceof_HtmlAnchorElement_a293f072b6174b83 = function(arg0) {
1534
+ let result;
1535
+ try {
1536
+ result = getObject(arg0) instanceof HTMLAnchorElement;
1537
+ } catch {
1538
+ result = false;
1539
+ }
1540
+ const ret = result;
1541
+ return ret;
1542
+ };
1543
+ imports.wbg.__wbg_setdownload_0d874703cef6b180 = function(arg0, arg1, arg2) {
1544
+ getObject(arg0).download = getStringFromWasm0(arg1, arg2);
1545
+ };
1546
+ imports.wbg.__wbg_sethref_a3fde9630423d8ed = function(arg0, arg1, arg2) {
1547
+ getObject(arg0).href = getStringFromWasm0(arg1, arg2);
1548
+ };
1549
+ imports.wbg.__wbg_getItem_ed8e218e51f1efeb = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1550
+ const ret = getObject(arg1).getItem(getStringFromWasm0(arg2, arg3));
1551
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1552
+ var len1 = WASM_VECTOR_LEN;
1553
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1554
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1555
+ }, arguments) };
1556
+ imports.wbg.__wbg_setItem_d002ee486462bfff = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1557
+ getObject(arg0).setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1558
+ }, arguments) };
1559
+ imports.wbg.__wbg_touches_8338f31b10bd7975 = function(arg0) {
1560
+ const ret = getObject(arg0).touches;
1561
+ return addHeapObject(ret);
1562
+ };
1563
+ imports.wbg.__wbg_changedTouches_60ab7fa55837664f = function(arg0) {
1564
+ const ret = getObject(arg0).changedTouches;
1565
+ return addHeapObject(ret);
1566
+ };
1567
+ imports.wbg.__wbg_createObjectURL_d82f2880bada6a1d = function() { return handleError(function (arg0, arg1) {
1568
+ const ret = URL.createObjectURL(getObject(arg1));
1569
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1570
+ const len1 = WASM_VECTOR_LEN;
1571
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1572
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1573
+ }, arguments) };
1574
+ imports.wbg.__wbg_instanceof_Blob_f2144a7f6c0c18a3 = function(arg0) {
1575
+ let result;
1576
+ try {
1577
+ result = getObject(arg0) instanceof Blob;
1578
+ } catch {
1579
+ result = false;
1580
+ }
1581
+ const ret = result;
1582
+ return ret;
1583
+ };
1584
+ imports.wbg.__wbg_size_b9bc39a333bd5d88 = function(arg0) {
1585
+ const ret = getObject(arg0).size;
1586
+ return ret;
1587
+ };
1588
+ imports.wbg.__wbg_type_8b3fde044d705ef3 = function(arg0, arg1) {
1589
+ const ret = getObject(arg1).type;
1590
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1591
+ const len1 = WASM_VECTOR_LEN;
1592
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1593
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1594
+ };
1595
+ imports.wbg.__wbg_newwithu8arraysequenceandoptions_854056d2c35b489c = function() { return handleError(function (arg0, arg1) {
1596
+ const ret = new Blob(getObject(arg0), getObject(arg1));
1597
+ return addHeapObject(ret);
1598
+ }, arguments) };
1599
+ imports.wbg.__wbg_arrayBuffer_27cefaea55cbf063 = function(arg0) {
1600
+ const ret = getObject(arg0).arrayBuffer();
1601
+ return addHeapObject(ret);
1602
+ };
1603
+ imports.wbg.__wbg_instanceof_HtmlButtonElement_6bd3bcb5370764a5 = function(arg0) {
1604
+ let result;
1605
+ try {
1606
+ result = getObject(arg0) instanceof HTMLButtonElement;
1607
+ } catch {
1608
+ result = false;
1609
+ }
1610
+ const ret = result;
1611
+ return ret;
1612
+ };
1613
+ imports.wbg.__wbg_identifier_da93d3d09ccdc54c = function(arg0) {
1614
+ const ret = getObject(arg0).identifier;
1615
+ return ret;
1616
+ };
1617
+ imports.wbg.__wbg_pageX_8e76f76ea9375a85 = function(arg0) {
1618
+ const ret = getObject(arg0).pageX;
1619
+ return ret;
1620
+ };
1621
+ imports.wbg.__wbg_pageY_a5a407b52fe202e7 = function(arg0) {
1622
+ const ret = getObject(arg0).pageY;
1623
+ return ret;
1624
+ };
1625
+ imports.wbg.__wbg_force_4dd0ab6e9ef993ec = function(arg0) {
1626
+ const ret = getObject(arg0).force;
1627
+ return ret;
1628
+ };
1629
+ imports.wbg.__wbg_setonopen_419ca0e52d8f19e8 = function(arg0, arg1) {
1630
+ getObject(arg0).onopen = getObject(arg1);
1631
+ };
1632
+ imports.wbg.__wbg_setonerror_2fa7120354e9ec15 = function(arg0, arg1) {
1633
+ getObject(arg0).onerror = getObject(arg1);
1634
+ };
1635
+ imports.wbg.__wbg_setonclose_4210cf3908b79b31 = function(arg0, arg1) {
1636
+ getObject(arg0).onclose = getObject(arg1);
1637
+ };
1638
+ imports.wbg.__wbg_setonmessage_809f60b68c2a6938 = function(arg0, arg1) {
1639
+ getObject(arg0).onmessage = getObject(arg1);
1640
+ };
1641
+ imports.wbg.__wbg_setbinaryType_096c70c4a9d97499 = function(arg0, arg1) {
1642
+ getObject(arg0).binaryType = takeObject(arg1);
1643
+ };
1644
+ imports.wbg.__wbg_new_b66404b6322c59bf = function() { return handleError(function (arg0, arg1) {
1645
+ const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
1646
+ return addHeapObject(ret);
1647
+ }, arguments) };
1648
+ imports.wbg.__wbg_close_dfa389d8fddb52fc = function() { return handleError(function (arg0) {
1649
+ getObject(arg0).close();
1650
+ }, arguments) };
1651
+ imports.wbg.__wbg_length_b941879633a63ad8 = function(arg0) {
1652
+ const ret = getObject(arg0).length;
1653
+ return ret;
1654
+ };
1655
+ imports.wbg.__wbg_get_b383d7f8253c2d61 = function(arg0, arg1) {
1656
+ const ret = getObject(arg0)[arg1 >>> 0];
1657
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1658
+ };
1659
+ imports.wbg.__wbg_set_b34caba58723c454 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1660
+ getObject(arg0).set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1661
+ }, arguments) };
1662
+ imports.wbg.__wbg_instanceof_HtmlInputElement_31b50e0cf542c524 = function(arg0) {
1663
+ let result;
1664
+ try {
1665
+ result = getObject(arg0) instanceof HTMLInputElement;
1666
+ } catch {
1667
+ result = false;
1668
+ }
1669
+ const ret = result;
1670
+ return ret;
1671
+ };
1672
+ imports.wbg.__wbg_setaccept_c88dd3ef66a1bc96 = function(arg0, arg1, arg2) {
1673
+ getObject(arg0).accept = getStringFromWasm0(arg1, arg2);
1674
+ };
1675
+ imports.wbg.__wbg_setautofocus_61b6a31b4866ad1f = function(arg0, arg1) {
1676
+ getObject(arg0).autofocus = arg1 !== 0;
1677
+ };
1678
+ imports.wbg.__wbg_files_0b91078a034a0f7b = function(arg0) {
1679
+ const ret = getObject(arg0).files;
1680
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1681
+ };
1682
+ imports.wbg.__wbg_setmultiple_4e25d3b971ac900a = function(arg0, arg1) {
1683
+ getObject(arg0).multiple = arg1 !== 0;
1684
+ };
1685
+ imports.wbg.__wbg_setsize_7532844e2c9f5e10 = function(arg0, arg1) {
1686
+ getObject(arg0).size = arg1 >>> 0;
1687
+ };
1688
+ imports.wbg.__wbg_settype_ed9a0cf484870612 = function(arg0, arg1, arg2) {
1689
+ getObject(arg0).type = getStringFromWasm0(arg1, arg2);
1690
+ };
1691
+ imports.wbg.__wbg_value_9423da9d988ee8cf = function(arg0, arg1) {
1692
+ const ret = getObject(arg1).value;
1693
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1694
+ const len1 = WASM_VECTOR_LEN;
1695
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1696
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1697
+ };
1698
+ imports.wbg.__wbg_setvalue_1f95e61cbc382f7f = function(arg0, arg1, arg2) {
1699
+ getObject(arg0).value = getStringFromWasm0(arg1, arg2);
1700
+ };
1701
+ imports.wbg.__wbg_length_25c4aaeba8cfcc81 = function(arg0) {
1702
+ const ret = getObject(arg0).length;
1703
+ return ret;
1704
+ };
1705
+ imports.wbg.__wbg_item_59a092aa0f27eab6 = function(arg0, arg1) {
1706
+ const ret = getObject(arg0).item(arg1 >>> 0);
1707
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1708
+ };
1709
+ imports.wbg.__wbg_get_d6c4e69528650af4 = function(arg0, arg1) {
1710
+ const ret = getObject(arg0)[arg1 >>> 0];
1711
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1712
+ };
1713
+ imports.wbg.__wbg_size_6eb4aa794f6bf220 = function(arg0) {
1714
+ const ret = getObject(arg0).size;
1715
+ return ret;
1716
+ };
1717
+ imports.wbg.__wbg_type_37bb6b4936b5e027 = function(arg0) {
1718
+ const ret = getObject(arg0).type;
1719
+ return ret;
1720
+ };
1721
+ imports.wbg.__wbg_name_ebae3a7e89367611 = function(arg0, arg1) {
1722
+ const ret = getObject(arg1).name;
1723
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1724
+ const len1 = WASM_VECTOR_LEN;
1725
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1726
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1727
+ };
1728
+ imports.wbg.__wbg_getSupportedProfiles_420ce044cc3114a1 = function(arg0) {
1729
+ const ret = getObject(arg0).getSupportedProfiles();
1730
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1731
+ };
1732
+ imports.wbg.__wbg_instanceof_HtmlElement_6f4725d4677c7968 = function(arg0) {
1733
+ let result;
1734
+ try {
1735
+ result = getObject(arg0) instanceof HTMLElement;
1736
+ } catch {
1737
+ result = false;
1738
+ }
1739
+ const ret = result;
1740
+ return ret;
1741
+ };
1742
+ imports.wbg.__wbg_scrollTop_9e5ce77431551404 = function(arg0) {
1743
+ const ret = getObject(arg0).scrollTop;
1744
+ return ret;
1745
+ };
1746
+ imports.wbg.__wbg_setinnerText_1849424c2fdc16ec = function(arg0, arg1, arg2) {
1747
+ getObject(arg0).innerText = getStringFromWasm0(arg1, arg2);
1748
+ };
1749
+ imports.wbg.__wbg_hidden_736e60e4fd2d186b = function(arg0) {
1750
+ const ret = getObject(arg0).hidden;
1751
+ return ret;
1752
+ };
1753
+ imports.wbg.__wbg_sethidden_0cbfa2481b57c377 = function(arg0, arg1) {
1754
+ getObject(arg0).hidden = arg1 !== 0;
1755
+ };
1756
+ imports.wbg.__wbg_style_3801009b2339aa94 = function(arg0) {
1757
+ const ret = getObject(arg0).style;
1758
+ return addHeapObject(ret);
1759
+ };
1760
+ imports.wbg.__wbg_offsetTop_815aa9ab53b3cf18 = function(arg0) {
1761
+ const ret = getObject(arg0).offsetTop;
1762
+ return ret;
1763
+ };
1764
+ imports.wbg.__wbg_offsetLeft_3b7ae7e9baa5358a = function(arg0) {
1765
+ const ret = getObject(arg0).offsetLeft;
1766
+ return ret;
1767
+ };
1768
+ imports.wbg.__wbg_offsetWidth_4e9930121c69297f = function(arg0) {
1769
+ const ret = getObject(arg0).offsetWidth;
1770
+ return ret;
1771
+ };
1772
+ imports.wbg.__wbg_setonclick_4e9c9187dbc33082 = function(arg0, arg1) {
1773
+ getObject(arg0).onclick = getObject(arg1);
1774
+ };
1775
+ imports.wbg.__wbg_blur_53431c003c82bf53 = function() { return handleError(function (arg0) {
1776
+ getObject(arg0).blur();
1777
+ }, arguments) };
1778
+ imports.wbg.__wbg_focus_dbcbbbb2a04c0e1f = function() { return handleError(function (arg0) {
1779
+ getObject(arg0).focus();
1780
+ }, arguments) };
1781
+ imports.wbg.__wbg_type_9f716e985ca0633c = function(arg0, arg1) {
1782
+ const ret = getObject(arg1).type;
1783
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1784
+ const len1 = WASM_VECTOR_LEN;
1785
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1786
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1787
+ };
1788
+ imports.wbg.__wbg_message_09163c0b6c3b5ba3 = function(arg0, arg1) {
1789
+ const ret = getObject(arg1).message;
1790
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1791
+ const len1 = WASM_VECTOR_LEN;
1792
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1793
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1794
+ };
1795
+ imports.wbg.__wbg_error_4a6eea49dc759c52 = function(arg0) {
1796
+ const ret = getObject(arg0).error;
1797
+ return addHeapObject(ret);
1798
+ };
1799
+ imports.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced = function(arg0) {
1800
+ let result;
1801
+ try {
1802
+ result = getObject(arg0) instanceof Response;
1803
+ } catch {
1804
+ result = false;
1805
+ }
1806
+ const ret = result;
1807
+ return ret;
1808
+ };
1809
+ imports.wbg.__wbg_url_8503de97f69da463 = function(arg0, arg1) {
1810
+ const ret = getObject(arg1).url;
1811
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1812
+ const len1 = WASM_VECTOR_LEN;
1813
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1814
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1815
+ };
1816
+ imports.wbg.__wbg_status_ac85a3142a84caa2 = function(arg0) {
1817
+ const ret = getObject(arg0).status;
1818
+ return ret;
1819
+ };
1820
+ imports.wbg.__wbg_ok_e3d8d84e630fd064 = function(arg0) {
1821
+ const ret = getObject(arg0).ok;
1822
+ return ret;
1823
+ };
1824
+ imports.wbg.__wbg_statusText_1dd32f6c94d79ef0 = function(arg0, arg1) {
1825
+ const ret = getObject(arg1).statusText;
1826
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1827
+ const len1 = WASM_VECTOR_LEN;
1828
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
1829
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1830
+ };
1831
+ imports.wbg.__wbg_headers_b70de86b8e989bc0 = function(arg0) {
1832
+ const ret = getObject(arg0).headers;
1833
+ return addHeapObject(ret);
1834
+ };
1835
+ imports.wbg.__wbg_body_b86f372950de5b7d = function(arg0) {
1836
+ const ret = getObject(arg0).body;
1837
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1838
+ };
1839
+ imports.wbg.__wbg_arrayBuffer_288fb3538806e85c = function() { return handleError(function (arg0) {
1840
+ const ret = getObject(arg0).arrayBuffer();
1841
+ return addHeapObject(ret);
1842
+ }, arguments) };
1843
+ imports.wbg.__wbg_error_788ae33f81d3b84b = function(arg0) {
1844
+ console.error(getObject(arg0));
1845
+ };
1846
+ imports.wbg.__wbg_instanceof_MessageEvent_395c9d7a213d29ed = function(arg0) {
1847
+ let result;
1848
+ try {
1849
+ result = getObject(arg0) instanceof MessageEvent;
1850
+ } catch {
1851
+ result = false;
1852
+ }
1853
+ const ret = result;
1854
+ return ret;
1855
+ };
1856
+ imports.wbg.__wbg_data_ab99ae4a2e1e8bc9 = function(arg0) {
1857
+ const ret = getObject(arg0).data;
1858
+ return addHeapObject(ret);
1859
+ };
1860
+ imports.wbg.__wbg_bindVertexArrayOES_b7d9da7e073aa6b5 = function(arg0, arg1) {
1861
+ getObject(arg0).bindVertexArrayOES(getObject(arg1));
1862
+ };
1863
+ imports.wbg.__wbg_createVertexArrayOES_6a3c3a5a68201f8f = function(arg0) {
1864
+ const ret = getObject(arg0).createVertexArrayOES();
1865
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1866
+ };
1867
+ imports.wbg.__wbg_deleteVertexArrayOES_7bf4589e63d84df6 = function(arg0, arg1) {
1868
+ getObject(arg0).deleteVertexArrayOES(getObject(arg1));
1869
+ };
1870
+ imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
1871
+ const ret = getObject(arg0).now();
1872
+ return ret;
1873
+ };
1874
+ imports.wbg.__wbg_top_98ff0408c018d25e = function(arg0) {
1875
+ const ret = getObject(arg0).top;
1876
+ return ret;
1877
+ };
1878
+ imports.wbg.__wbg_left_23a613d619fb4206 = function(arg0) {
1879
+ const ret = getObject(arg0).left;
1880
+ return ret;
1881
+ };
1882
+ imports.wbg.__wbg_instanceof_HtmlCanvasElement_da5f9efa0688cf6d = function(arg0) {
1883
+ let result;
1884
+ try {
1885
+ result = getObject(arg0) instanceof HTMLCanvasElement;
1886
+ } catch {
1887
+ result = false;
1888
+ }
1889
+ const ret = result;
1890
+ return ret;
1891
+ };
1892
+ imports.wbg.__wbg_width_2931aaedd21f1fff = function(arg0) {
1893
+ const ret = getObject(arg0).width;
1894
+ return ret;
1895
+ };
1896
+ imports.wbg.__wbg_setwidth_a667a942dba6656e = function(arg0, arg1) {
1897
+ getObject(arg0).width = arg1 >>> 0;
1898
+ };
1899
+ imports.wbg.__wbg_height_0d36fbbeb60b0661 = function(arg0) {
1900
+ const ret = getObject(arg0).height;
1901
+ return ret;
1902
+ };
1903
+ imports.wbg.__wbg_setheight_a747d440760fe5aa = function(arg0, arg1) {
1904
+ getObject(arg0).height = arg1 >>> 0;
1905
+ };
1906
+ imports.wbg.__wbg_getContext_6d1f155bb5c1096a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1907
+ const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3));
1908
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1909
+ }, arguments) };
1910
+ imports.wbg.__wbg_clientX_1a480606ab0cabaa = function(arg0) {
1911
+ const ret = getObject(arg0).clientX;
1912
+ return ret;
1913
+ };
1914
+ imports.wbg.__wbg_clientY_9c7878f7faf3900f = function(arg0) {
1915
+ const ret = getObject(arg0).clientY;
1916
+ return ret;
1917
+ };
1918
+ imports.wbg.__wbg_ctrlKey_0a805df688b5bf42 = function(arg0) {
1919
+ const ret = getObject(arg0).ctrlKey;
1920
+ return ret;
1921
+ };
1922
+ imports.wbg.__wbg_shiftKey_8a070ab6169b5fa4 = function(arg0) {
1923
+ const ret = getObject(arg0).shiftKey;
1924
+ return ret;
1925
+ };
1926
+ imports.wbg.__wbg_metaKey_d89287be4389a3c1 = function(arg0) {
1927
+ const ret = getObject(arg0).metaKey;
1928
+ return ret;
1929
+ };
1930
+ imports.wbg.__wbg_button_7a095234b69de930 = function(arg0) {
1931
+ const ret = getObject(arg0).button;
1932
+ return ret;
1933
+ };
1934
+ imports.wbg.__wbg_width_0b4991f5cf7c640a = function(arg0) {
1935
+ const ret = getObject(arg0).width;
1936
+ return ret;
1937
+ };
1938
+ imports.wbg.__wbg_setwidth_15266a5e81f43cf0 = function(arg0, arg1) {
1939
+ getObject(arg0).width = arg1 >>> 0;
1940
+ };
1941
+ imports.wbg.__wbg_height_8cce73e95fb10fd3 = function(arg0) {
1942
+ const ret = getObject(arg0).height;
1943
+ return ret;
1944
+ };
1945
+ imports.wbg.__wbg_setheight_2e9bab573f1775a6 = function(arg0, arg1) {
1946
+ getObject(arg0).height = arg1 >>> 0;
1947
+ };
1948
+ imports.wbg.__wbg_width_e0c6b79d8cdd8897 = function(arg0) {
1949
+ const ret = getObject(arg0).width;
1950
+ return ret;
1951
+ };
1952
+ imports.wbg.__wbg_height_bed51746e072a118 = function(arg0) {
1953
+ const ret = getObject(arg0).height;
1954
+ return ret;
1955
+ };
1956
+ imports.wbg.__wbg_addEventListener_5651108fc3ffeb6e = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1957
+ getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
1958
+ }, arguments) };
1959
+ imports.wbg.__wbg_removeEventListener_5de660c02ed784e4 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
1960
+ getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
1961
+ }, arguments) };
1962
+ imports.wbg.__wbg_result_58251a5d230b00f6 = function() { return handleError(function (arg0) {
1963
+ const ret = getObject(arg0).result;
1964
+ return addHeapObject(ret);
1965
+ }, arguments) };
1966
+ imports.wbg.__wbg_setonload_500a3ab3ebc0147b = function(arg0, arg1) {
1967
+ getObject(arg0).onload = getObject(arg1);
1968
+ };
1969
+ imports.wbg.__wbg_setonloadend_8c60b0c0a6d75c66 = function(arg0, arg1) {
1970
+ getObject(arg0).onloadend = getObject(arg1);
1971
+ };
1972
+ imports.wbg.__wbg_new_9b551002cd49569b = function() { return handleError(function () {
1973
+ const ret = new FileReader();
1974
+ return addHeapObject(ret);
1975
+ }, arguments) };
1976
+ imports.wbg.__wbg_readAsArrayBuffer_07e155f1a3cd4ac2 = function() { return handleError(function (arg0, arg1) {
1977
+ getObject(arg0).readAsArrayBuffer(getObject(arg1));
1978
+ }, arguments) };
1979
+ imports.wbg.__wbg_width_019b79813c2e80cf = function(arg0) {
1980
+ const ret = getObject(arg0).width;
1981
+ return ret;
1982
+ };
1983
+ imports.wbg.__wbg_height_12082005add04bb5 = function(arg0) {
1984
+ const ret = getObject(arg0).height;
1985
+ return ret;
1986
+ };
1987
+ imports.wbg.__wbg_matches_07c564b5b4101cf2 = function(arg0) {
1988
+ const ret = getObject(arg0).matches;
1989
+ return ret;
1990
+ };
1991
+ imports.wbg.__wbg_clipboard_47d5c6d7496034ae = function(arg0) {
1992
+ const ret = getObject(arg0).clipboard;
1993
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
1994
+ };
1995
+ imports.wbg.__wbg_userAgent_2053026e2b1e0c7e = function() { return handleError(function (arg0, arg1) {
1996
+ const ret = getObject(arg1).userAgent;
1997
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1998
+ const len1 = WASM_VECTOR_LEN;
1999
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2000
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2001
+ }, arguments) };
2002
+ imports.wbg.__wbg_headers_b439dcff02e808e5 = function(arg0) {
2003
+ const ret = getObject(arg0).headers;
2004
+ return addHeapObject(ret);
2005
+ };
2006
+ imports.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d = function() { return handleError(function (arg0, arg1, arg2) {
2007
+ const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
2008
+ return addHeapObject(ret);
2009
+ }, arguments) };
2010
+ imports.wbg.__wbg_deltaX_84508d00a1050e70 = function(arg0) {
2011
+ const ret = getObject(arg0).deltaX;
2012
+ return ret;
2013
+ };
2014
+ imports.wbg.__wbg_deltaY_64823169afb0335d = function(arg0) {
2015
+ const ret = getObject(arg0).deltaY;
2016
+ return ret;
2017
+ };
2018
+ imports.wbg.__wbg_deltaMode_1c680147cfdba8a5 = function(arg0) {
2019
+ const ret = getObject(arg0).deltaMode;
2020
+ return ret;
2021
+ };
2022
+ imports.wbg.__wbg_bufferData_92a3e0b745b0d726 = function(arg0, arg1, arg2, arg3) {
2023
+ getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
2024
+ };
2025
+ imports.wbg.__wbg_bufferData_a11a9f65f31e7256 = function(arg0, arg1, arg2, arg3) {
2026
+ getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
2027
+ };
2028
+ imports.wbg.__wbg_bufferSubData_fca6f1c10273be21 = function(arg0, arg1, arg2, arg3) {
2029
+ getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3));
2030
+ };
2031
+ imports.wbg.__wbg_compressedTexSubImage2D_21078c6de0a71aad = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
2032
+ getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, getObject(arg8));
2033
+ };
2034
+ imports.wbg.__wbg_readPixels_91b0d8854de90477 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2035
+ getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
2036
+ }, arguments) };
2037
+ imports.wbg.__wbg_texSubImage2D_f1a31f8045b7f831 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2038
+ getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
2039
+ }, arguments) };
2040
+ imports.wbg.__wbg_uniform2fv_c928f6ba0085b381 = function(arg0, arg1, arg2, arg3) {
2041
+ getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
2042
+ };
2043
+ imports.wbg.__wbg_uniform2iv_7e5f8e7c2f4d4d6a = function(arg0, arg1, arg2, arg3) {
2044
+ getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
2045
+ };
2046
+ imports.wbg.__wbg_uniform3fv_1aba437b913c1926 = function(arg0, arg1, arg2, arg3) {
2047
+ getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
2048
+ };
2049
+ imports.wbg.__wbg_uniform3iv_23751fe4dfcdf539 = function(arg0, arg1, arg2, arg3) {
2050
+ getObject(arg0).uniform3iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
2051
+ };
2052
+ imports.wbg.__wbg_uniform4fv_7c51c2251d851cb2 = function(arg0, arg1, arg2, arg3) {
2053
+ getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
2054
+ };
2055
+ imports.wbg.__wbg_uniform4iv_27b49984e9c5d90a = function(arg0, arg1, arg2, arg3) {
2056
+ getObject(arg0).uniform4iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3));
2057
+ };
2058
+ imports.wbg.__wbg_uniformMatrix2fv_f8f3ef807f196bf1 = function(arg0, arg1, arg2, arg3, arg4) {
2059
+ getObject(arg0).uniformMatrix2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2060
+ };
2061
+ imports.wbg.__wbg_uniformMatrix3fv_341eec37953e50c5 = function(arg0, arg1, arg2, arg3, arg4) {
2062
+ getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2063
+ };
2064
+ imports.wbg.__wbg_uniformMatrix4fv_465ab8de531f4f78 = function(arg0, arg1, arg2, arg3, arg4) {
2065
+ getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2066
+ };
2067
+ imports.wbg.__wbg_activeTexture_93b4de60af07da9c = function(arg0, arg1) {
2068
+ getObject(arg0).activeTexture(arg1 >>> 0);
2069
+ };
2070
+ imports.wbg.__wbg_attachShader_b65b695055670cb5 = function(arg0, arg1, arg2) {
2071
+ getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
2072
+ };
2073
+ imports.wbg.__wbg_bindBuffer_313561e5bc0e533f = function(arg0, arg1, arg2) {
2074
+ getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
2075
+ };
2076
+ imports.wbg.__wbg_bindFramebuffer_56bf6536a4ced0ec = function(arg0, arg1, arg2) {
2077
+ getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
2078
+ };
2079
+ imports.wbg.__wbg_bindRenderbuffer_559c7c6b6676dddd = function(arg0, arg1, arg2) {
2080
+ getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));
2081
+ };
2082
+ imports.wbg.__wbg_bindTexture_9cb5c770d1ba2cca = function(arg0, arg1, arg2) {
2083
+ getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
2084
+ };
2085
+ imports.wbg.__wbg_blendColor_b9006ef6c450acd0 = function(arg0, arg1, arg2, arg3, arg4) {
2086
+ getObject(arg0).blendColor(arg1, arg2, arg3, arg4);
2087
+ };
2088
+ imports.wbg.__wbg_blendEquation_f31ce08020786a09 = function(arg0, arg1) {
2089
+ getObject(arg0).blendEquation(arg1 >>> 0);
2090
+ };
2091
+ imports.wbg.__wbg_blendEquationSeparate_7ec5e34f066e44f8 = function(arg0, arg1, arg2) {
2092
+ getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
2093
+ };
2094
+ imports.wbg.__wbg_blendFunc_fbe9d3a688fe71c3 = function(arg0, arg1, arg2) {
2095
+ getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
2096
+ };
2097
+ imports.wbg.__wbg_blendFuncSeparate_7547ade0a7dfade2 = function(arg0, arg1, arg2, arg3, arg4) {
2098
+ getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2099
+ };
2100
+ imports.wbg.__wbg_colorMask_7cbd7a102954ede9 = function(arg0, arg1, arg2, arg3, arg4) {
2101
+ getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
2102
+ };
2103
+ imports.wbg.__wbg_compileShader_d88d0a8cd9b72b4d = function(arg0, arg1) {
2104
+ getObject(arg0).compileShader(getObject(arg1));
2105
+ };
2106
+ imports.wbg.__wbg_copyTexSubImage2D_3029f8dfe7543ab6 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
2107
+ getObject(arg0).copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
2108
+ };
2109
+ imports.wbg.__wbg_createBuffer_59051f4461e7c5e2 = function(arg0) {
2110
+ const ret = getObject(arg0).createBuffer();
2111
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2112
+ };
2113
+ imports.wbg.__wbg_createFramebuffer_223c1212ad76affc = function(arg0) {
2114
+ const ret = getObject(arg0).createFramebuffer();
2115
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2116
+ };
2117
+ imports.wbg.__wbg_createProgram_88dbe21c0b682e1a = function(arg0) {
2118
+ const ret = getObject(arg0).createProgram();
2119
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2120
+ };
2121
+ imports.wbg.__wbg_createRenderbuffer_bcb61b756ba21490 = function(arg0) {
2122
+ const ret = getObject(arg0).createRenderbuffer();
2123
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2124
+ };
2125
+ imports.wbg.__wbg_createShader_9d7d388633caad18 = function(arg0, arg1) {
2126
+ const ret = getObject(arg0).createShader(arg1 >>> 0);
2127
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2128
+ };
2129
+ imports.wbg.__wbg_createTexture_9d0bb4d741b8ad76 = function(arg0) {
2130
+ const ret = getObject(arg0).createTexture();
2131
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2132
+ };
2133
+ imports.wbg.__wbg_cullFace_4c086dc1d86a19b5 = function(arg0, arg1) {
2134
+ getObject(arg0).cullFace(arg1 >>> 0);
2135
+ };
2136
+ imports.wbg.__wbg_deleteBuffer_cdc6b9c73f54aff7 = function(arg0, arg1) {
2137
+ getObject(arg0).deleteBuffer(getObject(arg1));
2138
+ };
2139
+ imports.wbg.__wbg_deleteFramebuffer_fcc10cb143c6573d = function(arg0, arg1) {
2140
+ getObject(arg0).deleteFramebuffer(getObject(arg1));
2141
+ };
2142
+ imports.wbg.__wbg_deleteProgram_d8d7fc79ba83b256 = function(arg0, arg1) {
2143
+ getObject(arg0).deleteProgram(getObject(arg1));
2144
+ };
2145
+ imports.wbg.__wbg_deleteRenderbuffer_edf9e1b4e0a1e005 = function(arg0, arg1) {
2146
+ getObject(arg0).deleteRenderbuffer(getObject(arg1));
2147
+ };
2148
+ imports.wbg.__wbg_deleteShader_9a2f85efe5cb3706 = function(arg0, arg1) {
2149
+ getObject(arg0).deleteShader(getObject(arg1));
2150
+ };
2151
+ imports.wbg.__wbg_deleteTexture_a883356c5034d482 = function(arg0, arg1) {
2152
+ getObject(arg0).deleteTexture(getObject(arg1));
2153
+ };
2154
+ imports.wbg.__wbg_depthFunc_4eda7b4e682acbad = function(arg0, arg1) {
2155
+ getObject(arg0).depthFunc(arg1 >>> 0);
2156
+ };
2157
+ imports.wbg.__wbg_depthMask_a3071e13bb087102 = function(arg0, arg1) {
2158
+ getObject(arg0).depthMask(arg1 !== 0);
2159
+ };
2160
+ imports.wbg.__wbg_depthRange_ff5298a73fd02650 = function(arg0, arg1, arg2) {
2161
+ getObject(arg0).depthRange(arg1, arg2);
2162
+ };
2163
+ imports.wbg.__wbg_disable_5cf2070641fa2ed7 = function(arg0, arg1) {
2164
+ getObject(arg0).disable(arg1 >>> 0);
2165
+ };
2166
+ imports.wbg.__wbg_disableVertexAttribArray_8dacd44e21adcaa2 = function(arg0, arg1) {
2167
+ getObject(arg0).disableVertexAttribArray(arg1 >>> 0);
2168
+ };
2169
+ imports.wbg.__wbg_drawArrays_d5c7dc2b2376c85a = function(arg0, arg1, arg2, arg3) {
2170
+ getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3);
2171
+ };
2172
+ imports.wbg.__wbg_enable_8965e69c596f0a94 = function(arg0, arg1) {
2173
+ getObject(arg0).enable(arg1 >>> 0);
2174
+ };
2175
+ imports.wbg.__wbg_enableVertexAttribArray_2b0475db43533cf2 = function(arg0, arg1) {
2176
+ getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
2177
+ };
2178
+ imports.wbg.__wbg_framebufferRenderbuffer_d80f5381d429bc45 = function(arg0, arg1, arg2, arg3, arg4) {
2179
+ getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));
2180
+ };
2181
+ imports.wbg.__wbg_framebufferTexture2D_953e69a8bec22fa9 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
2182
+ getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
2183
+ };
2184
+ imports.wbg.__wbg_frontFace_0ba67b9e6365557c = function(arg0, arg1) {
2185
+ getObject(arg0).frontFace(arg1 >>> 0);
2186
+ };
2187
+ imports.wbg.__wbg_getActiveUniform_87df972e841afed2 = function(arg0, arg1, arg2) {
2188
+ const ret = getObject(arg0).getActiveUniform(getObject(arg1), arg2 >>> 0);
2189
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2190
+ };
2191
+ imports.wbg.__wbg_getParameter_bfab7f0b00c9d7fb = function() { return handleError(function (arg0, arg1) {
2192
+ const ret = getObject(arg0).getParameter(arg1 >>> 0);
2193
+ return addHeapObject(ret);
2194
+ }, arguments) };
2195
+ imports.wbg.__wbg_getProgramInfoLog_0b7af4ad85fa52a4 = function(arg0, arg1, arg2) {
2196
+ const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
2197
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2198
+ var len1 = WASM_VECTOR_LEN;
2199
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2200
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2201
+ };
2202
+ imports.wbg.__wbg_getProgramParameter_2a3735278367f8bc = function(arg0, arg1, arg2) {
2203
+ const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
2204
+ return addHeapObject(ret);
2205
+ };
2206
+ imports.wbg.__wbg_getShaderInfoLog_979aafa403ffb252 = function(arg0, arg1, arg2) {
2207
+ const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
2208
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2209
+ var len1 = WASM_VECTOR_LEN;
2210
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2211
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2212
+ };
2213
+ imports.wbg.__wbg_getShaderParameter_e8054f1d9026fb70 = function(arg0, arg1, arg2) {
2214
+ const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
2215
+ return addHeapObject(ret);
2216
+ };
2217
+ imports.wbg.__wbg_getUniformLocation_688976233799a45a = function(arg0, arg1, arg2, arg3) {
2218
+ const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
2219
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2220
+ };
2221
+ imports.wbg.__wbg_linkProgram_9a2d12d120d99917 = function(arg0, arg1) {
2222
+ getObject(arg0).linkProgram(getObject(arg1));
2223
+ };
2224
+ imports.wbg.__wbg_pixelStorei_5ec932ebefd00149 = function(arg0, arg1, arg2) {
2225
+ getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
2226
+ };
2227
+ imports.wbg.__wbg_polygonOffset_55eea57bba1b49e9 = function(arg0, arg1, arg2) {
2228
+ getObject(arg0).polygonOffset(arg1, arg2);
2229
+ };
2230
+ imports.wbg.__wbg_renderbufferStorage_4bcd9ddf1749ce26 = function(arg0, arg1, arg2, arg3, arg4) {
2231
+ getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
2232
+ };
2233
+ imports.wbg.__wbg_scissor_c8ec3b1e053f3756 = function(arg0, arg1, arg2, arg3, arg4) {
2234
+ getObject(arg0).scissor(arg1, arg2, arg3, arg4);
2235
+ };
2236
+ imports.wbg.__wbg_shaderSource_f435f9b74440bb54 = function(arg0, arg1, arg2, arg3) {
2237
+ getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
2238
+ };
2239
+ imports.wbg.__wbg_stencilFuncSeparate_0fae0ee7c04a23b2 = function(arg0, arg1, arg2, arg3, arg4) {
2240
+ getObject(arg0).stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
2241
+ };
2242
+ imports.wbg.__wbg_stencilMask_79416c29ac1ce3a4 = function(arg0, arg1) {
2243
+ getObject(arg0).stencilMask(arg1 >>> 0);
2244
+ };
2245
+ imports.wbg.__wbg_stencilMaskSeparate_19bdb57664d2c34f = function(arg0, arg1, arg2) {
2246
+ getObject(arg0).stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
2247
+ };
2248
+ imports.wbg.__wbg_stencilOpSeparate_18e0bd316555925f = function(arg0, arg1, arg2, arg3, arg4) {
2249
+ getObject(arg0).stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2250
+ };
2251
+ imports.wbg.__wbg_texParameteri_1f17358e51eb8069 = function(arg0, arg1, arg2, arg3) {
2252
+ getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
2253
+ };
2254
+ imports.wbg.__wbg_uniform1f_7586c5e17ad254c9 = function(arg0, arg1, arg2) {
2255
+ getObject(arg0).uniform1f(getObject(arg1), arg2);
2256
+ };
2257
+ imports.wbg.__wbg_uniform1i_9f94ef0ba6b3cc66 = function(arg0, arg1, arg2) {
2258
+ getObject(arg0).uniform1i(getObject(arg1), arg2);
2259
+ };
2260
+ imports.wbg.__wbg_uniform4f_9aa5afa9177c6ab1 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
2261
+ getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5);
2262
+ };
2263
+ imports.wbg.__wbg_useProgram_019eb6df066fabf5 = function(arg0, arg1) {
2264
+ getObject(arg0).useProgram(getObject(arg1));
2265
+ };
2266
+ imports.wbg.__wbg_vertexAttribPointer_ca11984ee8843c0a = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
2267
+ getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
2268
+ };
2269
+ imports.wbg.__wbg_viewport_6ebef187c89e2616 = function(arg0, arg1, arg2, arg3, arg4) {
2270
+ getObject(arg0).viewport(arg1, arg2, arg3, arg4);
2271
+ };
2272
+ imports.wbg.__wbg_items_0076326dc6f1b7eb = function(arg0) {
2273
+ const ret = getObject(arg0).items;
2274
+ return addHeapObject(ret);
2275
+ };
2276
+ imports.wbg.__wbg_files_e5c28ff6ab126f7b = function(arg0) {
2277
+ const ret = getObject(arg0).files;
2278
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
2279
+ };
2280
+ imports.wbg.__wbg_getData_8aeca5994420c599 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2281
+ const ret = getObject(arg1).getData(getStringFromWasm0(arg2, arg3));
2282
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2283
+ const len1 = WASM_VECTOR_LEN;
2284
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2285
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2286
+ }, arguments) };
2287
+ imports.wbg.__wbg_matches_0f7e350783b542c2 = function(arg0) {
2288
+ const ret = getObject(arg0).matches;
2289
+ return ret;
2290
+ };
2291
+ imports.wbg.__wbg_warn_b1efb2be4ed0fa0b = function(arg0, arg1) {
2292
+ console.warn(getStringFromWasm0(arg0, arg1));
2293
+ };
2294
+ imports.wbg.__wbg_info_24e0aa3b319f10d4 = function(arg0, arg1) {
2295
+ console.info(getStringFromWasm0(arg0, arg1));
2296
+ };
2297
+ imports.wbg.__wbg_debug_7bfb2f72cf3c5137 = function(arg0, arg1) {
2298
+ console.debug(getStringFromWasm0(arg0, arg1));
2299
+ };
2300
+ imports.wbg.__wbg_trace_8e7ed7406eb38dfd = function(arg0, arg1) {
2301
+ console.trace(getStringFromWasm0(arg0, arg1));
2302
+ };
2303
+ imports.wbg.__wbg_crypto_70a96de3b6b73dac = function(arg0) {
2304
+ const ret = getObject(arg0).crypto;
2305
+ return addHeapObject(ret);
2306
+ };
2307
+ imports.wbg.__wbindgen_is_object = function(arg0) {
2308
+ const val = getObject(arg0);
2309
+ const ret = typeof(val) === 'object' && val !== null;
2310
+ return ret;
2311
+ };
2312
+ imports.wbg.__wbg_process_dd1577445152112e = function(arg0) {
2313
+ const ret = getObject(arg0).process;
2314
+ return addHeapObject(ret);
2315
+ };
2316
+ imports.wbg.__wbg_versions_58036bec3add9e6f = function(arg0) {
2317
+ const ret = getObject(arg0).versions;
2318
+ return addHeapObject(ret);
2319
+ };
2320
+ imports.wbg.__wbg_node_6a9d28205ed5b0d8 = function(arg0) {
2321
+ const ret = getObject(arg0).node;
2322
+ return addHeapObject(ret);
2323
+ };
2324
+ imports.wbg.__wbg_msCrypto_adbc770ec9eca9c7 = function(arg0) {
2325
+ const ret = getObject(arg0).msCrypto;
2326
+ return addHeapObject(ret);
2327
+ };
2328
+ imports.wbg.__wbg_require_f05d779769764e82 = function() { return handleError(function () {
2329
+ const ret = module.require;
2330
+ return addHeapObject(ret);
2331
+ }, arguments) };
2332
+ imports.wbg.__wbindgen_is_function = function(arg0) {
2333
+ const ret = typeof(getObject(arg0)) === 'function';
2334
+ return ret;
2335
+ };
2336
+ imports.wbg.__wbg_getRandomValues_3774744e221a22ad = function() { return handleError(function (arg0, arg1) {
2337
+ getObject(arg0).getRandomValues(getObject(arg1));
2338
+ }, arguments) };
2339
+ imports.wbg.__wbg_randomFillSync_e950366c42764a07 = function() { return handleError(function (arg0, arg1) {
2340
+ getObject(arg0).randomFillSync(takeObject(arg1));
2341
+ }, arguments) };
2342
+ imports.wbg.__wbg_performance_e5eb61626698b7a4 = function(arg0) {
2343
+ const ret = getObject(arg0).performance;
2344
+ return addHeapObject(ret);
2345
+ };
2346
+ imports.wbg.__wbindgen_is_undefined = function(arg0) {
2347
+ const ret = getObject(arg0) === undefined;
2348
+ return ret;
2349
+ };
2350
+ imports.wbg.__wbg_now_928014da6271b17c = function(arg0) {
2351
+ const ret = getObject(arg0).now();
2352
+ return ret;
2353
+ };
2354
+ imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
2355
+ const ret = getObject(arg0)[arg1 >>> 0];
2356
+ return addHeapObject(ret);
2357
+ };
2358
+ imports.wbg.__wbg_length_fff51ee6522a1a18 = function(arg0) {
2359
+ const ret = getObject(arg0).length;
2360
+ return ret;
2361
+ };
2362
+ imports.wbg.__wbg_new_898a68150f225f2e = function() {
2363
+ const ret = new Array();
2364
+ return addHeapObject(ret);
2365
+ };
2366
+ imports.wbg.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
2367
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
2368
+ return addHeapObject(ret);
2369
+ };
2370
+ imports.wbg.__wbg_next_526fc47e980da008 = function(arg0) {
2371
+ const ret = getObject(arg0).next;
2372
+ return addHeapObject(ret);
2373
+ };
2374
+ imports.wbg.__wbg_next_ddb3312ca1c4e32a = function() { return handleError(function (arg0) {
2375
+ const ret = getObject(arg0).next();
2376
+ return addHeapObject(ret);
2377
+ }, arguments) };
2378
+ imports.wbg.__wbg_done_5c1f01fb660d73b5 = function(arg0) {
2379
+ const ret = getObject(arg0).done;
2380
+ return ret;
2381
+ };
2382
+ imports.wbg.__wbg_value_1695675138684bd5 = function(arg0) {
2383
+ const ret = getObject(arg0).value;
2384
+ return addHeapObject(ret);
2385
+ };
2386
+ imports.wbg.__wbg_iterator_97f0c81209c6c35a = function() {
2387
+ const ret = Symbol.iterator;
2388
+ return addHeapObject(ret);
2389
+ };
2390
+ imports.wbg.__wbg_get_97b561fb56f034b5 = function() { return handleError(function (arg0, arg1) {
2391
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
2392
+ return addHeapObject(ret);
2393
+ }, arguments) };
2394
+ imports.wbg.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
2395
+ const ret = getObject(arg0).call(getObject(arg1));
2396
+ return addHeapObject(ret);
2397
+ }, arguments) };
2398
+ imports.wbg.__wbg_new_b51585de1b234aff = function() {
2399
+ const ret = new Object();
2400
+ return addHeapObject(ret);
2401
+ };
2402
+ imports.wbg.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {
2403
+ const ret = self.self;
2404
+ return addHeapObject(ret);
2405
+ }, arguments) };
2406
+ imports.wbg.__wbg_window_5f4faef6c12b79ec = function() { return handleError(function () {
2407
+ const ret = window.window;
2408
+ return addHeapObject(ret);
2409
+ }, arguments) };
2410
+ imports.wbg.__wbg_globalThis_1d39714405582d3c = function() { return handleError(function () {
2411
+ const ret = globalThis.globalThis;
2412
+ return addHeapObject(ret);
2413
+ }, arguments) };
2414
+ imports.wbg.__wbg_global_651f05c6a0944d1c = function() { return handleError(function () {
2415
+ const ret = global.global;
2416
+ return addHeapObject(ret);
2417
+ }, arguments) };
2418
+ imports.wbg.__wbg_includes_e846113095d52470 = function(arg0, arg1, arg2) {
2419
+ const ret = getObject(arg0).includes(getObject(arg1), arg2);
2420
+ return ret;
2421
+ };
2422
+ imports.wbg.__wbg_of_053899a68de3ef48 = function(arg0) {
2423
+ const ret = Array.of(getObject(arg0));
2424
+ return addHeapObject(ret);
2425
+ };
2426
+ imports.wbg.__wbg_push_ca1c26067ef907ac = function(arg0, arg1) {
2427
+ const ret = getObject(arg0).push(getObject(arg1));
2428
+ return ret;
2429
+ };
2430
+ imports.wbg.__wbg_instanceof_ArrayBuffer_39ac22089b74fddb = function(arg0) {
2431
+ let result;
2432
+ try {
2433
+ result = getObject(arg0) instanceof ArrayBuffer;
2434
+ } catch {
2435
+ result = false;
2436
+ }
2437
+ const ret = result;
2438
+ return ret;
2439
+ };
2440
+ imports.wbg.__wbg_new_d258248ed531ff54 = function(arg0, arg1) {
2441
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
2442
+ return addHeapObject(ret);
2443
+ };
2444
+ imports.wbg.__wbg_call_01734de55d61e11d = function() { return handleError(function (arg0, arg1, arg2) {
2445
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2446
+ return addHeapObject(ret);
2447
+ }, arguments) };
2448
+ imports.wbg.__wbg_getTime_5e2054f832d82ec9 = function(arg0) {
2449
+ const ret = getObject(arg0).getTime();
2450
+ return ret;
2451
+ };
2452
+ imports.wbg.__wbg_getTimezoneOffset_8aee3445f323973e = function(arg0) {
2453
+ const ret = getObject(arg0).getTimezoneOffset();
2454
+ return ret;
2455
+ };
2456
+ imports.wbg.__wbg_new_cd59bfc8881f487b = function(arg0) {
2457
+ const ret = new Date(getObject(arg0));
2458
+ return addHeapObject(ret);
2459
+ };
2460
+ imports.wbg.__wbg_new0_c0be7df4b6bd481f = function() {
2461
+ const ret = new Date();
2462
+ return addHeapObject(ret);
2463
+ };
2464
+ imports.wbg.__wbg_now_9c5990bda04c7e53 = function() {
2465
+ const ret = Date.now();
2466
+ return ret;
2467
+ };
2468
+ imports.wbg.__wbg_is_205d914af04a8faa = function(arg0, arg1) {
2469
+ const ret = Object.is(getObject(arg0), getObject(arg1));
2470
+ return ret;
2471
+ };
2472
+ imports.wbg.__wbg_instanceof_TypeError_6ad728101212de55 = function(arg0) {
2473
+ let result;
2474
+ try {
2475
+ result = getObject(arg0) instanceof TypeError;
2476
+ } catch {
2477
+ result = false;
2478
+ }
2479
+ const ret = result;
2480
+ return ret;
2481
+ };
2482
+ imports.wbg.__wbg_new_43f1b47c28813cbd = function(arg0, arg1) {
2483
+ try {
2484
+ var state0 = {a: arg0, b: arg1};
2485
+ var cb0 = (arg0, arg1) => {
2486
+ const a = state0.a;
2487
+ state0.a = 0;
2488
+ try {
2489
+ return __wbg_adapter_979(a, state0.b, arg0, arg1);
2490
+ } finally {
2491
+ state0.a = a;
2492
+ }
2493
+ };
2494
+ const ret = new Promise(cb0);
2495
+ return addHeapObject(ret);
2496
+ } finally {
2497
+ state0.a = state0.b = 0;
2498
+ }
2499
+ };
2500
+ imports.wbg.__wbg_resolve_53698b95aaf7fcf8 = function(arg0) {
2501
+ const ret = Promise.resolve(getObject(arg0));
2502
+ return addHeapObject(ret);
2503
+ };
2504
+ imports.wbg.__wbg_catch_64e0c7dcea0da34e = function(arg0, arg1) {
2505
+ const ret = getObject(arg0).catch(getObject(arg1));
2506
+ return addHeapObject(ret);
2507
+ };
2508
+ imports.wbg.__wbg_then_f7e06ee3c11698eb = function(arg0, arg1) {
2509
+ const ret = getObject(arg0).then(getObject(arg1));
2510
+ return addHeapObject(ret);
2511
+ };
2512
+ imports.wbg.__wbg_then_b2267541e2a73865 = function(arg0, arg1, arg2) {
2513
+ const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
2514
+ return addHeapObject(ret);
2515
+ };
2516
+ imports.wbg.__wbg_buffer_085ec1f694018c4f = function(arg0) {
2517
+ const ret = getObject(arg0).buffer;
2518
+ return addHeapObject(ret);
2519
+ };
2520
+ imports.wbg.__wbg_newwithbyteoffsetandlength_828b952f0e692245 = function(arg0, arg1, arg2) {
2521
+ const ret = new Int8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2522
+ return addHeapObject(ret);
2523
+ };
2524
+ imports.wbg.__wbg_newwithbyteoffsetandlength_735ed5ea2ae07fe9 = function(arg0, arg1, arg2) {
2525
+ const ret = new Int16Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2526
+ return addHeapObject(ret);
2527
+ };
2528
+ imports.wbg.__wbg_newwithbyteoffsetandlength_9f43b22ab631d1d6 = function(arg0, arg1, arg2) {
2529
+ const ret = new Int32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2530
+ return addHeapObject(ret);
2531
+ };
2532
+ imports.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa = function(arg0, arg1, arg2) {
2533
+ const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2534
+ return addHeapObject(ret);
2535
+ };
2536
+ imports.wbg.__wbg_new_8125e318e6245eed = function(arg0) {
2537
+ const ret = new Uint8Array(getObject(arg0));
2538
+ return addHeapObject(ret);
2539
+ };
2540
+ imports.wbg.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
2541
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
2542
+ };
2543
+ imports.wbg.__wbg_length_72e2208bbc0efc61 = function(arg0) {
2544
+ const ret = getObject(arg0).length;
2545
+ return ret;
2546
+ };
2547
+ imports.wbg.__wbg_newwithbyteoffsetandlength_31ff1024ef0c63c7 = function(arg0, arg1, arg2) {
2548
+ const ret = new Uint16Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2549
+ return addHeapObject(ret);
2550
+ };
2551
+ imports.wbg.__wbg_newwithbyteoffsetandlength_6df0e8c3efd2a5d3 = function(arg0, arg1, arg2) {
2552
+ const ret = new Uint32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2553
+ return addHeapObject(ret);
2554
+ };
2555
+ imports.wbg.__wbg_newwithbyteoffsetandlength_69193e31c844b792 = function(arg0, arg1, arg2) {
2556
+ const ret = new Float32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2557
+ return addHeapObject(ret);
2558
+ };
2559
+ imports.wbg.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) {
2560
+ const ret = new Uint8Array(arg0 >>> 0);
2561
+ return addHeapObject(ret);
2562
+ };
2563
+ imports.wbg.__wbg_buffer_f5b7059c439f330d = function(arg0) {
2564
+ const ret = getObject(arg0).buffer;
2565
+ return addHeapObject(ret);
2566
+ };
2567
+ imports.wbg.__wbg_subarray_13db269f57aa838d = function(arg0, arg1, arg2) {
2568
+ const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
2569
+ return addHeapObject(ret);
2570
+ };
2571
+ imports.wbg.__wbg_set_092e06b0f9d71865 = function() { return handleError(function (arg0, arg1, arg2) {
2572
+ const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
2573
+ return ret;
2574
+ }, arguments) };
2575
+ imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
2576
+ const ret = debugString(getObject(arg1));
2577
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2578
+ const len1 = WASM_VECTOR_LEN;
2579
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2580
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2581
+ };
2582
+ imports.wbg.__wbindgen_throw = function(arg0, arg1) {
2583
+ throw new Error(getStringFromWasm0(arg0, arg1));
2584
+ };
2585
+ imports.wbg.__wbindgen_rethrow = function(arg0) {
2586
+ throw takeObject(arg0);
2587
+ };
2588
+ imports.wbg.__wbindgen_memory = function() {
2589
+ const ret = wasm.memory;
2590
+ return addHeapObject(ret);
2591
+ };
2592
+ imports.wbg.__wbindgen_closure_wrapper1417 = function(arg0, arg1, arg2) {
2593
+ const ret = makeMutClosure(arg0, arg1, 350, __wbg_adapter_34);
2594
+ return addHeapObject(ret);
2595
+ };
2596
+ imports.wbg.__wbindgen_closure_wrapper2348 = function(arg0, arg1, arg2) {
2597
+ const ret = makeMutClosure(arg0, arg1, 600, __wbg_adapter_37);
2598
+ return addHeapObject(ret);
2599
+ };
2600
+ imports.wbg.__wbindgen_closure_wrapper5754 = function(arg0, arg1, arg2) {
2601
+ const ret = makeMutClosure(arg0, arg1, 1729, __wbg_adapter_40);
2602
+ return addHeapObject(ret);
2603
+ };
2604
+ imports.wbg.__wbindgen_closure_wrapper5756 = function(arg0, arg1, arg2) {
2605
+ const ret = makeMutClosure(arg0, arg1, 1729, __wbg_adapter_43);
2606
+ return addHeapObject(ret);
2607
+ };
2608
+ imports.wbg.__wbindgen_closure_wrapper5758 = function(arg0, arg1, arg2) {
2609
+ const ret = makeMutClosure(arg0, arg1, 1729, __wbg_adapter_46);
2610
+ return addHeapObject(ret);
2611
+ };
2612
+ imports.wbg.__wbindgen_closure_wrapper19354 = function(arg0, arg1, arg2) {
2613
+ const ret = makeMutClosure(arg0, arg1, 6664, __wbg_adapter_49);
2614
+ return addHeapObject(ret);
2615
+ };
2616
+ imports.wbg.__wbindgen_closure_wrapper19356 = function(arg0, arg1, arg2) {
2617
+ const ret = makeMutClosure(arg0, arg1, 6664, __wbg_adapter_49);
2618
+ return addHeapObject(ret);
2619
+ };
2620
+ imports.wbg.__wbindgen_closure_wrapper19358 = function(arg0, arg1, arg2) {
2621
+ const ret = makeMutClosure(arg0, arg1, 6664, __wbg_adapter_49);
2622
+ return addHeapObject(ret);
2623
+ };
2624
+ imports.wbg.__wbindgen_closure_wrapper19360 = function(arg0, arg1, arg2) {
2625
+ const ret = makeMutClosure(arg0, arg1, 6664, __wbg_adapter_49);
2626
+ return addHeapObject(ret);
2627
+ };
2628
+ imports.wbg.__wbindgen_closure_wrapper19814 = function(arg0, arg1, arg2) {
2629
+ const ret = makeMutClosure(arg0, arg1, 6911, __wbg_adapter_58);
2630
+ return addHeapObject(ret);
2631
+ };
2632
+ imports.wbg.__wbindgen_closure_wrapper20537 = function(arg0, arg1, arg2) {
2633
+ const ret = makeMutClosure(arg0, arg1, 7315, __wbg_adapter_61);
2634
+ return addHeapObject(ret);
2635
+ };
2636
+ imports.wbg.__wbindgen_closure_wrapper20569 = function(arg0, arg1, arg2) {
2637
+ const ret = makeMutClosure(arg0, arg1, 7326, __wbg_adapter_64);
2638
+ return addHeapObject(ret);
2639
+ };
2640
+
2641
+ return imports;
2642
+ }
2643
+
2644
+ function __wbg_init_memory(imports, maybe_memory) {
2645
+
2646
+ }
2647
+
2648
+ function __wbg_finalize_init(instance, module) {
2649
+ wasm = instance.exports;
2650
+ __wbg_init.__wbindgen_wasm_module = module;
2651
+ cachedFloat32Memory0 = null;
2652
+ cachedFloat64Memory0 = null;
2653
+ cachedInt32Memory0 = null;
2654
+ cachedUint32Memory0 = null;
2655
+ cachedUint8Memory0 = null;
2656
+
2657
+
2658
+ return wasm;
2659
+ }
2660
+
2661
+ function initSync(module) {
2662
+ if (wasm !== undefined) return wasm;
2663
+
2664
+ const imports = __wbg_get_imports();
2665
+
2666
+ __wbg_init_memory(imports);
2667
+
2668
+ if (!(module instanceof WebAssembly.Module)) {
2669
+ module = new WebAssembly.Module(module);
2670
+ }
2671
+
2672
+ const instance = new WebAssembly.Instance(module, imports);
2673
+
2674
+ return __wbg_finalize_init(instance, module);
2675
+ }
2676
+
2677
+ async function __wbg_init(input) {
2678
+ if (wasm !== undefined) return wasm;
2679
+
2680
+
2681
+ const imports = __wbg_get_imports();
2682
+
2683
+ if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
2684
+ input = fetch(input);
2685
+ }
2686
+
2687
+ __wbg_init_memory(imports);
2688
+
2689
+ const { instance, module } = await __wbg_load(await input, imports);
2690
+
2691
+ return __wbg_finalize_init(instance, module);
2692
+ }
2693
+
2694
+ export { initSync }
2695
+ export default __wbg_init;