@pepperdash/mobile-control-react-app-core 1.20.17-roomCombinationChanged-handling.1 → 1.20.17-roomCombinationChanged-handling.2

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.
@@ -26,7 +26,7 @@ const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
26
26
  m3,
27
27
  (t) => t[e] ? t[e] : void 0
28
28
  ), U6 = () => p(Z3);
29
- function _(e) {
29
+ function P(e) {
30
30
  return p(j2(e));
31
31
  }
32
32
  const L = (e) => e.rooms, C2 = (e) => w(
@@ -53,19 +53,19 @@ const L = (e) => e.rooms, C2 = (e) => w(
53
53
  var o, c;
54
54
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
55
55
  }
56
- ), T2 = (e) => w(
56
+ ), P2 = (e) => w(
57
57
  L,
58
58
  (t) => {
59
59
  var o, c;
60
60
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
61
61
  }
62
- ), _2 = (e) => w(
62
+ ), T2 = (e) => w(
63
63
  L,
64
64
  (t) => {
65
65
  var o, c;
66
66
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
67
67
  }
68
- ), P2 = (e) => w(
68
+ ), _2 = (e) => w(
69
69
  L,
70
70
  (t) => {
71
71
  var o, c;
@@ -80,8 +80,8 @@ const L = (e) => e.rooms, C2 = (e) => w(
80
80
  ), D2 = (e) => w(
81
81
  L,
82
82
  (t) => {
83
- var o, c, r, i, d, a, f, x;
84
- return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (f = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : f.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
83
+ var o, c, r, i, d, a, g, x;
84
+ return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (g = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : g.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
85
85
  }
86
86
  ), $2 = (e) => w(
87
87
  L,
@@ -161,7 +161,7 @@ const H6 = C1, K6 = (e) => p(
161
161
  I2(e)
162
162
  ), H2 = (e, t) => p(
163
163
  R2(e, t)
164
- ), K2 = (e) => p(y2(e)) || void 0, G6 = (e) => p(E2(e)), q6 = (e) => p(T2(e)), Y6 = (e) => p(_2(e)), z6 = (e) => p(P2(e)), J6 = (e) => p(L2(e)), X6 = (e) => p(D2(e)), Q6 = (e) => p($2(e)), N6 = (e) => p(A2(e)), ee = (e) => p(B2(e)), te = (e) => p(O2(e)), se = (e) => p(V2(e)), oe = (e) => p(k2(e)), ne = (e) => p(U2(e)), ce = (e) => p((t) => F2(t, e)), re = (e) => p(W2(e)), X = (e) => e.runtimeConfig, G2 = w(
164
+ ), K2 = (e) => p(y2(e)) || void 0, G6 = (e) => p(E2(e)), q6 = (e) => p(P2(e)), Y6 = (e) => p(T2(e)), z6 = (e) => p(_2(e)), J6 = (e) => p(L2(e)), X6 = (e) => p(D2(e)), Q6 = (e) => p($2(e)), N6 = (e) => p(A2(e)), ee = (e) => p(B2(e)), te = (e) => p(O2(e)), se = (e) => p(V2(e)), oe = (e) => p(k2(e)), ne = (e) => p(U2(e)), ce = (e) => p((t) => F2(t, e)), re = (e) => p(W2(e)), X = (e) => e.runtimeConfig, G2 = w(
165
165
  X,
166
166
  (e) => e.websocket.isConnected
167
167
  ), q2 = w(
@@ -411,12 +411,12 @@ function S8() {
411
411
  if (v3) return u1;
412
412
  v3 = 1;
413
413
  var e = w3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
414
- function d(a, f, x) {
415
- var h, R = {}, D = null, H = null;
416
- x !== void 0 && (D = "" + x), f.key !== void 0 && (D = "" + f.key), f.ref !== void 0 && (H = f.ref);
417
- for (h in f) c.call(f, h) && !i.hasOwnProperty(h) && (R[h] = f[h]);
418
- if (a && a.defaultProps) for (h in f = a.defaultProps, f) R[h] === void 0 && (R[h] = f[h]);
419
- return { $$typeof: t, type: a, key: D, ref: H, props: R, _owner: r.current };
414
+ function d(a, g, x) {
415
+ var h, I = {}, D = null, H = null;
416
+ x !== void 0 && (D = "" + x), g.key !== void 0 && (D = "" + g.key), g.ref !== void 0 && (H = g.ref);
417
+ for (h in g) c.call(g, h) && !i.hasOwnProperty(h) && (I[h] = g[h]);
418
+ if (a && a.defaultProps) for (h in g = a.defaultProps, g) I[h] === void 0 && (I[h] = g[h]);
419
+ return { $$typeof: t, type: a, key: D, ref: H, props: I, _owner: r.current };
420
420
  }
421
421
  return u1.Fragment = o, u1.jsx = d, u1.jsxs = d, u1;
422
422
  }
@@ -433,7 +433,7 @@ var d1 = {};
433
433
  var g3;
434
434
  function b8() {
435
435
  return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
436
- var e = w3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), V = Symbol.iterator, Q = "@@iterator";
436
+ var e = w3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), V = Symbol.iterator, Q = "@@iterator";
437
437
  function r1(n) {
438
438
  if (n === null || typeof n != "object")
439
439
  return null;
@@ -443,34 +443,34 @@ function b8() {
443
443
  var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
444
444
  function A(n) {
445
445
  {
446
- for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
447
- u[v - 1] = arguments[v];
446
+ for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
447
+ u[f - 1] = arguments[f];
448
448
  S1("error", n, u);
449
449
  }
450
450
  }
451
451
  function S1(n, l, u) {
452
452
  {
453
- var v = $.ReactDebugCurrentFrame, S = v.getStackAddendum();
453
+ var f = $.ReactDebugCurrentFrame, S = f.getStackAddendum();
454
454
  S !== "" && (l += "%s", u = u.concat([S]));
455
- var I = u.map(function(Z) {
455
+ var R = u.map(function(Z) {
456
456
  return String(Z);
457
457
  });
458
- I.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, I);
458
+ R.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, R);
459
459
  }
460
460
  }
461
461
  var b1 = !1, E = !1, C = !1, f1 = !1, I1 = !1, J;
462
462
  J = Symbol.for("react.module.reference");
463
463
  function B(n) {
464
- return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n === H || b1 || E || C || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === R || n.$$typeof === d || n.$$typeof === a || n.$$typeof === f || // This needs to include all possible module reference object
464
+ return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n === H || b1 || E || C || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === I || n.$$typeof === d || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
465
465
  // types supported by any Flight configuration anywhere since
466
466
  // we don't know which Flight build this will end up being used
467
467
  // with.
468
468
  n.$$typeof === J || n.getModuleId !== void 0));
469
469
  }
470
470
  function y(n, l, u) {
471
- var v = n.displayName;
472
- if (v)
473
- return v;
471
+ var f = n.displayName;
472
+ if (f)
473
+ return f;
474
474
  var S = l.displayName || l.name || "";
475
475
  return S !== "" ? u + "(" + S + ")" : u;
476
476
  }
@@ -506,15 +506,15 @@ function b8() {
506
506
  case d:
507
507
  var u = n;
508
508
  return q(u._context) + ".Provider";
509
- case f:
509
+ case g:
510
510
  return y(n, n.render, "ForwardRef");
511
- case R:
512
- var v = n.displayName || null;
513
- return v !== null ? v : U(n.type) || "Memo";
511
+ case I:
512
+ var f = n.displayName || null;
513
+ return f !== null ? f : U(n.type) || "Memo";
514
514
  case D: {
515
- var S = n, I = S._payload, Z = S._init;
515
+ var S = n, R = S._payload, Z = S._init;
516
516
  try {
517
- return U(Z(I));
517
+ return U(Z(R));
518
518
  } catch {
519
519
  return null;
520
520
  }
@@ -549,7 +549,7 @@ function b8() {
549
549
  l1++;
550
550
  }
551
551
  }
552
- function T3() {
552
+ function P3() {
553
553
  {
554
554
  if (l1--, l1 === 0) {
555
555
  var n = {
@@ -591,8 +591,8 @@ function b8() {
591
591
  try {
592
592
  throw Error();
593
593
  } catch (S) {
594
- var v = S.stack.trim().match(/\n( *(at )?)/);
595
- y1 = v && v[1] || "";
594
+ var f = S.stack.trim().match(/\n( *(at )?)/);
595
+ y1 = f && f[1] || "";
596
596
  }
597
597
  return `
598
598
  ` + y1 + n;
@@ -600,8 +600,8 @@ function b8() {
600
600
  }
601
601
  var E1 = !1, w1;
602
602
  {
603
- var _3 = typeof WeakMap == "function" ? WeakMap : Map;
604
- w1 = new _3();
603
+ var T3 = typeof WeakMap == "function" ? WeakMap : Map;
604
+ w1 = new T3();
605
605
  }
606
606
  function J1(n, l) {
607
607
  if (!n || E1)
@@ -611,12 +611,12 @@ function b8() {
611
611
  if (u !== void 0)
612
612
  return u;
613
613
  }
614
- var v;
614
+ var f;
615
615
  E1 = !0;
616
616
  var S = Error.prepareStackTrace;
617
617
  Error.prepareStackTrace = void 0;
618
- var I;
619
- I = R1.current, R1.current = null, E3();
618
+ var R;
619
+ R = R1.current, R1.current = null, E3();
620
620
  try {
621
621
  if (l) {
622
622
  var Z = function() {
@@ -630,14 +630,14 @@ function b8() {
630
630
  try {
631
631
  Reflect.construct(Z, []);
632
632
  } catch (k) {
633
- v = k;
633
+ f = k;
634
634
  }
635
635
  Reflect.construct(n, [], Z);
636
636
  } else {
637
637
  try {
638
638
  Z.call();
639
639
  } catch (k) {
640
- v = k;
640
+ f = k;
641
641
  }
642
642
  n.call(Z.prototype);
643
643
  }
@@ -645,36 +645,36 @@ function b8() {
645
645
  try {
646
646
  throw Error();
647
647
  } catch (k) {
648
- v = k;
648
+ f = k;
649
649
  }
650
650
  n();
651
651
  }
652
652
  } catch (k) {
653
- if (k && v && typeof k.stack == "string") {
653
+ if (k && f && typeof k.stack == "string") {
654
654
  for (var M = k.stack.split(`
655
- `), O = v.stack.split(`
656
- `), T = M.length - 1, P = O.length - 1; T >= 1 && P >= 0 && M[T] !== O[P]; )
657
- P--;
658
- for (; T >= 1 && P >= 0; T--, P--)
659
- if (M[T] !== O[P]) {
660
- if (T !== 1 || P !== 1)
655
+ `), O = f.stack.split(`
656
+ `), T = M.length - 1, _ = O.length - 1; T >= 1 && _ >= 0 && M[T] !== O[_]; )
657
+ _--;
658
+ for (; T >= 1 && _ >= 0; T--, _--)
659
+ if (M[T] !== O[_]) {
660
+ if (T !== 1 || _ !== 1)
661
661
  do
662
- if (T--, P--, P < 0 || M[T] !== O[P]) {
662
+ if (T--, _--, _ < 0 || M[T] !== O[_]) {
663
663
  var W = `
664
664
  ` + M[T].replace(" at new ", " at ");
665
665
  return n.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", n.displayName)), typeof n == "function" && w1.set(n, W), W;
666
666
  }
667
- while (T >= 1 && P >= 0);
667
+ while (T >= 1 && _ >= 0);
668
668
  break;
669
669
  }
670
670
  }
671
671
  } finally {
672
- E1 = !1, R1.current = I, T3(), Error.prepareStackTrace = S;
672
+ E1 = !1, R1.current = R, P3(), Error.prepareStackTrace = S;
673
673
  }
674
674
  var o1 = n ? n.displayName || n.name : "", N = o1 ? p1(o1) : "";
675
675
  return typeof n == "function" && w1.set(n, N), N;
676
676
  }
677
- function P3(n, l, u) {
677
+ function _3(n, l, u) {
678
678
  return J1(n, !1);
679
679
  }
680
680
  function L3(n) {
@@ -696,14 +696,14 @@ function b8() {
696
696
  }
697
697
  if (typeof n == "object")
698
698
  switch (n.$$typeof) {
699
- case f:
700
- return P3(n.render);
701
- case R:
699
+ case g:
700
+ return _3(n.render);
701
+ case I:
702
702
  return x1(n.type, l, u);
703
703
  case D: {
704
- var v = n, S = v._payload, I = v._init;
704
+ var f = n, S = f._payload, R = f._init;
705
705
  try {
706
- return x1(I(S), l, u);
706
+ return x1(R(S), l, u);
707
707
  } catch {
708
708
  }
709
709
  }
@@ -718,27 +718,27 @@ function b8() {
718
718
  } else
719
719
  Q1.setExtraStackFrame(null);
720
720
  }
721
- function D3(n, l, u, v, S) {
721
+ function D3(n, l, u, f, S) {
722
722
  {
723
- var I = Function.call.bind(i1);
723
+ var R = Function.call.bind(i1);
724
724
  for (var Z in n)
725
- if (I(n, Z)) {
725
+ if (R(n, Z)) {
726
726
  var M = void 0;
727
727
  try {
728
728
  if (typeof n[Z] != "function") {
729
- var O = Error((v || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
729
+ var O = Error((f || "React class") + ": " + u + " type `" + Z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[Z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
730
730
  throw O.name = "Invariant Violation", O;
731
731
  }
732
- M = n[Z](l, Z, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
732
+ M = n[Z](l, Z, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
733
733
  } catch (T) {
734
734
  M = T;
735
735
  }
736
- M && !(M instanceof Error) && (M1(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).", v || "React class", u, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(S), A("Failed %s type: %s", u, M.message), M1(null));
736
+ M && !(M instanceof Error) && (M1(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, Z, typeof M), M1(null)), M instanceof Error && !(M.message in X1) && (X1[M.message] = !0, M1(S), A("Failed %s type: %s", u, M.message), M1(null));
737
737
  }
738
738
  }
739
739
  }
740
740
  var $3 = Array.isArray;
741
- function T1(n) {
741
+ function P1(n) {
742
742
  return $3(n);
743
743
  }
744
744
  function A3(n) {
@@ -808,7 +808,7 @@ function b8() {
808
808
  });
809
809
  }
810
810
  }
811
- var H3 = function(n, l, u, v, S, I, Z) {
811
+ var H3 = function(n, l, u, f, S, R, Z) {
812
812
  var M = {
813
813
  // This tag allows us to uniquely identify this as a React Element
814
814
  $$typeof: t,
@@ -818,7 +818,7 @@ function b8() {
818
818
  ref: u,
819
819
  props: Z,
820
820
  // Record the component responsible for creating this element.
821
- _owner: I
821
+ _owner: R
822
822
  };
823
823
  return M._store = {}, Object.defineProperty(M._store, "validated", {
824
824
  configurable: !1,
@@ -829,7 +829,7 @@ function b8() {
829
829
  configurable: !1,
830
830
  enumerable: !1,
831
831
  writable: !1,
832
- value: v
832
+ value: f
833
833
  }), Object.defineProperty(M, "_source", {
834
834
  configurable: !1,
835
835
  enumerable: !1,
@@ -837,25 +837,25 @@ function b8() {
837
837
  value: S
838
838
  }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
839
839
  };
840
- function K3(n, l, u, v, S) {
840
+ function K3(n, l, u, f, S) {
841
841
  {
842
- var I, Z = {}, M = null, O = null;
842
+ var R, Z = {}, M = null, O = null;
843
843
  u !== void 0 && (e3(u), M = "" + u), k3(l) && (e3(l.key), M = "" + l.key), V3(l) && (O = l.ref, U3(l, S));
844
- for (I in l)
845
- i1.call(l, I) && !O3.hasOwnProperty(I) && (Z[I] = l[I]);
844
+ for (R in l)
845
+ i1.call(l, R) && !O3.hasOwnProperty(R) && (Z[R] = l[R]);
846
846
  if (n && n.defaultProps) {
847
847
  var T = n.defaultProps;
848
- for (I in T)
849
- Z[I] === void 0 && (Z[I] = T[I]);
848
+ for (R in T)
849
+ Z[R] === void 0 && (Z[R] = T[R]);
850
850
  }
851
851
  if (M || O) {
852
- var P = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
853
- M && W3(Z, P), O && F3(Z, P);
852
+ var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
853
+ M && W3(Z, _), O && F3(Z, _);
854
854
  }
855
- return H3(n, M, O, S, v, t3.current, Z);
855
+ return H3(n, M, O, S, f, t3.current, Z);
856
856
  }
857
857
  }
858
- var _1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
858
+ var T1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
859
859
  function s1(n) {
860
860
  if (n) {
861
861
  var l = n._owner, u = x1(n.type, n._source, l ? l.type : null);
@@ -863,15 +863,15 @@ function b8() {
863
863
  } else
864
864
  n3.setExtraStackFrame(null);
865
865
  }
866
- var P1;
867
- P1 = !1;
866
+ var _1;
867
+ _1 = !1;
868
868
  function L1(n) {
869
869
  return typeof n == "object" && n !== null && n.$$typeof === t;
870
870
  }
871
871
  function c3() {
872
872
  {
873
- if (_1.current) {
874
- var n = U(_1.current.type);
873
+ if (T1.current) {
874
+ var n = U(T1.current.type);
875
875
  if (n)
876
876
  return `
877
877
 
@@ -905,25 +905,25 @@ Check the top-level render call using <` + u + ">.");
905
905
  if (r3[u])
906
906
  return;
907
907
  r3[u] = !0;
908
- var v = "";
909
- n && n._owner && n._owner !== _1.current && (v = " It was passed a child from " + U(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), s1(null);
908
+ var f = "";
909
+ n && n._owner && n._owner !== T1.current && (f = " It was passed a child from " + U(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), s1(null);
910
910
  }
911
911
  }
912
912
  function i3(n, l) {
913
913
  {
914
914
  if (typeof n != "object")
915
915
  return;
916
- if (T1(n))
916
+ if (P1(n))
917
917
  for (var u = 0; u < n.length; u++) {
918
- var v = n[u];
919
- L1(v) && l3(v, l);
918
+ var f = n[u];
919
+ L1(f) && l3(f, l);
920
920
  }
921
921
  else if (L1(n))
922
922
  n._store && (n._store.validated = !0);
923
923
  else if (n) {
924
924
  var S = r1(n);
925
925
  if (typeof S == "function" && S !== n.entries)
926
- for (var I = S.call(n), Z; !(Z = I.next()).done; )
926
+ for (var R = S.call(n), Z; !(Z = R.next()).done; )
927
927
  L1(Z.value) && l3(Z.value, l);
928
928
  }
929
929
  }
@@ -936,17 +936,17 @@ Check the top-level render call using <` + u + ">.");
936
936
  var u;
937
937
  if (typeof l == "function")
938
938
  u = l.propTypes;
939
- else if (typeof l == "object" && (l.$$typeof === f || // Note: Memo only checks outer props here.
939
+ else if (typeof l == "object" && (l.$$typeof === g || // Note: Memo only checks outer props here.
940
940
  // Inner props are checked in the reconciler.
941
- l.$$typeof === R))
941
+ l.$$typeof === I))
942
942
  u = l.propTypes;
943
943
  else
944
944
  return;
945
945
  if (u) {
946
- var v = U(l);
947
- D3(u, n.props, "prop", v, n);
948
- } else if (l.PropTypes !== void 0 && !P1) {
949
- P1 = !0;
946
+ var f = U(l);
947
+ D3(u, n.props, "prop", f, n);
948
+ } else if (l.PropTypes !== void 0 && !_1) {
949
+ _1 = !0;
950
950
  var S = U(l);
951
951
  A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
952
952
  }
@@ -956,9 +956,9 @@ Check the top-level render call using <` + u + ">.");
956
956
  function z3(n) {
957
957
  {
958
958
  for (var l = Object.keys(n.props), u = 0; u < l.length; u++) {
959
- var v = l[u];
960
- if (v !== "children" && v !== "key") {
961
- s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), s1(null);
959
+ var f = l[u];
960
+ if (f !== "children" && f !== "key") {
961
+ s1(n), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), s1(null);
962
962
  break;
963
963
  }
964
964
  }
@@ -966,7 +966,7 @@ Check the top-level render call using <` + u + ">.");
966
966
  }
967
967
  }
968
968
  var a3 = {};
969
- function u3(n, l, u, v, S, I) {
969
+ function u3(n, l, u, f, S, R) {
970
970
  {
971
971
  var Z = B(n);
972
972
  if (!Z) {
@@ -975,16 +975,16 @@ Check the top-level render call using <` + u + ">.");
975
975
  var O = G3();
976
976
  O ? M += O : M += c3();
977
977
  var T;
978
- n === null ? T = "null" : T1(n) ? T = "array" : n !== void 0 && n.$$typeof === t ? (T = "<" + (U(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
978
+ n === null ? T = "null" : P1(n) ? T = "array" : n !== void 0 && n.$$typeof === t ? (T = "<" + (U(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : T = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, M);
979
979
  }
980
- var P = K3(n, l, u, S, I);
981
- if (P == null)
982
- return P;
980
+ var _ = K3(n, l, u, S, R);
981
+ if (_ == null)
982
+ return _;
983
983
  if (Z) {
984
984
  var W = l.children;
985
985
  if (W !== void 0)
986
- if (v)
987
- if (T1(W)) {
986
+ if (f)
987
+ if (P1(W)) {
988
988
  for (var o1 = 0; o1 < W.length; o1++)
989
989
  i3(W[o1], n);
990
990
  Object.freeze && Object.freeze(W);
@@ -1007,7 +1007,7 @@ React keys must be passed directly to JSX without using spread:
1007
1007
  <%s key={someKey} {...props} />`, D1, N, e2, N), a3[N + D1] = !0;
1008
1008
  }
1009
1009
  }
1010
- return n === c ? z3(P) : Y3(P), P;
1010
+ return n === c ? z3(_) : Y3(_), _;
1011
1011
  }
1012
1012
  }
1013
1013
  function J3(n, l, u) {
@@ -1041,7 +1041,7 @@ const R8 = "_mwfit_ppa3l_1", y8 = {
1041
1041
  }
1042
1042
  ) });
1043
1043
  };
1044
- class T8 {
1044
+ class P8 {
1045
1045
  constructor() {
1046
1046
  Y(this, "uuid", "current-uuid");
1047
1047
  Y(this, "roomKey", "current-room-key");
@@ -1049,21 +1049,21 @@ class T8 {
1049
1049
  Y(this, "expiry", "current-uuid-expires");
1050
1050
  }
1051
1051
  }
1052
- const p3 = new T8(), I3 = d2({
1052
+ const p3 = new P8(), I3 = d2({
1053
1053
  sendMessage: () => null,
1054
1054
  sendSimpleMessage: () => null,
1055
1055
  addEventHandler: () => null,
1056
1056
  removeEventHandler: () => null,
1057
1057
  reconnect: () => null
1058
1058
  });
1059
- function _8(e) {
1059
+ function T8(e) {
1060
1060
  return sessionStorage.getItem(e) || "";
1061
1061
  }
1062
- function P8(e, t) {
1062
+ function _8(e, t) {
1063
1063
  sessionStorage.setItem(e, t);
1064
1064
  }
1065
1065
  const L8 = ({ children: e }) => {
1066
- const [t, o] = G(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), f = o8(), x = n8(), h = c8(), R = v1(null), [D, H] = G(), V = v1({}), Q = a1(
1066
+ const [t, o] = G(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), g = o8(), x = n8(), h = c8(), I = v1(null), [D, H] = G(), V = v1({}), Q = a1(
1067
1067
  async (E) => {
1068
1068
  try {
1069
1069
  const C = await V1.get(
@@ -1080,11 +1080,11 @@ const L8 = ({ children: e }) => {
1080
1080
  },
1081
1081
  [t, h]
1082
1082
  ), r1 = a1(() => {
1083
- const E = `${a.gatewayAppPath}?uuid=${f}&roomKey=${r}`;
1083
+ const E = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
1084
1084
  window.location.href = x ? `${E}&Code=${x}` : E;
1085
- }, [a.gatewayAppPath, r, f, x]), $ = a1(
1085
+ }, [a.gatewayAppPath, r, g, x]), $ = a1(
1086
1086
  (E, C) => {
1087
- R.current && c && R.current.send(JSON.stringify({ type: E, clientId: i, content: C }));
1087
+ I.current && c && I.current.send(JSON.stringify({ type: E, clientId: i, content: C }));
1088
1088
  },
1089
1089
  [c, i]
1090
1090
  ), A = (E, C) => {
@@ -1099,7 +1099,7 @@ const L8 = ({ children: e }) => {
1099
1099
  }, []);
1100
1100
  return n1(() => {
1101
1101
  let C = new URLSearchParams(window.location.search).get("token");
1102
- C ? (console.log("saving token: ", C), P8(p3.uuid, C)) : (C = _8(p3.uuid), console.log("loading token: ", C)), o(C), d();
1102
+ C ? (console.log("saving token: ", C), _8(p3.uuid, C)) : (C = T8(p3.uuid), console.log("loading token: ", C)), o(C), d();
1103
1103
  }, []), console.log(
1104
1104
  "connection dependencies",
1105
1105
  a.apiPath,
@@ -1110,13 +1110,13 @@ const L8 = ({ children: e }) => {
1110
1110
  ), n1(() => {
1111
1111
  async function E() {
1112
1112
  if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await Q(a.apiPath)) return;
1113
- if (R.current) {
1113
+ if (I.current) {
1114
1114
  console.log("websocket exists");
1115
1115
  return;
1116
1116
  }
1117
1117
  console.log("connecting to websocket");
1118
1118
  const I1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, J = new WebSocket(I1);
1119
- R.current = J, J.onopen = (B) => {
1119
+ I.current = J, J.onopen = (B) => {
1120
1120
  console.log("connected", B.type, B.target), m.dispatch(F.setWebsocketIsConnected(!0));
1121
1121
  }, J.onerror = (B) => {
1122
1122
  console.error("Websocket error", B);
@@ -1151,7 +1151,7 @@ const L8 = ({ children: e }) => {
1151
1151
  ), m.dispatch(z.setShowReconnect(!0)), m.dispatch(F.setWebsocketIsConnected(!1)), m.dispatch(e1.clearDevices()), m.dispatch(t1.clearRooms());
1152
1152
  return;
1153
1153
  }
1154
- if (R.current)
1154
+ if (I.current)
1155
1155
  console.log("WebSocket closed by server.");
1156
1156
  else {
1157
1157
  console.log("WebSocket closed by client.");
@@ -1223,7 +1223,7 @@ const L8 = ({ children: e }) => {
1223
1223
  };
1224
1224
  }
1225
1225
  return E(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
1226
- R.current && (console.log("closing websocket dev mode"), R.current.close(4100, "app running in dev mode"), R.current = null);
1226
+ I.current && (console.log("closing websocket dev mode"), I.current.close(4100, "app running in dev mode"), I.current = null);
1227
1227
  };
1228
1228
  }, [
1229
1229
  a.apiPath,
@@ -1265,16 +1265,16 @@ function D8({
1265
1265
  function a() {
1266
1266
  i.current = !1, t == null || t(), r.current && (clearTimeout(r.current), r.current = null);
1267
1267
  }
1268
- function f() {
1268
+ function g() {
1269
1269
  i.current && a();
1270
1270
  }
1271
1271
  return {
1272
1272
  onPointerDown: d,
1273
1273
  onPointerUp: a,
1274
- onPointerLeave: f
1274
+ onPointerLeave: g
1275
1275
  };
1276
1276
  }
1277
- function g(e, t) {
1277
+ function v(e, t) {
1278
1278
  const { sendMessage: c } = b(), r = v1(null);
1279
1279
  function i() {
1280
1280
  c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
@@ -1287,7 +1287,7 @@ function g(e, t) {
1287
1287
  return D8({ onPress: i, onRelease: d });
1288
1288
  }
1289
1289
  function R3(e, t) {
1290
- const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
1290
+ const { sendMessage: o, sendSimpleMessage: c } = b(), r = v(`${e}`, "volumeUp"), i = v(`${e}`, "volumeDown");
1291
1291
  return t ? {
1292
1292
  volumeState: t,
1293
1293
  volumeUp: r,
@@ -1299,7 +1299,7 @@ function R3(e, t) {
1299
1299
  } : void 0;
1300
1300
  }
1301
1301
  function we(e, t) {
1302
- const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
1302
+ const { sendMessage: o, sendSimpleMessage: c } = b(), r = v(`${e}`, "volumeUp"), i = v(`${e}`, "volumeDown");
1303
1303
  return t ? {
1304
1304
  volumeState: t,
1305
1305
  volumeUp: r,
@@ -1311,7 +1311,7 @@ function we(e, t) {
1311
1311
  } : void 0;
1312
1312
  }
1313
1313
  function $8(e) {
1314
- const t = _(e), o = `/device/${e}`;
1314
+ const t = P(e), o = `/device/${e}`;
1315
1315
  return R3(o, t == null ? void 0 : t.volume);
1316
1316
  }
1317
1317
  function y3(e) {
@@ -1325,13 +1325,13 @@ function y3(e) {
1325
1325
  } };
1326
1326
  }
1327
1327
  function k1(e) {
1328
- const { sendMessage: t } = b(), o = _(e);
1328
+ const { sendMessage: t } = b(), o = P(e);
1329
1329
  return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
1330
1330
  t(`/device/${e}/${r}`, null);
1331
1331
  } } : void 0;
1332
1332
  }
1333
1333
  function A8(e) {
1334
- const { sendMessage: t } = b(), o = _(e), c = () => {
1334
+ const { sendMessage: t } = b(), o = P(e), c = () => {
1335
1335
  t(`/device/${e}/setDefaultChannelLevels`, null);
1336
1336
  }, r = () => {
1337
1337
  if ((o == null ? void 0 : o.levelControls) === void 0) return;
@@ -1342,7 +1342,7 @@ function A8(e) {
1342
1342
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1343
1343
  }
1344
1344
  function xe(e) {
1345
- const t = _(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
1345
+ const t = P(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
1346
1346
  if (t)
1347
1347
  return {
1348
1348
  avrState: t,
@@ -1353,7 +1353,21 @@ function xe(e) {
1353
1353
  mainVolumeControl: i
1354
1354
  };
1355
1355
  }
1356
- const Me = ({ className: e }) => {
1356
+ function Me(e) {
1357
+ const { sendMessage: t } = b(), o = `/device/${e}`, c = P(e), r = v(o, "cameraUp"), i = v(o, "cameraDown"), d = v(o, "cameraLeft"), a = v(o, "cameraRight"), g = v(o, "cameraZoomIn"), x = v(o, "cameraZoomOut"), h = (I) => t("/camera/recallPreset", I);
1358
+ if (c)
1359
+ return {
1360
+ state: c,
1361
+ zoomIn: g,
1362
+ zoomOut: x,
1363
+ up: r,
1364
+ down: i,
1365
+ left: d,
1366
+ right: a,
1367
+ recallPreset: h
1368
+ };
1369
+ }
1370
+ const me = ({ className: e }) => {
1357
1371
  const [t, o] = G();
1358
1372
  return n1(() => {
1359
1373
  setInterval(() => {
@@ -1365,102 +1379,102 @@ const Me = ({ className: e }) => {
1365
1379
  " new change"
1366
1380
  ] });
1367
1381
  };
1368
- function me(e) {
1369
- const { sendMessage: t } = b(), o = _(e), c = `/device/${e}`;
1382
+ function Ze(e) {
1383
+ const { sendMessage: t } = b(), o = P(e), c = `/device/${e}`;
1370
1384
  return o ? { state: o, recallPreset: (d, a) => {
1371
1385
  t(`${c}/presets/recall`, { deviceKey: d, preset: a });
1372
1386
  }, savePresets: (d) => {
1373
1387
  t(`${c}/presets/save`, d);
1374
1388
  } } : void 0;
1375
1389
  }
1376
- function Ze(e) {
1377
- const t = _(e);
1390
+ function je(e) {
1391
+ const t = P(e);
1378
1392
  if (t)
1379
1393
  return { endpointState: t };
1380
1394
  }
1381
- function je(e) {
1382
- const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown"), r = g(t, "lastChan"), i = g(t, "guide"), d = g(t, "info"), a = g(t, "exit");
1395
+ function Ce(e) {
1396
+ const t = `/device/${e}`, o = v(t, "chanUp"), c = v(t, "chanDown"), r = v(t, "lastChan"), i = v(t, "guide"), d = v(t, "info"), a = v(t, "exit");
1383
1397
  return { channelUp: o, channelDown: c, lastChannel: r, guide: i, info: d, exit: a };
1384
1398
  }
1385
- function Ce(e) {
1386
- const t = `/device/${e}`, o = g(t, "red"), c = g(t, "green"), r = g(t, "yellow"), i = g(t, "blue");
1399
+ function Se(e) {
1400
+ const t = `/device/${e}`, o = v(t, "red"), c = v(t, "green"), r = v(t, "yellow"), i = v(t, "blue");
1387
1401
  return { red: o, green: c, yellow: r, blue: i };
1388
1402
  }
1389
- function Se(e) {
1390
- const t = _(e);
1403
+ function be(e) {
1404
+ const t = P(e);
1391
1405
  if (t)
1392
1406
  return {
1393
1407
  communicationMonitorState: t
1394
1408
  };
1395
1409
  }
1396
- function be(e) {
1397
- const t = _(e);
1410
+ function Ie(e) {
1411
+ const t = P(e);
1398
1412
  if (t)
1399
1413
  return t.deviceInfo || void 0;
1400
1414
  }
1401
- function Ie(e) {
1402
- const t = `/device/${e}`, o = g(t, "up"), c = g(t, "down"), r = g(t, "left"), i = g(t, "right"), d = g(t, "select"), a = g(t, "menu"), f = g(t, "exit");
1403
- return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: f };
1404
- }
1405
1415
  function Re(e) {
1416
+ const t = `/device/${e}`, o = v(t, "up"), c = v(t, "down"), r = v(t, "left"), i = v(t, "right"), d = v(t, "select"), a = v(t, "menu"), g = v(t, "exit");
1417
+ return { up: o, down: c, left: r, right: i, select: d, menu: a, exit: g };
1418
+ }
1419
+ function ye(e) {
1406
1420
  const { sendMessage: t } = b();
1407
1421
  return { recallPreset: (c) => {
1408
1422
  t(`/device/${e}/recallPreset`, c);
1409
1423
  } };
1410
1424
  }
1411
- function ye(e) {
1412
- const t = `/device/${e}`, o = g(t, "dvrList"), c = g(t, "record");
1425
+ function Ee(e) {
1426
+ const t = `/device/${e}`, o = v(t, "dvrList"), c = v(t, "record");
1413
1427
  return { dvrList: o, record: c };
1414
1428
  }
1415
- function Ee(e) {
1416
- const { sendMessage: t } = b(), o = _(e);
1429
+ function Pe(e) {
1430
+ const { sendMessage: t } = b(), o = P(e);
1417
1431
  return o ? { roomCombinerState: o, setAutoMode: () => {
1418
1432
  t(`/device/${e}/setAutoMode`, null);
1419
1433
  }, setManualMode: () => {
1420
1434
  t(`/device/${e}/setManualMode`, null);
1421
1435
  }, toggleMode: () => {
1422
1436
  t(`/device/${e}/toggleMode`, null);
1423
- }, togglePartitionState: (f) => {
1424
- t(`/device/${e}/togglePartitionState`, f);
1425
- }, setRoomCombinationScenario: (f) => {
1426
- t(`/device/${e}/setRoomCombinationScenario`, f);
1437
+ }, togglePartitionState: (g) => {
1438
+ t(`/device/${e}/togglePartitionState`, g);
1439
+ }, setRoomCombinationScenario: (g) => {
1440
+ t(`/device/${e}/setRoomCombinationScenario`, g);
1427
1441
  } } : void 0;
1428
1442
  }
1429
1443
  function Te(e) {
1430
- const t = _(e);
1444
+ const t = P(e);
1431
1445
  if (t)
1432
1446
  return { state: t };
1433
1447
  }
1434
1448
  function _e(e) {
1435
- const { sendMessage: t, sendSimpleMessage: o } = b(), c = _(e), r = K2(e), i = c || r;
1449
+ const { sendMessage: t, sendSimpleMessage: o } = b(), c = P(e), r = K2(e), i = c || r;
1436
1450
  return i ? {
1437
1451
  levelState: i,
1438
- setLevel: (h, R) => o(`${h}/level`, R),
1452
+ setLevel: (h, I) => o(`${h}/level`, I),
1439
1453
  muteToggle: (h) => t(`${h}/muteToggle`, null),
1440
1454
  muteOn: (h) => t(`${h}/muteOn`, null),
1441
1455
  muteOff: (h) => t(`${h}/muteOff`, null)
1442
1456
  } : void 0;
1443
1457
  }
1444
- function Pe(e) {
1445
- const { sendMessage: t } = b(), o = _(e);
1458
+ function Le(e) {
1459
+ const { sendMessage: t } = b(), o = P(e);
1446
1460
  return o ? { lightingState: o, selectScene: (r) => {
1447
1461
  t(`/device/${e}/selectScene`, r);
1448
1462
  } } : void 0;
1449
1463
  }
1450
- function Le(e) {
1451
- const { sendMessage: t } = b(), o = _(e);
1464
+ function De(e) {
1465
+ const { sendMessage: t } = b(), o = P(e);
1452
1466
  return o ? { matrixRoutingState: o, setRoute: (r) => {
1453
1467
  t(`/device/${e}/route`, r);
1454
1468
  } } : void 0;
1455
1469
  }
1456
- function De(e) {
1470
+ function $e(e) {
1457
1471
  const { sendMessage: t } = b();
1458
1472
  return { closeApp: () => {
1459
1473
  t(`/device/${e}/closeWebViewController`, null);
1460
1474
  } };
1461
1475
  }
1462
- function $e(e) {
1463
- const t = `/device/${e}`, o = g(t, "num0"), c = g(t, "num1"), r = g(t, "num2"), i = g(t, "num3"), d = g(t, "num4"), a = g(t, "num5"), f = g(t, "num6"), x = g(t, "num7"), h = g(t, "num8"), R = g(t, "num9"), D = g(t, "numDash"), H = g(t, "numEnter");
1476
+ function Ae(e) {
1477
+ const t = `/device/${e}`, o = v(t, "num0"), c = v(t, "num1"), r = v(t, "num2"), i = v(t, "num3"), d = v(t, "num4"), a = v(t, "num5"), g = v(t, "num6"), x = v(t, "num7"), h = v(t, "num8"), I = v(t, "num9"), D = v(t, "numDash"), H = v(t, "numEnter");
1464
1478
  return {
1465
1479
  digit0: o,
1466
1480
  digit1: c,
@@ -1468,52 +1482,52 @@ function $e(e) {
1468
1482
  digit3: i,
1469
1483
  digit4: d,
1470
1484
  digit5: a,
1471
- digit6: f,
1485
+ digit6: g,
1472
1486
  digit7: x,
1473
1487
  digit8: h,
1474
- digit9: R,
1488
+ digit9: I,
1475
1489
  keypadAccessoryButton1: D,
1476
1490
  keypadAccessoryButton2: H
1477
1491
  };
1478
1492
  }
1479
- function Ae(e) {
1480
- const { sendMessage: t } = b(), o = _(e);
1493
+ function Be(e) {
1494
+ const { sendMessage: t } = b(), o = P(e);
1481
1495
  return o ? { projectorScreenLiftControlState: o, raise: () => {
1482
1496
  t(`/device/${e}/raise`, null);
1483
1497
  }, lower: () => {
1484
1498
  t(`/device/${e}/lower`, null);
1485
1499
  } } : void 0;
1486
1500
  }
1487
- function Be(e) {
1501
+ function Oe(e) {
1488
1502
  const { sendMessage: t } = b(), o = C1(e);
1489
1503
  return o ? { roomEventScheduleState: o, save: (r) => {
1490
1504
  t(`/room/${e}/saveScheduledEvents`, r);
1491
1505
  } } : void 0;
1492
1506
  }
1493
- function Oe(e) {
1507
+ function Ve(e) {
1494
1508
  const { sendMessage: t } = b();
1495
1509
  return { runDefaultPresentRoute: () => {
1496
1510
  t(`/room/${e}/defaultsource`, {});
1497
1511
  } };
1498
1512
  }
1499
- function Ve(e) {
1513
+ function ke(e) {
1500
1514
  const { sendMessage: t } = b();
1501
1515
  return { runDirectRoute: (c) => {
1502
1516
  t(`/room/${e}/directRoute`, c);
1503
1517
  } };
1504
1518
  }
1505
- function ke(e) {
1519
+ function Ue(e) {
1506
1520
  const { sendMessage: t } = b();
1507
- return { routingState: _(e), runRoute: (r) => {
1521
+ return { routingState: P(e), runRoute: (r) => {
1508
1522
  t(`/room/${e}/source`, r);
1509
1523
  } };
1510
1524
  }
1511
- function Ue(e) {
1512
- const t = `/device/${e}`, o = g(t, "chanUp"), c = g(t, "chanDown");
1525
+ function We(e) {
1526
+ const t = `/device/${e}`, o = v(t, "chanUp"), c = v(t, "chanDown");
1513
1527
  return { dvrList: o, replay: c };
1514
1528
  }
1515
- function We(e) {
1516
- const { sendMessage: t } = b(), o = _(e);
1529
+ function Fe(e) {
1530
+ const { sendMessage: t } = b(), o = P(e);
1517
1531
  return o ? { shadeState: o, shadeUp: () => {
1518
1532
  t(`/device/${e}/shadeUp`, null);
1519
1533
  }, shadeDown: () => {
@@ -1522,7 +1536,7 @@ function We(e) {
1522
1536
  t(`/device/${e}/stopOrPreset`, null);
1523
1537
  } } : void 0;
1524
1538
  }
1525
- function Fe(e) {
1539
+ function He(e) {
1526
1540
  const { sendMessage: t } = b(), o = C1(e);
1527
1541
  return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (a) => {
1528
1542
  t(`/room/${e}/setShutdownPromptSeconds`, a);
@@ -1534,15 +1548,15 @@ function Fe(e) {
1534
1548
  t(`/room/${e}/shutdownCancel`, null);
1535
1549
  } } : void 0;
1536
1550
  }
1537
- function He(e) {
1538
- const { sendMessage: t } = b(), o = _(e);
1551
+ function Ke(e) {
1552
+ const { sendMessage: t } = b(), o = P(e);
1539
1553
  return o ? { switchedOutputState: o, on: () => {
1540
1554
  t(`/device/${e}/on`, null);
1541
1555
  }, off: () => {
1542
1556
  t(`/device/${e}/off`, null);
1543
1557
  } } : void 0;
1544
1558
  }
1545
- function Ke(e) {
1559
+ function Ge(e) {
1546
1560
  const { sendMessage: t } = b(), o = C1(e);
1547
1561
  return o ? { techPasswordState: o, validatePassword: (i) => {
1548
1562
  t(`/room/${e}/validateTechPassword`, { password: i });
@@ -1550,12 +1564,12 @@ function Ke(e) {
1550
1564
  t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
1551
1565
  } } : void 0;
1552
1566
  }
1553
- function Ge(e) {
1554
- const { sendMessage: t } = b(), o = _(e);
1567
+ function qe(e) {
1568
+ const { sendMessage: t } = b(), o = P(e);
1555
1569
  return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1556
1570
  }
1557
- function qe(e) {
1558
- const { sendMessage: t } = b(), o = _(e), c = (r) => {
1571
+ function Ye(e) {
1572
+ const { sendMessage: t } = b(), o = P(e), c = (r) => {
1559
1573
  t(`/device/${e}/saveTheme`, { value: r });
1560
1574
  };
1561
1575
  return {
@@ -1563,8 +1577,8 @@ function qe(e) {
1563
1577
  saveTheme: c
1564
1578
  };
1565
1579
  }
1566
- function Ye(e) {
1567
- const t = `/device/${e}`, o = g(t, "play"), c = g(t, "pause"), r = g(t, "stop"), i = g(t, "prevTrack"), d = g(t, "nextTrack"), a = g(t, "rewind"), f = g(t, "ffwd"), x = g(t, "record");
1580
+ function ze(e) {
1581
+ const t = `/device/${e}`, o = v(t, "play"), c = v(t, "pause"), r = v(t, "stop"), i = v(t, "prevTrack"), d = v(t, "nextTrack"), a = v(t, "rewind"), g = v(t, "ffwd"), x = v(t, "record");
1568
1582
  return {
1569
1583
  play: o,
1570
1584
  pause: c,
@@ -1572,12 +1586,12 @@ function Ye(e) {
1572
1586
  prevTrack: i,
1573
1587
  nextTrack: d,
1574
1588
  rewind: a,
1575
- fastForward: f,
1589
+ fastForward: g,
1576
1590
  record: x
1577
1591
  };
1578
1592
  }
1579
- function ze(e) {
1580
- const t = _(e), { sendMessage: o } = b();
1593
+ function Je(e) {
1594
+ const t = P(e), { sendMessage: o } = b();
1581
1595
  return t ? {
1582
1596
  touchpanelState: t,
1583
1597
  appControl: { hideApp: () => {
@@ -1592,8 +1606,8 @@ function ze(e) {
1592
1606
  } }
1593
1607
  } : void 0;
1594
1608
  }
1595
- function Je(e) {
1596
- const t = _(e), o = y3(e), c = k1(e);
1609
+ function Xe(e) {
1610
+ const t = P(e), o = y3(e), c = k1(e);
1597
1611
  if (!t) return;
1598
1612
  const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
1599
1613
  return {
@@ -1603,7 +1617,7 @@ function Je(e) {
1603
1617
  powerFb: { powerOnFb: r, powerOffFb: i }
1604
1618
  };
1605
1619
  }
1606
- const Xe = ({
1620
+ const Qe = ({
1607
1621
  config: e
1608
1622
  }) => {
1609
1623
  const { sendMessage: t } = b();
@@ -1636,23 +1650,23 @@ const Xe = ({
1636
1650
  });
1637
1651
  }, [e, t]);
1638
1652
  };
1639
- function Qe(e, t) {
1653
+ function Ne(e, t) {
1640
1654
  const [o, c] = G(!1), [r, i] = G(!1);
1641
1655
  return x3(() => {
1642
1656
  const { current: d } = e, a = () => {
1643
- const f = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
1644
- i(f ?? !1), c(x ?? !1), t && t(f ?? !1, x ?? !1);
1657
+ const g = d && d.scrollHeight > d.clientHeight, x = d && d.scrollWidth > d.clientWidth;
1658
+ i(g ?? !1), c(x ?? !1), t && t(g ?? !1, x ?? !1);
1645
1659
  };
1646
1660
  d && a();
1647
1661
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1648
1662
  }
1649
- function Ne(e, t) {
1663
+ function e5(e, t) {
1650
1664
  const o = H2(e, t), c = `/room/${e}/volumes/${t}`;
1651
1665
  return R3(c, o);
1652
1666
  }
1653
- function e5(e) {
1654
- var a, f;
1655
- const [t, o] = G(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = G(((f = e == null ? void 0 : e.current) == null ? void 0 : f.scrollTop) ?? 0), i = (x) => {
1667
+ function t5(e) {
1668
+ var a, g;
1669
+ const [t, o] = G(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = G(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
1656
1670
  const { current: h } = e;
1657
1671
  h && (console.log(h.scrollLeft), h.scrollLeft += x, console.log(h.scrollLeft));
1658
1672
  }, d = (x) => {
@@ -1666,7 +1680,7 @@ function e5(e) {
1666
1680
  x && h();
1667
1681
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
1668
1682
  }
1669
- function t5() {
1683
+ function s5() {
1670
1684
  const { sendMessage: e } = b();
1671
1685
  return {
1672
1686
  reboot: () => {
@@ -1677,7 +1691,7 @@ function t5() {
1677
1691
  }
1678
1692
  };
1679
1693
  }
1680
- function s5() {
1694
+ function o5() {
1681
1695
  const [e, t] = G(), [o, c] = G();
1682
1696
  function r() {
1683
1697
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -1692,7 +1706,7 @@ function s5() {
1692
1706
  return () => clearInterval(i);
1693
1707
  }, []), { date: e, time: o };
1694
1708
  }
1695
- const o5 = () => {
1709
+ const n5 = () => {
1696
1710
  const [e, t] = G(!1), o = v2(), c = g2();
1697
1711
  let r;
1698
1712
  return f2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
@@ -1714,13 +1728,13 @@ const o5 = () => {
1714
1728
  otherContentClassName: i = "",
1715
1729
  disabled: d,
1716
1730
  feedback: a,
1717
- feedbackClassName: f,
1731
+ feedbackClassName: g,
1718
1732
  onPointerDown: x,
1719
1733
  onPointerUp: h,
1720
- onPointerLeave: R,
1734
+ onPointerLeave: I,
1721
1735
  ...D
1722
1736
  }) => {
1723
- const [H, V] = G(!1), Q = !d && a ? f : "", r1 = !d && (H || a);
1737
+ const [H, V] = G(!1), Q = !d && a ? g : "", r1 = !d && (H || a);
1724
1738
  return /* @__PURE__ */ s.jsxs(
1725
1739
  "button",
1726
1740
  {
@@ -1735,7 +1749,7 @@ const o5 = () => {
1735
1749
  V(!1), h == null || h($);
1736
1750
  },
1737
1751
  onPointerLeave: ($) => {
1738
- V(!1), R == null || R($);
1752
+ V(!1), I == null || I($);
1739
1753
  },
1740
1754
  children: [
1741
1755
  e && /* @__PURE__ */ s.jsx(
@@ -3382,7 +3396,7 @@ const o5 = () => {
3382
3396
  X: p6,
3383
3397
  Xbox: w6
3384
3398
  };
3385
- function n5({
3399
+ function c5({
3386
3400
  name: e,
3387
3401
  iconsDictionary: t = M6,
3388
3402
  ...o
@@ -3396,7 +3410,7 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
3396
3410
  content: j6,
3397
3411
  footer: C6,
3398
3412
  volume: S6
3399
- }, c5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3413
+ }, r5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3400
3414
  /* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
3401
3415
  /* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
3402
3416
  r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
@@ -3405,31 +3419,31 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
3405
3419
  grid: b6,
3406
3420
  header: I6,
3407
3421
  content: R6
3408
- }, r5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3422
+ }, l5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3409
3423
  /* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
3410
3424
  c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
3411
3425
  /* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
3412
- ] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11", T6 = "_content_1uwfo_17", A1 = {
3426
+ ] }), y6 = "_grid_1uwfo_1", E6 = "_header_1uwfo_11", P6 = "_content_1uwfo_17", A1 = {
3413
3427
  grid: y6,
3414
3428
  header: E6,
3415
- content: T6
3416
- }, l5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3429
+ content: P6
3430
+ }, i5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3417
3431
  /* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
3418
3432
  /* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
3419
3433
  ] });
3420
- function i5() {
3434
+ function a5() {
3421
3435
  return console.log(location.pathname), location.pathname;
3422
3436
  }
3423
- var _6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(_6 || {});
3424
- class a5 {
3437
+ var T6 = /* @__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))(T6 || {});
3438
+ class u5 {
3425
3439
  constructor(t, o) {
3426
3440
  Y(this, "path");
3427
3441
  Y(this, "handler");
3428
3442
  this.path = t, this.handler = o;
3429
3443
  }
3430
3444
  }
3431
- const u5 = "$off";
3432
- class d5 {
3445
+ const d5 = "$off";
3446
+ class h5 {
3433
3447
  constructor() {
3434
3448
  Y(this, "currentShareText");
3435
3449
  Y(this, "enabled");
@@ -3437,9 +3451,9 @@ class d5 {
3437
3451
  }
3438
3452
  }
3439
3453
  export {
3440
- Me as Clock,
3441
- _6 as DaysOfWeek,
3442
- o5 as ErrorBox,
3454
+ me as Clock,
3455
+ T6 as DaysOfWeek,
3456
+ n5 as ErrorBox,
3443
3457
  k8 as IconButton,
3444
3458
  U8 as IconMultiAlert,
3445
3459
  W8 as IconMultiBan,
@@ -3472,17 +3486,17 @@ export {
3472
3486
  f6 as IconMultiWireless,
3473
3487
  p6 as IconMultiX,
3474
3488
  w6 as IconMultiXbox,
3475
- c5 as MainLayout,
3476
- a5 as MessageHandler,
3489
+ r5 as MainLayout,
3490
+ u5 as MessageHandler,
3477
3491
  pe as MobileControlProvider,
3478
3492
  j as MultiStateIconContainer,
3479
- n5 as NamedIconButton,
3480
- d5 as ShareState,
3481
- r5 as TechLayout,
3482
- l5 as TechPinLayout,
3483
- i5 as getBaseLocation,
3493
+ c5 as NamedIconButton,
3494
+ h5 as ShareState,
3495
+ l5 as TechLayout,
3496
+ i5 as TechPinLayout,
3497
+ a5 as getBaseLocation,
3484
3498
  V1 as httpClient,
3485
- u5 as roomOffSourceKey,
3499
+ d5 as roomOffSourceKey,
3486
3500
  Z3 as selectAllDevices,
3487
3501
  x2 as selectApiPath,
3488
3502
  w2 as selectAppConfig,
@@ -3495,12 +3509,12 @@ export {
3495
3509
  U1 as selectModalVisibility,
3496
3510
  m2 as selectPartnerMetadata,
3497
3511
  k2 as selectRoomAdvancedSharingActive,
3498
- T2 as selectRoomAudioControlPointList,
3512
+ P2 as selectRoomAudioControlPointList,
3499
3513
  b2 as selectRoomByKey,
3500
3514
  $2 as selectRoomCodecContentDestinationKey,
3501
3515
  C2 as selectRoomConfiguration,
3502
- P2 as selectRoomDestinationList,
3503
- _2 as selectRoomDestinations,
3516
+ _2 as selectRoomDestinationList,
3517
+ T2 as selectRoomDestinations,
3504
3518
  F2 as selectRoomDisplayStates,
3505
3519
  L2 as selectRoomEnvironmentalDevices,
3506
3520
  A2 as selectRoomInCall,
@@ -3533,56 +3547,57 @@ export {
3533
3547
  p2 as useAppDispatch,
3534
3548
  p as useAppSelector,
3535
3549
  xe as useAvrControl,
3536
- g as useButtonHeldHeartbeat,
3550
+ v as useButtonHeldHeartbeat,
3551
+ Me as useCameraBase,
3537
3552
  s8 as useClientId,
3538
3553
  $8 as useDeviceIBasicVolumeWithFeedback,
3539
- me as useDevicePresetsModel,
3540
- Ze as useEndpoint,
3554
+ Ze as useDevicePresetsModel,
3555
+ je as useEndpoint,
3541
3556
  d8 as useError,
3542
- Xe as useGetAllDeviceStateFromRoomConfiguration,
3557
+ Qe as useGetAllDeviceStateFromRoomConfiguration,
3543
3558
  U6 as useGetAllDevices,
3544
3559
  F6 as useGetAllRooms,
3545
3560
  ve as useGetCurrentPopoverIdForGroup,
3546
- _ as useGetDevice,
3561
+ P as useGetDevice,
3547
3562
  we as useGetIBasicVolumeWithFeedback,
3548
3563
  H6 as useGetRoom,
3549
3564
  ce as useGetRoomDisplayStates,
3550
3565
  re as useGetZoomRoomControllerKey,
3551
3566
  R3 as useIBasicVolumeWithFeedback,
3552
- je as useIChannel,
3553
- Ce as useIColor,
3554
- Se as useICommunicationMonitor,
3555
- Ie as useIDPad,
3556
- be as useIDeviceInfoMessenger,
3557
- Re as useIDspPresets,
3558
- ye as useIDvr,
3559
- Ee as useIEssentialsRoomCombiner,
3567
+ Ce as useIChannel,
3568
+ Se as useIColor,
3569
+ be as useICommunicationMonitor,
3570
+ Re as useIDPad,
3571
+ Ie as useIDeviceInfoMessenger,
3572
+ ye as useIDspPresets,
3573
+ Ee as useIDvr,
3574
+ Pe as useIEssentialsRoomCombiner,
3560
3575
  y3 as useIHasPowerControl,
3561
3576
  k1 as useIHasSelectableItems,
3562
3577
  Te as useIHumiditySensor,
3563
3578
  _e as useILevelControls,
3564
- Pe as useILightingScenes,
3565
- Le as useIMatrixRouting,
3566
- De as useIMcCiscoCodecUserInterfaceAppControl,
3567
- $e as useINumeric,
3568
- Ae as useIProjectorScreenLiftControl,
3569
- Be as useIRoomEventSchedule,
3570
- Oe as useIRunDefaultPresentRoute,
3571
- Ve as useIRunDirectRouteAction,
3572
- ke as useIRunRouteAction,
3573
- Ue as useISetTopBoxControls,
3574
- We as useIShadesOpenCloseStop,
3575
- Fe as useIShutdownPromptTimer,
3576
- He as useISwitchedOutput,
3577
- Ke as useITechPassword,
3578
- Ge as useITemperatureSensor,
3579
- qe as useITheme,
3580
- Ye as useITransport,
3579
+ Le as useILightingScenes,
3580
+ De as useIMatrixRouting,
3581
+ $e as useIMcCiscoCodecUserInterfaceAppControl,
3582
+ Ae as useINumeric,
3583
+ Be as useIProjectorScreenLiftControl,
3584
+ Oe as useIRoomEventSchedule,
3585
+ Ve as useIRunDefaultPresentRoute,
3586
+ ke as useIRunDirectRouteAction,
3587
+ Ue as useIRunRouteAction,
3588
+ We as useISetTopBoxControls,
3589
+ Fe as useIShadesOpenCloseStop,
3590
+ He as useIShutdownPromptTimer,
3591
+ Ke as useISwitchedOutput,
3592
+ Ge as useITechPassword,
3593
+ qe as useITemperatureSensor,
3594
+ Ye as useITheme,
3595
+ ze as useITransport,
3581
3596
  C8 as useInitialize,
3582
3597
  ae as useIsTouchpanel,
3583
3598
  V6 as useLogoPath,
3584
- ze as useMobileControlTouchpanelController,
3585
- Qe as useOverflow,
3599
+ Je as useMobileControlTouchpanelController,
3600
+ Ne as useOverflow,
3586
3601
  k6 as usePartnerMetadata,
3587
3602
  D8 as usePressHoldRelease,
3588
3603
  oe as useRoomAdvancedSharingActive,
@@ -3592,7 +3607,7 @@ export {
3592
3607
  z6 as useRoomDestinationList,
3593
3608
  Y6 as useRoomDestinations,
3594
3609
  J6 as useRoomEnvironmentalDevices,
3595
- Ne as useRoomIBasicVolumeWithFeedback,
3610
+ e5 as useRoomIBasicVolumeWithFeedback,
3596
3611
  N6 as useRoomInCall,
3597
3612
  te as useRoomIsCoolingDown,
3598
3613
  se as useRoomIsOn,
@@ -3606,19 +3621,19 @@ export {
3606
3621
  C1 as useRoomState,
3607
3622
  H2 as useRoomVolume,
3608
3623
  le as useRuntimeInfo,
3609
- e5 as useScroll,
3624
+ t5 as useScroll,
3610
3625
  c8 as useServerIsRunningOnProcessorHardware,
3611
3626
  de as useShowIncomingCallModal,
3612
3627
  he as useShowModal,
3613
3628
  ge as useShowPopoverById,
3614
3629
  h8 as useShowReconnect,
3615
3630
  ue as useShowShutdownModal,
3616
- t5 as useSystemControl,
3631
+ s5 as useSystemControl,
3617
3632
  o8 as useSystemUuid,
3618
3633
  fe as useTheme,
3619
- s5 as useTimeAndDate,
3634
+ o5 as useTimeAndDate,
3620
3635
  ie as useTouchpanelKey,
3621
- Je as useTwoWayDisplayBase,
3636
+ Xe as useTwoWayDisplayBase,
3622
3637
  n8 as useUserCode,
3623
3638
  b as useWebsocketContext,
3624
3639
  j3 as useWsIsConnected