@pepperdash/mobile-control-react-app-core 1.22.9 → 1.22.11-fix-fix-array-merge-with-replace.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile-control-react-app-core.es.js +338 -328
- package/dist/mobile-control-react-app-core.umd.js +10 -10
- package/dist/store/devices/devices.slice.d.ts.map +1 -1
- package/dist/store/middleware/websocketMiddleware.d.ts.map +1 -1
- package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
- package/package.json +1 -8
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var w2 = Object.defineProperty;
|
|
2
2
|
var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
3
|
var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
-
import
|
|
4
|
+
import M3, { AxiosError as p2 } from "axios";
|
|
5
5
|
import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
|
|
6
|
-
import { createSelector as M, createSlice as
|
|
7
|
-
import
|
|
6
|
+
import { createSelector as M, createSlice as u1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
|
|
7
|
+
import x3, { createContext as C2, useEffect as x1, useCallback as r1, useContext as b2, useRef as M1, useMemo as n1, useState as Y, useLayoutEffect as Z3 } from "react";
|
|
8
8
|
import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
|
|
9
|
-
import * as
|
|
9
|
+
import * as S3 from "lodash";
|
|
10
10
|
const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
|
|
11
11
|
Z1,
|
|
12
12
|
(e) => e.config
|
|
@@ -19,114 +19,114 @@ const W1 = M2.withTypes(), m = x2.withTypes(), Z1 = (e) => e.appConfig, E2 = M(
|
|
|
19
19
|
), _2 = M(
|
|
20
20
|
Z1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2),
|
|
23
|
-
|
|
22
|
+
), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
|
|
23
|
+
j3,
|
|
24
24
|
(e) => e
|
|
25
25
|
), P2 = (e) => M(
|
|
26
|
-
|
|
26
|
+
j3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
), t6 = () => m(
|
|
28
|
+
), t6 = () => m(C3);
|
|
29
29
|
function _(e) {
|
|
30
30
|
return m(P2(e));
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
|
|
32
|
+
const $ = (e) => e.rooms, L2 = (e) => M(
|
|
33
|
+
$,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
36
|
-
|
|
35
|
+
), A2 = M(
|
|
36
|
+
$,
|
|
37
37
|
(e) => e
|
|
38
|
-
),
|
|
39
|
-
|
|
38
|
+
), $2 = (e) => M(
|
|
39
|
+
$,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
41
|
), B2 = (e) => M(
|
|
42
|
-
|
|
42
|
+
$,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
44
|
), k2 = (e, t) => M(
|
|
45
|
-
|
|
45
|
+
$,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
47
|
), O2 = (e) => M(
|
|
48
|
-
|
|
48
|
+
$,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
50
|
), W2 = (e) => M(
|
|
51
|
-
|
|
51
|
+
$,
|
|
52
52
|
(t) => {
|
|
53
53
|
var o, c;
|
|
54
54
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
56
|
), V2 = (e) => M(
|
|
57
|
-
|
|
57
|
+
$,
|
|
58
58
|
(t) => {
|
|
59
59
|
var o, c;
|
|
60
60
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
62
|
), U2 = (e) => M(
|
|
63
|
-
|
|
63
|
+
$,
|
|
64
64
|
(t) => {
|
|
65
65
|
var o, c;
|
|
66
66
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
68
|
), H2 = (e) => M(
|
|
69
|
-
|
|
69
|
+
$,
|
|
70
70
|
(t) => {
|
|
71
71
|
var o, c;
|
|
72
72
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
|
|
73
73
|
}
|
|
74
74
|
), F2 = (e) => M(
|
|
75
|
-
|
|
75
|
+
$,
|
|
76
76
|
(t) => {
|
|
77
77
|
var o, c;
|
|
78
78
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
80
80
|
), K2 = (e) => M(
|
|
81
|
-
|
|
81
|
+
$,
|
|
82
82
|
(t) => {
|
|
83
83
|
var o, c, r, l, v, f, h, w;
|
|
84
84
|
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((w = (h = (f = t[e]) == null ? void 0 : f.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
|
|
85
85
|
}
|
|
86
86
|
), q2 = (e) => M(
|
|
87
|
-
|
|
87
|
+
$,
|
|
88
88
|
(t) => {
|
|
89
89
|
var o, c, r;
|
|
90
90
|
return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
|
|
91
91
|
}
|
|
92
92
|
), G2 = (e) => M(
|
|
93
|
-
|
|
93
|
+
$,
|
|
94
94
|
(t) => {
|
|
95
95
|
var o;
|
|
96
96
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
|
|
97
97
|
}
|
|
98
98
|
), Y2 = (e) => M(
|
|
99
|
-
|
|
99
|
+
$,
|
|
100
100
|
(t) => {
|
|
101
101
|
var o;
|
|
102
102
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
104
|
), z2 = (e) => M(
|
|
105
|
-
|
|
105
|
+
$,
|
|
106
106
|
(t) => {
|
|
107
107
|
var o;
|
|
108
108
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
110
|
), J2 = (e) => M(
|
|
111
|
-
|
|
111
|
+
$,
|
|
112
112
|
(t) => {
|
|
113
113
|
var o;
|
|
114
114
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
|
|
115
115
|
}
|
|
116
116
|
), X2 = (e) => M(
|
|
117
|
-
|
|
117
|
+
$,
|
|
118
118
|
(t) => {
|
|
119
119
|
var o;
|
|
120
120
|
return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
122
|
), Q2 = (e) => M(
|
|
123
|
-
|
|
123
|
+
$,
|
|
124
124
|
(t) => {
|
|
125
125
|
var o;
|
|
126
126
|
return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
|
|
127
127
|
}
|
|
128
128
|
), N2 = (e) => M(
|
|
129
|
-
|
|
129
|
+
$,
|
|
130
130
|
(t) => {
|
|
131
131
|
var o, c;
|
|
132
132
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
@@ -134,7 +134,7 @@ const A = (e) => e.rooms, L2 = (e) => M(
|
|
|
134
134
|
), ee = M(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
|
-
() =>
|
|
137
|
+
() => C3,
|
|
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;
|
|
@@ -152,10 +152,10 @@ function n6(e) {
|
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function o6() {
|
|
155
|
-
return m(
|
|
155
|
+
return m(A2);
|
|
156
156
|
}
|
|
157
157
|
function S1(e) {
|
|
158
|
-
return m(
|
|
158
|
+
return m($2(e));
|
|
159
159
|
}
|
|
160
160
|
const s6 = S1, c6 = (e) => m(
|
|
161
161
|
B2(e)
|
|
@@ -191,19 +191,19 @@ const s6 = S1, c6 = (e) => m(
|
|
|
191
191
|
), de = M(
|
|
192
192
|
G,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
|
-
),
|
|
194
|
+
), b3 = M(
|
|
195
195
|
G,
|
|
196
196
|
(e) => e.roomData.deviceInterfaceSupport
|
|
197
|
-
),
|
|
198
|
-
|
|
197
|
+
), y3 = (e) => M(
|
|
198
|
+
b3,
|
|
199
199
|
(t) => {
|
|
200
200
|
var o;
|
|
201
201
|
return ((o = t == null ? void 0 : t[e]) == null ? void 0 : o.interfaces) ?? [];
|
|
202
202
|
}
|
|
203
203
|
), ve = (e, t) => M(
|
|
204
|
-
|
|
204
|
+
y3(e),
|
|
205
205
|
(o) => o.includes(t)
|
|
206
|
-
),
|
|
206
|
+
), I3 = () => m(oe), Z6 = () => m(se), S6 = () => m(ce), j6 = () => m(re), C6 = () => m(le), b6 = () => m(ie), y6 = () => m(ae), I6 = () => m(ue), R6 = () => m(de), E6 = () => m(b3), T6 = (e) => m(y3(e)), D6 = (e, t) => m(ve(e, t)), N = (e) => e.ui, V1 = (e) => M(N, (t) => t.modalVisibility[e]), he = (e) => M(N, (t) => {
|
|
207
207
|
const o = t.popoverVisibility[e];
|
|
208
208
|
if (o)
|
|
209
209
|
return Object.keys(o).find((c) => o[c]);
|
|
@@ -216,7 +216,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
216
216
|
), fe = M(N, (e) => e.error), we = M(
|
|
217
217
|
N,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), P6 = () => m(V1("showIncomingCallModal")), L6 = (e) => m(V1(e)),
|
|
219
|
+
), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), P6 = () => m(V1("showIncomingCallModal")), L6 = (e) => m(V1(e)), A6 = (e) => m(he(e)), $6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), B6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -225,7 +225,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
225
225
|
},
|
|
226
226
|
popoverVisibility: {},
|
|
227
227
|
syncState: []
|
|
228
|
-
},
|
|
228
|
+
}, R3 = u1({
|
|
229
229
|
name: "ui",
|
|
230
230
|
initialState: Se,
|
|
231
231
|
reducers: {
|
|
@@ -271,7 +271,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
271
271
|
e.syncState = [];
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
}),
|
|
274
|
+
}), O = R3.actions, je = R3.reducer, Ce = {
|
|
275
275
|
config: {
|
|
276
276
|
enableDev: !1,
|
|
277
277
|
apiPath: "",
|
|
@@ -281,7 +281,7 @@ const s6 = S1, c6 = (e) => m(
|
|
|
281
281
|
loginMode: "",
|
|
282
282
|
modes: {}
|
|
283
283
|
}
|
|
284
|
-
},
|
|
284
|
+
}, E3 = u1({
|
|
285
285
|
name: "appConfig",
|
|
286
286
|
initialState: Ce,
|
|
287
287
|
reducers: {
|
|
@@ -289,18 +289,25 @@ const s6 = S1, c6 = (e) => m(
|
|
|
289
289
|
e.config = t.payload;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}),
|
|
292
|
+
}), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 = u1({
|
|
293
293
|
name: "devices",
|
|
294
|
-
initialState:
|
|
294
|
+
initialState: v3,
|
|
295
295
|
reducers: {
|
|
296
296
|
setDeviceState(e, t) {
|
|
297
297
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
298
298
|
if (!c) return;
|
|
299
|
-
const r = t.payload.content, l = e[c] ?? {}, v =
|
|
299
|
+
const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith(
|
|
300
|
+
{},
|
|
301
|
+
l,
|
|
302
|
+
r,
|
|
303
|
+
(f, h) => {
|
|
304
|
+
if (Array.isArray(h)) return h;
|
|
305
|
+
}
|
|
306
|
+
);
|
|
300
307
|
e[c] = v;
|
|
301
308
|
},
|
|
302
309
|
clearDevices() {
|
|
303
|
-
return
|
|
310
|
+
return v3;
|
|
304
311
|
}
|
|
305
312
|
}
|
|
306
313
|
}), f1 = {
|
|
@@ -315,25 +322,27 @@ class Ie {
|
|
|
315
322
|
q(this, "expiry", "current-uuid-expires");
|
|
316
323
|
}
|
|
317
324
|
}
|
|
318
|
-
const
|
|
325
|
+
const h3 = new Ie();
|
|
319
326
|
function Re(e) {
|
|
320
327
|
return sessionStorage.getItem(e) || "";
|
|
321
328
|
}
|
|
322
329
|
function Ee(e, t) {
|
|
323
330
|
sessionStorage.setItem(e, t);
|
|
324
331
|
}
|
|
325
|
-
const
|
|
332
|
+
const g3 = {}, k1 = u1({
|
|
326
333
|
name: "rooms",
|
|
327
|
-
initialState:
|
|
334
|
+
initialState: g3,
|
|
328
335
|
reducers: {
|
|
329
336
|
setRoomState(e, t) {
|
|
330
337
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
331
338
|
if (!c) return;
|
|
332
|
-
const r = t.payload.content, l = e[c] ?? {}, v =
|
|
339
|
+
const r = t.payload.content, l = e[c] ?? {}, v = S3.mergeWith({}, l, r, (f, h) => {
|
|
340
|
+
if (Array.isArray(h)) return h;
|
|
341
|
+
});
|
|
333
342
|
e[c] = v;
|
|
334
343
|
},
|
|
335
344
|
clearRooms() {
|
|
336
|
-
return
|
|
345
|
+
return g3;
|
|
337
346
|
}
|
|
338
347
|
}
|
|
339
348
|
}), w1 = {
|
|
@@ -370,7 +379,7 @@ const f3 = {}, k1 = a1({
|
|
|
370
379
|
userCode: "",
|
|
371
380
|
qrUrl: ""
|
|
372
381
|
}
|
|
373
|
-
},
|
|
382
|
+
}, D3 = u1({
|
|
374
383
|
name: "runtimeConfig",
|
|
375
384
|
initialState: De,
|
|
376
385
|
reducers: {
|
|
@@ -405,16 +414,16 @@ const f3 = {}, k1 = a1({
|
|
|
405
414
|
e.touchpanelKey = t.payload;
|
|
406
415
|
}
|
|
407
416
|
}
|
|
408
|
-
}), U =
|
|
409
|
-
type:
|
|
417
|
+
}), U = D3.actions, _e = D3.reducer, L1 = M3.create(), _3 = "websocket/connect", P3 = "websocket/disconnect", L3 = "websocket/sendMessage", A3 = "websocket/addEventHandler", $3 = "websocket/removeEventHandler", B3 = "websocket/reconnect", k3 = () => ({ type: _3 }), k6 = () => ({ type: P3 }), Pe = (e, t) => ({
|
|
418
|
+
type: L3,
|
|
410
419
|
payload: { messageType: e, content: t }
|
|
411
420
|
}), Le = (e, t, o) => ({
|
|
412
421
|
type: A3,
|
|
413
422
|
payload: { eventType: e, key: t, callback: o }
|
|
414
|
-
}),
|
|
415
|
-
type:
|
|
423
|
+
}), Ae = (e, t) => ({
|
|
424
|
+
type: $3,
|
|
416
425
|
payload: { eventType: e, key: t }
|
|
417
|
-
}),
|
|
426
|
+
}), $e = () => ({ type: B3 }), Be = () => {
|
|
418
427
|
const e = {
|
|
419
428
|
client: null,
|
|
420
429
|
token: null,
|
|
@@ -425,13 +434,13 @@ const f3 = {}, k1 = a1({
|
|
|
425
434
|
try {
|
|
426
435
|
const Z = location.pathname.split("/").filter((b) => b.length > 0);
|
|
427
436
|
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
428
|
-
const
|
|
437
|
+
const C = `/${Z.join("/")}`, S = await L1.get(
|
|
429
438
|
"/_local-config/_config.local.json",
|
|
430
|
-
{ baseURL:
|
|
439
|
+
{ baseURL: C }
|
|
431
440
|
);
|
|
432
|
-
if (
|
|
433
|
-
const b =
|
|
434
|
-
a(
|
|
441
|
+
if (S.status === 200 && S.data) {
|
|
442
|
+
const b = S.data.apiPath;
|
|
443
|
+
a(T3.setAppConfig(S.data));
|
|
435
444
|
const x = await L1.get(
|
|
436
445
|
`${b}/version`
|
|
437
446
|
);
|
|
@@ -441,29 +450,29 @@ const f3 = {}, k1 = a1({
|
|
|
441
450
|
console.error("Error getting config", Z);
|
|
442
451
|
}
|
|
443
452
|
return !0;
|
|
444
|
-
}, o = async (a, Z,
|
|
453
|
+
}, o = async (a, Z, C) => {
|
|
445
454
|
try {
|
|
446
|
-
const
|
|
455
|
+
const S = await L1.get(
|
|
447
456
|
`${a}/ui/joinroom?token=${Z}`
|
|
448
457
|
);
|
|
449
|
-
return
|
|
450
|
-
} catch (
|
|
451
|
-
return console.log(
|
|
452
|
-
|
|
458
|
+
return S.status === 200 && S.data ? (C(U.setRoomData(S.data)), S.data) : null;
|
|
459
|
+
} catch (S) {
|
|
460
|
+
return console.log(S), S instanceof p2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), C(
|
|
461
|
+
O.setErrorMessage(
|
|
453
462
|
`Token ${Z} is invalid. Unable to join room`
|
|
454
463
|
)
|
|
455
|
-
),
|
|
464
|
+
), null) : (console.error("Error getting room data", S), S instanceof Error ? C(O.setErrorMessage(S.message)) : C(O.setErrorMessage("Error getting room data")), null);
|
|
456
465
|
}
|
|
457
466
|
}, c = (a) => {
|
|
458
467
|
e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
|
|
459
|
-
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(
|
|
468
|
+
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), a(k3());
|
|
460
469
|
}, 5e3);
|
|
461
470
|
}, r = () => {
|
|
462
471
|
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
463
472
|
}, l = (a) => {
|
|
464
|
-
a(
|
|
473
|
+
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
|
|
465
474
|
}, v = (a, Z) => {
|
|
466
|
-
const
|
|
475
|
+
const C = a(), S = Z ?? C.runtimeConfig.roomData.roomKey, { clientId: b } = C.runtimeConfig.roomData, x = C.runtimeConfig.websocket.isConnected;
|
|
467
476
|
if (!Z || !x || !b) {
|
|
468
477
|
console.log("WebSocket middleware: Cannot request room status", {
|
|
469
478
|
hasRoomKey: !!Z,
|
|
@@ -474,19 +483,19 @@ const f3 = {}, k1 = a1({
|
|
|
474
483
|
}
|
|
475
484
|
console.log("WebSocket middleware: Requesting status from room:", Z), e.client && x && e.client.send(
|
|
476
485
|
JSON.stringify({
|
|
477
|
-
type: `/room/${
|
|
486
|
+
type: `/room/${S}/status`,
|
|
478
487
|
clientId: b,
|
|
479
488
|
content: null
|
|
480
489
|
})
|
|
481
490
|
);
|
|
482
491
|
}, f = async (a, Z) => {
|
|
483
492
|
console.log("WebSocket middleware: Attempting to connect...");
|
|
484
|
-
const
|
|
485
|
-
if (!
|
|
493
|
+
const C = Z(), { apiPath: S } = C.appConfig.config, { serverIsRunningOnProcessorHardware: b } = C.runtimeConfig;
|
|
494
|
+
if (!S || !e.token) {
|
|
486
495
|
console.log(
|
|
487
496
|
"WebSocket middleware: Cannot connect - missing requirements",
|
|
488
497
|
{
|
|
489
|
-
hasApiPath: !!
|
|
498
|
+
hasApiPath: !!S,
|
|
490
499
|
hasToken: !!e.token
|
|
491
500
|
}
|
|
492
501
|
);
|
|
@@ -504,49 +513,50 @@ const f3 = {}, k1 = a1({
|
|
|
504
513
|
}
|
|
505
514
|
e.waitingToReconnect = !0;
|
|
506
515
|
try {
|
|
507
|
-
|
|
516
|
+
const x = await o(S, e.token, a);
|
|
517
|
+
if (!x) {
|
|
508
518
|
console.log(
|
|
509
519
|
"WebSocket middleware: Failed to get room data, will retry..."
|
|
510
520
|
), c(a);
|
|
511
521
|
return;
|
|
512
522
|
}
|
|
513
523
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
514
|
-
const C1 = `${
|
|
515
|
-
e.client = K, K.onopen = (
|
|
516
|
-
console.log("WebSocket middleware: Connected",
|
|
524
|
+
const C1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, K = new WebSocket(C1);
|
|
525
|
+
e.client = K, K.onopen = (B) => {
|
|
526
|
+
console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
|
|
517
527
|
e.client === K && K.readyState === WebSocket.OPEN && a(U.setWebsocketIsConnected(!0));
|
|
518
528
|
}, 100);
|
|
519
|
-
}, K.onerror = (
|
|
520
|
-
console.error("WebSocket middleware: Error",
|
|
521
|
-
}, K.onclose = (
|
|
529
|
+
}, K.onerror = (B) => {
|
|
530
|
+
console.error("WebSocket middleware: Error", B), l(a);
|
|
531
|
+
}, K.onclose = (B) => {
|
|
522
532
|
var D;
|
|
523
533
|
if (console.log(
|
|
524
534
|
"WebSocket middleware: Disconnected",
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
),
|
|
535
|
+
B.reason,
|
|
536
|
+
B.code
|
|
537
|
+
), B.code === 4100) {
|
|
528
538
|
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(a);
|
|
529
539
|
return;
|
|
530
540
|
}
|
|
531
|
-
if (e.waitingToReconnect = !0,
|
|
541
|
+
if (e.waitingToReconnect = !0, B.code === 4e3) {
|
|
532
542
|
console.log("WebSocket middleware: User code changed"), r(), a(
|
|
533
543
|
U.setUserCode({ userCode: "", qrUrl: "" })
|
|
534
544
|
), a(
|
|
535
|
-
|
|
545
|
+
O.setErrorMessage(
|
|
536
546
|
"User code changed. Click reconnect to enter the new code"
|
|
537
547
|
)
|
|
538
548
|
), l(a);
|
|
539
549
|
return;
|
|
540
550
|
}
|
|
541
|
-
if (
|
|
551
|
+
if (B.code === 4002) {
|
|
542
552
|
console.log("WebSocket middleware: Room combination changed"), r(), a(
|
|
543
|
-
|
|
553
|
+
O.setErrorMessage(
|
|
544
554
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
545
555
|
)
|
|
546
556
|
), l(a);
|
|
547
557
|
return;
|
|
548
558
|
}
|
|
549
|
-
if (
|
|
559
|
+
if (B.code === 4001)
|
|
550
560
|
if (!!((D = Z().runtimeConfig) != null && D.touchpanelKey))
|
|
551
561
|
console.log(
|
|
552
562
|
"WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
|
|
@@ -559,7 +569,7 @@ const f3 = {}, k1 = a1({
|
|
|
559
569
|
console.log(
|
|
560
570
|
"WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
|
|
561
571
|
), r(), a(
|
|
562
|
-
|
|
572
|
+
O.setErrorMessage(
|
|
563
573
|
"Processor has disconnected. Click Reconnect to continue."
|
|
564
574
|
)
|
|
565
575
|
), l(a);
|
|
@@ -574,13 +584,13 @@ const f3 = {}, k1 = a1({
|
|
|
574
584
|
return;
|
|
575
585
|
}
|
|
576
586
|
e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), a(
|
|
577
|
-
|
|
587
|
+
O.setErrorMessage(
|
|
578
588
|
"Connection lost. Attempting to reconnect..."
|
|
579
589
|
)
|
|
580
|
-
), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(
|
|
581
|
-
}, K.onmessage = (
|
|
590
|
+
), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState()), c(a);
|
|
591
|
+
}, K.onmessage = (B) => {
|
|
582
592
|
try {
|
|
583
|
-
const D = JSON.parse(
|
|
593
|
+
const D = JSON.parse(B.data);
|
|
584
594
|
if (D.type === "close") {
|
|
585
595
|
K.close(4001, D.content);
|
|
586
596
|
return;
|
|
@@ -595,7 +605,7 @@ const f3 = {}, k1 = a1({
|
|
|
595
605
|
);
|
|
596
606
|
break;
|
|
597
607
|
case "/system/roomKey":
|
|
598
|
-
a(w1.clearRooms()), a(f1.clearDevices()), a(
|
|
608
|
+
a(w1.clearRooms()), a(f1.clearDevices()), a(O.clearSyncState()), a(
|
|
599
609
|
U.setCurrentRoomKey(
|
|
600
610
|
D.content
|
|
601
611
|
)
|
|
@@ -610,10 +620,10 @@ const f3 = {}, k1 = a1({
|
|
|
610
620
|
window.location.reload();
|
|
611
621
|
break;
|
|
612
622
|
case "/system/deviceInterfaces": {
|
|
613
|
-
const
|
|
623
|
+
const z = D.content;
|
|
614
624
|
a(
|
|
615
625
|
U.setDeviceInterfaces(
|
|
616
|
-
|
|
626
|
+
z.deviceInterfaces
|
|
617
627
|
)
|
|
618
628
|
);
|
|
619
629
|
break;
|
|
@@ -626,13 +636,13 @@ const f3 = {}, k1 = a1({
|
|
|
626
636
|
break;
|
|
627
637
|
}
|
|
628
638
|
else if (D.type.startsWith("/event/")) {
|
|
629
|
-
const
|
|
630
|
-
|
|
639
|
+
const z = e.eventHandlers[D.type];
|
|
640
|
+
z || console.log(
|
|
631
641
|
"WebSocket middleware: No handlers found for event type",
|
|
632
642
|
D.type
|
|
633
|
-
),
|
|
643
|
+
), z && Object.values(z).forEach((o1) => {
|
|
634
644
|
try {
|
|
635
|
-
|
|
645
|
+
o1(D);
|
|
636
646
|
} catch (b1) {
|
|
637
647
|
console.error(
|
|
638
648
|
"WebSocket middleware: Event handler error",
|
|
@@ -645,18 +655,18 @@ const f3 = {}, k1 = a1({
|
|
|
645
655
|
console.error("WebSocket middleware: Message handling error", D);
|
|
646
656
|
}
|
|
647
657
|
}, e.waitingToReconnect = !1;
|
|
648
|
-
} catch (
|
|
649
|
-
console.error("WebSocket middleware: Connection error",
|
|
658
|
+
} catch (x) {
|
|
659
|
+
console.error("WebSocket middleware: Connection error", x), e.waitingToReconnect = !1, e.client = null;
|
|
650
660
|
}
|
|
651
661
|
}, h = () => {
|
|
652
662
|
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
653
|
-
}, w = (a, Z,
|
|
654
|
-
const
|
|
663
|
+
}, w = (a, Z, C) => {
|
|
664
|
+
const S = C(), b = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
|
|
655
665
|
e.client && b ? e.client.send(
|
|
656
666
|
JSON.stringify({ type: a, clientId: x, content: Z })
|
|
657
667
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
658
|
-
}, d = (a, Z,
|
|
659
|
-
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] =
|
|
668
|
+
}, d = (a, Z, C) => {
|
|
669
|
+
e.eventHandlers[a] || (e.eventHandlers[a] = {}), e.eventHandlers[a][Z] = C, console.log("WebSocket middleware: Event handler added", a, Z);
|
|
660
670
|
}, P = (a, Z) => {
|
|
661
671
|
e.eventHandlers[a] && (delete e.eventHandlers[a][Z], console.log(
|
|
662
672
|
"WebSocket middleware: Event handler removed",
|
|
@@ -664,25 +674,25 @@ const f3 = {}, k1 = a1({
|
|
|
664
674
|
Z
|
|
665
675
|
));
|
|
666
676
|
}, H = (a) => {
|
|
667
|
-
const Z = a(), { gatewayAppPath:
|
|
668
|
-
window.location.href = x ? `${
|
|
677
|
+
const Z = a(), { gatewayAppPath: C } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, b = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, W = `${C}?uuid=${b}&roomKey=${S}`;
|
|
678
|
+
window.location.href = x ? `${W}&Code=${x}` : W;
|
|
669
679
|
};
|
|
670
|
-
return (a) => (Z) => (
|
|
671
|
-
const
|
|
672
|
-
if (!
|
|
673
|
-
return
|
|
674
|
-
const b =
|
|
680
|
+
return (a) => (Z) => (C) => {
|
|
681
|
+
const S = Z(C);
|
|
682
|
+
if (!C || typeof C != "object" || !("type" in C))
|
|
683
|
+
return S;
|
|
684
|
+
const b = C;
|
|
675
685
|
return (async () => {
|
|
676
686
|
switch (b.type) {
|
|
677
|
-
case
|
|
678
|
-
let
|
|
679
|
-
|
|
687
|
+
case _3: {
|
|
688
|
+
let W = new URLSearchParams(window.location.search).get("token");
|
|
689
|
+
W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await f(a.dispatch, a.getState);
|
|
680
690
|
break;
|
|
681
691
|
}
|
|
682
|
-
case
|
|
692
|
+
case P3:
|
|
683
693
|
h();
|
|
684
694
|
break;
|
|
685
|
-
case
|
|
695
|
+
case L3:
|
|
686
696
|
w(
|
|
687
697
|
b.payload.messageType,
|
|
688
698
|
b.payload.content,
|
|
@@ -696,27 +706,27 @@ const f3 = {}, k1 = a1({
|
|
|
696
706
|
b.payload.callback
|
|
697
707
|
);
|
|
698
708
|
break;
|
|
699
|
-
case
|
|
709
|
+
case $3:
|
|
700
710
|
P(
|
|
701
711
|
b.payload.eventType,
|
|
702
712
|
b.payload.key
|
|
703
713
|
);
|
|
704
714
|
break;
|
|
705
|
-
case
|
|
715
|
+
case B3:
|
|
706
716
|
H(a.getState);
|
|
707
717
|
break;
|
|
708
718
|
default:
|
|
709
|
-
if (
|
|
710
|
-
|
|
719
|
+
if (C.type === U.setWebsocketIsConnected.type)
|
|
720
|
+
C.payload === !0 && (console.log(
|
|
711
721
|
"[WebSocket Middleware] Connection established, requesting room status..."
|
|
712
722
|
), setTimeout(() => v(a.getState), 100));
|
|
713
|
-
else if (
|
|
714
|
-
const x = a.getState(),
|
|
715
|
-
x.runtimeConfig.websocket.isConnected && (
|
|
723
|
+
else if (C.type === U.setRoomData.type) {
|
|
724
|
+
const x = a.getState(), W = C.payload;
|
|
725
|
+
x.runtimeConfig.websocket.isConnected && (W != null && W.clientId) && (console.log(
|
|
716
726
|
"[WebSocket Middleware] Room data received, requesting room status..."
|
|
717
727
|
), setTimeout(() => v(a.getState), 100));
|
|
718
|
-
} else if (
|
|
719
|
-
const x =
|
|
728
|
+
} else if (C.type === U.setCurrentRoomKey.type) {
|
|
729
|
+
const x = C.payload;
|
|
720
730
|
x && (console.log(
|
|
721
731
|
"[WebSocket Middleware] Room changed to:",
|
|
722
732
|
x,
|
|
@@ -727,7 +737,7 @@ const f3 = {}, k1 = a1({
|
|
|
727
737
|
}
|
|
728
738
|
})().catch((x) => {
|
|
729
739
|
console.error("WebSocket middleware: Error handling action", x);
|
|
730
|
-
}),
|
|
740
|
+
}), S;
|
|
731
741
|
};
|
|
732
742
|
}, ke = S2({
|
|
733
743
|
appConfig: be,
|
|
@@ -743,21 +753,21 @@ const f3 = {}, k1 = a1({
|
|
|
743
753
|
ignoredActions: ["websocket/addEventHandler"]
|
|
744
754
|
}
|
|
745
755
|
}).concat(Be())
|
|
746
|
-
}),
|
|
756
|
+
}), f3 = M3.create();
|
|
747
757
|
function O6() {
|
|
748
758
|
const e = W1();
|
|
749
759
|
return async () => {
|
|
750
760
|
try {
|
|
751
761
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
752
762
|
t.length >= 5 ? t.length = 5 : t.length = 2;
|
|
753
|
-
const o = `/${t.join("/")}`, c = await
|
|
763
|
+
const o = `/${t.join("/")}`, c = await f3.get(
|
|
754
764
|
"/_local-config/_config.local.json",
|
|
755
765
|
{ baseURL: o }
|
|
756
766
|
);
|
|
757
767
|
if (c.status == 200 && c.data) {
|
|
758
768
|
const r = c.data.apiPath;
|
|
759
|
-
e(
|
|
760
|
-
const l = await
|
|
769
|
+
e(T3.setAppConfig(c.data));
|
|
770
|
+
const l = await f3.get(
|
|
761
771
|
`${r}/version`
|
|
762
772
|
);
|
|
763
773
|
l.status == 200 && l.data && e(U.setRuntimeConfig(l.data));
|
|
@@ -768,7 +778,7 @@ function O6() {
|
|
|
768
778
|
return !0;
|
|
769
779
|
};
|
|
770
780
|
}
|
|
771
|
-
var m1 = { exports: {} },
|
|
781
|
+
var m1 = { exports: {} }, l1 = {};
|
|
772
782
|
/**
|
|
773
783
|
* @license React
|
|
774
784
|
* react-jsx-runtime.production.min.js
|
|
@@ -778,11 +788,11 @@ var m1 = { exports: {} }, r1 = {};
|
|
|
778
788
|
* This source code is licensed under the MIT license found in the
|
|
779
789
|
* LICENSE file in the root directory of this source tree.
|
|
780
790
|
*/
|
|
781
|
-
var
|
|
791
|
+
var w3;
|
|
782
792
|
function We() {
|
|
783
|
-
if (
|
|
784
|
-
|
|
785
|
-
var e =
|
|
793
|
+
if (w3) return l1;
|
|
794
|
+
w3 = 1;
|
|
795
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
786
796
|
function v(f, h, w) {
|
|
787
797
|
var d, P = {}, H = null, a = null;
|
|
788
798
|
w !== void 0 && (H = "" + w), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (a = h.ref);
|
|
@@ -790,9 +800,9 @@ function We() {
|
|
|
790
800
|
if (f && f.defaultProps) for (d in h = f.defaultProps, h) P[d] === void 0 && (P[d] = h[d]);
|
|
791
801
|
return { $$typeof: t, type: f, key: H, ref: a, props: P, _owner: r.current };
|
|
792
802
|
}
|
|
793
|
-
return
|
|
803
|
+
return l1.Fragment = o, l1.jsx = v, l1.jsxs = v, l1;
|
|
794
804
|
}
|
|
795
|
-
var
|
|
805
|
+
var i1 = {};
|
|
796
806
|
/**
|
|
797
807
|
* @license React
|
|
798
808
|
* react-jsx-runtime.development.js
|
|
@@ -802,14 +812,14 @@ var l1 = {};
|
|
|
802
812
|
* This source code is licensed under the MIT license found in the
|
|
803
813
|
* LICENSE file in the root directory of this source tree.
|
|
804
814
|
*/
|
|
805
|
-
var
|
|
815
|
+
var m3;
|
|
806
816
|
function Ve() {
|
|
807
|
-
return
|
|
808
|
-
var e =
|
|
809
|
-
function
|
|
817
|
+
return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
818
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, C = "@@iterator";
|
|
819
|
+
function S(s) {
|
|
810
820
|
if (s === null || typeof s != "object")
|
|
811
821
|
return null;
|
|
812
|
-
var i = Z && s[Z] || s[
|
|
822
|
+
var i = Z && s[Z] || s[C];
|
|
813
823
|
return typeof i == "function" ? i : null;
|
|
814
824
|
}
|
|
815
825
|
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -817,10 +827,10 @@ function Ve() {
|
|
|
817
827
|
{
|
|
818
828
|
for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
|
|
819
829
|
u[p - 1] = arguments[p];
|
|
820
|
-
|
|
830
|
+
W("error", s, u);
|
|
821
831
|
}
|
|
822
832
|
}
|
|
823
|
-
function
|
|
833
|
+
function W(s, i, u) {
|
|
824
834
|
{
|
|
825
835
|
var p = b.ReactDebugCurrentFrame, E = p.getStackAddendum();
|
|
826
836
|
E !== "" && (i += "%s", u = u.concat([E]));
|
|
@@ -830,23 +840,23 @@ function Ve() {
|
|
|
830
840
|
T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
|
|
831
841
|
}
|
|
832
842
|
}
|
|
833
|
-
var
|
|
834
|
-
|
|
835
|
-
function
|
|
836
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l ||
|
|
843
|
+
var C1 = !1, K = !1, B = !1, D = !1, z = !1, o1;
|
|
844
|
+
o1 = Symbol.for("react.module.reference");
|
|
845
|
+
function b1(s) {
|
|
846
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === w || s === d || D || s === a || C1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === f || s.$$typeof === h || // This needs to include all possible module reference object
|
|
837
847
|
// types supported by any Flight configuration anywhere since
|
|
838
848
|
// we don't know which Flight build this will end up being used
|
|
839
849
|
// with.
|
|
840
|
-
s.$$typeof ===
|
|
850
|
+
s.$$typeof === o1 || s.getModuleId !== void 0));
|
|
841
851
|
}
|
|
842
|
-
function
|
|
852
|
+
function U3(s, i, u) {
|
|
843
853
|
var p = s.displayName;
|
|
844
854
|
if (p)
|
|
845
855
|
return p;
|
|
846
856
|
var E = i.displayName || i.name || "";
|
|
847
857
|
return E !== "" ? u + "(" + E + ")" : u;
|
|
848
858
|
}
|
|
849
|
-
function
|
|
859
|
+
function U1(s) {
|
|
850
860
|
return s.displayName || "Context";
|
|
851
861
|
}
|
|
852
862
|
function J(s) {
|
|
@@ -874,12 +884,12 @@ function Ve() {
|
|
|
874
884
|
switch (s.$$typeof) {
|
|
875
885
|
case f:
|
|
876
886
|
var i = s;
|
|
877
|
-
return
|
|
887
|
+
return U1(i) + ".Consumer";
|
|
878
888
|
case v:
|
|
879
889
|
var u = s;
|
|
880
|
-
return
|
|
890
|
+
return U1(u._context) + ".Provider";
|
|
881
891
|
case h:
|
|
882
|
-
return
|
|
892
|
+
return U3(s, s.render, "ForwardRef");
|
|
883
893
|
case P:
|
|
884
894
|
var p = s.displayName || null;
|
|
885
895
|
return p !== null ? p : J(s.type) || "Memo";
|
|
@@ -894,18 +904,18 @@ function Ve() {
|
|
|
894
904
|
}
|
|
895
905
|
return null;
|
|
896
906
|
}
|
|
897
|
-
var X = Object.assign,
|
|
898
|
-
function
|
|
907
|
+
var X = Object.assign, s1 = 0, H1, F1, K1, q1, G1, Y1, z1;
|
|
908
|
+
function J1() {
|
|
899
909
|
}
|
|
900
|
-
|
|
910
|
+
J1.__reactDisabledLog = !0;
|
|
901
911
|
function H3() {
|
|
902
912
|
{
|
|
903
|
-
if (
|
|
904
|
-
|
|
913
|
+
if (s1 === 0) {
|
|
914
|
+
H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
|
|
905
915
|
var s = {
|
|
906
916
|
configurable: !0,
|
|
907
917
|
enumerable: !0,
|
|
908
|
-
value:
|
|
918
|
+
value: J1,
|
|
909
919
|
writable: !0
|
|
910
920
|
};
|
|
911
921
|
Object.defineProperties(console, {
|
|
@@ -918,12 +928,12 @@ function Ve() {
|
|
|
918
928
|
groupEnd: s
|
|
919
929
|
});
|
|
920
930
|
}
|
|
921
|
-
|
|
931
|
+
s1++;
|
|
922
932
|
}
|
|
923
933
|
}
|
|
924
934
|
function F3() {
|
|
925
935
|
{
|
|
926
|
-
if (
|
|
936
|
+
if (s1--, s1 === 0) {
|
|
927
937
|
var s = {
|
|
928
938
|
configurable: !0,
|
|
929
939
|
enumerable: !0,
|
|
@@ -931,29 +941,29 @@ function Ve() {
|
|
|
931
941
|
};
|
|
932
942
|
Object.defineProperties(console, {
|
|
933
943
|
log: X({}, s, {
|
|
934
|
-
value:
|
|
944
|
+
value: H1
|
|
935
945
|
}),
|
|
936
946
|
info: X({}, s, {
|
|
937
|
-
value:
|
|
947
|
+
value: F1
|
|
938
948
|
}),
|
|
939
949
|
warn: X({}, s, {
|
|
940
|
-
value:
|
|
950
|
+
value: K1
|
|
941
951
|
}),
|
|
942
952
|
error: X({}, s, {
|
|
943
|
-
value:
|
|
953
|
+
value: q1
|
|
944
954
|
}),
|
|
945
955
|
group: X({}, s, {
|
|
946
|
-
value:
|
|
956
|
+
value: G1
|
|
947
957
|
}),
|
|
948
958
|
groupCollapsed: X({}, s, {
|
|
949
|
-
value:
|
|
959
|
+
value: Y1
|
|
950
960
|
}),
|
|
951
961
|
groupEnd: X({}, s, {
|
|
952
|
-
value:
|
|
962
|
+
value: z1
|
|
953
963
|
})
|
|
954
964
|
});
|
|
955
965
|
}
|
|
956
|
-
|
|
966
|
+
s1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
957
967
|
}
|
|
958
968
|
}
|
|
959
969
|
var y1 = b.ReactCurrentDispatcher, I1;
|
|
@@ -975,7 +985,7 @@ function Ve() {
|
|
|
975
985
|
var K3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
976
986
|
v1 = new K3();
|
|
977
987
|
}
|
|
978
|
-
function
|
|
988
|
+
function X1(s, i) {
|
|
979
989
|
if (!s || R1)
|
|
980
990
|
return "";
|
|
981
991
|
{
|
|
@@ -1023,20 +1033,20 @@ function Ve() {
|
|
|
1023
1033
|
}
|
|
1024
1034
|
} catch (V) {
|
|
1025
1035
|
if (V && p && typeof V.stack == "string") {
|
|
1026
|
-
for (var
|
|
1027
|
-
`),
|
|
1028
|
-
`), L =
|
|
1029
|
-
|
|
1030
|
-
for (; L >= 1 &&
|
|
1031
|
-
if (
|
|
1032
|
-
if (L !== 1 ||
|
|
1036
|
+
for (var j = V.stack.split(`
|
|
1037
|
+
`), k = p.stack.split(`
|
|
1038
|
+
`), L = j.length - 1, A = k.length - 1; L >= 1 && A >= 0 && j[L] !== k[A]; )
|
|
1039
|
+
A--;
|
|
1040
|
+
for (; L >= 1 && A >= 0; L--, A--)
|
|
1041
|
+
if (j[L] !== k[A]) {
|
|
1042
|
+
if (L !== 1 || A !== 1)
|
|
1033
1043
|
do
|
|
1034
|
-
if (L--,
|
|
1044
|
+
if (L--, A--, A < 0 || j[L] !== k[A]) {
|
|
1035
1045
|
var F = `
|
|
1036
|
-
` +
|
|
1046
|
+
` + j[L].replace(" at new ", " at ");
|
|
1037
1047
|
return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" && v1.set(s, F), F;
|
|
1038
1048
|
}
|
|
1039
|
-
while (L >= 1 &&
|
|
1049
|
+
while (L >= 1 && A >= 0);
|
|
1040
1050
|
break;
|
|
1041
1051
|
}
|
|
1042
1052
|
}
|
|
@@ -1047,7 +1057,7 @@ function Ve() {
|
|
|
1047
1057
|
return typeof s == "function" && v1.set(s, Q), Q;
|
|
1048
1058
|
}
|
|
1049
1059
|
function q3(s, i, u) {
|
|
1050
|
-
return
|
|
1060
|
+
return X1(s, !1);
|
|
1051
1061
|
}
|
|
1052
1062
|
function G3(s) {
|
|
1053
1063
|
var i = s.prototype;
|
|
@@ -1057,7 +1067,7 @@ function Ve() {
|
|
|
1057
1067
|
if (s == null)
|
|
1058
1068
|
return "";
|
|
1059
1069
|
if (typeof s == "function")
|
|
1060
|
-
return
|
|
1070
|
+
return X1(s, G3(s));
|
|
1061
1071
|
if (typeof s == "string")
|
|
1062
1072
|
return d1(s);
|
|
1063
1073
|
switch (s) {
|
|
@@ -1082,30 +1092,30 @@ function Ve() {
|
|
|
1082
1092
|
}
|
|
1083
1093
|
return "";
|
|
1084
1094
|
}
|
|
1085
|
-
var
|
|
1095
|
+
var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
|
|
1086
1096
|
function g1(s) {
|
|
1087
1097
|
if (s) {
|
|
1088
1098
|
var i = s._owner, u = h1(s.type, s._source, i ? i.type : null);
|
|
1089
|
-
|
|
1099
|
+
N1.setExtraStackFrame(u);
|
|
1090
1100
|
} else
|
|
1091
|
-
|
|
1101
|
+
N1.setExtraStackFrame(null);
|
|
1092
1102
|
}
|
|
1093
1103
|
function Y3(s, i, u, p, E) {
|
|
1094
1104
|
{
|
|
1095
|
-
var T = Function.call.bind(
|
|
1105
|
+
var T = Function.call.bind(c1);
|
|
1096
1106
|
for (var y in s)
|
|
1097
1107
|
if (T(s, y)) {
|
|
1098
|
-
var
|
|
1108
|
+
var j = void 0;
|
|
1099
1109
|
try {
|
|
1100
1110
|
if (typeof s[y] != "function") {
|
|
1101
|
-
var
|
|
1102
|
-
throw
|
|
1111
|
+
var k = Error((p || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1112
|
+
throw k.name = "Invariant Violation", k;
|
|
1103
1113
|
}
|
|
1104
|
-
|
|
1114
|
+
j = s[y](i, y, p, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1105
1115
|
} catch (L) {
|
|
1106
|
-
|
|
1116
|
+
j = L;
|
|
1107
1117
|
}
|
|
1108
|
-
|
|
1118
|
+
j && !(j instanceof Error) && (g1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", u, y, typeof j), g1(null)), j instanceof Error && !(j.message in Q1) && (Q1[j.message] = !0, g1(E), x("Failed %s type: %s", u, j.message), g1(null));
|
|
1109
1119
|
}
|
|
1110
1120
|
}
|
|
1111
1121
|
}
|
|
@@ -1121,26 +1131,26 @@ function Ve() {
|
|
|
1121
1131
|
}
|
|
1122
1132
|
function X3(s) {
|
|
1123
1133
|
try {
|
|
1124
|
-
return
|
|
1134
|
+
return e3(s), !1;
|
|
1125
1135
|
} catch {
|
|
1126
1136
|
return !0;
|
|
1127
1137
|
}
|
|
1128
1138
|
}
|
|
1129
|
-
function
|
|
1139
|
+
function e3(s) {
|
|
1130
1140
|
return "" + s;
|
|
1131
1141
|
}
|
|
1132
|
-
function
|
|
1142
|
+
function t3(s) {
|
|
1133
1143
|
if (X3(s))
|
|
1134
|
-
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)),
|
|
1144
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J3(s)), e3(s);
|
|
1135
1145
|
}
|
|
1136
|
-
var
|
|
1146
|
+
var n3 = b.ReactCurrentOwner, Q3 = {
|
|
1137
1147
|
key: !0,
|
|
1138
1148
|
ref: !0,
|
|
1139
1149
|
__self: !0,
|
|
1140
1150
|
__source: !0
|
|
1141
|
-
},
|
|
1151
|
+
}, o3, s3;
|
|
1142
1152
|
function N3(s) {
|
|
1143
|
-
if (
|
|
1153
|
+
if (c1.call(s, "ref")) {
|
|
1144
1154
|
var i = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
1145
1155
|
if (i && i.isReactWarning)
|
|
1146
1156
|
return !1;
|
|
@@ -1148,7 +1158,7 @@ function Ve() {
|
|
|
1148
1158
|
return s.ref !== void 0;
|
|
1149
1159
|
}
|
|
1150
1160
|
function e2(s) {
|
|
1151
|
-
if (
|
|
1161
|
+
if (c1.call(s, "key")) {
|
|
1152
1162
|
var i = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
1153
1163
|
if (i && i.isReactWarning)
|
|
1154
1164
|
return !1;
|
|
@@ -1156,12 +1166,12 @@ function Ve() {
|
|
|
1156
1166
|
return s.key !== void 0;
|
|
1157
1167
|
}
|
|
1158
1168
|
function t2(s, i) {
|
|
1159
|
-
typeof s.ref == "string" &&
|
|
1169
|
+
typeof s.ref == "string" && n3.current;
|
|
1160
1170
|
}
|
|
1161
1171
|
function n2(s, i) {
|
|
1162
1172
|
{
|
|
1163
1173
|
var u = function() {
|
|
1164
|
-
|
|
1174
|
+
o3 || (o3 = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
1165
1175
|
};
|
|
1166
1176
|
u.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
1167
1177
|
get: u,
|
|
@@ -1172,7 +1182,7 @@ function Ve() {
|
|
|
1172
1182
|
function o2(s, i) {
|
|
1173
1183
|
{
|
|
1174
1184
|
var u = function() {
|
|
1175
|
-
|
|
1185
|
+
s3 || (s3 = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
1176
1186
|
};
|
|
1177
1187
|
u.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
1178
1188
|
get: u,
|
|
@@ -1181,7 +1191,7 @@ function Ve() {
|
|
|
1181
1191
|
}
|
|
1182
1192
|
}
|
|
1183
1193
|
var s2 = function(s, i, u, p, E, T, y) {
|
|
1184
|
-
var
|
|
1194
|
+
var j = {
|
|
1185
1195
|
// This tag allows us to uniquely identify this as a React Element
|
|
1186
1196
|
$$typeof: t,
|
|
1187
1197
|
// Built-in properties that belong on the element
|
|
@@ -1192,55 +1202,55 @@ function Ve() {
|
|
|
1192
1202
|
// Record the component responsible for creating this element.
|
|
1193
1203
|
_owner: T
|
|
1194
1204
|
};
|
|
1195
|
-
return
|
|
1205
|
+
return j._store = {}, Object.defineProperty(j._store, "validated", {
|
|
1196
1206
|
configurable: !1,
|
|
1197
1207
|
enumerable: !1,
|
|
1198
1208
|
writable: !0,
|
|
1199
1209
|
value: !1
|
|
1200
|
-
}), Object.defineProperty(
|
|
1210
|
+
}), Object.defineProperty(j, "_self", {
|
|
1201
1211
|
configurable: !1,
|
|
1202
1212
|
enumerable: !1,
|
|
1203
1213
|
writable: !1,
|
|
1204
1214
|
value: p
|
|
1205
|
-
}), Object.defineProperty(
|
|
1215
|
+
}), Object.defineProperty(j, "_source", {
|
|
1206
1216
|
configurable: !1,
|
|
1207
1217
|
enumerable: !1,
|
|
1208
1218
|
writable: !1,
|
|
1209
1219
|
value: E
|
|
1210
|
-
}), Object.freeze && (Object.freeze(
|
|
1220
|
+
}), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
|
|
1211
1221
|
};
|
|
1212
1222
|
function c2(s, i, u, p, E) {
|
|
1213
1223
|
{
|
|
1214
|
-
var T, y = {},
|
|
1215
|
-
u !== void 0 && (
|
|
1224
|
+
var T, y = {}, j = null, k = null;
|
|
1225
|
+
u !== void 0 && (t3(u), j = "" + u), e2(i) && (t3(i.key), j = "" + i.key), N3(i) && (k = i.ref, t2(i, E));
|
|
1216
1226
|
for (T in i)
|
|
1217
|
-
|
|
1227
|
+
c1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
|
|
1218
1228
|
if (s && s.defaultProps) {
|
|
1219
1229
|
var L = s.defaultProps;
|
|
1220
1230
|
for (T in L)
|
|
1221
1231
|
y[T] === void 0 && (y[T] = L[T]);
|
|
1222
1232
|
}
|
|
1223
|
-
if (
|
|
1224
|
-
var
|
|
1225
|
-
|
|
1233
|
+
if (j || k) {
|
|
1234
|
+
var A = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1235
|
+
j && n2(y, A), k && o2(y, A);
|
|
1226
1236
|
}
|
|
1227
|
-
return s2(s,
|
|
1237
|
+
return s2(s, j, k, E, p, n3.current, y);
|
|
1228
1238
|
}
|
|
1229
1239
|
}
|
|
1230
|
-
var T1 = b.ReactCurrentOwner,
|
|
1240
|
+
var T1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
|
|
1231
1241
|
function e1(s) {
|
|
1232
1242
|
if (s) {
|
|
1233
1243
|
var i = s._owner, u = h1(s.type, s._source, i ? i.type : null);
|
|
1234
|
-
|
|
1244
|
+
c3.setExtraStackFrame(u);
|
|
1235
1245
|
} else
|
|
1236
|
-
|
|
1246
|
+
c3.setExtraStackFrame(null);
|
|
1237
1247
|
}
|
|
1238
1248
|
var D1;
|
|
1239
1249
|
D1 = !1;
|
|
1240
1250
|
function _1(s) {
|
|
1241
1251
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
1242
1252
|
}
|
|
1243
|
-
function
|
|
1253
|
+
function r3() {
|
|
1244
1254
|
{
|
|
1245
1255
|
if (T1.current) {
|
|
1246
1256
|
var s = J(T1.current.type);
|
|
@@ -1255,10 +1265,10 @@ Check the render method of \`` + s + "`.";
|
|
|
1255
1265
|
function r2(s) {
|
|
1256
1266
|
return "";
|
|
1257
1267
|
}
|
|
1258
|
-
var
|
|
1268
|
+
var l3 = {};
|
|
1259
1269
|
function l2(s) {
|
|
1260
1270
|
{
|
|
1261
|
-
var i =
|
|
1271
|
+
var i = r3();
|
|
1262
1272
|
if (!i) {
|
|
1263
1273
|
var u = typeof s == "string" ? s : s.displayName || s.name;
|
|
1264
1274
|
u && (i = `
|
|
@@ -1268,35 +1278,35 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1268
1278
|
return i;
|
|
1269
1279
|
}
|
|
1270
1280
|
}
|
|
1271
|
-
function
|
|
1281
|
+
function i3(s, i) {
|
|
1272
1282
|
{
|
|
1273
1283
|
if (!s._store || s._store.validated || s.key != null)
|
|
1274
1284
|
return;
|
|
1275
1285
|
s._store.validated = !0;
|
|
1276
1286
|
var u = l2(i);
|
|
1277
|
-
if (
|
|
1287
|
+
if (l3[u])
|
|
1278
1288
|
return;
|
|
1279
|
-
|
|
1289
|
+
l3[u] = !0;
|
|
1280
1290
|
var p = "";
|
|
1281
1291
|
s && s._owner && s._owner !== T1.current && (p = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, p), e1(null);
|
|
1282
1292
|
}
|
|
1283
1293
|
}
|
|
1284
|
-
function
|
|
1294
|
+
function a3(s, i) {
|
|
1285
1295
|
{
|
|
1286
1296
|
if (typeof s != "object")
|
|
1287
1297
|
return;
|
|
1288
1298
|
if (E1(s))
|
|
1289
1299
|
for (var u = 0; u < s.length; u++) {
|
|
1290
1300
|
var p = s[u];
|
|
1291
|
-
_1(p) &&
|
|
1301
|
+
_1(p) && i3(p, i);
|
|
1292
1302
|
}
|
|
1293
1303
|
else if (_1(s))
|
|
1294
1304
|
s._store && (s._store.validated = !0);
|
|
1295
1305
|
else if (s) {
|
|
1296
|
-
var E =
|
|
1306
|
+
var E = S(s);
|
|
1297
1307
|
if (typeof E == "function" && E !== s.entries)
|
|
1298
1308
|
for (var T = E.call(s), y; !(y = T.next()).done; )
|
|
1299
|
-
_1(y.value) &&
|
|
1309
|
+
_1(y.value) && i3(y.value, i);
|
|
1300
1310
|
}
|
|
1301
1311
|
}
|
|
1302
1312
|
}
|
|
@@ -1337,70 +1347,70 @@ Check the top-level render call using <` + u + ">.");
|
|
|
1337
1347
|
s.ref !== null && (e1(s), x("Invalid attribute `ref` supplied to `React.Fragment`."), e1(null));
|
|
1338
1348
|
}
|
|
1339
1349
|
}
|
|
1340
|
-
var
|
|
1341
|
-
function
|
|
1350
|
+
var u3 = {};
|
|
1351
|
+
function d3(s, i, u, p, E, T) {
|
|
1342
1352
|
{
|
|
1343
|
-
var y =
|
|
1353
|
+
var y = b1(s);
|
|
1344
1354
|
if (!y) {
|
|
1345
|
-
var
|
|
1346
|
-
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (
|
|
1347
|
-
var
|
|
1348
|
-
|
|
1355
|
+
var j = "";
|
|
1356
|
+
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1357
|
+
var k = r2();
|
|
1358
|
+
k ? j += k : j += r3();
|
|
1349
1359
|
var L;
|
|
1350
|
-
s === null ? L = "null" : E1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />",
|
|
1360
|
+
s === null ? L = "null" : E1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, j);
|
|
1351
1361
|
}
|
|
1352
|
-
var
|
|
1353
|
-
if (
|
|
1354
|
-
return
|
|
1362
|
+
var A = c2(s, i, u, E, T);
|
|
1363
|
+
if (A == null)
|
|
1364
|
+
return A;
|
|
1355
1365
|
if (y) {
|
|
1356
1366
|
var F = i.children;
|
|
1357
1367
|
if (F !== void 0)
|
|
1358
1368
|
if (p)
|
|
1359
1369
|
if (E1(F)) {
|
|
1360
1370
|
for (var t1 = 0; t1 < F.length; t1++)
|
|
1361
|
-
|
|
1371
|
+
a3(F[t1], s);
|
|
1362
1372
|
Object.freeze && Object.freeze(F);
|
|
1363
1373
|
} else
|
|
1364
1374
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1365
1375
|
else
|
|
1366
|
-
|
|
1376
|
+
a3(F, s);
|
|
1367
1377
|
}
|
|
1368
|
-
if (
|
|
1378
|
+
if (c1.call(i, "key")) {
|
|
1369
1379
|
var Q = J(s), V = Object.keys(i).filter(function(f2) {
|
|
1370
1380
|
return f2 !== "key";
|
|
1371
1381
|
}), P1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1372
|
-
if (!
|
|
1382
|
+
if (!u3[Q + P1]) {
|
|
1373
1383
|
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1374
1384
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1375
1385
|
let props = %s;
|
|
1376
1386
|
<%s {...props} />
|
|
1377
1387
|
React keys must be passed directly to JSX without using spread:
|
|
1378
1388
|
let props = %s;
|
|
1379
|
-
<%s key={someKey} {...props} />`, P1, Q, g2, Q),
|
|
1389
|
+
<%s key={someKey} {...props} />`, P1, Q, g2, Q), u3[Q + P1] = !0;
|
|
1380
1390
|
}
|
|
1381
1391
|
}
|
|
1382
|
-
return s === c ? a2(
|
|
1392
|
+
return s === c ? a2(A) : i2(A), A;
|
|
1383
1393
|
}
|
|
1384
1394
|
}
|
|
1385
1395
|
function u2(s, i, u) {
|
|
1386
|
-
return
|
|
1396
|
+
return d3(s, i, u, !0);
|
|
1387
1397
|
}
|
|
1388
1398
|
function d2(s, i, u) {
|
|
1389
|
-
return
|
|
1399
|
+
return d3(s, i, u, !1);
|
|
1390
1400
|
}
|
|
1391
1401
|
var v2 = d2, h2 = u2;
|
|
1392
|
-
|
|
1393
|
-
}()),
|
|
1402
|
+
i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
|
|
1403
|
+
}()), i1;
|
|
1394
1404
|
}
|
|
1395
|
-
var
|
|
1405
|
+
var p3;
|
|
1396
1406
|
function Ue() {
|
|
1397
|
-
return
|
|
1407
|
+
return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? m1.exports = We() : m1.exports = Ve()), m1.exports;
|
|
1398
1408
|
}
|
|
1399
1409
|
var n = Ue();
|
|
1400
1410
|
const He = "_mwfit_ppa3l_1", Fe = {
|
|
1401
1411
|
mwfit: He
|
|
1402
1412
|
}, Ke = () => {
|
|
1403
|
-
const { reconnect: e } = R(), t =
|
|
1413
|
+
const { reconnect: e } = R(), t = I3(), o = Me(), c = xe();
|
|
1404
1414
|
return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
|
|
1405
1415
|
/* @__PURE__ */ n.jsxs("div", { className: `${Fe.mwfit} mx-auto text-center`, children: [
|
|
1406
1416
|
t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
|
|
@@ -1408,42 +1418,42 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1408
1418
|
] }),
|
|
1409
1419
|
c && /* @__PURE__ */ n.jsx("button", { className: "btn btn-secondary btn-lg", onPointerDown: e, children: "Reconnect" })
|
|
1410
1420
|
] });
|
|
1411
|
-
},
|
|
1421
|
+
}, O3 = C2({
|
|
1412
1422
|
sendMessage: () => null,
|
|
1413
1423
|
sendSimpleMessage: () => null,
|
|
1414
1424
|
addEventHandler: () => null,
|
|
1415
1425
|
removeEventHandler: () => null,
|
|
1416
1426
|
reconnect: () => null
|
|
1417
1427
|
}), qe = ({ children: e }) => {
|
|
1418
|
-
const t = W1(), o =
|
|
1428
|
+
const t = W1(), o = I3();
|
|
1419
1429
|
x1(() => {
|
|
1420
|
-
t(
|
|
1430
|
+
t(k3());
|
|
1421
1431
|
}, [t]);
|
|
1422
|
-
const c =
|
|
1432
|
+
const c = r1(
|
|
1423
1433
|
(h, w) => {
|
|
1424
1434
|
t(Pe(h, w));
|
|
1425
1435
|
},
|
|
1426
1436
|
[t]
|
|
1427
|
-
), r =
|
|
1437
|
+
), r = r1(
|
|
1428
1438
|
(h, w) => {
|
|
1429
1439
|
c(h, { value: w });
|
|
1430
1440
|
},
|
|
1431
1441
|
[c]
|
|
1432
|
-
), l =
|
|
1442
|
+
), l = r1(
|
|
1433
1443
|
(h, w, d) => {
|
|
1434
1444
|
t(Le(h, w, d));
|
|
1435
1445
|
},
|
|
1436
1446
|
[t]
|
|
1437
|
-
), v =
|
|
1447
|
+
), v = r1(
|
|
1438
1448
|
(h, w) => {
|
|
1439
|
-
t(
|
|
1449
|
+
t(Ae(h, w));
|
|
1440
1450
|
},
|
|
1441
1451
|
[t]
|
|
1442
|
-
), f =
|
|
1443
|
-
t(
|
|
1452
|
+
), f = r1(() => {
|
|
1453
|
+
t($e());
|
|
1444
1454
|
}, [t]);
|
|
1445
1455
|
return /* @__PURE__ */ n.jsx(
|
|
1446
|
-
|
|
1456
|
+
O3.Provider,
|
|
1447
1457
|
{
|
|
1448
1458
|
value: {
|
|
1449
1459
|
sendMessage: c,
|
|
@@ -1457,7 +1467,7 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1457
1467
|
);
|
|
1458
1468
|
}, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: Oe, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
|
|
1459
1469
|
function R() {
|
|
1460
|
-
return b2(
|
|
1470
|
+
return b2(O3);
|
|
1461
1471
|
}
|
|
1462
1472
|
function Ge({
|
|
1463
1473
|
onPress: e,
|
|
@@ -1511,7 +1521,7 @@ function V6(e) {
|
|
|
1511
1521
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
1512
1522
|
}), [e, t, o, c]);
|
|
1513
1523
|
}
|
|
1514
|
-
function
|
|
1524
|
+
function W3(e, t) {
|
|
1515
1525
|
const { sendMessage: o, sendSimpleMessage: c } = R(), r = j1(e);
|
|
1516
1526
|
return n1(() => {
|
|
1517
1527
|
if (!r) {
|
|
@@ -1556,9 +1566,9 @@ function Ye(e) {
|
|
|
1556
1566
|
if (t)
|
|
1557
1567
|
return t.volume;
|
|
1558
1568
|
}, [t]);
|
|
1559
|
-
return
|
|
1569
|
+
return W3(o, c);
|
|
1560
1570
|
}
|
|
1561
|
-
function
|
|
1571
|
+
function V3(e) {
|
|
1562
1572
|
const { sendMessage: t } = R();
|
|
1563
1573
|
return { powerOn: () => {
|
|
1564
1574
|
t(`/device/${e}/powerOn`, null);
|
|
@@ -1586,7 +1596,7 @@ function ze(e) {
|
|
|
1586
1596
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1587
1597
|
}
|
|
1588
1598
|
function H6(e) {
|
|
1589
|
-
const t = _(e), o =
|
|
1599
|
+
const t = _(e), o = V3(e), c = O1(e), r = O1(e), l = Ye(e), v = ze(e);
|
|
1590
1600
|
if (t)
|
|
1591
1601
|
return {
|
|
1592
1602
|
avrState: t,
|
|
@@ -1598,7 +1608,7 @@ function H6(e) {
|
|
|
1598
1608
|
};
|
|
1599
1609
|
}
|
|
1600
1610
|
const F6 = ({ className: e }) => {
|
|
1601
|
-
const [t, o] =
|
|
1611
|
+
const [t, o] = Y();
|
|
1602
1612
|
return x1(() => {
|
|
1603
1613
|
setInterval(() => {
|
|
1604
1614
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1863,7 +1873,7 @@ function St(e) {
|
|
|
1863
1873
|
} : void 0;
|
|
1864
1874
|
}
|
|
1865
1875
|
function jt(e) {
|
|
1866
|
-
const t = _(e), o =
|
|
1876
|
+
const t = _(e), o = V3(e), c = O1(e);
|
|
1867
1877
|
if (!t) return;
|
|
1868
1878
|
const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1869
1879
|
return {
|
|
@@ -1913,8 +1923,8 @@ const bt = ({
|
|
|
1913
1923
|
}, [r, t, o]), r;
|
|
1914
1924
|
};
|
|
1915
1925
|
function yt(e, t) {
|
|
1916
|
-
const [o, c] =
|
|
1917
|
-
return
|
|
1926
|
+
const [o, c] = Y(!1), [r, l] = Y(!1);
|
|
1927
|
+
return Z3(() => {
|
|
1918
1928
|
const { current: v } = e, f = () => {
|
|
1919
1929
|
const h = v && v.scrollHeight > v.clientHeight, w = v && v.scrollWidth > v.clientWidth;
|
|
1920
1930
|
l(h ?? !1), c(w ?? !1), t && t(h ?? !1, w ?? !1);
|
|
@@ -1928,18 +1938,18 @@ function It(e, t) {
|
|
|
1928
1938
|
}
|
|
1929
1939
|
function Rt(e, t) {
|
|
1930
1940
|
const o = te(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1931
|
-
return
|
|
1941
|
+
return W3(c, o);
|
|
1932
1942
|
}
|
|
1933
1943
|
function Et(e) {
|
|
1934
1944
|
var f, h;
|
|
1935
|
-
const [t, o] =
|
|
1945
|
+
const [t, o] = Y(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (w) => {
|
|
1936
1946
|
const { current: d } = e;
|
|
1937
1947
|
d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
|
|
1938
1948
|
}, v = (w) => {
|
|
1939
1949
|
const { current: d } = e;
|
|
1940
1950
|
d && (console.log(d.scrollTop), d.scrollTop += w, console.log(d.scrollTop));
|
|
1941
1951
|
};
|
|
1942
|
-
return
|
|
1952
|
+
return Z3(() => {
|
|
1943
1953
|
const { current: w } = e, d = () => {
|
|
1944
1954
|
o((w == null ? void 0 : w.scrollLeft) ?? 0), r((w == null ? void 0 : w.scrollTop) ?? 0);
|
|
1945
1955
|
};
|
|
@@ -1949,9 +1959,9 @@ function Et(e) {
|
|
|
1949
1959
|
function Tt(e) {
|
|
1950
1960
|
const t = W1();
|
|
1951
1961
|
return [() => {
|
|
1952
|
-
t(
|
|
1962
|
+
t(O.addSyncState(e));
|
|
1953
1963
|
}, () => {
|
|
1954
|
-
t(
|
|
1964
|
+
t(O.removeSyncState(e));
|
|
1955
1965
|
}, Ze(e)];
|
|
1956
1966
|
}
|
|
1957
1967
|
function Dt() {
|
|
@@ -1966,7 +1976,7 @@ function Dt() {
|
|
|
1966
1976
|
};
|
|
1967
1977
|
}
|
|
1968
1978
|
function _t() {
|
|
1969
|
-
const [e, t] =
|
|
1979
|
+
const [e, t] = Y(), [o, c] = Y();
|
|
1970
1980
|
function r() {
|
|
1971
1981
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1972
1982
|
const l = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1981,7 +1991,7 @@ function _t() {
|
|
|
1981
1991
|
}, []), { date: e, time: o };
|
|
1982
1992
|
}
|
|
1983
1993
|
const Pt = () => {
|
|
1984
|
-
const [e, t] =
|
|
1994
|
+
const [e, t] = Y(!1), o = y2(), c = I2();
|
|
1985
1995
|
let r;
|
|
1986
1996
|
return R2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ n.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1987
1997
|
/* @__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." }) }),
|
|
@@ -2003,7 +2013,7 @@ const Pt = () => {
|
|
|
2003
2013
|
),
|
|
2004
2014
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
2005
2015
|
] });
|
|
2006
|
-
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18",
|
|
2016
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", A1 = {
|
|
2007
2017
|
iconbtn: Je,
|
|
2008
2018
|
iconbtnvert: Xe,
|
|
2009
2019
|
iconsm: Qe
|
|
@@ -2022,12 +2032,12 @@ const Pt = () => {
|
|
|
2022
2032
|
onPointerLeave: P,
|
|
2023
2033
|
...H
|
|
2024
2034
|
}) => {
|
|
2025
|
-
const [a, Z] =
|
|
2035
|
+
const [a, Z] = Y(!1), C = !v && f ? h : "", S = !v && (a || f);
|
|
2026
2036
|
return /* @__PURE__ */ n.jsxs(
|
|
2027
2037
|
"button",
|
|
2028
2038
|
{
|
|
2029
2039
|
type: "button",
|
|
2030
|
-
className: `${
|
|
2040
|
+
className: `${A1.iconbtn} ${o ? A1.iconbtnvert : ""} ${c} ${C}`,
|
|
2031
2041
|
...H,
|
|
2032
2042
|
disabled: v,
|
|
2033
2043
|
onPointerDown: (b) => {
|
|
@@ -2043,8 +2053,8 @@ const Pt = () => {
|
|
|
2043
2053
|
e && /* @__PURE__ */ n.jsx(
|
|
2044
2054
|
e,
|
|
2045
2055
|
{
|
|
2046
|
-
className: `${r ||
|
|
2047
|
-
active:
|
|
2056
|
+
className: `${r || A1.iconsm}`,
|
|
2057
|
+
active: S,
|
|
2048
2058
|
disabled: v
|
|
2049
2059
|
}
|
|
2050
2060
|
),
|
|
@@ -3699,7 +3709,7 @@ const Pt = () => {
|
|
|
3699
3709
|
X: E8,
|
|
3700
3710
|
Xbox: T8
|
|
3701
3711
|
};
|
|
3702
|
-
function
|
|
3712
|
+
function At({
|
|
3703
3713
|
name: e,
|
|
3704
3714
|
iconsDictionary: t = _8,
|
|
3705
3715
|
...o
|
|
@@ -3707,17 +3717,17 @@ function $t({
|
|
|
3707
3717
|
const c = t[e] ?? null;
|
|
3708
3718
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3709
3719
|
}
|
|
3710
|
-
const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11",
|
|
3720
|
+
const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", A8 = "_content_1cmpp_17", $8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", a1 = {
|
|
3711
3721
|
grid: P8,
|
|
3712
3722
|
header: L8,
|
|
3713
|
-
content:
|
|
3714
|
-
footer:
|
|
3723
|
+
content: A8,
|
|
3724
|
+
footer: $8,
|
|
3715
3725
|
volume: B8
|
|
3716
|
-
},
|
|
3717
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3718
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3719
|
-
r && /* @__PURE__ */ n.jsx("div", { className:
|
|
3720
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3726
|
+
}, $t = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
|
|
3727
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
|
|
3728
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
|
|
3729
|
+
r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
|
|
3730
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
|
|
3721
3731
|
] }), k8 = "_grid_11w5q_1", O8 = "_header_11w5q_11", W8 = "_content_11w5q_17", p1 = {
|
|
3722
3732
|
grid: k8,
|
|
3723
3733
|
header: O8,
|
|
@@ -3726,13 +3736,13 @@ const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A
|
|
|
3726
3736
|
/* @__PURE__ */ n.jsx("div", { className: p1.header, children: t }),
|
|
3727
3737
|
c && /* @__PURE__ */ n.jsx("div", { className: p1.leftNav, children: c }),
|
|
3728
3738
|
/* @__PURE__ */ n.jsx("div", { className: p1.content, children: o })
|
|
3729
|
-
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17",
|
|
3739
|
+
] }), V8 = "_grid_1uwfo_1", U8 = "_header_1uwfo_11", H8 = "_content_1uwfo_17", $1 = {
|
|
3730
3740
|
grid: V8,
|
|
3731
3741
|
header: U8,
|
|
3732
3742
|
content: H8
|
|
3733
|
-
}, kt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${
|
|
3734
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3735
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3743
|
+
}, kt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${$1.grid}`, children: [
|
|
3744
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.header, children: t }),
|
|
3745
|
+
/* @__PURE__ */ n.jsx("div", { className: $1.content, children: o })
|
|
3736
3746
|
] });
|
|
3737
3747
|
class Ot {
|
|
3738
3748
|
constructor() {
|
|
@@ -3791,40 +3801,40 @@ export {
|
|
|
3791
3801
|
R8 as IconMultiWireless,
|
|
3792
3802
|
E8 as IconMultiX,
|
|
3793
3803
|
T8 as IconMultiXbox,
|
|
3794
|
-
|
|
3804
|
+
$t as MainLayout,
|
|
3795
3805
|
Vt as MessageHandler,
|
|
3796
3806
|
W6 as MobileControlProvider,
|
|
3797
3807
|
I as MultiStateIconContainer,
|
|
3798
|
-
|
|
3808
|
+
At as NamedIconButton,
|
|
3799
3809
|
Ot as ShareState,
|
|
3800
3810
|
Bt as TechLayout,
|
|
3801
3811
|
kt as TechPinLayout,
|
|
3802
3812
|
A3 as WS_ADD_EVENT_HANDLER,
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3813
|
+
_3 as WS_CONNECT,
|
|
3814
|
+
P3 as WS_DISCONNECT,
|
|
3815
|
+
B3 as WS_RECONNECT,
|
|
3816
|
+
$3 as WS_REMOVE_EVENT_HANDLER,
|
|
3817
|
+
L3 as WS_SEND_MESSAGE,
|
|
3818
|
+
O3 as WebsocketContext,
|
|
3819
|
+
T3 as appConfigActions,
|
|
3810
3820
|
Be as createWebSocketMiddleware,
|
|
3811
3821
|
f1 as devicesActions,
|
|
3812
3822
|
Wt as getBaseLocation,
|
|
3813
|
-
|
|
3823
|
+
f3 as httpClient,
|
|
3814
3824
|
_8 as iconsDictionary,
|
|
3815
3825
|
Ut as roomOffSourceKey,
|
|
3816
3826
|
w1 as roomsActions,
|
|
3817
3827
|
U as runtimeConfigActions,
|
|
3818
|
-
|
|
3828
|
+
C3 as selectAllDevices,
|
|
3819
3829
|
T2 as selectApiPath,
|
|
3820
3830
|
E2 as selectAppConfig,
|
|
3821
3831
|
ce as selectClientId,
|
|
3822
3832
|
he as selectCurrentPopoverIdForGroup,
|
|
3823
3833
|
P2 as selectDeviceByKey,
|
|
3824
|
-
|
|
3834
|
+
b3 as selectDeviceInterfaceSupport,
|
|
3825
3835
|
ve as selectDeviceSupportsInterface,
|
|
3826
3836
|
fe as selectError,
|
|
3827
|
-
|
|
3837
|
+
y3 as selectInterfacesForDevice,
|
|
3828
3838
|
pe as selectIsSyncStateValuePresent,
|
|
3829
3839
|
de as selectIsTouchpanel,
|
|
3830
3840
|
D2 as selectLogoPath,
|
|
@@ -3832,7 +3842,7 @@ export {
|
|
|
3832
3842
|
_2 as selectPartnerMetadata,
|
|
3833
3843
|
X2 as selectRoomAdvancedSharingActive,
|
|
3834
3844
|
V2 as selectRoomAudioControlPointList,
|
|
3835
|
-
|
|
3845
|
+
$2 as selectRoomByKey,
|
|
3836
3846
|
q2 as selectRoomCodecContentDestinationKey,
|
|
3837
3847
|
L2 as selectRoomConfiguration,
|
|
3838
3848
|
H2 as selectRoomDestinationList,
|
|
@@ -3850,7 +3860,7 @@ export {
|
|
|
3850
3860
|
Q2 as selectRoomShareState,
|
|
3851
3861
|
W2 as selectRoomSourceList,
|
|
3852
3862
|
k2 as selectRoomVolume,
|
|
3853
|
-
|
|
3863
|
+
A2 as selectRooms,
|
|
3854
3864
|
ae as selectRuntimeInfo,
|
|
3855
3865
|
ie as selectServerIsRunningOnProcessorHardware,
|
|
3856
3866
|
ge as selectShowPopoverById,
|
|
@@ -3862,7 +3872,7 @@ export {
|
|
|
3862
3872
|
oe as selectWsIsConnected,
|
|
3863
3873
|
N2 as selectZoomRoomControllerKey,
|
|
3864
3874
|
Oe as store,
|
|
3865
|
-
|
|
3875
|
+
O as uiActions,
|
|
3866
3876
|
je as uiReducer,
|
|
3867
3877
|
Q8 as useApiPath,
|
|
3868
3878
|
X8 as useAppConfig,
|
|
@@ -3882,7 +3892,7 @@ export {
|
|
|
3882
3892
|
bt as useGetAllDeviceStateFromRoomConfiguration,
|
|
3883
3893
|
t6 as useGetAllDevices,
|
|
3884
3894
|
o6 as useGetAllRooms,
|
|
3885
|
-
|
|
3895
|
+
A6 as useGetCurrentPopoverIdForGroup,
|
|
3886
3896
|
_ as useGetDevice,
|
|
3887
3897
|
V6 as useGetIBasicVolume,
|
|
3888
3898
|
U6 as useGetIBasicVolumeWithFeedback,
|
|
@@ -3890,7 +3900,7 @@ export {
|
|
|
3890
3900
|
M6 as useGetRoomDisplayStates,
|
|
3891
3901
|
x6 as useGetZoomRoomControllerKey,
|
|
3892
3902
|
j1 as useIBasicVolume,
|
|
3893
|
-
|
|
3903
|
+
W3 as useIBasicVolumeWithFeedback,
|
|
3894
3904
|
G6 as useIChannel,
|
|
3895
3905
|
Y6 as useIColor,
|
|
3896
3906
|
z6 as useICommunicationMonitor,
|
|
@@ -3900,7 +3910,7 @@ export {
|
|
|
3900
3910
|
et as useIDvr,
|
|
3901
3911
|
tt as useIEssentialsRoomCombiner,
|
|
3902
3912
|
nt as useIHasCameras,
|
|
3903
|
-
|
|
3913
|
+
V3 as useIHasPowerControl,
|
|
3904
3914
|
O1 as useIHasSelectableItems,
|
|
3905
3915
|
ot as useIHumiditySensor,
|
|
3906
3916
|
st as useILevelControls,
|
|
@@ -3956,7 +3966,7 @@ export {
|
|
|
3956
3966
|
b6 as useServerIsRunningOnProcessorHardware,
|
|
3957
3967
|
P6 as useShowIncomingCallModal,
|
|
3958
3968
|
L6 as useShowModal,
|
|
3959
|
-
|
|
3969
|
+
$6 as useShowPopoverById,
|
|
3960
3970
|
xe as useShowReconnect,
|
|
3961
3971
|
_6 as useShowShutdownModal,
|
|
3962
3972
|
Tt as useStateIsSynced,
|
|
@@ -3968,11 +3978,11 @@ export {
|
|
|
3968
3978
|
jt as useTwoWayDisplayBase,
|
|
3969
3979
|
C6 as useUserCode,
|
|
3970
3980
|
R as useWebsocketContext,
|
|
3971
|
-
|
|
3981
|
+
I3 as useWsIsConnected,
|
|
3972
3982
|
Le as wsAddEventHandler,
|
|
3973
|
-
|
|
3983
|
+
k3 as wsConnect,
|
|
3974
3984
|
k6 as wsDisconnect,
|
|
3975
|
-
|
|
3976
|
-
|
|
3985
|
+
$e as wsReconnect,
|
|
3986
|
+
Ae as wsRemoveEventHandler,
|
|
3977
3987
|
Pe as wsSendMessage
|
|
3978
3988
|
};
|