@pepperdash/mobile-control-react-app-core 1.20.11 → 1.20.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,137 +1,137 @@
1
- var t2 = Object.defineProperty;
2
- var s2 = (e, t, o) => t in e ? t2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
- var G = (e, t, o) => s2(e, typeof t != "symbol" ? t + "" : t, o);
4
- import o2, { AxiosError as n2 } from "axios";
5
- import { useDispatch as c2, useSelector as r2, Provider as l2 } from "react-redux";
6
- import { createSelector as w, createSlice as g1, combineReducers as i2, configureStore as a2 } from "@reduxjs/toolkit";
7
- import w3, { createContext as u2, useState as H, useRef as v1, useCallback as a1, useEffect as n1, useContext as d2, useLayoutEffect as x3 } from "react";
1
+ var s2 = Object.defineProperty;
2
+ var o2 = (e, t, o) => t in e ? s2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var G = (e, t, o) => o2(e, typeof t != "symbol" ? t + "" : t, o);
4
+ import n2, { AxiosError as c2 } from "axios";
5
+ import { useDispatch as r2, useSelector as l2, Provider as i2 } from "react-redux";
6
+ import { createSelector as w, createSlice as g1, combineReducers as a2, configureStore as u2 } from "@reduxjs/toolkit";
7
+ import w3, { createContext as d2, useState as H, useRef as v1, useCallback as a1, useEffect as n1, useContext as h2, useLayoutEffect as x3 } from "react";
8
8
  import * as M3 from "lodash";
9
- import { useNavigate as h2, useRouteError as v2, isRouteErrorResponse as g2 } from "react-router-dom";
10
- const f2 = c2.withTypes(), p = r2.withTypes(), j1 = (e) => e.appConfig, p2 = w(
9
+ import { useNavigate as v2, useRouteError as g2, isRouteErrorResponse as f2 } from "react-router-dom";
10
+ const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
11
11
  j1,
12
12
  (e) => e.config
13
- ), w2 = w(
13
+ ), x2 = w(
14
14
  j1,
15
15
  (e) => e.config.apiPath
16
- ), x2 = w(
16
+ ), M2 = w(
17
17
  j1,
18
18
  (e) => e.config.logoPath
19
- ), M2 = w(
19
+ ), m2 = w(
20
20
  j1,
21
21
  (e) => e.config.partnerMetadata
22
- ), m2 = () => p(p2), O6 = () => p(w2), V6 = () => p(x2), k6 = () => p(M2), m3 = (e) => e.devices, Z3 = w(
22
+ ), Z2 = () => p(w2), O6 = () => p(x2), V6 = () => p(M2), k6 = () => p(m2), m3 = (e) => e.devices, Z3 = w(
23
23
  m3,
24
24
  (e) => e
25
- ), Z2 = (e) => w(
25
+ ), j2 = (e) => w(
26
26
  m3,
27
27
  (t) => t[e] ? t[e] : void 0
28
28
  ), U6 = () => p(Z3);
29
29
  function _(e) {
30
- return p(Z2(e));
30
+ return p(j2(e));
31
31
  }
