@pepperdash/mobile-control-react-app-core 1.21.0-feature-add-deviceInterfaceSupport-to-joinroom-response.4 → 1.21.0-ibasic-volume.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.
Files changed (87) hide show
  1. package/dist/mobile-control-react-app-core.es.js +1058 -1119
  2. package/dist/mobile-control-react-app-core.umd.js +10 -10
  3. package/dist/shared/hooks/index.d.ts +0 -1
  4. package/dist/shared/hooks/index.d.ts.map +1 -1
  5. package/dist/shared/hooks/interfaces/index.d.ts +35 -37
  6. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
  7. package/dist/shared/hooks/interfaces/useIBasicVolume.d.ts +14 -0
  8. package/dist/shared/hooks/interfaces/useIBasicVolume.d.ts.map +1 -0
  9. package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts +2 -5
  10. package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts.map +1 -1
  11. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -1
  12. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -1
  13. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +1 -1
  14. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -1
  15. package/dist/shared/hooks/useDeviceIBasicVolume.d.ts +7 -0
  16. package/dist/shared/hooks/useDeviceIBasicVolume.d.ts.map +1 -0
  17. package/dist/shared/hooks/useRoomIBasicVolume.d.ts +9 -0
  18. package/dist/shared/hooks/useRoomIBasicVolume.d.ts.map +1 -0
  19. package/dist/store/index.d.ts +0 -5
  20. package/dist/store/index.d.ts.map +1 -1
  21. package/dist/store/runtimeConfig/runtime.hooks.d.ts +0 -3
  22. package/dist/store/runtimeConfig/runtime.hooks.d.ts.map +1 -1
  23. package/dist/store/runtimeConfig/runtime.selectors.d.ts +0 -35
  24. package/dist/store/runtimeConfig/runtime.selectors.d.ts.map +1 -1
  25. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +16 -56
  26. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
  27. package/dist/store/ui/ui.hooks.d.ts +0 -1
  28. package/dist/store/ui/ui.hooks.d.ts.map +1 -1
  29. package/dist/store/ui/ui.selectors.d.ts +0 -27
  30. package/dist/store/ui/ui.selectors.d.ts.map +1 -1
  31. package/dist/store/ui/ui.slice.d.ts +0 -56
  32. package/dist/store/ui/ui.slice.d.ts.map +1 -1
  33. package/dist/types/classes/room-data.d.ts +1 -7
  34. package/dist/types/classes/room-data.d.ts.map +1 -1
  35. package/dist/types/interfaces/IKeyName.d.ts +1 -0
  36. package/dist/types/interfaces/IKeyName.d.ts.map +1 -1
  37. package/dist/types/state/DestinationListItem.d.ts +0 -113
  38. package/dist/types/state/DestinationListItem.d.ts.map +1 -1
  39. package/dist/types/state/LevelControlListItem.d.ts +1 -1
  40. package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
  41. package/dist/types/state/PresetListItem.d.ts +1 -1
  42. package/dist/types/state/PresetListItem.d.ts.map +1 -1
  43. package/dist/types/state/index.d.ts +3 -12
  44. package/dist/types/state/index.d.ts.map +1 -1
  45. package/dist/types/state/sourceListItem.d.ts +0 -137
  46. package/dist/types/state/sourceListItem.d.ts.map +1 -1
  47. package/dist/types/state/state/CamerasState.d.ts +13 -0
  48. package/dist/types/state/state/CamerasState.d.ts.map +1 -0
  49. package/dist/types/state/state/DeviceState.d.ts +5 -0
  50. package/dist/types/state/state/DeviceState.d.ts.map +1 -1
  51. package/dist/types/state/state/DisplayState.d.ts +5 -98
  52. package/dist/types/state/state/DisplayState.d.ts.map +1 -1
  53. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts +2 -14
  54. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts.map +1 -1
  55. package/dist/types/state/state/IHasSelectableItemsState.d.ts +1 -2
  56. package/dist/types/state/state/IHasSelectableItemsState.d.ts.map +1 -1
  57. package/dist/types/state/state/MatrixRoutingState.d.ts +1 -1
  58. package/dist/types/state/state/MatrixRoutingState.d.ts.map +1 -1
  59. package/dist/types/state/state/RoomState.d.ts +2 -2
  60. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  61. package/dist/types/state/state/RoutingState.d.ts +1 -1
  62. package/dist/types/state/state/RoutingState.d.ts.map +1 -1
  63. package/dist/types/state/state/index.d.ts +2 -4
  64. package/dist/types/state/state/index.d.ts.map +1 -1
  65. package/dist/types/state/volume/volumes.d.ts +1 -0
  66. package/dist/types/state/volume/volumes.d.ts.map +1 -1
  67. package/dist/utils/WebsocketContext.d.ts +2 -1
  68. package/dist/utils/WebsocketContext.d.ts.map +1 -1
  69. package/dist/utils/WebsocketProvider.d.ts +1 -1
  70. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  71. package/dist/utils/index.d.ts +2 -3
  72. package/dist/utils/index.d.ts.map +1 -1
  73. package/dist/utils/useWebsocketContext.d.ts.map +1 -1
  74. package/package.json +3 -6
  75. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts +0 -7
  76. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts.map +0 -1
  77. package/dist/shared/hooks/useStateIsSynced.d.ts +0 -7
  78. package/dist/shared/hooks/useStateIsSynced.d.ts.map +0 -1
  79. package/dist/types/state/environment/index.d.ts +0 -9
  80. package/dist/types/state/environment/index.d.ts.map +0 -1
  81. package/dist/types/state/state/ICurrentSourcesState.d.ts +0 -19
  82. package/dist/types/state/state/ICurrentSourcesState.d.ts.map +0 -1
  83. package/dist/types/state/state/IHasCamerasState.d.ts +0 -10
  84. package/dist/types/state/state/IHasCamerasState.d.ts.map +0 -1
  85. package/dist/types/state/volume/index.d.ts +0 -10
  86. package/dist/types/state/volume/index.d.ts.map +0 -1
  87. /package/dist/{style.css → mobile-control-react-app-core.css} +0 -0
@@ -1,224 +1,232 @@
1
- var n2 = Object.defineProperty;
2
- var o2 = (e, t, n) => t in e ? n2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var q = (e, t, n) => o2(e, typeof t != "symbol" ? t + "" : t, n);
1
+ var o2 = Object.defineProperty;
2
+ var n2 = (e, t, o) => t in e ? o2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var G = (e, t, o) => n2(e, typeof t != "symbol" ? t + "" : t, o);
4
4
  import c2, { AxiosError as r2 } from "axios";
5
5
  import { useDispatch as l2, useSelector as i2, Provider as a2 } from "react-redux";
6
6
  import { createSelector as w, createSlice as g1, combineReducers as u2, configureStore as d2 } from "@reduxjs/toolkit";
7
- import w3, { createContext as v2, useState as K, useRef as h1, useCallback as a1, useEffect as c1, useContext as h2, useLayoutEffect as x3 } from "react";
7
+ import w3, { createContext as h2, useState as H, useRef as v1, useCallback as a1, useEffect as n1, useContext as v2, useLayoutEffect as x3 } from "react";
8
8
  import * as M3 from "lodash";
9
9
  import { useNavigate as g2, useRouteError as f2, isRouteErrorResponse as p2 } from "react-router-dom";
10
- const m3 = l2.withTypes(), p = i2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
10
+ const w2 = l2.withTypes(), f = i2.withTypes(), j1 = (e) => e.appConfig, x2 = w(
11
11
  j1,
12
12
  (e) => e.config
13
- ), x2 = w(
13
+ ), M2 = w(
14
14
  j1,
15
15
  (e) => e.config.apiPath
16
- ), M2 = w(
16
+ ), m2 = w(
17
17
  j1,
18
18
  (e) => e.config.logoPath
19
- ), m2 = w(
19
+ ), Z2 = w(
20
20
  j1,
21
21
  (e) => e.config.partnerMetadata
22
- ), Z2 = () => p(w2), U6 = () => p(x2), W6 = () => p(M2), F6 = () => p(m2), Z3 = (e) => e.devices, j3 = w(
23
- Z3,
22
+ ), j2 = () => f(x2), V6 = () => f(M2), k6 = () => f(m2), U6 = () => f(Z2), m3 = (e) => e.devices, Z3 = w(
23
+ m3,
24
24
  (e) => e
25
- ), j2 = (e) => w(
26
- Z3,
25
+ ), S2 = (e) => w(
26
+ m3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), H6 = () => p(j3);
29
- function y(e) {
30
- return p(j2(e));
28
+ ), W6 = () => f(Z3);
29
+ function P(e) {
30
+ return f(S2(e));
31
31
  }
