@pepperdash/mobile-control-react-app-core 1.1.1 → 1.3.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 (36) hide show
  1. package/dist/mobile-control-react-app-core.es.js +897 -752
  2. package/dist/mobile-control-react-app-core.umd.js +10 -10
  3. package/dist/services/apiService.d.ts.map +1 -1
  4. package/dist/shared/Icons/MultiStateIcons/IconMultiHdmi.d.ts +3 -0
  5. package/dist/shared/Icons/MultiStateIcons/IconMultiHdmi.d.ts.map +1 -0
  6. package/dist/shared/Icons/MultiStateIcons/index.d.ts +1 -0
  7. package/dist/shared/Icons/MultiStateIcons/index.d.ts.map +1 -1
  8. package/dist/shared/Icons/iconsDictionary.d.ts +1 -1
  9. package/dist/shared/Icons/iconsDictionary.d.ts.map +1 -1
  10. package/dist/shared/hooks/index.d.ts +1 -0
  11. package/dist/shared/hooks/index.d.ts.map +1 -1
  12. package/dist/shared/hooks/interfaces/index.d.ts +5 -0
  13. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -0
  14. package/dist/shared/hooks/interfaces/interfaceNames.d.ts +2 -0
  15. package/dist/shared/hooks/interfaces/interfaceNames.d.ts.map +1 -0
  16. package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts +7 -0
  17. package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts.map +1 -0
  18. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +10 -0
  19. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -0
  20. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +9 -0
  21. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts.map +1 -0
  22. package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts.map +1 -1
  23. package/dist/store/devices/devices.slice.d.ts +3 -3
  24. package/dist/store/devices/devicesSelectors.d.ts +2 -2
  25. package/dist/store/devices/devicesSelectors.d.ts.map +1 -1
  26. package/dist/store/hooks.d.ts +2 -2
  27. package/dist/store/index.d.ts +4 -4
  28. package/dist/store/rooms/rooms.slice.d.ts +6 -6
  29. package/dist/store/rooms/roomsSelectors.d.ts +5 -3
  30. package/dist/store/rooms/roomsSelectors.d.ts.map +1 -1
  31. package/dist/store/rootReducer.d.ts +8 -8
  32. package/dist/types/state/index.d.ts +1 -0
  33. package/dist/types/state/index.d.ts.map +1 -1
  34. package/dist/types/state/state/DisplayState.d.ts +1 -1
  35. package/dist/types/state/state/DisplayState.d.ts.map +1 -1
  36. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- var _1 = Object.defineProperty;
