@pepperdash/mobile-control-react-app-core 1.15.0 → 1.16.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/README.md +31 -22
- package/dist/mobile-control-react-app-core.es.js +387 -386
- package/dist/mobile-control-react-app-core.umd.js +9 -9
- package/dist/shared/hooks/interfaces/index.d.ts +4 -3
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useAvrControl.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useAvrControl.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useCameraBase.d.ts +4 -0
- package/dist/shared/hooks/interfaces/useCameraBase.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts +8 -0
- package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useEndpoint.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useEndpoint.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts +6 -0
- package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/{useIChannelMessenger.d.ts → useIChannel.d.ts} +7 -2
- package/dist/shared/hooks/interfaces/useIChannel.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useIColor.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIColor.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIDPad.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIDPad.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.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 -1
- package/dist/shared/hooks/interfaces/useIDvr.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIDvr.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts +2 -0
- package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useILevelControls.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useILevelControls.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useILightingScenes.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useILightingScenes.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useINumeric.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIRunDefaultPresentRoute.d.ts +6 -1
- package/dist/shared/hooks/interfaces/useIRunDefaultPresentRoute.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts +6 -1
- package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useISetTopBoxcontrols.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useISetTopBoxcontrols.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +6 -1
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts +6 -1
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useITheme.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useITheme.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useITransport.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useITransport.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +5 -0
- package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts.map +1 -1
- package/dist/types/state/state/DevicePresetsState.d.ts +10 -0
- package/dist/types/state/state/DevicePresetsState.d.ts.map +1 -0
- package/dist/types/state/state/index.d.ts +1 -2
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +1 -1
- package/dist/utils/useWebsocketContext.d.ts +4 -0
- package/dist/utils/useWebsocketContext.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/shared/hooks/interfaces/useIChannelMessenger.d.ts.map +0 -1
- package/dist/shared/hooks/interfaces/useISurroundSoundModes.d.ts +0 -1
- package/dist/shared/hooks/interfaces/useISurroundSoundModes.d.ts.map +0 -1
- package/dist/types/state/state/PresetChannel.d.ts +0 -6
- package/dist/types/state/state/PresetChannel.d.ts.map +0 -1
- package/dist/types/state/state/TunerState.d.ts +0 -6
- package/dist/types/state/state/TunerState.d.ts.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var q3 = Object.defineProperty;
|
|
2
2
|
var Y3 = (t, e, s) => e in t ? q3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
|
-
var
|
|
3
|
+
var H = (t, e, s) => (Y3(t, typeof e != "symbol" ? e + "" : e, s), s);
|
|
4
4
|
import z3, { AxiosError as J3 } from "axios";
|
|
5
5
|
import { useDispatch as X3, useSelector as Q3, Provider as N3 } from "react-redux";
|
|
6
6
|
import { createSlice as d1, combineReducers as e2, configureStore as t2, createSelector as o2 } from "@reduxjs/toolkit";
|
|
7
7
|
import * as a3 from "lodash";
|
|
8
|
-
import u3, { createContext as s2, useState as
|
|
8
|
+
import u3, { createContext as s2, useState as F, useRef as u1, useCallback as c1, useEffect as t1, useContext as n2, useLayoutEffect as d3 } from "react";
|
|
9
9
|
import { useNavigate as r2, useRouteError as c2, isRouteErrorResponse as l2 } from "react-router-dom";
|
|
10
10
|
const i2 = X3.withTypes(), w = Q3.withTypes(), a2 = () => w((t) => t.appConfig.config), K8 = () => w((t) => t.appConfig.config.apiPath), u2 = () => w((t) => t.devices);
|
|
11
|
-
function
|
|
11
|
+
function L(t) {
|
|
12
12
|
return w((e) => e.devices[t] ? e.devices[t] : void 0);
|
|
13
13
|
}
|
|
14
14
|
const d2 = {
|
|
@@ -118,7 +118,7 @@ const d2 = {
|
|
|
118
118
|
t.touchpanelKey = e.payload;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
}),
|
|
121
|
+
}), U = f3.actions, p2 = f3.reducer, x2 = {
|
|
122
122
|
showReconnect: !1,
|
|
123
123
|
error: "",
|
|
124
124
|
modalVisibility: {
|
|
@@ -159,14 +159,14 @@ const d2 = {
|
|
|
159
159
|
t.theme = e.payload;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
}), q = w3.actions,
|
|
162
|
+
}), q = w3.actions, M2 = w3.reducer, m2 = e2({
|
|
163
163
|
appConfig: v2,
|
|
164
164
|
runtimeConfig: p2,
|
|
165
165
|
rooms: f2,
|
|
166
166
|
devices: g2,
|
|
167
|
-
ui:
|
|
168
|
-
}),
|
|
169
|
-
reducer:
|
|
167
|
+
ui: M2
|
|
168
|
+
}), m = t2({
|
|
169
|
+
reducer: m2
|
|
170
170
|
}), G8 = (t) => w(
|
|
171
171
|
(e) => {
|
|
172
172
|
var s;
|
|
@@ -213,8 +213,8 @@ const d2 = {
|
|
|
213
213
|
}
|
|
214
214
|
), N8 = (t) => w(
|
|
215
215
|
(e) => {
|
|
216
|
-
var s, r, c, u, i,
|
|
217
|
-
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 : ((p = (f = (
|
|
216
|
+
var s, r, c, u, i, h, f, p;
|
|
217
|
+
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 : ((p = (f = (h = e.rooms[t]) == null ? void 0 : h.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : p.sinkKey) || "";
|
|
218
218
|
}
|
|
219
219
|
), e6 = (t) => w(
|
|
220
220
|
(e) => {
|
|
@@ -266,7 +266,7 @@ const d2 = {
|
|
|
266
266
|
const c = Object.entries(r).filter(([i]) => i !== "programAudio" && i !== "codecContent").map(([, i]) => i);
|
|
267
267
|
return Object.values(s).filter((i) => Object.values(c).includes(i.key));
|
|
268
268
|
}
|
|
269
|
-
)(
|
|
269
|
+
)(m.getState(), t), i6 = (t) => w(
|
|
270
270
|
(e) => {
|
|
271
271
|
var s, r;
|
|
272
272
|
return e.rooms[t] ? (r = (s = e.rooms[t]) == null ? void 0 : s.configuration) == null ? void 0 : r.zoomRoomControllerKey : void 0;
|
|
@@ -281,19 +281,19 @@ const d2 = {
|
|
|
281
281
|
}), w6 = (t, e) => w((s) => {
|
|
282
282
|
var r;
|
|
283
283
|
return (r = s.ui.popoverVisibility[t]) == null ? void 0 : r[e];
|
|
284
|
-
}), E2 = () => w((t) => t.ui.error), _2 = () => w((t) => t.ui.showReconnect), p6 = () => w((t) => t.ui.theme),
|
|
284
|
+
}), E2 = () => w((t) => t.ui.error), _2 = () => w((t) => t.ui.showReconnect), p6 = () => w((t) => t.ui.theme), P1 = z3.create();
|
|
285
285
|
function L2() {
|
|
286
286
|
const t = i2();
|
|
287
287
|
return async () => {
|
|
288
288
|
try {
|
|
289
289
|
const e = location.pathname.split("/").filter((c) => c.length > 0);
|
|
290
290
|
e.length >= 5 ? e.length = 5 : e.length = 2;
|
|
291
|
-
const s = `/${e.join("/")}`, r = await
|
|
291
|
+
const s = `/${e.join("/")}`, r = await P1.get("/_local-config/_config.local.json", { baseURL: s });
|
|
292
292
|
if (r.status == 200 && r.data) {
|
|
293
293
|
const c = r.data.apiPath;
|
|
294
294
|
t(h2.setAppConfig(r.data));
|
|
295
|
-
const u = await
|
|
296
|
-
u.status == 200 && u.data && t(
|
|
295
|
+
const u = await P1.get(`${c}/version`);
|
|
296
|
+
u.status == 200 && u.data && t(U.setRuntimeConfig(u.data));
|
|
297
297
|
}
|
|
298
298
|
} catch (e) {
|
|
299
299
|
console.error("Error getting config", e);
|
|
@@ -312,9 +312,9 @@ var $1 = { exports: {} }, l1 = {};
|
|
|
312
312
|
* LICENSE file in the root directory of this source tree.
|
|
313
313
|
*/
|
|
314
314
|
var c3;
|
|
315
|
-
function
|
|
315
|
+
function P2() {
|
|
316
316
|
return c3 || (c3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
317
|
-
var t = u3, 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"),
|
|
317
|
+
var t = u3, 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"), h = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), O = Symbol.iterator, z = "@@iterator";
|
|
318
318
|
function o1(n) {
|
|
319
319
|
if (n === null || typeof n != "object")
|
|
320
320
|
return null;
|
|
@@ -322,46 +322,46 @@ function T2() {
|
|
|
322
322
|
return typeof l == "function" ? l : null;
|
|
323
323
|
}
|
|
324
324
|
var $ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
325
|
-
function
|
|
325
|
+
function P(n) {
|
|
326
326
|
{
|
|
327
|
-
for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0),
|
|
328
|
-
a[
|
|
327
|
+
for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
|
|
328
|
+
a[v - 1] = arguments[v];
|
|
329
329
|
x1("error", n, a);
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
function x1(n, l, a) {
|
|
333
333
|
{
|
|
334
|
-
var
|
|
334
|
+
var v = $.ReactDebugCurrentFrame, C = v.getStackAddendum();
|
|
335
335
|
C !== "" && (l += "%s", a = a.concat([C]));
|
|
336
|
-
var S = a.map(function(
|
|
337
|
-
return String(
|
|
336
|
+
var S = a.map(function(M) {
|
|
337
|
+
return String(M);
|
|
338
338
|
});
|
|
339
339
|
S.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, S);
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
var
|
|
342
|
+
var M1 = !1, y = !1, j = !1, h1 = !1, m1 = !1, K;
|
|
343
343
|
K = Symbol.for("react.module.reference");
|
|
344
344
|
function A(n) {
|
|
345
|
-
return !!(typeof n == "string" || typeof n == "function" || n === r || n === u ||
|
|
345
|
+
return !!(typeof n == "string" || typeof n == "function" || n === r || n === u || m1 || n === c || n === p || n === d || h1 || n === W || M1 || y || j || typeof n == "object" && n !== null && (n.$$typeof === T || n.$$typeof === I || n.$$typeof === i || n.$$typeof === h || n.$$typeof === f || // This needs to include all possible module reference object
|
|
346
346
|
// types supported by any Flight configuration anywhere since
|
|
347
347
|
// we don't know which Flight build this will end up being used
|
|
348
348
|
// with.
|
|
349
349
|
n.$$typeof === K || n.getModuleId !== void 0));
|
|
350
350
|
}
|
|
351
351
|
function R(n, l, a) {
|
|
352
|
-
var
|
|
353
|
-
if (
|
|
354
|
-
return
|
|
352
|
+
var v = n.displayName;
|
|
353
|
+
if (v)
|
|
354
|
+
return v;
|
|
355
355
|
var C = l.displayName || l.name || "";
|
|
356
356
|
return C !== "" ? a + "(" + C + ")" : a;
|
|
357
357
|
}
|
|
358
358
|
function J(n) {
|
|
359
359
|
return n.displayName || "Context";
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function V(n) {
|
|
362
362
|
if (n == null)
|
|
363
363
|
return null;
|
|
364
|
-
if (typeof n.tag == "number" &&
|
|
364
|
+
if (typeof n.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
365
365
|
return n.displayName || n.name || null;
|
|
366
366
|
if (typeof n == "string")
|
|
367
367
|
return n;
|
|
@@ -381,7 +381,7 @@ function T2() {
|
|
|
381
381
|
}
|
|
382
382
|
if (typeof n == "object")
|
|
383
383
|
switch (n.$$typeof) {
|
|
384
|
-
case
|
|
384
|
+
case h:
|
|
385
385
|
var l = n;
|
|
386
386
|
return J(l) + ".Consumer";
|
|
387
387
|
case i:
|
|
@@ -389,13 +389,13 @@ function T2() {
|
|
|
389
389
|
return J(a._context) + ".Provider";
|
|
390
390
|
case f:
|
|
391
391
|
return R(n, n.render, "ForwardRef");
|
|
392
|
-
case
|
|
393
|
-
var
|
|
394
|
-
return
|
|
395
|
-
case
|
|
396
|
-
var C = n, S = C._payload,
|
|
392
|
+
case I:
|
|
393
|
+
var v = n.displayName || null;
|
|
394
|
+
return v !== null ? v : V(n.type) || "Memo";
|
|
395
|
+
case T: {
|
|
396
|
+
var C = n, S = C._payload, M = C._init;
|
|
397
397
|
try {
|
|
398
|
-
return
|
|
398
|
+
return V(M(S));
|
|
399
399
|
} catch {
|
|
400
400
|
return null;
|
|
401
401
|
}
|
|
@@ -403,14 +403,14 @@ function T2() {
|
|
|
403
403
|
}
|
|
404
404
|
return null;
|
|
405
405
|
}
|
|
406
|
-
var G = Object.assign, s1 = 0, A1, B1, O1, V1, k1,
|
|
406
|
+
var G = Object.assign, s1 = 0, A1, B1, O1, V1, k1, W1, U1;
|
|
407
407
|
function F1() {
|
|
408
408
|
}
|
|
409
409
|
F1.__reactDisabledLog = !0;
|
|
410
|
-
function
|
|
410
|
+
function m3() {
|
|
411
411
|
{
|
|
412
412
|
if (s1 === 0) {
|
|
413
|
-
A1 = console.log, B1 = console.info, O1 = console.warn, V1 = console.error, k1 = console.group,
|
|
413
|
+
A1 = console.log, B1 = console.info, O1 = console.warn, V1 = console.error, k1 = console.group, W1 = console.groupCollapsed, U1 = console.groupEnd;
|
|
414
414
|
var n = {
|
|
415
415
|
configurable: !0,
|
|
416
416
|
enumerable: !0,
|
|
@@ -455,14 +455,14 @@ function T2() {
|
|
|
455
455
|
value: k1
|
|
456
456
|
}),
|
|
457
457
|
groupCollapsed: G({}, n, {
|
|
458
|
-
value:
|
|
458
|
+
value: W1
|
|
459
459
|
}),
|
|
460
460
|
groupEnd: G({}, n, {
|
|
461
|
-
value:
|
|
461
|
+
value: U1
|
|
462
462
|
})
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
|
-
s1 < 0 &&
|
|
465
|
+
s1 < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
468
|
var Z1 = $.ReactCurrentDispatcher, j1;
|
|
@@ -472,8 +472,8 @@ function T2() {
|
|
|
472
472
|
try {
|
|
473
473
|
throw Error();
|
|
474
474
|
} catch (C) {
|
|
475
|
-
var
|
|
476
|
-
j1 =
|
|
475
|
+
var v = C.stack.trim().match(/\n( *(at )?)/);
|
|
476
|
+
j1 = v && v[1] || "";
|
|
477
477
|
}
|
|
478
478
|
return `
|
|
479
479
|
` + j1 + n;
|
|
@@ -492,48 +492,48 @@ function T2() {
|
|
|
492
492
|
if (a !== void 0)
|
|
493
493
|
return a;
|
|
494
494
|
}
|
|
495
|
-
var
|
|
495
|
+
var v;
|
|
496
496
|
C1 = !0;
|
|
497
497
|
var C = Error.prepareStackTrace;
|
|
498
498
|
Error.prepareStackTrace = void 0;
|
|
499
499
|
var S;
|
|
500
|
-
S = Z1.current, Z1.current = null,
|
|
500
|
+
S = Z1.current, Z1.current = null, m3();
|
|
501
501
|
try {
|
|
502
502
|
if (l) {
|
|
503
|
-
var
|
|
503
|
+
var M = function() {
|
|
504
504
|
throw Error();
|
|
505
505
|
};
|
|
506
|
-
if (Object.defineProperty(
|
|
506
|
+
if (Object.defineProperty(M.prototype, "props", {
|
|
507
507
|
set: function() {
|
|
508
508
|
throw Error();
|
|
509
509
|
}
|
|
510
510
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
511
511
|
try {
|
|
512
|
-
Reflect.construct(
|
|
512
|
+
Reflect.construct(M, []);
|
|
513
513
|
} catch (B) {
|
|
514
|
-
|
|
514
|
+
v = B;
|
|
515
515
|
}
|
|
516
|
-
Reflect.construct(n, [],
|
|
516
|
+
Reflect.construct(n, [], M);
|
|
517
517
|
} else {
|
|
518
518
|
try {
|
|
519
|
-
|
|
519
|
+
M.call();
|
|
520
520
|
} catch (B) {
|
|
521
|
-
|
|
521
|
+
v = B;
|
|
522
522
|
}
|
|
523
|
-
n.call(
|
|
523
|
+
n.call(M.prototype);
|
|
524
524
|
}
|
|
525
525
|
} else {
|
|
526
526
|
try {
|
|
527
527
|
throw Error();
|
|
528
528
|
} catch (B) {
|
|
529
|
-
|
|
529
|
+
v = B;
|
|
530
530
|
}
|
|
531
531
|
n();
|
|
532
532
|
}
|
|
533
533
|
} catch (B) {
|
|
534
|
-
if (B &&
|
|
534
|
+
if (B && v && typeof B.stack == "string") {
|
|
535
535
|
for (var x = B.stack.split(`
|
|
536
|
-
`), D =
|
|
536
|
+
`), D = v.stack.split(`
|
|
537
537
|
`), E = x.length - 1, _ = D.length - 1; E >= 1 && _ >= 0 && x[E] !== D[_]; )
|
|
538
538
|
_--;
|
|
539
539
|
for (; E >= 1 && _ >= 0; E--, _--)
|
|
@@ -541,9 +541,9 @@ function T2() {
|
|
|
541
541
|
if (E !== 1 || _ !== 1)
|
|
542
542
|
do
|
|
543
543
|
if (E--, _--, _ < 0 || x[E] !== D[_]) {
|
|
544
|
-
var
|
|
544
|
+
var k = `
|
|
545
545
|
` + x[E].replace(" at new ", " at ");
|
|
546
|
-
return n.displayName &&
|
|
546
|
+
return n.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", n.displayName)), typeof n == "function" && g1.set(n, k), k;
|
|
547
547
|
}
|
|
548
548
|
while (E >= 1 && _ >= 0);
|
|
549
549
|
break;
|
|
@@ -579,10 +579,10 @@ function T2() {
|
|
|
579
579
|
switch (n.$$typeof) {
|
|
580
580
|
case f:
|
|
581
581
|
return C3(n.render);
|
|
582
|
-
case
|
|
582
|
+
case I:
|
|
583
583
|
return f1(n.type, l, a);
|
|
584
|
-
case
|
|
585
|
-
var
|
|
584
|
+
case T: {
|
|
585
|
+
var v = n, C = v._payload, S = v._init;
|
|
586
586
|
try {
|
|
587
587
|
return f1(S(C), l, a);
|
|
588
588
|
} catch {
|
|
@@ -599,22 +599,22 @@ function T2() {
|
|
|
599
599
|
} else
|
|
600
600
|
G1.setExtraStackFrame(null);
|
|
601
601
|
}
|
|
602
|
-
function b3(n, l, a,
|
|
602
|
+
function b3(n, l, a, v, C) {
|
|
603
603
|
{
|
|
604
604
|
var S = Function.call.bind(n1);
|
|
605
|
-
for (var
|
|
606
|
-
if (S(n,
|
|
605
|
+
for (var M in n)
|
|
606
|
+
if (S(n, M)) {
|
|
607
607
|
var x = void 0;
|
|
608
608
|
try {
|
|
609
|
-
if (typeof n[
|
|
610
|
-
var D = Error((
|
|
609
|
+
if (typeof n[M] != "function") {
|
|
610
|
+
var D = Error((v || "React class") + ": " + a + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
611
611
|
throw D.name = "Invariant Violation", D;
|
|
612
612
|
}
|
|
613
|
-
x = n[
|
|
613
|
+
x = n[M](l, M, v, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
614
614
|
} catch (E) {
|
|
615
615
|
x = E;
|
|
616
616
|
}
|
|
617
|
-
x && !(x instanceof Error) && (w1(C),
|
|
617
|
+
x && !(x instanceof Error) && (w1(C), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", a, M, typeof x), w1(null)), x instanceof Error && !(x.message in K1) && (K1[x.message] = !0, w1(C), P("Failed %s type: %s", a, x.message), w1(null));
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
}
|
|
@@ -640,7 +640,7 @@ function T2() {
|
|
|
640
640
|
}
|
|
641
641
|
function Y1(n) {
|
|
642
642
|
if (R3(n))
|
|
643
|
-
return
|
|
643
|
+
return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", y3(n)), q1(n);
|
|
644
644
|
}
|
|
645
645
|
var r1 = $.ReactCurrentOwner, E3 = {
|
|
646
646
|
key: !0,
|
|
@@ -665,16 +665,16 @@ function T2() {
|
|
|
665
665
|
}
|
|
666
666
|
return n.key !== void 0;
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function P3(n, l) {
|
|
669
669
|
if (typeof n.ref == "string" && r1.current && l && r1.current.stateNode !== l) {
|
|
670
|
-
var a =
|
|
671
|
-
b1[a] || (
|
|
670
|
+
var a = V(r1.current.type);
|
|
671
|
+
b1[a] || (P('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', V(r1.current.type), n.ref), b1[a] = !0);
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
function $3(n, l) {
|
|
675
675
|
{
|
|
676
676
|
var a = function() {
|
|
677
|
-
z1 || (z1 = !0,
|
|
677
|
+
z1 || (z1 = !0, P("%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));
|
|
678
678
|
};
|
|
679
679
|
a.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
680
680
|
get: a,
|
|
@@ -682,10 +682,10 @@ function T2() {
|
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function T3(n, l) {
|
|
686
686
|
{
|
|
687
687
|
var a = function() {
|
|
688
|
-
J1 || (J1 = !0,
|
|
688
|
+
J1 || (J1 = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
689
689
|
};
|
|
690
690
|
a.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
691
691
|
get: a,
|
|
@@ -693,7 +693,7 @@ function T2() {
|
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
var D3 = function(n, l, a,
|
|
696
|
+
var D3 = function(n, l, a, v, C, S, M) {
|
|
697
697
|
var x = {
|
|
698
698
|
// This tag allows us to uniquely identify this as a React Element
|
|
699
699
|
$$typeof: e,
|
|
@@ -701,7 +701,7 @@ function T2() {
|
|
|
701
701
|
type: n,
|
|
702
702
|
key: l,
|
|
703
703
|
ref: a,
|
|
704
|
-
props:
|
|
704
|
+
props: M,
|
|
705
705
|
// Record the component responsible for creating this element.
|
|
706
706
|
_owner: S
|
|
707
707
|
};
|
|
@@ -714,7 +714,7 @@ function T2() {
|
|
|
714
714
|
configurable: !1,
|
|
715
715
|
enumerable: !1,
|
|
716
716
|
writable: !1,
|
|
717
|
-
value:
|
|
717
|
+
value: v
|
|
718
718
|
}), Object.defineProperty(x, "_source", {
|
|
719
719
|
configurable: !1,
|
|
720
720
|
enumerable: !1,
|
|
@@ -722,22 +722,22 @@ function T2() {
|
|
|
722
722
|
value: C
|
|
723
723
|
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
724
724
|
};
|
|
725
|
-
function A3(n, l, a,
|
|
725
|
+
function A3(n, l, a, v, C) {
|
|
726
726
|
{
|
|
727
|
-
var S,
|
|
728
|
-
a !== void 0 && (Y1(a), x = "" + a), L3(l) && (Y1(l.key), x = "" + l.key), _3(l) && (D = l.ref,
|
|
727
|
+
var S, M = {}, x = null, D = null;
|
|
728
|
+
a !== void 0 && (Y1(a), x = "" + a), L3(l) && (Y1(l.key), x = "" + l.key), _3(l) && (D = l.ref, P3(l, C));
|
|
729
729
|
for (S in l)
|
|
730
|
-
n1.call(l, S) && !E3.hasOwnProperty(S) && (
|
|
730
|
+
n1.call(l, S) && !E3.hasOwnProperty(S) && (M[S] = l[S]);
|
|
731
731
|
if (n && n.defaultProps) {
|
|
732
732
|
var E = n.defaultProps;
|
|
733
733
|
for (S in E)
|
|
734
|
-
|
|
734
|
+
M[S] === void 0 && (M[S] = E[S]);
|
|
735
735
|
}
|
|
736
736
|
if (x || D) {
|
|
737
737
|
var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
738
|
-
x && $3(
|
|
738
|
+
x && $3(M, _), D && T3(M, _);
|
|
739
739
|
}
|
|
740
|
-
return D3(n, x, D, C,
|
|
740
|
+
return D3(n, x, D, C, v, r1.current, M);
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
var I1 = $.ReactCurrentOwner, X1 = $.ReactDebugCurrentFrame;
|
|
@@ -756,7 +756,7 @@ function T2() {
|
|
|
756
756
|
function Q1() {
|
|
757
757
|
{
|
|
758
758
|
if (I1.current) {
|
|
759
|
-
var n =
|
|
759
|
+
var n = V(I1.current.type);
|
|
760
760
|
if (n)
|
|
761
761
|
return `
|
|
762
762
|
|
|
@@ -798,8 +798,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
798
798
|
if (N1[a])
|
|
799
799
|
return;
|
|
800
800
|
N1[a] = !0;
|
|
801
|
-
var
|
|
802
|
-
n && n._owner && n._owner !== I1.current && (
|
|
801
|
+
var v = "";
|
|
802
|
+
n && n._owner && n._owner !== I1.current && (v = " It was passed a child from " + V(n._owner.type) + "."), X(n), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, v), X(null);
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
805
|
function t3(n, l) {
|
|
@@ -808,16 +808,16 @@ Check the top-level render call using <` + a + ">.");
|
|
|
808
808
|
return;
|
|
809
809
|
if (S1(n))
|
|
810
810
|
for (var a = 0; a < n.length; a++) {
|
|
811
|
-
var
|
|
812
|
-
R1(
|
|
811
|
+
var v = n[a];
|
|
812
|
+
R1(v) && e3(v, l);
|
|
813
813
|
}
|
|
814
814
|
else if (R1(n))
|
|
815
815
|
n._store && (n._store.validated = !0);
|
|
816
816
|
else if (n) {
|
|
817
817
|
var C = o1(n);
|
|
818
818
|
if (typeof C == "function" && C !== n.entries)
|
|
819
|
-
for (var S = C.call(n),
|
|
820
|
-
R1(
|
|
819
|
+
for (var S = C.call(n), M; !(M = S.next()).done; )
|
|
820
|
+
R1(M.value) && e3(M.value, l);
|
|
821
821
|
}
|
|
822
822
|
}
|
|
823
823
|
}
|
|
@@ -831,68 +831,68 @@ Check the top-level render call using <` + a + ">.");
|
|
|
831
831
|
a = l.propTypes;
|
|
832
832
|
else if (typeof l == "object" && (l.$$typeof === f || // Note: Memo only checks outer props here.
|
|
833
833
|
// Inner props are checked in the reconciler.
|
|
834
|
-
l.$$typeof ===
|
|
834
|
+
l.$$typeof === I))
|
|
835
835
|
a = l.propTypes;
|
|
836
836
|
else
|
|
837
837
|
return;
|
|
838
838
|
if (a) {
|
|
839
|
-
var
|
|
840
|
-
b3(a, n.props, "prop",
|
|
839
|
+
var v = V(l);
|
|
840
|
+
b3(a, n.props, "prop", v, n);
|
|
841
841
|
} else if (l.PropTypes !== void 0 && !y1) {
|
|
842
842
|
y1 = !0;
|
|
843
|
-
var C =
|
|
844
|
-
|
|
843
|
+
var C = V(l);
|
|
844
|
+
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
|
|
845
845
|
}
|
|
846
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
846
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
849
|
function k3(n) {
|
|
850
850
|
{
|
|
851
851
|
for (var l = Object.keys(n.props), a = 0; a < l.length; a++) {
|
|
852
|
-
var
|
|
853
|
-
if (
|
|
854
|
-
X(n),
|
|
852
|
+
var v = l[a];
|
|
853
|
+
if (v !== "children" && v !== "key") {
|
|
854
|
+
X(n), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), X(null);
|
|
855
855
|
break;
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
-
n.ref !== null && (X(n),
|
|
858
|
+
n.ref !== null && (X(n), P("Invalid attribute `ref` supplied to `React.Fragment`."), X(null));
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
var o3 = {};
|
|
862
|
-
function s3(n, l, a,
|
|
862
|
+
function s3(n, l, a, v, C, S) {
|
|
863
863
|
{
|
|
864
|
-
var
|
|
865
|
-
if (!
|
|
864
|
+
var M = A(n);
|
|
865
|
+
if (!M) {
|
|
866
866
|
var x = "";
|
|
867
867
|
(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.");
|
|
868
868
|
var D = B3(C);
|
|
869
869
|
D ? x += D : x += Q1();
|
|
870
870
|
var E;
|
|
871
|
-
n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (
|
|
871
|
+
n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (V(n.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : E = typeof n, P("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);
|
|
872
872
|
}
|
|
873
873
|
var _ = A3(n, l, a, C, S);
|
|
874
874
|
if (_ == null)
|
|
875
875
|
return _;
|
|
876
|
-
if (
|
|
877
|
-
var
|
|
878
|
-
if (
|
|
879
|
-
if (
|
|
880
|
-
if (S1(
|
|
881
|
-
for (var Q = 0; Q <
|
|
882
|
-
t3(
|
|
883
|
-
Object.freeze && Object.freeze(
|
|
876
|
+
if (M) {
|
|
877
|
+
var k = l.children;
|
|
878
|
+
if (k !== void 0)
|
|
879
|
+
if (v)
|
|
880
|
+
if (S1(k)) {
|
|
881
|
+
for (var Q = 0; Q < k.length; Q++)
|
|
882
|
+
t3(k[Q], n);
|
|
883
|
+
Object.freeze && Object.freeze(k);
|
|
884
884
|
} else
|
|
885
|
-
|
|
885
|
+
P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
886
886
|
else
|
|
887
|
-
t3(
|
|
887
|
+
t3(k, n);
|
|
888
888
|
}
|
|
889
889
|
if (n1.call(l, "key")) {
|
|
890
|
-
var Y =
|
|
890
|
+
var Y = V(n), B = Object.keys(l).filter(function(G3) {
|
|
891
891
|
return G3 !== "key";
|
|
892
892
|
}), E1 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
893
893
|
if (!o3[Y + E1]) {
|
|
894
894
|
var K3 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
895
|
-
|
|
895
|
+
P(`A props object containing a "key" prop is being spread into JSX:
|
|
896
896
|
let props = %s;
|
|
897
897
|
<%s {...props} />
|
|
898
898
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -903,13 +903,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
903
903
|
return n === r ? k3(_) : V3(_), _;
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
|
-
function
|
|
906
|
+
function W3(n, l, a) {
|
|
907
907
|
return s3(n, l, a, !0);
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function U3(n, l, a) {
|
|
910
910
|
return s3(n, l, a, !1);
|
|
911
911
|
}
|
|
912
|
-
var F3 =
|
|
912
|
+
var F3 = U3, H3 = W3;
|
|
913
913
|
l1.Fragment = r, l1.jsx = F3, l1.jsxs = H3;
|
|
914
914
|
}()), l1;
|
|
915
915
|
}
|
|
@@ -929,24 +929,24 @@ function $2() {
|
|
|
929
929
|
return i1;
|
|
930
930
|
l3 = 1;
|
|
931
931
|
var t = u3, 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 };
|
|
932
|
-
function i(
|
|
933
|
-
var d,
|
|
934
|
-
p !== void 0 && (
|
|
932
|
+
function i(h, f, p) {
|
|
933
|
+
var d, I = {}, T = null, W = null;
|
|
934
|
+
p !== void 0 && (T = "" + p), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (W = f.ref);
|
|
935
935
|
for (d in f)
|
|
936
|
-
r.call(f, d) && !u.hasOwnProperty(d) && (
|
|
937
|
-
if (
|
|
938
|
-
for (d in f =
|
|
939
|
-
|
|
940
|
-
return { $$typeof: e, type:
|
|
936
|
+
r.call(f, d) && !u.hasOwnProperty(d) && (I[d] = f[d]);
|
|
937
|
+
if (h && h.defaultProps)
|
|
938
|
+
for (d in f = h.defaultProps, f)
|
|
939
|
+
I[d] === void 0 && (I[d] = f[d]);
|
|
940
|
+
return { $$typeof: e, type: h, key: T, ref: W, props: I, _owner: c.current };
|
|
941
941
|
}
|
|
942
942
|
return i1.Fragment = s, i1.jsx = i, i1.jsxs = i, i1;
|
|
943
943
|
}
|
|
944
|
-
process.env.NODE_ENV === "production" ? $1.exports = $2() : $1.exports =
|
|
944
|
+
process.env.NODE_ENV === "production" ? $1.exports = $2() : $1.exports = P2();
|
|
945
945
|
var o = $1.exports;
|
|
946
|
-
const
|
|
947
|
-
mwfit:
|
|
946
|
+
const T2 = "_mwfit_ppa3l_1", D2 = {
|
|
947
|
+
mwfit: T2
|
|
948
948
|
}, A2 = () => {
|
|
949
|
-
const { reconnect: t } =
|
|
949
|
+
const { reconnect: t } = b(), e = E2(), s = _2();
|
|
950
950
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: `disconnected-message ${D2.mwfit} mx-auto text-center`, children: [
|
|
951
951
|
/* @__PURE__ */ o.jsx("h1", { children: "Disconnected" }),
|
|
952
952
|
e && /* @__PURE__ */ o.jsx("h5", { children: e }),
|
|
@@ -955,10 +955,10 @@ const P2 = "_mwfit_ppa3l_1", D2 = {
|
|
|
955
955
|
};
|
|
956
956
|
class B2 {
|
|
957
957
|
constructor() {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
958
|
+
H(this, "uuid", "current-uuid");
|
|
959
|
+
H(this, "roomKey", "current-room-key");
|
|
960
|
+
H(this, "code", "current-code");
|
|
961
|
+
H(this, "expiry", "current-uuid-expires");
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
964
|
const i3 = new B2(), p3 = s2({
|
|
@@ -975,32 +975,32 @@ function V2(t, e) {
|
|
|
975
975
|
sessionStorage.setItem(t, e);
|
|
976
976
|
}
|
|
977
977
|
const k2 = ({ children: t }) => {
|
|
978
|
-
const [e, s] =
|
|
978
|
+
const [e, s] = F(), r = C2(), c = S2(), u = b2(), i = L2(), h = a2(), f = I2(), p = y2(), d = R2(), I = u1(null), [T, W] = F(), O = u1({}), z = c1(
|
|
979
979
|
async (y) => {
|
|
980
980
|
try {
|
|
981
|
-
const j = await
|
|
982
|
-
return j.status === 200 && j.data ? (
|
|
981
|
+
const j = await P1.get(`${y}/ui/joinroom?token=${e}`);
|
|
982
|
+
return j.status === 200 && j.data ? (m.dispatch(U.setRoomData(j.data)), !0) : !1;
|
|
983
983
|
} catch (j) {
|
|
984
|
-
return console.log(j), d ? !0 : j instanceof J3 && j.response && j.response.status === 498 ? (console.error("Invalid token. Unable to join room"),
|
|
984
|
+
return console.log(j), d ? !0 : j instanceof J3 && j.response && j.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(q.setErrorMessage(`Token ${e} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", j), j instanceof Error ? m.dispatch(q.setErrorMessage(j.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
|
|
985
985
|
}
|
|
986
986
|
},
|
|
987
987
|
[e, d]
|
|
988
988
|
), o1 = c1(() => {
|
|
989
|
-
const y = `${
|
|
989
|
+
const y = `${h.gatewayAppPath}?uuid=${f}&roomKey=${c}`;
|
|
990
990
|
window.location.href = p ? `${y}&Code=${p}` : y;
|
|
991
|
-
}, [
|
|
991
|
+
}, [h.gatewayAppPath, c, f, p]), $ = c1(
|
|
992
992
|
(y, j) => {
|
|
993
|
-
|
|
993
|
+
I.current && r && I.current.send(JSON.stringify({ type: y, clientId: u, content: j }));
|
|
994
994
|
},
|
|
995
995
|
[r, u]
|
|
996
|
-
),
|
|
996
|
+
), P = (y, j) => {
|
|
997
997
|
$(y, { value: j });
|
|
998
998
|
}, x1 = c1(
|
|
999
999
|
(y, j, h1) => {
|
|
1000
1000
|
O.current[y] || (O.current[y] = {}), O.current[y][j] = h1, console.log("event handler added", y, j);
|
|
1001
1001
|
},
|
|
1002
1002
|
[]
|
|
1003
|
-
),
|
|
1003
|
+
), M1 = c1((y, j) => {
|
|
1004
1004
|
O.current[y] && (delete O.current[y][j], console.log("event handler removed", y, j));
|
|
1005
1005
|
}, []);
|
|
1006
1006
|
return t1(() => {
|
|
@@ -1008,33 +1008,33 @@ const k2 = ({ children: t }) => {
|
|
|
1008
1008
|
j ? (console.log("saving token: ", j), V2(i3.uuid, j)) : (j = O2(i3.uuid), console.log("loading token: ", j)), s(j), i();
|
|
1009
1009
|
}, []), t1(() => {
|
|
1010
1010
|
async function y() {
|
|
1011
|
-
if (console.log("effect is running"), !(!
|
|
1011
|
+
if (console.log("effect is running"), !(!h.apiPath || T || !e || !await z(h.apiPath)) && !I.current) {
|
|
1012
1012
|
console.log("connecting to websocket");
|
|
1013
|
-
const
|
|
1014
|
-
|
|
1015
|
-
console.log("connected", A.type, A.target),
|
|
1013
|
+
const m1 = `${h.apiPath.replace("http", "ws")}/ui/join/${e}`, K = new WebSocket(m1);
|
|
1014
|
+
I.current = K, K.onopen = (A) => {
|
|
1015
|
+
console.log("connected", A.type, A.target), m.dispatch(U.setWebsocketIsConnected(!0));
|
|
1016
1016
|
}, K.onerror = (A) => {
|
|
1017
1017
|
console.log(A);
|
|
1018
1018
|
}, K.onclose = (A) => {
|
|
1019
1019
|
if (console.log("disconnected: ", A.reason, A.code), A.code === 4e3) {
|
|
1020
|
-
console.log("user code changed"),
|
|
1020
|
+
console.log("user code changed"), m.dispatch(U.setUserCode({ userCode: "", qrUrl: "" })), m.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(U.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1021
1021
|
return;
|
|
1022
1022
|
}
|
|
1023
1023
|
if (A.code === 4001 && !d) {
|
|
1024
|
-
console.log("processor disconnected"),
|
|
1024
|
+
console.log("processor disconnected"), m.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(U.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1025
1025
|
return;
|
|
1026
1026
|
}
|
|
1027
1027
|
if (A.code === 4002) {
|
|
1028
|
-
console.log("room combination changed"),
|
|
1028
|
+
console.log("room combination changed"), m.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(U.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1029
1029
|
return;
|
|
1030
1030
|
}
|
|
1031
|
-
if (
|
|
1031
|
+
if (I.current)
|
|
1032
1032
|
console.log("WebSocket closed by server.");
|
|
1033
1033
|
else {
|
|
1034
1034
|
console.log("WebSocket closed by client.");
|
|
1035
1035
|
return;
|
|
1036
1036
|
}
|
|
1037
|
-
|
|
1037
|
+
T || (m.dispatch(U.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), W(!0), setTimeout(() => W(void 0), 5e3));
|
|
1038
1038
|
}, K.onmessage = (A) => {
|
|
1039
1039
|
try {
|
|
1040
1040
|
const R = JSON.parse(A.data);
|
|
@@ -1045,23 +1045,23 @@ const k2 = ({ children: t }) => {
|
|
|
1045
1045
|
if (R.type.startsWith("/system/"))
|
|
1046
1046
|
switch (R.type) {
|
|
1047
1047
|
case "/system/touchpanelKey":
|
|
1048
|
-
|
|
1049
|
-
|
|
1048
|
+
m.dispatch(
|
|
1049
|
+
U.setTouchpanelKey(
|
|
1050
1050
|
R.content
|
|
1051
1051
|
)
|
|
1052
1052
|
);
|
|
1053
1053
|
break;
|
|
1054
1054
|
case "/system/roomKey": {
|
|
1055
|
-
|
|
1056
|
-
|
|
1055
|
+
m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), m.dispatch(
|
|
1056
|
+
U.setCurrentRoomKey(
|
|
1057
1057
|
R.content
|
|
1058
1058
|
)
|
|
1059
1059
|
);
|
|
1060
1060
|
break;
|
|
1061
1061
|
}
|
|
1062
1062
|
case "/system/userCodeChanged":
|
|
1063
|
-
|
|
1064
|
-
|
|
1063
|
+
m.dispatch(
|
|
1064
|
+
U.setUserCode(
|
|
1065
1065
|
R.content
|
|
1066
1066
|
)
|
|
1067
1067
|
);
|
|
@@ -1076,15 +1076,15 @@ const k2 = ({ children: t }) => {
|
|
|
1076
1076
|
else if (R.type.startsWith("/event/")) {
|
|
1077
1077
|
console.log("event message received", R);
|
|
1078
1078
|
const J = O.current[R.type];
|
|
1079
|
-
J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((
|
|
1079
|
+
J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((V) => {
|
|
1080
1080
|
try {
|
|
1081
|
-
|
|
1081
|
+
V(R);
|
|
1082
1082
|
} catch (G) {
|
|
1083
1083
|
console.error(G);
|
|
1084
1084
|
}
|
|
1085
1085
|
});
|
|
1086
1086
|
} else
|
|
1087
|
-
R.type.startsWith("/room/") ?
|
|
1087
|
+
R.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(R)) : R.type.startsWith("/device/") && m.dispatch(N.setDeviceState(R));
|
|
1088
1088
|
} catch (R) {
|
|
1089
1089
|
console.log(R);
|
|
1090
1090
|
}
|
|
@@ -1092,28 +1092,28 @@ const k2 = ({ children: t }) => {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
1094
|
return y(), () => {
|
|
1095
|
-
|
|
1095
|
+
I.current && I.current.close(), I.current = null;
|
|
1096
1096
|
};
|
|
1097
|
-
}, [
|
|
1097
|
+
}, [h.apiPath, z, e, T, d]), t1(() => {
|
|
1098
1098
|
!c || !r || (console.log("clientId: ", u), u && (console.log("requesting status from room: ", c), $(`/room/${c}/status`, null)));
|
|
1099
1099
|
}, [c, u, r, $]), /* @__PURE__ */ o.jsx(
|
|
1100
1100
|
p3.Provider,
|
|
1101
1101
|
{
|
|
1102
1102
|
value: {
|
|
1103
1103
|
sendMessage: $,
|
|
1104
|
-
sendSimpleMessage:
|
|
1104
|
+
sendSimpleMessage: P,
|
|
1105
1105
|
addEventHandler: x1,
|
|
1106
|
-
removeEventHandler:
|
|
1106
|
+
removeEventHandler: M1,
|
|
1107
1107
|
reconnect: o1
|
|
1108
1108
|
},
|
|
1109
1109
|
children: r ? t : /* @__PURE__ */ o.jsx(A2, {})
|
|
1110
1110
|
}
|
|
1111
1111
|
);
|
|
1112
|
-
}, x6 = ({ children: t }) => /* @__PURE__ */ o.jsx(N3, { store:
|
|
1113
|
-
function
|
|
1112
|
+
}, x6 = ({ children: t }) => /* @__PURE__ */ o.jsx(N3, { store: m, children: /* @__PURE__ */ o.jsx(k2, { children: t }) });
|
|
1113
|
+
function b() {
|
|
1114
1114
|
return n2(p3);
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function W2({
|
|
1117
1117
|
onPress: t,
|
|
1118
1118
|
onRelease: e,
|
|
1119
1119
|
onHold: s,
|
|
@@ -1125,20 +1125,20 @@ function U2({
|
|
|
1125
1125
|
s == null || s(), c.current = null;
|
|
1126
1126
|
}, r);
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1128
|
+
function h() {
|
|
1129
1129
|
u.current = !1, e == null || e(), c.current && (clearTimeout(c.current), c.current = null);
|
|
1130
1130
|
}
|
|
1131
1131
|
function f() {
|
|
1132
|
-
u.current &&
|
|
1132
|
+
u.current && h();
|
|
1133
1133
|
}
|
|
1134
1134
|
return {
|
|
1135
1135
|
onPointerDown: i,
|
|
1136
|
-
onPointerUp:
|
|
1136
|
+
onPointerUp: h,
|
|
1137
1137
|
onPointerLeave: f
|
|
1138
1138
|
};
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1141
|
-
const { sendMessage: r } =
|
|
1140
|
+
function g(t, e) {
|
|
1141
|
+
const { sendMessage: r } = b(), c = u1(null);
|
|
1142
1142
|
function u() {
|
|
1143
1143
|
r(`${t}/${e}`, { value: "pressed" }), c.current || (c.current = setInterval(() => {
|
|
1144
1144
|
r(`${t}/${e}`, { value: "held" });
|
|
@@ -1147,10 +1147,10 @@ function v(t, e) {
|
|
|
1147
1147
|
function i() {
|
|
1148
1148
|
c.current && (clearInterval(c.current), c.current = null), r(`${t}/${e}`, { value: "released" });
|
|
1149
1149
|
}
|
|
1150
|
-
return
|
|
1150
|
+
return W2({ onPress: u, onRelease: i });
|
|
1151
1151
|
}
|
|
1152
1152
|
function x3(t, e) {
|
|
1153
|
-
const { sendMessage: s, sendSimpleMessage: r } =
|
|
1153
|
+
const { sendMessage: s, sendSimpleMessage: r } = b(), c = g(`${t}`, "volumeUp"), u = g(`${t}`, "volumeDown");
|
|
1154
1154
|
return e ? {
|
|
1155
1155
|
volumeState: e,
|
|
1156
1156
|
volumeUp: c,
|
|
@@ -1161,8 +1161,8 @@ function x3(t, e) {
|
|
|
1161
1161
|
muteOff: () => s(`${t}/muteOff`, null)
|
|
1162
1162
|
} : void 0;
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1165
|
-
const { sendMessage: s, sendSimpleMessage: r } =
|
|
1164
|
+
function M6(t, e) {
|
|
1165
|
+
const { sendMessage: s, sendSimpleMessage: r } = b(), c = g(`${t}`, "volumeUp"), u = g(`${t}`, "volumeDown");
|
|
1166
1166
|
return e ? {
|
|
1167
1167
|
volumeState: e,
|
|
1168
1168
|
volumeUp: c,
|
|
@@ -1173,12 +1173,12 @@ function m6(t, e) {
|
|
|
1173
1173
|
muteOff: () => s(`${t}/muteOff`, null)
|
|
1174
1174
|
} : void 0;
|
|
1175
1175
|
}
|
|
1176
|
-
function
|
|
1177
|
-
const e =
|
|
1176
|
+
function U2(t) {
|
|
1177
|
+
const e = L(t), s = `/device/${t}`;
|
|
1178
1178
|
return x3(s, e == null ? void 0 : e.volume);
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1181
|
-
const { sendMessage: e } =
|
|
1180
|
+
function M3(t) {
|
|
1181
|
+
const { sendMessage: e } = b();
|
|
1182
1182
|
return { powerOn: () => {
|
|
1183
1183
|
e(`/device/${t}/powerOn`, null);
|
|
1184
1184
|
}, powerOff: () => {
|
|
@@ -1187,26 +1187,26 @@ function m3(t) {
|
|
|
1187
1187
|
e(`/device/${t}/powerToggle`, null);
|
|
1188
1188
|
} };
|
|
1189
1189
|
}
|
|
1190
|
-
function
|
|
1191
|
-
const { sendMessage: e } =
|
|
1190
|
+
function T1(t) {
|
|
1191
|
+
const { sendMessage: e } = b(), s = L(t);
|
|
1192
1192
|
return console.log("deviceState", s), s ? { itemsState: s, selectItem: (c) => {
|
|
1193
1193
|
e(`/device/${t}/${c}`, null);
|
|
1194
1194
|
} } : void 0;
|
|
1195
1195
|
}
|
|
1196
1196
|
function F2(t) {
|
|
1197
|
-
const { sendMessage: e } =
|
|
1197
|
+
const { sendMessage: e } = b(), s = L(t), r = () => {
|
|
1198
1198
|
e(`/device/${t}/setDefaultChannelLevels`, null);
|
|
1199
1199
|
}, c = () => {
|
|
1200
1200
|
if ((s == null ? void 0 : s.levelControls) === void 0)
|
|
1201
1201
|
return;
|
|
1202
|
-
Object.keys(s == null ? void 0 : s.levelControls).forEach((
|
|
1203
|
-
e(`/device/${t}/${
|
|
1202
|
+
Object.keys(s == null ? void 0 : s.levelControls).forEach((h) => {
|
|
1203
|
+
e(`/device/${t}/${h}/fullStatus`, null);
|
|
1204
1204
|
});
|
|
1205
1205
|
};
|
|
1206
1206
|
return s ? { levelControls: s.levelControls, setDefaultChannelLevels: r, getFullStatus: c } : void 0;
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1209
|
-
const e =
|
|
1208
|
+
function m6(t) {
|
|
1209
|
+
const e = L(t), s = M3(t), r = T1(t), c = T1(t), u = U2(t), i = F2(t);
|
|
1210
1210
|
if (e)
|
|
1211
1211
|
return {
|
|
1212
1212
|
avrState: e,
|
|
@@ -1217,59 +1217,67 @@ function M6(t) {
|
|
|
1217
1217
|
mainVolumeControl: u
|
|
1218
1218
|
};
|
|
1219
1219
|
}
|
|
1220
|
-
|
|
1221
|
-
const e =
|
|
1220
|
+
const Z6 = ({ className: t }) => {
|
|
1221
|
+
const [e, s] = F();
|
|
1222
|
+
return t1(() => {
|
|
1223
|
+
setInterval(() => {
|
|
1224
|
+
const r = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1225
|
+
s(r);
|
|
1226
|
+
}, 1e3);
|
|
1227
|
+
}, []), /* @__PURE__ */ o.jsxs("div", { className: t, children: [
|
|
1228
|
+
e,
|
|
1229
|
+
" new change"
|
|
1230
|
+
] });
|
|
1231
|
+
};
|
|
1232
|
+
function j6(t) {
|
|
1233
|
+
const { sendMessage: e } = b(), s = L(t), r = `/device/${t}`;
|
|
1234
|
+
return s ? { state: s, recallPreset: (i, h) => {
|
|
1235
|
+
e(`${r}/recall`, { deviceKey: i, preset: h });
|
|
1236
|
+
}, savePresets: (i) => {
|
|
1237
|
+
e(`${r}/save`, i);
|
|
1238
|
+
} } : void 0;
|
|
1239
|
+
}
|
|
1240
|
+
function C6(t) {
|
|
1241
|
+
const e = L(t);
|
|
1222
1242
|
if (e)
|
|
1223
1243
|
return { endpointState: e };
|
|
1224
1244
|
}
|
|
1225
|
-
function
|
|
1226
|
-
const e = `/device/${t}`, s =
|
|
1227
|
-
return { channelUp: s, channelDown: r, lastChannel: c, guide: u, info: i, exit:
|
|
1245
|
+
function S6(t) {
|
|
1246
|
+
const e = `/device/${t}`, s = g(e, "chanUp"), r = g(e, "chanDown"), c = g(e, "lastChan"), u = g(e, "guide"), i = g(e, "info"), h = g(e, "exit");
|
|
1247
|
+
return { channelUp: s, channelDown: r, lastChannel: c, guide: u, info: i, exit: h };
|
|
1228
1248
|
}
|
|
1229
|
-
function
|
|
1230
|
-
const e = `/device/${t}`, s =
|
|
1249
|
+
function b6(t) {
|
|
1250
|
+
const e = `/device/${t}`, s = g(e, "red"), r = g(e, "green"), c = g(e, "yellow"), u = g(e, "blue");
|
|
1231
1251
|
return { red: s, green: r, yellow: c, blue: u };
|
|
1232
1252
|
}
|
|
1233
|
-
function
|
|
1234
|
-
const e =
|
|
1253
|
+
function I6(t) {
|
|
1254
|
+
const e = L(t);
|
|
1235
1255
|
if (e)
|
|
1236
1256
|
return {
|
|
1237
1257
|
communicationMonitorState: e
|
|
1238
1258
|
};
|
|
1239
1259
|
}
|
|
1240
|
-
function
|
|
1241
|
-
const e = `/device/${t}`, s =
|
|
1242
|
-
return { up: s, down: r, left: c, right: u, select: i, menu:
|
|
1260
|
+
function y6(t) {
|
|
1261
|
+
const e = `/device/${t}`, s = g(e, "up"), r = g(e, "down"), c = g(e, "left"), u = g(e, "right"), i = g(e, "select"), h = g(e, "menu"), f = g(e, "exit");
|
|
1262
|
+
return { up: s, down: r, left: c, right: u, select: i, menu: h, exit: f };
|
|
1243
1263
|
}
|
|
1244
|
-
function
|
|
1245
|
-
const e =
|
|
1264
|
+
function R6(t) {
|
|
1265
|
+
const e = L(t);
|
|
1246
1266
|
if (e)
|
|
1247
1267
|
return e.deviceInfo || void 0;
|
|
1248
1268
|
}
|
|
1249
|
-
function
|
|
1250
|
-
const { sendMessage: e } =
|
|
1269
|
+
function E6(t) {
|
|
1270
|
+
const { sendMessage: e } = b();
|
|
1251
1271
|
return { recallPreset: (r) => {
|
|
1252
1272
|
e(`/device/${t}/recallPreset`, r);
|
|
1253
1273
|
} };
|
|
1254
1274
|
}
|
|
1255
|
-
function
|
|
1256
|
-
const e = `/device/${t}`, s =
|
|
1275
|
+
function _6(t) {
|
|
1276
|
+
const e = `/device/${t}`, s = g(e, "dvrList"), r = g(e, "record");
|
|
1257
1277
|
return { dvrList: s, record: r };
|
|
1258
1278
|
}
|
|
1259
|
-
|
|
1260
|
-
const
|
|
1261
|
-
return t1(() => {
|
|
1262
|
-
setInterval(() => {
|
|
1263
|
-
const r = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1264
|
-
s(r);
|
|
1265
|
-
}, 1e3);
|
|
1266
|
-
}, []), /* @__PURE__ */ o.jsxs("div", { className: t, children: [
|
|
1267
|
-
e,
|
|
1268
|
-
" new change"
|
|
1269
|
-
] });
|
|
1270
|
-
};
|
|
1271
|
-
function _6(t) {
|
|
1272
|
-
const { sendMessage: e } = I(), s = T(t);
|
|
1279
|
+
function L6(t) {
|
|
1280
|
+
const { sendMessage: e } = b(), s = L(t);
|
|
1273
1281
|
return s ? { roomCombinerState: s, setAutoMode: () => {
|
|
1274
1282
|
e(`/device/${t}/setAutoMode`, null);
|
|
1275
1283
|
}, setManualMode: () => {
|
|
@@ -1282,70 +1290,76 @@ function _6(t) {
|
|
|
1282
1290
|
e(`/device/${t}/setRoomCombinationScenario`, f);
|
|
1283
1291
|
} } : void 0;
|
|
1284
1292
|
}
|
|
1285
|
-
function
|
|
1286
|
-
const { sendMessage: e, sendSimpleMessage: s } =
|
|
1293
|
+
function P6(t) {
|
|
1294
|
+
const { sendMessage: e, sendSimpleMessage: s } = b(), r = L(t), c = j2(t), u = r || c;
|
|
1287
1295
|
return u ? {
|
|
1288
1296
|
levelState: u,
|
|
1289
|
-
setLevel: (d,
|
|
1297
|
+
setLevel: (d, I) => s(`${d}/level`, I),
|
|
1290
1298
|
muteToggle: (d) => e(`${d}/muteToggle`, null),
|
|
1291
1299
|
muteOn: (d) => e(`${d}/muteOn`, null),
|
|
1292
1300
|
muteOff: (d) => e(`${d}/muteOff`, null)
|
|
1293
1301
|
} : void 0;
|
|
1294
1302
|
}
|
|
1295
|
-
function
|
|
1296
|
-
const { sendMessage: e } =
|
|
1303
|
+
function $6(t) {
|
|
1304
|
+
const { sendMessage: e } = b(), s = L(t);
|
|
1297
1305
|
return s ? { lightingState: s, selectScene: (c) => {
|
|
1298
1306
|
e(`/device/${t}/selectScene`, c);
|
|
1299
1307
|
} } : void 0;
|
|
1300
1308
|
}
|
|
1301
|
-
function
|
|
1302
|
-
const { sendMessage: e } =
|
|
1309
|
+
function T6(t) {
|
|
1310
|
+
const { sendMessage: e } = b(), s = L(t);
|
|
1303
1311
|
return s ? { matrixRoutingState: s, setRoute: (c) => {
|
|
1304
1312
|
e(`/device/${t}/route`, c);
|
|
1305
1313
|
} } : void 0;
|
|
1306
1314
|
}
|
|
1307
|
-
function
|
|
1308
|
-
const { sendMessage: e } =
|
|
1315
|
+
function D6(t) {
|
|
1316
|
+
const { sendMessage: e } = b();
|
|
1309
1317
|
return { closeApp: () => {
|
|
1310
1318
|
e(`/device/${t}/closeWebViewController`, null);
|
|
1311
1319
|
} };
|
|
1312
1320
|
}
|
|
1313
|
-
function D6(t) {
|
|
1314
|
-
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"), p = v(e, "num7"), d = v(e, "num8"), b = v(e, "num9"), P = v(e, "numDash"), W = v(e, "numEnter");
|
|
1315
|
-
return { digit0: s, digit1: r, digit2: c, digit3: u, digit4: i, digit5: g, digit6: f, digit7: p, digit8: d, digit9: b, keypadAccessoryButton1: P, keypadAccessoryButton2: W };
|
|
1316
|
-
}
|
|
1317
1321
|
function A6(t) {
|
|
1318
|
-
const {
|
|
1322
|
+
const e = `/device/${t}`, s = g(e, "num0"), r = g(e, "num1"), c = g(e, "num2"), u = g(e, "num3"), i = g(e, "num4"), h = g(e, "num5"), f = g(e, "num6"), p = g(e, "num7"), d = g(e, "num8"), I = g(e, "num9"), T = g(e, "numDash"), W = g(e, "numEnter");
|
|
1323
|
+
return { digit0: s, digit1: r, digit2: c, digit3: u, digit4: i, digit5: h, digit6: f, digit7: p, digit8: d, digit9: I, keypadAccessoryButton1: T, keypadAccessoryButton2: W };
|
|
1324
|
+
}
|
|
1325
|
+
function B6(t) {
|
|
1326
|
+
const { sendMessage: e } = b(), s = L(t);
|
|
1319
1327
|
return s ? { projectorScreenLiftControlState: s, raise: () => {
|
|
1320
1328
|
e(`/device/${t}/raise`, null);
|
|
1321
1329
|
}, lower: () => {
|
|
1322
1330
|
e(`/device/${t}/lower`, null);
|
|
1323
1331
|
} } : void 0;
|
|
1324
1332
|
}
|
|
1325
|
-
function
|
|
1326
|
-
const { sendMessage: e } =
|
|
1333
|
+
function O6(t) {
|
|
1334
|
+
const { sendMessage: e } = b(), s = D1(t);
|
|
1327
1335
|
return s ? { roomEventScheduleState: s, save: (c) => {
|
|
1328
1336
|
e(`/room/${t}/saveScheduledEvents`, c);
|
|
1329
1337
|
} } : void 0;
|
|
1330
1338
|
}
|
|
1331
|
-
function
|
|
1332
|
-
const { sendMessage: e } =
|
|
1339
|
+
function V6(t) {
|
|
1340
|
+
const { sendMessage: e } = b();
|
|
1341
|
+
return { runDefaultPresentRoute: () => {
|
|
1342
|
+
e(`/room/${t}/defaultsource`, {});
|
|
1343
|
+
} };
|
|
1344
|
+
}
|
|
1345
|
+
function k6(t) {
|
|
1346
|
+
const { sendMessage: e } = b();
|
|
1333
1347
|
return { runDirectRoute: (r) => {
|
|
1334
1348
|
e(`/room/${t}/directRoute`, r);
|
|
1335
1349
|
} };
|
|
1336
1350
|
}
|
|
1337
|
-
function
|
|
1338
|
-
const { sendMessage: e } =
|
|
1339
|
-
return { routingState:
|
|
1351
|
+
function W6(t) {
|
|
1352
|
+
const { sendMessage: e } = b();
|
|
1353
|
+
return { routingState: L(t), runRoute: (c) => {
|
|
1340
1354
|
e(`/room/${t}/source`, c);
|
|
1341
1355
|
} };
|
|
1342
1356
|
}
|
|
1343
|
-
function
|
|
1344
|
-
const e = `/device/${t}`, s =
|
|
1357
|
+
function U6(t) {
|
|
1358
|
+
const e = `/device/${t}`, s = g(e, "chanUp"), r = g(e, "chanDown");
|
|
1345
1359
|
return { dvrList: s, replay: r };
|
|
1346
1360
|
}
|
|
1347
|
-
function
|
|
1348
|
-
const { sendMessage: e } =
|
|
1361
|
+
function F6(t) {
|
|
1362
|
+
const { sendMessage: e } = b(), s = L(t);
|
|
1349
1363
|
return s ? { shadeState: s, shadeUp: () => {
|
|
1350
1364
|
e(`/device/${t}/shadeUp`, null);
|
|
1351
1365
|
}, shadeDown: () => {
|
|
@@ -1354,10 +1368,10 @@ function U6(t) {
|
|
|
1354
1368
|
e(`/device/${t}/stopOrPreset`, null);
|
|
1355
1369
|
} } : void 0;
|
|
1356
1370
|
}
|
|
1357
|
-
function
|
|
1358
|
-
const { sendMessage: e } =
|
|
1359
|
-
return s ? { shutdownPromptTimerState: s, setShutdownPromptSeconds: (
|
|
1360
|
-
e(`/room/${t}/setShutdownPromptSeconds`,
|
|
1371
|
+
function H6(t) {
|
|
1372
|
+
const { sendMessage: e } = b(), s = D1(t);
|
|
1373
|
+
return s ? { shutdownPromptTimerState: s, setShutdownPromptSeconds: (h) => {
|
|
1374
|
+
e(`/room/${t}/setShutdownPromptSeconds`, h);
|
|
1361
1375
|
}, shutdownStart: () => {
|
|
1362
1376
|
e(`/room/${t}/shutdownStart`, null);
|
|
1363
1377
|
}, shutdownEnd: () => {
|
|
@@ -1366,28 +1380,37 @@ function W6(t) {
|
|
|
1366
1380
|
e(`/room/${t}/shutdownCancel`, null);
|
|
1367
1381
|
} } : void 0;
|
|
1368
1382
|
}
|
|
1369
|
-
function
|
|
1370
|
-
const { sendMessage: e } =
|
|
1383
|
+
function K6(t) {
|
|
1384
|
+
const { sendMessage: e } = b(), s = L(t);
|
|
1371
1385
|
return s ? { switchedOutputState: s, on: () => {
|
|
1372
1386
|
e(`/device/${t}/on`, null);
|
|
1373
1387
|
}, off: () => {
|
|
1374
1388
|
e(`/device/${t}/off`, null);
|
|
1375
1389
|
} } : void 0;
|
|
1376
1390
|
}
|
|
1377
|
-
function
|
|
1378
|
-
const { sendMessage: e } =
|
|
1391
|
+
function G6(t) {
|
|
1392
|
+
const { sendMessage: e } = b(), s = D1(t);
|
|
1379
1393
|
return s ? { techPasswordState: s, validatePassword: (u) => {
|
|
1380
1394
|
e(`/room/${t}/validateTechPassword`, { password: u });
|
|
1381
1395
|
}, setPassword: (u, i) => {
|
|
1382
1396
|
e(`/room/${t}/setTechPassword`, { oldPassword: u, newPassword: i });
|
|
1383
1397
|
} } : void 0;
|
|
1384
1398
|
}
|
|
1385
|
-
function
|
|
1386
|
-
const
|
|
1387
|
-
|
|
1399
|
+
function q6(t) {
|
|
1400
|
+
const { sendMessage: e } = b(), s = L(t), r = (c) => {
|
|
1401
|
+
e(`/device/${t}/saveTheme`, { value: c });
|
|
1402
|
+
};
|
|
1403
|
+
return {
|
|
1404
|
+
currentTheme: s == null ? void 0 : s.theme,
|
|
1405
|
+
saveTheme: r
|
|
1406
|
+
};
|
|
1388
1407
|
}
|
|
1389
|
-
function
|
|
1390
|
-
const e =
|
|
1408
|
+
function Y6(t) {
|
|
1409
|
+
const e = `/device/${t}`, s = g(e, "play"), r = g(e, "pause"), c = g(e, "stop"), u = g(e, "prevTrack"), i = g(e, "nextTrack"), h = g(e, "rewind"), f = g(e, "ffwd"), p = g(e, "record");
|
|
1410
|
+
return { play: s, pause: r, stop: c, prevTrack: u, nextTrack: i, rewind: h, fastForward: f, record: p };
|
|
1411
|
+
}
|
|
1412
|
+
function z6(t) {
|
|
1413
|
+
const e = L(t), { sendMessage: s } = b();
|
|
1391
1414
|
return e ? {
|
|
1392
1415
|
touchpanelState: e,
|
|
1393
1416
|
appControl: { hideApp: () => {
|
|
@@ -1402,8 +1425,8 @@ function G6(t) {
|
|
|
1402
1425
|
} }
|
|
1403
1426
|
} : void 0;
|
|
1404
1427
|
}
|
|
1405
|
-
function
|
|
1406
|
-
const e =
|
|
1428
|
+
function J6(t) {
|
|
1429
|
+
const e = L(t), s = M3(t), r = T1(t);
|
|
1407
1430
|
if (!e)
|
|
1408
1431
|
return;
|
|
1409
1432
|
const c = (e.powerState || e.isWarming) && !e.isCooling, u = (!e.powerState || e.isCooling) && !e.isWarming;
|
|
@@ -1414,23 +1437,8 @@ function q6(t) {
|
|
|
1414
1437
|
powerFb: { powerOnFb: c, powerOffFb: u }
|
|
1415
1438
|
};
|
|
1416
1439
|
}
|
|
1417
|
-
|
|
1418
|
-
const { sendMessage: e } =
|
|
1419
|
-
return { runDefaultPresentRoute: () => {
|
|
1420
|
-
e(`/room/${t}/defaultsource`, {});
|
|
1421
|
-
} };
|
|
1422
|
-
}
|
|
1423
|
-
function z6(t) {
|
|
1424
|
-
const { sendMessage: e } = I(), s = T(t), r = (c) => {
|
|
1425
|
-
e(`/device/${t}/saveTheme`, { value: c });
|
|
1426
|
-
};
|
|
1427
|
-
return {
|
|
1428
|
-
currentTheme: s == null ? void 0 : s.theme,
|
|
1429
|
-
saveTheme: r
|
|
1430
|
-
};
|
|
1431
|
-
}
|
|
1432
|
-
const J6 = ({ config: t }) => {
|
|
1433
|
-
const { sendMessage: e } = I();
|
|
1440
|
+
const X6 = ({ config: t }) => {
|
|
1441
|
+
const { sendMessage: e } = b();
|
|
1434
1442
|
t1(() => {
|
|
1435
1443
|
var r, c, u;
|
|
1436
1444
|
if (!t)
|
|
@@ -1458,23 +1466,23 @@ const J6 = ({ config: t }) => {
|
|
|
1458
1466
|
});
|
|
1459
1467
|
}, [t, e]);
|
|
1460
1468
|
};
|
|
1461
|
-
function
|
|
1462
|
-
const [s, r] =
|
|
1469
|
+
function Q6(t, e) {
|
|
1470
|
+
const [s, r] = F(!1), [c, u] = F(!1);
|
|
1463
1471
|
return d3(() => {
|
|
1464
|
-
const { current: i } = t,
|
|
1472
|
+
const { current: i } = t, h = () => {
|
|
1465
1473
|
const f = i && i.scrollHeight > i.clientHeight, p = i && i.scrollWidth > i.clientWidth;
|
|
1466
1474
|
u(f ?? !1), r(p ?? !1), e && e(f ?? !1, p ?? !1);
|
|
1467
1475
|
};
|
|
1468
|
-
i &&
|
|
1476
|
+
i && h();
|
|
1469
1477
|
}, [t, e]), { overflowHorizontal: s, overflowVertical: c };
|
|
1470
1478
|
}
|
|
1471
|
-
function
|
|
1479
|
+
function N6(t, e) {
|
|
1472
1480
|
const s = Z2(t, e), r = `/room/${t}/volumes/${e}`;
|
|
1473
1481
|
return x3(r, s);
|
|
1474
1482
|
}
|
|
1475
|
-
function
|
|
1476
|
-
var
|
|
1477
|
-
const [e, s] =
|
|
1483
|
+
function ee(t) {
|
|
1484
|
+
var h, f;
|
|
1485
|
+
const [e, s] = F(((h = t == null ? void 0 : t.current) == null ? void 0 : h.scrollLeft) ?? 0), [r, c] = F(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0), u = (p) => {
|
|
1478
1486
|
const { current: d } = t;
|
|
1479
1487
|
d && (console.log(d.scrollLeft), d.scrollLeft += p, console.log(d.scrollLeft));
|
|
1480
1488
|
}, i = (p) => {
|
|
@@ -1488,8 +1496,8 @@ function N6(t) {
|
|
|
1488
1496
|
p && d();
|
|
1489
1497
|
}, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal: u, scrollVertical: i };
|
|
1490
1498
|
}
|
|
1491
|
-
function
|
|
1492
|
-
const { sendMessage: t } =
|
|
1499
|
+
function te() {
|
|
1500
|
+
const { sendMessage: t } = b();
|
|
1493
1501
|
return {
|
|
1494
1502
|
reboot: () => {
|
|
1495
1503
|
t("/system/reboot", null);
|
|
@@ -1499,8 +1507,8 @@ function ee() {
|
|
|
1499
1507
|
}
|
|
1500
1508
|
};
|
|
1501
1509
|
}
|
|
1502
|
-
function
|
|
1503
|
-
const [t, e] =
|
|
1510
|
+
function oe() {
|
|
1511
|
+
const [t, e] = F(), [s, r] = F();
|
|
1504
1512
|
function c() {
|
|
1505
1513
|
e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1506
1514
|
const u = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1514,8 +1522,8 @@ function te() {
|
|
|
1514
1522
|
return () => clearInterval(u);
|
|
1515
1523
|
}, []), { date: t, time: s };
|
|
1516
1524
|
}
|
|
1517
|
-
const
|
|
1518
|
-
const [t, e] =
|
|
1525
|
+
const se = () => {
|
|
1526
|
+
const [t, e] = F(!1), s = r2(), r = c2();
|
|
1519
1527
|
let c;
|
|
1520
1528
|
return l2(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: [
|
|
1521
1529
|
/* @__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." }) }),
|
|
@@ -1535,20 +1543,20 @@ const oe = () => {
|
|
|
1535
1543
|
iconClassName: c = "",
|
|
1536
1544
|
otherContentClassName: u = "",
|
|
1537
1545
|
disabled: i,
|
|
1538
|
-
feedback:
|
|
1546
|
+
feedback: h,
|
|
1539
1547
|
feedbackClassName: f,
|
|
1540
1548
|
onPointerDown: p,
|
|
1541
1549
|
onPointerUp: d,
|
|
1542
|
-
onPointerLeave:
|
|
1543
|
-
...
|
|
1550
|
+
onPointerLeave: I,
|
|
1551
|
+
...T
|
|
1544
1552
|
}) => {
|
|
1545
|
-
const [W, O] =
|
|
1553
|
+
const [W, O] = F(!1), z = !i && h ? f : "", o1 = !i && (W || h);
|
|
1546
1554
|
return /* @__PURE__ */ o.jsxs(
|
|
1547
1555
|
"button",
|
|
1548
1556
|
{
|
|
1549
1557
|
type: "button",
|
|
1550
1558
|
className: `${_1.iconbtn} ${s ? _1.iconbtnvert : ""} ${r} ${z}`,
|
|
1551
|
-
...
|
|
1559
|
+
...T,
|
|
1552
1560
|
disabled: i,
|
|
1553
1561
|
onPointerDown: ($) => {
|
|
1554
1562
|
O(!0), p == null || p($);
|
|
@@ -1557,7 +1565,7 @@ const oe = () => {
|
|
|
1557
1565
|
O(!1), d == null || d($);
|
|
1558
1566
|
},
|
|
1559
1567
|
onPointerLeave: ($) => {
|
|
1560
|
-
O(!1),
|
|
1568
|
+
O(!1), I == null || I($);
|
|
1561
1569
|
},
|
|
1562
1570
|
children: [
|
|
1563
1571
|
t && /* @__PURE__ */ o.jsx(
|
|
@@ -2830,7 +2838,7 @@ const oe = () => {
|
|
|
2830
2838
|
active: t,
|
|
2831
2839
|
disabled: s
|
|
2832
2840
|
}
|
|
2833
|
-
),
|
|
2841
|
+
), M8 = ({
|
|
2834
2842
|
active: t,
|
|
2835
2843
|
className: e = "",
|
|
2836
2844
|
disabled: s
|
|
@@ -2879,7 +2887,7 @@ const oe = () => {
|
|
|
2879
2887
|
active: t,
|
|
2880
2888
|
disabled: s
|
|
2881
2889
|
}
|
|
2882
|
-
),
|
|
2890
|
+
), m8 = ({
|
|
2883
2891
|
active: t,
|
|
2884
2892
|
className: e = "",
|
|
2885
2893
|
disabled: s
|
|
@@ -3200,14 +3208,14 @@ const oe = () => {
|
|
|
3200
3208
|
Shade: w8,
|
|
3201
3209
|
Sun: p8,
|
|
3202
3210
|
UpArrow: x8,
|
|
3203
|
-
VolDown:
|
|
3204
|
-
VolMute:
|
|
3211
|
+
VolDown: M8,
|
|
3212
|
+
VolMute: m8,
|
|
3205
3213
|
VolUp: Z8,
|
|
3206
3214
|
Wireless: j8,
|
|
3207
3215
|
X: C8,
|
|
3208
3216
|
Xbox: S8
|
|
3209
3217
|
};
|
|
3210
|
-
function
|
|
3218
|
+
function ne({
|
|
3211
3219
|
name: t,
|
|
3212
3220
|
iconsDictionary: e = I8,
|
|
3213
3221
|
...s
|
|
@@ -3221,17 +3229,17 @@ const y8 = "_grid_1cmpp_1", R8 = "_header_1cmpp_11", E8 = "_content_1cmpp_17", _
|
|
|
3221
3229
|
content: E8,
|
|
3222
3230
|
footer: _8,
|
|
3223
3231
|
volume: L8
|
|
3224
|
-
},
|
|
3232
|
+
}, re = ({ header: t, footer: e, content: s, volume: r, showVolume: c }) => /* @__PURE__ */ o.jsxs("div", { className: a1.grid, children: [
|
|
3225
3233
|
/* @__PURE__ */ o.jsx("div", { className: a1.header, children: t }),
|
|
3226
3234
|
/* @__PURE__ */ o.jsx("div", { className: a1.content, children: s }),
|
|
3227
3235
|
c && /* @__PURE__ */ o.jsx("div", { className: a1.volume, children: r }),
|
|
3228
3236
|
/* @__PURE__ */ o.jsx("div", { className: a1.footer, children: e })
|
|
3229
|
-
] }),
|
|
3230
|
-
grid:
|
|
3237
|
+
] }), P8 = "_grid_11w5q_1", $8 = "_header_11w5q_11", T8 = "_content_11w5q_17", p1 = {
|
|
3238
|
+
grid: P8,
|
|
3231
3239
|
header: $8,
|
|
3232
|
-
content:
|
|
3240
|
+
content: T8,
|
|
3233
3241
|
"left-nav": "_left-nav_11w5q_23"
|
|
3234
|
-
},
|
|
3242
|
+
}, ce = ({ className: t, header: e, content: s, leftNav: r }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${p1.grid}`, children: [
|
|
3235
3243
|
/* @__PURE__ */ o.jsx("div", { className: p1.header, children: e }),
|
|
3236
3244
|
r && /* @__PURE__ */ o.jsx("div", { className: p1.leftNav, children: r }),
|
|
3237
3245
|
/* @__PURE__ */ o.jsx("div", { className: p1.content, children: s })
|
|
@@ -3239,40 +3247,33 @@ const y8 = "_grid_1cmpp_1", R8 = "_header_1cmpp_11", E8 = "_content_1cmpp_17", _
|
|
|
3239
3247
|
grid: D8,
|
|
3240
3248
|
header: A8,
|
|
3241
3249
|
content: B8
|
|
3242
|
-
},
|
|
3250
|
+
}, le = ({ className: t, header: e, content: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${t} ${L1.grid}`, children: [
|
|
3243
3251
|
/* @__PURE__ */ o.jsx("div", { className: L1.header, children: e }),
|
|
3244
3252
|
/* @__PURE__ */ o.jsx("div", { className: L1.content, children: s })
|
|
3245
3253
|
] });
|
|
3246
|
-
function
|
|
3254
|
+
function ie() {
|
|
3247
3255
|
return console.log(location.pathname), location.pathname;
|
|
3248
3256
|
}
|
|
3249
3257
|
var O8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(O8 || {});
|
|
3250
|
-
class
|
|
3258
|
+
class ae {
|
|
3251
3259
|
constructor(e, s) {
|
|
3252
|
-
|
|
3253
|
-
|
|
3260
|
+
H(this, "path");
|
|
3261
|
+
H(this, "handler");
|
|
3254
3262
|
this.path = e, this.handler = s;
|
|
3255
3263
|
}
|
|
3256
3264
|
}
|
|
3257
|
-
const
|
|
3258
|
-
class ue {
|
|
3259
|
-
constructor() {
|
|
3260
|
-
V(this, "name", "");
|
|
3261
|
-
V(this, "iconUrl", "");
|
|
3262
|
-
V(this, "channel", "");
|
|
3263
|
-
}
|
|
3264
|
-
}
|
|
3265
|
+
const ue = "$off";
|
|
3265
3266
|
class de {
|
|
3266
3267
|
constructor() {
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3268
|
+
H(this, "currentShareText");
|
|
3269
|
+
H(this, "enabled");
|
|
3270
|
+
H(this, "isSharing");
|
|
3270
3271
|
}
|
|
3271
3272
|
}
|
|
3272
3273
|
export {
|
|
3273
|
-
|
|
3274
|
+
Z6 as Clock,
|
|
3274
3275
|
O8 as DaysOfWeek,
|
|
3275
|
-
|
|
3276
|
+
se as ErrorBox,
|
|
3276
3277
|
q2 as IconButton,
|
|
3277
3278
|
Y2 as IconMultiAlert,
|
|
3278
3279
|
z2 as IconMultiBan,
|
|
@@ -3299,77 +3300,77 @@ export {
|
|
|
3299
3300
|
w8 as IconMultiShade,
|
|
3300
3301
|
p8 as IconMultiSun,
|
|
3301
3302
|
x8 as IconMultiUpArrow,
|
|
3302
|
-
|
|
3303
|
-
|
|
3303
|
+
M8 as IconMultiVolDown,
|
|
3304
|
+
m8 as IconMultiVolMute,
|
|
3304
3305
|
Z8 as IconMultiVolUp,
|
|
3305
3306
|
j8 as IconMultiWireless,
|
|
3306
3307
|
C8 as IconMultiX,
|
|
3307
3308
|
S8 as IconMultiXbox,
|
|
3308
|
-
|
|
3309
|
-
|
|
3309
|
+
re as MainLayout,
|
|
3310
|
+
ae as MessageHandler,
|
|
3310
3311
|
x6 as MobileControlProvider,
|
|
3311
3312
|
Z as MultiStateIconContainer,
|
|
3312
|
-
|
|
3313
|
-
ue as PresetChannel,
|
|
3313
|
+
ne as NamedIconButton,
|
|
3314
3314
|
de as ShareState,
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3315
|
+
ce as TechLayout,
|
|
3316
|
+
le as TechPinLayout,
|
|
3317
|
+
ie as getBaseLocation,
|
|
3318
|
+
P1 as httpClient,
|
|
3319
|
+
ue as roomOffSourceKey,
|
|
3320
|
+
m as store,
|
|
3321
3321
|
q as uiActions,
|
|
3322
|
-
|
|
3322
|
+
M2 as uiReducer,
|
|
3323
3323
|
K8 as useApiPath,
|
|
3324
3324
|
a2 as useAppConfig,
|
|
3325
3325
|
i2 as useAppDispatch,
|
|
3326
3326
|
w as useAppSelector,
|
|
3327
|
-
|
|
3328
|
-
|
|
3327
|
+
m6 as useAvrControl,
|
|
3328
|
+
g as useButtonHeldHeartbeat,
|
|
3329
3329
|
b2 as useClientId,
|
|
3330
|
-
|
|
3331
|
-
|
|
3330
|
+
U2 as useDeviceIBasicVolumeWithFeedback,
|
|
3331
|
+
C6 as useEndpoint,
|
|
3332
3332
|
E2 as useError,
|
|
3333
|
-
|
|
3333
|
+
X6 as useGetAllDeviceStateFromRoomConfiguration,
|
|
3334
3334
|
u2 as useGetAllDevices,
|
|
3335
3335
|
f6 as useGetCurrentPopoverIdForGroup,
|
|
3336
|
-
|
|
3337
|
-
|
|
3336
|
+
L as useGetDevice,
|
|
3337
|
+
M6 as useGetIBasicVolumeWithFeedback,
|
|
3338
3338
|
l6 as useGetRoomDisplayStates,
|
|
3339
3339
|
i6 as useGetZoomRoomControllerKey,
|
|
3340
3340
|
x3 as useIBasicVolumeWithFeedback,
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
_6 as
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
$6 as
|
|
3354
|
-
|
|
3355
|
-
D6 as
|
|
3356
|
-
A6 as
|
|
3357
|
-
B6 as
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
U6 as
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3341
|
+
S6 as useIChannel,
|
|
3342
|
+
b6 as useIColor,
|
|
3343
|
+
I6 as useICommunicationMonitor,
|
|
3344
|
+
y6 as useIDPad,
|
|
3345
|
+
R6 as useIDeviceInfoMessenger,
|
|
3346
|
+
j6 as useIDevicePresetsModel,
|
|
3347
|
+
E6 as useIDspPresets,
|
|
3348
|
+
_6 as useIDvr,
|
|
3349
|
+
L6 as useIEssentialsRoomCombiner,
|
|
3350
|
+
M3 as useIHasPowerControl,
|
|
3351
|
+
T1 as useIHasSelectableItems,
|
|
3352
|
+
P6 as useILevelControls,
|
|
3353
|
+
$6 as useILightingScenes,
|
|
3354
|
+
T6 as useIMatrixRouting,
|
|
3355
|
+
D6 as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3356
|
+
A6 as useINumeric,
|
|
3357
|
+
B6 as useIProjectorScreenLiftControl,
|
|
3358
|
+
O6 as useIRoomEventSchedule,
|
|
3359
|
+
V6 as useIRunDefaultPresentRoute,
|
|
3360
|
+
k6 as useIRunDirectRouteAction,
|
|
3361
|
+
W6 as useIRunRouteAction,
|
|
3362
|
+
U6 as useISetTopBoxControls,
|
|
3363
|
+
F6 as useIShadesOpenCloseStop,
|
|
3364
|
+
H6 as useIShutdownPromptTimer,
|
|
3365
|
+
K6 as useISwitchedOutput,
|
|
3366
|
+
G6 as useITechPassword,
|
|
3367
|
+
q6 as useITheme,
|
|
3368
|
+
Y6 as useITransport,
|
|
3368
3369
|
L2 as useInitialize,
|
|
3369
3370
|
d6 as useIsTouchpanel,
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3371
|
+
z6 as useMobileControlTouchpanelController,
|
|
3372
|
+
Q6 as useOverflow,
|
|
3373
|
+
W2 as usePressHoldRelease,
|
|
3373
3374
|
r6 as useRoomAdvancedSharingActive,
|
|
3374
3375
|
z8 as useRoomAudioControlPointList,
|
|
3375
3376
|
e6 as useRoomCodecContentDestinationKey,
|
|
@@ -3377,7 +3378,7 @@ export {
|
|
|
3377
3378
|
X8 as useRoomDestinationList,
|
|
3378
3379
|
J8 as useRoomDestinations,
|
|
3379
3380
|
Q8 as useRoomEnvironmentalDevices,
|
|
3380
|
-
|
|
3381
|
+
N6 as useRoomIBasicVolumeWithFeedback,
|
|
3381
3382
|
t6 as useRoomInCall,
|
|
3382
3383
|
s6 as useRoomIsCoolingDown,
|
|
3383
3384
|
n6 as useRoomIsOn,
|
|
@@ -3391,20 +3392,20 @@ export {
|
|
|
3391
3392
|
D1 as useRoomState,
|
|
3392
3393
|
Z2 as useRoomVolume,
|
|
3393
3394
|
a6 as useRuntimeInfo,
|
|
3394
|
-
|
|
3395
|
+
ee as useScroll,
|
|
3395
3396
|
R2 as useServerIsRunningOnProcessorHardware,
|
|
3396
3397
|
v6 as useShowIncomingCallModal,
|
|
3397
3398
|
g6 as useShowModal,
|
|
3398
3399
|
w6 as useShowPopoverById,
|
|
3399
3400
|
_2 as useShowReconnect,
|
|
3400
3401
|
h6 as useShowShutdownModal,
|
|
3401
|
-
|
|
3402
|
+
te as useSystemControl,
|
|
3402
3403
|
I2 as useSystemUuid,
|
|
3403
3404
|
p6 as useTheme,
|
|
3404
|
-
|
|
3405
|
+
oe as useTimeAndDate,
|
|
3405
3406
|
u6 as useTouchpanelKey,
|
|
3406
|
-
|
|
3407
|
+
J6 as useTwoWayDisplayBase,
|
|
3407
3408
|
y2 as useUserCode,
|
|
3408
|
-
|
|
3409
|
+
b as useWebsocketContext,
|
|
3409
3410
|
C2 as useWsIsConnected
|
|
3410
3411
|
};
|