@pepperdash/mobile-control-react-app-core 1.12.0 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/mobile-control-react-app-core.es.js +747 -731
  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 +1 -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/useSystemControl.d.ts +5 -0
  10. package/dist/shared/hooks/useSystemControl.d.ts.map +1 -0
  11. package/dist/store/hooks.d.ts +9 -5
  12. package/dist/store/hooks.d.ts.map +1 -1
  13. package/dist/store/index.d.ts +2 -17
  14. package/dist/store/index.d.ts.map +1 -1
  15. package/dist/store/rooms/rooms.slice.d.ts +46 -16
  16. package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
  17. package/dist/store/rooms/roomsSelectors.d.ts +1 -1
  18. package/dist/store/rooms/roomsSelectors.d.ts.map +1 -1
  19. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +88 -8
  20. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
  21. package/dist/store/runtimeConfig/runtimeSelectors.d.ts +9 -0
  22. package/dist/store/runtimeConfig/runtimeSelectors.d.ts.map +1 -1
  23. package/dist/store/{rootReducer.d.ts → store.d.ts} +3 -16
  24. package/dist/store/store.d.ts.map +1 -0
  25. package/dist/types/classes/room-data.d.ts +12 -1
  26. package/dist/types/classes/room-data.d.ts.map +1 -1
  27. package/dist/types/state/AudioControlPointListItemBase.d.ts +10 -0
  28. package/dist/types/state/AudioControlPointListItemBase.d.ts.map +1 -0
  29. package/dist/types/state/LevelControlListItem.d.ts +2 -6
  30. package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
  31. package/dist/types/state/PresetListItem.d.ts +4 -0
  32. package/dist/types/state/PresetListItem.d.ts.map +1 -0
  33. package/dist/types/state/index.d.ts +2 -0
  34. package/dist/types/state/index.d.ts.map +1 -1
  35. package/dist/types/state/state/RoomState.d.ts +8 -3
  36. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  37. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  38. package/package.json +1 -1
  39. package/dist/store/rootReducer.d.ts.map +0 -1
