@dcl-regenesislabs/bevy-explorer-web 0.1.0-34587643134.commit-48233ea → 0.1.0-34588802179.commit-3926f33

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.
@@ -1 +1 @@
1
- {"wasmSize":111985828}
1
+ {"wasmSize":112005588}
@@ -70,6 +70,7 @@ __export(webgpu_build_exports, {
70
70
  op_get_player_data: () => op_get_player_data,
71
71
  op_get_players_in_scene: () => op_get_players_in_scene,
72
72
  op_get_previous_login: () => op_get_previous_login,
73
+ op_get_profile_changed_stream: () => op_get_profile_changed_stream,
73
74
  op_get_proximity_stream: () => op_get_proximity_stream,
74
75
  op_get_received_friend_requests: () => op_get_received_friend_requests,
75
76
  op_get_scene_loading_ui_stream: () => op_get_scene_loading_ui_stream,
@@ -108,6 +109,7 @@ __export(webgpu_build_exports, {
108
109
  op_read_hover_stream: () => op_read_hover_stream,
109
110
  op_read_permission_request_stream: () => op_read_permission_request_stream,
110
111
  op_read_permission_used_stream: () => op_read_permission_used_stream,
112
+ op_read_profile_changed_stream: () => op_read_profile_changed_stream,
111
113
  op_read_proximity_stream: () => op_read_proximity_stream,
112
114
  op_read_scene_loading_ui_stream: () => op_read_scene_loading_ui_stream,
113
115
  op_read_system_action_stream: () => op_read_system_action_stream,
@@ -1282,6 +1284,11 @@ function op_get_previous_login(state) {
1282
1284
  const ret2 = wasm.op_get_previous_login(state.__wbg_ptr);
1283
1285
  return ret2;
1284
1286
  }
1287
+ function op_get_profile_changed_stream(state) {
1288
+ _assertClass(state, WorkerContext);
1289
+ const ret2 = wasm.op_get_profile_changed_stream(state.__wbg_ptr);
1290
+ return ret2;
1291
+ }
1285
1292
  function op_get_proximity_stream(state) {
1286
1293
  _assertClass(state, WorkerContext);
1287
1294
  const ret2 = wasm.op_get_proximity_stream(state.__wbg_ptr);
@@ -1493,6 +1500,11 @@ function op_read_permission_used_stream(state, rid) {
1493
1500
  const ret2 = wasm.op_read_permission_used_stream(state.__wbg_ptr, rid);
1494
1501
  return ret2;
1495
1502
  }
1503
+ function op_read_profile_changed_stream(state, rid) {
1504
+ _assertClass(state, WorkerContext);
1505
+ const ret2 = wasm.op_read_profile_changed_stream(state.__wbg_ptr, rid);
1506
+ return ret2;
1507
+ }
1496
1508
  function op_read_proximity_stream(state, rid) {
1497
1509
  _assertClass(state, WorkerContext);
1498
1510
  const ret2 = wasm.op_read_proximity_stream(state.__wbg_ptr, rid);
@@ -218,6 +218,8 @@ export function op_get_players_in_scene(state: WorkerContext): Promise<string[]>
218
218
 
219
219
  export function op_get_previous_login(state: WorkerContext): Promise<string | undefined>;
220
220
 
221
+ export function op_get_profile_changed_stream(state: WorkerContext): Promise<number>;
222
+
221
223
  export function op_get_proximity_stream(state: WorkerContext): Promise<number>;
222
224
 
223
225
  export function op_get_received_friend_requests(state: WorkerContext): Promise<any>;
@@ -294,6 +296,8 @@ export function op_read_permission_request_stream(state: WorkerContext, rid: num
294
296
 
295
297
  export function op_read_permission_used_stream(state: WorkerContext, rid: number): Promise<any>;
296
298
 
299
+ export function op_read_profile_changed_stream(state: WorkerContext, rid: number): Promise<any>;
300
+
297
301
  export function op_read_proximity_stream(state: WorkerContext, rid: number): Promise<any>;
298
302
 
299
303
  export function op_read_scene_loading_ui_stream(state: WorkerContext, rid: number): Promise<any>;
@@ -438,6 +442,7 @@ export interface InitOutput {
438
442
  readonly op_get_player_data: (a: number, b: number, c: number) => any;
439
443
  readonly op_get_players_in_scene: (a: number) => any;
440
444
  readonly op_get_previous_login: (a: number) => any;
445
+ readonly op_get_profile_changed_stream: (a: number) => any;
441
446
  readonly op_get_proximity_stream: (a: number) => any;
442
447
  readonly op_get_received_friend_requests: (a: number) => any;
443
448
  readonly op_get_scene_loading_ui_stream: (a: number) => any;
@@ -476,6 +481,7 @@ export interface InitOutput {
476
481
  readonly op_read_hover_stream: (a: number, b: number) => any;
477
482
  readonly op_read_permission_request_stream: (a: number, b: number) => any;
478
483
  readonly op_read_permission_used_stream: (a: number, b: number) => any;
484
+ readonly op_read_profile_changed_stream: (a: number, b: number) => any;
479
485
  readonly op_read_proximity_stream: (a: number, b: number) => any;
480
486
  readonly op_read_scene_loading_ui_stream: (a: number, b: number) => any;
481
487
  readonly op_read_system_action_stream: (a: number, b: number) => any;
@@ -957,6 +957,16 @@ export function op_get_previous_login(state) {
957
957
  return ret;
958
958
  }
959
959
 
960
+ /**
961
+ * @param {WorkerContext} state
962
+ * @returns {Promise<number>}
963
+ */
964
+ export function op_get_profile_changed_stream(state) {
965
+ _assertClass(state, WorkerContext);
966
+ const ret = wasm.op_get_profile_changed_stream(state.__wbg_ptr);
967
+ return ret;
968
+ }
969
+
960
970
  /**
961
971
  * @param {WorkerContext} state
962
972
  * @returns {Promise<number>}
@@ -1376,6 +1386,17 @@ export function op_read_permission_used_stream(state, rid) {
1376
1386
  return ret;
1377
1387
  }
1378
1388
 
1389
+ /**
1390
+ * @param {WorkerContext} state
1391
+ * @param {number} rid
1392
+ * @returns {Promise<any>}
1393
+ */
1394
+ export function op_read_profile_changed_stream(state, rid) {
1395
+ _assertClass(state, WorkerContext);
1396
+ const ret = wasm.op_read_profile_changed_stream(state.__wbg_ptr, rid);
1397
+ return ret;
1398
+ }
1399
+
1379
1400
  /**
1380
1401
  * @param {WorkerContext} state
1381
1402
  * @param {number} rid
@@ -4959,37 +4980,37 @@ function __wbg_get_imports(memory) {
4959
4980
  return ret;
4960
4981
  },
4961
4982
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4962
- // Cast intrinsic for `Closure(Closure { dtor_idx: 139210, function: Function { arguments: [Externref], shim_idx: 139211, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4983
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 139240, function: Function { arguments: [Externref], shim_idx: 139241, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4963
4984
  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_);
4964
4985
  return ret;
4965
4986
  },
4966
4987
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
4967
- // Cast intrinsic for `Closure(Closure { dtor_idx: 139210, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 139211, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4988
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 139240, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 139241, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4968
4989
  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);
4969
4990
  return ret;
4970
4991
  },
4971
4992
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
4972
- // Cast intrinsic for `Closure(Closure { dtor_idx: 146488, function: Function { arguments: [Externref], shim_idx: 146489, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4993
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 146518, function: Function { arguments: [Externref], shim_idx: 146519, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4973
4994
  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_);
4974
4995
  return ret;
4975
4996
  },
4976
4997
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
4977
- // Cast intrinsic for `Closure(Closure { dtor_idx: 147738, function: Function { arguments: [], shim_idx: 147739, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4998
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 147768, function: Function { arguments: [], shim_idx: 147769, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4978
4999
  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__4_);
4979
5000
  return ret;
4980
5001
  },
4981
5002
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
4982
- // Cast intrinsic for `Closure(Closure { dtor_idx: 153563, function: Function { arguments: [], shim_idx: 153564, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5003
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 153593, function: Function { arguments: [], shim_idx: 153594, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4983
5004
  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_);
4984
5005
  return ret;
4985
5006
  },
4986
5007
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
4987
- // Cast intrinsic for `Closure(Closure { dtor_idx: 154595, function: Function { arguments: [Externref], shim_idx: 154596, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5008
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 154625, function: Function { arguments: [Externref], shim_idx: 154626, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4988
5009
  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_);
4989
5010
  return ret;
4990
5011
  },
4991
5012
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
4992
- // Cast intrinsic for `Closure(Closure { dtor_idx: 154595, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 154598, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5013
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 154625, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 154628, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4993
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___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_MessageEvent__MessageEvent______true_);
4994
5015
  return ret;
4995
5016
  },
@@ -4999,107 +5020,107 @@ function __wbg_get_imports(memory) {
4999
5020
  return ret;
5000
5021
  },
5001
5022
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
5002
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65643, function: Function { arguments: [Externref], shim_idx: 65644, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5023
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65653, function: Function { arguments: [Externref], shim_idx: 65654, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5003
5024
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_be22162ee619fca6___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_);
5004
5025
  return ret;
5005
5026
  },
5006
5027
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
5007
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65643, function: Function { arguments: [Externref], shim_idx: 65646, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5028
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65653, function: Function { arguments: [Externref], shim_idx: 65656, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5008
5029
  const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_be22162ee619fca6___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_be22162ee619fca6___livekit__web__room_event__RoomEvent______true_);
5009
5030
  return ret;
5010
5031
  },
5011
5032
  __wbindgen_cast_000000000000000b: function(arg0, arg1) {
5012
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65643, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx: 65644, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5033
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65653, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx: 65654, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5013
5034
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_be22162ee619fca6___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true__10);
5014
5035
  return ret;
5015
5036
  },
5016
5037
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
5017
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65643, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 65644, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5038
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65653, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 65654, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5018
5039
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_be22162ee619fca6___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true__11);
5019
5040
  return ret;
5020
5041
  },
5021
5042
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
5022
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68613, function: Function { arguments: [F64, Externref], shim_idx: 68614, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5043
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68643, function: Function { arguments: [F64, Externref], shim_idx: 68644, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5023
5044
  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_);
5024
5045
  return ret;
5025
5046
  },
5026
5047
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
5027
- // Cast intrinsic for `Closure(Closure { dtor_idx: 69917, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 69918, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5048
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 69947, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 69948, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5028
5049
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true__1_);
5029
5050
  return ret;
5030
5051
  },
5031
5052
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
5032
- // Cast intrinsic for `Closure(Closure { dtor_idx: 74770, function: Function { arguments: [], shim_idx: 74771, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5053
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 74800, function: Function { arguments: [], shim_idx: 74801, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5033
5054
  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_);
5034
5055
  return ret;
5035
5056
  },
5036
5057
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
5037
- // Cast intrinsic for `Closure(Closure { dtor_idx: 75122, function: Function { arguments: [], shim_idx: 75123, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5058
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75152, function: Function { arguments: [], shim_idx: 75153, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5038
5059
  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_);
5039
5060
  return ret;
5040
5061
  },
5041
5062
  __wbindgen_cast_0000000000000011: function(arg0, arg1) {
5042
- // Cast intrinsic for `Closure(Closure { dtor_idx: 75158, function: Function { arguments: [Externref], shim_idx: 75159, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5063
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75188, function: Function { arguments: [Externref], shim_idx: 75189, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5043
5064
  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_);
5044
5065
  return ret;
5045
5066
  },
5046
5067
  __wbindgen_cast_0000000000000012: function(arg0, arg1) {
5047
- // Cast intrinsic for `Closure(Closure { dtor_idx: 75207, function: Function { arguments: [], shim_idx: 75208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5068
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75237, function: Function { arguments: [], shim_idx: 75238, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5048
5069
  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_);
5049
5070
  return ret;
5050
5071
  },
5051
5072
  __wbindgen_cast_0000000000000013: function(arg0, arg1) {
5052
- // Cast intrinsic for `Closure(Closure { dtor_idx: 75213, function: Function { arguments: [Externref], shim_idx: 75214, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5073
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75243, function: Function { arguments: [Externref], shim_idx: 75244, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5053
5074
  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_);
5054
5075
  return ret;
5055
5076
  },
5056
5077
  __wbindgen_cast_0000000000000014: function(arg0, arg1) {
5057
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [Externref], shim_idx: 77110, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5078
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [Externref], shim_idx: 77140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5058
5079
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2_);
5059
5080
  return ret;
5060
5081
  },
5061
5082
  __wbindgen_cast_0000000000000015: function(arg0, arg1) {
5062
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 77117, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5083
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 77147, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5063
5084
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___js_sys_342d9548e43f4e8___Array__web_sys_a9f755c046d487e8___features__gen_ResizeObserver__ResizeObserver______true_);
5064
5085
  return ret;
5065
5086
  },
5066
5087
  __wbindgen_cast_0000000000000016: function(arg0, arg1) {
5067
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 77110, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5088
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 77140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5068
5089
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__21);
5069
5090
  return ret;
5070
5091
  },
5071
5092
  __wbindgen_cast_0000000000000017: function(arg0, arg1) {
5072
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [NamedExternref("Event")], shim_idx: 77110, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5093
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [NamedExternref("Event")], shim_idx: 77140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5073
5094
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__22);
5074
5095
  return ret;
5075
5096
  },
5076
5097
  __wbindgen_cast_0000000000000018: function(arg0, arg1) {
5077
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 77110, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5098
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 77140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5078
5099
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__23);
5079
5100
  return ret;
5080
5101
  },
5081
5102
  __wbindgen_cast_0000000000000019: function(arg0, arg1) {
5082
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 77110, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5103
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 77140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5083
5104
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__24);
5084
5105
  return ret;
5085
5106
  },
5086
5107
  __wbindgen_cast_000000000000001a: function(arg0, arg1) {
5087
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 77110, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5108
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 77140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5088
5109
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__25);
5089
5110
  return ret;
5090
5111
  },
5091
5112
  __wbindgen_cast_000000000000001b: function(arg0, arg1) {
5092
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 77110, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5113
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 77140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5093
5114
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__26);
5094
5115
  return ret;
5095
5116
  },
5096
5117
  __wbindgen_cast_000000000000001c: function(arg0, arg1) {
5097
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 77110, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5118
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 77140, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5098
5119
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__27);
5099
5120
  return ret;
5100
5121
  },
5101
5122
  __wbindgen_cast_000000000000001d: function(arg0, arg1) {
5102
- // Cast intrinsic for `Closure(Closure { dtor_idx: 77109, function: Function { arguments: [], shim_idx: 77125, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5123
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 77139, function: Function { arguments: [], shim_idx: 77155, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5103
5124
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__3_);
5104
5125
  return ret;
5105
5126
  },
Binary file
@@ -55,6 +55,7 @@ export const op_get_platform: (a: number) => [number, number];
55
55
  export const op_get_player_data: (a: number, b: number, c: number) => any;
56
56
  export const op_get_players_in_scene: (a: number) => any;
57
57
  export const op_get_previous_login: (a: number) => any;
58
+ export const op_get_profile_changed_stream: (a: number) => any;
58
59
  export const op_get_proximity_stream: (a: number) => any;
59
60
  export const op_get_received_friend_requests: (a: number) => any;
60
61
  export const op_get_scene_loading_ui_stream: (a: number) => any;
@@ -93,6 +94,7 @@ export const op_read_friendship_event_stream: (a: number, b: number) => any;
93
94
  export const op_read_hover_stream: (a: number, b: number) => any;
94
95
  export const op_read_permission_request_stream: (a: number, b: number) => any;
95
96
  export const op_read_permission_used_stream: (a: number, b: number) => any;
97
+ export const op_read_profile_changed_stream: (a: number, b: number) => any;
96
98
  export const op_read_proximity_stream: (a: number, b: number) => any;
97
99
  export const op_read_scene_loading_ui_stream: (a: number, b: number) => any;
98
100
  export const op_read_system_action_stream: (a: number, b: number) => any;
package/index.html CHANGED
@@ -10,12 +10,12 @@
10
10
  />
11
11
  <meta name="theme-color" content="#2c1442" />
12
12
  <!-- Favicons (same art as the engine page's set). Vite rebases these for the CDN base. -->
13
- <link rel="icon" type="image/png" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/favicon/favicon-96x96.png" sizes="96x96" />
14
- <link rel="icon" type="image/svg+xml" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/favicon/favicon.svg" />
15
- <link rel="shortcut icon" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/favicon/favicon.ico" />
16
- <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/favicon/apple-touch-icon.png" />
13
+ <link rel="icon" type="image/png" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/favicon/favicon-96x96.png" sizes="96x96" />
14
+ <link rel="icon" type="image/svg+xml" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/favicon/favicon.svg" />
15
+ <link rel="shortcut icon" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/favicon/favicon.ico" />
16
+ <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/favicon/apple-touch-icon.png" />
17
17
  <meta name="apple-mobile-web-app-title" content="Decentraland Web" />
18
- <link rel="manifest" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/favicon/site.webmanifest" />
18
+ <link rel="manifest" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/favicon/site.webmanifest" />
19
19
  <!-- Social cards -->
20
20
  <meta property="og:title" content="Decentraland" />
21
21
  <meta property="og:description" content="Explore a social virtual world from your browser." />
@@ -23,7 +23,7 @@
23
23
  <meta name="twitter:card" content="summary" />
24
24
  <!-- The loading overlay's full-screen backdrop (1.7MB). Prefetch it during the login screen
25
25
  (low priority, won't fight first paint) so it's cached before we enter and freeze. -->
26
- <link rel="prefetch" as="image" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/login/gradient-background.webp" />
26
+ <link rel="prefetch" as="image" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/login/gradient-background.webp" />
27
27
  <style>
28
28
  /* Instant branded first paint. The JS bundle + React mount take a moment (longer over a slow
29
29
  tunnel/network) and #root is empty until then — without this the page flashes white. This
@@ -71,16 +71,16 @@
71
71
  }
72
72
  }
73
73
  </style>
74
- <script type="module" crossorigin src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/index-BjlxMXvy.js"></script>
75
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/rolldown-runtime-D9-fqq9M.js">
76
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/design-C3MV3Rzu.js">
77
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/vendor-DIfqQOai.js">
78
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/menus-CBrYEJUg.js">
79
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/emoji-DrfHOLaz.js">
80
- <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/design-Cst4UaAD.css">
81
- <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/vendor-B3vbuu6u.css">
82
- <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/menus-5qt_f1rg.css">
83
- <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/index-BzmM9aCc.css">
74
+ <script type="module" crossorigin src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/index-CDbflo3B.js"></script>
75
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/rolldown-runtime-D9-fqq9M.js">
76
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/design-BDhpdwuN.js">
77
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/vendor-Cpdw0P4O.js">
78
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/menus-D6WfTyFl.js">
79
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/emoji-DrfHOLaz.js">
80
+ <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/design-Cst4UaAD.css">
81
+ <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/vendor-U-32Xe0e.css">
82
+ <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/menus-5qt_f1rg.css">
83
+ <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/index-BGHmZMCW.css">
84
84
  </head>
85
85
  <body>
86
86
  <!-- React HUD mounts here; the engine runs in a same-origin iframe rendered
@@ -88,7 +88,7 @@
88
88
  pre-React branded splash; createRoot() clears it on mount. -->
89
89
  <div id="root">
90
90
  <div id="boot-splash">
91
- <img src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34587643134.commit-48233ea/assets/logo.png" alt="" />
91
+ <img src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33/assets/logo.png" alt="" />
92
92
  <h1>Decentraland</h1>
93
93
  </div>
94
94
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl-regenesislabs/bevy-explorer-web",
3
- "version": "0.1.0-34587643134.commit-48233ea",
3
+ "version": "0.1.0-34588802179.commit-3926f33",
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-34587643134.commit-48233ea",
12
- "commit": "48233ea366ce2fc6442e884b1db47ddc9489efa8"
11
+ "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-34588802179.commit-3926f33",
12
+ "commit": "3926f331b725c70508558108379dd11c35bcb7d5"
13
13
  }
@@ -1 +0,0 @@
1
- import{$ as e,B as t,D as n,F as r,G as i,H as a,J as o,K as s,N as c,P as l,Q as u,U as d,V as f,W as p,X as m,Y as h,Z as g,b as _,d as v,f as y,g as b,q as x,t as S,x as C,z as w}from"./design-C3MV3Rzu.js";import{M as T}from"./menus-CBrYEJUg.js";import{i as E,n as D,r as O,t as k}from"./index-BjlxMXvy.js";var A=e(),j=u(),M=[`base`,`common`,`uncommon`,`rare`,`epic`,`legendary`,`mythic`,`unique`,`exotic`],N=T(`urn:decentraland:off-chain:base-emotes:raisehand`),P=[{icon:`profile`,label:`Profile`},{icon:`notifications`,label:`Notifications`},{icon:`map`,label:`Map`},{icon:`communities`,label:`Communities`},{icon:`backpack`,label:`Backpack`},{icon:`settings`,label:`Settings`},{icon:`mic`,label:`Voice chat`},{icon:`friends`,label:`Friends`},{icon:`chat`,label:`Chat`},{icon:`emotes`,label:`Emotes`},{icon:`help`,label:`Help`}],F=[{name:`Ruby`,hex:`#ff2d55`,token:`--brand`},{name:`Snow`,hex:`#fcfcfc`,token:`--text`,dark:!0},{name:`Shadow`,hex:`#161518`,token:`--panel`},{name:`Yellow`,hex:`#ffc95b`,token:`--gold`,dark:!0},{name:`Pearl`,hex:`#ecebed`,token:`--pearl`,dark:!0},{name:`Green`,hex:`#30cd00`,token:`--green`,dark:!0},{name:`Lavender`,hex:`#c640cd`,token:`--lavender`},{name:`Purple`,hex:`#982de2`,token:`--purple`},{name:`Red`,hex:`#ff0000`,token:`--red`}],I=[{name:`Common`,hex:`#73d3d3`},{name:`Common Light`,hex:`#acf8f8`},{name:`Uncommon`,hex:`#ff8362`},{name:`Epic Light`,hex:`#81e1ff`},{name:`Legendary`,hex:`#a14bf3`},{name:`Legendary Light`,hex:`#e8b9ff`},{name:`Mythic`,hex:`#ff4bed`},{name:`Unique`,hex:`#fea217`},{name:`Exotic`,hex:`#caff73`},{name:`Orange`,hex:`#ff7439`},{name:`Melon`,hex:`#ffa25a`},{name:`Periwinkle`,hex:`#a0abff`}],L=[{name:`Display`,token:`--fs-display`,weight:800},{name:`Title`,token:`--fs-title`,weight:700},{name:`Large`,token:`--fs-lg`,weight:600},{name:`Body (md)`,token:`--fs-md`,weight:500},{name:`Small`,token:`--fs-sm`,weight:400},{name:`XSmall`,token:`--fs-xs`,weight:400}],R=[{name:`control`,token:`--r-control`},{name:`card`,token:`--r-card`},{name:`panel`,token:`--r-panel`},{name:`pill`,token:`--r-pill`}],z={height:`100%`,overflowY:`auto`,padding:40,display:`flex`,flexDirection:`column`,gap:36,background:`#0e0d10`,color:`var(--text)`,fontFamily:`var(--font-family)`},B={display:`flex`,gap:12,alignItems:`center`,flexWrap:`wrap`},V={display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(132px, 1fr))`,gap:12},H={fontSize:`var(--fs-xs)`,textTransform:`uppercase`,letterSpacing:`.08em`,color:`var(--ink-45)`,margin:`0 0 14px`};function U({title:e,children:t}){return(0,j.jsxs)(`section`,{children:[(0,j.jsx)(`p`,{style:H,children:e}),t]})}function W({name:e,hex:t,token:n,dark:r}){return(0,j.jsxs)(`div`,{style:{borderRadius:`var(--r-card)`,overflow:`hidden`,border:`1px solid var(--white-10)`},children:[(0,j.jsx)(`div`,{style:{background:t,height:64,display:`flex`,alignItems:`flex-end`,padding:8,color:r?`#161518`:`#fcfcfc`,fontSize:11,fontWeight:700},children:t.toUpperCase()}),(0,j.jsxs)(`div`,{style:{padding:`8px 10px`,background:`var(--fill-2)`},children:[(0,j.jsx)(`div`,{style:{fontSize:13,fontWeight:600},children:e}),n&&(0,j.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:n})]})]})}function G(){let[e,u]=(0,A.useState)(!0),[T,H]=(0,A.useState)(60),[G,K]=(0,A.useState)(`1080`),[q,J]=(0,A.useState)(`robtfm`),[Y,X]=(0,A.useState)(``),[Z,Q]=(0,A.useState)(`2003-02-01`),[$,ee]=(0,A.useState)(`wearables`),[te,ne]=(0,A.useState)(`friends`);return(0,j.jsxs)(`div`,{style:z,children:[(0,j.jsx)(b,{}),(0,j.jsx)(`h1`,{style:{margin:0,fontSize:`var(--fs-title)`},children:`Design system · Explorer 2.0`}),(0,j.jsx)(U,{title:`Palette (tokens)`,children:(0,j.jsx)(`div`,{style:V,children:F.map(e=>(0,j.jsx)(W,{...e},e.name))})}),(0,j.jsx)(U,{title:`Rarity name colors`,children:(0,j.jsx)(`div`,{style:V,children:I.map(e=>(0,j.jsx)(W,{...e,dark:!0},e.name))})}),(0,j.jsx)(U,{title:`Typography (Inter)`,children:(0,j.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:10},children:L.map(e=>(0,j.jsxs)(`div`,{style:{display:`flex`,alignItems:`baseline`,gap:16},children:[(0,j.jsx)(`span`,{style:{width:96,fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:e.token}),(0,j.jsxs)(`span`,{style:{fontSize:`var(${e.token})`,fontWeight:e.weight},children:[e.name,` — Decentraland`]})]},e.name))})}),(0,j.jsx)(U,{title:`Radii`,children:(0,j.jsx)(`div`,{style:B,children:R.map(e=>(0,j.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,j.jsx)(`div`,{style:{width:72,height:72,background:`var(--fill-4)`,borderRadius:`var(${e.token})`,border:`1px solid var(--white-10)`}}),(0,j.jsx)(`div`,{style:{fontSize:11,marginTop:6},children:e.name}),(0,j.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:e.token})]},e.name))})}),(0,j.jsxs)(U,{title:`Button`,children:[(0,j.jsxs)(`div`,{style:B,children:[(0,j.jsx)(g,{children:`Primary`}),(0,j.jsx)(g,{variant:`secondary`,children:`Secondary`}),(0,j.jsx)(g,{variant:`ghost`,children:`Ghost`}),(0,j.jsx)(g,{disabled:!0,children:`Disabled`})]}),(0,j.jsxs)(`div`,{style:{...B,marginTop:12},children:[(0,j.jsx)(g,{size:`sm`,children:`Small`}),(0,j.jsx)(g,{size:`md`,children:`Medium`}),(0,j.jsx)(g,{size:`lg`,children:`Large`})]})]}),(0,j.jsx)(U,{title:`Dialogs (imperative popup layer — showDialog / showConfirm)`,children:(0,j.jsxs)(`div`,{style:B,children:[(0,j.jsx)(g,{variant:`secondary`,onClick:()=>{_({title:`Block Pablo?`,body:`Blocked users won't be able to message you, join your community events, or see when you're online.`,confirmLabel:`Block`})},children:`Confirm`}),(0,j.jsx)(g,{variant:`secondary`,onClick:()=>{C({title:`Report submitted`,body:`Thanks — our moderators will review this report.`,actions:[{id:`ok`,label:`OK`,variant:`primary`}]})},children:`Alert`}),(0,j.jsx)(g,{variant:`secondary`,onClick:()=>{C({title:`Unsaved changes`,body:`You have unsaved changes to your avatar.`,width:520,actions:[{id:`cancel`,label:`Cancel`,variant:`ghost`},{id:`discard`,label:`Discard`,variant:`secondary`},{id:`save`,label:`Save`,variant:`primary`}]})},children:`Custom actions`})]})}),(0,j.jsx)(U,{title:`Tooltip (hover the chips)`,children:(0,j.jsxs)(`div`,{style:{...B,gap:16},children:[(0,j.jsx)(h,{label:`Friends`,shortcut:`L`,children:(0,j.jsx)(`span`,{style:{padding:`8px 14px`,borderRadius:10,background:`var(--fill-4)`},children:`right`})}),(0,j.jsx)(h,{label:`Settings`,shortcut:`P`,side:`top`,children:(0,j.jsx)(`span`,{style:{padding:`8px 14px`,borderRadius:10,background:`var(--fill-4)`},children:`top`})})]})}),(0,j.jsx)(U,{title:`ControlButton`,children:(0,j.jsxs)(`div`,{style:B,children:[(0,j.jsx)(x,{"aria-label":`ghost square`,children:`✕`}),(0,j.jsx)(x,{variant:`solid`,"aria-label":`solid square`,children:`✕`}),(0,j.jsx)(x,{shape:`circle`,"aria-label":`circle`,children:`+`}),(0,j.jsx)(x,{shape:`pill`,children:`+ Pill`}),(0,j.jsx)(x,{active:!0,"aria-label":`active`,children:`✓`}),(0,j.jsx)(x,{size:`sm`,"aria-label":`small`,children:`✕`})]})}),(0,j.jsx)(U,{title:`Tabs (pill · underline — arrows/Home/End move the selection)`,children:(0,j.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:20,maxWidth:420},children:[(0,j.jsx)(n,{"aria-label":`Pill example`,value:$,onChange:ee,items:[{id:`wearables`,label:`Wearables`,icon:(0,j.jsx)(S,{size:14})},{id:`emotes`,label:`Emotes`},{id:`outfits`,label:`Outfits`,iconAfter:(0,j.jsx)(y,{size:14})}]}),(0,j.jsx)(n,{variant:`underline`,"aria-label":`Underline example`,value:te,onChange:ne,items:[{id:`friends`,label:`Friends`,icon:(0,j.jsx)(v,{size:14})},{id:`requests`,label:`Requests`,badge:3},{id:`blocked`,label:`Blocked`,disabled:!0}]})]})}),(0,j.jsx)(U,{title:`Form controls`,children:(0,j.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,maxWidth:320},children:[(0,j.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,j.jsx)(`span`,{style:{fontSize:14},children:`Fullscreen`}),(0,j.jsx)(s,{checked:e,onChange:u,"aria-label":`Fullscreen`})]}),(0,j.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,j.jsx)(`span`,{style:{fontSize:14,width:60},children:`Volume`}),(0,j.jsx)(i,{value:T,onChange:H,"aria-label":`Volume`}),(0,j.jsx)(`span`,{style:{fontSize:13,color:`var(--ink-45)`,width:32},children:T})]}),(0,j.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,j.jsx)(`span`,{style:{fontSize:14},children:`Display name`}),(0,j.jsx)(r,{value:q,onChange:J,placeholder:`Your name`,maxLength:15}),(0,j.jsx)(r,{value:q,onChange:J,variant:`light`,placeholder:`light variant`,maxLength:15}),(0,j.jsx)(r,{value:`not-a-url`,onChange:()=>{},invalid:!0,"aria-label":`Invalid example`})]}),(0,j.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,j.jsx)(`span`,{style:{fontSize:14},children:`About me`}),(0,j.jsx)(c,{value:Y,onChange:X,placeholder:`Tell people about yourself`,maxLength:400,counter:!0})]}),(0,j.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,j.jsx)(`span`,{style:{fontSize:14},children:`Birth date (no native picker — see DateField)`}),(0,j.jsx)(l,{label:`Birth date`,value:Z,onChange:Q})]}),(0,j.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,j.jsx)(`span`,{style:{fontSize:14},children:`Resolution`}),(0,j.jsx)(p,{value:G,onChange:K,"aria-label":`Resolution`,options:[{value:`720`,label:`1280 × 720`},{value:`1080`,label:`1920 × 1080`},{value:`1440`,label:`2560 × 1440`}]})]})]})}),(0,j.jsx)(U,{title:`Emote Wheel Slot (Figma 10386-4701)`,children:(0,j.jsxs)(`div`,{style:{display:`flex`,gap:24,alignItems:`flex-start`,flexWrap:`wrap`,padding:16,background:`#3a3550`,borderRadius:12},children:[(0,j.jsx)(k,{thumbnail:N,rarity:`legendary`,width:220}),(0,j.jsx)(`div`,{style:{display:`flex`,gap:12,flexWrap:`wrap`},children:M.map(e=>(0,j.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,j.jsx)(k,{thumbnail:N,rarity:e,width:96}),(0,j.jsx)(`div`,{style:{fontSize:11,color:`var(--ink-7)`,marginTop:4,textTransform:`capitalize`},children:e})]},e))})]})}),(0,j.jsx)(U,{title:`DPI · HUD scale (Unity CanvasScaler)`,children:(0,j.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:14,maxWidth:560},children:[(0,j.jsxs)(`p`,{style:{fontSize:13,color:`var(--ink-7)`,margin:0,lineHeight:1.5},children:[`The HUD scales with viewport height against a 1080 reference, clamped 0.6–1.3 — the same curve as Unity's “Scale With Screen Size”. `,(0,j.jsx)(`code`,{children:`innerHeight`}),` is logical px (device px ÷ DPR), so a Retina panel scales identically to Unity on the same display.`]}),(0,j.jsx)(`div`,{style:{display:`flex`,gap:20,flexWrap:`wrap`},children:[`720`,`900`,`1080`,`1440`].map(e=>{let t=Math.min(1.3,Math.max(.6,Number(e)/1080)),n=e===G;return(0,j.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,j.jsxs)(`div`,{style:{fontSize:12,color:n?`var(--text)`:`var(--ink-45)`,marginBottom:6,fontFamily:`var(--font-mono)`},children:[e,`p → ×`,t.toFixed(3)]}),(0,j.jsx)(`div`,{style:{width:132,height:84,display:`flex`,alignItems:`flex-start`},children:(0,j.jsx)(`div`,{style:{width:100,padding:`8px 10px`,borderRadius:10,background:`var(--fill-4)`,border:n?`1px solid var(--brand)`:`1px solid var(--white-10)`,transform:`scale(${t})`,transformOrigin:`top left`,fontSize:13,fontWeight:600},children:`HUD card`})})]},e)})}),(0,j.jsxs)(`div`,{style:{fontSize:12,color:`var(--ink-45)`,fontFamily:`var(--font-mono)`},children:[`Live viewport: `,window.innerHeight,`px → ×`,Math.min(1.3,Math.max(.6,window.innerHeight/1080)).toFixed(3)]})]})}),(0,j.jsx)(U,{title:`IconButton (sidebar rail)`,children:(0,j.jsx)(d,{style:{width:60,padding:8,display:`flex`,flexDirection:`column`,gap:4},children:P.map((e,t)=>(0,j.jsx)(o,{icon:e.icon,label:e.label,active:t===8,badge:t===1?3:void 0},e.icon))})}),(0,j.jsx)(U,{title:`Panel`,children:(0,j.jsxs)(d,{style:{padding:18,maxWidth:360},children:[(0,j.jsx)(`div`,{style:{fontWeight:700,marginBottom:6},children:`Genesis Plaza`}),(0,j.jsx)(`div`,{style:{color:`var(--ink-7)`,fontSize:`var(--fs-sm)`},children:`A surface for HUD widgets and menus.`})]})}),(0,j.jsx)(U,{title:`Brand`,children:(0,j.jsxs)(`div`,{style:{...B,gap:16},children:[(0,j.jsx)(w,{size:24}),(0,j.jsx)(w,{size:32}),(0,j.jsx)(w,{size:48})]})}),(0,j.jsx)(U,{title:`Avatar`,children:(0,j.jsxs)(`div`,{style:{...B,gap:16},children:[(0,j.jsx)(a,{name:`Mojito`,color:`#73d3d3`,size:28}),(0,j.jsx)(a,{name:`Pravus`,color:`#ff4bed`,size:40,status:`online`}),(0,j.jsx)(a,{name:`Mojito`,size:40,status:`online`,src:`https://profile-images.decentraland.org/entities/bafkreid5btlh76opew65hxu6dtkdo6ybqhymdof6vrrmjy2p5a74oy4huq/face.png`}),(0,j.jsx)(a,{name:`Away`,color:`#a0abff`,size:40,status:`away`})]})}),(0,j.jsx)(U,{title:`WearableCard (backpack)`,children:(0,j.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, 84px)`,gap:10},children:[`common`,`uncommon`,`rare`,`epic`,`legendary`,`mythic`,`unique`,`exotic`,`base`].map((e,t)=>(0,j.jsx)(`div`,{style:{width:84},children:(0,j.jsx)(f,{rarity:e,equipped:t===4,isNew:t===1,count:t===7?2:void 0})},e))})}),(0,j.jsx)(U,{title:`EquippedItemCard (passport)`,children:(0,j.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(6, 108px)`,gap:12},children:[`common`,`uncommon`,`rare`,`epic`,`legendary`,`mythic`,`unique`,`exotic`,`base`].map((e,n)=>(0,j.jsx)(t,{name:`${e[0].toUpperCase()}${e.slice(1)} Item`,rarity:e,shopUrl:n%2==0?`https://decentraland.org/shop/item/0xa42e166edac870aa5351b098ae6458d39ca0fca6/0`:void 0,categoryIcon:(0,j.jsx)(m,{name:`emotes`,size:15})},e))})}),(0,j.jsx)(U,{title:`Chat components`,children:(0,j.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,alignItems:`flex-start`},children:[(0,j.jsxs)(`div`,{style:{width:300,display:`flex`,flexDirection:`column`,gap:8,padding:12,background:`rgba(19,19,19,0.6)`,borderRadius:14},children:[(0,j.jsx)(O,{ts:Date.now()}),(0,j.jsx)(D,{line:{id:1,sender:`0x5854cce95d5e25817b41f4c41f06b695a83bc495`,message:`gm everyone 👋 welcome to the plaza`,channel:`Nearby`,ts:Date.now()},name:`Mojito`}),(0,j.jsx)(D,{line:{id:2,sender:`system`,message:`Type /help for available commands.`,channel:`System`,ts:Date.now()},name:`DCL System`})]}),(0,j.jsxs)(`div`,{style:{width:300,display:`flex`,flexDirection:`column`,gap:2,padding:8,background:`rgba(12,11,14,0.97)`,borderRadius:14},children:[(0,j.jsx)(E,{member:{address:`0x5854cce95d5e25817b41f4c41f06b695a83bc495`,name:`Mojito`,picture:`https://profile-images.decentraland.org/entities/bafkreid5btlh76opew65hxu6dtkdo6ybqhymdof6vrrmjy2p5a74oy4huq/face.png`}}),(0,j.jsx)(E,{member:{address:`0x6723dcb07f3ca735223cd1c0acfa62dd994a1bb4`,name:`Sharknado#a1b2`}}),(0,j.jsx)(E,{member:{address:`0x1e105bb213754519903788022b962fe2b9c4b263`,name:`Pravus`}})]})]})})]})}export{G as Showcase};