@pepperdash/mobile-control-react-app-core 1.21.0-fix-double-join-call.5 → 1.21.0-fix-double-join-call.7
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.
|
@@ -1,140 +1,140 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import { useDispatch as
|
|
6
|
-
import { createSelector as M, createSlice as
|
|
7
|
-
import
|
|
8
|
-
import { useNavigate as
|
|
9
|
-
import * as
|
|
10
|
-
const
|
|
11
|
-
|
|
1
|
+
var v2 = Object.defineProperty;
|
|
2
|
+
var h2 = (e, t, o) => t in e ? v2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var K = (e, t, o) => h2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import p3, { AxiosError as g2 } from "axios";
|
|
5
|
+
import { useDispatch as f2, useSelector as w2, Provider as p2 } from "react-redux";
|
|
6
|
+
import { createSelector as M, createSlice as i1, combineReducers as m2, configureStore as M2 } from "@reduxjs/toolkit";
|
|
7
|
+
import m3, { createContext as x2, useEffect as m1, useCallback as s1, useContext as Z2, useRef as L1, useState as G, useLayoutEffect as M3 } from "react";
|
|
8
|
+
import { useNavigate as S2, useRouteError as j2, isRouteErrorResponse as C2 } from "react-router-dom";
|
|
9
|
+
import * as x3 from "lodash";
|
|
10
|
+
const O1 = f2.withTypes(), m = w2.withTypes(), M1 = (e) => e.appConfig, b2 = M(
|
|
11
|
+
M1,
|
|
12
12
|
(e) => e.config
|
|
13
|
-
), b2 = M(
|
|
14
|
-
p1,
|
|
15
|
-
(e) => e.config.apiPath
|
|
16
13
|
), y2 = M(
|
|
17
|
-
|
|
18
|
-
(e) => e.config.
|
|
14
|
+
M1,
|
|
15
|
+
(e) => e.config.apiPath
|
|
19
16
|
), I2 = M(
|
|
20
|
-
|
|
17
|
+
M1,
|
|
18
|
+
(e) => e.config.logoPath
|
|
19
|
+
), R2 = M(
|
|
20
|
+
M1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), G8 = () => m(
|
|
23
|
-
|
|
22
|
+
), G8 = () => m(b2), Y8 = () => m(y2), z8 = () => m(I2), J8 = () => m(R2), Z3 = (e) => e.devices, S3 = M(
|
|
23
|
+
Z3,
|
|
24
24
|
(e) => e
|
|
25
|
-
),
|
|
26
|
-
|
|
25
|
+
), E2 = (e) => M(
|
|
26
|
+
Z3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
), X8 = () => m(
|
|
29
|
-
function
|
|
30
|
-
return m(
|
|
28
|
+
), X8 = () => m(S3);
|
|
29
|
+
function D(e) {
|
|
30
|
+
return m(E2(e));
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
|
|
32
|
+
const $ = (e) => e.rooms, T2 = (e) => M(
|
|
33
|
+
$,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
36
|
-
|
|
35
|
+
), D2 = M(
|
|
36
|
+
$,
|
|
37
37
|
(e) => e
|
|
38
|
-
), D2 = (e) => M(
|
|
39
|
-
A,
|
|
40
|
-
(t) => t[e] ? t[e] : void 0
|
|
41
38
|
), _2 = (e) => M(
|
|
42
|
-
|
|
39
|
+
$,
|
|
40
|
+
(t) => t[e] ? t[e] : void 0
|
|
41
|
+
), P2 = (e) => M(
|
|
42
|
+
$,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
),
|
|
45
|
-
|
|
44
|
+
), L2 = (e, t) => M(
|
|
45
|
+
$,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
|
-
),
|
|
48
|
-
|
|
47
|
+
), A2 = (e) => M(
|
|
48
|
+
$,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
50
|
), $2 = (e) => M(
|
|
51
|
-
|
|
51
|
+
$,
|
|
52
52
|
(t) => {
|
|
53
53
|
var o, c;
|
|
54
54
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
|
-
),
|
|
57
|
-
|
|
56
|
+
), B2 = (e) => M(
|
|
57
|
+
$,
|
|
58
58
|
(t) => {
|
|
59
59
|
var o, c;
|
|
60
60
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
|
-
),
|
|
63
|
-
|
|
62
|
+
), O2 = (e) => M(
|
|
63
|
+
$,
|
|
64
64
|
(t) => {
|
|
65
65
|
var o, c;
|
|
66
66
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
|
-
),
|
|
69
|
-
|
|
68
|
+
), k2 = (e) => M(
|
|
69
|
+
$,
|
|
70
70
|
(t) => {
|
|
71
71
|
var o, c;
|
|
72
72
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
|
|
73
73
|
}
|
|
74
|
-
),
|
|
75
|
-
|
|
74
|
+
), W2 = (e) => M(
|
|
75
|
+
$,
|
|
76
76
|
(t) => {
|
|
77
77
|
var o, c;
|
|
78
78
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
80
|
-
),
|
|
81
|
-
|
|
80
|
+
), V2 = (e) => M(
|
|
81
|
+
$,
|
|
82
82
|
(t) => {
|
|
83
83
|
var o, c, r, i, v, u, h, w;
|
|
84
84
|
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((w = (h = (u = t[e]) == null ? void 0 : u.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
|
|
85
85
|
}
|
|
86
|
-
),
|
|
87
|
-
|
|
86
|
+
), U2 = (e) => M(
|
|
87
|
+
$,
|
|
88
88
|
(t) => {
|
|
89
89
|
var o, c, r;
|
|
90
90
|
return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
|
|
91
91
|
}
|
|
92
|
-
),
|
|
93
|
-
|
|
92
|
+
), H2 = (e) => M(
|
|
93
|
+
$,
|
|
94
94
|
(t) => {
|
|
95
95
|
var o;
|
|
96
96
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
|
|
97
97
|
}
|
|
98
|
-
),
|
|
99
|
-
|
|
98
|
+
), F2 = (e) => M(
|
|
99
|
+
$,
|
|
100
100
|
(t) => {
|
|
101
101
|
var o;
|
|
102
102
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
|
-
),
|
|
105
|
-
|
|
104
|
+
), K2 = (e) => M(
|
|
105
|
+
$,
|
|
106
106
|
(t) => {
|
|
107
107
|
var o;
|
|
108
108
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
|
-
),
|
|
111
|
-
|
|
110
|
+
), q2 = (e) => M(
|
|
111
|
+
$,
|
|
112
112
|
(t) => {
|
|
113
113
|
var o;
|
|
114
114
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
|
|
115
115
|
}
|
|
116
|
-
),
|
|
117
|
-
|
|
116
|
+
), G2 = (e) => M(
|
|
117
|
+
$,
|
|
118
118
|
(t) => {
|
|
119
119
|
var o;
|
|
120
120
|
return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
|
-
),
|
|
123
|
-
|
|
122
|
+
), Y2 = (e) => M(
|
|
123
|
+
$,
|
|
124
124
|
(t) => {
|
|
125
125
|
var o;
|
|
126
126
|
return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
|
|
127
127
|
}
|
|
128
|
-
),
|
|
129
|
-
|
|
128
|
+
), z2 = (e) => M(
|
|
129
|
+
$,
|
|
130
130
|
(t) => {
|
|
131
131
|
var o, c;
|
|
132
132
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
133
133
|
}
|
|
134
|
-
),
|
|
134
|
+
), J2 = M(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
|
-
() =>
|
|
137
|
+
() => S3,
|
|
138
138
|
(e, t) => {
|
|
139
139
|
var o, c;
|
|
140
140
|
return (c = (o = e.rooms[t]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations;
|
|
@@ -148,66 +148,66 @@ const A = (e) => e.rooms, E2 = (e) => M(
|
|
|
148
148
|
);
|
|
149
149
|
function Q8(e) {
|
|
150
150
|
return m(
|
|
151
|
-
|
|
151
|
+
T2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function N8() {
|
|
155
|
-
return m(
|
|
155
|
+
return m(D2);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
return m(
|
|
157
|
+
function x1(e) {
|
|
158
|
+
return m(_2(e));
|
|
159
159
|
}
|
|
160
|
-
const e6 =
|
|
161
|
-
|
|
162
|
-
),
|
|
163
|
-
|
|
164
|
-
),
|
|
165
|
-
|
|
160
|
+
const e6 = x1, t6 = (e) => m(
|
|
161
|
+
P2(e)
|
|
162
|
+
), X2 = (e, t) => m(
|
|
163
|
+
L2(e, t)
|
|
164
|
+
), Q2 = (e) => m(A2(e)) || void 0, n6 = (e) => m($2(e)), o6 = (e) => m(B2(e)), s6 = (e) => m(O2(e)), c6 = (e) => m(k2(e)), 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((t) => J2(t, e)), w6 = (e) => m(z2(e)), q = (e) => e.runtimeConfig, N2 = M(
|
|
165
|
+
q,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
|
-
), N2 = M(
|
|
168
|
-
K,
|
|
169
|
-
(e) => e.currentRoomKey
|
|
170
167
|
), ee = M(
|
|
171
|
-
|
|
172
|
-
(e) => e.
|
|
168
|
+
q,
|
|
169
|
+
(e) => e.currentRoomKey
|
|
173
170
|
), te = M(
|
|
174
|
-
|
|
175
|
-
(e) => e.roomData.
|
|
171
|
+
q,
|
|
172
|
+
(e) => e.roomData.clientId
|
|
176
173
|
), ne = M(
|
|
177
|
-
|
|
178
|
-
(e) => e.roomData.
|
|
174
|
+
q,
|
|
175
|
+
(e) => e.roomData.systemUuid
|
|
179
176
|
), oe = M(
|
|
180
|
-
|
|
181
|
-
(e) => e.
|
|
177
|
+
q,
|
|
178
|
+
(e) => e.roomData.userCode
|
|
182
179
|
), se = M(
|
|
183
|
-
|
|
180
|
+
q,
|
|
181
|
+
(e) => e.serverIsRunningOnProcessorHardware
|
|
182
|
+
), ce = M(
|
|
183
|
+
q,
|
|
184
184
|
(e) => {
|
|
185
185
|
var t;
|
|
186
186
|
return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
|
|
187
187
|
}
|
|
188
|
-
), ce = M(
|
|
189
|
-
K,
|
|
190
|
-
(e) => e.touchpanelKey
|
|
191
188
|
), re = M(
|
|
192
|
-
|
|
193
|
-
(e) => e.touchpanelKey
|
|
189
|
+
q,
|
|
190
|
+
(e) => e.touchpanelKey
|
|
194
191
|
), le = M(
|
|
195
|
-
|
|
192
|
+
q,
|
|
193
|
+
(e) => e.touchpanelKey !== ""
|
|
194
|
+
), ie = M(
|
|
195
|
+
q,
|
|
196
196
|
(e) => e.roomData.deviceInterfaceSupport
|
|
197
|
-
),
|
|
197
|
+
), j3 = () => m(N2), p6 = () => m(ee), m6 = () => m(te), M6 = () => m(ne), x6 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), Q = (e) => e.ui, k1 = (e) => M(Q, (t) => t.modalVisibility[e]), ae = (e) => M(Q, (t) => {
|
|
198
198
|
const o = t.popoverVisibility[e];
|
|
199
199
|
if (o)
|
|
200
200
|
return Object.keys(o).find((c) => o[c]);
|
|
201
|
-
}),
|
|
202
|
-
|
|
201
|
+
}), ue = (e, t) => M(
|
|
202
|
+
Q,
|
|
203
203
|
(o) => {
|
|
204
204
|
var c;
|
|
205
205
|
return ((c = o.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
|
|
206
206
|
}
|
|
207
|
-
),
|
|
208
|
-
|
|
207
|
+
), de = M(Q, (e) => e.error), ve = M(
|
|
208
|
+
Q,
|
|
209
209
|
(e) => e.showReconnect
|
|
210
|
-
),
|
|
210
|
+
), he = M(Q, (e) => e.theme), ge = (e) => M(Q, (t) => t.syncState.includes(e)), y6 = () => m(k1("showShutdownModal")), I6 = () => m(k1("showIncomingCallModal")), R6 = (e) => m(k1(e)), E6 = (e) => m(ae(e)), T6 = (e, t) => m(ue(e, t)), fe = () => m(de), we = () => m(ve), D6 = () => m(he), pe = (e) => m(ge(e)), me = {
|
|
211
211
|
showReconnect: !1,
|
|
212
212
|
error: "",
|
|
213
213
|
modalVisibility: {
|
|
@@ -216,9 +216,9 @@ const e6 = m1, t6 = (e) => m(
|
|
|
216
216
|
},
|
|
217
217
|
popoverVisibility: {},
|
|
218
218
|
syncState: []
|
|
219
|
-
},
|
|
219
|
+
}, C3 = i1({
|
|
220
220
|
name: "ui",
|
|
221
|
-
initialState:
|
|
221
|
+
initialState: me,
|
|
222
222
|
reducers: {
|
|
223
223
|
clearAllModals(e) {
|
|
224
224
|
Object.entries(e.modalVisibility).forEach(([t]) => {
|
|
@@ -262,7 +262,7 @@ const e6 = m1, t6 = (e) => m(
|
|
|
262
262
|
e.syncState = [];
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
}),
|
|
265
|
+
}), k = C3.actions, Me = C3.reducer, xe = {
|
|
266
266
|
config: {
|
|
267
267
|
enableDev: !1,
|
|
268
268
|
apiPath: "",
|
|
@@ -272,65 +272,65 @@ const e6 = m1, t6 = (e) => m(
|
|
|
272
272
|
loginMode: "",
|
|
273
273
|
modes: {}
|
|
274
274
|
}
|
|
275
|
-
},
|
|
275
|
+
}, b3 = i1({
|
|
276
276
|
name: "appConfig",
|
|
277
|
-
initialState:
|
|
277
|
+
initialState: xe,
|
|
278
278
|
reducers: {
|
|
279
279
|
setAppConfig(e, t) {
|
|
280
280
|
e.config = t.payload;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
}),
|
|
283
|
+
}), y3 = b3.actions, Ze = b3.reducer, u3 = {}, A1 = i1({
|
|
284
284
|
name: "devices",
|
|
285
|
-
initialState:
|
|
285
|
+
initialState: u3,
|
|
286
286
|
reducers: {
|
|
287
287
|
setDeviceState(e, t) {
|
|
288
288
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
289
289
|
if (!c) return;
|
|
290
|
-
const r = t.payload.content, i = e[c] ?? {}, v =
|
|
290
|
+
const r = t.payload.content, i = e[c] ?? {}, v = x3.merge(i, r);
|
|
291
291
|
e[c] = v;
|
|
292
292
|
},
|
|
293
293
|
clearDevices() {
|
|
294
|
-
return
|
|
294
|
+
return u3;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
}),
|
|
298
|
-
setDeviceState:
|
|
299
|
-
clearDevices:
|
|
300
|
-
},
|
|
301
|
-
class
|
|
297
|
+
}), g1 = {
|
|
298
|
+
setDeviceState: A1.actions.setDeviceState,
|
|
299
|
+
clearDevices: A1.actions.clearDevices
|
|
300
|
+
}, Se = A1.reducer;
|
|
301
|
+
class je {
|
|
302
302
|
constructor() {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
303
|
+
K(this, "uuid", "current-uuid");
|
|
304
|
+
K(this, "roomKey", "current-room-key");
|
|
305
|
+
K(this, "code", "current-code");
|
|
306
|
+
K(this, "expiry", "current-uuid-expires");
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
const
|
|
310
|
-
function
|
|
309
|
+
const d3 = new je();
|
|
310
|
+
function Ce(e) {
|
|
311
311
|
return sessionStorage.getItem(e) || "";
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function be(e, t) {
|
|
314
314
|
sessionStorage.setItem(e, t);
|
|
315
315
|
}
|
|
316
|
-
const
|
|
316
|
+
const v3 = {}, $1 = i1({
|
|
317
317
|
name: "rooms",
|
|
318
|
-
initialState:
|
|
318
|
+
initialState: v3,
|
|
319
319
|
reducers: {
|
|
320
320
|
setRoomState(e, t) {
|
|
321
321
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
322
322
|
if (!c) return;
|
|
323
|
-
const r = t.payload.content, i = e[c] ?? {}, v =
|
|
323
|
+
const r = t.payload.content, i = e[c] ?? {}, v = x3.merge(i, r);
|
|
324
324
|
e[c] = v;
|
|
325
325
|
},
|
|
326
326
|
clearRooms() {
|
|
327
|
-
return
|
|
327
|
+
return v3;
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
}),
|
|
331
|
-
setRoomState:
|
|
332
|
-
clearRooms:
|
|
333
|
-
},
|
|
330
|
+
}), f1 = {
|
|
331
|
+
setRoomState: $1.actions.setRoomState,
|
|
332
|
+
clearRooms: $1.actions.clearRooms
|
|
333
|
+
}, ye = $1.reducer, Ie = {
|
|
334
334
|
apiVersion: "",
|
|
335
335
|
serverIsRunningOnProcessorHardware: !1,
|
|
336
336
|
websocket: {
|
|
@@ -361,9 +361,9 @@ const d3 = {}, L1 = l1({
|
|
|
361
361
|
userCode: "",
|
|
362
362
|
qrUrl: ""
|
|
363
363
|
}
|
|
364
|
-
},
|
|
364
|
+
}, I3 = i1({
|
|
365
365
|
name: "runtimeConfig",
|
|
366
|
-
initialState:
|
|
366
|
+
initialState: Ie,
|
|
367
367
|
reducers: {
|
|
368
368
|
setRuntimeConfig(e, t) {
|
|
369
369
|
e.apiVersion = t.payload.apiVersion, e.serverIsRunningOnProcessorHardware = t.payload.serverIsRunningOnProcessorHardware;
|
|
@@ -390,81 +390,88 @@ const d3 = {}, L1 = l1({
|
|
|
390
390
|
e.touchpanelKey = t.payload;
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
}),
|
|
394
|
-
type:
|
|
393
|
+
}), H = I3.actions, Re = I3.reducer, D1 = p3.create(), R3 = "websocket/connect", E3 = "websocket/disconnect", T3 = "websocket/sendMessage", D3 = "websocket/addEventHandler", _3 = "websocket/removeEventHandler", P3 = "websocket/reconnect", L3 = () => ({ type: R3 }), _6 = () => ({ type: E3 }), Ee = (e, t) => ({
|
|
394
|
+
type: T3,
|
|
395
395
|
payload: { messageType: e, content: t }
|
|
396
396
|
}), Te = (e, t, o) => ({
|
|
397
|
-
type:
|
|
397
|
+
type: D3,
|
|
398
398
|
payload: { eventType: e, key: t, callback: o }
|
|
399
399
|
}), De = (e, t) => ({
|
|
400
|
-
type:
|
|
400
|
+
type: _3,
|
|
401
401
|
payload: { eventType: e, key: t }
|
|
402
|
-
}), _e = () => ({ type:
|
|
402
|
+
}), _e = () => ({ type: P3 }), Pe = () => {
|
|
403
403
|
const e = {
|
|
404
404
|
client: null,
|
|
405
405
|
token: null,
|
|
406
406
|
waitingToReconnect: !1,
|
|
407
|
+
reconnectTimer: null,
|
|
407
408
|
eventHandlers: {}
|
|
408
409
|
}, t = async (a) => {
|
|
409
410
|
try {
|
|
410
|
-
const x = location.pathname.split("/").filter((
|
|
411
|
+
const x = location.pathname.split("/").filter((b) => b.length > 0);
|
|
411
412
|
x.length >= 5 ? x.length = 5 : x.length = 2;
|
|
412
|
-
const
|
|
413
|
+
const S = `/${x.join("/")}`, Z = await D1.get(
|
|
413
414
|
"/_local-config/_config.local.json",
|
|
414
|
-
{ baseURL:
|
|
415
|
+
{ baseURL: S }
|
|
415
416
|
);
|
|
416
|
-
if (
|
|
417
|
-
const
|
|
418
|
-
a(
|
|
419
|
-
const
|
|
420
|
-
`${
|
|
417
|
+
if (Z.status === 200 && Z.data) {
|
|
418
|
+
const b = Z.data.apiPath;
|
|
419
|
+
a(y3.setAppConfig(Z.data));
|
|
420
|
+
const j = await D1.get(
|
|
421
|
+
`${b}/version`
|
|
421
422
|
);
|
|
422
|
-
|
|
423
|
+
j.status === 200 && j.data && a(H.setRuntimeConfig(j.data));
|
|
423
424
|
}
|
|
424
425
|
} catch (x) {
|
|
425
426
|
console.error("Error getting config", x);
|
|
426
427
|
}
|
|
427
428
|
return !0;
|
|
428
|
-
}, o = async (a, x,
|
|
429
|
+
}, o = async (a, x, S) => {
|
|
429
430
|
try {
|
|
430
|
-
const
|
|
431
|
+
const Z = await D1.get(
|
|
431
432
|
`${a}/ui/joinroom?token=${x}`
|
|
432
433
|
);
|
|
433
|
-
return
|
|
434
|
-
} catch (
|
|
435
|
-
return console.log(
|
|
436
|
-
|
|
434
|
+
return Z.status === 200 && Z.data ? (S(H.setRoomData(Z.data)), !0) : !1;
|
|
435
|
+
} catch (Z) {
|
|
436
|
+
return console.log(Z), Z instanceof g2 && Z.response && Z.response.status === 498 ? (console.error("Invalid token. Unable to join room"), S(
|
|
437
|
+
k.setErrorMessage(
|
|
437
438
|
`Token ${x} is invalid. Unable to join room`
|
|
438
439
|
)
|
|
439
|
-
), !1) : (console.error("Error getting room data",
|
|
440
|
+
), !1) : (console.error("Error getting room data", Z), Z instanceof Error ? S(k.setErrorMessage(Z.message)) : S(k.setErrorMessage("Error getting room data")), !1);
|
|
440
441
|
}
|
|
441
442
|
}, c = (a) => {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
443
|
+
e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
|
|
444
|
+
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(L3());
|
|
445
|
+
}, 5e3);
|
|
446
|
+
}, r = () => {
|
|
447
|
+
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
448
|
+
}, i = (a) => {
|
|
449
|
+
a(k.setShowReconnect(!0)), a(H.setWebsocketIsConnected(!1)), a(g1.clearDevices()), a(f1.clearRooms()), a(k.clearAllModals()), a(k.clearSyncState());
|
|
450
|
+
}, v = (a) => {
|
|
451
|
+
const x = a(), { roomKey: S } = x.runtimeConfig.roomData, { clientId: Z } = x.runtimeConfig.roomData, b = x.runtimeConfig.websocket.isConnected;
|
|
452
|
+
if (!S || !b || !Z) {
|
|
446
453
|
console.log("WebSocket middleware: Cannot request room status", {
|
|
447
|
-
hasRoomKey: !!
|
|
448
|
-
isConnected:
|
|
449
|
-
hasClientId: !!
|
|
454
|
+
hasRoomKey: !!S,
|
|
455
|
+
isConnected: b,
|
|
456
|
+
hasClientId: !!Z
|
|
450
457
|
});
|
|
451
458
|
return;
|
|
452
459
|
}
|
|
453
|
-
console.log("WebSocket middleware: Requesting status from room:",
|
|
460
|
+
console.log("WebSocket middleware: Requesting status from room:", S), e.client && b && e.client.send(
|
|
454
461
|
JSON.stringify({
|
|
455
|
-
type: `/room/${
|
|
456
|
-
clientId:
|
|
462
|
+
type: `/room/${S}/status`,
|
|
463
|
+
clientId: Z,
|
|
457
464
|
content: null
|
|
458
465
|
})
|
|
459
466
|
);
|
|
460
|
-
},
|
|
467
|
+
}, u = async (a, x) => {
|
|
461
468
|
console.log("WebSocket middleware: Attempting to connect...");
|
|
462
|
-
const
|
|
463
|
-
if (!
|
|
469
|
+
const S = x(), { apiPath: Z } = S.appConfig.config, { serverIsRunningOnProcessorHardware: b } = S.runtimeConfig;
|
|
470
|
+
if (!Z || !e.token) {
|
|
464
471
|
console.log(
|
|
465
472
|
"WebSocket middleware: Cannot connect - missing requirements",
|
|
466
473
|
{
|
|
467
|
-
hasApiPath: !!
|
|
474
|
+
hasApiPath: !!Z,
|
|
468
475
|
hasToken: !!e.token
|
|
469
476
|
}
|
|
470
477
|
);
|
|
@@ -482,86 +489,94 @@ const d3 = {}, L1 = l1({
|
|
|
482
489
|
}
|
|
483
490
|
e.waitingToReconnect = !0;
|
|
484
491
|
try {
|
|
485
|
-
if (!await o(
|
|
486
|
-
console.log(
|
|
492
|
+
if (!await o(Z, e.token, a)) {
|
|
493
|
+
console.log(
|
|
494
|
+
"WebSocket middleware: Failed to get room data, will retry..."
|
|
495
|
+
), c(a);
|
|
487
496
|
return;
|
|
488
497
|
}
|
|
489
498
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
490
|
-
const
|
|
491
|
-
e.client =
|
|
492
|
-
console.log("WebSocket middleware: Connected",
|
|
493
|
-
},
|
|
494
|
-
console.error("WebSocket middleware: Error",
|
|
495
|
-
},
|
|
499
|
+
const Z1 = `${Z.replace("http", "ws")}/ui/join/${e.token}`, Y = new WebSocket(Z1);
|
|
500
|
+
e.client = Y, Y.onopen = (B) => {
|
|
501
|
+
console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), a(H.setWebsocketIsConnected(!0));
|
|
502
|
+
}, Y.onerror = (B) => {
|
|
503
|
+
console.error("WebSocket middleware: Error", B), i(a);
|
|
504
|
+
}, Y.onclose = (B) => {
|
|
496
505
|
if (console.log(
|
|
497
506
|
"WebSocket middleware: Disconnected",
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
),
|
|
501
|
-
console.log("WebSocket middleware: Closed by client (cleanup)"),
|
|
507
|
+
B.reason,
|
|
508
|
+
B.code
|
|
509
|
+
), B.code === 4100) {
|
|
510
|
+
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), i(a);
|
|
502
511
|
return;
|
|
503
512
|
}
|
|
504
|
-
if (e.waitingToReconnect = !0,
|
|
505
|
-
console.log("WebSocket middleware: User code changed"), a(
|
|
506
|
-
|
|
513
|
+
if (e.waitingToReconnect = !0, B.code === 4e3) {
|
|
514
|
+
console.log("WebSocket middleware: User code changed"), r(), a(
|
|
515
|
+
H.setUserCode({ userCode: "", qrUrl: "" })
|
|
507
516
|
), a(
|
|
508
|
-
|
|
517
|
+
k.setErrorMessage(
|
|
509
518
|
"User code changed. Click reconnect to enter the new code"
|
|
510
519
|
)
|
|
511
|
-
),
|
|
520
|
+
), i(a);
|
|
512
521
|
return;
|
|
513
522
|
}
|
|
514
|
-
if (
|
|
515
|
-
console.log("WebSocket middleware:
|
|
516
|
-
|
|
517
|
-
"
|
|
523
|
+
if (B.code === 4002) {
|
|
524
|
+
console.log("WebSocket middleware: Room combination changed"), r(), a(
|
|
525
|
+
k.setErrorMessage(
|
|
526
|
+
"Room combination changed. Click Reconnect to re-join the room"
|
|
518
527
|
)
|
|
519
|
-
),
|
|
528
|
+
), i(a);
|
|
520
529
|
return;
|
|
521
530
|
}
|
|
522
|
-
if (
|
|
523
|
-
console.log(
|
|
524
|
-
|
|
525
|
-
|
|
531
|
+
if (B.code === 4001 && !b) {
|
|
532
|
+
console.log(
|
|
533
|
+
"WebSocket middleware: Processor disconnected (not on processor hardware)"
|
|
534
|
+
), r(), a(
|
|
535
|
+
k.setErrorMessage(
|
|
536
|
+
"Processor has disconnected. Click Reconnect"
|
|
526
537
|
)
|
|
527
|
-
),
|
|
538
|
+
), i(a);
|
|
528
539
|
return;
|
|
529
540
|
}
|
|
530
541
|
if (e.client)
|
|
531
|
-
console.log(
|
|
542
|
+
console.log(
|
|
543
|
+
"WebSocket middleware: Closed by server, will auto-reconnect"
|
|
544
|
+
);
|
|
532
545
|
else {
|
|
533
546
|
console.log("WebSocket middleware: Closed by client");
|
|
534
547
|
return;
|
|
535
548
|
}
|
|
536
|
-
console.log("WebSocket middleware: Clearing state on disconnect"), a(
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
549
|
+
e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), a(
|
|
550
|
+
k.setErrorMessage(
|
|
551
|
+
"Connection lost. Attempting to reconnect..."
|
|
552
|
+
)
|
|
553
|
+
), a(H.setWebsocketIsConnected(!1)), a(g1.clearDevices()), a(f1.clearRooms()), a(k.clearAllModals()), a(k.clearSyncState()), c(a);
|
|
554
|
+
}, Y.onmessage = (B) => {
|
|
540
555
|
try {
|
|
541
|
-
const
|
|
542
|
-
if (
|
|
543
|
-
|
|
556
|
+
const L = JSON.parse(B.data);
|
|
557
|
+
if (L.type === "close") {
|
|
558
|
+
Y.close(4001, L.content);
|
|
544
559
|
return;
|
|
545
560
|
}
|
|
546
|
-
if (
|
|
547
|
-
switch (
|
|
561
|
+
if (L.type.startsWith("/system/"))
|
|
562
|
+
switch (L.type) {
|
|
548
563
|
case "/system/touchpanelKey":
|
|
549
564
|
a(
|
|
550
|
-
|
|
551
|
-
|
|
565
|
+
H.setTouchpanelKey(
|
|
566
|
+
L.content
|
|
552
567
|
)
|
|
553
568
|
);
|
|
554
569
|
break;
|
|
555
570
|
case "/system/roomKey":
|
|
556
|
-
a(
|
|
557
|
-
|
|
558
|
-
|
|
571
|
+
a(f1.clearRooms()), a(g1.clearDevices()), a(k.clearSyncState()), a(
|
|
572
|
+
H.setCurrentRoomKey(
|
|
573
|
+
L.content
|
|
559
574
|
)
|
|
560
575
|
);
|
|
561
576
|
break;
|
|
562
577
|
case "/system/userCodeChanged":
|
|
563
578
|
a(
|
|
564
|
-
|
|
579
|
+
H.setUserCode(L.content)
|
|
565
580
|
);
|
|
566
581
|
break;
|
|
567
582
|
case "/system/roomCombinationChanged":
|
|
@@ -570,125 +585,121 @@ const d3 = {}, L1 = l1({
|
|
|
570
585
|
default:
|
|
571
586
|
console.log(
|
|
572
587
|
"WebSocket middleware: Unhandled system message",
|
|
573
|
-
|
|
588
|
+
L
|
|
574
589
|
);
|
|
575
590
|
break;
|
|
576
591
|
}
|
|
577
|
-
else if (
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
P
|
|
581
|
-
);
|
|
582
|
-
const e1 = e.eventHandlers[P.type];
|
|
583
|
-
e1 || console.log(
|
|
592
|
+
else if (L.type.startsWith("/event/")) {
|
|
593
|
+
const t1 = e.eventHandlers[L.type];
|
|
594
|
+
t1 || console.log(
|
|
584
595
|
"WebSocket middleware: No handlers found for event type",
|
|
585
|
-
|
|
586
|
-
),
|
|
596
|
+
L.type
|
|
597
|
+
), t1 && Object.values(t1).forEach((a1) => {
|
|
587
598
|
try {
|
|
588
|
-
|
|
589
|
-
} catch (
|
|
599
|
+
a1(L);
|
|
600
|
+
} catch (S1) {
|
|
590
601
|
console.error(
|
|
591
602
|
"WebSocket middleware: Event handler error",
|
|
592
|
-
|
|
603
|
+
S1
|
|
593
604
|
);
|
|
594
605
|
}
|
|
595
606
|
});
|
|
596
|
-
} else
|
|
597
|
-
} catch (
|
|
598
|
-
console.error("WebSocket middleware: Message handling error",
|
|
607
|
+
} else L.type.startsWith("/room/") ? a(f1.setRoomState(L)) : L.type.startsWith("/device/") && a(g1.setDeviceState(L));
|
|
608
|
+
} catch (L) {
|
|
609
|
+
console.error("WebSocket middleware: Message handling error", L);
|
|
599
610
|
}
|
|
600
611
|
}, e.waitingToReconnect = !1;
|
|
601
|
-
} catch (
|
|
602
|
-
console.error("WebSocket middleware: Connection error",
|
|
612
|
+
} catch (j) {
|
|
613
|
+
console.error("WebSocket middleware: Connection error", j), e.waitingToReconnect = !1, e.client = null;
|
|
603
614
|
}
|
|
604
|
-
},
|
|
605
|
-
e.client && (console.log("WebSocket middleware: Disconnecting"), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
606
|
-
},
|
|
607
|
-
const
|
|
608
|
-
e.client &&
|
|
609
|
-
JSON.stringify({ type: a, clientId:
|
|
615
|
+
}, h = () => {
|
|
616
|
+
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
617
|
+
}, w = (a, x, S) => {
|
|
618
|
+
const Z = S(), b = Z.runtimeConfig.websocket.isConnected, j = Z.runtimeConfig.roomData.clientId;
|
|
619
|
+
e.client && b ? e.client.send(
|
|
620
|
+
JSON.stringify({ type: a, clientId: j, content: x })
|
|
610
621
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
611
|
-
},
|
|
612
|
-
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][x] =
|
|
613
|
-
},
|
|
622
|
+
}, f = (a, x, S) => {
|
|
623
|
+
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][x] = S, console.log("WebSocket middleware: Event handler added", a, x);
|
|
624
|
+
}, _ = (a, x) => {
|
|
614
625
|
e.eventHandlers[a] && (delete e.eventHandlers[a][x], console.log(
|
|
615
626
|
"WebSocket middleware: Event handler removed",
|
|
616
627
|
a,
|
|
617
628
|
x
|
|
618
629
|
));
|
|
619
|
-
},
|
|
620
|
-
const x = a(), { gatewayAppPath:
|
|
621
|
-
window.location.href =
|
|
630
|
+
}, U = (a) => {
|
|
631
|
+
const x = a(), { gatewayAppPath: S } = x.appConfig.config, Z = x.runtimeConfig.roomData.roomKey, b = x.runtimeConfig.roomData.systemUuid, j = x.runtimeConfig.roomData.userCode, W = `${S}?uuid=${b}&roomKey=${Z}`;
|
|
632
|
+
window.location.href = j ? `${W}&Code=${j}` : W;
|
|
622
633
|
};
|
|
623
|
-
return (a) => (x) => (
|
|
624
|
-
const
|
|
625
|
-
if (!
|
|
626
|
-
return
|
|
627
|
-
const
|
|
634
|
+
return (a) => (x) => (S) => {
|
|
635
|
+
const Z = x(S);
|
|
636
|
+
if (!S || typeof S != "object" || !("type" in S))
|
|
637
|
+
return Z;
|
|
638
|
+
const b = S;
|
|
628
639
|
return (async () => {
|
|
629
|
-
switch (
|
|
630
|
-
case
|
|
631
|
-
let
|
|
632
|
-
|
|
640
|
+
switch (b.type) {
|
|
641
|
+
case R3: {
|
|
642
|
+
let W = new URLSearchParams(window.location.search).get("token");
|
|
643
|
+
W ? (console.log("WebSocket middleware: Saving token"), be(d3.uuid, W)) : (W = Ce(d3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await u(a.dispatch, a.getState);
|
|
633
644
|
break;
|
|
634
645
|
}
|
|
635
|
-
case R3:
|
|
636
|
-
v();
|
|
637
|
-
break;
|
|
638
646
|
case E3:
|
|
639
|
-
|
|
640
|
-
E.payload.messageType,
|
|
641
|
-
E.payload.content,
|
|
642
|
-
a.getState
|
|
643
|
-
);
|
|
647
|
+
h();
|
|
644
648
|
break;
|
|
645
649
|
case T3:
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
+
w(
|
|
651
|
+
b.payload.messageType,
|
|
652
|
+
b.payload.content,
|
|
653
|
+
a.getState
|
|
650
654
|
);
|
|
651
655
|
break;
|
|
652
656
|
case D3:
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
657
|
+
f(
|
|
658
|
+
b.payload.eventType,
|
|
659
|
+
b.payload.key,
|
|
660
|
+
b.payload.callback
|
|
656
661
|
);
|
|
657
662
|
break;
|
|
658
663
|
case _3:
|
|
659
|
-
|
|
664
|
+
_(
|
|
665
|
+
b.payload.eventType,
|
|
666
|
+
b.payload.key
|
|
667
|
+
);
|
|
668
|
+
break;
|
|
669
|
+
case P3:
|
|
670
|
+
U(a.getState);
|
|
660
671
|
break;
|
|
661
672
|
default:
|
|
662
|
-
if (
|
|
663
|
-
|
|
673
|
+
if (S.type === H.setWebsocketIsConnected.type)
|
|
674
|
+
S.payload === !0 && (console.log(
|
|
664
675
|
"[WebSocket Middleware] Connection established, requesting room status..."
|
|
665
|
-
), setTimeout(() =>
|
|
666
|
-
else if (
|
|
667
|
-
const
|
|
668
|
-
|
|
676
|
+
), setTimeout(() => v(a.getState), 100));
|
|
677
|
+
else if (S.type === H.setRoomData.type) {
|
|
678
|
+
const j = a.getState(), W = S.payload;
|
|
679
|
+
j.runtimeConfig.websocket.isConnected && (W != null && W.clientId) && (console.log(
|
|
669
680
|
"[WebSocket Middleware] Room data received, requesting room status..."
|
|
670
|
-
), setTimeout(() =>
|
|
671
|
-
} else if (
|
|
672
|
-
const
|
|
673
|
-
|
|
681
|
+
), setTimeout(() => v(a.getState), 100));
|
|
682
|
+
} else if (S.type === H.setCurrentRoomKey.type) {
|
|
683
|
+
const j = S.payload;
|
|
684
|
+
j && (console.log(
|
|
674
685
|
"[WebSocket Middleware] Room changed to:",
|
|
675
|
-
|
|
686
|
+
j,
|
|
676
687
|
", requesting room status..."
|
|
677
|
-
), setTimeout(() =>
|
|
688
|
+
), setTimeout(() => v(a.getState), 100));
|
|
678
689
|
}
|
|
679
690
|
break;
|
|
680
691
|
}
|
|
681
|
-
})().catch((
|
|
682
|
-
console.error("WebSocket middleware: Error handling action",
|
|
683
|
-
}),
|
|
692
|
+
})().catch((j) => {
|
|
693
|
+
console.error("WebSocket middleware: Error handling action", j);
|
|
694
|
+
}), Z;
|
|
684
695
|
};
|
|
685
|
-
}, Le =
|
|
686
|
-
appConfig:
|
|
687
|
-
runtimeConfig:
|
|
688
|
-
rooms:
|
|
689
|
-
devices:
|
|
690
|
-
ui:
|
|
691
|
-
}),
|
|
696
|
+
}, Le = m2({
|
|
697
|
+
appConfig: Ze,
|
|
698
|
+
runtimeConfig: Re,
|
|
699
|
+
rooms: ye,
|
|
700
|
+
devices: Se,
|
|
701
|
+
ui: Me
|
|
702
|
+
}), Ae = M2({
|
|
692
703
|
reducer: Le,
|
|
693
704
|
middleware: (e) => e({
|
|
694
705
|
serializableCheck: {
|
|
@@ -696,24 +707,24 @@ const d3 = {}, L1 = l1({
|
|
|
696
707
|
ignoredActions: ["websocket/addEventHandler"]
|
|
697
708
|
}
|
|
698
709
|
}).concat(Pe())
|
|
699
|
-
}),
|
|
710
|
+
}), h3 = p3.create();
|
|
700
711
|
function P6() {
|
|
701
|
-
const e =
|
|
712
|
+
const e = O1();
|
|
702
713
|
return async () => {
|
|
703
714
|
try {
|
|
704
715
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
705
716
|
t.length >= 5 ? t.length = 5 : t.length = 2;
|
|
706
|
-
const o = `/${t.join("/")}`, c = await
|
|
717
|
+
const o = `/${t.join("/")}`, c = await h3.get(
|
|
707
718
|
"/_local-config/_config.local.json",
|
|
708
719
|
{ baseURL: o }
|
|
709
720
|
);
|
|
710
721
|
if (c.status == 200 && c.data) {
|
|
711
722
|
const r = c.data.apiPath;
|
|
712
|
-
e(
|
|
713
|
-
const i = await
|
|
723
|
+
e(y3.setAppConfig(c.data));
|
|
724
|
+
const i = await h3.get(
|
|
714
725
|
`${r}/version`
|
|
715
726
|
);
|
|
716
|
-
i.status == 200 && i.data && e(
|
|
727
|
+
i.status == 200 && i.data && e(H.setRuntimeConfig(i.data));
|
|
717
728
|
}
|
|
718
729
|
} catch (t) {
|
|
719
730
|
console.error("Error getting config", t);
|
|
@@ -721,7 +732,7 @@ function P6() {
|
|
|
721
732
|
return !0;
|
|
722
733
|
};
|
|
723
734
|
}
|
|
724
|
-
var
|
|
735
|
+
var w1 = { exports: {} }, c1 = {};
|
|
725
736
|
/**
|
|
726
737
|
* @license React
|
|
727
738
|
* react-jsx-runtime.production.min.js
|
|
@@ -731,21 +742,21 @@ var g1 = { exports: {} }, s1 = {};
|
|
|
731
742
|
* This source code is licensed under the MIT license found in the
|
|
732
743
|
* LICENSE file in the root directory of this source tree.
|
|
733
744
|
*/
|
|
734
|
-
var
|
|
735
|
-
function
|
|
736
|
-
if (
|
|
737
|
-
|
|
738
|
-
var e =
|
|
745
|
+
var g3;
|
|
746
|
+
function $e() {
|
|
747
|
+
if (g3) return c1;
|
|
748
|
+
g3 = 1;
|
|
749
|
+
var e = m3, 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 };
|
|
739
750
|
function v(u, h, w) {
|
|
740
|
-
var f,
|
|
741
|
-
w !== void 0 && (
|
|
742
|
-
for (f in h) c.call(h, f) && !i.hasOwnProperty(f) && (
|
|
743
|
-
if (u && u.defaultProps) for (f in h = u.defaultProps, h)
|
|
744
|
-
return { $$typeof: t, type: u, key:
|
|
751
|
+
var f, _ = {}, U = null, a = null;
|
|
752
|
+
w !== void 0 && (U = "" + w), h.key !== void 0 && (U = "" + h.key), h.ref !== void 0 && (a = h.ref);
|
|
753
|
+
for (f in h) c.call(h, f) && !i.hasOwnProperty(f) && (_[f] = h[f]);
|
|
754
|
+
if (u && u.defaultProps) for (f in h = u.defaultProps, h) _[f] === void 0 && (_[f] = h[f]);
|
|
755
|
+
return { $$typeof: t, type: u, key: U, ref: a, props: _, _owner: r.current };
|
|
745
756
|
}
|
|
746
|
-
return
|
|
757
|
+
return c1.Fragment = o, c1.jsx = v, c1.jsxs = v, c1;
|
|
747
758
|
}
|
|
748
|
-
var
|
|
759
|
+
var r1 = {};
|
|
749
760
|
/**
|
|
750
761
|
* @license React
|
|
751
762
|
* react-jsx-runtime.development.js
|
|
@@ -755,57 +766,57 @@ var c1 = {};
|
|
|
755
766
|
* This source code is licensed under the MIT license found in the
|
|
756
767
|
* LICENSE file in the root directory of this source tree.
|
|
757
768
|
*/
|
|
758
|
-
var
|
|
769
|
+
var f3;
|
|
759
770
|
function Be() {
|
|
760
|
-
return
|
|
761
|
-
var e =
|
|
762
|
-
function
|
|
771
|
+
return f3 || (f3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
772
|
+
var e = m3, 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"), v = Symbol.for("react.provider"), u = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), x = Symbol.iterator, S = "@@iterator";
|
|
773
|
+
function Z(s) {
|
|
763
774
|
if (s === null || typeof s != "object")
|
|
764
775
|
return null;
|
|
765
|
-
var l =
|
|
776
|
+
var l = x && s[x] || s[S];
|
|
766
777
|
return typeof l == "function" ? l : null;
|
|
767
778
|
}
|
|
768
|
-
var
|
|
769
|
-
function
|
|
779
|
+
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
780
|
+
function j(s) {
|
|
770
781
|
{
|
|
771
782
|
for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), p = 1; p < l; p++)
|
|
772
783
|
d[p - 1] = arguments[p];
|
|
773
|
-
|
|
784
|
+
W("error", s, d);
|
|
774
785
|
}
|
|
775
786
|
}
|
|
776
|
-
function
|
|
787
|
+
function W(s, l, d) {
|
|
777
788
|
{
|
|
778
|
-
var p =
|
|
779
|
-
|
|
780
|
-
var
|
|
781
|
-
return String(
|
|
789
|
+
var p = b.ReactDebugCurrentFrame, R = p.getStackAddendum();
|
|
790
|
+
R !== "" && (l += "%s", d = d.concat([R]));
|
|
791
|
+
var T = d.map(function(y) {
|
|
792
|
+
return String(y);
|
|
782
793
|
});
|
|
783
|
-
|
|
794
|
+
T.unshift("Warning: " + l), Function.prototype.apply.call(console[s], console, T);
|
|
784
795
|
}
|
|
785
796
|
}
|
|
786
|
-
var
|
|
787
|
-
|
|
788
|
-
function
|
|
789
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === i ||
|
|
797
|
+
var Z1 = !1, Y = !1, B = !1, L = !1, t1 = !1, a1;
|
|
798
|
+
a1 = Symbol.for("react.module.reference");
|
|
799
|
+
function S1(s) {
|
|
800
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || t1 || s === r || s === w || s === f || L || s === a || Z1 || Y || B || typeof s == "object" && s !== null && (s.$$typeof === U || s.$$typeof === _ || s.$$typeof === v || s.$$typeof === u || s.$$typeof === h || // This needs to include all possible module reference object
|
|
790
801
|
// types supported by any Flight configuration anywhere since
|
|
791
802
|
// we don't know which Flight build this will end up being used
|
|
792
803
|
// with.
|
|
793
|
-
s.$$typeof ===
|
|
804
|
+
s.$$typeof === a1 || s.getModuleId !== void 0));
|
|
794
805
|
}
|
|
795
|
-
function
|
|
806
|
+
function O3(s, l, d) {
|
|
796
807
|
var p = s.displayName;
|
|
797
808
|
if (p)
|
|
798
809
|
return p;
|
|
799
|
-
var
|
|
800
|
-
return
|
|
810
|
+
var R = l.displayName || l.name || "";
|
|
811
|
+
return R !== "" ? d + "(" + R + ")" : d;
|
|
801
812
|
}
|
|
802
|
-
function
|
|
813
|
+
function W1(s) {
|
|
803
814
|
return s.displayName || "Context";
|
|
804
815
|
}
|
|
805
|
-
function
|
|
816
|
+
function z(s) {
|
|
806
817
|
if (s == null)
|
|
807
818
|
return null;
|
|
808
|
-
if (typeof s.tag == "number" &&
|
|
819
|
+
if (typeof s.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
|
|
809
820
|
return s.displayName || s.name || null;
|
|
810
821
|
if (typeof s == "string")
|
|
811
822
|
return s;
|
|
@@ -827,19 +838,19 @@ function Be() {
|
|
|
827
838
|
switch (s.$$typeof) {
|
|
828
839
|
case u:
|
|
829
840
|
var l = s;
|
|
830
|
-
return
|
|
841
|
+
return W1(l) + ".Consumer";
|
|
831
842
|
case v:
|
|
832
843
|
var d = s;
|
|
833
|
-
return
|
|
844
|
+
return W1(d._context) + ".Provider";
|
|
834
845
|
case h:
|
|
835
|
-
return
|
|
836
|
-
case
|
|
846
|
+
return O3(s, s.render, "ForwardRef");
|
|
847
|
+
case _:
|
|
837
848
|
var p = s.displayName || null;
|
|
838
|
-
return p !== null ? p :
|
|
839
|
-
case
|
|
840
|
-
var
|
|
849
|
+
return p !== null ? p : z(s.type) || "Memo";
|
|
850
|
+
case U: {
|
|
851
|
+
var R = s, T = R._payload, y = R._init;
|
|
841
852
|
try {
|
|
842
|
-
return
|
|
853
|
+
return z(y(T));
|
|
843
854
|
} catch {
|
|
844
855
|
return null;
|
|
845
856
|
}
|
|
@@ -847,18 +858,18 @@ function Be() {
|
|
|
847
858
|
}
|
|
848
859
|
return null;
|
|
849
860
|
}
|
|
850
|
-
var
|
|
851
|
-
function
|
|
861
|
+
var J = Object.assign, n1 = 0, V1, U1, H1, F1, K1, q1, G1;
|
|
862
|
+
function Y1() {
|
|
852
863
|
}
|
|
853
|
-
|
|
854
|
-
function
|
|
864
|
+
Y1.__reactDisabledLog = !0;
|
|
865
|
+
function k3() {
|
|
855
866
|
{
|
|
856
|
-
if (
|
|
857
|
-
|
|
867
|
+
if (n1 === 0) {
|
|
868
|
+
V1 = console.log, U1 = console.info, H1 = console.warn, F1 = console.error, K1 = console.group, q1 = console.groupCollapsed, G1 = console.groupEnd;
|
|
858
869
|
var s = {
|
|
859
870
|
configurable: !0,
|
|
860
871
|
enumerable: !0,
|
|
861
|
-
value:
|
|
872
|
+
value: Y1,
|
|
862
873
|
writable: !0
|
|
863
874
|
};
|
|
864
875
|
Object.defineProperties(console, {
|
|
@@ -871,250 +882,250 @@ function Be() {
|
|
|
871
882
|
groupEnd: s
|
|
872
883
|
});
|
|
873
884
|
}
|
|
874
|
-
|
|
885
|
+
n1++;
|
|
875
886
|
}
|
|
876
887
|
}
|
|
877
|
-
function
|
|
888
|
+
function W3() {
|
|
878
889
|
{
|
|
879
|
-
if (
|
|
890
|
+
if (n1--, n1 === 0) {
|
|
880
891
|
var s = {
|
|
881
892
|
configurable: !0,
|
|
882
893
|
enumerable: !0,
|
|
883
894
|
writable: !0
|
|
884
895
|
};
|
|
885
896
|
Object.defineProperties(console, {
|
|
886
|
-
log:
|
|
887
|
-
value: W1
|
|
888
|
-
}),
|
|
889
|
-
info: z({}, s, {
|
|
897
|
+
log: J({}, s, {
|
|
890
898
|
value: V1
|
|
891
899
|
}),
|
|
892
|
-
|
|
900
|
+
info: J({}, s, {
|
|
893
901
|
value: U1
|
|
894
902
|
}),
|
|
895
|
-
|
|
903
|
+
warn: J({}, s, {
|
|
896
904
|
value: H1
|
|
897
905
|
}),
|
|
898
|
-
|
|
906
|
+
error: J({}, s, {
|
|
899
907
|
value: F1
|
|
900
908
|
}),
|
|
901
|
-
|
|
909
|
+
group: J({}, s, {
|
|
902
910
|
value: K1
|
|
903
911
|
}),
|
|
904
|
-
|
|
912
|
+
groupCollapsed: J({}, s, {
|
|
905
913
|
value: q1
|
|
914
|
+
}),
|
|
915
|
+
groupEnd: J({}, s, {
|
|
916
|
+
value: G1
|
|
906
917
|
})
|
|
907
918
|
});
|
|
908
919
|
}
|
|
909
|
-
|
|
920
|
+
n1 < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
910
921
|
}
|
|
911
922
|
}
|
|
912
|
-
var
|
|
913
|
-
function
|
|
923
|
+
var j1 = b.ReactCurrentDispatcher, C1;
|
|
924
|
+
function u1(s, l, d) {
|
|
914
925
|
{
|
|
915
|
-
if (
|
|
926
|
+
if (C1 === void 0)
|
|
916
927
|
try {
|
|
917
928
|
throw Error();
|
|
918
|
-
} catch (
|
|
919
|
-
var p =
|
|
920
|
-
|
|
929
|
+
} catch (R) {
|
|
930
|
+
var p = R.stack.trim().match(/\n( *(at )?)/);
|
|
931
|
+
C1 = p && p[1] || "";
|
|
921
932
|
}
|
|
922
933
|
return `
|
|
923
|
-
` +
|
|
934
|
+
` + C1 + s;
|
|
924
935
|
}
|
|
925
936
|
}
|
|
926
|
-
var
|
|
937
|
+
var b1 = !1, d1;
|
|
927
938
|
{
|
|
928
|
-
var
|
|
929
|
-
|
|
939
|
+
var V3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
940
|
+
d1 = new V3();
|
|
930
941
|
}
|
|
931
|
-
function
|
|
932
|
-
if (!s ||
|
|
942
|
+
function z1(s, l) {
|
|
943
|
+
if (!s || b1)
|
|
933
944
|
return "";
|
|
934
945
|
{
|
|
935
|
-
var d =
|
|
946
|
+
var d = d1.get(s);
|
|
936
947
|
if (d !== void 0)
|
|
937
948
|
return d;
|
|
938
949
|
}
|
|
939
950
|
var p;
|
|
940
|
-
|
|
941
|
-
var
|
|
951
|
+
b1 = !0;
|
|
952
|
+
var R = Error.prepareStackTrace;
|
|
942
953
|
Error.prepareStackTrace = void 0;
|
|
943
|
-
var
|
|
944
|
-
|
|
954
|
+
var T;
|
|
955
|
+
T = j1.current, j1.current = null, k3();
|
|
945
956
|
try {
|
|
946
957
|
if (l) {
|
|
947
|
-
var
|
|
958
|
+
var y = function() {
|
|
948
959
|
throw Error();
|
|
949
960
|
};
|
|
950
|
-
if (Object.defineProperty(
|
|
961
|
+
if (Object.defineProperty(y.prototype, "props", {
|
|
951
962
|
set: function() {
|
|
952
963
|
throw Error();
|
|
953
964
|
}
|
|
954
965
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
955
966
|
try {
|
|
956
|
-
Reflect.construct(
|
|
957
|
-
} catch (
|
|
958
|
-
p =
|
|
967
|
+
Reflect.construct(y, []);
|
|
968
|
+
} catch (V) {
|
|
969
|
+
p = V;
|
|
959
970
|
}
|
|
960
|
-
Reflect.construct(s, [],
|
|
971
|
+
Reflect.construct(s, [], y);
|
|
961
972
|
} else {
|
|
962
973
|
try {
|
|
963
|
-
|
|
964
|
-
} catch (
|
|
965
|
-
p =
|
|
974
|
+
y.call();
|
|
975
|
+
} catch (V) {
|
|
976
|
+
p = V;
|
|
966
977
|
}
|
|
967
|
-
s.call(
|
|
978
|
+
s.call(y.prototype);
|
|
968
979
|
}
|
|
969
980
|
} else {
|
|
970
981
|
try {
|
|
971
982
|
throw Error();
|
|
972
|
-
} catch (
|
|
973
|
-
p =
|
|
983
|
+
} catch (V) {
|
|
984
|
+
p = V;
|
|
974
985
|
}
|
|
975
986
|
s();
|
|
976
987
|
}
|
|
977
|
-
} catch (
|
|
978
|
-
if (
|
|
979
|
-
for (var
|
|
980
|
-
`),
|
|
981
|
-
`),
|
|
982
|
-
|
|
983
|
-
for (;
|
|
984
|
-
if (
|
|
985
|
-
if (
|
|
988
|
+
} catch (V) {
|
|
989
|
+
if (V && p && typeof V.stack == "string") {
|
|
990
|
+
for (var C = V.stack.split(`
|
|
991
|
+
`), O = p.stack.split(`
|
|
992
|
+
`), P = C.length - 1, A = O.length - 1; P >= 1 && A >= 0 && C[P] !== O[A]; )
|
|
993
|
+
A--;
|
|
994
|
+
for (; P >= 1 && A >= 0; P--, A--)
|
|
995
|
+
if (C[P] !== O[A]) {
|
|
996
|
+
if (P !== 1 || A !== 1)
|
|
986
997
|
do
|
|
987
|
-
if (
|
|
988
|
-
var
|
|
989
|
-
` +
|
|
990
|
-
return s.displayName &&
|
|
998
|
+
if (P--, A--, A < 0 || C[P] !== O[A]) {
|
|
999
|
+
var F = `
|
|
1000
|
+
` + C[P].replace(" at new ", " at ");
|
|
1001
|
+
return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" && d1.set(s, F), F;
|
|
991
1002
|
}
|
|
992
|
-
while (
|
|
1003
|
+
while (P >= 1 && A >= 0);
|
|
993
1004
|
break;
|
|
994
1005
|
}
|
|
995
1006
|
}
|
|
996
1007
|
} finally {
|
|
997
|
-
|
|
1008
|
+
b1 = !1, j1.current = T, W3(), Error.prepareStackTrace = R;
|
|
998
1009
|
}
|
|
999
|
-
var
|
|
1000
|
-
return typeof s == "function" &&
|
|
1010
|
+
var e1 = s ? s.displayName || s.name : "", X = e1 ? u1(e1) : "";
|
|
1011
|
+
return typeof s == "function" && d1.set(s, X), X;
|
|
1001
1012
|
}
|
|
1002
|
-
function
|
|
1003
|
-
return
|
|
1013
|
+
function U3(s, l, d) {
|
|
1014
|
+
return z1(s, !1);
|
|
1004
1015
|
}
|
|
1005
|
-
function
|
|
1016
|
+
function H3(s) {
|
|
1006
1017
|
var l = s.prototype;
|
|
1007
1018
|
return !!(l && l.isReactComponent);
|
|
1008
1019
|
}
|
|
1009
|
-
function
|
|
1020
|
+
function v1(s, l, d) {
|
|
1010
1021
|
if (s == null)
|
|
1011
1022
|
return "";
|
|
1012
1023
|
if (typeof s == "function")
|
|
1013
|
-
return
|
|
1024
|
+
return z1(s, H3(s));
|
|
1014
1025
|
if (typeof s == "string")
|
|
1015
|
-
return
|
|
1026
|
+
return u1(s);
|
|
1016
1027
|
switch (s) {
|
|
1017
1028
|
case w:
|
|
1018
|
-
return
|
|
1029
|
+
return u1("Suspense");
|
|
1019
1030
|
case f:
|
|
1020
|
-
return
|
|
1031
|
+
return u1("SuspenseList");
|
|
1021
1032
|
}
|
|
1022
1033
|
if (typeof s == "object")
|
|
1023
1034
|
switch (s.$$typeof) {
|
|
1024
1035
|
case h:
|
|
1025
|
-
return
|
|
1026
|
-
case
|
|
1027
|
-
return
|
|
1028
|
-
case
|
|
1029
|
-
var p = s,
|
|
1036
|
+
return U3(s.render);
|
|
1037
|
+
case _:
|
|
1038
|
+
return v1(s.type, l, d);
|
|
1039
|
+
case U: {
|
|
1040
|
+
var p = s, R = p._payload, T = p._init;
|
|
1030
1041
|
try {
|
|
1031
|
-
return
|
|
1042
|
+
return v1(T(R), l, d);
|
|
1032
1043
|
} catch {
|
|
1033
1044
|
}
|
|
1034
1045
|
}
|
|
1035
1046
|
}
|
|
1036
1047
|
return "";
|
|
1037
1048
|
}
|
|
1038
|
-
var
|
|
1039
|
-
function
|
|
1049
|
+
var o1 = Object.prototype.hasOwnProperty, J1 = {}, X1 = b.ReactDebugCurrentFrame;
|
|
1050
|
+
function h1(s) {
|
|
1040
1051
|
if (s) {
|
|
1041
|
-
var l = s._owner, d =
|
|
1042
|
-
|
|
1052
|
+
var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
|
|
1053
|
+
X1.setExtraStackFrame(d);
|
|
1043
1054
|
} else
|
|
1044
|
-
|
|
1055
|
+
X1.setExtraStackFrame(null);
|
|
1045
1056
|
}
|
|
1046
|
-
function
|
|
1057
|
+
function F3(s, l, d, p, R) {
|
|
1047
1058
|
{
|
|
1048
|
-
var
|
|
1049
|
-
for (var
|
|
1050
|
-
if (
|
|
1051
|
-
var
|
|
1059
|
+
var T = Function.call.bind(o1);
|
|
1060
|
+
for (var y in s)
|
|
1061
|
+
if (T(s, y)) {
|
|
1062
|
+
var C = void 0;
|
|
1052
1063
|
try {
|
|
1053
|
-
if (typeof s[
|
|
1054
|
-
var
|
|
1055
|
-
throw
|
|
1064
|
+
if (typeof s[y] != "function") {
|
|
1065
|
+
var O = Error((p || "React class") + ": " + d + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1066
|
+
throw O.name = "Invariant Violation", O;
|
|
1056
1067
|
}
|
|
1057
|
-
|
|
1058
|
-
} catch (
|
|
1059
|
-
|
|
1068
|
+
C = s[y](l, y, p, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1069
|
+
} catch (P) {
|
|
1070
|
+
C = P;
|
|
1060
1071
|
}
|
|
1061
|
-
|
|
1072
|
+
C && !(C instanceof Error) && (h1(R), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", d, y, typeof C), h1(null)), C instanceof Error && !(C.message in J1) && (J1[C.message] = !0, h1(R), j("Failed %s type: %s", d, C.message), h1(null));
|
|
1062
1073
|
}
|
|
1063
1074
|
}
|
|
1064
1075
|
}
|
|
1065
|
-
var
|
|
1066
|
-
function
|
|
1067
|
-
return
|
|
1076
|
+
var K3 = Array.isArray;
|
|
1077
|
+
function y1(s) {
|
|
1078
|
+
return K3(s);
|
|
1068
1079
|
}
|
|
1069
|
-
function
|
|
1080
|
+
function q3(s) {
|
|
1070
1081
|
{
|
|
1071
1082
|
var l = typeof Symbol == "function" && Symbol.toStringTag, d = l && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
1072
1083
|
return d;
|
|
1073
1084
|
}
|
|
1074
1085
|
}
|
|
1075
|
-
function
|
|
1086
|
+
function G3(s) {
|
|
1076
1087
|
try {
|
|
1077
|
-
return
|
|
1088
|
+
return Q1(s), !1;
|
|
1078
1089
|
} catch {
|
|
1079
1090
|
return !0;
|
|
1080
1091
|
}
|
|
1081
1092
|
}
|
|
1082
|
-
function
|
|
1093
|
+
function Q1(s) {
|
|
1083
1094
|
return "" + s;
|
|
1084
1095
|
}
|
|
1085
|
-
function
|
|
1086
|
-
if (
|
|
1087
|
-
return
|
|
1096
|
+
function N1(s) {
|
|
1097
|
+
if (G3(s))
|
|
1098
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", q3(s)), Q1(s);
|
|
1088
1099
|
}
|
|
1089
|
-
var
|
|
1100
|
+
var e3 = b.ReactCurrentOwner, Y3 = {
|
|
1090
1101
|
key: !0,
|
|
1091
1102
|
ref: !0,
|
|
1092
1103
|
__self: !0,
|
|
1093
1104
|
__source: !0
|
|
1094
|
-
},
|
|
1095
|
-
function
|
|
1096
|
-
if (
|
|
1105
|
+
}, t3, n3;
|
|
1106
|
+
function z3(s) {
|
|
1107
|
+
if (o1.call(s, "ref")) {
|
|
1097
1108
|
var l = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
1098
1109
|
if (l && l.isReactWarning)
|
|
1099
1110
|
return !1;
|
|
1100
1111
|
}
|
|
1101
1112
|
return s.ref !== void 0;
|
|
1102
1113
|
}
|
|
1103
|
-
function
|
|
1104
|
-
if (
|
|
1114
|
+
function J3(s) {
|
|
1115
|
+
if (o1.call(s, "key")) {
|
|
1105
1116
|
var l = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
1106
1117
|
if (l && l.isReactWarning)
|
|
1107
1118
|
return !1;
|
|
1108
1119
|
}
|
|
1109
1120
|
return s.key !== void 0;
|
|
1110
1121
|
}
|
|
1111
|
-
function J3(s, l) {
|
|
1112
|
-
typeof s.ref == "string" && N1.current;
|
|
1113
|
-
}
|
|
1114
1122
|
function X3(s, l) {
|
|
1123
|
+
typeof s.ref == "string" && e3.current;
|
|
1124
|
+
}
|
|
1125
|
+
function Q3(s, l) {
|
|
1115
1126
|
{
|
|
1116
1127
|
var d = function() {
|
|
1117
|
-
|
|
1128
|
+
t3 || (t3 = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
1118
1129
|
};
|
|
1119
1130
|
d.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
1120
1131
|
get: d,
|
|
@@ -1122,10 +1133,10 @@ function Be() {
|
|
|
1122
1133
|
});
|
|
1123
1134
|
}
|
|
1124
1135
|
}
|
|
1125
|
-
function
|
|
1136
|
+
function N3(s, l) {
|
|
1126
1137
|
{
|
|
1127
1138
|
var d = function() {
|
|
1128
|
-
|
|
1139
|
+
n3 || (n3 = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
1129
1140
|
};
|
|
1130
1141
|
d.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
1131
1142
|
get: d,
|
|
@@ -1133,70 +1144,70 @@ function Be() {
|
|
|
1133
1144
|
});
|
|
1134
1145
|
}
|
|
1135
1146
|
}
|
|
1136
|
-
var
|
|
1137
|
-
var
|
|
1147
|
+
var e2 = function(s, l, d, p, R, T, y) {
|
|
1148
|
+
var C = {
|
|
1138
1149
|
// This tag allows us to uniquely identify this as a React Element
|
|
1139
1150
|
$$typeof: t,
|
|
1140
1151
|
// Built-in properties that belong on the element
|
|
1141
1152
|
type: s,
|
|
1142
1153
|
key: l,
|
|
1143
1154
|
ref: d,
|
|
1144
|
-
props:
|
|
1155
|
+
props: y,
|
|
1145
1156
|
// Record the component responsible for creating this element.
|
|
1146
|
-
_owner:
|
|
1157
|
+
_owner: T
|
|
1147
1158
|
};
|
|
1148
|
-
return
|
|
1159
|
+
return C._store = {}, Object.defineProperty(C._store, "validated", {
|
|
1149
1160
|
configurable: !1,
|
|
1150
1161
|
enumerable: !1,
|
|
1151
1162
|
writable: !0,
|
|
1152
1163
|
value: !1
|
|
1153
|
-
}), Object.defineProperty(
|
|
1164
|
+
}), Object.defineProperty(C, "_self", {
|
|
1154
1165
|
configurable: !1,
|
|
1155
1166
|
enumerable: !1,
|
|
1156
1167
|
writable: !1,
|
|
1157
1168
|
value: p
|
|
1158
|
-
}), Object.defineProperty(
|
|
1169
|
+
}), Object.defineProperty(C, "_source", {
|
|
1159
1170
|
configurable: !1,
|
|
1160
1171
|
enumerable: !1,
|
|
1161
1172
|
writable: !1,
|
|
1162
|
-
value:
|
|
1163
|
-
}), Object.freeze && (Object.freeze(
|
|
1173
|
+
value: R
|
|
1174
|
+
}), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
|
|
1164
1175
|
};
|
|
1165
|
-
function
|
|
1176
|
+
function t2(s, l, d, p, R) {
|
|
1166
1177
|
{
|
|
1167
|
-
var
|
|
1168
|
-
d !== void 0 && (
|
|
1169
|
-
for (
|
|
1170
|
-
|
|
1178
|
+
var T, y = {}, C = null, O = null;
|
|
1179
|
+
d !== void 0 && (N1(d), C = "" + d), J3(l) && (N1(l.key), C = "" + l.key), z3(l) && (O = l.ref, X3(l, R));
|
|
1180
|
+
for (T in l)
|
|
1181
|
+
o1.call(l, T) && !Y3.hasOwnProperty(T) && (y[T] = l[T]);
|
|
1171
1182
|
if (s && s.defaultProps) {
|
|
1172
|
-
var
|
|
1173
|
-
for (
|
|
1174
|
-
|
|
1183
|
+
var P = s.defaultProps;
|
|
1184
|
+
for (T in P)
|
|
1185
|
+
y[T] === void 0 && (y[T] = P[T]);
|
|
1175
1186
|
}
|
|
1176
|
-
if (
|
|
1177
|
-
var
|
|
1178
|
-
|
|
1187
|
+
if (C || O) {
|
|
1188
|
+
var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1189
|
+
C && Q3(y, A), O && N3(y, A);
|
|
1179
1190
|
}
|
|
1180
|
-
return
|
|
1191
|
+
return e2(s, C, O, R, p, e3.current, y);
|
|
1181
1192
|
}
|
|
1182
1193
|
}
|
|
1183
|
-
var
|
|
1184
|
-
function
|
|
1194
|
+
var I1 = b.ReactCurrentOwner, o3 = b.ReactDebugCurrentFrame;
|
|
1195
|
+
function N(s) {
|
|
1185
1196
|
if (s) {
|
|
1186
|
-
var l = s._owner, d =
|
|
1187
|
-
|
|
1197
|
+
var l = s._owner, d = v1(s.type, s._source, l ? l.type : null);
|
|
1198
|
+
o3.setExtraStackFrame(d);
|
|
1188
1199
|
} else
|
|
1189
|
-
|
|
1200
|
+
o3.setExtraStackFrame(null);
|
|
1190
1201
|
}
|
|
1191
|
-
var
|
|
1192
|
-
|
|
1193
|
-
function
|
|
1202
|
+
var R1;
|
|
1203
|
+
R1 = !1;
|
|
1204
|
+
function E1(s) {
|
|
1194
1205
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
1195
1206
|
}
|
|
1196
|
-
function
|
|
1207
|
+
function s3() {
|
|
1197
1208
|
{
|
|
1198
|
-
if (
|
|
1199
|
-
var s =
|
|
1209
|
+
if (I1.current) {
|
|
1210
|
+
var s = z(I1.current.type);
|
|
1200
1211
|
if (s)
|
|
1201
1212
|
return `
|
|
1202
1213
|
|
|
@@ -1205,13 +1216,13 @@ Check the render method of \`` + s + "`.";
|
|
|
1205
1216
|
return "";
|
|
1206
1217
|
}
|
|
1207
1218
|
}
|
|
1208
|
-
function
|
|
1219
|
+
function n2(s) {
|
|
1209
1220
|
return "";
|
|
1210
1221
|
}
|
|
1211
|
-
var
|
|
1212
|
-
function
|
|
1222
|
+
var c3 = {};
|
|
1223
|
+
function o2(s) {
|
|
1213
1224
|
{
|
|
1214
|
-
var l =
|
|
1225
|
+
var l = s3();
|
|
1215
1226
|
if (!l) {
|
|
1216
1227
|
var d = typeof s == "string" ? s : s.displayName || s.name;
|
|
1217
1228
|
d && (l = `
|
|
@@ -1221,39 +1232,39 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1221
1232
|
return l;
|
|
1222
1233
|
}
|
|
1223
1234
|
}
|
|
1224
|
-
function
|
|
1235
|
+
function r3(s, l) {
|
|
1225
1236
|
{
|
|
1226
1237
|
if (!s._store || s._store.validated || s.key != null)
|
|
1227
1238
|
return;
|
|
1228
1239
|
s._store.validated = !0;
|
|
1229
|
-
var d =
|
|
1230
|
-
if (
|
|
1240
|
+
var d = o2(l);
|
|
1241
|
+
if (c3[d])
|
|
1231
1242
|
return;
|
|
1232
|
-
|
|
1243
|
+
c3[d] = !0;
|
|
1233
1244
|
var p = "";
|
|
1234
|
-
s && s._owner && s._owner !==
|
|
1245
|
+
s && s._owner && s._owner !== I1.current && (p = " It was passed a child from " + z(s._owner.type) + "."), N(s), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, p), N(null);
|
|
1235
1246
|
}
|
|
1236
1247
|
}
|
|
1237
|
-
function
|
|
1248
|
+
function l3(s, l) {
|
|
1238
1249
|
{
|
|
1239
1250
|
if (typeof s != "object")
|
|
1240
1251
|
return;
|
|
1241
|
-
if (
|
|
1252
|
+
if (y1(s))
|
|
1242
1253
|
for (var d = 0; d < s.length; d++) {
|
|
1243
1254
|
var p = s[d];
|
|
1244
|
-
|
|
1255
|
+
E1(p) && r3(p, l);
|
|
1245
1256
|
}
|
|
1246
|
-
else if (
|
|
1257
|
+
else if (E1(s))
|
|
1247
1258
|
s._store && (s._store.validated = !0);
|
|
1248
1259
|
else if (s) {
|
|
1249
|
-
var
|
|
1250
|
-
if (typeof
|
|
1251
|
-
for (var
|
|
1252
|
-
|
|
1260
|
+
var R = Z(s);
|
|
1261
|
+
if (typeof R == "function" && R !== s.entries)
|
|
1262
|
+
for (var T = R.call(s), y; !(y = T.next()).done; )
|
|
1263
|
+
E1(y.value) && r3(y.value, l);
|
|
1253
1264
|
}
|
|
1254
1265
|
}
|
|
1255
1266
|
}
|
|
1256
|
-
function
|
|
1267
|
+
function s2(s) {
|
|
1257
1268
|
{
|
|
1258
1269
|
var l = s.type;
|
|
1259
1270
|
if (l == null || typeof l == "string")
|
|
@@ -1263,97 +1274,97 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1263
1274
|
d = l.propTypes;
|
|
1264
1275
|
else if (typeof l == "object" && (l.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1265
1276
|
// Inner props are checked in the reconciler.
|
|
1266
|
-
l.$$typeof ===
|
|
1277
|
+
l.$$typeof === _))
|
|
1267
1278
|
d = l.propTypes;
|
|
1268
1279
|
else
|
|
1269
1280
|
return;
|
|
1270
1281
|
if (d) {
|
|
1271
|
-
var p =
|
|
1272
|
-
|
|
1273
|
-
} else if (l.PropTypes !== void 0 && !
|
|
1274
|
-
|
|
1275
|
-
var
|
|
1276
|
-
|
|
1277
|
-
}
|
|
1278
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
1282
|
+
var p = z(l);
|
|
1283
|
+
F3(d, s.props, "prop", p, s);
|
|
1284
|
+
} else if (l.PropTypes !== void 0 && !R1) {
|
|
1285
|
+
R1 = !0;
|
|
1286
|
+
var R = z(l);
|
|
1287
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
|
|
1288
|
+
}
|
|
1289
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1279
1290
|
}
|
|
1280
1291
|
}
|
|
1281
|
-
function
|
|
1292
|
+
function c2(s) {
|
|
1282
1293
|
{
|
|
1283
1294
|
for (var l = Object.keys(s.props), d = 0; d < l.length; d++) {
|
|
1284
1295
|
var p = l[d];
|
|
1285
1296
|
if (p !== "children" && p !== "key") {
|
|
1286
|
-
|
|
1297
|
+
N(s), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), N(null);
|
|
1287
1298
|
break;
|
|
1288
1299
|
}
|
|
1289
1300
|
}
|
|
1290
|
-
s.ref !== null && (
|
|
1301
|
+
s.ref !== null && (N(s), j("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
|
|
1291
1302
|
}
|
|
1292
1303
|
}
|
|
1293
|
-
var
|
|
1294
|
-
function
|
|
1304
|
+
var i3 = {};
|
|
1305
|
+
function a3(s, l, d, p, R, T) {
|
|
1295
1306
|
{
|
|
1296
|
-
var
|
|
1297
|
-
if (!
|
|
1298
|
-
var
|
|
1299
|
-
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (
|
|
1300
|
-
var
|
|
1301
|
-
|
|
1302
|
-
var
|
|
1303
|
-
s === null ?
|
|
1304
|
-
}
|
|
1305
|
-
var
|
|
1306
|
-
if (
|
|
1307
|
-
return
|
|
1308
|
-
if (
|
|
1309
|
-
var
|
|
1310
|
-
if (
|
|
1307
|
+
var y = S1(s);
|
|
1308
|
+
if (!y) {
|
|
1309
|
+
var C = "";
|
|
1310
|
+
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1311
|
+
var O = n2();
|
|
1312
|
+
O ? C += O : C += s3();
|
|
1313
|
+
var P;
|
|
1314
|
+
s === null ? P = "null" : y1(s) ? P = "array" : s !== void 0 && s.$$typeof === t ? (P = "<" + (z(s.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : P = typeof s, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, C);
|
|
1315
|
+
}
|
|
1316
|
+
var A = t2(s, l, d, R, T);
|
|
1317
|
+
if (A == null)
|
|
1318
|
+
return A;
|
|
1319
|
+
if (y) {
|
|
1320
|
+
var F = l.children;
|
|
1321
|
+
if (F !== void 0)
|
|
1311
1322
|
if (p)
|
|
1312
|
-
if (
|
|
1313
|
-
for (var
|
|
1314
|
-
|
|
1315
|
-
Object.freeze && Object.freeze(
|
|
1323
|
+
if (y1(F)) {
|
|
1324
|
+
for (var e1 = 0; e1 < F.length; e1++)
|
|
1325
|
+
l3(F[e1], s);
|
|
1326
|
+
Object.freeze && Object.freeze(F);
|
|
1316
1327
|
} else
|
|
1317
|
-
|
|
1328
|
+
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1318
1329
|
else
|
|
1319
|
-
|
|
1320
|
-
}
|
|
1321
|
-
if (
|
|
1322
|
-
var
|
|
1323
|
-
return
|
|
1324
|
-
}),
|
|
1325
|
-
if (!
|
|
1326
|
-
var
|
|
1327
|
-
|
|
1330
|
+
l3(F, s);
|
|
1331
|
+
}
|
|
1332
|
+
if (o1.call(l, "key")) {
|
|
1333
|
+
var X = z(s), V = Object.keys(l).filter(function(d2) {
|
|
1334
|
+
return d2 !== "key";
|
|
1335
|
+
}), T1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1336
|
+
if (!i3[X + T1]) {
|
|
1337
|
+
var u2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1338
|
+
j(`A props object containing a "key" prop is being spread into JSX:
|
|
1328
1339
|
let props = %s;
|
|
1329
1340
|
<%s {...props} />
|
|
1330
1341
|
React keys must be passed directly to JSX without using spread:
|
|
1331
1342
|
let props = %s;
|
|
1332
|
-
<%s key={someKey} {...props} />`,
|
|
1343
|
+
<%s key={someKey} {...props} />`, T1, X, u2, X), i3[X + T1] = !0;
|
|
1333
1344
|
}
|
|
1334
1345
|
}
|
|
1335
|
-
return s === c ?
|
|
1346
|
+
return s === c ? c2(A) : s2(A), A;
|
|
1336
1347
|
}
|
|
1337
1348
|
}
|
|
1338
|
-
function c2(s, l, d) {
|
|
1339
|
-
return i3(s, l, d, !0);
|
|
1340
|
-
}
|
|
1341
1349
|
function r2(s, l, d) {
|
|
1342
|
-
return
|
|
1350
|
+
return a3(s, l, d, !0);
|
|
1351
|
+
}
|
|
1352
|
+
function l2(s, l, d) {
|
|
1353
|
+
return a3(s, l, d, !1);
|
|
1343
1354
|
}
|
|
1344
|
-
var
|
|
1345
|
-
|
|
1346
|
-
}()),
|
|
1355
|
+
var i2 = l2, a2 = r2;
|
|
1356
|
+
r1.Fragment = c, r1.jsx = i2, r1.jsxs = a2;
|
|
1357
|
+
}()), r1;
|
|
1347
1358
|
}
|
|
1348
|
-
var
|
|
1359
|
+
var w3;
|
|
1349
1360
|
function Oe() {
|
|
1350
|
-
return
|
|
1361
|
+
return w3 || (w3 = 1, process.env.NODE_ENV === "production" ? w1.exports = $e() : w1.exports = Be()), w1.exports;
|
|
1351
1362
|
}
|
|
1352
1363
|
var n = Oe();
|
|
1353
1364
|
const ke = "_mwfit_ppa3l_1", We = {
|
|
1354
1365
|
mwfit: ke
|
|
1355
1366
|
}, Ve = () => {
|
|
1356
|
-
const { reconnect: e } =
|
|
1367
|
+
const { reconnect: e } = E(), t = j3(), o = fe(), c = we();
|
|
1357
1368
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs(
|
|
1358
1369
|
"div",
|
|
1359
1370
|
{
|
|
@@ -1372,42 +1383,42 @@ const ke = "_mwfit_ppa3l_1", We = {
|
|
|
1372
1383
|
]
|
|
1373
1384
|
}
|
|
1374
1385
|
) });
|
|
1375
|
-
},
|
|
1386
|
+
}, A3 = x2({
|
|
1376
1387
|
sendMessage: () => null,
|
|
1377
1388
|
sendSimpleMessage: () => null,
|
|
1378
1389
|
addEventHandler: () => null,
|
|
1379
1390
|
removeEventHandler: () => null,
|
|
1380
1391
|
reconnect: () => null
|
|
1381
1392
|
}), Ue = ({ children: e }) => {
|
|
1382
|
-
const t =
|
|
1383
|
-
|
|
1384
|
-
t(
|
|
1393
|
+
const t = O1(), o = j3();
|
|
1394
|
+
m1(() => {
|
|
1395
|
+
t(L3());
|
|
1385
1396
|
}, [t]);
|
|
1386
|
-
const c =
|
|
1397
|
+
const c = s1(
|
|
1387
1398
|
(h, w) => {
|
|
1388
1399
|
t(Ee(h, w));
|
|
1389
1400
|
},
|
|
1390
1401
|
[t]
|
|
1391
|
-
), r =
|
|
1402
|
+
), r = s1(
|
|
1392
1403
|
(h, w) => {
|
|
1393
1404
|
c(h, { value: w });
|
|
1394
1405
|
},
|
|
1395
1406
|
[c]
|
|
1396
|
-
), i =
|
|
1407
|
+
), i = s1(
|
|
1397
1408
|
(h, w, f) => {
|
|
1398
1409
|
t(Te(h, w, f));
|
|
1399
1410
|
},
|
|
1400
1411
|
[t]
|
|
1401
|
-
), v =
|
|
1412
|
+
), v = s1(
|
|
1402
1413
|
(h, w) => {
|
|
1403
1414
|
t(De(h, w));
|
|
1404
1415
|
},
|
|
1405
1416
|
[t]
|
|
1406
|
-
), u =
|
|
1417
|
+
), u = s1(() => {
|
|
1407
1418
|
t(_e());
|
|
1408
1419
|
}, [t]);
|
|
1409
1420
|
return /* @__PURE__ */ n.jsx(
|
|
1410
|
-
|
|
1421
|
+
A3.Provider,
|
|
1411
1422
|
{
|
|
1412
1423
|
value: {
|
|
1413
1424
|
sendMessage: c,
|
|
@@ -1419,9 +1430,9 @@ const ke = "_mwfit_ppa3l_1", We = {
|
|
|
1419
1430
|
children: o ? e : /* @__PURE__ */ n.jsx(Ve, {})
|
|
1420
1431
|
}
|
|
1421
1432
|
);
|
|
1422
|
-
}, L6 = ({ children: e }) => /* @__PURE__ */ n.jsx(
|
|
1423
|
-
function
|
|
1424
|
-
return
|
|
1433
|
+
}, L6 = ({ children: e }) => /* @__PURE__ */ n.jsx(p2, { store: Ae, children: /* @__PURE__ */ n.jsx(Ue, { children: e }) });
|
|
1434
|
+
function E() {
|
|
1435
|
+
return Z2(A3);
|
|
1425
1436
|
}
|
|
1426
1437
|
function He({
|
|
1427
1438
|
onPress: e,
|
|
@@ -1429,7 +1440,7 @@ function He({
|
|
|
1429
1440
|
onHold: o,
|
|
1430
1441
|
holdTimeMs: c = 500
|
|
1431
1442
|
}) {
|
|
1432
|
-
const r =
|
|
1443
|
+
const r = L1(null), i = L1(!1);
|
|
1433
1444
|
function v() {
|
|
1434
1445
|
i.current = !0, e == null || e(), r.current = setTimeout(() => {
|
|
1435
1446
|
o == null || o(), r.current = null;
|
|
@@ -1448,7 +1459,7 @@ function He({
|
|
|
1448
1459
|
};
|
|
1449
1460
|
}
|
|
1450
1461
|
function g(e, t) {
|
|
1451
|
-
const { sendMessage: c } =
|
|
1462
|
+
const { sendMessage: c } = E(), r = L1(null);
|
|
1452
1463
|
function i() {
|
|
1453
1464
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1454
1465
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1459,8 +1470,8 @@ function g(e, t) {
|
|
|
1459
1470
|
}
|
|
1460
1471
|
return He({ onPress: i, onRelease: v });
|
|
1461
1472
|
}
|
|
1462
|
-
function
|
|
1463
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1473
|
+
function $3(e, t) {
|
|
1474
|
+
const { sendMessage: o, sendSimpleMessage: c } = E(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
|
|
1464
1475
|
return t ? {
|
|
1465
1476
|
volumeState: t,
|
|
1466
1477
|
volumeUp: r,
|
|
@@ -1471,8 +1482,8 @@ function L3(e, t) {
|
|
|
1471
1482
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
1472
1483
|
} : void 0;
|
|
1473
1484
|
}
|
|
1474
|
-
function
|
|
1475
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1485
|
+
function A6(e, t) {
|
|
1486
|
+
const { sendMessage: o, sendSimpleMessage: c } = E(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
|
|
1476
1487
|
return t ? {
|
|
1477
1488
|
volumeState: t,
|
|
1478
1489
|
volumeUp: r,
|
|
@@ -1484,11 +1495,11 @@ function $6(e, t) {
|
|
|
1484
1495
|
} : void 0;
|
|
1485
1496
|
}
|
|
1486
1497
|
function Fe(e) {
|
|
1487
|
-
const t =
|
|
1488
|
-
return
|
|
1498
|
+
const t = D(e), o = `/device/${e}`;
|
|
1499
|
+
return $3(o, t == null ? void 0 : t.volume);
|
|
1489
1500
|
}
|
|
1490
|
-
function
|
|
1491
|
-
const { sendMessage: t } =
|
|
1501
|
+
function B3(e) {
|
|
1502
|
+
const { sendMessage: t } = E();
|
|
1492
1503
|
return { powerOn: () => {
|
|
1493
1504
|
t(`/device/${e}/powerOn`, null);
|
|
1494
1505
|
}, powerOff: () => {
|
|
@@ -1497,14 +1508,14 @@ function $3(e) {
|
|
|
1497
1508
|
t(`/device/${e}/powerToggle`, null);
|
|
1498
1509
|
} };
|
|
1499
1510
|
}
|
|
1500
|
-
function
|
|
1501
|
-
const { sendMessage: t } =
|
|
1511
|
+
function B1(e) {
|
|
1512
|
+
const { sendMessage: t } = E(), o = D(e);
|
|
1502
1513
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1503
1514
|
t(`/device/${e}/${r}`, null);
|
|
1504
1515
|
} } : void 0;
|
|
1505
1516
|
}
|
|
1506
1517
|
function Ke(e) {
|
|
1507
|
-
const { sendMessage: t } =
|
|
1518
|
+
const { sendMessage: t } = E(), o = D(e), c = () => {
|
|
1508
1519
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1509
1520
|
}, r = () => {
|
|
1510
1521
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
@@ -1514,8 +1525,8 @@ function Ke(e) {
|
|
|
1514
1525
|
};
|
|
1515
1526
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1516
1527
|
}
|
|
1517
|
-
function
|
|
1518
|
-
const t =
|
|
1528
|
+
function $6(e) {
|
|
1529
|
+
const t = D(e), o = B3(e), c = B1(e), r = B1(e), i = Fe(e), v = Ke(e);
|
|
1519
1530
|
if (t)
|
|
1520
1531
|
return {
|
|
1521
1532
|
avrState: t,
|
|
@@ -1527,7 +1538,7 @@ function A6(e) {
|
|
|
1527
1538
|
};
|
|
1528
1539
|
}
|
|
1529
1540
|
function B6(e) {
|
|
1530
|
-
const { sendMessage: t } =
|
|
1541
|
+
const { sendMessage: t } = E(), o = `/device/${e}`, c = D(e), r = g(o, "cameraUp"), i = g(o, "cameraDown"), v = g(o, "cameraLeft"), u = g(o, "cameraRight"), h = g(o, "cameraZoomIn"), w = g(o, "cameraZoomOut"), f = (_) => t("/camera/recallPreset", _);
|
|
1531
1542
|
if (c)
|
|
1532
1543
|
return {
|
|
1533
1544
|
state: c,
|
|
@@ -1541,8 +1552,8 @@ function B6(e) {
|
|
|
1541
1552
|
};
|
|
1542
1553
|
}
|
|
1543
1554
|
const O6 = ({ className: e }) => {
|
|
1544
|
-
const [t, o] =
|
|
1545
|
-
return
|
|
1555
|
+
const [t, o] = G();
|
|
1556
|
+
return m1(() => {
|
|
1546
1557
|
setInterval(() => {
|
|
1547
1558
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1548
1559
|
o(c);
|
|
@@ -1553,7 +1564,7 @@ const O6 = ({ className: e }) => {
|
|
|
1553
1564
|
] });
|
|
1554
1565
|
};
|
|
1555
1566
|
function k6(e) {
|
|
1556
|
-
const { sendMessage: t } =
|
|
1567
|
+
const { sendMessage: t } = E(), o = D(e), c = `/device/${e}`;
|
|
1557
1568
|
return o ? { state: o, recallPreset: (v, u) => {
|
|
1558
1569
|
t(`${c}/presets/recall`, { deviceKey: v, preset: u });
|
|
1559
1570
|
}, savePresets: (v) => {
|
|
@@ -1561,7 +1572,7 @@ function k6(e) {
|
|
|
1561
1572
|
} } : void 0;
|
|
1562
1573
|
}
|
|
1563
1574
|
function W6(e) {
|
|
1564
|
-
const t =
|
|
1575
|
+
const t = D(e);
|
|
1565
1576
|
if (t)
|
|
1566
1577
|
return { endpointState: t };
|
|
1567
1578
|
}
|
|
@@ -1574,14 +1585,14 @@ function U6(e) {
|
|
|
1574
1585
|
return { red: o, green: c, yellow: r, blue: i };
|
|
1575
1586
|
}
|
|
1576
1587
|
function H6(e) {
|
|
1577
|
-
const t =
|
|
1588
|
+
const t = D(e);
|
|
1578
1589
|
if (t)
|
|
1579
1590
|
return {
|
|
1580
1591
|
communicationMonitorState: t
|
|
1581
1592
|
};
|
|
1582
1593
|
}
|
|
1583
1594
|
function F6(e) {
|
|
1584
|
-
const t =
|
|
1595
|
+
const t = D(e);
|
|
1585
1596
|
if (t)
|
|
1586
1597
|
return t.deviceInfo || void 0;
|
|
1587
1598
|
}
|
|
@@ -1590,7 +1601,7 @@ function K6(e) {
|
|
|
1590
1601
|
return { up: o, down: c, left: r, right: i, select: v, menu: u, exit: h };
|
|
1591
1602
|
}
|
|
1592
1603
|
function q6(e) {
|
|
1593
|
-
const { sendMessage: t } =
|
|
1604
|
+
const { sendMessage: t } = E();
|
|
1594
1605
|
return { recallPreset: (c) => {
|
|
1595
1606
|
t(
|
|
1596
1607
|
`/device/${e}/recallPreset`,
|
|
@@ -1603,7 +1614,7 @@ function G6(e) {
|
|
|
1603
1614
|
return { dvrList: o, record: c };
|
|
1604
1615
|
}
|
|
1605
1616
|
function Y6(e) {
|
|
1606
|
-
const { sendMessage: t } =
|
|
1617
|
+
const { sendMessage: t } = E(), o = D(e);
|
|
1607
1618
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1608
1619
|
t(`/device/${e}/setAutoMode`, null);
|
|
1609
1620
|
}, setManualMode: () => {
|
|
@@ -1617,7 +1628,7 @@ function Y6(e) {
|
|
|
1617
1628
|
} } : void 0;
|
|
1618
1629
|
}
|
|
1619
1630
|
function z6(e) {
|
|
1620
|
-
const { sendMessage: t } =
|
|
1631
|
+
const { sendMessage: t } = E(), o = `/device/${e}`, c = D(e);
|
|
1621
1632
|
return c ? {
|
|
1622
1633
|
state: c,
|
|
1623
1634
|
selectCamera: (i) => {
|
|
@@ -1626,40 +1637,40 @@ function z6(e) {
|
|
|
1626
1637
|
} : void 0;
|
|
1627
1638
|
}
|
|
1628
1639
|
function J6(e) {
|
|
1629
|
-
const t =
|
|
1640
|
+
const t = D(e);
|
|
1630
1641
|
if (t)
|
|
1631
1642
|
return { state: t };
|
|
1632
1643
|
}
|
|
1633
1644
|
function X6(e) {
|
|
1634
|
-
const { sendMessage: t, sendSimpleMessage: o } =
|
|
1645
|
+
const { sendMessage: t, sendSimpleMessage: o } = E(), c = D(e), r = Q2(e), i = c || r;
|
|
1635
1646
|
return i ? {
|
|
1636
1647
|
levelState: i,
|
|
1637
|
-
setLevel: (f,
|
|
1648
|
+
setLevel: (f, _) => o(`${f}/level`, _),
|
|
1638
1649
|
muteToggle: (f) => t(`${f}/muteToggle`, null),
|
|
1639
1650
|
muteOn: (f) => t(`${f}/muteOn`, null),
|
|
1640
1651
|
muteOff: (f) => t(`${f}/muteOff`, null)
|
|
1641
1652
|
} : void 0;
|
|
1642
1653
|
}
|
|
1643
1654
|
function Q6(e) {
|
|
1644
|
-
const { sendMessage: t } =
|
|
1655
|
+
const { sendMessage: t } = E(), o = D(e);
|
|
1645
1656
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1646
1657
|
t(`/device/${e}/selectScene`, r);
|
|
1647
1658
|
} } : void 0;
|
|
1648
1659
|
}
|
|
1649
1660
|
function N6(e) {
|
|
1650
|
-
const { sendMessage: t } =
|
|
1661
|
+
const { sendMessage: t } = E(), o = D(e);
|
|
1651
1662
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1652
1663
|
t(`/device/${e}/route`, r);
|
|
1653
1664
|
} } : void 0;
|
|
1654
1665
|
}
|
|
1655
1666
|
function et(e) {
|
|
1656
|
-
const { sendMessage: t } =
|
|
1667
|
+
const { sendMessage: t } = E();
|
|
1657
1668
|
return { closeApp: () => {
|
|
1658
1669
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1659
1670
|
} };
|
|
1660
1671
|
}
|
|
1661
1672
|
function tt(e) {
|
|
1662
|
-
const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"), u = g(t, "num5"), h = g(t, "num6"), w = g(t, "num7"), f = g(t, "num8"),
|
|
1673
|
+
const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"), u = g(t, "num5"), h = g(t, "num6"), w = g(t, "num7"), f = g(t, "num8"), _ = g(t, "num9"), U = g(t, "numDash"), a = g(t, "numEnter");
|
|
1663
1674
|
return {
|
|
1664
1675
|
digit0: o,
|
|
1665
1676
|
digit1: c,
|
|
@@ -1670,13 +1681,13 @@ function tt(e) {
|
|
|
1670
1681
|
digit6: h,
|
|
1671
1682
|
digit7: w,
|
|
1672
1683
|
digit8: f,
|
|
1673
|
-
digit9:
|
|
1674
|
-
keypadAccessoryButton1:
|
|
1675
|
-
keypadAccessoryButton2:
|
|
1684
|
+
digit9: _,
|
|
1685
|
+
keypadAccessoryButton1: U,
|
|
1686
|
+
keypadAccessoryButton2: a
|
|
1676
1687
|
};
|
|
1677
1688
|
}
|
|
1678
1689
|
function nt(e) {
|
|
1679
|
-
const { sendMessage: t } =
|
|
1690
|
+
const { sendMessage: t } = E(), o = D(e);
|
|
1680
1691
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1681
1692
|
t(`/device/${e}/raise`, null);
|
|
1682
1693
|
}, lower: () => {
|
|
@@ -1684,26 +1695,26 @@ function nt(e) {
|
|
|
1684
1695
|
} } : void 0;
|
|
1685
1696
|
}
|
|
1686
1697
|
function ot(e) {
|
|
1687
|
-
const { sendMessage: t } =
|
|
1698
|
+
const { sendMessage: t } = E(), o = x1(e);
|
|
1688
1699
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1689
1700
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1690
1701
|
} } : void 0;
|
|
1691
1702
|
}
|
|
1692
1703
|
function st(e) {
|
|
1693
|
-
const { sendMessage: t } =
|
|
1704
|
+
const { sendMessage: t } = E();
|
|
1694
1705
|
return { runDefaultPresentRoute: () => {
|
|
1695
1706
|
t(`/room/${e}/defaultsource`, {});
|
|
1696
1707
|
} };
|
|
1697
1708
|
}
|
|
1698
1709
|
function ct(e) {
|
|
1699
|
-
const { sendMessage: t } =
|
|
1710
|
+
const { sendMessage: t } = E();
|
|
1700
1711
|
return { runDirectRoute: (c) => {
|
|
1701
1712
|
t(`/room/${e}/directRoute`, c);
|
|
1702
1713
|
} };
|
|
1703
1714
|
}
|
|
1704
1715
|
function rt(e) {
|
|
1705
|
-
const { sendMessage: t } =
|
|
1706
|
-
return { routingState:
|
|
1716
|
+
const { sendMessage: t } = E();
|
|
1717
|
+
return { routingState: D(e), runRoute: (r) => {
|
|
1707
1718
|
t(`/room/${e}/source`, r);
|
|
1708
1719
|
} };
|
|
1709
1720
|
}
|
|
@@ -1712,7 +1723,7 @@ function lt(e) {
|
|
|
1712
1723
|
return { dvrList: o, replay: c };
|
|
1713
1724
|
}
|
|
1714
1725
|
function it(e) {
|
|
1715
|
-
const { sendMessage: t } =
|
|
1726
|
+
const { sendMessage: t } = E(), o = D(e);
|
|
1716
1727
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1717
1728
|
t(`/device/${e}/shadeUp`, null);
|
|
1718
1729
|
}, shadeDown: () => {
|
|
@@ -1722,7 +1733,7 @@ function it(e) {
|
|
|
1722
1733
|
} } : void 0;
|
|
1723
1734
|
}
|
|
1724
1735
|
function at(e) {
|
|
1725
|
-
const { sendMessage: t } =
|
|
1736
|
+
const { sendMessage: t } = E(), o = x1(e);
|
|
1726
1737
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (u) => {
|
|
1727
1738
|
t(`/room/${e}/setShutdownPromptSeconds`, u);
|
|
1728
1739
|
}, shutdownStart: () => {
|
|
@@ -1734,7 +1745,7 @@ function at(e) {
|
|
|
1734
1745
|
} } : void 0;
|
|
1735
1746
|
}
|
|
1736
1747
|
function ut(e) {
|
|
1737
|
-
const { sendMessage: t } =
|
|
1748
|
+
const { sendMessage: t } = E(), o = D(e);
|
|
1738
1749
|
return o ? { switchedOutputState: o, on: () => {
|
|
1739
1750
|
t(`/device/${e}/on`, null);
|
|
1740
1751
|
}, off: () => {
|
|
@@ -1742,7 +1753,7 @@ function ut(e) {
|
|
|
1742
1753
|
} } : void 0;
|
|
1743
1754
|
}
|
|
1744
1755
|
function dt(e) {
|
|
1745
|
-
const { sendMessage: t } =
|
|
1756
|
+
const { sendMessage: t } = E(), o = x1(e);
|
|
1746
1757
|
return o ? { techPasswordState: o, validatePassword: (i) => {
|
|
1747
1758
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
1748
1759
|
}, setPassword: (i, v) => {
|
|
@@ -1750,11 +1761,11 @@ function dt(e) {
|
|
|
1750
1761
|
} } : void 0;
|
|
1751
1762
|
}
|
|
1752
1763
|
function vt(e) {
|
|
1753
|
-
const { sendMessage: t } =
|
|
1764
|
+
const { sendMessage: t } = E(), o = D(e);
|
|
1754
1765
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1755
1766
|
}
|
|
1756
1767
|
function ht(e) {
|
|
1757
|
-
const { sendMessage: t } =
|
|
1768
|
+
const { sendMessage: t } = E(), o = D(e), c = (r) => {
|
|
1758
1769
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1759
1770
|
};
|
|
1760
1771
|
return {
|
|
@@ -1776,7 +1787,7 @@ function gt(e) {
|
|
|
1776
1787
|
};
|
|
1777
1788
|
}
|
|
1778
1789
|
function ft(e) {
|
|
1779
|
-
const t =
|
|
1790
|
+
const t = D(e), { sendMessage: o } = E();
|
|
1780
1791
|
return t ? {
|
|
1781
1792
|
touchpanelState: t,
|
|
1782
1793
|
appControl: { hideApp: () => {
|
|
@@ -1792,7 +1803,7 @@ function ft(e) {
|
|
|
1792
1803
|
} : void 0;
|
|
1793
1804
|
}
|
|
1794
1805
|
function wt(e) {
|
|
1795
|
-
const t =
|
|
1806
|
+
const t = D(e), o = B3(e), c = B1(e);
|
|
1796
1807
|
if (!t) return;
|
|
1797
1808
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1798
1809
|
return {
|
|
@@ -1805,8 +1816,8 @@ function wt(e) {
|
|
|
1805
1816
|
const pt = ({
|
|
1806
1817
|
config: e
|
|
1807
1818
|
}) => {
|
|
1808
|
-
const { sendMessage: t } =
|
|
1809
|
-
|
|
1819
|
+
const { sendMessage: t } = E();
|
|
1820
|
+
m1(() => {
|
|
1810
1821
|
var c, r, i, v;
|
|
1811
1822
|
if (!e)
|
|
1812
1823
|
return;
|
|
@@ -1836,8 +1847,8 @@ const pt = ({
|
|
|
1836
1847
|
}, [e, t]);
|
|
1837
1848
|
};
|
|
1838
1849
|
function mt(e, t) {
|
|
1839
|
-
const [o, c] =
|
|
1840
|
-
return
|
|
1850
|
+
const [o, c] = G(!1), [r, i] = G(!1);
|
|
1851
|
+
return M3(() => {
|
|
1841
1852
|
const { current: v } = e, u = () => {
|
|
1842
1853
|
const h = v && v.scrollHeight > v.clientHeight, w = v && v.scrollWidth > v.clientWidth;
|
|
1843
1854
|
i(h ?? !1), c(w ?? !1), t && t(h ?? !1, w ?? !1);
|
|
@@ -1846,19 +1857,19 @@ function mt(e, t) {
|
|
|
1846
1857
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1847
1858
|
}
|
|
1848
1859
|
function Mt(e, t) {
|
|
1849
|
-
const o =
|
|
1850
|
-
return
|
|
1860
|
+
const o = X2(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1861
|
+
return $3(c, o);
|
|
1851
1862
|
}
|
|
1852
1863
|
function xt(e) {
|
|
1853
1864
|
var u, h;
|
|
1854
|
-
const [t, o] =
|
|
1865
|
+
const [t, o] = G(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollLeft) ?? 0), [c, r] = G(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (w) => {
|
|
1855
1866
|
const { current: f } = e;
|
|
1856
1867
|
f && (console.log(f.scrollLeft), f.scrollLeft += w, console.log(f.scrollLeft));
|
|
1857
1868
|
}, v = (w) => {
|
|
1858
1869
|
const { current: f } = e;
|
|
1859
1870
|
f && (console.log(f.scrollTop), f.scrollTop += w, console.log(f.scrollTop));
|
|
1860
1871
|
};
|
|
1861
|
-
return
|
|
1872
|
+
return M3(() => {
|
|
1862
1873
|
const { current: w } = e, f = () => {
|
|
1863
1874
|
o((w == null ? void 0 : w.scrollLeft) ?? 0), r((w == null ? void 0 : w.scrollTop) ?? 0);
|
|
1864
1875
|
};
|
|
@@ -1866,15 +1877,15 @@ function xt(e) {
|
|
|
1866
1877
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: v };
|
|
1867
1878
|
}
|
|
1868
1879
|
function Zt(e) {
|
|
1869
|
-
const t =
|
|
1880
|
+
const t = O1();
|
|
1870
1881
|
return [() => {
|
|
1871
|
-
t(
|
|
1882
|
+
t(k.addSyncState(e));
|
|
1872
1883
|
}, () => {
|
|
1873
|
-
t(
|
|
1874
|
-
},
|
|
1884
|
+
t(k.removeSyncState(e));
|
|
1885
|
+
}, pe(e)];
|
|
1875
1886
|
}
|
|
1876
1887
|
function St() {
|
|
1877
|
-
const { sendMessage: e } =
|
|
1888
|
+
const { sendMessage: e } = E();
|
|
1878
1889
|
return {
|
|
1879
1890
|
reboot: () => {
|
|
1880
1891
|
e("/system/reboot", null);
|
|
@@ -1885,13 +1896,13 @@ function St() {
|
|
|
1885
1896
|
};
|
|
1886
1897
|
}
|
|
1887
1898
|
function jt() {
|
|
1888
|
-
const [e, t] =
|
|
1899
|
+
const [e, t] = G(), [o, c] = G();
|
|
1889
1900
|
function r() {
|
|
1890
1901
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1891
1902
|
const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1892
1903
|
c(i);
|
|
1893
1904
|
}
|
|
1894
|
-
return
|
|
1905
|
+
return m1(() => {
|
|
1895
1906
|
r();
|
|
1896
1907
|
const i = setInterval(() => {
|
|
1897
1908
|
r();
|
|
@@ -1900,9 +1911,9 @@ function jt() {
|
|
|
1900
1911
|
}, []), { date: e, time: o };
|
|
1901
1912
|
}
|
|
1902
1913
|
const Ct = () => {
|
|
1903
|
-
const [e, t] =
|
|
1914
|
+
const [e, t] = G(!1), o = S2(), c = j2();
|
|
1904
1915
|
let r;
|
|
1905
|
-
return
|
|
1916
|
+
return C2(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: [
|
|
1906
1917
|
/* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
1907
1918
|
/* @__PURE__ */ n.jsx(
|
|
1908
1919
|
"button",
|
|
@@ -1922,7 +1933,7 @@ const Ct = () => {
|
|
|
1922
1933
|
),
|
|
1923
1934
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
1924
1935
|
] });
|
|
1925
|
-
}, qe = "_iconbtn_16qss_1", Ge = "_iconbtnvert_16qss_7", Ye = "_iconsm_16qss_18",
|
|
1936
|
+
}, qe = "_iconbtn_16qss_1", Ge = "_iconbtnvert_16qss_7", Ye = "_iconsm_16qss_18", _1 = {
|
|
1926
1937
|
iconbtn: qe,
|
|
1927
1938
|
iconbtnvert: Ge,
|
|
1928
1939
|
iconsm: Ye
|
|
@@ -1938,32 +1949,32 @@ const Ct = () => {
|
|
|
1938
1949
|
feedbackClassName: h,
|
|
1939
1950
|
onPointerDown: w,
|
|
1940
1951
|
onPointerUp: f,
|
|
1941
|
-
onPointerLeave:
|
|
1942
|
-
...
|
|
1952
|
+
onPointerLeave: _,
|
|
1953
|
+
...U
|
|
1943
1954
|
}) => {
|
|
1944
|
-
const [
|
|
1955
|
+
const [a, x] = G(!1), S = !v && u ? h : "", Z = !v && (a || u);
|
|
1945
1956
|
return /* @__PURE__ */ n.jsxs(
|
|
1946
1957
|
"button",
|
|
1947
1958
|
{
|
|
1948
1959
|
type: "button",
|
|
1949
|
-
className: `${
|
|
1950
|
-
...
|
|
1960
|
+
className: `${_1.iconbtn} ${o ? _1.iconbtnvert : ""} ${c} ${S}`,
|
|
1961
|
+
...U,
|
|
1951
1962
|
disabled: v,
|
|
1952
|
-
onPointerDown: (
|
|
1953
|
-
|
|
1963
|
+
onPointerDown: (b) => {
|
|
1964
|
+
x(!0), w == null || w(b);
|
|
1954
1965
|
},
|
|
1955
|
-
onPointerUp: (
|
|
1956
|
-
|
|
1966
|
+
onPointerUp: (b) => {
|
|
1967
|
+
x(!1), f == null || f(b);
|
|
1957
1968
|
},
|
|
1958
|
-
onPointerLeave: (
|
|
1959
|
-
|
|
1969
|
+
onPointerLeave: (b) => {
|
|
1970
|
+
x(!1), _ == null || _(b);
|
|
1960
1971
|
},
|
|
1961
1972
|
children: [
|
|
1962
1973
|
e && /* @__PURE__ */ n.jsx(
|
|
1963
1974
|
e,
|
|
1964
1975
|
{
|
|
1965
|
-
className: `${r ||
|
|
1966
|
-
active:
|
|
1976
|
+
className: `${r || _1.iconsm}`,
|
|
1977
|
+
active: Z,
|
|
1967
1978
|
disabled: v
|
|
1968
1979
|
}
|
|
1969
1980
|
),
|
|
@@ -1971,7 +1982,7 @@ const Ct = () => {
|
|
|
1971
1982
|
]
|
|
1972
1983
|
}
|
|
1973
1984
|
);
|
|
1974
|
-
},
|
|
1985
|
+
}, I = ({
|
|
1975
1986
|
ActiveImage: e,
|
|
1976
1987
|
DisabledImage: t,
|
|
1977
1988
|
EnabledImage: o,
|
|
@@ -1982,7 +1993,7 @@ const Ct = () => {
|
|
|
1982
1993
|
className: t = "",
|
|
1983
1994
|
disabled: o
|
|
1984
1995
|
}) => /* @__PURE__ */ n.jsx(
|
|
1985
|
-
|
|
1996
|
+
I,
|
|
1986
1997
|
{
|
|
1987
1998
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
1988
1999
|
"svg",
|
|
@@ -2034,7 +2045,7 @@ const Ct = () => {
|
|
|
2034
2045
|
className: t = "",
|
|
2035
2046
|
disabled: o
|
|
2036
2047
|
}) => /* @__PURE__ */ n.jsx(
|
|
2037
|
-
|
|
2048
|
+
I,
|
|
2038
2049
|
{
|
|
2039
2050
|
ActiveImage: (
|
|
2040
2051
|
/* icon-ban-active.svg */
|
|
@@ -2083,7 +2094,7 @@ const Ct = () => {
|
|
|
2083
2094
|
className: t = "",
|
|
2084
2095
|
disabled: o
|
|
2085
2096
|
}) => /* @__PURE__ */ n.jsx(
|
|
2086
|
-
|
|
2097
|
+
I,
|
|
2087
2098
|
{
|
|
2088
2099
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2089
2100
|
"svg",
|
|
@@ -2123,7 +2134,7 @@ const Ct = () => {
|
|
|
2123
2134
|
className: t = "",
|
|
2124
2135
|
disabled: o
|
|
2125
2136
|
}) => /* @__PURE__ */ n.jsx(
|
|
2126
|
-
|
|
2137
|
+
I,
|
|
2127
2138
|
{
|
|
2128
2139
|
ActiveImage: (
|
|
2129
2140
|
/* icon-check-active.svg */
|
|
@@ -2173,7 +2184,7 @@ const Ct = () => {
|
|
|
2173
2184
|
className: t = "",
|
|
2174
2185
|
disabled: o
|
|
2175
2186
|
}) => /* @__PURE__ */ n.jsx(
|
|
2176
|
-
|
|
2187
|
+
I,
|
|
2177
2188
|
{
|
|
2178
2189
|
ActiveImage: (
|
|
2179
2190
|
/* icon-controller-active.svg */
|
|
@@ -2240,7 +2251,7 @@ const Ct = () => {
|
|
|
2240
2251
|
className: t = "",
|
|
2241
2252
|
disabled: o
|
|
2242
2253
|
}) => /* @__PURE__ */ n.jsx(
|
|
2243
|
-
|
|
2254
|
+
I,
|
|
2244
2255
|
{
|
|
2245
2256
|
ActiveImage: (
|
|
2246
2257
|
/* icon-down-active.svg */
|
|
@@ -2289,7 +2300,7 @@ const Ct = () => {
|
|
|
2289
2300
|
className: t = "",
|
|
2290
2301
|
disabled: o
|
|
2291
2302
|
}) => /* @__PURE__ */ n.jsx(
|
|
2292
|
-
|
|
2303
|
+
I,
|
|
2293
2304
|
{
|
|
2294
2305
|
ActiveImage: (
|
|
2295
2306
|
/* icon-elipses-active.svg */
|
|
@@ -2338,7 +2349,7 @@ const Ct = () => {
|
|
|
2338
2349
|
className: t = "",
|
|
2339
2350
|
disabled: o
|
|
2340
2351
|
}) => /* @__PURE__ */ n.jsx(
|
|
2341
|
-
|
|
2352
|
+
I,
|
|
2342
2353
|
{
|
|
2343
2354
|
ActiveImage: (
|
|
2344
2355
|
/* icon-flag-active.svg */
|
|
@@ -2387,7 +2398,7 @@ const Ct = () => {
|
|
|
2387
2398
|
className: t = "",
|
|
2388
2399
|
disabled: o
|
|
2389
2400
|
}) => /* @__PURE__ */ n.jsx(
|
|
2390
|
-
|
|
2401
|
+
I,
|
|
2391
2402
|
{
|
|
2392
2403
|
ActiveImage: (
|
|
2393
2404
|
/* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
|
|
@@ -2436,7 +2447,7 @@ const Ct = () => {
|
|
|
2436
2447
|
className: t = "",
|
|
2437
2448
|
disabled: o
|
|
2438
2449
|
}) => /* @__PURE__ */ n.jsx(
|
|
2439
|
-
|
|
2450
|
+
I,
|
|
2440
2451
|
{
|
|
2441
2452
|
ActiveImage: (
|
|
2442
2453
|
/* icon-glass-active.svg */
|
|
@@ -2486,7 +2497,7 @@ const Ct = () => {
|
|
|
2486
2497
|
className: t = "",
|
|
2487
2498
|
disabled: o
|
|
2488
2499
|
}) => /* @__PURE__ */ n.jsx(
|
|
2489
|
-
|
|
2500
|
+
I,
|
|
2490
2501
|
{
|
|
2491
2502
|
ActiveImage: (
|
|
2492
2503
|
/* icon-hdmi-active.svg */
|
|
@@ -2553,7 +2564,7 @@ const Ct = () => {
|
|
|
2553
2564
|
className: t = "",
|
|
2554
2565
|
disabled: o
|
|
2555
2566
|
}) => /* @__PURE__ */ n.jsx(
|
|
2556
|
-
|
|
2567
|
+
I,
|
|
2557
2568
|
{
|
|
2558
2569
|
ActiveImage: (
|
|
2559
2570
|
/* icon-laptop-active.svg */
|
|
@@ -2602,7 +2613,7 @@ const Ct = () => {
|
|
|
2602
2613
|
className: t = "",
|
|
2603
2614
|
disabled: o
|
|
2604
2615
|
}) => /* @__PURE__ */ n.jsx(
|
|
2605
|
-
|
|
2616
|
+
I,
|
|
2606
2617
|
{
|
|
2607
2618
|
ActiveImage: (
|
|
2608
2619
|
/* icon-left-active.svg */
|
|
@@ -2651,7 +2662,7 @@ const Ct = () => {
|
|
|
2651
2662
|
className: t = "",
|
|
2652
2663
|
disabled: o
|
|
2653
2664
|
}) => /* @__PURE__ */ n.jsx(
|
|
2654
|
-
|
|
2665
|
+
I,
|
|
2655
2666
|
{
|
|
2656
2667
|
ActiveImage: (
|
|
2657
2668
|
/* icon-light-active.svg */
|
|
@@ -2700,7 +2711,7 @@ const Ct = () => {
|
|
|
2700
2711
|
className: t = "",
|
|
2701
2712
|
disabled: o
|
|
2702
2713
|
}) => /* @__PURE__ */ n.jsx(
|
|
2703
|
-
|
|
2714
|
+
I,
|
|
2704
2715
|
{
|
|
2705
2716
|
ActiveImage: (
|
|
2706
2717
|
/* icon-moon-active.svg */
|
|
@@ -2749,7 +2760,7 @@ const Ct = () => {
|
|
|
2749
2760
|
className: t = "",
|
|
2750
2761
|
disabled: o
|
|
2751
2762
|
}) => /* @__PURE__ */ n.jsx(
|
|
2752
|
-
|
|
2763
|
+
I,
|
|
2753
2764
|
{
|
|
2754
2765
|
ActiveImage: (
|
|
2755
2766
|
/* icon-playstation-active.svg */
|
|
@@ -2771,7 +2782,7 @@ const Ct = () => {
|
|
|
2771
2782
|
className: t = "",
|
|
2772
2783
|
disabled: o
|
|
2773
2784
|
}) => /* @__PURE__ */ n.jsx(
|
|
2774
|
-
|
|
2785
|
+
I,
|
|
2775
2786
|
{
|
|
2776
2787
|
ActiveImage: (
|
|
2777
2788
|
/* icon-podium-active.svg */
|
|
@@ -2820,7 +2831,7 @@ const Ct = () => {
|
|
|
2820
2831
|
className: t = "",
|
|
2821
2832
|
disabled: o
|
|
2822
2833
|
}) => /* @__PURE__ */ n.jsx(
|
|
2823
|
-
|
|
2834
|
+
I,
|
|
2824
2835
|
{
|
|
2825
2836
|
ActiveImage: (
|
|
2826
2837
|
/* icon-power-active.svg */
|
|
@@ -2869,7 +2880,7 @@ const Ct = () => {
|
|
|
2869
2880
|
className: t = "",
|
|
2870
2881
|
disabled: o
|
|
2871
2882
|
}) => /* @__PURE__ */ n.jsx(
|
|
2872
|
-
|
|
2883
|
+
I,
|
|
2873
2884
|
{
|
|
2874
2885
|
ActiveImage: (
|
|
2875
2886
|
/* icon-privacy-active.svg */
|
|
@@ -2918,7 +2929,7 @@ const Ct = () => {
|
|
|
2918
2929
|
className: t = "",
|
|
2919
2930
|
disabled: o
|
|
2920
2931
|
}) => /* @__PURE__ */ n.jsx(
|
|
2921
|
-
|
|
2932
|
+
I,
|
|
2922
2933
|
{
|
|
2923
2934
|
ActiveImage: (
|
|
2924
2935
|
/* icon-question-active.svg */
|
|
@@ -2967,7 +2978,7 @@ const Ct = () => {
|
|
|
2967
2978
|
className: t = "",
|
|
2968
2979
|
disabled: o
|
|
2969
2980
|
}) => /* @__PURE__ */ n.jsx(
|
|
2970
|
-
|
|
2981
|
+
I,
|
|
2971
2982
|
{
|
|
2972
2983
|
ActiveImage: (
|
|
2973
2984
|
/* icon-right-active.svg */
|
|
@@ -3017,7 +3028,7 @@ const Ct = () => {
|
|
|
3017
3028
|
className: t = "",
|
|
3018
3029
|
disabled: o
|
|
3019
3030
|
}) => /* @__PURE__ */ n.jsx(
|
|
3020
|
-
|
|
3031
|
+
I,
|
|
3021
3032
|
{
|
|
3022
3033
|
ActiveImage: (
|
|
3023
3034
|
/* icon-roomPC-active.svg */
|
|
@@ -3084,7 +3095,7 @@ const Ct = () => {
|
|
|
3084
3095
|
className: t = "",
|
|
3085
3096
|
disabled: o
|
|
3086
3097
|
}) => /* @__PURE__ */ n.jsx(
|
|
3087
|
-
|
|
3098
|
+
I,
|
|
3088
3099
|
{
|
|
3089
3100
|
ActiveImage: (
|
|
3090
3101
|
/* icon-shade-active.svg */
|
|
@@ -3133,7 +3144,7 @@ const Ct = () => {
|
|
|
3133
3144
|
className: t = "",
|
|
3134
3145
|
disabled: o
|
|
3135
3146
|
}) => /* @__PURE__ */ n.jsx(
|
|
3136
|
-
|
|
3147
|
+
I,
|
|
3137
3148
|
{
|
|
3138
3149
|
ActiveImage: (
|
|
3139
3150
|
/* icon-sun-active.svg */
|
|
@@ -3184,7 +3195,7 @@ const Ct = () => {
|
|
|
3184
3195
|
className: t = "",
|
|
3185
3196
|
disabled: o
|
|
3186
3197
|
}) => /* @__PURE__ */ n.jsx(
|
|
3187
|
-
|
|
3198
|
+
I,
|
|
3188
3199
|
{
|
|
3189
3200
|
ActiveImage: void 0,
|
|
3190
3201
|
DisabledImage: void 0,
|
|
@@ -3197,7 +3208,7 @@ const Ct = () => {
|
|
|
3197
3208
|
className: t = "",
|
|
3198
3209
|
disabled: o
|
|
3199
3210
|
}) => /* @__PURE__ */ n.jsx(
|
|
3200
|
-
|
|
3211
|
+
I,
|
|
3201
3212
|
{
|
|
3202
3213
|
ActiveImage: (
|
|
3203
3214
|
/* icon-up-active.svg */
|
|
@@ -3246,7 +3257,7 @@ const Ct = () => {
|
|
|
3246
3257
|
className: t = "",
|
|
3247
3258
|
disabled: o
|
|
3248
3259
|
}) => /* @__PURE__ */ n.jsx(
|
|
3249
|
-
|
|
3260
|
+
I,
|
|
3250
3261
|
{
|
|
3251
3262
|
ActiveImage: (
|
|
3252
3263
|
/* icon-volDown-active.svg */
|
|
@@ -3295,7 +3306,7 @@ const Ct = () => {
|
|
|
3295
3306
|
className: t = "",
|
|
3296
3307
|
disabled: o
|
|
3297
3308
|
}) => /* @__PURE__ */ n.jsx(
|
|
3298
|
-
|
|
3309
|
+
I,
|
|
3299
3310
|
{
|
|
3300
3311
|
ActiveImage: (
|
|
3301
3312
|
/* icon-volMute-active.svg */
|
|
@@ -3344,7 +3355,7 @@ const Ct = () => {
|
|
|
3344
3355
|
className: t = "",
|
|
3345
3356
|
disabled: o
|
|
3346
3357
|
}) => /* @__PURE__ */ n.jsx(
|
|
3347
|
-
|
|
3358
|
+
I,
|
|
3348
3359
|
{
|
|
3349
3360
|
ActiveImage: (
|
|
3350
3361
|
/* icon-volUp-active.svg */
|
|
@@ -3393,7 +3404,7 @@ const Ct = () => {
|
|
|
3393
3404
|
className: t = "",
|
|
3394
3405
|
disabled: o
|
|
3395
3406
|
}) => /* @__PURE__ */ n.jsx(
|
|
3396
|
-
|
|
3407
|
+
I,
|
|
3397
3408
|
{
|
|
3398
3409
|
ActiveImage: (
|
|
3399
3410
|
/* icon-wireless-active.svg */
|
|
@@ -3442,7 +3453,7 @@ const Ct = () => {
|
|
|
3442
3453
|
className: t = "",
|
|
3443
3454
|
disabled: o
|
|
3444
3455
|
}) => /* @__PURE__ */ n.jsx(
|
|
3445
|
-
|
|
3456
|
+
I,
|
|
3446
3457
|
{
|
|
3447
3458
|
ActiveImage: (
|
|
3448
3459
|
/* icon-x-active.svg */
|
|
@@ -3491,7 +3502,7 @@ const Ct = () => {
|
|
|
3491
3502
|
className: t = "",
|
|
3492
3503
|
disabled: o
|
|
3493
3504
|
}) => /* @__PURE__ */ n.jsx(
|
|
3494
|
-
|
|
3505
|
+
I,
|
|
3495
3506
|
{
|
|
3496
3507
|
ActiveImage: (
|
|
3497
3508
|
/* icon-xbox-active.svg */
|
|
@@ -3540,7 +3551,7 @@ const Ct = () => {
|
|
|
3540
3551
|
className: t = "",
|
|
3541
3552
|
disabled: o
|
|
3542
3553
|
}) => /* @__PURE__ */ n.jsx(
|
|
3543
|
-
|
|
3554
|
+
I,
|
|
3544
3555
|
{
|
|
3545
3556
|
ActiveImage: (
|
|
3546
3557
|
/* icon-mic-active.svg */
|
|
@@ -3626,38 +3637,38 @@ function yt({
|
|
|
3626
3637
|
const c = t[e] ?? null;
|
|
3627
3638
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(ze, { multiIcon: c, ...o });
|
|
3628
3639
|
}
|
|
3629
|
-
const E8 = "_grid_1cmpp_1", T8 = "_header_1cmpp_11", D8 = "_content_1cmpp_17", _8 = "_footer_1cmpp_23", P8 = "_volume_1cmpp_29",
|
|
3640
|
+
const E8 = "_grid_1cmpp_1", T8 = "_header_1cmpp_11", D8 = "_content_1cmpp_17", _8 = "_footer_1cmpp_23", P8 = "_volume_1cmpp_29", l1 = {
|
|
3630
3641
|
grid: E8,
|
|
3631
3642
|
header: T8,
|
|
3632
3643
|
content: D8,
|
|
3633
3644
|
footer: _8,
|
|
3634
3645
|
volume: P8
|
|
3635
|
-
}, It = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className:
|
|
3636
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3637
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3638
|
-
r && /* @__PURE__ */ n.jsx("div", { className:
|
|
3639
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3640
|
-
] }), L8 = "_grid_11w5q_1",
|
|
3646
|
+
}, It = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: l1.grid, children: [
|
|
3647
|
+
/* @__PURE__ */ n.jsx("div", { className: l1.header, children: e }),
|
|
3648
|
+
/* @__PURE__ */ n.jsx("div", { className: l1.content, children: o }),
|
|
3649
|
+
r && /* @__PURE__ */ n.jsx("div", { className: l1.volume, children: c }),
|
|
3650
|
+
/* @__PURE__ */ n.jsx("div", { className: l1.footer, children: t })
|
|
3651
|
+
] }), L8 = "_grid_11w5q_1", A8 = "_header_11w5q_11", $8 = "_content_11w5q_17", p1 = {
|
|
3641
3652
|
grid: L8,
|
|
3642
|
-
header:
|
|
3643
|
-
content:
|
|
3644
|
-
}, Rt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${
|
|
3645
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3646
|
-
c && /* @__PURE__ */ n.jsx("div", { className:
|
|
3647
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3648
|
-
] }), B8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", k8 = "_content_1uwfo_17",
|
|
3653
|
+
header: A8,
|
|
3654
|
+
content: $8
|
|
3655
|
+
}, Rt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${p1.grid}`, children: [
|
|
3656
|
+
/* @__PURE__ */ n.jsx("div", { className: p1.header, children: t }),
|
|
3657
|
+
c && /* @__PURE__ */ n.jsx("div", { className: p1.leftNav, children: c }),
|
|
3658
|
+
/* @__PURE__ */ n.jsx("div", { className: p1.content, children: o })
|
|
3659
|
+
] }), B8 = "_grid_1uwfo_1", O8 = "_header_1uwfo_11", k8 = "_content_1uwfo_17", P1 = {
|
|
3649
3660
|
grid: B8,
|
|
3650
3661
|
header: O8,
|
|
3651
3662
|
content: k8
|
|
3652
|
-
}, Et = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${
|
|
3653
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3654
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3663
|
+
}, Et = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${P1.grid}`, children: [
|
|
3664
|
+
/* @__PURE__ */ n.jsx("div", { className: P1.header, children: t }),
|
|
3665
|
+
/* @__PURE__ */ n.jsx("div", { className: P1.content, children: o })
|
|
3655
3666
|
] });
|
|
3656
3667
|
class Tt {
|
|
3657
3668
|
constructor() {
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3669
|
+
K(this, "currentShareText");
|
|
3670
|
+
K(this, "enabled");
|
|
3671
|
+
K(this, "isSharing");
|
|
3661
3672
|
}
|
|
3662
3673
|
}
|
|
3663
3674
|
function Dt() {
|
|
@@ -3666,8 +3677,8 @@ function Dt() {
|
|
|
3666
3677
|
var W8 = /* @__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))(W8 || {});
|
|
3667
3678
|
class _t {
|
|
3668
3679
|
constructor(t, o) {
|
|
3669
|
-
|
|
3670
|
-
|
|
3680
|
+
K(this, "path");
|
|
3681
|
+
K(this, "handler");
|
|
3671
3682
|
this.path = t, this.handler = o;
|
|
3672
3683
|
}
|
|
3673
3684
|
}
|
|
@@ -3713,79 +3724,79 @@ export {
|
|
|
3713
3724
|
It as MainLayout,
|
|
3714
3725
|
_t as MessageHandler,
|
|
3715
3726
|
L6 as MobileControlProvider,
|
|
3716
|
-
|
|
3727
|
+
I as MultiStateIconContainer,
|
|
3717
3728
|
yt as NamedIconButton,
|
|
3718
3729
|
Tt as ShareState,
|
|
3719
3730
|
Rt as TechLayout,
|
|
3720
3731
|
Et as TechPinLayout,
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3732
|
+
D3 as WS_ADD_EVENT_HANDLER,
|
|
3733
|
+
R3 as WS_CONNECT,
|
|
3734
|
+
E3 as WS_DISCONNECT,
|
|
3735
|
+
P3 as WS_RECONNECT,
|
|
3736
|
+
_3 as WS_REMOVE_EVENT_HANDLER,
|
|
3737
|
+
T3 as WS_SEND_MESSAGE,
|
|
3738
|
+
A3 as WebsocketContext,
|
|
3739
|
+
y3 as appConfigActions,
|
|
3729
3740
|
Pe as createWebSocketMiddleware,
|
|
3730
|
-
|
|
3741
|
+
g1 as devicesActions,
|
|
3731
3742
|
Dt as getBaseLocation,
|
|
3732
|
-
|
|
3743
|
+
h3 as httpClient,
|
|
3733
3744
|
R8 as iconsDictionary,
|
|
3734
3745
|
Pt as roomOffSourceKey,
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3746
|
+
f1 as roomsActions,
|
|
3747
|
+
H as runtimeConfigActions,
|
|
3748
|
+
S3 as selectAllDevices,
|
|
3749
|
+
y2 as selectApiPath,
|
|
3750
|
+
b2 as selectAppConfig,
|
|
3751
|
+
te as selectClientId,
|
|
3752
|
+
ae as selectCurrentPopoverIdForGroup,
|
|
3753
|
+
E2 as selectDeviceByKey,
|
|
3754
|
+
ie as selectDeviceInterfaceSupport,
|
|
3755
|
+
de as selectError,
|
|
3756
|
+
ge as selectIsSyncStateValuePresent,
|
|
3757
|
+
le as selectIsTouchpanel,
|
|
3758
|
+
I2 as selectLogoPath,
|
|
3759
|
+
k1 as selectModalVisibility,
|
|
3760
|
+
R2 as selectPartnerMetadata,
|
|
3761
|
+
G2 as selectRoomAdvancedSharingActive,
|
|
3762
|
+
B2 as selectRoomAudioControlPointList,
|
|
3763
|
+
_2 as selectRoomByKey,
|
|
3764
|
+
U2 as selectRoomCodecContentDestinationKey,
|
|
3765
|
+
T2 as selectRoomConfiguration,
|
|
3766
|
+
k2 as selectRoomDestinationList,
|
|
3767
|
+
O2 as selectRoomDestinations,
|
|
3768
|
+
J2 as selectRoomDisplayStates,
|
|
3769
|
+
W2 as selectRoomEnvironmentalDevices,
|
|
3770
|
+
H2 as selectRoomInCall,
|
|
3771
|
+
K2 as selectRoomIsCoolingDown,
|
|
3772
|
+
q2 as selectRoomIsOn,
|
|
3773
|
+
F2 as selectRoomIsWarmingUp,
|
|
3774
|
+
ee as selectRoomKey,
|
|
3775
|
+
A2 as selectRoomLevelControls,
|
|
3776
|
+
P2 as selectRoomName,
|
|
3777
|
+
V2 as selectRoomProgramAudioDestinationKey,
|
|
3778
|
+
Y2 as selectRoomShareState,
|
|
3768
3779
|
$2 as selectRoomSourceList,
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3780
|
+
L2 as selectRoomVolume,
|
|
3781
|
+
D2 as selectRooms,
|
|
3782
|
+
ce as selectRuntimeInfo,
|
|
3783
|
+
se as selectServerIsRunningOnProcessorHardware,
|
|
3784
|
+
ue as selectShowPopoverById,
|
|
3785
|
+
ve as selectShowReconnect,
|
|
3786
|
+
ne as selectSystemUuid,
|
|
3787
|
+
he as selectTheme,
|
|
3788
|
+
re as selectTouchpanelKey,
|
|
3789
|
+
oe as selectUserCode,
|
|
3790
|
+
N2 as selectWsIsConnected,
|
|
3791
|
+
z2 as selectZoomRoomControllerKey,
|
|
3792
|
+
Ae as store,
|
|
3793
|
+
k as uiActions,
|
|
3794
|
+
Me as uiReducer,
|
|
3784
3795
|
Y8 as useApiPath,
|
|
3785
3796
|
G8 as useAppConfig,
|
|
3786
|
-
|
|
3797
|
+
O1 as useAppDispatch,
|
|
3787
3798
|
m as useAppSelector,
|
|
3788
|
-
|
|
3799
|
+
$6 as useAvrControl,
|
|
3789
3800
|
g as useButtonHeldHeartbeat,
|
|
3790
3801
|
B6 as useCameraBase,
|
|
3791
3802
|
m6 as useClientId,
|
|
@@ -3793,17 +3804,17 @@ export {
|
|
|
3793
3804
|
b6 as useDeviceInterfaceSupport,
|
|
3794
3805
|
k6 as useDevicePresetsModel,
|
|
3795
3806
|
W6 as useEndpoint,
|
|
3796
|
-
|
|
3807
|
+
fe as useError,
|
|
3797
3808
|
pt as useGetAllDeviceStateFromRoomConfiguration,
|
|
3798
3809
|
X8 as useGetAllDevices,
|
|
3799
3810
|
N8 as useGetAllRooms,
|
|
3800
3811
|
E6 as useGetCurrentPopoverIdForGroup,
|
|
3801
|
-
|
|
3802
|
-
|
|
3812
|
+
D as useGetDevice,
|
|
3813
|
+
A6 as useGetIBasicVolumeWithFeedback,
|
|
3803
3814
|
e6 as useGetRoom,
|
|
3804
3815
|
f6 as useGetRoomDisplayStates,
|
|
3805
3816
|
w6 as useGetZoomRoomControllerKey,
|
|
3806
|
-
|
|
3817
|
+
$3 as useIBasicVolumeWithFeedback,
|
|
3807
3818
|
V6 as useIChannel,
|
|
3808
3819
|
U6 as useIColor,
|
|
3809
3820
|
H6 as useICommunicationMonitor,
|
|
@@ -3813,8 +3824,8 @@ export {
|
|
|
3813
3824
|
G6 as useIDvr,
|
|
3814
3825
|
Y6 as useIEssentialsRoomCombiner,
|
|
3815
3826
|
z6 as useIHasCameras,
|
|
3816
|
-
|
|
3817
|
-
|
|
3827
|
+
B3 as useIHasPowerControl,
|
|
3828
|
+
B1 as useIHasSelectableItems,
|
|
3818
3829
|
J6 as useIHumiditySensor,
|
|
3819
3830
|
X6 as useILevelControls,
|
|
3820
3831
|
Q6 as useILightingScenes,
|
|
@@ -3835,7 +3846,7 @@ export {
|
|
|
3835
3846
|
ht as useITheme,
|
|
3836
3847
|
gt as useITransport,
|
|
3837
3848
|
P6 as useInitialize,
|
|
3838
|
-
|
|
3849
|
+
pe as useIsSyncStateValuePresent,
|
|
3839
3850
|
C6 as useIsTouchpanel,
|
|
3840
3851
|
z8 as useLogoPath,
|
|
3841
3852
|
ft as useMobileControlTouchpanelController,
|
|
@@ -3855,20 +3866,20 @@ export {
|
|
|
3855
3866
|
v6 as useRoomIsOn,
|
|
3856
3867
|
u6 as useRoomIsWarmingUp,
|
|
3857
3868
|
p6 as useRoomKey,
|
|
3858
|
-
|
|
3869
|
+
Q2 as useRoomLevelControls,
|
|
3859
3870
|
t6 as useRoomName,
|
|
3860
3871
|
l6 as useRoomProgramAudioDestinationKey,
|
|
3861
3872
|
g6 as useRoomShareState,
|
|
3862
3873
|
n6 as useRoomSourceList,
|
|
3863
|
-
|
|
3864
|
-
|
|
3874
|
+
x1 as useRoomState,
|
|
3875
|
+
X2 as useRoomVolume,
|
|
3865
3876
|
S6 as useRuntimeInfo,
|
|
3866
3877
|
xt as useScroll,
|
|
3867
3878
|
Z6 as useServerIsRunningOnProcessorHardware,
|
|
3868
3879
|
I6 as useShowIncomingCallModal,
|
|
3869
3880
|
R6 as useShowModal,
|
|
3870
3881
|
T6 as useShowPopoverById,
|
|
3871
|
-
|
|
3882
|
+
we as useShowReconnect,
|
|
3872
3883
|
y6 as useShowShutdownModal,
|
|
3873
3884
|
Zt as useStateIsSynced,
|
|
3874
3885
|
St as useSystemControl,
|
|
@@ -3878,10 +3889,10 @@ export {
|
|
|
3878
3889
|
j6 as useTouchpanelKey,
|
|
3879
3890
|
wt as useTwoWayDisplayBase,
|
|
3880
3891
|
x6 as useUserCode,
|
|
3881
|
-
|
|
3882
|
-
|
|
3892
|
+
E as useWebsocketContext,
|
|
3893
|
+
j3 as useWsIsConnected,
|
|
3883
3894
|
Te as wsAddEventHandler,
|
|
3884
|
-
|
|
3895
|
+
L3 as wsConnect,
|
|
3885
3896
|
_6 as wsDisconnect,
|
|
3886
3897
|
_e as wsReconnect,
|
|
3887
3898
|
De as wsRemoveEventHandler,
|