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

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