@pepperdash/mobile-control-react-app-core 1.11.0 → 1.13.0

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 (37) hide show
  1. package/dist/mobile-control-react-app-core.es.js +767 -724
  2. package/dist/mobile-control-react-app-core.umd.js +11 -11
  3. package/dist/shared/hooks/index.d.ts +1 -0
  4. package/dist/shared/hooks/index.d.ts.map +1 -1
  5. package/dist/shared/hooks/interfaces/index.d.ts +2 -0
  6. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
  7. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +5 -0
  8. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -0
  9. package/dist/shared/hooks/interfaces/useITheme.d.ts +7 -0
  10. package/dist/shared/hooks/interfaces/useITheme.d.ts.map +1 -0
  11. package/dist/shared/hooks/useSystemControl.d.ts +5 -0
  12. package/dist/shared/hooks/useSystemControl.d.ts.map +1 -0
  13. package/dist/shared/layout/ErrorBox.d.ts.map +1 -1
  14. package/dist/store/rooms/rooms.slice.d.ts +46 -16
  15. package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
  16. package/dist/store/rooms/roomsSelectors.d.ts +1 -1
  17. package/dist/store/rooms/roomsSelectors.d.ts.map +1 -1
  18. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +119 -7
  19. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
  20. package/dist/store/runtimeConfig/runtimeSelectors.d.ts +11 -0
  21. package/dist/store/runtimeConfig/runtimeSelectors.d.ts.map +1 -1
  22. package/dist/types/classes/room-data.d.ts +12 -1
  23. package/dist/types/classes/room-data.d.ts.map +1 -1
  24. package/dist/types/state/AudioControlPointListItemBase.d.ts +10 -0
  25. package/dist/types/state/AudioControlPointListItemBase.d.ts.map +1 -0
  26. package/dist/types/state/LevelControlListItem.d.ts +2 -6
  27. package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
  28. package/dist/types/state/PresetListItem.d.ts +4 -0
  29. package/dist/types/state/PresetListItem.d.ts.map +1 -0
  30. package/dist/types/state/index.d.ts +2 -0
  31. package/dist/types/state/index.d.ts.map +1 -1
  32. package/dist/types/state/state/MobileControlTouchpanelState.d.ts +4 -1
  33. package/dist/types/state/state/MobileControlTouchpanelState.d.ts.map +1 -1
  34. package/dist/types/state/state/RoomState.d.ts +8 -3
  35. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  36. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  37. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
1
  var J3 = Object.defineProperty;
2
2
  var X3 = (t, e, s) => e in t ? J3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
- var D = (t, e, s) => (X3(t, typeof e != "symbol" ? e + "" : e, s), s);
3
+ var V = (t, e, s) => (X3(t, typeof e != "symbol" ? e + "" : e, s), s);
4
4
  import Q3, { AxiosError as N3 } from "axios";
5
5
  import { createSlice as d1, combineReducers as e2, configureStore as u3, createSelector as t2 } from "@reduxjs/toolkit";
6
6
  import { useSelector as o2, useDispatch as s2, Provider as n2 } from "react-redux";
7
7
  import * as d3 from "lodash";
