@pepperdash/mobile-control-react-app-core 1.20.17-roomCombinationChanged-handling.1 → 1.20.17
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 +263 -288
- package/dist/mobile-control-react-app-core.umd.js +9 -9
- package/dist/shared/Icons/MultiStateIcons/index.d.ts +2 -0
- package/dist/shared/Icons/MultiStateIcons/index.d.ts.map +1 -1
- package/dist/shared/Icons/index.d.ts +1 -0
- package/dist/shared/Icons/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useAvrControl.d.ts +3 -3
- package/dist/shared/hooks/interfaces/useAvrControl.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useEndpoint.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useEndpoint.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHumiditySensor.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIHumiditySensor.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useILevelControls.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useILevelControls.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useILightingScenes.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useILightingScenes.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIMatrixRouting.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIMatrixRouting.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useITemperatureSensor.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useITemperatureSensor.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +2 -2
- package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts.map +1 -1
- package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts +1 -1
- package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts.map +1 -1
- package/dist/shared/hooks/useRoomIBasicVolumeWithFeedback.d.ts +1 -1
- package/dist/shared/hooks/useRoomIBasicVolumeWithFeedback.d.ts.map +1 -1
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/store/appConfig/appConfig.selectors.d.ts +13 -13
- package/dist/store/appConfig/appConfig.selectors.d.ts.map +1 -1
- package/dist/store/devices/devices.hooks.d.ts +1 -1
- package/dist/store/devices/devices.hooks.d.ts.map +1 -1
- package/dist/store/devices/devices.selectors.d.ts +17 -17
- package/dist/store/devices/devices.selectors.d.ts.map +1 -1
- package/dist/store/rooms/rooms.hooks.d.ts +10 -10
- package/dist/store/rooms/rooms.hooks.d.ts.map +1 -1
- package/dist/store/rooms/rooms.selectors.d.ts +182 -182
- package/dist/store/rooms/rooms.selectors.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtime.selectors.d.ts +28 -28
- package/dist/store/runtimeConfig/runtime.selectors.d.ts.map +1 -1
- package/dist/store/ui/ui.selectors.d.ts +37 -37
- package/dist/store/ui/ui.selectors.d.ts.map +1 -1
- package/dist/types/classes/app-config.d.ts +1 -1
- package/dist/types/classes/app-config.d.ts.map +1 -1
- package/dist/types/state/CameraListItem.d.ts +1 -1
- package/dist/types/state/CameraListItem.d.ts.map +1 -1
- package/dist/types/state/DestinationListItem.d.ts +1 -1
- package/dist/types/state/DestinationListItem.d.ts.map +1 -1
- package/dist/types/state/sourceListItem.d.ts +1 -1
- package/dist/types/state/sourceListItem.d.ts.map +1 -1
- package/dist/types/state/state/CommunicationMonitorState.d.ts +1 -1
- package/dist/types/state/state/CommunicationMonitorState.d.ts.map +1 -1
- package/dist/types/state/state/DeviceInfoState.d.ts +1 -1
- package/dist/types/state/state/DeviceInfoState.d.ts.map +1 -1
- package/dist/types/state/state/DeviceState.d.ts +1 -1
- package/dist/types/state/state/DeviceState.d.ts.map +1 -1
- package/dist/types/state/state/IBasicVolumeWithFeedbackState.d.ts +1 -1
- package/dist/types/state/state/IBasicVolumeWithFeedbackState.d.ts.map +1 -1
- package/dist/types/state/state/IHasInputsState.d.ts +1 -1
- package/dist/types/state/state/IHasInputsState.d.ts.map +1 -1
- package/dist/types/state/state/IHasSurroundSoundModesState.d.ts +1 -1
- package/dist/types/state/state/IHasSurroundSoundModesState.d.ts.map +1 -1
- package/dist/types/state/state/IHumiditySensorState.d.ts +1 -1
- package/dist/types/state/state/IHumiditySensorState.d.ts.map +1 -1
- package/dist/types/state/state/ITemperatureSensorState.d.ts +1 -1
- package/dist/types/state/state/ITemperatureSensorState.d.ts.map +1 -1
- package/dist/types/state/state/MatrixRoutingState.d.ts +1 -1
- package/dist/types/state/state/MatrixRoutingState.d.ts.map +1 -1
- package/dist/types/state/state/PowerState.d.ts +1 -1
- package/dist/types/state/state/PowerState.d.ts.map +1 -1
- package/dist/types/state/state/RoutingState.d.ts +1 -1
- package/dist/types/state/state/RoutingState.d.ts.map +1 -1
- package/dist/types/state/state/SwitchedOutputState.d.ts +1 -1
- package/dist/types/state/state/SwitchedOutputState.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +1 -1
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/package.json +10 -2
|
@@ -1,137 +1,137 @@
|
|
|
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
|
-
import { createSelector as
|
|
7
|
-
import
|
|
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 v1, useCallback as a1, useEffect as n1, useContext as h2, useLayoutEffect as x3 } from "react";
|
|
8
8
|
import * as M3 from "lodash";
|
|
9
9
|
import { useNavigate as v2, useRouteError as g2, isRouteErrorResponse as f2 } from "react-router-dom";
|
|
10
|
-
const
|
|
10
|
+
const w2 = r2.withTypes(), w = l2.withTypes(), j1 = (e) => e.appConfig, p2 = p(
|
|
11
11
|
j1,
|
|
12
12
|
(e) => e.config
|
|
13
|
-
), x2 =
|
|
13
|
+
), x2 = p(
|
|
14
14
|
j1,
|
|
15
15
|
(e) => e.config.apiPath
|
|
16
|
-
), M2 =
|
|
16
|
+
), M2 = p(
|
|
17
17
|
j1,
|
|
18
18
|
(e) => e.config.logoPath
|
|
19
|
-
), m2 =
|
|
19
|
+
), m2 = p(
|
|
20
20
|
j1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), Z2 = () =>
|
|
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
|
-
), j2 = (e) =>
|
|
25
|
+
), j2 = (e) => p(
|
|
26
26
|
m3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
), U6 = () =>
|
|
28
|
+
), U6 = () => w(Z3);
|
|
29
29
|
function _(e) {
|
|
30
|
-
return
|
|
30
|
+
return w(j2(e));
|
|
31
31
|
}
|
|
32
|
-
const L = (e) => e.rooms, C2 = (e) =>
|
|
32
|
+
const L = (e) => e.rooms, C2 = (e) => p(
|
|
33
33
|
L,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
), S2 =
|
|
35
|
+
), S2 = p(
|
|
36
36
|
L,
|
|
37
37
|
(e) => e
|
|
38
|
-
), b2 = (e) =>
|
|
38
|
+
), b2 = (e) => p(
|
|
39
39
|
L,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
), I2 = (e) =>
|
|
41
|
+
), I2 = (e) => p(
|
|
42
42
|
L,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
), R2 = (e, t) =>
|
|
44
|
+
), R2 = (e, t) => p(
|
|
45
45
|
L,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
|
-
), y2 = (e) =>
|
|
47
|
+
), y2 = (e) => p(
|
|
48
48
|
L,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
|
-
), E2 = (e) =>
|
|
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
|
-
), T2 = (e) =>
|
|
56
|
+
), T2 = (e) => p(
|
|
57
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
|
-
), _2 = (e) =>
|
|
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
|
-
), P2 = (e) =>
|
|
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
|
-
), L2 = (e) =>
|
|
74
|
+
), L2 = (e) => p(
|
|
75
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
|
-
), D2 = (e) =>
|
|
80
|
+
), D2 = (e) => p(
|
|
81
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
|
-
), $2 = (e) =>
|
|
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
|
-
), A2 = (e) =>
|
|
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
|
-
), B2 = (e) =>
|
|
98
|
+
), B2 = (e) => p(
|
|
99
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
|
-
), O2 = (e) =>
|
|
104
|
+
), O2 = (e) => p(
|
|
105
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
|
-
), V2 = (e) =>
|
|
110
|
+
), V2 = (e) => p(
|
|
111
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
|
-
), k2 = (e) =>
|
|
116
|
+
), k2 = (e) => p(
|
|
117
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
|
-
), U2 = (e) =>
|
|
122
|
+
), U2 = (e) => p(
|
|
123
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
|
-
), W2 = (e) =>
|
|
128
|
+
), W2 = (e) => p(
|
|
129
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;
|
|
133
133
|
}
|
|
134
|
-
), F2 =
|
|
134
|
+
), F2 = p(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
137
|
() => Z3,
|
|
@@ -147,76 +147,76 @@ const L = (e) => e.rooms, C2 = (e) => w(
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
function W6(e) {
|
|
150
|
-
return
|
|
150
|
+
return w(
|
|
151
151
|
C2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function F6() {
|
|
155
|
-
return
|
|
155
|
+
return w(S2);
|
|
156
156
|
}
|
|
157
157
|
function C1(e) {
|
|
158
|
-
return
|
|
158
|
+
return w(b2(e));
|
|
159
159
|
}
|
|
160
|
-
const H6 = C1, K6 = (e) =>
|
|
160
|
+
const H6 = C1, K6 = (e) => w(
|
|
161
161
|
I2(e)
|
|
162
|
-
), H2 = (e, t) =>
|
|
162
|
+
), H2 = (e, t) => w(
|
|
163
163
|
R2(e, t)
|
|
164
|
-
), K2 = (e) =>
|
|
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
|
-
), q2 =
|
|
168
|
-
|
|
167
|
+
), q2 = p(
|
|
168
|
+
J,
|
|
169
169
|
(e) => e.currentRoomKey
|
|
170
|
-
), Y2 =
|
|
171
|
-
|
|
170
|
+
), Y2 = p(
|
|
171
|
+
J,
|
|
172
172
|
(e) => e.roomData.clientId
|
|
173
|
-
), z2 =
|
|
174
|
-
|
|
173
|
+
), z2 = p(
|
|
174
|
+
J,
|
|
175
175
|
(e) => e.roomData.systemUuid
|
|
176
|
-
), J2 =
|
|
177
|
-
|
|
176
|
+
), J2 = p(
|
|
177
|
+
J,
|
|
178
178
|
(e) => e.roomData.userCode
|
|
179
|
-
), X2 =
|
|
180
|
-
|
|
179
|
+
), X2 = p(
|
|
180
|
+
J,
|
|
181
181
|
(e) => e.serverIsRunningOnProcessorHardware
|
|
182
|
-
), Q2 =
|
|
183
|
-
|
|
182
|
+
), Q2 = p(
|
|
183
|
+
J,
|
|
184
184
|
(e) => {
|
|
185
185
|
var t;
|
|
186
186
|
return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
|
|
187
187
|
}
|
|
188
|
-
), N2 =
|
|
189
|
-
|
|
188
|
+
), N2 = p(
|
|
189
|
+
J,
|
|
190
190
|
(e) => e.touchpanelKey
|
|
191
|
-
), e8 =
|
|
192
|
-
|
|
191
|
+
), e8 = p(
|
|
192
|
+
J,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
|
-
), j3 = () =>
|
|
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
|
-
), r8 = (e) =>
|
|
197
|
+
), r8 = (e) => p(
|
|
198
198
|
c1,
|
|
199
199
|
(t) => {
|
|
200
200
|
const o = t.popoverVisibility[e];
|
|
201
201
|
if (o)
|
|
202
202
|
return Object.keys(o).find((c) => o[c]);
|
|
203
203
|
}
|
|
204
|
-
), l8 = (e, t) =>
|
|
204
|
+
), l8 = (e, t) => p(
|
|
205
205
|
c1,
|
|
206
206
|
(o) => {
|
|
207
207
|
var c;
|
|
208
208
|
return ((c = o.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
|
|
209
209
|
}
|
|
210
|
-
), i8 =
|
|
210
|
+
), i8 = p(
|
|
211
211
|
c1,
|
|
212
212
|
(e) => e.error
|
|
213
|
-
), a8 =
|
|
213
|
+
), a8 = p(
|
|
214
214
|
c1,
|
|
215
215
|
(e) => e.showReconnect
|
|
216
|
-
), u8 =
|
|
216
|
+
), u8 = p(
|
|
217
217
|
c1,
|
|
218
218
|
(e) => e.theme
|
|
219
|
-
), ue = () =>
|
|
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: {
|
|
@@ -257,7 +257,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
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 H6 = C1, K6 = (e) => p(
|
|
|
275
275
|
e.config = t.payload;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
}),
|
|
278
|
+
}), w8 = S3.actions, p8 = S3.reducer, d3 = {}, B1 = g1({
|
|
279
279
|
name: "devices",
|
|
280
280
|
initialState: d3,
|
|
281
281
|
reducers: {
|
|
@@ -289,7 +289,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
289
289
|
return d3;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}),
|
|
292
|
+
}), N = {
|
|
293
293
|
setDeviceState: B1.actions.setDeviceState,
|
|
294
294
|
clearDevices: B1.actions.clearDevices
|
|
295
295
|
}, x8 = B1.reducer, h3 = {}, O1 = g1({
|
|
@@ -306,7 +306,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
306
306
|
return h3;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
}),
|
|
309
|
+
}), e1 = {
|
|
310
310
|
setRoomState: O1.actions.setRoomState,
|
|
311
311
|
clearRooms: O1.actions.clearRooms
|
|
312
312
|
}, M8 = O1.reducer, m8 = {
|
|
@@ -368,8 +368,8 @@ const H6 = C1, K6 = (e) => p(
|
|
|
368
368
|
e.touchpanelKey = t.payload;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
}),
|
|
372
|
-
appConfig:
|
|
371
|
+
}), W = b3.actions, Z8 = b3.reducer, j8 = a2({
|
|
372
|
+
appConfig: p8,
|
|
373
373
|
runtimeConfig: Z8,
|
|
374
374
|
rooms: M8,
|
|
375
375
|
devices: x8,
|
|
@@ -378,7 +378,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
378
378
|
reducer: j8
|
|
379
379
|
}), V1 = n2.create();
|
|
380
380
|
function C8() {
|
|
381
|
-
const e =
|
|
381
|
+
const e = w2();
|
|
382
382
|
return async () => {
|
|
383
383
|
try {
|
|
384
384
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
@@ -386,9 +386,9 @@ function C8() {
|
|
|
386
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
|
-
e(
|
|
389
|
+
e(w8.setAppConfig(c.data));
|
|
390
390
|
const i = await V1.get(`${r}/version`);
|
|
391
|
-
i.status == 200 && i.data && e(
|
|
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);
|
|
@@ -410,13 +410,13 @@ var v3;
|
|
|
410
410
|
function S8() {
|
|
411
411
|
if (v3) return u1;
|
|
412
412
|
v3 = 1;
|
|
413
|
-
var e =
|
|
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 h, R = {}, D = null,
|
|
416
|
-
x !== void 0 && (D = "" + x), f.key !== void 0 && (D = "" + f.key), f.ref !== void 0 && (
|
|
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
417
|
for (h in f) c.call(f, h) && !i.hasOwnProperty(h) && (R[h] = f[h]);
|
|
418
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:
|
|
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,11 +433,11 @@ 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 =
|
|
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;
|
|
@@ -458,26 +458,26 @@ function b8() {
|
|
|
458
458
|
I.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, I);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var b1 = !1,
|
|
462
|
-
|
|
461
|
+
var b1 = !1, y = !1, C = !1, f1 = !1, I1 = !1, Y;
|
|
462
|
+
Y = Symbol.for("react.module.reference");
|
|
463
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 ===
|
|
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
|
-
function
|
|
470
|
+
function E(n, l, u) {
|
|
471
471
|
var v = n.displayName;
|
|
472
472
|
if (v)
|
|
473
473
|
return v;
|
|
474
474
|
var S = l.displayName || l.name || "";
|
|
475
475
|
return S !== "" ? u + "(" + S + ")" : u;
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function t1(n) {
|
|
478
478
|
return n.displayName || "Context";
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function K(n) {
|
|
481
481
|
if (n == null)
|
|
482
482
|
return null;
|
|
483
483
|
if (typeof n.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
@@ -502,19 +502,19 @@ function b8() {
|
|
|
502
502
|
switch (n.$$typeof) {
|
|
503
503
|
case a:
|
|
504
504
|
var l = n;
|
|
505
|
-
return
|
|
505
|
+
return t1(l) + ".Consumer";
|
|
506
506
|
case d:
|
|
507
507
|
var u = n;
|
|
508
|
-
return
|
|
508
|
+
return t1(u._context) + ".Provider";
|
|
509
509
|
case f:
|
|
510
|
-
return
|
|
510
|
+
return E(n, n.render, "ForwardRef");
|
|
511
511
|
case R:
|
|
512
512
|
var v = n.displayName || null;
|
|
513
|
-
return v !== null ? v :
|
|
513
|
+
return v !== null ? v : K(n.type) || "Memo";
|
|
514
514
|
case D: {
|
|
515
515
|
var S = n, I = S._payload, Z = S._init;
|
|
516
516
|
try {
|
|
517
|
-
return
|
|
517
|
+
return K(Z(I));
|
|
518
518
|
} catch {
|
|
519
519
|
return null;
|
|
520
520
|
}
|
|
@@ -522,7 +522,7 @@ 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;
|
|
@@ -558,25 +558,25 @@ function b8() {
|
|
|
558
558
|
writable: !0
|
|
559
559
|
};
|
|
560
560
|
Object.defineProperties(console, {
|
|
561
|
-
log:
|
|
561
|
+
log: z({}, n, {
|
|
562
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
|
});
|
|
@@ -585,7 +585,7 @@ function b8() {
|
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
var R1 = $.ReactCurrentDispatcher, y1;
|
|
588
|
-
function
|
|
588
|
+
function w1(n, l, u) {
|
|
589
589
|
{
|
|
590
590
|
if (y1 === void 0)
|
|
591
591
|
try {
|
|
@@ -598,16 +598,16 @@ function b8() {
|
|
|
598
598
|
` + y1 + n;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
var E1 = !1,
|
|
601
|
+
var E1 = !1, p1;
|
|
602
602
|
{
|
|
603
603
|
var _3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
604
|
-
|
|
604
|
+
p1 = new _3();
|
|
605
605
|
}
|
|
606
606
|
function J1(n, l) {
|
|
607
607
|
if (!n || E1)
|
|
608
608
|
return "";
|
|
609
609
|
{
|
|
610
|
-
var u =
|
|
610
|
+
var u = p1.get(n);
|
|
611
611
|
if (u !== void 0)
|
|
612
612
|
return u;
|
|
613
613
|
}
|
|
@@ -629,29 +629,29 @@ function b8() {
|
|
|
629
629
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
630
630
|
try {
|
|
631
631
|
Reflect.construct(Z, []);
|
|
632
|
-
} catch (
|
|
633
|
-
v =
|
|
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
|
-
v =
|
|
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
|
-
v =
|
|
647
|
+
} catch (V) {
|
|
648
|
+
v = V;
|
|
649
649
|
}
|
|
650
650
|
n();
|
|
651
651
|
}
|
|
652
|
-
} catch (
|
|
653
|
-
if (
|
|
654
|
-
for (var M =
|
|
652
|
+
} catch (V) {
|
|
653
|
+
if (V && v && typeof V.stack == "string") {
|
|
654
|
+
for (var M = V.stack.split(`
|
|
655
655
|
`), O = v.stack.split(`
|
|
656
656
|
`), T = M.length - 1, P = O.length - 1; T >= 1 && P >= 0 && M[T] !== O[P]; )
|
|
657
657
|
P--;
|
|
@@ -660,9 +660,9 @@ function b8() {
|
|
|
660
660
|
if (T !== 1 || P !== 1)
|
|
661
661
|
do
|
|
662
662
|
if (T--, P--, P < 0 || M[T] !== O[P]) {
|
|
663
|
-
var
|
|
663
|
+
var U = `
|
|
664
664
|
` + M[T].replace(" at new ", " at ");
|
|
665
|
-
return n.displayName &&
|
|
665
|
+
return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && p1.set(n, U), U;
|
|
666
666
|
}
|
|
667
667
|
while (T >= 1 && P >= 0);
|
|
668
668
|
break;
|
|
@@ -671,8 +671,8 @@ function b8() {
|
|
|
671
671
|
} finally {
|
|
672
672
|
E1 = !1, R1.current = I, T3(), Error.prepareStackTrace = S;
|
|
673
673
|
}
|
|
674
|
-
var o1 = n ? n.displayName || n.name : "",
|
|
675
|
-
return typeof n == "function" &&
|
|
674
|
+
var o1 = n ? n.displayName || n.name : "", Q = o1 ? w1(o1) : "";
|
|
675
|
+
return typeof n == "function" && p1.set(n, Q), Q;
|
|
676
676
|
}
|
|
677
677
|
function P3(n, l, u) {
|
|
678
678
|
return J1(n, !1);
|
|
@@ -687,12 +687,12 @@ function b8() {
|
|
|
687
687
|
if (typeof n == "function")
|
|
688
688
|
return J1(n, L3(n));
|
|
689
689
|
if (typeof n == "string")
|
|
690
|
-
return
|
|
690
|
+
return w1(n);
|
|
691
691
|
switch (n) {
|
|
692
692
|
case x:
|
|
693
|
-
return
|
|
693
|
+
return w1("Suspense");
|
|
694
694
|
case h:
|
|
695
|
-
return
|
|
695
|
+
return w1("SuspenseList");
|
|
696
696
|
}
|
|
697
697
|
if (typeof n == "object")
|
|
698
698
|
switch (n.$$typeof) {
|
|
@@ -871,7 +871,7 @@ function b8() {
|
|
|
871
871
|
function c3() {
|
|
872
872
|
{
|
|
873
873
|
if (_1.current) {
|
|
874
|
-
var n =
|
|
874
|
+
var n = K(_1.current.type);
|
|
875
875
|
if (n)
|
|
876
876
|
return `
|
|
877
877
|
|
|
@@ -906,7 +906,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
906
906
|
return;
|
|
907
907
|
r3[u] = !0;
|
|
908
908
|
var v = "";
|
|
909
|
-
n && n._owner && n._owner !== _1.current && (v = " It was passed a child from " +
|
|
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) {
|
|
@@ -943,11 +943,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
943
943
|
else
|
|
944
944
|
return;
|
|
945
945
|
if (u) {
|
|
946
|
-
var v =
|
|
946
|
+
var v = K(l);
|
|
947
947
|
D3(u, n.props, "prop", v, n);
|
|
948
948
|
} else if (l.PropTypes !== void 0 && !P1) {
|
|
949
949
|
P1 = !0;
|
|
950
|
-
var S =
|
|
950
|
+
var S = K(l);
|
|
951
951
|
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
|
|
952
952
|
}
|
|
953
953
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -975,36 +975,36 @@ Check the top-level render call using <` + u + ">.");
|
|
|
975
975
|
var O = G3();
|
|
976
976
|
O ? M += O : M += c3();
|
|
977
977
|
var T;
|
|
978
|
-
n === null ? T = "null" : T1(n) ? T = "array" : n !== void 0 && n.$$typeof === t ? (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 (
|
|
984
|
+
var U = l.children;
|
|
985
|
+
if (U !== void 0)
|
|
986
986
|
if (v)
|
|
987
|
-
if (T1(
|
|
988
|
-
for (var o1 = 0; o1 <
|
|
989
|
-
i3(
|
|
990
|
-
Object.freeze && Object.freeze(
|
|
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
|
|
997
|
+
var Q = K(n), V = Object.keys(l).filter(function(t2) {
|
|
998
998
|
return t2 !== "key";
|
|
999
|
-
}), D1 =
|
|
1000
|
-
if (!a3[
|
|
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} />`, D1,
|
|
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;
|
|
@@ -1043,13 +1043,13 @@ const R8 = "_mwfit_ppa3l_1", y8 = {
|
|
|
1043
1043
|
};
|
|
1044
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
|
|
1052
|
+
const w3 = new T8(), I3 = d2({
|
|
1053
1053
|
sendMessage: () => null,
|
|
1054
1054
|
sendSimpleMessage: () => null,
|
|
1055
1055
|
addEventHandler: () => null,
|
|
@@ -1063,92 +1063,65 @@ function P8(e, t) {
|
|
|
1063
1063
|
sessionStorage.setItem(e, t);
|
|
1064
1064
|
}
|
|
1065
1065
|
const L8 = ({ children: e }) => {
|
|
1066
|
-
const [t, o] =
|
|
1067
|
-
async (
|
|
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
|
+
async (y) => {
|
|
1068
1068
|
try {
|
|
1069
|
-
const C = await V1.get(
|
|
1070
|
-
|
|
1071
|
-
);
|
|
1072
|
-
return C.status === 200 && C.data ? (m.dispatch(F.setRoomData(C.data)), !0) : !1;
|
|
1069
|
+
const C = await V1.get(`${y}/ui/joinroom?token=${t}`);
|
|
1070
|
+
return C.status === 200 && C.data ? (m.dispatch(W.setRoomData(C.data)), !0) : !1;
|
|
1073
1071
|
} catch (C) {
|
|
1074
|
-
return console.log(C), h ? !0 : C instanceof c2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(
|
|
1075
|
-
z.setErrorMessage(
|
|
1076
|
-
`Token ${t} is invalid. Unable to join room`
|
|
1077
|
-
)
|
|
1078
|
-
), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(z.setErrorMessage(C.message)) : m.dispatch(z.setErrorMessage("Error getting room data")), !1);
|
|
1072
|
+
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(q.setErrorMessage(`Token ${t} is invalid. Unable to join room`)), !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
1073
|
}
|
|
1080
1074
|
},
|
|
1081
1075
|
[t, h]
|
|
1082
1076
|
), r1 = a1(() => {
|
|
1083
|
-
const
|
|
1084
|
-
window.location.href = x ? `${
|
|
1077
|
+
const y = `${a.gatewayAppPath}?uuid=${f}&roomKey=${r}`;
|
|
1078
|
+
window.location.href = x ? `${y}&Code=${x}` : y;
|
|
1085
1079
|
}, [a.gatewayAppPath, r, f, x]), $ = a1(
|
|
1086
|
-
(
|
|
1087
|
-
R.current && c && R.current.send(JSON.stringify({ type:
|
|
1080
|
+
(y, C) => {
|
|
1081
|
+
R.current && c && R.current.send(JSON.stringify({ type: y, clientId: i, content: C }));
|
|
1088
1082
|
},
|
|
1089
1083
|
[c, i]
|
|
1090
|
-
), A = (
|
|
1091
|
-
$(
|
|
1084
|
+
), A = (y, C) => {
|
|
1085
|
+
$(y, { value: C });
|
|
1092
1086
|
}, S1 = a1(
|
|
1093
|
-
(
|
|
1094
|
-
|
|
1087
|
+
(y, C, f1) => {
|
|
1088
|
+
k.current[y] || (k.current[y] = {}), k.current[y][C] = f1, console.log("event handler added", y, C);
|
|
1095
1089
|
},
|
|
1096
1090
|
[]
|
|
1097
|
-
), b1 = a1((
|
|
1098
|
-
|
|
1091
|
+
), b1 = a1((y, C) => {
|
|
1092
|
+
k.current[y] && (delete k.current[y][C], console.log("event handler removed", y, C));
|
|
1099
1093
|
}, []);
|
|
1100
1094
|
return n1(() => {
|
|
1101
1095
|
let C = new URLSearchParams(window.location.search).get("token");
|
|
1102
|
-
C ? (console.log("saving token: ", C), P8(
|
|
1103
|
-
}, []), console.log(
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
Q,
|
|
1107
|
-
t,
|
|
1108
|
-
D,
|
|
1109
|
-
h
|
|
1110
|
-
), n1(() => {
|
|
1111
|
-
async function E() {
|
|
1112
|
-
if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await Q(a.apiPath)) return;
|
|
1096
|
+
C ? (console.log("saving token: ", C), P8(w3.uuid, C)) : (C = _8(w3.uuid), console.log("loading token: ", C)), o(C), d();
|
|
1097
|
+
}, []), console.log("connection dependencies", a.apiPath, X, t, D, h), n1(() => {
|
|
1098
|
+
async function y() {
|
|
1099
|
+
if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await X(a.apiPath)) return;
|
|
1113
1100
|
if (R.current) {
|
|
1114
1101
|
console.log("websocket exists");
|
|
1115
1102
|
return;
|
|
1116
1103
|
}
|
|
1117
1104
|
console.log("connecting to websocket");
|
|
1118
|
-
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`,
|
|
1119
|
-
R.current =
|
|
1120
|
-
console.log("connected", B.type, B.target), m.dispatch(
|
|
1121
|
-
},
|
|
1105
|
+
const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, Y = new WebSocket(I1);
|
|
1106
|
+
R.current = Y, Y.onopen = (B) => {
|
|
1107
|
+
console.log("connected", B.type, B.target), m.dispatch(W.setWebsocketIsConnected(!0));
|
|
1108
|
+
}, Y.onerror = (B) => {
|
|
1122
1109
|
console.error("Websocket error", B);
|
|
1123
|
-
},
|
|
1110
|
+
}, Y.onclose = (B) => {
|
|
1124
1111
|
if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
|
|
1125
|
-
console.log("WebSocket closed by client (useEffect cleanup)."), m.dispatch(
|
|
1112
|
+
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
1113
|
return;
|
|
1127
1114
|
}
|
|
1128
|
-
if (
|
|
1129
|
-
console.log("user code changed"), m.dispatch(
|
|
1130
|
-
F.setUserCode({ userCode: "", qrUrl: "" })
|
|
1131
|
-
), m.dispatch(
|
|
1132
|
-
z.setErrorMessage(
|
|
1133
|
-
"User code changed. Click reconnect to enter the new code"
|
|
1134
|
-
)
|
|
1135
|
-
), m.dispatch(z.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1115
|
+
if (F(!0), B.code === 4e3) {
|
|
1116
|
+
console.log("user code changed"), m.dispatch(W.setUserCode({ userCode: "", qrUrl: "" })), m.dispatch(q.setErrorMessage("User code changed. Click reconnect to enter the new code")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1136
1117
|
return;
|
|
1137
1118
|
}
|
|
1138
1119
|
if (B.code === 4001 && !h) {
|
|
1139
|
-
console.log("processor disconnected"), m.dispatch(
|
|
1140
|
-
z.setErrorMessage(
|
|
1141
|
-
"Processor has disconnected. Click Reconnect"
|
|
1142
|
-
)
|
|
1143
|
-
), m.dispatch(z.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1120
|
+
console.log("processor disconnected"), m.dispatch(q.setErrorMessage("Processor has disconnected. Click Reconnect")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1144
1121
|
return;
|
|
1145
1122
|
}
|
|
1146
1123
|
if (B.code === 4002) {
|
|
1147
|
-
console.log("room combination changed"), m.dispatch(
|
|
1148
|
-
z.setErrorMessage(
|
|
1149
|
-
"Room combination changed. Click Reconnect to re-join the room"
|
|
1150
|
-
)
|
|
1151
|
-
), m.dispatch(z.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
|
|
1124
|
+
console.log("room combination changed"), m.dispatch(q.setErrorMessage("Room combination changed. Click Reconnect to re-join the room")), m.dispatch(q.setShowReconnect(!0)), m.dispatch(W.setWebsocketIsConnected(!1)), m.dispatch(N.clearDevices()), m.dispatch(e1.clearRooms());
|
|
1152
1125
|
return;
|
|
1153
1126
|
}
|
|
1154
1127
|
if (R.current)
|
|
@@ -1157,81 +1130,65 @@ const L8 = ({ children: e }) => {
|
|
|
1157
1130
|
console.log("WebSocket closed by client.");
|
|
1158
1131
|
return;
|
|
1159
1132
|
}
|
|
1160
|
-
console.log("websocket waitingToReconnect", D), !D && (console.log("websocket clearing state on disconnect"), m.dispatch(
|
|
1161
|
-
},
|
|
1133
|
+
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));
|
|
1134
|
+
}, Y.onmessage = (B) => {
|
|
1162
1135
|
try {
|
|
1163
|
-
const
|
|
1164
|
-
if (console.log(
|
|
1165
|
-
|
|
1136
|
+
const E = JSON.parse(B.data);
|
|
1137
|
+
if (console.log(E), E.type === "close") {
|
|
1138
|
+
Y.close(4001, E.content);
|
|
1166
1139
|
return;
|
|
1167
1140
|
}
|
|
1168
|
-
if (
|
|
1169
|
-
switch (
|
|
1141
|
+
if (E.type.startsWith("/system/"))
|
|
1142
|
+
switch (E.type) {
|
|
1170
1143
|
case "/system/touchpanelKey":
|
|
1171
1144
|
m.dispatch(
|
|
1172
|
-
|
|
1173
|
-
|
|
1145
|
+
W.setTouchpanelKey(
|
|
1146
|
+
E.content
|
|
1174
1147
|
)
|
|
1175
1148
|
);
|
|
1176
1149
|
break;
|
|
1177
1150
|
case "/system/roomKey": {
|
|
1178
|
-
m.dispatch(
|
|
1179
|
-
|
|
1180
|
-
|
|
1151
|
+
m.dispatch(e1.clearRooms()), m.dispatch(N.clearDevices()), m.dispatch(
|
|
1152
|
+
W.setCurrentRoomKey(
|
|
1153
|
+
E.content
|
|
1181
1154
|
)
|
|
1182
1155
|
);
|
|
1183
1156
|
break;
|
|
1184
1157
|
}
|
|
1185
1158
|
case "/system/userCodeChanged":
|
|
1186
1159
|
m.dispatch(
|
|
1187
|
-
|
|
1160
|
+
W.setUserCode(
|
|
1161
|
+
E.content
|
|
1162
|
+
)
|
|
1188
1163
|
);
|
|
1189
1164
|
break;
|
|
1190
|
-
case "/system/roomCombinationChanged":
|
|
1191
|
-
|
|
1192
|
-
const q = V.current[y.type];
|
|
1193
|
-
q || (console.log(
|
|
1194
|
-
"no handlers found for room combination changed. Reloading application.",
|
|
1195
|
-
y.type
|
|
1196
|
-
), window.location.reload()), q && Object.values(q).forEach((U) => {
|
|
1197
|
-
try {
|
|
1198
|
-
U(y);
|
|
1199
|
-
} catch (K) {
|
|
1200
|
-
console.error(K);
|
|
1201
|
-
}
|
|
1202
|
-
});
|
|
1165
|
+
case "/system/roomCombinationChanged":
|
|
1166
|
+
window.location.reload();
|
|
1203
1167
|
break;
|
|
1204
|
-
}
|
|
1205
1168
|
default:
|
|
1206
|
-
console.log("unhandled system message",
|
|
1169
|
+
console.log("unhandled system message", E);
|
|
1207
1170
|
break;
|
|
1208
1171
|
}
|
|
1209
|
-
else if (
|
|
1210
|
-
console.log("event message received",
|
|
1211
|
-
const
|
|
1212
|
-
|
|
1172
|
+
else if (E.type.startsWith("/event/")) {
|
|
1173
|
+
console.log("event message received", E);
|
|
1174
|
+
const t1 = k.current[E.type];
|
|
1175
|
+
t1 || console.log("no handlers found for event type", E.type), t1 && Object.values(t1).forEach((K) => {
|
|
1213
1176
|
try {
|
|
1214
|
-
|
|
1215
|
-
} catch (
|
|
1216
|
-
console.error(
|
|
1177
|
+
K(E);
|
|
1178
|
+
} catch (z) {
|
|
1179
|
+
console.error(z);
|
|
1217
1180
|
}
|
|
1218
1181
|
});
|
|
1219
|
-
} else
|
|
1220
|
-
} catch (
|
|
1221
|
-
console.error("websocket message handling error",
|
|
1182
|
+
} else E.type.startsWith("/room/") ? m.dispatch(e1.setRoomState(E)) : E.type.startsWith("/device/") && m.dispatch(N.setDeviceState(E));
|
|
1183
|
+
} catch (E) {
|
|
1184
|
+
console.error("websocket message handling error", E);
|
|
1222
1185
|
}
|
|
1223
1186
|
};
|
|
1224
1187
|
}
|
|
1225
|
-
return
|
|
1188
|
+
return y(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
|
|
1226
1189
|
R.current && (console.log("closing websocket dev mode"), R.current.close(4100, "app running in dev mode"), R.current = null);
|
|
1227
1190
|
};
|
|
1228
|
-
}, [
|
|
1229
|
-
a.apiPath,
|
|
1230
|
-
Q,
|
|
1231
|
-
t,
|
|
1232
|
-
D,
|
|
1233
|
-
h
|
|
1234
|
-
]), n1(() => {
|
|
1191
|
+
}, [a.apiPath, X, t, D, h]), n1(() => {
|
|
1235
1192
|
!r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
|
|
1236
1193
|
}, [r, i, c, $]), /* @__PURE__ */ s.jsx(
|
|
1237
1194
|
I3.Provider,
|
|
@@ -1246,7 +1203,7 @@ const L8 = ({ children: e }) => {
|
|
|
1246
1203
|
children: c ? e : /* @__PURE__ */ s.jsx(E8, {})
|
|
1247
1204
|
}
|
|
1248
1205
|
);
|
|
1249
|
-
},
|
|
1206
|
+
}, we = ({ children: e }) => /* @__PURE__ */ s.jsx(i2, { store: m, children: /* @__PURE__ */ s.jsx(L8, { children: e }) });
|
|
1250
1207
|
function b() {
|
|
1251
1208
|
return h2(I3);
|
|
1252
1209
|
}
|
|
@@ -1298,7 +1255,7 @@ function R3(e, t) {
|
|
|
1298
1255
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
1299
1256
|
} : void 0;
|
|
1300
1257
|
}
|
|
1301
|
-
function
|
|
1258
|
+
function pe(e, t) {
|
|
1302
1259
|
const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
|
|
1303
1260
|
return t ? {
|
|
1304
1261
|
volumeState: t,
|
|
@@ -1354,7 +1311,7 @@ function xe(e) {
|
|
|
1354
1311
|
};
|
|
1355
1312
|
}
|
|
1356
1313
|
const Me = ({ className: e }) => {
|
|
1357
|
-
const [t, o] =
|
|
1314
|
+
const [t, o] = H();
|
|
1358
1315
|
return n1(() => {
|
|
1359
1316
|
setInterval(() => {
|
|
1360
1317
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1460,7 +1417,7 @@ function De(e) {
|
|
|
1460
1417
|
} };
|
|
1461
1418
|
}
|
|
1462
1419
|
function $e(e) {
|
|
1463
|
-
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"),
|
|
1420
|
+
const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), d = g(t, "num4"), a = g(t, "num5"), f = g(t, "num6"), x = g(t, "num7"), h = g(t, "num8"), R = g(t, "num9"), D = g(t, "numDash"), F = g(t, "numEnter");
|
|
1464
1421
|
return {
|
|
1465
1422
|
digit0: o,
|
|
1466
1423
|
digit1: c,
|
|
@@ -1473,7 +1430,7 @@ function $e(e) {
|
|
|
1473
1430
|
digit8: h,
|
|
1474
1431
|
digit9: R,
|
|
1475
1432
|
keypadAccessoryButton1: D,
|
|
1476
|
-
keypadAccessoryButton2:
|
|
1433
|
+
keypadAccessoryButton2: F
|
|
1477
1434
|
};
|
|
1478
1435
|
}
|
|
1479
1436
|
function Ae(e) {
|
|
@@ -1637,7 +1594,7 @@ const Xe = ({
|
|
|
1637
1594
|
}, [e, t]);
|
|
1638
1595
|
};
|
|
1639
1596
|
function Qe(e, t) {
|
|
1640
|
-
const [o, c] =
|
|
1597
|
+
const [o, c] = H(!1), [r, i] = H(!1);
|
|
1641
1598
|
return x3(() => {
|
|
1642
1599
|
const { current: d } = e, a = () => {
|
|
1643
1600
|
const f = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
|
|
@@ -1652,7 +1609,7 @@ function Ne(e, t) {
|
|
|
1652
1609
|
}
|
|
1653
1610
|
function e5(e) {
|
|
1654
1611
|
var a, f;
|
|
1655
|
-
const [t, o] =
|
|
1612
|
+
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) => {
|
|
1656
1613
|
const { current: h } = e;
|
|
1657
1614
|
h && (console.log(h.scrollLeft), h.scrollLeft += x, console.log(h.scrollLeft));
|
|
1658
1615
|
}, d = (x) => {
|
|
@@ -1678,7 +1635,7 @@ function t5() {
|
|
|
1678
1635
|
};
|
|
1679
1636
|
}
|
|
1680
1637
|
function s5() {
|
|
1681
|
-
const [e, t] =
|
|
1638
|
+
const [e, t] = H(), [o, c] = H();
|
|
1682
1639
|
function r() {
|
|
1683
1640
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1684
1641
|
const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
@@ -1693,7 +1650,7 @@ function s5() {
|
|
|
1693
1650
|
}, []), { date: e, time: o };
|
|
1694
1651
|
}
|
|
1695
1652
|
const o5 = () => {
|
|
1696
|
-
const [e, t] =
|
|
1653
|
+
const [e, t] = H(!1), o = v2(), c = g2();
|
|
1697
1654
|
let r;
|
|
1698
1655
|
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: [
|
|
1699
1656
|
/* @__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." }) }),
|
|
@@ -1720,22 +1677,22 @@ const o5 = () => {
|
|
|
1720
1677
|
onPointerLeave: R,
|
|
1721
1678
|
...D
|
|
1722
1679
|
}) => {
|
|
1723
|
-
const [
|
|
1680
|
+
const [F, k] = H(!1), X = !d && a ? f : "", r1 = !d && (F || a);
|
|
1724
1681
|
return /* @__PURE__ */ s.jsxs(
|
|
1725
1682
|
"button",
|
|
1726
1683
|
{
|
|
1727
1684
|
type: "button",
|
|
1728
|
-
className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${
|
|
1685
|
+
className: `${$1.iconbtn} ${o ? $1.iconbtnvert : ""} ${c} ${X}`,
|
|
1729
1686
|
...D,
|
|
1730
1687
|
disabled: d,
|
|
1731
1688
|
onPointerDown: ($) => {
|
|
1732
|
-
|
|
1689
|
+
k(!0), x == null || x($);
|
|
1733
1690
|
},
|
|
1734
1691
|
onPointerUp: ($) => {
|
|
1735
|
-
|
|
1692
|
+
k(!1), h == null || h($);
|
|
1736
1693
|
},
|
|
1737
1694
|
onPointerLeave: ($) => {
|
|
1738
|
-
|
|
1695
|
+
k(!1), R == null || R($);
|
|
1739
1696
|
},
|
|
1740
1697
|
children: [
|
|
1741
1698
|
e && /* @__PURE__ */ s.jsx(
|
|
@@ -2956,6 +2913,21 @@ const o5 = () => {
|
|
|
2956
2913
|
active: e,
|
|
2957
2914
|
disabled: o
|
|
2958
2915
|
}
|
|
2916
|
+
), n5 = ({
|
|
2917
|
+
active: e,
|
|
2918
|
+
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2919
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2920
|
+
className: t = "",
|
|
2921
|
+
disabled: o
|
|
2922
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
2923
|
+
j,
|
|
2924
|
+
{
|
|
2925
|
+
ActiveImage: void 0,
|
|
2926
|
+
DisabledImage: void 0,
|
|
2927
|
+
EnabledImage: void 0,
|
|
2928
|
+
active: e,
|
|
2929
|
+
disabled: o
|
|
2930
|
+
}
|
|
2959
2931
|
), d6 = ({
|
|
2960
2932
|
active: e,
|
|
2961
2933
|
className: t = "",
|
|
@@ -3201,7 +3173,7 @@ const o5 = () => {
|
|
|
3201
3173
|
active: e,
|
|
3202
3174
|
disabled: o
|
|
3203
3175
|
}
|
|
3204
|
-
),
|
|
3176
|
+
), w6 = ({
|
|
3205
3177
|
active: e,
|
|
3206
3178
|
className: t = "",
|
|
3207
3179
|
disabled: o
|
|
@@ -3250,7 +3222,7 @@ const o5 = () => {
|
|
|
3250
3222
|
active: e,
|
|
3251
3223
|
disabled: o
|
|
3252
3224
|
}
|
|
3253
|
-
),
|
|
3225
|
+
), p6 = ({
|
|
3254
3226
|
active: e,
|
|
3255
3227
|
className: t = "",
|
|
3256
3228
|
disabled: o
|
|
@@ -3379,10 +3351,10 @@ const o5 = () => {
|
|
|
3379
3351
|
VolMute: v6,
|
|
3380
3352
|
VolUp: g6,
|
|
3381
3353
|
Wireless: f6,
|
|
3382
|
-
X:
|
|
3383
|
-
Xbox:
|
|
3354
|
+
X: w6,
|
|
3355
|
+
Xbox: p6
|
|
3384
3356
|
};
|
|
3385
|
-
function
|
|
3357
|
+
function c5({
|
|
3386
3358
|
name: e,
|
|
3387
3359
|
iconsDictionary: t = M6,
|
|
3388
3360
|
...o
|
|
@@ -3396,7 +3368,7 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
|
|
|
3396
3368
|
content: j6,
|
|
3397
3369
|
footer: C6,
|
|
3398
3370
|
volume: S6
|
|
3399
|
-
},
|
|
3371
|
+
}, r5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
|
|
3400
3372
|
/* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
|
|
3401
3373
|
/* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
|
|
3402
3374
|
r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
|
|
@@ -3405,7 +3377,7 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
|
|
|
3405
3377
|
grid: b6,
|
|
3406
3378
|
header: I6,
|
|
3407
3379
|
content: R6
|
|
3408
|
-
},
|
|
3380
|
+
}, l5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
|
|
3409
3381
|
/* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
|
|
3410
3382
|
c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
|
|
3411
3383
|
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
|
|
@@ -3413,27 +3385,27 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
|
|
|
3413
3385
|
grid: y6,
|
|
3414
3386
|
header: E6,
|
|
3415
3387
|
content: T6
|
|
3416
|
-
},
|
|
3388
|
+
}, i5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3417
3389
|
/* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
|
|
3418
3390
|
/* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
|
|
3419
3391
|
] });
|
|
3420
|
-
function
|
|
3392
|
+
function a5() {
|
|
3421
3393
|
return console.log(location.pathname), location.pathname;
|
|
3422
3394
|
}
|
|
3423
3395
|
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 || {});
|
|
3424
|
-
class
|
|
3396
|
+
class u5 {
|
|
3425
3397
|
constructor(t, o) {
|
|
3426
|
-
|
|
3427
|
-
|
|
3398
|
+
G(this, "path");
|
|
3399
|
+
G(this, "handler");
|
|
3428
3400
|
this.path = t, this.handler = o;
|
|
3429
3401
|
}
|
|
3430
3402
|
}
|
|
3431
|
-
const
|
|
3432
|
-
class
|
|
3403
|
+
const d5 = "$off";
|
|
3404
|
+
class h5 {
|
|
3433
3405
|
constructor() {
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3406
|
+
G(this, "currentShareText");
|
|
3407
|
+
G(this, "enabled");
|
|
3408
|
+
G(this, "isSharing");
|
|
3437
3409
|
}
|
|
3438
3410
|
}
|
|
3439
3411
|
export {
|
|
@@ -3455,6 +3427,7 @@ export {
|
|
|
3455
3427
|
Q8 as IconMultiLaptop,
|
|
3456
3428
|
N8 as IconMultiLeftArrow,
|
|
3457
3429
|
e6 as IconMultiLight,
|
|
3430
|
+
x6 as IconMultiMic,
|
|
3458
3431
|
t6 as IconMultiMoon,
|
|
3459
3432
|
s6 as IconMultiPlaystation,
|
|
3460
3433
|
o6 as IconMultiPodium,
|
|
@@ -3465,27 +3438,29 @@ export {
|
|
|
3465
3438
|
i6 as IconMultiRoomPC,
|
|
3466
3439
|
a6 as IconMultiShade,
|
|
3467
3440
|
u6 as IconMultiSun,
|
|
3441
|
+
n5 as IconMultiTemplate,
|
|
3468
3442
|
d6 as IconMultiUpArrow,
|
|
3469
3443
|
h6 as IconMultiVolDown,
|
|
3470
3444
|
v6 as IconMultiVolMute,
|
|
3471
3445
|
g6 as IconMultiVolUp,
|
|
3472
3446
|
f6 as IconMultiWireless,
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3447
|
+
w6 as IconMultiX,
|
|
3448
|
+
p6 as IconMultiXbox,
|
|
3449
|
+
r5 as MainLayout,
|
|
3450
|
+
u5 as MessageHandler,
|
|
3451
|
+
we as MobileControlProvider,
|
|
3478
3452
|
j as MultiStateIconContainer,
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3453
|
+
c5 as NamedIconButton,
|
|
3454
|
+
h5 as ShareState,
|
|
3455
|
+
l5 as TechLayout,
|
|
3456
|
+
i5 as TechPinLayout,
|
|
3457
|
+
a5 as getBaseLocation,
|
|
3484
3458
|
V1 as httpClient,
|
|
3485
|
-
|
|
3459
|
+
M6 as iconsDictionary,
|
|
3460
|
+
d5 as roomOffSourceKey,
|
|
3486
3461
|
Z3 as selectAllDevices,
|
|
3487
3462
|
x2 as selectApiPath,
|
|
3488
|
-
|
|
3463
|
+
p2 as selectAppConfig,
|
|
3489
3464
|
Y2 as selectClientId,
|
|
3490
3465
|
r8 as selectCurrentPopoverIdForGroup,
|
|
3491
3466
|
j2 as selectDeviceByKey,
|
|
@@ -3526,12 +3501,12 @@ export {
|
|
|
3526
3501
|
G2 as selectWsIsConnected,
|
|
3527
3502
|
W2 as selectZoomRoomControllerKey,
|
|
3528
3503
|
m as store,
|
|
3529
|
-
|
|
3504
|
+
q as uiActions,
|
|
3530
3505
|
g8 as uiReducer,
|
|
3531
3506
|
O6 as useApiPath,
|
|
3532
3507
|
Z2 as useAppConfig,
|
|
3533
|
-
|
|
3534
|
-
|
|
3508
|
+
w2 as useAppDispatch,
|
|
3509
|
+
w as useAppSelector,
|
|
3535
3510
|
xe as useAvrControl,
|
|
3536
3511
|
g as useButtonHeldHeartbeat,
|
|
3537
3512
|
s8 as useClientId,
|
|
@@ -3544,7 +3519,7 @@ export {
|
|
|
3544
3519
|
F6 as useGetAllRooms,
|
|
3545
3520
|
ve as useGetCurrentPopoverIdForGroup,
|
|
3546
3521
|
_ as useGetDevice,
|
|
3547
|
-
|
|
3522
|
+
pe as useGetIBasicVolumeWithFeedback,
|
|
3548
3523
|
H6 as useGetRoom,
|
|
3549
3524
|
ce as useGetRoomDisplayStates,
|
|
3550
3525
|
re as useGetZoomRoomControllerKey,
|