@pepperdash/mobile-control-react-app-core 1.12.0 → 1.13.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.
- package/dist/mobile-control-react-app-core.es.js +449 -432
- package/dist/mobile-control-react-app-core.umd.js +11 -11
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/index.d.ts +1 -0
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -0
- package/dist/shared/hooks/useSystemControl.d.ts +5 -0
- package/dist/shared/hooks/useSystemControl.d.ts.map +1 -0
- package/dist/store/rooms/rooms.slice.d.ts +46 -16
- package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
- package/dist/store/rooms/roomsSelectors.d.ts +1 -1
- package/dist/store/rooms/roomsSelectors.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +88 -8
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeSelectors.d.ts +9 -0
- package/dist/store/runtimeConfig/runtimeSelectors.d.ts.map +1 -1
- package/dist/types/classes/room-data.d.ts +12 -1
- package/dist/types/classes/room-data.d.ts.map +1 -1
- package/dist/types/state/AudioControlPointListItemBase.d.ts +10 -0
- package/dist/types/state/AudioControlPointListItemBase.d.ts.map +1 -0
- package/dist/types/state/LevelControlListItem.d.ts +2 -6
- package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
- package/dist/types/state/PresetListItem.d.ts +4 -0
- package/dist/types/state/PresetListItem.d.ts.map +1 -0
- package/dist/types/state/index.d.ts +2 -0
- package/dist/types/state/index.d.ts.map +1 -1
- package/dist/types/state/state/RoomState.d.ts +8 -3
- package/dist/types/state/state/RoomState.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var J3 = Object.defineProperty;
|
|
2
2
|
var X3 = (t, e, s) => e in t ? J3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
|
-
var
|
|
3
|
+
var V = (t, e, s) => (X3(t, typeof e != "symbol" ? e + "" : e, s), s);
|
|
4
4
|
import Q3, { AxiosError as N3 } from "axios";
|
|
5
5
|
import { createSlice as d1, combineReducers as e2, configureStore as u3, createSelector as t2 } from "@reduxjs/toolkit";
|
|
6
6
|
import { useSelector as o2, useDispatch as s2, Provider as n2 } from "react-redux";
|
|
7
7
|
import * as d3 from "lodash";
|
|
8
|
-
import h3, { createContext as
|
|
8
|
+
import h3, { createContext as r2, useState as H, useRef as u1, useCallback as c1, useEffect as t1, useContext as c2, useLayoutEffect as v3 } from "react";
|
|
9
9
|
import { useNavigate as l2, useRouteError as i2, isRouteErrorResponse as a2 } from "react-router-dom";
|
|
10
10
|
const u2 = {
|
|
11
11
|
config: {
|
|
@@ -25,36 +25,36 @@ const u2 = {
|
|
|
25
25
|
t.config = e.payload;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
}), d2 = g3.actions, h2 = g3.reducer,
|
|
28
|
+
}), d2 = g3.actions, h2 = g3.reducer, r3 = {}, f3 = d1({
|
|
29
29
|
name: "devices",
|
|
30
|
-
initialState:
|
|
30
|
+
initialState: r3,
|
|
31
31
|
reducers: {
|
|
32
32
|
setDeviceState(t, e) {
|
|
33
|
-
const s = e.payload.type,
|
|
34
|
-
if (!
|
|
33
|
+
const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
|
|
34
|
+
if (!r)
|
|
35
35
|
return;
|
|
36
|
-
const
|
|
37
|
-
return t[
|
|
36
|
+
const c = e.payload.content, u = t[r] ?? {}, i = d3.merge(u, c);
|
|
37
|
+
return t[r] = i, t;
|
|
38
38
|
},
|
|
39
39
|
clearDevices() {
|
|
40
|
-
return
|
|
40
|
+
return r3;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
}), N = f3.actions, v2 = f3.reducer,
|
|
43
|
+
}), N = f3.actions, v2 = f3.reducer, c3 = {}, w3 = d1({
|
|
44
44
|
name: "rooms",
|
|
45
|
-
initialState:
|
|
45
|
+
initialState: c3,
|
|
46
46
|
reducers: {
|
|
47
47
|
setRoomState(t, e) {
|
|
48
|
-
const s = e.payload.type,
|
|
49
|
-
if (console.log(s,
|
|
48
|
+
const s = e.payload.type, r = s.slice(s.lastIndexOf("/") + 1);
|
|
49
|
+
if (console.log(s, r), !r)
|
|
50
50
|
return;
|
|
51
|
-
const
|
|
52
|
-
console.log(
|
|
53
|
-
const
|
|
54
|
-
return t[
|
|
51
|
+
const c = e.payload.content;
|
|
52
|
+
console.log(c);
|
|
53
|
+
const u = t[r] ?? {}, i = d3.merge(u, c);
|
|
54
|
+
return t[r] = i, console.log(t), t;
|
|
55
55
|
},
|
|
56
56
|
clearRooms() {
|
|
57
|
-
return
|
|
57
|
+
return c3;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}), e1 = w3.actions, g2 = w3.reducer, f2 = {
|
|
@@ -74,7 +74,14 @@ const u2 = {
|
|
|
74
74
|
systemUuid: "",
|
|
75
75
|
roomUuid: "",
|
|
76
76
|
userAppUrl: "",
|
|
77
|
-
config:
|
|
77
|
+
config: {
|
|
78
|
+
runtimeInfo: {
|
|
79
|
+
pluginVersion: "",
|
|
80
|
+
essentialsVersion: "",
|
|
81
|
+
pepperDashCoreVersion: "",
|
|
82
|
+
essentialsPlugins: []
|
|
83
|
+
}
|
|
84
|
+
},
|
|
78
85
|
userCode: "",
|
|
79
86
|
qrUrl: ""
|
|
80
87
|
}
|
|
@@ -162,7 +169,7 @@ const Y8 = (t) => p(
|
|
|
162
169
|
var s;
|
|
163
170
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.configuration : void 0;
|
|
164
171
|
}
|
|
165
|
-
),
|
|
172
|
+
), A1 = (t) => p(
|
|
166
173
|
(e) => e.rooms[t] ? e.rooms[t] : void 0
|
|
167
174
|
), z8 = (t) => p(
|
|
168
175
|
(e) => {
|
|
@@ -171,45 +178,45 @@ const Y8 = (t) => p(
|
|
|
171
178
|
}
|
|
172
179
|
), j2 = (t, e) => p(
|
|
173
180
|
(s) => {
|
|
174
|
-
var
|
|
175
|
-
return s.rooms[t] ? (
|
|
181
|
+
var r;
|
|
182
|
+
return s.rooms[t] ? (r = s.rooms[t]) == null ? void 0 : r.volumes[e] : void 0;
|
|
176
183
|
}
|
|
177
184
|
), C2 = (t) => p(
|
|
178
185
|
(e) => e.rooms[t] ? e.rooms[t] : void 0
|
|
179
186
|
), J8 = (t) => p(
|
|
180
187
|
(e) => {
|
|
181
|
-
var s,
|
|
182
|
-
return e.rooms[t] ? (
|
|
188
|
+
var s, r;
|
|
189
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.sourceList : void 0;
|
|
183
190
|
}
|
|
184
191
|
), X8 = (t) => p(
|
|
185
192
|
(e) => {
|
|
186
|
-
var s,
|
|
187
|
-
return e.rooms[t] ? (
|
|
193
|
+
var s, r;
|
|
194
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.audioControlPointList : void 0;
|
|
188
195
|
}
|
|
189
196
|
), Q8 = (t) => p(
|
|
190
197
|
(e) => {
|
|
191
|
-
var s,
|
|
192
|
-
return e.rooms[t] ? (
|
|
198
|
+
var s, r;
|
|
199
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations : void 0;
|
|
193
200
|
}
|
|
194
201
|
), N8 = (t) => p(
|
|
195
202
|
(e) => {
|
|
196
|
-
var s,
|
|
197
|
-
return e.rooms[t] ? (
|
|
203
|
+
var s, r;
|
|
204
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList : void 0;
|
|
198
205
|
}
|
|
199
206
|
), e6 = (t) => p(
|
|
200
207
|
(e) => {
|
|
201
|
-
var s,
|
|
202
|
-
return e.rooms[t] ? (
|
|
208
|
+
var s, r;
|
|
209
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.environmentalDevices : void 0;
|
|
203
210
|
}
|
|
204
211
|
), t6 = (t) => p(
|
|
205
212
|
(e) => {
|
|
206
|
-
var s, c,
|
|
207
|
-
return (
|
|
213
|
+
var s, r, c, u, i, g, f, w;
|
|
214
|
+
return (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) != null && r.destinationList.programAudio ? (i = (u = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : u.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((w = (f = (g = e.rooms[t]) == null ? void 0 : g.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
|
|
208
215
|
}
|
|
209
216
|
), o6 = (t) => p(
|
|
210
217
|
(e) => {
|
|
211
|
-
var s,
|
|
212
|
-
return e.rooms[t] ? (
|
|
218
|
+
var s, r, c;
|
|
219
|
+
return e.rooms[t] ? (c = (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinationList.codecContent) == null ? void 0 : c.sinkKey : void 0;
|
|
213
220
|
}
|
|
214
221
|
), s6 = (t) => p(
|
|
215
222
|
(e) => {
|
|
@@ -221,12 +228,12 @@ const Y8 = (t) => p(
|
|
|
221
228
|
var s;
|
|
222
229
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isWarmingUp : void 0;
|
|
223
230
|
}
|
|
224
|
-
),
|
|
231
|
+
), r6 = (t) => p(
|
|
225
232
|
(e) => {
|
|
226
233
|
var s;
|
|
227
234
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isCoolingDown : void 0;
|
|
228
235
|
}
|
|
229
|
-
),
|
|
236
|
+
), c6 = (t) => p(
|
|
230
237
|
(e) => {
|
|
231
238
|
var s;
|
|
232
239
|
return e.rooms[t] ? (s = e.rooms[t]) == null ? void 0 : s.isOn : void 0;
|
|
@@ -246,43 +253,46 @@ const Y8 = (t) => p(
|
|
|
246
253
|
(e, s) => s,
|
|
247
254
|
Z2,
|
|
248
255
|
(e) => {
|
|
249
|
-
var s,
|
|
250
|
-
return (
|
|
256
|
+
var s, r;
|
|
257
|
+
return (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.destinations;
|
|
251
258
|
}
|
|
252
259
|
],
|
|
253
|
-
(e, s,
|
|
254
|
-
if (console.log("roomKey", e), console.log("devices", s), console.log("destinations",
|
|
260
|
+
(e, s, r) => {
|
|
261
|
+
if (console.log("roomKey", e), console.log("devices", s), console.log("destinations", r), !r)
|
|
255
262
|
return;
|
|
256
|
-
const
|
|
257
|
-
return Object.values(s).filter((
|
|
263
|
+
const c = Object.entries(r).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
|
|
264
|
+
return Object.values(s).filter((i) => Object.values(c).includes(i.key));
|
|
258
265
|
}
|
|
259
266
|
)($1.getState(), t), u6 = (t) => p(
|
|
260
267
|
(e) => {
|
|
261
|
-
var s,
|
|
262
|
-
return e.rooms[t] ? (
|
|
268
|
+
var s, r;
|
|
269
|
+
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.zoomRoomControllerKey : void 0;
|
|
263
270
|
}
|
|
264
|
-
), S2 = () => p((t) => t.runtimeConfig.websocket.isConnected), b2 = () => p((t) => t.runtimeConfig.currentRoomKey), I2 = () => p((t) => t.runtimeConfig.roomData.clientId), y2 = () => p((t) => t.runtimeConfig.roomData.systemUuid), R2 = () => p((t) => t.runtimeConfig.roomData.userCode), E2 = () => p((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), d6 = () => p((t) =>
|
|
271
|
+
), S2 = () => p((t) => t.runtimeConfig.websocket.isConnected), b2 = () => p((t) => t.runtimeConfig.currentRoomKey), I2 = () => p((t) => t.runtimeConfig.roomData.clientId), y2 = () => p((t) => t.runtimeConfig.roomData.systemUuid), R2 = () => p((t) => t.runtimeConfig.roomData.userCode), E2 = () => p((t) => t.runtimeConfig.serverIsRunningOnProcessorHardware), d6 = () => p((t) => {
|
|
272
|
+
var e;
|
|
273
|
+
return (e = t.runtimeConfig.roomData.config) == null ? void 0 : e.runtimeInfo;
|
|
274
|
+
}), h6 = () => p((t) => t.runtimeConfig.touchpanelKey), v6 = () => p((t) => t.runtimeConfig.touchpanelKey !== ""), g6 = () => p((t) => t.ui.modalVisibility.showShutdownModal), f6 = () => p((t) => t.ui.modalVisibility.showIncomingCallModal), w6 = (t) => p((e) => e.ui.modalVisibility[t]), p6 = (t) => p((e) => {
|
|
265
275
|
const s = e.ui.popoverVisibility[t];
|
|
266
276
|
if (s)
|
|
267
|
-
return Object.keys(s).find((
|
|
268
|
-
}),
|
|
269
|
-
var
|
|
270
|
-
return (
|
|
277
|
+
return Object.keys(s).find((r) => s[r]);
|
|
278
|
+
}), x6 = (t, e) => p((s) => {
|
|
279
|
+
var r;
|
|
280
|
+
return (r = s.ui.popoverVisibility[t]) == null ? void 0 : r[e];
|
|
271
281
|
}), _2 = () => p((t) => t.ui.error), L2 = () => p((t) => t.ui.showReconnect), C = u3({
|
|
272
282
|
reducer: M3
|
|
273
|
-
}), $2 = s2,
|
|
274
|
-
function
|
|
283
|
+
}), $2 = s2, P1 = Q3.create();
|
|
284
|
+
function P2() {
|
|
275
285
|
const t = $2();
|
|
276
286
|
return async () => {
|
|
277
287
|
try {
|
|
278
|
-
const e = location.pathname.split("/").filter((
|
|
288
|
+
const e = location.pathname.split("/").filter((c) => c.length > 0);
|
|
279
289
|
e.length >= 5 ? e.length = 5 : e.length = 2;
|
|
280
|
-
const s = `/${e.join("/")}`,
|
|
281
|
-
if (
|
|
282
|
-
const
|
|
283
|
-
t(d2.setAppConfig(
|
|
284
|
-
const
|
|
285
|
-
|
|
290
|
+
const s = `/${e.join("/")}`, r = await P1.get("/_local-config/_config.local.json", { baseURL: s });
|
|
291
|
+
if (r.status == 200 && r.data) {
|
|
292
|
+
const c = r.data.apiPath;
|
|
293
|
+
t(d2.setAppConfig(r.data));
|
|
294
|
+
const u = await P1.get(`${c}/version`);
|
|
295
|
+
u.status == 200 && u.data && t(W.setRuntimeConfig(u.data));
|
|
286
296
|
}
|
|
287
297
|
} catch (e) {
|
|
288
298
|
console.error("Error getting config", e);
|
|
@@ -290,7 +300,7 @@ function T2() {
|
|
|
290
300
|
return !0;
|
|
291
301
|
};
|
|
292
302
|
}
|
|
293
|
-
var
|
|
303
|
+
var T1 = { exports: {} }, l1 = {};
|
|
294
304
|
/**
|
|
295
305
|
* @license React
|
|
296
306
|
* react-jsx-runtime.development.js
|
|
@@ -301,16 +311,16 @@ var D1 = { exports: {} }, l1 = {};
|
|
|
301
311
|
* LICENSE file in the root directory of this source tree.
|
|
302
312
|
*/
|
|
303
313
|
var l3;
|
|
304
|
-
function
|
|
314
|
+
function T2() {
|
|
305
315
|
return l3 || (l3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
306
|
-
var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.portal"),
|
|
316
|
+
var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), O = Symbol.iterator, z = "@@iterator";
|
|
307
317
|
function o1(n) {
|
|
308
318
|
if (n === null || typeof n != "object")
|
|
309
319
|
return null;
|
|
310
|
-
var l =
|
|
320
|
+
var l = O && n[O] || n[z];
|
|
311
321
|
return typeof l == "function" ? l : null;
|
|
312
322
|
}
|
|
313
|
-
var
|
|
323
|
+
var P = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
314
324
|
function L(n) {
|
|
315
325
|
{
|
|
316
326
|
for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
|
|
@@ -320,7 +330,7 @@ function D2() {
|
|
|
320
330
|
}
|
|
321
331
|
function x1(n, l, a) {
|
|
322
332
|
{
|
|
323
|
-
var h =
|
|
333
|
+
var h = P.ReactDebugCurrentFrame, j = h.getStackAddendum();
|
|
324
334
|
j !== "" && (l += "%s", a = a.concat([j]));
|
|
325
335
|
var S = a.map(function(M) {
|
|
326
336
|
return String(M);
|
|
@@ -330,8 +340,8 @@ function D2() {
|
|
|
330
340
|
}
|
|
331
341
|
var M1 = !1, y = !1, Z = !1, h1 = !1, m1 = !1, K;
|
|
332
342
|
K = Symbol.for("react.module.reference");
|
|
333
|
-
function
|
|
334
|
-
return !!(typeof n == "string" || typeof n == "function" || n ===
|
|
343
|
+
function A(n) {
|
|
344
|
+
return !!(typeof n == "string" || typeof n == "function" || n === r || n === u || m1 || n === c || n === w || n === d || h1 || n === F || M1 || y || Z || typeof n == "object" && n !== null && (n.$$typeof === T || n.$$typeof === b || n.$$typeof === i || n.$$typeof === g || n.$$typeof === f || // This needs to include all possible module reference object
|
|
335
345
|
// types supported by any Flight configuration anywhere since
|
|
336
346
|
// we don't know which Flight build this will end up being used
|
|
337
347
|
// with.
|
|
@@ -355,13 +365,13 @@ function D2() {
|
|
|
355
365
|
if (typeof n == "string")
|
|
356
366
|
return n;
|
|
357
367
|
switch (n) {
|
|
358
|
-
case
|
|
368
|
+
case r:
|
|
359
369
|
return "Fragment";
|
|
360
370
|
case s:
|
|
361
371
|
return "Portal";
|
|
362
|
-
case
|
|
372
|
+
case u:
|
|
363
373
|
return "Profiler";
|
|
364
|
-
case
|
|
374
|
+
case c:
|
|
365
375
|
return "StrictMode";
|
|
366
376
|
case w:
|
|
367
377
|
return "Suspense";
|
|
@@ -373,7 +383,7 @@ function D2() {
|
|
|
373
383
|
case g:
|
|
374
384
|
var l = n;
|
|
375
385
|
return J(l) + ".Consumer";
|
|
376
|
-
case
|
|
386
|
+
case i:
|
|
377
387
|
var a = n;
|
|
378
388
|
return J(a._context) + ".Provider";
|
|
379
389
|
case f:
|
|
@@ -381,7 +391,7 @@ function D2() {
|
|
|
381
391
|
case b:
|
|
382
392
|
var h = n.displayName || null;
|
|
383
393
|
return h !== null ? h : k(n.type) || "Memo";
|
|
384
|
-
case
|
|
394
|
+
case T: {
|
|
385
395
|
var j = n, S = j._payload, M = j._init;
|
|
386
396
|
try {
|
|
387
397
|
return k(M(S));
|
|
@@ -454,7 +464,7 @@ function D2() {
|
|
|
454
464
|
s1 < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
455
465
|
}
|
|
456
466
|
}
|
|
457
|
-
var Z1 =
|
|
467
|
+
var Z1 = P.ReactCurrentDispatcher, j1;
|
|
458
468
|
function v1(n, l, a) {
|
|
459
469
|
{
|
|
460
470
|
if (j1 === void 0)
|
|
@@ -499,37 +509,37 @@ function D2() {
|
|
|
499
509
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
500
510
|
try {
|
|
501
511
|
Reflect.construct(M, []);
|
|
502
|
-
} catch (
|
|
503
|
-
h =
|
|
512
|
+
} catch (B) {
|
|
513
|
+
h = B;
|
|
504
514
|
}
|
|
505
515
|
Reflect.construct(n, [], M);
|
|
506
516
|
} else {
|
|
507
517
|
try {
|
|
508
518
|
M.call();
|
|
509
|
-
} catch (
|
|
510
|
-
h =
|
|
519
|
+
} catch (B) {
|
|
520
|
+
h = B;
|
|
511
521
|
}
|
|
512
522
|
n.call(M.prototype);
|
|
513
523
|
}
|
|
514
524
|
} else {
|
|
515
525
|
try {
|
|
516
526
|
throw Error();
|
|
517
|
-
} catch (
|
|
518
|
-
h =
|
|
527
|
+
} catch (B) {
|
|
528
|
+
h = B;
|
|
519
529
|
}
|
|
520
530
|
n();
|
|
521
531
|
}
|
|
522
|
-
} catch (
|
|
523
|
-
if (
|
|
524
|
-
for (var x =
|
|
525
|
-
`),
|
|
526
|
-
`), E = x.length - 1, _ =
|
|
532
|
+
} catch (B) {
|
|
533
|
+
if (B && h && typeof B.stack == "string") {
|
|
534
|
+
for (var x = B.stack.split(`
|
|
535
|
+
`), D = h.stack.split(`
|
|
536
|
+
`), E = x.length - 1, _ = D.length - 1; E >= 1 && _ >= 0 && x[E] !== D[_]; )
|
|
527
537
|
_--;
|
|
528
538
|
for (; E >= 1 && _ >= 0; E--, _--)
|
|
529
|
-
if (x[E] !==
|
|
539
|
+
if (x[E] !== D[_]) {
|
|
530
540
|
if (E !== 1 || _ !== 1)
|
|
531
541
|
do
|
|
532
|
-
if (E--, _--, _ < 0 || x[E] !==
|
|
542
|
+
if (E--, _--, _ < 0 || x[E] !== D[_]) {
|
|
533
543
|
var U = `
|
|
534
544
|
` + x[E].replace(" at new ", " at ");
|
|
535
545
|
return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && g1.set(n, U), U;
|
|
@@ -570,7 +580,7 @@ function D2() {
|
|
|
570
580
|
return I3(n.render);
|
|
571
581
|
case b:
|
|
572
582
|
return f1(n.type, l, a);
|
|
573
|
-
case
|
|
583
|
+
case T: {
|
|
574
584
|
var h = n, j = h._payload, S = h._init;
|
|
575
585
|
try {
|
|
576
586
|
return f1(S(j), l, a);
|
|
@@ -580,7 +590,7 @@ function D2() {
|
|
|
580
590
|
}
|
|
581
591
|
return "";
|
|
582
592
|
}
|
|
583
|
-
var n1 = Object.prototype.hasOwnProperty, G1 = {}, q1 =
|
|
593
|
+
var n1 = Object.prototype.hasOwnProperty, G1 = {}, q1 = P.ReactDebugCurrentFrame;
|
|
584
594
|
function w1(n) {
|
|
585
595
|
if (n) {
|
|
586
596
|
var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
|
|
@@ -596,8 +606,8 @@ function D2() {
|
|
|
596
606
|
var x = void 0;
|
|
597
607
|
try {
|
|
598
608
|
if (typeof n[M] != "function") {
|
|
599
|
-
var
|
|
600
|
-
throw
|
|
609
|
+
var D = Error((h || "React class") + ": " + a + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
610
|
+
throw D.name = "Invariant Violation", D;
|
|
601
611
|
}
|
|
602
612
|
x = n[M](l, M, h, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
603
613
|
} catch (E) {
|
|
@@ -631,14 +641,14 @@ function D2() {
|
|
|
631
641
|
if (L3(n))
|
|
632
642
|
return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _3(n)), Y1(n);
|
|
633
643
|
}
|
|
634
|
-
var
|
|
644
|
+
var r1 = P.ReactCurrentOwner, $3 = {
|
|
635
645
|
key: !0,
|
|
636
646
|
ref: !0,
|
|
637
647
|
__self: !0,
|
|
638
648
|
__source: !0
|
|
639
649
|
}, J1, X1, b1;
|
|
640
650
|
b1 = {};
|
|
641
|
-
function
|
|
651
|
+
function P3(n) {
|
|
642
652
|
if (n1.call(n, "ref")) {
|
|
643
653
|
var l = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
644
654
|
if (l && l.isReactWarning)
|
|
@@ -646,7 +656,7 @@ function D2() {
|
|
|
646
656
|
}
|
|
647
657
|
return n.ref !== void 0;
|
|
648
658
|
}
|
|
649
|
-
function
|
|
659
|
+
function T3(n) {
|
|
650
660
|
if (n1.call(n, "key")) {
|
|
651
661
|
var l = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
652
662
|
if (l && l.isReactWarning)
|
|
@@ -654,13 +664,13 @@ function D2() {
|
|
|
654
664
|
}
|
|
655
665
|
return n.key !== void 0;
|
|
656
666
|
}
|
|
657
|
-
function
|
|
658
|
-
if (typeof n.ref == "string" &&
|
|
659
|
-
var a = k(
|
|
660
|
-
b1[a] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(
|
|
667
|
+
function D3(n, l) {
|
|
668
|
+
if (typeof n.ref == "string" && r1.current && l && r1.current.stateNode !== l) {
|
|
669
|
+
var a = k(r1.current.type);
|
|
670
|
+
b1[a] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(r1.current.type), n.ref), b1[a] = !0);
|
|
661
671
|
}
|
|
662
672
|
}
|
|
663
|
-
function
|
|
673
|
+
function A3(n, l) {
|
|
664
674
|
{
|
|
665
675
|
var a = function() {
|
|
666
676
|
J1 || (J1 = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
@@ -713,8 +723,8 @@ function D2() {
|
|
|
713
723
|
};
|
|
714
724
|
function V3(n, l, a, h, j) {
|
|
715
725
|
{
|
|
716
|
-
var S, M = {}, x = null,
|
|
717
|
-
a !== void 0 && (z1(a), x = "" + a),
|
|
726
|
+
var S, M = {}, x = null, D = null;
|
|
727
|
+
a !== void 0 && (z1(a), x = "" + a), T3(l) && (z1(l.key), x = "" + l.key), P3(l) && (D = l.ref, D3(l, j));
|
|
718
728
|
for (S in l)
|
|
719
729
|
n1.call(l, S) && !$3.hasOwnProperty(S) && (M[S] = l[S]);
|
|
720
730
|
if (n && n.defaultProps) {
|
|
@@ -722,14 +732,14 @@ function D2() {
|
|
|
722
732
|
for (S in E)
|
|
723
733
|
M[S] === void 0 && (M[S] = E[S]);
|
|
724
734
|
}
|
|
725
|
-
if (x ||
|
|
735
|
+
if (x || D) {
|
|
726
736
|
var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
727
|
-
x &&
|
|
737
|
+
x && A3(M, _), D && B3(M, _);
|
|
728
738
|
}
|
|
729
|
-
return O3(n, x,
|
|
739
|
+
return O3(n, x, D, j, h, r1.current, M);
|
|
730
740
|
}
|
|
731
741
|
}
|
|
732
|
-
var I1 =
|
|
742
|
+
var I1 = P.ReactCurrentOwner, Q1 = P.ReactDebugCurrentFrame;
|
|
733
743
|
function X(n) {
|
|
734
744
|
if (n) {
|
|
735
745
|
var l = n._owner, a = f1(n.type, n._source, l ? l.type : null);
|
|
@@ -850,12 +860,12 @@ Check the top-level render call using <` + a + ">.");
|
|
|
850
860
|
var s3 = {};
|
|
851
861
|
function n3(n, l, a, h, j, S) {
|
|
852
862
|
{
|
|
853
|
-
var M =
|
|
863
|
+
var M = A(n);
|
|
854
864
|
if (!M) {
|
|
855
865
|
var x = "";
|
|
856
866
|
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
857
|
-
var
|
|
858
|
-
|
|
867
|
+
var D = k3(j);
|
|
868
|
+
D ? x += D : x += N1();
|
|
859
869
|
var E;
|
|
860
870
|
n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (k(n.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : E = typeof n, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, x);
|
|
861
871
|
}
|
|
@@ -876,11 +886,11 @@ Check the top-level render call using <` + a + ">.");
|
|
|
876
886
|
o3(U, n);
|
|
877
887
|
}
|
|
878
888
|
if (n1.call(l, "key")) {
|
|
879
|
-
var Y = k(n),
|
|
889
|
+
var Y = k(n), B = Object.keys(l).filter(function(z3) {
|
|
880
890
|
return z3 !== "key";
|
|
881
|
-
}), E1 =
|
|
891
|
+
}), E1 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
882
892
|
if (!s3[Y + E1]) {
|
|
883
|
-
var Y3 =
|
|
893
|
+
var Y3 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
884
894
|
L(`A props object containing a "key" prop is being spread into JSX:
|
|
885
895
|
let props = %s;
|
|
886
896
|
<%s {...props} />
|
|
@@ -889,7 +899,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
889
899
|
<%s key={someKey} {...props} />`, E1, Y, Y3, Y), s3[Y + E1] = !0;
|
|
890
900
|
}
|
|
891
901
|
}
|
|
892
|
-
return n ===
|
|
902
|
+
return n === r ? W3(_) : F3(_), _;
|
|
893
903
|
}
|
|
894
904
|
}
|
|
895
905
|
function H3(n, l, a) {
|
|
@@ -899,7 +909,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
899
909
|
return n3(n, l, a, !1);
|
|
900
910
|
}
|
|
901
911
|
var G3 = K3, q3 = H3;
|
|
902
|
-
l1.Fragment =
|
|
912
|
+
l1.Fragment = r, l1.jsx = G3, l1.jsxs = q3;
|
|
903
913
|
}()), l1;
|
|
904
914
|
}
|
|
905
915
|
var i1 = {};
|
|
@@ -913,27 +923,27 @@ var i1 = {};
|
|
|
913
923
|
* LICENSE file in the root directory of this source tree.
|
|
914
924
|
*/
|
|
915
925
|
var i3;
|
|
916
|
-
function
|
|
926
|
+
function D2() {
|
|
917
927
|
if (i3)
|
|
918
928
|
return i1;
|
|
919
929
|
i3 = 1;
|
|
920
|
-
var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"),
|
|
921
|
-
function
|
|
922
|
-
var d, b = {},
|
|
923
|
-
w !== void 0 && (
|
|
930
|
+
var t = h3, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
931
|
+
function i(g, f, w) {
|
|
932
|
+
var d, b = {}, T = null, F = null;
|
|
933
|
+
w !== void 0 && (T = "" + w), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (F = f.ref);
|
|
924
934
|
for (d in f)
|
|
925
|
-
|
|
935
|
+
r.call(f, d) && !u.hasOwnProperty(d) && (b[d] = f[d]);
|
|
926
936
|
if (g && g.defaultProps)
|
|
927
937
|
for (d in f = g.defaultProps, f)
|
|
928
938
|
b[d] === void 0 && (b[d] = f[d]);
|
|
929
|
-
return { $$typeof: e, type: g, key:
|
|
939
|
+
return { $$typeof: e, type: g, key: T, ref: F, props: b, _owner: c.current };
|
|
930
940
|
}
|
|
931
|
-
return i1.Fragment = s, i1.jsx =
|
|
941
|
+
return i1.Fragment = s, i1.jsx = i, i1.jsxs = i, i1;
|
|
932
942
|
}
|
|
933
|
-
process.env.NODE_ENV === "production" ?
|
|
934
|
-
var o =
|
|
935
|
-
const
|
|
936
|
-
mwfit:
|
|
943
|
+
process.env.NODE_ENV === "production" ? T1.exports = D2() : T1.exports = T2();
|
|
944
|
+
var o = T1.exports;
|
|
945
|
+
const A2 = "_mwfit_ppa3l_1", B2 = {
|
|
946
|
+
mwfit: A2
|
|
937
947
|
}, O2 = () => {
|
|
938
948
|
const { reconnect: t } = I(), e = _2(), s = L2();
|
|
939
949
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${B2.mwfit} mx-auto text-center`, children: [
|
|
@@ -944,13 +954,13 @@ const P2 = "_mwfit_ppa3l_1", B2 = {
|
|
|
944
954
|
};
|
|
945
955
|
class V2 {
|
|
946
956
|
constructor() {
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
957
|
+
V(this, "uuid", "current-uuid");
|
|
958
|
+
V(this, "roomKey", "current-room-key");
|
|
959
|
+
V(this, "code", "current-code");
|
|
960
|
+
V(this, "expiry", "current-uuid-expires");
|
|
951
961
|
}
|
|
952
962
|
}
|
|
953
|
-
const a3 = new V2(), m3 =
|
|
963
|
+
const a3 = new V2(), m3 = r2({
|
|
954
964
|
sendMessage: () => null,
|
|
955
965
|
sendSimpleMessage: () => null,
|
|
956
966
|
addEventHandler: () => null,
|
|
@@ -964,55 +974,56 @@ function U2(t, e) {
|
|
|
964
974
|
sessionStorage.setItem(t, e);
|
|
965
975
|
}
|
|
966
976
|
const F2 = ({ children: t }) => {
|
|
967
|
-
const [e, s] = H(),
|
|
977
|
+
const [e, s] = H(), r = S2(), c = b2(), u = I2(), i = P2(), g = m2(), f = y2(), w = R2(), d = E2(), b = u1(null), [T, F] = H(), O = u1({}), z = c1(
|
|
968
978
|
async (y) => {
|
|
969
979
|
try {
|
|
970
|
-
const Z = await
|
|
980
|
+
const Z = await P1.get(`${y}/ui/joinroom?token=${e}`);
|
|
971
981
|
return Z.status === 200 && Z.data ? (C.dispatch(W.setRoomData(Z.data)), !0) : !1;
|
|
972
982
|
} catch (Z) {
|
|
973
983
|
return console.log(Z), d ? !0 : Z instanceof N3 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C.dispatch(q.setErrorMessage(`Token ${e} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", Z), Z instanceof Error ? C.dispatch(q.setErrorMessage(Z.message)) : C.dispatch(q.setErrorMessage("Error getting room data")), !1);
|
|
974
984
|
}
|
|
975
985
|
},
|
|
976
986
|
[e, d]
|
|
977
|
-
), o1 =
|
|
978
|
-
const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${
|
|
987
|
+
), o1 = c1(() => {
|
|
988
|
+
const y = `${g.gatewayAppPath}?uuid=${f}&roomKey=${c}`;
|
|
979
989
|
window.location.href = w ? `${y}&Code=${w}` : y;
|
|
980
|
-
}, [g.gatewayAppPath,
|
|
990
|
+
}, [g.gatewayAppPath, c, f, w]), P = c1(
|
|
981
991
|
(y, Z) => {
|
|
982
|
-
b.current &&
|
|
992
|
+
b.current && r && b.current.send(JSON.stringify({ type: y, clientId: u, content: Z }));
|
|
983
993
|
},
|
|
984
|
-
[
|
|
994
|
+
[r, u]
|
|
985
995
|
), L = (y, Z) => {
|
|
986
|
-
|
|
987
|
-
}, x1 =
|
|
996
|
+
P(y, { value: Z });
|
|
997
|
+
}, x1 = c1(
|
|
988
998
|
(y, Z, h1) => {
|
|
989
|
-
|
|
999
|
+
O.current[y] || (O.current[y] = {}), O.current[y][Z] = h1, console.log("event handler added", y, Z);
|
|
990
1000
|
},
|
|
991
1001
|
[]
|
|
992
|
-
), M1 =
|
|
993
|
-
|
|
1002
|
+
), M1 = c1((y, Z) => {
|
|
1003
|
+
O.current[y] && (delete O.current[y][Z], console.log("event handler removed", y, Z));
|
|
994
1004
|
}, []);
|
|
995
1005
|
return t1(() => {
|
|
996
1006
|
let Z = new URLSearchParams(window.location.search).get("token");
|
|
997
|
-
Z ? (console.log("saving token: ", Z), U2(a3.uuid, Z)) : (Z = k2(a3.uuid), console.log("loading token: ", Z)), s(Z),
|
|
1007
|
+
Z ? (console.log("saving token: ", Z), U2(a3.uuid, Z)) : (Z = k2(a3.uuid), console.log("loading token: ", Z)), s(Z), i();
|
|
998
1008
|
}, []), t1(() => {
|
|
999
1009
|
async function y() {
|
|
1000
|
-
if (console.log("effect is running"), !(!g.apiPath ||
|
|
1010
|
+
if (console.log("effect is running"), !(!g.apiPath || T || !e || !await z(g.apiPath)) && !b.current) {
|
|
1011
|
+
console.log("connecting to websocket");
|
|
1001
1012
|
const m1 = `${g.apiPath.replace("http", "ws")}/ui/join/${e}`, K = new WebSocket(m1);
|
|
1002
|
-
b.current = K, K.onopen = (
|
|
1003
|
-
console.log("connected",
|
|
1004
|
-
}, K.onerror = (
|
|
1005
|
-
console.log(
|
|
1006
|
-
}, K.onclose = (
|
|
1007
|
-
if (console.log("disconnected: ",
|
|
1013
|
+
b.current = K, K.onopen = (A) => {
|
|
1014
|
+
console.log("connected", A.type, A.target), C.dispatch(W.setWebsocketIsConnected(!0));
|
|
1015
|
+
}, K.onerror = (A) => {
|
|
1016
|
+
console.log(A);
|
|
1017
|
+
}, K.onclose = (A) => {
|
|
1018
|
+
if (console.log("disconnected: ", A.reason, A.code), A.code === 4e3) {
|
|
1008
1019
|
console.log("user code changed"), C.dispatch(W.setUserCode({ userCode: "", qrUrl: "" })), C.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
|
|
1009
1020
|
return;
|
|
1010
1021
|
}
|
|
1011
|
-
if (
|
|
1022
|
+
if (A.code === 4001 && !d) {
|
|
1012
1023
|
console.log("processor disconnected"), C.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
|
|
1013
1024
|
return;
|
|
1014
1025
|
}
|
|
1015
|
-
if (
|
|
1026
|
+
if (A.code === 4002) {
|
|
1016
1027
|
console.log("room combination changed"), C.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), C.dispatch(q.setShowReconnect(!0)), C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms());
|
|
1017
1028
|
return;
|
|
1018
1029
|
}
|
|
@@ -1022,10 +1033,10 @@ const F2 = ({ children: t }) => {
|
|
|
1022
1033
|
console.log("WebSocket closed by client.");
|
|
1023
1034
|
return;
|
|
1024
1035
|
}
|
|
1025
|
-
|
|
1026
|
-
}, K.onmessage = (
|
|
1036
|
+
T || (C.dispatch(W.setWebsocketIsConnected(!1)), C.dispatch(N.clearDevices()), C.dispatch(e1.clearRooms()), F(!0), setTimeout(() => F(void 0), 5e3));
|
|
1037
|
+
}, K.onmessage = (A) => {
|
|
1027
1038
|
try {
|
|
1028
|
-
const R = JSON.parse(
|
|
1039
|
+
const R = JSON.parse(A.data);
|
|
1029
1040
|
if (console.log(R), R.type === "close") {
|
|
1030
1041
|
K.close(4001, R.content);
|
|
1031
1042
|
return;
|
|
@@ -1062,7 +1073,7 @@ const F2 = ({ children: t }) => {
|
|
|
1062
1073
|
}
|
|
1063
1074
|
else if (R.type.startsWith("/event/")) {
|
|
1064
1075
|
console.log("event message received", R);
|
|
1065
|
-
const J =
|
|
1076
|
+
const J = O.current[R.type];
|
|
1066
1077
|
J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((k) => {
|
|
1067
1078
|
try {
|
|
1068
1079
|
k(R);
|
|
@@ -1081,80 +1092,80 @@ const F2 = ({ children: t }) => {
|
|
|
1081
1092
|
return y(), () => {
|
|
1082
1093
|
b.current && b.current.close(), b.current = null;
|
|
1083
1094
|
};
|
|
1084
|
-
}, [g.apiPath, z, e,
|
|
1085
|
-
!
|
|
1086
|
-
}, [
|
|
1095
|
+
}, [g.apiPath, z, e, T, d]), t1(() => {
|
|
1096
|
+
!c || !r || (console.log("clientId: ", u), u && (console.log("requesting status from room: ", c), P(`/room/${c}/status`, null)));
|
|
1097
|
+
}, [c, u, r, P]), /* @__PURE__ */ o.jsx(
|
|
1087
1098
|
m3.Provider,
|
|
1088
1099
|
{
|
|
1089
1100
|
value: {
|
|
1090
|
-
sendMessage:
|
|
1101
|
+
sendMessage: P,
|
|
1091
1102
|
sendSimpleMessage: L,
|
|
1092
1103
|
addEventHandler: x1,
|
|
1093
1104
|
removeEventHandler: M1,
|
|
1094
1105
|
reconnect: o1
|
|
1095
1106
|
},
|
|
1096
|
-
children:
|
|
1107
|
+
children: r ? t : /* @__PURE__ */ o.jsx(O2, {})
|
|
1097
1108
|
}
|
|
1098
1109
|
);
|
|
1099
|
-
},
|
|
1110
|
+
}, M6 = ({ children: t }) => /* @__PURE__ */ o.jsx(n2, { store: C, children: /* @__PURE__ */ o.jsx(F2, { children: t }) });
|
|
1100
1111
|
function I() {
|
|
1101
|
-
return
|
|
1112
|
+
return c2(m3);
|
|
1102
1113
|
}
|
|
1103
1114
|
function W2({
|
|
1104
1115
|
onPress: t,
|
|
1105
1116
|
onRelease: e,
|
|
1106
1117
|
onHold: s,
|
|
1107
|
-
holdTimeMs:
|
|
1118
|
+
holdTimeMs: r = 500
|
|
1108
1119
|
}) {
|
|
1109
|
-
const
|
|
1110
|
-
function
|
|
1111
|
-
|
|
1112
|
-
s == null || s(),
|
|
1113
|
-
},
|
|
1120
|
+
const c = u1(null), u = u1(!1);
|
|
1121
|
+
function i() {
|
|
1122
|
+
u.current = !0, t == null || t(), c.current = setTimeout(() => {
|
|
1123
|
+
s == null || s(), c.current = null;
|
|
1124
|
+
}, r);
|
|
1114
1125
|
}
|
|
1115
1126
|
function g() {
|
|
1116
|
-
|
|
1127
|
+
u.current = !1, e == null || e(), c.current && (clearTimeout(c.current), c.current = null);
|
|
1117
1128
|
}
|
|
1118
1129
|
function f() {
|
|
1119
|
-
|
|
1130
|
+
u.current && g();
|
|
1120
1131
|
}
|
|
1121
1132
|
return {
|
|
1122
|
-
onPointerDown:
|
|
1133
|
+
onPointerDown: i,
|
|
1123
1134
|
onPointerUp: g,
|
|
1124
1135
|
onPointerLeave: f
|
|
1125
1136
|
};
|
|
1126
1137
|
}
|
|
1127
1138
|
function v(t, e) {
|
|
1128
|
-
const { sendMessage:
|
|
1129
|
-
function
|
|
1130
|
-
|
|
1131
|
-
|
|
1139
|
+
const { sendMessage: r } = I(), c = u1(null);
|
|
1140
|
+
function u() {
|
|
1141
|
+
r(`${t}/${e}`, { value: "pressed" }), c.current || (c.current = setInterval(() => {
|
|
1142
|
+
r(`${t}/${e}`, { value: "held" });
|
|
1132
1143
|
}, 250));
|
|
1133
1144
|
}
|
|
1134
|
-
function
|
|
1135
|
-
|
|
1145
|
+
function i() {
|
|
1146
|
+
c.current && (clearInterval(c.current), c.current = null), r(`${t}/${e}`, { value: "released" });
|
|
1136
1147
|
}
|
|
1137
|
-
return W2({ onPress:
|
|
1148
|
+
return W2({ onPress: u, onRelease: i });
|
|
1138
1149
|
}
|
|
1139
1150
|
function Z3(t, e) {
|
|
1140
|
-
const { sendMessage: s, sendSimpleMessage:
|
|
1151
|
+
const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
|
|
1141
1152
|
return e ? {
|
|
1142
1153
|
volumeState: e,
|
|
1143
|
-
volumeUp:
|
|
1144
|
-
volumeDown:
|
|
1145
|
-
setLevel: (d) =>
|
|
1154
|
+
volumeUp: c,
|
|
1155
|
+
volumeDown: u,
|
|
1156
|
+
setLevel: (d) => r(`${t}/level`, d),
|
|
1146
1157
|
muteToggle: () => s(`${t}/muteToggle`, null),
|
|
1147
1158
|
muteOn: () => s(`${t}/muteOn`, null),
|
|
1148
1159
|
muteOff: () => s(`${t}/muteOff`, null)
|
|
1149
1160
|
} : void 0;
|
|
1150
1161
|
}
|
|
1151
|
-
function
|
|
1152
|
-
const { sendMessage: s, sendSimpleMessage:
|
|
1162
|
+
function m6(t, e) {
|
|
1163
|
+
const { sendMessage: s, sendSimpleMessage: r } = I(), c = v(`${t}`, "volumeUp"), u = v(`${t}`, "volumeDown");
|
|
1153
1164
|
return e ? {
|
|
1154
1165
|
volumeState: e,
|
|
1155
|
-
volumeUp:
|
|
1156
|
-
volumeDown:
|
|
1157
|
-
setLevel: (d) =>
|
|
1166
|
+
volumeUp: c,
|
|
1167
|
+
volumeDown: u,
|
|
1168
|
+
setLevel: (d) => r(`${t}/level`, d),
|
|
1158
1169
|
muteToggle: () => s(`${t}/muteToggle`, null),
|
|
1159
1170
|
muteOn: () => s(`${t}/muteOn`, null),
|
|
1160
1171
|
muteOff: () => s(`${t}/muteOff`, null)
|
|
@@ -1174,82 +1185,88 @@ function j3(t) {
|
|
|
1174
1185
|
e(`/device/${t}/powerToggle`, null);
|
|
1175
1186
|
} };
|
|
1176
1187
|
}
|
|
1177
|
-
function
|
|
1188
|
+
function D1(t) {
|
|
1178
1189
|
const { sendMessage: e } = I(), s = $(t);
|
|
1179
|
-
return console.log("deviceState", s), s ? { itemsState: s, selectItem: (
|
|
1180
|
-
e(`/device/${t}/${
|
|
1190
|
+
return console.log("deviceState", s), s ? { itemsState: s, selectItem: (c) => {
|
|
1191
|
+
e(`/device/${t}/${c}`, null);
|
|
1181
1192
|
} } : void 0;
|
|
1182
1193
|
}
|
|
1183
1194
|
function K2(t) {
|
|
1184
|
-
const { sendMessage: e } = I(), s = $(t),
|
|
1195
|
+
const { sendMessage: e } = I(), s = $(t), r = () => {
|
|
1185
1196
|
e(`/device/${t}/setDefaultChannelLevels`, null);
|
|
1186
|
-
},
|
|
1197
|
+
}, c = () => {
|
|
1187
1198
|
if ((s == null ? void 0 : s.levelControls) === void 0)
|
|
1188
1199
|
return;
|
|
1189
1200
|
Object.keys(s == null ? void 0 : s.levelControls).forEach((g) => {
|
|
1190
1201
|
e(`/device/${t}/${g}/fullStatus`, null);
|
|
1191
1202
|
});
|
|
1192
1203
|
};
|
|
1193
|
-
return s ? { levelControls: s.levelControls, setDefaultChannelLevels:
|
|
1204
|
+
return s ? { levelControls: s.levelControls, setDefaultChannelLevels: r, getFullStatus: c } : void 0;
|
|
1194
1205
|
}
|
|
1195
|
-
function
|
|
1196
|
-
const e = $(t), s = j3(t),
|
|
1206
|
+
function Z6(t) {
|
|
1207
|
+
const e = $(t), s = j3(t), r = D1(t), c = D1(t), u = H2(t), i = K2(t);
|
|
1197
1208
|
if (e)
|
|
1198
1209
|
return {
|
|
1199
1210
|
avrState: e,
|
|
1200
1211
|
powerControl: s,
|
|
1201
|
-
inputControl:
|
|
1202
|
-
surroundSoundModes:
|
|
1203
|
-
surroundChannels:
|
|
1204
|
-
mainVolumeControl:
|
|
1212
|
+
inputControl: r,
|
|
1213
|
+
surroundSoundModes: c,
|
|
1214
|
+
surroundChannels: i,
|
|
1215
|
+
mainVolumeControl: u
|
|
1205
1216
|
};
|
|
1206
1217
|
}
|
|
1207
|
-
function
|
|
1218
|
+
function j6(t) {
|
|
1208
1219
|
const e = $(t);
|
|
1209
1220
|
if (e)
|
|
1210
1221
|
return { endpointState: e };
|
|
1211
1222
|
}
|
|
1212
|
-
function j6(t) {
|
|
1213
|
-
const e = `/device/${t}`, s = v(e, "chanUp"), c = v(e, "chanDown"), r = v(e, "lastChan"), i = v(e, "guide"), u = v(e, "info"), g = v(e, "exit");
|
|
1214
|
-
return { channelUp: s, channelDown: c, lastChannel: r, guide: i, info: u, exit: g };
|
|
1215
|
-
}
|
|
1216
1223
|
function C6(t) {
|
|
1217
|
-
const e = `/device/${t}`, s = v(e, "
|
|
1218
|
-
return {
|
|
1224
|
+
const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown"), c = v(e, "lastChan"), u = v(e, "guide"), i = v(e, "info"), g = v(e, "exit");
|
|
1225
|
+
return { channelUp: s, channelDown: r, lastChannel: c, guide: u, info: i, exit: g };
|
|
1219
1226
|
}
|
|
1220
1227
|
function S6(t) {
|
|
1228
|
+
const e = `/device/${t}`, s = v(e, "red"), r = v(e, "green"), c = v(e, "yellow"), u = v(e, "blue");
|
|
1229
|
+
return { red: s, green: r, yellow: c, blue: u };
|
|
1230
|
+
}
|
|
1231
|
+
function b6(t) {
|
|
1221
1232
|
const e = $(t);
|
|
1222
1233
|
if (e)
|
|
1223
1234
|
return {
|
|
1224
1235
|
communicationMonitorState: e
|
|
1225
1236
|
};
|
|
1226
1237
|
}
|
|
1227
|
-
function b6(t) {
|
|
1228
|
-
const e = `/device/${t}`, s = v(e, "up"), c = v(e, "down"), r = v(e, "left"), i = v(e, "right"), u = v(e, "select"), g = v(e, "menu"), f = v(e, "exit");
|
|
1229
|
-
return { up: s, down: c, left: r, right: i, select: u, menu: g, exit: f };
|
|
1230
|
-
}
|
|
1231
1238
|
function I6(t) {
|
|
1239
|
+
const e = `/device/${t}`, s = v(e, "up"), r = v(e, "down"), c = v(e, "left"), u = v(e, "right"), i = v(e, "select"), g = v(e, "menu"), f = v(e, "exit");
|
|
1240
|
+
return { up: s, down: r, left: c, right: u, select: i, menu: g, exit: f };
|
|
1241
|
+
}
|
|
1242
|
+
function y6(t) {
|
|
1232
1243
|
const e = $(t);
|
|
1233
1244
|
if (e)
|
|
1234
1245
|
return e.deviceInfo || void 0;
|
|
1235
1246
|
}
|
|
1236
|
-
function
|
|
1237
|
-
const
|
|
1238
|
-
return {
|
|
1247
|
+
function R6(t) {
|
|
1248
|
+
const { sendMessage: e } = I();
|
|
1249
|
+
return { recallPreset: (r) => {
|
|
1250
|
+
e(`/device/${t}/recallPreset`, r);
|
|
1251
|
+
} };
|
|
1252
|
+
}
|
|
1253
|
+
function E6(t) {
|
|
1254
|
+
const e = `/device/${t}`, s = v(e, "dvrList"), r = v(e, "record");
|
|
1255
|
+
return { dvrList: s, record: r };
|
|
1239
1256
|
}
|
|
1240
|
-
const
|
|
1257
|
+
const _6 = ({ className: t }) => {
|
|
1241
1258
|
const [e, s] = H();
|
|
1242
1259
|
return t1(() => {
|
|
1243
1260
|
setInterval(() => {
|
|
1244
|
-
const
|
|
1245
|
-
s(
|
|
1261
|
+
const r = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1262
|
+
s(r);
|
|
1246
1263
|
}, 1e3);
|
|
1247
1264
|
}, []), /* @__PURE__ */ o.jsxs("div", { className: t, children: [
|
|
1248
1265
|
e,
|
|
1249
1266
|
" new change"
|
|
1250
1267
|
] });
|
|
1251
1268
|
};
|
|
1252
|
-
function
|
|
1269
|
+
function L6(t) {
|
|
1253
1270
|
const { sendMessage: e } = I(), s = $(t);
|
|
1254
1271
|
return s ? { roomCombinerState: s, setAutoMode: () => {
|
|
1255
1272
|
e(`/device/${t}/setAutoMode`, null);
|
|
@@ -1263,39 +1280,39 @@ function E6(t) {
|
|
|
1263
1280
|
e(`/device/${t}/setRoomCombinationScenario`, f);
|
|
1264
1281
|
} } : void 0;
|
|
1265
1282
|
}
|
|
1266
|
-
function
|
|
1267
|
-
const { sendMessage: e, sendSimpleMessage: s } = I(),
|
|
1268
|
-
return
|
|
1269
|
-
levelState:
|
|
1283
|
+
function $6(t) {
|
|
1284
|
+
const { sendMessage: e, sendSimpleMessage: s } = I(), r = $(t), c = C2(t), u = r || c;
|
|
1285
|
+
return u ? {
|
|
1286
|
+
levelState: u,
|
|
1270
1287
|
setLevel: (d, b) => s(`${d}/level`, b),
|
|
1271
1288
|
muteToggle: (d) => e(`${d}/muteToggle`, null),
|
|
1272
1289
|
muteOn: (d) => e(`${d}/muteOn`, null),
|
|
1273
1290
|
muteOff: (d) => e(`${d}/muteOff`, null)
|
|
1274
1291
|
} : void 0;
|
|
1275
1292
|
}
|
|
1276
|
-
function
|
|
1293
|
+
function P6(t) {
|
|
1277
1294
|
const { sendMessage: e } = I(), s = $(t);
|
|
1278
|
-
return s ? { lightingState: s, selectScene: (
|
|
1279
|
-
e(`/device/${t}/selectScene`,
|
|
1295
|
+
return s ? { lightingState: s, selectScene: (c) => {
|
|
1296
|
+
e(`/device/${t}/selectScene`, c);
|
|
1280
1297
|
} } : void 0;
|
|
1281
1298
|
}
|
|
1282
|
-
function
|
|
1299
|
+
function T6(t) {
|
|
1283
1300
|
const { sendMessage: e } = I(), s = $(t);
|
|
1284
|
-
return s ? { matrixRoutingState: s, setRoute: (
|
|
1285
|
-
e(`/device/${t}/route`,
|
|
1301
|
+
return s ? { matrixRoutingState: s, setRoute: (c) => {
|
|
1302
|
+
e(`/device/${t}/route`, c);
|
|
1286
1303
|
} } : void 0;
|
|
1287
1304
|
}
|
|
1288
|
-
function
|
|
1305
|
+
function D6(t) {
|
|
1289
1306
|
const { sendMessage: e } = I();
|
|
1290
1307
|
return { closeApp: () => {
|
|
1291
1308
|
e(`/device/${t}/closeWebViewController`, null);
|
|
1292
1309
|
} };
|
|
1293
1310
|
}
|
|
1294
|
-
function D6(t) {
|
|
1295
|
-
const e = `/device/${t}`, s = v(e, "num0"), c = v(e, "num1"), r = v(e, "num2"), i = v(e, "num3"), u = v(e, "num4"), g = v(e, "num5"), f = v(e, "num6"), w = v(e, "num7"), d = v(e, "num8"), b = v(e, "num9"), A = v(e, "numDash"), F = v(e, "numEnter");
|
|
1296
|
-
return { digit0: s, digit1: c, digit2: r, digit3: i, digit4: u, digit5: g, digit6: f, digit7: w, digit8: d, digit9: b, keypadAccessoryButton1: A, keypadAccessoryButton2: F };
|
|
1297
|
-
}
|
|
1298
1311
|
function A6(t) {
|
|
1312
|
+
const e = `/device/${t}`, s = v(e, "num0"), r = v(e, "num1"), c = v(e, "num2"), u = v(e, "num3"), i = v(e, "num4"), g = v(e, "num5"), f = v(e, "num6"), w = v(e, "num7"), d = v(e, "num8"), b = v(e, "num9"), T = v(e, "numDash"), F = v(e, "numEnter");
|
|
1313
|
+
return { digit0: s, digit1: r, digit2: c, digit3: u, digit4: i, digit5: g, digit6: f, digit7: w, digit8: d, digit9: b, keypadAccessoryButton1: T, keypadAccessoryButton2: F };
|
|
1314
|
+
}
|
|
1315
|
+
function B6(t) {
|
|
1299
1316
|
const { sendMessage: e } = I(), s = $(t);
|
|
1300
1317
|
return s ? { projectorScreenLiftControlState: s, raise: () => {
|
|
1301
1318
|
e(`/device/${t}/raise`, null);
|
|
@@ -1303,29 +1320,29 @@ function A6(t) {
|
|
|
1303
1320
|
e(`/device/${t}/lower`, null);
|
|
1304
1321
|
} } : void 0;
|
|
1305
1322
|
}
|
|
1306
|
-
function
|
|
1307
|
-
const { sendMessage: e } = I(), s =
|
|
1308
|
-
return s ? { roomEventScheduleState: s, save: (
|
|
1309
|
-
e(`/room/${t}/saveScheduledEvents`,
|
|
1323
|
+
function O6(t) {
|
|
1324
|
+
const { sendMessage: e } = I(), s = A1(t);
|
|
1325
|
+
return s ? { roomEventScheduleState: s, save: (c) => {
|
|
1326
|
+
e(`/room/${t}/saveScheduledEvents`, c);
|
|
1310
1327
|
} } : void 0;
|
|
1311
1328
|
}
|
|
1312
|
-
function
|
|
1329
|
+
function V6(t) {
|
|
1313
1330
|
const { sendMessage: e } = I();
|
|
1314
|
-
return { runDirectRoute: (
|
|
1315
|
-
e(`/room/${t}/directRoute`,
|
|
1331
|
+
return { runDirectRoute: (r) => {
|
|
1332
|
+
e(`/room/${t}/directRoute`, r);
|
|
1316
1333
|
} };
|
|
1317
1334
|
}
|
|
1318
|
-
function
|
|
1335
|
+
function k6(t) {
|
|
1319
1336
|
const { sendMessage: e } = I();
|
|
1320
|
-
return { routingState: $(t), runRoute: (
|
|
1321
|
-
e(`/room/${t}/source`,
|
|
1337
|
+
return { routingState: $(t), runRoute: (c) => {
|
|
1338
|
+
e(`/room/${t}/source`, c);
|
|
1322
1339
|
} };
|
|
1323
1340
|
}
|
|
1324
|
-
function
|
|
1325
|
-
const e = `/device/${t}`, s = v(e, "chanUp"),
|
|
1326
|
-
return { dvrList: s, replay:
|
|
1341
|
+
function U6(t) {
|
|
1342
|
+
const e = `/device/${t}`, s = v(e, "chanUp"), r = v(e, "chanDown");
|
|
1343
|
+
return { dvrList: s, replay: r };
|
|
1327
1344
|
}
|
|
1328
|
-
function
|
|
1345
|
+
function F6(t) {
|
|
1329
1346
|
const { sendMessage: e } = I(), s = $(t);
|
|
1330
1347
|
return s ? { shadeState: s, shadeUp: () => {
|
|
1331
1348
|
e(`/device/${t}/shadeUp`, null);
|
|
@@ -1335,8 +1352,8 @@ function k6(t) {
|
|
|
1335
1352
|
e(`/device/${t}/stopOrPreset`, null);
|
|
1336
1353
|
} } : void 0;
|
|
1337
1354
|
}
|
|
1338
|
-
function
|
|
1339
|
-
const { sendMessage: e } = I(), s =
|
|
1355
|
+
function W6(t) {
|
|
1356
|
+
const { sendMessage: e } = I(), s = A1(t);
|
|
1340
1357
|
return s ? { shutdownPromptTimerState: s, setShutdownPromptSeconds: (g) => {
|
|
1341
1358
|
e(`/room/${t}/setShutdownPromptSeconds`, g);
|
|
1342
1359
|
}, shutdownStart: () => {
|
|
@@ -1347,7 +1364,7 @@ function U6(t) {
|
|
|
1347
1364
|
e(`/room/${t}/shutdownCancel`, null);
|
|
1348
1365
|
} } : void 0;
|
|
1349
1366
|
}
|
|
1350
|
-
function
|
|
1367
|
+
function H6(t) {
|
|
1351
1368
|
const { sendMessage: e } = I(), s = $(t);
|
|
1352
1369
|
return s ? { switchedOutputState: s, on: () => {
|
|
1353
1370
|
e(`/device/${t}/on`, null);
|
|
@@ -1355,19 +1372,19 @@ function F6(t) {
|
|
|
1355
1372
|
e(`/device/${t}/off`, null);
|
|
1356
1373
|
} } : void 0;
|
|
1357
1374
|
}
|
|
1358
|
-
function
|
|
1359
|
-
const { sendMessage: e } = I(), s =
|
|
1360
|
-
return s ? { techPasswordState: s, validatePassword: (
|
|
1361
|
-
e(`/room/${t}/validateTechPassword`, { password:
|
|
1362
|
-
}, setPassword: (
|
|
1363
|
-
e(`/room/${t}/setTechPassword`, { oldPassword:
|
|
1375
|
+
function K6(t) {
|
|
1376
|
+
const { sendMessage: e } = I(), s = A1(t);
|
|
1377
|
+
return s ? { techPasswordState: s, validatePassword: (u) => {
|
|
1378
|
+
e(`/room/${t}/validateTechPassword`, { password: u });
|
|
1379
|
+
}, setPassword: (u, i) => {
|
|
1380
|
+
e(`/room/${t}/setTechPassword`, { oldPassword: u, newPassword: i });
|
|
1364
1381
|
} } : void 0;
|
|
1365
1382
|
}
|
|
1366
|
-
function
|
|
1367
|
-
const e = `/device/${t}`, s = v(e, "play"),
|
|
1368
|
-
return { play: s, pause:
|
|
1383
|
+
function G6(t) {
|
|
1384
|
+
const e = `/device/${t}`, s = v(e, "play"), r = v(e, "pause"), c = v(e, "stop"), u = v(e, "prevTrack"), i = v(e, "nextTrack"), g = v(e, "rewind"), f = v(e, "ffwd"), w = v(e, "record");
|
|
1385
|
+
return { play: s, pause: r, stop: c, prevTrack: u, nextTrack: i, rewind: g, fastForward: f, record: w };
|
|
1369
1386
|
}
|
|
1370
|
-
function
|
|
1387
|
+
function q6(t) {
|
|
1371
1388
|
const e = $(t), { sendMessage: s } = I();
|
|
1372
1389
|
return e ? {
|
|
1373
1390
|
touchpanelState: e,
|
|
@@ -1383,37 +1400,37 @@ function K6(t) {
|
|
|
1383
1400
|
} }
|
|
1384
1401
|
} : void 0;
|
|
1385
1402
|
}
|
|
1386
|
-
function
|
|
1387
|
-
const e = $(t), s = j3(t),
|
|
1403
|
+
function Y6(t) {
|
|
1404
|
+
const e = $(t), s = j3(t), r = D1(t);
|
|
1388
1405
|
if (!e)
|
|
1389
1406
|
return;
|
|
1390
|
-
const
|
|
1407
|
+
const c = (e.powerState || e.isWarming) && !e.isCooling, u = (!e.powerState || e.isCooling) && !e.isWarming;
|
|
1391
1408
|
return {
|
|
1392
1409
|
displayState: e,
|
|
1393
1410
|
powerControl: s,
|
|
1394
|
-
inputControl:
|
|
1395
|
-
powerFb: { powerOnFb:
|
|
1411
|
+
inputControl: r,
|
|
1412
|
+
powerFb: { powerOnFb: c, powerOffFb: u }
|
|
1396
1413
|
};
|
|
1397
1414
|
}
|
|
1398
|
-
function
|
|
1415
|
+
function z6(t) {
|
|
1399
1416
|
const { sendMessage: e } = I();
|
|
1400
1417
|
return { runDefaultPresentRoute: () => {
|
|
1401
1418
|
e(`/room/${t}/defaultsource`, {});
|
|
1402
1419
|
} };
|
|
1403
1420
|
}
|
|
1404
|
-
function
|
|
1405
|
-
const { sendMessage: e } = I(), s = $(t),
|
|
1406
|
-
e(`/device/${t}/saveTheme`, { value:
|
|
1421
|
+
function J6(t) {
|
|
1422
|
+
const { sendMessage: e } = I(), s = $(t), r = (c) => {
|
|
1423
|
+
e(`/device/${t}/saveTheme`, { value: c });
|
|
1407
1424
|
};
|
|
1408
1425
|
return {
|
|
1409
1426
|
currentTheme: s == null ? void 0 : s.theme,
|
|
1410
|
-
saveTheme:
|
|
1427
|
+
saveTheme: r
|
|
1411
1428
|
};
|
|
1412
1429
|
}
|
|
1413
|
-
const
|
|
1430
|
+
const X6 = ({ config: t }) => {
|
|
1414
1431
|
const { sendMessage: e } = I();
|
|
1415
1432
|
t1(() => {
|
|
1416
|
-
var c,
|
|
1433
|
+
var r, c, u;
|
|
1417
1434
|
if (!t)
|
|
1418
1435
|
return;
|
|
1419
1436
|
const s = [];
|
|
@@ -1421,13 +1438,13 @@ const z6 = ({ config: t }) => {
|
|
|
1421
1438
|
s.push(i);
|
|
1422
1439
|
}), Object.values(t.destinationList).forEach((i) => {
|
|
1423
1440
|
s.push(i.sinkKey);
|
|
1424
|
-
}), t.
|
|
1425
|
-
s.push(i.
|
|
1441
|
+
}), t.audioControlPointList && Object.values((r = t.audioControlPointList) == null ? void 0 : r.levelControls).forEach((i) => {
|
|
1442
|
+
s.push(i.parentDeviceKey + "--" + i.itemKey);
|
|
1426
1443
|
}), (c = t.touchpanelKeys) == null || c.forEach((i) => {
|
|
1427
1444
|
s.push(i);
|
|
1428
1445
|
}), t.environmentalDevices.forEach((i) => {
|
|
1429
1446
|
s.push(i.deviceKey);
|
|
1430
|
-
}), (
|
|
1447
|
+
}), (u = t.accessoryDeviceKeys) == null || u.forEach((i) => {
|
|
1431
1448
|
s.push(i);
|
|
1432
1449
|
}), t.audioCodecKey && s.push(t.audioCodecKey), t.videoCodecKey && s.push(t.videoCodecKey), t.matrixRoutingKey && s.push(t.matrixRoutingKey), t.roomCombinerKey && s.push(t.roomCombinerKey), t.endpointKeys && t.endpointKeys.forEach((i) => {
|
|
1433
1450
|
s.push(i);
|
|
@@ -1439,59 +1456,70 @@ const z6 = ({ config: t }) => {
|
|
|
1439
1456
|
});
|
|
1440
1457
|
}, [t, e]);
|
|
1441
1458
|
};
|
|
1442
|
-
function
|
|
1443
|
-
const s = j2(t, e),
|
|
1444
|
-
return Z3(
|
|
1459
|
+
function Q6(t, e) {
|
|
1460
|
+
const s = j2(t, e), r = `/room/${t}/volumes/${e}`;
|
|
1461
|
+
return Z3(r, s);
|
|
1445
1462
|
}
|
|
1446
|
-
function
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1463
|
+
function N6() {
|
|
1464
|
+
const { sendMessage: t } = I();
|
|
1465
|
+
return {
|
|
1466
|
+
reboot: () => {
|
|
1467
|
+
t("/system/reboot", null);
|
|
1468
|
+
},
|
|
1469
|
+
programReset: () => {
|
|
1470
|
+
t("/system/programReset", null);
|
|
1471
|
+
}
|
|
1472
|
+
};
|
|
1473
|
+
}
|
|
1474
|
+
function ee() {
|
|
1475
|
+
const [t, e] = H(), [s, r] = H();
|
|
1476
|
+
function c() {
|
|
1449
1477
|
e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1450
|
-
const
|
|
1451
|
-
|
|
1478
|
+
const u = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1479
|
+
r(u);
|
|
1452
1480
|
}
|
|
1453
1481
|
return t1(() => {
|
|
1454
|
-
|
|
1455
|
-
const
|
|
1456
|
-
|
|
1482
|
+
c();
|
|
1483
|
+
const u = setInterval(() => {
|
|
1484
|
+
c();
|
|
1457
1485
|
}, 1e3);
|
|
1458
|
-
return () => clearInterval(
|
|
1486
|
+
return () => clearInterval(u);
|
|
1459
1487
|
}, []), { date: t, time: s };
|
|
1460
1488
|
}
|
|
1461
|
-
function
|
|
1462
|
-
const [s,
|
|
1489
|
+
function te(t, e) {
|
|
1490
|
+
const [s, r] = H(!1), [c, u] = H(!1);
|
|
1463
1491
|
return v3(() => {
|
|
1464
|
-
const { current:
|
|
1465
|
-
const f =
|
|
1466
|
-
|
|
1492
|
+
const { current: i } = t, g = () => {
|
|
1493
|
+
const f = i && i.scrollHeight > i.clientHeight, w = i && i.scrollWidth > i.clientWidth;
|
|
1494
|
+
u(f ?? !1), r(w ?? !1), e && e(f ?? !1, w ?? !1);
|
|
1467
1495
|
};
|
|
1468
|
-
|
|
1469
|
-
}, [t, e]), { overflowHorizontal: s, overflowVertical:
|
|
1496
|
+
i && g();
|
|
1497
|
+
}, [t, e]), { overflowHorizontal: s, overflowVertical: c };
|
|
1470
1498
|
}
|
|
1471
|
-
function
|
|
1499
|
+
function oe(t) {
|
|
1472
1500
|
var g, f;
|
|
1473
|
-
const [e, s] = H(((g = t == null ? void 0 : t.current) == null ? void 0 : g.scrollLeft) ?? 0), [
|
|
1501
|
+
const [e, s] = H(((g = t == null ? void 0 : t.current) == null ? void 0 : g.scrollLeft) ?? 0), [r, c] = H(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0), u = (w) => {
|
|
1474
1502
|
const { current: d } = t;
|
|
1475
1503
|
d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
|
|
1476
|
-
},
|
|
1504
|
+
}, i = (w) => {
|
|
1477
1505
|
const { current: d } = t;
|
|
1478
1506
|
d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
|
|
1479
1507
|
};
|
|
1480
1508
|
return v3(() => {
|
|
1481
1509
|
const { current: w } = t, d = () => {
|
|
1482
|
-
s((w == null ? void 0 : w.scrollLeft) ?? 0),
|
|
1510
|
+
s((w == null ? void 0 : w.scrollLeft) ?? 0), c((w == null ? void 0 : w.scrollTop) ?? 0);
|
|
1483
1511
|
};
|
|
1484
1512
|
w && d();
|
|
1485
|
-
}, [t]), { horizontalScrollPosition: e, verticalScrollPosition:
|
|
1513
|
+
}, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal: u, scrollVertical: i };
|
|
1486
1514
|
}
|
|
1487
|
-
const
|
|
1488
|
-
const [t, e] = H(!1), s = l2(),
|
|
1489
|
-
let
|
|
1490
|
-
return a2(
|
|
1515
|
+
const se = () => {
|
|
1516
|
+
const [t, e] = H(!1), s = l2(), r = i2();
|
|
1517
|
+
let c;
|
|
1518
|
+
return a2(r) ? c = r.statusText : r instanceof Error ? c = r.message : typeof r == "string" ? c = r : (console.error(r), c = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1491
1519
|
/* @__PURE__ */ o.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ o.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
1492
1520
|
/* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => s(-1), children: "Go Back" }),
|
|
1493
1521
|
/* @__PURE__ */ o.jsx("button", { className: "btn btn-primary p-2", onClick: () => e(!t), children: t ? "Hide error message" : "Show error message" }),
|
|
1494
|
-
t && /* @__PURE__ */ o.jsx("p", { children:
|
|
1522
|
+
t && /* @__PURE__ */ o.jsx("p", { children: c })
|
|
1495
1523
|
] });
|
|
1496
1524
|
}, G2 = "_iconbtn_16qss_1", q2 = "_iconbtnvert_16qss_7", Y2 = "_iconsm_16qss_18", _1 = {
|
|
1497
1525
|
iconbtn: G2,
|
|
@@ -1501,44 +1529,44 @@ const ee = () => {
|
|
|
1501
1529
|
multiIcon: t,
|
|
1502
1530
|
otherContent: e = null,
|
|
1503
1531
|
vert: s = !1,
|
|
1504
|
-
className:
|
|
1505
|
-
iconClassName:
|
|
1506
|
-
otherContentClassName:
|
|
1507
|
-
disabled:
|
|
1532
|
+
className: r,
|
|
1533
|
+
iconClassName: c = "",
|
|
1534
|
+
otherContentClassName: u = "",
|
|
1535
|
+
disabled: i,
|
|
1508
1536
|
feedback: g,
|
|
1509
1537
|
feedbackClassName: f,
|
|
1510
1538
|
onPointerDown: w,
|
|
1511
1539
|
onPointerUp: d,
|
|
1512
1540
|
onPointerLeave: b,
|
|
1513
|
-
...
|
|
1541
|
+
...T
|
|
1514
1542
|
}) => {
|
|
1515
|
-
const [F,
|
|
1543
|
+
const [F, O] = H(!1), z = !i && g ? f : "", o1 = !i && (F || g);
|
|
1516
1544
|
return /* @__PURE__ */ o.jsxs(
|
|
1517
1545
|
"button",
|
|
1518
1546
|
{
|
|
1519
1547
|
type: "button",
|
|
1520
|
-
className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${
|
|
1521
|
-
...
|
|
1522
|
-
disabled:
|
|
1523
|
-
onPointerDown: (
|
|
1524
|
-
|
|
1548
|
+
className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${r} ${z}`,
|
|
1549
|
+
...T,
|
|
1550
|
+
disabled: i,
|
|
1551
|
+
onPointerDown: (P) => {
|
|
1552
|
+
O(!0), w == null || w(P);
|
|
1525
1553
|
},
|
|
1526
|
-
onPointerUp: (
|
|
1527
|
-
|
|
1554
|
+
onPointerUp: (P) => {
|
|
1555
|
+
O(!1), d == null || d(P);
|
|
1528
1556
|
},
|
|
1529
|
-
onPointerLeave: (
|
|
1530
|
-
|
|
1557
|
+
onPointerLeave: (P) => {
|
|
1558
|
+
O(!1), b == null || b(P);
|
|
1531
1559
|
},
|
|
1532
1560
|
children: [
|
|
1533
1561
|
t && /* @__PURE__ */ o.jsx(
|
|
1534
1562
|
t,
|
|
1535
1563
|
{
|
|
1536
|
-
className: `${
|
|
1564
|
+
className: `${c || _1.iconsm}`,
|
|
1537
1565
|
active: o1,
|
|
1538
|
-
disabled:
|
|
1566
|
+
disabled: i
|
|
1539
1567
|
}
|
|
1540
1568
|
),
|
|
1541
|
-
/* @__PURE__ */ o.jsx("div", { className:
|
|
1569
|
+
/* @__PURE__ */ o.jsx("div", { className: u, children: e })
|
|
1542
1570
|
]
|
|
1543
1571
|
}
|
|
1544
1572
|
);
|
|
@@ -1546,9 +1574,9 @@ const ee = () => {
|
|
|
1546
1574
|
ActiveImage: t,
|
|
1547
1575
|
DisabledImage: e,
|
|
1548
1576
|
EnabledImage: s,
|
|
1549
|
-
active:
|
|
1550
|
-
disabled:
|
|
1551
|
-
}) =>
|
|
1577
|
+
active: r,
|
|
1578
|
+
disabled: c
|
|
1579
|
+
}) => c ? e : r ? t : s, J2 = ({
|
|
1552
1580
|
active: t,
|
|
1553
1581
|
className: e = "",
|
|
1554
1582
|
disabled: s
|
|
@@ -2003,7 +2031,7 @@ const ee = () => {
|
|
|
2003
2031
|
active: t,
|
|
2004
2032
|
disabled: s
|
|
2005
2033
|
}
|
|
2006
|
-
),
|
|
2034
|
+
), r8 = ({
|
|
2007
2035
|
active: t,
|
|
2008
2036
|
className: e = "",
|
|
2009
2037
|
disabled: s
|
|
@@ -2052,7 +2080,7 @@ const ee = () => {
|
|
|
2052
2080
|
active: t,
|
|
2053
2081
|
disabled: s
|
|
2054
2082
|
}
|
|
2055
|
-
),
|
|
2083
|
+
), c8 = ({
|
|
2056
2084
|
active: t,
|
|
2057
2085
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2058
2086
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3153,8 +3181,8 @@ const ee = () => {
|
|
|
3153
3181
|
Elipses: o8,
|
|
3154
3182
|
Flag: s8,
|
|
3155
3183
|
Gear: n8,
|
|
3156
|
-
Glass:
|
|
3157
|
-
Hdmi:
|
|
3184
|
+
Glass: r8,
|
|
3185
|
+
Hdmi: c8,
|
|
3158
3186
|
Laptop: l8,
|
|
3159
3187
|
LeftArrow: i8,
|
|
3160
3188
|
Light: a8,
|
|
@@ -3177,86 +3205,72 @@ const ee = () => {
|
|
|
3177
3205
|
X: b8,
|
|
3178
3206
|
Xbox: I8
|
|
3179
3207
|
};
|
|
3180
|
-
function
|
|
3208
|
+
function ne({
|
|
3181
3209
|
name: t,
|
|
3182
3210
|
iconsDictionary: e = R8,
|
|
3183
3211
|
...s
|
|
3184
3212
|
}) {
|
|
3185
|
-
const
|
|
3186
|
-
return
|
|
3213
|
+
const r = e[t] ?? null;
|
|
3214
|
+
return r || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ o.jsx(z2, { multiIcon: r, ...s });
|
|
3187
3215
|
}
|
|
3188
|
-
const E8 = "_grid_1cmpp_1", _8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23",
|
|
3216
|
+
const E8 = "_grid_1cmpp_1", _8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", P8 = "_volume_1cmpp_29", a1 = {
|
|
3189
3217
|
grid: E8,
|
|
3190
3218
|
header: _8,
|
|
3191
3219
|
content: L8,
|
|
3192
3220
|
footer: $8,
|
|
3193
|
-
volume:
|
|
3194
|
-
},
|
|
3221
|
+
volume: P8
|
|
3222
|
+
}, re = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
|
|
3195
3223
|
/* @__PURE__ */ o.jsx("div", { className: a1.header, children: t }),
|
|
3196
3224
|
/* @__PURE__ */ o.jsx("div", { className: a1.content, children: s }),
|
|
3197
|
-
|
|
3225
|
+
c && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: r }),
|
|
3198
3226
|
/* @__PURE__ */ o.jsx("div", { className: a1.footer, children: e })
|
|
3199
|
-
] }),
|
|
3200
|
-
grid:
|
|
3201
|
-
header:
|
|
3202
|
-
content:
|
|
3227
|
+
] }), T8 = "_grid_11w5q_1", D8 = "_header_11w5q_11", A8 = "_content_11w5q_17", p1 = {
|
|
3228
|
+
grid: T8,
|
|
3229
|
+
header: D8,
|
|
3230
|
+
content: A8,
|
|
3203
3231
|
"left-nav": "_left-nav_11w5q_23"
|
|
3204
|
-
},
|
|
3232
|
+
}, ce = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
|
|
3205
3233
|
/* @__PURE__ */ o.jsx("div", { className: p1.header, children: e }),
|
|
3206
|
-
|
|
3234
|
+
r && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: r }),
|
|
3207
3235
|
/* @__PURE__ */ o.jsx("div", { className: p1.content, children: s })
|
|
3208
3236
|
] }), B8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", V8 = "_content_1uwfo_17", L1 = {
|
|
3209
3237
|
grid: B8,
|
|
3210
3238
|
header: O8,
|
|
3211
3239
|
content: V8
|
|
3212
|
-
},
|
|
3240
|
+
}, le = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
|
|
3213
3241
|
/* @__PURE__ */ o.jsx("div", { className: L1.header, children: e }),
|
|
3214
3242
|
/* @__PURE__ */ o.jsx("div", { className: L1.content, children: s })
|
|
3215
3243
|
] });
|
|
3216
|
-
function
|
|
3244
|
+
function ie() {
|
|
3217
3245
|
return console.log(location.pathname), location.pathname;
|
|
3218
3246
|
}
|
|
3219
3247
|
var k8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(k8 || {});
|
|
3220
|
-
class
|
|
3248
|
+
class ae {
|
|
3221
3249
|
constructor(e, s) {
|
|
3222
|
-
|
|
3223
|
-
|
|
3250
|
+
V(this, "path");
|
|
3251
|
+
V(this, "handler");
|
|
3224
3252
|
this.path = e, this.handler = s;
|
|
3225
3253
|
}
|
|
3226
3254
|
}
|
|
3227
|
-
const
|
|
3228
|
-
class
|
|
3229
|
-
constructor() {
|
|
3230
|
-
D(this, "name", "");
|
|
3231
|
-
D(this, "iconUrl", "");
|
|
3232
|
-
D(this, "channel", "");
|
|
3233
|
-
}
|
|
3234
|
-
}
|
|
3235
|
-
class ae {
|
|
3236
|
-
constructor() {
|
|
3237
|
-
D(this, "deviceKey");
|
|
3238
|
-
D(this, "deviceType");
|
|
3239
|
-
}
|
|
3240
|
-
}
|
|
3241
|
-
class ue {
|
|
3255
|
+
const ue = "$off";
|
|
3256
|
+
class de {
|
|
3242
3257
|
constructor() {
|
|
3243
|
-
|
|
3244
|
-
|
|
3258
|
+
V(this, "name", "");
|
|
3259
|
+
V(this, "iconUrl", "");
|
|
3260
|
+
V(this, "channel", "");
|
|
3245
3261
|
}
|
|
3246
3262
|
}
|
|
3247
|
-
class
|
|
3263
|
+
class he {
|
|
3248
3264
|
constructor() {
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3265
|
+
V(this, "currentShareText");
|
|
3266
|
+
V(this, "enabled");
|
|
3267
|
+
V(this, "isSharing");
|
|
3252
3268
|
}
|
|
3253
3269
|
}
|
|
3254
3270
|
export {
|
|
3255
|
-
|
|
3256
|
-
R6 as Clock,
|
|
3271
|
+
_6 as Clock,
|
|
3257
3272
|
k8 as DaysOfWeek,
|
|
3258
|
-
|
|
3259
|
-
ee as ErrorBox,
|
|
3273
|
+
se as ErrorBox,
|
|
3260
3274
|
z2 as IconButton,
|
|
3261
3275
|
J2 as IconMultiAlert,
|
|
3262
3276
|
X2 as IconMultiBan,
|
|
@@ -3267,8 +3281,8 @@ export {
|
|
|
3267
3281
|
o8 as IconMultiElipses,
|
|
3268
3282
|
s8 as IconMultiFlag,
|
|
3269
3283
|
n8 as IconMultiGear,
|
|
3270
|
-
|
|
3271
|
-
|
|
3284
|
+
r8 as IconMultiGlass,
|
|
3285
|
+
c8 as IconMultiHdmi,
|
|
3272
3286
|
l8 as IconMultiLaptop,
|
|
3273
3287
|
i8 as IconMultiLeftArrow,
|
|
3274
3288
|
a8 as IconMultiLight,
|
|
@@ -3289,99 +3303,102 @@ export {
|
|
|
3289
3303
|
S8 as IconMultiWireless,
|
|
3290
3304
|
b8 as IconMultiX,
|
|
3291
3305
|
I8 as IconMultiXbox,
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3306
|
+
re as MainLayout,
|
|
3307
|
+
ae as MessageHandler,
|
|
3308
|
+
M6 as MobileControlProvider,
|
|
3295
3309
|
m as MultiStateIconContainer,
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3310
|
+
ne as NamedIconButton,
|
|
3311
|
+
de as PresetChannel,
|
|
3312
|
+
he as ShareState,
|
|
3313
|
+
ce as TechLayout,
|
|
3314
|
+
le as TechPinLayout,
|
|
3315
|
+
ie as getBaseLocation,
|
|
3316
|
+
P1 as httpClient,
|
|
3317
|
+
ue as roomOffSourceKey,
|
|
3304
3318
|
C as store,
|
|
3305
3319
|
q as uiActions,
|
|
3306
3320
|
x2 as uiReducer,
|
|
3307
3321
|
q8 as useApiPath,
|
|
3308
3322
|
m2 as useAppConfig,
|
|
3309
3323
|
$2 as useAppDispatch,
|
|
3310
|
-
|
|
3324
|
+
Z6 as useAvrControl,
|
|
3311
3325
|
I2 as useClientId,
|
|
3312
3326
|
H2 as useDeviceIBasicVolumeWithFeedback,
|
|
3313
|
-
|
|
3327
|
+
j6 as useEndpoint,
|
|
3314
3328
|
_2 as useError,
|
|
3315
|
-
|
|
3329
|
+
X6 as useGetAllDeviceStateFromRoomConfiguration,
|
|
3316
3330
|
Z2 as useGetAllDevices,
|
|
3317
|
-
|
|
3331
|
+
p6 as useGetCurrentPopoverIdForGroup,
|
|
3318
3332
|
$ as useGetDevice,
|
|
3319
|
-
|
|
3333
|
+
m6 as useGetIBasicVolumeWithFeedback,
|
|
3320
3334
|
a6 as useGetRoomDisplayStates,
|
|
3321
3335
|
u6 as useGetZoomRoomControllerKey,
|
|
3322
3336
|
Z3 as useIBasicVolumeWithFeedback,
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
E6 as
|
|
3337
|
+
C6 as useIChannelMessenger,
|
|
3338
|
+
S6 as useIColor,
|
|
3339
|
+
b6 as useICommunicationMonitor,
|
|
3340
|
+
I6 as useIDPad,
|
|
3341
|
+
y6 as useIDeviceInfoMessenger,
|
|
3342
|
+
R6 as useIDspPresets,
|
|
3343
|
+
E6 as useIDvr,
|
|
3344
|
+
L6 as useIEssentialsRoomCombiner,
|
|
3330
3345
|
j3 as useIHasPowerControl,
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3346
|
+
D1 as useIHasSelectableItems,
|
|
3347
|
+
$6 as useILevelControls,
|
|
3348
|
+
P6 as useILightingScenes,
|
|
3349
|
+
T6 as useIMatrixRouting,
|
|
3350
|
+
D6 as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3351
|
+
A6 as useINumeric,
|
|
3352
|
+
B6 as useIProjectorScreenLiftControl,
|
|
3353
|
+
O6 as useIRoomEventSchedule,
|
|
3354
|
+
z6 as useIRunDefaultPresentRoute,
|
|
3355
|
+
V6 as useIRunDirectRouteAction,
|
|
3356
|
+
k6 as useIRunRouteAction,
|
|
3357
|
+
U6 as useISetTopBoxControls,
|
|
3358
|
+
F6 as useIShadesOpenCloseStop,
|
|
3359
|
+
W6 as useIShutdownPromptTimer,
|
|
3360
|
+
H6 as useISwitchedOutput,
|
|
3361
|
+
K6 as useITechPassword,
|
|
3362
|
+
J6 as useITheme,
|
|
3363
|
+
G6 as useITransport,
|
|
3364
|
+
P2 as useInitialize,
|
|
3365
|
+
v6 as useIsTouchpanel,
|
|
3366
|
+
q6 as useMobileControlTouchpanelController,
|
|
3367
|
+
te as useOverflow,
|
|
3353
3368
|
W2 as usePressHoldRelease,
|
|
3354
3369
|
l6 as useRoomAdvancedSharingActive,
|
|
3370
|
+
X8 as useRoomAudioControlPointList,
|
|
3355
3371
|
o6 as useRoomCodecContentDestinationKey,
|
|
3356
3372
|
Y8 as useRoomConfiguration,
|
|
3357
3373
|
N8 as useRoomDestinationList,
|
|
3358
3374
|
Q8 as useRoomDestinations,
|
|
3359
3375
|
e6 as useRoomEnvironmentalDevices,
|
|
3360
|
-
|
|
3376
|
+
Q6 as useRoomIBasicVolumeWithFeedback,
|
|
3361
3377
|
s6 as useRoomInCall,
|
|
3362
|
-
|
|
3363
|
-
|
|
3378
|
+
r6 as useRoomIsCoolingDown,
|
|
3379
|
+
c6 as useRoomIsOn,
|
|
3364
3380
|
n6 as useRoomIsWarmingUp,
|
|
3365
3381
|
b2 as useRoomKey,
|
|
3366
|
-
X8 as useRoomLevelControlList,
|
|
3367
3382
|
C2 as useRoomLevelControls,
|
|
3368
3383
|
z8 as useRoomName,
|
|
3369
3384
|
t6 as useRoomProgramAudioDestinationKey,
|
|
3370
3385
|
i6 as useRoomShareState,
|
|
3371
3386
|
J8 as useRoomSourceList,
|
|
3372
|
-
|
|
3387
|
+
A1 as useRoomState,
|
|
3373
3388
|
j2 as useRoomVolume,
|
|
3374
|
-
|
|
3389
|
+
d6 as useRuntimeInfo,
|
|
3390
|
+
oe as useScroll,
|
|
3375
3391
|
E2 as useServerIsRunningOnProcessorHardware,
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3392
|
+
f6 as useShowIncomingCallModal,
|
|
3393
|
+
w6 as useShowModal,
|
|
3394
|
+
x6 as useShowPopoverById,
|
|
3379
3395
|
L2 as useShowReconnect,
|
|
3380
|
-
|
|
3396
|
+
g6 as useShowShutdownModal,
|
|
3397
|
+
N6 as useSystemControl,
|
|
3381
3398
|
y2 as useSystemUuid,
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3399
|
+
ee as useTimeAndDate,
|
|
3400
|
+
h6 as useTouchpanelKey,
|
|
3401
|
+
Y6 as useTwoWayDisplayBase,
|
|
3385
3402
|
R2 as useUserCode,
|
|
3386
3403
|
I as useWebsocketContext,
|
|
3387
3404
|
S2 as useWsIsConnected
|