@pepperdash/mobile-control-react-app-core 1.25.0-feat-essentials-v3.15 → 1.25.0-feat-essentials-v3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ var G = (e, t, n) => w2(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import M3, { AxiosError as M2 } from "axios";
5
5
  import { useDispatch as x2, useSelector as S2, Provider as Z2 } from "react-redux";
6
6
  import { createSelector as x, createSlice as v1, combineReducers as C2, configureStore as j2 } from "@reduxjs/toolkit";
7
- import x3, { createContext as b2, useEffect as S1, useCallback as l1, useContext as I2, useRef as d1, useMemo as T, useState as Y, useLayoutEffect as S3 } from "react";
7
+ import x3, { createContext as b2, useEffect as S1, useCallback as l1, useContext as I2, useRef as d1, useMemo as E, useState as Y, useLayoutEffect as S3 } from "react";
8
8
  import { useNavigate as y2, useRouteError as R2, isRouteErrorResponse as P2 } from "react-router-dom";
9
9
  import * as Z3 from "lodash";
10
10
  const V1 = x2.withTypes(), w = S2.withTypes(), Z1 = (e) => e.appConfig, $2 = x(
@@ -80,8 +80,8 @@ const O = (e) => e.rooms, L2 = (e) => x(
80
80
  ), q2 = (e) => x(
81
81
  O,
82
82
  (t) => {
83
- var n, s, r, l, i, g, u, f;
84
- return (s = (n = t[e]) == null ? void 0 : n.configuration) != null && s.destinationList.programAudio ? (i = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((f = (u = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : u.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
83
+ var n, s, r, l, i, g, d, f;
84
+ return (s = (n = t[e]) == null ? void 0 : n.configuration) != null && s.destinationList.programAudio ? (i = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((f = (d = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : d.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
85
85
  }
86
86
  ), G2 = (e) => x(
87
87
  O,
@@ -300,8 +300,8 @@ const s8 = C1, c8 = (e) => w(
300
300
  {},
301
301
  l,
302
302
  r,
303
- (g, u) => {
304
- if (Array.isArray(u)) return u.slice();
303
+ (g, d) => {
304
+ if (Array.isArray(d)) return d.slice();
305
305
  }
306
306
  );
307
307
  e[s] = i;
@@ -336,8 +336,8 @@ const h3 = {}, O1 = v1({
336
336
  setRoomState(e, t) {
337
337
  const n = t.payload.type, s = n.slice(n.lastIndexOf("/") + 1);
338
338
  if (!s) return;
339
- const r = t.payload.content, l = e[s] ?? {}, i = Z3.mergeWith({}, l, r, (g, u) => {
340
- if (Array.isArray(u)) return u;
339
+ const r = t.payload.content, l = e[s] ?? {}, i = Z3.mergeWith({}, l, r, (g, d) => {
340
+ if (Array.isArray(d)) return d;
341
341
  });
342
342
  e[s] = i;
343
343
  },
@@ -674,14 +674,14 @@ const h3 = {}, O1 = v1({
674
674
  } catch (Z) {
675
675
  console.error("WebSocket middleware: Connection error", Z), e.waitingToReconnect = !1, e.client = null;
676
676
  }
677
- }, u = () => {
677
+ }, d = () => {
678
678
  e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
679
679
  }, f = (v, C, b) => {
680
680
  const j = b(), I = j.runtimeConfig.websocket.isConnected, Z = j.runtimeConfig.roomData.clientId;
681
681
  e.client && I ? e.client.send(
682
682
  JSON.stringify({ type: v, clientId: Z, content: C })
683
683
  ) : console.warn("WebSocket middleware: Cannot send message - not connected");
684
- }, d = (v, C, b) => {
684
+ }, u = (v, C, b) => {
685
685
  e.eventHandlers[v] || (e.eventHandlers[v] = {}), e.eventHandlers[v][C] = b, console.log("WebSocket middleware: Event handler added", v, C);
686
686
  }, L = (v, C) => {
687
687
  e.eventHandlers[v] && (delete e.eventHandlers[v][C], console.log(
@@ -706,7 +706,7 @@ const h3 = {}, O1 = v1({
706
706
  break;
707
707
  }
708
708
  case A3:
709
- u();
709
+ d();
710
710
  break;
711
711
  case L3:
712
712
  f(
@@ -716,7 +716,7 @@ const h3 = {}, O1 = v1({
716
716
  );
717
717
  break;
718
718
  case _3:
719
- d(
719
+ u(
720
720
  I.payload.eventType,
721
721
  I.payload.key,
722
722
  I.payload.callback
@@ -809,11 +809,11 @@ function Ve() {
809
809
  if (m3) return i1;
810
810
  m3 = 1;
811
811
  var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
812
- function i(g, u, f) {
813
- var d, L = {}, A = null, v = null;
814
- f !== void 0 && (A = "" + f), u.key !== void 0 && (A = "" + u.key), u.ref !== void 0 && (v = u.ref);
815
- for (d in u) s.call(u, d) && !l.hasOwnProperty(d) && (L[d] = u[d]);
816
- if (g && g.defaultProps) for (d in u = g.defaultProps, u) L[d] === void 0 && (L[d] = u[d]);
812
+ function i(g, d, f) {
813
+ var u, L = {}, A = null, v = null;
814
+ f !== void 0 && (A = "" + f), d.key !== void 0 && (A = "" + d.key), d.ref !== void 0 && (v = d.ref);
815
+ for (u in d) s.call(d, u) && !l.hasOwnProperty(u) && (L[u] = d[u]);
816
+ if (g && g.defaultProps) for (u in d = g.defaultProps, d) L[u] === void 0 && (L[u] = d[u]);
817
817
  return { $$typeof: t, type: g, key: A, ref: v, props: L, _owner: r.current };
818
818
  }
819
819
  return i1.Fragment = n, i1.jsx = i, i1.jsxs = i, i1;
@@ -831,7 +831,7 @@ var a1 = {};
831
831
  var p3;
832
832
  function ke() {
833
833
  return p3 || (p3 = 1, process.env.NODE_ENV !== "production" && (function() {
834
- var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), C = Symbol.iterator, b = "@@iterator";
834
+ var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), C = Symbol.iterator, b = "@@iterator";
835
835
  function j(c) {
836
836
  if (c === null || typeof c != "object")
837
837
  return null;
@@ -850,16 +850,16 @@ function ke() {
850
850
  {
851
851
  var M = I.ReactDebugCurrentFrame, $ = M.getStackAddendum();
852
852
  $ !== "" && (a += "%s", h = h.concat([$]));
853
- var E = h.map(function(R) {
853
+ var T = h.map(function(R) {
854
854
  return String(R);
855
855
  });
856
- E.unshift("Warning: " + a), Function.prototype.apply.call(console[c], console, E);
856
+ T.unshift("Warning: " + a), Function.prototype.apply.call(console[c], console, T);
857
857
  }
858
858
  }
859
859
  var o1 = !1, K = !1, k = !1, D = !1, J = !1, s1;
860
860
  s1 = Symbol.for("react.module.reference");
861
861
  function b1(c) {
862
- return !!(typeof c == "string" || typeof c == "function" || c === s || c === l || J || c === r || c === f || c === d || D || c === v || o1 || K || k || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === L || c.$$typeof === i || c.$$typeof === g || c.$$typeof === u || // This needs to include all possible module reference object
862
+ return !!(typeof c == "string" || typeof c == "function" || c === s || c === l || J || c === r || c === f || c === u || D || c === v || o1 || K || k || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === L || c.$$typeof === i || c.$$typeof === g || c.$$typeof === d || // This needs to include all possible module reference object
863
863
  // types supported by any Flight configuration anywhere since
864
864
  // we don't know which Flight build this will end up being used
865
865
  // with.
@@ -893,7 +893,7 @@ function ke() {
893
893
  return "StrictMode";
894
894
  case f:
895
895
  return "Suspense";
896
- case d:
896
+ case u:
897
897
  return "SuspenseList";
898
898
  }
899
899
  if (typeof c == "object")
@@ -904,15 +904,15 @@ function ke() {
904
904
  case i:
905
905
  var h = c;
906
906
  return F1(h._context) + ".Provider";
907
- case u:
907
+ case d:
908
908
  return H3(c, c.render, "ForwardRef");
909
909
  case L:
910
910
  var M = c.displayName || null;
911
911
  return M !== null ? M : X(c.type) || "Memo";
912
912
  case A: {
913
- var $ = c, E = $._payload, R = $._init;
913
+ var $ = c, T = $._payload, R = $._init;
914
914
  try {
915
- return X(R(E));
915
+ return X(R(T));
916
916
  } catch {
917
917
  return null;
918
918
  }
@@ -1013,8 +1013,8 @@ function ke() {
1013
1013
  R1 = !0;
1014
1014
  var $ = Error.prepareStackTrace;
1015
1015
  Error.prepareStackTrace = void 0;
1016
- var E;
1017
- E = I1.current, I1.current = null, U3();
1016
+ var T;
1017
+ T = I1.current, I1.current = null, U3();
1018
1018
  try {
1019
1019
  if (a) {
1020
1020
  var R = function() {
@@ -1067,7 +1067,7 @@ function ke() {
1067
1067
  }
1068
1068
  }
1069
1069
  } finally {
1070
- R1 = !1, I1.current = E, K3(), Error.prepareStackTrace = $;
1070
+ R1 = !1, I1.current = T, K3(), Error.prepareStackTrace = $;
1071
1071
  }
1072
1072
  var n1 = c ? c.displayName || c.name : "", N = n1 ? g1(n1) : "";
1073
1073
  return typeof c == "function" && h1.set(c, N), N;
@@ -1089,19 +1089,19 @@ function ke() {
1089
1089
  switch (c) {
1090
1090
  case f:
1091
1091
  return g1("Suspense");
1092
- case d:
1092
+ case u:
1093
1093
  return g1("SuspenseList");
1094
1094
  }
1095
1095
  if (typeof c == "object")
1096
1096
  switch (c.$$typeof) {
1097
- case u:
1097
+ case d:
1098
1098
  return G3(c.render);
1099
1099
  case L:
1100
1100
  return f1(c.type, a, h);
1101
1101
  case A: {
1102
- var M = c, $ = M._payload, E = M._init;
1102
+ var M = c, $ = M._payload, T = M._init;
1103
1103
  try {
1104
- return f1(E($), a, h);
1104
+ return f1(T($), a, h);
1105
1105
  } catch {
1106
1106
  }
1107
1107
  }
@@ -1118,9 +1118,9 @@ function ke() {
1118
1118
  }
1119
1119
  function Y3(c, a, h, M, $) {
1120
1120
  {
1121
- var E = Function.call.bind(r1);
1121
+ var T = Function.call.bind(r1);
1122
1122
  for (var R in c)
1123
- if (E(c, R)) {
1123
+ if (T(c, R)) {
1124
1124
  var y = void 0;
1125
1125
  try {
1126
1126
  if (typeof c[R] != "function") {
@@ -1206,7 +1206,7 @@ function ke() {
1206
1206
  });
1207
1207
  }
1208
1208
  }
1209
- var c2 = function(c, a, h, M, $, E, R) {
1209
+ var c2 = function(c, a, h, M, $, T, R) {
1210
1210
  var y = {
1211
1211
  // This tag allows us to uniquely identify this as a React Element
1212
1212
  $$typeof: t,
@@ -1216,7 +1216,7 @@ function ke() {
1216
1216
  ref: h,
1217
1217
  props: R,
1218
1218
  // Record the component responsible for creating this element.
1219
- _owner: E
1219
+ _owner: T
1220
1220
  };
1221
1221
  return y._store = {}, Object.defineProperty(y._store, "validated", {
1222
1222
  configurable: !1,
@@ -1237,14 +1237,14 @@ function ke() {
1237
1237
  };
1238
1238
  function r2(c, a, h, M, $) {
1239
1239
  {
1240
- var E, R = {}, y = null, F = null;
1240
+ var T, R = {}, y = null, F = null;
1241
1241
  h !== void 0 && (t3(h), y = "" + h), t2(a) && (t3(a.key), y = "" + a.key), e2(a) && (F = a.ref, n2(a, $));
1242
- for (E in a)
1243
- r1.call(a, E) && !N3.hasOwnProperty(E) && (R[E] = a[E]);
1242
+ for (T in a)
1243
+ r1.call(a, T) && !N3.hasOwnProperty(T) && (R[T] = a[T]);
1244
1244
  if (c && c.defaultProps) {
1245
1245
  var _ = c.defaultProps;
1246
- for (E in _)
1247
- R[E] === void 0 && (R[E] = _[E]);
1246
+ for (T in _)
1247
+ R[T] === void 0 && (R[T] = _[T]);
1248
1248
  }
1249
1249
  if (y || F) {
1250
1250
  var B = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
@@ -1321,7 +1321,7 @@ Check the top-level render call using <` + h + ">.");
1321
1321
  else if (c) {
1322
1322
  var $ = j(c);
1323
1323
  if (typeof $ == "function" && $ !== c.entries)
1324
- for (var E = $.call(c), R; !(R = E.next()).done; )
1324
+ for (var T = $.call(c), R; !(R = T.next()).done; )
1325
1325
  T1(R.value) && i3(R.value, a);
1326
1326
  }
1327
1327
  }
@@ -1334,7 +1334,7 @@ Check the top-level render call using <` + h + ">.");
1334
1334
  var h;
1335
1335
  if (typeof a == "function")
1336
1336
  h = a.propTypes;
1337
- else if (typeof a == "object" && (a.$$typeof === u || // Note: Memo only checks outer props here.
1337
+ else if (typeof a == "object" && (a.$$typeof === d || // Note: Memo only checks outer props here.
1338
1338
  // Inner props are checked in the reconciler.
1339
1339
  a.$$typeof === L))
1340
1340
  h = a.propTypes;
@@ -1364,7 +1364,7 @@ Check the top-level render call using <` + h + ">.");
1364
1364
  }
1365
1365
  }
1366
1366
  var u3 = {};
1367
- function d3(c, a, h, M, $, E) {
1367
+ function d3(c, a, h, M, $, T) {
1368
1368
  {
1369
1369
  var R = b1(c);
1370
1370
  if (!R) {
@@ -1375,7 +1375,7 @@ Check the top-level render call using <` + h + ">.");
1375
1375
  var _;
1376
1376
  c === null ? _ = "null" : P1(c) ? _ = "array" : c !== void 0 && c.$$typeof === t ? (_ = "<" + (X(c.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof c, Z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, y);
1377
1377
  }
1378
- var B = r2(c, a, h, $, E);
1378
+ var B = r2(c, a, h, $, T);
1379
1379
  if (B == null)
1380
1380
  return B;
1381
1381
  if (R) {
@@ -1446,23 +1446,23 @@ const He = "_mwfit_ppa3l_1", Ue = {
1446
1446
  t(W3());
1447
1447
  }, [t]);
1448
1448
  const s = l1(
1449
- (u, f) => {
1450
- t(De(u, f));
1449
+ (d, f) => {
1450
+ t(De(d, f));
1451
1451
  },
1452
1452
  [t]
1453
1453
  ), r = l1(
1454
- (u, f) => {
1455
- s(u, { value: f });
1454
+ (d, f) => {
1455
+ s(d, { value: f });
1456
1456
  },
1457
1457
  [s]
1458
1458
  ), l = l1(
1459
- (u, f, d) => {
1460
- t(Ae(u, f, d));
1459
+ (d, f, u) => {
1460
+ t(Ae(d, f, u));
1461
1461
  },
1462
1462
  [t]
1463
1463
  ), i = l1(
1464
- (u, f) => {
1465
- t(Le(u, f));
1464
+ (d, f) => {
1465
+ t(Le(d, f));
1466
1466
  },
1467
1467
  [t]
1468
1468
  ), g = l1(() => {
@@ -1493,7 +1493,7 @@ function Ge({
1493
1493
  holdTimeMs: r = 500
1494
1494
  }) {
1495
1495
  const l = d1(null), i = d1(!1), g = d1(!1);
1496
- function u() {
1496
+ function d() {
1497
1497
  i.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
1498
1498
  g.current = !0, n == null || n(), l.current = null;
1499
1499
  }, r);
@@ -1501,13 +1501,13 @@ function Ge({
1501
1501
  function f() {
1502
1502
  i.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || s == null || s());
1503
1503
  }
1504
- function d() {
1504
+ function u() {
1505
1505
  i.current && f();
1506
1506
  }
1507
1507
  return {
1508
- onPointerDown: u,
1508
+ onPointerDown: d,
1509
1509
  onPointerUp: f,
1510
- onPointerLeave: d
1510
+ onPointerLeave: u
1511
1511
  };
1512
1512
  }
1513
1513
  function p(e, t) {
@@ -1524,7 +1524,7 @@ function p(e, t) {
1524
1524
  }
1525
1525
  function j1(e) {
1526
1526
  const { sendMessage: t } = m(), n = p(`${e}`, "volumeUp"), s = p(`${e}`, "volumeDown");
1527
- return T(() => ({
1527
+ return E(() => ({
1528
1528
  volumeUp: n,
1529
1529
  volumeDown: s,
1530
1530
  muteToggle: () => t(`${e}/muteToggle`, null)
@@ -1532,7 +1532,7 @@ function j1(e) {
1532
1532
  }
1533
1533
  function F8(e) {
1534
1534
  const { sendMessage: t } = m(), n = p(`${e}`, "volumeUp"), s = p(`${e}`, "volumeDown");
1535
- return T(() => ({
1535
+ return E(() => ({
1536
1536
  volumeUp: n,
1537
1537
  volumeDown: s,
1538
1538
  muteToggle: () => t(`${e}/muteToggle`, null)
@@ -1540,7 +1540,7 @@ function F8(e) {
1540
1540
  }
1541
1541
  function k3(e, t) {
1542
1542
  const { sendMessage: n, sendSimpleMessage: s } = m(), r = j1(e);
1543
- return T(() => {
1543
+ return E(() => {
1544
1544
  if (!r) {
1545
1545
  console.log("baseVolume is undefined");
1546
1546
  return;
@@ -1552,7 +1552,7 @@ function k3(e, t) {
1552
1552
  return {
1553
1553
  ...r,
1554
1554
  volumeState: t,
1555
- setLevel: (u) => s(`${e}/level`, u),
1555
+ setLevel: (d) => s(`${e}/level`, d),
1556
1556
  muteOn: () => n(`${e}/muteOn`, null),
1557
1557
  muteOff: () => n(`${e}/muteOff`, null)
1558
1558
  };
@@ -1560,16 +1560,16 @@ function k3(e, t) {
1560
1560
  }
1561
1561
  function H8(e, t) {
1562
1562
  const { sendMessage: n, sendSimpleMessage: s } = m(), r = j1(e);
1563
- return T(() => !r || !t ? void 0 : {
1563
+ return E(() => !r || !t ? void 0 : {
1564
1564
  ...r,
1565
1565
  volumeState: t,
1566
- setLevel: (u) => s(`${e}/level`, u),
1566
+ setLevel: (d) => s(`${e}/level`, d),
1567
1567
  muteOn: () => n(`${e}/muteOn`, null),
1568
1568
  muteOff: () => n(`${e}/muteOff`, null)
1569
1569
  }, [r, t, e, n, s]);
1570
1570
  }
1571
1571
  function ze(e) {
1572
- const t = S(e), n = `/device/${e}`, s = T(() => {
1572
+ const t = S(e), n = `/device/${e}`, s = E(() => {
1573
1573
  if (t)
1574
1574
  return t.volume;
1575
1575
  }, [t]);
@@ -1616,17 +1616,17 @@ function U8(e) {
1616
1616
  };
1617
1617
  }
1618
1618
  function K8(e) {
1619
- const { sendMessage: t } = m(), n = `/device/${e}`, s = S(e), r = p(n, "cameraUp"), l = p(n, "cameraDown"), i = p(n, "cameraLeft"), g = p(n, "cameraRight"), u = p(n, "cameraZoomIn"), f = p(n, "cameraZoomOut"), d = (L) => t("/camera/recallPreset", L);
1619
+ const { sendMessage: t } = m(), n = `/device/${e}`, s = S(e), r = p(n, "cameraUp"), l = p(n, "cameraDown"), i = p(n, "cameraLeft"), g = p(n, "cameraRight"), d = p(n, "cameraZoomIn"), f = p(n, "cameraZoomOut"), u = (L) => t("/camera/recallPreset", L);
1620
1620
  if (s)
1621
1621
  return {
1622
1622
  state: s,
1623
- zoomIn: u,
1623
+ zoomIn: d,
1624
1624
  zoomOut: f,
1625
1625
  up: r,
1626
1626
  down: l,
1627
1627
  left: i,
1628
1628
  right: g,
1629
- recallPreset: d
1629
+ recallPreset: u
1630
1630
  };
1631
1631
  }
1632
1632
  const q8 = ({ className: e }) => {
@@ -1662,9 +1662,9 @@ function Y8(e) {
1662
1662
  };
1663
1663
  }
1664
1664
  function J8(e) {
1665
- const { sendMessage: t } = m(), n = S(e), s = T(() => {
1665
+ const { sendMessage: t } = m(), n = S(e), s = E(() => {
1666
1666
  const r = `/device/${e}`;
1667
- return { setEntry: (g, u, f) => t(`${r}/setEntry`, { index: g, name: u, number: f }), dialEntry: (g) => t(`${r}/dialEntry`, { value: g }) };
1667
+ return { setEntry: (g, d, f) => t(`${r}/setEntry`, { index: g, name: d, number: f }), dialEntry: (g) => t(`${r}/dialEntry`, { value: g }) };
1668
1668
  }, [e, t]);
1669
1669
  if (n)
1670
1670
  return {
@@ -1701,23 +1701,23 @@ function t6(e) {
1701
1701
  }
1702
1702
  function n6(e) {
1703
1703
  const { sendMessage: t } = m(), n = S(e);
1704
- return T(() => {
1704
+ return E(() => {
1705
1705
  if (!n) return;
1706
1706
  const s = `/device/${e}`;
1707
1707
  return {
1708
1708
  state: n,
1709
- dial: (d) => t(`${s}/dial`, { value: d }),
1710
- endCallById: (d) => t(`${s}/endCallById`, { value: d }),
1709
+ dial: (u) => t(`${s}/dial`, { value: u }),
1710
+ endCallById: (u) => t(`${s}/endCallById`, { value: u }),
1711
1711
  endAllCalls: () => t(`${s}/endAllCalls`, null),
1712
- sendDtmf: (d) => t(`${s}/dtmf`, { value: d }),
1713
- acceptById: (d) => t(`${s}/acceptById`, { value: d }),
1714
- rejectById: (d) => t(`${s}/rejectById`, { value: d })
1712
+ sendDtmf: (u) => t(`${s}/dtmf`, { value: u }),
1713
+ acceptById: (u) => t(`${s}/acceptById`, { value: u }),
1714
+ rejectById: (u) => t(`${s}/rejectById`, { value: u })
1715
1715
  };
1716
1716
  }, [e, t, n]);
1717
1717
  }
1718
1718
  function o6(e) {
1719
- const t = `/device/${e}`, n = p(t, "up"), s = p(t, "down"), r = p(t, "left"), l = p(t, "right"), i = p(t, "select"), g = p(t, "menu"), u = p(t, "exit");
1720
- return { up: n, down: s, left: r, right: l, select: i, menu: g, exit: u };
1719
+ const t = `/device/${e}`, n = p(t, "up"), s = p(t, "down"), r = p(t, "left"), l = p(t, "right"), i = p(t, "select"), g = p(t, "menu"), d = p(t, "exit");
1720
+ return { up: n, down: s, left: r, right: l, select: i, menu: g, exit: d };
1721
1721
  }
1722
1722
  function s6(e) {
1723
1723
  const { sendMessage: t } = m();
@@ -1740,15 +1740,15 @@ function r6(e) {
1740
1740
  t(`/device/${e}/setManualMode`, null);
1741
1741
  }, toggleMode: () => {
1742
1742
  t(`/device/${e}/toggleMode`, null);
1743
- }, togglePartitionState: (u) => {
1744
- t(`/device/${e}/togglePartitionState`, u);
1745
- }, setRoomCombinationScenario: (u) => {
1746
- t(`/device/${e}/setRoomCombinationScenario`, u);
1743
+ }, togglePartitionState: (d) => {
1744
+ t(`/device/${e}/togglePartitionState`, d);
1745
+ }, setRoomCombinationScenario: (d) => {
1746
+ t(`/device/${e}/setRoomCombinationScenario`, d);
1747
1747
  } } : void 0;
1748
1748
  }
1749
1749
  function l6(e) {
1750
1750
  const { sendMessage: t } = m(), n = S(e);
1751
- return T(() => {
1751
+ return E(() => {
1752
1752
  if (!n) return;
1753
1753
  const s = `/device/${e}`;
1754
1754
  return {
@@ -1792,7 +1792,7 @@ function u6(e) {
1792
1792
  }
1793
1793
  function d6(e) {
1794
1794
  const { sendMessage: t } = m(), n = S(e);
1795
- return T(() => {
1795
+ return E(() => {
1796
1796
  if (!n) return;
1797
1797
  const s = `/device/${e}`;
1798
1798
  return {
@@ -1803,7 +1803,7 @@ function d6(e) {
1803
1803
  }
1804
1804
  function v6(e) {
1805
1805
  const { sendMessage: t } = m();
1806
- return T(() => {
1806
+ return E(() => {
1807
1807
  const n = `/device/${e}`;
1808
1808
  return {
1809
1809
  recallPreset: (l) => t(`${n}/recallPreset`, { value: l }),
@@ -1813,32 +1813,34 @@ function v6(e) {
1813
1813
  }
1814
1814
  function g6(e) {
1815
1815
  const { sendMessage: t } = m(), n = S(e);
1816
- return T(() => n ? {
1816
+ return E(() => n ? {
1817
1817
  state: n,
1818
- dial: (u) => t(`/device/${e}/dial`, { value: u }),
1818
+ dial: (d) => t(`/device/${e}/dial`, { value: d }),
1819
1819
  endAllCalls: () => t(`/device/${e}/endAllCalls`, null),
1820
- sendDtmf: (u) => t(`/device/${e}/dtmf`, { value: u }),
1821
- acceptCall: (u) => t(`/device/${e}/acceptCall`, u),
1822
- rejectCall: (u) => t(`/device/${e}/rejectCall`, u)
1820
+ sendDtmf: (d) => t(`/device/${e}/dtmf`, { value: d }),
1821
+ acceptCall: (d) => t(`/device/${e}/acceptCall`, d),
1822
+ rejectCall: (d) => t(`/device/${e}/rejectCall`, d)
1823
1823
  } : void 0, [e, t, n]);
1824
1824
  }
1825
1825
  function h6(e) {
1826
1826
  const { sendMessage: t } = m(), n = S(e);
1827
- return T(() => {
1827
+ return E(() => {
1828
1828
  if (!n) return;
1829
1829
  const s = `/device/${e}`;
1830
1830
  return {
1831
1831
  state: n,
1832
1832
  getDirectory: () => t(`${s}/getDirectory`, null),
1833
+ setDirectoryToRoot: () => t(`${s}/setCurrentDirectoryToRoot`, null),
1833
1834
  directoryById: (u) => t(`${s}/directoryById`, { value: u }),
1834
1835
  directorySearch: (u) => t(`${s}/directorySearch`, { value: u }),
1835
- directoryBack: () => t(`${s}/directoryBack`, null)
1836
+ directoryBack: () => t(`${s}/directoryBack`, null),
1837
+ getDirectoryParentFolderContents: () => t(`${s}/getDirectoryParentFolderContents`, null)
1836
1838
  };
1837
1839
  }, [e, t, n]);
1838
1840
  }
1839
1841
  function f6(e) {
1840
1842
  const { sendMessage: t } = m(), n = S(e);
1841
- return T(() => {
1843
+ return E(() => {
1842
1844
  if (!n) return;
1843
1845
  const s = `/device/${e}`;
1844
1846
  return {
@@ -1851,7 +1853,7 @@ function f6(e) {
1851
1853
  }
1852
1854
  function m6(e) {
1853
1855
  const { sendMessage: t } = m(), n = S(e);
1854
- return T(() => {
1856
+ return E(() => {
1855
1857
  if (!n) return;
1856
1858
  const s = `/device/${e}`;
1857
1859
  return {
@@ -1859,13 +1861,13 @@ function m6(e) {
1859
1861
  startRecording: () => t(`${s}/startRecording`, null),
1860
1862
  stopRecording: () => t(`${s}/stopRecording`, null),
1861
1863
  toggleRecording: () => t(`${s}/toggleRecording`, null),
1862
- recordPromptAcknowledge: (u) => t(`${s}/recordPromptAcknowledge`, { value: u })
1864
+ recordPromptAcknowledge: (d) => t(`${s}/recordPromptAcknowledge`, { value: d })
1863
1865
  };
1864
1866
  }, [e, t, n]);
1865
1867
  }
1866
1868
  function p6(e) {
1867
1869
  const { sendMessage: t } = m();
1868
- return T(() => {
1870
+ return E(() => {
1869
1871
  const n = `/device/${e}`;
1870
1872
  return {
1871
1873
  muteAllParticipants: () => t(`${n}/muteAllParticipants`, null),
@@ -1876,36 +1878,36 @@ function p6(e) {
1876
1878
  }
1877
1879
  function w6(e) {
1878
1880
  const { sendMessage: t } = m(), n = S(e);
1879
- return T(() => {
1881
+ return E(() => {
1880
1882
  if (!n) return;
1881
1883
  const s = `/device/${e}`;
1882
1884
  return {
1883
1885
  state: n,
1884
- pinParticipant: (g, u) => t(`${s}/pinParticipant`, { userId: g, screenIndex: u }),
1886
+ pinParticipant: (g, d) => t(`${s}/pinParticipant`, { userId: g, screenIndex: d }),
1885
1887
  unpinParticipant: (g) => t(`${s}/unpinParticipant`, { value: g }),
1886
- toggleParticipantPin: (g, u) => t(`${s}/toggleParticipantPin`, { userId: g, screenIndex: u })
1888
+ toggleParticipantPin: (g, d) => t(`${s}/toggleParticipantPin`, { userId: g, screenIndex: d })
1887
1889
  };
1888
1890
  }, [e, t, n]);
1889
1891
  }
1890
1892
  function M6(e) {
1891
1893
  const { sendMessage: t } = m(), n = S(e);
1892
- return T(() => {
1894
+ return E(() => {
1893
1895
  if (!n) return;
1894
1896
  const s = `/device/${e}`;
1895
1897
  return {
1896
1898
  state: n,
1897
- removeParticipant: (d) => t(`${s}/removeParticipant`, { value: d }),
1898
- setParticipantAsHost: (d) => t(`${s}/setParticipantAsHost`, { value: d }),
1899
- admitParticipantFromWaitingRoom: (d) => t(`${s}/admitParticipantFromWaitingRoom`, { value: d }),
1899
+ removeParticipant: (u) => t(`${s}/removeParticipant`, { value: u }),
1900
+ setParticipantAsHost: (u) => t(`${s}/setParticipantAsHost`, { value: u }),
1901
+ admitParticipantFromWaitingRoom: (u) => t(`${s}/admitParticipantFromWaitingRoom`, { value: u }),
1900
1902
  admitAllFromWaitingRoom: () => t(`${s}/admitAllFromWaitingRoom`, null),
1901
- removeFromWaitingRoom: (d) => t(`${s}/removeFromWaitingRoom`, { value: d }),
1903
+ removeFromWaitingRoom: (u) => t(`${s}/removeFromWaitingRoom`, { value: u }),
1902
1904
  removeAllFromWaitingRoom: () => t(`${s}/removeAllFromWaitingRoom`, null)
1903
1905
  };
1904
1906
  }, [e, t, n]);
1905
1907
  }
1906
1908
  function x6(e) {
1907
1909
  const { sendMessage: t } = m();
1908
- return T(() => {
1910
+ return E(() => {
1909
1911
  const n = `/device/${e}`;
1910
1912
  return {
1911
1913
  muteVideoForParticipant: (i) => t(`${n}/muteVideoForParticipant`, { value: i }),
@@ -1916,7 +1918,7 @@ function x6(e) {
1916
1918
  }
1917
1919
  function S6(e) {
1918
1920
  const { sendMessage: t } = m(), n = S(e);
1919
- return T(() => {
1921
+ return E(() => {
1920
1922
  if (!n) return;
1921
1923
  const s = `/device/${e}`;
1922
1924
  return {
@@ -1929,7 +1931,7 @@ function S6(e) {
1929
1931
  }
1930
1932
  function Z6(e) {
1931
1933
  const { sendMessage: t } = m();
1932
- return T(() => {
1934
+ return E(() => {
1933
1935
  const n = `/device/${e}`;
1934
1936
  return {
1935
1937
  dialPresent: () => t(`${n}/dialPresent`, null),
@@ -1939,7 +1941,18 @@ function Z6(e) {
1939
1941
  }
1940
1942
  function C6(e) {
1941
1943
  const { sendMessage: t } = m(), n = S(e);
1942
- return T(() => {
1944
+ return E(() => {
1945
+ if (!n) return;
1946
+ const s = `/device/${e}`;
1947
+ return {
1948
+ state: n,
1949
+ getSchedule: () => t(`${s}/schedule/fullStatus`, null)
1950
+ };
1951
+ }, [e, t, n]);
1952
+ }
1953
+ function j6(e) {
1954
+ const { sendMessage: t } = m(), n = S(e);
1955
+ return E(() => {
1943
1956
  if (!n) return;
1944
1957
  const s = `/device/${e}`;
1945
1958
  return {
@@ -1949,9 +1962,9 @@ function C6(e) {
1949
1962
  };
1950
1963
  }, [e, t, n]);
1951
1964
  }
1952
- function j6(e) {
1965
+ function b6(e) {
1953
1966
  const { sendMessage: t } = m(), n = S(e);
1954
- return T(() => {
1967
+ return E(() => {
1955
1968
  if (!n) return;
1956
1969
  const s = `/device/${e}`;
1957
1970
  return {
@@ -1961,9 +1974,9 @@ function j6(e) {
1961
1974
  };
1962
1975
  }, [e, t, n]);
1963
1976
  }
1964
- function b6(e) {
1977
+ function I6(e) {
1965
1978
  const { sendMessage: t } = m(), n = S(e);
1966
- return T(() => {
1979
+ return E(() => {
1967
1980
  if (!n) return;
1968
1981
  const s = `/device/${e}`;
1969
1982
  return {
@@ -1973,50 +1986,50 @@ function b6(e) {
1973
1986
  };
1974
1987
  }, [e, t, n]);
1975
1988
  }
1976
- function I6(e) {
1989
+ function y6(e) {
1977
1990
  const { sendMessage: t } = m(), n = S(e);
1978
- return T(() => {
1991
+ return E(() => {
1979
1992
  if (!n) return;
1980
1993
  const s = `/device/${e}`;
1981
1994
  return {
1982
1995
  state: n,
1983
- selectLayout: (u) => t(`${s}/selectLayout`, { value: u }),
1996
+ selectLayout: (d) => t(`${s}/selectLayout`, { value: d }),
1984
1997
  participantsNextPage: () => t(`${s}/participantsNextPage`, null),
1985
1998
  participantsPreviousPage: () => t(`${s}/participantsPreviousPage`, null),
1986
1999
  swapContentWithThumbnail: () => t(`${s}/swapContentWithThumbnail`, null)
1987
2000
  };
1988
2001
  }, [e, t, n]);
1989
2002
  }
1990
- function y6(e) {
2003
+ function R6(e) {
1991
2004
  const { sendMessage: t, sendSimpleMessage: n } = m(), s = S(e), r = oe(e), l = s || r;
1992
2005
  return l ? {
1993
2006
  levelState: l,
1994
- setLevel: (d, L) => n(`${d}/level`, L),
1995
- muteToggle: (d) => t(`${d}/muteToggle`, null),
1996
- muteOn: (d) => t(`${d}/muteOn`, null),
1997
- muteOff: (d) => t(`${d}/muteOff`, null)
2007
+ setLevel: (u, L) => n(`${u}/level`, L),
2008
+ muteToggle: (u) => t(`${u}/muteToggle`, null),
2009
+ muteOn: (u) => t(`${u}/muteOn`, null),
2010
+ muteOff: (u) => t(`${u}/muteOff`, null)
1998
2011
  } : void 0;
1999
2012
  }
2000
- function R6(e) {
2013
+ function P6(e) {
2001
2014
  const { sendMessage: t } = m(), n = S(e);
2002
2015
  return n ? { lightingState: n, selectScene: (r) => {
2003
2016
  t(`/device/${e}/selectScene`, r);
2004
2017
  } } : void 0;
2005
2018
  }
2006
- function P6(e) {
2019
+ function $6(e) {
2007
2020
  const { sendMessage: t } = m(), n = S(e);
2008
2021
  return n ? { matrixRoutingState: n, setRoute: (r) => {
2009
2022
  t(`/device/${e}/route`, r);
2010
2023
  } } : void 0;
2011
2024
  }
2012
- function $6(e) {
2025
+ function E6(e) {
2013
2026
  const { sendMessage: t } = m();
2014
2027
  return { closeApp: () => {
2015
2028
  t(`/device/${e}/closeWebViewController`, null);
2016
2029
  } };
2017
2030
  }
2018
- function E6(e) {
2019
- const t = `/device/${e}`, n = p(t, "num0"), s = p(t, "num1"), r = p(t, "num2"), l = p(t, "num3"), i = p(t, "num4"), g = p(t, "num5"), u = p(t, "num6"), f = p(t, "num7"), d = p(t, "num8"), L = p(t, "num9"), A = p(t, "numDash"), v = p(t, "numEnter");
2031
+ function T6(e) {
2032
+ const t = `/device/${e}`, n = p(t, "num0"), s = p(t, "num1"), r = p(t, "num2"), l = p(t, "num3"), i = p(t, "num4"), g = p(t, "num5"), d = p(t, "num6"), f = p(t, "num7"), u = p(t, "num8"), L = p(t, "num9"), A = p(t, "numDash"), v = p(t, "numEnter");
2020
2033
  return {
2021
2034
  digit0: n,
2022
2035
  digit1: s,
@@ -2024,15 +2037,15 @@ function E6(e) {
2024
2037
  digit3: l,
2025
2038
  digit4: i,
2026
2039
  digit5: g,
2027
- digit6: u,
2040
+ digit6: d,
2028
2041
  digit7: f,
2029
- digit8: d,
2042
+ digit8: u,
2030
2043
  digit9: L,
2031
2044
  keypadAccessoryButton1: A,
2032
2045
  keypadAccessoryButton2: v
2033
2046
  };
2034
2047
  }
2035
- function T6(e) {
2048
+ function D6(e) {
2036
2049
  const { sendMessage: t } = m(), n = S(e);
2037
2050
  return n ? { projectorScreenLiftControlState: n, raise: () => {
2038
2051
  t(`/device/${e}/raise`, null);
@@ -2040,35 +2053,35 @@ function T6(e) {
2040
2053
  t(`/device/${e}/lower`, null);
2041
2054
  } } : void 0;
2042
2055
  }
2043
- function D6(e) {
2056
+ function A6(e) {
2044
2057
  const { sendMessage: t } = m(), n = C1(e);
2045
2058
  return n ? { roomEventScheduleState: n, save: (r) => {
2046
2059
  t(`/room/${e}/saveScheduledEvents`, r);
2047
2060
  } } : void 0;
2048
2061
  }
2049
- function A6(e) {
2062
+ function L6(e) {
2050
2063
  const { sendMessage: t } = m();
2051
2064
  return { runDefaultPresentRoute: () => {
2052
2065
  t(`/room/${e}/defaultsource`, {});
2053
2066
  } };
2054
2067
  }
2055
- function L6(e) {
2068
+ function _6(e) {
2056
2069
  const { sendMessage: t } = m();
2057
2070
  return { runDirectRoute: (s) => {
2058
2071
  t(`/room/${e}/directRoute`, s);
2059
2072
  } };
2060
2073
  }
2061
- function _6(e) {
2074
+ function B6(e) {
2062
2075
  const { sendMessage: t } = m();
2063
2076
  return { routingState: S(e), runRoute: (r) => {
2064
2077
  t(`/room/${e}/source`, r);
2065
2078
  } };
2066
2079
  }
2067
- function B6(e) {
2080
+ function O6(e) {
2068
2081
  const t = `/device/${e}`, n = p(t, "chanUp"), s = p(t, "chanDown");
2069
2082
  return { dvrList: n, replay: s };
2070
2083
  }
2071
- function O6(e) {
2084
+ function W6(e) {
2072
2085
  const { sendMessage: t } = m(), n = S(e);
2073
2086
  return n ? { shadeState: n, shadeUp: () => {
2074
2087
  t(`/device/${e}/shadeUp`, null);
@@ -2078,7 +2091,7 @@ function O6(e) {
2078
2091
  t(`/device/${e}/stopOrPreset`, null);
2079
2092
  } } : void 0;
2080
2093
  }
2081
- function W6(e) {
2094
+ function V6(e) {
2082
2095
  const { sendMessage: t } = m(), n = C1(e);
2083
2096
  return n ? { shutdownPromptTimerState: n, setShutdownPromptSeconds: (g) => {
2084
2097
  t(`/room/${e}/setShutdownPromptSeconds`, g);
@@ -2090,7 +2103,7 @@ function W6(e) {
2090
2103
  t(`/room/${e}/shutdownCancel`, null);
2091
2104
  } } : void 0;
2092
2105
  }
2093
- function V6(e) {
2106
+ function k6(e) {
2094
2107
  const { sendMessage: t } = m(), n = S(e);
2095
2108
  return n ? { switchedOutputState: n, on: () => {
2096
2109
  t(`/device/${e}/on`, null);
@@ -2098,7 +2111,7 @@ function V6(e) {
2098
2111
  t(`/device/${e}/off`, null);
2099
2112
  } } : void 0;
2100
2113
  }
2101
- function k6(e) {
2114
+ function F6(e) {
2102
2115
  const { sendMessage: t } = m(), n = C1(e);
2103
2116
  return n ? { techPasswordState: n, validatePassword: (l) => {
2104
2117
  t(`/room/${e}/validateTechPassword`, { password: l });
@@ -2106,11 +2119,11 @@ function k6(e) {
2106
2119
  t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: i });
2107
2120
  } } : void 0;
2108
2121
  }
2109
- function F6(e) {
2122
+ function H6(e) {
2110
2123
  const { sendMessage: t } = m(), n = S(e);
2111
2124
  return n ? { state: n, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
2112
2125
  }
2113
- function H6(e) {
2126
+ function U6(e) {
2114
2127
  const { sendMessage: t } = m(), n = S(e), s = (r) => {
2115
2128
  t(`/device/${e}/saveTheme`, { value: r });
2116
2129
  };
@@ -2119,8 +2132,8 @@ function H6(e) {
2119
2132
  saveTheme: s
2120
2133
  };
2121
2134
  }
2122
- function U6(e) {
2123
- const t = `/device/${e}`, n = p(t, "play"), s = p(t, "pause"), r = p(t, "stop"), l = p(t, "prevTrack"), i = p(t, "nextTrack"), g = p(t, "rewind"), u = p(t, "ffwd"), f = p(t, "record");
2135
+ function K6(e) {
2136
+ const t = `/device/${e}`, n = p(t, "play"), s = p(t, "pause"), r = p(t, "stop"), l = p(t, "prevTrack"), i = p(t, "nextTrack"), g = p(t, "rewind"), d = p(t, "ffwd"), f = p(t, "record");
2124
2137
  return {
2125
2138
  play: n,
2126
2139
  pause: s,
@@ -2128,18 +2141,18 @@ function U6(e) {
2128
2141
  prevTrack: l,
2129
2142
  nextTrack: i,
2130
2143
  rewind: g,
2131
- fastForward: u,
2144
+ fastForward: d,
2132
2145
  record: f
2133
2146
  };
2134
2147
  }
2135
- function K6(e) {
2148
+ function q6(e) {
2136
2149
  const t = S(e);
2137
- return T(() => {
2150
+ return E(() => {
2138
2151
  if (t)
2139
2152
  return { state: t };
2140
2153
  }, [t]);
2141
2154
  }
2142
- function q6(e) {
2155
+ function G6(e) {
2143
2156
  const t = S(e), { sendMessage: n } = m();
2144
2157
  return t ? {
2145
2158
  touchpanelState: t,
@@ -2155,7 +2168,7 @@ function q6(e) {
2155
2168
  } }
2156
2169
  } : void 0;
2157
2170
  }
2158
- function G6(e) {
2171
+ function z6(e) {
2159
2172
  const t = S(e), n = F3(e), s = W1(e);
2160
2173
  if (!t) return;
2161
2174
  const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
@@ -2166,9 +2179,9 @@ function G6(e) {
2166
2179
  powerFb: { powerOnFb: r, powerOffFb: l }
2167
2180
  };
2168
2181
  }
2169
- function z6(e) {
2182
+ function Y6(e) {
2170
2183
  const { sendMessage: t } = m(), n = S(e);
2171
- return T(() => {
2184
+ return E(() => {
2172
2185
  if (!n) return;
2173
2186
  const s = `/device/${e}`;
2174
2187
  return {
@@ -2184,37 +2197,37 @@ function z6(e) {
2184
2197
  };
2185
2198
  }, [e, t, n]);
2186
2199
  }
2187
- function Y6(e) {
2200
+ function J6(e) {
2188
2201
  const t = `/device/${e}`;
2189
2202
  return j1(t);
2190
2203
  }
2191
- const J6 = ({
2204
+ const X6 = ({
2192
2205
  config: e
2193
2206
  }, t = !0) => {
2194
- const { sendMessage: n } = m(), s = d1(!1), r = T(() => {
2195
- var i, g, u, f;
2207
+ const { sendMessage: n } = m(), s = d1(!1), r = E(() => {
2208
+ var i, g, d, f;
2196
2209
  if (!e)
2197
2210
  return;
2198
2211
  const l = /* @__PURE__ */ new Set();
2199
- if (e.destinations && Object.values(e.destinations).forEach((d) => {
2200
- l.add(d);
2201
- }), e.destinationList && Object.values(e.destinationList).forEach((d) => {
2202
- l.add(d.sinkKey);
2212
+ if (e.destinations && Object.values(e.destinations).forEach((u) => {
2213
+ l.add(u);
2214
+ }), e.destinationList && Object.values(e.destinationList).forEach((u) => {
2215
+ l.add(u.sinkKey);
2203
2216
  }), e.audioControlPointList && Object.values((i = e.audioControlPointList) == null ? void 0 : i.levelControls).forEach(
2204
- (d) => {
2205
- d.itemKey ? l.add(d.parentDeviceKey + "--" + d.itemKey) : l.add(d.parentDeviceKey);
2217
+ (u) => {
2218
+ u.itemKey ? l.add(u.parentDeviceKey + "--" + u.itemKey) : l.add(u.parentDeviceKey);
2206
2219
  }
2207
- ), (g = e.touchpanelKeys) == null || g.forEach((d) => {
2208
- l.add(d);
2209
- }), (u = e.environmentalDevices) == null || u.forEach((d) => {
2210
- d.deviceKey && l.add(d.deviceKey);
2211
- }), (f = e.accessoryDeviceKeys) == null || f.forEach((d) => {
2212
- l.add(d);
2213
- }), e.audioCodecKey && l.add(e.audioCodecKey), e.videoCodecKey && l.add(e.videoCodecKey), e.matrixRoutingKey && l.add(e.matrixRoutingKey), e.roomCombinerKey && l.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((d) => {
2214
- l.add(d);
2220
+ ), (g = e.touchpanelKeys) == null || g.forEach((u) => {
2221
+ l.add(u);
2222
+ }), (d = e.environmentalDevices) == null || d.forEach((u) => {
2223
+ u.deviceKey && l.add(u.deviceKey);
2224
+ }), (f = e.accessoryDeviceKeys) == null || f.forEach((u) => {
2225
+ l.add(u);
2226
+ }), e.audioCodecKey && l.add(e.audioCodecKey), e.videoCodecKey && l.add(e.videoCodecKey), e.matrixRoutingKey && l.add(e.matrixRoutingKey), e.roomCombinerKey && l.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((u) => {
2227
+ l.add(u);
2215
2228
  }), e.sourceList)
2216
- for (const d of Object.values(e.sourceList))
2217
- d.sourceKey && d.sourceKey !== "$off" && l.add(d.sourceKey);
2229
+ for (const u of Object.values(e.sourceList))
2230
+ u.sourceKey && u.sourceKey !== "$off" && l.add(u.sourceKey);
2218
2231
  return l;
2219
2232
  }, [e]);
2220
2233
  return S1(() => {
@@ -2224,41 +2237,41 @@ const J6 = ({
2224
2237
  console.log("requesting batch state for deviceKeys:", l), n("/system/batchDeviceFullStatus", { deviceKeys: l }), s.current = !0;
2225
2238
  }, [r, t, n]), r;
2226
2239
  };
2227
- function X6(e, t) {
2240
+ function Q6(e, t) {
2228
2241
  const [n, s] = Y(!1), [r, l] = Y(!1);
2229
2242
  return S3(() => {
2230
2243
  const { current: i } = e, g = () => {
2231
- const u = i && i.scrollHeight > i.clientHeight, f = i && i.scrollWidth > i.clientWidth;
2232
- l(u ?? !1), s(f ?? !1), t && t(u ?? !1, f ?? !1);
2244
+ const d = i && i.scrollHeight > i.clientHeight, f = i && i.scrollWidth > i.clientWidth;
2245
+ l(d ?? !1), s(f ?? !1), t && t(d ?? !1, f ?? !1);
2233
2246
  };
2234
2247
  i && g();
2235
2248
  }, [e, t]), { overflowHorizontal: n, overflowVertical: r };
2236
2249
  }
2237
- function Q6(e, t) {
2250
+ function N6(e, t) {
2238
2251
  const n = `/room/${e}/volumes/${t}`;
2239
2252
  return j1(n);
2240
2253
  }
2241
- function N6(e, t) {
2254
+ function en(e, t) {
2242
2255
  const n = ne(e, t), s = `/room/${e}/volumes/${t}`;
2243
2256
  return k3(s, n);
2244
2257
  }
2245
- function en(e) {
2246
- var g, u;
2247
- const [t, n] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [s, r] = Y(((u = e == null ? void 0 : e.current) == null ? void 0 : u.scrollTop) ?? 0), l = (f) => {
2248
- const { current: d } = e;
2249
- d && (console.log(d.scrollLeft), d.scrollLeft += f, console.log(d.scrollLeft));
2258
+ function tn(e) {
2259
+ var g, d;
2260
+ const [t, n] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [s, r] = Y(((d = e == null ? void 0 : e.current) == null ? void 0 : d.scrollTop) ?? 0), l = (f) => {
2261
+ const { current: u } = e;
2262
+ u && (console.log(u.scrollLeft), u.scrollLeft += f, console.log(u.scrollLeft));
2250
2263
  }, i = (f) => {
2251
- const { current: d } = e;
2252
- d && (console.log(d.scrollTop), d.scrollTop += f, console.log(d.scrollTop));
2264
+ const { current: u } = e;
2265
+ u && (console.log(u.scrollTop), u.scrollTop += f, console.log(u.scrollTop));
2253
2266
  };
2254
2267
  return S3(() => {
2255
- const { current: f } = e, d = () => {
2268
+ const { current: f } = e, u = () => {
2256
2269
  n((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
2257
2270
  };
2258
- f && d();
2271
+ f && u();
2259
2272
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: s, scrollHorizontal: l, scrollVertical: i };
2260
2273
  }
2261
- function tn(e) {
2274
+ function nn(e) {
2262
2275
  const t = V1();
2263
2276
  return [() => {
2264
2277
  t(V.addSyncState(e));
@@ -2266,7 +2279,7 @@ function tn(e) {
2266
2279
  t(V.removeSyncState(e));
2267
2280
  }, Se(e)];
2268
2281
  }
2269
- function nn() {
2282
+ function on() {
2270
2283
  const { sendMessage: e } = m();
2271
2284
  return {
2272
2285
  reboot: () => {
@@ -2277,7 +2290,7 @@ function nn() {
2277
2290
  }
2278
2291
  };
2279
2292
  }
2280
- function on() {
2293
+ function sn() {
2281
2294
  const [e, t] = Y(), [n, s] = Y();
2282
2295
  function r() {
2283
2296
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -2292,7 +2305,7 @@ function on() {
2292
2305
  return () => clearInterval(l);
2293
2306
  }, []), { date: e, time: n };
2294
2307
  }
2295
- const sn = () => {
2308
+ const cn = () => {
2296
2309
  const [e, t] = Y(!1), n = y2(), s = R2();
2297
2310
  let r;
2298
2311
  return P2(s) ? r = s.statusText : s instanceof Error ? r = s.message : typeof s == "string" ? r = s : (console.error(s), r = "Unknown error"), /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
@@ -2328,13 +2341,13 @@ const sn = () => {
2328
2341
  otherContentClassName: l = "",
2329
2342
  disabled: i,
2330
2343
  feedback: g,
2331
- feedbackClassName: u,
2344
+ feedbackClassName: d,
2332
2345
  onPointerDown: f,
2333
- onPointerUp: d,
2346
+ onPointerUp: u,
2334
2347
  onPointerLeave: L,
2335
2348
  ...A
2336
2349
  }) => {
2337
- const [v, C] = Y(!1), b = !i && g ? u : "", j = !i && (v || g);
2350
+ const [v, C] = Y(!1), b = !i && g ? d : "", j = !i && (v || g);
2338
2351
  return /* @__PURE__ */ o.jsxs(
2339
2352
  "button",
2340
2353
  {
@@ -2346,7 +2359,7 @@ const sn = () => {
2346
2359
  C(!0), f == null || f(I);
2347
2360
  },
2348
2361
  onPointerUp: (I) => {
2349
- C(!1), d == null || d(I);
2362
+ C(!1), u == null || u(I);
2350
2363
  },
2351
2364
  onPointerLeave: (I) => {
2352
2365
  C(!1), L == null || L(I);
@@ -3570,7 +3583,7 @@ const sn = () => {
3570
3583
  active: e,
3571
3584
  disabled: n
3572
3585
  }
3573
- ), cn = ({
3586
+ ), rn = ({
3574
3587
  active: e,
3575
3588
  // Just to shut up the linter on this template. Prefer deleting this lint rule
3576
3589
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -4011,7 +4024,7 @@ const sn = () => {
4011
4024
  X: Pt,
4012
4025
  Xbox: $t
4013
4026
  };
4014
- function rn({
4027
+ function ln({
4015
4028
  name: e,
4016
4029
  iconsDictionary: t = Tt,
4017
4030
  ...n
@@ -4025,7 +4038,7 @@ const Dt = "_grid_1cmpp_1", At = "_header_1cmpp_11", Lt = "_content_1cmpp_17", _
4025
4038
  content: Lt,
4026
4039
  footer: _t,
4027
4040
  volume: Bt
4028
- }, ln = ({ header: e, footer: t, content: n, volume: s, showVolume: r }) => /* @__PURE__ */ o.jsxs("div", { className: u1.grid, children: [
4041
+ }, an = ({ header: e, footer: t, content: n, volume: s, showVolume: r }) => /* @__PURE__ */ o.jsxs("div", { className: u1.grid, children: [
4029
4042
  /* @__PURE__ */ o.jsx("div", { className: u1.header, children: e }),
4030
4043
  /* @__PURE__ */ o.jsx("div", { className: u1.content, children: n }),
4031
4044
  r && /* @__PURE__ */ o.jsx("div", { className: u1.volume, children: s }),
@@ -4034,7 +4047,7 @@ const Dt = "_grid_1cmpp_1", At = "_header_1cmpp_11", Lt = "_content_1cmpp_17", _
4034
4047
  grid: Ot,
4035
4048
  header: Wt,
4036
4049
  content: Vt
4037
- }, an = ({ className: e, header: t, content: n, leftNav: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${x1.grid}`, children: [
4050
+ }, un = ({ className: e, header: t, content: n, leftNav: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${x1.grid}`, children: [
4038
4051
  /* @__PURE__ */ o.jsx("div", { className: x1.header, children: t }),
4039
4052
  s && /* @__PURE__ */ o.jsx("div", { className: x1.leftNav, children: s }),
4040
4053
  /* @__PURE__ */ o.jsx("div", { className: x1.content, children: n })
@@ -4042,33 +4055,33 @@ const Dt = "_grid_1cmpp_1", At = "_header_1cmpp_11", Lt = "_content_1cmpp_17", _
4042
4055
  grid: kt,
4043
4056
  header: Ft,
4044
4057
  content: Ht
4045
- }, un = ({ className: e, header: t, content: n }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${_1.grid}`, children: [
4058
+ }, dn = ({ className: e, header: t, content: n }) => /* @__PURE__ */ o.jsxs("div", { className: `${e} ${_1.grid}`, children: [
4046
4059
  /* @__PURE__ */ o.jsx("div", { className: _1.header, children: t }),
4047
4060
  /* @__PURE__ */ o.jsx("div", { className: _1.content, children: n })
4048
4061
  ] });
4049
- class dn {
4062
+ class vn {
4050
4063
  constructor() {
4051
4064
  G(this, "currentShareText");
4052
4065
  G(this, "enabled");
4053
4066
  G(this, "isSharing");
4054
4067
  }
4055
4068
  }
4056
- function vn() {
4069
+ function gn() {
4057
4070
  return console.log(location.pathname), location.pathname;
4058
4071
  }
4059
4072
  var Ut = /* @__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))(Ut || {});
4060
- class gn {
4073
+ class hn {
4061
4074
  constructor(t, n) {
4062
4075
  G(this, "path");
4063
4076
  G(this, "handler");
4064
4077
  this.path = t, this.handler = n;
4065
4078
  }
4066
4079
  }
4067
- const hn = "$off";
4080
+ const fn = "$off";
4068
4081
  export {
4069
4082
  q8 as Clock,
4070
4083
  Ut as DaysOfWeek,
4071
- sn as ErrorBox,
4084
+ cn as ErrorBox,
4072
4085
  Ne as IconButton,
4073
4086
  et as IconMultiAlert,
4074
4087
  tt as IconMultiBan,
@@ -4095,7 +4108,7 @@ export {
4095
4108
  St as IconMultiRoomPC,
4096
4109
  Zt as IconMultiShade,
4097
4110
  Ct as IconMultiSun,
4098
- cn as IconMultiTemplate,
4111
+ rn as IconMultiTemplate,
4099
4112
  jt as IconMultiUpArrow,
4100
4113
  bt as IconMultiVolDown,
4101
4114
  It as IconMultiVolMute,
@@ -4103,14 +4116,14 @@ export {
4103
4116
  Rt as IconMultiWireless,
4104
4117
  Pt as IconMultiX,
4105
4118
  $t as IconMultiXbox,
4106
- ln as MainLayout,
4107
- gn as MessageHandler,
4119
+ an as MainLayout,
4120
+ hn as MessageHandler,
4108
4121
  k8 as MobileControlProvider,
4109
4122
  P as MultiStateIconContainer,
4110
- rn as NamedIconButton,
4111
- dn as ShareState,
4112
- an as TechLayout,
4113
- un as TechPinLayout,
4123
+ ln as NamedIconButton,
4124
+ vn as ShareState,
4125
+ un as TechLayout,
4126
+ dn as TechPinLayout,
4114
4127
  _3 as WS_ADD_EVENT_HANDLER,
4115
4128
  D3 as WS_CONNECT,
4116
4129
  A3 as WS_DISCONNECT,
@@ -4121,10 +4134,10 @@ export {
4121
4134
  E3 as appConfigActions,
4122
4135
  Be as createWebSocketMiddleware,
4123
4136
  p1 as devicesActions,
4124
- vn as getBaseLocation,
4137
+ gn as getBaseLocation,
4125
4138
  f3 as httpClient,
4126
4139
  Tt as iconsDictionary,
4127
- hn as roomOffSourceKey,
4140
+ fn as roomOffSourceKey,
4128
4141
  w1 as roomsActions,
4129
4142
  U as runtimeConfigActions,
4130
4143
  j3 as selectAllDevices,
@@ -4184,14 +4197,14 @@ export {
4184
4197
  p as useButtonHeldHeartbeat,
4185
4198
  K8 as useCameraBase,
4186
4199
  Z8 as useClientId,
4187
- Y6 as useDeviceIBasicVolume,
4200
+ J6 as useDeviceIBasicVolume,
4188
4201
  ze as useDeviceIBasicVolumeWithFeedback,
4189
4202
  P8 as useDeviceInterfaceSupport,
4190
4203
  G8 as useDevicePresetsModel,
4191
4204
  E8 as useDeviceSupportsInterface,
4192
4205
  z8 as useEndpoint,
4193
4206
  Me as useError,
4194
- J6 as useGetAllDeviceStateFromRoomConfiguration,
4207
+ X6 as useGetAllDeviceStateFromRoomConfiguration,
4195
4208
  t8 as useGetAllDevices,
4196
4209
  o8 as useGetAllRooms,
4197
4210
  L8 as useGetCurrentPopoverIdForGroup,
@@ -4232,39 +4245,40 @@ export {
4232
4245
  S6 as useIHasPhoneDialing,
4233
4246
  F3 as useIHasPowerControl,
4234
4247
  Z6 as useIHasPresentationOnlyMeeting,
4248
+ C6 as useIHasScheduleAwareness,
4235
4249
  W1 as useIHasSelectableItems,
4236
- C6 as useIHasSelfviewPosition,
4237
- j6 as useIHasSelfviewSize,
4238
- b6 as useIHasStartMeeting,
4250
+ j6 as useIHasSelfviewPosition,
4251
+ b6 as useIHasSelfviewSize,
4252
+ I6 as useIHasStartMeeting,
4239
4253
  Ye as useIHasSurroundChannels,
4240
- I6 as useIHasZoomRoomLayouts,
4241
- y6 as useILevelControls,
4242
- R6 as useILightingScenes,
4243
- P6 as useIMatrixRouting,
4244
- $6 as useIMcCiscoCodecUserInterfaceAppControl,
4245
- E6 as useINumeric,
4246
- T6 as useIProjectorScreenLiftControl,
4247
- D6 as useIRoomEventSchedule,
4248
- A6 as useIRunDefaultPresentRoute,
4249
- L6 as useIRunDirectRouteAction,
4250
- _6 as useIRunRouteAction,
4251
- B6 as useISetTopBoxControls,
4252
- O6 as useIShadesOpenCloseStop,
4253
- W6 as useIShutdownPromptTimer,
4254
- V6 as useISwitchedOutput,
4255
- k6 as useITechPassword,
4256
- F6 as useITemperatureSensor,
4257
- H6 as useITheme,
4258
- U6 as useITransport,
4259
- K6 as useIZoomWirelessShareInstructions,
4254
+ y6 as useIHasZoomRoomLayouts,
4255
+ R6 as useILevelControls,
4256
+ P6 as useILightingScenes,
4257
+ $6 as useIMatrixRouting,
4258
+ E6 as useIMcCiscoCodecUserInterfaceAppControl,
4259
+ T6 as useINumeric,
4260
+ D6 as useIProjectorScreenLiftControl,
4261
+ A6 as useIRoomEventSchedule,
4262
+ L6 as useIRunDefaultPresentRoute,
4263
+ _6 as useIRunDirectRouteAction,
4264
+ B6 as useIRunRouteAction,
4265
+ O6 as useISetTopBoxControls,
4266
+ W6 as useIShadesOpenCloseStop,
4267
+ V6 as useIShutdownPromptTimer,
4268
+ k6 as useISwitchedOutput,
4269
+ F6 as useITechPassword,
4270
+ H6 as useITemperatureSensor,
4271
+ U6 as useITheme,
4272
+ K6 as useITransport,
4273
+ q6 as useIZoomWirelessShareInstructions,
4260
4274
  V8 as useInitialize,
4261
4275
  $8 as useInterfacesForDevice,
4262
4276
  O8 as useIsInitialSyncComplete,
4263
4277
  Se as useIsSyncStateValuePresent,
4264
4278
  R8 as useIsTouchpanel,
4265
4279
  Nt as useLogoPath,
4266
- q6 as useMobileControlTouchpanelController,
4267
- X6 as useOverflow,
4280
+ G6 as useMobileControlTouchpanelController,
4281
+ Q6 as useOverflow,
4268
4282
  e8 as usePartnerMetadata,
4269
4283
  Ge as usePressHoldRelease,
4270
4284
  p8 as useRoomAdvancedSharingActive,
@@ -4274,8 +4288,8 @@ export {
4274
4288
  a8 as useRoomDestinationList,
4275
4289
  i8 as useRoomDestinations,
4276
4290
  u8 as useRoomEnvironmentalDevices,
4277
- Q6 as useRoomIBasicVolume,
4278
- N6 as useRoomIBasicVolumeWithFeedback,
4291
+ N6 as useRoomIBasicVolume,
4292
+ en as useRoomIBasicVolumeWithFeedback,
4279
4293
  g8 as useRoomInCall,
4280
4294
  f8 as useRoomIsCoolingDown,
4281
4295
  m8 as useRoomIsOn,
@@ -4289,24 +4303,24 @@ export {
4289
4303
  C1 as useRoomState,
4290
4304
  ne as useRoomVolume,
4291
4305
  I8 as useRuntimeInfo,
4292
- en as useScroll,
4306
+ tn as useScroll,
4293
4307
  b8 as useServerIsRunningOnProcessorHardware,
4294
4308
  D8 as useShowIncomingCallModal,
4295
4309
  A8 as useShowModal,
4296
4310
  _8 as useShowPopoverById,
4297
4311
  xe as useShowReconnect,
4298
4312
  T8 as useShowShutdownModal,
4299
- tn as useStateIsSynced,
4300
- nn as useSystemControl,
4313
+ nn as useStateIsSynced,
4314
+ on as useSystemControl,
4301
4315
  C8 as useSystemUuid,
4302
4316
  B8 as useTheme,
4303
- on as useTimeAndDate,
4317
+ sn as useTimeAndDate,
4304
4318
  y8 as useTouchpanelKey,
4305
- G6 as useTwoWayDisplayBase,
4319
+ z6 as useTwoWayDisplayBase,
4306
4320
  j8 as useUserCode,
4307
4321
  m as useWebsocketContext,
4308
4322
  y3 as useWsIsConnected,
4309
- z6 as useZoomRoom,
4323
+ Y6 as useZoomRoom,
4310
4324
  Ae as wsAddEventHandler,
4311
4325
  W3 as wsConnect,
4312
4326
  W8 as wsDisconnect,