@pepperdash/mobile-control-react-app-core 1.21.0-feature-add-deviceInterfaceSupport-to-joinroom-response.7 → 1.21.0-fix-double-join-call.1
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.
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
var n2 = Object.defineProperty;
|
|
2
2
|
var o2 = (e, t, n) => t in e ? n2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
3
|
+
var G = (e, t, n) => o2(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import c2, { AxiosError as r2 } from "axios";
|
|
5
5
|
import { useDispatch as l2, useSelector as i2, Provider as a2 } from "react-redux";
|
|
6
|
-
import { createSelector as w, createSlice as
|
|
7
|
-
import w3, { createContext as v2, useState as K, useRef as
|
|
6
|
+
import { createSelector as w, createSlice as v1, combineReducers as u2, configureStore as d2 } from "@reduxjs/toolkit";
|
|
7
|
+
import w3, { createContext as v2, useState as K, useRef as d1, useCallback as l1, useEffect as o1, useContext as h2, useLayoutEffect as x3 } from "react";
|
|
8
8
|
import * as M3 from "lodash";
|
|
9
9
|
import { useNavigate as g2, useRouteError as f2, isRouteErrorResponse as p2 } from "react-router-dom";
|
|
10
|
-
const m3 = l2.withTypes(), p = i2.withTypes(),
|
|
11
|
-
|
|
10
|
+
const m3 = l2.withTypes(), p = i2.withTypes(), S1 = (e) => e.appConfig, w2 = w(
|
|
11
|
+
S1,
|
|
12
12
|
(e) => e.config
|
|
13
13
|
), x2 = w(
|
|
14
|
-
|
|
14
|
+
S1,
|
|
15
15
|
(e) => e.config.apiPath
|
|
16
16
|
), M2 = w(
|
|
17
|
-
|
|
17
|
+
S1,
|
|
18
18
|
(e) => e.config.logoPath
|
|
19
19
|
), m2 = w(
|
|
20
|
-
|
|
20
|
+
S1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), Z2 = () => p(w2), U6 = () => p(x2),
|
|
22
|
+
), Z2 = () => p(w2), U6 = () => p(x2), F6 = () => p(M2), W6 = () => p(m2), Z3 = (e) => e.devices, j3 = w(
|
|
23
23
|
Z3,
|
|
24
24
|
(e) => e
|
|
25
25
|
), j2 = (e) => w(
|
|
26
26
|
Z3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
28
|
), H6 = () => p(j3);
|
|
29
|
-
function
|
|
29
|
+
function E(e) {
|
|
30
30
|
return p(j2(e));
|
|
31
31
|
}
|
|
32
32
|
const _ = (e) => e.rooms, S2 = (e) => w(
|
|
@@ -59,13 +59,13 @@ const _ = (e) => e.rooms, S2 = (e) => w(
|
|
|
59
59
|
var n, c;
|
|
60
60
|
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
|
-
),
|
|
62
|
+
), T2 = (e) => w(
|
|
63
63
|
_,
|
|
64
64
|
(t) => {
|
|
65
65
|
var n, c;
|
|
66
66
|
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
|
-
),
|
|
68
|
+
), D2 = (e) => w(
|
|
69
69
|
_,
|
|
70
70
|
(t) => {
|
|
71
71
|
var n, c;
|
|
@@ -125,13 +125,13 @@ const _ = (e) => e.rooms, S2 = (e) => w(
|
|
|
125
125
|
var n;
|
|
126
126
|
return t[e] ? (n = t[e]) == null ? void 0 : n.share : void 0;
|
|
127
127
|
}
|
|
128
|
-
),
|
|
128
|
+
), F2 = (e) => w(
|
|
129
129
|
_,
|
|
130
130
|
(t) => {
|
|
131
131
|
var n, c;
|
|
132
132
|
return t[e] ? (c = (n = t[e]) == null ? void 0 : n.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
133
133
|
}
|
|
134
|
-
),
|
|
134
|
+
), W2 = w(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
137
|
() => j3,
|
|
@@ -154,60 +154,60 @@ function K6(e) {
|
|
|
154
154
|
function G6() {
|
|
155
155
|
return p(C2);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function C1(e) {
|
|
158
158
|
return p(b2(e));
|
|
159
159
|
}
|
|
160
|
-
const q6 =
|
|
160
|
+
const q6 = C1, Y6 = (e) => p(
|
|
161
161
|
I2(e)
|
|
162
162
|
), H2 = (e, t) => p(
|
|
163
163
|
y2(e, t)
|
|
164
|
-
), K2 = (e) => p(R2(e)) || void 0, z6 = (e) => p(E2(e)), J6 = (e) => p(P2(e)), X6 = (e) => p(
|
|
165
|
-
|
|
164
|
+
), K2 = (e) => p(R2(e)) || void 0, z6 = (e) => p(E2(e)), J6 = (e) => p(P2(e)), X6 = (e) => p(T2(e)), Q6 = (e) => p(D2(e)), N6 = (e) => p(_2(e)), ee = (e) => p(L2(e)), te = (e) => p($2(e)), se = (e) => p(A2(e)), ne = (e) => p(B2(e)), oe = (e) => p(O2(e)), ce = (e) => p(V2(e)), re = (e) => p(k2(e)), le = (e) => p(U2(e)), ie = (e) => p((t) => W2(t, e)), ae = (e) => p(F2(e)), q = (e) => e.runtimeConfig, G2 = w(
|
|
165
|
+
q,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), q2 = w(
|
|
168
|
-
|
|
168
|
+
q,
|
|
169
169
|
(e) => e.currentRoomKey
|
|
170
170
|
), Y2 = w(
|
|
171
|
-
|
|
171
|
+
q,
|
|
172
172
|
(e) => e.roomData.clientId
|
|
173
173
|
), z2 = w(
|
|
174
|
-
|
|
174
|
+
q,
|
|
175
175
|
(e) => e.roomData.systemUuid
|
|
176
176
|
), J2 = w(
|
|
177
|
-
|
|
177
|
+
q,
|
|
178
178
|
(e) => e.roomData.userCode
|
|
179
179
|
), X2 = w(
|
|
180
|
-
|
|
180
|
+
q,
|
|
181
181
|
(e) => e.serverIsRunningOnProcessorHardware
|
|
182
182
|
), Q2 = w(
|
|
183
|
-
|
|
183
|
+
q,
|
|
184
184
|
(e) => {
|
|
185
185
|
var t;
|
|
186
186
|
return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
|
|
187
187
|
}
|
|
188
188
|
), N2 = w(
|
|
189
|
-
|
|
189
|
+
q,
|
|
190
190
|
(e) => e.touchpanelKey
|
|
191
191
|
), e8 = w(
|
|
192
|
-
|
|
192
|
+
q,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
194
|
), t8 = w(
|
|
195
|
-
|
|
195
|
+
q,
|
|
196
196
|
(e) => e.roomData.deviceInterfaceSupport
|
|
197
|
-
), S3 = () => p(G2), s8 = () => p(q2), n8 = () => p(Y2), o8 = () => p(z2), c8 = () => p(J2), r8 = () => p(X2), ue = () => p(Q2), de = () => p(N2), ve = () => p(e8), he = () => p(t8),
|
|
197
|
+
), S3 = () => p(G2), s8 = () => p(q2), n8 = () => p(Y2), o8 = () => p(z2), c8 = () => p(J2), r8 = () => p(X2), ue = () => p(Q2), de = () => p(N2), ve = () => p(e8), he = () => p(t8), e1 = (e) => e.ui, U1 = (e) => w(e1, (t) => t.modalVisibility[e]), l8 = (e) => w(e1, (t) => {
|
|
198
198
|
const n = t.popoverVisibility[e];
|
|
199
199
|
if (n)
|
|
200
200
|
return Object.keys(n).find((c) => n[c]);
|
|
201
201
|
}), i8 = (e, t) => w(
|
|
202
|
-
|
|
202
|
+
e1,
|
|
203
203
|
(n) => {
|
|
204
204
|
var c;
|
|
205
205
|
return ((c = n.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
|
|
206
206
|
}
|
|
207
|
-
), a8 = w(
|
|
208
|
-
|
|
207
|
+
), a8 = w(e1, (e) => e.error), u8 = w(
|
|
208
|
+
e1,
|
|
209
209
|
(e) => e.showReconnect
|
|
210
|
-
), d8 = w(
|
|
210
|
+
), d8 = w(e1, (e) => e.theme), v8 = (e) => w(e1, (t) => t.syncState.includes(e)), ge = () => p(U1("showShutdownModal")), fe = () => p(U1("showIncomingCallModal")), pe = (e) => p(U1(e)), we = (e) => p(l8(e)), xe = (e, t) => p(i8(e, t)), h8 = () => p(a8), g8 = () => p(u8), Me = () => p(d8), f8 = (e) => p(v8(e)), p8 = {
|
|
211
211
|
showReconnect: !1,
|
|
212
212
|
error: "",
|
|
213
213
|
modalVisibility: {
|
|
@@ -216,7 +216,7 @@ const q6 = S1, Y6 = (e) => p(
|
|
|
216
216
|
},
|
|
217
217
|
popoverVisibility: {},
|
|
218
218
|
syncState: []
|
|
219
|
-
}, C3 =
|
|
219
|
+
}, C3 = v1({
|
|
220
220
|
name: "ui",
|
|
221
221
|
initialState: p8,
|
|
222
222
|
reducers: {
|
|
@@ -272,7 +272,7 @@ const q6 = S1, Y6 = (e) => p(
|
|
|
272
272
|
loginMode: "",
|
|
273
273
|
modes: {}
|
|
274
274
|
}
|
|
275
|
-
}, b3 =
|
|
275
|
+
}, b3 = v1({
|
|
276
276
|
name: "appConfig",
|
|
277
277
|
initialState: x8,
|
|
278
278
|
reducers: {
|
|
@@ -280,7 +280,7 @@ const q6 = S1, Y6 = (e) => p(
|
|
|
280
280
|
e.config = t.payload;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
}), M8 = b3.actions, m8 = b3.reducer, d3 = {}, B1 =
|
|
283
|
+
}), M8 = b3.actions, m8 = b3.reducer, d3 = {}, B1 = v1({
|
|
284
284
|
name: "devices",
|
|
285
285
|
initialState: d3,
|
|
286
286
|
reducers: {
|
|
@@ -294,10 +294,10 @@ const q6 = S1, Y6 = (e) => p(
|
|
|
294
294
|
return d3;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
}),
|
|
297
|
+
}), M1 = {
|
|
298
298
|
setDeviceState: B1.actions.setDeviceState,
|
|
299
299
|
clearDevices: B1.actions.clearDevices
|
|
300
|
-
}, Z8 = B1.reducer, v3 = {}, O1 =
|
|
300
|
+
}, Z8 = B1.reducer, v3 = {}, O1 = v1({
|
|
301
301
|
name: "rooms",
|
|
302
302
|
initialState: v3,
|
|
303
303
|
reducers: {
|
|
@@ -311,7 +311,7 @@ const q6 = S1, Y6 = (e) => p(
|
|
|
311
311
|
return v3;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
}),
|
|
314
|
+
}), m1 = {
|
|
315
315
|
setRoomState: O1.actions.setRoomState,
|
|
316
316
|
clearRooms: O1.actions.clearRooms
|
|
317
317
|
}, j8 = O1.reducer, S8 = {
|
|
@@ -345,7 +345,7 @@ const q6 = S1, Y6 = (e) => p(
|
|
|
345
345
|
userCode: "",
|
|
346
346
|
qrUrl: ""
|
|
347
347
|
}
|
|
348
|
-
}, I3 =
|
|
348
|
+
}, I3 = v1({
|
|
349
349
|
name: "runtimeConfig",
|
|
350
350
|
initialState: S8,
|
|
351
351
|
reducers: {
|
|
@@ -374,13 +374,13 @@ const q6 = S1, Y6 = (e) => p(
|
|
|
374
374
|
e.touchpanelKey = t.payload;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
}),
|
|
377
|
+
}), z = I3.actions, C8 = I3.reducer, b8 = u2({
|
|
378
378
|
appConfig: m8,
|
|
379
379
|
runtimeConfig: C8,
|
|
380
380
|
rooms: j8,
|
|
381
381
|
devices: Z8,
|
|
382
382
|
ui: w8
|
|
383
|
-
}),
|
|
383
|
+
}), b = d2({
|
|
384
384
|
reducer: b8
|
|
385
385
|
}), V1 = c2.create();
|
|
386
386
|
function I8() {
|
|
@@ -394,7 +394,7 @@ function I8() {
|
|
|
394
394
|
const r = c.data.apiPath;
|
|
395
395
|
e(M8.setAppConfig(c.data));
|
|
396
396
|
const i = await V1.get(`${r}/version`);
|
|
397
|
-
i.status == 200 && i.data && e(
|
|
397
|
+
i.status == 200 && i.data && e(z.setRuntimeConfig(i.data));
|
|
398
398
|
}
|
|
399
399
|
} catch (t) {
|
|
400
400
|
console.error("Error getting config", t);
|
|
@@ -402,7 +402,7 @@ function I8() {
|
|
|
402
402
|
return !0;
|
|
403
403
|
};
|
|
404
404
|
}
|
|
405
|
-
var
|
|
405
|
+
var Z1 = { exports: {} }, i1 = {};
|
|
406
406
|
/**
|
|
407
407
|
* @license React
|
|
408
408
|
* react-jsx-runtime.production.min.js
|
|
@@ -414,7 +414,7 @@ var m1 = { exports: {} }, u1 = {};
|
|
|
414
414
|
*/
|
|
415
415
|
var h3;
|
|
416
416
|
function y8() {
|
|
417
|
-
if (h3) return
|
|
417
|
+
if (h3) return i1;
|
|
418
418
|
h3 = 1;
|
|
419
419
|
var e = w3, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
420
420
|
function d(a, g, x) {
|
|
@@ -424,9 +424,9 @@ function y8() {
|
|
|
424
424
|
if (a && a.defaultProps) for (v in g = a.defaultProps, g) I[v] === void 0 && (I[v] = g[v]);
|
|
425
425
|
return { $$typeof: t, type: a, key: L, ref: H, props: I, _owner: r.current };
|
|
426
426
|
}
|
|
427
|
-
return
|
|
427
|
+
return i1.Fragment = n, i1.jsx = d, i1.jsxs = d, i1;
|
|
428
428
|
}
|
|
429
|
-
var
|
|
429
|
+
var a1 = {};
|
|
430
430
|
/**
|
|
431
431
|
* @license React
|
|
432
432
|
* react-jsx-runtime.development.js
|
|
@@ -440,7 +440,7 @@ var g3;
|
|
|
440
440
|
function R8() {
|
|
441
441
|
return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
442
442
|
var e = w3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), U = Symbol.iterator, X = "@@iterator";
|
|
443
|
-
function
|
|
443
|
+
function c1(o) {
|
|
444
444
|
if (o === null || typeof o != "object")
|
|
445
445
|
return null;
|
|
446
446
|
var l = U && o[U] || o[X];
|
|
@@ -451,39 +451,39 @@ function R8() {
|
|
|
451
451
|
{
|
|
452
452
|
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
|
|
453
453
|
u[f - 1] = arguments[f];
|
|
454
|
-
|
|
454
|
+
b1("error", o, u);
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function b1(o, l, u) {
|
|
458
458
|
{
|
|
459
|
-
var f = $.ReactDebugCurrentFrame,
|
|
460
|
-
|
|
461
|
-
var y = u.map(function(
|
|
462
|
-
return String(
|
|
459
|
+
var f = $.ReactDebugCurrentFrame, S = f.getStackAddendum();
|
|
460
|
+
S !== "" && (l += "%s", u = u.concat([S]));
|
|
461
|
+
var y = u.map(function(m) {
|
|
462
|
+
return String(m);
|
|
463
463
|
});
|
|
464
464
|
y.unshift("Warning: " + l), Function.prototype.apply.call(console[o], console, y);
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
|
-
var
|
|
468
|
-
|
|
469
|
-
function
|
|
470
|
-
return !!(typeof o == "string" || typeof o == "function" || o === c || o === i ||
|
|
467
|
+
var I1 = !1, t1 = !1, P = !1, j = !1, h1 = !1, g1;
|
|
468
|
+
g1 = Symbol.for("react.module.reference");
|
|
469
|
+
function J(o) {
|
|
470
|
+
return !!(typeof o == "string" || typeof o == "function" || o === c || o === i || h1 || o === r || o === x || o === v || j || o === H || I1 || t1 || P || typeof o == "object" && o !== null && (o.$$typeof === L || o.$$typeof === I || o.$$typeof === d || o.$$typeof === a || o.$$typeof === g || // This needs to include all possible module reference object
|
|
471
471
|
// types supported by any Flight configuration anywhere since
|
|
472
472
|
// we don't know which Flight build this will end up being used
|
|
473
473
|
// with.
|
|
474
|
-
o.$$typeof ===
|
|
474
|
+
o.$$typeof === g1 || o.getModuleId !== void 0));
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function B(o, l, u) {
|
|
477
477
|
var f = o.displayName;
|
|
478
478
|
if (f)
|
|
479
479
|
return f;
|
|
480
|
-
var
|
|
481
|
-
return
|
|
480
|
+
var S = l.displayName || l.name || "";
|
|
481
|
+
return S !== "" ? u + "(" + S + ")" : u;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function R(o) {
|
|
484
484
|
return o.displayName || "Context";
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function F(o) {
|
|
487
487
|
if (o == null)
|
|
488
488
|
return null;
|
|
489
489
|
if (typeof o.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
@@ -508,19 +508,19 @@ function R8() {
|
|
|
508
508
|
switch (o.$$typeof) {
|
|
509
509
|
case a:
|
|
510
510
|
var l = o;
|
|
511
|
-
return
|
|
511
|
+
return R(l) + ".Consumer";
|
|
512
512
|
case d:
|
|
513
513
|
var u = o;
|
|
514
|
-
return
|
|
514
|
+
return R(u._context) + ".Provider";
|
|
515
515
|
case g:
|
|
516
|
-
return
|
|
516
|
+
return B(o, o.render, "ForwardRef");
|
|
517
517
|
case I:
|
|
518
518
|
var f = o.displayName || null;
|
|
519
|
-
return f !== null ? f :
|
|
519
|
+
return f !== null ? f : F(o.type) || "Memo";
|
|
520
520
|
case L: {
|
|
521
|
-
var
|
|
521
|
+
var S = o, y = S._payload, m = S._init;
|
|
522
522
|
try {
|
|
523
|
-
return
|
|
523
|
+
return F(m(y));
|
|
524
524
|
} catch {
|
|
525
525
|
return null;
|
|
526
526
|
}
|
|
@@ -528,14 +528,14 @@ function R8() {
|
|
|
528
528
|
}
|
|
529
529
|
return null;
|
|
530
530
|
}
|
|
531
|
-
var
|
|
531
|
+
var Y = Object.assign, Q = 0, F1, W1, H1, K1, G1, q1, Y1;
|
|
532
532
|
function z1() {
|
|
533
533
|
}
|
|
534
534
|
z1.__reactDisabledLog = !0;
|
|
535
535
|
function P3() {
|
|
536
536
|
{
|
|
537
|
-
if (
|
|
538
|
-
|
|
537
|
+
if (Q === 0) {
|
|
538
|
+
F1 = console.log, W1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
|
|
539
539
|
var o = {
|
|
540
540
|
configurable: !0,
|
|
541
541
|
enumerable: !0,
|
|
@@ -552,100 +552,100 @@ function R8() {
|
|
|
552
552
|
groupEnd: o
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
|
-
|
|
555
|
+
Q++;
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function T3() {
|
|
559
559
|
{
|
|
560
|
-
if (
|
|
560
|
+
if (Q--, Q === 0) {
|
|
561
561
|
var o = {
|
|
562
562
|
configurable: !0,
|
|
563
563
|
enumerable: !0,
|
|
564
564
|
writable: !0
|
|
565
565
|
};
|
|
566
566
|
Object.defineProperties(console, {
|
|
567
|
-
log:
|
|
568
|
-
value: W1
|
|
569
|
-
}),
|
|
570
|
-
info: J({}, o, {
|
|
567
|
+
log: Y({}, o, {
|
|
571
568
|
value: F1
|
|
572
569
|
}),
|
|
573
|
-
|
|
570
|
+
info: Y({}, o, {
|
|
571
|
+
value: W1
|
|
572
|
+
}),
|
|
573
|
+
warn: Y({}, o, {
|
|
574
574
|
value: H1
|
|
575
575
|
}),
|
|
576
|
-
error:
|
|
576
|
+
error: Y({}, o, {
|
|
577
577
|
value: K1
|
|
578
578
|
}),
|
|
579
|
-
group:
|
|
579
|
+
group: Y({}, o, {
|
|
580
580
|
value: G1
|
|
581
581
|
}),
|
|
582
|
-
groupCollapsed:
|
|
582
|
+
groupCollapsed: Y({}, o, {
|
|
583
583
|
value: q1
|
|
584
584
|
}),
|
|
585
|
-
groupEnd:
|
|
585
|
+
groupEnd: Y({}, o, {
|
|
586
586
|
value: Y1
|
|
587
587
|
})
|
|
588
588
|
});
|
|
589
589
|
}
|
|
590
|
-
|
|
590
|
+
Q < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
var y1 = $.ReactCurrentDispatcher, R1;
|
|
594
|
-
function
|
|
594
|
+
function f1(o, l, u) {
|
|
595
595
|
{
|
|
596
596
|
if (R1 === void 0)
|
|
597
597
|
try {
|
|
598
598
|
throw Error();
|
|
599
|
-
} catch (
|
|
600
|
-
var f =
|
|
599
|
+
} catch (S) {
|
|
600
|
+
var f = S.stack.trim().match(/\n( *(at )?)/);
|
|
601
601
|
R1 = f && f[1] || "";
|
|
602
602
|
}
|
|
603
603
|
return `
|
|
604
604
|
` + R1 + o;
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
var E1 = !1,
|
|
607
|
+
var E1 = !1, p1;
|
|
608
608
|
{
|
|
609
|
-
var
|
|
610
|
-
|
|
609
|
+
var D3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
610
|
+
p1 = new D3();
|
|
611
611
|
}
|
|
612
612
|
function J1(o, l) {
|
|
613
613
|
if (!o || E1)
|
|
614
614
|
return "";
|
|
615
615
|
{
|
|
616
|
-
var u =
|
|
616
|
+
var u = p1.get(o);
|
|
617
617
|
if (u !== void 0)
|
|
618
618
|
return u;
|
|
619
619
|
}
|
|
620
620
|
var f;
|
|
621
621
|
E1 = !0;
|
|
622
|
-
var
|
|
622
|
+
var S = Error.prepareStackTrace;
|
|
623
623
|
Error.prepareStackTrace = void 0;
|
|
624
624
|
var y;
|
|
625
625
|
y = y1.current, y1.current = null, P3();
|
|
626
626
|
try {
|
|
627
627
|
if (l) {
|
|
628
|
-
var
|
|
628
|
+
var m = function() {
|
|
629
629
|
throw Error();
|
|
630
630
|
};
|
|
631
|
-
if (Object.defineProperty(
|
|
631
|
+
if (Object.defineProperty(m.prototype, "props", {
|
|
632
632
|
set: function() {
|
|
633
633
|
throw Error();
|
|
634
634
|
}
|
|
635
635
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
636
636
|
try {
|
|
637
|
-
Reflect.construct(
|
|
637
|
+
Reflect.construct(m, []);
|
|
638
638
|
} catch (V) {
|
|
639
639
|
f = V;
|
|
640
640
|
}
|
|
641
|
-
Reflect.construct(o, [],
|
|
641
|
+
Reflect.construct(o, [], m);
|
|
642
642
|
} else {
|
|
643
643
|
try {
|
|
644
|
-
|
|
644
|
+
m.call();
|
|
645
645
|
} catch (V) {
|
|
646
646
|
f = V;
|
|
647
647
|
}
|
|
648
|
-
o.call(
|
|
648
|
+
o.call(m.prototype);
|
|
649
649
|
}
|
|
650
650
|
} else {
|
|
651
651
|
try {
|
|
@@ -657,28 +657,28 @@ function R8() {
|
|
|
657
657
|
}
|
|
658
658
|
} catch (V) {
|
|
659
659
|
if (V && f && typeof V.stack == "string") {
|
|
660
|
-
for (var
|
|
660
|
+
for (var M = V.stack.split(`
|
|
661
661
|
`), O = f.stack.split(`
|
|
662
|
-
`),
|
|
663
|
-
|
|
664
|
-
for (;
|
|
665
|
-
if (
|
|
666
|
-
if (
|
|
662
|
+
`), T = M.length - 1, D = O.length - 1; T >= 1 && D >= 0 && M[T] !== O[D]; )
|
|
663
|
+
D--;
|
|
664
|
+
for (; T >= 1 && D >= 0; T--, D--)
|
|
665
|
+
if (M[T] !== O[D]) {
|
|
666
|
+
if (T !== 1 || D !== 1)
|
|
667
667
|
do
|
|
668
|
-
if (
|
|
668
|
+
if (T--, D--, D < 0 || M[T] !== O[D]) {
|
|
669
669
|
var W = `
|
|
670
|
-
` +
|
|
671
|
-
return o.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", o.displayName)), typeof o == "function" &&
|
|
670
|
+
` + M[T].replace(" at new ", " at ");
|
|
671
|
+
return o.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", o.displayName)), typeof o == "function" && p1.set(o, W), W;
|
|
672
672
|
}
|
|
673
|
-
while (
|
|
673
|
+
while (T >= 1 && D >= 0);
|
|
674
674
|
break;
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
677
|
} finally {
|
|
678
|
-
E1 = !1, y1.current = y,
|
|
678
|
+
E1 = !1, y1.current = y, T3(), Error.prepareStackTrace = S;
|
|
679
679
|
}
|
|
680
|
-
var
|
|
681
|
-
return typeof o == "function" &&
|
|
680
|
+
var n1 = o ? o.displayName || o.name : "", N = n1 ? f1(n1) : "";
|
|
681
|
+
return typeof o == "function" && p1.set(o, N), N;
|
|
682
682
|
}
|
|
683
683
|
function _3(o, l, u) {
|
|
684
684
|
return J1(o, !1);
|
|
@@ -687,59 +687,59 @@ function R8() {
|
|
|
687
687
|
var l = o.prototype;
|
|
688
688
|
return !!(l && l.isReactComponent);
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function w1(o, l, u) {
|
|
691
691
|
if (o == null)
|
|
692
692
|
return "";
|
|
693
693
|
if (typeof o == "function")
|
|
694
694
|
return J1(o, L3(o));
|
|
695
695
|
if (typeof o == "string")
|
|
696
|
-
return
|
|
696
|
+
return f1(o);
|
|
697
697
|
switch (o) {
|
|
698
698
|
case x:
|
|
699
|
-
return
|
|
699
|
+
return f1("Suspense");
|
|
700
700
|
case v:
|
|
701
|
-
return
|
|
701
|
+
return f1("SuspenseList");
|
|
702
702
|
}
|
|
703
703
|
if (typeof o == "object")
|
|
704
704
|
switch (o.$$typeof) {
|
|
705
705
|
case g:
|
|
706
706
|
return _3(o.render);
|
|
707
707
|
case I:
|
|
708
|
-
return
|
|
708
|
+
return w1(o.type, l, u);
|
|
709
709
|
case L: {
|
|
710
|
-
var f = o,
|
|
710
|
+
var f = o, S = f._payload, y = f._init;
|
|
711
711
|
try {
|
|
712
|
-
return
|
|
712
|
+
return w1(y(S), l, u);
|
|
713
713
|
} catch {
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
716
|
}
|
|
717
717
|
return "";
|
|
718
718
|
}
|
|
719
|
-
var
|
|
720
|
-
function
|
|
719
|
+
var r1 = Object.prototype.hasOwnProperty, X1 = {}, Q1 = $.ReactDebugCurrentFrame;
|
|
720
|
+
function x1(o) {
|
|
721
721
|
if (o) {
|
|
722
|
-
var l = o._owner, u =
|
|
722
|
+
var l = o._owner, u = w1(o.type, o._source, l ? l.type : null);
|
|
723
723
|
Q1.setExtraStackFrame(u);
|
|
724
724
|
} else
|
|
725
725
|
Q1.setExtraStackFrame(null);
|
|
726
726
|
}
|
|
727
|
-
function $3(o, l, u, f,
|
|
727
|
+
function $3(o, l, u, f, S) {
|
|
728
728
|
{
|
|
729
|
-
var y = Function.call.bind(
|
|
730
|
-
for (var
|
|
731
|
-
if (y(o,
|
|
732
|
-
var
|
|
729
|
+
var y = Function.call.bind(r1);
|
|
730
|
+
for (var m in o)
|
|
731
|
+
if (y(o, m)) {
|
|
732
|
+
var M = void 0;
|
|
733
733
|
try {
|
|
734
|
-
if (typeof o[
|
|
735
|
-
var O = Error((f || "React class") + ": " + u + " type `" +
|
|
734
|
+
if (typeof o[m] != "function") {
|
|
735
|
+
var O = Error((f || "React class") + ": " + u + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
736
736
|
throw O.name = "Invariant Violation", O;
|
|
737
737
|
}
|
|
738
|
-
|
|
739
|
-
} catch (
|
|
740
|
-
|
|
738
|
+
M = o[m](l, m, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
739
|
+
} catch (T) {
|
|
740
|
+
M = T;
|
|
741
741
|
}
|
|
742
|
-
|
|
742
|
+
M && !(M instanceof Error) && (x1(S), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", u, m, typeof M), x1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, x1(S), A("Failed %s type: %s", u, M.message), x1(null));
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
745
|
}
|
|
@@ -774,7 +774,7 @@ function R8() {
|
|
|
774
774
|
__source: !0
|
|
775
775
|
}, s3, n3;
|
|
776
776
|
function k3(o) {
|
|
777
|
-
if (
|
|
777
|
+
if (r1.call(o, "ref")) {
|
|
778
778
|
var l = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
779
779
|
if (l && l.isReactWarning)
|
|
780
780
|
return !1;
|
|
@@ -782,17 +782,17 @@ function R8() {
|
|
|
782
782
|
return o.ref !== void 0;
|
|
783
783
|
}
|
|
784
784
|
function U3(o) {
|
|
785
|
-
if (
|
|
785
|
+
if (r1.call(o, "key")) {
|
|
786
786
|
var l = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
787
787
|
if (l && l.isReactWarning)
|
|
788
788
|
return !1;
|
|
789
789
|
}
|
|
790
790
|
return o.key !== void 0;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function F3(o, l) {
|
|
793
793
|
typeof o.ref == "string" && t3.current;
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function W3(o, l) {
|
|
796
796
|
{
|
|
797
797
|
var u = function() {
|
|
798
798
|
s3 || (s3 = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
@@ -814,70 +814,70 @@ function R8() {
|
|
|
814
814
|
});
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
|
-
var K3 = function(o, l, u, f,
|
|
818
|
-
var
|
|
817
|
+
var K3 = function(o, l, u, f, S, y, m) {
|
|
818
|
+
var M = {
|
|
819
819
|
// This tag allows us to uniquely identify this as a React Element
|
|
820
820
|
$$typeof: t,
|
|
821
821
|
// Built-in properties that belong on the element
|
|
822
822
|
type: o,
|
|
823
823
|
key: l,
|
|
824
824
|
ref: u,
|
|
825
|
-
props:
|
|
825
|
+
props: m,
|
|
826
826
|
// Record the component responsible for creating this element.
|
|
827
827
|
_owner: y
|
|
828
828
|
};
|
|
829
|
-
return
|
|
829
|
+
return M._store = {}, Object.defineProperty(M._store, "validated", {
|
|
830
830
|
configurable: !1,
|
|
831
831
|
enumerable: !1,
|
|
832
832
|
writable: !0,
|
|
833
833
|
value: !1
|
|
834
|
-
}), Object.defineProperty(
|
|
834
|
+
}), Object.defineProperty(M, "_self", {
|
|
835
835
|
configurable: !1,
|
|
836
836
|
enumerable: !1,
|
|
837
837
|
writable: !1,
|
|
838
838
|
value: f
|
|
839
|
-
}), Object.defineProperty(
|
|
839
|
+
}), Object.defineProperty(M, "_source", {
|
|
840
840
|
configurable: !1,
|
|
841
841
|
enumerable: !1,
|
|
842
842
|
writable: !1,
|
|
843
|
-
value:
|
|
844
|
-
}), Object.freeze && (Object.freeze(
|
|
843
|
+
value: S
|
|
844
|
+
}), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
|
|
845
845
|
};
|
|
846
|
-
function G3(o, l, u, f,
|
|
846
|
+
function G3(o, l, u, f, S) {
|
|
847
847
|
{
|
|
848
|
-
var y,
|
|
849
|
-
u !== void 0 && (e3(u),
|
|
848
|
+
var y, m = {}, M = null, O = null;
|
|
849
|
+
u !== void 0 && (e3(u), M = "" + u), U3(l) && (e3(l.key), M = "" + l.key), k3(l) && (O = l.ref, F3(l, S));
|
|
850
850
|
for (y in l)
|
|
851
|
-
|
|
851
|
+
r1.call(l, y) && !V3.hasOwnProperty(y) && (m[y] = l[y]);
|
|
852
852
|
if (o && o.defaultProps) {
|
|
853
|
-
var
|
|
854
|
-
for (y in
|
|
855
|
-
|
|
853
|
+
var T = o.defaultProps;
|
|
854
|
+
for (y in T)
|
|
855
|
+
m[y] === void 0 && (m[y] = T[y]);
|
|
856
856
|
}
|
|
857
|
-
if (
|
|
858
|
-
var
|
|
859
|
-
|
|
857
|
+
if (M || O) {
|
|
858
|
+
var D = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
859
|
+
M && W3(m, D), O && H3(m, D);
|
|
860
860
|
}
|
|
861
|
-
return K3(o,
|
|
861
|
+
return K3(o, M, O, S, f, t3.current, m);
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
var
|
|
865
|
-
function
|
|
864
|
+
var T1 = $.ReactCurrentOwner, o3 = $.ReactDebugCurrentFrame;
|
|
865
|
+
function s1(o) {
|
|
866
866
|
if (o) {
|
|
867
|
-
var l = o._owner, u =
|
|
867
|
+
var l = o._owner, u = w1(o.type, o._source, l ? l.type : null);
|
|
868
868
|
o3.setExtraStackFrame(u);
|
|
869
869
|
} else
|
|
870
870
|
o3.setExtraStackFrame(null);
|
|
871
871
|
}
|
|
872
|
-
var
|
|
873
|
-
|
|
872
|
+
var D1;
|
|
873
|
+
D1 = !1;
|
|
874
874
|
function _1(o) {
|
|
875
875
|
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
876
876
|
}
|
|
877
877
|
function c3() {
|
|
878
878
|
{
|
|
879
|
-
if (
|
|
880
|
-
var o =
|
|
879
|
+
if (T1.current) {
|
|
880
|
+
var o = F(T1.current.type);
|
|
881
881
|
if (o)
|
|
882
882
|
return `
|
|
883
883
|
|
|
@@ -912,7 +912,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
912
912
|
return;
|
|
913
913
|
r3[u] = !0;
|
|
914
914
|
var f = "";
|
|
915
|
-
o && o._owner && o._owner !==
|
|
915
|
+
o && o._owner && o._owner !== T1.current && (f = " It was passed a child from " + F(o._owner.type) + "."), s1(o), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), s1(null);
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
function i3(o, l) {
|
|
@@ -927,10 +927,10 @@ Check the top-level render call using <` + u + ">.");
|
|
|
927
927
|
else if (_1(o))
|
|
928
928
|
o._store && (o._store.validated = !0);
|
|
929
929
|
else if (o) {
|
|
930
|
-
var
|
|
931
|
-
if (typeof
|
|
932
|
-
for (var y =
|
|
933
|
-
_1(
|
|
930
|
+
var S = c1(o);
|
|
931
|
+
if (typeof S == "function" && S !== o.entries)
|
|
932
|
+
for (var y = S.call(o), m; !(m = y.next()).done; )
|
|
933
|
+
_1(m.value) && l3(m.value, l);
|
|
934
934
|
}
|
|
935
935
|
}
|
|
936
936
|
}
|
|
@@ -949,12 +949,12 @@ Check the top-level render call using <` + u + ">.");
|
|
|
949
949
|
else
|
|
950
950
|
return;
|
|
951
951
|
if (u) {
|
|
952
|
-
var f =
|
|
952
|
+
var f = F(l);
|
|
953
953
|
$3(u, o.props, "prop", f, o);
|
|
954
|
-
} else if (l.PropTypes !== void 0 && !
|
|
955
|
-
|
|
956
|
-
var
|
|
957
|
-
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
954
|
+
} else if (l.PropTypes !== void 0 && !D1) {
|
|
955
|
+
D1 = !0;
|
|
956
|
+
var S = F(l);
|
|
957
|
+
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
|
|
958
958
|
}
|
|
959
959
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
960
960
|
}
|
|
@@ -964,56 +964,56 @@ Check the top-level render call using <` + u + ">.");
|
|
|
964
964
|
for (var l = Object.keys(o.props), u = 0; u < l.length; u++) {
|
|
965
965
|
var f = l[u];
|
|
966
966
|
if (f !== "children" && f !== "key") {
|
|
967
|
-
|
|
967
|
+
s1(o), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), s1(null);
|
|
968
968
|
break;
|
|
969
969
|
}
|
|
970
970
|
}
|
|
971
|
-
o.ref !== null && (
|
|
971
|
+
o.ref !== null && (s1(o), A("Invalid attribute `ref` supplied to `React.Fragment`."), s1(null));
|
|
972
972
|
}
|
|
973
973
|
}
|
|
974
974
|
var a3 = {};
|
|
975
|
-
function u3(o, l, u, f,
|
|
975
|
+
function u3(o, l, u, f, S, y) {
|
|
976
976
|
{
|
|
977
|
-
var
|
|
978
|
-
if (!
|
|
979
|
-
var
|
|
980
|
-
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (
|
|
977
|
+
var m = J(o);
|
|
978
|
+
if (!m) {
|
|
979
|
+
var M = "";
|
|
980
|
+
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
981
981
|
var O = q3();
|
|
982
|
-
O ?
|
|
983
|
-
var
|
|
984
|
-
o === null ?
|
|
985
|
-
}
|
|
986
|
-
var
|
|
987
|
-
if (
|
|
988
|
-
return
|
|
989
|
-
if (
|
|
982
|
+
O ? M += O : M += c3();
|
|
983
|
+
var T;
|
|
984
|
+
o === null ? T = "null" : P1(o) ? T = "array" : o !== void 0 && o.$$typeof === t ? (T = "<" + (F(o.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof o, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
|
|
985
|
+
}
|
|
986
|
+
var D = G3(o, l, u, S, y);
|
|
987
|
+
if (D == null)
|
|
988
|
+
return D;
|
|
989
|
+
if (m) {
|
|
990
990
|
var W = l.children;
|
|
991
991
|
if (W !== void 0)
|
|
992
992
|
if (f)
|
|
993
993
|
if (P1(W)) {
|
|
994
|
-
for (var
|
|
995
|
-
i3(W[
|
|
994
|
+
for (var n1 = 0; n1 < W.length; n1++)
|
|
995
|
+
i3(W[n1], o);
|
|
996
996
|
Object.freeze && Object.freeze(W);
|
|
997
997
|
} else
|
|
998
998
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
999
999
|
else
|
|
1000
1000
|
i3(W, o);
|
|
1001
1001
|
}
|
|
1002
|
-
if (
|
|
1003
|
-
var
|
|
1002
|
+
if (r1.call(l, "key")) {
|
|
1003
|
+
var N = F(o), V = Object.keys(l).filter(function(s2) {
|
|
1004
1004
|
return s2 !== "key";
|
|
1005
1005
|
}), L1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1006
|
-
if (!a3[
|
|
1006
|
+
if (!a3[N + L1]) {
|
|
1007
1007
|
var t2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1008
1008
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1009
1009
|
let props = %s;
|
|
1010
1010
|
<%s {...props} />
|
|
1011
1011
|
React keys must be passed directly to JSX without using spread:
|
|
1012
1012
|
let props = %s;
|
|
1013
|
-
<%s key={someKey} {...props} />`, L1,
|
|
1013
|
+
<%s key={someKey} {...props} />`, L1, N, t2, N), a3[N + L1] = !0;
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
|
-
return o === c ? J3(
|
|
1016
|
+
return o === c ? J3(D) : z3(D), D;
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
1019
|
function X3(o, l, u) {
|
|
@@ -1023,22 +1023,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1023
1023
|
return u3(o, l, u, !1);
|
|
1024
1024
|
}
|
|
1025
1025
|
var N3 = Q3, e2 = X3;
|
|
1026
|
-
|
|
1027
|
-
}()),
|
|
1026
|
+
a1.Fragment = c, a1.jsx = N3, a1.jsxs = e2;
|
|
1027
|
+
}()), a1;
|
|
1028
1028
|
}
|
|
1029
1029
|
var f3;
|
|
1030
1030
|
function E8() {
|
|
1031
|
-
return f3 || (f3 = 1, process.env.NODE_ENV === "production" ?
|
|
1031
|
+
return f3 || (f3 = 1, process.env.NODE_ENV === "production" ? Z1.exports = y8() : Z1.exports = R8()), Z1.exports;
|
|
1032
1032
|
}
|
|
1033
1033
|
var s = E8();
|
|
1034
|
-
const P8 = "_mwfit_ppa3l_1",
|
|
1034
|
+
const P8 = "_mwfit_ppa3l_1", T8 = {
|
|
1035
1035
|
mwfit: P8
|
|
1036
|
-
},
|
|
1037
|
-
const { reconnect: e } =
|
|
1036
|
+
}, D8 = () => {
|
|
1037
|
+
const { reconnect: e } = C(), t = S3(), n = h8(), c = g8();
|
|
1038
1038
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
|
|
1039
1039
|
"div",
|
|
1040
1040
|
{
|
|
1041
|
-
className: `disconnected-message ${
|
|
1041
|
+
className: `disconnected-message ${T8.mwfit} mx-auto text-center`,
|
|
1042
1042
|
children: [
|
|
1043
1043
|
t === void 0 ? /* @__PURE__ */ s.jsx("h1", { children: "Connecting..." }) : /* @__PURE__ */ s.jsx("h1", { children: "Disconnected" }),
|
|
1044
1044
|
n && /* @__PURE__ */ s.jsx("h5", { children: n }),
|
|
@@ -1056,10 +1056,10 @@ const P8 = "_mwfit_ppa3l_1", D8 = {
|
|
|
1056
1056
|
};
|
|
1057
1057
|
class _8 {
|
|
1058
1058
|
constructor() {
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1059
|
+
G(this, "uuid", "current-uuid");
|
|
1060
|
+
G(this, "roomKey", "current-room-key");
|
|
1061
|
+
G(this, "code", "current-code");
|
|
1062
|
+
G(this, "expiry", "current-uuid-expires");
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
1065
|
const p3 = new _8(), y3 = v2({
|
|
@@ -1076,43 +1076,43 @@ function $8(e, t) {
|
|
|
1076
1076
|
sessionStorage.setItem(e, t);
|
|
1077
1077
|
}
|
|
1078
1078
|
const A8 = ({ children: e }) => {
|
|
1079
|
-
const [t, n] = K(), c = S3(), r = s8(), i = n8(), d = I8(), a = Z2(), g = o8(), x = c8(), v = r8(), I =
|
|
1080
|
-
async (
|
|
1079
|
+
const [t, n] = K(), c = S3(), r = s8(), i = n8(), d = I8(), a = Z2(), g = o8(), x = c8(), v = r8(), I = d1(null), [L, H] = K(), U = d1({}), X = l1(
|
|
1080
|
+
async (P) => {
|
|
1081
1081
|
try {
|
|
1082
|
-
const
|
|
1083
|
-
`${
|
|
1082
|
+
const j = await V1.get(
|
|
1083
|
+
`${P}/ui/joinroom?token=${t}`
|
|
1084
1084
|
);
|
|
1085
|
-
return
|
|
1086
|
-
} catch (
|
|
1087
|
-
return console.log(
|
|
1085
|
+
return j.status === 200 && j.data ? (b.dispatch(z.setRoomData(j.data)), !0) : !1;
|
|
1086
|
+
} catch (j) {
|
|
1087
|
+
return console.log(j), v ? !0 : j instanceof r2 && j.response && j.response.status === 498 ? (console.error("Invalid token. Unable to join room"), b.dispatch(
|
|
1088
1088
|
k.setErrorMessage(
|
|
1089
1089
|
`Token ${t} is invalid. Unable to join room`
|
|
1090
1090
|
)
|
|
1091
|
-
), !1) : (console.error("Error getting room data",
|
|
1091
|
+
), !1) : (console.error("Error getting room data", j), j instanceof Error ? b.dispatch(k.setErrorMessage(j.message)) : b.dispatch(k.setErrorMessage("Error getting room data")), !1);
|
|
1092
1092
|
}
|
|
1093
1093
|
},
|
|
1094
1094
|
[t, v]
|
|
1095
|
-
),
|
|
1096
|
-
const
|
|
1097
|
-
window.location.href = x ? `${
|
|
1098
|
-
}, [a.gatewayAppPath, r, g, x]), $ =
|
|
1099
|
-
(
|
|
1100
|
-
I.current && c && I.current.send(JSON.stringify({ type:
|
|
1095
|
+
), c1 = l1(() => {
|
|
1096
|
+
const P = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
|
|
1097
|
+
window.location.href = x ? `${P}&Code=${x}` : P;
|
|
1098
|
+
}, [a.gatewayAppPath, r, g, x]), $ = l1(
|
|
1099
|
+
(P, j) => {
|
|
1100
|
+
I.current && c && I.current.send(JSON.stringify({ type: P, clientId: i, content: j }));
|
|
1101
1101
|
},
|
|
1102
1102
|
[c, i]
|
|
1103
|
-
), A = (
|
|
1104
|
-
$(
|
|
1105
|
-
},
|
|
1106
|
-
(
|
|
1107
|
-
U.current[
|
|
1103
|
+
), A = (P, j) => {
|
|
1104
|
+
$(P, { value: j });
|
|
1105
|
+
}, b1 = l1(
|
|
1106
|
+
(P, j, h1) => {
|
|
1107
|
+
U.current[P] || (U.current[P] = {}), U.current[P][j] = h1, console.log("event handler added", P, j);
|
|
1108
1108
|
},
|
|
1109
1109
|
[]
|
|
1110
|
-
),
|
|
1111
|
-
U.current[
|
|
1110
|
+
), I1 = l1((P, j) => {
|
|
1111
|
+
U.current[P] && (delete U.current[P][j], console.log("event handler removed", P, j));
|
|
1112
1112
|
}, []);
|
|
1113
|
-
|
|
1114
|
-
let
|
|
1115
|
-
|
|
1113
|
+
o1(() => {
|
|
1114
|
+
let j = new URLSearchParams(window.location.search).get("token");
|
|
1115
|
+
j ? (console.log("saving token: ", j), $8(p3.uuid, j)) : (j = L8(p3.uuid), console.log("loading token: ", j)), n(j), d();
|
|
1116
1116
|
}, []), console.log(
|
|
1117
1117
|
"connection dependencies",
|
|
1118
1118
|
a.apiPath,
|
|
@@ -1120,48 +1120,58 @@ const A8 = ({ children: e }) => {
|
|
|
1120
1120
|
t,
|
|
1121
1121
|
L,
|
|
1122
1122
|
v
|
|
1123
|
-
)
|
|
1124
|
-
|
|
1123
|
+
);
|
|
1124
|
+
function t1() {
|
|
1125
|
+
b.dispatch(k.setShowReconnect(!0)), b.dispatch(z.setWebsocketIsConnected(!1)), b.dispatch(M1.clearDevices()), b.dispatch(m1.clearRooms()), b.dispatch(k.clearAllModals()), b.dispatch(k.clearSyncState());
|
|
1126
|
+
}
|
|
1127
|
+
return o1(() => {
|
|
1128
|
+
console.log("🔍 useEffect triggered by dependency change:", {
|
|
1129
|
+
apiPath: a.apiPath,
|
|
1130
|
+
token: (t == null ? void 0 : t.substring(0, 10)) + "...",
|
|
1131
|
+
waitingToReconnect: L,
|
|
1132
|
+
serverIsRunningOnProcessorHardware: v
|
|
1133
|
+
});
|
|
1134
|
+
async function P() {
|
|
1125
1135
|
if (console.log("Attempting to join websocket..."), !a.apiPath || L || !t || !await X(a.apiPath)) return;
|
|
1126
1136
|
if (I.current) {
|
|
1127
1137
|
console.log("websocket exists");
|
|
1128
1138
|
return;
|
|
1129
1139
|
}
|
|
1130
1140
|
console.log("connecting to websocket");
|
|
1131
|
-
const
|
|
1132
|
-
I.current =
|
|
1133
|
-
console.log("connected", B.type, B.target),
|
|
1134
|
-
},
|
|
1141
|
+
const g1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, J = new WebSocket(g1);
|
|
1142
|
+
I.current = J, J.onopen = (B) => {
|
|
1143
|
+
console.log("connected", B.type, B.target), b.dispatch(z.setWebsocketIsConnected(!0));
|
|
1144
|
+
}, J.onerror = (B) => {
|
|
1135
1145
|
console.error("Websocket error", B);
|
|
1136
|
-
},
|
|
1146
|
+
}, J.onclose = (B) => {
|
|
1137
1147
|
if (console.log("disconnected: ", B.reason, B.code), B.code === 4100) {
|
|
1138
|
-
console.log("WebSocket closed by client (useEffect cleanup)."),
|
|
1148
|
+
console.log("WebSocket closed by client (useEffect cleanup)."), t1();
|
|
1139
1149
|
return;
|
|
1140
1150
|
}
|
|
1141
1151
|
if (H(!0), B.code === 4e3) {
|
|
1142
|
-
console.log("user code changed"),
|
|
1143
|
-
|
|
1144
|
-
),
|
|
1152
|
+
console.log("user code changed"), b.dispatch(
|
|
1153
|
+
z.setUserCode({ userCode: "", qrUrl: "" })
|
|
1154
|
+
), b.dispatch(
|
|
1145
1155
|
k.setErrorMessage(
|
|
1146
1156
|
"User code changed. Click reconnect to enter the new code"
|
|
1147
1157
|
)
|
|
1148
|
-
),
|
|
1158
|
+
), t1();
|
|
1149
1159
|
return;
|
|
1150
1160
|
}
|
|
1151
1161
|
if (B.code === 4001 && !v) {
|
|
1152
|
-
console.log("processor disconnected"),
|
|
1162
|
+
console.log("processor disconnected"), b.dispatch(
|
|
1153
1163
|
k.setErrorMessage(
|
|
1154
1164
|
"Processor has disconnected. Click Reconnect"
|
|
1155
1165
|
)
|
|
1156
|
-
),
|
|
1166
|
+
), t1();
|
|
1157
1167
|
return;
|
|
1158
1168
|
}
|
|
1159
1169
|
if (B.code === 4002) {
|
|
1160
|
-
console.log("room combination changed"),
|
|
1170
|
+
console.log("room combination changed"), b.dispatch(
|
|
1161
1171
|
k.setErrorMessage(
|
|
1162
1172
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
1163
1173
|
)
|
|
1164
|
-
),
|
|
1174
|
+
), t1();
|
|
1165
1175
|
return;
|
|
1166
1176
|
}
|
|
1167
1177
|
if (I.current)
|
|
@@ -1170,69 +1180,63 @@ const A8 = ({ children: e }) => {
|
|
|
1170
1180
|
console.log("WebSocket closed by client.");
|
|
1171
1181
|
return;
|
|
1172
1182
|
}
|
|
1173
|
-
console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"),
|
|
1174
|
-
},
|
|
1183
|
+
console.log("websocket waitingToReconnect", L), !L && (console.log("websocket clearing state on disconnect"), b.dispatch(z.setWebsocketIsConnected(!1)), b.dispatch(M1.clearDevices()), b.dispatch(m1.clearRooms()), b.dispatch(k.clearAllModals()), b.dispatch(k.clearSyncState()), setTimeout(() => H(void 0), 5e3));
|
|
1184
|
+
}, J.onmessage = (B) => {
|
|
1175
1185
|
try {
|
|
1176
|
-
const
|
|
1177
|
-
if (console.log(
|
|
1178
|
-
|
|
1186
|
+
const R = JSON.parse(B.data);
|
|
1187
|
+
if (console.log(R), R.type === "close") {
|
|
1188
|
+
J.close(4001, R.content);
|
|
1179
1189
|
return;
|
|
1180
1190
|
}
|
|
1181
|
-
if (
|
|
1182
|
-
switch (
|
|
1191
|
+
if (R.type.startsWith("/system/"))
|
|
1192
|
+
switch (R.type) {
|
|
1183
1193
|
case "/system/touchpanelKey":
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1194
|
+
b.dispatch(
|
|
1195
|
+
z.setTouchpanelKey(
|
|
1196
|
+
R.content
|
|
1187
1197
|
)
|
|
1188
1198
|
);
|
|
1189
1199
|
break;
|
|
1190
1200
|
case "/system/roomKey": {
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1201
|
+
b.dispatch(m1.clearRooms()), b.dispatch(M1.clearDevices()), b.dispatch(k.clearSyncState()), b.dispatch(
|
|
1202
|
+
z.setCurrentRoomKey(
|
|
1203
|
+
R.content
|
|
1194
1204
|
)
|
|
1195
1205
|
);
|
|
1196
1206
|
break;
|
|
1197
1207
|
}
|
|
1198
1208
|
case "/system/userCodeChanged":
|
|
1199
|
-
|
|
1200
|
-
|
|
1209
|
+
b.dispatch(
|
|
1210
|
+
z.setUserCode(R.content)
|
|
1201
1211
|
);
|
|
1202
1212
|
break;
|
|
1203
1213
|
case "/system/roomCombinationChanged":
|
|
1204
1214
|
window.location.reload();
|
|
1205
1215
|
break;
|
|
1206
1216
|
default:
|
|
1207
|
-
console.log("unhandled system message",
|
|
1217
|
+
console.log("unhandled system message", R);
|
|
1208
1218
|
break;
|
|
1209
1219
|
}
|
|
1210
|
-
else if (
|
|
1211
|
-
console.log("event message received",
|
|
1212
|
-
const
|
|
1213
|
-
|
|
1220
|
+
else if (R.type.startsWith("/event/")) {
|
|
1221
|
+
console.log("event message received", R);
|
|
1222
|
+
const F = U.current[R.type];
|
|
1223
|
+
F || console.log("no handlers found for event type", R.type), F && Object.values(F).forEach((Y) => {
|
|
1214
1224
|
try {
|
|
1215
|
-
|
|
1216
|
-
} catch (
|
|
1217
|
-
console.error(
|
|
1225
|
+
Y(R);
|
|
1226
|
+
} catch (Q) {
|
|
1227
|
+
console.error(Q);
|
|
1218
1228
|
}
|
|
1219
1229
|
});
|
|
1220
|
-
} else
|
|
1221
|
-
} catch (
|
|
1222
|
-
console.error("websocket message handling error",
|
|
1230
|
+
} else R.type.startsWith("/room/") ? b.dispatch(m1.setRoomState(R)) : R.type.startsWith("/device/") && b.dispatch(M1.setDeviceState(R));
|
|
1231
|
+
} catch (R) {
|
|
1232
|
+
console.error("websocket message handling error", R);
|
|
1223
1233
|
}
|
|
1224
1234
|
};
|
|
1225
1235
|
}
|
|
1226
|
-
return
|
|
1236
|
+
return P(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
|
|
1227
1237
|
I.current && (console.log("closing websocket dev mode"), I.current.close(4100, "app running in dev mode"), I.current = null);
|
|
1228
1238
|
};
|
|
1229
|
-
}, [
|
|
1230
|
-
a.apiPath,
|
|
1231
|
-
X,
|
|
1232
|
-
t,
|
|
1233
|
-
L,
|
|
1234
|
-
v
|
|
1235
|
-
]), c1(() => {
|
|
1239
|
+
}, [a.apiPath, X, t, L]), o1(() => {
|
|
1236
1240
|
!r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
|
|
1237
1241
|
}, [r, i, c, $]), /* @__PURE__ */ s.jsx(
|
|
1238
1242
|
y3.Provider,
|
|
@@ -1240,15 +1244,15 @@ const A8 = ({ children: e }) => {
|
|
|
1240
1244
|
value: {
|
|
1241
1245
|
sendMessage: $,
|
|
1242
1246
|
sendSimpleMessage: A,
|
|
1243
|
-
addEventHandler:
|
|
1244
|
-
removeEventHandler:
|
|
1245
|
-
reconnect:
|
|
1247
|
+
addEventHandler: b1,
|
|
1248
|
+
removeEventHandler: I1,
|
|
1249
|
+
reconnect: c1
|
|
1246
1250
|
},
|
|
1247
|
-
children: c ? e : /* @__PURE__ */ s.jsx(
|
|
1251
|
+
children: c ? e : /* @__PURE__ */ s.jsx(D8, {})
|
|
1248
1252
|
}
|
|
1249
1253
|
);
|
|
1250
|
-
}, me = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store:
|
|
1251
|
-
function
|
|
1254
|
+
}, me = ({ children: e }) => /* @__PURE__ */ s.jsx(a2, { store: b, children: /* @__PURE__ */ s.jsx(A8, { children: e }) });
|
|
1255
|
+
function C() {
|
|
1252
1256
|
return h2(y3);
|
|
1253
1257
|
}
|
|
1254
1258
|
function B8({
|
|
@@ -1257,7 +1261,7 @@ function B8({
|
|
|
1257
1261
|
onHold: n,
|
|
1258
1262
|
holdTimeMs: c = 500
|
|
1259
1263
|
}) {
|
|
1260
|
-
const r =
|
|
1264
|
+
const r = d1(null), i = d1(!1);
|
|
1261
1265
|
function d() {
|
|
1262
1266
|
i.current = !0, e == null || e(), r.current = setTimeout(() => {
|
|
1263
1267
|
n == null || n(), r.current = null;
|
|
@@ -1276,7 +1280,7 @@ function B8({
|
|
|
1276
1280
|
};
|
|
1277
1281
|
}
|
|
1278
1282
|
function h(e, t) {
|
|
1279
|
-
const { sendMessage: c } =
|
|
1283
|
+
const { sendMessage: c } = C(), r = d1(null);
|
|
1280
1284
|
function i() {
|
|
1281
1285
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1282
1286
|
c(`${e}/${t}`, { value: "held" });
|
|
@@ -1288,7 +1292,7 @@ function h(e, t) {
|
|
|
1288
1292
|
return B8({ onPress: i, onRelease: d });
|
|
1289
1293
|
}
|
|
1290
1294
|
function R3(e, t) {
|
|
1291
|
-
const { sendMessage: n, sendSimpleMessage: c } =
|
|
1295
|
+
const { sendMessage: n, sendSimpleMessage: c } = C(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
|
|
1292
1296
|
return t ? {
|
|
1293
1297
|
volumeState: t,
|
|
1294
1298
|
volumeUp: r,
|
|
@@ -1300,7 +1304,7 @@ function R3(e, t) {
|
|
|
1300
1304
|
} : void 0;
|
|
1301
1305
|
}
|
|
1302
1306
|
function Ze(e, t) {
|
|
1303
|
-
const { sendMessage: n, sendSimpleMessage: c } =
|
|
1307
|
+
const { sendMessage: n, sendSimpleMessage: c } = C(), r = h(`${e}`, "volumeUp"), i = h(`${e}`, "volumeDown");
|
|
1304
1308
|
return t ? {
|
|
1305
1309
|
volumeState: t,
|
|
1306
1310
|
volumeUp: r,
|
|
@@ -1312,11 +1316,11 @@ function Ze(e, t) {
|
|
|
1312
1316
|
} : void 0;
|
|
1313
1317
|
}
|
|
1314
1318
|
function O8(e) {
|
|
1315
|
-
const t =
|
|
1319
|
+
const t = E(e), n = `/device/${e}`;
|
|
1316
1320
|
return R3(n, t == null ? void 0 : t.volume);
|
|
1317
1321
|
}
|
|
1318
1322
|
function E3(e) {
|
|
1319
|
-
const { sendMessage: t } =
|
|
1323
|
+
const { sendMessage: t } = C();
|
|
1320
1324
|
return { powerOn: () => {
|
|
1321
1325
|
t(`/device/${e}/powerOn`, null);
|
|
1322
1326
|
}, powerOff: () => {
|
|
@@ -1326,13 +1330,13 @@ function E3(e) {
|
|
|
1326
1330
|
} };
|
|
1327
1331
|
}
|
|
1328
1332
|
function k1(e) {
|
|
1329
|
-
const { sendMessage: t } =
|
|
1333
|
+
const { sendMessage: t } = C(), n = E(e);
|
|
1330
1334
|
return console.log("deviceState", n), n ? { itemsState: n, selectItem: (r) => {
|
|
1331
1335
|
t(`/device/${e}/${r}`, null);
|
|
1332
1336
|
} } : void 0;
|
|
1333
1337
|
}
|
|
1334
1338
|
function V8(e) {
|
|
1335
|
-
const { sendMessage: t } =
|
|
1339
|
+
const { sendMessage: t } = C(), n = E(e), c = () => {
|
|
1336
1340
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1337
1341
|
}, r = () => {
|
|
1338
1342
|
if ((n == null ? void 0 : n.levelControls) === void 0) return;
|
|
@@ -1343,7 +1347,7 @@ function V8(e) {
|
|
|
1343
1347
|
return n ? { levelControls: n.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1344
1348
|
}
|
|
1345
1349
|
function je(e) {
|
|
1346
|
-
const t =
|
|
1350
|
+
const t = E(e), n = E3(e), c = k1(e), r = k1(e), i = O8(e), d = V8(e);
|
|
1347
1351
|
if (t)
|
|
1348
1352
|
return {
|
|
1349
1353
|
avrState: t,
|
|
@@ -1355,7 +1359,7 @@ function je(e) {
|
|
|
1355
1359
|
};
|
|
1356
1360
|
}
|
|
1357
1361
|
function Se(e) {
|
|
1358
|
-
const { sendMessage: t } =
|
|
1362
|
+
const { sendMessage: t } = C(), n = `/device/${e}`, c = E(e), r = h(n, "cameraUp"), i = h(n, "cameraDown"), d = h(n, "cameraLeft"), a = h(n, "cameraRight"), g = h(n, "cameraZoomIn"), x = h(n, "cameraZoomOut"), v = (I) => t("/camera/recallPreset", I);
|
|
1359
1363
|
if (c)
|
|
1360
1364
|
return {
|
|
1361
1365
|
state: c,
|
|
@@ -1370,7 +1374,7 @@ function Se(e) {
|
|
|
1370
1374
|
}
|
|
1371
1375
|
const Ce = ({ className: e }) => {
|
|
1372
1376
|
const [t, n] = K();
|
|
1373
|
-
return
|
|
1377
|
+
return o1(() => {
|
|
1374
1378
|
setInterval(() => {
|
|
1375
1379
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1376
1380
|
n(c);
|
|
@@ -1381,7 +1385,7 @@ const Ce = ({ className: e }) => {
|
|
|
1381
1385
|
] });
|
|
1382
1386
|
};
|
|
1383
1387
|
function be(e) {
|
|
1384
|
-
const { sendMessage: t } =
|
|
1388
|
+
const { sendMessage: t } = C(), n = E(e), c = `/device/${e}`;
|
|
1385
1389
|
return n ? { state: n, recallPreset: (d, a) => {
|
|
1386
1390
|
t(`${c}/presets/recall`, { deviceKey: d, preset: a });
|
|
1387
1391
|
}, savePresets: (d) => {
|
|
@@ -1389,7 +1393,7 @@ function be(e) {
|
|
|
1389
1393
|
} } : void 0;
|
|
1390
1394
|
}
|
|
1391
1395
|
function Ie(e) {
|
|
1392
|
-
const t =
|
|
1396
|
+
const t = E(e);
|
|
1393
1397
|
if (t)
|
|
1394
1398
|
return { endpointState: t };
|
|
1395
1399
|
}
|
|
@@ -1402,23 +1406,23 @@ function Re(e) {
|
|
|
1402
1406
|
return { red: n, green: c, yellow: r, blue: i };
|
|
1403
1407
|
}
|
|
1404
1408
|
function Ee(e) {
|
|
1405
|
-
const t =
|
|
1409
|
+
const t = E(e);
|
|
1406
1410
|
if (t)
|
|
1407
1411
|
return {
|
|
1408
1412
|
communicationMonitorState: t
|
|
1409
1413
|
};
|
|
1410
1414
|
}
|
|
1411
1415
|
function Pe(e) {
|
|
1412
|
-
const t =
|
|
1416
|
+
const t = E(e);
|
|
1413
1417
|
if (t)
|
|
1414
1418
|
return t.deviceInfo || void 0;
|
|
1415
1419
|
}
|
|
1416
|
-
function
|
|
1420
|
+
function Te(e) {
|
|
1417
1421
|
const t = `/device/${e}`, n = h(t, "up"), c = h(t, "down"), r = h(t, "left"), i = h(t, "right"), d = h(t, "select"), a = h(t, "menu"), g = h(t, "exit");
|
|
1418
1422
|
return { up: n, down: c, left: r, right: i, select: d, menu: a, exit: g };
|
|
1419
1423
|
}
|
|
1420
|
-
function
|
|
1421
|
-
const { sendMessage: t } =
|
|
1424
|
+
function De(e) {
|
|
1425
|
+
const { sendMessage: t } = C();
|
|
1422
1426
|
return { recallPreset: (c) => {
|
|
1423
1427
|
t(
|
|
1424
1428
|
`/device/${e}/recallPreset`,
|
|
@@ -1431,7 +1435,7 @@ function _e(e) {
|
|
|
1431
1435
|
return { dvrList: n, record: c };
|
|
1432
1436
|
}
|
|
1433
1437
|
function Le(e) {
|
|
1434
|
-
const { sendMessage: t } =
|
|
1438
|
+
const { sendMessage: t } = C(), n = E(e);
|
|
1435
1439
|
return n ? { roomCombinerState: n, setAutoMode: () => {
|
|
1436
1440
|
t(`/device/${e}/setAutoMode`, null);
|
|
1437
1441
|
}, setManualMode: () => {
|
|
@@ -1445,7 +1449,7 @@ function Le(e) {
|
|
|
1445
1449
|
} } : void 0;
|
|
1446
1450
|
}
|
|
1447
1451
|
function $e(e) {
|
|
1448
|
-
const { sendMessage: t } =
|
|
1452
|
+
const { sendMessage: t } = C(), n = `/device/${e}`, c = E(e);
|
|
1449
1453
|
return c ? {
|
|
1450
1454
|
state: c,
|
|
1451
1455
|
selectCamera: (i) => {
|
|
@@ -1454,12 +1458,12 @@ function $e(e) {
|
|
|
1454
1458
|
} : void 0;
|
|
1455
1459
|
}
|
|
1456
1460
|
function Ae(e) {
|
|
1457
|
-
const t =
|
|
1461
|
+
const t = E(e);
|
|
1458
1462
|
if (t)
|
|
1459
1463
|
return { state: t };
|
|
1460
1464
|
}
|
|
1461
1465
|
function Be(e) {
|
|
1462
|
-
const { sendMessage: t, sendSimpleMessage: n } =
|
|
1466
|
+
const { sendMessage: t, sendSimpleMessage: n } = C(), c = E(e), r = K2(e), i = c || r;
|
|
1463
1467
|
return i ? {
|
|
1464
1468
|
levelState: i,
|
|
1465
1469
|
setLevel: (v, I) => n(`${v}/level`, I),
|
|
@@ -1469,19 +1473,19 @@ function Be(e) {
|
|
|
1469
1473
|
} : void 0;
|
|
1470
1474
|
}
|
|
1471
1475
|
function Oe(e) {
|
|
1472
|
-
const { sendMessage: t } =
|
|
1476
|
+
const { sendMessage: t } = C(), n = E(e);
|
|
1473
1477
|
return n ? { lightingState: n, selectScene: (r) => {
|
|
1474
1478
|
t(`/device/${e}/selectScene`, r);
|
|
1475
1479
|
} } : void 0;
|
|
1476
1480
|
}
|
|
1477
1481
|
function Ve(e) {
|
|
1478
|
-
const { sendMessage: t } =
|
|
1482
|
+
const { sendMessage: t } = C(), n = E(e);
|
|
1479
1483
|
return n ? { matrixRoutingState: n, setRoute: (r) => {
|
|
1480
1484
|
t(`/device/${e}/route`, r);
|
|
1481
1485
|
} } : void 0;
|
|
1482
1486
|
}
|
|
1483
1487
|
function ke(e) {
|
|
1484
|
-
const { sendMessage: t } =
|
|
1488
|
+
const { sendMessage: t } = C();
|
|
1485
1489
|
return { closeApp: () => {
|
|
1486
1490
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1487
1491
|
} };
|
|
@@ -1503,35 +1507,35 @@ function Ue(e) {
|
|
|
1503
1507
|
keypadAccessoryButton2: H
|
|
1504
1508
|
};
|
|
1505
1509
|
}
|
|
1506
|
-
function
|
|
1507
|
-
const { sendMessage: t } =
|
|
1510
|
+
function Fe(e) {
|
|
1511
|
+
const { sendMessage: t } = C(), n = E(e);
|
|
1508
1512
|
return n ? { projectorScreenLiftControlState: n, raise: () => {
|
|
1509
1513
|
t(`/device/${e}/raise`, null);
|
|
1510
1514
|
}, lower: () => {
|
|
1511
1515
|
t(`/device/${e}/lower`, null);
|
|
1512
1516
|
} } : void 0;
|
|
1513
1517
|
}
|
|
1514
|
-
function
|
|
1515
|
-
const { sendMessage: t } =
|
|
1518
|
+
function We(e) {
|
|
1519
|
+
const { sendMessage: t } = C(), n = C1(e);
|
|
1516
1520
|
return n ? { roomEventScheduleState: n, save: (r) => {
|
|
1517
1521
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1518
1522
|
} } : void 0;
|
|
1519
1523
|
}
|
|
1520
1524
|
function He(e) {
|
|
1521
|
-
const { sendMessage: t } =
|
|
1525
|
+
const { sendMessage: t } = C();
|
|
1522
1526
|
return { runDefaultPresentRoute: () => {
|
|
1523
1527
|
t(`/room/${e}/defaultsource`, {});
|
|
1524
1528
|
} };
|
|
1525
1529
|
}
|
|
1526
1530
|
function Ke(e) {
|
|
1527
|
-
const { sendMessage: t } =
|
|
1531
|
+
const { sendMessage: t } = C();
|
|
1528
1532
|
return { runDirectRoute: (c) => {
|
|
1529
1533
|
t(`/room/${e}/directRoute`, c);
|
|
1530
1534
|
} };
|
|
1531
1535
|
}
|
|
1532
1536
|
function Ge(e) {
|
|
1533
|
-
const { sendMessage: t } =
|
|
1534
|
-
return { routingState:
|
|
1537
|
+
const { sendMessage: t } = C();
|
|
1538
|
+
return { routingState: E(e), runRoute: (r) => {
|
|
1535
1539
|
t(`/room/${e}/source`, r);
|
|
1536
1540
|
} };
|
|
1537
1541
|
}
|
|
@@ -1540,7 +1544,7 @@ function qe(e) {
|
|
|
1540
1544
|
return { dvrList: n, replay: c };
|
|
1541
1545
|
}
|
|
1542
1546
|
function Ye(e) {
|
|
1543
|
-
const { sendMessage: t } =
|
|
1547
|
+
const { sendMessage: t } = C(), n = E(e);
|
|
1544
1548
|
return n ? { shadeState: n, shadeUp: () => {
|
|
1545
1549
|
t(`/device/${e}/shadeUp`, null);
|
|
1546
1550
|
}, shadeDown: () => {
|
|
@@ -1550,7 +1554,7 @@ function Ye(e) {
|
|
|
1550
1554
|
} } : void 0;
|
|
1551
1555
|
}
|
|
1552
1556
|
function ze(e) {
|
|
1553
|
-
const { sendMessage: t } =
|
|
1557
|
+
const { sendMessage: t } = C(), n = C1(e);
|
|
1554
1558
|
return n ? { shutdownPromptTimerState: n, setShutdownPromptSeconds: (a) => {
|
|
1555
1559
|
t(`/room/${e}/setShutdownPromptSeconds`, a);
|
|
1556
1560
|
}, shutdownStart: () => {
|
|
@@ -1562,7 +1566,7 @@ function ze(e) {
|
|
|
1562
1566
|
} } : void 0;
|
|
1563
1567
|
}
|
|
1564
1568
|
function Je(e) {
|
|
1565
|
-
const { sendMessage: t } =
|
|
1569
|
+
const { sendMessage: t } = C(), n = E(e);
|
|
1566
1570
|
return n ? { switchedOutputState: n, on: () => {
|
|
1567
1571
|
t(`/device/${e}/on`, null);
|
|
1568
1572
|
}, off: () => {
|
|
@@ -1570,7 +1574,7 @@ function Je(e) {
|
|
|
1570
1574
|
} } : void 0;
|
|
1571
1575
|
}
|
|
1572
1576
|
function Xe(e) {
|
|
1573
|
-
const { sendMessage: t } =
|
|
1577
|
+
const { sendMessage: t } = C(), n = C1(e);
|
|
1574
1578
|
return n ? { techPasswordState: n, validatePassword: (i) => {
|
|
1575
1579
|
t(`/room/${e}/validateTechPassword`, { password: i });
|
|
1576
1580
|
}, setPassword: (i, d) => {
|
|
@@ -1578,11 +1582,11 @@ function Xe(e) {
|
|
|
1578
1582
|
} } : void 0;
|
|
1579
1583
|
}
|
|
1580
1584
|
function Qe(e) {
|
|
1581
|
-
const { sendMessage: t } =
|
|
1585
|
+
const { sendMessage: t } = C(), n = E(e);
|
|
1582
1586
|
return n ? { state: n, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1583
1587
|
}
|
|
1584
1588
|
function Ne(e) {
|
|
1585
|
-
const { sendMessage: t } =
|
|
1589
|
+
const { sendMessage: t } = C(), n = E(e), c = (r) => {
|
|
1586
1590
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1587
1591
|
};
|
|
1588
1592
|
return {
|
|
@@ -1604,7 +1608,7 @@ function e5(e) {
|
|
|
1604
1608
|
};
|
|
1605
1609
|
}
|
|
1606
1610
|
function t5(e) {
|
|
1607
|
-
const t =
|
|
1611
|
+
const t = E(e), { sendMessage: n } = C();
|
|
1608
1612
|
return t ? {
|
|
1609
1613
|
touchpanelState: t,
|
|
1610
1614
|
appControl: { hideApp: () => {
|
|
@@ -1620,7 +1624,7 @@ function t5(e) {
|
|
|
1620
1624
|
} : void 0;
|
|
1621
1625
|
}
|
|
1622
1626
|
function s5(e) {
|
|
1623
|
-
const t =
|
|
1627
|
+
const t = E(e), n = E3(e), c = k1(e);
|
|
1624
1628
|
if (!t) return;
|
|
1625
1629
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1626
1630
|
return {
|
|
@@ -1633,8 +1637,8 @@ function s5(e) {
|
|
|
1633
1637
|
const n5 = ({
|
|
1634
1638
|
config: e
|
|
1635
1639
|
}) => {
|
|
1636
|
-
const { sendMessage: t } =
|
|
1637
|
-
|
|
1640
|
+
const { sendMessage: t } = C();
|
|
1641
|
+
o1(() => {
|
|
1638
1642
|
var c, r, i, d;
|
|
1639
1643
|
if (!e)
|
|
1640
1644
|
return;
|
|
@@ -1702,7 +1706,7 @@ function l5(e) {
|
|
|
1702
1706
|
}, f8(e)];
|
|
1703
1707
|
}
|
|
1704
1708
|
function i5() {
|
|
1705
|
-
const { sendMessage: e } =
|
|
1709
|
+
const { sendMessage: e } = C();
|
|
1706
1710
|
return {
|
|
1707
1711
|
reboot: () => {
|
|
1708
1712
|
e("/system/reboot", null);
|
|
@@ -1719,7 +1723,7 @@ function a5() {
|
|
|
1719
1723
|
const i = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1720
1724
|
c(i);
|
|
1721
1725
|
}
|
|
1722
|
-
return
|
|
1726
|
+
return o1(() => {
|
|
1723
1727
|
r();
|
|
1724
1728
|
const i = setInterval(() => {
|
|
1725
1729
|
r();
|
|
@@ -1750,11 +1754,11 @@ const u5 = () => {
|
|
|
1750
1754
|
),
|
|
1751
1755
|
e && /* @__PURE__ */ s.jsx("p", { children: r })
|
|
1752
1756
|
] });
|
|
1753
|
-
}, k8 = "_iconbtn_16qss_1", U8 = "_iconbtnvert_16qss_7",
|
|
1757
|
+
}, k8 = "_iconbtn_16qss_1", U8 = "_iconbtnvert_16qss_7", F8 = "_iconsm_16qss_18", $1 = {
|
|
1754
1758
|
iconbtn: k8,
|
|
1755
1759
|
iconbtnvert: U8,
|
|
1756
|
-
iconsm:
|
|
1757
|
-
},
|
|
1760
|
+
iconsm: F8
|
|
1761
|
+
}, W8 = ({
|
|
1758
1762
|
multiIcon: e,
|
|
1759
1763
|
otherContent: t = null,
|
|
1760
1764
|
vert: n = !1,
|
|
@@ -1769,7 +1773,7 @@ const u5 = () => {
|
|
|
1769
1773
|
onPointerLeave: I,
|
|
1770
1774
|
...L
|
|
1771
1775
|
}) => {
|
|
1772
|
-
const [H, U] = K(!1), X = !d && a ? g : "",
|
|
1776
|
+
const [H, U] = K(!1), X = !d && a ? g : "", c1 = !d && (H || a);
|
|
1773
1777
|
return /* @__PURE__ */ s.jsxs(
|
|
1774
1778
|
"button",
|
|
1775
1779
|
{
|
|
@@ -1791,7 +1795,7 @@ const u5 = () => {
|
|
|
1791
1795
|
e,
|
|
1792
1796
|
{
|
|
1793
1797
|
className: `${r || $1.iconsm}`,
|
|
1794
|
-
active:
|
|
1798
|
+
active: c1,
|
|
1795
1799
|
disabled: d
|
|
1796
1800
|
}
|
|
1797
1801
|
),
|
|
@@ -1799,7 +1803,7 @@ const u5 = () => {
|
|
|
1799
1803
|
]
|
|
1800
1804
|
}
|
|
1801
1805
|
);
|
|
1802
|
-
},
|
|
1806
|
+
}, Z = ({
|
|
1803
1807
|
ActiveImage: e,
|
|
1804
1808
|
DisabledImage: t,
|
|
1805
1809
|
EnabledImage: n,
|
|
@@ -1810,7 +1814,7 @@ const u5 = () => {
|
|
|
1810
1814
|
className: t = "",
|
|
1811
1815
|
disabled: n
|
|
1812
1816
|
}) => /* @__PURE__ */ s.jsx(
|
|
1813
|
-
|
|
1817
|
+
Z,
|
|
1814
1818
|
{
|
|
1815
1819
|
ActiveImage: /* @__PURE__ */ s.jsx(
|
|
1816
1820
|
"svg",
|
|
@@ -1862,7 +1866,7 @@ const u5 = () => {
|
|
|
1862
1866
|
className: t = "",
|
|
1863
1867
|
disabled: n
|
|
1864
1868
|
}) => /* @__PURE__ */ s.jsx(
|
|
1865
|
-
|
|
1869
|
+
Z,
|
|
1866
1870
|
{
|
|
1867
1871
|
ActiveImage: (
|
|
1868
1872
|
/* icon-ban-active.svg */
|
|
@@ -1911,7 +1915,7 @@ const u5 = () => {
|
|
|
1911
1915
|
className: t = "",
|
|
1912
1916
|
disabled: n
|
|
1913
1917
|
}) => /* @__PURE__ */ s.jsx(
|
|
1914
|
-
|
|
1918
|
+
Z,
|
|
1915
1919
|
{
|
|
1916
1920
|
ActiveImage: /* @__PURE__ */ s.jsx(
|
|
1917
1921
|
"svg",
|
|
@@ -1951,7 +1955,7 @@ const u5 = () => {
|
|
|
1951
1955
|
className: t = "",
|
|
1952
1956
|
disabled: n
|
|
1953
1957
|
}) => /* @__PURE__ */ s.jsx(
|
|
1954
|
-
|
|
1958
|
+
Z,
|
|
1955
1959
|
{
|
|
1956
1960
|
ActiveImage: (
|
|
1957
1961
|
/* icon-check-active.svg */
|
|
@@ -2001,7 +2005,7 @@ const u5 = () => {
|
|
|
2001
2005
|
className: t = "",
|
|
2002
2006
|
disabled: n
|
|
2003
2007
|
}) => /* @__PURE__ */ s.jsx(
|
|
2004
|
-
|
|
2008
|
+
Z,
|
|
2005
2009
|
{
|
|
2006
2010
|
ActiveImage: (
|
|
2007
2011
|
/* icon-controller-active.svg */
|
|
@@ -2068,7 +2072,7 @@ const u5 = () => {
|
|
|
2068
2072
|
className: t = "",
|
|
2069
2073
|
disabled: n
|
|
2070
2074
|
}) => /* @__PURE__ */ s.jsx(
|
|
2071
|
-
|
|
2075
|
+
Z,
|
|
2072
2076
|
{
|
|
2073
2077
|
ActiveImage: (
|
|
2074
2078
|
/* icon-down-active.svg */
|
|
@@ -2117,7 +2121,7 @@ const u5 = () => {
|
|
|
2117
2121
|
className: t = "",
|
|
2118
2122
|
disabled: n
|
|
2119
2123
|
}) => /* @__PURE__ */ s.jsx(
|
|
2120
|
-
|
|
2124
|
+
Z,
|
|
2121
2125
|
{
|
|
2122
2126
|
ActiveImage: (
|
|
2123
2127
|
/* icon-elipses-active.svg */
|
|
@@ -2166,7 +2170,7 @@ const u5 = () => {
|
|
|
2166
2170
|
className: t = "",
|
|
2167
2171
|
disabled: n
|
|
2168
2172
|
}) => /* @__PURE__ */ s.jsx(
|
|
2169
|
-
|
|
2173
|
+
Z,
|
|
2170
2174
|
{
|
|
2171
2175
|
ActiveImage: (
|
|
2172
2176
|
/* icon-flag-active.svg */
|
|
@@ -2215,7 +2219,7 @@ const u5 = () => {
|
|
|
2215
2219
|
className: t = "",
|
|
2216
2220
|
disabled: n
|
|
2217
2221
|
}) => /* @__PURE__ */ s.jsx(
|
|
2218
|
-
|
|
2222
|
+
Z,
|
|
2219
2223
|
{
|
|
2220
2224
|
ActiveImage: (
|
|
2221
2225
|
/* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
|
|
@@ -2264,7 +2268,7 @@ const u5 = () => {
|
|
|
2264
2268
|
className: t = "",
|
|
2265
2269
|
disabled: n
|
|
2266
2270
|
}) => /* @__PURE__ */ s.jsx(
|
|
2267
|
-
|
|
2271
|
+
Z,
|
|
2268
2272
|
{
|
|
2269
2273
|
ActiveImage: (
|
|
2270
2274
|
/* icon-glass-active.svg */
|
|
@@ -2314,7 +2318,7 @@ const u5 = () => {
|
|
|
2314
2318
|
className: t = "",
|
|
2315
2319
|
disabled: n
|
|
2316
2320
|
}) => /* @__PURE__ */ s.jsx(
|
|
2317
|
-
|
|
2321
|
+
Z,
|
|
2318
2322
|
{
|
|
2319
2323
|
ActiveImage: (
|
|
2320
2324
|
/* icon-hdmi-active.svg */
|
|
@@ -2381,7 +2385,7 @@ const u5 = () => {
|
|
|
2381
2385
|
className: t = "",
|
|
2382
2386
|
disabled: n
|
|
2383
2387
|
}) => /* @__PURE__ */ s.jsx(
|
|
2384
|
-
|
|
2388
|
+
Z,
|
|
2385
2389
|
{
|
|
2386
2390
|
ActiveImage: (
|
|
2387
2391
|
/* icon-laptop-active.svg */
|
|
@@ -2430,7 +2434,7 @@ const u5 = () => {
|
|
|
2430
2434
|
className: t = "",
|
|
2431
2435
|
disabled: n
|
|
2432
2436
|
}) => /* @__PURE__ */ s.jsx(
|
|
2433
|
-
|
|
2437
|
+
Z,
|
|
2434
2438
|
{
|
|
2435
2439
|
ActiveImage: (
|
|
2436
2440
|
/* icon-left-active.svg */
|
|
@@ -2479,7 +2483,7 @@ const u5 = () => {
|
|
|
2479
2483
|
className: t = "",
|
|
2480
2484
|
disabled: n
|
|
2481
2485
|
}) => /* @__PURE__ */ s.jsx(
|
|
2482
|
-
|
|
2486
|
+
Z,
|
|
2483
2487
|
{
|
|
2484
2488
|
ActiveImage: (
|
|
2485
2489
|
/* icon-light-active.svg */
|
|
@@ -2528,7 +2532,7 @@ const u5 = () => {
|
|
|
2528
2532
|
className: t = "",
|
|
2529
2533
|
disabled: n
|
|
2530
2534
|
}) => /* @__PURE__ */ s.jsx(
|
|
2531
|
-
|
|
2535
|
+
Z,
|
|
2532
2536
|
{
|
|
2533
2537
|
ActiveImage: (
|
|
2534
2538
|
/* icon-moon-active.svg */
|
|
@@ -2577,7 +2581,7 @@ const u5 = () => {
|
|
|
2577
2581
|
className: t = "",
|
|
2578
2582
|
disabled: n
|
|
2579
2583
|
}) => /* @__PURE__ */ s.jsx(
|
|
2580
|
-
|
|
2584
|
+
Z,
|
|
2581
2585
|
{
|
|
2582
2586
|
ActiveImage: (
|
|
2583
2587
|
/* icon-playstation-active.svg */
|
|
@@ -2599,7 +2603,7 @@ const u5 = () => {
|
|
|
2599
2603
|
className: t = "",
|
|
2600
2604
|
disabled: n
|
|
2601
2605
|
}) => /* @__PURE__ */ s.jsx(
|
|
2602
|
-
|
|
2606
|
+
Z,
|
|
2603
2607
|
{
|
|
2604
2608
|
ActiveImage: (
|
|
2605
2609
|
/* icon-podium-active.svg */
|
|
@@ -2648,7 +2652,7 @@ const u5 = () => {
|
|
|
2648
2652
|
className: t = "",
|
|
2649
2653
|
disabled: n
|
|
2650
2654
|
}) => /* @__PURE__ */ s.jsx(
|
|
2651
|
-
|
|
2655
|
+
Z,
|
|
2652
2656
|
{
|
|
2653
2657
|
ActiveImage: (
|
|
2654
2658
|
/* icon-power-active.svg */
|
|
@@ -2697,7 +2701,7 @@ const u5 = () => {
|
|
|
2697
2701
|
className: t = "",
|
|
2698
2702
|
disabled: n
|
|
2699
2703
|
}) => /* @__PURE__ */ s.jsx(
|
|
2700
|
-
|
|
2704
|
+
Z,
|
|
2701
2705
|
{
|
|
2702
2706
|
ActiveImage: (
|
|
2703
2707
|
/* icon-privacy-active.svg */
|
|
@@ -2746,7 +2750,7 @@ const u5 = () => {
|
|
|
2746
2750
|
className: t = "",
|
|
2747
2751
|
disabled: n
|
|
2748
2752
|
}) => /* @__PURE__ */ s.jsx(
|
|
2749
|
-
|
|
2753
|
+
Z,
|
|
2750
2754
|
{
|
|
2751
2755
|
ActiveImage: (
|
|
2752
2756
|
/* icon-question-active.svg */
|
|
@@ -2795,7 +2799,7 @@ const u5 = () => {
|
|
|
2795
2799
|
className: t = "",
|
|
2796
2800
|
disabled: n
|
|
2797
2801
|
}) => /* @__PURE__ */ s.jsx(
|
|
2798
|
-
|
|
2802
|
+
Z,
|
|
2799
2803
|
{
|
|
2800
2804
|
ActiveImage: (
|
|
2801
2805
|
/* icon-right-active.svg */
|
|
@@ -2845,7 +2849,7 @@ const u5 = () => {
|
|
|
2845
2849
|
className: t = "",
|
|
2846
2850
|
disabled: n
|
|
2847
2851
|
}) => /* @__PURE__ */ s.jsx(
|
|
2848
|
-
|
|
2852
|
+
Z,
|
|
2849
2853
|
{
|
|
2850
2854
|
ActiveImage: (
|
|
2851
2855
|
/* icon-roomPC-active.svg */
|
|
@@ -2912,7 +2916,7 @@ const u5 = () => {
|
|
|
2912
2916
|
className: t = "",
|
|
2913
2917
|
disabled: n
|
|
2914
2918
|
}) => /* @__PURE__ */ s.jsx(
|
|
2915
|
-
|
|
2919
|
+
Z,
|
|
2916
2920
|
{
|
|
2917
2921
|
ActiveImage: (
|
|
2918
2922
|
/* icon-shade-active.svg */
|
|
@@ -2961,7 +2965,7 @@ const u5 = () => {
|
|
|
2961
2965
|
className: t = "",
|
|
2962
2966
|
disabled: n
|
|
2963
2967
|
}) => /* @__PURE__ */ s.jsx(
|
|
2964
|
-
|
|
2968
|
+
Z,
|
|
2965
2969
|
{
|
|
2966
2970
|
ActiveImage: (
|
|
2967
2971
|
/* icon-sun-active.svg */
|
|
@@ -3012,7 +3016,7 @@ const u5 = () => {
|
|
|
3012
3016
|
className: t = "",
|
|
3013
3017
|
disabled: n
|
|
3014
3018
|
}) => /* @__PURE__ */ s.jsx(
|
|
3015
|
-
|
|
3019
|
+
Z,
|
|
3016
3020
|
{
|
|
3017
3021
|
ActiveImage: void 0,
|
|
3018
3022
|
DisabledImage: void 0,
|
|
@@ -3025,7 +3029,7 @@ const u5 = () => {
|
|
|
3025
3029
|
className: t = "",
|
|
3026
3030
|
disabled: n
|
|
3027
3031
|
}) => /* @__PURE__ */ s.jsx(
|
|
3028
|
-
|
|
3032
|
+
Z,
|
|
3029
3033
|
{
|
|
3030
3034
|
ActiveImage: (
|
|
3031
3035
|
/* icon-up-active.svg */
|
|
@@ -3074,7 +3078,7 @@ const u5 = () => {
|
|
|
3074
3078
|
className: t = "",
|
|
3075
3079
|
disabled: n
|
|
3076
3080
|
}) => /* @__PURE__ */ s.jsx(
|
|
3077
|
-
|
|
3081
|
+
Z,
|
|
3078
3082
|
{
|
|
3079
3083
|
ActiveImage: (
|
|
3080
3084
|
/* icon-volDown-active.svg */
|
|
@@ -3123,7 +3127,7 @@ const u5 = () => {
|
|
|
3123
3127
|
className: t = "",
|
|
3124
3128
|
disabled: n
|
|
3125
3129
|
}) => /* @__PURE__ */ s.jsx(
|
|
3126
|
-
|
|
3130
|
+
Z,
|
|
3127
3131
|
{
|
|
3128
3132
|
ActiveImage: (
|
|
3129
3133
|
/* icon-volMute-active.svg */
|
|
@@ -3172,7 +3176,7 @@ const u5 = () => {
|
|
|
3172
3176
|
className: t = "",
|
|
3173
3177
|
disabled: n
|
|
3174
3178
|
}) => /* @__PURE__ */ s.jsx(
|
|
3175
|
-
|
|
3179
|
+
Z,
|
|
3176
3180
|
{
|
|
3177
3181
|
ActiveImage: (
|
|
3178
3182
|
/* icon-volUp-active.svg */
|
|
@@ -3221,7 +3225,7 @@ const u5 = () => {
|
|
|
3221
3225
|
className: t = "",
|
|
3222
3226
|
disabled: n
|
|
3223
3227
|
}) => /* @__PURE__ */ s.jsx(
|
|
3224
|
-
|
|
3228
|
+
Z,
|
|
3225
3229
|
{
|
|
3226
3230
|
ActiveImage: (
|
|
3227
3231
|
/* icon-wireless-active.svg */
|
|
@@ -3270,7 +3274,7 @@ const u5 = () => {
|
|
|
3270
3274
|
className: t = "",
|
|
3271
3275
|
disabled: n
|
|
3272
3276
|
}) => /* @__PURE__ */ s.jsx(
|
|
3273
|
-
|
|
3277
|
+
Z,
|
|
3274
3278
|
{
|
|
3275
3279
|
ActiveImage: (
|
|
3276
3280
|
/* icon-x-active.svg */
|
|
@@ -3319,7 +3323,7 @@ const u5 = () => {
|
|
|
3319
3323
|
className: t = "",
|
|
3320
3324
|
disabled: n
|
|
3321
3325
|
}) => /* @__PURE__ */ s.jsx(
|
|
3322
|
-
|
|
3326
|
+
Z,
|
|
3323
3327
|
{
|
|
3324
3328
|
ActiveImage: (
|
|
3325
3329
|
/* icon-xbox-active.svg */
|
|
@@ -3368,7 +3372,7 @@ const u5 = () => {
|
|
|
3368
3372
|
className: t = "",
|
|
3369
3373
|
disabled: n
|
|
3370
3374
|
}) => /* @__PURE__ */ s.jsx(
|
|
3371
|
-
|
|
3375
|
+
Z,
|
|
3372
3376
|
{
|
|
3373
3377
|
ActiveImage: (
|
|
3374
3378
|
/* icon-mic-active.svg */
|
|
@@ -3452,30 +3456,30 @@ function v5({
|
|
|
3452
3456
|
...n
|
|
3453
3457
|
}) {
|
|
3454
3458
|
const c = t[e] ?? null;
|
|
3455
|
-
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(
|
|
3459
|
+
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ s.jsx(W8, { multiIcon: c, ...n });
|
|
3456
3460
|
}
|
|
3457
|
-
const S6 = "_grid_1cmpp_1", C6 = "_header_1cmpp_11", b6 = "_content_1cmpp_17", I6 = "_footer_1cmpp_23", y6 = "_volume_1cmpp_29",
|
|
3461
|
+
const S6 = "_grid_1cmpp_1", C6 = "_header_1cmpp_11", b6 = "_content_1cmpp_17", I6 = "_footer_1cmpp_23", y6 = "_volume_1cmpp_29", u1 = {
|
|
3458
3462
|
grid: S6,
|
|
3459
3463
|
header: C6,
|
|
3460
3464
|
content: b6,
|
|
3461
3465
|
footer: I6,
|
|
3462
3466
|
volume: y6
|
|
3463
|
-
}, h5 = ({ header: e, footer: t, content: n, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className:
|
|
3464
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3465
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3466
|
-
r && /* @__PURE__ */ s.jsx("div", { className:
|
|
3467
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3468
|
-
] }), R6 = "_grid_11w5q_1", E6 = "_header_11w5q_11", P6 = "_content_11w5q_17",
|
|
3467
|
+
}, h5 = ({ header: e, footer: t, content: n, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: u1.grid, children: [
|
|
3468
|
+
/* @__PURE__ */ s.jsx("div", { className: u1.header, children: e }),
|
|
3469
|
+
/* @__PURE__ */ s.jsx("div", { className: u1.content, children: n }),
|
|
3470
|
+
r && /* @__PURE__ */ s.jsx("div", { className: u1.volume, children: c }),
|
|
3471
|
+
/* @__PURE__ */ s.jsx("div", { className: u1.footer, children: t })
|
|
3472
|
+
] }), R6 = "_grid_11w5q_1", E6 = "_header_11w5q_11", P6 = "_content_11w5q_17", j1 = {
|
|
3469
3473
|
grid: R6,
|
|
3470
3474
|
header: E6,
|
|
3471
3475
|
content: P6
|
|
3472
|
-
}, g5 = ({ className: e, header: t, content: n, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${
|
|
3473
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3474
|
-
c && /* @__PURE__ */ s.jsx("div", { className:
|
|
3475
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3476
|
-
] }),
|
|
3477
|
-
grid:
|
|
3478
|
-
header:
|
|
3476
|
+
}, g5 = ({ className: e, header: t, content: n, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${j1.grid}`, children: [
|
|
3477
|
+
/* @__PURE__ */ s.jsx("div", { className: j1.header, children: t }),
|
|
3478
|
+
c && /* @__PURE__ */ s.jsx("div", { className: j1.leftNav, children: c }),
|
|
3479
|
+
/* @__PURE__ */ s.jsx("div", { className: j1.content, children: n })
|
|
3480
|
+
] }), T6 = "_grid_1uwfo_1", D6 = "_header_1uwfo_11", _6 = "_content_1uwfo_17", A1 = {
|
|
3481
|
+
grid: T6,
|
|
3482
|
+
header: D6,
|
|
3479
3483
|
content: _6
|
|
3480
3484
|
}, f5 = ({ className: e, header: t, content: n }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3481
3485
|
/* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
|
|
@@ -3483,9 +3487,9 @@ const S6 = "_grid_1cmpp_1", C6 = "_header_1cmpp_11", b6 = "_content_1cmpp_17", I
|
|
|
3483
3487
|
] });
|
|
3484
3488
|
class p5 {
|
|
3485
3489
|
constructor() {
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3490
|
+
G(this, "currentShareText");
|
|
3491
|
+
G(this, "enabled");
|
|
3492
|
+
G(this, "isSharing");
|
|
3489
3493
|
}
|
|
3490
3494
|
}
|
|
3491
3495
|
function w5() {
|
|
@@ -3494,8 +3498,8 @@ function w5() {
|
|
|
3494
3498
|
var L6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(L6 || {});
|
|
3495
3499
|
class x5 {
|
|
3496
3500
|
constructor(t, n) {
|
|
3497
|
-
|
|
3498
|
-
|
|
3501
|
+
G(this, "path");
|
|
3502
|
+
G(this, "handler");
|
|
3499
3503
|
this.path = t, this.handler = n;
|
|
3500
3504
|
}
|
|
3501
3505
|
}
|
|
@@ -3504,7 +3508,7 @@ export {
|
|
|
3504
3508
|
Ce as Clock,
|
|
3505
3509
|
L6 as DaysOfWeek,
|
|
3506
3510
|
u5 as ErrorBox,
|
|
3507
|
-
|
|
3511
|
+
W8 as IconButton,
|
|
3508
3512
|
H8 as IconMultiAlert,
|
|
3509
3513
|
K8 as IconMultiBan,
|
|
3510
3514
|
G8 as IconMultiCamera,
|
|
@@ -3541,20 +3545,20 @@ export {
|
|
|
3541
3545
|
h5 as MainLayout,
|
|
3542
3546
|
x5 as MessageHandler,
|
|
3543
3547
|
me as MobileControlProvider,
|
|
3544
|
-
|
|
3548
|
+
Z as MultiStateIconContainer,
|
|
3545
3549
|
v5 as NamedIconButton,
|
|
3546
3550
|
p5 as ShareState,
|
|
3547
3551
|
g5 as TechLayout,
|
|
3548
3552
|
f5 as TechPinLayout,
|
|
3549
3553
|
y3 as WebsocketContext,
|
|
3550
3554
|
M8 as appConfigActions,
|
|
3551
|
-
|
|
3555
|
+
M1 as devicesActions,
|
|
3552
3556
|
w5 as getBaseLocation,
|
|
3553
3557
|
V1 as httpClient,
|
|
3554
3558
|
j6 as iconsDictionary,
|
|
3555
3559
|
M5 as roomOffSourceKey,
|
|
3556
|
-
|
|
3557
|
-
|
|
3560
|
+
m1 as roomsActions,
|
|
3561
|
+
z as runtimeConfigActions,
|
|
3558
3562
|
j3 as selectAllDevices,
|
|
3559
3563
|
x2 as selectApiPath,
|
|
3560
3564
|
w2 as selectAppConfig,
|
|
@@ -3573,9 +3577,9 @@ export {
|
|
|
3573
3577
|
b2 as selectRoomByKey,
|
|
3574
3578
|
$2 as selectRoomCodecContentDestinationKey,
|
|
3575
3579
|
S2 as selectRoomConfiguration,
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3580
|
+
D2 as selectRoomDestinationList,
|
|
3581
|
+
T2 as selectRoomDestinations,
|
|
3582
|
+
W2 as selectRoomDisplayStates,
|
|
3579
3583
|
_2 as selectRoomEnvironmentalDevices,
|
|
3580
3584
|
A2 as selectRoomInCall,
|
|
3581
3585
|
O2 as selectRoomIsCoolingDown,
|
|
@@ -3598,8 +3602,8 @@ export {
|
|
|
3598
3602
|
N2 as selectTouchpanelKey,
|
|
3599
3603
|
J2 as selectUserCode,
|
|
3600
3604
|
G2 as selectWsIsConnected,
|
|
3601
|
-
|
|
3602
|
-
|
|
3605
|
+
F2 as selectZoomRoomControllerKey,
|
|
3606
|
+
b as store,
|
|
3603
3607
|
k as uiActions,
|
|
3604
3608
|
w8 as uiReducer,
|
|
3605
3609
|
U6 as useApiPath,
|
|
@@ -3619,7 +3623,7 @@ export {
|
|
|
3619
3623
|
H6 as useGetAllDevices,
|
|
3620
3624
|
G6 as useGetAllRooms,
|
|
3621
3625
|
we as useGetCurrentPopoverIdForGroup,
|
|
3622
|
-
|
|
3626
|
+
E as useGetDevice,
|
|
3623
3627
|
Ze as useGetIBasicVolumeWithFeedback,
|
|
3624
3628
|
q6 as useGetRoom,
|
|
3625
3629
|
ie as useGetRoomDisplayStates,
|
|
@@ -3628,9 +3632,9 @@ export {
|
|
|
3628
3632
|
ye as useIChannel,
|
|
3629
3633
|
Re as useIColor,
|
|
3630
3634
|
Ee as useICommunicationMonitor,
|
|
3631
|
-
|
|
3635
|
+
Te as useIDPad,
|
|
3632
3636
|
Pe as useIDeviceInfoMessenger,
|
|
3633
|
-
|
|
3637
|
+
De as useIDspPresets,
|
|
3634
3638
|
_e as useIDvr,
|
|
3635
3639
|
Le as useIEssentialsRoomCombiner,
|
|
3636
3640
|
$e as useIHasCameras,
|
|
@@ -3642,8 +3646,8 @@ export {
|
|
|
3642
3646
|
Ve as useIMatrixRouting,
|
|
3643
3647
|
ke as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3644
3648
|
Ue as useINumeric,
|
|
3645
|
-
|
|
3646
|
-
|
|
3649
|
+
Fe as useIProjectorScreenLiftControl,
|
|
3650
|
+
We as useIRoomEventSchedule,
|
|
3647
3651
|
He as useIRunDefaultPresentRoute,
|
|
3648
3652
|
Ke as useIRunDirectRouteAction,
|
|
3649
3653
|
Ge as useIRunRouteAction,
|
|
@@ -3658,10 +3662,10 @@ export {
|
|
|
3658
3662
|
I8 as useInitialize,
|
|
3659
3663
|
f8 as useIsSyncStateValuePresent,
|
|
3660
3664
|
ve as useIsTouchpanel,
|
|
3661
|
-
|
|
3665
|
+
F6 as useLogoPath,
|
|
3662
3666
|
t5 as useMobileControlTouchpanelController,
|
|
3663
3667
|
o5 as useOverflow,
|
|
3664
|
-
|
|
3668
|
+
W6 as usePartnerMetadata,
|
|
3665
3669
|
B8 as usePressHoldRelease,
|
|
3666
3670
|
re as useRoomAdvancedSharingActive,
|
|
3667
3671
|
J6 as useRoomAudioControlPointList,
|
|
@@ -3681,7 +3685,7 @@ export {
|
|
|
3681
3685
|
ee as useRoomProgramAudioDestinationKey,
|
|
3682
3686
|
le as useRoomShareState,
|
|
3683
3687
|
z6 as useRoomSourceList,
|
|
3684
|
-
|
|
3688
|
+
C1 as useRoomState,
|
|
3685
3689
|
H2 as useRoomVolume,
|
|
3686
3690
|
ue as useRuntimeInfo,
|
|
3687
3691
|
r5 as useScroll,
|
|
@@ -3699,6 +3703,6 @@ export {
|
|
|
3699
3703
|
de as useTouchpanelKey,
|
|
3700
3704
|
s5 as useTwoWayDisplayBase,
|
|
3701
3705
|
c8 as useUserCode,
|
|
3702
|
-
|
|
3706
|
+
C as useWebsocketContext,
|
|
3703
3707
|
S3 as useWsIsConnected
|
|
3704
3708
|
};
|