@dcl-regenesislabs/bevy-explorer-web 0.1.0-25752449798.commit-0b67439 → 0.1.0-25812721690.commit-134e2fe

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/.env CHANGED
@@ -1 +1 @@
1
- PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-25752449798.commit-0b67439"
1
+ PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-25812721690.commit-134e2fe"
package/engine.js CHANGED
@@ -247,6 +247,7 @@ export function start() {
247
247
  const realmValue = realmInput.value;
248
248
  const positionValue = positionInput.value;
249
249
  const systemScene = systemSceneInput.value;
250
+ const portables = portablesInput.value;
250
251
  const preview = previewInput.checked;
251
252
 
252
253
  // Build params from URL, overriding with form field values
@@ -256,6 +257,7 @@ export function start() {
256
257
  urlParams.set("position", positionValue);
257
258
  }
258
259
  urlParams.set("systemScene", systemScene);
260
+ urlParams.set("portables", portables);
259
261
  urlParams.delete("initialRealm");
260
262
  if (preview) {
261
263
  urlParams.set("preview", "true");
@@ -264,7 +266,7 @@ export function start() {
264
266
  }
265
267
  const params = urlParams.toString();
266
268
  console.log(
267
- `[Main JS] "Launch" button clicked. Initial Realm: "${realmValue}", Position (coords): "${positionValue}", System Scene: "${systemScene}"`
269
+ `[Main JS] "Launch" button clicked. Initial Realm: "${realmValue}", Position (coords): "${positionValue}", System Scene: "${systemScene}, Portables: "${portables}"`
268
270
  );
269
271
  hideHeader();
270
272
 
@@ -323,7 +325,7 @@ export function start() {
323
325
  delete window._buildEngineApi;
324
326
  };
325
327
 
326
- engine_run(platform, realmValue, positionValue, systemScene, true, preview, 1e7, params);
328
+ engine_run(platform, realmValue, positionValue, systemScene, portables, true, preview, 1e7, params);
327
329
  window.engine_console_command = engine_console_command;
328
330
  window.loadSceneUtils = () => {
329
331
  return new Promise((resolve, reject) => {
package/index.html CHANGED
@@ -411,7 +411,7 @@
411
411
  }
412
412
  </style>
413
413
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
414
- <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-25752449798.commit-0b67439";</script>
414
+ <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-25812721690.commit-134e2fe";</script>
415
415
  </head>
416
416
  <body>
417
417
  <div id="header" class="container">
@@ -435,6 +435,11 @@
435
435
  <input type="text" id="systemScene" name="systemScene" placeholder="">
436
436
  </div>
437
437
 
438
+ <div class="input-group">
439
+ <label for="portables">Portables</label>
440
+ <input type="text" id="portables" name="portables" placeholder="">
441
+ </div>
442
+
438
443
  <div class="input-group">
439
444
  <label for="preview">Preview Mode <input type="checkbox" id="preview" name="preview"> </label>
440
445
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl-regenesislabs/bevy-explorer-web",
3
- "version": "0.1.0-25752449798.commit-0b67439",
3
+ "version": "0.1.0-25812721690.commit-134e2fe",
4
4
  "scripts": {
5
5
  "postinstall": "node ./scripts/prebuild.js"
6
6
  },
@@ -8,6 +8,6 @@
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/decentraland/bevy-explorer.git"
10
10
  },
11
- "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-25752449798.commit-0b67439",
12
- "commit": "0b674394a21a621362a7fdbd68c2e4ff539cabbe"
11
+ "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-25812721690.commit-134e2fe",
12
+ "commit": "134e2fe10f832b1df3e067a985353d92d6ae7a0f"
13
13
  }
package/pkg/manifest.json CHANGED
@@ -1 +1 @@
1
- {"wasmSize":108459519}
1
+ {"wasmSize":108553683}
@@ -89,7 +89,7 @@ export function engine_console_command(command_line: string): Promise<any>;
89
89
 
90
90
  export function engine_init(): Promise<any>;
91
91
 
92
- export function engine_run(platform: string, realm: string, location: string, system_scene: string, with_thread_loader: boolean, preview: boolean, rabpf: number, params: string): void;
92
+ export function engine_run(platform: string, server: string, location: string, system_scene: string, portables: string, with_thread_loader: boolean, is_preview: boolean, gpu_bytes_per_frame: number, params: string): void;
93
93
 
94
94
  export function gpu_cache_hash(): string;
95
95
 
@@ -347,29 +347,11 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
347
347
  export interface InitOutput {
348
348
  readonly engine_console_command: (a: number, b: number) => any;
349
349
  readonly engine_init: () => any;
350
- readonly engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
350
+ readonly engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
351
351
  readonly init_asset_load_thread: () => void;
352
- readonly __wbg_audiocaptureoptions_free: (a: number, b: number) => void;
353
- readonly __wbg_datapublishoptions_free: (a: number, b: number) => void;
354
- readonly __wbg_get_audiocaptureoptions_autoGainControl: (a: number) => number;
355
- readonly __wbg_get_audiocaptureoptions_channelCount: (a: number) => [number, bigint];
356
- readonly __wbg_get_audiocaptureoptions_echoCancellation: (a: number) => number;
357
- readonly __wbg_get_audiocaptureoptions_latency: (a: number) => [number, number];
358
- readonly __wbg_get_audiocaptureoptions_noiseSuppression: (a: number) => number;
359
- readonly __wbg_get_audiocaptureoptions_sampleRate: (a: number) => [number, bigint];
360
- readonly __wbg_get_audiocaptureoptions_sampleSize: (a: number) => [number, bigint];
361
- readonly __wbg_get_audiocaptureoptions_voiceIsolation: (a: number) => number;
362
- readonly __wbg_participantsid_free: (a: number, b: number) => void;
363
- readonly __wbg_set_audiocaptureoptions_autoGainControl: (a: number, b: number) => void;
364
- readonly __wbg_set_audiocaptureoptions_channelCount: (a: number, b: number, c: bigint) => void;
365
- readonly __wbg_set_audiocaptureoptions_echoCancellation: (a: number, b: number) => void;
366
- readonly __wbg_set_audiocaptureoptions_latency: (a: number, b: number, c: number) => void;
367
- readonly __wbg_set_audiocaptureoptions_noiseSuppression: (a: number, b: number) => void;
368
- readonly __wbg_set_audiocaptureoptions_sampleRate: (a: number, b: number, c: bigint) => void;
369
- readonly __wbg_set_audiocaptureoptions_sampleSize: (a: number, b: number, c: bigint) => void;
370
- readonly __wbg_set_audiocaptureoptions_voiceIsolation: (a: number, b: number) => void;
371
352
  readonly image_processor_init: () => void;
372
353
  readonly image_processor_run: () => any;
354
+ readonly gpu_cache_hash: () => [number, number];
373
355
  readonly __wbg_workercontext_free: (a: number, b: number) => void;
374
356
  readonly builtin_module: (a: number, b: number, c: number) => [number, number, number, number];
375
357
  readonly drop_context: (a: number) => void;
@@ -495,7 +477,25 @@ export interface InitOutput {
495
477
  readonly wasm_init_scene: () => any;
496
478
  readonly workercontext_get_scene_title: (a: number) => [number, number];
497
479
  readonly workercontext_get_source: (a: number) => any;
498
- readonly gpu_cache_hash: () => [number, number];
480
+ readonly __wbg_audiocaptureoptions_free: (a: number, b: number) => void;
481
+ readonly __wbg_datapublishoptions_free: (a: number, b: number) => void;
482
+ readonly __wbg_get_audiocaptureoptions_autoGainControl: (a: number) => number;
483
+ readonly __wbg_get_audiocaptureoptions_channelCount: (a: number) => [number, bigint];
484
+ readonly __wbg_get_audiocaptureoptions_echoCancellation: (a: number) => number;
485
+ readonly __wbg_get_audiocaptureoptions_latency: (a: number) => [number, number];
486
+ readonly __wbg_get_audiocaptureoptions_noiseSuppression: (a: number) => number;
487
+ readonly __wbg_get_audiocaptureoptions_sampleRate: (a: number) => [number, bigint];
488
+ readonly __wbg_get_audiocaptureoptions_sampleSize: (a: number) => [number, bigint];
489
+ readonly __wbg_get_audiocaptureoptions_voiceIsolation: (a: number) => number;
490
+ readonly __wbg_participantsid_free: (a: number, b: number) => void;
491
+ readonly __wbg_set_audiocaptureoptions_autoGainControl: (a: number, b: number) => void;
492
+ readonly __wbg_set_audiocaptureoptions_channelCount: (a: number, b: number, c: bigint) => void;
493
+ readonly __wbg_set_audiocaptureoptions_echoCancellation: (a: number, b: number) => void;
494
+ readonly __wbg_set_audiocaptureoptions_latency: (a: number, b: number, c: number) => void;
495
+ readonly __wbg_set_audiocaptureoptions_noiseSuppression: (a: number, b: number) => void;
496
+ readonly __wbg_set_audiocaptureoptions_sampleRate: (a: number, b: number, c: bigint) => void;
497
+ readonly __wbg_set_audiocaptureoptions_sampleSize: (a: number, b: number, c: bigint) => void;
498
+ readonly __wbg_set_audiocaptureoptions_voiceIsolation: (a: number, b: number) => void;
499
499
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_CloseEvent__CloseEvent____Output_______: (a: number, b: number) => void;
500
500
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________2_: (a: number, b: number) => void;
501
501
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________3_: (a: number, b: number) => void;
@@ -506,10 +506,10 @@ export interface InitOutput {
506
506
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
507
507
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output_______: (a: number, b: number) => void;
508
508
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________1_: (a: number, b: number) => void;
509
- readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______: (a: number, b: number) => void;
510
509
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________2_: (a: number, b: number) => void;
511
510
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_: (a: number, b: number) => void;
512
511
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________1_: (a: number, b: number) => void;
512
+ readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______: (a: number, b: number) => void;
513
513
  readonly wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______: (a: number, b: number) => void;
514
514
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___f64__wasm_bindgen_c050fca1e6679df8___JsValue______true_: (a: number, b: number, c: number, d: any) => void;
515
515
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue__core_b1d35abfa360d765___result__Result_____wasm_bindgen_c050fca1e6679df8___JsError___true_: (a: number, b: number, c: any) => [number, number];
@@ -524,10 +524,10 @@ export interface InitOutput {
524
524
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___comms_fc730db1f7d6a863___livekit__web__room_event__RoomEvent______true_: (a: number, b: number, c: any) => void;
525
525
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_CloseEvent__CloseEvent______true__1_: (a: number, b: number, c: any) => void;
526
526
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true_: (a: number, b: number, c: any) => void;
527
- readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_: (a: number, b: number, c: any) => void;
528
- readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__14: (a: number, b: number, c: any) => void;
529
- readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__15: (a: number, b: number, c: any) => void;
530
527
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__1_: (a: number, b: number, c: any) => void;
528
+ readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_: (a: number, b: number, c: any) => void;
529
+ readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__17: (a: number, b: number, c: any) => void;
530
+ readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__18: (a: number, b: number, c: any) => void;
531
531
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2_: (a: number, b: number, c: any) => void;
532
532
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__21: (a: number, b: number, c: any) => void;
533
533
  readonly wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__22: (a: number, b: number, c: any) => void;
@@ -299,26 +299,29 @@ export function engine_init() {
299
299
 
300
300
  /**
301
301
  * @param {string} platform
302
- * @param {string} realm
302
+ * @param {string} server
303
303
  * @param {string} location
304
304
  * @param {string} system_scene
305
+ * @param {string} portables
305
306
  * @param {boolean} with_thread_loader
306
- * @param {boolean} preview
307
- * @param {number} rabpf
307
+ * @param {boolean} is_preview
308
+ * @param {number} gpu_bytes_per_frame
308
309
  * @param {string} params
309
310
  */
310
- export function engine_run(platform, realm, location, system_scene, with_thread_loader, preview, rabpf, params) {
311
+ export function engine_run(platform, server, location, system_scene, portables, with_thread_loader, is_preview, gpu_bytes_per_frame, params) {
311
312
  const ptr0 = passStringToWasm0(platform, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
312
313
  const len0 = WASM_VECTOR_LEN;
313
- const ptr1 = passStringToWasm0(realm, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
314
+ const ptr1 = passStringToWasm0(server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
314
315
  const len1 = WASM_VECTOR_LEN;
315
316
  const ptr2 = passStringToWasm0(location, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
316
317
  const len2 = WASM_VECTOR_LEN;
317
318
  const ptr3 = passStringToWasm0(system_scene, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
318
319
  const len3 = WASM_VECTOR_LEN;
319
- const ptr4 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
320
+ const ptr4 = passStringToWasm0(portables, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
320
321
  const len4 = WASM_VECTOR_LEN;
321
- wasm.engine_run(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, with_thread_loader, preview, rabpf, ptr4, len4);
322
+ const ptr5 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
323
+ const len5 = WASM_VECTOR_LEN;
324
+ wasm.engine_run(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, with_thread_loader, is_preview, gpu_bytes_per_frame, ptr5, len5);
322
325
  }
323
326
 
324
327
  /**
@@ -4290,7 +4293,7 @@ function __wbg_get_imports(memory) {
4290
4293
  __wbg_set_type_c460e0b6d347a46b: function(arg0, arg1, arg2) {
4291
4294
  arg0.type = getStringFromWasm0(arg1, arg2);
4292
4295
  },
4293
- __wbg_set_url_params_29f4ab0f650eafac: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
4296
+ __wbg_set_url_params_af36af3ec5a90a7b: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
4294
4297
  let deferred0_0;
4295
4298
  let deferred0_1;
4296
4299
  try {
@@ -4301,7 +4304,12 @@ function __wbg_get_imports(memory) {
4301
4304
  v1 = getStringFromWasm0(arg4, arg5).slice();
4302
4305
  wasm.__wbindgen_free(arg4, arg5 * 1, 1);
4303
4306
  }
4304
- window.set_url_params(arg0, arg1, getStringFromWasm0(arg2, arg3), v1, arg6 !== 0);
4307
+ let v2;
4308
+ if (arg6 !== 0) {
4309
+ v2 = getStringFromWasm0(arg6, arg7).slice();
4310
+ wasm.__wbindgen_free(arg6, arg7 * 1, 1);
4311
+ }
4312
+ window.set_url_params(arg0, arg1, getStringFromWasm0(arg2, arg3), v1, v2, arg8 !== 0);
4305
4313
  } finally {
4306
4314
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
4307
4315
  }
@@ -4681,147 +4689,147 @@ function __wbg_get_imports(memory) {
4681
4689
  return ret;
4682
4690
  },
4683
4691
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4684
- // Cast intrinsic for `Closure(Closure { dtor_idx: 11003, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 11004, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4692
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 11017, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 11018, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4685
4693
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_CloseEvent__CloseEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_CloseEvent__CloseEvent______true_);
4686
4694
  return ret;
4687
4695
  },
4688
4696
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
4689
- // Cast intrinsic for `Closure(Closure { dtor_idx: 128869, function: Function { arguments: [Externref], shim_idx: 128870, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4697
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 129030, function: Function { arguments: [Externref], shim_idx: 129031, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4690
4698
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________2_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__3_);
4691
4699
  return ret;
4692
4700
  },
4693
4701
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
4694
- // Cast intrinsic for `Closure(Closure { dtor_idx: 128869, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 128870, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4702
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 129030, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 129031, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4695
4703
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________2_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__3__2);
4696
4704
  return ret;
4697
4705
  },
4698
4706
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
4699
- // Cast intrinsic for `Closure(Closure { dtor_idx: 136139, function: Function { arguments: [Externref], shim_idx: 136140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4707
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 136300, function: Function { arguments: [Externref], shim_idx: 136301, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4700
4708
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________3_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__4_);
4701
4709
  return ret;
4702
4710
  },
4703
4711
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
4704
- // Cast intrinsic for `Closure(Closure { dtor_idx: 144239, function: Function { arguments: [Externref], shim_idx: 144240, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4712
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 144400, function: Function { arguments: [Externref], shim_idx: 144401, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4705
4713
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_c050fca1e6679df8___JsError___, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue__core_b1d35abfa360d765___result__Result_____wasm_bindgen_c050fca1e6679df8___JsError___true_);
4706
4714
  return ret;
4707
4715
  },
4708
4716
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
4709
- // Cast intrinsic for `Closure(Closure { dtor_idx: 144239, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 144242, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4717
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 144400, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 144403, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4710
4718
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_c050fca1e6679df8___JsError___, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_MessageEvent__MessageEvent______true_);
4711
4719
  return ret;
4712
4720
  },
4713
4721
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
4714
- // Cast intrinsic for `Closure(Closure { dtor_idx: 19172, function: Function { arguments: [F64, Externref], shim_idx: 19173, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4722
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 28880, function: Function { arguments: [F64, Externref], shim_idx: 28881, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4715
4723
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__f64__wasm_bindgen_c050fca1e6679df8___JsValue___Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___f64__wasm_bindgen_c050fca1e6679df8___JsValue______true_);
4716
4724
  return ret;
4717
4725
  },
4718
4726
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
4719
- // Cast intrinsic for `Closure(Closure { dtor_idx: 47731, function: Function { arguments: [Externref], shim_idx: 47732, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4727
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 55326, function: Function { arguments: [Externref], shim_idx: 55327, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4720
4728
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_fc730db1f7d6a863___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___comms_fc730db1f7d6a863___livekit__web__local_audio_track__LocalAudioTrack__core_b1d35abfa360d765___result__Result_____wasm_bindgen_c050fca1e6679df8___JsError___true_);
4721
4729
  return ret;
4722
4730
  },
4723
4731
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
4724
- // Cast intrinsic for `Closure(Closure { dtor_idx: 47731, function: Function { arguments: [Externref], shim_idx: 47734, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4732
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 55326, function: Function { arguments: [Externref], shim_idx: 55329, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4725
4733
  const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_fc730db1f7d6a863___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___comms_fc730db1f7d6a863___livekit__web__room_event__RoomEvent______true_);
4726
4734
  return ret;
4727
4735
  },
4728
4736
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
4729
- // Cast intrinsic for `Closure(Closure { dtor_idx: 57745, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 57746, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4737
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 58061, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 58062, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4730
4738
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_CloseEvent__CloseEvent____Output________1_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_CloseEvent__CloseEvent______true__1_);
4731
4739
  return ret;
4732
4740
  },
4733
4741
  __wbindgen_cast_000000000000000b: function(arg0, arg1) {
4734
- // Cast intrinsic for `Closure(Closure { dtor_idx: 57851, function: Function { arguments: [], shim_idx: 57852, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4742
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 58167, function: Function { arguments: [], shim_idx: 58168, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4735
4743
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke_______true_);
4736
4744
  return ret;
4737
4745
  },
4738
4746
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
4739
- // Cast intrinsic for `Closure(Closure { dtor_idx: 57854, function: Function { arguments: [Externref], shim_idx: 57855, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4747
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 58170, function: Function { arguments: [Externref], shim_idx: 58171, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4740
4748
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true_);
4741
4749
  return ret;
4742
4750
  },
4743
4751
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
4744
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61215, function: Function { arguments: [], shim_idx: 61216, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4752
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 61531, function: Function { arguments: [], shim_idx: 61532, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4745
4753
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________1_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke_______true__1_);
4746
4754
  return ret;
4747
4755
  },
4748
4756
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
4749
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61835, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 61836, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4750
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_);
4757
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 62571, function: Function { arguments: [], shim_idx: 62572, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4758
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________2_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke_______true__2_);
4751
4759
  return ret;
4752
4760
  },
4753
4761
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
4754
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61835, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 61836, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4755
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__14);
4762
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 62923, function: Function { arguments: [], shim_idx: 62924, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4763
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke_______true__3_);
4756
4764
  return ret;
4757
4765
  },
4758
4766
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
4759
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61835, function: Function { arguments: [NamedExternref("TouchEvent")], shim_idx: 61836, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4760
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__15);
4767
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 62959, function: Function { arguments: [Externref], shim_idx: 62960, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4768
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________1_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__1_);
4761
4769
  return ret;
4762
4770
  },
4763
4771
  __wbindgen_cast_0000000000000011: function(arg0, arg1) {
4764
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65102, function: Function { arguments: [], shim_idx: 65103, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4765
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________2_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke_______true__2_);
4772
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 64025, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 64026, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4773
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_);
4766
4774
  return ret;
4767
4775
  },
4768
4776
  __wbindgen_cast_0000000000000012: function(arg0, arg1) {
4769
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65454, function: Function { arguments: [], shim_idx: 65455, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4770
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke_______true__3_);
4777
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 64025, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 64026, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4778
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__17);
4771
4779
  return ret;
4772
4780
  },
4773
4781
  __wbindgen_cast_0000000000000013: function(arg0, arg1) {
4774
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65490, function: Function { arguments: [Externref], shim_idx: 65491, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4775
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________1_, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__1_);
4782
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 64025, function: Function { arguments: [NamedExternref("TouchEvent")], shim_idx: 64026, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4783
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__18);
4776
4784
  return ret;
4777
4785
  },
4778
4786
  __wbindgen_cast_0000000000000014: function(arg0, arg1) {
4779
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [Externref], shim_idx: 67023, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4787
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [Externref], shim_idx: 67119, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4780
4788
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2_);
4781
4789
  return ret;
4782
4790
  },
4783
4791
  __wbindgen_cast_0000000000000015: function(arg0, arg1) {
4784
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 67029, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4792
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 67125, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4785
4793
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___js_sys_d40b129ce13bfafb___Array__web_sys_4810301cc3ef8c1f___features__gen_ResizeObserver__ResizeObserver______true_);
4786
4794
  return ret;
4787
4795
  },
4788
4796
  __wbindgen_cast_0000000000000016: function(arg0, arg1) {
4789
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 67023, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4797
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 67119, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4790
4798
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__21);
4791
4799
  return ret;
4792
4800
  },
4793
4801
  __wbindgen_cast_0000000000000017: function(arg0, arg1) {
4794
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [NamedExternref("Event")], shim_idx: 67023, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4802
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [NamedExternref("Event")], shim_idx: 67119, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4795
4803
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__22);
4796
4804
  return ret;
4797
4805
  },
4798
4806
  __wbindgen_cast_0000000000000018: function(arg0, arg1) {
4799
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 67023, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4807
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 67119, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4800
4808
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__23);
4801
4809
  return ret;
4802
4810
  },
4803
4811
  __wbindgen_cast_0000000000000019: function(arg0, arg1) {
4804
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 67023, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4812
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 67119, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4805
4813
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__24);
4806
4814
  return ret;
4807
4815
  },
4808
4816
  __wbindgen_cast_000000000000001a: function(arg0, arg1) {
4809
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 67023, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4817
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 67119, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4810
4818
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__25);
4811
4819
  return ret;
4812
4820
  },
4813
4821
  __wbindgen_cast_000000000000001b: function(arg0, arg1) {
4814
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 67023, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4822
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 67119, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4815
4823
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__26);
4816
4824
  return ret;
4817
4825
  },
4818
4826
  __wbindgen_cast_000000000000001c: function(arg0, arg1) {
4819
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 67023, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4827
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 67119, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4820
4828
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__27);
4821
4829
  return ret;
4822
4830
  },
4823
4831
  __wbindgen_cast_000000000000001d: function(arg0, arg1) {
4824
- // Cast intrinsic for `Closure(Closure { dtor_idx: 67022, function: Function { arguments: [], shim_idx: 67037, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4832
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 67118, function: Function { arguments: [], shim_idx: 67133, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4825
4833
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______, wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke_______true__4_);
4826
4834
  return ret;
4827
4835
  },
@@ -5245,20 +5253,20 @@ function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bin
5245
5253
  wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true_(arg0, arg1, arg2);
5246
5254
  }
5247
5255
 
5248
- function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_(arg0, arg1, arg2) {
5249
- wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_(arg0, arg1, arg2);
5256
+ function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__1_(arg0, arg1, arg2) {
5257
+ wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__1_(arg0, arg1, arg2);
5250
5258
  }
5251
5259
 
5252
- function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__14(arg0, arg1, arg2) {
5253
- wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__14(arg0, arg1, arg2);
5260
+ function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_(arg0, arg1, arg2) {
5261
+ wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_(arg0, arg1, arg2);
5254
5262
  }
5255
5263
 
5256
- function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__15(arg0, arg1, arg2) {
5257
- wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__15(arg0, arg1, arg2);
5264
+ function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__17(arg0, arg1, arg2) {
5265
+ wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__17(arg0, arg1, arg2);
5258
5266
  }
5259
5267
 
5260
- function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__1_(arg0, arg1, arg2) {
5261
- wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__1_(arg0, arg1, arg2);
5268
+ function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__18(arg0, arg1, arg2) {
5269
+ wasm.wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__18(arg0, arg1, arg2);
5262
5270
  }
5263
5271
 
5264
5272
  function wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2_(arg0, arg1, arg2) {
Binary file
@@ -2,29 +2,11 @@
2
2
  /* eslint-disable */
3
3
  export const engine_console_command: (a: number, b: number) => any;
4
4
  export const engine_init: () => any;
5
- export const engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
5
+ export const engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
6
6
  export const init_asset_load_thread: () => void;
7
- export const __wbg_audiocaptureoptions_free: (a: number, b: number) => void;
8
- export const __wbg_datapublishoptions_free: (a: number, b: number) => void;
9
- export const __wbg_get_audiocaptureoptions_autoGainControl: (a: number) => number;
10
- export const __wbg_get_audiocaptureoptions_channelCount: (a: number) => [number, bigint];
11
- export const __wbg_get_audiocaptureoptions_echoCancellation: (a: number) => number;
12
- export const __wbg_get_audiocaptureoptions_latency: (a: number) => [number, number];
13
- export const __wbg_get_audiocaptureoptions_noiseSuppression: (a: number) => number;
14
- export const __wbg_get_audiocaptureoptions_sampleRate: (a: number) => [number, bigint];
15
- export const __wbg_get_audiocaptureoptions_sampleSize: (a: number) => [number, bigint];
16
- export const __wbg_get_audiocaptureoptions_voiceIsolation: (a: number) => number;
17
- export const __wbg_participantsid_free: (a: number, b: number) => void;
18
- export const __wbg_set_audiocaptureoptions_autoGainControl: (a: number, b: number) => void;
19
- export const __wbg_set_audiocaptureoptions_channelCount: (a: number, b: number, c: bigint) => void;
20
- export const __wbg_set_audiocaptureoptions_echoCancellation: (a: number, b: number) => void;
21
- export const __wbg_set_audiocaptureoptions_latency: (a: number, b: number, c: number) => void;
22
- export const __wbg_set_audiocaptureoptions_noiseSuppression: (a: number, b: number) => void;
23
- export const __wbg_set_audiocaptureoptions_sampleRate: (a: number, b: number, c: bigint) => void;
24
- export const __wbg_set_audiocaptureoptions_sampleSize: (a: number, b: number, c: bigint) => void;
25
- export const __wbg_set_audiocaptureoptions_voiceIsolation: (a: number, b: number) => void;
26
7
  export const image_processor_init: () => void;
27
8
  export const image_processor_run: () => any;
9
+ export const gpu_cache_hash: () => [number, number];
28
10
  export const __wbg_workercontext_free: (a: number, b: number) => void;
29
11
  export const builtin_module: (a: number, b: number, c: number) => [number, number, number, number];
30
12
  export const drop_context: (a: number) => void;
@@ -150,7 +132,25 @@ export const op_world_time: (a: number) => any;
150
132
  export const wasm_init_scene: () => any;
151
133
  export const workercontext_get_scene_title: (a: number) => [number, number];
152
134
  export const workercontext_get_source: (a: number) => any;
153
- export const gpu_cache_hash: () => [number, number];
135
+ export const __wbg_audiocaptureoptions_free: (a: number, b: number) => void;
136
+ export const __wbg_datapublishoptions_free: (a: number, b: number) => void;
137
+ export const __wbg_get_audiocaptureoptions_autoGainControl: (a: number) => number;
138
+ export const __wbg_get_audiocaptureoptions_channelCount: (a: number) => [number, bigint];
139
+ export const __wbg_get_audiocaptureoptions_echoCancellation: (a: number) => number;
140
+ export const __wbg_get_audiocaptureoptions_latency: (a: number) => [number, number];
141
+ export const __wbg_get_audiocaptureoptions_noiseSuppression: (a: number) => number;
142
+ export const __wbg_get_audiocaptureoptions_sampleRate: (a: number) => [number, bigint];
143
+ export const __wbg_get_audiocaptureoptions_sampleSize: (a: number) => [number, bigint];
144
+ export const __wbg_get_audiocaptureoptions_voiceIsolation: (a: number) => number;
145
+ export const __wbg_participantsid_free: (a: number, b: number) => void;
146
+ export const __wbg_set_audiocaptureoptions_autoGainControl: (a: number, b: number) => void;
147
+ export const __wbg_set_audiocaptureoptions_channelCount: (a: number, b: number, c: bigint) => void;
148
+ export const __wbg_set_audiocaptureoptions_echoCancellation: (a: number, b: number) => void;
149
+ export const __wbg_set_audiocaptureoptions_latency: (a: number, b: number, c: number) => void;
150
+ export const __wbg_set_audiocaptureoptions_noiseSuppression: (a: number, b: number) => void;
151
+ export const __wbg_set_audiocaptureoptions_sampleRate: (a: number, b: number, c: bigint) => void;
152
+ export const __wbg_set_audiocaptureoptions_sampleSize: (a: number, b: number, c: bigint) => void;
153
+ export const __wbg_set_audiocaptureoptions_voiceIsolation: (a: number, b: number) => void;
154
154
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_CloseEvent__CloseEvent____Output_______: (a: number, b: number) => void;
155
155
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________2_: (a: number, b: number) => void;
156
156
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________3_: (a: number, b: number) => void;
@@ -161,10 +161,10 @@ export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35ab
161
161
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
162
162
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output_______: (a: number, b: number) => void;
163
163
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________1_: (a: number, b: number) => void;
164
- export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______: (a: number, b: number) => void;
165
164
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________2_: (a: number, b: number) => void;
166
165
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_: (a: number, b: number) => void;
167
166
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_c050fca1e6679df8___JsValue____Output________1_: (a: number, b: number) => void;
167
+ export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent____Output_______: (a: number, b: number) => void;
168
168
  export const wasm_bindgen_c050fca1e6679df8___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_4810301cc3ef8c1f___features__gen_Blob__Blob_____Output_______: (a: number, b: number) => void;
169
169
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___f64__wasm_bindgen_c050fca1e6679df8___JsValue______true_: (a: number, b: number, c: number, d: any) => void;
170
170
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue__core_b1d35abfa360d765___result__Result_____wasm_bindgen_c050fca1e6679df8___JsError___true_: (a: number, b: number, c: any) => [number, number];
@@ -179,10 +179,10 @@ export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_
179
179
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___comms_fc730db1f7d6a863___livekit__web__room_event__RoomEvent______true_: (a: number, b: number, c: any) => void;
180
180
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_CloseEvent__CloseEvent______true__1_: (a: number, b: number, c: any) => void;
181
181
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true_: (a: number, b: number, c: any) => void;
182
- export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_: (a: number, b: number, c: any) => void;
183
- export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__14: (a: number, b: number, c: any) => void;
184
- export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__15: (a: number, b: number, c: any) => void;
185
182
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__1_: (a: number, b: number, c: any) => void;
183
+ export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true_: (a: number, b: number, c: any) => void;
184
+ export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__17: (a: number, b: number, c: any) => void;
185
+ export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___web_sys_4810301cc3ef8c1f___features__gen_InputEvent__InputEvent______true__18: (a: number, b: number, c: any) => void;
186
186
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2_: (a: number, b: number, c: any) => void;
187
187
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__21: (a: number, b: number, c: any) => void;
188
188
  export const wasm_bindgen_c050fca1e6679df8___convert__closures_____invoke___wasm_bindgen_c050fca1e6679df8___JsValue______true__2__22: (a: number, b: number, c: any) => void;
package/ui.js CHANGED
@@ -3,12 +3,14 @@
3
3
 
4
4
  // Constants
5
5
  const DEFAULT_SERVER = "https://realm-provider-ea.decentraland.org/main";
6
- const DEFAULT_SYSTEMSCENE = "https://dcl-regenesislabs.github.io/bevy-ui-scene/BevyUiScene;basiccontroller.dcl.eth";
6
+ const DEFAULT_SYSTEMSCENE = "https://dcl-regenesislabs.github.io/bevy-ui-scene/BevyUiScene";
7
+ const DEFAULT_PORTABLES = "basiccontroller.dcl.eth";
7
8
 
8
9
  // DOM references
9
10
  const realmInput = document.getElementById("realm");
10
11
  const positionInput = document.getElementById("position");
11
12
  const systemSceneInput = document.getElementById("systemScene");
13
+ const portablesInput = document.getElementById("portables");
12
14
  const previewInput = document.getElementById("preview");
13
15
  const initButton = document.getElementById("initButton");
14
16
  const canvas = document.getElementById("canvas-parent");
@@ -50,6 +52,13 @@ function populateInputsFromQueryParams() {
50
52
  systemSceneInput.value = DEFAULT_SYSTEMSCENE;
51
53
  }
52
54
 
55
+ const portablesParam = queryParams.get("portables");
56
+ if (portablesInput && portablesParam) {
57
+ portablesInput.value = decodeURIComponent(portablesParam);
58
+ } else if (portablesInput) {
59
+ portablesInput.value = DEFAULT_PORTABLES;
60
+ }
61
+
53
62
  const previewParam = queryParams.get("preview");
54
63
  if (previewInput && previewParam) {
55
64
  previewInput.checked = true;
@@ -82,7 +91,7 @@ function hideHeader() {
82
91
  }
83
92
  }
84
93
 
85
- function showCanvas(){
94
+ function showCanvas() {
86
95
  console.log("show canvas")
87
96
  if (canvas) canvas.style.display = "block";
88
97
  const logo = document.getElementById("loading-logo");
@@ -95,7 +104,7 @@ function showCanvas(){
95
104
  * Updates the browser URL with the current game state.
96
105
  * Called from the WASM engine to keep URL in sync.
97
106
  */
98
- window.set_url_params = (x, y, server, system_scene, preview) => {
107
+ window.set_url_params = (x, y, server, system_scene, portables, preview) => {
99
108
  try {
100
109
  const urlParams = new URLSearchParams(window.location.search);
101
110
 
@@ -113,6 +122,12 @@ window.set_url_params = (x, y, server, system_scene, preview) => {
113
122
  urlParams.delete("systemScene");
114
123
  }
115
124
 
125
+ if (portables != DEFAULT_PORTABLES) {
126
+ urlParams.set("portables", portables);
127
+ } else {
128
+ urlParams.delete("portables");
129
+ }
130
+
116
131
  if (preview) {
117
132
  urlParams.set("preview", true);
118
133
  } else {