@pepperdash/mobile-control-react-app-core 1.22.9 → 1.22.11-socket-connection-issues.1

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,12 +1,12 @@
1
1
  var w2 = Object.defineProperty;
2
2
  var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
3
  var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
4
- import x3, { AxiosError as p2 } from "axios";
4
+ import M3, { AxiosError as p2 } from "axios";
5
5
  import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
6
- import { createSelector as M, createSlice as a1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
7
- import Z3, { createContext as C2, useEffect as x1, useCallback as c1, useContext as b2, useRef as M1, useMemo as n1, useState as z, useLayoutEffect as S3 } from "react";
6
+ import { createSelector as M, createSlice as u1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
7
+ import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as M1, useMemo as n1, useState as Y, useLayoutEffect as Z3 } from "react";
8
8
  import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
9
- import * as j3 from "lodash";
9
+ import * as S3 from "lodash";
10
10
  const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
11
11
  Z1,
12
12
  (e) => e.config
@@ -19,13 +19,13 @@ const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
19
19
  ), _2 = M(
20
20
  Z1,
21
21
  (e) => e.config.partnerMetadata
22
- ), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), C3 = (e) => e.devices, b3 = M(
23
- C3,
22
+ ), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
23
+ j3,
24
24
  (e) => e
25
25
  ), P2 = (e) => M(
26
- C3,
26
+ j3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), t6 = () => m(b3);
28
+ ), t6 = () => m(C3);
29
29
  function _(e) {
30
30
  return m(P2(e));
31
31
  }
