@pepperdash/mobile-control-react-app-core 1.20.0 → 1.20.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.
|
@@ -37,7 +37,7 @@ const d2 = {
|
|
|
37
37
|
const o = e.payload.type, r = o.slice(o.lastIndexOf("/") + 1);
|
|
38
38
|
if (!r)
|
|
39
39
|
return;
|
|
40
|
-
const c = e.payload.content,
|
|
40
|
+
const c = e.payload.content, a = t[r] ?? {}, i = a3.merge(a, c);
|
|
41
41
|
return t[r] = i, t;
|
|
42
42
|
},
|
|
43
43
|
clearDevices() {
|
|
@@ -54,7 +54,7 @@ const d2 = {
|
|
|
54
54
|
return;
|
|
55
55
|
const c = e.payload.content;
|
|
56
56
|
console.log(c);
|
|
57
|
-
const
|
|
57
|
+
const a = t[r] ?? {}, i = a3.merge(a, c);
|
|
58
58
|
return t[r] = i, console.log(t), t;
|
|
59
59
|
},
|
|
60
60
|
clearRooms() {
|
|
@@ -213,8 +213,8 @@ const d2 = {
|
|
|
213
213
|
}
|
|
214
214
|
), t6 = (t) => p(
|
|
215
215
|
(e) => {
|
|
216
|
-
var o, r, c,
|
|
217
|
-
return (r = (o = e.rooms[t]) == null ? void 0 : o.configuration) != null && r.destinationList.programAudio ? (i = (
|
|
216
|
+
var o, r, c, a, i, h, f, w;
|
|
217
|
+
return (r = (o = e.rooms[t]) == null ? void 0 : o.configuration) != null && r.destinationList.programAudio ? (i = (a = (c = e.rooms[t]) == null ? void 0 : c.configuration) == null ? void 0 : a.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((w = (f = (h = e.rooms[t]) == null ? void 0 : h.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : w.sinkKey) || "";
|
|
218
218
|
}
|
|
219
219
|
), s6 = (t) => p(
|
|
220
220
|
(e) => {
|
|
@@ -292,8 +292,8 @@ function T2() {
|
|
|
292
292
|
if (r.status == 200 && r.data) {
|
|
293
293
|
const c = r.data.apiPath;
|
|
294
294
|
t(h2.setAppConfig(r.data));
|
|
295
|
-
const
|
|
296
|
-
|
|
295
|
+
const a = await L1.get(`${c}/version`);
|
|
296
|
+
a.status == 200 && a.data && t(F.setRuntimeConfig(a.data));
|
|
297
297
|
}
|
|
298
298
|
} catch (e) {
|
|
299
299
|
console.error("Error getting config", e);
|
|
@@ -314,7 +314,7 @@ var P1 = { exports: {} }, l1 = {};
|
|
|
314
314
|
var c3;
|
|
315
315
|
function L2() {
|
|
316
316
|
return c3 || (c3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
317
|
-
var t = u3, e = Symbol.for("react.element"), o = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"),
|
|
317
|
+
var t = u3, e = Symbol.for("react.element"), o = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), h = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), U = Symbol.for("react.offscreen"), O = Symbol.iterator, z = "@@iterator";
|
|
318
318
|
function s1(n) {
|
|
319
319
|
if (n === null || typeof n != "object")
|
|
320
320
|
return null;
|
|
@@ -324,16 +324,16 @@ function L2() {
|
|
|
324
324
|
var P = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
325
325
|
function L(n) {
|
|
326
326
|
{
|
|
327
|
-
for (var l = arguments.length,
|
|
328
|
-
|
|
329
|
-
x1("error", n,
|
|
327
|
+
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
|
|
328
|
+
u[v - 1] = arguments[v];
|
|
329
|
+
x1("error", n, u);
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
function x1(n, l,
|
|
332
|
+
function x1(n, l, u) {
|
|
333
333
|
{
|
|
334
334
|
var v = P.ReactDebugCurrentFrame, C = v.getStackAddendum();
|
|
335
|
-
C !== "" && (l += "%s",
|
|
336
|
-
var b =
|
|
335
|
+
C !== "" && (l += "%s", u = u.concat([C]));
|
|
336
|
+
var b = u.map(function(M) {
|
|
337
337
|
return String(M);
|
|
338
338
|
});
|
|
339
339
|
b.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, b);
|
|
@@ -342,18 +342,18 @@ function L2() {
|
|
|
342
342
|
var M1 = !1, y = !1, j = !1, h1 = !1, m1 = !1, K;
|
|
343
343
|
K = Symbol.for("react.module.reference");
|
|
344
344
|
function A(n) {
|
|
345
|
-
return !!(typeof n == "string" || typeof n == "function" || n === r || n ===
|
|
345
|
+
return !!(typeof n == "string" || typeof n == "function" || n === r || n === a || m1 || n === c || n === w || n === d || h1 || n === U || M1 || y || j || typeof n == "object" && n !== null && (n.$$typeof === $ || n.$$typeof === I || n.$$typeof === i || n.$$typeof === h || n.$$typeof === f || // This needs to include all possible module reference object
|
|
346
346
|
// types supported by any Flight configuration anywhere since
|
|
347
347
|
// we don't know which Flight build this will end up being used
|
|
348
348
|
// with.
|
|
349
349
|
n.$$typeof === K || n.getModuleId !== void 0));
|
|
350
350
|
}
|
|
351
|
-
function R(n, l,
|
|
351
|
+
function R(n, l, u) {
|
|
352
352
|
var v = n.displayName;
|
|
353
353
|
if (v)
|
|
354
354
|
return v;
|
|
355
355
|
var C = l.displayName || l.name || "";
|
|
356
|
-
return C !== "" ?
|
|
356
|
+
return C !== "" ? u + "(" + C + ")" : u;
|
|
357
357
|
}
|
|
358
358
|
function J(n) {
|
|
359
359
|
return n.displayName || "Context";
|
|
@@ -370,7 +370,7 @@ function L2() {
|
|
|
370
370
|
return "Fragment";
|
|
371
371
|
case o:
|
|
372
372
|
return "Portal";
|
|
373
|
-
case
|
|
373
|
+
case a:
|
|
374
374
|
return "Profiler";
|
|
375
375
|
case c:
|
|
376
376
|
return "StrictMode";
|
|
@@ -385,8 +385,8 @@ function L2() {
|
|
|
385
385
|
var l = n;
|
|
386
386
|
return J(l) + ".Consumer";
|
|
387
387
|
case i:
|
|
388
|
-
var
|
|
389
|
-
return J(
|
|
388
|
+
var u = n;
|
|
389
|
+
return J(u._context) + ".Provider";
|
|
390
390
|
case f:
|
|
391
391
|
return R(n, n.render, "ForwardRef");
|
|
392
392
|
case I:
|
|
@@ -466,7 +466,7 @@ function L2() {
|
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
468
|
var Z1 = P.ReactCurrentDispatcher, j1;
|
|
469
|
-
function v1(n, l,
|
|
469
|
+
function v1(n, l, u) {
|
|
470
470
|
{
|
|
471
471
|
if (j1 === void 0)
|
|
472
472
|
try {
|
|
@@ -488,9 +488,9 @@ function L2() {
|
|
|
488
488
|
if (!n || C1)
|
|
489
489
|
return "";
|
|
490
490
|
{
|
|
491
|
-
var
|
|
492
|
-
if (
|
|
493
|
-
return
|
|
491
|
+
var u = g1.get(n);
|
|
492
|
+
if (u !== void 0)
|
|
493
|
+
return u;
|
|
494
494
|
}
|
|
495
495
|
var v;
|
|
496
496
|
C1 = !0;
|
|
@@ -555,14 +555,14 @@ function L2() {
|
|
|
555
555
|
var Q = n ? n.displayName || n.name : "", Y = Q ? v1(Q) : "";
|
|
556
556
|
return typeof n == "function" && g1.set(n, Y), Y;
|
|
557
557
|
}
|
|
558
|
-
function C3(n, l,
|
|
558
|
+
function C3(n, l, u) {
|
|
559
559
|
return H1(n, !1);
|
|
560
560
|
}
|
|
561
561
|
function S3(n) {
|
|
562
562
|
var l = n.prototype;
|
|
563
563
|
return !!(l && l.isReactComponent);
|
|
564
564
|
}
|
|
565
|
-
function f1(n, l,
|
|
565
|
+
function f1(n, l, u) {
|
|
566
566
|
if (n == null)
|
|
567
567
|
return "";
|
|
568
568
|
if (typeof n == "function")
|
|
@@ -580,11 +580,11 @@ function L2() {
|
|
|
580
580
|
case f:
|
|
581
581
|
return C3(n.render);
|
|
582
582
|
case I:
|
|
583
|
-
return f1(n.type, l,
|
|
583
|
+
return f1(n.type, l, u);
|
|
584
584
|
case $: {
|
|
585
585
|
var v = n, C = v._payload, b = v._init;
|
|
586
586
|
try {
|
|
587
|
-
return f1(b(C), l,
|
|
587
|
+
return f1(b(C), l, u);
|
|
588
588
|
} catch {
|
|
589
589
|
}
|
|
590
590
|
}
|
|
@@ -594,12 +594,12 @@ function L2() {
|
|
|
594
594
|
var n1 = Object.prototype.hasOwnProperty, K1 = {}, G1 = P.ReactDebugCurrentFrame;
|
|
595
595
|
function p1(n) {
|
|
596
596
|
if (n) {
|
|
597
|
-
var l = n._owner,
|
|
598
|
-
G1.setExtraStackFrame(
|
|
597
|
+
var l = n._owner, u = f1(n.type, n._source, l ? l.type : null);
|
|
598
|
+
G1.setExtraStackFrame(u);
|
|
599
599
|
} else
|
|
600
600
|
G1.setExtraStackFrame(null);
|
|
601
601
|
}
|
|
602
|
-
function b3(n, l,
|
|
602
|
+
function b3(n, l, u, v, C) {
|
|
603
603
|
{
|
|
604
604
|
var b = Function.call.bind(n1);
|
|
605
605
|
for (var M in n)
|
|
@@ -607,14 +607,14 @@ function L2() {
|
|
|
607
607
|
var x = void 0;
|
|
608
608
|
try {
|
|
609
609
|
if (typeof n[M] != "function") {
|
|
610
|
-
var D = Error((v || "React class") + ": " +
|
|
610
|
+
var D = Error((v || "React class") + ": " + u + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
611
611
|
throw D.name = "Invariant Violation", D;
|
|
612
612
|
}
|
|
613
|
-
x = n[M](l, M, v,
|
|
613
|
+
x = n[M](l, M, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
614
614
|
} catch (E) {
|
|
615
615
|
x = E;
|
|
616
616
|
}
|
|
617
|
-
x && !(x instanceof Error) && (p1(C), L("%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",
|
|
617
|
+
x && !(x instanceof Error) && (p1(C), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, M, typeof x), p1(null)), x instanceof Error && !(x.message in K1) && (K1[x.message] = !0, p1(C), L("Failed %s type: %s", u, x.message), p1(null));
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
}
|
|
@@ -624,8 +624,8 @@ function L2() {
|
|
|
624
624
|
}
|
|
625
625
|
function y3(n) {
|
|
626
626
|
{
|
|
627
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag,
|
|
628
|
-
return
|
|
627
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
628
|
+
return u;
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
function R3(n) {
|
|
@@ -667,40 +667,40 @@ function L2() {
|
|
|
667
667
|
}
|
|
668
668
|
function L3(n, l) {
|
|
669
669
|
if (typeof n.ref == "string" && r1.current && l && r1.current.stateNode !== l) {
|
|
670
|
-
var
|
|
671
|
-
b1[
|
|
670
|
+
var u = V(r1.current.type);
|
|
671
|
+
b1[u] || (L('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', V(r1.current.type), n.ref), b1[u] = !0);
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
function P3(n, l) {
|
|
675
675
|
{
|
|
676
|
-
var
|
|
676
|
+
var u = function() {
|
|
677
677
|
z1 || (z1 = !0, L("%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));
|
|
678
678
|
};
|
|
679
|
-
|
|
680
|
-
get:
|
|
679
|
+
u.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
680
|
+
get: u,
|
|
681
681
|
configurable: !0
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
685
|
function $3(n, l) {
|
|
686
686
|
{
|
|
687
|
-
var
|
|
687
|
+
var u = function() {
|
|
688
688
|
J1 || (J1 = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
689
689
|
};
|
|
690
|
-
|
|
691
|
-
get:
|
|
690
|
+
u.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
691
|
+
get: u,
|
|
692
692
|
configurable: !0
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
var D3 = function(n, l,
|
|
696
|
+
var D3 = function(n, l, u, v, C, b, M) {
|
|
697
697
|
var x = {
|
|
698
698
|
// This tag allows us to uniquely identify this as a React Element
|
|
699
699
|
$$typeof: e,
|
|
700
700
|
// Built-in properties that belong on the element
|
|
701
701
|
type: n,
|
|
702
702
|
key: l,
|
|
703
|
-
ref:
|
|
703
|
+
ref: u,
|
|
704
704
|
props: M,
|
|
705
705
|
// Record the component responsible for creating this element.
|
|
706
706
|
_owner: b
|
|
@@ -722,10 +722,10 @@ function L2() {
|
|
|
722
722
|
value: C
|
|
723
723
|
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
724
724
|
};
|
|
725
|
-
function A3(n, l,
|
|
725
|
+
function A3(n, l, u, v, C) {
|
|
726
726
|
{
|
|
727
727
|
var b, M = {}, x = null, D = null;
|
|
728
|
-
|
|
728
|
+
u !== void 0 && (Y1(u), x = "" + u), T3(l) && (Y1(l.key), x = "" + l.key), _3(l) && (D = l.ref, L3(l, C));
|
|
729
729
|
for (b in l)
|
|
730
730
|
n1.call(l, b) && !E3.hasOwnProperty(b) && (M[b] = l[b]);
|
|
731
731
|
if (n && n.defaultProps) {
|
|
@@ -743,8 +743,8 @@ function L2() {
|
|
|
743
743
|
var I1 = P.ReactCurrentOwner, X1 = P.ReactDebugCurrentFrame;
|
|
744
744
|
function X(n) {
|
|
745
745
|
if (n) {
|
|
746
|
-
var l = n._owner,
|
|
747
|
-
X1.setExtraStackFrame(
|
|
746
|
+
var l = n._owner, u = f1(n.type, n._source, l ? l.type : null);
|
|
747
|
+
X1.setExtraStackFrame(u);
|
|
748
748
|
} else
|
|
749
749
|
X1.setExtraStackFrame(null);
|
|
750
750
|
}
|
|
@@ -768,10 +768,10 @@ Check the render method of \`` + n + "`.";
|
|
|
768
768
|
function B3(n) {
|
|
769
769
|
{
|
|
770
770
|
if (n !== void 0) {
|
|
771
|
-
var l = n.fileName.replace(/^.*[\\\/]/, ""),
|
|
771
|
+
var l = n.fileName.replace(/^.*[\\\/]/, ""), u = n.lineNumber;
|
|
772
772
|
return `
|
|
773
773
|
|
|
774
|
-
Check your code at ` + l + ":" +
|
|
774
|
+
Check your code at ` + l + ":" + u + ".";
|
|
775
775
|
}
|
|
776
776
|
return "";
|
|
777
777
|
}
|
|
@@ -781,10 +781,10 @@ Check your code at ` + l + ":" + a + ".";
|
|
|
781
781
|
{
|
|
782
782
|
var l = Q1();
|
|
783
783
|
if (!l) {
|
|
784
|
-
var
|
|
785
|
-
|
|
784
|
+
var u = typeof n == "string" ? n : n.displayName || n.name;
|
|
785
|
+
u && (l = `
|
|
786
786
|
|
|
787
|
-
Check the top-level render call using <` +
|
|
787
|
+
Check the top-level render call using <` + u + ">.");
|
|
788
788
|
}
|
|
789
789
|
return l;
|
|
790
790
|
}
|
|
@@ -794,12 +794,12 @@ Check the top-level render call using <` + a + ">.");
|
|
|
794
794
|
if (!n._store || n._store.validated || n.key != null)
|
|
795
795
|
return;
|
|
796
796
|
n._store.validated = !0;
|
|
797
|
-
var
|
|
798
|
-
if (N1[
|
|
797
|
+
var u = O3(l);
|
|
798
|
+
if (N1[u])
|
|
799
799
|
return;
|
|
800
|
-
N1[
|
|
800
|
+
N1[u] = !0;
|
|
801
801
|
var v = "";
|
|
802
|
-
n && n._owner && n._owner !== I1.current && (v = " It was passed a child from " + V(n._owner.type) + "."), X(n), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
802
|
+
n && n._owner && n._owner !== I1.current && (v = " It was passed a child from " + V(n._owner.type) + "."), X(n), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), X(null);
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
805
|
function t3(n, l) {
|
|
@@ -807,8 +807,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
807
807
|
if (typeof n != "object")
|
|
808
808
|
return;
|
|
809
809
|
if (S1(n))
|
|
810
|
-
for (var
|
|
811
|
-
var v = n[
|
|
810
|
+
for (var u = 0; u < n.length; u++) {
|
|
811
|
+
var v = n[u];
|
|
812
812
|
R1(v) && e3(v, l);
|
|
813
813
|
}
|
|
814
814
|
else if (R1(n))
|
|
@@ -826,18 +826,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
826
826
|
var l = n.type;
|
|
827
827
|
if (l == null || typeof l == "string")
|
|
828
828
|
return;
|
|
829
|
-
var
|
|
829
|
+
var u;
|
|
830
830
|
if (typeof l == "function")
|
|
831
|
-
|
|
831
|
+
u = l.propTypes;
|
|
832
832
|
else if (typeof l == "object" && (l.$$typeof === f || // Note: Memo only checks outer props here.
|
|
833
833
|
// Inner props are checked in the reconciler.
|
|
834
834
|
l.$$typeof === I))
|
|
835
|
-
|
|
835
|
+
u = l.propTypes;
|
|
836
836
|
else
|
|
837
837
|
return;
|
|
838
|
-
if (
|
|
838
|
+
if (u) {
|
|
839
839
|
var v = V(l);
|
|
840
|
-
b3(
|
|
840
|
+
b3(u, n.props, "prop", v, n);
|
|
841
841
|
} else if (l.PropTypes !== void 0 && !y1) {
|
|
842
842
|
y1 = !0;
|
|
843
843
|
var C = V(l);
|
|
@@ -848,8 +848,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
848
848
|
}
|
|
849
849
|
function k3(n) {
|
|
850
850
|
{
|
|
851
|
-
for (var l = Object.keys(n.props),
|
|
852
|
-
var v = l[
|
|
851
|
+
for (var l = Object.keys(n.props), u = 0; u < l.length; u++) {
|
|
852
|
+
var v = l[u];
|
|
853
853
|
if (v !== "children" && v !== "key") {
|
|
854
854
|
X(n), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), X(null);
|
|
855
855
|
break;
|
|
@@ -859,7 +859,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
var s3 = {};
|
|
862
|
-
function o3(n, l,
|
|
862
|
+
function o3(n, l, u, v, C, b) {
|
|
863
863
|
{
|
|
864
864
|
var M = A(n);
|
|
865
865
|
if (!M) {
|
|
@@ -870,7 +870,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
870
870
|
var E;
|
|
871
871
|
n === null ? E = "null" : S1(n) ? E = "array" : n !== void 0 && n.$$typeof === e ? (E = "<" + (V(n.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : E = typeof n, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, x);
|
|
872
872
|
}
|
|
873
|
-
var T = A3(n, l,
|
|
873
|
+
var T = A3(n, l, u, C, b);
|
|
874
874
|
if (T == null)
|
|
875
875
|
return T;
|
|
876
876
|
if (M) {
|
|
@@ -903,11 +903,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
903
903
|
return n === r ? k3(T) : V3(T), T;
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
|
-
function U3(n, l,
|
|
907
|
-
return o3(n, l,
|
|
906
|
+
function U3(n, l, u) {
|
|
907
|
+
return o3(n, l, u, !0);
|
|
908
908
|
}
|
|
909
|
-
function F3(n, l,
|
|
910
|
-
return o3(n, l,
|
|
909
|
+
function F3(n, l, u) {
|
|
910
|
+
return o3(n, l, u, !1);
|
|
911
911
|
}
|
|
912
912
|
var W3 = F3, H3 = U3;
|
|
913
913
|
l1.Fragment = r, l1.jsx = W3, l1.jsxs = H3;
|
|
@@ -928,12 +928,12 @@ function P2() {
|
|
|
928
928
|
if (l3)
|
|
929
929
|
return i1;
|
|
930
930
|
l3 = 1;
|
|
931
|
-
var t = u3, e = Symbol.for("react.element"), o = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
931
|
+
var t = u3, e = Symbol.for("react.element"), o = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
932
932
|
function i(h, f, w) {
|
|
933
933
|
var d, I = {}, $ = null, U = null;
|
|
934
934
|
w !== void 0 && ($ = "" + w), f.key !== void 0 && ($ = "" + f.key), f.ref !== void 0 && (U = f.ref);
|
|
935
935
|
for (d in f)
|
|
936
|
-
r.call(f, d) && !
|
|
936
|
+
r.call(f, d) && !a.hasOwnProperty(d) && (I[d] = f[d]);
|
|
937
937
|
if (h && h.defaultProps)
|
|
938
938
|
for (d in f = h.defaultProps, f)
|
|
939
939
|
I[d] === void 0 && (I[d] = f[d]);
|
|
@@ -975,7 +975,7 @@ function V2(t, e) {
|
|
|
975
975
|
sessionStorage.setItem(t, e);
|
|
976
976
|
}
|
|
977
977
|
const k2 = ({ children: t }) => {
|
|
978
|
-
const [e, o] = W(), r = C2(), c = S2(),
|
|
978
|
+
const [e, o] = W(), r = C2(), c = S2(), a = b2(), i = T2(), h = a2(), f = I2(), w = y2(), d = R2(), I = u1(null), [$, U] = W(), O = u1({}), z = c1(
|
|
979
979
|
async (y) => {
|
|
980
980
|
try {
|
|
981
981
|
const j = await L1.get(`${y}/ui/joinroom?token=${e}`);
|
|
@@ -990,9 +990,9 @@ const k2 = ({ children: t }) => {
|
|
|
990
990
|
window.location.href = w ? `${y}&Code=${w}` : y;
|
|
991
991
|
}, [h.gatewayAppPath, c, f, w]), P = c1(
|
|
992
992
|
(y, j) => {
|
|
993
|
-
I.current && r && I.current.send(JSON.stringify({ type: y, clientId:
|
|
993
|
+
I.current && r && I.current.send(JSON.stringify({ type: y, clientId: a, content: j }));
|
|
994
994
|
},
|
|
995
|
-
[r,
|
|
995
|
+
[r, a]
|
|
996
996
|
), L = (y, j) => {
|
|
997
997
|
P(y, { value: j });
|
|
998
998
|
}, x1 = c1(
|
|
@@ -1095,8 +1095,8 @@ const k2 = ({ children: t }) => {
|
|
|
1095
1095
|
I.current && I.current.close(), I.current = null;
|
|
1096
1096
|
};
|
|
1097
1097
|
}, [h.apiPath, z, e, $, d]), t1(() => {
|
|
1098
|
-
!c || !r || (console.log("clientId: ",
|
|
1099
|
-
}, [c,
|
|
1098
|
+
!c || !r || (console.log("clientId: ", a), a && (console.log("requesting status from room: ", c), P(`/room/${c}/status`, null)));
|
|
1099
|
+
}, [c, a, r, P]), /* @__PURE__ */ s.jsx(
|
|
1100
1100
|
w3.Provider,
|
|
1101
1101
|
{
|
|
1102
1102
|
value: {
|
|
@@ -1119,17 +1119,17 @@ function U2({
|
|
|
1119
1119
|
onHold: o,
|
|
1120
1120
|
holdTimeMs: r = 500
|
|
1121
1121
|
}) {
|
|
1122
|
-
const c = u1(null),
|
|
1122
|
+
const c = u1(null), a = u1(!1);
|
|
1123
1123
|
function i() {
|
|
1124
|
-
|
|
1124
|
+
a.current = !0, t == null || t(), c.current = setTimeout(() => {
|
|
1125
1125
|
o == null || o(), c.current = null;
|
|
1126
1126
|
}, r);
|
|
1127
1127
|
}
|
|
1128
1128
|
function h() {
|
|
1129
|
-
|
|
1129
|
+
a.current = !1, e == null || e(), c.current && (clearTimeout(c.current), c.current = null);
|
|
1130
1130
|
}
|
|
1131
1131
|
function f() {
|
|
1132
|
-
|
|
1132
|
+
a.current && h();
|
|
1133
1133
|
}
|
|
1134
1134
|
return {
|
|
1135
1135
|
onPointerDown: i,
|
|
@@ -1139,7 +1139,7 @@ function U2({
|
|
|
1139
1139
|
}
|
|
1140
1140
|
function g(t, e) {
|
|
1141
1141
|
const { sendMessage: r } = S(), c = u1(null);
|
|
1142
|
-
function
|
|
1142
|
+
function a() {
|
|
1143
1143
|
r(`${t}/${e}`, { value: "pressed" }), c.current || (c.current = setInterval(() => {
|
|
1144
1144
|
r(`${t}/${e}`, { value: "held" });
|
|
1145
1145
|
}, 250));
|
|
@@ -1147,14 +1147,14 @@ function g(t, e) {
|
|
|
1147
1147
|
function i() {
|
|
1148
1148
|
c.current && (clearInterval(c.current), c.current = null), r(`${t}/${e}`, { value: "released" });
|
|
1149
1149
|
}
|
|
1150
|
-
return U2({ onPress:
|
|
1150
|
+
return U2({ onPress: a, onRelease: i });
|
|
1151
1151
|
}
|
|
1152
1152
|
function x3(t, e) {
|
|
1153
|
-
const { sendMessage: o, sendSimpleMessage: r } = S(), c = g(`${t}`, "volumeUp"),
|
|
1153
|
+
const { sendMessage: o, sendSimpleMessage: r } = S(), c = g(`${t}`, "volumeUp"), a = g(`${t}`, "volumeDown");
|
|
1154
1154
|
return e ? {
|
|
1155
1155
|
volumeState: e,
|
|
1156
1156
|
volumeUp: c,
|
|
1157
|
-
volumeDown:
|
|
1157
|
+
volumeDown: a,
|
|
1158
1158
|
setLevel: (d) => r(`${t}/level`, d),
|
|
1159
1159
|
muteToggle: () => o(`${t}/muteToggle`, null),
|
|
1160
1160
|
muteOn: () => o(`${t}/muteOn`, null),
|
|
@@ -1162,11 +1162,11 @@ function x3(t, e) {
|
|
|
1162
1162
|
} : void 0;
|
|
1163
1163
|
}
|
|
1164
1164
|
function Z6(t, e) {
|
|
1165
|
-
const { sendMessage: o, sendSimpleMessage: r } = S(), c = g(`${t}`, "volumeUp"),
|
|
1165
|
+
const { sendMessage: o, sendSimpleMessage: r } = S(), c = g(`${t}`, "volumeUp"), a = g(`${t}`, "volumeDown");
|
|
1166
1166
|
return e ? {
|
|
1167
1167
|
volumeState: e,
|
|
1168
1168
|
volumeUp: c,
|
|
1169
|
-
volumeDown:
|
|
1169
|
+
volumeDown: a,
|
|
1170
1170
|
setLevel: (d) => r(`${t}/level`, d),
|
|
1171
1171
|
muteToggle: () => o(`${t}/muteToggle`, null),
|
|
1172
1172
|
muteOn: () => o(`${t}/muteOn`, null),
|
|
@@ -1206,7 +1206,7 @@ function W2(t) {
|
|
|
1206
1206
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: r, getFullStatus: c } : void 0;
|
|
1207
1207
|
}
|
|
1208
1208
|
function j6(t) {
|
|
1209
|
-
const e = _(t), o = M3(t), r = $1(t), c = $1(t),
|
|
1209
|
+
const e = _(t), o = M3(t), r = $1(t), c = $1(t), a = F2(t), i = W2(t);
|
|
1210
1210
|
if (e)
|
|
1211
1211
|
return {
|
|
1212
1212
|
avrState: e,
|
|
@@ -1214,7 +1214,7 @@ function j6(t) {
|
|
|
1214
1214
|
inputControl: r,
|
|
1215
1215
|
surroundSoundModes: c,
|
|
1216
1216
|
surroundChannels: i,
|
|
1217
|
-
mainVolumeControl:
|
|
1217
|
+
mainVolumeControl: a
|
|
1218
1218
|
};
|
|
1219
1219
|
}
|
|
1220
1220
|
const C6 = ({ className: t }) => {
|
|
@@ -1243,12 +1243,12 @@ function b6(t) {
|
|
|
1243
1243
|
return { endpointState: e };
|
|
1244
1244
|
}
|
|
1245
1245
|
function I6(t) {
|
|
1246
|
-
const e = `/device/${t}`, o = g(e, "chanUp"), r = g(e, "chanDown"), c = g(e, "lastChan"),
|
|
1247
|
-
return { channelUp: o, channelDown: r, lastChannel: c, guide:
|
|
1246
|
+
const e = `/device/${t}`, o = g(e, "chanUp"), r = g(e, "chanDown"), c = g(e, "lastChan"), a = g(e, "guide"), i = g(e, "info"), h = g(e, "exit");
|
|
1247
|
+
return { channelUp: o, channelDown: r, lastChannel: c, guide: a, info: i, exit: h };
|
|
1248
1248
|
}
|
|
1249
1249
|
function y6(t) {
|
|
1250
|
-
const e = `/device/${t}`, o = g(e, "red"), r = g(e, "green"), c = g(e, "yellow"),
|
|
1251
|
-
return { red: o, green: r, yellow: c, blue:
|
|
1250
|
+
const e = `/device/${t}`, o = g(e, "red"), r = g(e, "green"), c = g(e, "yellow"), a = g(e, "blue");
|
|
1251
|
+
return { red: o, green: r, yellow: c, blue: a };
|
|
1252
1252
|
}
|
|
1253
1253
|
function R6(t) {
|
|
1254
1254
|
const e = _(t);
|
|
@@ -1263,8 +1263,8 @@ function E6(t) {
|
|
|
1263
1263
|
return e.deviceInfo || void 0;
|
|
1264
1264
|
}
|
|
1265
1265
|
function _6(t) {
|
|
1266
|
-
const e = `/device/${t}`, o = g(e, "up"), r = g(e, "down"), c = g(e, "left"),
|
|
1267
|
-
return { up: o, down: r, left: c, right:
|
|
1266
|
+
const e = `/device/${t}`, o = g(e, "up"), r = g(e, "down"), c = g(e, "left"), a = g(e, "right"), i = g(e, "select"), h = g(e, "menu"), f = g(e, "exit");
|
|
1267
|
+
return { up: o, down: r, left: c, right: a, select: i, menu: h, exit: f };
|
|
1268
1268
|
}
|
|
1269
1269
|
function T6(t) {
|
|
1270
1270
|
const { sendMessage: e } = S();
|
|
@@ -1296,9 +1296,9 @@ function $6(t) {
|
|
|
1296
1296
|
return { state: e };
|
|
1297
1297
|
}
|
|
1298
1298
|
function D6(t) {
|
|
1299
|
-
const { sendMessage: e, sendSimpleMessage: o } = S(), r = _(t), c = j2(t),
|
|
1300
|
-
return
|
|
1301
|
-
levelState:
|
|
1299
|
+
const { sendMessage: e, sendSimpleMessage: o } = S(), r = _(t), c = j2(t), a = r || c;
|
|
1300
|
+
return a ? {
|
|
1301
|
+
levelState: a,
|
|
1302
1302
|
setLevel: (d, I) => o(`${d}/level`, I),
|
|
1303
1303
|
muteToggle: (d) => e(`${d}/muteToggle`, null),
|
|
1304
1304
|
muteOn: (d) => e(`${d}/muteOn`, null),
|
|
@@ -1324,8 +1324,8 @@ function O6(t) {
|
|
|
1324
1324
|
} };
|
|
1325
1325
|
}
|
|
1326
1326
|
function V6(t) {
|
|
1327
|
-
const e = `/device/${t}`, o = g(e, "num0"), r = g(e, "num1"), c = g(e, "num2"),
|
|
1328
|
-
return { digit0: o, digit1: r, digit2: c, digit3:
|
|
1327
|
+
const e = `/device/${t}`, o = g(e, "num0"), r = g(e, "num1"), c = g(e, "num2"), a = g(e, "num3"), i = g(e, "num4"), h = g(e, "num5"), f = g(e, "num6"), w = g(e, "num7"), d = g(e, "num8"), I = g(e, "num9"), $ = g(e, "numDash"), U = g(e, "numEnter");
|
|
1328
|
+
return { digit0: o, digit1: r, digit2: c, digit3: a, digit4: i, digit5: h, digit6: f, digit7: w, digit8: d, digit9: I, keypadAccessoryButton1: $, keypadAccessoryButton2: U };
|
|
1329
1329
|
}
|
|
1330
1330
|
function k6(t) {
|
|
1331
1331
|
const { sendMessage: e } = S(), o = _(t);
|
|
@@ -1395,10 +1395,10 @@ function Y6(t) {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
function z6(t) {
|
|
1397
1397
|
const { sendMessage: e } = S(), o = D1(t);
|
|
1398
|
-
return o ? { techPasswordState: o, validatePassword: (
|
|
1399
|
-
e(`/room/${t}/validateTechPassword`, { password:
|
|
1400
|
-
}, setPassword: (
|
|
1401
|
-
e(`/room/${t}/setTechPassword`, { oldPassword:
|
|
1398
|
+
return o ? { techPasswordState: o, validatePassword: (a) => {
|
|
1399
|
+
e(`/room/${t}/validateTechPassword`, { password: a });
|
|
1400
|
+
}, setPassword: (a, i) => {
|
|
1401
|
+
e(`/room/${t}/setTechPassword`, { oldPassword: a, newPassword: i });
|
|
1402
1402
|
} } : void 0;
|
|
1403
1403
|
}
|
|
1404
1404
|
function J6(t) {
|
|
@@ -1415,8 +1415,8 @@ function X6(t) {
|
|
|
1415
1415
|
};
|
|
1416
1416
|
}
|
|
1417
1417
|
function Q6(t) {
|
|
1418
|
-
const e = `/device/${t}`, o = g(e, "play"), r = g(e, "pause"), c = g(e, "stop"),
|
|
1419
|
-
return { play: o, pause: r, stop: c, prevTrack:
|
|
1418
|
+
const e = `/device/${t}`, o = g(e, "play"), r = g(e, "pause"), c = g(e, "stop"), a = g(e, "prevTrack"), i = g(e, "nextTrack"), h = g(e, "rewind"), f = g(e, "ffwd"), w = g(e, "record");
|
|
1419
|
+
return { play: o, pause: r, stop: c, prevTrack: a, nextTrack: i, rewind: h, fastForward: f, record: w };
|
|
1420
1420
|
}
|
|
1421
1421
|
function N6(t) {
|
|
1422
1422
|
const e = _(t), { sendMessage: o } = S();
|
|
@@ -1438,18 +1438,18 @@ function ee(t) {
|
|
|
1438
1438
|
const e = _(t), o = M3(t), r = $1(t);
|
|
1439
1439
|
if (!e)
|
|
1440
1440
|
return;
|
|
1441
|
-
const c = (e.powerState || e.isWarming) && !e.isCooling,
|
|
1441
|
+
const c = (e.powerState || e.isWarming) && !e.isCooling, a = (!e.powerState || e.isCooling) && !e.isWarming;
|
|
1442
1442
|
return {
|
|
1443
1443
|
displayState: e,
|
|
1444
1444
|
powerControl: o,
|
|
1445
1445
|
inputControl: r,
|
|
1446
|
-
powerFb: { powerOnFb: c, powerOffFb:
|
|
1446
|
+
powerFb: { powerOnFb: c, powerOffFb: a }
|
|
1447
1447
|
};
|
|
1448
1448
|
}
|
|
1449
1449
|
const te = ({ config: t }) => {
|
|
1450
1450
|
const { sendMessage: e } = S();
|
|
1451
1451
|
t1(() => {
|
|
1452
|
-
var r, c,
|
|
1452
|
+
var r, c, a;
|
|
1453
1453
|
if (!t)
|
|
1454
1454
|
return;
|
|
1455
1455
|
const o = [];
|
|
@@ -1463,7 +1463,7 @@ const te = ({ config: t }) => {
|
|
|
1463
1463
|
o.push(i);
|
|
1464
1464
|
}), t.environmentalDevices.forEach((i) => {
|
|
1465
1465
|
o.push(i.deviceKey);
|
|
1466
|
-
}), (
|
|
1466
|
+
}), (a = t.accessoryDeviceKeys) == null || a.forEach((i) => {
|
|
1467
1467
|
o.push(i);
|
|
1468
1468
|
}), t.audioCodecKey && o.push(t.audioCodecKey), t.videoCodecKey && o.push(t.videoCodecKey), t.matrixRoutingKey && o.push(t.matrixRoutingKey), t.roomCombinerKey && o.push(t.roomCombinerKey), t.endpointKeys && t.endpointKeys.forEach((i) => {
|
|
1469
1469
|
o.push(i);
|
|
@@ -1476,11 +1476,11 @@ const te = ({ config: t }) => {
|
|
|
1476
1476
|
}, [t, e]);
|
|
1477
1477
|
};
|
|
1478
1478
|
function se(t, e) {
|
|
1479
|
-
const [o, r] = W(!1), [c,
|
|
1479
|
+
const [o, r] = W(!1), [c, a] = W(!1);
|
|
1480
1480
|
return d3(() => {
|
|
1481
1481
|
const { current: i } = t, h = () => {
|
|
1482
1482
|
const f = i && i.scrollHeight > i.clientHeight, w = i && i.scrollWidth > i.clientWidth;
|
|
1483
|
-
|
|
1483
|
+
a(f ?? !1), r(w ?? !1), e && e(f ?? !1, w ?? !1);
|
|
1484
1484
|
};
|
|
1485
1485
|
i && h();
|
|
1486
1486
|
}, [t, e]), { overflowHorizontal: o, overflowVertical: c };
|
|
@@ -1491,7 +1491,7 @@ function oe(t, e) {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
function ne(t) {
|
|
1493
1493
|
var h, f;
|
|
1494
|
-
const [e, o] = W(((h = t == null ? void 0 : t.current) == null ? void 0 : h.scrollLeft) ?? 0), [r, c] = W(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0),
|
|
1494
|
+
const [e, o] = W(((h = t == null ? void 0 : t.current) == null ? void 0 : h.scrollLeft) ?? 0), [r, c] = W(((f = t == null ? void 0 : t.current) == null ? void 0 : f.scrollTop) ?? 0), a = (w) => {
|
|
1495
1495
|
const { current: d } = t;
|
|
1496
1496
|
d && (console.log(d.scrollLeft), d.scrollLeft += w, console.log(d.scrollLeft));
|
|
1497
1497
|
}, i = (w) => {
|
|
@@ -1503,7 +1503,7 @@ function ne(t) {
|
|
|
1503
1503
|
o((w == null ? void 0 : w.scrollLeft) ?? 0), c((w == null ? void 0 : w.scrollTop) ?? 0);
|
|
1504
1504
|
};
|
|
1505
1505
|
w && d();
|
|
1506
|
-
}, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal:
|
|
1506
|
+
}, [t]), { horizontalScrollPosition: e, verticalScrollPosition: r, scrollHorizontal: a, scrollVertical: i };
|
|
1507
1507
|
}
|
|
1508
1508
|
function re() {
|
|
1509
1509
|
const { sendMessage: t } = S();
|
|
@@ -1520,15 +1520,15 @@ function ce() {
|
|
|
1520
1520
|
const [t, e] = W(), [o, r] = W();
|
|
1521
1521
|
function c() {
|
|
1522
1522
|
e((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
1523
|
-
const
|
|
1524
|
-
r(
|
|
1523
|
+
const a = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", { hour12: !0, hour: "numeric", minute: "numeric" });
|
|
1524
|
+
r(a);
|
|
1525
1525
|
}
|
|
1526
1526
|
return t1(() => {
|
|
1527
1527
|
c();
|
|
1528
|
-
const
|
|
1528
|
+
const a = setInterval(() => {
|
|
1529
1529
|
c();
|
|
1530
1530
|
}, 1e3);
|
|
1531
|
-
return () => clearInterval(
|
|
1531
|
+
return () => clearInterval(a);
|
|
1532
1532
|
}, []), { date: t, time: o };
|
|
1533
1533
|
}
|
|
1534
1534
|
const le = () => {
|
|
@@ -1550,7 +1550,7 @@ const le = () => {
|
|
|
1550
1550
|
vert: o = !1,
|
|
1551
1551
|
className: r,
|
|
1552
1552
|
iconClassName: c = "",
|
|
1553
|
-
otherContentClassName:
|
|
1553
|
+
otherContentClassName: a = "",
|
|
1554
1554
|
disabled: i,
|
|
1555
1555
|
feedback: h,
|
|
1556
1556
|
feedbackClassName: f,
|
|
@@ -1585,7 +1585,7 @@ const le = () => {
|
|
|
1585
1585
|
disabled: i
|
|
1586
1586
|
}
|
|
1587
1587
|
),
|
|
1588
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
1588
|
+
a ? /* @__PURE__ */ s.jsx("div", { className: a, children: e }) : /* @__PURE__ */ s.jsx("div", { children: e })
|
|
1589
1589
|
]
|
|
1590
1590
|
}
|
|
1591
1591
|
);
|