@pepperdash/mobile-control-react-app-core 1.5.0 → 1.7.0
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 +829 -751
- package/dist/mobile-control-react-app-core.umd.js +15 -10
- package/dist/shared/Buttons/IconButton/IconButton.d.ts +2 -1
- package/dist/shared/Buttons/IconButton/IconButton.d.ts.map +1 -1
- package/dist/shared/Buttons/NamedIconButton/NamedIconButton.d.ts +6 -2
- package/dist/shared/Buttons/NamedIconButton/NamedIconButton.d.ts.map +1 -1
- package/dist/shared/Icons/iconsDictionary.d.ts +2 -3
- package/dist/shared/Icons/iconsDictionary.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/index.d.ts +2 -0
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +11 -0
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts +12 -0
- package/dist/shared/hooks/interfaces/useITechPassword.d.ts.map +1 -0
- package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts.map +1 -1
- package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts +1 -1
- package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts.map +1 -1
- package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts +9 -0
- package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts.map +1 -0
- package/dist/shared/layout/habanero/index.d.ts +1 -0
- package/dist/shared/layout/habanero/index.d.ts.map +1 -1
- package/dist/store/rooms/rooms.slice.d.ts +10 -2
- package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/state/message.d.ts +3 -0
- package/dist/types/state/message.d.ts.map +1 -1
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts +7 -0
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts.map +1 -0
- package/dist/types/state/state/ITechPasswordState.d.ts +5 -0
- package/dist/types/state/state/ITechPasswordState.d.ts.map +1 -0
- package/dist/types/state/state/RoomState.d.ts +7 -1
- package/dist/types/state/state/RoomState.d.ts.map +1 -1
- package/dist/types/state/state/index.d.ts +2 -0
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/dist/utils/WebsocketContext.d.ts +10 -10
- package/dist/utils/WebsocketContext.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +11 -0
- package/dist/utils/WebsocketProvider.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/useWebsocketContext.d.ts +1 -9
- package/dist/utils/useWebsocketContext.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import { createSlice as
|
|
6
|
-
import { useSelector as
|
|
7
|
-
import * as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
var U1 = Object.defineProperty;
|
|
2
|
+
var H1 = (t, e, r) => e in t ? U1(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var _ = (t, e, r) => (H1(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
+
import K1 from "axios";
|
|
5
|
+
import { createSlice as o3, combineReducers as G1, configureStore as n1, createSelector as q1 } from "@reduxjs/toolkit";
|
|
6
|
+
import { useSelector as Y1, useDispatch as J1, Provider as z1 } from "react-redux";
|
|
7
|
+
import * as r1 from "lodash";
|
|
8
|
+
import o1, { createContext as X1, useState as d3, useRef as r3, useCallback as a3, useEffect as n3, useContext as Q1 } from "react";
|
|
9
|
+
const N1 = {
|
|
10
10
|
config: {
|
|
11
11
|
enableDev: !1,
|
|
12
12
|
apiPath: "",
|
|
@@ -16,29 +16,29 @@ const Y1 = {
|
|
|
16
16
|
loginMode: "",
|
|
17
17
|
modes: {}
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, s1 = o3({
|
|
20
20
|
name: "appConfig",
|
|
21
|
-
initialState:
|
|
21
|
+
initialState: N1,
|
|
22
22
|
reducers: {
|
|
23
23
|
setAppConfig(t, e) {
|
|
24
24
|
t.config = e.payload;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
}),
|
|
27
|
+
}), e2 = s1.actions, t2 = s1.reducer, n2 = {}, c1 = o3({
|
|
28
28
|
name: "devices",
|
|
29
|
-
initialState:
|
|
29
|
+
initialState: n2,
|
|
30
30
|
reducers: {
|
|
31
31
|
setDeviceState(t, e) {
|
|
32
32
|
const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
|
|
33
33
|
if (!s)
|
|
34
34
|
return;
|
|
35
|
-
const l = e.payload.content, a = t[s] ?? {},
|
|
36
|
-
return t[s] =
|
|
35
|
+
const l = e.payload.content, a = t[s] ?? {}, u = r1.merge(a, l);
|
|
36
|
+
return t[s] = u, t;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
39
|
+
}), r2 = c1.actions, o2 = c1.reducer, s2 = {}, l1 = o3({
|
|
40
40
|
name: "rooms",
|
|
41
|
-
initialState:
|
|
41
|
+
initialState: s2,
|
|
42
42
|
reducers: {
|
|
43
43
|
setRoomState(t, e) {
|
|
44
44
|
const r = e.payload.type, s = r.slice(r.lastIndexOf("/") + 1);
|
|
@@ -46,11 +46,11 @@ const Y1 = {
|
|
|
46
46
|
return;
|
|
47
47
|
const l = e.payload.content;
|
|
48
48
|
console.log(l);
|
|
49
|
-
const a = t[s] ?? {},
|
|
50
|
-
return t[s] =
|
|
49
|
+
const a = t[s] ?? {}, u = r1.merge(a, l);
|
|
50
|
+
return t[s] = u, console.log(t), t;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), c2 = l1.actions, l2 = l1.reducer, i2 = {
|
|
54
54
|
apiVersion: "",
|
|
55
55
|
serverIsRunningOnProcessorHardware: !1,
|
|
56
56
|
websocket: {
|
|
@@ -69,9 +69,9 @@ const Y1 = {
|
|
|
69
69
|
userCode: "",
|
|
70
70
|
qrUrl: ""
|
|
71
71
|
}
|
|
72
|
-
},
|
|
72
|
+
}, i1 = o3({
|
|
73
73
|
name: "runtimeConfig",
|
|
74
|
-
initialState:
|
|
74
|
+
initialState: i2,
|
|
75
75
|
reducers: {
|
|
76
76
|
setRuntimeConfig(t, e) {
|
|
77
77
|
t.apiVersion = e.payload.apiVersion, t.serverIsRunningOnProcessorHardware = e.payload.serverIsRunningOnProcessorHardware;
|
|
@@ -95,15 +95,15 @@ const Y1 = {
|
|
|
95
95
|
t.roomData.userCode = e.payload.userCode, t.roomData.qrUrl = e.payload.qrUrl;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
}),
|
|
98
|
+
}), K = i1.actions, a2 = i1.reducer, u2 = {
|
|
99
99
|
modalVisibility: {
|
|
100
100
|
showShutdownModal: !1,
|
|
101
101
|
showIncomingCallModal: !1
|
|
102
102
|
},
|
|
103
103
|
popoverVisibility: {}
|
|
104
|
-
},
|
|
104
|
+
}, a1 = o3({
|
|
105
105
|
name: "ui",
|
|
106
|
-
initialState:
|
|
106
|
+
initialState: u2,
|
|
107
107
|
reducers: {
|
|
108
108
|
clearAllModals(t) {
|
|
109
109
|
Object.entries(t.modalVisibility).forEach(([e]) => {
|
|
@@ -125,99 +125,99 @@ const Y1 = {
|
|
|
125
125
|
}), t.popoverVisibility[e.payload.popoverGroup][e.payload.popoverId] = e.payload.value;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
}),
|
|
129
|
-
appConfig:
|
|
130
|
-
runtimeConfig:
|
|
131
|
-
rooms:
|
|
132
|
-
devices:
|
|
133
|
-
ui:
|
|
134
|
-
}),
|
|
135
|
-
reducer:
|
|
136
|
-
}),
|
|
137
|
-
function
|
|
138
|
-
return
|
|
128
|
+
}), E8 = a1.actions, d2 = a1.reducer, u1 = G1({
|
|
129
|
+
appConfig: t2,
|
|
130
|
+
runtimeConfig: a2,
|
|
131
|
+
rooms: l2,
|
|
132
|
+
devices: o2,
|
|
133
|
+
ui: d2
|
|
134
|
+
}), v2 = n1({
|
|
135
|
+
reducer: u1
|
|
136
|
+
}), Z = Y1, h2 = () => Z((t) => t.appConfig.config), _8 = () => Z((t) => t.appConfig.config.apiPath), g2 = () => Z((t) => t.devices);
|
|
137
|
+
function $(t) {
|
|
138
|
+
return Z((e) => e.devices[t] ? e.devices[t] : void 0);
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const L8 = (t) => Z(
|
|
141
141
|
(e) => {
|
|
142
142
|
var r;
|
|
143
143
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.configuration : void 0;
|
|
144
144
|
}
|
|
145
|
-
),
|
|
145
|
+
), R3 = (t) => Z(
|
|
146
146
|
(e) => e.rooms[t] ? e.rooms[t] : void 0
|
|
147
|
-
),
|
|
147
|
+
), $8 = (t) => Z(
|
|
148
148
|
(e) => {
|
|
149
149
|
var r;
|
|
150
150
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.name : void 0;
|
|
151
151
|
}
|
|
152
|
-
),
|
|
152
|
+
), f2 = (t, e) => Z(
|
|
153
153
|
(r) => {
|
|
154
154
|
var s;
|
|
155
155
|
return r.rooms[t] ? (s = r.rooms[t]) == null ? void 0 : s.volumes[e] : void 0;
|
|
156
156
|
}
|
|
157
|
-
),
|
|
157
|
+
), A8 = (t) => Z(
|
|
158
158
|
(e) => {
|
|
159
159
|
var r, s;
|
|
160
160
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.sourceList : void 0;
|
|
161
161
|
}
|
|
162
|
-
),
|
|
162
|
+
), B8 = (t) => Z(
|
|
163
163
|
(e) => {
|
|
164
164
|
var r, s;
|
|
165
165
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations : void 0;
|
|
166
166
|
}
|
|
167
|
-
),
|
|
167
|
+
), T8 = (t) => Z(
|
|
168
168
|
(e) => {
|
|
169
169
|
var r, s;
|
|
170
170
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList : void 0;
|
|
171
171
|
}
|
|
172
|
-
),
|
|
172
|
+
), D8 = (t) => Z(
|
|
173
173
|
(e) => {
|
|
174
174
|
var r, s;
|
|
175
175
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.environmentalDevices : void 0;
|
|
176
176
|
}
|
|
177
|
-
),
|
|
177
|
+
), P8 = (t) => Z(
|
|
178
178
|
(e) => {
|
|
179
|
-
var r, s, l, a,
|
|
180
|
-
return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) != null && s.destinationList.programAudio ? (
|
|
179
|
+
var r, s, l, a, u, f, d, C;
|
|
180
|
+
return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) != null && s.destinationList.programAudio ? (u = (a = (l = e.rooms[t]) == null ? void 0 : l.configuration) == null ? void 0 : a.destinationList.programAudio) == null ? void 0 : u.sinkKey : ((C = (d = (f = e.rooms[t]) == null ? void 0 : f.configuration) == null ? void 0 : d.destinationList.defaultDisplay) == null ? void 0 : C.sinkKey) || "";
|
|
181
181
|
}
|
|
182
|
-
),
|
|
182
|
+
), O8 = (t) => Z(
|
|
183
183
|
(e) => {
|
|
184
184
|
var r, s, l;
|
|
185
185
|
return e.rooms[t] ? (l = (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinationList.codecContent) == null ? void 0 : l.sinkKey : void 0;
|
|
186
186
|
}
|
|
187
|
-
),
|
|
187
|
+
), V8 = (t) => Z(
|
|
188
188
|
(e) => {
|
|
189
189
|
var r;
|
|
190
190
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isInCall : void 0;
|
|
191
191
|
}
|
|
192
|
-
),
|
|
192
|
+
), F8 = (t) => Z(
|
|
193
193
|
(e) => {
|
|
194
194
|
var r;
|
|
195
195
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isWarmingUp : void 0;
|
|
196
196
|
}
|
|
197
|
-
),
|
|
197
|
+
), k8 = (t) => Z(
|
|
198
198
|
(e) => {
|
|
199
199
|
var r;
|
|
200
200
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isCoolingDown : void 0;
|
|
201
201
|
}
|
|
202
|
-
),
|
|
202
|
+
), W8 = (t) => Z(
|
|
203
203
|
(e) => {
|
|
204
204
|
var r;
|
|
205
205
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.isOn : void 0;
|
|
206
206
|
}
|
|
207
|
-
),
|
|
207
|
+
), U8 = (t) => Z(
|
|
208
208
|
(e) => {
|
|
209
209
|
var r;
|
|
210
210
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.advancedSharingActive : void 0;
|
|
211
211
|
}
|
|
212
|
-
),
|
|
212
|
+
), H8 = (t) => Z(
|
|
213
213
|
(e) => {
|
|
214
214
|
var r;
|
|
215
215
|
return e.rooms[t] ? (r = e.rooms[t]) == null ? void 0 : r.share : void 0;
|
|
216
216
|
}
|
|
217
|
-
),
|
|
217
|
+
), K8 = (t) => q1(
|
|
218
218
|
[
|
|
219
219
|
(e, r) => r,
|
|
220
|
-
|
|
220
|
+
g2,
|
|
221
221
|
(e) => {
|
|
222
222
|
var r, s;
|
|
223
223
|
return (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.destinations;
|
|
@@ -226,36 +226,36 @@ const C8 = (t) => M(
|
|
|
226
226
|
(e, r, s) => {
|
|
227
227
|
if (console.log("roomKey", e), console.log("devices", r), console.log("destinations", s), !s)
|
|
228
228
|
return;
|
|
229
|
-
const l = Object.entries(s).filter(([
|
|
230
|
-
return Object.values(r).filter((
|
|
229
|
+
const l = Object.entries(s).filter(([u]) => u !== "programAudio" && u !== "codecContent").map(([, u]) => u);
|
|
230
|
+
return Object.values(r).filter((u) => Object.values(l).includes(u.key));
|
|
231
231
|
}
|
|
232
|
-
)(
|
|
232
|
+
)(v2.getState(), t), G8 = (t) => Z(
|
|
233
233
|
(e) => {
|
|
234
234
|
var r, s;
|
|
235
235
|
return e.rooms[t] ? (s = (r = e.rooms[t]) == null ? void 0 : r.configuration) == null ? void 0 : s.zoomRoomControllerKey : void 0;
|
|
236
236
|
}
|
|
237
|
-
),
|
|
237
|
+
), w2 = () => Z((t) => t.runtimeConfig.websocket.isConnected), p2 = () => Z((t) => t.runtimeConfig.roomData.roomKey), x2 = () => Z((t) => t.runtimeConfig.roomData.clientId), q8 = () => Z((t) => t.ui.modalVisibility.showShutdownModal), Y8 = () => Z((t) => t.ui.modalVisibility.showIncomingCallModal), J8 = (t) => Z((e) => e.ui.modalVisibility[t]), z8 = (t) => Z((e) => {
|
|
238
238
|
const r = e.ui.popoverVisibility[t];
|
|
239
239
|
if (r)
|
|
240
240
|
return Object.keys(r).find((s) => r[s]);
|
|
241
|
-
}),
|
|
241
|
+
}), X8 = (t, e) => Z((r) => {
|
|
242
242
|
var s;
|
|
243
243
|
return (s = r.ui.popoverVisibility[t]) == null ? void 0 : s[e];
|
|
244
|
-
}), F =
|
|
245
|
-
reducer:
|
|
246
|
-
}),
|
|
247
|
-
function
|
|
248
|
-
const t =
|
|
244
|
+
}), F = n1({
|
|
245
|
+
reducer: u1
|
|
246
|
+
}), M2 = J1, b3 = K1.create();
|
|
247
|
+
function m2() {
|
|
248
|
+
const t = M2();
|
|
249
249
|
return async () => {
|
|
250
250
|
try {
|
|
251
251
|
const e = location.pathname.split("/").filter((l) => l.length > 0);
|
|
252
252
|
e.length >= 5 ? e.length = 5 : e.length = 2;
|
|
253
|
-
const r = `/${e.join("/")}`, s = await
|
|
253
|
+
const r = `/${e.join("/")}`, s = await b3.get("/_local-config/_config.local.json", { baseURL: r });
|
|
254
254
|
if (s.status == 200 && s.data) {
|
|
255
255
|
const l = s.data.apiPath;
|
|
256
|
-
t(
|
|
257
|
-
const a = await
|
|
258
|
-
a.status == 200 && a.data && t(
|
|
256
|
+
t(e2.setAppConfig(s.data));
|
|
257
|
+
const a = await b3.get(`${l}/version`);
|
|
258
|
+
a.status == 200 && a.data && t(K.setRuntimeConfig(a.data));
|
|
259
259
|
}
|
|
260
260
|
} catch (e) {
|
|
261
261
|
console.error("Error getting config", e);
|
|
@@ -263,7 +263,7 @@ function f2() {
|
|
|
263
263
|
return !0;
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
var
|
|
266
|
+
var I3 = { exports: {} }, N = {};
|
|
267
267
|
/**
|
|
268
268
|
* @license React
|
|
269
269
|
* react-jsx-runtime.development.js
|
|
@@ -273,57 +273,57 @@ var w3 = { exports: {} }, Y = {};
|
|
|
273
273
|
* This source code is licensed under the MIT license found in the
|
|
274
274
|
* LICENSE file in the root directory of this source tree.
|
|
275
275
|
*/
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return
|
|
279
|
-
var t =
|
|
280
|
-
function
|
|
276
|
+
var N3;
|
|
277
|
+
function Z2() {
|
|
278
|
+
return N3 || (N3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
279
|
+
var t = o1, e = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), V = Symbol.iterator, G = "@@iterator";
|
|
280
|
+
function q(o) {
|
|
281
281
|
if (o === null || typeof o != "object")
|
|
282
282
|
return null;
|
|
283
|
-
var c =
|
|
283
|
+
var c = V && o[V] || o[G];
|
|
284
284
|
return typeof c == "function" ? c : null;
|
|
285
285
|
}
|
|
286
|
-
var
|
|
287
|
-
function
|
|
286
|
+
var m = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
287
|
+
function g(o) {
|
|
288
288
|
{
|
|
289
289
|
for (var c = arguments.length, i = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
|
|
290
290
|
i[v - 1] = arguments[v];
|
|
291
|
-
|
|
291
|
+
O("error", o, i);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function O(o, c, i) {
|
|
295
295
|
{
|
|
296
|
-
var v =
|
|
297
|
-
|
|
298
|
-
var
|
|
299
|
-
return String(
|
|
296
|
+
var v = m.ReactDebugCurrentFrame, x = v.getStackAddendum();
|
|
297
|
+
x !== "" && (c += "%s", i = i.concat([x]));
|
|
298
|
+
var j = i.map(function(p) {
|
|
299
|
+
return String(p);
|
|
300
300
|
});
|
|
301
|
-
|
|
301
|
+
j.unshift("Warning: " + c), Function.prototype.apply.call(console[o], console, j);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
var
|
|
305
|
-
|
|
306
|
-
function
|
|
307
|
-
return !!(typeof o == "string" || typeof o == "function" || o === s || o === a ||
|
|
304
|
+
var Y = !1, R = !1, J = !1, v3 = !1, h3 = !1, E3;
|
|
305
|
+
E3 = Symbol.for("react.module.reference");
|
|
306
|
+
function g1(o) {
|
|
307
|
+
return !!(typeof o == "string" || typeof o == "function" || o === s || o === a || h3 || o === l || o === C || o === S || v3 || o === T || Y || R || J || typeof o == "object" && o !== null && (o.$$typeof === A || o.$$typeof === b || o.$$typeof === u || o.$$typeof === f || o.$$typeof === d || // This needs to include all possible module reference object
|
|
308
308
|
// types supported by any Flight configuration anywhere since
|
|
309
309
|
// we don't know which Flight build this will end up being used
|
|
310
310
|
// with.
|
|
311
|
-
o.$$typeof ===
|
|
311
|
+
o.$$typeof === E3 || o.getModuleId !== void 0));
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function f1(o, c, i) {
|
|
314
314
|
var v = o.displayName;
|
|
315
315
|
if (v)
|
|
316
316
|
return v;
|
|
317
|
-
var
|
|
318
|
-
return
|
|
317
|
+
var x = c.displayName || c.name || "";
|
|
318
|
+
return x !== "" ? i + "(" + x + ")" : i;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function _3(o) {
|
|
321
321
|
return o.displayName || "Context";
|
|
322
322
|
}
|
|
323
323
|
function P(o) {
|
|
324
324
|
if (o == null)
|
|
325
325
|
return null;
|
|
326
|
-
if (typeof o.tag == "number" &&
|
|
326
|
+
if (typeof o.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
327
327
|
return o.displayName || o.name || null;
|
|
328
328
|
if (typeof o == "string")
|
|
329
329
|
return o;
|
|
@@ -338,26 +338,26 @@ function w2() {
|
|
|
338
338
|
return "StrictMode";
|
|
339
339
|
case C:
|
|
340
340
|
return "Suspense";
|
|
341
|
-
case
|
|
341
|
+
case S:
|
|
342
342
|
return "SuspenseList";
|
|
343
343
|
}
|
|
344
344
|
if (typeof o == "object")
|
|
345
345
|
switch (o.$$typeof) {
|
|
346
346
|
case f:
|
|
347
347
|
var c = o;
|
|
348
|
-
return
|
|
349
|
-
case d:
|
|
350
|
-
var i = o;
|
|
351
|
-
return M3(i._context) + ".Provider";
|
|
348
|
+
return _3(c) + ".Consumer";
|
|
352
349
|
case u:
|
|
353
|
-
|
|
354
|
-
|
|
350
|
+
var i = o;
|
|
351
|
+
return _3(i._context) + ".Provider";
|
|
352
|
+
case d:
|
|
353
|
+
return f1(o, o.render, "ForwardRef");
|
|
354
|
+
case b:
|
|
355
355
|
var v = o.displayName || null;
|
|
356
356
|
return v !== null ? v : P(o.type) || "Memo";
|
|
357
|
-
case
|
|
358
|
-
var
|
|
357
|
+
case A: {
|
|
358
|
+
var x = o, j = x._payload, p = x._init;
|
|
359
359
|
try {
|
|
360
|
-
return P(
|
|
360
|
+
return P(p(j));
|
|
361
361
|
} catch {
|
|
362
362
|
return null;
|
|
363
363
|
}
|
|
@@ -365,18 +365,18 @@ function w2() {
|
|
|
365
365
|
}
|
|
366
366
|
return null;
|
|
367
367
|
}
|
|
368
|
-
var k = Object.assign,
|
|
369
|
-
function
|
|
368
|
+
var k = Object.assign, z = 0, L3, $3, A3, B3, T3, D3, P3;
|
|
369
|
+
function O3() {
|
|
370
370
|
}
|
|
371
|
-
|
|
372
|
-
function
|
|
371
|
+
O3.__reactDisabledLog = !0;
|
|
372
|
+
function w1() {
|
|
373
373
|
{
|
|
374
|
-
if (
|
|
375
|
-
|
|
374
|
+
if (z === 0) {
|
|
375
|
+
L3 = console.log, $3 = console.info, A3 = console.warn, B3 = console.error, T3 = console.group, D3 = console.groupCollapsed, P3 = console.groupEnd;
|
|
376
376
|
var o = {
|
|
377
377
|
configurable: !0,
|
|
378
378
|
enumerable: !0,
|
|
379
|
-
value:
|
|
379
|
+
value: O3,
|
|
380
380
|
writable: !0
|
|
381
381
|
};
|
|
382
382
|
Object.defineProperties(console, {
|
|
@@ -389,12 +389,12 @@ function w2() {
|
|
|
389
389
|
groupEnd: o
|
|
390
390
|
});
|
|
391
391
|
}
|
|
392
|
-
|
|
392
|
+
z++;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function p1() {
|
|
396
396
|
{
|
|
397
|
-
if (
|
|
397
|
+
if (z--, z === 0) {
|
|
398
398
|
var o = {
|
|
399
399
|
configurable: !0,
|
|
400
400
|
enumerable: !0,
|
|
@@ -402,241 +402,241 @@ function w2() {
|
|
|
402
402
|
};
|
|
403
403
|
Object.defineProperties(console, {
|
|
404
404
|
log: k({}, o, {
|
|
405
|
-
value:
|
|
405
|
+
value: L3
|
|
406
406
|
}),
|
|
407
407
|
info: k({}, o, {
|
|
408
|
-
value:
|
|
408
|
+
value: $3
|
|
409
409
|
}),
|
|
410
410
|
warn: k({}, o, {
|
|
411
|
-
value:
|
|
411
|
+
value: A3
|
|
412
412
|
}),
|
|
413
413
|
error: k({}, o, {
|
|
414
|
-
value:
|
|
414
|
+
value: B3
|
|
415
415
|
}),
|
|
416
416
|
group: k({}, o, {
|
|
417
|
-
value:
|
|
417
|
+
value: T3
|
|
418
418
|
}),
|
|
419
419
|
groupCollapsed: k({}, o, {
|
|
420
|
-
value:
|
|
420
|
+
value: D3
|
|
421
421
|
}),
|
|
422
422
|
groupEnd: k({}, o, {
|
|
423
|
-
value:
|
|
423
|
+
value: P3
|
|
424
424
|
})
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
z < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
var
|
|
431
|
-
function
|
|
430
|
+
var g3 = m.ReactCurrentDispatcher, f3;
|
|
431
|
+
function s3(o, c, i) {
|
|
432
432
|
{
|
|
433
|
-
if (
|
|
433
|
+
if (f3 === void 0)
|
|
434
434
|
try {
|
|
435
435
|
throw Error();
|
|
436
|
-
} catch (
|
|
437
|
-
var v =
|
|
438
|
-
|
|
436
|
+
} catch (x) {
|
|
437
|
+
var v = x.stack.trim().match(/\n( *(at )?)/);
|
|
438
|
+
f3 = v && v[1] || "";
|
|
439
439
|
}
|
|
440
440
|
return `
|
|
441
|
-
` +
|
|
441
|
+
` + f3 + o;
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
var
|
|
444
|
+
var w3 = !1, c3;
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
|
|
446
|
+
var x1 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
447
|
+
c3 = new x1();
|
|
448
448
|
}
|
|
449
|
-
function
|
|
450
|
-
if (!o ||
|
|
449
|
+
function V3(o, c) {
|
|
450
|
+
if (!o || w3)
|
|
451
451
|
return "";
|
|
452
452
|
{
|
|
453
|
-
var i =
|
|
453
|
+
var i = c3.get(o);
|
|
454
454
|
if (i !== void 0)
|
|
455
455
|
return i;
|
|
456
456
|
}
|
|
457
457
|
var v;
|
|
458
|
-
|
|
459
|
-
var
|
|
458
|
+
w3 = !0;
|
|
459
|
+
var x = Error.prepareStackTrace;
|
|
460
460
|
Error.prepareStackTrace = void 0;
|
|
461
|
-
var
|
|
462
|
-
|
|
461
|
+
var j;
|
|
462
|
+
j = g3.current, g3.current = null, w1();
|
|
463
463
|
try {
|
|
464
464
|
if (c) {
|
|
465
|
-
var
|
|
465
|
+
var p = function() {
|
|
466
466
|
throw Error();
|
|
467
467
|
};
|
|
468
|
-
if (Object.defineProperty(
|
|
468
|
+
if (Object.defineProperty(p.prototype, "props", {
|
|
469
469
|
set: function() {
|
|
470
470
|
throw Error();
|
|
471
471
|
}
|
|
472
472
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
473
473
|
try {
|
|
474
|
-
Reflect.construct(
|
|
475
|
-
} catch (
|
|
476
|
-
v =
|
|
474
|
+
Reflect.construct(p, []);
|
|
475
|
+
} catch (B) {
|
|
476
|
+
v = B;
|
|
477
477
|
}
|
|
478
|
-
Reflect.construct(o, [],
|
|
478
|
+
Reflect.construct(o, [], p);
|
|
479
479
|
} else {
|
|
480
480
|
try {
|
|
481
|
-
|
|
482
|
-
} catch (
|
|
483
|
-
v =
|
|
481
|
+
p.call();
|
|
482
|
+
} catch (B) {
|
|
483
|
+
v = B;
|
|
484
484
|
}
|
|
485
|
-
o.call(
|
|
485
|
+
o.call(p.prototype);
|
|
486
486
|
}
|
|
487
487
|
} else {
|
|
488
488
|
try {
|
|
489
489
|
throw Error();
|
|
490
|
-
} catch (
|
|
491
|
-
v =
|
|
490
|
+
} catch (B) {
|
|
491
|
+
v = B;
|
|
492
492
|
}
|
|
493
493
|
o();
|
|
494
494
|
}
|
|
495
|
-
} catch (
|
|
496
|
-
if (
|
|
497
|
-
for (var
|
|
495
|
+
} catch (B) {
|
|
496
|
+
if (B && v && typeof B.stack == "string") {
|
|
497
|
+
for (var w = B.stack.split(`
|
|
498
498
|
`), L = v.stack.split(`
|
|
499
|
-
`),
|
|
500
|
-
|
|
501
|
-
for (;
|
|
502
|
-
if (
|
|
503
|
-
if (
|
|
499
|
+
`), I = w.length - 1, y = L.length - 1; I >= 1 && y >= 0 && w[I] !== L[y]; )
|
|
500
|
+
y--;
|
|
501
|
+
for (; I >= 1 && y >= 0; I--, y--)
|
|
502
|
+
if (w[I] !== L[y]) {
|
|
503
|
+
if (I !== 1 || y !== 1)
|
|
504
504
|
do
|
|
505
|
-
if (
|
|
505
|
+
if (I--, y--, y < 0 || w[I] !== L[y]) {
|
|
506
506
|
var D = `
|
|
507
|
-
` +
|
|
508
|
-
return o.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", o.displayName)), typeof o == "function" &&
|
|
507
|
+
` + w[I].replace(" at new ", " at ");
|
|
508
|
+
return o.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", o.displayName)), typeof o == "function" && c3.set(o, D), D;
|
|
509
509
|
}
|
|
510
|
-
while (
|
|
510
|
+
while (I >= 1 && y >= 0);
|
|
511
511
|
break;
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
} finally {
|
|
515
|
-
|
|
515
|
+
w3 = !1, g3.current = j, p1(), Error.prepareStackTrace = x;
|
|
516
516
|
}
|
|
517
|
-
var
|
|
518
|
-
return typeof o == "function" &&
|
|
517
|
+
var H = o ? o.displayName || o.name : "", W = H ? s3(H) : "";
|
|
518
|
+
return typeof o == "function" && c3.set(o, W), W;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
return
|
|
520
|
+
function M1(o, c, i) {
|
|
521
|
+
return V3(o, !1);
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function m1(o) {
|
|
524
524
|
var c = o.prototype;
|
|
525
525
|
return !!(c && c.isReactComponent);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function l3(o, c, i) {
|
|
528
528
|
if (o == null)
|
|
529
529
|
return "";
|
|
530
530
|
if (typeof o == "function")
|
|
531
|
-
return
|
|
531
|
+
return V3(o, m1(o));
|
|
532
532
|
if (typeof o == "string")
|
|
533
|
-
return
|
|
533
|
+
return s3(o);
|
|
534
534
|
switch (o) {
|
|
535
535
|
case C:
|
|
536
|
-
return
|
|
537
|
-
case
|
|
538
|
-
return
|
|
536
|
+
return s3("Suspense");
|
|
537
|
+
case S:
|
|
538
|
+
return s3("SuspenseList");
|
|
539
539
|
}
|
|
540
540
|
if (typeof o == "object")
|
|
541
541
|
switch (o.$$typeof) {
|
|
542
|
-
case
|
|
543
|
-
return
|
|
544
|
-
case
|
|
545
|
-
return
|
|
546
|
-
case
|
|
547
|
-
var v = o,
|
|
542
|
+
case d:
|
|
543
|
+
return M1(o.render);
|
|
544
|
+
case b:
|
|
545
|
+
return l3(o.type, c, i);
|
|
546
|
+
case A: {
|
|
547
|
+
var v = o, x = v._payload, j = v._init;
|
|
548
548
|
try {
|
|
549
|
-
return
|
|
549
|
+
return l3(j(x), c, i);
|
|
550
550
|
} catch {
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
return "";
|
|
555
555
|
}
|
|
556
|
-
var
|
|
557
|
-
function
|
|
556
|
+
var X = Object.prototype.hasOwnProperty, F3 = {}, k3 = m.ReactDebugCurrentFrame;
|
|
557
|
+
function i3(o) {
|
|
558
558
|
if (o) {
|
|
559
|
-
var c = o._owner, i =
|
|
560
|
-
|
|
559
|
+
var c = o._owner, i = l3(o.type, o._source, c ? c.type : null);
|
|
560
|
+
k3.setExtraStackFrame(i);
|
|
561
561
|
} else
|
|
562
|
-
|
|
562
|
+
k3.setExtraStackFrame(null);
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Z1(o, c, i, v, x) {
|
|
565
565
|
{
|
|
566
|
-
var
|
|
567
|
-
for (var
|
|
568
|
-
if (
|
|
569
|
-
var
|
|
566
|
+
var j = Function.call.bind(X);
|
|
567
|
+
for (var p in o)
|
|
568
|
+
if (j(o, p)) {
|
|
569
|
+
var w = void 0;
|
|
570
570
|
try {
|
|
571
|
-
if (typeof o[
|
|
572
|
-
var L = Error((v || "React class") + ": " + i + " type `" +
|
|
571
|
+
if (typeof o[p] != "function") {
|
|
572
|
+
var L = Error((v || "React class") + ": " + i + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
573
573
|
throw L.name = "Invariant Violation", L;
|
|
574
574
|
}
|
|
575
|
-
|
|
576
|
-
} catch (
|
|
577
|
-
|
|
575
|
+
w = o[p](c, p, v, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
576
|
+
} catch (I) {
|
|
577
|
+
w = I;
|
|
578
578
|
}
|
|
579
|
-
|
|
579
|
+
w && !(w instanceof Error) && (i3(x), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", i, p, typeof w), i3(null)), w instanceof Error && !(w.message in F3) && (F3[w.message] = !0, i3(x), g("Failed %s type: %s", i, w.message), i3(null));
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
var
|
|
584
|
-
function
|
|
585
|
-
return
|
|
583
|
+
var j1 = Array.isArray;
|
|
584
|
+
function p3(o) {
|
|
585
|
+
return j1(o);
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function S1(o) {
|
|
588
588
|
{
|
|
589
589
|
var c = typeof Symbol == "function" && Symbol.toStringTag, i = c && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
590
590
|
return i;
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function C1(o) {
|
|
594
594
|
try {
|
|
595
|
-
return
|
|
595
|
+
return W3(o), !1;
|
|
596
596
|
} catch {
|
|
597
597
|
return !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function W3(o) {
|
|
601
601
|
return "" + o;
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
if (
|
|
605
|
-
return
|
|
603
|
+
function U3(o) {
|
|
604
|
+
if (C1(o))
|
|
605
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", S1(o)), W3(o);
|
|
606
606
|
}
|
|
607
|
-
var
|
|
607
|
+
var Q = m.ReactCurrentOwner, b1 = {
|
|
608
608
|
key: !0,
|
|
609
609
|
ref: !0,
|
|
610
610
|
__self: !0,
|
|
611
611
|
__source: !0
|
|
612
|
-
},
|
|
613
|
-
|
|
614
|
-
function
|
|
615
|
-
if (
|
|
612
|
+
}, H3, K3, x3;
|
|
613
|
+
x3 = {};
|
|
614
|
+
function I1(o) {
|
|
615
|
+
if (X.call(o, "ref")) {
|
|
616
616
|
var c = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
617
617
|
if (c && c.isReactWarning)
|
|
618
618
|
return !1;
|
|
619
619
|
}
|
|
620
620
|
return o.ref !== void 0;
|
|
621
621
|
}
|
|
622
|
-
function
|
|
623
|
-
if (
|
|
622
|
+
function y1(o) {
|
|
623
|
+
if (X.call(o, "key")) {
|
|
624
624
|
var c = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
625
625
|
if (c && c.isReactWarning)
|
|
626
626
|
return !1;
|
|
627
627
|
}
|
|
628
628
|
return o.key !== void 0;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
if (typeof o.ref == "string" &&
|
|
632
|
-
var i = P(
|
|
633
|
-
|
|
630
|
+
function R1(o, c) {
|
|
631
|
+
if (typeof o.ref == "string" && Q.current && c && Q.current.stateNode !== c) {
|
|
632
|
+
var i = P(Q.current.type);
|
|
633
|
+
x3[i] || (g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(Q.current.type), o.ref), x3[i] = !0);
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function E1(o, c) {
|
|
637
637
|
{
|
|
638
638
|
var i = function() {
|
|
639
|
-
|
|
639
|
+
H3 || (H3 = !0, g("%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)", c));
|
|
640
640
|
};
|
|
641
641
|
i.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
642
642
|
get: i,
|
|
@@ -644,10 +644,10 @@ function w2() {
|
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function _1(o, c) {
|
|
648
648
|
{
|
|
649
649
|
var i = function() {
|
|
650
|
-
|
|
650
|
+
K3 || (K3 = !0, g("%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)", c));
|
|
651
651
|
};
|
|
652
652
|
i.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
653
653
|
get: i,
|
|
@@ -655,70 +655,70 @@ function w2() {
|
|
|
655
655
|
});
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
|
-
var
|
|
659
|
-
var
|
|
658
|
+
var L1 = function(o, c, i, v, x, j, p) {
|
|
659
|
+
var w = {
|
|
660
660
|
// This tag allows us to uniquely identify this as a React Element
|
|
661
661
|
$$typeof: e,
|
|
662
662
|
// Built-in properties that belong on the element
|
|
663
663
|
type: o,
|
|
664
664
|
key: c,
|
|
665
665
|
ref: i,
|
|
666
|
-
props:
|
|
666
|
+
props: p,
|
|
667
667
|
// Record the component responsible for creating this element.
|
|
668
|
-
_owner:
|
|
668
|
+
_owner: j
|
|
669
669
|
};
|
|
670
|
-
return
|
|
670
|
+
return w._store = {}, Object.defineProperty(w._store, "validated", {
|
|
671
671
|
configurable: !1,
|
|
672
672
|
enumerable: !1,
|
|
673
673
|
writable: !0,
|
|
674
674
|
value: !1
|
|
675
|
-
}), Object.defineProperty(
|
|
675
|
+
}), Object.defineProperty(w, "_self", {
|
|
676
676
|
configurable: !1,
|
|
677
677
|
enumerable: !1,
|
|
678
678
|
writable: !1,
|
|
679
679
|
value: v
|
|
680
|
-
}), Object.defineProperty(
|
|
680
|
+
}), Object.defineProperty(w, "_source", {
|
|
681
681
|
configurable: !1,
|
|
682
682
|
enumerable: !1,
|
|
683
683
|
writable: !1,
|
|
684
|
-
value:
|
|
685
|
-
}), Object.freeze && (Object.freeze(
|
|
684
|
+
value: x
|
|
685
|
+
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
|
|
686
686
|
};
|
|
687
|
-
function
|
|
687
|
+
function $1(o, c, i, v, x) {
|
|
688
688
|
{
|
|
689
|
-
var
|
|
690
|
-
i !== void 0 && (
|
|
691
|
-
for (
|
|
692
|
-
|
|
689
|
+
var j, p = {}, w = null, L = null;
|
|
690
|
+
i !== void 0 && (U3(i), w = "" + i), y1(c) && (U3(c.key), w = "" + c.key), I1(c) && (L = c.ref, R1(c, x));
|
|
691
|
+
for (j in c)
|
|
692
|
+
X.call(c, j) && !b1.hasOwnProperty(j) && (p[j] = c[j]);
|
|
693
693
|
if (o && o.defaultProps) {
|
|
694
|
-
var
|
|
695
|
-
for (
|
|
696
|
-
|
|
694
|
+
var I = o.defaultProps;
|
|
695
|
+
for (j in I)
|
|
696
|
+
p[j] === void 0 && (p[j] = I[j]);
|
|
697
697
|
}
|
|
698
|
-
if (
|
|
699
|
-
var
|
|
700
|
-
|
|
698
|
+
if (w || L) {
|
|
699
|
+
var y = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
700
|
+
w && E1(p, y), L && _1(p, y);
|
|
701
701
|
}
|
|
702
|
-
return
|
|
702
|
+
return L1(o, w, L, x, v, Q.current, p);
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
var
|
|
705
|
+
var M3 = m.ReactCurrentOwner, G3 = m.ReactDebugCurrentFrame;
|
|
706
706
|
function U(o) {
|
|
707
707
|
if (o) {
|
|
708
|
-
var c = o._owner, i =
|
|
709
|
-
|
|
708
|
+
var c = o._owner, i = l3(o.type, o._source, c ? c.type : null);
|
|
709
|
+
G3.setExtraStackFrame(i);
|
|
710
710
|
} else
|
|
711
|
-
|
|
711
|
+
G3.setExtraStackFrame(null);
|
|
712
712
|
}
|
|
713
|
-
var
|
|
714
|
-
|
|
715
|
-
function
|
|
713
|
+
var m3;
|
|
714
|
+
m3 = !1;
|
|
715
|
+
function Z3(o) {
|
|
716
716
|
return typeof o == "object" && o !== null && o.$$typeof === e;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function q3() {
|
|
719
719
|
{
|
|
720
|
-
if (
|
|
721
|
-
var o = P(
|
|
720
|
+
if (M3.current) {
|
|
721
|
+
var o = P(M3.current.type);
|
|
722
722
|
if (o)
|
|
723
723
|
return `
|
|
724
724
|
|
|
@@ -727,7 +727,7 @@ Check the render method of \`` + o + "`.";
|
|
|
727
727
|
return "";
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function A1(o) {
|
|
731
731
|
{
|
|
732
732
|
if (o !== void 0) {
|
|
733
733
|
var c = o.fileName.replace(/^.*[\\\/]/, ""), i = o.lineNumber;
|
|
@@ -738,10 +738,10 @@ Check your code at ` + c + ":" + i + ".";
|
|
|
738
738
|
return "";
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
|
-
var
|
|
742
|
-
function
|
|
741
|
+
var Y3 = {};
|
|
742
|
+
function B1(o) {
|
|
743
743
|
{
|
|
744
|
-
var c =
|
|
744
|
+
var c = q3();
|
|
745
745
|
if (!c) {
|
|
746
746
|
var i = typeof o == "string" ? o : o.displayName || o.name;
|
|
747
747
|
i && (c = `
|
|
@@ -751,39 +751,39 @@ Check the top-level render call using <` + i + ">.");
|
|
|
751
751
|
return c;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function J3(o, c) {
|
|
755
755
|
{
|
|
756
756
|
if (!o._store || o._store.validated || o.key != null)
|
|
757
757
|
return;
|
|
758
758
|
o._store.validated = !0;
|
|
759
|
-
var i =
|
|
760
|
-
if (
|
|
759
|
+
var i = B1(c);
|
|
760
|
+
if (Y3[i])
|
|
761
761
|
return;
|
|
762
|
-
|
|
762
|
+
Y3[i] = !0;
|
|
763
763
|
var v = "";
|
|
764
|
-
o && o._owner && o._owner !==
|
|
764
|
+
o && o._owner && o._owner !== M3.current && (v = " It was passed a child from " + P(o._owner.type) + "."), U(o), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, v), U(null);
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function z3(o, c) {
|
|
768
768
|
{
|
|
769
769
|
if (typeof o != "object")
|
|
770
770
|
return;
|
|
771
|
-
if (
|
|
771
|
+
if (p3(o))
|
|
772
772
|
for (var i = 0; i < o.length; i++) {
|
|
773
773
|
var v = o[i];
|
|
774
|
-
|
|
774
|
+
Z3(v) && J3(v, c);
|
|
775
775
|
}
|
|
776
|
-
else if (
|
|
776
|
+
else if (Z3(o))
|
|
777
777
|
o._store && (o._store.validated = !0);
|
|
778
778
|
else if (o) {
|
|
779
|
-
var
|
|
780
|
-
if (typeof
|
|
781
|
-
for (var
|
|
782
|
-
|
|
779
|
+
var x = q(o);
|
|
780
|
+
if (typeof x == "function" && x !== o.entries)
|
|
781
|
+
for (var j = x.call(o), p; !(p = j.next()).done; )
|
|
782
|
+
Z3(p.value) && J3(p.value, c);
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function T1(o) {
|
|
787
787
|
{
|
|
788
788
|
var c = o.type;
|
|
789
789
|
if (c == null || typeof c == "string")
|
|
@@ -791,76 +791,91 @@ Check the top-level render call using <` + i + ">.");
|
|
|
791
791
|
var i;
|
|
792
792
|
if (typeof c == "function")
|
|
793
793
|
i = c.propTypes;
|
|
794
|
-
else if (typeof c == "object" && (c.$$typeof ===
|
|
794
|
+
else if (typeof c == "object" && (c.$$typeof === d || // Note: Memo only checks outer props here.
|
|
795
795
|
// Inner props are checked in the reconciler.
|
|
796
|
-
c.$$typeof ===
|
|
796
|
+
c.$$typeof === b))
|
|
797
797
|
i = c.propTypes;
|
|
798
798
|
else
|
|
799
799
|
return;
|
|
800
800
|
if (i) {
|
|
801
801
|
var v = P(c);
|
|
802
|
-
|
|
803
|
-
} else if (c.PropTypes !== void 0 && !
|
|
804
|
-
|
|
805
|
-
var
|
|
806
|
-
|
|
802
|
+
Z1(i, o.props, "prop", v, o);
|
|
803
|
+
} else if (c.PropTypes !== void 0 && !m3) {
|
|
804
|
+
m3 = !0;
|
|
805
|
+
var x = P(c);
|
|
806
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
807
807
|
}
|
|
808
|
-
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved &&
|
|
808
|
+
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function D1(o) {
|
|
812
812
|
{
|
|
813
813
|
for (var c = Object.keys(o.props), i = 0; i < c.length; i++) {
|
|
814
814
|
var v = c[i];
|
|
815
815
|
if (v !== "children" && v !== "key") {
|
|
816
|
-
U(o),
|
|
816
|
+
U(o), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), U(null);
|
|
817
817
|
break;
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
|
-
o.ref !== null && (U(o),
|
|
820
|
+
o.ref !== null && (U(o), g("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
|
|
821
821
|
}
|
|
822
822
|
}
|
|
823
|
-
|
|
823
|
+
var X3 = {};
|
|
824
|
+
function Q3(o, c, i, v, x, j) {
|
|
824
825
|
{
|
|
825
|
-
var
|
|
826
|
-
if (!
|
|
827
|
-
var
|
|
828
|
-
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (
|
|
829
|
-
var L =
|
|
830
|
-
L ?
|
|
831
|
-
var
|
|
832
|
-
o === null ?
|
|
833
|
-
}
|
|
834
|
-
var
|
|
835
|
-
if (
|
|
836
|
-
return
|
|
837
|
-
if (
|
|
826
|
+
var p = g1(o);
|
|
827
|
+
if (!p) {
|
|
828
|
+
var w = "";
|
|
829
|
+
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
830
|
+
var L = A1(x);
|
|
831
|
+
L ? w += L : w += q3();
|
|
832
|
+
var I;
|
|
833
|
+
o === null ? I = "null" : p3(o) ? I = "array" : o !== void 0 && o.$$typeof === e ? (I = "<" + (P(o.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : I = typeof o, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, w);
|
|
834
|
+
}
|
|
835
|
+
var y = $1(o, c, i, x, j);
|
|
836
|
+
if (y == null)
|
|
837
|
+
return y;
|
|
838
|
+
if (p) {
|
|
838
839
|
var D = c.children;
|
|
839
840
|
if (D !== void 0)
|
|
840
841
|
if (v)
|
|
841
|
-
if (
|
|
842
|
-
for (var
|
|
843
|
-
|
|
842
|
+
if (p3(D)) {
|
|
843
|
+
for (var H = 0; H < D.length; H++)
|
|
844
|
+
z3(D[H], o);
|
|
844
845
|
Object.freeze && Object.freeze(D);
|
|
845
846
|
} else
|
|
846
|
-
|
|
847
|
+
g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
847
848
|
else
|
|
848
|
-
|
|
849
|
+
z3(D, o);
|
|
850
|
+
}
|
|
851
|
+
if (X.call(c, "key")) {
|
|
852
|
+
var W = P(o), B = Object.keys(c).filter(function(W1) {
|
|
853
|
+
return W1 !== "key";
|
|
854
|
+
}), j3 = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
855
|
+
if (!X3[W + j3]) {
|
|
856
|
+
var k1 = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
857
|
+
g(`A props object containing a "key" prop is being spread into JSX:
|
|
858
|
+
let props = %s;
|
|
859
|
+
<%s {...props} />
|
|
860
|
+
React keys must be passed directly to JSX without using spread:
|
|
861
|
+
let props = %s;
|
|
862
|
+
<%s key={someKey} {...props} />`, j3, W, k1, W), X3[W + j3] = !0;
|
|
863
|
+
}
|
|
849
864
|
}
|
|
850
|
-
return o === s ?
|
|
865
|
+
return o === s ? D1(y) : T1(y), y;
|
|
851
866
|
}
|
|
852
867
|
}
|
|
853
|
-
function
|
|
854
|
-
return
|
|
868
|
+
function P1(o, c, i) {
|
|
869
|
+
return Q3(o, c, i, !0);
|
|
855
870
|
}
|
|
856
|
-
function
|
|
857
|
-
return
|
|
871
|
+
function O1(o, c, i) {
|
|
872
|
+
return Q3(o, c, i, !1);
|
|
858
873
|
}
|
|
859
|
-
var
|
|
860
|
-
|
|
861
|
-
}()),
|
|
874
|
+
var V1 = O1, F1 = P1;
|
|
875
|
+
N.Fragment = s, N.jsx = V1, N.jsxs = F1;
|
|
876
|
+
}()), N;
|
|
862
877
|
}
|
|
863
|
-
var
|
|
878
|
+
var e3 = {};
|
|
864
879
|
/**
|
|
865
880
|
* @license React
|
|
866
881
|
* react-jsx-runtime.production.min.js
|
|
@@ -870,129 +885,151 @@ var K = {};
|
|
|
870
885
|
* This source code is licensed under the MIT license found in the
|
|
871
886
|
* LICENSE file in the root directory of this source tree.
|
|
872
887
|
*/
|
|
873
|
-
var
|
|
874
|
-
function
|
|
875
|
-
if (
|
|
876
|
-
return
|
|
877
|
-
|
|
878
|
-
var t =
|
|
879
|
-
function
|
|
880
|
-
var
|
|
881
|
-
C !== void 0 && (
|
|
882
|
-
for (
|
|
883
|
-
s.call(
|
|
888
|
+
var e1;
|
|
889
|
+
function j2() {
|
|
890
|
+
if (e1)
|
|
891
|
+
return e3;
|
|
892
|
+
e1 = 1;
|
|
893
|
+
var t = o1, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
894
|
+
function u(f, d, C) {
|
|
895
|
+
var S, b = {}, A = null, T = null;
|
|
896
|
+
C !== void 0 && (A = "" + C), d.key !== void 0 && (A = "" + d.key), d.ref !== void 0 && (T = d.ref);
|
|
897
|
+
for (S in d)
|
|
898
|
+
s.call(d, S) && !a.hasOwnProperty(S) && (b[S] = d[S]);
|
|
884
899
|
if (f && f.defaultProps)
|
|
885
|
-
for (
|
|
886
|
-
|
|
887
|
-
return { $$typeof: e, type: f, key:
|
|
900
|
+
for (S in d = f.defaultProps, d)
|
|
901
|
+
b[S] === void 0 && (b[S] = d[S]);
|
|
902
|
+
return { $$typeof: e, type: f, key: A, ref: T, props: b, _owner: l.current };
|
|
888
903
|
}
|
|
889
|
-
return
|
|
904
|
+
return e3.Fragment = r, e3.jsx = u, e3.jsxs = u, e3;
|
|
890
905
|
}
|
|
891
|
-
process.env.NODE_ENV === "production" ?
|
|
892
|
-
var n =
|
|
893
|
-
const
|
|
906
|
+
process.env.NODE_ENV === "production" ? I3.exports = j2() : I3.exports = Z2();
|
|
907
|
+
var n = I3.exports;
|
|
908
|
+
const S2 = () => /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsxs("div", { className: "disconnected-message", children: [
|
|
894
909
|
/* @__PURE__ */ n.jsx("h1", { children: "Disconnected" }),
|
|
895
910
|
/* @__PURE__ */ n.jsx("p", { children: "Reconnecting..." })
|
|
896
911
|
] }) });
|
|
897
|
-
class
|
|
912
|
+
class C2 {
|
|
898
913
|
constructor() {
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
914
|
+
_(this, "uuid", "current-uuid");
|
|
915
|
+
_(this, "roomKey", "current-room-key");
|
|
916
|
+
_(this, "code", "current-code");
|
|
917
|
+
_(this, "expiry", "current-uuid-expires");
|
|
903
918
|
}
|
|
904
919
|
}
|
|
905
|
-
const
|
|
906
|
-
|
|
920
|
+
const t1 = new C2(), d1 = X1({
|
|
921
|
+
sendMessage: () => null,
|
|
922
|
+
sendSimpleMessage: () => null,
|
|
923
|
+
addEventHandler: () => null,
|
|
924
|
+
removeEventHandler: () => null
|
|
925
|
+
});
|
|
926
|
+
function b2(t) {
|
|
907
927
|
return sessionStorage.getItem(t) || "";
|
|
908
928
|
}
|
|
909
|
-
function
|
|
929
|
+
function I2(t, e) {
|
|
910
930
|
sessionStorage.setItem(t, e);
|
|
911
931
|
}
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
const [e, r] = o3(), s = v2(), l = d2(), a = h2(), d = f2(), f = l2(), u = s3(null), [C, j] = o3(), y = U3(
|
|
920
|
-
async (A) => {
|
|
921
|
-
await f3.get(`${A}/ui/joinroom?token=${e}`).then((S) => {
|
|
922
|
-
S.status === 200 && S.data && F.dispatch(H.setRoomData(S.data));
|
|
923
|
-
}).catch((S) => {
|
|
924
|
-
console.log(S);
|
|
932
|
+
const y2 = ({ children: t }) => {
|
|
933
|
+
const [e, r] = d3(), s = w2(), l = p2(), a = x2(), u = m2(), f = h2(), d = r3(null), [C, S] = d3(), b = r3({}), A = a3(
|
|
934
|
+
async (m) => {
|
|
935
|
+
await b3.get(`${m}/ui/joinroom?token=${e}`).then((g) => {
|
|
936
|
+
g.status === 200 && g.data && F.dispatch(K.setRoomData(g.data));
|
|
937
|
+
}).catch((g) => {
|
|
938
|
+
console.log(g);
|
|
925
939
|
});
|
|
926
940
|
},
|
|
927
941
|
[e]
|
|
928
|
-
),
|
|
929
|
-
(
|
|
930
|
-
|
|
942
|
+
), T = a3(
|
|
943
|
+
(m, g) => {
|
|
944
|
+
d.current && s && d.current.send(JSON.stringify({ type: m, clientId: a, content: g }));
|
|
931
945
|
},
|
|
932
946
|
[s, a]
|
|
933
|
-
),
|
|
934
|
-
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
947
|
+
), V = (m, g) => {
|
|
948
|
+
T(m, { value: g });
|
|
949
|
+
}, G = a3(
|
|
950
|
+
(m, g, O) => {
|
|
951
|
+
b.current[m] || (b.current[m] = {}), b.current[m][g] = O, console.log("event handler added", m, g);
|
|
952
|
+
},
|
|
953
|
+
[]
|
|
954
|
+
), q = a3(
|
|
955
|
+
(m, g) => {
|
|
956
|
+
b.current[m] && (delete b.current[m][g], console.log("event handler removed", m, g));
|
|
957
|
+
},
|
|
958
|
+
[]
|
|
959
|
+
);
|
|
960
|
+
return n3(() => {
|
|
961
|
+
let g = new URLSearchParams(window.location.search).get("token");
|
|
962
|
+
g ? (console.log("saving token: ", g), I2(t1.uuid, g)) : (g = b2(t1.uuid), console.log("loading token: ", g)), r(g), u();
|
|
963
|
+
}, []), n3(() => {
|
|
940
964
|
if (!(!f.apiPath || C || !e)) {
|
|
941
|
-
if (
|
|
942
|
-
const
|
|
943
|
-
|
|
944
|
-
console.log("connected"), F.dispatch(
|
|
945
|
-
}, O.onerror = (
|
|
946
|
-
console.log(
|
|
965
|
+
if (A(f.apiPath), !d.current) {
|
|
966
|
+
const g = `${f.apiPath.replace("http", "ws")}/ui/join/${e}`, O = new WebSocket(g);
|
|
967
|
+
d.current = O, O.onopen = () => {
|
|
968
|
+
console.log("connected"), F.dispatch(K.setWebsocketIsConnected(!0));
|
|
969
|
+
}, O.onerror = (Y) => {
|
|
970
|
+
console.log(Y);
|
|
947
971
|
}, O.onclose = () => {
|
|
948
|
-
if (console.log("disconnected"),
|
|
972
|
+
if (console.log("disconnected"), d.current)
|
|
949
973
|
console.log("WebSocket closed by server.");
|
|
950
974
|
else {
|
|
951
975
|
console.log("WebSocket closed by client.");
|
|
952
976
|
return;
|
|
953
977
|
}
|
|
954
|
-
C || (F.dispatch(
|
|
955
|
-
}, O.onmessage = (
|
|
978
|
+
C || (F.dispatch(K.setWebsocketIsConnected(!1)), S(!0), setTimeout(() => S(void 0), 5e3));
|
|
979
|
+
}, O.onmessage = (Y) => {
|
|
956
980
|
try {
|
|
957
|
-
const
|
|
958
|
-
if (console.log(
|
|
959
|
-
switch (
|
|
981
|
+
const R = JSON.parse(Y.data);
|
|
982
|
+
if (console.log(R), R.type.startsWith("/system/"))
|
|
983
|
+
switch (R.type) {
|
|
960
984
|
case "/system/roomKey":
|
|
961
985
|
F.dispatch(
|
|
962
|
-
|
|
963
|
-
|
|
986
|
+
K.setCurrentRoomKey(
|
|
987
|
+
R.content
|
|
964
988
|
)
|
|
965
989
|
);
|
|
966
990
|
break;
|
|
967
991
|
case "/system/userCodeChanged":
|
|
968
992
|
F.dispatch(
|
|
969
|
-
|
|
993
|
+
K.setUserCode(R.content)
|
|
970
994
|
);
|
|
971
995
|
break;
|
|
972
996
|
}
|
|
973
|
-
else
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
997
|
+
else if (R.type.startsWith("/event/")) {
|
|
998
|
+
console.log("event message received", R);
|
|
999
|
+
const J = b.current[R.type];
|
|
1000
|
+
J || console.log("no handlers found for event type", R.type), J && Object.values(J).forEach((v3) => {
|
|
1001
|
+
try {
|
|
1002
|
+
v3(R);
|
|
1003
|
+
} catch (h3) {
|
|
1004
|
+
console.error(h3);
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1007
|
+
} else
|
|
1008
|
+
R.type.startsWith("/room/") ? F.dispatch(c2.setRoomState(R)) : R.type.startsWith("/device/") && F.dispatch(r2.setDeviceState(R));
|
|
1009
|
+
} catch (R) {
|
|
1010
|
+
console.log(R);
|
|
977
1011
|
}
|
|
978
1012
|
};
|
|
979
1013
|
}
|
|
980
1014
|
return () => {
|
|
981
|
-
|
|
1015
|
+
d.current && d.current.close(), d.current = null;
|
|
982
1016
|
};
|
|
983
1017
|
}
|
|
984
|
-
}, [f.apiPath,
|
|
985
|
-
l &&
|
|
986
|
-
}, [l,
|
|
987
|
-
},
|
|
988
|
-
function
|
|
1018
|
+
}, [f.apiPath, A, e, C]), n3(() => {
|
|
1019
|
+
l && T(`/room/${l}/status`, null);
|
|
1020
|
+
}, [l, T]), /* @__PURE__ */ n.jsx(d1.Provider, { value: { sendMessage: T, sendSimpleMessage: V, addEventHandler: G, removeEventHandler: q }, children: s ? t : /* @__PURE__ */ n.jsx(S2, {}) });
|
|
1021
|
+
}, Q8 = ({ children: t }) => /* @__PURE__ */ n.jsx(z1, { store: F, children: /* @__PURE__ */ n.jsx(y2, { children: t }) });
|
|
1022
|
+
function E() {
|
|
1023
|
+
return Q1(d1);
|
|
1024
|
+
}
|
|
1025
|
+
function R2({
|
|
989
1026
|
onPress: t,
|
|
990
1027
|
onRelease: e,
|
|
991
1028
|
onHold: r,
|
|
992
1029
|
holdTimeMs: s = 500
|
|
993
1030
|
}) {
|
|
994
|
-
const l =
|
|
995
|
-
function
|
|
1031
|
+
const l = r3(null), a = r3(!1);
|
|
1032
|
+
function u() {
|
|
996
1033
|
a.current = !0, t == null || t(), l.current = setTimeout(() => {
|
|
997
1034
|
r == null || r(), l.current = null;
|
|
998
1035
|
}, s);
|
|
@@ -1000,57 +1037,57 @@ function C2({
|
|
|
1000
1037
|
function f() {
|
|
1001
1038
|
a.current = !1, e == null || e(), l.current && (clearTimeout(l.current), l.current = null);
|
|
1002
1039
|
}
|
|
1003
|
-
function
|
|
1040
|
+
function d() {
|
|
1004
1041
|
a.current && f();
|
|
1005
1042
|
}
|
|
1006
1043
|
return {
|
|
1007
|
-
onPointerDown:
|
|
1044
|
+
onPointerDown: u,
|
|
1008
1045
|
onPointerUp: f,
|
|
1009
|
-
onPointerLeave:
|
|
1046
|
+
onPointerLeave: d
|
|
1010
1047
|
};
|
|
1011
1048
|
}
|
|
1012
1049
|
function h(t, e) {
|
|
1013
|
-
const { sendMessage: s } =
|
|
1050
|
+
const { sendMessage: s } = E(), l = r3(null);
|
|
1014
1051
|
function a() {
|
|
1015
1052
|
s(`${t}/${e}`, { value: "pressed" }), l.current || (l.current = setInterval(() => {
|
|
1016
1053
|
s(`${t}/${e}`, { value: "held" });
|
|
1017
1054
|
}, 250));
|
|
1018
1055
|
}
|
|
1019
|
-
function
|
|
1056
|
+
function u() {
|
|
1020
1057
|
l.current && (clearInterval(l.current), l.current = null), s(`${t}/${e}`, { value: "released" });
|
|
1021
1058
|
}
|
|
1022
|
-
return
|
|
1059
|
+
return R2({ onPress: a, onRelease: u });
|
|
1023
1060
|
}
|
|
1024
|
-
function
|
|
1025
|
-
const { sendMessage: r, sendSimpleMessage: s } =
|
|
1061
|
+
function v1(t, e) {
|
|
1062
|
+
const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
|
|
1026
1063
|
return e ? {
|
|
1027
1064
|
volumeState: e,
|
|
1028
1065
|
volumeUp: l,
|
|
1029
1066
|
volumeDown: a,
|
|
1030
|
-
setLevel: (
|
|
1067
|
+
setLevel: (S) => s(`${t}/level`, S),
|
|
1031
1068
|
muteToggle: () => r(`${t}/muteToggle`, null),
|
|
1032
1069
|
muteOn: () => r(`${t}/muteOn`, null),
|
|
1033
1070
|
muteOff: () => r(`${t}/muteOff`, null)
|
|
1034
1071
|
} : void 0;
|
|
1035
1072
|
}
|
|
1036
|
-
function
|
|
1037
|
-
const { sendMessage: r, sendSimpleMessage: s } =
|
|
1073
|
+
function N8(t, e) {
|
|
1074
|
+
const { sendMessage: r, sendSimpleMessage: s } = E(), l = h(`${t}`, "volumeUp"), a = h(`${t}`, "volumeDown");
|
|
1038
1075
|
return e ? {
|
|
1039
1076
|
volumeState: e,
|
|
1040
1077
|
volumeUp: l,
|
|
1041
1078
|
volumeDown: a,
|
|
1042
|
-
setLevel: (
|
|
1079
|
+
setLevel: (S) => s(`${t}/level`, S),
|
|
1043
1080
|
muteToggle: () => r(`${t}/muteToggle`, null),
|
|
1044
1081
|
muteOn: () => r(`${t}/muteOn`, null),
|
|
1045
1082
|
muteOff: () => r(`${t}/muteOff`, null)
|
|
1046
1083
|
} : void 0;
|
|
1047
1084
|
}
|
|
1048
|
-
function
|
|
1049
|
-
const e =
|
|
1050
|
-
return
|
|
1085
|
+
function E2(t) {
|
|
1086
|
+
const e = $(t), r = `/device/${t}`;
|
|
1087
|
+
return v1(r, e == null ? void 0 : e.volume);
|
|
1051
1088
|
}
|
|
1052
|
-
function
|
|
1053
|
-
const { sendMessage: e } =
|
|
1089
|
+
function h1(t) {
|
|
1090
|
+
const { sendMessage: e } = E();
|
|
1054
1091
|
return { powerOn: () => {
|
|
1055
1092
|
e(`/device/${t}/powerOn`, null);
|
|
1056
1093
|
}, powerOff: () => {
|
|
@@ -1059,14 +1096,14 @@ function r1(t) {
|
|
|
1059
1096
|
e(`/device/${t}/powerToggle`, null);
|
|
1060
1097
|
} };
|
|
1061
1098
|
}
|
|
1062
|
-
function
|
|
1063
|
-
const { sendMessage: e } =
|
|
1099
|
+
function y3(t) {
|
|
1100
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1064
1101
|
return console.log("deviceState", r), r ? { itemsState: r, selectItem: (l) => {
|
|
1065
1102
|
e(`/device/${t}/${l}`, null);
|
|
1066
1103
|
} } : void 0;
|
|
1067
1104
|
}
|
|
1068
|
-
function
|
|
1069
|
-
const { sendMessage: e } =
|
|
1105
|
+
function _2(t) {
|
|
1106
|
+
const { sendMessage: e } = E(), r = $(t), s = () => {
|
|
1070
1107
|
e(`/device/${t}/setDefaultChannelLevels`, null);
|
|
1071
1108
|
}, l = () => {
|
|
1072
1109
|
if ((r == null ? void 0 : r.levelControls) === void 0)
|
|
@@ -1077,101 +1114,101 @@ function b2(t) {
|
|
|
1077
1114
|
};
|
|
1078
1115
|
return r ? { levelControls: r.levelControls, setDefaultChannelLevels: s, getFullStatus: l } : void 0;
|
|
1079
1116
|
}
|
|
1080
|
-
function
|
|
1081
|
-
const e =
|
|
1117
|
+
function e6(t) {
|
|
1118
|
+
const e = $(t), r = h1(t), s = y3(t), l = y3(t), a = E2(t), u = _2(t);
|
|
1082
1119
|
if (e)
|
|
1083
1120
|
return {
|
|
1084
1121
|
avrState: e,
|
|
1085
1122
|
powerControl: r,
|
|
1086
1123
|
inputControl: s,
|
|
1087
1124
|
surroundSoundModes: l,
|
|
1088
|
-
surroundChannels:
|
|
1125
|
+
surroundChannels: u,
|
|
1089
1126
|
mainVolumeControl: a
|
|
1090
1127
|
};
|
|
1091
1128
|
}
|
|
1092
|
-
function
|
|
1093
|
-
const e =
|
|
1129
|
+
function t6(t) {
|
|
1130
|
+
const e = $(t);
|
|
1094
1131
|
if (e)
|
|
1095
1132
|
return { endpointState: e };
|
|
1096
1133
|
}
|
|
1097
|
-
function
|
|
1098
|
-
const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), a = h(e, "guide"),
|
|
1099
|
-
return { channelUp: r, channelDown: s, lastChannel: l, guide: a, info:
|
|
1134
|
+
function n6(t) {
|
|
1135
|
+
const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown"), l = h(e, "lastChan"), a = h(e, "guide"), u = h(e, "info"), f = h(e, "exit");
|
|
1136
|
+
return { channelUp: r, channelDown: s, lastChannel: l, guide: a, info: u, exit: f };
|
|
1100
1137
|
}
|
|
1101
|
-
function
|
|
1138
|
+
function r6(t) {
|
|
1102
1139
|
const e = `/device/${t}`, r = h(e, "red"), s = h(e, "green"), l = h(e, "yellow"), a = h(e, "blue");
|
|
1103
1140
|
return { red: r, green: s, yellow: l, blue: a };
|
|
1104
1141
|
}
|
|
1105
|
-
function
|
|
1106
|
-
const e =
|
|
1142
|
+
function o6(t) {
|
|
1143
|
+
const e = $(t);
|
|
1107
1144
|
if (e)
|
|
1108
1145
|
return {
|
|
1109
1146
|
communicationMonitorState: e
|
|
1110
1147
|
};
|
|
1111
1148
|
}
|
|
1112
|
-
function
|
|
1113
|
-
const e = `/device/${t}`, r = h(e, "up"), s = h(e, "down"), l = h(e, "left"), a = h(e, "right"),
|
|
1114
|
-
return { up: r, down: s, left: l, right: a, select:
|
|
1149
|
+
function s6(t) {
|
|
1150
|
+
const e = `/device/${t}`, r = h(e, "up"), s = h(e, "down"), l = h(e, "left"), a = h(e, "right"), u = h(e, "select"), f = h(e, "menu"), d = h(e, "exit");
|
|
1151
|
+
return { up: r, down: s, left: l, right: a, select: u, menu: f, exit: d };
|
|
1115
1152
|
}
|
|
1116
|
-
function
|
|
1117
|
-
const e =
|
|
1153
|
+
function c6(t) {
|
|
1154
|
+
const e = $(t);
|
|
1118
1155
|
if (e)
|
|
1119
1156
|
return e.deviceInfo || void 0;
|
|
1120
1157
|
}
|
|
1121
|
-
function
|
|
1158
|
+
function l6(t) {
|
|
1122
1159
|
const e = `/device/${t}`, r = h(e, "dvrList"), s = h(e, "record");
|
|
1123
1160
|
return { dvrList: r, record: s };
|
|
1124
1161
|
}
|
|
1125
|
-
function
|
|
1126
|
-
const { sendMessage: e, sendSimpleMessage: r } =
|
|
1162
|
+
function i6(t) {
|
|
1163
|
+
const { sendMessage: e, sendSimpleMessage: r } = E(), s = $(t);
|
|
1127
1164
|
return s ? {
|
|
1128
1165
|
levelState: s,
|
|
1129
|
-
setLevel: (
|
|
1130
|
-
muteToggle: (
|
|
1131
|
-
muteOn: (
|
|
1132
|
-
muteOff: (
|
|
1166
|
+
setLevel: (d, C) => r(`${d}/level`, C),
|
|
1167
|
+
muteToggle: (d) => e(`${d}/muteToggle`, null),
|
|
1168
|
+
muteOn: (d) => e(`${d}/muteOn`, null),
|
|
1169
|
+
muteOff: (d) => e(`${d}/muteOff`, null)
|
|
1133
1170
|
} : void 0;
|
|
1134
1171
|
}
|
|
1135
|
-
function
|
|
1136
|
-
const { sendMessage: e } =
|
|
1172
|
+
function a6(t) {
|
|
1173
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1137
1174
|
return r ? { lightingState: r, selectScene: (l) => {
|
|
1138
1175
|
e(`/device/${t}/selectScene`, l);
|
|
1139
1176
|
} } : void 0;
|
|
1140
1177
|
}
|
|
1141
|
-
function
|
|
1142
|
-
const { sendMessage: e } =
|
|
1178
|
+
function u6(t) {
|
|
1179
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1143
1180
|
return r ? { matrixRoutingState: r, setRoute: (l) => {
|
|
1144
1181
|
e(`/device/${t}/route`, l);
|
|
1145
1182
|
} } : void 0;
|
|
1146
1183
|
}
|
|
1147
|
-
function
|
|
1148
|
-
const e = `/device/${t}`, r = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), a = h(e, "num3"),
|
|
1149
|
-
return { digit0: r, digit1: s, digit2: l, digit3: a, digit4:
|
|
1184
|
+
function d6(t) {
|
|
1185
|
+
const e = `/device/${t}`, r = h(e, "num0"), s = h(e, "num1"), l = h(e, "num2"), a = h(e, "num3"), u = h(e, "num4"), f = h(e, "num5"), d = h(e, "num6"), C = h(e, "num7"), S = h(e, "num8"), b = h(e, "num9"), A = h(e, "numDash"), T = h(e, "numEnter");
|
|
1186
|
+
return { digit0: r, digit1: s, digit2: l, digit3: a, digit4: u, digit5: f, digit6: d, digit7: C, digit8: S, digit9: b, keypadAccessoryButton1: A, keypadAccessoryButton2: T };
|
|
1150
1187
|
}
|
|
1151
|
-
function
|
|
1152
|
-
const { sendMessage: e } =
|
|
1188
|
+
function v6(t) {
|
|
1189
|
+
const { sendMessage: e } = E(), r = R3(t);
|
|
1153
1190
|
return r ? { roomEventScheduleState: r, save: (l) => {
|
|
1154
1191
|
e(`/room/${t}/saveScheduledEvents`, l);
|
|
1155
1192
|
} } : void 0;
|
|
1156
1193
|
}
|
|
1157
|
-
function
|
|
1158
|
-
const { sendMessage: e } =
|
|
1194
|
+
function h6(t) {
|
|
1195
|
+
const { sendMessage: e } = E();
|
|
1159
1196
|
return { runDirectRoute: (s) => {
|
|
1160
1197
|
e(`/room/${t}/directRoute`, s);
|
|
1161
1198
|
} };
|
|
1162
1199
|
}
|
|
1163
|
-
function
|
|
1164
|
-
const { sendMessage: e } =
|
|
1165
|
-
return { routingState:
|
|
1200
|
+
function g6(t) {
|
|
1201
|
+
const { sendMessage: e } = E();
|
|
1202
|
+
return { routingState: $(t), runRoute: (l) => {
|
|
1166
1203
|
e(`/room/${t}/source`, l);
|
|
1167
1204
|
} };
|
|
1168
1205
|
}
|
|
1169
|
-
function
|
|
1206
|
+
function f6(t) {
|
|
1170
1207
|
const e = `/device/${t}`, r = h(e, "chanUp"), s = h(e, "chanDown");
|
|
1171
1208
|
return { dvrList: r, replay: s };
|
|
1172
1209
|
}
|
|
1173
|
-
function
|
|
1174
|
-
const { sendMessage: e } =
|
|
1210
|
+
function w6(t) {
|
|
1211
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1175
1212
|
return r ? { shadeState: r, shadeUp: () => {
|
|
1176
1213
|
e(`/device/${t}/shadeUp`, null);
|
|
1177
1214
|
}, shadeDown: () => {
|
|
@@ -1180,20 +1217,52 @@ function i6(t) {
|
|
|
1180
1217
|
e(`/device/${t}/stopOrPreset`, null);
|
|
1181
1218
|
} } : void 0;
|
|
1182
1219
|
}
|
|
1183
|
-
function
|
|
1184
|
-
const { sendMessage: e } =
|
|
1220
|
+
function p6(t) {
|
|
1221
|
+
const { sendMessage: e } = E(), r = R3(t);
|
|
1222
|
+
return r ? { shutdownPromptTimerState: r, setShutdownPromptSeconds: (f) => {
|
|
1223
|
+
e(`/room/${t}/setShutdownPromptSeconds`, f);
|
|
1224
|
+
}, shutdownStart: () => {
|
|
1225
|
+
e(`/room/${t}/shutdownStart`, null);
|
|
1226
|
+
}, shutdownEnd: () => {
|
|
1227
|
+
e(`/room/${t}/shutdownEnd`, null);
|
|
1228
|
+
}, shutdownCancel: () => {
|
|
1229
|
+
e(`/room/${t}/shutdownCancel`, null);
|
|
1230
|
+
} } : void 0;
|
|
1231
|
+
}
|
|
1232
|
+
function x6(t) {
|
|
1233
|
+
const { sendMessage: e } = E(), r = $(t);
|
|
1185
1234
|
return r ? { switchedOutputState: r, on: () => {
|
|
1186
1235
|
e(`/device/${t}/on`, null);
|
|
1187
1236
|
}, off: () => {
|
|
1188
1237
|
e(`/device/${t}/off`, null);
|
|
1189
1238
|
} } : void 0;
|
|
1190
1239
|
}
|
|
1191
|
-
|
|
1192
|
-
const e
|
|
1193
|
-
return
|
|
1240
|
+
const M6 = ({ className: t }) => {
|
|
1241
|
+
const [e, r] = d3();
|
|
1242
|
+
return n3(() => {
|
|
1243
|
+
setInterval(() => {
|
|
1244
|
+
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1245
|
+
r(s);
|
|
1246
|
+
}, 1e3);
|
|
1247
|
+
}, []), /* @__PURE__ */ n.jsxs("div", { className: t, children: [
|
|
1248
|
+
e,
|
|
1249
|
+
" new change"
|
|
1250
|
+
] });
|
|
1251
|
+
};
|
|
1252
|
+
function m6(t) {
|
|
1253
|
+
const { sendMessage: e } = E(), r = R3(t);
|
|
1254
|
+
return r ? { techPasswordState: r, validatePassword: (a) => {
|
|
1255
|
+
e(`/room/${t}/validateTechPassword`, { password: a });
|
|
1256
|
+
}, setPassword: (a, u) => {
|
|
1257
|
+
e(`/room/${t}/setTechPassword`, { oldPassword: a, newPassword: u });
|
|
1258
|
+
} } : void 0;
|
|
1194
1259
|
}
|
|
1195
|
-
function
|
|
1196
|
-
const e =
|
|
1260
|
+
function Z6(t) {
|
|
1261
|
+
const e = `/device/${t}`, r = h(e, "play"), s = h(e, "pause"), l = h(e, "stop"), a = h(e, "prevTrack"), u = h(e, "nextTrack"), f = h(e, "rewind"), d = h(e, "ffwd"), C = h(e, "record");
|
|
1262
|
+
return { play: r, pause: s, stop: l, prevTrack: a, nextTrack: u, rewind: f, fastForward: d, record: C };
|
|
1263
|
+
}
|
|
1264
|
+
function j6(t) {
|
|
1265
|
+
const e = $(t), { sendMessage: r } = E();
|
|
1197
1266
|
return e ? {
|
|
1198
1267
|
touchpanelState: e,
|
|
1199
1268
|
appControl: { hideApp: () => {
|
|
@@ -1208,8 +1277,8 @@ function v6(t) {
|
|
|
1208
1277
|
} }
|
|
1209
1278
|
} : void 0;
|
|
1210
1279
|
}
|
|
1211
|
-
function
|
|
1212
|
-
const e =
|
|
1280
|
+
function S6(t) {
|
|
1281
|
+
const e = $(t), r = h1(t), s = y3(t);
|
|
1213
1282
|
if (!e)
|
|
1214
1283
|
return;
|
|
1215
1284
|
const l = (e.powerState || e.isWarming) && !e.isCooling, a = (!e.powerState || e.isCooling) && !e.isWarming;
|
|
@@ -1220,94 +1289,96 @@ function d6(t) {
|
|
|
1220
1289
|
powerFb: { powerOnFb: l, powerOffFb: a }
|
|
1221
1290
|
};
|
|
1222
1291
|
}
|
|
1223
|
-
const
|
|
1224
|
-
const { sendMessage: e } =
|
|
1225
|
-
|
|
1226
|
-
var s;
|
|
1292
|
+
const C6 = ({ config: t }) => {
|
|
1293
|
+
const { sendMessage: e } = E();
|
|
1294
|
+
n3(() => {
|
|
1295
|
+
var s, l;
|
|
1227
1296
|
if (!t)
|
|
1228
1297
|
return;
|
|
1229
1298
|
const r = [];
|
|
1230
|
-
Object.values(t.destinations).forEach((
|
|
1231
|
-
r.push(
|
|
1232
|
-
}), (s = t.touchpanelKeys) == null || s.forEach((
|
|
1233
|
-
r.push(
|
|
1234
|
-
}), t.environmentalDevices.forEach((
|
|
1235
|
-
r.push(
|
|
1236
|
-
}),
|
|
1237
|
-
r.push(
|
|
1299
|
+
Object.values(t.destinations).forEach((a) => {
|
|
1300
|
+
r.push(a);
|
|
1301
|
+
}), (s = t.touchpanelKeys) == null || s.forEach((a) => {
|
|
1302
|
+
r.push(a);
|
|
1303
|
+
}), t.environmentalDevices.forEach((a) => {
|
|
1304
|
+
r.push(a.deviceKey);
|
|
1305
|
+
}), (l = t.accessoryDevices) == null || l.forEach((a) => {
|
|
1306
|
+
r.push(a.deviceKey);
|
|
1307
|
+
}), t.audioCodecKey && r.push(t.audioCodecKey), t.videoCodecKey && r.push(t.videoCodecKey), t.matrixRoutingKey && r.push(t.matrixRoutingKey), t.endpointKeys && t.endpointKeys.forEach((a) => {
|
|
1308
|
+
r.push(a);
|
|
1238
1309
|
});
|
|
1239
|
-
for (const
|
|
1240
|
-
|
|
1241
|
-
r.forEach((
|
|
1242
|
-
e(`/device/${
|
|
1310
|
+
for (const a of Object.values(t.sourceList))
|
|
1311
|
+
a.sourceKey && a.sourceKey !== "$off" && r.push(a.sourceKey);
|
|
1312
|
+
r.forEach((a) => {
|
|
1313
|
+
e(`/device/${a}/fullStatus`, { deviceKey: a });
|
|
1243
1314
|
});
|
|
1244
1315
|
}, [t, e]);
|
|
1245
1316
|
};
|
|
1246
|
-
function
|
|
1247
|
-
const r =
|
|
1248
|
-
return
|
|
1317
|
+
function b6(t, e) {
|
|
1318
|
+
const r = f2(t, e), s = `/room/${t}/volumes/${e}`;
|
|
1319
|
+
return v1(s, r);
|
|
1249
1320
|
}
|
|
1250
|
-
const
|
|
1251
|
-
iconbtn:
|
|
1252
|
-
iconbtnvert:
|
|
1253
|
-
iconsm:
|
|
1254
|
-
},
|
|
1321
|
+
const I6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ n.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }), L2 = "_iconbtn_16qss_1", $2 = "_iconbtnvert_16qss_7", A2 = "_iconsm_16qss_18", S3 = {
|
|
1322
|
+
iconbtn: L2,
|
|
1323
|
+
iconbtnvert: $2,
|
|
1324
|
+
iconsm: A2
|
|
1325
|
+
}, B2 = ({
|
|
1255
1326
|
multiIcon: t,
|
|
1256
1327
|
otherContent: e = null,
|
|
1257
1328
|
vert: r = !1,
|
|
1258
1329
|
className: s,
|
|
1259
1330
|
iconClassName: l = "",
|
|
1260
1331
|
otherContentClassName: a = "",
|
|
1261
|
-
disabled:
|
|
1332
|
+
disabled: u,
|
|
1262
1333
|
feedback: f,
|
|
1263
|
-
feedbackClassName:
|
|
1334
|
+
feedbackClassName: d,
|
|
1264
1335
|
onPointerDown: C,
|
|
1265
|
-
onPointerUp:
|
|
1266
|
-
onPointerLeave:
|
|
1267
|
-
...
|
|
1336
|
+
onPointerUp: S,
|
|
1337
|
+
onPointerLeave: b,
|
|
1338
|
+
...A
|
|
1268
1339
|
}) => {
|
|
1269
|
-
const [
|
|
1340
|
+
const [T, V] = d3(!1), G = !u && f ? d : "", q = !u && (T || f);
|
|
1270
1341
|
return /* @__PURE__ */ n.jsxs(
|
|
1271
1342
|
"button",
|
|
1272
1343
|
{
|
|
1273
1344
|
type: "button",
|
|
1274
|
-
className: `${
|
|
1275
|
-
...
|
|
1276
|
-
disabled:
|
|
1277
|
-
onPointerDown: (
|
|
1278
|
-
|
|
1345
|
+
className: `${S3.iconbtn} ${r ? S3.iconbtnvert : ""} ${s} ${G}`,
|
|
1346
|
+
...A,
|
|
1347
|
+
disabled: u,
|
|
1348
|
+
onPointerDown: (m) => {
|
|
1349
|
+
V(!0), C == null || C(m);
|
|
1279
1350
|
},
|
|
1280
|
-
onPointerUp: (
|
|
1281
|
-
|
|
1351
|
+
onPointerUp: (m) => {
|
|
1352
|
+
V(!1), S == null || S(m);
|
|
1282
1353
|
},
|
|
1283
|
-
onPointerLeave: (
|
|
1284
|
-
|
|
1354
|
+
onPointerLeave: (m) => {
|
|
1355
|
+
V(!1), b == null || b(m);
|
|
1285
1356
|
},
|
|
1286
1357
|
children: [
|
|
1287
1358
|
t && /* @__PURE__ */ n.jsx(
|
|
1288
1359
|
t,
|
|
1289
1360
|
{
|
|
1290
|
-
className: `${l ||
|
|
1291
|
-
active:
|
|
1292
|
-
disabled:
|
|
1361
|
+
className: `${l || S3.iconsm}`,
|
|
1362
|
+
active: q,
|
|
1363
|
+
disabled: u
|
|
1293
1364
|
}
|
|
1294
1365
|
),
|
|
1295
1366
|
/* @__PURE__ */ n.jsx("div", { className: a, children: e })
|
|
1296
1367
|
]
|
|
1297
1368
|
}
|
|
1298
1369
|
);
|
|
1299
|
-
},
|
|
1370
|
+
}, M = ({
|
|
1300
1371
|
ActiveImage: t,
|
|
1301
1372
|
DisabledImage: e,
|
|
1302
1373
|
EnabledImage: r,
|
|
1303
1374
|
active: s,
|
|
1304
1375
|
disabled: l
|
|
1305
|
-
}) => l ? e : s ? t : r,
|
|
1376
|
+
}) => l ? e : s ? t : r, T2 = ({
|
|
1306
1377
|
active: t,
|
|
1307
1378
|
className: e = "",
|
|
1308
1379
|
disabled: r
|
|
1309
1380
|
}) => /* @__PURE__ */ n.jsx(
|
|
1310
|
-
|
|
1381
|
+
M,
|
|
1311
1382
|
{
|
|
1312
1383
|
ActiveImage: (
|
|
1313
1384
|
/* icon-mic-active.svg */
|
|
@@ -1351,12 +1422,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1351
1422
|
active: t,
|
|
1352
1423
|
disabled: r
|
|
1353
1424
|
}
|
|
1354
|
-
),
|
|
1425
|
+
), D2 = ({
|
|
1355
1426
|
active: t,
|
|
1356
1427
|
className: e = "",
|
|
1357
1428
|
disabled: r
|
|
1358
1429
|
}) => /* @__PURE__ */ n.jsx(
|
|
1359
|
-
|
|
1430
|
+
M,
|
|
1360
1431
|
{
|
|
1361
1432
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
1362
1433
|
"svg",
|
|
@@ -1403,12 +1474,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1403
1474
|
active: t,
|
|
1404
1475
|
disabled: r
|
|
1405
1476
|
}
|
|
1406
|
-
),
|
|
1477
|
+
), P2 = ({
|
|
1407
1478
|
active: t,
|
|
1408
1479
|
className: e = "",
|
|
1409
1480
|
disabled: r
|
|
1410
1481
|
}) => /* @__PURE__ */ n.jsx(
|
|
1411
|
-
|
|
1482
|
+
M,
|
|
1412
1483
|
{
|
|
1413
1484
|
ActiveImage: (
|
|
1414
1485
|
/* icon-ban-active.svg */
|
|
@@ -1452,12 +1523,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1452
1523
|
active: t,
|
|
1453
1524
|
disabled: r
|
|
1454
1525
|
}
|
|
1455
|
-
),
|
|
1526
|
+
), O2 = ({
|
|
1456
1527
|
active: t,
|
|
1457
1528
|
className: e = "",
|
|
1458
1529
|
disabled: r
|
|
1459
1530
|
}) => /* @__PURE__ */ n.jsx(
|
|
1460
|
-
|
|
1531
|
+
M,
|
|
1461
1532
|
{
|
|
1462
1533
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
1463
1534
|
"svg",
|
|
@@ -1492,12 +1563,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1492
1563
|
active: t,
|
|
1493
1564
|
disabled: r
|
|
1494
1565
|
}
|
|
1495
|
-
),
|
|
1566
|
+
), V2 = ({
|
|
1496
1567
|
active: t,
|
|
1497
1568
|
className: e = "",
|
|
1498
1569
|
disabled: r
|
|
1499
1570
|
}) => /* @__PURE__ */ n.jsx(
|
|
1500
|
-
|
|
1571
|
+
M,
|
|
1501
1572
|
{
|
|
1502
1573
|
ActiveImage: (
|
|
1503
1574
|
/* icon-check-active.svg */
|
|
@@ -1541,12 +1612,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1541
1612
|
active: t,
|
|
1542
1613
|
disabled: r
|
|
1543
1614
|
}
|
|
1544
|
-
),
|
|
1615
|
+
), F2 = ({
|
|
1545
1616
|
active: t,
|
|
1546
1617
|
className: e = "",
|
|
1547
1618
|
disabled: r
|
|
1548
1619
|
}) => /* @__PURE__ */ n.jsx(
|
|
1549
|
-
|
|
1620
|
+
M,
|
|
1550
1621
|
{
|
|
1551
1622
|
ActiveImage: (
|
|
1552
1623
|
/* icon-down-active.svg */
|
|
@@ -1590,12 +1661,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1590
1661
|
active: t,
|
|
1591
1662
|
disabled: r
|
|
1592
1663
|
}
|
|
1593
|
-
),
|
|
1664
|
+
), k2 = ({
|
|
1594
1665
|
active: t,
|
|
1595
1666
|
className: e = "",
|
|
1596
1667
|
disabled: r
|
|
1597
1668
|
}) => /* @__PURE__ */ n.jsx(
|
|
1598
|
-
|
|
1669
|
+
M,
|
|
1599
1670
|
{
|
|
1600
1671
|
ActiveImage: (
|
|
1601
1672
|
/* icon-elipses-active.svg */
|
|
@@ -1639,12 +1710,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1639
1710
|
active: t,
|
|
1640
1711
|
disabled: r
|
|
1641
1712
|
}
|
|
1642
|
-
),
|
|
1713
|
+
), W2 = ({
|
|
1643
1714
|
active: t,
|
|
1644
1715
|
className: e = "",
|
|
1645
1716
|
disabled: r
|
|
1646
1717
|
}) => /* @__PURE__ */ n.jsx(
|
|
1647
|
-
|
|
1718
|
+
M,
|
|
1648
1719
|
{
|
|
1649
1720
|
ActiveImage: (
|
|
1650
1721
|
/* icon-flag-active.svg */
|
|
@@ -1688,12 +1759,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1688
1759
|
active: t,
|
|
1689
1760
|
disabled: r
|
|
1690
1761
|
}
|
|
1691
|
-
),
|
|
1762
|
+
), U2 = ({
|
|
1692
1763
|
active: t,
|
|
1693
1764
|
className: e = "",
|
|
1694
1765
|
disabled: r
|
|
1695
1766
|
}) => /* @__PURE__ */ n.jsx(
|
|
1696
|
-
|
|
1767
|
+
M,
|
|
1697
1768
|
{
|
|
1698
1769
|
ActiveImage: (
|
|
1699
1770
|
/* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
|
|
@@ -1737,12 +1808,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1737
1808
|
active: t,
|
|
1738
1809
|
disabled: r
|
|
1739
1810
|
}
|
|
1740
|
-
),
|
|
1811
|
+
), H2 = ({
|
|
1741
1812
|
active: t,
|
|
1742
1813
|
className: e = "",
|
|
1743
1814
|
disabled: r
|
|
1744
1815
|
}) => /* @__PURE__ */ n.jsx(
|
|
1745
|
-
|
|
1816
|
+
M,
|
|
1746
1817
|
{
|
|
1747
1818
|
ActiveImage: (
|
|
1748
1819
|
/* icon-glass-active.svg */
|
|
@@ -1786,14 +1857,14 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1786
1857
|
active: t,
|
|
1787
1858
|
disabled: r
|
|
1788
1859
|
}
|
|
1789
|
-
),
|
|
1860
|
+
), K2 = ({
|
|
1790
1861
|
active: t,
|
|
1791
1862
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
1792
1863
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1793
1864
|
className: e = "",
|
|
1794
1865
|
disabled: r
|
|
1795
1866
|
}) => /* @__PURE__ */ n.jsx(
|
|
1796
|
-
|
|
1867
|
+
M,
|
|
1797
1868
|
{
|
|
1798
1869
|
ActiveImage: (
|
|
1799
1870
|
/* icon-hdmi-active.svg */
|
|
@@ -1855,12 +1926,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1855
1926
|
active: t,
|
|
1856
1927
|
disabled: r
|
|
1857
1928
|
}
|
|
1858
|
-
),
|
|
1929
|
+
), G2 = ({
|
|
1859
1930
|
active: t,
|
|
1860
1931
|
className: e = "",
|
|
1861
1932
|
disabled: r
|
|
1862
1933
|
}) => /* @__PURE__ */ n.jsx(
|
|
1863
|
-
|
|
1934
|
+
M,
|
|
1864
1935
|
{
|
|
1865
1936
|
ActiveImage: (
|
|
1866
1937
|
/* icon-laptop-active.svg */
|
|
@@ -1904,12 +1975,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1904
1975
|
active: t,
|
|
1905
1976
|
disabled: r
|
|
1906
1977
|
}
|
|
1907
|
-
),
|
|
1978
|
+
), q2 = ({
|
|
1908
1979
|
active: t,
|
|
1909
1980
|
className: e = "",
|
|
1910
1981
|
disabled: r
|
|
1911
1982
|
}) => /* @__PURE__ */ n.jsx(
|
|
1912
|
-
|
|
1983
|
+
M,
|
|
1913
1984
|
{
|
|
1914
1985
|
ActiveImage: (
|
|
1915
1986
|
/* icon-left-active.svg */
|
|
@@ -1953,12 +2024,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
1953
2024
|
active: t,
|
|
1954
2025
|
disabled: r
|
|
1955
2026
|
}
|
|
1956
|
-
),
|
|
2027
|
+
), Y2 = ({
|
|
1957
2028
|
active: t,
|
|
1958
2029
|
className: e = "",
|
|
1959
2030
|
disabled: r
|
|
1960
2031
|
}) => /* @__PURE__ */ n.jsx(
|
|
1961
|
-
|
|
2032
|
+
M,
|
|
1962
2033
|
{
|
|
1963
2034
|
ActiveImage: (
|
|
1964
2035
|
/* icon-light-active.svg */
|
|
@@ -2002,12 +2073,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2002
2073
|
active: t,
|
|
2003
2074
|
disabled: r
|
|
2004
2075
|
}
|
|
2005
|
-
),
|
|
2076
|
+
), J2 = ({
|
|
2006
2077
|
active: t,
|
|
2007
2078
|
className: e = "",
|
|
2008
2079
|
disabled: r
|
|
2009
2080
|
}) => /* @__PURE__ */ n.jsx(
|
|
2010
|
-
|
|
2081
|
+
M,
|
|
2011
2082
|
{
|
|
2012
2083
|
ActiveImage: (
|
|
2013
2084
|
/* icon-moon-active.svg */
|
|
@@ -2051,12 +2122,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2051
2122
|
active: t,
|
|
2052
2123
|
disabled: r
|
|
2053
2124
|
}
|
|
2054
|
-
),
|
|
2125
|
+
), z2 = ({
|
|
2055
2126
|
active: t,
|
|
2056
2127
|
className: e = "",
|
|
2057
2128
|
disabled: r
|
|
2058
2129
|
}) => /* @__PURE__ */ n.jsx(
|
|
2059
|
-
|
|
2130
|
+
M,
|
|
2060
2131
|
{
|
|
2061
2132
|
ActiveImage: (
|
|
2062
2133
|
/* icon-playstation-active.svg */
|
|
@@ -2073,12 +2144,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2073
2144
|
active: t,
|
|
2074
2145
|
disabled: r
|
|
2075
2146
|
}
|
|
2076
|
-
),
|
|
2147
|
+
), X2 = ({
|
|
2077
2148
|
active: t,
|
|
2078
2149
|
className: e = "",
|
|
2079
2150
|
disabled: r
|
|
2080
2151
|
}) => /* @__PURE__ */ n.jsx(
|
|
2081
|
-
|
|
2152
|
+
M,
|
|
2082
2153
|
{
|
|
2083
2154
|
ActiveImage: (
|
|
2084
2155
|
/* icon-podium-active.svg */
|
|
@@ -2122,12 +2193,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2122
2193
|
active: t,
|
|
2123
2194
|
disabled: r
|
|
2124
2195
|
}
|
|
2125
|
-
),
|
|
2196
|
+
), Q2 = ({
|
|
2126
2197
|
active: t,
|
|
2127
2198
|
className: e = "",
|
|
2128
2199
|
disabled: r
|
|
2129
2200
|
}) => /* @__PURE__ */ n.jsx(
|
|
2130
|
-
|
|
2201
|
+
M,
|
|
2131
2202
|
{
|
|
2132
2203
|
ActiveImage: (
|
|
2133
2204
|
/* icon-power-active.svg */
|
|
@@ -2171,12 +2242,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2171
2242
|
active: t,
|
|
2172
2243
|
disabled: r
|
|
2173
2244
|
}
|
|
2174
|
-
),
|
|
2245
|
+
), N2 = ({
|
|
2175
2246
|
active: t,
|
|
2176
2247
|
className: e = "",
|
|
2177
2248
|
disabled: r
|
|
2178
2249
|
}) => /* @__PURE__ */ n.jsx(
|
|
2179
|
-
|
|
2250
|
+
M,
|
|
2180
2251
|
{
|
|
2181
2252
|
ActiveImage: (
|
|
2182
2253
|
/* icon-privacy-active.svg */
|
|
@@ -2220,12 +2291,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2220
2291
|
active: t,
|
|
2221
2292
|
disabled: r
|
|
2222
2293
|
}
|
|
2223
|
-
),
|
|
2294
|
+
), e8 = ({
|
|
2224
2295
|
active: t,
|
|
2225
2296
|
className: e = "",
|
|
2226
2297
|
disabled: r
|
|
2227
2298
|
}) => /* @__PURE__ */ n.jsx(
|
|
2228
|
-
|
|
2299
|
+
M,
|
|
2229
2300
|
{
|
|
2230
2301
|
ActiveImage: (
|
|
2231
2302
|
/* icon-question-active.svg */
|
|
@@ -2269,12 +2340,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2269
2340
|
active: t,
|
|
2270
2341
|
disabled: r
|
|
2271
2342
|
}
|
|
2272
|
-
),
|
|
2343
|
+
), t8 = ({
|
|
2273
2344
|
active: t,
|
|
2274
2345
|
className: e = "",
|
|
2275
2346
|
disabled: r
|
|
2276
2347
|
}) => /* @__PURE__ */ n.jsx(
|
|
2277
|
-
|
|
2348
|
+
M,
|
|
2278
2349
|
{
|
|
2279
2350
|
ActiveImage: (
|
|
2280
2351
|
/* icon-right-active.svg */
|
|
@@ -2318,12 +2389,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2318
2389
|
active: t,
|
|
2319
2390
|
disabled: r
|
|
2320
2391
|
}
|
|
2321
|
-
),
|
|
2392
|
+
), n8 = ({
|
|
2322
2393
|
active: t,
|
|
2323
2394
|
className: e = "",
|
|
2324
2395
|
disabled: r
|
|
2325
2396
|
}) => /* @__PURE__ */ n.jsx(
|
|
2326
|
-
|
|
2397
|
+
M,
|
|
2327
2398
|
{
|
|
2328
2399
|
ActiveImage: (
|
|
2329
2400
|
/* icon-shade-active.svg */
|
|
@@ -2367,12 +2438,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2367
2438
|
active: t,
|
|
2368
2439
|
disabled: r
|
|
2369
2440
|
}
|
|
2370
|
-
),
|
|
2441
|
+
), r8 = ({
|
|
2371
2442
|
active: t,
|
|
2372
2443
|
className: e = "",
|
|
2373
2444
|
disabled: r
|
|
2374
2445
|
}) => /* @__PURE__ */ n.jsx(
|
|
2375
|
-
|
|
2446
|
+
M,
|
|
2376
2447
|
{
|
|
2377
2448
|
ActiveImage: (
|
|
2378
2449
|
/* icon-sun-active.svg */
|
|
@@ -2416,12 +2487,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2416
2487
|
active: t,
|
|
2417
2488
|
disabled: r
|
|
2418
2489
|
}
|
|
2419
|
-
),
|
|
2490
|
+
), o8 = ({
|
|
2420
2491
|
active: t,
|
|
2421
2492
|
className: e = "",
|
|
2422
2493
|
disabled: r
|
|
2423
2494
|
}) => /* @__PURE__ */ n.jsx(
|
|
2424
|
-
|
|
2495
|
+
M,
|
|
2425
2496
|
{
|
|
2426
2497
|
ActiveImage: (
|
|
2427
2498
|
/* icon-up-active.svg */
|
|
@@ -2465,12 +2536,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2465
2536
|
active: t,
|
|
2466
2537
|
disabled: r
|
|
2467
2538
|
}
|
|
2468
|
-
),
|
|
2539
|
+
), s8 = ({
|
|
2469
2540
|
active: t,
|
|
2470
2541
|
className: e = "",
|
|
2471
2542
|
disabled: r
|
|
2472
2543
|
}) => /* @__PURE__ */ n.jsx(
|
|
2473
|
-
|
|
2544
|
+
M,
|
|
2474
2545
|
{
|
|
2475
2546
|
ActiveImage: (
|
|
2476
2547
|
/* icon-volDown-active.svg */
|
|
@@ -2514,12 +2585,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2514
2585
|
active: t,
|
|
2515
2586
|
disabled: r
|
|
2516
2587
|
}
|
|
2517
|
-
),
|
|
2588
|
+
), c8 = ({
|
|
2518
2589
|
active: t,
|
|
2519
2590
|
className: e = "",
|
|
2520
2591
|
disabled: r
|
|
2521
2592
|
}) => /* @__PURE__ */ n.jsx(
|
|
2522
|
-
|
|
2593
|
+
M,
|
|
2523
2594
|
{
|
|
2524
2595
|
ActiveImage: (
|
|
2525
2596
|
/* icon-volMute-active.svg */
|
|
@@ -2563,12 +2634,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2563
2634
|
active: t,
|
|
2564
2635
|
disabled: r
|
|
2565
2636
|
}
|
|
2566
|
-
),
|
|
2637
|
+
), l8 = ({
|
|
2567
2638
|
active: t,
|
|
2568
2639
|
className: e = "",
|
|
2569
2640
|
disabled: r
|
|
2570
2641
|
}) => /* @__PURE__ */ n.jsx(
|
|
2571
|
-
|
|
2642
|
+
M,
|
|
2572
2643
|
{
|
|
2573
2644
|
ActiveImage: (
|
|
2574
2645
|
/* icon-volUp-active.svg */
|
|
@@ -2612,12 +2683,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2612
2683
|
active: t,
|
|
2613
2684
|
disabled: r
|
|
2614
2685
|
}
|
|
2615
|
-
),
|
|
2686
|
+
), i8 = ({
|
|
2616
2687
|
active: t,
|
|
2617
2688
|
className: e = "",
|
|
2618
2689
|
disabled: r
|
|
2619
2690
|
}) => /* @__PURE__ */ n.jsx(
|
|
2620
|
-
|
|
2691
|
+
M,
|
|
2621
2692
|
{
|
|
2622
2693
|
ActiveImage: (
|
|
2623
2694
|
/* icon-wireless-active.svg */
|
|
@@ -2661,12 +2732,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2661
2732
|
active: t,
|
|
2662
2733
|
disabled: r
|
|
2663
2734
|
}
|
|
2664
|
-
),
|
|
2735
|
+
), a8 = ({
|
|
2665
2736
|
active: t,
|
|
2666
2737
|
className: e = "",
|
|
2667
2738
|
disabled: r
|
|
2668
2739
|
}) => /* @__PURE__ */ n.jsx(
|
|
2669
|
-
|
|
2740
|
+
M,
|
|
2670
2741
|
{
|
|
2671
2742
|
ActiveImage: (
|
|
2672
2743
|
/* icon-x-active.svg */
|
|
@@ -2710,12 +2781,12 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2710
2781
|
active: t,
|
|
2711
2782
|
disabled: r
|
|
2712
2783
|
}
|
|
2713
|
-
),
|
|
2784
|
+
), u8 = ({
|
|
2714
2785
|
active: t,
|
|
2715
2786
|
className: e = "",
|
|
2716
2787
|
disabled: r
|
|
2717
2788
|
}) => /* @__PURE__ */ n.jsx(
|
|
2718
|
-
|
|
2789
|
+
M,
|
|
2719
2790
|
{
|
|
2720
2791
|
ActiveImage: (
|
|
2721
2792
|
/* icon-xbox-active.svg */
|
|
@@ -2759,218 +2830,225 @@ const f6 = () => /* @__PURE__ */ n.jsx("div", { className: "m-2 p-2 bg-danger ro
|
|
|
2759
2830
|
active: t,
|
|
2760
2831
|
disabled: r
|
|
2761
2832
|
}
|
|
2762
|
-
),
|
|
2763
|
-
Alert:
|
|
2764
|
-
Camera:
|
|
2765
|
-
DownArrow:
|
|
2766
|
-
Ban:
|
|
2767
|
-
Check:
|
|
2768
|
-
Elipses:
|
|
2769
|
-
Flag:
|
|
2770
|
-
Gear:
|
|
2771
|
-
Glass:
|
|
2772
|
-
Hdmi:
|
|
2773
|
-
Laptop:
|
|
2774
|
-
LeftArrow:
|
|
2775
|
-
Light:
|
|
2776
|
-
Mic:
|
|
2777
|
-
Moon:
|
|
2778
|
-
Playstation:
|
|
2779
|
-
Podium:
|
|
2780
|
-
Power:
|
|
2781
|
-
Privacy:
|
|
2782
|
-
Question:
|
|
2783
|
-
RightArrow:
|
|
2784
|
-
Shade:
|
|
2785
|
-
Sun:
|
|
2786
|
-
UpArrow:
|
|
2787
|
-
VolDown:
|
|
2788
|
-
VolMute:
|
|
2789
|
-
VolUp:
|
|
2790
|
-
Wireless:
|
|
2791
|
-
X:
|
|
2792
|
-
Xbox:
|
|
2833
|
+
), d8 = {
|
|
2834
|
+
Alert: D2,
|
|
2835
|
+
Camera: O2,
|
|
2836
|
+
DownArrow: F2,
|
|
2837
|
+
Ban: P2,
|
|
2838
|
+
Check: V2,
|
|
2839
|
+
Elipses: k2,
|
|
2840
|
+
Flag: W2,
|
|
2841
|
+
Gear: U2,
|
|
2842
|
+
Glass: H2,
|
|
2843
|
+
Hdmi: K2,
|
|
2844
|
+
Laptop: G2,
|
|
2845
|
+
LeftArrow: q2,
|
|
2846
|
+
Light: Y2,
|
|
2847
|
+
Mic: T2,
|
|
2848
|
+
Moon: J2,
|
|
2849
|
+
Playstation: z2,
|
|
2850
|
+
Podium: X2,
|
|
2851
|
+
Power: Q2,
|
|
2852
|
+
Privacy: N2,
|
|
2853
|
+
Question: e8,
|
|
2854
|
+
RightArrow: t8,
|
|
2855
|
+
Shade: n8,
|
|
2856
|
+
Sun: r8,
|
|
2857
|
+
UpArrow: o8,
|
|
2858
|
+
VolDown: s8,
|
|
2859
|
+
VolMute: c8,
|
|
2860
|
+
VolUp: l8,
|
|
2861
|
+
Wireless: i8,
|
|
2862
|
+
X: a8,
|
|
2863
|
+
Xbox: u8
|
|
2793
2864
|
};
|
|
2794
|
-
function
|
|
2865
|
+
function y6({
|
|
2795
2866
|
name: t,
|
|
2796
|
-
|
|
2867
|
+
iconsDictionary: e = d8,
|
|
2868
|
+
...r
|
|
2797
2869
|
}) {
|
|
2798
|
-
const
|
|
2799
|
-
return
|
|
2870
|
+
const s = e[t] ?? null;
|
|
2871
|
+
return s || console.error(`Icon ${t} not found in dictionary`), /* @__PURE__ */ n.jsx(B2, { multiIcon: s, ...r });
|
|
2800
2872
|
}
|
|
2801
|
-
const
|
|
2802
|
-
grid:
|
|
2803
|
-
header: i8,
|
|
2804
|
-
content: a8,
|
|
2805
|
-
footer: u8,
|
|
2806
|
-
volume: v8
|
|
2807
|
-
}, p6 = ({ header: t, footer: e, content: r, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: z.grid, children: [
|
|
2808
|
-
/* @__PURE__ */ n.jsx("div", { className: z.header, children: t }),
|
|
2809
|
-
/* @__PURE__ */ n.jsx("div", { className: z.content, children: r }),
|
|
2810
|
-
l && /* @__PURE__ */ n.jsx("div", { className: z.volume, children: s }),
|
|
2811
|
-
/* @__PURE__ */ n.jsx("div", { className: z.footer, children: e })
|
|
2812
|
-
] }), d8 = "_grid_11w5q_1", h8 = "_header_11w5q_11", g8 = "_content_11w5q_17", r3 = {
|
|
2813
|
-
grid: d8,
|
|
2873
|
+
const v8 = "_grid_1cmpp_1", h8 = "_header_1cmpp_11", g8 = "_content_1cmpp_17", f8 = "_footer_1cmpp_23", w8 = "_volume_1cmpp_29", t3 = {
|
|
2874
|
+
grid: v8,
|
|
2814
2875
|
header: h8,
|
|
2815
2876
|
content: g8,
|
|
2877
|
+
footer: f8,
|
|
2878
|
+
volume: w8
|
|
2879
|
+
}, R6 = ({ header: t, footer: e, content: r, volume: s, showVolume: l }) => /* @__PURE__ */ n.jsxs("div", { className: t3.grid, children: [
|
|
2880
|
+
/* @__PURE__ */ n.jsx("div", { className: t3.header, children: t }),
|
|
2881
|
+
/* @__PURE__ */ n.jsx("div", { className: t3.content, children: r }),
|
|
2882
|
+
l && /* @__PURE__ */ n.jsx("div", { className: t3.volume, children: s }),
|
|
2883
|
+
/* @__PURE__ */ n.jsx("div", { className: t3.footer, children: e })
|
|
2884
|
+
] }), p8 = "_grid_11w5q_1", x8 = "_header_11w5q_11", M8 = "_content_11w5q_17", u3 = {
|
|
2885
|
+
grid: p8,
|
|
2886
|
+
header: x8,
|
|
2887
|
+
content: M8,
|
|
2816
2888
|
"left-nav": "_left-nav_11w5q_23"
|
|
2817
|
-
},
|
|
2818
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2819
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2820
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
2889
|
+
}, E6 = ({ className: t, header: e, content: r, leftNav: s }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${u3.grid}`, children: [
|
|
2890
|
+
/* @__PURE__ */ n.jsx("div", { className: u3.header, children: e }),
|
|
2891
|
+
s && /* @__PURE__ */ n.jsx("div", { className: u3.leftNav, children: s }),
|
|
2892
|
+
/* @__PURE__ */ n.jsx("div", { className: u3.content, children: r })
|
|
2893
|
+
] }), m8 = "_grid_1uwfo_1", Z8 = "_header_1uwfo_11", j8 = "_content_1uwfo_17", C3 = {
|
|
2894
|
+
grid: m8,
|
|
2895
|
+
header: Z8,
|
|
2896
|
+
content: j8
|
|
2897
|
+
}, _6 = ({ className: t, header: e, content: r }) => /* @__PURE__ */ n.jsxs("div", { className: `${t} ${C3.grid}`, children: [
|
|
2898
|
+
/* @__PURE__ */ n.jsx("div", { className: C3.header, children: e }),
|
|
2899
|
+
/* @__PURE__ */ n.jsx("div", { className: C3.content, children: r })
|
|
2821
2900
|
] });
|
|
2822
|
-
function
|
|
2901
|
+
function L6() {
|
|
2823
2902
|
return console.log(location.pathname), location.pathname;
|
|
2824
2903
|
}
|
|
2825
|
-
var
|
|
2826
|
-
class
|
|
2904
|
+
var S8 = /* @__PURE__ */ ((t) => (t[t.NotSet = 0] = "NotSet", t[t.Sunday = 1] = "Sunday", t[t.Monday = 2] = "Monday", t[t.Tuesday = 4] = "Tuesday", t[t.Wednesday = 8] = "Wednesday", t[t.Thursday = 16] = "Thursday", t[t.Friday = 32] = "Friday", t[t.Saturday = 64] = "Saturday", t))(S8 || {});
|
|
2905
|
+
class $6 {
|
|
2827
2906
|
constructor(e, r) {
|
|
2828
|
-
|
|
2829
|
-
|
|
2907
|
+
_(this, "path");
|
|
2908
|
+
_(this, "handler");
|
|
2830
2909
|
this.path = e, this.handler = r;
|
|
2831
2910
|
}
|
|
2832
2911
|
}
|
|
2833
|
-
const
|
|
2834
|
-
class
|
|
2912
|
+
const A6 = "$off";
|
|
2913
|
+
class B6 {
|
|
2835
2914
|
constructor() {
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2915
|
+
_(this, "name", "");
|
|
2916
|
+
_(this, "iconUrl", "");
|
|
2917
|
+
_(this, "channel", "");
|
|
2839
2918
|
}
|
|
2840
2919
|
}
|
|
2841
|
-
class
|
|
2920
|
+
class T6 {
|
|
2842
2921
|
constructor() {
|
|
2843
|
-
|
|
2844
|
-
|
|
2922
|
+
_(this, "deviceKey");
|
|
2923
|
+
_(this, "deviceType");
|
|
2845
2924
|
}
|
|
2846
2925
|
}
|
|
2847
|
-
class
|
|
2926
|
+
class D6 {
|
|
2848
2927
|
constructor() {
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2928
|
+
_(this, "deviceKey");
|
|
2929
|
+
_(this, "deviceType");
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
class P6 {
|
|
2933
|
+
constructor() {
|
|
2934
|
+
_(this, "currentShareText");
|
|
2935
|
+
_(this, "enabled");
|
|
2936
|
+
_(this, "isSharing");
|
|
2852
2937
|
}
|
|
2853
2938
|
}
|
|
2854
|
-
const b6 = ({ className: t }) => {
|
|
2855
|
-
const [e, r] = o3();
|
|
2856
|
-
return J(() => {
|
|
2857
|
-
setInterval(() => {
|
|
2858
|
-
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
2859
|
-
r(s);
|
|
2860
|
-
}, 1e3);
|
|
2861
|
-
}, []), /* @__PURE__ */ n.jsxs("div", { className: t, children: [
|
|
2862
|
-
e,
|
|
2863
|
-
" new change"
|
|
2864
|
-
] });
|
|
2865
|
-
};
|
|
2866
2939
|
export {
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2940
|
+
D6 as AccessoryDeviceConfiguration,
|
|
2941
|
+
M6 as Clock,
|
|
2942
|
+
S8 as DaysOfWeek,
|
|
2943
|
+
T6 as EnvironmentalDeviceConfiguration,
|
|
2944
|
+
I6 as ErrorBox,
|
|
2945
|
+
B2 as IconButton,
|
|
2946
|
+
D2 as IconMultiAlert,
|
|
2947
|
+
P2 as IconMultiBan,
|
|
2948
|
+
O2 as IconMultiCamera,
|
|
2949
|
+
V2 as IconMultiCheck,
|
|
2950
|
+
F2 as IconMultiDownArrow,
|
|
2951
|
+
k2 as IconMultiElipses,
|
|
2952
|
+
W2 as IconMultiFlag,
|
|
2953
|
+
U2 as IconMultiGear,
|
|
2954
|
+
H2 as IconMultiGlass,
|
|
2955
|
+
K2 as IconMultiHdmi,
|
|
2956
|
+
G2 as IconMultiLaptop,
|
|
2957
|
+
q2 as IconMultiLeftArrow,
|
|
2958
|
+
Y2 as IconMultiLight,
|
|
2959
|
+
J2 as IconMultiMoon,
|
|
2960
|
+
z2 as IconMultiPlaystation,
|
|
2961
|
+
X2 as IconMultiPodium,
|
|
2962
|
+
Q2 as IconMultiPower,
|
|
2963
|
+
N2 as IconMultiPrivacy,
|
|
2964
|
+
e8 as IconMultiQuestion,
|
|
2965
|
+
t8 as IconMultiRightArrow,
|
|
2966
|
+
n8 as IconMultiShade,
|
|
2967
|
+
r8 as IconMultiSun,
|
|
2968
|
+
o8 as IconMultiUpArrow,
|
|
2969
|
+
s8 as IconMultiVolDown,
|
|
2970
|
+
c8 as IconMultiVolMute,
|
|
2971
|
+
l8 as IconMultiVolUp,
|
|
2972
|
+
i8 as IconMultiWireless,
|
|
2973
|
+
a8 as IconMultiX,
|
|
2974
|
+
u8 as IconMultiXbox,
|
|
2975
|
+
R6 as MainLayout,
|
|
2976
|
+
$6 as MessageHandler,
|
|
2977
|
+
Q8 as MobileControlProvider,
|
|
2978
|
+
M as MultiStateIconContainer,
|
|
2979
|
+
y6 as NamedIconButton,
|
|
2980
|
+
B6 as PresetChannel,
|
|
2981
|
+
P6 as ShareState,
|
|
2982
|
+
E6 as TechLayout,
|
|
2983
|
+
_6 as TechPinLayout,
|
|
2984
|
+
L6 as getBaseLocation,
|
|
2985
|
+
b3 as httpClient,
|
|
2986
|
+
A6 as roomOffSourceKey,
|
|
2912
2987
|
F as store,
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
$8 as
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2988
|
+
E8 as uiActions,
|
|
2989
|
+
d2 as uiReducer,
|
|
2990
|
+
_8 as useApiPath,
|
|
2991
|
+
h2 as useAppConfig,
|
|
2992
|
+
M2 as useAppDispatch,
|
|
2993
|
+
e6 as useAvrControl,
|
|
2994
|
+
x2 as useClientId,
|
|
2995
|
+
E2 as useDeviceIBasicVolumeWithFeedback,
|
|
2996
|
+
t6 as useEndpoint,
|
|
2997
|
+
C6 as useGetAllDeviceStateFromRoomConfiguration,
|
|
2998
|
+
g2 as useGetAllDevices,
|
|
2999
|
+
z8 as useGetCurrentPopoverIdForGroup,
|
|
3000
|
+
$ as useGetDevice,
|
|
3001
|
+
N8 as useGetIBasicVolumeWithFeedback,
|
|
3002
|
+
K8 as useGetRoomDisplayStates,
|
|
3003
|
+
G8 as useGetZoomRoomControllerKey,
|
|
3004
|
+
v1 as useIBasicVolumeWithFeedback,
|
|
3005
|
+
n6 as useIChannelMessenger,
|
|
3006
|
+
r6 as useIColor,
|
|
3007
|
+
o6 as useICommunicationMonitor,
|
|
3008
|
+
s6 as useIDPad,
|
|
3009
|
+
c6 as useIDeviceInfoMessenger,
|
|
3010
|
+
l6 as useIDvr,
|
|
3011
|
+
h1 as useIHasPowerControl,
|
|
3012
|
+
y3 as useIHasSelectableItems,
|
|
3013
|
+
i6 as useILevelControls,
|
|
3014
|
+
a6 as useILightingScenes,
|
|
3015
|
+
u6 as useIMatrixRouting,
|
|
3016
|
+
d6 as useINumeric,
|
|
3017
|
+
v6 as useIRoomEventSchedule,
|
|
3018
|
+
h6 as useIRunDirectRouteAction,
|
|
3019
|
+
g6 as useIRunRouteAction,
|
|
3020
|
+
f6 as useISetTopBoxControls,
|
|
3021
|
+
w6 as useIShadesOpenCloseStop,
|
|
3022
|
+
p6 as useIShutdownPromptTimer,
|
|
3023
|
+
x6 as useISwitchedOutput,
|
|
3024
|
+
m6 as useITechPassword,
|
|
3025
|
+
Z6 as useITransport,
|
|
3026
|
+
m2 as useInitialize,
|
|
3027
|
+
j6 as useMobileControlTouchpanelController,
|
|
3028
|
+
R2 as usePressHoldRelease,
|
|
3029
|
+
U8 as useRoomAdvancedSharingActive,
|
|
3030
|
+
O8 as useRoomCodecContentDestinationKey,
|
|
3031
|
+
L8 as useRoomConfiguration,
|
|
3032
|
+
T8 as useRoomDestinationList,
|
|
3033
|
+
B8 as useRoomDestinations,
|
|
3034
|
+
D8 as useRoomEnvironmentalDevices,
|
|
3035
|
+
b6 as useRoomIBasicVolumeWithFeedback,
|
|
3036
|
+
V8 as useRoomInCall,
|
|
3037
|
+
k8 as useRoomIsCoolingDown,
|
|
3038
|
+
W8 as useRoomIsOn,
|
|
3039
|
+
F8 as useRoomIsWarmingUp,
|
|
3040
|
+
p2 as useRoomKey,
|
|
3041
|
+
$8 as useRoomName,
|
|
3042
|
+
P8 as useRoomProgramAudioDestinationKey,
|
|
3043
|
+
H8 as useRoomShareState,
|
|
3044
|
+
A8 as useRoomSourceList,
|
|
3045
|
+
R3 as useRoomState,
|
|
3046
|
+
f2 as useRoomVolume,
|
|
3047
|
+
Y8 as useShowIncomingCallModal,
|
|
3048
|
+
J8 as useShowModal,
|
|
3049
|
+
X8 as useShowPopoverById,
|
|
3050
|
+
q8 as useShowShutdownModal,
|
|
3051
|
+
S6 as useTwoWayDisplayBase,
|
|
3052
|
+
E as useWebsocketContext,
|
|
3053
|
+
w2 as useWsIsConnected
|
|
2976
3054
|
};
|