@pepperdash/mobile-control-react-app-core 1.21.0-new-types.3 → 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 +448 -432
- 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/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,23 +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
|
|
1069
|
+
const C = await V1.get(
|
|
1070
1070
|
`${y}/ui/joinroom?token=${t}`
|
|
1071
1071
|
);
|
|
1072
|
-
return C.status === 200 && C.data ? (m.dispatch(
|
|
1072
|
+
return C.status === 200 && C.data ? (m.dispatch(W.setRoomData(C.data)), !0) : !1;
|
|
1073
1073
|
} catch (C) {
|
|
1074
|
-
return console.log(C),
|
|
1075
|
-
|
|
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
1076
|
`Token ${t} is invalid. Unable to join room`
|
|
1077
1077
|
)
|
|
1078
|
-
), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(
|
|
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);
|
|
1079
1079
|
}
|
|
1080
1080
|
},
|
|
1081
|
-
[t,
|
|
1081
|
+
[t, h]
|
|
1082
1082
|
), r1 = a1(() => {
|
|
1083
1083
|
const y = `${a.gatewayAppPath}?uuid=${f}&roomKey=${r}`;
|
|
1084
1084
|
window.location.href = x ? `${y}&Code=${x}` : y;
|
|
@@ -1091,11 +1091,11 @@ const T8 = ({ children: e }) => {
|
|
|
1091
1091
|
$(y, { value: C });
|
|
1092
1092
|
}, S1 = a1(
|
|
1093
1093
|
(y, C, f1) => {
|
|
1094
|
-
|
|
1094
|
+
k.current[y] || (k.current[y] = {}), k.current[y][C] = f1, console.log("event handler added", y, C);
|
|
1095
1095
|
},
|
|
1096
1096
|
[]
|
|
1097
1097
|
), b1 = a1((y, C) => {
|
|
1098
|
-
|
|
1098
|
+
k.current[y] && (delete k.current[y][C], console.log("event handler removed", y, C));
|
|
1099
1099
|
}, []);
|
|
1100
1100
|
return n1(() => {
|
|
1101
1101
|
let C = new URLSearchParams(window.location.search).get("token");
|
|
@@ -1105,50 +1105,50 @@ const T8 = ({ children: e }) => {
|
|
|
1105
1105
|
a.apiPath,
|
|
1106
1106
|
X,
|
|
1107
1107
|
t,
|
|
1108
|
-
|
|
1109
|
-
|
|
1108
|
+
D,
|
|
1109
|
+
h
|
|
1110
1110
|
), n1(() => {
|
|
1111
1111
|
async function y() {
|
|
1112
|
-
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;
|
|
1113
1113
|
if (R.current) {
|
|
1114
1114
|
console.log("websocket exists");
|
|
1115
1115
|
return;
|
|
1116
1116
|
}
|
|
1117
1117
|
console.log("connecting to websocket");
|
|
1118
|
-
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`,
|
|
1119
|
-
R.current =
|
|
1120
|
-
console.log("connected",
|
|
1121
|
-
},
|
|
1122
|
-
console.error("Websocket error",
|
|
1123
|
-
},
|
|
1124
|
-
if (console.log("disconnected: ",
|
|
1125
|
-
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());
|
|
1126
1126
|
return;
|
|
1127
1127
|
}
|
|
1128
|
-
if (F(!0),
|
|
1128
|
+
if (F(!0), B.code === 4e3) {
|
|
1129
1129
|
console.log("user code changed"), m.dispatch(
|
|
1130
|
-
|
|
1130
|
+
W.setUserCode({ userCode: "", qrUrl: "" })
|
|
1131
1131
|
), m.dispatch(
|
|
1132
|
-
|
|
1132
|
+
q.setErrorMessage(
|
|
1133
1133
|
"User code changed. Click reconnect to enter the new code"
|
|
1134
1134
|
)
|
|
1135
|
-
), m.dispatch(
|
|
1135
|
+
), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1136
1136
|
return;
|
|
1137
1137
|
}
|
|
1138
|
-
if (
|
|
1138
|
+
if (B.code === 4001 && !h) {
|
|
1139
1139
|
console.log("processor disconnected"), m.dispatch(
|
|
1140
|
-
|
|
1140
|
+
q.setErrorMessage(
|
|
1141
1141
|
"Processor has disconnected. Click Reconnect"
|
|
1142
1142
|
)
|
|
1143
|
-
), m.dispatch(
|
|
1143
|
+
), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1144
1144
|
return;
|
|
1145
1145
|
}
|
|
1146
|
-
if (
|
|
1146
|
+
if (B.code === 4002) {
|
|
1147
1147
|
console.log("room combination changed"), m.dispatch(
|
|
1148
|
-
|
|
1148
|
+
q.setErrorMessage(
|
|
1149
1149
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
1150
1150
|
)
|
|
1151
|
-
), m.dispatch(
|
|
1151
|
+
), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1152
1152
|
return;
|
|
1153
1153
|
}
|
|
1154
1154
|
if (R.current)
|
|
@@ -1157,26 +1157,26 @@ const T8 = ({ children: e }) => {
|
|
|
1157
1157
|
console.log("WebSocket closed by client.");
|
|
1158
1158
|
return;
|
|
1159
1159
|
}
|
|
1160
|
-
console.log("websocket waitingToReconnect",
|
|
1161
|
-
},
|
|
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) => {
|
|
1162
1162
|
try {
|
|
1163
|
-
const E = JSON.parse(
|
|
1163
|
+
const E = JSON.parse(B.data);
|
|
1164
1164
|
if (console.log(E), E.type === "close") {
|
|
1165
|
-
|
|
1165
|
+
Y.close(4001, E.content);
|
|
1166
1166
|
return;
|
|
1167
1167
|
}
|
|
1168
1168
|
if (E.type.startsWith("/system/"))
|
|
1169
1169
|
switch (E.type) {
|
|
1170
1170
|
case "/system/touchpanelKey":
|
|
1171
1171
|
m.dispatch(
|
|
1172
|
-
|
|
1172
|
+
W.setTouchpanelKey(
|
|
1173
1173
|
E.content
|
|
1174
1174
|
)
|
|
1175
1175
|
);
|
|
1176
1176
|
break;
|
|
1177
1177
|
case "/system/roomKey": {
|
|
1178
1178
|
m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), m.dispatch(
|
|
1179
|
-
|
|
1179
|
+
W.setCurrentRoomKey(
|
|
1180
1180
|
E.content
|
|
1181
1181
|
)
|
|
1182
1182
|
);
|
|
@@ -1184,7 +1184,7 @@ const T8 = ({ children: e }) => {
|
|
|
1184
1184
|
}
|
|
1185
1185
|
case "/system/userCodeChanged":
|
|
1186
1186
|
m.dispatch(
|
|
1187
|
-
|
|
1187
|
+
W.setUserCode(E.content)
|
|
1188
1188
|
);
|
|
1189
1189
|
break;
|
|
1190
1190
|
case "/system/roomCombinationChanged":
|
|
@@ -1196,12 +1196,12 @@ const T8 = ({ children: e }) => {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
else if (E.type.startsWith("/event/")) {
|
|
1198
1198
|
console.log("event message received", E);
|
|
1199
|
-
const t1 =
|
|
1199
|
+
const t1 = k.current[E.type];
|
|
1200
1200
|
t1 || console.log("no handlers found for event type", E.type), t1 && Object.values(t1).forEach((K) => {
|
|
1201
1201
|
try {
|
|
1202
1202
|
K(E);
|
|
1203
|
-
} catch (
|
|
1204
|
-
console.error(
|
|
1203
|
+
} catch (z) {
|
|
1204
|
+
console.error(z);
|
|
1205
1205
|
}
|
|
1206
1206
|
});
|
|
1207
1207
|
} else E.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(E)) : E.type.startsWith("/device/") && m.dispatch(N.setDeviceState(E));
|
|
@@ -1217,8 +1217,8 @@ const T8 = ({ children: e }) => {
|
|
|
1217
1217
|
a.apiPath,
|
|
1218
1218
|
X,
|
|
1219
1219
|
t,
|
|
1220
|
-
|
|
1221
|
-
|
|
1220
|
+
D,
|
|
1221
|
+
h
|
|
1222
1222
|
]), n1(() => {
|
|
1223
1223
|
!r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
|
|
1224
1224
|
}, [r, i, c, $]), /* @__PURE__ */ s.jsx(
|
|
@@ -1234,17 +1234,17 @@ const T8 = ({ children: e }) => {
|
|
|
1234
1234
|
children: c ? e : /* @__PURE__ */ s.jsx(E8, {})
|
|
1235
1235
|
}
|
|
1236
1236
|
);
|
|
1237
|
-
},
|
|
1237
|
+
}, we = ({ children: e }) => /* @__PURE__ */ s.jsx(i2, { store: m, children: /* @__PURE__ */ s.jsx(L8, { children: e }) });
|
|
1238
1238
|
function b() {
|
|
1239
|
-
return
|
|
1239
|
+
return h2(I3);
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function D8({
|
|
1242
1242
|
onPress: e,
|
|
1243
1243
|
onRelease: t,
|
|
1244
1244
|
onHold: o,
|
|
1245
1245
|
holdTimeMs: c = 500
|
|
1246
1246
|
}) {
|
|
1247
|
-
const r =
|
|
1247
|
+
const r = v1(null), i = v1(!1);
|
|
1248
1248
|
function d() {
|
|
1249
1249
|
i.current = !0, e == null || e(), r.current = setTimeout(() => {
|
|
1250
1250
|
o == null || o(), r.current = null;
|
|
@@ -1263,7 +1263,7 @@ function L8({
|
|
|
1263
1263
|
};
|
|
1264
1264
|
}
|
|
1265
1265
|
function g(e, t) {
|
|
1266
|
-
const { sendMessage: c } = b(), r =
|
|
1266
|
+
const { sendMessage: c } = b(), r = v1(null);
|
|
1267
1267
|
function i() {
|
|
1268
1268
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1269
1269
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1272,7 +1272,7 @@ function g(e, t) {
|
|
|
1272
1272
|
function d() {
|
|
1273
1273
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1274
1274
|
}
|
|
1275
|
-
return
|
|
1275
|
+
return D8({ onPress: i, onRelease: d });
|
|
1276
1276
|
}
|
|
1277
1277
|
function R3(e, t) {
|
|
1278
1278
|
const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
|
|
@@ -1280,19 +1280,19 @@ function R3(e, t) {
|
|
|
1280
1280
|
volumeState: t,
|
|
1281
1281
|
volumeUp: r,
|
|
1282
1282
|
volumeDown: i,
|
|
1283
|
-
setLevel: (
|
|
1283
|
+
setLevel: (h) => c(`${e}/level`, h),
|
|
1284
1284
|
muteToggle: () => o(`${e}/muteToggle`, null),
|
|
1285
1285
|
muteOn: () => o(`${e}/muteOn`, null),
|
|
1286
1286
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
1287
1287
|
} : void 0;
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function pe(e, t) {
|
|
1290
1290
|
const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
|
|
1291
1291
|
return t ? {
|
|
1292
1292
|
volumeState: t,
|
|
1293
1293
|
volumeUp: r,
|
|
1294
1294
|
volumeDown: i,
|
|
1295
|
-
setLevel: (
|
|
1295
|
+
setLevel: (h) => c(`${e}/level`, h),
|
|
1296
1296
|
muteToggle: () => o(`${e}/muteToggle`, null),
|
|
1297
1297
|
muteOn: () => o(`${e}/muteOn`, null),
|
|
1298
1298
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
@@ -1312,7 +1312,7 @@ function y3(e) {
|
|
|
1312
1312
|
t(`/device/${e}/powerToggle`, null);
|
|
1313
1313
|
} };
|
|
1314
1314
|
}
|
|
1315
|
-
function
|
|
1315
|
+
function k1(e) {
|
|
1316
1316
|
const { sendMessage: t } = b(), o = _(e);
|
|
1317
1317
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1318
1318
|
t(`/device/${e}/${r}`, null);
|
|
@@ -1329,8 +1329,8 @@ function A8(e) {
|
|
|
1329
1329
|
};
|
|
1330
1330
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1333
|
-
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);
|
|
1334
1334
|
if (t)
|
|
1335
1335
|
return {
|
|
1336
1336
|
avrState: t,
|
|
@@ -1341,7 +1341,7 @@ function pe(e) {
|
|
|
1341
1341
|
mainVolumeControl: i
|
|
1342
1342
|
};
|
|
1343
1343
|
}
|
|
1344
|
-
const
|
|
1344
|
+
const Me = ({ className: e }) => {
|
|
1345
1345
|
const [t, o] = H();
|
|
1346
1346
|
return n1(() => {
|
|
1347
1347
|
setInterval(() => {
|
|
@@ -1353,7 +1353,7 @@ const xe = ({ className: e }) => {
|
|
|
1353
1353
|
" new change"
|
|
1354
1354
|
] });
|
|
1355
1355
|
};
|
|
1356
|
-
function
|
|
1356
|
+
function me(e) {
|
|
1357
1357
|
const { sendMessage: t } = b(), o = _(e), c = `/device/${e}`;
|
|
1358
1358
|
return o ? { state: o, recallPreset: (d, a) => {
|
|
1359
1359
|
t(`${c}/presets/recall`, { deviceKey: d, preset: a });
|
|
@@ -1361,46 +1361,46 @@ function Me(e) {
|
|
|
1361
1361
|
t(`${c}/presets/save`, d);
|
|
1362
1362
|
} } : void 0;
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1364
|
+
function Ze(e) {
|
|
1365
1365
|
const t = _(e);
|
|
1366
1366
|
if (t)
|
|
1367
1367
|
return { endpointState: t };
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function je(e) {
|
|
1370
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");
|
|
1371
1371
|
return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function Ce(e) {
|
|
1374
1374
|
const t = `/device/${e}`, o = g(t, "red"), c = g(t, "green"), r = g(t, "yellow"), i = g(t, "blue");
|
|
1375
1375
|
return { red: o, green: c, yellow: r, blue: i };
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function Se(e) {
|
|
1378
1378
|
const t = _(e);
|
|
1379
1379
|
if (t)
|
|
1380
1380
|
return {
|
|
1381
1381
|
communicationMonitorState: t
|
|
1382
1382
|
};
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1384
|
+
function be(e) {
|
|
1385
1385
|
const t = _(e);
|
|
1386
1386
|
if (t)
|
|
1387
1387
|
return t.deviceInfo || void 0;
|
|
1388
1388
|
}
|
|
1389
|
-
function
|
|
1389
|
+
function Ie(e) {
|
|
1390
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");
|
|
1391
1391
|
return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: f };
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1393
|
+
function Re(e) {
|
|
1394
1394
|
const { sendMessage: t } = b();
|
|
1395
1395
|
return { recallPreset: (c) => {
|
|
1396
1396
|
t(`/device/${e}/recallPreset`, c);
|
|
1397
1397
|
} };
|
|
1398
1398
|
}
|
|
1399
|
-
function
|
|
1399
|
+
function ye(e) {
|
|
1400
1400
|
const t = `/device/${e}`, o = g(t, "dvrList"), c = g(t, "record");
|
|
1401
1401
|
return { dvrList: o, record: c };
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function Ee(e) {
|
|
1404
1404
|
const { sendMessage: t } = b(), o = _(e);
|
|
1405
1405
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1406
1406
|
t(`/device/${e}/setAutoMode`, null);
|
|
@@ -1414,41 +1414,41 @@ function ye(e) {
|
|
|
1414
1414
|
t(`/device/${e}/setRoomCombinationScenario`, f);
|
|
1415
1415
|
} } : void 0;
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function Te(e) {
|
|
1418
1418
|
const t = _(e);
|
|
1419
1419
|
if (t)
|
|
1420
1420
|
return { state: t };
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function _e(e) {
|
|
1423
1423
|
const { sendMessage: t, sendSimpleMessage: o } = b(), c = _(e), r = K2(e), i = c || r;
|
|
1424
1424
|
return i ? {
|
|
1425
1425
|
levelState: i,
|
|
1426
|
-
setLevel: (
|
|
1427
|
-
muteToggle: (
|
|
1428
|
-
muteOn: (
|
|
1429
|
-
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)
|
|
1430
1430
|
} : void 0;
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function Pe(e) {
|
|
1433
1433
|
const { sendMessage: t } = b(), o = _(e);
|
|
1434
1434
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1435
1435
|
t(`/device/${e}/selectScene`, r);
|
|
1436
1436
|
} } : void 0;
|
|
1437
1437
|
}
|
|
1438
|
-
function
|
|
1438
|
+
function Le(e) {
|
|
1439
1439
|
const { sendMessage: t } = b(), o = _(e);
|
|
1440
1440
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1441
1441
|
t(`/device/${e}/route`, r);
|
|
1442
1442
|
} } : void 0;
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function De(e) {
|
|
1445
1445
|
const { sendMessage: t } = b();
|
|
1446
1446
|
return { closeApp: () => {
|
|
1447
1447
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1448
1448
|
} };
|
|
1449
1449
|
}
|
|
1450
|
-
function
|
|
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"),
|
|
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");
|
|
1452
1452
|
return {
|
|
1453
1453
|
digit0: o,
|
|
1454
1454
|
digit1: c,
|
|
@@ -1458,13 +1458,13 @@ function Le(e) {
|
|
|
1458
1458
|
digit5: a,
|
|
1459
1459
|
digit6: f,
|
|
1460
1460
|
digit7: x,
|
|
1461
|
-
digit8:
|
|
1461
|
+
digit8: h,
|
|
1462
1462
|
digit9: R,
|
|
1463
|
-
keypadAccessoryButton1:
|
|
1463
|
+
keypadAccessoryButton1: D,
|
|
1464
1464
|
keypadAccessoryButton2: F
|
|
1465
1465
|
};
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function Ae(e) {
|
|
1468
1468
|
const { sendMessage: t } = b(), o = _(e);
|
|
1469
1469
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1470
1470
|
t(`/device/${e}/raise`, null);
|
|
@@ -1472,7 +1472,7 @@ function $e(e) {
|
|
|
1472
1472
|
t(`/device/${e}/lower`, null);
|
|
1473
1473
|
} } : void 0;
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1475
|
+
function Be(e) {
|
|
1476
1476
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1477
1477
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1478
1478
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
@@ -1484,7 +1484,7 @@ function Oe(e) {
|
|
|
1484
1484
|
t(`/room/${e}/defaultsource`, {});
|
|
1485
1485
|
} };
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function Ve(e) {
|
|
1488
1488
|
const { sendMessage: t } = b();
|
|
1489
1489
|
return { runDirectRoute: (c) => {
|
|
1490
1490
|
t(`/room/${e}/directRoute`, c);
|
|
@@ -1496,7 +1496,7 @@ function ke(e) {
|
|
|
1496
1496
|
t(`/room/${e}/source`, r);
|
|
1497
1497
|
} };
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function Ue(e) {
|
|
1500
1500
|
const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown");
|
|
1501
1501
|
return { dvrList: o, replay: c };
|
|
1502
1502
|
}
|
|
@@ -1510,7 +1510,7 @@ function We(e) {
|
|
|
1510
1510
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1511
1511
|
} } : void 0;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function Fe(e) {
|
|
1514
1514
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1515
1515
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (a) => {
|
|
1516
1516
|
t(`/room/${e}/setShutdownPromptSeconds`, a);
|
|
@@ -1522,7 +1522,7 @@ function Ue(e) {
|
|
|
1522
1522
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1523
1523
|
} } : void 0;
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function He(e) {
|
|
1526
1526
|
const { sendMessage: t } = b(), o = _(e);
|
|
1527
1527
|
return o ? { switchedOutputState: o, on: () => {
|
|
1528
1528
|
t(`/device/${e}/on`, null);
|
|
@@ -1530,7 +1530,7 @@ function Fe(e) {
|
|
|
1530
1530
|
t(`/device/${e}/off`, null);
|
|
1531
1531
|
} } : void 0;
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1533
|
+
function Ke(e) {
|
|
1534
1534
|
const { sendMessage: t } = b(), o = C1(e);
|
|
1535
1535
|
return o ? { techPasswordState: o, validatePassword: (i) => {
|
|
1536
1536
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
@@ -1538,11 +1538,11 @@ function He(e) {
|
|
|
1538
1538
|
t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
|
|
1539
1539
|
} } : void 0;
|
|
1540
1540
|
}
|
|
1541
|
-
function
|
|
1541
|
+
function Ge(e) {
|
|
1542
1542
|
const { sendMessage: t } = b(), o = _(e);
|
|
1543
1543
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1545
|
+
function qe(e) {
|
|
1546
1546
|
const { sendMessage: t } = b(), o = _(e), c = (r) => {
|
|
1547
1547
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1548
1548
|
};
|
|
@@ -1551,7 +1551,7 @@ function Ge(e) {
|
|
|
1551
1551
|
saveTheme: c
|
|
1552
1552
|
};
|
|
1553
1553
|
}
|
|
1554
|
-
function
|
|
1554
|
+
function Ye(e) {
|
|
1555
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");
|
|
1556
1556
|
return {
|
|
1557
1557
|
play: o,
|
|
@@ -1564,7 +1564,7 @@ function qe(e) {
|
|
|
1564
1564
|
record: x
|
|
1565
1565
|
};
|
|
1566
1566
|
}
|
|
1567
|
-
function
|
|
1567
|
+
function ze(e) {
|
|
1568
1568
|
const t = _(e), { sendMessage: o } = b();
|
|
1569
1569
|
return t ? {
|
|
1570
1570
|
touchpanelState: t,
|
|
@@ -1580,8 +1580,8 @@ function Ye(e) {
|
|
|
1580
1580
|
} }
|
|
1581
1581
|
} : void 0;
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1584
|
-
const t = _(e), o = y3(e), c =
|
|
1583
|
+
function Je(e) {
|
|
1584
|
+
const t = _(e), o = y3(e), c = k1(e);
|
|
1585
1585
|
if (!t) return;
|
|
1586
1586
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1587
1587
|
return {
|
|
@@ -1591,7 +1591,7 @@ function ze(e) {
|
|
|
1591
1591
|
powerFb: { powerOnFb: r, powerOffFb: i }
|
|
1592
1592
|
};
|
|
1593
1593
|
}
|
|
1594
|
-
const
|
|
1594
|
+
const Xe = ({
|
|
1595
1595
|
config: e
|
|
1596
1596
|
}) => {
|
|
1597
1597
|
const { sendMessage: t } = b();
|
|
@@ -1624,7 +1624,7 @@ const Je = ({
|
|
|
1624
1624
|
});
|
|
1625
1625
|
}, [e, t]);
|
|
1626
1626
|
};
|
|
1627
|
-
function
|
|
1627
|
+
function Qe(e, t) {
|
|
1628
1628
|
const [o, c] = H(!1), [r, i] = H(!1);
|
|
1629
1629
|
return x3(() => {
|
|
1630
1630
|
const { current: d } = e, a = () => {
|
|
@@ -1634,27 +1634,27 @@ function Xe(e, t) {
|
|
|
1634
1634
|
d && a();
|
|
1635
1635
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1637
|
+
function Ne(e, t) {
|
|
1638
1638
|
const o = H2(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1639
1639
|
return R3(c, o);
|
|
1640
1640
|
}
|
|
1641
|
-
function
|
|
1641
|
+
function e5(e) {
|
|
1642
1642
|
var a, f;
|
|
1643
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) => {
|
|
1644
|
-
const { current:
|
|
1645
|
-
|
|
1644
|
+
const { current: h } = e;
|
|
1645
|
+
h && (console.log(h.scrollLeft), h.scrollLeft += x, console.log(h.scrollLeft));
|
|
1646
1646
|
}, d = (x) => {
|
|
1647
|
-
const { current:
|
|
1648
|
-
|
|
1647
|
+
const { current: h } = e;
|
|
1648
|
+
h && (console.log(h.scrollTop), h.scrollTop += x, console.log(h.scrollTop));
|
|
1649
1649
|
};
|
|
1650
1650
|
return x3(() => {
|
|
1651
|
-
const { current: x } = e,
|
|
1651
|
+
const { current: x } = e, h = () => {
|
|
1652
1652
|
o((x == null ? void 0 : x.scrollLeft) ?? 0), r((x == null ? void 0 : x.scrollTop) ?? 0);
|
|
1653
1653
|
};
|
|
1654
|
-
x &&
|
|
1654
|
+
x && h();
|
|
1655
1655
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function t5() {
|
|
1658
1658
|
const { sendMessage: e } = b();
|
|
1659
1659
|
return {
|
|
1660
1660
|
reboot: () => {
|
|
@@ -1665,7 +1665,7 @@ function e5() {
|
|
|
1665
1665
|
}
|
|
1666
1666
|
};
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function s5() {
|
|
1669
1669
|
const [e, t] = H(), [o, c] = H();
|
|
1670
1670
|
function r() {
|
|
1671
1671
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
@@ -1680,8 +1680,8 @@ function t5() {
|
|
|
1680
1680
|
return () => clearInterval(i);
|
|
1681
1681
|
}, []), { date: e, time: o };
|
|
1682
1682
|
}
|
|
1683
|
-
const
|
|
1684
|
-
const [e, t] = H(!1), o =
|
|
1683
|
+
const o5 = () => {
|
|
1684
|
+
const [e, t] = H(!1), o = v2(), c = g2();
|
|
1685
1685
|
let r;
|
|
1686
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: [
|
|
1687
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." }) }),
|
|
@@ -1689,11 +1689,11 @@ const s5 = () => {
|
|
|
1689
1689
|
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
|
|
1690
1690
|
e && /* @__PURE__ */ s.jsx("p", { children: r })
|
|
1691
1691
|
] });
|
|
1692
|
-
},
|
|
1693
|
-
iconbtn:
|
|
1694
|
-
iconbtnvert:
|
|
1695
|
-
iconsm:
|
|
1696
|
-
},
|
|
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 = ({
|
|
1697
1697
|
multiIcon: e,
|
|
1698
1698
|
otherContent: t = null,
|
|
1699
1699
|
vert: o = !1,
|
|
@@ -1704,26 +1704,26 @@ const s5 = () => {
|
|
|
1704
1704
|
feedback: a,
|
|
1705
1705
|
feedbackClassName: f,
|
|
1706
1706
|
onPointerDown: x,
|
|
1707
|
-
onPointerUp:
|
|
1707
|
+
onPointerUp: h,
|
|
1708
1708
|
onPointerLeave: R,
|
|
1709
|
-
...
|
|
1709
|
+
...D
|
|
1710
1710
|
}) => {
|
|
1711
|
-
const [F,
|
|
1711
|
+
const [F, k] = H(!1), X = !d && a ? f : "", r1 = !d && (F || a);
|
|
1712
1712
|
return /* @__PURE__ */ s.jsxs(
|
|
1713
1713
|
"button",
|
|
1714
1714
|
{
|
|
1715
1715
|
type: "button",
|
|
1716
1716
|
className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${X}`,
|
|
1717
|
-
...
|
|
1717
|
+
...D,
|
|
1718
1718
|
disabled: d,
|
|
1719
1719
|
onPointerDown: ($) => {
|
|
1720
|
-
|
|
1720
|
+
k(!0), x == null || x($);
|
|
1721
1721
|
},
|
|
1722
1722
|
onPointerUp: ($) => {
|
|
1723
|
-
|
|
1723
|
+
k(!1), h == null || h($);
|
|
1724
1724
|
},
|
|
1725
1725
|
onPointerLeave: ($) => {
|
|
1726
|
-
|
|
1726
|
+
k(!1), R == null || R($);
|
|
1727
1727
|
},
|
|
1728
1728
|
children: [
|
|
1729
1729
|
e && /* @__PURE__ */ s.jsx(
|
|
@@ -1744,7 +1744,7 @@ const s5 = () => {
|
|
|
1744
1744
|
EnabledImage: o,
|
|
1745
1745
|
active: c,
|
|
1746
1746
|
disabled: r
|
|
1747
|
-
}) => r ? t : c ? e : o,
|
|
1747
|
+
}) => r ? t : c ? e : o, U8 = ({
|
|
1748
1748
|
active: e,
|
|
1749
1749
|
className: t = "",
|
|
1750
1750
|
disabled: o
|
|
@@ -1796,7 +1796,7 @@ const s5 = () => {
|
|
|
1796
1796
|
active: e,
|
|
1797
1797
|
disabled: o
|
|
1798
1798
|
}
|
|
1799
|
-
),
|
|
1799
|
+
), W8 = ({
|
|
1800
1800
|
active: e,
|
|
1801
1801
|
className: t = "",
|
|
1802
1802
|
disabled: o
|
|
@@ -2944,7 +2944,7 @@ const s5 = () => {
|
|
|
2944
2944
|
active: e,
|
|
2945
2945
|
disabled: o
|
|
2946
2946
|
}
|
|
2947
|
-
),
|
|
2947
|
+
), n5 = ({
|
|
2948
2948
|
active: e,
|
|
2949
2949
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2950
2950
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3008,7 +3008,7 @@ const s5 = () => {
|
|
|
3008
3008
|
active: e,
|
|
3009
3009
|
disabled: o
|
|
3010
3010
|
}
|
|
3011
|
-
),
|
|
3011
|
+
), h6 = ({
|
|
3012
3012
|
active: e,
|
|
3013
3013
|
className: t = "",
|
|
3014
3014
|
disabled: o
|
|
@@ -3057,7 +3057,7 @@ const s5 = () => {
|
|
|
3057
3057
|
active: e,
|
|
3058
3058
|
disabled: o
|
|
3059
3059
|
}
|
|
3060
|
-
),
|
|
3060
|
+
), v6 = ({
|
|
3061
3061
|
active: e,
|
|
3062
3062
|
className: t = "",
|
|
3063
3063
|
disabled: o
|
|
@@ -3352,10 +3352,10 @@ const s5 = () => {
|
|
|
3352
3352
|
disabled: o
|
|
3353
3353
|
}
|
|
3354
3354
|
), M6 = {
|
|
3355
|
-
Alert:
|
|
3355
|
+
Alert: U8,
|
|
3356
3356
|
Camera: F8,
|
|
3357
3357
|
DownArrow: G8,
|
|
3358
|
-
Ban:
|
|
3358
|
+
Ban: W8,
|
|
3359
3359
|
Check: H8,
|
|
3360
3360
|
Controller: K8,
|
|
3361
3361
|
Elipses: q8,
|
|
@@ -3378,61 +3378,74 @@ const s5 = () => {
|
|
|
3378
3378
|
Shade: a6,
|
|
3379
3379
|
Sun: u6,
|
|
3380
3380
|
UpArrow: d6,
|
|
3381
|
-
VolDown:
|
|
3382
|
-
VolMute:
|
|
3381
|
+
VolDown: h6,
|
|
3382
|
+
VolMute: v6,
|
|
3383
3383
|
VolUp: g6,
|
|
3384
3384
|
Wireless: f6,
|
|
3385
3385
|
X: w6,
|
|
3386
3386
|
Xbox: p6
|
|
3387
3387
|
};
|
|
3388
|
-
function
|
|
3388
|
+
function c5({
|
|
3389
3389
|
name: e,
|
|
3390
3390
|
iconsDictionary: t = M6,
|
|
3391
3391
|
...o
|
|
3392
3392
|
}) {
|
|
3393
3393
|
const c = t[e] ?? null;
|
|
3394
|
-
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 });
|
|
3395
3395
|
}
|
|
3396
|
-
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 = {
|
|
3397
3397
|
grid: m6,
|
|
3398
3398
|
header: Z6,
|
|
3399
3399
|
content: j6,
|
|
3400
3400
|
footer: C6,
|
|
3401
3401
|
volume: S6
|
|
3402
|
-
},
|
|
3403
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3404
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3405
|
-
r && /* @__PURE__ */ s.jsx("div", { className:
|
|
3406
|
-
/* @__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 })
|
|
3407
3407
|
] }), b6 = "_grid_11w5q_1", I6 = "_header_11w5q_11", R6 = "_content_11w5q_17", Z1 = {
|
|
3408
3408
|
grid: b6,
|
|
3409
3409
|
header: I6,
|
|
3410
3410
|
content: R6
|
|
3411
|
-
},
|
|
3411
|
+
}, l5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
|
|
3412
3412
|
/* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
|
|
3413
3413
|
c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
|
|
3414
3414
|
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
|
|
3415
|
-
] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11",
|
|
3415
|
+
] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11", T6 = "_content_1uwfo_17", A1 = {
|
|
3416
3416
|
grid: y6,
|
|
3417
3417
|
header: E6,
|
|
3418
|
-
content:
|
|
3419
|
-
},
|
|
3418
|
+
content: T6
|
|
3419
|
+
}, i5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3420
3420
|
/* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
|
|
3421
3421
|
/* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
|
|
3422
3422
|
] });
|
|
3423
|
-
class
|
|
3423
|
+
class a5 {
|
|
3424
3424
|
constructor() {
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
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;
|
|
3428
3439
|
}
|
|
3429
3440
|
}
|
|
3441
|
+
const h5 = "$off";
|
|
3430
3442
|
export {
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
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,
|
|
3436
3449
|
F8 as IconMultiCamera,
|
|
3437
3450
|
H8 as IconMultiCheck,
|
|
3438
3451
|
K8 as IconMultiController,
|
|
@@ -3456,28 +3469,31 @@ export {
|
|
|
3456
3469
|
i6 as IconMultiRoomPC,
|
|
3457
3470
|
a6 as IconMultiShade,
|
|
3458
3471
|
u6 as IconMultiSun,
|
|
3459
|
-
|
|
3472
|
+
n5 as IconMultiTemplate,
|
|
3460
3473
|
d6 as IconMultiUpArrow,
|
|
3461
|
-
|
|
3462
|
-
|
|
3474
|
+
h6 as IconMultiVolDown,
|
|
3475
|
+
v6 as IconMultiVolMute,
|
|
3463
3476
|
g6 as IconMultiVolUp,
|
|
3464
3477
|
f6 as IconMultiWireless,
|
|
3465
3478
|
w6 as IconMultiX,
|
|
3466
3479
|
p6 as IconMultiXbox,
|
|
3467
|
-
|
|
3468
|
-
|
|
3480
|
+
r5 as MainLayout,
|
|
3481
|
+
d5 as MessageHandler,
|
|
3482
|
+
we as MobileControlProvider,
|
|
3469
3483
|
j as MultiStateIconContainer,
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3484
|
+
c5 as NamedIconButton,
|
|
3485
|
+
a5 as ShareState,
|
|
3486
|
+
l5 as TechLayout,
|
|
3487
|
+
i5 as TechPinLayout,
|
|
3474
3488
|
I3 as WebsocketContext,
|
|
3475
3489
|
w8 as appConfigActions,
|
|
3476
3490
|
N as devicesActions,
|
|
3477
|
-
|
|
3491
|
+
u5 as getBaseLocation,
|
|
3492
|
+
V1 as httpClient,
|
|
3478
3493
|
M6 as iconsDictionary,
|
|
3494
|
+
h5 as roomOffSourceKey,
|
|
3479
3495
|
e1 as roomsActions,
|
|
3480
|
-
|
|
3496
|
+
W as runtimeConfigActions,
|
|
3481
3497
|
Z3 as selectAllDevices,
|
|
3482
3498
|
x2 as selectApiPath,
|
|
3483
3499
|
p2 as selectAppConfig,
|
|
@@ -3487,26 +3503,26 @@ export {
|
|
|
3487
3503
|
i8 as selectError,
|
|
3488
3504
|
e8 as selectIsTouchpanel,
|
|
3489
3505
|
M2 as selectLogoPath,
|
|
3490
|
-
|
|
3506
|
+
U1 as selectModalVisibility,
|
|
3491
3507
|
m2 as selectPartnerMetadata,
|
|
3492
|
-
|
|
3493
|
-
|
|
3508
|
+
k2 as selectRoomAdvancedSharingActive,
|
|
3509
|
+
T2 as selectRoomAudioControlPointList,
|
|
3494
3510
|
b2 as selectRoomByKey,
|
|
3495
3511
|
$2 as selectRoomCodecContentDestinationKey,
|
|
3496
3512
|
C2 as selectRoomConfiguration,
|
|
3497
3513
|
P2 as selectRoomDestinationList,
|
|
3498
3514
|
_2 as selectRoomDestinations,
|
|
3499
3515
|
F2 as selectRoomDisplayStates,
|
|
3500
|
-
|
|
3516
|
+
L2 as selectRoomEnvironmentalDevices,
|
|
3501
3517
|
A2 as selectRoomInCall,
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3518
|
+
O2 as selectRoomIsCoolingDown,
|
|
3519
|
+
V2 as selectRoomIsOn,
|
|
3520
|
+
B2 as selectRoomIsWarmingUp,
|
|
3505
3521
|
q2 as selectRoomKey,
|
|
3506
3522
|
y2 as selectRoomLevelControls,
|
|
3507
3523
|
I2 as selectRoomName,
|
|
3508
|
-
|
|
3509
|
-
|
|
3524
|
+
D2 as selectRoomProgramAudioDestinationKey,
|
|
3525
|
+
U2 as selectRoomShareState,
|
|
3510
3526
|
E2 as selectRoomSourceList,
|
|
3511
3527
|
R2 as selectRoomVolume,
|
|
3512
3528
|
S2 as selectRooms,
|
|
@@ -3519,101 +3535,101 @@ export {
|
|
|
3519
3535
|
N2 as selectTouchpanelKey,
|
|
3520
3536
|
J2 as selectUserCode,
|
|
3521
3537
|
G2 as selectWsIsConnected,
|
|
3522
|
-
|
|
3538
|
+
W2 as selectZoomRoomControllerKey,
|
|
3523
3539
|
m as store,
|
|
3524
|
-
|
|
3540
|
+
q as uiActions,
|
|
3525
3541
|
g8 as uiReducer,
|
|
3526
3542
|
O6 as useApiPath,
|
|
3527
3543
|
Z2 as useAppConfig,
|
|
3528
3544
|
w2 as useAppDispatch,
|
|
3529
3545
|
w as useAppSelector,
|
|
3530
|
-
|
|
3546
|
+
xe as useAvrControl,
|
|
3531
3547
|
g as useButtonHeldHeartbeat,
|
|
3532
3548
|
s8 as useClientId,
|
|
3533
3549
|
$8 as useDeviceIBasicVolumeWithFeedback,
|
|
3534
|
-
|
|
3535
|
-
|
|
3550
|
+
me as useDevicePresetsModel,
|
|
3551
|
+
Ze as useEndpoint,
|
|
3536
3552
|
d8 as useError,
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3553
|
+
Xe as useGetAllDeviceStateFromRoomConfiguration,
|
|
3554
|
+
U6 as useGetAllDevices,
|
|
3555
|
+
F6 as useGetAllRooms,
|
|
3540
3556
|
ve as useGetCurrentPopoverIdForGroup,
|
|
3541
3557
|
_ as useGetDevice,
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3558
|
+
pe as useGetIBasicVolumeWithFeedback,
|
|
3559
|
+
H6 as useGetRoom,
|
|
3560
|
+
ce as useGetRoomDisplayStates,
|
|
3561
|
+
re as useGetZoomRoomControllerKey,
|
|
3546
3562
|
R3 as useIBasicVolumeWithFeedback,
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
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,
|
|
3555
3571
|
y3 as useIHasPowerControl,
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
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,
|
|
3565
3581
|
Oe as useIRunDefaultPresentRoute,
|
|
3566
|
-
|
|
3582
|
+
Ve as useIRunDirectRouteAction,
|
|
3567
3583
|
ke as useIRunRouteAction,
|
|
3568
|
-
|
|
3584
|
+
Ue as useISetTopBoxControls,
|
|
3569
3585
|
We as useIShadesOpenCloseStop,
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3586
|
+
Fe as useIShutdownPromptTimer,
|
|
3587
|
+
He as useISwitchedOutput,
|
|
3588
|
+
Ke as useITechPassword,
|
|
3589
|
+
Ge as useITemperatureSensor,
|
|
3590
|
+
qe as useITheme,
|
|
3591
|
+
Ye as useITransport,
|
|
3576
3592
|
C8 as useInitialize,
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3593
|
+
ae as useIsTouchpanel,
|
|
3594
|
+
V6 as useLogoPath,
|
|
3595
|
+
ze as useMobileControlTouchpanelController,
|
|
3596
|
+
Qe as useOverflow,
|
|
3581
3597
|
k6 as usePartnerMetadata,
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3598
|
+
D8 as usePressHoldRelease,
|
|
3599
|
+
oe as useRoomAdvancedSharingActive,
|
|
3600
|
+
q6 as useRoomAudioControlPointList,
|
|
3601
|
+
Q6 as useRoomCodecContentDestinationKey,
|
|
3586
3602
|
W6 as useRoomConfiguration,
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
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,
|
|
3595
3611
|
t8 as useRoomKey,
|
|
3596
3612
|
K2 as useRoomLevelControls,
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3613
|
+
K6 as useRoomName,
|
|
3614
|
+
X6 as useRoomProgramAudioDestinationKey,
|
|
3615
|
+
ne as useRoomShareState,
|
|
3616
|
+
G6 as useRoomSourceList,
|
|
3601
3617
|
C1 as useRoomState,
|
|
3602
3618
|
H2 as useRoomVolume,
|
|
3603
|
-
|
|
3604
|
-
|
|
3619
|
+
le as useRuntimeInfo,
|
|
3620
|
+
e5 as useScroll,
|
|
3605
3621
|
c8 as useServerIsRunningOnProcessorHardware,
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3622
|
+
de as useShowIncomingCallModal,
|
|
3623
|
+
he as useShowModal,
|
|
3624
|
+
ge as useShowPopoverById,
|
|
3625
|
+
h8 as useShowReconnect,
|
|
3626
|
+
ue as useShowShutdownModal,
|
|
3627
|
+
t5 as useSystemControl,
|
|
3612
3628
|
o8 as useSystemUuid,
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3629
|
+
fe as useTheme,
|
|
3630
|
+
s5 as useTimeAndDate,
|
|
3631
|
+
ie as useTouchpanelKey,
|
|
3632
|
+
Je as useTwoWayDisplayBase,
|
|
3617
3633
|
n8 as useUserCode,
|
|
3618
3634
|
b as useWebsocketContext,
|
|
3619
3635
|
j3 as useWsIsConnected
|