@pepperdash/mobile-control-react-app-core 1.25.0-feat-deprecate-interfaces-array.6 → 1.25.0-feat-essentials-v3.2

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,132 +1,132 @@
1
1
  var w2 = Object.defineProperty;
2
- var p2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
- var q = (e, t, o) => p2(e, typeof t != "symbol" ? t + "" : t, o);
4
- import M3, { AxiosError as m2 } from "axios";
2
+ var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
4
+ import M3, { AxiosError as p2 } from "axios";
5
5
  import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
6
- import { createSelector as M, createSlice as d1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
7
- import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as u1, useMemo as X, useState as Y, useLayoutEffect as Z3 } from "react";
6
+ import { createSelector as M, createSlice as v1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
7
+ import x3, { createContext as C2, useEffect as Z1, useCallback as l1, useContext as b2, useRef as d1, useMemo as X, useState as Y, useLayoutEffect as Z3 } from "react";
8
8
  import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
9
9
  import * as S3 from "lodash";
10
- const W1 = M2.withTypes(), p = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
11
- Z1,
10
+ const W1 = M2.withTypes(), m = x2.withTypes(), S1 = (e) => e.appConfig, E2 = M(
11
+ S1,
12
12
  (e) => e.config
13
13
  ), T2 = M(
14
- Z1,
14
+ S1,
15
15
  (e) => e.config.apiPath
16
16
  ), D2 = M(
17
- Z1,
17
+ S1,
18
18
  (e) => e.config.logoPath
19
19
  ), _2 = M(
20
- Z1,
20
+ S1,
21
21
  (e) => e.config.partnerMetadata
22
- ), X8 = () => p(E2), Q8 = () => p(T2), N8 = () => p(D2), e6 = () => p(_2), j3 = (e) => e.devices, C3 = M(
22
+ ), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
23
23
  j3,
24
24
  (e) => e
25
- ), A2 = (e) => M(
25
+ ), $2 = (e) => M(
26
26
  j3,
27
27
  (t) => t[e] ? t[e] : void 0
28
- ), t6 = () => p(C3);
29
- function D(e) {
30
- return p(A2(e));
28
+ ), t6 = () => m(C3);
29
+ function T(e) {
30
+ return m($2(e));
31
31
  }
