@dcl-regenesislabs/bevy-explorer-web 0.1.0-35932535123.commit-9883f71 → 0.1.0-36033403701.commit-19347eb
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/assets/{Showcase-C5rqjC5_.js → Showcase-BUhkfRgq.js} +1 -1
- package/assets/{design-tpXIcp9S.js → design-Fh4VSWdp.js} +1 -1
- package/assets/{index-D2KtSwXa.css → index-B_oaXFz0.css} +1 -1
- package/assets/{index-lFIF2gi0.js → index-DX1YuW5C.js} +3 -3
- package/assets/{menus-DAAES5v_.js → menus-CSgILZ7j.js} +1 -1
- package/assets/{vendor-C7oQlkoF.css → vendor-BtKTmWnJ.css} +1 -1
- package/assets/{vendor-BcGk5WfL.js → vendor-C2yMCOI1.js} +1 -1
- package/bridge-scene/static/BevyExplorerUI/about +1 -1
- package/bridge-scene/static/{bafkreiagin33u6tsytrf7mrhd42h3pezggv4xnhvujhviws2jmee72ul7u → bafkreibr7lbrs4iu6lr3z5thdguk6ze7vslm7f4irlihbi4aoxdhj532m4} +1 -1
- package/engine/boot.js +14 -5
- package/engine/engine.js +117 -48
- package/engine/gpu_cache.js +49 -28
- package/engine/pkg/manifest.json +1 -1
- package/engine/pkg/sandbox_worker.bundle.js +834 -289
- package/engine/pkg/snippets/bevy_internal-2d8ddab1173ada7c/src/web_worker.js +121 -0
- package/engine/pkg/snippets/comms-53217a45365bb5fa/livekit_web_bindings.js +47 -13
- package/engine/pkg/snippets/decentra-bevy-f9c23e535711925a/deploy/web/engine/gpu_cache.js +439 -0
- package/engine/pkg/webgpu_build.d.ts +97 -67
- package/engine/pkg/webgpu_build.js +413 -328
- package/engine/pkg/webgpu_build_bg.wasm +2 -2
- package/engine/pkg/webgpu_build_bg.wasm.d.ts +26 -25
- package/engine/sandbox_worker.js +3 -3
- package/index.html +17 -17
- package/package.json +3 -3
- package/engine/asset_loader.js +0 -30
- package/engine/asset_processor.js +0 -32
|
@@ -1,144 +1,9 @@
|
|
|
1
1
|
/* @ts-self-types="./webgpu_build.d.ts" */
|
|
2
|
-
import {
|
|
2
|
+
import { spawnWorker } from './snippets/bevy_internal-2d8ddab1173ada7c/src/web_worker.js';
|
|
3
|
+
import { local_participant_identity, local_participant_metadata, local_participant_publish_data, local_participant_publish_track, local_participant_sid, local_participant_unpublish_track, local_track_publication_kind, local_track_publication_sid, local_track_publication_source, remote_participant_identity, remote_participant_metadata, remote_participant_sid, remote_track_publication_kind, remote_track_publication_set_subscribed, remote_track_publication_sid, remote_track_publication_source, room_close, room_connect, room_name } from './snippets/comms-53217a45365bb5fa/livekit_web_bindings.js';
|
|
4
|
+
import { initGpuCache } from './snippets/decentra-bevy-f9c23e535711925a/deploy/web/engine/gpu_cache.js';
|
|
3
5
|
import { saveSceneFile } from './snippets/platform-8c8a49e43042a652/src/web_save.js';
|
|
4
6
|
|
|
5
|
-
export class AudioCaptureOptions {
|
|
6
|
-
static __wrap(ptr) {
|
|
7
|
-
ptr = ptr >>> 0;
|
|
8
|
-
const obj = Object.create(AudioCaptureOptions.prototype);
|
|
9
|
-
obj.__wbg_ptr = ptr;
|
|
10
|
-
AudioCaptureOptionsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
11
|
-
return obj;
|
|
12
|
-
}
|
|
13
|
-
__destroy_into_raw() {
|
|
14
|
-
const ptr = this.__wbg_ptr;
|
|
15
|
-
this.__wbg_ptr = 0;
|
|
16
|
-
AudioCaptureOptionsFinalization.unregister(this);
|
|
17
|
-
return ptr;
|
|
18
|
-
}
|
|
19
|
-
free() {
|
|
20
|
-
const ptr = this.__destroy_into_raw();
|
|
21
|
-
wasm.__wbg_audiocaptureoptions_free(ptr, 0);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @returns {boolean | undefined}
|
|
25
|
-
*/
|
|
26
|
-
get autoGainControl() {
|
|
27
|
-
const ret = wasm.__wbg_get_audiocaptureoptions_autoGainControl(this.__wbg_ptr);
|
|
28
|
-
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @returns {bigint | undefined}
|
|
32
|
-
*/
|
|
33
|
-
get channelCount() {
|
|
34
|
-
const ret = wasm.__wbg_get_audiocaptureoptions_channelCount(this.__wbg_ptr);
|
|
35
|
-
return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @returns {boolean | undefined}
|
|
39
|
-
*/
|
|
40
|
-
get echoCancellation() {
|
|
41
|
-
const ret = wasm.__wbg_get_audiocaptureoptions_echoCancellation(this.__wbg_ptr);
|
|
42
|
-
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @returns {number | undefined}
|
|
46
|
-
*/
|
|
47
|
-
get latency() {
|
|
48
|
-
const ret = wasm.__wbg_get_audiocaptureoptions_latency(this.__wbg_ptr);
|
|
49
|
-
return ret[0] === 0 ? undefined : ret[1];
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @returns {boolean | undefined}
|
|
53
|
-
*/
|
|
54
|
-
get noiseSuppression() {
|
|
55
|
-
const ret = wasm.__wbg_get_audiocaptureoptions_noiseSuppression(this.__wbg_ptr);
|
|
56
|
-
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* @returns {bigint | undefined}
|
|
60
|
-
*/
|
|
61
|
-
get sampleRate() {
|
|
62
|
-
const ret = wasm.__wbg_get_audiocaptureoptions_sampleRate(this.__wbg_ptr);
|
|
63
|
-
return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* @returns {bigint | undefined}
|
|
67
|
-
*/
|
|
68
|
-
get sampleSize() {
|
|
69
|
-
const ret = wasm.__wbg_get_audiocaptureoptions_sampleSize(this.__wbg_ptr);
|
|
70
|
-
return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* @returns {boolean | undefined}
|
|
74
|
-
*/
|
|
75
|
-
get voiceIsolation() {
|
|
76
|
-
const ret = wasm.__wbg_get_audiocaptureoptions_voiceIsolation(this.__wbg_ptr);
|
|
77
|
-
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* @param {boolean | null} [arg0]
|
|
81
|
-
*/
|
|
82
|
-
set autoGainControl(arg0) {
|
|
83
|
-
wasm.__wbg_set_audiocaptureoptions_autoGainControl(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @param {bigint | null} [arg0]
|
|
87
|
-
*/
|
|
88
|
-
set channelCount(arg0) {
|
|
89
|
-
wasm.__wbg_set_audiocaptureoptions_channelCount(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* @param {boolean | null} [arg0]
|
|
93
|
-
*/
|
|
94
|
-
set echoCancellation(arg0) {
|
|
95
|
-
wasm.__wbg_set_audiocaptureoptions_echoCancellation(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* @param {number | null} [arg0]
|
|
99
|
-
*/
|
|
100
|
-
set latency(arg0) {
|
|
101
|
-
wasm.__wbg_set_audiocaptureoptions_latency(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* @param {boolean | null} [arg0]
|
|
105
|
-
*/
|
|
106
|
-
set noiseSuppression(arg0) {
|
|
107
|
-
wasm.__wbg_set_audiocaptureoptions_noiseSuppression(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* @param {bigint | null} [arg0]
|
|
111
|
-
*/
|
|
112
|
-
set sampleRate(arg0) {
|
|
113
|
-
wasm.__wbg_set_audiocaptureoptions_sampleRate(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* @param {bigint | null} [arg0]
|
|
117
|
-
*/
|
|
118
|
-
set sampleSize(arg0) {
|
|
119
|
-
wasm.__wbg_set_audiocaptureoptions_sampleSize(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* @param {boolean | null} [arg0]
|
|
123
|
-
*/
|
|
124
|
-
set voiceIsolation(arg0) {
|
|
125
|
-
wasm.__wbg_set_audiocaptureoptions_voiceIsolation(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
if (Symbol.dispose) AudioCaptureOptions.prototype[Symbol.dispose] = AudioCaptureOptions.prototype.free;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Kind of the packet.
|
|
132
|
-
*
|
|
133
|
-
* Keep in track with
|
|
134
|
-
* [https://github.com/livekit/protocol/blob/e7532dfc617d0c920eb905a93b6ca0d3ca4033e9/protobufs/livekit_models.proto#L324]
|
|
135
|
-
* @enum {0 | 1}
|
|
136
|
-
*/
|
|
137
|
-
export const DataPacketKind = Object.freeze({
|
|
138
|
-
Reliable: 0, "0": "Reliable",
|
|
139
|
-
Lossy: 1, "1": "Lossy",
|
|
140
|
-
});
|
|
141
|
-
|
|
142
7
|
export class IntoUnderlyingByteSource {
|
|
143
8
|
__destroy_into_raw() {
|
|
144
9
|
const ptr = this.__wbg_ptr;
|
|
@@ -250,20 +115,6 @@ export class IntoUnderlyingSource {
|
|
|
250
115
|
}
|
|
251
116
|
if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
|
|
252
117
|
|
|
253
|
-
export class ParticipantSid {
|
|
254
|
-
__destroy_into_raw() {
|
|
255
|
-
const ptr = this.__wbg_ptr;
|
|
256
|
-
this.__wbg_ptr = 0;
|
|
257
|
-
ParticipantSidFinalization.unregister(this);
|
|
258
|
-
return ptr;
|
|
259
|
-
}
|
|
260
|
-
free() {
|
|
261
|
-
const ptr = this.__destroy_into_raw();
|
|
262
|
-
wasm.__wbg_participantsid_free(ptr, 0);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
if (Symbol.dispose) ParticipantSid.prototype[Symbol.dispose] = ParticipantSid.prototype.free;
|
|
266
|
-
|
|
267
118
|
export class WorkerContext {
|
|
268
119
|
static __wrap(ptr) {
|
|
269
120
|
ptr = ptr >>> 0;
|
|
@@ -324,6 +175,67 @@ export class WorkerContext {
|
|
|
324
175
|
}
|
|
325
176
|
if (Symbol.dispose) WorkerContext.prototype[Symbol.dispose] = WorkerContext.prototype.free;
|
|
326
177
|
|
|
178
|
+
/**
|
|
179
|
+
* @param {number} worker_id
|
|
180
|
+
* @param {number} compute_threads
|
|
181
|
+
*/
|
|
182
|
+
export function __bevy_attach_engine_worker(worker_id, compute_threads) {
|
|
183
|
+
const ret = wasm.__bevy_attach_engine_worker(worker_id, compute_threads);
|
|
184
|
+
if (ret[1]) {
|
|
185
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export function __bevy_compute_worker_main() {
|
|
190
|
+
wasm.__bevy_compute_worker_main();
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @returns {string[]}
|
|
195
|
+
*/
|
|
196
|
+
export function __bevy_page_functions_dcl_wasm_9d742a65() {
|
|
197
|
+
const ret = wasm.__bevy_page_functions_dcl_wasm_9d742a65();
|
|
198
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
199
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
200
|
+
return v1;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @returns {string[]}
|
|
205
|
+
*/
|
|
206
|
+
export function __bevy_page_functions_restricted_actions_e02a280f() {
|
|
207
|
+
const ret = wasm.__bevy_page_functions_restricted_actions_e02a280f();
|
|
208
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
209
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
210
|
+
return v1;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @returns {string[]}
|
|
215
|
+
*/
|
|
216
|
+
export function __bevy_page_functions_webgpu_build_06313fae() {
|
|
217
|
+
const ret = wasm.__bevy_page_functions_webgpu_build_06313fae();
|
|
218
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
219
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
220
|
+
return v1;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @param {OffscreenCanvas} canvas
|
|
225
|
+
* @returns {Promise<void>}
|
|
226
|
+
*/
|
|
227
|
+
export function __bevy_render_worker_main(canvas) {
|
|
228
|
+
const ret = wasm.__bevy_render_worker_main(canvas);
|
|
229
|
+
return ret;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Page: starts the WebAudio host for scene audio sources. Before the engine worker starts.
|
|
234
|
+
*/
|
|
235
|
+
export function audio_host_main() {
|
|
236
|
+
wasm.audio_host_main();
|
|
237
|
+
}
|
|
238
|
+
|
|
327
239
|
/**
|
|
328
240
|
* @param {WorkerContext} state
|
|
329
241
|
* @param {string} path
|
|
@@ -404,9 +316,37 @@ export function engine_init() {
|
|
|
404
316
|
}
|
|
405
317
|
|
|
406
318
|
/**
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
319
|
+
* Page side: spawns the render worker on `canvas` ahead of `engine_start`, so its setup
|
|
320
|
+
* (`engine_render_setup`: the gpu cache's precache) runs while the user is still choosing
|
|
321
|
+
* where to go; `__gpuCacheReady` reports when it is done. `engine_start` attaches the rest.
|
|
322
|
+
* @param {HTMLCanvasElement} canvas
|
|
323
|
+
* @param {string} glue_url
|
|
324
|
+
*/
|
|
325
|
+
export function engine_prepare_render(canvas, glue_url) {
|
|
326
|
+
const ptr0 = passStringToWasm0(glue_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
327
|
+
const len0 = WASM_VECTOR_LEN;
|
|
328
|
+
const ret = wasm.engine_prepare_render(canvas, ptr0, len0);
|
|
329
|
+
if (ret[1]) {
|
|
330
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Render worker setup, before bevy creates the render world there: gpu_cache.js patches the
|
|
336
|
+
* worker's WebGPU device creation with its device-level cache and precreates the last run's
|
|
337
|
+
* pipelines, as it did on the page when the device lived there.
|
|
338
|
+
* @param {OffscreenCanvas} _canvas
|
|
339
|
+
* @returns {Promise<void>}
|
|
340
|
+
*/
|
|
341
|
+
export function engine_render_setup(_canvas) {
|
|
342
|
+
const ret = wasm.engine_render_setup(_canvas);
|
|
343
|
+
return ret;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Engine worker entry (`bevy::web_worker` calls it once the worker is attached). `options` is
|
|
348
|
+
* the `engine_run` object keyed by the web param table (one key per launch option; absent =
|
|
349
|
+
* the engine's default). Throws (rejects the launch) on an invalid one.
|
|
410
350
|
* @param {any} options
|
|
411
351
|
*/
|
|
412
352
|
export function engine_run(options) {
|
|
@@ -416,6 +356,47 @@ export function engine_run(options) {
|
|
|
416
356
|
}
|
|
417
357
|
}
|
|
418
358
|
|
|
359
|
+
/**
|
|
360
|
+
* Page side: spawns a further worker of ours that calls the export `entry` once its wasm
|
|
361
|
+
* instance is up (the asset loader and processor). Posts `{ __bevy_ready: tag }` when it has.
|
|
362
|
+
* @param {string} glue_url
|
|
363
|
+
* @param {string} entry
|
|
364
|
+
* @param {string} tag
|
|
365
|
+
* @returns {Worker}
|
|
366
|
+
*/
|
|
367
|
+
export function engine_spawn_worker(glue_url, entry, tag) {
|
|
368
|
+
const ptr0 = passStringToWasm0(glue_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
369
|
+
const len0 = WASM_VECTOR_LEN;
|
|
370
|
+
const ptr1 = passStringToWasm0(entry, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
371
|
+
const len1 = WASM_VECTOR_LEN;
|
|
372
|
+
const ptr2 = passStringToWasm0(tag, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
373
|
+
const len2 = WASM_VECTOR_LEN;
|
|
374
|
+
const ret = wasm.engine_spawn_worker(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
375
|
+
if (ret[2]) {
|
|
376
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
377
|
+
}
|
|
378
|
+
return takeFromExternrefTable0(ret[0]);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Page side: starts the engine on `canvas`. `options` is the `engine_run` options object,
|
|
383
|
+
* `glue_url` the url of this module's JS glue for the workers to import. Returns
|
|
384
|
+
* `{ engine, render, compute: [...] }`, the workers.
|
|
385
|
+
* @param {HTMLCanvasElement} canvas
|
|
386
|
+
* @param {any} options
|
|
387
|
+
* @param {string} glue_url
|
|
388
|
+
* @returns {any}
|
|
389
|
+
*/
|
|
390
|
+
export function engine_start(canvas, options, glue_url) {
|
|
391
|
+
const ptr0 = passStringToWasm0(glue_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
392
|
+
const len0 = WASM_VECTOR_LEN;
|
|
393
|
+
const ret = wasm.engine_start(canvas, options, ptr0, len0);
|
|
394
|
+
if (ret[2]) {
|
|
395
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
396
|
+
}
|
|
397
|
+
return takeFromExternrefTable0(ret[0]);
|
|
398
|
+
}
|
|
399
|
+
|
|
419
400
|
/**
|
|
420
401
|
* @returns {string}
|
|
421
402
|
*/
|
|
@@ -436,6 +417,18 @@ export function image_processor_init() {
|
|
|
436
417
|
wasm.image_processor_init();
|
|
437
418
|
}
|
|
438
419
|
|
|
420
|
+
/**
|
|
421
|
+
* Asset processor worker entry: the image processor's channels, then its loop. The loop parks
|
|
422
|
+
* this worker on the shared-memory request channel, so it starts from a later task: the entry
|
|
423
|
+
* has to return first for the page to see the worker ready.
|
|
424
|
+
*/
|
|
425
|
+
export function image_processor_main() {
|
|
426
|
+
const ret = wasm.image_processor_main();
|
|
427
|
+
if (ret[1]) {
|
|
428
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
439
432
|
/**
|
|
440
433
|
* @returns {Promise<void>}
|
|
441
434
|
*/
|
|
@@ -461,6 +454,23 @@ export function is_super(state) {
|
|
|
461
454
|
return ret !== 0;
|
|
462
455
|
}
|
|
463
456
|
|
|
457
|
+
/**
|
|
458
|
+
* Page: starts the livekit host (the livekit-client rooms, tracks and mic live on the page).
|
|
459
|
+
* Before the engine worker starts.
|
|
460
|
+
*/
|
|
461
|
+
export function livekit_host_main() {
|
|
462
|
+
wasm.livekit_host_main();
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Page: starts the html media host (scene video/audio elements), transferring video frames to
|
|
467
|
+
* `render_worker`. Before the engine worker starts.
|
|
468
|
+
* @param {Worker} render_worker
|
|
469
|
+
*/
|
|
470
|
+
export function media_host_main(render_worker) {
|
|
471
|
+
wasm.media_host_main(render_worker);
|
|
472
|
+
}
|
|
473
|
+
|
|
464
474
|
/**
|
|
465
475
|
* @param {WorkerContext} state
|
|
466
476
|
* @param {string} address
|
|
@@ -1930,6 +1940,14 @@ export function op_world_time(op_state) {
|
|
|
1930
1940
|
return ret;
|
|
1931
1941
|
}
|
|
1932
1942
|
|
|
1943
|
+
/**
|
|
1944
|
+
* Page side: forwards the browser's pointer-lock state to the engine (see platform/wasm.rs).
|
|
1945
|
+
* @param {boolean} locked
|
|
1946
|
+
*/
|
|
1947
|
+
export function report_pointer_lock(locked) {
|
|
1948
|
+
wasm.report_pointer_lock(locked);
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1933
1951
|
/**
|
|
1934
1952
|
* @returns {Promise<WorkerContext>}
|
|
1935
1953
|
*/
|
|
@@ -1946,6 +1964,7 @@ import * as import6 from "./snippets/comms-53217a45365bb5fa/livekit_web_bindings
|
|
|
1946
1964
|
import * as import7 from "./snippets/comms-53217a45365bb5fa/livekit_web_bindings.js"
|
|
1947
1965
|
import * as import8 from "./snippets/comms-53217a45365bb5fa/livekit_web_bindings.js"
|
|
1948
1966
|
import * as import9 from "./snippets/comms-53217a45365bb5fa/livekit_web_bindings.js"
|
|
1967
|
+
import * as import10 from "./snippets/comms-53217a45365bb5fa/livekit_web_bindings.js"
|
|
1949
1968
|
|
|
1950
1969
|
function __wbg_get_imports(memory) {
|
|
1951
1970
|
const import0 = {
|
|
@@ -1985,11 +2004,25 @@ function __wbg_get_imports(memory) {
|
|
|
1985
2004
|
const ret = arg0.WorkerGlobalScope;
|
|
1986
2005
|
return ret;
|
|
1987
2006
|
},
|
|
2007
|
+
__wbg___copyToClipboard_87f4128e2f1f2743: function(arg0, arg1) {
|
|
2008
|
+
const ret = self.__copyToClipboard(getStringFromWasm0(arg0, arg1));
|
|
2009
|
+
return ret;
|
|
2010
|
+
},
|
|
1988
2011
|
__wbg___engineHeartbeat_64b3c3e231f3208b: function() {
|
|
1989
|
-
|
|
2012
|
+
self.__engineHeartbeat();
|
|
2013
|
+
},
|
|
2014
|
+
__wbg___gpuCacheReady_ba406b6b0e5133ce: function() {
|
|
2015
|
+
self.__gpuCacheReady();
|
|
2016
|
+
},
|
|
2017
|
+
__wbg___openExternalUrl_e00d5241ac53e1e2: function(arg0, arg1) {
|
|
2018
|
+
self.__openExternalUrl(getStringFromWasm0(arg0, arg1));
|
|
2019
|
+
},
|
|
2020
|
+
__wbg___readClipboard_af9f611da4660b03: function() {
|
|
2021
|
+
const ret = self.__readClipboard();
|
|
2022
|
+
return ret;
|
|
1990
2023
|
},
|
|
1991
2024
|
__wbg___setEngineTextFocus_3d191f406ae0ab3a: function(arg0) {
|
|
1992
|
-
|
|
2025
|
+
self.__setEngineTextFocus(arg0 !== 0);
|
|
1993
2026
|
},
|
|
1994
2027
|
__wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
|
|
1995
2028
|
const v = arg1;
|
|
@@ -2050,6 +2083,10 @@ function __wbg_get_imports(memory) {
|
|
|
2050
2083
|
const ret = wasm.memory;
|
|
2051
2084
|
return ret;
|
|
2052
2085
|
},
|
|
2086
|
+
__wbg___wbindgen_module_bf945c07123bafe2: function() {
|
|
2087
|
+
const ret = wasmModule;
|
|
2088
|
+
return ret;
|
|
2089
|
+
},
|
|
2053
2090
|
__wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
|
|
2054
2091
|
const obj = arg1;
|
|
2055
2092
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
@@ -2071,7 +2108,7 @@ function __wbg_get_imports(memory) {
|
|
|
2071
2108
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
2072
2109
|
},
|
|
2073
2110
|
__wbg__buildEngineApi_65dc2303159e674f: function(arg0, arg1) {
|
|
2074
|
-
|
|
2111
|
+
self._buildEngineApi(getStringFromWasm0(arg0, arg1));
|
|
2075
2112
|
},
|
|
2076
2113
|
__wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
|
|
2077
2114
|
arg0._wbg_cb_unref();
|
|
@@ -2093,7 +2130,7 @@ function __wbg_get_imports(memory) {
|
|
|
2093
2130
|
arg0.addListener(arg1);
|
|
2094
2131
|
}, arguments); },
|
|
2095
2132
|
__wbg_allowADummyPipeline_672e0ff4c3d203ae: function() {
|
|
2096
|
-
|
|
2133
|
+
self.allowADummyPipeline();
|
|
2097
2134
|
},
|
|
2098
2135
|
__wbg_altKey_7f2c3a24bf5420ae: function(arg0) {
|
|
2099
2136
|
const ret = arg0.altKey;
|
|
@@ -2138,6 +2175,9 @@ function __wbg_get_imports(memory) {
|
|
|
2138
2175
|
const ret = arg0.blockSize;
|
|
2139
2176
|
return ret;
|
|
2140
2177
|
},
|
|
2178
|
+
__wbg_blur_d2a9a0c579ce1c5f: function() { return handleError(function (arg0) {
|
|
2179
|
+
arg0.blur();
|
|
2180
|
+
}, arguments); },
|
|
2141
2181
|
__wbg_body_5eb99e7257e5ae34: function(arg0) {
|
|
2142
2182
|
const ret = arg0.body;
|
|
2143
2183
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -2204,6 +2244,9 @@ function __wbg_get_imports(memory) {
|
|
|
2204
2244
|
__wbg_cancelAnimationFrame_43fad84647f46036: function() { return handleError(function (arg0, arg1) {
|
|
2205
2245
|
arg0.cancelAnimationFrame(arg1);
|
|
2206
2246
|
}, arguments); },
|
|
2247
|
+
__wbg_cancelAnimationFrame_e787cfdf768b3391: function() { return handleError(function (arg0, arg1) {
|
|
2248
|
+
arg0.cancelAnimationFrame(arg1);
|
|
2249
|
+
}, arguments); },
|
|
2207
2250
|
__wbg_cancelIdleCallback_d3eb47e732dd4bcd: function(arg0, arg1) {
|
|
2208
2251
|
arg0.cancelIdleCallback(arg1 >>> 0);
|
|
2209
2252
|
},
|
|
@@ -2236,6 +2279,9 @@ function __wbg_get_imports(memory) {
|
|
|
2236
2279
|
const ret = clearTimeout(arg0);
|
|
2237
2280
|
return ret;
|
|
2238
2281
|
},
|
|
2282
|
+
__wbg_clearTimeout_b466c6c00742c823: function(arg0, arg1) {
|
|
2283
|
+
arg0.clearTimeout(arg1);
|
|
2284
|
+
},
|
|
2239
2285
|
__wbg_clearTimeout_fdfb5a1468af1a97: function(arg0, arg1) {
|
|
2240
2286
|
arg0.clearTimeout(arg1);
|
|
2241
2287
|
},
|
|
@@ -2498,16 +2544,16 @@ function __wbg_get_imports(memory) {
|
|
|
2498
2544
|
const ret = arg0.duration;
|
|
2499
2545
|
return ret;
|
|
2500
2546
|
},
|
|
2501
|
-
__wbg_duration_d8deec647addb21e: function(arg0) {
|
|
2502
|
-
const ret = arg0.duration;
|
|
2503
|
-
return ret;
|
|
2504
|
-
},
|
|
2505
2547
|
__wbg_end_1300dc816a60c7ab: function(arg0) {
|
|
2506
2548
|
arg0.end();
|
|
2507
2549
|
},
|
|
2508
2550
|
__wbg_end_fd65a01a19361ec7: function(arg0) {
|
|
2509
2551
|
arg0.end();
|
|
2510
2552
|
},
|
|
2553
|
+
__wbg_ended_0b2bc1b8991ea41a: function(arg0) {
|
|
2554
|
+
const ret = arg0.ended;
|
|
2555
|
+
return ret;
|
|
2556
|
+
},
|
|
2511
2557
|
__wbg_enqueue_ec3552838b4b7fbf: function() { return handleError(function (arg0, arg1) {
|
|
2512
2558
|
arg0.enqueue(arg1);
|
|
2513
2559
|
}, arguments); },
|
|
@@ -2582,18 +2628,10 @@ function __wbg_get_imports(memory) {
|
|
|
2582
2628
|
__wbg_focus_885197ce680db9e0: function() { return handleError(function (arg0) {
|
|
2583
2629
|
arg0.focus();
|
|
2584
2630
|
}, arguments); },
|
|
2585
|
-
__wbg_from_4bdf88943703fd48: function(arg0) {
|
|
2586
|
-
const ret = Array.from(arg0);
|
|
2587
|
-
return ret;
|
|
2588
|
-
},
|
|
2589
2631
|
__wbg_fullscreenElement_8068aa5be9c86543: function(arg0) {
|
|
2590
2632
|
const ret = arg0.fullscreenElement;
|
|
2591
2633
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2592
2634
|
},
|
|
2593
|
-
__wbg_fullscreenEnabled_4c74b31f7c60f8cd: function(arg0) {
|
|
2594
|
-
const ret = arg0.fullscreenEnabled;
|
|
2595
|
-
return ret;
|
|
2596
|
-
},
|
|
2597
2635
|
__wbg_gain_c5b40ffb38909ac5: function(arg0) {
|
|
2598
2636
|
const ret = arg0.gain;
|
|
2599
2637
|
return ret;
|
|
@@ -2634,10 +2672,6 @@ function __wbg_get_imports(memory) {
|
|
|
2634
2672
|
const ret = arg0.getDirectory();
|
|
2635
2673
|
return ret;
|
|
2636
2674
|
},
|
|
2637
|
-
__wbg_getElementById_d1f25d287b19a833: function(arg0, arg1, arg2) {
|
|
2638
|
-
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
|
|
2639
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2640
|
-
},
|
|
2641
2675
|
__wbg_getFileHandle_b5a0491829360cdb: function(arg0, arg1, arg2) {
|
|
2642
2676
|
const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2));
|
|
2643
2677
|
return ret;
|
|
@@ -2738,6 +2772,10 @@ function __wbg_get_imports(memory) {
|
|
|
2738
2772
|
const ret = arg0.gpu;
|
|
2739
2773
|
return ret;
|
|
2740
2774
|
},
|
|
2775
|
+
__wbg_hardwareConcurrency_a8e3f7c0d77df6d3: function(arg0) {
|
|
2776
|
+
const ret = arg0.hardwareConcurrency;
|
|
2777
|
+
return ret;
|
|
2778
|
+
},
|
|
2741
2779
|
__wbg_has_926ef2ff40b308cf: function() { return handleError(function (arg0, arg1) {
|
|
2742
2780
|
const ret = Reflect.has(arg0, arg1);
|
|
2743
2781
|
return ret;
|
|
@@ -2765,6 +2803,10 @@ function __wbg_get_imports(memory) {
|
|
|
2765
2803
|
const ret = arg0.index;
|
|
2766
2804
|
return ret;
|
|
2767
2805
|
},
|
|
2806
|
+
__wbg_initGpuCache_25799706f7d93e7e: function(arg0, arg1) {
|
|
2807
|
+
const ret = initGpuCache(getStringFromWasm0(arg0, arg1));
|
|
2808
|
+
return ret;
|
|
2809
|
+
},
|
|
2768
2810
|
__wbg_inlineSize_bc956acca480b3d7: function(arg0) {
|
|
2769
2811
|
const ret = arg0.inlineSize;
|
|
2770
2812
|
return ret;
|
|
@@ -2949,6 +2991,16 @@ function __wbg_get_imports(memory) {
|
|
|
2949
2991
|
const ret = result;
|
|
2950
2992
|
return ret;
|
|
2951
2993
|
},
|
|
2994
|
+
__wbg_instanceof_VideoFrame_94bf646af0f6e9d8: function(arg0) {
|
|
2995
|
+
let result;
|
|
2996
|
+
try {
|
|
2997
|
+
result = arg0 instanceof VideoFrame;
|
|
2998
|
+
} catch (_) {
|
|
2999
|
+
result = false;
|
|
3000
|
+
}
|
|
3001
|
+
const ret = result;
|
|
3002
|
+
return ret;
|
|
3003
|
+
},
|
|
2952
3004
|
__wbg_instanceof_Window_23e677d2c6843922: function(arg0) {
|
|
2953
3005
|
let result;
|
|
2954
3006
|
try {
|
|
@@ -3008,7 +3060,7 @@ function __wbg_get_imports(memory) {
|
|
|
3008
3060
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3009
3061
|
},
|
|
3010
3062
|
__wbg_lastPipelineWasValid_c9343f50d52a1fb6: function() {
|
|
3011
|
-
const ret =
|
|
3063
|
+
const ret = self.lastPipelineWasValid();
|
|
3012
3064
|
return ret;
|
|
3013
3065
|
},
|
|
3014
3066
|
__wbg_length_259ee9d041e381ad: function(arg0) {
|
|
@@ -3035,25 +3087,21 @@ function __wbg_get_imports(memory) {
|
|
|
3035
3087
|
const ret = arg0.linearRampToValueAtTime(arg1, arg2);
|
|
3036
3088
|
return ret;
|
|
3037
3089
|
}, arguments); },
|
|
3038
|
-
|
|
3039
|
-
const ret = local_audio_track_new(AudioCaptureOptions.__wrap(arg0));
|
|
3040
|
-
return ret;
|
|
3041
|
-
},
|
|
3042
|
-
__wbg_local_participant_identity_542f424996f16f1c: function(arg0, arg1) {
|
|
3090
|
+
__wbg_local_participant_identity_033fb7a159b5c6ea: function(arg0, arg1) {
|
|
3043
3091
|
const ret = local_participant_identity(arg1);
|
|
3044
3092
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3045
3093
|
const len1 = WASM_VECTOR_LEN;
|
|
3046
3094
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3047
3095
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3048
3096
|
},
|
|
3049
|
-
|
|
3097
|
+
__wbg_local_participant_metadata_527be27628539d55: function(arg0, arg1) {
|
|
3050
3098
|
const ret = local_participant_metadata(arg1);
|
|
3051
|
-
|
|
3052
|
-
|
|
3099
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3100
|
+
var len1 = WASM_VECTOR_LEN;
|
|
3053
3101
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3054
3102
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3055
3103
|
},
|
|
3056
|
-
|
|
3104
|
+
__wbg_local_participant_publish_data_cdbd1bfcbbf8ada3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
3057
3105
|
let v0;
|
|
3058
3106
|
if (arg4 !== 0) {
|
|
3059
3107
|
v0 = getStringFromWasm0(arg4, arg5).slice();
|
|
@@ -3064,21 +3112,42 @@ function __wbg_get_imports(memory) {
|
|
|
3064
3112
|
const ret = local_participant_publish_data(arg0, getArrayU8FromWasm0(arg1, arg2), arg3 !== 0, v0, v1);
|
|
3065
3113
|
return ret;
|
|
3066
3114
|
}, arguments); },
|
|
3067
|
-
|
|
3115
|
+
__wbg_local_participant_publish_track_d776315f2afc6560: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3068
3116
|
const ret = local_participant_publish_track(arg0, arg1, arg2);
|
|
3069
3117
|
return ret;
|
|
3070
3118
|
}, arguments); },
|
|
3071
|
-
|
|
3119
|
+
__wbg_local_participant_sid_f3be2154e610c3e0: function(arg0, arg1) {
|
|
3072
3120
|
const ret = local_participant_sid(arg1);
|
|
3073
3121
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3074
3122
|
const len1 = WASM_VECTOR_LEN;
|
|
3075
3123
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3076
3124
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3077
3125
|
},
|
|
3078
|
-
|
|
3126
|
+
__wbg_local_participant_unpublish_track_fa3453b06bcc251b: function() { return handleError(function (arg0, arg1) {
|
|
3079
3127
|
const ret = local_participant_unpublish_track(arg0, arg1);
|
|
3080
3128
|
return ret;
|
|
3081
3129
|
}, arguments); },
|
|
3130
|
+
__wbg_local_track_publication_kind_d1d7afe661666c97: function(arg0, arg1) {
|
|
3131
|
+
const ret = local_track_publication_kind(arg1);
|
|
3132
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3133
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3134
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3135
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3136
|
+
},
|
|
3137
|
+
__wbg_local_track_publication_sid_0eabc65cb7a0b5d3: function(arg0, arg1) {
|
|
3138
|
+
const ret = local_track_publication_sid(arg1);
|
|
3139
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3140
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3141
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3142
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3143
|
+
},
|
|
3144
|
+
__wbg_local_track_publication_source_6c97a455b1b38bcd: function(arg0, arg1) {
|
|
3145
|
+
const ret = local_track_publication_source(arg1);
|
|
3146
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3147
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3148
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3149
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3150
|
+
},
|
|
3082
3151
|
__wbg_location_cb6f3af6ad563d81: function(arg0) {
|
|
3083
3152
|
const ret = arg0.location;
|
|
3084
3153
|
return ret;
|
|
@@ -3285,13 +3354,6 @@ function __wbg_get_imports(memory) {
|
|
|
3285
3354
|
const ret = arg0.metaKey;
|
|
3286
3355
|
return ret;
|
|
3287
3356
|
},
|
|
3288
|
-
__wbg_microphonePermissionState_2be29f3bea5c596c: function(arg0) {
|
|
3289
|
-
const ret = microphonePermissionState();
|
|
3290
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3291
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3292
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3293
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3294
|
-
},
|
|
3295
3357
|
__wbg_minStorageBufferOffsetAlignment_2039bfddd5b42bd9: function(arg0) {
|
|
3296
3358
|
const ret = arg0.minStorageBufferOffsetAlignment;
|
|
3297
3359
|
return ret;
|
|
@@ -3383,6 +3445,10 @@ function __wbg_get_imports(memory) {
|
|
|
3383
3445
|
const ret = new URL(getStringFromWasm0(arg0, arg1));
|
|
3384
3446
|
return ret;
|
|
3385
3447
|
}, arguments); },
|
|
3448
|
+
__wbg_new_bd6c634574cbafea: function() { return handleError(function (arg0, arg1) {
|
|
3449
|
+
const ret = new OffscreenCanvas(arg0 >>> 0, arg1 >>> 0);
|
|
3450
|
+
return ret;
|
|
3451
|
+
}, arguments); },
|
|
3386
3452
|
__wbg_new_c518c60af666645b: function() { return handleError(function () {
|
|
3387
3453
|
const ret = new AbortController();
|
|
3388
3454
|
return ret;
|
|
@@ -3558,6 +3624,10 @@ function __wbg_get_imports(memory) {
|
|
|
3558
3624
|
__wbg_pause_fe6c9b27e2a39a14: function() { return handleError(function (arg0) {
|
|
3559
3625
|
arg0.pause();
|
|
3560
3626
|
}, arguments); },
|
|
3627
|
+
__wbg_paused_04fa0630781138c8: function(arg0) {
|
|
3628
|
+
const ret = arg0.paused;
|
|
3629
|
+
return ret;
|
|
3630
|
+
},
|
|
3561
3631
|
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
|
|
3562
3632
|
const ret = arg0.performance;
|
|
3563
3633
|
return ret;
|
|
@@ -3581,10 +3651,6 @@ function __wbg_get_imports(memory) {
|
|
|
3581
3651
|
const ret = arg0.pointerId;
|
|
3582
3652
|
return ret;
|
|
3583
3653
|
},
|
|
3584
|
-
__wbg_pointerLockElement_351ae3d599753f4f: function(arg0) {
|
|
3585
|
-
const ret = arg0.pointerLockElement;
|
|
3586
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3587
|
-
},
|
|
3588
3654
|
__wbg_pointerType_02525bef1df5f79c: function(arg0, arg1) {
|
|
3589
3655
|
const ret = arg1.pointerType;
|
|
3590
3656
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3709,41 +3775,54 @@ function __wbg_get_imports(memory) {
|
|
|
3709
3775
|
__wbg_releaseLock_ef7766a5da654ff8: function(arg0) {
|
|
3710
3776
|
arg0.releaseLock();
|
|
3711
3777
|
},
|
|
3712
|
-
|
|
3778
|
+
__wbg_remote_participant_identity_1b5f0c27495e746f: function(arg0, arg1) {
|
|
3713
3779
|
const ret = remote_participant_identity(arg1);
|
|
3714
3780
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3715
3781
|
const len1 = WASM_VECTOR_LEN;
|
|
3716
3782
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3717
3783
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3718
3784
|
},
|
|
3719
|
-
|
|
3785
|
+
__wbg_remote_participant_metadata_3c6fdfba3e6c1c96: function(arg0, arg1) {
|
|
3720
3786
|
const ret = remote_participant_metadata(arg1);
|
|
3787
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3788
|
+
var len1 = WASM_VECTOR_LEN;
|
|
3789
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3790
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3791
|
+
},
|
|
3792
|
+
__wbg_remote_participant_sid_b3e5790d333f30f8: function(arg0, arg1) {
|
|
3793
|
+
const ret = remote_participant_sid(arg1);
|
|
3721
3794
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3722
3795
|
const len1 = WASM_VECTOR_LEN;
|
|
3723
3796
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3724
3797
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3725
3798
|
},
|
|
3726
|
-
|
|
3727
|
-
const ret =
|
|
3799
|
+
__wbg_remote_track_publication_kind_463a7da48a634e80: function(arg0, arg1) {
|
|
3800
|
+
const ret = remote_track_publication_kind(arg1);
|
|
3728
3801
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3729
3802
|
const len1 = WASM_VECTOR_LEN;
|
|
3730
3803
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3731
3804
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3732
3805
|
},
|
|
3733
|
-
|
|
3806
|
+
__wbg_remote_track_publication_set_subscribed_b0fe47333b341988: function(arg0, arg1) {
|
|
3734
3807
|
remote_track_publication_set_subscribed(arg0, arg1 !== 0);
|
|
3735
3808
|
},
|
|
3736
|
-
|
|
3809
|
+
__wbg_remote_track_publication_sid_73d7757c1c8f1b2b: function(arg0, arg1) {
|
|
3737
3810
|
const ret = remote_track_publication_sid(arg1);
|
|
3738
3811
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3739
3812
|
const len1 = WASM_VECTOR_LEN;
|
|
3740
3813
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3741
3814
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3742
3815
|
},
|
|
3743
|
-
|
|
3744
|
-
const ret =
|
|
3745
|
-
|
|
3816
|
+
__wbg_remote_track_publication_source_1e2e847142503064: function(arg0, arg1) {
|
|
3817
|
+
const ret = remote_track_publication_source(arg1);
|
|
3818
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3819
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3820
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3821
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3746
3822
|
},
|
|
3823
|
+
__wbg_removeAttribute_c0738b49de4ead0b: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3824
|
+
arg0.removeAttribute(getStringFromWasm0(arg1, arg2));
|
|
3825
|
+
}, arguments); },
|
|
3747
3826
|
__wbg_removeEventListener_d27694700fc0df8b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3748
3827
|
arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
3749
3828
|
}, arguments); },
|
|
@@ -3772,6 +3851,10 @@ function __wbg_get_imports(memory) {
|
|
|
3772
3851
|
const ret = arg0.requestAnimationFrame(arg1);
|
|
3773
3852
|
return ret;
|
|
3774
3853
|
}, arguments); },
|
|
3854
|
+
__wbg_requestAnimationFrame_562605c8f42a4714: function() { return handleError(function (arg0, arg1) {
|
|
3855
|
+
const ret = arg0.requestAnimationFrame(arg1);
|
|
3856
|
+
return ret;
|
|
3857
|
+
}, arguments); },
|
|
3775
3858
|
__wbg_requestDevice_28434913a23418c4: function(arg0, arg1) {
|
|
3776
3859
|
const ret = arg0.requestDevice(arg1);
|
|
3777
3860
|
return ret;
|
|
@@ -3816,15 +3899,15 @@ function __wbg_get_imports(memory) {
|
|
|
3816
3899
|
__wbg_revokeObjectURL_c4a7ed8e1908b794: function() { return handleError(function (arg0, arg1) {
|
|
3817
3900
|
URL.revokeObjectURL(getStringFromWasm0(arg0, arg1));
|
|
3818
3901
|
}, arguments); },
|
|
3819
|
-
|
|
3902
|
+
__wbg_room_close_a70d4081e77aa195: function() { return handleError(function (arg0) {
|
|
3820
3903
|
const ret = room_close(arg0);
|
|
3821
3904
|
return ret;
|
|
3822
3905
|
}, arguments); },
|
|
3823
|
-
|
|
3906
|
+
__wbg_room_connect_e764dafe2de14fb2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3824
3907
|
const ret = room_connect(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4, arg5, arg6);
|
|
3825
3908
|
return ret;
|
|
3826
3909
|
}, arguments); },
|
|
3827
|
-
|
|
3910
|
+
__wbg_room_name_f51fa467b37806a5: function(arg0, arg1) {
|
|
3828
3911
|
const ret = room_name(arg1);
|
|
3829
3912
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3830
3913
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3910,6 +3993,10 @@ function __wbg_get_imports(memory) {
|
|
|
3910
3993
|
const ret = arg0.setTimeout(arg1, arg2);
|
|
3911
3994
|
return ret;
|
|
3912
3995
|
}, arguments); },
|
|
3996
|
+
__wbg_setTimeout_c8336cac3e6a81ea: function() { return handleError(function (arg0, arg1, arg2) {
|
|
3997
|
+
const ret = arg0.setTimeout(arg1, arg2);
|
|
3998
|
+
return ret;
|
|
3999
|
+
}, arguments); },
|
|
3913
4000
|
__wbg_setTimeout_ef24d2fc3ad97385: function() { return handleError(function (arg0, arg1) {
|
|
3914
4001
|
const ret = setTimeout(arg0, arg1);
|
|
3915
4002
|
return ret;
|
|
@@ -4412,6 +4499,9 @@ function __wbg_get_imports(memory) {
|
|
|
4412
4499
|
__wbg_set_onplaying_c33312ffbaa3950a: function(arg0, arg1) {
|
|
4413
4500
|
arg0.onplaying = arg1;
|
|
4414
4501
|
},
|
|
4502
|
+
__wbg_set_onseeking_3b18955831919e17: function(arg0, arg1) {
|
|
4503
|
+
arg0.onseeking = arg1;
|
|
4504
|
+
},
|
|
4415
4505
|
__wbg_set_onuncapturederror_08dfd7cc581bbee3: function(arg0, arg1) {
|
|
4416
4506
|
arg0.onuncapturederror = arg1;
|
|
4417
4507
|
},
|
|
@@ -4499,9 +4589,6 @@ function __wbg_get_imports(memory) {
|
|
|
4499
4589
|
__wbg_set_source_8794557a59a4c226: function(arg0, arg1) {
|
|
4500
4590
|
arg0.source = arg1;
|
|
4501
4591
|
},
|
|
4502
|
-
__wbg_set_src_434d08000815f7cd: function(arg0, arg1, arg2) {
|
|
4503
|
-
arg0.src = getStringFromWasm0(arg1, arg2);
|
|
4504
|
-
},
|
|
4505
4592
|
__wbg_set_src_factor_f6d030d42c740795: function(arg0, arg1) {
|
|
4506
4593
|
arg0.srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
4507
4594
|
},
|
|
@@ -4581,7 +4668,7 @@ function __wbg_get_imports(memory) {
|
|
|
4581
4668
|
arg0.type = __wbindgen_enum_GpuQueryType[arg1];
|
|
4582
4669
|
},
|
|
4583
4670
|
__wbg_set_url_params_5c8097fa8a282019: function(arg0, arg1) {
|
|
4584
|
-
|
|
4671
|
+
self.set_url_params(getStringFromWasm0(arg0, arg1));
|
|
4585
4672
|
},
|
|
4586
4673
|
__wbg_set_usage_4810d9c6b8041aa6: function(arg0, arg1) {
|
|
4587
4674
|
arg0.usage = arg1 >>> 0;
|
|
@@ -4671,19 +4758,16 @@ function __wbg_get_imports(memory) {
|
|
|
4671
4758
|
const ret = arg0.size;
|
|
4672
4759
|
return ret;
|
|
4673
4760
|
},
|
|
4674
|
-
__wbg_slice_6c91edc1cff27a67: function(arg0, arg1) {
|
|
4675
|
-
const ret = arg1.slice();
|
|
4676
|
-
const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_malloc);
|
|
4677
|
-
const len1 = WASM_VECTOR_LEN;
|
|
4678
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4679
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4680
|
-
},
|
|
4681
4761
|
__wbg_slice_f3fd3c2bec9310f6: function(arg0, arg1, arg2) {
|
|
4682
4762
|
const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
|
|
4683
4763
|
return ret;
|
|
4684
4764
|
},
|
|
4765
|
+
__wbg_spawnWorker_61d5fabeb91b1046: function() { return handleError(function (arg0) {
|
|
4766
|
+
const ret = spawnWorker(arg0);
|
|
4767
|
+
return ret;
|
|
4768
|
+
}, arguments); },
|
|
4685
4769
|
__wbg_spawn_and_init_sandbox_e19f37ad396f19e9: function() {
|
|
4686
|
-
const ret =
|
|
4770
|
+
const ret = self.spawn_and_init_sandbox();
|
|
4687
4771
|
return ret;
|
|
4688
4772
|
},
|
|
4689
4773
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
@@ -4807,7 +4891,7 @@ function __wbg_get_imports(memory) {
|
|
|
4807
4891
|
arg0.submit(arg1);
|
|
4808
4892
|
},
|
|
4809
4893
|
__wbg_terminate_sandbox_c60ae95b140abd17: function(arg0) {
|
|
4810
|
-
|
|
4894
|
+
self.terminate_sandbox(BigInt.asUintN(64, arg0));
|
|
4811
4895
|
},
|
|
4812
4896
|
__wbg_text_372f5b91442c50f9: function() { return handleError(function (arg0) {
|
|
4813
4897
|
const ret = arg0.text();
|
|
@@ -4841,6 +4925,10 @@ function __wbg_get_imports(memory) {
|
|
|
4841
4925
|
const ret = arg0.toString();
|
|
4842
4926
|
return ret;
|
|
4843
4927
|
},
|
|
4928
|
+
__wbg_transferControlToOffscreen_2bfbcbaf4be2dc70: function() { return handleError(function (arg0) {
|
|
4929
|
+
const ret = arg0.transferControlToOffscreen();
|
|
4930
|
+
return ret;
|
|
4931
|
+
}, arguments); },
|
|
4844
4932
|
__wbg_unmap_815a075fd850cb73: function(arg0) {
|
|
4845
4933
|
arg0.unmap();
|
|
4846
4934
|
},
|
|
@@ -4869,6 +4957,13 @@ function __wbg_get_imports(memory) {
|
|
|
4869
4957
|
const ret = arg0.userAgentData;
|
|
4870
4958
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4871
4959
|
},
|
|
4960
|
+
__wbg_userAgent_0de6384fff300b12: function() { return handleError(function (arg0, arg1) {
|
|
4961
|
+
const ret = arg1.userAgent;
|
|
4962
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4963
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4964
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4965
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4966
|
+
}, arguments); },
|
|
4872
4967
|
__wbg_userAgent_161a5f2d2a8dee61: function() { return handleError(function (arg0, arg1) {
|
|
4873
4968
|
const ret = arg1.userAgent;
|
|
4874
4969
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -4917,7 +5012,7 @@ function __wbg_get_imports(memory) {
|
|
|
4917
5012
|
return ret;
|
|
4918
5013
|
},
|
|
4919
5014
|
__wbg_waitForPipelines_cdfc04c59cedd954: function() {
|
|
4920
|
-
const ret =
|
|
5015
|
+
const ret = self.waitForPipelines();
|
|
4921
5016
|
return ret;
|
|
4922
5017
|
},
|
|
4923
5018
|
__wbg_wasClean_69f68dc4ed2d2cc7: function(arg0) {
|
|
@@ -4985,190 +5080,200 @@ function __wbg_get_imports(memory) {
|
|
|
4985
5080
|
return ret;
|
|
4986
5081
|
},
|
|
4987
5082
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
4988
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5083
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 140309, function: Function { arguments: [Externref], shim_idx: 140310, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4989
5084
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3_);
|
|
4990
5085
|
return ret;
|
|
4991
5086
|
},
|
|
4992
5087
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
4993
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5088
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 140309, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 140310, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4994
5089
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3__1);
|
|
4995
5090
|
return ret;
|
|
4996
5091
|
},
|
|
4997
5092
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
4998
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4999
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5093
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 148835, function: Function { arguments: [], shim_idx: 148836, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5094
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________4_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__5_);
|
|
5000
5095
|
return ret;
|
|
5001
5096
|
},
|
|
5002
5097
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
5003
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5004
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5098
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 154713, function: Function { arguments: [], shim_idx: 154714, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5099
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________5_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__6_);
|
|
5005
5100
|
return ret;
|
|
5006
5101
|
},
|
|
5007
5102
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
5008
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5009
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5103
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 155758, function: Function { arguments: [Externref], shim_idx: 155759, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5104
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________3_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__4_);
|
|
5010
5105
|
return ret;
|
|
5011
5106
|
},
|
|
5012
5107
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
5013
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5014
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___,
|
|
5108
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 155774, function: Function { arguments: [Externref], shim_idx: 155775, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5109
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_);
|
|
5015
5110
|
return ret;
|
|
5016
5111
|
},
|
|
5017
5112
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
5018
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5019
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5113
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 155774, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 155777, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5114
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_MessageEvent__MessageEvent______true_);
|
|
5020
5115
|
return ret;
|
|
5021
5116
|
},
|
|
5022
5117
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
5023
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5024
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5118
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 33745, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 33746, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5119
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true_);
|
|
5025
5120
|
return ret;
|
|
5026
5121
|
},
|
|
5027
5122
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
5028
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5029
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5123
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 50474, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 50475, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5124
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true__1_);
|
|
5030
5125
|
return ret;
|
|
5031
5126
|
},
|
|
5032
5127
|
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
5033
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5034
|
-
const ret =
|
|
5128
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 66361, function: Function { arguments: [Externref], shim_idx: 66362, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5129
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___sys__Undefined____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_);
|
|
5035
5130
|
return ret;
|
|
5036
5131
|
},
|
|
5037
5132
|
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
5038
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5039
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5133
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 66361, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 66366, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5134
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___sys__Undefined____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true__2_);
|
|
5040
5135
|
return ret;
|
|
5041
5136
|
},
|
|
5042
5137
|
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
5043
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5044
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5138
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 66361, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx: 66362, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5139
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___sys__Undefined____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true__11);
|
|
5045
5140
|
return ret;
|
|
5046
5141
|
},
|
|
5047
5142
|
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
5048
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5049
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5143
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 66361, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 66362, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5144
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___sys__Undefined____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true__12);
|
|
5050
5145
|
return ret;
|
|
5051
5146
|
},
|
|
5052
5147
|
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
5053
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5054
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5148
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 66361, function: Function { arguments: [String], shim_idx: 66364, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5149
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___sys__Undefined____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___alloc_83a3323c1c17199e___string__String______true_);
|
|
5055
5150
|
return ret;
|
|
5056
5151
|
},
|
|
5057
5152
|
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
5058
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5059
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5153
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 69350, function: Function { arguments: [F64, Externref], shim_idx: 69351, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5154
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__f64__wasm_bindgen_37b2aef40228fbc7___JsValue___Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___f64__wasm_bindgen_37b2aef40228fbc7___JsValue______true_);
|
|
5060
5155
|
return ret;
|
|
5061
5156
|
},
|
|
5062
5157
|
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
5063
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5064
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5158
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 70798, function: Function { arguments: [], shim_idx: 70799, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5159
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true_);
|
|
5065
5160
|
return ret;
|
|
5066
5161
|
},
|
|
5067
5162
|
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
5068
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5069
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5163
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 75423, function: Function { arguments: [], shim_idx: 75424, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5164
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__1_);
|
|
5070
5165
|
return ret;
|
|
5071
5166
|
},
|
|
5072
5167
|
__wbindgen_cast_0000000000000012: function(arg0, arg1) {
|
|
5073
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5168
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 75732, function: Function { arguments: [], shim_idx: 75733, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5074
5169
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__2_);
|
|
5075
5170
|
return ret;
|
|
5076
5171
|
},
|
|
5077
5172
|
__wbindgen_cast_0000000000000013: function(arg0, arg1) {
|
|
5078
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5079
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5173
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 75773, function: Function { arguments: [Externref], shim_idx: 75774, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5174
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true_);
|
|
5080
5175
|
return ret;
|
|
5081
5176
|
},
|
|
5082
5177
|
__wbindgen_cast_0000000000000014: function(arg0, arg1) {
|
|
5083
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5084
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5178
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 75817, function: Function { arguments: [], shim_idx: 75818, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5179
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__3_);
|
|
5085
5180
|
return ret;
|
|
5086
5181
|
},
|
|
5087
5182
|
__wbindgen_cast_0000000000000015: function(arg0, arg1) {
|
|
5088
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5089
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5183
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 75823, function: Function { arguments: [Externref], shim_idx: 75824, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5184
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__1_);
|
|
5090
5185
|
return ret;
|
|
5091
5186
|
},
|
|
5092
5187
|
__wbindgen_cast_0000000000000016: function(arg0, arg1) {
|
|
5093
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5094
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______,
|
|
5188
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [Externref], shim_idx: 77764, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5189
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2_);
|
|
5095
5190
|
return ret;
|
|
5096
5191
|
},
|
|
5097
5192
|
__wbindgen_cast_0000000000000017: function(arg0, arg1) {
|
|
5098
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5099
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______,
|
|
5193
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 77771, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5194
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___js_sys_342d9548e43f4e8___Array__web_sys_1e52e782a8305a30___features__gen_ResizeObserver__ResizeObserver______true_);
|
|
5100
5195
|
return ret;
|
|
5101
5196
|
},
|
|
5102
5197
|
__wbindgen_cast_0000000000000018: function(arg0, arg1) {
|
|
5103
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5198
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 77764, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5104
5199
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__23);
|
|
5105
5200
|
return ret;
|
|
5106
5201
|
},
|
|
5107
5202
|
__wbindgen_cast_0000000000000019: function(arg0, arg1) {
|
|
5108
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5203
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [NamedExternref("Event")], shim_idx: 77764, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5109
5204
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__24);
|
|
5110
5205
|
return ret;
|
|
5111
5206
|
},
|
|
5112
5207
|
__wbindgen_cast_000000000000001a: function(arg0, arg1) {
|
|
5113
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5208
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 77764, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5114
5209
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__25);
|
|
5115
5210
|
return ret;
|
|
5116
5211
|
},
|
|
5117
5212
|
__wbindgen_cast_000000000000001b: function(arg0, arg1) {
|
|
5118
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5213
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 77764, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5119
5214
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__26);
|
|
5120
5215
|
return ret;
|
|
5121
5216
|
},
|
|
5122
5217
|
__wbindgen_cast_000000000000001c: function(arg0, arg1) {
|
|
5123
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5218
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 77764, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5124
5219
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__27);
|
|
5125
5220
|
return ret;
|
|
5126
5221
|
},
|
|
5127
5222
|
__wbindgen_cast_000000000000001d: function(arg0, arg1) {
|
|
5128
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5129
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______,
|
|
5223
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 77764, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5224
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__28);
|
|
5225
|
+
return ret;
|
|
5226
|
+
},
|
|
5227
|
+
__wbindgen_cast_000000000000001e: function(arg0, arg1) {
|
|
5228
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 77764, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5229
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__29);
|
|
5130
5230
|
return ret;
|
|
5131
5231
|
},
|
|
5132
|
-
|
|
5232
|
+
__wbindgen_cast_000000000000001f: function(arg0, arg1) {
|
|
5233
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 77760, function: Function { arguments: [], shim_idx: 77761, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5234
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__4_);
|
|
5235
|
+
return ret;
|
|
5236
|
+
},
|
|
5237
|
+
__wbindgen_cast_0000000000000020: function(arg0) {
|
|
5133
5238
|
// Cast intrinsic for `F64 -> Externref`.
|
|
5134
5239
|
const ret = arg0;
|
|
5135
5240
|
return ret;
|
|
5136
5241
|
},
|
|
5137
|
-
|
|
5242
|
+
__wbindgen_cast_0000000000000021: function(arg0) {
|
|
5138
5243
|
// Cast intrinsic for `I64 -> Externref`.
|
|
5139
5244
|
const ret = arg0;
|
|
5140
5245
|
return ret;
|
|
5141
5246
|
},
|
|
5142
|
-
|
|
5247
|
+
__wbindgen_cast_0000000000000022: function(arg0, arg1) {
|
|
5143
5248
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5144
5249
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5145
5250
|
return ret;
|
|
5146
5251
|
},
|
|
5147
|
-
|
|
5252
|
+
__wbindgen_cast_0000000000000023: function(arg0, arg1) {
|
|
5148
5253
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5149
5254
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
5150
5255
|
return ret;
|
|
5151
5256
|
},
|
|
5152
|
-
|
|
5257
|
+
__wbindgen_cast_0000000000000024: function(arg0) {
|
|
5153
5258
|
// Cast intrinsic for `U64 -> Externref`.
|
|
5154
5259
|
const ret = BigInt.asUintN(64, arg0);
|
|
5155
5260
|
return ret;
|
|
5156
5261
|
},
|
|
5157
|
-
|
|
5262
|
+
__wbindgen_cast_0000000000000025: function(arg0, arg1) {
|
|
5158
5263
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5159
5264
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5160
5265
|
// Cast intrinsic for `Vector(Externref) -> Externref`.
|
|
5161
5266
|
const ret = v0;
|
|
5162
5267
|
return ret;
|
|
5163
5268
|
},
|
|
5164
|
-
|
|
5269
|
+
__wbindgen_cast_0000000000000026: function(arg0, arg1) {
|
|
5165
5270
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5166
5271
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5167
5272
|
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
5168
5273
|
const ret = v0;
|
|
5169
5274
|
return ret;
|
|
5170
5275
|
},
|
|
5171
|
-
|
|
5276
|
+
__wbindgen_cast_0000000000000027: function(arg0, arg1) {
|
|
5172
5277
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
5173
5278
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
5174
5279
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
@@ -5493,12 +5598,17 @@ function __wbg_get_imports(memory) {
|
|
|
5493
5598
|
"./snippets/comms-53217a45365bb5fa/livekit_web_bindings.js": import7,
|
|
5494
5599
|
"./snippets/comms-53217a45365bb5fa/livekit_web_bindings.js": import8,
|
|
5495
5600
|
"./snippets/comms-53217a45365bb5fa/livekit_web_bindings.js": import9,
|
|
5601
|
+
"./snippets/comms-53217a45365bb5fa/livekit_web_bindings.js": import10,
|
|
5496
5602
|
};
|
|
5497
5603
|
}
|
|
5498
5604
|
|
|
5499
5605
|
const lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));
|
|
5500
|
-
function
|
|
5501
|
-
wasm.
|
|
5606
|
+
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__5_(arg0, arg1) {
|
|
5607
|
+
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__5_(arg0, arg1);
|
|
5608
|
+
}
|
|
5609
|
+
|
|
5610
|
+
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__6_(arg0, arg1) {
|
|
5611
|
+
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__6_(arg0, arg1);
|
|
5502
5612
|
}
|
|
5503
5613
|
|
|
5504
5614
|
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
@@ -5517,6 +5627,10 @@ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true
|
|
|
5517
5627
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__3_(arg0, arg1);
|
|
5518
5628
|
}
|
|
5519
5629
|
|
|
5630
|
+
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__4_(arg0, arg1) {
|
|
5631
|
+
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__4_(arg0, arg1);
|
|
5632
|
+
}
|
|
5633
|
+
|
|
5520
5634
|
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3_(arg0, arg1, arg2) {
|
|
5521
5635
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3_(arg0, arg1, arg2);
|
|
5522
5636
|
}
|
|
@@ -5541,10 +5655,6 @@ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_
|
|
|
5541
5655
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true__1_(arg0, arg1, arg2);
|
|
5542
5656
|
}
|
|
5543
5657
|
|
|
5544
|
-
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_c8978531481d4b3a___livekit__web__room_event__RoomEvent______true_(arg0, arg1, arg2) {
|
|
5545
|
-
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_c8978531481d4b3a___livekit__web__room_event__RoomEvent______true_(arg0, arg1, arg2);
|
|
5546
|
-
}
|
|
5547
|
-
|
|
5548
5658
|
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true__2_(arg0, arg1, arg2) {
|
|
5549
5659
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true__2_(arg0, arg1, arg2);
|
|
5550
5660
|
}
|
|
@@ -5561,14 +5671,6 @@ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bin
|
|
|
5561
5671
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2_(arg0, arg1, arg2);
|
|
5562
5672
|
}
|
|
5563
5673
|
|
|
5564
|
-
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__21(arg0, arg1, arg2) {
|
|
5565
|
-
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__21(arg0, arg1, arg2);
|
|
5566
|
-
}
|
|
5567
|
-
|
|
5568
|
-
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__22(arg0, arg1, arg2) {
|
|
5569
|
-
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__22(arg0, arg1, arg2);
|
|
5570
|
-
}
|
|
5571
|
-
|
|
5572
5674
|
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__23(arg0, arg1, arg2) {
|
|
5573
5675
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__23(arg0, arg1, arg2);
|
|
5574
5676
|
}
|
|
@@ -5589,6 +5691,14 @@ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bin
|
|
|
5589
5691
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__27(arg0, arg1, arg2);
|
|
5590
5692
|
}
|
|
5591
5693
|
|
|
5694
|
+
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__28(arg0, arg1, arg2) {
|
|
5695
|
+
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__28(arg0, arg1, arg2);
|
|
5696
|
+
}
|
|
5697
|
+
|
|
5698
|
+
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__29(arg0, arg1, arg2) {
|
|
5699
|
+
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__29(arg0, arg1, arg2);
|
|
5700
|
+
}
|
|
5701
|
+
|
|
5592
5702
|
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_(arg0, arg1, arg2) {
|
|
5593
5703
|
const ret = wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_(arg0, arg1, arg2);
|
|
5594
5704
|
if (ret[1]) {
|
|
@@ -5625,6 +5735,12 @@ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___js_sys_3
|
|
|
5625
5735
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___js_sys_342d9548e43f4e8___Function_fn_wasm_bindgen_37b2aef40228fbc7___JsValue_____wasm_bindgen_37b2aef40228fbc7___sys__Undefined___js_sys_342d9548e43f4e8___Function_fn_wasm_bindgen_37b2aef40228fbc7___JsValue_____wasm_bindgen_37b2aef40228fbc7___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
5626
5736
|
}
|
|
5627
5737
|
|
|
5738
|
+
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___alloc_83a3323c1c17199e___string__String______true_(arg0, arg1, arg2) {
|
|
5739
|
+
const ptr0 = passStringToWasm0(arg2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5740
|
+
const len0 = WASM_VECTOR_LEN;
|
|
5741
|
+
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___alloc_83a3323c1c17199e___string__String______true_(arg0, arg1, ptr0, len0);
|
|
5742
|
+
}
|
|
5743
|
+
|
|
5628
5744
|
function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___f64__wasm_bindgen_37b2aef40228fbc7___JsValue______true_(arg0, arg1, arg2, arg3) {
|
|
5629
5745
|
wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___f64__wasm_bindgen_37b2aef40228fbc7___JsValue______true_(arg0, arg1, arg2, arg3);
|
|
5630
5746
|
}
|
|
@@ -5733,9 +5849,6 @@ const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "
|
|
|
5733
5849
|
|
|
5734
5850
|
|
|
5735
5851
|
const __wbindgen_enum_VisibilityState = ["hidden", "visible"];
|
|
5736
|
-
const AudioCaptureOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5737
|
-
? { register: () => {}, unregister: () => {} }
|
|
5738
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_audiocaptureoptions_free(ptr >>> 0, 1));
|
|
5739
5852
|
const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5740
5853
|
? { register: () => {}, unregister: () => {} }
|
|
5741
5854
|
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1));
|
|
@@ -5745,9 +5858,6 @@ const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefin
|
|
|
5745
5858
|
const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5746
5859
|
? { register: () => {}, unregister: () => {} }
|
|
5747
5860
|
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1));
|
|
5748
|
-
const ParticipantSidFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5749
|
-
? { register: () => {}, unregister: () => {} }
|
|
5750
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_participantsid_free(ptr >>> 0, 1));
|
|
5751
5861
|
const WorkerContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
5752
5862
|
? { register: () => {}, unregister: () => {} }
|
|
5753
5863
|
: new FinalizationRegistry(ptr => wasm.__wbg_workercontext_free(ptr >>> 0, 1));
|
|
@@ -5919,31 +6029,6 @@ function isLikeNone(x) {
|
|
|
5919
6029
|
return x === undefined || x === null;
|
|
5920
6030
|
}
|
|
5921
6031
|
|
|
5922
|
-
function makeClosure(arg0, arg1, dtor, f) {
|
|
5923
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
5924
|
-
const real = (...args) => {
|
|
5925
|
-
|
|
5926
|
-
// First up with a closure we increment the internal reference
|
|
5927
|
-
// count. This ensures that the Rust closure environment won't
|
|
5928
|
-
// be deallocated while we're invoking it.
|
|
5929
|
-
state.cnt++;
|
|
5930
|
-
try {
|
|
5931
|
-
return f(state.a, state.b, ...args);
|
|
5932
|
-
} finally {
|
|
5933
|
-
real._wbg_cb_unref();
|
|
5934
|
-
}
|
|
5935
|
-
};
|
|
5936
|
-
real._wbg_cb_unref = () => {
|
|
5937
|
-
if (--state.cnt === 0) {
|
|
5938
|
-
state.dtor(state.a, state.b);
|
|
5939
|
-
state.a = 0;
|
|
5940
|
-
CLOSURE_DTORS.unregister(state);
|
|
5941
|
-
}
|
|
5942
|
-
};
|
|
5943
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
5944
|
-
return real;
|
|
5945
|
-
}
|
|
5946
|
-
|
|
5947
6032
|
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
5948
6033
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
5949
6034
|
const real = (...args) => {
|