32
- const L = (e) => e.rooms, j2 = (e) => w(
32
+ const L = (e) => e.rooms, C2 = (e) => w(
33
33
  L,
34
34
  (t) => t[e] ? t[e].configuration : void 0
35
- ), C2 = w(
35
+ ), S2 = w(
36
36
  L,
37
37
  (e) => e
38
- ), S2 = (e) => w(
38
+ ), b2 = (e) => w(
39
39
  L,
40
40
  (t) => t[e] ? t[e] : void 0
41
- ), b2 = (e) => w(
41
+ ), I2 = (e) => w(
42
42
  L,
43
43
  (t) => t[e] ? t[e].name : void 0
44
- ), I2 = (e, t) => w(
44
+ ), R2 = (e, t) => w(
45
45
  L,
46
46
  (o) => o[e] ? o[e].volumes[t] : void 0
47
- ), R2 = (e) => w(
47
+ ), y2 = (e) => w(
48
48
  L,
49
49
  (t) => t[e] ? t[e] : void 0
50
- ), y2 = (e) => w(
50
+ ), E2 = (e) => w(
51
51
  L,
52
52
  (t) => {
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
- ), E2 = (e) => w(
56
+ ), T2 = (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
- ), T2 = (e) => w(
62
+ ), _2 = (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
- ), _2 = (e) => w(
68
+ ), P2 = (e) => w(
69
69
  L,
70
70
  (t) => {
71
71
  var o, c;
72
72
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
73
73
  }
74
- ), P2 = (e) => w(
74
+ ), L2 = (e) => w(
75
75
  L,
76
76
  (t) => {
77
77
  var o, c;
78
78
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
79
79
  }
80
- ), L2 = (e) => w(
80
+ ), D2 = (e) => w(
81
81
  L,
82
82
  (t) => {
83
83
  var o, c, r, i, d, a, f, x;
84
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) || "";
85
85
  }
86
- ), D2 = (e) => w(
86
+ ), $2 = (e) => w(
87
87
  L,
88
88
  (t) => {
89
89
  var o, c, r;
90
90
  return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
91
91
  }
92
- ), $2 = (e) => w(
92
+ ), A2 = (e) => w(
93
93
  L,
94
94
  (t) => {
95
95
  var o;
96
96
  return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
97
97
  }
98
- ), A2 = (e) => w(
98
+ ), B2 = (e) => w(
99
99
  L,
100
100
  (t) => {
101
101
  var o;
102
102
  return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
103
103
  }
104
- ), B2 = (e) => w(
104
+ ), O2 = (e) => w(
105
105
  L,
106
106
  (t) => {
107
107
  var o;
108
108
  return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
109
109
  }
110
- ), O2 = (e) => w(
110
+ ), V2 = (e) => w(
111
111
  L,
112
112
  (t) => {
113
113
  var o;
114
114
  return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
115
115
  }
116
- ), V2 = (e) => w(
116
+ ), k2 = (e) => w(
117
117
  L,
118
118
  (t) => {
119
119
  var o;
120
120
  return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
121
121
  }
122
- ), k2 = (e) => w(
122
+ ), U2 = (e) => w(
123
123
  L,
124
124
  (t) => {
125
125
  var o;
126
126
  return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
127
127
  }
128
- ), U2 = (e) => w(
128
+ ), W2 = (e) => w(
129
129
  L,
130
130
  (t) => {
131
131
  var o, c;
132
132
  return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
133
133
  }
134
- ), W2 = w(
134
+ ), F2 = w(
135
135
  [
136
136
  (e, t) => t,
137
137
  () => Z3,
@@ -148,50 +148,50 @@ const L = (e) => e.rooms, j2 = (e) => w(
148
148
  );
149
149
  function W6(e) {
150
150
  return p(
151
- j2(e)
151
+ C2(e)
152
152
  );
153
153
  }
154
154
  function F6() {
155
- return p(C2);
155
+ return p(S2);
156
156
  }
157
157
  function C1(e) {
158
- return p(S2(e));
158
+ return p(b2(e));
159
159
  }
160
160
  const H6 = C1, K6 = (e) => p(
161
- b2(e)
162
- ), F2 = (e, t) => p(
163
- I2(e, t)
164
- ), H2 = (e) => p(R2(e)) || void 0, G6 = (e) => p(y2(e)), q6 = (e) => p(E2(e)), Y6 = (e) => p(T2(e)), z6 = (e) => p(_2(e)), J6 = (e) => p(P2(e)), X6 = (e) => p(L2(e)), Q6 = (e) => p(D2(e)), N6 = (e) => p($2(e)), ee = (e) => p(A2(e)), te = (e) => p(B2(e)), se = (e) => p(O2(e)), oe = (e) => p(V2(e)), ne = (e) => p(k2(e)), ce = (e) => p((t) => W2(t, e)), re = (e) => p(U2(e)), J = (e) => e.runtimeConfig, K2 = w(
161
+ I2(e)
162
+ ), H2 = (e, t) => p(
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)), J = (e) => e.runtimeConfig, G2 = w(
165
165
  J,
166
166
  (e) => e.websocket.isConnected
167
- ), G2 = w(
167
+ ), q2 = w(
168
168
  J,
169
169
  (e) => e.currentRoomKey
170
- ), q2 = w(
170
+ ), Y2 = w(
171
171
  J,
172
172
  (e) => e.roomData.clientId
173
- ), Y2 = w(
173
+ ), z2 = w(
174
174
  J,
175
175
  (e) => e.roomData.systemUuid
176
- ), z2 = w(
176
+ ), J2 = w(
177
177
  J,
178
178
  (e) => e.roomData.userCode
179
- ), J2 = w(
179
+ ), X2 = w(
180
180
  J,
181
181
  (e) => e.serverIsRunningOnProcessorHardware
182
- ), X2 = w(
182
+ ), Q2 = w(
183
183
  J,
184
184
  (e) => {
185
185
  var t;
186
186
  return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
187
187
  }
188
- ), Q2 = w(
188
+ ), N2 = w(
189
189
  J,
190
190
  (e) => e.touchpanelKey
191
- ), N2 = w(
191
+ ), e8 = w(
192
192
  J,
193
193
  (e) => e.touchpanelKey !== ""
194
- ), e8 = () => p(K2), t8 = () => p(G2), s8 = () => p(q2), o8 = () => p(Y2), n8 = () => p(z2), c8 = () => p(J2), le = () => p(X2), ie = () => p(Q2), ae = () => p(N2), c1 = (e) => e.ui, U1 = (e) => w(
194
+ ), j3 = () => p(G2), t8 = () => p(q2), s8 = () => p(Y2), o8 = () => p(z2), n8 = () => p(J2), c8 = () => p(X2), le = () => p(Q2), ie = () => p(N2), ae = () => p(e8), c1 = (e) => e.ui, U1 = (e) => w(
195
195
  c1,
196
196
  (t) => t.modalVisibility[e]
197
197
  ), r8 = (e) => w(
@@ -224,7 +224,7 @@ const H6 = C1, K6 = (e) => p(
224
224
  showIncomingCallModal: !1
225
225
  },
226
226
  popoverVisibility: {}
227
- }, j3 = g1({
227
+ }, C3 = g1({
228
228
  name: "ui",
229
229
  initialState: v8,
230
230
  reducers: {
@@ -257,7 +257,7 @@ const H6 = C1, K6 = (e) => p(
257
257
  e.theme = t.payload;
258
258
  }
259
259
  }
260
- }), q = j3.actions, g8 = j3.reducer, f8 = {
260
+ }), q = C3.actions, g8 = C3.reducer, f8 = {
261
261
  config: {
262
262
  enableDev: !1,
263
263
  apiPath: "",
@@ -267,7 +267,7 @@ const H6 = C1, K6 = (e) => p(
267
267
  loginMode: "",
268
268
  modes: {}
269
269
  }
270
- }, C3 = g1({
270
+ }, S3 = g1({
271
271
  name: "appConfig",
272
272
  initialState: f8,
273
273
  reducers: {
@@ -275,7 +275,7 @@ const H6 = C1, K6 = (e) => p(
275
275
  e.config = t.payload;
276
276
  }
277
277
  }
278
- }), p8 = C3.actions, w8 = C3.reducer, d3 = {}, B1 = g1({
278
+ }), p8 = S3.actions, w8 = S3.reducer, d3 = {}, B1 = g1({
279
279
  name: "devices",
280
280
  initialState: d3,
281
281
  reducers: {
@@ -313,7 +313,7 @@ const H6 = C1, K6 = (e) => p(
313
313
  apiVersion: "",
314
314
  serverIsRunningOnProcessorHardware: !1,
315
315
  websocket: {
316
- isConnected: !1
316
+ isConnected: void 0
317
317
  },
318
318
  pluginVersion: "",
319
319
  disconnectionMessage: "",
@@ -339,7 +339,7 @@ const H6 = C1, K6 = (e) => p(
339
339
  userCode: "",
340
340
  qrUrl: ""
341
341
  }
342
- }, S3 = g1({
342
+ }, b3 = g1({
343
343
  name: "runtimeConfig",
344
344
  initialState: m8,
345
345
  reducers: {
@@ -368,17 +368,17 @@ const H6 = C1, K6 = (e) => p(
368
368
  e.touchpanelKey = t.payload;
369
369
  }
370
370
  }
371
- }), W = S3.actions, Z8 = S3.reducer, j8 = i2({
371
+ }), W = b3.actions, Z8 = b3.reducer, j8 = a2({
372
372
  appConfig: w8,
373
373
  runtimeConfig: Z8,
374
374
  rooms: M8,
375
375
  devices: x8,
376
376
  ui: g8
377
- }), m = a2({
377
+ }), m = u2({
378
378
  reducer: j8
379
- }), V1 = o2.create();
379
+ }), V1 = n2.create();
380
380
  function C8() {
381
- const e = f2();
381
+ const e = p2();
382
382
  return async () => {
383
383
  try {
384
384
  const t = location.pathname.split("/").filter((r) => r.length > 0);
@@ -526,7 +526,7 @@ function b8() {
526
526
  function z1() {
527
527
  }
528
528
  z1.__reactDisabledLog = !0;
529
- function y3() {
529
+ function E3() {
530
530
  {
531
531
  if (l1 === 0) {
532
532
  W1 = console.log, F1 = console.info, H1 = console.warn, K1 = console.error, G1 = console.group, q1 = console.groupCollapsed, Y1 = console.groupEnd;
@@ -549,7 +549,7 @@ function b8() {
549
549
  l1++;
550
550
  }
551
551
  }
552
- function E3() {
552
+ function T3() {
553
553
  {
554
554
  if (l1--, l1 === 0) {
555
555
  var n = {
@@ -600,8 +600,8 @@ function b8() {
600
600
  }
601
601
  var E1 = !1, w1;
602
602
  {
603
- var T3 = typeof WeakMap == "function" ? WeakMap : Map;
604
- w1 = new T3();
603
+ var _3 = typeof WeakMap == "function" ? WeakMap : Map;
604
+ w1 = new _3();
605
605
  }
606
606
  function J1(n, l) {
607
607
  if (!n || E1)
@@ -616,7 +616,7 @@ function b8() {
616
616
  var S = Error.prepareStackTrace;
617
617
  Error.prepareStackTrace = void 0;
618
618
  var I;
619
- I = R1.current, R1.current = null, y3();
619
+ I = R1.current, R1.current = null, E3();
620
620
  try {
621
621
  if (l) {
622
622
  var Z = function() {
@@ -669,15 +669,15 @@ function b8() {
669
669
  }
670
670
  }
671
671
  } finally {
672
- E1 = !1, R1.current = I, E3(), Error.prepareStackTrace = S;
672
+ E1 = !1, R1.current = I, T3(), Error.prepareStackTrace = S;
673
673
  }
674
674
  var o1 = n ? n.displayName || n.name : "", Q = o1 ? p1(o1) : "";
675
675
  return typeof n == "function" && w1.set(n, Q), Q;
676
676
  }
677
- function _3(n, l, u) {
677
+ function P3(n, l, u) {
678
678
  return J1(n, !1);
679
679
  }
680
- function P3(n) {
680
+ function L3(n) {
681
681
  var l = n.prototype;
682
682
  return !!(l && l.isReactComponent);
683
683
  }
@@ -685,7 +685,7 @@ function b8() {
685
685
  if (n == null)
686
686
  return "";
687
687
  if (typeof n == "function")
688
- return J1(n, P3(n));
688
+ return J1(n, L3(n));
689
689
  if (typeof n == "string")
690
690
  return p1(n);
691
691
  switch (n) {
@@ -697,7 +697,7 @@ function b8() {
697
697
  if (typeof n == "object")
698
698
  switch (n.$$typeof) {
699
699
  case f:
700
- return _3(n.render);
700
+ return P3(n.render);
701
701
  case R:
702
702
  return x1(n.type, l, u);
703
703
  case D: {
@@ -718,7 +718,7 @@ function b8() {
718
718
  } else
719
719
  Q1.setExtraStackFrame(null);
720
720
  }
721
- function L3(n, l, u, v, S) {
721
+ function D3(n, l, u, v, S) {
722
722
  {
723
723
  var I = Function.call.bind(i1);
724
724
  for (var Z in n)
@@ -737,17 +737,17 @@ function b8() {
737
737
  }
738
738
  }
739
739
  }
740
- var D3 = Array.isArray;
740
+ var $3 = Array.isArray;
741
741
  function T1(n) {
742
- return D3(n);
742
+ return $3(n);
743
743
  }
744
- function $3(n) {
744
+ function A3(n) {
745
745
  {
746
746
  var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
747
747
  return u;
748
748
  }
749
749
  }
750
- function A3(n) {
750
+ function B3(n) {
751
751
  try {
752
752
  return N1(n), !1;
753
753
  } catch {
@@ -758,16 +758,16 @@ function b8() {
758
758
  return "" + n;
759
759
  }
760
760
  function e3(n) {
761
- if (A3(n))
762
- return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $3(n)), N1(n);
761
+ if (B3(n))
762
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", A3(n)), N1(n);
763
763
  }
764
- var t3 = $.ReactCurrentOwner, B3 = {
764
+ var t3 = $.ReactCurrentOwner, O3 = {
765
765
  key: !0,
766
766
  ref: !0,
767
767
  __self: !0,
768
768
  __source: !0
769
769
  }, s3, o3;
770
- function O3(n) {
770
+ function V3(n) {
771
771
  if (i1.call(n, "ref")) {
772
772
  var l = Object.getOwnPropertyDescriptor(n, "ref").get;
773
773
  if (l && l.isReactWarning)
@@ -775,7 +775,7 @@ function b8() {
775
775
  }
776
776
  return n.ref !== void 0;
777
777
  }
778
- function V3(n) {
778
+ function k3(n) {
779
779
  if (i1.call(n, "key")) {
780
780
  var l = Object.getOwnPropertyDescriptor(n, "key").get;
781
781
  if (l && l.isReactWarning)
@@ -783,10 +783,10 @@ function b8() {
783
783
  }
784
784
  return n.key !== void 0;
785
785
  }
786
- function k3(n, l) {
786
+ function U3(n, l) {
787
787
  typeof n.ref == "string" && t3.current;
788
788
  }
789
- function U3(n, l) {
789
+ function W3(n, l) {
790
790
  {
791
791
  var u = function() {
792
792
  s3 || (s3 = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
@@ -797,7 +797,7 @@ function b8() {
797
797
  });
798
798
  }
799
799
  }
800
- function W3(n, l) {
800
+ function F3(n, l) {
801
801
  {
802
802
  var u = function() {
803
803
  o3 || (o3 = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
@@ -808,7 +808,7 @@ function b8() {
808
808
  });
809
809
  }
810
810
  }
811
- var F3 = function(n, l, u, v, S, I, Z) {
811
+ var H3 = function(n, l, u, v, S, I, Z) {
812
812
  var M = {
813
813
  // This tag allows us to uniquely identify this as a React Element
814
814
  $$typeof: t,
@@ -837,12 +837,12 @@ function b8() {
837
837
  value: S
838
838
  }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
839
839
  };
840
- function H3(n, l, u, v, S) {
840
+ function K3(n, l, u, v, S) {
841
841
  {
842
842
  var I, Z = {}, M = null, O = null;
843
- u !== void 0 && (e3(u), M = "" + u), V3(l) && (e3(l.key), M = "" + l.key), O3(l) && (O = l.ref, k3(l, S));
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
844
  for (I in l)
845
- i1.call(l, I) && !B3.hasOwnProperty(I) && (Z[I] = l[I]);
845
+ i1.call(l, I) && !O3.hasOwnProperty(I) && (Z[I] = l[I]);
846
846
  if (n && n.defaultProps) {
847
847
  var T = n.defaultProps;
848
848
  for (I in T)
@@ -850,9 +850,9 @@ function b8() {
850
850
  }
851
851
  if (M || O) {
852
852
  var P = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
853
- M && U3(Z, P), O && W3(Z, P);
853
+ M && W3(Z, P), O && F3(Z, P);
854
854
  }
855
- return F3(n, M, O, S, v, t3.current, Z);
855
+ return H3(n, M, O, S, v, t3.current, Z);
856
856
  }
857
857
  }
858
858
  var _1 = $.ReactCurrentOwner, n3 = $.ReactDebugCurrentFrame;
@@ -880,11 +880,11 @@ Check the render method of \`` + n + "`.";
880
880
  return "";
881
881
  }
882
882
  }
883
- function K3(n) {
883
+ function G3(n) {
884
884
  return "";
885
885
  }
886
886
  var r3 = {};
887
- function G3(n) {
887
+ function q3(n) {
888
888
  {
889
889
  var l = c3();
890
890
  if (!l) {
@@ -901,7 +901,7 @@ Check the top-level render call using <` + u + ">.");
901
901
  if (!n._store || n._store.validated || n.key != null)
902
902
  return;
903
903
  n._store.validated = !0;
904
- var u = G3(l);
904
+ var u = q3(l);
905
905
  if (r3[u])
906
906
  return;
907
907
  r3[u] = !0;
@@ -928,7 +928,7 @@ Check the top-level render call using <` + u + ">.");
928
928
  }
929
929
  }
930
930
  }
931
- function q3(n) {
931
+ function Y3(n) {
932
932
  {
933
933
  var l = n.type;
934
934
  if (l == null || typeof l == "string")
@@ -944,7 +944,7 @@ Check the top-level render call using <` + u + ">.");
944
944
  return;
945
945
  if (u) {
946
946
  var v = K(l);
947
- L3(u, n.props, "prop", v, n);
947
+ D3(u, n.props, "prop", v, n);
948
948
  } else if (l.PropTypes !== void 0 && !P1) {
949
949
  P1 = !0;
950
950
  var S = K(l);
@@ -953,7 +953,7 @@ Check the top-level render call using <` + u + ">.");
953
953
  typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
954
954
  }
955
955
  }
956
- function Y3(n) {
956
+ function z3(n) {
957
957
  {
958
958
  for (var l = Object.keys(n.props), u = 0; u < l.length; u++) {
959
959
  var v = l[u];
@@ -972,12 +972,12 @@ Check the top-level render call using <` + u + ">.");
972
972
  if (!Z) {
973
973
  var M = "";
974
974
  (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
975
- var O = K3();
975
+ var O = G3();
976
976
  O ? M += O : M += c3();
977
977
  var T;
978
978
  n === null ? T = "null" : T1(n) ? T = "array" : n !== void 0 && n.$$typeof === t ? (T = "<" + (K(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 = H3(n, l, u, S, I);
980
+ var P = K3(n, l, u, S, I);
981
981
  if (P == null)
982
982
  return P;
983
983
  if (Z) {
@@ -994,30 +994,30 @@ Check the top-level render call using <` + u + ">.");
994
994
  i3(U, n);
995
995
  }
996
996
  if (i1.call(l, "key")) {
997
- var Q = K(n), V = Object.keys(l).filter(function(e2) {
998
- return e2 !== "key";
997
+ var Q = K(n), V = Object.keys(l).filter(function(t2) {
998
+ return t2 !== "key";
999
999
  }), D1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
1000
1000
  if (!a3[Q + D1]) {
1001
- var N3 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1001
+ var e2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
1002
1002
  A(`A props object containing a "key" prop is being spread into JSX:
1003
1003
  let props = %s;
1004
1004
  <%s {...props} />
1005
1005
  React keys must be passed directly to JSX without using spread:
1006
1006
  let props = %s;
1007
- <%s key={someKey} {...props} />`, D1, Q, N3, Q), a3[Q + D1] = !0;
1007
+ <%s key={someKey} {...props} />`, D1, Q, e2, Q), a3[Q + D1] = !0;
1008
1008
  }
1009
1009
  }
1010
- return n === c ? Y3(P) : q3(P), P;
1010
+ return n === c ? z3(P) : Y3(P), P;
1011
1011
  }
1012
1012
  }
1013
- function z3(n, l, u) {
1013
+ function J3(n, l, u) {
1014
1014
  return u3(n, l, u, !0);
1015
1015
  }
1016
- function J3(n, l, u) {
1016
+ function X3(n, l, u) {
1017
1017
  return u3(n, l, u, !1);
1018
1018
  }
1019
- var X3 = J3, Q3 = z3;
1020
- d1.Fragment = c, d1.jsx = X3, d1.jsxs = Q3;
1019
+ var Q3 = X3, N3 = J3;
1020
+ d1.Fragment = c, d1.jsx = Q3, d1.jsxs = N3;
1021
1021
  }()), d1;
1022
1022
  }
1023
1023
  var f3;
@@ -1028,12 +1028,18 @@ var s = I8();
1028
1028
  const R8 = "_mwfit_ppa3l_1", y8 = {
1029
1029
  mwfit: R8
1030
1030
  }, E8 = () => {
1031
- const { reconnect: e } = b(), t = d8(), o = h8();
1032
- return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs("div", { className: `disconnected-message ${y8.mwfit} mx-auto text-center`, children: [
1033
- /* @__PURE__ */ s.jsx("h1", { children: "Disconnected" }),
1034
- t && /* @__PURE__ */ s.jsx("h5", { children: t }),
1035
- o && /* @__PURE__ */ s.jsx("button", { className: "btn btn-secondary btn-lg", onClick: e, children: "Reconnect" })
1036
- ] }) });
1031
+ const { reconnect: e } = b(), t = j3(), o = d8(), c = h8();
1032
+ return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
1033
+ "div",
1034
+ {
1035
+ className: `disconnected-message ${y8.mwfit} mx-auto text-center`,
1036
+ children: [
1037
+ t === void 0 ? /* @__PURE__ */ s.jsx("h1", { children: "Connecting..." }) : /* @__PURE__ */ s.jsx("h1", { children: "Disconnected" }),
1038
+ o && /* @__PURE__ */ s.jsx("h5", { children: o }),
1039
+ c && /* @__PURE__ */ s.jsx("button", { className: "btn btn-secondary btn-lg", onClick: e, children: "Reconnect" })
1040
+ ]
1041
+ }
1042
+ ) });
1037
1043
  };
1038
1044
  class T8 {
1039
1045
  constructor() {
@@ -1043,7 +1049,7 @@ class T8 {
1043
1049
  G(this, "expiry", "current-uuid-expires");
1044
1050
  }
1045
1051
  }
1046
- const p3 = new T8(), b3 = u2({
1052
+ const p3 = new T8(), I3 = d2({
1047
1053
  sendMessage: () => null,
1048
1054
  sendSimpleMessage: () => null,
1049
1055
  addEventHandler: () => null,
@@ -1057,13 +1063,13 @@ function P8(e, t) {
1057
1063
  sessionStorage.setItem(e, t);
1058
1064
  }
1059
1065
  const L8 = ({ children: e }) => {
1060
- const [t, o] = H(), c = e8(), r = t8(), i = s8(), d = C8(), a = m2(), f = o8(), x = n8(), h = c8(), R = v1(null), [D, F] = H(), k = v1({}), X = a1(
1066
+ const [t, o] = H(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), f = o8(), x = n8(), h = c8(), R = v1(null), [D, F] = H(), k = v1({}), X = a1(
1061
1067
  async (y) => {
1062
1068
  try {
1063
1069
  const C = await V1.get(`${y}/ui/joinroom?token=${t}`);
1064
1070
  return C.status === 200 && C.data ? (m.dispatch(W.setRoomData(C.data)), !0) : !1;
1065
1071
  } catch (C) {
1066
- return console.log(C), h ? !0 : C instanceof n2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(q.setErrorMessage(`Token ${t} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(q.setErrorMessage(C.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
1072
+ return console.log(C), h ? !0 : C instanceof c2 && C.response && C.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(q.setErrorMessage(`Token ${t} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", C), C instanceof Error ? m.dispatch(q.setErrorMessage(C.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
1067
1073
  }
1068
1074
  },
1069
1075
  [t, h]
@@ -1185,7 +1191,7 @@ const L8 = ({ children: e }) => {
1185
1191
  }, [a.apiPath, X, t, D, h]), n1(() => {
1186
1192
  !r || !c || (console.log("clientId: ", i), i && (console.log("requesting status from room: ", r), $(`/room/${r}/status`, null)));
1187
1193
  }, [r, i, c, $]), /* @__PURE__ */ s.jsx(
1188
- b3.Provider,
1194
+ I3.Provider,
1189
1195
  {
1190
1196
  value: {
1191
1197
  sendMessage: $,
@@ -1197,9 +1203,9 @@ const L8 = ({ children: e }) => {
1197
1203
  children: c ? e : /* @__PURE__ */ s.jsx(E8, {})
1198
1204
  }
1199
1205
  );
1200
- }, pe = ({ children: e }) => /* @__PURE__ */ s.jsx(l2, { store: m, children: /* @__PURE__ */ s.jsx(L8, { children: e }) });
1206
+ }, pe = ({ children: e }) => /* @__PURE__ */ s.jsx(i2, { store: m, children: /* @__PURE__ */ s.jsx(L8, { children: e }) });
1201
1207
  function b() {
1202
- return d2(b3);
1208
+ return h2(I3);
1203
1209
  }
1204
1210
  function D8({
1205
1211
  onPress: e,
@@ -1237,7 +1243,7 @@ function g(e, t) {
1237
1243
  }
1238
1244
  return D8({ onPress: i, onRelease: d });
1239
1245
  }
1240
- function I3(e, t) {
1246
+ function R3(e, t) {
1241
1247
  const { sendMessage: o, sendSimpleMessage: c } = b(), r = g(`${e}`, "volumeUp"), i = g(`${e}`, "volumeDown");
1242
1248
  return t ? {
1243
1249
  volumeState: t,
@@ -1263,9 +1269,9 @@ function we(e, t) {
1263
1269
  }
1264
1270
  function $8(e) {
1265
1271
  const t = _(e), o = `/device/${e}`;
1266
- return I3(o, t == null ? void 0 : t.volume);
1272
+ return R3(o, t == null ? void 0 : t.volume);
1267
1273
  }
1268
- function R3(e) {
1274
+ function y3(e) {
1269
1275
  const { sendMessage: t } = b();
1270
1276
  return { powerOn: () => {
1271
1277
  t(`/device/${e}/powerOn`, null);
@@ -1293,7 +1299,7 @@ function A8(e) {
1293
1299
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1294
1300
  }
1295
1301
  function xe(e) {
1296
- const t = _(e), o = R3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
1302
+ const t = _(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
1297
1303
  if (t)
1298
1304
  return {
1299
1305
  avrState: t,
@@ -1383,7 +1389,7 @@ function Te(e) {
1383
1389
  return { state: t };
1384
1390
  }
1385
1391
  function _e(e) {
1386
- const { sendMessage: t, sendSimpleMessage: o } = b(), c = _(e), r = H2(e), i = c || r;
1392
+ const { sendMessage: t, sendSimpleMessage: o } = b(), c = _(e), r = K2(e), i = c || r;
1387
1393
  return i ? {
1388
1394
  levelState: i,
1389
1395
  setLevel: (h, R) => o(`${h}/level`, R),
@@ -1544,7 +1550,7 @@ function ze(e) {
1544
1550
  } : void 0;
1545
1551
  }
1546
1552
  function Je(e) {
1547
- const t = _(e), o = R3(e), c = k1(e);
1553
+ const t = _(e), o = y3(e), c = k1(e);
1548
1554
  if (!t) return;
1549
1555
  const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
1550
1556
  return {
@@ -1594,8 +1600,8 @@ function Qe(e, t) {
1594
1600
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1595
1601
  }
1596
1602
  function Ne(e, t) {
1597
- const o = F2(e, t), c = `/room/${e}/volumes/${t}`;
1598
- return I3(c, o);
1603
+ const o = H2(e, t), c = `/room/${e}/volumes/${t}`;
1604
+ return R3(c, o);
1599
1605
  }
1600
1606
  function e5(e) {
1601
1607
  var a, f;
@@ -1640,9 +1646,9 @@ function s5() {
1640
1646
  }, []), { date: e, time: o };
1641
1647
  }
1642
1648
  const o5 = () => {
1643
- const [e, t] = H(!1), o = h2(), c = v2();
1649
+ const [e, t] = H(!1), o = v2(), c = g2();
1644
1650
  let r;
1645
- return g2(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: [
1651
+ 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: [
1646
1652
  /* @__PURE__ */ s.jsx("div", { className: "m-2 p-2 bg-danger rounded d-flex align-items-center", children: /* @__PURE__ */ s.jsx("span", { className: "fs-5 text-white", children: "We are sorry. Something went wrong." }) }),
1647
1653
  /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => o(-1), children: "Go Back" }),
1648
1654
  /* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
@@ -3431,53 +3437,53 @@ export {
3431
3437
  V1 as httpClient,
3432
3438
  u5 as roomOffSourceKey,
3433
3439
  Z3 as selectAllDevices,
3434
- w2 as selectApiPath,
3435
- p2 as selectAppConfig,
3436
- q2 as selectClientId,
3440
+ x2 as selectApiPath,
3441
+ w2 as selectAppConfig,
3442
+ Y2 as selectClientId,
3437
3443
  r8 as selectCurrentPopoverIdForGroup,
3438
- Z2 as selectDeviceByKey,
3444
+ j2 as selectDeviceByKey,
3439
3445
  i8 as selectError,
3440
- N2 as selectIsTouchpanel,
3441
- x2 as selectLogoPath,
3446
+ e8 as selectIsTouchpanel,
3447
+ M2 as selectLogoPath,
3442
3448
  U1 as selectModalVisibility,
3443
- M2 as selectPartnerMetadata,
3444
- V2 as selectRoomAdvancedSharingActive,
3445
- E2 as selectRoomAudioControlPointList,
3446
- S2 as selectRoomByKey,
3447
- D2 as selectRoomCodecContentDestinationKey,
3448
- j2 as selectRoomConfiguration,
3449
- _2 as selectRoomDestinationList,
3450
- T2 as selectRoomDestinations,
3451
- W2 as selectRoomDisplayStates,
3452
- P2 as selectRoomEnvironmentalDevices,
3453
- $2 as selectRoomInCall,
3454
- B2 as selectRoomIsCoolingDown,
3455
- O2 as selectRoomIsOn,
3456
- A2 as selectRoomIsWarmingUp,
3457
- G2 as selectRoomKey,
3458
- R2 as selectRoomLevelControls,
3459
- b2 as selectRoomName,
3460
- L2 as selectRoomProgramAudioDestinationKey,
3461
- k2 as selectRoomShareState,
3462
- y2 as selectRoomSourceList,
3463
- I2 as selectRoomVolume,
3464
- C2 as selectRooms,
3465
- X2 as selectRuntimeInfo,
3466
- J2 as selectServerIsRunningOnProcessorHardware,
3449
+ m2 as selectPartnerMetadata,
3450
+ k2 as selectRoomAdvancedSharingActive,
3451
+ T2 as selectRoomAudioControlPointList,
3452
+ b2 as selectRoomByKey,
3453
+ $2 as selectRoomCodecContentDestinationKey,
3454
+ C2 as selectRoomConfiguration,
3455
+ P2 as selectRoomDestinationList,
3456
+ _2 as selectRoomDestinations,
3457
+ F2 as selectRoomDisplayStates,
3458
+ L2 as selectRoomEnvironmentalDevices,
3459
+ A2 as selectRoomInCall,
3460
+ O2 as selectRoomIsCoolingDown,
3461
+ V2 as selectRoomIsOn,
3462
+ B2 as selectRoomIsWarmingUp,
3463
+ q2 as selectRoomKey,
3464
+ y2 as selectRoomLevelControls,
3465
+ I2 as selectRoomName,
3466
+ D2 as selectRoomProgramAudioDestinationKey,
3467
+ U2 as selectRoomShareState,
3468
+ E2 as selectRoomSourceList,
3469
+ R2 as selectRoomVolume,
3470
+ S2 as selectRooms,
3471
+ Q2 as selectRuntimeInfo,
3472
+ X2 as selectServerIsRunningOnProcessorHardware,
3467
3473
  l8 as selectShowPopoverById,
3468
3474
  a8 as selectShowReconnect,
3469
- Y2 as selectSystemUuid,
3475
+ z2 as selectSystemUuid,
3470
3476
  u8 as selectTheme,
3471
- Q2 as selectTouchpanelKey,
3472
- z2 as selectUserCode,
3473
- K2 as selectWsIsConnected,
3474
- U2 as selectZoomRoomControllerKey,
3477
+ N2 as selectTouchpanelKey,
3478
+ J2 as selectUserCode,
3479
+ G2 as selectWsIsConnected,
3480
+ W2 as selectZoomRoomControllerKey,
3475
3481
  m as store,
3476
3482
  q as uiActions,
3477
3483
  g8 as uiReducer,
3478
3484
  O6 as useApiPath,
3479
- m2 as useAppConfig,
3480
- f2 as useAppDispatch,
3485
+ Z2 as useAppConfig,
3486
+ p2 as useAppDispatch,
3481
3487
  p as useAppSelector,
3482
3488
  xe as useAvrControl,
3483
3489
  g as useButtonHeldHeartbeat,
@@ -3495,7 +3501,7 @@ export {
3495
3501
  H6 as useGetRoom,
3496
3502
  ce as useGetRoomDisplayStates,
3497
3503
  re as useGetZoomRoomControllerKey,
3498
- I3 as useIBasicVolumeWithFeedback,
3504
+ R3 as useIBasicVolumeWithFeedback,
3499
3505
  je as useIChannel,
3500
3506
  Ce as useIColor,
3501
3507
  Se as useICommunicationMonitor,
@@ -3504,7 +3510,7 @@ export {
3504
3510
  Re as useIDspPresets,
3505
3511
  ye as useIDvr,
3506
3512
  Ee as useIEssentialsRoomCombiner,
3507
- R3 as useIHasPowerControl,
3513
+ y3 as useIHasPowerControl,
3508
3514
  k1 as useIHasSelectableItems,
3509
3515
  Te as useIHumiditySensor,
3510
3516
  _e as useILevelControls,
@@ -3545,13 +3551,13 @@ export {
3545
3551
  se as useRoomIsOn,
3546
3552
  ee as useRoomIsWarmingUp,
3547
3553
  t8 as useRoomKey,
3548
- H2 as useRoomLevelControls,
3554
+ K2 as useRoomLevelControls,
3549
3555
  K6 as useRoomName,
3550
3556
  X6 as useRoomProgramAudioDestinationKey,
3551
3557
  ne as useRoomShareState,
3552
3558
  G6 as useRoomSourceList,
3553
3559
  C1 as useRoomState,
3554
- F2 as useRoomVolume,
3560
+ H2 as useRoomVolume,
3555
3561
  le as useRuntimeInfo,
3556
3562
  e5 as useScroll,
3557
3563
  c8 as useServerIsRunningOnProcessorHardware,
@@ -3568,5 +3574,5 @@ export {
3568
3574
  Je as useTwoWayDisplayBase,
3569
3575
  n8 as useUserCode,
3570
3576
  b as useWebsocketContext,
3571
- e8 as useWsIsConnected
3577
+ j3 as useWsIsConnected
3572
3578
  };