32
- const P = (e) => e.rooms, $2 = (e) => M(
33
- P,
32
+ const L = (e) => e.rooms, P2 = (e) => M(
33
+ L,
34
34
  (t) => t[e] ? t[e].configuration : void 0
35
- ), L2 = M(
36
- P,
35
+ ), A2 = M(
36
+ L,
37
37
  (e) => e
38
- ), P2 = (e) => M(
39
- P,
38
+ ), L2 = (e) => M(
39
+ L,
40
40
  (t) => t[e] ? t[e] : void 0
41
- ), B2 = (e) => M(
42
- P,
41
+ ), O2 = (e) => M(
42
+ L,
43
43
  (t) => t[e] ? t[e].name : void 0
44
- ), O2 = (e, t) => M(
45
- P,
44
+ ), B2 = (e, t) => M(
45
+ L,
46
46
  (o) => o[e] ? o[e].volumes[t] : void 0
47
47
  ), k2 = (e) => M(
48
- P,
48
+ L,
49
49
  (t) => t[e] ? t[e] : void 0
50
50
  ), W2 = (e) => M(
51
- P,
51
+ L,
52
52
  (t) => {
53
53
  var o, c;
54
54
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
55
55
  }
56
56
  ), V2 = (e) => M(
57
- P,
57
+ L,
58
58
  (t) => {
59
59
  var o, c;
60
60
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
61
61
  }
62
62
  ), U2 = (e) => M(
63
- P,
63
+ L,
64
64
  (t) => {
65
65
  var o, c;
66
66
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
67
67
  }
68
- ), F2 = (e) => M(
69
- P,
68
+ ), H2 = (e) => M(
69
+ L,
70
70
  (t) => {
71
71
  var o, c;
72
72
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
73
73
  }
74
- ), H2 = (e) => M(
75
- P,
74
+ ), F2 = (e) => M(
75
+ L,
76
76
  (t) => {
77
77
  var o, c;
78
78
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
79
79
  }
80
80
  ), K2 = (e) => M(
81
- P,
81
+ L,
82
82
  (t) => {
83
- var o, c, r, l, u, g, h, f;
84
- return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (u = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : u.sinkKey : ((f = (h = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
83
+ var o, c, r, l, a, g, h, f;
84
+ return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (a = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : a.sinkKey : ((f = (h = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
85
85
  }
86
86
  ), q2 = (e) => M(
87
- P,
87
+ L,
88
88
  (t) => {
89
89
  var o, c, r;
90
90
  return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
91
91
  }
92
92
  ), G2 = (e) => M(
93
- P,
93
+ L,
94
94
  (t) => {
95
95
  var o;
96
96
  return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
97
97
  }
98
98
  ), Y2 = (e) => M(
99
- P,
99
+ L,
100
100
  (t) => {
101
101
  var o;
102
102
  return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
103
103
  }
104
104
  ), z2 = (e) => M(
105
- P,
105
+ L,
106
106
  (t) => {
107
107
  var o;
108
108
  return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
109
109
  }
110
110
  ), J2 = (e) => M(
111
- P,
111
+ L,
112
112
  (t) => {
113
113
  var o;
114
114
  return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
115
115
  }
116
116
  ), X2 = (e) => M(
117
- P,
117
+ L,
118
118
  (t) => {
119
119
  var o;
120
120
  return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
121
121
  }
122
122
  ), Q2 = (e) => M(
123
- P,
123
+ L,
124
124
  (t) => {
125
125
  var o;
126
126
  return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
127
127
  }
128
128
  ), N2 = (e) => M(
129
- P,
129
+ L,
130
130
  (t) => {
131
131
  var o, c;
132
132
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
@@ -147,21 +147,21 @@ const P = (e) => e.rooms, $2 = (e) => M(
147
147
  }
148
148
  );
149
149
  function n6(e) {
150
- return p(
151
- $2(e)
150
+ return m(
151
+ P2(e)
152
152
  );
153
153
  }
154
154
  function o6() {
155
- return p(L2);
155
+ return m(A2);
156
156
  }
157
- function S1(e) {
158
- return p(P2(e));
157
+ function j1(e) {
158
+ return m(L2(e));
159
159
  }
160
- const s6 = S1, c6 = (e) => p(
161
- B2(e)
162
- ), te = (e, t) => p(
163
- O2(e, t)
164
- ), ne = (e) => p(k2(e)) || void 0, r6 = (e) => p(W2(e)), l6 = (e) => p(V2(e)), i6 = (e) => p(U2(e)), a6 = (e) => p(F2(e)), u6 = (e) => p(H2(e)), d6 = (e) => p(K2(e)), v6 = (e) => p(q2(e)), h6 = (e) => p(G2(e)), g6 = (e) => p(Y2(e)), f6 = (e) => p(z2(e)), w6 = (e) => p(J2(e)), p6 = (e) => p(X2(e)), m6 = (e) => p(Q2(e)), M6 = (e) => p((t) => ee(t, e)), x6 = (e) => p(N2(e)), G = (e) => e.runtimeConfig, oe = M(
160
+ const s6 = j1, c6 = (e) => m(
161
+ O2(e)
162
+ ), te = (e, t) => m(
163
+ B2(e, t)
164
+ ), ne = (e) => m(k2(e)) || void 0, r6 = (e) => m(W2(e)), l6 = (e) => m(V2(e)), i6 = (e) => m(U2(e)), a6 = (e) => m(H2(e)), u6 = (e) => m(F2(e)), d6 = (e) => m(K2(e)), v6 = (e) => m(q2(e)), h6 = (e) => m(G2(e)), g6 = (e) => m(Y2(e)), f6 = (e) => m(z2(e)), w6 = (e) => m(J2(e)), m6 = (e) => m(X2(e)), p6 = (e) => m(Q2(e)), M6 = (e) => m((t) => ee(t, e)), x6 = (e) => m(N2(e)), G = (e) => e.runtimeConfig, oe = M(
165
165
  G,
166
166
  (e) => e.websocket.isConnected
167
167
  ), se = M(
@@ -203,7 +203,7 @@ const s6 = S1, c6 = (e) => p(
203
203
  ), ve = (e, t) => M(
204
204
  y3(e),
205
205
  (o) => o.includes(t)
206
- ), I3 = () => p(oe), Z6 = () => p(se), S6 = () => p(ce), j6 = () => p(re), C6 = () => p(le), b6 = () => p(ie), y6 = () => p(ae), I6 = () => p(ue), R6 = () => p(de), E6 = () => p(b3), T6 = (e) => p(y3(e)), D6 = (e, t) => p(ve(e, t)), e1 = (e) => e.ui, V1 = (e) => M(e1, (t) => t.modalVisibility[e]), he = (e) => M(e1, (t) => {
206
+ ), I3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(b3), T6 = (e) => m(y3(e)), D6 = (e, t) => m(ve(e, t)), e1 = (e) => e.ui, V1 = (e) => M(e1, (t) => t.modalVisibility[e]), he = (e) => M(e1, (t) => {
207
207
  const o = t.popoverVisibility[e];
208
208
  if (o)
209
209
  return Object.keys(o).find((c) => o[c]);
@@ -216,7 +216,7 @@ const s6 = S1, c6 = (e) => p(
216
216
  ), fe = M(e1, (e) => e.error), we = M(
217
217
  e1,
218
218
  (e) => e.showReconnect
219
- ), pe = M(e1, (e) => e.theme), me = (e) => M(e1, (t) => t.syncState.includes(e)), _6 = () => p(V1("showShutdownModal")), A6 = () => p(V1("showIncomingCallModal")), $6 = (e) => p(V1(e)), L6 = (e) => p(he(e)), P6 = (e, t) => p(ge(e, t)), Me = () => p(fe), xe = () => p(we), B6 = () => p(pe), Ze = (e) => p(me(e)), Se = {
219
+ ), me = M(e1, (e) => e.theme), pe = (e) => M(e1, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), $6 = () => m(V1("showIncomingCallModal")), P6 = (e) => m(V1(e)), A6 = (e) => m(he(e)), L6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), O6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
220
220
  showReconnect: !1,
221
221
  error: "",
222
222
  modalVisibility: {
@@ -225,7 +225,7 @@ const s6 = S1, c6 = (e) => p(
225
225
  },
226
226
  popoverVisibility: {},
227
227
  syncState: []
228
- }, R3 = d1({
228
+ }, R3 = v1({
229
229
  name: "ui",
230
230
  initialState: Se,
231
231
  reducers: {
@@ -271,7 +271,7 @@ const s6 = S1, c6 = (e) => p(
271
271
  e.syncState = [];
272
272
  }
273
273
  }
274
- }), k = R3.actions, je = R3.reducer, Ce = {
274
+ }), W = R3.actions, je = R3.reducer, Ce = {
275
275
  config: {
276
276
  enableDev: !1,
277
277
  apiPath: "",
@@ -281,7 +281,7 @@ const s6 = S1, c6 = (e) => p(
281
281
  loginMode: "",
282
282
  modes: {}
283
283
  }
284
- }, E3 = d1({
284
+ }, E3 = v1({
285
285
  name: "appConfig",
286
286
  initialState: Ce,
287
287
  reducers: {
@@ -289,14 +289,14 @@ const s6 = S1, c6 = (e) => p(
289
289
  e.config = t.payload;
290
290
  }
291
291
  }
292
- }), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 = d1({
292
+ }), T3 = E3.actions, be = E3.reducer, v3 = {}, O1 = v1({
293
293
  name: "devices",
294
294
  initialState: v3,
295
295
  reducers: {
296
296
  setDeviceState(e, t) {
297
297
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
298
298
  if (!c) return;
299
- const r = t.payload.content, l = e[c] ?? {}, u = S3.mergeWith(
299
+ const r = t.payload.content, l = e[c] ?? {}, a = S3.mergeWith(
300
300
  {},
301
301
  l,
302
302
  r,
@@ -304,16 +304,16 @@ const s6 = S1, c6 = (e) => p(
304
304
  if (Array.isArray(h)) return h.slice();
305
305
  }
306
306
  );
307
- e[c] = u;
307
+ e[c] = a;
308
308
  },
309
309
  clearDevices() {
310
310
  return v3;
311
311
  }
312
312
  }
313
- }), w1 = {
314
- setDeviceState: B1.actions.setDeviceState,
315
- clearDevices: B1.actions.clearDevices
316
- }, ye = B1.reducer;
313
+ }), m1 = {
314
+ setDeviceState: O1.actions.setDeviceState,
315
+ clearDevices: O1.actions.clearDevices
316
+ }, ye = O1.reducer;
317
317
  class Ie {
318
318
  constructor() {
319
319
  q(this, "uuid", "current-uuid");
@@ -329,26 +329,26 @@ function Re(e) {
329
329
  function Ee(e, t) {
330
330
  sessionStorage.setItem(e, t);
331
331
  }
332
- const g3 = {}, O1 = d1({
332
+ const g3 = {}, B1 = v1({
333
333
  name: "rooms",
334
334
  initialState: g3,
335
335
  reducers: {
336
336
  setRoomState(e, t) {
337
337
  const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
338
338
  if (!c) return;
339
- const r = t.payload.content, l = e[c] ?? {}, u = S3.mergeWith({}, l, r, (g, h) => {
339
+ const r = t.payload.content, l = e[c] ?? {}, a = S3.mergeWith({}, l, r, (g, h) => {
340
340
  if (Array.isArray(h)) return h;
341
341
  });
342
- e[c] = u;
342
+ e[c] = a;
343
343
  },
344
344
  clearRooms() {
345
345
  return g3;
346
346
  }
347
347
  }
348
348
  }), p1 = {
349
- setRoomState: O1.actions.setRoomState,
350
- clearRooms: O1.actions.clearRooms
351
- }, Te = O1.reducer, De = {
349
+ setRoomState: B1.actions.setRoomState,
350
+ clearRooms: B1.actions.clearRooms
351
+ }, Te = B1.reducer, De = {
352
352
  apiVersion: "",
353
353
  serverIsRunningOnProcessorHardware: !1,
354
354
  websocket: {
@@ -379,7 +379,7 @@ const g3 = {}, O1 = d1({
379
379
  userCode: "",
380
380
  qrUrl: ""
381
381
  }
382
- }, D3 = d1({
382
+ }, D3 = v1({
383
383
  name: "runtimeConfig",
384
384
  initialState: De,
385
385
  reducers: {
@@ -414,83 +414,96 @@ const g3 = {}, O1 = d1({
414
414
  e.touchpanelKey = t.payload;
415
415
  }
416
416
  }
417
- }), U = D3.actions, _e = D3.reducer, $1 = M3.create(), _3 = "websocket/connect", A3 = "websocket/disconnect", $3 = "websocket/sendMessage", L3 = "websocket/addEventHandler", P3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", O3 = () => ({ type: _3 }), O6 = () => ({ type: A3 }), Ae = (e, t) => ({
418
- type: $3,
417
+ }), U = D3.actions, _e = D3.reducer, P1 = M3.create(), _3 = "websocket/connect", $3 = "websocket/disconnect", P3 = "websocket/sendMessage", A3 = "websocket/addEventHandler", L3 = "websocket/removeEventHandler", O3 = "websocket/reconnect", B3 = () => ({ type: _3 }), B6 = () => ({ type: $3 }), $e = (e, t) => ({
418
+ type: P3,
419
419
  payload: { messageType: e, content: t }
420
- }), $e = (e, t, o) => ({
421
- type: L3,
420
+ }), Pe = (e, t, o) => ({
421
+ type: A3,
422
422
  payload: { eventType: e, key: t, callback: o }
423
- }), Le = (e, t) => ({
424
- type: P3,
423
+ }), Ae = (e, t) => ({
424
+ type: L3,
425
425
  payload: { eventType: e, key: t }
426
- }), Pe = () => ({ type: B3 }), Be = () => {
426
+ }), Le = () => ({ type: O3 }), Oe = () => {
427
427
  const e = {
428
428
  client: null,
429
429
  token: null,
430
430
  waitingToReconnect: !1,
431
431
  reconnectTimer: null,
432
432
  eventHandlers: {}
433
- }, t = async (a) => {
433
+ }, t = async (u) => {
434
434
  try {
435
- const Z = location.pathname.split("/").filter((b) => b.length > 0);
435
+ const Z = location.pathname.split("/").filter((C) => C.length > 0);
436
436
  Z.length >= 5 ? Z.length = 5 : Z.length = 2;
437
- const C = `/${Z.join("/")}`, S = await $1.get(
437
+ const j = `/${Z.join("/")}`, S = await P1.get(
438
438
  "/_local-config/_config.local.json",
439
- { baseURL: C }
439
+ { baseURL: j }
440
440
  );
441
441
  if (S.status === 200 && S.data) {
442
- const b = S.data.apiPath;
443
- a(T3.setAppConfig(S.data));
444
- const x = await $1.get(
445
- `${b}/version`
442
+ const C = S.data.apiPath;
443
+ u(T3.setAppConfig(S.data));
444
+ const x = await P1.get(
445
+ `${C}/version`
446
446
  );
447
- x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
447
+ x.status === 200 && x.data && u(U.setRuntimeConfig(x.data));
448
448
  }
449
449
  } catch (Z) {
450
450
  console.error("Error getting config", Z);
451
451
  }
452
452
  return !0;
453
- }, o = async (a, Z, C) => {
453
+ }, o = async (u, Z, j) => {
454
454
  try {
455
- const S = await $1.get(
456
- `${a}/ui/joinroom?token=${Z}`
455
+ const S = await P1.get(
456
+ `${u}/ui/joinroom?token=${Z}`
457
457
  );
458
- return S.status === 200 && S.data ? (C(U.setRoomData(S.data)), S.data) : null;
458
+ return S.status === 200 && S.data ? (j(U.setRoomData(S.data)), S.data) : null;
459
459
  } catch (S) {
460
- return console.log(S), S instanceof m2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
461
- k.setErrorMessage(
460
+ return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), j(
461
+ W.setErrorMessage(
462
462
  `Token ${Z} is invalid. Unable to join room`
463
463
  )
464
- ), null) : (console.error("Error getting room data", S), S instanceof Error ? C(k.setErrorMessage(S.message)) : C(k.setErrorMessage("Error getting room data")), null);
464
+ ), null) : (console.error("Error getting room data", S), S instanceof Error ? j(W.setErrorMessage(S.message)) : j(W.setErrorMessage("Error getting room data")), null);
465
465
  }
466
- }, c = (a) => {
466
+ }, c = (u) => {
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..."), a(O3());
468
+ e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), u(B3());
469
469
  }, 5e3);
470
470
  }, r = () => {
471
471
  e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
472
- }, l = (a) => {
473
- a(k.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(p1.clearRooms()), a(k.clearAllModals()), a(k.clearSyncState());
474
- }, u = (a, Z) => {
475
- const C = a(), S = Z ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
476
- if (!Z || !x || !b) {
472
+ }, l = (u) => {
473
+ u(W.setShowReconnect(!0)), u(U.setWebsocketIsConnected(!1)), u(m1.clearDevices()), u(p1.clearRooms()), u(W.clearAllModals()), u(W.clearSyncState());
474
+ }, a = (u, Z) => {
475
+ var F;
476
+ const j = u(), S = Z ?? j.runtimeConfig.roomData.roomKey, { clientId: C } = j.runtimeConfig.roomData, x = j.runtimeConfig.websocket.isConnected, O = (F = j.runtimeConfig.roomData.config) == null ? void 0 : F.runtimeInfo.essentialsVersion;
477
+ console.log("WebSocket middleware: Essentials version", {
478
+ essentialsVersion: O
479
+ });
480
+ const o1 = O == null ? void 0 : O.startsWith("3.");
481
+ if (!Z || !x || !C) {
477
482
  console.log("WebSocket middleware: Cannot request room status", {
478
483
  hasRoomKey: !!Z,
479
484
  isConnected: x,
480
- hasClientId: !!b
485
+ hasClientId: !!C
481
486
  });
482
487
  return;
483
488
  }
484
- console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && e.client.send(
489
+ console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && (o1 ? (console.log(
490
+ "WebSocket middleware: Essentials V3 detected, requesting additional status..."
491
+ ), e.client.send(
492
+ JSON.stringify({
493
+ type: `/room/${S}/fullStatus`,
494
+ clientId: C,
495
+ content: null
496
+ })
497
+ )) : e.client.send(
485
498
  JSON.stringify({
486
499
  type: `/room/${S}/status`,
487
- clientId: b,
500
+ clientId: C,
488
501
  content: null
489
502
  })
490
- );
491
- }, g = async (a, Z) => {
503
+ ));
504
+ }, g = async (u, Z) => {
492
505
  console.log("WebSocket middleware: Attempting to connect...");
493
- const C = Z(), { apiPath: S } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
506
+ const j = Z(), { apiPath: S } = j.appConfig.config, { serverIsRunningOnProcessorHardware: C } = j.runtimeConfig;
494
507
  if (!S || !e.token) {
495
508
  console.log(
496
509
  "WebSocket middleware: Cannot connect - missing requirements",
@@ -513,47 +526,47 @@ const g3 = {}, O1 = d1({
513
526
  }
514
527
  e.waitingToReconnect = !0;
515
528
  try {
516
- const x = await o(S, e.token, a);
529
+ const x = await o(S, e.token, u);
517
530
  if (!x) {
518
531
  console.log(
519
532
  "WebSocket middleware: Failed to get room data, will retry..."
520
- ), c(a);
533
+ ), c(u);
521
534
  return;
522
535
  }
523
536
  console.log("WebSocket middleware: Connecting to websocket");
524
- const C1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
525
- e.client = K, K.onopen = (B) => {
537
+ const o1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, F = new WebSocket(o1);
538
+ e.client = F, F.onopen = (B) => {
526
539
  console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
527
- e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
540
+ e.client === F && F.readyState === WebSocket.OPEN && u(U.setWebsocketIsConnected(!0));
528
541
  }, 100);
529
- }, K.onerror = (B) => {
530
- console.error("WebSocket middleware: Error", B), l(a);
531
- }, K.onclose = (B) => {
542
+ }, F.onerror = (B) => {
543
+ console.error("WebSocket middleware: Error", B), l(u);
544
+ }, F.onclose = (B) => {
532
545
  var _;
533
546
  if (console.log(
534
547
  "WebSocket middleware: Disconnected",
535
548
  B.reason,
536
549
  B.code
537
550
  ), B.code === 4100) {
538
- console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(a);
551
+ console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(u);
539
552
  return;
540
553
  }
541
554
  if (e.waitingToReconnect = !0, B.code === 4e3) {
542
- console.log("WebSocket middleware: User code changed"), r(), a(
555
+ console.log("WebSocket middleware: User code changed"), r(), u(
543
556
  U.setUserCode({ userCode: "", qrUrl: "" })
544
- ), a(
545
- k.setErrorMessage(
557
+ ), u(
558
+ W.setErrorMessage(
546
559
  "User code changed. Click reconnect to enter the new code"
547
560
  )
548
- ), l(a);
561
+ ), l(u);
549
562
  return;
550
563
  }
551
564
  if (B.code === 4002) {
552
- console.log("WebSocket middleware: Room combination changed"), r(), a(
553
- k.setErrorMessage(
565
+ console.log("WebSocket middleware: Room combination changed"), r(), u(
566
+ W.setErrorMessage(
554
567
  "Room combination changed. Click Reconnect to re-join the room"
555
568
  )
556
- ), l(a);
569
+ ), l(u);
557
570
  return;
558
571
  }
559
572
  if (B.code === 4001)
@@ -561,18 +574,18 @@ const g3 = {}, O1 = d1({
561
574
  console.log(
562
575
  "WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
563
576
  );
564
- else if (b)
577
+ else if (C)
565
578
  console.log(
566
579
  "WebSocket middleware: Code 4001 on processor hardware (no touchpanel key), will auto-reconnect"
567
580
  );
568
581
  else {
569
582
  console.log(
570
583
  "WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
571
- ), r(), a(
572
- k.setErrorMessage(
584
+ ), r(), u(
585
+ W.setErrorMessage(
573
586
  "Processor has disconnected. Click Reconnect to continue."
574
587
  )
575
- ), l(a);
588
+ ), l(u);
576
589
  return;
577
590
  }
578
591
  if (e.client)
@@ -583,36 +596,36 @@ const g3 = {}, O1 = d1({
583
596
  console.log("WebSocket middleware: Closed by client");
584
597
  return;
585
598
  }
586
- e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), a(
587
- k.setErrorMessage(
599
+ e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), u(
600
+ W.setErrorMessage(
588
601
  "Connection lost. Attempting to reconnect..."
589
602
  )
590
- ), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(p1.clearRooms()), a(k.clearAllModals()), a(k.clearSyncState()), c(a);
591
- }, K.onmessage = (B) => {
603
+ ), u(U.setWebsocketIsConnected(!1)), u(m1.clearDevices()), u(p1.clearRooms()), u(W.clearAllModals()), u(W.clearSyncState()), c(u);
604
+ }, F.onmessage = (B) => {
592
605
  try {
593
606
  const _ = JSON.parse(B.data);
594
607
  if (_.type === "close") {
595
- K.close(4001, _.content);
608
+ F.close(4001, _.content);
596
609
  return;
597
610
  }
598
611
  if (_.type.startsWith("/system/"))
599
612
  switch (_.type) {
600
613
  case "/system/touchpanelKey":
601
- a(
614
+ u(
602
615
  U.setTouchpanelKey(
603
616
  _.content
604
617
  )
605
618
  );
606
619
  break;
607
620
  case "/system/roomKey":
608
- a(p1.clearRooms()), a(w1.clearDevices()), a(k.clearSyncState()), a(
621
+ u(p1.clearRooms()), u(m1.clearDevices()), u(W.clearSyncState()), u(
609
622
  U.setCurrentRoomKey(
610
623
  _.content
611
624
  )
612
625
  );
613
626
  break;
614
627
  case "/system/userCodeChanged":
615
- a(
628
+ u(
616
629
  U.setUserCode(_.content)
617
630
  );
618
631
  break;
@@ -621,7 +634,7 @@ const g3 = {}, O1 = d1({
621
634
  break;
622
635
  case "/system/deviceInterfaces": {
623
636
  const z = _.content;
624
- a(
637
+ u(
625
638
  U.setDeviceInterfaces(
626
639
  z.deviceInterfaces
627
640
  )
@@ -640,9 +653,9 @@ const g3 = {}, O1 = d1({
640
653
  z || console.log(
641
654
  "WebSocket middleware: No handlers found for event type",
642
655
  _.type
643
- ), z && Object.values(z).forEach((o1) => {
656
+ ), z && Object.values(z).forEach((s1) => {
644
657
  try {
645
- o1(_);
658
+ s1(_);
646
659
  } catch (b1) {
647
660
  console.error(
648
661
  "WebSocket middleware: Event handler error",
@@ -650,7 +663,7 @@ const g3 = {}, O1 = d1({
650
663
  );
651
664
  }
652
665
  });
653
- } else _.type.startsWith("/room/") ? a(p1.setRoomState(_)) : _.type.startsWith("/device/") && a(w1.setDeviceState(_));
666
+ } else _.type.startsWith("/room/") ? u(p1.setRoomState(_)) : _.type.startsWith("/device/") && u(m1.setDeviceState(_));
654
667
  } catch (_) {
655
668
  console.error("WebSocket middleware: Message handling error", _);
656
669
  }
@@ -660,78 +673,78 @@ const g3 = {}, O1 = d1({
660
673
  }
661
674
  }, h = () => {
662
675
  e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
663
- }, f = (a, Z, C) => {
664
- const S = C(), b = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
665
- e.client && b ? e.client.send(
666
- JSON.stringify({ type: a, clientId: x, content: Z })
676
+ }, f = (u, Z, j) => {
677
+ const S = j(), C = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
678
+ e.client && C ? e.client.send(
679
+ JSON.stringify({ type: u, clientId: x, content: Z })
667
680
  ) : console.warn("WebSocket middleware: Cannot send message - not connected");
668
- }, d = (a, Z, C) => {
669
- e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = C, console.log("WebSocket middleware: Event handler added", a, Z);
670
- }, A = (a, Z) => {
671
- e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
681
+ }, d = (u, Z, j) => {
682
+ e.eventHandlers[u] || (e.eventHandlers[u] = {}), e.eventHandlers[u][Z] = j, console.log("WebSocket middleware: Event handler added", u, Z);
683
+ }, $ = (u, Z) => {
684
+ e.eventHandlers[u] && (delete e.eventHandlers[u][Z], console.log(
672
685
  "WebSocket middleware: Event handler removed",
673
- a,
686
+ u,
674
687
  Z
675
688
  ));
676
- }, F = (a) => {
677
- const Z = a(), { gatewayAppPath: C } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, b = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, W = `${C}?uuid=${b}&roomKey=${S}`;
678
- window.location.href = x ? `${W}&Code=${x}` : W;
689
+ }, H = (u) => {
690
+ const Z = u(), { gatewayAppPath: j } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, C = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, O = `${j}?uuid=${C}&roomKey=${S}`;
691
+ window.location.href = x ? `${O}&Code=${x}` : O;
679
692
  };
680
- return (a) => (Z) => (C) => {
681
- const S = Z(C);
682
- if (!C || typeof C != "object" || !("type" in C))
693
+ return (u) => (Z) => (j) => {
694
+ const S = Z(j);
695
+ if (!j || typeof j != "object" || !("type" in j))
683
696
  return S;
684
- const b = C;
697
+ const C = j;
685
698
  return (async () => {
686
- switch (b.type) {
699
+ switch (C.type) {
687
700
  case _3: {
688
- let W = new URLSearchParams(window.location.search).get("token");
689
- W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await g(a.dispatch, a.getState);
701
+ let O = new URLSearchParams(window.location.search).get("token");
702
+ O ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, O)) : (O = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = O, await t(u.dispatch), await g(u.dispatch, u.getState);
690
703
  break;
691
704
  }
692
- case A3:
705
+ case $3:
693
706
  h();
694
707
  break;
695
- case $3:
708
+ case P3:
696
709
  f(
697
- b.payload.messageType,
698
- b.payload.content,
699
- a.getState
710
+ C.payload.messageType,
711
+ C.payload.content,
712
+ u.getState
700
713
  );
701
714
  break;
702
- case L3:
715
+ case A3:
703
716
  d(
704
- b.payload.eventType,
705
- b.payload.key,
706
- b.payload.callback
717
+ C.payload.eventType,
718
+ C.payload.key,
719
+ C.payload.callback
707
720
  );
708
721
  break;
709
- case P3:
710
- A(
711
- b.payload.eventType,
712
- b.payload.key
722
+ case L3:
723
+ $(
724
+ C.payload.eventType,
725
+ C.payload.key
713
726
  );
714
727
  break;
715
- case B3:
716
- F(a.getState);
728
+ case O3:
729
+ H(u.getState);
717
730
  break;
718
731
  default:
719
- if (C.type === U.setWebsocketIsConnected.type)
720
- C.payload === !0 && (console.log(
732
+ if (j.type === U.setWebsocketIsConnected.type)
733
+ j.payload === !0 && (console.log(
721
734
  "[WebSocket Middleware] Connection established, requesting room status..."
722
- ), setTimeout(() => u(a.getState), 100));
723
- else if (C.type === U.setRoomData.type) {
724
- const x = a.getState(), W = C.payload;
725
- x.runtimeConfig.websocket.isConnected && (W != null && W.clientId) && (console.log(
735
+ ), setTimeout(() => a(u.getState), 100));
736
+ else if (j.type === U.setRoomData.type) {
737
+ const x = u.getState(), O = j.payload;
738
+ x.runtimeConfig.websocket.isConnected && (O != null && O.clientId) && (console.log(
726
739
  "[WebSocket Middleware] Room data received, requesting room status..."
727
- ), setTimeout(() => u(a.getState), 100));
728
- } else if (C.type === U.setCurrentRoomKey.type) {
729
- const x = C.payload;
740
+ ), setTimeout(() => a(u.getState), 100));
741
+ } else if (j.type === U.setCurrentRoomKey.type) {
742
+ const x = j.payload;
730
743
  x && (console.log(
731
744
  "[WebSocket Middleware] Room changed to:",
732
745
  x,
733
746
  ", requesting room status..."
734
- ), setTimeout(() => u(a.getState, x), 100));
747
+ ), setTimeout(() => a(u.getState, x), 100));
735
748
  }
736
749
  break;
737
750
  }
@@ -739,20 +752,20 @@ const g3 = {}, O1 = d1({
739
752
  console.error("WebSocket middleware: Error handling action", x);
740
753
  }), S;
741
754
  };
742
- }, Oe = S2({
755
+ }, Be = S2({
743
756
  appConfig: be,
744
757
  runtimeConfig: _e,
745
758
  rooms: Te,
746
759
  devices: ye,
747
760
  ui: je
748
761
  }), ke = j2({
749
- reducer: Oe,
762
+ reducer: Be,
750
763
  middleware: (e) => e({
751
764
  serializableCheck: {
752
765
  // Ignore WebSocket actions with callbacks
753
766
  ignoredActions: ["websocket/addEventHandler"]
754
767
  }
755
- }).concat(Be())
768
+ }).concat(Oe())
756
769
  }), f3 = M3.create();
757
770
  function k6() {
758
771
  const e = W1();
@@ -778,7 +791,7 @@ function k6() {
778
791
  return !0;
779
792
  };
780
793
  }
781
- var m1 = { exports: {} }, l1 = {};
794
+ var M1 = { exports: {} }, i1 = {};
782
795
  /**
783
796
  * @license React
784
797
  * react-jsx-runtime.production.min.js
@@ -790,19 +803,19 @@ var m1 = { exports: {} }, l1 = {};
790
803
  */
791
804
  var w3;
792
805
  function We() {
793
- if (w3) return l1;
806
+ if (w3) return i1;
794
807
  w3 = 1;
795
808
  var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
796
- function u(g, h, f) {
797
- var d, A = {}, F = null, a = null;
798
- f !== void 0 && (F = "" + f), h.key !== void 0 && (F = "" + h.key), h.ref !== void 0 && (a = h.ref);
799
- for (d in h) c.call(h, d) && !l.hasOwnProperty(d) && (A[d] = h[d]);
800
- if (g && g.defaultProps) for (d in h = g.defaultProps, h) A[d] === void 0 && (A[d] = h[d]);
801
- return { $$typeof: t, type: g, key: F, ref: a, props: A, _owner: r.current };
809
+ function a(g, h, f) {
810
+ var d, $ = {}, H = null, u = null;
811
+ f !== void 0 && (H = "" + f), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (u = h.ref);
812
+ for (d in h) c.call(h, d) && !l.hasOwnProperty(d) && ($[d] = h[d]);
813
+ if (g && g.defaultProps) for (d in h = g.defaultProps, h) $[d] === void 0 && ($[d] = h[d]);
814
+ return { $$typeof: t, type: g, key: H, ref: u, props: $, _owner: r.current };
802
815
  }
803
- return l1.Fragment = o, l1.jsx = u, l1.jsxs = u, l1;
816
+ return i1.Fragment = o, i1.jsx = a, i1.jsxs = a, i1;
804
817
  }
805
- var i1 = {};
818
+ var a1 = {};
806
819
  /**
807
820
  * @license React
808
821
  * react-jsx-runtime.development.js
@@ -812,47 +825,47 @@ var i1 = {};
812
825
  * This source code is licensed under the MIT license found in the
813
826
  * LICENSE file in the root directory of this source tree.
814
827
  */
815
- var p3;
828
+ var m3;
816
829
  function Ve() {
817
- return p3 || (p3 = 1, process.env.NODE_ENV !== "production" && (function() {
818
- var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, C = "@@iterator";
830
+ return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && (function() {
831
+ var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
819
832
  function S(s) {
820
833
  if (s === null || typeof s != "object")
821
834
  return null;
822
- var i = Z && s[Z] || s[C];
835
+ var i = Z && s[Z] || s[j];
823
836
  return typeof i == "function" ? i : null;
824
837
  }
825
- var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
838
+ var C = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
826
839
  function x(s) {
827
840
  {
828
- for (var i = arguments.length, v = new Array(i > 1 ? i - 1 : 0), m = 1; m < i; m++)
829
- v[m - 1] = arguments[m];
830
- W("error", s, v);
841
+ for (var i = arguments.length, v = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
842
+ v[p - 1] = arguments[p];
843
+ O("error", s, v);
831
844
  }
832
845
  }
833
- function W(s, i, v) {
846
+ function O(s, i, v) {
834
847
  {
835
- var m = b.ReactDebugCurrentFrame, E = m.getStackAddendum();
848
+ var p = C.ReactDebugCurrentFrame, E = p.getStackAddendum();
836
849
  E !== "" && (i += "%s", v = v.concat([E]));
837
- var T = v.map(function(y) {
838
- return String(y);
850
+ var D = v.map(function(I) {
851
+ return String(I);
839
852
  });
840
- T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
853
+ D.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, D);
841
854
  }
842
855
  }
843
- var C1 = !1, K = !1, B = !1, _ = !1, z = !1, o1;
844
- o1 = Symbol.for("react.module.reference");
856
+ var o1 = !1, F = !1, B = !1, _ = !1, z = !1, s1;
857
+ s1 = Symbol.for("react.module.reference");
845
858
  function b1(s) {
846
- return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === d || _ || s === a || C1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === F || s.$$typeof === A || s.$$typeof === u || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
859
+ return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === d || _ || s === u || o1 || F || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === $ || s.$$typeof === a || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
847
860
  // types supported by any Flight configuration anywhere since
848
861
  // we don't know which Flight build this will end up being used
849
862
  // with.
850
- s.$$typeof === o1 || s.getModuleId !== void 0));
863
+ s.$$typeof === s1 || s.getModuleId !== void 0));
851
864
  }
852
865
  function U3(s, i, v) {
853
- var m = s.displayName;
854
- if (m)
855
- return m;
866
+ var p = s.displayName;
867
+ if (p)
868
+ return p;
856
869
  var E = i.displayName || i.name || "";
857
870
  return E !== "" ? v + "(" + E + ")" : v;
858
871
  }
@@ -885,18 +898,18 @@ function Ve() {
885
898
  case g:
886
899
  var i = s;
887
900
  return U1(i) + ".Consumer";
888
- case u:
901
+ case a:
889
902
  var v = s;
890
903
  return U1(v._context) + ".Provider";
891
904
  case h:
892
905
  return U3(s, s.render, "ForwardRef");
893
- case A:
894
- var m = s.displayName || null;
895
- return m !== null ? m : J(s.type) || "Memo";
896
- case F: {
897
- var E = s, T = E._payload, y = E._init;
906
+ case $:
907
+ var p = s.displayName || null;
908
+ return p !== null ? p : J(s.type) || "Memo";
909
+ case H: {
910
+ var E = s, D = E._payload, I = E._init;
898
911
  try {
899
- return J(y(T));
912
+ return J(I(D));
900
913
  } catch {
901
914
  return null;
902
915
  }
@@ -904,14 +917,14 @@ function Ve() {
904
917
  }
905
918
  return null;
906
919
  }
907
- var Q = Object.assign, s1 = 0, F1, H1, K1, q1, G1, Y1, z1;
920
+ var Q = Object.assign, c1 = 0, H1, F1, K1, q1, G1, Y1, z1;
908
921
  function J1() {
909
922
  }
910
923
  J1.__reactDisabledLog = !0;
911
- function F3() {
924
+ function H3() {
912
925
  {
913
- if (s1 === 0) {
914
- F1 = console.log, H1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
926
+ if (c1 === 0) {
927
+ H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
915
928
  var s = {
916
929
  configurable: !0,
917
930
  enumerable: !0,
@@ -928,12 +941,12 @@ function Ve() {
928
941
  groupEnd: s
929
942
  });
930
943
  }
931
- s1++;
944
+ c1++;
932
945
  }
933
946
  }
934
- function H3() {
947
+ function F3() {
935
948
  {
936
- if (s1--, s1 === 0) {
949
+ if (c1--, c1 === 0) {
937
950
  var s = {
938
951
  configurable: !0,
939
952
  enumerable: !0,
@@ -941,10 +954,10 @@ function Ve() {
941
954
  };
942
955
  Object.defineProperties(console, {
943
956
  log: Q({}, s, {
944
- value: F1
957
+ value: H1
945
958
  }),
946
959
  info: Q({}, s, {
947
- value: H1
960
+ value: F1
948
961
  }),
949
962
  warn: Q({}, s, {
950
963
  value: K1
@@ -963,98 +976,98 @@ function Ve() {
963
976
  })
964
977
  });
965
978
  }
966
- s1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
979
+ c1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
967
980
  }
968
981
  }
969
- var y1 = b.ReactCurrentDispatcher, I1;
970
- function v1(s, i, v) {
982
+ var y1 = C.ReactCurrentDispatcher, I1;
983
+ function h1(s, i, v) {
971
984
  {
972
985
  if (I1 === void 0)
973
986
  try {
974
987
  throw Error();
975
988
  } catch (E) {
976
- var m = E.stack.trim().match(/\n( *(at )?)/);
977
- I1 = m && m[1] || "";
989
+ var p = E.stack.trim().match(/\n( *(at )?)/);
990
+ I1 = p && p[1] || "";
978
991
  }
979
992
  return `
980
993
  ` + I1 + s;
981
994
  }
982
995
  }
983
- var R1 = !1, h1;
996
+ var R1 = !1, g1;
984
997
  {
985
998
  var K3 = typeof WeakMap == "function" ? WeakMap : Map;
986
- h1 = new K3();
999
+ g1 = new K3();
987
1000
  }
988
1001
  function X1(s, i) {
989
1002
  if (!s || R1)
990
1003
  return "";
991
1004
  {
992
- var v = h1.get(s);
1005
+ var v = g1.get(s);
993
1006
  if (v !== void 0)
994
1007
  return v;
995
1008
  }
996
- var m;
1009
+ var p;
997
1010
  R1 = !0;
998
1011
  var E = Error.prepareStackTrace;
999
1012
  Error.prepareStackTrace = void 0;
1000
- var T;
1001
- T = y1.current, y1.current = null, F3();
1013
+ var D;
1014
+ D = y1.current, y1.current = null, H3();
1002
1015
  try {
1003
1016
  if (i) {
1004
- var y = function() {
1017
+ var I = function() {
1005
1018
  throw Error();
1006
1019
  };
1007
- if (Object.defineProperty(y.prototype, "props", {
1020
+ if (Object.defineProperty(I.prototype, "props", {
1008
1021
  set: function() {
1009
1022
  throw Error();
1010
1023
  }
1011
1024
  }), typeof Reflect == "object" && Reflect.construct) {
1012
1025
  try {
1013
- Reflect.construct(y, []);
1026
+ Reflect.construct(I, []);
1014
1027
  } catch (V) {
1015
- m = V;
1028
+ p = V;
1016
1029
  }
1017
- Reflect.construct(s, [], y);
1030
+ Reflect.construct(s, [], I);
1018
1031
  } else {
1019
1032
  try {
1020
- y.call();
1033
+ I.call();
1021
1034
  } catch (V) {
1022
- m = V;
1035
+ p = V;
1023
1036
  }
1024
- s.call(y.prototype);
1037
+ s.call(I.prototype);
1025
1038
  }
1026
1039
  } else {
1027
1040
  try {
1028
1041
  throw Error();
1029
1042
  } catch (V) {
1030
- m = V;
1043
+ p = V;
1031
1044
  }
1032
1045
  s();
1033
1046
  }
1034
1047
  } catch (V) {
1035
- if (V && m && typeof V.stack == "string") {
1036
- for (var j = V.stack.split(`
1037
- `), O = m.stack.split(`
1038
- `), $ = j.length - 1, L = O.length - 1; $ >= 1 && L >= 0 && j[$] !== O[L]; )
1039
- L--;
1040
- for (; $ >= 1 && L >= 0; $--, L--)
1041
- if (j[$] !== O[L]) {
1042
- if ($ !== 1 || L !== 1)
1048
+ if (V && p && typeof V.stack == "string") {
1049
+ for (var b = V.stack.split(`
1050
+ `), k = p.stack.split(`
1051
+ `), P = b.length - 1, A = k.length - 1; P >= 1 && A >= 0 && b[P] !== k[A]; )
1052
+ A--;
1053
+ for (; P >= 1 && A >= 0; P--, A--)
1054
+ if (b[P] !== k[A]) {
1055
+ if (P !== 1 || A !== 1)
1043
1056
  do
1044
- if ($--, L--, L < 0 || j[$] !== O[L]) {
1045
- var H = `
1046
- ` + j[$].replace(" at new ", " at ");
1047
- return s.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", s.displayName)), typeof s == "function" && h1.set(s, H), H;
1057
+ if (P--, A--, A < 0 || b[P] !== k[A]) {
1058
+ var K = `
1059
+ ` + b[P].replace(" at new ", " at ");
1060
+ return s.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", s.displayName)), typeof s == "function" && g1.set(s, K), K;
1048
1061
  }
1049
- while ($ >= 1 && L >= 0);
1062
+ while (P >= 1 && A >= 0);
1050
1063
  break;
1051
1064
  }
1052
1065
  }
1053
1066
  } finally {
1054
- R1 = !1, y1.current = T, H3(), Error.prepareStackTrace = E;
1067
+ R1 = !1, y1.current = D, F3(), Error.prepareStackTrace = E;
1055
1068
  }
1056
- var n1 = s ? s.displayName || s.name : "", N = n1 ? v1(n1) : "";
1057
- return typeof s == "function" && h1.set(s, N), N;
1069
+ var n1 = s ? s.displayName || s.name : "", N = n1 ? h1(n1) : "";
1070
+ return typeof s == "function" && g1.set(s, N), N;
1058
1071
  }
1059
1072
  function q3(s, i, v) {
1060
1073
  return X1(s, !1);
@@ -1063,59 +1076,59 @@ function Ve() {
1063
1076
  var i = s.prototype;
1064
1077
  return !!(i && i.isReactComponent);
1065
1078
  }
1066
- function g1(s, i, v) {
1079
+ function f1(s, i, v) {
1067
1080
  if (s == null)
1068
1081
  return "";
1069
1082
  if (typeof s == "function")
1070
1083
  return X1(s, G3(s));
1071
1084
  if (typeof s == "string")
1072
- return v1(s);
1085
+ return h1(s);
1073
1086
  switch (s) {
1074
1087
  case f:
1075
- return v1("Suspense");
1088
+ return h1("Suspense");
1076
1089
  case d:
1077
- return v1("SuspenseList");
1090
+ return h1("SuspenseList");
1078
1091
  }
1079
1092
  if (typeof s == "object")
1080
1093
  switch (s.$$typeof) {
1081
1094
  case h:
1082
1095
  return q3(s.render);
1083
- case A:
1084
- return g1(s.type, i, v);
1085
- case F: {
1086
- var m = s, E = m._payload, T = m._init;
1096
+ case $:
1097
+ return f1(s.type, i, v);
1098
+ case H: {
1099
+ var p = s, E = p._payload, D = p._init;
1087
1100
  try {
1088
- return g1(T(E), i, v);
1101
+ return f1(D(E), i, v);
1089
1102
  } catch {
1090
1103
  }
1091
1104
  }
1092
1105
  }
1093
1106
  return "";
1094
1107
  }
1095
- var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
1096
- function f1(s) {
1108
+ var r1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = C.ReactDebugCurrentFrame;
1109
+ function w1(s) {
1097
1110
  if (s) {
1098
- var i = s._owner, v = g1(s.type, s._source, i ? i.type : null);
1111
+ var i = s._owner, v = f1(s.type, s._source, i ? i.type : null);
1099
1112
  N1.setExtraStackFrame(v);
1100
1113
  } else
1101
1114
  N1.setExtraStackFrame(null);
1102
1115
  }
1103
- function Y3(s, i, v, m, E) {
1116
+ function Y3(s, i, v, p, E) {
1104
1117
  {
1105
- var T = Function.call.bind(c1);
1106
- for (var y in s)
1107
- if (T(s, y)) {
1108
- var j = void 0;
1118
+ var D = Function.call.bind(r1);
1119
+ for (var I in s)
1120
+ if (D(s, I)) {
1121
+ var b = void 0;
1109
1122
  try {
1110
- if (typeof s[y] != "function") {
1111
- var O = Error((m || "React class") + ": " + v + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1112
- throw O.name = "Invariant Violation", O;
1123
+ if (typeof s[I] != "function") {
1124
+ var k = Error((p || "React class") + ": " + v + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1125
+ throw k.name = "Invariant Violation", k;
1113
1126
  }
1114
- j = s[y](i, y, m, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1115
- } catch ($) {
1116
- j = $;
1127
+ b = s[I](i, I, p, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1128
+ } catch (P) {
1129
+ b = P;
1117
1130
  }
1118
- j && !(j instanceof Error) && (f1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", v, y, typeof j), f1(null)), j instanceof Error && !(j.message in Q1) && (Q1[j.message] = !0, f1(E), x("Failed %s type: %s", v, j.message), f1(null));
1131
+ b && !(b instanceof Error) && (w1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", v, I, typeof b), w1(null)), b instanceof Error && !(b.message in Q1) && (Q1[b.message] = !0, w1(E), x("Failed %s type: %s", v, b.message), w1(null));
1119
1132
  }
1120
1133
  }
1121
1134
  }
@@ -1143,14 +1156,14 @@ function Ve() {
1143
1156
  if (X3(s))
1144
1157
  return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), e3(s);
1145
1158
  }
1146
- var n3 = b.ReactCurrentOwner, Q3 = {
1159
+ var n3 = C.ReactCurrentOwner, Q3 = {
1147
1160
  key: !0,
1148
1161
  ref: !0,
1149
1162
  __self: !0,
1150
1163
  __source: !0
1151
1164
  }, o3, s3;
1152
1165
  function N3(s) {
1153
- if (c1.call(s, "ref")) {
1166
+ if (r1.call(s, "ref")) {
1154
1167
  var i = Object.getOwnPropertyDescriptor(s, "ref").get;
1155
1168
  if (i && i.isReactWarning)
1156
1169
  return !1;
@@ -1158,7 +1171,7 @@ function Ve() {
1158
1171
  return s.ref !== void 0;
1159
1172
  }
1160
1173
  function e2(s) {
1161
- if (c1.call(s, "key")) {
1174
+ if (r1.call(s, "key")) {
1162
1175
  var i = Object.getOwnPropertyDescriptor(s, "key").get;
1163
1176
  if (i && i.isReactWarning)
1164
1177
  return !1;
@@ -1190,57 +1203,57 @@ function Ve() {
1190
1203
  });
1191
1204
  }
1192
1205
  }
1193
- var s2 = function(s, i, v, m, E, T, y) {
1194
- var j = {
1206
+ var s2 = function(s, i, v, p, E, D, I) {
1207
+ var b = {
1195
1208
  // This tag allows us to uniquely identify this as a React Element
1196
1209
  $$typeof: t,
1197
1210
  // Built-in properties that belong on the element
1198
1211
  type: s,
1199
1212
  key: i,
1200
1213
  ref: v,
1201
- props: y,
1214
+ props: I,
1202
1215
  // Record the component responsible for creating this element.
1203
- _owner: T
1216
+ _owner: D
1204
1217
  };
1205
- return j._store = {}, Object.defineProperty(j._store, "validated", {
1218
+ return b._store = {}, Object.defineProperty(b._store, "validated", {
1206
1219
  configurable: !1,
1207
1220
  enumerable: !1,
1208
1221
  writable: !0,
1209
1222
  value: !1
1210
- }), Object.defineProperty(j, "_self", {
1223
+ }), Object.defineProperty(b, "_self", {
1211
1224
  configurable: !1,
1212
1225
  enumerable: !1,
1213
1226
  writable: !1,
1214
- value: m
1215
- }), Object.defineProperty(j, "_source", {
1227
+ value: p
1228
+ }), Object.defineProperty(b, "_source", {
1216
1229
  configurable: !1,
1217
1230
  enumerable: !1,
1218
1231
  writable: !1,
1219
1232
  value: E
1220
- }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
1233
+ }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
1221
1234
  };
1222
- function c2(s, i, v, m, E) {
1235
+ function c2(s, i, v, p, E) {
1223
1236
  {
1224
- var T, y = {}, j = null, O = null;
1225
- v !== void 0 && (t3(v), j = "" + v), e2(i) && (t3(i.key), j = "" + i.key), N3(i) && (O = i.ref, t2(i, E));
1226
- for (T in i)
1227
- c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
1237
+ var D, I = {}, b = null, k = null;
1238
+ v !== void 0 && (t3(v), b = "" + v), e2(i) && (t3(i.key), b = "" + i.key), N3(i) && (k = i.ref, t2(i, E));
1239
+ for (D in i)
1240
+ r1.call(i, D) && !Q3.hasOwnProperty(D) && (I[D] = i[D]);
1228
1241
  if (s && s.defaultProps) {
1229
- var $ = s.defaultProps;
1230
- for (T in $)
1231
- y[T] === void 0 && (y[T] = $[T]);
1242
+ var P = s.defaultProps;
1243
+ for (D in P)
1244
+ I[D] === void 0 && (I[D] = P[D]);
1232
1245
  }
1233
- if (j || O) {
1234
- var L = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1235
- j && n2(y, L), O && o2(y, L);
1246
+ if (b || k) {
1247
+ var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
1248
+ b && n2(I, A), k && o2(I, A);
1236
1249
  }
1237
- return s2(s, j, O, E, m, n3.current, y);
1250
+ return s2(s, b, k, E, p, n3.current, I);
1238
1251
  }
1239
1252
  }
1240
- var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
1253
+ var T1 = C.ReactCurrentOwner, c3 = C.ReactDebugCurrentFrame;
1241
1254
  function t1(s) {
1242
1255
  if (s) {
1243
- var i = s._owner, v = g1(s.type, s._source, i ? i.type : null);
1256
+ var i = s._owner, v = f1(s.type, s._source, i ? i.type : null);
1244
1257
  c3.setExtraStackFrame(v);
1245
1258
  } else
1246
1259
  c3.setExtraStackFrame(null);
@@ -1287,8 +1300,8 @@ Check the top-level render call using <` + v + ">.");
1287
1300
  if (l3[v])
1288
1301
  return;
1289
1302
  l3[v] = !0;
1290
- var m = "";
1291
- s && s._owner && s._owner !== T1.current && (m = " It was passed a child from " + J(s._owner.type) + "."), t1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, m), t1(null);
1303
+ var p = "";
1304
+ s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), t1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, p), t1(null);
1292
1305
  }
1293
1306
  }
1294
1307
  function a3(s, i) {
@@ -1297,16 +1310,16 @@ Check the top-level render call using <` + v + ">.");
1297
1310
  return;
1298
1311
  if (E1(s))
1299
1312
  for (var v = 0; v < s.length; v++) {
1300
- var m = s[v];
1301
- _1(m) && i3(m, i);
1313
+ var p = s[v];
1314
+ _1(p) && i3(p, i);
1302
1315
  }
1303
1316
  else if (_1(s))
1304
1317
  s._store && (s._store.validated = !0);
1305
1318
  else if (s) {
1306
1319
  var E = S(s);
1307
1320
  if (typeof E == "function" && E !== s.entries)
1308
- for (var T = E.call(s), y; !(y = T.next()).done; )
1309
- _1(y.value) && i3(y.value, i);
1321
+ for (var D = E.call(s), I; !(I = D.next()).done; )
1322
+ _1(I.value) && i3(I.value, i);
1310
1323
  }
1311
1324
  }
1312
1325
  }
@@ -1320,13 +1333,13 @@ Check the top-level render call using <` + v + ">.");
1320
1333
  v = i.propTypes;
1321
1334
  else if (typeof i == "object" && (i.$$typeof === h || // Note: Memo only checks outer props here.
1322
1335
  // Inner props are checked in the reconciler.
1323
- i.$$typeof === A))
1336
+ i.$$typeof === $))
1324
1337
  v = i.propTypes;
1325
1338
  else
1326
1339
  return;
1327
1340
  if (v) {
1328
- var m = J(i);
1329
- Y3(v, s.props, "prop", m, s);
1341
+ var p = J(i);
1342
+ Y3(v, s.props, "prop", p, s);
1330
1343
  } else if (i.PropTypes !== void 0 && !D1) {
1331
1344
  D1 = !0;
1332
1345
  var E = J(i);
@@ -1338,9 +1351,9 @@ Check the top-level render call using <` + v + ">.");
1338
1351
  function a2(s) {
1339
1352
  {
1340
1353
  for (var i = Object.keys(s.props), v = 0; v < i.length; v++) {
1341
- var m = i[v];
1342
- if (m !== "children" && m !== "key") {
1343
- t1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), t1(null);
1354
+ var p = i[v];
1355
+ if (p !== "children" && p !== "key") {
1356
+ t1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), t1(null);
1344
1357
  break;
1345
1358
  }
1346
1359
  }
@@ -1348,48 +1361,48 @@ Check the top-level render call using <` + v + ">.");
1348
1361
  }
1349
1362
  }
1350
1363
  var u3 = {};
1351
- function d3(s, i, v, m, E, T) {
1364
+ function d3(s, i, v, p, E, D) {
1352
1365
  {
1353
- var y = b1(s);
1354
- if (!y) {
1355
- var j = "";
1356
- (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1357
- var O = r2();
1358
- O ? j += O : j += r3();
1359
- var $;
1360
- s === null ? $ = "null" : E1(s) ? $ = "array" : s !== void 0 && s.$$typeof === t ? ($ = "<" + (J(s.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, j);
1361
- }
1362
- var L = c2(s, i, v, E, T);
1363
- if (L == null)
1364
- return L;
1365
- if (y) {
1366
- var H = i.children;
1367
- if (H !== void 0)
1368
- if (m)
1369
- if (E1(H)) {
1370
- for (var n1 = 0; n1 < H.length; n1++)
1371
- a3(H[n1], s);
1372
- Object.freeze && Object.freeze(H);
1366
+ var I = b1(s);
1367
+ if (!I) {
1368
+ var b = "";
1369
+ (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (b += " 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 k = r2();
1371
+ k ? b += k : b += r3();
1372
+ var P;
1373
+ s === null ? P = "null" : E1(s) ? P = "array" : s !== void 0 && s.$$typeof === t ? (P = "<" + (J(s.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : P = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, b);
1374
+ }
1375
+ var A = c2(s, i, v, E, D);
1376
+ if (A == null)
1377
+ return A;
1378
+ if (I) {
1379
+ var K = i.children;
1380
+ if (K !== void 0)
1381
+ if (p)
1382
+ if (E1(K)) {
1383
+ for (var n1 = 0; n1 < K.length; n1++)
1384
+ a3(K[n1], s);
1385
+ Object.freeze && Object.freeze(K);
1373
1386
  } else
1374
1387
  x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1375
1388
  else
1376
- a3(H, s);
1389
+ a3(K, s);
1377
1390
  }
1378
- if (c1.call(i, "key")) {
1391
+ if (r1.call(i, "key")) {
1379
1392
  var N = J(s), V = Object.keys(i).filter(function(f2) {
1380
1393
  return f2 !== "key";
1381
- }), A1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1382
- if (!u3[N + A1]) {
1394
+ }), $1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1395
+ if (!u3[N + $1]) {
1383
1396
  var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1384
1397
  x(`A props object containing a "key" prop is being spread into JSX:
1385
1398
  let props = %s;
1386
1399
  <%s {...props} />
1387
1400
  React keys must be passed directly to JSX without using spread:
1388
1401
  let props = %s;
1389
- <%s key={someKey} {...props} />`, A1, N, g2, N), u3[N + A1] = !0;
1402
+ <%s key={someKey} {...props} />`, $1, N, g2, N), u3[N + $1] = !0;
1390
1403
  }
1391
1404
  }
1392
- return s === c ? a2(L) : i2(L), L;
1405
+ return s === c ? a2(A) : i2(A), A;
1393
1406
  }
1394
1407
  }
1395
1408
  function u2(s, i, v) {
@@ -1399,20 +1412,20 @@ React keys must be passed directly to JSX without using spread:
1399
1412
  return d3(s, i, v, !1);
1400
1413
  }
1401
1414
  var v2 = d2, h2 = u2;
1402
- i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
1403
- })()), i1;
1415
+ a1.Fragment = c, a1.jsx = v2, a1.jsxs = h2;
1416
+ })()), a1;
1404
1417
  }
1405
- var m3;
1418
+ var p3;
1406
1419
  function Ue() {
1407
- return m3 || (m3 = 1, process.env.NODE_ENV === "production" ? m1.exports = We() : m1.exports = Ve()), m1.exports;
1420
+ return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? M1.exports = We() : M1.exports = Ve()), M1.exports;
1408
1421
  }
1409
1422
  var n = Ue();
1410
- const Fe = "_mwfit_ppa3l_1", He = {
1411
- mwfit: Fe
1423
+ const He = "_mwfit_ppa3l_1", Fe = {
1424
+ mwfit: He
1412
1425
  }, Ke = () => {
1413
- const { reconnect: e } = I(), t = I3(), o = Me(), c = xe();
1426
+ const { reconnect: e } = y(), t = I3(), o = Me(), c = xe();
1414
1427
  return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
1415
- /* @__PURE__ */ n.jsxs("div", { className: `${He.mwfit} mx-auto text-center`, children: [
1428
+ /* @__PURE__ */ n.jsxs("div", { className: `${Fe.mwfit} mx-auto text-center`, children: [
1416
1429
  t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
1417
1430
  o && /* @__PURE__ */ n.jsx("h5", { className: "mt-1", children: o })
1418
1431
  ] }),
@@ -1426,31 +1439,31 @@ const Fe = "_mwfit_ppa3l_1", He = {
1426
1439
  reconnect: () => null
1427
1440
  }), qe = ({ children: e }) => {
1428
1441
  const t = W1(), o = I3();
1429
- x1(() => {
1430
- t(O3());
1442
+ Z1(() => {
1443
+ t(B3());
1431
1444
  }, [t]);
1432
- const c = r1(
1445
+ const c = l1(
1433
1446
  (h, f) => {
1434
- t(Ae(h, f));
1447
+ t($e(h, f));
1435
1448
  },
1436
1449
  [t]
1437
- ), r = r1(
1450
+ ), r = l1(
1438
1451
  (h, f) => {
1439
1452
  c(h, { value: f });
1440
1453
  },
1441
1454
  [c]
1442
- ), l = r1(
1455
+ ), l = l1(
1443
1456
  (h, f, d) => {
1444
- t($e(h, f, d));
1457
+ t(Pe(h, f, d));
1445
1458
  },
1446
1459
  [t]
1447
- ), u = r1(
1460
+ ), a = l1(
1448
1461
  (h, f) => {
1449
- t(Le(h, f));
1462
+ t(Ae(h, f));
1450
1463
  },
1451
1464
  [t]
1452
- ), g = r1(() => {
1453
- t(Pe());
1465
+ ), g = l1(() => {
1466
+ t(Le());
1454
1467
  }, [t]);
1455
1468
  return /* @__PURE__ */ n.jsx(
1456
1469
  k3.Provider,
@@ -1459,14 +1472,14 @@ const Fe = "_mwfit_ppa3l_1", He = {
1459
1472
  sendMessage: c,
1460
1473
  sendSimpleMessage: r,
1461
1474
  addEventHandler: l,
1462
- removeEventHandler: u,
1475
+ removeEventHandler: a,
1463
1476
  reconnect: g
1464
1477
  },
1465
1478
  children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
1466
1479
  }
1467
1480
  );
1468
1481
  }, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: ke, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
1469
- function I() {
1482
+ function y() {
1470
1483
  return b2(k3);
1471
1484
  }
1472
1485
  function Ge({
@@ -1476,17 +1489,17 @@ function Ge({
1476
1489
  onPressedButNotHeld: c,
1477
1490
  holdTimeMs: r = 500
1478
1491
  }) {
1479
- const l = u1(null), u = u1(!1), g = u1(!1);
1492
+ const l = d1(null), a = d1(!1), g = d1(!1);
1480
1493
  function h() {
1481
- u.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
1494
+ a.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
1482
1495
  g.current = !0, o == null || o(), l.current = null;
1483
1496
  }, r);
1484
1497
  }
1485
1498
  function f() {
1486
- u.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
1499
+ a.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
1487
1500
  }
1488
1501
  function d() {
1489
- u.current && f();
1502
+ a.current && f();
1490
1503
  }
1491
1504
  return {
1492
1505
  onPointerDown: h,
@@ -1495,19 +1508,19 @@ function Ge({
1495
1508
  };
1496
1509
  }
1497
1510
  function w(e, t) {
1498
- const { sendMessage: c } = I(), r = u1(null);
1511
+ const { sendMessage: c } = y(), r = d1(null);
1499
1512
  function l() {
1500
1513
  c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
1501
1514
  c(`${e}/${t}`, { value: "held" });
1502
1515
  }, 250));
1503
1516
  }
1504
- function u() {
1517
+ function a() {
1505
1518
  r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
1506
1519
  }
1507
- return Ge({ onPress: l, onRelease: u });
1520
+ return Ge({ onPress: l, onRelease: a });
1508
1521
  }
1509
- function j1(e) {
1510
- const { sendMessage: t } = I(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
1522
+ function C1(e) {
1523
+ const { sendMessage: t } = y(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
1511
1524
  return X(() => ({
1512
1525
  volumeUp: o,
1513
1526
  volumeDown: c,
@@ -1515,7 +1528,7 @@ function j1(e) {
1515
1528
  }), [e, t, o, c]);
1516
1529
  }
1517
1530
  function V6(e) {
1518
- const { sendMessage: t } = I(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
1531
+ const { sendMessage: t } = y(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
1519
1532
  return X(() => ({
1520
1533
  volumeUp: o,
1521
1534
  volumeDown: c,
@@ -1523,7 +1536,7 @@ function V6(e) {
1523
1536
  }), [e, t, o, c]);
1524
1537
  }
1525
1538
  function W3(e, t) {
1526
- const { sendMessage: o, sendSimpleMessage: c } = I(), r = j1(e);
1539
+ const { sendMessage: o, sendSimpleMessage: c } = y(), r = C1(e);
1527
1540
  return X(() => {
1528
1541
  if (!r) {
1529
1542
  console.log("baseVolume is undefined");
@@ -1543,7 +1556,7 @@ function W3(e, t) {
1543
1556
  }, [r, t, e, o, c]);
1544
1557
  }
1545
1558
  function U6(e, t) {
1546
- const { sendMessage: o, sendSimpleMessage: c } = I(), r = j1(e);
1559
+ const { sendMessage: o, sendSimpleMessage: c } = y(), r = C1(e);
1547
1560
  return X(() => !r || !t ? void 0 : {
1548
1561
  ...r,
1549
1562
  volumeState: t,
@@ -1553,30 +1566,31 @@ function U6(e, t) {
1553
1566
  }, [r, t, e, o, c]);
1554
1567
  }
1555
1568
  function Ye(e) {
1556
- const t = D(e), o = `/device/${e}`, c = X(() => {
1569
+ const t = T(e), o = `/device/${e}`, c = X(() => {
1557
1570
  if (t)
1558
1571
  return t.volume;
1559
1572
  }, [t]);
1560
1573
  return W3(o, c);
1561
1574
  }
1562
1575
  function V3(e) {
1563
- const { sendMessage: t } = I();
1576
+ var a;
1577
+ const { sendMessage: t } = y(), o = (a = T(e)) == null ? void 0 : a.powerState;
1564
1578
  return { powerOn: () => {
1565
1579
  t(`/device/${e}/powerOn`, null);
1566
1580
  }, powerOff: () => {
1567
1581
  t(`/device/${e}/powerOff`, null);
1568
1582
  }, powerToggle: () => {
1569
1583
  t(`/device/${e}/powerToggle`, null);
1570
- } };
1584
+ }, powerState: o };
1571
1585
  }
1572
1586
  function k1(e) {
1573
- const { sendMessage: t } = I(), o = D(e);
1587
+ const { sendMessage: t } = y(), o = T(e);
1574
1588
  return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
1575
1589
  t(`/device/${e}/${r}`, null);
1576
1590
  } } : void 0;
1577
1591
  }
1578
1592
  function ze(e) {
1579
- const { sendMessage: t } = I(), o = D(e), c = () => {
1593
+ const { sendMessage: t } = y(), o = T(e), c = () => {
1580
1594
  t(`/device/${e}/setDefaultChannelLevels`, null);
1581
1595
  }, r = () => {
1582
1596
  if ((o == null ? void 0 : o.levelControls) === void 0) return;
@@ -1586,20 +1600,20 @@ function ze(e) {
1586
1600
  };
1587
1601
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1588
1602
  }
1589
- function F6(e) {
1590
- const t = D(e), o = V3(e), c = k1(e), r = k1(e), l = Ye(e), u = ze(e);
1603
+ function H6(e) {
1604
+ const t = T(e), o = V3(e), c = k1(e), r = k1(e), l = Ye(e), a = ze(e);
1591
1605
  if (t)
1592
1606
  return {
1593
1607
  avrState: t,
1594
1608
  powerControl: o,
1595
1609
  inputControl: c,
1596
1610
  surroundSoundModes: r,
1597
- surroundChannels: u,
1611
+ surroundChannels: a,
1598
1612
  mainVolumeControl: l
1599
1613
  };
1600
1614
  }
1601
- function H6(e) {
1602
- const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), u = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), d = (A) => t("/camera/recallPreset", A);
1615
+ function F6(e) {
1616
+ const { sendMessage: t } = y(), o = `/device/${e}`, c = T(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), a = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), d = ($) => t("/camera/recallPreset", $);
1603
1617
  if (c)
1604
1618
  return {
1605
1619
  state: c,
@@ -1607,14 +1621,14 @@ function H6(e) {
1607
1621
  zoomOut: f,
1608
1622
  up: r,
1609
1623
  down: l,
1610
- left: u,
1624
+ left: a,
1611
1625
  right: g,
1612
1626
  recallPreset: d
1613
1627
  };
1614
1628
  }
1615
1629
  const K6 = ({ className: e }) => {
1616
1630
  const [t, o] = Y();
1617
- return x1(() => {
1631
+ return Z1(() => {
1618
1632
  setInterval(() => {
1619
1633
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1620
1634
  o(c);
@@ -1625,29 +1639,29 @@ const K6 = ({ className: e }) => {
1625
1639
  ] });
1626
1640
  };
1627
1641
  function q6(e) {
1628
- const { sendMessage: t } = I(), o = D(e), c = `/device/${e}`;
1629
- return o ? { state: o, recallPreset: (u, g) => {
1630
- t(`${c}/presets/recall`, { deviceKey: u, preset: g });
1631
- }, savePresets: (u) => {
1632
- t(`${c}/presets/save`, u);
1642
+ const { sendMessage: t } = y(), o = T(e), c = `/device/${e}`;
1643
+ return o ? { state: o, recallPreset: (a, g) => {
1644
+ t(`${c}/presets/recall`, { deviceKey: a, preset: g });
1645
+ }, savePresets: (a) => {
1646
+ t(`${c}/presets/save`, a);
1633
1647
  } } : void 0;
1634
1648
  }
1635
1649
  function G6(e) {
1636
- const t = D(e);
1650
+ const t = T(e);
1637
1651
  if (t)
1638
1652
  return { endpointState: t };
1639
1653
  }
1640
1654
  function Y6(e) {
1641
- const t = D(e);
1655
+ const t = T(e);
1642
1656
  if (t)
1643
1657
  return {
1644
1658
  state: t
1645
1659
  };
1646
1660
  }
1647
1661
  function z6(e) {
1648
- const { sendMessage: t } = I(), o = D(e), c = X(() => {
1662
+ const { sendMessage: t } = y(), o = T(e), c = X(() => {
1649
1663
  const r = `/device/${e}`;
1650
- return { setEntry: (u, g, h) => t(`${r}/setEntry`, { index: u, name: g, number: h }) };
1664
+ return { setEntry: (g, h, f) => t(`${r}/setEntry`, { index: g, name: h, number: f }), dialEntry: (g) => t(`${r}/dialEntry`, { value: g }) };
1651
1665
  }, [e, t]);
1652
1666
  if (o)
1653
1667
  return {
@@ -1656,31 +1670,31 @@ function z6(e) {
1656
1670
  };
1657
1671
  }
1658
1672
  function J6(e) {
1659
- const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), u = w(t, "info"), g = w(t, "exit");
1660
- return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: u, exit: g };
1673
+ const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), a = w(t, "info"), g = w(t, "exit");
1674
+ return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: a, exit: g };
1661
1675
  }
1662
1676
  function X6(e) {
1663
1677
  const t = `/device/${e}`, o = w(t, "red"), c = w(t, "green"), r = w(t, "yellow"), l = w(t, "blue");
1664
1678
  return { red: o, green: c, yellow: r, blue: l };
1665
1679
  }
1666
1680
  function Q6(e) {
1667
- const t = D(e);
1681
+ const t = T(e);
1668
1682
  if (t)
1669
1683
  return {
1670
1684
  communicationMonitorState: t
1671
1685
  };
1672
1686
  }
1673
1687
  function N6(e) {
1674
- const t = D(e);
1688
+ const t = T(e);
1675
1689
  if (t)
1676
1690
  return t.deviceInfo || void 0;
1677
1691
  }
1678
1692
  function et(e) {
1679
- const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), u = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
1680
- return { up: o, down: c, left: r, right: l, select: u, menu: g, exit: h };
1693
+ const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), a = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
1694
+ return { up: o, down: c, left: r, right: l, select: a, menu: g, exit: h };
1681
1695
  }
1682
1696
  function tt(e) {
1683
- const { sendMessage: t } = I();
1697
+ const { sendMessage: t } = y();
1684
1698
  return { recallPreset: (c) => {
1685
1699
  t(
1686
1700
  `/device/${e}/recallPreset`,
@@ -1693,7 +1707,7 @@ function nt(e) {
1693
1707
  return { dvrList: o, record: c };
1694
1708
  }
1695
1709
  function ot(e) {
1696
- const { sendMessage: t } = I(), o = D(e);
1710
+ const { sendMessage: t } = y(), o = T(e);
1697
1711
  return o ? { roomCombinerState: o, setAutoMode: () => {
1698
1712
  t(`/device/${e}/setAutoMode`, null);
1699
1713
  }, setManualMode: () => {
@@ -1707,7 +1721,29 @@ function ot(e) {
1707
1721
  } } : void 0;
1708
1722
  }
1709
1723
  function st(e) {
1710
- const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e);
1724
+ var a;
1725
+ const { sendMessage: t } = y(), o = (a = T(e)) == null ? void 0 : a.cameraIsMuted, c = () => {
1726
+ t(`/device/${e}/cameraMuteOn`, null);
1727
+ }, r = () => {
1728
+ t(`/device/${e}/cameraMuteOff`, null);
1729
+ }, l = () => {
1730
+ t(`/device/${e}/cameraMuteToggle`, null);
1731
+ };
1732
+ if (o)
1733
+ return { cameraMuteOn: c, cameraMuteOff: r, cameraMuteToggle: l, cameraIsMuted: o };
1734
+ }
1735
+ function ct(e) {
1736
+ var l;
1737
+ const { sendMessage: t } = y(), o = (l = T(e)) == null ? void 0 : l.presets, c = (a) => {
1738
+ t(`/device/${e}/recallPreset`, a);
1739
+ }, r = (a) => {
1740
+ t(`/device/${e}/savePreset`, a);
1741
+ };
1742
+ if (o)
1743
+ return { recallPreset: c, savePreset: r, presets: o };
1744
+ }
1745
+ function rt(e) {
1746
+ const { sendMessage: t } = y(), o = `/device/${e}`, c = T(e);
1711
1747
  return c ? {
1712
1748
  state: c,
1713
1749
  selectCamera: (l) => {
@@ -1715,103 +1751,103 @@ function st(e) {
1715
1751
  }
1716
1752
  } : void 0;
1717
1753
  }
1718
- function ct(e) {
1719
- const { sendMessage: t } = I(), o = D(e);
1754
+ function lt(e) {
1755
+ const { sendMessage: t } = y(), o = T(e);
1720
1756
  return X(() => o ? {
1721
1757
  state: o,
1722
- dial: (u) => t(`/device/${e}/dial`, { value: u }),
1758
+ dial: (a) => t(`/device/${e}/dial`, { value: a }),
1723
1759
  endAllCalls: () => t(`/device/${e}/endAllCalls`, null),
1724
- sendDtmf: (u) => t(`/device/${e}/dtmf`, { value: u })
1760
+ sendDtmf: (a) => t(`/device/${e}/dtmf`, { value: a })
1725
1761
  } : void 0, [e, t, o]);
1726
1762
  }
1727
- function rt(e) {
1728
- const t = D(e);
1763
+ function it(e) {
1764
+ const t = T(e);
1729
1765
  if (t)
1730
1766
  return { state: t };
1731
1767
  }
1732
- function lt(e) {
1733
- const { sendMessage: t, sendSimpleMessage: o } = I(), c = D(e), r = ne(e), l = c || r;
1768
+ function at(e) {
1769
+ const { sendMessage: t, sendSimpleMessage: o } = y(), c = T(e), r = ne(e), l = c || r;
1734
1770
  return l ? {
1735
1771
  levelState: l,
1736
- setLevel: (d, A) => o(`${d}/level`, A),
1772
+ setLevel: (d, $) => o(`${d}/level`, $),
1737
1773
  muteToggle: (d) => t(`${d}/muteToggle`, null),
1738
1774
  muteOn: (d) => t(`${d}/muteOn`, null),
1739
1775
  muteOff: (d) => t(`${d}/muteOff`, null)
1740
1776
  } : void 0;
1741
1777
  }
1742
- function it(e) {
1743
- const { sendMessage: t } = I(), o = D(e);
1778
+ function ut(e) {
1779
+ const { sendMessage: t } = y(), o = T(e);
1744
1780
  return o ? { lightingState: o, selectScene: (r) => {
1745
1781
  t(`/device/${e}/selectScene`, r);
1746
1782
  } } : void 0;
1747
1783
  }
1748
- function at(e) {
1749
- const { sendMessage: t } = I(), o = D(e);
1784
+ function dt(e) {
1785
+ const { sendMessage: t } = y(), o = T(e);
1750
1786
  return o ? { matrixRoutingState: o, setRoute: (r) => {
1751
1787
  t(`/device/${e}/route`, r);
1752
1788
  } } : void 0;
1753
1789
  }
1754
- function ut(e) {
1755
- const { sendMessage: t } = I();
1790
+ function vt(e) {
1791
+ const { sendMessage: t } = y();
1756
1792
  return { closeApp: () => {
1757
1793
  t(`/device/${e}/closeWebViewController`, null);
1758
1794
  } };
1759
1795
  }
1760
- function dt(e) {
1761
- const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), u = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), d = w(t, "num8"), A = w(t, "num9"), F = w(t, "numDash"), a = w(t, "numEnter");
1796
+ function ht(e) {
1797
+ const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), a = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), d = w(t, "num8"), $ = w(t, "num9"), H = w(t, "numDash"), u = w(t, "numEnter");
1762
1798
  return {
1763
1799
  digit0: o,
1764
1800
  digit1: c,
1765
1801
  digit2: r,
1766
1802
  digit3: l,
1767
- digit4: u,
1803
+ digit4: a,
1768
1804
  digit5: g,
1769
1805
  digit6: h,
1770
1806
  digit7: f,
1771
1807
  digit8: d,
1772
- digit9: A,
1773
- keypadAccessoryButton1: F,
1774
- keypadAccessoryButton2: a
1808
+ digit9: $,
1809
+ keypadAccessoryButton1: H,
1810
+ keypadAccessoryButton2: u
1775
1811
  };
1776
1812
  }
1777
- function vt(e) {
1778
- const { sendMessage: t } = I(), o = D(e);
1813
+ function gt(e) {
1814
+ const { sendMessage: t } = y(), o = T(e);
1779
1815
  return o ? { projectorScreenLiftControlState: o, raise: () => {
1780
1816
  t(`/device/${e}/raise`, null);
1781
1817
  }, lower: () => {
1782
1818
  t(`/device/${e}/lower`, null);
1783
1819
  } } : void 0;
1784
1820
  }
1785
- function ht(e) {
1786
- const { sendMessage: t } = I(), o = S1(e);
1821
+ function ft(e) {
1822
+ const { sendMessage: t } = y(), o = j1(e);
1787
1823
  return o ? { roomEventScheduleState: o, save: (r) => {
1788
1824
  t(`/room/${e}/saveScheduledEvents`, r);
1789
1825
  } } : void 0;
1790
1826
  }
1791
- function gt(e) {
1792
- const { sendMessage: t } = I();
1827
+ function wt(e) {
1828
+ const { sendMessage: t } = y();
1793
1829
  return { runDefaultPresentRoute: () => {
1794
1830
  t(`/room/${e}/defaultsource`, {});
1795
1831
  } };
1796
1832
  }
1797
- function ft(e) {
1798
- const { sendMessage: t } = I();
1833
+ function mt(e) {
1834
+ const { sendMessage: t } = y();
1799
1835
  return { runDirectRoute: (c) => {
1800
1836
  t(`/room/${e}/directRoute`, c);
1801
1837
  } };
1802
1838
  }
1803
- function wt(e) {
1804
- const { sendMessage: t } = I();
1805
- return { routingState: D(e), runRoute: (r) => {
1839
+ function pt(e) {
1840
+ const { sendMessage: t } = y();
1841
+ return { routingState: T(e), runRoute: (r) => {
1806
1842
  t(`/room/${e}/source`, r);
1807
1843
  } };
1808
1844
  }
1809
- function pt(e) {
1845
+ function Mt(e) {
1810
1846
  const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
1811
1847
  return { dvrList: o, replay: c };
1812
1848
  }
1813
- function mt(e) {
1814
- const { sendMessage: t } = I(), o = D(e);
1849
+ function xt(e) {
1850
+ const { sendMessage: t } = y(), o = T(e);
1815
1851
  return o ? { shadeState: o, shadeUp: () => {
1816
1852
  t(`/device/${e}/shadeUp`, null);
1817
1853
  }, shadeDown: () => {
@@ -1820,8 +1856,8 @@ function mt(e) {
1820
1856
  t(`/device/${e}/stopOrPreset`, null);
1821
1857
  } } : void 0;
1822
1858
  }
1823
- function Mt(e) {
1824
- const { sendMessage: t } = I(), o = S1(e);
1859
+ function Zt(e) {
1860
+ const { sendMessage: t } = y(), o = j1(e);
1825
1861
  return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
1826
1862
  t(`/room/${e}/setShutdownPromptSeconds`, g);
1827
1863
  }, shutdownStart: () => {
@@ -1832,28 +1868,28 @@ function Mt(e) {
1832
1868
  t(`/room/${e}/shutdownCancel`, null);
1833
1869
  } } : void 0;
1834
1870
  }
1835
- function xt(e) {
1836
- const { sendMessage: t } = I(), o = D(e);
1871
+ function St(e) {
1872
+ const { sendMessage: t } = y(), o = T(e);
1837
1873
  return o ? { switchedOutputState: o, on: () => {
1838
1874
  t(`/device/${e}/on`, null);
1839
1875
  }, off: () => {
1840
1876
  t(`/device/${e}/off`, null);
1841
1877
  } } : void 0;
1842
1878
  }
1843
- function Zt(e) {
1844
- const { sendMessage: t } = I(), o = S1(e);
1879
+ function jt(e) {
1880
+ const { sendMessage: t } = y(), o = j1(e);
1845
1881
  return o ? { techPasswordState: o, validatePassword: (l) => {
1846
1882
  t(`/room/${e}/validateTechPassword`, { password: l });
1847
- }, setPassword: (l, u) => {
1848
- t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: u });
1883
+ }, setPassword: (l, a) => {
1884
+ t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: a });
1849
1885
  } } : void 0;
1850
1886
  }
1851
- function St(e) {
1852
- const { sendMessage: t } = I(), o = D(e);
1887
+ function Ct(e) {
1888
+ const { sendMessage: t } = y(), o = T(e);
1853
1889
  return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1854
1890
  }
1855
- function jt(e) {
1856
- const { sendMessage: t } = I(), o = D(e), c = (r) => {
1891
+ function bt(e) {
1892
+ const { sendMessage: t } = y(), o = T(e), c = (r) => {
1857
1893
  t(`/device/${e}/saveTheme`, { value: r });
1858
1894
  };
1859
1895
  return {
@@ -1861,21 +1897,21 @@ function jt(e) {
1861
1897
  saveTheme: c
1862
1898
  };
1863
1899
  }
1864
- function Ct(e) {
1865
- const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), u = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
1900
+ function yt(e) {
1901
+ const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), a = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
1866
1902
  return {
1867
1903
  play: o,
1868
1904
  pause: c,
1869
1905
  stop: r,
1870
1906
  prevTrack: l,
1871
- nextTrack: u,
1907
+ nextTrack: a,
1872
1908
  rewind: g,
1873
1909
  fastForward: h,
1874
1910
  record: f
1875
1911
  };
1876
1912
  }
1877
- function bt(e) {
1878
- const t = D(e), { sendMessage: o } = I();
1913
+ function It(e) {
1914
+ const t = T(e), { sendMessage: o } = y();
1879
1915
  return t ? {
1880
1916
  touchpanelState: t,
1881
1917
  appControl: { hideApp: () => {
@@ -1890,8 +1926,8 @@ function bt(e) {
1890
1926
  } }
1891
1927
  } : void 0;
1892
1928
  }
1893
- function yt(e) {
1894
- const t = D(e), o = V3(e), c = k1(e);
1929
+ function Rt(e) {
1930
+ const t = T(e), o = V3(e), c = k1(e);
1895
1931
  if (!t) return;
1896
1932
  const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
1897
1933
  return {
@@ -1901,15 +1937,15 @@ function yt(e) {
1901
1937
  powerFb: { powerOnFb: r, powerOffFb: l }
1902
1938
  };
1903
1939
  }
1904
- function It(e) {
1940
+ function Et(e) {
1905
1941
  const t = `/device/${e}`;
1906
- return j1(t);
1942
+ return C1(t);
1907
1943
  }
1908
- const Rt = ({
1944
+ const Tt = ({
1909
1945
  config: e
1910
1946
  }, t = !0) => {
1911
- const { sendMessage: o } = I(), c = u1(!1), r = X(() => {
1912
- var u, g, h, f;
1947
+ const { sendMessage: o } = y(), c = d1(!1), r = X(() => {
1948
+ var a, g, h, f;
1913
1949
  if (!e)
1914
1950
  return;
1915
1951
  const l = /* @__PURE__ */ new Set();
@@ -1917,7 +1953,7 @@ const Rt = ({
1917
1953
  l.add(d);
1918
1954
  }), e.destinationList && Object.values(e.destinationList).forEach((d) => {
1919
1955
  l.add(d.sinkKey);
1920
- }), e.audioControlPointList && Object.values((u = e.audioControlPointList) == null ? void 0 : u.levelControls).forEach(
1956
+ }), e.audioControlPointList && Object.values((a = e.audioControlPointList) == null ? void 0 : a.levelControls).forEach(
1921
1957
  (d) => {
1922
1958
  d.itemKey ? l.add(d.parentDeviceKey + "--" + d.itemKey) : l.add(d.parentDeviceKey);
1923
1959
  }
@@ -1934,36 +1970,36 @@ const Rt = ({
1934
1970
  d.sourceKey && d.sourceKey !== "$off" && l.add(d.sourceKey);
1935
1971
  return l;
1936
1972
  }, [e]);
1937
- return x1(() => {
1973
+ return Z1(() => {
1938
1974
  !t || !r || r.size === 0 || c.current || (console.log("requesting state for deviceKeys:", r), r.forEach((l) => {
1939
1975
  o(`/device/${l}/fullStatus`, { deviceKey: l });
1940
1976
  }), c.current = !0);
1941
1977
  }, [r, t, o]), r;
1942
1978
  };
1943
- function Et(e, t) {
1979
+ function Dt(e, t) {
1944
1980
  const [o, c] = Y(!1), [r, l] = Y(!1);
1945
1981
  return Z3(() => {
1946
- const { current: u } = e, g = () => {
1947
- const h = u && u.scrollHeight > u.clientHeight, f = u && u.scrollWidth > u.clientWidth;
1982
+ const { current: a } = e, g = () => {
1983
+ const h = a && a.scrollHeight > a.clientHeight, f = a && a.scrollWidth > a.clientWidth;
1948
1984
  l(h ?? !1), c(f ?? !1), t && t(h ?? !1, f ?? !1);
1949
1985
  };
1950
- u && g();
1986
+ a && g();
1951
1987
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1952
1988
  }
1953
- function Tt(e, t) {
1989
+ function _t(e, t) {
1954
1990
  const o = `/room/${e}/volumes/${t}`;
1955
- return j1(o);
1991
+ return C1(o);
1956
1992
  }
1957
- function Dt(e, t) {
1993
+ function $t(e, t) {
1958
1994
  const o = te(e, t), c = `/room/${e}/volumes/${t}`;
1959
1995
  return W3(c, o);
1960
1996
  }
1961
- function _t(e) {
1997
+ function Pt(e) {
1962
1998
  var g, h;
1963
1999
  const [t, o] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (f) => {
1964
2000
  const { current: d } = e;
1965
2001
  d && (console.log(d.scrollLeft), d.scrollLeft += f, console.log(d.scrollLeft));
1966
- }, u = (f) => {
2002
+ }, a = (f) => {
1967
2003
  const { current: d } = e;
1968
2004
  d && (console.log(d.scrollTop), d.scrollTop += f, console.log(d.scrollTop));
1969
2005
  };
@@ -1972,18 +2008,18 @@ function _t(e) {
1972
2008
  o((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
1973
2009
  };
1974
2010
  f && d();
1975
- }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: u };
2011
+ }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: a };
1976
2012
  }
1977
2013
  function At(e) {
1978
2014
  const t = W1();
1979
2015
  return [() => {
1980
- t(k.addSyncState(e));
2016
+ t(W.addSyncState(e));
1981
2017
  }, () => {
1982
- t(k.removeSyncState(e));
2018
+ t(W.removeSyncState(e));
1983
2019
  }, Ze(e)];
1984
2020
  }
1985
- function $t() {
1986
- const { sendMessage: e } = I();
2021
+ function Lt() {
2022
+ const { sendMessage: e } = y();
1987
2023
  return {
1988
2024
  reboot: () => {
1989
2025
  e("/system/reboot", null);
@@ -1993,14 +2029,14 @@ function $t() {
1993
2029
  }
1994
2030
  };
1995
2031
  }
1996
- function Lt() {
2032
+ function Ot() {
1997
2033
  const [e, t] = Y(), [o, c] = Y();
1998
2034
  function r() {
1999
2035
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
2000
2036
  const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
2001
2037
  c(l);
2002
2038
  }
2003
- return x1(() => {
2039
+ return Z1(() => {
2004
2040
  r();
2005
2041
  const l = setInterval(() => {
2006
2042
  r();
@@ -2008,7 +2044,7 @@ function Lt() {
2008
2044
  return () => clearInterval(l);
2009
2045
  }, []), { date: e, time: o };
2010
2046
  }
2011
- const Pt = () => {
2047
+ const Bt = () => {
2012
2048
  const [e, t] = Y(!1), o = y2(), c = I2();
2013
2049
  let r;
2014
2050
  return R2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
@@ -2031,7 +2067,7 @@ const Pt = () => {
2031
2067
  ),
2032
2068
  e && /* @__PURE__ */ n.jsx("p", { children: r })
2033
2069
  ] });
2034
- }, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", L1 = {
2070
+ }, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", A1 = {
2035
2071
  iconbtn: Je,
2036
2072
  iconbtnvert: Xe,
2037
2073
  iconsm: Qe
@@ -2042,38 +2078,38 @@ const Pt = () => {
2042
2078
  className: c,
2043
2079
  iconClassName: r = "",
2044
2080
  otherContentClassName: l = "",
2045
- disabled: u,
2081
+ disabled: a,
2046
2082
  feedback: g,
2047
2083
  feedbackClassName: h,
2048
2084
  onPointerDown: f,
2049
2085
  onPointerUp: d,
2050
- onPointerLeave: A,
2051
- ...F
2086
+ onPointerLeave: $,
2087
+ ...H
2052
2088
  }) => {
2053
- const [a, Z] = Y(!1), C = !u && g ? h : "", S = !u && (a || g);
2089
+ const [u, Z] = Y(!1), j = !a && g ? h : "", S = !a && (u || g);
2054
2090
  return /* @__PURE__ */ n.jsxs(
2055
2091
  "button",
2056
2092
  {
2057
2093
  type: "button",
2058
- className: `${L1.iconbtn} ${o ? L1.iconbtnvert : ""} ${c} ${C}`,
2059
- ...F,
2060
- disabled: u,
2061
- onPointerDown: (b) => {
2062
- Z(!0), f == null || f(b);
2094
+ className: `${A1.iconbtn} ${o ? A1.iconbtnvert : ""} ${c} ${j}`,
2095
+ ...H,
2096
+ disabled: a,
2097
+ onPointerDown: (C) => {
2098
+ Z(!0), f == null || f(C);
2063
2099
  },
2064
- onPointerUp: (b) => {
2065
- Z(!1), d == null || d(b);
2100
+ onPointerUp: (C) => {
2101
+ Z(!1), d == null || d(C);
2066
2102
  },
2067
- onPointerLeave: (b) => {
2068
- Z(!1), A == null || A(b);
2103
+ onPointerLeave: (C) => {
2104
+ Z(!1), $ == null || $(C);
2069
2105
  },
2070
2106
  children: [
2071
2107
  e && /* @__PURE__ */ n.jsx(
2072
2108
  e,
2073
2109
  {
2074
- className: `${r || L1.iconsm}`,
2110
+ className: `${r || A1.iconsm}`,
2075
2111
  active: S,
2076
- disabled: u
2112
+ disabled: a
2077
2113
  }
2078
2114
  ),
2079
2115
  l ? /* @__PURE__ */ n.jsx("div", { className: l, children: t }) : /* @__PURE__ */ n.jsx("div", { children: t })
@@ -2924,7 +2960,7 @@ const Pt = () => {
2924
2960
  active: e,
2925
2961
  disabled: o
2926
2962
  }
2927
- ), p8 = ({
2963
+ ), m8 = ({
2928
2964
  active: e,
2929
2965
  className: t = "",
2930
2966
  disabled: o
@@ -2973,7 +3009,7 @@ const Pt = () => {
2973
3009
  active: e,
2974
3010
  disabled: o
2975
3011
  }
2976
- ), m8 = ({
3012
+ ), p8 = ({
2977
3013
  active: e,
2978
3014
  className: t = "",
2979
3015
  disabled: o
@@ -3286,7 +3322,7 @@ const Pt = () => {
3286
3322
  active: e,
3287
3323
  disabled: o
3288
3324
  }
3289
- ), Bt = ({
3325
+ ), kt = ({
3290
3326
  active: e,
3291
3327
  // Just to shut up the linter on this template. Prefer deleting this lint rule
3292
3328
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -3712,8 +3748,8 @@ const Pt = () => {
3712
3748
  Moon: g8,
3713
3749
  Playstation: f8,
3714
3750
  Podium: w8,
3715
- Power: p8,
3716
- Privacy: m8,
3751
+ Power: m8,
3752
+ Privacy: p8,
3717
3753
  Question: M8,
3718
3754
  RightArrow: x8,
3719
3755
  RoomPC: Z8,
@@ -3727,7 +3763,7 @@ const Pt = () => {
3727
3763
  X: E8,
3728
3764
  Xbox: T8
3729
3765
  };
3730
- function Ot({
3766
+ function Wt({
3731
3767
  name: e,
3732
3768
  iconsDictionary: t = _8,
3733
3769
  ...o
@@ -3735,56 +3771,56 @@ function Ot({
3735
3771
  const c = t[e] ?? null;
3736
3772
  return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
3737
3773
  }
3738
- const A8 = "_grid_1cmpp_1", $8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", P8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", a1 = {
3739
- grid: A8,
3740
- header: $8,
3741
- content: L8,
3742
- footer: P8,
3743
- volume: B8
3744
- }, kt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
3745
- /* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
3746
- /* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
3747
- r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
3748
- /* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
3749
- ] }), O8 = "_grid_11w5q_1", k8 = "_header_11w5q_11", W8 = "_content_11w5q_17", M1 = {
3750
- grid: O8,
3774
+ const $8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", L8 = "_footer_1cmpp_23", O8 = "_volume_1cmpp_29", u1 = {
3775
+ grid: $8,
3776
+ header: P8,
3777
+ content: A8,
3778
+ footer: L8,
3779
+ volume: O8
3780
+ }, Vt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: u1.grid, children: [
3781
+ /* @__PURE__ */ n.jsx("div", { className: u1.header, children: e }),
3782
+ /* @__PURE__ */ n.jsx("div", { className: u1.content, children: o }),
3783
+ r && /* @__PURE__ */ n.jsx("div", { className: u1.volume, children: c }),
3784
+ /* @__PURE__ */ n.jsx("div", { className: u1.footer, children: t })
3785
+ ] }), B8 = "_grid_11w5q_1", k8 = "_header_11w5q_11", W8 = "_content_11w5q_17", x1 = {
3786
+ grid: B8,
3751
3787
  header: k8,
3752
3788
  content: W8
3753
- }, Wt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${M1.grid}`, children: [
3754
- /* @__PURE__ */ n.jsx("div", { className: M1.header, children: t }),
3755
- c && /* @__PURE__ */ n.jsx("div", { className: M1.leftNav, children: c }),
3756
- /* @__PURE__ */ n.jsx("div", { className: M1.content, children: o })
3757
- ] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", F8 = "_content_1uwfo_17", P1 = {
3789
+ }, Ut = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${x1.grid}`, children: [
3790
+ /* @__PURE__ */ n.jsx("div", { className: x1.header, children: t }),
3791
+ c && /* @__PURE__ */ n.jsx("div", { className: x1.leftNav, children: c }),
3792
+ /* @__PURE__ */ n.jsx("div", { className: x1.content, children: o })
3793
+ ] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17", L1 = {
3758
3794
  grid: V8,
3759
3795
  header: U8,
3760
- content: F8
3761
- }, Vt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${P1.grid}`, children: [
3762
- /* @__PURE__ */ n.jsx("div", { className: P1.header, children: t }),
3763
- /* @__PURE__ */ n.jsx("div", { className: P1.content, children: o })
3796
+ content: H8
3797
+ }, Ht = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${L1.grid}`, children: [
3798
+ /* @__PURE__ */ n.jsx("div", { className: L1.header, children: t }),
3799
+ /* @__PURE__ */ n.jsx("div", { className: L1.content, children: o })
3764
3800
  ] });
3765
- class Ut {
3801
+ class Ft {
3766
3802
  constructor() {
3767
3803
  q(this, "currentShareText");
3768
3804
  q(this, "enabled");
3769
3805
  q(this, "isSharing");
3770
3806
  }
3771
3807
  }
3772
- function Ft() {
3808
+ function Kt() {
3773
3809
  return console.log(location.pathname), location.pathname;
3774
3810
  }
3775
- var H8 = /* @__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))(H8 || {});
3776
- class Ht {
3811
+ var F8 = /* @__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))(F8 || {});
3812
+ class qt {
3777
3813
  constructor(t, o) {
3778
3814
  q(this, "path");
3779
3815
  q(this, "handler");
3780
3816
  this.path = t, this.handler = o;
3781
3817
  }
3782
3818
  }
3783
- const Kt = "$off";
3819
+ const Gt = "$off";
3784
3820
  export {
3785
3821
  K6 as Clock,
3786
- H8 as DaysOfWeek,
3787
- Pt as ErrorBox,
3822
+ F8 as DaysOfWeek,
3823
+ Bt as ErrorBox,
3788
3824
  Ne as IconButton,
3789
3825
  e8 as IconMultiAlert,
3790
3826
  t8 as IconMultiBan,
@@ -3804,14 +3840,14 @@ export {
3804
3840
  g8 as IconMultiMoon,
3805
3841
  f8 as IconMultiPlaystation,
3806
3842
  w8 as IconMultiPodium,
3807
- p8 as IconMultiPower,
3808
- m8 as IconMultiPrivacy,
3843
+ m8 as IconMultiPower,
3844
+ p8 as IconMultiPrivacy,
3809
3845
  M8 as IconMultiQuestion,
3810
3846
  x8 as IconMultiRightArrow,
3811
3847
  Z8 as IconMultiRoomPC,
3812
3848
  S8 as IconMultiShade,
3813
3849
  j8 as IconMultiSun,
3814
- Bt as IconMultiTemplate,
3850
+ kt as IconMultiTemplate,
3815
3851
  C8 as IconMultiUpArrow,
3816
3852
  b8 as IconMultiVolDown,
3817
3853
  y8 as IconMultiVolMute,
@@ -3819,28 +3855,28 @@ export {
3819
3855
  R8 as IconMultiWireless,
3820
3856
  E8 as IconMultiX,
3821
3857
  T8 as IconMultiXbox,
3822
- kt as MainLayout,
3823
- Ht as MessageHandler,
3858
+ Vt as MainLayout,
3859
+ qt as MessageHandler,
3824
3860
  W6 as MobileControlProvider,
3825
3861
  R as MultiStateIconContainer,
3826
- Ot as NamedIconButton,
3827
- Ut as ShareState,
3828
- Wt as TechLayout,
3829
- Vt as TechPinLayout,
3830
- L3 as WS_ADD_EVENT_HANDLER,
3862
+ Wt as NamedIconButton,
3863
+ Ft as ShareState,
3864
+ Ut as TechLayout,
3865
+ Ht as TechPinLayout,
3866
+ A3 as WS_ADD_EVENT_HANDLER,
3831
3867
  _3 as WS_CONNECT,
3832
- A3 as WS_DISCONNECT,
3833
- B3 as WS_RECONNECT,
3834
- P3 as WS_REMOVE_EVENT_HANDLER,
3835
- $3 as WS_SEND_MESSAGE,
3868
+ $3 as WS_DISCONNECT,
3869
+ O3 as WS_RECONNECT,
3870
+ L3 as WS_REMOVE_EVENT_HANDLER,
3871
+ P3 as WS_SEND_MESSAGE,
3836
3872
  k3 as WebsocketContext,
3837
3873
  T3 as appConfigActions,
3838
- Be as createWebSocketMiddleware,
3839
- w1 as devicesActions,
3840
- Ft as getBaseLocation,
3874
+ Oe as createWebSocketMiddleware,
3875
+ m1 as devicesActions,
3876
+ Kt as getBaseLocation,
3841
3877
  f3 as httpClient,
3842
3878
  _8 as iconsDictionary,
3843
- Kt as roomOffSourceKey,
3879
+ Gt as roomOffSourceKey,
3844
3880
  p1 as roomsActions,
3845
3881
  U as runtimeConfigActions,
3846
3882
  C3 as selectAllDevices,
@@ -3848,70 +3884,70 @@ export {
3848
3884
  E2 as selectAppConfig,
3849
3885
  ce as selectClientId,
3850
3886
  he as selectCurrentPopoverIdForGroup,
3851
- A2 as selectDeviceByKey,
3887
+ $2 as selectDeviceByKey,
3852
3888
  b3 as selectDeviceInterfaceSupport,
3853
3889
  ve as selectDeviceSupportsInterface,
3854
3890
  fe as selectError,
3855
3891
  y3 as selectInterfacesForDevice,
3856
- me as selectIsSyncStateValuePresent,
3892
+ pe as selectIsSyncStateValuePresent,
3857
3893
  de as selectIsTouchpanel,
3858
3894
  D2 as selectLogoPath,
3859
3895
  V1 as selectModalVisibility,
3860
3896
  _2 as selectPartnerMetadata,
3861
3897
  X2 as selectRoomAdvancedSharingActive,
3862
3898
  V2 as selectRoomAudioControlPointList,
3863
- P2 as selectRoomByKey,
3899
+ L2 as selectRoomByKey,
3864
3900
  q2 as selectRoomCodecContentDestinationKey,
3865
- $2 as selectRoomConfiguration,
3866
- F2 as selectRoomDestinationList,
3901
+ P2 as selectRoomConfiguration,
3902
+ H2 as selectRoomDestinationList,
3867
3903
  U2 as selectRoomDestinations,
3868
3904
  ee as selectRoomDisplayStates,
3869
- H2 as selectRoomEnvironmentalDevices,
3905
+ F2 as selectRoomEnvironmentalDevices,
3870
3906
  G2 as selectRoomInCall,
3871
3907
  z2 as selectRoomIsCoolingDown,
3872
3908
  J2 as selectRoomIsOn,
3873
3909
  Y2 as selectRoomIsWarmingUp,
3874
3910
  se as selectRoomKey,
3875
3911
  k2 as selectRoomLevelControls,
3876
- B2 as selectRoomName,
3912
+ O2 as selectRoomName,
3877
3913
  K2 as selectRoomProgramAudioDestinationKey,
3878
3914
  Q2 as selectRoomShareState,
3879
3915
  W2 as selectRoomSourceList,
3880
- O2 as selectRoomVolume,
3881
- L2 as selectRooms,
3916
+ B2 as selectRoomVolume,
3917
+ A2 as selectRooms,
3882
3918
  ae as selectRuntimeInfo,
3883
3919
  ie as selectServerIsRunningOnProcessorHardware,
3884
3920
  ge as selectShowPopoverById,
3885
3921
  we as selectShowReconnect,
3886
3922
  re as selectSystemUuid,
3887
- pe as selectTheme,
3923
+ me as selectTheme,
3888
3924
  ue as selectTouchpanelKey,
3889
3925
  le as selectUserCode,
3890
3926
  oe as selectWsIsConnected,
3891
3927
  N2 as selectZoomRoomControllerKey,
3892
3928
  ke as store,
3893
- k as uiActions,
3929
+ W as uiActions,
3894
3930
  je as uiReducer,
3895
3931
  Q8 as useApiPath,
3896
3932
  X8 as useAppConfig,
3897
3933
  W1 as useAppDispatch,
3898
- p as useAppSelector,
3899
- F6 as useAvrControl,
3934
+ m as useAppSelector,
3935
+ H6 as useAvrControl,
3900
3936
  w as useButtonHeldHeartbeat,
3901
- H6 as useCameraBase,
3937
+ F6 as useCameraBase,
3902
3938
  S6 as useClientId,
3903
- It as useDeviceIBasicVolume,
3939
+ Et as useDeviceIBasicVolume,
3904
3940
  Ye as useDeviceIBasicVolumeWithFeedback,
3905
3941
  E6 as useDeviceInterfaceSupport,
3906
3942
  q6 as useDevicePresetsModel,
3907
3943
  D6 as useDeviceSupportsInterface,
3908
3944
  G6 as useEndpoint,
3909
3945
  Me as useError,
3910
- Rt as useGetAllDeviceStateFromRoomConfiguration,
3946
+ Tt as useGetAllDeviceStateFromRoomConfiguration,
3911
3947
  t6 as useGetAllDevices,
3912
3948
  o6 as useGetAllRooms,
3913
- L6 as useGetCurrentPopoverIdForGroup,
3914
- D as useGetDevice,
3949
+ A6 as useGetCurrentPopoverIdForGroup,
3950
+ T as useGetDevice,
3915
3951
  V6 as useGetIBasicVolume,
3916
3952
  U6 as useGetIBasicVolumeWithFeedback,
3917
3953
  s6 as useGetRoom,
@@ -3919,7 +3955,7 @@ export {
3919
3955
  x6 as useGetZoomRoomControllerKey,
3920
3956
  Y6 as useIAudioCodecInfo,
3921
3957
  z6 as useIAudioCodecPhonebook,
3922
- j1 as useIBasicVolume,
3958
+ C1 as useIBasicVolume,
3923
3959
  W3 as useIBasicVolumeWithFeedback,
3924
3960
  J6 as useIChannel,
3925
3961
  X6 as useIColor,
@@ -3929,47 +3965,49 @@ export {
3929
3965
  tt as useIDspPresets,
3930
3966
  nt as useIDvr,
3931
3967
  ot as useIEssentialsRoomCombiner,
3932
- st as useIHasCameras,
3933
- ct as useIHasDialer,
3968
+ st as useIHasCameraMute,
3969
+ ct as useIHasCameraPresets,
3970
+ rt as useIHasCameras,
3971
+ lt as useIHasDialer,
3934
3972
  V3 as useIHasPowerControl,
3935
3973
  k1 as useIHasSelectableItems,
3936
- rt as useIHumiditySensor,
3937
- lt as useILevelControls,
3938
- it as useILightingScenes,
3939
- at as useIMatrixRouting,
3940
- ut as useIMcCiscoCodecUserInterfaceAppControl,
3941
- dt as useINumeric,
3942
- vt as useIProjectorScreenLiftControl,
3943
- ht as useIRoomEventSchedule,
3944
- gt as useIRunDefaultPresentRoute,
3945
- ft as useIRunDirectRouteAction,
3946
- wt as useIRunRouteAction,
3947
- pt as useISetTopBoxControls,
3948
- mt as useIShadesOpenCloseStop,
3949
- Mt as useIShutdownPromptTimer,
3950
- xt as useISwitchedOutput,
3951
- Zt as useITechPassword,
3952
- St as useITemperatureSensor,
3953
- jt as useITheme,
3954
- Ct as useITransport,
3974
+ it as useIHumiditySensor,
3975
+ at as useILevelControls,
3976
+ ut as useILightingScenes,
3977
+ dt as useIMatrixRouting,
3978
+ vt as useIMcCiscoCodecUserInterfaceAppControl,
3979
+ ht as useINumeric,
3980
+ gt as useIProjectorScreenLiftControl,
3981
+ ft as useIRoomEventSchedule,
3982
+ wt as useIRunDefaultPresentRoute,
3983
+ mt as useIRunDirectRouteAction,
3984
+ pt as useIRunRouteAction,
3985
+ Mt as useISetTopBoxControls,
3986
+ xt as useIShadesOpenCloseStop,
3987
+ Zt as useIShutdownPromptTimer,
3988
+ St as useISwitchedOutput,
3989
+ jt as useITechPassword,
3990
+ Ct as useITemperatureSensor,
3991
+ bt as useITheme,
3992
+ yt as useITransport,
3955
3993
  k6 as useInitialize,
3956
3994
  T6 as useInterfacesForDevice,
3957
3995
  Ze as useIsSyncStateValuePresent,
3958
3996
  R6 as useIsTouchpanel,
3959
3997
  N8 as useLogoPath,
3960
- bt as useMobileControlTouchpanelController,
3961
- Et as useOverflow,
3998
+ It as useMobileControlTouchpanelController,
3999
+ Dt as useOverflow,
3962
4000
  e6 as usePartnerMetadata,
3963
4001
  Ge as usePressHoldRelease,
3964
- p6 as useRoomAdvancedSharingActive,
4002
+ m6 as useRoomAdvancedSharingActive,
3965
4003
  l6 as useRoomAudioControlPointList,
3966
4004
  v6 as useRoomCodecContentDestinationKey,
3967
4005
  n6 as useRoomConfiguration,
3968
4006
  a6 as useRoomDestinationList,
3969
4007
  i6 as useRoomDestinations,
3970
4008
  u6 as useRoomEnvironmentalDevices,
3971
- Tt as useRoomIBasicVolume,
3972
- Dt as useRoomIBasicVolumeWithFeedback,
4009
+ _t as useRoomIBasicVolume,
4010
+ $t as useRoomIBasicVolumeWithFeedback,
3973
4011
  h6 as useRoomInCall,
3974
4012
  f6 as useRoomIsCoolingDown,
3975
4013
  w6 as useRoomIsOn,
@@ -3978,32 +4016,32 @@ export {
3978
4016
  ne as useRoomLevelControls,
3979
4017
  c6 as useRoomName,
3980
4018
  d6 as useRoomProgramAudioDestinationKey,
3981
- m6 as useRoomShareState,
4019
+ p6 as useRoomShareState,
3982
4020
  r6 as useRoomSourceList,
3983
- S1 as useRoomState,
4021
+ j1 as useRoomState,
3984
4022
  te as useRoomVolume,
3985
4023
  y6 as useRuntimeInfo,
3986
- _t as useScroll,
4024
+ Pt as useScroll,
3987
4025
  b6 as useServerIsRunningOnProcessorHardware,
3988
- A6 as useShowIncomingCallModal,
3989
- $6 as useShowModal,
3990
- P6 as useShowPopoverById,
4026
+ $6 as useShowIncomingCallModal,
4027
+ P6 as useShowModal,
4028
+ L6 as useShowPopoverById,
3991
4029
  xe as useShowReconnect,
3992
4030
  _6 as useShowShutdownModal,
3993
4031
  At as useStateIsSynced,
3994
- $t as useSystemControl,
4032
+ Lt as useSystemControl,
3995
4033
  j6 as useSystemUuid,
3996
- B6 as useTheme,
3997
- Lt as useTimeAndDate,
4034
+ O6 as useTheme,
4035
+ Ot as useTimeAndDate,
3998
4036
  I6 as useTouchpanelKey,
3999
- yt as useTwoWayDisplayBase,
4037
+ Rt as useTwoWayDisplayBase,
4000
4038
  C6 as useUserCode,
4001
- I as useWebsocketContext,
4039
+ y as useWebsocketContext,
4002
4040
  I3 as useWsIsConnected,
4003
- $e as wsAddEventHandler,
4004
- O3 as wsConnect,
4005
- O6 as wsDisconnect,
4006
- Pe as wsReconnect,
4007
- Le as wsRemoveEventHandler,
4008
- Ae as wsSendMessage
4041
+ Pe as wsAddEventHandler,
4042
+ B3 as wsConnect,
4043
+ B6 as wsDisconnect,
4044
+ Le as wsReconnect,
4045
+ Ae as wsRemoveEventHandler,
4046
+ $e as wsSendMessage
4009
4047
  };