oriverse-engine 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AGENT_ONBOARDING.md +74 -74
- package/dist/CODEX_PROMPT.md +9 -9
- package/dist/examples/coin_collector.weave +70 -70
- package/dist/examples/dodge_blocks.weave +70 -70
- package/dist/examples/target_range.weave +82 -82
- package/dist/ktx_bridge.js +121 -121
- package/dist/ktx_lib.js +1 -1
- package/dist/ktx_lib.wasm +0 -0
- package/dist/oriverse_wgpu.d.ts +78 -43
- package/dist/oriverse_wgpu.js +333 -112
- package/dist/oriverse_wgpu_bg.wasm +0 -0
- package/dist/oriverse_wgpu_bg.wasm.d.ts +48 -42
- package/dist/prewarm.js +72 -0
- package/dist/snippets/oriverse_market_client-0cd3013288f3c49c/inline1.js +41 -0
- package/dist/snippets/oriverse_wgpu-255445ce6d9a0851/inline0.js +58 -20
- package/dist/snippets/oriverse_wgpu-255445ce6d9a0851/inline1.js +26 -58
- package/dist/starter/AGENTS.md +2 -2
- package/dist/starter/CLAUDE.md +2 -2
- package/dist/starter/game.html +11 -8
- package/dist/templates/game.html +5 -2
- package/dist/templates/game_cdn.html +11 -8
- package/dist/weave_documentation.txt +2861 -170
- package/package.json +1 -1
package/dist/oriverse_wgpu.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* @ts-self-types="./oriverse_wgpu.d.ts" */
|
|
2
2
|
import { marketClientInitMessageBridge, marketClientPostMessage } from './snippets/oriverse_market_client-0cd3013288f3c49c/inline0.js';
|
|
3
|
+
import { marketClientReadIndexedDbValue } from './snippets/oriverse_market_client-0cd3013288f3c49c/inline1.js';
|
|
3
4
|
|
|
4
5
|
export class IntoUnderlyingByteSource {
|
|
5
6
|
__destroy_into_raw() {
|
|
@@ -137,6 +138,76 @@ export function init_market_client_message_bridge(worker) {
|
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Worker-side entry for `live_sim_log_objects_at_frames` on wasm.
|
|
143
|
+
* @param {string} world_text
|
|
144
|
+
* @param {string} args_json
|
|
145
|
+
* @returns {string}
|
|
146
|
+
*/
|
|
147
|
+
export function live_sim_log_objects_entry(world_text, args_json) {
|
|
148
|
+
let deferred3_0;
|
|
149
|
+
let deferred3_1;
|
|
150
|
+
try {
|
|
151
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
152
|
+
const len0 = WASM_VECTOR_LEN;
|
|
153
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
154
|
+
const len1 = WASM_VECTOR_LEN;
|
|
155
|
+
const ret = wasm.live_sim_log_objects_entry(ptr0, len0, ptr1, len1);
|
|
156
|
+
deferred3_0 = ret[0];
|
|
157
|
+
deferred3_1 = ret[1];
|
|
158
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
159
|
+
} finally {
|
|
160
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Worker-side entry for `live_sim_log_simcalls` on wasm.
|
|
166
|
+
* @param {string} world_text
|
|
167
|
+
* @param {string} args_json
|
|
168
|
+
* @returns {string}
|
|
169
|
+
*/
|
|
170
|
+
export function live_sim_log_simcalls_entry(world_text, args_json) {
|
|
171
|
+
let deferred3_0;
|
|
172
|
+
let deferred3_1;
|
|
173
|
+
try {
|
|
174
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
175
|
+
const len0 = WASM_VECTOR_LEN;
|
|
176
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
177
|
+
const len1 = WASM_VECTOR_LEN;
|
|
178
|
+
const ret = wasm.live_sim_log_simcalls_entry(ptr0, len0, ptr1, len1);
|
|
179
|
+
deferred3_0 = ret[0];
|
|
180
|
+
deferred3_1 = ret[1];
|
|
181
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
182
|
+
} finally {
|
|
183
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Worker-side entry for the `materialize_temp_weave_patch` source half on wasm: runs
|
|
189
|
+
* the sandbox sim and returns the `MaterializedTempWeavePatch` JSON as `text`.
|
|
190
|
+
* @param {string} world_text
|
|
191
|
+
* @param {string} args_json
|
|
192
|
+
* @returns {string}
|
|
193
|
+
*/
|
|
194
|
+
export function materialize_source_entry(world_text, args_json) {
|
|
195
|
+
let deferred3_0;
|
|
196
|
+
let deferred3_1;
|
|
197
|
+
try {
|
|
198
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
199
|
+
const len0 = WASM_VECTOR_LEN;
|
|
200
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
201
|
+
const len1 = WASM_VECTOR_LEN;
|
|
202
|
+
const ret = wasm.materialize_source_entry(ptr0, len0, ptr1, len1);
|
|
203
|
+
deferred3_0 = ret[0];
|
|
204
|
+
deferred3_1 = ret[1];
|
|
205
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
206
|
+
} finally {
|
|
207
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
140
211
|
/**
|
|
141
212
|
* @param {number} world_ptr
|
|
142
213
|
* @param {number} netctx_ptr
|
|
@@ -151,9 +222,11 @@ export function init_market_client_message_bridge(worker) {
|
|
|
151
222
|
* @param {number} latest_no_visual_world_generation_arc
|
|
152
223
|
* @param {number} latest_no_visual_seq_arc
|
|
153
224
|
* @param {number} start_flag_arc
|
|
225
|
+
* @param {number} predict_ship_arc
|
|
226
|
+
* @param {number} predict_recycle_arc
|
|
154
227
|
*/
|
|
155
|
-
export function sim_worker_init(world_ptr, netctx_ptr, client_arc, undo_arc, updates_arc, display_packets_arc, display_packets_count_arc, force_next_full_visual_sync_arc, last_display_visual_fingerprint_arc, latest_no_visual_frame_id_arc, latest_no_visual_world_generation_arc, latest_no_visual_seq_arc, start_flag_arc) {
|
|
156
|
-
wasm.sim_worker_init(world_ptr, netctx_ptr, client_arc, undo_arc, updates_arc, display_packets_arc, display_packets_count_arc, force_next_full_visual_sync_arc, last_display_visual_fingerprint_arc, latest_no_visual_frame_id_arc, latest_no_visual_world_generation_arc, latest_no_visual_seq_arc, start_flag_arc);
|
|
228
|
+
export function sim_worker_init(world_ptr, netctx_ptr, client_arc, undo_arc, updates_arc, display_packets_arc, display_packets_count_arc, force_next_full_visual_sync_arc, last_display_visual_fingerprint_arc, latest_no_visual_frame_id_arc, latest_no_visual_world_generation_arc, latest_no_visual_seq_arc, start_flag_arc, predict_ship_arc, predict_recycle_arc) {
|
|
229
|
+
wasm.sim_worker_init(world_ptr, netctx_ptr, client_arc, undo_arc, updates_arc, display_packets_arc, display_packets_count_arc, force_next_full_visual_sync_arc, last_display_visual_fingerprint_arc, latest_no_visual_frame_id_arc, latest_no_visual_world_generation_arc, latest_no_visual_seq_arc, start_flag_arc, predict_ship_arc, predict_recycle_arc);
|
|
157
230
|
}
|
|
158
231
|
|
|
159
232
|
/**
|
|
@@ -173,6 +246,55 @@ export function start_wasm_oriverse() {
|
|
|
173
246
|
wasm.start_wasm_oriverse();
|
|
174
247
|
}
|
|
175
248
|
|
|
249
|
+
/**
|
|
250
|
+
* Worker-side entry for the one-shot hidden-tab playtest fallback. Runs ONLY inside a
|
|
251
|
+
* fresh-memory worker instance (never the live heap - B42's wasm analog); mirrors the
|
|
252
|
+
* validate path's process flags so headless load/sim behave like the desktop text lane.
|
|
253
|
+
* Returns {"ok":true,"text"} or {"ok":false,"error","arg_error"}.
|
|
254
|
+
* @param {string} world_text
|
|
255
|
+
* @param {string} args_json
|
|
256
|
+
* @returns {string}
|
|
257
|
+
*/
|
|
258
|
+
export function text_playtest_entry(world_text, args_json) {
|
|
259
|
+
let deferred3_0;
|
|
260
|
+
let deferred3_1;
|
|
261
|
+
try {
|
|
262
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
263
|
+
const len0 = WASM_VECTOR_LEN;
|
|
264
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
265
|
+
const len1 = WASM_VECTOR_LEN;
|
|
266
|
+
const ret = wasm.text_playtest_entry(ptr0, len0, ptr1, len1);
|
|
267
|
+
deferred3_0 = ret[0];
|
|
268
|
+
deferred3_1 = ret[1];
|
|
269
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
270
|
+
} finally {
|
|
271
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Worker-side entry for `ui_inspect` (incl. `actions` interaction) on wasm.
|
|
277
|
+
* @param {string} world_text
|
|
278
|
+
* @param {string} args_json
|
|
279
|
+
* @returns {string}
|
|
280
|
+
*/
|
|
281
|
+
export function ui_inspect_entry(world_text, args_json) {
|
|
282
|
+
let deferred3_0;
|
|
283
|
+
let deferred3_1;
|
|
284
|
+
try {
|
|
285
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
286
|
+
const len0 = WASM_VECTOR_LEN;
|
|
287
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
288
|
+
const len1 = WASM_VECTOR_LEN;
|
|
289
|
+
const ret = wasm.ui_inspect_entry(ptr0, len0, ptr1, len1);
|
|
290
|
+
deferred3_0 = ret[0];
|
|
291
|
+
deferred3_1 = ret[1];
|
|
292
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
293
|
+
} finally {
|
|
294
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
176
298
|
/**
|
|
177
299
|
* Synchronous `#[wasm_bindgen]` export the worker calls inside `onmessage`. The whole
|
|
178
300
|
* sim path (`simulate_world_description` -> `simulate_build_world` -> `run_n_frames`)
|
|
@@ -480,6 +602,10 @@ function __wbg_get_imports() {
|
|
|
480
602
|
const ret = arg0.call(arg1);
|
|
481
603
|
return ret;
|
|
482
604
|
}, arguments); },
|
|
605
|
+
__wbg_call_f858478a02f9600f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
606
|
+
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
|
607
|
+
return ret;
|
|
608
|
+
}, arguments); },
|
|
483
609
|
__wbg_cancelAnimationFrame_43fad84647f46036: function() { return handleError(function (arg0, arg1) {
|
|
484
610
|
arg0.cancelAnimationFrame(arg1);
|
|
485
611
|
}, arguments); },
|
|
@@ -545,6 +671,10 @@ function __wbg_get_imports() {
|
|
|
545
671
|
const ret = arg0.clientY;
|
|
546
672
|
return ret;
|
|
547
673
|
},
|
|
674
|
+
__wbg_clipboardData_643239fa2d14590e: function(arg0) {
|
|
675
|
+
const ret = arg0.clipboardData;
|
|
676
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
677
|
+
},
|
|
548
678
|
__wbg_clipboard_0285d75eacda5282: function(arg0) {
|
|
549
679
|
const ret = arg0.clipboard;
|
|
550
680
|
return ret;
|
|
@@ -732,6 +862,13 @@ function __wbg_get_imports() {
|
|
|
732
862
|
const ret = arg0.decode();
|
|
733
863
|
return ret;
|
|
734
864
|
},
|
|
865
|
+
__wbg_defaultPrevented_494d697930800139: function(arg0) {
|
|
866
|
+
const ret = arg0.defaultPrevented;
|
|
867
|
+
return ret;
|
|
868
|
+
},
|
|
869
|
+
__wbg_delete_e0564e7741071916: function(arg0, arg1, arg2) {
|
|
870
|
+
arg0.delete(getStringFromWasm0(arg1, arg2));
|
|
871
|
+
},
|
|
735
872
|
__wbg_deltaMode_e239727f16c7ad68: function(arg0) {
|
|
736
873
|
const ret = arg0.deltaMode;
|
|
737
874
|
return ret;
|
|
@@ -935,6 +1072,13 @@ function __wbg_get_imports() {
|
|
|
935
1072
|
const ret = arg0.getCurrentTexture();
|
|
936
1073
|
return ret;
|
|
937
1074
|
}, arguments); },
|
|
1075
|
+
__wbg_getData_f1a32ff1c8973144: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1076
|
+
const ret = arg1.getData(getStringFromWasm0(arg2, arg3));
|
|
1077
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1078
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1079
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1080
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1081
|
+
}, arguments); },
|
|
938
1082
|
__wbg_getElementById_d1f25d287b19a833: function(arg0, arg1, arg2) {
|
|
939
1083
|
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
|
|
940
1084
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -991,6 +1135,13 @@ function __wbg_get_imports() {
|
|
|
991
1135
|
const ret = arg0.getTimezoneOffset();
|
|
992
1136
|
return ret;
|
|
993
1137
|
},
|
|
1138
|
+
__wbg_get_1b6e981d97421840: function(arg0, arg1, arg2, arg3) {
|
|
1139
|
+
const ret = arg1.get(getStringFromWasm0(arg2, arg3));
|
|
1140
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1141
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1142
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1143
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1144
|
+
},
|
|
994
1145
|
__wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
|
|
995
1146
|
const ret = Reflect.get(arg0, arg1);
|
|
996
1147
|
return ret;
|
|
@@ -1031,6 +1182,18 @@ function __wbg_get_imports() {
|
|
|
1031
1182
|
const ret = arg0.grow(arg1 >>> 0);
|
|
1032
1183
|
return ret;
|
|
1033
1184
|
}, arguments); },
|
|
1185
|
+
__wbg_hardwareConcurrency_a8e3f7c0d77df6d3: function(arg0) {
|
|
1186
|
+
const ret = arg0.hardwareConcurrency;
|
|
1187
|
+
return ret;
|
|
1188
|
+
},
|
|
1189
|
+
__wbg_hasFocus_40081865140fa6ee: function() { return handleError(function (arg0) {
|
|
1190
|
+
const ret = arg0.hasFocus();
|
|
1191
|
+
return ret;
|
|
1192
|
+
}, arguments); },
|
|
1193
|
+
__wbg_has_24a35e83d7aba311: function(arg0, arg1, arg2) {
|
|
1194
|
+
const ret = arg0.has(getStringFromWasm0(arg1, arg2));
|
|
1195
|
+
return ret;
|
|
1196
|
+
},
|
|
1034
1197
|
__wbg_has_926ef2ff40b308cf: function() { return handleError(function (arg0, arg1) {
|
|
1035
1198
|
const ret = Reflect.has(arg0, arg1);
|
|
1036
1199
|
return ret;
|
|
@@ -1055,6 +1218,10 @@ function __wbg_get_imports() {
|
|
|
1055
1218
|
const ret = arg0.hidden;
|
|
1056
1219
|
return ret;
|
|
1057
1220
|
},
|
|
1221
|
+
__wbg_history_26b8c29b7753d0e8: function() { return handleError(function (arg0) {
|
|
1222
|
+
const ret = arg0.history;
|
|
1223
|
+
return ret;
|
|
1224
|
+
}, arguments); },
|
|
1058
1225
|
__wbg_hostname_a30ece22df1c8b63: function() { return handleError(function (arg0, arg1) {
|
|
1059
1226
|
const ret = arg1.hostname;
|
|
1060
1227
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1204,6 +1371,16 @@ function __wbg_get_imports() {
|
|
|
1204
1371
|
const ret = result;
|
|
1205
1372
|
return ret;
|
|
1206
1373
|
},
|
|
1374
|
+
__wbg_instanceof_GpuError_c1d288529bc3c6aa: function(arg0) {
|
|
1375
|
+
let result;
|
|
1376
|
+
try {
|
|
1377
|
+
result = arg0 instanceof GPUError;
|
|
1378
|
+
} catch (_) {
|
|
1379
|
+
result = false;
|
|
1380
|
+
}
|
|
1381
|
+
const ret = result;
|
|
1382
|
+
return ret;
|
|
1383
|
+
},
|
|
1207
1384
|
__wbg_instanceof_GpuOutOfMemoryError_5ac5c50ce9ee21d2: function(arg0) {
|
|
1208
1385
|
let result;
|
|
1209
1386
|
try {
|
|
@@ -1457,6 +1634,10 @@ function __wbg_get_imports() {
|
|
|
1457
1634
|
__wbg_marketClientPostMessage_f220cbf0b0912aff: function(arg0, arg1, arg2, arg3) {
|
|
1458
1635
|
marketClientPostMessage(getStringFromWasm0(arg0, arg1), arg2 === 0 ? undefined : getStringFromWasm0(arg2, arg3));
|
|
1459
1636
|
},
|
|
1637
|
+
__wbg_marketClientReadIndexedDbValue_00018e02d39d9b45: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1638
|
+
const ret = marketClientReadIndexedDbValue(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
1639
|
+
return ret;
|
|
1640
|
+
}, arguments); },
|
|
1460
1641
|
__wbg_matchMedia_b27489ec503ba2a5: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1461
1642
|
const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
|
|
1462
1643
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1774,7 +1955,7 @@ function __wbg_get_imports() {
|
|
|
1774
1955
|
const a = state0.a;
|
|
1775
1956
|
state0.a = 0;
|
|
1776
1957
|
try {
|
|
1777
|
-
return
|
|
1958
|
+
return wasm_bindgen__convert__closures_____invoke__h4e1d18a25cb702b7(a, state0.b, arg0, arg1);
|
|
1778
1959
|
} finally {
|
|
1779
1960
|
state0.a = a;
|
|
1780
1961
|
}
|
|
@@ -1946,6 +2127,10 @@ function __wbg_get_imports() {
|
|
|
1946
2127
|
const ret = arg0.pointerId;
|
|
1947
2128
|
return ret;
|
|
1948
2129
|
},
|
|
2130
|
+
__wbg_pointerLockElement_351ae3d599753f4f: function(arg0) {
|
|
2131
|
+
const ret = arg0.pointerLockElement;
|
|
2132
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2133
|
+
},
|
|
1949
2134
|
__wbg_pointerType_02525bef1df5f79c: function(arg0, arg1) {
|
|
1950
2135
|
const ret = arg1.pointerType;
|
|
1951
2136
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2054,9 +2239,19 @@ function __wbg_get_imports() {
|
|
|
2054
2239
|
const ret = arg0.reason;
|
|
2055
2240
|
return (__wbindgen_enum_GpuDeviceLostReason.indexOf(ret) + 1 || 3) - 1;
|
|
2056
2241
|
},
|
|
2242
|
+
__wbg_referrer_ea1546f57cf0bd3f: function(arg0, arg1) {
|
|
2243
|
+
const ret = arg1.referrer;
|
|
2244
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2245
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2246
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2247
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2248
|
+
},
|
|
2057
2249
|
__wbg_releaseLock_ef7766a5da654ff8: function(arg0) {
|
|
2058
2250
|
arg0.releaseLock();
|
|
2059
2251
|
},
|
|
2252
|
+
__wbg_reload_297a8108e49bb93a: function() { return handleError(function (arg0) {
|
|
2253
|
+
arg0.reload();
|
|
2254
|
+
}, arguments); },
|
|
2060
2255
|
__wbg_removeEventListener_d27694700fc0df8b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2061
2256
|
arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
2062
2257
|
}, arguments); },
|
|
@@ -2080,6 +2275,9 @@ function __wbg_get_imports() {
|
|
|
2080
2275
|
const ret = arg0.repeat;
|
|
2081
2276
|
return ret;
|
|
2082
2277
|
},
|
|
2278
|
+
__wbg_replaceState_2dd9c86c164b292e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2279
|
+
arg0.replaceState(arg1, getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
|
|
2280
|
+
}, arguments); },
|
|
2083
2281
|
__wbg_replace_ac021aa56ba20cbb: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2084
2282
|
arg0.replace(getStringFromWasm0(arg1, arg2));
|
|
2085
2283
|
}, arguments); },
|
|
@@ -2210,6 +2408,10 @@ function __wbg_get_imports() {
|
|
|
2210
2408
|
__wbg_setIndexBuffer_17431786d06c1b7c: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2211
2409
|
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
2212
2410
|
},
|
|
2411
|
+
__wbg_setInterval_2cc6fda2bedb96bc: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2412
|
+
const ret = arg0.setInterval(arg1, arg2);
|
|
2413
|
+
return ret;
|
|
2414
|
+
}, arguments); },
|
|
2213
2415
|
__wbg_setItem_5f84aeef0d7f3c17: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2214
2416
|
arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2215
2417
|
}, arguments); },
|
|
@@ -2463,6 +2665,9 @@ function __wbg_get_imports() {
|
|
|
2463
2665
|
__wbg_set_depth_read_only_138a11b10c731094: function(arg0, arg1) {
|
|
2464
2666
|
arg0.depthReadOnly = arg1 !== 0;
|
|
2465
2667
|
},
|
|
2668
|
+
__wbg_set_depth_slice_dd2814a03f61b700: function(arg0, arg1) {
|
|
2669
|
+
arg0.depthSlice = arg1 >>> 0;
|
|
2670
|
+
},
|
|
2466
2671
|
__wbg_set_depth_stencil_1bd50dbc450c8650: function(arg0, arg1) {
|
|
2467
2672
|
arg0.depthStencil = arg1;
|
|
2468
2673
|
},
|
|
@@ -3041,6 +3246,10 @@ function __wbg_get_imports() {
|
|
|
3041
3246
|
__wbg_start_f837ba2bac4733b5: function(arg0) {
|
|
3042
3247
|
arg0.start();
|
|
3043
3248
|
},
|
|
3249
|
+
__wbg_state_a4d9e52dfc1783cb: function(arg0) {
|
|
3250
|
+
const ret = arg0.state;
|
|
3251
|
+
return (__wbindgen_enum_AudioContextState.indexOf(ret) + 1 || 4) - 1;
|
|
3252
|
+
},
|
|
3044
3253
|
__wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
|
|
3045
3254
|
const ret = typeof global === 'undefined' ? null : global;
|
|
3046
3255
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -3231,146 +3440,151 @@ function __wbg_get_imports() {
|
|
|
3231
3440
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
3232
3441
|
}, arguments); },
|
|
3233
3442
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3234
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3235
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3443
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2527, function: Function { arguments: [Externref, Externref], shim_idx: 2533, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3444
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h5403ccc7e321a332);
|
|
3236
3445
|
return ret;
|
|
3237
3446
|
},
|
|
3238
3447
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3239
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3240
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3448
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2527, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 2528, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3449
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac);
|
|
3241
3450
|
return ret;
|
|
3242
3451
|
},
|
|
3243
3452
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3244
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3245
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3453
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2527, function: Function { arguments: [NamedExternref("Event")], shim_idx: 2528, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3454
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_2);
|
|
3246
3455
|
return ret;
|
|
3247
3456
|
},
|
|
3248
3457
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3249
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3250
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3458
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2527, function: Function { arguments: [NamedExternref("RTCDataChannelEvent")], shim_idx: 2528, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3459
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_3);
|
|
3251
3460
|
return ret;
|
|
3252
3461
|
},
|
|
3253
3462
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
3254
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3255
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3463
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2527, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceEvent")], shim_idx: 2528, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3464
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_4);
|
|
3256
3465
|
return ret;
|
|
3257
3466
|
},
|
|
3258
3467
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
3259
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3260
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3468
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 3272, function: Function { arguments: [], shim_idx: 3273, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3469
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h89c85bd0b07be596, wasm_bindgen__convert__closures_____invoke__hbfcfb7f057cbec16);
|
|
3261
3470
|
return ret;
|
|
3262
3471
|
},
|
|
3263
3472
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
3264
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3265
|
-
const ret =
|
|
3473
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4471, function: Function { arguments: [String], shim_idx: 4472, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
3474
|
+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd809ba2104dce3be, wasm_bindgen__convert__closures_____invoke__hb11eab9190fa9385);
|
|
3266
3475
|
return ret;
|
|
3267
3476
|
},
|
|
3268
3477
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
3269
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3270
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3478
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4571, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 4572, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3479
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h788eb94be5c10650, wasm_bindgen__convert__closures_____invoke__h549f7ddd74327602);
|
|
3271
3480
|
return ret;
|
|
3272
3481
|
},
|
|
3273
3482
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
3274
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3275
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3483
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4688, function: Function { arguments: [Externref], shim_idx: 4689, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3484
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h41503ab709c8af95, wasm_bindgen__convert__closures_____invoke__hb901e6d890fc7df6);
|
|
3276
3485
|
return ret;
|
|
3277
3486
|
},
|
|
3278
3487
|
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
3279
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3280
|
-
const ret =
|
|
3488
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [Externref], shim_idx: 4772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3489
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186);
|
|
3281
3490
|
return ret;
|
|
3282
3491
|
},
|
|
3283
3492
|
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
3284
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3285
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3493
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 4780, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3494
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h81d27409c27c1959);
|
|
3286
3495
|
return ret;
|
|
3287
3496
|
},
|
|
3288
3497
|
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
3289
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3290
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3498
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 4772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3499
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_11);
|
|
3291
3500
|
return ret;
|
|
3292
3501
|
},
|
|
3293
3502
|
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
3294
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3295
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3503
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [NamedExternref("Event")], shim_idx: 4772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3504
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_12);
|
|
3296
3505
|
return ret;
|
|
3297
3506
|
},
|
|
3298
3507
|
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
3299
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3300
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3508
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 4772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3509
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_13);
|
|
3301
3510
|
return ret;
|
|
3302
3511
|
},
|
|
3303
3512
|
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
3304
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3305
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3513
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 4772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3514
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_14);
|
|
3306
3515
|
return ret;
|
|
3307
3516
|
},
|
|
3308
3517
|
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
3309
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3310
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3518
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 4772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3519
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_15);
|
|
3311
3520
|
return ret;
|
|
3312
3521
|
},
|
|
3313
3522
|
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
3314
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3315
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3523
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 4772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3524
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_16);
|
|
3316
3525
|
return ret;
|
|
3317
3526
|
},
|
|
3318
3527
|
__wbindgen_cast_0000000000000012: function(arg0, arg1) {
|
|
3319
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3320
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3528
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 4772, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3529
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_17);
|
|
3321
3530
|
return ret;
|
|
3322
3531
|
},
|
|
3323
3532
|
__wbindgen_cast_0000000000000013: function(arg0, arg1) {
|
|
3324
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3325
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3533
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [Option(NamedExternref("Blob"))], shim_idx: 4783, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3534
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h164dda84a5e68923);
|
|
3326
3535
|
return ret;
|
|
3327
3536
|
},
|
|
3328
3537
|
__wbindgen_cast_0000000000000014: function(arg0, arg1) {
|
|
3329
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3330
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3538
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4771, function: Function { arguments: [], shim_idx: 4785, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3539
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h22f7f8bf18d68a3c);
|
|
3331
3540
|
return ret;
|
|
3332
3541
|
},
|
|
3333
3542
|
__wbindgen_cast_0000000000000015: function(arg0, arg1) {
|
|
3334
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3335
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3543
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5625, function: Function { arguments: [], shim_idx: 5626, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3544
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2504b00990fec809, wasm_bindgen__convert__closures_____invoke__hcb86fb251f5bd754);
|
|
3336
3545
|
return ret;
|
|
3337
3546
|
},
|
|
3338
3547
|
__wbindgen_cast_0000000000000016: function(arg0, arg1) {
|
|
3339
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3340
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3548
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5651, function: Function { arguments: [Externref], shim_idx: 5652, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3549
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6f1d7755af5a834d, wasm_bindgen__convert__closures_____invoke__h8be819b8043379a0);
|
|
3341
3550
|
return ret;
|
|
3342
3551
|
},
|
|
3343
3552
|
__wbindgen_cast_0000000000000017: function(arg0, arg1) {
|
|
3344
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3345
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3553
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5804, function: Function { arguments: [Externref], shim_idx: 5805, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3554
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h780a4b6abdc124b2, wasm_bindgen__convert__closures_____invoke__hc8bca67d3586a92f);
|
|
3346
3555
|
return ret;
|
|
3347
3556
|
},
|
|
3348
3557
|
__wbindgen_cast_0000000000000018: function(arg0, arg1) {
|
|
3349
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3350
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3558
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 997, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 998, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3559
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h08502510f6f722ca, wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5);
|
|
3351
3560
|
return ret;
|
|
3352
3561
|
},
|
|
3353
3562
|
__wbindgen_cast_0000000000000019: function(arg0, arg1) {
|
|
3354
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3355
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3563
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 997, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 998, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3564
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h08502510f6f722ca, wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5_24);
|
|
3356
3565
|
return ret;
|
|
3357
3566
|
},
|
|
3358
3567
|
__wbindgen_cast_000000000000001a: function(arg0, arg1) {
|
|
3359
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3360
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3568
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 997, function: Function { arguments: [String, String, Boolean], shim_idx: 1002, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3569
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h08502510f6f722ca, wasm_bindgen__convert__closures_____invoke__hb8ca66f61e41cce5);
|
|
3570
|
+
return ret;
|
|
3571
|
+
},
|
|
3572
|
+
__wbindgen_cast_000000000000001b: function(arg0, arg1) {
|
|
3573
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 997, function: Function { arguments: [U32, U32, F64], shim_idx: 1000, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3574
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h08502510f6f722ca, wasm_bindgen__convert__closures_____invoke__hee217a849ef8cb8a);
|
|
3361
3575
|
return ret;
|
|
3362
3576
|
},
|
|
3363
|
-
|
|
3577
|
+
__wbindgen_cast_000000000000001c: function(arg0) {
|
|
3364
3578
|
// Cast intrinsic for `F64 -> Externref`.
|
|
3365
3579
|
const ret = arg0;
|
|
3366
3580
|
return ret;
|
|
3367
3581
|
},
|
|
3368
|
-
|
|
3582
|
+
__wbindgen_cast_000000000000001d: function(arg0, arg1) {
|
|
3369
3583
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3370
3584
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
3371
3585
|
return ret;
|
|
3372
3586
|
},
|
|
3373
|
-
|
|
3587
|
+
__wbindgen_cast_000000000000001e: function(arg0, arg1) {
|
|
3374
3588
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
3375
3589
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
3376
3590
|
return ret;
|
|
@@ -3396,124 +3610,131 @@ function __wbg_get_imports() {
|
|
|
3396
3610
|
}
|
|
3397
3611
|
|
|
3398
3612
|
const lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));
|
|
3399
|
-
function
|
|
3400
|
-
wasm.
|
|
3613
|
+
function wasm_bindgen__convert__closures_____invoke__hbfcfb7f057cbec16(arg0, arg1) {
|
|
3614
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbfcfb7f057cbec16(arg0, arg1);
|
|
3401
3615
|
}
|
|
3402
3616
|
|
|
3403
|
-
function
|
|
3404
|
-
wasm.
|
|
3617
|
+
function wasm_bindgen__convert__closures_____invoke__h22f7f8bf18d68a3c(arg0, arg1) {
|
|
3618
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h22f7f8bf18d68a3c(arg0, arg1);
|
|
3405
3619
|
}
|
|
3406
3620
|
|
|
3407
|
-
function
|
|
3408
|
-
wasm.
|
|
3621
|
+
function wasm_bindgen__convert__closures_____invoke__hcb86fb251f5bd754(arg0, arg1) {
|
|
3622
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hcb86fb251f5bd754(arg0, arg1);
|
|
3409
3623
|
}
|
|
3410
3624
|
|
|
3411
|
-
function
|
|
3412
|
-
wasm.
|
|
3625
|
+
function wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac(arg0, arg1, arg2) {
|
|
3626
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac(arg0, arg1, arg2);
|
|
3413
3627
|
}
|
|
3414
3628
|
|
|
3415
|
-
function
|
|
3416
|
-
wasm.
|
|
3629
|
+
function wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_2(arg0, arg1, arg2) {
|
|
3630
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_2(arg0, arg1, arg2);
|
|
3417
3631
|
}
|
|
3418
3632
|
|
|
3419
|
-
function
|
|
3420
|
-
wasm.
|
|
3633
|
+
function wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_3(arg0, arg1, arg2) {
|
|
3634
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_3(arg0, arg1, arg2);
|
|
3421
3635
|
}
|
|
3422
3636
|
|
|
3423
|
-
function
|
|
3424
|
-
wasm.
|
|
3637
|
+
function wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_4(arg0, arg1, arg2) {
|
|
3638
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_4(arg0, arg1, arg2);
|
|
3425
3639
|
}
|
|
3426
3640
|
|
|
3427
|
-
function
|
|
3428
|
-
wasm.
|
|
3641
|
+
function wasm_bindgen__convert__closures_____invoke__h549f7ddd74327602(arg0, arg1, arg2) {
|
|
3642
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h549f7ddd74327602(arg0, arg1, arg2);
|
|
3429
3643
|
}
|
|
3430
3644
|
|
|
3431
|
-
function
|
|
3432
|
-
wasm.
|
|
3645
|
+
function wasm_bindgen__convert__closures_____invoke__hb901e6d890fc7df6(arg0, arg1, arg2) {
|
|
3646
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb901e6d890fc7df6(arg0, arg1, arg2);
|
|
3433
3647
|
}
|
|
3434
3648
|
|
|
3435
|
-
function
|
|
3436
|
-
wasm.
|
|
3649
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186(arg0, arg1, arg2) {
|
|
3650
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186(arg0, arg1, arg2);
|
|
3437
3651
|
}
|
|
3438
3652
|
|
|
3439
|
-
function
|
|
3440
|
-
wasm.
|
|
3653
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_11(arg0, arg1, arg2) {
|
|
3654
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_11(arg0, arg1, arg2);
|
|
3441
3655
|
}
|
|
3442
3656
|
|
|
3443
|
-
function
|
|
3444
|
-
wasm.
|
|
3657
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_12(arg0, arg1, arg2) {
|
|
3658
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_12(arg0, arg1, arg2);
|
|
3445
3659
|
}
|
|
3446
3660
|
|
|
3447
|
-
function
|
|
3448
|
-
wasm.
|
|
3661
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_13(arg0, arg1, arg2) {
|
|
3662
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_13(arg0, arg1, arg2);
|
|
3449
3663
|
}
|
|
3450
3664
|
|
|
3451
|
-
function
|
|
3452
|
-
wasm.
|
|
3665
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_14(arg0, arg1, arg2) {
|
|
3666
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_14(arg0, arg1, arg2);
|
|
3453
3667
|
}
|
|
3454
3668
|
|
|
3455
|
-
function
|
|
3456
|
-
wasm.
|
|
3669
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_15(arg0, arg1, arg2) {
|
|
3670
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_15(arg0, arg1, arg2);
|
|
3457
3671
|
}
|
|
3458
3672
|
|
|
3459
|
-
function
|
|
3460
|
-
wasm.
|
|
3673
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_16(arg0, arg1, arg2) {
|
|
3674
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_16(arg0, arg1, arg2);
|
|
3461
3675
|
}
|
|
3462
3676
|
|
|
3463
|
-
function
|
|
3464
|
-
wasm.
|
|
3677
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_17(arg0, arg1, arg2) {
|
|
3678
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_17(arg0, arg1, arg2);
|
|
3465
3679
|
}
|
|
3466
3680
|
|
|
3467
|
-
function
|
|
3468
|
-
wasm.
|
|
3681
|
+
function wasm_bindgen__convert__closures_____invoke__h8be819b8043379a0(arg0, arg1, arg2) {
|
|
3682
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h8be819b8043379a0(arg0, arg1, arg2);
|
|
3469
3683
|
}
|
|
3470
3684
|
|
|
3471
|
-
function
|
|
3472
|
-
wasm.
|
|
3685
|
+
function wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5(arg0, arg1, arg2) {
|
|
3686
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5(arg0, arg1, arg2);
|
|
3473
3687
|
}
|
|
3474
3688
|
|
|
3475
|
-
function
|
|
3476
|
-
|
|
3689
|
+
function wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5_24(arg0, arg1, arg2) {
|
|
3690
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5_24(arg0, arg1, arg2);
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3693
|
+
function wasm_bindgen__convert__closures_____invoke__hc8bca67d3586a92f(arg0, arg1, arg2) {
|
|
3694
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hc8bca67d3586a92f(arg0, arg1, arg2);
|
|
3477
3695
|
if (ret[1]) {
|
|
3478
3696
|
throw takeFromExternrefTable0(ret[0]);
|
|
3479
3697
|
}
|
|
3480
3698
|
}
|
|
3481
3699
|
|
|
3482
|
-
function
|
|
3483
|
-
wasm.
|
|
3700
|
+
function wasm_bindgen__convert__closures_____invoke__h5403ccc7e321a332(arg0, arg1, arg2, arg3) {
|
|
3701
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5403ccc7e321a332(arg0, arg1, arg2, arg3);
|
|
3484
3702
|
}
|
|
3485
3703
|
|
|
3486
|
-
function
|
|
3487
|
-
wasm.
|
|
3704
|
+
function wasm_bindgen__convert__closures_____invoke__h81d27409c27c1959(arg0, arg1, arg2, arg3) {
|
|
3705
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h81d27409c27c1959(arg0, arg1, arg2, arg3);
|
|
3488
3706
|
}
|
|
3489
3707
|
|
|
3490
|
-
function
|
|
3491
|
-
wasm.
|
|
3708
|
+
function wasm_bindgen__convert__closures_____invoke__h4e1d18a25cb702b7(arg0, arg1, arg2, arg3) {
|
|
3709
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4e1d18a25cb702b7(arg0, arg1, arg2, arg3);
|
|
3492
3710
|
}
|
|
3493
3711
|
|
|
3494
|
-
function
|
|
3495
|
-
wasm.
|
|
3712
|
+
function wasm_bindgen__convert__closures_____invoke__h164dda84a5e68923(arg0, arg1, arg2) {
|
|
3713
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h164dda84a5e68923(arg0, arg1, isLikeNone(arg2) ? 0 : addToExternrefTable0(arg2));
|
|
3496
3714
|
}
|
|
3497
3715
|
|
|
3498
|
-
function
|
|
3716
|
+
function wasm_bindgen__convert__closures_____invoke__hb11eab9190fa9385(arg0, arg1, arg2) {
|
|
3499
3717
|
const ptr0 = passStringToWasm0(arg2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3500
3718
|
const len0 = WASM_VECTOR_LEN;
|
|
3501
|
-
wasm.
|
|
3719
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb11eab9190fa9385(arg0, arg1, ptr0, len0);
|
|
3502
3720
|
}
|
|
3503
3721
|
|
|
3504
|
-
function
|
|
3722
|
+
function wasm_bindgen__convert__closures_____invoke__hb8ca66f61e41cce5(arg0, arg1, arg2, arg3, arg4) {
|
|
3505
3723
|
const ptr0 = passStringToWasm0(arg2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3506
3724
|
const len0 = WASM_VECTOR_LEN;
|
|
3507
3725
|
const ptr1 = passStringToWasm0(arg3, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3508
3726
|
const len1 = WASM_VECTOR_LEN;
|
|
3509
|
-
wasm.
|
|
3727
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb8ca66f61e41cce5(arg0, arg1, ptr0, len0, ptr1, len1, arg4);
|
|
3510
3728
|
}
|
|
3511
3729
|
|
|
3512
|
-
function
|
|
3513
|
-
wasm.
|
|
3730
|
+
function wasm_bindgen__convert__closures_____invoke__hee217a849ef8cb8a(arg0, arg1, arg2, arg3, arg4) {
|
|
3731
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hee217a849ef8cb8a(arg0, arg1, arg2, arg3, arg4);
|
|
3514
3732
|
}
|
|
3515
3733
|
|
|
3516
3734
|
|
|
3735
|
+
const __wbindgen_enum_AudioContextState = ["suspended", "running", "closed"];
|
|
3736
|
+
|
|
3737
|
+
|
|
3517
3738
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
3518
3739
|
|
|
3519
3740
|
|