@@ -1,13 +1,17 @@
1
- var J3 = Object.defineProperty;
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);
4
- import Q3, { AxiosError as N3 } from "axios";
5
- import { createSlice as d1, combineReducers as e2, configureStore as u3, createSelector as t2 } from "@reduxjs/toolkit";
6
- import { useSelector as o2, useDispatch as s2, Provider as n2 } from "react-redux";
7
- import * as d3 from "lodash";
8
- import h3, { createContext as c2, useState as H, useRef as u1, useCallback as r1, useEffect as t1, useContext as r2, useLayoutEffect as v3 } from "react";
9
- import { useNavigate as l2, useRouteError as i2, isRouteErrorResponse as a2 } from "react-router-dom";
10
- const u2 = {
1
+ var q3 = Object.defineProperty;
2
+ var Y3 = (t, e, s) => e in t ? q3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
+ var V = (t, e, s) => (Y3(t, typeof e != "symbol" ? e + "" : e, s), s);
4
+ import z3, { AxiosError as J3 } from "axios";
5
+ import { useDispatch as X3, useSelector as Q3, Provider as N3 } from "react-redux";
6
+ import { createSlice as d1, combineReducers as e2, configureStore as t2, createSelector as o2 } from "@reduxjs/toolkit";
7
+ import * as a3 from "lodash";
8
+ import u3, { createContext as s2, useState as H, useRef as u1, useCallback as c1, useEffect as t1, useContext as n2, useLayoutEffect as d3 } from "react";
9
+ import { useNavigate as r2, useRouteError as c2, isRouteErrorResponse as l2 } from "react-router-dom";
10
+ const i2 = X3.withTypes(), p = Q3.withTypes(), a2 = () => p((t) => t.appConfig.config), K8 = () => p((t) => t.appConfig.config.apiPath), u2 = () => p((t) => t.devices);
11
+ function $(t) {
12
+ return p((e) => e.devices[t] ? e.devices[t] : void 0);
13
+ }
14
+ const d2 = {
11
15
  config: {
12
16
  enableDev: !1,
13
17
  apiPath: "",
@@ -17,47 +21,47 @@ const u2 = {
17
21
  loginMode: "",
18
22
  modes: {}
19
23
  }
20
- }, g3 = d1({
24
+ }, h3 = d1({
21
25
  name: "appConfig",
22
- initialState: u2,
26
+ initialState: d2,
23
27
  reducers: {
24
28
  setAppConfig(t, e) {
25
29
  t.config = e.payload;
26
30
  }
27
31
  }
28
- }), d2 = g3.actions, h2 = g3.reducer, c3 = {}, f3 = d1({
32
+ }), h2 = h3.actions, v2 = h3.reducer, n3 = {}, v3 = d1({
29
33
  name: "devices",
30
- initialState: c3,
34
+ initialState: n3,
31
35
  reducers: {
32
36
  setDeviceState(t, e) {
33
- const s = e.payload.type, c = s.slice(s.lastIndexOf("/") + 1);
34
- if (!c)
37
+ const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
38
+ if (!r)
35
39
  return;
36
- const r = e.payload.content, i = t[c] ?? {}, u = d3.merge(i, r);
37
- return t[c] = u, t;
40
+ const c = e.payload.content, u = t[r] ?? {}, i = a3.merge(u, c);
41
+ return t[r] = i, t;
38
42
  },
39
43
  clearDevices() {
40
- return c3;
44
+ return n3;
41
45
  }
42
46
  }
43
- }), N = f3.actions, v2 = f3.reducer, r3 = {}, w3 = d1({
47
+ }), N = v3.actions, g2 = v3.reducer, r3 = {}, g3 = d1({
44
48
  name: "rooms",
45
49
  initialState: r3,
46
50
  reducers: {
47
51
  setRoomState(t, e) {
48
- const s = e.payload.type, c = s.slice(s.lastIndexOf("/") + 1);
49
- if (console.log(s, c), !c)
52
+ const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
53
+ if (console.log(s, r), !r)
50
54
  return;
51
- const r = e.payload.content;
52
- console.log(r);
53
- const i = t[c] ?? {}, u = d3.merge(i, r);
54
- return t[c] = u, console.log(t), t;
55
+ const c = e.payload.content;
56
+ console.log(c);
57
+ const u = t[r] ?? {}, i = a3.merge(u, c);
58
+ return t[r] = i, console.log(t), t;
55
59
  },
56
60
  clearRooms() {
57
61
  return r3;
58
62
  }
59
63
  }
60
- }), e1 = w3.actions, g2 = w3.reducer, f2 = {
64
+ }), e1 = g3.actions, f2 = g3.reducer, w2 = {
61
65
  apiVersion: "",
62
66
  serverIsRunningOnProcessorHardware: !1,
63
67
  websocket: {
@@ -74,13 +78,20 @@ const u2 = {
74
78
  systemUuid: "",
75
79
  roomUuid: "",
76
80
  userAppUrl: "",
77
- config: void 0,
81
+ config: {
82
+ runtimeInfo: {
83
+ pluginVersion: "",
84
+ essentialsVersion: "",
85
+ pepperDashCoreVersion: "",
86
+ essentialsPlugins: []
87
+ }
88
+ },
78
89
  userCode: "",
79
90
  qrUrl: ""
80
91
  }
81
- }, p3 = d1({
92
+ }, f3 = d1({
82
93
  name: "runtimeConfig",
83
- initialState: f2,
94
+ initialState: w2,
84
95
  reducers: {
85
96
  setRuntimeConfig(t, e) {
86
97
  t.apiVersion = e.payload.apiVersion, t.serverIsRunningOnProcessorHardware = e.payload.serverIsRunningOnProcessorHardware;
@@ -98,7 +109,7 @@ const u2 = {
98
109
  t.roomData = e.payload;
99
110
  },
100
111
  setCurrentRoomKey(t, e) {
101
- $1.dispatch(e1.clearRooms()), $1.dispatch(N.clearDevices()), t.currentRoomKey = e.payload;
112
+ m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), t.currentRoomKey = e.payload;
102
113
  },
103
114
  setUserCode(t, e) {
104
115
  t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
@@ -107,7 +118,7 @@ const u2 = {
107
118
  t.touchpanelKey = e.payload;
108
119
  }
109
120
  }
110
- }), W = p3.actions, w2 = p3.reducer, p2 = {
121
+ }), W = f3.actions, p2 = f3.reducer, x2 = {
111
122
  showReconnect: !1,
112
123
  error: "",
113
124
  modalVisibility: {
@@ -115,9 +126,9 @@ const u2 = {
115
126
  showIncomingCallModal: !1
116
127
  },
117
128
  popoverVisibility: {}
118
- }, x3 = d1({
129
+ }, w3 = d1({
119
130
  name: "ui",
120
- initialState: p2,
131
+ initialState: x2,
121
132
  reducers: {
122
133
  clearAllModals(t) {
123
134
  Object.entries(t.modalVisibility).forEach(([e]) => {
@@ -145,144 +156,141 @@ const u2 = {
145
156
  t.showReconnect = e.payload;
146
157
  }
147
158
  }
148
- }), q = x3.actions, x2 = x3.reducer, M3 = e2({
149
- appConfig: h2,
150
- runtimeConfig: w2,
151
- rooms: g2,
152
- devices: v2,
153
- ui: x2
154
- }), M2 = u3({
155
- reducer: M3
156
- }), $1 = M2, p = o2, m2 = () => p((t) => t.appConfig.config), q8 = () => p((t) => t.appConfig.config.apiPath), Z2 = () => p((t) => t.devices);
157
- function $(t) {
158
- return p((e) => e.devices[t] ? e.devices[t] : void 0);
159
- }
160
- const Y8 = (t) => p(
159
+ }), q = w3.actions, M2 = w3.reducer, m2 = e2({
160
+ appConfig: v2,
161
+ runtimeConfig: p2,
162
+ rooms: f2,
163
+ devices: g2,
164
+ ui: M2
165
+ }), m = t2({
166
+ reducer: m2
167
+ }), G8 = (t) => p(
161
168
  (e) => {
162
169
  var s;
163
170
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.configuration : void 0;
164
171
  }
165
- ), P1 = (t) => p(
172
+ ), D1 = (t) => p(
166
173
  (e) => e.rooms[t] ? e.rooms[t] : void 0
167
- ), z8 = (t) => p(
174
+ ), q8 = (t) => p(
168
175
  (e) => {
169
176
  var s;
170
177
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.name : void 0;
171
178
  }
172
- ), j2 = (t, e) => p(
179
+ ), Z2 = (t, e) => p(
173
180
  (s) => {
174
- var c;
175
- 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;
176
183
  }
177
- ), C2 = (t) => p(
184
+ ), j2 = (t) => p(
178
185
  (e) => e.rooms[t] ? e.rooms[t] : void 0
186
+ ), Y8 = (t) => p(
187
+ (e) => {
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;
190
+ }
191
+ ), z8 = (t) => p(
192
+ (e) => {
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;
195
+ }
179
196
  ), J8 = (t) => p(
180
197
  (e) => {
181
- var s, c;
182
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.sourceList : 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;
183
200
  }
184
201
  ), X8 = (t) => p(
185
202
  (e) => {
186
- var s, c;
187
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.levelControlList : 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;
188
205
  }
189
206
  ), Q8 = (t) => p(
190
207
  (e) => {
191
- var s, c;
192
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.destinations : 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;
193
210
  }
194
211
  ), N8 = (t) => p(
195
212
  (e) => {
196
- var s, c;
197
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.destinationList : void 0;
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) || "";
198
215
  }
199
216
  ), e6 = (t) => p(
200
217
  (e) => {
201
- var s, c;
202
- return e.rooms[t] ? (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.environmentalDevices : 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;
203
220
  }
204
221
  ), t6 = (t) => p(
205
- (e) => {
206
- var s, c, r, i, u, g, f, w;
207
- return (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) != null && c.destinationList.programAudio ? (u = (i = (r = e.rooms[t]) == null ? void 0 : r.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) || "";
208
- }
209
- ), o6 = (t) => p(
210
- (e) => {
211
- var s, c, r;
212
- return e.rooms[t] ? (r = (c = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
213
- }
214
- ), s6 = (t) => p(
215
222
  (e) => {
216
223
  var s;
217
224
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isInCall : void 0;
218
225
  }
219
- ), n6 = (t) => p(
226
+ ), o6 = (t) => p(
220
227
  (e) => {
221
228
  var s;
222
229
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isWarmingUp : void 0;
223
230
  }
224
- ), c6 = (t) => p(
231
+ ), s6 = (t) => p(
225
232
  (e) => {
226
233
  var s;
227
234
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isCoolingDown : void 0;
228
235
  }
229
- ), r6 = (t) => p(
236
+ ), n6 = (t) => p(
230
237
  (e) => {
231
238
  var s;
232
239
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isOn : void 0;
233
240
  }
234
- ), l6 = (t) => p(
241
+ ), r6 = (t) => p(
235
242
  (e) => {
236
243
  var s;
237
244
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.advancedSharingActive : void 0;
238
245
  }
239
- ), i6 = (t) => p(
246
+ ), c6 = (t) => p(
240
247
  (e) => {
241
248
  var s;
242
249
  return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.share : void 0;
243
250
  }
244
- ), a6 = (t) => t2(
251
+ ), l6 = (t) => o2(
245
252
  [
246
253
  (e, s) => s,
247
- Z2,
254
+ u2,
248
255
  (e) => {
249
- var s, c;
250
- 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;
251
258
  }
252
259
  ],
253
- (e, s, c) => {
254
- 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)
255
262
  return;
256
- const r = Object.entries(c).filter(([u]) => u !== "programAudio" && u !== "codecContent").map(([, u]) => u);
257
- return Object.values(s).filter((u) => Object.values(r).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));
258
265
  }
259
- )($1.getState(), t), u6 = (t) => p(
266
+ )(m.getState(), t), i6 = (t) => p(
260
267
  (e) => {
261
- var s, c;
262
- 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;
263
270
  }
264
- ), 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) => t.runtimeConfig.touchpanelKey), h6 = () => p((t) => t.runtimeConfig.touchpanelKey !== ""), v6 = () => p((t) => t.ui.modalVisibility.showShutdownModal), g6 = () => p((t) => t.ui.modalVisibility.showIncomingCallModal), f6 = (t) => p((e) => e.ui.modalVisibility[t]), w6 = (t) => p((e) => {
271
+ ), C2 = () => p((t) => t.runtimeConfig.websocket.isConnected), S2 = () => p((t) => t.runtimeConfig.currentRoomKey), b2 = () => p((t) => t.runtimeConfig.roomData.clientId), I2 = () => p((t) => t.runtimeConfig.roomData.systemUuid), y2 = () => p((t) => t.runtimeConfig.roomData.userCode), R2 = () => p((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), a6 = () => p((t) => {
272
+ var e;
273
+ return (e = t.runtimeConfig.roomData.config) == null ? void 0 : e.runtimeInfo;
274
+ }), u6 = () => p((t) => t.runtimeConfig.touchpanelKey), d6 = () => p((t) => t.runtimeConfig.touchpanelKey !== ""), h6 = () => p((t) => t.ui.modalVisibility.showShutdownModal), v6 = () => p((t) => t.ui.modalVisibility.showIncomingCallModal), g6 = (t) => p((e) => e.ui.modalVisibility[t]), f6 = (t) => p((e) => {
265
275
  const s = e.ui.popoverVisibility[t];
266
276
  if (s)
267
- return Object.keys(s).find((c) => s[c]);
268
- }), p6 = (t, e) => p((s) => {
269
- var c;
270
- return (c = s.ui.popoverVisibility[t]) == null ? void 0 : c[e];
271
- }), _2 = () => p((t) => t.ui.error), L2 = () => p((t) => t.ui.showReconnect), C = u3({
272
- reducer: M3
273
- }), $2 = s2, T1 = Q3.create();
274
- function T2() {
275
- const t = $2();
277
+ return Object.keys(s).find((r) => s[r]);
278
+ }), w6 = (t, e) => p((s) => {
279
+ var r;
280
+ return (r = s.ui.popoverVisibility[t]) == null ? void 0 : r[e];
281
+ }), E2 = () => p((t) => t.ui.error), _2 = () => p((t) => t.ui.showReconnect), $1 = z3.create();
282
+ function L2() {
283
+ const t = i2();
276
284
  return async () => {
277
285
  try {
278
- const e = location.pathname.split("/").filter((r) => r.length > 0);
286
+ const e = location.pathname.split("/").filter((c) => c.length > 0);
279
287
  e.length >= 5 ? e.length = 5 : e.length = 2;
280
- const s = `/${e.join("/")}`, c = await T1.get("/_local-config/_config.local.json", { baseURL: s });
281
- if (c.status == 200 && c.data) {
282
- const r = c.data.apiPath;
283
- t(d2.setAppConfig(c.data));
284
- const i = await T1.get(`${r}/version`);
285
- i.status == 200 && i.data && t(W.setRuntimeConfig(i.data));
288
+ const s = `/${e.join("/")}`, r = await $1.get("/_local-config/_config.local.json", { baseURL: s });
289
+ if (r.status == 200 && r.data) {
290
+ const c = r.data.apiPath;
291
+ t(h2.setAppConfig(r.data));
292
+ const u = await $1.get(`${c}/version`);
293
+ u.status == 200 && u.data && t(W.setRuntimeConfig(u.data));
286
294
  }
287
295
  } catch (e) {
288
296
  console.error("Error getting config", e);
@@ -290,7 +298,7 @@ function T2() {
290
298
  return !0;
291
299
  };
292
300
  }
293
- var D1 = { exports: {} }, l1 = {};
301
+ var P1 = { exports: {} }, l1 = {};
294
302
  /**
295
303
  * @license React
296
304
  * react-jsx-runtime.development.js
@@ -300,17 +308,17 @@ var D1 = { exports: {} }, l1 = {};
300
308
  * This source code is licensed under the MIT license found in the
301
309
  * LICENSE file in the root directory of this source tree.
302
310
  */
303
- var l3;
304
- function D2() {
305
- return l3 || (l3 = 1, process.env.NODE_ENV !== "production" && function() {
306
- var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = 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"), A = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), V = Symbol.iterator, z = "@@iterator";
311
+ var c3;
312
+ function $2() {
313
+ return c3 || (c3 = 1, process.env.NODE_ENV !== "production" && function() {
314
+ var t = u3, 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";
307
315
  function o1(n) {
308
316
  if (n === null || typeof n != "object")
309
317
  return null;
310
- var l = V && n[V] || n[z];
318
+ var l = O && n[O] || n[z];
311
319
  return typeof l == "function" ? l : null;
312
320
  }
313
- var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
321
+ var P = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
314
322
  function L(n) {
315
323
  {
316
324
  for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
@@ -320,18 +328,18 @@ function D2() {
320
328
  }
321
329
  function x1(n, l, a) {
322
330
  {
323
- var h = T.ReactDebugCurrentFrame, j = h.getStackAddendum();
324
- j !== "" && (l += "%s", a = a.concat([j]));
331
+ var h = P.ReactDebugCurrentFrame, C = h.getStackAddendum();
332
+ C !== "" && (l += "%s", a = a.concat([C]));
325
333
  var S = a.map(function(M) {
326
334
  return String(M);
327
335
  });
328
336
  S.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, S);
329
337
  }
330
338
  }
331
- var M1 = !1, y = !1, Z = !1, h1 = !1, m1 = !1, K;
339
+ var M1 = !1, y = !1, j = !1, h1 = !1, m1 = !1, K;
332
340
  K = Symbol.for("react.module.reference");
333
- function B(n) {
334
- return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || m1 || n === r || n === w || n === d || h1 || n === F || M1 || y || Z || typeof n == "object" && n !== null && (n.$$typeof === A || n.$$typeof === b || n.$$typeof === u || n.$$typeof === g || n.$$typeof === f || // This needs to include all possible module reference object
341
+ function A(n) {
342
+ return !!(typeof n == "string" || typeof n == "function" || n === r || n === u || m1 || n === c || n === w || n === d || h1 || n === F || M1 || y || j || 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
335
343
  // types supported by any Flight configuration anywhere since
336
344
  // we don't know which Flight build this will end up being used
337
345
  // with.
@@ -341,8 +349,8 @@ function D2() {
341
349
  var h = n.displayName;
342
350
  if (h)
343
351
  return h;
344
- var j = l.displayName || l.name || "";
345
- return j !== "" ? a + "(" + j + ")" : a;
352
+ var C = l.displayName || l.name || "";
353
+ return C !== "" ? a + "(" + C + ")" : a;
346
354
  }
347
355
  function J(n) {
348
356
  return n.displayName || "Context";
@@ -355,13 +363,13 @@ function D2() {
355
363
  if (typeof n == "string")
356
364
  return n;
357
365
  switch (n) {
358
- case c:
366
+ case r:
359
367
  return "Fragment";
360
368
  case s:
361
369
  return "Portal";
362
- case i:
370
+ case u:
363
371
  return "Profiler";
364
- case r:
372
+ case c:
365
373
  return "StrictMode";
366
374
  case w:
367
375
  return "Suspense";
@@ -373,7 +381,7 @@ function D2() {
373
381
  case g:
374
382
  var l = n;
375
383
  return J(l) + ".Consumer";
376
- case u:
384
+ case i:
377
385
  var a = n;
378
386
  return J(a._context) + ".Provider";
379
387
  case f:
@@ -381,8 +389,8 @@ function D2() {
381
389
  case b:
382
390
  var h = n.displayName || null;
383
391
  return h !== null ? h : k(n.type) || "Memo";
384
- case A: {
385
- var j = n, S = j._payload, M = j._init;
392
+ case T: {
393
+ var C = n, S = C._payload, M = C._init;
386
394
  try {
387
395
  return k(M(S));
388
396
  } catch {
@@ -392,18 +400,18 @@ function D2() {
392
400
  }
393
401
  return null;
394
402
  }
395
- var G = Object.assign, s1 = 0, B1, O1, V1, k1, U1, F1, W1;
396
- function H1() {
403
+ var G = Object.assign, s1 = 0, A1, B1, O1, V1, k1, U1, F1;
404
+ function W1() {
397
405
  }
398
- H1.__reactDisabledLog = !0;
399
- function C3() {
406
+ W1.__reactDisabledLog = !0;
407
+ function m3() {
400
408
  {
401
409
  if (s1 === 0) {
402
- B1 = console.log, O1 = console.info, V1 = console.warn, k1 = console.error, U1 = console.group, F1 = console.groupCollapsed, W1 = console.groupEnd;
410
+ A1 = console.log, B1 = console.info, O1 = console.warn, V1 = console.error, k1 = console.group, U1 = console.groupCollapsed, F1 = console.groupEnd;
403
411
  var n = {
404
412
  configurable: !0,
405
413
  enumerable: !0,
406
- value: H1,
414
+ value: W1,
407
415
  writable: !0
408
416
  };
409
417
  Object.defineProperties(console, {
@@ -419,7 +427,7 @@ function D2() {
419
427
  s1++;
420
428
  }
421
429
  }
422
- function S3() {
430
+ function Z3() {
423
431
  {
424
432
  if (s1--, s1 === 0) {
425
433
  var n = {
@@ -429,39 +437,39 @@ function D2() {
429
437
  };
430
438
  Object.defineProperties(console, {
431
439
  log: G({}, n, {
432
- value: B1
440
+ value: A1
433
441
  }),
434
442
  info: G({}, n, {
435
- value: O1
443
+ value: B1
436
444
  }),
437
445
  warn: G({}, n, {
438
- value: V1
446
+ value: O1
439
447
  }),
440
448
  error: G({}, n, {
441
- value: k1
449
+ value: V1
442
450
  }),
443
451
  group: G({}, n, {
444
- value: U1
452
+ value: k1
445
453
  }),
446
454
  groupCollapsed: G({}, n, {
447
- value: F1
455
+ value: U1
448
456
  }),
449
457
  groupEnd: G({}, n, {
450
- value: W1
458
+ value: F1
451
459
  })
452
460
  });
453
461
  }
454
462
  s1 < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
455
463
  }
456
464
  }
457
- var Z1 = T.ReactCurrentDispatcher, j1;
465
+ var Z1 = P.ReactCurrentDispatcher, j1;
458
466
  function v1(n, l, a) {
459
467
  {
460
468
  if (j1 === void 0)
461
469
  try {
462
470
  throw Error();
463
- } catch (j) {
464
- var h = j.stack.trim().match(/\n( *(at )?)/);
471
+ } catch (C) {
472
+ var h = C.stack.trim().match(/\n( *(at )?)/);
465
473
  j1 = h && h[1] || "";
466
474
  }
467
475
  return `
@@ -470,10 +478,10 @@ function D2() {
470
478
  }
471
479
  var C1 = !1, g1;
472
480
  {
473
- var b3 = typeof WeakMap == "function" ? WeakMap : Map;
474
- g1 = new b3();
481
+ var j3 = typeof WeakMap == "function" ? WeakMap : Map;
482
+ g1 = new j3();
475
483
  }
476
- function K1(n, l) {
484
+ function H1(n, l) {
477
485
  if (!n || C1)
478
486
  return "";
479
487
  {
@@ -483,10 +491,10 @@ function D2() {
483
491
  }
484
492
  var h;
485
493
  C1 = !0;
486
- var j = Error.prepareStackTrace;
494
+ var C = Error.prepareStackTrace;
487
495
  Error.prepareStackTrace = void 0;
488
496
  var S;
489
- S = Z1.current, Z1.current = null, C3();
497
+ S = Z1.current, Z1.current = null, m3();
490
498
  try {
491
499
  if (l) {
492
500
  var M = function() {
@@ -499,37 +507,37 @@ function D2() {
499
507
  }), typeof Reflect == "object" && Reflect.construct) {
500
508
  try {
501
509
  Reflect.construct(M, []);
502
- } catch (O) {
503
- h = O;
510
+ } catch (B) {
511
+ h = B;
504
512
  }
505
513
  Reflect.construct(n, [], M);
506
514
  } else {
507
515
  try {
508
516
  M.call();
509
- } catch (O) {
510
- h = O;
517
+ } catch (B) {
518
+ h = B;
511
519
  }
512
520
  n.call(M.prototype);
513
521
  }
514
522
  } else {
515
523
  try {
516
524
  throw Error();
517
- } catch (O) {
518
- h = O;
525
+ } catch (B) {
526
+ h = B;
519
527
  }
520
528
  n();
521
529
  }
522
- } catch (O) {
523
- if (O && h && typeof O.stack == "string") {
524
- for (var x = O.stack.split(`
525
- `), P = h.stack.split(`
526
- `), E = x.length - 1, _ = P.length - 1; E >= 1 && _ >= 0 && x[E] !== P[_]; )
530
+ } catch (B) {
531
+ if (B && h && typeof B.stack == "string") {
532
+ for (var x = B.stack.split(`
533
+ `), D = h.stack.split(`
534
+ `), E = x.length - 1, _ = D.length - 1; E >= 1 && _ >= 0 && x[E] !== D[_]; )
527
535
  _--;
528
536
  for (; E >= 1 && _ >= 0; E--, _--)
529
- if (x[E] !== P[_]) {
537
+ if (x[E] !== D[_]) {
530
538
  if (E !== 1 || _ !== 1)
531
539
  do
532
- if (E--, _--, _ < 0 || x[E] !== P[_]) {
540
+ if (E--, _--, _ < 0 || x[E] !== D[_]) {
533
541
  var U = `
534
542
  ` + x[E].replace(" at new ", " at ");
535
543
  return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && g1.set(n, U), U;
@@ -539,15 +547,15 @@ function D2() {
539
547
  }
540
548
  }
541
549
  } finally {
542
- C1 = !1, Z1.current = S, S3(), Error.prepareStackTrace = j;
550
+ C1 = !1, Z1.current = S, Z3(), Error.prepareStackTrace = C;
543
551
  }
544
552
  var Q = n ? n.displayName || n.name : "", Y = Q ? v1(Q) : "";
545
553
  return typeof n == "function" && g1.set(n, Y), Y;
546
554
  }
547
- function I3(n, l, a) {
548
- return K1(n, !1);
555
+ function C3(n, l, a) {
556
+ return H1(n, !1);
549
557
  }
550
- function y3(n) {
558
+ function S3(n) {
551
559
  var l = n.prototype;
552
560
  return !!(l && l.isReactComponent);
553
561
  }
@@ -555,7 +563,7 @@ function D2() {
555
563
  if (n == null)
556
564
  return "";
557
565
  if (typeof n == "function")
558
- return K1(n, y3(n));
566
+ return H1(n, S3(n));
559
567
  if (typeof n == "string")
560
568
  return v1(n);
561
569
  switch (n) {
@@ -567,28 +575,28 @@ function D2() {
567
575
  if (typeof n == "object")
568
576
  switch (n.$$typeof) {
569
577
  case f:
570
- return I3(n.render);
578
+ return C3(n.render);
571
579
  case b:
572
580
  return f1(n.type, l, a);
573
- case A: {
574
- var h = n, j = h._payload, S = h._init;
581
+ case T: {
582
+ var h = n, C = h._payload, S = h._init;
575
583
  try {
576
- return f1(S(j), l, a);
584
+ return f1(S(C), l, a);
577
585
  } catch {
578
586
  }
579
587
  }
580
588
  }
581
589
  return "";
582
590
  }
583
- var n1 = Object.prototype.hasOwnProperty, G1 = {}, q1 = T.ReactDebugCurrentFrame;
591
+ var n1 = Object.prototype.hasOwnProperty, K1 = {}, G1 = P.ReactDebugCurrentFrame;
584
592
  function w1(n) {
585
593
  if (n) {
586
594
  var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
587
- q1.setExtraStackFrame(a);
595
+ G1.setExtraStackFrame(a);
588
596
  } else
589
- q1.setExtraStackFrame(null);
597
+ G1.setExtraStackFrame(null);
590
598
  }
591
- function R3(n, l, a, h, j) {
599
+ function b3(n, l, a, h, C) {
592
600
  {
593
601
  var S = Function.call.bind(n1);
594
602
  for (var M in n)
@@ -596,49 +604,49 @@ function D2() {
596
604
  var x = void 0;
597
605
  try {
598
606
  if (typeof n[M] != "function") {
599
- var P = 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`.");
600
- throw P.name = "Invariant Violation", P;
607
+ 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`.");
608
+ throw D.name = "Invariant Violation", D;
601
609
  }
602
610
  x = n[M](l, M, h, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
603
611
  } catch (E) {
604
612
  x = E;
605
613
  }
606
- 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));
614
+ x && !(x instanceof Error) && (w1(C), 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 K1) && (K1[x.message] = !0, w1(C), L("Failed %s type: %s", a, x.message), w1(null));
607
615
  }
608
616
  }
609
617
  }
610
- var E3 = Array.isArray;
618
+ var I3 = Array.isArray;
611
619
  function S1(n) {
612
- return E3(n);
620
+ return I3(n);
613
621
  }
614
- function _3(n) {
622
+ function y3(n) {
615
623
  {
616
624
  var l = typeof Symbol == "function" && Symbol.toStringTag, a = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
617
625
  return a;
618
626
  }
619
627
  }
620
- function L3(n) {
628
+ function R3(n) {
621
629
  try {
622
- return Y1(n), !1;
630
+ return q1(n), !1;
623
631
  } catch {
624
632
  return !0;
625
633
  }
626
634
  }
627
- function Y1(n) {
635
+ function q1(n) {
628
636
  return "" + n;
629
637
  }
630
- function z1(n) {
631
- if (L3(n))
632
- 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);
638
+ function Y1(n) {
639
+ if (R3(n))
640
+ return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", y3(n)), q1(n);
633
641
  }
634
- var c1 = T.ReactCurrentOwner, $3 = {
642
+ var r1 = P.ReactCurrentOwner, E3 = {
635
643
  key: !0,
636
644
  ref: !0,
637
645
  __self: !0,
638
646
  __source: !0
639
- }, J1, X1, b1;
647
+ }, z1, J1, b1;
640
648
  b1 = {};
641
- function T3(n) {
649
+ function _3(n) {
642
650
  if (n1.call(n, "ref")) {
643
651
  var l = Object.getOwnPropertyDescriptor(n, "ref").get;
644
652
  if (l && l.isReactWarning)
@@ -646,7 +654,7 @@ function D2() {
646
654
  }
647
655
  return n.ref !== void 0;
648
656
  }
649
- function D3(n) {
657
+ function L3(n) {
650
658
  if (n1.call(n, "key")) {
651
659
  var l = Object.getOwnPropertyDescriptor(n, "key").get;
652
660
  if (l && l.isReactWarning)
@@ -654,16 +662,16 @@ function D2() {
654
662
  }
655
663
  return n.key !== void 0;
656
664
  }
657
- function A3(n, l) {
658
- if (typeof n.ref == "string" && c1.current && l && c1.current.stateNode !== l) {
659
- var a = k(c1.current.type);
660
- 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);
665
+ function $3(n, l) {
666
+ if (typeof n.ref == "string" && r1.current && l && r1.current.stateNode !== l) {
667
+ var a = k(r1.current.type);
668
+ 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);
661
669
  }
662
670
  }
663
671
  function P3(n, l) {
664
672
  {
665
673
  var a = function() {
666
- 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));
674
+ z1 || (z1 = !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));
667
675
  };
668
676
  a.isReactWarning = !0, Object.defineProperty(n, "key", {
669
677
  get: a,
@@ -671,10 +679,10 @@ function D2() {
671
679
  });
672
680
  }
673
681
  }
674
- function B3(n, l) {
682
+ function T3(n, l) {
675
683
  {
676
684
  var a = function() {
677
- 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));
685
+ J1 || (J1 = !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));
678
686
  };
679
687
  a.isReactWarning = !0, Object.defineProperty(n, "ref", {
680
688
  get: a,
@@ -682,7 +690,7 @@ function D2() {
682
690
  });
683
691
  }
684
692
  }
685
- var O3 = function(n, l, a, h, j, S, M) {
693
+ var D3 = function(n, l, a, h, C, S, M) {
686
694
  var x = {
687
695
  // This tag allows us to uniquely identify this as a React Element
688
696
  $$typeof: e,
@@ -708,41 +716,41 @@ function D2() {
708
716
  configurable: !1,
709
717
  enumerable: !1,
710
718
  writable: !1,
711
- value: j
719
+ value: C
712
720
  }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
713
721
  };
714
- function V3(n, l, a, h, j) {
722
+ function A3(n, l, a, h, C) {
715
723
  {
716
- var S, M = {}, x = null, P = null;
717
- a !== void 0 && (z1(a), x = "" + a), D3(l) && (z1(l.key), x = "" + l.key), T3(l) && (P = l.ref, A3(l, j));
724
+ var S, M = {}, x = null, D = null;
725
+ a !== void 0 && (Y1(a), x = "" + a), L3(l) && (Y1(l.key), x = "" + l.key), _3(l) && (D = l.ref, $3(l, C));
718
726
  for (S in l)
719
- n1.call(l, S) && !$3.hasOwnProperty(S) && (M[S] = l[S]);
727
+ n1.call(l, S) && !E3.hasOwnProperty(S) && (M[S] = l[S]);
720
728
  if (n && n.defaultProps) {
721
729
  var E = n.defaultProps;
722
730
  for (S in E)
723
731
  M[S] === void 0 && (M[S] = E[S]);
724
732
  }
725
- if (x || P) {
733
+ if (x || D) {
726
734
  var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
727
- x && P3(M, _), P && B3(M, _);
735
+ x && P3(M, _), D && T3(M, _);
728
736
  }
729
- return O3(n, x, P, j, h, c1.current, M);
737
+ return D3(n, x, D, C, h, r1.current, M);
730
738
  }
731
739
  }
732
- var I1 = T.ReactCurrentOwner, Q1 = T.ReactDebugCurrentFrame;
740
+ var I1 = P.ReactCurrentOwner, X1 = P.ReactDebugCurrentFrame;
733
741
  function X(n) {
734
742
  if (n) {
735
743
  var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
736
- Q1.setExtraStackFrame(a);
744
+ X1.setExtraStackFrame(a);
737
745
  } else
738
- Q1.setExtraStackFrame(null);
746
+ X1.setExtraStackFrame(null);
739
747
  }
740
748
  var y1;
741
749
  y1 = !1;
742
750
  function R1(n) {
743
751
  return typeof n == "object" && n !== null && n.$$typeof === e;
744
752
  }
745
- function N1() {
753
+ function Q1() {
746
754
  {
747
755
  if (I1.current) {
748
756
  var n = k(I1.current.type);
@@ -754,7 +762,7 @@ Check the render method of \`` + n + "`.";
754
762
  return "";
755
763
  }
756
764
  }
757
- function k3(n) {
765
+ function B3(n) {
758
766
  {
759
767
  if (n !== void 0) {
760
768
  var l = n.fileName.replace(/^.*[\\\/]/, ""), a = n.lineNumber;
@@ -765,10 +773,10 @@ Check your code at ` + l + ":" + a + ".";
765
773
  return "";
766
774
  }
767
775
  }
768
- var e3 = {};
769
- function U3(n) {
776
+ var N1 = {};
777
+ function O3(n) {
770
778
  {
771
- var l = N1();
779
+ var l = Q1();
772
780
  if (!l) {
773
781
  var a = typeof n == "string" ? n : n.displayName || n.name;
774
782
  a && (l = `
@@ -778,39 +786,39 @@ Check the top-level render call using <` + a + ">.");
778
786
  return l;
779
787
  }
780
788
  }
781
- function t3(n, l) {
789
+ function e3(n, l) {
782
790
  {
783
791
  if (!n._store || n._store.validated || n.key != null)
784
792
  return;
785
793
  n._store.validated = !0;
786
- var a = U3(l);
787
- if (e3[a])
794
+ var a = O3(l);
795
+ if (N1[a])
788
796
  return;
789
- e3[a] = !0;
797
+ N1[a] = !0;
790
798
  var h = "";
791
799
  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);
792
800
  }
793
801
  }
794
- function o3(n, l) {
802
+ function t3(n, l) {
795
803
  {
796
804
  if (typeof n != "object")
797
805
  return;
798
806
  if (S1(n))
799
807
  for (var a = 0; a < n.length; a++) {
800
808
  var h = n[a];
801
- R1(h) && t3(h, l);
809
+ R1(h) && e3(h, l);
802
810
  }
803
811
  else if (R1(n))
804
812
  n._store && (n._store.validated = !0);
805
813
  else if (n) {
806
- var j = o1(n);
807
- if (typeof j == "function" && j !== n.entries)
808
- for (var S = j.call(n), M; !(M = S.next()).done; )
809
- R1(M.value) && t3(M.value, l);
814
+ var C = o1(n);
815
+ if (typeof C == "function" && C !== n.entries)
816
+ for (var S = C.call(n), M; !(M = S.next()).done; )
817
+ R1(M.value) && e3(M.value, l);
810
818
  }
811
819
  }
812
820
  }
813
- function F3(n) {
821
+ function V3(n) {
814
822
  {
815
823
  var l = n.type;
816
824
  if (l == null || typeof l == "string")
@@ -826,16 +834,16 @@ Check the top-level render call using <` + a + ">.");
826
834
  return;
827
835
  if (a) {
828
836
  var h = k(l);
829
- R3(a, n.props, "prop", h, n);
837
+ b3(a, n.props, "prop", h, n);
830
838
  } else if (l.PropTypes !== void 0 && !y1) {
831
839
  y1 = !0;
832
- var j = k(l);
833
- L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
840
+ var C = k(l);
841
+ L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
834
842
  }
835
843
  typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
836
844
  }
837
845
  }
838
- function W3(n) {
846
+ function k3(n) {
839
847
  {
840
848
  for (var l = Object.keys(n.props), a = 0; a < l.length; a++) {
841
849
  var h = l[a];
@@ -847,19 +855,19 @@ Check the top-level render call using <` + a + ">.");
847
855
  n.ref !== null && (X(n), L("Invalid attribute `ref` supplied to `React.Fragment`."), X(null));
848
856
  }
849
857
  }
850
- var s3 = {};
851
- function n3(n, l, a, h, j, S) {
858
+ var o3 = {};
859
+ function s3(n, l, a, h, C, S) {
852
860
  {
853
- var M = B(n);
861
+ var M = A(n);
854
862
  if (!M) {
855
863
  var x = "";
856
864
  (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.");
857
- var P = k3(j);
858
- P ? x += P : x += N1();
865
+ var D = B3(C);
866
+ D ? x += D : x += Q1();
859
867
  var E;
860
868
  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);
861
869
  }
862
- var _ = V3(n, l, a, j, S);
870
+ var _ = A3(n, l, a, C, S);
863
871
  if (_ == null)
864
872
  return _;
865
873
  if (M) {
@@ -868,38 +876,38 @@ Check the top-level render call using <` + a + ">.");
868
876
  if (h)
869
877
  if (S1(U)) {
870
878
  for (var Q = 0; Q < U.length; Q++)
871
- o3(U[Q], n);
879
+ t3(U[Q], n);
872
880
  Object.freeze && Object.freeze(U);
873
881
  } else
874
882
  L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
875
883
  else
876
- o3(U, n);
884
+ t3(U, n);
877
885
  }
878
886
  if (n1.call(l, "key")) {
879
- var Y = k(n), O = Object.keys(l).filter(function(z3) {
880
- return z3 !== "key";
881
- }), E1 = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
882
- if (!s3[Y + E1]) {
883
- var Y3 = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
887
+ var Y = k(n), B = Object.keys(l).filter(function(G3) {
888
+ return G3 !== "key";
889
+ }), E1 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
890
+ if (!o3[Y + E1]) {
891
+ var K3 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
884
892
  L(`A props object containing a "key" prop is being spread into JSX:
885
893
  let props = %s;
886
894
  <%s {...props} />
887
895
  React keys must be passed directly to JSX without using spread:
888
896
  let props = %s;
889
- <%s key={someKey} {...props} />`, E1, Y, Y3, Y), s3[Y + E1] = !0;
897
+ <%s key={someKey} {...props} />`, E1, Y, K3, Y), o3[Y + E1] = !0;
890
898
  }
891
899
  }
892
- return n === c ? W3(_) : F3(_), _;
900
+ return n === r ? k3(_) : V3(_), _;
893
901
  }
894
902
  }
895
- function H3(n, l, a) {
896
- return n3(n, l, a, !0);
903
+ function U3(n, l, a) {
904
+ return s3(n, l, a, !0);
897
905
  }
898
- function K3(n, l, a) {
899
- return n3(n, l, a, !1);
906
+ function F3(n, l, a) {
907
+ return s3(n, l, a, !1);
900
908
  }
901
- var G3 = K3, q3 = H3;
902
- l1.Fragment = c, l1.jsx = G3, l1.jsxs = q3;
909
+ var W3 = F3, H3 = U3;
910
+ l1.Fragment = r, l1.jsx = W3, l1.jsxs = H3;
903
911
  }()), l1;
904
912
  }
905
913
  var i1 = {};
@@ -912,108 +920,109 @@ var i1 = {};
912
920
  * This source code is licensed under the MIT license found in the
913
921
  * LICENSE file in the root directory of this source tree.
914
922
  */
915
- var i3;
916
- function A2() {
917
- if (i3)
923
+ var l3;
924
+ function P2() {
925
+ if (l3)
918
926
  return i1;
919
- i3 = 1;
920
- var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
921
- function u(g, f, w) {
922
- var d, b = {}, A = null, F = null;
923
- w !== void 0 && (A = "" + w), f.key !== void 0 && (A = "" + f.key), f.ref !== void 0 && (F = f.ref);
927
+ l3 = 1;
928
+ var t = u3, 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 };
929
+ function i(g, f, w) {
930
+ var d, b = {}, T = null, F = null;
931
+ w !== void 0 && (T = "" + w), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (F = f.ref);
924
932
  for (d in f)
925
- c.call(f, d) && !i.hasOwnProperty(d) && (b[d] = f[d]);
933
+ r.call(f, d) && !u.hasOwnProperty(d) && (b[d] = f[d]);
926
934
  if (g && g.defaultProps)
927
935
  for (d in f = g.defaultProps, f)
928
936
  b[d] === void 0 && (b[d] = f[d]);
929
- return { $$typeof: e, type: g, key: A, ref: F, props: b, _owner: r.current };
937
+ return { $$typeof: e, type: g, key: T, ref: F, props: b, _owner: c.current };
930
938
  }
931
- return i1.Fragment = s, i1.jsx = u, i1.jsxs = u, i1;
939
+ return i1.Fragment = s, i1.jsx = i, i1.jsxs = i, i1;
932
940
  }
933
- process.env.NODE_ENV === "production" ? D1.exports = A2() : D1.exports = D2();
934
- var o = D1.exports;
935
- const P2 = "_mwfit_ppa3l_1", B2 = {
936
- mwfit: P2
937
- }, O2 = () => {
938
- const { reconnect: t } = I(), e = _2(), s = L2();
939
- return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${B2.mwfit} mx-auto text-center`, children: [
941
+ process.env.NODE_ENV === "production" ? P1.exports = P2() : P1.exports = $2();
942
+ var o = P1.exports;
943
+ const T2 = "_mwfit_ppa3l_1", D2 = {
944
+ mwfit: T2
945
+ }, A2 = () => {
946
+ const { reconnect: t } = I(), e = E2(), s = _2();
947
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${D2.mwfit} mx-auto text-center`, children: [
940
948
  /* @__PURE__ */ o.jsx("h1", { children: "Disconnected" }),
941
949
  e && /* @__PURE__ */ o.jsx("h5", { children: e }),
942
950
  s && /* @__PURE__ */ o.jsx("button", { className: "btn btn-secondary btn-lg", onClick: t, children: "Reconnect" })
943
951
  ] }) });
944
952
  };
945
- class V2 {
953
+ class B2 {
946
954
  constructor() {
947
- D(this, "uuid", "current-uuid");
948
- D(this, "roomKey", "current-room-key");
949
- D(this, "code", "current-code");
950
- D(this, "expiry", "current-uuid-expires");
955
+ V(this, "uuid", "current-uuid");
956
+ V(this, "roomKey", "current-room-key");
957
+ V(this, "code", "current-code");
958
+ V(this, "expiry", "current-uuid-expires");
951
959
  }
952
960
  }
953
- const a3 = new V2(), m3 = c2({
961
+ const i3 = new B2(), p3 = s2({
954
962
  sendMessage: () => null,
955
963
  sendSimpleMessage: () => null,
956
964
  addEventHandler: () => null,
957
965
  removeEventHandler: () => null,
958
966
  reconnect: () => null
959
967
  });
960
- function k2(t) {
968
+ function O2(t) {
961
969
  return sessionStorage.getItem(t) || "";
962
970
  }
963
- function U2(t, e) {
971
+ function V2(t, e) {
964
972
  sessionStorage.setItem(t, e);
965
973
  }
966
- const F2 = ({ children: t }) => {
967
- const [e, s] = H(), c = S2(), r = b2(), i = I2(), u = T2(), g = m2(), f = y2(), w = R2(), d = E2(), b = u1(null), [A, F] = H(), V = u1({}), z = r1(
974
+ const k2 = ({ children: t }) => {
975
+ const [e, s] = H(), r = C2(), c = S2(), u = b2(), i = L2(), g = a2(), f = I2(), w = y2(), d = R2(), b = u1(null), [T, F] = H(), O = u1({}), z = c1(
968
976
  async (y) => {
969
977
  try {
970
- const Z = await T1.get(`${y}/ui/joinroom?token=${e}`);
971
- return Z.status === 200 && Z.data ? (C.dispatch(W.setRoomData(Z.data)), !0) : !1;
972
- } catch (Z) {
973
- 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);
978
+ const j = await $1.get(`${y}/ui/joinroom?token=${e}`);
979
+ return j.status === 200 && j.data ? (m.dispatch(W.setRoomData(j.data)), !0) : !1;
980
+ } catch (j) {
981
+ return console.log(j), d ? !0 : j instanceof J3 && j.response && j.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(q.setErrorMessage(`Token ${e} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", j), j instanceof Error ? m.dispatch(q.setErrorMessage(j.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
974
982
  }
975
983
  },
976
984
  [e, d]
977
- ), o1 = r1(() => {
978
- const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${r}`;
985
+ ), o1 = c1(() => {
986
+ const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${c}`;
979
987
  window.location.href = w ? `${y}&Code=${w}` : y;
980
- }, [g.gatewayAppPath, r, f, w]), T = r1(
981
- (y, Z) => {
982
- b.current && c && b.current.send(JSON.stringify({ type: y, clientId: i, content: Z }));
988
+ }, [g.gatewayAppPath, c, f, w]), P = c1(
989
+ (y, j) => {
990
+ b.current && r && b.current.send(JSON.stringify({ type: y, clientId: u, content: j }));
983
991
  },
984
- [c, i]
985
- ), L = (y, Z) => {
986
- T(y, { value: Z });
987
- }, x1 = r1(
988
- (y, Z, h1) => {
989
- V.current[y] || (V.current[y] = {}), V.current[y][Z] = h1, console.log("event handler added", y, Z);
992
+ [r, u]
993
+ ), L = (y, j) => {
994
+ P(y, { value: j });
995
+ }, x1 = c1(
996
+ (y, j, h1) => {
997
+ O.current[y] || (O.current[y] = {}), O.current[y][j] = h1, console.log("event handler added", y, j);
990
998
  },
991
999
  []
992
- ), M1 = r1((y, Z) => {
993
- V.current[y] && (delete V.current[y][Z], console.log("event handler removed", y, Z));
1000
+ ), M1 = c1((y, j) => {
1001
+ O.current[y] && (delete O.current[y][j], console.log("event handler removed", y, j));
994
1002
  }, []);
995
1003
  return t1(() => {
996
- let Z = new URLSearchParams(window.location.search).get("token");
997
- Z ? (console.log("saving token: ", Z), U2(a3.uuid, Z)) : (Z = k2(a3.uuid), console.log("loading token: ", Z)), s(Z), u();
1004
+ let j = new URLSearchParams(window.location.search).get("token");
1005
+ j ? (console.log("saving token: ", j), V2(i3.uuid, j)) : (j = O2(i3.uuid), console.log("loading token: ", j)), s(j), i();
998
1006
  }, []), t1(() => {
999
1007
  async function y() {
1000
- if (console.log("effect is running"), !(!g.apiPath || A || !e || !await z(g.apiPath)) && !b.current) {
1008
+ if (console.log("effect is running"), !(!g.apiPath || T || !e || !await z(g.apiPath)) && !b.current) {
1009
+ console.log("connecting to websocket");
1001
1010
  const m1 = `${g.apiPath.replace("http", "ws")}/ui/join/${e}`, K = new WebSocket(m1);
1002
- b.current = K, K.onopen = (B) => {
1003
- console.log("connected", B.type, B.target), C.dispatch(W.setWebsocketIsConnected(!0));
1004
- }, K.onerror = (B) => {
1005
- console.log(B);
1006
- }, K.onclose = (B) => {
1007
- if (console.log("disconnected: ", B.reason, B.code), B.code === 4e3) {
1008
- 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());
1011
+ b.current = K, K.onopen = (A) => {
1012
+ console.log("connected", A.type, A.target), m.dispatch(W.setWebsocketIsConnected(!0));
1013
+ }, K.onerror = (A) => {
1014
+ console.log(A);
1015
+ }, K.onclose = (A) => {
1016
+ if (console.log("disconnected: ", A.reason, A.code), A.code === 4e3) {
1017
+ console.log("user code changed"), m.dispatch(W.setUserCode({ userCode: "", qrUrl: "" })), m.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1009
1018
  return;
1010
1019
  }
1011
- if (B.code === 4001 && !d) {
1012
- 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());
1020
+ if (A.code === 4001 && !d) {
1021
+ console.log("processor disconnected"), m.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1013
1022
  return;
1014
1023
  }
1015
- if (B.code === 4002) {
1016
- 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());
1024
+ if (A.code === 4002) {
1025
+ console.log("room combination changed"), m.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
1017
1026
  return;
1018
1027
  }
1019
1028
  if (b.current)
@@ -1022,10 +1031,10 @@ const F2 = ({ children: t }) => {
1022
1031
  console.log("WebSocket closed by client.");
1023
1032
  return;
1024
1033
  }
1025
- A || (C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
1026
- }, K.onmessage = (B) => {
1034
+ T || (m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
1035
+ }, K.onmessage = (A) => {
1027
1036
  try {
1028
- const R = JSON.parse(B.data);
1037
+ const R = JSON.parse(A.data);
1029
1038
  if (console.log(R), R.type === "close") {
1030
1039
  K.close(4001, R.content);
1031
1040
  return;
@@ -1033,21 +1042,21 @@ const F2 = ({ children: t }) => {
1033
1042
  if (R.type.startsWith("/system/"))
1034
1043
  switch (R.type) {
1035
1044
  case "/system/touchpanelKey":
1036
- C.dispatch(
1045
+ m.dispatch(
1037
1046
  W.setTouchpanelKey(
1038
1047
  R.content
1039
1048
  )
1040
1049
  );
1041
1050
  break;
1042
1051
  case "/system/roomKey":
1043
- C.dispatch(
1052
+ m.dispatch(
1044
1053
  W.setCurrentRoomKey(
1045
1054
  R.content
1046
1055
  )
1047
1056
  );
1048
1057
  break;
1049
1058
  case "/system/userCodeChanged":
1050
- C.dispatch(
1059
+ m.dispatch(
1051
1060
  W.setUserCode(
1052
1061
  R.content
1053
1062
  )
@@ -1062,7 +1071,7 @@ const F2 = ({ children: t }) => {
1062
1071
  }
1063
1072
  else if (R.type.startsWith("/event/")) {
1064
1073
  console.log("event message received", R);
1065
- const J = V.current[R.type];
1074
+ const J = O.current[R.type];
1066
1075
  J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((k) => {
1067
1076
  try {
1068
1077
  k(R);
@@ -1071,7 +1080,7 @@ const F2 = ({ children: t }) => {
1071
1080
  }
1072
1081
  });
1073
1082
  } else
1074
- R.type.startsWith("/room/") ? C.dispatch(e1.setRoomState(R)) : R.type.startsWith("/device/") && C.dispatch(N.setDeviceState(R));
1083
+ R.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(R)) : R.type.startsWith("/device/") && m.dispatch(N.setDeviceState(R));
1075
1084
  } catch (R) {
1076
1085
  console.log(R);
1077
1086
  }
@@ -1081,90 +1090,90 @@ const F2 = ({ children: t }) => {
1081
1090
  return y(), () => {
1082
1091
  b.current && b.current.close(), b.current = null;
1083
1092
  };
1084
- }, [g.apiPath, z, e, A, d]), t1(() => {
1085
- !r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), T(`/room/${r}/status`, null)));
1086
- }, [r, i, c, T]), /* @__PURE__ */ o.jsx(
1087
- m3.Provider,
1093
+ }, [g.apiPath, z, e, T, d]), t1(() => {
1094
+ !c || !r || (console.log("clientId: ", u), u && (console.log("requesting status from room: ", c), P(`/room/${c}/status`, null)));
1095
+ }, [c, u, r, P]), /* @__PURE__ */ o.jsx(
1096
+ p3.Provider,
1088
1097
  {
1089
1098
  value: {
1090
- sendMessage: T,
1099
+ sendMessage: P,
1091
1100
  sendSimpleMessage: L,
1092
1101
  addEventHandler: x1,
1093
1102
  removeEventHandler: M1,
1094
1103
  reconnect: o1
1095
1104
  },
1096
- children: c ? t : /* @__PURE__ */ o.jsx(O2, {})
1105
+ children: r ? t : /* @__PURE__ */ o.jsx(A2, {})
1097
1106
  }
1098
1107
  );
1099
- }, x6 = ({ children: t }) => /* @__PURE__ */ o.jsx(n2, { store: C, children: /* @__PURE__ */ o.jsx(F2, { children: t }) });
1108
+ }, p6 = ({ children: t }) => /* @__PURE__ */ o.jsx(N3, { store: m, children: /* @__PURE__ */ o.jsx(k2, { children: t }) });
1100
1109
  function I() {
1101
- return r2(m3);
1110
+ return n2(p3);
1102
1111
  }
1103
- function W2({
1112
+ function U2({
1104
1113
  onPress: t,
1105
1114
  onRelease: e,
1106
1115
  onHold: s,
1107
- holdTimeMs: c = 500
1116
+ holdTimeMs: r = 500
1108
1117
  }) {
1109
- const r = u1(null), i = u1(!1);
1110
- function u() {
1111
- i.current = !0, t == null || t(), r.current = setTimeout(() => {
1112
- s == null || s(), r.current = null;
1113
- }, c);
1118
+ const c = u1(null), u = u1(!1);
1119
+ function i() {
1120
+ u.current = !0, t == null || t(), c.current = setTimeout(() => {
1121
+ s == null || s(), c.current = null;
1122
+ }, r);
1114
1123
  }
1115
1124
  function g() {
1116
- i.current = !1, e == null || e(), r.current && (clearTimeout(r.current), r.current = null);
1125
+ u.current = !1, e == null || e(), c.current && (clearTimeout(c.current), c.current = null);
1117
1126
  }
1118
1127
  function f() {
1119
- i.current && g();
1128
+ u.current && g();
1120
1129
  }
1121
1130
  return {
1122
- onPointerDown: u,
1131
+ onPointerDown: i,
1123
1132
  onPointerUp: g,
1124
1133
  onPointerLeave: f
1125
1134
  };
1126
1135
  }
1127
1136
  function v(t, e) {
1128
- const { sendMessage: c } = I(), r = u1(null);
1129
- function i() {
1130
- c(`${t}/${e}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
1131
- c(`${t}/${e}`, { value: "held" });
1137
+ const { sendMessage: r } = I(), c = u1(null);
1138
+ function u() {
1139
+ r(`${t}/${e}`, { value: "pressed" }), c.current || (c.current = setInterval(() => {
1140
+ r(`${t}/${e}`, { value: "held" });
1132
1141
  }, 250));
1133
1142
  }
1134
- function u() {
1135
- r.current && (clearInterval(r.current), r.current = null), c(`${t}/${e}`, { value: "released" });
1143
+ function i() {
1144
+ c.current && (clearInterval(c.current), c.current = null), r(`${t}/${e}`, { value: "released" });
1136
1145
  }
1137
- return W2({ onPress: i, onRelease: u });
1146
+ return U2({ onPress: u, onRelease: i });
1138
1147
  }
1139
- function Z3(t, e) {
1140
- const { sendMessage: s, sendSimpleMessage: c } = I(), r = v(`${t}`, "volumeUp"), i = v(`${t}`, "volumeDown");
1148
+ function x3(t, e) {
1149
+ const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
1141
1150
  return e ? {
1142
1151
  volumeState: e,
1143
- volumeUp: r,
1144
- volumeDown: i,
1145
- setLevel: (d) => c(`${t}/level`, d),
1152
+ volumeUp: c,
1153
+ volumeDown: u,
1154
+ setLevel: (d) => r(`${t}/level`, d),
1146
1155
  muteToggle: () => s(`${t}/muteToggle`, null),
1147
1156
  muteOn: () => s(`${t}/muteOn`, null),
1148
1157
  muteOff: () => s(`${t}/muteOff`, null)
1149
1158
  } : void 0;
1150
1159
  }
1151
- function M6(t, e) {
1152
- const { sendMessage: s, sendSimpleMessage: c } = I(), r = v(`${t}`, "volumeUp"), i = v(`${t}`, "volumeDown");
1160
+ function x6(t, e) {
1161
+ const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
1153
1162
  return e ? {
1154
1163
  volumeState: e,
1155
- volumeUp: r,
1156
- volumeDown: i,
1157
- setLevel: (d) => c(`${t}/level`, d),
1164
+ volumeUp: c,
1165
+ volumeDown: u,
1166
+ setLevel: (d) => r(`${t}/level`, d),
1158
1167
  muteToggle: () => s(`${t}/muteToggle`, null),
1159
1168
  muteOn: () => s(`${t}/muteOn`, null),
1160
1169
  muteOff: () => s(`${t}/muteOff`, null)
1161
1170
  } : void 0;
1162
1171
  }
1163
- function H2(t) {
1172
+ function F2(t) {
1164
1173
  const e = $(t), s = `/device/${t}`;
1165
- return Z3(s, e == null ? void 0 : e.volume);
1174
+ return x3(s, e == null ? void 0 : e.volume);
1166
1175
  }
1167
- function j3(t) {
1176
+ function M3(t) {
1168
1177
  const { sendMessage: e } = I();
1169
1178
  return { powerOn: () => {
1170
1179
  e(`/device/${t}/powerOn`, null);
@@ -1174,75 +1183,81 @@ function j3(t) {
1174
1183
  e(`/device/${t}/powerToggle`, null);
1175
1184
  } };
1176
1185
  }
1177
- function A1(t) {
1186
+ function T1(t) {
1178
1187
  const { sendMessage: e } = I(), s = $(t);
1179
- return console.log("deviceState", s), s ? { itemsState: s, selectItem: (r) => {
1180
- e(`/device/${t}/${r}`, null);
1188
+ return console.log("deviceState", s), s ? { itemsState: s, selectItem: (c) => {
1189
+ e(`/device/${t}/${c}`, null);
1181
1190
  } } : void 0;
1182
1191
  }
1183
- function K2(t) {
1184
- const { sendMessage: e } = I(), s = $(t), c = () => {
1192
+ function W2(t) {
1193
+ const { sendMessage: e } = I(), s = $(t), r = () => {
1185
1194
  e(`/device/${t}/setDefaultChannelLevels`, null);
1186
- }, r = () => {
1195
+ }, c = () => {
1187
1196
  if ((s == null ? void 0 : s.levelControls) === void 0)
1188
1197
  return;
1189
1198
  Object.keys(s == null ? void 0 : s.levelControls).forEach((g) => {
1190
1199
  e(`/device/${t}/${g}/fullStatus`, null);
1191
1200
  });
1192
1201
  };
1193
- return s ? { levelControls: s.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1202
+ return s ? { levelControls: s.levelControls, setDefaultChannelLevels: r, getFullStatus: c } : void 0;
1194
1203
  }
1195
- function m6(t) {
1196
- const e = $(t), s = j3(t), c = A1(t), r = A1(t), i = H2(t), u = K2(t);
1204
+ function M6(t) {
1205
+ const e = $(t), s = M3(t), r = T1(t), c = T1(t), u = F2(t), i = W2(t);
1197
1206
  if (e)
1198
1207
  return {
1199
1208
  avrState: e,
1200
1209
  powerControl: s,
1201
- inputControl: c,
1202
- surroundSoundModes: r,
1203
- surroundChannels: u,
1204
- mainVolumeControl: i
1210
+ inputControl: r,
1211
+ surroundSoundModes: c,
1212
+ surroundChannels: i,
1213
+ mainVolumeControl: u
1205
1214
  };
1206
1215
  }
1207
- function Z6(t) {
1216
+ function m6(t) {
1208
1217
  const e = $(t);
1209
1218
  if (e)
1210
1219
  return { endpointState: e };
1211
1220
  }
1221
+ function Z6(t) {
1222
+ 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");
1223
+ return { channelUp: s, channelDown: r, lastChannel: c, guide: u, info: i, exit: g };
1224
+ }
1212
1225
  function j6(t) {
1213
- const e = `/device/${t}`, s = v(e, "chanUp"), c = v(e, "chanDown"), r = v(e, "lastChan"), i = v(e, "guide"), u = v(e, "info"), g = v(e, "exit");
1214
- return { channelUp: s, channelDown: c, lastChannel: r, guide: i, info: u, exit: g };
1226
+ const e = `/device/${t}`, s = v(e, "red"), r = v(e, "green"), c = v(e, "yellow"), u = v(e, "blue");
1227
+ return { red: s, green: r, yellow: c, blue: u };
1215
1228
  }
1216
1229
  function C6(t) {
1217
- const e = `/device/${t}`, s = v(e, "red"), c = v(e, "green"), r = v(e, "yellow"), i = v(e, "blue");
1218
- return { red: s, green: c, yellow: r, blue: i };
1219
- }
1220
- function S6(t) {
1221
1230
  const e = $(t);
1222
1231
  if (e)
1223
1232
  return {
1224
1233
  communicationMonitorState: e
1225
1234
  };
1226
1235
  }
1227
- function b6(t) {
1228
- const e = `/device/${t}`, s = v(e, "up"), c = v(e, "down"), r = v(e, "left"), i = v(e, "right"), u = v(e, "select"), g = v(e, "menu"), f = v(e, "exit");
1229
- return { up: s, down: c, left: r, right: i, select: u, menu: g, exit: f };
1236
+ function S6(t) {
1237
+ 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");
1238
+ return { up: s, down: r, left: c, right: u, select: i, menu: g, exit: f };
1230
1239
  }
1231
- function I6(t) {
1240
+ function b6(t) {
1232
1241
  const e = $(t);
1233
1242
  if (e)
1234
1243
  return e.deviceInfo || void 0;
1235
1244
  }
1245
+ function I6(t) {
1246
+ const { sendMessage: e } = I();
1247
+ return { recallPreset: (r) => {
1248
+ e(`/device/${t}/recallPreset`, r);
1249
+ } };
1250
+ }
1236
1251
  function y6(t) {
1237
- const e = `/device/${t}`, s = v(e, "dvrList"), c = v(e, "record");
1238
- return { dvrList: s, record: c };
1252
+ const e = `/device/${t}`, s = v(e, "dvrList"), r = v(e, "record");
1253
+ return { dvrList: s, record: r };
1239
1254
  }
1240
1255
  const R6 = ({ className: t }) => {
1241
1256
  const [e, s] = H();
1242
1257
  return t1(() => {
1243
1258
  setInterval(() => {
1244
- const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1245
- s(c);
1259
+ const r = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1260
+ s(r);
1246
1261
  }, 1e3);
1247
1262
  }, []), /* @__PURE__ */ o.jsxs("div", { className: t, children: [
1248
1263
  e,
@@ -1264,9 +1279,9 @@ function E6(t) {
1264
1279
  } } : void 0;
1265
1280
  }
1266
1281
  function _6(t) {
1267
- const { sendMessage: e, sendSimpleMessage: s } = I(), c = $(t), r = C2(t), i = c || r;
1268
- return i ? {
1269
- levelState: i,
1282
+ const { sendMessage: e, sendSimpleMessage: s } = I(), r = $(t), c = j2(t), u = r || c;
1283
+ return u ? {
1284
+ levelState: u,
1270
1285
  setLevel: (d, b) => s(`${d}/level`, b),
1271
1286
  muteToggle: (d) => e(`${d}/muteToggle`, null),
1272
1287
  muteOn: (d) => e(`${d}/muteOn`, null),
@@ -1275,27 +1290,27 @@ function _6(t) {
1275
1290
  }
1276
1291
  function L6(t) {
1277
1292
  const { sendMessage: e } = I(), s = $(t);
1278
- return s ? { lightingState: s, selectScene: (r) => {
1279
- e(`/device/${t}/selectScene`, r);
1293
+ return s ? { lightingState: s, selectScene: (c) => {
1294
+ e(`/device/${t}/selectScene`, c);
1280
1295
  } } : void 0;
1281
1296
  }
1282
1297
  function $6(t) {
1283
1298
  const { sendMessage: e } = I(), s = $(t);
1284
- return s ? { matrixRoutingState: s, setRoute: (r) => {
1285
- e(`/device/${t}/route`, r);
1299
+ return s ? { matrixRoutingState: s, setRoute: (c) => {
1300
+ e(`/device/${t}/route`, c);
1286
1301
  } } : void 0;
1287
1302
  }
1288
- function T6(t) {
1303
+ function P6(t) {
1289
1304
  const { sendMessage: e } = I();
1290
1305
  return { closeApp: () => {
1291
1306
  e(`/device/${t}/closeWebViewController`, null);
1292
1307
  } };
1293
1308
  }
1294
- function D6(t) {
1295
- const e = `/device/${t}`, s = v(e, "num0"), c = v(e, "num1"), r = v(e, "num2"), i = v(e, "num3"), u = v(e, "num4"), g = v(e, "num5"), f = v(e, "num6"), w = v(e, "num7"), d = v(e, "num8"), b = v(e, "num9"), A = v(e, "numDash"), F = v(e, "numEnter");
1296
- return { digit0: s, digit1: c, digit2: r, digit3: i, digit4: u, digit5: g, digit6: f, digit7: w, digit8: d, digit9: b, keypadAccessoryButton1: A, keypadAccessoryButton2: F };
1309
+ function T6(t) {
1310
+ 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");
1311
+ 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 };
1297
1312
  }
1298
- function A6(t) {
1313
+ function D6(t) {
1299
1314
  const { sendMessage: e } = I(), s = $(t);
1300
1315
  return s ? { projectorScreenLiftControlState: s, raise: () => {
1301
1316
  e(`/device/${t}/raise`, null);
@@ -1303,27 +1318,27 @@ function A6(t) {
1303
1318
  e(`/device/${t}/lower`, null);
1304
1319
  } } : void 0;
1305
1320
  }
1306
- function P6(t) {
1307
- const { sendMessage: e } = I(), s = P1(t);
1308
- return s ? { roomEventScheduleState: s, save: (r) => {
1309
- e(`/room/${t}/saveScheduledEvents`, r);
1321
+ function A6(t) {
1322
+ const { sendMessage: e } = I(), s = D1(t);
1323
+ return s ? { roomEventScheduleState: s, save: (c) => {
1324
+ e(`/room/${t}/saveScheduledEvents`, c);
1310
1325
  } } : void 0;
1311
1326
  }
1312
1327
  function B6(t) {
1313
1328
  const { sendMessage: e } = I();
1314
- return { runDirectRoute: (c) => {
1315
- e(`/room/${t}/directRoute`, c);
1329
+ return { runDirectRoute: (r) => {
1330
+ e(`/room/${t}/directRoute`, r);
1316
1331
  } };
1317
1332
  }
1318
1333
  function O6(t) {
1319
1334
  const { sendMessage: e } = I();
1320
- return { routingState: $(t), runRoute: (r) => {
1321
- e(`/room/${t}/source`, r);
1335
+ return { routingState: $(t), runRoute: (c) => {
1336
+ e(`/room/${t}/source`, c);
1322
1337
  } };
1323
1338
  }
1324
1339
  function V6(t) {
1325
- const e = `/device/${t}`, s = v(e, "chanUp"), c = v(e, "chanDown");
1326
- return { dvrList: s, replay: c };
1340
+ const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown");
1341
+ return { dvrList: s, replay: r };
1327
1342
  }
1328
1343
  function k6(t) {
1329
1344
  const { sendMessage: e } = I(), s = $(t);
@@ -1336,7 +1351,7 @@ function k6(t) {
1336
1351
  } } : void 0;
1337
1352
  }
1338
1353
  function U6(t) {
1339
- const { sendMessage: e } = I(), s = P1(t);
1354
+ const { sendMessage: e } = I(), s = D1(t);
1340
1355
  return s ? { shutdownPromptTimerState: s, setShutdownPromptSeconds: (g) => {
1341
1356
  e(`/room/${t}/setShutdownPromptSeconds`, g);
1342
1357
  }, shutdownStart: () => {
@@ -1356,16 +1371,16 @@ function F6(t) {
1356
1371
  } } : void 0;
1357
1372
  }
1358
1373
  function W6(t) {
1359
- const { sendMessage: e } = I(), s = P1(t);
1360
- return s ? { techPasswordState: s, validatePassword: (i) => {
1361
- e(`/room/${t}/validateTechPassword`, { password: i });
1362
- }, setPassword: (i, u) => {
1363
- e(`/room/${t}/setTechPassword`, { oldPassword: i, newPassword: u });
1374
+ const { sendMessage: e } = I(), s = D1(t);
1375
+ return s ? { techPasswordState: s, validatePassword: (u) => {
1376
+ e(`/room/${t}/validateTechPassword`, { password: u });
1377
+ }, setPassword: (u, i) => {
1378
+ e(`/room/${t}/setTechPassword`, { oldPassword: u, newPassword: i });
1364
1379
  } } : void 0;
1365
1380
  }
1366
1381
  function H6(t) {
1367
- const e = `/device/${t}`, s = v(e, "play"), c = v(e, "pause"), r = v(e, "stop"), i = v(e, "prevTrack"), u = v(e, "nextTrack"), g = v(e, "rewind"), f = v(e, "ffwd"), w = v(e, "record");
1368
- return { play: s, pause: c, stop: r, prevTrack: i, nextTrack: u, rewind: g, fastForward: f, record: w };
1382
+ 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");
1383
+ return { play: s, pause: r, stop: c, prevTrack: u, nextTrack: i, rewind: g, fastForward: f, record: w };
1369
1384
  }
1370
1385
  function K6(t) {
1371
1386
  const e = $(t), { sendMessage: s } = I();
@@ -1384,15 +1399,15 @@ function K6(t) {
1384
1399
  } : void 0;
1385
1400
  }
1386
1401
  function G6(t) {
1387
- const e = $(t), s = j3(t), c = A1(t);
1402
+ const e = $(t), s = M3(t), r = T1(t);
1388
1403
  if (!e)
1389
1404
  return;
1390
- const r = (e.powerState || e.isWarming) && !e.isCooling, i = (!e.powerState || e.isCooling) && !e.isWarming;
1405
+ const c = (e.powerState || e.isWarming) && !e.isCooling, u = (!e.powerState || e.isCooling) && !e.isWarming;
1391
1406
  return {
1392
1407
  displayState: e,
1393
1408
  powerControl: s,
1394
- inputControl: c,
1395
- powerFb: { powerOnFb: r, powerOffFb: i }
1409
+ inputControl: r,
1410
+ powerFb: { powerOnFb: c, powerOffFb: u }
1396
1411
  };
1397
1412
  }
1398
1413
  function q6(t) {
@@ -1402,18 +1417,18 @@ function q6(t) {
1402
1417
  } };
1403
1418
  }
1404
1419
  function Y6(t) {
1405
- const { sendMessage: e } = I(), s = $(t), c = (r) => {
1406
- e(`/device/${t}/saveTheme`, { value: r });
1420
+ const { sendMessage: e } = I(), s = $(t), r = (c) => {
1421
+ e(`/device/${t}/saveTheme`, { value: c });
1407
1422
  };
1408
1423
  return {
1409
1424
  currentTheme: s == null ? void 0 : s.theme,
1410
- saveTheme: c
1425
+ saveTheme: r
1411
1426
  };
1412
1427
  }
1413
1428
  const z6 = ({ config: t }) => {
1414
1429
  const { sendMessage: e } = I();
1415
1430
  t1(() => {
1416
- var c, r;
1431
+ var r, c, u;
1417
1432
  if (!t)
1418
1433
  return;
1419
1434
  const s = [];
@@ -1421,13 +1436,13 @@ const z6 = ({ config: t }) => {
1421
1436
  s.push(i);
1422
1437
  }), Object.values(t.destinationList).forEach((i) => {
1423
1438
  s.push(i.sinkKey);
1424
- }), t.levelControlList && Object.values(t.levelControlList).forEach((i) => {
1425
- s.push(i.deviceKey);
1439
+ }), t.audioControlPointList && Object.values((r = t.audioControlPointList) == null ? void 0 : r.levelControls).forEach((i) => {
1440
+ s.push(i.parentDeviceKey + "--" + i.itemKey);
1426
1441
  }), (c = t.touchpanelKeys) == null || c.forEach((i) => {
1427
1442
  s.push(i);
1428
1443
  }), t.environmentalDevices.forEach((i) => {
1429
1444
  s.push(i.deviceKey);
1430
- }), (r = t.accessoryDeviceKeys) == null || r.forEach((i) => {
1445
+ }), (u = t.accessoryDeviceKeys) == null || u.forEach((i) => {
1431
1446
  s.push(i);
1432
1447
  }), 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) => {
1433
1448
  s.push(i);
@@ -1440,120 +1455,131 @@ const z6 = ({ config: t }) => {
1440
1455
  }, [t, e]);
1441
1456
  };
1442
1457
  function J6(t, e) {
1443
- const s = j2(t, e), c = `/room/${t}/volumes/${e}`;
1444
- return Z3(c, s);
1458
+ const s = Z2(t, e), r = `/room/${t}/volumes/${e}`;
1459
+ return x3(r, s);
1445
1460
  }
1446
1461
  function X6() {
1447
- const [t, e] = H(), [s, c] = H();
1448
- function r() {
1462
+ const { sendMessage: t } = I();
1463
+ return {
1464
+ reboot: () => {
1465
+ t("/system/reboot", null);
1466
+ },
1467
+ programReset: () => {
1468
+ t("/system/programReset", null);
1469
+ }
1470
+ };
1471
+ }
1472
+ function Q6() {
1473
+ const [t, e] = H(), [s, r] = H();
1474
+ function c() {
1449
1475
  e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1450
- const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1451
- c(i);
1476
+ const u = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1477
+ r(u);
1452
1478
  }
1453
1479
  return t1(() => {
1454
- r();
1455
- const i = setInterval(() => {
1456
- r();
1480
+ c();
1481
+ const u = setInterval(() => {
1482
+ c();
1457
1483
  }, 1e3);
1458
- return () => clearInterval(i);
1484
+ return () => clearInterval(u);
1459
1485
  }, []), { date: t, time: s };
1460
1486
  }
1461
- function Q6(t, e) {
1462
- const [s, c] = H(!1), [r, i] = H(!1);
1463
- return v3(() => {
1464
- const { current: u } = t, g = () => {
1465
- const f = u && u.scrollHeight > u.clientHeight, w = u && u.scrollWidth > u.clientWidth;
1466
- i(f ?? !1), c(w ?? !1), e && e(f ?? !1, w ?? !1);
1487
+ function N6(t, e) {
1488
+ const [s, r] = H(!1), [c, u] = H(!1);
1489
+ return d3(() => {
1490
+ const { current: i } = t, g = () => {
1491
+ const f = i && i.scrollHeight > i.clientHeight, w = i && i.scrollWidth > i.clientWidth;
1492
+ u(f ?? !1), r(w ?? !1), e && e(f ?? !1, w ?? !1);
1467
1493
  };
1468
- u && g();
1469
- }, [t, e]), { overflowHorizontal: s, overflowVertical: r };
1494
+ i && g();
1495
+ }, [t, e]), { overflowHorizontal: s, overflowVertical: c };
1470
1496
  }
1471
- function N6(t) {
1497
+ function ee(t) {
1472
1498
  var g, f;
1473
- const [e, s] = H(((g = t == null ? void 0 : t.current) == null ? void 0 : g.scrollLeft) ?? 0), [c, r] = H(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0), i = (w) => {
1499
+ 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) => {
1474
1500
  const { current: d } = t;
1475
1501
  d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
1476
- }, u = (w) => {
1502
+ }, i = (w) => {
1477
1503
  const { current: d } = t;
1478
1504
  d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
1479
1505
  };
1480
- return v3(() => {
1506
+ return d3(() => {
1481
1507
  const { current: w } = t, d = () => {
1482
- s((w == null ? void 0 : w.scrollLeft) ?? 0), r((w == null ? void 0 : w.scrollTop) ?? 0);
1508
+ s((w == null ? void 0 : w.scrollLeft) ?? 0), c((w == null ? void 0 : w.scrollTop) ?? 0);
1483
1509
  };
1484
1510
  w && d();
1485
- }, [t]), { horizontalScrollPosition: e, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: u };
1511
+ }, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal: u, scrollVertical: i };
1486
1512
  }
1487
- const ee = () => {
1488
- const [t, e] = H(!1), s = l2(), c = i2();
1489
- let r;
1490
- return a2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1513
+ const te = () => {
1514
+ const [t, e] = H(!1), s = r2(), r = c2();
1515
+ let c;
1516
+ return l2(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: [
1491
1517
  /* @__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." }) }),
1492
1518
  /* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => s(-1), children: "Go Back" }),
1493
1519
  /* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => e(!t), children: t ? "Hide error message" : "Show error message" }),
1494
- t && /* @__PURE__ */ o.jsx("p", { children: r })
1520
+ t && /* @__PURE__ */ o.jsx("p", { children: c })
1495
1521
  ] });
1496
- }, G2 = "_iconbtn_16qss_1", q2 = "_iconbtnvert_16qss_7", Y2 = "_iconsm_16qss_18", _1 = {
1497
- iconbtn: G2,
1498
- iconbtnvert: q2,
1499
- iconsm: Y2
1500
- }, z2 = ({
1522
+ }, H2 = "_iconbtn_16qss_1", K2 = "_iconbtnvert_16qss_7", G2 = "_iconsm_16qss_18", _1 = {
1523
+ iconbtn: H2,
1524
+ iconbtnvert: K2,
1525
+ iconsm: G2
1526
+ }, q2 = ({
1501
1527
  multiIcon: t,
1502
1528
  otherContent: e = null,
1503
1529
  vert: s = !1,
1504
- className: c,
1505
- iconClassName: r = "",
1506
- otherContentClassName: i = "",
1507
- disabled: u,
1530
+ className: r,
1531
+ iconClassName: c = "",
1532
+ otherContentClassName: u = "",
1533
+ disabled: i,
1508
1534
  feedback: g,
1509
1535
  feedbackClassName: f,
1510
1536
  onPointerDown: w,
1511
1537
  onPointerUp: d,
1512
1538
  onPointerLeave: b,
1513
- ...A
1539
+ ...T
1514
1540
  }) => {
1515
- const [F, V] = H(!1), z = !u && g ? f : "", o1 = !u && (F || g);
1541
+ const [F, O] = H(!1), z = !i && g ? f : "", o1 = !i && (F || g);
1516
1542
  return /* @__PURE__ */ o.jsxs(
1517
1543
  "button",
1518
1544
  {
1519
1545
  type: "button",
1520
- className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${c} ${z}`,
1521
- ...A,
1522
- disabled: u,
1523
- onPointerDown: (T) => {
1524
- V(!0), w == null || w(T);
1546
+ className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${r} ${z}`,
1547
+ ...T,
1548
+ disabled: i,
1549
+ onPointerDown: (P) => {
1550
+ O(!0), w == null || w(P);
1525
1551
  },
1526
- onPointerUp: (T) => {
1527
- V(!1), d == null || d(T);
1552
+ onPointerUp: (P) => {
1553
+ O(!1), d == null || d(P);
1528
1554
  },
1529
- onPointerLeave: (T) => {
1530
- V(!1), b == null || b(T);
1555
+ onPointerLeave: (P) => {
1556
+ O(!1), b == null || b(P);
1531
1557
  },
1532
1558
  children: [
1533
1559
  t && /* @__PURE__ */ o.jsx(
1534
1560
  t,
1535
1561
  {
1536
- className: `${r || _1.iconsm}`,
1562
+ className: `${c || _1.iconsm}`,
1537
1563
  active: o1,
1538
- disabled: u
1564
+ disabled: i
1539
1565
  }
1540
1566
  ),
1541
- /* @__PURE__ */ o.jsx("div", { className: i, children: e })
1567
+ /* @__PURE__ */ o.jsx("div", { className: u, children: e })
1542
1568
  ]
1543
1569
  }
1544
1570
  );
1545
- }, m = ({
1571
+ }, Z = ({
1546
1572
  ActiveImage: t,
1547
1573
  DisabledImage: e,
1548
1574
  EnabledImage: s,
1549
- active: c,
1550
- disabled: r
1551
- }) => r ? e : c ? t : s, J2 = ({
1575
+ active: r,
1576
+ disabled: c
1577
+ }) => c ? e : r ? t : s, Y2 = ({
1552
1578
  active: t,
1553
1579
  className: e = "",
1554
1580
  disabled: s
1555
1581
  }) => /* @__PURE__ */ o.jsx(
1556
- m,
1582
+ Z,
1557
1583
  {
1558
1584
  ActiveImage: /* @__PURE__ */ o.jsx(
1559
1585
  "svg",
@@ -1600,12 +1626,12 @@ const ee = () => {
1600
1626
  active: t,
1601
1627
  disabled: s
1602
1628
  }
1603
- ), X2 = ({
1629
+ ), z2 = ({
1604
1630
  active: t,
1605
1631
  className: e = "",
1606
1632
  disabled: s
1607
1633
  }) => /* @__PURE__ */ o.jsx(
1608
- m,
1634
+ Z,
1609
1635
  {
1610
1636
  ActiveImage: (
1611
1637
  /* icon-ban-active.svg */
@@ -1649,12 +1675,12 @@ const ee = () => {
1649
1675
  active: t,
1650
1676
  disabled: s
1651
1677
  }
1652
- ), Q2 = ({
1678
+ ), J2 = ({
1653
1679
  active: t,
1654
1680
  className: e = "",
1655
1681
  disabled: s
1656
1682
  }) => /* @__PURE__ */ o.jsx(
1657
- m,
1683
+ Z,
1658
1684
  {
1659
1685
  ActiveImage: /* @__PURE__ */ o.jsx(
1660
1686
  "svg",
@@ -1689,12 +1715,12 @@ const ee = () => {
1689
1715
  active: t,
1690
1716
  disabled: s
1691
1717
  }
1692
- ), N2 = ({
1718
+ ), X2 = ({
1693
1719
  active: t,
1694
1720
  className: e = "",
1695
1721
  disabled: s
1696
1722
  }) => /* @__PURE__ */ o.jsx(
1697
- m,
1723
+ Z,
1698
1724
  {
1699
1725
  ActiveImage: (
1700
1726
  /* icon-check-active.svg */
@@ -1738,14 +1764,14 @@ const ee = () => {
1738
1764
  active: t,
1739
1765
  disabled: s
1740
1766
  }
1741
- ), e8 = ({
1767
+ ), Q2 = ({
1742
1768
  active: t,
1743
1769
  // Just to shut up the linter on this template. Prefer deleting this lint rule
1744
1770
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1745
1771
  className: e = "",
1746
1772
  disabled: s
1747
1773
  }) => /* @__PURE__ */ o.jsx(
1748
- m,
1774
+ Z,
1749
1775
  {
1750
1776
  ActiveImage: (
1751
1777
  /* icon-controller-active.svg */
@@ -1807,12 +1833,12 @@ const ee = () => {
1807
1833
  active: t,
1808
1834
  disabled: s
1809
1835
  }
1810
- ), t8 = ({
1836
+ ), N2 = ({
1811
1837
  active: t,
1812
1838
  className: e = "",
1813
1839
  disabled: s
1814
1840
  }) => /* @__PURE__ */ o.jsx(
1815
- m,
1841
+ Z,
1816
1842
  {
1817
1843
  ActiveImage: (
1818
1844
  /* icon-down-active.svg */
@@ -1856,12 +1882,12 @@ const ee = () => {
1856
1882
  active: t,
1857
1883
  disabled: s
1858
1884
  }
1859
- ), o8 = ({
1885
+ ), e8 = ({
1860
1886
  active: t,
1861
1887
  className: e = "",
1862
1888
  disabled: s
1863
1889
  }) => /* @__PURE__ */ o.jsx(
1864
- m,
1890
+ Z,
1865
1891
  {
1866
1892
  ActiveImage: (
1867
1893
  /* icon-elipses-active.svg */
@@ -1905,12 +1931,12 @@ const ee = () => {
1905
1931
  active: t,
1906
1932
  disabled: s
1907
1933
  }
1908
- ), s8 = ({
1934
+ ), t8 = ({
1909
1935
  active: t,
1910
1936
  className: e = "",
1911
1937
  disabled: s
1912
1938
  }) => /* @__PURE__ */ o.jsx(
1913
- m,
1939
+ Z,
1914
1940
  {
1915
1941
  ActiveImage: (
1916
1942
  /* icon-flag-active.svg */
@@ -1954,12 +1980,12 @@ const ee = () => {
1954
1980
  active: t,
1955
1981
  disabled: s
1956
1982
  }
1957
- ), n8 = ({
1983
+ ), o8 = ({
1958
1984
  active: t,
1959
1985
  className: e = "",
1960
1986
  disabled: s
1961
1987
  }) => /* @__PURE__ */ o.jsx(
1962
- m,
1988
+ Z,
1963
1989
  {
1964
1990
  ActiveImage: (
1965
1991
  /* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
@@ -2003,12 +2029,12 @@ const ee = () => {
2003
2029
  active: t,
2004
2030
  disabled: s
2005
2031
  }
2006
- ), c8 = ({
2032
+ ), s8 = ({
2007
2033
  active: t,
2008
2034
  className: e = "",
2009
2035
  disabled: s
2010
2036
  }) => /* @__PURE__ */ o.jsx(
2011
- m,
2037
+ Z,
2012
2038
  {
2013
2039
  ActiveImage: (
2014
2040
  /* icon-glass-active.svg */
@@ -2052,14 +2078,14 @@ const ee = () => {
2052
2078
  active: t,
2053
2079
  disabled: s
2054
2080
  }
2055
- ), r8 = ({
2081
+ ), n8 = ({
2056
2082
  active: t,
2057
2083
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2058
2084
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2059
2085
  className: e = "",
2060
2086
  disabled: s
2061
2087
  }) => /* @__PURE__ */ o.jsx(
2062
- m,
2088
+ Z,
2063
2089
  {
2064
2090
  ActiveImage: (
2065
2091
  /* icon-hdmi-active.svg */
@@ -2121,12 +2147,12 @@ const ee = () => {
2121
2147
  active: t,
2122
2148
  disabled: s
2123
2149
  }
2124
- ), l8 = ({
2150
+ ), r8 = ({
2125
2151
  active: t,
2126
2152
  className: e = "",
2127
2153
  disabled: s
2128
2154
  }) => /* @__PURE__ */ o.jsx(
2129
- m,
2155
+ Z,
2130
2156
  {
2131
2157
  ActiveImage: (
2132
2158
  /* icon-laptop-active.svg */
@@ -2170,12 +2196,12 @@ const ee = () => {
2170
2196
  active: t,
2171
2197
  disabled: s
2172
2198
  }
2173
- ), i8 = ({
2199
+ ), c8 = ({
2174
2200
  active: t,
2175
2201
  className: e = "",
2176
2202
  disabled: s
2177
2203
  }) => /* @__PURE__ */ o.jsx(
2178
- m,
2204
+ Z,
2179
2205
  {
2180
2206
  ActiveImage: (
2181
2207
  /* icon-left-active.svg */
@@ -2219,12 +2245,12 @@ const ee = () => {
2219
2245
  active: t,
2220
2246
  disabled: s
2221
2247
  }
2222
- ), a8 = ({
2248
+ ), l8 = ({
2223
2249
  active: t,
2224
2250
  className: e = "",
2225
2251
  disabled: s
2226
2252
  }) => /* @__PURE__ */ o.jsx(
2227
- m,
2253
+ Z,
2228
2254
  {
2229
2255
  ActiveImage: (
2230
2256
  /* icon-light-active.svg */
@@ -2268,12 +2294,12 @@ const ee = () => {
2268
2294
  active: t,
2269
2295
  disabled: s
2270
2296
  }
2271
- ), u8 = ({
2297
+ ), i8 = ({
2272
2298
  active: t,
2273
2299
  className: e = "",
2274
2300
  disabled: s
2275
2301
  }) => /* @__PURE__ */ o.jsx(
2276
- m,
2302
+ Z,
2277
2303
  {
2278
2304
  ActiveImage: (
2279
2305
  /* icon-moon-active.svg */
@@ -2317,12 +2343,12 @@ const ee = () => {
2317
2343
  active: t,
2318
2344
  disabled: s
2319
2345
  }
2320
- ), d8 = ({
2346
+ ), a8 = ({
2321
2347
  active: t,
2322
2348
  className: e = "",
2323
2349
  disabled: s
2324
2350
  }) => /* @__PURE__ */ o.jsx(
2325
- m,
2351
+ Z,
2326
2352
  {
2327
2353
  ActiveImage: (
2328
2354
  /* icon-playstation-active.svg */
@@ -2339,12 +2365,12 @@ const ee = () => {
2339
2365
  active: t,
2340
2366
  disabled: s
2341
2367
  }
2342
- ), h8 = ({
2368
+ ), u8 = ({
2343
2369
  active: t,
2344
2370
  className: e = "",
2345
2371
  disabled: s
2346
2372
  }) => /* @__PURE__ */ o.jsx(
2347
- m,
2373
+ Z,
2348
2374
  {
2349
2375
  ActiveImage: (
2350
2376
  /* icon-podium-active.svg */
@@ -2388,12 +2414,12 @@ const ee = () => {
2388
2414
  active: t,
2389
2415
  disabled: s
2390
2416
  }
2391
- ), v8 = ({
2417
+ ), d8 = ({
2392
2418
  active: t,
2393
2419
  className: e = "",
2394
2420
  disabled: s
2395
2421
  }) => /* @__PURE__ */ o.jsx(
2396
- m,
2422
+ Z,
2397
2423
  {
2398
2424
  ActiveImage: (
2399
2425
  /* icon-power-active.svg */
@@ -2437,12 +2463,12 @@ const ee = () => {
2437
2463
  active: t,
2438
2464
  disabled: s
2439
2465
  }
2440
- ), g8 = ({
2466
+ ), h8 = ({
2441
2467
  active: t,
2442
2468
  className: e = "",
2443
2469
  disabled: s
2444
2470
  }) => /* @__PURE__ */ o.jsx(
2445
- m,
2471
+ Z,
2446
2472
  {
2447
2473
  ActiveImage: (
2448
2474
  /* icon-privacy-active.svg */
@@ -2486,12 +2512,12 @@ const ee = () => {
2486
2512
  active: t,
2487
2513
  disabled: s
2488
2514
  }
2489
- ), f8 = ({
2515
+ ), v8 = ({
2490
2516
  active: t,
2491
2517
  className: e = "",
2492
2518
  disabled: s
2493
2519
  }) => /* @__PURE__ */ o.jsx(
2494
- m,
2520
+ Z,
2495
2521
  {
2496
2522
  ActiveImage: (
2497
2523
  /* icon-question-active.svg */
@@ -2535,12 +2561,12 @@ const ee = () => {
2535
2561
  active: t,
2536
2562
  disabled: s
2537
2563
  }
2538
- ), w8 = ({
2564
+ ), g8 = ({
2539
2565
  active: t,
2540
2566
  className: e = "",
2541
2567
  disabled: s
2542
2568
  }) => /* @__PURE__ */ o.jsx(
2543
- m,
2569
+ Z,
2544
2570
  {
2545
2571
  ActiveImage: (
2546
2572
  /* icon-right-active.svg */
@@ -2584,14 +2610,14 @@ const ee = () => {
2584
2610
  active: t,
2585
2611
  disabled: s
2586
2612
  }
2587
- ), p8 = ({
2613
+ ), f8 = ({
2588
2614
  active: t,
2589
2615
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2590
2616
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2591
2617
  className: e = "",
2592
2618
  disabled: s
2593
2619
  }) => /* @__PURE__ */ o.jsx(
2594
- m,
2620
+ Z,
2595
2621
  {
2596
2622
  ActiveImage: (
2597
2623
  /* icon-roomPC-active.svg */
@@ -2653,12 +2679,12 @@ const ee = () => {
2653
2679
  active: t,
2654
2680
  disabled: s
2655
2681
  }
2656
- ), x8 = ({
2682
+ ), w8 = ({
2657
2683
  active: t,
2658
2684
  className: e = "",
2659
2685
  disabled: s
2660
2686
  }) => /* @__PURE__ */ o.jsx(
2661
- m,
2687
+ Z,
2662
2688
  {
2663
2689
  ActiveImage: (
2664
2690
  /* icon-shade-active.svg */
@@ -2702,12 +2728,12 @@ const ee = () => {
2702
2728
  active: t,
2703
2729
  disabled: s
2704
2730
  }
2705
- ), M8 = ({
2731
+ ), p8 = ({
2706
2732
  active: t,
2707
2733
  className: e = "",
2708
2734
  disabled: s
2709
2735
  }) => /* @__PURE__ */ o.jsx(
2710
- m,
2736
+ Z,
2711
2737
  {
2712
2738
  ActiveImage: (
2713
2739
  /* icon-sun-active.svg */
@@ -2751,12 +2777,12 @@ const ee = () => {
2751
2777
  active: t,
2752
2778
  disabled: s
2753
2779
  }
2754
- ), m8 = ({
2780
+ ), x8 = ({
2755
2781
  active: t,
2756
2782
  className: e = "",
2757
2783
  disabled: s
2758
2784
  }) => /* @__PURE__ */ o.jsx(
2759
- m,
2785
+ Z,
2760
2786
  {
2761
2787
  ActiveImage: (
2762
2788
  /* icon-up-active.svg */
@@ -2800,12 +2826,12 @@ const ee = () => {
2800
2826
  active: t,
2801
2827
  disabled: s
2802
2828
  }
2803
- ), Z8 = ({
2829
+ ), M8 = ({
2804
2830
  active: t,
2805
2831
  className: e = "",
2806
2832
  disabled: s
2807
2833
  }) => /* @__PURE__ */ o.jsx(
2808
- m,
2834
+ Z,
2809
2835
  {
2810
2836
  ActiveImage: (
2811
2837
  /* icon-volDown-active.svg */
@@ -2849,12 +2875,12 @@ const ee = () => {
2849
2875
  active: t,
2850
2876
  disabled: s
2851
2877
  }
2852
- ), j8 = ({
2878
+ ), m8 = ({
2853
2879
  active: t,
2854
2880
  className: e = "",
2855
2881
  disabled: s
2856
2882
  }) => /* @__PURE__ */ o.jsx(
2857
- m,
2883
+ Z,
2858
2884
  {
2859
2885
  ActiveImage: (
2860
2886
  /* icon-volMute-active.svg */
@@ -2898,12 +2924,12 @@ const ee = () => {
2898
2924
  active: t,
2899
2925
  disabled: s
2900
2926
  }
2901
- ), C8 = ({
2927
+ ), Z8 = ({
2902
2928
  active: t,
2903
2929
  className: e = "",
2904
2930
  disabled: s
2905
2931
  }) => /* @__PURE__ */ o.jsx(
2906
- m,
2932
+ Z,
2907
2933
  {
2908
2934
  ActiveImage: (
2909
2935
  /* icon-volUp-active.svg */
@@ -2947,12 +2973,12 @@ const ee = () => {
2947
2973
  active: t,
2948
2974
  disabled: s
2949
2975
  }
2950
- ), S8 = ({
2976
+ ), j8 = ({
2951
2977
  active: t,
2952
2978
  className: e = "",
2953
2979
  disabled: s
2954
2980
  }) => /* @__PURE__ */ o.jsx(
2955
- m,
2981
+ Z,
2956
2982
  {
2957
2983
  ActiveImage: (
2958
2984
  /* icon-wireless-active.svg */
@@ -2996,12 +3022,12 @@ const ee = () => {
2996
3022
  active: t,
2997
3023
  disabled: s
2998
3024
  }
2999
- ), b8 = ({
3025
+ ), C8 = ({
3000
3026
  active: t,
3001
3027
  className: e = "",
3002
3028
  disabled: s
3003
3029
  }) => /* @__PURE__ */ o.jsx(
3004
- m,
3030
+ Z,
3005
3031
  {
3006
3032
  ActiveImage: (
3007
3033
  /* icon-x-active.svg */
@@ -3045,12 +3071,12 @@ const ee = () => {
3045
3071
  active: t,
3046
3072
  disabled: s
3047
3073
  }
3048
- ), I8 = ({
3074
+ ), S8 = ({
3049
3075
  active: t,
3050
3076
  className: e = "",
3051
3077
  disabled: s
3052
3078
  }) => /* @__PURE__ */ o.jsx(
3053
- m,
3079
+ Z,
3054
3080
  {
3055
3081
  ActiveImage: (
3056
3082
  /* icon-xbox-active.svg */
@@ -3094,12 +3120,12 @@ const ee = () => {
3094
3120
  active: t,
3095
3121
  disabled: s
3096
3122
  }
3097
- ), y8 = ({
3123
+ ), b8 = ({
3098
3124
  active: t,
3099
3125
  className: e = "",
3100
3126
  disabled: s
3101
3127
  }) => /* @__PURE__ */ o.jsx(
3102
- m,
3128
+ Z,
3103
3129
  {
3104
3130
  ActiveImage: (
3105
3131
  /* icon-mic-active.svg */
@@ -3143,199 +3169,187 @@ const ee = () => {
3143
3169
  active: t,
3144
3170
  disabled: s
3145
3171
  }
3146
- ), R8 = {
3147
- Alert: J2,
3148
- Camera: Q2,
3149
- DownArrow: t8,
3150
- Ban: X2,
3151
- Check: N2,
3152
- Controller: e8,
3153
- Elipses: o8,
3154
- Flag: s8,
3155
- Gear: n8,
3156
- Glass: c8,
3157
- Hdmi: r8,
3158
- Laptop: l8,
3159
- LeftArrow: i8,
3160
- Light: a8,
3161
- Mic: y8,
3162
- Moon: u8,
3163
- Playstation: d8,
3164
- Podium: h8,
3165
- Power: v8,
3166
- Privacy: g8,
3167
- Question: f8,
3168
- RightArrow: w8,
3169
- RoomPC: p8,
3170
- Shade: x8,
3171
- Sun: M8,
3172
- UpArrow: m8,
3173
- VolDown: Z8,
3174
- VolMute: j8,
3175
- VolUp: C8,
3176
- Wireless: S8,
3177
- X: b8,
3178
- Xbox: I8
3172
+ ), I8 = {
3173
+ Alert: Y2,
3174
+ Camera: J2,
3175
+ DownArrow: N2,
3176
+ Ban: z2,
3177
+ Check: X2,
3178
+ Controller: Q2,
3179
+ Elipses: e8,
3180
+ Flag: t8,
3181
+ Gear: o8,
3182
+ Glass: s8,
3183
+ Hdmi: n8,
3184
+ Laptop: r8,
3185
+ LeftArrow: c8,
3186
+ Light: l8,
3187
+ Mic: b8,
3188
+ Moon: i8,
3189
+ Playstation: a8,
3190
+ Podium: u8,
3191
+ Power: d8,
3192
+ Privacy: h8,
3193
+ Question: v8,
3194
+ RightArrow: g8,
3195
+ RoomPC: f8,
3196
+ Shade: w8,
3197
+ Sun: p8,
3198
+ UpArrow: x8,
3199
+ VolDown: M8,
3200
+ VolMute: m8,
3201
+ VolUp: Z8,
3202
+ Wireless: j8,
3203
+ X: C8,
3204
+ Xbox: S8
3179
3205
  };
3180
- function te({
3206
+ function oe({
3181
3207
  name: t,
3182
- iconsDictionary: e = R8,
3208
+ iconsDictionary: e = I8,
3183
3209
  ...s
3184
3210
  }) {
3185
- const c = e[t] ?? null;
3186
- return c || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ o.jsx(z2, { multiIcon: c, ...s });
3211
+ const r = e[t] ?? null;
3212
+ return r || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ o.jsx(q2, { multiIcon: r, ...s });
3187
3213
  }
3188
- const E8 = "_grid_1cmpp_1", _8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", T8 = "_volume_1cmpp_29", a1 = {
3189
- grid: E8,
3190
- header: _8,
3191
- content: L8,
3192
- footer: $8,
3193
- volume: T8
3194
- }, oe = ({ header: t, footer: e, content: s, volume: c, showVolume: r }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
3214
+ const y8 = "_grid_1cmpp_1", R8 = "_header_1cmpp_11", E8 = "_content_1cmpp_17", _8 = "_footer_1cmpp_23", L8 = "_volume_1cmpp_29", a1 = {
3215
+ grid: y8,
3216
+ header: R8,
3217
+ content: E8,
3218
+ footer: _8,
3219
+ volume: L8
3220
+ }, se = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
3195
3221
  /* @__PURE__ */ o.jsx("div", { className: a1.header, children: t }),
3196
3222
  /* @__PURE__ */ o.jsx("div", { className: a1.content, children: s }),
3197
- r && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: c }),
3223
+ c && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: r }),
3198
3224
  /* @__PURE__ */ o.jsx("div", { className: a1.footer, children: e })
3199
- ] }), D8 = "_grid_11w5q_1", A8 = "_header_11w5q_11", P8 = "_content_11w5q_17", p1 = {
3200
- grid: D8,
3201
- header: A8,
3202
- content: P8,
3225
+ ] }), $8 = "_grid_11w5q_1", P8 = "_header_11w5q_11", T8 = "_content_11w5q_17", p1 = {
3226
+ grid: $8,
3227
+ header: P8,
3228
+ content: T8,
3203
3229
  "left-nav": "_left-nav_11w5q_23"
3204
- }, se = ({ className: t, header: e, content: s, leftNav: c }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
3230
+ }, ne = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
3205
3231
  /* @__PURE__ */ o.jsx("div", { className: p1.header, children: e }),
3206
- c && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: c }),
3232
+ r && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: r }),
3207
3233
  /* @__PURE__ */ o.jsx("div", { className: p1.content, children: s })
3208
- ] }), B8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", V8 = "_content_1uwfo_17", L1 = {
3209
- grid: B8,
3210
- header: O8,
3211
- content: V8
3212
- }, ne = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
3234
+ ] }), D8 = "_grid_1uwfo_1", A8 = "_header_1uwfo_11", B8 = "_content_1uwfo_17", L1 = {
3235
+ grid: D8,
3236
+ header: A8,
3237
+ content: B8
3238
+ }, re = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
3213
3239
  /* @__PURE__ */ o.jsx("div", { className: L1.header, children: e }),
3214
3240
  /* @__PURE__ */ o.jsx("div", { className: L1.content, children: s })
3215
3241
  ] });
3216
3242
  function ce() {
3217
3243
  return console.log(location.pathname), location.pathname;
3218
3244
  }
3219
- 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 || {});
3220
- class re {
3245
+ 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 || {});
3246
+ class le {
3221
3247
  constructor(e, s) {
3222
- D(this, "path");
3223
- D(this, "handler");
3248
+ V(this, "path");
3249
+ V(this, "handler");
3224
3250
  this.path = e, this.handler = s;
3225
3251
  }
3226
3252
  }
3227
- const le = "$off";
3228
- class ie {
3229
- constructor() {
3230
- D(this, "name", "");
3231
- D(this, "iconUrl", "");
3232
- D(this, "channel", "");
3233
- }
3234
- }
3253
+ const ie = "$off";
3235
3254
  class ae {
3236
3255
  constructor() {
3237
- D(this, "deviceKey");
3238
- D(this, "deviceType");
3256
+ V(this, "name", "");
3257
+ V(this, "iconUrl", "");
3258
+ V(this, "channel", "");
3239
3259
  }
3240
3260
  }
3241
3261
  class ue {
3242
3262
  constructor() {
3243
- D(this, "deviceKey");
3244
- D(this, "deviceType");
3245
- }
3246
- }
3247
- class de {
3248
- constructor() {
3249
- D(this, "currentShareText");
3250
- D(this, "enabled");
3251
- D(this, "isSharing");
3263
+ V(this, "currentShareText");
3264
+ V(this, "enabled");
3265
+ V(this, "isSharing");
3252
3266
  }
3253
3267
  }
3254
3268
  export {
3255
- ue as AccessoryDeviceConfiguration,
3256
3269
  R6 as Clock,
3257
- k8 as DaysOfWeek,
3258
- ae as EnvironmentalDeviceConfiguration,
3259
- ee as ErrorBox,
3260
- z2 as IconButton,
3261
- J2 as IconMultiAlert,
3262
- X2 as IconMultiBan,
3263
- Q2 as IconMultiCamera,
3264
- N2 as IconMultiCheck,
3265
- e8 as IconMultiController,
3266
- t8 as IconMultiDownArrow,
3267
- o8 as IconMultiElipses,
3268
- s8 as IconMultiFlag,
3269
- n8 as IconMultiGear,
3270
- c8 as IconMultiGlass,
3271
- r8 as IconMultiHdmi,
3272
- l8 as IconMultiLaptop,
3273
- i8 as IconMultiLeftArrow,
3274
- a8 as IconMultiLight,
3275
- u8 as IconMultiMoon,
3276
- d8 as IconMultiPlaystation,
3277
- h8 as IconMultiPodium,
3278
- v8 as IconMultiPower,
3279
- g8 as IconMultiPrivacy,
3280
- f8 as IconMultiQuestion,
3281
- w8 as IconMultiRightArrow,
3282
- p8 as IconMultiRoomPC,
3283
- x8 as IconMultiShade,
3284
- M8 as IconMultiSun,
3285
- m8 as IconMultiUpArrow,
3286
- Z8 as IconMultiVolDown,
3287
- j8 as IconMultiVolMute,
3288
- C8 as IconMultiVolUp,
3289
- S8 as IconMultiWireless,
3290
- b8 as IconMultiX,
3291
- I8 as IconMultiXbox,
3292
- oe as MainLayout,
3293
- re as MessageHandler,
3294
- x6 as MobileControlProvider,
3295
- m as MultiStateIconContainer,
3296
- te as NamedIconButton,
3297
- ie as PresetChannel,
3298
- de as ShareState,
3299
- se as TechLayout,
3300
- ne as TechPinLayout,
3270
+ O8 as DaysOfWeek,
3271
+ te as ErrorBox,
3272
+ q2 as IconButton,
3273
+ Y2 as IconMultiAlert,
3274
+ z2 as IconMultiBan,
3275
+ J2 as IconMultiCamera,
3276
+ X2 as IconMultiCheck,
3277
+ Q2 as IconMultiController,
3278
+ N2 as IconMultiDownArrow,
3279
+ e8 as IconMultiElipses,
3280
+ t8 as IconMultiFlag,
3281
+ o8 as IconMultiGear,
3282
+ s8 as IconMultiGlass,
3283
+ n8 as IconMultiHdmi,
3284
+ r8 as IconMultiLaptop,
3285
+ c8 as IconMultiLeftArrow,
3286
+ l8 as IconMultiLight,
3287
+ i8 as IconMultiMoon,
3288
+ a8 as IconMultiPlaystation,
3289
+ u8 as IconMultiPodium,
3290
+ d8 as IconMultiPower,
3291
+ h8 as IconMultiPrivacy,
3292
+ v8 as IconMultiQuestion,
3293
+ g8 as IconMultiRightArrow,
3294
+ f8 as IconMultiRoomPC,
3295
+ w8 as IconMultiShade,
3296
+ p8 as IconMultiSun,
3297
+ x8 as IconMultiUpArrow,
3298
+ M8 as IconMultiVolDown,
3299
+ m8 as IconMultiVolMute,
3300
+ Z8 as IconMultiVolUp,
3301
+ j8 as IconMultiWireless,
3302
+ C8 as IconMultiX,
3303
+ S8 as IconMultiXbox,
3304
+ se as MainLayout,
3305
+ le as MessageHandler,
3306
+ p6 as MobileControlProvider,
3307
+ Z as MultiStateIconContainer,
3308
+ oe as NamedIconButton,
3309
+ ae as PresetChannel,
3310
+ ue as ShareState,
3311
+ ne as TechLayout,
3312
+ re as TechPinLayout,
3301
3313
  ce as getBaseLocation,
3302
- T1 as httpClient,
3303
- le as roomOffSourceKey,
3304
- C as store,
3314
+ $1 as httpClient,
3315
+ ie as roomOffSourceKey,
3316
+ m as store,
3305
3317
  q as uiActions,
3306
- x2 as uiReducer,
3307
- q8 as useApiPath,
3308
- m2 as useAppConfig,
3309
- $2 as useAppDispatch,
3310
- m6 as useAvrControl,
3311
- I2 as useClientId,
3312
- H2 as useDeviceIBasicVolumeWithFeedback,
3313
- Z6 as useEndpoint,
3314
- _2 as useError,
3318
+ M2 as uiReducer,
3319
+ K8 as useApiPath,
3320
+ a2 as useAppConfig,
3321
+ i2 as useAppDispatch,
3322
+ p as useAppSelector,
3323
+ M6 as useAvrControl,
3324
+ b2 as useClientId,
3325
+ F2 as useDeviceIBasicVolumeWithFeedback,
3326
+ m6 as useEndpoint,
3327
+ E2 as useError,
3315
3328
  z6 as useGetAllDeviceStateFromRoomConfiguration,
3316
- Z2 as useGetAllDevices,
3317
- w6 as useGetCurrentPopoverIdForGroup,
3329
+ u2 as useGetAllDevices,
3330
+ f6 as useGetCurrentPopoverIdForGroup,
3318
3331
  $ as useGetDevice,
3319
- M6 as useGetIBasicVolumeWithFeedback,
3320
- a6 as useGetRoomDisplayStates,
3321
- u6 as useGetZoomRoomControllerKey,
3322
- Z3 as useIBasicVolumeWithFeedback,
3323
- j6 as useIChannelMessenger,
3324
- C6 as useIColor,
3325
- S6 as useICommunicationMonitor,
3326
- b6 as useIDPad,
3327
- I6 as useIDeviceInfoMessenger,
3332
+ x6 as useGetIBasicVolumeWithFeedback,
3333
+ l6 as useGetRoomDisplayStates,
3334
+ i6 as useGetZoomRoomControllerKey,
3335
+ x3 as useIBasicVolumeWithFeedback,
3336
+ Z6 as useIChannelMessenger,
3337
+ j6 as useIColor,
3338
+ C6 as useICommunicationMonitor,
3339
+ S6 as useIDPad,
3340
+ b6 as useIDeviceInfoMessenger,
3341
+ I6 as useIDspPresets,
3328
3342
  y6 as useIDvr,
3329
3343
  E6 as useIEssentialsRoomCombiner,
3330
- j3 as useIHasPowerControl,
3331
- A1 as useIHasSelectableItems,
3344
+ M3 as useIHasPowerControl,
3345
+ T1 as useIHasSelectableItems,
3332
3346
  _6 as useILevelControls,
3333
3347
  L6 as useILightingScenes,
3334
3348
  $6 as useIMatrixRouting,
3335
- T6 as useIMcCiscoCodecUserInterfaceAppControl,
3336
- D6 as useINumeric,
3337
- A6 as useIProjectorScreenLiftControl,
3338
- P6 as useIRoomEventSchedule,
3349
+ P6 as useIMcCiscoCodecUserInterfaceAppControl,
3350
+ T6 as useINumeric,
3351
+ D6 as useIProjectorScreenLiftControl,
3352
+ A6 as useIRoomEventSchedule,
3339
3353
  q6 as useIRunDefaultPresentRoute,
3340
3354
  B6 as useIRunDirectRouteAction,
3341
3355
  O6 as useIRunRouteAction,
@@ -3346,43 +3360,45 @@ export {
3346
3360
  W6 as useITechPassword,
3347
3361
  Y6 as useITheme,
3348
3362
  H6 as useITransport,
3349
- T2 as useInitialize,
3350
- h6 as useIsTouchpanel,
3363
+ L2 as useInitialize,
3364
+ d6 as useIsTouchpanel,
3351
3365
  K6 as useMobileControlTouchpanelController,
3352
- Q6 as useOverflow,
3353
- W2 as usePressHoldRelease,
3354
- l6 as useRoomAdvancedSharingActive,
3355
- o6 as useRoomCodecContentDestinationKey,
3356
- Y8 as useRoomConfiguration,
3357
- N8 as useRoomDestinationList,
3358
- Q8 as useRoomDestinations,
3359
- e6 as useRoomEnvironmentalDevices,
3366
+ N6 as useOverflow,
3367
+ U2 as usePressHoldRelease,
3368
+ r6 as useRoomAdvancedSharingActive,
3369
+ z8 as useRoomAudioControlPointList,
3370
+ e6 as useRoomCodecContentDestinationKey,
3371
+ G8 as useRoomConfiguration,
3372
+ X8 as useRoomDestinationList,
3373
+ J8 as useRoomDestinations,
3374
+ Q8 as useRoomEnvironmentalDevices,
3360
3375
  J6 as useRoomIBasicVolumeWithFeedback,
3361
- s6 as useRoomInCall,
3362
- c6 as useRoomIsCoolingDown,
3363
- r6 as useRoomIsOn,
3364
- n6 as useRoomIsWarmingUp,
3365
- b2 as useRoomKey,
3366
- X8 as useRoomLevelControlList,
3367
- C2 as useRoomLevelControls,
3368
- z8 as useRoomName,
3369
- t6 as useRoomProgramAudioDestinationKey,
3370
- i6 as useRoomShareState,
3371
- J8 as useRoomSourceList,
3372
- P1 as useRoomState,
3373
- j2 as useRoomVolume,
3374
- N6 as useScroll,
3375
- E2 as useServerIsRunningOnProcessorHardware,
3376
- g6 as useShowIncomingCallModal,
3377
- f6 as useShowModal,
3378
- p6 as useShowPopoverById,
3379
- L2 as useShowReconnect,
3380
- v6 as useShowShutdownModal,
3381
- y2 as useSystemUuid,
3382
- X6 as useTimeAndDate,
3383
- d6 as useTouchpanelKey,
3376
+ t6 as useRoomInCall,
3377
+ s6 as useRoomIsCoolingDown,
3378
+ n6 as useRoomIsOn,
3379
+ o6 as useRoomIsWarmingUp,
3380
+ S2 as useRoomKey,
3381
+ j2 as useRoomLevelControls,
3382
+ q8 as useRoomName,
3383
+ N8 as useRoomProgramAudioDestinationKey,
3384
+ c6 as useRoomShareState,
3385
+ Y8 as useRoomSourceList,
3386
+ D1 as useRoomState,
3387
+ Z2 as useRoomVolume,
3388
+ a6 as useRuntimeInfo,
3389
+ ee as useScroll,
3390
+ R2 as useServerIsRunningOnProcessorHardware,
3391
+ v6 as useShowIncomingCallModal,
3392
+ g6 as useShowModal,
3393
+ w6 as useShowPopoverById,
3394
+ _2 as useShowReconnect,
3395
+ h6 as useShowShutdownModal,
3396
+ X6 as useSystemControl,
3397
+ I2 as useSystemUuid,
3398
+ Q6 as useTimeAndDate,
3399
+ u6 as useTouchpanelKey,
3384
3400
  G6 as useTwoWayDisplayBase,
3385
- R2 as useUserCode,
3401
+ y2 as useUserCode,
3386
3402
  I as useWebsocketContext,
3387
- S2 as useWsIsConnected
3403
+ C2 as useWsIsConnected
3388
3404
  };