@pepperdash/mobile-control-react-app-core 1.20.17 → 1.21.0-feature-export-useCameraBase.1
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 +536 -468
- package/dist/mobile-control-react-app-core.umd.js +10 -10
- package/dist/shared/hooks/interfaces/index.d.ts +37 -35
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasCameras.d.ts +7 -0
- package/dist/shared/hooks/interfaces/useIHasCameras.d.ts.map +1 -0
- package/dist/types/state/state/IHasCamerasState.d.ts +10 -0
- package/dist/types/state/state/IHasCamerasState.d.ts.map +1 -0
- package/dist/types/state/state/index.d.ts +2 -2
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +1 -1
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/state/state/CamerasState.d.ts +0 -13
- package/dist/types/state/state/CamerasState.d.ts.map +0 -1
|
@@ -1,137 +1,137 @@
|
|
|
1
1
|
var s2 = Object.defineProperty;
|
|
2
2
|
var o2 = (e, t, o) => t in e ? s2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
-
var
|
|
3
|
+
var Y = (e, t, o) => o2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import n2, { AxiosError as c2 } from "axios";
|
|
5
5
|
import { useDispatch as r2, useSelector as l2, Provider as i2 } from "react-redux";
|
|
6
|
-
import { createSelector as
|
|
7
|
-
import
|
|
6
|
+
import { createSelector as w, createSlice as g1, combineReducers as a2, configureStore as u2 } from "@reduxjs/toolkit";
|
|
7
|
+
import w3, { createContext as d2, useState as G, useRef as v1, useCallback as a1, useEffect as n1, useContext as h2, useLayoutEffect as x3 } from "react";
|
|
8
8
|
import * as M3 from "lodash";
|
|
9
9
|
import { useNavigate as v2, useRouteError as g2, isRouteErrorResponse as f2 } from "react-router-dom";
|
|
10
|
-
const
|
|
10
|
+
const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
|
|
11
11
|
j1,
|
|
12
12
|
(e) => e.config
|
|
13
|
-
), x2 =
|
|
13
|
+
), x2 = w(
|
|
14
14
|
j1,
|
|
15
15
|
(e) => e.config.apiPath
|
|
16
|
-
), M2 =
|
|
16
|
+
), M2 = w(
|
|
17
17
|
j1,
|
|
18
18
|
(e) => e.config.logoPath
|
|
19
|
-
), m2 =
|
|
19
|
+
), m2 = w(
|
|
20
20
|
j1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), Z2 = () =>
|
|
22
|
+
), Z2 = () => p(w2), O6 = () => p(x2), V6 = () => p(M2), k6 = () => p(m2), m3 = (e) => e.devices, Z3 = w(
|
|
23
23
|
m3,
|
|
24
24
|
(e) => e
|
|
25
|
-
), j2 = (e) =>
|
|
25
|
+
), j2 = (e) => w(
|
|
26
26
|
m3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
), U6 = () =>
|
|
29
|
-
function
|
|
30
|
-
return
|
|
28
|
+
), U6 = () => p(Z3);
|
|
29
|
+
function E(e) {
|
|
30
|
+
return p(j2(e));
|
|
31
31
|
}
|
|
32
|
-
const L = (e) => e.rooms, C2 = (e) =>
|
|
32
|
+
const L = (e) => e.rooms, C2 = (e) => w(
|
|
33
33
|
L,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
), S2 =
|
|
35
|
+
), S2 = w(
|
|
36
36
|
L,
|
|
37
37
|
(e) => e
|
|
38
|
-
), b2 = (e) =>
|
|
38
|
+
), b2 = (e) => w(
|
|
39
39
|
L,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
), I2 = (e) =>
|
|
41
|
+
), I2 = (e) => w(
|
|
42
42
|
L,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
), R2 = (e, t) =>
|
|
44
|
+
), R2 = (e, t) => w(
|
|
45
45
|
L,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
|
-
), y2 = (e) =>
|
|
47
|
+
), y2 = (e) => w(
|
|
48
48
|
L,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
|
-
), E2 = (e) =>
|
|
50
|
+
), E2 = (e) => w(
|
|
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
|
+
), P2 = (e) => w(
|
|
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
|
+
), T2 = (e) => w(
|
|
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
|
-
),
|
|
68
|
+
), _2 = (e) => w(
|
|
69
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
|
-
), L2 = (e) =>
|
|
74
|
+
), L2 = (e) => w(
|
|
75
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
|
-
), D2 = (e) =>
|
|
80
|
+
), D2 = (e) => w(
|
|
81
81
|
L,
|
|
82
82
|
(t) => {
|
|
83
|
-
var o, c, r, i, d, a,
|
|
84
|
-
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (
|
|
83
|
+
var o, c, r, i, d, a, g, x;
|
|
84
|
+
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (g = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : g.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
|
|
85
85
|
}
|
|
86
|
-
), $2 = (e) =>
|
|
86
|
+
), $2 = (e) => w(
|
|
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
|
-
), A2 = (e) =>
|
|
92
|
+
), A2 = (e) => w(
|
|
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
|
-
), B2 = (e) =>
|
|
98
|
+
), B2 = (e) => w(
|
|
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
|
-
), O2 = (e) =>
|
|
104
|
+
), O2 = (e) => w(
|
|
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
|
-
), V2 = (e) =>
|
|
110
|
+
), V2 = (e) => w(
|
|
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
|
-
), k2 = (e) =>
|
|
116
|
+
), k2 = (e) => w(
|
|
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
|
-
), U2 = (e) =>
|
|
122
|
+
), U2 = (e) => w(
|
|
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
|
-
), W2 = (e) =>
|
|
128
|
+
), W2 = (e) => w(
|
|
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;
|
|
133
133
|
}
|
|
134
|
-
), F2 =
|
|
134
|
+
), F2 = w(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
137
|
() => Z3,
|
|
@@ -147,76 +147,76 @@ const L = (e) => e.rooms, C2 = (e) => p(
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
function W6(e) {
|
|
150
|
-
return
|
|
150
|
+
return p(
|
|
151
151
|
C2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function F6() {
|
|
155
|
-
return
|
|
155
|
+
return p(S2);
|
|
156
156
|
}
|
|
157
157
|
function C1(e) {
|
|
158
|
-
return
|
|
158
|
+
return p(b2(e));
|
|
159
159
|
}
|
|
160
|
-
const H6 = C1, K6 = (e) =>
|
|
160
|
+
const H6 = C1, K6 = (e) => p(
|
|
161
161
|
I2(e)
|
|
162
|
-
), H2 = (e, t) =>
|
|
162
|
+
), H2 = (e, t) => p(
|
|
163
163
|
R2(e, t)
|
|
164
|
-
), K2 = (e) =>
|
|
165
|
-
|
|
164
|
+
), K2 = (e) => p(y2(e)) || void 0, G6 = (e) => p(E2(e)), q6 = (e) => p(P2(e)), Y6 = (e) => p(T2(e)), z6 = (e) => p(_2(e)), J6 = (e) => p(L2(e)), X6 = (e) => p(D2(e)), Q6 = (e) => p($2(e)), N6 = (e) => p(A2(e)), ee = (e) => p(B2(e)), te = (e) => p(O2(e)), se = (e) => p(V2(e)), oe = (e) => p(k2(e)), ne = (e) => p(U2(e)), ce = (e) => p((t) => F2(t, e)), re = (e) => p(W2(e)), X = (e) => e.runtimeConfig, G2 = w(
|
|
165
|
+
X,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
|
-
), q2 =
|
|
168
|
-
|
|
167
|
+
), q2 = w(
|
|
168
|
+
X,
|
|
169
169
|
(e) => e.currentRoomKey
|
|
170
|
-
), Y2 =
|
|
171
|
-
|
|
170
|
+
), Y2 = w(
|
|
171
|
+
X,
|
|
172
172
|
(e) => e.roomData.clientId
|
|
173
|
-
), z2 =
|
|
174
|
-
|
|
173
|
+
), z2 = w(
|
|
174
|
+
X,
|
|
175
175
|
(e) => e.roomData.systemUuid
|
|
176
|
-
), J2 =
|
|
177
|
-
|
|
176
|
+
), J2 = w(
|
|
177
|
+
X,
|
|
178
178
|
(e) => e.roomData.userCode
|
|
179
|
-
), X2 =
|
|
180
|
-
|
|
179
|
+
), X2 = w(
|
|
180
|
+
X,
|
|
181
181
|
(e) => e.serverIsRunningOnProcessorHardware
|
|
182
|
-
), Q2 =
|
|
183
|
-
|
|
182
|
+
), Q2 = w(
|
|
183
|
+
X,
|
|
184
184
|
(e) => {
|
|
185
185
|
var t;
|
|
186
186
|
return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
|
|
187
187
|
}
|
|
188
|
-
), N2 =
|
|
189
|
-
|
|
188
|
+
), N2 = w(
|
|
189
|
+
X,
|
|
190
190
|
(e) => e.touchpanelKey
|
|
191
|
-
), e8 =
|
|
192
|
-
|
|
191
|
+
), e8 = w(
|
|
192
|
+
X,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
|
-
), j3 = () =>
|
|
194
|
+
), j3 = () => p(G2), t8 = () => p(q2), s8 = () => p(Y2), o8 = () => p(z2), n8 = () => p(J2), c8 = () => p(X2), le = () => p(Q2), ie = () => p(N2), ae = () => p(e8), c1 = (e) => e.ui, U1 = (e) => w(
|
|
195
195
|
c1,
|
|
196
196
|
(t) => t.modalVisibility[e]
|
|
197
|
-
), r8 = (e) =>
|
|
197
|
+
), r8 = (e) => w(
|
|
198
198
|
c1,
|
|
199
199
|
(t) => {
|
|
200
200
|
const o = t.popoverVisibility[e];
|
|
201
201
|
if (o)
|
|
202
202
|
return Object.keys(o).find((c) => o[c]);
|
|
203
203
|
}
|
|
204
|
-
), l8 = (e, t) =>
|
|
204
|
+
), l8 = (e, t) => w(
|
|
205
205
|
c1,
|
|
206
206
|
(o) => {
|
|
207
207
|
var c;
|
|
208
208
|
return ((c = o.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
|
|
209
209
|
}
|
|
210
|
-
), i8 =
|
|
210
|
+
), i8 = w(
|
|
211
211
|
c1,
|
|
212
212
|
(e) => e.error
|
|
213
|
-
), a8 =
|
|
213
|
+
), a8 = w(
|
|
214
214
|
c1,
|
|
215
215
|
(e) => e.showReconnect
|
|
216
|
-
), u8 =
|
|
216
|
+
), u8 = w(
|
|
217
217
|
c1,
|
|
218
218
|
(e) => e.theme
|
|
219
|
-
), ue = () =>
|
|
219
|
+
), ue = () => p(U1("showShutdownModal")), de = () => p(U1("showIncomingCallModal")), he = (e) => p(U1(e)), ve = (e) => p(r8(e)), ge = (e, t) => p(l8(e, t)), d8 = () => p(i8), h8 = () => p(a8), fe = () => p(u8), v8 = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -257,7 +257,7 @@ const H6 = C1, K6 = (e) => w(
|
|
|
257
257
|
e.theme = t.payload;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
}),
|
|
260
|
+
}), z = C3.actions, g8 = C3.reducer, f8 = {
|
|
261
261
|
config: {
|
|
262
262
|
enableDev: !1,
|
|
263
263
|
apiPath: "",
|
|
@@ -275,7 +275,7 @@ const H6 = C1, K6 = (e) => w(
|
|
|
275
275
|
e.config = t.payload;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
}),
|
|
278
|
+
}), p8 = S3.actions, w8 = S3.reducer, d3 = {}, B1 = g1({
|
|
279
279
|
name: "devices",
|
|
280
280
|
initialState: d3,
|
|
281
281
|
reducers: {
|
|
@@ -289,7 +289,7 @@ const H6 = C1, K6 = (e) => w(
|
|
|
289
289
|
return d3;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}),
|
|
292
|
+
}), e1 = {
|
|
293
293
|
setDeviceState: B1.actions.setDeviceState,
|
|
294
294
|
clearDevices: B1.actions.clearDevices
|
|
295
295
|
}, x8 = B1.reducer, h3 = {}, O1 = g1({
|
|
@@ -306,7 +306,7 @@ const H6 = C1, K6 = (e) => w(
|
|
|
306
306
|
return h3;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
}),
|
|
309
|
+
}), t1 = {
|
|
310
310
|
setRoomState: O1.actions.setRoomState,
|
|
311
311
|
clearRooms: O1.actions.clearRooms
|
|
312
312
|
}, M8 = O1.reducer, m8 = {
|
|
@@ -368,8 +368,8 @@ const H6 = C1, K6 = (e) => w(
|
|
|
368
368
|
e.touchpanelKey = t.payload;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
}),
|
|
372
|
-
appConfig:
|
|
371
|
+
}), F = b3.actions, Z8 = b3.reducer, j8 = a2({
|
|
372
|
+
appConfig: w8,
|
|
373
373
|
runtimeConfig: Z8,
|
|
374
374
|
rooms: M8,
|
|
375
375
|
devices: x8,
|
|
@@ -378,7 +378,7 @@ const H6 = C1, K6 = (e) => w(
|
|
|
378
378
|
reducer: j8
|
|
379
379
|
}), V1 = n2.create();
|
|
380
380
|
function C8() {
|
|
381
|
-
const e =
|
|
381
|
+
const e = p2();
|
|
382
382
|
return async () => {
|
|
383
383
|
try {
|
|
384
384
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
@@ -386,9 +386,9 @@ function C8() {
|
|
|
386
386
|
const o = `/${t.join("/")}`, c = await V1.get("/_local-config/_config.local.json", { baseURL: o });
|
|
387
387
|
if (c.status == 200 && c.data) {
|
|
388
388
|
const r = c.data.apiPath;
|
|
389
|
-
e(
|
|
389
|
+
e(p8.setAppConfig(c.data));
|
|
390
390
|
const i = await V1.get(`${r}/version`);
|
|
391
|
-
i.status == 200 && i.data && e(
|
|
391
|
+
i.status == 200 && i.data && e(F.setRuntimeConfig(i.data));
|
|
392
392
|
}
|
|
393
393
|
} catch (t) {
|
|
394
394
|
console.error("Error getting config", t);
|
|
@@ -410,13 +410,13 @@ var v3;
|
|
|
410
410
|
function S8() {
|
|
411
411
|
if (v3) return u1;
|
|
412
412
|
v3 = 1;
|
|
413
|
-
var e =
|
|
414
|
-
function d(a,
|
|
415
|
-
var h,
|
|
416
|
-
x !== void 0 && (D = "" + x),
|
|
417
|
-
for (h in
|
|
418
|
-
if (a && a.defaultProps) for (h in
|
|
419
|
-
return { $$typeof: t, type: a, key: D, ref:
|
|
413
|
+
var e = w3, 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, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
414
|
+
function d(a, g, x) {
|
|
415
|
+
var h, I = {}, D = null, H = null;
|
|
416
|
+
x !== void 0 && (D = "" + x), g.key !== void 0 && (D = "" + g.key), g.ref !== void 0 && (H = g.ref);
|
|
417
|
+
for (h in g) c.call(g, h) && !i.hasOwnProperty(h) && (I[h] = g[h]);
|
|
418
|
+
if (a && a.defaultProps) for (h in g = a.defaultProps, g) I[h] === void 0 && (I[h] = g[h]);
|
|
419
|
+
return { $$typeof: t, type: a, key: D, ref: H, props: I, _owner: r.current };
|
|
420
420
|
}
|
|
421
421
|
return u1.Fragment = o, u1.jsx = d, u1.jsxs = d, u1;
|
|
422
422
|
}
|
|
@@ -433,51 +433,51 @@ var d1 = {};
|
|
|
433
433
|
var g3;
|
|
434
434
|
function b8() {
|
|
435
435
|
return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
436
|
-
var e =
|
|
436
|
+
var e = w3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), V = Symbol.iterator, Q = "@@iterator";
|
|
437
437
|
function r1(n) {
|
|
438
438
|
if (n === null || typeof n != "object")
|
|
439
439
|
return null;
|
|
440
|
-
var l =
|
|
440
|
+
var l = V && n[V] || n[Q];
|
|
441
441
|
return typeof l == "function" ? l : null;
|
|
442
442
|
}
|
|
443
443
|
var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
444
444
|
function A(n) {
|
|
445
445
|
{
|
|
446
|
-
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0),
|
|
447
|
-
u[
|
|
446
|
+
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
|
|
447
|
+
u[f - 1] = arguments[f];
|
|
448
448
|
S1("error", n, u);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
function S1(n, l, u) {
|
|
452
452
|
{
|
|
453
|
-
var
|
|
453
|
+
var f = $.ReactDebugCurrentFrame, S = f.getStackAddendum();
|
|
454
454
|
S !== "" && (l += "%s", u = u.concat([S]));
|
|
455
|
-
var
|
|
455
|
+
var R = u.map(function(Z) {
|
|
456
456
|
return String(Z);
|
|
457
457
|
});
|
|
458
|
-
|
|
458
|
+
R.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, R);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var b1 = !1,
|
|
462
|
-
|
|
461
|
+
var b1 = !1, P = !1, C = !1, f1 = !1, I1 = !1, J;
|
|
462
|
+
J = Symbol.for("react.module.reference");
|
|
463
463
|
function B(n) {
|
|
464
|
-
return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n ===
|
|
464
|
+
return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n === H || b1 || P || C || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === I || n.$$typeof === d || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
|
|
465
465
|
// types supported by any Flight configuration anywhere since
|
|
466
466
|
// we don't know which Flight build this will end up being used
|
|
467
467
|
// with.
|
|
468
|
-
n.$$typeof ===
|
|
468
|
+
n.$$typeof === J || n.getModuleId !== void 0));
|
|
469
469
|
}
|
|
470
|
-
function
|
|
471
|
-
var
|
|
472
|
-
if (
|
|
473
|
-
return
|
|
470
|
+
function y(n, l, u) {
|
|
471
|
+
var f = n.displayName;
|
|
472
|
+
if (f)
|
|
473
|
+
return f;
|
|
474
474
|
var S = l.displayName || l.name || "";
|
|
475
475
|
return S !== "" ? u + "(" + S + ")" : u;
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function q(n) {
|
|
478
478
|
return n.displayName || "Context";
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function U(n) {
|
|
481
481
|
if (n == null)
|
|
482
482
|
return null;
|
|
483
483
|
if (typeof n.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
@@ -502,19 +502,19 @@ function b8() {
|
|
|
502
502
|
switch (n.$$typeof) {
|
|
503
503
|
case a:
|
|
504
504
|
var l = n;
|
|
505
|
-
return
|
|
505
|
+
return q(l) + ".Consumer";
|
|
506
506
|
case d:
|
|
507
507
|
var u = n;
|
|
508
|
-
return
|
|
509
|
-
case
|
|
510
|
-
return
|
|
511
|
-
case
|
|
512
|
-
var
|
|
513
|
-
return
|
|
508
|
+
return q(u._context) + ".Provider";
|
|
509
|
+
case g:
|
|
510
|
+
return y(n, n.render, "ForwardRef");
|
|
511
|
+
case I:
|
|
512
|
+
var f = n.displayName || null;
|
|
513
|
+
return f !== null ? f : U(n.type) || "Memo";
|
|
514
514
|
case D: {
|
|
515
|
-
var S = n,
|
|
515
|
+
var S = n, R = S._payload, Z = S._init;
|
|
516
516
|
try {
|
|
517
|
-
return
|
|
517
|
+
return U(Z(R));
|
|
518
518
|
} catch {
|
|
519
519
|
return null;
|
|
520
520
|
}
|
|
@@ -522,7 +522,7 @@ function b8() {
|
|
|
522
522
|
}
|
|
523
523
|
return null;
|
|
524
524
|
}
|
|
525
|
-
var
|
|
525
|
+
var K = Object.assign, l1 = 0, W1, F1, H1, K1, G1, q1, Y1;
|
|
526
526
|
function z1() {
|
|
527
527
|
}
|
|
528
528
|
z1.__reactDisabledLog = !0;
|
|
@@ -549,7 +549,7 @@ function b8() {
|
|
|
549
549
|
l1++;
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function P3() {
|
|
553
553
|
{
|
|
554
554
|
if (l1--, l1 === 0) {
|
|
555
555
|
var n = {
|
|
@@ -558,25 +558,25 @@ function b8() {
|
|
|
558
558
|
writable: !0
|
|
559
559
|
};
|
|
560
560
|
Object.defineProperties(console, {
|
|
561
|
-
log:
|
|
561
|
+
log: K({}, n, {
|
|
562
562
|
value: W1
|
|
563
563
|
}),
|
|
564
|
-
info:
|
|
564
|
+
info: K({}, n, {
|
|
565
565
|
value: F1
|
|
566
566
|
}),
|
|
567
|
-
warn:
|
|
567
|
+
warn: K({}, n, {
|
|
568
568
|
value: H1
|
|
569
569
|
}),
|
|
570
|
-
error:
|
|
570
|
+
error: K({}, n, {
|
|
571
571
|
value: K1
|
|
572
572
|
}),
|
|
573
|
-
group:
|
|
573
|
+
group: K({}, n, {
|
|
574
574
|
value: G1
|
|
575
575
|
}),
|
|
576
|
-
groupCollapsed:
|
|
576
|
+
groupCollapsed: K({}, n, {
|
|
577
577
|
value: q1
|
|
578
578
|
}),
|
|
579
|
-
groupEnd:
|
|
579
|
+
groupEnd: K({}, n, {
|
|
580
580
|
value: Y1
|
|
581
581
|
})
|
|
582
582
|
});
|
|
@@ -585,38 +585,38 @@ function b8() {
|
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
var R1 = $.ReactCurrentDispatcher, y1;
|
|
588
|
-
function
|
|
588
|
+
function p1(n, l, u) {
|
|
589
589
|
{
|
|
590
590
|
if (y1 === void 0)
|
|
591
591
|
try {
|
|
592
592
|
throw Error();
|
|
593
593
|
} catch (S) {
|
|
594
|
-
var
|
|
595
|
-
y1 =
|
|
594
|
+
var f = S.stack.trim().match(/\n( *(at )?)/);
|
|
595
|
+
y1 = f && f[1] || "";
|
|
596
596
|
}
|
|
597
597
|
return `
|
|
598
598
|
` + y1 + n;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
var E1 = !1,
|
|
601
|
+
var E1 = !1, w1;
|
|
602
602
|
{
|
|
603
|
-
var
|
|
604
|
-
|
|
603
|
+
var T3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
604
|
+
w1 = new T3();
|
|
605
605
|
}
|
|
606
606
|
function J1(n, l) {
|
|
607
607
|
if (!n || E1)
|
|
608
608
|
return "";
|
|
609
609
|
{
|
|
610
|
-
var u =
|
|
610
|
+
var u = w1.get(n);
|
|
611
611
|
if (u !== void 0)
|
|
612
612
|
return u;
|
|
613
613
|
}
|
|
614
|
-
var
|
|
614
|
+
var f;
|
|
615
615
|
E1 = !0;
|
|
616
616
|
var S = Error.prepareStackTrace;
|
|
617
617
|
Error.prepareStackTrace = void 0;
|
|
618
|
-
var
|
|
619
|
-
|
|
618
|
+
var R;
|
|
619
|
+
R = R1.current, R1.current = null, E3();
|
|
620
620
|
try {
|
|
621
621
|
if (l) {
|
|
622
622
|
var Z = function() {
|
|
@@ -629,52 +629,52 @@ function b8() {
|
|
|
629
629
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
630
630
|
try {
|
|
631
631
|
Reflect.construct(Z, []);
|
|
632
|
-
} catch (
|
|
633
|
-
|
|
632
|
+
} catch (k) {
|
|
633
|
+
f = k;
|
|
634
634
|
}
|
|
635
635
|
Reflect.construct(n, [], Z);
|
|
636
636
|
} else {
|
|
637
637
|
try {
|
|
638
638
|
Z.call();
|
|
639
|
-
} catch (
|
|
640
|
-
|
|
639
|
+
} catch (k) {
|
|
640
|
+
f = k;
|
|
641
641
|
}
|
|
642
642
|
n.call(Z.prototype);
|
|
643
643
|
}
|
|
644
644
|
} else {
|
|
645
645
|
try {
|
|
646
646
|
throw Error();
|
|
647
|
-
} catch (
|
|
648
|
-
|
|
647
|
+
} catch (k) {
|
|
648
|
+
f = k;
|
|
649
649
|
}
|
|
650
650
|
n();
|
|
651
651
|
}
|
|
652
|
-
} catch (
|
|
653
|
-
if (
|
|
654
|
-
for (var M =
|
|
655
|
-
`), O =
|
|
656
|
-
`), T = M.length - 1,
|
|
657
|
-
|
|
658
|
-
for (; T >= 1 &&
|
|
659
|
-
if (M[T] !== O[
|
|
660
|
-
if (T !== 1 ||
|
|
652
|
+
} catch (k) {
|
|
653
|
+
if (k && f && typeof k.stack == "string") {
|
|
654
|
+
for (var M = k.stack.split(`
|
|
655
|
+
`), O = f.stack.split(`
|
|
656
|
+
`), T = M.length - 1, _ = O.length - 1; T >= 1 && _ >= 0 && M[T] !== O[_]; )
|
|
657
|
+
_--;
|
|
658
|
+
for (; T >= 1 && _ >= 0; T--, _--)
|
|
659
|
+
if (M[T] !== O[_]) {
|
|
660
|
+
if (T !== 1 || _ !== 1)
|
|
661
661
|
do
|
|
662
|
-
if (T--,
|
|
663
|
-
var
|
|
662
|
+
if (T--, _--, _ < 0 || M[T] !== O[_]) {
|
|
663
|
+
var W = `
|
|
664
664
|
` + M[T].replace(" at new ", " at ");
|
|
665
|
-
return n.displayName &&
|
|
665
|
+
return n.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", n.displayName)), typeof n == "function" && w1.set(n, W), W;
|
|
666
666
|
}
|
|
667
|
-
while (T >= 1 &&
|
|
667
|
+
while (T >= 1 && _ >= 0);
|
|
668
668
|
break;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
} finally {
|
|
672
|
-
E1 = !1, R1.current =
|
|
672
|
+
E1 = !1, R1.current = R, P3(), Error.prepareStackTrace = S;
|
|
673
673
|
}
|
|
674
|
-
var o1 = n ? n.displayName || n.name : "",
|
|
675
|
-
return typeof n == "function" &&
|
|
674
|
+
var o1 = n ? n.displayName || n.name : "", N = o1 ? p1(o1) : "";
|
|
675
|
+
return typeof n == "function" && w1.set(n, N), N;
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function _3(n, l, u) {
|
|
678
678
|
return J1(n, !1);
|
|
679
679
|
}
|
|
680
680
|
function L3(n) {
|
|
@@ -687,23 +687,23 @@ function b8() {
|
|
|
687
687
|
if (typeof n == "function")
|
|
688
688
|
return J1(n, L3(n));
|
|
689
689
|
if (typeof n == "string")
|
|
690
|
-
return
|
|
690
|
+
return p1(n);
|
|
691
691
|
switch (n) {
|
|
692
692
|
case x:
|
|
693
|
-
return
|
|
693
|
+
return p1("Suspense");
|
|
694
694
|
case h:
|
|
695
|
-
return
|
|
695
|
+
return p1("SuspenseList");
|
|
696
696
|
}
|
|
697
697
|
if (typeof n == "object")
|
|
698
698
|
switch (n.$$typeof) {
|
|
699
|
-
case
|
|
700
|
-
return
|
|
701
|
-
case
|
|
699
|
+
case g:
|
|
700
|
+
return _3(n.render);
|
|
701
|
+
case I:
|
|
702
702
|
return x1(n.type, l, u);
|
|
703
703
|
case D: {
|
|
704
|
-
var
|
|
704
|
+
var f = n, S = f._payload, R = f._init;
|
|
705
705
|
try {
|
|
706
|
-
return x1(
|
|
706
|
+
return x1(R(S), l, u);
|
|
707
707
|
} catch {
|
|
708
708
|
}
|
|
709
709
|
}
|
|
@@ -718,27 +718,27 @@ function b8() {
|
|
|
718
718
|
} else
|
|
719
719
|
Q1.setExtraStackFrame(null);
|
|
720
720
|
}
|
|
721
|
-
function D3(n, l, u,
|
|
721
|
+
function D3(n, l, u, f, S) {
|
|
722
722
|
{
|
|
723
|
-
var
|
|
723
|
+
var R = Function.call.bind(i1);
|
|
724
724
|
for (var Z in n)
|
|
725
|
-
if (
|
|
725
|
+
if (R(n, Z)) {
|
|
726
726
|
var M = void 0;
|
|
727
727
|
try {
|
|
728
728
|
if (typeof n[Z] != "function") {
|
|
729
|
-
var O = Error((
|
|
729
|
+
var O = Error((f || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
730
730
|
throw O.name = "Invariant Violation", O;
|
|
731
731
|
}
|
|
732
|
-
M = n[Z](l, Z,
|
|
732
|
+
M = n[Z](l, Z, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
733
733
|
} catch (T) {
|
|
734
734
|
M = T;
|
|
735
735
|
}
|
|
736
|
-
M && !(M instanceof Error) && (M1(S), A("%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).",
|
|
736
|
+
M && !(M instanceof Error) && (M1(S), A("%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).", f || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(S), A("Failed %s type: %s", u, M.message), M1(null));
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
740
|
var $3 = Array.isArray;
|
|
741
|
-
function
|
|
741
|
+
function P1(n) {
|
|
742
742
|
return $3(n);
|
|
743
743
|
}
|
|
744
744
|
function A3(n) {
|
|
@@ -808,7 +808,7 @@ function b8() {
|
|
|
808
808
|
});
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
|
-
var H3 = function(n, l, u,
|
|
811
|
+
var H3 = function(n, l, u, f, S, R, Z) {
|
|
812
812
|
var M = {
|
|
813
813
|
// This tag allows us to uniquely identify this as a React Element
|
|
814
814
|
$$typeof: t,
|
|
@@ -818,7 +818,7 @@ function b8() {
|
|
|
818
818
|
ref: u,
|
|
819
819
|
props: Z,
|
|
820
820
|
// Record the component responsible for creating this element.
|
|
821
|
-
_owner:
|
|
821
|
+
_owner: R
|
|
822
822
|
};
|
|
823
823
|
return M._store = {}, Object.defineProperty(M._store, "validated", {
|
|
824
824
|
configurable: !1,
|
|
@@ -829,7 +829,7 @@ function b8() {
|
|
|
829
829
|
configurable: !1,
|
|
830
830
|
enumerable: !1,
|
|
831
831
|
writable: !1,
|
|
832
|
-
value:
|
|
832
|
+
value: f
|
|
833
833
|
}), Object.defineProperty(M, "_source", {
|
|
834
834
|
configurable: !1,
|
|
835
835
|
enumerable: !1,
|
|
@@ -837,25 +837,25 @@ function b8() {
|
|
|
837
837
|
value: S
|
|
838
838
|
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
839
839
|
};
|
|
840
|
-
function K3(n, l, u,
|
|
840
|
+
function K3(n, l, u, f, S) {
|
|
841
841
|
{
|
|
842
|
-
var
|
|
842
|
+
var R, Z = {}, M = null, O = null;
|
|
843
843
|
u !== void 0 && (e3(u), M = "" + u), k3(l) && (e3(l.key), M = "" + l.key), V3(l) && (O = l.ref, U3(l, S));
|
|
844
|
-
for (
|
|
845
|
-
i1.call(l,
|
|
844
|
+
for (R in l)
|
|
845
|
+
i1.call(l, R) && !O3.hasOwnProperty(R) && (Z[R] = l[R]);
|
|
846
846
|
if (n && n.defaultProps) {
|
|
847
847
|
var T = n.defaultProps;
|
|
848
|
-
for (
|
|
849
|
-
Z[
|
|
848
|
+
for (R in T)
|
|
849
|
+
Z[R] === void 0 && (Z[R] = T[R]);
|
|
850
850
|
}
|
|
851
851
|
if (M || O) {
|
|
852
|
-
var
|
|
853
|
-
M && W3(Z,
|
|
852
|
+
var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
853
|
+
M && W3(Z, _), O && F3(Z, _);
|
|
854
854
|
}
|
|
855
|
-
return H3(n, M, O, S,
|
|
855
|
+
return H3(n, M, O, S, f, t3.current, Z);
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
-
var
|
|
858
|
+
var T1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
|
|
859
859
|
function s1(n) {
|
|
860
860
|
if (n) {
|
|
861
861
|
var l = n._owner, u = x1(n.type, n._source, l ? l.type : null);
|
|
@@ -863,15 +863,15 @@ function b8() {
|
|
|
863
863
|
} else
|
|
864
864
|
n3.setExtraStackFrame(null);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
867
|
-
|
|
866
|
+
var _1;
|
|
867
|
+
_1 = !1;
|
|
868
868
|
function L1(n) {
|
|
869
869
|
return typeof n == "object" && n !== null && n.$$typeof === t;
|
|
870
870
|
}
|
|
871
871
|
function c3() {
|
|
872
872
|
{
|
|
873
|
-
if (
|
|
874
|
-
var n =
|
|
873
|
+
if (T1.current) {
|
|
874
|
+
var n = U(T1.current.type);
|
|
875
875
|
if (n)
|
|
876
876
|
return `
|
|
877
877
|
|
|
@@ -905,25 +905,25 @@ Check the top-level render call using <` + u + ">.");
|
|
|
905
905
|
if (r3[u])
|
|
906
906
|
return;
|
|
907
907
|
r3[u] = !0;
|
|
908
|
-
var
|
|
909
|
-
n && n._owner && n._owner !==
|
|
908
|
+
var f = "";
|
|
909
|
+
n && n._owner && n._owner !== T1.current && (f = " It was passed a child from " + U(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), s1(null);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
function i3(n, l) {
|
|
913
913
|
{
|
|
914
914
|
if (typeof n != "object")
|
|
915
915
|
return;
|
|
916
|
-
if (
|
|
916
|
+
if (P1(n))
|
|
917
917
|
for (var u = 0; u < n.length; u++) {
|
|
918
|
-
var
|
|
919
|
-
L1(
|
|
918
|
+
var f = n[u];
|
|
919
|
+
L1(f) && l3(f, l);
|
|
920
920
|
}
|
|
921
921
|
else if (L1(n))
|
|
922
922
|
n._store && (n._store.validated = !0);
|
|
923
923
|
else if (n) {
|
|
924
924
|
var S = r1(n);
|
|
925
925
|
if (typeof S == "function" && S !== n.entries)
|
|
926
|
-
for (var
|
|
926
|
+
for (var R = S.call(n), Z; !(Z = R.next()).done; )
|
|
927
927
|
L1(Z.value) && l3(Z.value, l);
|
|
928
928
|
}
|
|
929
929
|
}
|
|
@@ -936,18 +936,18 @@ Check the top-level render call using <` + u + ">.");
|
|
|
936
936
|
var u;
|
|
937
937
|
if (typeof l == "function")
|
|
938
938
|
u = l.propTypes;
|
|
939
|
-
else if (typeof l == "object" && (l.$$typeof ===
|
|
939
|
+
else if (typeof l == "object" && (l.$$typeof === g || // Note: Memo only checks outer props here.
|
|
940
940
|
// Inner props are checked in the reconciler.
|
|
941
|
-
l.$$typeof ===
|
|
941
|
+
l.$$typeof === I))
|
|
942
942
|
u = l.propTypes;
|
|
943
943
|
else
|
|
944
944
|
return;
|
|
945
945
|
if (u) {
|
|
946
|
-
var
|
|
947
|
-
D3(u, n.props, "prop",
|
|
948
|
-
} else if (l.PropTypes !== void 0 && !
|
|
949
|
-
|
|
950
|
-
var S =
|
|
946
|
+
var f = U(l);
|
|
947
|
+
D3(u, n.props, "prop", f, n);
|
|
948
|
+
} else if (l.PropTypes !== void 0 && !_1) {
|
|
949
|
+
_1 = !0;
|
|
950
|
+
var S = U(l);
|
|
951
951
|
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
|
|
952
952
|
}
|
|
953
953
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -956,9 +956,9 @@ Check the top-level render call using <` + u + ">.");
|
|
|
956
956
|
function z3(n) {
|
|
957
957
|
{
|
|
958
958
|
for (var l = Object.keys(n.props), u = 0; u < l.length; u++) {
|
|
959
|
-
var
|
|
960
|
-
if (
|
|
961
|
-
s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
959
|
+
var f = l[u];
|
|
960
|
+
if (f !== "children" && f !== "key") {
|
|
961
|
+
s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), s1(null);
|
|
962
962
|
break;
|
|
963
963
|
}
|
|
964
964
|
}
|
|
@@ -966,7 +966,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
968
|
var a3 = {};
|
|
969
|
-
function u3(n, l, u,
|
|
969
|
+
function u3(n, l, u, f, S, R) {
|
|
970
970
|
{
|
|
971
971
|
var Z = B(n);
|
|
972
972
|
if (!Z) {
|
|
@@ -975,39 +975,39 @@ Check the top-level render call using <` + u + ">.");
|
|
|
975
975
|
var O = G3();
|
|
976
976
|
O ? M += O : M += c3();
|
|
977
977
|
var T;
|
|
978
|
-
n === null ? T = "null" :
|
|
978
|
+
n === null ? T = "null" : P1(n) ? T = "array" : n !== void 0 && n.$$typeof === t ? (T = "<" + (U(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
|
|
979
979
|
}
|
|
980
|
-
var
|
|
981
|
-
if (
|
|
982
|
-
return
|
|
980
|
+
var _ = K3(n, l, u, S, R);
|
|
981
|
+
if (_ == null)
|
|
982
|
+
return _;
|
|
983
983
|
if (Z) {
|
|
984
|
-
var
|
|
985
|
-
if (
|
|
986
|
-
if (
|
|
987
|
-
if (
|
|
988
|
-
for (var o1 = 0; o1 <
|
|
989
|
-
i3(
|
|
990
|
-
Object.freeze && Object.freeze(
|
|
984
|
+
var W = l.children;
|
|
985
|
+
if (W !== void 0)
|
|
986
|
+
if (f)
|
|
987
|
+
if (P1(W)) {
|
|
988
|
+
for (var o1 = 0; o1 < W.length; o1++)
|
|
989
|
+
i3(W[o1], n);
|
|
990
|
+
Object.freeze && Object.freeze(W);
|
|
991
991
|
} else
|
|
992
992
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
993
993
|
else
|
|
994
|
-
i3(
|
|
994
|
+
i3(W, n);
|
|
995
995
|
}
|
|
996
996
|
if (i1.call(l, "key")) {
|
|
997
|
-
var
|
|
997
|
+
var N = U(n), k = Object.keys(l).filter(function(t2) {
|
|
998
998
|
return t2 !== "key";
|
|
999
|
-
}), D1 =
|
|
1000
|
-
if (!a3[
|
|
1001
|
-
var e2 =
|
|
999
|
+
}), D1 = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1000
|
+
if (!a3[N + D1]) {
|
|
1001
|
+
var e2 = k.length > 0 ? "{" + k.join(": ..., ") + ": ...}" : "{}";
|
|
1002
1002
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1003
1003
|
let props = %s;
|
|
1004
1004
|
<%s {...props} />
|
|
1005
1005
|
React keys must be passed directly to JSX without using spread:
|
|
1006
1006
|
let props = %s;
|
|
1007
|
-
<%s key={someKey} {...props} />`, D1,
|
|
1007
|
+
<%s key={someKey} {...props} />`, D1, N, e2, N), a3[N + D1] = !0;
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
|
-
return n === c ? z3(
|
|
1010
|
+
return n === c ? z3(_) : Y3(_), _;
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
1013
|
function J3(n, l, u) {
|
|
@@ -1041,154 +1041,197 @@ const R8 = "_mwfit_ppa3l_1", y8 = {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
) });
|
|
1043
1043
|
};
|
|
1044
|
-
class
|
|
1044
|
+
class P8 {
|
|
1045
1045
|
constructor() {
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1046
|
+
Y(this, "uuid", "current-uuid");
|
|
1047
|
+
Y(this, "roomKey", "current-room-key");
|
|
1048
|
+
Y(this, "code", "current-code");
|
|
1049
|
+
Y(this, "expiry", "current-uuid-expires");
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
|
-
const
|
|
1052
|
+
const p3 = new P8(), I3 = d2({
|
|
1053
1053
|
sendMessage: () => null,
|
|
1054
1054
|
sendSimpleMessage: () => null,
|
|
1055
1055
|
addEventHandler: () => null,
|
|
1056
1056
|
removeEventHandler: () => null,
|
|
1057
1057
|
reconnect: () => null
|
|
1058
1058
|
});
|
|
1059
|
-
function
|
|
1059
|
+
function T8(e) {
|
|
1060
1060
|
return sessionStorage.getItem(e) || "";
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1062
|
+
function _8(e, t) {
|
|
1063
1063
|
sessionStorage.setItem(e, t);
|
|
1064
1064
|
}
|
|
1065
1065
|
const L8 = ({ children: e }) => {
|
|
1066
|
-
const [t, o] =
|
|
1067
|
-
async (
|
|
1066
|
+
const [t, o] = G(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), g = o8(), x = n8(), h = c8(), I = v1(null), [D, H] = G(), V = v1({}), Q = a1(
|
|
1067
|
+
async (P) => {
|
|
1068
1068
|
try {
|
|
1069
|
-
const C = await V1.get(
|
|
1070
|
-
|
|
1069
|
+
const C = await V1.get(
|
|
1070
|
+
`${P}/ui/joinroom?token=${t}`
|
|
1071
|
+
);
|
|
1072
|
+
return C.status === 200 && C.data ? (m.dispatch(F.setRoomData(C.data)), !0) : !1;
|
|
1071
1073
|
} catch (C) {
|
|
1072
|
-
return console.log(C), h ? !0 : C instanceof c2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
|
|
1074
|
+
return console.log(C), h ? !0 : C instanceof c2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
|
|
1075
|
+
z.setErrorMessage(
|
|
1076
|
+
`Token ${t} is invalid. Unable to join room`
|
|
1077
|
+
)
|
|
1078
|
+
), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(z.setErrorMessage(C.message)) : m.dispatch(z.setErrorMessage("Error getting room data")), !1);
|
|
1073
1079
|
}
|
|
1074
1080
|
},
|
|
1075
1081
|
[t, h]
|
|
1076
1082
|
), r1 = a1(() => {
|
|
1077
|
-
const
|
|
1078
|
-
window.location.href = x ? `${
|
|
1079
|
-
}, [a.gatewayAppPath, r,
|
|
1080
|
-
(
|
|
1081
|
-
|
|
1083
|
+
const P = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
|
|
1084
|
+
window.location.href = x ? `${P}&Code=${x}` : P;
|
|
1085
|
+
}, [a.gatewayAppPath, r, g, x]), $ = a1(
|
|
1086
|
+
(P, C) => {
|
|
1087
|
+
I.current && c && I.current.send(JSON.stringify({ type: P, clientId: i, content: C }));
|
|
1082
1088
|
},
|
|
1083
1089
|
[c, i]
|
|
1084
|
-
), A = (
|
|
1085
|
-
$(
|
|
1090
|
+
), A = (P, C) => {
|
|
1091
|
+
$(P, { value: C });
|
|
1086
1092
|
}, S1 = a1(
|
|
1087
|
-
(
|
|
1088
|
-
|
|
1093
|
+
(P, C, f1) => {
|
|
1094
|
+
V.current[P] || (V.current[P] = {}), V.current[P][C] = f1, console.log("event handler added", P, C);
|
|
1089
1095
|
},
|
|
1090
1096
|
[]
|
|
1091
|
-
), b1 = a1((
|
|
1092
|
-
|
|
1097
|
+
), b1 = a1((P, C) => {
|
|
1098
|
+
V.current[P] && (delete V.current[P][C], console.log("event handler removed", P, C));
|
|
1093
1099
|
}, []);
|
|
1094
1100
|
return n1(() => {
|
|
1095
1101
|
let C = new URLSearchParams(window.location.search).get("token");
|
|
1096
|
-
C ? (console.log("saving token: ", C),
|
|
1097
|
-
}, []), console.log(
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1102
|
+
C ? (console.log("saving token: ", C), _8(p3.uuid, C)) : (C = T8(p3.uuid), console.log("loading token: ", C)), o(C), d();
|
|
1103
|
+
}, []), console.log(
|
|
1104
|
+
"connection dependencies",
|
|
1105
|
+
a.apiPath,
|
|
1106
|
+
Q,
|
|
1107
|
+
t,
|
|
1108
|
+
D,
|
|
1109
|
+
h
|
|
1110
|
+
), n1(() => {
|
|
1111
|
+
async function P() {
|
|
1112
|
+
if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await Q(a.apiPath)) return;
|
|
1113
|
+
if (I.current) {
|
|
1101
1114
|
console.log("websocket exists");
|
|
1102
1115
|
return;
|
|
1103
1116
|
}
|
|
1104
1117
|
console.log("connecting to websocket");
|
|
1105
|
-
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`,
|
|
1106
|
-
|
|
1107
|
-
console.log("connected", B.type, B.target), m.dispatch(
|
|
1108
|
-
},
|
|
1118
|
+
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, J = new WebSocket(I1);
|
|
1119
|
+
I.current = J, J.onopen = (B) => {
|
|
1120
|
+
console.log("connected", B.type, B.target), m.dispatch(F.setWebsocketIsConnected(!0));
|
|
1121
|
+
}, J.onerror = (B) => {
|
|
1109
1122
|
console.error("Websocket error", B);
|
|
1110
|
-
},
|
|
1123
|
+
}, J.onclose = (B) => {
|
|
1111
1124
|
if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
|
|
1112
|
-
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(
|
|
1125
|
+
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(z.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1113
1126
|
return;
|
|
1114
1127
|
}
|
|
1115
|
-
if (
|
|
1116
|
-
console.log("user code changed"), m.dispatch(
|
|
1128
|
+
if (H(!0), B.code === 4e3) {
|
|
1129
|
+
console.log("user code changed"), m.dispatch(
|
|
1130
|
+
F.setUserCode({ userCode: "", qrUrl: "" })
|
|
1131
|
+
), m.dispatch(
|
|
1132
|
+
z.setErrorMessage(
|
|
1133
|
+
"User code changed. Click reconnect to enter the new code"
|
|
1134
|
+
)
|
|
1135
|
+
), m.dispatch(z.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1117
1136
|
return;
|
|
1118
1137
|
}
|
|
1119
1138
|
if (B.code === 4001 && !h) {
|
|
1120
|
-
console.log("processor disconnected"), m.dispatch(
|
|
1139
|
+
console.log("processor disconnected"), m.dispatch(
|
|
1140
|
+
z.setErrorMessage(
|
|
1141
|
+
"Processor has disconnected. Click Reconnect"
|
|
1142
|
+
)
|
|
1143
|
+
), m.dispatch(z.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1121
1144
|
return;
|
|
1122
1145
|
}
|
|
1123
1146
|
if (B.code === 4002) {
|
|
1124
|
-
console.log("room combination changed"), m.dispatch(
|
|
1147
|
+
console.log("room combination changed"), m.dispatch(
|
|
1148
|
+
z.setErrorMessage(
|
|
1149
|
+
"Room combination changed. Click Reconnect to re-join the room"
|
|
1150
|
+
)
|
|
1151
|
+
), m.dispatch(z.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1125
1152
|
return;
|
|
1126
1153
|
}
|
|
1127
|
-
if (
|
|
1154
|
+
if (I.current)
|
|
1128
1155
|
console.log("WebSocket closed by server.");
|
|
1129
1156
|
else {
|
|
1130
1157
|
console.log("WebSocket closed by client.");
|
|
1131
1158
|
return;
|
|
1132
1159
|
}
|
|
1133
|
-
console.log("websocket waitingToReconnect", D), !D && (console.log("websocket clearing state on disconnect"), m.dispatch(
|
|
1134
|
-
},
|
|
1160
|
+
console.log("websocket waitingToReconnect", D), !D && (console.log("websocket clearing state on disconnect"), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms()), setTimeout(() => H(void 0), 5e3));
|
|
1161
|
+
}, J.onmessage = (B) => {
|
|
1135
1162
|
try {
|
|
1136
|
-
const
|
|
1137
|
-
if (console.log(
|
|
1138
|
-
|
|
1163
|
+
const y = JSON.parse(B.data);
|
|
1164
|
+
if (console.log(y), y.type === "close") {
|
|
1165
|
+
J.close(4001, y.content);
|
|
1139
1166
|
return;
|
|
1140
1167
|
}
|
|
1141
|
-
if (
|
|
1142
|
-
switch (
|
|
1168
|
+
if (y.type.startsWith("/system/"))
|
|
1169
|
+
switch (y.type) {
|
|
1143
1170
|
case "/system/touchpanelKey":
|
|
1144
1171
|
m.dispatch(
|
|
1145
|
-
|
|
1146
|
-
|
|
1172
|
+
F.setTouchpanelKey(
|
|
1173
|
+
y.content
|
|
1147
1174
|
)
|
|
1148
1175
|
);
|
|
1149
1176
|
break;
|
|
1150
1177
|
case "/system/roomKey": {
|
|
1151
|
-
m.dispatch(
|
|
1152
|
-
|
|
1153
|
-
|
|
1178
|
+
m.dispatch(t1.clearRooms()), m.dispatch(e1.clearDevices()), m.dispatch(
|
|
1179
|
+
F.setCurrentRoomKey(
|
|
1180
|
+
y.content
|
|
1154
1181
|
)
|
|
1155
1182
|
);
|
|
1156
1183
|
break;
|
|
1157
1184
|
}
|
|
1158
1185
|
case "/system/userCodeChanged":
|
|
1159
1186
|
m.dispatch(
|
|
1160
|
-
|
|
1161
|
-
E.content
|
|
1162
|
-
)
|
|
1187
|
+
F.setUserCode(y.content)
|
|
1163
1188
|
);
|
|
1164
1189
|
break;
|
|
1165
|
-
case "/system/roomCombinationChanged":
|
|
1166
|
-
|
|
1190
|
+
case "/system/roomCombinationChanged": {
|
|
1191
|
+
console.log("event message received", y);
|
|
1192
|
+
const q = V.current[y.type];
|
|
1193
|
+
q || (console.log(
|
|
1194
|
+
"no handlers found for room combination changed. Reloading application.",
|
|
1195
|
+
y.type
|
|
1196
|
+
), window.location.reload()), q && Object.values(q).forEach((U) => {
|
|
1197
|
+
try {
|
|
1198
|
+
U(y);
|
|
1199
|
+
} catch (K) {
|
|
1200
|
+
console.error(K);
|
|
1201
|
+
}
|
|
1202
|
+
});
|
|
1167
1203
|
break;
|
|
1204
|
+
}
|
|
1168
1205
|
default:
|
|
1169
|
-
console.log("unhandled system message",
|
|
1206
|
+
console.log("unhandled system message", y);
|
|
1170
1207
|
break;
|
|
1171
1208
|
}
|
|
1172
|
-
else if (
|
|
1173
|
-
console.log("event message received",
|
|
1174
|
-
const
|
|
1175
|
-
|
|
1209
|
+
else if (y.type.startsWith("/event/")) {
|
|
1210
|
+
console.log("event message received", y);
|
|
1211
|
+
const q = V.current[y.type];
|
|
1212
|
+
q || console.log("no handlers found for event type", y.type), q && Object.values(q).forEach((U) => {
|
|
1176
1213
|
try {
|
|
1177
|
-
|
|
1178
|
-
} catch (
|
|
1179
|
-
console.error(
|
|
1214
|
+
U(y);
|
|
1215
|
+
} catch (K) {
|
|
1216
|
+
console.error(K);
|
|
1180
1217
|
}
|
|
1181
1218
|
});
|
|
1182
|
-
} else
|
|
1183
|
-
} catch (
|
|
1184
|
-
console.error("websocket message handling error",
|
|
1219
|
+
} else y.type.startsWith("/room/") ? m.dispatch(t1.setRoomState(y)) : y.type.startsWith("/device/") && m.dispatch(e1.setDeviceState(y));
|
|
1220
|
+
} catch (y) {
|
|
1221
|
+
console.error("websocket message handling error", y);
|
|
1185
1222
|
}
|
|
1186
1223
|
};
|
|
1187
1224
|
}
|
|
1188
|
-
return
|
|
1189
|
-
|
|
1225
|
+
return P(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
|
|
1226
|
+
I.current && (console.log("closing websocket dev mode"), I.current.close(4100, "app running in dev mode"), I.current = null);
|
|
1190
1227
|
};
|
|
1191
|
-
}, [
|
|
1228
|
+
}, [
|
|
1229
|
+
a.apiPath,
|
|
1230
|
+
Q,
|
|
1231
|
+
t,
|
|
1232
|
+
D,
|
|
1233
|
+
h
|
|
1234
|
+
]), n1(() => {
|
|
1192
1235
|
!r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
|
|
1193
1236
|
}, [r, i, c, $]), /* @__PURE__ */ s.jsx(
|
|
1194
1237
|
I3.Provider,
|
|
@@ -1203,7 +1246,7 @@ const L8 = ({ children: e }) => {
|
|
|
1203
1246
|
children: c ? e : /* @__PURE__ */ s.jsx(E8, {})
|
|
1204
1247
|
}
|
|
1205
1248
|
);
|
|
1206
|
-
},
|
|
1249
|
+
}, pe = ({ children: e }) => /* @__PURE__ */ s.jsx(i2, { store: m, children: /* @__PURE__ */ s.jsx(L8, { children: e }) });
|
|
1207
1250
|
function b() {
|
|
1208
1251
|
return h2(I3);
|
|
1209
1252
|
}
|
|
@@ -1222,16 +1265,16 @@ function D8({
|
|
|
1222
1265
|
function a() {
|
|
1223
1266
|
i.current = !1, t == null || t(), r.current && (clearTimeout(r.current), r.current = null);
|
|
1224
1267
|
}
|
|
1225
|
-
function
|
|
1268
|
+
function g() {
|
|
1226
1269
|
i.current && a();
|
|
1227
1270
|
}
|
|
1228
1271
|
return {
|
|
1229
1272
|
onPointerDown: d,
|
|
1230
1273
|
onPointerUp: a,
|
|
1231
|
-
onPointerLeave:
|
|
1274
|
+
onPointerLeave: g
|
|
1232
1275
|
};
|
|
1233
1276
|
}
|
|
1234
|
-
function
|
|
1277
|
+
function v(e, t) {
|
|
1235
1278
|
const { sendMessage: c } = b(), r = v1(null);
|
|
1236
1279
|
function i() {
|
|
1237
1280
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
@@ -1244,7 +1287,7 @@ function g(e, t) {
|
|
|
1244
1287
|
return D8({ onPress: i, onRelease: d });
|
|
1245
1288
|
}
|
|
1246
1289
|
function R3(e, t) {
|
|
1247
|
-
const { sendMessage: o, sendSimpleMessage: c } = b(), r =
|
|
1290
|
+
const { sendMessage: o, sendSimpleMessage: c } = b(), r = v(`${e}`, "volumeUp"), i = v(`${e}`, "volumeDown");
|
|
1248
1291
|
return t ? {
|
|
1249
1292
|
volumeState: t,
|
|
1250
1293
|
volumeUp: r,
|
|
@@ -1255,8 +1298,8 @@ function R3(e, t) {
|
|
|
1255
1298
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
1256
1299
|
} : void 0;
|
|
1257
1300
|
}
|
|
1258
|
-
function
|
|
1259
|
-
const { sendMessage: o, sendSimpleMessage: c } = b(), r =
|
|
1301
|
+
function we(e, t) {
|
|
1302
|
+
const { sendMessage: o, sendSimpleMessage: c } = b(), r = v(`${e}`, "volumeUp"), i = v(`${e}`, "volumeDown");
|
|
1260
1303
|
return t ? {
|
|
1261
1304
|
volumeState: t,
|
|
1262
1305
|
volumeUp: r,
|
|
@@ -1268,7 +1311,7 @@ function pe(e, t) {
|
|
|
1268
1311
|
} : void 0;
|
|
1269
1312
|
}
|
|
1270
1313
|
function $8(e) {
|
|
1271
|
-
const t =
|
|
1314
|
+
const t = E(e), o = `/device/${e}`;
|
|
1272
1315
|
return R3(o, t == null ? void 0 : t.volume);
|
|
1273
1316
|
}
|
|
1274
1317
|
function y3(e) {
|
|
@@ -1282,13 +1325,13 @@ function y3(e) {
|
|
|
1282
1325
|
} };
|
|
1283
1326
|
}
|
|
1284
1327
|
function k1(e) {
|
|
1285
|
-
const { sendMessage: t } = b(), o =
|
|
1328
|
+
const { sendMessage: t } = b(), o = E(e);
|
|
1286
1329
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1287
1330
|
t(`/device/${e}/${r}`, null);
|
|
1288
1331
|
} } : void 0;
|
|
1289
1332
|
}
|
|
1290
1333
|
function A8(e) {
|
|
1291
|
-
const { sendMessage: t } = b(), o =
|
|
1334
|
+
const { sendMessage: t } = b(), o = E(e), c = () => {
|
|
1292
1335
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1293
1336
|
}, r = () => {
|
|
1294
1337
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
@@ -1299,7 +1342,7 @@ function A8(e) {
|
|
|
1299
1342
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1300
1343
|
}
|
|
1301
1344
|
function xe(e) {
|
|
1302
|
-
const t =
|
|
1345
|
+
const t = E(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
|
|
1303
1346
|
if (t)
|
|
1304
1347
|
return {
|
|
1305
1348
|
avrState: t,
|
|
@@ -1310,8 +1353,22 @@ function xe(e) {
|
|
|
1310
1353
|
mainVolumeControl: i
|
|
1311
1354
|
};
|
|
1312
1355
|
}
|
|
1313
|
-
|
|
1314
|
-
const
|
|
1356
|
+
function Me(e) {
|
|
1357
|
+
const { sendMessage: t } = b(), o = `/device/${e}`, c = E(e), r = v(o, "cameraUp"), i = v(o, "cameraDown"), d = v(o, "cameraLeft"), a = v(o, "cameraRight"), g = v(o, "cameraZoomIn"), x = v(o, "cameraZoomOut"), h = (I) => t("/camera/recallPreset", I);
|
|
1358
|
+
if (c)
|
|
1359
|
+
return {
|
|
1360
|
+
state: c,
|
|
1361
|
+
zoomIn: g,
|
|
1362
|
+
zoomOut: x,
|
|
1363
|
+
up: r,
|
|
1364
|
+
down: i,
|
|
1365
|
+
left: d,
|
|
1366
|
+
right: a,
|
|
1367
|
+
recallPreset: h
|
|
1368
|
+
};
|
|
1369
|
+
}
|
|
1370
|
+
const me = ({ className: e }) => {
|
|
1371
|
+
const [t, o] = G();
|
|
1315
1372
|
return n1(() => {
|
|
1316
1373
|
setInterval(() => {
|
|
1317
1374
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1322,102 +1379,111 @@ const Me = ({ className: e }) => {
|
|
|
1322
1379
|
" new change"
|
|
1323
1380
|
] });
|
|
1324
1381
|
};
|
|
1325
|
-
function
|
|
1326
|
-
const { sendMessage: t } = b(), o =
|
|
1382
|
+
function Ze(e) {
|
|
1383
|
+
const { sendMessage: t } = b(), o = E(e), c = `/device/${e}`;
|
|
1327
1384
|
return o ? { state: o, recallPreset: (d, a) => {
|
|
1328
1385
|
t(`${c}/presets/recall`, { deviceKey: d, preset: a });
|
|
1329
1386
|
}, savePresets: (d) => {
|
|
1330
1387
|
t(`${c}/presets/save`, d);
|
|
1331
1388
|
} } : void 0;
|
|
1332
1389
|
}
|
|
1333
|
-
function
|
|
1334
|
-
const t =
|
|
1390
|
+
function je(e) {
|
|
1391
|
+
const t = E(e);
|
|
1335
1392
|
if (t)
|
|
1336
1393
|
return { endpointState: t };
|
|
1337
1394
|
}
|
|
1338
|
-
function
|
|
1339
|
-
const t = `/device/${e}`, o =
|
|
1395
|
+
function Ce(e) {
|
|
1396
|
+
const t = `/device/${e}`, o = v(t, "chanUp"), c = v(t, "chanDown"), r = v(t, "lastChan"), i = v(t, "guide"), d = v(t, "info"), a = v(t, "exit");
|
|
1340
1397
|
return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
|
|
1341
1398
|
}
|
|
1342
|
-
function
|
|
1343
|
-
const t = `/device/${e}`, o =
|
|
1399
|
+
function Se(e) {
|
|
1400
|
+
const t = `/device/${e}`, o = v(t, "red"), c = v(t, "green"), r = v(t, "yellow"), i = v(t, "blue");
|
|
1344
1401
|
return { red: o, green: c, yellow: r, blue: i };
|
|
1345
1402
|
}
|
|
1346
|
-
function
|
|
1347
|
-
const t =
|
|
1403
|
+
function be(e) {
|
|
1404
|
+
const t = E(e);
|
|
1348
1405
|
if (t)
|
|
1349
1406
|
return {
|
|
1350
1407
|
communicationMonitorState: t
|
|
1351
1408
|
};
|
|
1352
1409
|
}
|
|
1353
|
-
function
|
|
1354
|
-
const t =
|
|
1410
|
+
function Ie(e) {
|
|
1411
|
+
const t = E(e);
|
|
1355
1412
|
if (t)
|
|
1356
1413
|
return t.deviceInfo || void 0;
|
|
1357
1414
|
}
|
|
1358
|
-
function Ie(e) {
|
|
1359
|
-
const t = `/device/${e}`, o = g(t, "up"), c = g(t, "down"), r = g(t, "left"), i = g(t, "right"), d = g(t, "select"), a = g(t, "menu"), f = g(t, "exit");
|
|
1360
|
-
return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: f };
|
|
1361
|
-
}
|
|
1362
1415
|
function Re(e) {
|
|
1416
|
+
const t = `/device/${e}`, o = v(t, "up"), c = v(t, "down"), r = v(t, "left"), i = v(t, "right"), d = v(t, "select"), a = v(t, "menu"), g = v(t, "exit");
|
|
1417
|
+
return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: g };
|
|
1418
|
+
}
|
|
1419
|
+
function ye(e) {
|
|
1363
1420
|
const { sendMessage: t } = b();
|
|
1364
1421
|
return { recallPreset: (c) => {
|
|
1365
1422
|
t(`/device/${e}/recallPreset`, c);
|
|
1366
1423
|
} };
|
|
1367
1424
|
}
|
|
1368
|
-
function
|
|
1369
|
-
const t = `/device/${e}`, o =
|
|
1425
|
+
function Ee(e) {
|
|
1426
|
+
const t = `/device/${e}`, o = v(t, "dvrList"), c = v(t, "record");
|
|
1370
1427
|
return { dvrList: o, record: c };
|
|
1371
1428
|
}
|
|
1372
|
-
function
|
|
1373
|
-
const { sendMessage: t } = b(), o =
|
|
1429
|
+
function Pe(e) {
|
|
1430
|
+
const { sendMessage: t } = b(), o = E(e);
|
|
1374
1431
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1375
1432
|
t(`/device/${e}/setAutoMode`, null);
|
|
1376
1433
|
}, setManualMode: () => {
|
|
1377
1434
|
t(`/device/${e}/setManualMode`, null);
|
|
1378
1435
|
}, toggleMode: () => {
|
|
1379
1436
|
t(`/device/${e}/toggleMode`, null);
|
|
1380
|
-
}, togglePartitionState: (
|
|
1381
|
-
t(`/device/${e}/togglePartitionState`,
|
|
1382
|
-
}, setRoomCombinationScenario: (
|
|
1383
|
-
t(`/device/${e}/setRoomCombinationScenario`,
|
|
1437
|
+
}, togglePartitionState: (g) => {
|
|
1438
|
+
t(`/device/${e}/togglePartitionState`, g);
|
|
1439
|
+
}, setRoomCombinationScenario: (g) => {
|
|
1440
|
+
t(`/device/${e}/setRoomCombinationScenario`, g);
|
|
1384
1441
|
} } : void 0;
|
|
1385
1442
|
}
|
|
1386
1443
|
function Te(e) {
|
|
1387
|
-
const t =
|
|
1444
|
+
const { sendMessage: t } = b(), o = `/device/${e}`, c = E(e);
|
|
1445
|
+
return c ? {
|
|
1446
|
+
state: c,
|
|
1447
|
+
selectCamera: (i) => {
|
|
1448
|
+
t(`${o}/selectCamera`, i);
|
|
1449
|
+
}
|
|
1450
|
+
} : void 0;
|
|
1451
|
+
}
|
|
1452
|
+
function _e(e) {
|
|
1453
|
+
const t = E(e);
|
|
1388
1454
|
if (t)
|
|
1389
1455
|
return { state: t };
|
|
1390
1456
|
}
|
|
1391
|
-
function
|
|
1392
|
-
const { sendMessage: t, sendSimpleMessage: o } = b(), c =
|
|
1457
|
+
function Le(e) {
|
|
1458
|
+
const { sendMessage: t, sendSimpleMessage: o } = b(), c = E(e), r = K2(e), i = c || r;
|
|
1393
1459
|
return i ? {
|
|
1394
1460
|
levelState: i,
|
|
1395
|
-
setLevel: (h,
|
|
1461
|
+
setLevel: (h, I) => o(`${h}/level`, I),
|
|
1396
1462
|
muteToggle: (h) => t(`${h}/muteToggle`, null),
|
|
1397
1463
|
muteOn: (h) => t(`${h}/muteOn`, null),
|
|
1398
1464
|
muteOff: (h) => t(`${h}/muteOff`, null)
|
|
1399
1465
|
} : void 0;
|
|
1400
1466
|
}
|
|
1401
|
-
function
|
|
1402
|
-
const { sendMessage: t } = b(), o =
|
|
1467
|
+
function De(e) {
|
|
1468
|
+
const { sendMessage: t } = b(), o = E(e);
|
|
1403
1469
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1404
1470
|
t(`/device/${e}/selectScene`, r);
|
|
1405
1471
|
} } : void 0;
|
|
1406
1472
|
}
|
|
1407
|
-
function
|
|
1408
|
-
const { sendMessage: t } = b(), o =
|
|
1473
|
+
function $e(e) {
|
|
1474
|
+
const { sendMessage: t } = b(), o = E(e);
|
|
1409
1475
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1410
1476
|
t(`/device/${e}/route`, r);
|
|
1411
1477
|
} } : void 0;
|
|
1412
1478
|
}
|
|
1413
|
-
function
|
|
1479
|
+
function Ae(e) {
|
|
1414
1480
|
const { sendMessage: t } = b();
|
|
1415
1481
|
return { closeApp: () => {
|
|
1416
1482
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1417
1483
|
} };
|
|
1418
1484
|
}
|
|
1419
|
-
function
|
|
1420
|
-
const t = `/device/${e}`, o =
|
|
1485
|
+
function Be(e) {
|
|
1486
|
+
const t = `/device/${e}`, o = v(t, "num0"), c = v(t, "num1"), r = v(t, "num2"), i = v(t, "num3"), d = v(t, "num4"), a = v(t, "num5"), g = v(t, "num6"), x = v(t, "num7"), h = v(t, "num8"), I = v(t, "num9"), D = v(t, "numDash"), H = v(t, "numEnter");
|
|
1421
1487
|
return {
|
|
1422
1488
|
digit0: o,
|
|
1423
1489
|
digit1: c,
|
|
@@ -1425,52 +1491,52 @@ function $e(e) {
|
|
|
1425
1491
|
digit3: i,
|
|
1426
1492
|
digit4: d,
|
|
1427
1493
|
digit5: a,
|
|
1428
|
-
digit6:
|
|
1494
|
+
digit6: g,
|
|
1429
1495
|
digit7: x,
|
|
1430
1496
|
digit8: h,
|
|
1431
|
-
digit9:
|
|
1497
|
+
digit9: I,
|
|
1432
1498
|
keypadAccessoryButton1: D,
|
|
1433
|
-
keypadAccessoryButton2:
|
|
1499
|
+
keypadAccessoryButton2: H
|
|
1434
1500
|
};
|
|
1435
1501
|
}
|
|
1436
|
-
function
|
|
1437
|
-
const { sendMessage: t } = b(), o =
|
|
1502
|
+
function Oe(e) {
|
|
1503
|
+
const { sendMessage: t } = b(), o = E(e);
|
|
1438
1504
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1439
1505
|
t(`/device/${e}/raise`, null);
|
|
1440
1506
|
}, lower: () => {
|
|
1441
1507
|
t(`/device/${e}/lower`, null);
|
|
1442
1508
|
} } : void 0;
|
|
1443
1509
|
}
|
|
1444
|
-
function
|
|
1510
|
+
function Ve(e) {
|
|
1445
1511
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1446
1512
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1447
1513
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1448
1514
|
} } : void 0;
|
|
1449
1515
|
}
|
|
1450
|
-
function
|
|
1516
|
+
function ke(e) {
|
|
1451
1517
|
const { sendMessage: t } = b();
|
|
1452
1518
|
return { runDefaultPresentRoute: () => {
|
|
1453
1519
|
t(`/room/${e}/defaultsource`, {});
|
|
1454
1520
|
} };
|
|
1455
1521
|
}
|
|
1456
|
-
function
|
|
1522
|
+
function Ue(e) {
|
|
1457
1523
|
const { sendMessage: t } = b();
|
|
1458
1524
|
return { runDirectRoute: (c) => {
|
|
1459
1525
|
t(`/room/${e}/directRoute`, c);
|
|
1460
1526
|
} };
|
|
1461
1527
|
}
|
|
1462
|
-
function
|
|
1528
|
+
function We(e) {
|
|
1463
1529
|
const { sendMessage: t } = b();
|
|
1464
|
-
return { routingState:
|
|
1530
|
+
return { routingState: E(e), runRoute: (r) => {
|
|
1465
1531
|
t(`/room/${e}/source`, r);
|
|
1466
1532
|
} };
|
|
1467
1533
|
}
|
|
1468
|
-
function
|
|
1469
|
-
const t = `/device/${e}`, o =
|
|
1534
|
+
function Fe(e) {
|
|
1535
|
+
const t = `/device/${e}`, o = v(t, "chanUp"), c = v(t, "chanDown");
|
|
1470
1536
|
return { dvrList: o, replay: c };
|
|
1471
1537
|
}
|
|
1472
|
-
function
|
|
1473
|
-
const { sendMessage: t } = b(), o =
|
|
1538
|
+
function He(e) {
|
|
1539
|
+
const { sendMessage: t } = b(), o = E(e);
|
|
1474
1540
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1475
1541
|
t(`/device/${e}/shadeUp`, null);
|
|
1476
1542
|
}, shadeDown: () => {
|
|
@@ -1479,7 +1545,7 @@ function We(e) {
|
|
|
1479
1545
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1480
1546
|
} } : void 0;
|
|
1481
1547
|
}
|
|
1482
|
-
function
|
|
1548
|
+
function Ke(e) {
|
|
1483
1549
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1484
1550
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (a) => {
|
|
1485
1551
|
t(`/room/${e}/setShutdownPromptSeconds`, a);
|
|
@@ -1491,15 +1557,15 @@ function Fe(e) {
|
|
|
1491
1557
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1492
1558
|
} } : void 0;
|
|
1493
1559
|
}
|
|
1494
|
-
function
|
|
1495
|
-
const { sendMessage: t } = b(), o =
|
|
1560
|
+
function Ge(e) {
|
|
1561
|
+
const { sendMessage: t } = b(), o = E(e);
|
|
1496
1562
|
return o ? { switchedOutputState: o, on: () => {
|
|
1497
1563
|
t(`/device/${e}/on`, null);
|
|
1498
1564
|
}, off: () => {
|
|
1499
1565
|
t(`/device/${e}/off`, null);
|
|
1500
1566
|
} } : void 0;
|
|
1501
1567
|
}
|
|
1502
|
-
function
|
|
1568
|
+
function qe(e) {
|
|
1503
1569
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1504
1570
|
return o ? { techPasswordState: o, validatePassword: (i) => {
|
|
1505
1571
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
@@ -1507,12 +1573,12 @@ function Ke(e) {
|
|
|
1507
1573
|
t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
|
|
1508
1574
|
} } : void 0;
|
|
1509
1575
|
}
|
|
1510
|
-
function
|
|
1511
|
-
const { sendMessage: t } = b(), o =
|
|
1576
|
+
function Ye(e) {
|
|
1577
|
+
const { sendMessage: t } = b(), o = E(e);
|
|
1512
1578
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1513
1579
|
}
|
|
1514
|
-
function
|
|
1515
|
-
const { sendMessage: t } = b(), o =
|
|
1580
|
+
function ze(e) {
|
|
1581
|
+
const { sendMessage: t } = b(), o = E(e), c = (r) => {
|
|
1516
1582
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1517
1583
|
};
|
|
1518
1584
|
return {
|
|
@@ -1520,8 +1586,8 @@ function qe(e) {
|
|
|
1520
1586
|
saveTheme: c
|
|
1521
1587
|
};
|
|
1522
1588
|
}
|
|
1523
|
-
function
|
|
1524
|
-
const t = `/device/${e}`, o =
|
|
1589
|
+
function Je(e) {
|
|
1590
|
+
const t = `/device/${e}`, o = v(t, "play"), c = v(t, "pause"), r = v(t, "stop"), i = v(t, "prevTrack"), d = v(t, "nextTrack"), a = v(t, "rewind"), g = v(t, "ffwd"), x = v(t, "record");
|
|
1525
1591
|
return {
|
|
1526
1592
|
play: o,
|
|
1527
1593
|
pause: c,
|
|
@@ -1529,12 +1595,12 @@ function Ye(e) {
|
|
|
1529
1595
|
prevTrack: i,
|
|
1530
1596
|
nextTrack: d,
|
|
1531
1597
|
rewind: a,
|
|
1532
|
-
fastForward:
|
|
1598
|
+
fastForward: g,
|
|
1533
1599
|
record: x
|
|
1534
1600
|
};
|
|
1535
1601
|
}
|
|
1536
|
-
function
|
|
1537
|
-
const t =
|
|
1602
|
+
function Xe(e) {
|
|
1603
|
+
const t = E(e), { sendMessage: o } = b();
|
|
1538
1604
|
return t ? {
|
|
1539
1605
|
touchpanelState: t,
|
|
1540
1606
|
appControl: { hideApp: () => {
|
|
@@ -1549,8 +1615,8 @@ function ze(e) {
|
|
|
1549
1615
|
} }
|
|
1550
1616
|
} : void 0;
|
|
1551
1617
|
}
|
|
1552
|
-
function
|
|
1553
|
-
const t =
|
|
1618
|
+
function Qe(e) {
|
|
1619
|
+
const t = E(e), o = y3(e), c = k1(e);
|
|
1554
1620
|
if (!t) return;
|
|
1555
1621
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1556
1622
|
return {
|
|
@@ -1560,7 +1626,7 @@ function Je(e) {
|
|
|
1560
1626
|
powerFb: { powerOnFb: r, powerOffFb: i }
|
|
1561
1627
|
};
|
|
1562
1628
|
}
|
|
1563
|
-
const
|
|
1629
|
+
const Ne = ({
|
|
1564
1630
|
config: e
|
|
1565
1631
|
}) => {
|
|
1566
1632
|
const { sendMessage: t } = b();
|
|
@@ -1593,23 +1659,23 @@ const Xe = ({
|
|
|
1593
1659
|
});
|
|
1594
1660
|
}, [e, t]);
|
|
1595
1661
|
};
|
|
1596
|
-
function
|
|
1597
|
-
const [o, c] =
|
|
1662
|
+
function e5(e, t) {
|
|
1663
|
+
const [o, c] = G(!1), [r, i] = G(!1);
|
|
1598
1664
|
return x3(() => {
|
|
1599
1665
|
const { current: d } = e, a = () => {
|
|
1600
|
-
const
|
|
1601
|
-
i(
|
|
1666
|
+
const g = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
|
|
1667
|
+
i(g ?? !1), c(x ?? !1), t && t(g ?? !1, x ?? !1);
|
|
1602
1668
|
};
|
|
1603
1669
|
d && a();
|
|
1604
1670
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1605
1671
|
}
|
|
1606
|
-
function
|
|
1672
|
+
function t5(e, t) {
|
|
1607
1673
|
const o = H2(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1608
1674
|
return R3(c, o);
|
|
1609
1675
|
}
|
|
1610
|
-
function
|
|
1611
|
-
var a,
|
|
1612
|
-
const [t, o] =
|
|
1676
|
+
function s5(e) {
|
|
1677
|
+
var a, g;
|
|
1678
|
+
const [t, o] = G(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = G(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
|
|
1613
1679
|
const { current: h } = e;
|
|
1614
1680
|
h && (console.log(h.scrollLeft), h.scrollLeft += x, console.log(h.scrollLeft));
|
|
1615
1681
|
}, d = (x) => {
|
|
@@ -1623,7 +1689,7 @@ function e5(e) {
|
|
|
1623
1689
|
x && h();
|
|
1624
1690
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
|
|
1625
1691
|
}
|
|
1626
|
-
function
|
|
1692
|
+
function o5() {
|
|
1627
1693
|
const { sendMessage: e } = b();
|
|
1628
1694
|
return {
|
|
1629
1695
|
reboot: () => {
|
|
@@ -1634,8 +1700,8 @@ function t5() {
|
|
|
1634
1700
|
}
|
|
1635
1701
|
};
|
|
1636
1702
|
}
|
|
1637
|
-
function
|
|
1638
|
-
const [e, t] =
|
|
1703
|
+
function n5() {
|
|
1704
|
+
const [e, t] = G(), [o, c] = G();
|
|
1639
1705
|
function r() {
|
|
1640
1706
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1641
1707
|
const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1649,8 +1715,8 @@ function s5() {
|
|
|
1649
1715
|
return () => clearInterval(i);
|
|
1650
1716
|
}, []), { date: e, time: o };
|
|
1651
1717
|
}
|
|
1652
|
-
const
|
|
1653
|
-
const [e, t] =
|
|
1718
|
+
const c5 = () => {
|
|
1719
|
+
const [e, t] = G(!1), o = v2(), c = g2();
|
|
1654
1720
|
let r;
|
|
1655
1721
|
return f2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1656
1722
|
/* @__PURE__ */ s.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ s.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
@@ -1671,28 +1737,28 @@ const o5 = () => {
|
|
|
1671
1737
|
otherContentClassName: i = "",
|
|
1672
1738
|
disabled: d,
|
|
1673
1739
|
feedback: a,
|
|
1674
|
-
feedbackClassName:
|
|
1740
|
+
feedbackClassName: g,
|
|
1675
1741
|
onPointerDown: x,
|
|
1676
1742
|
onPointerUp: h,
|
|
1677
|
-
onPointerLeave:
|
|
1743
|
+
onPointerLeave: I,
|
|
1678
1744
|
...D
|
|
1679
1745
|
}) => {
|
|
1680
|
-
const [
|
|
1746
|
+
const [H, V] = G(!1), Q = !d && a ? g : "", r1 = !d && (H || a);
|
|
1681
1747
|
return /* @__PURE__ */ s.jsxs(
|
|
1682
1748
|
"button",
|
|
1683
1749
|
{
|
|
1684
1750
|
type: "button",
|
|
1685
|
-
className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${
|
|
1751
|
+
className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${Q}`,
|
|
1686
1752
|
...D,
|
|
1687
1753
|
disabled: d,
|
|
1688
1754
|
onPointerDown: ($) => {
|
|
1689
|
-
|
|
1755
|
+
V(!0), x == null || x($);
|
|
1690
1756
|
},
|
|
1691
1757
|
onPointerUp: ($) => {
|
|
1692
|
-
|
|
1758
|
+
V(!1), h == null || h($);
|
|
1693
1759
|
},
|
|
1694
1760
|
onPointerLeave: ($) => {
|
|
1695
|
-
|
|
1761
|
+
V(!1), I == null || I($);
|
|
1696
1762
|
},
|
|
1697
1763
|
children: [
|
|
1698
1764
|
e && /* @__PURE__ */ s.jsx(
|
|
@@ -2913,7 +2979,7 @@ const o5 = () => {
|
|
|
2913
2979
|
active: e,
|
|
2914
2980
|
disabled: o
|
|
2915
2981
|
}
|
|
2916
|
-
),
|
|
2982
|
+
), r5 = ({
|
|
2917
2983
|
active: e,
|
|
2918
2984
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2919
2985
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3173,7 +3239,7 @@ const o5 = () => {
|
|
|
3173
3239
|
active: e,
|
|
3174
3240
|
disabled: o
|
|
3175
3241
|
}
|
|
3176
|
-
),
|
|
3242
|
+
), p6 = ({
|
|
3177
3243
|
active: e,
|
|
3178
3244
|
className: t = "",
|
|
3179
3245
|
disabled: o
|
|
@@ -3222,7 +3288,7 @@ const o5 = () => {
|
|
|
3222
3288
|
active: e,
|
|
3223
3289
|
disabled: o
|
|
3224
3290
|
}
|
|
3225
|
-
),
|
|
3291
|
+
), w6 = ({
|
|
3226
3292
|
active: e,
|
|
3227
3293
|
className: t = "",
|
|
3228
3294
|
disabled: o
|
|
@@ -3351,10 +3417,10 @@ const o5 = () => {
|
|
|
3351
3417
|
VolMute: v6,
|
|
3352
3418
|
VolUp: g6,
|
|
3353
3419
|
Wireless: f6,
|
|
3354
|
-
X:
|
|
3355
|
-
Xbox:
|
|
3420
|
+
X: p6,
|
|
3421
|
+
Xbox: w6
|
|
3356
3422
|
};
|
|
3357
|
-
function
|
|
3423
|
+
function l5({
|
|
3358
3424
|
name: e,
|
|
3359
3425
|
iconsDictionary: t = M6,
|
|
3360
3426
|
...o
|
|
@@ -3368,7 +3434,7 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
|
|
|
3368
3434
|
content: j6,
|
|
3369
3435
|
footer: C6,
|
|
3370
3436
|
volume: S6
|
|
3371
|
-
},
|
|
3437
|
+
}, i5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
|
|
3372
3438
|
/* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
|
|
3373
3439
|
/* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
|
|
3374
3440
|
r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
|
|
@@ -3377,41 +3443,41 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
|
|
|
3377
3443
|
grid: b6,
|
|
3378
3444
|
header: I6,
|
|
3379
3445
|
content: R6
|
|
3380
|
-
},
|
|
3446
|
+
}, a5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
|
|
3381
3447
|
/* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
|
|
3382
3448
|
c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
|
|
3383
3449
|
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
|
|
3384
|
-
] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11",
|
|
3450
|
+
] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11", P6 = "_content_1uwfo_17", A1 = {
|
|
3385
3451
|
grid: y6,
|
|
3386
3452
|
header: E6,
|
|
3387
|
-
content:
|
|
3388
|
-
},
|
|
3453
|
+
content: P6
|
|
3454
|
+
}, u5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3389
3455
|
/* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
|
|
3390
3456
|
/* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
|
|
3391
3457
|
] });
|
|
3392
|
-
function
|
|
3458
|
+
function d5() {
|
|
3393
3459
|
return console.log(location.pathname), location.pathname;
|
|
3394
3460
|
}
|
|
3395
|
-
var
|
|
3396
|
-
class
|
|
3461
|
+
var T6 = /* @__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))(T6 || {});
|
|
3462
|
+
class h5 {
|
|
3397
3463
|
constructor(t, o) {
|
|
3398
|
-
|
|
3399
|
-
|
|
3464
|
+
Y(this, "path");
|
|
3465
|
+
Y(this, "handler");
|
|
3400
3466
|
this.path = t, this.handler = o;
|
|
3401
3467
|
}
|
|
3402
3468
|
}
|
|
3403
|
-
const
|
|
3404
|
-
class
|
|
3469
|
+
const v5 = "$off";
|
|
3470
|
+
class g5 {
|
|
3405
3471
|
constructor() {
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3472
|
+
Y(this, "currentShareText");
|
|
3473
|
+
Y(this, "enabled");
|
|
3474
|
+
Y(this, "isSharing");
|
|
3409
3475
|
}
|
|
3410
3476
|
}
|
|
3411
3477
|
export {
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3478
|
+
me as Clock,
|
|
3479
|
+
T6 as DaysOfWeek,
|
|
3480
|
+
c5 as ErrorBox,
|
|
3415
3481
|
k8 as IconButton,
|
|
3416
3482
|
U8 as IconMultiAlert,
|
|
3417
3483
|
W8 as IconMultiBan,
|
|
@@ -3438,29 +3504,29 @@ export {
|
|
|
3438
3504
|
i6 as IconMultiRoomPC,
|
|
3439
3505
|
a6 as IconMultiShade,
|
|
3440
3506
|
u6 as IconMultiSun,
|
|
3441
|
-
|
|
3507
|
+
r5 as IconMultiTemplate,
|
|
3442
3508
|
d6 as IconMultiUpArrow,
|
|
3443
3509
|
h6 as IconMultiVolDown,
|
|
3444
3510
|
v6 as IconMultiVolMute,
|
|
3445
3511
|
g6 as IconMultiVolUp,
|
|
3446
3512
|
f6 as IconMultiWireless,
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3513
|
+
p6 as IconMultiX,
|
|
3514
|
+
w6 as IconMultiXbox,
|
|
3515
|
+
i5 as MainLayout,
|
|
3516
|
+
h5 as MessageHandler,
|
|
3517
|
+
pe as MobileControlProvider,
|
|
3452
3518
|
j as MultiStateIconContainer,
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3519
|
+
l5 as NamedIconButton,
|
|
3520
|
+
g5 as ShareState,
|
|
3521
|
+
a5 as TechLayout,
|
|
3522
|
+
u5 as TechPinLayout,
|
|
3523
|
+
d5 as getBaseLocation,
|
|
3458
3524
|
V1 as httpClient,
|
|
3459
3525
|
M6 as iconsDictionary,
|
|
3460
|
-
|
|
3526
|
+
v5 as roomOffSourceKey,
|
|
3461
3527
|
Z3 as selectAllDevices,
|
|
3462
3528
|
x2 as selectApiPath,
|
|
3463
|
-
|
|
3529
|
+
w2 as selectAppConfig,
|
|
3464
3530
|
Y2 as selectClientId,
|
|
3465
3531
|
r8 as selectCurrentPopoverIdForGroup,
|
|
3466
3532
|
j2 as selectDeviceByKey,
|
|
@@ -3470,12 +3536,12 @@ export {
|
|
|
3470
3536
|
U1 as selectModalVisibility,
|
|
3471
3537
|
m2 as selectPartnerMetadata,
|
|
3472
3538
|
k2 as selectRoomAdvancedSharingActive,
|
|
3473
|
-
|
|
3539
|
+
P2 as selectRoomAudioControlPointList,
|
|
3474
3540
|
b2 as selectRoomByKey,
|
|
3475
3541
|
$2 as selectRoomCodecContentDestinationKey,
|
|
3476
3542
|
C2 as selectRoomConfiguration,
|
|
3477
|
-
|
|
3478
|
-
|
|
3543
|
+
_2 as selectRoomDestinationList,
|
|
3544
|
+
T2 as selectRoomDestinations,
|
|
3479
3545
|
F2 as selectRoomDisplayStates,
|
|
3480
3546
|
L2 as selectRoomEnvironmentalDevices,
|
|
3481
3547
|
A2 as selectRoomInCall,
|
|
@@ -3501,63 +3567,65 @@ export {
|
|
|
3501
3567
|
G2 as selectWsIsConnected,
|
|
3502
3568
|
W2 as selectZoomRoomControllerKey,
|
|
3503
3569
|
m as store,
|
|
3504
|
-
|
|
3570
|
+
z as uiActions,
|
|
3505
3571
|
g8 as uiReducer,
|
|
3506
3572
|
O6 as useApiPath,
|
|
3507
3573
|
Z2 as useAppConfig,
|
|
3508
|
-
|
|
3509
|
-
|
|
3574
|
+
p2 as useAppDispatch,
|
|
3575
|
+
p as useAppSelector,
|
|
3510
3576
|
xe as useAvrControl,
|
|
3511
|
-
|
|
3577
|
+
v as useButtonHeldHeartbeat,
|
|
3578
|
+
Me as useCameraBase,
|
|
3512
3579
|
s8 as useClientId,
|
|
3513
3580
|
$8 as useDeviceIBasicVolumeWithFeedback,
|
|
3514
|
-
|
|
3515
|
-
|
|
3581
|
+
Ze as useDevicePresetsModel,
|
|
3582
|
+
je as useEndpoint,
|
|
3516
3583
|
d8 as useError,
|
|
3517
|
-
|
|
3584
|
+
Ne as useGetAllDeviceStateFromRoomConfiguration,
|
|
3518
3585
|
U6 as useGetAllDevices,
|
|
3519
3586
|
F6 as useGetAllRooms,
|
|
3520
3587
|
ve as useGetCurrentPopoverIdForGroup,
|
|
3521
|
-
|
|
3522
|
-
|
|
3588
|
+
E as useGetDevice,
|
|
3589
|
+
we as useGetIBasicVolumeWithFeedback,
|
|
3523
3590
|
H6 as useGetRoom,
|
|
3524
3591
|
ce as useGetRoomDisplayStates,
|
|
3525
3592
|
re as useGetZoomRoomControllerKey,
|
|
3526
3593
|
R3 as useIBasicVolumeWithFeedback,
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3594
|
+
Ce as useIChannel,
|
|
3595
|
+
Se as useIColor,
|
|
3596
|
+
be as useICommunicationMonitor,
|
|
3597
|
+
Re as useIDPad,
|
|
3598
|
+
Ie as useIDeviceInfoMessenger,
|
|
3599
|
+
ye as useIDspPresets,
|
|
3600
|
+
Ee as useIDvr,
|
|
3601
|
+
Pe as useIEssentialsRoomCombiner,
|
|
3602
|
+
Te as useIHasCameras,
|
|
3535
3603
|
y3 as useIHasPowerControl,
|
|
3536
3604
|
k1 as useIHasSelectableItems,
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3605
|
+
_e as useIHumiditySensor,
|
|
3606
|
+
Le as useILevelControls,
|
|
3607
|
+
De as useILightingScenes,
|
|
3608
|
+
$e as useIMatrixRouting,
|
|
3609
|
+
Ae as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3610
|
+
Be as useINumeric,
|
|
3611
|
+
Oe as useIProjectorScreenLiftControl,
|
|
3612
|
+
Ve as useIRoomEventSchedule,
|
|
3613
|
+
ke as useIRunDefaultPresentRoute,
|
|
3614
|
+
Ue as useIRunDirectRouteAction,
|
|
3615
|
+
We as useIRunRouteAction,
|
|
3616
|
+
Fe as useISetTopBoxControls,
|
|
3617
|
+
He as useIShadesOpenCloseStop,
|
|
3618
|
+
Ke as useIShutdownPromptTimer,
|
|
3619
|
+
Ge as useISwitchedOutput,
|
|
3620
|
+
qe as useITechPassword,
|
|
3621
|
+
Ye as useITemperatureSensor,
|
|
3622
|
+
ze as useITheme,
|
|
3623
|
+
Je as useITransport,
|
|
3556
3624
|
C8 as useInitialize,
|
|
3557
3625
|
ae as useIsTouchpanel,
|
|
3558
3626
|
V6 as useLogoPath,
|
|
3559
|
-
|
|
3560
|
-
|
|
3627
|
+
Xe as useMobileControlTouchpanelController,
|
|
3628
|
+
e5 as useOverflow,
|
|
3561
3629
|
k6 as usePartnerMetadata,
|
|
3562
3630
|
D8 as usePressHoldRelease,
|
|
3563
3631
|
oe as useRoomAdvancedSharingActive,
|
|
@@ -3567,7 +3635,7 @@ export {
|
|
|
3567
3635
|
z6 as useRoomDestinationList,
|
|
3568
3636
|
Y6 as useRoomDestinations,
|
|
3569
3637
|
J6 as useRoomEnvironmentalDevices,
|
|
3570
|
-
|
|
3638
|
+
t5 as useRoomIBasicVolumeWithFeedback,
|
|
3571
3639
|
N6 as useRoomInCall,
|
|
3572
3640
|
te as useRoomIsCoolingDown,
|
|
3573
3641
|
se as useRoomIsOn,
|
|
@@ -3581,19 +3649,19 @@ export {
|
|
|
3581
3649
|
C1 as useRoomState,
|
|
3582
3650
|
H2 as useRoomVolume,
|
|
3583
3651
|
le as useRuntimeInfo,
|
|
3584
|
-
|
|
3652
|
+
s5 as useScroll,
|
|
3585
3653
|
c8 as useServerIsRunningOnProcessorHardware,
|
|
3586
3654
|
de as useShowIncomingCallModal,
|
|
3587
3655
|
he as useShowModal,
|
|
3588
3656
|
ge as useShowPopoverById,
|
|
3589
3657
|
h8 as useShowReconnect,
|
|
3590
3658
|
ue as useShowShutdownModal,
|
|
3591
|
-
|
|
3659
|
+
o5 as useSystemControl,
|
|
3592
3660
|
o8 as useSystemUuid,
|
|
3593
3661
|
fe as useTheme,
|
|
3594
|
-
|
|
3662
|
+
n5 as useTimeAndDate,
|
|
3595
3663
|
ie as useTouchpanelKey,
|
|
3596
|
-
|
|
3664
|
+
Qe as useTwoWayDisplayBase,
|
|
3597
3665
|
n8 as useUserCode,
|
|
3598
3666
|
b as useWebsocketContext,
|
|
3599
3667
|
j3 as useWsIsConnected
|