@pepperdash/mobile-control-react-app-core 1.24.0-feat-essentials-v3.4 → 1.24.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 +96 -26
- package/dist/mobile-control-react-app-core.es.js +690 -728
- package/dist/mobile-control-react-app-core.umd.js +10 -10
- package/dist/shared/hooks/interfaces/index.d.ts +11 -3
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts +0 -1
- package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts.map +1 -1
- package/dist/store/middleware/websocketMiddleware.d.ts.map +1 -1
- package/dist/types/state/state/index.d.ts +0 -2
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/shared/hooks/interfaces/useIHasCameraMute.d.ts +0 -13
- package/dist/shared/hooks/interfaces/useIHasCameraMute.d.ts.map +0 -1
- package/dist/shared/hooks/interfaces/useIHasCameraPresets.d.ts +0 -14
- package/dist/shared/hooks/interfaces/useIHasCameraPresets.d.ts.map +0 -1
- package/dist/types/state/state/IHasCameraMuteState.d.ts +0 -6
- package/dist/types/state/state/IHasCameraMuteState.d.ts.map +0 -1
- package/dist/types/state/state/IHasCameraPresetsState.d.ts +0 -12
- package/dist/types/state/state/IHasCameraPresetsState.d.ts.map +0 -1
|
@@ -3,130 +3,130 @@ var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import M3, { AxiosError as p2 } from "axios";
|
|
5
5
|
import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
|
|
6
|
-
import { createSelector as M, createSlice as
|
|
7
|
-
import x3, { createContext as C2, useEffect as
|
|
6
|
+
import { createSelector as M, createSlice as d1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
|
|
7
|
+
import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as u1, useMemo as n1, useState as Y, useLayoutEffect as Z3 } from "react";
|
|
8
8
|
import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
|
|
9
9
|
import * as S3 from "lodash";
|
|
10
|
-
const W1 = M2.withTypes(), m = x2.withTypes(),
|
|
11
|
-
|
|
10
|
+
const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
|
|
11
|
+
Z1,
|
|
12
12
|
(e) => e.config
|
|
13
13
|
), T2 = M(
|
|
14
|
-
|
|
14
|
+
Z1,
|
|
15
15
|
(e) => e.config.apiPath
|
|
16
16
|
), D2 = M(
|
|
17
|
-
|
|
17
|
+
Z1,
|
|
18
18
|
(e) => e.config.logoPath
|
|
19
19
|
), _2 = M(
|
|
20
|
-
|
|
20
|
+
Z1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
22
|
), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
|
|
23
23
|
j3,
|
|
24
24
|
(e) => e
|
|
25
|
-
),
|
|
25
|
+
), L2 = (e) => M(
|
|
26
26
|
j3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
28
|
), t6 = () => m(C3);
|
|
29
|
-
function
|
|
30
|
-
return m(
|
|
29
|
+
function _(e) {
|
|
30
|
+
return m(L2(e));
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
|
|
32
|
+
const $ = (e) => e.rooms, P2 = (e) => M(
|
|
33
|
+
$,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
36
|
-
|
|
35
|
+
), A2 = M(
|
|
36
|
+
$,
|
|
37
37
|
(e) => e
|
|
38
|
-
),
|
|
39
|
-
|
|
38
|
+
), $2 = (e) => M(
|
|
39
|
+
$,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
),
|
|
42
|
-
|
|
41
|
+
), k2 = (e) => M(
|
|
42
|
+
$,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
44
|
), B2 = (e, t) => M(
|
|
45
|
-
|
|
45
|
+
$,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
|
-
),
|
|
48
|
-
|
|
47
|
+
), O2 = (e) => M(
|
|
48
|
+
$,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
50
|
), W2 = (e) => M(
|
|
51
|
-
|
|
51
|
+
$,
|
|
52
52
|
(t) => {
|
|
53
53
|
var o, c;
|
|
54
54
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
56
|
), V2 = (e) => M(
|
|
57
|
-
|
|
57
|
+
$,
|
|
58
58
|
(t) => {
|
|
59
59
|
var o, c;
|
|
60
60
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
62
|
), U2 = (e) => M(
|
|
63
|
-
|
|
63
|
+
$,
|
|
64
64
|
(t) => {
|
|
65
65
|
var o, c;
|
|
66
66
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
68
|
), F2 = (e) => M(
|
|
69
|
-
|
|
69
|
+
$,
|
|
70
70
|
(t) => {
|
|
71
71
|
var o, c;
|
|
72
72
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
|
|
73
73
|
}
|
|
74
74
|
), H2 = (e) => M(
|
|
75
|
-
|
|
75
|
+
$,
|
|
76
76
|
(t) => {
|
|
77
77
|
var o, c;
|
|
78
78
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
80
80
|
), K2 = (e) => M(
|
|
81
|
-
|
|
81
|
+
$,
|
|
82
82
|
(t) => {
|
|
83
|
-
var o, c, r, l,
|
|
84
|
-
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (
|
|
83
|
+
var o, c, r, l, v, g, h, f;
|
|
84
|
+
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((f = (h = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
|
|
85
85
|
}
|
|
86
86
|
), q2 = (e) => M(
|
|
87
|
-
|
|
87
|
+
$,
|
|
88
88
|
(t) => {
|
|
89
89
|
var o, c, r;
|
|
90
90
|
return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
|
|
91
91
|
}
|
|
92
92
|
), G2 = (e) => M(
|
|
93
|
-
|
|
93
|
+
$,
|
|
94
94
|
(t) => {
|
|
95
95
|
var o;
|
|
96
96
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
|
|
97
97
|
}
|
|
98
98
|
), Y2 = (e) => M(
|
|
99
|
-
|
|
99
|
+
$,
|
|
100
100
|
(t) => {
|
|
101
101
|
var o;
|
|
102
102
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
104
|
), z2 = (e) => M(
|
|
105
|
-
|
|
105
|
+
$,
|
|
106
106
|
(t) => {
|
|
107
107
|
var o;
|
|
108
108
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
110
|
), J2 = (e) => M(
|
|
111
|
-
|
|
111
|
+
$,
|
|
112
112
|
(t) => {
|
|
113
113
|
var o;
|
|
114
114
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
|
|
115
115
|
}
|
|
116
116
|
), X2 = (e) => M(
|
|
117
|
-
|
|
117
|
+
$,
|
|
118
118
|
(t) => {
|
|
119
119
|
var o;
|
|
120
120
|
return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
122
|
), Q2 = (e) => M(
|
|
123
|
-
|
|
123
|
+
$,
|
|
124
124
|
(t) => {
|
|
125
125
|
var o;
|
|
126
126
|
return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
|
|
127
127
|
}
|
|
128
128
|
), N2 = (e) => M(
|
|
129
|
-
|
|
129
|
+
$,
|
|
130
130
|
(t) => {
|
|
131
131
|
var o, c;
|
|
132
132
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
@@ -148,20 +148,20 @@ const A = (e) => e.rooms, $2 = (e) => M(
|
|
|
148
148
|
);
|
|
149
149
|
function n6(e) {
|
|
150
150
|
return m(
|
|
151
|
-
|
|
151
|
+
P2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function o6() {
|
|
155
|
-
return m(
|
|
155
|
+
return m(A2);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
return m(
|
|
157
|
+
function S1(e) {
|
|
158
|
+
return m($2(e));
|
|
159
159
|
}
|
|
160
|
-
const s6 =
|
|
161
|
-
|
|
160
|
+
const s6 = S1, c6 = (e) => m(
|
|
161
|
+
k2(e)
|
|
162
162
|
), te = (e, t) => m(
|
|
163
163
|
B2(e, t)
|
|
164
|
-
), ne = (e) => m(
|
|
164
|
+
), ne = (e) => m(O2(e)) || void 0, r6 = (e) => m(W2(e)), l6 = (e) => m(V2(e)), i6 = (e) => m(U2(e)), a6 = (e) => m(F2(e)), u6 = (e) => m(H2(e)), d6 = (e) => m(K2(e)), v6 = (e) => m(q2(e)), h6 = (e) => m(G2(e)), g6 = (e) => m(Y2(e)), f6 = (e) => m(z2(e)), w6 = (e) => m(J2(e)), m6 = (e) => m(X2(e)), p6 = (e) => m(Q2(e)), M6 = (e) => m((t) => ee(t, e)), x6 = (e) => m(N2(e)), G = (e) => e.runtimeConfig, oe = M(
|
|
165
165
|
G,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), se = M(
|
|
@@ -216,7 +216,7 @@ const s6 = j1, c6 = (e) => m(
|
|
|
216
216
|
), fe = M(N, (e) => e.error), we = M(
|
|
217
217
|
N,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")),
|
|
219
|
+
), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), L6 = () => m(V1("showIncomingCallModal")), P6 = (e) => m(V1(e)), A6 = (e) => m(he(e)), $6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), k6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -225,7 +225,7 @@ const s6 = j1, c6 = (e) => m(
|
|
|
225
225
|
},
|
|
226
226
|
popoverVisibility: {},
|
|
227
227
|
syncState: []
|
|
228
|
-
}, R3 =
|
|
228
|
+
}, R3 = d1({
|
|
229
229
|
name: "ui",
|
|
230
230
|
initialState: Se,
|
|
231
231
|
reducers: {
|
|
@@ -271,7 +271,7 @@ const s6 = j1, c6 = (e) => m(
|
|
|
271
271
|
e.syncState = [];
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
}),
|
|
274
|
+
}), O = R3.actions, je = R3.reducer, Ce = {
|
|
275
275
|
config: {
|
|
276
276
|
enableDev: !1,
|
|
277
277
|
apiPath: "",
|
|
@@ -281,7 +281,7 @@ const s6 = j1, c6 = (e) => m(
|
|
|
281
281
|
loginMode: "",
|
|
282
282
|
modes: {}
|
|
283
283
|
}
|
|
284
|
-
}, E3 =
|
|
284
|
+
}, E3 = d1({
|
|
285
285
|
name: "appConfig",
|
|
286
286
|
initialState: Ce,
|
|
287
287
|
reducers: {
|
|
@@ -289,14 +289,14 @@ const s6 = j1, c6 = (e) => m(
|
|
|
289
289
|
e.config = t.payload;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}), T3 = E3.actions, be = E3.reducer, v3 = {},
|
|
292
|
+
}), T3 = E3.actions, be = E3.reducer, v3 = {}, k1 = d1({
|
|
293
293
|
name: "devices",
|
|
294
294
|
initialState: v3,
|
|
295
295
|
reducers: {
|
|
296
296
|
setDeviceState(e, t) {
|
|
297
297
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
298
298
|
if (!c) return;
|
|
299
|
-
const r = t.payload.content, l = e[c] ?? {},
|
|
299
|
+
const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith(
|
|
300
300
|
{},
|
|
301
301
|
l,
|
|
302
302
|
r,
|
|
@@ -304,16 +304,16 @@ const s6 = j1, c6 = (e) => m(
|
|
|
304
304
|
if (Array.isArray(h)) return h.slice();
|
|
305
305
|
}
|
|
306
306
|
);
|
|
307
|
-
e[c] =
|
|
307
|
+
e[c] = v;
|
|
308
308
|
},
|
|
309
309
|
clearDevices() {
|
|
310
310
|
return v3;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
314
|
-
setDeviceState:
|
|
315
|
-
clearDevices:
|
|
316
|
-
}, ye =
|
|
313
|
+
}), w1 = {
|
|
314
|
+
setDeviceState: k1.actions.setDeviceState,
|
|
315
|
+
clearDevices: k1.actions.clearDevices
|
|
316
|
+
}, ye = k1.reducer;
|
|
317
317
|
class Ie {
|
|
318
318
|
constructor() {
|
|
319
319
|
q(this, "uuid", "current-uuid");
|
|
@@ -329,23 +329,23 @@ function Re(e) {
|
|
|
329
329
|
function Ee(e, t) {
|
|
330
330
|
sessionStorage.setItem(e, t);
|
|
331
331
|
}
|
|
332
|
-
const g3 = {}, B1 =
|
|
332
|
+
const g3 = {}, B1 = d1({
|
|
333
333
|
name: "rooms",
|
|
334
334
|
initialState: g3,
|
|
335
335
|
reducers: {
|
|
336
336
|
setRoomState(e, t) {
|
|
337
337
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
338
338
|
if (!c) return;
|
|
339
|
-
const r = t.payload.content, l = e[c] ?? {},
|
|
339
|
+
const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith({}, l, r, (g, h) => {
|
|
340
340
|
if (Array.isArray(h)) return h;
|
|
341
341
|
});
|
|
342
|
-
e[c] =
|
|
342
|
+
e[c] = v;
|
|
343
343
|
},
|
|
344
344
|
clearRooms() {
|
|
345
345
|
return g3;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
}),
|
|
348
|
+
}), m1 = {
|
|
349
349
|
setRoomState: B1.actions.setRoomState,
|
|
350
350
|
clearRooms: B1.actions.clearRooms
|
|
351
351
|
}, Te = B1.reducer, De = {
|
|
@@ -379,7 +379,7 @@ const g3 = {}, B1 = v1({
|
|
|
379
379
|
userCode: "",
|
|
380
380
|
qrUrl: ""
|
|
381
381
|
}
|
|
382
|
-
}, D3 =
|
|
382
|
+
}, D3 = d1({
|
|
383
383
|
name: "runtimeConfig",
|
|
384
384
|
initialState: De,
|
|
385
385
|
reducers: {
|
|
@@ -414,96 +414,83 @@ const g3 = {}, B1 = v1({
|
|
|
414
414
|
e.touchpanelKey = t.payload;
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
}), U = D3.actions, _e = D3.reducer,
|
|
418
|
-
type:
|
|
417
|
+
}), U = D3.actions, _e = D3.reducer, P1 = M3.create(), _3 = "websocket/connect", L3 = "websocket/disconnect", P3 = "websocket/sendMessage", A3 = "websocket/addEventHandler", $3 = "websocket/removeEventHandler", k3 = "websocket/reconnect", B3 = () => ({ type: _3 }), B6 = () => ({ type: L3 }), Le = (e, t) => ({
|
|
418
|
+
type: P3,
|
|
419
419
|
payload: { messageType: e, content: t }
|
|
420
|
-
}),
|
|
421
|
-
type: L3,
|
|
422
|
-
payload: { eventType: e, key: t, callback: o }
|
|
423
|
-
}), Le = (e, t) => ({
|
|
420
|
+
}), Pe = (e, t, o) => ({
|
|
424
421
|
type: A3,
|
|
422
|
+
payload: { eventType: e, key: t, callback: o }
|
|
423
|
+
}), Ae = (e, t) => ({
|
|
424
|
+
type: $3,
|
|
425
425
|
payload: { eventType: e, key: t }
|
|
426
|
-
}),
|
|
426
|
+
}), $e = () => ({ type: k3 }), ke = () => {
|
|
427
427
|
const e = {
|
|
428
428
|
client: null,
|
|
429
429
|
token: null,
|
|
430
430
|
waitingToReconnect: !1,
|
|
431
431
|
reconnectTimer: null,
|
|
432
432
|
eventHandlers: {}
|
|
433
|
-
}, t = async (
|
|
433
|
+
}, t = async (a) => {
|
|
434
434
|
try {
|
|
435
|
-
const Z = location.pathname.split("/").filter((
|
|
435
|
+
const Z = location.pathname.split("/").filter((b) => b.length > 0);
|
|
436
436
|
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
437
|
-
const
|
|
437
|
+
const C = `/${Z.join("/")}`, S = await P1.get(
|
|
438
438
|
"/_local-config/_config.local.json",
|
|
439
|
-
{ baseURL:
|
|
439
|
+
{ baseURL: C }
|
|
440
440
|
);
|
|
441
441
|
if (S.status === 200 && S.data) {
|
|
442
|
-
const
|
|
443
|
-
|
|
444
|
-
const x = await
|
|
445
|
-
`${
|
|
442
|
+
const b = S.data.apiPath;
|
|
443
|
+
a(T3.setAppConfig(S.data));
|
|
444
|
+
const x = await P1.get(
|
|
445
|
+
`${b}/version`
|
|
446
446
|
);
|
|
447
|
-
x.status === 200 && x.data &&
|
|
447
|
+
x.status === 200 && x.data && a(U.setRuntimeConfig(x.data));
|
|
448
448
|
}
|
|
449
449
|
} catch (Z) {
|
|
450
450
|
console.error("Error getting config", Z);
|
|
451
451
|
}
|
|
452
452
|
return !0;
|
|
453
|
-
}, o = async (
|
|
453
|
+
}, o = async (a, Z, C) => {
|
|
454
454
|
try {
|
|
455
|
-
const S = await
|
|
456
|
-
`${
|
|
455
|
+
const S = await P1.get(
|
|
456
|
+
`${a}/ui/joinroom?token=${Z}`
|
|
457
457
|
);
|
|
458
|
-
return S.status === 200 && S.data ? (
|
|
458
|
+
return S.status === 200 && S.data ? (C(U.setRoomData(S.data)), S.data) : null;
|
|
459
459
|
} catch (S) {
|
|
460
|
-
return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"),
|
|
461
|
-
|
|
460
|
+
return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
|
|
461
|
+
O.setErrorMessage(
|
|
462
462
|
`Token ${Z} is invalid. Unable to join room`
|
|
463
463
|
)
|
|
464
|
-
), null) : (console.error("Error getting room data", S), S instanceof Error ?
|
|
464
|
+
), null) : (console.error("Error getting room data", S), S instanceof Error ? C(O.setErrorMessage(S.message)) : C(O.setErrorMessage("Error getting room data")), null);
|
|
465
465
|
}
|
|
466
|
-
}, c = (
|
|
466
|
+
}, c = (a) => {
|
|
467
467
|
e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
|
|
468
|
-
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."),
|
|
468
|
+
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(B3());
|
|
469
469
|
}, 5e3);
|
|
470
470
|
}, r = () => {
|
|
471
471
|
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
472
|
-
}, l = (
|
|
473
|
-
|
|
474
|
-
},
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
console.log("WebSocket middleware: Essentials version", {
|
|
478
|
-
essentialsVersion: O
|
|
479
|
-
});
|
|
480
|
-
const o1 = O == null ? void 0 : O.startsWith("3.");
|
|
481
|
-
if (!Z || !x || !C) {
|
|
472
|
+
}, l = (a) => {
|
|
473
|
+
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(m1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
|
|
474
|
+
}, v = (a, Z) => {
|
|
475
|
+
const C = a(), S = Z ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
|
|
476
|
+
if (!Z || !x || !b) {
|
|
482
477
|
console.log("WebSocket middleware: Cannot request room status", {
|
|
483
478
|
hasRoomKey: !!Z,
|
|
484
479
|
isConnected: x,
|
|
485
|
-
hasClientId: !!
|
|
480
|
+
hasClientId: !!b
|
|
486
481
|
});
|
|
487
482
|
return;
|
|
488
483
|
}
|
|
489
|
-
console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x &&
|
|
490
|
-
"WebSocket middleware: Essentials V3 detected, requesting additional status..."
|
|
491
|
-
), e.client.send(
|
|
492
|
-
JSON.stringify({
|
|
493
|
-
type: `/room/${S}/fullStatus`,
|
|
494
|
-
clientId: C,
|
|
495
|
-
content: null
|
|
496
|
-
})
|
|
497
|
-
)) : e.client.send(
|
|
484
|
+
console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && e.client.send(
|
|
498
485
|
JSON.stringify({
|
|
499
486
|
type: `/room/${S}/status`,
|
|
500
|
-
clientId:
|
|
487
|
+
clientId: b,
|
|
501
488
|
content: null
|
|
502
489
|
})
|
|
503
|
-
)
|
|
504
|
-
}, g = async (
|
|
490
|
+
);
|
|
491
|
+
}, g = async (a, Z) => {
|
|
505
492
|
console.log("WebSocket middleware: Attempting to connect...");
|
|
506
|
-
const
|
|
493
|
+
const C = Z(), { apiPath: S } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
|
|
507
494
|
if (!S || !e.token) {
|
|
508
495
|
console.log(
|
|
509
496
|
"WebSocket middleware: Cannot connect - missing requirements",
|
|
@@ -526,66 +513,66 @@ const g3 = {}, B1 = v1({
|
|
|
526
513
|
}
|
|
527
514
|
e.waitingToReconnect = !0;
|
|
528
515
|
try {
|
|
529
|
-
const x = await o(S, e.token,
|
|
516
|
+
const x = await o(S, e.token, a);
|
|
530
517
|
if (!x) {
|
|
531
518
|
console.log(
|
|
532
519
|
"WebSocket middleware: Failed to get room data, will retry..."
|
|
533
|
-
), c(
|
|
520
|
+
), c(a);
|
|
534
521
|
return;
|
|
535
522
|
}
|
|
536
523
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
537
|
-
const
|
|
538
|
-
e.client =
|
|
539
|
-
console.log("WebSocket middleware: Connected",
|
|
540
|
-
e.client ===
|
|
524
|
+
const C1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
|
|
525
|
+
e.client = K, K.onopen = (k) => {
|
|
526
|
+
console.log("WebSocket middleware: Connected", k.type, k.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
|
|
527
|
+
e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
|
|
541
528
|
}, 100);
|
|
542
|
-
},
|
|
543
|
-
console.error("WebSocket middleware: Error",
|
|
544
|
-
},
|
|
545
|
-
var
|
|
529
|
+
}, K.onerror = (k) => {
|
|
530
|
+
console.error("WebSocket middleware: Error", k), l(a);
|
|
531
|
+
}, K.onclose = (k) => {
|
|
532
|
+
var D;
|
|
546
533
|
if (console.log(
|
|
547
534
|
"WebSocket middleware: Disconnected",
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
),
|
|
551
|
-
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(
|
|
535
|
+
k.reason,
|
|
536
|
+
k.code
|
|
537
|
+
), k.code === 4100) {
|
|
538
|
+
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(a);
|
|
552
539
|
return;
|
|
553
540
|
}
|
|
554
|
-
if (e.waitingToReconnect = !0,
|
|
555
|
-
console.log("WebSocket middleware: User code changed"), r(),
|
|
541
|
+
if (e.waitingToReconnect = !0, k.code === 4e3) {
|
|
542
|
+
console.log("WebSocket middleware: User code changed"), r(), a(
|
|
556
543
|
U.setUserCode({ userCode: "", qrUrl: "" })
|
|
557
|
-
),
|
|
558
|
-
|
|
544
|
+
), a(
|
|
545
|
+
O.setErrorMessage(
|
|
559
546
|
"User code changed. Click reconnect to enter the new code"
|
|
560
547
|
)
|
|
561
|
-
), l(
|
|
548
|
+
), l(a);
|
|
562
549
|
return;
|
|
563
550
|
}
|
|
564
|
-
if (
|
|
565
|
-
console.log("WebSocket middleware: Room combination changed"), r(),
|
|
566
|
-
|
|
551
|
+
if (k.code === 4002) {
|
|
552
|
+
console.log("WebSocket middleware: Room combination changed"), r(), a(
|
|
553
|
+
O.setErrorMessage(
|
|
567
554
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
568
555
|
)
|
|
569
|
-
), l(
|
|
556
|
+
), l(a);
|
|
570
557
|
return;
|
|
571
558
|
}
|
|
572
|
-
if (
|
|
573
|
-
if (!!((
|
|
559
|
+
if (k.code === 4001)
|
|
560
|
+
if (!!((D = Z().runtimeConfig) != null && D.touchpanelKey))
|
|
574
561
|
console.log(
|
|
575
562
|
"WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
|
|
576
563
|
);
|
|
577
|
-
else if (
|
|
564
|
+
else if (b)
|
|
578
565
|
console.log(
|
|
579
566
|
"WebSocket middleware: Code 4001 on processor hardware (no touchpanel key), will auto-reconnect"
|
|
580
567
|
);
|
|
581
568
|
else {
|
|
582
569
|
console.log(
|
|
583
570
|
"WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
|
|
584
|
-
), r(),
|
|
585
|
-
|
|
571
|
+
), r(), a(
|
|
572
|
+
O.setErrorMessage(
|
|
586
573
|
"Processor has disconnected. Click Reconnect to continue."
|
|
587
574
|
)
|
|
588
|
-
), l(
|
|
575
|
+
), l(a);
|
|
589
576
|
return;
|
|
590
577
|
}
|
|
591
578
|
if (e.client)
|
|
@@ -596,45 +583,45 @@ const g3 = {}, B1 = v1({
|
|
|
596
583
|
console.log("WebSocket middleware: Closed by client");
|
|
597
584
|
return;
|
|
598
585
|
}
|
|
599
|
-
e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"),
|
|
600
|
-
|
|
586
|
+
e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), a(
|
|
587
|
+
O.setErrorMessage(
|
|
601
588
|
"Connection lost. Attempting to reconnect..."
|
|
602
589
|
)
|
|
603
|
-
),
|
|
604
|
-
},
|
|
590
|
+
), a(U.setWebsocketIsConnected(!1)), a(w1.clearDevices()), a(m1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState()), c(a);
|
|
591
|
+
}, K.onmessage = (k) => {
|
|
605
592
|
try {
|
|
606
|
-
const
|
|
607
|
-
if (
|
|
608
|
-
|
|
593
|
+
const D = JSON.parse(k.data);
|
|
594
|
+
if (D.type === "close") {
|
|
595
|
+
K.close(4001, D.content);
|
|
609
596
|
return;
|
|
610
597
|
}
|
|
611
|
-
if (
|
|
612
|
-
switch (
|
|
598
|
+
if (D.type.startsWith("/system/"))
|
|
599
|
+
switch (D.type) {
|
|
613
600
|
case "/system/touchpanelKey":
|
|
614
|
-
|
|
601
|
+
a(
|
|
615
602
|
U.setTouchpanelKey(
|
|
616
|
-
|
|
603
|
+
D.content
|
|
617
604
|
)
|
|
618
605
|
);
|
|
619
606
|
break;
|
|
620
607
|
case "/system/roomKey":
|
|
621
|
-
|
|
608
|
+
a(m1.clearRooms()), a(w1.clearDevices()), a(O.clearSyncState()), a(
|
|
622
609
|
U.setCurrentRoomKey(
|
|
623
|
-
|
|
610
|
+
D.content
|
|
624
611
|
)
|
|
625
612
|
);
|
|
626
613
|
break;
|
|
627
614
|
case "/system/userCodeChanged":
|
|
628
|
-
|
|
629
|
-
U.setUserCode(
|
|
615
|
+
a(
|
|
616
|
+
U.setUserCode(D.content)
|
|
630
617
|
);
|
|
631
618
|
break;
|
|
632
619
|
case "/system/roomCombinationChanged":
|
|
633
620
|
window.location.reload();
|
|
634
621
|
break;
|
|
635
622
|
case "/system/deviceInterfaces": {
|
|
636
|
-
const z =
|
|
637
|
-
|
|
623
|
+
const z = D.content;
|
|
624
|
+
a(
|
|
638
625
|
U.setDeviceInterfaces(
|
|
639
626
|
z.deviceInterfaces
|
|
640
627
|
)
|
|
@@ -644,18 +631,18 @@ const g3 = {}, B1 = v1({
|
|
|
644
631
|
default:
|
|
645
632
|
console.log(
|
|
646
633
|
"WebSocket middleware: Unhandled system message",
|
|
647
|
-
|
|
634
|
+
D
|
|
648
635
|
);
|
|
649
636
|
break;
|
|
650
637
|
}
|
|
651
|
-
else if (
|
|
652
|
-
const z = e.eventHandlers[
|
|
638
|
+
else if (D.type.startsWith("/event/")) {
|
|
639
|
+
const z = e.eventHandlers[D.type];
|
|
653
640
|
z || console.log(
|
|
654
641
|
"WebSocket middleware: No handlers found for event type",
|
|
655
|
-
|
|
656
|
-
), z && Object.values(z).forEach((
|
|
642
|
+
D.type
|
|
643
|
+
), z && Object.values(z).forEach((o1) => {
|
|
657
644
|
try {
|
|
658
|
-
|
|
645
|
+
o1(D);
|
|
659
646
|
} catch (b1) {
|
|
660
647
|
console.error(
|
|
661
648
|
"WebSocket middleware: Event handler error",
|
|
@@ -663,9 +650,9 @@ const g3 = {}, B1 = v1({
|
|
|
663
650
|
);
|
|
664
651
|
}
|
|
665
652
|
});
|
|
666
|
-
} else
|
|
667
|
-
} catch (
|
|
668
|
-
console.error("WebSocket middleware: Message handling error",
|
|
653
|
+
} else D.type.startsWith("/room/") ? a(m1.setRoomState(D)) : D.type.startsWith("/device/") && a(w1.setDeviceState(D));
|
|
654
|
+
} catch (D) {
|
|
655
|
+
console.error("WebSocket middleware: Message handling error", D);
|
|
669
656
|
}
|
|
670
657
|
}, e.waitingToReconnect = !1;
|
|
671
658
|
} catch (x) {
|
|
@@ -673,78 +660,78 @@ const g3 = {}, B1 = v1({
|
|
|
673
660
|
}
|
|
674
661
|
}, h = () => {
|
|
675
662
|
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
676
|
-
}, f = (
|
|
677
|
-
const S =
|
|
678
|
-
e.client &&
|
|
679
|
-
JSON.stringify({ type:
|
|
663
|
+
}, f = (a, Z, C) => {
|
|
664
|
+
const S = C(), b = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
|
|
665
|
+
e.client && b ? e.client.send(
|
|
666
|
+
JSON.stringify({ type: a, clientId: x, content: Z })
|
|
680
667
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
681
|
-
},
|
|
682
|
-
e.eventHandlers[
|
|
683
|
-
},
|
|
684
|
-
e.eventHandlers[
|
|
668
|
+
}, u = (a, Z, C) => {
|
|
669
|
+
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = C, console.log("WebSocket middleware: Event handler added", a, Z);
|
|
670
|
+
}, L = (a, Z) => {
|
|
671
|
+
e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
|
|
685
672
|
"WebSocket middleware: Event handler removed",
|
|
686
|
-
|
|
673
|
+
a,
|
|
687
674
|
Z
|
|
688
675
|
));
|
|
689
|
-
}, F = (
|
|
690
|
-
const Z =
|
|
691
|
-
window.location.href = x ? `${
|
|
676
|
+
}, F = (a) => {
|
|
677
|
+
const Z = a(), { gatewayAppPath: C } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, b = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, W = `${C}?uuid=${b}&roomKey=${S}`;
|
|
678
|
+
window.location.href = x ? `${W}&Code=${x}` : W;
|
|
692
679
|
};
|
|
693
|
-
return (
|
|
694
|
-
const S = Z(
|
|
695
|
-
if (!
|
|
680
|
+
return (a) => (Z) => (C) => {
|
|
681
|
+
const S = Z(C);
|
|
682
|
+
if (!C || typeof C != "object" || !("type" in C))
|
|
696
683
|
return S;
|
|
697
|
-
const
|
|
684
|
+
const b = C;
|
|
698
685
|
return (async () => {
|
|
699
|
-
switch (
|
|
686
|
+
switch (b.type) {
|
|
700
687
|
case _3: {
|
|
701
|
-
let
|
|
702
|
-
|
|
688
|
+
let W = new URLSearchParams(window.location.search).get("token");
|
|
689
|
+
W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await g(a.dispatch, a.getState);
|
|
703
690
|
break;
|
|
704
691
|
}
|
|
705
|
-
case
|
|
692
|
+
case L3:
|
|
706
693
|
h();
|
|
707
694
|
break;
|
|
708
|
-
case
|
|
695
|
+
case P3:
|
|
709
696
|
f(
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
697
|
+
b.payload.messageType,
|
|
698
|
+
b.payload.content,
|
|
699
|
+
a.getState
|
|
713
700
|
);
|
|
714
701
|
break;
|
|
715
|
-
case
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
702
|
+
case A3:
|
|
703
|
+
u(
|
|
704
|
+
b.payload.eventType,
|
|
705
|
+
b.payload.key,
|
|
706
|
+
b.payload.callback
|
|
720
707
|
);
|
|
721
708
|
break;
|
|
722
|
-
case
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
709
|
+
case $3:
|
|
710
|
+
L(
|
|
711
|
+
b.payload.eventType,
|
|
712
|
+
b.payload.key
|
|
726
713
|
);
|
|
727
714
|
break;
|
|
728
|
-
case
|
|
729
|
-
F(
|
|
715
|
+
case k3:
|
|
716
|
+
F(a.getState);
|
|
730
717
|
break;
|
|
731
718
|
default:
|
|
732
|
-
if (
|
|
733
|
-
|
|
719
|
+
if (C.type === U.setWebsocketIsConnected.type)
|
|
720
|
+
C.payload === !0 && (console.log(
|
|
734
721
|
"[WebSocket Middleware] Connection established, requesting room status..."
|
|
735
|
-
), setTimeout(() => a
|
|
736
|
-
else if (
|
|
737
|
-
const x =
|
|
738
|
-
x.runtimeConfig.websocket.isConnected && (
|
|
722
|
+
), setTimeout(() => v(a.getState), 100));
|
|
723
|
+
else if (C.type === U.setRoomData.type) {
|
|
724
|
+
const x = a.getState(), W = C.payload;
|
|
725
|
+
x.runtimeConfig.websocket.isConnected && (W != null && W.clientId) && (console.log(
|
|
739
726
|
"[WebSocket Middleware] Room data received, requesting room status..."
|
|
740
|
-
), setTimeout(() => a
|
|
741
|
-
} else if (
|
|
742
|
-
const x =
|
|
727
|
+
), setTimeout(() => v(a.getState), 100));
|
|
728
|
+
} else if (C.type === U.setCurrentRoomKey.type) {
|
|
729
|
+
const x = C.payload;
|
|
743
730
|
x && (console.log(
|
|
744
731
|
"[WebSocket Middleware] Room changed to:",
|
|
745
732
|
x,
|
|
746
733
|
", requesting room status..."
|
|
747
|
-
), setTimeout(() => a
|
|
734
|
+
), setTimeout(() => v(a.getState, x), 100));
|
|
748
735
|
}
|
|
749
736
|
break;
|
|
750
737
|
}
|
|
@@ -758,16 +745,16 @@ const g3 = {}, B1 = v1({
|
|
|
758
745
|
rooms: Te,
|
|
759
746
|
devices: ye,
|
|
760
747
|
ui: je
|
|
761
|
-
}),
|
|
748
|
+
}), Oe = j2({
|
|
762
749
|
reducer: Be,
|
|
763
750
|
middleware: (e) => e({
|
|
764
751
|
serializableCheck: {
|
|
765
752
|
// Ignore WebSocket actions with callbacks
|
|
766
753
|
ignoredActions: ["websocket/addEventHandler"]
|
|
767
754
|
}
|
|
768
|
-
}).concat(
|
|
755
|
+
}).concat(ke())
|
|
769
756
|
}), f3 = M3.create();
|
|
770
|
-
function
|
|
757
|
+
function O6() {
|
|
771
758
|
const e = W1();
|
|
772
759
|
return async () => {
|
|
773
760
|
try {
|
|
@@ -791,7 +778,7 @@ function k6() {
|
|
|
791
778
|
return !0;
|
|
792
779
|
};
|
|
793
780
|
}
|
|
794
|
-
var
|
|
781
|
+
var p1 = { exports: {} }, l1 = {};
|
|
795
782
|
/**
|
|
796
783
|
* @license React
|
|
797
784
|
* react-jsx-runtime.production.min.js
|
|
@@ -803,19 +790,19 @@ var M1 = { exports: {} }, i1 = {};
|
|
|
803
790
|
*/
|
|
804
791
|
var w3;
|
|
805
792
|
function We() {
|
|
806
|
-
if (w3) return
|
|
793
|
+
if (w3) return l1;
|
|
807
794
|
w3 = 1;
|
|
808
795
|
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
809
|
-
function
|
|
810
|
-
var
|
|
811
|
-
f !== void 0 && (F = "" + f), h.key !== void 0 && (F = "" + h.key), h.ref !== void 0 && (
|
|
812
|
-
for (
|
|
813
|
-
if (g && g.defaultProps) for (
|
|
814
|
-
return { $$typeof: t, type: g, key: F, ref:
|
|
796
|
+
function v(g, h, f) {
|
|
797
|
+
var u, L = {}, F = null, a = null;
|
|
798
|
+
f !== void 0 && (F = "" + f), h.key !== void 0 && (F = "" + h.key), h.ref !== void 0 && (a = h.ref);
|
|
799
|
+
for (u in h) c.call(h, u) && !l.hasOwnProperty(u) && (L[u] = h[u]);
|
|
800
|
+
if (g && g.defaultProps) for (u in h = g.defaultProps, h) L[u] === void 0 && (L[u] = h[u]);
|
|
801
|
+
return { $$typeof: t, type: g, key: F, ref: a, props: L, _owner: r.current };
|
|
815
802
|
}
|
|
816
|
-
return
|
|
803
|
+
return l1.Fragment = o, l1.jsx = v, l1.jsxs = v, l1;
|
|
817
804
|
}
|
|
818
|
-
var
|
|
805
|
+
var i1 = {};
|
|
819
806
|
/**
|
|
820
807
|
* @license React
|
|
821
808
|
* react-jsx-runtime.development.js
|
|
@@ -828,46 +815,46 @@ var a1 = {};
|
|
|
828
815
|
var m3;
|
|
829
816
|
function Ve() {
|
|
830
817
|
return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
831
|
-
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"),
|
|
818
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, C = "@@iterator";
|
|
832
819
|
function S(s) {
|
|
833
820
|
if (s === null || typeof s != "object")
|
|
834
821
|
return null;
|
|
835
|
-
var i = Z && s[Z] || s[
|
|
822
|
+
var i = Z && s[Z] || s[C];
|
|
836
823
|
return typeof i == "function" ? i : null;
|
|
837
824
|
}
|
|
838
|
-
var
|
|
825
|
+
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
839
826
|
function x(s) {
|
|
840
827
|
{
|
|
841
|
-
for (var i = arguments.length,
|
|
842
|
-
|
|
843
|
-
|
|
828
|
+
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
|
|
829
|
+
d[p - 1] = arguments[p];
|
|
830
|
+
W("error", s, d);
|
|
844
831
|
}
|
|
845
832
|
}
|
|
846
|
-
function
|
|
833
|
+
function W(s, i, d) {
|
|
847
834
|
{
|
|
848
|
-
var p =
|
|
849
|
-
E !== "" && (i += "%s",
|
|
850
|
-
var T =
|
|
835
|
+
var p = b.ReactDebugCurrentFrame, E = p.getStackAddendum();
|
|
836
|
+
E !== "" && (i += "%s", d = d.concat([E]));
|
|
837
|
+
var T = d.map(function(y) {
|
|
851
838
|
return String(y);
|
|
852
839
|
});
|
|
853
840
|
T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
|
|
854
841
|
}
|
|
855
842
|
}
|
|
856
|
-
var
|
|
857
|
-
|
|
843
|
+
var C1 = !1, K = !1, k = !1, D = !1, z = !1, o1;
|
|
844
|
+
o1 = Symbol.for("react.module.reference");
|
|
858
845
|
function b1(s) {
|
|
859
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s ===
|
|
846
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === u || D || s === a || C1 || K || k || typeof s == "object" && s !== null && (s.$$typeof === F || s.$$typeof === L || s.$$typeof === v || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
|
|
860
847
|
// types supported by any Flight configuration anywhere since
|
|
861
848
|
// we don't know which Flight build this will end up being used
|
|
862
849
|
// with.
|
|
863
|
-
s.$$typeof ===
|
|
850
|
+
s.$$typeof === o1 || s.getModuleId !== void 0));
|
|
864
851
|
}
|
|
865
|
-
function U3(s, i,
|
|
852
|
+
function U3(s, i, d) {
|
|
866
853
|
var p = s.displayName;
|
|
867
854
|
if (p)
|
|
868
855
|
return p;
|
|
869
856
|
var E = i.displayName || i.name || "";
|
|
870
|
-
return E !== "" ?
|
|
857
|
+
return E !== "" ? d + "(" + E + ")" : d;
|
|
871
858
|
}
|
|
872
859
|
function U1(s) {
|
|
873
860
|
return s.displayName || "Context";
|
|
@@ -890,7 +877,7 @@ function Ve() {
|
|
|
890
877
|
return "StrictMode";
|
|
891
878
|
case f:
|
|
892
879
|
return "Suspense";
|
|
893
|
-
case
|
|
880
|
+
case u:
|
|
894
881
|
return "SuspenseList";
|
|
895
882
|
}
|
|
896
883
|
if (typeof s == "object")
|
|
@@ -898,12 +885,12 @@ function Ve() {
|
|
|
898
885
|
case g:
|
|
899
886
|
var i = s;
|
|
900
887
|
return U1(i) + ".Consumer";
|
|
901
|
-
case
|
|
902
|
-
var
|
|
903
|
-
return U1(
|
|
888
|
+
case v:
|
|
889
|
+
var d = s;
|
|
890
|
+
return U1(d._context) + ".Provider";
|
|
904
891
|
case h:
|
|
905
892
|
return U3(s, s.render, "ForwardRef");
|
|
906
|
-
case
|
|
893
|
+
case L:
|
|
907
894
|
var p = s.displayName || null;
|
|
908
895
|
return p !== null ? p : J(s.type) || "Memo";
|
|
909
896
|
case F: {
|
|
@@ -917,13 +904,13 @@ function Ve() {
|
|
|
917
904
|
}
|
|
918
905
|
return null;
|
|
919
906
|
}
|
|
920
|
-
var X = Object.assign,
|
|
907
|
+
var X = Object.assign, s1 = 0, F1, H1, K1, q1, G1, Y1, z1;
|
|
921
908
|
function J1() {
|
|
922
909
|
}
|
|
923
910
|
J1.__reactDisabledLog = !0;
|
|
924
911
|
function F3() {
|
|
925
912
|
{
|
|
926
|
-
if (
|
|
913
|
+
if (s1 === 0) {
|
|
927
914
|
F1 = console.log, H1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
|
|
928
915
|
var s = {
|
|
929
916
|
configurable: !0,
|
|
@@ -941,12 +928,12 @@ function Ve() {
|
|
|
941
928
|
groupEnd: s
|
|
942
929
|
});
|
|
943
930
|
}
|
|
944
|
-
|
|
931
|
+
s1++;
|
|
945
932
|
}
|
|
946
933
|
}
|
|
947
934
|
function H3() {
|
|
948
935
|
{
|
|
949
|
-
if (
|
|
936
|
+
if (s1--, s1 === 0) {
|
|
950
937
|
var s = {
|
|
951
938
|
configurable: !0,
|
|
952
939
|
enumerable: !0,
|
|
@@ -976,11 +963,11 @@ function Ve() {
|
|
|
976
963
|
})
|
|
977
964
|
});
|
|
978
965
|
}
|
|
979
|
-
|
|
966
|
+
s1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
980
967
|
}
|
|
981
968
|
}
|
|
982
|
-
var y1 =
|
|
983
|
-
function
|
|
969
|
+
var y1 = b.ReactCurrentDispatcher, I1;
|
|
970
|
+
function v1(s, i, d) {
|
|
984
971
|
{
|
|
985
972
|
if (I1 === void 0)
|
|
986
973
|
try {
|
|
@@ -993,18 +980,18 @@ function Ve() {
|
|
|
993
980
|
` + I1 + s;
|
|
994
981
|
}
|
|
995
982
|
}
|
|
996
|
-
var R1 = !1,
|
|
983
|
+
var R1 = !1, h1;
|
|
997
984
|
{
|
|
998
985
|
var K3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
999
|
-
|
|
986
|
+
h1 = new K3();
|
|
1000
987
|
}
|
|
1001
988
|
function X1(s, i) {
|
|
1002
989
|
if (!s || R1)
|
|
1003
990
|
return "";
|
|
1004
991
|
{
|
|
1005
|
-
var
|
|
1006
|
-
if (
|
|
1007
|
-
return
|
|
992
|
+
var d = h1.get(s);
|
|
993
|
+
if (d !== void 0)
|
|
994
|
+
return d;
|
|
1008
995
|
}
|
|
1009
996
|
var p;
|
|
1010
997
|
R1 = !0;
|
|
@@ -1046,89 +1033,89 @@ function Ve() {
|
|
|
1046
1033
|
}
|
|
1047
1034
|
} catch (V) {
|
|
1048
1035
|
if (V && p && typeof V.stack == "string") {
|
|
1049
|
-
for (var
|
|
1050
|
-
`),
|
|
1051
|
-
`),
|
|
1052
|
-
|
|
1053
|
-
for (;
|
|
1054
|
-
if (
|
|
1055
|
-
if (
|
|
1036
|
+
for (var j = V.stack.split(`
|
|
1037
|
+
`), B = p.stack.split(`
|
|
1038
|
+
`), P = j.length - 1, A = B.length - 1; P >= 1 && A >= 0 && j[P] !== B[A]; )
|
|
1039
|
+
A--;
|
|
1040
|
+
for (; P >= 1 && A >= 0; P--, A--)
|
|
1041
|
+
if (j[P] !== B[A]) {
|
|
1042
|
+
if (P !== 1 || A !== 1)
|
|
1056
1043
|
do
|
|
1057
|
-
if (
|
|
1058
|
-
var
|
|
1059
|
-
` +
|
|
1060
|
-
return s.displayName &&
|
|
1044
|
+
if (P--, A--, A < 0 || j[P] !== B[A]) {
|
|
1045
|
+
var H = `
|
|
1046
|
+
` + j[P].replace(" at new ", " at ");
|
|
1047
|
+
return s.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", s.displayName)), typeof s == "function" && h1.set(s, H), H;
|
|
1061
1048
|
}
|
|
1062
|
-
while (
|
|
1049
|
+
while (P >= 1 && A >= 0);
|
|
1063
1050
|
break;
|
|
1064
1051
|
}
|
|
1065
1052
|
}
|
|
1066
1053
|
} finally {
|
|
1067
1054
|
R1 = !1, y1.current = T, H3(), Error.prepareStackTrace = E;
|
|
1068
1055
|
}
|
|
1069
|
-
var t1 = s ? s.displayName || s.name : "", Q = t1 ?
|
|
1070
|
-
return typeof s == "function" &&
|
|
1056
|
+
var t1 = s ? s.displayName || s.name : "", Q = t1 ? v1(t1) : "";
|
|
1057
|
+
return typeof s == "function" && h1.set(s, Q), Q;
|
|
1071
1058
|
}
|
|
1072
|
-
function q3(s, i,
|
|
1059
|
+
function q3(s, i, d) {
|
|
1073
1060
|
return X1(s, !1);
|
|
1074
1061
|
}
|
|
1075
1062
|
function G3(s) {
|
|
1076
1063
|
var i = s.prototype;
|
|
1077
1064
|
return !!(i && i.isReactComponent);
|
|
1078
1065
|
}
|
|
1079
|
-
function
|
|
1066
|
+
function g1(s, i, d) {
|
|
1080
1067
|
if (s == null)
|
|
1081
1068
|
return "";
|
|
1082
1069
|
if (typeof s == "function")
|
|
1083
1070
|
return X1(s, G3(s));
|
|
1084
1071
|
if (typeof s == "string")
|
|
1085
|
-
return
|
|
1072
|
+
return v1(s);
|
|
1086
1073
|
switch (s) {
|
|
1087
1074
|
case f:
|
|
1088
|
-
return
|
|
1089
|
-
case
|
|
1090
|
-
return
|
|
1075
|
+
return v1("Suspense");
|
|
1076
|
+
case u:
|
|
1077
|
+
return v1("SuspenseList");
|
|
1091
1078
|
}
|
|
1092
1079
|
if (typeof s == "object")
|
|
1093
1080
|
switch (s.$$typeof) {
|
|
1094
1081
|
case h:
|
|
1095
1082
|
return q3(s.render);
|
|
1096
|
-
case
|
|
1097
|
-
return
|
|
1083
|
+
case L:
|
|
1084
|
+
return g1(s.type, i, d);
|
|
1098
1085
|
case F: {
|
|
1099
1086
|
var p = s, E = p._payload, T = p._init;
|
|
1100
1087
|
try {
|
|
1101
|
-
return
|
|
1088
|
+
return g1(T(E), i, d);
|
|
1102
1089
|
} catch {
|
|
1103
1090
|
}
|
|
1104
1091
|
}
|
|
1105
1092
|
}
|
|
1106
1093
|
return "";
|
|
1107
1094
|
}
|
|
1108
|
-
var
|
|
1109
|
-
function
|
|
1095
|
+
var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
|
|
1096
|
+
function f1(s) {
|
|
1110
1097
|
if (s) {
|
|
1111
|
-
var i = s._owner,
|
|
1112
|
-
N1.setExtraStackFrame(
|
|
1098
|
+
var i = s._owner, d = g1(s.type, s._source, i ? i.type : null);
|
|
1099
|
+
N1.setExtraStackFrame(d);
|
|
1113
1100
|
} else
|
|
1114
1101
|
N1.setExtraStackFrame(null);
|
|
1115
1102
|
}
|
|
1116
|
-
function Y3(s, i,
|
|
1103
|
+
function Y3(s, i, d, p, E) {
|
|
1117
1104
|
{
|
|
1118
|
-
var T = Function.call.bind(
|
|
1105
|
+
var T = Function.call.bind(c1);
|
|
1119
1106
|
for (var y in s)
|
|
1120
1107
|
if (T(s, y)) {
|
|
1121
|
-
var
|
|
1108
|
+
var j = void 0;
|
|
1122
1109
|
try {
|
|
1123
1110
|
if (typeof s[y] != "function") {
|
|
1124
|
-
var
|
|
1125
|
-
throw
|
|
1111
|
+
var B = Error((p || "React class") + ": " + d + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1112
|
+
throw B.name = "Invariant Violation", B;
|
|
1126
1113
|
}
|
|
1127
|
-
|
|
1128
|
-
} catch (
|
|
1129
|
-
|
|
1114
|
+
j = s[y](i, y, p, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1115
|
+
} catch (P) {
|
|
1116
|
+
j = P;
|
|
1130
1117
|
}
|
|
1131
|
-
|
|
1118
|
+
j && !(j instanceof Error) && (f1(E), x("%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).", p || "React class", d, y, typeof j), f1(null)), j instanceof Error && !(j.message in Q1) && (Q1[j.message] = !0, f1(E), x("Failed %s type: %s", d, j.message), f1(null));
|
|
1132
1119
|
}
|
|
1133
1120
|
}
|
|
1134
1121
|
}
|
|
@@ -1138,8 +1125,8 @@ function Ve() {
|
|
|
1138
1125
|
}
|
|
1139
1126
|
function J3(s) {
|
|
1140
1127
|
{
|
|
1141
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1142
|
-
return
|
|
1128
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, d = i && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
1129
|
+
return d;
|
|
1143
1130
|
}
|
|
1144
1131
|
}
|
|
1145
1132
|
function X3(s) {
|
|
@@ -1156,14 +1143,14 @@ function Ve() {
|
|
|
1156
1143
|
if (X3(s))
|
|
1157
1144
|
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), e3(s);
|
|
1158
1145
|
}
|
|
1159
|
-
var n3 =
|
|
1146
|
+
var n3 = b.ReactCurrentOwner, Q3 = {
|
|
1160
1147
|
key: !0,
|
|
1161
1148
|
ref: !0,
|
|
1162
1149
|
__self: !0,
|
|
1163
1150
|
__source: !0
|
|
1164
1151
|
}, o3, s3;
|
|
1165
1152
|
function N3(s) {
|
|
1166
|
-
if (
|
|
1153
|
+
if (c1.call(s, "ref")) {
|
|
1167
1154
|
var i = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
1168
1155
|
if (i && i.isReactWarning)
|
|
1169
1156
|
return !1;
|
|
@@ -1171,7 +1158,7 @@ function Ve() {
|
|
|
1171
1158
|
return s.ref !== void 0;
|
|
1172
1159
|
}
|
|
1173
1160
|
function e2(s) {
|
|
1174
|
-
if (
|
|
1161
|
+
if (c1.call(s, "key")) {
|
|
1175
1162
|
var i = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
1176
1163
|
if (i && i.isReactWarning)
|
|
1177
1164
|
return !1;
|
|
@@ -1183,78 +1170,78 @@ function Ve() {
|
|
|
1183
1170
|
}
|
|
1184
1171
|
function n2(s, i) {
|
|
1185
1172
|
{
|
|
1186
|
-
var
|
|
1173
|
+
var d = function() {
|
|
1187
1174
|
o3 || (o3 = !0, x("%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)", i));
|
|
1188
1175
|
};
|
|
1189
|
-
|
|
1190
|
-
get:
|
|
1176
|
+
d.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
1177
|
+
get: d,
|
|
1191
1178
|
configurable: !0
|
|
1192
1179
|
});
|
|
1193
1180
|
}
|
|
1194
1181
|
}
|
|
1195
1182
|
function o2(s, i) {
|
|
1196
1183
|
{
|
|
1197
|
-
var
|
|
1184
|
+
var d = function() {
|
|
1198
1185
|
s3 || (s3 = !0, x("%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)", i));
|
|
1199
1186
|
};
|
|
1200
|
-
|
|
1201
|
-
get:
|
|
1187
|
+
d.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
1188
|
+
get: d,
|
|
1202
1189
|
configurable: !0
|
|
1203
1190
|
});
|
|
1204
1191
|
}
|
|
1205
1192
|
}
|
|
1206
|
-
var s2 = function(s, i,
|
|
1207
|
-
var
|
|
1193
|
+
var s2 = function(s, i, d, p, E, T, y) {
|
|
1194
|
+
var j = {
|
|
1208
1195
|
// This tag allows us to uniquely identify this as a React Element
|
|
1209
1196
|
$$typeof: t,
|
|
1210
1197
|
// Built-in properties that belong on the element
|
|
1211
1198
|
type: s,
|
|
1212
1199
|
key: i,
|
|
1213
|
-
ref:
|
|
1200
|
+
ref: d,
|
|
1214
1201
|
props: y,
|
|
1215
1202
|
// Record the component responsible for creating this element.
|
|
1216
1203
|
_owner: T
|
|
1217
1204
|
};
|
|
1218
|
-
return
|
|
1205
|
+
return j._store = {}, Object.defineProperty(j._store, "validated", {
|
|
1219
1206
|
configurable: !1,
|
|
1220
1207
|
enumerable: !1,
|
|
1221
1208
|
writable: !0,
|
|
1222
1209
|
value: !1
|
|
1223
|
-
}), Object.defineProperty(
|
|
1210
|
+
}), Object.defineProperty(j, "_self", {
|
|
1224
1211
|
configurable: !1,
|
|
1225
1212
|
enumerable: !1,
|
|
1226
1213
|
writable: !1,
|
|
1227
1214
|
value: p
|
|
1228
|
-
}), Object.defineProperty(
|
|
1215
|
+
}), Object.defineProperty(j, "_source", {
|
|
1229
1216
|
configurable: !1,
|
|
1230
1217
|
enumerable: !1,
|
|
1231
1218
|
writable: !1,
|
|
1232
1219
|
value: E
|
|
1233
|
-
}), Object.freeze && (Object.freeze(
|
|
1220
|
+
}), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
|
|
1234
1221
|
};
|
|
1235
|
-
function c2(s, i,
|
|
1222
|
+
function c2(s, i, d, p, E) {
|
|
1236
1223
|
{
|
|
1237
|
-
var T, y = {},
|
|
1238
|
-
|
|
1224
|
+
var T, y = {}, j = null, B = null;
|
|
1225
|
+
d !== void 0 && (t3(d), j = "" + d), e2(i) && (t3(i.key), j = "" + i.key), N3(i) && (B = i.ref, t2(i, E));
|
|
1239
1226
|
for (T in i)
|
|
1240
|
-
|
|
1227
|
+
c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
|
|
1241
1228
|
if (s && s.defaultProps) {
|
|
1242
|
-
var
|
|
1243
|
-
for (T in
|
|
1244
|
-
y[T] === void 0 && (y[T] =
|
|
1229
|
+
var P = s.defaultProps;
|
|
1230
|
+
for (T in P)
|
|
1231
|
+
y[T] === void 0 && (y[T] = P[T]);
|
|
1245
1232
|
}
|
|
1246
|
-
if (
|
|
1247
|
-
var
|
|
1248
|
-
|
|
1233
|
+
if (j || B) {
|
|
1234
|
+
var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1235
|
+
j && n2(y, A), B && o2(y, A);
|
|
1249
1236
|
}
|
|
1250
|
-
return s2(s,
|
|
1237
|
+
return s2(s, j, B, E, p, n3.current, y);
|
|
1251
1238
|
}
|
|
1252
1239
|
}
|
|
1253
|
-
var T1 =
|
|
1240
|
+
var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
|
|
1254
1241
|
function e1(s) {
|
|
1255
1242
|
if (s) {
|
|
1256
|
-
var i = s._owner,
|
|
1257
|
-
c3.setExtraStackFrame(
|
|
1243
|
+
var i = s._owner, d = g1(s.type, s._source, i ? i.type : null);
|
|
1244
|
+
c3.setExtraStackFrame(d);
|
|
1258
1245
|
} else
|
|
1259
1246
|
c3.setExtraStackFrame(null);
|
|
1260
1247
|
}
|
|
@@ -1283,10 +1270,10 @@ Check the render method of \`` + s + "`.";
|
|
|
1283
1270
|
{
|
|
1284
1271
|
var i = r3();
|
|
1285
1272
|
if (!i) {
|
|
1286
|
-
var
|
|
1287
|
-
|
|
1273
|
+
var d = typeof s == "string" ? s : s.displayName || s.name;
|
|
1274
|
+
d && (i = `
|
|
1288
1275
|
|
|
1289
|
-
Check the top-level render call using <` +
|
|
1276
|
+
Check the top-level render call using <` + d + ">.");
|
|
1290
1277
|
}
|
|
1291
1278
|
return i;
|
|
1292
1279
|
}
|
|
@@ -1296,12 +1283,12 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1296
1283
|
if (!s._store || s._store.validated || s.key != null)
|
|
1297
1284
|
return;
|
|
1298
1285
|
s._store.validated = !0;
|
|
1299
|
-
var
|
|
1300
|
-
if (l3[
|
|
1286
|
+
var d = l2(i);
|
|
1287
|
+
if (l3[d])
|
|
1301
1288
|
return;
|
|
1302
|
-
l3[
|
|
1289
|
+
l3[d] = !0;
|
|
1303
1290
|
var p = "";
|
|
1304
|
-
s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
1291
|
+
s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, p), e1(null);
|
|
1305
1292
|
}
|
|
1306
1293
|
}
|
|
1307
1294
|
function a3(s, i) {
|
|
@@ -1309,8 +1296,8 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1309
1296
|
if (typeof s != "object")
|
|
1310
1297
|
return;
|
|
1311
1298
|
if (E1(s))
|
|
1312
|
-
for (var
|
|
1313
|
-
var p = s[
|
|
1299
|
+
for (var d = 0; d < s.length; d++) {
|
|
1300
|
+
var p = s[d];
|
|
1314
1301
|
_1(p) && i3(p, i);
|
|
1315
1302
|
}
|
|
1316
1303
|
else if (_1(s))
|
|
@@ -1328,18 +1315,18 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1328
1315
|
var i = s.type;
|
|
1329
1316
|
if (i == null || typeof i == "string")
|
|
1330
1317
|
return;
|
|
1331
|
-
var
|
|
1318
|
+
var d;
|
|
1332
1319
|
if (typeof i == "function")
|
|
1333
|
-
|
|
1320
|
+
d = i.propTypes;
|
|
1334
1321
|
else if (typeof i == "object" && (i.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1335
1322
|
// Inner props are checked in the reconciler.
|
|
1336
|
-
i.$$typeof ===
|
|
1337
|
-
|
|
1323
|
+
i.$$typeof === L))
|
|
1324
|
+
d = i.propTypes;
|
|
1338
1325
|
else
|
|
1339
1326
|
return;
|
|
1340
|
-
if (
|
|
1327
|
+
if (d) {
|
|
1341
1328
|
var p = J(i);
|
|
1342
|
-
Y3(
|
|
1329
|
+
Y3(d, s.props, "prop", p, s);
|
|
1343
1330
|
} else if (i.PropTypes !== void 0 && !D1) {
|
|
1344
1331
|
D1 = !0;
|
|
1345
1332
|
var E = J(i);
|
|
@@ -1350,8 +1337,8 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1350
1337
|
}
|
|
1351
1338
|
function a2(s) {
|
|
1352
1339
|
{
|
|
1353
|
-
for (var i = Object.keys(s.props),
|
|
1354
|
-
var p = i[
|
|
1340
|
+
for (var i = Object.keys(s.props), d = 0; d < i.length; d++) {
|
|
1341
|
+
var p = i[d];
|
|
1355
1342
|
if (p !== "children" && p !== "key") {
|
|
1356
1343
|
e1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), e1(null);
|
|
1357
1344
|
break;
|
|
@@ -1361,69 +1348,69 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1361
1348
|
}
|
|
1362
1349
|
}
|
|
1363
1350
|
var u3 = {};
|
|
1364
|
-
function d3(s, i,
|
|
1351
|
+
function d3(s, i, d, p, E, T) {
|
|
1365
1352
|
{
|
|
1366
1353
|
var y = b1(s);
|
|
1367
1354
|
if (!y) {
|
|
1368
|
-
var
|
|
1369
|
-
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (
|
|
1370
|
-
var
|
|
1371
|
-
|
|
1372
|
-
var
|
|
1373
|
-
s === null ?
|
|
1374
|
-
}
|
|
1375
|
-
var
|
|
1376
|
-
if (
|
|
1377
|
-
return
|
|
1355
|
+
var j = "";
|
|
1356
|
+
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1357
|
+
var B = r2();
|
|
1358
|
+
B ? j += B : j += r3();
|
|
1359
|
+
var P;
|
|
1360
|
+
s === null ? P = "null" : E1(s) ? P = "array" : s !== void 0 && s.$$typeof === t ? (P = "<" + (J(s.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : P = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, j);
|
|
1361
|
+
}
|
|
1362
|
+
var A = c2(s, i, d, E, T);
|
|
1363
|
+
if (A == null)
|
|
1364
|
+
return A;
|
|
1378
1365
|
if (y) {
|
|
1379
|
-
var
|
|
1380
|
-
if (
|
|
1366
|
+
var H = i.children;
|
|
1367
|
+
if (H !== void 0)
|
|
1381
1368
|
if (p)
|
|
1382
|
-
if (E1(
|
|
1383
|
-
for (var t1 = 0; t1 <
|
|
1384
|
-
a3(
|
|
1385
|
-
Object.freeze && Object.freeze(
|
|
1369
|
+
if (E1(H)) {
|
|
1370
|
+
for (var t1 = 0; t1 < H.length; t1++)
|
|
1371
|
+
a3(H[t1], s);
|
|
1372
|
+
Object.freeze && Object.freeze(H);
|
|
1386
1373
|
} else
|
|
1387
1374
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1388
1375
|
else
|
|
1389
|
-
a3(
|
|
1376
|
+
a3(H, s);
|
|
1390
1377
|
}
|
|
1391
|
-
if (
|
|
1378
|
+
if (c1.call(i, "key")) {
|
|
1392
1379
|
var Q = J(s), V = Object.keys(i).filter(function(f2) {
|
|
1393
1380
|
return f2 !== "key";
|
|
1394
|
-
}),
|
|
1395
|
-
if (!u3[Q +
|
|
1381
|
+
}), L1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1382
|
+
if (!u3[Q + L1]) {
|
|
1396
1383
|
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1397
1384
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1398
1385
|
let props = %s;
|
|
1399
1386
|
<%s {...props} />
|
|
1400
1387
|
React keys must be passed directly to JSX without using spread:
|
|
1401
1388
|
let props = %s;
|
|
1402
|
-
<%s key={someKey} {...props} />`,
|
|
1389
|
+
<%s key={someKey} {...props} />`, L1, Q, g2, Q), u3[Q + L1] = !0;
|
|
1403
1390
|
}
|
|
1404
1391
|
}
|
|
1405
|
-
return s === c ? a2(
|
|
1392
|
+
return s === c ? a2(A) : i2(A), A;
|
|
1406
1393
|
}
|
|
1407
1394
|
}
|
|
1408
|
-
function u2(s, i,
|
|
1409
|
-
return d3(s, i,
|
|
1395
|
+
function u2(s, i, d) {
|
|
1396
|
+
return d3(s, i, d, !0);
|
|
1410
1397
|
}
|
|
1411
|
-
function d2(s, i,
|
|
1412
|
-
return d3(s, i,
|
|
1398
|
+
function d2(s, i, d) {
|
|
1399
|
+
return d3(s, i, d, !1);
|
|
1413
1400
|
}
|
|
1414
1401
|
var v2 = d2, h2 = u2;
|
|
1415
|
-
|
|
1416
|
-
})()),
|
|
1402
|
+
i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
|
|
1403
|
+
})()), i1;
|
|
1417
1404
|
}
|
|
1418
1405
|
var p3;
|
|
1419
1406
|
function Ue() {
|
|
1420
|
-
return p3 || (p3 = 1, process.env.NODE_ENV === "production" ?
|
|
1407
|
+
return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? p1.exports = We() : p1.exports = Ve()), p1.exports;
|
|
1421
1408
|
}
|
|
1422
1409
|
var n = Ue();
|
|
1423
1410
|
const Fe = "_mwfit_ppa3l_1", He = {
|
|
1424
1411
|
mwfit: Fe
|
|
1425
1412
|
}, Ke = () => {
|
|
1426
|
-
const { reconnect: e } =
|
|
1413
|
+
const { reconnect: e } = R(), t = I3(), o = Me(), c = xe();
|
|
1427
1414
|
return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
|
|
1428
1415
|
/* @__PURE__ */ n.jsxs("div", { className: `${He.mwfit} mx-auto text-center`, children: [
|
|
1429
1416
|
t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
|
|
@@ -1431,7 +1418,7 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1431
1418
|
] }),
|
|
1432
1419
|
c && /* @__PURE__ */ n.jsx("button", { className: "btn btn-secondary btn-lg", onPointerDown: e, children: "Reconnect" })
|
|
1433
1420
|
] });
|
|
1434
|
-
},
|
|
1421
|
+
}, O3 = C2({
|
|
1435
1422
|
sendMessage: () => null,
|
|
1436
1423
|
sendSimpleMessage: () => null,
|
|
1437
1424
|
addEventHandler: () => null,
|
|
@@ -1439,48 +1426,48 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1439
1426
|
reconnect: () => null
|
|
1440
1427
|
}), qe = ({ children: e }) => {
|
|
1441
1428
|
const t = W1(), o = I3();
|
|
1442
|
-
|
|
1429
|
+
x1(() => {
|
|
1443
1430
|
t(B3());
|
|
1444
1431
|
}, [t]);
|
|
1445
|
-
const c =
|
|
1432
|
+
const c = r1(
|
|
1446
1433
|
(h, f) => {
|
|
1447
|
-
t(
|
|
1434
|
+
t(Le(h, f));
|
|
1448
1435
|
},
|
|
1449
1436
|
[t]
|
|
1450
|
-
), r =
|
|
1437
|
+
), r = r1(
|
|
1451
1438
|
(h, f) => {
|
|
1452
1439
|
c(h, { value: f });
|
|
1453
1440
|
},
|
|
1454
1441
|
[c]
|
|
1455
|
-
), l =
|
|
1456
|
-
(h, f,
|
|
1457
|
-
t(
|
|
1442
|
+
), l = r1(
|
|
1443
|
+
(h, f, u) => {
|
|
1444
|
+
t(Pe(h, f, u));
|
|
1458
1445
|
},
|
|
1459
1446
|
[t]
|
|
1460
|
-
),
|
|
1447
|
+
), v = r1(
|
|
1461
1448
|
(h, f) => {
|
|
1462
|
-
t(
|
|
1449
|
+
t(Ae(h, f));
|
|
1463
1450
|
},
|
|
1464
1451
|
[t]
|
|
1465
|
-
), g =
|
|
1466
|
-
t(
|
|
1452
|
+
), g = r1(() => {
|
|
1453
|
+
t($e());
|
|
1467
1454
|
}, [t]);
|
|
1468
1455
|
return /* @__PURE__ */ n.jsx(
|
|
1469
|
-
|
|
1456
|
+
O3.Provider,
|
|
1470
1457
|
{
|
|
1471
1458
|
value: {
|
|
1472
1459
|
sendMessage: c,
|
|
1473
1460
|
sendSimpleMessage: r,
|
|
1474
1461
|
addEventHandler: l,
|
|
1475
|
-
removeEventHandler:
|
|
1462
|
+
removeEventHandler: v,
|
|
1476
1463
|
reconnect: g
|
|
1477
1464
|
},
|
|
1478
1465
|
children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
|
|
1479
1466
|
}
|
|
1480
1467
|
);
|
|
1481
|
-
}, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store:
|
|
1482
|
-
function
|
|
1483
|
-
return b2(
|
|
1468
|
+
}, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: Oe, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
|
|
1469
|
+
function R() {
|
|
1470
|
+
return b2(O3);
|
|
1484
1471
|
}
|
|
1485
1472
|
function Ge({
|
|
1486
1473
|
onPress: e,
|
|
@@ -1489,38 +1476,38 @@ function Ge({
|
|
|
1489
1476
|
onPressedButNotHeld: c,
|
|
1490
1477
|
holdTimeMs: r = 500
|
|
1491
1478
|
}) {
|
|
1492
|
-
const l =
|
|
1479
|
+
const l = u1(null), v = u1(!1), g = u1(!1);
|
|
1493
1480
|
function h() {
|
|
1494
|
-
|
|
1481
|
+
v.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
|
|
1495
1482
|
g.current = !0, o == null || o(), l.current = null;
|
|
1496
1483
|
}, r);
|
|
1497
1484
|
}
|
|
1498
1485
|
function f() {
|
|
1499
|
-
|
|
1486
|
+
v.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
|
|
1500
1487
|
}
|
|
1501
|
-
function
|
|
1502
|
-
|
|
1488
|
+
function u() {
|
|
1489
|
+
v.current && f();
|
|
1503
1490
|
}
|
|
1504
1491
|
return {
|
|
1505
1492
|
onPointerDown: h,
|
|
1506
1493
|
onPointerUp: f,
|
|
1507
|
-
onPointerLeave:
|
|
1494
|
+
onPointerLeave: u
|
|
1508
1495
|
};
|
|
1509
1496
|
}
|
|
1510
1497
|
function w(e, t) {
|
|
1511
|
-
const { sendMessage: c } =
|
|
1498
|
+
const { sendMessage: c } = R(), r = u1(null);
|
|
1512
1499
|
function l() {
|
|
1513
1500
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1514
1501
|
c(`${e}/${t}`, { value: "held" });
|
|
1515
1502
|
}, 250));
|
|
1516
1503
|
}
|
|
1517
|
-
function
|
|
1504
|
+
function v() {
|
|
1518
1505
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1519
1506
|
}
|
|
1520
|
-
return Ge({ onPress: l, onRelease:
|
|
1507
|
+
return Ge({ onPress: l, onRelease: v });
|
|
1521
1508
|
}
|
|
1522
|
-
function
|
|
1523
|
-
const { sendMessage: t } =
|
|
1509
|
+
function j1(e) {
|
|
1510
|
+
const { sendMessage: t } = R(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1524
1511
|
return n1(() => ({
|
|
1525
1512
|
volumeUp: o,
|
|
1526
1513
|
volumeDown: c,
|
|
@@ -1528,7 +1515,7 @@ function C1(e) {
|
|
|
1528
1515
|
}), [e, t, o, c]);
|
|
1529
1516
|
}
|
|
1530
1517
|
function V6(e) {
|
|
1531
|
-
const { sendMessage: t } =
|
|
1518
|
+
const { sendMessage: t } = R(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1532
1519
|
return n1(() => ({
|
|
1533
1520
|
volumeUp: o,
|
|
1534
1521
|
volumeDown: c,
|
|
@@ -1536,7 +1523,7 @@ function V6(e) {
|
|
|
1536
1523
|
}), [e, t, o, c]);
|
|
1537
1524
|
}
|
|
1538
1525
|
function W3(e, t) {
|
|
1539
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1526
|
+
const { sendMessage: o, sendSimpleMessage: c } = R(), r = j1(e);
|
|
1540
1527
|
return n1(() => {
|
|
1541
1528
|
if (!r) {
|
|
1542
1529
|
console.log("baseVolume is undefined");
|
|
@@ -1556,7 +1543,7 @@ function W3(e, t) {
|
|
|
1556
1543
|
}, [r, t, e, o, c]);
|
|
1557
1544
|
}
|
|
1558
1545
|
function U6(e, t) {
|
|
1559
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1546
|
+
const { sendMessage: o, sendSimpleMessage: c } = R(), r = j1(e);
|
|
1560
1547
|
return n1(() => {
|
|
1561
1548
|
if (!r) {
|
|
1562
1549
|
console.log("baseVolume is undefined");
|
|
@@ -1576,31 +1563,30 @@ function U6(e, t) {
|
|
|
1576
1563
|
}, [r, t, e, o, c]);
|
|
1577
1564
|
}
|
|
1578
1565
|
function Ye(e) {
|
|
1579
|
-
const t =
|
|
1566
|
+
const t = _(e), o = `/device/${e}`, c = n1(() => {
|
|
1580
1567
|
if (t)
|
|
1581
1568
|
return t.volume;
|
|
1582
1569
|
}, [t]);
|
|
1583
1570
|
return W3(o, c);
|
|
1584
1571
|
}
|
|
1585
1572
|
function V3(e) {
|
|
1586
|
-
|
|
1587
|
-
const { sendMessage: t } = I(), o = (a = D(e)) == null ? void 0 : a.powerState;
|
|
1573
|
+
const { sendMessage: t } = R();
|
|
1588
1574
|
return { powerOn: () => {
|
|
1589
1575
|
t(`/device/${e}/powerOn`, null);
|
|
1590
1576
|
}, powerOff: () => {
|
|
1591
1577
|
t(`/device/${e}/powerOff`, null);
|
|
1592
1578
|
}, powerToggle: () => {
|
|
1593
1579
|
t(`/device/${e}/powerToggle`, null);
|
|
1594
|
-
}
|
|
1580
|
+
} };
|
|
1595
1581
|
}
|
|
1596
|
-
function
|
|
1597
|
-
const { sendMessage: t } =
|
|
1582
|
+
function O1(e) {
|
|
1583
|
+
const { sendMessage: t } = R(), o = _(e);
|
|
1598
1584
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1599
1585
|
t(`/device/${e}/${r}`, null);
|
|
1600
1586
|
} } : void 0;
|
|
1601
1587
|
}
|
|
1602
1588
|
function ze(e) {
|
|
1603
|
-
const { sendMessage: t } =
|
|
1589
|
+
const { sendMessage: t } = R(), o = _(e), c = () => {
|
|
1604
1590
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1605
1591
|
}, r = () => {
|
|
1606
1592
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
@@ -1611,34 +1597,20 @@ function ze(e) {
|
|
|
1611
1597
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1612
1598
|
}
|
|
1613
1599
|
function F6(e) {
|
|
1614
|
-
const t =
|
|
1600
|
+
const t = _(e), o = V3(e), c = O1(e), r = O1(e), l = Ye(e), v = ze(e);
|
|
1615
1601
|
if (t)
|
|
1616
1602
|
return {
|
|
1617
1603
|
avrState: t,
|
|
1618
1604
|
powerControl: o,
|
|
1619
1605
|
inputControl: c,
|
|
1620
1606
|
surroundSoundModes: r,
|
|
1621
|
-
surroundChannels:
|
|
1607
|
+
surroundChannels: v,
|
|
1622
1608
|
mainVolumeControl: l
|
|
1623
1609
|
};
|
|
1624
1610
|
}
|
|
1625
|
-
|
|
1626
|
-
const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), a = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), d = (P) => t("/camera/recallPreset", P);
|
|
1627
|
-
if (c)
|
|
1628
|
-
return {
|
|
1629
|
-
state: c,
|
|
1630
|
-
zoomIn: h,
|
|
1631
|
-
zoomOut: f,
|
|
1632
|
-
up: r,
|
|
1633
|
-
down: l,
|
|
1634
|
-
left: a,
|
|
1635
|
-
right: g,
|
|
1636
|
-
recallPreset: d
|
|
1637
|
-
};
|
|
1638
|
-
}
|
|
1639
|
-
const K6 = ({ className: e }) => {
|
|
1611
|
+
const H6 = ({ className: e }) => {
|
|
1640
1612
|
const [t, o] = Y();
|
|
1641
|
-
return
|
|
1613
|
+
return x1(() => {
|
|
1642
1614
|
setInterval(() => {
|
|
1643
1615
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1644
1616
|
o(c);
|
|
@@ -1648,45 +1620,59 @@ const K6 = ({ className: e }) => {
|
|
|
1648
1620
|
" new change"
|
|
1649
1621
|
] });
|
|
1650
1622
|
};
|
|
1651
|
-
function
|
|
1652
|
-
const { sendMessage: t } =
|
|
1653
|
-
return o ? { state: o, recallPreset: (
|
|
1654
|
-
t(`${c}/presets/recall`, { deviceKey:
|
|
1655
|
-
}, savePresets: (
|
|
1656
|
-
t(`${c}/presets/save`,
|
|
1623
|
+
function K6(e) {
|
|
1624
|
+
const { sendMessage: t } = R(), o = _(e), c = `/device/${e}`;
|
|
1625
|
+
return o ? { state: o, recallPreset: (v, g) => {
|
|
1626
|
+
t(`${c}/presets/recall`, { deviceKey: v, preset: g });
|
|
1627
|
+
}, savePresets: (v) => {
|
|
1628
|
+
t(`${c}/presets/save`, v);
|
|
1657
1629
|
} } : void 0;
|
|
1658
1630
|
}
|
|
1659
|
-
function
|
|
1660
|
-
const t =
|
|
1631
|
+
function q6(e) {
|
|
1632
|
+
const t = _(e);
|
|
1661
1633
|
if (t)
|
|
1662
1634
|
return { endpointState: t };
|
|
1663
1635
|
}
|
|
1664
|
-
function
|
|
1665
|
-
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"),
|
|
1666
|
-
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info:
|
|
1636
|
+
function G6(e) {
|
|
1637
|
+
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), v = w(t, "info"), g = w(t, "exit");
|
|
1638
|
+
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: v, exit: g };
|
|
1667
1639
|
}
|
|
1668
|
-
function
|
|
1640
|
+
function Y6(e) {
|
|
1669
1641
|
const t = `/device/${e}`, o = w(t, "red"), c = w(t, "green"), r = w(t, "yellow"), l = w(t, "blue");
|
|
1670
1642
|
return { red: o, green: c, yellow: r, blue: l };
|
|
1671
1643
|
}
|
|
1672
|
-
function
|
|
1673
|
-
const t =
|
|
1644
|
+
function z6(e) {
|
|
1645
|
+
const t = _(e);
|
|
1674
1646
|
if (t)
|
|
1675
1647
|
return {
|
|
1676
1648
|
communicationMonitorState: t
|
|
1677
1649
|
};
|
|
1678
1650
|
}
|
|
1679
|
-
function
|
|
1680
|
-
const t =
|
|
1651
|
+
function J6(e) {
|
|
1652
|
+
const t = _(e);
|
|
1681
1653
|
if (t)
|
|
1682
1654
|
return t.deviceInfo || void 0;
|
|
1683
1655
|
}
|
|
1656
|
+
function X6(e) {
|
|
1657
|
+
const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), v = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
|
|
1658
|
+
return { up: o, down: c, left: r, right: l, select: v, menu: g, exit: h };
|
|
1659
|
+
}
|
|
1684
1660
|
function Q6(e) {
|
|
1685
|
-
const t = `/device/${e}`,
|
|
1686
|
-
|
|
1661
|
+
const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), v = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), u = (L) => t("/camera/recallPreset", L);
|
|
1662
|
+
if (c)
|
|
1663
|
+
return {
|
|
1664
|
+
state: c,
|
|
1665
|
+
zoomIn: h,
|
|
1666
|
+
zoomOut: f,
|
|
1667
|
+
up: r,
|
|
1668
|
+
down: l,
|
|
1669
|
+
left: v,
|
|
1670
|
+
right: g,
|
|
1671
|
+
recallPreset: u
|
|
1672
|
+
};
|
|
1687
1673
|
}
|
|
1688
1674
|
function N6(e) {
|
|
1689
|
-
const { sendMessage: t } =
|
|
1675
|
+
const { sendMessage: t } = R();
|
|
1690
1676
|
return { recallPreset: (c) => {
|
|
1691
1677
|
t(
|
|
1692
1678
|
`/device/${e}/recallPreset`,
|
|
@@ -1699,7 +1685,7 @@ function et(e) {
|
|
|
1699
1685
|
return { dvrList: o, record: c };
|
|
1700
1686
|
}
|
|
1701
1687
|
function tt(e) {
|
|
1702
|
-
const { sendMessage: t } =
|
|
1688
|
+
const { sendMessage: t } = R(), o = _(e);
|
|
1703
1689
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1704
1690
|
t(`/device/${e}/setAutoMode`, null);
|
|
1705
1691
|
}, setManualMode: () => {
|
|
@@ -1713,29 +1699,7 @@ function tt(e) {
|
|
|
1713
1699
|
} } : void 0;
|
|
1714
1700
|
}
|
|
1715
1701
|
function nt(e) {
|
|
1716
|
-
|
|
1717
|
-
const { sendMessage: t } = I(), o = (a = D(e)) == null ? void 0 : a.cameraIsMuted, c = () => {
|
|
1718
|
-
t(`/device/${e}/cameraMuteOn`, null);
|
|
1719
|
-
}, r = () => {
|
|
1720
|
-
t(`/device/${e}/cameraMuteOff`, null);
|
|
1721
|
-
}, l = () => {
|
|
1722
|
-
t(`/device/${e}/cameraMuteToggle`, null);
|
|
1723
|
-
};
|
|
1724
|
-
if (o)
|
|
1725
|
-
return { cameraMuteOn: c, cameraMuteOff: r, cameraMuteToggle: l, cameraIsMuted: o };
|
|
1726
|
-
}
|
|
1727
|
-
function ot(e) {
|
|
1728
|
-
var l;
|
|
1729
|
-
const { sendMessage: t } = I(), o = (l = D(e)) == null ? void 0 : l.presets, c = (a) => {
|
|
1730
|
-
t(`/device/${e}/recallPreset`, a);
|
|
1731
|
-
}, r = (a) => {
|
|
1732
|
-
t(`/device/${e}/savePreset`, a);
|
|
1733
|
-
};
|
|
1734
|
-
if (o)
|
|
1735
|
-
return { recallPreset: c, savePreset: r, presets: o };
|
|
1736
|
-
}
|
|
1737
|
-
function st(e) {
|
|
1738
|
-
const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e);
|
|
1702
|
+
const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e);
|
|
1739
1703
|
return c ? {
|
|
1740
1704
|
state: c,
|
|
1741
1705
|
selectCamera: (l) => {
|
|
@@ -1743,94 +1707,94 @@ function st(e) {
|
|
|
1743
1707
|
}
|
|
1744
1708
|
} : void 0;
|
|
1745
1709
|
}
|
|
1746
|
-
function
|
|
1747
|
-
const t =
|
|
1710
|
+
function ot(e) {
|
|
1711
|
+
const t = _(e);
|
|
1748
1712
|
if (t)
|
|
1749
1713
|
return { state: t };
|
|
1750
1714
|
}
|
|
1751
|
-
function
|
|
1752
|
-
const { sendMessage: t, sendSimpleMessage: o } =
|
|
1715
|
+
function st(e) {
|
|
1716
|
+
const { sendMessage: t, sendSimpleMessage: o } = R(), c = _(e), r = ne(e), l = c || r;
|
|
1753
1717
|
return l ? {
|
|
1754
1718
|
levelState: l,
|
|
1755
|
-
setLevel: (
|
|
1756
|
-
muteToggle: (
|
|
1757
|
-
muteOn: (
|
|
1758
|
-
muteOff: (
|
|
1719
|
+
setLevel: (u, L) => o(`${u}/level`, L),
|
|
1720
|
+
muteToggle: (u) => t(`${u}/muteToggle`, null),
|
|
1721
|
+
muteOn: (u) => t(`${u}/muteOn`, null),
|
|
1722
|
+
muteOff: (u) => t(`${u}/muteOff`, null)
|
|
1759
1723
|
} : void 0;
|
|
1760
1724
|
}
|
|
1761
|
-
function
|
|
1762
|
-
const { sendMessage: t } =
|
|
1725
|
+
function ct(e) {
|
|
1726
|
+
const { sendMessage: t } = R(), o = _(e);
|
|
1763
1727
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1764
1728
|
t(`/device/${e}/selectScene`, r);
|
|
1765
1729
|
} } : void 0;
|
|
1766
1730
|
}
|
|
1767
|
-
function
|
|
1768
|
-
const { sendMessage: t } =
|
|
1731
|
+
function rt(e) {
|
|
1732
|
+
const { sendMessage: t } = R(), o = _(e);
|
|
1769
1733
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1770
1734
|
t(`/device/${e}/route`, r);
|
|
1771
1735
|
} } : void 0;
|
|
1772
1736
|
}
|
|
1773
|
-
function
|
|
1774
|
-
const { sendMessage: t } =
|
|
1737
|
+
function lt(e) {
|
|
1738
|
+
const { sendMessage: t } = R();
|
|
1775
1739
|
return { closeApp: () => {
|
|
1776
1740
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1777
1741
|
} };
|
|
1778
1742
|
}
|
|
1779
|
-
function
|
|
1780
|
-
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"),
|
|
1743
|
+
function it(e) {
|
|
1744
|
+
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), v = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), u = w(t, "num8"), L = w(t, "num9"), F = w(t, "numDash"), a = w(t, "numEnter");
|
|
1781
1745
|
return {
|
|
1782
1746
|
digit0: o,
|
|
1783
1747
|
digit1: c,
|
|
1784
1748
|
digit2: r,
|
|
1785
1749
|
digit3: l,
|
|
1786
|
-
digit4:
|
|
1750
|
+
digit4: v,
|
|
1787
1751
|
digit5: g,
|
|
1788
1752
|
digit6: h,
|
|
1789
1753
|
digit7: f,
|
|
1790
|
-
digit8:
|
|
1791
|
-
digit9:
|
|
1754
|
+
digit8: u,
|
|
1755
|
+
digit9: L,
|
|
1792
1756
|
keypadAccessoryButton1: F,
|
|
1793
|
-
keypadAccessoryButton2:
|
|
1757
|
+
keypadAccessoryButton2: a
|
|
1794
1758
|
};
|
|
1795
1759
|
}
|
|
1796
|
-
function
|
|
1797
|
-
const { sendMessage: t } =
|
|
1760
|
+
function at(e) {
|
|
1761
|
+
const { sendMessage: t } = R(), o = _(e);
|
|
1798
1762
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1799
1763
|
t(`/device/${e}/raise`, null);
|
|
1800
1764
|
}, lower: () => {
|
|
1801
1765
|
t(`/device/${e}/lower`, null);
|
|
1802
1766
|
} } : void 0;
|
|
1803
1767
|
}
|
|
1804
|
-
function
|
|
1805
|
-
const { sendMessage: t } =
|
|
1768
|
+
function ut(e) {
|
|
1769
|
+
const { sendMessage: t } = R(), o = S1(e);
|
|
1806
1770
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1807
1771
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1808
1772
|
} } : void 0;
|
|
1809
1773
|
}
|
|
1810
|
-
function
|
|
1811
|
-
const { sendMessage: t } =
|
|
1774
|
+
function dt(e) {
|
|
1775
|
+
const { sendMessage: t } = R();
|
|
1812
1776
|
return { runDefaultPresentRoute: () => {
|
|
1813
1777
|
t(`/room/${e}/defaultsource`, {});
|
|
1814
1778
|
} };
|
|
1815
1779
|
}
|
|
1816
|
-
function
|
|
1817
|
-
const { sendMessage: t } =
|
|
1780
|
+
function vt(e) {
|
|
1781
|
+
const { sendMessage: t } = R();
|
|
1818
1782
|
return { runDirectRoute: (c) => {
|
|
1819
1783
|
t(`/room/${e}/directRoute`, c);
|
|
1820
1784
|
} };
|
|
1821
1785
|
}
|
|
1822
|
-
function
|
|
1823
|
-
const { sendMessage: t } =
|
|
1824
|
-
return { routingState:
|
|
1786
|
+
function ht(e) {
|
|
1787
|
+
const { sendMessage: t } = R();
|
|
1788
|
+
return { routingState: _(e), runRoute: (r) => {
|
|
1825
1789
|
t(`/room/${e}/source`, r);
|
|
1826
1790
|
} };
|
|
1827
1791
|
}
|
|
1828
|
-
function
|
|
1792
|
+
function gt(e) {
|
|
1829
1793
|
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
|
|
1830
1794
|
return { dvrList: o, replay: c };
|
|
1831
1795
|
}
|
|
1832
|
-
function
|
|
1833
|
-
const { sendMessage: t } =
|
|
1796
|
+
function ft(e) {
|
|
1797
|
+
const { sendMessage: t } = R(), o = _(e);
|
|
1834
1798
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1835
1799
|
t(`/device/${e}/shadeUp`, null);
|
|
1836
1800
|
}, shadeDown: () => {
|
|
@@ -1839,8 +1803,8 @@ function mt(e) {
|
|
|
1839
1803
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1840
1804
|
} } : void 0;
|
|
1841
1805
|
}
|
|
1842
|
-
function
|
|
1843
|
-
const { sendMessage: t } =
|
|
1806
|
+
function wt(e) {
|
|
1807
|
+
const { sendMessage: t } = R(), o = S1(e);
|
|
1844
1808
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
|
|
1845
1809
|
t(`/room/${e}/setShutdownPromptSeconds`, g);
|
|
1846
1810
|
}, shutdownStart: () => {
|
|
@@ -1851,28 +1815,28 @@ function pt(e) {
|
|
|
1851
1815
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1852
1816
|
} } : void 0;
|
|
1853
1817
|
}
|
|
1854
|
-
function
|
|
1855
|
-
const { sendMessage: t } =
|
|
1818
|
+
function mt(e) {
|
|
1819
|
+
const { sendMessage: t } = R(), o = _(e);
|
|
1856
1820
|
return o ? { switchedOutputState: o, on: () => {
|
|
1857
1821
|
t(`/device/${e}/on`, null);
|
|
1858
1822
|
}, off: () => {
|
|
1859
1823
|
t(`/device/${e}/off`, null);
|
|
1860
1824
|
} } : void 0;
|
|
1861
1825
|
}
|
|
1862
|
-
function
|
|
1863
|
-
const { sendMessage: t } =
|
|
1826
|
+
function pt(e) {
|
|
1827
|
+
const { sendMessage: t } = R(), o = S1(e);
|
|
1864
1828
|
return o ? { techPasswordState: o, validatePassword: (l) => {
|
|
1865
1829
|
t(`/room/${e}/validateTechPassword`, { password: l });
|
|
1866
|
-
}, setPassword: (l,
|
|
1867
|
-
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword:
|
|
1830
|
+
}, setPassword: (l, v) => {
|
|
1831
|
+
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: v });
|
|
1868
1832
|
} } : void 0;
|
|
1869
1833
|
}
|
|
1870
|
-
function
|
|
1871
|
-
const { sendMessage: t } =
|
|
1834
|
+
function Mt(e) {
|
|
1835
|
+
const { sendMessage: t } = R(), o = _(e);
|
|
1872
1836
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1873
1837
|
}
|
|
1874
|
-
function
|
|
1875
|
-
const { sendMessage: t } =
|
|
1838
|
+
function xt(e) {
|
|
1839
|
+
const { sendMessage: t } = R(), o = _(e), c = (r) => {
|
|
1876
1840
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1877
1841
|
};
|
|
1878
1842
|
return {
|
|
@@ -1880,21 +1844,21 @@ function St(e) {
|
|
|
1880
1844
|
saveTheme: c
|
|
1881
1845
|
};
|
|
1882
1846
|
}
|
|
1883
|
-
function
|
|
1884
|
-
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"),
|
|
1847
|
+
function Zt(e) {
|
|
1848
|
+
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), v = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
|
|
1885
1849
|
return {
|
|
1886
1850
|
play: o,
|
|
1887
1851
|
pause: c,
|
|
1888
1852
|
stop: r,
|
|
1889
1853
|
prevTrack: l,
|
|
1890
|
-
nextTrack:
|
|
1854
|
+
nextTrack: v,
|
|
1891
1855
|
rewind: g,
|
|
1892
1856
|
fastForward: h,
|
|
1893
1857
|
record: f
|
|
1894
1858
|
};
|
|
1895
1859
|
}
|
|
1896
|
-
function
|
|
1897
|
-
const t =
|
|
1860
|
+
function St(e) {
|
|
1861
|
+
const t = _(e), { sendMessage: o } = R();
|
|
1898
1862
|
return t ? {
|
|
1899
1863
|
touchpanelState: t,
|
|
1900
1864
|
appControl: { hideApp: () => {
|
|
@@ -1909,8 +1873,8 @@ function Ct(e) {
|
|
|
1909
1873
|
} }
|
|
1910
1874
|
} : void 0;
|
|
1911
1875
|
}
|
|
1912
|
-
function
|
|
1913
|
-
const t =
|
|
1876
|
+
function jt(e) {
|
|
1877
|
+
const t = _(e), o = V3(e), c = O1(e);
|
|
1914
1878
|
if (!t) return;
|
|
1915
1879
|
const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1916
1880
|
return {
|
|
@@ -1920,89 +1884,89 @@ function bt(e) {
|
|
|
1920
1884
|
powerFb: { powerOnFb: r, powerOffFb: l }
|
|
1921
1885
|
};
|
|
1922
1886
|
}
|
|
1923
|
-
function
|
|
1887
|
+
function Ct(e) {
|
|
1924
1888
|
const t = `/device/${e}`;
|
|
1925
|
-
return
|
|
1889
|
+
return j1(t);
|
|
1926
1890
|
}
|
|
1927
|
-
const
|
|
1891
|
+
const bt = ({
|
|
1928
1892
|
config: e
|
|
1929
1893
|
}, t = !0) => {
|
|
1930
|
-
const { sendMessage: o } =
|
|
1931
|
-
var
|
|
1894
|
+
const { sendMessage: o } = R(), c = u1(!1), r = n1(() => {
|
|
1895
|
+
var v, g, h, f;
|
|
1932
1896
|
if (!e)
|
|
1933
1897
|
return;
|
|
1934
1898
|
const l = /* @__PURE__ */ new Set();
|
|
1935
|
-
if (e.destinations && Object.values(e.destinations).forEach((
|
|
1936
|
-
l.add(
|
|
1937
|
-
}), e.destinationList && Object.values(e.destinationList).forEach((
|
|
1938
|
-
l.add(
|
|
1939
|
-
}), e.audioControlPointList && Object.values((
|
|
1940
|
-
(
|
|
1941
|
-
|
|
1899
|
+
if (e.destinations && Object.values(e.destinations).forEach((u) => {
|
|
1900
|
+
l.add(u);
|
|
1901
|
+
}), e.destinationList && Object.values(e.destinationList).forEach((u) => {
|
|
1902
|
+
l.add(u.sinkKey);
|
|
1903
|
+
}), e.audioControlPointList && Object.values((v = e.audioControlPointList) == null ? void 0 : v.levelControls).forEach(
|
|
1904
|
+
(u) => {
|
|
1905
|
+
u.itemKey ? l.add(u.parentDeviceKey + "--" + u.itemKey) : l.add(u.parentDeviceKey);
|
|
1942
1906
|
}
|
|
1943
|
-
), (g = e.touchpanelKeys) == null || g.forEach((
|
|
1944
|
-
l.add(
|
|
1945
|
-
}), (h = e.environmentalDevices) == null || h.forEach((
|
|
1946
|
-
|
|
1947
|
-
}), (f = e.accessoryDeviceKeys) == null || f.forEach((
|
|
1948
|
-
l.add(
|
|
1949
|
-
}), e.audioCodecKey && l.add(e.audioCodecKey), e.videoCodecKey && l.add(e.videoCodecKey), e.matrixRoutingKey && l.add(e.matrixRoutingKey), e.roomCombinerKey && l.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((
|
|
1950
|
-
l.add(
|
|
1907
|
+
), (g = e.touchpanelKeys) == null || g.forEach((u) => {
|
|
1908
|
+
l.add(u);
|
|
1909
|
+
}), (h = e.environmentalDevices) == null || h.forEach((u) => {
|
|
1910
|
+
u.deviceKey && l.add(u.deviceKey);
|
|
1911
|
+
}), (f = e.accessoryDeviceKeys) == null || f.forEach((u) => {
|
|
1912
|
+
l.add(u);
|
|
1913
|
+
}), e.audioCodecKey && l.add(e.audioCodecKey), e.videoCodecKey && l.add(e.videoCodecKey), e.matrixRoutingKey && l.add(e.matrixRoutingKey), e.roomCombinerKey && l.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((u) => {
|
|
1914
|
+
l.add(u);
|
|
1951
1915
|
}), e.sourceList)
|
|
1952
|
-
for (const
|
|
1953
|
-
|
|
1916
|
+
for (const u of Object.values(e.sourceList))
|
|
1917
|
+
u.sourceKey && u.sourceKey !== "$off" && l.add(u.sourceKey);
|
|
1954
1918
|
return l;
|
|
1955
1919
|
}, [e]);
|
|
1956
|
-
return
|
|
1920
|
+
return x1(() => {
|
|
1957
1921
|
!t || !r || r.size === 0 || c.current || (console.log("requesting state for deviceKeys:", r), r.forEach((l) => {
|
|
1958
1922
|
o(`/device/${l}/fullStatus`, { deviceKey: l });
|
|
1959
1923
|
}), c.current = !0);
|
|
1960
1924
|
}, [r, t, o]), r;
|
|
1961
1925
|
};
|
|
1962
|
-
function
|
|
1926
|
+
function yt(e, t) {
|
|
1963
1927
|
const [o, c] = Y(!1), [r, l] = Y(!1);
|
|
1964
1928
|
return Z3(() => {
|
|
1965
|
-
const { current:
|
|
1966
|
-
const h =
|
|
1929
|
+
const { current: v } = e, g = () => {
|
|
1930
|
+
const h = v && v.scrollHeight > v.clientHeight, f = v && v.scrollWidth > v.clientWidth;
|
|
1967
1931
|
l(h ?? !1), c(f ?? !1), t && t(h ?? !1, f ?? !1);
|
|
1968
1932
|
};
|
|
1969
|
-
|
|
1933
|
+
v && g();
|
|
1970
1934
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1971
1935
|
}
|
|
1972
|
-
function
|
|
1936
|
+
function It(e, t) {
|
|
1973
1937
|
const o = `/room/${e}/volumes/${t}`;
|
|
1974
|
-
return
|
|
1938
|
+
return j1(o);
|
|
1975
1939
|
}
|
|
1976
|
-
function
|
|
1940
|
+
function Rt(e, t) {
|
|
1977
1941
|
const o = te(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1978
1942
|
return W3(c, o);
|
|
1979
1943
|
}
|
|
1980
|
-
function
|
|
1944
|
+
function Et(e) {
|
|
1981
1945
|
var g, h;
|
|
1982
1946
|
const [t, o] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (f) => {
|
|
1983
|
-
const { current:
|
|
1984
|
-
|
|
1985
|
-
},
|
|
1986
|
-
const { current:
|
|
1987
|
-
|
|
1947
|
+
const { current: u } = e;
|
|
1948
|
+
u && (console.log(u.scrollLeft), u.scrollLeft += f, console.log(u.scrollLeft));
|
|
1949
|
+
}, v = (f) => {
|
|
1950
|
+
const { current: u } = e;
|
|
1951
|
+
u && (console.log(u.scrollTop), u.scrollTop += f, console.log(u.scrollTop));
|
|
1988
1952
|
};
|
|
1989
1953
|
return Z3(() => {
|
|
1990
|
-
const { current: f } = e,
|
|
1954
|
+
const { current: f } = e, u = () => {
|
|
1991
1955
|
o((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
|
|
1992
1956
|
};
|
|
1993
|
-
f &&
|
|
1994
|
-
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical:
|
|
1957
|
+
f && u();
|
|
1958
|
+
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: v };
|
|
1995
1959
|
}
|
|
1996
|
-
function
|
|
1960
|
+
function Tt(e) {
|
|
1997
1961
|
const t = W1();
|
|
1998
1962
|
return [() => {
|
|
1999
|
-
t(
|
|
1963
|
+
t(O.addSyncState(e));
|
|
2000
1964
|
}, () => {
|
|
2001
|
-
t(
|
|
1965
|
+
t(O.removeSyncState(e));
|
|
2002
1966
|
}, Ze(e)];
|
|
2003
1967
|
}
|
|
2004
|
-
function
|
|
2005
|
-
const { sendMessage: e } =
|
|
1968
|
+
function Dt() {
|
|
1969
|
+
const { sendMessage: e } = R();
|
|
2006
1970
|
return {
|
|
2007
1971
|
reboot: () => {
|
|
2008
1972
|
e("/system/reboot", null);
|
|
@@ -2012,14 +1976,14 @@ function Pt() {
|
|
|
2012
1976
|
}
|
|
2013
1977
|
};
|
|
2014
1978
|
}
|
|
2015
|
-
function
|
|
1979
|
+
function _t() {
|
|
2016
1980
|
const [e, t] = Y(), [o, c] = Y();
|
|
2017
1981
|
function r() {
|
|
2018
1982
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
2019
1983
|
const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
2020
1984
|
c(l);
|
|
2021
1985
|
}
|
|
2022
|
-
return
|
|
1986
|
+
return x1(() => {
|
|
2023
1987
|
r();
|
|
2024
1988
|
const l = setInterval(() => {
|
|
2025
1989
|
r();
|
|
@@ -2050,7 +2014,7 @@ const Lt = () => {
|
|
|
2050
2014
|
),
|
|
2051
2015
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
2052
2016
|
] });
|
|
2053
|
-
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18",
|
|
2017
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", A1 = {
|
|
2054
2018
|
iconbtn: Je,
|
|
2055
2019
|
iconbtnvert: Xe,
|
|
2056
2020
|
iconsm: Qe
|
|
@@ -2061,45 +2025,45 @@ const Lt = () => {
|
|
|
2061
2025
|
className: c,
|
|
2062
2026
|
iconClassName: r = "",
|
|
2063
2027
|
otherContentClassName: l = "",
|
|
2064
|
-
disabled:
|
|
2028
|
+
disabled: v,
|
|
2065
2029
|
feedback: g,
|
|
2066
2030
|
feedbackClassName: h,
|
|
2067
2031
|
onPointerDown: f,
|
|
2068
|
-
onPointerUp:
|
|
2069
|
-
onPointerLeave:
|
|
2032
|
+
onPointerUp: u,
|
|
2033
|
+
onPointerLeave: L,
|
|
2070
2034
|
...F
|
|
2071
2035
|
}) => {
|
|
2072
|
-
const [
|
|
2036
|
+
const [a, Z] = Y(!1), C = !v && g ? h : "", S = !v && (a || g);
|
|
2073
2037
|
return /* @__PURE__ */ n.jsxs(
|
|
2074
2038
|
"button",
|
|
2075
2039
|
{
|
|
2076
2040
|
type: "button",
|
|
2077
|
-
className: `${
|
|
2041
|
+
className: `${A1.iconbtn} ${o ? A1.iconbtnvert : ""} ${c} ${C}`,
|
|
2078
2042
|
...F,
|
|
2079
|
-
disabled:
|
|
2080
|
-
onPointerDown: (
|
|
2081
|
-
Z(!0), f == null || f(
|
|
2043
|
+
disabled: v,
|
|
2044
|
+
onPointerDown: (b) => {
|
|
2045
|
+
Z(!0), f == null || f(b);
|
|
2082
2046
|
},
|
|
2083
|
-
onPointerUp: (
|
|
2084
|
-
Z(!1),
|
|
2047
|
+
onPointerUp: (b) => {
|
|
2048
|
+
Z(!1), u == null || u(b);
|
|
2085
2049
|
},
|
|
2086
|
-
onPointerLeave: (
|
|
2087
|
-
Z(!1),
|
|
2050
|
+
onPointerLeave: (b) => {
|
|
2051
|
+
Z(!1), L == null || L(b);
|
|
2088
2052
|
},
|
|
2089
2053
|
children: [
|
|
2090
2054
|
e && /* @__PURE__ */ n.jsx(
|
|
2091
2055
|
e,
|
|
2092
2056
|
{
|
|
2093
|
-
className: `${r ||
|
|
2057
|
+
className: `${r || A1.iconsm}`,
|
|
2094
2058
|
active: S,
|
|
2095
|
-
disabled:
|
|
2059
|
+
disabled: v
|
|
2096
2060
|
}
|
|
2097
2061
|
),
|
|
2098
2062
|
l ? /* @__PURE__ */ n.jsx("div", { className: l, children: t }) : /* @__PURE__ */ n.jsx("div", { children: t })
|
|
2099
2063
|
]
|
|
2100
2064
|
}
|
|
2101
2065
|
);
|
|
2102
|
-
},
|
|
2066
|
+
}, I = ({
|
|
2103
2067
|
ActiveImage: e,
|
|
2104
2068
|
DisabledImage: t,
|
|
2105
2069
|
EnabledImage: o,
|
|
@@ -2110,7 +2074,7 @@ const Lt = () => {
|
|
|
2110
2074
|
className: t = "",
|
|
2111
2075
|
disabled: o
|
|
2112
2076
|
}) => /* @__PURE__ */ n.jsx(
|
|
2113
|
-
|
|
2077
|
+
I,
|
|
2114
2078
|
{
|
|
2115
2079
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2116
2080
|
"svg",
|
|
@@ -2162,7 +2126,7 @@ const Lt = () => {
|
|
|
2162
2126
|
className: t = "",
|
|
2163
2127
|
disabled: o
|
|
2164
2128
|
}) => /* @__PURE__ */ n.jsx(
|
|
2165
|
-
|
|
2129
|
+
I,
|
|
2166
2130
|
{
|
|
2167
2131
|
ActiveImage: (
|
|
2168
2132
|
/* icon-ban-active.svg */
|
|
@@ -2211,7 +2175,7 @@ const Lt = () => {
|
|
|
2211
2175
|
className: t = "",
|
|
2212
2176
|
disabled: o
|
|
2213
2177
|
}) => /* @__PURE__ */ n.jsx(
|
|
2214
|
-
|
|
2178
|
+
I,
|
|
2215
2179
|
{
|
|
2216
2180
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2217
2181
|
"svg",
|
|
@@ -2251,7 +2215,7 @@ const Lt = () => {
|
|
|
2251
2215
|
className: t = "",
|
|
2252
2216
|
disabled: o
|
|
2253
2217
|
}) => /* @__PURE__ */ n.jsx(
|
|
2254
|
-
|
|
2218
|
+
I,
|
|
2255
2219
|
{
|
|
2256
2220
|
ActiveImage: (
|
|
2257
2221
|
/* icon-check-active.svg */
|
|
@@ -2301,7 +2265,7 @@ const Lt = () => {
|
|
|
2301
2265
|
className: t = "",
|
|
2302
2266
|
disabled: o
|
|
2303
2267
|
}) => /* @__PURE__ */ n.jsx(
|
|
2304
|
-
|
|
2268
|
+
I,
|
|
2305
2269
|
{
|
|
2306
2270
|
ActiveImage: (
|
|
2307
2271
|
/* icon-controller-active.svg */
|
|
@@ -2368,7 +2332,7 @@ const Lt = () => {
|
|
|
2368
2332
|
className: t = "",
|
|
2369
2333
|
disabled: o
|
|
2370
2334
|
}) => /* @__PURE__ */ n.jsx(
|
|
2371
|
-
|
|
2335
|
+
I,
|
|
2372
2336
|
{
|
|
2373
2337
|
ActiveImage: (
|
|
2374
2338
|
/* icon-down-active.svg */
|
|
@@ -2417,7 +2381,7 @@ const Lt = () => {
|
|
|
2417
2381
|
className: t = "",
|
|
2418
2382
|
disabled: o
|
|
2419
2383
|
}) => /* @__PURE__ */ n.jsx(
|
|
2420
|
-
|
|
2384
|
+
I,
|
|
2421
2385
|
{
|
|
2422
2386
|
ActiveImage: (
|
|
2423
2387
|
/* icon-elipses-active.svg */
|
|
@@ -2466,7 +2430,7 @@ const Lt = () => {
|
|
|
2466
2430
|
className: t = "",
|
|
2467
2431
|
disabled: o
|
|
2468
2432
|
}) => /* @__PURE__ */ n.jsx(
|
|
2469
|
-
|
|
2433
|
+
I,
|
|
2470
2434
|
{
|
|
2471
2435
|
ActiveImage: (
|
|
2472
2436
|
/* icon-flag-active.svg */
|
|
@@ -2515,7 +2479,7 @@ const Lt = () => {
|
|
|
2515
2479
|
className: t = "",
|
|
2516
2480
|
disabled: o
|
|
2517
2481
|
}) => /* @__PURE__ */ n.jsx(
|
|
2518
|
-
|
|
2482
|
+
I,
|
|
2519
2483
|
{
|
|
2520
2484
|
ActiveImage: (
|
|
2521
2485
|
/* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
|
|
@@ -2564,7 +2528,7 @@ const Lt = () => {
|
|
|
2564
2528
|
className: t = "",
|
|
2565
2529
|
disabled: o
|
|
2566
2530
|
}) => /* @__PURE__ */ n.jsx(
|
|
2567
|
-
|
|
2531
|
+
I,
|
|
2568
2532
|
{
|
|
2569
2533
|
ActiveImage: (
|
|
2570
2534
|
/* icon-glass-active.svg */
|
|
@@ -2614,7 +2578,7 @@ const Lt = () => {
|
|
|
2614
2578
|
className: t = "",
|
|
2615
2579
|
disabled: o
|
|
2616
2580
|
}) => /* @__PURE__ */ n.jsx(
|
|
2617
|
-
|
|
2581
|
+
I,
|
|
2618
2582
|
{
|
|
2619
2583
|
ActiveImage: (
|
|
2620
2584
|
/* icon-hdmi-active.svg */
|
|
@@ -2681,7 +2645,7 @@ const Lt = () => {
|
|
|
2681
2645
|
className: t = "",
|
|
2682
2646
|
disabled: o
|
|
2683
2647
|
}) => /* @__PURE__ */ n.jsx(
|
|
2684
|
-
|
|
2648
|
+
I,
|
|
2685
2649
|
{
|
|
2686
2650
|
ActiveImage: (
|
|
2687
2651
|
/* icon-laptop-active.svg */
|
|
@@ -2730,7 +2694,7 @@ const Lt = () => {
|
|
|
2730
2694
|
className: t = "",
|
|
2731
2695
|
disabled: o
|
|
2732
2696
|
}) => /* @__PURE__ */ n.jsx(
|
|
2733
|
-
|
|
2697
|
+
I,
|
|
2734
2698
|
{
|
|
2735
2699
|
ActiveImage: (
|
|
2736
2700
|
/* icon-left-active.svg */
|
|
@@ -2779,7 +2743,7 @@ const Lt = () => {
|
|
|
2779
2743
|
className: t = "",
|
|
2780
2744
|
disabled: o
|
|
2781
2745
|
}) => /* @__PURE__ */ n.jsx(
|
|
2782
|
-
|
|
2746
|
+
I,
|
|
2783
2747
|
{
|
|
2784
2748
|
ActiveImage: (
|
|
2785
2749
|
/* icon-light-active.svg */
|
|
@@ -2828,7 +2792,7 @@ const Lt = () => {
|
|
|
2828
2792
|
className: t = "",
|
|
2829
2793
|
disabled: o
|
|
2830
2794
|
}) => /* @__PURE__ */ n.jsx(
|
|
2831
|
-
|
|
2795
|
+
I,
|
|
2832
2796
|
{
|
|
2833
2797
|
ActiveImage: (
|
|
2834
2798
|
/* icon-moon-active.svg */
|
|
@@ -2877,7 +2841,7 @@ const Lt = () => {
|
|
|
2877
2841
|
className: t = "",
|
|
2878
2842
|
disabled: o
|
|
2879
2843
|
}) => /* @__PURE__ */ n.jsx(
|
|
2880
|
-
|
|
2844
|
+
I,
|
|
2881
2845
|
{
|
|
2882
2846
|
ActiveImage: (
|
|
2883
2847
|
/* icon-playstation-active.svg */
|
|
@@ -2899,7 +2863,7 @@ const Lt = () => {
|
|
|
2899
2863
|
className: t = "",
|
|
2900
2864
|
disabled: o
|
|
2901
2865
|
}) => /* @__PURE__ */ n.jsx(
|
|
2902
|
-
|
|
2866
|
+
I,
|
|
2903
2867
|
{
|
|
2904
2868
|
ActiveImage: (
|
|
2905
2869
|
/* icon-podium-active.svg */
|
|
@@ -2948,7 +2912,7 @@ const Lt = () => {
|
|
|
2948
2912
|
className: t = "",
|
|
2949
2913
|
disabled: o
|
|
2950
2914
|
}) => /* @__PURE__ */ n.jsx(
|
|
2951
|
-
|
|
2915
|
+
I,
|
|
2952
2916
|
{
|
|
2953
2917
|
ActiveImage: (
|
|
2954
2918
|
/* icon-power-active.svg */
|
|
@@ -2997,7 +2961,7 @@ const Lt = () => {
|
|
|
2997
2961
|
className: t = "",
|
|
2998
2962
|
disabled: o
|
|
2999
2963
|
}) => /* @__PURE__ */ n.jsx(
|
|
3000
|
-
|
|
2964
|
+
I,
|
|
3001
2965
|
{
|
|
3002
2966
|
ActiveImage: (
|
|
3003
2967
|
/* icon-privacy-active.svg */
|
|
@@ -3046,7 +3010,7 @@ const Lt = () => {
|
|
|
3046
3010
|
className: t = "",
|
|
3047
3011
|
disabled: o
|
|
3048
3012
|
}) => /* @__PURE__ */ n.jsx(
|
|
3049
|
-
|
|
3013
|
+
I,
|
|
3050
3014
|
{
|
|
3051
3015
|
ActiveImage: (
|
|
3052
3016
|
/* icon-question-active.svg */
|
|
@@ -3095,7 +3059,7 @@ const Lt = () => {
|
|
|
3095
3059
|
className: t = "",
|
|
3096
3060
|
disabled: o
|
|
3097
3061
|
}) => /* @__PURE__ */ n.jsx(
|
|
3098
|
-
|
|
3062
|
+
I,
|
|
3099
3063
|
{
|
|
3100
3064
|
ActiveImage: (
|
|
3101
3065
|
/* icon-right-active.svg */
|
|
@@ -3145,7 +3109,7 @@ const Lt = () => {
|
|
|
3145
3109
|
className: t = "",
|
|
3146
3110
|
disabled: o
|
|
3147
3111
|
}) => /* @__PURE__ */ n.jsx(
|
|
3148
|
-
|
|
3112
|
+
I,
|
|
3149
3113
|
{
|
|
3150
3114
|
ActiveImage: (
|
|
3151
3115
|
/* icon-roomPC-active.svg */
|
|
@@ -3212,7 +3176,7 @@ const Lt = () => {
|
|
|
3212
3176
|
className: t = "",
|
|
3213
3177
|
disabled: o
|
|
3214
3178
|
}) => /* @__PURE__ */ n.jsx(
|
|
3215
|
-
|
|
3179
|
+
I,
|
|
3216
3180
|
{
|
|
3217
3181
|
ActiveImage: (
|
|
3218
3182
|
/* icon-shade-active.svg */
|
|
@@ -3261,7 +3225,7 @@ const Lt = () => {
|
|
|
3261
3225
|
className: t = "",
|
|
3262
3226
|
disabled: o
|
|
3263
3227
|
}) => /* @__PURE__ */ n.jsx(
|
|
3264
|
-
|
|
3228
|
+
I,
|
|
3265
3229
|
{
|
|
3266
3230
|
ActiveImage: (
|
|
3267
3231
|
/* icon-sun-active.svg */
|
|
@@ -3305,14 +3269,14 @@ const Lt = () => {
|
|
|
3305
3269
|
active: e,
|
|
3306
3270
|
disabled: o
|
|
3307
3271
|
}
|
|
3308
|
-
),
|
|
3272
|
+
), Pt = ({
|
|
3309
3273
|
active: e,
|
|
3310
3274
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3311
3275
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3312
3276
|
className: t = "",
|
|
3313
3277
|
disabled: o
|
|
3314
3278
|
}) => /* @__PURE__ */ n.jsx(
|
|
3315
|
-
|
|
3279
|
+
I,
|
|
3316
3280
|
{
|
|
3317
3281
|
ActiveImage: void 0,
|
|
3318
3282
|
DisabledImage: void 0,
|
|
@@ -3325,7 +3289,7 @@ const Lt = () => {
|
|
|
3325
3289
|
className: t = "",
|
|
3326
3290
|
disabled: o
|
|
3327
3291
|
}) => /* @__PURE__ */ n.jsx(
|
|
3328
|
-
|
|
3292
|
+
I,
|
|
3329
3293
|
{
|
|
3330
3294
|
ActiveImage: (
|
|
3331
3295
|
/* icon-up-active.svg */
|
|
@@ -3374,7 +3338,7 @@ const Lt = () => {
|
|
|
3374
3338
|
className: t = "",
|
|
3375
3339
|
disabled: o
|
|
3376
3340
|
}) => /* @__PURE__ */ n.jsx(
|
|
3377
|
-
|
|
3341
|
+
I,
|
|
3378
3342
|
{
|
|
3379
3343
|
ActiveImage: (
|
|
3380
3344
|
/* icon-volDown-active.svg */
|
|
@@ -3423,7 +3387,7 @@ const Lt = () => {
|
|
|
3423
3387
|
className: t = "",
|
|
3424
3388
|
disabled: o
|
|
3425
3389
|
}) => /* @__PURE__ */ n.jsx(
|
|
3426
|
-
|
|
3390
|
+
I,
|
|
3427
3391
|
{
|
|
3428
3392
|
ActiveImage: (
|
|
3429
3393
|
/* icon-volMute-active.svg */
|
|
@@ -3472,7 +3436,7 @@ const Lt = () => {
|
|
|
3472
3436
|
className: t = "",
|
|
3473
3437
|
disabled: o
|
|
3474
3438
|
}) => /* @__PURE__ */ n.jsx(
|
|
3475
|
-
|
|
3439
|
+
I,
|
|
3476
3440
|
{
|
|
3477
3441
|
ActiveImage: (
|
|
3478
3442
|
/* icon-volUp-active.svg */
|
|
@@ -3521,7 +3485,7 @@ const Lt = () => {
|
|
|
3521
3485
|
className: t = "",
|
|
3522
3486
|
disabled: o
|
|
3523
3487
|
}) => /* @__PURE__ */ n.jsx(
|
|
3524
|
-
|
|
3488
|
+
I,
|
|
3525
3489
|
{
|
|
3526
3490
|
ActiveImage: (
|
|
3527
3491
|
/* icon-wireless-active.svg */
|
|
@@ -3570,7 +3534,7 @@ const Lt = () => {
|
|
|
3570
3534
|
className: t = "",
|
|
3571
3535
|
disabled: o
|
|
3572
3536
|
}) => /* @__PURE__ */ n.jsx(
|
|
3573
|
-
|
|
3537
|
+
I,
|
|
3574
3538
|
{
|
|
3575
3539
|
ActiveImage: (
|
|
3576
3540
|
/* icon-x-active.svg */
|
|
@@ -3619,7 +3583,7 @@ const Lt = () => {
|
|
|
3619
3583
|
className: t = "",
|
|
3620
3584
|
disabled: o
|
|
3621
3585
|
}) => /* @__PURE__ */ n.jsx(
|
|
3622
|
-
|
|
3586
|
+
I,
|
|
3623
3587
|
{
|
|
3624
3588
|
ActiveImage: (
|
|
3625
3589
|
/* icon-xbox-active.svg */
|
|
@@ -3668,7 +3632,7 @@ const Lt = () => {
|
|
|
3668
3632
|
className: t = "",
|
|
3669
3633
|
disabled: o
|
|
3670
3634
|
}) => /* @__PURE__ */ n.jsx(
|
|
3671
|
-
|
|
3635
|
+
I,
|
|
3672
3636
|
{
|
|
3673
3637
|
ActiveImage: (
|
|
3674
3638
|
/* icon-mic-active.svg */
|
|
@@ -3746,7 +3710,7 @@ const Lt = () => {
|
|
|
3746
3710
|
X: E8,
|
|
3747
3711
|
Xbox: T8
|
|
3748
3712
|
};
|
|
3749
|
-
function
|
|
3713
|
+
function At({
|
|
3750
3714
|
name: e,
|
|
3751
3715
|
iconsDictionary: t = _8,
|
|
3752
3716
|
...o
|
|
@@ -3754,54 +3718,54 @@ function Ot({
|
|
|
3754
3718
|
const c = t[e] ?? null;
|
|
3755
3719
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3756
3720
|
}
|
|
3757
|
-
const
|
|
3758
|
-
grid:
|
|
3759
|
-
header:
|
|
3760
|
-
content:
|
|
3761
|
-
footer:
|
|
3762
|
-
volume:
|
|
3763
|
-
},
|
|
3764
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3765
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3766
|
-
r && /* @__PURE__ */ n.jsx("div", { className:
|
|
3767
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3768
|
-
] }), B8 = "_grid_11w5q_1",
|
|
3721
|
+
const L8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", k8 = "_volume_1cmpp_29", a1 = {
|
|
3722
|
+
grid: L8,
|
|
3723
|
+
header: P8,
|
|
3724
|
+
content: A8,
|
|
3725
|
+
footer: $8,
|
|
3726
|
+
volume: k8
|
|
3727
|
+
}, $t = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
|
|
3728
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
|
|
3729
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
|
|
3730
|
+
r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
|
|
3731
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
|
|
3732
|
+
] }), B8 = "_grid_11w5q_1", O8 = "_header_11w5q_11", W8 = "_content_11w5q_17", M1 = {
|
|
3769
3733
|
grid: B8,
|
|
3770
|
-
header:
|
|
3734
|
+
header: O8,
|
|
3771
3735
|
content: W8
|
|
3772
|
-
}, kt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${
|
|
3773
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3774
|
-
c && /* @__PURE__ */ n.jsx("div", { className:
|
|
3775
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3776
|
-
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", F8 = "_content_1uwfo_17",
|
|
3736
|
+
}, kt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${M1.grid}`, children: [
|
|
3737
|
+
/* @__PURE__ */ n.jsx("div", { className: M1.header, children: t }),
|
|
3738
|
+
c && /* @__PURE__ */ n.jsx("div", { className: M1.leftNav, children: c }),
|
|
3739
|
+
/* @__PURE__ */ n.jsx("div", { className: M1.content, children: o })
|
|
3740
|
+
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", F8 = "_content_1uwfo_17", $1 = {
|
|
3777
3741
|
grid: V8,
|
|
3778
3742
|
header: U8,
|
|
3779
3743
|
content: F8
|
|
3780
|
-
},
|
|
3781
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3782
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3744
|
+
}, Bt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${$1.grid}`, children: [
|
|
3745
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.header, children: t }),
|
|
3746
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.content, children: o })
|
|
3783
3747
|
] });
|
|
3784
|
-
class
|
|
3748
|
+
class Ot {
|
|
3785
3749
|
constructor() {
|
|
3786
3750
|
q(this, "currentShareText");
|
|
3787
3751
|
q(this, "enabled");
|
|
3788
3752
|
q(this, "isSharing");
|
|
3789
3753
|
}
|
|
3790
3754
|
}
|
|
3791
|
-
function
|
|
3755
|
+
function Wt() {
|
|
3792
3756
|
return console.log(location.pathname), location.pathname;
|
|
3793
3757
|
}
|
|
3794
3758
|
var H8 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(H8 || {});
|
|
3795
|
-
class
|
|
3759
|
+
class Vt {
|
|
3796
3760
|
constructor(t, o) {
|
|
3797
3761
|
q(this, "path");
|
|
3798
3762
|
q(this, "handler");
|
|
3799
3763
|
this.path = t, this.handler = o;
|
|
3800
3764
|
}
|
|
3801
3765
|
}
|
|
3802
|
-
const
|
|
3766
|
+
const Ut = "$off";
|
|
3803
3767
|
export {
|
|
3804
|
-
|
|
3768
|
+
H6 as Clock,
|
|
3805
3769
|
H8 as DaysOfWeek,
|
|
3806
3770
|
Lt as ErrorBox,
|
|
3807
3771
|
Ne as IconButton,
|
|
@@ -3830,7 +3794,7 @@ export {
|
|
|
3830
3794
|
Z8 as IconMultiRoomPC,
|
|
3831
3795
|
S8 as IconMultiShade,
|
|
3832
3796
|
j8 as IconMultiSun,
|
|
3833
|
-
|
|
3797
|
+
Pt as IconMultiTemplate,
|
|
3834
3798
|
C8 as IconMultiUpArrow,
|
|
3835
3799
|
b8 as IconMultiVolDown,
|
|
3836
3800
|
y8 as IconMultiVolMute,
|
|
@@ -3838,36 +3802,36 @@ export {
|
|
|
3838
3802
|
R8 as IconMultiWireless,
|
|
3839
3803
|
E8 as IconMultiX,
|
|
3840
3804
|
T8 as IconMultiXbox,
|
|
3841
|
-
|
|
3842
|
-
|
|
3805
|
+
$t as MainLayout,
|
|
3806
|
+
Vt as MessageHandler,
|
|
3843
3807
|
W6 as MobileControlProvider,
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3808
|
+
I as MultiStateIconContainer,
|
|
3809
|
+
At as NamedIconButton,
|
|
3810
|
+
Ot as ShareState,
|
|
3847
3811
|
kt as TechLayout,
|
|
3848
|
-
|
|
3849
|
-
|
|
3812
|
+
Bt as TechPinLayout,
|
|
3813
|
+
A3 as WS_ADD_EVENT_HANDLER,
|
|
3850
3814
|
_3 as WS_CONNECT,
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3815
|
+
L3 as WS_DISCONNECT,
|
|
3816
|
+
k3 as WS_RECONNECT,
|
|
3817
|
+
$3 as WS_REMOVE_EVENT_HANDLER,
|
|
3818
|
+
P3 as WS_SEND_MESSAGE,
|
|
3819
|
+
O3 as WebsocketContext,
|
|
3856
3820
|
T3 as appConfigActions,
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3821
|
+
ke as createWebSocketMiddleware,
|
|
3822
|
+
w1 as devicesActions,
|
|
3823
|
+
Wt as getBaseLocation,
|
|
3860
3824
|
f3 as httpClient,
|
|
3861
3825
|
_8 as iconsDictionary,
|
|
3862
|
-
|
|
3863
|
-
|
|
3826
|
+
Ut as roomOffSourceKey,
|
|
3827
|
+
m1 as roomsActions,
|
|
3864
3828
|
U as runtimeConfigActions,
|
|
3865
3829
|
C3 as selectAllDevices,
|
|
3866
3830
|
T2 as selectApiPath,
|
|
3867
3831
|
E2 as selectAppConfig,
|
|
3868
3832
|
ce as selectClientId,
|
|
3869
3833
|
he as selectCurrentPopoverIdForGroup,
|
|
3870
|
-
|
|
3834
|
+
L2 as selectDeviceByKey,
|
|
3871
3835
|
b3 as selectDeviceInterfaceSupport,
|
|
3872
3836
|
ve as selectDeviceSupportsInterface,
|
|
3873
3837
|
fe as selectError,
|
|
@@ -3879,9 +3843,9 @@ export {
|
|
|
3879
3843
|
_2 as selectPartnerMetadata,
|
|
3880
3844
|
X2 as selectRoomAdvancedSharingActive,
|
|
3881
3845
|
V2 as selectRoomAudioControlPointList,
|
|
3882
|
-
|
|
3846
|
+
$2 as selectRoomByKey,
|
|
3883
3847
|
q2 as selectRoomCodecContentDestinationKey,
|
|
3884
|
-
|
|
3848
|
+
P2 as selectRoomConfiguration,
|
|
3885
3849
|
F2 as selectRoomDestinationList,
|
|
3886
3850
|
U2 as selectRoomDestinations,
|
|
3887
3851
|
ee as selectRoomDisplayStates,
|
|
@@ -3891,13 +3855,13 @@ export {
|
|
|
3891
3855
|
J2 as selectRoomIsOn,
|
|
3892
3856
|
Y2 as selectRoomIsWarmingUp,
|
|
3893
3857
|
se as selectRoomKey,
|
|
3894
|
-
|
|
3895
|
-
|
|
3858
|
+
O2 as selectRoomLevelControls,
|
|
3859
|
+
k2 as selectRoomName,
|
|
3896
3860
|
K2 as selectRoomProgramAudioDestinationKey,
|
|
3897
3861
|
Q2 as selectRoomShareState,
|
|
3898
3862
|
W2 as selectRoomSourceList,
|
|
3899
3863
|
B2 as selectRoomVolume,
|
|
3900
|
-
|
|
3864
|
+
A2 as selectRooms,
|
|
3901
3865
|
ae as selectRuntimeInfo,
|
|
3902
3866
|
ie as selectServerIsRunningOnProcessorHardware,
|
|
3903
3867
|
ge as selectShowPopoverById,
|
|
@@ -3908,8 +3872,8 @@ export {
|
|
|
3908
3872
|
le as selectUserCode,
|
|
3909
3873
|
oe as selectWsIsConnected,
|
|
3910
3874
|
N2 as selectZoomRoomControllerKey,
|
|
3911
|
-
|
|
3912
|
-
|
|
3875
|
+
Oe as store,
|
|
3876
|
+
O as uiActions,
|
|
3913
3877
|
je as uiReducer,
|
|
3914
3878
|
Q8 as useApiPath,
|
|
3915
3879
|
X8 as useAppConfig,
|
|
@@ -3917,66 +3881,64 @@ export {
|
|
|
3917
3881
|
m as useAppSelector,
|
|
3918
3882
|
F6 as useAvrControl,
|
|
3919
3883
|
w as useButtonHeldHeartbeat,
|
|
3920
|
-
|
|
3884
|
+
Q6 as useCameraBase,
|
|
3921
3885
|
S6 as useClientId,
|
|
3922
|
-
|
|
3886
|
+
Ct as useDeviceIBasicVolume,
|
|
3923
3887
|
Ye as useDeviceIBasicVolumeWithFeedback,
|
|
3924
3888
|
E6 as useDeviceInterfaceSupport,
|
|
3925
|
-
|
|
3889
|
+
K6 as useDevicePresetsModel,
|
|
3926
3890
|
D6 as useDeviceSupportsInterface,
|
|
3927
|
-
|
|
3891
|
+
q6 as useEndpoint,
|
|
3928
3892
|
Me as useError,
|
|
3929
|
-
|
|
3893
|
+
bt as useGetAllDeviceStateFromRoomConfiguration,
|
|
3930
3894
|
t6 as useGetAllDevices,
|
|
3931
3895
|
o6 as useGetAllRooms,
|
|
3932
|
-
|
|
3933
|
-
|
|
3896
|
+
A6 as useGetCurrentPopoverIdForGroup,
|
|
3897
|
+
_ as useGetDevice,
|
|
3934
3898
|
V6 as useGetIBasicVolume,
|
|
3935
3899
|
U6 as useGetIBasicVolumeWithFeedback,
|
|
3936
3900
|
s6 as useGetRoom,
|
|
3937
3901
|
M6 as useGetRoomDisplayStates,
|
|
3938
3902
|
x6 as useGetZoomRoomControllerKey,
|
|
3939
|
-
|
|
3903
|
+
j1 as useIBasicVolume,
|
|
3940
3904
|
W3 as useIBasicVolumeWithFeedback,
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3905
|
+
G6 as useIChannel,
|
|
3906
|
+
Y6 as useIColor,
|
|
3907
|
+
z6 as useICommunicationMonitor,
|
|
3908
|
+
X6 as useIDPad,
|
|
3909
|
+
J6 as useIDeviceInfoMessenger,
|
|
3946
3910
|
N6 as useIDspPresets,
|
|
3947
3911
|
et as useIDvr,
|
|
3948
3912
|
tt as useIEssentialsRoomCombiner,
|
|
3949
|
-
nt as
|
|
3950
|
-
ot as useIHasCameraPresets,
|
|
3951
|
-
st as useIHasCameras,
|
|
3913
|
+
nt as useIHasCameras,
|
|
3952
3914
|
V3 as useIHasPowerControl,
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3915
|
+
O1 as useIHasSelectableItems,
|
|
3916
|
+
ot as useIHumiditySensor,
|
|
3917
|
+
st as useILevelControls,
|
|
3918
|
+
ct as useILightingScenes,
|
|
3919
|
+
rt as useIMatrixRouting,
|
|
3920
|
+
lt as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3921
|
+
it as useINumeric,
|
|
3922
|
+
at as useIProjectorScreenLiftControl,
|
|
3923
|
+
ut as useIRoomEventSchedule,
|
|
3924
|
+
dt as useIRunDefaultPresentRoute,
|
|
3925
|
+
vt as useIRunDirectRouteAction,
|
|
3926
|
+
ht as useIRunRouteAction,
|
|
3927
|
+
gt as useISetTopBoxControls,
|
|
3928
|
+
ft as useIShadesOpenCloseStop,
|
|
3929
|
+
wt as useIShutdownPromptTimer,
|
|
3930
|
+
mt as useISwitchedOutput,
|
|
3931
|
+
pt as useITechPassword,
|
|
3932
|
+
Mt as useITemperatureSensor,
|
|
3933
|
+
xt as useITheme,
|
|
3934
|
+
Zt as useITransport,
|
|
3935
|
+
O6 as useInitialize,
|
|
3974
3936
|
T6 as useInterfacesForDevice,
|
|
3975
3937
|
Ze as useIsSyncStateValuePresent,
|
|
3976
3938
|
R6 as useIsTouchpanel,
|
|
3977
3939
|
N8 as useLogoPath,
|
|
3978
|
-
|
|
3979
|
-
|
|
3940
|
+
St as useMobileControlTouchpanelController,
|
|
3941
|
+
yt as useOverflow,
|
|
3980
3942
|
e6 as usePartnerMetadata,
|
|
3981
3943
|
Ge as usePressHoldRelease,
|
|
3982
3944
|
m6 as useRoomAdvancedSharingActive,
|
|
@@ -3986,8 +3948,8 @@ export {
|
|
|
3986
3948
|
a6 as useRoomDestinationList,
|
|
3987
3949
|
i6 as useRoomDestinations,
|
|
3988
3950
|
u6 as useRoomEnvironmentalDevices,
|
|
3989
|
-
|
|
3990
|
-
|
|
3951
|
+
It as useRoomIBasicVolume,
|
|
3952
|
+
Rt as useRoomIBasicVolumeWithFeedback,
|
|
3991
3953
|
h6 as useRoomInCall,
|
|
3992
3954
|
f6 as useRoomIsCoolingDown,
|
|
3993
3955
|
w6 as useRoomIsOn,
|
|
@@ -3998,30 +3960,30 @@ export {
|
|
|
3998
3960
|
d6 as useRoomProgramAudioDestinationKey,
|
|
3999
3961
|
p6 as useRoomShareState,
|
|
4000
3962
|
r6 as useRoomSourceList,
|
|
4001
|
-
|
|
3963
|
+
S1 as useRoomState,
|
|
4002
3964
|
te as useRoomVolume,
|
|
4003
3965
|
y6 as useRuntimeInfo,
|
|
4004
|
-
|
|
3966
|
+
Et as useScroll,
|
|
4005
3967
|
b6 as useServerIsRunningOnProcessorHardware,
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
3968
|
+
L6 as useShowIncomingCallModal,
|
|
3969
|
+
P6 as useShowModal,
|
|
3970
|
+
$6 as useShowPopoverById,
|
|
4009
3971
|
xe as useShowReconnect,
|
|
4010
3972
|
_6 as useShowShutdownModal,
|
|
4011
|
-
|
|
4012
|
-
|
|
3973
|
+
Tt as useStateIsSynced,
|
|
3974
|
+
Dt as useSystemControl,
|
|
4013
3975
|
j6 as useSystemUuid,
|
|
4014
|
-
|
|
4015
|
-
|
|
3976
|
+
k6 as useTheme,
|
|
3977
|
+
_t as useTimeAndDate,
|
|
4016
3978
|
I6 as useTouchpanelKey,
|
|
4017
|
-
|
|
3979
|
+
jt as useTwoWayDisplayBase,
|
|
4018
3980
|
C6 as useUserCode,
|
|
4019
|
-
|
|
3981
|
+
R as useWebsocketContext,
|
|
4020
3982
|
I3 as useWsIsConnected,
|
|
4021
|
-
|
|
3983
|
+
Pe as wsAddEventHandler,
|
|
4022
3984
|
B3 as wsConnect,
|
|
4023
3985
|
B6 as wsDisconnect,
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
3986
|
+
$e as wsReconnect,
|
|
3987
|
+
Ae as wsRemoveEventHandler,
|
|
3988
|
+
Le as wsSendMessage
|
|
4027
3989
|
};
|