hyperchess-wasm 0.1.0

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,2867 @@
1
+ /* @ts-self-types="./hyperchess_wasm.d.ts" */
2
+
3
+ /**
4
+ * JS-facing handle. Board state is a 144-byte array: 0 = empty, else
5
+ * `(color << 4) | kind` with kind 1..=8 indexing
6
+ * `[pawn, knight, bishop, rook, queen, king, eagle, hawk]` and color
7
+ * 0 = white, 1 = black (see `board3d.js` for the encoder).
8
+ */
9
+ class Scene3D {
10
+ static __wrap(ptr) {
11
+ const obj = Object.create(Scene3D.prototype);
12
+ obj.__wbg_ptr = ptr;
13
+ Scene3DFinalization.register(obj, obj.__wbg_ptr, obj);
14
+ return obj;
15
+ }
16
+ __destroy_into_raw() {
17
+ const ptr = this.__wbg_ptr;
18
+ this.__wbg_ptr = 0;
19
+ Scene3DFinalization.unregister(this);
20
+ return ptr;
21
+ }
22
+ free() {
23
+ const ptr = this.__destroy_into_raw();
24
+ wasm.__wbg_scene3d_free(ptr, 0);
25
+ }
26
+ /**
27
+ * Starts a glide animation for the piece on `from` moving to `to`. Call
28
+ * this *before* `set_board` with the post-move position — it snapshots
29
+ * the pre-move board to know what to animate (and what's being captured).
30
+ * @param {number} from
31
+ * @param {number} to
32
+ */
33
+ animate_move(from, to) {
34
+ wasm.scene3d_animate_move(this.__wbg_ptr, from, to);
35
+ }
36
+ /**
37
+ * Creates the renderer against the given canvas. Async because adapter/device
38
+ * acquisition is a browser Promise under the hood. JS calls this as a static
39
+ * factory (`await Scene3D.create(canvas)`), not `new Scene3D(...)`.
40
+ * @param {HTMLCanvasElement} canvas
41
+ * @returns {Promise<Scene3D>}
42
+ */
43
+ static create(canvas) {
44
+ const ret = wasm.scene3d_create(canvas);
45
+ return ret;
46
+ }
47
+ /**
48
+ * True while a move animation is still in flight — keep calling
49
+ * `render()` on every frame until this goes false, then it's fine to
50
+ * idle the render loop until the next interaction.
51
+ * @returns {boolean}
52
+ */
53
+ is_animating() {
54
+ const ret = wasm.scene3d_is_animating(this.__wbg_ptr);
55
+ return ret !== 0;
56
+ }
57
+ /**
58
+ * Rotate the camera around the board by a *delta* in radians;
59
+ * pitch is clamped internally so the camera cannot flip over the pole.
60
+ * @param {number} dyaw
61
+ * @param {number} dpitch
62
+ */
63
+ orbit(dyaw, dpitch) {
64
+ wasm.scene3d_orbit(this.__wbg_ptr, dyaw, dpitch);
65
+ }
66
+ /**
67
+ * Canvas-space pixel coordinates -> square index (0-143), or -1 if off-board.
68
+ * @param {number} x
69
+ * @param {number} y
70
+ * @returns {number}
71
+ */
72
+ pick(x, y) {
73
+ const ret = wasm.scene3d_pick(this.__wbg_ptr, x, y);
74
+ return ret;
75
+ }
76
+ /**
77
+ * Draw one frame. JS drives the render loop, so this must be called
78
+ * from `requestAnimationFrame` — the renderer never schedules itself.
79
+ */
80
+ render() {
81
+ wasm.scene3d_render(this.__wbg_ptr);
82
+ }
83
+ /**
84
+ * Match the swapchain to a new canvas size, in physical pixels.
85
+ * @param {number} width
86
+ * @param {number} height
87
+ */
88
+ resize(width, height) {
89
+ wasm.scene3d_resize(this.__wbg_ptr, width, height);
90
+ }
91
+ /**
92
+ * `board` must be exactly 144 bytes (see the encoding note on `Scene3D`).
93
+ * @param {Uint8Array} board
94
+ * @param {boolean} flipped
95
+ */
96
+ set_board(board, flipped) {
97
+ const ptr0 = passArray8ToWasm0(board, wasm.__wbindgen_malloc);
98
+ const len0 = WASM_VECTOR_LEN;
99
+ wasm.scene3d_set_board(this.__wbg_ptr, ptr0, len0, flipped);
100
+ }
101
+ /**
102
+ * `-1` means "none" for `selected`/`last_from`/`last_to`/`checked_king`.
103
+ * @param {number} selected
104
+ * @param {Uint8Array} legal
105
+ * @param {number} last_from
106
+ * @param {number} last_to
107
+ * @param {number} checked_king
108
+ */
109
+ set_selection(selected, legal, last_from, last_to, checked_king) {
110
+ const ptr0 = passArray8ToWasm0(legal, wasm.__wbindgen_malloc);
111
+ const len0 = WASM_VECTOR_LEN;
112
+ wasm.scene3d_set_selection(this.__wbg_ptr, selected, ptr0, len0, last_from, last_to, checked_king);
113
+ }
114
+ /**
115
+ * Scale the camera distance by `factor` (`>1` pulls back, `<1` moves
116
+ * in), clamped to the scene's usable range.
117
+ * @param {number} factor
118
+ */
119
+ zoom(factor) {
120
+ wasm.scene3d_zoom(this.__wbg_ptr, factor);
121
+ }
122
+ }
123
+ if (Symbol.dispose) Scene3D.prototype[Symbol.dispose] = Scene3D.prototype.free;
124
+ exports.Scene3D = Scene3D;
125
+
126
+ /**
127
+ * JS-facing wrapper around a [`Board`].
128
+ *
129
+ * Every method takes and returns plain strings or primitives rather than
130
+ * exposing engine types across the wasm boundary, so the JS side never needs
131
+ * to mirror the Rust move or piece encodings.
132
+ */
133
+ class WasmBoard {
134
+ static __wrap(ptr) {
135
+ const obj = Object.create(WasmBoard.prototype);
136
+ obj.__wbg_ptr = ptr;
137
+ WasmBoardFinalization.register(obj, obj.__wbg_ptr, obj);
138
+ return obj;
139
+ }
140
+ __destroy_into_raw() {
141
+ const ptr = this.__wbg_ptr;
142
+ this.__wbg_ptr = 0;
143
+ WasmBoardFinalization.unregister(this);
144
+ return ptr;
145
+ }
146
+ free() {
147
+ const ptr = this.__destroy_into_raw();
148
+ wasm.__wbg_wasmboard_free(ptr, 0);
149
+ }
150
+ /**
151
+ * Material-only adjudication of the current position: 1 = White wins,
152
+ * 2 = Black wins, 3 = draw (within one pawn of equal material).
153
+ * @returns {number}
154
+ */
155
+ adjudicate_material() {
156
+ const ret = wasm.wasmboard_adjudicate_material(this.__wbg_ptr);
157
+ return ret;
158
+ }
159
+ /**
160
+ * Apply a move given as a UCI string. Returns false if the move is not legal.
161
+ * @param {string} uci
162
+ * @returns {boolean}
163
+ */
164
+ apply_move(uci) {
165
+ const ptr0 = passStringToWasm0(uci, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
166
+ const len0 = WASM_VECTOR_LEN;
167
+ const ret = wasm.wasmboard_apply_move(this.__wbg_ptr, ptr0, len0);
168
+ return ret !== 0;
169
+ }
170
+ /**
171
+ * Run alpha-beta search at the given depth and return the best move as UCI.
172
+ * Returns an empty string if there are no legal moves.
173
+ * @param {number} depth
174
+ * @returns {string}
175
+ */
176
+ best_move(depth) {
177
+ let deferred1_0;
178
+ let deferred1_1;
179
+ try {
180
+ const ret = wasm.wasmboard_best_move(this.__wbg_ptr, depth);
181
+ deferred1_0 = ret[0];
182
+ deferred1_1 = ret[1];
183
+ return getStringFromWasm0(ret[0], ret[1]);
184
+ } finally {
185
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
186
+ }
187
+ }
188
+ /**
189
+ * Compatibility guided alpha-beta label. Uses the canonical timed search.
190
+ * @param {number} depth
191
+ * @returns {string}
192
+ */
193
+ best_move_guided(depth) {
194
+ let deferred1_0;
195
+ let deferred1_1;
196
+ try {
197
+ const ret = wasm.wasmboard_best_move_guided(this.__wbg_ptr, depth);
198
+ deferred1_0 = ret[0];
199
+ deferred1_1 = ret[1];
200
+ return getStringFromWasm0(ret[0], ret[1]);
201
+ } finally {
202
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
203
+ }
204
+ }
205
+ /**
206
+ * Compatibility guided iterative label. Uses the canonical timed search.
207
+ * @param {number} depth
208
+ * @returns {string}
209
+ */
210
+ best_move_guided_iterative(depth) {
211
+ let deferred1_0;
212
+ let deferred1_1;
213
+ try {
214
+ const ret = wasm.wasmboard_best_move_guided_iterative(this.__wbg_ptr, depth);
215
+ deferred1_0 = ret[0];
216
+ deferred1_1 = ret[1];
217
+ return getStringFromWasm0(ret[0], ret[1]);
218
+ } finally {
219
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
220
+ }
221
+ }
222
+ /**
223
+ * Run iterative deepening (with transposition table) at the given depth.
224
+ * Better than `best_move` for the same depth budget — TT avoids re-searching
225
+ * positions seen at shallower iterations.
226
+ * @param {number} depth
227
+ * @returns {string}
228
+ */
229
+ best_move_iterative(depth) {
230
+ let deferred1_0;
231
+ let deferred1_1;
232
+ try {
233
+ const ret = wasm.wasmboard_best_move_iterative(this.__wbg_ptr, depth);
234
+ deferred1_0 = ret[0];
235
+ deferred1_1 = ret[1];
236
+ return getStringFromWasm0(ret[0], ret[1]);
237
+ } finally {
238
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
239
+ }
240
+ }
241
+ /**
242
+ * Run MCTS with the given number of simulations and return the best move as UCI.
243
+ * Returns an empty string if there are no legal moves.
244
+ * @param {number} simulations
245
+ * @returns {string}
246
+ */
247
+ best_move_mcts(simulations) {
248
+ let deferred1_0;
249
+ let deferred1_1;
250
+ try {
251
+ const ret = wasm.wasmboard_best_move_mcts(this.__wbg_ptr, simulations);
252
+ deferred1_0 = ret[0];
253
+ deferred1_1 = ret[1];
254
+ return getStringFromWasm0(ret[0], ret[1]);
255
+ } finally {
256
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
257
+ }
258
+ }
259
+ /**
260
+ * Run the "aggressive" profile (PVS, aspiration windows and the
261
+ * speculative pruning family — reverse futility, frontier futility, delta
262
+ * pruning). The strongest fixed-depth option.
263
+ * @param {number} depth
264
+ * @returns {string}
265
+ */
266
+ best_move_pro(depth) {
267
+ let deferred1_0;
268
+ let deferred1_1;
269
+ try {
270
+ const ret = wasm.wasmboard_best_move_pro(this.__wbg_ptr, depth);
271
+ deferred1_0 = ret[0];
272
+ deferred1_1 = ret[1];
273
+ return getStringFromWasm0(ret[0], ret[1]);
274
+ } finally {
275
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
276
+ }
277
+ }
278
+ /**
279
+ * Run the stronger strategic-style tactical profile.
280
+ * @param {number} depth
281
+ * @returns {string}
282
+ */
283
+ best_move_strategic(depth) {
284
+ let deferred1_0;
285
+ let deferred1_1;
286
+ try {
287
+ const ret = wasm.wasmboard_best_move_strategic(this.__wbg_ptr, depth);
288
+ deferred1_0 = ret[0];
289
+ deferred1_1 = ret[1];
290
+ return getStringFromWasm0(ret[0], ret[1]);
291
+ } finally {
292
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
293
+ }
294
+ }
295
+ /**
296
+ * Anytime iterative-deepening search with a **wall-clock budget** (and an
297
+ * optional node cap as a deterministic backstop).
298
+ *
299
+ * This is the recommended interactive search: it deepens until `max_depth`,
300
+ * the time budget, or the node cap is hit, then returns the best move from the
301
+ * deepest *completed* depth. The search watches the clock itself
302
+ * (`js_sys::Date::now()`) — essential in the browser, where JS cannot interrupt
303
+ * a running synchronous WASM call, so an external timeout would never fire.
304
+ *
305
+ * * `movetime_ms == 0` → no time cap.
306
+ * * `node_limit == 0` → no node cap.
307
+ * (At least one of `movetime_ms` / `node_limit` / a small `max_depth` should
308
+ * be set, or the search runs to `max_depth` which may be very deep.)
309
+ * @param {number} max_depth
310
+ * @param {number} movetime_ms
311
+ * @param {number} node_limit
312
+ * @returns {string}
313
+ */
314
+ best_move_timed(max_depth, movetime_ms, node_limit) {
315
+ let deferred1_0;
316
+ let deferred1_1;
317
+ try {
318
+ const ret = wasm.wasmboard_best_move_timed(this.__wbg_ptr, max_depth, movetime_ms, node_limit);
319
+ deferred1_0 = ret[0];
320
+ deferred1_1 = ret[1];
321
+ return getStringFromWasm0(ret[0], ret[1]);
322
+ } finally {
323
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
324
+ }
325
+ }
326
+ /**
327
+ * Anytime search with a wall-clock budget under a named profile:
328
+ * `"balanced"` (default), `"strategic"`, or `"aggressive"`. Same anytime semantics
329
+ * as [`Self::best_move_timed`] — this is what interactive strategic/aggressive
330
+ * callers should use so the computed move timeout is actually honoured
331
+ * (the fixed-depth `best_move_strategic` / `best_move_pro` wrappers ignore it).
332
+ * @param {number} max_depth
333
+ * @param {number} movetime_ms
334
+ * @param {number} node_limit
335
+ * @param {string} profile
336
+ * @returns {string}
337
+ */
338
+ best_move_timed_profile(max_depth, movetime_ms, node_limit, profile) {
339
+ let deferred2_0;
340
+ let deferred2_1;
341
+ try {
342
+ const ptr0 = passStringToWasm0(profile, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
343
+ const len0 = WASM_VECTOR_LEN;
344
+ const ret = wasm.wasmboard_best_move_timed_profile(this.__wbg_ptr, max_depth, movetime_ms, node_limit, ptr0, len0);
345
+ deferred2_0 = ret[0];
346
+ deferred2_1 = ret[1];
347
+ return getStringFromWasm0(ret[0], ret[1]);
348
+ } finally {
349
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
350
+ }
351
+ }
352
+ /**
353
+ * Returns the board as a 144-byte Uint8Array for WebGPU evaluation.
354
+ * Each byte is the Piece discriminant: 0=empty, 1-8=white, 9-16=black.
355
+ * Piece order: P=1, N=2, B=3, R=4, Q=5, K=6, Eagle=7, Hawk=8 (+ 8 for black).
356
+ * @returns {Uint8Array}
357
+ */
358
+ encode() {
359
+ const ret = wasm.wasmboard_encode(this.__wbg_ptr);
360
+ var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
361
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
362
+ return v1;
363
+ }
364
+ /**
365
+ * Create a board from a HFEN string. Returns null on parse error.
366
+ * @param {string} hfen
367
+ * @returns {WasmBoard | undefined}
368
+ */
369
+ static from_hfen(hfen) {
370
+ const ptr0 = passStringToWasm0(hfen, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
371
+ const len0 = WASM_VECTOR_LEN;
372
+ const ret = wasm.wasmboard_from_hfen(ptr0, len0);
373
+ return ret === 0 ? undefined : WasmBoard.__wrap(ret);
374
+ }
375
+ /**
376
+ * Returns the current position as a HFEN string.
377
+ * @returns {string}
378
+ */
379
+ hfen() {
380
+ let deferred1_0;
381
+ let deferred1_1;
382
+ try {
383
+ const ret = wasm.wasmboard_hfen(this.__wbg_ptr);
384
+ deferred1_0 = ret[0];
385
+ deferred1_1 = ret[1];
386
+ return getStringFromWasm0(ret[0], ret[1]);
387
+ } finally {
388
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
389
+ }
390
+ }
391
+ /**
392
+ * Returns true if the side to move is currently in check.
393
+ * @returns {boolean}
394
+ */
395
+ in_check() {
396
+ const ret = wasm.wasmboard_in_check(this.__wbg_ptr);
397
+ return ret !== 0;
398
+ }
399
+ /**
400
+ * Returns true if the game has ended (checkmate, stalemate, or draw).
401
+ * @returns {boolean}
402
+ */
403
+ is_game_over() {
404
+ const ret = wasm.wasmboard_is_game_over(this.__wbg_ptr);
405
+ return ret !== 0;
406
+ }
407
+ /**
408
+ * Returns the square index (0-143) of the king for the side to move, or 255 if not found.
409
+ * @returns {number}
410
+ */
411
+ king_square() {
412
+ const ret = wasm.wasmboard_king_square(this.__wbg_ptr);
413
+ return ret;
414
+ }
415
+ /**
416
+ * Returns all legal moves as a space-separated UCI string (e.g. "a3a4 b3b4 ...").
417
+ * @returns {string}
418
+ */
419
+ legal_moves() {
420
+ let deferred1_0;
421
+ let deferred1_1;
422
+ try {
423
+ const ret = wasm.wasmboard_legal_moves(this.__wbg_ptr);
424
+ deferred1_0 = ret[0];
425
+ deferred1_1 = ret[1];
426
+ return getStringFromWasm0(ret[0], ret[1]);
427
+ } finally {
428
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
429
+ }
430
+ }
431
+ /**
432
+ * Create a board at the starting position.
433
+ */
434
+ constructor() {
435
+ const ret = wasm.wasmboard_new();
436
+ this.__wbg_ptr = ret;
437
+ WasmBoardFinalization.register(this, this.__wbg_ptr, this);
438
+ return this;
439
+ }
440
+ /**
441
+ * Returns the game result: 0=ongoing, 1=white wins, 2=black wins, 3=draw.
442
+ * @returns {number}
443
+ */
444
+ result() {
445
+ const ret = wasm.wasmboard_result(this.__wbg_ptr);
446
+ return ret;
447
+ }
448
+ /**
449
+ * [`Self::result`] with material adjudication for move-limit endings:
450
+ * a draw by the internal no-progress rule — and, when `capped` is true, an
451
+ * ongoing position stopped by an external per-game move cap — is decided
452
+ * by material (≥ 1 pawn wins) instead of collapsing to a draw. Genuine
453
+ * draws (stalemate, repetition, insufficient material) are unchanged.
454
+ * @param {boolean} capped
455
+ * @returns {number}
456
+ */
457
+ result_adjudicated(capped) {
458
+ const ret = wasm.wasmboard_result_adjudicated(this.__wbg_ptr, capped);
459
+ return ret;
460
+ }
461
+ /**
462
+ * Populate game history for draw-rule and search repetition checks.
463
+ *
464
+ * Contract (see `Board::repetition_count`): `history` stores **prior**
465
+ * positions only. Callers pass the full ordered HFEN list of the game
466
+ * (typically including the current position last); a trailing entry equal
467
+ * to the current position is dropped so it is never double-counted.
468
+ * Threefold then fires at `repetition_count() >= 2` (2 prior + current).
469
+ * @param {string} hfens
470
+ */
471
+ set_hfen_history(hfens) {
472
+ const ptr0 = passStringToWasm0(hfens, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
473
+ const len0 = WASM_VECTOR_LEN;
474
+ wasm.wasmboard_set_hfen_history(this.__wbg_ptr, ptr0, len0);
475
+ }
476
+ /**
477
+ * Alias of [`Self::set_hfen_history`] — kept for older callers. Both draw
478
+ * rules and search now share the same prior-positions-only contract.
479
+ * @param {string} hfens
480
+ */
481
+ set_search_history(hfens) {
482
+ const ptr0 = passStringToWasm0(hfens, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
483
+ const len0 = WASM_VECTOR_LEN;
484
+ wasm.wasmboard_set_search_history(this.__wbg_ptr, ptr0, len0);
485
+ }
486
+ /**
487
+ * Returns why the game ended: "checkmate", "stalemate", "move_limit",
488
+ * "fivefold_repetition", "threefold_repetition", "insufficient_material", or
489
+ * "ongoing". Delegates to `Board::termination_reason`, the single source of
490
+ * truth also used by the server's termination endpoint, so the WASM/local-game
491
+ * path reports the same specific reason as server-backed games.
492
+ * @returns {string}
493
+ */
494
+ termination() {
495
+ let deferred1_0;
496
+ let deferred1_1;
497
+ try {
498
+ const ret = wasm.wasmboard_termination(this.__wbg_ptr);
499
+ deferred1_0 = ret[0];
500
+ deferred1_1 = ret[1];
501
+ return getStringFromWasm0(ret[0], ret[1]);
502
+ } finally {
503
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
504
+ }
505
+ }
506
+ /**
507
+ * Returns whose turn it is: "white" or "black".
508
+ * @returns {string}
509
+ */
510
+ turn() {
511
+ let deferred1_0;
512
+ let deferred1_1;
513
+ try {
514
+ const ret = wasm.wasmboard_turn(this.__wbg_ptr);
515
+ deferred1_0 = ret[0];
516
+ deferred1_1 = ret[1];
517
+ return getStringFromWasm0(ret[0], ret[1]);
518
+ } finally {
519
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
520
+ }
521
+ }
522
+ }
523
+ if (Symbol.dispose) WasmBoard.prototype[Symbol.dispose] = WasmBoard.prototype.free;
524
+ exports.WasmBoard = WasmBoard;
525
+
526
+ /**
527
+ * Which new piece to calibrate. JS passes `"eagle"` or `"hawk"`.
528
+ * @param {string} piece
529
+ * @param {number} games
530
+ * @param {number} depth
531
+ * @param {number} max_half_moves
532
+ * @returns {number}
533
+ */
534
+ function calibrate_piece(piece, games, depth, max_half_moves) {
535
+ const ptr0 = passStringToWasm0(piece, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
536
+ const len0 = WASM_VECTOR_LEN;
537
+ const ret = wasm.calibrate_piece(ptr0, len0, games, depth, max_half_moves);
538
+ return ret;
539
+ }
540
+ exports.calibrate_piece = calibrate_piece;
541
+
542
+ /**
543
+ * Single combined init for both wasm-bindgen surfaces in this crate —
544
+ * wasm-bindgen only allows one `#[wasm_bindgen(start)]` function per
545
+ * crate. Merges what were two separate inits in the source repo
546
+ * (`hyperchess::wasm`'s panic hook + `Helper::init()`, and
547
+ * `hyperchess_3d`'s panic hook + `console_log` setup).
548
+ */
549
+ function init() {
550
+ wasm.init();
551
+ }
552
+ exports.init = init;
553
+ function __wbg_get_imports() {
554
+ const import0 = {
555
+ __proto__: null,
556
+ __wbg_Window_afcc911b2f9c92e2: function(arg0) {
557
+ const ret = arg0.Window;
558
+ return ret;
559
+ },
560
+ __wbg_WorkerGlobalScope_5d19ebc889ff397e: function(arg0) {
561
+ const ret = arg0.WorkerGlobalScope;
562
+ return ret;
563
+ },
564
+ __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
565
+ const v = arg0;
566
+ const ret = typeof(v) === 'boolean' ? v : undefined;
567
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
568
+ },
569
+ __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
570
+ const ret = debugString(arg1);
571
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
572
+ const len1 = WASM_VECTOR_LEN;
573
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
574
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
575
+ },
576
+ __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
577
+ const ret = typeof(arg0) === 'function';
578
+ return ret;
579
+ },
580
+ __wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
581
+ const ret = arg0 === null;
582
+ return ret;
583
+ },
584
+ __wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
585
+ const ret = typeof(arg0) === 'string';
586
+ return ret;
587
+ },
588
+ __wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
589
+ const ret = arg0 === undefined;
590
+ return ret;
591
+ },
592
+ __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
593
+ const obj = arg1;
594
+ const ret = typeof(obj) === 'number' ? obj : undefined;
595
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
596
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
597
+ },
598
+ __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
599
+ const obj = arg1;
600
+ const ret = typeof(obj) === 'string' ? obj : undefined;
601
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
602
+ var len1 = WASM_VECTOR_LEN;
603
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
604
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
605
+ },
606
+ __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
607
+ throw new Error(getStringFromWasm0(arg0, arg1));
608
+ },
609
+ __wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
610
+ arg0._wbg_cb_unref();
611
+ },
612
+ __wbg_activeTexture_92b04d918019d603: function(arg0, arg1) {
613
+ arg0.activeTexture(arg1 >>> 0);
614
+ },
615
+ __wbg_activeTexture_d12958674e97a118: function(arg0, arg1) {
616
+ arg0.activeTexture(arg1 >>> 0);
617
+ },
618
+ __wbg_attachShader_5f7f4077e124e23b: function(arg0, arg1, arg2) {
619
+ arg0.attachShader(arg1, arg2);
620
+ },
621
+ __wbg_attachShader_8971266b4c9bc514: function(arg0, arg1, arg2) {
622
+ arg0.attachShader(arg1, arg2);
623
+ },
624
+ __wbg_beginQuery_042a1f99e870066c: function(arg0, arg1, arg2) {
625
+ arg0.beginQuery(arg1 >>> 0, arg2);
626
+ },
627
+ __wbg_beginRenderPass_aa22c432e793359a: function() { return handleError(function (arg0, arg1) {
628
+ const ret = arg0.beginRenderPass(arg1);
629
+ return ret;
630
+ }, arguments); },
631
+ __wbg_bindAttribLocation_0fe5da7e01ac0d15: function(arg0, arg1, arg2, arg3, arg4) {
632
+ arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
633
+ },
634
+ __wbg_bindAttribLocation_94202d7a59ab7863: function(arg0, arg1, arg2, arg3, arg4) {
635
+ arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4));
636
+ },
637
+ __wbg_bindBufferRange_f5c29912db0476e9: function(arg0, arg1, arg2, arg3, arg4, arg5) {
638
+ arg0.bindBufferRange(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
639
+ },
640
+ __wbg_bindBuffer_1e00cfb4321ef9a4: function(arg0, arg1, arg2) {
641
+ arg0.bindBuffer(arg1 >>> 0, arg2);
642
+ },
643
+ __wbg_bindBuffer_a01497b1abdcdd9a: function(arg0, arg1, arg2) {
644
+ arg0.bindBuffer(arg1 >>> 0, arg2);
645
+ },
646
+ __wbg_bindFramebuffer_390311eff3896937: function(arg0, arg1, arg2) {
647
+ arg0.bindFramebuffer(arg1 >>> 0, arg2);
648
+ },
649
+ __wbg_bindFramebuffer_658e4b06f7ee8bb4: function(arg0, arg1, arg2) {
650
+ arg0.bindFramebuffer(arg1 >>> 0, arg2);
651
+ },
652
+ __wbg_bindRenderbuffer_75e8469e930840fa: function(arg0, arg1, arg2) {
653
+ arg0.bindRenderbuffer(arg1 >>> 0, arg2);
654
+ },
655
+ __wbg_bindRenderbuffer_c3d0c4b8cd1c3891: function(arg0, arg1, arg2) {
656
+ arg0.bindRenderbuffer(arg1 >>> 0, arg2);
657
+ },
658
+ __wbg_bindSampler_ce608f0de9d31acf: function(arg0, arg1, arg2) {
659
+ arg0.bindSampler(arg1 >>> 0, arg2);
660
+ },
661
+ __wbg_bindTexture_28eff4bbd8aaab54: function(arg0, arg1, arg2) {
662
+ arg0.bindTexture(arg1 >>> 0, arg2);
663
+ },
664
+ __wbg_bindTexture_9b04b1b7c00d4dd6: function(arg0, arg1, arg2) {
665
+ arg0.bindTexture(arg1 >>> 0, arg2);
666
+ },
667
+ __wbg_bindVertexArrayOES_5cad2205a17e8990: function(arg0, arg1) {
668
+ arg0.bindVertexArrayOES(arg1);
669
+ },
670
+ __wbg_bindVertexArray_427eeac0c1764d8a: function(arg0, arg1) {
671
+ arg0.bindVertexArray(arg1);
672
+ },
673
+ __wbg_blendColor_793b560dc69ddd0b: function(arg0, arg1, arg2, arg3, arg4) {
674
+ arg0.blendColor(arg1, arg2, arg3, arg4);
675
+ },
676
+ __wbg_blendColor_eae0cd578a2c7d15: function(arg0, arg1, arg2, arg3, arg4) {
677
+ arg0.blendColor(arg1, arg2, arg3, arg4);
678
+ },
679
+ __wbg_blendEquationSeparate_043e2f50f6ecb2d3: function(arg0, arg1, arg2) {
680
+ arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
681
+ },
682
+ __wbg_blendEquationSeparate_c7e2b2261c94e1c5: function(arg0, arg1, arg2) {
683
+ arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
684
+ },
685
+ __wbg_blendEquation_455b8986ededabc0: function(arg0, arg1) {
686
+ arg0.blendEquation(arg1 >>> 0);
687
+ },
688
+ __wbg_blendEquation_f5c5272993f6cb01: function(arg0, arg1) {
689
+ arg0.blendEquation(arg1 >>> 0);
690
+ },
691
+ __wbg_blendFuncSeparate_37156309688f8f88: function(arg0, arg1, arg2, arg3, arg4) {
692
+ arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
693
+ },
694
+ __wbg_blendFuncSeparate_3ee6d939a9f3938b: function(arg0, arg1, arg2, arg3, arg4) {
695
+ arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
696
+ },
697
+ __wbg_blendFunc_114dc7056ccfeb8d: function(arg0, arg1, arg2) {
698
+ arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
699
+ },
700
+ __wbg_blendFunc_a854d7e4459150ba: function(arg0, arg1, arg2) {
701
+ arg0.blendFunc(arg1 >>> 0, arg2 >>> 0);
702
+ },
703
+ __wbg_blitFramebuffer_a1215976f663b058: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
704
+ arg0.blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
705
+ },
706
+ __wbg_bufferData_073a7c6abef7a55f: function(arg0, arg1, arg2, arg3) {
707
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
708
+ },
709
+ __wbg_bufferData_3d4f29bdfb1fa46c: function(arg0, arg1, arg2, arg3) {
710
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
711
+ },
712
+ __wbg_bufferData_90ef588bac2be2f5: function(arg0, arg1, arg2, arg3) {
713
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
714
+ },
715
+ __wbg_bufferData_ce4f44d56e9ddab5: function(arg0, arg1, arg2, arg3) {
716
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
717
+ },
718
+ __wbg_bufferSubData_bae930b21e9c1c48: function(arg0, arg1, arg2, arg3) {
719
+ arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
720
+ },
721
+ __wbg_bufferSubData_ce9854d3d337e2cf: function(arg0, arg1, arg2, arg3) {
722
+ arg0.bufferSubData(arg1 >>> 0, arg2, arg3);
723
+ },
724
+ __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
725
+ const ret = arg0.call(arg1, arg2);
726
+ return ret;
727
+ }, arguments); },
728
+ __wbg_clearBufferfv_2e0f1a0ea56de859: function(arg0, arg1, arg2, arg3, arg4) {
729
+ arg0.clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
730
+ },
731
+ __wbg_clearBufferiv_0360269bf6e34c54: function(arg0, arg1, arg2, arg3, arg4) {
732
+ arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
733
+ },
734
+ __wbg_clearBufferuiv_df94a395d4915377: function(arg0, arg1, arg2, arg3, arg4) {
735
+ arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4));
736
+ },
737
+ __wbg_clearDepth_8b5d226aae155082: function(arg0, arg1) {
738
+ arg0.clearDepth(arg1);
739
+ },
740
+ __wbg_clearDepth_ca9b22d41551b513: function(arg0, arg1) {
741
+ arg0.clearDepth(arg1);
742
+ },
743
+ __wbg_clearStencil_58f2af46612bccae: function(arg0, arg1) {
744
+ arg0.clearStencil(arg1);
745
+ },
746
+ __wbg_clearStencil_a66fe23df6313fc7: function(arg0, arg1) {
747
+ arg0.clearStencil(arg1);
748
+ },
749
+ __wbg_clear_53d71d234e14e4c1: function(arg0, arg1) {
750
+ arg0.clear(arg1 >>> 0);
751
+ },
752
+ __wbg_clear_dd06a0da4ce8e13f: function(arg0, arg1) {
753
+ arg0.clear(arg1 >>> 0);
754
+ },
755
+ __wbg_clientWaitSync_cf8e49f8ba228377: function(arg0, arg1, arg2, arg3) {
756
+ const ret = arg0.clientWaitSync(arg1, arg2 >>> 0, arg3 >>> 0);
757
+ return ret;
758
+ },
759
+ __wbg_colorMask_44ebb91cad2502f2: function(arg0, arg1, arg2, arg3, arg4) {
760
+ arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
761
+ },
762
+ __wbg_colorMask_a4d164c2039b5731: function(arg0, arg1, arg2, arg3, arg4) {
763
+ arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
764
+ },
765
+ __wbg_compileShader_9bdfd792722cf704: function(arg0, arg1) {
766
+ arg0.compileShader(arg1);
767
+ },
768
+ __wbg_compileShader_fc2e4b73240d4fd7: function(arg0, arg1) {
769
+ arg0.compileShader(arg1);
770
+ },
771
+ __wbg_compressedTexSubImage2D_c1362291573c7268: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
772
+ arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9);
773
+ },
774
+ __wbg_compressedTexSubImage2D_da01674d2975d1ae: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
775
+ arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
776
+ },
777
+ __wbg_compressedTexSubImage2D_dd6dc580749eb5cf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
778
+ arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8);
779
+ },
780
+ __wbg_compressedTexSubImage3D_04cb8b046c4321fe: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
781
+ arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11);
782
+ },
783
+ __wbg_compressedTexSubImage3D_af0228a80ffd5993: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
784
+ arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10);
785
+ },
786
+ __wbg_configure_0e4789c0f6b35c8e: function() { return handleError(function (arg0, arg1) {
787
+ arg0.configure(arg1);
788
+ }, arguments); },
789
+ __wbg_copyBufferSubData_cdf61f74aa6e0902: function(arg0, arg1, arg2, arg3, arg4, arg5) {
790
+ arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
791
+ },
792
+ __wbg_copyTexSubImage2D_8daea651fc408645: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
793
+ arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
794
+ },
795
+ __wbg_copyTexSubImage2D_c73f91f1d7022402: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
796
+ arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
797
+ },
798
+ __wbg_copyTexSubImage3D_bfe7a14dac9ad777: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
799
+ arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
800
+ },
801
+ __wbg_createBindGroupLayout_49a7e2b3d076afcf: function() { return handleError(function (arg0, arg1) {
802
+ const ret = arg0.createBindGroupLayout(arg1);
803
+ return ret;
804
+ }, arguments); },
805
+ __wbg_createBindGroup_655c6e6c0258530e: function(arg0, arg1) {
806
+ const ret = arg0.createBindGroup(arg1);
807
+ return ret;
808
+ },
809
+ __wbg_createBuffer_01568a9d930d90dd: function(arg0) {
810
+ const ret = arg0.createBuffer();
811
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
812
+ },
813
+ __wbg_createBuffer_0726dd2ab09ea1d2: function() { return handleError(function (arg0, arg1) {
814
+ const ret = arg0.createBuffer(arg1);
815
+ return ret;
816
+ }, arguments); },
817
+ __wbg_createBuffer_2075765bde5035d5: function(arg0) {
818
+ const ret = arg0.createBuffer();
819
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
820
+ },
821
+ __wbg_createCommandEncoder_ec1f40f0cb4d09df: function(arg0, arg1) {
822
+ const ret = arg0.createCommandEncoder(arg1);
823
+ return ret;
824
+ },
825
+ __wbg_createFramebuffer_b24d2c80a8b9e7cc: function(arg0) {
826
+ const ret = arg0.createFramebuffer();
827
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
828
+ },
829
+ __wbg_createFramebuffer_de0d521f546e7534: function(arg0) {
830
+ const ret = arg0.createFramebuffer();
831
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
832
+ },
833
+ __wbg_createPipelineLayout_2c8cd4528b06c108: function(arg0, arg1) {
834
+ const ret = arg0.createPipelineLayout(arg1);
835
+ return ret;
836
+ },
837
+ __wbg_createProgram_118becaac3a20318: function(arg0) {
838
+ const ret = arg0.createProgram();
839
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
840
+ },
841
+ __wbg_createProgram_538c9777a4ac084f: function(arg0) {
842
+ const ret = arg0.createProgram();
843
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
844
+ },
845
+ __wbg_createQuery_047c7c524e4ac4f8: function(arg0) {
846
+ const ret = arg0.createQuery();
847
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
848
+ },
849
+ __wbg_createRenderPipeline_cf98d4d699bfb03c: function() { return handleError(function (arg0, arg1) {
850
+ const ret = arg0.createRenderPipeline(arg1);
851
+ return ret;
852
+ }, arguments); },
853
+ __wbg_createRenderbuffer_71af5c0d615e9271: function(arg0) {
854
+ const ret = arg0.createRenderbuffer();
855
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
856
+ },
857
+ __wbg_createRenderbuffer_9d801bf44c314f44: function(arg0) {
858
+ const ret = arg0.createRenderbuffer();
859
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
860
+ },
861
+ __wbg_createSampler_70c8392d98896235: function(arg0) {
862
+ const ret = arg0.createSampler();
863
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
864
+ },
865
+ __wbg_createShaderModule_2e44fc7677c6288b: function(arg0, arg1) {
866
+ const ret = arg0.createShaderModule(arg1);
867
+ return ret;
868
+ },
869
+ __wbg_createShader_78bc8b7e9a88e1a8: function(arg0, arg1) {
870
+ const ret = arg0.createShader(arg1 >>> 0);
871
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
872
+ },
873
+ __wbg_createShader_7d139f2d50f77365: function(arg0, arg1) {
874
+ const ret = arg0.createShader(arg1 >>> 0);
875
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
876
+ },
877
+ __wbg_createTexture_0ee0fa5f924f3d14: function(arg0) {
878
+ const ret = arg0.createTexture();
879
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
880
+ },
881
+ __wbg_createTexture_1bac74c999b8a48e: function() { return handleError(function (arg0, arg1) {
882
+ const ret = arg0.createTexture(arg1);
883
+ return ret;
884
+ }, arguments); },
885
+ __wbg_createTexture_d13f98e0d3d912f4: function(arg0) {
886
+ const ret = arg0.createTexture();
887
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
888
+ },
889
+ __wbg_createVertexArrayOES_2fa3e59eebd5f674: function(arg0) {
890
+ const ret = arg0.createVertexArrayOES();
891
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
892
+ },
893
+ __wbg_createVertexArray_baf9eef7ea5a2c7a: function(arg0) {
894
+ const ret = arg0.createVertexArray();
895
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
896
+ },
897
+ __wbg_createView_ceaf2f5881adbd34: function() { return handleError(function (arg0, arg1) {
898
+ const ret = arg0.createView(arg1);
899
+ return ret;
900
+ }, arguments); },
901
+ __wbg_cullFace_62bbea3bef0e6b99: function(arg0, arg1) {
902
+ arg0.cullFace(arg1 >>> 0);
903
+ },
904
+ __wbg_cullFace_f1c75ae19b07eaf3: function(arg0, arg1) {
905
+ arg0.cullFace(arg1 >>> 0);
906
+ },
907
+ __wbg_debug_87fd9b1a625b7efb: function(arg0) {
908
+ console.debug(arg0);
909
+ },
910
+ __wbg_deleteBuffer_08eb938e35c27967: function(arg0, arg1) {
911
+ arg0.deleteBuffer(arg1);
912
+ },
913
+ __wbg_deleteBuffer_1ca3ffe668a488e7: function(arg0, arg1) {
914
+ arg0.deleteBuffer(arg1);
915
+ },
916
+ __wbg_deleteFramebuffer_963cd69957209d37: function(arg0, arg1) {
917
+ arg0.deleteFramebuffer(arg1);
918
+ },
919
+ __wbg_deleteFramebuffer_d1a36e889b009344: function(arg0, arg1) {
920
+ arg0.deleteFramebuffer(arg1);
921
+ },
922
+ __wbg_deleteProgram_09bd45a51105b2f6: function(arg0, arg1) {
923
+ arg0.deleteProgram(arg1);
924
+ },
925
+ __wbg_deleteProgram_132e191baa9fa84f: function(arg0, arg1) {
926
+ arg0.deleteProgram(arg1);
927
+ },
928
+ __wbg_deleteQuery_0d1dcc4402a86ee1: function(arg0, arg1) {
929
+ arg0.deleteQuery(arg1);
930
+ },
931
+ __wbg_deleteRenderbuffer_52bdbf5ab2cbe62a: function(arg0, arg1) {
932
+ arg0.deleteRenderbuffer(arg1);
933
+ },
934
+ __wbg_deleteRenderbuffer_ca999f7883b777af: function(arg0, arg1) {
935
+ arg0.deleteRenderbuffer(arg1);
936
+ },
937
+ __wbg_deleteSampler_0abb528566c4ab3b: function(arg0, arg1) {
938
+ arg0.deleteSampler(arg1);
939
+ },
940
+ __wbg_deleteShader_3120790d36063afe: function(arg0, arg1) {
941
+ arg0.deleteShader(arg1);
942
+ },
943
+ __wbg_deleteShader_993edb4beb3c4d53: function(arg0, arg1) {
944
+ arg0.deleteShader(arg1);
945
+ },
946
+ __wbg_deleteSync_9b0e43580942a0f6: function(arg0, arg1) {
947
+ arg0.deleteSync(arg1);
948
+ },
949
+ __wbg_deleteTexture_2b163b157ea1be24: function(arg0, arg1) {
950
+ arg0.deleteTexture(arg1);
951
+ },
952
+ __wbg_deleteTexture_bdc2202d7a50dcea: function(arg0, arg1) {
953
+ arg0.deleteTexture(arg1);
954
+ },
955
+ __wbg_deleteVertexArrayOES_7fa59c32cfdfa6fa: function(arg0, arg1) {
956
+ arg0.deleteVertexArrayOES(arg1);
957
+ },
958
+ __wbg_deleteVertexArray_475d4e969aac1dd0: function(arg0, arg1) {
959
+ arg0.deleteVertexArray(arg1);
960
+ },
961
+ __wbg_depthFunc_455cfeb8a9d2fb4c: function(arg0, arg1) {
962
+ arg0.depthFunc(arg1 >>> 0);
963
+ },
964
+ __wbg_depthFunc_74a8f8acf8973c86: function(arg0, arg1) {
965
+ arg0.depthFunc(arg1 >>> 0);
966
+ },
967
+ __wbg_depthMask_4bd6c73b1339d257: function(arg0, arg1) {
968
+ arg0.depthMask(arg1 !== 0);
969
+ },
970
+ __wbg_depthMask_a644a67deced3257: function(arg0, arg1) {
971
+ arg0.depthMask(arg1 !== 0);
972
+ },
973
+ __wbg_depthRange_38b2287ffbea14fd: function(arg0, arg1, arg2) {
974
+ arg0.depthRange(arg1, arg2);
975
+ },
976
+ __wbg_depthRange_5e90d4d236280ff5: function(arg0, arg1, arg2) {
977
+ arg0.depthRange(arg1, arg2);
978
+ },
979
+ __wbg_destroy_fe937f756bf8df37: function(arg0) {
980
+ arg0.destroy();
981
+ },
982
+ __wbg_disableVertexAttribArray_160060fbd7e97de0: function(arg0, arg1) {
983
+ arg0.disableVertexAttribArray(arg1 >>> 0);
984
+ },
985
+ __wbg_disableVertexAttribArray_c7915eb0de6dd8f1: function(arg0, arg1) {
986
+ arg0.disableVertexAttribArray(arg1 >>> 0);
987
+ },
988
+ __wbg_disable_1659d1b7d50c31e7: function(arg0, arg1) {
989
+ arg0.disable(arg1 >>> 0);
990
+ },
991
+ __wbg_disable_40c3975167c1ee07: function(arg0, arg1) {
992
+ arg0.disable(arg1 >>> 0);
993
+ },
994
+ __wbg_document_179650d6cb13c263: function(arg0) {
995
+ const ret = arg0.document;
996
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
997
+ },
998
+ __wbg_drawArraysInstancedANGLE_d58dbd2d38fdebaa: function(arg0, arg1, arg2, arg3, arg4) {
999
+ arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
1000
+ },
1001
+ __wbg_drawArraysInstanced_51b161548a3f10c4: function(arg0, arg1, arg2, arg3, arg4) {
1002
+ arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
1003
+ },
1004
+ __wbg_drawArrays_676becae0149ed65: function(arg0, arg1, arg2, arg3) {
1005
+ arg0.drawArrays(arg1 >>> 0, arg2, arg3);
1006
+ },
1007
+ __wbg_drawArrays_b0c59a6e158122f2: function(arg0, arg1, arg2, arg3) {
1008
+ arg0.drawArrays(arg1 >>> 0, arg2, arg3);
1009
+ },
1010
+ __wbg_drawBuffersWEBGL_c9b47f7f207125cf: function(arg0, arg1) {
1011
+ arg0.drawBuffersWEBGL(arg1);
1012
+ },
1013
+ __wbg_drawBuffers_1c1ec9b292442a2a: function(arg0, arg1) {
1014
+ arg0.drawBuffers(arg1);
1015
+ },
1016
+ __wbg_drawElementsInstancedANGLE_9b58c4013373b180: function(arg0, arg1, arg2, arg3, arg4, arg5) {
1017
+ arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
1018
+ },
1019
+ __wbg_drawElementsInstanced_c7f96ea02e6d5326: function(arg0, arg1, arg2, arg3, arg4, arg5) {
1020
+ arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
1021
+ },
1022
+ __wbg_drawIndexed_d31913e79d58fbac: function(arg0, arg1, arg2, arg3, arg4, arg5) {
1023
+ arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
1024
+ },
1025
+ __wbg_enableVertexAttribArray_4c08219124740f14: function(arg0, arg1) {
1026
+ arg0.enableVertexAttribArray(arg1 >>> 0);
1027
+ },
1028
+ __wbg_enableVertexAttribArray_7470ba2dcf2606e3: function(arg0, arg1) {
1029
+ arg0.enableVertexAttribArray(arg1 >>> 0);
1030
+ },
1031
+ __wbg_enable_28bbeed576131d1f: function(arg0, arg1) {
1032
+ arg0.enable(arg1 >>> 0);
1033
+ },
1034
+ __wbg_enable_611804c0ac1504ce: function(arg0, arg1) {
1035
+ arg0.enable(arg1 >>> 0);
1036
+ },
1037
+ __wbg_endQuery_a50f7fc49cfe56e9: function(arg0, arg1) {
1038
+ arg0.endQuery(arg1 >>> 0);
1039
+ },
1040
+ __wbg_end_f99ebed53d4e198a: function(arg0) {
1041
+ arg0.end();
1042
+ },
1043
+ __wbg_error_744744ff0c9861e6: function(arg0) {
1044
+ console.error(arg0);
1045
+ },
1046
+ __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
1047
+ let deferred0_0;
1048
+ let deferred0_1;
1049
+ try {
1050
+ deferred0_0 = arg0;
1051
+ deferred0_1 = arg1;
1052
+ console.error(getStringFromWasm0(arg0, arg1));
1053
+ } finally {
1054
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1055
+ }
1056
+ },
1057
+ __wbg_fenceSync_fe2cdba4a0d73679: function(arg0, arg1, arg2) {
1058
+ const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0);
1059
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1060
+ },
1061
+ __wbg_finish_126e6f2ac71e3096: function(arg0) {
1062
+ arg0.finish();
1063
+ },
1064
+ __wbg_finish_4d91de5e927dd13f: function(arg0, arg1) {
1065
+ const ret = arg0.finish(arg1);
1066
+ return ret;
1067
+ },
1068
+ __wbg_finish_6e06b68ab68cd9f6: function(arg0) {
1069
+ const ret = arg0.finish();
1070
+ return ret;
1071
+ },
1072
+ __wbg_finish_cbe7ec8675dd7705: function(arg0) {
1073
+ arg0.finish();
1074
+ },
1075
+ __wbg_flush_db77b4a63d6b337d: function(arg0) {
1076
+ arg0.flush();
1077
+ },
1078
+ __wbg_flush_e03c08da6863b5ab: function(arg0) {
1079
+ arg0.flush();
1080
+ },
1081
+ __wbg_framebufferRenderbuffer_4404cf9f9cb76937: function(arg0, arg1, arg2, arg3, arg4) {
1082
+ arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
1083
+ },
1084
+ __wbg_framebufferRenderbuffer_ba8bd5e008ee87eb: function(arg0, arg1, arg2, arg3, arg4) {
1085
+ arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4);
1086
+ },
1087
+ __wbg_framebufferTexture2D_3c2abd606fc53f31: function(arg0, arg1, arg2, arg3, arg4, arg5) {
1088
+ arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
1089
+ },
1090
+ __wbg_framebufferTexture2D_e1fb64212fcda219: function(arg0, arg1, arg2, arg3, arg4, arg5) {
1091
+ arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5);
1092
+ },
1093
+ __wbg_framebufferTextureLayer_f2d9db097bfbb863: function(arg0, arg1, arg2, arg3, arg4, arg5) {
1094
+ arg0.framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
1095
+ },
1096
+ __wbg_framebufferTextureMultiviewOVR_28d492b9dc484220: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1097
+ arg0.framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5, arg6);
1098
+ },
1099
+ __wbg_frontFace_29ef7151de8b5ed9: function(arg0, arg1) {
1100
+ arg0.frontFace(arg1 >>> 0);
1101
+ },
1102
+ __wbg_frontFace_fc6d98dafa42de87: function(arg0, arg1) {
1103
+ arg0.frontFace(arg1 >>> 0);
1104
+ },
1105
+ __wbg_getBufferSubData_11018928c908ac2c: function(arg0, arg1, arg2, arg3) {
1106
+ arg0.getBufferSubData(arg1 >>> 0, arg2, arg3);
1107
+ },
1108
+ __wbg_getContext_7476e39fa008047e: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1109
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
1110
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1111
+ }, arguments); },
1112
+ __wbg_getContext_ca12bb65aab778a4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1113
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3);
1114
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1115
+ }, arguments); },
1116
+ __wbg_getContext_e79ddf6a9cb3cc76: function() { return handleError(function (arg0, arg1, arg2) {
1117
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
1118
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1119
+ }, arguments); },
1120
+ __wbg_getContext_fd298c901058eb31: function() { return handleError(function (arg0, arg1, arg2) {
1121
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
1122
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1123
+ }, arguments); },
1124
+ __wbg_getCurrentTexture_20714d1bd9051cab: function() { return handleError(function (arg0) {
1125
+ const ret = arg0.getCurrentTexture();
1126
+ return ret;
1127
+ }, arguments); },
1128
+ __wbg_getExtension_101c7e41de3e4d90: function() { return handleError(function (arg0, arg1, arg2) {
1129
+ const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
1130
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1131
+ }, arguments); },
1132
+ __wbg_getIndexedParameter_6d7a5bcccaa0f3e2: function() { return handleError(function (arg0, arg1, arg2) {
1133
+ const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0);
1134
+ return ret;
1135
+ }, arguments); },
1136
+ __wbg_getMappedRange_d0bf3141224111b6: function() { return handleError(function (arg0, arg1, arg2) {
1137
+ const ret = arg0.getMappedRange(arg1, arg2);
1138
+ return ret;
1139
+ }, arguments); },
1140
+ __wbg_getParameter_039a5899307fab55: function() { return handleError(function (arg0, arg1) {
1141
+ const ret = arg0.getParameter(arg1 >>> 0);
1142
+ return ret;
1143
+ }, arguments); },
1144
+ __wbg_getParameter_d39f59581389af1b: function() { return handleError(function (arg0, arg1) {
1145
+ const ret = arg0.getParameter(arg1 >>> 0);
1146
+ return ret;
1147
+ }, arguments); },
1148
+ __wbg_getPreferredCanvasFormat_8b57039d1801a506: function(arg0) {
1149
+ const ret = arg0.getPreferredCanvasFormat();
1150
+ return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 102) - 1;
1151
+ },
1152
+ __wbg_getProgramInfoLog_c4762e0513468a26: function(arg0, arg1, arg2) {
1153
+ const ret = arg1.getProgramInfoLog(arg2);
1154
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1155
+ var len1 = WASM_VECTOR_LEN;
1156
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1157
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1158
+ },
1159
+ __wbg_getProgramInfoLog_d1ce570463a68779: function(arg0, arg1, arg2) {
1160
+ const ret = arg1.getProgramInfoLog(arg2);
1161
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1162
+ var len1 = WASM_VECTOR_LEN;
1163
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1164
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1165
+ },
1166
+ __wbg_getProgramParameter_b9995b56c258ac86: function(arg0, arg1, arg2) {
1167
+ const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
1168
+ return ret;
1169
+ },
1170
+ __wbg_getProgramParameter_c8d1154fbb3c0890: function(arg0, arg1, arg2) {
1171
+ const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
1172
+ return ret;
1173
+ },
1174
+ __wbg_getQueryParameter_919125495ccb17ca: function(arg0, arg1, arg2) {
1175
+ const ret = arg0.getQueryParameter(arg1, arg2 >>> 0);
1176
+ return ret;
1177
+ },
1178
+ __wbg_getShaderInfoLog_5cee2add982c7165: function(arg0, arg1, arg2) {
1179
+ const ret = arg1.getShaderInfoLog(arg2);
1180
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1181
+ var len1 = WASM_VECTOR_LEN;
1182
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1183
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1184
+ },
1185
+ __wbg_getShaderInfoLog_bc236afe696c1283: function(arg0, arg1, arg2) {
1186
+ const ret = arg1.getShaderInfoLog(arg2);
1187
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1188
+ var len1 = WASM_VECTOR_LEN;
1189
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1190
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1191
+ },
1192
+ __wbg_getShaderParameter_3394e75dcb97f380: function(arg0, arg1, arg2) {
1193
+ const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
1194
+ return ret;
1195
+ },
1196
+ __wbg_getShaderParameter_cbcc0995e8e16214: function(arg0, arg1, arg2) {
1197
+ const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
1198
+ return ret;
1199
+ },
1200
+ __wbg_getSupportedExtensions_2a7458ec45e82560: function(arg0) {
1201
+ const ret = arg0.getSupportedExtensions();
1202
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1203
+ },
1204
+ __wbg_getSupportedProfiles_90a4f330938d0241: function(arg0) {
1205
+ const ret = arg0.getSupportedProfiles();
1206
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1207
+ },
1208
+ __wbg_getSyncParameter_d8f6c145657a3550: function(arg0, arg1, arg2) {
1209
+ const ret = arg0.getSyncParameter(arg1, arg2 >>> 0);
1210
+ return ret;
1211
+ },
1212
+ __wbg_getUniformBlockIndex_cfee6ff6d323c784: function(arg0, arg1, arg2, arg3) {
1213
+ const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3));
1214
+ return ret;
1215
+ },
1216
+ __wbg_getUniformLocation_24ef46cdda2148ab: function(arg0, arg1, arg2, arg3) {
1217
+ const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
1218
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1219
+ },
1220
+ __wbg_getUniformLocation_788a34295dd6fabe: function(arg0, arg1, arg2, arg3) {
1221
+ const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
1222
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1223
+ },
1224
+ __wbg_get_b2053e9bfdf3ca8e: function(arg0, arg1) {
1225
+ const ret = arg0[arg1 >>> 0];
1226
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1227
+ },
1228
+ __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
1229
+ const ret = arg0[arg1 >>> 0];
1230
+ return ret;
1231
+ },
1232
+ __wbg_gpu_2ccc250735d24a2a: function(arg0) {
1233
+ const ret = arg0.gpu;
1234
+ return ret;
1235
+ },
1236
+ __wbg_height_6eec812c213259a1: function(arg0) {
1237
+ const ret = arg0.height;
1238
+ return ret;
1239
+ },
1240
+ __wbg_includes_78c9a3115b08eddc: function(arg0, arg1, arg2) {
1241
+ const ret = arg0.includes(arg1, arg2);
1242
+ return ret;
1243
+ },
1244
+ __wbg_info_eadbe775a8e2e9eb: function(arg0) {
1245
+ console.info(arg0);
1246
+ },
1247
+ __wbg_instanceof_HtmlCanvasElement_ed02ed9136056019: function(arg0) {
1248
+ let result;
1249
+ try {
1250
+ result = arg0 instanceof HTMLCanvasElement;
1251
+ } catch (_) {
1252
+ result = false;
1253
+ }
1254
+ const ret = result;
1255
+ return ret;
1256
+ },
1257
+ __wbg_instanceof_WebGl2RenderingContext_90225152e4e3c799: function(arg0) {
1258
+ let result;
1259
+ try {
1260
+ result = arg0 instanceof WebGL2RenderingContext;
1261
+ } catch (_) {
1262
+ result = false;
1263
+ }
1264
+ const ret = result;
1265
+ return ret;
1266
+ },
1267
+ __wbg_instanceof_Window_05ba1ee4f6781663: function(arg0) {
1268
+ let result;
1269
+ try {
1270
+ result = arg0 instanceof Window;
1271
+ } catch (_) {
1272
+ result = false;
1273
+ }
1274
+ const ret = result;
1275
+ return ret;
1276
+ },
1277
+ __wbg_invalidateFramebuffer_343bbfb15e6835fd: function() { return handleError(function (arg0, arg1, arg2) {
1278
+ arg0.invalidateFramebuffer(arg1 >>> 0, arg2);
1279
+ }, arguments); },
1280
+ __wbg_is_7b9d0b289033c7de: function(arg0, arg1) {
1281
+ const ret = Object.is(arg0, arg1);
1282
+ return ret;
1283
+ },
1284
+ __wbg_label_7ed42f25f841996b: function(arg0, arg1) {
1285
+ const ret = arg1.label;
1286
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1287
+ const len1 = WASM_VECTOR_LEN;
1288
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1289
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1290
+ },
1291
+ __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
1292
+ const ret = arg0.length;
1293
+ return ret;
1294
+ },
1295
+ __wbg_length_370319915dc99107: function(arg0) {
1296
+ const ret = arg0.length;
1297
+ return ret;
1298
+ },
1299
+ __wbg_limits_20c6f56636df7d38: function(arg0) {
1300
+ const ret = arg0.limits;
1301
+ return ret;
1302
+ },
1303
+ __wbg_linkProgram_4e047fb3197a0348: function(arg0, arg1) {
1304
+ arg0.linkProgram(arg1);
1305
+ },
1306
+ __wbg_linkProgram_d7c71c539c8c6a43: function(arg0, arg1) {
1307
+ arg0.linkProgram(arg1);
1308
+ },
1309
+ __wbg_log_d267660666346fb3: function(arg0) {
1310
+ console.log(arg0);
1311
+ },
1312
+ __wbg_mapAsync_52b01fa9e8f765fd: function(arg0, arg1, arg2, arg3) {
1313
+ const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
1314
+ return ret;
1315
+ },
1316
+ __wbg_matchMedia_9968278b31706f78: function() { return handleError(function (arg0, arg1, arg2) {
1317
+ const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
1318
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1319
+ }, arguments); },
1320
+ __wbg_matches_978994974df1e85b: function(arg0) {
1321
+ const ret = arg0.matches;
1322
+ return ret;
1323
+ },
1324
+ __wbg_maxBindGroupsPlusVertexBuffers_33e5006b23e20478: function(arg0) {
1325
+ const ret = arg0.maxBindGroupsPlusVertexBuffers;
1326
+ return ret;
1327
+ },
1328
+ __wbg_maxBindGroups_f6d26f3a67826666: function(arg0) {
1329
+ const ret = arg0.maxBindGroups;
1330
+ return ret;
1331
+ },
1332
+ __wbg_maxBindingsPerBindGroup_edab2e8dabbf6060: function(arg0) {
1333
+ const ret = arg0.maxBindingsPerBindGroup;
1334
+ return ret;
1335
+ },
1336
+ __wbg_maxBufferSize_bbc69284c14aa7da: function(arg0) {
1337
+ const ret = arg0.maxBufferSize;
1338
+ return ret;
1339
+ },
1340
+ __wbg_maxColorAttachmentBytesPerSample_63ebe4f81de2f34c: function(arg0) {
1341
+ const ret = arg0.maxColorAttachmentBytesPerSample;
1342
+ return ret;
1343
+ },
1344
+ __wbg_maxColorAttachments_aed8c38beabf3a5c: function(arg0) {
1345
+ const ret = arg0.maxColorAttachments;
1346
+ return ret;
1347
+ },
1348
+ __wbg_maxComputeInvocationsPerWorkgroup_2d964564c37f1c65: function(arg0) {
1349
+ const ret = arg0.maxComputeInvocationsPerWorkgroup;
1350
+ return ret;
1351
+ },
1352
+ __wbg_maxComputeWorkgroupSizeX_a3e3206570da184f: function(arg0) {
1353
+ const ret = arg0.maxComputeWorkgroupSizeX;
1354
+ return ret;
1355
+ },
1356
+ __wbg_maxComputeWorkgroupSizeY_dffa4a62244b7563: function(arg0) {
1357
+ const ret = arg0.maxComputeWorkgroupSizeY;
1358
+ return ret;
1359
+ },
1360
+ __wbg_maxComputeWorkgroupSizeZ_976ebcb760f6d07d: function(arg0) {
1361
+ const ret = arg0.maxComputeWorkgroupSizeZ;
1362
+ return ret;
1363
+ },
1364
+ __wbg_maxComputeWorkgroupStorageSize_2e8dbece6e532e2a: function(arg0) {
1365
+ const ret = arg0.maxComputeWorkgroupStorageSize;
1366
+ return ret;
1367
+ },
1368
+ __wbg_maxComputeWorkgroupsPerDimension_bb7d36b4d20c80f4: function(arg0) {
1369
+ const ret = arg0.maxComputeWorkgroupsPerDimension;
1370
+ return ret;
1371
+ },
1372
+ __wbg_maxDynamicStorageBuffersPerPipelineLayout_1ca859cb96a414e0: function(arg0) {
1373
+ const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
1374
+ return ret;
1375
+ },
1376
+ __wbg_maxDynamicUniformBuffersPerPipelineLayout_e968f2c8cd8f4d46: function(arg0) {
1377
+ const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
1378
+ return ret;
1379
+ },
1380
+ __wbg_maxInterStageShaderVariables_138ac882c4d6a3d3: function(arg0) {
1381
+ const ret = arg0.maxInterStageShaderVariables;
1382
+ return ret;
1383
+ },
1384
+ __wbg_maxSampledTexturesPerShaderStage_bb3e6b2698321fa6: function(arg0) {
1385
+ const ret = arg0.maxSampledTexturesPerShaderStage;
1386
+ return ret;
1387
+ },
1388
+ __wbg_maxSamplersPerShaderStage_98c00a1829fa414b: function(arg0) {
1389
+ const ret = arg0.maxSamplersPerShaderStage;
1390
+ return ret;
1391
+ },
1392
+ __wbg_maxStorageBufferBindingSize_e500e31f479e669e: function(arg0) {
1393
+ const ret = arg0.maxStorageBufferBindingSize;
1394
+ return ret;
1395
+ },
1396
+ __wbg_maxStorageBuffersPerShaderStage_eb663f6d7521b6a7: function(arg0) {
1397
+ const ret = arg0.maxStorageBuffersPerShaderStage;
1398
+ return ret;
1399
+ },
1400
+ __wbg_maxStorageTexturesPerShaderStage_bb3ad93b53e618c0: function(arg0) {
1401
+ const ret = arg0.maxStorageTexturesPerShaderStage;
1402
+ return ret;
1403
+ },
1404
+ __wbg_maxTextureArrayLayers_2a56d05fb261c99a: function(arg0) {
1405
+ const ret = arg0.maxTextureArrayLayers;
1406
+ return ret;
1407
+ },
1408
+ __wbg_maxTextureDimension1D_84590c1d4770d319: function(arg0) {
1409
+ const ret = arg0.maxTextureDimension1D;
1410
+ return ret;
1411
+ },
1412
+ __wbg_maxTextureDimension2D_7f2b5c8b2727e3fc: function(arg0) {
1413
+ const ret = arg0.maxTextureDimension2D;
1414
+ return ret;
1415
+ },
1416
+ __wbg_maxTextureDimension3D_7f3babddf55c32a6: function(arg0) {
1417
+ const ret = arg0.maxTextureDimension3D;
1418
+ return ret;
1419
+ },
1420
+ __wbg_maxUniformBufferBindingSize_d80a09e23c0b284c: function(arg0) {
1421
+ const ret = arg0.maxUniformBufferBindingSize;
1422
+ return ret;
1423
+ },
1424
+ __wbg_maxUniformBuffersPerShaderStage_0b8b2de676fa740e: function(arg0) {
1425
+ const ret = arg0.maxUniformBuffersPerShaderStage;
1426
+ return ret;
1427
+ },
1428
+ __wbg_maxVertexAttributes_a693dd921316649b: function(arg0) {
1429
+ const ret = arg0.maxVertexAttributes;
1430
+ return ret;
1431
+ },
1432
+ __wbg_maxVertexBufferArrayStride_f256d91f281076cb: function(arg0) {
1433
+ const ret = arg0.maxVertexBufferArrayStride;
1434
+ return ret;
1435
+ },
1436
+ __wbg_maxVertexBuffers_70ab564b25d5ac20: function(arg0) {
1437
+ const ret = arg0.maxVertexBuffers;
1438
+ return ret;
1439
+ },
1440
+ __wbg_minStorageBufferOffsetAlignment_3248ed00dcdbf79f: function(arg0) {
1441
+ const ret = arg0.minStorageBufferOffsetAlignment;
1442
+ return ret;
1443
+ },
1444
+ __wbg_minUniformBufferOffsetAlignment_3b9fa4caae03e903: function(arg0) {
1445
+ const ret = arg0.minUniformBufferOffsetAlignment;
1446
+ return ret;
1447
+ },
1448
+ __wbg_navigator_51379c10a84aeec9: function(arg0) {
1449
+ const ret = arg0.navigator;
1450
+ return ret;
1451
+ },
1452
+ __wbg_navigator_99621db14b3f1099: function(arg0) {
1453
+ const ret = arg0.navigator;
1454
+ return ret;
1455
+ },
1456
+ __wbg_new_227d7c05414eb861: function() {
1457
+ const ret = new Error();
1458
+ return ret;
1459
+ },
1460
+ __wbg_new_25e75d1f0df4d87a: function() { return handleError(function (arg0, arg1) {
1461
+ const ret = new OffscreenCanvas(arg0 >>> 0, arg1 >>> 0);
1462
+ return ret;
1463
+ }, arguments); },
1464
+ __wbg_new_32b398fb48b6d94a: function() {
1465
+ const ret = new Array();
1466
+ return ret;
1467
+ },
1468
+ __wbg_new_da52cf8fe3429cb2: function() {
1469
+ const ret = new Object();
1470
+ return ret;
1471
+ },
1472
+ __wbg_new_typed_1824d93f294193e5: function(arg0, arg1) {
1473
+ try {
1474
+ var state0 = {a: arg0, b: arg1};
1475
+ var cb0 = (arg0, arg1) => {
1476
+ const a = state0.a;
1477
+ state0.a = 0;
1478
+ try {
1479
+ return wasm_bindgen__convert__closures_____invoke__h73e935f3b365ecab(a, state0.b, arg0, arg1);
1480
+ } finally {
1481
+ state0.a = a;
1482
+ }
1483
+ };
1484
+ const ret = new Promise(cb0);
1485
+ return ret;
1486
+ } finally {
1487
+ state0.a = 0;
1488
+ }
1489
+ },
1490
+ __wbg_new_typed_4148bd5ae72ab3f0: function() {
1491
+ const ret = new Object();
1492
+ return ret;
1493
+ },
1494
+ __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
1495
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1496
+ return ret;
1497
+ },
1498
+ __wbg_now_390768da5ee9e776: function(arg0) {
1499
+ const ret = arg0.now();
1500
+ return ret;
1501
+ },
1502
+ __wbg_now_86c0d4ba3fa605b8: function() {
1503
+ const ret = Date.now();
1504
+ return ret;
1505
+ },
1506
+ __wbg_of_85f52f8b6491a7ca: function(arg0) {
1507
+ const ret = Array.of(arg0);
1508
+ return ret;
1509
+ },
1510
+ __wbg_onSubmittedWorkDone_270d6b5a45520e79: function(arg0) {
1511
+ const ret = arg0.onSubmittedWorkDone();
1512
+ return ret;
1513
+ },
1514
+ __wbg_performance_3ef602e13d6c3b56: function(arg0) {
1515
+ const ret = arg0.performance;
1516
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1517
+ },
1518
+ __wbg_pixelStorei_2a93b18efde9acf8: function(arg0, arg1, arg2) {
1519
+ arg0.pixelStorei(arg1 >>> 0, arg2);
1520
+ },
1521
+ __wbg_pixelStorei_c844cd0db4f1fde6: function(arg0, arg1, arg2) {
1522
+ arg0.pixelStorei(arg1 >>> 0, arg2);
1523
+ },
1524
+ __wbg_polygonOffset_4eb460adf41db6cd: function(arg0, arg1, arg2) {
1525
+ arg0.polygonOffset(arg1, arg2);
1526
+ },
1527
+ __wbg_polygonOffset_eccb68e40a18f861: function(arg0, arg1, arg2) {
1528
+ arg0.polygonOffset(arg1, arg2);
1529
+ },
1530
+ __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
1531
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1532
+ },
1533
+ __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
1534
+ const ret = arg0.push(arg1);
1535
+ return ret;
1536
+ },
1537
+ __wbg_queryCounterEXT_b74a4567ddfeecf0: function(arg0, arg1, arg2) {
1538
+ arg0.queryCounterEXT(arg1, arg2 >>> 0);
1539
+ },
1540
+ __wbg_querySelectorAll_7e98cbe256deaadd: function() { return handleError(function (arg0, arg1, arg2) {
1541
+ const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
1542
+ return ret;
1543
+ }, arguments); },
1544
+ __wbg_querySelector_fd7d157ebe17cd16: function() { return handleError(function (arg0, arg1, arg2) {
1545
+ const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
1546
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1547
+ }, arguments); },
1548
+ __wbg_queueMicrotask_0ab5b2d2393e99b9: function(arg0) {
1549
+ const ret = arg0.queueMicrotask;
1550
+ return ret;
1551
+ },
1552
+ __wbg_queueMicrotask_6a09b7bc46549209: function(arg0) {
1553
+ queueMicrotask(arg0);
1554
+ },
1555
+ __wbg_queue_adce34608fd0c893: function(arg0) {
1556
+ const ret = arg0.queue;
1557
+ return ret;
1558
+ },
1559
+ __wbg_readBuffer_4271437a70aae481: function(arg0, arg1) {
1560
+ arg0.readBuffer(arg1 >>> 0);
1561
+ },
1562
+ __wbg_readPixels_5f013a7d85b23800: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1563
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
1564
+ }, arguments); },
1565
+ __wbg_readPixels_82c9dee754d58176: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1566
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
1567
+ }, arguments); },
1568
+ __wbg_readPixels_c7861e25836bf57b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1569
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
1570
+ }, arguments); },
1571
+ __wbg_renderbufferStorageMultisample_5c6e5d20c0eaa6ba: function(arg0, arg1, arg2, arg3, arg4, arg5) {
1572
+ arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
1573
+ },
1574
+ __wbg_renderbufferStorage_0a8de92542893819: function(arg0, arg1, arg2, arg3, arg4) {
1575
+ arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
1576
+ },
1577
+ __wbg_renderbufferStorage_ab5f745ff8efce3d: function(arg0, arg1, arg2, arg3, arg4) {
1578
+ arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
1579
+ },
1580
+ __wbg_requestAdapter_2e6718811c735a57: function(arg0, arg1) {
1581
+ const ret = arg0.requestAdapter(arg1);
1582
+ return ret;
1583
+ },
1584
+ __wbg_requestAdapter_fedd76261c649e55: function(arg0) {
1585
+ const ret = arg0.requestAdapter();
1586
+ return ret;
1587
+ },
1588
+ __wbg_requestDevice_ab46d0519ea1cc34: function(arg0, arg1) {
1589
+ const ret = arg0.requestDevice(arg1);
1590
+ return ret;
1591
+ },
1592
+ __wbg_resolve_2191a4dfe481c25b: function(arg0) {
1593
+ const ret = Promise.resolve(arg0);
1594
+ return ret;
1595
+ },
1596
+ __wbg_samplerParameterf_0b3308eeb1faa3a1: function(arg0, arg1, arg2, arg3) {
1597
+ arg0.samplerParameterf(arg1, arg2 >>> 0, arg3);
1598
+ },
1599
+ __wbg_samplerParameteri_7b1b4091de49aabb: function(arg0, arg1, arg2, arg3) {
1600
+ arg0.samplerParameteri(arg1, arg2 >>> 0, arg3);
1601
+ },
1602
+ __wbg_scene3d_new: function(arg0) {
1603
+ const ret = Scene3D.__wrap(arg0);
1604
+ return ret;
1605
+ },
1606
+ __wbg_scissor_105e756596bc35df: function(arg0, arg1, arg2, arg3, arg4) {
1607
+ arg0.scissor(arg1, arg2, arg3, arg4);
1608
+ },
1609
+ __wbg_scissor_573b844152316b8d: function(arg0, arg1, arg2, arg3, arg4) {
1610
+ arg0.scissor(arg1, arg2, arg3, arg4);
1611
+ },
1612
+ __wbg_setBindGroup_268fd1714fff0ef5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1613
+ arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
1614
+ }, arguments); },
1615
+ __wbg_setBindGroup_f0de6cb2c7dbfc2c: function(arg0, arg1, arg2) {
1616
+ arg0.setBindGroup(arg1 >>> 0, arg2);
1617
+ },
1618
+ __wbg_setIndexBuffer_2531a9103450445e: function(arg0, arg1, arg2, arg3) {
1619
+ arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
1620
+ },
1621
+ __wbg_setIndexBuffer_7f3cf667b4d71566: function(arg0, arg1, arg2, arg3, arg4) {
1622
+ arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
1623
+ },
1624
+ __wbg_setPipeline_c41bf46790f27f9e: function(arg0, arg1) {
1625
+ arg0.setPipeline(arg1);
1626
+ },
1627
+ __wbg_setVertexBuffer_1e448859663dd400: function(arg0, arg1, arg2, arg3) {
1628
+ arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
1629
+ },
1630
+ __wbg_setVertexBuffer_7cf533d694e747f3: function(arg0, arg1, arg2, arg3, arg4) {
1631
+ arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
1632
+ },
1633
+ __wbg_set_61e45ae8061eca11: function(arg0, arg1, arg2) {
1634
+ arg0.set(arg1, arg2 >>> 0);
1635
+ },
1636
+ __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
1637
+ const ret = Reflect.set(arg0, arg1, arg2);
1638
+ return ret;
1639
+ }, arguments); },
1640
+ __wbg_set_a_88262a42340d0b1c: function(arg0, arg1) {
1641
+ arg0.a = arg1;
1642
+ },
1643
+ __wbg_set_access_9a5092f05dc45fad: function(arg0, arg1) {
1644
+ arg0.access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
1645
+ },
1646
+ __wbg_set_alpha_bfd2df62e7bc581b: function(arg0, arg1) {
1647
+ arg0.alpha = arg1;
1648
+ },
1649
+ __wbg_set_alpha_mode_df805952892caa9c: function(arg0, arg1) {
1650
+ arg0.alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
1651
+ },
1652
+ __wbg_set_alpha_to_coverage_enabled_8b5dc2b0a225b3b2: function(arg0, arg1) {
1653
+ arg0.alphaToCoverageEnabled = arg1 !== 0;
1654
+ },
1655
+ __wbg_set_array_layer_count_7312f0f31af94e7c: function(arg0, arg1) {
1656
+ arg0.arrayLayerCount = arg1 >>> 0;
1657
+ },
1658
+ __wbg_set_array_stride_f64_27ffaf4fffd74e61: function(arg0, arg1) {
1659
+ arg0.arrayStride = arg1;
1660
+ },
1661
+ __wbg_set_aspect_0d453bca3d012f02: function(arg0, arg1) {
1662
+ arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
1663
+ },
1664
+ __wbg_set_attributes_7537844a7e6dafdc: function(arg0, arg1, arg2) {
1665
+ arg0.attributes = getArrayJsValueViewFromWasm0(arg1, arg2);
1666
+ },
1667
+ __wbg_set_b_c47befe0af3261eb: function(arg0, arg1) {
1668
+ arg0.b = arg1;
1669
+ },
1670
+ __wbg_set_base_array_layer_f176bb9f1b37b342: function(arg0, arg1) {
1671
+ arg0.baseArrayLayer = arg1 >>> 0;
1672
+ },
1673
+ __wbg_set_base_mip_level_1df145d9f8db32a9: function(arg0, arg1) {
1674
+ arg0.baseMipLevel = arg1 >>> 0;
1675
+ },
1676
+ __wbg_set_beginning_of_pass_write_index_e9f5d016947893bd: function(arg0, arg1) {
1677
+ arg0.beginningOfPassWriteIndex = arg1 >>> 0;
1678
+ },
1679
+ __wbg_set_bind_group_layouts_5a9cfea401c020ab: function(arg0, arg1, arg2) {
1680
+ arg0.bindGroupLayouts = getArrayJsValueViewFromWasm0(arg1, arg2);
1681
+ },
1682
+ __wbg_set_binding_155b0440b4307793: function(arg0, arg1) {
1683
+ arg0.binding = arg1 >>> 0;
1684
+ },
1685
+ __wbg_set_binding_f74df3510792aba1: function(arg0, arg1) {
1686
+ arg0.binding = arg1 >>> 0;
1687
+ },
1688
+ __wbg_set_blend_7493c2066c3e9970: function(arg0, arg1) {
1689
+ arg0.blend = arg1;
1690
+ },
1691
+ __wbg_set_buffer_c3410572051920ba: function(arg0, arg1) {
1692
+ arg0.buffer = arg1;
1693
+ },
1694
+ __wbg_set_buffer_ef7f75306cf663ed: function(arg0, arg1) {
1695
+ arg0.buffer = arg1;
1696
+ },
1697
+ __wbg_set_buffers_7d0d8f507699e956: function(arg0, arg1, arg2) {
1698
+ arg0.buffers = getArrayJsValueViewFromWasm0(arg1, arg2);
1699
+ },
1700
+ __wbg_set_clear_value_gpu_color_dict_6211425789c76e59: function(arg0, arg1) {
1701
+ arg0.clearValue = arg1;
1702
+ },
1703
+ __wbg_set_code_b4f37f81f45b5b25: function(arg0, arg1, arg2) {
1704
+ arg0.code = getStringFromWasm0(arg1, arg2);
1705
+ },
1706
+ __wbg_set_color_83aa977526e88cbb: function(arg0, arg1) {
1707
+ arg0.color = arg1;
1708
+ },
1709
+ __wbg_set_color_attachments_581fdb3310e4abfa: function(arg0, arg1, arg2) {
1710
+ arg0.colorAttachments = getArrayJsValueViewFromWasm0(arg1, arg2);
1711
+ },
1712
+ __wbg_set_compare_f36b34abfaa08ccb: function(arg0, arg1) {
1713
+ arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
1714
+ },
1715
+ __wbg_set_count_069a4eac409bac55: function(arg0, arg1) {
1716
+ arg0.count = arg1 >>> 0;
1717
+ },
1718
+ __wbg_set_cull_mode_fc649853947a3d0c: function(arg0, arg1) {
1719
+ arg0.cullMode = __wbindgen_enum_GpuCullMode[arg1];
1720
+ },
1721
+ __wbg_set_depth_bias_clamp_1c0d695df7f092e5: function(arg0, arg1) {
1722
+ arg0.depthBiasClamp = arg1;
1723
+ },
1724
+ __wbg_set_depth_bias_d7cd16096242a657: function(arg0, arg1) {
1725
+ arg0.depthBias = arg1;
1726
+ },
1727
+ __wbg_set_depth_bias_slope_scale_c4e52ec743ef55ba: function(arg0, arg1) {
1728
+ arg0.depthBiasSlopeScale = arg1;
1729
+ },
1730
+ __wbg_set_depth_clear_value_beda3ec5b1a5c43a: function(arg0, arg1) {
1731
+ arg0.depthClearValue = arg1;
1732
+ },
1733
+ __wbg_set_depth_compare_0c8631eb2eae98e3: function(arg0, arg1) {
1734
+ arg0.depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
1735
+ },
1736
+ __wbg_set_depth_fail_op_668155ae33d3c06f: function(arg0, arg1) {
1737
+ arg0.depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
1738
+ },
1739
+ __wbg_set_depth_load_op_511c513eab4e56a9: function(arg0, arg1) {
1740
+ arg0.depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
1741
+ },
1742
+ __wbg_set_depth_or_array_layers_89371305ed0bd962: function(arg0, arg1) {
1743
+ arg0.depthOrArrayLayers = arg1 >>> 0;
1744
+ },
1745
+ __wbg_set_depth_read_only_7f41a74741c144ec: function(arg0, arg1) {
1746
+ arg0.depthReadOnly = arg1 !== 0;
1747
+ },
1748
+ __wbg_set_depth_stencil_97506c7bea4f53da: function(arg0, arg1) {
1749
+ arg0.depthStencil = arg1;
1750
+ },
1751
+ __wbg_set_depth_stencil_attachment_73b79e8b4e948222: function(arg0, arg1) {
1752
+ arg0.depthStencilAttachment = arg1;
1753
+ },
1754
+ __wbg_set_depth_store_op_c89f33b39b43361c: function(arg0, arg1) {
1755
+ arg0.depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
1756
+ },
1757
+ __wbg_set_depth_write_enabled_ce89750042940350: function(arg0, arg1) {
1758
+ arg0.depthWriteEnabled = arg1 !== 0;
1759
+ },
1760
+ __wbg_set_device_e275d1d4f3c9eb74: function(arg0, arg1) {
1761
+ arg0.device = arg1;
1762
+ },
1763
+ __wbg_set_dimension_868eee80f4b90011: function(arg0, arg1) {
1764
+ arg0.dimension = __wbindgen_enum_GpuTextureDimension[arg1];
1765
+ },
1766
+ __wbg_set_dimension_e325282e613ca0a4: function(arg0, arg1) {
1767
+ arg0.dimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
1768
+ },
1769
+ __wbg_set_dst_factor_ec7407f19be1aff9: function(arg0, arg1) {
1770
+ arg0.dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
1771
+ },
1772
+ __wbg_set_end_of_pass_write_index_0d546e46b86ea069: function(arg0, arg1) {
1773
+ arg0.endOfPassWriteIndex = arg1 >>> 0;
1774
+ },
1775
+ __wbg_set_entries_86a29dd6291c95e7: function(arg0, arg1, arg2) {
1776
+ arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
1777
+ },
1778
+ __wbg_set_entries_a12aca1e458b0456: function(arg0, arg1, arg2) {
1779
+ arg0.entries = getArrayJsValueViewFromWasm0(arg1, arg2);
1780
+ },
1781
+ __wbg_set_entry_point_207540f042015ce5: function(arg0, arg1, arg2) {
1782
+ arg0.entryPoint = getStringFromWasm0(arg1, arg2);
1783
+ },
1784
+ __wbg_set_entry_point_e87e79251dd3144f: function(arg0, arg1, arg2) {
1785
+ arg0.entryPoint = getStringFromWasm0(arg1, arg2);
1786
+ },
1787
+ __wbg_set_external_texture_386483d8dd82ab56: function(arg0, arg1) {
1788
+ arg0.externalTexture = arg1;
1789
+ },
1790
+ __wbg_set_fail_op_92f716dbc88b6973: function(arg0, arg1) {
1791
+ arg0.failOp = __wbindgen_enum_GpuStencilOperation[arg1];
1792
+ },
1793
+ __wbg_set_format_1fcaa7d60546b490: function(arg0, arg1) {
1794
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1795
+ },
1796
+ __wbg_set_format_2c1414a817c213f8: function(arg0, arg1) {
1797
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1798
+ },
1799
+ __wbg_set_format_533f9ffa7eef563d: function(arg0, arg1) {
1800
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1801
+ },
1802
+ __wbg_set_format_5d2f25cc93654ecc: function(arg0, arg1) {
1803
+ arg0.format = __wbindgen_enum_GpuVertexFormat[arg1];
1804
+ },
1805
+ __wbg_set_format_5ff53724ed6cedf2: function(arg0, arg1) {
1806
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1807
+ },
1808
+ __wbg_set_format_815efd4dc4817bbb: function(arg0, arg1) {
1809
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1810
+ },
1811
+ __wbg_set_format_e52bdcca880d2c8e: function(arg0, arg1) {
1812
+ arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
1813
+ },
1814
+ __wbg_set_fragment_8b780f00a0b0e6f3: function(arg0, arg1) {
1815
+ arg0.fragment = arg1;
1816
+ },
1817
+ __wbg_set_front_face_28ffdf524eedce5b: function(arg0, arg1) {
1818
+ arg0.frontFace = __wbindgen_enum_GpuFrontFace[arg1];
1819
+ },
1820
+ __wbg_set_g_5983abfc46e0cf4e: function(arg0, arg1) {
1821
+ arg0.g = arg1;
1822
+ },
1823
+ __wbg_set_has_dynamic_offset_62bc230bdb7c54d0: function(arg0, arg1) {
1824
+ arg0.hasDynamicOffset = arg1 !== 0;
1825
+ },
1826
+ __wbg_set_height_14335c4047cf9c1b: function(arg0, arg1) {
1827
+ arg0.height = arg1 >>> 0;
1828
+ },
1829
+ __wbg_set_height_7d9d8f892e6964c6: function(arg0, arg1) {
1830
+ arg0.height = arg1 >>> 0;
1831
+ },
1832
+ __wbg_set_height_bbeef8f354041577: function(arg0, arg1) {
1833
+ arg0.height = arg1 >>> 0;
1834
+ },
1835
+ __wbg_set_label_08d9be3e4719c226: function(arg0, arg1, arg2) {
1836
+ arg0.label = getStringFromWasm0(arg1, arg2);
1837
+ },
1838
+ __wbg_set_label_17eb9fe3a02f62b0: function(arg0, arg1, arg2) {
1839
+ arg0.label = getStringFromWasm0(arg1, arg2);
1840
+ },
1841
+ __wbg_set_label_48e6b787d256f621: function(arg0, arg1, arg2) {
1842
+ arg0.label = getStringFromWasm0(arg1, arg2);
1843
+ },
1844
+ __wbg_set_label_547d0d4aec39fbe9: function(arg0, arg1, arg2) {
1845
+ arg0.label = getStringFromWasm0(arg1, arg2);
1846
+ },
1847
+ __wbg_set_label_60ad96c811e0d109: function(arg0, arg1, arg2) {
1848
+ arg0.label = getStringFromWasm0(arg1, arg2);
1849
+ },
1850
+ __wbg_set_label_72bb4f41ef0cb893: function(arg0, arg1, arg2) {
1851
+ arg0.label = getStringFromWasm0(arg1, arg2);
1852
+ },
1853
+ __wbg_set_label_79387decda299036: function(arg0, arg1, arg2) {
1854
+ arg0.label = getStringFromWasm0(arg1, arg2);
1855
+ },
1856
+ __wbg_set_label_9556af8b5cda3c9d: function(arg0, arg1, arg2) {
1857
+ arg0.label = getStringFromWasm0(arg1, arg2);
1858
+ },
1859
+ __wbg_set_label_d010f237b26f2c55: function(arg0, arg1, arg2) {
1860
+ arg0.label = getStringFromWasm0(arg1, arg2);
1861
+ },
1862
+ __wbg_set_label_e16e2dbe51349c7f: function(arg0, arg1, arg2) {
1863
+ arg0.label = getStringFromWasm0(arg1, arg2);
1864
+ },
1865
+ __wbg_set_label_e3944e54881b8c50: function(arg0, arg1, arg2) {
1866
+ arg0.label = getStringFromWasm0(arg1, arg2);
1867
+ },
1868
+ __wbg_set_label_e922700240417ab5: function(arg0, arg1, arg2) {
1869
+ arg0.label = getStringFromWasm0(arg1, arg2);
1870
+ },
1871
+ __wbg_set_layout_50ab727f44b38f26: function(arg0, arg1) {
1872
+ arg0.layout = arg1;
1873
+ },
1874
+ __wbg_set_layout_913d53c17194c989: function(arg0, arg1) {
1875
+ arg0.layout = arg1;
1876
+ },
1877
+ __wbg_set_layout_gpu_auto_layout_mode_aeba193938b47882: function(arg0, arg1) {
1878
+ arg0.layout = __wbindgen_enum_GpuAutoLayoutMode[arg1];
1879
+ },
1880
+ __wbg_set_load_op_99661da6c4eab9b0: function(arg0, arg1) {
1881
+ arg0.loadOp = __wbindgen_enum_GpuLoadOp[arg1];
1882
+ },
1883
+ __wbg_set_mapped_at_creation_81b586dc90a50347: function(arg0, arg1) {
1884
+ arg0.mappedAtCreation = arg1 !== 0;
1885
+ },
1886
+ __wbg_set_mask_70a8a59ce09e5997: function(arg0, arg1) {
1887
+ arg0.mask = arg1 >>> 0;
1888
+ },
1889
+ __wbg_set_min_binding_size_f64_5005a6904cdf43da: function(arg0, arg1) {
1890
+ arg0.minBindingSize = arg1;
1891
+ },
1892
+ __wbg_set_mip_level_count_534caaa7e68e68b8: function(arg0, arg1) {
1893
+ arg0.mipLevelCount = arg1 >>> 0;
1894
+ },
1895
+ __wbg_set_mip_level_count_776c8c218b65bc08: function(arg0, arg1) {
1896
+ arg0.mipLevelCount = arg1 >>> 0;
1897
+ },
1898
+ __wbg_set_mode_9990b3393ba469ae: function(arg0, arg1) {
1899
+ arg0.mode = __wbindgen_enum_GpuCanvasToneMappingMode[arg1];
1900
+ },
1901
+ __wbg_set_module_d0e2098713606cae: function(arg0, arg1) {
1902
+ arg0.module = arg1;
1903
+ },
1904
+ __wbg_set_module_f02e076ca7e7daf8: function(arg0, arg1) {
1905
+ arg0.module = arg1;
1906
+ },
1907
+ __wbg_set_multisample_37ddafe88b5cd466: function(arg0, arg1) {
1908
+ arg0.multisample = arg1;
1909
+ },
1910
+ __wbg_set_multisampled_7913fd7183272840: function(arg0, arg1) {
1911
+ arg0.multisampled = arg1 !== 0;
1912
+ },
1913
+ __wbg_set_offset_f64_28c24dc15000932e: function(arg0, arg1) {
1914
+ arg0.offset = arg1;
1915
+ },
1916
+ __wbg_set_offset_f64_89f0ce01a689839e: function(arg0, arg1) {
1917
+ arg0.offset = arg1;
1918
+ },
1919
+ __wbg_set_operation_62ce44e1728c4047: function(arg0, arg1) {
1920
+ arg0.operation = __wbindgen_enum_GpuBlendOperation[arg1];
1921
+ },
1922
+ __wbg_set_pass_op_cf02fa088d6352a7: function(arg0, arg1) {
1923
+ arg0.passOp = __wbindgen_enum_GpuStencilOperation[arg1];
1924
+ },
1925
+ __wbg_set_power_preference_8fdca0b7af640d49: function(arg0, arg1) {
1926
+ arg0.powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
1927
+ },
1928
+ __wbg_set_primitive_43c23761a55b4088: function(arg0, arg1) {
1929
+ arg0.primitive = arg1;
1930
+ },
1931
+ __wbg_set_query_set_41de86d2401aee04: function(arg0, arg1) {
1932
+ arg0.querySet = arg1;
1933
+ },
1934
+ __wbg_set_r_c6f4c68f4804d655: function(arg0, arg1) {
1935
+ arg0.r = arg1;
1936
+ },
1937
+ __wbg_set_required_features_1baf274a8669db60: function(arg0, arg1, arg2) {
1938
+ arg0.requiredFeatures = getArrayJsValueViewFromWasm0(arg1, arg2);
1939
+ },
1940
+ __wbg_set_required_limits_871ed33c68613dcb: function(arg0, arg1) {
1941
+ arg0.requiredLimits = arg1;
1942
+ },
1943
+ __wbg_set_resolve_target_gpu_texture_view_b19a4f2debf79b96: function(arg0, arg1) {
1944
+ arg0.resolveTarget = arg1;
1945
+ },
1946
+ __wbg_set_resource_5ae7b5e67924f234: function(arg0, arg1) {
1947
+ arg0.resource = arg1;
1948
+ },
1949
+ __wbg_set_resource_gpu_buffer_binding_e5dbca063e7cb67b: function(arg0, arg1) {
1950
+ arg0.resource = arg1;
1951
+ },
1952
+ __wbg_set_resource_gpu_texture_view_eb46c355d51ad7e5: function(arg0, arg1) {
1953
+ arg0.resource = arg1;
1954
+ },
1955
+ __wbg_set_sample_count_eb86a8b18545b54f: function(arg0, arg1) {
1956
+ arg0.sampleCount = arg1 >>> 0;
1957
+ },
1958
+ __wbg_set_sample_type_c32e1dfff94e63eb: function(arg0, arg1) {
1959
+ arg0.sampleType = __wbindgen_enum_GpuTextureSampleType[arg1];
1960
+ },
1961
+ __wbg_set_sampler_c0e1258543a33bce: function(arg0, arg1) {
1962
+ arg0.sampler = arg1;
1963
+ },
1964
+ __wbg_set_shader_location_7e1832a74f912217: function(arg0, arg1) {
1965
+ arg0.shaderLocation = arg1 >>> 0;
1966
+ },
1967
+ __wbg_set_size_f64_6bcd40704bf4cfdc: function(arg0, arg1) {
1968
+ arg0.size = arg1;
1969
+ },
1970
+ __wbg_set_size_f64_8b8f6bba5d678162: function(arg0, arg1) {
1971
+ arg0.size = arg1;
1972
+ },
1973
+ __wbg_set_size_gpu_extent_3d_dict_7e42e1c98fa36434: function(arg0, arg1) {
1974
+ arg0.size = arg1;
1975
+ },
1976
+ __wbg_set_src_factor_9bfe84af9b7b5cac: function(arg0, arg1) {
1977
+ arg0.srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
1978
+ },
1979
+ __wbg_set_stencil_back_85b22f1db5b1940a: function(arg0, arg1) {
1980
+ arg0.stencilBack = arg1;
1981
+ },
1982
+ __wbg_set_stencil_clear_value_42be608809151e2a: function(arg0, arg1) {
1983
+ arg0.stencilClearValue = arg1 >>> 0;
1984
+ },
1985
+ __wbg_set_stencil_front_525526164a798a44: function(arg0, arg1) {
1986
+ arg0.stencilFront = arg1;
1987
+ },
1988
+ __wbg_set_stencil_load_op_31838c036993098a: function(arg0, arg1) {
1989
+ arg0.stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
1990
+ },
1991
+ __wbg_set_stencil_read_mask_5cc26495e8b3ae82: function(arg0, arg1) {
1992
+ arg0.stencilReadMask = arg1 >>> 0;
1993
+ },
1994
+ __wbg_set_stencil_read_only_bf1d0c1897e25c62: function(arg0, arg1) {
1995
+ arg0.stencilReadOnly = arg1 !== 0;
1996
+ },
1997
+ __wbg_set_stencil_store_op_e6be1cbc3a8fc210: function(arg0, arg1) {
1998
+ arg0.stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
1999
+ },
2000
+ __wbg_set_stencil_write_mask_d9cb40ec4b4bee5b: function(arg0, arg1) {
2001
+ arg0.stencilWriteMask = arg1 >>> 0;
2002
+ },
2003
+ __wbg_set_step_mode_a97bb24714da41a9: function(arg0, arg1) {
2004
+ arg0.stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
2005
+ },
2006
+ __wbg_set_storage_texture_939a097db4b18bd4: function(arg0, arg1) {
2007
+ arg0.storageTexture = arg1;
2008
+ },
2009
+ __wbg_set_store_op_b5fdf672436f13f3: function(arg0, arg1) {
2010
+ arg0.storeOp = __wbindgen_enum_GpuStoreOp[arg1];
2011
+ },
2012
+ __wbg_set_strip_index_format_9f787be6c5fc9e87: function(arg0, arg1) {
2013
+ arg0.stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
2014
+ },
2015
+ __wbg_set_targets_c38bd200c836d66f: function(arg0, arg1, arg2) {
2016
+ arg0.targets = getArrayJsValueViewFromWasm0(arg1, arg2);
2017
+ },
2018
+ __wbg_set_texture_9dcedde1bb31eda6: function(arg0, arg1) {
2019
+ arg0.texture = arg1;
2020
+ },
2021
+ __wbg_set_timestamp_writes_98bed1a8bbc6682d: function(arg0, arg1) {
2022
+ arg0.timestampWrites = arg1;
2023
+ },
2024
+ __wbg_set_tone_mapping_b3464f1baa4cff92: function(arg0, arg1) {
2025
+ arg0.toneMapping = arg1;
2026
+ },
2027
+ __wbg_set_topology_da25f2cc5af203d2: function(arg0, arg1) {
2028
+ arg0.topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
2029
+ },
2030
+ __wbg_set_type_ccf8472d40abcddf: function(arg0, arg1) {
2031
+ arg0.type = __wbindgen_enum_GpuSamplerBindingType[arg1];
2032
+ },
2033
+ __wbg_set_type_d09829f59932a0fc: function(arg0, arg1) {
2034
+ arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
2035
+ },
2036
+ __wbg_set_unclipped_depth_04524a2b44e1e3c1: function(arg0, arg1) {
2037
+ arg0.unclippedDepth = arg1 !== 0;
2038
+ },
2039
+ __wbg_set_usage_a137f82ca163b0a9: function(arg0, arg1) {
2040
+ arg0.usage = arg1 >>> 0;
2041
+ },
2042
+ __wbg_set_usage_b2a2935f37bf3d08: function(arg0, arg1) {
2043
+ arg0.usage = arg1 >>> 0;
2044
+ },
2045
+ __wbg_set_usage_ba5b0f8b333ab325: function(arg0, arg1) {
2046
+ arg0.usage = arg1 >>> 0;
2047
+ },
2048
+ __wbg_set_usage_ddd42599bbba7779: function(arg0, arg1) {
2049
+ arg0.usage = arg1 >>> 0;
2050
+ },
2051
+ __wbg_set_vertex_0be5d146f9ff6f36: function(arg0, arg1) {
2052
+ arg0.vertex = arg1;
2053
+ },
2054
+ __wbg_set_view_dimension_0df554032f1f3a85: function(arg0, arg1) {
2055
+ arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
2056
+ },
2057
+ __wbg_set_view_dimension_4818d4c18ce5815e: function(arg0, arg1) {
2058
+ arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
2059
+ },
2060
+ __wbg_set_view_formats_4347dc8363331086: function(arg0, arg1, arg2) {
2061
+ arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
2062
+ },
2063
+ __wbg_set_view_formats_5797d2fff3c11808: function(arg0, arg1, arg2) {
2064
+ arg0.viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
2065
+ },
2066
+ __wbg_set_view_gpu_texture_view_9b2d86b6b99d9fd9: function(arg0, arg1) {
2067
+ arg0.view = arg1;
2068
+ },
2069
+ __wbg_set_view_gpu_texture_view_c0f35f8857c25206: function(arg0, arg1) {
2070
+ arg0.view = arg1;
2071
+ },
2072
+ __wbg_set_visibility_9570b037224c4cc2: function(arg0, arg1) {
2073
+ arg0.visibility = arg1 >>> 0;
2074
+ },
2075
+ __wbg_set_width_49ac9b7d914afc85: function(arg0, arg1) {
2076
+ arg0.width = arg1 >>> 0;
2077
+ },
2078
+ __wbg_set_width_8e30d010cd66830d: function(arg0, arg1) {
2079
+ arg0.width = arg1 >>> 0;
2080
+ },
2081
+ __wbg_set_width_9f685402c2cbee70: function(arg0, arg1) {
2082
+ arg0.width = arg1 >>> 0;
2083
+ },
2084
+ __wbg_set_write_mask_d45279e56abbfcb5: function(arg0, arg1) {
2085
+ arg0.writeMask = arg1 >>> 0;
2086
+ },
2087
+ __wbg_shaderSource_4cf90af97621ff49: function(arg0, arg1, arg2, arg3) {
2088
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
2089
+ },
2090
+ __wbg_shaderSource_c3469dc2221dd528: function(arg0, arg1, arg2, arg3) {
2091
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
2092
+ },
2093
+ __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
2094
+ const ret = arg1.stack;
2095
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2096
+ const len1 = WASM_VECTOR_LEN;
2097
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2098
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2099
+ },
2100
+ __wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
2101
+ const ret = typeof global === 'undefined' ? null : global;
2102
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2103
+ },
2104
+ __wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
2105
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
2106
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2107
+ },
2108
+ __wbg_static_accessor_SELF_146583524fe1469b: function() {
2109
+ const ret = typeof self === 'undefined' ? null : self;
2110
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2111
+ },
2112
+ __wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
2113
+ const ret = typeof window === 'undefined' ? null : window;
2114
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2115
+ },
2116
+ __wbg_stencilFuncSeparate_35136c4e5153406f: function(arg0, arg1, arg2, arg3, arg4) {
2117
+ arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
2118
+ },
2119
+ __wbg_stencilFuncSeparate_814300446c2969ef: function(arg0, arg1, arg2, arg3, arg4) {
2120
+ arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0);
2121
+ },
2122
+ __wbg_stencilMaskSeparate_49367b0b5883a8bd: function(arg0, arg1, arg2) {
2123
+ arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
2124
+ },
2125
+ __wbg_stencilMaskSeparate_63976cc45fb94d84: function(arg0, arg1, arg2) {
2126
+ arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0);
2127
+ },
2128
+ __wbg_stencilMask_1c99b79b516d12dd: function(arg0, arg1) {
2129
+ arg0.stencilMask(arg1 >>> 0);
2130
+ },
2131
+ __wbg_stencilMask_9a844dc58a89992f: function(arg0, arg1) {
2132
+ arg0.stencilMask(arg1 >>> 0);
2133
+ },
2134
+ __wbg_stencilOpSeparate_b2cb9af05b803e02: function(arg0, arg1, arg2, arg3, arg4) {
2135
+ arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2136
+ },
2137
+ __wbg_stencilOpSeparate_c77fcb47561d0aee: function(arg0, arg1, arg2, arg3, arg4) {
2138
+ arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2139
+ },
2140
+ __wbg_submit_ce44115121cd166c: function(arg0, arg1, arg2) {
2141
+ arg0.submit(getArrayJsValueViewFromWasm0(arg1, arg2));
2142
+ },
2143
+ __wbg_texImage2D_3813406af5bf54c8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2144
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2145
+ }, arguments); },
2146
+ __wbg_texImage2D_5abd8779d1d033c7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2147
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2148
+ }, arguments); },
2149
+ __wbg_texImage2D_8d168171984f2a40: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2150
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2151
+ }, arguments); },
2152
+ __wbg_texImage3D_bdd9bebe42ed1f52: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
2153
+ arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
2154
+ }, arguments); },
2155
+ __wbg_texImage3D_ef16a1f721b3f908: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
2156
+ arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10);
2157
+ }, arguments); },
2158
+ __wbg_texParameteri_1fc451e0964fc91c: function(arg0, arg1, arg2, arg3) {
2159
+ arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
2160
+ },
2161
+ __wbg_texParameteri_9d0daa263d3a863f: function(arg0, arg1, arg2, arg3) {
2162
+ arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
2163
+ },
2164
+ __wbg_texStorage2D_7f947efc63dac273: function(arg0, arg1, arg2, arg3, arg4, arg5) {
2165
+ arg0.texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
2166
+ },
2167
+ __wbg_texStorage3D_f8f2e4b3386736f9: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
2168
+ arg0.texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6);
2169
+ },
2170
+ __wbg_texSubImage2D_047380bb2660e4f9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2171
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2172
+ }, arguments); },
2173
+ __wbg_texSubImage2D_5058af3d30a8e205: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2174
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2175
+ }, arguments); },
2176
+ __wbg_texSubImage2D_6a376bfc3a31436b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2177
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2178
+ }, arguments); },
2179
+ __wbg_texSubImage2D_98c43894eb217aa7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2180
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2181
+ }, arguments); },
2182
+ __wbg_texSubImage2D_bed5e7a3cd81d409: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2183
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2184
+ }, arguments); },
2185
+ __wbg_texSubImage2D_d1af697e69f8a9e4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2186
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2187
+ }, arguments); },
2188
+ __wbg_texSubImage2D_d3cd09d0ffcb27be: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2189
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2190
+ }, arguments); },
2191
+ __wbg_texSubImage2D_e107b4f88c19b920: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
2192
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
2193
+ }, arguments); },
2194
+ __wbg_texSubImage3D_45e498ae6298998c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2195
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2196
+ }, arguments); },
2197
+ __wbg_texSubImage3D_4fdd4cd95a2925c2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2198
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2199
+ }, arguments); },
2200
+ __wbg_texSubImage3D_6cb6cfd732dad145: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2201
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2202
+ }, arguments); },
2203
+ __wbg_texSubImage3D_8077e90ec309c414: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2204
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2205
+ }, arguments); },
2206
+ __wbg_texSubImage3D_93b38c69acb735c8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2207
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2208
+ }, arguments); },
2209
+ __wbg_texSubImage3D_c9e5a071796d412f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2210
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2211
+ }, arguments); },
2212
+ __wbg_texSubImage3D_feebaf7f0f4594c6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
2213
+ arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11);
2214
+ }, arguments); },
2215
+ __wbg_then_16d107c451e9905d: function(arg0, arg1, arg2) {
2216
+ const ret = arg0.then(arg1, arg2);
2217
+ return ret;
2218
+ },
2219
+ __wbg_then_6ec10ae38b3e92f7: function(arg0, arg1) {
2220
+ const ret = arg0.then(arg1);
2221
+ return ret;
2222
+ },
2223
+ __wbg_unconfigure_0a07a0a40de8988d: function(arg0) {
2224
+ arg0.unconfigure();
2225
+ },
2226
+ __wbg_uniform1f_62692c8fa8e7bf1e: function(arg0, arg1, arg2) {
2227
+ arg0.uniform1f(arg1, arg2);
2228
+ },
2229
+ __wbg_uniform1f_b79d0c5667f9fb40: function(arg0, arg1, arg2) {
2230
+ arg0.uniform1f(arg1, arg2);
2231
+ },
2232
+ __wbg_uniform1i_5830de6702add20a: function(arg0, arg1, arg2) {
2233
+ arg0.uniform1i(arg1, arg2);
2234
+ },
2235
+ __wbg_uniform1i_7621f908f78177df: function(arg0, arg1, arg2) {
2236
+ arg0.uniform1i(arg1, arg2);
2237
+ },
2238
+ __wbg_uniform1ui_cd7ad5581093b3df: function(arg0, arg1, arg2) {
2239
+ arg0.uniform1ui(arg1, arg2 >>> 0);
2240
+ },
2241
+ __wbg_uniform2fv_1b43656b33177d21: function(arg0, arg1, arg2, arg3) {
2242
+ arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2243
+ },
2244
+ __wbg_uniform2fv_948dab6a82b428ac: function(arg0, arg1, arg2, arg3) {
2245
+ arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2246
+ },
2247
+ __wbg_uniform2iv_859048b9d60f46ae: function(arg0, arg1, arg2, arg3) {
2248
+ arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2249
+ },
2250
+ __wbg_uniform2iv_f84a24961c0cfcd0: function(arg0, arg1, arg2, arg3) {
2251
+ arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2252
+ },
2253
+ __wbg_uniform2uiv_8a9cb3155271213b: function(arg0, arg1, arg2, arg3) {
2254
+ arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
2255
+ },
2256
+ __wbg_uniform3fv_8ecb5ebb510b7bce: function(arg0, arg1, arg2, arg3) {
2257
+ arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2258
+ },
2259
+ __wbg_uniform3fv_95d1933ea1440725: function(arg0, arg1, arg2, arg3) {
2260
+ arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2261
+ },
2262
+ __wbg_uniform3iv_09abae5eabd6b9d6: function(arg0, arg1, arg2, arg3) {
2263
+ arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2264
+ },
2265
+ __wbg_uniform3iv_a3a7008990fd84f0: function(arg0, arg1, arg2, arg3) {
2266
+ arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2267
+ },
2268
+ __wbg_uniform3uiv_3c0b163732f5b8f0: function(arg0, arg1, arg2, arg3) {
2269
+ arg0.uniform3uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
2270
+ },
2271
+ __wbg_uniform4f_9ff60fc65b0ed726: function(arg0, arg1, arg2, arg3, arg4, arg5) {
2272
+ arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
2273
+ },
2274
+ __wbg_uniform4f_b25e39808b830021: function(arg0, arg1, arg2, arg3, arg4, arg5) {
2275
+ arg0.uniform4f(arg1, arg2, arg3, arg4, arg5);
2276
+ },
2277
+ __wbg_uniform4fv_4ca8c114ca3de099: function(arg0, arg1, arg2, arg3) {
2278
+ arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2279
+ },
2280
+ __wbg_uniform4fv_674a247aeb15012d: function(arg0, arg1, arg2, arg3) {
2281
+ arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
2282
+ },
2283
+ __wbg_uniform4iv_45ab52abcb3f882c: function(arg0, arg1, arg2, arg3) {
2284
+ arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2285
+ },
2286
+ __wbg_uniform4iv_d02934d7b94df609: function(arg0, arg1, arg2, arg3) {
2287
+ arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3));
2288
+ },
2289
+ __wbg_uniform4uiv_0d1a8ed214f10c31: function(arg0, arg1, arg2, arg3) {
2290
+ arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3));
2291
+ },
2292
+ __wbg_uniformBlockBinding_a9ed6b750199e03c: function(arg0, arg1, arg2, arg3) {
2293
+ arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0);
2294
+ },
2295
+ __wbg_uniformMatrix2fv_769725d64641341f: function(arg0, arg1, arg2, arg3, arg4) {
2296
+ arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2297
+ },
2298
+ __wbg_uniformMatrix2fv_9284424cc6aac672: function(arg0, arg1, arg2, arg3, arg4) {
2299
+ arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2300
+ },
2301
+ __wbg_uniformMatrix2x3fv_dba00c4fc8eefe47: function(arg0, arg1, arg2, arg3, arg4) {
2302
+ arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2303
+ },
2304
+ __wbg_uniformMatrix2x4fv_d801a561c3c18169: function(arg0, arg1, arg2, arg3, arg4) {
2305
+ arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2306
+ },
2307
+ __wbg_uniformMatrix3fv_33e96c7d29dc1e22: function(arg0, arg1, arg2, arg3, arg4) {
2308
+ arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2309
+ },
2310
+ __wbg_uniformMatrix3fv_568aa181379c8a75: function(arg0, arg1, arg2, arg3, arg4) {
2311
+ arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2312
+ },
2313
+ __wbg_uniformMatrix3x2fv_ce43e8186ea60a1e: function(arg0, arg1, arg2, arg3, arg4) {
2314
+ arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2315
+ },
2316
+ __wbg_uniformMatrix3x4fv_8abccc5745b0dd90: function(arg0, arg1, arg2, arg3, arg4) {
2317
+ arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2318
+ },
2319
+ __wbg_uniformMatrix4fv_25115a23e04f6db7: function(arg0, arg1, arg2, arg3, arg4) {
2320
+ arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2321
+ },
2322
+ __wbg_uniformMatrix4fv_423b958042692150: function(arg0, arg1, arg2, arg3, arg4) {
2323
+ arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2324
+ },
2325
+ __wbg_uniformMatrix4x2fv_1ac2bf986a322e3f: function(arg0, arg1, arg2, arg3, arg4) {
2326
+ arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2327
+ },
2328
+ __wbg_uniformMatrix4x3fv_8640fa85b90ea910: function(arg0, arg1, arg2, arg3, arg4) {
2329
+ arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
2330
+ },
2331
+ __wbg_unmap_adaf93276fdf9aaf: function(arg0) {
2332
+ arg0.unmap();
2333
+ },
2334
+ __wbg_useProgram_182d120fe476921b: function(arg0, arg1) {
2335
+ arg0.useProgram(arg1);
2336
+ },
2337
+ __wbg_useProgram_49495850b446fa56: function(arg0, arg1) {
2338
+ arg0.useProgram(arg1);
2339
+ },
2340
+ __wbg_vertexAttribDivisorANGLE_978337b09d11ed84: function(arg0, arg1, arg2) {
2341
+ arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
2342
+ },
2343
+ __wbg_vertexAttribDivisor_fb31b5ed9bc856da: function(arg0, arg1, arg2) {
2344
+ arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
2345
+ },
2346
+ __wbg_vertexAttribIPointer_de08a8d8b625e253: function(arg0, arg1, arg2, arg3, arg4, arg5) {
2347
+ arg0.vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
2348
+ },
2349
+ __wbg_vertexAttribPointer_a8f0af57269c2067: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
2350
+ arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
2351
+ },
2352
+ __wbg_vertexAttribPointer_b300c8e000cdac93: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
2353
+ arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
2354
+ },
2355
+ __wbg_viewport_affdf15c559df1e2: function(arg0, arg1, arg2, arg3, arg4) {
2356
+ arg0.viewport(arg1, arg2, arg3, arg4);
2357
+ },
2358
+ __wbg_viewport_e8a16ca4a5085e5f: function(arg0, arg1, arg2, arg3, arg4) {
2359
+ arg0.viewport(arg1, arg2, arg3, arg4);
2360
+ },
2361
+ __wbg_warn_b1370d804fa3e259: function(arg0) {
2362
+ console.warn(arg0);
2363
+ },
2364
+ __wbg_width_6d9315ecc7140ff6: function(arg0) {
2365
+ const ret = arg0.width;
2366
+ return ret;
2367
+ },
2368
+ __wbg_writeBuffer_8b5bd251a89198bc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
2369
+ arg0.writeBuffer(arg1, arg2, getArrayU8FromWasm0(arg3, arg4), arg5, arg6);
2370
+ }, arguments); },
2371
+ __wbindgen_cast_0000000000000001: function(arg0, arg1) {
2372
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2517, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2373
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb0b40ee7dfd77fc5);
2374
+ return ret;
2375
+ },
2376
+ __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2377
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 660, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2378
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a);
2379
+ return ret;
2380
+ },
2381
+ __wbindgen_cast_0000000000000003: function(arg0, arg1) {
2382
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 660, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2383
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a_2);
2384
+ return ret;
2385
+ },
2386
+ __wbindgen_cast_0000000000000004: function(arg0, arg1) {
2387
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 660, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2388
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a_3);
2389
+ return ret;
2390
+ },
2391
+ __wbindgen_cast_0000000000000005: function(arg0) {
2392
+ // Cast intrinsic for `F64 -> Externref`.
2393
+ const ret = arg0;
2394
+ return ret;
2395
+ },
2396
+ __wbindgen_cast_0000000000000006: function(arg0, arg1) {
2397
+ // Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
2398
+ const ret = getArrayF32FromWasm0(arg0, arg1);
2399
+ return ret;
2400
+ },
2401
+ __wbindgen_cast_0000000000000007: function(arg0, arg1) {
2402
+ // Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
2403
+ const ret = getArrayI16FromWasm0(arg0, arg1);
2404
+ return ret;
2405
+ },
2406
+ __wbindgen_cast_0000000000000008: function(arg0, arg1) {
2407
+ // Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
2408
+ const ret = getArrayI32FromWasm0(arg0, arg1);
2409
+ return ret;
2410
+ },
2411
+ __wbindgen_cast_0000000000000009: function(arg0, arg1) {
2412
+ // Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
2413
+ const ret = getArrayI8FromWasm0(arg0, arg1);
2414
+ return ret;
2415
+ },
2416
+ __wbindgen_cast_000000000000000a: function(arg0, arg1) {
2417
+ // Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
2418
+ const ret = getArrayU16FromWasm0(arg0, arg1);
2419
+ return ret;
2420
+ },
2421
+ __wbindgen_cast_000000000000000b: function(arg0, arg1) {
2422
+ // Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
2423
+ const ret = getArrayU32FromWasm0(arg0, arg1);
2424
+ return ret;
2425
+ },
2426
+ __wbindgen_cast_000000000000000c: function(arg0, arg1) {
2427
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
2428
+ const ret = getArrayU8FromWasm0(arg0, arg1);
2429
+ return ret;
2430
+ },
2431
+ __wbindgen_cast_000000000000000d: function(arg0, arg1) {
2432
+ // Cast intrinsic for `Ref(String) -> Externref`.
2433
+ const ret = getStringFromWasm0(arg0, arg1);
2434
+ return ret;
2435
+ },
2436
+ __wbindgen_init_externref_table: function() {
2437
+ const table = wasm.__wbindgen_externrefs;
2438
+ const offset = table.grow(4);
2439
+ table.set(0, undefined);
2440
+ table.set(offset + 0, undefined);
2441
+ table.set(offset + 1, null);
2442
+ table.set(offset + 2, true);
2443
+ table.set(offset + 3, false);
2444
+ },
2445
+ };
2446
+ return {
2447
+ __proto__: null,
2448
+ "./hyperchess_wasm_bg.js": import0,
2449
+ };
2450
+ }
2451
+
2452
+ function wasm_bindgen__convert__closures_____invoke__hb0b40ee7dfd77fc5(arg0, arg1, arg2) {
2453
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__hb0b40ee7dfd77fc5(arg0, arg1, arg2);
2454
+ if (ret[1]) {
2455
+ throw takeFromExternrefTable0(ret[0]);
2456
+ }
2457
+ }
2458
+
2459
+ function wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a(arg0, arg1, arg2) {
2460
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a(arg0, arg1, arg2);
2461
+ if (ret[1]) {
2462
+ throw takeFromExternrefTable0(ret[0]);
2463
+ }
2464
+ }
2465
+
2466
+ function wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a_2(arg0, arg1, arg2) {
2467
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a_2(arg0, arg1, arg2);
2468
+ if (ret[1]) {
2469
+ throw takeFromExternrefTable0(ret[0]);
2470
+ }
2471
+ }
2472
+
2473
+ function wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a_3(arg0, arg1, arg2) {
2474
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h050ffcb604d90a8a_3(arg0, arg1, arg2);
2475
+ if (ret[1]) {
2476
+ throw takeFromExternrefTable0(ret[0]);
2477
+ }
2478
+ }
2479
+
2480
+ function wasm_bindgen__convert__closures_____invoke__h73e935f3b365ecab(arg0, arg1, arg2, arg3) {
2481
+ wasm.wasm_bindgen__convert__closures_____invoke__h73e935f3b365ecab(arg0, arg1, arg2, arg3);
2482
+ }
2483
+
2484
+
2485
+ const __wbindgen_enum_GpuAutoLayoutMode = ["auto"];
2486
+
2487
+
2488
+ 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"];
2489
+
2490
+
2491
+ const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
2492
+
2493
+
2494
+ const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
2495
+
2496
+
2497
+ const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
2498
+
2499
+
2500
+ const __wbindgen_enum_GpuCanvasToneMappingMode = ["standard", "extended"];
2501
+
2502
+
2503
+ const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
2504
+
2505
+
2506
+ const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
2507
+
2508
+
2509
+ const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
2510
+
2511
+
2512
+ const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
2513
+
2514
+
2515
+ const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
2516
+
2517
+
2518
+ const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
2519
+
2520
+
2521
+ const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
2522
+
2523
+
2524
+ const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
2525
+
2526
+
2527
+ const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
2528
+
2529
+
2530
+ const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
2531
+
2532
+
2533
+ const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
2534
+
2535
+
2536
+ const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
2537
+
2538
+
2539
+ const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
2540
+
2541
+
2542
+ 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"];
2543
+
2544
+
2545
+ const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "depth", "sint", "uint"];
2546
+
2547
+
2548
+ const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
2549
+
2550
+
2551
+ 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"];
2552
+
2553
+
2554
+ const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
2555
+ const Scene3DFinalization = (typeof FinalizationRegistry === 'undefined')
2556
+ ? { register: () => {}, unregister: () => {} }
2557
+ : new FinalizationRegistry(ptr => wasm.__wbg_scene3d_free(ptr, 1));
2558
+ const WasmBoardFinalization = (typeof FinalizationRegistry === 'undefined')
2559
+ ? { register: () => {}, unregister: () => {} }
2560
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmboard_free(ptr, 1));
2561
+
2562
+ function addToExternrefTable0(obj) {
2563
+ const idx = wasm.__externref_table_alloc();
2564
+ wasm.__wbindgen_externrefs.set(idx, obj);
2565
+ return idx;
2566
+ }
2567
+
2568
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
2569
+ ? { register: () => {}, unregister: () => {} }
2570
+ : new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
2571
+
2572
+ function debugString(val) {
2573
+ // primitive types
2574
+ const type = typeof val;
2575
+ if (type == 'number' || type == 'boolean' || val == null) {
2576
+ return `${val}`;
2577
+ }
2578
+ if (type == 'string') {
2579
+ return `"${val}"`;
2580
+ }
2581
+ if (type == 'symbol') {
2582
+ const description = val.description;
2583
+ if (description == null) {
2584
+ return 'Symbol';
2585
+ } else {
2586
+ return `Symbol(${description})`;
2587
+ }
2588
+ }
2589
+ if (type == 'function') {
2590
+ const name = val.name;
2591
+ if (typeof name == 'string' && name.length > 0) {
2592
+ return `Function(${name})`;
2593
+ } else {
2594
+ return 'Function';
2595
+ }
2596
+ }
2597
+ // objects
2598
+ if (Array.isArray(val)) {
2599
+ const length = val.length;
2600
+ let debug = '[';
2601
+ if (length > 0) {
2602
+ debug += debugString(val[0]);
2603
+ }
2604
+ for(let i = 1; i < length; i++) {
2605
+ debug += ', ' + debugString(val[i]);
2606
+ }
2607
+ debug += ']';
2608
+ return debug;
2609
+ }
2610
+ // Test for built-in
2611
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
2612
+ let className;
2613
+ if (builtInMatches && builtInMatches.length > 1) {
2614
+ className = builtInMatches[1];
2615
+ } else {
2616
+ // Failed to match the standard '[object ClassName]'
2617
+ return toString.call(val);
2618
+ }
2619
+ if (className == 'Object') {
2620
+ // we're a user defined class or Object
2621
+ // JSON.stringify avoids problems with cycles, and is generally much
2622
+ // easier than looping through ownProperties of `val`.
2623
+ try {
2624
+ return 'Object(' + JSON.stringify(val) + ')';
2625
+ } catch (_) {
2626
+ return 'Object';
2627
+ }
2628
+ }
2629
+ // errors
2630
+ if (val instanceof Error) {
2631
+ return `${val.name}: ${val.message}\n${val.stack}`;
2632
+ }
2633
+ // TODO we could test for more things here, like `Set`s and `Map`s.
2634
+ return className;
2635
+ }
2636
+
2637
+ function getArrayF32FromWasm0(ptr, len) {
2638
+ ptr = ptr >>> 0;
2639
+ return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
2640
+ }
2641
+
2642
+ function getArrayI16FromWasm0(ptr, len) {
2643
+ ptr = ptr >>> 0;
2644
+ return getInt16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
2645
+ }
2646
+
2647
+ function getArrayI32FromWasm0(ptr, len) {
2648
+ ptr = ptr >>> 0;
2649
+ return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
2650
+ }
2651
+
2652
+ function getArrayI8FromWasm0(ptr, len) {
2653
+ ptr = ptr >>> 0;
2654
+ return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
2655
+ }
2656
+
2657
+ function getArrayJsValueViewFromWasm0(ptr, len) {
2658
+ ptr = ptr >>> 0;
2659
+ const mem = getDataViewMemory0();
2660
+ const result = [];
2661
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
2662
+ result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
2663
+ }
2664
+ return result;
2665
+ }
2666
+
2667
+ function getArrayU16FromWasm0(ptr, len) {
2668
+ ptr = ptr >>> 0;
2669
+ return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
2670
+ }
2671
+
2672
+ function getArrayU32FromWasm0(ptr, len) {
2673
+ ptr = ptr >>> 0;
2674
+ return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
2675
+ }
2676
+
2677
+ function getArrayU8FromWasm0(ptr, len) {
2678
+ ptr = ptr >>> 0;
2679
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
2680
+ }
2681
+
2682
+ let cachedDataViewMemory0 = null;
2683
+ function getDataViewMemory0() {
2684
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
2685
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
2686
+ }
2687
+ return cachedDataViewMemory0;
2688
+ }
2689
+
2690
+ let cachedFloat32ArrayMemory0 = null;
2691
+ function getFloat32ArrayMemory0() {
2692
+ if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
2693
+ cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
2694
+ }
2695
+ return cachedFloat32ArrayMemory0;
2696
+ }
2697
+
2698
+ let cachedInt16ArrayMemory0 = null;
2699
+ function getInt16ArrayMemory0() {
2700
+ if (cachedInt16ArrayMemory0 === null || cachedInt16ArrayMemory0.byteLength === 0) {
2701
+ cachedInt16ArrayMemory0 = new Int16Array(wasm.memory.buffer);
2702
+ }
2703
+ return cachedInt16ArrayMemory0;
2704
+ }
2705
+
2706
+ let cachedInt32ArrayMemory0 = null;
2707
+ function getInt32ArrayMemory0() {
2708
+ if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) {
2709
+ cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer);
2710
+ }
2711
+ return cachedInt32ArrayMemory0;
2712
+ }
2713
+
2714
+ let cachedInt8ArrayMemory0 = null;
2715
+ function getInt8ArrayMemory0() {
2716
+ if (cachedInt8ArrayMemory0 === null || cachedInt8ArrayMemory0.byteLength === 0) {
2717
+ cachedInt8ArrayMemory0 = new Int8Array(wasm.memory.buffer);
2718
+ }
2719
+ return cachedInt8ArrayMemory0;
2720
+ }
2721
+
2722
+ function getStringFromWasm0(ptr, len) {
2723
+ return decodeText(ptr >>> 0, len);
2724
+ }
2725
+
2726
+ let cachedUint16ArrayMemory0 = null;
2727
+ function getUint16ArrayMemory0() {
2728
+ if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) {
2729
+ cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
2730
+ }
2731
+ return cachedUint16ArrayMemory0;
2732
+ }
2733
+
2734
+ let cachedUint32ArrayMemory0 = null;
2735
+ function getUint32ArrayMemory0() {
2736
+ if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
2737
+ cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
2738
+ }
2739
+ return cachedUint32ArrayMemory0;
2740
+ }
2741
+
2742
+ let cachedUint8ArrayMemory0 = null;
2743
+ function getUint8ArrayMemory0() {
2744
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
2745
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
2746
+ }
2747
+ return cachedUint8ArrayMemory0;
2748
+ }
2749
+
2750
+ function handleError(f, args) {
2751
+ try {
2752
+ return f.apply(this, args);
2753
+ } catch (e) {
2754
+ const idx = addToExternrefTable0(e);
2755
+ wasm.__wbindgen_exn_store(idx);
2756
+ }
2757
+ }
2758
+
2759
+ function isLikeNone(x) {
2760
+ return x === undefined || x === null;
2761
+ }
2762
+
2763
+ function makeMutClosure(arg0, arg1, f) {
2764
+ const state = { a: arg0, b: arg1, cnt: 1 };
2765
+ const real = (...args) => {
2766
+
2767
+ // First up with a closure we increment the internal reference
2768
+ // count. This ensures that the Rust closure environment won't
2769
+ // be deallocated while we're invoking it.
2770
+ state.cnt++;
2771
+ const a = state.a;
2772
+ state.a = 0;
2773
+ try {
2774
+ return f(a, state.b, ...args);
2775
+ } finally {
2776
+ state.a = a;
2777
+ real._wbg_cb_unref();
2778
+ }
2779
+ };
2780
+ real._wbg_cb_unref = () => {
2781
+ if (--state.cnt === 0) {
2782
+ wasm.__wbindgen_destroy_closure(state.a, state.b);
2783
+ state.a = 0;
2784
+ CLOSURE_DTORS.unregister(state);
2785
+ }
2786
+ };
2787
+ CLOSURE_DTORS.register(real, state, state);
2788
+ return real;
2789
+ }
2790
+
2791
+ function passArray8ToWasm0(arg, malloc) {
2792
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
2793
+ getUint8ArrayMemory0().set(arg, ptr / 1);
2794
+ WASM_VECTOR_LEN = arg.length;
2795
+ return ptr;
2796
+ }
2797
+
2798
+ function passStringToWasm0(arg, malloc, realloc) {
2799
+ if (realloc === undefined) {
2800
+ const buf = cachedTextEncoder.encode(arg);
2801
+ const ptr = malloc(buf.length, 1) >>> 0;
2802
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
2803
+ WASM_VECTOR_LEN = buf.length;
2804
+ return ptr;
2805
+ }
2806
+
2807
+ let len = arg.length;
2808
+ let ptr = malloc(len, 1) >>> 0;
2809
+
2810
+ const mem = getUint8ArrayMemory0();
2811
+
2812
+ let offset = 0;
2813
+
2814
+ for (; offset < len; offset++) {
2815
+ const code = arg.charCodeAt(offset);
2816
+ if (code > 0x7F) break;
2817
+ mem[ptr + offset] = code;
2818
+ }
2819
+ if (offset !== len) {
2820
+ if (offset !== 0) {
2821
+ arg = arg.slice(offset);
2822
+ }
2823
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
2824
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
2825
+ const ret = cachedTextEncoder.encodeInto(arg, view);
2826
+
2827
+ offset += ret.written;
2828
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
2829
+ }
2830
+
2831
+ WASM_VECTOR_LEN = offset;
2832
+ return ptr;
2833
+ }
2834
+
2835
+ function takeFromExternrefTable0(idx) {
2836
+ const value = wasm.__wbindgen_externrefs.get(idx);
2837
+ wasm.__externref_table_dealloc(idx);
2838
+ return value;
2839
+ }
2840
+
2841
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
2842
+ cachedTextDecoder.decode();
2843
+ function decodeText(ptr, len) {
2844
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
2845
+ }
2846
+
2847
+ const cachedTextEncoder = new TextEncoder();
2848
+
2849
+ if (!('encodeInto' in cachedTextEncoder)) {
2850
+ cachedTextEncoder.encodeInto = function (arg, view) {
2851
+ const buf = cachedTextEncoder.encode(arg);
2852
+ view.set(buf);
2853
+ return {
2854
+ read: arg.length,
2855
+ written: buf.length
2856
+ };
2857
+ };
2858
+ }
2859
+
2860
+ let WASM_VECTOR_LEN = 0;
2861
+
2862
+ const wasmPath = `${__dirname}/hyperchess_wasm_bg.wasm`;
2863
+ const wasmBytes = require('fs').readFileSync(wasmPath);
2864
+ const wasmModule = new WebAssembly.Module(wasmBytes);
2865
+ let wasmInstance = new WebAssembly.Instance(wasmModule, __wbg_get_imports());
2866
+ let wasm = wasmInstance.exports;
2867
+ wasm.__wbindgen_start();