@@ -134,7 +134,7 @@ const A = (e) => e.rooms, L2 = (e) => M(
134
134
  ), ee = M(
135
135
  [
136
136
  (e, t) => t,
137
- () => b3,
137
+ () => C3,
138
138
  (e, t) => {
139
139
  var o, c;
140
140
  return (c = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations;
@@ -191,19 +191,19 @@ const s6 = S1, c6 = (e) => m(
191
191
  ), de = M(
192
192
  G,
193
193
  (e) => e.touchpanelKey !== ""
194
- ), y3 = M(
194
+ ), b3 = M(
195
195
  G,
196
196
  (e) => e.roomData.deviceInterfaceSupport
197
- ), I3 = (e) => M(
198
- y3,
197
+ ), y3 = (e) => M(
198
+ b3,
199
199
  (t) => {
200
200
  var o;
201
201
  return ((o = t == null ? void 0 : t[e]) == null ? void 0 : o.interfaces) ?? [];
202
202
  }
203
203
  ), ve = (e, t) => M(
204
- I3(e),
204
+ y3(e),
205
205
  (o) => o.includes(t)
206
- ), R3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(y3), T6 = (e) => m(I3(e)), D6 = (e, t) => m(ve(e, t)), N = (e) => e.ui, V1 = (e) => M(N, (t) => t.modalVisibility[e]), he = (e) => M(N, (t) => {
206
+ ), I3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(b3), T6 = (e) => m(y3(e)), D6 = (e, t) => m(ve(e, t)), N = (e) => e.ui, V1 = (e) => M(N, (t) => t.modalVisibility[e]), he = (e) => M(N, (t) => {
207
207
  const o = t.popoverVisibility[e];
208
208
  if (o)
209
209
  return Object.keys(o).find((c) => o[c]);
@@ -225,7 +225,7 @@ const s6 = S1, c6 = (e) => m(
225
225
  },
226
226
  popoverVisibility: {},
227
227
  syncState: []
228
- }, E3 = a1({
228
+ }, R3 = u1({
229
229
  name: "ui",
230
230
  initialState: Se,
231
231
  reducers: {
@@ -271,7 +271,7 @@ const s6 = S1, c6 = (e) => m(
271
271
  e.syncState = [];
272
272
  }
273
273
  }
274
- }), W = E3.actions, je = E3.reducer, Ce = {
274
+ }), O = R3.actions, je = R3.reducer, Ce = {
275
275
  config: {
276
276
  enableDev: !1,
277
277
  apiPath: "",
@@ -281,7 +281,7 @@ const s6 = S1, c6 = (e) => m(
281
281
  loginMode: "",
282
282
  modes: {}
283
283
  }
284
- }, T3 = a1({
284
+ }, E3 = u1({
285
285
  name: "appConfig",
286
286
  initialState: Ce,
287
287
  reducers: {
@@ -289,18 +289,18 @@ const s6 = S1, c6 = (e) => m(
289
289
  e.config = t.payload;
290
290
  }
291
291
  }
292
- }), D3 = T3.actions, be = T3.reducer, h3 = {}, B1 = a1({
292
+ }), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 = u1({
293
293
  name: "devices",
294
- initialState: h3,
294
+ initialState: v3,
295
295
  reducers: {
296
296
  setDeviceState(e, t) {
297
297
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
298
298
  if (!c) return;
299
- const r = t.payload.content, l = e[c] ?? {}, v = j3.merge(l, r);
299
+ const r = t.payload.content, l = e[c] ?? {}, v = S3.merge(l, r);
300
300
  e[c] = v;
301
301
  },
302
302
  clearDevices() {
303
- return h3;
303
+ return v3;
304
304
  }
305
305
  }
306
306
  }), f1 = {
@@ -315,25 +315,25 @@ class Ie {
315
315
  q(this, "expiry", "current-uuid-expires");
316
316
  }
317
317
  }
318
- const g3 = new Ie();
318
+ const h3 = new Ie();
319
319
  function Re(e) {
320
320
  return sessionStorage.getItem(e) || "";
321
321
  }
322
322
  function Ee(e, t) {
323
323
  sessionStorage.setItem(e, t);
324
324
  }
325
- const f3 = {}, k1 = a1({
325
+ const g3 = {}, k1 = u1({
326
326
  name: "rooms",
327
- initialState: f3,
327
+ initialState: g3,
328
328
  reducers: {
329
329
  setRoomState(e, t) {
330
330
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
331
331
  if (!c) return;
332
- const r = t.payload.content, l = e[c] ?? {}, v = j3.merge(l, r);
332
+ const r = t.payload.content, l = e[c] ?? {}, v = S3.merge(l, r);
333
333
  e[c] = v;
334
334
  },
335
335
  clearRooms() {
336
- return f3;
336
+ return g3;
337
337
  }
338
338
  }
339
339
  }), w1 = {
@@ -370,7 +370,7 @@ const f3 = {}, k1 = a1({
370
370
  userCode: "",
371
371
  qrUrl: ""
372
372
  }
373
- }, _3 = a1({
373
+ }, D3 = u1({
374
374
  name: "runtimeConfig",
375
375
  initialState: De,
376
376
  reducers: {
@@ -405,16 +405,16 @@ const f3 = {}, k1 = a1({
405
405
  e.touchpanelKey = t.payload;
406
406
  }
407
407
  }
408
- }), U = _3.actions, _e = _3.reducer, L1 = x3.create(), P3 = "websocket/connect", L3 = "websocket/disconnect", $3 = "websocket/sendMessage", A3 = "websocket/addEventHandler", B3 = "websocket/removeEventHandler", k3 = "websocket/reconnect", O3 = () => ({ type: P3 }), k6 = () => ({ type: L3 }), Pe = (e, t) => ({
409
- type: $3,
408
+ }), U = D3.actions, _e = D3.reducer, L1 = M3.create(), _3 = "websocket/connect", P3 = "websocket/disconnect", L3 = "websocket/sendMessage", $3 = "websocket/addEventHandler", A3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", k3 = () => ({ type: _3 }), k6 = () => ({ type: P3 }), Pe = (e, t) => ({
409
+ type: L3,
410
410
  payload: { messageType: e, content: t }
411
411
  }), Le = (e, t, o) => ({
412
- type: A3,
412
+ type: $3,
413
413
  payload: { eventType: e, key: t, callback: o }
414
414
  }), $e = (e, t) => ({
415
- type: B3,
415
+ type: A3,
416
416
  payload: { eventType: e, key: t }
417
- }), Ae = () => ({ type: k3 }), Be = () => {
417
+ }), Ae = () => ({ type: B3 }), Be = () => {
418
418
  const e = {
419
419
  client: null,
420
420
  token: null,
@@ -423,47 +423,47 @@ const f3 = {}, k1 = a1({
423
423
  eventHandlers: {}
424
424
  }, t = async (a) => {
425
425
  try {
426
- const Z = location.pathname.split("/").filter((b) => b.length > 0);
427
- Z.length >= 5 ? Z.length = 5 : Z.length = 2;
428
- const j = `/${Z.join("/")}`, C = await L1.get(
426
+ const S = location.pathname.split("/").filter((b) => b.length > 0);
427
+ S.length >= 5 ? S.length = 5 : S.length = 2;
428
+ const C = `/${S.join("/")}`, Z = await L1.get(
429
429
  "/_local-config/_config.local.json",
430
- { baseURL: j }
430
+ { baseURL: C }
431
431
  );
432
- if (C.status === 200 && C.data) {
433
- const b = C.data.apiPath;
434
- a(D3.setAppConfig(C.data));
432
+ if (Z.status === 200 && Z.data) {
433
+ const b = Z.data.apiPath;
434
+ a(T3.setAppConfig(Z.data));
435
435
  const x = await L1.get(
436
436
  `${b}/version`
437
437
  );
438
438
  x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
439
439
  }
440
- } catch (Z) {
441
- console.error("Error getting config", Z);
440
+ } catch (S) {
441
+ console.error("Error getting config", S);
442
442
  }
443
443
  return !0;
444
- }, o = async (a, Z, j) => {
444
+ }, o = async (a, S, C) => {
445
445
  try {
446
- const C = await L1.get(
447
- `${a}/ui/joinroom?token=${Z}`
446
+ const Z = await L1.get(
447
+ `${a}/ui/joinroom?token=${S}`
448
448
  );
449
- return C.status === 200 && C.data ? (j(U.setRoomData(C.data)), !0) : !1;
450
- } catch (C) {
451
- return console.log(C), C instanceof p2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), j(
452
- W.setErrorMessage(
453
- `Token ${Z} is invalid. Unable to join room`
449
+ return Z.status === 200 && Z.data ? (C(U.setRoomData(Z.data)), Z.data) : null;
450
+ } catch (Z) {
451
+ return console.log(Z), Z instanceof p2 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
452
+ O.setErrorMessage(
453
+ `Token ${S} is invalid. Unable to join room`
454
454
  )
455
- ), !1) : (console.error("Error getting room data", C), C instanceof Error ? j(W.setErrorMessage(C.message)) : j(W.setErrorMessage("Error getting room data")), !1);
455
+ ), null) : (console.error("Error getting room data", Z), Z instanceof Error ? C(O.setErrorMessage(Z.message)) : C(O.setErrorMessage("Error getting room data")), null);
456
456
  }
457
457
  }, c = (a) => {
458
458
  e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
459
- e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(O3());
459
+ e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(k3());
460
460
  }, 5e3);
461
461
  }, r = () => {
462
462
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
463
463
  }, l = (a) => {
464
- a(W.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(W.clearAllModals()), a(W.clearSyncState());
465
- }, v = (a, Z) => {
466
- const j = a(), C = Z ?? j.runtimeConfig.roomData.roomKey, { clientId: b } = j.runtimeConfig.roomData, x = j.runtimeConfig.websocket.isConnected;
464
+ a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
465
+ }, v = (a, S) => {
466
+ const C = a(), Z = S ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
467
467
  if (!Z || !x || !b) {
468
468
  console.log("WebSocket middleware: Cannot request room status", {
469
469
  hasRoomKey: !!Z,
@@ -472,21 +472,21 @@ const f3 = {}, k1 = a1({
472
472
  });
473
473
  return;
474
474
  }
475
- console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && e.client.send(
475
+ console.log("WebSocket middleware: Requesting status from room:", S), e.client && x && e.client.send(
476
476
  JSON.stringify({
477
- type: `/room/${C}/status`,
477
+ type: `/room/${Z}/status`,
478
478
  clientId: b,
479
479
  content: null
480
480
  })
481
481
  );
482
- }, f = async (a, Z) => {
482
+ }, f = async (a, S) => {
483
483
  console.log("WebSocket middleware: Attempting to connect...");
484
- const j = Z(), { apiPath: C } = j.appConfig.config, { serverIsRunningOnProcessorHardware: b, roomData: x } = j.runtimeConfig;
485
- if (!C || !e.token) {
484
+ const C = S(), { apiPath: Z } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
485
+ if (!Z || !e.token) {
486
486
  console.log(
487
487
  "WebSocket middleware: Cannot connect - missing requirements",
488
488
  {
489
- hasApiPath: !!C,
489
+ hasApiPath: !!Z,
490
490
  hasToken: !!e.token
491
491
  }
492
492
  );
@@ -504,50 +504,51 @@ const f3 = {}, k1 = a1({
504
504
  }
505
505
  e.waitingToReconnect = !0;
506
506
  try {
507
- if (!await o(C, e.token, a)) {
507
+ const x = await o(Z, e.token, a);
508
+ if (!x) {
508
509
  console.log(
509
510
  "WebSocket middleware: Failed to get room data, will retry..."
510
511
  ), c(a);
511
512
  return;
512
513
  }
513
514
  console.log("WebSocket middleware: Connecting to websocket");
514
- const C1 = `${C.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
515
- e.client = K, K.onopen = (k) => {
516
- console.log("WebSocket middleware: Connected", k.type, k.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
515
+ const C1 = `${Z.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
516
+ e.client = K, K.onopen = (B) => {
517
+ console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
517
518
  e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
518
519
  }, 100);
519
- }, K.onerror = (k) => {
520
- console.error("WebSocket middleware: Error", k), l(a);
521
- }, K.onclose = (k) => {
520
+ }, K.onerror = (B) => {
521
+ console.error("WebSocket middleware: Error", B), l(a);
522
+ }, K.onclose = (B) => {
522
523
  var D;
523
524
  if (console.log(
524
525
  "WebSocket middleware: Disconnected",
525
- k.reason,
526
- k.code
527
- ), k.code === 4100) {
526
+ B.reason,
527
+ B.code
528
+ ), B.code === 4100) {
528
529
  console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(a);
529
530
  return;
530
531
  }
531
- if (e.waitingToReconnect = !0, k.code === 4e3) {
532
+ if (e.waitingToReconnect = !0, B.code === 4e3) {
532
533
  console.log("WebSocket middleware: User code changed"), r(), a(
533
534
  U.setUserCode({ userCode: "", qrUrl: "" })
534
535
  ), a(
535
- W.setErrorMessage(
536
+ O.setErrorMessage(
536
537
  "User code changed. Click reconnect to enter the new code"
537
538
  )
538
539
  ), l(a);
539
540
  return;
540
541
  }
541
- if (k.code === 4002) {
542
+ if (B.code === 4002) {
542
543
  console.log("WebSocket middleware: Room combination changed"), r(), a(
543
- W.setErrorMessage(
544
+ O.setErrorMessage(
544
545
  "Room combination changed. Click Reconnect to re-join the room"
545
546
  )
546
547
  ), l(a);
547
548
  return;
548
549
  }
549
- if (k.code === 4001)
550
- if (!!((D = Z().runtimeConfig) != null && D.touchpanelKey))
550
+ if (B.code === 4001)
551
+ if (!!((D = S().runtimeConfig) != null && D.touchpanelKey))
551
552
  console.log(
552
553
  "WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
553
554
  );
@@ -559,7 +560,7 @@ const f3 = {}, k1 = a1({
559
560
  console.log(
560
561
  "WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
561
562
  ), r(), a(
562
- W.setErrorMessage(
563
+ O.setErrorMessage(
563
564
  "Processor has disconnected. Click Reconnect to continue."
564
565
  )
565
566
  ), l(a);
@@ -574,13 +575,13 @@ const f3 = {}, k1 = a1({
574
575
  return;
575
576
  }
576
577
  e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), a(
577
- W.setErrorMessage(
578
+ O.setErrorMessage(
578
579
  "Connection lost. Attempting to reconnect..."
579
580
  )
580
- ), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(W.clearAllModals()), a(W.clearSyncState()), c(a);
581
- }, K.onmessage = (k) => {
581
+ ), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState()), c(a);
582
+ }, K.onmessage = (B) => {
582
583
  try {
583
- const D = JSON.parse(k.data);
584
+ const D = JSON.parse(B.data);
584
585
  if (D.type === "close") {
585
586
  K.close(4001, D.content);
586
587
  return;
@@ -595,7 +596,7 @@ const f3 = {}, k1 = a1({
595
596
  );
596
597
  break;
597
598
  case "/system/roomKey":
598
- a(w1.clearRooms()), a(f1.clearDevices()), a(W.clearSyncState()), a(
599
+ a(w1.clearRooms()), a(f1.clearDevices()), a(O.clearSyncState()), a(
599
600
  U.setCurrentRoomKey(
600
601
  D.content
601
602
  )
@@ -610,10 +611,10 @@ const f3 = {}, k1 = a1({
610
611
  window.location.reload();
611
612
  break;
612
613
  case "/system/deviceInterfaces": {
613
- const Y = D.content;
614
+ const z = D.content;
614
615
  a(
615
616
  U.setDeviceInterfaces(
616
- Y.deviceInterfaces
617
+ z.deviceInterfaces
617
618
  )
618
619
  );
619
620
  break;
@@ -626,13 +627,13 @@ const f3 = {}, k1 = a1({
626
627
  break;
627
628
  }
628
629
  else if (D.type.startsWith("/event/")) {
629
- const Y = e.eventHandlers[D.type];
630
- Y || console.log(
630
+ const z = e.eventHandlers[D.type];
631
+ z || console.log(
631
632
  "WebSocket middleware: No handlers found for event type",
632
633
  D.type
633
- ), Y && Object.values(Y).forEach((u1) => {
634
+ ), z && Object.values(z).forEach((o1) => {
634
635
  try {
635
- u1(D);
636
+ o1(D);
636
637
  } catch (b1) {
637
638
  console.error(
638
639
  "WebSocket middleware: Event handler error",
@@ -645,78 +646,78 @@ const f3 = {}, k1 = a1({
645
646
  console.error("WebSocket middleware: Message handling error", D);
646
647
  }
647
648
  }, e.waitingToReconnect = !1;
648
- } catch (B) {
649
- console.error("WebSocket middleware: Connection error", B), e.waitingToReconnect = !1, e.client = null;
649
+ } catch (x) {
650
+ console.error("WebSocket middleware: Connection error", x), e.waitingToReconnect = !1, e.client = null;
650
651
  }
651
652
  }, h = () => {
652
653
  e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
653
- }, w = (a, Z, j) => {
654
- const C = j(), b = C.runtimeConfig.websocket.isConnected, x = C.runtimeConfig.roomData.clientId;
654
+ }, w = (a, S, C) => {
655
+ const Z = C(), b = Z.runtimeConfig.websocket.isConnected, x = Z.runtimeConfig.roomData.clientId;
655
656
  e.client && b ? e.client.send(
656
- JSON.stringify({ type: a, clientId: x, content: Z })
657
+ JSON.stringify({ type: a, clientId: x, content: S })
657
658
  ) : console.warn("WebSocket middleware: Cannot send message - not connected");
658
- }, d = (a, Z, j) => {
659
- e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = j, console.log("WebSocket middleware: Event handler added", a, Z);
660
- }, P = (a, Z) => {
661
- e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
659
+ }, d = (a, S, C) => {
660
+ e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][S] = C, console.log("WebSocket middleware: Event handler added", a, S);
661
+ }, P = (a, S) => {
662
+ e.eventHandlers[a] && (delete e.eventHandlers[a][S], console.log(
662
663
  "WebSocket middleware: Event handler removed",
663
664
  a,
664
- Z
665
+ S
665
666
  ));
666
667
  }, H = (a) => {
667
- const Z = a(), { gatewayAppPath: j } = Z.appConfig.config, C = Z.runtimeConfig.roomData.roomKey, b = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, B = `${j}?uuid=${b}&roomKey=${C}`;
668
- window.location.href = x ? `${B}&Code=${x}` : B;
668
+ const S = a(), { gatewayAppPath: C } = S.appConfig.config, Z = S.runtimeConfig.roomData.roomKey, b = S.runtimeConfig.roomData.systemUuid, x = S.runtimeConfig.roomData.userCode, W = `${C}?uuid=${b}&roomKey=${Z}`;
669
+ window.location.href = x ? `${W}&Code=${x}` : W;
669
670
  };
670
- return (a) => (Z) => (j) => {
671
- const C = Z(j);
672
- if (!j || typeof j != "object" || !("type" in j))
673
- return C;
674
- const b = j;
671
+ return (a) => (S) => (C) => {
672
+ const Z = S(C);
673
+ if (!C || typeof C != "object" || !("type" in C))
674
+ return Z;
675
+ const b = C;
675
676
  return (async () => {
676
677
  switch (b.type) {
677
- case P3: {
678
- let B = new URLSearchParams(window.location.search).get("token");
679
- B ? (console.log("WebSocket middleware: Saving token"), Ee(g3.uuid, B)) : (B = Re(g3.uuid), console.log("WebSocket middleware: Loading token")), e.token = B, await t(a.dispatch), await f(a.dispatch, a.getState);
678
+ case _3: {
679
+ let W = new URLSearchParams(window.location.search).get("token");
680
+ W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await f(a.dispatch, a.getState);
680
681
  break;
681
682
  }
682
- case L3:
683
+ case P3:
683
684
  h();
684
685
  break;
685
- case $3:
686
+ case L3:
686
687
  w(
687
688
  b.payload.messageType,
688
689
  b.payload.content,
689
690
  a.getState
690
691
  );
691
692
  break;
692
- case A3:
693
+ case $3:
693
694
  d(
694
695
  b.payload.eventType,
695
696
  b.payload.key,
696
697
  b.payload.callback
697
698
  );
698
699
  break;
699
- case B3:
700
+ case A3:
700
701
  P(
701
702
  b.payload.eventType,
702
703
  b.payload.key
703
704
  );
704
705
  break;
705
- case k3:
706
+ case B3:
706
707
  H(a.getState);
707
708
  break;
708
709
  default:
709
- if (j.type === U.setWebsocketIsConnected.type)
710
- j.payload === !0 && (console.log(
710
+ if (C.type === U.setWebsocketIsConnected.type)
711
+ C.payload === !0 && (console.log(
711
712
  "[WebSocket Middleware] Connection established, requesting room status..."
712
713
  ), setTimeout(() => v(a.getState), 100));
713
- else if (j.type === U.setRoomData.type) {
714
- const x = a.getState(), B = j.payload;
715
- x.runtimeConfig.websocket.isConnected && (B != null && B.clientId) && (console.log(
714
+ else if (C.type === U.setRoomData.type) {
715
+ const x = a.getState(), W = C.payload;
716
+ x.runtimeConfig.websocket.isConnected && (W != null && W.clientId) && (console.log(
716
717
  "[WebSocket Middleware] Room data received, requesting room status..."
717
718
  ), setTimeout(() => v(a.getState), 100));
718
- } else if (j.type === U.setCurrentRoomKey.type) {
719
- const x = j.payload;
719
+ } else if (C.type === U.setCurrentRoomKey.type) {
720
+ const x = C.payload;
720
721
  x && (console.log(
721
722
  "[WebSocket Middleware] Room changed to:",
722
723
  x,
@@ -727,7 +728,7 @@ const f3 = {}, k1 = a1({
727
728
  }
728
729
  })().catch((x) => {
729
730
  console.error("WebSocket middleware: Error handling action", x);
730
- }), C;
731
+ }), Z;
731
732
  };
732
733
  }, ke = S2({
733
734
  appConfig: be,
@@ -743,21 +744,21 @@ const f3 = {}, k1 = a1({
743
744
  ignoredActions: ["websocket/addEventHandler"]
744
745
  }
745
746
  }).concat(Be())
746
- }), w3 = x3.create();
747
+ }), f3 = M3.create();
747
748
  function O6() {
748
749
  const e = W1();
749
750
  return async () => {
750
751
  try {
751
752
  const t = location.pathname.split("/").filter((r) => r.length > 0);
752
753
  t.length >= 5 ? t.length = 5 : t.length = 2;
753
- const o = `/${t.join("/")}`, c = await w3.get(
754
+ const o = `/${t.join("/")}`, c = await f3.get(
754
755
  "/_local-config/_config.local.json",
755
756
  { baseURL: o }
756
757
  );
757
758
  if (c.status == 200 && c.data) {
758
759
  const r = c.data.apiPath;
759
- e(D3.setAppConfig(c.data));
760
- const l = await w3.get(
760
+ e(T3.setAppConfig(c.data));
761
+ const l = await f3.get(
761
762
  `${r}/version`
762
763
  );
763
764
  l.status == 200 && l.data && e(U.setRuntimeConfig(l.data));
@@ -768,7 +769,7 @@ function O6() {
768
769
  return !0;
769
770
  };
770
771
  }
771
- var m1 = { exports: {} }, r1 = {};
772
+ var m1 = { exports: {} }, l1 = {};
772
773
  /**
773
774
  * @license React
774
775
  * react-jsx-runtime.production.min.js
@@ -778,11 +779,11 @@ var m1 = { exports: {} }, r1 = {};
778
779
  * This source code is licensed under the MIT license found in the
779
780
  * LICENSE file in the root directory of this source tree.
780
781
  */
781
- var m3;
782
+ var w3;
782
783
  function We() {
783
- if (m3) return r1;
784
- m3 = 1;
785
- var e = Z3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
784
+ if (w3) return l1;
785
+ w3 = 1;
786
+ var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
786
787
  function v(f, h, w) {
787
788
  var d, P = {}, H = null, a = null;
788
789
  w !== void 0 && (H = "" + w), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (a = h.ref);
@@ -790,9 +791,9 @@ function We() {
790
791
  if (f && f.defaultProps) for (d in h = f.defaultProps, h) P[d] === void 0 && (P[d] = h[d]);
791
792
  return { $$typeof: t, type: f, key: H, ref: a, props: P, _owner: r.current };
792
793
  }
793
- return r1.Fragment = o, r1.jsx = v, r1.jsxs = v, r1;
794
+ return l1.Fragment = o, l1.jsx = v, l1.jsxs = v, l1;
794
795
  }
795
- var l1 = {};
796
+ var i1 = {};
796
797
  /**
797
798
  * @license React
798
799
  * react-jsx-runtime.development.js
@@ -802,14 +803,14 @@ var l1 = {};
802
803
  * This source code is licensed under the MIT license found in the
803
804
  * LICENSE file in the root directory of this source tree.
804
805
  */
805
- var p3;
806
+ var m3;
806
807
  function Ve() {
807
- return p3 || (p3 = 1, process.env.NODE_ENV !== "production" && function() {
808
- var e = Z3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
809
- function C(s) {
808
+ return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && function() {
809
+ var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), S = Symbol.iterator, C = "@@iterator";
810
+ function Z(s) {
810
811
  if (s === null || typeof s != "object")
811
812
  return null;
812
- var i = Z && s[Z] || s[j];
813
+ var i = S && s[S] || s[C];
813
814
  return typeof i == "function" ? i : null;
814
815
  }
815
816
  var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -817,10 +818,10 @@ function Ve() {
817
818
  {
818
819
  for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
819
820
  u[p - 1] = arguments[p];
820
- B("error", s, u);
821
+ W("error", s, u);
821
822
  }
822
823
  }
823
- function B(s, i, u) {
824
+ function W(s, i, u) {
824
825
  {
825
826
  var p = b.ReactDebugCurrentFrame, E = p.getStackAddendum();
826
827
  E !== "" && (i += "%s", u = u.concat([E]));
@@ -830,23 +831,23 @@ function Ve() {
830
831
  T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
831
832
  }
832
833
  }
833
- var U1 = !1, C1 = !1, K = !1, k = !1, D = !1, Y;
834
- Y = Symbol.for("react.module.reference");
835
- function u1(s) {
836
- return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || D || s === r || s === w || s === d || k || s === a || U1 || C1 || K || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === f || s.$$typeof === h || // This needs to include all possible module reference object
834
+ var C1 = !1, K = !1, B = !1, D = !1, z = !1, o1;
835
+ o1 = Symbol.for("react.module.reference");
836
+ function b1(s) {
837
+ return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === w || s === d || D || s === a || C1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === f || s.$$typeof === h || // This needs to include all possible module reference object
837
838
  // types supported by any Flight configuration anywhere since
838
839
  // we don't know which Flight build this will end up being used
839
840
  // with.
840
- s.$$typeof === Y || s.getModuleId !== void 0));
841
+ s.$$typeof === o1 || s.getModuleId !== void 0));
841
842
  }
842
- function b1(s, i, u) {
843
+ function U3(s, i, u) {
843
844
  var p = s.displayName;
844
845
  if (p)
845
846
  return p;
846
847
  var E = i.displayName || i.name || "";
847
848
  return E !== "" ? u + "(" + E + ")" : u;
848
849
  }
849
- function H1(s) {
850
+ function U1(s) {
850
851
  return s.displayName || "Context";
851
852
  }
852
853
  function J(s) {
@@ -874,12 +875,12 @@ function Ve() {
874
875
  switch (s.$$typeof) {
875
876
  case f:
876
877
  var i = s;
877
- return H1(i) + ".Consumer";
878
+ return U1(i) + ".Consumer";
878
879
  case v:
879
880
  var u = s;
880
- return H1(u._context) + ".Provider";
881
+ return U1(u._context) + ".Provider";
881
882
  case h:
882
- return b1(s, s.render, "ForwardRef");
883
+ return U3(s, s.render, "ForwardRef");
883
884
  case P:
884
885
  var p = s.displayName || null;
885
886
  return p !== null ? p : J(s.type) || "Memo";
@@ -894,18 +895,18 @@ function Ve() {
894
895
  }
895
896
  return null;
896
897
  }
897
- var X = Object.assign, o1 = 0, F1, K1, q1, G1, Y1, z1, J1;
898
- function X1() {
898
+ var X = Object.assign, s1 = 0, H1, F1, K1, q1, G1, Y1, z1;
899
+ function J1() {
899
900
  }
900
- X1.__reactDisabledLog = !0;
901
+ J1.__reactDisabledLog = !0;
901
902
  function H3() {
902
903
  {
903
- if (o1 === 0) {
904
- F1 = console.log, K1 = console.info, q1 = console.warn, G1 = console.error, Y1 = console.group, z1 = console.groupCollapsed, J1 = console.groupEnd;
904
+ if (s1 === 0) {
905
+ H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
905
906
  var s = {
906
907
  configurable: !0,
907
908
  enumerable: !0,
908
- value: X1,
909
+ value: J1,
909
910
  writable: !0
910
911
  };
911
912
  Object.defineProperties(console, {
@@ -918,12 +919,12 @@ function Ve() {
918
919
  groupEnd: s
919
920
  });
920
921
  }
921
- o1++;
922
+ s1++;
922
923
  }
923
924
  }
924
925
  function F3() {
925
926
  {
926
- if (o1--, o1 === 0) {
927
+ if (s1--, s1 === 0) {
927
928
  var s = {
928
929
  configurable: !0,
929
930
  enumerable: !0,
@@ -931,29 +932,29 @@ function Ve() {
931
932
  };
932
933
  Object.defineProperties(console, {
933
934
  log: X({}, s, {
934
- value: F1
935
+ value: H1
935
936
  }),
936
937
  info: X({}, s, {
937
- value: K1
938
+ value: F1
938
939
  }),
939
940
  warn: X({}, s, {
940
- value: q1
941
+ value: K1
941
942
  }),
942
943
  error: X({}, s, {
943
- value: G1
944
+ value: q1
944
945
  }),
945
946
  group: X({}, s, {
946
- value: Y1
947
+ value: G1
947
948
  }),
948
949
  groupCollapsed: X({}, s, {
949
- value: z1
950
+ value: Y1
950
951
  }),
951
952
  groupEnd: X({}, s, {
952
- value: J1
953
+ value: z1
953
954
  })
954
955
  });
955
956
  }
956
- o1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
957
+ s1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
957
958
  }
958
959
  }
959
960
  var y1 = b.ReactCurrentDispatcher, I1;
@@ -975,7 +976,7 @@ function Ve() {
975
976
  var K3 = typeof WeakMap == "function" ? WeakMap : Map;
976
977
  v1 = new K3();
977
978
  }
978
- function Q1(s, i) {
979
+ function X1(s, i) {
979
980
  if (!s || R1)
980
981
  return "";
981
982
  {
@@ -1023,17 +1024,17 @@ function Ve() {
1023
1024
  }
1024
1025
  } catch (V) {
1025
1026
  if (V && p && typeof V.stack == "string") {
1026
- for (var S = V.stack.split(`
1027
- `), O = p.stack.split(`
1028
- `), L = S.length - 1, $ = O.length - 1; L >= 1 && $ >= 0 && S[L] !== O[$]; )
1027
+ for (var j = V.stack.split(`
1028
+ `), k = p.stack.split(`
1029
+ `), L = j.length - 1, $ = k.length - 1; L >= 1 && $ >= 0 && j[L] !== k[$]; )
1029
1030
  $--;
1030
1031
  for (; L >= 1 && $ >= 0; L--, $--)
1031
- if (S[L] !== O[$]) {
1032
+ if (j[L] !== k[$]) {
1032
1033
  if (L !== 1 || $ !== 1)
1033
1034
  do
1034
- if (L--, $--, $ < 0 || S[L] !== O[$]) {
1035
+ if (L--, $--, $ < 0 || j[L] !== k[$]) {
1035
1036
  var F = `
1036
- ` + S[L].replace(" at new ", " at ");
1037
+ ` + j[L].replace(" at new ", " at ");
1037
1038
  return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" && v1.set(s, F), F;
1038
1039
  }
1039
1040
  while (L >= 1 && $ >= 0);
@@ -1047,7 +1048,7 @@ function Ve() {
1047
1048
  return typeof s == "function" && v1.set(s, Q), Q;
1048
1049
  }
1049
1050
  function q3(s, i, u) {
1050
- return Q1(s, !1);
1051
+ return X1(s, !1);
1051
1052
  }
1052
1053
  function G3(s) {
1053
1054
  var i = s.prototype;
@@ -1057,7 +1058,7 @@ function Ve() {
1057
1058
  if (s == null)
1058
1059
  return "";
1059
1060
  if (typeof s == "function")
1060
- return Q1(s, G3(s));
1061
+ return X1(s, G3(s));
1061
1062
  if (typeof s == "string")
1062
1063
  return d1(s);
1063
1064
  switch (s) {
@@ -1082,30 +1083,30 @@ function Ve() {
1082
1083
  }
1083
1084
  return "";
1084
1085
  }
1085
- var s1 = Object.prototype.hasOwnProperty, N1 = {}, e3 = b.ReactDebugCurrentFrame;
1086
+ var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
1086
1087
  function g1(s) {
1087
1088
  if (s) {
1088
1089
  var i = s._owner, u = h1(s.type, s._source, i ? i.type : null);
1089
- e3.setExtraStackFrame(u);
1090
+ N1.setExtraStackFrame(u);
1090
1091
  } else
1091
- e3.setExtraStackFrame(null);
1092
+ N1.setExtraStackFrame(null);
1092
1093
  }
1093
1094
  function Y3(s, i, u, p, E) {
1094
1095
  {
1095
- var T = Function.call.bind(s1);
1096
+ var T = Function.call.bind(c1);
1096
1097
  for (var y in s)
1097
1098
  if (T(s, y)) {
1098
- var S = void 0;
1099
+ var j = void 0;
1099
1100
  try {
1100
1101
  if (typeof s[y] != "function") {
1101
- var O = Error((p || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1102
- throw O.name = "Invariant Violation", O;
1102
+ var k = Error((p || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1103
+ throw k.name = "Invariant Violation", k;
1103
1104
  }
1104
- S = s[y](i, y, p, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1105
+ j = s[y](i, y, p, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1105
1106
  } catch (L) {
1106
- S = L;
1107
+ j = L;
1107
1108
  }
1108
- S && !(S instanceof Error) && (g1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", u, y, typeof S), g1(null)), S instanceof Error && !(S.message in N1) && (N1[S.message] = !0, g1(E), x("Failed %s type: %s", u, S.message), g1(null));
1109
+ j && !(j instanceof Error) && (g1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", u, y, typeof j), g1(null)), j instanceof Error && !(j.message in Q1) && (Q1[j.message] = !0, g1(E), x("Failed %s type: %s", u, j.message), g1(null));
1109
1110
  }
1110
1111
  }
1111
1112
  }
@@ -1121,26 +1122,26 @@ function Ve() {
1121
1122
  }
1122
1123
  function X3(s) {
1123
1124
  try {
1124
- return t3(s), !1;
1125
+ return e3(s), !1;
1125
1126
  } catch {
1126
1127
  return !0;
1127
1128
  }
1128
1129
  }
1129
- function t3(s) {
1130
+ function e3(s) {
1130
1131
  return "" + s;
1131
1132
  }
1132
- function n3(s) {
1133
+ function t3(s) {
1133
1134
  if (X3(s))
1134
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), t3(s);
1135
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), e3(s);
1135
1136
  }
1136
- var o3 = b.ReactCurrentOwner, Q3 = {
1137
+ var n3 = b.ReactCurrentOwner, Q3 = {
1137
1138
  key: !0,
1138
1139
  ref: !0,
1139
1140
  __self: !0,
1140
1141
  __source: !0
1141
- }, s3, c3;
1142
+ }, o3, s3;
1142
1143
  function N3(s) {
1143
- if (s1.call(s, "ref")) {
1144
+ if (c1.call(s, "ref")) {
1144
1145
  var i = Object.getOwnPropertyDescriptor(s, "ref").get;
1145
1146
  if (i && i.isReactWarning)
1146
1147
  return !1;
@@ -1148,7 +1149,7 @@ function Ve() {
1148
1149
  return s.ref !== void 0;
1149
1150
  }
1150
1151
  function e2(s) {
1151
- if (s1.call(s, "key")) {
1152
+ if (c1.call(s, "key")) {
1152
1153
  var i = Object.getOwnPropertyDescriptor(s, "key").get;
1153
1154
  if (i && i.isReactWarning)
1154
1155
  return !1;
@@ -1156,12 +1157,12 @@ function Ve() {
1156
1157
  return s.key !== void 0;
1157
1158
  }
1158
1159
  function t2(s, i) {
1159
- typeof s.ref == "string" && o3.current;
1160
+ typeof s.ref == "string" && n3.current;
1160
1161
  }
1161
1162
  function n2(s, i) {
1162
1163
  {
1163
1164
  var u = function() {
1164
- s3 || (s3 = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
1165
+ o3 || (o3 = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
1165
1166
  };
1166
1167
  u.isReactWarning = !0, Object.defineProperty(s, "key", {
1167
1168
  get: u,
@@ -1172,7 +1173,7 @@ function Ve() {
1172
1173
  function o2(s, i) {
1173
1174
  {
1174
1175
  var u = function() {
1175
- c3 || (c3 = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
1176
+ s3 || (s3 = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
1176
1177
  };
1177
1178
  u.isReactWarning = !0, Object.defineProperty(s, "ref", {
1178
1179
  get: u,
@@ -1181,7 +1182,7 @@ function Ve() {
1181
1182
  }
1182
1183
  }
1183
1184
  var s2 = function(s, i, u, p, E, T, y) {
1184
- var S = {
1185
+ var j = {
1185
1186
  // This tag allows us to uniquely identify this as a React Element
1186
1187
  $$typeof: t,
1187
1188
  // Built-in properties that belong on the element
@@ -1192,55 +1193,55 @@ function Ve() {
1192
1193
  // Record the component responsible for creating this element.
1193
1194
  _owner: T
1194
1195
  };
1195
- return S._store = {}, Object.defineProperty(S._store, "validated", {
1196
+ return j._store = {}, Object.defineProperty(j._store, "validated", {
1196
1197
  configurable: !1,
1197
1198
  enumerable: !1,
1198
1199
  writable: !0,
1199
1200
  value: !1
1200
- }), Object.defineProperty(S, "_self", {
1201
+ }), Object.defineProperty(j, "_self", {
1201
1202
  configurable: !1,
1202
1203
  enumerable: !1,
1203
1204
  writable: !1,
1204
1205
  value: p
1205
- }), Object.defineProperty(S, "_source", {
1206
+ }), Object.defineProperty(j, "_source", {
1206
1207
  configurable: !1,
1207
1208
  enumerable: !1,
1208
1209
  writable: !1,
1209
1210
  value: E
1210
- }), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
1211
+ }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
1211
1212
  };
1212
1213
  function c2(s, i, u, p, E) {
1213
1214
  {
1214
- var T, y = {}, S = null, O = null;
1215
- u !== void 0 && (n3(u), S = "" + u), e2(i) && (n3(i.key), S = "" + i.key), N3(i) && (O = i.ref, t2(i, E));
1215
+ var T, y = {}, j = null, k = null;
1216
+ u !== void 0 && (t3(u), j = "" + u), e2(i) && (t3(i.key), j = "" + i.key), N3(i) && (k = i.ref, t2(i, E));
1216
1217
  for (T in i)
1217
- s1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
1218
+ c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
1218
1219
  if (s && s.defaultProps) {
1219
1220
  var L = s.defaultProps;
1220
1221
  for (T in L)
1221
1222
  y[T] === void 0 && (y[T] = L[T]);
1222
1223
  }
1223
- if (S || O) {
1224
+ if (j || k) {
1224
1225
  var $ = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1225
- S && n2(y, $), O && o2(y, $);
1226
+ j && n2(y, $), k && o2(y, $);
1226
1227
  }
1227
- return s2(s, S, O, E, p, o3.current, y);
1228
+ return s2(s, j, k, E, p, n3.current, y);
1228
1229
  }
1229
1230
  }
1230
- var T1 = b.ReactCurrentOwner, r3 = b.ReactDebugCurrentFrame;
1231
+ var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
1231
1232
  function e1(s) {
1232
1233
  if (s) {
1233
1234
  var i = s._owner, u = h1(s.type, s._source, i ? i.type : null);
1234
- r3.setExtraStackFrame(u);
1235
+ c3.setExtraStackFrame(u);
1235
1236
  } else
1236
- r3.setExtraStackFrame(null);
1237
+ c3.setExtraStackFrame(null);
1237
1238
  }
1238
1239
  var D1;
1239
1240
  D1 = !1;
1240
1241
  function _1(s) {
1241
1242
  return typeof s == "object" && s !== null && s.$$typeof === t;
1242
1243
  }
1243
- function l3() {
1244
+ function r3() {
1244
1245
  {
1245
1246
  if (T1.current) {
1246
1247
  var s = J(T1.current.type);
@@ -1255,10 +1256,10 @@ Check the render method of \`` + s + "`.";
1255
1256
  function r2(s) {
1256
1257
  return "";
1257
1258
  }
1258
- var i3 = {};
1259
+ var l3 = {};
1259
1260
  function l2(s) {
1260
1261
  {
1261
- var i = l3();
1262
+ var i = r3();
1262
1263
  if (!i) {
1263
1264
  var u = typeof s == "string" ? s : s.displayName || s.name;
1264
1265
  u && (i = `
@@ -1268,35 +1269,35 @@ Check the top-level render call using <` + u + ">.");
1268
1269
  return i;
1269
1270
  }
1270
1271
  }
1271
- function a3(s, i) {
1272
+ function i3(s, i) {
1272
1273
  {
1273
1274
  if (!s._store || s._store.validated || s.key != null)
1274
1275
  return;
1275
1276
  s._store.validated = !0;
1276
1277
  var u = l2(i);
1277
- if (i3[u])
1278
+ if (l3[u])
1278
1279
  return;
1279
- i3[u] = !0;
1280
+ l3[u] = !0;
1280
1281
  var p = "";
1281
1282
  s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, p), e1(null);
1282
1283
  }
1283
1284
  }
1284
- function u3(s, i) {
1285
+ function a3(s, i) {
1285
1286
  {
1286
1287
  if (typeof s != "object")
1287
1288
  return;
1288
1289
  if (E1(s))
1289
1290
  for (var u = 0; u < s.length; u++) {
1290
1291
  var p = s[u];
1291
- _1(p) && a3(p, i);
1292
+ _1(p) && i3(p, i);
1292
1293
  }
1293
1294
  else if (_1(s))
1294
1295
  s._store && (s._store.validated = !0);
1295
1296
  else if (s) {
1296
- var E = C(s);
1297
+ var E = Z(s);
1297
1298
  if (typeof E == "function" && E !== s.entries)
1298
1299
  for (var T = E.call(s), y; !(y = T.next()).done; )
1299
- _1(y.value) && a3(y.value, i);
1300
+ _1(y.value) && i3(y.value, i);
1300
1301
  }
1301
1302
  }
1302
1303
  }
@@ -1337,17 +1338,17 @@ Check the top-level render call using <` + u + ">.");
1337
1338
  s.ref !== null && (e1(s), x("Invalid attribute `ref` supplied to `React.Fragment`."), e1(null));
1338
1339
  }
1339
1340
  }
1340
- var d3 = {};
1341
- function v3(s, i, u, p, E, T) {
1341
+ var u3 = {};
1342
+ function d3(s, i, u, p, E, T) {
1342
1343
  {
1343
- var y = u1(s);
1344
+ var y = b1(s);
1344
1345
  if (!y) {
1345
- var S = "";
1346
- (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1347
- var O = r2();
1348
- O ? S += O : S += l3();
1346
+ var j = "";
1347
+ (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1348
+ var k = r2();
1349
+ k ? j += k : j += r3();
1349
1350
  var L;
1350
- s === null ? L = "null" : E1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, S);
1351
+ s === null ? L = "null" : E1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, j);
1351
1352
  }
1352
1353
  var $ = c2(s, i, u, E, T);
1353
1354
  if ($ == null)
@@ -1358,49 +1359,49 @@ Check the top-level render call using <` + u + ">.");
1358
1359
  if (p)
1359
1360
  if (E1(F)) {
1360
1361
  for (var t1 = 0; t1 < F.length; t1++)
1361
- u3(F[t1], s);
1362
+ a3(F[t1], s);
1362
1363
  Object.freeze && Object.freeze(F);
1363
1364
  } else
1364
1365
  x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1365
1366
  else
1366
- u3(F, s);
1367
+ a3(F, s);
1367
1368
  }
1368
- if (s1.call(i, "key")) {
1369
+ if (c1.call(i, "key")) {
1369
1370
  var Q = J(s), V = Object.keys(i).filter(function(f2) {
1370
1371
  return f2 !== "key";
1371
1372
  }), P1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1372
- if (!d3[Q + P1]) {
1373
+ if (!u3[Q + P1]) {
1373
1374
  var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1374
1375
  x(`A props object containing a "key" prop is being spread into JSX:
1375
1376
  let props = %s;
1376
1377
  <%s {...props} />
1377
1378
  React keys must be passed directly to JSX without using spread:
1378
1379
  let props = %s;
1379
- <%s key={someKey} {...props} />`, P1, Q, g2, Q), d3[Q + P1] = !0;
1380
+ <%s key={someKey} {...props} />`, P1, Q, g2, Q), u3[Q + P1] = !0;
1380
1381
  }
1381
1382
  }
1382
1383
  return s === c ? a2($) : i2($), $;
1383
1384
  }
1384
1385
  }
1385
1386
  function u2(s, i, u) {
1386
- return v3(s, i, u, !0);
1387
+ return d3(s, i, u, !0);
1387
1388
  }
1388
1389
  function d2(s, i, u) {
1389
- return v3(s, i, u, !1);
1390
+ return d3(s, i, u, !1);
1390
1391
  }
1391
1392
  var v2 = d2, h2 = u2;
1392
- l1.Fragment = c, l1.jsx = v2, l1.jsxs = h2;
1393
- }()), l1;
1393
+ i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
1394
+ }()), i1;
1394
1395
  }
1395
- var M3;
1396
+ var p3;
1396
1397
  function Ue() {
1397
- return M3 || (M3 = 1, process.env.NODE_ENV === "production" ? m1.exports = We() : m1.exports = Ve()), m1.exports;
1398
+ return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? m1.exports = We() : m1.exports = Ve()), m1.exports;
1398
1399
  }
1399
1400
  var n = Ue();
1400
1401
  const He = "_mwfit_ppa3l_1", Fe = {
1401
1402
  mwfit: He
1402
1403
  }, Ke = () => {
1403
- const { reconnect: e } = R(), t = R3(), o = Me(), c = xe();
1404
+ const { reconnect: e } = R(), t = I3(), o = Me(), c = xe();
1404
1405
  return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
1405
1406
  /* @__PURE__ */ n.jsxs("div", { className: `${Fe.mwfit} mx-auto text-center`, children: [
1406
1407
  t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
@@ -1408,42 +1409,42 @@ const He = "_mwfit_ppa3l_1", Fe = {
1408
1409
  ] }),
1409
1410
  c && /* @__PURE__ */ n.jsx("button", { className: "btn btn-secondary btn-lg", onPointerDown: e, children: "Reconnect" })
1410
1411
  ] });
1411
- }, W3 = C2({
1412
+ }, O3 = C2({
1412
1413
  sendMessage: () => null,
1413
1414
  sendSimpleMessage: () => null,
1414
1415
  addEventHandler: () => null,
1415
1416
  removeEventHandler: () => null,
1416
1417
  reconnect: () => null
1417
1418
  }), qe = ({ children: e }) => {
1418
- const t = W1(), o = R3();
1419
+ const t = W1(), o = I3();
1419
1420
  x1(() => {
1420
- t(O3());
1421
+ t(k3());
1421
1422
  }, [t]);
1422
- const c = c1(
1423
+ const c = r1(
1423
1424
  (h, w) => {
1424
1425
  t(Pe(h, w));
1425
1426
  },
1426
1427
  [t]
1427
- ), r = c1(
1428
+ ), r = r1(
1428
1429
  (h, w) => {
1429
1430
  c(h, { value: w });
1430
1431
  },
1431
1432
  [c]
1432
- ), l = c1(
1433
+ ), l = r1(
1433
1434
  (h, w, d) => {
1434
1435
  t(Le(h, w, d));
1435
1436
  },
1436
1437
  [t]
1437
- ), v = c1(
1438
+ ), v = r1(
1438
1439
  (h, w) => {
1439
1440
  t($e(h, w));
1440
1441
  },
1441
1442
  [t]
1442
- ), f = c1(() => {
1443
+ ), f = r1(() => {
1443
1444
  t(Ae());
1444
1445
  }, [t]);
1445
1446
  return /* @__PURE__ */ n.jsx(
1446
- W3.Provider,
1447
+ O3.Provider,
1447
1448
  {
1448
1449
  value: {
1449
1450
  sendMessage: c,
@@ -1457,7 +1458,7 @@ const He = "_mwfit_ppa3l_1", Fe = {
1457
1458
  );
1458
1459
  }, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: Oe, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
1459
1460
  function R() {
1460
- return b2(W3);
1461
+ return b2(O3);
1461
1462
  }
1462
1463
  function Ge({
1463
1464
  onPress: e,
@@ -1511,7 +1512,7 @@ function V6(e) {
1511
1512
  muteToggle: () => t(`${e}/muteToggle`, null)
1512
1513
  }), [e, t, o, c]);
1513
1514
  }
1514
- function V3(e, t) {
1515
+ function W3(e, t) {
1515
1516
  const { sendMessage: o, sendSimpleMessage: c } = R(), r = j1(e);
1516
1517
  return n1(() => {
1517
1518
  if (!r) {
@@ -1556,9 +1557,9 @@ function Ye(e) {
1556
1557
  if (t)
1557
1558
  return t.volume;
1558
1559
  }, [t]);
1559
- return V3(o, c);
1560
+ return W3(o, c);
1560
1561
  }
1561
- function U3(e) {
1562
+ function V3(e) {
1562
1563
  const { sendMessage: t } = R();
1563
1564
  return { powerOn: () => {
1564
1565
  t(`/device/${e}/powerOn`, null);
@@ -1586,7 +1587,7 @@ function ze(e) {
1586
1587
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1587
1588
  }
1588
1589
  function H6(e) {
1589
- const t = _(e), o = U3(e), c = O1(e), r = O1(e), l = Ye(e), v = ze(e);
1590
+ const t = _(e), o = V3(e), c = O1(e), r = O1(e), l = Ye(e), v = ze(e);
1590
1591
  if (t)
1591
1592
  return {
1592
1593
  avrState: t,
@@ -1598,7 +1599,7 @@ function H6(e) {
1598
1599
  };
1599
1600
  }
1600
1601
  const F6 = ({ className: e }) => {
1601
- const [t, o] = z();
1602
+ const [t, o] = Y();
1602
1603
  return x1(() => {
1603
1604
  setInterval(() => {
1604
1605
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
@@ -1863,7 +1864,7 @@ function St(e) {
1863
1864
  } : void 0;
1864
1865
  }
1865
1866
  function jt(e) {
1866
- const t = _(e), o = U3(e), c = O1(e);
1867
+ const t = _(e), o = V3(e), c = O1(e);
1867
1868
  if (!t) return;
1868
1869
  const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
1869
1870
  return {
@@ -1913,8 +1914,8 @@ const bt = ({
1913
1914
  }, [r, t, o]), r;
1914
1915
  };
1915
1916
  function yt(e, t) {
1916
- const [o, c] = z(!1), [r, l] = z(!1);
1917
- return S3(() => {
1917
+ const [o, c] = Y(!1), [r, l] = Y(!1);
1918
+ return Z3(() => {
1918
1919
  const { current: v } = e, f = () => {
1919
1920
  const h = v && v.scrollHeight > v.clientHeight, w = v && v.scrollWidth > v.clientWidth;
1920
1921
  l(h ?? !1), c(w ?? !1), t && t(h ?? !1, w ?? !1);
@@ -1928,18 +1929,18 @@ function It(e, t) {
1928
1929
  }
1929
1930
  function Rt(e, t) {
1930
1931
  const o = te(e, t), c = `/room/${e}/volumes/${t}`;
1931
- return V3(c, o);
1932
+ return W3(c, o);
1932
1933
  }
1933
1934
  function Et(e) {
1934
1935
  var f, h;
1935
- const [t, o] = z(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollLeft) ?? 0), [c, r] = z(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (w) => {
1936
+ const [t, o] = Y(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (w) => {
1936
1937
  const { current: d } = e;
1937
1938
  d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
1938
1939
  }, v = (w) => {
1939
1940
  const { current: d } = e;
1940
1941
  d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
1941
1942
  };
1942
- return S3(() => {
1943
+ return Z3(() => {
1943
1944
  const { current: w } = e, d = () => {
1944
1945
  o((w == null ? void 0 : w.scrollLeft) ?? 0), r((w == null ? void 0 : w.scrollTop) ?? 0);
1945
1946
  };
@@ -1949,9 +1950,9 @@ function Et(e) {
1949
1950
  function Tt(e) {
1950
1951
  const t = W1();
1951
1952
  return [() => {
1952
- t(W.addSyncState(e));
1953
+ t(O.addSyncState(e));
1953
1954
  }, () => {
1954
- t(W.removeSyncState(e));
1955
+ t(O.removeSyncState(e));
1955
1956
  }, Ze(e)];
1956
1957
  }
1957
1958
  function Dt() {
@@ -1966,7 +1967,7 @@ function Dt() {
1966
1967
  };
1967
1968
  }
1968
1969
  function _t() {
1969
- const [e, t] = z(), [o, c] = z();
1970
+ const [e, t] = Y(), [o, c] = Y();
1970
1971
  function r() {
1971
1972
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1972
1973
  const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
@@ -1981,7 +1982,7 @@ function _t() {
1981
1982
  }, []), { date: e, time: o };
1982
1983
  }
1983
1984
  const Pt = () => {
1984
- const [e, t] = z(!1), o = y2(), c = I2();
1985
+ const [e, t] = Y(!1), o = y2(), c = I2();
1985
1986
  let r;
1986
1987
  return R2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1987
1988
  /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
@@ -2022,29 +2023,29 @@ const Pt = () => {
2022
2023
  onPointerLeave: P,
2023
2024
  ...H
2024
2025
  }) => {
2025
- const [a, Z] = z(!1), j = !v && f ? h : "", C = !v && (a || f);
2026
+ const [a, S] = Y(!1), C = !v && f ? h : "", Z = !v && (a || f);
2026
2027
  return /* @__PURE__ */ n.jsxs(
2027
2028
  "button",
2028
2029
  {
2029
2030
  type: "button",
2030
- className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${j}`,
2031
+ className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${C}`,
2031
2032
  ...H,
2032
2033
  disabled: v,
2033
2034
  onPointerDown: (b) => {
2034
- Z(!0), w == null || w(b);
2035
+ S(!0), w == null || w(b);
2035
2036
  },
2036
2037
  onPointerUp: (b) => {
2037
- Z(!1), d == null || d(b);
2038
+ S(!1), d == null || d(b);
2038
2039
  },
2039
2040
  onPointerLeave: (b) => {
2040
- Z(!1), P == null || P(b);
2041
+ S(!1), P == null || P(b);
2041
2042
  },
2042
2043
  children: [
2043
2044
  e && /* @__PURE__ */ n.jsx(
2044
2045
  e,
2045
2046
  {
2046
2047
  className: `${r || $1.iconsm}`,
2047
- active: C,
2048
+ active: Z,
2048
2049
  disabled: v
2049
2050
  }
2050
2051
  ),
@@ -3707,17 +3708,17 @@ function $t({
3707
3708
  const c = t[e] ?? null;
3708
3709
  return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
3709
3710
  }
3710
- const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", i1 = {
3711
+ const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", a1 = {
3711
3712
  grid: P8,
3712
3713
  header: L8,
3713
3714
  content: $8,
3714
3715
  footer: A8,
3715
3716
  volume: B8
3716
- }, At = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: i1.grid, children: [
3717
- /* @__PURE__ */ n.jsx("div", { className: i1.header, children: e }),
3718
- /* @__PURE__ */ n.jsx("div", { className: i1.content, children: o }),
3719
- r && /* @__PURE__ */ n.jsx("div", { className: i1.volume, children: c }),
3720
- /* @__PURE__ */ n.jsx("div", { className: i1.footer, children: t })
3717
+ }, At = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
3718
+ /* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
3719
+ /* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
3720
+ r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
3721
+ /* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
3721
3722
  ] }), k8 = "_grid_11w5q_1", O8 = "_header_11w5q_11", W8 = "_content_11w5q_17", p1 = {
3722
3723
  grid: k8,
3723
3724
  header: O8,
@@ -3799,32 +3800,32 @@ export {
3799
3800
  Ot as ShareState,
3800
3801
  Bt as TechLayout,
3801
3802
  kt as TechPinLayout,
3802
- A3 as WS_ADD_EVENT_HANDLER,
3803
- P3 as WS_CONNECT,
3804
- L3 as WS_DISCONNECT,
3805
- k3 as WS_RECONNECT,
3806
- B3 as WS_REMOVE_EVENT_HANDLER,
3807
- $3 as WS_SEND_MESSAGE,
3808
- W3 as WebsocketContext,
3809
- D3 as appConfigActions,
3803
+ $3 as WS_ADD_EVENT_HANDLER,
3804
+ _3 as WS_CONNECT,
3805
+ P3 as WS_DISCONNECT,
3806
+ B3 as WS_RECONNECT,
3807
+ A3 as WS_REMOVE_EVENT_HANDLER,
3808
+ L3 as WS_SEND_MESSAGE,
3809
+ O3 as WebsocketContext,
3810
+ T3 as appConfigActions,
3810
3811
  Be as createWebSocketMiddleware,
3811
3812
  f1 as devicesActions,
3812
3813
  Wt as getBaseLocation,
3813
- w3 as httpClient,
3814
+ f3 as httpClient,
3814
3815
  _8 as iconsDictionary,
3815
3816
  Ut as roomOffSourceKey,
3816
3817
  w1 as roomsActions,
3817
3818
  U as runtimeConfigActions,
3818
- b3 as selectAllDevices,
3819
+ C3 as selectAllDevices,
3819
3820
  T2 as selectApiPath,
3820
3821
  E2 as selectAppConfig,
3821
3822
  ce as selectClientId,
3822
3823
  he as selectCurrentPopoverIdForGroup,
3823
3824
  P2 as selectDeviceByKey,
3824
- y3 as selectDeviceInterfaceSupport,
3825
+ b3 as selectDeviceInterfaceSupport,
3825
3826
  ve as selectDeviceSupportsInterface,
3826
3827
  fe as selectError,
3827
- I3 as selectInterfacesForDevice,
3828
+ y3 as selectInterfacesForDevice,
3828
3829
  pe as selectIsSyncStateValuePresent,
3829
3830
  de as selectIsTouchpanel,
3830
3831
  D2 as selectLogoPath,
@@ -3862,7 +3863,7 @@ export {
3862
3863
  oe as selectWsIsConnected,
3863
3864
  N2 as selectZoomRoomControllerKey,
3864
3865
  Oe as store,
3865
- W as uiActions,
3866
+ O as uiActions,
3866
3867
  je as uiReducer,
3867
3868
  Q8 as useApiPath,
3868
3869
  X8 as useAppConfig,
@@ -3890,7 +3891,7 @@ export {
3890
3891
  M6 as useGetRoomDisplayStates,
3891
3892
  x6 as useGetZoomRoomControllerKey,
3892
3893
  j1 as useIBasicVolume,
3893
- V3 as useIBasicVolumeWithFeedback,
3894
+ W3 as useIBasicVolumeWithFeedback,
3894
3895
  G6 as useIChannel,
3895
3896
  Y6 as useIColor,
3896
3897
  z6 as useICommunicationMonitor,
@@ -3900,7 +3901,7 @@ export {
3900
3901
  et as useIDvr,
3901
3902
  tt as useIEssentialsRoomCombiner,
3902
3903
  nt as useIHasCameras,
3903
- U3 as useIHasPowerControl,
3904
+ V3 as useIHasPowerControl,
3904
3905
  O1 as useIHasSelectableItems,
3905
3906
  ot as useIHumiditySensor,
3906
3907
  st as useILevelControls,
@@ -3968,9 +3969,9 @@ export {
3968
3969
  jt as useTwoWayDisplayBase,
3969
3970
  C6 as useUserCode,
3970
3971
  R as useWebsocketContext,
3971
- R3 as useWsIsConnected,
3972
+ I3 as useWsIsConnected,
3972
3973
  Le as wsAddEventHandler,
3973
- O3 as wsConnect,
3974
+ k3 as wsConnect,
3974
3975
  k6 as wsDisconnect,
3975
3976
  Ae as wsReconnect,
3976
3977
  $e as wsRemoveEventHandler,