@pepperdash/mobile-control-react-app-core 1.22.6-volume-hook-fix.2 → 1.22.6-volume-hook-fix.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 +278 -273
- package/dist/mobile-control-react-app-core.umd.js +9 -9
- package/dist/shared/hooks/useDeviceIBasicVolumeWithFeedback.d.ts.map +1 -1
- package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts +7 -3
- package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var w2 = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var q = (e, t, o) =>
|
|
4
|
-
import M3, { AxiosError as
|
|
2
|
+
var m2 = (e, t, o) => t in e ? w2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var q = (e, t, o) => m2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import M3, { AxiosError as p2 } from "axios";
|
|
5
5
|
import { useDispatch as M2, useSelector as x2, Provider as Z2 } from "react-redux";
|
|
6
|
-
import { createSelector as p, createSlice as
|
|
7
|
-
import x3, { createContext as C2, useEffect as
|
|
6
|
+
import { createSelector as p, createSlice as u1, combineReducers as S2, configureStore as j2 } from "@reduxjs/toolkit";
|
|
7
|
+
import x3, { createContext as C2, useEffect as M1, useCallback as r1, useContext as b2, useRef as A1, useMemo as n1, useState as Y, useLayoutEffect as Z3 } from "react";
|
|
8
8
|
import { useNavigate as y2, useRouteError as I2, isRouteErrorResponse as R2 } from "react-router-dom";
|
|
9
9
|
import * as S3 from "lodash";
|
|
10
|
-
const W1 = M2.withTypes(),
|
|
10
|
+
const W1 = M2.withTypes(), w = x2.withTypes(), x1 = (e) => e.appConfig, E2 = p(
|
|
11
11
|
x1,
|
|
12
12
|
(e) => e.config
|
|
13
13
|
), T2 = p(
|
|
@@ -19,15 +19,15 @@ const W1 = M2.withTypes(), f = x2.withTypes(), x1 = (e) => e.appConfig, E2 = p(
|
|
|
19
19
|
), _2 = p(
|
|
20
20
|
x1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), X8 = () =>
|
|
22
|
+
), X8 = () => w(E2), Q8 = () => w(T2), N8 = () => w(D2), e6 = () => w(_2), j3 = (e) => e.devices, C3 = p(
|
|
23
23
|
j3,
|
|
24
24
|
(e) => e
|
|
25
25
|
), P2 = (e) => p(
|
|
26
26
|
j3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
), t6 = () =>
|
|
28
|
+
), t6 = () => w(C3);
|
|
29
29
|
function _(e) {
|
|
30
|
-
return
|
|
30
|
+
return w(P2(e));
|
|
31
31
|
}
|
|
32
32
|
const A = (e) => e.rooms, L2 = (e) => p(
|
|
33
33
|
A,
|
|
@@ -80,8 +80,8 @@ const A = (e) => e.rooms, L2 = (e) => p(
|
|
|
80
80
|
), K2 = (e) => p(
|
|
81
81
|
A,
|
|
82
82
|
(t) => {
|
|
83
|
-
var o, c, r, i, v,
|
|
84
|
-
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((
|
|
83
|
+
var o, c, r, i, v, f, h, d;
|
|
84
|
+
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (v = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : v.sinkKey : ((d = (h = (f = t[e]) == null ? void 0 : f.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : d.sinkKey) || "";
|
|
85
85
|
}
|
|
86
86
|
), q2 = (e) => p(
|
|
87
87
|
A,
|
|
@@ -147,21 +147,21 @@ const A = (e) => e.rooms, L2 = (e) => p(
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
function n6(e) {
|
|
150
|
-
return
|
|
150
|
+
return w(
|
|
151
151
|
L2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function o6() {
|
|
155
|
-
return
|
|
155
|
+
return w($2);
|
|
156
156
|
}
|
|
157
157
|
function Z1(e) {
|
|
158
|
-
return
|
|
158
|
+
return w(A2(e));
|
|
159
159
|
}
|
|
160
|
-
const s6 = Z1, c6 = (e) =>
|
|
160
|
+
const s6 = Z1, c6 = (e) => w(
|
|
161
161
|
B2(e)
|
|
162
|
-
), te = (e, t) =>
|
|
162
|
+
), te = (e, t) => w(
|
|
163
163
|
k2(e, t)
|
|
164
|
-
), ne = (e) =>
|
|
164
|
+
), ne = (e) => w(O2(e)) || void 0, r6 = (e) => w(W2(e)), l6 = (e) => w(V2(e)), i6 = (e) => w(U2(e)), a6 = (e) => w(H2(e)), u6 = (e) => w(F2(e)), d6 = (e) => w(K2(e)), v6 = (e) => w(q2(e)), h6 = (e) => w(G2(e)), g6 = (e) => w(Y2(e)), f6 = (e) => w(z2(e)), w6 = (e) => w(J2(e)), m6 = (e) => w(X2(e)), p6 = (e) => w(Q2(e)), M6 = (e) => w((t) => ee(t, e)), x6 = (e) => w(N2(e)), G = (e) => e.runtimeConfig, oe = p(
|
|
165
165
|
G,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), se = p(
|
|
@@ -203,7 +203,7 @@ const s6 = Z1, c6 = (e) => f(
|
|
|
203
203
|
), ve = (e, t) => p(
|
|
204
204
|
y3(e),
|
|
205
205
|
(o) => o.includes(t)
|
|
206
|
-
), I3 = () =>
|
|
206
|
+
), I3 = () => w(oe), Z6 = () => w(se), S6 = () => w(ce), j6 = () => w(re), C6 = () => w(le), b6 = () => w(ie), y6 = () => w(ae), I6 = () => w(ue), R6 = () => w(de), E6 = () => w(b3), T6 = (e) => w(y3(e)), D6 = (e, t) => w(ve(e, t)), N = (e) => e.ui, V1 = (e) => p(N, (t) => t.modalVisibility[e]), he = (e) => p(N, (t) => {
|
|
207
207
|
const o = t.popoverVisibility[e];
|
|
208
208
|
if (o)
|
|
209
209
|
return Object.keys(o).find((c) => o[c]);
|
|
@@ -216,7 +216,7 @@ const s6 = Z1, c6 = (e) => f(
|
|
|
216
216
|
), fe = p(N, (e) => e.error), we = p(
|
|
217
217
|
N,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
),
|
|
219
|
+
), me = p(N, (e) => e.theme), pe = (e) => p(N, (t) => t.syncState.includes(e)), _6 = () => w(V1("showShutdownModal")), P6 = () => w(V1("showIncomingCallModal")), L6 = (e) => w(V1(e)), $6 = (e) => w(he(e)), A6 = (e, t) => w(ge(e, t)), Me = () => w(fe), xe = () => w(we), B6 = () => w(me), Ze = (e) => w(pe(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -225,7 +225,7 @@ const s6 = Z1, c6 = (e) => f(
|
|
|
225
225
|
},
|
|
226
226
|
popoverVisibility: {},
|
|
227
227
|
syncState: []
|
|
228
|
-
}, R3 =
|
|
228
|
+
}, R3 = u1({
|
|
229
229
|
name: "ui",
|
|
230
230
|
initialState: Se,
|
|
231
231
|
reducers: {
|
|
@@ -281,7 +281,7 @@ const s6 = Z1, c6 = (e) => f(
|
|
|
281
281
|
loginMode: "",
|
|
282
282
|
modes: {}
|
|
283
283
|
}
|
|
284
|
-
}, E3 =
|
|
284
|
+
}, E3 = u1({
|
|
285
285
|
name: "appConfig",
|
|
286
286
|
initialState: Ce,
|
|
287
287
|
reducers: {
|
|
@@ -289,7 +289,7 @@ const s6 = Z1, c6 = (e) => f(
|
|
|
289
289
|
e.config = t.payload;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 =
|
|
292
|
+
}), T3 = E3.actions, be = E3.reducer, v3 = {}, B1 = u1({
|
|
293
293
|
name: "devices",
|
|
294
294
|
initialState: v3,
|
|
295
295
|
reducers: {
|
|
@@ -303,7 +303,7 @@ const s6 = Z1, c6 = (e) => f(
|
|
|
303
303
|
return v3;
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
}),
|
|
306
|
+
}), f1 = {
|
|
307
307
|
setDeviceState: B1.actions.setDeviceState,
|
|
308
308
|
clearDevices: B1.actions.clearDevices
|
|
309
309
|
}, ye = B1.reducer;
|
|
@@ -322,7 +322,7 @@ function Re(e) {
|
|
|
322
322
|
function Ee(e, t) {
|
|
323
323
|
sessionStorage.setItem(e, t);
|
|
324
324
|
}
|
|
325
|
-
const g3 = {}, k1 =
|
|
325
|
+
const g3 = {}, k1 = u1({
|
|
326
326
|
name: "rooms",
|
|
327
327
|
initialState: g3,
|
|
328
328
|
reducers: {
|
|
@@ -336,7 +336,7 @@ const g3 = {}, k1 = a1({
|
|
|
336
336
|
return g3;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
}),
|
|
339
|
+
}), w1 = {
|
|
340
340
|
setRoomState: k1.actions.setRoomState,
|
|
341
341
|
clearRooms: k1.actions.clearRooms
|
|
342
342
|
}, Te = k1.reducer, De = {
|
|
@@ -370,7 +370,7 @@ const g3 = {}, k1 = a1({
|
|
|
370
370
|
userCode: "",
|
|
371
371
|
qrUrl: ""
|
|
372
372
|
}
|
|
373
|
-
}, D3 =
|
|
373
|
+
}, D3 = u1({
|
|
374
374
|
name: "runtimeConfig",
|
|
375
375
|
initialState: De,
|
|
376
376
|
reducers: {
|
|
@@ -448,7 +448,7 @@ const g3 = {}, k1 = a1({
|
|
|
448
448
|
);
|
|
449
449
|
return C.status === 200 && C.data ? (j(U.setRoomData(C.data)), !0) : !1;
|
|
450
450
|
} catch (C) {
|
|
451
|
-
return console.log(C), C instanceof
|
|
451
|
+
return console.log(C), C instanceof p2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), j(
|
|
452
452
|
O.setErrorMessage(
|
|
453
453
|
`Token ${Z} is invalid. Unable to join room`
|
|
454
454
|
)
|
|
@@ -461,7 +461,7 @@ const g3 = {}, k1 = a1({
|
|
|
461
461
|
}, r = () => {
|
|
462
462
|
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
463
463
|
}, i = (a) => {
|
|
464
|
-
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(
|
|
464
|
+
a(O.setShowReconnect(!0)), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState());
|
|
465
465
|
}, v = (a, Z) => {
|
|
466
466
|
const j = a(), C = Z ?? j.runtimeConfig.roomData.roomKey, { clientId: b } = j.runtimeConfig.roomData, x = j.runtimeConfig.websocket.isConnected;
|
|
467
467
|
if (!Z || !x || !b) {
|
|
@@ -479,7 +479,7 @@ const g3 = {}, k1 = a1({
|
|
|
479
479
|
content: null
|
|
480
480
|
})
|
|
481
481
|
);
|
|
482
|
-
},
|
|
482
|
+
}, f = async (a, Z) => {
|
|
483
483
|
console.log("WebSocket middleware: Attempting to connect...");
|
|
484
484
|
const j = Z(), { apiPath: C } = j.appConfig.config, { serverIsRunningOnProcessorHardware: b } = j.runtimeConfig;
|
|
485
485
|
if (!C || !e.token) {
|
|
@@ -577,7 +577,7 @@ const g3 = {}, k1 = a1({
|
|
|
577
577
|
O.setErrorMessage(
|
|
578
578
|
"Connection lost. Attempting to reconnect..."
|
|
579
579
|
)
|
|
580
|
-
), a(U.setWebsocketIsConnected(!1)), a(
|
|
580
|
+
), a(U.setWebsocketIsConnected(!1)), a(f1.clearDevices()), a(w1.clearRooms()), a(O.clearAllModals()), a(O.clearSyncState()), c(a);
|
|
581
581
|
}, K.onmessage = (B) => {
|
|
582
582
|
try {
|
|
583
583
|
const D = JSON.parse(B.data);
|
|
@@ -595,7 +595,7 @@ const g3 = {}, k1 = a1({
|
|
|
595
595
|
);
|
|
596
596
|
break;
|
|
597
597
|
case "/system/roomKey":
|
|
598
|
-
a(
|
|
598
|
+
a(w1.clearRooms()), a(f1.clearDevices()), a(O.clearSyncState()), a(
|
|
599
599
|
U.setCurrentRoomKey(
|
|
600
600
|
D.content
|
|
601
601
|
)
|
|
@@ -630,9 +630,9 @@ const g3 = {}, k1 = a1({
|
|
|
630
630
|
z || console.log(
|
|
631
631
|
"WebSocket middleware: No handlers found for event type",
|
|
632
632
|
D.type
|
|
633
|
-
), z && Object.values(z).forEach((
|
|
633
|
+
), z && Object.values(z).forEach((o1) => {
|
|
634
634
|
try {
|
|
635
|
-
|
|
635
|
+
o1(D);
|
|
636
636
|
} catch (C1) {
|
|
637
637
|
console.error(
|
|
638
638
|
"WebSocket middleware: Event handler error",
|
|
@@ -640,7 +640,7 @@ const g3 = {}, k1 = a1({
|
|
|
640
640
|
);
|
|
641
641
|
}
|
|
642
642
|
});
|
|
643
|
-
} else D.type.startsWith("/room/") ? a(
|
|
643
|
+
} else D.type.startsWith("/room/") ? a(w1.setRoomState(D)) : D.type.startsWith("/device/") && a(f1.setDeviceState(D));
|
|
644
644
|
} catch (D) {
|
|
645
645
|
console.error("WebSocket middleware: Message handling error", D);
|
|
646
646
|
}
|
|
@@ -650,7 +650,7 @@ const g3 = {}, k1 = a1({
|
|
|
650
650
|
}
|
|
651
651
|
}, h = () => {
|
|
652
652
|
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
653
|
-
},
|
|
653
|
+
}, d = (a, Z, j) => {
|
|
654
654
|
const C = j(), b = C.runtimeConfig.websocket.isConnected, x = C.runtimeConfig.roomData.clientId;
|
|
655
655
|
e.client && b ? e.client.send(
|
|
656
656
|
JSON.stringify({ type: a, clientId: x, content: Z })
|
|
@@ -676,14 +676,14 @@ const g3 = {}, k1 = a1({
|
|
|
676
676
|
switch (b.type) {
|
|
677
677
|
case _3: {
|
|
678
678
|
let W = new URLSearchParams(window.location.search).get("token");
|
|
679
|
-
W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await
|
|
679
|
+
W ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, W)) : (W = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = W, await t(a.dispatch), await f(a.dispatch, a.getState);
|
|
680
680
|
break;
|
|
681
681
|
}
|
|
682
682
|
case P3:
|
|
683
683
|
h();
|
|
684
684
|
break;
|
|
685
685
|
case L3:
|
|
686
|
-
|
|
686
|
+
d(
|
|
687
687
|
b.payload.messageType,
|
|
688
688
|
b.payload.content,
|
|
689
689
|
a.getState
|
|
@@ -768,7 +768,7 @@ function O6() {
|
|
|
768
768
|
return !0;
|
|
769
769
|
};
|
|
770
770
|
}
|
|
771
|
-
var
|
|
771
|
+
var m1 = { exports: {} }, l1 = {};
|
|
772
772
|
/**
|
|
773
773
|
* @license React
|
|
774
774
|
* react-jsx-runtime.production.min.js
|
|
@@ -780,19 +780,19 @@ var w1 = { exports: {} }, r1 = {};
|
|
|
780
780
|
*/
|
|
781
781
|
var w3;
|
|
782
782
|
function We() {
|
|
783
|
-
if (w3) return
|
|
783
|
+
if (w3) return l1;
|
|
784
784
|
w3 = 1;
|
|
785
785
|
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
786
|
-
function v(
|
|
786
|
+
function v(f, h, d) {
|
|
787
787
|
var M, P = {}, H = null, a = null;
|
|
788
|
-
|
|
788
|
+
d !== void 0 && (H = "" + d), h.key !== void 0 && (H = "" + h.key), h.ref !== void 0 && (a = h.ref);
|
|
789
789
|
for (M in h) c.call(h, M) && !i.hasOwnProperty(M) && (P[M] = h[M]);
|
|
790
|
-
if (
|
|
791
|
-
return { $$typeof: t, type:
|
|
790
|
+
if (f && f.defaultProps) for (M in h = f.defaultProps, h) P[M] === void 0 && (P[M] = h[M]);
|
|
791
|
+
return { $$typeof: t, type: f, key: H, ref: a, props: P, _owner: r.current };
|
|
792
792
|
}
|
|
793
|
-
return
|
|
793
|
+
return l1.Fragment = o, l1.jsx = v, l1.jsxs = v, l1;
|
|
794
794
|
}
|
|
795
|
-
var
|
|
795
|
+
var i1 = {};
|
|
796
796
|
/**
|
|
797
797
|
* @license React
|
|
798
798
|
* react-jsx-runtime.development.js
|
|
@@ -802,10 +802,10 @@ var l1 = {};
|
|
|
802
802
|
* This source code is licensed under the MIT license found in the
|
|
803
803
|
* LICENSE file in the root directory of this source tree.
|
|
804
804
|
*/
|
|
805
|
-
var
|
|
805
|
+
var m3;
|
|
806
806
|
function Ve() {
|
|
807
|
-
return
|
|
808
|
-
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), v = Symbol.for("react.provider"),
|
|
807
|
+
return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
808
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
|
|
809
809
|
function C(s) {
|
|
810
810
|
if (s === null || typeof s != "object")
|
|
811
811
|
return null;
|
|
@@ -815,36 +815,36 @@ function Ve() {
|
|
|
815
815
|
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
816
816
|
function x(s) {
|
|
817
817
|
{
|
|
818
|
-
for (var l = arguments.length,
|
|
819
|
-
|
|
820
|
-
W("error", s,
|
|
818
|
+
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), m = 1; m < l; m++)
|
|
819
|
+
u[m - 1] = arguments[m];
|
|
820
|
+
W("error", s, u);
|
|
821
821
|
}
|
|
822
822
|
}
|
|
823
|
-
function W(s, l,
|
|
823
|
+
function W(s, l, u) {
|
|
824
824
|
{
|
|
825
|
-
var
|
|
826
|
-
E !== "" && (l += "%s",
|
|
827
|
-
var T =
|
|
825
|
+
var m = b.ReactDebugCurrentFrame, E = m.getStackAddendum();
|
|
826
|
+
E !== "" && (l += "%s", u = u.concat([E]));
|
|
827
|
+
var T = u.map(function(y) {
|
|
828
828
|
return String(y);
|
|
829
829
|
});
|
|
830
830
|
T.unshift("Warning: " + l), Function.prototype.apply.call(console[s], console, T);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
var j1 = !1, K = !1, B = !1, D = !1, z = !1,
|
|
834
|
-
|
|
833
|
+
var j1 = !1, K = !1, B = !1, D = !1, z = !1, o1;
|
|
834
|
+
o1 = Symbol.for("react.module.reference");
|
|
835
835
|
function C1(s) {
|
|
836
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || z || s === r || s ===
|
|
836
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === i || z || s === r || s === d || s === M || D || s === a || j1 || K || B || typeof s == "object" && s !== null && (s.$$typeof === H || s.$$typeof === P || s.$$typeof === v || s.$$typeof === f || s.$$typeof === h || // This needs to include all possible module reference object
|
|
837
837
|
// types supported by any Flight configuration anywhere since
|
|
838
838
|
// we don't know which Flight build this will end up being used
|
|
839
839
|
// with.
|
|
840
|
-
s.$$typeof ===
|
|
840
|
+
s.$$typeof === o1 || s.getModuleId !== void 0));
|
|
841
841
|
}
|
|
842
|
-
function U3(s, l,
|
|
843
|
-
var
|
|
844
|
-
if (
|
|
845
|
-
return
|
|
842
|
+
function U3(s, l, u) {
|
|
843
|
+
var m = s.displayName;
|
|
844
|
+
if (m)
|
|
845
|
+
return m;
|
|
846
846
|
var E = l.displayName || l.name || "";
|
|
847
|
-
return E !== "" ?
|
|
847
|
+
return E !== "" ? u + "(" + E + ")" : u;
|
|
848
848
|
}
|
|
849
849
|
function U1(s) {
|
|
850
850
|
return s.displayName || "Context";
|
|
@@ -865,24 +865,24 @@ function Ve() {
|
|
|
865
865
|
return "Profiler";
|
|
866
866
|
case r:
|
|
867
867
|
return "StrictMode";
|
|
868
|
-
case
|
|
868
|
+
case d:
|
|
869
869
|
return "Suspense";
|
|
870
870
|
case M:
|
|
871
871
|
return "SuspenseList";
|
|
872
872
|
}
|
|
873
873
|
if (typeof s == "object")
|
|
874
874
|
switch (s.$$typeof) {
|
|
875
|
-
case
|
|
875
|
+
case f:
|
|
876
876
|
var l = s;
|
|
877
877
|
return U1(l) + ".Consumer";
|
|
878
878
|
case v:
|
|
879
|
-
var
|
|
880
|
-
return U1(
|
|
879
|
+
var u = s;
|
|
880
|
+
return U1(u._context) + ".Provider";
|
|
881
881
|
case h:
|
|
882
882
|
return U3(s, s.render, "ForwardRef");
|
|
883
883
|
case P:
|
|
884
|
-
var
|
|
885
|
-
return
|
|
884
|
+
var m = s.displayName || null;
|
|
885
|
+
return m !== null ? m : J(s.type) || "Memo";
|
|
886
886
|
case H: {
|
|
887
887
|
var E = s, T = E._payload, y = E._init;
|
|
888
888
|
try {
|
|
@@ -894,13 +894,13 @@ function Ve() {
|
|
|
894
894
|
}
|
|
895
895
|
return null;
|
|
896
896
|
}
|
|
897
|
-
var X = Object.assign,
|
|
897
|
+
var X = Object.assign, s1 = 0, H1, F1, K1, q1, G1, Y1, z1;
|
|
898
898
|
function J1() {
|
|
899
899
|
}
|
|
900
900
|
J1.__reactDisabledLog = !0;
|
|
901
901
|
function H3() {
|
|
902
902
|
{
|
|
903
|
-
if (
|
|
903
|
+
if (s1 === 0) {
|
|
904
904
|
H1 = console.log, F1 = console.info, K1 = console.warn, q1 = console.error, G1 = console.group, Y1 = console.groupCollapsed, z1 = console.groupEnd;
|
|
905
905
|
var s = {
|
|
906
906
|
configurable: !0,
|
|
@@ -918,12 +918,12 @@ function Ve() {
|
|
|
918
918
|
groupEnd: s
|
|
919
919
|
});
|
|
920
920
|
}
|
|
921
|
-
|
|
921
|
+
s1++;
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
924
|
function F3() {
|
|
925
925
|
{
|
|
926
|
-
if (
|
|
926
|
+
if (s1--, s1 === 0) {
|
|
927
927
|
var s = {
|
|
928
928
|
configurable: !0,
|
|
929
929
|
enumerable: !0,
|
|
@@ -953,37 +953,37 @@ function Ve() {
|
|
|
953
953
|
})
|
|
954
954
|
});
|
|
955
955
|
}
|
|
956
|
-
|
|
956
|
+
s1 < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
959
|
var b1 = b.ReactCurrentDispatcher, y1;
|
|
960
|
-
function
|
|
960
|
+
function d1(s, l, u) {
|
|
961
961
|
{
|
|
962
962
|
if (y1 === void 0)
|
|
963
963
|
try {
|
|
964
964
|
throw Error();
|
|
965
965
|
} catch (E) {
|
|
966
|
-
var
|
|
967
|
-
y1 =
|
|
966
|
+
var m = E.stack.trim().match(/\n( *(at )?)/);
|
|
967
|
+
y1 = m && m[1] || "";
|
|
968
968
|
}
|
|
969
969
|
return `
|
|
970
970
|
` + y1 + s;
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
|
-
var I1 = !1,
|
|
973
|
+
var I1 = !1, v1;
|
|
974
974
|
{
|
|
975
975
|
var K3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
976
|
-
|
|
976
|
+
v1 = new K3();
|
|
977
977
|
}
|
|
978
978
|
function X1(s, l) {
|
|
979
979
|
if (!s || I1)
|
|
980
980
|
return "";
|
|
981
981
|
{
|
|
982
|
-
var
|
|
983
|
-
if (
|
|
984
|
-
return
|
|
982
|
+
var u = v1.get(s);
|
|
983
|
+
if (u !== void 0)
|
|
984
|
+
return u;
|
|
985
985
|
}
|
|
986
|
-
var
|
|
986
|
+
var m;
|
|
987
987
|
I1 = !0;
|
|
988
988
|
var E = Error.prepareStackTrace;
|
|
989
989
|
Error.prepareStackTrace = void 0;
|
|
@@ -1002,14 +1002,14 @@ function Ve() {
|
|
|
1002
1002
|
try {
|
|
1003
1003
|
Reflect.construct(y, []);
|
|
1004
1004
|
} catch (V) {
|
|
1005
|
-
|
|
1005
|
+
m = V;
|
|
1006
1006
|
}
|
|
1007
1007
|
Reflect.construct(s, [], y);
|
|
1008
1008
|
} else {
|
|
1009
1009
|
try {
|
|
1010
1010
|
y.call();
|
|
1011
1011
|
} catch (V) {
|
|
1012
|
-
|
|
1012
|
+
m = V;
|
|
1013
1013
|
}
|
|
1014
1014
|
s.call(y.prototype);
|
|
1015
1015
|
}
|
|
@@ -1017,14 +1017,14 @@ function Ve() {
|
|
|
1017
1017
|
try {
|
|
1018
1018
|
throw Error();
|
|
1019
1019
|
} catch (V) {
|
|
1020
|
-
|
|
1020
|
+
m = V;
|
|
1021
1021
|
}
|
|
1022
1022
|
s();
|
|
1023
1023
|
}
|
|
1024
1024
|
} catch (V) {
|
|
1025
|
-
if (V &&
|
|
1025
|
+
if (V && m && typeof V.stack == "string") {
|
|
1026
1026
|
for (var S = V.stack.split(`
|
|
1027
|
-
`), k =
|
|
1027
|
+
`), k = m.stack.split(`
|
|
1028
1028
|
`), L = S.length - 1, $ = k.length - 1; L >= 1 && $ >= 0 && S[L] !== k[$]; )
|
|
1029
1029
|
$--;
|
|
1030
1030
|
for (; L >= 1 && $ >= 0; L--, $--)
|
|
@@ -1034,7 +1034,7 @@ function Ve() {
|
|
|
1034
1034
|
if (L--, $--, $ < 0 || S[L] !== k[$]) {
|
|
1035
1035
|
var F = `
|
|
1036
1036
|
` + S[L].replace(" at new ", " at ");
|
|
1037
|
-
return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" &&
|
|
1037
|
+
return s.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", s.displayName)), typeof s == "function" && v1.set(s, F), F;
|
|
1038
1038
|
}
|
|
1039
1039
|
while (L >= 1 && $ >= 0);
|
|
1040
1040
|
break;
|
|
@@ -1043,69 +1043,69 @@ function Ve() {
|
|
|
1043
1043
|
} finally {
|
|
1044
1044
|
I1 = !1, b1.current = T, F3(), Error.prepareStackTrace = E;
|
|
1045
1045
|
}
|
|
1046
|
-
var t1 = s ? s.displayName || s.name : "", Q = t1 ?
|
|
1047
|
-
return typeof s == "function" &&
|
|
1046
|
+
var t1 = s ? s.displayName || s.name : "", Q = t1 ? d1(t1) : "";
|
|
1047
|
+
return typeof s == "function" && v1.set(s, Q), Q;
|
|
1048
1048
|
}
|
|
1049
|
-
function q3(s, l,
|
|
1049
|
+
function q3(s, l, u) {
|
|
1050
1050
|
return X1(s, !1);
|
|
1051
1051
|
}
|
|
1052
1052
|
function G3(s) {
|
|
1053
1053
|
var l = s.prototype;
|
|
1054
1054
|
return !!(l && l.isReactComponent);
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function h1(s, l, u) {
|
|
1057
1057
|
if (s == null)
|
|
1058
1058
|
return "";
|
|
1059
1059
|
if (typeof s == "function")
|
|
1060
1060
|
return X1(s, G3(s));
|
|
1061
1061
|
if (typeof s == "string")
|
|
1062
|
-
return
|
|
1062
|
+
return d1(s);
|
|
1063
1063
|
switch (s) {
|
|
1064
|
-
case
|
|
1065
|
-
return
|
|
1064
|
+
case d:
|
|
1065
|
+
return d1("Suspense");
|
|
1066
1066
|
case M:
|
|
1067
|
-
return
|
|
1067
|
+
return d1("SuspenseList");
|
|
1068
1068
|
}
|
|
1069
1069
|
if (typeof s == "object")
|
|
1070
1070
|
switch (s.$$typeof) {
|
|
1071
1071
|
case h:
|
|
1072
1072
|
return q3(s.render);
|
|
1073
1073
|
case P:
|
|
1074
|
-
return
|
|
1074
|
+
return h1(s.type, l, u);
|
|
1075
1075
|
case H: {
|
|
1076
|
-
var
|
|
1076
|
+
var m = s, E = m._payload, T = m._init;
|
|
1077
1077
|
try {
|
|
1078
|
-
return
|
|
1078
|
+
return h1(T(E), l, u);
|
|
1079
1079
|
} catch {
|
|
1080
1080
|
}
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
1083
|
return "";
|
|
1084
1084
|
}
|
|
1085
|
-
var
|
|
1086
|
-
function
|
|
1085
|
+
var c1 = Object.prototype.hasOwnProperty, Q1 = {}, N1 = b.ReactDebugCurrentFrame;
|
|
1086
|
+
function g1(s) {
|
|
1087
1087
|
if (s) {
|
|
1088
|
-
var l = s._owner,
|
|
1089
|
-
N1.setExtraStackFrame(
|
|
1088
|
+
var l = s._owner, u = h1(s.type, s._source, l ? l.type : null);
|
|
1089
|
+
N1.setExtraStackFrame(u);
|
|
1090
1090
|
} else
|
|
1091
1091
|
N1.setExtraStackFrame(null);
|
|
1092
1092
|
}
|
|
1093
|
-
function Y3(s, l,
|
|
1093
|
+
function Y3(s, l, u, m, E) {
|
|
1094
1094
|
{
|
|
1095
|
-
var T = Function.call.bind(
|
|
1095
|
+
var T = Function.call.bind(c1);
|
|
1096
1096
|
for (var y in s)
|
|
1097
1097
|
if (T(s, y)) {
|
|
1098
1098
|
var S = void 0;
|
|
1099
1099
|
try {
|
|
1100
1100
|
if (typeof s[y] != "function") {
|
|
1101
|
-
var k = Error((
|
|
1101
|
+
var k = Error((m || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1102
1102
|
throw k.name = "Invariant Violation", k;
|
|
1103
1103
|
}
|
|
1104
|
-
S = s[y](l, y,
|
|
1104
|
+
S = s[y](l, y, m, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1105
1105
|
} catch (L) {
|
|
1106
1106
|
S = L;
|
|
1107
1107
|
}
|
|
1108
|
-
S && !(S instanceof Error) && (
|
|
1108
|
+
S && !(S instanceof Error) && (g1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", u, y, typeof S), g1(null)), S instanceof Error && !(S.message in Q1) && (Q1[S.message] = !0, g1(E), x("Failed %s type: %s", u, S.message), g1(null));
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
@@ -1115,8 +1115,8 @@ function Ve() {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
function J3(s) {
|
|
1117
1117
|
{
|
|
1118
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1119
|
-
return
|
|
1118
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
1119
|
+
return u;
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
1122
1122
|
function X3(s) {
|
|
@@ -1140,7 +1140,7 @@ function Ve() {
|
|
|
1140
1140
|
__source: !0
|
|
1141
1141
|
}, o3, s3;
|
|
1142
1142
|
function N3(s) {
|
|
1143
|
-
if (
|
|
1143
|
+
if (c1.call(s, "ref")) {
|
|
1144
1144
|
var l = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
1145
1145
|
if (l && l.isReactWarning)
|
|
1146
1146
|
return !1;
|
|
@@ -1148,7 +1148,7 @@ function Ve() {
|
|
|
1148
1148
|
return s.ref !== void 0;
|
|
1149
1149
|
}
|
|
1150
1150
|
function e2(s) {
|
|
1151
|
-
if (
|
|
1151
|
+
if (c1.call(s, "key")) {
|
|
1152
1152
|
var l = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
1153
1153
|
if (l && l.isReactWarning)
|
|
1154
1154
|
return !1;
|
|
@@ -1160,34 +1160,34 @@ function Ve() {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
function n2(s, l) {
|
|
1162
1162
|
{
|
|
1163
|
-
var
|
|
1163
|
+
var u = function() {
|
|
1164
1164
|
o3 || (o3 = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
1165
1165
|
};
|
|
1166
|
-
|
|
1167
|
-
get:
|
|
1166
|
+
u.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
1167
|
+
get: u,
|
|
1168
1168
|
configurable: !0
|
|
1169
1169
|
});
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
1172
|
function o2(s, l) {
|
|
1173
1173
|
{
|
|
1174
|
-
var
|
|
1174
|
+
var u = function() {
|
|
1175
1175
|
s3 || (s3 = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
1176
1176
|
};
|
|
1177
|
-
|
|
1178
|
-
get:
|
|
1177
|
+
u.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
1178
|
+
get: u,
|
|
1179
1179
|
configurable: !0
|
|
1180
1180
|
});
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
|
-
var s2 = function(s, l,
|
|
1183
|
+
var s2 = function(s, l, u, m, E, T, y) {
|
|
1184
1184
|
var S = {
|
|
1185
1185
|
// This tag allows us to uniquely identify this as a React Element
|
|
1186
1186
|
$$typeof: t,
|
|
1187
1187
|
// Built-in properties that belong on the element
|
|
1188
1188
|
type: s,
|
|
1189
1189
|
key: l,
|
|
1190
|
-
ref:
|
|
1190
|
+
ref: u,
|
|
1191
1191
|
props: y,
|
|
1192
1192
|
// Record the component responsible for creating this element.
|
|
1193
1193
|
_owner: T
|
|
@@ -1201,7 +1201,7 @@ function Ve() {
|
|
|
1201
1201
|
configurable: !1,
|
|
1202
1202
|
enumerable: !1,
|
|
1203
1203
|
writable: !1,
|
|
1204
|
-
value:
|
|
1204
|
+
value: m
|
|
1205
1205
|
}), Object.defineProperty(S, "_source", {
|
|
1206
1206
|
configurable: !1,
|
|
1207
1207
|
enumerable: !1,
|
|
@@ -1209,12 +1209,12 @@ function Ve() {
|
|
|
1209
1209
|
value: E
|
|
1210
1210
|
}), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
|
|
1211
1211
|
};
|
|
1212
|
-
function c2(s, l,
|
|
1212
|
+
function c2(s, l, u, m, E) {
|
|
1213
1213
|
{
|
|
1214
1214
|
var T, y = {}, S = null, k = null;
|
|
1215
|
-
|
|
1215
|
+
u !== void 0 && (t3(u), S = "" + u), e2(l) && (t3(l.key), S = "" + l.key), N3(l) && (k = l.ref, t2(l, E));
|
|
1216
1216
|
for (T in l)
|
|
1217
|
-
|
|
1217
|
+
c1.call(l, T) && !Q3.hasOwnProperty(T) && (y[T] = l[T]);
|
|
1218
1218
|
if (s && s.defaultProps) {
|
|
1219
1219
|
var L = s.defaultProps;
|
|
1220
1220
|
for (T in L)
|
|
@@ -1224,14 +1224,14 @@ function Ve() {
|
|
|
1224
1224
|
var $ = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1225
1225
|
S && n2(y, $), k && o2(y, $);
|
|
1226
1226
|
}
|
|
1227
|
-
return s2(s, S, k, E,
|
|
1227
|
+
return s2(s, S, k, E, m, n3.current, y);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
var E1 = b.ReactCurrentOwner, c3 = b.ReactDebugCurrentFrame;
|
|
1231
1231
|
function e1(s) {
|
|
1232
1232
|
if (s) {
|
|
1233
|
-
var l = s._owner,
|
|
1234
|
-
c3.setExtraStackFrame(
|
|
1233
|
+
var l = s._owner, u = h1(s.type, s._source, l ? l.type : null);
|
|
1234
|
+
c3.setExtraStackFrame(u);
|
|
1235
1235
|
} else
|
|
1236
1236
|
c3.setExtraStackFrame(null);
|
|
1237
1237
|
}
|
|
@@ -1260,10 +1260,10 @@ Check the render method of \`` + s + "`.";
|
|
|
1260
1260
|
{
|
|
1261
1261
|
var l = r3();
|
|
1262
1262
|
if (!l) {
|
|
1263
|
-
var
|
|
1264
|
-
|
|
1263
|
+
var u = typeof s == "string" ? s : s.displayName || s.name;
|
|
1264
|
+
u && (l = `
|
|
1265
1265
|
|
|
1266
|
-
Check the top-level render call using <` +
|
|
1266
|
+
Check the top-level render call using <` + u + ">.");
|
|
1267
1267
|
}
|
|
1268
1268
|
return l;
|
|
1269
1269
|
}
|
|
@@ -1273,12 +1273,12 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1273
1273
|
if (!s._store || s._store.validated || s.key != null)
|
|
1274
1274
|
return;
|
|
1275
1275
|
s._store.validated = !0;
|
|
1276
|
-
var
|
|
1277
|
-
if (l3[
|
|
1276
|
+
var u = l2(l);
|
|
1277
|
+
if (l3[u])
|
|
1278
1278
|
return;
|
|
1279
|
-
l3[
|
|
1280
|
-
var
|
|
1281
|
-
s && s._owner && s._owner !== E1.current && (
|
|
1279
|
+
l3[u] = !0;
|
|
1280
|
+
var m = "";
|
|
1281
|
+
s && s._owner && s._owner !== E1.current && (m = " It was passed a child from " + J(s._owner.type) + "."), e1(s), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, m), e1(null);
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
1284
|
function a3(s, l) {
|
|
@@ -1286,9 +1286,9 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1286
1286
|
if (typeof s != "object")
|
|
1287
1287
|
return;
|
|
1288
1288
|
if (R1(s))
|
|
1289
|
-
for (var
|
|
1290
|
-
var
|
|
1291
|
-
D1(
|
|
1289
|
+
for (var u = 0; u < s.length; u++) {
|
|
1290
|
+
var m = s[u];
|
|
1291
|
+
D1(m) && i3(m, l);
|
|
1292
1292
|
}
|
|
1293
1293
|
else if (D1(s))
|
|
1294
1294
|
s._store && (s._store.validated = !0);
|
|
@@ -1305,18 +1305,18 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1305
1305
|
var l = s.type;
|
|
1306
1306
|
if (l == null || typeof l == "string")
|
|
1307
1307
|
return;
|
|
1308
|
-
var
|
|
1308
|
+
var u;
|
|
1309
1309
|
if (typeof l == "function")
|
|
1310
|
-
|
|
1310
|
+
u = l.propTypes;
|
|
1311
1311
|
else if (typeof l == "object" && (l.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1312
1312
|
// Inner props are checked in the reconciler.
|
|
1313
1313
|
l.$$typeof === P))
|
|
1314
|
-
|
|
1314
|
+
u = l.propTypes;
|
|
1315
1315
|
else
|
|
1316
1316
|
return;
|
|
1317
|
-
if (
|
|
1318
|
-
var
|
|
1319
|
-
Y3(
|
|
1317
|
+
if (u) {
|
|
1318
|
+
var m = J(l);
|
|
1319
|
+
Y3(u, s.props, "prop", m, s);
|
|
1320
1320
|
} else if (l.PropTypes !== void 0 && !T1) {
|
|
1321
1321
|
T1 = !0;
|
|
1322
1322
|
var E = J(l);
|
|
@@ -1327,10 +1327,10 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1327
1327
|
}
|
|
1328
1328
|
function a2(s) {
|
|
1329
1329
|
{
|
|
1330
|
-
for (var l = Object.keys(s.props),
|
|
1331
|
-
var
|
|
1332
|
-
if (
|
|
1333
|
-
e1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
1330
|
+
for (var l = Object.keys(s.props), u = 0; u < l.length; u++) {
|
|
1331
|
+
var m = l[u];
|
|
1332
|
+
if (m !== "children" && m !== "key") {
|
|
1333
|
+
e1(s), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), e1(null);
|
|
1334
1334
|
break;
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
@@ -1338,7 +1338,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
1340
|
var u3 = {};
|
|
1341
|
-
function d3(s, l,
|
|
1341
|
+
function d3(s, l, u, m, E, T) {
|
|
1342
1342
|
{
|
|
1343
1343
|
var y = C1(s);
|
|
1344
1344
|
if (!y) {
|
|
@@ -1349,13 +1349,13 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1349
1349
|
var L;
|
|
1350
1350
|
s === null ? L = "null" : R1(s) ? L = "array" : s !== void 0 && s.$$typeof === t ? (L = "<" + (J(s.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : L = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, S);
|
|
1351
1351
|
}
|
|
1352
|
-
var $ = c2(s, l,
|
|
1352
|
+
var $ = c2(s, l, u, E, T);
|
|
1353
1353
|
if ($ == null)
|
|
1354
1354
|
return $;
|
|
1355
1355
|
if (y) {
|
|
1356
1356
|
var F = l.children;
|
|
1357
1357
|
if (F !== void 0)
|
|
1358
|
-
if (
|
|
1358
|
+
if (m)
|
|
1359
1359
|
if (R1(F)) {
|
|
1360
1360
|
for (var t1 = 0; t1 < F.length; t1++)
|
|
1361
1361
|
a3(F[t1], s);
|
|
@@ -1365,7 +1365,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
1365
1365
|
else
|
|
1366
1366
|
a3(F, s);
|
|
1367
1367
|
}
|
|
1368
|
-
if (
|
|
1368
|
+
if (c1.call(l, "key")) {
|
|
1369
1369
|
var Q = J(s), V = Object.keys(l).filter(function(f2) {
|
|
1370
1370
|
return f2 !== "key";
|
|
1371
1371
|
}), _1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
@@ -1382,19 +1382,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1382
1382
|
return s === c ? a2($) : i2($), $;
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
|
-
function u2(s, l,
|
|
1386
|
-
return d3(s, l,
|
|
1385
|
+
function u2(s, l, u) {
|
|
1386
|
+
return d3(s, l, u, !0);
|
|
1387
1387
|
}
|
|
1388
|
-
function d2(s, l,
|
|
1389
|
-
return d3(s, l,
|
|
1388
|
+
function d2(s, l, u) {
|
|
1389
|
+
return d3(s, l, u, !1);
|
|
1390
1390
|
}
|
|
1391
1391
|
var v2 = d2, h2 = u2;
|
|
1392
|
-
|
|
1393
|
-
}()),
|
|
1392
|
+
i1.Fragment = c, i1.jsx = v2, i1.jsxs = h2;
|
|
1393
|
+
}()), i1;
|
|
1394
1394
|
}
|
|
1395
|
-
var
|
|
1395
|
+
var p3;
|
|
1396
1396
|
function Ue() {
|
|
1397
|
-
return
|
|
1397
|
+
return p3 || (p3 = 1, process.env.NODE_ENV === "production" ? m1.exports = We() : m1.exports = Ve()), m1.exports;
|
|
1398
1398
|
}
|
|
1399
1399
|
var n = Ue();
|
|
1400
1400
|
const He = "_mwfit_ppa3l_1", Fe = {
|
|
@@ -1416,30 +1416,30 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1416
1416
|
reconnect: () => null
|
|
1417
1417
|
}), qe = ({ children: e }) => {
|
|
1418
1418
|
const t = W1(), o = I3();
|
|
1419
|
-
|
|
1419
|
+
M1(() => {
|
|
1420
1420
|
t(k3());
|
|
1421
1421
|
}, [t]);
|
|
1422
|
-
const c =
|
|
1423
|
-
(h,
|
|
1424
|
-
t(Pe(h,
|
|
1422
|
+
const c = r1(
|
|
1423
|
+
(h, d) => {
|
|
1424
|
+
t(Pe(h, d));
|
|
1425
1425
|
},
|
|
1426
1426
|
[t]
|
|
1427
|
-
), r =
|
|
1428
|
-
(h,
|
|
1429
|
-
c(h, { value:
|
|
1427
|
+
), r = r1(
|
|
1428
|
+
(h, d) => {
|
|
1429
|
+
c(h, { value: d });
|
|
1430
1430
|
},
|
|
1431
1431
|
[c]
|
|
1432
|
-
), i =
|
|
1433
|
-
(h,
|
|
1434
|
-
t(Le(h,
|
|
1432
|
+
), i = r1(
|
|
1433
|
+
(h, d, M) => {
|
|
1434
|
+
t(Le(h, d, M));
|
|
1435
1435
|
},
|
|
1436
1436
|
[t]
|
|
1437
|
-
), v =
|
|
1438
|
-
(h,
|
|
1439
|
-
t($e(h,
|
|
1437
|
+
), v = r1(
|
|
1438
|
+
(h, d) => {
|
|
1439
|
+
t($e(h, d));
|
|
1440
1440
|
},
|
|
1441
1441
|
[t]
|
|
1442
|
-
),
|
|
1442
|
+
), f = r1(() => {
|
|
1443
1443
|
t(Ae());
|
|
1444
1444
|
}, [t]);
|
|
1445
1445
|
return /* @__PURE__ */ n.jsx(
|
|
@@ -1450,7 +1450,7 @@ const He = "_mwfit_ppa3l_1", Fe = {
|
|
|
1450
1450
|
sendSimpleMessage: r,
|
|
1451
1451
|
addEventHandler: i,
|
|
1452
1452
|
removeEventHandler: v,
|
|
1453
|
-
reconnect:
|
|
1453
|
+
reconnect: f
|
|
1454
1454
|
},
|
|
1455
1455
|
children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
|
|
1456
1456
|
}
|
|
@@ -1471,15 +1471,15 @@ function Ge({
|
|
|
1471
1471
|
o == null || o(), r.current = null;
|
|
1472
1472
|
}, c);
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1474
|
+
function f() {
|
|
1475
1475
|
i.current = !1, t == null || t(), r.current && (clearTimeout(r.current), r.current = null);
|
|
1476
1476
|
}
|
|
1477
1477
|
function h() {
|
|
1478
|
-
i.current &&
|
|
1478
|
+
i.current && f();
|
|
1479
1479
|
}
|
|
1480
1480
|
return {
|
|
1481
1481
|
onPointerDown: v,
|
|
1482
|
-
onPointerUp:
|
|
1482
|
+
onPointerUp: f,
|
|
1483
1483
|
onPointerLeave: h
|
|
1484
1484
|
};
|
|
1485
1485
|
}
|
|
@@ -1497,7 +1497,7 @@ function g(e, t) {
|
|
|
1497
1497
|
}
|
|
1498
1498
|
function S1(e) {
|
|
1499
1499
|
const { sendMessage: t } = R(), o = g(`${e}`, "volumeUp"), c = g(`${e}`, "volumeDown");
|
|
1500
|
-
return
|
|
1500
|
+
return n1(() => ({
|
|
1501
1501
|
volumeUp: o,
|
|
1502
1502
|
volumeDown: c,
|
|
1503
1503
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
@@ -1505,7 +1505,7 @@ function S1(e) {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
function V6(e) {
|
|
1507
1507
|
const { sendMessage: t } = R(), o = g(`${e}`, "volumeUp"), c = g(`${e}`, "volumeDown");
|
|
1508
|
-
return
|
|
1508
|
+
return n1(() => ({
|
|
1509
1509
|
volumeUp: o,
|
|
1510
1510
|
volumeDown: c,
|
|
1511
1511
|
muteToggle: () => t(`${e}/muteToggle`, null)
|
|
@@ -1513,7 +1513,7 @@ function V6(e) {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
function W3(e, t) {
|
|
1515
1515
|
const { sendMessage: o, sendSimpleMessage: c } = R(), r = S1(e);
|
|
1516
|
-
return
|
|
1516
|
+
return n1(() => {
|
|
1517
1517
|
if (!r) {
|
|
1518
1518
|
console.log("baseVolume is undefined");
|
|
1519
1519
|
return;
|
|
@@ -1533,7 +1533,7 @@ function W3(e, t) {
|
|
|
1533
1533
|
}
|
|
1534
1534
|
function U6(e, t) {
|
|
1535
1535
|
const { sendMessage: o, sendSimpleMessage: c } = R(), r = S1(e);
|
|
1536
|
-
return
|
|
1536
|
+
return n1(() => {
|
|
1537
1537
|
if (!r) {
|
|
1538
1538
|
console.log("baseVolume is undefined");
|
|
1539
1539
|
return;
|
|
@@ -1552,8 +1552,11 @@ function U6(e, t) {
|
|
|
1552
1552
|
}, [r, t, e, o, c]);
|
|
1553
1553
|
}
|
|
1554
1554
|
function Ye(e) {
|
|
1555
|
-
const t = _(e), o = `/device/${e}
|
|
1556
|
-
|
|
1555
|
+
const t = _(e), o = `/device/${e}`, c = n1(() => {
|
|
1556
|
+
if (t)
|
|
1557
|
+
return t.volume;
|
|
1558
|
+
}, [t]);
|
|
1559
|
+
return W3(o, c);
|
|
1557
1560
|
}
|
|
1558
1561
|
function V3(e) {
|
|
1559
1562
|
const { sendMessage: t } = R();
|
|
@@ -1576,8 +1579,8 @@ function ze(e) {
|
|
|
1576
1579
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1577
1580
|
}, r = () => {
|
|
1578
1581
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
1579
|
-
Object.keys(o == null ? void 0 : o.levelControls).forEach((
|
|
1580
|
-
t(`/device/${e}/${
|
|
1582
|
+
Object.keys(o == null ? void 0 : o.levelControls).forEach((f) => {
|
|
1583
|
+
t(`/device/${e}/${f}/fullStatus`, null);
|
|
1581
1584
|
});
|
|
1582
1585
|
};
|
|
1583
1586
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
@@ -1596,7 +1599,7 @@ function H6(e) {
|
|
|
1596
1599
|
}
|
|
1597
1600
|
const F6 = ({ className: e }) => {
|
|
1598
1601
|
const [t, o] = Y();
|
|
1599
|
-
return
|
|
1602
|
+
return M1(() => {
|
|
1600
1603
|
setInterval(() => {
|
|
1601
1604
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1602
1605
|
o(c);
|
|
@@ -1608,8 +1611,8 @@ const F6 = ({ className: e }) => {
|
|
|
1608
1611
|
};
|
|
1609
1612
|
function K6(e) {
|
|
1610
1613
|
const { sendMessage: t } = R(), o = _(e), c = `/device/${e}`;
|
|
1611
|
-
return o ? { state: o, recallPreset: (v,
|
|
1612
|
-
t(`${c}/presets/recall`, { deviceKey: v, preset:
|
|
1614
|
+
return o ? { state: o, recallPreset: (v, f) => {
|
|
1615
|
+
t(`${c}/presets/recall`, { deviceKey: v, preset: f });
|
|
1613
1616
|
}, savePresets: (v) => {
|
|
1614
1617
|
t(`${c}/presets/save`, v);
|
|
1615
1618
|
} } : void 0;
|
|
@@ -1620,8 +1623,8 @@ function q6(e) {
|
|
|
1620
1623
|
return { endpointState: t };
|
|
1621
1624
|
}
|
|
1622
1625
|
function G6(e) {
|
|
1623
|
-
const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown"), r = g(t, "lastChan"), i = g(t, "guide"), v = g(t, "info"),
|
|
1624
|
-
return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: v, exit:
|
|
1626
|
+
const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown"), r = g(t, "lastChan"), i = g(t, "guide"), v = g(t, "info"), f = g(t, "exit");
|
|
1627
|
+
return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: v, exit: f };
|
|
1625
1628
|
}
|
|
1626
1629
|
function Y6(e) {
|
|
1627
1630
|
const t = `/device/${e}`, o = g(t, "red"), c = g(t, "green"), r = g(t, "yellow"), i = g(t, "blue");
|
|
@@ -1640,20 +1643,20 @@ function J6(e) {
|
|
|
1640
1643
|
return t.deviceInfo || void 0;
|
|
1641
1644
|
}
|
|
1642
1645
|
function X6(e) {
|
|
1643
|
-
const t = `/device/${e}`, o = g(t, "up"), c = g(t, "down"), r = g(t, "left"), i = g(t, "right"), v = g(t, "select"),
|
|
1644
|
-
return { up: o, down: c, left: r, right: i, select: v, menu:
|
|
1646
|
+
const t = `/device/${e}`, o = g(t, "up"), c = g(t, "down"), r = g(t, "left"), i = g(t, "right"), v = g(t, "select"), f = g(t, "menu"), h = g(t, "exit");
|
|
1647
|
+
return { up: o, down: c, left: r, right: i, select: v, menu: f, exit: h };
|
|
1645
1648
|
}
|
|
1646
1649
|
function Q6(e) {
|
|
1647
|
-
const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e), r = g(o, "cameraUp"), i = g(o, "cameraDown"), v = g(o, "cameraLeft"),
|
|
1650
|
+
const { sendMessage: t } = R(), o = `/device/${e}`, c = _(e), r = g(o, "cameraUp"), i = g(o, "cameraDown"), v = g(o, "cameraLeft"), f = g(o, "cameraRight"), h = g(o, "cameraZoomIn"), d = g(o, "cameraZoomOut"), M = (P) => t("/camera/recallPreset", P);
|
|
1648
1651
|
if (c)
|
|
1649
1652
|
return {
|
|
1650
1653
|
state: c,
|
|
1651
1654
|
zoomIn: h,
|
|
1652
|
-
zoomOut:
|
|
1655
|
+
zoomOut: d,
|
|
1653
1656
|
up: r,
|
|
1654
1657
|
down: i,
|
|
1655
1658
|
left: v,
|
|
1656
|
-
right:
|
|
1659
|
+
right: f,
|
|
1657
1660
|
recallPreset: M
|
|
1658
1661
|
};
|
|
1659
1662
|
}
|
|
@@ -1727,16 +1730,16 @@ function lt(e) {
|
|
|
1727
1730
|
} };
|
|
1728
1731
|
}
|
|
1729
1732
|
function it(e) {
|
|
1730
|
-
const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"),
|
|
1733
|
+
const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), v = g(t, "num4"), f = g(t, "num5"), h = g(t, "num6"), d = g(t, "num7"), M = g(t, "num8"), P = g(t, "num9"), H = g(t, "numDash"), a = g(t, "numEnter");
|
|
1731
1734
|
return {
|
|
1732
1735
|
digit0: o,
|
|
1733
1736
|
digit1: c,
|
|
1734
1737
|
digit2: r,
|
|
1735
1738
|
digit3: i,
|
|
1736
1739
|
digit4: v,
|
|
1737
|
-
digit5:
|
|
1740
|
+
digit5: f,
|
|
1738
1741
|
digit6: h,
|
|
1739
|
-
digit7:
|
|
1742
|
+
digit7: d,
|
|
1740
1743
|
digit8: M,
|
|
1741
1744
|
digit9: P,
|
|
1742
1745
|
keypadAccessoryButton1: H,
|
|
@@ -1791,8 +1794,8 @@ function ft(e) {
|
|
|
1791
1794
|
}
|
|
1792
1795
|
function wt(e) {
|
|
1793
1796
|
const { sendMessage: t } = R(), o = Z1(e);
|
|
1794
|
-
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (
|
|
1795
|
-
t(`/room/${e}/setShutdownPromptSeconds`,
|
|
1797
|
+
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (f) => {
|
|
1798
|
+
t(`/room/${e}/setShutdownPromptSeconds`, f);
|
|
1796
1799
|
}, shutdownStart: () => {
|
|
1797
1800
|
t(`/room/${e}/shutdownStart`, null);
|
|
1798
1801
|
}, shutdownEnd: () => {
|
|
@@ -1801,7 +1804,7 @@ function wt(e) {
|
|
|
1801
1804
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1802
1805
|
} } : void 0;
|
|
1803
1806
|
}
|
|
1804
|
-
function
|
|
1807
|
+
function mt(e) {
|
|
1805
1808
|
const { sendMessage: t } = R(), o = _(e);
|
|
1806
1809
|
return o ? { switchedOutputState: o, on: () => {
|
|
1807
1810
|
t(`/device/${e}/on`, null);
|
|
@@ -1809,7 +1812,7 @@ function pt(e) {
|
|
|
1809
1812
|
t(`/device/${e}/off`, null);
|
|
1810
1813
|
} } : void 0;
|
|
1811
1814
|
}
|
|
1812
|
-
function
|
|
1815
|
+
function pt(e) {
|
|
1813
1816
|
const { sendMessage: t } = R(), o = Z1(e);
|
|
1814
1817
|
return o ? { techPasswordState: o, validatePassword: (i) => {
|
|
1815
1818
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
@@ -1831,16 +1834,16 @@ function xt(e) {
|
|
|
1831
1834
|
};
|
|
1832
1835
|
}
|
|
1833
1836
|
function Zt(e) {
|
|
1834
|
-
const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), v = g(t, "nextTrack"),
|
|
1837
|
+
const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), v = g(t, "nextTrack"), f = g(t, "rewind"), h = g(t, "ffwd"), d = g(t, "record");
|
|
1835
1838
|
return {
|
|
1836
1839
|
play: o,
|
|
1837
1840
|
pause: c,
|
|
1838
1841
|
stop: r,
|
|
1839
1842
|
prevTrack: i,
|
|
1840
1843
|
nextTrack: v,
|
|
1841
|
-
rewind:
|
|
1844
|
+
rewind: f,
|
|
1842
1845
|
fastForward: h,
|
|
1843
|
-
record:
|
|
1846
|
+
record: d
|
|
1844
1847
|
};
|
|
1845
1848
|
}
|
|
1846
1849
|
function St(e) {
|
|
@@ -1876,45 +1879,47 @@ function Ct(e) {
|
|
|
1876
1879
|
}
|
|
1877
1880
|
const bt = ({
|
|
1878
1881
|
config: e
|
|
1879
|
-
}) => {
|
|
1880
|
-
const { sendMessage:
|
|
1881
|
-
|
|
1882
|
-
|
|
1882
|
+
}, t = !0) => {
|
|
1883
|
+
const { sendMessage: o } = R(), c = n1(() => {
|
|
1884
|
+
var i, v, f, h;
|
|
1885
|
+
const r = /* @__PURE__ */ new Set();
|
|
1883
1886
|
if (!e)
|
|
1884
|
-
return;
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
u.itemKey ? o.add(u.parentDeviceKey + "--" + u.itemKey) : o.add(u.parentDeviceKey);
|
|
1887
|
+
return r;
|
|
1888
|
+
if (e.destinations && Object.values(e.destinations).forEach((d) => {
|
|
1889
|
+
r.add(d);
|
|
1890
|
+
}), e.destinationList && Object.values(e.destinationList).forEach((d) => {
|
|
1891
|
+
r.add(d.sinkKey);
|
|
1892
|
+
}), e.audioControlPointList && Object.values((i = e.audioControlPointList) == null ? void 0 : i.levelControls).forEach(
|
|
1893
|
+
(d) => {
|
|
1894
|
+
d.itemKey ? r.add(d.parentDeviceKey + "--" + d.itemKey) : r.add(d.parentDeviceKey);
|
|
1893
1895
|
}
|
|
1894
|
-
), (
|
|
1895
|
-
|
|
1896
|
-
}), (
|
|
1897
|
-
|
|
1898
|
-
}), (
|
|
1899
|
-
|
|
1900
|
-
}), e.audioCodecKey &&
|
|
1901
|
-
|
|
1896
|
+
), (v = e.touchpanelKeys) == null || v.forEach((d) => {
|
|
1897
|
+
r.add(d);
|
|
1898
|
+
}), (f = e.environmentalDevices) == null || f.forEach((d) => {
|
|
1899
|
+
d.deviceKey && r.add(d.deviceKey);
|
|
1900
|
+
}), (h = e.accessoryDeviceKeys) == null || h.forEach((d) => {
|
|
1901
|
+
r.add(d);
|
|
1902
|
+
}), e.audioCodecKey && r.add(e.audioCodecKey), e.videoCodecKey && r.add(e.videoCodecKey), e.matrixRoutingKey && r.add(e.matrixRoutingKey), e.roomCombinerKey && r.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((d) => {
|
|
1903
|
+
r.add(d);
|
|
1902
1904
|
}), e.sourceList)
|
|
1903
|
-
for (const
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1905
|
+
for (const d of Object.values(e.sourceList))
|
|
1906
|
+
d.sourceKey && d.sourceKey !== "$off" && r.add(d.sourceKey);
|
|
1907
|
+
return r;
|
|
1908
|
+
}, [e]);
|
|
1909
|
+
return M1(() => {
|
|
1910
|
+
!t || c.size === 0 || (console.log("requesting state for deviceKeys:", c), c.forEach((r) => {
|
|
1911
|
+
o(`/device/${r}/fullStatus`, { deviceKey: r });
|
|
1912
|
+
}));
|
|
1913
|
+
}, [c, t, o]), c;
|
|
1909
1914
|
};
|
|
1910
1915
|
function yt(e, t) {
|
|
1911
1916
|
const [o, c] = Y(!1), [r, i] = Y(!1);
|
|
1912
1917
|
return Z3(() => {
|
|
1913
|
-
const { current: v } = e,
|
|
1914
|
-
const h = v && v.scrollHeight > v.clientHeight,
|
|
1915
|
-
i(h ?? !1), c(
|
|
1918
|
+
const { current: v } = e, f = () => {
|
|
1919
|
+
const h = v && v.scrollHeight > v.clientHeight, d = v && v.scrollWidth > v.clientWidth;
|
|
1920
|
+
i(h ?? !1), c(d ?? !1), t && t(h ?? !1, d ?? !1);
|
|
1916
1921
|
};
|
|
1917
|
-
v &&
|
|
1922
|
+
v && f();
|
|
1918
1923
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1919
1924
|
}
|
|
1920
1925
|
function It(e, t) {
|
|
@@ -1926,19 +1931,19 @@ function Rt(e, t) {
|
|
|
1926
1931
|
return W3(c, o);
|
|
1927
1932
|
}
|
|
1928
1933
|
function Et(e) {
|
|
1929
|
-
var
|
|
1930
|
-
const [t, o] = Y(((
|
|
1934
|
+
var f, h;
|
|
1935
|
+
const [t, o] = Y(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (d) => {
|
|
1931
1936
|
const { current: M } = e;
|
|
1932
|
-
M && (console.log(M.scrollLeft), M.scrollLeft +=
|
|
1933
|
-
}, v = (
|
|
1937
|
+
M && (console.log(M.scrollLeft), M.scrollLeft += d, console.log(M.scrollLeft));
|
|
1938
|
+
}, v = (d) => {
|
|
1934
1939
|
const { current: M } = e;
|
|
1935
|
-
M && (console.log(M.scrollTop), M.scrollTop +=
|
|
1940
|
+
M && (console.log(M.scrollTop), M.scrollTop += d, console.log(M.scrollTop));
|
|
1936
1941
|
};
|
|
1937
1942
|
return Z3(() => {
|
|
1938
|
-
const { current:
|
|
1939
|
-
o((
|
|
1943
|
+
const { current: d } = e, M = () => {
|
|
1944
|
+
o((d == null ? void 0 : d.scrollLeft) ?? 0), r((d == null ? void 0 : d.scrollTop) ?? 0);
|
|
1940
1945
|
};
|
|
1941
|
-
|
|
1946
|
+
d && M();
|
|
1942
1947
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: v };
|
|
1943
1948
|
}
|
|
1944
1949
|
function Tt(e) {
|
|
@@ -1967,7 +1972,7 @@ function _t() {
|
|
|
1967
1972
|
const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1968
1973
|
c(i);
|
|
1969
1974
|
}
|
|
1970
|
-
return
|
|
1975
|
+
return M1(() => {
|
|
1971
1976
|
r();
|
|
1972
1977
|
const i = setInterval(() => {
|
|
1973
1978
|
r();
|
|
@@ -2010,14 +2015,14 @@ const Pt = () => {
|
|
|
2010
2015
|
iconClassName: r = "",
|
|
2011
2016
|
otherContentClassName: i = "",
|
|
2012
2017
|
disabled: v,
|
|
2013
|
-
feedback:
|
|
2018
|
+
feedback: f,
|
|
2014
2019
|
feedbackClassName: h,
|
|
2015
|
-
onPointerDown:
|
|
2020
|
+
onPointerDown: d,
|
|
2016
2021
|
onPointerUp: M,
|
|
2017
2022
|
onPointerLeave: P,
|
|
2018
2023
|
...H
|
|
2019
2024
|
}) => {
|
|
2020
|
-
const [a, Z] = Y(!1), j = !v &&
|
|
2025
|
+
const [a, Z] = Y(!1), j = !v && f ? h : "", C = !v && (a || f);
|
|
2021
2026
|
return /* @__PURE__ */ n.jsxs(
|
|
2022
2027
|
"button",
|
|
2023
2028
|
{
|
|
@@ -2026,7 +2031,7 @@ const Pt = () => {
|
|
|
2026
2031
|
...H,
|
|
2027
2032
|
disabled: v,
|
|
2028
2033
|
onPointerDown: (b) => {
|
|
2029
|
-
Z(!0),
|
|
2034
|
+
Z(!0), d == null || d(b);
|
|
2030
2035
|
},
|
|
2031
2036
|
onPointerUp: (b) => {
|
|
2032
2037
|
Z(!1), M == null || M(b);
|
|
@@ -2891,7 +2896,7 @@ const Pt = () => {
|
|
|
2891
2896
|
active: e,
|
|
2892
2897
|
disabled: o
|
|
2893
2898
|
}
|
|
2894
|
-
),
|
|
2899
|
+
), m8 = ({
|
|
2895
2900
|
active: e,
|
|
2896
2901
|
className: t = "",
|
|
2897
2902
|
disabled: o
|
|
@@ -2940,7 +2945,7 @@ const Pt = () => {
|
|
|
2940
2945
|
active: e,
|
|
2941
2946
|
disabled: o
|
|
2942
2947
|
}
|
|
2943
|
-
),
|
|
2948
|
+
), p8 = ({
|
|
2944
2949
|
active: e,
|
|
2945
2950
|
className: t = "",
|
|
2946
2951
|
disabled: o
|
|
@@ -3679,8 +3684,8 @@ const Pt = () => {
|
|
|
3679
3684
|
Moon: g8,
|
|
3680
3685
|
Playstation: f8,
|
|
3681
3686
|
Podium: w8,
|
|
3682
|
-
Power:
|
|
3683
|
-
Privacy:
|
|
3687
|
+
Power: m8,
|
|
3688
|
+
Privacy: p8,
|
|
3684
3689
|
Question: M8,
|
|
3685
3690
|
RightArrow: x8,
|
|
3686
3691
|
RoomPC: Z8,
|
|
@@ -3702,17 +3707,17 @@ function $t({
|
|
|
3702
3707
|
const c = t[e] ?? null;
|
|
3703
3708
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3704
3709
|
}
|
|
3705
|
-
const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29",
|
|
3710
|
+
const P8 = "_grid_1cmpp_1", L8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", B8 = "_volume_1cmpp_29", a1 = {
|
|
3706
3711
|
grid: P8,
|
|
3707
3712
|
header: L8,
|
|
3708
3713
|
content: $8,
|
|
3709
3714
|
footer: A8,
|
|
3710
3715
|
volume: B8
|
|
3711
|
-
}, At = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className:
|
|
3712
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3713
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3714
|
-
r && /* @__PURE__ */ n.jsx("div", { className:
|
|
3715
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
3716
|
+
}, At = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: a1.grid, children: [
|
|
3717
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.header, children: e }),
|
|
3718
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.content, children: o }),
|
|
3719
|
+
r && /* @__PURE__ */ n.jsx("div", { className: a1.volume, children: c }),
|
|
3720
|
+
/* @__PURE__ */ n.jsx("div", { className: a1.footer, children: t })
|
|
3716
3721
|
] }), k8 = "_grid_11w5q_1", O8 = "_header_11w5q_11", W8 = "_content_11w5q_17", p1 = {
|
|
3717
3722
|
grid: k8,
|
|
3718
3723
|
header: O8,
|
|
@@ -3771,8 +3776,8 @@ export {
|
|
|
3771
3776
|
g8 as IconMultiMoon,
|
|
3772
3777
|
f8 as IconMultiPlaystation,
|
|
3773
3778
|
w8 as IconMultiPodium,
|
|
3774
|
-
|
|
3775
|
-
|
|
3779
|
+
m8 as IconMultiPower,
|
|
3780
|
+
p8 as IconMultiPrivacy,
|
|
3776
3781
|
M8 as IconMultiQuestion,
|
|
3777
3782
|
x8 as IconMultiRightArrow,
|
|
3778
3783
|
Z8 as IconMultiRoomPC,
|
|
@@ -3803,12 +3808,12 @@ export {
|
|
|
3803
3808
|
O3 as WebsocketContext,
|
|
3804
3809
|
T3 as appConfigActions,
|
|
3805
3810
|
Be as createWebSocketMiddleware,
|
|
3806
|
-
|
|
3811
|
+
f1 as devicesActions,
|
|
3807
3812
|
Wt as getBaseLocation,
|
|
3808
3813
|
f3 as httpClient,
|
|
3809
3814
|
_8 as iconsDictionary,
|
|
3810
3815
|
Ut as roomOffSourceKey,
|
|
3811
|
-
|
|
3816
|
+
w1 as roomsActions,
|
|
3812
3817
|
U as runtimeConfigActions,
|
|
3813
3818
|
C3 as selectAllDevices,
|
|
3814
3819
|
T2 as selectApiPath,
|
|
@@ -3820,7 +3825,7 @@ export {
|
|
|
3820
3825
|
ve as selectDeviceSupportsInterface,
|
|
3821
3826
|
fe as selectError,
|
|
3822
3827
|
y3 as selectInterfacesForDevice,
|
|
3823
|
-
|
|
3828
|
+
pe as selectIsSyncStateValuePresent,
|
|
3824
3829
|
de as selectIsTouchpanel,
|
|
3825
3830
|
D2 as selectLogoPath,
|
|
3826
3831
|
V1 as selectModalVisibility,
|
|
@@ -3851,7 +3856,7 @@ export {
|
|
|
3851
3856
|
ge as selectShowPopoverById,
|
|
3852
3857
|
we as selectShowReconnect,
|
|
3853
3858
|
re as selectSystemUuid,
|
|
3854
|
-
|
|
3859
|
+
me as selectTheme,
|
|
3855
3860
|
ue as selectTouchpanelKey,
|
|
3856
3861
|
le as selectUserCode,
|
|
3857
3862
|
oe as selectWsIsConnected,
|
|
@@ -3862,7 +3867,7 @@ export {
|
|
|
3862
3867
|
Q8 as useApiPath,
|
|
3863
3868
|
X8 as useAppConfig,
|
|
3864
3869
|
W1 as useAppDispatch,
|
|
3865
|
-
|
|
3870
|
+
w as useAppSelector,
|
|
3866
3871
|
H6 as useAvrControl,
|
|
3867
3872
|
g as useButtonHeldHeartbeat,
|
|
3868
3873
|
Q6 as useCameraBase,
|
|
@@ -3911,8 +3916,8 @@ export {
|
|
|
3911
3916
|
gt as useISetTopBoxControls,
|
|
3912
3917
|
ft as useIShadesOpenCloseStop,
|
|
3913
3918
|
wt as useIShutdownPromptTimer,
|
|
3914
|
-
|
|
3915
|
-
|
|
3919
|
+
mt as useISwitchedOutput,
|
|
3920
|
+
pt as useITechPassword,
|
|
3916
3921
|
Mt as useITemperatureSensor,
|
|
3917
3922
|
xt as useITheme,
|
|
3918
3923
|
Zt as useITransport,
|
|
@@ -3925,7 +3930,7 @@ export {
|
|
|
3925
3930
|
yt as useOverflow,
|
|
3926
3931
|
e6 as usePartnerMetadata,
|
|
3927
3932
|
Ge as usePressHoldRelease,
|
|
3928
|
-
|
|
3933
|
+
m6 as useRoomAdvancedSharingActive,
|
|
3929
3934
|
l6 as useRoomAudioControlPointList,
|
|
3930
3935
|
v6 as useRoomCodecContentDestinationKey,
|
|
3931
3936
|
n6 as useRoomConfiguration,
|
|
@@ -3942,7 +3947,7 @@ export {
|
|
|
3942
3947
|
ne as useRoomLevelControls,
|
|
3943
3948
|
c6 as useRoomName,
|
|
3944
3949
|
d6 as useRoomProgramAudioDestinationKey,
|
|
3945
|
-
|
|
3950
|
+
p6 as useRoomShareState,
|
|
3946
3951
|
r6 as useRoomSourceList,
|
|
3947
3952
|
Z1 as useRoomState,
|
|
3948
3953
|
te as useRoomVolume,
|