@pepperdash/mobile-control-react-app-core 1.21.0-new-types.2 → 1.21.0-new-types.4
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 +474 -426
- package/dist/mobile-control-react-app-core.umd.js +10 -10
- package/dist/store/rooms/rooms.hooks.d.ts +2 -2
- package/dist/store/rooms/rooms.hooks.d.ts.map +1 -1
- package/dist/store/rooms/rooms.selectors.d.ts +8 -8
- package/dist/types/state/index.d.ts +13 -0
- package/dist/types/state/index.d.ts.map +1 -1
- package/dist/utils/WebsocketContext.d.ts +1 -2
- package/dist/utils/WebsocketContext.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +1 -1
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/dist/utils/useWebsocketContext.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var s2 = Object.defineProperty;
|
|
2
2
|
var o2 = (e, t, o) => t in e ? s2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
-
var
|
|
3
|
+
var G = (e, t, o) => o2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import n2, { AxiosError as c2 } from "axios";
|
|
5
5
|
import { useDispatch as r2, useSelector as l2, Provider as i2 } from "react-redux";
|
|
6
6
|
import { createSelector as p, createSlice as g1, combineReducers as a2, configureStore as u2 } from "@reduxjs/toolkit";
|
|
7
|
-
import p3, { createContext as d2, useState as H, useRef as
|
|
7
|
+
import p3, { createContext as d2, useState as H, useRef as v1, useCallback as a1, useEffect as n1, useContext as h2, useLayoutEffect as x3 } from "react";
|
|
8
8
|
import * as M3 from "lodash";
|
|
9
|
-
import { useNavigate as
|
|
9
|
+
import { useNavigate as v2, useRouteError as g2, isRouteErrorResponse as f2 } from "react-router-dom";
|
|
10
10
|
const w2 = r2.withTypes(), w = l2.withTypes(), j1 = (e) => e.appConfig, p2 = p(
|
|
11
11
|
j1,
|
|
12
12
|
(e) => e.config
|
|
@@ -19,114 +19,114 @@ const w2 = r2.withTypes(), w = l2.withTypes(), j1 = (e) => e.appConfig, p2 = p(
|
|
|
19
19
|
), m2 = p(
|
|
20
20
|
j1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), Z2 = () => w(p2), O6 = () => w(x2),
|
|
22
|
+
), Z2 = () => w(p2), O6 = () => w(x2), V6 = () => w(M2), k6 = () => w(m2), m3 = (e) => e.devices, Z3 = p(
|
|
23
23
|
m3,
|
|
24
24
|
(e) => e
|
|
25
25
|
), j2 = (e) => p(
|
|
26
26
|
m3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
),
|
|
28
|
+
), U6 = () => w(Z3);
|
|
29
29
|
function _(e) {
|
|
30
30
|
return w(j2(e));
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
|
|
32
|
+
const L = (e) => e.rooms, C2 = (e) => p(
|
|
33
|
+
L,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
35
|
), S2 = p(
|
|
36
|
-
|
|
36
|
+
L,
|
|
37
37
|
(e) => e
|
|
38
38
|
), b2 = (e) => p(
|
|
39
|
-
|
|
39
|
+
L,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
41
|
), I2 = (e) => p(
|
|
42
|
-
|
|
42
|
+
L,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
44
|
), R2 = (e, t) => p(
|
|
45
|
-
|
|
45
|
+
L,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
47
|
), y2 = (e) => p(
|
|
48
|
-
|
|
48
|
+
L,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
50
|
), E2 = (e) => p(
|
|
51
|
-
|
|
51
|
+
L,
|
|
52
52
|
(t) => {
|
|
53
53
|
var o, c;
|
|
54
54
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
|
-
),
|
|
57
|
-
|
|
56
|
+
), T2 = (e) => p(
|
|
57
|
+
L,
|
|
58
58
|
(t) => {
|
|
59
59
|
var o, c;
|
|
60
60
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
62
|
), _2 = (e) => p(
|
|
63
|
-
|
|
63
|
+
L,
|
|
64
64
|
(t) => {
|
|
65
65
|
var o, c;
|
|
66
66
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
68
|
), P2 = (e) => p(
|
|
69
|
-
|
|
69
|
+
L,
|
|
70
70
|
(t) => {
|
|
71
71
|
var o, c;
|
|
72
72
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
|
|
73
73
|
}
|
|
74
|
-
),
|
|
75
|
-
|
|
74
|
+
), L2 = (e) => p(
|
|
75
|
+
L,
|
|
76
76
|
(t) => {
|
|
77
77
|
var o, c;
|
|
78
78
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
80
|
-
),
|
|
81
|
-
|
|
80
|
+
), D2 = (e) => p(
|
|
81
|
+
L,
|
|
82
82
|
(t) => {
|
|
83
83
|
var o, c, r, i, d, a, f, x;
|
|
84
84
|
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (f = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
|
|
85
85
|
}
|
|
86
86
|
), $2 = (e) => p(
|
|
87
|
-
|
|
87
|
+
L,
|
|
88
88
|
(t) => {
|
|
89
89
|
var o, c, r;
|
|
90
90
|
return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
|
|
91
91
|
}
|
|
92
92
|
), A2 = (e) => p(
|
|
93
|
-
|
|
93
|
+
L,
|
|
94
94
|
(t) => {
|
|
95
95
|
var o;
|
|
96
96
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
|
|
97
97
|
}
|
|
98
|
-
),
|
|
99
|
-
|
|
98
|
+
), B2 = (e) => p(
|
|
99
|
+
L,
|
|
100
100
|
(t) => {
|
|
101
101
|
var o;
|
|
102
102
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
|
-
),
|
|
105
|
-
|
|
104
|
+
), O2 = (e) => p(
|
|
105
|
+
L,
|
|
106
106
|
(t) => {
|
|
107
107
|
var o;
|
|
108
108
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
|
-
),
|
|
111
|
-
|
|
110
|
+
), V2 = (e) => p(
|
|
111
|
+
L,
|
|
112
112
|
(t) => {
|
|
113
113
|
var o;
|
|
114
114
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
|
|
115
115
|
}
|
|
116
|
-
),
|
|
117
|
-
|
|
116
|
+
), k2 = (e) => p(
|
|
117
|
+
L,
|
|
118
118
|
(t) => {
|
|
119
119
|
var o;
|
|
120
120
|
return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
|
-
),
|
|
123
|
-
|
|
122
|
+
), U2 = (e) => p(
|
|
123
|
+
L,
|
|
124
124
|
(t) => {
|
|
125
125
|
var o;
|
|
126
126
|
return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
|
|
127
127
|
}
|
|
128
|
-
),
|
|
129
|
-
|
|
128
|
+
), W2 = (e) => p(
|
|
129
|
+
L,
|
|
130
130
|
(t) => {
|
|
131
131
|
var o, c;
|
|
132
132
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
@@ -151,47 +151,47 @@ function W6(e) {
|
|
|
151
151
|
C2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function F6() {
|
|
155
155
|
return w(S2);
|
|
156
156
|
}
|
|
157
157
|
function C1(e) {
|
|
158
158
|
return w(b2(e));
|
|
159
159
|
}
|
|
160
|
-
const
|
|
160
|
+
const H6 = C1, K6 = (e) => w(
|
|
161
161
|
I2(e)
|
|
162
162
|
), H2 = (e, t) => w(
|
|
163
163
|
R2(e, t)
|
|
164
|
-
), K2 = (e) => w(y2(e)) || void 0,
|
|
165
|
-
|
|
164
|
+
), K2 = (e) => w(y2(e)) || void 0, G6 = (e) => w(E2(e)), q6 = (e) => w(T2(e)), Y6 = (e) => w(_2(e)), z6 = (e) => w(P2(e)), J6 = (e) => w(L2(e)), X6 = (e) => w(D2(e)), Q6 = (e) => w($2(e)), N6 = (e) => w(A2(e)), ee = (e) => w(B2(e)), te = (e) => w(O2(e)), se = (e) => w(V2(e)), oe = (e) => w(k2(e)), ne = (e) => w(U2(e)), ce = (e) => w((t) => F2(t, e)), re = (e) => w(W2(e)), J = (e) => e.runtimeConfig, G2 = p(
|
|
165
|
+
J,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), q2 = p(
|
|
168
|
-
|
|
168
|
+
J,
|
|
169
169
|
(e) => e.currentRoomKey
|
|
170
170
|
), Y2 = p(
|
|
171
|
-
|
|
171
|
+
J,
|
|
172
172
|
(e) => e.roomData.clientId
|
|
173
173
|
), z2 = p(
|
|
174
|
-
|
|
174
|
+
J,
|
|
175
175
|
(e) => e.roomData.systemUuid
|
|
176
176
|
), J2 = p(
|
|
177
|
-
|
|
177
|
+
J,
|
|
178
178
|
(e) => e.roomData.userCode
|
|
179
179
|
), X2 = p(
|
|
180
|
-
|
|
180
|
+
J,
|
|
181
181
|
(e) => e.serverIsRunningOnProcessorHardware
|
|
182
182
|
), Q2 = p(
|
|
183
|
-
|
|
183
|
+
J,
|
|
184
184
|
(e) => {
|
|
185
185
|
var t;
|
|
186
186
|
return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
|
|
187
187
|
}
|
|
188
188
|
), N2 = p(
|
|
189
|
-
|
|
189
|
+
J,
|
|
190
190
|
(e) => e.touchpanelKey
|
|
191
191
|
), e8 = p(
|
|
192
|
-
|
|
192
|
+
J,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
|
-
), j3 = () => w(G2), t8 = () => w(q2), s8 = () => w(Y2), o8 = () => w(z2), n8 = () => w(J2), c8 = () => w(X2),
|
|
194
|
+
), j3 = () => w(G2), t8 = () => w(q2), s8 = () => w(Y2), o8 = () => w(z2), n8 = () => w(J2), c8 = () => w(X2), le = () => w(Q2), ie = () => w(N2), ae = () => w(e8), c1 = (e) => e.ui, U1 = (e) => p(
|
|
195
195
|
c1,
|
|
196
196
|
(t) => t.modalVisibility[e]
|
|
197
197
|
), r8 = (e) => p(
|
|
@@ -216,7 +216,7 @@ const F6 = C1, H6 = (e) => w(
|
|
|
216
216
|
), u8 = p(
|
|
217
217
|
c1,
|
|
218
218
|
(e) => e.theme
|
|
219
|
-
),
|
|
219
|
+
), ue = () => w(U1("showShutdownModal")), de = () => w(U1("showIncomingCallModal")), he = (e) => w(U1(e)), ve = (e) => w(r8(e)), ge = (e, t) => w(l8(e, t)), d8 = () => w(i8), h8 = () => w(a8), fe = () => w(u8), v8 = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -226,7 +226,7 @@ const F6 = C1, H6 = (e) => w(
|
|
|
226
226
|
popoverVisibility: {}
|
|
227
227
|
}, C3 = g1({
|
|
228
228
|
name: "ui",
|
|
229
|
-
initialState:
|
|
229
|
+
initialState: v8,
|
|
230
230
|
reducers: {
|
|
231
231
|
clearAllModals(e) {
|
|
232
232
|
Object.entries(e.modalVisibility).forEach(([t]) => {
|
|
@@ -257,7 +257,7 @@ const F6 = C1, H6 = (e) => w(
|
|
|
257
257
|
e.theme = t.payload;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
}),
|
|
260
|
+
}), q = C3.actions, g8 = C3.reducer, f8 = {
|
|
261
261
|
config: {
|
|
262
262
|
enableDev: !1,
|
|
263
263
|
apiPath: "",
|
|
@@ -275,7 +275,7 @@ const F6 = C1, H6 = (e) => w(
|
|
|
275
275
|
e.config = t.payload;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
}), w8 = S3.actions, p8 = S3.reducer, d3 = {},
|
|
278
|
+
}), w8 = S3.actions, p8 = S3.reducer, d3 = {}, B1 = g1({
|
|
279
279
|
name: "devices",
|
|
280
280
|
initialState: d3,
|
|
281
281
|
reducers: {
|
|
@@ -290,11 +290,11 @@ const F6 = C1, H6 = (e) => w(
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
}), N = {
|
|
293
|
-
setDeviceState:
|
|
294
|
-
clearDevices:
|
|
295
|
-
}, x8 =
|
|
293
|
+
setDeviceState: B1.actions.setDeviceState,
|
|
294
|
+
clearDevices: B1.actions.clearDevices
|
|
295
|
+
}, x8 = B1.reducer, h3 = {}, O1 = g1({
|
|
296
296
|
name: "rooms",
|
|
297
|
-
initialState:
|
|
297
|
+
initialState: h3,
|
|
298
298
|
reducers: {
|
|
299
299
|
setRoomState(e, t) {
|
|
300
300
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
@@ -303,13 +303,13 @@ const F6 = C1, H6 = (e) => w(
|
|
|
303
303
|
e[c] = d;
|
|
304
304
|
},
|
|
305
305
|
clearRooms() {
|
|
306
|
-
return
|
|
306
|
+
return h3;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
}), e1 = {
|
|
310
|
-
setRoomState:
|
|
311
|
-
clearRooms:
|
|
312
|
-
}, M8 =
|
|
310
|
+
setRoomState: O1.actions.setRoomState,
|
|
311
|
+
clearRooms: O1.actions.clearRooms
|
|
312
|
+
}, M8 = O1.reducer, m8 = {
|
|
313
313
|
apiVersion: "",
|
|
314
314
|
serverIsRunningOnProcessorHardware: !1,
|
|
315
315
|
websocket: {
|
|
@@ -368,7 +368,7 @@ const F6 = C1, H6 = (e) => w(
|
|
|
368
368
|
e.touchpanelKey = t.payload;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
}),
|
|
371
|
+
}), W = b3.actions, Z8 = b3.reducer, j8 = a2({
|
|
372
372
|
appConfig: p8,
|
|
373
373
|
runtimeConfig: Z8,
|
|
374
374
|
rooms: M8,
|
|
@@ -376,19 +376,19 @@ const F6 = C1, H6 = (e) => w(
|
|
|
376
376
|
ui: g8
|
|
377
377
|
}), m = u2({
|
|
378
378
|
reducer: j8
|
|
379
|
-
}),
|
|
379
|
+
}), V1 = n2.create();
|
|
380
380
|
function C8() {
|
|
381
381
|
const e = w2();
|
|
382
382
|
return async () => {
|
|
383
383
|
try {
|
|
384
384
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
385
385
|
t.length >= 5 ? t.length = 5 : t.length = 2;
|
|
386
|
-
const o = `/${t.join("/")}`, c = await
|
|
386
|
+
const o = `/${t.join("/")}`, c = await V1.get("/_local-config/_config.local.json", { baseURL: o });
|
|
387
387
|
if (c.status == 200 && c.data) {
|
|
388
388
|
const r = c.data.apiPath;
|
|
389
389
|
e(w8.setAppConfig(c.data));
|
|
390
|
-
const i = await
|
|
391
|
-
i.status == 200 && i.data && e(
|
|
390
|
+
const i = await V1.get(`${r}/version`);
|
|
391
|
+
i.status == 200 && i.data && e(W.setRuntimeConfig(i.data));
|
|
392
392
|
}
|
|
393
393
|
} catch (t) {
|
|
394
394
|
console.error("Error getting config", t);
|
|
@@ -406,17 +406,17 @@ var m1 = { exports: {} }, u1 = {};
|
|
|
406
406
|
* This source code is licensed under the MIT license found in the
|
|
407
407
|
* LICENSE file in the root directory of this source tree.
|
|
408
408
|
*/
|
|
409
|
-
var
|
|
409
|
+
var v3;
|
|
410
410
|
function S8() {
|
|
411
|
-
if (
|
|
412
|
-
|
|
411
|
+
if (v3) return u1;
|
|
412
|
+
v3 = 1;
|
|
413
413
|
var e = p3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
414
414
|
function d(a, f, x) {
|
|
415
|
-
var
|
|
416
|
-
x !== void 0 && (
|
|
417
|
-
for (
|
|
418
|
-
if (a && a.defaultProps) for (
|
|
419
|
-
return { $$typeof: t, type: a, key:
|
|
415
|
+
var h, R = {}, D = null, F = null;
|
|
416
|
+
x !== void 0 && (D = "" + x), f.key !== void 0 && (D = "" + f.key), f.ref !== void 0 && (F = f.ref);
|
|
417
|
+
for (h in f) c.call(f, h) && !i.hasOwnProperty(h) && (R[h] = f[h]);
|
|
418
|
+
if (a && a.defaultProps) for (h in f = a.defaultProps, f) R[h] === void 0 && (R[h] = f[h]);
|
|
419
|
+
return { $$typeof: t, type: a, key: D, ref: F, props: R, _owner: r.current };
|
|
420
420
|
}
|
|
421
421
|
return u1.Fragment = o, u1.jsx = d, u1.jsxs = d, u1;
|
|
422
422
|
}
|
|
@@ -433,24 +433,24 @@ var d1 = {};
|
|
|
433
433
|
var g3;
|
|
434
434
|
function b8() {
|
|
435
435
|
return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
436
|
-
var e = p3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"),
|
|
436
|
+
var e = p3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
|
|
437
437
|
function r1(n) {
|
|
438
438
|
if (n === null || typeof n != "object")
|
|
439
439
|
return null;
|
|
440
|
-
var l =
|
|
440
|
+
var l = k && n[k] || n[X];
|
|
441
441
|
return typeof l == "function" ? l : null;
|
|
442
442
|
}
|
|
443
443
|
var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
444
444
|
function A(n) {
|
|
445
445
|
{
|
|
446
|
-
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0),
|
|
447
|
-
u[
|
|
446
|
+
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
|
|
447
|
+
u[v - 1] = arguments[v];
|
|
448
448
|
S1("error", n, u);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
function S1(n, l, u) {
|
|
452
452
|
{
|
|
453
|
-
var
|
|
453
|
+
var v = $.ReactDebugCurrentFrame, S = v.getStackAddendum();
|
|
454
454
|
S !== "" && (l += "%s", u = u.concat([S]));
|
|
455
455
|
var I = u.map(function(Z) {
|
|
456
456
|
return String(Z);
|
|
@@ -458,19 +458,19 @@ function b8() {
|
|
|
458
458
|
I.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, I);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var b1 = !1, y = !1, C = !1, f1 = !1, I1 = !1,
|
|
462
|
-
|
|
463
|
-
function
|
|
464
|
-
return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n ===
|
|
461
|
+
var b1 = !1, y = !1, C = !1, f1 = !1, I1 = !1, Y;
|
|
462
|
+
Y = Symbol.for("react.module.reference");
|
|
463
|
+
function B(n) {
|
|
464
|
+
return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n === F || b1 || y || C || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === R || n.$$typeof === d || n.$$typeof === a || n.$$typeof === f || // This needs to include all possible module reference object
|
|
465
465
|
// types supported by any Flight configuration anywhere since
|
|
466
466
|
// we don't know which Flight build this will end up being used
|
|
467
467
|
// with.
|
|
468
|
-
n.$$typeof ===
|
|
468
|
+
n.$$typeof === Y || n.getModuleId !== void 0));
|
|
469
469
|
}
|
|
470
470
|
function E(n, l, u) {
|
|
471
|
-
var
|
|
472
|
-
if (
|
|
473
|
-
return
|
|
471
|
+
var v = n.displayName;
|
|
472
|
+
if (v)
|
|
473
|
+
return v;
|
|
474
474
|
var S = l.displayName || l.name || "";
|
|
475
475
|
return S !== "" ? u + "(" + S + ")" : u;
|
|
476
476
|
}
|
|
@@ -495,7 +495,7 @@ function b8() {
|
|
|
495
495
|
return "StrictMode";
|
|
496
496
|
case x:
|
|
497
497
|
return "Suspense";
|
|
498
|
-
case
|
|
498
|
+
case h:
|
|
499
499
|
return "SuspenseList";
|
|
500
500
|
}
|
|
501
501
|
if (typeof n == "object")
|
|
@@ -509,9 +509,9 @@ function b8() {
|
|
|
509
509
|
case f:
|
|
510
510
|
return E(n, n.render, "ForwardRef");
|
|
511
511
|
case R:
|
|
512
|
-
var
|
|
513
|
-
return
|
|
514
|
-
case
|
|
512
|
+
var v = n.displayName || null;
|
|
513
|
+
return v !== null ? v : K(n.type) || "Memo";
|
|
514
|
+
case D: {
|
|
515
515
|
var S = n, I = S._payload, Z = S._init;
|
|
516
516
|
try {
|
|
517
517
|
return K(Z(I));
|
|
@@ -522,14 +522,14 @@ function b8() {
|
|
|
522
522
|
}
|
|
523
523
|
return null;
|
|
524
524
|
}
|
|
525
|
-
var
|
|
525
|
+
var z = Object.assign, l1 = 0, W1, F1, H1, K1, G1, q1, Y1;
|
|
526
526
|
function z1() {
|
|
527
527
|
}
|
|
528
528
|
z1.__reactDisabledLog = !0;
|
|
529
529
|
function E3() {
|
|
530
530
|
{
|
|
531
531
|
if (l1 === 0) {
|
|
532
|
-
|
|
532
|
+
W1 = console.log, F1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
|
|
533
533
|
var n = {
|
|
534
534
|
configurable: !0,
|
|
535
535
|
enumerable: !0,
|
|
@@ -549,7 +549,7 @@ function b8() {
|
|
|
549
549
|
l1++;
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function T3() {
|
|
553
553
|
{
|
|
554
554
|
if (l1--, l1 === 0) {
|
|
555
555
|
var n = {
|
|
@@ -558,25 +558,25 @@ function b8() {
|
|
|
558
558
|
writable: !0
|
|
559
559
|
};
|
|
560
560
|
Object.defineProperties(console, {
|
|
561
|
-
log:
|
|
562
|
-
value:
|
|
561
|
+
log: z({}, n, {
|
|
562
|
+
value: W1
|
|
563
563
|
}),
|
|
564
|
-
info:
|
|
564
|
+
info: z({}, n, {
|
|
565
565
|
value: F1
|
|
566
566
|
}),
|
|
567
|
-
warn:
|
|
567
|
+
warn: z({}, n, {
|
|
568
568
|
value: H1
|
|
569
569
|
}),
|
|
570
|
-
error:
|
|
570
|
+
error: z({}, n, {
|
|
571
571
|
value: K1
|
|
572
572
|
}),
|
|
573
|
-
group:
|
|
573
|
+
group: z({}, n, {
|
|
574
574
|
value: G1
|
|
575
575
|
}),
|
|
576
|
-
groupCollapsed:
|
|
576
|
+
groupCollapsed: z({}, n, {
|
|
577
577
|
value: q1
|
|
578
578
|
}),
|
|
579
|
-
groupEnd:
|
|
579
|
+
groupEnd: z({}, n, {
|
|
580
580
|
value: Y1
|
|
581
581
|
})
|
|
582
582
|
});
|
|
@@ -591,8 +591,8 @@ function b8() {
|
|
|
591
591
|
try {
|
|
592
592
|
throw Error();
|
|
593
593
|
} catch (S) {
|
|
594
|
-
var
|
|
595
|
-
y1 =
|
|
594
|
+
var v = S.stack.trim().match(/\n( *(at )?)/);
|
|
595
|
+
y1 = v && v[1] || "";
|
|
596
596
|
}
|
|
597
597
|
return `
|
|
598
598
|
` + y1 + n;
|
|
@@ -611,7 +611,7 @@ function b8() {
|
|
|
611
611
|
if (u !== void 0)
|
|
612
612
|
return u;
|
|
613
613
|
}
|
|
614
|
-
var
|
|
614
|
+
var v;
|
|
615
615
|
E1 = !0;
|
|
616
616
|
var S = Error.prepareStackTrace;
|
|
617
617
|
Error.prepareStackTrace = void 0;
|
|
@@ -629,47 +629,47 @@ function b8() {
|
|
|
629
629
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
630
630
|
try {
|
|
631
631
|
Reflect.construct(Z, []);
|
|
632
|
-
} catch (
|
|
633
|
-
|
|
632
|
+
} catch (V) {
|
|
633
|
+
v = V;
|
|
634
634
|
}
|
|
635
635
|
Reflect.construct(n, [], Z);
|
|
636
636
|
} else {
|
|
637
637
|
try {
|
|
638
638
|
Z.call();
|
|
639
|
-
} catch (
|
|
640
|
-
|
|
639
|
+
} catch (V) {
|
|
640
|
+
v = V;
|
|
641
641
|
}
|
|
642
642
|
n.call(Z.prototype);
|
|
643
643
|
}
|
|
644
644
|
} else {
|
|
645
645
|
try {
|
|
646
646
|
throw Error();
|
|
647
|
-
} catch (
|
|
648
|
-
|
|
647
|
+
} catch (V) {
|
|
648
|
+
v = V;
|
|
649
649
|
}
|
|
650
650
|
n();
|
|
651
651
|
}
|
|
652
|
-
} catch (
|
|
653
|
-
if (
|
|
654
|
-
for (var M =
|
|
655
|
-
`),
|
|
656
|
-
`),
|
|
652
|
+
} catch (V) {
|
|
653
|
+
if (V && v && typeof V.stack == "string") {
|
|
654
|
+
for (var M = V.stack.split(`
|
|
655
|
+
`), O = v.stack.split(`
|
|
656
|
+
`), T = M.length - 1, P = O.length - 1; T >= 1 && P >= 0 && M[T] !== O[P]; )
|
|
657
657
|
P--;
|
|
658
|
-
for (;
|
|
659
|
-
if (M[
|
|
660
|
-
if (
|
|
658
|
+
for (; T >= 1 && P >= 0; T--, P--)
|
|
659
|
+
if (M[T] !== O[P]) {
|
|
660
|
+
if (T !== 1 || P !== 1)
|
|
661
661
|
do
|
|
662
|
-
if (
|
|
663
|
-
var
|
|
664
|
-
` + M[
|
|
665
|
-
return n.displayName &&
|
|
662
|
+
if (T--, P--, P < 0 || M[T] !== O[P]) {
|
|
663
|
+
var U = `
|
|
664
|
+
` + M[T].replace(" at new ", " at ");
|
|
665
|
+
return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && p1.set(n, U), U;
|
|
666
666
|
}
|
|
667
|
-
while (
|
|
667
|
+
while (T >= 1 && P >= 0);
|
|
668
668
|
break;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
} finally {
|
|
672
|
-
E1 = !1, R1.current = I,
|
|
672
|
+
E1 = !1, R1.current = I, T3(), Error.prepareStackTrace = S;
|
|
673
673
|
}
|
|
674
674
|
var o1 = n ? n.displayName || n.name : "", Q = o1 ? w1(o1) : "";
|
|
675
675
|
return typeof n == "function" && p1.set(n, Q), Q;
|
|
@@ -677,7 +677,7 @@ function b8() {
|
|
|
677
677
|
function P3(n, l, u) {
|
|
678
678
|
return J1(n, !1);
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function L3(n) {
|
|
681
681
|
var l = n.prototype;
|
|
682
682
|
return !!(l && l.isReactComponent);
|
|
683
683
|
}
|
|
@@ -685,13 +685,13 @@ function b8() {
|
|
|
685
685
|
if (n == null)
|
|
686
686
|
return "";
|
|
687
687
|
if (typeof n == "function")
|
|
688
|
-
return J1(n,
|
|
688
|
+
return J1(n, L3(n));
|
|
689
689
|
if (typeof n == "string")
|
|
690
690
|
return w1(n);
|
|
691
691
|
switch (n) {
|
|
692
692
|
case x:
|
|
693
693
|
return w1("Suspense");
|
|
694
|
-
case
|
|
694
|
+
case h:
|
|
695
695
|
return w1("SuspenseList");
|
|
696
696
|
}
|
|
697
697
|
if (typeof n == "object")
|
|
@@ -700,8 +700,8 @@ function b8() {
|
|
|
700
700
|
return P3(n.render);
|
|
701
701
|
case R:
|
|
702
702
|
return x1(n.type, l, u);
|
|
703
|
-
case
|
|
704
|
-
var
|
|
703
|
+
case D: {
|
|
704
|
+
var v = n, S = v._payload, I = v._init;
|
|
705
705
|
try {
|
|
706
706
|
return x1(I(S), l, u);
|
|
707
707
|
} catch {
|
|
@@ -718,7 +718,7 @@ function b8() {
|
|
|
718
718
|
} else
|
|
719
719
|
Q1.setExtraStackFrame(null);
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function D3(n, l, u, v, S) {
|
|
722
722
|
{
|
|
723
723
|
var I = Function.call.bind(i1);
|
|
724
724
|
for (var Z in n)
|
|
@@ -726,19 +726,19 @@ function b8() {
|
|
|
726
726
|
var M = void 0;
|
|
727
727
|
try {
|
|
728
728
|
if (typeof n[Z] != "function") {
|
|
729
|
-
var
|
|
730
|
-
throw
|
|
729
|
+
var O = Error((v || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
730
|
+
throw O.name = "Invariant Violation", O;
|
|
731
731
|
}
|
|
732
|
-
M = n[Z](l, Z,
|
|
733
|
-
} catch (
|
|
734
|
-
M =
|
|
732
|
+
M = n[Z](l, Z, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
733
|
+
} catch (T) {
|
|
734
|
+
M = T;
|
|
735
735
|
}
|
|
736
|
-
M && !(M instanceof Error) && (M1(S), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
736
|
+
M && !(M instanceof Error) && (M1(S), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(S), A("Failed %s type: %s", u, M.message), M1(null));
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
740
|
var $3 = Array.isArray;
|
|
741
|
-
function
|
|
741
|
+
function T1(n) {
|
|
742
742
|
return $3(n);
|
|
743
743
|
}
|
|
744
744
|
function A3(n) {
|
|
@@ -747,7 +747,7 @@ function b8() {
|
|
|
747
747
|
return u;
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function B3(n) {
|
|
751
751
|
try {
|
|
752
752
|
return N1(n), !1;
|
|
753
753
|
} catch {
|
|
@@ -758,16 +758,16 @@ function b8() {
|
|
|
758
758
|
return "" + n;
|
|
759
759
|
}
|
|
760
760
|
function e3(n) {
|
|
761
|
-
if (
|
|
761
|
+
if (B3(n))
|
|
762
762
|
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", A3(n)), N1(n);
|
|
763
763
|
}
|
|
764
|
-
var t3 = $.ReactCurrentOwner,
|
|
764
|
+
var t3 = $.ReactCurrentOwner, O3 = {
|
|
765
765
|
key: !0,
|
|
766
766
|
ref: !0,
|
|
767
767
|
__self: !0,
|
|
768
768
|
__source: !0
|
|
769
769
|
}, s3, o3;
|
|
770
|
-
function
|
|
770
|
+
function V3(n) {
|
|
771
771
|
if (i1.call(n, "ref")) {
|
|
772
772
|
var l = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
773
773
|
if (l && l.isReactWarning)
|
|
@@ -775,7 +775,7 @@ function b8() {
|
|
|
775
775
|
}
|
|
776
776
|
return n.ref !== void 0;
|
|
777
777
|
}
|
|
778
|
-
function
|
|
778
|
+
function k3(n) {
|
|
779
779
|
if (i1.call(n, "key")) {
|
|
780
780
|
var l = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
781
781
|
if (l && l.isReactWarning)
|
|
@@ -783,10 +783,10 @@ function b8() {
|
|
|
783
783
|
}
|
|
784
784
|
return n.key !== void 0;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function U3(n, l) {
|
|
787
787
|
typeof n.ref == "string" && t3.current;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function W3(n, l) {
|
|
790
790
|
{
|
|
791
791
|
var u = function() {
|
|
792
792
|
s3 || (s3 = !0, A("%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));
|
|
@@ -808,7 +808,7 @@ function b8() {
|
|
|
808
808
|
});
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
|
-
var H3 = function(n, l, u,
|
|
811
|
+
var H3 = function(n, l, u, v, S, I, Z) {
|
|
812
812
|
var M = {
|
|
813
813
|
// This tag allows us to uniquely identify this as a React Element
|
|
814
814
|
$$typeof: t,
|
|
@@ -829,7 +829,7 @@ function b8() {
|
|
|
829
829
|
configurable: !1,
|
|
830
830
|
enumerable: !1,
|
|
831
831
|
writable: !1,
|
|
832
|
-
value:
|
|
832
|
+
value: v
|
|
833
833
|
}), Object.defineProperty(M, "_source", {
|
|
834
834
|
configurable: !1,
|
|
835
835
|
enumerable: !1,
|
|
@@ -837,22 +837,22 @@ function b8() {
|
|
|
837
837
|
value: S
|
|
838
838
|
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
839
839
|
};
|
|
840
|
-
function K3(n, l, u,
|
|
840
|
+
function K3(n, l, u, v, S) {
|
|
841
841
|
{
|
|
842
|
-
var I, Z = {}, M = null,
|
|
843
|
-
u !== void 0 && (e3(u), M = "" + u),
|
|
842
|
+
var I, Z = {}, M = null, O = null;
|
|
843
|
+
u !== void 0 && (e3(u), M = "" + u), k3(l) && (e3(l.key), M = "" + l.key), V3(l) && (O = l.ref, U3(l, S));
|
|
844
844
|
for (I in l)
|
|
845
|
-
i1.call(l, I) && !
|
|
845
|
+
i1.call(l, I) && !O3.hasOwnProperty(I) && (Z[I] = l[I]);
|
|
846
846
|
if (n && n.defaultProps) {
|
|
847
|
-
var
|
|
848
|
-
for (I in
|
|
849
|
-
Z[I] === void 0 && (Z[I] =
|
|
847
|
+
var T = n.defaultProps;
|
|
848
|
+
for (I in T)
|
|
849
|
+
Z[I] === void 0 && (Z[I] = T[I]);
|
|
850
850
|
}
|
|
851
|
-
if (M ||
|
|
851
|
+
if (M || O) {
|
|
852
852
|
var P = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
853
|
-
M &&
|
|
853
|
+
M && W3(Z, P), O && F3(Z, P);
|
|
854
854
|
}
|
|
855
|
-
return H3(n, M,
|
|
855
|
+
return H3(n, M, O, S, v, t3.current, Z);
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
var _1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
|
|
@@ -865,7 +865,7 @@ function b8() {
|
|
|
865
865
|
}
|
|
866
866
|
var P1;
|
|
867
867
|
P1 = !1;
|
|
868
|
-
function
|
|
868
|
+
function L1(n) {
|
|
869
869
|
return typeof n == "object" && n !== null && n.$$typeof === t;
|
|
870
870
|
}
|
|
871
871
|
function c3() {
|
|
@@ -905,26 +905,26 @@ Check the top-level render call using <` + u + ">.");
|
|
|
905
905
|
if (r3[u])
|
|
906
906
|
return;
|
|
907
907
|
r3[u] = !0;
|
|
908
|
-
var
|
|
909
|
-
n && n._owner && n._owner !== _1.current && (
|
|
908
|
+
var v = "";
|
|
909
|
+
n && n._owner && n._owner !== _1.current && (v = " It was passed a child from " + K(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), s1(null);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
function i3(n, l) {
|
|
913
913
|
{
|
|
914
914
|
if (typeof n != "object")
|
|
915
915
|
return;
|
|
916
|
-
if (
|
|
916
|
+
if (T1(n))
|
|
917
917
|
for (var u = 0; u < n.length; u++) {
|
|
918
|
-
var
|
|
919
|
-
|
|
918
|
+
var v = n[u];
|
|
919
|
+
L1(v) && l3(v, l);
|
|
920
920
|
}
|
|
921
|
-
else if (
|
|
921
|
+
else if (L1(n))
|
|
922
922
|
n._store && (n._store.validated = !0);
|
|
923
923
|
else if (n) {
|
|
924
924
|
var S = r1(n);
|
|
925
925
|
if (typeof S == "function" && S !== n.entries)
|
|
926
926
|
for (var I = S.call(n), Z; !(Z = I.next()).done; )
|
|
927
|
-
|
|
927
|
+
L1(Z.value) && l3(Z.value, l);
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
930
|
}
|
|
@@ -943,8 +943,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
943
943
|
else
|
|
944
944
|
return;
|
|
945
945
|
if (u) {
|
|
946
|
-
var
|
|
947
|
-
|
|
946
|
+
var v = K(l);
|
|
947
|
+
D3(u, n.props, "prop", v, n);
|
|
948
948
|
} else if (l.PropTypes !== void 0 && !P1) {
|
|
949
949
|
P1 = !0;
|
|
950
950
|
var S = K(l);
|
|
@@ -956,9 +956,9 @@ Check the top-level render call using <` + u + ">.");
|
|
|
956
956
|
function z3(n) {
|
|
957
957
|
{
|
|
958
958
|
for (var l = Object.keys(n.props), u = 0; u < l.length; u++) {
|
|
959
|
-
var
|
|
960
|
-
if (
|
|
961
|
-
s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
959
|
+
var v = l[u];
|
|
960
|
+
if (v !== "children" && v !== "key") {
|
|
961
|
+
s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), s1(null);
|
|
962
962
|
break;
|
|
963
963
|
}
|
|
964
964
|
}
|
|
@@ -966,45 +966,45 @@ Check the top-level render call using <` + u + ">.");
|
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
968
|
var a3 = {};
|
|
969
|
-
function u3(n, l, u,
|
|
969
|
+
function u3(n, l, u, v, S, I) {
|
|
970
970
|
{
|
|
971
|
-
var Z =
|
|
971
|
+
var Z = B(n);
|
|
972
972
|
if (!Z) {
|
|
973
973
|
var M = "";
|
|
974
974
|
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
975
|
-
var
|
|
976
|
-
|
|
977
|
-
var
|
|
978
|
-
n === null ?
|
|
975
|
+
var O = G3();
|
|
976
|
+
O ? M += O : M += c3();
|
|
977
|
+
var T;
|
|
978
|
+
n === null ? T = "null" : T1(n) ? T = "array" : n !== void 0 && n.$$typeof === t ? (T = "<" + (K(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
|
|
979
979
|
}
|
|
980
980
|
var P = K3(n, l, u, S, I);
|
|
981
981
|
if (P == null)
|
|
982
982
|
return P;
|
|
983
983
|
if (Z) {
|
|
984
|
-
var
|
|
985
|
-
if (
|
|
986
|
-
if (
|
|
987
|
-
if (
|
|
988
|
-
for (var o1 = 0; o1 <
|
|
989
|
-
i3(
|
|
990
|
-
Object.freeze && Object.freeze(
|
|
984
|
+
var U = l.children;
|
|
985
|
+
if (U !== void 0)
|
|
986
|
+
if (v)
|
|
987
|
+
if (T1(U)) {
|
|
988
|
+
for (var o1 = 0; o1 < U.length; o1++)
|
|
989
|
+
i3(U[o1], n);
|
|
990
|
+
Object.freeze && Object.freeze(U);
|
|
991
991
|
} else
|
|
992
992
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
993
993
|
else
|
|
994
|
-
i3(
|
|
994
|
+
i3(U, n);
|
|
995
995
|
}
|
|
996
996
|
if (i1.call(l, "key")) {
|
|
997
|
-
var Q = K(n),
|
|
997
|
+
var Q = K(n), V = Object.keys(l).filter(function(t2) {
|
|
998
998
|
return t2 !== "key";
|
|
999
|
-
}),
|
|
1000
|
-
if (!a3[Q +
|
|
1001
|
-
var e2 =
|
|
999
|
+
}), D1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1000
|
+
if (!a3[Q + D1]) {
|
|
1001
|
+
var e2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1002
1002
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1003
1003
|
let props = %s;
|
|
1004
1004
|
<%s {...props} />
|
|
1005
1005
|
React keys must be passed directly to JSX without using spread:
|
|
1006
1006
|
let props = %s;
|
|
1007
|
-
<%s key={someKey} {...props} />`,
|
|
1007
|
+
<%s key={someKey} {...props} />`, D1, Q, e2, Q), a3[Q + D1] = !0;
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
return n === c ? z3(P) : Y3(P), P;
|
|
@@ -1028,7 +1028,7 @@ var s = I8();
|
|
|
1028
1028
|
const R8 = "_mwfit_ppa3l_1", y8 = {
|
|
1029
1029
|
mwfit: R8
|
|
1030
1030
|
}, E8 = () => {
|
|
1031
|
-
const { reconnect: e } = b(), t = j3(), o = d8(), c =
|
|
1031
|
+
const { reconnect: e } = b(), t = j3(), o = d8(), c = h8();
|
|
1032
1032
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
|
|
1033
1033
|
"div",
|
|
1034
1034
|
{
|
|
@@ -1041,15 +1041,15 @@ const R8 = "_mwfit_ppa3l_1", y8 = {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
) });
|
|
1043
1043
|
};
|
|
1044
|
-
class
|
|
1044
|
+
class T8 {
|
|
1045
1045
|
constructor() {
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1046
|
+
G(this, "uuid", "current-uuid");
|
|
1047
|
+
G(this, "roomKey", "current-room-key");
|
|
1048
|
+
G(this, "code", "current-code");
|
|
1049
|
+
G(this, "expiry", "current-uuid-expires");
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
|
-
const w3 = new
|
|
1052
|
+
const w3 = new T8(), I3 = d2({
|
|
1053
1053
|
sendMessage: () => null,
|
|
1054
1054
|
sendSimpleMessage: () => null,
|
|
1055
1055
|
addEventHandler: () => null,
|
|
@@ -1062,17 +1062,23 @@ function _8(e) {
|
|
|
1062
1062
|
function P8(e, t) {
|
|
1063
1063
|
sessionStorage.setItem(e, t);
|
|
1064
1064
|
}
|
|
1065
|
-
const
|
|
1066
|
-
const [t, o] = H(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), f = o8(), x = n8(),
|
|
1065
|
+
const L8 = ({ children: e }) => {
|
|
1066
|
+
const [t, o] = H(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), f = o8(), x = n8(), h = c8(), R = v1(null), [D, F] = H(), k = v1({}), X = a1(
|
|
1067
1067
|
async (y) => {
|
|
1068
1068
|
try {
|
|
1069
|
-
const C = await
|
|
1070
|
-
|
|
1069
|
+
const C = await V1.get(
|
|
1070
|
+
`${y}/ui/joinroom?token=${t}`
|
|
1071
|
+
);
|
|
1072
|
+
return C.status === 200 && C.data ? (m.dispatch(W.setRoomData(C.data)), !0) : !1;
|
|
1071
1073
|
} catch (C) {
|
|
1072
|
-
return console.log(C),
|
|
1074
|
+
return console.log(C), h ? !0 : C instanceof c2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
|
|
1075
|
+
q.setErrorMessage(
|
|
1076
|
+
`Token ${t} is invalid. Unable to join room`
|
|
1077
|
+
)
|
|
1078
|
+
), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(q.setErrorMessage(C.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
|
|
1073
1079
|
}
|
|
1074
1080
|
},
|
|
1075
|
-
[t,
|
|
1081
|
+
[t, h]
|
|
1076
1082
|
), r1 = a1(() => {
|
|
1077
1083
|
const y = `${a.gatewayAppPath}?uuid=${f}&roomKey=${r}`;
|
|
1078
1084
|
window.location.href = x ? `${y}&Code=${x}` : y;
|
|
@@ -1085,43 +1091,64 @@ const T8 = ({ children: e }) => {
|
|
|
1085
1091
|
$(y, { value: C });
|
|
1086
1092
|
}, S1 = a1(
|
|
1087
1093
|
(y, C, f1) => {
|
|
1088
|
-
|
|
1094
|
+
k.current[y] || (k.current[y] = {}), k.current[y][C] = f1, console.log("event handler added", y, C);
|
|
1089
1095
|
},
|
|
1090
1096
|
[]
|
|
1091
1097
|
), b1 = a1((y, C) => {
|
|
1092
|
-
|
|
1098
|
+
k.current[y] && (delete k.current[y][C], console.log("event handler removed", y, C));
|
|
1093
1099
|
}, []);
|
|
1094
1100
|
return n1(() => {
|
|
1095
1101
|
let C = new URLSearchParams(window.location.search).get("token");
|
|
1096
1102
|
C ? (console.log("saving token: ", C), P8(w3.uuid, C)) : (C = _8(w3.uuid), console.log("loading token: ", C)), o(C), d();
|
|
1097
|
-
}, []), console.log(
|
|
1103
|
+
}, []), console.log(
|
|
1104
|
+
"connection dependencies",
|
|
1105
|
+
a.apiPath,
|
|
1106
|
+
X,
|
|
1107
|
+
t,
|
|
1108
|
+
D,
|
|
1109
|
+
h
|
|
1110
|
+
), n1(() => {
|
|
1098
1111
|
async function y() {
|
|
1099
|
-
if (console.log("Attempting to join websocket..."), !a.apiPath ||
|
|
1112
|
+
if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await X(a.apiPath)) return;
|
|
1100
1113
|
if (R.current) {
|
|
1101
1114
|
console.log("websocket exists");
|
|
1102
1115
|
return;
|
|
1103
1116
|
}
|
|
1104
1117
|
console.log("connecting to websocket");
|
|
1105
|
-
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`,
|
|
1106
|
-
R.current =
|
|
1107
|
-
console.log("connected",
|
|
1108
|
-
},
|
|
1109
|
-
console.error("Websocket error",
|
|
1110
|
-
},
|
|
1111
|
-
if (console.log("disconnected: ",
|
|
1112
|
-
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(
|
|
1118
|
+
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, Y = new WebSocket(I1);
|
|
1119
|
+
R.current = Y, Y.onopen = (B) => {
|
|
1120
|
+
console.log("connected", B.type, B.target), m.dispatch(W.setWebsocketIsConnected(!0));
|
|
1121
|
+
}, Y.onerror = (B) => {
|
|
1122
|
+
console.error("Websocket error", B);
|
|
1123
|
+
}, Y.onclose = (B) => {
|
|
1124
|
+
if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
|
|
1125
|
+
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1113
1126
|
return;
|
|
1114
1127
|
}
|
|
1115
|
-
if (F(!0),
|
|
1116
|
-
console.log("user code changed"), m.dispatch(
|
|
1128
|
+
if (F(!0), B.code === 4e3) {
|
|
1129
|
+
console.log("user code changed"), m.dispatch(
|
|
1130
|
+
W.setUserCode({ userCode: "", qrUrl: "" })
|
|
1131
|
+
), m.dispatch(
|
|
1132
|
+
q.setErrorMessage(
|
|
1133
|
+
"User code changed. Click reconnect to enter the new code"
|
|
1134
|
+
)
|
|
1135
|
+
), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1117
1136
|
return;
|
|
1118
1137
|
}
|
|
1119
|
-
if (
|
|
1120
|
-
console.log("processor disconnected"), m.dispatch(
|
|
1138
|
+
if (B.code === 4001 && !h) {
|
|
1139
|
+
console.log("processor disconnected"), m.dispatch(
|
|
1140
|
+
q.setErrorMessage(
|
|
1141
|
+
"Processor has disconnected. Click Reconnect"
|
|
1142
|
+
)
|
|
1143
|
+
), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1121
1144
|
return;
|
|
1122
1145
|
}
|
|
1123
|
-
if (
|
|
1124
|
-
console.log("room combination changed"), m.dispatch(
|
|
1146
|
+
if (B.code === 4002) {
|
|
1147
|
+
console.log("room combination changed"), m.dispatch(
|
|
1148
|
+
q.setErrorMessage(
|
|
1149
|
+
"Room combination changed. Click Reconnect to re-join the room"
|
|
1150
|
+
)
|
|
1151
|
+
), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1125
1152
|
return;
|
|
1126
1153
|
}
|
|
1127
1154
|
if (R.current)
|
|
@@ -1130,26 +1157,26 @@ const T8 = ({ children: e }) => {
|
|
|
1130
1157
|
console.log("WebSocket closed by client.");
|
|
1131
1158
|
return;
|
|
1132
1159
|
}
|
|
1133
|
-
console.log("websocket waitingToReconnect",
|
|
1134
|
-
},
|
|
1160
|
+
console.log("websocket waitingToReconnect", D), !D && (console.log("websocket clearing state on disconnect"), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms()), setTimeout(() => F(void 0), 5e3));
|
|
1161
|
+
}, Y.onmessage = (B) => {
|
|
1135
1162
|
try {
|
|
1136
|
-
const E = JSON.parse(
|
|
1163
|
+
const E = JSON.parse(B.data);
|
|
1137
1164
|
if (console.log(E), E.type === "close") {
|
|
1138
|
-
|
|
1165
|
+
Y.close(4001, E.content);
|
|
1139
1166
|
return;
|
|
1140
1167
|
}
|
|
1141
1168
|
if (E.type.startsWith("/system/"))
|
|
1142
1169
|
switch (E.type) {
|
|
1143
1170
|
case "/system/touchpanelKey":
|
|
1144
1171
|
m.dispatch(
|
|
1145
|
-
|
|
1172
|
+
W.setTouchpanelKey(
|
|
1146
1173
|
E.content
|
|
1147
1174
|
)
|
|
1148
1175
|
);
|
|
1149
1176
|
break;
|
|
1150
1177
|
case "/system/roomKey": {
|
|
1151
1178
|
m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), m.dispatch(
|
|
1152
|
-
|
|
1179
|
+
W.setCurrentRoomKey(
|
|
1153
1180
|
E.content
|
|
1154
1181
|
)
|
|
1155
1182
|
);
|
|
@@ -1157,9 +1184,7 @@ const T8 = ({ children: e }) => {
|
|
|
1157
1184
|
}
|
|
1158
1185
|
case "/system/userCodeChanged":
|
|
1159
1186
|
m.dispatch(
|
|
1160
|
-
|
|
1161
|
-
E.content
|
|
1162
|
-
)
|
|
1187
|
+
W.setUserCode(E.content)
|
|
1163
1188
|
);
|
|
1164
1189
|
break;
|
|
1165
1190
|
case "/system/roomCombinationChanged":
|
|
@@ -1171,12 +1196,12 @@ const T8 = ({ children: e }) => {
|
|
|
1171
1196
|
}
|
|
1172
1197
|
else if (E.type.startsWith("/event/")) {
|
|
1173
1198
|
console.log("event message received", E);
|
|
1174
|
-
const t1 =
|
|
1199
|
+
const t1 = k.current[E.type];
|
|
1175
1200
|
t1 || console.log("no handlers found for event type", E.type), t1 && Object.values(t1).forEach((K) => {
|
|
1176
1201
|
try {
|
|
1177
1202
|
K(E);
|
|
1178
|
-
} catch (
|
|
1179
|
-
console.error(
|
|
1203
|
+
} catch (z) {
|
|
1204
|
+
console.error(z);
|
|
1180
1205
|
}
|
|
1181
1206
|
});
|
|
1182
1207
|
} else E.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(E)) : E.type.startsWith("/device/") && m.dispatch(N.setDeviceState(E));
|
|
@@ -1188,7 +1213,13 @@ const T8 = ({ children: e }) => {
|
|
|
1188
1213
|
return y(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
|
|
1189
1214
|
R.current && (console.log("closing websocket dev mode"), R.current.close(4100, "app running in dev mode"), R.current = null);
|
|
1190
1215
|
};
|
|
1191
|
-
}, [
|
|
1216
|
+
}, [
|
|
1217
|
+
a.apiPath,
|
|
1218
|
+
X,
|
|
1219
|
+
t,
|
|
1220
|
+
D,
|
|
1221
|
+
h
|
|
1222
|
+
]), n1(() => {
|
|
1192
1223
|
!r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
|
|
1193
1224
|
}, [r, i, c, $]), /* @__PURE__ */ s.jsx(
|
|
1194
1225
|
I3.Provider,
|
|
@@ -1203,17 +1234,17 @@ const T8 = ({ children: e }) => {
|
|
|
1203
1234
|
children: c ? e : /* @__PURE__ */ s.jsx(E8, {})
|
|
1204
1235
|
}
|
|
1205
1236
|
);
|
|
1206
|
-
},
|
|
1237
|
+
}, we = ({ children: e }) => /* @__PURE__ */ s.jsx(i2, { store: m, children: /* @__PURE__ */ s.jsx(L8, { children: e }) });
|
|
1207
1238
|
function b() {
|
|
1208
|
-
return
|
|
1239
|
+
return h2(I3);
|
|
1209
1240
|
}
|
|
1210
|
-
function
|
|
1241
|
+
function D8({
|
|
1211
1242
|
onPress: e,
|
|
1212
1243
|
onRelease: t,
|
|
1213
1244
|
onHold: o,
|
|
1214
1245
|
holdTimeMs: c = 500
|
|
1215
1246
|
}) {
|
|
1216
|
-
const r =
|
|
1247
|
+
const r = v1(null), i = v1(!1);
|
|
1217
1248
|
function d() {
|
|
1218
1249
|
i.current = !0, e == null || e(), r.current = setTimeout(() => {
|
|
1219
1250
|
o == null || o(), r.current = null;
|
|
@@ -1232,7 +1263,7 @@ function L8({
|
|
|
1232
1263
|
};
|
|
1233
1264
|
}
|
|
1234
1265
|
function g(e, t) {
|
|
1235
|
-
const { sendMessage: c } = b(), r =
|
|
1266
|
+
const { sendMessage: c } = b(), r = v1(null);
|
|
1236
1267
|
function i() {
|
|
1237
1268
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1238
1269
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1241,7 +1272,7 @@ function g(e, t) {
|
|
|
1241
1272
|
function d() {
|
|
1242
1273
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1243
1274
|
}
|
|
1244
|
-
return
|
|
1275
|
+
return D8({ onPress: i, onRelease: d });
|
|
1245
1276
|
}
|
|
1246
1277
|
function R3(e, t) {
|
|
1247
1278
|
const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
|
|
@@ -1249,19 +1280,19 @@ function R3(e, t) {
|
|
|
1249
1280
|
volumeState: t,
|
|
1250
1281
|
volumeUp: r,
|
|
1251
1282
|
volumeDown: i,
|
|
1252
|
-
setLevel: (
|
|
1283
|
+
setLevel: (h) => c(`${e}/level`, h),
|
|
1253
1284
|
muteToggle: () => o(`${e}/muteToggle`, null),
|
|
1254
1285
|
muteOn: () => o(`${e}/muteOn`, null),
|
|
1255
1286
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
1256
1287
|
} : void 0;
|
|
1257
1288
|
}
|
|
1258
|
-
function
|
|
1289
|
+
function pe(e, t) {
|
|
1259
1290
|
const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
|
|
1260
1291
|
return t ? {
|
|
1261
1292
|
volumeState: t,
|
|
1262
1293
|
volumeUp: r,
|
|
1263
1294
|
volumeDown: i,
|
|
1264
|
-
setLevel: (
|
|
1295
|
+
setLevel: (h) => c(`${e}/level`, h),
|
|
1265
1296
|
muteToggle: () => o(`${e}/muteToggle`, null),
|
|
1266
1297
|
muteOn: () => o(`${e}/muteOn`, null),
|
|
1267
1298
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
@@ -1281,7 +1312,7 @@ function y3(e) {
|
|
|
1281
1312
|
t(`/device/${e}/powerToggle`, null);
|
|
1282
1313
|
} };
|
|
1283
1314
|
}
|
|
1284
|
-
function
|
|
1315
|
+
function k1(e) {
|
|
1285
1316
|
const { sendMessage: t } = b(), o = _(e);
|
|
1286
1317
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1287
1318
|
t(`/device/${e}/${r}`, null);
|
|
@@ -1298,8 +1329,8 @@ function A8(e) {
|
|
|
1298
1329
|
};
|
|
1299
1330
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1300
1331
|
}
|
|
1301
|
-
function
|
|
1302
|
-
const t = _(e), o = y3(e), c =
|
|
1332
|
+
function xe(e) {
|
|
1333
|
+
const t = _(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
|
|
1303
1334
|
if (t)
|
|
1304
1335
|
return {
|
|
1305
1336
|
avrState: t,
|
|
@@ -1310,7 +1341,7 @@ function pe(e) {
|
|
|
1310
1341
|
mainVolumeControl: i
|
|
1311
1342
|
};
|
|
1312
1343
|
}
|
|
1313
|
-
const
|
|
1344
|
+
const Me = ({ className: e }) => {
|
|
1314
1345
|
const [t, o] = H();
|
|
1315
1346
|
return n1(() => {
|
|
1316
1347
|
setInterval(() => {
|
|
@@ -1322,7 +1353,7 @@ const xe = ({ className: e }) => {
|
|
|
1322
1353
|
" new change"
|
|
1323
1354
|
] });
|
|
1324
1355
|
};
|
|
1325
|
-
function
|
|
1356
|
+
function me(e) {
|
|
1326
1357
|
const { sendMessage: t } = b(), o = _(e), c = `/device/${e}`;
|
|
1327
1358
|
return o ? { state: o, recallPreset: (d, a) => {
|
|
1328
1359
|
t(`${c}/presets/recall`, { deviceKey: d, preset: a });
|
|
@@ -1330,46 +1361,46 @@ function Me(e) {
|
|
|
1330
1361
|
t(`${c}/presets/save`, d);
|
|
1331
1362
|
} } : void 0;
|
|
1332
1363
|
}
|
|
1333
|
-
function
|
|
1364
|
+
function Ze(e) {
|
|
1334
1365
|
const t = _(e);
|
|
1335
1366
|
if (t)
|
|
1336
1367
|
return { endpointState: t };
|
|
1337
1368
|
}
|
|
1338
|
-
function
|
|
1369
|
+
function je(e) {
|
|
1339
1370
|
const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown"), r = g(t, "lastChan"), i = g(t, "guide"), d = g(t, "info"), a = g(t, "exit");
|
|
1340
1371
|
return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
|
|
1341
1372
|
}
|
|
1342
|
-
function
|
|
1373
|
+
function Ce(e) {
|
|
1343
1374
|
const t = `/device/${e}`, o = g(t, "red"), c = g(t, "green"), r = g(t, "yellow"), i = g(t, "blue");
|
|
1344
1375
|
return { red: o, green: c, yellow: r, blue: i };
|
|
1345
1376
|
}
|
|
1346
|
-
function
|
|
1377
|
+
function Se(e) {
|
|
1347
1378
|
const t = _(e);
|
|
1348
1379
|
if (t)
|
|
1349
1380
|
return {
|
|
1350
1381
|
communicationMonitorState: t
|
|
1351
1382
|
};
|
|
1352
1383
|
}
|
|
1353
|
-
function
|
|
1384
|
+
function be(e) {
|
|
1354
1385
|
const t = _(e);
|
|
1355
1386
|
if (t)
|
|
1356
1387
|
return t.deviceInfo || void 0;
|
|
1357
1388
|
}
|
|
1358
|
-
function
|
|
1389
|
+
function Ie(e) {
|
|
1359
1390
|
const t = `/device/${e}`, o = g(t, "up"), c = g(t, "down"), r = g(t, "left"), i = g(t, "right"), d = g(t, "select"), a = g(t, "menu"), f = g(t, "exit");
|
|
1360
1391
|
return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: f };
|
|
1361
1392
|
}
|
|
1362
|
-
function
|
|
1393
|
+
function Re(e) {
|
|
1363
1394
|
const { sendMessage: t } = b();
|
|
1364
1395
|
return { recallPreset: (c) => {
|
|
1365
1396
|
t(`/device/${e}/recallPreset`, c);
|
|
1366
1397
|
} };
|
|
1367
1398
|
}
|
|
1368
|
-
function
|
|
1399
|
+
function ye(e) {
|
|
1369
1400
|
const t = `/device/${e}`, o = g(t, "dvrList"), c = g(t, "record");
|
|
1370
1401
|
return { dvrList: o, record: c };
|
|
1371
1402
|
}
|
|
1372
|
-
function
|
|
1403
|
+
function Ee(e) {
|
|
1373
1404
|
const { sendMessage: t } = b(), o = _(e);
|
|
1374
1405
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1375
1406
|
t(`/device/${e}/setAutoMode`, null);
|
|
@@ -1383,41 +1414,41 @@ function ye(e) {
|
|
|
1383
1414
|
t(`/device/${e}/setRoomCombinationScenario`, f);
|
|
1384
1415
|
} } : void 0;
|
|
1385
1416
|
}
|
|
1386
|
-
function
|
|
1417
|
+
function Te(e) {
|
|
1387
1418
|
const t = _(e);
|
|
1388
1419
|
if (t)
|
|
1389
1420
|
return { state: t };
|
|
1390
1421
|
}
|
|
1391
|
-
function
|
|
1422
|
+
function _e(e) {
|
|
1392
1423
|
const { sendMessage: t, sendSimpleMessage: o } = b(), c = _(e), r = K2(e), i = c || r;
|
|
1393
1424
|
return i ? {
|
|
1394
1425
|
levelState: i,
|
|
1395
|
-
setLevel: (
|
|
1396
|
-
muteToggle: (
|
|
1397
|
-
muteOn: (
|
|
1398
|
-
muteOff: (
|
|
1426
|
+
setLevel: (h, R) => o(`${h}/level`, R),
|
|
1427
|
+
muteToggle: (h) => t(`${h}/muteToggle`, null),
|
|
1428
|
+
muteOn: (h) => t(`${h}/muteOn`, null),
|
|
1429
|
+
muteOff: (h) => t(`${h}/muteOff`, null)
|
|
1399
1430
|
} : void 0;
|
|
1400
1431
|
}
|
|
1401
|
-
function
|
|
1432
|
+
function Pe(e) {
|
|
1402
1433
|
const { sendMessage: t } = b(), o = _(e);
|
|
1403
1434
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1404
1435
|
t(`/device/${e}/selectScene`, r);
|
|
1405
1436
|
} } : void 0;
|
|
1406
1437
|
}
|
|
1407
|
-
function
|
|
1438
|
+
function Le(e) {
|
|
1408
1439
|
const { sendMessage: t } = b(), o = _(e);
|
|
1409
1440
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1410
1441
|
t(`/device/${e}/route`, r);
|
|
1411
1442
|
} } : void 0;
|
|
1412
1443
|
}
|
|
1413
|
-
function
|
|
1444
|
+
function De(e) {
|
|
1414
1445
|
const { sendMessage: t } = b();
|
|
1415
1446
|
return { closeApp: () => {
|
|
1416
1447
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1417
1448
|
} };
|
|
1418
1449
|
}
|
|
1419
|
-
function
|
|
1420
|
-
const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), d = g(t, "num4"), a = g(t, "num5"), f = g(t, "num6"), x = g(t, "num7"),
|
|
1450
|
+
function $e(e) {
|
|
1451
|
+
const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), d = g(t, "num4"), a = g(t, "num5"), f = g(t, "num6"), x = g(t, "num7"), h = g(t, "num8"), R = g(t, "num9"), D = g(t, "numDash"), F = g(t, "numEnter");
|
|
1421
1452
|
return {
|
|
1422
1453
|
digit0: o,
|
|
1423
1454
|
digit1: c,
|
|
@@ -1427,13 +1458,13 @@ function Le(e) {
|
|
|
1427
1458
|
digit5: a,
|
|
1428
1459
|
digit6: f,
|
|
1429
1460
|
digit7: x,
|
|
1430
|
-
digit8:
|
|
1461
|
+
digit8: h,
|
|
1431
1462
|
digit9: R,
|
|
1432
|
-
keypadAccessoryButton1:
|
|
1463
|
+
keypadAccessoryButton1: D,
|
|
1433
1464
|
keypadAccessoryButton2: F
|
|
1434
1465
|
};
|
|
1435
1466
|
}
|
|
1436
|
-
function
|
|
1467
|
+
function Ae(e) {
|
|
1437
1468
|
const { sendMessage: t } = b(), o = _(e);
|
|
1438
1469
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1439
1470
|
t(`/device/${e}/raise`, null);
|
|
@@ -1441,7 +1472,7 @@ function $e(e) {
|
|
|
1441
1472
|
t(`/device/${e}/lower`, null);
|
|
1442
1473
|
} } : void 0;
|
|
1443
1474
|
}
|
|
1444
|
-
function
|
|
1475
|
+
function Be(e) {
|
|
1445
1476
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1446
1477
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1447
1478
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
@@ -1453,7 +1484,7 @@ function Oe(e) {
|
|
|
1453
1484
|
t(`/room/${e}/defaultsource`, {});
|
|
1454
1485
|
} };
|
|
1455
1486
|
}
|
|
1456
|
-
function
|
|
1487
|
+
function Ve(e) {
|
|
1457
1488
|
const { sendMessage: t } = b();
|
|
1458
1489
|
return { runDirectRoute: (c) => {
|
|
1459
1490
|
t(`/room/${e}/directRoute`, c);
|
|
@@ -1465,7 +1496,7 @@ function ke(e) {
|
|
|
1465
1496
|
t(`/room/${e}/source`, r);
|
|
1466
1497
|
} };
|
|
1467
1498
|
}
|
|
1468
|
-
function
|
|
1499
|
+
function Ue(e) {
|
|
1469
1500
|
const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown");
|
|
1470
1501
|
return { dvrList: o, replay: c };
|
|
1471
1502
|
}
|
|
@@ -1479,7 +1510,7 @@ function We(e) {
|
|
|
1479
1510
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1480
1511
|
} } : void 0;
|
|
1481
1512
|
}
|
|
1482
|
-
function
|
|
1513
|
+
function Fe(e) {
|
|
1483
1514
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1484
1515
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (a) => {
|
|
1485
1516
|
t(`/room/${e}/setShutdownPromptSeconds`, a);
|
|
@@ -1491,7 +1522,7 @@ function Ue(e) {
|
|
|
1491
1522
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1492
1523
|
} } : void 0;
|
|
1493
1524
|
}
|
|
1494
|
-
function
|
|
1525
|
+
function He(e) {
|
|
1495
1526
|
const { sendMessage: t } = b(), o = _(e);
|
|
1496
1527
|
return o ? { switchedOutputState: o, on: () => {
|
|
1497
1528
|
t(`/device/${e}/on`, null);
|
|
@@ -1499,7 +1530,7 @@ function Fe(e) {
|
|
|
1499
1530
|
t(`/device/${e}/off`, null);
|
|
1500
1531
|
} } : void 0;
|
|
1501
1532
|
}
|
|
1502
|
-
function
|
|
1533
|
+
function Ke(e) {
|
|
1503
1534
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1504
1535
|
return o ? { techPasswordState: o, validatePassword: (i) => {
|
|
1505
1536
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
@@ -1507,11 +1538,11 @@ function He(e) {
|
|
|
1507
1538
|
t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
|
|
1508
1539
|
} } : void 0;
|
|
1509
1540
|
}
|
|
1510
|
-
function
|
|
1541
|
+
function Ge(e) {
|
|
1511
1542
|
const { sendMessage: t } = b(), o = _(e);
|
|
1512
1543
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1513
1544
|
}
|
|
1514
|
-
function
|
|
1545
|
+
function qe(e) {
|
|
1515
1546
|
const { sendMessage: t } = b(), o = _(e), c = (r) => {
|
|
1516
1547
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1517
1548
|
};
|
|
@@ -1520,7 +1551,7 @@ function Ge(e) {
|
|
|
1520
1551
|
saveTheme: c
|
|
1521
1552
|
};
|
|
1522
1553
|
}
|
|
1523
|
-
function
|
|
1554
|
+
function Ye(e) {
|
|
1524
1555
|
const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), d = g(t, "nextTrack"), a = g(t, "rewind"), f = g(t, "ffwd"), x = g(t, "record");
|
|
1525
1556
|
return {
|
|
1526
1557
|
play: o,
|
|
@@ -1533,7 +1564,7 @@ function qe(e) {
|
|
|
1533
1564
|
record: x
|
|
1534
1565
|
};
|
|
1535
1566
|
}
|
|
1536
|
-
function
|
|
1567
|
+
function ze(e) {
|
|
1537
1568
|
const t = _(e), { sendMessage: o } = b();
|
|
1538
1569
|
return t ? {
|
|
1539
1570
|
touchpanelState: t,
|
|
@@ -1549,8 +1580,8 @@ function Ye(e) {
|
|
|
1549
1580
|
} }
|
|
1550
1581
|
} : void 0;
|
|
1551
1582
|
}
|
|
1552
|
-
function
|
|
1553
|
-
const t = _(e), o = y3(e), c =
|
|
1583
|
+
function Je(e) {
|
|
1584
|
+
const t = _(e), o = y3(e), c = k1(e);
|
|
1554
1585
|
if (!t) return;
|
|
1555
1586
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1556
1587
|
return {
|
|
@@ -1560,7 +1591,7 @@ function ze(e) {
|
|
|
1560
1591
|
powerFb: { powerOnFb: r, powerOffFb: i }
|
|
1561
1592
|
};
|
|
1562
1593
|
}
|
|
1563
|
-
const
|
|
1594
|
+
const Xe = ({
|
|
1564
1595
|
config: e
|
|
1565
1596
|
}) => {
|
|
1566
1597
|
const { sendMessage: t } = b();
|
|
@@ -1593,7 +1624,7 @@ const Je = ({
|
|
|
1593
1624
|
});
|
|
1594
1625
|
}, [e, t]);
|
|
1595
1626
|
};
|
|
1596
|
-
function
|
|
1627
|
+
function Qe(e, t) {
|
|
1597
1628
|
const [o, c] = H(!1), [r, i] = H(!1);
|
|
1598
1629
|
return x3(() => {
|
|
1599
1630
|
const { current: d } = e, a = () => {
|
|
@@ -1603,27 +1634,27 @@ function Xe(e, t) {
|
|
|
1603
1634
|
d && a();
|
|
1604
1635
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1605
1636
|
}
|
|
1606
|
-
function
|
|
1637
|
+
function Ne(e, t) {
|
|
1607
1638
|
const o = H2(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1608
1639
|
return R3(c, o);
|
|
1609
1640
|
}
|
|
1610
|
-
function
|
|
1641
|
+
function e5(e) {
|
|
1611
1642
|
var a, f;
|
|
1612
1643
|
const [t, o] = H(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = H(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollTop) ?? 0), i = (x) => {
|
|
1613
|
-
const { current:
|
|
1614
|
-
|
|
1644
|
+
const { current: h } = e;
|
|
1645
|
+
h && (console.log(h.scrollLeft), h.scrollLeft += x, console.log(h.scrollLeft));
|
|
1615
1646
|
}, d = (x) => {
|
|
1616
|
-
const { current:
|
|
1617
|
-
|
|
1647
|
+
const { current: h } = e;
|
|
1648
|
+
h && (console.log(h.scrollTop), h.scrollTop += x, console.log(h.scrollTop));
|
|
1618
1649
|
};
|
|
1619
1650
|
return x3(() => {
|
|
1620
|
-
const { current: x } = e,
|
|
1651
|
+
const { current: x } = e, h = () => {
|
|
1621
1652
|
o((x == null ? void 0 : x.scrollLeft) ?? 0), r((x == null ? void 0 : x.scrollTop) ?? 0);
|
|
1622
1653
|
};
|
|
1623
|
-
x &&
|
|
1654
|
+
x && h();
|
|
1624
1655
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
|
|
1625
1656
|
}
|
|
1626
|
-
function
|
|
1657
|
+
function t5() {
|
|
1627
1658
|
const { sendMessage: e } = b();
|
|
1628
1659
|
return {
|
|
1629
1660
|
reboot: () => {
|
|
@@ -1634,7 +1665,7 @@ function e5() {
|
|
|
1634
1665
|
}
|
|
1635
1666
|
};
|
|
1636
1667
|
}
|
|
1637
|
-
function
|
|
1668
|
+
function s5() {
|
|
1638
1669
|
const [e, t] = H(), [o, c] = H();
|
|
1639
1670
|
function r() {
|
|
1640
1671
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
@@ -1649,8 +1680,8 @@ function t5() {
|
|
|
1649
1680
|
return () => clearInterval(i);
|
|
1650
1681
|
}, []), { date: e, time: o };
|
|
1651
1682
|
}
|
|
1652
|
-
const
|
|
1653
|
-
const [e, t] = H(!1), o =
|
|
1683
|
+
const o5 = () => {
|
|
1684
|
+
const [e, t] = H(!1), o = v2(), c = g2();
|
|
1654
1685
|
let r;
|
|
1655
1686
|
return f2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
1656
1687
|
/* @__PURE__ */ s.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ s.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
|
|
@@ -1658,11 +1689,11 @@ const s5 = () => {
|
|
|
1658
1689
|
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
|
|
1659
1690
|
e && /* @__PURE__ */ s.jsx("p", { children: r })
|
|
1660
1691
|
] });
|
|
1661
|
-
},
|
|
1662
|
-
iconbtn:
|
|
1663
|
-
iconbtnvert:
|
|
1664
|
-
iconsm:
|
|
1665
|
-
},
|
|
1692
|
+
}, B8 = "_iconbtn_16qss_1", O8 = "_iconbtnvert_16qss_7", V8 = "_iconsm_16qss_18", $1 = {
|
|
1693
|
+
iconbtn: B8,
|
|
1694
|
+
iconbtnvert: O8,
|
|
1695
|
+
iconsm: V8
|
|
1696
|
+
}, k8 = ({
|
|
1666
1697
|
multiIcon: e,
|
|
1667
1698
|
otherContent: t = null,
|
|
1668
1699
|
vert: o = !1,
|
|
@@ -1673,26 +1704,26 @@ const s5 = () => {
|
|
|
1673
1704
|
feedback: a,
|
|
1674
1705
|
feedbackClassName: f,
|
|
1675
1706
|
onPointerDown: x,
|
|
1676
|
-
onPointerUp:
|
|
1707
|
+
onPointerUp: h,
|
|
1677
1708
|
onPointerLeave: R,
|
|
1678
|
-
...
|
|
1709
|
+
...D
|
|
1679
1710
|
}) => {
|
|
1680
|
-
const [F,
|
|
1711
|
+
const [F, k] = H(!1), X = !d && a ? f : "", r1 = !d && (F || a);
|
|
1681
1712
|
return /* @__PURE__ */ s.jsxs(
|
|
1682
1713
|
"button",
|
|
1683
1714
|
{
|
|
1684
1715
|
type: "button",
|
|
1685
1716
|
className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${X}`,
|
|
1686
|
-
...
|
|
1717
|
+
...D,
|
|
1687
1718
|
disabled: d,
|
|
1688
1719
|
onPointerDown: ($) => {
|
|
1689
|
-
|
|
1720
|
+
k(!0), x == null || x($);
|
|
1690
1721
|
},
|
|
1691
1722
|
onPointerUp: ($) => {
|
|
1692
|
-
|
|
1723
|
+
k(!1), h == null || h($);
|
|
1693
1724
|
},
|
|
1694
1725
|
onPointerLeave: ($) => {
|
|
1695
|
-
|
|
1726
|
+
k(!1), R == null || R($);
|
|
1696
1727
|
},
|
|
1697
1728
|
children: [
|
|
1698
1729
|
e && /* @__PURE__ */ s.jsx(
|
|
@@ -1713,7 +1744,7 @@ const s5 = () => {
|
|
|
1713
1744
|
EnabledImage: o,
|
|
1714
1745
|
active: c,
|
|
1715
1746
|
disabled: r
|
|
1716
|
-
}) => r ? t : c ? e : o,
|
|
1747
|
+
}) => r ? t : c ? e : o, U8 = ({
|
|
1717
1748
|
active: e,
|
|
1718
1749
|
className: t = "",
|
|
1719
1750
|
disabled: o
|
|
@@ -1765,7 +1796,7 @@ const s5 = () => {
|
|
|
1765
1796
|
active: e,
|
|
1766
1797
|
disabled: o
|
|
1767
1798
|
}
|
|
1768
|
-
),
|
|
1799
|
+
), W8 = ({
|
|
1769
1800
|
active: e,
|
|
1770
1801
|
className: t = "",
|
|
1771
1802
|
disabled: o
|
|
@@ -2913,7 +2944,7 @@ const s5 = () => {
|
|
|
2913
2944
|
active: e,
|
|
2914
2945
|
disabled: o
|
|
2915
2946
|
}
|
|
2916
|
-
),
|
|
2947
|
+
), n5 = ({
|
|
2917
2948
|
active: e,
|
|
2918
2949
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2919
2950
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -2977,7 +3008,7 @@ const s5 = () => {
|
|
|
2977
3008
|
active: e,
|
|
2978
3009
|
disabled: o
|
|
2979
3010
|
}
|
|
2980
|
-
),
|
|
3011
|
+
), h6 = ({
|
|
2981
3012
|
active: e,
|
|
2982
3013
|
className: t = "",
|
|
2983
3014
|
disabled: o
|
|
@@ -3026,7 +3057,7 @@ const s5 = () => {
|
|
|
3026
3057
|
active: e,
|
|
3027
3058
|
disabled: o
|
|
3028
3059
|
}
|
|
3029
|
-
),
|
|
3060
|
+
), v6 = ({
|
|
3030
3061
|
active: e,
|
|
3031
3062
|
className: t = "",
|
|
3032
3063
|
disabled: o
|
|
@@ -3321,10 +3352,10 @@ const s5 = () => {
|
|
|
3321
3352
|
disabled: o
|
|
3322
3353
|
}
|
|
3323
3354
|
), M6 = {
|
|
3324
|
-
Alert:
|
|
3355
|
+
Alert: U8,
|
|
3325
3356
|
Camera: F8,
|
|
3326
3357
|
DownArrow: G8,
|
|
3327
|
-
Ban:
|
|
3358
|
+
Ban: W8,
|
|
3328
3359
|
Check: H8,
|
|
3329
3360
|
Controller: K8,
|
|
3330
3361
|
Elipses: q8,
|
|
@@ -3347,61 +3378,74 @@ const s5 = () => {
|
|
|
3347
3378
|
Shade: a6,
|
|
3348
3379
|
Sun: u6,
|
|
3349
3380
|
UpArrow: d6,
|
|
3350
|
-
VolDown:
|
|
3351
|
-
VolMute:
|
|
3381
|
+
VolDown: h6,
|
|
3382
|
+
VolMute: v6,
|
|
3352
3383
|
VolUp: g6,
|
|
3353
3384
|
Wireless: f6,
|
|
3354
3385
|
X: w6,
|
|
3355
3386
|
Xbox: p6
|
|
3356
3387
|
};
|
|
3357
|
-
function
|
|
3388
|
+
function c5({
|
|
3358
3389
|
name: e,
|
|
3359
3390
|
iconsDictionary: t = M6,
|
|
3360
3391
|
...o
|
|
3361
3392
|
}) {
|
|
3362
3393
|
const c = t[e] ?? null;
|
|
3363
|
-
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(
|
|
3394
|
+
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(k8, { multiIcon: c, ...o });
|
|
3364
3395
|
}
|
|
3365
|
-
const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C6 = "_footer_1cmpp_23", S6 = "_volume_1cmpp_29",
|
|
3396
|
+
const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C6 = "_footer_1cmpp_23", S6 = "_volume_1cmpp_29", h1 = {
|
|
3366
3397
|
grid: m6,
|
|
3367
3398
|
header: Z6,
|
|
3368
3399
|
content: j6,
|
|
3369
3400
|
footer: C6,
|
|
3370
3401
|
volume: S6
|
|
3371
|
-
},
|
|
3372
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3373
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3374
|
-
r && /* @__PURE__ */ s.jsx("div", { className:
|
|
3375
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3402
|
+
}, r5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
|
|
3403
|
+
/* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
|
|
3404
|
+
/* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
|
|
3405
|
+
r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
|
|
3406
|
+
/* @__PURE__ */ s.jsx("div", { className: h1.footer, children: t })
|
|
3376
3407
|
] }), b6 = "_grid_11w5q_1", I6 = "_header_11w5q_11", R6 = "_content_11w5q_17", Z1 = {
|
|
3377
3408
|
grid: b6,
|
|
3378
3409
|
header: I6,
|
|
3379
3410
|
content: R6
|
|
3380
|
-
},
|
|
3411
|
+
}, l5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
|
|
3381
3412
|
/* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
|
|
3382
3413
|
c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
|
|
3383
3414
|
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
|
|
3384
|
-
] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11",
|
|
3415
|
+
] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11", T6 = "_content_1uwfo_17", A1 = {
|
|
3385
3416
|
grid: y6,
|
|
3386
3417
|
header: E6,
|
|
3387
|
-
content:
|
|
3388
|
-
},
|
|
3418
|
+
content: T6
|
|
3419
|
+
}, i5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3389
3420
|
/* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
|
|
3390
3421
|
/* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
|
|
3391
3422
|
] });
|
|
3392
|
-
class
|
|
3423
|
+
class a5 {
|
|
3393
3424
|
constructor() {
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3425
|
+
G(this, "currentShareText");
|
|
3426
|
+
G(this, "enabled");
|
|
3427
|
+
G(this, "isSharing");
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
function u5() {
|
|
3431
|
+
return console.log(location.pathname), location.pathname;
|
|
3432
|
+
}
|
|
3433
|
+
var _6 = /* @__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))(_6 || {});
|
|
3434
|
+
class d5 {
|
|
3435
|
+
constructor(t, o) {
|
|
3436
|
+
G(this, "path");
|
|
3437
|
+
G(this, "handler");
|
|
3438
|
+
this.path = t, this.handler = o;
|
|
3397
3439
|
}
|
|
3398
3440
|
}
|
|
3441
|
+
const h5 = "$off";
|
|
3399
3442
|
export {
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
U8 as
|
|
3443
|
+
Me as Clock,
|
|
3444
|
+
_6 as DaysOfWeek,
|
|
3445
|
+
o5 as ErrorBox,
|
|
3446
|
+
k8 as IconButton,
|
|
3447
|
+
U8 as IconMultiAlert,
|
|
3448
|
+
W8 as IconMultiBan,
|
|
3405
3449
|
F8 as IconMultiCamera,
|
|
3406
3450
|
H8 as IconMultiCheck,
|
|
3407
3451
|
K8 as IconMultiController,
|
|
@@ -3425,27 +3469,31 @@ export {
|
|
|
3425
3469
|
i6 as IconMultiRoomPC,
|
|
3426
3470
|
a6 as IconMultiShade,
|
|
3427
3471
|
u6 as IconMultiSun,
|
|
3428
|
-
|
|
3472
|
+
n5 as IconMultiTemplate,
|
|
3429
3473
|
d6 as IconMultiUpArrow,
|
|
3430
|
-
|
|
3431
|
-
|
|
3474
|
+
h6 as IconMultiVolDown,
|
|
3475
|
+
v6 as IconMultiVolMute,
|
|
3432
3476
|
g6 as IconMultiVolUp,
|
|
3433
3477
|
f6 as IconMultiWireless,
|
|
3434
3478
|
w6 as IconMultiX,
|
|
3435
3479
|
p6 as IconMultiXbox,
|
|
3436
|
-
|
|
3437
|
-
|
|
3480
|
+
r5 as MainLayout,
|
|
3481
|
+
d5 as MessageHandler,
|
|
3482
|
+
we as MobileControlProvider,
|
|
3438
3483
|
j as MultiStateIconContainer,
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3484
|
+
c5 as NamedIconButton,
|
|
3485
|
+
a5 as ShareState,
|
|
3486
|
+
l5 as TechLayout,
|
|
3487
|
+
i5 as TechPinLayout,
|
|
3488
|
+
I3 as WebsocketContext,
|
|
3443
3489
|
w8 as appConfigActions,
|
|
3444
3490
|
N as devicesActions,
|
|
3445
|
-
|
|
3491
|
+
u5 as getBaseLocation,
|
|
3492
|
+
V1 as httpClient,
|
|
3446
3493
|
M6 as iconsDictionary,
|
|
3494
|
+
h5 as roomOffSourceKey,
|
|
3447
3495
|
e1 as roomsActions,
|
|
3448
|
-
|
|
3496
|
+
W as runtimeConfigActions,
|
|
3449
3497
|
Z3 as selectAllDevices,
|
|
3450
3498
|
x2 as selectApiPath,
|
|
3451
3499
|
p2 as selectAppConfig,
|
|
@@ -3455,26 +3503,26 @@ export {
|
|
|
3455
3503
|
i8 as selectError,
|
|
3456
3504
|
e8 as selectIsTouchpanel,
|
|
3457
3505
|
M2 as selectLogoPath,
|
|
3458
|
-
|
|
3506
|
+
U1 as selectModalVisibility,
|
|
3459
3507
|
m2 as selectPartnerMetadata,
|
|
3460
|
-
|
|
3461
|
-
|
|
3508
|
+
k2 as selectRoomAdvancedSharingActive,
|
|
3509
|
+
T2 as selectRoomAudioControlPointList,
|
|
3462
3510
|
b2 as selectRoomByKey,
|
|
3463
3511
|
$2 as selectRoomCodecContentDestinationKey,
|
|
3464
3512
|
C2 as selectRoomConfiguration,
|
|
3465
3513
|
P2 as selectRoomDestinationList,
|
|
3466
3514
|
_2 as selectRoomDestinations,
|
|
3467
3515
|
F2 as selectRoomDisplayStates,
|
|
3468
|
-
|
|
3516
|
+
L2 as selectRoomEnvironmentalDevices,
|
|
3469
3517
|
A2 as selectRoomInCall,
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3518
|
+
O2 as selectRoomIsCoolingDown,
|
|
3519
|
+
V2 as selectRoomIsOn,
|
|
3520
|
+
B2 as selectRoomIsWarmingUp,
|
|
3473
3521
|
q2 as selectRoomKey,
|
|
3474
3522
|
y2 as selectRoomLevelControls,
|
|
3475
3523
|
I2 as selectRoomName,
|
|
3476
|
-
|
|
3477
|
-
|
|
3524
|
+
D2 as selectRoomProgramAudioDestinationKey,
|
|
3525
|
+
U2 as selectRoomShareState,
|
|
3478
3526
|
E2 as selectRoomSourceList,
|
|
3479
3527
|
R2 as selectRoomVolume,
|
|
3480
3528
|
S2 as selectRooms,
|
|
@@ -3487,101 +3535,101 @@ export {
|
|
|
3487
3535
|
N2 as selectTouchpanelKey,
|
|
3488
3536
|
J2 as selectUserCode,
|
|
3489
3537
|
G2 as selectWsIsConnected,
|
|
3490
|
-
|
|
3538
|
+
W2 as selectZoomRoomControllerKey,
|
|
3491
3539
|
m as store,
|
|
3492
|
-
|
|
3540
|
+
q as uiActions,
|
|
3493
3541
|
g8 as uiReducer,
|
|
3494
3542
|
O6 as useApiPath,
|
|
3495
3543
|
Z2 as useAppConfig,
|
|
3496
3544
|
w2 as useAppDispatch,
|
|
3497
3545
|
w as useAppSelector,
|
|
3498
|
-
|
|
3546
|
+
xe as useAvrControl,
|
|
3499
3547
|
g as useButtonHeldHeartbeat,
|
|
3500
3548
|
s8 as useClientId,
|
|
3501
3549
|
$8 as useDeviceIBasicVolumeWithFeedback,
|
|
3502
|
-
|
|
3503
|
-
|
|
3550
|
+
me as useDevicePresetsModel,
|
|
3551
|
+
Ze as useEndpoint,
|
|
3504
3552
|
d8 as useError,
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3553
|
+
Xe as useGetAllDeviceStateFromRoomConfiguration,
|
|
3554
|
+
U6 as useGetAllDevices,
|
|
3555
|
+
F6 as useGetAllRooms,
|
|
3508
3556
|
ve as useGetCurrentPopoverIdForGroup,
|
|
3509
3557
|
_ as useGetDevice,
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3558
|
+
pe as useGetIBasicVolumeWithFeedback,
|
|
3559
|
+
H6 as useGetRoom,
|
|
3560
|
+
ce as useGetRoomDisplayStates,
|
|
3561
|
+
re as useGetZoomRoomControllerKey,
|
|
3514
3562
|
R3 as useIBasicVolumeWithFeedback,
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3563
|
+
je as useIChannel,
|
|
3564
|
+
Ce as useIColor,
|
|
3565
|
+
Se as useICommunicationMonitor,
|
|
3566
|
+
Ie as useIDPad,
|
|
3567
|
+
be as useIDeviceInfoMessenger,
|
|
3568
|
+
Re as useIDspPresets,
|
|
3569
|
+
ye as useIDvr,
|
|
3570
|
+
Ee as useIEssentialsRoomCombiner,
|
|
3523
3571
|
y3 as useIHasPowerControl,
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3572
|
+
k1 as useIHasSelectableItems,
|
|
3573
|
+
Te as useIHumiditySensor,
|
|
3574
|
+
_e as useILevelControls,
|
|
3575
|
+
Pe as useILightingScenes,
|
|
3576
|
+
Le as useIMatrixRouting,
|
|
3577
|
+
De as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3578
|
+
$e as useINumeric,
|
|
3579
|
+
Ae as useIProjectorScreenLiftControl,
|
|
3580
|
+
Be as useIRoomEventSchedule,
|
|
3533
3581
|
Oe as useIRunDefaultPresentRoute,
|
|
3534
|
-
|
|
3582
|
+
Ve as useIRunDirectRouteAction,
|
|
3535
3583
|
ke as useIRunRouteAction,
|
|
3536
|
-
|
|
3584
|
+
Ue as useISetTopBoxControls,
|
|
3537
3585
|
We as useIShadesOpenCloseStop,
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3586
|
+
Fe as useIShutdownPromptTimer,
|
|
3587
|
+
He as useISwitchedOutput,
|
|
3588
|
+
Ke as useITechPassword,
|
|
3589
|
+
Ge as useITemperatureSensor,
|
|
3590
|
+
qe as useITheme,
|
|
3591
|
+
Ye as useITransport,
|
|
3544
3592
|
C8 as useInitialize,
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3593
|
+
ae as useIsTouchpanel,
|
|
3594
|
+
V6 as useLogoPath,
|
|
3595
|
+
ze as useMobileControlTouchpanelController,
|
|
3596
|
+
Qe as useOverflow,
|
|
3549
3597
|
k6 as usePartnerMetadata,
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3598
|
+
D8 as usePressHoldRelease,
|
|
3599
|
+
oe as useRoomAdvancedSharingActive,
|
|
3600
|
+
q6 as useRoomAudioControlPointList,
|
|
3601
|
+
Q6 as useRoomCodecContentDestinationKey,
|
|
3554
3602
|
W6 as useRoomConfiguration,
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3603
|
+
z6 as useRoomDestinationList,
|
|
3604
|
+
Y6 as useRoomDestinations,
|
|
3605
|
+
J6 as useRoomEnvironmentalDevices,
|
|
3606
|
+
Ne as useRoomIBasicVolumeWithFeedback,
|
|
3607
|
+
N6 as useRoomInCall,
|
|
3608
|
+
te as useRoomIsCoolingDown,
|
|
3609
|
+
se as useRoomIsOn,
|
|
3610
|
+
ee as useRoomIsWarmingUp,
|
|
3563
3611
|
t8 as useRoomKey,
|
|
3564
3612
|
K2 as useRoomLevelControls,
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3613
|
+
K6 as useRoomName,
|
|
3614
|
+
X6 as useRoomProgramAudioDestinationKey,
|
|
3615
|
+
ne as useRoomShareState,
|
|
3616
|
+
G6 as useRoomSourceList,
|
|
3569
3617
|
C1 as useRoomState,
|
|
3570
3618
|
H2 as useRoomVolume,
|
|
3571
|
-
|
|
3572
|
-
|
|
3619
|
+
le as useRuntimeInfo,
|
|
3620
|
+
e5 as useScroll,
|
|
3573
3621
|
c8 as useServerIsRunningOnProcessorHardware,
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3622
|
+
de as useShowIncomingCallModal,
|
|
3623
|
+
he as useShowModal,
|
|
3624
|
+
ge as useShowPopoverById,
|
|
3625
|
+
h8 as useShowReconnect,
|
|
3626
|
+
ue as useShowShutdownModal,
|
|
3627
|
+
t5 as useSystemControl,
|
|
3580
3628
|
o8 as useSystemUuid,
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3629
|
+
fe as useTheme,
|
|
3630
|
+
s5 as useTimeAndDate,
|
|
3631
|
+
ie as useTouchpanelKey,
|
|
3632
|
+
Je as useTwoWayDisplayBase,
|
|
3585
3633
|
n8 as useUserCode,
|
|
3586
3634
|
b as useWebsocketContext,
|
|
3587
3635
|
j3 as useWsIsConnected
|