@pepperdash/mobile-control-react-app-core 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/mobile-control-react-app-core.es.js +901 -845
  2. package/dist/mobile-control-react-app-core.umd.js +10 -10
  3. package/dist/shared/hooks/index.d.ts +1 -0
  4. package/dist/shared/hooks/index.d.ts.map +1 -1
  5. package/dist/shared/hooks/interfaces/index.d.ts +3 -0
  6. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
  7. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts +11 -0
  8. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts.map +1 -0
  9. package/dist/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.d.ts +4 -0
  10. package/dist/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.d.ts.map +1 -0
  11. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts +8 -0
  12. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts.map +1 -0
  13. package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts +3 -1
  14. package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts.map +1 -1
  15. package/dist/shared/hooks/useTimeAndDate.d.ts +5 -0
  16. package/dist/shared/hooks/useTimeAndDate.d.ts.map +1 -0
  17. package/dist/shared/layout/ErrorBox.d.ts.map +1 -1
  18. package/dist/store/rooms/rooms.slice.d.ts +6 -8
  19. package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
  20. package/dist/types/state/state/IEssentialsRoomCombinerState.d.ts +25 -0
  21. package/dist/types/state/state/IEssentialsRoomCombinerState.d.ts.map +1 -0
  22. package/dist/types/state/state/IProjectorScreenLiftControlState.d.ts +7 -0
  23. package/dist/types/state/state/IProjectorScreenLiftControlState.d.ts.map +1 -0
  24. package/dist/types/state/state/RoomState.d.ts +3 -1
  25. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  26. package/dist/types/state/state/index.d.ts +2 -0
  27. package/dist/types/state/state/index.d.ts.map +1 -1
  28. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  29. package/package.json +1 -1