2
- var B1 = (s, r, t) => r in s ? _1(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t;
3
- var V = (s, r, t) => (B1(s, typeof r != "symbol" ? r + "" : r, t), t);
4
- import L1 from "axios";
5
- import { createSlice as K, combineReducers as A1, configureStore as F3 } from "@reduxjs/toolkit";
6
- import { useSelector as T1, useDispatch as P1, Provider as D1 } from "react-redux";
7
- import * as W3 from "lodash";
8
- import U3, { createContext as O1, useContext as V1, useState as r3, useRef as k1, useCallback as O3, useEffect as H } from "react";
9
- const $1 = {
1
+ var B1 = Object.defineProperty;
2
+ var L1 = (c, r, t) => r in c ? B1(c, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[r] = t;
3
+ var d = (c, r, t) => (L1(c, typeof r != "symbol" ? r + "" : r, t), t);
4
+ import A1 from "axios";
5
+ import { createSlice as K, combineReducers as T1, configureStore as W3 } from "@reduxjs/toolkit";
6
+ import { useSelector as P1, useDispatch as D1, Provider as O1 } from "react-redux";
7
+ import * as U3 from "lodash";
8
+ import H3, { createContext as V1, useContext as k1, useState as r3, useRef as $1, useCallback as V3, useEffect as Y } from "react";
9
+ const F1 = {
10
10
  config: {
11
11
  enableDev: !1,
12
12
  apiPath: "",
@@ -18,43 +18,43 @@ const $1 = {
18
18
  }
19
19
  }, q3 = K({
20
20
  name: "appConfig",
21
- initialState: $1,
21
+ initialState: F1,
22
22
  reducers: {
23
- setAppConfig(s, r) {
24
- s.config = r.payload;
23
+ setAppConfig(c, r) {
24
+ c.config = r.payload;
25
25
  }
26
26
  }
27
- }), F1 = q3.actions, W1 = q3.reducer, U1 = {}, Y3 = K({
27
+ }), W1 = q3.actions, U1 = q3.reducer, H1 = {}, G3 = K({
28
28
  name: "devices",
29
- initialState: U1,
29
+ initialState: H1,
30
30
  reducers: {
31
- setDeviceState(s, r) {
31
+ setDeviceState(c, r) {
32
32
  const t = r.payload.type, l = t.slice(t.lastIndexOf("/") + 1);
33
33
  if (!l)
34
34
  return;
35
- const w = r.payload.content, j = s[l] ?? {}, S = W3.merge(j, w);
35
+ const g = r.payload.content, m = c[l] ?? {}, S = U3.merge(m, g);
36
36
  return {
37
- ...s,
37
+ ...c,
38
38
  [l]: S
39
39
  };
40
40
  }
41
41
  }
42
- }), q1 = Y3.actions, Y1 = Y3.reducer, G1 = {}, G3 = K({
42
+ }), q1 = G3.actions, G1 = G3.reducer, Y1 = {}, Y3 = K({
43
43
  name: "rooms",
44
- initialState: G1,
44
+ initialState: Y1,
45
45
  reducers: {
46
- setRoomState(s, r) {
46
+ setRoomState(c, r) {
47
47
  const l = r.payload.type.match("/room/(.*)/status");
48
48
  if (!l)
49
49
  return;
50
- const w = l[1], j = r.payload.content, S = s[w] ?? {}, C = W3.merge(S, j);
50
+ const g = l[1], m = r.payload.content, S = c[g] ?? {}, b = U3.merge(S, m);
51
51
  return {
52
- ...s,
53
- [w]: C
52
+ ...c,
53
+ [g]: b
54
54
  };
55
55
  }
56
56
  }
57
- }), H1 = G3.actions, K1 = G3.reducer, J1 = {
57
+ }), K1 = Y3.actions, J1 = Y3.reducer, z1 = {
58
58
  apiVersion: "",
59
59
  serverIsRunningOnProcessorHardware: !1,
60
60
  websocket: {
@@ -73,159 +73,165 @@ const $1 = {
73
73
  userCode: "",
74
74
  qrUrl: ""
75
75
  }
76
- }, H3 = K({
76
+ }, K3 = K({
77
77
  name: "runtimeConfig",
78
- initialState: J1,
78
+ initialState: z1,
79
79
  reducers: {
80
- setRuntimeConfig(s, r) {
81
- s.apiVersion = r.payload.apiVersion, s.serverIsRunningOnProcessorHardware = r.payload.serverIsRunningOnProcessorHardware;
80
+ setRuntimeConfig(c, r) {
81
+ c.apiVersion = r.payload.apiVersion, c.serverIsRunningOnProcessorHardware = r.payload.serverIsRunningOnProcessorHardware;
82
82
  },
83
- setToken(s, r) {
84
- s.token = r.payload;
83
+ setToken(c, r) {
84
+ c.token = r.payload;
85
85
  },
86
- setWebsocketIsConnected(s, r) {
87
- s.websocket.isConnected = r.payload;
86
+ setWebsocketIsConnected(c, r) {
87
+ c.websocket.isConnected = r.payload;
88
88
  },
89
- setPluginVersion(s, r) {
90
- s.pluginVersion = r.payload;
89
+ setPluginVersion(c, r) {
90
+ c.pluginVersion = r.payload;
91
91
  },
92
- setRoomData(s, r) {
93
- s.roomData = r.payload;
92
+ setRoomData(c, r) {
93
+ c.roomData = r.payload;
94
94
  },
95
- setCurrentRoomKey(s, r) {
96
- s.roomData.roomKey = r.payload;
95
+ setCurrentRoomKey(c, r) {
96
+ c.roomData.roomKey = r.payload;
97
97
  },
98
- setUserCode(s, r) {
99
- s.roomData.userCode = r.payload.userCode, s.roomData.qrUrl = r.payload.qrUrl;
98
+ setUserCode(c, r) {
99
+ c.roomData.userCode = r.payload.userCode, c.roomData.qrUrl = r.payload.qrUrl;
100
100
  }
101
101
  }
102
- }), F = H3.actions, z1 = H3.reducer, X1 = {
102
+ }), F = K3.actions, X1 = K3.reducer, Q1 = {
103
103
  modalVisibility: {
104
104
  showShutdownModal: !1,
105
105
  showIncomingCallModal: !1
106
106
  },
107
107
  popoverVisibility: {}
108
- }, K3 = K({
108
+ }, J3 = K({
109
109
  name: "ui",
110
- initialState: X1,
110
+ initialState: Q1,
111
111
  reducers: {
112
- clearAllModals(s) {
113
- Object.entries(s.modalVisibility).forEach(([r]) => {
114
- s.modalVisibility[r] = !1;
112
+ clearAllModals(c) {
113
+ Object.entries(c.modalVisibility).forEach(([r]) => {
114
+ c.modalVisibility[r] = !1;
115
115
  });
116
116
  },
117
- setModalState(s, r) {
118
- s.modalVisibility[r.payload.modalType] = r.payload.value;
117
+ setModalState(c, r) {
118
+ c.modalVisibility[r.payload.modalType] = r.payload.value;
119
119
  },
120
- setShowShutdownModal(s, r) {
121
- s.modalVisibility.showShutdownModal = r.payload;
120
+ setShowShutdownModal(c, r) {
121
+ c.modalVisibility.showShutdownModal = r.payload;
122
122
  },
123
- setIncomingCallModal(s, r) {
124
- s.modalVisibility.showIncomingCallModal = r.payload;
123
+ setIncomingCallModal(c, r) {
124
+ c.modalVisibility.showIncomingCallModal = r.payload;
125
125
  },
126
- setPopoverState(s, r) {
127
- s.popoverVisibility[r.payload.popoverGroup] || (s.popoverVisibility[r.payload.popoverGroup] = {}), Object.entries(s.popoverVisibility[r.payload.popoverGroup]).forEach(([t]) => {
128
- s.popoverVisibility[r.payload.popoverGroup][t] = !1;
129
- }), s.popoverVisibility[r.payload.popoverGroup][r.payload.popoverId] = r.payload.value;
126
+ setPopoverState(c, r) {
127
+ c.popoverVisibility[r.payload.popoverGroup] || (c.popoverVisibility[r.payload.popoverGroup] = {}), Object.entries(c.popoverVisibility[r.payload.popoverGroup]).forEach(([t]) => {
128
+ c.popoverVisibility[r.payload.popoverGroup][t] = !1;
129
+ }), c.popoverVisibility[r.payload.popoverGroup][r.payload.popoverId] = r.payload.value;
130
130
  }
131
131
  }
132
- }), l8 = K3.actions, Q1 = K3.reducer, J3 = A1({
133
- appConfig: W1,
134
- runtimeConfig: z1,
135
- rooms: K1,
136
- devices: Y1,
137
- ui: Q1
132
+ }), v8 = J3.actions, N1 = J3.reducer, z3 = T1({
133
+ appConfig: U1,
134
+ runtimeConfig: X1,
135
+ rooms: J1,
136
+ devices: G1,
137
+ ui: N1
138
138
  });
139
- F3({
140
- reducer: J3
139
+ W3({
140
+ reducer: z3
141
141
  });
142
- const f = T1, N1 = () => f((s) => s.appConfig.config), i8 = () => f((s) => s.appConfig.config.apiPath), a8 = () => f((s) => Object.values(s.devices)), h8 = (s) => f((r) => r.devices[s]), v8 = (s) => f(
142
+ const f = P1, e2 = () => f((c) => c.appConfig.config), h8 = () => f((c) => c.appConfig.config.apiPath), d8 = () => f((c) => Object.values(c.devices)), r2 = (c) => f((r) => r.devices[c]), u8 = (c) => f(
143
143
  (r) => {
144
144
  var t;
145
- return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.configuration : void 0;
145
+ return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.configuration : void 0;
146
146
  }
147
- ), u8 = (s) => f(
148
- (r) => r.rooms[s] ? r.rooms[s] : void 0
149
- ), d8 = (s) => f(
147
+ ), g8 = (c) => f(
148
+ (r) => r.rooms[c] ? r.rooms[c] : void 0
149
+ ), w8 = (c) => f(
150
150
  (r) => {
151
151
  var t;
152
- return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.name : void 0;
152
+ return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.name : void 0;
153
153
  }
154
- ), g8 = (s) => f(
154
+ ), x8 = (c) => f(
155
155
  (r) => {
156
156
  var t, l;
157
- return r.rooms[s] ? (l = (t = r.rooms[s]) == null ? void 0 : t.volumes) == null ? void 0 : l.master : void 0;
157
+ return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.volumes) == null ? void 0 : l.master : void 0;
158
158
  }
159
- ), w8 = (s) => f(
159
+ ), f8 = (c) => f(
160
160
  (r) => {
161
161
  var t, l;
162
- return r.rooms[s] ? (l = (t = r.rooms[s]) == null ? void 0 : t.configuration) == null ? void 0 : l.sourceList : void 0;
162
+ return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.configuration) == null ? void 0 : l.sourceList : void 0;
163
163
  }
164
- ), x8 = (s) => f(
164
+ ), p8 = (c) => f(
165
165
  (r) => {
166
166
  var t, l;
167
- return r.rooms[s] ? (l = (t = r.rooms[s]) == null ? void 0 : t.configuration) == null ? void 0 : l.displayKeys : void 0;
167
+ return r.rooms[c] ? (l = (t = r.rooms[c]) == null ? void 0 : t.configuration) == null ? void 0 : l.displayKeys : void 0;
168
168
  }
169
- ), f8 = (s) => f(
169
+ ), M8 = (c) => f(
170
170
  (r) => {
171
171
  var t;
172
- return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.isInCall : void 0;
172
+ return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isInCall : void 0;
173
173
  }
174
- ), M8 = (s) => f(
174
+ ), Z8 = (c) => f(
175
175
  (r) => {
176
176
  var t;
177
- return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.isWarmingUp : void 0;
177
+ return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isWarmingUp : void 0;
178
178
  }
179
- ), p8 = (s) => f(
179
+ ), m8 = (c) => f(
180
180
  (r) => {
181
181
  var t;
182
- return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.isCoolingDown : void 0;
182
+ return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isCoolingDown : void 0;
183
183
  }
184
- ), Z8 = (s) => f(
184
+ ), j8 = (c) => f(
185
185
  (r) => {
186
186
  var t;
187
- return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.isOn : void 0;
187
+ return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.isOn : void 0;
188
188
  }
189
- ), m8 = (s) => f(
189
+ ), C8 = (c) => f(
190
190
  (r) => {
191
191
  var t;
192
- return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.advancedSharingActive : void 0;
192
+ return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.advancedSharingActive : void 0;
193
193
  }
194
- ), j8 = (s) => f(
194
+ ), S8 = (c) => f(
195
195
  (r) => {
196
196
  var t;
197
- return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.share : void 0;
197
+ return r.rooms[c] ? (t = r.rooms[c]) == null ? void 0 : t.share : void 0;
198
198
  }
199
- ), e2 = () => f((s) => s.runtimeConfig.websocket.isConnected), r2 = () => f((s) => s.runtimeConfig.roomData.roomKey), c2 = () => f((s) => s.runtimeConfig.roomData.clientId), C8 = () => f((s) => s.ui.modalVisibility.showShutdownModal), S8 = () => f((s) => s.ui.modalVisibility.showIncomingCallModal), b8 = (s) => f((r) => r.ui.modalVisibility[s]), y8 = (s) => f((r) => {
200
- const t = r.ui.popoverVisibility[s];
199
+ ), b8 = (c) => f((r) => {
200
+ var g, m;
201
+ const t = (m = (g = r.rooms[c]) == null ? void 0 : g.configuration) == null ? void 0 : m.displayKeys;
202
+ return t && Object.values(r.devices).filter(
203
+ (S) => t.includes(S.key)
204
+ ) || void 0;
205
+ }), c2 = () => f((c) => c.runtimeConfig.websocket.isConnected), s2 = () => f((c) => c.runtimeConfig.roomData.roomKey), t2 = () => f((c) => c.runtimeConfig.roomData.clientId), y8 = () => f((c) => c.ui.modalVisibility.showShutdownModal), I8 = () => f((c) => c.ui.modalVisibility.showIncomingCallModal), R8 = (c) => f((r) => r.ui.modalVisibility[c]), E8 = (c) => f((r) => {
206
+ const t = r.ui.popoverVisibility[c];
201
207
  if (t)
202
208
  return Object.keys(t).find((l) => t[l]);
203
- }), I8 = (s, r) => f((t) => {
209
+ }), _8 = (c, r) => f((t) => {
204
210
  var l;
205
- return (l = t.ui.popoverVisibility[s]) == null ? void 0 : l[r];
206
- }), P = F3({
207
- reducer: J3
208
- }), s2 = P1, v3 = L1.create();
209
- function t2() {
210
- const s = s2();
211
+ return (l = t.ui.popoverVisibility[c]) == null ? void 0 : l[r];
212
+ }), D = W3({
213
+ reducer: z3
214
+ }), o2 = D1, h3 = A1.create();
215
+ function n2() {
216
+ const c = o2();
211
217
  return async () => {
212
218
  try {
213
- const r = location.pathname.split("/").filter((w) => w.length > 0);
219
+ const r = location.pathname.split("/").filter((g) => g.length > 0);
214
220
  r.length >= 5 ? r.length = 5 : r.length = 2;
215
- const t = `/${r.join("/")}`, l = await v3.get("/_local-config/_config.local.json", { baseURL: t });
216
- if (console.log("configRes", l), l.status == 200 && l.data) {
217
- const w = l.data.apiPath;
218
- s(F1.setAppConfig(l.data));
219
- const j = await v3.get(`${w}/version`);
220
- j.status == 200 && j.data && (console.log("versionRes", j.data), s(F.setRuntimeConfig(j.data)));
221
+ const t = `/${r.join("/")}`, l = await h3.get("/_local-config/_config.local.json", { baseURL: t });
222
+ if (l.status == 200 && l.data) {
223
+ const g = l.data.apiPath;
224
+ c(W1.setAppConfig(l.data));
225
+ const m = await h3.get(`${g}/version`);
226
+ m.status == 200 && m.data && c(F.setRuntimeConfig(m.data));
221
227
  }
222
228
  } catch (r) {
223
- console.log("Error getting config", r);
229
+ console.error("Error getting config", r);
224
230
  }
225
231
  return !0;
226
232
  };
227
233
  }
228
- var u3 = { exports: {} }, q = {};
234
+ var d3 = { exports: {} }, H = {};
229
235
  /**
230
236
  * @license React
231
237
  * react-jsx-runtime.development.js
@@ -235,91 +241,91 @@ var u3 = { exports: {} }, q = {};
235
241
  * This source code is licensed under the MIT license found in the
236
242
  * LICENSE file in the root directory of this source tree.
237
243
  */
238
- var V3;
239
- function n2() {
240
- return V3 || (V3 = 1, process.env.NODE_ENV !== "production" && function() {
241
- var s = U3, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), C = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), M = Symbol.iterator, L = "@@iterator";
242
- function D(c) {
243
- if (c === null || typeof c != "object")
244
+ var k3;
245
+ function l2() {
246
+ return k3 || (k3 = 1, process.env.NODE_ENV !== "production" && function() {
247
+ var c = H3, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), b = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), M = Symbol.iterator, A = "@@iterator";
248
+ function O(s) {
249
+ if (s === null || typeof s != "object")
244
250
  return null;
245
- var n = M && c[M] || c[L];
246
- return typeof n == "function" ? n : null;
251
+ var o = M && s[M] || s[A];
252
+ return typeof o == "function" ? o : null;
247
253
  }
248
- var x = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
249
- function y(c) {
254
+ var p = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
255
+ function I(s) {
250
256
  {
251
- for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
252
- o[i - 1] = arguments[i];
253
- X3("error", c, o);
257
+ for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), i = 1; i < o; i++)
258
+ n[i - 1] = arguments[i];
259
+ Q3("error", s, n);
254
260
  }
255
261
  }
256
- function X3(c, n, o) {
262
+ function Q3(s, o, n) {
257
263
  {
258
- var i = x.ReactDebugCurrentFrame, v = i.getStackAddendum();
259
- v !== "" && (n += "%s", o = o.concat([v]));
260
- var d = o.map(function(h) {
261
- return String(h);
264
+ var i = p.ReactDebugCurrentFrame, h = i.getStackAddendum();
265
+ h !== "" && (o += "%s", n = n.concat([h]));
266
+ var w = n.map(function(v) {
267
+ return String(v);
262
268
  });
263
- d.unshift("Warning: " + n), Function.prototype.apply.call(console[c], console, d);
269
+ w.unshift("Warning: " + o), Function.prototype.apply.call(console[s], console, w);
264
270
  }
265
271
  }
266
- var Q3 = !1, N3 = !1, e1 = !1, r1 = !1, c1 = !1, d3;
267
- d3 = Symbol.for("react.module.reference");
268
- function s1(c) {
269
- return !!(typeof c == "string" || typeof c == "function" || c === l || c === j || c1 || c === w || c === R || c === Z || r1 || c === _ || Q3 || N3 || e1 || typeof c == "object" && c !== null && (c.$$typeof === E || c.$$typeof === b || c.$$typeof === S || c.$$typeof === C || c.$$typeof === g || // This needs to include all possible module reference object
272
+ var N3 = !1, e1 = !1, r1 = !1, c1 = !1, s1 = !1, g3;
273
+ g3 = Symbol.for("react.module.reference");
274
+ function t1(s) {
275
+ return !!(typeof s == "string" || typeof s == "function" || s === l || s === m || s1 || s === g || s === E || s === j || c1 || s === B || N3 || e1 || r1 || typeof s == "object" && s !== null && (s.$$typeof === _ || s.$$typeof === y || s.$$typeof === S || s.$$typeof === b || s.$$typeof === x || // This needs to include all possible module reference object
270
276
  // types supported by any Flight configuration anywhere since
271
277
  // we don't know which Flight build this will end up being used
272
278
  // with.
273
- c.$$typeof === d3 || c.getModuleId !== void 0));
279
+ s.$$typeof === g3 || s.getModuleId !== void 0));
274
280
  }
275
- function t1(c, n, o) {
276
- var i = c.displayName;
281
+ function o1(s, o, n) {
282
+ var i = s.displayName;
277
283
  if (i)
278
284
  return i;
279
- var v = n.displayName || n.name || "";
280
- return v !== "" ? o + "(" + v + ")" : o;
285
+ var h = o.displayName || o.name || "";
286
+ return h !== "" ? n + "(" + h + ")" : n;
281
287
  }
282
- function g3(c) {
283
- return c.displayName || "Context";
288
+ function w3(s) {
289
+ return s.displayName || "Context";
284
290
  }
285
- function A(c) {
286
- if (c == null)
291
+ function T(s) {
292
+ if (s == null)
287
293
  return null;
288
- if (typeof c.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
289
- return c.displayName || c.name || null;
290
- if (typeof c == "string")
291
- return c;
292
- switch (c) {
294
+ if (typeof s.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
295
+ return s.displayName || s.name || null;
296
+ if (typeof s == "string")
297
+ return s;
298
+ switch (s) {
293
299
  case l:
294
300
  return "Fragment";
295
301
  case t:
296
302
  return "Portal";
297
- case j:
303
+ case m:
298
304
  return "Profiler";
299
- case w:
305
+ case g:
300
306
  return "StrictMode";
301
- case R:
307
+ case E:
302
308
  return "Suspense";
303
- case Z:
309
+ case j:
304
310
  return "SuspenseList";
305
311
  }
306
- if (typeof c == "object")
307
- switch (c.$$typeof) {
308
- case C:
309
- var n = c;
310
- return g3(n) + ".Consumer";
311
- case S:
312
- var o = c;
313
- return g3(o._context) + ".Provider";
314
- case g:
315
- return t1(c, c.render, "ForwardRef");
312
+ if (typeof s == "object")
313
+ switch (s.$$typeof) {
316
314
  case b:
317
- var i = c.displayName || null;
318
- return i !== null ? i : A(c.type) || "Memo";
319
- case E: {
320
- var v = c, d = v._payload, h = v._init;
315
+ var o = s;
316
+ return w3(o) + ".Consumer";
317
+ case S:
318
+ var n = s;
319
+ return w3(n._context) + ".Provider";
320
+ case x:
321
+ return o1(s, s.render, "ForwardRef");
322
+ case y:
323
+ var i = s.displayName || null;
324
+ return i !== null ? i : T(s.type) || "Memo";
325
+ case _: {
326
+ var h = s, w = h._payload, v = h._init;
321
327
  try {
322
- return A(h(d));
328
+ return T(v(w));
323
329
  } catch {
324
330
  return null;
325
331
  }
@@ -327,307 +333,307 @@ function n2() {
327
333
  }
328
334
  return null;
329
335
  }
330
- var O = Object.assign, W = 0, w3, x3, f3, M3, p3, Z3, m3;
331
- function j3() {
336
+ var V = Object.assign, W = 0, x3, f3, p3, M3, Z3, m3, j3;
337
+ function C3() {
332
338
  }
333
- j3.__reactDisabledLog = !0;
339
+ C3.__reactDisabledLog = !0;
334
340
  function n1() {
335
341
  {
336
342
  if (W === 0) {
337
- w3 = console.log, x3 = console.info, f3 = console.warn, M3 = console.error, p3 = console.group, Z3 = console.groupCollapsed, m3 = console.groupEnd;
338
- var c = {
343
+ x3 = console.log, f3 = console.info, p3 = console.warn, M3 = console.error, Z3 = console.group, m3 = console.groupCollapsed, j3 = console.groupEnd;
344
+ var s = {
339
345
  configurable: !0,
340
346
  enumerable: !0,
341
- value: j3,
347
+ value: C3,
342
348
  writable: !0
343
349
  };
344
350
  Object.defineProperties(console, {
345
- info: c,
346
- log: c,
347
- warn: c,
348
- error: c,
349
- group: c,
350
- groupCollapsed: c,
351
- groupEnd: c
351
+ info: s,
352
+ log: s,
353
+ warn: s,
354
+ error: s,
355
+ group: s,
356
+ groupCollapsed: s,
357
+ groupEnd: s
352
358
  });
353
359
  }
354
360
  W++;
355
361
  }
356
362
  }
357
- function o1() {
363
+ function l1() {
358
364
  {
359
365
  if (W--, W === 0) {
360
- var c = {
366
+ var s = {
361
367
  configurable: !0,
362
368
  enumerable: !0,
363
369
  writable: !0
364
370
  };
365
371
  Object.defineProperties(console, {
366
- log: O({}, c, {
367
- value: w3
368
- }),
369
- info: O({}, c, {
372
+ log: V({}, s, {
370
373
  value: x3
371
374
  }),
372
- warn: O({}, c, {
375
+ info: V({}, s, {
373
376
  value: f3
374
377
  }),
375
- error: O({}, c, {
376
- value: M3
377
- }),
378
- group: O({}, c, {
378
+ warn: V({}, s, {
379
379
  value: p3
380
380
  }),
381
- groupCollapsed: O({}, c, {
381
+ error: V({}, s, {
382
+ value: M3
383
+ }),
384
+ group: V({}, s, {
382
385
  value: Z3
383
386
  }),
384
- groupEnd: O({}, c, {
387
+ groupCollapsed: V({}, s, {
385
388
  value: m3
389
+ }),
390
+ groupEnd: V({}, s, {
391
+ value: j3
386
392
  })
387
393
  });
388
394
  }
389
- W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
395
+ W < 0 && I("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
390
396
  }
391
397
  }
392
- var c3 = x.ReactCurrentDispatcher, s3;
393
- function J(c, n, o) {
398
+ var c3 = p.ReactCurrentDispatcher, s3;
399
+ function J(s, o, n) {
394
400
  {
395
401
  if (s3 === void 0)
396
402
  try {
397
403
  throw Error();
398
- } catch (v) {
399
- var i = v.stack.trim().match(/\n( *(at )?)/);
404
+ } catch (h) {
405
+ var i = h.stack.trim().match(/\n( *(at )?)/);
400
406
  s3 = i && i[1] || "";
401
407
  }
402
408
  return `
403
- ` + s3 + c;
409
+ ` + s3 + s;
404
410
  }
405
411
  }
406
412
  var t3 = !1, z;
407
413
  {
408
- var l1 = typeof WeakMap == "function" ? WeakMap : Map;
409
- z = new l1();
414
+ var i1 = typeof WeakMap == "function" ? WeakMap : Map;
415
+ z = new i1();
410
416
  }
411
- function C3(c, n) {
412
- if (!c || t3)
417
+ function S3(s, o) {
418
+ if (!s || t3)
413
419
  return "";
414
420
  {
415
- var o = z.get(c);
416
- if (o !== void 0)
417
- return o;
421
+ var n = z.get(s);
422
+ if (n !== void 0)
423
+ return n;
418
424
  }
419
425
  var i;
420
426
  t3 = !0;
421
- var v = Error.prepareStackTrace;
427
+ var h = Error.prepareStackTrace;
422
428
  Error.prepareStackTrace = void 0;
423
- var d;
424
- d = c3.current, c3.current = null, n1();
429
+ var w;
430
+ w = c3.current, c3.current = null, n1();
425
431
  try {
426
- if (n) {
427
- var h = function() {
432
+ if (o) {
433
+ var v = function() {
428
434
  throw Error();
429
435
  };
430
- if (Object.defineProperty(h.prototype, "props", {
436
+ if (Object.defineProperty(v.prototype, "props", {
431
437
  set: function() {
432
438
  throw Error();
433
439
  }
434
440
  }), typeof Reflect == "object" && Reflect.construct) {
435
441
  try {
436
- Reflect.construct(h, []);
437
- } catch (T) {
438
- i = T;
442
+ Reflect.construct(v, []);
443
+ } catch (P) {
444
+ i = P;
439
445
  }
440
- Reflect.construct(c, [], h);
446
+ Reflect.construct(s, [], v);
441
447
  } else {
442
448
  try {
443
- h.call();
444
- } catch (T) {
445
- i = T;
449
+ v.call();
450
+ } catch (P) {
451
+ i = P;
446
452
  }
447
- c.call(h.prototype);
453
+ s.call(v.prototype);
448
454
  }
449
455
  } else {
450
456
  try {
451
457
  throw Error();
452
- } catch (T) {
453
- i = T;
458
+ } catch (P) {
459
+ i = P;
454
460
  }
455
- c();
456
- }
457
- } catch (T) {
458
- if (T && i && typeof T.stack == "string") {
459
- for (var a = T.stack.split(`
460
- `), I = i.stack.split(`
461
- `), p = a.length - 1, m = I.length - 1; p >= 1 && m >= 0 && a[p] !== I[m]; )
462
- m--;
463
- for (; p >= 1 && m >= 0; p--, m--)
464
- if (a[p] !== I[m]) {
465
- if (p !== 1 || m !== 1)
461
+ s();
462
+ }
463
+ } catch (P) {
464
+ if (P && i && typeof P.stack == "string") {
465
+ for (var a = P.stack.split(`
466
+ `), R = i.stack.split(`
467
+ `), Z = a.length - 1, C = R.length - 1; Z >= 1 && C >= 0 && a[Z] !== R[C]; )
468
+ C--;
469
+ for (; Z >= 1 && C >= 0; Z--, C--)
470
+ if (a[Z] !== R[C]) {
471
+ if (Z !== 1 || C !== 1)
466
472
  do
467
- if (p--, m--, m < 0 || a[p] !== I[m]) {
468
- var B = `
469
- ` + a[p].replace(" at new ", " at ");
470
- return c.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", c.displayName)), typeof c == "function" && z.set(c, B), B;
473
+ if (Z--, C--, C < 0 || a[Z] !== R[C]) {
474
+ var L = `
475
+ ` + a[Z].replace(" at new ", " at ");
476
+ return s.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", s.displayName)), typeof s == "function" && z.set(s, L), L;
471
477
  }
472
- while (p >= 1 && m >= 0);
478
+ while (Z >= 1 && C >= 0);
473
479
  break;
474
480
  }
475
481
  }
476
482
  } finally {
477
- t3 = !1, c3.current = d, o1(), Error.prepareStackTrace = v;
483
+ t3 = !1, c3.current = w, l1(), Error.prepareStackTrace = h;
478
484
  }
479
- var $ = c ? c.displayName || c.name : "", D3 = $ ? J($) : "";
480
- return typeof c == "function" && z.set(c, D3), D3;
485
+ var $ = s ? s.displayName || s.name : "", O3 = $ ? J($) : "";
486
+ return typeof s == "function" && z.set(s, O3), O3;
481
487
  }
482
- function i1(c, n, o) {
483
- return C3(c, !1);
488
+ function a1(s, o, n) {
489
+ return S3(s, !1);
484
490
  }
485
- function a1(c) {
486
- var n = c.prototype;
487
- return !!(n && n.isReactComponent);
491
+ function v1(s) {
492
+ var o = s.prototype;
493
+ return !!(o && o.isReactComponent);
488
494
  }
489
- function X(c, n, o) {
490
- if (c == null)
495
+ function X(s, o, n) {
496
+ if (s == null)
491
497
  return "";
492
- if (typeof c == "function")
493
- return C3(c, a1(c));
494
- if (typeof c == "string")
495
- return J(c);
496
- switch (c) {
497
- case R:
498
+ if (typeof s == "function")
499
+ return S3(s, v1(s));
500
+ if (typeof s == "string")
501
+ return J(s);
502
+ switch (s) {
503
+ case E:
498
504
  return J("Suspense");
499
- case Z:
505
+ case j:
500
506
  return J("SuspenseList");
501
507
  }
502
- if (typeof c == "object")
503
- switch (c.$$typeof) {
504
- case g:
505
- return i1(c.render);
506
- case b:
507
- return X(c.type, n, o);
508
- case E: {
509
- var i = c, v = i._payload, d = i._init;
508
+ if (typeof s == "object")
509
+ switch (s.$$typeof) {
510
+ case x:
511
+ return a1(s.render);
512
+ case y:
513
+ return X(s.type, o, n);
514
+ case _: {
515
+ var i = s, h = i._payload, w = i._init;
510
516
  try {
511
- return X(d(v), n, o);
517
+ return X(w(h), o, n);
512
518
  } catch {
513
519
  }
514
520
  }
515
521
  }
516
522
  return "";
517
523
  }
518
- var Q = Object.prototype.hasOwnProperty, S3 = {}, b3 = x.ReactDebugCurrentFrame;
519
- function N(c) {
520
- if (c) {
521
- var n = c._owner, o = X(c.type, c._source, n ? n.type : null);
522
- b3.setExtraStackFrame(o);
524
+ var Q = Object.prototype.hasOwnProperty, b3 = {}, y3 = p.ReactDebugCurrentFrame;
525
+ function N(s) {
526
+ if (s) {
527
+ var o = s._owner, n = X(s.type, s._source, o ? o.type : null);
528
+ y3.setExtraStackFrame(n);
523
529
  } else
524
- b3.setExtraStackFrame(null);
530
+ y3.setExtraStackFrame(null);
525
531
  }
526
- function h1(c, n, o, i, v) {
532
+ function h1(s, o, n, i, h) {
527
533
  {
528
- var d = Function.call.bind(Q);
529
- for (var h in c)
530
- if (d(c, h)) {
534
+ var w = Function.call.bind(Q);
535
+ for (var v in s)
536
+ if (w(s, v)) {
531
537
  var a = void 0;
532
538
  try {
533
- if (typeof c[h] != "function") {
534
- var I = Error((i || "React class") + ": " + o + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
535
- throw I.name = "Invariant Violation", I;
539
+ if (typeof s[v] != "function") {
540
+ var R = Error((i || "React class") + ": " + n + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
541
+ throw R.name = "Invariant Violation", R;
536
542
  }
537
- a = c[h](n, h, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
538
- } catch (p) {
539
- a = p;
543
+ a = s[v](o, v, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
544
+ } catch (Z) {
545
+ a = Z;
540
546
  }
541
- a && !(a instanceof Error) && (N(v), y("%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).", i || "React class", o, h, typeof a), N(null)), a instanceof Error && !(a.message in S3) && (S3[a.message] = !0, N(v), y("Failed %s type: %s", o, a.message), N(null));
547
+ a && !(a instanceof Error) && (N(h), I("%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).", i || "React class", n, v, typeof a), N(null)), a instanceof Error && !(a.message in b3) && (b3[a.message] = !0, N(h), I("Failed %s type: %s", n, a.message), N(null));
542
548
  }
543
549
  }
544
550
  }
545
- var v1 = Array.isArray;
546
- function n3(c) {
547
- return v1(c);
551
+ var d1 = Array.isArray;
552
+ function o3(s) {
553
+ return d1(s);
548
554
  }
549
- function u1(c) {
555
+ function u1(s) {
550
556
  {
551
- var n = typeof Symbol == "function" && Symbol.toStringTag, o = n && c[Symbol.toStringTag] || c.constructor.name || "Object";
552
- return o;
557
+ var o = typeof Symbol == "function" && Symbol.toStringTag, n = o && s[Symbol.toStringTag] || s.constructor.name || "Object";
558
+ return n;
553
559
  }
554
560
  }
555
- function d1(c) {
561
+ function g1(s) {
556
562
  try {
557
- return y3(c), !1;
563
+ return I3(s), !1;
558
564
  } catch {
559
565
  return !0;
560
566
  }
561
567
  }
562
- function y3(c) {
563
- return "" + c;
568
+ function I3(s) {
569
+ return "" + s;
564
570
  }
565
- function I3(c) {
566
- if (d1(c))
567
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", u1(c)), y3(c);
571
+ function R3(s) {
572
+ if (g1(s))
573
+ return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", u1(s)), I3(s);
568
574
  }
569
- var U = x.ReactCurrentOwner, g1 = {
575
+ var U = p.ReactCurrentOwner, w1 = {
570
576
  key: !0,
571
577
  ref: !0,
572
578
  __self: !0,
573
579
  __source: !0
574
- }, R3, E3, o3;
575
- o3 = {};
576
- function w1(c) {
577
- if (Q.call(c, "ref")) {
578
- var n = Object.getOwnPropertyDescriptor(c, "ref").get;
579
- if (n && n.isReactWarning)
580
+ }, E3, _3, n3;
581
+ n3 = {};
582
+ function x1(s) {
583
+ if (Q.call(s, "ref")) {
584
+ var o = Object.getOwnPropertyDescriptor(s, "ref").get;
585
+ if (o && o.isReactWarning)
580
586
  return !1;
581
587
  }
582
- return c.ref !== void 0;
588
+ return s.ref !== void 0;
583
589
  }
584
- function x1(c) {
585
- if (Q.call(c, "key")) {
586
- var n = Object.getOwnPropertyDescriptor(c, "key").get;
587
- if (n && n.isReactWarning)
590
+ function f1(s) {
591
+ if (Q.call(s, "key")) {
592
+ var o = Object.getOwnPropertyDescriptor(s, "key").get;
593
+ if (o && o.isReactWarning)
588
594
  return !1;
589
595
  }
590
- return c.key !== void 0;
596
+ return s.key !== void 0;
591
597
  }
592
- function f1(c, n) {
593
- if (typeof c.ref == "string" && U.current && n && U.current.stateNode !== n) {
594
- var o = A(U.current.type);
595
- o3[o] || (y('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', A(U.current.type), c.ref), o3[o] = !0);
598
+ function p1(s, o) {
599
+ if (typeof s.ref == "string" && U.current && o && U.current.stateNode !== o) {
600
+ var n = T(U.current.type);
601
+ n3[n] || (I('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', T(U.current.type), s.ref), n3[n] = !0);
596
602
  }
597
603
  }
598
- function M1(c, n) {
604
+ function M1(s, o) {
599
605
  {
600
- var o = function() {
601
- R3 || (R3 = !0, y("%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)", n));
606
+ var n = function() {
607
+ E3 || (E3 = !0, I("%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)", o));
602
608
  };
603
- o.isReactWarning = !0, Object.defineProperty(c, "key", {
604
- get: o,
609
+ n.isReactWarning = !0, Object.defineProperty(s, "key", {
610
+ get: n,
605
611
  configurable: !0
606
612
  });
607
613
  }
608
614
  }
609
- function p1(c, n) {
615
+ function Z1(s, o) {
610
616
  {
611
- var o = function() {
612
- E3 || (E3 = !0, y("%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)", n));
617
+ var n = function() {
618
+ _3 || (_3 = !0, I("%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)", o));
613
619
  };
614
- o.isReactWarning = !0, Object.defineProperty(c, "ref", {
615
- get: o,
620
+ n.isReactWarning = !0, Object.defineProperty(s, "ref", {
621
+ get: n,
616
622
  configurable: !0
617
623
  });
618
624
  }
619
625
  }
620
- var Z1 = function(c, n, o, i, v, d, h) {
626
+ var m1 = function(s, o, n, i, h, w, v) {
621
627
  var a = {
622
628
  // This tag allows us to uniquely identify this as a React Element
623
629
  $$typeof: r,
624
630
  // Built-in properties that belong on the element
625
- type: c,
626
- key: n,
627
- ref: o,
628
- props: h,
631
+ type: s,
632
+ key: o,
633
+ ref: n,
634
+ props: v,
629
635
  // Record the component responsible for creating this element.
630
- _owner: d
636
+ _owner: w
631
637
  };
632
638
  return a._store = {}, Object.defineProperty(a._store, "validated", {
633
639
  configurable: !1,
@@ -643,186 +649,186 @@ function n2() {
643
649
  configurable: !1,
644
650
  enumerable: !1,
645
651
  writable: !1,
646
- value: v
652
+ value: h
647
653
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
648
654
  };
649
- function m1(c, n, o, i, v) {
655
+ function j1(s, o, n, i, h) {
650
656
  {
651
- var d, h = {}, a = null, I = null;
652
- o !== void 0 && (I3(o), a = "" + o), x1(n) && (I3(n.key), a = "" + n.key), w1(n) && (I = n.ref, f1(n, v));
653
- for (d in n)
654
- Q.call(n, d) && !g1.hasOwnProperty(d) && (h[d] = n[d]);
655
- if (c && c.defaultProps) {
656
- var p = c.defaultProps;
657
- for (d in p)
658
- h[d] === void 0 && (h[d] = p[d]);
659
- }
660
- if (a || I) {
661
- var m = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
662
- a && M1(h, m), I && p1(h, m);
663
- }
664
- return Z1(c, a, I, v, i, U.current, h);
657
+ var w, v = {}, a = null, R = null;
658
+ n !== void 0 && (R3(n), a = "" + n), f1(o) && (R3(o.key), a = "" + o.key), x1(o) && (R = o.ref, p1(o, h));
659
+ for (w in o)
660
+ Q.call(o, w) && !w1.hasOwnProperty(w) && (v[w] = o[w]);
661
+ if (s && s.defaultProps) {
662
+ var Z = s.defaultProps;
663
+ for (w in Z)
664
+ v[w] === void 0 && (v[w] = Z[w]);
665
+ }
666
+ if (a || R) {
667
+ var C = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
668
+ a && M1(v, C), R && Z1(v, C);
669
+ }
670
+ return m1(s, a, R, h, i, U.current, v);
665
671
  }
666
672
  }
667
- var l3 = x.ReactCurrentOwner, _3 = x.ReactDebugCurrentFrame;
668
- function k(c) {
669
- if (c) {
670
- var n = c._owner, o = X(c.type, c._source, n ? n.type : null);
671
- _3.setExtraStackFrame(o);
673
+ var l3 = p.ReactCurrentOwner, B3 = p.ReactDebugCurrentFrame;
674
+ function k(s) {
675
+ if (s) {
676
+ var o = s._owner, n = X(s.type, s._source, o ? o.type : null);
677
+ B3.setExtraStackFrame(n);
672
678
  } else
673
- _3.setExtraStackFrame(null);
679
+ B3.setExtraStackFrame(null);
674
680
  }
675
681
  var i3;
676
682
  i3 = !1;
677
- function a3(c) {
678
- return typeof c == "object" && c !== null && c.$$typeof === r;
683
+ function a3(s) {
684
+ return typeof s == "object" && s !== null && s.$$typeof === r;
679
685
  }
680
- function B3() {
686
+ function L3() {
681
687
  {
682
688
  if (l3.current) {
683
- var c = A(l3.current.type);
684
- if (c)
689
+ var s = T(l3.current.type);
690
+ if (s)
685
691
  return `
686
692
 
687
- Check the render method of \`` + c + "`.";
693
+ Check the render method of \`` + s + "`.";
688
694
  }
689
695
  return "";
690
696
  }
691
697
  }
692
- function j1(c) {
698
+ function C1(s) {
693
699
  {
694
- if (c !== void 0) {
695
- var n = c.fileName.replace(/^.*[\\\/]/, ""), o = c.lineNumber;
700
+ if (s !== void 0) {
701
+ var o = s.fileName.replace(/^.*[\\\/]/, ""), n = s.lineNumber;
696
702
  return `
697
703
 
698
- Check your code at ` + n + ":" + o + ".";
704
+ Check your code at ` + o + ":" + n + ".";
699
705
  }
700
706
  return "";
701
707
  }
702
708
  }
703
- var L3 = {};
704
- function C1(c) {
709
+ var A3 = {};
710
+ function S1(s) {
705
711
  {
706
- var n = B3();
707
- if (!n) {
708
- var o = typeof c == "string" ? c : c.displayName || c.name;
709
- o && (n = `
712
+ var o = L3();
713
+ if (!o) {
714
+ var n = typeof s == "string" ? s : s.displayName || s.name;
715
+ n && (o = `
710
716
 
711
- Check the top-level render call using <` + o + ">.");
717
+ Check the top-level render call using <` + n + ">.");
712
718
  }
713
- return n;
719
+ return o;
714
720
  }
715
721
  }
716
- function A3(c, n) {
722
+ function T3(s, o) {
717
723
  {
718
- if (!c._store || c._store.validated || c.key != null)
724
+ if (!s._store || s._store.validated || s.key != null)
719
725
  return;
720
- c._store.validated = !0;
721
- var o = C1(n);
722
- if (L3[o])
726
+ s._store.validated = !0;
727
+ var n = S1(o);
728
+ if (A3[n])
723
729
  return;
724
- L3[o] = !0;
730
+ A3[n] = !0;
725
731
  var i = "";
726
- c && c._owner && c._owner !== l3.current && (i = " It was passed a child from " + A(c._owner.type) + "."), k(c), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), k(null);
732
+ s && s._owner && s._owner !== l3.current && (i = " It was passed a child from " + T(s._owner.type) + "."), k(s), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), k(null);
727
733
  }
728
734
  }
729
- function T3(c, n) {
735
+ function P3(s, o) {
730
736
  {
731
- if (typeof c != "object")
737
+ if (typeof s != "object")
732
738
  return;
733
- if (n3(c))
734
- for (var o = 0; o < c.length; o++) {
735
- var i = c[o];
736
- a3(i) && A3(i, n);
739
+ if (o3(s))
740
+ for (var n = 0; n < s.length; n++) {
741
+ var i = s[n];
742
+ a3(i) && T3(i, o);
737
743
  }
738
- else if (a3(c))
739
- c._store && (c._store.validated = !0);
740
- else if (c) {
741
- var v = D(c);
742
- if (typeof v == "function" && v !== c.entries)
743
- for (var d = v.call(c), h; !(h = d.next()).done; )
744
- a3(h.value) && A3(h.value, n);
744
+ else if (a3(s))
745
+ s._store && (s._store.validated = !0);
746
+ else if (s) {
747
+ var h = O(s);
748
+ if (typeof h == "function" && h !== s.entries)
749
+ for (var w = h.call(s), v; !(v = w.next()).done; )
750
+ a3(v.value) && T3(v.value, o);
745
751
  }
746
752
  }
747
753
  }
748
- function S1(c) {
754
+ function b1(s) {
749
755
  {
750
- var n = c.type;
751
- if (n == null || typeof n == "string")
756
+ var o = s.type;
757
+ if (o == null || typeof o == "string")
752
758
  return;
753
- var o;
754
- if (typeof n == "function")
755
- o = n.propTypes;
756
- else if (typeof n == "object" && (n.$$typeof === g || // Note: Memo only checks outer props here.
759
+ var n;
760
+ if (typeof o == "function")
761
+ n = o.propTypes;
762
+ else if (typeof o == "object" && (o.$$typeof === x || // Note: Memo only checks outer props here.
757
763
  // Inner props are checked in the reconciler.
758
- n.$$typeof === b))
759
- o = n.propTypes;
764
+ o.$$typeof === y))
765
+ n = o.propTypes;
760
766
  else
761
767
  return;
762
- if (o) {
763
- var i = A(n);
764
- h1(o, c.props, "prop", i, c);
765
- } else if (n.PropTypes !== void 0 && !i3) {
768
+ if (n) {
769
+ var i = T(o);
770
+ h1(n, s.props, "prop", i, s);
771
+ } else if (o.PropTypes !== void 0 && !i3) {
766
772
  i3 = !0;
767
- var v = A(n);
768
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
773
+ var h = T(o);
774
+ I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
769
775
  }
770
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
776
+ typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
771
777
  }
772
778
  }
773
- function b1(c) {
779
+ function y1(s) {
774
780
  {
775
- for (var n = Object.keys(c.props), o = 0; o < n.length; o++) {
776
- var i = n[o];
781
+ for (var o = Object.keys(s.props), n = 0; n < o.length; n++) {
782
+ var i = o[n];
777
783
  if (i !== "children" && i !== "key") {
778
- k(c), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), k(null);
784
+ k(s), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), k(null);
779
785
  break;
780
786
  }
781
787
  }
782
- c.ref !== null && (k(c), y("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
788
+ s.ref !== null && (k(s), I("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
783
789
  }
784
790
  }
785
- function P3(c, n, o, i, v, d) {
791
+ function D3(s, o, n, i, h, w) {
786
792
  {
787
- var h = s1(c);
788
- if (!h) {
793
+ var v = t1(s);
794
+ if (!v) {
789
795
  var a = "";
790
- (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
791
- var I = j1(v);
792
- I ? a += I : a += B3();
793
- var p;
794
- c === null ? p = "null" : n3(c) ? p = "array" : c !== void 0 && c.$$typeof === r ? (p = "<" + (A(c.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : p = typeof c, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p, a);
795
- }
796
- var m = m1(c, n, o, v, d);
797
- if (m == null)
798
- return m;
799
- if (h) {
800
- var B = n.children;
801
- if (B !== void 0)
796
+ (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
797
+ var R = C1(h);
798
+ R ? a += R : a += L3();
799
+ var Z;
800
+ s === null ? Z = "null" : o3(s) ? Z = "array" : s !== void 0 && s.$$typeof === r ? (Z = "<" + (T(s.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : Z = typeof s, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Z, a);
801
+ }
802
+ var C = j1(s, o, n, h, w);
803
+ if (C == null)
804
+ return C;
805
+ if (v) {
806
+ var L = o.children;
807
+ if (L !== void 0)
802
808
  if (i)
803
- if (n3(B)) {
804
- for (var $ = 0; $ < B.length; $++)
805
- T3(B[$], c);
806
- Object.freeze && Object.freeze(B);
809
+ if (o3(L)) {
810
+ for (var $ = 0; $ < L.length; $++)
811
+ P3(L[$], s);
812
+ Object.freeze && Object.freeze(L);
807
813
  } else
808
- y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
814
+ I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
809
815
  else
810
- T3(B, c);
816
+ P3(L, s);
811
817
  }
812
- return c === l ? b1(m) : S1(m), m;
818
+ return s === l ? y1(C) : b1(C), C;
813
819
  }
814
820
  }
815
- function y1(c, n, o) {
816
- return P3(c, n, o, !0);
821
+ function I1(s, o, n) {
822
+ return D3(s, o, n, !0);
817
823
  }
818
- function I1(c, n, o) {
819
- return P3(c, n, o, !1);
824
+ function R1(s, o, n) {
825
+ return D3(s, o, n, !1);
820
826
  }
821
- var R1 = I1, E1 = y1;
822
- q.Fragment = l, q.jsx = R1, q.jsxs = E1;
823
- }()), q;
827
+ var E1 = R1, _1 = I1;
828
+ H.Fragment = l, H.jsx = E1, H.jsxs = _1;
829
+ }()), H;
824
830
  }
825
- var Y = {};
831
+ var q = {};
826
832
  /**
827
833
  * @license React
828
834
  * react-jsx-runtime.production.min.js
@@ -832,192 +838,213 @@ var Y = {};
832
838
  * This source code is licensed under the MIT license found in the
833
839
  * LICENSE file in the root directory of this source tree.
834
840
  */
835
- var k3;
836
- function o2() {
837
- if (k3)
838
- return Y;
839
- k3 = 1;
840
- var s = U3, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, w = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, j = { key: !0, ref: !0, __self: !0, __source: !0 };
841
- function S(C, g, R) {
842
- var Z, b = {}, E = null, _ = null;
843
- R !== void 0 && (E = "" + R), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (_ = g.ref);
844
- for (Z in g)
845
- l.call(g, Z) && !j.hasOwnProperty(Z) && (b[Z] = g[Z]);
846
- if (C && C.defaultProps)
847
- for (Z in g = C.defaultProps, g)
848
- b[Z] === void 0 && (b[Z] = g[Z]);
849
- return { $$typeof: r, type: C, key: E, ref: _, props: b, _owner: w.current };
841
+ var $3;
842
+ function i2() {
843
+ if ($3)
844
+ return q;
845
+ $3 = 1;
846
+ var c = H3, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, g = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
847
+ function S(b, x, E) {
848
+ var j, y = {}, _ = null, B = null;
849
+ E !== void 0 && (_ = "" + E), x.key !== void 0 && (_ = "" + x.key), x.ref !== void 0 && (B = x.ref);
850
+ for (j in x)
851
+ l.call(x, j) && !m.hasOwnProperty(j) && (y[j] = x[j]);
852
+ if (b && b.defaultProps)
853
+ for (j in x = b.defaultProps, x)
854
+ y[j] === void 0 && (y[j] = x[j]);
855
+ return { $$typeof: r, type: b, key: _, ref: B, props: y, _owner: g.current };
850
856
  }
851
- return Y.Fragment = t, Y.jsx = S, Y.jsxs = S, Y;
857
+ return q.Fragment = t, q.jsx = S, q.jsxs = S, q;
852
858
  }
853
- process.env.NODE_ENV === "production" ? u3.exports = o2() : u3.exports = n2();
854
- var e = u3.exports;
855
- const l2 = () => /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "disconnected-message", children: [
859
+ process.env.NODE_ENV === "production" ? d3.exports = i2() : d3.exports = l2();
860
+ var e = d3.exports;
861
+ const a2 = () => /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "disconnected-message", children: [
856
862
  /* @__PURE__ */ e.jsx("h1", { children: "Disconnected" }),
857
863
  /* @__PURE__ */ e.jsx("p", { children: "Reconnecting..." })
858
864
  ] }) });
859
- class i2 {
865
+ class v2 {
860
866
  constructor() {
861
- V(this, "uuid", "current-uuid");
862
- V(this, "roomKey", "current-room-key");
863
- V(this, "code", "current-code");
864
- V(this, "expiry", "current-uuid-expires");
867
+ d(this, "uuid", "current-uuid");
868
+ d(this, "roomKey", "current-room-key");
869
+ d(this, "code", "current-code");
870
+ d(this, "expiry", "current-uuid-expires");
865
871
  }
866
872
  }
867
- const $3 = new i2();
868
- function a2(s) {
869
- return sessionStorage.getItem(s) || "";
873
+ const F3 = new v2();
874
+ function h2(c) {
875
+ return sessionStorage.getItem(c) || "";
870
876
  }
871
- function h2(s, r) {
872
- sessionStorage.setItem(s, r);
877
+ function d2(c, r) {
878
+ sessionStorage.setItem(c, r);
873
879
  }
874
- const z3 = O1({
880
+ const X3 = V1({
875
881
  sendMessage: () => null
876
882
  });
877
- function v2() {
878
- return V1(z3);
883
+ function u3() {
884
+ return k1(X3);
879
885
  }
880
- const u2 = ({ children: s }) => {
881
- const [r, t] = r3(), l = e2(), w = r2(), j = c2(), S = t2(), C = N1(), g = k1(null), [R, Z] = r3(), b = O3(
882
- async (_) => {
883
- await v3.get(`${_}/ui/joinroom?token=${r}`).then((M) => {
884
- M.status === 200 && M.data && P.dispatch(F.setRoomData(M.data));
886
+ const u2 = ({ children: c }) => {
887
+ const [r, t] = r3(), l = c2(), g = s2(), m = t2(), S = n2(), b = e2(), x = $1(null), [E, j] = r3(), y = V3(
888
+ async (B) => {
889
+ await h3.get(`${B}/ui/joinroom?token=${r}`).then((M) => {
890
+ M.status === 200 && M.data && D.dispatch(F.setRoomData(M.data));
885
891
  }).catch((M) => {
886
892
  console.log(M);
887
893
  });
888
894
  },
889
895
  [r]
890
- ), E = O3(
891
- (_, M) => {
892
- g.current && l && g.current.send(JSON.stringify({ type: _, clientId: j, content: M }));
896
+ ), _ = V3(
897
+ (B, M) => {
898
+ x.current && l && x.current.send(JSON.stringify({ type: B, clientId: m, content: M }));
893
899
  },
894
- [l, j]
900
+ [l, m]
895
901
  );
896
- return H(() => {
902
+ return Y(() => {
897
903
  let M = new URLSearchParams(window.location.search).get("token");
898
- M ? (console.log("saving token: ", M), h2($3.uuid, M)) : (M = a2($3.uuid), console.log("loading token: ", M)), t(M), S();
899
- }, []), H(() => {
900
- if (!(!C.apiPath || R || !r)) {
901
- if (b(C.apiPath), !g.current) {
902
- const M = `${C.apiPath.replace("http", "ws")}/ui/join/${r}`, L = new WebSocket(M);
903
- g.current = L, L.onopen = () => {
904
- console.log("connected"), P.dispatch(F.setWebsocketIsConnected(!0));
905
- }, L.onerror = (D) => {
906
- console.log(D);
907
- }, L.onclose = () => {
908
- if (console.log("disconnected"), g.current)
904
+ M ? (console.log("saving token: ", M), d2(F3.uuid, M)) : (M = h2(F3.uuid), console.log("loading token: ", M)), t(M), S();
905
+ }, []), Y(() => {
906
+ if (!(!b.apiPath || E || !r)) {
907
+ if (y(b.apiPath), !x.current) {
908
+ const M = `${b.apiPath.replace("http", "ws")}/ui/join/${r}`, A = new WebSocket(M);
909
+ x.current = A, A.onopen = () => {
910
+ console.log("connected"), D.dispatch(F.setWebsocketIsConnected(!0));
911
+ }, A.onerror = (O) => {
912
+ console.log(O);
913
+ }, A.onclose = () => {
914
+ if (console.log("disconnected"), x.current)
909
915
  console.log("WebSocket closed by server.");
910
916
  else {
911
917
  console.log("WebSocket closed by client.");
912
918
  return;
913
919
  }
914
- R || (P.dispatch(F.setWebsocketIsConnected(!1)), Z(!0), setTimeout(() => Z(void 0), 5e3));
915
- }, L.onmessage = (D) => {
920
+ E || (D.dispatch(F.setWebsocketIsConnected(!1)), j(!0), setTimeout(() => j(void 0), 5e3));
921
+ }, A.onmessage = (O) => {
916
922
  try {
917
- const x = JSON.parse(D.data);
918
- if (console.log(x), x.type.startsWith("/system/"))
919
- switch (x.type) {
923
+ const p = JSON.parse(O.data);
924
+ if (console.log(p), p.type.startsWith("/system/"))
925
+ switch (p.type) {
920
926
  case "/system/roomKey":
921
- P.dispatch(
927
+ D.dispatch(
922
928
  F.setCurrentRoomKey(
923
- x.content
929
+ p.content
924
930
  )
925
931
  );
926
932
  break;
927
933
  case "/system/userCodeChanged":
928
- P.dispatch(
929
- F.setUserCode(x.content)
934
+ D.dispatch(
935
+ F.setUserCode(p.content)
930
936
  );
931
937
  break;
932
938
  }
933
939
  else
934
- x.type.startsWith("/room/") ? P.dispatch(H1.setRoomState(x)) : x.type.startsWith("/device/") && P.dispatch(q1.setDeviceState(x));
935
- } catch (x) {
936
- console.log(x);
940
+ p.type.startsWith("/room/") ? D.dispatch(K1.setRoomState(p)) : p.type.startsWith("/device/") && D.dispatch(q1.setDeviceState(p));
941
+ } catch (p) {
942
+ console.log(p);
937
943
  }
938
944
  };
939
945
  }
940
946
  return () => {
941
- g.current && g.current.close(), g.current = null;
947
+ x.current && x.current.close(), x.current = null;
942
948
  };
943
949
  }
944
- }, [C.apiPath, b, r, R]), H(() => {
945
- w && E(`/room/${w}/status`, null);
946
- }, [w, E]), /* @__PURE__ */ e.jsx(z3.Provider, { value: { sendMessage: E }, children: l ? s : /* @__PURE__ */ e.jsx(l2, {}) });
947
- }, R8 = ({ children: s }) => /* @__PURE__ */ e.jsx(D1, { store: P, children: /* @__PURE__ */ e.jsx(u2, { children: s }) }), E8 = ({ config: s }) => {
948
- const { sendMessage: r } = v2();
949
- H(() => {
950
- if (!s)
950
+ }, [b.apiPath, y, r, E]), Y(() => {
951
+ g && _(`/room/${g}/status`, null);
952
+ }, [g, _]), /* @__PURE__ */ e.jsx(X3.Provider, { value: { sendMessage: _ }, children: l ? c : /* @__PURE__ */ e.jsx(a2, {}) });
953
+ }, B8 = ({ children: c }) => /* @__PURE__ */ e.jsx(O1, { store: D, children: /* @__PURE__ */ e.jsx(u2, { children: c }) }), L8 = ({ config: c }) => {
954
+ const { sendMessage: r } = u3();
955
+ Y(() => {
956
+ if (!c)
951
957
  return;
952
958
  const t = [];
953
- s.displayKeys.forEach((l) => {
959
+ c.displayKeys.forEach((l) => {
954
960
  t.push(l);
955
- }), s.environmentalDevices.forEach((l) => {
961
+ }), c.environmentalDevices.forEach((l) => {
956
962
  t.push(l);
957
- }), s.audioCodecKey && t.push(s.audioCodecKey), s.videoCodecKey && t.push(s.videoCodecKey);
958
- for (const [l, w] of Object.entries(s.sourceList))
959
- t.push(w.sourceKey);
963
+ }), c.audioCodecKey && t.push(c.audioCodecKey), c.videoCodecKey && t.push(c.videoCodecKey);
964
+ for (const l of Object.values(c.sourceList))
965
+ t.push(l.sourceKey);
960
966
  t.forEach((l) => {
961
967
  r(`/device/${l}/fullStatus`, { deviceKey: l });
962
968
  });
963
- }, [s, r]);
964
- }, _8 = () => /* @__PURE__ */ e.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ e.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), d2 = "_iconbtn_16qss_1", g2 = "_iconbtnvert_16qss_7", w2 = "_iconsm_16qss_18", h3 = {
965
- iconbtn: d2,
966
- iconbtnvert: g2,
967
- iconsm: w2
968
- }, x2 = ({
969
- multiIcon: s,
969
+ }, [c, r]);
970
+ };
971
+ function g2(c) {
972
+ const { sendMessage: r } = u3();
973
+ return { powerOn: () => {
974
+ r(`/device/${c}/powerOn`, null);
975
+ }, powerOff: () => {
976
+ r(`/device/${c}/powerOff`, null);
977
+ }, powerToggle: () => {
978
+ r(`/device/${c}/powerToggle`, null);
979
+ } };
980
+ }
981
+ function A8(c) {
982
+ const { sendMessage: r } = u3();
983
+ return { runDirectRoute: (l) => {
984
+ r(`/room/${c}/directRoute`, l);
985
+ } };
986
+ }
987
+ function T8(c) {
988
+ const r = r2(c), t = g2(c);
989
+ return { state: r, powerControl: t };
990
+ }
991
+ const P8 = () => /* @__PURE__ */ e.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ e.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), w2 = "_iconbtn_16qss_1", x2 = "_iconbtnvert_16qss_7", f2 = "_iconsm_16qss_18", v3 = {
992
+ iconbtn: w2,
993
+ iconbtnvert: x2,
994
+ iconsm: f2
995
+ }, p2 = ({
996
+ multiIcon: c,
970
997
  otherContent: r = null,
971
998
  vert: t = !1,
972
999
  className: l,
973
- iconClassName: w = "",
974
- otherContentClassName: j = "",
1000
+ iconClassName: g = "",
1001
+ otherContentClassName: m = "",
975
1002
  disabled: S,
976
- feedback: C,
977
- feedbackClassName: g,
978
- onPointerDown: R,
979
- onPointerUp: Z,
980
- onPointerLeave: b,
981
- ...E
1003
+ feedback: b,
1004
+ feedbackClassName: x,
1005
+ onPointerDown: E,
1006
+ onPointerUp: j,
1007
+ onPointerLeave: y,
1008
+ ..._
982
1009
  }) => {
983
- const [_, M] = r3(!1), L = !S && C ? g : "", D = !S && (_ || C);
1010
+ const [B, M] = r3(!1), A = !S && b ? x : "", O = !S && (B || b);
984
1011
  return /* @__PURE__ */ e.jsxs(
985
1012
  "button",
986
1013
  {
987
1014
  type: "button",
988
- className: `${h3.iconbtn} ${t ? h3.iconbtnvert : ""} ${l} ${L}`,
989
- ...E,
1015
+ className: `${v3.iconbtn} ${t ? v3.iconbtnvert : ""} ${l} ${A}`,
1016
+ ..._,
990
1017
  disabled: S,
991
- onPointerDown: (x) => {
992
- M(!0), R == null || R(x);
1018
+ onPointerDown: (p) => {
1019
+ M(!0), E == null || E(p);
993
1020
  },
994
- onPointerUp: (x) => {
995
- M(!1), Z == null || Z(x);
1021
+ onPointerUp: (p) => {
1022
+ M(!1), j == null || j(p);
996
1023
  },
997
- onPointerLeave: (x) => {
998
- M(!1), b == null || b(x);
1024
+ onPointerLeave: (p) => {
1025
+ M(!1), y == null || y(p);
999
1026
  },
1000
1027
  children: [
1001
1028
  /* @__PURE__ */ e.jsx(
1002
- s,
1029
+ c,
1003
1030
  {
1004
- className: `${w || h3.iconsm}`,
1005
- active: D,
1031
+ className: `${g || v3.iconsm}`,
1032
+ active: O,
1006
1033
  disabled: S
1007
1034
  }
1008
1035
  ),
1009
- /* @__PURE__ */ e.jsx("div", { className: j, children: r })
1036
+ /* @__PURE__ */ e.jsx("div", { className: m, children: r })
1010
1037
  ]
1011
1038
  }
1012
1039
  );
1013
1040
  }, u = ({
1014
- ActiveImage: s,
1041
+ ActiveImage: c,
1015
1042
  DisabledImage: r,
1016
1043
  EnabledImage: t,
1017
1044
  active: l,
1018
- disabled: w
1019
- }) => w ? r : l ? s : t, f2 = ({
1020
- active: s,
1045
+ disabled: g
1046
+ }) => g ? r : l ? c : t, M2 = ({
1047
+ active: c,
1021
1048
  className: r = "",
1022
1049
  disabled: t
1023
1050
  }) => /* @__PURE__ */ e.jsx(
@@ -1062,11 +1089,11 @@ const u2 = ({ children: s }) => {
1062
1089
  }
1063
1090
  )
1064
1091
  ),
1065
- active: s,
1092
+ active: c,
1066
1093
  disabled: t
1067
1094
  }
1068
- ), M2 = ({
1069
- active: s,
1095
+ ), Z2 = ({
1096
+ active: c,
1070
1097
  className: r = "",
1071
1098
  disabled: t
1072
1099
  }) => /* @__PURE__ */ e.jsx(
@@ -1114,11 +1141,11 @@ const u2 = ({ children: s }) => {
1114
1141
  ) })
1115
1142
  }
1116
1143
  ),
1117
- active: s,
1144
+ active: c,
1118
1145
  disabled: t
1119
1146
  }
1120
- ), p2 = ({
1121
- active: s,
1147
+ ), m2 = ({
1148
+ active: c,
1122
1149
  className: r = "",
1123
1150
  disabled: t
1124
1151
  }) => /* @__PURE__ */ e.jsx(
@@ -1163,11 +1190,11 @@ const u2 = ({ children: s }) => {
1163
1190
  }
1164
1191
  )
1165
1192
  ),
1166
- active: s,
1193
+ active: c,
1167
1194
  disabled: t
1168
1195
  }
1169
- ), Z2 = ({
1170
- active: s,
1196
+ ), j2 = ({
1197
+ active: c,
1171
1198
  className: r = "",
1172
1199
  disabled: t
1173
1200
  }) => /* @__PURE__ */ e.jsx(
@@ -1203,11 +1230,11 @@ const u2 = ({ children: s }) => {
1203
1230
  children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsx("path", { d: "M82.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,5ZM99.38,108.04h-59.68c-4.58,0-8.3-3.71-8.3-8.3v-43.17h59.43c4.72,0,8.55,3.83,8.55,8.55v42.92ZM133.2,106.05v-47.49c0-2.29-2.58-3.63-4.46-2.31l-22.73,16.02c-.75.53-1.2,1.39-1.2,2.31v15.45c0,.92.45,1.78,1.2,2.31l22.73,16.02c1.87,1.32,4.46-.02,4.46-2.31Z" }) })
1204
1231
  }
1205
1232
  ),
1206
- active: s,
1233
+ active: c,
1207
1234
  disabled: t
1208
1235
  }
1209
- ), m2 = ({
1210
- active: s,
1236
+ ), C2 = ({
1237
+ active: c,
1211
1238
  className: r = "",
1212
1239
  disabled: t
1213
1240
  }) => /* @__PURE__ */ e.jsx(
@@ -1252,11 +1279,11 @@ const u2 = ({ children: s }) => {
1252
1279
  }
1253
1280
  )
1254
1281
  ),
1255
- active: s,
1282
+ active: c,
1256
1283
  disabled: t
1257
1284
  }
1258
- ), j2 = ({
1259
- active: s,
1285
+ ), S2 = ({
1286
+ active: c,
1260
1287
  className: r = "",
1261
1288
  disabled: t
1262
1289
  }) => /* @__PURE__ */ e.jsx(
@@ -1301,11 +1328,11 @@ const u2 = ({ children: s }) => {
1301
1328
  }
1302
1329
  )
1303
1330
  ),
1304
- active: s,
1331
+ active: c,
1305
1332
  disabled: t
1306
1333
  }
1307
- ), C2 = ({
1308
- active: s,
1334
+ ), b2 = ({
1335
+ active: c,
1309
1336
  className: r = "",
1310
1337
  disabled: t
1311
1338
  }) => /* @__PURE__ */ e.jsx(
@@ -1350,11 +1377,11 @@ const u2 = ({ children: s }) => {
1350
1377
  }
1351
1378
  )
1352
1379
  ),
1353
- active: s,
1380
+ active: c,
1354
1381
  disabled: t
1355
1382
  }
1356
- ), S2 = ({
1357
- active: s,
1383
+ ), y2 = ({
1384
+ active: c,
1358
1385
  className: r = "",
1359
1386
  disabled: t
1360
1387
  }) => /* @__PURE__ */ e.jsx(
@@ -1399,11 +1426,11 @@ const u2 = ({ children: s }) => {
1399
1426
  }
1400
1427
  )
1401
1428
  ),
1402
- active: s,
1429
+ active: c,
1403
1430
  disabled: t
1404
1431
  }
1405
- ), b2 = ({
1406
- active: s,
1432
+ ), I2 = ({
1433
+ active: c,
1407
1434
  className: r = "",
1408
1435
  disabled: t
1409
1436
  }) => /* @__PURE__ */ e.jsx(
@@ -1448,11 +1475,11 @@ const u2 = ({ children: s }) => {
1448
1475
  }
1449
1476
  )
1450
1477
  ),
1451
- active: s,
1478
+ active: c,
1452
1479
  disabled: t
1453
1480
  }
1454
- ), y2 = ({
1455
- active: s,
1481
+ ), R2 = ({
1482
+ active: c,
1456
1483
  className: r = "",
1457
1484
  disabled: t
1458
1485
  }) => /* @__PURE__ */ e.jsx(
@@ -1497,11 +1524,80 @@ const u2 = ({ children: s }) => {
1497
1524
  }
1498
1525
  )
1499
1526
  ),
1500
- active: s,
1527
+ active: c,
1501
1528
  disabled: t
1502
1529
  }
1503
- ), I2 = ({
1504
- active: s,
1530
+ ), E2 = ({
1531
+ active: c,
1532
+ // Just to shut up the linter on this template. Prefer deleting this lint rule
1533
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1534
+ className: r = "",
1535
+ disabled: t
1536
+ }) => /* @__PURE__ */ e.jsx(
1537
+ u,
1538
+ {
1539
+ ActiveImage: (
1540
+ /* icon-hdmi-active.svg */
1541
+ /* @__PURE__ */ e.jsx(
1542
+ "svg",
1543
+ {
1544
+ className: r,
1545
+ fill: "currentcolor",
1546
+ xmlns: "http://www.w3.org/2000/svg",
1547
+ viewBox: "0 0 164.61 164.61",
1548
+ children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsx(
1549
+ "path",
1550
+ {
1551
+ d: "M71.55,55.43h-10.75v-16.12h43v16.12h-10.75v-10.75h-5.37v10.75h-10.75v-10.75h-5.37v10.75ZM164.61,82.3c0,45.38-36.92,82.3-82.3,82.3S0,127.69,0,82.3,36.92,0,82.3,0s82.3,36.92,82.3,82.3ZM119.93,55.43h-5.37v-16.12c0-2.96-1.05-5.49-3.16-7.59-2.11-2.11-4.64-3.16-7.59-3.16h-43c-2.96,0-5.49,1.05-7.59,3.16s-3.16,4.64-3.16,7.59v16.12h-5.38v32.25l16.12,32.25v16.12h43v-16.12l16.12-32.25v-32.25ZM55.43,84.99l16.12,32.25v8.06h21.5v-8.06l16.12-32.25v-18.81h-53.75v18.81Z",
1552
+ strokeWidth: "0"
1553
+ }
1554
+ ) })
1555
+ }
1556
+ )
1557
+ ),
1558
+ DisabledImage: (
1559
+ /* icon-hdmi-disabled.svg */
1560
+ /* @__PURE__ */ e.jsx(
1561
+ "svg",
1562
+ {
1563
+ className: r,
1564
+ fill: "currentcolor",
1565
+ xmlns: "http://www.w3.org/2000/svg",
1566
+ viewBox: "0 0 164.61 164.61",
1567
+ children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsx(
1568
+ "path",
1569
+ {
1570
+ d: "M49.27,96.86l-4.59-9.18v-32.25h5.37v-16.12c0-2.96,1.05-5.49,3.16-7.59,2.11-2.11,4.64-3.16,7.59-3.16h43c2.96,0,5.49,1.05,7.59,3.16.52.52.98,1.07,1.37,1.64l-8.96,8.96v-3.02h-43v16.12h10.75v-10.75h5.37v10.75h10.75v-10.75h5.37v8.39l-13.11,13.11h-24.52v18.81l1.9,3.8-8.06,8.06ZM109.18,73.91v11.08l-16.12,32.25v8.06h-21.5v-8.06l-1.9-3.8-8.85,8.85v13.77h43v-16.12l16.12-32.25v-24.52l-10.75,10.75ZM164.61,82.3c0,45.38-36.92,82.3-82.3,82.3S0,127.69,0,82.3,36.92,0,82.3,0s82.3,36.92,82.3,82.3ZM5,82.3c0,19.83,7.51,37.93,19.82,51.63L133.93,24.83c-13.7-12.32-31.8-19.83-51.63-19.83C39.68,5,5,39.68,5,82.3ZM159.61,82.3c0-19.83-7.51-37.93-19.83-51.63L30.68,139.78c13.7,12.32,31.8,19.83,51.63,19.83,42.63,0,77.3-34.68,77.3-77.3Z",
1571
+ strokeWidth: "0"
1572
+ }
1573
+ ) })
1574
+ }
1575
+ )
1576
+ ),
1577
+ EnabledImage: (
1578
+ /* icon-hdmi-enabled.svg */
1579
+ /* @__PURE__ */ e.jsx(
1580
+ "svg",
1581
+ {
1582
+ className: r,
1583
+ fill: "currentcolor",
1584
+ xmlns: "http://www.w3.org/2000/svg",
1585
+ viewBox: "0 0 164.61 164.61",
1586
+ children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.jsx(
1587
+ "path",
1588
+ {
1589
+ d: "M60.8,136.05v-16.12l-16.12-32.25v-32.25h5.37v-16.12c0-2.96,1.05-5.49,3.16-7.59,2.11-2.11,4.64-3.16,7.59-3.16h43c2.96,0,5.49,1.05,7.59,3.16s3.16,4.64,3.16,7.59v16.12h5.37v32.25l-16.12,32.25v16.12h-43ZM60.8,55.43h10.75v-10.75h5.37v10.75h10.75v-10.75h5.37v10.75h10.75v-16.12h-43v16.12ZM71.55,125.3h21.5v-8.06l16.12-32.25v-18.81h-53.75v18.81l16.12,32.25v8.06ZM82.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",
1590
+ strokeWidth: "0"
1591
+ }
1592
+ ) })
1593
+ }
1594
+ )
1595
+ ),
1596
+ active: c,
1597
+ disabled: t
1598
+ }
1599
+ ), _2 = ({
1600
+ active: c,
1505
1601
  className: r = "",
1506
1602
  disabled: t
1507
1603
  }) => /* @__PURE__ */ e.jsx(
@@ -1546,11 +1642,11 @@ const u2 = ({ children: s }) => {
1546
1642
  }
1547
1643
  )
1548
1644
  ),
1549
- active: s,
1645
+ active: c,
1550
1646
  disabled: t
1551
1647
  }
1552
- ), R2 = ({
1553
- active: s,
1648
+ ), B2 = ({
1649
+ active: c,
1554
1650
  className: r = "",
1555
1651
  disabled: t
1556
1652
  }) => /* @__PURE__ */ e.jsx(
@@ -1595,11 +1691,11 @@ const u2 = ({ children: s }) => {
1595
1691
  }
1596
1692
  )
1597
1693
  ),
1598
- active: s,
1694
+ active: c,
1599
1695
  disabled: t
1600
1696
  }
1601
- ), E2 = ({
1602
- active: s,
1697
+ ), L2 = ({
1698
+ active: c,
1603
1699
  className: r = "",
1604
1700
  disabled: t
1605
1701
  }) => /* @__PURE__ */ e.jsx(
@@ -1644,11 +1740,11 @@ const u2 = ({ children: s }) => {
1644
1740
  }
1645
1741
  )
1646
1742
  ),
1647
- active: s,
1743
+ active: c,
1648
1744
  disabled: t
1649
1745
  }
1650
- ), _2 = ({
1651
- active: s,
1746
+ ), A2 = ({
1747
+ active: c,
1652
1748
  className: r = "",
1653
1749
  disabled: t
1654
1750
  }) => /* @__PURE__ */ e.jsx(
@@ -1693,11 +1789,11 @@ const u2 = ({ children: s }) => {
1693
1789
  }
1694
1790
  )
1695
1791
  ),
1696
- active: s,
1792
+ active: c,
1697
1793
  disabled: t
1698
1794
  }
1699
- ), B2 = ({
1700
- active: s,
1795
+ ), T2 = ({
1796
+ active: c,
1701
1797
  className: r = "",
1702
1798
  disabled: t
1703
1799
  }) => /* @__PURE__ */ e.jsx(
@@ -1715,11 +1811,11 @@ const u2 = ({ children: s }) => {
1715
1811
  /* icon-playstation-enabled.svg */
1716
1812
  /* @__PURE__ */ e.jsx("svg", { className: r, fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 164.61 164.61", children: /* @__PURE__ */ e.jsx("g", { children: /* @__PURE__ */ e.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" }) }) })
1717
1813
  ),
1718
- active: s,
1814
+ active: c,
1719
1815
  disabled: t
1720
1816
  }
1721
- ), L2 = ({
1722
- active: s,
1817
+ ), P2 = ({
1818
+ active: c,
1723
1819
  className: r = "",
1724
1820
  disabled: t
1725
1821
  }) => /* @__PURE__ */ e.jsx(
@@ -1764,11 +1860,11 @@ const u2 = ({ children: s }) => {
1764
1860
  }
1765
1861
  )
1766
1862
  ),
1767
- active: s,
1863
+ active: c,
1768
1864
  disabled: t
1769
1865
  }
1770
- ), A2 = ({
1771
- active: s,
1866
+ ), D2 = ({
1867
+ active: c,
1772
1868
  className: r = "",
1773
1869
  disabled: t
1774
1870
  }) => /* @__PURE__ */ e.jsx(
@@ -1813,11 +1909,11 @@ const u2 = ({ children: s }) => {
1813
1909
  }
1814
1910
  )
1815
1911
  ),
1816
- active: s,
1912
+ active: c,
1817
1913
  disabled: t
1818
1914
  }
1819
- ), T2 = ({
1820
- active: s,
1915
+ ), O2 = ({
1916
+ active: c,
1821
1917
  className: r = "",
1822
1918
  disabled: t
1823
1919
  }) => /* @__PURE__ */ e.jsx(
@@ -1862,11 +1958,11 @@ const u2 = ({ children: s }) => {
1862
1958
  }
1863
1959
  )
1864
1960
  ),
1865
- active: s,
1961
+ active: c,
1866
1962
  disabled: t
1867
1963
  }
1868
- ), P2 = ({
1869
- active: s,
1964
+ ), V2 = ({
1965
+ active: c,
1870
1966
  className: r = "",
1871
1967
  disabled: t
1872
1968
  }) => /* @__PURE__ */ e.jsx(
@@ -1911,11 +2007,11 @@ const u2 = ({ children: s }) => {
1911
2007
  }
1912
2008
  )
1913
2009
  ),
1914
- active: s,
2010
+ active: c,
1915
2011
  disabled: t
1916
2012
  }
1917
- ), D2 = ({
1918
- active: s,
2013
+ ), k2 = ({
2014
+ active: c,
1919
2015
  className: r = "",
1920
2016
  disabled: t
1921
2017
  }) => /* @__PURE__ */ e.jsx(
@@ -1960,11 +2056,11 @@ const u2 = ({ children: s }) => {
1960
2056
  }
1961
2057
  )
1962
2058
  ),
1963
- active: s,
2059
+ active: c,
1964
2060
  disabled: t
1965
2061
  }
1966
- ), O2 = ({
1967
- active: s,
2062
+ ), $2 = ({
2063
+ active: c,
1968
2064
  className: r = "",
1969
2065
  disabled: t
1970
2066
  }) => /* @__PURE__ */ e.jsx(
@@ -2009,11 +2105,11 @@ const u2 = ({ children: s }) => {
2009
2105
  }
2010
2106
  )
2011
2107
  ),
2012
- active: s,
2108
+ active: c,
2013
2109
  disabled: t
2014
2110
  }
2015
- ), V2 = ({
2016
- active: s,
2111
+ ), F2 = ({
2112
+ active: c,
2017
2113
  className: r = "",
2018
2114
  disabled: t
2019
2115
  }) => /* @__PURE__ */ e.jsx(
@@ -2058,11 +2154,11 @@ const u2 = ({ children: s }) => {
2058
2154
  }
2059
2155
  )
2060
2156
  ),
2061
- active: s,
2157
+ active: c,
2062
2158
  disabled: t
2063
2159
  }
2064
- ), k2 = ({
2065
- active: s,
2160
+ ), W2 = ({
2161
+ active: c,
2066
2162
  className: r = "",
2067
2163
  disabled: t
2068
2164
  }) => /* @__PURE__ */ e.jsx(
@@ -2107,11 +2203,11 @@ const u2 = ({ children: s }) => {
2107
2203
  }
2108
2204
  )
2109
2205
  ),
2110
- active: s,
2206
+ active: c,
2111
2207
  disabled: t
2112
2208
  }
2113
- ), $2 = ({
2114
- active: s,
2209
+ ), U2 = ({
2210
+ active: c,
2115
2211
  className: r = "",
2116
2212
  disabled: t
2117
2213
  }) => /* @__PURE__ */ e.jsx(
@@ -2156,11 +2252,11 @@ const u2 = ({ children: s }) => {
2156
2252
  }
2157
2253
  )
2158
2254
  ),
2159
- active: s,
2255
+ active: c,
2160
2256
  disabled: t
2161
2257
  }
2162
- ), F2 = ({
2163
- active: s,
2258
+ ), H2 = ({
2259
+ active: c,
2164
2260
  className: r = "",
2165
2261
  disabled: t
2166
2262
  }) => /* @__PURE__ */ e.jsx(
@@ -2205,11 +2301,11 @@ const u2 = ({ children: s }) => {
2205
2301
  }
2206
2302
  )
2207
2303
  ),
2208
- active: s,
2304
+ active: c,
2209
2305
  disabled: t
2210
2306
  }
2211
- ), W2 = ({
2212
- active: s,
2307
+ ), q2 = ({
2308
+ active: c,
2213
2309
  className: r = "",
2214
2310
  disabled: t
2215
2311
  }) => /* @__PURE__ */ e.jsx(
@@ -2254,11 +2350,11 @@ const u2 = ({ children: s }) => {
2254
2350
  }
2255
2351
  )
2256
2352
  ),
2257
- active: s,
2353
+ active: c,
2258
2354
  disabled: t
2259
2355
  }
2260
- ), U2 = ({
2261
- active: s,
2356
+ ), G2 = ({
2357
+ active: c,
2262
2358
  className: r = "",
2263
2359
  disabled: t
2264
2360
  }) => /* @__PURE__ */ e.jsx(
@@ -2303,11 +2399,11 @@ const u2 = ({ children: s }) => {
2303
2399
  }
2304
2400
  )
2305
2401
  ),
2306
- active: s,
2402
+ active: c,
2307
2403
  disabled: t
2308
2404
  }
2309
- ), q2 = ({
2310
- active: s,
2405
+ ), Y2 = ({
2406
+ active: c,
2311
2407
  className: r = "",
2312
2408
  disabled: t
2313
2409
  }) => /* @__PURE__ */ e.jsx(
@@ -2352,11 +2448,11 @@ const u2 = ({ children: s }) => {
2352
2448
  }
2353
2449
  )
2354
2450
  ),
2355
- active: s,
2451
+ active: c,
2356
2452
  disabled: t
2357
2453
  }
2358
- ), Y2 = ({
2359
- active: s,
2454
+ ), K2 = ({
2455
+ active: c,
2360
2456
  className: r = "",
2361
2457
  disabled: t
2362
2458
  }) => /* @__PURE__ */ e.jsx(
@@ -2401,159 +2497,208 @@ const u2 = ({ children: s }) => {
2401
2497
  }
2402
2498
  )
2403
2499
  ),
2404
- active: s,
2500
+ active: c,
2405
2501
  disabled: t
2406
2502
  }
2407
- ), G2 = {
2408
- Alert: M2,
2409
- Camera: Z2,
2410
- DownArrow: j2,
2411
- Ban: p2,
2412
- Check: m2,
2413
- Elipses: C2,
2414
- Flag: S2,
2415
- Gear: b2,
2416
- Glass: y2,
2417
- Laptop: I2,
2418
- LeftArrow: R2,
2419
- Light: E2,
2420
- Mic: f2,
2421
- Moon: _2,
2422
- Playstation: B2,
2423
- Podium: L2,
2424
- Power: A2,
2425
- Privacy: T2,
2426
- Question: P2,
2427
- RightArrow: D2,
2428
- Shade: O2,
2429
- Sun: V2,
2430
- UpArrow: k2,
2431
- VolDown: $2,
2432
- VolMute: F2,
2433
- VolUp: W2,
2434
- Wireless: U2,
2435
- X: q2,
2436
- Xbox: Y2
2503
+ ), J2 = {
2504
+ Alert: Z2,
2505
+ Camera: j2,
2506
+ DownArrow: S2,
2507
+ Ban: m2,
2508
+ Check: C2,
2509
+ Elipses: b2,
2510
+ Flag: y2,
2511
+ Gear: I2,
2512
+ Glass: R2,
2513
+ Hdmi: E2,
2514
+ Laptop: _2,
2515
+ LeftArrow: B2,
2516
+ Light: L2,
2517
+ Mic: M2,
2518
+ Moon: A2,
2519
+ Playstation: T2,
2520
+ Podium: P2,
2521
+ Power: D2,
2522
+ Privacy: O2,
2523
+ Question: V2,
2524
+ RightArrow: k2,
2525
+ Shade: $2,
2526
+ Sun: F2,
2527
+ UpArrow: W2,
2528
+ VolDown: U2,
2529
+ VolMute: H2,
2530
+ VolUp: q2,
2531
+ Wireless: G2,
2532
+ X: Y2,
2533
+ Xbox: K2
2437
2534
  };
2438
- function B8({
2439
- name: s,
2535
+ function D8({
2536
+ name: c,
2440
2537
  ...r
2441
2538
  }) {
2442
- return /* @__PURE__ */ e.jsx(x2, { multiIcon: G2[s], ...r });
2539
+ return /* @__PURE__ */ e.jsx(p2, { multiIcon: J2[c], ...r });
2443
2540
  }
2444
- const H2 = "_grid_1cmpp_1", K2 = "_header_1cmpp_11", J2 = "_content_1cmpp_17", z2 = "_footer_1cmpp_23", X2 = "_volume_1cmpp_29", G = {
2445
- grid: H2,
2446
- header: K2,
2447
- content: J2,
2448
- footer: z2,
2449
- volume: X2
2450
- }, L8 = ({ header: s, footer: r, content: t, volume: l, showVolume: w }) => /* @__PURE__ */ e.jsxs("div", { className: G.grid, children: [
2451
- /* @__PURE__ */ e.jsx("div", { className: G.header, children: s }),
2541
+ const z2 = "_grid_1cmpp_1", X2 = "_header_1cmpp_11", Q2 = "_content_1cmpp_17", N2 = "_footer_1cmpp_23", e8 = "_volume_1cmpp_29", G = {
2542
+ grid: z2,
2543
+ header: X2,
2544
+ content: Q2,
2545
+ footer: N2,
2546
+ volume: e8
2547
+ }, O8 = ({ header: c, footer: r, content: t, volume: l, showVolume: g }) => /* @__PURE__ */ e.jsxs("div", { className: G.grid, children: [
2548
+ /* @__PURE__ */ e.jsx("div", { className: G.header, children: c }),
2452
2549
  /* @__PURE__ */ e.jsx("div", { className: G.content, children: t }),
2453
- w && /* @__PURE__ */ e.jsx("div", { className: G.volume, children: l }),
2550
+ g && /* @__PURE__ */ e.jsx("div", { className: G.volume, children: l }),
2454
2551
  /* @__PURE__ */ e.jsx("div", { className: G.footer, children: r })
2455
- ] }), Q2 = "_grid_11w5q_1", N2 = "_header_11w5q_11", e8 = "_content_11w5q_17", e3 = {
2456
- grid: Q2,
2457
- header: N2,
2458
- content: e8,
2552
+ ] }), r8 = "_grid_11w5q_1", c8 = "_header_11w5q_11", s8 = "_content_11w5q_17", e3 = {
2553
+ grid: r8,
2554
+ header: c8,
2555
+ content: s8,
2459
2556
  "left-nav": "_left-nav_11w5q_23"
2460
- }, A8 = ({ className: s, header: r, content: t, leftNav: l }) => /* @__PURE__ */ e.jsxs("div", { className: `${s} ${e3.grid}`, children: [
2557
+ }, V8 = ({ className: c, header: r, content: t, leftNav: l }) => /* @__PURE__ */ e.jsxs("div", { className: `${c} ${e3.grid}`, children: [
2461
2558
  /* @__PURE__ */ e.jsx("div", { className: e3.header, children: r }),
2462
2559
  /* @__PURE__ */ e.jsx("div", { className: e3.leftNav, children: l }),
2463
2560
  /* @__PURE__ */ e.jsx("div", { className: e3.content, children: t })
2464
2561
  ] });
2465
- function T8() {
2562
+ function k8() {
2466
2563
  return console.log(location.pathname), location.pathname;
2467
2564
  }
2468
- var r8 = /* @__PURE__ */ ((s) => (s[s.NotSet = 0] = "NotSet", s[s.Sunday = 1] = "Sunday", s[s.Monday = 2] = "Monday", s[s.Tuesday = 4] = "Tuesday", s[s.Wednesday = 8] = "Wednesday", s[s.Thursday = 16] = "Thursday", s[s.Friday = 32] = "Friday", s[s.Saturday = 64] = "Saturday", s))(r8 || {});
2469
- class P8 {
2565
+ var t8 = /* @__PURE__ */ ((c) => (c[c.NotSet = 0] = "NotSet", c[c.Sunday = 1] = "Sunday", c[c.Monday = 2] = "Monday", c[c.Tuesday = 4] = "Tuesday", c[c.Wednesday = 8] = "Wednesday", c[c.Thursday = 16] = "Thursday", c[c.Friday = 32] = "Friday", c[c.Saturday = 64] = "Saturday", c))(t8 || {});
2566
+ class $8 {
2470
2567
  constructor(r, t) {
2471
- V(this, "path");
2472
- V(this, "handler");
2568
+ d(this, "path");
2569
+ d(this, "handler");
2473
2570
  this.path = r, this.handler = t;
2474
2571
  }
2475
2572
  }
2476
- const D8 = ({ className: s }) => {
2573
+ class F8 {
2574
+ constructor() {
2575
+ d(this, "name", "");
2576
+ d(this, "iconUrl", "");
2577
+ d(this, "channel", "");
2578
+ }
2579
+ }
2580
+ class W8 {
2581
+ constructor() {
2582
+ d(this, "audioCodecKey");
2583
+ d(this, "defaultDisplayKey");
2584
+ d(this, "defaultPresentationSourceKey", "");
2585
+ d(this, "displayKeys", []);
2586
+ d(this, "environmentalDevices", []);
2587
+ d(this, "hasAudioConferencing");
2588
+ d(this, "hasEnvironmentalControls");
2589
+ d(this, "hasVideoConferencing");
2590
+ d(this, "helpMessage");
2591
+ d(this, "sourceList", {});
2592
+ d(this, "supportsAdvancedSharing");
2593
+ d(this, "uiBehavior");
2594
+ d(this, "userCanChangeShareMode");
2595
+ d(this, "videoCodecIsZoomRoom");
2596
+ d(this, "videoCodecKey");
2597
+ }
2598
+ }
2599
+ class U8 {
2600
+ constructor() {
2601
+ d(this, "deviceKey");
2602
+ d(this, "deviceType");
2603
+ }
2604
+ }
2605
+ class H8 {
2606
+ constructor() {
2607
+ d(this, "currentShareText");
2608
+ d(this, "enabled");
2609
+ d(this, "isSharing");
2610
+ }
2611
+ }
2612
+ const q8 = ({ className: c }) => {
2477
2613
  const [r, t] = r3();
2478
- return H(() => {
2614
+ return Y(() => {
2479
2615
  setInterval(() => {
2480
2616
  const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
2481
2617
  t(l);
2482
2618
  }, 1e3);
2483
- }, []), /* @__PURE__ */ e.jsxs("div", { className: s, children: [
2619
+ }, []), /* @__PURE__ */ e.jsxs("div", { className: c, children: [
2484
2620
  r,
2485
2621
  " new change"
2486
2622
  ] });
2487
2623
  };
2488
2624
  export {
2489
- D8 as Clock,
2490
- r8 as DaysOfWeek,
2491
- _8 as ErrorBox,
2492
- x2 as IconButton,
2493
- M2 as IconMultiAlert,
2494
- p2 as IconMultiBan,
2495
- Z2 as IconMultiCamera,
2496
- m2 as IconMultiCheck,
2497
- j2 as IconMultiDownArrow,
2498
- C2 as IconMultiElipses,
2499
- S2 as IconMultiFlag,
2500
- b2 as IconMultiGear,
2501
- y2 as IconMultiGlass,
2502
- I2 as IconMultiLaptop,
2503
- R2 as IconMultiLeftArrow,
2504
- E2 as IconMultiLight,
2505
- _2 as IconMultiMoon,
2506
- B2 as IconMultiPlaystation,
2507
- L2 as IconMultiPodium,
2508
- A2 as IconMultiPower,
2509
- T2 as IconMultiPrivacy,
2510
- P2 as IconMultiQuestion,
2511
- D2 as IconMultiRightArrow,
2512
- O2 as IconMultiShade,
2513
- V2 as IconMultiSun,
2514
- k2 as IconMultiUpArrow,
2515
- $2 as IconMultiVolDown,
2516
- F2 as IconMultiVolMute,
2517
- W2 as IconMultiVolUp,
2518
- U2 as IconMultiWireless,
2519
- q2 as IconMultiX,
2520
- Y2 as IconMultiXbox,
2521
- L8 as MainLayout,
2522
- P8 as MessageHandler,
2523
- R8 as MobileControlProvider,
2625
+ q8 as Clock,
2626
+ t8 as DaysOfWeek,
2627
+ U8 as EnvironmentalDeviceConfiguration,
2628
+ P8 as ErrorBox,
2629
+ p2 as IconButton,
2630
+ Z2 as IconMultiAlert,
2631
+ m2 as IconMultiBan,
2632
+ j2 as IconMultiCamera,
2633
+ C2 as IconMultiCheck,
2634
+ S2 as IconMultiDownArrow,
2635
+ b2 as IconMultiElipses,
2636
+ y2 as IconMultiFlag,
2637
+ I2 as IconMultiGear,
2638
+ R2 as IconMultiGlass,
2639
+ E2 as IconMultiHdmi,
2640
+ _2 as IconMultiLaptop,
2641
+ B2 as IconMultiLeftArrow,
2642
+ L2 as IconMultiLight,
2643
+ A2 as IconMultiMoon,
2644
+ T2 as IconMultiPlaystation,
2645
+ P2 as IconMultiPodium,
2646
+ D2 as IconMultiPower,
2647
+ O2 as IconMultiPrivacy,
2648
+ V2 as IconMultiQuestion,
2649
+ k2 as IconMultiRightArrow,
2650
+ $2 as IconMultiShade,
2651
+ F2 as IconMultiSun,
2652
+ W2 as IconMultiUpArrow,
2653
+ U2 as IconMultiVolDown,
2654
+ H2 as IconMultiVolMute,
2655
+ q2 as IconMultiVolUp,
2656
+ G2 as IconMultiWireless,
2657
+ Y2 as IconMultiX,
2658
+ K2 as IconMultiXbox,
2659
+ O8 as MainLayout,
2660
+ $8 as MessageHandler,
2661
+ B8 as MobileControlProvider,
2524
2662
  u as MultiStateIconContainer,
2525
- B8 as NamedIconButton,
2526
- A8 as TechLayout,
2527
- T8 as getBaseLocation,
2528
- v3 as httpClient,
2529
- P as store,
2530
- l8 as uiActions,
2531
- Q1 as uiReducer,
2532
- i8 as useApiPath,
2533
- N1 as useAppConfig,
2534
- s2 as useAppDispatch,
2535
- c2 as useClientId,
2536
- E8 as useGetAllDeviceStateFromRoomConfiguration,
2537
- a8 as useGetAllDevices,
2538
- y8 as useGetCurrentPopoverIdForGroup,
2539
- h8 as useGetDevice,
2540
- t2 as useInitialize,
2541
- m8 as useRoomAdvancedSharingActive,
2542
- v8 as useRoomConfiguration,
2543
- x8 as useRoomDestinationKeys,
2544
- f8 as useRoomInCall,
2545
- p8 as useRoomIsCoolingDown,
2546
- Z8 as useRoomIsOn,
2547
- M8 as useRoomIsWarmingUp,
2548
- r2 as useRoomKey,
2549
- g8 as useRoomMasterVolume,
2550
- d8 as useRoomName,
2551
- j8 as useRoomShareState,
2552
- w8 as useRoomSourceList,
2553
- u8 as useRoomState,
2554
- S8 as useShowIncomingCallModal,
2555
- b8 as useShowModal,
2556
- I8 as useShowPopoverById,
2557
- C8 as useShowShutdownModal,
2558
- e2 as useWsIsConnected
2663
+ D8 as NamedIconButton,
2664
+ F8 as PresetChannel,
2665
+ W8 as RoomConfiguration,
2666
+ H8 as ShareState,
2667
+ V8 as TechLayout,
2668
+ k8 as getBaseLocation,
2669
+ h3 as httpClient,
2670
+ D as store,
2671
+ v8 as uiActions,
2672
+ N1 as uiReducer,
2673
+ h8 as useApiPath,
2674
+ e2 as useAppConfig,
2675
+ o2 as useAppDispatch,
2676
+ t2 as useClientId,
2677
+ L8 as useGetAllDeviceStateFromRoomConfiguration,
2678
+ d8 as useGetAllDevices,
2679
+ E8 as useGetCurrentPopoverIdForGroup,
2680
+ r2 as useGetDevice,
2681
+ b8 as useGetRoomDisplays,
2682
+ g2 as useIHasPowerControl,
2683
+ A8 as useIRunDirectRouteAction,
2684
+ n2 as useInitialize,
2685
+ C8 as useRoomAdvancedSharingActive,
2686
+ u8 as useRoomConfiguration,
2687
+ p8 as useRoomDestinationKeys,
2688
+ M8 as useRoomInCall,
2689
+ m8 as useRoomIsCoolingDown,
2690
+ j8 as useRoomIsOn,
2691
+ Z8 as useRoomIsWarmingUp,
2692
+ s2 as useRoomKey,
2693
+ x8 as useRoomMasterVolume,
2694
+ w8 as useRoomName,
2695
+ S8 as useRoomShareState,
2696
+ f8 as useRoomSourceList,
2697
+ g8 as useRoomState,
2698
+ I8 as useShowIncomingCallModal,
2699
+ R8 as useShowModal,
2700
+ _8 as useShowPopoverById,
2701
+ y8 as useShowShutdownModal,
2702
+ T8 as useTwoWayDisplayBase,
2703
+ c2 as useWsIsConnected
2559
2704
  };