@pepperdash/mobile-control-react-app-core 1.25.0-feat-essentials-v3.8 → 1.25.0-feat-essentials-v3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,137 +1,137 @@
1
1
  var w2 = Object.defineProperty;
2
- var m2 = (e, t, n) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var G = (e, t, n) => m2(e, typeof t != "symbol" ? t + "" : t, n);
4
- import M3, { AxiosError as p2 } from "axios";
5
- import { useDispatch as M2, useSelector as x2, Provider as S2 } from "react-redux";
6
- import { createSelector as x, createSlice as v1, combineReducers as Z2, configureStore as C2 } from "@reduxjs/toolkit";
7
- import x3, { createContext as j2, useEffect as S1, useCallback as l1, useContext as b2, useRef as d1, useMemo as D, useState as Y, useLayoutEffect as S3 } from "react";
8
- import { useNavigate as I2, useRouteError as y2, isRouteErrorResponse as R2 } from "react-router-dom";
2
+ var p2 = (e, t, n) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var G = (e, t, n) => p2(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import M3, { AxiosError as M2 } from "axios";
5
+ import { useDispatch as x2, useSelector as S2, Provider as Z2 } from "react-redux";
6
+ import { createSelector as x, createSlice as v1, combineReducers as C2, configureStore as j2 } from "@reduxjs/toolkit";
7
+ import x3, { createContext as b2, useEffect as S1, useCallback as l1, useContext as I2, useRef as d1, useMemo as T, useState as Y, useLayoutEffect as S3 } from "react";
8
+ import { useNavigate as y2, useRouteError as R2, isRouteErrorResponse as $2 } from "react-router-dom";
9
9
  import * as Z3 from "lodash";
10
- const k1 = M2.withTypes(), p = x2.withTypes(), Z1 = (e) => e.appConfig, $2 = x(
10
+ const k1 = x2.withTypes(), p = S2.withTypes(), Z1 = (e) => e.appConfig, P2 = x(
11
11
  Z1,
12
12
  (e) => e.config
13
- ), P2 = x(
13
+ ), E2 = x(
14
14
  Z1,
15
15
  (e) => e.config.apiPath
16
- ), E2 = x(
16
+ ), T2 = x(
17
17
  Z1,
18
18
  (e) => e.config.logoPath
19
- ), T2 = x(
19
+ ), D2 = x(
20
20
  Z1,
21
21
  (e) => e.config.partnerMetadata
22
- ), X8 = () => p($2), Q8 = () => p(P2), N8 = () => p(E2), et = () => p(T2), C3 = (e) => e.devices, j3 = x(
22
+ ), Xt = () => p(P2), Qt = () => p(E2), Nt = () => p(T2), e8 = () => p(D2), C3 = (e) => e.devices, j3 = x(
23
23
  C3,
24
24
  (e) => e
25
- ), D2 = (e) => x(
25
+ ), A2 = (e) => x(
26
26
  C3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), tt = () => p(j3);
28
+ ), t8 = () => p(j3);
29
29
  function Z(e) {
30
- return p(D2(e));
30
+ return p(A2(e));
31
31
  }
32
- const O = (e) => e.rooms, A2 = (e) => x(
32
+ const O = (e) => e.rooms, _2 = (e) => x(
33
33
  O,
34
34
  (t) => t[e] ? t[e].configuration : void 0
35
- ), _2 = x(
35
+ ), L2 = x(
36
36
  O,
37
37
  (e) => e
38
- ), L2 = (e) => x(
38
+ ), B2 = (e) => x(
39
39
  O,
40
40
  (t) => t[e] ? t[e] : void 0
41
- ), B2 = (e) => x(
41
+ ), O2 = (e) => x(
42
42
  O,
43
43
  (t) => t[e] ? t[e].name : void 0
44
- ), O2 = (e, t) => x(
44
+ ), W2 = (e, t) => x(
45
45
  O,
46
46
  (n) => n[e] ? n[e].volumes[t] : void 0
47
- ), W2 = (e) => x(
47
+ ), k2 = (e) => x(
48
48
  O,
49
49
  (t) => t[e] ? t[e] : void 0
50
- ), k2 = (e) => x(
50
+ ), V2 = (e) => x(
51
51
  O,
52
52
  (t) => {
53
53
  var n, s;
54
54
  return t[e] ? (s = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : s.sourceList : void 0;
55
55
  }
56
- ), V2 = (e) => x(
56
+ ), H2 = (e) => x(
57
57
  O,
58
58
  (t) => {
59
59
  var n, s;
60
60
  return t[e] ? (s = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : s.audioControlPointList : void 0;
61
61
  }
62
- ), H2 = (e) => x(
62
+ ), F2 = (e) => x(
63
63
  O,
64
64
  (t) => {
65
65
  var n, s;
66
66
  return t[e] ? (s = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : s.destinations : void 0;
67
67
  }
68
- ), F2 = (e) => x(
68
+ ), U2 = (e) => x(
69
69
  O,
70
70
  (t) => {
71
71
  var n, s;
72
72
  return t[e] ? (s = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : s.destinationList : void 0;
73
73
  }
74
- ), U2 = (e) => x(
74
+ ), K2 = (e) => x(
75
75
  O,
76
76
  (t) => {
77
77
  var n, s;
78
78
  return t[e] ? (s = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : s.environmentalDevices : void 0;
79
79
  }
80
- ), K2 = (e) => x(
80
+ ), q2 = (e) => x(
81
81
  O,
82
82
  (t) => {
83
- var n, s, r, l, i, h, u, f;
84
- return (s = (n = t[e]) == null ? void 0 : n.configuration) != null && s.destinationList.programAudio ? (i = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((f = (u = (h = t[e]) == null ? void 0 : h.configuration) == null ? void 0 : u.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
83
+ var n, s, r, l, i, g, u, f;
84
+ return (s = (n = t[e]) == null ? void 0 : n.configuration) != null && s.destinationList.programAudio ? (i = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((f = (u = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : u.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
85
85
  }
86
- ), q2 = (e) => x(
86
+ ), G2 = (e) => x(
87
87
  O,
88
88
  (t) => {
89
89
  var n, s, r;
90
90
  return t[e] ? (r = (s = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : s.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
91
91
  }
92
- ), G2 = (e) => x(
92
+ ), z2 = (e) => x(
93
93
  O,
94
94
  (t) => {
95
95
  var n;
96
96
  return t[e] ? (n = t[e]) == null ? void 0 : n.isInCall : void 0;
97
97
  }
98
- ), z2 = (e) => x(
98
+ ), Y2 = (e) => x(
99
99
  O,
100
100
  (t) => {
101
101
  var n;
102
102
  return t[e] ? (n = t[e]) == null ? void 0 : n.isWarmingUp : void 0;
103
103
  }
104
- ), Y2 = (e) => x(
104
+ ), J2 = (e) => x(
105
105
  O,
106
106
  (t) => {
107
107
  var n;
108
108
  return t[e] ? (n = t[e]) == null ? void 0 : n.isCoolingDown : void 0;
109
109
  }
110
- ), J2 = (e) => x(
110
+ ), X2 = (e) => x(
111
111
  O,
112
112
  (t) => {
113
113
  var n;
114
114
  return t[e] ? (n = t[e]) == null ? void 0 : n.isOn : void 0;
115
115
  }
116
- ), X2 = (e) => x(
116
+ ), Q2 = (e) => x(
117
117
  O,
118
118
  (t) => {
119
119
  var n;
120
120
  return t[e] ? (n = t[e]) == null ? void 0 : n.advancedSharingActive : void 0;
121
121
  }
122
- ), Q2 = (e) => x(
122
+ ), N2 = (e) => x(
123
123
  O,
124
124
  (t) => {
125
125
  var n;
126
126
  return t[e] ? (n = t[e]) == null ? void 0 : n.share : void 0;
127
127
  }
128
- ), N2 = (e) => x(
128
+ ), ee = (e) => x(
129
129
  O,
130
130
  (t) => {
131
131
  var n, s;
132
132
  return t[e] ? (s = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : s.zoomRoomControllerKey : void 0;
133
133
  }
134
- ), ee = x(
134
+ ), te = x(
135
135
  [
136
136
  (e, t) => t,
137
137
  () => j3,
@@ -146,49 +146,49 @@ const O = (e) => e.rooms, A2 = (e) => x(
146
146
  return Object.values(t).filter((l) => Object.values(s).includes(l.key));
147
147
  }
148
148
  );
149
- function nt(e) {
149
+ function n8(e) {
150
150
  return p(
151
- A2(e)
151
+ _2(e)
152
152
  );
153
153
  }
154
- function ot() {
155
- return p(_2);
154
+ function o8() {
155
+ return p(L2);
156
156
  }
157
157
  function C1(e) {
158
- return p(L2(e));
158
+ return p(B2(e));
159
159
  }
160
- const st = C1, ct = (e) => p(
161
- B2(e)
162
- ), te = (e, t) => p(
163
- O2(e, t)
164
- ), ne = (e) => p(W2(e)) || void 0, rt = (e) => p(k2(e)), lt = (e) => p(V2(e)), it = (e) => p(H2(e)), at = (e) => p(F2(e)), ut = (e) => p(U2(e)), dt = (e) => p(K2(e)), vt = (e) => p(q2(e)), ht = (e) => p(G2(e)), gt = (e) => p(z2(e)), ft = (e) => p(Y2(e)), wt = (e) => p(J2(e)), mt = (e) => p(X2(e)), pt = (e) => p(Q2(e)), Mt = (e) => p((t) => ee(t, e)), xt = (e) => p(N2(e)), z = (e) => e.runtimeConfig, oe = x(
160
+ const s8 = C1, c8 = (e) => p(
161
+ O2(e)
162
+ ), ne = (e, t) => p(
163
+ W2(e, t)
164
+ ), oe = (e) => p(k2(e)) || void 0, r8 = (e) => p(V2(e)), l8 = (e) => p(H2(e)), i8 = (e) => p(F2(e)), a8 = (e) => p(U2(e)), u8 = (e) => p(K2(e)), d8 = (e) => p(q2(e)), v8 = (e) => p(G2(e)), g8 = (e) => p(z2(e)), h8 = (e) => p(Y2(e)), f8 = (e) => p(J2(e)), m8 = (e) => p(X2(e)), w8 = (e) => p(Q2(e)), p8 = (e) => p(N2(e)), M8 = (e) => p((t) => te(t, e)), x8 = (e) => p(ee(e)), z = (e) => e.runtimeConfig, se = x(
165
165
  z,
166
166
  (e) => e.websocket.isConnected
167
- ), se = x(
167
+ ), ce = x(
168
168
  z,
169
169
  (e) => e.currentRoomKey
170
- ), ce = x(
170
+ ), re = x(
171
171
  z,
172
172
  (e) => e.roomData.clientId
173
- ), re = x(
173
+ ), le = x(
174
174
  z,
175
175
  (e) => e.roomData.systemUuid
176
- ), le = x(
176
+ ), ie = x(
177
177
  z,
178
178
  (e) => e.roomData.userCode
179
- ), ie = x(
179
+ ), ae = x(
180
180
  z,
181
181
  (e) => e.serverIsRunningOnProcessorHardware
182
- ), ae = x(
182
+ ), ue = x(
183
183
  z,
184
184
  (e) => {
185
185
  var t;
186
186
  return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
187
187
  }
188
- ), ue = x(
188
+ ), de = x(
189
189
  z,
190
190
  (e) => e.touchpanelKey
191
- ), de = x(
191
+ ), ve = x(
192
192
  z,
193
193
  (e) => e.touchpanelKey !== ""
194
194
  ), b3 = x(
@@ -200,23 +200,23 @@ const st = C1, ct = (e) => p(
200
200
  var n;
201
201
  return ((n = t == null ? void 0 : t[e]) == null ? void 0 : n.interfaces) ?? [];
202
202
  }
203
- ), ve = (e, t) => x(
203
+ ), ge = (e, t) => x(
204
204
  I3(e),
205
205
  (n) => n.includes(t)
206
- ), y3 = () => p(oe), St = () => p(se), Zt = () => p(ce), Ct = () => p(re), jt = () => p(le), bt = () => p(ie), It = () => p(ae), yt = () => p(ue), Rt = () => p(de), $t = () => p(b3), Pt = (e) => p(I3(e)), Et = (e, t) => p(ve(e, t)), e1 = (e) => e.ui, V1 = (e) => x(e1, (t) => t.modalVisibility[e]), he = (e) => x(e1, (t) => {
206
+ ), y3 = () => p(se), S8 = () => p(ce), Z8 = () => p(re), C8 = () => p(le), j8 = () => p(ie), b8 = () => p(ae), I8 = () => p(ue), y8 = () => p(de), R8 = () => p(ve), $8 = () => p(b3), P8 = (e) => p(I3(e)), E8 = (e, t) => p(ge(e, t)), e1 = (e) => e.ui, V1 = (e) => x(e1, (t) => t.modalVisibility[e]), he = (e) => x(e1, (t) => {
207
207
  const n = t.popoverVisibility[e];
208
208
  if (n)
209
209
  return Object.keys(n).find((s) => n[s]);
210
- }), ge = (e, t) => x(
210
+ }), fe = (e, t) => x(
211
211
  e1,
212
212
  (n) => {
213
213
  var s;
214
214
  return ((s = n.popoverVisibility[e]) == null ? void 0 : s[t]) ?? !1;
215
215
  }
216
- ), fe = x(e1, (e) => e.error), we = x(
216
+ ), me = x(e1, (e) => e.error), we = x(
217
217
  e1,
218
218
  (e) => e.showReconnect
219
- ), me = x(e1, (e) => e.theme), pe = (e) => x(e1, (t) => t.syncState.includes(e)), Tt = () => p(V1("showShutdownModal")), Dt = () => p(V1("showIncomingCallModal")), At = (e) => p(V1(e)), _t = (e) => p(he(e)), Lt = (e, t) => p(ge(e, t)), Me = () => p(fe), xe = () => p(we), Bt = () => p(me), Se = (e) => p(pe(e)), Ze = {
219
+ ), pe = x(e1, (e) => e.theme), R3 = (e) => x(e1, (t) => t.syncState.includes(e)), T8 = () => p(V1("showShutdownModal")), D8 = () => p(V1("showIncomingCallModal")), A8 = (e) => p(V1(e)), _8 = (e) => p(he(e)), L8 = (e, t) => p(fe(e, t)), Me = () => p(me), xe = () => p(we), B8 = () => p(pe), Se = (e) => p(R3(e)), O8 = () => p(R3("initialSyncComplete")), Ze = {
220
220
  showReconnect: !1,
221
221
  error: "",
222
222
  modalVisibility: {
@@ -225,7 +225,7 @@ const st = C1, ct = (e) => p(
225
225
  },
226
226
  popoverVisibility: {},
227
227
  syncState: []
228
- }, R3 = v1({
228
+ }, $3 = v1({
229
229
  name: "ui",
230
230
  initialState: Ze,
231
231
  reducers: {
@@ -271,7 +271,7 @@ const st = C1, ct = (e) => p(
271
271
  e.syncState = [];
272
272
  }
273
273
  }
274
- }), H = R3.actions, Ce = R3.reducer, je = {
274
+ }), k = $3.actions, Ce = $3.reducer, je = {
275
275
  config: {
276
276
  enableDev: !1,
277
277
  apiPath: "",
@@ -281,7 +281,7 @@ const st = C1, ct = (e) => p(
281
281
  loginMode: "",
282
282
  modes: {}
283
283
  }
284
- }, $3 = v1({
284
+ }, P3 = v1({
285
285
  name: "appConfig",
286
286
  initialState: je,
287
287
  reducers: {
@@ -289,7 +289,7 @@ const st = C1, ct = (e) => p(
289
289
  e.config = t.payload;
290
290
  }
291
291
  }
292
- }), P3 = $3.actions, be = $3.reducer, v3 = {}, B1 = v1({
292
+ }), E3 = P3.actions, be = P3.reducer, v3 = {}, B1 = v1({
293
293
  name: "devices",
294
294
  initialState: v3,
295
295
  reducers: {
@@ -300,7 +300,7 @@ const st = C1, ct = (e) => p(
300
300
  {},
301
301
  l,
302
302
  r,
303
- (h, u) => {
303
+ (g, u) => {
304
304
  if (Array.isArray(u)) return u.slice();
305
305
  }
306
306
  );
@@ -310,7 +310,7 @@ const st = C1, ct = (e) => p(
310
310
  return v3;
311
311
  }
312
312
  }
313
- }), m1 = {
313
+ }), w1 = {
314
314
  setDeviceState: B1.actions.setDeviceState,
315
315
  clearDevices: B1.actions.clearDevices
316
316
  }, Ie = B1.reducer;
@@ -322,27 +322,27 @@ class ye {
322
322
  G(this, "expiry", "current-uuid-expires");
323
323
  }
324
324
  }
325
- const h3 = new ye();
325
+ const g3 = new ye();
326
326
  function Re(e) {
327
327
  return sessionStorage.getItem(e) || "";
328
328
  }
329
329
  function $e(e, t) {
330
330
  sessionStorage.setItem(e, t);
331
331
  }
332
- const g3 = {}, O1 = v1({
332
+ const h3 = {}, O1 = v1({
333
333
  name: "rooms",
334
- initialState: g3,
334
+ initialState: h3,
335
335
  reducers: {
336
336
  setRoomState(e, t) {
337
337
  const n = t.payload.type, s = n.slice(n.lastIndexOf("/") + 1);
338
338
  if (!s) return;
339
- const r = t.payload.content, l = e[s] ?? {}, i = Z3.mergeWith({}, l, r, (h, u) => {
339
+ const r = t.payload.content, l = e[s] ?? {}, i = Z3.mergeWith({}, l, r, (g, u) => {
340
340
  if (Array.isArray(u)) return u;
341
341
  });
342
342
  e[s] = i;
343
343
  },
344
344
  clearRooms() {
345
- return g3;
345
+ return h3;
346
346
  }
347
347
  }
348
348
  }), p1 = {
@@ -379,7 +379,7 @@ const g3 = {}, O1 = v1({
379
379
  userCode: "",
380
380
  qrUrl: ""
381
381
  }
382
- }, E3 = v1({
382
+ }, T3 = v1({
383
383
  name: "runtimeConfig",
384
384
  initialState: Ee,
385
385
  reducers: {
@@ -414,16 +414,16 @@ const g3 = {}, O1 = v1({
414
414
  e.touchpanelKey = t.payload;
415
415
  }
416
416
  }
417
- }), U = E3.actions, Te = E3.reducer, A1 = M3.create(), T3 = "websocket/connect", D3 = "websocket/disconnect", A3 = "websocket/sendMessage", _3 = "websocket/addEventHandler", L3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", O3 = () => ({ type: T3 }), Ot = () => ({ type: D3 }), De = (e, t) => ({
418
- type: A3,
417
+ }), U = T3.actions, Te = T3.reducer, A1 = M3.create(), D3 = "websocket/connect", A3 = "websocket/disconnect", _3 = "websocket/sendMessage", L3 = "websocket/addEventHandler", B3 = "websocket/removeEventHandler", O3 = "websocket/reconnect", W3 = () => ({ type: D3 }), W8 = () => ({ type: A3 }), De = (e, t) => ({
418
+ type: _3,
419
419
  payload: { messageType: e, content: t }
420
420
  }), Ae = (e, t, n) => ({
421
- type: _3,
421
+ type: L3,
422
422
  payload: { eventType: e, key: t, callback: n }
423
423
  }), _e = (e, t) => ({
424
- type: L3,
424
+ type: B3,
425
425
  payload: { eventType: e, key: t }
426
- }), Le = () => ({ type: B3 }), Be = () => {
426
+ }), Le = () => ({ type: O3 }), Be = () => {
427
427
  const e = {
428
428
  client: null,
429
429
  token: null,
@@ -440,7 +440,7 @@ const g3 = {}, O1 = v1({
440
440
  );
441
441
  if (j.status === 200 && j.data) {
442
442
  const I = j.data.apiPath;
443
- v(P3.setAppConfig(j.data));
443
+ v(E3.setAppConfig(j.data));
444
444
  const S = await A1.get(
445
445
  `${I}/version`
446
446
  );
@@ -457,20 +457,20 @@ const g3 = {}, O1 = v1({
457
457
  );
458
458
  return j.status === 200 && j.data ? (b(U.setRoomData(j.data)), j.data) : null;
459
459
  } catch (j) {
460
- return console.log(j), j instanceof p2 && j.response && j.response.status === 498 ? (console.error("Invalid token. Unable to join room"), b(
461
- H.setErrorMessage(
460
+ return console.log(j), j instanceof M2 && j.response && j.response.status === 498 ? (console.error("Invalid token. Unable to join room"), b(
461
+ k.setErrorMessage(
462
462
  `Token ${C} is invalid. Unable to join room`
463
463
  )
464
- ), null) : (console.error("Error getting room data", j), j instanceof Error ? b(H.setErrorMessage(j.message)) : b(H.setErrorMessage("Error getting room data")), null);
464
+ ), null) : (console.error("Error getting room data", j), j instanceof Error ? b(k.setErrorMessage(j.message)) : b(k.setErrorMessage("Error getting room data")), null);
465
465
  }
466
466
  }, s = (v) => {
467
467
  e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
468
- e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), v(O3());
468
+ e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), v(W3());
469
469
  }, 5e3);
470
470
  }, r = () => {
471
471
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
472
472
  }, l = (v) => {
473
- v(H.setShowReconnect(!0)), v(U.setWebsocketIsConnected(!1)), v(m1.clearDevices()), v(p1.clearRooms()), v(H.clearAllModals()), v(H.clearSyncState());
473
+ v(k.setShowReconnect(!0)), v(U.setWebsocketIsConnected(!1)), v(w1.clearDevices()), v(p1.clearRooms()), v(k.clearAllModals()), v(k.clearSyncState());
474
474
  }, i = (v, C) => {
475
475
  var K;
476
476
  const b = v(), j = C ?? b.runtimeConfig.roomData.roomKey, { clientId: I } = b.runtimeConfig.roomData, S = b.runtimeConfig.websocket.isConnected, W = (K = b.runtimeConfig.roomData.config) == null ? void 0 : K.runtimeInfo.essentialsVersion;
@@ -501,7 +501,7 @@ const g3 = {}, O1 = v1({
501
501
  content: null
502
502
  })
503
503
  ));
504
- }, h = async (v, C) => {
504
+ }, g = async (v, C) => {
505
505
  console.log("WebSocket middleware: Attempting to connect...");
506
506
  const b = C(), { apiPath: j } = b.appConfig.config, { serverIsRunningOnProcessorHardware: I } = b.runtimeConfig;
507
507
  if (!j || !e.token) {
@@ -535,42 +535,42 @@ const g3 = {}, O1 = v1({
535
535
  }
536
536
  console.log("WebSocket middleware: Connecting to websocket");
537
537
  const o1 = `${j.replace("http", "ws")}/ui/join/${e.token}?clientId=${S.clientId}`, K = new WebSocket(o1);
538
- e.client = K, K.onopen = (k) => {
539
- console.log("WebSocket middleware: Connected", k.type, k.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
538
+ e.client = K, K.onopen = (V) => {
539
+ console.log("WebSocket middleware: Connected", V.type, V.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
540
540
  e.client === K && K.readyState === WebSocket.OPEN && v(U.setWebsocketIsConnected(!0));
541
541
  }, 100);
542
- }, K.onerror = (k) => {
543
- console.error("WebSocket middleware: Error", k), l(v);
544
- }, K.onclose = (k) => {
545
- var T;
542
+ }, K.onerror = (V) => {
543
+ console.error("WebSocket middleware: Error", V), l(v);
544
+ }, K.onclose = (V) => {
545
+ var D;
546
546
  if (console.log(
547
547
  "WebSocket middleware: Disconnected",
548
- k.reason,
549
- k.code
550
- ), k.code === 4100) {
548
+ V.reason,
549
+ V.code
550
+ ), V.code === 4100) {
551
551
  console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(v);
552
552
  return;
553
553
  }
554
- if (e.waitingToReconnect = !0, k.code === 4e3) {
554
+ if (e.waitingToReconnect = !0, V.code === 4e3) {
555
555
  console.log("WebSocket middleware: User code changed"), r(), v(
556
556
  U.setUserCode({ userCode: "", qrUrl: "" })
557
557
  ), v(
558
- H.setErrorMessage(
558
+ k.setErrorMessage(
559
559
  "User code changed. Click reconnect to enter the new code"
560
560
  )
561
561
  ), l(v);
562
562
  return;
563
563
  }
564
- if (k.code === 4002) {
564
+ if (V.code === 4002) {
565
565
  console.log("WebSocket middleware: Room combination changed"), r(), v(
566
- H.setErrorMessage(
566
+ k.setErrorMessage(
567
567
  "Room combination changed. Click Reconnect to re-join the room"
568
568
  )
569
569
  ), l(v);
570
570
  return;
571
571
  }
572
- if (k.code === 4001)
573
- if (!!((T = C().runtimeConfig) != null && T.touchpanelKey))
572
+ if (V.code === 4001)
573
+ if (!!((D = C().runtimeConfig) != null && D.touchpanelKey))
574
574
  console.log(
575
575
  "WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
576
576
  );
@@ -582,7 +582,7 @@ const g3 = {}, O1 = v1({
582
582
  console.log(
583
583
  "WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
584
584
  ), r(), v(
585
- H.setErrorMessage(
585
+ k.setErrorMessage(
586
586
  "Processor has disconnected. Click Reconnect to continue."
587
587
  )
588
588
  ), l(v);
@@ -597,43 +597,43 @@ const g3 = {}, O1 = v1({
597
597
  return;
598
598
  }
599
599
  e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), v(
600
- H.setErrorMessage(
600
+ k.setErrorMessage(
601
601
  "Connection lost. Attempting to reconnect..."
602
602
  )
603
- ), v(U.setWebsocketIsConnected(!1)), v(m1.clearDevices()), v(p1.clearRooms()), v(H.clearAllModals()), v(H.clearSyncState()), s(v);
604
- }, K.onmessage = (k) => {
603
+ ), v(U.setWebsocketIsConnected(!1)), v(w1.clearDevices()), v(p1.clearRooms()), v(k.clearAllModals()), v(k.clearSyncState()), s(v);
604
+ }, K.onmessage = (V) => {
605
605
  try {
606
- const T = JSON.parse(k.data);
607
- if (T.type === "close") {
608
- K.close(4001, T.content);
606
+ const D = JSON.parse(V.data);
607
+ if (D.type === "close") {
608
+ K.close(4001, D.content);
609
609
  return;
610
610
  }
611
- if (T.type.startsWith("/system/"))
612
- switch (T.type) {
611
+ if (D.type.startsWith("/system/"))
612
+ switch (D.type) {
613
613
  case "/system/touchpanelKey":
614
614
  v(
615
615
  U.setTouchpanelKey(
616
- T.content
616
+ D.content
617
617
  )
618
618
  );
619
619
  break;
620
620
  case "/system/roomKey":
621
- v(p1.clearRooms()), v(m1.clearDevices()), v(H.clearSyncState()), v(
621
+ v(p1.clearRooms()), v(w1.clearDevices()), v(k.clearSyncState()), v(
622
622
  U.setCurrentRoomKey(
623
- T.content
623
+ D.content
624
624
  )
625
625
  );
626
626
  break;
627
627
  case "/system/userCodeChanged":
628
628
  v(
629
- U.setUserCode(T.content)
629
+ U.setUserCode(D.content)
630
630
  );
631
631
  break;
632
632
  case "/system/roomCombinationChanged":
633
633
  window.location.reload();
634
634
  break;
635
635
  case "/system/deviceInterfaces": {
636
- const J = T.content;
636
+ const J = D.content;
637
637
  v(
638
638
  U.setDeviceInterfaces(
639
639
  J.deviceInterfaces
@@ -641,21 +641,24 @@ const g3 = {}, O1 = v1({
641
641
  );
642
642
  break;
643
643
  }
644
+ case "/system/initialSyncComplete":
645
+ v(k.addSyncState("initialSyncComplete"));
646
+ break;
644
647
  default:
645
648
  console.log(
646
649
  "WebSocket middleware: Unhandled system message",
647
- T
650
+ D
648
651
  );
649
652
  break;
650
653
  }
651
- else if (T.type.startsWith("/event/")) {
652
- const J = e.eventHandlers[T.type];
654
+ else if (D.type.startsWith("/event/")) {
655
+ const J = e.eventHandlers[D.type];
653
656
  J || console.log(
654
657
  "WebSocket middleware: No handlers found for event type",
655
- T.type
658
+ D.type
656
659
  ), J && Object.values(J).forEach((s1) => {
657
660
  try {
658
- s1(T);
661
+ s1(D);
659
662
  } catch (b1) {
660
663
  console.error(
661
664
  "WebSocket middleware: Event handler error",
@@ -663,9 +666,9 @@ const g3 = {}, O1 = v1({
663
666
  );
664
667
  }
665
668
  });
666
- } else T.type.startsWith("/room/") ? v(p1.setRoomState(T)) : T.type.startsWith("/device/") && v(m1.setDeviceState(T));
667
- } catch (T) {
668
- console.error("WebSocket middleware: Message handling error", T);
669
+ } else D.type.startsWith("/room/") ? v(p1.setRoomState(D)) : D.type.startsWith("/device/") && v(w1.setDeviceState(D));
670
+ } catch (D) {
671
+ console.error("WebSocket middleware: Message handling error", D);
669
672
  }
670
673
  }, e.waitingToReconnect = !1;
671
674
  } catch (S) {
@@ -697,35 +700,35 @@ const g3 = {}, O1 = v1({
697
700
  const I = b;
698
701
  return (async () => {
699
702
  switch (I.type) {
700
- case T3: {
703
+ case D3: {
701
704
  let W = new URLSearchParams(window.location.search).get("token");
702
- W ? (console.log("WebSocket middleware: Saving token"), $e(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(v.dispatch), await h(v.dispatch, v.getState);
705
+ W ? (console.log("WebSocket middleware: Saving token"), $e(g3.uuid, W)) : (W = Re(g3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(v.dispatch), await g(v.dispatch, v.getState);
703
706
  break;
704
707
  }
705
- case D3:
708
+ case A3:
706
709
  u();
707
710
  break;
708
- case A3:
711
+ case _3:
709
712
  f(
710
713
  I.payload.messageType,
711
714
  I.payload.content,
712
715
  v.getState
713
716
  );
714
717
  break;
715
- case _3:
718
+ case L3:
716
719
  d(
717
720
  I.payload.eventType,
718
721
  I.payload.key,
719
722
  I.payload.callback
720
723
  );
721
724
  break;
722
- case L3:
725
+ case B3:
723
726
  _(
724
727
  I.payload.eventType,
725
728
  I.payload.key
726
729
  );
727
730
  break;
728
- case B3:
731
+ case O3:
729
732
  A(v.getState);
730
733
  break;
731
734
  default:
@@ -752,13 +755,13 @@ const g3 = {}, O1 = v1({
752
755
  console.error("WebSocket middleware: Error handling action", S);
753
756
  }), j;
754
757
  };
755
- }, Oe = Z2({
758
+ }, Oe = C2({
756
759
  appConfig: be,
757
760
  runtimeConfig: Te,
758
761
  rooms: Pe,
759
762
  devices: Ie,
760
763
  ui: Ce
761
- }), We = C2({
764
+ }), We = j2({
762
765
  reducer: Oe,
763
766
  middleware: (e) => e({
764
767
  serializableCheck: {
@@ -767,7 +770,7 @@ const g3 = {}, O1 = v1({
767
770
  }
768
771
  }).concat(Be())
769
772
  }), f3 = M3.create();
770
- function Wt() {
773
+ function k8() {
771
774
  const e = k1();
772
775
  return async () => {
773
776
  try {
@@ -779,7 +782,7 @@ function Wt() {
779
782
  );
780
783
  if (s.status == 200 && s.data) {
781
784
  const r = s.data.apiPath;
782
- e(P3.setAppConfig(s.data));
785
+ e(E3.setAppConfig(s.data));
783
786
  const l = await f3.get(
784
787
  `${r}/version`
785
788
  );
@@ -801,17 +804,17 @@ var M1 = { exports: {} }, i1 = {};
801
804
  * This source code is licensed under the MIT license found in the
802
805
  * LICENSE file in the root directory of this source tree.
803
806
  */
804
- var w3;
807
+ var m3;
805
808
  function ke() {
806
- if (w3) return i1;
807
- w3 = 1;
809
+ if (m3) return i1;
810
+ m3 = 1;
808
811
  var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
809
- function i(h, u, f) {
812
+ function i(g, u, f) {
810
813
  var d, _ = {}, A = null, v = null;
811
814
  f !== void 0 && (A = "" + f), u.key !== void 0 && (A = "" + u.key), u.ref !== void 0 && (v = u.ref);
812
815
  for (d in u) s.call(u, d) && !l.hasOwnProperty(d) && (_[d] = u[d]);
813
- if (h && h.defaultProps) for (d in u = h.defaultProps, u) _[d] === void 0 && (_[d] = u[d]);
814
- return { $$typeof: t, type: h, key: A, ref: v, props: _, _owner: r.current };
816
+ if (g && g.defaultProps) for (d in u = g.defaultProps, u) _[d] === void 0 && (_[d] = u[d]);
817
+ return { $$typeof: t, type: g, key: A, ref: v, props: _, _owner: r.current };
815
818
  }
816
819
  return i1.Fragment = n, i1.jsx = i, i1.jsxs = i, i1;
817
820
  }
@@ -825,10 +828,10 @@ var a1 = {};
825
828
  * This source code is licensed under the MIT license found in the
826
829
  * LICENSE file in the root directory of this source tree.
827
830
  */
828
- var m3;
831
+ var w3;
829
832
  function Ve() {
830
- return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && (function() {
831
- var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), h = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), C = Symbol.iterator, b = "@@iterator";
833
+ return w3 || (w3 = 1, process.env.NODE_ENV !== "production" && (function() {
834
+ var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), C = Symbol.iterator, b = "@@iterator";
832
835
  function j(c) {
833
836
  if (c === null || typeof c != "object")
834
837
  return null;
@@ -838,36 +841,36 @@ function Ve() {
838
841
  var I = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
839
842
  function S(c) {
840
843
  {
841
- for (var a = arguments.length, g = new Array(a > 1 ? a - 1 : 0), M = 1; M < a; M++)
842
- g[M - 1] = arguments[M];
843
- W("error", c, g);
844
+ for (var a = arguments.length, h = new Array(a > 1 ? a - 1 : 0), M = 1; M < a; M++)
845
+ h[M - 1] = arguments[M];
846
+ W("error", c, h);
844
847
  }
845
848
  }
846
- function W(c, a, g) {
849
+ function W(c, a, h) {
847
850
  {
848
851
  var M = I.ReactDebugCurrentFrame, P = M.getStackAddendum();
849
- P !== "" && (a += "%s", g = g.concat([P]));
850
- var E = g.map(function(R) {
852
+ P !== "" && (a += "%s", h = h.concat([P]));
853
+ var E = h.map(function(R) {
851
854
  return String(R);
852
855
  });
853
856
  E.unshift("Warning: " + a), Function.prototype.apply.call(console[c], console, E);
854
857
  }
855
858
  }
856
- var o1 = !1, K = !1, k = !1, T = !1, J = !1, s1;
859
+ var o1 = !1, K = !1, V = !1, D = !1, J = !1, s1;
857
860
  s1 = Symbol.for("react.module.reference");
858
861
  function b1(c) {
859
- return !!(typeof c == "string" || typeof c == "function" || c === s || c === l || J || c === r || c === f || c === d || T || c === v || o1 || K || k || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === _ || c.$$typeof === i || c.$$typeof === h || c.$$typeof === u || // This needs to include all possible module reference object
862
+ return !!(typeof c == "string" || typeof c == "function" || c === s || c === l || J || c === r || c === f || c === d || D || c === v || o1 || K || V || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === _ || c.$$typeof === i || c.$$typeof === g || c.$$typeof === u || // This needs to include all possible module reference object
860
863
  // types supported by any Flight configuration anywhere since
861
864
  // we don't know which Flight build this will end up being used
862
865
  // with.
863
866
  c.$$typeof === s1 || c.getModuleId !== void 0));
864
867
  }
865
- function H3(c, a, g) {
868
+ function F3(c, a, h) {
866
869
  var M = c.displayName;
867
870
  if (M)
868
871
  return M;
869
872
  var P = a.displayName || a.name || "";
870
- return P !== "" ? g + "(" + P + ")" : g;
873
+ return P !== "" ? h + "(" + P + ")" : h;
871
874
  }
872
875
  function H1(c) {
873
876
  return c.displayName || "Context";
@@ -895,14 +898,14 @@ function Ve() {
895
898
  }
896
899
  if (typeof c == "object")
897
900
  switch (c.$$typeof) {
898
- case h:
901
+ case g:
899
902
  var a = c;
900
903
  return H1(a) + ".Consumer";
901
904
  case i:
902
- var g = c;
903
- return H1(g._context) + ".Provider";
905
+ var h = c;
906
+ return H1(h._context) + ".Provider";
904
907
  case u:
905
- return H3(c, c.render, "ForwardRef");
908
+ return F3(c, c.render, "ForwardRef");
906
909
  case _:
907
910
  var M = c.displayName || null;
908
911
  return M !== null ? M : X(c.type) || "Memo";
@@ -921,7 +924,7 @@ function Ve() {
921
924
  function J1() {
922
925
  }
923
926
  J1.__reactDisabledLog = !0;
924
- function F3() {
927
+ function U3() {
925
928
  {
926
929
  if (c1 === 0) {
927
930
  F1 = console.log, U1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, z1 = console.groupCollapsed, Y1 = console.groupEnd;
@@ -944,7 +947,7 @@ function Ve() {
944
947
  c1++;
945
948
  }
946
949
  }
947
- function U3() {
950
+ function K3() {
948
951
  {
949
952
  if (c1--, c1 === 0) {
950
953
  var c = {
@@ -980,7 +983,7 @@ function Ve() {
980
983
  }
981
984
  }
982
985
  var I1 = I.ReactCurrentDispatcher, y1;
983
- function h1(c, a, g) {
986
+ function g1(c, a, h) {
984
987
  {
985
988
  if (y1 === void 0)
986
989
  try {
@@ -993,25 +996,25 @@ function Ve() {
993
996
  ` + y1 + c;
994
997
  }
995
998
  }
996
- var R1 = !1, g1;
999
+ var R1 = !1, h1;
997
1000
  {
998
- var K3 = typeof WeakMap == "function" ? WeakMap : Map;
999
- g1 = new K3();
1001
+ var q3 = typeof WeakMap == "function" ? WeakMap : Map;
1002
+ h1 = new q3();
1000
1003
  }
1001
1004
  function X1(c, a) {
1002
1005
  if (!c || R1)
1003
1006
  return "";
1004
1007
  {
1005
- var g = g1.get(c);
1006
- if (g !== void 0)
1007
- return g;
1008
+ var h = h1.get(c);
1009
+ if (h !== void 0)
1010
+ return h;
1008
1011
  }
1009
1012
  var M;
1010
1013
  R1 = !0;
1011
1014
  var P = Error.prepareStackTrace;
1012
1015
  Error.prepareStackTrace = void 0;
1013
1016
  var E;
1014
- E = I1.current, I1.current = null, F3();
1017
+ E = I1.current, I1.current = null, U3();
1015
1018
  try {
1016
1019
  if (a) {
1017
1020
  var R = function() {
@@ -1047,58 +1050,58 @@ function Ve() {
1047
1050
  } catch (F) {
1048
1051
  if (F && M && typeof F.stack == "string") {
1049
1052
  for (var y = F.stack.split(`
1050
- `), V = M.stack.split(`
1051
- `), L = y.length - 1, B = V.length - 1; L >= 1 && B >= 0 && y[L] !== V[B]; )
1053
+ `), H = M.stack.split(`
1054
+ `), L = y.length - 1, B = H.length - 1; L >= 1 && B >= 0 && y[L] !== H[B]; )
1052
1055
  B--;
1053
1056
  for (; L >= 1 && B >= 0; L--, B--)
1054
- if (y[L] !== V[B]) {
1057
+ if (y[L] !== H[B]) {
1055
1058
  if (L !== 1 || B !== 1)
1056
1059
  do
1057
- if (L--, B--, B < 0 || y[L] !== V[B]) {
1060
+ if (L--, B--, B < 0 || y[L] !== H[B]) {
1058
1061
  var q = `
1059
1062
  ` + y[L].replace(" at new ", " at ");
1060
- return c.displayName && q.includes("<anonymous>") && (q = q.replace("<anonymous>", c.displayName)), typeof c == "function" && g1.set(c, q), q;
1063
+ return c.displayName && q.includes("<anonymous>") && (q = q.replace("<anonymous>", c.displayName)), typeof c == "function" && h1.set(c, q), q;
1061
1064
  }
1062
1065
  while (L >= 1 && B >= 0);
1063
1066
  break;
1064
1067
  }
1065
1068
  }
1066
1069
  } finally {
1067
- R1 = !1, I1.current = E, U3(), Error.prepareStackTrace = P;
1070
+ R1 = !1, I1.current = E, K3(), Error.prepareStackTrace = P;
1068
1071
  }
1069
- var n1 = c ? c.displayName || c.name : "", N = n1 ? h1(n1) : "";
1070
- return typeof c == "function" && g1.set(c, N), N;
1072
+ var n1 = c ? c.displayName || c.name : "", N = n1 ? g1(n1) : "";
1073
+ return typeof c == "function" && h1.set(c, N), N;
1071
1074
  }
1072
- function q3(c, a, g) {
1075
+ function G3(c, a, h) {
1073
1076
  return X1(c, !1);
1074
1077
  }
1075
- function G3(c) {
1078
+ function z3(c) {
1076
1079
  var a = c.prototype;
1077
1080
  return !!(a && a.isReactComponent);
1078
1081
  }
1079
- function f1(c, a, g) {
1082
+ function f1(c, a, h) {
1080
1083
  if (c == null)
1081
1084
  return "";
1082
1085
  if (typeof c == "function")
1083
- return X1(c, G3(c));
1086
+ return X1(c, z3(c));
1084
1087
  if (typeof c == "string")
1085
- return h1(c);
1088
+ return g1(c);
1086
1089
  switch (c) {
1087
1090
  case f:
1088
- return h1("Suspense");
1091
+ return g1("Suspense");
1089
1092
  case d:
1090
- return h1("SuspenseList");
1093
+ return g1("SuspenseList");
1091
1094
  }
1092
1095
  if (typeof c == "object")
1093
1096
  switch (c.$$typeof) {
1094
1097
  case u:
1095
- return q3(c.render);
1098
+ return G3(c.render);
1096
1099
  case _:
1097
- return f1(c.type, a, g);
1100
+ return f1(c.type, a, h);
1098
1101
  case A: {
1099
1102
  var M = c, P = M._payload, E = M._init;
1100
1103
  try {
1101
- return f1(E(P), a, g);
1104
+ return f1(E(P), a, h);
1102
1105
  } catch {
1103
1106
  }
1104
1107
  }
@@ -1106,14 +1109,14 @@ function Ve() {
1106
1109
  return "";
1107
1110
  }
1108
1111
  var r1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = I.ReactDebugCurrentFrame;
1109
- function w1(c) {
1112
+ function m1(c) {
1110
1113
  if (c) {
1111
- var a = c._owner, g = f1(c.type, c._source, a ? a.type : null);
1112
- N1.setExtraStackFrame(g);
1114
+ var a = c._owner, h = f1(c.type, c._source, a ? a.type : null);
1115
+ N1.setExtraStackFrame(h);
1113
1116
  } else
1114
1117
  N1.setExtraStackFrame(null);
1115
1118
  }
1116
- function z3(c, a, g, M, P) {
1119
+ function Y3(c, a, h, M, P) {
1117
1120
  {
1118
1121
  var E = Function.call.bind(r1);
1119
1122
  for (var R in c)
@@ -1121,28 +1124,28 @@ function Ve() {
1121
1124
  var y = void 0;
1122
1125
  try {
1123
1126
  if (typeof c[R] != "function") {
1124
- var V = Error((M || "React class") + ": " + g + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1125
- throw V.name = "Invariant Violation", V;
1127
+ var H = Error((M || "React class") + ": " + h + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1128
+ throw H.name = "Invariant Violation", H;
1126
1129
  }
1127
- y = c[R](a, R, M, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1130
+ y = c[R](a, R, M, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1128
1131
  } catch (L) {
1129
1132
  y = L;
1130
1133
  }
1131
- y && !(y instanceof Error) && (w1(P), S("%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).", M || "React class", g, R, typeof y), w1(null)), y instanceof Error && !(y.message in Q1) && (Q1[y.message] = !0, w1(P), S("Failed %s type: %s", g, y.message), w1(null));
1134
+ y && !(y instanceof Error) && (m1(P), S("%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).", M || "React class", h, R, typeof y), m1(null)), y instanceof Error && !(y.message in Q1) && (Q1[y.message] = !0, m1(P), S("Failed %s type: %s", h, y.message), m1(null));
1132
1135
  }
1133
1136
  }
1134
1137
  }
1135
- var Y3 = Array.isArray;
1138
+ var J3 = Array.isArray;
1136
1139
  function $1(c) {
1137
- return Y3(c);
1140
+ return J3(c);
1138
1141
  }
1139
- function J3(c) {
1142
+ function X3(c) {
1140
1143
  {
1141
- var a = typeof Symbol == "function" && Symbol.toStringTag, g = a && c[Symbol.toStringTag] || c.constructor.name || "Object";
1142
- return g;
1144
+ var a = typeof Symbol == "function" && Symbol.toStringTag, h = a && c[Symbol.toStringTag] || c.constructor.name || "Object";
1145
+ return h;
1143
1146
  }
1144
1147
  }
1145
- function X3(c) {
1148
+ function Q3(c) {
1146
1149
  try {
1147
1150
  return e3(c), !1;
1148
1151
  } catch {
@@ -1153,16 +1156,16 @@ function Ve() {
1153
1156
  return "" + c;
1154
1157
  }
1155
1158
  function t3(c) {
1156
- if (X3(c))
1157
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(c)), e3(c);
1159
+ if (Q3(c))
1160
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", X3(c)), e3(c);
1158
1161
  }
1159
- var n3 = I.ReactCurrentOwner, Q3 = {
1162
+ var n3 = I.ReactCurrentOwner, N3 = {
1160
1163
  key: !0,
1161
1164
  ref: !0,
1162
1165
  __self: !0,
1163
1166
  __source: !0
1164
1167
  }, o3, s3;
1165
- function N3(c) {
1168
+ function e2(c) {
1166
1169
  if (r1.call(c, "ref")) {
1167
1170
  var a = Object.getOwnPropertyDescriptor(c, "ref").get;
1168
1171
  if (a && a.isReactWarning)
@@ -1170,7 +1173,7 @@ function Ve() {
1170
1173
  }
1171
1174
  return c.ref !== void 0;
1172
1175
  }
1173
- function e2(c) {
1176
+ function t2(c) {
1174
1177
  if (r1.call(c, "key")) {
1175
1178
  var a = Object.getOwnPropertyDescriptor(c, "key").get;
1176
1179
  if (a && a.isReactWarning)
@@ -1178,39 +1181,39 @@ function Ve() {
1178
1181
  }
1179
1182
  return c.key !== void 0;
1180
1183
  }
1181
- function t2(c, a) {
1184
+ function n2(c, a) {
1182
1185
  typeof c.ref == "string" && n3.current;
1183
1186
  }
1184
- function n2(c, a) {
1187
+ function o2(c, a) {
1185
1188
  {
1186
- var g = function() {
1189
+ var h = function() {
1187
1190
  o3 || (o3 = !0, S("%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)", a));
1188
1191
  };
1189
- g.isReactWarning = !0, Object.defineProperty(c, "key", {
1190
- get: g,
1192
+ h.isReactWarning = !0, Object.defineProperty(c, "key", {
1193
+ get: h,
1191
1194
  configurable: !0
1192
1195
  });
1193
1196
  }
1194
1197
  }
1195
- function o2(c, a) {
1198
+ function s2(c, a) {
1196
1199
  {
1197
- var g = function() {
1200
+ var h = function() {
1198
1201
  s3 || (s3 = !0, S("%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)", a));
1199
1202
  };
1200
- g.isReactWarning = !0, Object.defineProperty(c, "ref", {
1201
- get: g,
1203
+ h.isReactWarning = !0, Object.defineProperty(c, "ref", {
1204
+ get: h,
1202
1205
  configurable: !0
1203
1206
  });
1204
1207
  }
1205
1208
  }
1206
- var s2 = function(c, a, g, M, P, E, R) {
1209
+ var c2 = function(c, a, h, M, P, E, R) {
1207
1210
  var y = {
1208
1211
  // This tag allows us to uniquely identify this as a React Element
1209
1212
  $$typeof: t,
1210
1213
  // Built-in properties that belong on the element
1211
1214
  type: c,
1212
1215
  key: a,
1213
- ref: g,
1216
+ ref: h,
1214
1217
  props: R,
1215
1218
  // Record the component responsible for creating this element.
1216
1219
  _owner: E
@@ -1232,29 +1235,29 @@ function Ve() {
1232
1235
  value: P
1233
1236
  }), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
1234
1237
  };
1235
- function c2(c, a, g, M, P) {
1238
+ function r2(c, a, h, M, P) {
1236
1239
  {
1237
- var E, R = {}, y = null, V = null;
1238
- g !== void 0 && (t3(g), y = "" + g), e2(a) && (t3(a.key), y = "" + a.key), N3(a) && (V = a.ref, t2(a, P));
1240
+ var E, R = {}, y = null, H = null;
1241
+ h !== void 0 && (t3(h), y = "" + h), t2(a) && (t3(a.key), y = "" + a.key), e2(a) && (H = a.ref, n2(a, P));
1239
1242
  for (E in a)
1240
- r1.call(a, E) && !Q3.hasOwnProperty(E) && (R[E] = a[E]);
1243
+ r1.call(a, E) && !N3.hasOwnProperty(E) && (R[E] = a[E]);
1241
1244
  if (c && c.defaultProps) {
1242
1245
  var L = c.defaultProps;
1243
1246
  for (E in L)
1244
1247
  R[E] === void 0 && (R[E] = L[E]);
1245
1248
  }
1246
- if (y || V) {
1249
+ if (y || H) {
1247
1250
  var B = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
1248
- y && n2(R, B), V && o2(R, B);
1251
+ y && o2(R, B), H && s2(R, B);
1249
1252
  }
1250
- return s2(c, y, V, P, M, n3.current, R);
1253
+ return c2(c, y, H, P, M, n3.current, R);
1251
1254
  }
1252
1255
  }
1253
1256
  var P1 = I.ReactCurrentOwner, c3 = I.ReactDebugCurrentFrame;
1254
1257
  function t1(c) {
1255
1258
  if (c) {
1256
- var a = c._owner, g = f1(c.type, c._source, a ? a.type : null);
1257
- c3.setExtraStackFrame(g);
1259
+ var a = c._owner, h = f1(c.type, c._source, a ? a.type : null);
1260
+ c3.setExtraStackFrame(h);
1258
1261
  } else
1259
1262
  c3.setExtraStackFrame(null);
1260
1263
  }
@@ -1275,18 +1278,18 @@ Check the render method of \`` + c + "`.";
1275
1278
  return "";
1276
1279
  }
1277
1280
  }
1278
- function r2(c) {
1281
+ function l2(c) {
1279
1282
  return "";
1280
1283
  }
1281
1284
  var l3 = {};
1282
- function l2(c) {
1285
+ function i2(c) {
1283
1286
  {
1284
1287
  var a = r3();
1285
1288
  if (!a) {
1286
- var g = typeof c == "string" ? c : c.displayName || c.name;
1287
- g && (a = `
1289
+ var h = typeof c == "string" ? c : c.displayName || c.name;
1290
+ h && (a = `
1288
1291
 
1289
- Check the top-level render call using <` + g + ">.");
1292
+ Check the top-level render call using <` + h + ">.");
1290
1293
  }
1291
1294
  return a;
1292
1295
  }
@@ -1296,12 +1299,12 @@ Check the top-level render call using <` + g + ">.");
1296
1299
  if (!c._store || c._store.validated || c.key != null)
1297
1300
  return;
1298
1301
  c._store.validated = !0;
1299
- var g = l2(a);
1300
- if (l3[g])
1302
+ var h = i2(a);
1303
+ if (l3[h])
1301
1304
  return;
1302
- l3[g] = !0;
1305
+ l3[h] = !0;
1303
1306
  var M = "";
1304
- c && c._owner && c._owner !== P1.current && (M = " It was passed a child from " + X(c._owner.type) + "."), t1(c), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, M), t1(null);
1307
+ c && c._owner && c._owner !== P1.current && (M = " It was passed a child from " + X(c._owner.type) + "."), t1(c), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, M), t1(null);
1305
1308
  }
1306
1309
  }
1307
1310
  function a3(c, a) {
@@ -1309,8 +1312,8 @@ Check the top-level render call using <` + g + ">.");
1309
1312
  if (typeof c != "object")
1310
1313
  return;
1311
1314
  if ($1(c))
1312
- for (var g = 0; g < c.length; g++) {
1313
- var M = c[g];
1315
+ for (var h = 0; h < c.length; h++) {
1316
+ var M = c[h];
1314
1317
  T1(M) && i3(M, a);
1315
1318
  }
1316
1319
  else if (T1(c))
@@ -1323,23 +1326,23 @@ Check the top-level render call using <` + g + ">.");
1323
1326
  }
1324
1327
  }
1325
1328
  }
1326
- function i2(c) {
1329
+ function a2(c) {
1327
1330
  {
1328
1331
  var a = c.type;
1329
1332
  if (a == null || typeof a == "string")
1330
1333
  return;
1331
- var g;
1334
+ var h;
1332
1335
  if (typeof a == "function")
1333
- g = a.propTypes;
1336
+ h = a.propTypes;
1334
1337
  else if (typeof a == "object" && (a.$$typeof === u || // Note: Memo only checks outer props here.
1335
1338
  // Inner props are checked in the reconciler.
1336
1339
  a.$$typeof === _))
1337
- g = a.propTypes;
1340
+ h = a.propTypes;
1338
1341
  else
1339
1342
  return;
1340
- if (g) {
1343
+ if (h) {
1341
1344
  var M = X(a);
1342
- z3(g, c.props, "prop", M, c);
1345
+ Y3(h, c.props, "prop", M, c);
1343
1346
  } else if (a.PropTypes !== void 0 && !E1) {
1344
1347
  E1 = !0;
1345
1348
  var P = X(a);
@@ -1348,10 +1351,10 @@ Check the top-level render call using <` + g + ">.");
1348
1351
  typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1349
1352
  }
1350
1353
  }
1351
- function a2(c) {
1354
+ function u2(c) {
1352
1355
  {
1353
- for (var a = Object.keys(c.props), g = 0; g < a.length; g++) {
1354
- var M = a[g];
1356
+ for (var a = Object.keys(c.props), h = 0; h < a.length; h++) {
1357
+ var M = a[h];
1355
1358
  if (M !== "children" && M !== "key") {
1356
1359
  t1(c), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", M), t1(null);
1357
1360
  break;
@@ -1361,18 +1364,18 @@ Check the top-level render call using <` + g + ">.");
1361
1364
  }
1362
1365
  }
1363
1366
  var u3 = {};
1364
- function d3(c, a, g, M, P, E) {
1367
+ function d3(c, a, h, M, P, E) {
1365
1368
  {
1366
1369
  var R = b1(c);
1367
1370
  if (!R) {
1368
1371
  var y = "";
1369
1372
  (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1370
- var V = r2();
1371
- V ? y += V : y += r3();
1373
+ var H = l2();
1374
+ H ? y += H : y += r3();
1372
1375
  var L;
1373
1376
  c === null ? L = "null" : $1(c) ? L = "array" : c !== void 0 && c.$$typeof === t ? (L = "<" + (X(c.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : L = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, y);
1374
1377
  }
1375
- var B = c2(c, a, g, P, E);
1378
+ var B = r2(c, a, h, P, E);
1376
1379
  if (B == null)
1377
1380
  return B;
1378
1381
  if (R) {
@@ -1389,30 +1392,30 @@ Check the top-level render call using <` + g + ">.");
1389
1392
  a3(q, c);
1390
1393
  }
1391
1394
  if (r1.call(a, "key")) {
1392
- var N = X(c), F = Object.keys(a).filter(function(f2) {
1393
- return f2 !== "key";
1395
+ var N = X(c), F = Object.keys(a).filter(function(m2) {
1396
+ return m2 !== "key";
1394
1397
  }), D1 = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
1395
1398
  if (!u3[N + D1]) {
1396
- var g2 = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
1399
+ var f2 = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
1397
1400
  S(`A props object containing a "key" prop is being spread into JSX:
1398
1401
  let props = %s;
1399
1402
  <%s {...props} />
1400
1403
  React keys must be passed directly to JSX without using spread:
1401
1404
  let props = %s;
1402
- <%s key={someKey} {...props} />`, D1, N, g2, N), u3[N + D1] = !0;
1405
+ <%s key={someKey} {...props} />`, D1, N, f2, N), u3[N + D1] = !0;
1403
1406
  }
1404
1407
  }
1405
- return c === s ? a2(B) : i2(B), B;
1408
+ return c === s ? u2(B) : a2(B), B;
1406
1409
  }
1407
1410
  }
1408
- function u2(c, a, g) {
1409
- return d3(c, a, g, !0);
1411
+ function d2(c, a, h) {
1412
+ return d3(c, a, h, !0);
1410
1413
  }
1411
- function d2(c, a, g) {
1412
- return d3(c, a, g, !1);
1414
+ function v2(c, a, h) {
1415
+ return d3(c, a, h, !1);
1413
1416
  }
1414
- var v2 = d2, h2 = u2;
1415
- a1.Fragment = s, a1.jsx = v2, a1.jsxs = h2;
1417
+ var g2 = v2, h2 = d2;
1418
+ a1.Fragment = s, a1.jsx = g2, a1.jsxs = h2;
1416
1419
  })()), a1;
1417
1420
  }
1418
1421
  var p3;
@@ -1431,7 +1434,7 @@ const Fe = "_mwfit_ppa3l_1", Ue = {
1431
1434
  ] }),
1432
1435
  s && /* @__PURE__ */ o.jsx("button", { className: "btn btn-secondary btn-lg", onPointerDown: e, children: "Reconnect" })
1433
1436
  ] });
1434
- }, W3 = j2({
1437
+ }, k3 = b2({
1435
1438
  sendMessage: () => null,
1436
1439
  sendSimpleMessage: () => null,
1437
1440
  addEventHandler: () => null,
@@ -1440,7 +1443,7 @@ const Fe = "_mwfit_ppa3l_1", Ue = {
1440
1443
  }), qe = ({ children: e }) => {
1441
1444
  const t = k1(), n = y3();
1442
1445
  S1(() => {
1443
- t(O3());
1446
+ t(W3());
1444
1447
  }, [t]);
1445
1448
  const s = l1(
1446
1449
  (u, f) => {
@@ -1462,25 +1465,25 @@ const Fe = "_mwfit_ppa3l_1", Ue = {
1462
1465
  t(_e(u, f));
1463
1466
  },
1464
1467
  [t]
1465
- ), h = l1(() => {
1468
+ ), g = l1(() => {
1466
1469
  t(Le());
1467
1470
  }, [t]);
1468
1471
  return /* @__PURE__ */ o.jsx(
1469
- W3.Provider,
1472
+ k3.Provider,
1470
1473
  {
1471
1474
  value: {
1472
1475
  sendMessage: s,
1473
1476
  sendSimpleMessage: r,
1474
1477
  addEventHandler: l,
1475
1478
  removeEventHandler: i,
1476
- reconnect: h
1479
+ reconnect: g
1477
1480
  },
1478
1481
  children: n ? e : /* @__PURE__ */ o.jsx(Ke, {})
1479
1482
  }
1480
1483
  );
1481
- }, kt = ({ children: e }) => /* @__PURE__ */ o.jsx(S2, { store: We, children: /* @__PURE__ */ o.jsx(qe, { children: e }) });
1484
+ }, V8 = ({ children: e }) => /* @__PURE__ */ o.jsx(Z2, { store: We, children: /* @__PURE__ */ o.jsx(qe, { children: e }) });
1482
1485
  function m() {
1483
- return b2(W3);
1486
+ return I2(k3);
1484
1487
  }
1485
1488
  function Ge({
1486
1489
  onPress: e,
@@ -1489,14 +1492,14 @@ function Ge({
1489
1492
  onPressedButNotHeld: s,
1490
1493
  holdTimeMs: r = 500
1491
1494
  }) {
1492
- const l = d1(null), i = d1(!1), h = d1(!1);
1495
+ const l = d1(null), i = d1(!1), g = d1(!1);
1493
1496
  function u() {
1494
- i.current = !0, h.current = !1, e == null || e(), l.current = setTimeout(() => {
1495
- h.current = !0, n == null || n(), l.current = null;
1497
+ i.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
1498
+ g.current = !0, n == null || n(), l.current = null;
1496
1499
  }, r);
1497
1500
  }
1498
1501
  function f() {
1499
- i.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, h.current || s == null || s());
1502
+ i.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || s == null || s());
1500
1503
  }
1501
1504
  function d() {
1502
1505
  i.current && f();
@@ -1521,23 +1524,23 @@ function w(e, t) {
1521
1524
  }
1522
1525
  function j1(e) {
1523
1526
  const { sendMessage: t } = m(), n = w(`${e}`, "volumeUp"), s = w(`${e}`, "volumeDown");
1524
- return D(() => ({
1527
+ return T(() => ({
1525
1528
  volumeUp: n,
1526
1529
  volumeDown: s,
1527
1530
  muteToggle: () => t(`${e}/muteToggle`, null)
1528
1531
  }), [e, t, n, s]);
1529
1532
  }
1530
- function Vt(e) {
1533
+ function H8(e) {
1531
1534
  const { sendMessage: t } = m(), n = w(`${e}`, "volumeUp"), s = w(`${e}`, "volumeDown");
1532
- return D(() => ({
1535
+ return T(() => ({
1533
1536
  volumeUp: n,
1534
1537
  volumeDown: s,
1535
1538
  muteToggle: () => t(`${e}/muteToggle`, null)
1536
1539
  }), [e, t, n, s]);
1537
1540
  }
1538
- function k3(e, t) {
1541
+ function V3(e, t) {
1539
1542
  const { sendMessage: n, sendSimpleMessage: s } = m(), r = j1(e);
1540
- return D(() => {
1543
+ return T(() => {
1541
1544
  if (!r) {
1542
1545
  console.log("baseVolume is undefined");
1543
1546
  return;
@@ -1555,9 +1558,9 @@ function k3(e, t) {
1555
1558
  };
1556
1559
  }, [r, t, e, n, s]);
1557
1560
  }
1558
- function Ht(e, t) {
1561
+ function F8(e, t) {
1559
1562
  const { sendMessage: n, sendSimpleMessage: s } = m(), r = j1(e);
1560
- return D(() => !r || !t ? void 0 : {
1563
+ return T(() => !r || !t ? void 0 : {
1561
1564
  ...r,
1562
1565
  volumeState: t,
1563
1566
  setLevel: (u) => s(`${e}/level`, u),
@@ -1566,13 +1569,13 @@ function Ht(e, t) {
1566
1569
  }, [r, t, e, n, s]);
1567
1570
  }
1568
1571
  function ze(e) {
1569
- const t = Z(e), n = `/device/${e}`, s = D(() => {
1572
+ const t = Z(e), n = `/device/${e}`, s = T(() => {
1570
1573
  if (t)
1571
1574
  return t.volume;
1572
1575
  }, [t]);
1573
- return k3(n, s);
1576
+ return V3(n, s);
1574
1577
  }
1575
- function V3(e) {
1578
+ function H3(e) {
1576
1579
  var i;
1577
1580
  const { sendMessage: t } = m(), n = (i = Z(e)) == null ? void 0 : i.powerState;
1578
1581
  return { powerOn: () => {
@@ -1594,14 +1597,14 @@ function Ye(e) {
1594
1597
  t(`/device/${e}/setDefaultChannelLevels`, null);
1595
1598
  }, r = () => {
1596
1599
  if ((n == null ? void 0 : n.levelControls) === void 0) return;
1597
- Object.keys(n == null ? void 0 : n.levelControls).forEach((h) => {
1598
- t(`/device/${e}/${h}/fullStatus`, null);
1600
+ Object.keys(n == null ? void 0 : n.levelControls).forEach((g) => {
1601
+ t(`/device/${e}/${g}/fullStatus`, null);
1599
1602
  });
1600
1603
  };
1601
1604
  return n ? { levelControls: n.levelControls, setDefaultChannelLevels: s, getFullStatus: r } : void 0;
1602
1605
  }
1603
- function Ft(e) {
1604
- const t = Z(e), n = V3(e), s = W1(e), r = W1(e), l = ze(e), i = Ye(e);
1606
+ function U8(e) {
1607
+ const t = Z(e), n = H3(e), s = W1(e), r = W1(e), l = ze(e), i = Ye(e);
1605
1608
  if (t)
1606
1609
  return {
1607
1610
  avrState: t,
@@ -1612,8 +1615,8 @@ function Ft(e) {
1612
1615
  mainVolumeControl: l
1613
1616
  };
1614
1617
  }
1615
- function Ut(e) {
1616
- const { sendMessage: t } = m(), n = `/device/${e}`, s = Z(e), r = w(n, "cameraUp"), l = w(n, "cameraDown"), i = w(n, "cameraLeft"), h = w(n, "cameraRight"), u = w(n, "cameraZoomIn"), f = w(n, "cameraZoomOut"), d = (_) => t("/camera/recallPreset", _);
1618
+ function K8(e) {
1619
+ const { sendMessage: t } = m(), n = `/device/${e}`, s = Z(e), r = w(n, "cameraUp"), l = w(n, "cameraDown"), i = w(n, "cameraLeft"), g = w(n, "cameraRight"), u = w(n, "cameraZoomIn"), f = w(n, "cameraZoomOut"), d = (_) => t("/camera/recallPreset", _);
1617
1620
  if (s)
1618
1621
  return {
1619
1622
  state: s,
@@ -1622,11 +1625,11 @@ function Ut(e) {
1622
1625
  up: r,
1623
1626
  down: l,
1624
1627
  left: i,
1625
- right: h,
1628
+ right: g,
1626
1629
  recallPreset: d
1627
1630
  };
1628
1631
  }
1629
- const Kt = ({ className: e }) => {
1632
+ const q8 = ({ className: e }) => {
1630
1633
  const [t, n] = Y();
1631
1634
  return S1(() => {
1632
1635
  setInterval(() => {
@@ -1638,30 +1641,30 @@ const Kt = ({ className: e }) => {
1638
1641
  " new change"
1639
1642
  ] });
1640
1643
  };
1641
- function qt(e) {
1644
+ function G8(e) {
1642
1645
  const { sendMessage: t } = m(), n = Z(e), s = `/device/${e}`;
1643
- return n ? { state: n, recallPreset: (i, h) => {
1644
- t(`${s}/presets/recall`, { deviceKey: i, preset: h });
1646
+ return n ? { state: n, recallPreset: (i, g) => {
1647
+ t(`${s}/presets/recall`, { deviceKey: i, preset: g });
1645
1648
  }, savePresets: (i) => {
1646
1649
  t(`${s}/presets/save`, i);
1647
1650
  } } : void 0;
1648
1651
  }
1649
- function Gt(e) {
1652
+ function z8(e) {
1650
1653
  const t = Z(e);
1651
1654
  if (t)
1652
1655
  return { endpointState: t };
1653
1656
  }
1654
- function zt(e) {
1657
+ function Y8(e) {
1655
1658
  const t = Z(e);
1656
1659
  if (t)
1657
1660
  return {
1658
1661
  state: t
1659
1662
  };
1660
1663
  }
1661
- function Yt(e) {
1662
- const { sendMessage: t } = m(), n = Z(e), s = D(() => {
1664
+ function J8(e) {
1665
+ const { sendMessage: t } = m(), n = Z(e), s = T(() => {
1663
1666
  const r = `/device/${e}`;
1664
- return { setEntry: (h, u, f) => t(`${r}/setEntry`, { index: h, name: u, number: f }), dialEntry: (h) => t(`${r}/dialEntry`, { value: h }) };
1667
+ return { setEntry: (g, u, f) => t(`${r}/setEntry`, { index: g, name: u, number: f }), dialEntry: (g) => t(`${r}/dialEntry`, { value: g }) };
1665
1668
  }, [e, t]);
1666
1669
  if (n)
1667
1670
  return {
@@ -1669,36 +1672,36 @@ function Yt(e) {
1669
1672
  ...s
1670
1673
  };
1671
1674
  }
1672
- function Jt(e) {
1673
- const t = `/device/${e}`, n = w(t, "chanUp"), s = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), i = w(t, "info"), h = w(t, "exit");
1674
- return { channelUp: n, channelDown: s, lastChannel: r, guide: l, info: i, exit: h };
1675
+ function X8(e) {
1676
+ const t = `/device/${e}`, n = w(t, "chanUp"), s = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), i = w(t, "info"), g = w(t, "exit");
1677
+ return { channelUp: n, channelDown: s, lastChannel: r, guide: l, info: i, exit: g };
1675
1678
  }
1676
- function Xt(e) {
1679
+ function Q8(e) {
1677
1680
  const t = `/device/${e}`, n = w(t, "red"), s = w(t, "green"), r = w(t, "yellow"), l = w(t, "blue");
1678
1681
  return { red: n, green: s, yellow: r, blue: l };
1679
1682
  }
1680
- function Qt(e) {
1683
+ function N8(e) {
1681
1684
  const t = Z(e);
1682
1685
  if (t)
1683
1686
  return {
1684
1687
  communicationMonitorState: t
1685
1688
  };
1686
1689
  }
1687
- function Nt(e) {
1690
+ function e6(e) {
1688
1691
  const t = Z(e);
1689
1692
  if (t)
1690
1693
  return {
1691
1694
  currentSourcesState: t
1692
1695
  };
1693
1696
  }
1694
- function e6(e) {
1697
+ function t6(e) {
1695
1698
  const t = Z(e);
1696
1699
  if (t)
1697
1700
  return t.deviceInfo || void 0;
1698
1701
  }
1699
- function t6(e) {
1702
+ function n6(e) {
1700
1703
  const { sendMessage: t } = m(), n = Z(e);
1701
- return D(() => {
1704
+ return T(() => {
1702
1705
  if (!n) return;
1703
1706
  const s = `/device/${e}`;
1704
1707
  return {
@@ -1712,11 +1715,11 @@ function t6(e) {
1712
1715
  };
1713
1716
  }, [e, t, n]);
1714
1717
  }
1715
- function n6(e) {
1716
- const t = `/device/${e}`, n = w(t, "up"), s = w(t, "down"), r = w(t, "left"), l = w(t, "right"), i = w(t, "select"), h = w(t, "menu"), u = w(t, "exit");
1717
- return { up: n, down: s, left: r, right: l, select: i, menu: h, exit: u };
1718
- }
1719
1718
  function o6(e) {
1719
+ const t = `/device/${e}`, n = w(t, "up"), s = w(t, "down"), r = w(t, "left"), l = w(t, "right"), i = w(t, "select"), g = w(t, "menu"), u = w(t, "exit");
1720
+ return { up: n, down: s, left: r, right: l, select: i, menu: g, exit: u };
1721
+ }
1722
+ function s6(e) {
1720
1723
  const { sendMessage: t } = m();
1721
1724
  return { recallPreset: (s) => {
1722
1725
  t(
@@ -1725,11 +1728,11 @@ function o6(e) {
1725
1728
  );
1726
1729
  } };
1727
1730
  }
1728
- function s6(e) {
1731
+ function c6(e) {
1729
1732
  const t = `/device/${e}`, n = w(t, "dvrList"), s = w(t, "record");
1730
1733
  return { dvrList: n, record: s };
1731
1734
  }
1732
- function c6(e) {
1735
+ function r6(e) {
1733
1736
  const { sendMessage: t } = m(), n = Z(e);
1734
1737
  return n ? { roomCombinerState: n, setAutoMode: () => {
1735
1738
  t(`/device/${e}/setAutoMode`, null);
@@ -1743,9 +1746,9 @@ function c6(e) {
1743
1746
  t(`/device/${e}/setRoomCombinationScenario`, u);
1744
1747
  } } : void 0;
1745
1748
  }
1746
- function r6(e) {
1749
+ function l6(e) {
1747
1750
  const { sendMessage: t } = m(), n = Z(e);
1748
- return D(() => {
1751
+ return T(() => {
1749
1752
  if (!n) return;
1750
1753
  const s = `/device/${e}`;
1751
1754
  return {
@@ -1756,7 +1759,7 @@ function r6(e) {
1756
1759
  };
1757
1760
  }, [e, t, n]);
1758
1761
  }
1759
- function l6(e) {
1762
+ function i6(e) {
1760
1763
  var i;
1761
1764
  const { sendMessage: t } = m(), n = (i = Z(e)) == null ? void 0 : i.cameraIsMuted, s = () => {
1762
1765
  t(`/device/${e}/cameraMuteOn`, null);
@@ -1768,7 +1771,7 @@ function l6(e) {
1768
1771
  if (n)
1769
1772
  return { cameraMuteOn: s, cameraMuteOff: r, cameraMuteToggle: l, cameraIsMuted: n };
1770
1773
  }
1771
- function i6(e) {
1774
+ function a6(e) {
1772
1775
  var l;
1773
1776
  const { sendMessage: t } = m(), n = (l = Z(e)) == null ? void 0 : l.presets, s = (i) => {
1774
1777
  t(`/device/${e}/recallPreset`, i);
@@ -1778,7 +1781,7 @@ function i6(e) {
1778
1781
  if (n)
1779
1782
  return { recallPreset: s, savePreset: r, presets: n };
1780
1783
  }
1781
- function a6(e) {
1784
+ function u6(e) {
1782
1785
  const { sendMessage: t } = m(), n = `/device/${e}`, s = Z(e);
1783
1786
  return s ? {
1784
1787
  state: s,
@@ -1787,9 +1790,9 @@ function a6(e) {
1787
1790
  }
1788
1791
  } : void 0;
1789
1792
  }
1790
- function u6(e) {
1793
+ function d6(e) {
1791
1794
  const { sendMessage: t } = m();
1792
- return D(() => {
1795
+ return T(() => {
1793
1796
  const n = `/device/${e}`;
1794
1797
  return {
1795
1798
  recallPreset: (l) => t(`${n}/recallPreset`, { value: l }),
@@ -1797,9 +1800,9 @@ function u6(e) {
1797
1800
  };
1798
1801
  }, [e, t]);
1799
1802
  }
1800
- function d6(e) {
1803
+ function v6(e) {
1801
1804
  const { sendMessage: t } = m(), n = Z(e);
1802
- return D(() => n ? {
1805
+ return T(() => n ? {
1803
1806
  state: n,
1804
1807
  dial: (u) => t(`/device/${e}/dial`, { value: u }),
1805
1808
  endAllCalls: () => t(`/device/${e}/endAllCalls`, null),
@@ -1808,9 +1811,9 @@ function d6(e) {
1808
1811
  rejectCall: (u) => t(`/device/${e}/rejectCall`, u)
1809
1812
  } : void 0, [e, t, n]);
1810
1813
  }
1811
- function v6(e) {
1814
+ function g6(e) {
1812
1815
  const { sendMessage: t } = m(), n = Z(e);
1813
- return D(() => {
1816
+ return T(() => {
1814
1817
  if (!n) return;
1815
1818
  const s = `/device/${e}`;
1816
1819
  return {
@@ -1824,7 +1827,7 @@ function v6(e) {
1824
1827
  }
1825
1828
  function h6(e) {
1826
1829
  const { sendMessage: t } = m(), n = Z(e);
1827
- return D(() => {
1830
+ return T(() => {
1828
1831
  if (!n) return;
1829
1832
  const s = `/device/${e}`;
1830
1833
  return {
@@ -1835,9 +1838,9 @@ function h6(e) {
1835
1838
  };
1836
1839
  }, [e, t, n]);
1837
1840
  }
1838
- function g6(e) {
1841
+ function f6(e) {
1839
1842
  const { sendMessage: t } = m(), n = Z(e);
1840
- return D(() => {
1843
+ return T(() => {
1841
1844
  if (!n) return;
1842
1845
  const s = `/device/${e}`;
1843
1846
  return {
@@ -1849,9 +1852,9 @@ function g6(e) {
1849
1852
  };
1850
1853
  }, [e, t, n]);
1851
1854
  }
1852
- function f6(e) {
1855
+ function m6(e) {
1853
1856
  const { sendMessage: t } = m();
1854
- return D(() => {
1857
+ return T(() => {
1855
1858
  const n = `/device/${e}`;
1856
1859
  return {
1857
1860
  muteAllParticipants: () => t(`${n}/muteAllParticipants`, null),
@@ -1862,20 +1865,20 @@ function f6(e) {
1862
1865
  }
1863
1866
  function w6(e) {
1864
1867
  const { sendMessage: t } = m(), n = Z(e);
1865
- return D(() => {
1868
+ return T(() => {
1866
1869
  if (!n) return;
1867
1870
  const s = `/device/${e}`;
1868
1871
  return {
1869
1872
  state: n,
1870
- pinParticipant: (h, u) => t(`${s}/pinParticipant`, { userId: h, screenIndex: u }),
1871
- unpinParticipant: (h) => t(`${s}/unpinParticipant`, { value: h }),
1872
- toggleParticipantPin: (h, u) => t(`${s}/toggleParticipantPin`, { userId: h, screenIndex: u })
1873
+ pinParticipant: (g, u) => t(`${s}/pinParticipant`, { userId: g, screenIndex: u }),
1874
+ unpinParticipant: (g) => t(`${s}/unpinParticipant`, { value: g }),
1875
+ toggleParticipantPin: (g, u) => t(`${s}/toggleParticipantPin`, { userId: g, screenIndex: u })
1873
1876
  };
1874
1877
  }, [e, t, n]);
1875
1878
  }
1876
- function m6(e) {
1879
+ function p6(e) {
1877
1880
  const { sendMessage: t } = m(), n = Z(e);
1878
- return D(() => {
1881
+ return T(() => {
1879
1882
  if (!n) return;
1880
1883
  const s = `/device/${e}`;
1881
1884
  return {
@@ -1889,22 +1892,22 @@ function m6(e) {
1889
1892
  };
1890
1893
  }, [e, t, n]);
1891
1894
  }
1892
- function p6(e) {
1895
+ function M6(e) {
1893
1896
  const { sendMessage: t } = m(), n = Z(e);
1894
- return D(() => {
1897
+ return T(() => {
1895
1898
  if (!n) return;
1896
1899
  const s = `/device/${e}`;
1897
1900
  return {
1898
1901
  state: n,
1899
- dialPhoneCall: (h) => t(`${s}/dialPhoneCall`, { value: h }),
1902
+ dialPhoneCall: (g) => t(`${s}/dialPhoneCall`, { value: g }),
1900
1903
  endPhoneCall: () => t(`${s}/endPhoneCall`, null),
1901
- sendDtmfToPhone: (h) => t(`${s}/sendDtmfToPhone`, { value: h })
1904
+ sendDtmfToPhone: (g) => t(`${s}/sendDtmfToPhone`, { value: g })
1902
1905
  };
1903
1906
  }, [e, t, n]);
1904
1907
  }
1905
- function M6(e) {
1908
+ function x6(e) {
1906
1909
  const { sendMessage: t } = m();
1907
- return D(() => {
1910
+ return T(() => {
1908
1911
  const n = `/device/${e}`;
1909
1912
  return {
1910
1913
  dialPresent: () => t(`${n}/dialPresent`, null),
@@ -1912,9 +1915,9 @@ function M6(e) {
1912
1915
  };
1913
1916
  }, [e, t]);
1914
1917
  }
1915
- function x6(e) {
1918
+ function S6(e) {
1916
1919
  const { sendMessage: t } = m(), n = Z(e);
1917
- return D(() => {
1920
+ return T(() => {
1918
1921
  if (!n) return;
1919
1922
  const s = `/device/${e}`;
1920
1923
  return {
@@ -1924,9 +1927,9 @@ function x6(e) {
1924
1927
  };
1925
1928
  }, [e, t, n]);
1926
1929
  }
1927
- function S6(e) {
1930
+ function Z6(e) {
1928
1931
  const { sendMessage: t } = m(), n = Z(e);
1929
- return D(() => {
1932
+ return T(() => {
1930
1933
  if (!n) return;
1931
1934
  const s = `/device/${e}`;
1932
1935
  return {
@@ -1936,9 +1939,21 @@ function S6(e) {
1936
1939
  };
1937
1940
  }, [e, t, n]);
1938
1941
  }
1939
- function Z6(e) {
1942
+ function C6(e) {
1940
1943
  const { sendMessage: t } = m(), n = Z(e);
1941
- return D(() => {
1944
+ return T(() => {
1945
+ if (!n) return;
1946
+ const s = `/device/${e}`;
1947
+ return {
1948
+ state: n,
1949
+ startMeeting: (i) => t(`${s}/startMeeting`, { value: i }),
1950
+ leaveMeeting: () => t(`${s}/leaveMeeting`, null)
1951
+ };
1952
+ }, [e, t, n]);
1953
+ }
1954
+ function j6(e) {
1955
+ const { sendMessage: t } = m(), n = Z(e);
1956
+ return T(() => {
1942
1957
  if (!n) return;
1943
1958
  const s = `/device/${e}`;
1944
1959
  return {
@@ -1950,8 +1965,8 @@ function Z6(e) {
1950
1965
  };
1951
1966
  }, [e, t, n]);
1952
1967
  }
1953
- function C6(e) {
1954
- const { sendMessage: t, sendSimpleMessage: n } = m(), s = Z(e), r = ne(e), l = s || r;
1968
+ function b6(e) {
1969
+ const { sendMessage: t, sendSimpleMessage: n } = m(), s = Z(e), r = oe(e), l = s || r;
1955
1970
  return l ? {
1956
1971
  levelState: l,
1957
1972
  setLevel: (d, _) => n(`${d}/level`, _),
@@ -1960,33 +1975,33 @@ function C6(e) {
1960
1975
  muteOff: (d) => t(`${d}/muteOff`, null)
1961
1976
  } : void 0;
1962
1977
  }
1963
- function j6(e) {
1978
+ function I6(e) {
1964
1979
  const { sendMessage: t } = m(), n = Z(e);
1965
1980
  return n ? { lightingState: n, selectScene: (r) => {
1966
1981
  t(`/device/${e}/selectScene`, r);
1967
1982
  } } : void 0;
1968
1983
  }
1969
- function b6(e) {
1984
+ function y6(e) {
1970
1985
  const { sendMessage: t } = m(), n = Z(e);
1971
1986
  return n ? { matrixRoutingState: n, setRoute: (r) => {
1972
1987
  t(`/device/${e}/route`, r);
1973
1988
  } } : void 0;
1974
1989
  }
1975
- function I6(e) {
1990
+ function R6(e) {
1976
1991
  const { sendMessage: t } = m();
1977
1992
  return { closeApp: () => {
1978
1993
  t(`/device/${e}/closeWebViewController`, null);
1979
1994
  } };
1980
1995
  }
1981
- function y6(e) {
1982
- const t = `/device/${e}`, n = w(t, "num0"), s = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), i = w(t, "num4"), h = w(t, "num5"), u = w(t, "num6"), f = w(t, "num7"), d = w(t, "num8"), _ = w(t, "num9"), A = w(t, "numDash"), v = w(t, "numEnter");
1996
+ function $6(e) {
1997
+ const t = `/device/${e}`, n = w(t, "num0"), s = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), i = w(t, "num4"), g = w(t, "num5"), u = w(t, "num6"), f = w(t, "num7"), d = w(t, "num8"), _ = w(t, "num9"), A = w(t, "numDash"), v = w(t, "numEnter");
1983
1998
  return {
1984
1999
  digit0: n,
1985
2000
  digit1: s,
1986
2001
  digit2: r,
1987
2002
  digit3: l,
1988
2003
  digit4: i,
1989
- digit5: h,
2004
+ digit5: g,
1990
2005
  digit6: u,
1991
2006
  digit7: f,
1992
2007
  digit8: d,
@@ -1995,7 +2010,7 @@ function y6(e) {
1995
2010
  keypadAccessoryButton2: v
1996
2011
  };
1997
2012
  }
1998
- function R6(e) {
2013
+ function P6(e) {
1999
2014
  const { sendMessage: t } = m(), n = Z(e);
2000
2015
  return n ? { projectorScreenLiftControlState: n, raise: () => {
2001
2016
  t(`/device/${e}/raise`, null);
@@ -2003,35 +2018,35 @@ function R6(e) {
2003
2018
  t(`/device/${e}/lower`, null);
2004
2019
  } } : void 0;
2005
2020
  }
2006
- function $6(e) {
2021
+ function E6(e) {
2007
2022
  const { sendMessage: t } = m(), n = C1(e);
2008
2023
  return n ? { roomEventScheduleState: n, save: (r) => {
2009
2024
  t(`/room/${e}/saveScheduledEvents`, r);
2010
2025
  } } : void 0;
2011
2026
  }
2012
- function P6(e) {
2027
+ function T6(e) {
2013
2028
  const { sendMessage: t } = m();
2014
2029
  return { runDefaultPresentRoute: () => {
2015
2030
  t(`/room/${e}/defaultsource`, {});
2016
2031
  } };
2017
2032
  }
2018
- function E6(e) {
2033
+ function D6(e) {
2019
2034
  const { sendMessage: t } = m();
2020
2035
  return { runDirectRoute: (s) => {
2021
2036
  t(`/room/${e}/directRoute`, s);
2022
2037
  } };
2023
2038
  }
2024
- function T6(e) {
2039
+ function A6(e) {
2025
2040
  const { sendMessage: t } = m();
2026
2041
  return { routingState: Z(e), runRoute: (r) => {
2027
2042
  t(`/room/${e}/source`, r);
2028
2043
  } };
2029
2044
  }
2030
- function D6(e) {
2045
+ function _6(e) {
2031
2046
  const t = `/device/${e}`, n = w(t, "chanUp"), s = w(t, "chanDown");
2032
2047
  return { dvrList: n, replay: s };
2033
2048
  }
2034
- function A6(e) {
2049
+ function L6(e) {
2035
2050
  const { sendMessage: t } = m(), n = Z(e);
2036
2051
  return n ? { shadeState: n, shadeUp: () => {
2037
2052
  t(`/device/${e}/shadeUp`, null);
@@ -2041,10 +2056,10 @@ function A6(e) {
2041
2056
  t(`/device/${e}/stopOrPreset`, null);
2042
2057
  } } : void 0;
2043
2058
  }
2044
- function _6(e) {
2059
+ function B6(e) {
2045
2060
  const { sendMessage: t } = m(), n = C1(e);
2046
- return n ? { shutdownPromptTimerState: n, setShutdownPromptSeconds: (h) => {
2047
- t(`/room/${e}/setShutdownPromptSeconds`, h);
2061
+ return n ? { shutdownPromptTimerState: n, setShutdownPromptSeconds: (g) => {
2062
+ t(`/room/${e}/setShutdownPromptSeconds`, g);
2048
2063
  }, shutdownStart: () => {
2049
2064
  t(`/room/${e}/shutdownStart`, null);
2050
2065
  }, shutdownEnd: () => {
@@ -2053,7 +2068,7 @@ function _6(e) {
2053
2068
  t(`/room/${e}/shutdownCancel`, null);
2054
2069
  } } : void 0;
2055
2070
  }
2056
- function L6(e) {
2071
+ function O6(e) {
2057
2072
  const { sendMessage: t } = m(), n = Z(e);
2058
2073
  return n ? { switchedOutputState: n, on: () => {
2059
2074
  t(`/device/${e}/on`, null);
@@ -2061,7 +2076,7 @@ function L6(e) {
2061
2076
  t(`/device/${e}/off`, null);
2062
2077
  } } : void 0;
2063
2078
  }
2064
- function B6(e) {
2079
+ function W6(e) {
2065
2080
  const { sendMessage: t } = m(), n = C1(e);
2066
2081
  return n ? { techPasswordState: n, validatePassword: (l) => {
2067
2082
  t(`/room/${e}/validateTechPassword`, { password: l });
@@ -2069,11 +2084,11 @@ function B6(e) {
2069
2084
  t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: i });
2070
2085
  } } : void 0;
2071
2086
  }
2072
- function O6(e) {
2087
+ function k6(e) {
2073
2088
  const { sendMessage: t } = m(), n = Z(e);
2074
2089
  return n ? { state: n, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
2075
2090
  }
2076
- function W6(e) {
2091
+ function V6(e) {
2077
2092
  const { sendMessage: t } = m(), n = Z(e), s = (r) => {
2078
2093
  t(`/device/${e}/saveTheme`, { value: r });
2079
2094
  };
@@ -2082,27 +2097,27 @@ function W6(e) {
2082
2097
  saveTheme: s
2083
2098
  };
2084
2099
  }
2085
- function k6(e) {
2086
- const t = `/device/${e}`, n = w(t, "play"), s = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), i = w(t, "nextTrack"), h = w(t, "rewind"), u = w(t, "ffwd"), f = w(t, "record");
2100
+ function H6(e) {
2101
+ const t = `/device/${e}`, n = w(t, "play"), s = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), i = w(t, "nextTrack"), g = w(t, "rewind"), u = w(t, "ffwd"), f = w(t, "record");
2087
2102
  return {
2088
2103
  play: n,
2089
2104
  pause: s,
2090
2105
  stop: r,
2091
2106
  prevTrack: l,
2092
2107
  nextTrack: i,
2093
- rewind: h,
2108
+ rewind: g,
2094
2109
  fastForward: u,
2095
2110
  record: f
2096
2111
  };
2097
2112
  }
2098
- function V6(e) {
2113
+ function F6(e) {
2099
2114
  const t = Z(e);
2100
- return D(() => {
2115
+ return T(() => {
2101
2116
  if (t)
2102
2117
  return { state: t };
2103
2118
  }, [t]);
2104
2119
  }
2105
- function H6(e) {
2120
+ function U6(e) {
2106
2121
  const t = Z(e), { sendMessage: n } = m();
2107
2122
  return t ? {
2108
2123
  touchpanelState: t,
@@ -2118,8 +2133,8 @@ function H6(e) {
2118
2133
  } }
2119
2134
  } : void 0;
2120
2135
  }
2121
- function F6(e) {
2122
- const t = Z(e), n = V3(e), s = W1(e);
2136
+ function K6(e) {
2137
+ const t = Z(e), n = H3(e), s = W1(e);
2123
2138
  if (!t) return;
2124
2139
  const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
2125
2140
  return {
@@ -2129,9 +2144,9 @@ function F6(e) {
2129
2144
  powerFb: { powerOnFb: r, powerOffFb: l }
2130
2145
  };
2131
2146
  }
2132
- function U6(e) {
2147
+ function q6(e) {
2133
2148
  const { sendMessage: t } = m(), n = Z(e);
2134
- return D(() => {
2149
+ return T(() => {
2135
2150
  if (!n) return;
2136
2151
  const s = `/device/${e}`;
2137
2152
  return {
@@ -2147,15 +2162,15 @@ function U6(e) {
2147
2162
  };
2148
2163
  }, [e, t, n]);
2149
2164
  }
2150
- function K6(e) {
2165
+ function G6(e) {
2151
2166
  const t = `/device/${e}`;
2152
2167
  return j1(t);
2153
2168
  }
2154
- const q6 = ({
2169
+ const z6 = ({
2155
2170
  config: e
2156
2171
  }, t = !0) => {
2157
- const { sendMessage: n } = m(), s = d1(!1), r = D(() => {
2158
- var i, h, u, f;
2172
+ const { sendMessage: n } = m(), s = d1(!1), r = T(() => {
2173
+ var i, g, u, f;
2159
2174
  if (!e)
2160
2175
  return;
2161
2176
  const l = /* @__PURE__ */ new Set();
@@ -2167,7 +2182,7 @@ const q6 = ({
2167
2182
  (d) => {
2168
2183
  d.itemKey ? l.add(d.parentDeviceKey + "--" + d.itemKey) : l.add(d.parentDeviceKey);
2169
2184
  }
2170
- ), (h = e.touchpanelKeys) == null || h.forEach((d) => {
2185
+ ), (g = e.touchpanelKeys) == null || g.forEach((d) => {
2171
2186
  l.add(d);
2172
2187
  }), (u = e.environmentalDevices) == null || u.forEach((d) => {
2173
2188
  d.deviceKey && l.add(d.deviceKey);
@@ -2181,32 +2196,33 @@ const q6 = ({
2181
2196
  return l;
2182
2197
  }, [e]);
2183
2198
  return S1(() => {
2184
- !t || !r || r.size === 0 || s.current || (console.log("requesting state for deviceKeys:", r), r.forEach((l) => {
2185
- n(`/device/${l}/fullStatus`, { deviceKey: l });
2186
- }), s.current = !0);
2199
+ if (!t || !r || r.size === 0 || s.current)
2200
+ return;
2201
+ const l = Array.from(r);
2202
+ console.log("requesting batch state for deviceKeys:", l), n("/system/batchDeviceFullStatus", { deviceKeys: l }), s.current = !0;
2187
2203
  }, [r, t, n]), r;
2188
2204
  };
2189
- function G6(e, t) {
2205
+ function Y6(e, t) {
2190
2206
  const [n, s] = Y(!1), [r, l] = Y(!1);
2191
2207
  return S3(() => {
2192
- const { current: i } = e, h = () => {
2208
+ const { current: i } = e, g = () => {
2193
2209
  const u = i && i.scrollHeight > i.clientHeight, f = i && i.scrollWidth > i.clientWidth;
2194
2210
  l(u ?? !1), s(f ?? !1), t && t(u ?? !1, f ?? !1);
2195
2211
  };
2196
- i && h();
2212
+ i && g();
2197
2213
  }, [e, t]), { overflowHorizontal: n, overflowVertical: r };
2198
2214
  }
2199
- function z6(e, t) {
2215
+ function J6(e, t) {
2200
2216
  const n = `/room/${e}/volumes/${t}`;
2201
2217
  return j1(n);
2202
2218
  }
2203
- function Y6(e, t) {
2204
- const n = te(e, t), s = `/room/${e}/volumes/${t}`;
2205
- return k3(s, n);
2219
+ function X6(e, t) {
2220
+ const n = ne(e, t), s = `/room/${e}/volumes/${t}`;
2221
+ return V3(s, n);
2206
2222
  }
2207
- function J6(e) {
2208
- var h, u;
2209
- const [t, n] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollLeft) ?? 0), [s, r] = Y(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollTop) ?? 0), l = (f) => {
2223
+ function Q6(e) {
2224
+ var g, u;
2225
+ const [t, n] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [s, r] = Y(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollTop) ?? 0), l = (f) => {
2210
2226
  const { current: d } = e;
2211
2227
  d && (console.log(d.scrollLeft), d.scrollLeft += f, console.log(d.scrollLeft));
2212
2228
  }, i = (f) => {
@@ -2220,15 +2236,15 @@ function J6(e) {
2220
2236
  f && d();
2221
2237
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: s, scrollHorizontal: l, scrollVertical: i };
2222
2238
  }
2223
- function X6(e) {
2239
+ function N6(e) {
2224
2240
  const t = k1();
2225
2241
  return [() => {
2226
- t(H.addSyncState(e));
2242
+ t(k.addSyncState(e));
2227
2243
  }, () => {
2228
- t(H.removeSyncState(e));
2244
+ t(k.removeSyncState(e));
2229
2245
  }, Se(e)];
2230
2246
  }
2231
- function Q6() {
2247
+ function en() {
2232
2248
  const { sendMessage: e } = m();
2233
2249
  return {
2234
2250
  reboot: () => {
@@ -2239,7 +2255,7 @@ function Q6() {
2239
2255
  }
2240
2256
  };
2241
2257
  }
2242
- function N6() {
2258
+ function tn() {
2243
2259
  const [e, t] = Y(), [n, s] = Y();
2244
2260
  function r() {
2245
2261
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -2254,10 +2270,10 @@ function N6() {
2254
2270
  return () => clearInterval(l);
2255
2271
  }, []), { date: e, time: n };
2256
2272
  }
2257
- const en = () => {
2258
- const [e, t] = Y(!1), n = I2(), s = y2();
2273
+ const nn = () => {
2274
+ const [e, t] = Y(!1), n = y2(), s = R2();
2259
2275
  let r;
2260
- return R2(s) ? r = s.statusText : s instanceof Error ? r = s.message : typeof s == "string" ? r = s : (console.error(s), r = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
2276
+ return $2(s) ? r = s.statusText : s instanceof Error ? r = s.message : typeof s == "string" ? r = s : (console.error(s), r = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
2261
2277
  /* @__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." }) }),
2262
2278
  /* @__PURE__ */ o.jsx(
2263
2279
  "button",
@@ -2289,14 +2305,14 @@ const en = () => {
2289
2305
  iconClassName: r = "",
2290
2306
  otherContentClassName: l = "",
2291
2307
  disabled: i,
2292
- feedback: h,
2308
+ feedback: g,
2293
2309
  feedbackClassName: u,
2294
2310
  onPointerDown: f,
2295
2311
  onPointerUp: d,
2296
2312
  onPointerLeave: _,
2297
2313
  ...A
2298
2314
  }) => {
2299
- const [v, C] = Y(!1), b = !i && h ? u : "", j = !i && (v || h);
2315
+ const [v, C] = Y(!1), b = !i && g ? u : "", j = !i && (v || g);
2300
2316
  return /* @__PURE__ */ o.jsxs(
2301
2317
  "button",
2302
2318
  {
@@ -2332,7 +2348,7 @@ const en = () => {
2332
2348
  EnabledImage: n,
2333
2349
  active: s,
2334
2350
  disabled: r
2335
- }) => r ? t : s ? e : n, e8 = ({
2351
+ }) => r ? t : s ? e : n, et = ({
2336
2352
  active: e,
2337
2353
  className: t = "",
2338
2354
  disabled: n
@@ -2384,7 +2400,7 @@ const en = () => {
2384
2400
  active: e,
2385
2401
  disabled: n
2386
2402
  }
2387
- ), t8 = ({
2403
+ ), tt = ({
2388
2404
  active: e,
2389
2405
  className: t = "",
2390
2406
  disabled: n
@@ -2433,7 +2449,7 @@ const en = () => {
2433
2449
  active: e,
2434
2450
  disabled: n
2435
2451
  }
2436
- ), n8 = ({
2452
+ ), nt = ({
2437
2453
  active: e,
2438
2454
  className: t = "",
2439
2455
  disabled: n
@@ -2473,7 +2489,7 @@ const en = () => {
2473
2489
  active: e,
2474
2490
  disabled: n
2475
2491
  }
2476
- ), o8 = ({
2492
+ ), ot = ({
2477
2493
  active: e,
2478
2494
  className: t = "",
2479
2495
  disabled: n
@@ -2522,7 +2538,7 @@ const en = () => {
2522
2538
  active: e,
2523
2539
  disabled: n
2524
2540
  }
2525
- ), s8 = ({
2541
+ ), st = ({
2526
2542
  active: e,
2527
2543
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2528
2544
  className: t = "",
@@ -2590,7 +2606,7 @@ const en = () => {
2590
2606
  active: e,
2591
2607
  disabled: n
2592
2608
  }
2593
- ), c8 = ({
2609
+ ), ct = ({
2594
2610
  active: e,
2595
2611
  className: t = "",
2596
2612
  disabled: n
@@ -2639,7 +2655,7 @@ const en = () => {
2639
2655
  active: e,
2640
2656
  disabled: n
2641
2657
  }
2642
- ), r8 = ({
2658
+ ), rt = ({
2643
2659
  active: e,
2644
2660
  className: t = "",
2645
2661
  disabled: n
@@ -2688,7 +2704,7 @@ const en = () => {
2688
2704
  active: e,
2689
2705
  disabled: n
2690
2706
  }
2691
- ), l8 = ({
2707
+ ), lt = ({
2692
2708
  active: e,
2693
2709
  className: t = "",
2694
2710
  disabled: n
@@ -2737,7 +2753,7 @@ const en = () => {
2737
2753
  active: e,
2738
2754
  disabled: n
2739
2755
  }
2740
- ), i8 = ({
2756
+ ), it = ({
2741
2757
  active: e,
2742
2758
  className: t = "",
2743
2759
  disabled: n
@@ -2786,7 +2802,7 @@ const en = () => {
2786
2802
  active: e,
2787
2803
  disabled: n
2788
2804
  }
2789
- ), a8 = ({
2805
+ ), at = ({
2790
2806
  active: e,
2791
2807
  className: t = "",
2792
2808
  disabled: n
@@ -2835,7 +2851,7 @@ const en = () => {
2835
2851
  active: e,
2836
2852
  disabled: n
2837
2853
  }
2838
- ), u8 = ({
2854
+ ), ut = ({
2839
2855
  active: e,
2840
2856
  // Just to shut up the linter on this template. Prefer deleting this lint rule
2841
2857
  className: t = "",
@@ -2903,7 +2919,7 @@ const en = () => {
2903
2919
  active: e,
2904
2920
  disabled: n
2905
2921
  }
2906
- ), d8 = ({
2922
+ ), dt = ({
2907
2923
  active: e,
2908
2924
  className: t = "",
2909
2925
  disabled: n
@@ -2952,7 +2968,7 @@ const en = () => {
2952
2968
  active: e,
2953
2969
  disabled: n
2954
2970
  }
2955
- ), v8 = ({
2971
+ ), vt = ({
2956
2972
  active: e,
2957
2973
  className: t = "",
2958
2974
  disabled: n
@@ -3001,7 +3017,7 @@ const en = () => {
3001
3017
  active: e,
3002
3018
  disabled: n
3003
3019
  }
3004
- ), h8 = ({
3020
+ ), gt = ({
3005
3021
  active: e,
3006
3022
  className: t = "",
3007
3023
  disabled: n
@@ -3050,7 +3066,7 @@ const en = () => {
3050
3066
  active: e,
3051
3067
  disabled: n
3052
3068
  }
3053
- ), g8 = ({
3069
+ ), ht = ({
3054
3070
  active: e,
3055
3071
  className: t = "",
3056
3072
  disabled: n
@@ -3099,7 +3115,7 @@ const en = () => {
3099
3115
  active: e,
3100
3116
  disabled: n
3101
3117
  }
3102
- ), f8 = ({
3118
+ ), ft = ({
3103
3119
  active: e,
3104
3120
  className: t = "",
3105
3121
  disabled: n
@@ -3121,7 +3137,7 @@ const en = () => {
3121
3137
  active: e,
3122
3138
  disabled: n
3123
3139
  }
3124
- ), w8 = ({
3140
+ ), mt = ({
3125
3141
  active: e,
3126
3142
  className: t = "",
3127
3143
  disabled: n
@@ -3170,7 +3186,7 @@ const en = () => {
3170
3186
  active: e,
3171
3187
  disabled: n
3172
3188
  }
3173
- ), m8 = ({
3189
+ ), wt = ({
3174
3190
  active: e,
3175
3191
  className: t = "",
3176
3192
  disabled: n
@@ -3219,7 +3235,7 @@ const en = () => {
3219
3235
  active: e,
3220
3236
  disabled: n
3221
3237
  }
3222
- ), p8 = ({
3238
+ ), pt = ({
3223
3239
  active: e,
3224
3240
  className: t = "",
3225
3241
  disabled: n
@@ -3268,7 +3284,7 @@ const en = () => {
3268
3284
  active: e,
3269
3285
  disabled: n
3270
3286
  }
3271
- ), M8 = ({
3287
+ ), Mt = ({
3272
3288
  active: e,
3273
3289
  className: t = "",
3274
3290
  disabled: n
@@ -3317,7 +3333,7 @@ const en = () => {
3317
3333
  active: e,
3318
3334
  disabled: n
3319
3335
  }
3320
- ), x8 = ({
3336
+ ), xt = ({
3321
3337
  active: e,
3322
3338
  className: t = "",
3323
3339
  disabled: n
@@ -3366,7 +3382,7 @@ const en = () => {
3366
3382
  active: e,
3367
3383
  disabled: n
3368
3384
  }
3369
- ), S8 = ({
3385
+ ), St = ({
3370
3386
  active: e,
3371
3387
  // Just to shut up the linter on this template. Prefer deleting this lint rule
3372
3388
  className: t = "",
@@ -3434,7 +3450,7 @@ const en = () => {
3434
3450
  active: e,
3435
3451
  disabled: n
3436
3452
  }
3437
- ), Z8 = ({
3453
+ ), Zt = ({
3438
3454
  active: e,
3439
3455
  className: t = "",
3440
3456
  disabled: n
@@ -3483,7 +3499,7 @@ const en = () => {
3483
3499
  active: e,
3484
3500
  disabled: n
3485
3501
  }
3486
- ), C8 = ({
3502
+ ), Ct = ({
3487
3503
  active: e,
3488
3504
  className: t = "",
3489
3505
  disabled: n
@@ -3532,7 +3548,7 @@ const en = () => {
3532
3548
  active: e,
3533
3549
  disabled: n
3534
3550
  }
3535
- ), tn = ({
3551
+ ), on = ({
3536
3552
  active: e,
3537
3553
  // Just to shut up the linter on this template. Prefer deleting this lint rule
3538
3554
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3547,7 +3563,7 @@ const en = () => {
3547
3563
  active: e,
3548
3564
  disabled: n
3549
3565
  }
3550
- ), j8 = ({
3566
+ ), jt = ({
3551
3567
  active: e,
3552
3568
  className: t = "",
3553
3569
  disabled: n
@@ -3596,7 +3612,7 @@ const en = () => {
3596
3612
  active: e,
3597
3613
  disabled: n
3598
3614
  }
3599
- ), b8 = ({
3615
+ ), bt = ({
3600
3616
  active: e,
3601
3617
  className: t = "",
3602
3618
  disabled: n
@@ -3645,7 +3661,7 @@ const en = () => {
3645
3661
  active: e,
3646
3662
  disabled: n
3647
3663
  }
3648
- ), I8 = ({
3664
+ ), It = ({
3649
3665
  active: e,
3650
3666
  className: t = "",
3651
3667
  disabled: n
@@ -3694,7 +3710,7 @@ const en = () => {
3694
3710
  active: e,
3695
3711
  disabled: n
3696
3712
  }
3697
- ), y8 = ({
3713
+ ), yt = ({
3698
3714
  active: e,
3699
3715
  className: t = "",
3700
3716
  disabled: n
@@ -3743,7 +3759,7 @@ const en = () => {
3743
3759
  active: e,
3744
3760
  disabled: n
3745
3761
  }
3746
- ), R8 = ({
3762
+ ), Rt = ({
3747
3763
  active: e,
3748
3764
  className: t = "",
3749
3765
  disabled: n
@@ -3792,7 +3808,7 @@ const en = () => {
3792
3808
  active: e,
3793
3809
  disabled: n
3794
3810
  }
3795
- ), $8 = ({
3811
+ ), $t = ({
3796
3812
  active: e,
3797
3813
  className: t = "",
3798
3814
  disabled: n
@@ -3841,7 +3857,7 @@ const en = () => {
3841
3857
  active: e,
3842
3858
  disabled: n
3843
3859
  }
3844
- ), P8 = ({
3860
+ ), Pt = ({
3845
3861
  active: e,
3846
3862
  className: t = "",
3847
3863
  disabled: n
@@ -3890,7 +3906,7 @@ const en = () => {
3890
3906
  active: e,
3891
3907
  disabled: n
3892
3908
  }
3893
- ), E8 = ({
3909
+ ), Et = ({
3894
3910
  active: e,
3895
3911
  className: t = "",
3896
3912
  disabled: n
@@ -3939,335 +3955,337 @@ const en = () => {
3939
3955
  active: e,
3940
3956
  disabled: n
3941
3957
  }
3942
- ), T8 = {
3943
- Alert: e8,
3944
- Camera: n8,
3945
- DownArrow: c8,
3946
- Ban: t8,
3947
- Check: o8,
3948
- Controller: s8,
3949
- Elipses: r8,
3950
- Flag: l8,
3951
- Gear: i8,
3952
- Glass: a8,
3953
- Hdmi: u8,
3954
- Laptop: d8,
3955
- LeftArrow: v8,
3956
- Light: h8,
3957
- Mic: E8,
3958
- Moon: g8,
3959
- Playstation: f8,
3960
- Podium: w8,
3961
- Power: m8,
3962
- Privacy: p8,
3963
- Question: M8,
3964
- RightArrow: x8,
3965
- RoomPC: S8,
3966
- Shade: Z8,
3967
- Sun: C8,
3968
- UpArrow: j8,
3969
- VolDown: b8,
3970
- VolMute: I8,
3971
- VolUp: y8,
3972
- Wireless: R8,
3973
- X: $8,
3974
- Xbox: P8
3958
+ ), Tt = {
3959
+ Alert: et,
3960
+ Camera: nt,
3961
+ DownArrow: ct,
3962
+ Ban: tt,
3963
+ Check: ot,
3964
+ Controller: st,
3965
+ Elipses: rt,
3966
+ Flag: lt,
3967
+ Gear: it,
3968
+ Glass: at,
3969
+ Hdmi: ut,
3970
+ Laptop: dt,
3971
+ LeftArrow: vt,
3972
+ Light: gt,
3973
+ Mic: Et,
3974
+ Moon: ht,
3975
+ Playstation: ft,
3976
+ Podium: mt,
3977
+ Power: wt,
3978
+ Privacy: pt,
3979
+ Question: Mt,
3980
+ RightArrow: xt,
3981
+ RoomPC: St,
3982
+ Shade: Zt,
3983
+ Sun: Ct,
3984
+ UpArrow: jt,
3985
+ VolDown: bt,
3986
+ VolMute: It,
3987
+ VolUp: yt,
3988
+ Wireless: Rt,
3989
+ X: $t,
3990
+ Xbox: Pt
3975
3991
  };
3976
- function nn({
3992
+ function sn({
3977
3993
  name: e,
3978
- iconsDictionary: t = T8,
3994
+ iconsDictionary: t = Tt,
3979
3995
  ...n
3980
3996
  }) {
3981
3997
  const s = t[e] ?? null;
3982
3998
  return s || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ o.jsx(Ne, { multiIcon: s, ...n });
3983
3999
  }
3984
- const D8 = "_grid_1cmpp_1", A8 = "_header_1cmpp_11", _8 = "_content_1cmpp_17", L8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", u1 = {
3985
- grid: D8,
3986
- header: A8,
3987
- content: _8,
3988
- footer: L8,
3989
- volume: B8
3990
- }, on = ({ header: e, footer: t, content: n, volume: s, showVolume: r }) => /* @__PURE__ */ o.jsxs("div", { className: u1.grid, children: [
4000
+ const Dt = "_grid_1cmpp_1", At = "_header_1cmpp_11", _t = "_content_1cmpp_17", Lt = "_footer_1cmpp_23", Bt = "_volume_1cmpp_29", u1 = {
4001
+ grid: Dt,
4002
+ header: At,
4003
+ content: _t,
4004
+ footer: Lt,
4005
+ volume: Bt
4006
+ }, cn = ({ header: e, footer: t, content: n, volume: s, showVolume: r }) => /* @__PURE__ */ o.jsxs("div", { className: u1.grid, children: [
3991
4007
  /* @__PURE__ */ o.jsx("div", { className: u1.header, children: e }),
3992
4008
  /* @__PURE__ */ o.jsx("div", { className: u1.content, children: n }),
3993
4009
  r && /* @__PURE__ */ o.jsx("div", { className: u1.volume, children: s }),
3994
4010
  /* @__PURE__ */ o.jsx("div", { className: u1.footer, children: t })
3995
- ] }), O8 = "_grid_11w5q_1", W8 = "_header_11w5q_11", k8 = "_content_11w5q_17", x1 = {
3996
- grid: O8,
3997
- header: W8,
3998
- content: k8
3999
- }, sn = ({ className: e, header: t, content: n, leftNav: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${x1.grid}`, children: [
4011
+ ] }), Ot = "_grid_11w5q_1", Wt = "_header_11w5q_11", kt = "_content_11w5q_17", x1 = {
4012
+ grid: Ot,
4013
+ header: Wt,
4014
+ content: kt
4015
+ }, rn = ({ className: e, header: t, content: n, leftNav: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${x1.grid}`, children: [
4000
4016
  /* @__PURE__ */ o.jsx("div", { className: x1.header, children: t }),
4001
4017
  s && /* @__PURE__ */ o.jsx("div", { className: x1.leftNav, children: s }),
4002
4018
  /* @__PURE__ */ o.jsx("div", { className: x1.content, children: n })
4003
- ] }), V8 = "_grid_1uwfo_1", H8 = "_header_1uwfo_11", F8 = "_content_1uwfo_17", L1 = {
4004
- grid: V8,
4005
- header: H8,
4006
- content: F8
4007
- }, cn = ({ className: e, header: t, content: n }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${L1.grid}`, children: [
4019
+ ] }), Vt = "_grid_1uwfo_1", Ht = "_header_1uwfo_11", Ft = "_content_1uwfo_17", L1 = {
4020
+ grid: Vt,
4021
+ header: Ht,
4022
+ content: Ft
4023
+ }, ln = ({ className: e, header: t, content: n }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${L1.grid}`, children: [
4008
4024
  /* @__PURE__ */ o.jsx("div", { className: L1.header, children: t }),
4009
4025
  /* @__PURE__ */ o.jsx("div", { className: L1.content, children: n })
4010
4026
  ] });
4011
- class rn {
4027
+ class an {
4012
4028
  constructor() {
4013
4029
  G(this, "currentShareText");
4014
4030
  G(this, "enabled");
4015
4031
  G(this, "isSharing");
4016
4032
  }
4017
4033
  }
4018
- function ln() {
4034
+ function un() {
4019
4035
  return console.log(location.pathname), location.pathname;
4020
4036
  }
4021
- var U8 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(U8 || {});
4022
- class an {
4037
+ var Ut = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(Ut || {});
4038
+ class dn {
4023
4039
  constructor(t, n) {
4024
4040
  G(this, "path");
4025
4041
  G(this, "handler");
4026
4042
  this.path = t, this.handler = n;
4027
4043
  }
4028
4044
  }
4029
- const un = "$off";
4045
+ const vn = "$off";
4030
4046
  export {
4031
- Kt as Clock,
4032
- U8 as DaysOfWeek,
4033
- en as ErrorBox,
4047
+ q8 as Clock,
4048
+ Ut as DaysOfWeek,
4049
+ nn as ErrorBox,
4034
4050
  Ne as IconButton,
4035
- e8 as IconMultiAlert,
4036
- t8 as IconMultiBan,
4037
- n8 as IconMultiCamera,
4038
- o8 as IconMultiCheck,
4039
- s8 as IconMultiController,
4040
- c8 as IconMultiDownArrow,
4041
- r8 as IconMultiElipses,
4042
- l8 as IconMultiFlag,
4043
- i8 as IconMultiGear,
4044
- a8 as IconMultiGlass,
4045
- u8 as IconMultiHdmi,
4046
- d8 as IconMultiLaptop,
4047
- v8 as IconMultiLeftArrow,
4048
- h8 as IconMultiLight,
4049
- E8 as IconMultiMic,
4050
- g8 as IconMultiMoon,
4051
- f8 as IconMultiPlaystation,
4052
- w8 as IconMultiPodium,
4053
- m8 as IconMultiPower,
4054
- p8 as IconMultiPrivacy,
4055
- M8 as IconMultiQuestion,
4056
- x8 as IconMultiRightArrow,
4057
- S8 as IconMultiRoomPC,
4058
- Z8 as IconMultiShade,
4059
- C8 as IconMultiSun,
4060
- tn as IconMultiTemplate,
4061
- j8 as IconMultiUpArrow,
4062
- b8 as IconMultiVolDown,
4063
- I8 as IconMultiVolMute,
4064
- y8 as IconMultiVolUp,
4065
- R8 as IconMultiWireless,
4066
- $8 as IconMultiX,
4067
- P8 as IconMultiXbox,
4068
- on as MainLayout,
4069
- an as MessageHandler,
4070
- kt as MobileControlProvider,
4051
+ et as IconMultiAlert,
4052
+ tt as IconMultiBan,
4053
+ nt as IconMultiCamera,
4054
+ ot as IconMultiCheck,
4055
+ st as IconMultiController,
4056
+ ct as IconMultiDownArrow,
4057
+ rt as IconMultiElipses,
4058
+ lt as IconMultiFlag,
4059
+ it as IconMultiGear,
4060
+ at as IconMultiGlass,
4061
+ ut as IconMultiHdmi,
4062
+ dt as IconMultiLaptop,
4063
+ vt as IconMultiLeftArrow,
4064
+ gt as IconMultiLight,
4065
+ Et as IconMultiMic,
4066
+ ht as IconMultiMoon,
4067
+ ft as IconMultiPlaystation,
4068
+ mt as IconMultiPodium,
4069
+ wt as IconMultiPower,
4070
+ pt as IconMultiPrivacy,
4071
+ Mt as IconMultiQuestion,
4072
+ xt as IconMultiRightArrow,
4073
+ St as IconMultiRoomPC,
4074
+ Zt as IconMultiShade,
4075
+ Ct as IconMultiSun,
4076
+ on as IconMultiTemplate,
4077
+ jt as IconMultiUpArrow,
4078
+ bt as IconMultiVolDown,
4079
+ It as IconMultiVolMute,
4080
+ yt as IconMultiVolUp,
4081
+ Rt as IconMultiWireless,
4082
+ $t as IconMultiX,
4083
+ Pt as IconMultiXbox,
4084
+ cn as MainLayout,
4085
+ dn as MessageHandler,
4086
+ V8 as MobileControlProvider,
4071
4087
  $ as MultiStateIconContainer,
4072
- nn as NamedIconButton,
4073
- rn as ShareState,
4074
- sn as TechLayout,
4075
- cn as TechPinLayout,
4076
- _3 as WS_ADD_EVENT_HANDLER,
4077
- T3 as WS_CONNECT,
4078
- D3 as WS_DISCONNECT,
4079
- B3 as WS_RECONNECT,
4080
- L3 as WS_REMOVE_EVENT_HANDLER,
4081
- A3 as WS_SEND_MESSAGE,
4082
- W3 as WebsocketContext,
4083
- P3 as appConfigActions,
4088
+ sn as NamedIconButton,
4089
+ an as ShareState,
4090
+ rn as TechLayout,
4091
+ ln as TechPinLayout,
4092
+ L3 as WS_ADD_EVENT_HANDLER,
4093
+ D3 as WS_CONNECT,
4094
+ A3 as WS_DISCONNECT,
4095
+ O3 as WS_RECONNECT,
4096
+ B3 as WS_REMOVE_EVENT_HANDLER,
4097
+ _3 as WS_SEND_MESSAGE,
4098
+ k3 as WebsocketContext,
4099
+ E3 as appConfigActions,
4084
4100
  Be as createWebSocketMiddleware,
4085
- m1 as devicesActions,
4086
- ln as getBaseLocation,
4101
+ w1 as devicesActions,
4102
+ un as getBaseLocation,
4087
4103
  f3 as httpClient,
4088
- T8 as iconsDictionary,
4089
- un as roomOffSourceKey,
4104
+ Tt as iconsDictionary,
4105
+ vn as roomOffSourceKey,
4090
4106
  p1 as roomsActions,
4091
4107
  U as runtimeConfigActions,
4092
4108
  j3 as selectAllDevices,
4093
- P2 as selectApiPath,
4094
- $2 as selectAppConfig,
4095
- ce as selectClientId,
4109
+ E2 as selectApiPath,
4110
+ P2 as selectAppConfig,
4111
+ re as selectClientId,
4096
4112
  he as selectCurrentPopoverIdForGroup,
4097
- D2 as selectDeviceByKey,
4113
+ A2 as selectDeviceByKey,
4098
4114
  b3 as selectDeviceInterfaceSupport,
4099
- ve as selectDeviceSupportsInterface,
4100
- fe as selectError,
4115
+ ge as selectDeviceSupportsInterface,
4116
+ me as selectError,
4101
4117
  I3 as selectInterfacesForDevice,
4102
- pe as selectIsSyncStateValuePresent,
4103
- de as selectIsTouchpanel,
4104
- E2 as selectLogoPath,
4118
+ R3 as selectIsSyncStateValuePresent,
4119
+ ve as selectIsTouchpanel,
4120
+ T2 as selectLogoPath,
4105
4121
  V1 as selectModalVisibility,
4106
- T2 as selectPartnerMetadata,
4107
- X2 as selectRoomAdvancedSharingActive,
4108
- V2 as selectRoomAudioControlPointList,
4109
- L2 as selectRoomByKey,
4110
- q2 as selectRoomCodecContentDestinationKey,
4111
- A2 as selectRoomConfiguration,
4112
- F2 as selectRoomDestinationList,
4113
- H2 as selectRoomDestinations,
4114
- ee as selectRoomDisplayStates,
4115
- U2 as selectRoomEnvironmentalDevices,
4116
- G2 as selectRoomInCall,
4117
- Y2 as selectRoomIsCoolingDown,
4118
- J2 as selectRoomIsOn,
4119
- z2 as selectRoomIsWarmingUp,
4120
- se as selectRoomKey,
4121
- W2 as selectRoomLevelControls,
4122
- B2 as selectRoomName,
4123
- K2 as selectRoomProgramAudioDestinationKey,
4124
- Q2 as selectRoomShareState,
4125
- k2 as selectRoomSourceList,
4126
- O2 as selectRoomVolume,
4127
- _2 as selectRooms,
4128
- ae as selectRuntimeInfo,
4129
- ie as selectServerIsRunningOnProcessorHardware,
4130
- ge as selectShowPopoverById,
4122
+ D2 as selectPartnerMetadata,
4123
+ Q2 as selectRoomAdvancedSharingActive,
4124
+ H2 as selectRoomAudioControlPointList,
4125
+ B2 as selectRoomByKey,
4126
+ G2 as selectRoomCodecContentDestinationKey,
4127
+ _2 as selectRoomConfiguration,
4128
+ U2 as selectRoomDestinationList,
4129
+ F2 as selectRoomDestinations,
4130
+ te as selectRoomDisplayStates,
4131
+ K2 as selectRoomEnvironmentalDevices,
4132
+ z2 as selectRoomInCall,
4133
+ J2 as selectRoomIsCoolingDown,
4134
+ X2 as selectRoomIsOn,
4135
+ Y2 as selectRoomIsWarmingUp,
4136
+ ce as selectRoomKey,
4137
+ k2 as selectRoomLevelControls,
4138
+ O2 as selectRoomName,
4139
+ q2 as selectRoomProgramAudioDestinationKey,
4140
+ N2 as selectRoomShareState,
4141
+ V2 as selectRoomSourceList,
4142
+ W2 as selectRoomVolume,
4143
+ L2 as selectRooms,
4144
+ ue as selectRuntimeInfo,
4145
+ ae as selectServerIsRunningOnProcessorHardware,
4146
+ fe as selectShowPopoverById,
4131
4147
  we as selectShowReconnect,
4132
- re as selectSystemUuid,
4133
- me as selectTheme,
4134
- ue as selectTouchpanelKey,
4135
- le as selectUserCode,
4136
- oe as selectWsIsConnected,
4137
- N2 as selectZoomRoomControllerKey,
4148
+ le as selectSystemUuid,
4149
+ pe as selectTheme,
4150
+ de as selectTouchpanelKey,
4151
+ ie as selectUserCode,
4152
+ se as selectWsIsConnected,
4153
+ ee as selectZoomRoomControllerKey,
4138
4154
  We as store,
4139
- H as uiActions,
4155
+ k as uiActions,
4140
4156
  Ce as uiReducer,
4141
- Q8 as useApiPath,
4142
- X8 as useAppConfig,
4157
+ Qt as useApiPath,
4158
+ Xt as useAppConfig,
4143
4159
  k1 as useAppDispatch,
4144
4160
  p as useAppSelector,
4145
- Ft as useAvrControl,
4161
+ U8 as useAvrControl,
4146
4162
  w as useButtonHeldHeartbeat,
4147
- Ut as useCameraBase,
4148
- Zt as useClientId,
4149
- K6 as useDeviceIBasicVolume,
4163
+ K8 as useCameraBase,
4164
+ Z8 as useClientId,
4165
+ G6 as useDeviceIBasicVolume,
4150
4166
  ze as useDeviceIBasicVolumeWithFeedback,
4151
- $t as useDeviceInterfaceSupport,
4152
- qt as useDevicePresetsModel,
4153
- Et as useDeviceSupportsInterface,
4154
- Gt as useEndpoint,
4167
+ $8 as useDeviceInterfaceSupport,
4168
+ G8 as useDevicePresetsModel,
4169
+ E8 as useDeviceSupportsInterface,
4170
+ z8 as useEndpoint,
4155
4171
  Me as useError,
4156
- q6 as useGetAllDeviceStateFromRoomConfiguration,
4157
- tt as useGetAllDevices,
4158
- ot as useGetAllRooms,
4159
- _t as useGetCurrentPopoverIdForGroup,
4172
+ z6 as useGetAllDeviceStateFromRoomConfiguration,
4173
+ t8 as useGetAllDevices,
4174
+ o8 as useGetAllRooms,
4175
+ _8 as useGetCurrentPopoverIdForGroup,
4160
4176
  Z as useGetDevice,
4161
- Vt as useGetIBasicVolume,
4162
- Ht as useGetIBasicVolumeWithFeedback,
4163
- st as useGetRoom,
4164
- Mt as useGetRoomDisplayStates,
4165
- xt as useGetZoomRoomControllerKey,
4166
- zt as useIAudioCodecInfo,
4167
- Yt as useIAudioCodecPhonebook,
4177
+ H8 as useGetIBasicVolume,
4178
+ F8 as useGetIBasicVolumeWithFeedback,
4179
+ s8 as useGetRoom,
4180
+ M8 as useGetRoomDisplayStates,
4181
+ x8 as useGetZoomRoomControllerKey,
4182
+ Y8 as useIAudioCodecInfo,
4183
+ J8 as useIAudioCodecPhonebook,
4168
4184
  j1 as useIBasicVolume,
4169
- k3 as useIBasicVolumeWithFeedback,
4170
- Jt as useIChannel,
4171
- Xt as useIColor,
4172
- Qt as useICommunicationMonitor,
4173
- Nt as useICurrentSources,
4174
- n6 as useIDPad,
4175
- e6 as useIDeviceInfoMessenger,
4176
- t6 as useIDialerCallStatus,
4177
- o6 as useIDspPresets,
4178
- s6 as useIDvr,
4179
- c6 as useIEssentialsRoomCombiner,
4180
- r6 as useIHasCameraAutoMode,
4181
- l6 as useIHasCameraMute,
4182
- i6 as useIHasCameraPresets,
4183
- a6 as useIHasCameras,
4184
- u6 as useIHasCodecRoomPresetsActions,
4185
- d6 as useIHasDialer,
4186
- v6 as useIHasDirectory,
4185
+ V3 as useIBasicVolumeWithFeedback,
4186
+ X8 as useIChannel,
4187
+ Q8 as useIColor,
4188
+ N8 as useICommunicationMonitor,
4189
+ e6 as useICurrentSources,
4190
+ o6 as useIDPad,
4191
+ t6 as useIDeviceInfoMessenger,
4192
+ n6 as useIDialerCallStatus,
4193
+ s6 as useIDspPresets,
4194
+ c6 as useIDvr,
4195
+ r6 as useIEssentialsRoomCombiner,
4196
+ l6 as useIHasCameraAutoMode,
4197
+ i6 as useIHasCameraMute,
4198
+ a6 as useIHasCameraPresets,
4199
+ u6 as useIHasCameras,
4200
+ d6 as useIHasCodecRoomPresetsActions,
4201
+ v6 as useIHasDialer,
4202
+ g6 as useIHasDirectory,
4187
4203
  h6 as useIHasMeetingLock,
4188
- g6 as useIHasMeetingRecording,
4189
- f6 as useIHasParticipantAudioMute,
4204
+ f6 as useIHasMeetingRecording,
4205
+ m6 as useIHasParticipantAudioMute,
4190
4206
  w6 as useIHasParticipantPinUnpin,
4191
- m6 as useIHasParticipants,
4192
- p6 as useIHasPhoneDialing,
4193
- V3 as useIHasPowerControl,
4194
- M6 as useIHasPresentationOnlyMeeting,
4207
+ p6 as useIHasParticipants,
4208
+ M6 as useIHasPhoneDialing,
4209
+ H3 as useIHasPowerControl,
4210
+ x6 as useIHasPresentationOnlyMeeting,
4195
4211
  W1 as useIHasSelectableItems,
4196
- x6 as useIHasSelfviewPosition,
4197
- S6 as useIHasSelfviewSize,
4212
+ S6 as useIHasSelfviewPosition,
4213
+ Z6 as useIHasSelfviewSize,
4214
+ C6 as useIHasStartMeeting,
4198
4215
  Ye as useIHasSurroundChannels,
4199
- Z6 as useIHasZoomRoomLayouts,
4200
- C6 as useILevelControls,
4201
- j6 as useILightingScenes,
4202
- b6 as useIMatrixRouting,
4203
- I6 as useIMcCiscoCodecUserInterfaceAppControl,
4204
- y6 as useINumeric,
4205
- R6 as useIProjectorScreenLiftControl,
4206
- $6 as useIRoomEventSchedule,
4207
- P6 as useIRunDefaultPresentRoute,
4208
- E6 as useIRunDirectRouteAction,
4209
- T6 as useIRunRouteAction,
4210
- D6 as useISetTopBoxControls,
4211
- A6 as useIShadesOpenCloseStop,
4212
- _6 as useIShutdownPromptTimer,
4213
- L6 as useISwitchedOutput,
4214
- B6 as useITechPassword,
4215
- O6 as useITemperatureSensor,
4216
- W6 as useITheme,
4217
- k6 as useITransport,
4218
- V6 as useIZoomWirelessShareInstructions,
4219
- Wt as useInitialize,
4220
- Pt as useInterfacesForDevice,
4216
+ j6 as useIHasZoomRoomLayouts,
4217
+ b6 as useILevelControls,
4218
+ I6 as useILightingScenes,
4219
+ y6 as useIMatrixRouting,
4220
+ R6 as useIMcCiscoCodecUserInterfaceAppControl,
4221
+ $6 as useINumeric,
4222
+ P6 as useIProjectorScreenLiftControl,
4223
+ E6 as useIRoomEventSchedule,
4224
+ T6 as useIRunDefaultPresentRoute,
4225
+ D6 as useIRunDirectRouteAction,
4226
+ A6 as useIRunRouteAction,
4227
+ _6 as useISetTopBoxControls,
4228
+ L6 as useIShadesOpenCloseStop,
4229
+ B6 as useIShutdownPromptTimer,
4230
+ O6 as useISwitchedOutput,
4231
+ W6 as useITechPassword,
4232
+ k6 as useITemperatureSensor,
4233
+ V6 as useITheme,
4234
+ H6 as useITransport,
4235
+ F6 as useIZoomWirelessShareInstructions,
4236
+ k8 as useInitialize,
4237
+ P8 as useInterfacesForDevice,
4238
+ O8 as useIsInitialSyncComplete,
4221
4239
  Se as useIsSyncStateValuePresent,
4222
- Rt as useIsTouchpanel,
4223
- N8 as useLogoPath,
4224
- H6 as useMobileControlTouchpanelController,
4225
- G6 as useOverflow,
4226
- et as usePartnerMetadata,
4240
+ R8 as useIsTouchpanel,
4241
+ Nt as useLogoPath,
4242
+ U6 as useMobileControlTouchpanelController,
4243
+ Y6 as useOverflow,
4244
+ e8 as usePartnerMetadata,
4227
4245
  Ge as usePressHoldRelease,
4228
- mt as useRoomAdvancedSharingActive,
4229
- lt as useRoomAudioControlPointList,
4230
- vt as useRoomCodecContentDestinationKey,
4231
- nt as useRoomConfiguration,
4232
- at as useRoomDestinationList,
4233
- it as useRoomDestinations,
4234
- ut as useRoomEnvironmentalDevices,
4235
- z6 as useRoomIBasicVolume,
4236
- Y6 as useRoomIBasicVolumeWithFeedback,
4237
- ht as useRoomInCall,
4238
- ft as useRoomIsCoolingDown,
4239
- wt as useRoomIsOn,
4240
- gt as useRoomIsWarmingUp,
4241
- St as useRoomKey,
4242
- ne as useRoomLevelControls,
4243
- ct as useRoomName,
4244
- dt as useRoomProgramAudioDestinationKey,
4245
- pt as useRoomShareState,
4246
- rt as useRoomSourceList,
4246
+ w8 as useRoomAdvancedSharingActive,
4247
+ l8 as useRoomAudioControlPointList,
4248
+ v8 as useRoomCodecContentDestinationKey,
4249
+ n8 as useRoomConfiguration,
4250
+ a8 as useRoomDestinationList,
4251
+ i8 as useRoomDestinations,
4252
+ u8 as useRoomEnvironmentalDevices,
4253
+ J6 as useRoomIBasicVolume,
4254
+ X6 as useRoomIBasicVolumeWithFeedback,
4255
+ g8 as useRoomInCall,
4256
+ f8 as useRoomIsCoolingDown,
4257
+ m8 as useRoomIsOn,
4258
+ h8 as useRoomIsWarmingUp,
4259
+ S8 as useRoomKey,
4260
+ oe as useRoomLevelControls,
4261
+ c8 as useRoomName,
4262
+ d8 as useRoomProgramAudioDestinationKey,
4263
+ p8 as useRoomShareState,
4264
+ r8 as useRoomSourceList,
4247
4265
  C1 as useRoomState,
4248
- te as useRoomVolume,
4249
- It as useRuntimeInfo,
4250
- J6 as useScroll,
4251
- bt as useServerIsRunningOnProcessorHardware,
4252
- Dt as useShowIncomingCallModal,
4253
- At as useShowModal,
4254
- Lt as useShowPopoverById,
4266
+ ne as useRoomVolume,
4267
+ I8 as useRuntimeInfo,
4268
+ Q6 as useScroll,
4269
+ b8 as useServerIsRunningOnProcessorHardware,
4270
+ D8 as useShowIncomingCallModal,
4271
+ A8 as useShowModal,
4272
+ L8 as useShowPopoverById,
4255
4273
  xe as useShowReconnect,
4256
- Tt as useShowShutdownModal,
4257
- X6 as useStateIsSynced,
4258
- Q6 as useSystemControl,
4259
- Ct as useSystemUuid,
4260
- Bt as useTheme,
4261
- N6 as useTimeAndDate,
4262
- yt as useTouchpanelKey,
4263
- F6 as useTwoWayDisplayBase,
4264
- jt as useUserCode,
4274
+ T8 as useShowShutdownModal,
4275
+ N6 as useStateIsSynced,
4276
+ en as useSystemControl,
4277
+ C8 as useSystemUuid,
4278
+ B8 as useTheme,
4279
+ tn as useTimeAndDate,
4280
+ y8 as useTouchpanelKey,
4281
+ K6 as useTwoWayDisplayBase,
4282
+ j8 as useUserCode,
4265
4283
  m as useWebsocketContext,
4266
4284
  y3 as useWsIsConnected,
4267
- U6 as useZoomRoom,
4285
+ q6 as useZoomRoom,
4268
4286
  Ae as wsAddEventHandler,
4269
- O3 as wsConnect,
4270
- Ot as wsDisconnect,
4287
+ W3 as wsConnect,
4288
+ W8 as wsDisconnect,
4271
4289
  Le as wsReconnect,
4272
4290
  _e as wsRemoveEventHandler,
4273
4291
  De as wsSendMessage