@@ -1,12 +1,13 @@
1
- var U1 = Object.defineProperty;
2
- var H1 = (t, e, r) => e in t ? U1(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var _ = (t, e, r) => (H1(t, typeof e != "symbol" ? e + "" : e, r), r);
1
+ var W1 = Object.defineProperty;
2
+ var H1 = (t, e, o) => e in t ? W1(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
3
+ var _ = (t, e, o) => (H1(t, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import K1 from "axios";
5
- import { createSlice as o3, combineReducers as G1, configureStore as n1, createSelector as q1 } from "@reduxjs/toolkit";
5
+ import { createSlice as s3, combineReducers as G1, configureStore as n1, createSelector as q1 } from "@reduxjs/toolkit";
6
6
  import { useSelector as Y1, useDispatch as J1, Provider as z1 } from "react-redux";
7
- import * as r1 from "lodash";
8
- import o1, { createContext as X1, useState as d3, useRef as r3, useCallback as a3, useEffect as n3, useContext as Q1 } from "react";
9
- const N1 = {
7
+ import * as o1 from "lodash";
8
+ import r1, { createContext as X1, useState as q, useRef as r3, useCallback as u3, useEffect as G, useContext as Q1 } from "react";
9
+ import { useNavigate as N1 } from "react-router-dom";
10
+ const e2 = {
10
11
  config: {
11
12
  enableDev: !1,
12
13
  apiPath: "",
@@ -16,41 +17,41 @@ const N1 = {
16
17
  loginMode: "",
17
18
  modes: {}
18
19
  }
19
- }, s1 = o3({
20
+ }, s1 = s3({
20
21
  name: "appConfig",
21
- initialState: N1,
22
+ initialState: e2,
22
23
  reducers: {
23
24
  setAppConfig(t, e) {
24
25
  t.config = e.payload;
25
26
  }
26
27
  }
27
- }), e2 = s1.actions, t2 = s1.reducer, n2 = {}, c1 = o3({
28
+ }), t2 = s1.actions, n2 = s1.reducer, o2 = {}, c1 = s3({
28
29
  name: "devices",
29
- initialState: n2,
30
+ initialState: o2,
30
31
  reducers: {
31
32
  setDeviceState(t, e) {
32
- const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
33
+ const o = e.payload.type, s = o.slice(o.lastIndexOf("/") + 1);
33
34
  if (!s)
34
35
  return;
35
- const l = e.payload.content, a = t[s] ?? {}, u = r1.merge(a, l);
36
- return t[s] = u, t;
36
+ const l = e.payload.content, i = t[s] ?? {}, d = o1.merge(i, l);
37
+ return t[s] = d, t;
37
38
  }
38
39
  }
39
- }), r2 = c1.actions, o2 = c1.reducer, s2 = {}, l1 = o3({
40
+ }), r2 = c1.actions, s2 = c1.reducer, c2 = {}, l1 = s3({
40
41
  name: "rooms",
41
- initialState: s2,
42
+ initialState: c2,
42
43
  reducers: {
43
44
  setRoomState(t, e) {
44
- const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
45
- if (console.log(r, s), !s)
45
+ const o = e.payload.type, s = o.slice(o.lastIndexOf("/") + 1);
46
+ if (console.log(o, s), !s)
46
47
  return;
47
48
  const l = e.payload.content;
48
49
  console.log(l);
49
- const a = t[s] ?? {}, u = r1.merge(a, l);
50
- return t[s] = u, console.log(t), t;
50
+ const i = t[s] ?? {}, d = o1.merge(i, l);
51
+ return t[s] = d, console.log(t), t;
51
52
  }
52
53
  }
53
- }), c2 = l1.actions, l2 = l1.reducer, i2 = {
54
+ }), l2 = l1.actions, i2 = l1.reducer, a2 = {
54
55
  apiVersion: "",
55
56
  serverIsRunningOnProcessorHardware: !1,
56
57
  websocket: {
@@ -69,9 +70,9 @@ const N1 = {
69
70
  userCode: "",
70
71
  qrUrl: ""
71
72
  }
72
- }, i1 = o3({
73
+ }, i1 = s3({
73
74
  name: "runtimeConfig",
74
- initialState: i2,
75
+ initialState: a2,
75
76
  reducers: {
76
77
  setRuntimeConfig(t, e) {
77
78
  t.apiVersion = e.payload.apiVersion, t.serverIsRunningOnProcessorHardware = e.payload.serverIsRunningOnProcessorHardware;
@@ -95,15 +96,15 @@ const N1 = {
95
96
  t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
96
97
  }
97
98
  }
98
- }), K = i1.actions, a2 = i1.reducer, u2 = {
99
+ }), K = i1.actions, u2 = i1.reducer, d2 = {
99
100
  modalVisibility: {
100
101
  showShutdownModal: !1,
101
102
  showIncomingCallModal: !1
102
103
  },
103
104
  popoverVisibility: {}
104
- }, a1 = o3({
105
+ }, a1 = s3({
105
106
  name: "ui",
106
- initialState: u2,
107
+ initialState: d2,
107
108
  reducers: {
108
109
  clearAllModals(t) {
109
110
  Object.entries(t.modalVisibility).forEach(([e]) => {
@@ -120,142 +121,142 @@ const N1 = {
120
121
  t.modalVisibility.showIncomingCallModal = e.payload;
121
122
  },
122
123
  setPopoverState(t, e) {
123
- t.popoverVisibility[e.payload.popoverGroup] || (t.popoverVisibility[e.payload.popoverGroup] = {}), Object.entries(t.popoverVisibility[e.payload.popoverGroup]).forEach(([r]) => {
124
- t.popoverVisibility[e.payload.popoverGroup][r] = !1;
124
+ t.popoverVisibility[e.payload.popoverGroup] || (t.popoverVisibility[e.payload.popoverGroup] = {}), Object.entries(t.popoverVisibility[e.payload.popoverGroup]).forEach(([o]) => {
125
+ t.popoverVisibility[e.payload.popoverGroup][o] = !1;
125
126
  }), t.popoverVisibility[e.payload.popoverGroup][e.payload.popoverId] = e.payload.value;
126
127
  }
127
128
  }
128
- }), E8 = a1.actions, d2 = a1.reducer, u1 = G1({
129
- appConfig: t2,
130
- runtimeConfig: a2,
131
- rooms: l2,
132
- devices: o2,
133
- ui: d2
134
- }), v2 = n1({
129
+ }), L8 = a1.actions, v2 = a1.reducer, u1 = G1({
130
+ appConfig: n2,
131
+ runtimeConfig: u2,
132
+ rooms: i2,
133
+ devices: s2,
134
+ ui: v2
135
+ }), h2 = n1({
135
136
  reducer: u1
136
- }), Z = Y1, h2 = () => Z((t) => t.appConfig.config), _8 = () => Z((t) => t.appConfig.config.apiPath), g2 = () => Z((t) => t.devices);
137
- function $(t) {
137
+ }), Z = Y1, g2 = () => Z((t) => t.appConfig.config), $8 = () => Z((t) => t.appConfig.config.apiPath), f2 = () => Z((t) => t.devices);
138
+ function L(t) {
138
139
  return Z((e) => e.devices[t] ? e.devices[t] : void 0);
139
140
  }
140
- const L8 = (t) => Z(
141
+ const A8 = (t) => Z(
141
142
  (e) => {
142
- var r;
143
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.configuration : void 0;
143
+ var o;
144
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.configuration : void 0;
144
145
  }
145
146
  ), R3 = (t) => Z(
146
147
  (e) => e.rooms[t] ? e.rooms[t] : void 0
147
- ), $8 = (t) => Z(
148
+ ), T8 = (t) => Z(
148
149
  (e) => {
149
- var r;
150
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.name : void 0;
150
+ var o;
151
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.name : void 0;
151
152
  }
152
- ), f2 = (t, e) => Z(
153
- (r) => {
153
+ ), w2 = (t, e) => Z(
154
+ (o) => {
154
155
  var s;
155
- return r.rooms[t] ? (s = r.rooms[t]) == null ? void 0 : s.volumes[e] : void 0;
156
+ return o.rooms[t] ? (s = o.rooms[t]) == null ? void 0 : s.volumes[e] : void 0;
156
157
  }
157
- ), A8 = (t) => Z(
158
+ ), D8 = (t) => Z(
158
159
  (e) => {
159
- var r, s;
160
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.sourceList : void 0;
160
+ var o, s;
161
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.sourceList : void 0;
161
162
  }
162
163
  ), B8 = (t) => Z(
163
164
  (e) => {
164
- var r, s;
165
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations : void 0;
166
- }
167
- ), T8 = (t) => Z(
168
- (e) => {
169
- var r, s;
170
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList : void 0;
171
- }
172
- ), D8 = (t) => Z(
173
- (e) => {
174
- var r, s;
175
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.environmentalDevices : void 0;
165
+ var o, s;
166
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.destinations : void 0;
176
167
  }
177
168
  ), P8 = (t) => Z(
178
169
  (e) => {
179
- var r, s, l, a, u, f, d, C;
180
- return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) != null && s.destinationList.programAudio ? (u = (a = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : a.destinationList.programAudio) == null ? void 0 : u.sinkKey : ((C = (d = (f = e.rooms[t]) == null ? void 0 : f.configuration) == null ? void 0 : d.destinationList.defaultDisplay) == null ? void 0 : C.sinkKey) || "";
170
+ var o, s;
171
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.destinationList : void 0;
181
172
  }
182
173
  ), O8 = (t) => Z(
183
174
  (e) => {
184
- var r, s, l;
185
- return e.rooms[t] ? (l = (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList.codecContent) == null ? void 0 : l.sinkKey : void 0;
175
+ var o, s;
176
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.environmentalDevices : void 0;
186
177
  }
187
178
  ), V8 = (t) => Z(
188
179
  (e) => {
189
- var r;
190
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isInCall : void 0;
180
+ var o, s, l, i, d, f, u, C;
181
+ return (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) != null && s.destinationList.programAudio ? (d = (i = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((C = (u = (f = e.rooms[t]) == null ? void 0 : f.configuration) == null ? void 0 : u.destinationList.defaultDisplay) == null ? void 0 : C.sinkKey) || "";
191
182
  }
192
183
  ), F8 = (t) => Z(
193
184
  (e) => {
194
- var r;
195
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isWarmingUp : void 0;
185
+ var o, s, l;
186
+ return e.rooms[t] ? (l = (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.destinationList.codecContent) == null ? void 0 : l.sinkKey : void 0;
196
187
  }
197
188
  ), k8 = (t) => Z(
198
189
  (e) => {
199
- var r;
200
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isCoolingDown : void 0;
190
+ var o;
191
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.isInCall : void 0;
201
192
  }
202
- ), W8 = (t) => Z(
193
+ ), U8 = (t) => Z(
203
194
  (e) => {
204
- var r;
205
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isOn : void 0;
195
+ var o;
196
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.isWarmingUp : void 0;
206
197
  }
207
- ), U8 = (t) => Z(
198
+ ), W8 = (t) => Z(
208
199
  (e) => {
209
- var r;
210
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.advancedSharingActive : void 0;
200
+ var o;
201
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.isCoolingDown : void 0;
211
202
  }
212
203
  ), H8 = (t) => Z(
213
204
  (e) => {
214
- var r;
215
- return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.share : void 0;
205
+ var o;
206
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.isOn : void 0;
207
+ }
208
+ ), K8 = (t) => Z(
209
+ (e) => {
210
+ var o;
211
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.advancedSharingActive : void 0;
212
+ }
213
+ ), G8 = (t) => Z(
214
+ (e) => {
215
+ var o;
216
+ return e.rooms[t] ? (o = e.rooms[t]) == null ? void 0 : o.share : void 0;
216
217
  }
217
- ), K8 = (t) => q1(
218
+ ), q8 = (t) => q1(
218
219
  [
219
- (e, r) => r,
220
- g2,
220
+ (e, o) => o,
221
+ f2,
221
222
  (e) => {
222
- var r, s;
223
- return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations;
223
+ var o, s;
224
+ return (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.destinations;
224
225
  }
225
226
  ],
226
- (e, r, s) => {
227
- if (console.log("roomKey", e), console.log("devices", r), console.log("destinations", s), !s)
227
+ (e, o, s) => {
228
+ if (console.log("roomKey", e), console.log("devices", o), console.log("destinations", s), !s)
228
229
  return;
229
- const l = Object.entries(s).filter(([u]) => u !== "programAudio" && u !== "codecContent").map(([, u]) => u);
230
- return Object.values(r).filter((u) => Object.values(l).includes(u.key));
230
+ const l = Object.entries(s).filter(([d]) => d !== "programAudio" && d !== "codecContent").map(([, d]) => d);
231
+ return Object.values(o).filter((d) => Object.values(l).includes(d.key));
231
232
  }
232
- )(v2.getState(), t), G8 = (t) => Z(
233
+ )(h2.getState(), t), Y8 = (t) => Z(
233
234
  (e) => {
234
- var r, s;
235
- return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.zoomRoomControllerKey : void 0;
236
- }
237
- ), w2 = () => Z((t) => t.runtimeConfig.websocket.isConnected), p2 = () => Z((t) => t.runtimeConfig.roomData.roomKey), x2 = () => Z((t) => t.runtimeConfig.roomData.clientId), q8 = () => Z((t) => t.ui.modalVisibility.showShutdownModal), Y8 = () => Z((t) => t.ui.modalVisibility.showIncomingCallModal), J8 = (t) => Z((e) => e.ui.modalVisibility[t]), z8 = (t) => Z((e) => {
238
- const r = e.ui.popoverVisibility[t];
239
- if (r)
240
- return Object.keys(r).find((s) => r[s]);
241
- }), X8 = (t, e) => Z((r) => {
235
+ var o, s;
236
+ return e.rooms[t] ? (s = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : s.zoomRoomControllerKey : void 0;
237
+ }
238
+ ), p2 = () => Z((t) => t.runtimeConfig.websocket.isConnected), x2 = () => Z((t) => t.runtimeConfig.roomData.roomKey), M2 = () => Z((t) => t.runtimeConfig.roomData.clientId), J8 = () => Z((t) => t.ui.modalVisibility.showShutdownModal), z8 = () => Z((t) => t.ui.modalVisibility.showIncomingCallModal), X8 = (t) => Z((e) => e.ui.modalVisibility[t]), Q8 = (t) => Z((e) => {
239
+ const o = e.ui.popoverVisibility[t];
240
+ if (o)
241
+ return Object.keys(o).find((s) => o[s]);
242
+ }), N8 = (t, e) => Z((o) => {
242
243
  var s;
243
- return (s = r.ui.popoverVisibility[t]) == null ? void 0 : s[e];
244
+ return (s = o.ui.popoverVisibility[t]) == null ? void 0 : s[e];
244
245
  }), F = n1({
245
246
  reducer: u1
246
- }), M2 = J1, b3 = K1.create();
247
- function m2() {
248
- const t = M2();
247
+ }), m2 = J1, b3 = K1.create();
248
+ function Z2() {
249
+ const t = m2();
249
250
  return async () => {
250
251
  try {
251
252
  const e = location.pathname.split("/").filter((l) => l.length > 0);
252
253
  e.length >= 5 ? e.length = 5 : e.length = 2;
253
- const r = `/${e.join("/")}`, s = await b3.get("/_local-config/_config.local.json", { baseURL: r });
254
+ const o = `/${e.join("/")}`, s = await b3.get("/_local-config/_config.local.json", { baseURL: o });
254
255
  if (s.status == 200 && s.data) {
255
256
  const l = s.data.apiPath;
256
- t(e2.setAppConfig(s.data));
257
- const a = await b3.get(`${l}/version`);
258
- a.status == 200 && a.data && t(K.setRuntimeConfig(a.data));
257
+ t(t2.setAppConfig(s.data));
258
+ const i = await b3.get(`${l}/version`);
259
+ i.status == 200 && i.data && t(K.setRuntimeConfig(i.data));
259
260
  }
260
261
  } catch (e) {
261
262
  console.error("Error getting config", e);
@@ -263,7 +264,7 @@ function m2() {
263
264
  return !0;
264
265
  };
265
266
  }
266
- var I3 = { exports: {} }, N = {};
267
+ var I3 = { exports: {} }, t3 = {};
267
268
  /**
268
269
  * @license React
269
270
  * react-jsx-runtime.development.js
@@ -274,65 +275,65 @@ var I3 = { exports: {} }, N = {};
274
275
  * LICENSE file in the root directory of this source tree.
275
276
  */
276
277
  var N3;
277
- function Z2() {
278
+ function j2() {
278
279
  return N3 || (N3 = 1, process.env.NODE_ENV !== "production" && function() {
279
- var t = o1, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), V = Symbol.iterator, G = "@@iterator";
280
- function q(o) {
281
- if (o === null || typeof o != "object")
280
+ var t = r1, e = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), V = Symbol.iterator, Y = "@@iterator";
281
+ function J(r) {
282
+ if (r === null || typeof r != "object")
282
283
  return null;
283
- var c = V && o[V] || o[G];
284
+ var c = V && r[V] || r[Y];
284
285
  return typeof c == "function" ? c : null;
285
286
  }
286
287
  var m = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
287
- function g(o) {
288
+ function g(r) {
288
289
  {
289
- for (var c = arguments.length, i = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
290
- i[v - 1] = arguments[v];
291
- O("error", o, i);
290
+ for (var c = arguments.length, a = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
291
+ a[v - 1] = arguments[v];
292
+ O("error", r, a);
292
293
  }
293
294
  }
294
- function O(o, c, i) {
295
+ function O(r, c, a) {
295
296
  {
296
297
  var v = m.ReactDebugCurrentFrame, x = v.getStackAddendum();
297
- x !== "" && (c += "%s", i = i.concat([x]));
298
- var j = i.map(function(p) {
298
+ x !== "" && (c += "%s", a = a.concat([x]));
299
+ var j = a.map(function(p) {
299
300
  return String(p);
300
301
  });
301
- j.unshift("Warning: " + c), Function.prototype.apply.call(console[o], console, j);
302
+ j.unshift("Warning: " + c), Function.prototype.apply.call(console[r], console, j);
302
303
  }
303
304
  }
304
- var Y = !1, R = !1, J = !1, v3 = !1, h3 = !1, E3;
305
+ var z = !1, E = !1, X = !1, v3 = !1, h3 = !1, E3;
305
306
  E3 = Symbol.for("react.module.reference");
306
- function g1(o) {
307
- return !!(typeof o == "string" || typeof o == "function" || o === s || o === a || h3 || o === l || o === C || o === S || v3 || o === T || Y || R || J || typeof o == "object" && o !== null && (o.$$typeof === A || o.$$typeof === b || o.$$typeof === u || o.$$typeof === f || o.$$typeof === d || // This needs to include all possible module reference object
307
+ function g1(r) {
308
+ return !!(typeof r == "string" || typeof r == "function" || r === s || r === i || h3 || r === l || r === C || r === S || v3 || r === D || z || E || X || typeof r == "object" && r !== null && (r.$$typeof === A || r.$$typeof === b || r.$$typeof === d || r.$$typeof === f || r.$$typeof === u || // This needs to include all possible module reference object
308
309
  // types supported by any Flight configuration anywhere since
309
310
  // we don't know which Flight build this will end up being used
310
311
  // with.
311
- o.$$typeof === E3 || o.getModuleId !== void 0));
312
+ r.$$typeof === E3 || r.getModuleId !== void 0));
312
313
  }
313
- function f1(o, c, i) {
314
- var v = o.displayName;
314
+ function f1(r, c, a) {
315
+ var v = r.displayName;
315
316
  if (v)
316
317
  return v;
317
318
  var x = c.displayName || c.name || "";
318
- return x !== "" ? i + "(" + x + ")" : i;
319
+ return x !== "" ? a + "(" + x + ")" : a;
319
320
  }
320
- function _3(o) {
321
- return o.displayName || "Context";
321
+ function _3(r) {
322
+ return r.displayName || "Context";
322
323
  }
323
- function P(o) {
324
- if (o == null)
324
+ function P(r) {
325
+ if (r == null)
325
326
  return null;
326
- if (typeof o.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
327
- return o.displayName || o.name || null;
328
- if (typeof o == "string")
329
- return o;
330
- switch (o) {
327
+ if (typeof r.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
328
+ return r.displayName || r.name || null;
329
+ if (typeof r == "string")
330
+ return r;
331
+ switch (r) {
331
332
  case s:
332
333
  return "Fragment";
333
- case r:
334
+ case o:
334
335
  return "Portal";
335
- case a:
336
+ case i:
336
337
  return "Profiler";
337
338
  case l:
338
339
  return "StrictMode";
@@ -341,21 +342,21 @@ function Z2() {
341
342
  case S:
342
343
  return "SuspenseList";
343
344
  }
344
- if (typeof o == "object")
345
- switch (o.$$typeof) {
345
+ if (typeof r == "object")
346
+ switch (r.$$typeof) {
346
347
  case f:
347
- var c = o;
348
+ var c = r;
348
349
  return _3(c) + ".Consumer";
349
- case u:
350
- var i = o;
351
- return _3(i._context) + ".Provider";
352
350
  case d:
353
- return f1(o, o.render, "ForwardRef");
351
+ var a = r;
352
+ return _3(a._context) + ".Provider";
353
+ case u:
354
+ return f1(r, r.render, "ForwardRef");
354
355
  case b:
355
- var v = o.displayName || null;
356
- return v !== null ? v : P(o.type) || "Memo";
356
+ var v = r.displayName || null;
357
+ return v !== null ? v : P(r.type) || "Memo";
357
358
  case A: {
358
- var x = o, j = x._payload, p = x._init;
359
+ var x = r, j = x._payload, p = x._init;
359
360
  try {
360
361
  return P(p(j));
361
362
  } catch {
@@ -365,70 +366,70 @@ function Z2() {
365
366
  }
366
367
  return null;
367
368
  }
368
- var k = Object.assign, z = 0, L3, $3, A3, B3, T3, D3, P3;
369
+ var k = Object.assign, Q = 0, L3, $3, A3, T3, D3, B3, P3;
369
370
  function O3() {
370
371
  }
371
372
  O3.__reactDisabledLog = !0;
372
373
  function w1() {
373
374
  {
374
- if (z === 0) {
375
- L3 = console.log, $3 = console.info, A3 = console.warn, B3 = console.error, T3 = console.group, D3 = console.groupCollapsed, P3 = console.groupEnd;
376
- var o = {
375
+ if (Q === 0) {
376
+ L3 = console.log, $3 = console.info, A3 = console.warn, T3 = console.error, D3 = console.group, B3 = console.groupCollapsed, P3 = console.groupEnd;
377
+ var r = {
377
378
  configurable: !0,
378
379
  enumerable: !0,
379
380
  value: O3,
380
381
  writable: !0
381
382
  };
382
383
  Object.defineProperties(console, {
383
- info: o,
384
- log: o,
385
- warn: o,
386
- error: o,
387
- group: o,
388
- groupCollapsed: o,
389
- groupEnd: o
384
+ info: r,
385
+ log: r,
386
+ warn: r,
387
+ error: r,
388
+ group: r,
389
+ groupCollapsed: r,
390
+ groupEnd: r
390
391
  });
391
392
  }
392
- z++;
393
+ Q++;
393
394
  }
394
395
  }
395
396
  function p1() {
396
397
  {
397
- if (z--, z === 0) {
398
- var o = {
398
+ if (Q--, Q === 0) {
399
+ var r = {
399
400
  configurable: !0,
400
401
  enumerable: !0,
401
402
  writable: !0
402
403
  };
403
404
  Object.defineProperties(console, {
404
- log: k({}, o, {
405
+ log: k({}, r, {
405
406
  value: L3
406
407
  }),
407
- info: k({}, o, {
408
+ info: k({}, r, {
408
409
  value: $3
409
410
  }),
410
- warn: k({}, o, {
411
+ warn: k({}, r, {
411
412
  value: A3
412
413
  }),
413
- error: k({}, o, {
414
- value: B3
415
- }),
416
- group: k({}, o, {
414
+ error: k({}, r, {
417
415
  value: T3
418
416
  }),
419
- groupCollapsed: k({}, o, {
417
+ group: k({}, r, {
420
418
  value: D3
421
419
  }),
422
- groupEnd: k({}, o, {
420
+ groupCollapsed: k({}, r, {
421
+ value: B3
422
+ }),
423
+ groupEnd: k({}, r, {
423
424
  value: P3
424
425
  })
425
426
  });
426
427
  }
427
- z < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
428
+ Q < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
428
429
  }
429
430
  }
430
431
  var g3 = m.ReactCurrentDispatcher, f3;
431
- function s3(o, c, i) {
432
+ function c3(r, c, a) {
432
433
  {
433
434
  if (f3 === void 0)
434
435
  try {
@@ -438,21 +439,21 @@ function Z2() {
438
439
  f3 = v && v[1] || "";
439
440
  }
440
441
  return `
441
- ` + f3 + o;
442
+ ` + f3 + r;
442
443
  }
443
444
  }
444
- var w3 = !1, c3;
445
+ var w3 = !1, l3;
445
446
  {
446
447
  var x1 = typeof WeakMap == "function" ? WeakMap : Map;
447
- c3 = new x1();
448
+ l3 = new x1();
448
449
  }
449
- function V3(o, c) {
450
- if (!o || w3)
450
+ function V3(r, c) {
451
+ if (!r || w3)
451
452
  return "";
452
453
  {
453
- var i = c3.get(o);
454
- if (i !== void 0)
455
- return i;
454
+ var a = l3.get(r);
455
+ if (a !== void 0)
456
+ return a;
456
457
  }
457
458
  var v;
458
459
  w3 = !0;
@@ -472,197 +473,197 @@ function Z2() {
472
473
  }), typeof Reflect == "object" && Reflect.construct) {
473
474
  try {
474
475
  Reflect.construct(p, []);
475
- } catch (B) {
476
- v = B;
476
+ } catch (T) {
477
+ v = T;
477
478
  }
478
- Reflect.construct(o, [], p);
479
+ Reflect.construct(r, [], p);
479
480
  } else {
480
481
  try {
481
482
  p.call();
482
- } catch (B) {
483
- v = B;
483
+ } catch (T) {
484
+ v = T;
484
485
  }
485
- o.call(p.prototype);
486
+ r.call(p.prototype);
486
487
  }
487
488
  } else {
488
489
  try {
489
490
  throw Error();
490
- } catch (B) {
491
- v = B;
491
+ } catch (T) {
492
+ v = T;
492
493
  }
493
- o();
494
- }
495
- } catch (B) {
496
- if (B && v && typeof B.stack == "string") {
497
- for (var w = B.stack.split(`
498
- `), L = v.stack.split(`
499
- `), I = w.length - 1, y = L.length - 1; I >= 1 && y >= 0 && w[I] !== L[y]; )
500
- y--;
501
- for (; I >= 1 && y >= 0; I--, y--)
502
- if (w[I] !== L[y]) {
503
- if (I !== 1 || y !== 1)
494
+ r();
495
+ }
496
+ } catch (T) {
497
+ if (T && v && typeof T.stack == "string") {
498
+ for (var w = T.stack.split(`
499
+ `), $ = v.stack.split(`
500
+ `), I = w.length - 1, R = $.length - 1; I >= 1 && R >= 0 && w[I] !== $[R]; )
501
+ R--;
502
+ for (; I >= 1 && R >= 0; I--, R--)
503
+ if (w[I] !== $[R]) {
504
+ if (I !== 1 || R !== 1)
504
505
  do
505
- if (I--, y--, y < 0 || w[I] !== L[y]) {
506
- var D = `
506
+ if (I--, R--, R < 0 || w[I] !== $[R]) {
507
+ var B = `
507
508
  ` + w[I].replace(" at new ", " at ");
508
- return o.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", o.displayName)), typeof o == "function" && c3.set(o, D), D;
509
+ return r.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", r.displayName)), typeof r == "function" && l3.set(r, B), B;
509
510
  }
510
- while (I >= 1 && y >= 0);
511
+ while (I >= 1 && R >= 0);
511
512
  break;
512
513
  }
513
514
  }
514
515
  } finally {
515
516
  w3 = !1, g3.current = j, p1(), Error.prepareStackTrace = x;
516
517
  }
517
- var H = o ? o.displayName || o.name : "", W = H ? s3(H) : "";
518
- return typeof o == "function" && c3.set(o, W), W;
518
+ var H = r ? r.displayName || r.name : "", U = H ? c3(H) : "";
519
+ return typeof r == "function" && l3.set(r, U), U;
519
520
  }
520
- function M1(o, c, i) {
521
- return V3(o, !1);
521
+ function M1(r, c, a) {
522
+ return V3(r, !1);
522
523
  }
523
- function m1(o) {
524
- var c = o.prototype;
524
+ function m1(r) {
525
+ var c = r.prototype;
525
526
  return !!(c && c.isReactComponent);
526
527
  }
527
- function l3(o, c, i) {
528
- if (o == null)
528
+ function i3(r, c, a) {
529
+ if (r == null)
529
530
  return "";
530
- if (typeof o == "function")
531
- return V3(o, m1(o));
532
- if (typeof o == "string")
533
- return s3(o);
534
- switch (o) {
531
+ if (typeof r == "function")
532
+ return V3(r, m1(r));
533
+ if (typeof r == "string")
534
+ return c3(r);
535
+ switch (r) {
535
536
  case C:
536
- return s3("Suspense");
537
+ return c3("Suspense");
537
538
  case S:
538
- return s3("SuspenseList");
539
+ return c3("SuspenseList");
539
540
  }
540
- if (typeof o == "object")
541
- switch (o.$$typeof) {
542
- case d:
543
- return M1(o.render);
541
+ if (typeof r == "object")
542
+ switch (r.$$typeof) {
543
+ case u:
544
+ return M1(r.render);
544
545
  case b:
545
- return l3(o.type, c, i);
546
+ return i3(r.type, c, a);
546
547
  case A: {
547
- var v = o, x = v._payload, j = v._init;
548
+ var v = r, x = v._payload, j = v._init;
548
549
  try {
549
- return l3(j(x), c, i);
550
+ return i3(j(x), c, a);
550
551
  } catch {
551
552
  }
552
553
  }
553
554
  }
554
555
  return "";
555
556
  }
556
- var X = Object.prototype.hasOwnProperty, F3 = {}, k3 = m.ReactDebugCurrentFrame;
557
- function i3(o) {
558
- if (o) {
559
- var c = o._owner, i = l3(o.type, o._source, c ? c.type : null);
560
- k3.setExtraStackFrame(i);
557
+ var N = Object.prototype.hasOwnProperty, F3 = {}, k3 = m.ReactDebugCurrentFrame;
558
+ function a3(r) {
559
+ if (r) {
560
+ var c = r._owner, a = i3(r.type, r._source, c ? c.type : null);
561
+ k3.setExtraStackFrame(a);
561
562
  } else
562
563
  k3.setExtraStackFrame(null);
563
564
  }
564
- function Z1(o, c, i, v, x) {
565
+ function Z1(r, c, a, v, x) {
565
566
  {
566
- var j = Function.call.bind(X);
567
- for (var p in o)
568
- if (j(o, p)) {
567
+ var j = Function.call.bind(N);
568
+ for (var p in r)
569
+ if (j(r, p)) {
569
570
  var w = void 0;
570
571
  try {
571
- if (typeof o[p] != "function") {
572
- var L = Error((v || "React class") + ": " + i + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
573
- throw L.name = "Invariant Violation", L;
572
+ if (typeof r[p] != "function") {
573
+ var $ = Error((v || "React class") + ": " + a + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
574
+ throw $.name = "Invariant Violation", $;
574
575
  }
575
- w = o[p](c, p, v, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
576
+ w = r[p](c, p, v, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
576
577
  } catch (I) {
577
578
  w = I;
578
579
  }
579
- w && !(w instanceof Error) && (i3(x), g("%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", i, p, typeof w), i3(null)), w instanceof Error && !(w.message in F3) && (F3[w.message] = !0, i3(x), g("Failed %s type: %s", i, w.message), i3(null));
580
+ w && !(w instanceof Error) && (a3(x), g("%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, p, typeof w), a3(null)), w instanceof Error && !(w.message in F3) && (F3[w.message] = !0, a3(x), g("Failed %s type: %s", a, w.message), a3(null));
580
581
  }
581
582
  }
582
583
  }
583
584
  var j1 = Array.isArray;
584
- function p3(o) {
585
- return j1(o);
585
+ function p3(r) {
586
+ return j1(r);
586
587
  }
587
- function S1(o) {
588
+ function S1(r) {
588
589
  {
589
- var c = typeof Symbol == "function" && Symbol.toStringTag, i = c && o[Symbol.toStringTag] || o.constructor.name || "Object";
590
- return i;
590
+ var c = typeof Symbol == "function" && Symbol.toStringTag, a = c && r[Symbol.toStringTag] || r.constructor.name || "Object";
591
+ return a;
591
592
  }
592
593
  }
593
- function C1(o) {
594
+ function C1(r) {
594
595
  try {
595
- return W3(o), !1;
596
+ return U3(r), !1;
596
597
  } catch {
597
598
  return !0;
598
599
  }
599
600
  }
600
- function W3(o) {
601
- return "" + o;
601
+ function U3(r) {
602
+ return "" + r;
602
603
  }
603
- function U3(o) {
604
- if (C1(o))
605
- return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", S1(o)), W3(o);
604
+ function W3(r) {
605
+ if (C1(r))
606
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", S1(r)), U3(r);
606
607
  }
607
- var Q = m.ReactCurrentOwner, b1 = {
608
+ var e3 = m.ReactCurrentOwner, b1 = {
608
609
  key: !0,
609
610
  ref: !0,
610
611
  __self: !0,
611
612
  __source: !0
612
613
  }, H3, K3, x3;
613
614
  x3 = {};
614
- function I1(o) {
615
- if (X.call(o, "ref")) {
616
- var c = Object.getOwnPropertyDescriptor(o, "ref").get;
615
+ function I1(r) {
616
+ if (N.call(r, "ref")) {
617
+ var c = Object.getOwnPropertyDescriptor(r, "ref").get;
617
618
  if (c && c.isReactWarning)
618
619
  return !1;
619
620
  }
620
- return o.ref !== void 0;
621
+ return r.ref !== void 0;
621
622
  }
622
- function y1(o) {
623
- if (X.call(o, "key")) {
624
- var c = Object.getOwnPropertyDescriptor(o, "key").get;
623
+ function y1(r) {
624
+ if (N.call(r, "key")) {
625
+ var c = Object.getOwnPropertyDescriptor(r, "key").get;
625
626
  if (c && c.isReactWarning)
626
627
  return !1;
627
628
  }
628
- return o.key !== void 0;
629
+ return r.key !== void 0;
629
630
  }
630
- function R1(o, c) {
631
- if (typeof o.ref == "string" && Q.current && c && Q.current.stateNode !== c) {
632
- var i = P(Q.current.type);
633
- x3[i] || (g('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', P(Q.current.type), o.ref), x3[i] = !0);
631
+ function R1(r, c) {
632
+ if (typeof r.ref == "string" && e3.current && c && e3.current.stateNode !== c) {
633
+ var a = P(e3.current.type);
634
+ x3[a] || (g('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', P(e3.current.type), r.ref), x3[a] = !0);
634
635
  }
635
636
  }
636
- function E1(o, c) {
637
+ function E1(r, c) {
637
638
  {
638
- var i = function() {
639
+ var a = function() {
639
640
  H3 || (H3 = !0, g("%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)", c));
640
641
  };
641
- i.isReactWarning = !0, Object.defineProperty(o, "key", {
642
- get: i,
642
+ a.isReactWarning = !0, Object.defineProperty(r, "key", {
643
+ get: a,
643
644
  configurable: !0
644
645
  });
645
646
  }
646
647
  }
647
- function _1(o, c) {
648
+ function _1(r, c) {
648
649
  {
649
- var i = function() {
650
+ var a = function() {
650
651
  K3 || (K3 = !0, g("%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)", c));
651
652
  };
652
- i.isReactWarning = !0, Object.defineProperty(o, "ref", {
653
- get: i,
653
+ a.isReactWarning = !0, Object.defineProperty(r, "ref", {
654
+ get: a,
654
655
  configurable: !0
655
656
  });
656
657
  }
657
658
  }
658
- var L1 = function(o, c, i, v, x, j, p) {
659
+ var L1 = function(r, c, a, v, x, j, p) {
659
660
  var w = {
660
661
  // This tag allows us to uniquely identify this as a React Element
661
662
  $$typeof: e,
662
663
  // Built-in properties that belong on the element
663
- type: o,
664
+ type: r,
664
665
  key: c,
665
- ref: i,
666
+ ref: a,
666
667
  props: p,
667
668
  // Record the component responsible for creating this element.
668
669
  _owner: j
@@ -684,122 +685,122 @@ function Z2() {
684
685
  value: x
685
686
  }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
686
687
  };
687
- function $1(o, c, i, v, x) {
688
+ function $1(r, c, a, v, x) {
688
689
  {
689
- var j, p = {}, w = null, L = null;
690
- i !== void 0 && (U3(i), w = "" + i), y1(c) && (U3(c.key), w = "" + c.key), I1(c) && (L = c.ref, R1(c, x));
690
+ var j, p = {}, w = null, $ = null;
691
+ a !== void 0 && (W3(a), w = "" + a), y1(c) && (W3(c.key), w = "" + c.key), I1(c) && ($ = c.ref, R1(c, x));
691
692
  for (j in c)
692
- X.call(c, j) && !b1.hasOwnProperty(j) && (p[j] = c[j]);
693
- if (o && o.defaultProps) {
694
- var I = o.defaultProps;
693
+ N.call(c, j) && !b1.hasOwnProperty(j) && (p[j] = c[j]);
694
+ if (r && r.defaultProps) {
695
+ var I = r.defaultProps;
695
696
  for (j in I)
696
697
  p[j] === void 0 && (p[j] = I[j]);
697
698
  }
698
- if (w || L) {
699
- var y = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
700
- w && E1(p, y), L && _1(p, y);
699
+ if (w || $) {
700
+ var R = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
701
+ w && E1(p, R), $ && _1(p, R);
701
702
  }
702
- return L1(o, w, L, x, v, Q.current, p);
703
+ return L1(r, w, $, x, v, e3.current, p);
703
704
  }
704
705
  }
705
706
  var M3 = m.ReactCurrentOwner, G3 = m.ReactDebugCurrentFrame;
706
- function U(o) {
707
- if (o) {
708
- var c = o._owner, i = l3(o.type, o._source, c ? c.type : null);
709
- G3.setExtraStackFrame(i);
707
+ function W(r) {
708
+ if (r) {
709
+ var c = r._owner, a = i3(r.type, r._source, c ? c.type : null);
710
+ G3.setExtraStackFrame(a);
710
711
  } else
711
712
  G3.setExtraStackFrame(null);
712
713
  }
713
714
  var m3;
714
715
  m3 = !1;
715
- function Z3(o) {
716
- return typeof o == "object" && o !== null && o.$$typeof === e;
716
+ function Z3(r) {
717
+ return typeof r == "object" && r !== null && r.$$typeof === e;
717
718
  }
718
719
  function q3() {
719
720
  {
720
721
  if (M3.current) {
721
- var o = P(M3.current.type);
722
- if (o)
722
+ var r = P(M3.current.type);
723
+ if (r)
723
724
  return `
724
725
 
725
- Check the render method of \`` + o + "`.";
726
+ Check the render method of \`` + r + "`.";
726
727
  }
727
728
  return "";
728
729
  }
729
730
  }
730
- function A1(o) {
731
+ function A1(r) {
731
732
  {
732
- if (o !== void 0) {
733
- var c = o.fileName.replace(/^.*[\\\/]/, ""), i = o.lineNumber;
733
+ if (r !== void 0) {
734
+ var c = r.fileName.replace(/^.*[\\\/]/, ""), a = r.lineNumber;
734
735
  return `
735
736
 
736
- Check your code at ` + c + ":" + i + ".";
737
+ Check your code at ` + c + ":" + a + ".";
737
738
  }
738
739
  return "";
739
740
  }
740
741
  }
741
742
  var Y3 = {};
742
- function B1(o) {
743
+ function T1(r) {
743
744
  {
744
745
  var c = q3();
745
746
  if (!c) {
746
- var i = typeof o == "string" ? o : o.displayName || o.name;
747
- i && (c = `
747
+ var a = typeof r == "string" ? r : r.displayName || r.name;
748
+ a && (c = `
748
749
 
749
- Check the top-level render call using <` + i + ">.");
750
+ Check the top-level render call using <` + a + ">.");
750
751
  }
751
752
  return c;
752
753
  }
753
754
  }
754
- function J3(o, c) {
755
+ function J3(r, c) {
755
756
  {
756
- if (!o._store || o._store.validated || o.key != null)
757
+ if (!r._store || r._store.validated || r.key != null)
757
758
  return;
758
- o._store.validated = !0;
759
- var i = B1(c);
760
- if (Y3[i])
759
+ r._store.validated = !0;
760
+ var a = T1(c);
761
+ if (Y3[a])
761
762
  return;
762
- Y3[i] = !0;
763
+ Y3[a] = !0;
763
764
  var v = "";
764
- o && o._owner && o._owner !== M3.current && (v = " It was passed a child from " + P(o._owner.type) + "."), U(o), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, v), U(null);
765
+ r && r._owner && r._owner !== M3.current && (v = " It was passed a child from " + P(r._owner.type) + "."), W(r), g('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), W(null);
765
766
  }
766
767
  }
767
- function z3(o, c) {
768
+ function z3(r, c) {
768
769
  {
769
- if (typeof o != "object")
770
+ if (typeof r != "object")
770
771
  return;
771
- if (p3(o))
772
- for (var i = 0; i < o.length; i++) {
773
- var v = o[i];
772
+ if (p3(r))
773
+ for (var a = 0; a < r.length; a++) {
774
+ var v = r[a];
774
775
  Z3(v) && J3(v, c);
775
776
  }
776
- else if (Z3(o))
777
- o._store && (o._store.validated = !0);
778
- else if (o) {
779
- var x = q(o);
780
- if (typeof x == "function" && x !== o.entries)
781
- for (var j = x.call(o), p; !(p = j.next()).done; )
777
+ else if (Z3(r))
778
+ r._store && (r._store.validated = !0);
779
+ else if (r) {
780
+ var x = J(r);
781
+ if (typeof x == "function" && x !== r.entries)
782
+ for (var j = x.call(r), p; !(p = j.next()).done; )
782
783
  Z3(p.value) && J3(p.value, c);
783
784
  }
784
785
  }
785
786
  }
786
- function T1(o) {
787
+ function D1(r) {
787
788
  {
788
- var c = o.type;
789
+ var c = r.type;
789
790
  if (c == null || typeof c == "string")
790
791
  return;
791
- var i;
792
+ var a;
792
793
  if (typeof c == "function")
793
- i = c.propTypes;
794
- else if (typeof c == "object" && (c.$$typeof === d || // Note: Memo only checks outer props here.
794
+ a = c.propTypes;
795
+ else if (typeof c == "object" && (c.$$typeof === u || // Note: Memo only checks outer props here.
795
796
  // Inner props are checked in the reconciler.
796
797
  c.$$typeof === b))
797
- i = c.propTypes;
798
+ a = c.propTypes;
798
799
  else
799
800
  return;
800
- if (i) {
801
+ if (a) {
801
802
  var v = P(c);
802
- Z1(i, o.props, "prop", v, o);
803
+ Z1(a, r.props, "prop", v, r);
803
804
  } else if (c.PropTypes !== void 0 && !m3) {
804
805
  m3 = !0;
805
806
  var x = P(c);
@@ -808,74 +809,74 @@ Check the top-level render call using <` + i + ">.");
808
809
  typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
809
810
  }
810
811
  }
811
- function D1(o) {
812
+ function B1(r) {
812
813
  {
813
- for (var c = Object.keys(o.props), i = 0; i < c.length; i++) {
814
- var v = c[i];
814
+ for (var c = Object.keys(r.props), a = 0; a < c.length; a++) {
815
+ var v = c[a];
815
816
  if (v !== "children" && v !== "key") {
816
- U(o), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), U(null);
817
+ W(r), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), W(null);
817
818
  break;
818
819
  }
819
820
  }
820
- o.ref !== null && (U(o), g("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
821
+ r.ref !== null && (W(r), g("Invalid attribute `ref` supplied to `React.Fragment`."), W(null));
821
822
  }
822
823
  }
823
824
  var X3 = {};
824
- function Q3(o, c, i, v, x, j) {
825
+ function Q3(r, c, a, v, x, j) {
825
826
  {
826
- var p = g1(o);
827
+ var p = g1(r);
827
828
  if (!p) {
828
829
  var w = "";
829
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
830
- var L = A1(x);
831
- L ? w += L : w += q3();
830
+ (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
831
+ var $ = A1(x);
832
+ $ ? w += $ : w += q3();
832
833
  var I;
833
- o === null ? I = "null" : p3(o) ? I = "array" : o !== void 0 && o.$$typeof === e ? (I = "<" + (P(o.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : I = typeof o, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, w);
834
+ r === null ? I = "null" : p3(r) ? I = "array" : r !== void 0 && r.$$typeof === e ? (I = "<" + (P(r.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : I = typeof r, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, w);
834
835
  }
835
- var y = $1(o, c, i, x, j);
836
- if (y == null)
837
- return y;
836
+ var R = $1(r, c, a, x, j);
837
+ if (R == null)
838
+ return R;
838
839
  if (p) {
839
- var D = c.children;
840
- if (D !== void 0)
840
+ var B = c.children;
841
+ if (B !== void 0)
841
842
  if (v)
842
- if (p3(D)) {
843
- for (var H = 0; H < D.length; H++)
844
- z3(D[H], o);
845
- Object.freeze && Object.freeze(D);
843
+ if (p3(B)) {
844
+ for (var H = 0; H < B.length; H++)
845
+ z3(B[H], r);
846
+ Object.freeze && Object.freeze(B);
846
847
  } else
847
848
  g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
848
849
  else
849
- z3(D, o);
850
- }
851
- if (X.call(c, "key")) {
852
- var W = P(o), B = Object.keys(c).filter(function(W1) {
853
- return W1 !== "key";
854
- }), j3 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
855
- if (!X3[W + j3]) {
856
- var k1 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
850
+ z3(B, r);
851
+ }
852
+ if (N.call(c, "key")) {
853
+ var U = P(r), T = Object.keys(c).filter(function(U1) {
854
+ return U1 !== "key";
855
+ }), j3 = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
856
+ if (!X3[U + j3]) {
857
+ var k1 = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
857
858
  g(`A props object containing a "key" prop is being spread into JSX:
858
859
  let props = %s;
859
860
  <%s {...props} />
860
861
  React keys must be passed directly to JSX without using spread:
861
862
  let props = %s;
862
- <%s key={someKey} {...props} />`, j3, W, k1, W), X3[W + j3] = !0;
863
+ <%s key={someKey} {...props} />`, j3, U, k1, U), X3[U + j3] = !0;
863
864
  }
864
865
  }
865
- return o === s ? D1(y) : T1(y), y;
866
+ return r === s ? B1(R) : D1(R), R;
866
867
  }
867
868
  }
868
- function P1(o, c, i) {
869
- return Q3(o, c, i, !0);
869
+ function P1(r, c, a) {
870
+ return Q3(r, c, a, !0);
870
871
  }
871
- function O1(o, c, i) {
872
- return Q3(o, c, i, !1);
872
+ function O1(r, c, a) {
873
+ return Q3(r, c, a, !1);
873
874
  }
874
875
  var V1 = O1, F1 = P1;
875
- N.Fragment = s, N.jsx = V1, N.jsxs = F1;
876
- }()), N;
876
+ t3.Fragment = s, t3.jsx = V1, t3.jsxs = F1;
877
+ }()), t3;
877
878
  }
878
- var e3 = {};
879
+ var n3 = {};
879
880
  /**
880
881
  * @license React
881
882
  * react-jsx-runtime.production.min.js
@@ -886,30 +887,30 @@ var e3 = {};
886
887
  * LICENSE file in the root directory of this source tree.
887
888
  */
888
889
  var e1;
889
- function j2() {
890
+ function S2() {
890
891
  if (e1)
891
- return e3;
892
+ return n3;
892
893
  e1 = 1;
893
- var t = o1, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
894
- function u(f, d, C) {
895
- var S, b = {}, A = null, T = null;
896
- C !== void 0 && (A = "" + C), d.key !== void 0 && (A = "" + d.key), d.ref !== void 0 && (T = d.ref);
897
- for (S in d)
898
- s.call(d, S) && !a.hasOwnProperty(S) && (b[S] = d[S]);
894
+ var t = r1, e = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = 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 };
895
+ function d(f, u, C) {
896
+ var S, b = {}, A = null, D = null;
897
+ C !== void 0 && (A = "" + C), u.key !== void 0 && (A = "" + u.key), u.ref !== void 0 && (D = u.ref);
898
+ for (S in u)
899
+ s.call(u, S) && !i.hasOwnProperty(S) && (b[S] = u[S]);
899
900
  if (f && f.defaultProps)
900
- for (S in d = f.defaultProps, d)
901
- b[S] === void 0 && (b[S] = d[S]);
902
- return { $$typeof: e, type: f, key: A, ref: T, props: b, _owner: l.current };
901
+ for (S in u = f.defaultProps, u)
902
+ b[S] === void 0 && (b[S] = u[S]);
903
+ return { $$typeof: e, type: f, key: A, ref: D, props: b, _owner: l.current };
903
904
  }
904
- return e3.Fragment = r, e3.jsx = u, e3.jsxs = u, e3;
905
+ return n3.Fragment = o, n3.jsx = d, n3.jsxs = d, n3;
905
906
  }
906
- process.env.NODE_ENV === "production" ? I3.exports = j2() : I3.exports = Z2();
907
+ process.env.NODE_ENV === "production" ? I3.exports = S2() : I3.exports = j2();
907
908
  var n = I3.exports;
908
- const S2 = () => /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs("div", { className: "disconnected-message", children: [
909
+ const C2 = () => /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs("div", { className: "disconnected-message", children: [
909
910
  /* @__PURE__ */ n.jsx("h1", { children: "Disconnected" }),
910
911
  /* @__PURE__ */ n.jsx("p", { children: "Reconnecting..." })
911
912
  ] }) });
912
- class C2 {
913
+ class b2 {
913
914
  constructor() {
914
915
  _(this, "uuid", "current-uuid");
915
916
  _(this, "roomKey", "current-room-key");
@@ -917,177 +918,177 @@ class C2 {
917
918
  _(this, "expiry", "current-uuid-expires");
918
919
  }
919
920
  }
920
- const t1 = new C2(), d1 = X1({
921
+ const t1 = new b2(), d1 = X1({
921
922
  sendMessage: () => null,
922
923
  sendSimpleMessage: () => null,
923
924
  addEventHandler: () => null,
924
925
  removeEventHandler: () => null
925
926
  });
926
- function b2(t) {
927
+ function I2(t) {
927
928
  return sessionStorage.getItem(t) || "";
928
929
  }
929
- function I2(t, e) {
930
+ function y2(t, e) {
930
931
  sessionStorage.setItem(t, e);
931
932
  }
932
- const y2 = ({ children: t }) => {
933
- const [e, r] = d3(), s = w2(), l = p2(), a = x2(), u = m2(), f = h2(), d = r3(null), [C, S] = d3(), b = r3({}), A = a3(
933
+ const R2 = ({ children: t }) => {
934
+ const [e, o] = q(), s = p2(), l = x2(), i = M2(), d = Z2(), f = g2(), u = r3(null), [C, S] = q(), b = r3({}), A = u3(
934
935
  async (m) => {
935
936
  await b3.get(`${m}/ui/joinroom?token=${e}`).then((g) => {
936
937
  g.status === 200 && g.data && F.dispatch(K.setRoomData(g.data));
937
938
  }).catch((g) => {
938
- console.log(g);
939
+ console.log(g), g.repsonse && g.response.status === 498 && console.error("Invalid token. Unable to join room");
939
940
  });
940
941
  },
941
942
  [e]
942
- ), T = a3(
943
+ ), D = u3(
943
944
  (m, g) => {
944
- d.current && s && d.current.send(JSON.stringify({ type: m, clientId: a, content: g }));
945
+ u.current && s && u.current.send(JSON.stringify({ type: m, clientId: i, content: g }));
945
946
  },
946
- [s, a]
947
+ [s, i]
947
948
  ), V = (m, g) => {
948
- T(m, { value: g });
949
- }, G = a3(
949
+ D(m, { value: g });
950
+ }, Y = u3(
950
951
  (m, g, O) => {
951
952
  b.current[m] || (b.current[m] = {}), b.current[m][g] = O, console.log("event handler added", m, g);
952
953
  },
953
954
  []
954
- ), q = a3(
955
+ ), J = u3(
955
956
  (m, g) => {
956
957
  b.current[m] && (delete b.current[m][g], console.log("event handler removed", m, g));
957
958
  },
958
959
  []
959
960
  );
960
- return n3(() => {
961
+ return G(() => {
961
962
  let g = new URLSearchParams(window.location.search).get("token");
962
- g ? (console.log("saving token: ", g), I2(t1.uuid, g)) : (g = b2(t1.uuid), console.log("loading token: ", g)), r(g), u();
963
- }, []), n3(() => {
963
+ g ? (console.log("saving token: ", g), y2(t1.uuid, g)) : (g = I2(t1.uuid), console.log("loading token: ", g)), o(g), d();
964
+ }, []), G(() => {
964
965
  if (!(!f.apiPath || C || !e)) {
965
- if (A(f.apiPath), !d.current) {
966
+ if (A(f.apiPath), !u.current) {
966
967
  const g = `${f.apiPath.replace("http", "ws")}/ui/join/${e}`, O = new WebSocket(g);
967
- d.current = O, O.onopen = () => {
968
+ u.current = O, O.onopen = () => {
968
969
  console.log("connected"), F.dispatch(K.setWebsocketIsConnected(!0));
969
- }, O.onerror = (Y) => {
970
- console.log(Y);
970
+ }, O.onerror = (z) => {
971
+ console.log(z);
971
972
  }, O.onclose = () => {
972
- if (console.log("disconnected"), d.current)
973
+ if (console.log("disconnected"), u.current)
973
974
  console.log("WebSocket closed by server.");
974
975
  else {
975
976
  console.log("WebSocket closed by client.");
976
977
  return;
977
978
  }
978
979
  C || (F.dispatch(K.setWebsocketIsConnected(!1)), S(!0), setTimeout(() => S(void 0), 5e3));
979
- }, O.onmessage = (Y) => {
980
+ }, O.onmessage = (z) => {
980
981
  try {
981
- const R = JSON.parse(Y.data);
982
- if (console.log(R), R.type.startsWith("/system/"))
983
- switch (R.type) {
982
+ const E = JSON.parse(z.data);
983
+ if (console.log(E), E.type.startsWith("/system/"))
984
+ switch (E.type) {
984
985
  case "/system/roomKey":
985
986
  F.dispatch(
986
987
  K.setCurrentRoomKey(
987
- R.content
988
+ E.content
988
989
  )
989
990
  );
990
991
  break;
991
992
  case "/system/userCodeChanged":
992
993
  F.dispatch(
993
- K.setUserCode(R.content)
994
+ K.setUserCode(E.content)
994
995
  );
995
996
  break;
996
997
  }
997
- else if (R.type.startsWith("/event/")) {
998
- console.log("event message received", R);
999
- const J = b.current[R.type];
1000
- J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((v3) => {
998
+ else if (E.type.startsWith("/event/")) {
999
+ console.log("event message received", E);
1000
+ const X = b.current[E.type];
1001
+ X || console.log("no handlers found for event type", E.type), X && Object.values(X).forEach((v3) => {
1001
1002
  try {
1002
- v3(R);
1003
+ v3(E);
1003
1004
  } catch (h3) {
1004
1005
  console.error(h3);
1005
1006
  }
1006
1007
  });
1007
1008
  } else
1008
- R.type.startsWith("/room/") ? F.dispatch(c2.setRoomState(R)) : R.type.startsWith("/device/") && F.dispatch(r2.setDeviceState(R));
1009
- } catch (R) {
1010
- console.log(R);
1009
+ E.type.startsWith("/room/") ? F.dispatch(l2.setRoomState(E)) : E.type.startsWith("/device/") && F.dispatch(r2.setDeviceState(E));
1010
+ } catch (E) {
1011
+ console.log(E);
1011
1012
  }
1012
1013
  };
1013
1014
  }
1014
1015
  return () => {
1015
- d.current && d.current.close(), d.current = null;
1016
+ u.current && u.current.close(), u.current = null;
1016
1017
  };
1017
1018
  }
1018
- }, [f.apiPath, A, e, C]), n3(() => {
1019
- l && T(`/room/${l}/status`, null);
1020
- }, [l, T]), /* @__PURE__ */ n.jsx(d1.Provider, { value: { sendMessage: T, sendSimpleMessage: V, addEventHandler: G, removeEventHandler: q }, children: s ? t : /* @__PURE__ */ n.jsx(S2, {}) });
1021
- }, Q8 = ({ children: t }) => /* @__PURE__ */ n.jsx(z1, { store: F, children: /* @__PURE__ */ n.jsx(y2, { children: t }) });
1022
- function E() {
1019
+ }, [f.apiPath, A, e, C]), G(() => {
1020
+ l && D(`/room/${l}/status`, null);
1021
+ }, [l, D]), /* @__PURE__ */ n.jsx(d1.Provider, { value: { sendMessage: D, sendSimpleMessage: V, addEventHandler: Y, removeEventHandler: J }, children: s ? t : /* @__PURE__ */ n.jsx(C2, {}) });
1022
+ }, e6 = ({ children: t }) => /* @__PURE__ */ n.jsx(z1, { store: F, children: /* @__PURE__ */ n.jsx(R2, { children: t }) });
1023
+ function y() {
1023
1024
  return Q1(d1);
1024
1025
  }
1025
- function R2({
1026
+ function E2({
1026
1027
  onPress: t,
1027
1028
  onRelease: e,
1028
- onHold: r,
1029
+ onHold: o,
1029
1030
  holdTimeMs: s = 500
1030
1031
  }) {
1031
- const l = r3(null), a = r3(!1);
1032
- function u() {
1033
- a.current = !0, t == null || t(), l.current = setTimeout(() => {
1034
- r == null || r(), l.current = null;
1032
+ const l = r3(null), i = r3(!1);
1033
+ function d() {
1034
+ i.current = !0, t == null || t(), l.current = setTimeout(() => {
1035
+ o == null || o(), l.current = null;
1035
1036
  }, s);
1036
1037
  }
1037
1038
  function f() {
1038
- a.current = !1, e == null || e(), l.current && (clearTimeout(l.current), l.current = null);
1039
+ i.current = !1, e == null || e(), l.current && (clearTimeout(l.current), l.current = null);
1039
1040
  }
1040
- function d() {
1041
- a.current && f();
1041
+ function u() {
1042
+ i.current && f();
1042
1043
  }
1043
1044
  return {
1044
- onPointerDown: u,
1045
+ onPointerDown: d,
1045
1046
  onPointerUp: f,
1046
- onPointerLeave: d
1047
+ onPointerLeave: u
1047
1048
  };
1048
1049
  }
1049
1050
  function h(t, e) {
1050
- const { sendMessage: s } = E(), l = r3(null);
1051
- function a() {
1051
+ const { sendMessage: s } = y(), l = r3(null);
1052
+ function i() {
1052
1053
  s(`${t}/${e}`, { value: "pressed" }), l.current || (l.current = setInterval(() => {
1053
1054
  s(`${t}/${e}`, { value: "held" });
1054
1055
  }, 250));
1055
1056
  }
1056
- function u() {
1057
+ function d() {
1057
1058
  l.current && (clearInterval(l.current), l.current = null), s(`${t}/${e}`, { value: "released" });
1058
1059
  }
1059
- return R2({ onPress: a, onRelease: u });
1060
+ return E2({ onPress: i, onRelease: d });
1060
1061
  }
1061
1062
  function v1(t, e) {
1062
- const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
1063
+ const { sendMessage: o, sendSimpleMessage: s } = y(), l = h(`${t}`, "volumeUp"), i = h(`${t}`, "volumeDown");
1063
1064
  return e ? {
1064
1065
  volumeState: e,
1065
1066
  volumeUp: l,
1066
- volumeDown: a,
1067
+ volumeDown: i,
1067
1068
  setLevel: (S) => s(`${t}/level`, S),
1068
- muteToggle: () => r(`${t}/muteToggle`, null),
1069
- muteOn: () => r(`${t}/muteOn`, null),
1070
- muteOff: () => r(`${t}/muteOff`, null)
1069
+ muteToggle: () => o(`${t}/muteToggle`, null),
1070
+ muteOn: () => o(`${t}/muteOn`, null),
1071
+ muteOff: () => o(`${t}/muteOff`, null)
1071
1072
  } : void 0;
1072
1073
  }
1073
- function N8(t, e) {
1074
- const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
1074
+ function t6(t, e) {
1075
+ const { sendMessage: o, sendSimpleMessage: s } = y(), l = h(`${t}`, "volumeUp"), i = h(`${t}`, "volumeDown");
1075
1076
  return e ? {
1076
1077
  volumeState: e,
1077
1078
  volumeUp: l,
1078
- volumeDown: a,
1079
+ volumeDown: i,
1079
1080
  setLevel: (S) => s(`${t}/level`, S),
1080
- muteToggle: () => r(`${t}/muteToggle`, null),
1081
- muteOn: () => r(`${t}/muteOn`, null),
1082
- muteOff: () => r(`${t}/muteOff`, null)
1081
+ muteToggle: () => o(`${t}/muteToggle`, null),
1082
+ muteOn: () => o(`${t}/muteOn`, null),
1083
+ muteOff: () => o(`${t}/muteOff`, null)
1083
1084
  } : void 0;
1084
1085
  }
1085
- function E2(t) {
1086
- const e = $(t), r = `/device/${t}`;
1087
- return v1(r, e == null ? void 0 : e.volume);
1086
+ function _2(t) {
1087
+ const e = L(t), o = `/device/${t}`;
1088
+ return v1(o, e == null ? void 0 : e.volume);
1088
1089
  }
1089
1090
  function h1(t) {
1090
- const { sendMessage: e } = E();
1091
+ const { sendMessage: e } = y();
1091
1092
  return { powerOn: () => {
1092
1093
  e(`/device/${t}/powerOn`, null);
1093
1094
  }, powerOff: () => {
@@ -1097,119 +1098,159 @@ function h1(t) {
1097
1098
  } };
1098
1099
  }
1099
1100
  function y3(t) {
1100
- const { sendMessage: e } = E(), r = $(t);
1101
- return console.log("deviceState", r), r ? { itemsState: r, selectItem: (l) => {
1101
+ const { sendMessage: e } = y(), o = L(t);
1102
+ return console.log("deviceState", o), o ? { itemsState: o, selectItem: (l) => {
1102
1103
  e(`/device/${t}/${l}`, null);
1103
1104
  } } : void 0;
1104
1105
  }
1105
- function _2(t) {
1106
- const { sendMessage: e } = E(), r = $(t), s = () => {
1106
+ function L2(t) {
1107
+ const { sendMessage: e } = y(), o = L(t), s = () => {
1107
1108
  e(`/device/${t}/setDefaultChannelLevels`, null);
1108
1109
  }, l = () => {
1109
- if ((r == null ? void 0 : r.levelControls) === void 0)
1110
+ if ((o == null ? void 0 : o.levelControls) === void 0)
1110
1111
  return;
1111
- Object.keys(r == null ? void 0 : r.levelControls).forEach((f) => {
1112
+ Object.keys(o == null ? void 0 : o.levelControls).forEach((f) => {
1112
1113
  e(`/device/${t}/${f}/fullStatus`, null);
1113
1114
  });
1114
1115
  };
1115
- return r ? { levelControls: r.levelControls, setDefaultChannelLevels: s, getFullStatus: l } : void 0;
1116
+ return o ? { levelControls: o.levelControls, setDefaultChannelLevels: s, getFullStatus: l } : void 0;
1116
1117
  }
1117
- function e6(t) {
1118
- const e = $(t), r = h1(t), s = y3(t), l = y3(t), a = E2(t), u = _2(t);
1118
+ function n6(t) {
1119
+ const e = L(t), o = h1(t), s = y3(t), l = y3(t), i = _2(t), d = L2(t);
1119
1120
  if (e)
1120
1121
  return {
1121
1122
  avrState: e,
1122
- powerControl: r,
1123
+ powerControl: o,
1123
1124
  inputControl: s,
1124
1125
  surroundSoundModes: l,
1125
- surroundChannels: u,
1126
- mainVolumeControl: a
1126
+ surroundChannels: d,
1127
+ mainVolumeControl: i
1127
1128
  };
1128
1129
  }
1129
- function t6(t) {
1130
- const e = $(t);
1130
+ function o6(t) {
1131
+ const e = L(t);
1131
1132
  if (e)
1132
1133
  return { endpointState: e };
1133
1134
  }
1134
- function n6(t) {
1135
- const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), a = h(e, "guide"), u = h(e, "info"), f = h(e, "exit");
1136
- return { channelUp: r, channelDown: s, lastChannel: l, guide: a, info: u, exit: f };
1137
- }
1138
1135
  function r6(t) {
1139
- const e = `/device/${t}`, r = h(e, "red"), s = h(e, "green"), l = h(e, "yellow"), a = h(e, "blue");
1140
- return { red: r, green: s, yellow: l, blue: a };
1136
+ const e = `/device/${t}`, o = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), i = h(e, "guide"), d = h(e, "info"), f = h(e, "exit");
1137
+ return { channelUp: o, channelDown: s, lastChannel: l, guide: i, info: d, exit: f };
1141
1138
  }
1142
- function o6(t) {
1143
- const e = $(t);
1139
+ function s6(t) {
1140
+ const e = `/device/${t}`, o = h(e, "red"), s = h(e, "green"), l = h(e, "yellow"), i = h(e, "blue");
1141
+ return { red: o, green: s, yellow: l, blue: i };
1142
+ }
1143
+ function c6(t) {
1144
+ const e = L(t);
1144
1145
  if (e)
1145
1146
  return {
1146
1147
  communicationMonitorState: e
1147
1148
  };
1148
1149
  }
1149
- function s6(t) {
1150
- const e = `/device/${t}`, r = h(e, "up"), s = h(e, "down"), l = h(e, "left"), a = h(e, "right"), u = h(e, "select"), f = h(e, "menu"), d = h(e, "exit");
1151
- return { up: r, down: s, left: l, right: a, select: u, menu: f, exit: d };
1150
+ function l6(t) {
1151
+ const e = `/device/${t}`, o = h(e, "up"), s = h(e, "down"), l = h(e, "left"), i = h(e, "right"), d = h(e, "select"), f = h(e, "menu"), u = h(e, "exit");
1152
+ return { up: o, down: s, left: l, right: i, select: d, menu: f, exit: u };
1152
1153
  }
1153
- function c6(t) {
1154
- const e = $(t);
1154
+ function i6(t) {
1155
+ const e = L(t);
1155
1156
  if (e)
1156
1157
  return e.deviceInfo || void 0;
1157
1158
  }
1158
- function l6(t) {
1159
- const e = `/device/${t}`, r = h(e, "dvrList"), s = h(e, "record");
1160
- return { dvrList: r, record: s };
1159
+ function a6(t) {
1160
+ const e = `/device/${t}`, o = h(e, "dvrList"), s = h(e, "record");
1161
+ return { dvrList: o, record: s };
1161
1162
  }
1162
- function i6(t) {
1163
- const { sendMessage: e, sendSimpleMessage: r } = E(), s = $(t);
1163
+ const u6 = ({ className: t }) => {
1164
+ const [e, o] = q();
1165
+ return G(() => {
1166
+ setInterval(() => {
1167
+ const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1168
+ o(s);
1169
+ }, 1e3);
1170
+ }, []), /* @__PURE__ */ n.jsxs("div", { className: t, children: [
1171
+ e,
1172
+ " new change"
1173
+ ] });
1174
+ };
1175
+ function d6(t) {
1176
+ const { sendMessage: e } = y(), o = L(t);
1177
+ return o ? { roomCombinerState: o, setAutoMode: () => {
1178
+ e(`/device/${t}/setAutoMode`, null);
1179
+ }, setManualMode: () => {
1180
+ e(`/device/${t}/setManualMode`, null);
1181
+ }, toggleMode: () => {
1182
+ e(`/device/${t}/toggleMode`, null);
1183
+ }, togglePartitionState: (u) => {
1184
+ e(`/device/${t}/togglePartitionState`, u);
1185
+ }, setRoomCombinationScenario: (u) => {
1186
+ e(`/device/${t}/setRoomCombinationScenario`, u);
1187
+ } } : void 0;
1188
+ }
1189
+ function v6(t) {
1190
+ const { sendMessage: e, sendSimpleMessage: o } = y(), s = L(t);
1164
1191
  return s ? {
1165
1192
  levelState: s,
1166
- setLevel: (d, C) => r(`${d}/level`, C),
1167
- muteToggle: (d) => e(`${d}/muteToggle`, null),
1168
- muteOn: (d) => e(`${d}/muteOn`, null),
1169
- muteOff: (d) => e(`${d}/muteOff`, null)
1193
+ setLevel: (u, C) => o(`${u}/level`, C),
1194
+ muteToggle: (u) => e(`${u}/muteToggle`, null),
1195
+ muteOn: (u) => e(`${u}/muteOn`, null),
1196
+ muteOff: (u) => e(`${u}/muteOff`, null)
1170
1197
  } : void 0;
1171
1198
  }
1172
- function a6(t) {
1173
- const { sendMessage: e } = E(), r = $(t);
1174
- return r ? { lightingState: r, selectScene: (l) => {
1199
+ function h6(t) {
1200
+ const { sendMessage: e } = y(), o = L(t);
1201
+ return o ? { lightingState: o, selectScene: (l) => {
1175
1202
  e(`/device/${t}/selectScene`, l);
1176
1203
  } } : void 0;
1177
1204
  }
1178
- function u6(t) {
1179
- const { sendMessage: e } = E(), r = $(t);
1180
- return r ? { matrixRoutingState: r, setRoute: (l) => {
1205
+ function g6(t) {
1206
+ const { sendMessage: e } = y(), o = L(t);
1207
+ return o ? { matrixRoutingState: o, setRoute: (l) => {
1181
1208
  e(`/device/${t}/route`, l);
1182
1209
  } } : void 0;
1183
1210
  }
1184
- function d6(t) {
1185
- const e = `/device/${t}`, r = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), a = h(e, "num3"), u = h(e, "num4"), f = h(e, "num5"), d = h(e, "num6"), C = h(e, "num7"), S = h(e, "num8"), b = h(e, "num9"), A = h(e, "numDash"), T = h(e, "numEnter");
1186
- return { digit0: r, digit1: s, digit2: l, digit3: a, digit4: u, digit5: f, digit6: d, digit7: C, digit8: S, digit9: b, keypadAccessoryButton1: A, keypadAccessoryButton2: T };
1211
+ function f6(t) {
1212
+ const { sendMessage: e } = y();
1213
+ return { closeApp: () => {
1214
+ e(`/device/${t}/closeWebViewController`, null);
1215
+ } };
1187
1216
  }
1188
- function v6(t) {
1189
- const { sendMessage: e } = E(), r = R3(t);
1190
- return r ? { roomEventScheduleState: r, save: (l) => {
1217
+ function w6(t) {
1218
+ const e = `/device/${t}`, o = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), i = h(e, "num3"), d = h(e, "num4"), f = h(e, "num5"), u = h(e, "num6"), C = h(e, "num7"), S = h(e, "num8"), b = h(e, "num9"), A = h(e, "numDash"), D = h(e, "numEnter");
1219
+ return { digit0: o, digit1: s, digit2: l, digit3: i, digit4: d, digit5: f, digit6: u, digit7: C, digit8: S, digit9: b, keypadAccessoryButton1: A, keypadAccessoryButton2: D };
1220
+ }
1221
+ function p6(t) {
1222
+ const { sendMessage: e } = y(), o = L(t);
1223
+ return o ? { projectorScreenLiftControlState: o, raise: () => {
1224
+ e(`/device/${t}/raise`, null);
1225
+ }, lower: () => {
1226
+ e(`/device/${t}/lower`, null);
1227
+ } } : void 0;
1228
+ }
1229
+ function x6(t) {
1230
+ const { sendMessage: e } = y(), o = R3(t);
1231
+ return o ? { roomEventScheduleState: o, save: (l) => {
1191
1232
  e(`/room/${t}/saveScheduledEvents`, l);
1192
1233
  } } : void 0;
1193
1234
  }
1194
- function h6(t) {
1195
- const { sendMessage: e } = E();
1235
+ function M6(t) {
1236
+ const { sendMessage: e } = y();
1196
1237
  return { runDirectRoute: (s) => {
1197
1238
  e(`/room/${t}/directRoute`, s);
1198
1239
  } };
1199
1240
  }
1200
- function g6(t) {
1201
- const { sendMessage: e } = E();
1202
- return { routingState: $(t), runRoute: (l) => {
1241
+ function m6(t) {
1242
+ const { sendMessage: e } = y();
1243
+ return { routingState: L(t), runRoute: (l) => {
1203
1244
  e(`/room/${t}/source`, l);
1204
1245
  } };
1205
1246
  }
1206
- function f6(t) {
1207
- const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown");
1208
- return { dvrList: r, replay: s };
1247
+ function Z6(t) {
1248
+ const e = `/device/${t}`, o = h(e, "chanUp"), s = h(e, "chanDown");
1249
+ return { dvrList: o, replay: s };
1209
1250
  }
1210
- function w6(t) {
1211
- const { sendMessage: e } = E(), r = $(t);
1212
- return r ? { shadeState: r, shadeUp: () => {
1251
+ function j6(t) {
1252
+ const { sendMessage: e } = y(), o = L(t);
1253
+ return o ? { shadeState: o, shadeUp: () => {
1213
1254
  e(`/device/${t}/shadeUp`, null);
1214
1255
  }, shadeDown: () => {
1215
1256
  e(`/device/${t}/shadeDown`, null);
@@ -1217,9 +1258,9 @@ function w6(t) {
1217
1258
  e(`/device/${t}/stopOrPreset`, null);
1218
1259
  } } : void 0;
1219
1260
  }
1220
- function p6(t) {
1221
- const { sendMessage: e } = E(), r = R3(t);
1222
- return r ? { shutdownPromptTimerState: r, setShutdownPromptSeconds: (f) => {
1261
+ function S6(t) {
1262
+ const { sendMessage: e } = y(), o = R3(t);
1263
+ return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (f) => {
1223
1264
  e(`/room/${t}/setShutdownPromptSeconds`, f);
1224
1265
  }, shutdownStart: () => {
1225
1266
  e(`/room/${t}/shutdownStart`, null);
@@ -1229,122 +1270,133 @@ function p6(t) {
1229
1270
  e(`/room/${t}/shutdownCancel`, null);
1230
1271
  } } : void 0;
1231
1272
  }
1232
- function x6(t) {
1233
- const { sendMessage: e } = E(), r = $(t);
1234
- return r ? { switchedOutputState: r, on: () => {
1273
+ function C6(t) {
1274
+ const { sendMessage: e } = y(), o = L(t);
1275
+ return o ? { switchedOutputState: o, on: () => {
1235
1276
  e(`/device/${t}/on`, null);
1236
1277
  }, off: () => {
1237
1278
  e(`/device/${t}/off`, null);
1238
1279
  } } : void 0;
1239
1280
  }
1240
- const M6 = ({ className: t }) => {
1241
- const [e, r] = d3();
1242
- return n3(() => {
1243
- setInterval(() => {
1244
- const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1245
- r(s);
1246
- }, 1e3);
1247
- }, []), /* @__PURE__ */ n.jsxs("div", { className: t, children: [
1248
- e,
1249
- " new change"
1250
- ] });
1251
- };
1252
- function m6(t) {
1253
- const { sendMessage: e } = E(), r = R3(t);
1254
- return r ? { techPasswordState: r, validatePassword: (a) => {
1255
- e(`/room/${t}/validateTechPassword`, { password: a });
1256
- }, setPassword: (a, u) => {
1257
- e(`/room/${t}/setTechPassword`, { oldPassword: a, newPassword: u });
1281
+ function b6(t) {
1282
+ const { sendMessage: e } = y(), o = R3(t);
1283
+ return o ? { techPasswordState: o, validatePassword: (i) => {
1284
+ e(`/room/${t}/validateTechPassword`, { password: i });
1285
+ }, setPassword: (i, d) => {
1286
+ e(`/room/${t}/setTechPassword`, { oldPassword: i, newPassword: d });
1258
1287
  } } : void 0;
1259
1288
  }
1260
- function Z6(t) {
1261
- const e = `/device/${t}`, r = h(e, "play"), s = h(e, "pause"), l = h(e, "stop"), a = h(e, "prevTrack"), u = h(e, "nextTrack"), f = h(e, "rewind"), d = h(e, "ffwd"), C = h(e, "record");
1262
- return { play: r, pause: s, stop: l, prevTrack: a, nextTrack: u, rewind: f, fastForward: d, record: C };
1289
+ function I6(t) {
1290
+ const e = `/device/${t}`, o = h(e, "play"), s = h(e, "pause"), l = h(e, "stop"), i = h(e, "prevTrack"), d = h(e, "nextTrack"), f = h(e, "rewind"), u = h(e, "ffwd"), C = h(e, "record");
1291
+ return { play: o, pause: s, stop: l, prevTrack: i, nextTrack: d, rewind: f, fastForward: u, record: C };
1263
1292
  }
1264
- function j6(t) {
1265
- const e = $(t), { sendMessage: r } = E();
1293
+ function y6(t) {
1294
+ const e = L(t), { sendMessage: o } = y();
1266
1295
  return e ? {
1267
1296
  touchpanelState: e,
1268
1297
  appControl: { hideApp: () => {
1269
- r(`/device/${t}/hideApp`, null);
1298
+ o(`/device/${t}/hideApp`, null);
1270
1299
  }, openApp: () => {
1271
- r(`/device/${t}/openApp`, null);
1300
+ o(`/device/${t}/openApp`, null);
1272
1301
  }, closeApp: () => {
1273
- r(`/device/${t}/closeApp`, null);
1302
+ o(`/device/${t}/closeApp`, null);
1274
1303
  } },
1275
1304
  zoomControl: { endCall: () => {
1276
- r(`/device/${t}/endCall`, null);
1305
+ o(`/device/${t}/endCall`, null);
1277
1306
  } }
1278
1307
  } : void 0;
1279
1308
  }
1280
- function S6(t) {
1281
- const e = $(t), r = h1(t), s = y3(t);
1309
+ function R6(t) {
1310
+ const e = L(t), o = h1(t), s = y3(t);
1282
1311
  if (!e)
1283
1312
  return;
1284
- const l = (e.powerState || e.isWarming) && !e.isCooling, a = (!e.powerState || e.isCooling) && !e.isWarming;
1313
+ const l = (e.powerState || e.isWarming) && !e.isCooling, i = (!e.powerState || e.isCooling) && !e.isWarming;
1285
1314
  return {
1286
1315
  displayState: e,
1287
- powerControl: r,
1316
+ powerControl: o,
1288
1317
  inputControl: s,
1289
- powerFb: { powerOnFb: l, powerOffFb: a }
1318
+ powerFb: { powerOnFb: l, powerOffFb: i }
1290
1319
  };
1291
1320
  }
1292
- const C6 = ({ config: t }) => {
1293
- const { sendMessage: e } = E();
1294
- n3(() => {
1321
+ const E6 = ({ config: t }) => {
1322
+ const { sendMessage: e } = y();
1323
+ G(() => {
1295
1324
  var s, l;
1296
1325
  if (!t)
1297
1326
  return;
1298
- const r = [];
1299
- Object.values(t.destinations).forEach((a) => {
1300
- r.push(a);
1301
- }), (s = t.touchpanelKeys) == null || s.forEach((a) => {
1302
- r.push(a);
1303
- }), t.environmentalDevices.forEach((a) => {
1304
- r.push(a.deviceKey);
1305
- }), (l = t.accessoryDevices) == null || l.forEach((a) => {
1306
- r.push(a.deviceKey);
1307
- }), t.audioCodecKey && r.push(t.audioCodecKey), t.videoCodecKey && r.push(t.videoCodecKey), t.matrixRoutingKey && r.push(t.matrixRoutingKey), t.endpointKeys && t.endpointKeys.forEach((a) => {
1308
- r.push(a);
1327
+ const o = [];
1328
+ Object.values(t.destinations).forEach((i) => {
1329
+ o.push(i);
1330
+ }), Object.values(t.destinationList).forEach((i) => {
1331
+ o.push(i.sinkKey);
1332
+ }), (s = t.touchpanelKeys) == null || s.forEach((i) => {
1333
+ o.push(i);
1334
+ }), t.environmentalDevices.forEach((i) => {
1335
+ o.push(i.deviceKey);
1336
+ }), (l = t.accessoryDeviceKeys) == null || l.forEach((i) => {
1337
+ o.push(i);
1338
+ }), t.audioCodecKey && o.push(t.audioCodecKey), t.videoCodecKey && o.push(t.videoCodecKey), t.matrixRoutingKey && o.push(t.matrixRoutingKey), t.roomCombinerKey && o.push(t.roomCombinerKey), t.endpointKeys && t.endpointKeys.forEach((i) => {
1339
+ o.push(i);
1309
1340
  });
1310
- for (const a of Object.values(t.sourceList))
1311
- a.sourceKey && a.sourceKey !== "$off" && r.push(a.sourceKey);
1312
- r.forEach((a) => {
1313
- e(`/device/${a}/fullStatus`, { deviceKey: a });
1341
+ for (const i of Object.values(t.sourceList))
1342
+ i.sourceKey && i.sourceKey !== "$off" && o.push(i.sourceKey);
1343
+ console.log("deviceKeys", o), o.forEach((i) => {
1344
+ e(`/device/${i}/fullStatus`, { deviceKey: i });
1314
1345
  });
1315
1346
  }, [t, e]);
1316
1347
  };
1317
- function b6(t, e) {
1318
- const r = f2(t, e), s = `/room/${t}/volumes/${e}`;
1319
- return v1(s, r);
1348
+ function _6(t, e) {
1349
+ const o = w2(t, e), s = `/room/${t}/volumes/${e}`;
1350
+ return v1(s, o);
1320
1351
  }
1321
- const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), L2 = "_iconbtn_16qss_1", $2 = "_iconbtnvert_16qss_7", A2 = "_iconsm_16qss_18", S3 = {
1322
- iconbtn: L2,
1323
- iconbtnvert: $2,
1324
- iconsm: A2
1325
- }, B2 = ({
1352
+ function L6() {
1353
+ const [t, e] = q(), [o, s] = q();
1354
+ function l() {
1355
+ e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
1356
+ const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
1357
+ s(i);
1358
+ }
1359
+ return G(() => {
1360
+ l();
1361
+ const i = setInterval(() => {
1362
+ l();
1363
+ }, 1e3);
1364
+ return () => clearInterval(i);
1365
+ }, []), { date: t, time: o };
1366
+ }
1367
+ const $6 = () => {
1368
+ const t = N1();
1369
+ return /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
1370
+ /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1371
+ /* @__PURE__ */ n.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(-1), children: "Go Back" })
1372
+ ] });
1373
+ }, $2 = "_iconbtn_16qss_1", A2 = "_iconbtnvert_16qss_7", T2 = "_iconsm_16qss_18", S3 = {
1374
+ iconbtn: $2,
1375
+ iconbtnvert: A2,
1376
+ iconsm: T2
1377
+ }, D2 = ({
1326
1378
  multiIcon: t,
1327
1379
  otherContent: e = null,
1328
- vert: r = !1,
1380
+ vert: o = !1,
1329
1381
  className: s,
1330
1382
  iconClassName: l = "",
1331
- otherContentClassName: a = "",
1332
- disabled: u,
1383
+ otherContentClassName: i = "",
1384
+ disabled: d,
1333
1385
  feedback: f,
1334
- feedbackClassName: d,
1386
+ feedbackClassName: u,
1335
1387
  onPointerDown: C,
1336
1388
  onPointerUp: S,
1337
1389
  onPointerLeave: b,
1338
1390
  ...A
1339
1391
  }) => {
1340
- const [T, V] = d3(!1), G = !u && f ? d : "", q = !u && (T || f);
1392
+ const [D, V] = q(!1), Y = !d && f ? u : "", J = !d && (D || f);
1341
1393
  return /* @__PURE__ */ n.jsxs(
1342
1394
  "button",
1343
1395
  {
1344
1396
  type: "button",
1345
- className: `${S3.iconbtn} ${r ? S3.iconbtnvert : ""} ${s} ${G}`,
1397
+ className: `${S3.iconbtn} ${o ? S3.iconbtnvert : ""} ${s} ${Y}`,
1346
1398
  ...A,
1347
- disabled: u,
1399
+ disabled: d,
1348
1400
  onPointerDown: (m) => {
1349
1401
  V(!0), C == null || C(m);
1350
1402
  },
@@ -1359,24 +1411,24 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1359
1411
  t,
1360
1412
  {
1361
1413
  className: `${l || S3.iconsm}`,
1362
- active: q,
1363
- disabled: u
1414
+ active: J,
1415
+ disabled: d
1364
1416
  }
1365
1417
  ),
1366
- /* @__PURE__ */ n.jsx("div", { className: a, children: e })
1418
+ /* @__PURE__ */ n.jsx("div", { className: i, children: e })
1367
1419
  ]
1368
1420
  }
1369
1421
  );
1370
1422
  }, M = ({
1371
1423
  ActiveImage: t,
1372
1424
  DisabledImage: e,
1373
- EnabledImage: r,
1425
+ EnabledImage: o,
1374
1426
  active: s,
1375
1427
  disabled: l
1376
- }) => l ? e : s ? t : r, T2 = ({
1428
+ }) => l ? e : s ? t : o, B2 = ({
1377
1429
  active: t,
1378
1430
  className: e = "",
1379
- disabled: r
1431
+ disabled: o
1380
1432
  }) => /* @__PURE__ */ n.jsx(
1381
1433
  M,
1382
1434
  {
@@ -1420,12 +1472,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1420
1472
  )
1421
1473
  ),
1422
1474
  active: t,
1423
- disabled: r
1475
+ disabled: o
1424
1476
  }
1425
- ), D2 = ({
1477
+ ), P2 = ({
1426
1478
  active: t,
1427
1479
  className: e = "",
1428
- disabled: r
1480
+ disabled: o
1429
1481
  }) => /* @__PURE__ */ n.jsx(
1430
1482
  M,
1431
1483
  {
@@ -1472,12 +1524,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1472
1524
  }
1473
1525
  ),
1474
1526
  active: t,
1475
- disabled: r
1527
+ disabled: o
1476
1528
  }
1477
- ), P2 = ({
1529
+ ), O2 = ({
1478
1530
  active: t,
1479
1531
  className: e = "",
1480
- disabled: r
1532
+ disabled: o
1481
1533
  }) => /* @__PURE__ */ n.jsx(
1482
1534
  M,
1483
1535
  {
@@ -1521,12 +1573,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1521
1573
  )
1522
1574
  ),
1523
1575
  active: t,
1524
- disabled: r
1576
+ disabled: o
1525
1577
  }
1526
- ), O2 = ({
1578
+ ), V2 = ({
1527
1579
  active: t,
1528
1580
  className: e = "",
1529
- disabled: r
1581
+ disabled: o
1530
1582
  }) => /* @__PURE__ */ n.jsx(
1531
1583
  M,
1532
1584
  {
@@ -1561,12 +1613,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1561
1613
  }
1562
1614
  ),
1563
1615
  active: t,
1564
- disabled: r
1616
+ disabled: o
1565
1617
  }
1566
- ), V2 = ({
1618
+ ), F2 = ({
1567
1619
  active: t,
1568
1620
  className: e = "",
1569
- disabled: r
1621
+ disabled: o
1570
1622
  }) => /* @__PURE__ */ n.jsx(
1571
1623
  M,
1572
1624
  {
@@ -1610,12 +1662,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1610
1662
  )
1611
1663
  ),
1612
1664
  active: t,
1613
- disabled: r
1665
+ disabled: o
1614
1666
  }
1615
- ), F2 = ({
1667
+ ), k2 = ({
1616
1668
  active: t,
1617
1669
  className: e = "",
1618
- disabled: r
1670
+ disabled: o
1619
1671
  }) => /* @__PURE__ */ n.jsx(
1620
1672
  M,
1621
1673
  {
@@ -1659,12 +1711,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1659
1711
  )
1660
1712
  ),
1661
1713
  active: t,
1662
- disabled: r
1714
+ disabled: o
1663
1715
  }
1664
- ), k2 = ({
1716
+ ), U2 = ({
1665
1717
  active: t,
1666
1718
  className: e = "",
1667
- disabled: r
1719
+ disabled: o
1668
1720
  }) => /* @__PURE__ */ n.jsx(
1669
1721
  M,
1670
1722
  {
@@ -1708,12 +1760,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1708
1760
  )
1709
1761
  ),
1710
1762
  active: t,
1711
- disabled: r
1763
+ disabled: o
1712
1764
  }
1713
1765
  ), W2 = ({
1714
1766
  active: t,
1715
1767
  className: e = "",
1716
- disabled: r
1768
+ disabled: o
1717
1769
  }) => /* @__PURE__ */ n.jsx(
1718
1770
  M,
1719
1771
  {
@@ -1757,12 +1809,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1757
1809
  )
1758
1810
  ),
1759
1811
  active: t,
1760
- disabled: r
1812
+ disabled: o
1761
1813
  }
1762
- ), U2 = ({
1814
+ ), H2 = ({
1763
1815
  active: t,
1764
1816
  className: e = "",
1765
- disabled: r
1817
+ disabled: o
1766
1818
  }) => /* @__PURE__ */ n.jsx(
1767
1819
  M,
1768
1820
  {
@@ -1806,12 +1858,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1806
1858
  )
1807
1859
  ),
1808
1860
  active: t,
1809
- disabled: r
1861
+ disabled: o
1810
1862
  }
1811
- ), H2 = ({
1863
+ ), K2 = ({
1812
1864
  active: t,
1813
1865
  className: e = "",
1814
- disabled: r
1866
+ disabled: o
1815
1867
  }) => /* @__PURE__ */ n.jsx(
1816
1868
  M,
1817
1869
  {
@@ -1855,14 +1907,14 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1855
1907
  )
1856
1908
  ),
1857
1909
  active: t,
1858
- disabled: r
1910
+ disabled: o
1859
1911
  }
1860
- ), K2 = ({
1912
+ ), G2 = ({
1861
1913
  active: t,
1862
1914
  // Just to shut up the linter on this template. Prefer deleting this lint rule
1863
1915
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1864
1916
  className: e = "",
1865
- disabled: r
1917
+ disabled: o
1866
1918
  }) => /* @__PURE__ */ n.jsx(
1867
1919
  M,
1868
1920
  {
@@ -1924,12 +1976,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1924
1976
  )
1925
1977
  ),
1926
1978
  active: t,
1927
- disabled: r
1979
+ disabled: o
1928
1980
  }
1929
- ), G2 = ({
1981
+ ), q2 = ({
1930
1982
  active: t,
1931
1983
  className: e = "",
1932
- disabled: r
1984
+ disabled: o
1933
1985
  }) => /* @__PURE__ */ n.jsx(
1934
1986
  M,
1935
1987
  {
@@ -1973,12 +2025,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
1973
2025
  )
1974
2026
  ),
1975
2027
  active: t,
1976
- disabled: r
2028
+ disabled: o
1977
2029
  }
1978
- ), q2 = ({
2030
+ ), Y2 = ({
1979
2031
  active: t,
1980
2032
  className: e = "",
1981
- disabled: r
2033
+ disabled: o
1982
2034
  }) => /* @__PURE__ */ n.jsx(
1983
2035
  M,
1984
2036
  {
@@ -2022,12 +2074,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2022
2074
  )
2023
2075
  ),
2024
2076
  active: t,
2025
- disabled: r
2077
+ disabled: o
2026
2078
  }
2027
- ), Y2 = ({
2079
+ ), J2 = ({
2028
2080
  active: t,
2029
2081
  className: e = "",
2030
- disabled: r
2082
+ disabled: o
2031
2083
  }) => /* @__PURE__ */ n.jsx(
2032
2084
  M,
2033
2085
  {
@@ -2071,12 +2123,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2071
2123
  )
2072
2124
  ),
2073
2125
  active: t,
2074
- disabled: r
2126
+ disabled: o
2075
2127
  }
2076
- ), J2 = ({
2128
+ ), z2 = ({
2077
2129
  active: t,
2078
2130
  className: e = "",
2079
- disabled: r
2131
+ disabled: o
2080
2132
  }) => /* @__PURE__ */ n.jsx(
2081
2133
  M,
2082
2134
  {
@@ -2120,12 +2172,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2120
2172
  )
2121
2173
  ),
2122
2174
  active: t,
2123
- disabled: r
2175
+ disabled: o
2124
2176
  }
2125
- ), z2 = ({
2177
+ ), X2 = ({
2126
2178
  active: t,
2127
2179
  className: e = "",
2128
- disabled: r
2180
+ disabled: o
2129
2181
  }) => /* @__PURE__ */ n.jsx(
2130
2182
  M,
2131
2183
  {
@@ -2142,12 +2194,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2142
2194
  /* @__PURE__ */ n.jsx("svg", { className: e, fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 164.61 164.61", children: /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("path", { d: "M131.62,102.87c-1.96,2.47-6.77,4.24-6.77,4.24l-35.75,12.84v-9.47l26.31-9.37c2.99-1.07,3.44-2.58,1.02-3.38-2.42-.8-6.81-.57-9.8.51l-17.53,6.17v-9.83l1.01-.34s5.07-1.79,12.19-2.58c7.12-.78,15.85.11,22.69,2.7,7.72,2.44,8.59,6.03,6.63,8.51ZM92.51,86.75v-24.22c0-2.84-.52-5.46-3.19-6.2-2.04-.65-3.31,1.24-3.31,4.09v60.65l-16.36-5.19V43.55c6.95,1.29,17.09,4.34,22.53,6.18,13.85,4.76,18.55,10.67,18.55,24.01s-8.02,17.93-18.22,13ZM39.63,109.49c-7.92-2.23-9.24-6.88-5.63-9.56,3.34-2.47,9.01-4.33,9.01-4.33l23.45-8.34v9.51l-16.88,6.04c-2.98,1.07-3.44,2.58-1.02,3.38,2.42.79,6.81.57,9.8-.5l8.1-2.94v8.51c-.51.09-1.09.18-1.61.27-8.1,1.32-16.72.77-25.22-2.03h0ZM82.3,164.61C36.92,164.61,0,127.69,0,82.3S36.92,0,82.3,0s82.3,36.92,82.3,82.3-36.92,82.3-82.3,82.3ZM82.3,5C39.68,5,5,39.68,5,82.3s34.68,77.3,77.3,77.3,77.3-34.68,77.3-77.3S124.93,5,82.3,5Z" }) }) })
2143
2195
  ),
2144
2196
  active: t,
2145
- disabled: r
2197
+ disabled: o
2146
2198
  }
2147
- ), X2 = ({
2199
+ ), Q2 = ({
2148
2200
  active: t,
2149
2201
  className: e = "",
2150
- disabled: r
2202
+ disabled: o
2151
2203
  }) => /* @__PURE__ */ n.jsx(
2152
2204
  M,
2153
2205
  {
@@ -2191,12 +2243,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2191
2243
  )
2192
2244
  ),
2193
2245
  active: t,
2194
- disabled: r
2246
+ disabled: o
2195
2247
  }
2196
- ), Q2 = ({
2248
+ ), N2 = ({
2197
2249
  active: t,
2198
2250
  className: e = "",
2199
- disabled: r
2251
+ disabled: o
2200
2252
  }) => /* @__PURE__ */ n.jsx(
2201
2253
  M,
2202
2254
  {
@@ -2240,12 +2292,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2240
2292
  )
2241
2293
  ),
2242
2294
  active: t,
2243
- disabled: r
2295
+ disabled: o
2244
2296
  }
2245
- ), N2 = ({
2297
+ ), e8 = ({
2246
2298
  active: t,
2247
2299
  className: e = "",
2248
- disabled: r
2300
+ disabled: o
2249
2301
  }) => /* @__PURE__ */ n.jsx(
2250
2302
  M,
2251
2303
  {
@@ -2289,12 +2341,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2289
2341
  )
2290
2342
  ),
2291
2343
  active: t,
2292
- disabled: r
2344
+ disabled: o
2293
2345
  }
2294
- ), e8 = ({
2346
+ ), t8 = ({
2295
2347
  active: t,
2296
2348
  className: e = "",
2297
- disabled: r
2349
+ disabled: o
2298
2350
  }) => /* @__PURE__ */ n.jsx(
2299
2351
  M,
2300
2352
  {
@@ -2338,12 +2390,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2338
2390
  )
2339
2391
  ),
2340
2392
  active: t,
2341
- disabled: r
2393
+ disabled: o
2342
2394
  }
2343
- ), t8 = ({
2395
+ ), n8 = ({
2344
2396
  active: t,
2345
2397
  className: e = "",
2346
- disabled: r
2398
+ disabled: o
2347
2399
  }) => /* @__PURE__ */ n.jsx(
2348
2400
  M,
2349
2401
  {
@@ -2387,12 +2439,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2387
2439
  )
2388
2440
  ),
2389
2441
  active: t,
2390
- disabled: r
2442
+ disabled: o
2391
2443
  }
2392
- ), n8 = ({
2444
+ ), o8 = ({
2393
2445
  active: t,
2394
2446
  className: e = "",
2395
- disabled: r
2447
+ disabled: o
2396
2448
  }) => /* @__PURE__ */ n.jsx(
2397
2449
  M,
2398
2450
  {
@@ -2436,12 +2488,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2436
2488
  )
2437
2489
  ),
2438
2490
  active: t,
2439
- disabled: r
2491
+ disabled: o
2440
2492
  }
2441
2493
  ), r8 = ({
2442
2494
  active: t,
2443
2495
  className: e = "",
2444
- disabled: r
2496
+ disabled: o
2445
2497
  }) => /* @__PURE__ */ n.jsx(
2446
2498
  M,
2447
2499
  {
@@ -2485,12 +2537,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2485
2537
  )
2486
2538
  ),
2487
2539
  active: t,
2488
- disabled: r
2540
+ disabled: o
2489
2541
  }
2490
- ), o8 = ({
2542
+ ), s8 = ({
2491
2543
  active: t,
2492
2544
  className: e = "",
2493
- disabled: r
2545
+ disabled: o
2494
2546
  }) => /* @__PURE__ */ n.jsx(
2495
2547
  M,
2496
2548
  {
@@ -2534,12 +2586,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2534
2586
  )
2535
2587
  ),
2536
2588
  active: t,
2537
- disabled: r
2589
+ disabled: o
2538
2590
  }
2539
- ), s8 = ({
2591
+ ), c8 = ({
2540
2592
  active: t,
2541
2593
  className: e = "",
2542
- disabled: r
2594
+ disabled: o
2543
2595
  }) => /* @__PURE__ */ n.jsx(
2544
2596
  M,
2545
2597
  {
@@ -2583,12 +2635,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2583
2635
  )
2584
2636
  ),
2585
2637
  active: t,
2586
- disabled: r
2638
+ disabled: o
2587
2639
  }
2588
- ), c8 = ({
2640
+ ), l8 = ({
2589
2641
  active: t,
2590
2642
  className: e = "",
2591
- disabled: r
2643
+ disabled: o
2592
2644
  }) => /* @__PURE__ */ n.jsx(
2593
2645
  M,
2594
2646
  {
@@ -2632,12 +2684,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2632
2684
  )
2633
2685
  ),
2634
2686
  active: t,
2635
- disabled: r
2687
+ disabled: o
2636
2688
  }
2637
- ), l8 = ({
2689
+ ), i8 = ({
2638
2690
  active: t,
2639
2691
  className: e = "",
2640
- disabled: r
2692
+ disabled: o
2641
2693
  }) => /* @__PURE__ */ n.jsx(
2642
2694
  M,
2643
2695
  {
@@ -2681,12 +2733,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2681
2733
  )
2682
2734
  ),
2683
2735
  active: t,
2684
- disabled: r
2736
+ disabled: o
2685
2737
  }
2686
- ), i8 = ({
2738
+ ), a8 = ({
2687
2739
  active: t,
2688
2740
  className: e = "",
2689
- disabled: r
2741
+ disabled: o
2690
2742
  }) => /* @__PURE__ */ n.jsx(
2691
2743
  M,
2692
2744
  {
@@ -2730,12 +2782,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2730
2782
  )
2731
2783
  ),
2732
2784
  active: t,
2733
- disabled: r
2785
+ disabled: o
2734
2786
  }
2735
- ), a8 = ({
2787
+ ), u8 = ({
2736
2788
  active: t,
2737
2789
  className: e = "",
2738
- disabled: r
2790
+ disabled: o
2739
2791
  }) => /* @__PURE__ */ n.jsx(
2740
2792
  M,
2741
2793
  {
@@ -2779,12 +2831,12 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2779
2831
  )
2780
2832
  ),
2781
2833
  active: t,
2782
- disabled: r
2834
+ disabled: o
2783
2835
  }
2784
- ), u8 = ({
2836
+ ), d8 = ({
2785
2837
  active: t,
2786
2838
  className: e = "",
2787
- disabled: r
2839
+ disabled: o
2788
2840
  }) => /* @__PURE__ */ n.jsx(
2789
2841
  M,
2790
2842
  {
@@ -2828,108 +2880,108 @@ const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
2828
2880
  )
2829
2881
  ),
2830
2882
  active: t,
2831
- disabled: r
2832
- }
2833
- ), d8 = {
2834
- Alert: D2,
2835
- Camera: O2,
2836
- DownArrow: F2,
2837
- Ban: P2,
2838
- Check: V2,
2839
- Elipses: k2,
2883
+ disabled: o
2884
+ }
2885
+ ), v8 = {
2886
+ Alert: P2,
2887
+ Camera: V2,
2888
+ DownArrow: k2,
2889
+ Ban: O2,
2890
+ Check: F2,
2891
+ Elipses: U2,
2840
2892
  Flag: W2,
2841
- Gear: U2,
2842
- Glass: H2,
2843
- Hdmi: K2,
2844
- Laptop: G2,
2845
- LeftArrow: q2,
2846
- Light: Y2,
2847
- Mic: T2,
2848
- Moon: J2,
2849
- Playstation: z2,
2850
- Podium: X2,
2851
- Power: Q2,
2852
- Privacy: N2,
2853
- Question: e8,
2854
- RightArrow: t8,
2855
- Shade: n8,
2893
+ Gear: H2,
2894
+ Glass: K2,
2895
+ Hdmi: G2,
2896
+ Laptop: q2,
2897
+ LeftArrow: Y2,
2898
+ Light: J2,
2899
+ Mic: B2,
2900
+ Moon: z2,
2901
+ Playstation: X2,
2902
+ Podium: Q2,
2903
+ Power: N2,
2904
+ Privacy: e8,
2905
+ Question: t8,
2906
+ RightArrow: n8,
2907
+ Shade: o8,
2856
2908
  Sun: r8,
2857
- UpArrow: o8,
2858
- VolDown: s8,
2859
- VolMute: c8,
2860
- VolUp: l8,
2861
- Wireless: i8,
2862
- X: a8,
2863
- Xbox: u8
2909
+ UpArrow: s8,
2910
+ VolDown: c8,
2911
+ VolMute: l8,
2912
+ VolUp: i8,
2913
+ Wireless: a8,
2914
+ X: u8,
2915
+ Xbox: d8
2864
2916
  };
2865
- function y6({
2917
+ function A6({
2866
2918
  name: t,
2867
- iconsDictionary: e = d8,
2868
- ...r
2919
+ iconsDictionary: e = v8,
2920
+ ...o
2869
2921
  }) {
2870
2922
  const s = e[t] ?? null;
2871
- return s || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(B2, { multiIcon: s, ...r });
2923
+ return s || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(D2, { multiIcon: s, ...o });
2872
2924
  }
2873
- const v8 = "_grid_1cmpp_1", h8 = "_header_1cmpp_11", g8 = "_content_1cmpp_17", f8 = "_footer_1cmpp_23", w8 = "_volume_1cmpp_29", t3 = {
2874
- grid: v8,
2875
- header: h8,
2876
- content: g8,
2877
- footer: f8,
2878
- volume: w8
2879
- }, R6 = ({ header: t, footer: e, content: r, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: t3.grid, children: [
2880
- /* @__PURE__ */ n.jsx("div", { className: t3.header, children: t }),
2881
- /* @__PURE__ */ n.jsx("div", { className: t3.content, children: r }),
2882
- l && /* @__PURE__ */ n.jsx("div", { className: t3.volume, children: s }),
2883
- /* @__PURE__ */ n.jsx("div", { className: t3.footer, children: e })
2884
- ] }), p8 = "_grid_11w5q_1", x8 = "_header_11w5q_11", M8 = "_content_11w5q_17", u3 = {
2885
- grid: p8,
2886
- header: x8,
2887
- content: M8,
2925
+ const h8 = "_grid_1cmpp_1", g8 = "_header_1cmpp_11", f8 = "_content_1cmpp_17", w8 = "_footer_1cmpp_23", p8 = "_volume_1cmpp_29", o3 = {
2926
+ grid: h8,
2927
+ header: g8,
2928
+ content: f8,
2929
+ footer: w8,
2930
+ volume: p8
2931
+ }, T6 = ({ header: t, footer: e, content: o, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: o3.grid, children: [
2932
+ /* @__PURE__ */ n.jsx("div", { className: o3.header, children: t }),
2933
+ /* @__PURE__ */ n.jsx("div", { className: o3.content, children: o }),
2934
+ l && /* @__PURE__ */ n.jsx("div", { className: o3.volume, children: s }),
2935
+ /* @__PURE__ */ n.jsx("div", { className: o3.footer, children: e })
2936
+ ] }), x8 = "_grid_11w5q_1", M8 = "_header_11w5q_11", m8 = "_content_11w5q_17", d3 = {
2937
+ grid: x8,
2938
+ header: M8,
2939
+ content: m8,
2888
2940
  "left-nav": "_left-nav_11w5q_23"
2889
- }, E6 = ({ className: t, header: e, content: r, leftNav: s }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${u3.grid}`, children: [
2890
- /* @__PURE__ */ n.jsx("div", { className: u3.header, children: e }),
2891
- s && /* @__PURE__ */ n.jsx("div", { className: u3.leftNav, children: s }),
2892
- /* @__PURE__ */ n.jsx("div", { className: u3.content, children: r })
2893
- ] }), m8 = "_grid_1uwfo_1", Z8 = "_header_1uwfo_11", j8 = "_content_1uwfo_17", C3 = {
2894
- grid: m8,
2895
- header: Z8,
2896
- content: j8
2897
- }, _6 = ({ className: t, header: e, content: r }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${C3.grid}`, children: [
2941
+ }, D6 = ({ className: t, header: e, content: o, leftNav: s }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${d3.grid}`, children: [
2942
+ /* @__PURE__ */ n.jsx("div", { className: d3.header, children: e }),
2943
+ s && /* @__PURE__ */ n.jsx("div", { className: d3.leftNav, children: s }),
2944
+ /* @__PURE__ */ n.jsx("div", { className: d3.content, children: o })
2945
+ ] }), Z8 = "_grid_1uwfo_1", j8 = "_header_1uwfo_11", S8 = "_content_1uwfo_17", C3 = {
2946
+ grid: Z8,
2947
+ header: j8,
2948
+ content: S8
2949
+ }, B6 = ({ className: t, header: e, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${C3.grid}`, children: [
2898
2950
  /* @__PURE__ */ n.jsx("div", { className: C3.header, children: e }),
2899
- /* @__PURE__ */ n.jsx("div", { className: C3.content, children: r })
2951
+ /* @__PURE__ */ n.jsx("div", { className: C3.content, children: o })
2900
2952
  ] });
2901
- function L6() {
2953
+ function P6() {
2902
2954
  return console.log(location.pathname), location.pathname;
2903
2955
  }
2904
- var S8 = /* @__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))(S8 || {});
2905
- class $6 {
2906
- constructor(e, r) {
2956
+ var C8 = /* @__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))(C8 || {});
2957
+ class O6 {
2958
+ constructor(e, o) {
2907
2959
  _(this, "path");
2908
2960
  _(this, "handler");
2909
- this.path = e, this.handler = r;
2961
+ this.path = e, this.handler = o;
2910
2962
  }
2911
2963
  }
2912
- const A6 = "$off";
2913
- class B6 {
2964
+ const V6 = "$off";
2965
+ class F6 {
2914
2966
  constructor() {
2915
2967
  _(this, "name", "");
2916
2968
  _(this, "iconUrl", "");
2917
2969
  _(this, "channel", "");
2918
2970
  }
2919
2971
  }
2920
- class T6 {
2972
+ class k6 {
2921
2973
  constructor() {
2922
2974
  _(this, "deviceKey");
2923
2975
  _(this, "deviceType");
2924
2976
  }
2925
2977
  }
2926
- class D6 {
2978
+ class U6 {
2927
2979
  constructor() {
2928
2980
  _(this, "deviceKey");
2929
2981
  _(this, "deviceType");
2930
2982
  }
2931
2983
  }
2932
- class P6 {
2984
+ class W6 {
2933
2985
  constructor() {
2934
2986
  _(this, "currentShareText");
2935
2987
  _(this, "enabled");
@@ -2937,118 +2989,122 @@ class P6 {
2937
2989
  }
2938
2990
  }
2939
2991
  export {
2940
- D6 as AccessoryDeviceConfiguration,
2941
- M6 as Clock,
2942
- S8 as DaysOfWeek,
2943
- T6 as EnvironmentalDeviceConfiguration,
2944
- I6 as ErrorBox,
2945
- B2 as IconButton,
2946
- D2 as IconMultiAlert,
2947
- P2 as IconMultiBan,
2948
- O2 as IconMultiCamera,
2949
- V2 as IconMultiCheck,
2950
- F2 as IconMultiDownArrow,
2951
- k2 as IconMultiElipses,
2992
+ U6 as AccessoryDeviceConfiguration,
2993
+ u6 as Clock,
2994
+ C8 as DaysOfWeek,
2995
+ k6 as EnvironmentalDeviceConfiguration,
2996
+ $6 as ErrorBox,
2997
+ D2 as IconButton,
2998
+ P2 as IconMultiAlert,
2999
+ O2 as IconMultiBan,
3000
+ V2 as IconMultiCamera,
3001
+ F2 as IconMultiCheck,
3002
+ k2 as IconMultiDownArrow,
3003
+ U2 as IconMultiElipses,
2952
3004
  W2 as IconMultiFlag,
2953
- U2 as IconMultiGear,
2954
- H2 as IconMultiGlass,
2955
- K2 as IconMultiHdmi,
2956
- G2 as IconMultiLaptop,
2957
- q2 as IconMultiLeftArrow,
2958
- Y2 as IconMultiLight,
2959
- J2 as IconMultiMoon,
2960
- z2 as IconMultiPlaystation,
2961
- X2 as IconMultiPodium,
2962
- Q2 as IconMultiPower,
2963
- N2 as IconMultiPrivacy,
2964
- e8 as IconMultiQuestion,
2965
- t8 as IconMultiRightArrow,
2966
- n8 as IconMultiShade,
3005
+ H2 as IconMultiGear,
3006
+ K2 as IconMultiGlass,
3007
+ G2 as IconMultiHdmi,
3008
+ q2 as IconMultiLaptop,
3009
+ Y2 as IconMultiLeftArrow,
3010
+ J2 as IconMultiLight,
3011
+ z2 as IconMultiMoon,
3012
+ X2 as IconMultiPlaystation,
3013
+ Q2 as IconMultiPodium,
3014
+ N2 as IconMultiPower,
3015
+ e8 as IconMultiPrivacy,
3016
+ t8 as IconMultiQuestion,
3017
+ n8 as IconMultiRightArrow,
3018
+ o8 as IconMultiShade,
2967
3019
  r8 as IconMultiSun,
2968
- o8 as IconMultiUpArrow,
2969
- s8 as IconMultiVolDown,
2970
- c8 as IconMultiVolMute,
2971
- l8 as IconMultiVolUp,
2972
- i8 as IconMultiWireless,
2973
- a8 as IconMultiX,
2974
- u8 as IconMultiXbox,
2975
- R6 as MainLayout,
2976
- $6 as MessageHandler,
2977
- Q8 as MobileControlProvider,
3020
+ s8 as IconMultiUpArrow,
3021
+ c8 as IconMultiVolDown,
3022
+ l8 as IconMultiVolMute,
3023
+ i8 as IconMultiVolUp,
3024
+ a8 as IconMultiWireless,
3025
+ u8 as IconMultiX,
3026
+ d8 as IconMultiXbox,
3027
+ T6 as MainLayout,
3028
+ O6 as MessageHandler,
3029
+ e6 as MobileControlProvider,
2978
3030
  M as MultiStateIconContainer,
2979
- y6 as NamedIconButton,
2980
- B6 as PresetChannel,
2981
- P6 as ShareState,
2982
- E6 as TechLayout,
2983
- _6 as TechPinLayout,
2984
- L6 as getBaseLocation,
3031
+ A6 as NamedIconButton,
3032
+ F6 as PresetChannel,
3033
+ W6 as ShareState,
3034
+ D6 as TechLayout,
3035
+ B6 as TechPinLayout,
3036
+ P6 as getBaseLocation,
2985
3037
  b3 as httpClient,
2986
- A6 as roomOffSourceKey,
3038
+ V6 as roomOffSourceKey,
2987
3039
  F as store,
2988
- E8 as uiActions,
2989
- d2 as uiReducer,
2990
- _8 as useApiPath,
2991
- h2 as useAppConfig,
2992
- M2 as useAppDispatch,
2993
- e6 as useAvrControl,
2994
- x2 as useClientId,
2995
- E2 as useDeviceIBasicVolumeWithFeedback,
2996
- t6 as useEndpoint,
2997
- C6 as useGetAllDeviceStateFromRoomConfiguration,
2998
- g2 as useGetAllDevices,
2999
- z8 as useGetCurrentPopoverIdForGroup,
3000
- $ as useGetDevice,
3001
- N8 as useGetIBasicVolumeWithFeedback,
3002
- K8 as useGetRoomDisplayStates,
3003
- G8 as useGetZoomRoomControllerKey,
3040
+ L8 as uiActions,
3041
+ v2 as uiReducer,
3042
+ $8 as useApiPath,
3043
+ g2 as useAppConfig,
3044
+ m2 as useAppDispatch,
3045
+ n6 as useAvrControl,
3046
+ M2 as useClientId,
3047
+ _2 as useDeviceIBasicVolumeWithFeedback,
3048
+ o6 as useEndpoint,
3049
+ E6 as useGetAllDeviceStateFromRoomConfiguration,
3050
+ f2 as useGetAllDevices,
3051
+ Q8 as useGetCurrentPopoverIdForGroup,
3052
+ L as useGetDevice,
3053
+ t6 as useGetIBasicVolumeWithFeedback,
3054
+ q8 as useGetRoomDisplayStates,
3055
+ Y8 as useGetZoomRoomControllerKey,
3004
3056
  v1 as useIBasicVolumeWithFeedback,
3005
- n6 as useIChannelMessenger,
3006
- r6 as useIColor,
3007
- o6 as useICommunicationMonitor,
3008
- s6 as useIDPad,
3009
- c6 as useIDeviceInfoMessenger,
3010
- l6 as useIDvr,
3057
+ r6 as useIChannelMessenger,
3058
+ s6 as useIColor,
3059
+ c6 as useICommunicationMonitor,
3060
+ l6 as useIDPad,
3061
+ i6 as useIDeviceInfoMessenger,
3062
+ a6 as useIDvr,
3063
+ d6 as useIEssentialsRoomCombiner,
3011
3064
  h1 as useIHasPowerControl,
3012
3065
  y3 as useIHasSelectableItems,
3013
- i6 as useILevelControls,
3014
- a6 as useILightingScenes,
3015
- u6 as useIMatrixRouting,
3016
- d6 as useINumeric,
3017
- v6 as useIRoomEventSchedule,
3018
- h6 as useIRunDirectRouteAction,
3019
- g6 as useIRunRouteAction,
3020
- f6 as useISetTopBoxControls,
3021
- w6 as useIShadesOpenCloseStop,
3022
- p6 as useIShutdownPromptTimer,
3023
- x6 as useISwitchedOutput,
3024
- m6 as useITechPassword,
3025
- Z6 as useITransport,
3026
- m2 as useInitialize,
3027
- j6 as useMobileControlTouchpanelController,
3028
- R2 as usePressHoldRelease,
3029
- U8 as useRoomAdvancedSharingActive,
3030
- O8 as useRoomCodecContentDestinationKey,
3031
- L8 as useRoomConfiguration,
3032
- T8 as useRoomDestinationList,
3066
+ v6 as useILevelControls,
3067
+ h6 as useILightingScenes,
3068
+ g6 as useIMatrixRouting,
3069
+ f6 as useIMcCiscoCodecUserInterfaceAppControl,
3070
+ w6 as useINumeric,
3071
+ p6 as useIProjectorScreenLiftControl,
3072
+ x6 as useIRoomEventSchedule,
3073
+ M6 as useIRunDirectRouteAction,
3074
+ m6 as useIRunRouteAction,
3075
+ Z6 as useISetTopBoxControls,
3076
+ j6 as useIShadesOpenCloseStop,
3077
+ S6 as useIShutdownPromptTimer,
3078
+ C6 as useISwitchedOutput,
3079
+ b6 as useITechPassword,
3080
+ I6 as useITransport,
3081
+ Z2 as useInitialize,
3082
+ y6 as useMobileControlTouchpanelController,
3083
+ E2 as usePressHoldRelease,
3084
+ K8 as useRoomAdvancedSharingActive,
3085
+ F8 as useRoomCodecContentDestinationKey,
3086
+ A8 as useRoomConfiguration,
3087
+ P8 as useRoomDestinationList,
3033
3088
  B8 as useRoomDestinations,
3034
- D8 as useRoomEnvironmentalDevices,
3035
- b6 as useRoomIBasicVolumeWithFeedback,
3036
- V8 as useRoomInCall,
3037
- k8 as useRoomIsCoolingDown,
3038
- W8 as useRoomIsOn,
3039
- F8 as useRoomIsWarmingUp,
3040
- p2 as useRoomKey,
3041
- $8 as useRoomName,
3042
- P8 as useRoomProgramAudioDestinationKey,
3043
- H8 as useRoomShareState,
3044
- A8 as useRoomSourceList,
3089
+ O8 as useRoomEnvironmentalDevices,
3090
+ _6 as useRoomIBasicVolumeWithFeedback,
3091
+ k8 as useRoomInCall,
3092
+ W8 as useRoomIsCoolingDown,
3093
+ H8 as useRoomIsOn,
3094
+ U8 as useRoomIsWarmingUp,
3095
+ x2 as useRoomKey,
3096
+ T8 as useRoomName,
3097
+ V8 as useRoomProgramAudioDestinationKey,
3098
+ G8 as useRoomShareState,
3099
+ D8 as useRoomSourceList,
3045
3100
  R3 as useRoomState,
3046
- f2 as useRoomVolume,
3047
- Y8 as useShowIncomingCallModal,
3048
- J8 as useShowModal,
3049
- X8 as useShowPopoverById,
3050
- q8 as useShowShutdownModal,
3051
- S6 as useTwoWayDisplayBase,
3052
- E as useWebsocketContext,
3053
- w2 as useWsIsConnected
3101
+ w2 as useRoomVolume,
3102
+ z8 as useShowIncomingCallModal,
3103
+ X8 as useShowModal,
3104
+ N8 as useShowPopoverById,
3105
+ J8 as useShowShutdownModal,
3106
+ L6 as useTimeAndDate,
3107
+ R6 as useTwoWayDisplayBase,
3108
+ y as useWebsocketContext,
3109
+ p2 as useWsIsConnected
3054
3110
  };