32
- const D = (e) => e.rooms, S2 = (e) => w(
33
- D,
32
+ const L = (e) => e.rooms, C2 = (e) => w(
33
+ L,
34
34
  (t) => t[e] ? t[e].configuration : void 0
35
- ), C2 = w(
36
- D,
35
+ ), b2 = w(
36
+ L,
37
37
  (e) => e
38
- ), b2 = (e) => w(
39
- D,
40
- (t) => t[e] ? t[e] : void 0
41
38
  ), I2 = (e) => w(
42
- D,
43
- (t) => t[e] ? t[e].name : void 0
44
- ), R2 = (e, t) => w(
45
- D,
46
- (n) => n[e] ? n[e].volumes[t] : void 0
47
- ), y2 = (e) => w(
48
- D,
39
+ L,
49
40
  (t) => t[e] ? t[e] : void 0
41
+ ), R2 = (e) => w(
42
+ L,
43
+ (t) => t[e] ? t[e].name : void 0
44
+ ), y2 = (e, t) => w(
45
+ L,
46
+ (o) => o[e] ? o[e].volumes[t] : void 0
50
47
  ), E2 = (e) => w(
51
- D,
48
+ L,
49
+ (t) => t[e] ? t[e] : void 0
50
+ ), _2 = (e) => w(
51
+ L,
52
52
  (t) => {
53
- var n, c;
54
- return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.sourceList : void 0;
53
+ var o, c;
54
+ return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
55
55
  }
56
56
  ), P2 = (e) => w(
57
- D,
57
+ L,
58
58
  (t) => {
59
- var n, c;
60
- return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.audioControlPointList : void 0;
59
+ var o, c;
60
+ return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
61
61
  }
62
62
  ), T2 = (e) => w(
63
- D,
63
+ L,
64
64
  (t) => {
65
- var n, c;
66
- return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinations : void 0;
65
+ var o, c;
66
+ return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
67
67
  }
68
- ), _2 = (e) => w(
69
- D,
68
+ ), L2 = (e) => w(
69
+ L,
70
70
  (t) => {
71
- var n, c;
72
- return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinationList : void 0;
71
+ var o, c;
72
+ return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
73
73
  }
74
74
  ), D2 = (e) => w(
75
- D,
76
- (t) => {
77
- var n, c;
78
- return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.environmentalDevices : void 0;
79
- }
80
- ), L2 = (e) => w(
81
- D,
75
+ L,
82
76
  (t) => {
83
- var n, c, r, i, d, a, g, x;
84
- return (c = (n = t[e]) == null ? void 0 : n.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (g = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : g.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
77
+ var o, c;
78
+ return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
85
79
  }
86
80
  ), $2 = (e) => w(
87
- D,
81
+ L,
88
82
  (t) => {
89
- var n, c, r;
90
- return t[e] ? (r = (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
83
+ var o, c, r, i, d, a, h, x;
84
+ return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (h = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
91
85
  }
92
86
  ), A2 = (e) => w(
93
- D,
87
+ L,
94
88
  (t) => {
95
- var n;
96
- return t[e] ? (n = t[e]) == null ? void 0 : n.isInCall : void 0;
89
+ var o, c, r;
90
+ return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
97
91
  }
98
92
  ), B2 = (e) => w(
99
- D,
93
+ L,
100
94
  (t) => {
101
- var n;
102
- return t[e] ? (n = t[e]) == null ? void 0 : n.isWarmingUp : void 0;
95
+ var o;
96
+ return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
103
97
  }
104
98
  ), O2 = (e) => w(
105
- D,
99
+ L,
106
100
  (t) => {
107
- var n;
108
- return t[e] ? (n = t[e]) == null ? void 0 : n.isCoolingDown : void 0;
101
+ var o;
102
+ return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
109
103
  }
110
104
  ), V2 = (e) => w(
111
- D,
105
+ L,
112
106
  (t) => {
113
- var n;
114
- return t[e] ? (n = t[e]) == null ? void 0 : n.isOn : void 0;
107
+ var o;
108
+ return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
115
109
  }
116
110
  ), k2 = (e) => w(
117
- D,
111
+ L,
118
112
  (t) => {
119
- var n;
120
- return t[e] ? (n = t[e]) == null ? void 0 : n.advancedSharingActive : void 0;
113
+ var o;
114
+ return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
121
115
  }
122
116
  ), U2 = (e) => w(
123
- D,
117
+ L,
124
118
  (t) => {
125
- var n;
126
- return t[e] ? (n = t[e]) == null ? void 0 : n.share : void 0;
119
+ var o;
120
+ return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
127
121
  }
128
122
  ), W2 = (e) => w(
129
- D,
123
+ L,
124
+ (t) => {
125
+ var o;
126
+ return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
127
+ }
128
+ ), F2 = (e) => w(
129
+ L,
130
130
  (t) => {
131
- var n, c;
132
- return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
131
+ var o, c;
132
+ return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
133
133
  }
134
- ), F2 = w(
134
+ ), H2 = w(
135
135
  [
136
136
  (e, t) => t,
137
- () => j3,
137
+ () => Z3,
138
138
  (e, t) => {
139
- var n, c;
140
- return (c = (n = e.rooms[t]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinations;
139
+ var o, c;
140
+ return (c = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations;
141
141
  }
142
142
  ],
143
- (e, t, n) => {
144
- if (console.log("roomKey", e), console.log("devices", t), console.log("destinations", n), !n) return;
145
- const c = Object.entries(n).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
143
+ (e, t, o) => {
144
+ if (console.log("roomKey", e), console.log("devices", t), console.log("destinations", o), !o) return;
145
+ const c = Object.entries(o).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
146
146
  return Object.values(t).filter((i) => Object.values(c).includes(i.key));
147
147
  }
148
148
  );
149
- function K6(e) {
150
- return p(
151
- S2(e)
149
+ function F6(e) {
150
+ return f(
151
+ C2(e)
152
152
  );
153
153
  }
154
- function G6() {
155
- return p(C2);
154
+ function H6() {
155
+ return f(b2);
156
156
  }
157
157
  function S1(e) {
158
- return p(b2(e));
159
- }
160
- const q6 = S1, Y6 = (e) => p(
161
- I2(e)
162
- ), H2 = (e, t) => p(
163
- R2(e, t)
164
- ), K2 = (e) => p(y2(e)) || void 0, z6 = (e) => p(E2(e)), J6 = (e) => p(P2(e)), X6 = (e) => p(T2(e)), Q6 = (e) => p(_2(e)), N6 = (e) => p(D2(e)), ee = (e) => p(L2(e)), te = (e) => p($2(e)), se = (e) => p(A2(e)), ne = (e) => p(B2(e)), oe = (e) => p(O2(e)), ce = (e) => p(V2(e)), re = (e) => p(k2(e)), le = (e) => p(U2(e)), ie = (e) => p((t) => F2(t, e)), ae = (e) => p(W2(e)), Y = (e) => e.runtimeConfig, G2 = w(
165
- Y,
158
+ return f(I2(e));
159
+ }
160
+ const K6 = S1, G6 = (e) => f(
161
+ R2(e)
162
+ ), K2 = (e, t) => f(
163
+ y2(e, t)
164
+ ), G2 = (e) => f(E2(e)) || void 0, q6 = (e) => f(_2(e)), Y6 = (e) => f(P2(e)), z6 = (e) => f(T2(e)), J6 = (e) => f(L2(e)), X6 = (e) => f(D2(e)), Q6 = (e) => f($2(e)), N6 = (e) => f(A2(e)), ee = (e) => f(B2(e)), te = (e) => f(O2(e)), se = (e) => f(V2(e)), oe = (e) => f(k2(e)), ne = (e) => f(U2(e)), ce = (e) => f(W2(e)), re = (e) => f((t) => H2(t, e)), le = (e) => f(F2(e)), J = (e) => e.runtimeConfig, q2 = w(
165
+ J,
166
166
  (e) => e.websocket.isConnected
167
- ), q2 = w(
168
- Y,
169
- (e) => e.currentRoomKey
170
167
  ), Y2 = w(
171
- Y,
172
- (e) => e.roomData.clientId
168
+ J,
169
+ (e) => e.currentRoomKey
173
170
  ), z2 = w(
174
- Y,
175
- (e) => e.roomData.systemUuid
171
+ J,
172
+ (e) => e.roomData.clientId
176
173
  ), J2 = w(
177
- Y,
178
- (e) => e.roomData.userCode
174
+ J,
175
+ (e) => e.roomData.systemUuid
179
176
  ), X2 = w(
180
- Y,
181
- (e) => e.serverIsRunningOnProcessorHardware
177
+ J,
178
+ (e) => e.roomData.userCode
182
179
  ), Q2 = w(
183
- Y,
180
+ J,
181
+ (e) => e.serverIsRunningOnProcessorHardware
182
+ ), N2 = w(
183
+ J,
184
184
  (e) => {
185
185
  var t;
186
186
  return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
187
187
  }
188
- ), N2 = w(
189
- Y,
190
- (e) => e.touchpanelKey
191
188
  ), e8 = w(
192
- Y,
193
- (e) => e.touchpanelKey !== ""
189
+ J,
190
+ (e) => e.touchpanelKey
194
191
  ), t8 = w(
195
- Y,
196
- (e) => e.roomData.deviceInterfaceSupport
197
- ), S3 = () => p(G2), s8 = () => p(q2), n8 = () => p(Y2), o8 = () => p(z2), c8 = () => p(J2), r8 = () => p(X2), ue = () => p(Q2), de = () => p(N2), ve = () => p(e8), he = () => p(t8), t1 = (e) => e.ui, U1 = (e) => w(t1, (t) => t.modalVisibility[e]), l8 = (e) => w(t1, (t) => {
198
- const n = t.popoverVisibility[e];
199
- if (n)
200
- return Object.keys(n).find((c) => n[c]);
201
- }), i8 = (e, t) => w(
202
- t1,
203
- (n) => {
192
+ J,
193
+ (e) => e.touchpanelKey !== ""
194
+ ), j3 = () => f(q2), s8 = () => f(Y2), o8 = () => f(z2), n8 = () => f(J2), c8 = () => f(X2), r8 = () => f(Q2), ie = () => f(N2), ae = () => f(e8), ue = () => f(t8), c1 = (e) => e.ui, U1 = (e) => w(
195
+ c1,
196
+ (t) => t.modalVisibility[e]
197
+ ), l8 = (e) => w(
198
+ c1,
199
+ (t) => {
200
+ const o = t.popoverVisibility[e];
201
+ if (o)
202
+ return Object.keys(o).find((c) => o[c]);
203
+ }
204
+ ), i8 = (e, t) => w(
205
+ c1,
206
+ (o) => {
204
207
  var c;
205
- return ((c = n.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
208
+ return ((c = o.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
206
209
  }
207
- ), a8 = w(t1, (e) => e.error), u8 = w(
208
- t1,
210
+ ), a8 = w(
211
+ c1,
212
+ (e) => e.error
213
+ ), u8 = w(
214
+ c1,
209
215
  (e) => e.showReconnect
210
- ), d8 = w(t1, (e) => e.theme), v8 = (e) => w(t1, (t) => t.syncState.has(e)), ge = () => p(U1("showShutdownModal")), fe = () => p(U1("showIncomingCallModal")), pe = (e) => p(U1(e)), we = (e) => p(l8(e)), xe = (e, t) => p(i8(e, t)), h8 = () => p(a8), g8 = () => p(u8), Me = () => p(d8), f8 = (e) => p(v8(e)), p8 = {
216
+ ), d8 = w(
217
+ c1,
218
+ (e) => e.theme
219
+ ), de = () => f(U1("showShutdownModal")), he = () => f(U1("showIncomingCallModal")), ve = (e) => f(U1(e)), ge = (e) => f(l8(e)), fe = (e, t) => f(i8(e, t)), h8 = () => f(a8), v8 = () => f(u8), pe = () => f(d8), g8 = {
211
220
  showReconnect: !1,
212
221
  error: "",
213
222
  modalVisibility: {
214
223
  showShutdownModal: !1,
215
224
  showIncomingCallModal: !1
216
225
  },
217
- popoverVisibility: {},
218
- syncState: /* @__PURE__ */ new Set()
219
- }, C3 = g1({
226
+ popoverVisibility: {}
227
+ }, S3 = g1({
220
228
  name: "ui",
221
- initialState: p8,
229
+ initialState: g8,
222
230
  reducers: {
223
231
  clearAllModals(e) {
224
232
  Object.entries(e.modalVisibility).forEach(([t]) => {
@@ -235,10 +243,8 @@ const q6 = S1, Y6 = (e) => p(
235
243
  e.modalVisibility.showIncomingCallModal = t.payload;
236
244
  },
237
245
  setPopoverState(e, t) {
238
- e.popoverVisibility[t.payload.popoverGroup] || (e.popoverVisibility[t.payload.popoverGroup] = {}), Object.entries(
239
- e.popoverVisibility[t.payload.popoverGroup]
240
- ).forEach(([n]) => {
241
- e.popoverVisibility[t.payload.popoverGroup][n] = !1;
246
+ e.popoverVisibility[t.payload.popoverGroup] || (e.popoverVisibility[t.payload.popoverGroup] = {}), Object.entries(e.popoverVisibility[t.payload.popoverGroup]).forEach(([o]) => {
247
+ e.popoverVisibility[t.payload.popoverGroup][o] = !1;
242
248
  }), e.popoverVisibility[t.payload.popoverGroup][t.payload.popoverId] = t.payload.value;
243
249
  },
244
250
  setErrorMessage(e, t) {
@@ -249,18 +255,9 @@ const q6 = S1, Y6 = (e) => p(
249
255
  },
250
256
  setTheme(e, t) {
251
257
  e.theme = t.payload;
252
- },
253
- addSyncState(e, t) {
254
- e.syncState.add(t.payload);
255
- },
256
- removeSyncState(e, t) {
257
- e.syncState.delete(t.payload);
258
- },
259
- clearSyncState(e) {
260
- e.syncState.clear();
261
258
  }
262
259
  }
263
- }), F = C3.actions, w8 = C3.reducer, x8 = {
260
+ }), q = S3.actions, f8 = S3.reducer, p8 = {
264
261
  config: {
265
262
  enableDev: !1,
266
263
  apiPath: "",
@@ -270,20 +267,20 @@ const q6 = S1, Y6 = (e) => p(
270
267
  loginMode: "",
271
268
  modes: {}
272
269
  }
273
- }, b3 = g1({
270
+ }, C3 = g1({
274
271
  name: "appConfig",
275
- initialState: x8,
272
+ initialState: p8,
276
273
  reducers: {
277
274
  setAppConfig(e, t) {
278
275
  e.config = t.payload;
279
276
  }
280
277
  }
281
- }), M8 = b3.actions, m8 = b3.reducer, d3 = {}, B1 = g1({
278
+ }), w8 = C3.actions, x8 = C3.reducer, d3 = {}, B1 = g1({
282
279
  name: "devices",
283
280
  initialState: d3,
284
281
  reducers: {
285
282
  setDeviceState(e, t) {
286
- const n = t.payload.type, c = n.slice(n.lastIndexOf("/") + 1);
283
+ const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
287
284
  if (!c) return;
288
285
  const r = t.payload.content, i = e[c] ?? {}, d = M3.merge(i, r);
289
286
  e[c] = d;
@@ -295,24 +292,24 @@ const q6 = S1, Y6 = (e) => p(
295
292
  }), N = {
296
293
  setDeviceState: B1.actions.setDeviceState,
297
294
  clearDevices: B1.actions.clearDevices
298
- }, Z8 = B1.reducer, v3 = {}, O1 = g1({
295
+ }, M8 = B1.reducer, h3 = {}, O1 = g1({
299
296
  name: "rooms",
300
- initialState: v3,
297
+ initialState: h3,
301
298
  reducers: {
302
299
  setRoomState(e, t) {
303
- const n = t.payload.type, c = n.slice(n.lastIndexOf("/") + 1);
300
+ const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
304
301
  if (!c) return;
305
302
  const r = t.payload.content, i = e[c] ?? {}, d = M3.merge(i, r);
306
303
  e[c] = d;
307
304
  },
308
305
  clearRooms() {
309
- return v3;
306
+ return h3;
310
307
  }
311
308
  }
312
309
  }), e1 = {
313
310
  setRoomState: O1.actions.setRoomState,
314
311
  clearRooms: O1.actions.clearRooms
315
- }, j8 = O1.reducer, S8 = {
312
+ }, m8 = O1.reducer, Z8 = {
316
313
  apiVersion: "",
317
314
  serverIsRunningOnProcessorHardware: !1,
318
315
  websocket: {
@@ -339,13 +336,12 @@ const q6 = S1, Y6 = (e) => p(
339
336
  rooms: [],
340
337
  devices: []
341
338
  },
342
- deviceInterfaceSupport: {},
343
339
  userCode: "",
344
340
  qrUrl: ""
345
341
  }
346
- }, I3 = g1({
342
+ }, b3 = g1({
347
343
  name: "runtimeConfig",
348
- initialState: S8,
344
+ initialState: Z8,
349
345
  reducers: {
350
346
  setRuntimeConfig(e, t) {
351
347
  e.apiVersion = t.payload.apiVersion, e.serverIsRunningOnProcessorHardware = t.payload.serverIsRunningOnProcessorHardware;
@@ -372,25 +368,25 @@ const q6 = S1, Y6 = (e) => p(
372
368
  e.touchpanelKey = t.payload;
373
369
  }
374
370
  }
375
- }), W = I3.actions, C8 = I3.reducer, b8 = u2({
376
- appConfig: m8,
377
- runtimeConfig: C8,
378
- rooms: j8,
379
- devices: Z8,
380
- ui: w8
371
+ }), W = b3.actions, j8 = b3.reducer, S8 = u2({
372
+ appConfig: x8,
373
+ runtimeConfig: j8,
374
+ rooms: m8,
375
+ devices: M8,
376
+ ui: f8
381
377
  }), m = d2({
382
- reducer: b8
378
+ reducer: S8
383
379
  }), V1 = c2.create();
384
- function I8() {
385
- const e = m3();
380
+ function C8() {
381
+ const e = w2();
386
382
  return async () => {
387
383
  try {
388
384
  const t = location.pathname.split("/").filter((r) => r.length > 0);
389
385
  t.length >= 5 ? t.length = 5 : t.length = 2;
390
- const n = `/${t.join("/")}`, c = await V1.get("/_local-config/_config.local.json", { baseURL: n });
386
+ const o = `/${t.join("/")}`, c = await V1.get("/_local-config/_config.local.json", { baseURL: o });
391
387
  if (c.status == 200 && c.data) {
392
388
  const r = c.data.apiPath;
393
- e(M8.setAppConfig(c.data));
389
+ e(w8.setAppConfig(c.data));
394
390
  const i = await V1.get(`${r}/version`);
395
391
  i.status == 200 && i.data && e(W.setRuntimeConfig(i.data));
396
392
  }
@@ -410,19 +406,19 @@ var m1 = { exports: {} }, u1 = {};
410
406
  * This source code is licensed under the MIT license found in the
411
407
  * LICENSE file in the root directory of this source tree.
412
408
  */
413
- var h3;
414
- function R8() {
415
- if (h3) return u1;
416
- h3 = 1;
417
- var e = w3, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
418
- function d(a, g, x) {
419
- var v, I = {}, L = null, H = null;
420
- x !== void 0 && (L = "" + x), g.key !== void 0 && (L = "" + g.key), g.ref !== void 0 && (H = g.ref);
421
- for (v in g) c.call(g, v) && !i.hasOwnProperty(v) && (I[v] = g[v]);
422
- if (a && a.defaultProps) for (v in g = a.defaultProps, g) I[v] === void 0 && (I[v] = g[v]);
423
- return { $$typeof: t, type: a, key: L, ref: H, props: I, _owner: r.current };
424
- }
425
- return u1.Fragment = n, u1.jsx = d, u1.jsxs = d, u1;
409
+ var v3;
410
+ function b8() {
411
+ if (v3) return u1;
412
+ v3 = 1;
413
+ var e = w3, 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, i = { key: !0, ref: !0, __self: !0, __source: !0 };
414
+ function d(a, h, x) {
415
+ var g, R = {}, D = null, F = null;
416
+ x !== void 0 && (D = "" + x), h.key !== void 0 && (D = "" + h.key), h.ref !== void 0 && (F = h.ref);
417
+ for (g in h) c.call(h, g) && !i.hasOwnProperty(g) && (R[g] = h[g]);
418
+ if (a && a.defaultProps) for (g in h = a.defaultProps, h) R[g] === void 0 && (R[g] = h[g]);
419
+ return { $$typeof: t, type: a, key: D, ref: F, props: R, _owner: r.current };
420
+ }
421
+ return u1.Fragment = o, u1.jsx = d, u1.jsxs = d, u1;
426
422
  }
427
423
  var d1 = {};
428
424
  /**
@@ -435,63 +431,63 @@ var d1 = {};
435
431
  * LICENSE file in the root directory of this source tree.
436
432
  */
437
433
  var g3;
438
- function y8() {
434
+ function I8() {
439
435
  return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
440
- var e = w3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
441
- function r1(o) {
442
- if (o === null || typeof o != "object")
436
+ var e = w3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
437
+ function r1(n) {
438
+ if (n === null || typeof n != "object")
443
439
  return null;
444
- var l = k && o[k] || o[X];
440
+ var l = k && n[k] || n[X];
445
441
  return typeof l == "function" ? l : null;
446
442
  }
447
443
  var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
448
- function A(o) {
444
+ function A(n) {
449
445
  {
450
- for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
451
- u[f - 1] = arguments[f];
452
- C1("error", o, u);
446
+ for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
447
+ u[v - 1] = arguments[v];
448
+ C1("error", n, u);
453
449
  }
454
450
  }
455
- function C1(o, l, u) {
451
+ function C1(n, l, u) {
456
452
  {
457
- var f = $.ReactDebugCurrentFrame, C = f.getStackAddendum();
453
+ var v = $.ReactDebugCurrentFrame, C = v.getStackAddendum();
458
454
  C !== "" && (l += "%s", u = u.concat([C]));
459
- var R = u.map(function(Z) {
455
+ var I = u.map(function(Z) {
460
456
  return String(Z);
461
457
  });
462
- R.unshift("Warning: " + l), Function.prototype.apply.call(console[o], console, R);
458
+ I.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, I);
463
459
  }
464
460
  }
465
- var b1 = !1, E = !1, S = !1, f1 = !1, I1 = !1, z;
466
- z = Symbol.for("react.module.reference");
467
- function B(o) {
468
- return !!(typeof o == "string" || typeof o == "function" || o === c || o === i || I1 || o === r || o === x || o === v || f1 || o === H || b1 || E || S || typeof o == "object" && o !== null && (o.$$typeof === L || o.$$typeof === I || o.$$typeof === d || o.$$typeof === a || o.$$typeof === g || // This needs to include all possible module reference object
461
+ var b1 = !1, y = !1, S = !1, f1 = !1, I1 = !1, Y;
462
+ Y = Symbol.for("react.module.reference");
463
+ function B(n) {
464
+ return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === g || f1 || n === F || b1 || y || S || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === R || n.$$typeof === d || n.$$typeof === a || n.$$typeof === h || // This needs to include all possible module reference object
469
465
  // types supported by any Flight configuration anywhere since
470
466
  // we don't know which Flight build this will end up being used
471
467
  // with.
472
- o.$$typeof === z || o.getModuleId !== void 0));
468
+ n.$$typeof === Y || n.getModuleId !== void 0));
473
469
  }
474
- function P(o, l, u) {
475
- var f = o.displayName;
476
- if (f)
477
- return f;
470
+ function E(n, l, u) {
471
+ var v = n.displayName;
472
+ if (v)
473
+ return v;
478
474
  var C = l.displayName || l.name || "";
479
475
  return C !== "" ? u + "(" + C + ")" : u;
480
476
  }
481
- function s1(o) {
482
- return o.displayName || "Context";
477
+ function t1(n) {
478
+ return n.displayName || "Context";
483
479
  }
484
- function G(o) {
485
- if (o == null)
480
+ function K(n) {
481
+ if (n == null)
486
482
  return null;
487
- if (typeof o.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
488
- return o.displayName || o.name || null;
489
- if (typeof o == "string")
490
- return o;
491
- switch (o) {
483
+ if (typeof n.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
484
+ return n.displayName || n.name || null;
485
+ if (typeof n == "string")
486
+ return n;
487
+ switch (n) {
492
488
  case c:
493
489
  return "Fragment";
494
- case n:
490
+ case o:
495
491
  return "Portal";
496
492
  case i:
497
493
  return "Profiler";
@@ -499,26 +495,26 @@ function y8() {
499
495
  return "StrictMode";
500
496
  case x:
501
497
  return "Suspense";
502
- case v:
498
+ case g:
503
499
  return "SuspenseList";
504
500
  }
505
- if (typeof o == "object")
506
- switch (o.$$typeof) {
501
+ if (typeof n == "object")
502
+ switch (n.$$typeof) {
507
503
  case a:
508
- var l = o;
509
- return s1(l) + ".Consumer";
504
+ var l = n;
505
+ return t1(l) + ".Consumer";
510
506
  case d:
511
- var u = o;
512
- return s1(u._context) + ".Provider";
513
- case g:
514
- return P(o, o.render, "ForwardRef");
515
- case I:
516
- var f = o.displayName || null;
517
- return f !== null ? f : G(o.type) || "Memo";
518
- case L: {
519
- var C = o, R = C._payload, Z = C._init;
507
+ var u = n;
508
+ return t1(u._context) + ".Provider";
509
+ case h:
510
+ return E(n, n.render, "ForwardRef");
511
+ case R:
512
+ var v = n.displayName || null;
513
+ return v !== null ? v : K(n.type) || "Memo";
514
+ case D: {
515
+ var C = n, I = C._payload, Z = C._init;
520
516
  try {
521
- return G(Z(R));
517
+ return K(Z(I));
522
518
  } catch {
523
519
  return null;
524
520
  }
@@ -526,61 +522,61 @@ function y8() {
526
522
  }
527
523
  return null;
528
524
  }
529
- var J = Object.assign, l1 = 0, W1, F1, H1, K1, G1, q1, Y1;
525
+ var z = Object.assign, l1 = 0, W1, F1, H1, K1, G1, q1, Y1;
530
526
  function z1() {
531
527
  }
532
528
  z1.__reactDisabledLog = !0;
533
- function P3() {
529
+ function _3() {
534
530
  {
535
531
  if (l1 === 0) {
536
532
  W1 = console.log, F1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
537
- var o = {
533
+ var n = {
538
534
  configurable: !0,
539
535
  enumerable: !0,
540
536
  value: z1,
541
537
  writable: !0
542
538
  };
543
539
  Object.defineProperties(console, {
544
- info: o,
545
- log: o,
546
- warn: o,
547
- error: o,
548
- group: o,
549
- groupCollapsed: o,
550
- groupEnd: o
540
+ info: n,
541
+ log: n,
542
+ warn: n,
543
+ error: n,
544
+ group: n,
545
+ groupCollapsed: n,
546
+ groupEnd: n
551
547
  });
552
548
  }
553
549
  l1++;
554
550
  }
555
551
  }
556
- function T3() {
552
+ function P3() {
557
553
  {
558
554
  if (l1--, l1 === 0) {
559
- var o = {
555
+ var n = {
560
556
  configurable: !0,
561
557
  enumerable: !0,
562
558
  writable: !0
563
559
  };
564
560
  Object.defineProperties(console, {
565
- log: J({}, o, {
561
+ log: z({}, n, {
566
562
  value: W1
567
563
  }),
568
- info: J({}, o, {
564
+ info: z({}, n, {
569
565
  value: F1
570
566
  }),
571
- warn: J({}, o, {
567
+ warn: z({}, n, {
572
568
  value: H1
573
569
  }),
574
- error: J({}, o, {
570
+ error: z({}, n, {
575
571
  value: K1
576
572
  }),
577
- group: J({}, o, {
573
+ group: z({}, n, {
578
574
  value: G1
579
575
  }),
580
- groupCollapsed: J({}, o, {
576
+ groupCollapsed: z({}, n, {
581
577
  value: q1
582
578
  }),
583
- groupEnd: J({}, o, {
579
+ groupEnd: z({}, n, {
584
580
  value: Y1
585
581
  })
586
582
  });
@@ -589,38 +585,38 @@ function y8() {
589
585
  }
590
586
  }
591
587
  var R1 = $.ReactCurrentDispatcher, y1;
592
- function p1(o, l, u) {
588
+ function p1(n, l, u) {
593
589
  {
594
590
  if (y1 === void 0)
595
591
  try {
596
592
  throw Error();
597
593
  } catch (C) {
598
- var f = C.stack.trim().match(/\n( *(at )?)/);
599
- y1 = f && f[1] || "";
594
+ var v = C.stack.trim().match(/\n( *(at )?)/);
595
+ y1 = v && v[1] || "";
600
596
  }
601
597
  return `
602
- ` + y1 + o;
598
+ ` + y1 + n;
603
599
  }
604
600
  }
605
601
  var E1 = !1, w1;
606
602
  {
607
- var _3 = typeof WeakMap == "function" ? WeakMap : Map;
608
- w1 = new _3();
603
+ var T3 = typeof WeakMap == "function" ? WeakMap : Map;
604
+ w1 = new T3();
609
605
  }
610
- function J1(o, l) {
611
- if (!o || E1)
606
+ function J1(n, l) {
607
+ if (!n || E1)
612
608
  return "";
613
609
  {
614
- var u = w1.get(o);
610
+ var u = w1.get(n);
615
611
  if (u !== void 0)
616
612
  return u;
617
613
  }
618
- var f;
614
+ var v;
619
615
  E1 = !0;
620
616
  var C = Error.prepareStackTrace;
621
617
  Error.prepareStackTrace = void 0;
622
- var R;
623
- R = R1.current, R1.current = null, P3();
618
+ var I;
619
+ I = R1.current, R1.current = null, _3();
624
620
  try {
625
621
  if (l) {
626
622
  var Z = function() {
@@ -634,80 +630,80 @@ function y8() {
634
630
  try {
635
631
  Reflect.construct(Z, []);
636
632
  } catch (V) {
637
- f = V;
633
+ v = V;
638
634
  }
639
- Reflect.construct(o, [], Z);
635
+ Reflect.construct(n, [], Z);
640
636
  } else {
641
637
  try {
642
638
  Z.call();
643
639
  } catch (V) {
644
- f = V;
640
+ v = V;
645
641
  }
646
- o.call(Z.prototype);
642
+ n.call(Z.prototype);
647
643
  }
648
644
  } else {
649
645
  try {
650
646
  throw Error();
651
647
  } catch (V) {
652
- f = V;
648
+ v = V;
653
649
  }
654
- o();
650
+ n();
655
651
  }
656
652
  } catch (V) {
657
- if (V && f && typeof V.stack == "string") {
653
+ if (V && v && typeof V.stack == "string") {
658
654
  for (var M = V.stack.split(`
659
- `), O = f.stack.split(`
660
- `), T = M.length - 1, _ = O.length - 1; T >= 1 && _ >= 0 && M[T] !== O[_]; )
661
- _--;
662
- for (; T >= 1 && _ >= 0; T--, _--)
663
- if (M[T] !== O[_]) {
664
- if (T !== 1 || _ !== 1)
655
+ `), O = v.stack.split(`
656
+ `), _ = M.length - 1, T = O.length - 1; _ >= 1 && T >= 0 && M[_] !== O[T]; )
657
+ T--;
658
+ for (; _ >= 1 && T >= 0; _--, T--)
659
+ if (M[_] !== O[T]) {
660
+ if (_ !== 1 || T !== 1)
665
661
  do
666
- if (T--, _--, _ < 0 || M[T] !== O[_]) {
662
+ if (_--, T--, T < 0 || M[_] !== O[T]) {
667
663
  var U = `
668
- ` + M[T].replace(" at new ", " at ");
669
- return o.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", o.displayName)), typeof o == "function" && w1.set(o, U), U;
664
+ ` + M[_].replace(" at new ", " at ");
665
+ return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && w1.set(n, U), U;
670
666
  }
671
- while (T >= 1 && _ >= 0);
667
+ while (_ >= 1 && T >= 0);
672
668
  break;
673
669
  }
674
670
  }
675
671
  } finally {
676
- E1 = !1, R1.current = R, T3(), Error.prepareStackTrace = C;
672
+ E1 = !1, R1.current = I, P3(), Error.prepareStackTrace = C;
677
673
  }
678
- var o1 = o ? o.displayName || o.name : "", Q = o1 ? p1(o1) : "";
679
- return typeof o == "function" && w1.set(o, Q), Q;
674
+ var o1 = n ? n.displayName || n.name : "", Q = o1 ? p1(o1) : "";
675
+ return typeof n == "function" && w1.set(n, Q), Q;
680
676
  }
681
- function D3(o, l, u) {
682
- return J1(o, !1);
677
+ function L3(n, l, u) {
678
+ return J1(n, !1);
683
679
  }
684
- function L3(o) {
685
- var l = o.prototype;
680
+ function D3(n) {
681
+ var l = n.prototype;
686
682
  return !!(l && l.isReactComponent);
687
683
  }
688
- function x1(o, l, u) {
689
- if (o == null)
684
+ function x1(n, l, u) {
685
+ if (n == null)
690
686
  return "";
691
- if (typeof o == "function")
692
- return J1(o, L3(o));
693
- if (typeof o == "string")
694
- return p1(o);
695
- switch (o) {
687
+ if (typeof n == "function")
688
+ return J1(n, D3(n));
689
+ if (typeof n == "string")
690
+ return p1(n);
691
+ switch (n) {
696
692
  case x:
697
693
  return p1("Suspense");
698
- case v:
694
+ case g:
699
695
  return p1("SuspenseList");
700
696
  }
701
- if (typeof o == "object")
702
- switch (o.$$typeof) {
703
- case g:
704
- return D3(o.render);
705
- case I:
706
- return x1(o.type, l, u);
707
- case L: {
708
- var f = o, C = f._payload, R = f._init;
697
+ if (typeof n == "object")
698
+ switch (n.$$typeof) {
699
+ case h:
700
+ return L3(n.render);
701
+ case R:
702
+ return x1(n.type, l, u);
703
+ case D: {
704
+ var v = n, C = v._payload, I = v._init;
709
705
  try {
710
- return x1(R(C), l, u);
706
+ return x1(I(C), l, u);
711
707
  } catch {
712
708
  }
713
709
  }
@@ -715,114 +711,114 @@ function y8() {
715
711
  return "";
716
712
  }
717
713
  var i1 = Object.prototype.hasOwnProperty, X1 = {}, Q1 = $.ReactDebugCurrentFrame;
718
- function M1(o) {
719
- if (o) {
720
- var l = o._owner, u = x1(o.type, o._source, l ? l.type : null);
714
+ function M1(n) {
715
+ if (n) {
716
+ var l = n._owner, u = x1(n.type, n._source, l ? l.type : null);
721
717
  Q1.setExtraStackFrame(u);
722
718
  } else
723
719
  Q1.setExtraStackFrame(null);
724
720
  }
725
- function $3(o, l, u, f, C) {
721
+ function $3(n, l, u, v, C) {
726
722
  {
727
- var R = Function.call.bind(i1);
728
- for (var Z in o)
729
- if (R(o, Z)) {
723
+ var I = Function.call.bind(i1);
724
+ for (var Z in n)
725
+ if (I(n, Z)) {
730
726
  var M = void 0;
731
727
  try {
732
- if (typeof o[Z] != "function") {
733
- var O = Error((f || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
728
+ if (typeof n[Z] != "function") {
729
+ var O = Error((v || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
734
730
  throw O.name = "Invariant Violation", O;
735
731
  }
736
- M = o[Z](l, Z, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
737
- } catch (T) {
738
- M = T;
732
+ M = n[Z](l, Z, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
733
+ } catch (_) {
734
+ M = _;
739
735
  }
740
- M && !(M instanceof Error) && (M1(C), A("%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).", f || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(C), A("Failed %s type: %s", u, M.message), M1(null));
736
+ M && !(M instanceof Error) && (M1(C), A("%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).", v || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(C), A("Failed %s type: %s", u, M.message), M1(null));
741
737
  }
742
738
  }
743
739
  }
744
740
  var A3 = Array.isArray;
745
- function P1(o) {
746
- return A3(o);
741
+ function _1(n) {
742
+ return A3(n);
747
743
  }
748
- function B3(o) {
744
+ function B3(n) {
749
745
  {
750
- var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && o[Symbol.toStringTag] || o.constructor.name || "Object";
746
+ var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
751
747
  return u;
752
748
  }
753
749
  }
754
- function O3(o) {
750
+ function O3(n) {
755
751
  try {
756
- return N1(o), !1;
752
+ return N1(n), !1;
757
753
  } catch {
758
754
  return !0;
759
755
  }
760
756
  }
761
- function N1(o) {
762
- return "" + o;
757
+ function N1(n) {
758
+ return "" + n;
763
759
  }
764
- function e3(o) {
765
- if (O3(o))
766
- return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", B3(o)), N1(o);
760
+ function e3(n) {
761
+ if (O3(n))
762
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", B3(n)), N1(n);
767
763
  }
768
764
  var t3 = $.ReactCurrentOwner, V3 = {
769
765
  key: !0,
770
766
  ref: !0,
771
767
  __self: !0,
772
768
  __source: !0
773
- }, s3, n3;
774
- function k3(o) {
775
- if (i1.call(o, "ref")) {
776
- var l = Object.getOwnPropertyDescriptor(o, "ref").get;
769
+ }, s3, o3;
770
+ function k3(n) {
771
+ if (i1.call(n, "ref")) {
772
+ var l = Object.getOwnPropertyDescriptor(n, "ref").get;
777
773
  if (l && l.isReactWarning)
778
774
  return !1;
779
775
  }
780
- return o.ref !== void 0;
776
+ return n.ref !== void 0;
781
777
  }
782
- function U3(o) {
783
- if (i1.call(o, "key")) {
784
- var l = Object.getOwnPropertyDescriptor(o, "key").get;
778
+ function U3(n) {
779
+ if (i1.call(n, "key")) {
780
+ var l = Object.getOwnPropertyDescriptor(n, "key").get;
785
781
  if (l && l.isReactWarning)
786
782
  return !1;
787
783
  }
788
- return o.key !== void 0;
784
+ return n.key !== void 0;
789
785
  }
790
- function W3(o, l) {
791
- typeof o.ref == "string" && t3.current;
786
+ function W3(n, l) {
787
+ typeof n.ref == "string" && t3.current;
792
788
  }
793
- function F3(o, l) {
789
+ function F3(n, l) {
794
790
  {
795
791
  var u = function() {
796
792
  s3 || (s3 = !0, A("%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)", l));
797
793
  };
798
- u.isReactWarning = !0, Object.defineProperty(o, "key", {
794
+ u.isReactWarning = !0, Object.defineProperty(n, "key", {
799
795
  get: u,
800
796
  configurable: !0
801
797
  });
802
798
  }
803
799
  }
804
- function H3(o, l) {
800
+ function H3(n, l) {
805
801
  {
806
802
  var u = function() {
807
- n3 || (n3 = !0, A("%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)", l));
803
+ o3 || (o3 = !0, A("%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)", l));
808
804
  };
809
- u.isReactWarning = !0, Object.defineProperty(o, "ref", {
805
+ u.isReactWarning = !0, Object.defineProperty(n, "ref", {
810
806
  get: u,
811
807
  configurable: !0
812
808
  });
813
809
  }
814
810
  }
815
- var K3 = function(o, l, u, f, C, R, Z) {
811
+ var K3 = function(n, l, u, v, C, I, Z) {
816
812
  var M = {
817
813
  // This tag allows us to uniquely identify this as a React Element
818
814
  $$typeof: t,
819
815
  // Built-in properties that belong on the element
820
- type: o,
816
+ type: n,
821
817
  key: l,
822
818
  ref: u,
823
819
  props: Z,
824
820
  // Record the component responsible for creating this element.
825
- _owner: R
821
+ _owner: I
826
822
  };
827
823
  return M._store = {}, Object.defineProperty(M._store, "validated", {
828
824
  configurable: !1,
@@ -833,7 +829,7 @@ function y8() {
833
829
  configurable: !1,
834
830
  enumerable: !1,
835
831
  writable: !1,
836
- value: f
832
+ value: v
837
833
  }), Object.defineProperty(M, "_source", {
838
834
  configurable: !1,
839
835
  enumerable: !1,
@@ -841,58 +837,58 @@ function y8() {
841
837
  value: C
842
838
  }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
843
839
  };
844
- function G3(o, l, u, f, C) {
840
+ function G3(n, l, u, v, C) {
845
841
  {
846
- var R, Z = {}, M = null, O = null;
842
+ var I, Z = {}, M = null, O = null;
847
843
  u !== void 0 && (e3(u), M = "" + u), U3(l) && (e3(l.key), M = "" + l.key), k3(l) && (O = l.ref, W3(l, C));
848
- for (R in l)
849
- i1.call(l, R) && !V3.hasOwnProperty(R) && (Z[R] = l[R]);
850
- if (o && o.defaultProps) {
851
- var T = o.defaultProps;
852
- for (R in T)
853
- Z[R] === void 0 && (Z[R] = T[R]);
844
+ for (I in l)
845
+ i1.call(l, I) && !V3.hasOwnProperty(I) && (Z[I] = l[I]);
846
+ if (n && n.defaultProps) {
847
+ var _ = n.defaultProps;
848
+ for (I in _)
849
+ Z[I] === void 0 && (Z[I] = _[I]);
854
850
  }
855
851
  if (M || O) {
856
- var _ = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
857
- M && F3(Z, _), O && H3(Z, _);
852
+ var T = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
853
+ M && F3(Z, T), O && H3(Z, T);
858
854
  }
859
- return K3(o, M, O, C, f, t3.current, Z);
855
+ return K3(n, M, O, C, v, t3.current, Z);
860
856
  }
861
857
  }
862
- var T1 = $.ReactCurrentOwner, o3 = $.ReactDebugCurrentFrame;
863
- function n1(o) {
864
- if (o) {
865
- var l = o._owner, u = x1(o.type, o._source, l ? l.type : null);
866
- o3.setExtraStackFrame(u);
858
+ var P1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
859
+ function s1(n) {
860
+ if (n) {
861
+ var l = n._owner, u = x1(n.type, n._source, l ? l.type : null);
862
+ n3.setExtraStackFrame(u);
867
863
  } else
868
- o3.setExtraStackFrame(null);
864
+ n3.setExtraStackFrame(null);
869
865
  }
870
- var _1;
871
- _1 = !1;
872
- function D1(o) {
873
- return typeof o == "object" && o !== null && o.$$typeof === t;
866
+ var T1;
867
+ T1 = !1;
868
+ function L1(n) {
869
+ return typeof n == "object" && n !== null && n.$$typeof === t;
874
870
  }
875
871
  function c3() {
876
872
  {
877
- if (T1.current) {
878
- var o = G(T1.current.type);
879
- if (o)
873
+ if (P1.current) {
874
+ var n = K(P1.current.type);
875
+ if (n)
880
876
  return `
881
877
 
882
- Check the render method of \`` + o + "`.";
878
+ Check the render method of \`` + n + "`.";
883
879
  }
884
880
  return "";
885
881
  }
886
882
  }
887
- function q3(o) {
883
+ function q3(n) {
888
884
  return "";
889
885
  }
890
886
  var r3 = {};
891
- function Y3(o) {
887
+ function Y3(n) {
892
888
  {
893
889
  var l = c3();
894
890
  if (!l) {
895
- var u = typeof o == "string" ? o : o.displayName || o.name;
891
+ var u = typeof n == "string" ? n : n.displayName || n.name;
896
892
  u && (l = `
897
893
 
898
894
  Check the top-level render call using <` + u + ">.");
@@ -900,333 +896,302 @@ Check the top-level render call using <` + u + ">.");
900
896
  return l;
901
897
  }
902
898
  }
903
- function l3(o, l) {
899
+ function l3(n, l) {
904
900
  {
905
- if (!o._store || o._store.validated || o.key != null)
901
+ if (!n._store || n._store.validated || n.key != null)
906
902
  return;
907
- o._store.validated = !0;
903
+ n._store.validated = !0;
908
904
  var u = Y3(l);
909
905
  if (r3[u])
910
906
  return;
911
907
  r3[u] = !0;
912
- var f = "";
913
- o && o._owner && o._owner !== T1.current && (f = " It was passed a child from " + G(o._owner.type) + "."), n1(o), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), n1(null);
908
+ var v = "";
909
+ n && n._owner && n._owner !== P1.current && (v = " It was passed a child from " + K(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), s1(null);
914
910
  }
915
911
  }
916
- function i3(o, l) {
912
+ function i3(n, l) {
917
913
  {
918
- if (typeof o != "object")
914
+ if (typeof n != "object")
919
915
  return;
920
- if (P1(o))
921
- for (var u = 0; u < o.length; u++) {
922
- var f = o[u];
923
- D1(f) && l3(f, l);
916
+ if (_1(n))
917
+ for (var u = 0; u < n.length; u++) {
918
+ var v = n[u];
919
+ L1(v) && l3(v, l);
924
920
  }
925
- else if (D1(o))
926
- o._store && (o._store.validated = !0);
927
- else if (o) {
928
- var C = r1(o);
929
- if (typeof C == "function" && C !== o.entries)
930
- for (var R = C.call(o), Z; !(Z = R.next()).done; )
931
- D1(Z.value) && l3(Z.value, l);
921
+ else if (L1(n))
922
+ n._store && (n._store.validated = !0);
923
+ else if (n) {
924
+ var C = r1(n);
925
+ if (typeof C == "function" && C !== n.entries)
926
+ for (var I = C.call(n), Z; !(Z = I.next()).done; )
927
+ L1(Z.value) && l3(Z.value, l);
932
928
  }
933
929
  }
934
930
  }
935
- function z3(o) {
931
+ function z3(n) {
936
932
  {
937
- var l = o.type;
933
+ var l = n.type;
938
934
  if (l == null || typeof l == "string")
939
935
  return;
940
936
  var u;
941
937
  if (typeof l == "function")
942
938
  u = l.propTypes;
943
- else if (typeof l == "object" && (l.$$typeof === g || // Note: Memo only checks outer props here.
939
+ else if (typeof l == "object" && (l.$$typeof === h || // Note: Memo only checks outer props here.
944
940
  // Inner props are checked in the reconciler.
945
- l.$$typeof === I))
941
+ l.$$typeof === R))
946
942
  u = l.propTypes;
947
943
  else
948
944
  return;
949
945
  if (u) {
950
- var f = G(l);
951
- $3(u, o.props, "prop", f, o);
952
- } else if (l.PropTypes !== void 0 && !_1) {
953
- _1 = !0;
954
- var C = G(l);
946
+ var v = K(l);
947
+ $3(u, n.props, "prop", v, n);
948
+ } else if (l.PropTypes !== void 0 && !T1) {
949
+ T1 = !0;
950
+ var C = K(l);
955
951
  A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
956
952
  }
957
953
  typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
958
954
  }
959
955
  }
960
- function J3(o) {
956
+ function J3(n) {
961
957
  {
962
- for (var l = Object.keys(o.props), u = 0; u < l.length; u++) {
963
- var f = l[u];
964
- if (f !== "children" && f !== "key") {
965
- n1(o), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), n1(null);
958
+ for (var l = Object.keys(n.props), u = 0; u < l.length; u++) {
959
+ var v = l[u];
960
+ if (v !== "children" && v !== "key") {
961
+ s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), s1(null);
966
962
  break;
967
963
  }
968
964
  }
969
- o.ref !== null && (n1(o), A("Invalid attribute `ref` supplied to `React.Fragment`."), n1(null));
965
+ n.ref !== null && (s1(n), A("Invalid attribute `ref` supplied to `React.Fragment`."), s1(null));
970
966
  }
971
967
  }
972
968
  var a3 = {};
973
- function u3(o, l, u, f, C, R) {
969
+ function u3(n, l, u, v, C, I) {
974
970
  {
975
- var Z = B(o);
971
+ var Z = B(n);
976
972
  if (!Z) {
977
973
  var M = "";
978
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
974
+ (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
979
975
  var O = q3();
980
976
  O ? M += O : M += c3();
981
- var T;
982
- o === null ? T = "null" : P1(o) ? T = "array" : o !== void 0 && o.$$typeof === t ? (T = "<" + (G(o.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof o, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
977
+ var _;
978
+ n === null ? _ = "null" : _1(n) ? _ = "array" : n !== void 0 && n.$$typeof === t ? (_ = "<" + (K(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, M);
983
979
  }
984
- var _ = G3(o, l, u, C, R);
985
- if (_ == null)
986
- return _;
980
+ var T = G3(n, l, u, C, I);
981
+ if (T == null)
982
+ return T;
987
983
  if (Z) {
988
984
  var U = l.children;
989
985
  if (U !== void 0)
990
- if (f)
991
- if (P1(U)) {
986
+ if (v)
987
+ if (_1(U)) {
992
988
  for (var o1 = 0; o1 < U.length; o1++)
993
- i3(U[o1], o);
989
+ i3(U[o1], n);
994
990
  Object.freeze && Object.freeze(U);
995
991
  } else
996
992
  A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
997
993
  else
998
- i3(U, o);
994
+ i3(U, n);
999
995
  }
1000
996
  if (i1.call(l, "key")) {
1001
- var Q = G(o), V = Object.keys(l).filter(function(s2) {
997
+ var Q = K(n), V = Object.keys(l).filter(function(s2) {
1002
998
  return s2 !== "key";
1003
- }), L1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1004
- if (!a3[Q + L1]) {
999
+ }), D1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1000
+ if (!a3[Q + D1]) {
1005
1001
  var t2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1006
1002
  A(`A props object containing a "key" prop is being spread into JSX:
1007
1003
  let props = %s;
1008
1004
  <%s {...props} />
1009
1005
  React keys must be passed directly to JSX without using spread:
1010
1006
  let props = %s;
1011
- <%s key={someKey} {...props} />`, L1, Q, t2, Q), a3[Q + L1] = !0;
1007
+ <%s key={someKey} {...props} />`, D1, Q, t2, Q), a3[Q + D1] = !0;
1012
1008
  }
1013
1009
  }
1014
- return o === c ? J3(_) : z3(_), _;
1010
+ return n === c ? J3(T) : z3(T), T;
1015
1011
  }
1016
1012
  }
1017
- function X3(o, l, u) {
1018
- return u3(o, l, u, !0);
1013
+ function X3(n, l, u) {
1014
+ return u3(n, l, u, !0);
1019
1015
  }
1020
- function Q3(o, l, u) {
1021
- return u3(o, l, u, !1);
1016
+ function Q3(n, l, u) {
1017
+ return u3(n, l, u, !1);
1022
1018
  }
1023
1019
  var N3 = Q3, e2 = X3;
1024
1020
  d1.Fragment = c, d1.jsx = N3, d1.jsxs = e2;
1025
1021
  }()), d1;
1026
1022
  }
1027
1023
  var f3;
1028
- function E8() {
1029
- return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports = R8() : m1.exports = y8()), m1.exports;
1024
+ function R8() {
1025
+ return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? m1.exports = b8() : m1.exports = I8()), m1.exports;
1030
1026
  }
1031
- var s = E8();
1032
- const P8 = "_mwfit_ppa3l_1", T8 = {
1033
- mwfit: P8
1027
+ var s = R8();
1028
+ const y8 = "_mwfit_ppa3l_1", E8 = {
1029
+ mwfit: y8
1034
1030
  }, _8 = () => {
1035
- const { reconnect: e } = b(), t = S3(), n = h8(), c = g8();
1031
+ const { reconnect: e } = b(), t = j3(), o = h8(), c = v8();
1036
1032
  return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
1037
1033
  "div",
1038
1034
  {
1039
- className: `disconnected-message ${T8.mwfit} mx-auto text-center`,
1035
+ className: `disconnected-message ${E8.mwfit} mx-auto text-center`,
1040
1036
  children: [
1041
1037
  t === void 0 ? /* @__PURE__ */ s.jsx("h1", { children: "Connecting..." }) : /* @__PURE__ */ s.jsx("h1", { children: "Disconnected" }),
1042
- n && /* @__PURE__ */ s.jsx("h5", { children: n }),
1038
+ o && /* @__PURE__ */ s.jsx("h5", { children: o }),
1043
1039
  c && /* @__PURE__ */ s.jsx("button", { className: "btn btn-secondary btn-lg", onClick: e, children: "Reconnect" })
1044
1040
  ]
1045
1041
  }
1046
1042
  ) });
1047
1043
  };
1048
- class D8 {
1044
+ class P8 {
1049
1045
  constructor() {
1050
- q(this, "uuid", "current-uuid");
1051
- q(this, "roomKey", "current-room-key");
1052
- q(this, "code", "current-code");
1053
- q(this, "expiry", "current-uuid-expires");
1046
+ G(this, "uuid", "current-uuid");
1047
+ G(this, "roomKey", "current-room-key");
1048
+ G(this, "code", "current-code");
1049
+ G(this, "expiry", "current-uuid-expires");
1054
1050
  }
1055
1051
  }
1056
- const p3 = new D8(), R3 = v2({
1052
+ const p3 = new P8(), I3 = h2({
1057
1053
  sendMessage: () => null,
1058
1054
  sendSimpleMessage: () => null,
1059
1055
  addEventHandler: () => null,
1060
1056
  removeEventHandler: () => null,
1061
1057
  reconnect: () => null
1062
1058
  });
1063
- function L8(e) {
1059
+ function T8(e) {
1064
1060
  return sessionStorage.getItem(e) || "";
1065
1061
  }
1066
- function $8(e, t) {
1062
+ function L8(e, t) {
1067
1063
  sessionStorage.setItem(e, t);
1068
1064
  }
1069
- const A8 = ({ children: e }) => {
1070
- const [t, n] = K(), c = S3(), r = s8(), i = n8(), d = I8(), a = Z2(), g = o8(), x = c8(), v = r8(), I = h1(null), [L, H] = K(), k = h1({}), X = a1(
1071
- async (E) => {
1065
+ const D8 = ({ children: e }) => {
1066
+ const [t, o] = H(), c = j3(), r = s8(), i = o8(), d = C8(), a = j2(), h = n8(), x = c8(), g = r8(), R = v1(null), [D, F] = H(), k = v1({}), X = a1(
1067
+ async (y) => {
1072
1068
  try {
1073
- const S = await V1.get(
1074
- `${E}/ui/joinroom?token=${t}`
1075
- );
1069
+ const S = await V1.get(`${y}/ui/joinroom?token=${t}`);
1076
1070
  return S.status === 200 && S.data ? (m.dispatch(W.setRoomData(S.data)), !0) : !1;
1077
1071
  } catch (S) {
1078
- return console.log(S), v ? !0 : S instanceof r2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
1079
- F.setErrorMessage(
1080
- `Token ${t} is invalid. Unable to join room`
1081
- )
1082
- ), !1) : (console.error("Error getting room data", S), S instanceof Error ? m.dispatch(F.setErrorMessage(S.message)) : m.dispatch(F.setErrorMessage("Error getting room data")), !1);
1072
+ return console.log(S), g ? !0 : S instanceof r2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(q.setErrorMessage(`Token ${t} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", S), S instanceof Error ? m.dispatch(q.setErrorMessage(S.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
1083
1073
  }
1084
1074
  },
1085
- [t, v]
1075
+ [t, g]
1086
1076
  ), r1 = a1(() => {
1087
- const E = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
1088
- window.location.href = x ? `${E}&Code=${x}` : E;
1089
- }, [a.gatewayAppPath, r, g, x]), $ = a1(
1090
- (E, S) => {
1091
- I.current && c && I.current.send(JSON.stringify({ type: E, clientId: i, content: S }));
1077
+ const y = `${a.gatewayAppPath}?uuid=${h}&roomKey=${r}`;
1078
+ window.location.href = x ? `${y}&Code=${x}` : y;
1079
+ }, [a.gatewayAppPath, r, h, x]), $ = a1(
1080
+ (y, S) => {
1081
+ R.current && c && R.current.send(JSON.stringify({ type: y, clientId: i, content: S }));
1092
1082
  },
1093
1083
  [c, i]
1094
- ), A = (E, S) => {
1095
- $(E, { value: S });
1084
+ ), A = (y, S) => {
1085
+ $(y, { value: S });
1096
1086
  }, C1 = a1(
1097
- (E, S, f1) => {
1098
- k.current[E] || (k.current[E] = {}), k.current[E][S] = f1, console.log("event handler added", E, S);
1087
+ (y, S, f1) => {
1088
+ k.current[y] || (k.current[y] = {}), k.current[y][S] = f1, console.log("event handler added", y, S);
1099
1089
  },
1100
1090
  []
1101
- ), b1 = a1((E, S) => {
1102
- k.current[E] && (delete k.current[E][S], console.log("event handler removed", E, S));
1091
+ ), b1 = a1((y, S) => {
1092
+ k.current[y] && (delete k.current[y][S], console.log("event handler removed", y, S));
1103
1093
  }, []);
1104
- return c1(() => {
1094
+ return n1(() => {
1105
1095
  let S = new URLSearchParams(window.location.search).get("token");
1106
- S ? (console.log("saving token: ", S), $8(p3.uuid, S)) : (S = L8(p3.uuid), console.log("loading token: ", S)), n(S), d();
1107
- }, []), console.log(
1108
- "connection dependencies",
1109
- a.apiPath,
1110
- X,
1111
- t,
1112
- L,
1113
- v
1114
- ), c1(() => {
1115
- async function E() {
1116
- if (console.log("Attempting to join websocket..."), !a.apiPath || L || !t || !await X(a.apiPath)) return;
1117
- if (I.current) {
1096
+ S ? (console.log("saving token: ", S), L8(p3.uuid, S)) : (S = T8(p3.uuid), console.log("loading token: ", S)), o(S), d();
1097
+ }, []), console.log("connection dependencies", a.apiPath, X, t, D, g), n1(() => {
1098
+ async function y() {
1099
+ if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await X(a.apiPath)) return;
1100
+ if (R.current) {
1118
1101
  console.log("websocket exists");
1119
1102
  return;
1120
1103
  }
1121
1104
  console.log("connecting to websocket");
1122
- const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, z = new WebSocket(I1);
1123
- I.current = z, z.onopen = (B) => {
1105
+ const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, Y = new WebSocket(I1);
1106
+ R.current = Y, Y.onopen = (B) => {
1124
1107
  console.log("connected", B.type, B.target), m.dispatch(W.setWebsocketIsConnected(!0));
1125
- }, z.onerror = (B) => {
1108
+ }, Y.onerror = (B) => {
1126
1109
  console.error("Websocket error", B);
1127
- }, z.onclose = (B) => {
1110
+ }, Y.onclose = (B) => {
1128
1111
  if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
1129
- console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1112
+ console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1130
1113
  return;
1131
1114
  }
1132
- if (H(!0), B.code === 4e3) {
1133
- console.log("user code changed"), m.dispatch(
1134
- W.setUserCode({ userCode: "", qrUrl: "" })
1135
- ), m.dispatch(
1136
- F.setErrorMessage(
1137
- "User code changed. Click reconnect to enter the new code"
1138
- )
1139
- ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1115
+ if (F(!0), B.code === 4e3) {
1116
+ console.log("user code changed"), m.dispatch(W.setUserCode({ userCode: "", qrUrl: "" })), m.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1140
1117
  return;
1141
1118
  }
1142
- if (B.code === 4001 && !v) {
1143
- console.log("processor disconnected"), m.dispatch(
1144
- F.setErrorMessage(
1145
- "Processor has disconnected. Click Reconnect"
1146
- )
1147
- ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1119
+ if (B.code === 4001 && !g) {
1120
+ console.log("processor disconnected"), m.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1148
1121
  return;
1149
1122
  }
1150
1123
  if (B.code === 4002) {
1151
- console.log("room combination changed"), m.dispatch(
1152
- F.setErrorMessage(
1153
- "Room combination changed. Click Reconnect to re-join the room"
1154
- )
1155
- ), m.dispatch(F.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1124
+ console.log("room combination changed"), m.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1156
1125
  return;
1157
1126
  }
1158
- if (I.current)
1127
+ if (R.current)
1159
1128
  console.log("WebSocket closed by server.");
1160
1129
  else {
1161
1130
  console.log("WebSocket closed by client.");
1162
1131
  return;
1163
1132
  }
1164
- console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() => H(void 0), 5e3));
1165
- }, z.onmessage = (B) => {
1133
+ console.log("websocket waitingToReconnect", D), !D && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() => F(void 0), 5e3));
1134
+ }, Y.onmessage = (B) => {
1166
1135
  try {
1167
- const P = JSON.parse(B.data);
1168
- if (console.log(P), P.type === "close") {
1169
- z.close(4001, P.content);
1136
+ const E = JSON.parse(B.data);
1137
+ if (console.log(E), E.type === "close") {
1138
+ Y.close(4001, E.content);
1170
1139
  return;
1171
1140
  }
1172
- if (P.type.startsWith("/system/"))
1173
- switch (P.type) {
1141
+ if (E.type.startsWith("/system/"))
1142
+ switch (E.type) {
1174
1143
  case "/system/touchpanelKey":
1175
1144
  m.dispatch(
1176
1145
  W.setTouchpanelKey(
1177
- P.content
1146
+ E.content
1178
1147
  )
1179
1148
  );
1180
1149
  break;
1181
1150
  case "/system/roomKey": {
1182
1151
  m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), m.dispatch(
1183
1152
  W.setCurrentRoomKey(
1184
- P.content
1153
+ E.content
1185
1154
  )
1186
1155
  );
1187
1156
  break;
1188
1157
  }
1189
1158
  case "/system/userCodeChanged":
1190
1159
  m.dispatch(
1191
- W.setUserCode(P.content)
1160
+ W.setUserCode(
1161
+ E.content
1162
+ )
1192
1163
  );
1193
1164
  break;
1194
1165
  case "/system/roomCombinationChanged":
1195
1166
  window.location.reload();
1196
1167
  break;
1197
1168
  default:
1198
- console.log("unhandled system message", P);
1169
+ console.log("unhandled system message", E);
1199
1170
  break;
1200
1171
  }
1201
- else if (P.type.startsWith("/event/")) {
1202
- console.log("event message received", P);
1203
- const s1 = k.current[P.type];
1204
- s1 || console.log("no handlers found for event type", P.type), s1 && Object.values(s1).forEach((G) => {
1172
+ else if (E.type.startsWith("/event/")) {
1173
+ console.log("event message received", E);
1174
+ const t1 = k.current[E.type];
1175
+ t1 || console.log("no handlers found for event type", E.type), t1 && Object.values(t1).forEach((K) => {
1205
1176
  try {
1206
- G(P);
1207
- } catch (J) {
1208
- console.error(J);
1177
+ K(E);
1178
+ } catch (z) {
1179
+ console.error(z);
1209
1180
  }
1210
1181
  });
1211
- } else P.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(P)) : P.type.startsWith("/device/") && m.dispatch(N.setDeviceState(P));
1212
- } catch (P) {
1213
- console.error("websocket message handling error", P);
1182
+ } else E.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(E)) : E.type.startsWith("/device/") && m.dispatch(N.setDeviceState(E));
1183
+ } catch (E) {
1184
+ console.error("websocket message handling error", E);
1214
1185
  }
1215
1186
  };
1216
1187
  }
1217
- return E(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
1218
- I.current && (console.log("closing websocket dev mode"), I.current.close(4100, "app running in dev mode"), I.current = null);
1188
+ return y(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
1189
+ R.current && (console.log("closing websocket dev mode"), R.current.close(4100, "app running in dev mode"), R.current = null);
1219
1190
  };
1220
- }, [
1221
- a.apiPath,
1222
- X,
1223
- t,
1224
- L,
1225
- v
1226
- ]), c1(() => {
1191
+ }, [a.apiPath, X, t, D, g]), n1(() => {
1227
1192
  !r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
1228
1193
  }, [r, i, c, $]), /* @__PURE__ */ s.jsx(
1229
- R3.Provider,
1194
+ I3.Provider,
1230
1195
  {
1231
1196
  value: {
1232
1197
  sendMessage: $,
@@ -1238,36 +1203,36 @@ const A8 = ({ children: e }) => {
1238
1203
  children: c ? e : /* @__PURE__ */ s.jsx(_8, {})
1239
1204
  }
1240
1205
  );
1241
- }, me = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: m, children: /* @__PURE__ */ s.jsx(A8, { children: e }) });
1206
+ }, we = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: m, children: /* @__PURE__ */ s.jsx(D8, { children: e }) });
1242
1207
  function b() {
1243
- return h2(R3);
1208
+ return v2(I3);
1244
1209
  }
1245
- function B8({
1210
+ function $8({
1246
1211
  onPress: e,
1247
1212
  onRelease: t,
1248
- onHold: n,
1213
+ onHold: o,
1249
1214
  holdTimeMs: c = 500
1250
1215
  }) {
1251
- const r = h1(null), i = h1(!1);
1216
+ const r = v1(null), i = v1(!1);
1252
1217
  function d() {
1253
1218
  i.current = !0, e == null || e(), r.current = setTimeout(() => {
1254
- n == null || n(), r.current = null;
1219
+ o == null || o(), r.current = null;
1255
1220
  }, c);
1256
1221
  }
1257
1222
  function a() {
1258
1223
  i.current = !1, t == null || t(), r.current && (clearTimeout(r.current), r.current = null);
1259
1224
  }
1260
- function g() {
1225
+ function h() {
1261
1226
  i.current && a();
1262
1227
  }
1263
1228
  return {
1264
1229
  onPointerDown: d,
1265
1230
  onPointerUp: a,
1266
- onPointerLeave: g
1231
+ onPointerLeave: h
1267
1232
  };
1268
1233
  }
1269
- function h(e, t) {
1270
- const { sendMessage: c } = b(), r = h1(null);
1234
+ function p(e, t) {
1235
+ const { sendMessage: c } = b(), r = v1(null);
1271
1236
  function i() {
1272
1237
  c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
1273
1238
  c(`${e}/${t}`, { value: "held" });
@@ -1276,35 +1241,55 @@ function h(e, t) {
1276
1241
  function d() {
1277
1242
  r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
1278
1243
  }
1279
- return B8({ onPress: i, onRelease: d });
1244
+ return $8({ onPress: i, onRelease: d });
1245
+ }
1246
+ function R3(e) {
1247
+ const { sendMessage: t } = b(), o = p(`${e}`, "volumeUp"), c = p(`${e}`, "volumeDown");
1248
+ return {
1249
+ volumeUp: o,
1250
+ volumeDown: c,
1251
+ muteToggle: () => t(`${e}/muteToggle`, null)
1252
+ };
1280
1253
  }
1281
1254
  function y3(e, t) {
1282
- const { sendMessage: n, sendSimpleMessage: c } = b(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
1283
- return t ? {
1255
+ const { sendMessage: o, sendSimpleMessage: c } = b(), r = R3(e);
1256
+ if (!r) {
1257
+ console.log("baseVolume is undefined");
1258
+ return;
1259
+ }
1260
+ if (!t) {
1261
+ console.log("volumeState is undefined");
1262
+ return;
1263
+ }
1264
+ return {
1265
+ ...r,
1284
1266
  volumeState: t,
1285
- volumeUp: r,
1286
- volumeDown: i,
1287
- setLevel: (v) => c(`${e}/level`, v),
1288
- muteToggle: () => n(`${e}/muteToggle`, null),
1289
- muteOn: () => n(`${e}/muteOn`, null),
1290
- muteOff: () => n(`${e}/muteOff`, null)
1291
- } : void 0;
1267
+ setLevel: (h) => c(`${e}/level`, h),
1268
+ muteOn: () => o(`${e}/muteOn`, null),
1269
+ muteOff: () => o(`${e}/muteOff`, null)
1270
+ };
1292
1271
  }
1293
- function Ze(e, t) {
1294
- const { sendMessage: n, sendSimpleMessage: c } = b(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
1295
- return t ? {
1272
+ function xe(e, t) {
1273
+ const { sendMessage: o, sendSimpleMessage: c } = b(), r = R3(e);
1274
+ if (!r) {
1275
+ console.log("baseVolume is undefined");
1276
+ return;
1277
+ }
1278
+ if (!t) {
1279
+ console.log("volumeState is undefined");
1280
+ return;
1281
+ }
1282
+ return {
1283
+ ...r,
1296
1284
  volumeState: t,
1297
- volumeUp: r,
1298
- volumeDown: i,
1299
- setLevel: (v) => c(`${e}/level`, v),
1300
- muteToggle: () => n(`${e}/muteToggle`, null),
1301
- muteOn: () => n(`${e}/muteOn`, null),
1302
- muteOff: () => n(`${e}/muteOff`, null)
1303
- } : void 0;
1285
+ setLevel: (h) => c(`${e}/level`, h),
1286
+ muteOn: () => o(`${e}/muteOn`, null),
1287
+ muteOff: () => o(`${e}/muteOff`, null)
1288
+ };
1304
1289
  }
1305
- function O8(e) {
1306
- const t = y(e), n = `/device/${e}`;
1307
- return y3(n, t == null ? void 0 : t.volume);
1290
+ function A8(e) {
1291
+ const t = P(e), o = `/device/${e}`;
1292
+ return y3(o, t == null ? void 0 : t.volume);
1308
1293
  }
1309
1294
  function E3(e) {
1310
1295
  const { sendMessage: t } = b();
@@ -1317,222 +1302,196 @@ function E3(e) {
1317
1302
  } };
1318
1303
  }
1319
1304
  function k1(e) {
1320
- const { sendMessage: t } = b(), n = y(e);
1321
- return console.log("deviceState", n), n ? { itemsState: n, selectItem: (r) => {
1305
+ const { sendMessage: t } = b(), o = P(e);
1306
+ return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
1322
1307
  t(`/device/${e}/${r}`, null);
1323
1308
  } } : void 0;
1324
1309
  }
1325
- function V8(e) {
1326
- const { sendMessage: t } = b(), n = y(e), c = () => {
1310
+ function B8(e) {
1311
+ const { sendMessage: t } = b(), o = P(e), c = () => {
1327
1312
  t(`/device/${e}/setDefaultChannelLevels`, null);
1328
1313
  }, r = () => {
1329
- if ((n == null ? void 0 : n.levelControls) === void 0) return;
1330
- Object.keys(n == null ? void 0 : n.levelControls).forEach((a) => {
1314
+ if ((o == null ? void 0 : o.levelControls) === void 0) return;
1315
+ Object.keys(o == null ? void 0 : o.levelControls).forEach((a) => {
1331
1316
  t(`/device/${e}/${a}/fullStatus`, null);
1332
1317
  });
1333
1318
  };
1334
- return n ? { levelControls: n.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1319
+ return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1335
1320
  }
1336
- function je(e) {
1337
- const t = y(e), n = E3(e), c = k1(e), r = k1(e), i = O8(e), d = V8(e);
1321
+ function Me(e) {
1322
+ const t = P(e), o = E3(e), c = k1(e), r = k1(e), i = A8(e), d = B8(e);
1338
1323
  if (t)
1339
1324
  return {
1340
1325
  avrState: t,
1341
- powerControl: n,
1326
+ powerControl: o,
1342
1327
  inputControl: c,
1343
1328
  surroundSoundModes: r,
1344
1329
  surroundChannels: d,
1345
1330
  mainVolumeControl: i
1346
1331
  };
1347
1332
  }
1348
- function Se(e) {
1349
- const { sendMessage: t } = b(), n = `/device/${e}`, c = y(e), r = h(n, "cameraUp"), i = h(n, "cameraDown"), d = h(n, "cameraLeft"), a = h(n, "cameraRight"), g = h(n, "cameraZoomIn"), x = h(n, "cameraZoomOut"), v = (I) => t("/camera/recallPreset", I);
1350
- if (c)
1351
- return {
1352
- state: c,
1353
- zoomIn: g,
1354
- zoomOut: x,
1355
- up: r,
1356
- down: i,
1357
- left: d,
1358
- right: a,
1359
- recallPreset: v
1360
- };
1361
- }
1362
- const Ce = ({ className: e }) => {
1363
- const [t, n] = K();
1364
- return c1(() => {
1333
+ const me = ({ className: e }) => {
1334
+ const [t, o] = H();
1335
+ return n1(() => {
1365
1336
  setInterval(() => {
1366
1337
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1367
- n(c);
1338
+ o(c);
1368
1339
  }, 1e3);
1369
1340
  }, []), /* @__PURE__ */ s.jsxs("div", { className: e, children: [
1370
1341
  t,
1371
1342
  " new change"
1372
1343
  ] });
1373
1344
  };
1374
- function be(e) {
1375
- const { sendMessage: t } = b(), n = y(e), c = `/device/${e}`;
1376
- return n ? { state: n, recallPreset: (d, a) => {
1345
+ function Ze(e) {
1346
+ const { sendMessage: t } = b(), o = P(e), c = `/device/${e}`;
1347
+ return o ? { state: o, recallPreset: (d, a) => {
1377
1348
  t(`${c}/presets/recall`, { deviceKey: d, preset: a });
1378
1349
  }, savePresets: (d) => {
1379
1350
  t(`${c}/presets/save`, d);
1380
1351
  } } : void 0;
1381
1352
  }
1382
- function Ie(e) {
1383
- const t = y(e);
1353
+ function je(e) {
1354
+ const t = P(e);
1384
1355
  if (t)
1385
1356
  return { endpointState: t };
1386
1357
  }
1387
- function Re(e) {
1388
- const t = `/device/${e}`, n = h(t, "chanUp"), c = h(t, "chanDown"), r = h(t, "lastChan"), i = h(t, "guide"), d = h(t, "info"), a = h(t, "exit");
1389
- return { channelUp: n, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
1358
+ function Se(e) {
1359
+ const t = `/device/${e}`, o = p(t, "chanUp"), c = p(t, "chanDown"), r = p(t, "lastChan"), i = p(t, "guide"), d = p(t, "info"), a = p(t, "exit");
1360
+ return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
1390
1361
  }
1391
- function ye(e) {
1392
- const t = `/device/${e}`, n = h(t, "red"), c = h(t, "green"), r = h(t, "yellow"), i = h(t, "blue");
1393
- return { red: n, green: c, yellow: r, blue: i };
1362
+ function Ce(e) {
1363
+ const t = `/device/${e}`, o = p(t, "red"), c = p(t, "green"), r = p(t, "yellow"), i = p(t, "blue");
1364
+ return { red: o, green: c, yellow: r, blue: i };
1394
1365
  }
1395
- function Ee(e) {
1396
- const t = y(e);
1366
+ function be(e) {
1367
+ const t = P(e);
1397
1368
  if (t)
1398
1369
  return {
1399
1370
  communicationMonitorState: t
1400
1371
  };
1401
1372
  }
1402
- function Pe(e) {
1403
- const t = y(e);
1373
+ function Ie(e) {
1374
+ const t = P(e);
1404
1375
  if (t)
1405
1376
  return t.deviceInfo || void 0;
1406
1377
  }
1407
- function Te(e) {
1408
- const t = `/device/${e}`, n = h(t, "up"), c = h(t, "down"), r = h(t, "left"), i = h(t, "right"), d = h(t, "select"), a = h(t, "menu"), g = h(t, "exit");
1409
- return { up: n, down: c, left: r, right: i, select: d, menu: a, exit: g };
1378
+ function Re(e) {
1379
+ const t = `/device/${e}`, o = p(t, "up"), c = p(t, "down"), r = p(t, "left"), i = p(t, "right"), d = p(t, "select"), a = p(t, "menu"), h = p(t, "exit");
1380
+ return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: h };
1410
1381
  }
1411
- function _e(e) {
1382
+ function ye(e) {
1412
1383
  const { sendMessage: t } = b();
1413
1384
  return { recallPreset: (c) => {
1414
- t(
1415
- `/device/${e}/recallPreset`,
1416
- c.key || c
1417
- );
1385
+ t(`/device/${e}/recallPreset`, c);
1418
1386
  } };
1419
1387
  }
1420
- function De(e) {
1421
- const t = `/device/${e}`, n = h(t, "dvrList"), c = h(t, "record");
1422
- return { dvrList: n, record: c };
1388
+ function Ee(e) {
1389
+ const t = `/device/${e}`, o = p(t, "dvrList"), c = p(t, "record");
1390
+ return { dvrList: o, record: c };
1423
1391
  }
1424
- function Le(e) {
1425
- const { sendMessage: t } = b(), n = y(e);
1426
- return n ? { roomCombinerState: n, setAutoMode: () => {
1392
+ function _e(e) {
1393
+ const { sendMessage: t } = b(), o = P(e);
1394
+ return o ? { roomCombinerState: o, setAutoMode: () => {
1427
1395
  t(`/device/${e}/setAutoMode`, null);
1428
1396
  }, setManualMode: () => {
1429
1397
  t(`/device/${e}/setManualMode`, null);
1430
1398
  }, toggleMode: () => {
1431
1399
  t(`/device/${e}/toggleMode`, null);
1432
- }, togglePartitionState: (g) => {
1433
- t(`/device/${e}/togglePartitionState`, g);
1434
- }, setRoomCombinationScenario: (g) => {
1435
- t(`/device/${e}/setRoomCombinationScenario`, g);
1400
+ }, togglePartitionState: (h) => {
1401
+ t(`/device/${e}/togglePartitionState`, h);
1402
+ }, setRoomCombinationScenario: (h) => {
1403
+ t(`/device/${e}/setRoomCombinationScenario`, h);
1436
1404
  } } : void 0;
1437
1405
  }
1438
- function $e(e) {
1439
- const { sendMessage: t } = b(), n = `/device/${e}`, c = y(e);
1440
- return c ? {
1441
- state: c,
1442
- selectCamera: (i) => {
1443
- t(`${n}/selectCamera`, i);
1444
- }
1445
- } : void 0;
1446
- }
1447
- function Ae(e) {
1448
- const t = y(e);
1406
+ function Pe(e) {
1407
+ const t = P(e);
1449
1408
  if (t)
1450
1409
  return { state: t };
1451
1410
  }
1452
- function Be(e) {
1453
- const { sendMessage: t, sendSimpleMessage: n } = b(), c = y(e), r = K2(e), i = c || r;
1411
+ function Te(e) {
1412
+ const { sendMessage: t, sendSimpleMessage: o } = b(), c = P(e), r = G2(e), i = c || r;
1454
1413
  return i ? {
1455
1414
  levelState: i,
1456
- setLevel: (v, I) => n(`${v}/level`, I),
1457
- muteToggle: (v) => t(`${v}/muteToggle`, null),
1458
- muteOn: (v) => t(`${v}/muteOn`, null),
1459
- muteOff: (v) => t(`${v}/muteOff`, null)
1415
+ setLevel: (g, R) => o(`${g}/level`, R),
1416
+ muteToggle: (g) => t(`${g}/muteToggle`, null),
1417
+ muteOn: (g) => t(`${g}/muteOn`, null),
1418
+ muteOff: (g) => t(`${g}/muteOff`, null)
1460
1419
  } : void 0;
1461
1420
  }
1462
- function Oe(e) {
1463
- const { sendMessage: t } = b(), n = y(e);
1464
- return n ? { lightingState: n, selectScene: (r) => {
1421
+ function Le(e) {
1422
+ const { sendMessage: t } = b(), o = P(e);
1423
+ return o ? { lightingState: o, selectScene: (r) => {
1465
1424
  t(`/device/${e}/selectScene`, r);
1466
1425
  } } : void 0;
1467
1426
  }
1468
- function Ve(e) {
1469
- const { sendMessage: t } = b(), n = y(e);
1470
- return n ? { matrixRoutingState: n, setRoute: (r) => {
1427
+ function De(e) {
1428
+ const { sendMessage: t } = b(), o = P(e);
1429
+ return o ? { matrixRoutingState: o, setRoute: (r) => {
1471
1430
  t(`/device/${e}/route`, r);
1472
1431
  } } : void 0;
1473
1432
  }
1474
- function ke(e) {
1433
+ function $e(e) {
1475
1434
  const { sendMessage: t } = b();
1476
1435
  return { closeApp: () => {
1477
1436
  t(`/device/${e}/closeWebViewController`, null);
1478
1437
  } };
1479
1438
  }
1480
- function Ue(e) {
1481
- const t = `/device/${e}`, n = h(t, "num0"), c = h(t, "num1"), r = h(t, "num2"), i = h(t, "num3"), d = h(t, "num4"), a = h(t, "num5"), g = h(t, "num6"), x = h(t, "num7"), v = h(t, "num8"), I = h(t, "num9"), L = h(t, "numDash"), H = h(t, "numEnter");
1439
+ function Ae(e) {
1440
+ const t = `/device/${e}`, o = p(t, "num0"), c = p(t, "num1"), r = p(t, "num2"), i = p(t, "num3"), d = p(t, "num4"), a = p(t, "num5"), h = p(t, "num6"), x = p(t, "num7"), g = p(t, "num8"), R = p(t, "num9"), D = p(t, "numDash"), F = p(t, "numEnter");
1482
1441
  return {
1483
- digit0: n,
1442
+ digit0: o,
1484
1443
  digit1: c,
1485
1444
  digit2: r,
1486
1445
  digit3: i,
1487
1446
  digit4: d,
1488
1447
  digit5: a,
1489
- digit6: g,
1448
+ digit6: h,
1490
1449
  digit7: x,
1491
- digit8: v,
1492
- digit9: I,
1493
- keypadAccessoryButton1: L,
1494
- keypadAccessoryButton2: H
1450
+ digit8: g,
1451
+ digit9: R,
1452
+ keypadAccessoryButton1: D,
1453
+ keypadAccessoryButton2: F
1495
1454
  };
1496
1455
  }
1497
- function We(e) {
1498
- const { sendMessage: t } = b(), n = y(e);
1499
- return n ? { projectorScreenLiftControlState: n, raise: () => {
1456
+ function Be(e) {
1457
+ const { sendMessage: t } = b(), o = P(e);
1458
+ return o ? { projectorScreenLiftControlState: o, raise: () => {
1500
1459
  t(`/device/${e}/raise`, null);
1501
1460
  }, lower: () => {
1502
1461
  t(`/device/${e}/lower`, null);
1503
1462
  } } : void 0;
1504
1463
  }
1505
- function Fe(e) {
1506
- const { sendMessage: t } = b(), n = S1(e);
1507
- return n ? { roomEventScheduleState: n, save: (r) => {
1464
+ function Oe(e) {
1465
+ const { sendMessage: t } = b(), o = S1(e);
1466
+ return o ? { roomEventScheduleState: o, save: (r) => {
1508
1467
  t(`/room/${e}/saveScheduledEvents`, r);
1509
1468
  } } : void 0;
1510
1469
  }
1511
- function He(e) {
1470
+ function Ve(e) {
1512
1471
  const { sendMessage: t } = b();
1513
1472
  return { runDefaultPresentRoute: () => {
1514
1473
  t(`/room/${e}/defaultsource`, {});
1515
1474
  } };
1516
1475
  }
1517
- function Ke(e) {
1476
+ function ke(e) {
1518
1477
  const { sendMessage: t } = b();
1519
1478
  return { runDirectRoute: (c) => {
1520
1479
  t(`/room/${e}/directRoute`, c);
1521
1480
  } };
1522
1481
  }
1523
- function Ge(e) {
1482
+ function Ue(e) {
1524
1483
  const { sendMessage: t } = b();
1525
- return { routingState: y(e), runRoute: (r) => {
1484
+ return { routingState: P(e), runRoute: (r) => {
1526
1485
  t(`/room/${e}/source`, r);
1527
1486
  } };
1528
1487
  }
1529
- function qe(e) {
1530
- const t = `/device/${e}`, n = h(t, "chanUp"), c = h(t, "chanDown");
1531
- return { dvrList: n, replay: c };
1488
+ function We(e) {
1489
+ const t = `/device/${e}`, o = p(t, "chanUp"), c = p(t, "chanDown");
1490
+ return { dvrList: o, replay: c };
1532
1491
  }
1533
- function Ye(e) {
1534
- const { sendMessage: t } = b(), n = y(e);
1535
- return n ? { shadeState: n, shadeUp: () => {
1492
+ function Fe(e) {
1493
+ const { sendMessage: t } = b(), o = P(e);
1494
+ return o ? { shadeState: o, shadeUp: () => {
1536
1495
  t(`/device/${e}/shadeUp`, null);
1537
1496
  }, shadeDown: () => {
1538
1497
  t(`/device/${e}/shadeDown`, null);
@@ -1540,9 +1499,9 @@ function Ye(e) {
1540
1499
  t(`/device/${e}/stopOrPreset`, null);
1541
1500
  } } : void 0;
1542
1501
  }
1543
- function ze(e) {
1544
- const { sendMessage: t } = b(), n = S1(e);
1545
- return n ? { shutdownPromptTimerState: n, setShutdownPromptSeconds: (a) => {
1502
+ function He(e) {
1503
+ const { sendMessage: t } = b(), o = S1(e);
1504
+ return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (a) => {
1546
1505
  t(`/room/${e}/setShutdownPromptSeconds`, a);
1547
1506
  }, shutdownStart: () => {
1548
1507
  t(`/room/${e}/shutdownStart`, null);
@@ -1552,147 +1511,139 @@ function ze(e) {
1552
1511
  t(`/room/${e}/shutdownCancel`, null);
1553
1512
  } } : void 0;
1554
1513
  }
1555
- function Je(e) {
1556
- const { sendMessage: t } = b(), n = y(e);
1557
- return n ? { switchedOutputState: n, on: () => {
1514
+ function Ke(e) {
1515
+ const { sendMessage: t } = b(), o = P(e);
1516
+ return o ? { switchedOutputState: o, on: () => {
1558
1517
  t(`/device/${e}/on`, null);
1559
1518
  }, off: () => {
1560
1519
  t(`/device/${e}/off`, null);
1561
1520
  } } : void 0;
1562
1521
  }
1563
- function Xe(e) {
1564
- const { sendMessage: t } = b(), n = S1(e);
1565
- return n ? { techPasswordState: n, validatePassword: (i) => {
1522
+ function Ge(e) {
1523
+ const { sendMessage: t } = b(), o = S1(e);
1524
+ return o ? { techPasswordState: o, validatePassword: (i) => {
1566
1525
  t(`/room/${e}/validateTechPassword`, { password: i });
1567
1526
  }, setPassword: (i, d) => {
1568
1527
  t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
1569
1528
  } } : void 0;
1570
1529
  }
1571
- function Qe(e) {
1572
- const { sendMessage: t } = b(), n = y(e);
1573
- return n ? { state: n, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1530
+ function qe(e) {
1531
+ const { sendMessage: t } = b(), o = P(e);
1532
+ return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1574
1533
  }
1575
- function Ne(e) {
1576
- const { sendMessage: t } = b(), n = y(e), c = (r) => {
1534
+ function Ye(e) {
1535
+ const { sendMessage: t } = b(), o = P(e), c = (r) => {
1577
1536
  t(`/device/${e}/saveTheme`, { value: r });
1578
1537
  };
1579
1538
  return {
1580
- currentTheme: n == null ? void 0 : n.theme,
1539
+ currentTheme: o == null ? void 0 : o.theme,
1581
1540
  saveTheme: c
1582
1541
  };
1583
1542
  }
1584
- function e5(e) {
1585
- const t = `/device/${e}`, n = h(t, "play"), c = h(t, "pause"), r = h(t, "stop"), i = h(t, "prevTrack"), d = h(t, "nextTrack"), a = h(t, "rewind"), g = h(t, "ffwd"), x = h(t, "record");
1543
+ function ze(e) {
1544
+ const t = `/device/${e}`, o = p(t, "play"), c = p(t, "pause"), r = p(t, "stop"), i = p(t, "prevTrack"), d = p(t, "nextTrack"), a = p(t, "rewind"), h = p(t, "ffwd"), x = p(t, "record");
1586
1545
  return {
1587
- play: n,
1546
+ play: o,
1588
1547
  pause: c,
1589
1548
  stop: r,
1590
1549
  prevTrack: i,
1591
1550
  nextTrack: d,
1592
1551
  rewind: a,
1593
- fastForward: g,
1552
+ fastForward: h,
1594
1553
  record: x
1595
1554
  };
1596
1555
  }
1597
- function t5(e) {
1598
- const t = y(e), { sendMessage: n } = b();
1556
+ function Je(e) {
1557
+ const t = P(e), { sendMessage: o } = b();
1599
1558
  return t ? {
1600
1559
  touchpanelState: t,
1601
1560
  appControl: { hideApp: () => {
1602
- n(`/device/${e}/hideApp`, null);
1561
+ o(`/device/${e}/hideApp`, null);
1603
1562
  }, openApp: () => {
1604
- n(`/device/${e}/openApp`, null);
1563
+ o(`/device/${e}/openApp`, null);
1605
1564
  }, closeApp: () => {
1606
- n(`/device/${e}/closeApp`, null);
1565
+ o(`/device/${e}/closeApp`, null);
1607
1566
  } },
1608
1567
  zoomControl: { endCall: () => {
1609
- n(`/device/${e}/endCall`, null);
1568
+ o(`/device/${e}/endCall`, null);
1610
1569
  } }
1611
1570
  } : void 0;
1612
1571
  }
1613
- function s5(e) {
1614
- const t = y(e), n = E3(e), c = k1(e);
1572
+ function Xe(e) {
1573
+ const t = P(e), o = E3(e), c = k1(e);
1615
1574
  if (!t) return;
1616
1575
  const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
1617
1576
  return {
1618
1577
  displayState: t,
1619
- powerControl: n,
1578
+ powerControl: o,
1620
1579
  inputControl: c,
1621
1580
  powerFb: { powerOnFb: r, powerOffFb: i }
1622
1581
  };
1623
1582
  }
1624
- const n5 = ({
1583
+ const Qe = ({
1625
1584
  config: e
1626
1585
  }) => {
1627
1586
  const { sendMessage: t } = b();
1628
- c1(() => {
1587
+ n1(() => {
1629
1588
  var c, r, i, d;
1630
1589
  if (!e)
1631
1590
  return;
1632
- const n = /* @__PURE__ */ new Set();
1591
+ const o = /* @__PURE__ */ new Set();
1633
1592
  if (e.destinations && Object.values(e.destinations).forEach((a) => {
1634
- n.add(a);
1593
+ o.add(a);
1635
1594
  }), e.destinationList && Object.values(e.destinationList).forEach((a) => {
1636
- n.add(a.sinkKey);
1595
+ o.add(a.sinkKey);
1637
1596
  }), e.audioControlPointList && Object.values((c = e.audioControlPointList) == null ? void 0 : c.levelControls).forEach(
1638
1597
  (a) => {
1639
- a.itemKey ? n.add(a.parentDeviceKey + "--" + a.itemKey) : n.add(a.parentDeviceKey);
1598
+ a.itemKey ? o.add(a.parentDeviceKey + "--" + a.itemKey) : o.add(a.parentDeviceKey);
1640
1599
  }
1641
1600
  ), (r = e.touchpanelKeys) == null || r.forEach((a) => {
1642
- n.add(a);
1601
+ o.add(a);
1643
1602
  }), (i = e.environmentalDevices) == null || i.forEach((a) => {
1644
- a.deviceKey && n.add(a.deviceKey);
1603
+ a.deviceKey && o.add(a.deviceKey);
1645
1604
  }), (d = e.accessoryDeviceKeys) == null || d.forEach((a) => {
1646
- n.add(a);
1647
- }), e.audioCodecKey && n.add(e.audioCodecKey), e.videoCodecKey && n.add(e.videoCodecKey), e.matrixRoutingKey && n.add(e.matrixRoutingKey), e.roomCombinerKey && n.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((a) => {
1648
- n.add(a);
1605
+ o.add(a);
1606
+ }), e.audioCodecKey && o.add(e.audioCodecKey), e.videoCodecKey && o.add(e.videoCodecKey), e.matrixRoutingKey && o.add(e.matrixRoutingKey), e.roomCombinerKey && o.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((a) => {
1607
+ o.add(a);
1649
1608
  }), e.sourceList)
1650
1609
  for (const a of Object.values(e.sourceList))
1651
- a.sourceKey && a.sourceKey !== "$off" && n.add(a.sourceKey);
1652
- console.log("requesting state for deviceKeys:", n), n.forEach((a) => {
1610
+ a.sourceKey && a.sourceKey !== "$off" && o.add(a.sourceKey);
1611
+ console.log("requesting state for deviceKeys:", o), o.forEach((a) => {
1653
1612
  t(`/device/${a}/fullStatus`, { deviceKey: a });
1654
1613
  });
1655
1614
  }, [e, t]);
1656
1615
  };
1657
- function o5(e, t) {
1658
- const [n, c] = K(!1), [r, i] = K(!1);
1616
+ function Ne(e, t) {
1617
+ const [o, c] = H(!1), [r, i] = H(!1);
1659
1618
  return x3(() => {
1660
1619
  const { current: d } = e, a = () => {
1661
- const g = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
1662
- i(g ?? !1), c(x ?? !1), t && t(g ?? !1, x ?? !1);
1620
+ const h = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
1621
+ i(h ?? !1), c(x ?? !1), t && t(h ?? !1, x ?? !1);
1663
1622
  };
1664
1623
  d && a();
1665
- }, [e, t]), { overflowHorizontal: n, overflowVertical: r };
1624
+ }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1666
1625
  }
1667
- function c5(e, t) {
1668
- const n = H2(e, t), c = `/room/${e}/volumes/${t}`;
1669
- return y3(c, n);
1626
+ function e5(e, t) {
1627
+ const o = K2(e, t), c = `/room/${e}/volumes/${t}`;
1628
+ return y3(c, o);
1670
1629
  }
1671
- function r5(e) {
1672
- var a, g;
1673
- const [t, n] = K(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = K(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
1674
- const { current: v } = e;
1675
- v && (console.log(v.scrollLeft), v.scrollLeft += x, console.log(v.scrollLeft));
1630
+ function t5(e) {
1631
+ var a, h;
1632
+ const [t, o] = H(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = H(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (x) => {
1633
+ const { current: g } = e;
1634
+ g && (console.log(g.scrollLeft), g.scrollLeft += x, console.log(g.scrollLeft));
1676
1635
  }, d = (x) => {
1677
- const { current: v } = e;
1678
- v && (console.log(v.scrollTop), v.scrollTop += x, console.log(v.scrollTop));
1636
+ const { current: g } = e;
1637
+ g && (console.log(g.scrollTop), g.scrollTop += x, console.log(g.scrollTop));
1679
1638
  };
1680
1639
  return x3(() => {
1681
- const { current: x } = e, v = () => {
1682
- n((x == null ? void 0 : x.scrollLeft) ?? 0), r((x == null ? void 0 : x.scrollTop) ?? 0);
1640
+ const { current: x } = e, g = () => {
1641
+ o((x == null ? void 0 : x.scrollLeft) ?? 0), r((x == null ? void 0 : x.scrollTop) ?? 0);
1683
1642
  };
1684
- x && v();
1643
+ x && g();
1685
1644
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
1686
1645
  }
1687
- function l5(e) {
1688
- const t = m3();
1689
- return [() => {
1690
- t(F.addSyncState(e));
1691
- }, () => {
1692
- t(F.removeSyncState(e));
1693
- }, f8(e)];
1694
- }
1695
- function i5() {
1646
+ function s5() {
1696
1647
  const { sendMessage: e } = b();
1697
1648
  return {
1698
1649
  reboot: () => {
@@ -1703,65 +1654,65 @@ function i5() {
1703
1654
  }
1704
1655
  };
1705
1656
  }
1706
- function a5() {
1707
- const [e, t] = K(), [n, c] = K();
1657
+ function o5() {
1658
+ const [e, t] = H(), [o, c] = H();
1708
1659
  function r() {
1709
1660
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1710
1661
  const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1711
1662
  c(i);
1712
1663
  }
1713
- return c1(() => {
1664
+ return n1(() => {
1714
1665
  r();
1715
1666
  const i = setInterval(() => {
1716
1667
  r();
1717
1668
  }, 1e3);
1718
1669
  return () => clearInterval(i);
1719
- }, []), { date: e, time: n };
1670
+ }, []), { date: e, time: o };
1720
1671
  }
1721
- const u5 = () => {
1722
- const [e, t] = K(!1), n = g2(), c = f2();
1672
+ const n5 = () => {
1673
+ const [e, t] = H(!1), o = g2(), c = f2();
1723
1674
  let r;
1724
1675
  return p2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1725
1676
  /* @__PURE__ */ s.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ s.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1726
- /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => n(-1), children: "Go Back" }),
1677
+ /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => o(-1), children: "Go Back" }),
1727
1678
  /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
1728
1679
  e && /* @__PURE__ */ s.jsx("p", { children: r })
1729
1680
  ] });
1730
- }, k8 = "_iconbtn_16qss_1", U8 = "_iconbtnvert_16qss_7", W8 = "_iconsm_16qss_18", $1 = {
1731
- iconbtn: k8,
1732
- iconbtnvert: U8,
1733
- iconsm: W8
1734
- }, F8 = ({
1681
+ }, O8 = "_iconbtn_16qss_1", V8 = "_iconbtnvert_16qss_7", k8 = "_iconsm_16qss_18", $1 = {
1682
+ iconbtn: O8,
1683
+ iconbtnvert: V8,
1684
+ iconsm: k8
1685
+ }, U8 = ({
1735
1686
  multiIcon: e,
1736
1687
  otherContent: t = null,
1737
- vert: n = !1,
1688
+ vert: o = !1,
1738
1689
  className: c,
1739
1690
  iconClassName: r = "",
1740
1691
  otherContentClassName: i = "",
1741
1692
  disabled: d,
1742
1693
  feedback: a,
1743
- feedbackClassName: g,
1694
+ feedbackClassName: h,
1744
1695
  onPointerDown: x,
1745
- onPointerUp: v,
1746
- onPointerLeave: I,
1747
- ...L
1696
+ onPointerUp: g,
1697
+ onPointerLeave: R,
1698
+ ...D
1748
1699
  }) => {
1749
- const [H, k] = K(!1), X = !d && a ? g : "", r1 = !d && (H || a);
1700
+ const [F, k] = H(!1), X = !d && a ? h : "", r1 = !d && (F || a);
1750
1701
  return /* @__PURE__ */ s.jsxs(
1751
1702
  "button",
1752
1703
  {
1753
1704
  type: "button",
1754
- className: `${$1.iconbtn} ${n ? $1.iconbtnvert : ""} ${c} ${X}`,
1755
- ...L,
1705
+ className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${X}`,
1706
+ ...D,
1756
1707
  disabled: d,
1757
1708
  onPointerDown: ($) => {
1758
1709
  k(!0), x == null || x($);
1759
1710
  },
1760
1711
  onPointerUp: ($) => {
1761
- k(!1), v == null || v($);
1712
+ k(!1), g == null || g($);
1762
1713
  },
1763
1714
  onPointerLeave: ($) => {
1764
- k(!1), I == null || I($);
1715
+ k(!1), R == null || R($);
1765
1716
  },
1766
1717
  children: [
1767
1718
  e && /* @__PURE__ */ s.jsx(
@@ -1779,13 +1730,13 @@ const u5 = () => {
1779
1730
  }, j = ({
1780
1731
  ActiveImage: e,
1781
1732
  DisabledImage: t,
1782
- EnabledImage: n,
1733
+ EnabledImage: o,
1783
1734
  active: c,
1784
1735
  disabled: r
1785
- }) => r ? t : c ? e : n, H8 = ({
1736
+ }) => r ? t : c ? e : o, W8 = ({
1786
1737
  active: e,
1787
1738
  className: t = "",
1788
- disabled: n
1739
+ disabled: o
1789
1740
  }) => /* @__PURE__ */ s.jsx(
1790
1741
  j,
1791
1742
  {
@@ -1832,12 +1783,12 @@ const u5 = () => {
1832
1783
  }
1833
1784
  ),
1834
1785
  active: e,
1835
- disabled: n
1786
+ disabled: o
1836
1787
  }
1837
- ), K8 = ({
1788
+ ), F8 = ({
1838
1789
  active: e,
1839
1790
  className: t = "",
1840
- disabled: n
1791
+ disabled: o
1841
1792
  }) => /* @__PURE__ */ s.jsx(
1842
1793
  j,
1843
1794
  {
@@ -1881,12 +1832,12 @@ const u5 = () => {
1881
1832
  )
1882
1833
  ),
1883
1834
  active: e,
1884
- disabled: n
1835
+ disabled: o
1885
1836
  }
1886
- ), G8 = ({
1837
+ ), H8 = ({
1887
1838
  active: e,
1888
1839
  className: t = "",
1889
- disabled: n
1840
+ disabled: o
1890
1841
  }) => /* @__PURE__ */ s.jsx(
1891
1842
  j,
1892
1843
  {
@@ -1921,12 +1872,12 @@ const u5 = () => {
1921
1872
  }
1922
1873
  ),
1923
1874
  active: e,
1924
- disabled: n
1875
+ disabled: o
1925
1876
  }
1926
- ), q8 = ({
1877
+ ), K8 = ({
1927
1878
  active: e,
1928
1879
  className: t = "",
1929
- disabled: n
1880
+ disabled: o
1930
1881
  }) => /* @__PURE__ */ s.jsx(
1931
1882
  j,
1932
1883
  {
@@ -1970,13 +1921,13 @@ const u5 = () => {
1970
1921
  )
1971
1922
  ),
1972
1923
  active: e,
1973
- disabled: n
1924
+ disabled: o
1974
1925
  }
1975
- ), Y8 = ({
1926
+ ), G8 = ({
1976
1927
  active: e,
1977
1928
  // Just to shut up the linter on this template. Prefer deleting this lint rule
1978
1929
  className: t = "",
1979
- disabled: n
1930
+ disabled: o
1980
1931
  }) => /* @__PURE__ */ s.jsx(
1981
1932
  j,
1982
1933
  {
@@ -2038,12 +1989,12 @@ const u5 = () => {
2038
1989
  )
2039
1990
  ),
2040
1991
  active: e,
2041
- disabled: n
1992
+ disabled: o
2042
1993
  }
2043
- ), z8 = ({
1994
+ ), q8 = ({
2044
1995
  active: e,
2045
1996
  className: t = "",
2046
- disabled: n
1997
+ disabled: o
2047
1998
  }) => /* @__PURE__ */ s.jsx(
2048
1999
  j,
2049
2000
  {
@@ -2087,12 +2038,12 @@ const u5 = () => {
2087
2038
  )
2088
2039
  ),
2089
2040
  active: e,
2090
- disabled: n
2041
+ disabled: o
2091
2042
  }
2092
- ), J8 = ({
2043
+ ), Y8 = ({
2093
2044
  active: e,
2094
2045
  className: t = "",
2095
- disabled: n
2046
+ disabled: o
2096
2047
  }) => /* @__PURE__ */ s.jsx(
2097
2048
  j,
2098
2049
  {
@@ -2136,12 +2087,12 @@ const u5 = () => {
2136
2087
  )
2137
2088
  ),
2138
2089
  active: e,
2139
- disabled: n
2090
+ disabled: o
2140
2091
  }
2141
- ), X8 = ({
2092
+ ), z8 = ({
2142
2093
  active: e,
2143
2094
  className: t = "",
2144
- disabled: n
2095
+ disabled: o
2145
2096
  }) => /* @__PURE__ */ s.jsx(
2146
2097
  j,
2147
2098
  {
@@ -2185,12 +2136,12 @@ const u5 = () => {
2185
2136
  )
2186
2137
  ),
2187
2138
  active: e,
2188
- disabled: n
2139
+ disabled: o
2189
2140
  }
2190
- ), Q8 = ({
2141
+ ), J8 = ({
2191
2142
  active: e,
2192
2143
  className: t = "",
2193
- disabled: n
2144
+ disabled: o
2194
2145
  }) => /* @__PURE__ */ s.jsx(
2195
2146
  j,
2196
2147
  {
@@ -2234,12 +2185,12 @@ const u5 = () => {
2234
2185
  )
2235
2186
  ),
2236
2187
  active: e,
2237
- disabled: n
2188
+ disabled: o
2238
2189
  }
2239
- ), N8 = ({
2190
+ ), X8 = ({
2240
2191
  active: e,
2241
2192
  className: t = "",
2242
- disabled: n
2193
+ disabled: o
2243
2194
  }) => /* @__PURE__ */ s.jsx(
2244
2195
  j,
2245
2196
  {
@@ -2283,13 +2234,13 @@ const u5 = () => {
2283
2234
  )
2284
2235
  ),
2285
2236
  active: e,
2286
- disabled: n
2237
+ disabled: o
2287
2238
  }
2288
- ), e6 = ({
2239
+ ), Q8 = ({
2289
2240
  active: e,
2290
2241
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2291
2242
  className: t = "",
2292
- disabled: n
2243
+ disabled: o
2293
2244
  }) => /* @__PURE__ */ s.jsx(
2294
2245
  j,
2295
2246
  {
@@ -2351,12 +2302,12 @@ const u5 = () => {
2351
2302
  )
2352
2303
  ),
2353
2304
  active: e,
2354
- disabled: n
2305
+ disabled: o
2355
2306
  }
2356
- ), t6 = ({
2307
+ ), N8 = ({
2357
2308
  active: e,
2358
2309
  className: t = "",
2359
- disabled: n
2310
+ disabled: o
2360
2311
  }) => /* @__PURE__ */ s.jsx(
2361
2312
  j,
2362
2313
  {
@@ -2400,12 +2351,12 @@ const u5 = () => {
2400
2351
  )
2401
2352
  ),
2402
2353
  active: e,
2403
- disabled: n
2354
+ disabled: o
2404
2355
  }
2405
- ), s6 = ({
2356
+ ), e6 = ({
2406
2357
  active: e,
2407
2358
  className: t = "",
2408
- disabled: n
2359
+ disabled: o
2409
2360
  }) => /* @__PURE__ */ s.jsx(
2410
2361
  j,
2411
2362
  {
@@ -2449,12 +2400,12 @@ const u5 = () => {
2449
2400
  )
2450
2401
  ),
2451
2402
  active: e,
2452
- disabled: n
2403
+ disabled: o
2453
2404
  }
2454
- ), n6 = ({
2405
+ ), t6 = ({
2455
2406
  active: e,
2456
2407
  className: t = "",
2457
- disabled: n
2408
+ disabled: o
2458
2409
  }) => /* @__PURE__ */ s.jsx(
2459
2410
  j,
2460
2411
  {
@@ -2498,12 +2449,12 @@ const u5 = () => {
2498
2449
  )
2499
2450
  ),
2500
2451
  active: e,
2501
- disabled: n
2452
+ disabled: o
2502
2453
  }
2503
- ), o6 = ({
2454
+ ), s6 = ({
2504
2455
  active: e,
2505
2456
  className: t = "",
2506
- disabled: n
2457
+ disabled: o
2507
2458
  }) => /* @__PURE__ */ s.jsx(
2508
2459
  j,
2509
2460
  {
@@ -2547,12 +2498,12 @@ const u5 = () => {
2547
2498
  )
2548
2499
  ),
2549
2500
  active: e,
2550
- disabled: n
2501
+ disabled: o
2551
2502
  }
2552
- ), c6 = ({
2503
+ ), o6 = ({
2553
2504
  active: e,
2554
2505
  className: t = "",
2555
- disabled: n
2506
+ disabled: o
2556
2507
  }) => /* @__PURE__ */ s.jsx(
2557
2508
  j,
2558
2509
  {
@@ -2569,12 +2520,12 @@ const u5 = () => {
2569
2520
  /* @__PURE__ */ s.jsx("svg", { className: t, fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 164.61 164.61", children: /* @__PURE__ */ s.jsx("g", { children: /* @__PURE__ */ s.jsx("path", { d: "M131.62,102.87c-1.96,2.47-6.77,4.24-6.77,4.24l-35.75,12.84v-9.47l26.31-9.37c2.99-1.07,3.44-2.58,1.02-3.38-2.42-.8-6.81-.57-9.8.51l-17.53,6.17v-9.83l1.01-.34s5.07-1.79,12.19-2.58c7.12-.78,15.85.11,22.69,2.7,7.72,2.44,8.59,6.03,6.63,8.51ZM92.51,86.75v-24.22c0-2.84-.52-5.46-3.19-6.2-2.04-.65-3.31,1.24-3.31,4.09v60.65l-16.36-5.19V43.55c6.95,1.29,17.09,4.34,22.53,6.18,13.85,4.76,18.55,10.67,18.55,24.01s-8.02,17.93-18.22,13ZM39.63,109.49c-7.92-2.23-9.24-6.88-5.63-9.56,3.34-2.47,9.01-4.33,9.01-4.33l23.45-8.34v9.51l-16.88,6.04c-2.98,1.07-3.44,2.58-1.02,3.38,2.42.79,6.81.57,9.8-.5l8.1-2.94v8.51c-.51.09-1.09.18-1.61.27-8.1,1.32-16.72.77-25.22-2.03h0ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z" }) }) })
2570
2521
  ),
2571
2522
  active: e,
2572
- disabled: n
2523
+ disabled: o
2573
2524
  }
2574
- ), r6 = ({
2525
+ ), n6 = ({
2575
2526
  active: e,
2576
2527
  className: t = "",
2577
- disabled: n
2528
+ disabled: o
2578
2529
  }) => /* @__PURE__ */ s.jsx(
2579
2530
  j,
2580
2531
  {
@@ -2618,12 +2569,12 @@ const u5 = () => {
2618
2569
  )
2619
2570
  ),
2620
2571
  active: e,
2621
- disabled: n
2572
+ disabled: o
2622
2573
  }
2623
- ), l6 = ({
2574
+ ), c6 = ({
2624
2575
  active: e,
2625
2576
  className: t = "",
2626
- disabled: n
2577
+ disabled: o
2627
2578
  }) => /* @__PURE__ */ s.jsx(
2628
2579
  j,
2629
2580
  {
@@ -2667,12 +2618,12 @@ const u5 = () => {
2667
2618
  )
2668
2619
  ),
2669
2620
  active: e,
2670
- disabled: n
2621
+ disabled: o
2671
2622
  }
2672
- ), i6 = ({
2623
+ ), r6 = ({
2673
2624
  active: e,
2674
2625
  className: t = "",
2675
- disabled: n
2626
+ disabled: o
2676
2627
  }) => /* @__PURE__ */ s.jsx(
2677
2628
  j,
2678
2629
  {
@@ -2716,12 +2667,12 @@ const u5 = () => {
2716
2667
  )
2717
2668
  ),
2718
2669
  active: e,
2719
- disabled: n
2670
+ disabled: o
2720
2671
  }
2721
- ), a6 = ({
2672
+ ), l6 = ({
2722
2673
  active: e,
2723
2674
  className: t = "",
2724
- disabled: n
2675
+ disabled: o
2725
2676
  }) => /* @__PURE__ */ s.jsx(
2726
2677
  j,
2727
2678
  {
@@ -2765,12 +2716,12 @@ const u5 = () => {
2765
2716
  )
2766
2717
  ),
2767
2718
  active: e,
2768
- disabled: n
2719
+ disabled: o
2769
2720
  }
2770
- ), u6 = ({
2721
+ ), i6 = ({
2771
2722
  active: e,
2772
2723
  className: t = "",
2773
- disabled: n
2724
+ disabled: o
2774
2725
  }) => /* @__PURE__ */ s.jsx(
2775
2726
  j,
2776
2727
  {
@@ -2814,13 +2765,13 @@ const u5 = () => {
2814
2765
  )
2815
2766
  ),
2816
2767
  active: e,
2817
- disabled: n
2768
+ disabled: o
2818
2769
  }
2819
- ), d6 = ({
2770
+ ), a6 = ({
2820
2771
  active: e,
2821
2772
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2822
2773
  className: t = "",
2823
- disabled: n
2774
+ disabled: o
2824
2775
  }) => /* @__PURE__ */ s.jsx(
2825
2776
  j,
2826
2777
  {
@@ -2882,12 +2833,12 @@ const u5 = () => {
2882
2833
  )
2883
2834
  ),
2884
2835
  active: e,
2885
- disabled: n
2836
+ disabled: o
2886
2837
  }
2887
- ), v6 = ({
2838
+ ), u6 = ({
2888
2839
  active: e,
2889
2840
  className: t = "",
2890
- disabled: n
2841
+ disabled: o
2891
2842
  }) => /* @__PURE__ */ s.jsx(
2892
2843
  j,
2893
2844
  {
@@ -2931,12 +2882,12 @@ const u5 = () => {
2931
2882
  )
2932
2883
  ),
2933
2884
  active: e,
2934
- disabled: n
2885
+ disabled: o
2935
2886
  }
2936
- ), h6 = ({
2887
+ ), d6 = ({
2937
2888
  active: e,
2938
2889
  className: t = "",
2939
- disabled: n
2890
+ disabled: o
2940
2891
  }) => /* @__PURE__ */ s.jsx(
2941
2892
  j,
2942
2893
  {
@@ -2980,14 +2931,14 @@ const u5 = () => {
2980
2931
  )
2981
2932
  ),
2982
2933
  active: e,
2983
- disabled: n
2934
+ disabled: o
2984
2935
  }
2985
- ), d5 = ({
2936
+ ), c5 = ({
2986
2937
  active: e,
2987
2938
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2988
2939
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2989
2940
  className: t = "",
2990
- disabled: n
2941
+ disabled: o
2991
2942
  }) => /* @__PURE__ */ s.jsx(
2992
2943
  j,
2993
2944
  {
@@ -2995,12 +2946,12 @@ const u5 = () => {
2995
2946
  DisabledImage: void 0,
2996
2947
  EnabledImage: void 0,
2997
2948
  active: e,
2998
- disabled: n
2949
+ disabled: o
2999
2950
  }
3000
- ), g6 = ({
2951
+ ), h6 = ({
3001
2952
  active: e,
3002
2953
  className: t = "",
3003
- disabled: n
2954
+ disabled: o
3004
2955
  }) => /* @__PURE__ */ s.jsx(
3005
2956
  j,
3006
2957
  {
@@ -3044,12 +2995,12 @@ const u5 = () => {
3044
2995
  )
3045
2996
  ),
3046
2997
  active: e,
3047
- disabled: n
2998
+ disabled: o
3048
2999
  }
3049
- ), f6 = ({
3000
+ ), v6 = ({
3050
3001
  active: e,
3051
3002
  className: t = "",
3052
- disabled: n
3003
+ disabled: o
3053
3004
  }) => /* @__PURE__ */ s.jsx(
3054
3005
  j,
3055
3006
  {
@@ -3093,12 +3044,12 @@ const u5 = () => {
3093
3044
  )
3094
3045
  ),
3095
3046
  active: e,
3096
- disabled: n
3047
+ disabled: o
3097
3048
  }
3098
- ), p6 = ({
3049
+ ), g6 = ({
3099
3050
  active: e,
3100
3051
  className: t = "",
3101
- disabled: n
3052
+ disabled: o
3102
3053
  }) => /* @__PURE__ */ s.jsx(
3103
3054
  j,
3104
3055
  {
@@ -3142,12 +3093,12 @@ const u5 = () => {
3142
3093
  )
3143
3094
  ),
3144
3095
  active: e,
3145
- disabled: n
3096
+ disabled: o
3146
3097
  }
3147
- ), w6 = ({
3098
+ ), f6 = ({
3148
3099
  active: e,
3149
3100
  className: t = "",
3150
- disabled: n
3101
+ disabled: o
3151
3102
  }) => /* @__PURE__ */ s.jsx(
3152
3103
  j,
3153
3104
  {
@@ -3191,12 +3142,12 @@ const u5 = () => {
3191
3142
  )
3192
3143
  ),
3193
3144
  active: e,
3194
- disabled: n
3145
+ disabled: o
3195
3146
  }
3196
- ), x6 = ({
3147
+ ), p6 = ({
3197
3148
  active: e,
3198
3149
  className: t = "",
3199
- disabled: n
3150
+ disabled: o
3200
3151
  }) => /* @__PURE__ */ s.jsx(
3201
3152
  j,
3202
3153
  {
@@ -3240,12 +3191,12 @@ const u5 = () => {
3240
3191
  )
3241
3192
  ),
3242
3193
  active: e,
3243
- disabled: n
3194
+ disabled: o
3244
3195
  }
3245
- ), M6 = ({
3196
+ ), w6 = ({
3246
3197
  active: e,
3247
3198
  className: t = "",
3248
- disabled: n
3199
+ disabled: o
3249
3200
  }) => /* @__PURE__ */ s.jsx(
3250
3201
  j,
3251
3202
  {
@@ -3289,12 +3240,12 @@ const u5 = () => {
3289
3240
  )
3290
3241
  ),
3291
3242
  active: e,
3292
- disabled: n
3243
+ disabled: o
3293
3244
  }
3294
- ), m6 = ({
3245
+ ), x6 = ({
3295
3246
  active: e,
3296
3247
  className: t = "",
3297
- disabled: n
3248
+ disabled: o
3298
3249
  }) => /* @__PURE__ */ s.jsx(
3299
3250
  j,
3300
3251
  {
@@ -3338,12 +3289,12 @@ const u5 = () => {
3338
3289
  )
3339
3290
  ),
3340
3291
  active: e,
3341
- disabled: n
3292
+ disabled: o
3342
3293
  }
3343
- ), Z6 = ({
3294
+ ), M6 = ({
3344
3295
  active: e,
3345
3296
  className: t = "",
3346
- disabled: n
3297
+ disabled: o
3347
3298
  }) => /* @__PURE__ */ s.jsx(
3348
3299
  j,
3349
3300
  {
@@ -3387,295 +3338,283 @@ const u5 = () => {
3387
3338
  )
3388
3339
  ),
3389
3340
  active: e,
3390
- disabled: n
3391
- }
3392
- ), j6 = {
3393
- Alert: H8,
3394
- Camera: G8,
3395
- DownArrow: z8,
3396
- Ban: K8,
3397
- Check: q8,
3398
- Controller: Y8,
3399
- Elipses: J8,
3400
- Flag: X8,
3401
- Gear: Q8,
3402
- Glass: N8,
3403
- Hdmi: e6,
3404
- Laptop: t6,
3405
- LeftArrow: s6,
3406
- Light: n6,
3407
- Mic: Z6,
3408
- Moon: o6,
3409
- Playstation: c6,
3410
- Podium: r6,
3411
- Power: l6,
3412
- Privacy: i6,
3413
- Question: a6,
3414
- RightArrow: u6,
3415
- RoomPC: d6,
3416
- Shade: v6,
3417
- Sun: h6,
3418
- UpArrow: g6,
3419
- VolDown: f6,
3420
- VolMute: p6,
3421
- VolUp: w6,
3422
- Wireless: x6,
3423
- X: M6,
3424
- Xbox: m6
3341
+ disabled: o
3342
+ }
3343
+ ), m6 = {
3344
+ Alert: W8,
3345
+ Camera: H8,
3346
+ DownArrow: q8,
3347
+ Ban: F8,
3348
+ Check: K8,
3349
+ Controller: G8,
3350
+ Elipses: Y8,
3351
+ Flag: z8,
3352
+ Gear: J8,
3353
+ Glass: X8,
3354
+ Hdmi: Q8,
3355
+ Laptop: N8,
3356
+ LeftArrow: e6,
3357
+ Light: t6,
3358
+ Mic: M6,
3359
+ Moon: s6,
3360
+ Playstation: o6,
3361
+ Podium: n6,
3362
+ Power: c6,
3363
+ Privacy: r6,
3364
+ Question: l6,
3365
+ RightArrow: i6,
3366
+ RoomPC: a6,
3367
+ Shade: u6,
3368
+ Sun: d6,
3369
+ UpArrow: h6,
3370
+ VolDown: v6,
3371
+ VolMute: g6,
3372
+ VolUp: f6,
3373
+ Wireless: p6,
3374
+ X: w6,
3375
+ Xbox: x6
3425
3376
  };
3426
- function v5({
3377
+ function r5({
3427
3378
  name: e,
3428
- iconsDictionary: t = j6,
3429
- ...n
3379
+ iconsDictionary: t = m6,
3380
+ ...o
3430
3381
  }) {
3431
3382
  const c = t[e] ?? null;
3432
- return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(F8, { multiIcon: c, ...n });
3433
- }
3434
- const S6 = "_grid_1cmpp_1", C6 = "_header_1cmpp_11", b6 = "_content_1cmpp_17", I6 = "_footer_1cmpp_23", R6 = "_volume_1cmpp_29", v1 = {
3435
- grid: S6,
3436
- header: C6,
3437
- content: b6,
3438
- footer: I6,
3439
- volume: R6
3440
- }, h5 = ({ header: e, footer: t, content: n, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: v1.grid, children: [
3441
- /* @__PURE__ */ s.jsx("div", { className: v1.header, children: e }),
3442
- /* @__PURE__ */ s.jsx("div", { className: v1.content, children: n }),
3443
- r && /* @__PURE__ */ s.jsx("div", { className: v1.volume, children: c }),
3444
- /* @__PURE__ */ s.jsx("div", { className: v1.footer, children: t })
3445
- ] }), y6 = "_grid_11w5q_1", E6 = "_header_11w5q_11", P6 = "_content_11w5q_17", Z1 = {
3446
- grid: y6,
3447
- header: E6,
3448
- content: P6
3449
- }, g5 = ({ className: e, header: t, content: n, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3383
+ return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(U8, { multiIcon: c, ...o });
3384
+ }
3385
+ const Z6 = "_grid_1cmpp_1", j6 = "_header_1cmpp_11", S6 = "_content_1cmpp_17", C6 = "_footer_1cmpp_23", b6 = "_volume_1cmpp_29", h1 = {
3386
+ grid: Z6,
3387
+ header: j6,
3388
+ content: S6,
3389
+ footer: C6,
3390
+ volume: b6
3391
+ }, l5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3392
+ /* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
3393
+ /* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
3394
+ r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
3395
+ /* @__PURE__ */ s.jsx("div", { className: h1.footer, children: t })
3396
+ ] }), I6 = "_grid_11w5q_1", R6 = "_header_11w5q_11", y6 = "_content_11w5q_17", Z1 = {
3397
+ grid: I6,
3398
+ header: R6,
3399
+ content: y6
3400
+ }, i5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3450
3401
  /* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
3451
3402
  c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
3452
- /* @__PURE__ */ s.jsx("div", { className: Z1.content, children: n })
3453
- ] }), T6 = "_grid_1uwfo_1", _6 = "_header_1uwfo_11", D6 = "_content_1uwfo_17", A1 = {
3454
- grid: T6,
3403
+ /* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
3404
+ ] }), E6 = "_grid_1uwfo_1", _6 = "_header_1uwfo_11", P6 = "_content_1uwfo_17", A1 = {
3405
+ grid: E6,
3455
3406
  header: _6,
3456
- content: D6
3457
- }, f5 = ({ className: e, header: t, content: n }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3407
+ content: P6
3408
+ }, a5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3458
3409
  /* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
3459
- /* @__PURE__ */ s.jsx("div", { className: A1.content, children: n })
3410
+ /* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
3460
3411
  ] });
3461
- class p5 {
3462
- constructor() {
3463
- q(this, "currentShareText");
3464
- q(this, "enabled");
3465
- q(this, "isSharing");
3466
- }
3467
- }
3468
- function w5() {
3412
+ function u5() {
3469
3413
  return console.log(location.pathname), location.pathname;
3470
3414
  }
3471
- var L6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(L6 || {});
3472
- class x5 {
3473
- constructor(t, n) {
3474
- q(this, "path");
3475
- q(this, "handler");
3476
- this.path = t, this.handler = n;
3415
+ var T6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(T6 || {});
3416
+ class d5 {
3417
+ constructor(t, o) {
3418
+ G(this, "path");
3419
+ G(this, "handler");
3420
+ this.path = t, this.handler = o;
3421
+ }
3422
+ }
3423
+ const h5 = "$off";
3424
+ class v5 {
3425
+ constructor() {
3426
+ G(this, "currentShareText");
3427
+ G(this, "enabled");
3428
+ G(this, "isSharing");
3477
3429
  }
3478
3430
  }
3479
- const M5 = "$off";
3480
3431
  export {
3481
- Ce as Clock,
3482
- L6 as DaysOfWeek,
3483
- u5 as ErrorBox,
3484
- F8 as IconButton,
3485
- H8 as IconMultiAlert,
3486
- K8 as IconMultiBan,
3487
- G8 as IconMultiCamera,
3488
- q8 as IconMultiCheck,
3489
- Y8 as IconMultiController,
3490
- z8 as IconMultiDownArrow,
3491
- J8 as IconMultiElipses,
3492
- X8 as IconMultiFlag,
3493
- Q8 as IconMultiGear,
3494
- N8 as IconMultiGlass,
3495
- e6 as IconMultiHdmi,
3496
- t6 as IconMultiLaptop,
3497
- s6 as IconMultiLeftArrow,
3498
- n6 as IconMultiLight,
3499
- Z6 as IconMultiMic,
3500
- o6 as IconMultiMoon,
3501
- c6 as IconMultiPlaystation,
3502
- r6 as IconMultiPodium,
3503
- l6 as IconMultiPower,
3504
- i6 as IconMultiPrivacy,
3505
- a6 as IconMultiQuestion,
3506
- u6 as IconMultiRightArrow,
3507
- d6 as IconMultiRoomPC,
3508
- v6 as IconMultiShade,
3509
- h6 as IconMultiSun,
3510
- d5 as IconMultiTemplate,
3511
- g6 as IconMultiUpArrow,
3512
- f6 as IconMultiVolDown,
3513
- p6 as IconMultiVolMute,
3514
- w6 as IconMultiVolUp,
3515
- x6 as IconMultiWireless,
3516
- M6 as IconMultiX,
3517
- m6 as IconMultiXbox,
3518
- h5 as MainLayout,
3519
- x5 as MessageHandler,
3520
- me as MobileControlProvider,
3432
+ me as Clock,
3433
+ T6 as DaysOfWeek,
3434
+ n5 as ErrorBox,
3435
+ U8 as IconButton,
3436
+ W8 as IconMultiAlert,
3437
+ F8 as IconMultiBan,
3438
+ H8 as IconMultiCamera,
3439
+ K8 as IconMultiCheck,
3440
+ G8 as IconMultiController,
3441
+ q8 as IconMultiDownArrow,
3442
+ Y8 as IconMultiElipses,
3443
+ z8 as IconMultiFlag,
3444
+ J8 as IconMultiGear,
3445
+ X8 as IconMultiGlass,
3446
+ Q8 as IconMultiHdmi,
3447
+ N8 as IconMultiLaptop,
3448
+ e6 as IconMultiLeftArrow,
3449
+ t6 as IconMultiLight,
3450
+ M6 as IconMultiMic,
3451
+ s6 as IconMultiMoon,
3452
+ o6 as IconMultiPlaystation,
3453
+ n6 as IconMultiPodium,
3454
+ c6 as IconMultiPower,
3455
+ r6 as IconMultiPrivacy,
3456
+ l6 as IconMultiQuestion,
3457
+ i6 as IconMultiRightArrow,
3458
+ a6 as IconMultiRoomPC,
3459
+ u6 as IconMultiShade,
3460
+ d6 as IconMultiSun,
3461
+ c5 as IconMultiTemplate,
3462
+ h6 as IconMultiUpArrow,
3463
+ v6 as IconMultiVolDown,
3464
+ g6 as IconMultiVolMute,
3465
+ f6 as IconMultiVolUp,
3466
+ p6 as IconMultiWireless,
3467
+ w6 as IconMultiX,
3468
+ x6 as IconMultiXbox,
3469
+ l5 as MainLayout,
3470
+ d5 as MessageHandler,
3471
+ we as MobileControlProvider,
3521
3472
  j as MultiStateIconContainer,
3522
- v5 as NamedIconButton,
3523
- p5 as ShareState,
3524
- g5 as TechLayout,
3525
- f5 as TechPinLayout,
3526
- R3 as WebsocketContext,
3527
- M8 as appConfigActions,
3528
- N as devicesActions,
3529
- w5 as getBaseLocation,
3473
+ r5 as NamedIconButton,
3474
+ v5 as ShareState,
3475
+ i5 as TechLayout,
3476
+ a5 as TechPinLayout,
3477
+ u5 as getBaseLocation,
3530
3478
  V1 as httpClient,
3531
- j6 as iconsDictionary,
3532
- M5 as roomOffSourceKey,
3533
- e1 as roomsActions,
3534
- W as runtimeConfigActions,
3535
- j3 as selectAllDevices,
3536
- x2 as selectApiPath,
3537
- w2 as selectAppConfig,
3538
- Y2 as selectClientId,
3479
+ m6 as iconsDictionary,
3480
+ h5 as roomOffSourceKey,
3481
+ Z3 as selectAllDevices,
3482
+ M2 as selectApiPath,
3483
+ x2 as selectAppConfig,
3484
+ z2 as selectClientId,
3539
3485
  l8 as selectCurrentPopoverIdForGroup,
3540
- j2 as selectDeviceByKey,
3541
- t8 as selectDeviceInterfaceSupport,
3486
+ S2 as selectDeviceByKey,
3542
3487
  a8 as selectError,
3543
- v8 as selectIsSyncStateValuePresent,
3544
- e8 as selectIsTouchpanel,
3545
- M2 as selectLogoPath,
3488
+ t8 as selectIsTouchpanel,
3489
+ m2 as selectLogoPath,
3546
3490
  U1 as selectModalVisibility,
3547
- m2 as selectPartnerMetadata,
3548
- k2 as selectRoomAdvancedSharingActive,
3491
+ Z2 as selectPartnerMetadata,
3492
+ U2 as selectRoomAdvancedSharingActive,
3549
3493
  P2 as selectRoomAudioControlPointList,
3550
- b2 as selectRoomByKey,
3551
- $2 as selectRoomCodecContentDestinationKey,
3552
- S2 as selectRoomConfiguration,
3553
- _2 as selectRoomDestinationList,
3494
+ I2 as selectRoomByKey,
3495
+ A2 as selectRoomCodecContentDestinationKey,
3496
+ C2 as selectRoomConfiguration,
3497
+ L2 as selectRoomDestinationList,
3554
3498
  T2 as selectRoomDestinations,
3555
- F2 as selectRoomDisplayStates,
3499
+ H2 as selectRoomDisplayStates,
3556
3500
  D2 as selectRoomEnvironmentalDevices,
3557
- A2 as selectRoomInCall,
3558
- O2 as selectRoomIsCoolingDown,
3559
- V2 as selectRoomIsOn,
3560
- B2 as selectRoomIsWarmingUp,
3561
- q2 as selectRoomKey,
3562
- y2 as selectRoomLevelControls,
3563
- I2 as selectRoomName,
3564
- L2 as selectRoomProgramAudioDestinationKey,
3565
- U2 as selectRoomShareState,
3566
- E2 as selectRoomSourceList,
3567
- R2 as selectRoomVolume,
3568
- C2 as selectRooms,
3569
- Q2 as selectRuntimeInfo,
3570
- X2 as selectServerIsRunningOnProcessorHardware,
3501
+ B2 as selectRoomInCall,
3502
+ V2 as selectRoomIsCoolingDown,
3503
+ k2 as selectRoomIsOn,
3504
+ O2 as selectRoomIsWarmingUp,
3505
+ Y2 as selectRoomKey,
3506
+ E2 as selectRoomLevelControls,
3507
+ R2 as selectRoomName,
3508
+ $2 as selectRoomProgramAudioDestinationKey,
3509
+ W2 as selectRoomShareState,
3510
+ _2 as selectRoomSourceList,
3511
+ y2 as selectRoomVolume,
3512
+ b2 as selectRooms,
3513
+ N2 as selectRuntimeInfo,
3514
+ Q2 as selectServerIsRunningOnProcessorHardware,
3571
3515
  i8 as selectShowPopoverById,
3572
3516
  u8 as selectShowReconnect,
3573
- z2 as selectSystemUuid,
3517
+ J2 as selectSystemUuid,
3574
3518
  d8 as selectTheme,
3575
- N2 as selectTouchpanelKey,
3576
- J2 as selectUserCode,
3577
- G2 as selectWsIsConnected,
3578
- W2 as selectZoomRoomControllerKey,
3519
+ e8 as selectTouchpanelKey,
3520
+ X2 as selectUserCode,
3521
+ q2 as selectWsIsConnected,
3522
+ F2 as selectZoomRoomControllerKey,
3579
3523
  m as store,
3580
- F as uiActions,
3581
- w8 as uiReducer,
3582
- U6 as useApiPath,
3583
- Z2 as useAppConfig,
3584
- m3 as useAppDispatch,
3585
- p as useAppSelector,
3586
- je as useAvrControl,
3587
- h as useButtonHeldHeartbeat,
3588
- Se as useCameraBase,
3589
- n8 as useClientId,
3590
- O8 as useDeviceIBasicVolumeWithFeedback,
3591
- he as useDeviceInterfaceSupport,
3592
- be as useDevicePresetsModel,
3593
- Ie as useEndpoint,
3524
+ q as uiActions,
3525
+ f8 as uiReducer,
3526
+ V6 as useApiPath,
3527
+ j2 as useAppConfig,
3528
+ w2 as useAppDispatch,
3529
+ f as useAppSelector,
3530
+ Me as useAvrControl,
3531
+ p as useButtonHeldHeartbeat,
3532
+ o8 as useClientId,
3533
+ A8 as useDeviceIBasicVolumeWithFeedback,
3534
+ Ze as useDevicePresetsModel,
3535
+ je as useEndpoint,
3594
3536
  h8 as useError,
3595
- n5 as useGetAllDeviceStateFromRoomConfiguration,
3596
- H6 as useGetAllDevices,
3597
- G6 as useGetAllRooms,
3598
- we as useGetCurrentPopoverIdForGroup,
3599
- y as useGetDevice,
3600
- Ze as useGetIBasicVolumeWithFeedback,
3601
- q6 as useGetRoom,
3602
- ie as useGetRoomDisplayStates,
3603
- ae as useGetZoomRoomControllerKey,
3537
+ Qe as useGetAllDeviceStateFromRoomConfiguration,
3538
+ W6 as useGetAllDevices,
3539
+ H6 as useGetAllRooms,
3540
+ ge as useGetCurrentPopoverIdForGroup,
3541
+ P as useGetDevice,
3542
+ xe as useGetIBasicVolumeWithFeedback,
3543
+ K6 as useGetRoom,
3544
+ re as useGetRoomDisplayStates,
3545
+ le as useGetZoomRoomControllerKey,
3604
3546
  y3 as useIBasicVolumeWithFeedback,
3605
- Re as useIChannel,
3606
- ye as useIColor,
3607
- Ee as useICommunicationMonitor,
3608
- Te as useIDPad,
3609
- Pe as useIDeviceInfoMessenger,
3610
- _e as useIDspPresets,
3611
- De as useIDvr,
3612
- Le as useIEssentialsRoomCombiner,
3613
- $e as useIHasCameras,
3547
+ Se as useIChannel,
3548
+ Ce as useIColor,
3549
+ be as useICommunicationMonitor,
3550
+ Re as useIDPad,
3551
+ Ie as useIDeviceInfoMessenger,
3552
+ ye as useIDspPresets,
3553
+ Ee as useIDvr,
3554
+ _e as useIEssentialsRoomCombiner,
3614
3555
  E3 as useIHasPowerControl,
3615
3556
  k1 as useIHasSelectableItems,
3616
- Ae as useIHumiditySensor,
3617
- Be as useILevelControls,
3618
- Oe as useILightingScenes,
3619
- Ve as useIMatrixRouting,
3620
- ke as useIMcCiscoCodecUserInterfaceAppControl,
3621
- Ue as useINumeric,
3622
- We as useIProjectorScreenLiftControl,
3623
- Fe as useIRoomEventSchedule,
3624
- He as useIRunDefaultPresentRoute,
3625
- Ke as useIRunDirectRouteAction,
3626
- Ge as useIRunRouteAction,
3627
- qe as useISetTopBoxControls,
3628
- Ye as useIShadesOpenCloseStop,
3629
- ze as useIShutdownPromptTimer,
3630
- Je as useISwitchedOutput,
3631
- Xe as useITechPassword,
3632
- Qe as useITemperatureSensor,
3633
- Ne as useITheme,
3634
- e5 as useITransport,
3635
- I8 as useInitialize,
3636
- f8 as useIsSyncStateValuePresent,
3637
- ve as useIsTouchpanel,
3638
- W6 as useLogoPath,
3639
- t5 as useMobileControlTouchpanelController,
3640
- o5 as useOverflow,
3641
- F6 as usePartnerMetadata,
3642
- B8 as usePressHoldRelease,
3643
- re as useRoomAdvancedSharingActive,
3644
- J6 as useRoomAudioControlPointList,
3645
- te as useRoomCodecContentDestinationKey,
3646
- K6 as useRoomConfiguration,
3647
- Q6 as useRoomDestinationList,
3648
- X6 as useRoomDestinations,
3649
- N6 as useRoomEnvironmentalDevices,
3650
- c5 as useRoomIBasicVolumeWithFeedback,
3651
- se as useRoomInCall,
3652
- oe as useRoomIsCoolingDown,
3653
- ce as useRoomIsOn,
3654
- ne as useRoomIsWarmingUp,
3557
+ Pe as useIHumiditySensor,
3558
+ Te as useILevelControls,
3559
+ Le as useILightingScenes,
3560
+ De as useIMatrixRouting,
3561
+ $e as useIMcCiscoCodecUserInterfaceAppControl,
3562
+ Ae as useINumeric,
3563
+ Be as useIProjectorScreenLiftControl,
3564
+ Oe as useIRoomEventSchedule,
3565
+ Ve as useIRunDefaultPresentRoute,
3566
+ ke as useIRunDirectRouteAction,
3567
+ Ue as useIRunRouteAction,
3568
+ We as useISetTopBoxControls,
3569
+ Fe as useIShadesOpenCloseStop,
3570
+ He as useIShutdownPromptTimer,
3571
+ Ke as useISwitchedOutput,
3572
+ Ge as useITechPassword,
3573
+ qe as useITemperatureSensor,
3574
+ Ye as useITheme,
3575
+ ze as useITransport,
3576
+ C8 as useInitialize,
3577
+ ue as useIsTouchpanel,
3578
+ k6 as useLogoPath,
3579
+ Je as useMobileControlTouchpanelController,
3580
+ Ne as useOverflow,
3581
+ U6 as usePartnerMetadata,
3582
+ $8 as usePressHoldRelease,
3583
+ ne as useRoomAdvancedSharingActive,
3584
+ Y6 as useRoomAudioControlPointList,
3585
+ N6 as useRoomCodecContentDestinationKey,
3586
+ F6 as useRoomConfiguration,
3587
+ J6 as useRoomDestinationList,
3588
+ z6 as useRoomDestinations,
3589
+ X6 as useRoomEnvironmentalDevices,
3590
+ e5 as useRoomIBasicVolumeWithFeedback,
3591
+ ee as useRoomInCall,
3592
+ se as useRoomIsCoolingDown,
3593
+ oe as useRoomIsOn,
3594
+ te as useRoomIsWarmingUp,
3655
3595
  s8 as useRoomKey,
3656
- K2 as useRoomLevelControls,
3657
- Y6 as useRoomName,
3658
- ee as useRoomProgramAudioDestinationKey,
3659
- le as useRoomShareState,
3660
- z6 as useRoomSourceList,
3596
+ G2 as useRoomLevelControls,
3597
+ G6 as useRoomName,
3598
+ Q6 as useRoomProgramAudioDestinationKey,
3599
+ ce as useRoomShareState,
3600
+ q6 as useRoomSourceList,
3661
3601
  S1 as useRoomState,
3662
- H2 as useRoomVolume,
3663
- ue as useRuntimeInfo,
3664
- r5 as useScroll,
3602
+ K2 as useRoomVolume,
3603
+ ie as useRuntimeInfo,
3604
+ t5 as useScroll,
3665
3605
  r8 as useServerIsRunningOnProcessorHardware,
3666
- fe as useShowIncomingCallModal,
3667
- pe as useShowModal,
3668
- xe as useShowPopoverById,
3669
- g8 as useShowReconnect,
3670
- ge as useShowShutdownModal,
3671
- l5 as useStateIsSynced,
3672
- i5 as useSystemControl,
3673
- o8 as useSystemUuid,
3674
- Me as useTheme,
3675
- a5 as useTimeAndDate,
3676
- de as useTouchpanelKey,
3677
- s5 as useTwoWayDisplayBase,
3606
+ he as useShowIncomingCallModal,
3607
+ ve as useShowModal,
3608
+ fe as useShowPopoverById,
3609
+ v8 as useShowReconnect,
3610
+ de as useShowShutdownModal,
3611
+ s5 as useSystemControl,
3612
+ n8 as useSystemUuid,
3613
+ pe as useTheme,
3614
+ o5 as useTimeAndDate,
3615
+ ae as useTouchpanelKey,
3616
+ Xe as useTwoWayDisplayBase,
3678
3617
  c8 as useUserCode,
3679
3618
  b as useWebsocketContext,
3680
- S3 as useWsIsConnected
3619
+ j3 as useWsIsConnected
3681
3620
  };