@eidolonmc/wasm 0.0.0-stage → 0.0.3-alpha

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.
@@ -0,0 +1,2872 @@
1
+ /**
2
+ * Real-time canvas renderer — presents directly to a `<canvas>` element at 60fps.
3
+ *
4
+ * No readback, no PNG encode — GPU renders straight to the canvas swapchain.
5
+ */
6
+ export class CanvasRenderer {
7
+ static __wrap(ptr) {
8
+ const obj = Object.create(CanvasRenderer.prototype);
9
+ obj.__wbg_ptr = ptr;
10
+ CanvasRendererFinalization.register(obj, obj.__wbg_ptr, obj);
11
+ return obj;
12
+ }
13
+ __destroy_into_raw() {
14
+ const ptr = this.__wbg_ptr;
15
+ this.__wbg_ptr = 0;
16
+ CanvasRendererFinalization.unregister(this);
17
+ return ptr;
18
+ }
19
+ free() {
20
+ const ptr = this.__destroy_into_raw();
21
+ wasm.__wbg_canvasrenderer_free(ptr, 0);
22
+ }
23
+ /**
24
+ * Advance playback by a browser-provided frame delta in seconds.
25
+ * @param {number} delta_seconds
26
+ */
27
+ advance_animation(delta_seconds) {
28
+ const ret = wasm.canvasrenderer_advance_animation(this.__wbg_ptr, delta_seconds);
29
+ if (ret[1]) {
30
+ throw takeFromExternrefTable0(ret[0]);
31
+ }
32
+ }
33
+ /**
34
+ * Natural cycle duration of the selected animation, in seconds.
35
+ * @returns {number}
36
+ */
37
+ animation_duration() {
38
+ const ret = wasm.canvasrenderer_animation_duration(this.__wbg_ptr);
39
+ return ret;
40
+ }
41
+ /**
42
+ * Whether a one-shot timeline has reached its final pose.
43
+ * @returns {boolean}
44
+ */
45
+ animation_finished() {
46
+ const ret = wasm.canvasrenderer_animation_finished(this.__wbg_ptr);
47
+ return ret !== 0;
48
+ }
49
+ /**
50
+ * Whether the timeline is currently playing.
51
+ * @returns {boolean}
52
+ */
53
+ animation_playing() {
54
+ const ret = wasm.canvasrenderer_animation_playing(this.__wbg_ptr);
55
+ return ret !== 0;
56
+ }
57
+ /**
58
+ * Current playback position in seconds.
59
+ * @returns {number}
60
+ */
61
+ animation_time() {
62
+ const ret = wasm.canvasrenderer_animation_time(this.__wbg_ptr);
63
+ return ret;
64
+ }
65
+ /**
66
+ * Offscreen render at high resolution, return encoded image bytes for download.
67
+ * Renders at the given size independently of the canvas.
68
+ * Supports "png" (default), "webp", and "jpeg"/"jpg".
69
+ * @param {number} width
70
+ * @param {number} height
71
+ * @param {string | null} [format]
72
+ * @returns {Promise<Uint8Array>}
73
+ */
74
+ capture_frame(width, height, format) {
75
+ var ptr0 = isLikeNone(format) ? 0 : passStringToWasm0(format, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
76
+ var len0 = WASM_VECTOR_LEN;
77
+ const ret = wasm.canvasrenderer_capture_frame(this.__wbg_ptr, width, height, ptr0, len0);
78
+ return ret;
79
+ }
80
+ /**
81
+ * Disable cape rendering.
82
+ */
83
+ clear_cape() {
84
+ wasm.canvasrenderer_clear_cape(this.__wbg_ptr);
85
+ }
86
+ /**
87
+ * Disable elytra rendering.
88
+ */
89
+ clear_elytra() {
90
+ wasm.canvasrenderer_clear_elytra(this.__wbg_ptr);
91
+ }
92
+ /**
93
+ * Remove the player nametag.
94
+ */
95
+ clear_nametag() {
96
+ wasm.canvasrenderer_clear_nametag(this.__wbg_ptr);
97
+ }
98
+ /**
99
+ * Disable skin/body rendering.
100
+ */
101
+ clear_skin() {
102
+ wasm.canvasrenderer_clear_skin(this.__wbg_ptr);
103
+ }
104
+ /**
105
+ * Current elytra pitch in degrees.
106
+ * @returns {number}
107
+ */
108
+ elytra_pitch() {
109
+ const ret = wasm.canvasrenderer_elytra_pitch(this.__wbg_ptr);
110
+ return ret;
111
+ }
112
+ /**
113
+ * Current elytra opening angle in degrees.
114
+ * @returns {number}
115
+ */
116
+ elytra_spread() {
117
+ const ret = wasm.canvasrenderer_elytra_spread(this.__wbg_ptr);
118
+ return ret;
119
+ }
120
+ /**
121
+ * Load a cape from PNG bytes and enable cape rendering.
122
+ * @param {Uint8Array} bytes
123
+ */
124
+ load_cape(bytes) {
125
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
126
+ const len0 = WASM_VECTOR_LEN;
127
+ const ret = wasm.canvasrenderer_load_cape(this.__wbg_ptr, ptr0, len0);
128
+ if (ret[1]) {
129
+ throw takeFromExternrefTable0(ret[0]);
130
+ }
131
+ }
132
+ /**
133
+ * Load a Back equipment atlas from PNG bytes and select Elytra presentation.
134
+ * @param {Uint8Array} bytes
135
+ */
136
+ load_elytra(bytes) {
137
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
138
+ const len0 = WASM_VECTOR_LEN;
139
+ const ret = wasm.canvasrenderer_load_elytra(this.__wbg_ptr, ptr0, len0);
140
+ if (ret[1]) {
141
+ throw takeFromExternrefTable0(ret[0]);
142
+ }
143
+ }
144
+ /**
145
+ * Load a skin from PNG bytes. Must be called before `render_frame`.
146
+ * @param {Uint8Array} bytes
147
+ */
148
+ load_skin(bytes) {
149
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
150
+ const len0 = WASM_VECTOR_LEN;
151
+ const ret = wasm.canvasrenderer_load_skin(this.__wbg_ptr, ptr0, len0);
152
+ if (ret[1]) {
153
+ throw takeFromExternrefTable0(ret[0]);
154
+ }
155
+ }
156
+ /**
157
+ * Current nametag text, or `None` if hidden.
158
+ * @returns {string | undefined}
159
+ */
160
+ nametag() {
161
+ const ret = wasm.canvasrenderer_nametag(this.__wbg_ptr);
162
+ let v1;
163
+ if (ret[0] !== 0) {
164
+ v1 = getStringFromWasm0(ret[0], ret[1]);
165
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
166
+ }
167
+ return v1;
168
+ }
169
+ /**
170
+ * Whether nametag see-through occlusion is enabled.
171
+ * @returns {boolean}
172
+ */
173
+ nametag_see_through() {
174
+ const ret = wasm.canvasrenderer_nametag_see_through(this.__wbg_ptr);
175
+ return ret !== 0;
176
+ }
177
+ /**
178
+ * Attach to a `<canvas>` element. Call as `await CanvasRenderer.new(canvas)`.
179
+ * @param {HTMLCanvasElement} canvas
180
+ * @returns {Promise<CanvasRenderer>}
181
+ */
182
+ static new(canvas) {
183
+ const ret = wasm.canvasrenderer_new(canvas);
184
+ return ret;
185
+ }
186
+ /**
187
+ * Present one frame to the canvas. Call in a rAF loop at 60fps.
188
+ */
189
+ render_frame() {
190
+ const ret = wasm.canvasrenderer_render_frame(this.__wbg_ptr);
191
+ if (ret[1]) {
192
+ throw takeFromExternrefTable0(ret[0]);
193
+ }
194
+ }
195
+ /**
196
+ * Remove the manual elytra override and return control to the animation.
197
+ */
198
+ reset_elytra_angles() {
199
+ wasm.canvasrenderer_reset_elytra_angles(this.__wbg_ptr);
200
+ }
201
+ /**
202
+ * Update surface size after canvas resize. Call from ResizeObserver.
203
+ * @param {number} width
204
+ * @param {number} height
205
+ */
206
+ resize(width, height) {
207
+ wasm.canvasrenderer_resize(this.__wbg_ptr, width, height);
208
+ }
209
+ /**
210
+ * Seek the selected animation to an explicit position in seconds.
211
+ *
212
+ * Kept for compatibility with older browser clients; new clients should
213
+ * use `advance_animation` and the playback controls below.
214
+ * @param {number} time_seconds
215
+ */
216
+ sample_animation(time_seconds) {
217
+ const ret = wasm.canvasrenderer_sample_animation(this.__wbg_ptr, time_seconds);
218
+ if (ret[1]) {
219
+ throw takeFromExternrefTable0(ret[0]);
220
+ }
221
+ }
222
+ /**
223
+ * Select a procedural animation and reset it to phase zero.
224
+ * @param {string} preset
225
+ */
226
+ set_animation(preset) {
227
+ const ptr0 = passStringToWasm0(preset, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
228
+ const len0 = WASM_VECTOR_LEN;
229
+ const ret = wasm.canvasrenderer_set_animation(this.__wbg_ptr, ptr0, len0);
230
+ if (ret[1]) {
231
+ throw takeFromExternrefTable0(ret[0]);
232
+ }
233
+ }
234
+ /**
235
+ * Select looping (`true`) or one-shot (`false`) playback.
236
+ * @param {boolean} looping
237
+ */
238
+ set_animation_loop(looping) {
239
+ wasm.canvasrenderer_set_animation_loop(this.__wbg_ptr, looping);
240
+ }
241
+ /**
242
+ * Start or pause playback.
243
+ * @param {boolean} playing
244
+ */
245
+ set_animation_playing(playing) {
246
+ wasm.canvasrenderer_set_animation_playing(this.__wbg_ptr, playing);
247
+ }
248
+ /**
249
+ * Set playback speed; values are clamped to the core timeline range.
250
+ * @param {number} speed
251
+ */
252
+ set_animation_speed(speed) {
253
+ wasm.canvasrenderer_set_animation_speed(this.__wbg_ptr, speed);
254
+ }
255
+ /**
256
+ * Set background clear color. `r`,`g`,`b`,`a` in 0.0-1.0 range.
257
+ * Default is transparent black `(0,0,0,0)`.
258
+ * @param {number} r
259
+ * @param {number} g
260
+ * @param {number} b
261
+ * @param {number} a
262
+ */
263
+ set_background(r, g, b, a) {
264
+ wasm.canvasrenderer_set_background(this.__wbg_ptr, r, g, b, a);
265
+ }
266
+ /**
267
+ * Set camera orbit. `yaw`/`pitch` in degrees, `scale` > 0 (higher = closer).
268
+ * @param {number} yaw
269
+ * @param {number} pitch
270
+ * @param {number} scale
271
+ */
272
+ set_camera(yaw, pitch, scale) {
273
+ wasm.canvasrenderer_set_camera(this.__wbg_ptr, yaw, pitch, scale);
274
+ }
275
+ /**
276
+ * Override elytra pitch and opening angle in degrees.
277
+ * @param {number} pitch
278
+ * @param {number} spread
279
+ */
280
+ set_elytra_angles(pitch, spread) {
281
+ wasm.canvasrenderer_set_elytra_angles(this.__wbg_ptr, pitch, spread);
282
+ }
283
+ /**
284
+ * Set or clear the player nametag. An empty string or whitespace removes the nametag.
285
+ * @param {string} text
286
+ */
287
+ set_nametag(text) {
288
+ const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
289
+ const len0 = WASM_VECTOR_LEN;
290
+ wasm.canvasrenderer_set_nametag(this.__wbg_ptr, ptr0, len0);
291
+ }
292
+ /**
293
+ * Set whether occluded nametag pixels remain visible at reduced opacity.
294
+ * @param {boolean} see_through
295
+ */
296
+ set_nametag_see_through(see_through) {
297
+ wasm.canvasrenderer_set_nametag_see_through(this.__wbg_ptr, see_through);
298
+ }
299
+ /**
300
+ * Set posture by preset. `"stand"`, `"wave"`, `"walking"`, `"running"`, `"flying"`.
301
+ * @param {string} preset
302
+ */
303
+ set_posture(preset) {
304
+ const ptr0 = passStringToWasm0(preset, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
305
+ const len0 = WASM_VECTOR_LEN;
306
+ const ret = wasm.canvasrenderer_set_posture(this.__wbg_ptr, ptr0, len0);
307
+ if (ret[1]) {
308
+ throw takeFromExternrefTable0(ret[0]);
309
+ }
310
+ }
311
+ /**
312
+ * Set arm width. `"classic"` (4px) or `"slim"` (3px).
313
+ * @param {string} skin_type
314
+ */
315
+ set_skin_type(skin_type) {
316
+ const ptr0 = passStringToWasm0(skin_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
317
+ const len0 = WASM_VECTOR_LEN;
318
+ const ret = wasm.canvasrenderer_set_skin_type(this.__wbg_ptr, ptr0, len0);
319
+ if (ret[1]) {
320
+ throw takeFromExternrefTable0(ret[0]);
321
+ }
322
+ }
323
+ }
324
+ if (Symbol.dispose) CanvasRenderer.prototype[Symbol.dispose] = CanvasRenderer.prototype.free;
325
+
326
+ /**
327
+ * JS-accessible representation of a texture inspection report.
328
+ */
329
+ export class JsTextureReport {
330
+ static __wrap(ptr) {
331
+ const obj = Object.create(JsTextureReport.prototype);
332
+ obj.__wbg_ptr = ptr;
333
+ JsTextureReportFinalization.register(obj, obj.__wbg_ptr, obj);
334
+ return obj;
335
+ }
336
+ __destroy_into_raw() {
337
+ const ptr = this.__wbg_ptr;
338
+ this.__wbg_ptr = 0;
339
+ JsTextureReportFinalization.unregister(this);
340
+ return ptr;
341
+ }
342
+ free() {
343
+ const ptr = this.__destroy_into_raw();
344
+ wasm.__wbg_jstexturereport_free(ptr, 0);
345
+ }
346
+ /**
347
+ * @returns {boolean}
348
+ */
349
+ get can_auto_upgrade() {
350
+ const ret = wasm.jstexturereport_can_auto_upgrade(this.__wbg_ptr);
351
+ return ret !== 0;
352
+ }
353
+ /**
354
+ * @returns {string}
355
+ */
356
+ get description() {
357
+ let deferred1_0;
358
+ let deferred1_1;
359
+ try {
360
+ const ret = wasm.jstexturereport_description(this.__wbg_ptr);
361
+ deferred1_0 = ret[0];
362
+ deferred1_1 = ret[1];
363
+ return getStringFromWasm0(ret[0], ret[1]);
364
+ } finally {
365
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
366
+ }
367
+ }
368
+ /**
369
+ * @returns {number}
370
+ */
371
+ get hd_scale() {
372
+ const ret = wasm.jstexturereport_hd_scale(this.__wbg_ptr);
373
+ return ret >>> 0;
374
+ }
375
+ /**
376
+ * @returns {number}
377
+ */
378
+ get height() {
379
+ const ret = wasm.jstexturereport_height(this.__wbg_ptr);
380
+ return ret >>> 0;
381
+ }
382
+ /**
383
+ * @returns {boolean}
384
+ */
385
+ get is_hd() {
386
+ const ret = wasm.jstexturereport_is_hd(this.__wbg_ptr);
387
+ return ret !== 0;
388
+ }
389
+ /**
390
+ * @returns {string}
391
+ */
392
+ get kind() {
393
+ let deferred1_0;
394
+ let deferred1_1;
395
+ try {
396
+ const ret = wasm.jstexturereport_kind(this.__wbg_ptr);
397
+ deferred1_0 = ret[0];
398
+ deferred1_1 = ret[1];
399
+ return getStringFromWasm0(ret[0], ret[1]);
400
+ } finally {
401
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
402
+ }
403
+ }
404
+ /**
405
+ * @returns {number}
406
+ */
407
+ get width() {
408
+ const ret = wasm.jstexturereport_width(this.__wbg_ptr);
409
+ return ret >>> 0;
410
+ }
411
+ }
412
+ if (Symbol.dispose) JsTextureReport.prototype[Symbol.dispose] = JsTextureReport.prototype.free;
413
+
414
+ /**
415
+ * Initialize `console_log` so Rust `log` macros print to the browser console.
416
+ */
417
+ export function init_logger() {
418
+ wasm.init_logger();
419
+ }
420
+
421
+ /**
422
+ * Inspect and classify a Minecraft texture from raw image bytes (e.g. PNG).
423
+ * @param {Uint8Array} bytes
424
+ * @returns {JsTextureReport}
425
+ */
426
+ export function inspect_texture(bytes) {
427
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
428
+ const len0 = WASM_VECTOR_LEN;
429
+ const ret = wasm.inspect_texture(ptr0, len0);
430
+ if (ret[2]) {
431
+ throw takeFromExternrefTable0(ret[1]);
432
+ }
433
+ return JsTextureReport.__wrap(ret[0]);
434
+ }
435
+ export function __wbg_Window_a2a6c4d665047b14(arg0) {
436
+ const ret = arg0.Window;
437
+ return ret;
438
+ }
439
+ export function __wbg_WorkerGlobalScope_2664448a7c667d67(arg0) {
440
+ const ret = arg0.WorkerGlobalScope;
441
+ return ret;
442
+ }
443
+ export function __wbg___wbindgen_boolean_get_5b446f51afd21013(arg0) {
444
+ const v = arg0;
445
+ const ret = typeof(v) === 'boolean' ? v : undefined;
446
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
447
+ }
448
+ export function __wbg___wbindgen_debug_string_4687d8d8c2017d52(arg0, arg1) {
449
+ const ret = debugString(arg1);
450
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
451
+ const len1 = WASM_VECTOR_LEN;
452
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
453
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
454
+ }
455
+ export function __wbg___wbindgen_is_function_1f9d30630b8b1d3d(arg0) {
456
+ const ret = typeof(arg0) === 'function';
457
+ return ret;
458
+ }
459
+ export function __wbg___wbindgen_is_null_e343b7d08827ba72(arg0) {
460
+ const ret = arg0 === null;
461
+ return ret;
462
+ }
463
+ export function __wbg___wbindgen_is_string_90b56bc79aad6f6c(arg0) {
464
+ const ret = typeof(arg0) === 'string';
465
+ return ret;
466
+ }
467
+ export function __wbg___wbindgen_is_undefined_8865fb403f8fe9d8(arg0) {
468
+ const ret = arg0 === undefined;
469
+ return ret;
470
+ }
471
+ export function __wbg___wbindgen_number_get_2e0e7dee9f701a71(arg0, arg1) {
472
+ const obj = arg1;
473
+ const ret = typeof(obj) === 'number' ? obj : undefined;
474
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
475
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
476
+ }
477
+ export function __wbg___wbindgen_string_get_0380ccaa2f57f0d9(arg0, arg1) {
478
+ const obj = arg1;
479
+ const ret = typeof(obj) === 'string' ? obj : undefined;
480
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
481
+ var len1 = WASM_VECTOR_LEN;
482
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
483
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
484
+ }
485
+ export function __wbg___wbindgen_throw_41e9ee4f547fc59a(arg0, arg1) {
486
+ throw new Error(getStringFromWasm0(arg0, arg1));
487
+ }
488
+ export function __wbg__wbg_cb_unref_dcc1a90847f04c41(arg0) {
489
+ arg0._wbg_cb_unref();
490
+ }
491
+ export function __wbg_activeTexture_11079673eac5c921(arg0, arg1) {
492
+ arg0.activeTexture(arg1 >>> 0);
493
+ }
494
+ export function __wbg_activeTexture_2fad46c01cafe6b1(arg0, arg1) {
495
+ arg0.activeTexture(arg1 >>> 0);
496
+ }
497
+ export function __wbg_attachShader_8920a5beea54aba7(arg0, arg1, arg2) {
498
+ arg0.attachShader(arg1, arg2);
499
+ }
500
+ export function __wbg_attachShader_9567ae57af6746d5(arg0, arg1, arg2) {
501
+ arg0.attachShader(arg1, arg2);
502
+ }
503
+ export function __wbg_beginQuery_eaee271e7ccd67d1(arg0, arg1, arg2) {
504
+ arg0.beginQuery(arg1 >>> 0, arg2);
505
+ }
506
+ export function __wbg_beginRenderPass_3c53642423af50dc() { return handleError(function (arg0, arg1) {
507
+ const ret = arg0.beginRenderPass(arg1);
508
+ return ret;
509
+ }, arguments); }
510
+ export function __wbg_bindAttribLocation_6a6f66cbe96ef24e(arg0, arg1, arg2, arg3, arg4) {
511
+ arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
512
+ }
513
+ export function __wbg_bindAttribLocation_ade0ee986a734cdf(arg0, arg1, arg2, arg3, arg4) {
514
+ arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
515
+ }
516
+ export function __wbg_bindBufferRange_a5aef3642afdabc8(arg0, arg1, arg2, arg3, arg4, arg5) {
517
+ arg0.bindBufferRange(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
518
+ }
519
+ export function __wbg_bindBuffer_0324f62b876c4403(arg0, arg1, arg2) {
520
+ arg0.bindBuffer(arg1 >>> 0, arg2);
521
+ }
522
+ export function __wbg_bindBuffer_2195e89b585ce0c3(arg0, arg1, arg2) {
523
+ arg0.bindBuffer(arg1 >>> 0, arg2);
524
+ }
525
+ export function __wbg_bindFramebuffer_22e4b8e6e6d8d0e8(arg0, arg1, arg2) {
526
+ arg0.bindFramebuffer(arg1 >>> 0, arg2);
527
+ }
528
+ export function __wbg_bindFramebuffer_378eb18ef219d37a(arg0, arg1, arg2) {
529
+ arg0.bindFramebuffer(arg1 >>> 0, arg2);
530
+ }
531
+ export function __wbg_bindRenderbuffer_db090531fb28de34(arg0, arg1, arg2) {
532
+ arg0.bindRenderbuffer(arg1 >>> 0, arg2);
533
+ }
534
+ export function __wbg_bindRenderbuffer_e0c5aeef245a913a(arg0, arg1, arg2) {
535
+ arg0.bindRenderbuffer(arg1 >>> 0, arg2);
536
+ }
537
+ export function __wbg_bindSampler_9b9743706aee71d1(arg0, arg1, arg2) {
538
+ arg0.bindSampler(arg1 >>> 0, arg2);
539
+ }
540
+ export function __wbg_bindTexture_3cf008f256f3ed99(arg0, arg1, arg2) {
541
+ arg0.bindTexture(arg1 >>> 0, arg2);
542
+ }
543
+ export function __wbg_bindTexture_613a47b8917a0ccd(arg0, arg1, arg2) {
544
+ arg0.bindTexture(arg1 >>> 0, arg2);
545
+ }
546
+ export function __wbg_bindVertexArrayOES_3141815cb8234a6e(arg0, arg1) {
547
+ arg0.bindVertexArrayOES(arg1);
548
+ }
549
+ export function __wbg_bindVertexArray_f58af0a346185ec5(arg0, arg1) {
550
+ arg0.bindVertexArray(arg1);
551
+ }
552
+ export function __wbg_blendColor_68fc6d6454f2128d(arg0, arg1, arg2, arg3, arg4) {
553
+ arg0.blendColor(arg1, arg2, arg3, arg4);
554
+ }
555
+ export function __wbg_blendColor_a6256f41d1925899(arg0, arg1, arg2, arg3, arg4) {
556
+ arg0.blendColor(arg1, arg2, arg3, arg4);
557
+ }
558
+ export function __wbg_blendEquationSeparate_0a17fa4ea863d445(arg0, arg1, arg2) {
559
+ arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
560
+ }
561
+ export function __wbg_blendEquationSeparate_fa2d4e5dde5ad8b3(arg0, arg1, arg2) {
562
+ arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
563
+ }
564
+ export function __wbg_blendEquation_5fb8aee6a55cf900(arg0, arg1) {
565
+ arg0.blendEquation(arg1 >>> 0);
566
+ }
567
+ export function __wbg_blendEquation_d21914e937b14896(arg0, arg1) {
568
+ arg0.blendEquation(arg1 >>> 0);
569
+ }
570
+ export function __wbg_blendFuncSeparate_28abe082febb1a26(arg0, arg1, arg2, arg3, arg4) {
571
+ arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
572
+ }
573
+ export function __wbg_blendFuncSeparate_2af9d47f7efc0452(arg0, arg1, arg2, arg3, arg4) {
574
+ arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
575
+ }
576
+ export function __wbg_blendFunc_491ee1105079ce76(arg0, arg1, arg2) {
577
+ arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
578
+ }
579
+ export function __wbg_blendFunc_589e4252bb396484(arg0, arg1, arg2) {
580
+ arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
581
+ }
582
+ export function __wbg_blitFramebuffer_7b39bfec6cfece56(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
583
+ arg0.blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
584
+ }
585
+ export function __wbg_bufferData_50f5eb06469330e4(arg0, arg1, arg2, arg3) {
586
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
587
+ }
588
+ export function __wbg_bufferData_53e0f7a06b58fe81(arg0, arg1, arg2, arg3) {
589
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
590
+ }
591
+ export function __wbg_bufferData_5fa44d94fe7a3878(arg0, arg1, arg2, arg3) {
592
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
593
+ }
594
+ export function __wbg_bufferData_bad7ce562b6a9eac(arg0, arg1, arg2, arg3) {
595
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
596
+ }
597
+ export function __wbg_bufferSubData_22c4c420e0f67cda(arg0, arg1, arg2, arg3) {
598
+ arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
599
+ }
600
+ export function __wbg_bufferSubData_8609cd8a2c013181(arg0, arg1, arg2, arg3) {
601
+ arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
602
+ }
603
+ export function __wbg_call_187d372bd5fdd4aa() { return handleError(function (arg0, arg1, arg2) {
604
+ const ret = arg0.call(arg1, arg2);
605
+ return ret;
606
+ }, arguments); }
607
+ export function __wbg_canvasrenderer_new(arg0) {
608
+ const ret = CanvasRenderer.__wrap(arg0);
609
+ return ret;
610
+ }
611
+ export function __wbg_clearBufferfv_05f7fc7252e623eb(arg0, arg1, arg2, arg3, arg4) {
612
+ arg0.clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
613
+ }
614
+ export function __wbg_clearBufferiv_e8e740accbd0f2df(arg0, arg1, arg2, arg3, arg4) {
615
+ arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
616
+ }
617
+ export function __wbg_clearBufferuiv_e7f50f91f2195e38(arg0, arg1, arg2, arg3, arg4) {
618
+ arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
619
+ }
620
+ export function __wbg_clearDepth_4840a5497ae51286(arg0, arg1) {
621
+ arg0.clearDepth(arg1);
622
+ }
623
+ export function __wbg_clearDepth_5a119c24c5d193bc(arg0, arg1) {
624
+ arg0.clearDepth(arg1);
625
+ }
626
+ export function __wbg_clearStencil_1b8b8c727f598eec(arg0, arg1) {
627
+ arg0.clearStencil(arg1);
628
+ }
629
+ export function __wbg_clearStencil_e4383e4a543e7997(arg0, arg1) {
630
+ arg0.clearStencil(arg1);
631
+ }
632
+ export function __wbg_clear_175cf3cb6d98d72b(arg0, arg1) {
633
+ arg0.clear(arg1 >>> 0);
634
+ }
635
+ export function __wbg_clear_cb96796cc568b7c8(arg0, arg1) {
636
+ arg0.clear(arg1 >>> 0);
637
+ }
638
+ export function __wbg_clientWaitSync_73122aa040ce343d(arg0, arg1, arg2, arg3) {
639
+ const ret = arg0.clientWaitSync(arg1, arg2 >>> 0, arg3 >>> 0);
640
+ return ret;
641
+ }
642
+ export function __wbg_colorMask_4d6afbbbc3022fbe(arg0, arg1, arg2, arg3, arg4) {
643
+ arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
644
+ }
645
+ export function __wbg_colorMask_8c903995f6f873be(arg0, arg1, arg2, arg3, arg4) {
646
+ arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
647
+ }
648
+ export function __wbg_compileShader_073a75409aaf96d2(arg0, arg1) {
649
+ arg0.compileShader(arg1);
650
+ }
651
+ export function __wbg_compileShader_c2b53ff3a8851f60(arg0, arg1) {
652
+ arg0.compileShader(arg1);
653
+ }
654
+ export function __wbg_compressedTexSubImage2D_4942a783e20221c2(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
655
+ arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
656
+ }
657
+ export function __wbg_compressedTexSubImage2D_4c408678ff5f3056(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
658
+ arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
659
+ }
660
+ export function __wbg_compressedTexSubImage2D_80961cdbbd2b3aea(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
661
+ arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
662
+ }
663
+ export function __wbg_compressedTexSubImage3D_1e0f86237d82f8b9(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
664
+ arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10);
665
+ }
666
+ export function __wbg_compressedTexSubImage3D_682e402a0ac201ba(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
667
+ arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
668
+ }
669
+ export function __wbg_configure_1e2c1c9edad07d26() { return handleError(function (arg0, arg1) {
670
+ arg0.configure(arg1);
671
+ }, arguments); }
672
+ export function __wbg_copyBufferSubData_e82219c4834bd9ae(arg0, arg1, arg2, arg3, arg4, arg5) {
673
+ arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
674
+ }
675
+ export function __wbg_copyTexSubImage2D_455fba12cf4a776c(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
676
+ arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
677
+ }
678
+ export function __wbg_copyTexSubImage2D_fe71e36efa520f37(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
679
+ arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
680
+ }
681
+ export function __wbg_copyTexSubImage3D_717cd6c97934f2e6(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
682
+ arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
683
+ }
684
+ export function __wbg_copyTextureToBuffer_1234b3210431ad05() { return handleError(function (arg0, arg1, arg2, arg3) {
685
+ arg0.copyTextureToBuffer(arg1, arg2, arg3);
686
+ }, arguments); }
687
+ export function __wbg_createBindGroupLayout_b1bd63b4e88459d8() { return handleError(function (arg0, arg1) {
688
+ const ret = arg0.createBindGroupLayout(arg1);
689
+ return ret;
690
+ }, arguments); }
691
+ export function __wbg_createBindGroup_f539b26ca341308f(arg0, arg1) {
692
+ const ret = arg0.createBindGroup(arg1);
693
+ return ret;
694
+ }
695
+ export function __wbg_createBuffer_d1dd23bf8704564c(arg0) {
696
+ const ret = arg0.createBuffer();
697
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
698
+ }
699
+ export function __wbg_createBuffer_d800e9b1d41b2ee5() { return handleError(function (arg0, arg1) {
700
+ const ret = arg0.createBuffer(arg1);
701
+ return ret;
702
+ }, arguments); }
703
+ export function __wbg_createBuffer_ffe613371d42cfd3(arg0) {
704
+ const ret = arg0.createBuffer();
705
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
706
+ }
707
+ export function __wbg_createCommandEncoder_3352d1ffc36c6fc0(arg0, arg1) {
708
+ const ret = arg0.createCommandEncoder(arg1);
709
+ return ret;
710
+ }
711
+ export function __wbg_createFramebuffer_2c6b5b0f49c88e5d(arg0) {
712
+ const ret = arg0.createFramebuffer();
713
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
714
+ }
715
+ export function __wbg_createFramebuffer_d0969af4e9886297(arg0) {
716
+ const ret = arg0.createFramebuffer();
717
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
718
+ }
719
+ export function __wbg_createPipelineLayout_6eab52c327118937(arg0, arg1) {
720
+ const ret = arg0.createPipelineLayout(arg1);
721
+ return ret;
722
+ }
723
+ export function __wbg_createProgram_cbf448e6f18a9402(arg0) {
724
+ const ret = arg0.createProgram();
725
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
726
+ }
727
+ export function __wbg_createProgram_e0c81b0d2b8d0fd0(arg0) {
728
+ const ret = arg0.createProgram();
729
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
730
+ }
731
+ export function __wbg_createQuery_ec241083d0b36197(arg0) {
732
+ const ret = arg0.createQuery();
733
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
734
+ }
735
+ export function __wbg_createRenderPipeline_0ebb7ebc653e9207() { return handleError(function (arg0, arg1) {
736
+ const ret = arg0.createRenderPipeline(arg1);
737
+ return ret;
738
+ }, arguments); }
739
+ export function __wbg_createRenderbuffer_2b17e9fe2e6fb4be(arg0) {
740
+ const ret = arg0.createRenderbuffer();
741
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
742
+ }
743
+ export function __wbg_createRenderbuffer_c864095d6ebd60d0(arg0) {
744
+ const ret = arg0.createRenderbuffer();
745
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
746
+ }
747
+ export function __wbg_createSampler_1b330d9da0c6523f(arg0) {
748
+ const ret = arg0.createSampler();
749
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
750
+ }
751
+ export function __wbg_createSampler_9bd91d7e928c0060(arg0, arg1) {
752
+ const ret = arg0.createSampler(arg1);
753
+ return ret;
754
+ }
755
+ export function __wbg_createShaderModule_cefa51336cb288ae(arg0, arg1) {
756
+ const ret = arg0.createShaderModule(arg1);
757
+ return ret;
758
+ }
759
+ export function __wbg_createShader_6c1a2295587878a5(arg0, arg1) {
760
+ const ret = arg0.createShader(arg1 >>> 0);
761
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
762
+ }
763
+ export function __wbg_createShader_7c9d99a21ecb08c0(arg0, arg1) {
764
+ const ret = arg0.createShader(arg1 >>> 0);
765
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
766
+ }
767
+ export function __wbg_createTexture_01e8e591b64237de(arg0) {
768
+ const ret = arg0.createTexture();
769
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
770
+ }
771
+ export function __wbg_createTexture_5f2583508ebe379b(arg0) {
772
+ const ret = arg0.createTexture();
773
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
774
+ }
775
+ export function __wbg_createTexture_ed7e9fc04dd54d84() { return handleError(function (arg0, arg1) {
776
+ const ret = arg0.createTexture(arg1);
777
+ return ret;
778
+ }, arguments); }
779
+ export function __wbg_createVertexArrayOES_a8dc8498b56df937(arg0) {
780
+ const ret = arg0.createVertexArrayOES();
781
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
782
+ }
783
+ export function __wbg_createVertexArray_b223ea69dd08fcab(arg0) {
784
+ const ret = arg0.createVertexArray();
785
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
786
+ }
787
+ export function __wbg_createView_da41c2d2cb212715() { return handleError(function (arg0, arg1) {
788
+ const ret = arg0.createView(arg1);
789
+ return ret;
790
+ }, arguments); }
791
+ export function __wbg_cullFace_12123c1c97f1ba2c(arg0, arg1) {
792
+ arg0.cullFace(arg1 >>> 0);
793
+ }
794
+ export function __wbg_cullFace_1a01f0b6d5aeb687(arg0, arg1) {
795
+ arg0.cullFace(arg1 >>> 0);
796
+ }
797
+ export function __wbg_debug_52bda05ddf50b736(arg0) {
798
+ console.debug(arg0);
799
+ }
800
+ export function __wbg_deleteBuffer_070e58aaaf2a7a8b(arg0, arg1) {
801
+ arg0.deleteBuffer(arg1);
802
+ }
803
+ export function __wbg_deleteBuffer_7775ee9e248c8468(arg0, arg1) {
804
+ arg0.deleteBuffer(arg1);
805
+ }
806
+ export function __wbg_deleteFramebuffer_3f8ab330098bf8e6(arg0, arg1) {
807
+ arg0.deleteFramebuffer(arg1);
808
+ }
809
+ export function __wbg_deleteFramebuffer_570d3b214a509fa2(arg0, arg1) {
810
+ arg0.deleteFramebuffer(arg1);
811
+ }
812
+ export function __wbg_deleteProgram_822906f0368175d0(arg0, arg1) {
813
+ arg0.deleteProgram(arg1);
814
+ }
815
+ export function __wbg_deleteProgram_b524b30ad176cdb4(arg0, arg1) {
816
+ arg0.deleteProgram(arg1);
817
+ }
818
+ export function __wbg_deleteQuery_266895df9763e0b3(arg0, arg1) {
819
+ arg0.deleteQuery(arg1);
820
+ }
821
+ export function __wbg_deleteRenderbuffer_826c9b43b7ea68f5(arg0, arg1) {
822
+ arg0.deleteRenderbuffer(arg1);
823
+ }
824
+ export function __wbg_deleteRenderbuffer_f4e121a3ab21c605(arg0, arg1) {
825
+ arg0.deleteRenderbuffer(arg1);
826
+ }
827
+ export function __wbg_deleteSampler_f8afded8bf215d53(arg0, arg1) {
828
+ arg0.deleteSampler(arg1);
829
+ }
830
+ export function __wbg_deleteShader_a70f6cc1918d67eb(arg0, arg1) {
831
+ arg0.deleteShader(arg1);
832
+ }
833
+ export function __wbg_deleteShader_da18a294158c2d15(arg0, arg1) {
834
+ arg0.deleteShader(arg1);
835
+ }
836
+ export function __wbg_deleteSync_4f0be28b03f50495(arg0, arg1) {
837
+ arg0.deleteSync(arg1);
838
+ }
839
+ export function __wbg_deleteTexture_78c170241204a466(arg0, arg1) {
840
+ arg0.deleteTexture(arg1);
841
+ }
842
+ export function __wbg_deleteTexture_9f42750adb092e4f(arg0, arg1) {
843
+ arg0.deleteTexture(arg1);
844
+ }
845
+ export function __wbg_deleteVertexArrayOES_e01f31634d466176(arg0, arg1) {
846
+ arg0.deleteVertexArrayOES(arg1);
847
+ }
848
+ export function __wbg_deleteVertexArray_ca9768805d051d49(arg0, arg1) {
849
+ arg0.deleteVertexArray(arg1);
850
+ }
851
+ export function __wbg_depthFunc_92e96d8f46a23300(arg0, arg1) {
852
+ arg0.depthFunc(arg1 >>> 0);
853
+ }
854
+ export function __wbg_depthFunc_a41fb5adacb22e09(arg0, arg1) {
855
+ arg0.depthFunc(arg1 >>> 0);
856
+ }
857
+ export function __wbg_depthMask_06ecff4d4514c38f(arg0, arg1) {
858
+ arg0.depthMask(arg1 !== 0);
859
+ }
860
+ export function __wbg_depthMask_0d7c3dec3b8405ee(arg0, arg1) {
861
+ arg0.depthMask(arg1 !== 0);
862
+ }
863
+ export function __wbg_depthRange_24c7969249461e8e(arg0, arg1, arg2) {
864
+ arg0.depthRange(arg1, arg2);
865
+ }
866
+ export function __wbg_depthRange_6a4e169ccf314148(arg0, arg1, arg2) {
867
+ arg0.depthRange(arg1, arg2);
868
+ }
869
+ export function __wbg_destroy_637537007d9eaa44(arg0) {
870
+ arg0.destroy();
871
+ }
872
+ export function __wbg_disableVertexAttribArray_11c9f11bee30c9d8(arg0, arg1) {
873
+ arg0.disableVertexAttribArray(arg1 >>> 0);
874
+ }
875
+ export function __wbg_disableVertexAttribArray_c4c8af1f9e4120d4(arg0, arg1) {
876
+ arg0.disableVertexAttribArray(arg1 >>> 0);
877
+ }
878
+ export function __wbg_disable_19fe787eccdf0272(arg0, arg1) {
879
+ arg0.disable(arg1 >>> 0);
880
+ }
881
+ export function __wbg_disable_81b2cb5f8cea15ae(arg0, arg1) {
882
+ arg0.disable(arg1 >>> 0);
883
+ }
884
+ export function __wbg_document_9854e03c05fc8834(arg0) {
885
+ const ret = arg0.document;
886
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
887
+ }
888
+ export function __wbg_drawArraysInstancedANGLE_b76512b5abba6668(arg0, arg1, arg2, arg3, arg4) {
889
+ arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
890
+ }
891
+ export function __wbg_drawArraysInstanced_9b44aa78a087154d(arg0, arg1, arg2, arg3, arg4) {
892
+ arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
893
+ }
894
+ export function __wbg_drawArrays_08872e02fb57b847(arg0, arg1, arg2, arg3) {
895
+ arg0.drawArrays(arg1 >>> 0, arg2, arg3);
896
+ }
897
+ export function __wbg_drawArrays_741af5c3f8db636f(arg0, arg1, arg2, arg3) {
898
+ arg0.drawArrays(arg1 >>> 0, arg2, arg3);
899
+ }
900
+ export function __wbg_drawBuffersWEBGL_c1bc0bbfd584c9b2(arg0, arg1) {
901
+ arg0.drawBuffersWEBGL(arg1);
902
+ }
903
+ export function __wbg_drawBuffers_7a58bd4729f7a1fc(arg0, arg1) {
904
+ arg0.drawBuffers(arg1);
905
+ }
906
+ export function __wbg_drawElementsInstancedANGLE_c3fc0cfa9e29a1bc(arg0, arg1, arg2, arg3, arg4, arg5) {
907
+ arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
908
+ }
909
+ export function __wbg_drawElementsInstanced_d7c396aa034159b6(arg0, arg1, arg2, arg3, arg4, arg5) {
910
+ arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
911
+ }
912
+ export function __wbg_draw_086a9578fc9898c2(arg0, arg1, arg2, arg3, arg4) {
913
+ arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
914
+ }
915
+ export function __wbg_enableVertexAttribArray_1496b78a8dbab9fd(arg0, arg1) {
916
+ arg0.enableVertexAttribArray(arg1 >>> 0);
917
+ }
918
+ export function __wbg_enableVertexAttribArray_d52693866bc8b8dd(arg0, arg1) {
919
+ arg0.enableVertexAttribArray(arg1 >>> 0);
920
+ }
921
+ export function __wbg_enable_6eeb9c0e9b483cee(arg0, arg1) {
922
+ arg0.enable(arg1 >>> 0);
923
+ }
924
+ export function __wbg_enable_cb4fc19b51148c37(arg0, arg1) {
925
+ arg0.enable(arg1 >>> 0);
926
+ }
927
+ export function __wbg_endQuery_73863d04a795d520(arg0, arg1) {
928
+ arg0.endQuery(arg1 >>> 0);
929
+ }
930
+ export function __wbg_end_b57473834b877409(arg0) {
931
+ arg0.end();
932
+ }
933
+ export function __wbg_error_757e9472f8410341(arg0, arg1) {
934
+ let deferred0_0;
935
+ let deferred0_1;
936
+ try {
937
+ deferred0_0 = arg0;
938
+ deferred0_1 = arg1;
939
+ console.error(getStringFromWasm0(arg0, arg1));
940
+ } finally {
941
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
942
+ }
943
+ }
944
+ export function __wbg_error_8c8dff942c7c4f11(arg0) {
945
+ const ret = arg0.error;
946
+ return ret;
947
+ }
948
+ export function __wbg_error_c9cf3fc2064683a9(arg0) {
949
+ console.error(arg0);
950
+ }
951
+ export function __wbg_fenceSync_330293024adb66bc(arg0, arg1, arg2) {
952
+ const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0);
953
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
954
+ }
955
+ export function __wbg_finish_09ec094c10f41e7b(arg0) {
956
+ const ret = arg0.finish();
957
+ return ret;
958
+ }
959
+ export function __wbg_finish_173a156040775de3(arg0) {
960
+ arg0.finish();
961
+ }
962
+ export function __wbg_finish_31ffb964be7e9749(arg0) {
963
+ arg0.finish();
964
+ }
965
+ export function __wbg_finish_ec1c191f66a895b1(arg0, arg1) {
966
+ const ret = arg0.finish(arg1);
967
+ return ret;
968
+ }
969
+ export function __wbg_flush_13b162660ad850d2(arg0) {
970
+ arg0.flush();
971
+ }
972
+ export function __wbg_flush_a5ad38200881ac35(arg0) {
973
+ arg0.flush();
974
+ }
975
+ export function __wbg_framebufferRenderbuffer_1c6337e0030411f3(arg0, arg1, arg2, arg3, arg4) {
976
+ arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
977
+ }
978
+ export function __wbg_framebufferRenderbuffer_f019e9231b142c0d(arg0, arg1, arg2, arg3, arg4) {
979
+ arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
980
+ }
981
+ export function __wbg_framebufferTexture2D_73c52f23ec33aa22(arg0, arg1, arg2, arg3, arg4, arg5) {
982
+ arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
983
+ }
984
+ export function __wbg_framebufferTexture2D_caddefa1f767646e(arg0, arg1, arg2, arg3, arg4, arg5) {
985
+ arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
986
+ }
987
+ export function __wbg_framebufferTextureLayer_1d5c0f0e3234e521(arg0, arg1, arg2, arg3, arg4, arg5) {
988
+ arg0.framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
989
+ }
990
+ export function __wbg_framebufferTextureMultiviewOVR_77f19224ff7be6ef(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
991
+ arg0.framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5, arg6);
992
+ }
993
+ export function __wbg_frontFace_6751b4b97f997aeb(arg0, arg1) {
994
+ arg0.frontFace(arg1 >>> 0);
995
+ }
996
+ export function __wbg_frontFace_b064adb15b6f3772(arg0, arg1) {
997
+ arg0.frontFace(arg1 >>> 0);
998
+ }
999
+ export function __wbg_getBufferSubData_dd23246099b166d1(arg0, arg1, arg2, arg3) {
1000
+ arg0.getBufferSubData(arg1 >>> 0, arg2, arg3);
1001
+ }
1002
+ export function __wbg_getContext_051324720aa5b7e8() { return handleError(function (arg0, arg1, arg2, arg3) {
1003
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
1004
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1005
+ }, arguments); }
1006
+ export function __wbg_getContext_189ce278aa985704() { return handleError(function (arg0, arg1, arg2, arg3) {
1007
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
1008
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1009
+ }, arguments); }
1010
+ export function __wbg_getContext_635e36719cad2623() { return handleError(function (arg0, arg1, arg2) {
1011
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
1012
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1013
+ }, arguments); }
1014
+ export function __wbg_getContext_e567868594d2e0c6() { return handleError(function (arg0, arg1, arg2) {
1015
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
1016
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1017
+ }, arguments); }
1018
+ export function __wbg_getCurrentTexture_9f3b84d0eaa6cd95() { return handleError(function (arg0) {
1019
+ const ret = arg0.getCurrentTexture();
1020
+ return ret;
1021
+ }, arguments); }
1022
+ export function __wbg_getExtension_abfda2c5db286b07() { return handleError(function (arg0, arg1, arg2) {
1023
+ const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
1024
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1025
+ }, arguments); }
1026
+ export function __wbg_getIndexedParameter_0f49864473e337fa() { return handleError(function (arg0, arg1, arg2) {
1027
+ const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
1028
+ return ret;
1029
+ }, arguments); }
1030
+ export function __wbg_getMappedRange_fb54c6327b2d8d20() { return handleError(function (arg0, arg1, arg2) {
1031
+ const ret = arg0.getMappedRange(arg1, arg2);
1032
+ return ret;
1033
+ }, arguments); }
1034
+ export function __wbg_getParameter_974595a6624c6c10() { return handleError(function (arg0, arg1) {
1035
+ const ret = arg0.getParameter(arg1 >>> 0);
1036
+ return ret;
1037
+ }, arguments); }
1038
+ export function __wbg_getParameter_a97f491753b05668() { return handleError(function (arg0, arg1) {
1039
+ const ret = arg0.getParameter(arg1 >>> 0);
1040
+ return ret;
1041
+ }, arguments); }
1042
+ export function __wbg_getPreferredCanvasFormat_0ef5034c8902201b(arg0) {
1043
+ const ret = arg0.getPreferredCanvasFormat();
1044
+ return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 102) - 1;
1045
+ }
1046
+ export function __wbg_getProgramInfoLog_208fb1ff31006495(arg0, arg1, arg2) {
1047
+ const ret = arg1.getProgramInfoLog(arg2);
1048
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1049
+ var len1 = WASM_VECTOR_LEN;
1050
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1051
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1052
+ }
1053
+ export function __wbg_getProgramInfoLog_3276b294d6d42fe2(arg0, arg1, arg2) {
1054
+ const ret = arg1.getProgramInfoLog(arg2);
1055
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1056
+ var len1 = WASM_VECTOR_LEN;
1057
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1058
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1059
+ }
1060
+ export function __wbg_getProgramParameter_50bafab01cf88652(arg0, arg1, arg2) {
1061
+ const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
1062
+ return ret;
1063
+ }
1064
+ export function __wbg_getProgramParameter_fc7124bb9fb7c675(arg0, arg1, arg2) {
1065
+ const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
1066
+ return ret;
1067
+ }
1068
+ export function __wbg_getQueryParameter_937ba13f77db778f(arg0, arg1, arg2) {
1069
+ const ret = arg0.getQueryParameter(arg1, arg2 >>> 0);
1070
+ return ret;
1071
+ }
1072
+ export function __wbg_getRandomValues_a608c4436c19407a() { return handleError(function (arg0, arg1) {
1073
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
1074
+ }, arguments); }
1075
+ export function __wbg_getShaderInfoLog_7e0cbba353ca95da(arg0, arg1, arg2) {
1076
+ const ret = arg1.getShaderInfoLog(arg2);
1077
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1078
+ var len1 = WASM_VECTOR_LEN;
1079
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1080
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1081
+ }
1082
+ export function __wbg_getShaderInfoLog_bb64c5a52df0b7a3(arg0, arg1, arg2) {
1083
+ const ret = arg1.getShaderInfoLog(arg2);
1084
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1085
+ var len1 = WASM_VECTOR_LEN;
1086
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1087
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1088
+ }
1089
+ export function __wbg_getShaderParameter_745acf10b8e45e31(arg0, arg1, arg2) {
1090
+ const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
1091
+ return ret;
1092
+ }
1093
+ export function __wbg_getShaderParameter_e55ea9c456df5484(arg0, arg1, arg2) {
1094
+ const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
1095
+ return ret;
1096
+ }
1097
+ export function __wbg_getSupportedExtensions_1459bad37860c0c3(arg0) {
1098
+ const ret = arg0.getSupportedExtensions();
1099
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1100
+ }
1101
+ export function __wbg_getSupportedProfiles_7b2acfa66b565d24(arg0) {
1102
+ const ret = arg0.getSupportedProfiles();
1103
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1104
+ }
1105
+ export function __wbg_getSyncParameter_bb4be47b67bfa2f8(arg0, arg1, arg2) {
1106
+ const ret = arg0.getSyncParameter(arg1, arg2 >>> 0);
1107
+ return ret;
1108
+ }
1109
+ export function __wbg_getUniformBlockIndex_5e2252ceb34531a5(arg0, arg1, arg2, arg3) {
1110
+ const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3));
1111
+ return ret;
1112
+ }
1113
+ export function __wbg_getUniformLocation_50ba45dade572703(arg0, arg1, arg2, arg3) {
1114
+ const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
1115
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1116
+ }
1117
+ export function __wbg_getUniformLocation_cb4e3e121235f91a(arg0, arg1, arg2, arg3) {
1118
+ const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
1119
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1120
+ }
1121
+ export function __wbg_get_fd12a9100976c296(arg0, arg1) {
1122
+ const ret = arg0[arg1 >>> 0];
1123
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1124
+ }
1125
+ export function __wbg_get_unchecked_288889d017702237(arg0, arg1) {
1126
+ const ret = arg0[arg1 >>> 0];
1127
+ return ret;
1128
+ }
1129
+ export function __wbg_gpu_afdd4387c7afe5f9(arg0) {
1130
+ const ret = arg0.gpu;
1131
+ return ret;
1132
+ }
1133
+ export function __wbg_includes_9b0dfa946c313621(arg0, arg1, arg2) {
1134
+ const ret = arg0.includes(arg1, arg2);
1135
+ return ret;
1136
+ }
1137
+ export function __wbg_info_26925f73a2eee895(arg0) {
1138
+ console.info(arg0);
1139
+ }
1140
+ export function __wbg_instanceof_GpuOutOfMemoryError_5c3b8a2499f59adb(arg0) {
1141
+ let result;
1142
+ try {
1143
+ result = arg0 instanceof GPUOutOfMemoryError;
1144
+ } catch (_) {
1145
+ result = false;
1146
+ }
1147
+ const ret = result;
1148
+ return ret;
1149
+ }
1150
+ export function __wbg_instanceof_GpuValidationError_7659e07b12d4e184(arg0) {
1151
+ let result;
1152
+ try {
1153
+ result = arg0 instanceof GPUValidationError;
1154
+ } catch (_) {
1155
+ result = false;
1156
+ }
1157
+ const ret = result;
1158
+ return ret;
1159
+ }
1160
+ export function __wbg_instanceof_HtmlCanvasElement_0a30c11fbbf41841(arg0) {
1161
+ let result;
1162
+ try {
1163
+ result = arg0 instanceof HTMLCanvasElement;
1164
+ } catch (_) {
1165
+ result = false;
1166
+ }
1167
+ const ret = result;
1168
+ return ret;
1169
+ }
1170
+ export function __wbg_instanceof_WebGl2RenderingContext_64c994c14c0790fb(arg0) {
1171
+ let result;
1172
+ try {
1173
+ result = arg0 instanceof WebGL2RenderingContext;
1174
+ } catch (_) {
1175
+ result = false;
1176
+ }
1177
+ const ret = result;
1178
+ return ret;
1179
+ }
1180
+ export function __wbg_instanceof_Window_82d71df4eddf88bc(arg0) {
1181
+ let result;
1182
+ try {
1183
+ result = arg0 instanceof Window;
1184
+ } catch (_) {
1185
+ result = false;
1186
+ }
1187
+ const ret = result;
1188
+ return ret;
1189
+ }
1190
+ export function __wbg_invalidateFramebuffer_4f576db65bb37d6a() { return handleError(function (arg0, arg1, arg2) {
1191
+ arg0.invalidateFramebuffer(arg1 >>> 0, arg2);
1192
+ }, arguments); }
1193
+ export function __wbg_is_4b278c0bd3caba97(arg0, arg1) {
1194
+ const ret = Object.is(arg0, arg1);
1195
+ return ret;
1196
+ }
1197
+ export function __wbg_label_7add8cb37a6ef98f(arg0, arg1) {
1198
+ const ret = arg1.label;
1199
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1200
+ const len1 = WASM_VECTOR_LEN;
1201
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1202
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1203
+ }
1204
+ export function __wbg_length_7f3c00c40364105e(arg0) {
1205
+ const ret = arg0.length;
1206
+ return ret;
1207
+ }
1208
+ export function __wbg_length_d4bdea10311bd9cf(arg0) {
1209
+ const ret = arg0.length;
1210
+ return ret;
1211
+ }
1212
+ export function __wbg_limits_06bcb36c8409843b(arg0) {
1213
+ const ret = arg0.limits;
1214
+ return ret;
1215
+ }
1216
+ export function __wbg_limits_601ad2e086ef8141(arg0) {
1217
+ const ret = arg0.limits;
1218
+ return ret;
1219
+ }
1220
+ export function __wbg_linkProgram_571a9ea00d38ff83(arg0, arg1) {
1221
+ arg0.linkProgram(arg1);
1222
+ }
1223
+ export function __wbg_linkProgram_acdc299c43d734a0(arg0, arg1) {
1224
+ arg0.linkProgram(arg1);
1225
+ }
1226
+ export function __wbg_log_17c30ef363c61cf4(arg0) {
1227
+ console.log(arg0);
1228
+ }
1229
+ export function __wbg_mapAsync_b0597127f5037286(arg0, arg1, arg2, arg3) {
1230
+ const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
1231
+ return ret;
1232
+ }
1233
+ export function __wbg_matchMedia_8a4857f947f11f82() { return handleError(function (arg0, arg1, arg2) {
1234
+ const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
1235
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1236
+ }, arguments); }
1237
+ export function __wbg_matches_778d0873b064b1bf(arg0) {
1238
+ const ret = arg0.matches;
1239
+ return ret;
1240
+ }
1241
+ export function __wbg_maxBindGroupsPlusVertexBuffers_52369f089736ef9d(arg0) {
1242
+ const ret = arg0.maxBindGroupsPlusVertexBuffers;
1243
+ return ret;
1244
+ }
1245
+ export function __wbg_maxBindGroups_4e424afe6ce86ca2(arg0) {
1246
+ const ret = arg0.maxBindGroups;
1247
+ return ret;
1248
+ }
1249
+ export function __wbg_maxBindingsPerBindGroup_7d035da36821c44f(arg0) {
1250
+ const ret = arg0.maxBindingsPerBindGroup;
1251
+ return ret;
1252
+ }
1253
+ export function __wbg_maxBufferSize_423f4a084e32a195(arg0) {
1254
+ const ret = arg0.maxBufferSize;
1255
+ return ret;
1256
+ }
1257
+ export function __wbg_maxColorAttachmentBytesPerSample_c4cd9126f6d287c6(arg0) {
1258
+ const ret = arg0.maxColorAttachmentBytesPerSample;
1259
+ return ret;
1260
+ }
1261
+ export function __wbg_maxColorAttachments_d924670762b9e250(arg0) {
1262
+ const ret = arg0.maxColorAttachments;
1263
+ return ret;
1264
+ }
1265
+ export function __wbg_maxComputeInvocationsPerWorkgroup_707a3868f7cebb59(arg0) {
1266
+ const ret = arg0.maxComputeInvocationsPerWorkgroup;
1267
+ return ret;
1268
+ }
1269
+ export function __wbg_maxComputeWorkgroupSizeX_0a4d99463cbd6e5e(arg0) {
1270
+ const ret = arg0.maxComputeWorkgroupSizeX;
1271
+ return ret;
1272
+ }
1273
+ export function __wbg_maxComputeWorkgroupSizeY_85123ea0587f7558(arg0) {
1274
+ const ret = arg0.maxComputeWorkgroupSizeY;
1275
+ return ret;
1276
+ }
1277
+ export function __wbg_maxComputeWorkgroupSizeZ_a3186b4c5267d44f(arg0) {
1278
+ const ret = arg0.maxComputeWorkgroupSizeZ;
1279
+ return ret;
1280
+ }
1281
+ export function __wbg_maxComputeWorkgroupStorageSize_57b297355cfb6204(arg0) {
1282
+ const ret = arg0.maxComputeWorkgroupStorageSize;
1283
+ return ret;
1284
+ }
1285
+ export function __wbg_maxComputeWorkgroupsPerDimension_4158f95e673d54c4(arg0) {
1286
+ const ret = arg0.maxComputeWorkgroupsPerDimension;
1287
+ return ret;
1288
+ }
1289
+ export function __wbg_maxDynamicStorageBuffersPerPipelineLayout_226b0b70910aa16c(arg0) {
1290
+ const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
1291
+ return ret;
1292
+ }
1293
+ export function __wbg_maxDynamicUniformBuffersPerPipelineLayout_0e835fda711fc7e6(arg0) {
1294
+ const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
1295
+ return ret;
1296
+ }
1297
+ export function __wbg_maxInterStageShaderVariables_8c4a1d727e2aa35a(arg0) {
1298
+ const ret = arg0.maxInterStageShaderVariables;
1299
+ return ret;
1300
+ }
1301
+ export function __wbg_maxSampledTexturesPerShaderStage_6675f5e91d9a728a(arg0) {
1302
+ const ret = arg0.maxSampledTexturesPerShaderStage;
1303
+ return ret;
1304
+ }
1305
+ export function __wbg_maxSamplersPerShaderStage_1910fa38a6ed1e1f(arg0) {
1306
+ const ret = arg0.maxSamplersPerShaderStage;
1307
+ return ret;
1308
+ }
1309
+ export function __wbg_maxStorageBufferBindingSize_2e244bded070b18d(arg0) {
1310
+ const ret = arg0.maxStorageBufferBindingSize;
1311
+ return ret;
1312
+ }
1313
+ export function __wbg_maxStorageBuffersPerShaderStage_a285f3ebca51ca0d(arg0) {
1314
+ const ret = arg0.maxStorageBuffersPerShaderStage;
1315
+ return ret;
1316
+ }
1317
+ export function __wbg_maxStorageTexturesPerShaderStage_7aa946f0fc322a2b(arg0) {
1318
+ const ret = arg0.maxStorageTexturesPerShaderStage;
1319
+ return ret;
1320
+ }
1321
+ export function __wbg_maxTextureArrayLayers_0e699147ad00502d(arg0) {
1322
+ const ret = arg0.maxTextureArrayLayers;
1323
+ return ret;
1324
+ }
1325
+ export function __wbg_maxTextureDimension1D_aabf6add54decfe2(arg0) {
1326
+ const ret = arg0.maxTextureDimension1D;
1327
+ return ret;
1328
+ }
1329
+ export function __wbg_maxTextureDimension2D_dd598b27e9c0c1c4(arg0) {
1330
+ const ret = arg0.maxTextureDimension2D;
1331
+ return ret;
1332
+ }
1333
+ export function __wbg_maxTextureDimension3D_f944266c65dfd1a9(arg0) {
1334
+ const ret = arg0.maxTextureDimension3D;
1335
+ return ret;
1336
+ }
1337
+ export function __wbg_maxUniformBufferBindingSize_59fa6be7cfbeeb53(arg0) {
1338
+ const ret = arg0.maxUniformBufferBindingSize;
1339
+ return ret;
1340
+ }
1341
+ export function __wbg_maxUniformBuffersPerShaderStage_bee5f00a4d706c7f(arg0) {
1342
+ const ret = arg0.maxUniformBuffersPerShaderStage;
1343
+ return ret;
1344
+ }
1345
+ export function __wbg_maxVertexAttributes_5cf6392c4e9033fe(arg0) {
1346
+ const ret = arg0.maxVertexAttributes;
1347
+ return ret;
1348
+ }
1349
+ export function __wbg_maxVertexBufferArrayStride_548baa887375d865(arg0) {
1350
+ const ret = arg0.maxVertexBufferArrayStride;
1351
+ return ret;
1352
+ }
1353
+ export function __wbg_maxVertexBuffers_75d881156591f5da(arg0) {
1354
+ const ret = arg0.maxVertexBuffers;
1355
+ return ret;
1356
+ }
1357
+ export function __wbg_message_2aad50368e15e8f1(arg0, arg1) {
1358
+ const ret = arg1.message;
1359
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1360
+ const len1 = WASM_VECTOR_LEN;
1361
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1362
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1363
+ }
1364
+ export function __wbg_minStorageBufferOffsetAlignment_5ba9b77792bdadb3(arg0) {
1365
+ const ret = arg0.minStorageBufferOffsetAlignment;
1366
+ return ret;
1367
+ }
1368
+ export function __wbg_minUniformBufferOffsetAlignment_ab7d52a5293b22bd(arg0) {
1369
+ const ret = arg0.minUniformBufferOffsetAlignment;
1370
+ return ret;
1371
+ }
1372
+ export function __wbg_navigator_2156486643462a87(arg0) {
1373
+ const ret = arg0.navigator;
1374
+ return ret;
1375
+ }
1376
+ export function __wbg_navigator_c9bce48d4b578c9c(arg0) {
1377
+ const ret = arg0.navigator;
1378
+ return ret;
1379
+ }
1380
+ export function __wbg_new_227d7c05414eb861() {
1381
+ const ret = new Error();
1382
+ return ret;
1383
+ }
1384
+ export function __wbg_new_617a8cdb8bb1130e() {
1385
+ const ret = new Object();
1386
+ return ret;
1387
+ }
1388
+ export function __wbg_new_a217df4351db4b9b() { return handleError(function (arg0, arg1) {
1389
+ const ret = new OffscreenCanvas(arg0 >>> 0, arg1 >>> 0);
1390
+ return ret;
1391
+ }, arguments); }
1392
+ export function __wbg_new_ee2291f50781bf1d() {
1393
+ const ret = new Array();
1394
+ return ret;
1395
+ }
1396
+ export function __wbg_new_typed_689a3a281a8d4da6() {
1397
+ const ret = new Object();
1398
+ return ret;
1399
+ }
1400
+ export function __wbg_new_typed_b01cb72a8af741a3(arg0, arg1) {
1401
+ try {
1402
+ var state0 = {a: arg0, b: arg1};
1403
+ var cb0 = (arg0, arg1) => {
1404
+ const a = state0.a;
1405
+ state0.a = 0;
1406
+ try {
1407
+ return wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___js_sys_6167d347e6538eb4___Function_fn_wasm_bindgen_f7c23b969144d409___JsValue_____wasm_bindgen_f7c23b969144d409___sys__Undefined___js_sys_6167d347e6538eb4___Function_fn_wasm_bindgen_f7c23b969144d409___JsValue_____wasm_bindgen_f7c23b969144d409___sys__Undefined_______true_(a, state0.b, arg0, arg1);
1408
+ } finally {
1409
+ state0.a = a;
1410
+ }
1411
+ };
1412
+ const ret = new Promise(cb0);
1413
+ return ret;
1414
+ } finally {
1415
+ state0.a = 0;
1416
+ }
1417
+ }
1418
+ export function __wbg_new_with_byte_offset_and_length_2f5d7fc2a828b74d(arg0, arg1, arg2) {
1419
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1420
+ return ret;
1421
+ }
1422
+ export function __wbg_of_d5dbecdc59e02e34(arg0) {
1423
+ const ret = Array.of(arg0);
1424
+ return ret;
1425
+ }
1426
+ export function __wbg_onSubmittedWorkDone_1190213cee1ecf7e(arg0) {
1427
+ const ret = arg0.onSubmittedWorkDone();
1428
+ return ret;
1429
+ }
1430
+ export function __wbg_pixelStorei_af18e636b3e7b725(arg0, arg1, arg2) {
1431
+ arg0.pixelStorei(arg1 >>> 0, arg2);
1432
+ }
1433
+ export function __wbg_pixelStorei_cb4e43466f5b8703(arg0, arg1, arg2) {
1434
+ arg0.pixelStorei(arg1 >>> 0, arg2);
1435
+ }
1436
+ export function __wbg_polygonOffset_81dc8ca84e29572b(arg0, arg1, arg2) {
1437
+ arg0.polygonOffset(arg1, arg2);
1438
+ }
1439
+ export function __wbg_polygonOffset_8f922d9173d8849d(arg0, arg1, arg2) {
1440
+ arg0.polygonOffset(arg1, arg2);
1441
+ }
1442
+ export function __wbg_prototypesetcall_bc27214492979395(arg0, arg1, arg2) {
1443
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1444
+ }
1445
+ export function __wbg_push_2baf45db356cf468(arg0, arg1) {
1446
+ const ret = arg0.push(arg1);
1447
+ return ret;
1448
+ }
1449
+ export function __wbg_queryCounterEXT_9016a6ffa350b4b2(arg0, arg1, arg2) {
1450
+ arg0.queryCounterEXT(arg1, arg2 >>> 0);
1451
+ }
1452
+ export function __wbg_querySelectorAll_6aebfe3df1fb2014() { return handleError(function (arg0, arg1, arg2) {
1453
+ const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
1454
+ return ret;
1455
+ }, arguments); }
1456
+ export function __wbg_querySelector_ecbc2550705b235f() { return handleError(function (arg0, arg1, arg2) {
1457
+ const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
1458
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1459
+ }, arguments); }
1460
+ export function __wbg_queueMicrotask_9833f9a49df95a49(arg0) {
1461
+ const ret = arg0.queueMicrotask;
1462
+ return ret;
1463
+ }
1464
+ export function __wbg_queueMicrotask_a72f977e97f23c5f(arg0) {
1465
+ queueMicrotask(arg0);
1466
+ }
1467
+ export function __wbg_queue_7b62c28143d44293(arg0) {
1468
+ const ret = arg0.queue;
1469
+ return ret;
1470
+ }
1471
+ export function __wbg_readBuffer_b5d9a34a2f3d20d5(arg0, arg1) {
1472
+ arg0.readBuffer(arg1 >>> 0);
1473
+ }
1474
+ export function __wbg_readPixels_31e44e70558ac590() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1475
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
1476
+ }, arguments); }
1477
+ export function __wbg_readPixels_3321086a7818a739() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1478
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
1479
+ }, arguments); }
1480
+ export function __wbg_readPixels_eb030cd9976eeca5() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1481
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
1482
+ }, arguments); }
1483
+ export function __wbg_renderbufferStorageMultisample_ed16f3ef446e3bc7(arg0, arg1, arg2, arg3, arg4, arg5) {
1484
+ arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
1485
+ }
1486
+ export function __wbg_renderbufferStorage_52b131bbf3112b3a(arg0, arg1, arg2, arg3, arg4) {
1487
+ arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
1488
+ }
1489
+ export function __wbg_renderbufferStorage_bca487b0dea425b8(arg0, arg1, arg2, arg3, arg4) {
1490
+ arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
1491
+ }
1492
+ export function __wbg_requestAdapter_a539af006419f2e9(arg0, arg1) {
1493
+ const ret = arg0.requestAdapter(arg1);
1494
+ return ret;
1495
+ }
1496
+ export function __wbg_requestAdapter_b35b01d9a8802935(arg0) {
1497
+ const ret = arg0.requestAdapter();
1498
+ return ret;
1499
+ }
1500
+ export function __wbg_requestDevice_5cb8a582e55d08cb(arg0, arg1) {
1501
+ const ret = arg0.requestDevice(arg1);
1502
+ return ret;
1503
+ }
1504
+ export function __wbg_resolve_0076e10020304ede(arg0) {
1505
+ const ret = Promise.resolve(arg0);
1506
+ return ret;
1507
+ }
1508
+ export function __wbg_samplerParameterf_2d62cb907392e2d6(arg0, arg1, arg2, arg3) {
1509
+ arg0.samplerParameterf(arg1, arg2 >>> 0, arg3);
1510
+ }
1511
+ export function __wbg_samplerParameteri_a5615e67ed0b654b(arg0, arg1, arg2, arg3) {
1512
+ arg0.samplerParameteri(arg1, arg2 >>> 0, arg3);
1513
+ }
1514
+ export function __wbg_scissor_12ddc324094acd50(arg0, arg1, arg2, arg3, arg4) {
1515
+ arg0.scissor(arg1, arg2, arg3, arg4);
1516
+ }
1517
+ export function __wbg_scissor_a9468482697c2bdb(arg0, arg1, arg2, arg3, arg4) {
1518
+ arg0.scissor(arg1, arg2, arg3, arg4);
1519
+ }
1520
+ export function __wbg_setBindGroup_11bdbb60cc8b54b9() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1521
+ arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
1522
+ }, arguments); }
1523
+ export function __wbg_setBindGroup_418c3e0eb6943ce0(arg0, arg1, arg2) {
1524
+ arg0.setBindGroup(arg1 >>> 0, arg2);
1525
+ }
1526
+ export function __wbg_setPipeline_b6f981027e02cd16(arg0, arg1) {
1527
+ arg0.setPipeline(arg1);
1528
+ }
1529
+ export function __wbg_setVertexBuffer_6db3b60e99280744(arg0, arg1, arg2, arg3) {
1530
+ arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
1531
+ }
1532
+ export function __wbg_setVertexBuffer_cbf4ca1627c02f4c(arg0, arg1, arg2, arg3, arg4) {
1533
+ arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
1534
+ }
1535
+ export function __wbg_set_145a351398b48c65() { return handleError(function (arg0, arg1, arg2) {
1536
+ const ret = Reflect.set(arg0, arg1, arg2);
1537
+ return ret;
1538
+ }, arguments); }
1539
+ export function __wbg_set_34d08fd992d43d61(arg0, arg1, arg2) {
1540
+ arg0.set(arg1, arg2 >>> 0);
1541
+ }
1542
+ export function __wbg_set_a_82818effc94f6256(arg0, arg1) {
1543
+ arg0.a = arg1;
1544
+ }
1545
+ export function __wbg_set_access_a099cfbbeec9b96f(arg0, arg1) {
1546
+ arg0.access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
1547
+ }
1548
+ export function __wbg_set_address_mode_u_a68737cf5d288f95(arg0, arg1) {
1549
+ arg0.addressModeU = __wbindgen_enum_GpuAddressMode[arg1];
1550
+ }
1551
+ export function __wbg_set_address_mode_v_b1c3c45933f540d1(arg0, arg1) {
1552
+ arg0.addressModeV = __wbindgen_enum_GpuAddressMode[arg1];
1553
+ }
1554
+ export function __wbg_set_address_mode_w_889c31cf7022c764(arg0, arg1) {
1555
+ arg0.addressModeW = __wbindgen_enum_GpuAddressMode[arg1];
1556
+ }
1557
+ export function __wbg_set_alpha_106f21a936a85eba(arg0, arg1) {
1558
+ arg0.alpha = arg1;
1559
+ }
1560
+ export function __wbg_set_alpha_mode_5544568dbac50280(arg0, arg1) {
1561
+ arg0.alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
1562
+ }
1563
+ export function __wbg_set_alpha_to_coverage_enabled_3372ce329447b8f1(arg0, arg1) {
1564
+ arg0.alphaToCoverageEnabled = arg1 !== 0;
1565
+ }
1566
+ export function __wbg_set_array_layer_count_22afa0a979e4ad55(arg0, arg1) {
1567
+ arg0.arrayLayerCount = arg1 >>> 0;
1568
+ }
1569
+ export function __wbg_set_array_stride_f64_6816040e5e7598c3(arg0, arg1) {
1570
+ arg0.arrayStride = arg1;
1571
+ }
1572
+ export function __wbg_set_aspect_a48d046965270281(arg0, arg1) {
1573
+ arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
1574
+ }
1575
+ export function __wbg_set_aspect_b1a9909bf315433f(arg0, arg1) {
1576
+ arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
1577
+ }
1578
+ export function __wbg_set_attributes_9e38cb1dde387a5b(arg0, arg1, arg2) {
1579
+ arg0.attributes = getArrayJsValueViewFromWasm0(arg1, arg2);
1580
+ }
1581
+ export function __wbg_set_b_a3297ee7e7cac3a8(arg0, arg1) {
1582
+ arg0.b = arg1;
1583
+ }
1584
+ export function __wbg_set_base_array_layer_2435ba92c80346ae(arg0, arg1) {
1585
+ arg0.baseArrayLayer = arg1 >>> 0;
1586
+ }
1587
+ export function __wbg_set_base_mip_level_8b6093e875e7c65d(arg0, arg1) {
1588
+ arg0.baseMipLevel = arg1 >>> 0;
1589
+ }
1590
+ export function __wbg_set_beginning_of_pass_write_index_e552c5e8b8bbf52f(arg0, arg1) {
1591
+ arg0.beginningOfPassWriteIndex = arg1 >>> 0;
1592
+ }
1593
+ export function __wbg_set_bind_group_layouts_458c44ba55100b82(arg0, arg1, arg2) {
1594
+ arg0.bindGroupLayouts = getArrayJsValueViewFromWasm0(arg1, arg2);
1595
+ }
1596
+ export function __wbg_set_binding_81b3fac7f7acaf8d(arg0, arg1) {
1597
+ arg0.binding = arg1 >>> 0;
1598
+ }
1599
+ export function __wbg_set_binding_b6cee57f35ac5190(arg0, arg1) {
1600
+ arg0.binding = arg1 >>> 0;
1601
+ }
1602
+ export function __wbg_set_blend_1a801617945f7945(arg0, arg1) {
1603
+ arg0.blend = arg1;
1604
+ }
1605
+ export function __wbg_set_buffer_1548ae88a9188037(arg0, arg1) {
1606
+ arg0.buffer = arg1;
1607
+ }
1608
+ export function __wbg_set_buffer_8d0ac64ad20dfc84(arg0, arg1) {
1609
+ arg0.buffer = arg1;
1610
+ }
1611
+ export function __wbg_set_buffer_910a40a90f97cfca(arg0, arg1) {
1612
+ arg0.buffer = arg1;
1613
+ }
1614
+ export function __wbg_set_buffers_5d0e0c50791f710e(arg0, arg1, arg2) {
1615
+ arg0.buffers = getArrayJsValueViewFromWasm0(arg1, arg2);
1616
+ }
1617
+ export function __wbg_set_bytes_per_row_1e824a5502b54b3d(arg0, arg1) {
1618
+ arg0.bytesPerRow = arg1 >>> 0;
1619
+ }
1620
+ export function __wbg_set_bytes_per_row_c28583f0063160f1(arg0, arg1) {
1621
+ arg0.bytesPerRow = arg1 >>> 0;
1622
+ }
1623
+ export function __wbg_set_clear_value_gpu_color_dict_a9f763e8372ac1de(arg0, arg1) {
1624
+ arg0.clearValue = arg1;
1625
+ }
1626
+ export function __wbg_set_code_5d5b0b9e2fd0dca7(arg0, arg1, arg2) {
1627
+ arg0.code = getStringFromWasm0(arg1, arg2);
1628
+ }
1629
+ export function __wbg_set_color_8ecace4011f47d2e(arg0, arg1) {
1630
+ arg0.color = arg1;
1631
+ }
1632
+ export function __wbg_set_color_attachments_622fe2d5997fda7a(arg0, arg1, arg2) {
1633
+ arg0.colorAttachments = getArrayJsValueViewFromWasm0(arg1, arg2);
1634
+ }
1635
+ export function __wbg_set_compare_080c9e492ff36990(arg0, arg1) {
1636
+ arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
1637
+ }
1638
+ export function __wbg_set_compare_817cf3695599eaa6(arg0, arg1) {
1639
+ arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
1640
+ }
1641
+ export function __wbg_set_count_8ff0c9474e39a849(arg0, arg1) {
1642
+ arg0.count = arg1 >>> 0;
1643
+ }
1644
+ export function __wbg_set_cull_mode_85d2b4ab0ce3a564(arg0, arg1) {
1645
+ arg0.cullMode = __wbindgen_enum_GpuCullMode[arg1];
1646
+ }
1647
+ export function __wbg_set_depth_bias_95abf479cae3f3cd(arg0, arg1) {
1648
+ arg0.depthBias = arg1;
1649
+ }
1650
+ export function __wbg_set_depth_bias_clamp_ba3d0b8348151350(arg0, arg1) {
1651
+ arg0.depthBiasClamp = arg1;
1652
+ }
1653
+ export function __wbg_set_depth_bias_slope_scale_6b2584d93f5b9cd2(arg0, arg1) {
1654
+ arg0.depthBiasSlopeScale = arg1;
1655
+ }
1656
+ export function __wbg_set_depth_clear_value_e30a4c754c6b3b26(arg0, arg1) {
1657
+ arg0.depthClearValue = arg1;
1658
+ }
1659
+ export function __wbg_set_depth_compare_a90de4e3714397ab(arg0, arg1) {
1660
+ arg0.depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
1661
+ }
1662
+ export function __wbg_set_depth_fail_op_b5c64541d1b6b482(arg0, arg1) {
1663
+ arg0.depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
1664
+ }
1665
+ export function __wbg_set_depth_load_op_932888016d762d3e(arg0, arg1) {
1666
+ arg0.depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
1667
+ }
1668
+ export function __wbg_set_depth_or_array_layers_e2f074a0284e4806(arg0, arg1) {
1669
+ arg0.depthOrArrayLayers = arg1 >>> 0;
1670
+ }
1671
+ export function __wbg_set_depth_read_only_be790175a1c2db9a(arg0, arg1) {
1672
+ arg0.depthReadOnly = arg1 !== 0;
1673
+ }
1674
+ export function __wbg_set_depth_stencil_attachment_54a8922f5fbe08bf(arg0, arg1) {
1675
+ arg0.depthStencilAttachment = arg1;
1676
+ }
1677
+ export function __wbg_set_depth_stencil_b7cffc59ad4da529(arg0, arg1) {
1678
+ arg0.depthStencil = arg1;
1679
+ }
1680
+ export function __wbg_set_depth_store_op_9054814f164ab55d(arg0, arg1) {
1681
+ arg0.depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
1682
+ }
1683
+ export function __wbg_set_depth_write_enabled_31a821ee1fb3b0b3(arg0, arg1) {
1684
+ arg0.depthWriteEnabled = arg1 !== 0;
1685
+ }
1686
+ export function __wbg_set_device_210484a77b675c9c(arg0, arg1) {
1687
+ arg0.device = arg1;
1688
+ }
1689
+ export function __wbg_set_dimension_3da9d03131a9f446(arg0, arg1) {
1690
+ arg0.dimension = __wbindgen_enum_GpuTextureDimension[arg1];
1691
+ }
1692
+ export function __wbg_set_dimension_56332450afa3e0c0(arg0, arg1) {
1693
+ arg0.dimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
1694
+ }
1695
+ export function __wbg_set_dst_factor_865ba9aaf187890c(arg0, arg1) {
1696
+ arg0.dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
1697
+ }
1698
+ export function __wbg_set_end_of_pass_write_index_8f164f9e60d4ad16(arg0, arg1) {
1699
+ arg0.endOfPassWriteIndex = arg1 >>> 0;
1700
+ }
1701
+ export function __wbg_set_entries_6f866302103b81e9(arg0, arg1, arg2) {
1702
+ arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
1703
+ }
1704
+ export function __wbg_set_entries_f26b77ab9548e906(arg0, arg1, arg2) {
1705
+ arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
1706
+ }
1707
+ export function __wbg_set_entry_point_71cef95c137b5774(arg0, arg1, arg2) {
1708
+ arg0.entryPoint = getStringFromWasm0(arg1, arg2);
1709
+ }
1710
+ export function __wbg_set_entry_point_b70f98f5025a114d(arg0, arg1, arg2) {
1711
+ arg0.entryPoint = getStringFromWasm0(arg1, arg2);
1712
+ }
1713
+ export function __wbg_set_external_texture_7f966c604c4f8098(arg0, arg1) {
1714
+ arg0.externalTexture = arg1;
1715
+ }
1716
+ export function __wbg_set_fail_op_d59d0187e4111dfe(arg0, arg1) {
1717
+ arg0.failOp = __wbindgen_enum_GpuStencilOperation[arg1];
1718
+ }
1719
+ export function __wbg_set_format_23f7f32549751d43(arg0, arg1) {
1720
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1721
+ }
1722
+ export function __wbg_set_format_283dca56552f07a3(arg0, arg1) {
1723
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1724
+ }
1725
+ export function __wbg_set_format_5080a858117ad2c1(arg0, arg1) {
1726
+ arg0.format = __wbindgen_enum_GpuVertexFormat[arg1];
1727
+ }
1728
+ export function __wbg_set_format_66735b94bd868ba2(arg0, arg1) {
1729
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1730
+ }
1731
+ export function __wbg_set_format_7f2bdbfb101b1ae1(arg0, arg1) {
1732
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1733
+ }
1734
+ export function __wbg_set_format_92732ea75d3b79f5(arg0, arg1) {
1735
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1736
+ }
1737
+ export function __wbg_set_format_f009e603f7d4c28e(arg0, arg1) {
1738
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1739
+ }
1740
+ export function __wbg_set_fragment_d2b0ec97d7cf8d47(arg0, arg1) {
1741
+ arg0.fragment = arg1;
1742
+ }
1743
+ export function __wbg_set_front_face_d3f8a2e07e7b25dd(arg0, arg1) {
1744
+ arg0.frontFace = __wbindgen_enum_GpuFrontFace[arg1];
1745
+ }
1746
+ export function __wbg_set_g_b527ee8a9bed553d(arg0, arg1) {
1747
+ arg0.g = arg1;
1748
+ }
1749
+ export function __wbg_set_has_dynamic_offset_0c72ffa900c5a269(arg0, arg1) {
1750
+ arg0.hasDynamicOffset = arg1 !== 0;
1751
+ }
1752
+ export function __wbg_set_height_c9789c1c77eaedff(arg0, arg1) {
1753
+ arg0.height = arg1 >>> 0;
1754
+ }
1755
+ export function __wbg_set_height_f6619158e5735877(arg0, arg1) {
1756
+ arg0.height = arg1 >>> 0;
1757
+ }
1758
+ export function __wbg_set_height_fde391767df1ce27(arg0, arg1) {
1759
+ arg0.height = arg1 >>> 0;
1760
+ }
1761
+ export function __wbg_set_label_17202740051e9722(arg0, arg1, arg2) {
1762
+ arg0.label = getStringFromWasm0(arg1, arg2);
1763
+ }
1764
+ export function __wbg_set_label_2fefb39c0e0dbbe8(arg0, arg1, arg2) {
1765
+ arg0.label = getStringFromWasm0(arg1, arg2);
1766
+ }
1767
+ export function __wbg_set_label_3cb2322e6f6db14c(arg0, arg1, arg2) {
1768
+ arg0.label = getStringFromWasm0(arg1, arg2);
1769
+ }
1770
+ export function __wbg_set_label_3f2ccaafef5ff7c9(arg0, arg1, arg2) {
1771
+ arg0.label = getStringFromWasm0(arg1, arg2);
1772
+ }
1773
+ export function __wbg_set_label_612add98a4398f92(arg0, arg1, arg2) {
1774
+ arg0.label = getStringFromWasm0(arg1, arg2);
1775
+ }
1776
+ export function __wbg_set_label_70a09ee68d6b1b26(arg0, arg1, arg2) {
1777
+ arg0.label = getStringFromWasm0(arg1, arg2);
1778
+ }
1779
+ export function __wbg_set_label_92cd3811e96b487c(arg0, arg1, arg2) {
1780
+ arg0.label = getStringFromWasm0(arg1, arg2);
1781
+ }
1782
+ export function __wbg_set_label_9c2a186152427ee0(arg0, arg1, arg2) {
1783
+ arg0.label = getStringFromWasm0(arg1, arg2);
1784
+ }
1785
+ export function __wbg_set_label_c3eaf136aa464cba(arg0, arg1, arg2) {
1786
+ arg0.label = getStringFromWasm0(arg1, arg2);
1787
+ }
1788
+ export function __wbg_set_label_c7987704d29f284b(arg0, arg1, arg2) {
1789
+ arg0.label = getStringFromWasm0(arg1, arg2);
1790
+ }
1791
+ export function __wbg_set_label_cfe64bca8945ee30(arg0, arg1, arg2) {
1792
+ arg0.label = getStringFromWasm0(arg1, arg2);
1793
+ }
1794
+ export function __wbg_set_label_e02179cf97e95763(arg0, arg1, arg2) {
1795
+ arg0.label = getStringFromWasm0(arg1, arg2);
1796
+ }
1797
+ export function __wbg_set_label_ee172cd5f6a96961(arg0, arg1, arg2) {
1798
+ arg0.label = getStringFromWasm0(arg1, arg2);
1799
+ }
1800
+ export function __wbg_set_layout_454e3a091b390cd4(arg0, arg1) {
1801
+ arg0.layout = arg1;
1802
+ }
1803
+ export function __wbg_set_layout_75dc1ca3f2421cff(arg0, arg1) {
1804
+ arg0.layout = arg1;
1805
+ }
1806
+ export function __wbg_set_layout_gpu_auto_layout_mode_06a2b95af1043098(arg0, arg1) {
1807
+ arg0.layout = __wbindgen_enum_GpuAutoLayoutMode[arg1];
1808
+ }
1809
+ export function __wbg_set_load_op_c56b1269acc2d51f(arg0, arg1) {
1810
+ arg0.loadOp = __wbindgen_enum_GpuLoadOp[arg1];
1811
+ }
1812
+ export function __wbg_set_lod_max_clamp_db24179f67f3aa31(arg0, arg1) {
1813
+ arg0.lodMaxClamp = arg1;
1814
+ }
1815
+ export function __wbg_set_lod_min_clamp_2bbce566e9fefa04(arg0, arg1) {
1816
+ arg0.lodMinClamp = arg1;
1817
+ }
1818
+ export function __wbg_set_mag_filter_db8e6b42d4f8846d(arg0, arg1) {
1819
+ arg0.magFilter = __wbindgen_enum_GpuFilterMode[arg1];
1820
+ }
1821
+ export function __wbg_set_mapped_at_creation_3f320fef6761b02c(arg0, arg1) {
1822
+ arg0.mappedAtCreation = arg1 !== 0;
1823
+ }
1824
+ export function __wbg_set_mask_c1079e551ec360dc(arg0, arg1) {
1825
+ arg0.mask = arg1 >>> 0;
1826
+ }
1827
+ export function __wbg_set_max_anisotropy_84749fdcec362dc4(arg0, arg1) {
1828
+ arg0.maxAnisotropy = arg1;
1829
+ }
1830
+ export function __wbg_set_min_binding_size_f64_897e3cd4496ddec9(arg0, arg1) {
1831
+ arg0.minBindingSize = arg1;
1832
+ }
1833
+ export function __wbg_set_min_filter_d435bbfc5a637757(arg0, arg1) {
1834
+ arg0.minFilter = __wbindgen_enum_GpuFilterMode[arg1];
1835
+ }
1836
+ export function __wbg_set_mip_level_count_047936c630acee7b(arg0, arg1) {
1837
+ arg0.mipLevelCount = arg1 >>> 0;
1838
+ }
1839
+ export function __wbg_set_mip_level_count_44bc46a1ae6f6daa(arg0, arg1) {
1840
+ arg0.mipLevelCount = arg1 >>> 0;
1841
+ }
1842
+ export function __wbg_set_mip_level_f3745730372683d5(arg0, arg1) {
1843
+ arg0.mipLevel = arg1 >>> 0;
1844
+ }
1845
+ export function __wbg_set_mipmap_filter_62fb49a84b0747ff(arg0, arg1) {
1846
+ arg0.mipmapFilter = __wbindgen_enum_GpuMipmapFilterMode[arg1];
1847
+ }
1848
+ export function __wbg_set_mode_7edfbc344ef9c650(arg0, arg1) {
1849
+ arg0.mode = __wbindgen_enum_GpuCanvasToneMappingMode[arg1];
1850
+ }
1851
+ export function __wbg_set_module_392eeaa269f203b0(arg0, arg1) {
1852
+ arg0.module = arg1;
1853
+ }
1854
+ export function __wbg_set_module_715d37652c4998ec(arg0, arg1) {
1855
+ arg0.module = arg1;
1856
+ }
1857
+ export function __wbg_set_multisample_ff72a7a5456cbeb7(arg0, arg1) {
1858
+ arg0.multisample = arg1;
1859
+ }
1860
+ export function __wbg_set_multisampled_039f032dc4b67367(arg0, arg1) {
1861
+ arg0.multisampled = arg1 !== 0;
1862
+ }
1863
+ export function __wbg_set_offset_f64_127e8a0aa5c5485a(arg0, arg1) {
1864
+ arg0.offset = arg1;
1865
+ }
1866
+ export function __wbg_set_offset_f64_457756429ede426d(arg0, arg1) {
1867
+ arg0.offset = arg1;
1868
+ }
1869
+ export function __wbg_set_offset_f64_a903425d5a8e5815(arg0, arg1) {
1870
+ arg0.offset = arg1;
1871
+ }
1872
+ export function __wbg_set_offset_f64_d1d115dd438165b5(arg0, arg1) {
1873
+ arg0.offset = arg1;
1874
+ }
1875
+ export function __wbg_set_onuncapturederror_bb813f1102da2296(arg0, arg1) {
1876
+ arg0.onuncapturederror = arg1;
1877
+ }
1878
+ export function __wbg_set_operation_00a77386523b88f9(arg0, arg1) {
1879
+ arg0.operation = __wbindgen_enum_GpuBlendOperation[arg1];
1880
+ }
1881
+ export function __wbg_set_origin_gpu_origin_3d_dict_0619d4860adb4eb6(arg0, arg1) {
1882
+ arg0.origin = arg1;
1883
+ }
1884
+ export function __wbg_set_pass_op_3cf10feb3d76ab97(arg0, arg1) {
1885
+ arg0.passOp = __wbindgen_enum_GpuStencilOperation[arg1];
1886
+ }
1887
+ export function __wbg_set_power_preference_b42d00a8facfbade(arg0, arg1) {
1888
+ arg0.powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
1889
+ }
1890
+ export function __wbg_set_primitive_e796cf76f0ff89f3(arg0, arg1) {
1891
+ arg0.primitive = arg1;
1892
+ }
1893
+ export function __wbg_set_query_set_f030702f1b69199f(arg0, arg1) {
1894
+ arg0.querySet = arg1;
1895
+ }
1896
+ export function __wbg_set_r_6ece4d74af63364f(arg0, arg1) {
1897
+ arg0.r = arg1;
1898
+ }
1899
+ export function __wbg_set_required_features_bbab71414c45e621(arg0, arg1, arg2) {
1900
+ arg0.requiredFeatures = getArrayJsValueViewFromWasm0(arg1, arg2);
1901
+ }
1902
+ export function __wbg_set_required_limits_837f62d865e7cfac(arg0, arg1) {
1903
+ arg0.requiredLimits = arg1;
1904
+ }
1905
+ export function __wbg_set_resolve_target_gpu_texture_view_e4c1e3bbb8c27d87(arg0, arg1) {
1906
+ arg0.resolveTarget = arg1;
1907
+ }
1908
+ export function __wbg_set_resource_8fd8658b30d86ecf(arg0, arg1) {
1909
+ arg0.resource = arg1;
1910
+ }
1911
+ export function __wbg_set_resource_gpu_buffer_binding_33099b25da65b610(arg0, arg1) {
1912
+ arg0.resource = arg1;
1913
+ }
1914
+ export function __wbg_set_resource_gpu_texture_view_4cffe7bc7c8e5cbe(arg0, arg1) {
1915
+ arg0.resource = arg1;
1916
+ }
1917
+ export function __wbg_set_rows_per_image_c6d50d227e634379(arg0, arg1) {
1918
+ arg0.rowsPerImage = arg1 >>> 0;
1919
+ }
1920
+ export function __wbg_set_rows_per_image_deb456502f23c260(arg0, arg1) {
1921
+ arg0.rowsPerImage = arg1 >>> 0;
1922
+ }
1923
+ export function __wbg_set_sample_count_481c255a12054e1d(arg0, arg1) {
1924
+ arg0.sampleCount = arg1 >>> 0;
1925
+ }
1926
+ export function __wbg_set_sample_type_ebc5fcd029513bda(arg0, arg1) {
1927
+ arg0.sampleType = __wbindgen_enum_GpuTextureSampleType[arg1];
1928
+ }
1929
+ export function __wbg_set_sampler_89cb4a7efcfc6005(arg0, arg1) {
1930
+ arg0.sampler = arg1;
1931
+ }
1932
+ export function __wbg_set_shader_location_3fb9f6a012eba494(arg0, arg1) {
1933
+ arg0.shaderLocation = arg1 >>> 0;
1934
+ }
1935
+ export function __wbg_set_size_f64_2f591b0654540477(arg0, arg1) {
1936
+ arg0.size = arg1;
1937
+ }
1938
+ export function __wbg_set_size_f64_e844c985b8f95261(arg0, arg1) {
1939
+ arg0.size = arg1;
1940
+ }
1941
+ export function __wbg_set_size_gpu_extent_3d_dict_adf57388ab1d4f18(arg0, arg1) {
1942
+ arg0.size = arg1;
1943
+ }
1944
+ export function __wbg_set_src_factor_6f2c9ec8e4d3d979(arg0, arg1) {
1945
+ arg0.srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
1946
+ }
1947
+ export function __wbg_set_stencil_back_c54d0443b8b6a957(arg0, arg1) {
1948
+ arg0.stencilBack = arg1;
1949
+ }
1950
+ export function __wbg_set_stencil_clear_value_a321b0e045bfd8c2(arg0, arg1) {
1951
+ arg0.stencilClearValue = arg1 >>> 0;
1952
+ }
1953
+ export function __wbg_set_stencil_front_3ff3f8385852efff(arg0, arg1) {
1954
+ arg0.stencilFront = arg1;
1955
+ }
1956
+ export function __wbg_set_stencil_load_op_37d20deccb26a0f1(arg0, arg1) {
1957
+ arg0.stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
1958
+ }
1959
+ export function __wbg_set_stencil_read_mask_021ef4271b24352c(arg0, arg1) {
1960
+ arg0.stencilReadMask = arg1 >>> 0;
1961
+ }
1962
+ export function __wbg_set_stencil_read_only_75fe66a2356d6e92(arg0, arg1) {
1963
+ arg0.stencilReadOnly = arg1 !== 0;
1964
+ }
1965
+ export function __wbg_set_stencil_store_op_501f91638dd386e6(arg0, arg1) {
1966
+ arg0.stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
1967
+ }
1968
+ export function __wbg_set_stencil_write_mask_ec1c12237e094bdd(arg0, arg1) {
1969
+ arg0.stencilWriteMask = arg1 >>> 0;
1970
+ }
1971
+ export function __wbg_set_step_mode_3cbbdeba1e5dfd62(arg0, arg1) {
1972
+ arg0.stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
1973
+ }
1974
+ export function __wbg_set_storage_texture_786aea7c5773b6c1(arg0, arg1) {
1975
+ arg0.storageTexture = arg1;
1976
+ }
1977
+ export function __wbg_set_store_op_678f33376d741711(arg0, arg1) {
1978
+ arg0.storeOp = __wbindgen_enum_GpuStoreOp[arg1];
1979
+ }
1980
+ export function __wbg_set_strip_index_format_70313df755145d5e(arg0, arg1) {
1981
+ arg0.stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
1982
+ }
1983
+ export function __wbg_set_targets_674b33931e512fb1(arg0, arg1, arg2) {
1984
+ arg0.targets = getArrayJsValueViewFromWasm0(arg1, arg2);
1985
+ }
1986
+ export function __wbg_set_texture_95f2bfdf7767e76f(arg0, arg1) {
1987
+ arg0.texture = arg1;
1988
+ }
1989
+ export function __wbg_set_texture_a33be3fe02ac6264(arg0, arg1) {
1990
+ arg0.texture = arg1;
1991
+ }
1992
+ export function __wbg_set_timestamp_writes_de6a09f299b71b76(arg0, arg1) {
1993
+ arg0.timestampWrites = arg1;
1994
+ }
1995
+ export function __wbg_set_tone_mapping_320c1aad31db2e7f(arg0, arg1) {
1996
+ arg0.toneMapping = arg1;
1997
+ }
1998
+ export function __wbg_set_topology_b92cfe523bd9653b(arg0, arg1) {
1999
+ arg0.topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
2000
+ }
2001
+ export function __wbg_set_type_43e0092f16775979(arg0, arg1) {
2002
+ arg0.type = __wbindgen_enum_GpuSamplerBindingType[arg1];
2003
+ }
2004
+ export function __wbg_set_type_79cec55caf4cdb6d(arg0, arg1) {
2005
+ arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
2006
+ }
2007
+ export function __wbg_set_unclipped_depth_32b7caf29fa5633d(arg0, arg1) {
2008
+ arg0.unclippedDepth = arg1 !== 0;
2009
+ }
2010
+ export function __wbg_set_usage_1ee33d98267e787d(arg0, arg1) {
2011
+ arg0.usage = arg1 >>> 0;
2012
+ }
2013
+ export function __wbg_set_usage_2365e2704b1fdb10(arg0, arg1) {
2014
+ arg0.usage = arg1 >>> 0;
2015
+ }
2016
+ export function __wbg_set_usage_d53ee6f0c7aedbfa(arg0, arg1) {
2017
+ arg0.usage = arg1 >>> 0;
2018
+ }
2019
+ export function __wbg_set_usage_f3e34822998d2147(arg0, arg1) {
2020
+ arg0.usage = arg1 >>> 0;
2021
+ }
2022
+ export function __wbg_set_vertex_77ed7a1229239b5a(arg0, arg1) {
2023
+ arg0.vertex = arg1;
2024
+ }
2025
+ export function __wbg_set_view_dimension_893e2d16561e56e8(arg0, arg1) {
2026
+ arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
2027
+ }
2028
+ export function __wbg_set_view_dimension_f2c5fe4bf927c3fe(arg0, arg1) {
2029
+ arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
2030
+ }
2031
+ export function __wbg_set_view_formats_427069064d8b7139(arg0, arg1, arg2) {
2032
+ arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
2033
+ }
2034
+ export function __wbg_set_view_formats_9c2f01a6f3b365c7(arg0, arg1, arg2) {
2035
+ arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
2036
+ }
2037
+ export function __wbg_set_view_gpu_texture_view_35f4655788535c4d(arg0, arg1) {
2038
+ arg0.view = arg1;
2039
+ }
2040
+ export function __wbg_set_view_gpu_texture_view_a532c825c52042c0(arg0, arg1) {
2041
+ arg0.view = arg1;
2042
+ }
2043
+ export function __wbg_set_visibility_d8a6821789538c25(arg0, arg1) {
2044
+ arg0.visibility = arg1 >>> 0;
2045
+ }
2046
+ export function __wbg_set_width_0ca908d167690992(arg0, arg1) {
2047
+ arg0.width = arg1 >>> 0;
2048
+ }
2049
+ export function __wbg_set_width_b0e1267db4b196b5(arg0, arg1) {
2050
+ arg0.width = arg1 >>> 0;
2051
+ }
2052
+ export function __wbg_set_width_b20525f5f4df4eb8(arg0, arg1) {
2053
+ arg0.width = arg1 >>> 0;
2054
+ }
2055
+ export function __wbg_set_write_mask_42d89f182ade6b2d(arg0, arg1) {
2056
+ arg0.writeMask = arg1 >>> 0;
2057
+ }
2058
+ export function __wbg_set_x_f470b03dd54724cd(arg0, arg1) {
2059
+ arg0.x = arg1 >>> 0;
2060
+ }
2061
+ export function __wbg_set_y_4c44eb40ebca5bfc(arg0, arg1) {
2062
+ arg0.y = arg1 >>> 0;
2063
+ }
2064
+ export function __wbg_set_z_2e6820ef0f5821ed(arg0, arg1) {
2065
+ arg0.z = arg1 >>> 0;
2066
+ }
2067
+ export function __wbg_shaderSource_06379dac249994dd(arg0, arg1, arg2, arg3) {
2068
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
2069
+ }
2070
+ export function __wbg_shaderSource_c8812639b47d87b9(arg0, arg1, arg2, arg3) {
2071
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
2072
+ }
2073
+ export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
2074
+ const ret = arg1.stack;
2075
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2076
+ const len1 = WASM_VECTOR_LEN;
2077
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2078
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2079
+ }
2080
+ export function __wbg_static_accessor_GLOBAL_266715b9d96ba635() {
2081
+ const ret = typeof global === 'undefined' ? null : global;
2082
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2083
+ }
2084
+ export function __wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179() {
2085
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
2086
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2087
+ }
2088
+ export function __wbg_static_accessor_SELF_0b583911f537483a() {
2089
+ const ret = typeof self === 'undefined' ? null : self;
2090
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2091
+ }
2092
+ export function __wbg_static_accessor_WINDOW_d7f903d1508cbdc4() {
2093
+ const ret = typeof window === 'undefined' ? null : window;
2094
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2095
+ }
2096
+ export function __wbg_stencilFuncSeparate_3f31dcd12a0d4785(arg0, arg1, arg2, arg3, arg4) {
2097
+ arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
2098
+ }
2099
+ export function __wbg_stencilFuncSeparate_f168b66c597aa85f(arg0, arg1, arg2, arg3, arg4) {
2100
+ arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
2101
+ }
2102
+ export function __wbg_stencilMaskSeparate_b30c097ea6b98504(arg0, arg1, arg2) {
2103
+ arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
2104
+ }
2105
+ export function __wbg_stencilMaskSeparate_ff739f8711e9fd42(arg0, arg1, arg2) {
2106
+ arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
2107
+ }
2108
+ export function __wbg_stencilMask_9e18cc018897c747(arg0, arg1) {
2109
+ arg0.stencilMask(arg1 >>> 0);
2110
+ }
2111
+ export function __wbg_stencilMask_a22be64c66abd825(arg0, arg1) {
2112
+ arg0.stencilMask(arg1 >>> 0);
2113
+ }
2114
+ export function __wbg_stencilOpSeparate_7d01185cbdb89d99(arg0, arg1, arg2, arg3, arg4) {
2115
+ arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2116
+ }
2117
+ export function __wbg_stencilOpSeparate_c5af5f5dbd237bea(arg0, arg1, arg2, arg3, arg4) {
2118
+ arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2119
+ }
2120
+ export function __wbg_submit_077c85cc28e36892(arg0, arg1, arg2) {
2121
+ arg0.submit(getArrayJsValueViewFromWasm0(arg1, arg2));
2122
+ }
2123
+ export function __wbg_texImage2D_82bf2b4c8aa9a1db() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2124
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2125
+ }, arguments); }
2126
+ export function __wbg_texImage2D_a856af552acdc9d9() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2127
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2128
+ }, arguments); }
2129
+ export function __wbg_texImage2D_ca3d0fe24620ec85() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2130
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2131
+ }, arguments); }
2132
+ export function __wbg_texImage3D_29a847f33877ed12() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
2133
+ arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
2134
+ }, arguments); }
2135
+ export function __wbg_texImage3D_78fb39719c620063() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
2136
+ arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
2137
+ }, arguments); }
2138
+ export function __wbg_texParameteri_647fdb1426809cb5(arg0, arg1, arg2, arg3) {
2139
+ arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
2140
+ }
2141
+ export function __wbg_texParameteri_7864076abcdb03e0(arg0, arg1, arg2, arg3) {
2142
+ arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
2143
+ }
2144
+ export function __wbg_texStorage2D_cf2bd991072d9efb(arg0, arg1, arg2, arg3, arg4, arg5) {
2145
+ arg0.texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
2146
+ }
2147
+ export function __wbg_texStorage3D_74b701c2b176380c(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
2148
+ arg0.texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
2149
+ }
2150
+ export function __wbg_texSubImage2D_07337d0974e99c39() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2151
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2152
+ }, arguments); }
2153
+ export function __wbg_texSubImage2D_196472d4111ce5b6() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2154
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2155
+ }, arguments); }
2156
+ export function __wbg_texSubImage2D_24cf5097ebaa84cc() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2157
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2158
+ }, arguments); }
2159
+ export function __wbg_texSubImage2D_31a0c2797aa04f32() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2160
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2161
+ }, arguments); }
2162
+ export function __wbg_texSubImage2D_5e90c7a719d40256() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2163
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2164
+ }, arguments); }
2165
+ export function __wbg_texSubImage2D_64e36398b8f046ac() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2166
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2167
+ }, arguments); }
2168
+ export function __wbg_texSubImage2D_bb322aae90f7657f() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2169
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2170
+ }, arguments); }
2171
+ export function __wbg_texSubImage2D_d7bffff06a3b8315() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2172
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2173
+ }, arguments); }
2174
+ export function __wbg_texSubImage3D_001f2e62ed945b72() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2175
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2176
+ }, arguments); }
2177
+ export function __wbg_texSubImage3D_5143d5af7e182ddc() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2178
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2179
+ }, arguments); }
2180
+ export function __wbg_texSubImage3D_53c6014e2d129891() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2181
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2182
+ }, arguments); }
2183
+ export function __wbg_texSubImage3D_5d773fc7a8cd4d08() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2184
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2185
+ }, arguments); }
2186
+ export function __wbg_texSubImage3D_adb96e37e6949ec9() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2187
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2188
+ }, arguments); }
2189
+ export function __wbg_texSubImage3D_d4e74595e01f7f71() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2190
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2191
+ }, arguments); }
2192
+ export function __wbg_texSubImage3D_e0d113b7047a5130() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2193
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2194
+ }, arguments); }
2195
+ export function __wbg_then_c949d5a25a4e78f8(arg0, arg1, arg2) {
2196
+ const ret = arg0.then(arg1, arg2);
2197
+ return ret;
2198
+ }
2199
+ export function __wbg_then_e71170d78fcf8954(arg0, arg1) {
2200
+ const ret = arg0.then(arg1);
2201
+ return ret;
2202
+ }
2203
+ export function __wbg_unconfigure_835307f58dc68d80(arg0) {
2204
+ arg0.unconfigure();
2205
+ }
2206
+ export function __wbg_uniform1f_9cfecfaeb8cf43c1(arg0, arg1, arg2) {
2207
+ arg0.uniform1f(arg1, arg2);
2208
+ }
2209
+ export function __wbg_uniform1f_b5856e35a43b65a1(arg0, arg1, arg2) {
2210
+ arg0.uniform1f(arg1, arg2);
2211
+ }
2212
+ export function __wbg_uniform1i_531b98c4a7177366(arg0, arg1, arg2) {
2213
+ arg0.uniform1i(arg1, arg2);
2214
+ }
2215
+ export function __wbg_uniform1i_fc2dc8cadc49d8ec(arg0, arg1, arg2) {
2216
+ arg0.uniform1i(arg1, arg2);
2217
+ }
2218
+ export function __wbg_uniform1ui_353c67ec681b540c(arg0, arg1, arg2) {
2219
+ arg0.uniform1ui(arg1, arg2 >>> 0);
2220
+ }
2221
+ export function __wbg_uniform2fv_319c49f0ce340f26(arg0, arg1, arg2, arg3) {
2222
+ arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2223
+ }
2224
+ export function __wbg_uniform2fv_a7d3c1830d18c1b2(arg0, arg1, arg2, arg3) {
2225
+ arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2226
+ }
2227
+ export function __wbg_uniform2iv_65f36fc9777697d7(arg0, arg1, arg2, arg3) {
2228
+ arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2229
+ }
2230
+ export function __wbg_uniform2iv_ca9cb507409b9ad1(arg0, arg1, arg2, arg3) {
2231
+ arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2232
+ }
2233
+ export function __wbg_uniform2uiv_c95af5fb653ccb86(arg0, arg1, arg2, arg3) {
2234
+ arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
2235
+ }
2236
+ export function __wbg_uniform3fv_055ea5ac38af4fce(arg0, arg1, arg2, arg3) {
2237
+ arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2238
+ }
2239
+ export function __wbg_uniform3fv_58520ffe22a6e27c(arg0, arg1, arg2, arg3) {
2240
+ arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2241
+ }
2242
+ export function __wbg_uniform3iv_0590e8b7eff2a791(arg0, arg1, arg2, arg3) {
2243
+ arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2244
+ }
2245
+ export function __wbg_uniform3iv_e91b1410dc299f50(arg0, arg1, arg2, arg3) {
2246
+ arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2247
+ }
2248
+ export function __wbg_uniform3uiv_9992491000463a52(arg0, arg1, arg2, arg3) {
2249
+ arg0.uniform3uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
2250
+ }
2251
+ export function __wbg_uniform4f_22bfec882308eec2(arg0, arg1, arg2, arg3, arg4, arg5) {
2252
+ arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
2253
+ }
2254
+ export function __wbg_uniform4f_8dd8f311e656ca0d(arg0, arg1, arg2, arg3, arg4, arg5) {
2255
+ arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
2256
+ }
2257
+ export function __wbg_uniform4fv_3ef2f5121fcb78ae(arg0, arg1, arg2, arg3) {
2258
+ arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2259
+ }
2260
+ export function __wbg_uniform4fv_cf8ff646c36232c8(arg0, arg1, arg2, arg3) {
2261
+ arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2262
+ }
2263
+ export function __wbg_uniform4iv_6fc5436b4f876039(arg0, arg1, arg2, arg3) {
2264
+ arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2265
+ }
2266
+ export function __wbg_uniform4iv_99c2b07787d362d6(arg0, arg1, arg2, arg3) {
2267
+ arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2268
+ }
2269
+ export function __wbg_uniform4uiv_a6fb3237d9df7ed4(arg0, arg1, arg2, arg3) {
2270
+ arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
2271
+ }
2272
+ export function __wbg_uniformBlockBinding_07116582301fb019(arg0, arg1, arg2, arg3) {
2273
+ arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0);
2274
+ }
2275
+ export function __wbg_uniformMatrix2fv_34b2245136106a2f(arg0, arg1, arg2, arg3, arg4) {
2276
+ arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2277
+ }
2278
+ export function __wbg_uniformMatrix2fv_611c7fcb378f057e(arg0, arg1, arg2, arg3, arg4) {
2279
+ arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2280
+ }
2281
+ export function __wbg_uniformMatrix2x3fv_6b33a76d09b6c00f(arg0, arg1, arg2, arg3, arg4) {
2282
+ arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2283
+ }
2284
+ export function __wbg_uniformMatrix2x4fv_66c787e2d0a5dd0a(arg0, arg1, arg2, arg3, arg4) {
2285
+ arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2286
+ }
2287
+ export function __wbg_uniformMatrix3fv_472e7824735acce1(arg0, arg1, arg2, arg3, arg4) {
2288
+ arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2289
+ }
2290
+ export function __wbg_uniformMatrix3fv_83fdc9c3c0d43204(arg0, arg1, arg2, arg3, arg4) {
2291
+ arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2292
+ }
2293
+ export function __wbg_uniformMatrix3x2fv_33df849b78b8556e(arg0, arg1, arg2, arg3, arg4) {
2294
+ arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2295
+ }
2296
+ export function __wbg_uniformMatrix3x4fv_8914dc5121a813b4(arg0, arg1, arg2, arg3, arg4) {
2297
+ arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2298
+ }
2299
+ export function __wbg_uniformMatrix4fv_dff9738d995fd0b1(arg0, arg1, arg2, arg3, arg4) {
2300
+ arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2301
+ }
2302
+ export function __wbg_uniformMatrix4fv_e691d7f14d3609f7(arg0, arg1, arg2, arg3, arg4) {
2303
+ arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2304
+ }
2305
+ export function __wbg_uniformMatrix4x2fv_1c9ccf4427b82548(arg0, arg1, arg2, arg3, arg4) {
2306
+ arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2307
+ }
2308
+ export function __wbg_uniformMatrix4x3fv_a84b16e0a7abee2c(arg0, arg1, arg2, arg3, arg4) {
2309
+ arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2310
+ }
2311
+ export function __wbg_unmap_6a96b14c9ef5f7f5(arg0) {
2312
+ arg0.unmap();
2313
+ }
2314
+ export function __wbg_useProgram_5bdae58fd9f9826f(arg0, arg1) {
2315
+ arg0.useProgram(arg1);
2316
+ }
2317
+ export function __wbg_useProgram_e075c2902e420761(arg0, arg1) {
2318
+ arg0.useProgram(arg1);
2319
+ }
2320
+ export function __wbg_valueOf_02fd4d101b7553c7(arg0) {
2321
+ const ret = arg0.valueOf();
2322
+ return ret;
2323
+ }
2324
+ export function __wbg_vertexAttribDivisorANGLE_659fb027198a47c3(arg0, arg1, arg2) {
2325
+ arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
2326
+ }
2327
+ export function __wbg_vertexAttribDivisor_7575d382215322f7(arg0, arg1, arg2) {
2328
+ arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
2329
+ }
2330
+ export function __wbg_vertexAttribIPointer_fc8057c62cfcc63c(arg0, arg1, arg2, arg3, arg4, arg5) {
2331
+ arg0.vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
2332
+ }
2333
+ export function __wbg_vertexAttribPointer_24b495e18df325dc(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
2334
+ arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
2335
+ }
2336
+ export function __wbg_vertexAttribPointer_54d56b18f71a946d(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
2337
+ arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
2338
+ }
2339
+ export function __wbg_viewport_16936692526e2ce6(arg0, arg1, arg2, arg3, arg4) {
2340
+ arg0.viewport(arg1, arg2, arg3, arg4);
2341
+ }
2342
+ export function __wbg_viewport_e35d16c542d2ce70(arg0, arg1, arg2, arg3, arg4) {
2343
+ arg0.viewport(arg1, arg2, arg3, arg4);
2344
+ }
2345
+ export function __wbg_warn_13abc63e0d4b3527(arg0) {
2346
+ console.warn(arg0);
2347
+ }
2348
+ export function __wbg_writeTexture_30e592e8c061c3d9() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
2349
+ arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
2350
+ }, arguments); }
2351
+ export function __wbindgen_generic_0000000000000001(arg0, arg1) {
2352
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2980, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2353
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true_);
2354
+ return ret;
2355
+ }
2356
+ export function __wbindgen_generic_0000000000000002(arg0, arg1) {
2357
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 888, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2358
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true_);
2359
+ return ret;
2360
+ }
2361
+ export function __wbindgen_generic_0000000000000003(arg0, arg1) {
2362
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 891, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2363
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_);
2364
+ return ret;
2365
+ }
2366
+ export function __wbindgen_generic_0000000000000004(arg0, arg1) {
2367
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 888, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2368
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true__46);
2369
+ return ret;
2370
+ }
2371
+ export function __wbindgen_generic_0000000000000005(arg0, arg1) {
2372
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 888, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2373
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true__47);
2374
+ return ret;
2375
+ }
2376
+ export function __wbindgen_generic_0000000000000006(arg0) {
2377
+ // Cast intrinsic for `F64 -> Externref`.
2378
+ const ret = arg0;
2379
+ return ret;
2380
+ }
2381
+ export function __wbindgen_generic_0000000000000007(arg0, arg1) {
2382
+ // Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
2383
+ const ret = getArrayF32FromWasm0(arg0, arg1);
2384
+ return ret;
2385
+ }
2386
+ export function __wbindgen_generic_0000000000000008(arg0, arg1) {
2387
+ // Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
2388
+ const ret = getArrayI16FromWasm0(arg0, arg1);
2389
+ return ret;
2390
+ }
2391
+ export function __wbindgen_generic_0000000000000009(arg0, arg1) {
2392
+ // Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
2393
+ const ret = getArrayI32FromWasm0(arg0, arg1);
2394
+ return ret;
2395
+ }
2396
+ export function __wbindgen_generic_000000000000000a(arg0, arg1) {
2397
+ // Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
2398
+ const ret = getArrayI8FromWasm0(arg0, arg1);
2399
+ return ret;
2400
+ }
2401
+ export function __wbindgen_generic_000000000000000b(arg0, arg1) {
2402
+ // Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
2403
+ const ret = getArrayU16FromWasm0(arg0, arg1);
2404
+ return ret;
2405
+ }
2406
+ export function __wbindgen_generic_000000000000000c(arg0, arg1) {
2407
+ // Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
2408
+ const ret = getArrayU32FromWasm0(arg0, arg1);
2409
+ return ret;
2410
+ }
2411
+ export function __wbindgen_generic_000000000000000d(arg0, arg1) {
2412
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
2413
+ const ret = getArrayU8FromWasm0(arg0, arg1);
2414
+ return ret;
2415
+ }
2416
+ export function __wbindgen_generic_000000000000000e(arg0, arg1) {
2417
+ // Cast intrinsic for `Ref(String) -> Externref`.
2418
+ const ret = getStringFromWasm0(arg0, arg1);
2419
+ return ret;
2420
+ }
2421
+ export function __wbindgen_generic_000000000000000f(arg0, arg1) {
2422
+ var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
2423
+ wasm.__wbindgen_free(arg0, arg1 * 1, 1);
2424
+ // Cast intrinsic for `Vector(U8) -> Externref`.
2425
+ const ret = v0;
2426
+ return ret;
2427
+ }
2428
+ export function __wbindgen_init_externref_table() {
2429
+ const table = wasm.__wbindgen_externrefs;
2430
+ const offset = table.grow(4);
2431
+ table.set(0, undefined);
2432
+ table.set(offset + 0, undefined);
2433
+ table.set(offset + 1, null);
2434
+ table.set(offset + 2, true);
2435
+ table.set(offset + 3, false);
2436
+ }
2437
+ function wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2) {
2438
+ wasm.wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2);
2439
+ }
2440
+
2441
+ function wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true_(arg0, arg1, arg2) {
2442
+ const ret = wasm.wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true_(arg0, arg1, arg2);
2443
+ if (ret[1]) {
2444
+ throw takeFromExternrefTable0(ret[0]);
2445
+ }
2446
+ }
2447
+
2448
+ function wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true_(arg0, arg1, arg2) {
2449
+ const ret = wasm.wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true_(arg0, arg1, arg2);
2450
+ if (ret[1]) {
2451
+ throw takeFromExternrefTable0(ret[0]);
2452
+ }
2453
+ }
2454
+
2455
+ function wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true__46(arg0, arg1, arg2) {
2456
+ const ret = wasm.wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true__46(arg0, arg1, arg2);
2457
+ if (ret[1]) {
2458
+ throw takeFromExternrefTable0(ret[0]);
2459
+ }
2460
+ }
2461
+
2462
+ function wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true__47(arg0, arg1, arg2) {
2463
+ const ret = wasm.wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___wasm_bindgen_f7c23b969144d409___sys__JsNullable_wgpu_4316d48f7375a37f___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_f7c23b969144d409___JsError___true__47(arg0, arg1, arg2);
2464
+ if (ret[1]) {
2465
+ throw takeFromExternrefTable0(ret[0]);
2466
+ }
2467
+ }
2468
+
2469
+ function wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___js_sys_6167d347e6538eb4___Function_fn_wasm_bindgen_f7c23b969144d409___JsValue_____wasm_bindgen_f7c23b969144d409___sys__Undefined___js_sys_6167d347e6538eb4___Function_fn_wasm_bindgen_f7c23b969144d409___JsValue_____wasm_bindgen_f7c23b969144d409___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
2470
+ wasm.wasm_bindgen_f7c23b969144d409___convert__closures_____invoke___js_sys_6167d347e6538eb4___Function_fn_wasm_bindgen_f7c23b969144d409___JsValue_____wasm_bindgen_f7c23b969144d409___sys__Undefined___js_sys_6167d347e6538eb4___Function_fn_wasm_bindgen_f7c23b969144d409___JsValue_____wasm_bindgen_f7c23b969144d409___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
2471
+ }
2472
+
2473
+
2474
+ const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
2475
+
2476
+
2477
+ const __wbindgen_enum_GpuAutoLayoutMode = ["auto"];
2478
+
2479
+
2480
+ const __wbindgen_enum_GpuBlendFactor = ["zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant", "src1", "one-minus-src1", "src1-alpha", "one-minus-src1-alpha"];
2481
+
2482
+
2483
+ const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
2484
+
2485
+
2486
+ const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
2487
+
2488
+
2489
+ const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
2490
+
2491
+
2492
+ const __wbindgen_enum_GpuCanvasToneMappingMode = ["standard", "extended"];
2493
+
2494
+
2495
+ const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
2496
+
2497
+
2498
+ const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
2499
+
2500
+
2501
+ const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
2502
+
2503
+
2504
+ const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
2505
+
2506
+
2507
+ const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
2508
+
2509
+
2510
+ const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
2511
+
2512
+
2513
+ const __wbindgen_enum_GpuMipmapFilterMode = ["nearest", "linear"];
2514
+
2515
+
2516
+ const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
2517
+
2518
+
2519
+ const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
2520
+
2521
+
2522
+ const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
2523
+
2524
+
2525
+ const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
2526
+
2527
+
2528
+ const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
2529
+
2530
+
2531
+ const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
2532
+
2533
+
2534
+ const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
2535
+
2536
+
2537
+ const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
2538
+
2539
+
2540
+ const __wbindgen_enum_GpuTextureFormat = ["r8unorm", "r8snorm", "r8uint", "r8sint", "r16unorm", "r16snorm", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32uint", "r32sint", "r32float", "rg16unorm", "rg16snorm", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb9e5ufloat", "rgb10a2uint", "rgb10a2unorm", "rg11b10ufloat", "rg32uint", "rg32sint", "rg32float", "rgba16unorm", "rgba16snorm", "rgba16uint", "rgba16sint", "rgba16float", "rgba32uint", "rgba32sint", "rgba32float", "stencil8", "depth16unorm", "depth24plus", "depth24plus-stencil8", "depth32float", "depth32float-stencil8", "bc1-rgba-unorm", "bc1-rgba-unorm-srgb", "bc2-rgba-unorm", "bc2-rgba-unorm-srgb", "bc3-rgba-unorm", "bc3-rgba-unorm-srgb", "bc4-r-unorm", "bc4-r-snorm", "bc5-rg-unorm", "bc5-rg-snorm", "bc6h-rgb-ufloat", "bc6h-rgb-float", "bc7-rgba-unorm", "bc7-rgba-unorm-srgb", "etc2-rgb8unorm", "etc2-rgb8unorm-srgb", "etc2-rgb8a1unorm", "etc2-rgb8a1unorm-srgb", "etc2-rgba8unorm", "etc2-rgba8unorm-srgb", "eac-r11unorm", "eac-r11snorm", "eac-rg11unorm", "eac-rg11snorm", "astc-4x4-unorm", "astc-4x4-unorm-srgb", "astc-5x4-unorm", "astc-5x4-unorm-srgb", "astc-5x5-unorm", "astc-5x5-unorm-srgb", "astc-6x5-unorm", "astc-6x5-unorm-srgb", "astc-6x6-unorm", "astc-6x6-unorm-srgb", "astc-8x5-unorm", "astc-8x5-unorm-srgb", "astc-8x6-unorm", "astc-8x6-unorm-srgb", "astc-8x8-unorm", "astc-8x8-unorm-srgb", "astc-10x5-unorm", "astc-10x5-unorm-srgb", "astc-10x6-unorm", "astc-10x6-unorm-srgb", "astc-10x8-unorm", "astc-10x8-unorm-srgb", "astc-10x10-unorm", "astc-10x10-unorm-srgb", "astc-12x10-unorm", "astc-12x10-unorm-srgb", "astc-12x12-unorm", "astc-12x12-unorm-srgb"];
2541
+
2542
+
2543
+ const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "depth", "sint", "uint"];
2544
+
2545
+
2546
+ const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
2547
+
2548
+
2549
+ const __wbindgen_enum_GpuVertexFormat = ["uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra"];
2550
+
2551
+
2552
+ const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
2553
+ const CanvasRendererFinalization = (typeof FinalizationRegistry === 'undefined')
2554
+ ? { register: () => {}, unregister: () => {} }
2555
+ : new FinalizationRegistry(ptr => wasm.__wbg_canvasrenderer_free(ptr, 1));
2556
+ const JsTextureReportFinalization = (typeof FinalizationRegistry === 'undefined')
2557
+ ? { register: () => {}, unregister: () => {} }
2558
+ : new FinalizationRegistry(ptr => wasm.__wbg_jstexturereport_free(ptr, 1));
2559
+
2560
+ function addToExternrefTable0(obj) {
2561
+ const idx = wasm.__externref_table_alloc();
2562
+ wasm.__wbindgen_externrefs.set(idx, obj);
2563
+ return idx;
2564
+ }
2565
+
2566
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
2567
+ ? { register: () => {}, unregister: () => {} }
2568
+ : new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
2569
+
2570
+ function debugString(val) {
2571
+ // primitive types
2572
+ const type = typeof val;
2573
+ if (type == 'number' || type == 'boolean' || val == null) {
2574
+ return `${val}`;
2575
+ }
2576
+ if (type == 'string') {
2577
+ return `"${val}"`;
2578
+ }
2579
+ if (type == 'symbol') {
2580
+ const description = val.description;
2581
+ if (description == null) {
2582
+ return 'Symbol';
2583
+ } else {
2584
+ return `Symbol(${description})`;
2585
+ }
2586
+ }
2587
+ if (type == 'function') {
2588
+ const name = val.name;
2589
+ if (typeof name == 'string' && name.length > 0) {
2590
+ return `Function(${name})`;
2591
+ } else {
2592
+ return 'Function';
2593
+ }
2594
+ }
2595
+ // objects
2596
+ if (Array.isArray(val)) {
2597
+ const length = val.length;
2598
+ let debug = '[';
2599
+ if (length > 0) {
2600
+ debug += debugString(val[0]);
2601
+ }
2602
+ for(let i = 1; i < length; i++) {
2603
+ debug += ', ' + debugString(val[i]);
2604
+ }
2605
+ debug += ']';
2606
+ return debug;
2607
+ }
2608
+ // Test for built-in
2609
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
2610
+ let className;
2611
+ if (builtInMatches && builtInMatches.length > 1) {
2612
+ className = builtInMatches[1];
2613
+ } else {
2614
+ // Failed to match the standard '[object ClassName]'
2615
+ return toString.call(val);
2616
+ }
2617
+ if (className == 'Object') {
2618
+ // we're a user defined class or Object
2619
+ // JSON.stringify avoids problems with cycles, and is generally much
2620
+ // easier than looping through ownProperties of `val`.
2621
+ try {
2622
+ return 'Object(' + JSON.stringify(val) + ')';
2623
+ } catch (_) {
2624
+ return 'Object';
2625
+ }
2626
+ }
2627
+ // errors
2628
+ if (val instanceof Error) {
2629
+ return `${val.name}: ${val.message}\n${val.stack}`;
2630
+ }
2631
+ // TODO we could test for more things here, like `Set`s and `Map`s.
2632
+ return className;
2633
+ }
2634
+
2635
+ function getArrayF32FromWasm0(ptr, len) {
2636
+ ptr = ptr >>> 0;
2637
+ return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
2638
+ }
2639
+
2640
+ function getArrayI16FromWasm0(ptr, len) {
2641
+ ptr = ptr >>> 0;
2642
+ return getInt16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
2643
+ }
2644
+
2645
+ function getArrayI32FromWasm0(ptr, len) {
2646
+ ptr = ptr >>> 0;
2647
+ return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
2648
+ }
2649
+
2650
+ function getArrayI8FromWasm0(ptr, len) {
2651
+ ptr = ptr >>> 0;
2652
+ return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
2653
+ }
2654
+
2655
+ function getArrayJsValueViewFromWasm0(ptr, len) {
2656
+ ptr = ptr >>> 0;
2657
+ const mem = getDataViewMemory0();
2658
+ const result = [];
2659
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
2660
+ result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
2661
+ }
2662
+ return result;
2663
+ }
2664
+
2665
+ function getArrayU16FromWasm0(ptr, len) {
2666
+ ptr = ptr >>> 0;
2667
+ return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
2668
+ }
2669
+
2670
+ function getArrayU32FromWasm0(ptr, len) {
2671
+ ptr = ptr >>> 0;
2672
+ return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
2673
+ }
2674
+
2675
+ function getArrayU8FromWasm0(ptr, len) {
2676
+ ptr = ptr >>> 0;
2677
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
2678
+ }
2679
+
2680
+ let cachedDataViewMemory0 = null;
2681
+ function getDataViewMemory0() {
2682
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
2683
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
2684
+ }
2685
+ return cachedDataViewMemory0;
2686
+ }
2687
+
2688
+ let cachedFloat32ArrayMemory0 = null;
2689
+ function getFloat32ArrayMemory0() {
2690
+ if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
2691
+ cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
2692
+ }
2693
+ return cachedFloat32ArrayMemory0;
2694
+ }
2695
+
2696
+ let cachedInt16ArrayMemory0 = null;
2697
+ function getInt16ArrayMemory0() {
2698
+ if (cachedInt16ArrayMemory0 === null || cachedInt16ArrayMemory0.byteLength === 0) {
2699
+ cachedInt16ArrayMemory0 = new Int16Array(wasm.memory.buffer);
2700
+ }
2701
+ return cachedInt16ArrayMemory0;
2702
+ }
2703
+
2704
+ let cachedInt32ArrayMemory0 = null;
2705
+ function getInt32ArrayMemory0() {
2706
+ if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) {
2707
+ cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer);
2708
+ }
2709
+ return cachedInt32ArrayMemory0;
2710
+ }
2711
+
2712
+ let cachedInt8ArrayMemory0 = null;
2713
+ function getInt8ArrayMemory0() {
2714
+ if (cachedInt8ArrayMemory0 === null || cachedInt8ArrayMemory0.byteLength === 0) {
2715
+ cachedInt8ArrayMemory0 = new Int8Array(wasm.memory.buffer);
2716
+ }
2717
+ return cachedInt8ArrayMemory0;
2718
+ }
2719
+
2720
+ function getStringFromWasm0(ptr, len) {
2721
+ return decodeText(ptr >>> 0, len);
2722
+ }
2723
+
2724
+ let cachedUint16ArrayMemory0 = null;
2725
+ function getUint16ArrayMemory0() {
2726
+ if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) {
2727
+ cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
2728
+ }
2729
+ return cachedUint16ArrayMemory0;
2730
+ }
2731
+
2732
+ let cachedUint32ArrayMemory0 = null;
2733
+ function getUint32ArrayMemory0() {
2734
+ if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
2735
+ cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
2736
+ }
2737
+ return cachedUint32ArrayMemory0;
2738
+ }
2739
+
2740
+ let cachedUint8ArrayMemory0 = null;
2741
+ function getUint8ArrayMemory0() {
2742
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
2743
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
2744
+ }
2745
+ return cachedUint8ArrayMemory0;
2746
+ }
2747
+
2748
+ function handleError(f, args) {
2749
+ try {
2750
+ return f.apply(this, args);
2751
+ } catch (e) {
2752
+ const idx = addToExternrefTable0(e);
2753
+ wasm.__wbindgen_exn_store(idx);
2754
+ }
2755
+ }
2756
+
2757
+ function isLikeNone(x) {
2758
+ return x === undefined || x === null;
2759
+ }
2760
+
2761
+ function makeMutClosure(arg0, arg1, f) {
2762
+ const state = { a: arg0, b: arg1, cnt: 1 };
2763
+ const real = (...args) => {
2764
+
2765
+ // First up with a closure we increment the internal reference
2766
+ // count. This ensures that the Rust closure environment won't
2767
+ // be deallocated while we're invoking it.
2768
+ state.cnt++;
2769
+ const a = state.a;
2770
+ state.a = 0;
2771
+ try {
2772
+ return f(a, state.b, ...args);
2773
+ } finally {
2774
+ state.a = a;
2775
+ real._wbg_cb_unref();
2776
+ }
2777
+ };
2778
+ real._wbg_cb_unref = () => {
2779
+ if (--state.cnt === 0) {
2780
+ wasm.__wbindgen_destroy_closure(state.a, state.b);
2781
+ state.a = 0;
2782
+ CLOSURE_DTORS.unregister(state);
2783
+ }
2784
+ };
2785
+ CLOSURE_DTORS.register(real, state, state);
2786
+ return real;
2787
+ }
2788
+
2789
+ function passArray8ToWasm0(arg, malloc) {
2790
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
2791
+ getUint8ArrayMemory0().set(arg, ptr / 1);
2792
+ WASM_VECTOR_LEN = arg.length;
2793
+ return ptr;
2794
+ }
2795
+
2796
+ function passStringToWasm0(arg, malloc, realloc) {
2797
+ if (realloc === undefined) {
2798
+ const buf = cachedTextEncoder.encode(arg);
2799
+ const ptr = malloc(buf.length, 1) >>> 0;
2800
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
2801
+ WASM_VECTOR_LEN = buf.length;
2802
+ return ptr;
2803
+ }
2804
+
2805
+ let len = arg.length;
2806
+ let ptr = malloc(len, 1) >>> 0;
2807
+
2808
+ const mem = getUint8ArrayMemory0();
2809
+
2810
+ let offset = 0;
2811
+
2812
+ for (; offset < len; offset++) {
2813
+ const code = arg.charCodeAt(offset);
2814
+ if (code > 0x7F) break;
2815
+ mem[ptr + offset] = code;
2816
+ }
2817
+ if (offset !== len) {
2818
+ if (offset !== 0) {
2819
+ arg = arg.slice(offset);
2820
+ }
2821
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
2822
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
2823
+ const ret = cachedTextEncoder.encodeInto(arg, view);
2824
+
2825
+ offset += ret.written;
2826
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
2827
+ }
2828
+
2829
+ WASM_VECTOR_LEN = offset;
2830
+ return ptr;
2831
+ }
2832
+
2833
+ function takeFromExternrefTable0(idx) {
2834
+ const value = wasm.__wbindgen_externrefs.get(idx);
2835
+ wasm.__externref_table_dealloc(idx);
2836
+ return value;
2837
+ }
2838
+
2839
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
2840
+ cachedTextDecoder.decode();
2841
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
2842
+ let numBytesDecoded = 0;
2843
+ function decodeText(ptr, len) {
2844
+ numBytesDecoded += len;
2845
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
2846
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
2847
+ cachedTextDecoder.decode();
2848
+ numBytesDecoded = len;
2849
+ }
2850
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
2851
+ }
2852
+
2853
+ const cachedTextEncoder = new TextEncoder();
2854
+
2855
+ if (!('encodeInto' in cachedTextEncoder)) {
2856
+ cachedTextEncoder.encodeInto = function (arg, view) {
2857
+ const buf = cachedTextEncoder.encode(arg);
2858
+ view.set(buf);
2859
+ return {
2860
+ read: arg.length,
2861
+ written: buf.length
2862
+ };
2863
+ };
2864
+ }
2865
+
2866
+ let WASM_VECTOR_LEN = 0;
2867
+
2868
+
2869
+ let wasm;
2870
+ export function __wbg_set_wasm(val) {
2871
+ wasm = val;
2872
+ }