8
- import v3, { createContext as c2, useState as H, useRef as u1, useCallback as r1, useEffect as t1, useContext as r2, useLayoutEffect as h3 } from "react";
9
- import { useNavigate as l2 } from "react-router-dom";
10
- const i2 = {
8
+ import h3, { createContext as r2, useState as H, useRef as u1, useCallback as c1, useEffect as t1, useContext as c2, useLayoutEffect as v3 } from "react";
9
+ import { useNavigate as l2, useRouteError as i2, isRouteErrorResponse as a2 } from "react-router-dom";
10
+ const u2 = {
11
11
  config: {
12
12
  enableDev: !1,
13
13
  apiPath: "",
@@ -19,45 +19,45 @@ const i2 = {
19
19
  }
20
20
  }, g3 = d1({
21
21
  name: "appConfig",
22
- initialState: i2,
22
+ initialState: u2,
23
23
  reducers: {
24
24
  setAppConfig(t, e) {
25
25
  t.config = e.payload;
26
26
  }
27
27
  }
28
- }), a2 = g3.actions, u2 = g3.reducer, c3 = {}, f3 = d1({
28
+ }), d2 = g3.actions, h2 = g3.reducer, r3 = {}, f3 = d1({
29
29
  name: "devices",
30
- initialState: c3,
30
+ initialState: r3,
31
31
  reducers: {
32
32
  setDeviceState(t, e) {
33
- const s = e.payload.type, c = s.slice(s.lastIndexOf("/") + 1);
34
- if (!c)
33
+ const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
34
+ if (!r)
35
35
  return;
36
- const l = e.payload.content, i = t[c] ?? {}, u = d3.merge(i, l);
37
- return t[c] = u, t;
36
+ const c = e.payload.content, u = t[r] ?? {}, i = d3.merge(u, c);
37
+ return t[r] = i, t;
38
38
  },
39
39
  clearDevices() {
40
- return c3;
40
+ return r3;
41
41
  }
42
42
  }
43
- }), N = f3.actions, d2 = f3.reducer, r3 = {}, w3 = d1({
43
+ }), N = f3.actions, v2 = f3.reducer, c3 = {}, w3 = d1({
44
44
  name: "rooms",
45
- initialState: r3,
45
+ initialState: c3,
46
46
  reducers: {
47
47
  setRoomState(t, e) {
48
- const s = e.payload.type, c = s.slice(s.lastIndexOf("/") + 1);
49
- if (console.log(s, c), !c)
48
+ const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
49
+ if (console.log(s, r), !r)
50
50
  return;
51
- const l = e.payload.content;
52
- console.log(l);
53
- const i = t[c] ?? {}, u = d3.merge(i, l);
54
- return t[c] = u, console.log(t), t;
51
+ const c = e.payload.content;
52
+ console.log(c);
53
+ const u = t[r] ?? {}, i = d3.merge(u, c);
54
+ return t[r] = i, console.log(t), t;
55
55
  },
56
56
  clearRooms() {
57
- return r3;
57
+ return c3;
58
58
  }
59
59
  }
60
- }), e1 = w3.actions, v2 = w3.reducer, h2 = {
60
+ }), e1 = w3.actions, g2 = w3.reducer, f2 = {
61
61
  apiVersion: "",
62
62
  serverIsRunningOnProcessorHardware: !1,
63
63
  websocket: {
@@ -67,19 +67,27 @@ const i2 = {
67
67
  disconnectionMessage: "",
68
68
  token: "",
69
69
  currentRoomKey: "",
70
+ touchpanelKey: "",
70
71
  roomData: {
71
72
  clientId: "",
72
73
  roomKey: "",
73
74
  systemUuid: "",
74
75
  roomUuid: "",
75
76
  userAppUrl: "",
76
- config: void 0,
77
+ config: {
78
+ runtimeInfo: {
79
+ pluginVersion: "",
80
+ essentialsVersion: "",
81
+ pepperDashCoreVersion: "",
82
+ essentialsPlugins: []
83
+ }
84
+ },
77
85
  userCode: "",
78
86
  qrUrl: ""
79
87
  }
80
88
  }, p3 = d1({
81
89
  name: "runtimeConfig",
82
- initialState: h2,
90
+ initialState: f2,
83
91
  reducers: {
84
92
  setRuntimeConfig(t, e) {
85
93
  t.apiVersion = e.payload.apiVersion, t.serverIsRunningOnProcessorHardware = e.payload.serverIsRunningOnProcessorHardware;
@@ -101,9 +109,12 @@ const i2 = {
101
109
  },
102
110
  setUserCode(t, e) {
103
111
  t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
112
+ },
113
+ setTouchpanelKey(t, e) {
114
+ t.touchpanelKey = e.payload;
104
115
  }
105
116
  }
106
- }), W = p3.actions, g2 = p3.reducer, f2 = {
117
+ }), W = p3.actions, w2 = p3.reducer, p2 = {
107
118
  showReconnect: !1,
108
119
  error: "",
109
120
  modalVisibility: {
@@ -113,7 +124,7 @@ const i2 = {
113
124
  popoverVisibility: {}
114
125
  }, x3 = d1({
115
126
  name: "ui",
116
- initialState: f2,
127
+ initialState: p2,
117
128
  reducers: {
118
129
  clearAllModals(t) {
119
130
  Object.entries(t.modalVisibility).forEach(([e]) => {
@@ -141,144 +152,147 @@ const i2 = {
141
152
  t.showReconnect = e.payload;
142
153
  }
143
154
  }
144
- }), q = x3.actions, w2 = x3.reducer, M3 = e2({
145
- appConfig: u2,
146
- runtimeConfig: g2,
147
- rooms: v2,
148
- devices: d2,
149
- ui: w2
150
- }), p2 = u3({
155
+ }), q = x3.actions, x2 = x3.reducer, M3 = e2({
156
+ appConfig: h2,
157
+ runtimeConfig: w2,
158
+ rooms: g2,
159
+ devices: v2,
160
+ ui: x2
161
+ }), M2 = u3({
151
162
  reducer: M3
152
- }), $1 = p2, x = o2, x2 = () => x((t) => t.appConfig.config), K8 = () => x((t) => t.appConfig.config.apiPath), M2 = () => x((t) => t.devices);
153
- function A(t) {
154
- return x((e) => e.devices[t] ? e.devices[t] : void 0);
163
+ }), $1 = M2, p = o2, m2 = () => p((t) => t.appConfig.config), q8 = () => p((t) => t.appConfig.config.apiPath), Z2 = () => p((t) => t.devices);
164
+ function $(t) {
165
+ return p((e) => e.devices[t] ? e.devices[t] : void 0);
155
166
  }
156
- const G8 = (t) => x(
167
+ const Y8 = (t) => p(
157
168
  (e) => {
158
169
  var s;
159
170
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.configuration : void 0;
160
171
  }
161
- ), T1 = (t) => x(
172
+ ), A1 = (t) => p(
162
173
  (e) => e.rooms[t] ? e.rooms[t] : void 0
163
- ), q8 = (t) => x(
174
+ ), z8 = (t) => p(
164
175
  (e) => {
165
176
  var s;
166
177
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.name : void 0;
167
178
  }
168
- ), m2 = (t, e) => x(
179
+ ), j2 = (t, e) => p(
169
180
  (s) => {
170
- var c;
171
- return s.rooms[t] ? (c = s.rooms[t]) == null ? void 0 : c.volumes[e] : void 0;
181
+ var r;
182
+ return s.rooms[t] ? (r = s.rooms[t]) == null ? void 0 : r.volumes[e] : void 0;
172
183
  }
173
- ), Z2 = (t) => x(
184
+ ), C2 = (t) => p(
174
185
  (e) => e.rooms[t] ? e.rooms[t] : void 0
175
- ), Y8 = (t) => x(
186
+ ), J8 = (t) => p(
176
187
  (e) => {
177
- var s, c;
178
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.sourceList : void 0;
188
+ var s, r;
189
+ return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.sourceList : void 0;
179
190
  }
180
- ), z8 = (t) => x(
191
+ ), X8 = (t) => p(
181
192
  (e) => {
182
- var s, c;
183
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.levelControlList : void 0;
193
+ var s, r;
194
+ return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.audioControlPointList : void 0;
184
195
  }
185
- ), J8 = (t) => x(
196
+ ), Q8 = (t) => p(
186
197
  (e) => {
187
- var s, c;
188
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.destinations : void 0;
198
+ var s, r;
199
+ return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations : void 0;
189
200
  }
190
- ), X8 = (t) => x(
201
+ ), N8 = (t) => p(
191
202
  (e) => {
192
- var s, c;
193
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.destinationList : void 0;
203
+ var s, r;
204
+ return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList : void 0;
194
205
  }
195
- ), Q8 = (t) => x(
206
+ ), e6 = (t) => p(
196
207
  (e) => {
197
- var s, c;
198
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.environmentalDevices : void 0;
208
+ var s, r;
209
+ return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.environmentalDevices : void 0;
199
210
  }
200
- ), N8 = (t) => x(
211
+ ), t6 = (t) => p(
201
212
  (e) => {
202
- var s, c, l, i, u, g, f, w;
203
- return (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) != null && c.destinationList.programAudio ? (u = (i = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : u.sinkKey : ((w = (f = (g = e.rooms[t]) == null ? void 0 : g.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
213
+ var s, r, c, u, i, g, f, w;
214
+ return (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) != null && r.destinationList.programAudio ? (i = (u = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : u.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((w = (f = (g = e.rooms[t]) == null ? void 0 : g.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
204
215
  }
205
- ), e6 = (t) => x(
216
+ ), o6 = (t) => p(
206
217
  (e) => {
207
- var s, c, l;
208
- return e.rooms[t] ? (l = (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : l.sinkKey : void 0;
218
+ var s, r, c;
219
+ return e.rooms[t] ? (c = (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList.codecContent) == null ? void 0 : c.sinkKey : void 0;
209
220
  }
210
- ), t6 = (t) => x(
221
+ ), s6 = (t) => p(
211
222
  (e) => {
212
223
  var s;
213
224
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isInCall : void 0;
214
225
  }
215
- ), o6 = (t) => x(
226
+ ), n6 = (t) => p(
216
227
  (e) => {
217
228
  var s;
218
229
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isWarmingUp : void 0;
219
230
  }
220
- ), s6 = (t) => x(
231
+ ), r6 = (t) => p(
221
232
  (e) => {
222
233
  var s;
223
234
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isCoolingDown : void 0;
224
235
  }
225
- ), n6 = (t) => x(
236
+ ), c6 = (t) => p(
226
237
  (e) => {
227
238
  var s;
228
239
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isOn : void 0;
229
240
  }
230
- ), c6 = (t) => x(
241
+ ), l6 = (t) => p(
231
242
  (e) => {
232
243
  var s;
233
244
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.advancedSharingActive : void 0;
234
245
  }
235
- ), r6 = (t) => x(
246
+ ), i6 = (t) => p(
236
247
  (e) => {
237
248
  var s;
238
249
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.share : void 0;
239
250
  }
240
- ), l6 = (t) => t2(
251
+ ), a6 = (t) => t2(
241
252
  [
242
253
  (e, s) => s,
243
- M2,
254
+ Z2,
244
255
  (e) => {
245
- var s, c;
246
- return (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.destinations;
256
+ var s, r;
257
+ return (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations;
247
258
  }
248
259
  ],
249
- (e, s, c) => {
250
- if (console.log("roomKey", e), console.log("devices", s), console.log("destinations", c), !c)
260
+ (e, s, r) => {
261
+ if (console.log("roomKey", e), console.log("devices", s), console.log("destinations", r), !r)
251
262
  return;
252
- const l = Object.entries(c).filter(([u]) => u !== "programAudio" && u !== "codecContent").map(([, u]) => u);
253
- return Object.values(s).filter((u) => Object.values(l).includes(u.key));
263
+ const c = Object.entries(r).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
264
+ return Object.values(s).filter((i) => Object.values(c).includes(i.key));
254
265
  }
255
- )($1.getState(), t), i6 = (t) => x(
266
+ )($1.getState(), t), u6 = (t) => p(
256
267
  (e) => {
257
- var s, c;
258
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
268
+ var s, r;
269
+ return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.zoomRoomControllerKey : void 0;
259
270
  }
260
- ), j2 = () => x((t) => t.runtimeConfig.websocket.isConnected), C2 = () => x((t) => t.runtimeConfig.currentRoomKey), S2 = () => x((t) => t.runtimeConfig.roomData.clientId), b2 = () => x((t) => t.runtimeConfig.roomData.systemUuid), I2 = () => x((t) => t.runtimeConfig.roomData.userCode), y2 = () => x((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), a6 = () => x((t) => t.ui.modalVisibility.showShutdownModal), u6 = () => x((t) => t.ui.modalVisibility.showIncomingCallModal), d6 = (t) => x((e) => e.ui.modalVisibility[t]), v6 = (t) => x((e) => {
271
+ ), S2 = () => p((t) => t.runtimeConfig.websocket.isConnected), b2 = () => p((t) => t.runtimeConfig.currentRoomKey), I2 = () => p((t) => t.runtimeConfig.roomData.clientId), y2 = () => p((t) => t.runtimeConfig.roomData.systemUuid), R2 = () => p((t) => t.runtimeConfig.roomData.userCode), E2 = () => p((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), d6 = () => p((t) => {
272
+ var e;
273
+ return (e = t.runtimeConfig.roomData.config) == null ? void 0 : e.runtimeInfo;
274
+ }), h6 = () => p((t) => t.runtimeConfig.touchpanelKey), v6 = () => p((t) => t.runtimeConfig.touchpanelKey !== ""), g6 = () => p((t) => t.ui.modalVisibility.showShutdownModal), f6 = () => p((t) => t.ui.modalVisibility.showIncomingCallModal), w6 = (t) => p((e) => e.ui.modalVisibility[t]), p6 = (t) => p((e) => {
261
275
  const s = e.ui.popoverVisibility[t];
262
276
  if (s)
263
- return Object.keys(s).find((c) => s[c]);
264
- }), h6 = (t, e) => x((s) => {
265
- var c;
266
- return (c = s.ui.popoverVisibility[t]) == null ? void 0 : c[e];
267
- }), R2 = () => x((t) => t.ui.error), E2 = () => x((t) => t.ui.showReconnect), C = u3({
277
+ return Object.keys(s).find((r) => s[r]);
278
+ }), x6 = (t, e) => p((s) => {
279
+ var r;
280
+ return (r = s.ui.popoverVisibility[t]) == null ? void 0 : r[e];
281
+ }), _2 = () => p((t) => t.ui.error), L2 = () => p((t) => t.ui.showReconnect), C = u3({
268
282
  reducer: M3
269
- }), _2 = s2, D1 = Q3.create();
270
- function L2() {
271
- const t = _2();
283
+ }), $2 = s2, P1 = Q3.create();
284
+ function P2() {
285
+ const t = $2();
272
286
  return async () => {
273
287
  try {
274
- const e = location.pathname.split("/").filter((l) => l.length > 0);
288
+ const e = location.pathname.split("/").filter((c) => c.length > 0);
275
289
  e.length >= 5 ? e.length = 5 : e.length = 2;
276
- const s = `/${e.join("/")}`, c = await D1.get("/_local-config/_config.local.json", { baseURL: s });
277
- if (c.status == 200 && c.data) {
278
- const l = c.data.apiPath;
279
- t(a2.setAppConfig(c.data));
280
- const i = await D1.get(`${l}/version`);
281
- i.status == 200 && i.data && t(W.setRuntimeConfig(i.data));
290
+ const s = `/${e.join("/")}`, r = await P1.get("/_local-config/_config.local.json", { baseURL: s });
291
+ if (r.status == 200 && r.data) {
292
+ const c = r.data.apiPath;
293
+ t(d2.setAppConfig(r.data));
294
+ const u = await P1.get(`${c}/version`);
295
+ u.status == 200 && u.data && t(W.setRuntimeConfig(u.data));
282
296
  }
283
297
  } catch (e) {
284
298
  console.error("Error getting config", e);
@@ -286,7 +300,7 @@ function L2() {
286
300
  return !0;
287
301
  };
288
302
  }
289
- var A1 = { exports: {} }, l1 = {};
303
+ var T1 = { exports: {} }, l1 = {};
290
304
  /**
291
305
  * @license React
292
306
  * react-jsx-runtime.development.js
@@ -297,47 +311,47 @@ var A1 = { exports: {} }, l1 = {};
297
311
  * LICENSE file in the root directory of this source tree.
298
312
  */
299
313
  var l3;
300
- function $2() {
314
+ function T2() {
301
315
  return l3 || (l3 = 1, process.env.NODE_ENV !== "production" && function() {
302
- var t = v3, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), g = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), V = Symbol.iterator, z = "@@iterator";
316
+ var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), O = Symbol.iterator, z = "@@iterator";
303
317
  function o1(n) {
304
318
  if (n === null || typeof n != "object")
305
319
  return null;
306
- var r = V && n[V] || n[z];
307
- return typeof r == "function" ? r : null;
320
+ var l = O && n[O] || n[z];
321
+ return typeof l == "function" ? l : null;
308
322
  }
309
- var $ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
323
+ var P = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
310
324
  function L(n) {
311
325
  {
312
- for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), v = 1; v < r; v++)
313
- a[v - 1] = arguments[v];
326
+ for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
327
+ a[h - 1] = arguments[h];
314
328
  x1("error", n, a);
315
329
  }
316
330
  }
317
- function x1(n, r, a) {
331
+ function x1(n, l, a) {
318
332
  {
319
- var v = $.ReactDebugCurrentFrame, j = v.getStackAddendum();
320
- j !== "" && (r += "%s", a = a.concat([j]));
333
+ var h = P.ReactDebugCurrentFrame, j = h.getStackAddendum();
334
+ j !== "" && (l += "%s", a = a.concat([j]));
321
335
  var S = a.map(function(M) {
322
336
  return String(M);
323
337
  });
324
- S.unshift("Warning: " + r), Function.prototype.apply.call(console[n], console, S);
338
+ S.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, S);
325
339
  }
326
340
  }
327
- var M1 = !1, y = !1, Z = !1, v1 = !1, m1 = !1, K;
341
+ var M1 = !1, y = !1, Z = !1, h1 = !1, m1 = !1, K;
328
342
  K = Symbol.for("react.module.reference");
329
- function B(n) {
330
- return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || m1 || n === l || n === w || n === d || v1 || n === F || M1 || y || Z || typeof n == "object" && n !== null && (n.$$typeof === P || n.$$typeof === b || n.$$typeof === u || n.$$typeof === g || n.$$typeof === f || // This needs to include all possible module reference object
343
+ function A(n) {
344
+ return !!(typeof n == "string" || typeof n == "function" || n === r || n === u || m1 || n === c || n === w || n === d || h1 || n === F || M1 || y || Z || typeof n == "object" && n !== null && (n.$$typeof === T || n.$$typeof === b || n.$$typeof === i || n.$$typeof === g || n.$$typeof === f || // This needs to include all possible module reference object
331
345
  // types supported by any Flight configuration anywhere since
332
346
  // we don't know which Flight build this will end up being used
333
347
  // with.
334
348
  n.$$typeof === K || n.getModuleId !== void 0));
335
349
  }
336
- function R(n, r, a) {
337
- var v = n.displayName;
338
- if (v)
339
- return v;
340
- var j = r.displayName || r.name || "";
350
+ function R(n, l, a) {
351
+ var h = n.displayName;
352
+ if (h)
353
+ return h;
354
+ var j = l.displayName || l.name || "";
341
355
  return j !== "" ? a + "(" + j + ")" : a;
342
356
  }
343
357
  function J(n) {
@@ -351,13 +365,13 @@ function $2() {
351
365
  if (typeof n == "string")
352
366
  return n;
353
367
  switch (n) {
354
- case c:
368
+ case r:
355
369
  return "Fragment";
356
370
  case s:
357
371
  return "Portal";
358
- case i:
372
+ case u:
359
373
  return "Profiler";
360
- case l:
374
+ case c:
361
375
  return "StrictMode";
362
376
  case w:
363
377
  return "Suspense";
@@ -367,17 +381,17 @@ function $2() {
367
381
  if (typeof n == "object")
368
382
  switch (n.$$typeof) {
369
383
  case g:
370
- var r = n;
371
- return J(r) + ".Consumer";
372
- case u:
384
+ var l = n;
385
+ return J(l) + ".Consumer";
386
+ case i:
373
387
  var a = n;
374
388
  return J(a._context) + ".Provider";
375
389
  case f:
376
390
  return R(n, n.render, "ForwardRef");
377
391
  case b:
378
- var v = n.displayName || null;
379
- return v !== null ? v : k(n.type) || "Memo";
380
- case P: {
392
+ var h = n.displayName || null;
393
+ return h !== null ? h : k(n.type) || "Memo";
394
+ case T: {
381
395
  var j = n, S = j._payload, M = j._init;
382
396
  try {
383
397
  return k(M(S));
@@ -450,15 +464,15 @@ function $2() {
450
464
  s1 < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
451
465
  }
452
466
  }
453
- var Z1 = $.ReactCurrentDispatcher, j1;
454
- function h1(n, r, a) {
467
+ var Z1 = P.ReactCurrentDispatcher, j1;
468
+ function v1(n, l, a) {
455
469
  {
456
470
  if (j1 === void 0)
457
471
  try {
458
472
  throw Error();
459
473
  } catch (j) {
460
- var v = j.stack.trim().match(/\n( *(at )?)/);
461
- j1 = v && v[1] || "";
474
+ var h = j.stack.trim().match(/\n( *(at )?)/);
475
+ j1 = h && h[1] || "";
462
476
  }
463
477
  return `
464
478
  ` + j1 + n;
@@ -469,7 +483,7 @@ function $2() {
469
483
  var b3 = typeof WeakMap == "function" ? WeakMap : Map;
470
484
  g1 = new b3();
471
485
  }
472
- function K1(n, r) {
486
+ function K1(n, l) {
473
487
  if (!n || C1)
474
488
  return "";
475
489
  {
@@ -477,14 +491,14 @@ function $2() {
477
491
  if (a !== void 0)
478
492
  return a;
479
493
  }
480
- var v;
494
+ var h;
481
495
  C1 = !0;
482
496
  var j = Error.prepareStackTrace;
483
497
  Error.prepareStackTrace = void 0;
484
498
  var S;
485
499
  S = Z1.current, Z1.current = null, C3();
486
500
  try {
487
- if (r) {
501
+ if (l) {
488
502
  var M = function() {
489
503
  throw Error();
490
504
  };
@@ -495,39 +509,39 @@ function $2() {
495
509
  }), typeof Reflect == "object" && Reflect.construct) {
496
510
  try {
497
511
  Reflect.construct(M, []);
498
- } catch (O) {
499
- v = O;
512
+ } catch (B) {
513
+ h = B;
500
514
  }
501
515
  Reflect.construct(n, [], M);
502
516
  } else {
503
517
  try {
504
518
  M.call();
505
- } catch (O) {
506
- v = O;
519
+ } catch (B) {
520
+ h = B;
507
521
  }
508
522
  n.call(M.prototype);
509
523
  }
510
524
  } else {
511
525
  try {
512
526
  throw Error();
513
- } catch (O) {
514
- v = O;
527
+ } catch (B) {
528
+ h = B;
515
529
  }
516
530
  n();
517
531
  }
518
- } catch (O) {
519
- if (O && v && typeof O.stack == "string") {
520
- for (var p = O.stack.split(`
521
- `), T = v.stack.split(`
522
- `), E = p.length - 1, _ = T.length - 1; E >= 1 && _ >= 0 && p[E] !== T[_]; )
532
+ } catch (B) {
533
+ if (B && h && typeof B.stack == "string") {
534
+ for (var x = B.stack.split(`
535
+ `), D = h.stack.split(`
536
+ `), E = x.length - 1, _ = D.length - 1; E >= 1 && _ >= 0 && x[E] !== D[_]; )
523
537
  _--;
524
538
  for (; E >= 1 && _ >= 0; E--, _--)
525
- if (p[E] !== T[_]) {
539
+ if (x[E] !== D[_]) {
526
540
  if (E !== 1 || _ !== 1)
527
541
  do
528
- if (E--, _--, _ < 0 || p[E] !== T[_]) {
542
+ if (E--, _--, _ < 0 || x[E] !== D[_]) {
529
543
  var U = `
530
- ` + p[E].replace(" at new ", " at ");
544
+ ` + x[E].replace(" at new ", " at ");
531
545
  return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && g1.set(n, U), U;
532
546
  }
533
547
  while (E >= 1 && _ >= 0);
@@ -537,69 +551,69 @@ function $2() {
537
551
  } finally {
538
552
  C1 = !1, Z1.current = S, S3(), Error.prepareStackTrace = j;
539
553
  }
540
- var Q = n ? n.displayName || n.name : "", Y = Q ? h1(Q) : "";
554
+ var Q = n ? n.displayName || n.name : "", Y = Q ? v1(Q) : "";
541
555
  return typeof n == "function" && g1.set(n, Y), Y;
542
556
  }
543
- function I3(n, r, a) {
557
+ function I3(n, l, a) {
544
558
  return K1(n, !1);
545
559
  }
546
560
  function y3(n) {
547
- var r = n.prototype;
548
- return !!(r && r.isReactComponent);
561
+ var l = n.prototype;
562
+ return !!(l && l.isReactComponent);
549
563
  }
550
- function f1(n, r, a) {
564
+ function f1(n, l, a) {
551
565
  if (n == null)
552
566
  return "";
553
567
  if (typeof n == "function")
554
568
  return K1(n, y3(n));
555
569
  if (typeof n == "string")
556
- return h1(n);
570
+ return v1(n);
557
571
  switch (n) {
558
572
  case w:
559
- return h1("Suspense");
573
+ return v1("Suspense");
560
574
  case d:
561
- return h1("SuspenseList");
575
+ return v1("SuspenseList");
562
576
  }
563
577
  if (typeof n == "object")
564
578
  switch (n.$$typeof) {
565
579
  case f:
566
580
  return I3(n.render);
567
581
  case b:
568
- return f1(n.type, r, a);
569
- case P: {
570
- var v = n, j = v._payload, S = v._init;
582
+ return f1(n.type, l, a);
583
+ case T: {
584
+ var h = n, j = h._payload, S = h._init;
571
585
  try {
572
- return f1(S(j), r, a);
586
+ return f1(S(j), l, a);
573
587
  } catch {
574
588
  }
575
589
  }
576
590
  }
577
591
  return "";
578
592
  }
579
- var n1 = Object.prototype.hasOwnProperty, G1 = {}, q1 = $.ReactDebugCurrentFrame;
593
+ var n1 = Object.prototype.hasOwnProperty, G1 = {}, q1 = P.ReactDebugCurrentFrame;
580
594
  function w1(n) {
581
595
  if (n) {
582
- var r = n._owner, a = f1(n.type, n._source, r ? r.type : null);
596
+ var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
583
597
  q1.setExtraStackFrame(a);
584
598
  } else
585
599
  q1.setExtraStackFrame(null);
586
600
  }
587
- function R3(n, r, a, v, j) {
601
+ function R3(n, l, a, h, j) {
588
602
  {
589
603
  var S = Function.call.bind(n1);
590
604
  for (var M in n)
591
605
  if (S(n, M)) {
592
- var p = void 0;
606
+ var x = void 0;
593
607
  try {
594
608
  if (typeof n[M] != "function") {
595
- var T = Error((v || "React class") + ": " + a + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
596
- throw T.name = "Invariant Violation", T;
609
+ var D = Error((h || "React class") + ": " + a + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
610
+ throw D.name = "Invariant Violation", D;
597
611
  }
598
- p = n[M](r, M, v, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
612
+ x = n[M](l, M, h, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
599
613
  } catch (E) {
600
- p = E;
614
+ x = E;
601
615
  }
602
- p && !(p instanceof Error) && (w1(j), L("%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", a, M, typeof p), w1(null)), p instanceof Error && !(p.message in G1) && (G1[p.message] = !0, w1(j), L("Failed %s type: %s", a, p.message), w1(null));
616
+ x && !(x instanceof Error) && (w1(j), L("%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).", h || "React class", a, M, typeof x), w1(null)), x instanceof Error && !(x.message in G1) && (G1[x.message] = !0, w1(j), L("Failed %s type: %s", a, x.message), w1(null));
603
617
  }
604
618
  }
605
619
  }
@@ -609,7 +623,7 @@ function $2() {
609
623
  }
610
624
  function _3(n) {
611
625
  {
612
- var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && n[Symbol.toStringTag] || n.constructor.name || "Object";
626
+ var l = typeof Symbol == "function" && Symbol.toStringTag, a = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
613
627
  return a;
614
628
  }
615
629
  }
@@ -627,39 +641,39 @@ function $2() {
627
641
  if (L3(n))
628
642
  return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _3(n)), Y1(n);
629
643
  }
630
- var c1 = $.ReactCurrentOwner, $3 = {
644
+ var r1 = P.ReactCurrentOwner, $3 = {
631
645
  key: !0,
632
646
  ref: !0,
633
647
  __self: !0,
634
648
  __source: !0
635
649
  }, J1, X1, b1;
636
650
  b1 = {};
637
- function D3(n) {
651
+ function P3(n) {
638
652
  if (n1.call(n, "ref")) {
639
- var r = Object.getOwnPropertyDescriptor(n, "ref").get;
640
- if (r && r.isReactWarning)
653
+ var l = Object.getOwnPropertyDescriptor(n, "ref").get;
654
+ if (l && l.isReactWarning)
641
655
  return !1;
642
656
  }
643
657
  return n.ref !== void 0;
644
658
  }
645
- function A3(n) {
659
+ function T3(n) {
646
660
  if (n1.call(n, "key")) {
647
- var r = Object.getOwnPropertyDescriptor(n, "key").get;
648
- if (r && r.isReactWarning)
661
+ var l = Object.getOwnPropertyDescriptor(n, "key").get;
662
+ if (l && l.isReactWarning)
649
663
  return !1;
650
664
  }
651
665
  return n.key !== void 0;
652
666
  }
653
- function P3(n, r) {
654
- if (typeof n.ref == "string" && c1.current && r && c1.current.stateNode !== r) {
655
- var a = k(c1.current.type);
656
- b1[a] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(c1.current.type), n.ref), b1[a] = !0);
667
+ function D3(n, l) {
668
+ if (typeof n.ref == "string" && r1.current && l && r1.current.stateNode !== l) {
669
+ var a = k(r1.current.type);
670
+ b1[a] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(r1.current.type), n.ref), b1[a] = !0);
657
671
  }
658
672
  }
659
- function T3(n, r) {
673
+ function A3(n, l) {
660
674
  {
661
675
  var a = function() {
662
- J1 || (J1 = !0, L("%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)", r));
676
+ J1 || (J1 = !0, L("%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));
663
677
  };
664
678
  a.isReactWarning = !0, Object.defineProperty(n, "key", {
665
679
  get: a,
@@ -667,10 +681,10 @@ function $2() {
667
681
  });
668
682
  }
669
683
  }
670
- function B3(n, r) {
684
+ function B3(n, l) {
671
685
  {
672
686
  var a = function() {
673
- X1 || (X1 = !0, L("%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)", r));
687
+ X1 || (X1 = !0, L("%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));
674
688
  };
675
689
  a.isReactWarning = !0, Object.defineProperty(n, "ref", {
676
690
  get: a,
@@ -678,57 +692,57 @@ function $2() {
678
692
  });
679
693
  }
680
694
  }
681
- var O3 = function(n, r, a, v, j, S, M) {
682
- var p = {
695
+ var O3 = function(n, l, a, h, j, S, M) {
696
+ var x = {
683
697
  // This tag allows us to uniquely identify this as a React Element
684
698
  $$typeof: e,
685
699
  // Built-in properties that belong on the element
686
700
  type: n,
687
- key: r,
701
+ key: l,
688
702
  ref: a,
689
703
  props: M,
690
704
  // Record the component responsible for creating this element.
691
705
  _owner: S
692
706
  };
693
- return p._store = {}, Object.defineProperty(p._store, "validated", {
707
+ return x._store = {}, Object.defineProperty(x._store, "validated", {
694
708
  configurable: !1,
695
709
  enumerable: !1,
696
710
  writable: !0,
697
711
  value: !1
698
- }), Object.defineProperty(p, "_self", {
712
+ }), Object.defineProperty(x, "_self", {
699
713
  configurable: !1,
700
714
  enumerable: !1,
701
715
  writable: !1,
702
- value: v
703
- }), Object.defineProperty(p, "_source", {
716
+ value: h
717
+ }), Object.defineProperty(x, "_source", {
704
718
  configurable: !1,
705
719
  enumerable: !1,
706
720
  writable: !1,
707
721
  value: j
708
- }), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
722
+ }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
709
723
  };
710
- function V3(n, r, a, v, j) {
724
+ function V3(n, l, a, h, j) {
711
725
  {
712
- var S, M = {}, p = null, T = null;
713
- a !== void 0 && (z1(a), p = "" + a), A3(r) && (z1(r.key), p = "" + r.key), D3(r) && (T = r.ref, P3(r, j));
714
- for (S in r)
715
- n1.call(r, S) && !$3.hasOwnProperty(S) && (M[S] = r[S]);
726
+ var S, M = {}, x = null, D = null;
727
+ a !== void 0 && (z1(a), x = "" + a), T3(l) && (z1(l.key), x = "" + l.key), P3(l) && (D = l.ref, D3(l, j));
728
+ for (S in l)
729
+ n1.call(l, S) && !$3.hasOwnProperty(S) && (M[S] = l[S]);
716
730
  if (n && n.defaultProps) {
717
731
  var E = n.defaultProps;
718
732
  for (S in E)
719
733
  M[S] === void 0 && (M[S] = E[S]);
720
734
  }
721
- if (p || T) {
735
+ if (x || D) {
722
736
  var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
723
- p && T3(M, _), T && B3(M, _);
737
+ x && A3(M, _), D && B3(M, _);
724
738
  }
725
- return O3(n, p, T, j, v, c1.current, M);
739
+ return O3(n, x, D, j, h, r1.current, M);
726
740
  }
727
741
  }
728
- var I1 = $.ReactCurrentOwner, Q1 = $.ReactDebugCurrentFrame;
742
+ var I1 = P.ReactCurrentOwner, Q1 = P.ReactDebugCurrentFrame;
729
743
  function X(n) {
730
744
  if (n) {
731
- var r = n._owner, a = f1(n.type, n._source, r ? r.type : null);
745
+ var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
732
746
  Q1.setExtraStackFrame(a);
733
747
  } else
734
748
  Q1.setExtraStackFrame(null);
@@ -753,10 +767,10 @@ Check the render method of \`` + n + "`.";
753
767
  function k3(n) {
754
768
  {
755
769
  if (n !== void 0) {
756
- var r = n.fileName.replace(/^.*[\\\/]/, ""), a = n.lineNumber;
770
+ var l = n.fileName.replace(/^.*[\\\/]/, ""), a = n.lineNumber;
757
771
  return `
758
772
 
759
- Check your code at ` + r + ":" + a + ".";
773
+ Check your code at ` + l + ":" + a + ".";
760
774
  }
761
775
  return "";
762
776
  }
@@ -764,37 +778,37 @@ Check your code at ` + r + ":" + a + ".";
764
778
  var e3 = {};
765
779
  function U3(n) {
766
780
  {
767
- var r = N1();
768
- if (!r) {
781
+ var l = N1();
782
+ if (!l) {
769
783
  var a = typeof n == "string" ? n : n.displayName || n.name;
770
- a && (r = `
784
+ a && (l = `
771
785
 
772
786
  Check the top-level render call using <` + a + ">.");
773
787
  }
774
- return r;
788
+ return l;
775
789
  }
776
790
  }
777
- function t3(n, r) {
791
+ function t3(n, l) {
778
792
  {
779
793
  if (!n._store || n._store.validated || n.key != null)
780
794
  return;
781
795
  n._store.validated = !0;
782
- var a = U3(r);
796
+ var a = U3(l);
783
797
  if (e3[a])
784
798
  return;
785
799
  e3[a] = !0;
786
- var v = "";
787
- n && n._owner && n._owner !== I1.current && (v = " It was passed a child from " + k(n._owner.type) + "."), X(n), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, v), X(null);
800
+ var h = "";
801
+ n && n._owner && n._owner !== I1.current && (h = " It was passed a child from " + k(n._owner.type) + "."), X(n), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, h), X(null);
788
802
  }
789
803
  }
790
- function o3(n, r) {
804
+ function o3(n, l) {
791
805
  {
792
806
  if (typeof n != "object")
793
807
  return;
794
808
  if (S1(n))
795
809
  for (var a = 0; a < n.length; a++) {
796
- var v = n[a];
797
- R1(v) && t3(v, r);
810
+ var h = n[a];
811
+ R1(h) && t3(h, l);
798
812
  }
799
813
  else if (R1(n))
800
814
  n._store && (n._store.validated = !0);
@@ -802,41 +816,41 @@ Check the top-level render call using <` + a + ">.");
802
816
  var j = o1(n);
803
817
  if (typeof j == "function" && j !== n.entries)
804
818
  for (var S = j.call(n), M; !(M = S.next()).done; )
805
- R1(M.value) && t3(M.value, r);
819
+ R1(M.value) && t3(M.value, l);
806
820
  }
807
821
  }
808
822
  }
809
823
  function F3(n) {
810
824
  {
811
- var r = n.type;
812
- if (r == null || typeof r == "string")
825
+ var l = n.type;
826
+ if (l == null || typeof l == "string")
813
827
  return;
814
828
  var a;
815
- if (typeof r == "function")
816
- a = r.propTypes;
817
- else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
829
+ if (typeof l == "function")
830
+ a = l.propTypes;
831
+ else if (typeof l == "object" && (l.$$typeof === f || // Note: Memo only checks outer props here.
818
832
  // Inner props are checked in the reconciler.
819
- r.$$typeof === b))
820
- a = r.propTypes;
833
+ l.$$typeof === b))
834
+ a = l.propTypes;
821
835
  else
822
836
  return;
823
837
  if (a) {
824
- var v = k(r);
825
- R3(a, n.props, "prop", v, n);
826
- } else if (r.PropTypes !== void 0 && !y1) {
838
+ var h = k(l);
839
+ R3(a, n.props, "prop", h, n);
840
+ } else if (l.PropTypes !== void 0 && !y1) {
827
841
  y1 = !0;
828
- var j = k(r);
842
+ var j = k(l);
829
843
  L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
830
844
  }
831
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
845
+ typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
832
846
  }
833
847
  }
834
848
  function W3(n) {
835
849
  {
836
- for (var r = Object.keys(n.props), a = 0; a < r.length; a++) {
837
- var v = r[a];
838
- if (v !== "children" && v !== "key") {
839
- X(n), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), X(null);
850
+ for (var l = Object.keys(n.props), a = 0; a < l.length; a++) {
851
+ var h = l[a];
852
+ if (h !== "children" && h !== "key") {
853
+ X(n), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), X(null);
840
854
  break;
841
855
  }
842
856
  }
@@ -844,24 +858,24 @@ Check the top-level render call using <` + a + ">.");
844
858
  }
845
859
  }
846
860
  var s3 = {};
847
- function n3(n, r, a, v, j, S) {
861
+ function n3(n, l, a, h, j, S) {
848
862
  {
849
- var M = B(n);
863
+ var M = A(n);
850
864
  if (!M) {
851
- var p = "";
852
- (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (p += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
853
- var T = k3(j);
854
- T ? p += T : p += N1();
865
+ var x = "";
866
+ (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
867
+ var D = k3(j);
868
+ D ? x += D : x += N1();
855
869
  var E;
856
- n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (k(n.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : E = typeof n, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, p);
870
+ n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (k(n.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : E = typeof n, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, x);
857
871
  }
858
- var _ = V3(n, r, a, j, S);
872
+ var _ = V3(n, l, a, j, S);
859
873
  if (_ == null)
860
874
  return _;
861
875
  if (M) {
862
- var U = r.children;
876
+ var U = l.children;
863
877
  if (U !== void 0)
864
- if (v)
878
+ if (h)
865
879
  if (S1(U)) {
866
880
  for (var Q = 0; Q < U.length; Q++)
867
881
  o3(U[Q], n);
@@ -871,12 +885,12 @@ Check the top-level render call using <` + a + ">.");
871
885
  else
872
886
  o3(U, n);
873
887
  }
874
- if (n1.call(r, "key")) {
875
- var Y = k(n), O = Object.keys(r).filter(function(z3) {
888
+ if (n1.call(l, "key")) {
889
+ var Y = k(n), B = Object.keys(l).filter(function(z3) {
876
890
  return z3 !== "key";
877
- }), E1 = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
891
+ }), E1 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
878
892
  if (!s3[Y + E1]) {
879
- var Y3 = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
893
+ var Y3 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
880
894
  L(`A props object containing a "key" prop is being spread into JSX:
881
895
  let props = %s;
882
896
  <%s {...props} />
@@ -885,17 +899,17 @@ React keys must be passed directly to JSX without using spread:
885
899
  <%s key={someKey} {...props} />`, E1, Y, Y3, Y), s3[Y + E1] = !0;
886
900
  }
887
901
  }
888
- return n === c ? W3(_) : F3(_), _;
902
+ return n === r ? W3(_) : F3(_), _;
889
903
  }
890
904
  }
891
- function H3(n, r, a) {
892
- return n3(n, r, a, !0);
905
+ function H3(n, l, a) {
906
+ return n3(n, l, a, !0);
893
907
  }
894
- function K3(n, r, a) {
895
- return n3(n, r, a, !1);
908
+ function K3(n, l, a) {
909
+ return n3(n, l, a, !1);
896
910
  }
897
911
  var G3 = K3, q3 = H3;
898
- l1.Fragment = c, l1.jsx = G3, l1.jsxs = q3;
912
+ l1.Fragment = r, l1.jsx = G3, l1.jsxs = q3;
899
913
  }()), l1;
900
914
  }
901
915
  var i1 = {};
@@ -913,102 +927,103 @@ function D2() {
913
927
  if (i3)
914
928
  return i1;
915
929
  i3 = 1;
916
- var t = v3, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
917
- function u(g, f, w) {
918
- var d, b = {}, P = null, F = null;
919
- w !== void 0 && (P = "" + w), f.key !== void 0 && (P = "" + f.key), f.ref !== void 0 && (F = f.ref);
930
+ var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
931
+ function i(g, f, w) {
932
+ var d, b = {}, T = null, F = null;
933
+ w !== void 0 && (T = "" + w), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (F = f.ref);
920
934
  for (d in f)
921
- c.call(f, d) && !i.hasOwnProperty(d) && (b[d] = f[d]);
935
+ r.call(f, d) && !u.hasOwnProperty(d) && (b[d] = f[d]);
922
936
  if (g && g.defaultProps)
923
937
  for (d in f = g.defaultProps, f)
924
938
  b[d] === void 0 && (b[d] = f[d]);
925
- return { $$typeof: e, type: g, key: P, ref: F, props: b, _owner: l.current };
939
+ return { $$typeof: e, type: g, key: T, ref: F, props: b, _owner: c.current };
926
940
  }
927
- return i1.Fragment = s, i1.jsx = u, i1.jsxs = u, i1;
941
+ return i1.Fragment = s, i1.jsx = i, i1.jsxs = i, i1;
928
942
  }
929
- process.env.NODE_ENV === "production" ? A1.exports = D2() : A1.exports = $2();
930
- var o = A1.exports;
931
- const A2 = "_mwfit_ppa3l_1", P2 = {
943
+ process.env.NODE_ENV === "production" ? T1.exports = D2() : T1.exports = T2();
944
+ var o = T1.exports;
945
+ const A2 = "_mwfit_ppa3l_1", B2 = {
932
946
  mwfit: A2
933
- }, T2 = () => {
934
- const { reconnect: t } = I(), e = R2(), s = E2();
935
- return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${P2.mwfit} mx-auto text-center`, children: [
947
+ }, O2 = () => {
948
+ const { reconnect: t } = I(), e = _2(), s = L2();
949
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${B2.mwfit} mx-auto text-center`, children: [
936
950
  /* @__PURE__ */ o.jsx("h1", { children: "Disconnected" }),
937
951
  e && /* @__PURE__ */ o.jsx("h5", { children: e }),
938
952
  s && /* @__PURE__ */ o.jsx("button", { className: "btn btn-secondary btn-lg", onClick: t, children: "Reconnect" })
939
953
  ] }) });
940
954
  };
941
- class B2 {
955
+ class V2 {
942
956
  constructor() {
943
- D(this, "uuid", "current-uuid");
944
- D(this, "roomKey", "current-room-key");
945
- D(this, "code", "current-code");
946
- D(this, "expiry", "current-uuid-expires");
957
+ V(this, "uuid", "current-uuid");
958
+ V(this, "roomKey", "current-room-key");
959
+ V(this, "code", "current-code");
960
+ V(this, "expiry", "current-uuid-expires");
947
961
  }
948
962
  }
949
- const a3 = new B2(), m3 = c2({
963
+ const a3 = new V2(), m3 = r2({
950
964
  sendMessage: () => null,
951
965
  sendSimpleMessage: () => null,
952
966
  addEventHandler: () => null,
953
967
  removeEventHandler: () => null,
954
968
  reconnect: () => null
955
969
  });
956
- function O2(t) {
970
+ function k2(t) {
957
971
  return sessionStorage.getItem(t) || "";
958
972
  }
959
- function V2(t, e) {
973
+ function U2(t, e) {
960
974
  sessionStorage.setItem(t, e);
961
975
  }
962
- const k2 = ({ children: t }) => {
963
- const [e, s] = H(), c = j2(), l = C2(), i = S2(), u = L2(), g = x2(), f = b2(), w = I2(), d = y2(), b = u1(null), [P, F] = H(), V = u1({}), z = r1(
976
+ const F2 = ({ children: t }) => {
977
+ const [e, s] = H(), r = S2(), c = b2(), u = I2(), i = P2(), g = m2(), f = y2(), w = R2(), d = E2(), b = u1(null), [T, F] = H(), O = u1({}), z = c1(
964
978
  async (y) => {
965
979
  try {
966
- const Z = await D1.get(`${y}/ui/joinroom?token=${e}`);
980
+ const Z = await P1.get(`${y}/ui/joinroom?token=${e}`);
967
981
  return Z.status === 200 && Z.data ? (C.dispatch(W.setRoomData(Z.data)), !0) : !1;
968
982
  } catch (Z) {
969
983
  return console.log(Z), d ? !0 : Z instanceof N3 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C.dispatch(q.setErrorMessage(`Token ${e} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", Z), Z instanceof Error ? C.dispatch(q.setErrorMessage(Z.message)) : C.dispatch(q.setErrorMessage("Error getting room data")), !1);
970
984
  }
971
985
  },
972
986
  [e, d]
973
- ), o1 = r1(() => {
974
- const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${l}`;
987
+ ), o1 = c1(() => {
988
+ const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${c}`;
975
989
  window.location.href = w ? `${y}&Code=${w}` : y;
976
- }, [g.gatewayAppPath, l, f, w]), $ = r1(
990
+ }, [g.gatewayAppPath, c, f, w]), P = c1(
977
991
  (y, Z) => {
978
- b.current && c && b.current.send(JSON.stringify({ type: y, clientId: i, content: Z }));
992
+ b.current && r && b.current.send(JSON.stringify({ type: y, clientId: u, content: Z }));
979
993
  },
980
- [c, i]
994
+ [r, u]
981
995
  ), L = (y, Z) => {
982
- $(y, { value: Z });
983
- }, x1 = r1(
984
- (y, Z, v1) => {
985
- V.current[y] || (V.current[y] = {}), V.current[y][Z] = v1, console.log("event handler added", y, Z);
996
+ P(y, { value: Z });
997
+ }, x1 = c1(
998
+ (y, Z, h1) => {
999
+ O.current[y] || (O.current[y] = {}), O.current[y][Z] = h1, console.log("event handler added", y, Z);
986
1000
  },
987
1001
  []
988
- ), M1 = r1((y, Z) => {
989
- V.current[y] && (delete V.current[y][Z], console.log("event handler removed", y, Z));
1002
+ ), M1 = c1((y, Z) => {
1003
+ O.current[y] && (delete O.current[y][Z], console.log("event handler removed", y, Z));
990
1004
  }, []);
991
1005
  return t1(() => {
992
1006
  let Z = new URLSearchParams(window.location.search).get("token");
993
- Z ? (console.log("saving token: ", Z), V2(a3.uuid, Z)) : (Z = O2(a3.uuid), console.log("loading token: ", Z)), s(Z), u();
1007
+ Z ? (console.log("saving token: ", Z), U2(a3.uuid, Z)) : (Z = k2(a3.uuid), console.log("loading token: ", Z)), s(Z), i();
994
1008
  }, []), t1(() => {
995
1009
  async function y() {
996
- if (console.log("effect is running"), !(!g.apiPath || P || !e || !await z(g.apiPath)) && !b.current) {
1010
+ if (console.log("effect is running"), !(!g.apiPath || T || !e || !await z(g.apiPath)) && !b.current) {
1011
+ console.log("connecting to websocket");
997
1012
  const m1 = `${g.apiPath.replace("http", "ws")}/ui/join/${e}`, K = new WebSocket(m1);
998
- b.current = K, K.onopen = (B) => {
999
- console.log("connected", B.type, B.target), C.dispatch(W.setWebsocketIsConnected(!0));
1000
- }, K.onerror = (B) => {
1001
- console.log(B);
1002
- }, K.onclose = (B) => {
1003
- if (console.log("disconnected: ", B.reason, B.code), B.code === 4e3) {
1013
+ b.current = K, K.onopen = (A) => {
1014
+ console.log("connected", A.type, A.target), C.dispatch(W.setWebsocketIsConnected(!0));
1015
+ }, K.onerror = (A) => {
1016
+ console.log(A);
1017
+ }, K.onclose = (A) => {
1018
+ if (console.log("disconnected: ", A.reason, A.code), A.code === 4e3) {
1004
1019
  console.log("user code changed"), C.dispatch(W.setUserCode({ userCode: "", qrUrl: "" })), C.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
1005
1020
  return;
1006
1021
  }
1007
- if (B.code === 4001 && !d) {
1022
+ if (A.code === 4001 && !d) {
1008
1023
  console.log("processor disconnected"), C.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
1009
1024
  return;
1010
1025
  }
1011
- if (B.code === 4002) {
1026
+ if (A.code === 4002) {
1012
1027
  console.log("room combination changed"), C.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
1013
1028
  return;
1014
1029
  }
@@ -1018,16 +1033,23 @@ const k2 = ({ children: t }) => {
1018
1033
  console.log("WebSocket closed by client.");
1019
1034
  return;
1020
1035
  }
1021
- P || (C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
1022
- }, K.onmessage = (B) => {
1036
+ T || (C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
1037
+ }, K.onmessage = (A) => {
1023
1038
  try {
1024
- const R = JSON.parse(B.data);
1039
+ const R = JSON.parse(A.data);
1025
1040
  if (console.log(R), R.type === "close") {
1026
1041
  K.close(4001, R.content);
1027
1042
  return;
1028
1043
  }
1029
1044
  if (R.type.startsWith("/system/"))
1030
1045
  switch (R.type) {
1046
+ case "/system/touchpanelKey":
1047
+ C.dispatch(
1048
+ W.setTouchpanelKey(
1049
+ R.content
1050
+ )
1051
+ );
1052
+ break;
1031
1053
  case "/system/roomKey":
1032
1054
  C.dispatch(
1033
1055
  W.setCurrentRoomKey(
@@ -1051,7 +1073,7 @@ const k2 = ({ children: t }) => {
1051
1073
  }
1052
1074
  else if (R.type.startsWith("/event/")) {
1053
1075
  console.log("event message received", R);
1054
- const J = V.current[R.type];
1076
+ const J = O.current[R.type];
1055
1077
  J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((k) => {
1056
1078
  try {
1057
1079
  k(R);
@@ -1070,87 +1092,87 @@ const k2 = ({ children: t }) => {
1070
1092
  return y(), () => {
1071
1093
  b.current && b.current.close(), b.current = null;
1072
1094
  };
1073
- }, [g.apiPath, z, e, P, d]), t1(() => {
1074
- !l || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", l), $(`/room/${l}/status`, null)));
1075
- }, [l, i, c, $]), /* @__PURE__ */ o.jsx(
1095
+ }, [g.apiPath, z, e, T, d]), t1(() => {
1096
+ !c || !r || (console.log("clientId: ", u), u && (console.log("requesting status from room: ", c), P(`/room/${c}/status`, null)));
1097
+ }, [c, u, r, P]), /* @__PURE__ */ o.jsx(
1076
1098
  m3.Provider,
1077
1099
  {
1078
1100
  value: {
1079
- sendMessage: $,
1101
+ sendMessage: P,
1080
1102
  sendSimpleMessage: L,
1081
1103
  addEventHandler: x1,
1082
1104
  removeEventHandler: M1,
1083
1105
  reconnect: o1
1084
1106
  },
1085
- children: c ? t : /* @__PURE__ */ o.jsx(T2, {})
1107
+ children: r ? t : /* @__PURE__ */ o.jsx(O2, {})
1086
1108
  }
1087
1109
  );
1088
- }, g6 = ({ children: t }) => /* @__PURE__ */ o.jsx(n2, { store: C, children: /* @__PURE__ */ o.jsx(k2, { children: t }) });
1110
+ }, M6 = ({ children: t }) => /* @__PURE__ */ o.jsx(n2, { store: C, children: /* @__PURE__ */ o.jsx(F2, { children: t }) });
1089
1111
  function I() {
1090
- return r2(m3);
1112
+ return c2(m3);
1091
1113
  }
1092
- function U2({
1114
+ function W2({
1093
1115
  onPress: t,
1094
1116
  onRelease: e,
1095
1117
  onHold: s,
1096
- holdTimeMs: c = 500
1118
+ holdTimeMs: r = 500
1097
1119
  }) {
1098
- const l = u1(null), i = u1(!1);
1099
- function u() {
1100
- i.current = !0, t == null || t(), l.current = setTimeout(() => {
1101
- s == null || s(), l.current = null;
1102
- }, c);
1120
+ const c = u1(null), u = u1(!1);
1121
+ function i() {
1122
+ u.current = !0, t == null || t(), c.current = setTimeout(() => {
1123
+ s == null || s(), c.current = null;
1124
+ }, r);
1103
1125
  }
1104
1126
  function g() {
1105
- i.current = !1, e == null || e(), l.current && (clearTimeout(l.current), l.current = null);
1127
+ u.current = !1, e == null || e(), c.current && (clearTimeout(c.current), c.current = null);
1106
1128
  }
1107
1129
  function f() {
1108
- i.current && g();
1130
+ u.current && g();
1109
1131
  }
1110
1132
  return {
1111
- onPointerDown: u,
1133
+ onPointerDown: i,
1112
1134
  onPointerUp: g,
1113
1135
  onPointerLeave: f
1114
1136
  };
1115
1137
  }
1116
- function h(t, e) {
1117
- const { sendMessage: c } = I(), l = u1(null);
1118
- function i() {
1119
- c(`${t}/${e}`, { value: "pressed" }), l.current || (l.current = setInterval(() => {
1120
- c(`${t}/${e}`, { value: "held" });
1138
+ function v(t, e) {
1139
+ const { sendMessage: r } = I(), c = u1(null);
1140
+ function u() {
1141
+ r(`${t}/${e}`, { value: "pressed" }), c.current || (c.current = setInterval(() => {
1142
+ r(`${t}/${e}`, { value: "held" });
1121
1143
  }, 250));
1122
1144
  }
1123
- function u() {
1124
- l.current && (clearInterval(l.current), l.current = null), c(`${t}/${e}`, { value: "released" });
1145
+ function i() {
1146
+ c.current && (clearInterval(c.current), c.current = null), r(`${t}/${e}`, { value: "released" });
1125
1147
  }
1126
- return U2({ onPress: i, onRelease: u });
1148
+ return W2({ onPress: u, onRelease: i });
1127
1149
  }
1128
1150
  function Z3(t, e) {
1129
- const { sendMessage: s, sendSimpleMessage: c } = I(), l = h(`${t}`, "volumeUp"), i = h(`${t}`, "volumeDown");
1151
+ const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
1130
1152
  return e ? {
1131
1153
  volumeState: e,
1132
- volumeUp: l,
1133
- volumeDown: i,
1134
- setLevel: (d) => c(`${t}/level`, d),
1154
+ volumeUp: c,
1155
+ volumeDown: u,
1156
+ setLevel: (d) => r(`${t}/level`, d),
1135
1157
  muteToggle: () => s(`${t}/muteToggle`, null),
1136
1158
  muteOn: () => s(`${t}/muteOn`, null),
1137
1159
  muteOff: () => s(`${t}/muteOff`, null)
1138
1160
  } : void 0;
1139
1161
  }
1140
- function f6(t, e) {
1141
- const { sendMessage: s, sendSimpleMessage: c } = I(), l = h(`${t}`, "volumeUp"), i = h(`${t}`, "volumeDown");
1162
+ function m6(t, e) {
1163
+ const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
1142
1164
  return e ? {
1143
1165
  volumeState: e,
1144
- volumeUp: l,
1145
- volumeDown: i,
1146
- setLevel: (d) => c(`${t}/level`, d),
1166
+ volumeUp: c,
1167
+ volumeDown: u,
1168
+ setLevel: (d) => r(`${t}/level`, d),
1147
1169
  muteToggle: () => s(`${t}/muteToggle`, null),
1148
1170
  muteOn: () => s(`${t}/muteOn`, null),
1149
1171
  muteOff: () => s(`${t}/muteOff`, null)
1150
1172
  } : void 0;
1151
1173
  }
1152
- function F2(t) {
1153
- const e = A(t), s = `/device/${t}`;
1174
+ function H2(t) {
1175
+ const e = $(t), s = `/device/${t}`;
1154
1176
  return Z3(s, e == null ? void 0 : e.volume);
1155
1177
  }
1156
1178
  function j3(t) {
@@ -1163,83 +1185,89 @@ function j3(t) {
1163
1185
  e(`/device/${t}/powerToggle`, null);
1164
1186
  } };
1165
1187
  }
1166
- function P1(t) {
1167
- const { sendMessage: e } = I(), s = A(t);
1168
- return console.log("deviceState", s), s ? { itemsState: s, selectItem: (l) => {
1169
- e(`/device/${t}/${l}`, null);
1188
+ function D1(t) {
1189
+ const { sendMessage: e } = I(), s = $(t);
1190
+ return console.log("deviceState", s), s ? { itemsState: s, selectItem: (c) => {
1191
+ e(`/device/${t}/${c}`, null);
1170
1192
  } } : void 0;
1171
1193
  }
1172
- function W2(t) {
1173
- const { sendMessage: e } = I(), s = A(t), c = () => {
1194
+ function K2(t) {
1195
+ const { sendMessage: e } = I(), s = $(t), r = () => {
1174
1196
  e(`/device/${t}/setDefaultChannelLevels`, null);
1175
- }, l = () => {
1197
+ }, c = () => {
1176
1198
  if ((s == null ? void 0 : s.levelControls) === void 0)
1177
1199
  return;
1178
1200
  Object.keys(s == null ? void 0 : s.levelControls).forEach((g) => {
1179
1201
  e(`/device/${t}/${g}/fullStatus`, null);
1180
1202
  });
1181
1203
  };
1182
- return s ? { levelControls: s.levelControls, setDefaultChannelLevels: c, getFullStatus: l } : void 0;
1204
+ return s ? { levelControls: s.levelControls, setDefaultChannelLevels: r, getFullStatus: c } : void 0;
1183
1205
  }
1184
- function w6(t) {
1185
- const e = A(t), s = j3(t), c = P1(t), l = P1(t), i = F2(t), u = W2(t);
1206
+ function Z6(t) {
1207
+ const e = $(t), s = j3(t), r = D1(t), c = D1(t), u = H2(t), i = K2(t);
1186
1208
  if (e)
1187
1209
  return {
1188
1210
  avrState: e,
1189
1211
  powerControl: s,
1190
- inputControl: c,
1191
- surroundSoundModes: l,
1192
- surroundChannels: u,
1193
- mainVolumeControl: i
1212
+ inputControl: r,
1213
+ surroundSoundModes: c,
1214
+ surroundChannels: i,
1215
+ mainVolumeControl: u
1194
1216
  };
1195
1217
  }
1196
- function p6(t) {
1197
- const e = A(t);
1218
+ function j6(t) {
1219
+ const e = $(t);
1198
1220
  if (e)
1199
1221
  return { endpointState: e };
1200
1222
  }
1201
- function x6(t) {
1202
- const e = `/device/${t}`, s = h(e, "chanUp"), c = h(e, "chanDown"), l = h(e, "lastChan"), i = h(e, "guide"), u = h(e, "info"), g = h(e, "exit");
1203
- return { channelUp: s, channelDown: c, lastChannel: l, guide: i, info: u, exit: g };
1223
+ function C6(t) {
1224
+ const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown"), c = v(e, "lastChan"), u = v(e, "guide"), i = v(e, "info"), g = v(e, "exit");
1225
+ return { channelUp: s, channelDown: r, lastChannel: c, guide: u, info: i, exit: g };
1204
1226
  }
1205
- function M6(t) {
1206
- const e = `/device/${t}`, s = h(e, "red"), c = h(e, "green"), l = h(e, "yellow"), i = h(e, "blue");
1207
- return { red: s, green: c, yellow: l, blue: i };
1227
+ function S6(t) {
1228
+ const e = `/device/${t}`, s = v(e, "red"), r = v(e, "green"), c = v(e, "yellow"), u = v(e, "blue");
1229
+ return { red: s, green: r, yellow: c, blue: u };
1208
1230
  }
1209
- function m6(t) {
1210
- const e = A(t);
1231
+ function b6(t) {
1232
+ const e = $(t);
1211
1233
  if (e)
1212
1234
  return {
1213
1235
  communicationMonitorState: e
1214
1236
  };
1215
1237
  }
1216
- function Z6(t) {
1217
- const e = `/device/${t}`, s = h(e, "up"), c = h(e, "down"), l = h(e, "left"), i = h(e, "right"), u = h(e, "select"), g = h(e, "menu"), f = h(e, "exit");
1218
- return { up: s, down: c, left: l, right: i, select: u, menu: g, exit: f };
1238
+ function I6(t) {
1239
+ const e = `/device/${t}`, s = v(e, "up"), r = v(e, "down"), c = v(e, "left"), u = v(e, "right"), i = v(e, "select"), g = v(e, "menu"), f = v(e, "exit");
1240
+ return { up: s, down: r, left: c, right: u, select: i, menu: g, exit: f };
1219
1241
  }
1220
- function j6(t) {
1221
- const e = A(t);
1242
+ function y6(t) {
1243
+ const e = $(t);
1222
1244
  if (e)
1223
1245
  return e.deviceInfo || void 0;
1224
1246
  }
1225
- function C6(t) {
1226
- const e = `/device/${t}`, s = h(e, "dvrList"), c = h(e, "record");
1227
- return { dvrList: s, record: c };
1247
+ function R6(t) {
1248
+ const { sendMessage: e } = I();
1249
+ return { recallPreset: (r) => {
1250
+ e(`/device/${t}/recallPreset`, r);
1251
+ } };
1252
+ }
1253
+ function E6(t) {
1254
+ const e = `/device/${t}`, s = v(e, "dvrList"), r = v(e, "record");
1255
+ return { dvrList: s, record: r };
1228
1256
  }
1229
- const S6 = ({ className: t }) => {
1257
+ const _6 = ({ className: t }) => {
1230
1258
  const [e, s] = H();
1231
1259
  return t1(() => {
1232
1260
  setInterval(() => {
1233
- const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1234
- s(c);
1261
+ const r = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1262
+ s(r);
1235
1263
  }, 1e3);
1236
1264
  }, []), /* @__PURE__ */ o.jsxs("div", { className: t, children: [
1237
1265
  e,
1238
1266
  " new change"
1239
1267
  ] });
1240
1268
  };
1241
- function b6(t) {
1242
- const { sendMessage: e } = I(), s = A(t);
1269
+ function L6(t) {
1270
+ const { sendMessage: e } = I(), s = $(t);
1243
1271
  return s ? { roomCombinerState: s, setAutoMode: () => {
1244
1272
  e(`/device/${t}/setAutoMode`, null);
1245
1273
  }, setManualMode: () => {
@@ -1252,70 +1280,70 @@ function b6(t) {
1252
1280
  e(`/device/${t}/setRoomCombinationScenario`, f);
1253
1281
  } } : void 0;
1254
1282
  }
1255
- function I6(t) {
1256
- const { sendMessage: e, sendSimpleMessage: s } = I(), c = A(t), l = Z2(t), i = c || l;
1257
- return i ? {
1258
- levelState: i,
1283
+ function $6(t) {
1284
+ const { sendMessage: e, sendSimpleMessage: s } = I(), r = $(t), c = C2(t), u = r || c;
1285
+ return u ? {
1286
+ levelState: u,
1259
1287
  setLevel: (d, b) => s(`${d}/level`, b),
1260
1288
  muteToggle: (d) => e(`${d}/muteToggle`, null),
1261
1289
  muteOn: (d) => e(`${d}/muteOn`, null),
1262
1290
  muteOff: (d) => e(`${d}/muteOff`, null)
1263
1291
  } : void 0;
1264
1292
  }
1265
- function y6(t) {
1266
- const { sendMessage: e } = I(), s = A(t);
1267
- return s ? { lightingState: s, selectScene: (l) => {
1268
- e(`/device/${t}/selectScene`, l);
1293
+ function P6(t) {
1294
+ const { sendMessage: e } = I(), s = $(t);
1295
+ return s ? { lightingState: s, selectScene: (c) => {
1296
+ e(`/device/${t}/selectScene`, c);
1269
1297
  } } : void 0;
1270
1298
  }
1271
- function R6(t) {
1272
- const { sendMessage: e } = I(), s = A(t);
1273
- return s ? { matrixRoutingState: s, setRoute: (l) => {
1274
- e(`/device/${t}/route`, l);
1299
+ function T6(t) {
1300
+ const { sendMessage: e } = I(), s = $(t);
1301
+ return s ? { matrixRoutingState: s, setRoute: (c) => {
1302
+ e(`/device/${t}/route`, c);
1275
1303
  } } : void 0;
1276
1304
  }
1277
- function E6(t) {
1305
+ function D6(t) {
1278
1306
  const { sendMessage: e } = I();
1279
1307
  return { closeApp: () => {
1280
1308
  e(`/device/${t}/closeWebViewController`, null);
1281
1309
  } };
1282
1310
  }
1283
- function _6(t) {
1284
- const e = `/device/${t}`, s = h(e, "num0"), c = h(e, "num1"), l = h(e, "num2"), i = h(e, "num3"), u = h(e, "num4"), g = h(e, "num5"), f = h(e, "num6"), w = h(e, "num7"), d = h(e, "num8"), b = h(e, "num9"), P = h(e, "numDash"), F = h(e, "numEnter");
1285
- return { digit0: s, digit1: c, digit2: l, digit3: i, digit4: u, digit5: g, digit6: f, digit7: w, digit8: d, digit9: b, keypadAccessoryButton1: P, keypadAccessoryButton2: F };
1311
+ function A6(t) {
1312
+ const e = `/device/${t}`, s = v(e, "num0"), r = v(e, "num1"), c = v(e, "num2"), u = v(e, "num3"), i = v(e, "num4"), g = v(e, "num5"), f = v(e, "num6"), w = v(e, "num7"), d = v(e, "num8"), b = v(e, "num9"), T = v(e, "numDash"), F = v(e, "numEnter");
1313
+ return { digit0: s, digit1: r, digit2: c, digit3: u, digit4: i, digit5: g, digit6: f, digit7: w, digit8: d, digit9: b, keypadAccessoryButton1: T, keypadAccessoryButton2: F };
1286
1314
  }
1287
- function L6(t) {
1288
- const { sendMessage: e } = I(), s = A(t);
1315
+ function B6(t) {
1316
+ const { sendMessage: e } = I(), s = $(t);
1289
1317
  return s ? { projectorScreenLiftControlState: s, raise: () => {
1290
1318
  e(`/device/${t}/raise`, null);
1291
1319
  }, lower: () => {
1292
1320
  e(`/device/${t}/lower`, null);
1293
1321
  } } : void 0;
1294
1322
  }
1295
- function $6(t) {
1296
- const { sendMessage: e } = I(), s = T1(t);
1297
- return s ? { roomEventScheduleState: s, save: (l) => {
1298
- e(`/room/${t}/saveScheduledEvents`, l);
1323
+ function O6(t) {
1324
+ const { sendMessage: e } = I(), s = A1(t);
1325
+ return s ? { roomEventScheduleState: s, save: (c) => {
1326
+ e(`/room/${t}/saveScheduledEvents`, c);
1299
1327
  } } : void 0;
1300
1328
  }
1301
- function D6(t) {
1329
+ function V6(t) {
1302
1330
  const { sendMessage: e } = I();
1303
- return { runDirectRoute: (c) => {
1304
- e(`/room/${t}/directRoute`, c);
1331
+ return { runDirectRoute: (r) => {
1332
+ e(`/room/${t}/directRoute`, r);
1305
1333
  } };
1306
1334
  }
1307
- function A6(t) {
1335
+ function k6(t) {
1308
1336
  const { sendMessage: e } = I();
1309
- return { routingState: A(t), runRoute: (l) => {
1310
- e(`/room/${t}/source`, l);
1337
+ return { routingState: $(t), runRoute: (c) => {
1338
+ e(`/room/${t}/source`, c);
1311
1339
  } };
1312
1340
  }
1313
- function P6(t) {
1314
- const e = `/device/${t}`, s = h(e, "chanUp"), c = h(e, "chanDown");
1315
- return { dvrList: s, replay: c };
1341
+ function U6(t) {
1342
+ const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown");
1343
+ return { dvrList: s, replay: r };
1316
1344
  }
1317
- function T6(t) {
1318
- const { sendMessage: e } = I(), s = A(t);
1345
+ function F6(t) {
1346
+ const { sendMessage: e } = I(), s = $(t);
1319
1347
  return s ? { shadeState: s, shadeUp: () => {
1320
1348
  e(`/device/${t}/shadeUp`, null);
1321
1349
  }, shadeDown: () => {
@@ -1324,8 +1352,8 @@ function T6(t) {
1324
1352
  e(`/device/${t}/stopOrPreset`, null);
1325
1353
  } } : void 0;
1326
1354
  }
1327
- function B6(t) {
1328
- const { sendMessage: e } = I(), s = T1(t);
1355
+ function W6(t) {
1356
+ const { sendMessage: e } = I(), s = A1(t);
1329
1357
  return s ? { shutdownPromptTimerState: s, setShutdownPromptSeconds: (g) => {
1330
1358
  e(`/room/${t}/setShutdownPromptSeconds`, g);
1331
1359
  }, shutdownStart: () => {
@@ -1336,28 +1364,28 @@ function B6(t) {
1336
1364
  e(`/room/${t}/shutdownCancel`, null);
1337
1365
  } } : void 0;
1338
1366
  }
1339
- function O6(t) {
1340
- const { sendMessage: e } = I(), s = A(t);
1367
+ function H6(t) {
1368
+ const { sendMessage: e } = I(), s = $(t);
1341
1369
  return s ? { switchedOutputState: s, on: () => {
1342
1370
  e(`/device/${t}/on`, null);
1343
1371
  }, off: () => {
1344
1372
  e(`/device/${t}/off`, null);
1345
1373
  } } : void 0;
1346
1374
  }
1347
- function V6(t) {
1348
- const { sendMessage: e } = I(), s = T1(t);
1349
- return s ? { techPasswordState: s, validatePassword: (i) => {
1350
- e(`/room/${t}/validateTechPassword`, { password: i });
1351
- }, setPassword: (i, u) => {
1352
- e(`/room/${t}/setTechPassword`, { oldPassword: i, newPassword: u });
1375
+ function K6(t) {
1376
+ const { sendMessage: e } = I(), s = A1(t);
1377
+ return s ? { techPasswordState: s, validatePassword: (u) => {
1378
+ e(`/room/${t}/validateTechPassword`, { password: u });
1379
+ }, setPassword: (u, i) => {
1380
+ e(`/room/${t}/setTechPassword`, { oldPassword: u, newPassword: i });
1353
1381
  } } : void 0;
1354
1382
  }
1355
- function k6(t) {
1356
- const e = `/device/${t}`, s = h(e, "play"), c = h(e, "pause"), l = h(e, "stop"), i = h(e, "prevTrack"), u = h(e, "nextTrack"), g = h(e, "rewind"), f = h(e, "ffwd"), w = h(e, "record");
1357
- return { play: s, pause: c, stop: l, prevTrack: i, nextTrack: u, rewind: g, fastForward: f, record: w };
1383
+ function G6(t) {
1384
+ const e = `/device/${t}`, s = v(e, "play"), r = v(e, "pause"), c = v(e, "stop"), u = v(e, "prevTrack"), i = v(e, "nextTrack"), g = v(e, "rewind"), f = v(e, "ffwd"), w = v(e, "record");
1385
+ return { play: s, pause: r, stop: c, prevTrack: u, nextTrack: i, rewind: g, fastForward: f, record: w };
1358
1386
  }
1359
- function U6(t) {
1360
- const e = A(t), { sendMessage: s } = I();
1387
+ function q6(t) {
1388
+ const e = $(t), { sendMessage: s } = I();
1361
1389
  return e ? {
1362
1390
  touchpanelState: e,
1363
1391
  appControl: { hideApp: () => {
@@ -1372,28 +1400,37 @@ function U6(t) {
1372
1400
  } }
1373
1401
  } : void 0;
1374
1402
  }
1375
- function F6(t) {
1376
- const e = A(t), s = j3(t), c = P1(t);
1403
+ function Y6(t) {
1404
+ const e = $(t), s = j3(t), r = D1(t);
1377
1405
  if (!e)
1378
1406
  return;
1379
- const l = (e.powerState || e.isWarming) && !e.isCooling, i = (!e.powerState || e.isCooling) && !e.isWarming;
1407
+ const c = (e.powerState || e.isWarming) && !e.isCooling, u = (!e.powerState || e.isCooling) && !e.isWarming;
1380
1408
  return {
1381
1409
  displayState: e,
1382
1410
  powerControl: s,
1383
- inputControl: c,
1384
- powerFb: { powerOnFb: l, powerOffFb: i }
1411
+ inputControl: r,
1412
+ powerFb: { powerOnFb: c, powerOffFb: u }
1385
1413
  };
1386
1414
  }
1387
- function W6(t) {
1415
+ function z6(t) {
1388
1416
  const { sendMessage: e } = I();
1389
1417
  return { runDefaultPresentRoute: () => {
1390
1418
  e(`/room/${t}/defaultsource`, {});
1391
1419
  } };
1392
1420
  }
1393
- const H6 = ({ config: t }) => {
1421
+ function J6(t) {
1422
+ const { sendMessage: e } = I(), s = $(t), r = (c) => {
1423
+ e(`/device/${t}/saveTheme`, { value: c });
1424
+ };
1425
+ return {
1426
+ currentTheme: s == null ? void 0 : s.theme,
1427
+ saveTheme: r
1428
+ };
1429
+ }
1430
+ const X6 = ({ config: t }) => {
1394
1431
  const { sendMessage: e } = I();
1395
1432
  t1(() => {
1396
- var c, l;
1433
+ var r, c, u;
1397
1434
  if (!t)
1398
1435
  return;
1399
1436
  const s = [];
@@ -1401,13 +1438,13 @@ const H6 = ({ config: t }) => {
1401
1438
  s.push(i);
1402
1439
  }), Object.values(t.destinationList).forEach((i) => {
1403
1440
  s.push(i.sinkKey);
1404
- }), t.levelControlList && Object.values(t.levelControlList).forEach((i) => {
1405
- s.push(i.deviceKey);
1441
+ }), t.audioControlPointList && Object.values((r = t.audioControlPointList) == null ? void 0 : r.levelControls).forEach((i) => {
1442
+ s.push(i.parentDeviceKey + "--" + i.itemKey);
1406
1443
  }), (c = t.touchpanelKeys) == null || c.forEach((i) => {
1407
1444
  s.push(i);
1408
1445
  }), t.environmentalDevices.forEach((i) => {
1409
1446
  s.push(i.deviceKey);
1410
- }), (l = t.accessoryDeviceKeys) == null || l.forEach((i) => {
1447
+ }), (u = t.accessoryDeviceKeys) == null || u.forEach((i) => {
1411
1448
  s.push(i);
1412
1449
  }), t.audioCodecKey && s.push(t.audioCodecKey), t.videoCodecKey && s.push(t.videoCodecKey), t.matrixRoutingKey && s.push(t.matrixRoutingKey), t.roomCombinerKey && s.push(t.roomCombinerKey), t.endpointKeys && t.endpointKeys.forEach((i) => {
1413
1450
  s.push(i);
@@ -1419,103 +1456,117 @@ const H6 = ({ config: t }) => {
1419
1456
  });
1420
1457
  }, [t, e]);
1421
1458
  };
1422
- function K6(t, e) {
1423
- const s = m2(t, e), c = `/room/${t}/volumes/${e}`;
1424
- return Z3(c, s);
1459
+ function Q6(t, e) {
1460
+ const s = j2(t, e), r = `/room/${t}/volumes/${e}`;
1461
+ return Z3(r, s);
1462
+ }
1463
+ function N6() {
1464
+ const { sendMessage: t } = I();
1465
+ return {
1466
+ reboot: () => {
1467
+ t("/system/reboot", null);
1468
+ },
1469
+ programReset: () => {
1470
+ t("/system/programReset", null);
1471
+ }
1472
+ };
1425
1473
  }
1426
- function G6() {
1427
- const [t, e] = H(), [s, c] = H();
1428
- function l() {
1474
+ function ee() {
1475
+ const [t, e] = H(), [s, r] = H();
1476
+ function c() {
1429
1477
  e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1430
- const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1431
- c(i);
1478
+ const u = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1479
+ r(u);
1432
1480
  }
1433
1481
  return t1(() => {
1434
- l();
1435
- const i = setInterval(() => {
1436
- l();
1482
+ c();
1483
+ const u = setInterval(() => {
1484
+ c();
1437
1485
  }, 1e3);
1438
- return () => clearInterval(i);
1486
+ return () => clearInterval(u);
1439
1487
  }, []), { date: t, time: s };
1440
1488
  }
1441
- function q6(t, e) {
1442
- const [s, c] = H(!1), [l, i] = H(!1);
1443
- return h3(() => {
1444
- const { current: u } = t, g = () => {
1445
- const f = u && u.scrollHeight > u.clientHeight, w = u && u.scrollWidth > u.clientWidth;
1446
- i(f ?? !1), c(w ?? !1), e && e(f ?? !1, w ?? !1);
1489
+ function te(t, e) {
1490
+ const [s, r] = H(!1), [c, u] = H(!1);
1491
+ return v3(() => {
1492
+ const { current: i } = t, g = () => {
1493
+ const f = i && i.scrollHeight > i.clientHeight, w = i && i.scrollWidth > i.clientWidth;
1494
+ u(f ?? !1), r(w ?? !1), e && e(f ?? !1, w ?? !1);
1447
1495
  };
1448
- u && g();
1449
- }, [t, e]), { overflowHorizontal: s, overflowVertical: l };
1496
+ i && g();
1497
+ }, [t, e]), { overflowHorizontal: s, overflowVertical: c };
1450
1498
  }
1451
- function Y6(t) {
1499
+ function oe(t) {
1452
1500
  var g, f;
1453
- const [e, s] = H(((g = t == null ? void 0 : t.current) == null ? void 0 : g.scrollLeft) ?? 0), [c, l] = H(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0), i = (w) => {
1501
+ const [e, s] = H(((g = t == null ? void 0 : t.current) == null ? void 0 : g.scrollLeft) ?? 0), [r, c] = H(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0), u = (w) => {
1454
1502
  const { current: d } = t;
1455
1503
  d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
1456
- }, u = (w) => {
1504
+ }, i = (w) => {
1457
1505
  const { current: d } = t;
1458
1506
  d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
1459
1507
  };
1460
- return h3(() => {
1508
+ return v3(() => {
1461
1509
  const { current: w } = t, d = () => {
1462
- s((w == null ? void 0 : w.scrollLeft) ?? 0), l((w == null ? void 0 : w.scrollTop) ?? 0);
1510
+ s((w == null ? void 0 : w.scrollLeft) ?? 0), c((w == null ? void 0 : w.scrollTop) ?? 0);
1463
1511
  };
1464
1512
  w && d();
1465
- }, [t]), { horizontalScrollPosition: e, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: u };
1513
+ }, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal: u, scrollVertical: i };
1466
1514
  }
1467
- const z6 = () => {
1468
- const t = l2();
1469
- return /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1515
+ const se = () => {
1516
+ const [t, e] = H(!1), s = l2(), r = i2();
1517
+ let c;
1518
+ return a2(r) ? c = r.statusText : r instanceof Error ? c = r.message : typeof r == "string" ? c = r : (console.error(r), c = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1470
1519
  /* @__PURE__ */ o.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ o.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1471
- /* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(-1), children: "Go Back" })
1520
+ /* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => s(-1), children: "Go Back" }),
1521
+ /* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => e(!t), children: t ? "Hide error message" : "Show error message" }),
1522
+ t && /* @__PURE__ */ o.jsx("p", { children: c })
1472
1523
  ] });
1473
- }, H2 = "_iconbtn_16qss_1", K2 = "_iconbtnvert_16qss_7", G2 = "_iconsm_16qss_18", _1 = {
1474
- iconbtn: H2,
1475
- iconbtnvert: K2,
1476
- iconsm: G2
1477
- }, q2 = ({
1524
+ }, G2 = "_iconbtn_16qss_1", q2 = "_iconbtnvert_16qss_7", Y2 = "_iconsm_16qss_18", _1 = {
1525
+ iconbtn: G2,
1526
+ iconbtnvert: q2,
1527
+ iconsm: Y2
1528
+ }, z2 = ({
1478
1529
  multiIcon: t,
1479
1530
  otherContent: e = null,
1480
1531
  vert: s = !1,
1481
- className: c,
1482
- iconClassName: l = "",
1483
- otherContentClassName: i = "",
1484
- disabled: u,
1532
+ className: r,
1533
+ iconClassName: c = "",
1534
+ otherContentClassName: u = "",
1535
+ disabled: i,
1485
1536
  feedback: g,
1486
1537
  feedbackClassName: f,
1487
1538
  onPointerDown: w,
1488
1539
  onPointerUp: d,
1489
1540
  onPointerLeave: b,
1490
- ...P
1541
+ ...T
1491
1542
  }) => {
1492
- const [F, V] = H(!1), z = !u && g ? f : "", o1 = !u && (F || g);
1543
+ const [F, O] = H(!1), z = !i && g ? f : "", o1 = !i && (F || g);
1493
1544
  return /* @__PURE__ */ o.jsxs(
1494
1545
  "button",
1495
1546
  {
1496
1547
  type: "button",
1497
- className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${c} ${z}`,
1498
- ...P,
1499
- disabled: u,
1500
- onPointerDown: ($) => {
1501
- V(!0), w == null || w($);
1548
+ className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${r} ${z}`,
1549
+ ...T,
1550
+ disabled: i,
1551
+ onPointerDown: (P) => {
1552
+ O(!0), w == null || w(P);
1502
1553
  },
1503
- onPointerUp: ($) => {
1504
- V(!1), d == null || d($);
1554
+ onPointerUp: (P) => {
1555
+ O(!1), d == null || d(P);
1505
1556
  },
1506
- onPointerLeave: ($) => {
1507
- V(!1), b == null || b($);
1557
+ onPointerLeave: (P) => {
1558
+ O(!1), b == null || b(P);
1508
1559
  },
1509
1560
  children: [
1510
1561
  t && /* @__PURE__ */ o.jsx(
1511
1562
  t,
1512
1563
  {
1513
- className: `${l || _1.iconsm}`,
1564
+ className: `${c || _1.iconsm}`,
1514
1565
  active: o1,
1515
- disabled: u
1566
+ disabled: i
1516
1567
  }
1517
1568
  ),
1518
- /* @__PURE__ */ o.jsx("div", { className: i, children: e })
1569
+ /* @__PURE__ */ o.jsx("div", { className: u, children: e })
1519
1570
  ]
1520
1571
  }
1521
1572
  );
@@ -1523,9 +1574,9 @@ const z6 = () => {
1523
1574
  ActiveImage: t,
1524
1575
  DisabledImage: e,
1525
1576
  EnabledImage: s,
1526
- active: c,
1527
- disabled: l
1528
- }) => l ? e : c ? t : s, Y2 = ({
1577
+ active: r,
1578
+ disabled: c
1579
+ }) => c ? e : r ? t : s, J2 = ({
1529
1580
  active: t,
1530
1581
  className: e = "",
1531
1582
  disabled: s
@@ -1577,7 +1628,7 @@ const z6 = () => {
1577
1628
  active: t,
1578
1629
  disabled: s
1579
1630
  }
1580
- ), z2 = ({
1631
+ ), X2 = ({
1581
1632
  active: t,
1582
1633
  className: e = "",
1583
1634
  disabled: s
@@ -1626,7 +1677,7 @@ const z6 = () => {
1626
1677
  active: t,
1627
1678
  disabled: s
1628
1679
  }
1629
- ), J2 = ({
1680
+ ), Q2 = ({
1630
1681
  active: t,
1631
1682
  className: e = "",
1632
1683
  disabled: s
@@ -1666,7 +1717,7 @@ const z6 = () => {
1666
1717
  active: t,
1667
1718
  disabled: s
1668
1719
  }
1669
- ), X2 = ({
1720
+ ), N2 = ({
1670
1721
  active: t,
1671
1722
  className: e = "",
1672
1723
  disabled: s
@@ -1715,7 +1766,7 @@ const z6 = () => {
1715
1766
  active: t,
1716
1767
  disabled: s
1717
1768
  }
1718
- ), Q2 = ({
1769
+ ), e8 = ({
1719
1770
  active: t,
1720
1771
  // Just to shut up the linter on this template. Prefer deleting this lint rule
1721
1772
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -1784,7 +1835,7 @@ const z6 = () => {
1784
1835
  active: t,
1785
1836
  disabled: s
1786
1837
  }
1787
- ), N2 = ({
1838
+ ), t8 = ({
1788
1839
  active: t,
1789
1840
  className: e = "",
1790
1841
  disabled: s
@@ -1833,7 +1884,7 @@ const z6 = () => {
1833
1884
  active: t,
1834
1885
  disabled: s
1835
1886
  }
1836
- ), e8 = ({
1887
+ ), o8 = ({
1837
1888
  active: t,
1838
1889
  className: e = "",
1839
1890
  disabled: s
@@ -1882,7 +1933,7 @@ const z6 = () => {
1882
1933
  active: t,
1883
1934
  disabled: s
1884
1935
  }
1885
- ), t8 = ({
1936
+ ), s8 = ({
1886
1937
  active: t,
1887
1938
  className: e = "",
1888
1939
  disabled: s
@@ -1931,7 +1982,7 @@ const z6 = () => {
1931
1982
  active: t,
1932
1983
  disabled: s
1933
1984
  }
1934
- ), o8 = ({
1985
+ ), n8 = ({
1935
1986
  active: t,
1936
1987
  className: e = "",
1937
1988
  disabled: s
@@ -1980,7 +2031,7 @@ const z6 = () => {
1980
2031
  active: t,
1981
2032
  disabled: s
1982
2033
  }
1983
- ), s8 = ({
2034
+ ), r8 = ({
1984
2035
  active: t,
1985
2036
  className: e = "",
1986
2037
  disabled: s
@@ -2029,7 +2080,7 @@ const z6 = () => {
2029
2080
  active: t,
2030
2081
  disabled: s
2031
2082
  }
2032
- ), n8 = ({
2083
+ ), c8 = ({
2033
2084
  active: t,
2034
2085
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2035
2086
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -2098,7 +2149,7 @@ const z6 = () => {
2098
2149
  active: t,
2099
2150
  disabled: s
2100
2151
  }
2101
- ), c8 = ({
2152
+ ), l8 = ({
2102
2153
  active: t,
2103
2154
  className: e = "",
2104
2155
  disabled: s
@@ -2147,7 +2198,7 @@ const z6 = () => {
2147
2198
  active: t,
2148
2199
  disabled: s
2149
2200
  }
2150
- ), r8 = ({
2201
+ ), i8 = ({
2151
2202
  active: t,
2152
2203
  className: e = "",
2153
2204
  disabled: s
@@ -2196,7 +2247,7 @@ const z6 = () => {
2196
2247
  active: t,
2197
2248
  disabled: s
2198
2249
  }
2199
- ), l8 = ({
2250
+ ), a8 = ({
2200
2251
  active: t,
2201
2252
  className: e = "",
2202
2253
  disabled: s
@@ -2245,7 +2296,7 @@ const z6 = () => {
2245
2296
  active: t,
2246
2297
  disabled: s
2247
2298
  }
2248
- ), i8 = ({
2299
+ ), u8 = ({
2249
2300
  active: t,
2250
2301
  className: e = "",
2251
2302
  disabled: s
@@ -2294,7 +2345,7 @@ const z6 = () => {
2294
2345
  active: t,
2295
2346
  disabled: s
2296
2347
  }
2297
- ), a8 = ({
2348
+ ), d8 = ({
2298
2349
  active: t,
2299
2350
  className: e = "",
2300
2351
  disabled: s
@@ -2316,7 +2367,7 @@ const z6 = () => {
2316
2367
  active: t,
2317
2368
  disabled: s
2318
2369
  }
2319
- ), u8 = ({
2370
+ ), h8 = ({
2320
2371
  active: t,
2321
2372
  className: e = "",
2322
2373
  disabled: s
@@ -2365,7 +2416,7 @@ const z6 = () => {
2365
2416
  active: t,
2366
2417
  disabled: s
2367
2418
  }
2368
- ), d8 = ({
2419
+ ), v8 = ({
2369
2420
  active: t,
2370
2421
  className: e = "",
2371
2422
  disabled: s
@@ -2414,7 +2465,7 @@ const z6 = () => {
2414
2465
  active: t,
2415
2466
  disabled: s
2416
2467
  }
2417
- ), v8 = ({
2468
+ ), g8 = ({
2418
2469
  active: t,
2419
2470
  className: e = "",
2420
2471
  disabled: s
@@ -2463,7 +2514,7 @@ const z6 = () => {
2463
2514
  active: t,
2464
2515
  disabled: s
2465
2516
  }
2466
- ), h8 = ({
2517
+ ), f8 = ({
2467
2518
  active: t,
2468
2519
  className: e = "",
2469
2520
  disabled: s
@@ -2512,7 +2563,7 @@ const z6 = () => {
2512
2563
  active: t,
2513
2564
  disabled: s
2514
2565
  }
2515
- ), g8 = ({
2566
+ ), w8 = ({
2516
2567
  active: t,
2517
2568
  className: e = "",
2518
2569
  disabled: s
@@ -2561,7 +2612,7 @@ const z6 = () => {
2561
2612
  active: t,
2562
2613
  disabled: s
2563
2614
  }
2564
- ), f8 = ({
2615
+ ), p8 = ({
2565
2616
  active: t,
2566
2617
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2567
2618
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -2630,7 +2681,7 @@ const z6 = () => {
2630
2681
  active: t,
2631
2682
  disabled: s
2632
2683
  }
2633
- ), w8 = ({
2684
+ ), x8 = ({
2634
2685
  active: t,
2635
2686
  className: e = "",
2636
2687
  disabled: s
@@ -2679,7 +2730,7 @@ const z6 = () => {
2679
2730
  active: t,
2680
2731
  disabled: s
2681
2732
  }
2682
- ), p8 = ({
2733
+ ), M8 = ({
2683
2734
  active: t,
2684
2735
  className: e = "",
2685
2736
  disabled: s
@@ -2728,7 +2779,7 @@ const z6 = () => {
2728
2779
  active: t,
2729
2780
  disabled: s
2730
2781
  }
2731
- ), x8 = ({
2782
+ ), m8 = ({
2732
2783
  active: t,
2733
2784
  className: e = "",
2734
2785
  disabled: s
@@ -2777,7 +2828,7 @@ const z6 = () => {
2777
2828
  active: t,
2778
2829
  disabled: s
2779
2830
  }
2780
- ), M8 = ({
2831
+ ), Z8 = ({
2781
2832
  active: t,
2782
2833
  className: e = "",
2783
2834
  disabled: s
@@ -2826,7 +2877,7 @@ const z6 = () => {
2826
2877
  active: t,
2827
2878
  disabled: s
2828
2879
  }
2829
- ), m8 = ({
2880
+ ), j8 = ({
2830
2881
  active: t,
2831
2882
  className: e = "",
2832
2883
  disabled: s
@@ -2875,7 +2926,7 @@ const z6 = () => {
2875
2926
  active: t,
2876
2927
  disabled: s
2877
2928
  }
2878
- ), Z8 = ({
2929
+ ), C8 = ({
2879
2930
  active: t,
2880
2931
  className: e = "",
2881
2932
  disabled: s
@@ -2924,7 +2975,7 @@ const z6 = () => {
2924
2975
  active: t,
2925
2976
  disabled: s
2926
2977
  }
2927
- ), j8 = ({
2978
+ ), S8 = ({
2928
2979
  active: t,
2929
2980
  className: e = "",
2930
2981
  disabled: s
@@ -2973,7 +3024,7 @@ const z6 = () => {
2973
3024
  active: t,
2974
3025
  disabled: s
2975
3026
  }
2976
- ), C8 = ({
3027
+ ), b8 = ({
2977
3028
  active: t,
2978
3029
  className: e = "",
2979
3030
  disabled: s
@@ -3022,7 +3073,7 @@ const z6 = () => {
3022
3073
  active: t,
3023
3074
  disabled: s
3024
3075
  }
3025
- ), S8 = ({
3076
+ ), I8 = ({
3026
3077
  active: t,
3027
3078
  className: e = "",
3028
3079
  disabled: s
@@ -3071,7 +3122,7 @@ const z6 = () => {
3071
3122
  active: t,
3072
3123
  disabled: s
3073
3124
  }
3074
- ), b8 = ({
3125
+ ), y8 = ({
3075
3126
  active: t,
3076
3127
  className: e = "",
3077
3128
  disabled: s
@@ -3120,243 +3171,235 @@ const z6 = () => {
3120
3171
  active: t,
3121
3172
  disabled: s
3122
3173
  }
3123
- ), I8 = {
3124
- Alert: Y2,
3125
- Camera: J2,
3126
- DownArrow: N2,
3127
- Ban: z2,
3128
- Check: X2,
3129
- Controller: Q2,
3130
- Elipses: e8,
3131
- Flag: t8,
3132
- Gear: o8,
3133
- Glass: s8,
3134
- Hdmi: n8,
3135
- Laptop: c8,
3136
- LeftArrow: r8,
3137
- Light: l8,
3138
- Mic: b8,
3139
- Moon: i8,
3140
- Playstation: a8,
3141
- Podium: u8,
3142
- Power: d8,
3143
- Privacy: v8,
3144
- Question: h8,
3145
- RightArrow: g8,
3146
- RoomPC: f8,
3147
- Shade: w8,
3148
- Sun: p8,
3149
- UpArrow: x8,
3150
- VolDown: M8,
3151
- VolMute: m8,
3152
- VolUp: Z8,
3153
- Wireless: j8,
3154
- X: C8,
3155
- Xbox: S8
3174
+ ), R8 = {
3175
+ Alert: J2,
3176
+ Camera: Q2,
3177
+ DownArrow: t8,
3178
+ Ban: X2,
3179
+ Check: N2,
3180
+ Controller: e8,
3181
+ Elipses: o8,
3182
+ Flag: s8,
3183
+ Gear: n8,
3184
+ Glass: r8,
3185
+ Hdmi: c8,
3186
+ Laptop: l8,
3187
+ LeftArrow: i8,
3188
+ Light: a8,
3189
+ Mic: y8,
3190
+ Moon: u8,
3191
+ Playstation: d8,
3192
+ Podium: h8,
3193
+ Power: v8,
3194
+ Privacy: g8,
3195
+ Question: f8,
3196
+ RightArrow: w8,
3197
+ RoomPC: p8,
3198
+ Shade: x8,
3199
+ Sun: M8,
3200
+ UpArrow: m8,
3201
+ VolDown: Z8,
3202
+ VolMute: j8,
3203
+ VolUp: C8,
3204
+ Wireless: S8,
3205
+ X: b8,
3206
+ Xbox: I8
3156
3207
  };
3157
- function J6({
3208
+ function ne({
3158
3209
  name: t,
3159
- iconsDictionary: e = I8,
3210
+ iconsDictionary: e = R8,
3160
3211
  ...s
3161
3212
  }) {
3162
- const c = e[t] ?? null;
3163
- return c || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ o.jsx(q2, { multiIcon: c, ...s });
3213
+ const r = e[t] ?? null;
3214
+ return r || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ o.jsx(z2, { multiIcon: r, ...s });
3164
3215
  }
3165
- const y8 = "_grid_1cmpp_1", R8 = "_header_1cmpp_11", E8 = "_content_1cmpp_17", _8 = "_footer_1cmpp_23", L8 = "_volume_1cmpp_29", a1 = {
3166
- grid: y8,
3167
- header: R8,
3168
- content: E8,
3169
- footer: _8,
3170
- volume: L8
3171
- }, X6 = ({ header: t, footer: e, content: s, volume: c, showVolume: l }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
3216
+ const E8 = "_grid_1cmpp_1", _8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", P8 = "_volume_1cmpp_29", a1 = {
3217
+ grid: E8,
3218
+ header: _8,
3219
+ content: L8,
3220
+ footer: $8,
3221
+ volume: P8
3222
+ }, re = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
3172
3223
  /* @__PURE__ */ o.jsx("div", { className: a1.header, children: t }),
3173
3224
  /* @__PURE__ */ o.jsx("div", { className: a1.content, children: s }),
3174
- l && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: c }),
3225
+ c && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: r }),
3175
3226
  /* @__PURE__ */ o.jsx("div", { className: a1.footer, children: e })
3176
- ] }), $8 = "_grid_11w5q_1", D8 = "_header_11w5q_11", A8 = "_content_11w5q_17", p1 = {
3177
- grid: $8,
3227
+ ] }), T8 = "_grid_11w5q_1", D8 = "_header_11w5q_11", A8 = "_content_11w5q_17", p1 = {
3228
+ grid: T8,
3178
3229
  header: D8,
3179
3230
  content: A8,
3180
3231
  "left-nav": "_left-nav_11w5q_23"
3181
- }, Q6 = ({ className: t, header: e, content: s, leftNav: c }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
3232
+ }, ce = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
3182
3233
  /* @__PURE__ */ o.jsx("div", { className: p1.header, children: e }),
3183
- c && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: c }),
3234
+ r && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: r }),
3184
3235
  /* @__PURE__ */ o.jsx("div", { className: p1.content, children: s })
3185
- ] }), P8 = "_grid_1uwfo_1", T8 = "_header_1uwfo_11", B8 = "_content_1uwfo_17", L1 = {
3186
- grid: P8,
3187
- header: T8,
3188
- content: B8
3189
- }, N6 = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
3236
+ ] }), B8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", V8 = "_content_1uwfo_17", L1 = {
3237
+ grid: B8,
3238
+ header: O8,
3239
+ content: V8
3240
+ }, le = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
3190
3241
  /* @__PURE__ */ o.jsx("div", { className: L1.header, children: e }),
3191
3242
  /* @__PURE__ */ o.jsx("div", { className: L1.content, children: s })
3192
3243
  ] });
3193
- function e5() {
3244
+ function ie() {
3194
3245
  return console.log(location.pathname), location.pathname;
3195
3246
  }
3196
- var O8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(O8 || {});
3197
- class t5 {
3247
+ var k8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(k8 || {});
3248
+ class ae {
3198
3249
  constructor(e, s) {
3199
- D(this, "path");
3200
- D(this, "handler");
3250
+ V(this, "path");
3251
+ V(this, "handler");
3201
3252
  this.path = e, this.handler = s;
3202
3253
  }
3203
3254
  }
3204
- const o5 = "$off";
3205
- class s5 {
3206
- constructor() {
3207
- D(this, "name", "");
3208
- D(this, "iconUrl", "");
3209
- D(this, "channel", "");
3210
- }
3211
- }
3212
- class n5 {
3213
- constructor() {
3214
- D(this, "deviceKey");
3215
- D(this, "deviceType");
3216
- }
3217
- }
3218
- class c5 {
3255
+ const ue = "$off";
3256
+ class de {
3219
3257
  constructor() {
3220
- D(this, "deviceKey");
3221
- D(this, "deviceType");
3258
+ V(this, "name", "");
3259
+ V(this, "iconUrl", "");
3260
+ V(this, "channel", "");
3222
3261
  }
3223
3262
  }
3224
- class r5 {
3263
+ class he {
3225
3264
  constructor() {
3226
- D(this, "currentShareText");
3227
- D(this, "enabled");
3228
- D(this, "isSharing");
3265
+ V(this, "currentShareText");
3266
+ V(this, "enabled");
3267
+ V(this, "isSharing");
3229
3268
  }
3230
3269
  }
3231
3270
  export {
3232
- c5 as AccessoryDeviceConfiguration,
3233
- S6 as Clock,
3234
- O8 as DaysOfWeek,
3235
- n5 as EnvironmentalDeviceConfiguration,
3236
- z6 as ErrorBox,
3237
- q2 as IconButton,
3238
- Y2 as IconMultiAlert,
3239
- z2 as IconMultiBan,
3240
- J2 as IconMultiCamera,
3241
- X2 as IconMultiCheck,
3242
- Q2 as IconMultiController,
3243
- N2 as IconMultiDownArrow,
3244
- e8 as IconMultiElipses,
3245
- t8 as IconMultiFlag,
3246
- o8 as IconMultiGear,
3247
- s8 as IconMultiGlass,
3248
- n8 as IconMultiHdmi,
3249
- c8 as IconMultiLaptop,
3250
- r8 as IconMultiLeftArrow,
3251
- l8 as IconMultiLight,
3252
- i8 as IconMultiMoon,
3253
- a8 as IconMultiPlaystation,
3254
- u8 as IconMultiPodium,
3255
- d8 as IconMultiPower,
3256
- v8 as IconMultiPrivacy,
3257
- h8 as IconMultiQuestion,
3258
- g8 as IconMultiRightArrow,
3259
- f8 as IconMultiRoomPC,
3260
- w8 as IconMultiShade,
3261
- p8 as IconMultiSun,
3262
- x8 as IconMultiUpArrow,
3263
- M8 as IconMultiVolDown,
3264
- m8 as IconMultiVolMute,
3265
- Z8 as IconMultiVolUp,
3266
- j8 as IconMultiWireless,
3267
- C8 as IconMultiX,
3268
- S8 as IconMultiXbox,
3269
- X6 as MainLayout,
3270
- t5 as MessageHandler,
3271
- g6 as MobileControlProvider,
3271
+ _6 as Clock,
3272
+ k8 as DaysOfWeek,
3273
+ se as ErrorBox,
3274
+ z2 as IconButton,
3275
+ J2 as IconMultiAlert,
3276
+ X2 as IconMultiBan,
3277
+ Q2 as IconMultiCamera,
3278
+ N2 as IconMultiCheck,
3279
+ e8 as IconMultiController,
3280
+ t8 as IconMultiDownArrow,
3281
+ o8 as IconMultiElipses,
3282
+ s8 as IconMultiFlag,
3283
+ n8 as IconMultiGear,
3284
+ r8 as IconMultiGlass,
3285
+ c8 as IconMultiHdmi,
3286
+ l8 as IconMultiLaptop,
3287
+ i8 as IconMultiLeftArrow,
3288
+ a8 as IconMultiLight,
3289
+ u8 as IconMultiMoon,
3290
+ d8 as IconMultiPlaystation,
3291
+ h8 as IconMultiPodium,
3292
+ v8 as IconMultiPower,
3293
+ g8 as IconMultiPrivacy,
3294
+ f8 as IconMultiQuestion,
3295
+ w8 as IconMultiRightArrow,
3296
+ p8 as IconMultiRoomPC,
3297
+ x8 as IconMultiShade,
3298
+ M8 as IconMultiSun,
3299
+ m8 as IconMultiUpArrow,
3300
+ Z8 as IconMultiVolDown,
3301
+ j8 as IconMultiVolMute,
3302
+ C8 as IconMultiVolUp,
3303
+ S8 as IconMultiWireless,
3304
+ b8 as IconMultiX,
3305
+ I8 as IconMultiXbox,
3306
+ re as MainLayout,
3307
+ ae as MessageHandler,
3308
+ M6 as MobileControlProvider,
3272
3309
  m as MultiStateIconContainer,
3273
- J6 as NamedIconButton,
3274
- s5 as PresetChannel,
3275
- r5 as ShareState,
3276
- Q6 as TechLayout,
3277
- N6 as TechPinLayout,
3278
- e5 as getBaseLocation,
3279
- D1 as httpClient,
3280
- o5 as roomOffSourceKey,
3310
+ ne as NamedIconButton,
3311
+ de as PresetChannel,
3312
+ he as ShareState,
3313
+ ce as TechLayout,
3314
+ le as TechPinLayout,
3315
+ ie as getBaseLocation,
3316
+ P1 as httpClient,
3317
+ ue as roomOffSourceKey,
3281
3318
  C as store,
3282
3319
  q as uiActions,
3283
- w2 as uiReducer,
3284
- K8 as useApiPath,
3285
- x2 as useAppConfig,
3286
- _2 as useAppDispatch,
3287
- w6 as useAvrControl,
3288
- S2 as useClientId,
3289
- F2 as useDeviceIBasicVolumeWithFeedback,
3290
- p6 as useEndpoint,
3291
- R2 as useError,
3292
- H6 as useGetAllDeviceStateFromRoomConfiguration,
3293
- M2 as useGetAllDevices,
3294
- v6 as useGetCurrentPopoverIdForGroup,
3295
- A as useGetDevice,
3296
- f6 as useGetIBasicVolumeWithFeedback,
3297
- l6 as useGetRoomDisplayStates,
3298
- i6 as useGetZoomRoomControllerKey,
3320
+ x2 as uiReducer,
3321
+ q8 as useApiPath,
3322
+ m2 as useAppConfig,
3323
+ $2 as useAppDispatch,
3324
+ Z6 as useAvrControl,
3325
+ I2 as useClientId,
3326
+ H2 as useDeviceIBasicVolumeWithFeedback,
3327
+ j6 as useEndpoint,
3328
+ _2 as useError,
3329
+ X6 as useGetAllDeviceStateFromRoomConfiguration,
3330
+ Z2 as useGetAllDevices,
3331
+ p6 as useGetCurrentPopoverIdForGroup,
3332
+ $ as useGetDevice,
3333
+ m6 as useGetIBasicVolumeWithFeedback,
3334
+ a6 as useGetRoomDisplayStates,
3335
+ u6 as useGetZoomRoomControllerKey,
3299
3336
  Z3 as useIBasicVolumeWithFeedback,
3300
- x6 as useIChannelMessenger,
3301
- M6 as useIColor,
3302
- m6 as useICommunicationMonitor,
3303
- Z6 as useIDPad,
3304
- j6 as useIDeviceInfoMessenger,
3305
- C6 as useIDvr,
3306
- b6 as useIEssentialsRoomCombiner,
3337
+ C6 as useIChannelMessenger,
3338
+ S6 as useIColor,
3339
+ b6 as useICommunicationMonitor,
3340
+ I6 as useIDPad,
3341
+ y6 as useIDeviceInfoMessenger,
3342
+ R6 as useIDspPresets,
3343
+ E6 as useIDvr,
3344
+ L6 as useIEssentialsRoomCombiner,
3307
3345
  j3 as useIHasPowerControl,
3308
- P1 as useIHasSelectableItems,
3309
- I6 as useILevelControls,
3310
- y6 as useILightingScenes,
3311
- R6 as useIMatrixRouting,
3312
- E6 as useIMcCiscoCodecUserInterfaceAppControl,
3313
- _6 as useINumeric,
3314
- L6 as useIProjectorScreenLiftControl,
3315
- $6 as useIRoomEventSchedule,
3316
- W6 as useIRunDefaultPresentRoute,
3317
- D6 as useIRunDirectRouteAction,
3318
- A6 as useIRunRouteAction,
3319
- P6 as useISetTopBoxControls,
3320
- T6 as useIShadesOpenCloseStop,
3321
- B6 as useIShutdownPromptTimer,
3322
- O6 as useISwitchedOutput,
3323
- V6 as useITechPassword,
3324
- k6 as useITransport,
3325
- L2 as useInitialize,
3326
- U6 as useMobileControlTouchpanelController,
3327
- q6 as useOverflow,
3328
- U2 as usePressHoldRelease,
3329
- c6 as useRoomAdvancedSharingActive,
3330
- e6 as useRoomCodecContentDestinationKey,
3331
- G8 as useRoomConfiguration,
3332
- X8 as useRoomDestinationList,
3333
- J8 as useRoomDestinations,
3334
- Q8 as useRoomEnvironmentalDevices,
3335
- K6 as useRoomIBasicVolumeWithFeedback,
3336
- t6 as useRoomInCall,
3337
- s6 as useRoomIsCoolingDown,
3338
- n6 as useRoomIsOn,
3339
- o6 as useRoomIsWarmingUp,
3340
- C2 as useRoomKey,
3341
- z8 as useRoomLevelControlList,
3342
- Z2 as useRoomLevelControls,
3343
- q8 as useRoomName,
3344
- N8 as useRoomProgramAudioDestinationKey,
3345
- r6 as useRoomShareState,
3346
- Y8 as useRoomSourceList,
3347
- T1 as useRoomState,
3348
- m2 as useRoomVolume,
3349
- Y6 as useScroll,
3350
- y2 as useServerIsRunningOnProcessorHardware,
3351
- u6 as useShowIncomingCallModal,
3352
- d6 as useShowModal,
3353
- h6 as useShowPopoverById,
3354
- E2 as useShowReconnect,
3355
- a6 as useShowShutdownModal,
3356
- b2 as useSystemUuid,
3357
- G6 as useTimeAndDate,
3358
- F6 as useTwoWayDisplayBase,
3359
- I2 as useUserCode,
3346
+ D1 as useIHasSelectableItems,
3347
+ $6 as useILevelControls,
3348
+ P6 as useILightingScenes,
3349
+ T6 as useIMatrixRouting,
3350
+ D6 as useIMcCiscoCodecUserInterfaceAppControl,
3351
+ A6 as useINumeric,
3352
+ B6 as useIProjectorScreenLiftControl,
3353
+ O6 as useIRoomEventSchedule,
3354
+ z6 as useIRunDefaultPresentRoute,
3355
+ V6 as useIRunDirectRouteAction,
3356
+ k6 as useIRunRouteAction,
3357
+ U6 as useISetTopBoxControls,
3358
+ F6 as useIShadesOpenCloseStop,
3359
+ W6 as useIShutdownPromptTimer,
3360
+ H6 as useISwitchedOutput,
3361
+ K6 as useITechPassword,
3362
+ J6 as useITheme,
3363
+ G6 as useITransport,
3364
+ P2 as useInitialize,
3365
+ v6 as useIsTouchpanel,
3366
+ q6 as useMobileControlTouchpanelController,
3367
+ te as useOverflow,
3368
+ W2 as usePressHoldRelease,
3369
+ l6 as useRoomAdvancedSharingActive,
3370
+ X8 as useRoomAudioControlPointList,
3371
+ o6 as useRoomCodecContentDestinationKey,
3372
+ Y8 as useRoomConfiguration,
3373
+ N8 as useRoomDestinationList,
3374
+ Q8 as useRoomDestinations,
3375
+ e6 as useRoomEnvironmentalDevices,
3376
+ Q6 as useRoomIBasicVolumeWithFeedback,
3377
+ s6 as useRoomInCall,
3378
+ r6 as useRoomIsCoolingDown,
3379
+ c6 as useRoomIsOn,
3380
+ n6 as useRoomIsWarmingUp,
3381
+ b2 as useRoomKey,
3382
+ C2 as useRoomLevelControls,
3383
+ z8 as useRoomName,
3384
+ t6 as useRoomProgramAudioDestinationKey,
3385
+ i6 as useRoomShareState,
3386
+ J8 as useRoomSourceList,
3387
+ A1 as useRoomState,
3388
+ j2 as useRoomVolume,
3389
+ d6 as useRuntimeInfo,
3390
+ oe as useScroll,
3391
+ E2 as useServerIsRunningOnProcessorHardware,
3392
+ f6 as useShowIncomingCallModal,
3393
+ w6 as useShowModal,
3394
+ x6 as useShowPopoverById,
3395
+ L2 as useShowReconnect,
3396
+ g6 as useShowShutdownModal,
3397
+ N6 as useSystemControl,
3398
+ y2 as useSystemUuid,
3399
+ ee as useTimeAndDate,
3400
+ h6 as useTouchpanelKey,
3401
+ Y6 as useTwoWayDisplayBase,
3402
+ R2 as useUserCode,
3360
3403
  I as useWebsocketContext,
3361
- j2 as useWsIsConnected
3404
+ S2 as useWsIsConnected
3362
3405
  };