@pepperdash/mobile-control-react-app-core 1.25.0-feat-deprecate-interfaces-array.6 → 1.25.0-feat-essentials-v3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile-control-react-app-core.es.js +669 -631
- package/dist/mobile-control-react-app-core.umd.js +10 -10
- package/dist/shared/hooks/interfaces/index.d.ts +2 -0
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIAudioCodecPhonebook.d.ts +1 -0
- package/dist/shared/hooks/interfaces/useIAudioCodecPhonebook.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasCameraMute.d.ts +13 -0
- package/dist/shared/hooks/interfaces/useIHasCameraMute.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts +1 -0
- 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/IHasCameraMuteState.d.ts +6 -0
- package/dist/types/state/state/IHasCameraMuteState.d.ts.map +1 -0
- package/dist/types/state/state/index.d.ts +1 -0
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
var w2 = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var q = (e, t, o) =>
|
|
4
|
-
import M3, { AxiosError as
|
|
2
|
+
var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
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 v1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
|
|
7
|
+
import x3, { createContext as C2, useEffect as Z1, useCallback as l1, useContext as b2, useRef as d1, useMemo as X, 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(),
|
|
11
|
-
|
|
10
|
+
const W1 = M2.withTypes(), m = x2.withTypes(), S1 = (e) => e.appConfig, E2 = M(
|
|
11
|
+
S1,
|
|
12
12
|
(e) => e.config
|
|
13
13
|
), T2 = M(
|
|
14
|
-
|
|
14
|
+
S1,
|
|
15
15
|
(e) => e.config.apiPath
|
|
16
16
|
), D2 = M(
|
|
17
|
-
|
|
17
|
+
S1,
|
|
18
18
|
(e) => e.config.logoPath
|
|
19
19
|
), _2 = M(
|
|
20
|
-
|
|
20
|
+
S1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), X8 = () =>
|
|
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
|
+
), $2 = (e) => M(
|
|
26
26
|
j3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
), t6 = () =>
|
|
29
|
-
function
|
|
30
|
-
return
|
|
28
|
+
), t6 = () => m(C3);
|
|
29
|
+
function T(e) {
|
|
30
|
+
return m($2(e));
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
|
|
32
|
+
const L = (e) => e.rooms, P2 = (e) => M(
|
|
33
|
+
L,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
36
|
-
|
|
35
|
+
), A2 = M(
|
|
36
|
+
L,
|
|
37
37
|
(e) => e
|
|
38
|
-
),
|
|
39
|
-
|
|
38
|
+
), L2 = (e) => M(
|
|
39
|
+
L,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
),
|
|
42
|
-
|
|
41
|
+
), O2 = (e) => M(
|
|
42
|
+
L,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
),
|
|
45
|
-
|
|
44
|
+
), B2 = (e, t) => M(
|
|
45
|
+
L,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
47
|
), k2 = (e) => M(
|
|
48
|
-
|
|
48
|
+
L,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
50
|
), W2 = (e) => M(
|
|
51
|
-
|
|
51
|
+
L,
|
|
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
|
+
L,
|
|
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
|
+
L,
|
|
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
|
-
),
|
|
69
|
-
|
|
68
|
+
), H2 = (e) => M(
|
|
69
|
+
L,
|
|
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
|
-
),
|
|
75
|
-
|
|
74
|
+
), F2 = (e) => M(
|
|
75
|
+
L,
|
|
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
|
+
L,
|
|
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, a, g, h, f;
|
|
84
|
+
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (a = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : a.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
|
+
L,
|
|
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
|
+
L,
|
|
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
|
+
L,
|
|
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
|
+
L,
|
|
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
|
+
L,
|
|
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
|
+
L,
|
|
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
|
+
L,
|
|
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
|
+
L,
|
|
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;
|
|
@@ -147,21 +147,21 @@ const P = (e) => e.rooms, $2 = (e) => M(
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
function n6(e) {
|
|
150
|
-
return
|
|
151
|
-
|
|
150
|
+
return m(
|
|
151
|
+
P2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function o6() {
|
|
155
|
-
return
|
|
155
|
+
return m(A2);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
return
|
|
157
|
+
function j1(e) {
|
|
158
|
+
return m(L2(e));
|
|
159
159
|
}
|
|
160
|
-
const s6 =
|
|
161
|
-
|
|
162
|
-
), te = (e, t) =>
|
|
163
|
-
|
|
164
|
-
), ne = (e) =>
|
|
160
|
+
const s6 = j1, c6 = (e) => m(
|
|
161
|
+
O2(e)
|
|
162
|
+
), te = (e, t) => m(
|
|
163
|
+
B2(e, t)
|
|
164
|
+
), ne = (e) => m(k2(e)) || void 0, r6 = (e) => m(W2(e)), l6 = (e) => m(V2(e)), i6 = (e) => m(U2(e)), a6 = (e) => m(H2(e)), u6 = (e) => m(F2(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(
|
|
@@ -203,7 +203,7 @@ const s6 = S1, c6 = (e) => p(
|
|
|
203
203
|
), ve = (e, t) => M(
|
|
204
204
|
y3(e),
|
|
205
205
|
(o) => o.includes(t)
|
|
206
|
-
), I3 = () =>
|
|
206
|
+
), I3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(b3), T6 = (e) => m(y3(e)), D6 = (e, t) => m(ve(e, t)), e1 = (e) => e.ui, V1 = (e) => M(e1, (t) => t.modalVisibility[e]), he = (e) => M(e1, (t) => {
|
|
207
207
|
const o = t.popoverVisibility[e];
|
|
208
208
|
if (o)
|
|
209
209
|
return Object.keys(o).find((c) => o[c]);
|
|
@@ -216,7 +216,7 @@ const s6 = S1, c6 = (e) => p(
|
|
|
216
216
|
), fe = M(e1, (e) => e.error), we = M(
|
|
217
217
|
e1,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
),
|
|
219
|
+
), me = M(e1, (e) => e.theme), pe = (e) => M(e1, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), $6 = () => m(V1("showIncomingCallModal")), P6 = (e) => m(V1(e)), A6 = (e) => m(he(e)), L6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), O6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -225,7 +225,7 @@ const s6 = S1, c6 = (e) => p(
|
|
|
225
225
|
},
|
|
226
226
|
popoverVisibility: {},
|
|
227
227
|
syncState: []
|
|
228
|
-
}, R3 =
|
|
228
|
+
}, R3 = v1({
|
|
229
229
|
name: "ui",
|
|
230
230
|
initialState: Se,
|
|
231
231
|
reducers: {
|
|
@@ -271,7 +271,7 @@ const s6 = S1, c6 = (e) => p(
|
|
|
271
271
|
e.syncState = [];
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
}),
|
|
274
|
+
}), W = R3.actions, je = R3.reducer, Ce = {
|
|
275
275
|
config: {
|
|
276
276
|
enableDev: !1,
|
|
277
277
|
apiPath: "",
|
|
@@ -281,7 +281,7 @@ const s6 = S1, c6 = (e) => p(
|
|
|
281
281
|
loginMode: "",
|
|
282
282
|
modes: {}
|
|
283
283
|
}
|
|
284
|
-
}, E3 =
|
|
284
|
+
}, E3 = v1({
|
|
285
285
|
name: "appConfig",
|
|
286
286
|
initialState: Ce,
|
|
287
287
|
reducers: {
|
|
@@ -289,14 +289,14 @@ const s6 = S1, c6 = (e) => p(
|
|
|
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 = {}, O1 = v1({
|
|
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] ?? {}, a = S3.mergeWith(
|
|
300
300
|
{},
|
|
301
301
|
l,
|
|
302
302
|
r,
|
|
@@ -304,16 +304,16 @@ const s6 = S1, c6 = (e) => p(
|
|
|
304
304
|
if (Array.isArray(h)) return h.slice();
|
|
305
305
|
}
|
|
306
306
|
);
|
|
307
|
-
e[c] =
|
|
307
|
+
e[c] = a;
|
|
308
308
|
},
|
|
309
309
|
clearDevices() {
|
|
310
310
|
return v3;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
314
|
-
setDeviceState:
|
|
315
|
-
clearDevices:
|
|
316
|
-
}, ye =
|
|
313
|
+
}), m1 = {
|
|
314
|
+
setDeviceState: O1.actions.setDeviceState,
|
|
315
|
+
clearDevices: O1.actions.clearDevices
|
|
316
|
+
}, ye = O1.reducer;
|
|
317
317
|
class Ie {
|
|
318
318
|
constructor() {
|
|
319
319
|
q(this, "uuid", "current-uuid");
|
|
@@ -329,26 +329,26 @@ function Re(e) {
|
|
|
329
329
|
function Ee(e, t) {
|
|
330
330
|
sessionStorage.setItem(e, t);
|
|
331
331
|
}
|
|
332
|
-
const g3 = {},
|
|
332
|
+
const g3 = {}, B1 = v1({
|
|
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] ?? {}, a = S3.mergeWith({}, l, r, (g, h) => {
|
|
340
340
|
if (Array.isArray(h)) return h;
|
|
341
341
|
});
|
|
342
|
-
e[c] =
|
|
342
|
+
e[c] = a;
|
|
343
343
|
},
|
|
344
344
|
clearRooms() {
|
|
345
345
|
return g3;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
}), p1 = {
|
|
349
|
-
setRoomState:
|
|
350
|
-
clearRooms:
|
|
351
|
-
}, Te =
|
|
349
|
+
setRoomState: B1.actions.setRoomState,
|
|
350
|
+
clearRooms: B1.actions.clearRooms
|
|
351
|
+
}, Te = B1.reducer, De = {
|
|
352
352
|
apiVersion: "",
|
|
353
353
|
serverIsRunningOnProcessorHardware: !1,
|
|
354
354
|
websocket: {
|
|
@@ -379,7 +379,7 @@ const g3 = {}, O1 = d1({
|
|
|
379
379
|
userCode: "",
|
|
380
380
|
qrUrl: ""
|
|
381
381
|
}
|
|
382
|
-
}, D3 =
|
|
382
|
+
}, D3 = v1({
|
|
383
383
|
name: "runtimeConfig",
|
|
384
384
|
initialState: De,
|
|
385
385
|
reducers: {
|
|
@@ -414,83 +414,96 @@ const g3 = {}, O1 = d1({
|
|
|
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", $3 = "websocket/disconnect", P3 = "websocket/sendMessage", A3 = "websocket/addEventHandler", L3 = "websocket/removeEventHandler", O3 = "websocket/reconnect", B3 = () => ({ type: _3 }), B6 = () => ({ type: $3 }), $e = (e, t) => ({
|
|
418
|
+
type: P3,
|
|
419
419
|
payload: { messageType: e, content: t }
|
|
420
|
-
}),
|
|
421
|
-
type:
|
|
420
|
+
}), Pe = (e, t, o) => ({
|
|
421
|
+
type: A3,
|
|
422
422
|
payload: { eventType: e, key: t, callback: o }
|
|
423
|
-
}),
|
|
424
|
-
type:
|
|
423
|
+
}), Ae = (e, t) => ({
|
|
424
|
+
type: L3,
|
|
425
425
|
payload: { eventType: e, key: t }
|
|
426
|
-
}),
|
|
426
|
+
}), Le = () => ({ type: O3 }), Oe = () => {
|
|
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 (u) => {
|
|
434
434
|
try {
|
|
435
|
-
const Z = location.pathname.split("/").filter((
|
|
435
|
+
const Z = location.pathname.split("/").filter((C) => C.length > 0);
|
|
436
436
|
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
437
|
-
const
|
|
437
|
+
const j = `/${Z.join("/")}`, S = await P1.get(
|
|
438
438
|
"/_local-config/_config.local.json",
|
|
439
|
-
{ baseURL:
|
|
439
|
+
{ baseURL: j }
|
|
440
440
|
);
|
|
441
441
|
if (S.status === 200 && S.data) {
|
|
442
|
-
const
|
|
443
|
-
|
|
444
|
-
const x = await
|
|
445
|
-
`${
|
|
442
|
+
const C = S.data.apiPath;
|
|
443
|
+
u(T3.setAppConfig(S.data));
|
|
444
|
+
const x = await P1.get(
|
|
445
|
+
`${C}/version`
|
|
446
446
|
);
|
|
447
|
-
x.status === 200 && x.data &&
|
|
447
|
+
x.status === 200 && x.data && u(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 (u, Z, j) => {
|
|
454
454
|
try {
|
|
455
|
-
const S = await
|
|
456
|
-
`${
|
|
455
|
+
const S = await P1.get(
|
|
456
|
+
`${u}/ui/joinroom?token=${Z}`
|
|
457
457
|
);
|
|
458
|
-
return S.status === 200 && S.data ? (
|
|
458
|
+
return S.status === 200 && S.data ? (j(U.setRoomData(S.data)), S.data) : null;
|
|
459
459
|
} catch (S) {
|
|
460
|
-
return console.log(S), S instanceof
|
|
461
|
-
|
|
460
|
+
return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), j(
|
|
461
|
+
W.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 ? j(W.setErrorMessage(S.message)) : j(W.setErrorMessage("Error getting room data")), null);
|
|
465
465
|
}
|
|
466
|
-
}, c = (
|
|
466
|
+
}, c = (u) => {
|
|
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..."), u(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
|
-
|
|
472
|
+
}, l = (u) => {
|
|
473
|
+
u(W.setShowReconnect(!0)), u(U.setWebsocketIsConnected(!1)), u(m1.clearDevices()), u(p1.clearRooms()), u(W.clearAllModals()), u(W.clearSyncState());
|
|
474
|
+
}, a = (u, Z) => {
|
|
475
|
+
var F;
|
|
476
|
+
const j = u(), S = Z ?? j.runtimeConfig.roomData.roomKey, { clientId: C } = j.runtimeConfig.roomData, x = j.runtimeConfig.websocket.isConnected, O = (F = j.runtimeConfig.roomData.config) == null ? void 0 : F.runtimeInfo.essentialsVersion;
|
|
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) {
|
|
477
482
|
console.log("WebSocket middleware: Cannot request room status", {
|
|
478
483
|
hasRoomKey: !!Z,
|
|
479
484
|
isConnected: x,
|
|
480
|
-
hasClientId: !!
|
|
485
|
+
hasClientId: !!C
|
|
481
486
|
});
|
|
482
487
|
return;
|
|
483
488
|
}
|
|
484
|
-
console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x &&
|
|
489
|
+
console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && (o1 ? (console.log(
|
|
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(
|
|
485
498
|
JSON.stringify({
|
|
486
499
|
type: `/room/${S}/status`,
|
|
487
|
-
clientId:
|
|
500
|
+
clientId: C,
|
|
488
501
|
content: null
|
|
489
502
|
})
|
|
490
|
-
);
|
|
491
|
-
}, g = async (
|
|
503
|
+
));
|
|
504
|
+
}, g = async (u, Z) => {
|
|
492
505
|
console.log("WebSocket middleware: Attempting to connect...");
|
|
493
|
-
const
|
|
506
|
+
const j = Z(), { apiPath: S } = j.appConfig.config, { serverIsRunningOnProcessorHardware: C } = j.runtimeConfig;
|
|
494
507
|
if (!S || !e.token) {
|
|
495
508
|
console.log(
|
|
496
509
|
"WebSocket middleware: Cannot connect - missing requirements",
|
|
@@ -513,47 +526,47 @@ const g3 = {}, O1 = d1({
|
|
|
513
526
|
}
|
|
514
527
|
e.waitingToReconnect = !0;
|
|
515
528
|
try {
|
|
516
|
-
const x = await o(S, e.token,
|
|
529
|
+
const x = await o(S, e.token, u);
|
|
517
530
|
if (!x) {
|
|
518
531
|
console.log(
|
|
519
532
|
"WebSocket middleware: Failed to get room data, will retry..."
|
|
520
|
-
), c(
|
|
533
|
+
), c(u);
|
|
521
534
|
return;
|
|
522
535
|
}
|
|
523
536
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
524
|
-
const
|
|
525
|
-
e.client =
|
|
537
|
+
const o1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, F = new WebSocket(o1);
|
|
538
|
+
e.client = F, F.onopen = (B) => {
|
|
526
539
|
console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
|
|
527
|
-
e.client ===
|
|
540
|
+
e.client === F && F.readyState === WebSocket.OPEN && u(U.setWebsocketIsConnected(!0));
|
|
528
541
|
}, 100);
|
|
529
|
-
},
|
|
530
|
-
console.error("WebSocket middleware: Error", B), l(
|
|
531
|
-
},
|
|
542
|
+
}, F.onerror = (B) => {
|
|
543
|
+
console.error("WebSocket middleware: Error", B), l(u);
|
|
544
|
+
}, F.onclose = (B) => {
|
|
532
545
|
var _;
|
|
533
546
|
if (console.log(
|
|
534
547
|
"WebSocket middleware: Disconnected",
|
|
535
548
|
B.reason,
|
|
536
549
|
B.code
|
|
537
550
|
), B.code === 4100) {
|
|
538
|
-
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(
|
|
551
|
+
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(u);
|
|
539
552
|
return;
|
|
540
553
|
}
|
|
541
554
|
if (e.waitingToReconnect = !0, B.code === 4e3) {
|
|
542
|
-
console.log("WebSocket middleware: User code changed"), r(),
|
|
555
|
+
console.log("WebSocket middleware: User code changed"), r(), u(
|
|
543
556
|
U.setUserCode({ userCode: "", qrUrl: "" })
|
|
544
|
-
),
|
|
545
|
-
|
|
557
|
+
), u(
|
|
558
|
+
W.setErrorMessage(
|
|
546
559
|
"User code changed. Click reconnect to enter the new code"
|
|
547
560
|
)
|
|
548
|
-
), l(
|
|
561
|
+
), l(u);
|
|
549
562
|
return;
|
|
550
563
|
}
|
|
551
564
|
if (B.code === 4002) {
|
|
552
|
-
console.log("WebSocket middleware: Room combination changed"), r(),
|
|
553
|
-
|
|
565
|
+
console.log("WebSocket middleware: Room combination changed"), r(), u(
|
|
566
|
+
W.setErrorMessage(
|
|
554
567
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
555
568
|
)
|
|
556
|
-
), l(
|
|
569
|
+
), l(u);
|
|
557
570
|
return;
|
|
558
571
|
}
|
|
559
572
|
if (B.code === 4001)
|
|
@@ -561,18 +574,18 @@ const g3 = {}, O1 = d1({
|
|
|
561
574
|
console.log(
|
|
562
575
|
"WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
|
|
563
576
|
);
|
|
564
|
-
else if (
|
|
577
|
+
else if (C)
|
|
565
578
|
console.log(
|
|
566
579
|
"WebSocket middleware: Code 4001 on processor hardware (no touchpanel key), will auto-reconnect"
|
|
567
580
|
);
|
|
568
581
|
else {
|
|
569
582
|
console.log(
|
|
570
583
|
"WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
|
|
571
|
-
), r(),
|
|
572
|
-
|
|
584
|
+
), r(), u(
|
|
585
|
+
W.setErrorMessage(
|
|
573
586
|
"Processor has disconnected. Click Reconnect to continue."
|
|
574
587
|
)
|
|
575
|
-
), l(
|
|
588
|
+
), l(u);
|
|
576
589
|
return;
|
|
577
590
|
}
|
|
578
591
|
if (e.client)
|
|
@@ -583,36 +596,36 @@ const g3 = {}, O1 = d1({
|
|
|
583
596
|
console.log("WebSocket middleware: Closed by client");
|
|
584
597
|
return;
|
|
585
598
|
}
|
|
586
|
-
e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"),
|
|
587
|
-
|
|
599
|
+
e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), u(
|
|
600
|
+
W.setErrorMessage(
|
|
588
601
|
"Connection lost. Attempting to reconnect..."
|
|
589
602
|
)
|
|
590
|
-
),
|
|
591
|
-
},
|
|
603
|
+
), u(U.setWebsocketIsConnected(!1)), u(m1.clearDevices()), u(p1.clearRooms()), u(W.clearAllModals()), u(W.clearSyncState()), c(u);
|
|
604
|
+
}, F.onmessage = (B) => {
|
|
592
605
|
try {
|
|
593
606
|
const _ = JSON.parse(B.data);
|
|
594
607
|
if (_.type === "close") {
|
|
595
|
-
|
|
608
|
+
F.close(4001, _.content);
|
|
596
609
|
return;
|
|
597
610
|
}
|
|
598
611
|
if (_.type.startsWith("/system/"))
|
|
599
612
|
switch (_.type) {
|
|
600
613
|
case "/system/touchpanelKey":
|
|
601
|
-
|
|
614
|
+
u(
|
|
602
615
|
U.setTouchpanelKey(
|
|
603
616
|
_.content
|
|
604
617
|
)
|
|
605
618
|
);
|
|
606
619
|
break;
|
|
607
620
|
case "/system/roomKey":
|
|
608
|
-
|
|
621
|
+
u(p1.clearRooms()), u(m1.clearDevices()), u(W.clearSyncState()), u(
|
|
609
622
|
U.setCurrentRoomKey(
|
|
610
623
|
_.content
|
|
611
624
|
)
|
|
612
625
|
);
|
|
613
626
|
break;
|
|
614
627
|
case "/system/userCodeChanged":
|
|
615
|
-
|
|
628
|
+
u(
|
|
616
629
|
U.setUserCode(_.content)
|
|
617
630
|
);
|
|
618
631
|
break;
|
|
@@ -621,7 +634,7 @@ const g3 = {}, O1 = d1({
|
|
|
621
634
|
break;
|
|
622
635
|
case "/system/deviceInterfaces": {
|
|
623
636
|
const z = _.content;
|
|
624
|
-
|
|
637
|
+
u(
|
|
625
638
|
U.setDeviceInterfaces(
|
|
626
639
|
z.deviceInterfaces
|
|
627
640
|
)
|
|
@@ -640,9 +653,9 @@ const g3 = {}, O1 = d1({
|
|
|
640
653
|
z || console.log(
|
|
641
654
|
"WebSocket middleware: No handlers found for event type",
|
|
642
655
|
_.type
|
|
643
|
-
), z && Object.values(z).forEach((
|
|
656
|
+
), z && Object.values(z).forEach((s1) => {
|
|
644
657
|
try {
|
|
645
|
-
|
|
658
|
+
s1(_);
|
|
646
659
|
} catch (b1) {
|
|
647
660
|
console.error(
|
|
648
661
|
"WebSocket middleware: Event handler error",
|
|
@@ -650,7 +663,7 @@ const g3 = {}, O1 = d1({
|
|
|
650
663
|
);
|
|
651
664
|
}
|
|
652
665
|
});
|
|
653
|
-
} else _.type.startsWith("/room/") ?
|
|
666
|
+
} else _.type.startsWith("/room/") ? u(p1.setRoomState(_)) : _.type.startsWith("/device/") && u(m1.setDeviceState(_));
|
|
654
667
|
} catch (_) {
|
|
655
668
|
console.error("WebSocket middleware: Message handling error", _);
|
|
656
669
|
}
|
|
@@ -660,78 +673,78 @@ const g3 = {}, O1 = d1({
|
|
|
660
673
|
}
|
|
661
674
|
}, h = () => {
|
|
662
675
|
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
663
|
-
}, f = (
|
|
664
|
-
const S =
|
|
665
|
-
e.client &&
|
|
666
|
-
JSON.stringify({ type:
|
|
676
|
+
}, f = (u, Z, j) => {
|
|
677
|
+
const S = j(), C = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
|
|
678
|
+
e.client && C ? e.client.send(
|
|
679
|
+
JSON.stringify({ type: u, clientId: x, content: Z })
|
|
667
680
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
668
|
-
}, d = (
|
|
669
|
-
e.eventHandlers[
|
|
670
|
-
},
|
|
671
|
-
e.eventHandlers[
|
|
681
|
+
}, d = (u, Z, j) => {
|
|
682
|
+
e.eventHandlers[u] || (e.eventHandlers[u] = {}), e.eventHandlers[u][Z] = j, console.log("WebSocket middleware: Event handler added", u, Z);
|
|
683
|
+
}, $ = (u, Z) => {
|
|
684
|
+
e.eventHandlers[u] && (delete e.eventHandlers[u][Z], console.log(
|
|
672
685
|
"WebSocket middleware: Event handler removed",
|
|
673
|
-
|
|
686
|
+
u,
|
|
674
687
|
Z
|
|
675
688
|
));
|
|
676
|
-
},
|
|
677
|
-
const Z =
|
|
678
|
-
window.location.href = x ? `${
|
|
689
|
+
}, H = (u) => {
|
|
690
|
+
const Z = u(), { gatewayAppPath: j } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, C = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, O = `${j}?uuid=${C}&roomKey=${S}`;
|
|
691
|
+
window.location.href = x ? `${O}&Code=${x}` : O;
|
|
679
692
|
};
|
|
680
|
-
return (
|
|
681
|
-
const S = Z(
|
|
682
|
-
if (!
|
|
693
|
+
return (u) => (Z) => (j) => {
|
|
694
|
+
const S = Z(j);
|
|
695
|
+
if (!j || typeof j != "object" || !("type" in j))
|
|
683
696
|
return S;
|
|
684
|
-
const
|
|
697
|
+
const C = j;
|
|
685
698
|
return (async () => {
|
|
686
|
-
switch (
|
|
699
|
+
switch (C.type) {
|
|
687
700
|
case _3: {
|
|
688
|
-
let
|
|
689
|
-
|
|
701
|
+
let O = new URLSearchParams(window.location.search).get("token");
|
|
702
|
+
O ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, O)) : (O = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = O, await t(u.dispatch), await g(u.dispatch, u.getState);
|
|
690
703
|
break;
|
|
691
704
|
}
|
|
692
|
-
case
|
|
705
|
+
case $3:
|
|
693
706
|
h();
|
|
694
707
|
break;
|
|
695
|
-
case
|
|
708
|
+
case P3:
|
|
696
709
|
f(
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
710
|
+
C.payload.messageType,
|
|
711
|
+
C.payload.content,
|
|
712
|
+
u.getState
|
|
700
713
|
);
|
|
701
714
|
break;
|
|
702
|
-
case
|
|
715
|
+
case A3:
|
|
703
716
|
d(
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
717
|
+
C.payload.eventType,
|
|
718
|
+
C.payload.key,
|
|
719
|
+
C.payload.callback
|
|
707
720
|
);
|
|
708
721
|
break;
|
|
709
|
-
case
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
722
|
+
case L3:
|
|
723
|
+
$(
|
|
724
|
+
C.payload.eventType,
|
|
725
|
+
C.payload.key
|
|
713
726
|
);
|
|
714
727
|
break;
|
|
715
|
-
case
|
|
716
|
-
|
|
728
|
+
case O3:
|
|
729
|
+
H(u.getState);
|
|
717
730
|
break;
|
|
718
731
|
default:
|
|
719
|
-
if (
|
|
720
|
-
|
|
732
|
+
if (j.type === U.setWebsocketIsConnected.type)
|
|
733
|
+
j.payload === !0 && (console.log(
|
|
721
734
|
"[WebSocket Middleware] Connection established, requesting room status..."
|
|
722
|
-
), setTimeout(() => u
|
|
723
|
-
else if (
|
|
724
|
-
const x =
|
|
725
|
-
x.runtimeConfig.websocket.isConnected && (
|
|
735
|
+
), setTimeout(() => a(u.getState), 100));
|
|
736
|
+
else if (j.type === U.setRoomData.type) {
|
|
737
|
+
const x = u.getState(), O = j.payload;
|
|
738
|
+
x.runtimeConfig.websocket.isConnected && (O != null && O.clientId) && (console.log(
|
|
726
739
|
"[WebSocket Middleware] Room data received, requesting room status..."
|
|
727
|
-
), setTimeout(() => u
|
|
728
|
-
} else if (
|
|
729
|
-
const x =
|
|
740
|
+
), setTimeout(() => a(u.getState), 100));
|
|
741
|
+
} else if (j.type === U.setCurrentRoomKey.type) {
|
|
742
|
+
const x = j.payload;
|
|
730
743
|
x && (console.log(
|
|
731
744
|
"[WebSocket Middleware] Room changed to:",
|
|
732
745
|
x,
|
|
733
746
|
", requesting room status..."
|
|
734
|
-
), setTimeout(() => u
|
|
747
|
+
), setTimeout(() => a(u.getState, x), 100));
|
|
735
748
|
}
|
|
736
749
|
break;
|
|
737
750
|
}
|
|
@@ -739,20 +752,20 @@ const g3 = {}, O1 = d1({
|
|
|
739
752
|
console.error("WebSocket middleware: Error handling action", x);
|
|
740
753
|
}), S;
|
|
741
754
|
};
|
|
742
|
-
},
|
|
755
|
+
}, Be = S2({
|
|
743
756
|
appConfig: be,
|
|
744
757
|
runtimeConfig: _e,
|
|
745
758
|
rooms: Te,
|
|
746
759
|
devices: ye,
|
|
747
760
|
ui: je
|
|
748
761
|
}), ke = j2({
|
|
749
|
-
reducer:
|
|
762
|
+
reducer: Be,
|
|
750
763
|
middleware: (e) => e({
|
|
751
764
|
serializableCheck: {
|
|
752
765
|
// Ignore WebSocket actions with callbacks
|
|
753
766
|
ignoredActions: ["websocket/addEventHandler"]
|
|
754
767
|
}
|
|
755
|
-
}).concat(
|
|
768
|
+
}).concat(Oe())
|
|
756
769
|
}), f3 = M3.create();
|
|
757
770
|
function k6() {
|
|
758
771
|
const e = W1();
|
|
@@ -778,7 +791,7 @@ function k6() {
|
|
|
778
791
|
return !0;
|
|
779
792
|
};
|
|
780
793
|
}
|
|
781
|
-
var
|
|
794
|
+
var M1 = { exports: {} }, i1 = {};
|
|
782
795
|
/**
|
|
783
796
|
* @license React
|
|
784
797
|
* react-jsx-runtime.production.min.js
|
|
@@ -790,19 +803,19 @@ var m1 = { exports: {} }, l1 = {};
|
|
|
790
803
|
*/
|
|
791
804
|
var w3;
|
|
792
805
|
function We() {
|
|
793
|
-
if (w3) return
|
|
806
|
+
if (w3) return i1;
|
|
794
807
|
w3 = 1;
|
|
795
808
|
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 };
|
|
796
|
-
function
|
|
797
|
-
var d,
|
|
798
|
-
f !== void 0 && (
|
|
799
|
-
for (d in h) c.call(h, d) && !l.hasOwnProperty(d) && (
|
|
800
|
-
if (g && g.defaultProps) for (d in h = g.defaultProps, h)
|
|
801
|
-
return { $$typeof: t, type: g, key:
|
|
809
|
+
function a(g, h, f) {
|
|
810
|
+
var d, $ = {}, H = null, u = null;
|
|
811
|
+
f !== void 0 && (H = "" + f), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (u = h.ref);
|
|
812
|
+
for (d in h) c.call(h, d) && !l.hasOwnProperty(d) && ($[d] = h[d]);
|
|
813
|
+
if (g && g.defaultProps) for (d in h = g.defaultProps, h) $[d] === void 0 && ($[d] = h[d]);
|
|
814
|
+
return { $$typeof: t, type: g, key: H, ref: u, props: $, _owner: r.current };
|
|
802
815
|
}
|
|
803
|
-
return
|
|
816
|
+
return i1.Fragment = o, i1.jsx = a, i1.jsxs = a, i1;
|
|
804
817
|
}
|
|
805
|
-
var
|
|
818
|
+
var a1 = {};
|
|
806
819
|
/**
|
|
807
820
|
* @license React
|
|
808
821
|
* react-jsx-runtime.development.js
|
|
@@ -812,47 +825,47 @@ var i1 = {};
|
|
|
812
825
|
* This source code is licensed under the MIT license found in the
|
|
813
826
|
* LICENSE file in the root directory of this source tree.
|
|
814
827
|
*/
|
|
815
|
-
var
|
|
828
|
+
var m3;
|
|
816
829
|
function Ve() {
|
|
817
|
-
return
|
|
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"),
|
|
830
|
+
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"), a = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
|
|
819
832
|
function S(s) {
|
|
820
833
|
if (s === null || typeof s != "object")
|
|
821
834
|
return null;
|
|
822
|
-
var i = Z && s[Z] || s[
|
|
835
|
+
var i = Z && s[Z] || s[j];
|
|
823
836
|
return typeof i == "function" ? i : null;
|
|
824
837
|
}
|
|
825
|
-
var
|
|
838
|
+
var C = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
826
839
|
function x(s) {
|
|
827
840
|
{
|
|
828
|
-
for (var i = arguments.length, v = new Array(i > 1 ? i - 1 : 0),
|
|
829
|
-
v[
|
|
830
|
-
|
|
841
|
+
for (var i = arguments.length, v = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
|
|
842
|
+
v[p - 1] = arguments[p];
|
|
843
|
+
O("error", s, v);
|
|
831
844
|
}
|
|
832
845
|
}
|
|
833
|
-
function
|
|
846
|
+
function O(s, i, v) {
|
|
834
847
|
{
|
|
835
|
-
var
|
|
848
|
+
var p = C.ReactDebugCurrentFrame, E = p.getStackAddendum();
|
|
836
849
|
E !== "" && (i += "%s", v = v.concat([E]));
|
|
837
|
-
var
|
|
838
|
-
return String(
|
|
850
|
+
var D = v.map(function(I) {
|
|
851
|
+
return String(I);
|
|
839
852
|
});
|
|
840
|
-
|
|
853
|
+
D.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, D);
|
|
841
854
|
}
|
|
842
855
|
}
|
|
843
|
-
var
|
|
844
|
-
|
|
856
|
+
var o1 = !1, F = !1, B = !1, _ = !1, z = !1, s1;
|
|
857
|
+
s1 = Symbol.for("react.module.reference");
|
|
845
858
|
function b1(s) {
|
|
846
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === d || _ || s ===
|
|
859
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === d || _ || s === u || o1 || F || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === $ || s.$$typeof === a || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
|
|
847
860
|
// types supported by any Flight configuration anywhere since
|
|
848
861
|
// we don't know which Flight build this will end up being used
|
|
849
862
|
// with.
|
|
850
|
-
s.$$typeof ===
|
|
863
|
+
s.$$typeof === s1 || s.getModuleId !== void 0));
|
|
851
864
|
}
|
|
852
865
|
function U3(s, i, v) {
|
|
853
|
-
var
|
|
854
|
-
if (
|
|
855
|
-
return
|
|
866
|
+
var p = s.displayName;
|
|
867
|
+
if (p)
|
|
868
|
+
return p;
|
|
856
869
|
var E = i.displayName || i.name || "";
|
|
857
870
|
return E !== "" ? v + "(" + E + ")" : v;
|
|
858
871
|
}
|
|
@@ -885,18 +898,18 @@ function Ve() {
|
|
|
885
898
|
case g:
|
|
886
899
|
var i = s;
|
|
887
900
|
return U1(i) + ".Consumer";
|
|
888
|
-
case
|
|
901
|
+
case a:
|
|
889
902
|
var v = s;
|
|
890
903
|
return U1(v._context) + ".Provider";
|
|
891
904
|
case h:
|
|
892
905
|
return U3(s, s.render, "ForwardRef");
|
|
893
|
-
case
|
|
894
|
-
var
|
|
895
|
-
return
|
|
896
|
-
case
|
|
897
|
-
var E = s,
|
|
906
|
+
case $:
|
|
907
|
+
var p = s.displayName || null;
|
|
908
|
+
return p !== null ? p : J(s.type) || "Memo";
|
|
909
|
+
case H: {
|
|
910
|
+
var E = s, D = E._payload, I = E._init;
|
|
898
911
|
try {
|
|
899
|
-
return J(
|
|
912
|
+
return J(I(D));
|
|
900
913
|
} catch {
|
|
901
914
|
return null;
|
|
902
915
|
}
|
|
@@ -904,14 +917,14 @@ function Ve() {
|
|
|
904
917
|
}
|
|
905
918
|
return null;
|
|
906
919
|
}
|
|
907
|
-
var Q = Object.assign,
|
|
920
|
+
var Q = Object.assign, c1 = 0, H1, F1, K1, q1, G1, Y1, z1;
|
|
908
921
|
function J1() {
|
|
909
922
|
}
|
|
910
923
|
J1.__reactDisabledLog = !0;
|
|
911
|
-
function
|
|
924
|
+
function H3() {
|
|
912
925
|
{
|
|
913
|
-
if (
|
|
914
|
-
|
|
926
|
+
if (c1 === 0) {
|
|
927
|
+
H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
|
|
915
928
|
var s = {
|
|
916
929
|
configurable: !0,
|
|
917
930
|
enumerable: !0,
|
|
@@ -928,12 +941,12 @@ function Ve() {
|
|
|
928
941
|
groupEnd: s
|
|
929
942
|
});
|
|
930
943
|
}
|
|
931
|
-
|
|
944
|
+
c1++;
|
|
932
945
|
}
|
|
933
946
|
}
|
|
934
|
-
function
|
|
947
|
+
function F3() {
|
|
935
948
|
{
|
|
936
|
-
if (
|
|
949
|
+
if (c1--, c1 === 0) {
|
|
937
950
|
var s = {
|
|
938
951
|
configurable: !0,
|
|
939
952
|
enumerable: !0,
|
|
@@ -941,10 +954,10 @@ function Ve() {
|
|
|
941
954
|
};
|
|
942
955
|
Object.defineProperties(console, {
|
|
943
956
|
log: Q({}, s, {
|
|
944
|
-
value:
|
|
957
|
+
value: H1
|
|
945
958
|
}),
|
|
946
959
|
info: Q({}, s, {
|
|
947
|
-
value:
|
|
960
|
+
value: F1
|
|
948
961
|
}),
|
|
949
962
|
warn: Q({}, s, {
|
|
950
963
|
value: K1
|
|
@@ -963,98 +976,98 @@ function Ve() {
|
|
|
963
976
|
})
|
|
964
977
|
});
|
|
965
978
|
}
|
|
966
|
-
|
|
979
|
+
c1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
967
980
|
}
|
|
968
981
|
}
|
|
969
|
-
var y1 =
|
|
970
|
-
function
|
|
982
|
+
var y1 = C.ReactCurrentDispatcher, I1;
|
|
983
|
+
function h1(s, i, v) {
|
|
971
984
|
{
|
|
972
985
|
if (I1 === void 0)
|
|
973
986
|
try {
|
|
974
987
|
throw Error();
|
|
975
988
|
} catch (E) {
|
|
976
|
-
var
|
|
977
|
-
I1 =
|
|
989
|
+
var p = E.stack.trim().match(/\n( *(at )?)/);
|
|
990
|
+
I1 = p && p[1] || "";
|
|
978
991
|
}
|
|
979
992
|
return `
|
|
980
993
|
` + I1 + s;
|
|
981
994
|
}
|
|
982
995
|
}
|
|
983
|
-
var R1 = !1,
|
|
996
|
+
var R1 = !1, g1;
|
|
984
997
|
{
|
|
985
998
|
var K3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
986
|
-
|
|
999
|
+
g1 = new K3();
|
|
987
1000
|
}
|
|
988
1001
|
function X1(s, i) {
|
|
989
1002
|
if (!s || R1)
|
|
990
1003
|
return "";
|
|
991
1004
|
{
|
|
992
|
-
var v =
|
|
1005
|
+
var v = g1.get(s);
|
|
993
1006
|
if (v !== void 0)
|
|
994
1007
|
return v;
|
|
995
1008
|
}
|
|
996
|
-
var
|
|
1009
|
+
var p;
|
|
997
1010
|
R1 = !0;
|
|
998
1011
|
var E = Error.prepareStackTrace;
|
|
999
1012
|
Error.prepareStackTrace = void 0;
|
|
1000
|
-
var
|
|
1001
|
-
|
|
1013
|
+
var D;
|
|
1014
|
+
D = y1.current, y1.current = null, H3();
|
|
1002
1015
|
try {
|
|
1003
1016
|
if (i) {
|
|
1004
|
-
var
|
|
1017
|
+
var I = function() {
|
|
1005
1018
|
throw Error();
|
|
1006
1019
|
};
|
|
1007
|
-
if (Object.defineProperty(
|
|
1020
|
+
if (Object.defineProperty(I.prototype, "props", {
|
|
1008
1021
|
set: function() {
|
|
1009
1022
|
throw Error();
|
|
1010
1023
|
}
|
|
1011
1024
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1012
1025
|
try {
|
|
1013
|
-
Reflect.construct(
|
|
1026
|
+
Reflect.construct(I, []);
|
|
1014
1027
|
} catch (V) {
|
|
1015
|
-
|
|
1028
|
+
p = V;
|
|
1016
1029
|
}
|
|
1017
|
-
Reflect.construct(s, [],
|
|
1030
|
+
Reflect.construct(s, [], I);
|
|
1018
1031
|
} else {
|
|
1019
1032
|
try {
|
|
1020
|
-
|
|
1033
|
+
I.call();
|
|
1021
1034
|
} catch (V) {
|
|
1022
|
-
|
|
1035
|
+
p = V;
|
|
1023
1036
|
}
|
|
1024
|
-
s.call(
|
|
1037
|
+
s.call(I.prototype);
|
|
1025
1038
|
}
|
|
1026
1039
|
} else {
|
|
1027
1040
|
try {
|
|
1028
1041
|
throw Error();
|
|
1029
1042
|
} catch (V) {
|
|
1030
|
-
|
|
1043
|
+
p = V;
|
|
1031
1044
|
}
|
|
1032
1045
|
s();
|
|
1033
1046
|
}
|
|
1034
1047
|
} catch (V) {
|
|
1035
|
-
if (V &&
|
|
1036
|
-
for (var
|
|
1037
|
-
`),
|
|
1038
|
-
`),
|
|
1039
|
-
|
|
1040
|
-
for (;
|
|
1041
|
-
if (
|
|
1042
|
-
if (
|
|
1048
|
+
if (V && p && typeof V.stack == "string") {
|
|
1049
|
+
for (var b = V.stack.split(`
|
|
1050
|
+
`), k = p.stack.split(`
|
|
1051
|
+
`), P = b.length - 1, A = k.length - 1; P >= 1 && A >= 0 && b[P] !== k[A]; )
|
|
1052
|
+
A--;
|
|
1053
|
+
for (; P >= 1 && A >= 0; P--, A--)
|
|
1054
|
+
if (b[P] !== k[A]) {
|
|
1055
|
+
if (P !== 1 || A !== 1)
|
|
1043
1056
|
do
|
|
1044
|
-
if (
|
|
1045
|
-
var
|
|
1046
|
-
` +
|
|
1047
|
-
return s.displayName &&
|
|
1057
|
+
if (P--, A--, A < 0 || b[P] !== k[A]) {
|
|
1058
|
+
var K = `
|
|
1059
|
+
` + b[P].replace(" at new ", " at ");
|
|
1060
|
+
return s.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", s.displayName)), typeof s == "function" && g1.set(s, K), K;
|
|
1048
1061
|
}
|
|
1049
|
-
while (
|
|
1062
|
+
while (P >= 1 && A >= 0);
|
|
1050
1063
|
break;
|
|
1051
1064
|
}
|
|
1052
1065
|
}
|
|
1053
1066
|
} finally {
|
|
1054
|
-
R1 = !1, y1.current =
|
|
1067
|
+
R1 = !1, y1.current = D, F3(), Error.prepareStackTrace = E;
|
|
1055
1068
|
}
|
|
1056
|
-
var n1 = s ? s.displayName || s.name : "", N = n1 ?
|
|
1057
|
-
return typeof s == "function" &&
|
|
1069
|
+
var n1 = s ? s.displayName || s.name : "", N = n1 ? h1(n1) : "";
|
|
1070
|
+
return typeof s == "function" && g1.set(s, N), N;
|
|
1058
1071
|
}
|
|
1059
1072
|
function q3(s, i, v) {
|
|
1060
1073
|
return X1(s, !1);
|
|
@@ -1063,59 +1076,59 @@ function Ve() {
|
|
|
1063
1076
|
var i = s.prototype;
|
|
1064
1077
|
return !!(i && i.isReactComponent);
|
|
1065
1078
|
}
|
|
1066
|
-
function
|
|
1079
|
+
function f1(s, i, v) {
|
|
1067
1080
|
if (s == null)
|
|
1068
1081
|
return "";
|
|
1069
1082
|
if (typeof s == "function")
|
|
1070
1083
|
return X1(s, G3(s));
|
|
1071
1084
|
if (typeof s == "string")
|
|
1072
|
-
return
|
|
1085
|
+
return h1(s);
|
|
1073
1086
|
switch (s) {
|
|
1074
1087
|
case f:
|
|
1075
|
-
return
|
|
1088
|
+
return h1("Suspense");
|
|
1076
1089
|
case d:
|
|
1077
|
-
return
|
|
1090
|
+
return h1("SuspenseList");
|
|
1078
1091
|
}
|
|
1079
1092
|
if (typeof s == "object")
|
|
1080
1093
|
switch (s.$$typeof) {
|
|
1081
1094
|
case h:
|
|
1082
1095
|
return q3(s.render);
|
|
1083
|
-
case
|
|
1084
|
-
return
|
|
1085
|
-
case
|
|
1086
|
-
var
|
|
1096
|
+
case $:
|
|
1097
|
+
return f1(s.type, i, v);
|
|
1098
|
+
case H: {
|
|
1099
|
+
var p = s, E = p._payload, D = p._init;
|
|
1087
1100
|
try {
|
|
1088
|
-
return
|
|
1101
|
+
return f1(D(E), i, v);
|
|
1089
1102
|
} catch {
|
|
1090
1103
|
}
|
|
1091
1104
|
}
|
|
1092
1105
|
}
|
|
1093
1106
|
return "";
|
|
1094
1107
|
}
|
|
1095
|
-
var
|
|
1096
|
-
function
|
|
1108
|
+
var r1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = C.ReactDebugCurrentFrame;
|
|
1109
|
+
function w1(s) {
|
|
1097
1110
|
if (s) {
|
|
1098
|
-
var i = s._owner, v =
|
|
1111
|
+
var i = s._owner, v = f1(s.type, s._source, i ? i.type : null);
|
|
1099
1112
|
N1.setExtraStackFrame(v);
|
|
1100
1113
|
} else
|
|
1101
1114
|
N1.setExtraStackFrame(null);
|
|
1102
1115
|
}
|
|
1103
|
-
function Y3(s, i, v,
|
|
1116
|
+
function Y3(s, i, v, p, E) {
|
|
1104
1117
|
{
|
|
1105
|
-
var
|
|
1106
|
-
for (var
|
|
1107
|
-
if (
|
|
1108
|
-
var
|
|
1118
|
+
var D = Function.call.bind(r1);
|
|
1119
|
+
for (var I in s)
|
|
1120
|
+
if (D(s, I)) {
|
|
1121
|
+
var b = void 0;
|
|
1109
1122
|
try {
|
|
1110
|
-
if (typeof s[
|
|
1111
|
-
var
|
|
1112
|
-
throw
|
|
1123
|
+
if (typeof s[I] != "function") {
|
|
1124
|
+
var k = Error((p || "React class") + ": " + v + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1125
|
+
throw k.name = "Invariant Violation", k;
|
|
1113
1126
|
}
|
|
1114
|
-
|
|
1115
|
-
} catch (
|
|
1116
|
-
|
|
1127
|
+
b = s[I](i, I, p, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1128
|
+
} catch (P) {
|
|
1129
|
+
b = P;
|
|
1117
1130
|
}
|
|
1118
|
-
|
|
1131
|
+
b && !(b instanceof Error) && (w1(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", v, I, typeof b), w1(null)), b instanceof Error && !(b.message in Q1) && (Q1[b.message] = !0, w1(E), x("Failed %s type: %s", v, b.message), w1(null));
|
|
1119
1132
|
}
|
|
1120
1133
|
}
|
|
1121
1134
|
}
|
|
@@ -1143,14 +1156,14 @@ function Ve() {
|
|
|
1143
1156
|
if (X3(s))
|
|
1144
1157
|
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);
|
|
1145
1158
|
}
|
|
1146
|
-
var n3 =
|
|
1159
|
+
var n3 = C.ReactCurrentOwner, Q3 = {
|
|
1147
1160
|
key: !0,
|
|
1148
1161
|
ref: !0,
|
|
1149
1162
|
__self: !0,
|
|
1150
1163
|
__source: !0
|
|
1151
1164
|
}, o3, s3;
|
|
1152
1165
|
function N3(s) {
|
|
1153
|
-
if (
|
|
1166
|
+
if (r1.call(s, "ref")) {
|
|
1154
1167
|
var i = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
1155
1168
|
if (i && i.isReactWarning)
|
|
1156
1169
|
return !1;
|
|
@@ -1158,7 +1171,7 @@ function Ve() {
|
|
|
1158
1171
|
return s.ref !== void 0;
|
|
1159
1172
|
}
|
|
1160
1173
|
function e2(s) {
|
|
1161
|
-
if (
|
|
1174
|
+
if (r1.call(s, "key")) {
|
|
1162
1175
|
var i = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
1163
1176
|
if (i && i.isReactWarning)
|
|
1164
1177
|
return !1;
|
|
@@ -1190,57 +1203,57 @@ function Ve() {
|
|
|
1190
1203
|
});
|
|
1191
1204
|
}
|
|
1192
1205
|
}
|
|
1193
|
-
var s2 = function(s, i, v,
|
|
1194
|
-
var
|
|
1206
|
+
var s2 = function(s, i, v, p, E, D, I) {
|
|
1207
|
+
var b = {
|
|
1195
1208
|
// This tag allows us to uniquely identify this as a React Element
|
|
1196
1209
|
$$typeof: t,
|
|
1197
1210
|
// Built-in properties that belong on the element
|
|
1198
1211
|
type: s,
|
|
1199
1212
|
key: i,
|
|
1200
1213
|
ref: v,
|
|
1201
|
-
props:
|
|
1214
|
+
props: I,
|
|
1202
1215
|
// Record the component responsible for creating this element.
|
|
1203
|
-
_owner:
|
|
1216
|
+
_owner: D
|
|
1204
1217
|
};
|
|
1205
|
-
return
|
|
1218
|
+
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
1206
1219
|
configurable: !1,
|
|
1207
1220
|
enumerable: !1,
|
|
1208
1221
|
writable: !0,
|
|
1209
1222
|
value: !1
|
|
1210
|
-
}), Object.defineProperty(
|
|
1223
|
+
}), Object.defineProperty(b, "_self", {
|
|
1211
1224
|
configurable: !1,
|
|
1212
1225
|
enumerable: !1,
|
|
1213
1226
|
writable: !1,
|
|
1214
|
-
value:
|
|
1215
|
-
}), Object.defineProperty(
|
|
1227
|
+
value: p
|
|
1228
|
+
}), Object.defineProperty(b, "_source", {
|
|
1216
1229
|
configurable: !1,
|
|
1217
1230
|
enumerable: !1,
|
|
1218
1231
|
writable: !1,
|
|
1219
1232
|
value: E
|
|
1220
|
-
}), Object.freeze && (Object.freeze(
|
|
1233
|
+
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
1221
1234
|
};
|
|
1222
|
-
function c2(s, i, v,
|
|
1235
|
+
function c2(s, i, v, p, E) {
|
|
1223
1236
|
{
|
|
1224
|
-
var
|
|
1225
|
-
v !== void 0 && (t3(v),
|
|
1226
|
-
for (
|
|
1227
|
-
|
|
1237
|
+
var D, I = {}, b = null, k = null;
|
|
1238
|
+
v !== void 0 && (t3(v), b = "" + v), e2(i) && (t3(i.key), b = "" + i.key), N3(i) && (k = i.ref, t2(i, E));
|
|
1239
|
+
for (D in i)
|
|
1240
|
+
r1.call(i, D) && !Q3.hasOwnProperty(D) && (I[D] = i[D]);
|
|
1228
1241
|
if (s && s.defaultProps) {
|
|
1229
|
-
var
|
|
1230
|
-
for (
|
|
1231
|
-
|
|
1242
|
+
var P = s.defaultProps;
|
|
1243
|
+
for (D in P)
|
|
1244
|
+
I[D] === void 0 && (I[D] = P[D]);
|
|
1232
1245
|
}
|
|
1233
|
-
if (
|
|
1234
|
-
var
|
|
1235
|
-
|
|
1246
|
+
if (b || k) {
|
|
1247
|
+
var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1248
|
+
b && n2(I, A), k && o2(I, A);
|
|
1236
1249
|
}
|
|
1237
|
-
return s2(s,
|
|
1250
|
+
return s2(s, b, k, E, p, n3.current, I);
|
|
1238
1251
|
}
|
|
1239
1252
|
}
|
|
1240
|
-
var T1 =
|
|
1253
|
+
var T1 = C.ReactCurrentOwner, c3 = C.ReactDebugCurrentFrame;
|
|
1241
1254
|
function t1(s) {
|
|
1242
1255
|
if (s) {
|
|
1243
|
-
var i = s._owner, v =
|
|
1256
|
+
var i = s._owner, v = f1(s.type, s._source, i ? i.type : null);
|
|
1244
1257
|
c3.setExtraStackFrame(v);
|
|
1245
1258
|
} else
|
|
1246
1259
|
c3.setExtraStackFrame(null);
|
|
@@ -1287,8 +1300,8 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1287
1300
|
if (l3[v])
|
|
1288
1301
|
return;
|
|
1289
1302
|
l3[v] = !0;
|
|
1290
|
-
var
|
|
1291
|
-
s && s._owner && s._owner !== T1.current && (
|
|
1303
|
+
var p = "";
|
|
1304
|
+
s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), t1(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.', v, p), t1(null);
|
|
1292
1305
|
}
|
|
1293
1306
|
}
|
|
1294
1307
|
function a3(s, i) {
|
|
@@ -1297,16 +1310,16 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1297
1310
|
return;
|
|
1298
1311
|
if (E1(s))
|
|
1299
1312
|
for (var v = 0; v < s.length; v++) {
|
|
1300
|
-
var
|
|
1301
|
-
_1(
|
|
1313
|
+
var p = s[v];
|
|
1314
|
+
_1(p) && i3(p, i);
|
|
1302
1315
|
}
|
|
1303
1316
|
else if (_1(s))
|
|
1304
1317
|
s._store && (s._store.validated = !0);
|
|
1305
1318
|
else if (s) {
|
|
1306
1319
|
var E = S(s);
|
|
1307
1320
|
if (typeof E == "function" && E !== s.entries)
|
|
1308
|
-
for (var
|
|
1309
|
-
_1(
|
|
1321
|
+
for (var D = E.call(s), I; !(I = D.next()).done; )
|
|
1322
|
+
_1(I.value) && i3(I.value, i);
|
|
1310
1323
|
}
|
|
1311
1324
|
}
|
|
1312
1325
|
}
|
|
@@ -1320,13 +1333,13 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1320
1333
|
v = i.propTypes;
|
|
1321
1334
|
else if (typeof i == "object" && (i.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1322
1335
|
// Inner props are checked in the reconciler.
|
|
1323
|
-
i.$$typeof ===
|
|
1336
|
+
i.$$typeof === $))
|
|
1324
1337
|
v = i.propTypes;
|
|
1325
1338
|
else
|
|
1326
1339
|
return;
|
|
1327
1340
|
if (v) {
|
|
1328
|
-
var
|
|
1329
|
-
Y3(v, s.props, "prop",
|
|
1341
|
+
var p = J(i);
|
|
1342
|
+
Y3(v, s.props, "prop", p, s);
|
|
1330
1343
|
} else if (i.PropTypes !== void 0 && !D1) {
|
|
1331
1344
|
D1 = !0;
|
|
1332
1345
|
var E = J(i);
|
|
@@ -1338,9 +1351,9 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1338
1351
|
function a2(s) {
|
|
1339
1352
|
{
|
|
1340
1353
|
for (var i = Object.keys(s.props), v = 0; v < i.length; v++) {
|
|
1341
|
-
var
|
|
1342
|
-
if (
|
|
1343
|
-
t1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1354
|
+
var p = i[v];
|
|
1355
|
+
if (p !== "children" && p !== "key") {
|
|
1356
|
+
t1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), t1(null);
|
|
1344
1357
|
break;
|
|
1345
1358
|
}
|
|
1346
1359
|
}
|
|
@@ -1348,48 +1361,48 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1348
1361
|
}
|
|
1349
1362
|
}
|
|
1350
1363
|
var u3 = {};
|
|
1351
|
-
function d3(s, i, v,
|
|
1364
|
+
function d3(s, i, v, p, E, D) {
|
|
1352
1365
|
{
|
|
1353
|
-
var
|
|
1354
|
-
if (!
|
|
1355
|
-
var
|
|
1356
|
-
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (
|
|
1357
|
-
var
|
|
1358
|
-
|
|
1359
|
-
var
|
|
1360
|
-
s === null ?
|
|
1361
|
-
}
|
|
1362
|
-
var
|
|
1363
|
-
if (
|
|
1364
|
-
return
|
|
1365
|
-
if (
|
|
1366
|
-
var
|
|
1367
|
-
if (
|
|
1368
|
-
if (
|
|
1369
|
-
if (E1(
|
|
1370
|
-
for (var n1 = 0; n1 <
|
|
1371
|
-
a3(
|
|
1372
|
-
Object.freeze && Object.freeze(
|
|
1366
|
+
var I = b1(s);
|
|
1367
|
+
if (!I) {
|
|
1368
|
+
var b = "";
|
|
1369
|
+
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1370
|
+
var k = r2();
|
|
1371
|
+
k ? b += k : b += r3();
|
|
1372
|
+
var P;
|
|
1373
|
+
s === null ? P = "null" : E1(s) ? P = "array" : s !== void 0 && s.$$typeof === t ? (P = "<" + (J(s.type) || "Unknown") + " />", b = " 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, b);
|
|
1374
|
+
}
|
|
1375
|
+
var A = c2(s, i, v, E, D);
|
|
1376
|
+
if (A == null)
|
|
1377
|
+
return A;
|
|
1378
|
+
if (I) {
|
|
1379
|
+
var K = i.children;
|
|
1380
|
+
if (K !== void 0)
|
|
1381
|
+
if (p)
|
|
1382
|
+
if (E1(K)) {
|
|
1383
|
+
for (var n1 = 0; n1 < K.length; n1++)
|
|
1384
|
+
a3(K[n1], s);
|
|
1385
|
+
Object.freeze && Object.freeze(K);
|
|
1373
1386
|
} else
|
|
1374
1387
|
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.");
|
|
1375
1388
|
else
|
|
1376
|
-
a3(
|
|
1389
|
+
a3(K, s);
|
|
1377
1390
|
}
|
|
1378
|
-
if (
|
|
1391
|
+
if (r1.call(i, "key")) {
|
|
1379
1392
|
var N = J(s), V = Object.keys(i).filter(function(f2) {
|
|
1380
1393
|
return f2 !== "key";
|
|
1381
|
-
}),
|
|
1382
|
-
if (!u3[N +
|
|
1394
|
+
}), $1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1395
|
+
if (!u3[N + $1]) {
|
|
1383
1396
|
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1384
1397
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1385
1398
|
let props = %s;
|
|
1386
1399
|
<%s {...props} />
|
|
1387
1400
|
React keys must be passed directly to JSX without using spread:
|
|
1388
1401
|
let props = %s;
|
|
1389
|
-
<%s key={someKey} {...props} />`,
|
|
1402
|
+
<%s key={someKey} {...props} />`, $1, N, g2, N), u3[N + $1] = !0;
|
|
1390
1403
|
}
|
|
1391
1404
|
}
|
|
1392
|
-
return s === c ? a2(
|
|
1405
|
+
return s === c ? a2(A) : i2(A), A;
|
|
1393
1406
|
}
|
|
1394
1407
|
}
|
|
1395
1408
|
function u2(s, i, v) {
|
|
@@ -1399,20 +1412,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1399
1412
|
return d3(s, i, v, !1);
|
|
1400
1413
|
}
|
|
1401
1414
|
var v2 = d2, h2 = u2;
|
|
1402
|
-
|
|
1403
|
-
})()),
|
|
1415
|
+
a1.Fragment = c, a1.jsx = v2, a1.jsxs = h2;
|
|
1416
|
+
})()), a1;
|
|
1404
1417
|
}
|
|
1405
|
-
var
|
|
1418
|
+
var p3;
|
|
1406
1419
|
function Ue() {
|
|
1407
|
-
return
|
|
1420
|
+
return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? M1.exports = We() : M1.exports = Ve()), M1.exports;
|
|
1408
1421
|
}
|
|
1409
1422
|
var n = Ue();
|
|
1410
|
-
const
|
|
1411
|
-
mwfit:
|
|
1423
|
+
const He = "_mwfit_ppa3l_1", Fe = {
|
|
1424
|
+
mwfit: He
|
|
1412
1425
|
}, Ke = () => {
|
|
1413
|
-
const { reconnect: e } =
|
|
1426
|
+
const { reconnect: e } = y(), t = I3(), o = Me(), c = xe();
|
|
1414
1427
|
return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
|
|
1415
|
-
/* @__PURE__ */ n.jsxs("div", { className: `${
|
|
1428
|
+
/* @__PURE__ */ n.jsxs("div", { className: `${Fe.mwfit} mx-auto text-center`, children: [
|
|
1416
1429
|
t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
|
|
1417
1430
|
o && /* @__PURE__ */ n.jsx("h5", { className: "mt-1", children: o })
|
|
1418
1431
|
] }),
|
|
@@ -1426,31 +1439,31 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1426
1439
|
reconnect: () => null
|
|
1427
1440
|
}), qe = ({ children: e }) => {
|
|
1428
1441
|
const t = W1(), o = I3();
|
|
1429
|
-
|
|
1430
|
-
t(
|
|
1442
|
+
Z1(() => {
|
|
1443
|
+
t(B3());
|
|
1431
1444
|
}, [t]);
|
|
1432
|
-
const c =
|
|
1445
|
+
const c = l1(
|
|
1433
1446
|
(h, f) => {
|
|
1434
|
-
t(
|
|
1447
|
+
t($e(h, f));
|
|
1435
1448
|
},
|
|
1436
1449
|
[t]
|
|
1437
|
-
), r =
|
|
1450
|
+
), r = l1(
|
|
1438
1451
|
(h, f) => {
|
|
1439
1452
|
c(h, { value: f });
|
|
1440
1453
|
},
|
|
1441
1454
|
[c]
|
|
1442
|
-
), l =
|
|
1455
|
+
), l = l1(
|
|
1443
1456
|
(h, f, d) => {
|
|
1444
|
-
t(
|
|
1457
|
+
t(Pe(h, f, d));
|
|
1445
1458
|
},
|
|
1446
1459
|
[t]
|
|
1447
|
-
),
|
|
1460
|
+
), a = l1(
|
|
1448
1461
|
(h, f) => {
|
|
1449
|
-
t(
|
|
1462
|
+
t(Ae(h, f));
|
|
1450
1463
|
},
|
|
1451
1464
|
[t]
|
|
1452
|
-
), g =
|
|
1453
|
-
t(
|
|
1465
|
+
), g = l1(() => {
|
|
1466
|
+
t(Le());
|
|
1454
1467
|
}, [t]);
|
|
1455
1468
|
return /* @__PURE__ */ n.jsx(
|
|
1456
1469
|
k3.Provider,
|
|
@@ -1459,14 +1472,14 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1459
1472
|
sendMessage: c,
|
|
1460
1473
|
sendSimpleMessage: r,
|
|
1461
1474
|
addEventHandler: l,
|
|
1462
|
-
removeEventHandler:
|
|
1475
|
+
removeEventHandler: a,
|
|
1463
1476
|
reconnect: g
|
|
1464
1477
|
},
|
|
1465
1478
|
children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
|
|
1466
1479
|
}
|
|
1467
1480
|
);
|
|
1468
1481
|
}, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: ke, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
|
|
1469
|
-
function
|
|
1482
|
+
function y() {
|
|
1470
1483
|
return b2(k3);
|
|
1471
1484
|
}
|
|
1472
1485
|
function Ge({
|
|
@@ -1476,17 +1489,17 @@ function Ge({
|
|
|
1476
1489
|
onPressedButNotHeld: c,
|
|
1477
1490
|
holdTimeMs: r = 500
|
|
1478
1491
|
}) {
|
|
1479
|
-
const l =
|
|
1492
|
+
const l = d1(null), a = d1(!1), g = d1(!1);
|
|
1480
1493
|
function h() {
|
|
1481
|
-
|
|
1494
|
+
a.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
|
|
1482
1495
|
g.current = !0, o == null || o(), l.current = null;
|
|
1483
1496
|
}, r);
|
|
1484
1497
|
}
|
|
1485
1498
|
function f() {
|
|
1486
|
-
|
|
1499
|
+
a.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
|
|
1487
1500
|
}
|
|
1488
1501
|
function d() {
|
|
1489
|
-
|
|
1502
|
+
a.current && f();
|
|
1490
1503
|
}
|
|
1491
1504
|
return {
|
|
1492
1505
|
onPointerDown: h,
|
|
@@ -1495,19 +1508,19 @@ function Ge({
|
|
|
1495
1508
|
};
|
|
1496
1509
|
}
|
|
1497
1510
|
function w(e, t) {
|
|
1498
|
-
const { sendMessage: c } =
|
|
1511
|
+
const { sendMessage: c } = y(), r = d1(null);
|
|
1499
1512
|
function l() {
|
|
1500
1513
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1501
1514
|
c(`${e}/${t}`, { value: "held" });
|
|
1502
1515
|
}, 250));
|
|
1503
1516
|
}
|
|
1504
|
-
function
|
|
1517
|
+
function a() {
|
|
1505
1518
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1506
1519
|
}
|
|
1507
|
-
return Ge({ onPress: l, onRelease:
|
|
1520
|
+
return Ge({ onPress: l, onRelease: a });
|
|
1508
1521
|
}
|
|
1509
|
-
function
|
|
1510
|
-
const { sendMessage: t } =
|
|
1522
|
+
function C1(e) {
|
|
1523
|
+
const { sendMessage: t } = y(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1511
1524
|
return X(() => ({
|
|
1512
1525
|
volumeUp: o,
|
|
1513
1526
|
volumeDown: c,
|
|
@@ -1515,7 +1528,7 @@ function j1(e) {
|
|
|
1515
1528
|
}), [e, t, o, c]);
|
|
1516
1529
|
}
|
|
1517
1530
|
function V6(e) {
|
|
1518
|
-
const { sendMessage: t } =
|
|
1531
|
+
const { sendMessage: t } = y(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1519
1532
|
return X(() => ({
|
|
1520
1533
|
volumeUp: o,
|
|
1521
1534
|
volumeDown: c,
|
|
@@ -1523,7 +1536,7 @@ function V6(e) {
|
|
|
1523
1536
|
}), [e, t, o, c]);
|
|
1524
1537
|
}
|
|
1525
1538
|
function W3(e, t) {
|
|
1526
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1539
|
+
const { sendMessage: o, sendSimpleMessage: c } = y(), r = C1(e);
|
|
1527
1540
|
return X(() => {
|
|
1528
1541
|
if (!r) {
|
|
1529
1542
|
console.log("baseVolume is undefined");
|
|
@@ -1543,7 +1556,7 @@ function W3(e, t) {
|
|
|
1543
1556
|
}, [r, t, e, o, c]);
|
|
1544
1557
|
}
|
|
1545
1558
|
function U6(e, t) {
|
|
1546
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1559
|
+
const { sendMessage: o, sendSimpleMessage: c } = y(), r = C1(e);
|
|
1547
1560
|
return X(() => !r || !t ? void 0 : {
|
|
1548
1561
|
...r,
|
|
1549
1562
|
volumeState: t,
|
|
@@ -1553,30 +1566,31 @@ function U6(e, t) {
|
|
|
1553
1566
|
}, [r, t, e, o, c]);
|
|
1554
1567
|
}
|
|
1555
1568
|
function Ye(e) {
|
|
1556
|
-
const t =
|
|
1569
|
+
const t = T(e), o = `/device/${e}`, c = X(() => {
|
|
1557
1570
|
if (t)
|
|
1558
1571
|
return t.volume;
|
|
1559
1572
|
}, [t]);
|
|
1560
1573
|
return W3(o, c);
|
|
1561
1574
|
}
|
|
1562
1575
|
function V3(e) {
|
|
1563
|
-
|
|
1576
|
+
var a;
|
|
1577
|
+
const { sendMessage: t } = y(), o = (a = T(e)) == null ? void 0 : a.powerState;
|
|
1564
1578
|
return { powerOn: () => {
|
|
1565
1579
|
t(`/device/${e}/powerOn`, null);
|
|
1566
1580
|
}, powerOff: () => {
|
|
1567
1581
|
t(`/device/${e}/powerOff`, null);
|
|
1568
1582
|
}, powerToggle: () => {
|
|
1569
1583
|
t(`/device/${e}/powerToggle`, null);
|
|
1570
|
-
} };
|
|
1584
|
+
}, powerState: o };
|
|
1571
1585
|
}
|
|
1572
1586
|
function k1(e) {
|
|
1573
|
-
const { sendMessage: t } =
|
|
1587
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1574
1588
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1575
1589
|
t(`/device/${e}/${r}`, null);
|
|
1576
1590
|
} } : void 0;
|
|
1577
1591
|
}
|
|
1578
1592
|
function ze(e) {
|
|
1579
|
-
const { sendMessage: t } =
|
|
1593
|
+
const { sendMessage: t } = y(), o = T(e), c = () => {
|
|
1580
1594
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1581
1595
|
}, r = () => {
|
|
1582
1596
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
@@ -1586,20 +1600,20 @@ function ze(e) {
|
|
|
1586
1600
|
};
|
|
1587
1601
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1588
1602
|
}
|
|
1589
|
-
function
|
|
1590
|
-
const t =
|
|
1603
|
+
function H6(e) {
|
|
1604
|
+
const t = T(e), o = V3(e), c = k1(e), r = k1(e), l = Ye(e), a = ze(e);
|
|
1591
1605
|
if (t)
|
|
1592
1606
|
return {
|
|
1593
1607
|
avrState: t,
|
|
1594
1608
|
powerControl: o,
|
|
1595
1609
|
inputControl: c,
|
|
1596
1610
|
surroundSoundModes: r,
|
|
1597
|
-
surroundChannels:
|
|
1611
|
+
surroundChannels: a,
|
|
1598
1612
|
mainVolumeControl: l
|
|
1599
1613
|
};
|
|
1600
1614
|
}
|
|
1601
|
-
function
|
|
1602
|
-
const { sendMessage: t } =
|
|
1615
|
+
function F6(e) {
|
|
1616
|
+
const { sendMessage: t } = y(), o = `/device/${e}`, c = T(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 = ($) => t("/camera/recallPreset", $);
|
|
1603
1617
|
if (c)
|
|
1604
1618
|
return {
|
|
1605
1619
|
state: c,
|
|
@@ -1607,14 +1621,14 @@ function H6(e) {
|
|
|
1607
1621
|
zoomOut: f,
|
|
1608
1622
|
up: r,
|
|
1609
1623
|
down: l,
|
|
1610
|
-
left:
|
|
1624
|
+
left: a,
|
|
1611
1625
|
right: g,
|
|
1612
1626
|
recallPreset: d
|
|
1613
1627
|
};
|
|
1614
1628
|
}
|
|
1615
1629
|
const K6 = ({ className: e }) => {
|
|
1616
1630
|
const [t, o] = Y();
|
|
1617
|
-
return
|
|
1631
|
+
return Z1(() => {
|
|
1618
1632
|
setInterval(() => {
|
|
1619
1633
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1620
1634
|
o(c);
|
|
@@ -1625,29 +1639,29 @@ const K6 = ({ className: e }) => {
|
|
|
1625
1639
|
] });
|
|
1626
1640
|
};
|
|
1627
1641
|
function q6(e) {
|
|
1628
|
-
const { sendMessage: t } =
|
|
1629
|
-
return o ? { state: o, recallPreset: (
|
|
1630
|
-
t(`${c}/presets/recall`, { deviceKey:
|
|
1631
|
-
}, savePresets: (
|
|
1632
|
-
t(`${c}/presets/save`,
|
|
1642
|
+
const { sendMessage: t } = y(), o = T(e), c = `/device/${e}`;
|
|
1643
|
+
return o ? { state: o, recallPreset: (a, g) => {
|
|
1644
|
+
t(`${c}/presets/recall`, { deviceKey: a, preset: g });
|
|
1645
|
+
}, savePresets: (a) => {
|
|
1646
|
+
t(`${c}/presets/save`, a);
|
|
1633
1647
|
} } : void 0;
|
|
1634
1648
|
}
|
|
1635
1649
|
function G6(e) {
|
|
1636
|
-
const t =
|
|
1650
|
+
const t = T(e);
|
|
1637
1651
|
if (t)
|
|
1638
1652
|
return { endpointState: t };
|
|
1639
1653
|
}
|
|
1640
1654
|
function Y6(e) {
|
|
1641
|
-
const t =
|
|
1655
|
+
const t = T(e);
|
|
1642
1656
|
if (t)
|
|
1643
1657
|
return {
|
|
1644
1658
|
state: t
|
|
1645
1659
|
};
|
|
1646
1660
|
}
|
|
1647
1661
|
function z6(e) {
|
|
1648
|
-
const { sendMessage: t } =
|
|
1662
|
+
const { sendMessage: t } = y(), o = T(e), c = X(() => {
|
|
1649
1663
|
const r = `/device/${e}`;
|
|
1650
|
-
return { setEntry: (
|
|
1664
|
+
return { setEntry: (g, h, f) => t(`${r}/setEntry`, { index: g, name: h, number: f }), dialEntry: (g) => t(`${r}/dialEntry`, { value: g }) };
|
|
1651
1665
|
}, [e, t]);
|
|
1652
1666
|
if (o)
|
|
1653
1667
|
return {
|
|
@@ -1656,31 +1670,31 @@ function z6(e) {
|
|
|
1656
1670
|
};
|
|
1657
1671
|
}
|
|
1658
1672
|
function J6(e) {
|
|
1659
|
-
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"),
|
|
1660
|
-
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info:
|
|
1673
|
+
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), a = w(t, "info"), g = w(t, "exit");
|
|
1674
|
+
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: a, exit: g };
|
|
1661
1675
|
}
|
|
1662
1676
|
function X6(e) {
|
|
1663
1677
|
const t = `/device/${e}`, o = w(t, "red"), c = w(t, "green"), r = w(t, "yellow"), l = w(t, "blue");
|
|
1664
1678
|
return { red: o, green: c, yellow: r, blue: l };
|
|
1665
1679
|
}
|
|
1666
1680
|
function Q6(e) {
|
|
1667
|
-
const t =
|
|
1681
|
+
const t = T(e);
|
|
1668
1682
|
if (t)
|
|
1669
1683
|
return {
|
|
1670
1684
|
communicationMonitorState: t
|
|
1671
1685
|
};
|
|
1672
1686
|
}
|
|
1673
1687
|
function N6(e) {
|
|
1674
|
-
const t =
|
|
1688
|
+
const t = T(e);
|
|
1675
1689
|
if (t)
|
|
1676
1690
|
return t.deviceInfo || void 0;
|
|
1677
1691
|
}
|
|
1678
1692
|
function et(e) {
|
|
1679
|
-
const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"),
|
|
1680
|
-
return { up: o, down: c, left: r, right: l, select:
|
|
1693
|
+
const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), a = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
|
|
1694
|
+
return { up: o, down: c, left: r, right: l, select: a, menu: g, exit: h };
|
|
1681
1695
|
}
|
|
1682
1696
|
function tt(e) {
|
|
1683
|
-
const { sendMessage: t } =
|
|
1697
|
+
const { sendMessage: t } = y();
|
|
1684
1698
|
return { recallPreset: (c) => {
|
|
1685
1699
|
t(
|
|
1686
1700
|
`/device/${e}/recallPreset`,
|
|
@@ -1693,7 +1707,7 @@ function nt(e) {
|
|
|
1693
1707
|
return { dvrList: o, record: c };
|
|
1694
1708
|
}
|
|
1695
1709
|
function ot(e) {
|
|
1696
|
-
const { sendMessage: t } =
|
|
1710
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1697
1711
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1698
1712
|
t(`/device/${e}/setAutoMode`, null);
|
|
1699
1713
|
}, setManualMode: () => {
|
|
@@ -1707,7 +1721,29 @@ function ot(e) {
|
|
|
1707
1721
|
} } : void 0;
|
|
1708
1722
|
}
|
|
1709
1723
|
function st(e) {
|
|
1710
|
-
|
|
1724
|
+
var a;
|
|
1725
|
+
const { sendMessage: t } = y(), o = (a = T(e)) == null ? void 0 : a.cameraIsMuted, c = () => {
|
|
1726
|
+
t(`/device/${e}/cameraMuteOn`, null);
|
|
1727
|
+
}, r = () => {
|
|
1728
|
+
t(`/device/${e}/cameraMuteOff`, null);
|
|
1729
|
+
}, l = () => {
|
|
1730
|
+
t(`/device/${e}/cameraMuteToggle`, null);
|
|
1731
|
+
};
|
|
1732
|
+
if (o)
|
|
1733
|
+
return { cameraMuteOn: c, cameraMuteOff: r, cameraMuteToggle: l, cameraIsMuted: o };
|
|
1734
|
+
}
|
|
1735
|
+
function ct(e) {
|
|
1736
|
+
var l;
|
|
1737
|
+
const { sendMessage: t } = y(), o = (l = T(e)) == null ? void 0 : l.presets, c = (a) => {
|
|
1738
|
+
t(`/device/${e}/recallPreset`, a);
|
|
1739
|
+
}, r = (a) => {
|
|
1740
|
+
t(`/device/${e}/savePreset`, a);
|
|
1741
|
+
};
|
|
1742
|
+
if (o)
|
|
1743
|
+
return { recallPreset: c, savePreset: r, presets: o };
|
|
1744
|
+
}
|
|
1745
|
+
function rt(e) {
|
|
1746
|
+
const { sendMessage: t } = y(), o = `/device/${e}`, c = T(e);
|
|
1711
1747
|
return c ? {
|
|
1712
1748
|
state: c,
|
|
1713
1749
|
selectCamera: (l) => {
|
|
@@ -1715,103 +1751,103 @@ function st(e) {
|
|
|
1715
1751
|
}
|
|
1716
1752
|
} : void 0;
|
|
1717
1753
|
}
|
|
1718
|
-
function
|
|
1719
|
-
const { sendMessage: t } =
|
|
1754
|
+
function lt(e) {
|
|
1755
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1720
1756
|
return X(() => o ? {
|
|
1721
1757
|
state: o,
|
|
1722
|
-
dial: (
|
|
1758
|
+
dial: (a) => t(`/device/${e}/dial`, { value: a }),
|
|
1723
1759
|
endAllCalls: () => t(`/device/${e}/endAllCalls`, null),
|
|
1724
|
-
sendDtmf: (
|
|
1760
|
+
sendDtmf: (a) => t(`/device/${e}/dtmf`, { value: a })
|
|
1725
1761
|
} : void 0, [e, t, o]);
|
|
1726
1762
|
}
|
|
1727
|
-
function
|
|
1728
|
-
const t =
|
|
1763
|
+
function it(e) {
|
|
1764
|
+
const t = T(e);
|
|
1729
1765
|
if (t)
|
|
1730
1766
|
return { state: t };
|
|
1731
1767
|
}
|
|
1732
|
-
function
|
|
1733
|
-
const { sendMessage: t, sendSimpleMessage: o } =
|
|
1768
|
+
function at(e) {
|
|
1769
|
+
const { sendMessage: t, sendSimpleMessage: o } = y(), c = T(e), r = ne(e), l = c || r;
|
|
1734
1770
|
return l ? {
|
|
1735
1771
|
levelState: l,
|
|
1736
|
-
setLevel: (d,
|
|
1772
|
+
setLevel: (d, $) => o(`${d}/level`, $),
|
|
1737
1773
|
muteToggle: (d) => t(`${d}/muteToggle`, null),
|
|
1738
1774
|
muteOn: (d) => t(`${d}/muteOn`, null),
|
|
1739
1775
|
muteOff: (d) => t(`${d}/muteOff`, null)
|
|
1740
1776
|
} : void 0;
|
|
1741
1777
|
}
|
|
1742
|
-
function
|
|
1743
|
-
const { sendMessage: t } =
|
|
1778
|
+
function ut(e) {
|
|
1779
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1744
1780
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1745
1781
|
t(`/device/${e}/selectScene`, r);
|
|
1746
1782
|
} } : void 0;
|
|
1747
1783
|
}
|
|
1748
|
-
function
|
|
1749
|
-
const { sendMessage: t } =
|
|
1784
|
+
function dt(e) {
|
|
1785
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1750
1786
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1751
1787
|
t(`/device/${e}/route`, r);
|
|
1752
1788
|
} } : void 0;
|
|
1753
1789
|
}
|
|
1754
|
-
function
|
|
1755
|
-
const { sendMessage: t } =
|
|
1790
|
+
function vt(e) {
|
|
1791
|
+
const { sendMessage: t } = y();
|
|
1756
1792
|
return { closeApp: () => {
|
|
1757
1793
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1758
1794
|
} };
|
|
1759
1795
|
}
|
|
1760
|
-
function
|
|
1761
|
-
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"),
|
|
1796
|
+
function ht(e) {
|
|
1797
|
+
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), a = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), d = w(t, "num8"), $ = w(t, "num9"), H = w(t, "numDash"), u = w(t, "numEnter");
|
|
1762
1798
|
return {
|
|
1763
1799
|
digit0: o,
|
|
1764
1800
|
digit1: c,
|
|
1765
1801
|
digit2: r,
|
|
1766
1802
|
digit3: l,
|
|
1767
|
-
digit4:
|
|
1803
|
+
digit4: a,
|
|
1768
1804
|
digit5: g,
|
|
1769
1805
|
digit6: h,
|
|
1770
1806
|
digit7: f,
|
|
1771
1807
|
digit8: d,
|
|
1772
|
-
digit9:
|
|
1773
|
-
keypadAccessoryButton1:
|
|
1774
|
-
keypadAccessoryButton2:
|
|
1808
|
+
digit9: $,
|
|
1809
|
+
keypadAccessoryButton1: H,
|
|
1810
|
+
keypadAccessoryButton2: u
|
|
1775
1811
|
};
|
|
1776
1812
|
}
|
|
1777
|
-
function
|
|
1778
|
-
const { sendMessage: t } =
|
|
1813
|
+
function gt(e) {
|
|
1814
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1779
1815
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1780
1816
|
t(`/device/${e}/raise`, null);
|
|
1781
1817
|
}, lower: () => {
|
|
1782
1818
|
t(`/device/${e}/lower`, null);
|
|
1783
1819
|
} } : void 0;
|
|
1784
1820
|
}
|
|
1785
|
-
function
|
|
1786
|
-
const { sendMessage: t } =
|
|
1821
|
+
function ft(e) {
|
|
1822
|
+
const { sendMessage: t } = y(), o = j1(e);
|
|
1787
1823
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1788
1824
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1789
1825
|
} } : void 0;
|
|
1790
1826
|
}
|
|
1791
|
-
function
|
|
1792
|
-
const { sendMessage: t } =
|
|
1827
|
+
function wt(e) {
|
|
1828
|
+
const { sendMessage: t } = y();
|
|
1793
1829
|
return { runDefaultPresentRoute: () => {
|
|
1794
1830
|
t(`/room/${e}/defaultsource`, {});
|
|
1795
1831
|
} };
|
|
1796
1832
|
}
|
|
1797
|
-
function
|
|
1798
|
-
const { sendMessage: t } =
|
|
1833
|
+
function mt(e) {
|
|
1834
|
+
const { sendMessage: t } = y();
|
|
1799
1835
|
return { runDirectRoute: (c) => {
|
|
1800
1836
|
t(`/room/${e}/directRoute`, c);
|
|
1801
1837
|
} };
|
|
1802
1838
|
}
|
|
1803
|
-
function
|
|
1804
|
-
const { sendMessage: t } =
|
|
1805
|
-
return { routingState:
|
|
1839
|
+
function pt(e) {
|
|
1840
|
+
const { sendMessage: t } = y();
|
|
1841
|
+
return { routingState: T(e), runRoute: (r) => {
|
|
1806
1842
|
t(`/room/${e}/source`, r);
|
|
1807
1843
|
} };
|
|
1808
1844
|
}
|
|
1809
|
-
function
|
|
1845
|
+
function Mt(e) {
|
|
1810
1846
|
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
|
|
1811
1847
|
return { dvrList: o, replay: c };
|
|
1812
1848
|
}
|
|
1813
|
-
function
|
|
1814
|
-
const { sendMessage: t } =
|
|
1849
|
+
function xt(e) {
|
|
1850
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1815
1851
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1816
1852
|
t(`/device/${e}/shadeUp`, null);
|
|
1817
1853
|
}, shadeDown: () => {
|
|
@@ -1820,8 +1856,8 @@ function mt(e) {
|
|
|
1820
1856
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1821
1857
|
} } : void 0;
|
|
1822
1858
|
}
|
|
1823
|
-
function
|
|
1824
|
-
const { sendMessage: t } =
|
|
1859
|
+
function Zt(e) {
|
|
1860
|
+
const { sendMessage: t } = y(), o = j1(e);
|
|
1825
1861
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
|
|
1826
1862
|
t(`/room/${e}/setShutdownPromptSeconds`, g);
|
|
1827
1863
|
}, shutdownStart: () => {
|
|
@@ -1832,28 +1868,28 @@ function Mt(e) {
|
|
|
1832
1868
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1833
1869
|
} } : void 0;
|
|
1834
1870
|
}
|
|
1835
|
-
function
|
|
1836
|
-
const { sendMessage: t } =
|
|
1871
|
+
function St(e) {
|
|
1872
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1837
1873
|
return o ? { switchedOutputState: o, on: () => {
|
|
1838
1874
|
t(`/device/${e}/on`, null);
|
|
1839
1875
|
}, off: () => {
|
|
1840
1876
|
t(`/device/${e}/off`, null);
|
|
1841
1877
|
} } : void 0;
|
|
1842
1878
|
}
|
|
1843
|
-
function
|
|
1844
|
-
const { sendMessage: t } =
|
|
1879
|
+
function jt(e) {
|
|
1880
|
+
const { sendMessage: t } = y(), o = j1(e);
|
|
1845
1881
|
return o ? { techPasswordState: o, validatePassword: (l) => {
|
|
1846
1882
|
t(`/room/${e}/validateTechPassword`, { password: l });
|
|
1847
|
-
}, setPassword: (l,
|
|
1848
|
-
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword:
|
|
1883
|
+
}, setPassword: (l, a) => {
|
|
1884
|
+
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: a });
|
|
1849
1885
|
} } : void 0;
|
|
1850
1886
|
}
|
|
1851
|
-
function
|
|
1852
|
-
const { sendMessage: t } =
|
|
1887
|
+
function Ct(e) {
|
|
1888
|
+
const { sendMessage: t } = y(), o = T(e);
|
|
1853
1889
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1854
1890
|
}
|
|
1855
|
-
function
|
|
1856
|
-
const { sendMessage: t } =
|
|
1891
|
+
function bt(e) {
|
|
1892
|
+
const { sendMessage: t } = y(), o = T(e), c = (r) => {
|
|
1857
1893
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1858
1894
|
};
|
|
1859
1895
|
return {
|
|
@@ -1861,21 +1897,21 @@ function jt(e) {
|
|
|
1861
1897
|
saveTheme: c
|
|
1862
1898
|
};
|
|
1863
1899
|
}
|
|
1864
|
-
function
|
|
1865
|
-
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"),
|
|
1900
|
+
function yt(e) {
|
|
1901
|
+
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), a = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
|
|
1866
1902
|
return {
|
|
1867
1903
|
play: o,
|
|
1868
1904
|
pause: c,
|
|
1869
1905
|
stop: r,
|
|
1870
1906
|
prevTrack: l,
|
|
1871
|
-
nextTrack:
|
|
1907
|
+
nextTrack: a,
|
|
1872
1908
|
rewind: g,
|
|
1873
1909
|
fastForward: h,
|
|
1874
1910
|
record: f
|
|
1875
1911
|
};
|
|
1876
1912
|
}
|
|
1877
|
-
function
|
|
1878
|
-
const t =
|
|
1913
|
+
function It(e) {
|
|
1914
|
+
const t = T(e), { sendMessage: o } = y();
|
|
1879
1915
|
return t ? {
|
|
1880
1916
|
touchpanelState: t,
|
|
1881
1917
|
appControl: { hideApp: () => {
|
|
@@ -1890,8 +1926,8 @@ function bt(e) {
|
|
|
1890
1926
|
} }
|
|
1891
1927
|
} : void 0;
|
|
1892
1928
|
}
|
|
1893
|
-
function
|
|
1894
|
-
const t =
|
|
1929
|
+
function Rt(e) {
|
|
1930
|
+
const t = T(e), o = V3(e), c = k1(e);
|
|
1895
1931
|
if (!t) return;
|
|
1896
1932
|
const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1897
1933
|
return {
|
|
@@ -1901,15 +1937,15 @@ function yt(e) {
|
|
|
1901
1937
|
powerFb: { powerOnFb: r, powerOffFb: l }
|
|
1902
1938
|
};
|
|
1903
1939
|
}
|
|
1904
|
-
function
|
|
1940
|
+
function Et(e) {
|
|
1905
1941
|
const t = `/device/${e}`;
|
|
1906
|
-
return
|
|
1942
|
+
return C1(t);
|
|
1907
1943
|
}
|
|
1908
|
-
const
|
|
1944
|
+
const Tt = ({
|
|
1909
1945
|
config: e
|
|
1910
1946
|
}, t = !0) => {
|
|
1911
|
-
const { sendMessage: o } =
|
|
1912
|
-
var
|
|
1947
|
+
const { sendMessage: o } = y(), c = d1(!1), r = X(() => {
|
|
1948
|
+
var a, g, h, f;
|
|
1913
1949
|
if (!e)
|
|
1914
1950
|
return;
|
|
1915
1951
|
const l = /* @__PURE__ */ new Set();
|
|
@@ -1917,7 +1953,7 @@ const Rt = ({
|
|
|
1917
1953
|
l.add(d);
|
|
1918
1954
|
}), e.destinationList && Object.values(e.destinationList).forEach((d) => {
|
|
1919
1955
|
l.add(d.sinkKey);
|
|
1920
|
-
}), e.audioControlPointList && Object.values((
|
|
1956
|
+
}), e.audioControlPointList && Object.values((a = e.audioControlPointList) == null ? void 0 : a.levelControls).forEach(
|
|
1921
1957
|
(d) => {
|
|
1922
1958
|
d.itemKey ? l.add(d.parentDeviceKey + "--" + d.itemKey) : l.add(d.parentDeviceKey);
|
|
1923
1959
|
}
|
|
@@ -1934,36 +1970,36 @@ const Rt = ({
|
|
|
1934
1970
|
d.sourceKey && d.sourceKey !== "$off" && l.add(d.sourceKey);
|
|
1935
1971
|
return l;
|
|
1936
1972
|
}, [e]);
|
|
1937
|
-
return
|
|
1973
|
+
return Z1(() => {
|
|
1938
1974
|
!t || !r || r.size === 0 || c.current || (console.log("requesting state for deviceKeys:", r), r.forEach((l) => {
|
|
1939
1975
|
o(`/device/${l}/fullStatus`, { deviceKey: l });
|
|
1940
1976
|
}), c.current = !0);
|
|
1941
1977
|
}, [r, t, o]), r;
|
|
1942
1978
|
};
|
|
1943
|
-
function
|
|
1979
|
+
function Dt(e, t) {
|
|
1944
1980
|
const [o, c] = Y(!1), [r, l] = Y(!1);
|
|
1945
1981
|
return Z3(() => {
|
|
1946
|
-
const { current:
|
|
1947
|
-
const h =
|
|
1982
|
+
const { current: a } = e, g = () => {
|
|
1983
|
+
const h = a && a.scrollHeight > a.clientHeight, f = a && a.scrollWidth > a.clientWidth;
|
|
1948
1984
|
l(h ?? !1), c(f ?? !1), t && t(h ?? !1, f ?? !1);
|
|
1949
1985
|
};
|
|
1950
|
-
|
|
1986
|
+
a && g();
|
|
1951
1987
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1952
1988
|
}
|
|
1953
|
-
function
|
|
1989
|
+
function _t(e, t) {
|
|
1954
1990
|
const o = `/room/${e}/volumes/${t}`;
|
|
1955
|
-
return
|
|
1991
|
+
return C1(o);
|
|
1956
1992
|
}
|
|
1957
|
-
function
|
|
1993
|
+
function $t(e, t) {
|
|
1958
1994
|
const o = te(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1959
1995
|
return W3(c, o);
|
|
1960
1996
|
}
|
|
1961
|
-
function
|
|
1997
|
+
function Pt(e) {
|
|
1962
1998
|
var g, h;
|
|
1963
1999
|
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) => {
|
|
1964
2000
|
const { current: d } = e;
|
|
1965
2001
|
d && (console.log(d.scrollLeft), d.scrollLeft += f, console.log(d.scrollLeft));
|
|
1966
|
-
},
|
|
2002
|
+
}, a = (f) => {
|
|
1967
2003
|
const { current: d } = e;
|
|
1968
2004
|
d && (console.log(d.scrollTop), d.scrollTop += f, console.log(d.scrollTop));
|
|
1969
2005
|
};
|
|
@@ -1972,18 +2008,18 @@ function _t(e) {
|
|
|
1972
2008
|
o((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
|
|
1973
2009
|
};
|
|
1974
2010
|
f && d();
|
|
1975
|
-
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical:
|
|
2011
|
+
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: a };
|
|
1976
2012
|
}
|
|
1977
2013
|
function At(e) {
|
|
1978
2014
|
const t = W1();
|
|
1979
2015
|
return [() => {
|
|
1980
|
-
t(
|
|
2016
|
+
t(W.addSyncState(e));
|
|
1981
2017
|
}, () => {
|
|
1982
|
-
t(
|
|
2018
|
+
t(W.removeSyncState(e));
|
|
1983
2019
|
}, Ze(e)];
|
|
1984
2020
|
}
|
|
1985
|
-
function
|
|
1986
|
-
const { sendMessage: e } =
|
|
2021
|
+
function Lt() {
|
|
2022
|
+
const { sendMessage: e } = y();
|
|
1987
2023
|
return {
|
|
1988
2024
|
reboot: () => {
|
|
1989
2025
|
e("/system/reboot", null);
|
|
@@ -1993,14 +2029,14 @@ function $t() {
|
|
|
1993
2029
|
}
|
|
1994
2030
|
};
|
|
1995
2031
|
}
|
|
1996
|
-
function
|
|
2032
|
+
function Ot() {
|
|
1997
2033
|
const [e, t] = Y(), [o, c] = Y();
|
|
1998
2034
|
function r() {
|
|
1999
2035
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
2000
2036
|
const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
2001
2037
|
c(l);
|
|
2002
2038
|
}
|
|
2003
|
-
return
|
|
2039
|
+
return Z1(() => {
|
|
2004
2040
|
r();
|
|
2005
2041
|
const l = setInterval(() => {
|
|
2006
2042
|
r();
|
|
@@ -2008,7 +2044,7 @@ function Lt() {
|
|
|
2008
2044
|
return () => clearInterval(l);
|
|
2009
2045
|
}, []), { date: e, time: o };
|
|
2010
2046
|
}
|
|
2011
|
-
const
|
|
2047
|
+
const Bt = () => {
|
|
2012
2048
|
const [e, t] = Y(!1), o = y2(), c = I2();
|
|
2013
2049
|
let r;
|
|
2014
2050
|
return R2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
@@ -2031,7 +2067,7 @@ const Pt = () => {
|
|
|
2031
2067
|
),
|
|
2032
2068
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
2033
2069
|
] });
|
|
2034
|
-
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18",
|
|
2070
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", A1 = {
|
|
2035
2071
|
iconbtn: Je,
|
|
2036
2072
|
iconbtnvert: Xe,
|
|
2037
2073
|
iconsm: Qe
|
|
@@ -2042,38 +2078,38 @@ const Pt = () => {
|
|
|
2042
2078
|
className: c,
|
|
2043
2079
|
iconClassName: r = "",
|
|
2044
2080
|
otherContentClassName: l = "",
|
|
2045
|
-
disabled:
|
|
2081
|
+
disabled: a,
|
|
2046
2082
|
feedback: g,
|
|
2047
2083
|
feedbackClassName: h,
|
|
2048
2084
|
onPointerDown: f,
|
|
2049
2085
|
onPointerUp: d,
|
|
2050
|
-
onPointerLeave:
|
|
2051
|
-
...
|
|
2086
|
+
onPointerLeave: $,
|
|
2087
|
+
...H
|
|
2052
2088
|
}) => {
|
|
2053
|
-
const [
|
|
2089
|
+
const [u, Z] = Y(!1), j = !a && g ? h : "", S = !a && (u || g);
|
|
2054
2090
|
return /* @__PURE__ */ n.jsxs(
|
|
2055
2091
|
"button",
|
|
2056
2092
|
{
|
|
2057
2093
|
type: "button",
|
|
2058
|
-
className: `${
|
|
2059
|
-
...
|
|
2060
|
-
disabled:
|
|
2061
|
-
onPointerDown: (
|
|
2062
|
-
Z(!0), f == null || f(
|
|
2094
|
+
className: `${A1.iconbtn} ${o ? A1.iconbtnvert : ""} ${c} ${j}`,
|
|
2095
|
+
...H,
|
|
2096
|
+
disabled: a,
|
|
2097
|
+
onPointerDown: (C) => {
|
|
2098
|
+
Z(!0), f == null || f(C);
|
|
2063
2099
|
},
|
|
2064
|
-
onPointerUp: (
|
|
2065
|
-
Z(!1), d == null || d(
|
|
2100
|
+
onPointerUp: (C) => {
|
|
2101
|
+
Z(!1), d == null || d(C);
|
|
2066
2102
|
},
|
|
2067
|
-
onPointerLeave: (
|
|
2068
|
-
Z(!1),
|
|
2103
|
+
onPointerLeave: (C) => {
|
|
2104
|
+
Z(!1), $ == null || $(C);
|
|
2069
2105
|
},
|
|
2070
2106
|
children: [
|
|
2071
2107
|
e && /* @__PURE__ */ n.jsx(
|
|
2072
2108
|
e,
|
|
2073
2109
|
{
|
|
2074
|
-
className: `${r ||
|
|
2110
|
+
className: `${r || A1.iconsm}`,
|
|
2075
2111
|
active: S,
|
|
2076
|
-
disabled:
|
|
2112
|
+
disabled: a
|
|
2077
2113
|
}
|
|
2078
2114
|
),
|
|
2079
2115
|
l ? /* @__PURE__ */ n.jsx("div", { className: l, children: t }) : /* @__PURE__ */ n.jsx("div", { children: t })
|
|
@@ -2924,7 +2960,7 @@ const Pt = () => {
|
|
|
2924
2960
|
active: e,
|
|
2925
2961
|
disabled: o
|
|
2926
2962
|
}
|
|
2927
|
-
),
|
|
2963
|
+
), m8 = ({
|
|
2928
2964
|
active: e,
|
|
2929
2965
|
className: t = "",
|
|
2930
2966
|
disabled: o
|
|
@@ -2973,7 +3009,7 @@ const Pt = () => {
|
|
|
2973
3009
|
active: e,
|
|
2974
3010
|
disabled: o
|
|
2975
3011
|
}
|
|
2976
|
-
),
|
|
3012
|
+
), p8 = ({
|
|
2977
3013
|
active: e,
|
|
2978
3014
|
className: t = "",
|
|
2979
3015
|
disabled: o
|
|
@@ -3286,7 +3322,7 @@ const Pt = () => {
|
|
|
3286
3322
|
active: e,
|
|
3287
3323
|
disabled: o
|
|
3288
3324
|
}
|
|
3289
|
-
),
|
|
3325
|
+
), kt = ({
|
|
3290
3326
|
active: e,
|
|
3291
3327
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3292
3328
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3712,8 +3748,8 @@ const Pt = () => {
|
|
|
3712
3748
|
Moon: g8,
|
|
3713
3749
|
Playstation: f8,
|
|
3714
3750
|
Podium: w8,
|
|
3715
|
-
Power:
|
|
3716
|
-
Privacy:
|
|
3751
|
+
Power: m8,
|
|
3752
|
+
Privacy: p8,
|
|
3717
3753
|
Question: M8,
|
|
3718
3754
|
RightArrow: x8,
|
|
3719
3755
|
RoomPC: Z8,
|
|
@@ -3727,7 +3763,7 @@ const Pt = () => {
|
|
|
3727
3763
|
X: E8,
|
|
3728
3764
|
Xbox: T8
|
|
3729
3765
|
};
|
|
3730
|
-
function
|
|
3766
|
+
function Wt({
|
|
3731
3767
|
name: e,
|
|
3732
3768
|
iconsDictionary: t = _8,
|
|
3733
3769
|
...o
|
|
@@ -3735,56 +3771,56 @@ function Ot({
|
|
|
3735
3771
|
const c = t[e] ?? null;
|
|
3736
3772
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3737
3773
|
}
|
|
3738
|
-
const
|
|
3739
|
-
grid:
|
|
3740
|
-
header:
|
|
3741
|
-
content:
|
|
3742
|
-
footer:
|
|
3743
|
-
volume:
|
|
3744
|
-
},
|
|
3745
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3746
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3747
|
-
r && /* @__PURE__ */ n.jsx("div", { className:
|
|
3748
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3749
|
-
] }),
|
|
3750
|
-
grid:
|
|
3774
|
+
const $8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", L8 = "_footer_1cmpp_23", O8 = "_volume_1cmpp_29", u1 = {
|
|
3775
|
+
grid: $8,
|
|
3776
|
+
header: P8,
|
|
3777
|
+
content: A8,
|
|
3778
|
+
footer: L8,
|
|
3779
|
+
volume: O8
|
|
3780
|
+
}, Vt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: u1.grid, children: [
|
|
3781
|
+
/* @__PURE__ */ n.jsx("div", { className: u1.header, children: e }),
|
|
3782
|
+
/* @__PURE__ */ n.jsx("div", { className: u1.content, children: o }),
|
|
3783
|
+
r && /* @__PURE__ */ n.jsx("div", { className: u1.volume, children: c }),
|
|
3784
|
+
/* @__PURE__ */ n.jsx("div", { className: u1.footer, children: t })
|
|
3785
|
+
] }), B8 = "_grid_11w5q_1", k8 = "_header_11w5q_11", W8 = "_content_11w5q_17", x1 = {
|
|
3786
|
+
grid: B8,
|
|
3751
3787
|
header: k8,
|
|
3752
3788
|
content: W8
|
|
3753
|
-
},
|
|
3754
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3755
|
-
c && /* @__PURE__ */ n.jsx("div", { className:
|
|
3756
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3757
|
-
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11",
|
|
3789
|
+
}, Ut = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${x1.grid}`, children: [
|
|
3790
|
+
/* @__PURE__ */ n.jsx("div", { className: x1.header, children: t }),
|
|
3791
|
+
c && /* @__PURE__ */ n.jsx("div", { className: x1.leftNav, children: c }),
|
|
3792
|
+
/* @__PURE__ */ n.jsx("div", { className: x1.content, children: o })
|
|
3793
|
+
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17", L1 = {
|
|
3758
3794
|
grid: V8,
|
|
3759
3795
|
header: U8,
|
|
3760
|
-
content:
|
|
3761
|
-
},
|
|
3762
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3763
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3796
|
+
content: H8
|
|
3797
|
+
}, Ht = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${L1.grid}`, children: [
|
|
3798
|
+
/* @__PURE__ */ n.jsx("div", { className: L1.header, children: t }),
|
|
3799
|
+
/* @__PURE__ */ n.jsx("div", { className: L1.content, children: o })
|
|
3764
3800
|
] });
|
|
3765
|
-
class
|
|
3801
|
+
class Ft {
|
|
3766
3802
|
constructor() {
|
|
3767
3803
|
q(this, "currentShareText");
|
|
3768
3804
|
q(this, "enabled");
|
|
3769
3805
|
q(this, "isSharing");
|
|
3770
3806
|
}
|
|
3771
3807
|
}
|
|
3772
|
-
function
|
|
3808
|
+
function Kt() {
|
|
3773
3809
|
return console.log(location.pathname), location.pathname;
|
|
3774
3810
|
}
|
|
3775
|
-
var
|
|
3776
|
-
class
|
|
3811
|
+
var F8 = /* @__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))(F8 || {});
|
|
3812
|
+
class qt {
|
|
3777
3813
|
constructor(t, o) {
|
|
3778
3814
|
q(this, "path");
|
|
3779
3815
|
q(this, "handler");
|
|
3780
3816
|
this.path = t, this.handler = o;
|
|
3781
3817
|
}
|
|
3782
3818
|
}
|
|
3783
|
-
const
|
|
3819
|
+
const Gt = "$off";
|
|
3784
3820
|
export {
|
|
3785
3821
|
K6 as Clock,
|
|
3786
|
-
|
|
3787
|
-
|
|
3822
|
+
F8 as DaysOfWeek,
|
|
3823
|
+
Bt as ErrorBox,
|
|
3788
3824
|
Ne as IconButton,
|
|
3789
3825
|
e8 as IconMultiAlert,
|
|
3790
3826
|
t8 as IconMultiBan,
|
|
@@ -3804,14 +3840,14 @@ export {
|
|
|
3804
3840
|
g8 as IconMultiMoon,
|
|
3805
3841
|
f8 as IconMultiPlaystation,
|
|
3806
3842
|
w8 as IconMultiPodium,
|
|
3807
|
-
|
|
3808
|
-
|
|
3843
|
+
m8 as IconMultiPower,
|
|
3844
|
+
p8 as IconMultiPrivacy,
|
|
3809
3845
|
M8 as IconMultiQuestion,
|
|
3810
3846
|
x8 as IconMultiRightArrow,
|
|
3811
3847
|
Z8 as IconMultiRoomPC,
|
|
3812
3848
|
S8 as IconMultiShade,
|
|
3813
3849
|
j8 as IconMultiSun,
|
|
3814
|
-
|
|
3850
|
+
kt as IconMultiTemplate,
|
|
3815
3851
|
C8 as IconMultiUpArrow,
|
|
3816
3852
|
b8 as IconMultiVolDown,
|
|
3817
3853
|
y8 as IconMultiVolMute,
|
|
@@ -3819,28 +3855,28 @@ export {
|
|
|
3819
3855
|
R8 as IconMultiWireless,
|
|
3820
3856
|
E8 as IconMultiX,
|
|
3821
3857
|
T8 as IconMultiXbox,
|
|
3822
|
-
|
|
3823
|
-
|
|
3858
|
+
Vt as MainLayout,
|
|
3859
|
+
qt as MessageHandler,
|
|
3824
3860
|
W6 as MobileControlProvider,
|
|
3825
3861
|
R as MultiStateIconContainer,
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3862
|
+
Wt as NamedIconButton,
|
|
3863
|
+
Ft as ShareState,
|
|
3864
|
+
Ut as TechLayout,
|
|
3865
|
+
Ht as TechPinLayout,
|
|
3866
|
+
A3 as WS_ADD_EVENT_HANDLER,
|
|
3831
3867
|
_3 as WS_CONNECT,
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3868
|
+
$3 as WS_DISCONNECT,
|
|
3869
|
+
O3 as WS_RECONNECT,
|
|
3870
|
+
L3 as WS_REMOVE_EVENT_HANDLER,
|
|
3871
|
+
P3 as WS_SEND_MESSAGE,
|
|
3836
3872
|
k3 as WebsocketContext,
|
|
3837
3873
|
T3 as appConfigActions,
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3874
|
+
Oe as createWebSocketMiddleware,
|
|
3875
|
+
m1 as devicesActions,
|
|
3876
|
+
Kt as getBaseLocation,
|
|
3841
3877
|
f3 as httpClient,
|
|
3842
3878
|
_8 as iconsDictionary,
|
|
3843
|
-
|
|
3879
|
+
Gt as roomOffSourceKey,
|
|
3844
3880
|
p1 as roomsActions,
|
|
3845
3881
|
U as runtimeConfigActions,
|
|
3846
3882
|
C3 as selectAllDevices,
|
|
@@ -3848,70 +3884,70 @@ export {
|
|
|
3848
3884
|
E2 as selectAppConfig,
|
|
3849
3885
|
ce as selectClientId,
|
|
3850
3886
|
he as selectCurrentPopoverIdForGroup,
|
|
3851
|
-
|
|
3887
|
+
$2 as selectDeviceByKey,
|
|
3852
3888
|
b3 as selectDeviceInterfaceSupport,
|
|
3853
3889
|
ve as selectDeviceSupportsInterface,
|
|
3854
3890
|
fe as selectError,
|
|
3855
3891
|
y3 as selectInterfacesForDevice,
|
|
3856
|
-
|
|
3892
|
+
pe as selectIsSyncStateValuePresent,
|
|
3857
3893
|
de as selectIsTouchpanel,
|
|
3858
3894
|
D2 as selectLogoPath,
|
|
3859
3895
|
V1 as selectModalVisibility,
|
|
3860
3896
|
_2 as selectPartnerMetadata,
|
|
3861
3897
|
X2 as selectRoomAdvancedSharingActive,
|
|
3862
3898
|
V2 as selectRoomAudioControlPointList,
|
|
3863
|
-
|
|
3899
|
+
L2 as selectRoomByKey,
|
|
3864
3900
|
q2 as selectRoomCodecContentDestinationKey,
|
|
3865
|
-
|
|
3866
|
-
|
|
3901
|
+
P2 as selectRoomConfiguration,
|
|
3902
|
+
H2 as selectRoomDestinationList,
|
|
3867
3903
|
U2 as selectRoomDestinations,
|
|
3868
3904
|
ee as selectRoomDisplayStates,
|
|
3869
|
-
|
|
3905
|
+
F2 as selectRoomEnvironmentalDevices,
|
|
3870
3906
|
G2 as selectRoomInCall,
|
|
3871
3907
|
z2 as selectRoomIsCoolingDown,
|
|
3872
3908
|
J2 as selectRoomIsOn,
|
|
3873
3909
|
Y2 as selectRoomIsWarmingUp,
|
|
3874
3910
|
se as selectRoomKey,
|
|
3875
3911
|
k2 as selectRoomLevelControls,
|
|
3876
|
-
|
|
3912
|
+
O2 as selectRoomName,
|
|
3877
3913
|
K2 as selectRoomProgramAudioDestinationKey,
|
|
3878
3914
|
Q2 as selectRoomShareState,
|
|
3879
3915
|
W2 as selectRoomSourceList,
|
|
3880
|
-
|
|
3881
|
-
|
|
3916
|
+
B2 as selectRoomVolume,
|
|
3917
|
+
A2 as selectRooms,
|
|
3882
3918
|
ae as selectRuntimeInfo,
|
|
3883
3919
|
ie as selectServerIsRunningOnProcessorHardware,
|
|
3884
3920
|
ge as selectShowPopoverById,
|
|
3885
3921
|
we as selectShowReconnect,
|
|
3886
3922
|
re as selectSystemUuid,
|
|
3887
|
-
|
|
3923
|
+
me as selectTheme,
|
|
3888
3924
|
ue as selectTouchpanelKey,
|
|
3889
3925
|
le as selectUserCode,
|
|
3890
3926
|
oe as selectWsIsConnected,
|
|
3891
3927
|
N2 as selectZoomRoomControllerKey,
|
|
3892
3928
|
ke as store,
|
|
3893
|
-
|
|
3929
|
+
W as uiActions,
|
|
3894
3930
|
je as uiReducer,
|
|
3895
3931
|
Q8 as useApiPath,
|
|
3896
3932
|
X8 as useAppConfig,
|
|
3897
3933
|
W1 as useAppDispatch,
|
|
3898
|
-
|
|
3899
|
-
|
|
3934
|
+
m as useAppSelector,
|
|
3935
|
+
H6 as useAvrControl,
|
|
3900
3936
|
w as useButtonHeldHeartbeat,
|
|
3901
|
-
|
|
3937
|
+
F6 as useCameraBase,
|
|
3902
3938
|
S6 as useClientId,
|
|
3903
|
-
|
|
3939
|
+
Et as useDeviceIBasicVolume,
|
|
3904
3940
|
Ye as useDeviceIBasicVolumeWithFeedback,
|
|
3905
3941
|
E6 as useDeviceInterfaceSupport,
|
|
3906
3942
|
q6 as useDevicePresetsModel,
|
|
3907
3943
|
D6 as useDeviceSupportsInterface,
|
|
3908
3944
|
G6 as useEndpoint,
|
|
3909
3945
|
Me as useError,
|
|
3910
|
-
|
|
3946
|
+
Tt as useGetAllDeviceStateFromRoomConfiguration,
|
|
3911
3947
|
t6 as useGetAllDevices,
|
|
3912
3948
|
o6 as useGetAllRooms,
|
|
3913
|
-
|
|
3914
|
-
|
|
3949
|
+
A6 as useGetCurrentPopoverIdForGroup,
|
|
3950
|
+
T as useGetDevice,
|
|
3915
3951
|
V6 as useGetIBasicVolume,
|
|
3916
3952
|
U6 as useGetIBasicVolumeWithFeedback,
|
|
3917
3953
|
s6 as useGetRoom,
|
|
@@ -3919,7 +3955,7 @@ export {
|
|
|
3919
3955
|
x6 as useGetZoomRoomControllerKey,
|
|
3920
3956
|
Y6 as useIAudioCodecInfo,
|
|
3921
3957
|
z6 as useIAudioCodecPhonebook,
|
|
3922
|
-
|
|
3958
|
+
C1 as useIBasicVolume,
|
|
3923
3959
|
W3 as useIBasicVolumeWithFeedback,
|
|
3924
3960
|
J6 as useIChannel,
|
|
3925
3961
|
X6 as useIColor,
|
|
@@ -3929,47 +3965,49 @@ export {
|
|
|
3929
3965
|
tt as useIDspPresets,
|
|
3930
3966
|
nt as useIDvr,
|
|
3931
3967
|
ot as useIEssentialsRoomCombiner,
|
|
3932
|
-
st as
|
|
3933
|
-
ct as
|
|
3968
|
+
st as useIHasCameraMute,
|
|
3969
|
+
ct as useIHasCameraPresets,
|
|
3970
|
+
rt as useIHasCameras,
|
|
3971
|
+
lt as useIHasDialer,
|
|
3934
3972
|
V3 as useIHasPowerControl,
|
|
3935
3973
|
k1 as useIHasSelectableItems,
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3974
|
+
it as useIHumiditySensor,
|
|
3975
|
+
at as useILevelControls,
|
|
3976
|
+
ut as useILightingScenes,
|
|
3977
|
+
dt as useIMatrixRouting,
|
|
3978
|
+
vt as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3979
|
+
ht as useINumeric,
|
|
3980
|
+
gt as useIProjectorScreenLiftControl,
|
|
3981
|
+
ft as useIRoomEventSchedule,
|
|
3982
|
+
wt as useIRunDefaultPresentRoute,
|
|
3983
|
+
mt as useIRunDirectRouteAction,
|
|
3984
|
+
pt as useIRunRouteAction,
|
|
3985
|
+
Mt as useISetTopBoxControls,
|
|
3986
|
+
xt as useIShadesOpenCloseStop,
|
|
3987
|
+
Zt as useIShutdownPromptTimer,
|
|
3988
|
+
St as useISwitchedOutput,
|
|
3989
|
+
jt as useITechPassword,
|
|
3990
|
+
Ct as useITemperatureSensor,
|
|
3991
|
+
bt as useITheme,
|
|
3992
|
+
yt as useITransport,
|
|
3955
3993
|
k6 as useInitialize,
|
|
3956
3994
|
T6 as useInterfacesForDevice,
|
|
3957
3995
|
Ze as useIsSyncStateValuePresent,
|
|
3958
3996
|
R6 as useIsTouchpanel,
|
|
3959
3997
|
N8 as useLogoPath,
|
|
3960
|
-
|
|
3961
|
-
|
|
3998
|
+
It as useMobileControlTouchpanelController,
|
|
3999
|
+
Dt as useOverflow,
|
|
3962
4000
|
e6 as usePartnerMetadata,
|
|
3963
4001
|
Ge as usePressHoldRelease,
|
|
3964
|
-
|
|
4002
|
+
m6 as useRoomAdvancedSharingActive,
|
|
3965
4003
|
l6 as useRoomAudioControlPointList,
|
|
3966
4004
|
v6 as useRoomCodecContentDestinationKey,
|
|
3967
4005
|
n6 as useRoomConfiguration,
|
|
3968
4006
|
a6 as useRoomDestinationList,
|
|
3969
4007
|
i6 as useRoomDestinations,
|
|
3970
4008
|
u6 as useRoomEnvironmentalDevices,
|
|
3971
|
-
|
|
3972
|
-
|
|
4009
|
+
_t as useRoomIBasicVolume,
|
|
4010
|
+
$t as useRoomIBasicVolumeWithFeedback,
|
|
3973
4011
|
h6 as useRoomInCall,
|
|
3974
4012
|
f6 as useRoomIsCoolingDown,
|
|
3975
4013
|
w6 as useRoomIsOn,
|
|
@@ -3978,32 +4016,32 @@ export {
|
|
|
3978
4016
|
ne as useRoomLevelControls,
|
|
3979
4017
|
c6 as useRoomName,
|
|
3980
4018
|
d6 as useRoomProgramAudioDestinationKey,
|
|
3981
|
-
|
|
4019
|
+
p6 as useRoomShareState,
|
|
3982
4020
|
r6 as useRoomSourceList,
|
|
3983
|
-
|
|
4021
|
+
j1 as useRoomState,
|
|
3984
4022
|
te as useRoomVolume,
|
|
3985
4023
|
y6 as useRuntimeInfo,
|
|
3986
|
-
|
|
4024
|
+
Pt as useScroll,
|
|
3987
4025
|
b6 as useServerIsRunningOnProcessorHardware,
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
4026
|
+
$6 as useShowIncomingCallModal,
|
|
4027
|
+
P6 as useShowModal,
|
|
4028
|
+
L6 as useShowPopoverById,
|
|
3991
4029
|
xe as useShowReconnect,
|
|
3992
4030
|
_6 as useShowShutdownModal,
|
|
3993
4031
|
At as useStateIsSynced,
|
|
3994
|
-
|
|
4032
|
+
Lt as useSystemControl,
|
|
3995
4033
|
j6 as useSystemUuid,
|
|
3996
|
-
|
|
3997
|
-
|
|
4034
|
+
O6 as useTheme,
|
|
4035
|
+
Ot as useTimeAndDate,
|
|
3998
4036
|
I6 as useTouchpanelKey,
|
|
3999
|
-
|
|
4037
|
+
Rt as useTwoWayDisplayBase,
|
|
4000
4038
|
C6 as useUserCode,
|
|
4001
|
-
|
|
4039
|
+
y as useWebsocketContext,
|
|
4002
4040
|
I3 as useWsIsConnected,
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4041
|
+
Pe as wsAddEventHandler,
|
|
4042
|
+
B3 as wsConnect,
|
|
4043
|
+
B6 as wsDisconnect,
|
|
4044
|
+
Le as wsReconnect,
|
|
4045
|
+
Ae as wsRemoveEventHandler,
|
|
4046
|
+
$e as wsSendMessage
|
|
4009
4047
|
};
|