@halibegic/react-video-player 0.0.11 → 0.0.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.
@@ -18,12 +18,12 @@ function bo() {
18
18
  if (gn) return Ge;
19
19
  gn = 1;
20
20
  var e = Re, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function l(u, c, d) {
22
- var p, m = {}, w = null, v = null;
23
- d !== void 0 && (w = "" + d), c.key !== void 0 && (w = "" + c.key), c.ref !== void 0 && (v = c.ref);
24
- for (p in c) r.call(c, p) && !a.hasOwnProperty(p) && (m[p] = c[p]);
25
- if (u && u.defaultProps) for (p in c = u.defaultProps, c) m[p] === void 0 && (m[p] = c[p]);
26
- return { $$typeof: t, type: u, key: w, ref: v, props: m, _owner: i.current };
21
+ function l(u, s, d) {
22
+ var p, g = {}, w = null, v = null;
23
+ d !== void 0 && (w = "" + d), s.key !== void 0 && (w = "" + s.key), s.ref !== void 0 && (v = s.ref);
24
+ for (p in s) r.call(s, p) && !a.hasOwnProperty(p) && (g[p] = s[p]);
25
+ if (u && u.defaultProps) for (p in s = u.defaultProps, s) g[p] === void 0 && (g[p] = s[p]);
26
+ return { $$typeof: t, type: u, key: w, ref: v, props: g, _owner: i.current };
27
27
  }
28
28
  return Ge.Fragment = n, Ge.jsx = l, Ge.jsxs = l, Ge;
29
29
  }
@@ -40,11 +40,11 @@ var Xe = {};
40
40
  var yn;
41
41
  function xo() {
42
42
  return yn || (yn = 1, process.env.NODE_ENV !== "production" && (function() {
43
- var e = Re, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), T = Symbol.iterator, E = "@@iterator";
43
+ var e = Re, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), E = Symbol.iterator, T = "@@iterator";
44
44
  function M(o) {
45
45
  if (o === null || typeof o != "object")
46
46
  return null;
47
- var f = T && o[T] || o[E];
47
+ var f = E && o[E] || o[T];
48
48
  return typeof f == "function" ? f : null;
49
49
  }
50
50
  var P = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -65,10 +65,10 @@ function xo() {
65
65
  F.unshift("Warning: " + f), Function.prototype.apply.call(console[o], console, F);
66
66
  }
67
67
  }
68
- var L = !1, D = !1, C = !1, x = !1, U = !1, J;
68
+ var L = !1, D = !1, C = !1, x = !1, W = !1, J;
69
69
  J = Symbol.for("react.module.reference");
70
70
  function I(o) {
71
- return !!(typeof o == "string" || typeof o == "function" || o === r || o === a || U || o === i || o === d || o === p || x || o === v || L || D || C || typeof o == "object" && o !== null && (o.$$typeof === w || o.$$typeof === m || o.$$typeof === l || o.$$typeof === u || o.$$typeof === c || // This needs to include all possible module reference object
71
+ return !!(typeof o == "string" || typeof o == "function" || o === r || o === a || W || o === i || o === d || o === p || x || o === v || L || D || C || typeof o == "object" && o !== null && (o.$$typeof === w || o.$$typeof === g || o.$$typeof === l || o.$$typeof === u || o.$$typeof === s || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
@@ -113,9 +113,9 @@ function xo() {
113
113
  case l:
114
114
  var y = o;
115
115
  return fe(y._context) + ".Provider";
116
- case c:
116
+ case s:
117
117
  return _e(o, o.render, "ForwardRef");
118
- case m:
118
+ case g:
119
119
  var S = o.displayName || null;
120
120
  return S !== null ? S : q(o.type) || "Memo";
121
121
  case w: {
@@ -303,9 +303,9 @@ function xo() {
303
303
  }
304
304
  if (typeof o == "object")
305
305
  switch (o.$$typeof) {
306
- case c:
306
+ case s:
307
307
  return qr(o.render);
308
- case m:
308
+ case g:
309
309
  return et(o.type, f, y);
310
310
  case w: {
311
311
  var S = o, A = S._payload, F = S._init;
@@ -543,9 +543,9 @@ Check the top-level render call using <` + y + ">.");
543
543
  var y;
544
544
  if (typeof f == "function")
545
545
  y = f.propTypes;
546
- else if (typeof f == "object" && (f.$$typeof === c || // Note: Memo only checks outer props here.
546
+ else if (typeof f == "object" && (f.$$typeof === s || // Note: Memo only checks outer props here.
547
547
  // Inner props are checked in the reconciler.
548
- f.$$typeof === m))
548
+ f.$$typeof === g))
549
549
  y = f.propTypes;
550
550
  else
551
551
  return;
@@ -631,7 +631,7 @@ var vn;
631
631
  function So() {
632
632
  return vn || (vn = 1, process.env.NODE_ENV === "production" ? nt.exports = bo() : nt.exports = xo()), nt.exports;
633
633
  }
634
- var s = So();
634
+ var c = So();
635
635
  const Co = typeof window < "u" ? vo : te;
636
636
  function wt(e, t) {
637
637
  const n = Y(e);
@@ -652,7 +652,7 @@ function ko(e) {
652
652
  const [, t] = X(0);
653
653
  wt(() => t((n) => n + 1), e);
654
654
  }
655
- const Eo = (e, t) => $n((n) => ({
655
+ const To = (e, t) => $n((n) => ({
656
656
  delay: 0,
657
657
  startDate: e,
658
658
  endDate: t,
@@ -663,7 +663,7 @@ const Eo = (e, t) => $n((n) => ({
663
663
  setEndDate: (r) => n({ endDate: r })
664
664
  })), zn = Nn(
665
665
  null
666
- ), To = ({
666
+ ), Eo = ({
667
667
  children: e,
668
668
  startDate: t,
669
669
  endDate: n
@@ -671,8 +671,8 @@ const Eo = (e, t) => $n((n) => ({
671
671
  const r = Y(
672
672
  null
673
673
  );
674
- return r.current || (r.current = Eo(t, n)), /* @__PURE__ */ s.jsx(zn.Provider, { value: r.current, children: e });
675
- }, W = (e) => {
674
+ return r.current || (r.current = To(t, n)), /* @__PURE__ */ c.jsx(zn.Provider, { value: r.current, children: e });
675
+ }, U = (e) => {
676
676
  const t = Zt(zn);
677
677
  if (!t)
678
678
  throw new Error("usePlayerStore must be used within PlayerStoreProvider");
@@ -763,7 +763,7 @@ function Oo() {
763
763
  function le() {
764
764
  return H = ie < Zn ? z(Ue, ie++) : 0, Ne++, H === 10 && (Ne = 1, xt++), H;
765
765
  }
766
- function Te() {
766
+ function Ee() {
767
767
  return z(Ue, ie);
768
768
  }
769
769
  function ct() {
@@ -820,14 +820,14 @@ function It(e) {
820
820
  return Yn(Ct(ie - 1, Vt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
821
821
  }
822
822
  function Vo(e) {
823
- for (; (H = Te()) && H < 33; )
823
+ for (; (H = Ee()) && H < 33; )
824
824
  le();
825
825
  return Mt(e) > 2 || Mt(H) > 3 ? "" : " ";
826
826
  }
827
827
  function No(e, t) {
828
828
  for (; --t && le() && !(H < 48 || H > 102 || H > 57 && H < 65 || H > 70 && H < 97); )
829
829
  ;
830
- return Ct(e, ct() + (t < 6 && Te() == 32 && le() == 32));
830
+ return Ct(e, ct() + (t < 6 && Ee() == 32 && le() == 32));
831
831
  }
832
832
  function Vt(e) {
833
833
  for (; le(); )
@@ -853,24 +853,24 @@ function Vt(e) {
853
853
  }
854
854
  function $o(e, t) {
855
855
  for (; le() && e + H !== 57; )
856
- if (e + H === 84 && Te() === 47)
856
+ if (e + H === 84 && Ee() === 47)
857
857
  break;
858
858
  return "/*" + Ct(t, ie - 1) + "*" + Xt(e === 47 ? e : le());
859
859
  }
860
860
  function Ho(e) {
861
- for (; !Mt(Te()); )
861
+ for (; !Mt(Ee()); )
862
862
  le();
863
863
  return Ct(e, ie);
864
864
  }
865
865
  function zo(e) {
866
866
  return Mo(lt("", null, null, null, [""], e = Fo(e), 0, [0], e));
867
867
  }
868
- function lt(e, t, n, r, i, a, l, u, c) {
869
- for (var d = 0, p = 0, m = l, w = 0, v = 0, T = 0, E = 1, M = 1, P = 1, b = 0, h = "", L = i, D = a, C = r, x = h; M; )
870
- switch (T = b, b = le()) {
868
+ function lt(e, t, n, r, i, a, l, u, s) {
869
+ for (var d = 0, p = 0, g = l, w = 0, v = 0, E = 0, T = 1, M = 1, P = 1, b = 0, h = "", L = i, D = a, C = r, x = h; M; )
870
+ switch (E = b, b = le()) {
871
871
  // (
872
872
  case 40:
873
- if (T != 108 && z(x, m - 1) == 58) {
873
+ if (E != 108 && z(x, g - 1) == 58) {
874
874
  at(x += k(It(b), "&", "&\f"), "&\f", Wn(d ? u[d - 1] : 0)) != -1 && (P = -1);
875
875
  break;
876
876
  }
@@ -885,7 +885,7 @@ function lt(e, t, n, r, i, a, l, u, c) {
885
885
  case 10:
886
886
  case 13:
887
887
  case 32:
888
- x += Vo(T);
888
+ x += Vo(E);
889
889
  break;
890
890
  // \
891
891
  case 92:
@@ -893,20 +893,20 @@ function lt(e, t, n, r, i, a, l, u, c) {
893
893
  continue;
894
894
  // /
895
895
  case 47:
896
- switch (Te()) {
896
+ switch (Ee()) {
897
897
  case 42:
898
898
  case 47:
899
- Je(Bo($o(le(), ct()), t, n, c), c);
899
+ Je(Bo($o(le(), ct()), t, n, s), s);
900
900
  break;
901
901
  default:
902
902
  x += "/";
903
903
  }
904
904
  break;
905
905
  // {
906
- case 123 * E:
906
+ case 123 * T:
907
907
  u[d++] = de(x) * P;
908
908
  // } ; \0
909
- case 125 * E:
909
+ case 125 * T:
910
910
  case 59:
911
911
  case 0:
912
912
  switch (b) {
@@ -916,16 +916,16 @@ function lt(e, t, n, r, i, a, l, u, c) {
916
916
  M = 0;
917
917
  // ;
918
918
  case 59 + p:
919
- P == -1 && (x = k(x, /\f/g, "")), v > 0 && de(x) - m && Je(v > 32 ? xn(x + ";", r, n, m - 1, c) : xn(k(x, " ", "") + ";", r, n, m - 2, c), c);
919
+ P == -1 && (x = k(x, /\f/g, "")), v > 0 && de(x) - g && Je(v > 32 ? xn(x + ";", r, n, g - 1, s) : xn(k(x, " ", "") + ";", r, n, g - 2, s), s);
920
920
  break;
921
921
  // @ ;
922
922
  case 59:
923
923
  x += ";";
924
924
  // { rule/at-rule
925
925
  default:
926
- if (Je(C = bn(x, t, n, d, p, i, u, h, L = [], D = [], m, a), a), b === 123)
926
+ if (Je(C = bn(x, t, n, d, p, i, u, h, L = [], D = [], g, a), a), b === 123)
927
927
  if (p === 0)
928
- lt(x, t, C, C, L, a, m, u, D);
928
+ lt(x, t, C, C, L, a, g, u, D);
929
929
  else
930
930
  switch (w === 99 && z(x, 3) === 110 ? 100 : w) {
931
931
  // d l m s
@@ -933,25 +933,25 @@ function lt(e, t, n, r, i, a, l, u, c) {
933
933
  case 108:
934
934
  case 109:
935
935
  case 115:
936
- lt(e, C, C, r && Je(bn(e, C, C, 0, 0, i, u, h, i, L = [], m, D), D), i, D, m, u, r ? L : D);
936
+ lt(e, C, C, r && Je(bn(e, C, C, 0, 0, i, u, h, i, L = [], g, D), D), i, D, g, u, r ? L : D);
937
937
  break;
938
938
  default:
939
939
  lt(x, C, C, C, [""], D, 0, u, D);
940
940
  }
941
941
  }
942
- d = p = v = 0, E = P = 1, h = x = "", m = l;
942
+ d = p = v = 0, T = P = 1, h = x = "", g = l;
943
943
  break;
944
944
  // :
945
945
  case 58:
946
- m = 1 + de(x), v = T;
946
+ g = 1 + de(x), v = E;
947
947
  default:
948
- if (E < 1) {
948
+ if (T < 1) {
949
949
  if (b == 123)
950
- --E;
951
- else if (b == 125 && E++ == 0 && Oo() == 125)
950
+ --T;
951
+ else if (b == 125 && T++ == 0 && Oo() == 125)
952
952
  continue;
953
953
  }
954
- switch (x += Xt(b), b * E) {
954
+ switch (x += Xt(b), b * T) {
955
955
  // &
956
956
  case 38:
957
957
  P = p > 0 ? 1 : (x += "\f", -1);
@@ -962,20 +962,20 @@ function lt(e, t, n, r, i, a, l, u, c) {
962
962
  break;
963
963
  // @
964
964
  case 64:
965
- Te() === 45 && (x += It(le())), w = Te(), p = m = de(h = x += Ho(ct())), b++;
965
+ Ee() === 45 && (x += It(le())), w = Ee(), p = g = de(h = x += Ho(ct())), b++;
966
966
  break;
967
967
  // -
968
968
  case 45:
969
- T === 45 && de(x) == 2 && (E = 0);
969
+ E === 45 && de(x) == 2 && (T = 0);
970
970
  }
971
971
  }
972
972
  return a;
973
973
  }
974
- function bn(e, t, n, r, i, a, l, u, c, d, p, m) {
975
- for (var w = i - 1, v = i === 0 ? a : [""], T = qn(v), E = 0, M = 0, P = 0; E < r; ++E)
976
- for (var b = 0, h = Ve(e, w + 1, w = Wn(M = l[E])), L = e; b < T; ++b)
977
- (L = Yn(M > 0 ? v[b] + " " + h : k(h, /&\f/g, v[b]))) && (c[P++] = L);
978
- return St(e, t, n, i === 0 ? bt : u, c, d, p, m);
974
+ function bn(e, t, n, r, i, a, l, u, s, d, p, g) {
975
+ for (var w = i - 1, v = i === 0 ? a : [""], E = qn(v), T = 0, M = 0, P = 0; T < r; ++T)
976
+ for (var b = 0, h = Ve(e, w + 1, w = Wn(M = l[T])), L = e; b < E; ++b)
977
+ (L = Yn(M > 0 ? v[b] + " " + h : k(h, /&\f/g, v[b]))) && (s[P++] = L);
978
+ return St(e, t, n, i === 0 ? bt : u, s, d, p, g);
979
979
  }
980
980
  function Bo(e, t, n, r) {
981
981
  return St(e, t, n, Bn, Xt(Ao()), Ve(e, 2, -2), 0, r);
@@ -1136,8 +1136,8 @@ function Gn(e, t, n) {
1136
1136
  // grid-(column|row)
1137
1137
  case 5152:
1138
1138
  case 5920:
1139
- return k(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, i, a, l, u, c, d) {
1140
- return V + i + ":" + a + d + (l ? V + i + "-span:" + (u ? c : +c - +a) + d : "") + e;
1139
+ return k(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, i, a, l, u, s, d) {
1140
+ return V + i + ":" + a + d + (l ? V + i + "-span:" + (u ? s : +s - +a) + d : "") + e;
1141
1141
  });
1142
1142
  // position: sticky
1143
1143
  case 4949:
@@ -1284,7 +1284,7 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
1284
1284
  try {
1285
1285
  var a = !0;
1286
1286
  console.error = function(l) {
1287
- for (var u = [], c = 1; c < arguments.length; c++) u[c - 1] = arguments[c];
1287
+ for (var u = [], s = 1; s < arguments.length; s++) u[s - 1] = arguments[s];
1288
1288
  Sn.test(l) ? (a = !1, rt.delete(r)) : i.apply(void 0, je([l], u, !1));
1289
1289
  }, Y(), a && !rt.has(r) && (console.warn(r), rt.add(r));
1290
1290
  } catch (l) {
@@ -1293,7 +1293,7 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
1293
1293
  console.error = i;
1294
1294
  }
1295
1295
  }
1296
- }, Et = Object.freeze([]), $e = Object.freeze({});
1296
+ }, Tt = Object.freeze([]), $e = Object.freeze({});
1297
1297
  function Jo(e, t, n) {
1298
1298
  return n === void 0 && (n = $e), e.theme !== n.theme && e.theme || t || n.theme;
1299
1299
  }
@@ -1325,11 +1325,11 @@ function At(e) {
1325
1325
  return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
1326
1326
  }
1327
1327
  var nr = typeof Symbol == "function" && Symbol.for, rr = nr ? Symbol.for("react.memo") : 60115, ti = nr ? Symbol.for("react.forward_ref") : 60112, ni = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, ri = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, or = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, oi = ((Dt = {})[ti] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Dt[rr] = or, Dt);
1328
- function En(e) {
1328
+ function Tn(e) {
1329
1329
  return ("type" in (t = e) && t.type.$$typeof) === rr ? or : "$$typeof" in e ? oi[e.$$typeof] : ni;
1330
1330
  var t;
1331
1331
  }
1332
- var ii = Object.defineProperty, si = Object.getOwnPropertyNames, Tn = Object.getOwnPropertySymbols, ai = Object.getOwnPropertyDescriptor, ci = Object.getPrototypeOf, Pn = Object.prototype;
1332
+ var ii = Object.defineProperty, si = Object.getOwnPropertyNames, En = Object.getOwnPropertySymbols, ai = Object.getOwnPropertyDescriptor, ci = Object.getPrototypeOf, Pn = Object.prototype;
1333
1333
  function ir(e, t, n) {
1334
1334
  if (typeof t != "string") {
1335
1335
  if (Pn) {
@@ -1337,13 +1337,13 @@ function ir(e, t, n) {
1337
1337
  r && r !== Pn && ir(e, r, n);
1338
1338
  }
1339
1339
  var i = si(t);
1340
- Tn && (i = i.concat(Tn(t)));
1341
- for (var a = En(e), l = En(t), u = 0; u < i.length; ++u) {
1342
- var c = i[u];
1343
- if (!(c in ri || n && n[c] || l && c in l || a && c in a)) {
1344
- var d = ai(t, c);
1340
+ En && (i = i.concat(En(t)));
1341
+ for (var a = Tn(e), l = Tn(t), u = 0; u < i.length; ++u) {
1342
+ var s = i[u];
1343
+ if (!(s in ri || n && n[s] || l && s in l || a && s in a)) {
1344
+ var d = ai(t, s);
1345
1345
  try {
1346
- ii(e, c, d);
1346
+ ii(e, s, d);
1347
1347
  } catch {
1348
1348
  }
1349
1349
  }
@@ -1357,7 +1357,7 @@ function He(e) {
1357
1357
  function Kt(e) {
1358
1358
  return typeof e == "object" && "styledComponentId" in e;
1359
1359
  }
1360
- function Ee(e, t) {
1360
+ function Te(e, t) {
1361
1361
  return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1362
1362
  }
1363
1363
  function Ht(e, t) {
@@ -1443,7 +1443,7 @@ var di = (function() {
1443
1443
  this.groupSizes = new Uint32Array(a), this.groupSizes.set(r), this.length = a;
1444
1444
  for (var l = i; l < a; l++) this.groupSizes[l] = 0;
1445
1445
  }
1446
- for (var u = this.indexOfGroup(t + 1), c = (l = 0, n.length); l < c; l++) this.tag.insertRule(u, n[l]) && (this.groupSizes[t]++, u++);
1446
+ for (var u = this.indexOfGroup(t + 1), s = (l = 0, n.length); l < s; l++) this.tag.insertRule(u, n[l]) && (this.groupSizes[t]++, u++);
1447
1447
  }, e.prototype.clearGroup = function(t) {
1448
1448
  if (t < this.length) {
1449
1449
  var n = this.groupSizes[t], r = this.indexOfGroup(t), i = r + n;
@@ -1470,10 +1470,10 @@ var di = (function() {
1470
1470
  for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(Jt), i = [], a = 0, l = r.length; a < l; a++) {
1471
1471
  var u = r[a].trim();
1472
1472
  if (u) {
1473
- var c = u.match(mi);
1474
- if (c) {
1475
- var d = 0 | parseInt(c[1], 10), p = c[2];
1476
- d !== 0 && (pi(p, d), gi(e, p, c[3]), e.getTag().insertRules(d, i)), i.length = 0;
1473
+ var s = u.match(mi);
1474
+ if (s) {
1475
+ var d = 0 | parseInt(s[1], 10), p = s[2];
1476
+ d !== 0 && (pi(p, d), gi(e, p, s[3]), e.getTag().insertRules(d, i)), i.length = 0;
1477
1477
  } else i.push(u);
1478
1478
  }
1479
1479
  }
@@ -1488,8 +1488,8 @@ function vi() {
1488
1488
  }
1489
1489
  var sr = function(e) {
1490
1490
  var t = document.head, n = e || t, r = document.createElement("style"), i = (function(u) {
1491
- var c = Array.from(u.querySelectorAll("style[".concat(Le, "]")));
1492
- return c[c.length - 1];
1491
+ var s = Array.from(u.querySelectorAll("style[".concat(Le, "]")));
1492
+ return s[s.length - 1];
1493
1493
  })(n), a = i !== void 0 ? i.nextSibling : null;
1494
1494
  r.setAttribute(Le, Xn), r.setAttribute(Jn, kt);
1495
1495
  var l = vi();
@@ -1549,19 +1549,19 @@ var sr = function(e) {
1549
1549
  var i = this;
1550
1550
  this.options = ee(ee({}, Si), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && pt && jn && (jn = !1, Rn(this)), Qt(this, function() {
1551
1551
  return (function(a) {
1552
- for (var l = a.getTag(), u = l.length, c = "", d = function(m) {
1552
+ for (var l = a.getTag(), u = l.length, s = "", d = function(g) {
1553
1553
  var w = (function(P) {
1554
1554
  return ht.get(P);
1555
- })(m);
1555
+ })(g);
1556
1556
  if (w === void 0) return "continue";
1557
- var v = a.names.get(w), T = l.getGroup(m);
1558
- if (v === void 0 || !v.size || T.length === 0) return "continue";
1559
- var E = "".concat(Le, ".g").concat(m, '[id="').concat(w, '"]'), M = "";
1557
+ var v = a.names.get(w), E = l.getGroup(g);
1558
+ if (v === void 0 || !v.size || E.length === 0) return "continue";
1559
+ var T = "".concat(Le, ".g").concat(g, '[id="').concat(w, '"]'), M = "";
1560
1560
  v !== void 0 && v.forEach(function(P) {
1561
1561
  P.length > 0 && (M += "".concat(P, ","));
1562
- }), c += "".concat(T).concat(E, '{content:"').concat(M, '"}').concat(Jt);
1562
+ }), s += "".concat(E).concat(T, '{content:"').concat(M, '"}').concat(Jt);
1563
1563
  }, p = 0; p < u; p++) d(p);
1564
- return c;
1564
+ return s;
1565
1565
  })(i);
1566
1566
  });
1567
1567
  }
@@ -1604,27 +1604,27 @@ function cr(e, t) {
1604
1604
  })), Array.isArray(n.children) && n.type !== "@keyframes" && (n.children = cr(n.children, t)), n;
1605
1605
  });
1606
1606
  }
1607
- function Ei(e) {
1608
- var t, n, r, i = $e, a = i.options, l = a === void 0 ? $e : a, u = i.plugins, c = u === void 0 ? Et : u, d = function(w, v, T) {
1609
- return T.startsWith(n) && T.endsWith(n) && T.replaceAll(n, "").length > 0 ? ".".concat(t) : w;
1610
- }, p = c.slice();
1607
+ function Ti(e) {
1608
+ var t, n, r, i = $e, a = i.options, l = a === void 0 ? $e : a, u = i.plugins, s = u === void 0 ? Tt : u, d = function(w, v, E) {
1609
+ return E.startsWith(n) && E.endsWith(n) && E.replaceAll(n, "").length > 0 ? ".".concat(t) : w;
1610
+ }, p = s.slice();
1611
1611
  p.push(function(w) {
1612
1612
  w.type === bt && w.value.includes("&") && (w.props[0] = w.props[0].replace(Ci, n).replace(r, d));
1613
1613
  }), l.prefix && p.push(qo), p.push(Uo);
1614
- var m = function(w, v, T, E) {
1615
- v === void 0 && (v = ""), T === void 0 && (T = ""), E === void 0 && (E = "&"), t = E, n = v, r = new RegExp("\\".concat(n, "\\b"), "g");
1616
- var M = w.replace(ki, ""), P = zo(T || v ? "".concat(T, " ").concat(v, " { ").concat(M, " }") : M);
1614
+ var g = function(w, v, E, T) {
1615
+ v === void 0 && (v = ""), E === void 0 && (E = ""), T === void 0 && (T = "&"), t = T, n = v, r = new RegExp("\\".concat(n, "\\b"), "g");
1616
+ var M = w.replace(ki, ""), P = zo(E || v ? "".concat(E, " ").concat(v, " { ").concat(M, " }") : M);
1617
1617
  l.namespace && (P = cr(P, l.namespace));
1618
1618
  var b = [];
1619
1619
  return ft(P, Wo(p.concat(Yo(function(h) {
1620
1620
  return b.push(h);
1621
1621
  })))), b;
1622
1622
  };
1623
- return m.hash = c.length ? c.reduce(function(w, v) {
1623
+ return g.hash = s.length ? s.reduce(function(w, v) {
1624
1624
  return v.name || We(15), ke(w, v.name);
1625
- }, Kn).toString() : "", m;
1625
+ }, Kn).toString() : "", g;
1626
1626
  }
1627
- var Ti = new ar(), Bt = Ei(), lr = Re.createContext({ shouldForwardProp: void 0, styleSheet: Ti, stylis: Bt });
1627
+ var Ei = new ar(), Bt = Ti(), lr = Re.createContext({ shouldForwardProp: void 0, styleSheet: Ei, stylis: Bt });
1628
1628
  lr.Consumer;
1629
1629
  Re.createContext(void 0);
1630
1630
  function Ln() {
@@ -1674,7 +1674,7 @@ function Pe(e, t, n, r) {
1674
1674
  return process.env.NODE_ENV === "production" || typeof i != "object" || Array.isArray(i) || i instanceof Ut || ze(i) || i === null || console.error("".concat(tr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Pe(i, t, n, r);
1675
1675
  }
1676
1676
  var a;
1677
- return e instanceof Ut ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : ze(e) ? dr(e) : Array.isArray(e) ? Array.prototype.concat.apply(Et, e.map(function(l) {
1677
+ return e instanceof Ut ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : ze(e) ? dr(e) : Array.isArray(e) ? Array.prototype.concat.apply(Tt, e.map(function(l) {
1678
1678
  return Pe(l, t, n, r);
1679
1679
  })) : [e.toString()];
1680
1680
  }
@@ -1691,27 +1691,27 @@ var ji = Qn(kt), Li = (function() {
1691
1691
  }
1692
1692
  return e.prototype.generateAndInjectStyles = function(t, n, r) {
1693
1693
  var i = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, n, r) : "";
1694
- if (this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId)) i = Ee(i, this.staticRulesId);
1694
+ if (this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId)) i = Te(i, this.staticRulesId);
1695
1695
  else {
1696
1696
  var a = Ht(Pe(this.rules, t, n, r)), l = $t(ke(this.baseHash, a) >>> 0);
1697
1697
  if (!n.hasNameForId(this.componentId, l)) {
1698
1698
  var u = r(a, ".".concat(l), void 0, this.componentId);
1699
1699
  n.insertRules(this.componentId, l, u);
1700
1700
  }
1701
- i = Ee(i, l), this.staticRulesId = l;
1701
+ i = Te(i, l), this.staticRulesId = l;
1702
1702
  }
1703
1703
  else {
1704
- for (var c = ke(this.baseHash, r.hash), d = "", p = 0; p < this.rules.length; p++) {
1705
- var m = this.rules[p];
1706
- if (typeof m == "string") d += m, process.env.NODE_ENV !== "production" && (c = ke(c, m));
1707
- else if (m) {
1708
- var w = Ht(Pe(m, t, n, r));
1709
- c = ke(c, w + p), d += w;
1704
+ for (var s = ke(this.baseHash, r.hash), d = "", p = 0; p < this.rules.length; p++) {
1705
+ var g = this.rules[p];
1706
+ if (typeof g == "string") d += g, process.env.NODE_ENV !== "production" && (s = ke(s, g));
1707
+ else if (g) {
1708
+ var w = Ht(Pe(g, t, n, r));
1709
+ s = ke(s, w + p), d += w;
1710
1710
  }
1711
1711
  }
1712
1712
  if (d) {
1713
- var v = $t(c >>> 0);
1714
- n.hasNameForId(this.componentId, v) || n.insertRules(this.componentId, v, r(d, ".".concat(v), void 0, this.componentId)), i = Ee(i, v);
1713
+ var v = $t(s >>> 0);
1714
+ n.hasNameForId(this.componentId, v) || n.insertRules(this.componentId, v, r(d, ".".concat(v), void 0, this.componentId)), i = Te(i, v);
1715
1715
  }
1716
1716
  }
1717
1717
  return i;
@@ -1720,34 +1720,34 @@ var ji = Qn(kt), Li = (function() {
1720
1720
  fr.Consumer;
1721
1721
  var Ot = {}, In = /* @__PURE__ */ new Set();
1722
1722
  function _i(e, t, n) {
1723
- var r = Kt(e), i = e, a = !At(e), l = t.attrs, u = l === void 0 ? Et : l, c = t.componentId, d = c === void 0 ? (function(L, D) {
1723
+ var r = Kt(e), i = e, a = !At(e), l = t.attrs, u = l === void 0 ? Tt : l, s = t.componentId, d = s === void 0 ? (function(L, D) {
1724
1724
  var C = typeof L != "string" ? "sc" : Cn(L);
1725
1725
  Ot[C] = (Ot[C] || 0) + 1;
1726
1726
  var x = "".concat(C, "-").concat(er(kt + C + Ot[C]));
1727
1727
  return D ? "".concat(D, "-").concat(x) : x;
1728
- })(t.displayName, t.parentComponentId) : c, p = t.displayName, m = p === void 0 ? (function(L) {
1728
+ })(t.displayName, t.parentComponentId) : s, p = t.displayName, g = p === void 0 ? (function(L) {
1729
1729
  return At(L) ? "styled.".concat(L) : "Styled(".concat(tr(L), ")");
1730
- })(e) : p, w = t.displayName && t.componentId ? "".concat(Cn(t.displayName), "-").concat(t.componentId) : t.componentId || d, v = r && i.attrs ? i.attrs.concat(u).filter(Boolean) : u, T = t.shouldForwardProp;
1730
+ })(e) : p, w = t.displayName && t.componentId ? "".concat(Cn(t.displayName), "-").concat(t.componentId) : t.componentId || d, v = r && i.attrs ? i.attrs.concat(u).filter(Boolean) : u, E = t.shouldForwardProp;
1731
1731
  if (r && i.shouldForwardProp) {
1732
- var E = i.shouldForwardProp;
1732
+ var T = i.shouldForwardProp;
1733
1733
  if (t.shouldForwardProp) {
1734
1734
  var M = t.shouldForwardProp;
1735
- T = function(L, D) {
1736
- return E(L, D) && M(L, D);
1735
+ E = function(L, D) {
1736
+ return T(L, D) && M(L, D);
1737
1737
  };
1738
- } else T = E;
1738
+ } else E = T;
1739
1739
  }
1740
1740
  var P = new Li(n, w, r ? i.componentStyle : void 0);
1741
1741
  function b(L, D) {
1742
- return (function(C, x, U) {
1742
+ return (function(C, x, W) {
1743
1743
  var J = C.attrs, I = C.componentStyle, _e = C.defaultProps, fe = C.foldedComponentIds, q = C.styledComponentId, ne = C.target, ue = Re.useContext(fr), xe = Ln(), K = C.shouldForwardProp || xe.shouldForwardProp;
1744
1744
  process.env.NODE_ENV !== "production" && mn(q);
1745
1745
  var Ye = Jo(x, ue, _e) || $e, re = (function(De, pe, ye) {
1746
1746
  for (var se, ae = ee(ee({}, pe), { className: void 0, theme: ye }), ve = 0; ve < De.length; ve += 1) {
1747
1747
  var Ae = He(se = De[ve]) ? se(ae) : se;
1748
- for (var ce in Ae) ae[ce] = ce === "className" ? Ee(ae[ce], Ae[ce]) : ce === "style" ? ee(ee({}, ae[ce]), Ae[ce]) : Ae[ce];
1748
+ for (var ce in Ae) ae[ce] = ce === "className" ? Te(ae[ce], Ae[ce]) : ce === "style" ? ee(ee({}, ae[ce]), Ae[ce]) : Ae[ce];
1749
1749
  }
1750
- return pe.className && (ae.className = Ee(ae.className, pe.className)), ae;
1750
+ return pe.className && (ae.className = Te(ae.className, pe.className)), ae;
1751
1751
  })(J, x, Ye), me = re.as || ne, ge = {};
1752
1752
  for (var Z in re) re[Z] === void 0 || Z[0] === "$" || Z === "as" || Z === "theme" && re.theme === Ye || (Z === "forwardedAs" ? ge.as = re.forwardedAs : K && !K(Z, me) || (ge[Z] = re[Z], K || process.env.NODE_ENV !== "development" || jo(Z) || In.has(Z) || !Nt.has(me) || (In.add(Z), console.warn('styled-components: it looks like an unknown prop "'.concat(Z, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1753
1753
  var Ie = (function(De, pe) {
@@ -1755,24 +1755,24 @@ function _i(e, t, n) {
1755
1755
  return process.env.NODE_ENV !== "production" && mn(se), se;
1756
1756
  })(I, re);
1757
1757
  process.env.NODE_ENV !== "production" && C.warnTooManyClasses && C.warnTooManyClasses(Ie);
1758
- var qe = Ee(fe, q);
1759
- return Ie && (qe += " " + Ie), re.className && (qe += " " + re.className), ge[At(me) && !Nt.has(me) ? "class" : "className"] = qe, U && (ge.ref = U), wo(me, ge);
1758
+ var qe = Te(fe, q);
1759
+ return Ie && (qe += " " + Ie), re.className && (qe += " " + re.className), ge[At(me) && !Nt.has(me) ? "class" : "className"] = qe, W && (ge.ref = W), wo(me, ge);
1760
1760
  })(h, L, D);
1761
1761
  }
1762
- b.displayName = m;
1762
+ b.displayName = g;
1763
1763
  var h = Re.forwardRef(b);
1764
- return h.attrs = v, h.componentStyle = P, h.displayName = m, h.shouldForwardProp = T, h.foldedComponentIds = r ? Ee(i.foldedComponentIds, i.styledComponentId) : "", h.styledComponentId = w, h.target = r ? i.target : e, Object.defineProperty(h, "defaultProps", { get: function() {
1764
+ return h.attrs = v, h.componentStyle = P, h.displayName = g, h.shouldForwardProp = E, h.foldedComponentIds = r ? Te(i.foldedComponentIds, i.styledComponentId) : "", h.styledComponentId = w, h.target = r ? i.target : e, Object.defineProperty(h, "defaultProps", { get: function() {
1765
1765
  return this._foldedDefaultProps;
1766
1766
  }, set: function(L) {
1767
1767
  this._foldedDefaultProps = r ? (function(D) {
1768
1768
  for (var C = [], x = 1; x < arguments.length; x++) C[x - 1] = arguments[x];
1769
- for (var U = 0, J = C; U < J.length; U++) zt(D, J[U], !0);
1769
+ for (var W = 0, J = C; W < J.length; W++) zt(D, J[W], !0);
1770
1770
  return D;
1771
1771
  })({}, i.defaultProps, L) : L;
1772
- } }), process.env.NODE_ENV !== "production" && (Xo(m, w), h.warnTooManyClasses = /* @__PURE__ */ (function(L, D) {
1772
+ } }), process.env.NODE_ENV !== "production" && (Xo(g, w), h.warnTooManyClasses = /* @__PURE__ */ (function(L, D) {
1773
1773
  var C = {}, x = !1;
1774
- return function(U) {
1775
- if (!x && (C[U] = !0, Object.keys(C).length >= 200)) {
1774
+ return function(W) {
1775
+ if (!x && (C[W] = !0, Object.keys(C).length >= 200)) {
1776
1776
  var J = D ? ' with the id of "'.concat(D, '"') : "";
1777
1777
  console.warn("Over ".concat(200, " classes were generated for component ").concat(L).concat(J, `.
1778
1778
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
@@ -1786,7 +1786,7 @@ Example:
1786
1786
  <Component />`), x = !0, C = {};
1787
1787
  }
1788
1788
  };
1789
- })(m, w)), Qt(h, function() {
1789
+ })(g, w)), Qt(h, function() {
1790
1790
  return ".".concat(h.styledComponentId);
1791
1791
  }), a && ir(h, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), h;
1792
1792
  }
@@ -1799,7 +1799,7 @@ var An = function(e) {
1799
1799
  };
1800
1800
  function mt(e) {
1801
1801
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1802
- if (He(e) || ze(e)) return An(Pe(Dn(Et, je([e], t, !0))));
1802
+ if (He(e) || ze(e)) return An(Pe(Dn(Tt, je([e], t, !0))));
1803
1803
  var r = e;
1804
1804
  return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? Pe(r) : An(Pe(Dn(r, t)));
1805
1805
  }
@@ -1840,31 +1840,31 @@ function Di({
1840
1840
  eventNotStartedMessage: n,
1841
1841
  eventStartingSoonMessage: r
1842
1842
  }) {
1843
- const i = W((d) => d.startDate), a = W((d) => d.endDate), l = Date.now(), u = l < i.getTime(), c = l > a.getTime();
1844
- return ko(5e3), u ? /* @__PURE__ */ s.jsx(
1843
+ const i = U((d) => d.startDate), a = U((d) => d.endDate), l = Date.now(), u = l < i.getTime(), s = l > a.getTime();
1844
+ return ko(5e3), u ? /* @__PURE__ */ c.jsx(
1845
1845
  Ai,
1846
1846
  {
1847
1847
  startDate: i,
1848
1848
  title: n || "Event has not started yet.",
1849
1849
  message: r || "Starting in few seconds..."
1850
1850
  }
1851
- ) : c ? /* @__PURE__ */ s.jsx(Oi, { title: t || "Event has finished." }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: e });
1851
+ ) : s ? /* @__PURE__ */ c.jsx(Oi, { title: t || "Event has finished." }) : /* @__PURE__ */ c.jsx(c.Fragment, { children: e });
1852
1852
  }
1853
1853
  function Ai({ startDate: e, title: t, message: n }) {
1854
1854
  const r = e.getTime() - Date.now(), i = Math.floor(r / (1e3 * 60 * 60)), a = Math.floor(
1855
1855
  r % (1e3 * 60 * 60) / (1e3 * 60)
1856
1856
  );
1857
- return i || a ? /* @__PURE__ */ s.jsxs(Yt, { children: [
1858
- /* @__PURE__ */ s.jsx(qt, { children: t }),
1859
- /* @__PURE__ */ s.jsxs(Fi, { children: [
1857
+ return i || a ? /* @__PURE__ */ c.jsxs(Yt, { children: [
1858
+ /* @__PURE__ */ c.jsx(qt, { children: t }),
1859
+ /* @__PURE__ */ c.jsxs(Fi, { children: [
1860
1860
  "(",
1861
1861
  i > 0 ? `${i}h ${a}m` : `${a}m`,
1862
1862
  ")"
1863
1863
  ] })
1864
- ] }) : /* @__PURE__ */ s.jsx(Yt, { children: /* @__PURE__ */ s.jsx(qt, { children: n }) });
1864
+ ] }) : /* @__PURE__ */ c.jsx(Yt, { children: /* @__PURE__ */ c.jsx(qt, { children: n }) });
1865
1865
  }
1866
1866
  function Oi({ title: e }) {
1867
- return /* @__PURE__ */ s.jsx(Yt, { children: /* @__PURE__ */ s.jsx(qt, { children: e }) });
1867
+ return /* @__PURE__ */ c.jsx(Yt, { children: /* @__PURE__ */ c.jsx(qt, { children: e }) });
1868
1868
  }
1869
1869
  const Yt = _.div`
1870
1870
  position: absolute;
@@ -1895,18 +1895,18 @@ const Yt = _.div`
1895
1895
  font-weight: 500;
1896
1896
  `;
1897
1897
  function Mi() {
1898
- return /* @__PURE__ */ s.jsx(
1898
+ return /* @__PURE__ */ c.jsx(
1899
1899
  "svg",
1900
1900
  {
1901
1901
  xmlns: "http://www.w3.org/2000/svg",
1902
1902
  viewBox: "0 0 24 24",
1903
1903
  fill: "currentColor",
1904
- children: /* @__PURE__ */ s.jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })
1904
+ children: /* @__PURE__ */ c.jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })
1905
1905
  }
1906
1906
  );
1907
1907
  }
1908
1908
  const be = yt(
1909
- ({ shape: e = "circle", ...t }, n) => /* @__PURE__ */ s.jsx(Vi, { ref: n, $shape: e, ...t })
1909
+ ({ shape: e = "circle", ...t }, n) => /* @__PURE__ */ c.jsx(Vi, { ref: n, $shape: e, ...t })
1910
1910
  );
1911
1911
  be.displayName = "PlayerButton";
1912
1912
  const Vi = _.button`
@@ -1958,31 +1958,31 @@ const Vi = _.button`
1958
1958
  `}
1959
1959
  `;
1960
1960
  function Ni({ message: e, ...t }) {
1961
- const n = W((a) => a.delay), r = W((a) => a.setDelay), i = () => r(0);
1962
- return n ? /* @__PURE__ */ s.jsxs(be, { onClick: i, shape: "square", ...t, children: [
1963
- /* @__PURE__ */ s.jsx("span", { children: e || "Live" }),
1964
- /* @__PURE__ */ s.jsx(Mi, {})
1961
+ const n = U((a) => a.delay), r = U((a) => a.setDelay), i = () => r(0);
1962
+ return n ? /* @__PURE__ */ c.jsxs(be, { onClick: i, shape: "square", ...t, children: [
1963
+ /* @__PURE__ */ c.jsx("span", { children: e || "Live" }),
1964
+ /* @__PURE__ */ c.jsx(Mi, {})
1965
1965
  ] }) : null;
1966
1966
  }
1967
1967
  function hr() {
1968
- return /* @__PURE__ */ s.jsx(
1968
+ return /* @__PURE__ */ c.jsx(
1969
1969
  "svg",
1970
1970
  {
1971
1971
  xmlns: "http://www.w3.org/2000/svg",
1972
1972
  viewBox: "0 0 24 24",
1973
1973
  fill: "currentColor",
1974
- children: /* @__PURE__ */ s.jsx("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })
1974
+ children: /* @__PURE__ */ c.jsx("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })
1975
1975
  }
1976
1976
  );
1977
1977
  }
1978
1978
  function mr() {
1979
- return /* @__PURE__ */ s.jsx(
1979
+ return /* @__PURE__ */ c.jsx(
1980
1980
  "svg",
1981
1981
  {
1982
1982
  xmlns: "http://www.w3.org/2000/svg",
1983
1983
  viewBox: "0 0 24 24",
1984
1984
  fill: "currentColor",
1985
- children: /* @__PURE__ */ s.jsx("path", { d: "M19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })
1985
+ children: /* @__PURE__ */ c.jsx("path", { d: "M19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })
1986
1986
  }
1987
1987
  );
1988
1988
  }
@@ -2104,7 +2104,7 @@ const qi = (e, t) => ({
2104
2104
  pauseTime: Date.now()
2105
2105
  }));
2106
2106
  },
2107
- pauseTimeDiff: () => Hi(Date.now() - t().pauseTime),
2107
+ pauseTimeDiff: () => parseInt(Hi(Date.now() - t().pauseTime).toFixed(0)),
2108
2108
  play: () => {
2109
2109
  const n = t().techRef.current;
2110
2110
  n && (n.play(), e({
@@ -2179,37 +2179,37 @@ const qi = (e, t) => ({
2179
2179
  })), yr = Nn(null);
2180
2180
  function Qi({ children: e }) {
2181
2181
  const t = Y(null), n = Y(null), r = Y(null);
2182
- return t.current || (t.current = Ki(n, r)), /* @__PURE__ */ s.jsx(yr.Provider, { value: t.current, children: e });
2182
+ return t.current || (t.current = Ki(n, r)), /* @__PURE__ */ c.jsx(yr.Provider, { value: t.current, children: e });
2183
2183
  }
2184
- const g = (e) => {
2184
+ const m = (e) => {
2185
2185
  const t = Zt(yr);
2186
2186
  if (!t)
2187
2187
  throw new Error("usePlayerStore must be used within PlayerStoreProvider");
2188
2188
  return Hn(t, e);
2189
2189
  };
2190
2190
  function es() {
2191
- const e = g((c) => c.isPlaying), t = g((c) => c.pause), n = g((c) => c.pauseTime), r = g((c) => c.pauseTimeDiff), i = g((c) => c.play), a = W((c) => c.delay), l = W((c) => c.setDelay), u = () => {
2191
+ const e = m((s) => s.isPlaying), t = m((s) => s.pause), n = m((s) => s.pauseTime), r = m((s) => s.pauseTimeDiff), i = m((s) => s.play), a = U((s) => s.delay), l = U((s) => s.setDelay), u = () => {
2192
2192
  e ? t() : (n && l(a + r()), i());
2193
2193
  };
2194
- return /* @__PURE__ */ s.jsx(be, { onClick: u, children: e ? /* @__PURE__ */ s.jsx(hr, {}) : /* @__PURE__ */ s.jsx(mr, {}) });
2194
+ return /* @__PURE__ */ c.jsx(be, { onClick: u, children: e ? /* @__PURE__ */ c.jsx(hr, {}) : /* @__PURE__ */ c.jsx(mr, {}) });
2195
2195
  }
2196
2196
  function vr({
2197
2197
  className: e,
2198
2198
  onClick: t,
2199
2199
  ...n
2200
2200
  }) {
2201
- const r = Y(null), i = g((m) => m.exitFullscreen), a = g((m) => m.isFullscreen), l = g((m) => m.requestFullscreen), u = (m) => {
2202
- p() ? (d(), a ? i() : l()) : c(m);
2203
- }, c = (m) => {
2201
+ const r = Y(null), i = m((g) => g.exitFullscreen), a = m((g) => g.isFullscreen), l = m((g) => g.requestFullscreen), u = (g) => {
2202
+ p() ? (d(), a ? i() : l()) : s(g);
2203
+ }, s = (g) => {
2204
2204
  r.current = window.setTimeout(() => {
2205
- t?.(m), d();
2205
+ t?.(g), d();
2206
2206
  }, 200);
2207
2207
  }, d = () => {
2208
2208
  r.current !== null && (window.clearTimeout(r.current), r.current = null);
2209
2209
  }, p = () => r.current !== null;
2210
2210
  return te(() => () => {
2211
2211
  d();
2212
- }, []), /* @__PURE__ */ s.jsx(
2212
+ }, []), /* @__PURE__ */ c.jsx(
2213
2213
  ts,
2214
2214
  {
2215
2215
  onClick: u,
@@ -2239,10 +2239,10 @@ const ts = _.button`
2239
2239
  }
2240
2240
  `;
2241
2241
  function ns() {
2242
- const e = g((r) => r.isPlaying), t = g((r) => r.play), n = () => {
2243
- e || t();
2242
+ const e = m((s) => s.isPlaying), t = m((s) => s.pause), n = m((s) => s.pauseTime), r = m((s) => s.pauseTimeDiff), i = m((s) => s.play), a = U((s) => s.delay), l = U((s) => s.setDelay), u = () => {
2243
+ e ? t() : (n && l(a + r()), i());
2244
2244
  };
2245
- return /* @__PURE__ */ s.jsx(vr, { onClick: n });
2245
+ return /* @__PURE__ */ c.jsx(vr, { onClick: u });
2246
2246
  }
2247
2247
  const wr = _.div`
2248
2248
  position: relative;
@@ -2271,7 +2271,7 @@ const wr = _.div`
2271
2271
  color: white;
2272
2272
  background: rgba(0, 0, 0, 0.8);
2273
2273
  border-radius: 1rem;
2274
- `, Tt = yt(({ max: e = 100, min: t = 0, ...n }, r) => /* @__PURE__ */ s.jsxs(
2274
+ `, Et = yt(({ max: e = 100, min: t = 0, ...n }, r) => /* @__PURE__ */ c.jsxs(
2275
2275
  rs,
2276
2276
  {
2277
2277
  ref: r,
@@ -2285,12 +2285,12 @@ const wr = _.div`
2285
2285
  ),
2286
2286
  ...n,
2287
2287
  children: [
2288
- /* @__PURE__ */ s.jsx(os, { children: /* @__PURE__ */ s.jsx(is, {}) }),
2289
- /* @__PURE__ */ s.jsx(ss, {})
2288
+ /* @__PURE__ */ c.jsx(os, { children: /* @__PURE__ */ c.jsx(is, {}) }),
2289
+ /* @__PURE__ */ c.jsx(ss, {})
2290
2290
  ]
2291
2291
  }
2292
2292
  ));
2293
- Tt.displayName = "PlayerSlider";
2293
+ Et.displayName = "PlayerSlider";
2294
2294
  const rs = _(vt.Root)`
2295
2295
  position: relative;
2296
2296
  display: flex;
@@ -2371,32 +2371,32 @@ function cs({
2371
2371
  value: -1,
2372
2372
  selected: e || t === -1
2373
2373
  }), n.sort(function(a, l) {
2374
- const u = a.height || a.bitrate || 0, c = l.height || l.bitrate || 0;
2375
- return u === c ? 0 : u > c ? 1 : -1;
2374
+ const u = a.height || a.bitrate || 0, s = l.height || l.bitrate || 0;
2375
+ return u === s ? 0 : u > s ? 1 : -1;
2376
2376
  }), n.map((a) => {
2377
- const { bitrate: l, height: u, index: c } = a;
2377
+ const { bitrate: l, height: u, index: s } = a;
2378
2378
  i.push({
2379
- sid: `quality-level-${c}`,
2379
+ sid: `quality-level-${s}`,
2380
2380
  label: u ? `${u}p` : as(l),
2381
- value: c,
2382
- selected: r === 1 || !e && c === t
2381
+ value: s,
2382
+ selected: r === 1 || !e && s === t
2383
2383
  });
2384
2384
  }), i;
2385
2385
  }
2386
2386
  const On = "vod-player-progress-bar";
2387
2387
  function ls() {
2388
- const e = Y(null), t = Y(null), [n, r] = X(0), [i, a] = X(0), [l, u] = X(!1), [c, d] = X(-1), [p, m] = X(-1), w = W((I) => I.delay), v = W((I) => I.startTime), T = W((I) => I.endTime), E = W((I) => I.setDelay), M = g((I) => I.isPlaying), P = g((I) => I.addIdleLock), b = g((I) => I.removeIdleLock), h = B(() => {
2389
- r(Cr(v, w)), a(kr(v, T));
2390
- }, [w, T, v]), L = parseFloat(
2388
+ const e = Y(null), t = Y(null), [n, r] = X(0), [i, a] = X(0), [l, u] = X(!1), [s, d] = X(-1), [p, g] = X(-1), w = U((I) => I.delay), v = U((I) => I.startTime), E = U((I) => I.endTime), T = U((I) => I.setDelay), M = m((I) => I.isPlaying), P = m((I) => I.addIdleLock), b = m((I) => I.removeIdleLock), h = B(() => {
2389
+ r(Cr(v, w)), a(kr(v, E));
2390
+ }, [w, E, v]), L = parseFloat(
2391
2391
  (i ? (p !== -1 ? p : n) / i * 100 : 0).toFixed(1)
2392
2392
  ), D = (I) => {
2393
- m(i * (I[0] / 100)), P(On);
2393
+ g(i * (I[0] / 100)), P(On);
2394
2394
  }, C = () => {
2395
2395
  if (p !== -1) {
2396
2396
  const I = Sr(v, p);
2397
- E(I), m(-1), b(On);
2397
+ T(I), g(-1), b(On);
2398
2398
  }
2399
- }, x = () => u(!0), U = () => u(!1), J = B(
2399
+ }, x = () => u(!0), W = () => u(!1), J = B(
2400
2400
  (I) => {
2401
2401
  const _e = e.current, fe = t.current;
2402
2402
  if (_e && fe) {
@@ -2411,34 +2411,34 @@ function ls() {
2411
2411
  );
2412
2412
  return wt(() => h(), M ? 1e3 : null), te(() => {
2413
2413
  h();
2414
- }, [h]), /* @__PURE__ */ s.jsxs(wr, { children: [
2415
- /* @__PURE__ */ s.jsx(
2416
- Tt,
2414
+ }, [h]), /* @__PURE__ */ c.jsxs(wr, { children: [
2415
+ /* @__PURE__ */ c.jsx(
2416
+ Et,
2417
2417
  {
2418
2418
  ref: e,
2419
2419
  value: [L],
2420
- onPointerLeave: U,
2421
- onPointerDown: U,
2420
+ onPointerLeave: W,
2421
+ onPointerDown: W,
2422
2422
  onPointerMove: J,
2423
2423
  onValueChange: D,
2424
2424
  onValueCommit: C,
2425
2425
  step: 0.1
2426
2426
  }
2427
2427
  ),
2428
- /* @__PURE__ */ s.jsx(br, { ref: t, $isVisible: l, children: /* @__PURE__ */ s.jsx(xr, { children: Be(c) }) })
2428
+ /* @__PURE__ */ c.jsx(br, { ref: t, $isVisible: l, children: /* @__PURE__ */ c.jsx(xr, { children: Be(s) }) })
2429
2429
  ] });
2430
2430
  }
2431
- function Er({ children: e }) {
2432
- return /* @__PURE__ */ s.jsx(Qi, { children: e });
2431
+ function Tr({ children: e }) {
2432
+ return /* @__PURE__ */ c.jsx(Qi, { children: e });
2433
2433
  }
2434
2434
  function us({
2435
2435
  children: e,
2436
2436
  startDate: t,
2437
2437
  endDate: n
2438
2438
  }) {
2439
- return /* @__PURE__ */ s.jsx(To, { startDate: t, endDate: n, children: /* @__PURE__ */ s.jsx(Er, { children: e }) });
2439
+ return /* @__PURE__ */ c.jsx(Eo, { startDate: t, endDate: n, children: /* @__PURE__ */ c.jsx(Tr, { children: e }) });
2440
2440
  }
2441
- const Tr = _.div`
2441
+ const Er = _.div`
2442
2442
  display: flex;
2443
2443
  align-items: center;
2444
2444
  `, Pr = _.p`
@@ -2466,41 +2466,41 @@ const Tr = _.div`
2466
2466
  }
2467
2467
  `;
2468
2468
  function ds() {
2469
- const [e, t] = X(0), [n, r] = X(0), i = g((d) => d.isPlaying), a = W((d) => d.delay), l = W((d) => d.startTime), u = W((d) => d.endTime), c = B(() => {
2469
+ const [e, t] = X(0), [n, r] = X(0), i = m((d) => d.isPlaying), a = U((d) => d.delay), l = U((d) => d.startTime), u = U((d) => d.endTime), s = B(() => {
2470
2470
  t(Cr(l, a)), r(kr(l, u));
2471
2471
  }, [a, u, l]);
2472
- return wt(() => c(), i ? 1e3 : null), te(() => {
2473
- c();
2474
- }, [c]), a ? /* @__PURE__ */ s.jsxs(Tr, { children: [
2475
- /* @__PURE__ */ s.jsx(Rr, { children: Be(e) }),
2476
- /* @__PURE__ */ s.jsx(Lr, {}),
2477
- /* @__PURE__ */ s.jsx(jr, { children: Be(n) })
2472
+ return wt(() => s(), i ? 1e3 : null), te(() => {
2473
+ s();
2474
+ }, [s]), a ? /* @__PURE__ */ c.jsxs(Er, { children: [
2475
+ /* @__PURE__ */ c.jsx(Rr, { children: Be(e) }),
2476
+ /* @__PURE__ */ c.jsx(Lr, {}),
2477
+ /* @__PURE__ */ c.jsx(jr, { children: Be(n) })
2478
2478
  ] }) : null;
2479
2479
  }
2480
2480
  function fs() {
2481
- return /* @__PURE__ */ s.jsx(
2481
+ return /* @__PURE__ */ c.jsx(
2482
2482
  "svg",
2483
2483
  {
2484
2484
  xmlns: "http://www.w3.org/2000/svg",
2485
2485
  viewBox: "0 0 24 24",
2486
2486
  fill: "currentColor",
2487
- children: /* @__PURE__ */ s.jsx("path", { d: "M22 12C22 17.5228 17.5229 22 12 22C6.4772 22 2 17.5228 2 12C2 6.47715 6.4772 2 12 2V4C7.5817 4 4 7.58172 4 12C4 16.4183 7.5817 20 12 20C16.4183 20 20 16.4183 20 12C20 9.53614 18.8862 7.33243 17.1346 5.86492L15 8V2L21 2L18.5535 4.44656C20.6649 6.28002 22 8.9841 22 12Z" })
2487
+ children: /* @__PURE__ */ c.jsx("path", { d: "M22 12C22 17.5228 17.5229 22 12 22C6.4772 22 2 17.5228 2 12C2 6.47715 6.4772 2 12 2V4C7.5817 4 4 7.58172 4 12C4 16.4183 7.5817 20 12 20C16.4183 20 20 16.4183 20 12C20 9.53614 18.8862 7.33243 17.1346 5.86492L15 8V2L21 2L18.5535 4.44656C20.6649 6.28002 22 8.9841 22 12Z" })
2488
2488
  }
2489
2489
  );
2490
2490
  }
2491
2491
  function ps() {
2492
- const e = W((r) => r.startTime), t = W((r) => r.setDelay), n = () => t(Sr(e));
2493
- return /* @__PURE__ */ s.jsx(be, { onClick: n, children: /* @__PURE__ */ s.jsx(fs, {}) });
2492
+ const e = U((r) => r.startTime), t = U((r) => r.setDelay), n = () => t(Sr(e));
2493
+ return /* @__PURE__ */ c.jsx(be, { onClick: n, children: /* @__PURE__ */ c.jsx(fs, {}) });
2494
2494
  }
2495
2495
  function hs({ url: e, isLive: t }) {
2496
- const n = Y(null), r = g((v) => v.level), i = g((v) => v.levels), a = g((v) => v.setLevel), l = g((v) => v.setLevels), u = g((v) => v.techRef), c = B(
2496
+ const n = Y(null), r = m((v) => v.level), i = m((v) => v.levels), a = m((v) => v.setLevel), l = m((v) => v.setLevels), u = m((v) => v.techRef), s = B(
2497
2497
  (v) => {
2498
2498
  if (n.current && (n.current.nextLevel = v, a(null), i)) {
2499
- const T = i.map((E) => ({
2500
- ...E,
2501
- selected: E.value === v
2499
+ const E = i.map((T) => ({
2500
+ ...T,
2501
+ selected: T.value === v
2502
2502
  }));
2503
- l(T);
2503
+ l(E);
2504
2504
  }
2505
2505
  },
2506
2506
  [i, a, l, n]
@@ -2509,7 +2509,7 @@ function hs({ url: e, isLive: t }) {
2509
2509
  }, [e]), p = B(() => {
2510
2510
  if (!n.current) return;
2511
2511
  console.log("[Player][Event]", "MANIFEST_LOADED");
2512
- const v = n.current.levels, T = n.current.currentLevel, E = n.current.autoLevelEnabled;
2512
+ const v = n.current.levels, E = n.current.currentLevel, T = n.current.autoLevelEnabled;
2513
2513
  l(
2514
2514
  cs({
2515
2515
  levels: v.map((M, P) => {
@@ -2521,13 +2521,13 @@ function hs({ url: e, isLive: t }) {
2521
2521
  width: L
2522
2522
  };
2523
2523
  }),
2524
- level: T,
2525
- isAuto: E
2524
+ level: E,
2525
+ isAuto: T
2526
2526
  })
2527
2527
  );
2528
- }, [l]), m = B(() => {
2528
+ }, [l]), g = B(() => {
2529
2529
  if (!u.current) return;
2530
- const E = t ? {
2530
+ const T = t ? {
2531
2531
  backBufferLength: 10,
2532
2532
  startLevel: -1
2533
2533
  } : {
@@ -2535,7 +2535,7 @@ function hs({ url: e, isLive: t }) {
2535
2535
  startLevel: -1
2536
2536
  };
2537
2537
  try {
2538
- console.log("[Player] URL", e), console.log("[Player] Config", JSON.stringify(E)), console.log("[Player] Version", Ce.version), n.current = new Ce(E), n.current.attachMedia(u.current), n.current.on(Ce.Events.MEDIA_ATTACHED, d), n.current.on(Ce.Events.MANIFEST_LOADED, p);
2538
+ console.log("[Player] URL", e), console.log("[Player] Config", JSON.stringify(T)), console.log("[Player] Version", Ce.version), n.current = new Ce(T), n.current.attachMedia(u.current), n.current.on(Ce.Events.MEDIA_ATTACHED, d), n.current.on(Ce.Events.MANIFEST_LOADED, p);
2539
2539
  } catch (M) {
2540
2540
  throw new Error(`Error initializing Hls: ${M}`);
2541
2541
  }
@@ -2543,24 +2543,24 @@ function hs({ url: e, isLive: t }) {
2543
2543
  n.current && (n.current.off(Ce.Events.MEDIA_ATTACHED, d), n.current.off(Ce.Events.MANIFEST_LOADED, p), n.current.destroy(), n.current = null);
2544
2544
  }, [p, d]);
2545
2545
  return te(() => {
2546
- r !== null && c(r);
2547
- }, [r, c]), te(() => (Ce.isSupported() && m(), w), [w, m]), null;
2546
+ r !== null && s(r);
2547
+ }, [r, s]), te(() => (Ce.isSupported() && g(), w), [w, g]), null;
2548
2548
  }
2549
2549
  function _r({ url: e, isLive: t, isMuted: n = !1 }) {
2550
- const r = g((h) => h.handleDurationChange), i = g((h) => h.handleEnd), a = g((h) => h.handleLoadedMetadata), l = g((h) => h.handleLoadStart), u = g((h) => h.handlePause), c = g((h) => h.handlePlay), d = g((h) => h.handlePlaying), p = g((h) => h.handleSeeked), m = g((h) => h.handleSeeking), w = g((h) => h.handleTimeUpdate), v = g((h) => h.handleWaiting), T = g((h) => h.techRef), E = Y(null), M = () => t ? {} : {
2550
+ const r = m((h) => h.handleDurationChange), i = m((h) => h.handleEnd), a = m((h) => h.handleLoadedMetadata), l = m((h) => h.handleLoadStart), u = m((h) => h.handlePause), s = m((h) => h.handlePlay), d = m((h) => h.handlePlaying), p = m((h) => h.handleSeeked), g = m((h) => h.handleSeeking), w = m((h) => h.handleTimeUpdate), v = m((h) => h.handleWaiting), E = m((h) => h.techRef), T = Y(null), M = () => t ? {} : {
2551
2551
  onDurationChange: r,
2552
2552
  onSeeked: p,
2553
- onSeeking: m,
2553
+ onSeeking: g,
2554
2554
  onTimeUpdate: P
2555
2555
  }, P = () => {
2556
- (!E.current || Date.now() - E.current >= 1e3) && (w(), E.current = Date.now());
2556
+ (!T.current || Date.now() - T.current >= 1e3) && (w(), T.current = Date.now());
2557
2557
  }, b = M();
2558
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
2559
- /* @__PURE__ */ s.jsx(hs, { isLive: t, url: e }),
2560
- /* @__PURE__ */ s.jsx(
2558
+ return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2559
+ /* @__PURE__ */ c.jsx(hs, { isLive: t, url: e }),
2560
+ /* @__PURE__ */ c.jsx(
2561
2561
  ms,
2562
2562
  {
2563
- ref: T,
2563
+ ref: E,
2564
2564
  playsInline: !0,
2565
2565
  autoPlay: !0,
2566
2566
  controls: !1,
@@ -2571,7 +2571,7 @@ function _r({ url: e, isLive: t, isMuted: n = !1 }) {
2571
2571
  onLoadedMetadata: a,
2572
2572
  onLoadStart: l,
2573
2573
  onPause: u,
2574
- onPlay: c,
2574
+ onPlay: s,
2575
2575
  onPlaying: d,
2576
2576
  onWaiting: v,
2577
2577
  tabIndex: -1,
@@ -2590,7 +2590,7 @@ const ms = _.video`
2590
2590
  }
2591
2591
  `;
2592
2592
  function gs({ url: e }) {
2593
- const [t, n] = X(null), r = W((a) => a.delay), i = B(async () => {
2593
+ const [t, n] = X(null), r = U((a) => a.delay), i = B(async () => {
2594
2594
  n(
2595
2595
  r ? e.replace(
2596
2596
  "playlist.m3u8",
@@ -2600,7 +2600,7 @@ function gs({ url: e }) {
2600
2600
  }, [r, e]);
2601
2601
  return te(() => {
2602
2602
  i();
2603
- }, [i]), t ? /* @__PURE__ */ s.jsx(_r, { url: t, isLive: !0 }) : null;
2603
+ }, [i]), t ? /* @__PURE__ */ c.jsx(_r, { url: t, isLive: !0 }) : null;
2604
2604
  }
2605
2605
  const Ir = _.div`
2606
2606
  position: absolute;
@@ -2651,34 +2651,34 @@ const Ir = _.div`
2651
2651
  justify-content: flex-end;
2652
2652
  `;
2653
2653
  function ys() {
2654
- return /* @__PURE__ */ s.jsx(
2654
+ return /* @__PURE__ */ c.jsx(
2655
2655
  "svg",
2656
2656
  {
2657
2657
  xmlns: "http://www.w3.org/2000/svg",
2658
2658
  viewBox: "0 0 24 24",
2659
2659
  fill: "currentColor",
2660
- children: /* @__PURE__ */ s.jsx("path", { d: "M16 3H22V9H20V5H16V3ZM2 3H8V5H4V9H2V3ZM20 19V15H22V21H16V19H20ZM4 19H8V21H2V15H4V19Z" })
2660
+ children: /* @__PURE__ */ c.jsx("path", { d: "M16 3H22V9H20V5H16V3ZM2 3H8V5H4V9H2V3ZM20 19V15H22V21H16V19H20ZM4 19H8V21H2V15H4V19Z" })
2661
2661
  }
2662
2662
  );
2663
2663
  }
2664
2664
  function vs() {
2665
- return /* @__PURE__ */ s.jsx(
2665
+ return /* @__PURE__ */ c.jsx(
2666
2666
  "svg",
2667
2667
  {
2668
2668
  xmlns: "http://www.w3.org/2000/svg",
2669
2669
  viewBox: "0 0 24 24",
2670
2670
  fill: "currentColor",
2671
- children: /* @__PURE__ */ s.jsx("path", { d: "M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z" })
2671
+ children: /* @__PURE__ */ c.jsx("path", { d: "M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z" })
2672
2672
  }
2673
2673
  );
2674
2674
  }
2675
2675
  function Nr() {
2676
- const e = g((d) => d.containerRef), t = g((d) => d.exitFullscreen), n = g((d) => d.isFullscreen), r = g((d) => d.requestFullscreen), i = g((d) => d.setIsFullscreen), a = g((d) => d.setIsFullscreenReady), l = g((d) => d.techRef), u = B(
2676
+ const e = m((d) => d.containerRef), t = m((d) => d.exitFullscreen), n = m((d) => d.isFullscreen), r = m((d) => d.requestFullscreen), i = m((d) => d.setIsFullscreen), a = m((d) => d.setIsFullscreenReady), l = m((d) => d.techRef), u = B(
2677
2677
  (d) => {
2678
2678
  d.stopPropagation(), i(Bi());
2679
2679
  },
2680
2680
  [i]
2681
- ), c = () => {
2681
+ ), s = () => {
2682
2682
  n ? t() : r();
2683
2683
  };
2684
2684
  return te(() => {
@@ -2687,29 +2687,29 @@ function Nr() {
2687
2687
  return Yi(d, u);
2688
2688
  }, [e, u, l]), te(() => {
2689
2689
  a(!0);
2690
- }, [a]), /* @__PURE__ */ s.jsx(be, { onClick: c, children: n ? /* @__PURE__ */ s.jsx(vs, {}) : /* @__PURE__ */ s.jsx(ys, {}) });
2690
+ }, [a]), /* @__PURE__ */ c.jsx(be, { onClick: s, children: n ? /* @__PURE__ */ c.jsx(vs, {}) : /* @__PURE__ */ c.jsx(ys, {}) });
2691
2691
  }
2692
2692
  const ws = 5 * 1e3;
2693
2693
  function $r({ children: e }) {
2694
- const t = Y(null), [n, r] = X(!1), i = Y(null), l = g((d) => d.idleLocks).size, u = B(() => {
2694
+ const t = Y(null), [n, r] = X(!1), i = Y(null), l = m((d) => d.idleLocks).size, u = B(() => {
2695
2695
  i.current !== null && (window.clearTimeout(i.current), i.current = null);
2696
- }, []), c = B(() => {
2696
+ }, []), s = B(() => {
2697
2697
  u(), i.current = window.setTimeout(() => r(!0), ws);
2698
2698
  }, [u]);
2699
- return te(() => (r(!1), c(), () => {
2699
+ return te(() => (r(!1), s(), () => {
2700
2700
  u();
2701
- }), [u, c]), te(() => {
2701
+ }), [u, s]), te(() => {
2702
2702
  const d = t.current;
2703
2703
  if (!d) return;
2704
2704
  const p = (w) => {
2705
- n && (w.stopPropagation(), r(!1), c());
2706
- }, m = () => {
2707
- n && r(!1), c();
2705
+ n && (w.stopPropagation(), r(!1), s());
2706
+ }, g = () => {
2707
+ n && r(!1), s();
2708
2708
  };
2709
- return d.addEventListener("click", p), d.addEventListener("mousemove", m), () => {
2710
- d.removeEventListener("click", p), d.removeEventListener("mousemove", m);
2709
+ return d.addEventListener("click", p), d.addEventListener("mousemove", g), () => {
2710
+ d.removeEventListener("click", p), d.removeEventListener("mousemove", g);
2711
2711
  };
2712
- }, [t, n, r, c]), /* @__PURE__ */ s.jsx(bs, { ref: t, $isIdle: n && !l, children: e });
2712
+ }, [t, n, r, s]), /* @__PURE__ */ c.jsx(bs, { ref: t, $isIdle: n && !l, children: e });
2713
2713
  }
2714
2714
  const bs = _.div`
2715
2715
  position: absolute;
@@ -2722,7 +2722,7 @@ const bs = _.div`
2722
2722
  opacity: ${({ $isIdle: e }) => e ? 0 : 1};
2723
2723
  `;
2724
2724
  function xs(e) {
2725
- return /* @__PURE__ */ s.jsx(Cs, { ...e });
2725
+ return /* @__PURE__ */ c.jsx(Cs, { ...e });
2726
2726
  }
2727
2727
  const Ss = Ii`
2728
2728
  from {
@@ -2749,10 +2749,10 @@ function ks(e, t = 500) {
2749
2749
  }, [e, t]), n;
2750
2750
  }
2751
2751
  function Hr({ style: e, ...t }) {
2752
- const n = g((i) => i.isLoading);
2753
- return ks(n, 100) ? /* @__PURE__ */ s.jsx(Es, { style: e, ...t, children: /* @__PURE__ */ s.jsx(xs, {}) }) : null;
2752
+ const n = m((i) => i.isLoading);
2753
+ return ks(n, 100) ? /* @__PURE__ */ c.jsx(Ts, { style: e, ...t, children: /* @__PURE__ */ c.jsx(xs, {}) }) : null;
2754
2754
  }
2755
- const Es = _.div`
2755
+ const Ts = _.div`
2756
2756
  pointer-events: none;
2757
2757
  position: absolute;
2758
2758
  top: 0;
@@ -2765,29 +2765,29 @@ const Es = _.div`
2765
2765
  align-items: center;
2766
2766
  justify-content: center;
2767
2767
  `;
2768
- function Ts() {
2769
- return /* @__PURE__ */ s.jsx(
2768
+ function Es() {
2769
+ return /* @__PURE__ */ c.jsx(
2770
2770
  "svg",
2771
2771
  {
2772
2772
  xmlns: "http://www.w3.org/2000/svg",
2773
2773
  viewBox: "0 0 24 24",
2774
2774
  fill: "currentColor",
2775
- children: /* @__PURE__ */ s.jsx("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })
2775
+ children: /* @__PURE__ */ c.jsx("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })
2776
2776
  }
2777
2777
  );
2778
2778
  }
2779
2779
  function Ps() {
2780
- return /* @__PURE__ */ s.jsx(
2780
+ return /* @__PURE__ */ c.jsx(
2781
2781
  "svg",
2782
2782
  {
2783
2783
  xmlns: "http://www.w3.org/2000/svg",
2784
2784
  viewBox: "0 0 24 24",
2785
2785
  fill: "currentColor",
2786
- children: /* @__PURE__ */ s.jsx("path", { d: "M4 5V19H20V5H4ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM7.5 11.25H9.5V9H11V15H9.5V12.75H7.5V15H6V9H7.5V11.25ZM14.5 10.5V13.5H16C16.2761 13.5 16.5 13.2761 16.5 13V11C16.5 10.7239 16.2761 10.5 16 10.5H14.5ZM13 9H16C17.1046 9 18 9.89543 18 11V13C18 14.1046 17.1046 15 16 15H13V9Z" })
2786
+ children: /* @__PURE__ */ c.jsx("path", { d: "M4 5V19H20V5H4ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM7.5 11.25H9.5V9H11V15H9.5V12.75H7.5V15H6V9H7.5V11.25ZM14.5 10.5V13.5H16C16.2761 13.5 16.5 13.2761 16.5 13V11C16.5 10.7239 16.2761 10.5 16 10.5H14.5ZM13 9H16C17.1046 9 18 9.89543 18 11V13C18 14.1046 17.1046 15 16 15H13V9Z" })
2787
2787
  }
2788
2788
  );
2789
2789
  }
2790
- const Rs = Qe.Root, js = Qe.Trigger, Ls = Qe.Portal, zr = yt(({ sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ s.jsx(
2790
+ const Rs = Qe.Root, js = Qe.Trigger, Ls = Qe.Portal, zr = yt(({ sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ c.jsx(
2791
2791
  _s,
2792
2792
  {
2793
2793
  ref: n,
@@ -2799,7 +2799,7 @@ const Rs = Qe.Root, js = Qe.Trigger, Ls = Qe.Portal, zr = yt(({ sideOffset: e =
2799
2799
  }
2800
2800
  ));
2801
2801
  zr.displayName = "PlayerDropdownMenuContent";
2802
- const Br = yt((e, t) => /* @__PURE__ */ s.jsx(Is, { ref: t, ...e }));
2802
+ const Br = yt((e, t) => /* @__PURE__ */ c.jsx(Is, { ref: t, ...e }));
2803
2803
  Br.displayName = "PlayerDropdownMenuItem";
2804
2804
  const _s = _(Qe.Content).withConfig({
2805
2805
  shouldForwardProp: (e) => e !== "ref"
@@ -2917,72 +2917,72 @@ const _s = _(Qe.Content).withConfig({
2917
2917
  }
2918
2918
  `, Fn = "settings";
2919
2919
  function Ur() {
2920
- const [e, t] = X(!1), n = g((c) => c.containerRef), r = g((c) => c.addIdleLock), i = g((c) => c.removeIdleLock), a = g((c) => c.levels), l = g((c) => c.setLevel), u = B(
2921
- (c) => {
2922
- t(c), c ? r(Fn) : i(Fn);
2920
+ const [e, t] = X(!1), n = m((s) => s.containerRef), r = m((s) => s.addIdleLock), i = m((s) => s.removeIdleLock), a = m((s) => s.levels), l = m((s) => s.setLevel), u = B(
2921
+ (s) => {
2922
+ t(s), s ? r(Fn) : i(Fn);
2923
2923
  },
2924
2924
  [r, i]
2925
2925
  );
2926
- return /* @__PURE__ */ s.jsxs(Rs, { open: e, onOpenChange: u, children: [
2927
- /* @__PURE__ */ s.jsx(js, { asChild: !0, children: /* @__PURE__ */ s.jsx(be, { children: /* @__PURE__ */ s.jsx(Ps, {}) }) }),
2928
- /* @__PURE__ */ s.jsx(Ls, { container: n.current, children: /* @__PURE__ */ s.jsx(zr, { side: "top", align: "end", children: a?.map((c) => /* @__PURE__ */ s.jsxs(
2926
+ return /* @__PURE__ */ c.jsxs(Rs, { open: e, onOpenChange: u, children: [
2927
+ /* @__PURE__ */ c.jsx(js, { asChild: !0, children: /* @__PURE__ */ c.jsx(be, { children: /* @__PURE__ */ c.jsx(Ps, {}) }) }),
2928
+ /* @__PURE__ */ c.jsx(Ls, { container: n.current, children: /* @__PURE__ */ c.jsx(zr, { side: "top", align: "end", children: a?.map((s) => /* @__PURE__ */ c.jsxs(
2929
2929
  Br,
2930
2930
  {
2931
- onClick: () => l(c.value),
2931
+ onClick: () => l(s.value),
2932
2932
  children: [
2933
- c.label,
2934
- c.selected && /* @__PURE__ */ s.jsx(Ts, {})
2933
+ s.label,
2934
+ s.selected && /* @__PURE__ */ c.jsx(Es, {})
2935
2935
  ]
2936
2936
  },
2937
- c.sid
2937
+ s.sid
2938
2938
  )) }) })
2939
2939
  ] });
2940
2940
  }
2941
2941
  function Ds() {
2942
- return /* @__PURE__ */ s.jsx(
2942
+ return /* @__PURE__ */ c.jsx(
2943
2943
  "svg",
2944
2944
  {
2945
2945
  xmlns: "http://www.w3.org/2000/svg",
2946
2946
  viewBox: "0 0 24 24",
2947
2947
  fill: "currentColor",
2948
- children: /* @__PURE__ */ s.jsx("path", { d: "M6.60282 10.0001L10 7.22056V16.7796L6.60282 14.0001H3V10.0001H6.60282ZM2 16.0001H5.88889L11.1834 20.3319C11.2727 20.405 11.3846 20.4449 11.5 20.4449C11.7761 20.4449 12 20.2211 12 19.9449V4.05519C12 3.93977 11.9601 3.8279 11.887 3.73857C11.7121 3.52485 11.3971 3.49335 11.1834 3.66821L5.88889 8.00007H2C1.44772 8.00007 1 8.44778 1 9.00007V15.0001C1 15.5524 1.44772 16.0001 2 16.0001ZM23 12C23 15.292 21.5539 18.2463 19.2622 20.2622L17.8445 18.8444C19.7758 17.1937 21 14.7398 21 12C21 9.26016 19.7758 6.80629 17.8445 5.15557L19.2622 3.73779C21.5539 5.75368 23 8.70795 23 12ZM18 12C18 10.0883 17.106 8.38548 15.7133 7.28673L14.2842 8.71584C15.3213 9.43855 16 10.64 16 12C16 13.36 15.3213 14.5614 14.2842 15.2841L15.7133 16.7132C17.106 15.6145 18 13.9116 18 12Z" })
2948
+ children: /* @__PURE__ */ c.jsx("path", { d: "M6.60282 10.0001L10 7.22056V16.7796L6.60282 14.0001H3V10.0001H6.60282ZM2 16.0001H5.88889L11.1834 20.3319C11.2727 20.405 11.3846 20.4449 11.5 20.4449C11.7761 20.4449 12 20.2211 12 19.9449V4.05519C12 3.93977 11.9601 3.8279 11.887 3.73857C11.7121 3.52485 11.3971 3.49335 11.1834 3.66821L5.88889 8.00007H2C1.44772 8.00007 1 8.44778 1 9.00007V15.0001C1 15.5524 1.44772 16.0001 2 16.0001ZM23 12C23 15.292 21.5539 18.2463 19.2622 20.2622L17.8445 18.8444C19.7758 17.1937 21 14.7398 21 12C21 9.26016 19.7758 6.80629 17.8445 5.15557L19.2622 3.73779C21.5539 5.75368 23 8.70795 23 12ZM18 12C18 10.0883 17.106 8.38548 15.7133 7.28673L14.2842 8.71584C15.3213 9.43855 16 10.64 16 12C16 13.36 15.3213 14.5614 14.2842 15.2841L15.7133 16.7132C17.106 15.6145 18 13.9116 18 12Z" })
2949
2949
  }
2950
2950
  );
2951
2951
  }
2952
2952
  function As() {
2953
- return /* @__PURE__ */ s.jsx(
2953
+ return /* @__PURE__ */ c.jsx(
2954
2954
  "svg",
2955
2955
  {
2956
2956
  xmlns: "http://www.w3.org/2000/svg",
2957
2957
  viewBox: "0 0 24 24",
2958
2958
  fill: "currentColor",
2959
- children: /* @__PURE__ */ s.jsx("path", { d: "M13 7.22056L9.60282 10.0001H6V14.0001H9.60282L13 16.7796V7.22056ZM8.88889 16.0001H5C4.44772 16.0001 4 15.5524 4 15.0001V9.00007C4 8.44778 4.44772 8.00007 5 8.00007H8.88889L14.1834 3.66821C14.3971 3.49335 14.7121 3.52485 14.887 3.73857C14.9601 3.8279 15 3.93977 15 4.05519V19.9449C15 20.2211 14.7761 20.4449 14.5 20.4449C14.3846 20.4449 14.2727 20.405 14.1834 20.3319L8.88889 16.0001ZM18.8631 16.5911L17.4411 15.1691C18.3892 14.4376 19 13.2902 19 12.0001C19 10.5697 18.2493 9.31476 17.1203 8.60766L18.5589 7.16906C20.0396 8.26166 21 10.0187 21 12.0001C21 13.8422 20.1698 15.4905 18.8631 16.5911Z" })
2959
+ children: /* @__PURE__ */ c.jsx("path", { d: "M13 7.22056L9.60282 10.0001H6V14.0001H9.60282L13 16.7796V7.22056ZM8.88889 16.0001H5C4.44772 16.0001 4 15.5524 4 15.0001V9.00007C4 8.44778 4.44772 8.00007 5 8.00007H8.88889L14.1834 3.66821C14.3971 3.49335 14.7121 3.52485 14.887 3.73857C14.9601 3.8279 15 3.93977 15 4.05519V19.9449C15 20.2211 14.7761 20.4449 14.5 20.4449C14.3846 20.4449 14.2727 20.405 14.1834 20.3319L8.88889 16.0001ZM18.8631 16.5911L17.4411 15.1691C18.3892 14.4376 19 13.2902 19 12.0001C19 10.5697 18.2493 9.31476 17.1203 8.60766L18.5589 7.16906C20.0396 8.26166 21 10.0187 21 12.0001C21 13.8422 20.1698 15.4905 18.8631 16.5911Z" })
2960
2960
  }
2961
2961
  );
2962
2962
  }
2963
2963
  function Os() {
2964
- return /* @__PURE__ */ s.jsx(
2964
+ return /* @__PURE__ */ c.jsx(
2965
2965
  "svg",
2966
2966
  {
2967
2967
  xmlns: "http://www.w3.org/2000/svg",
2968
2968
  viewBox: "0 0 24 24",
2969
2969
  fill: "currentColor",
2970
- children: /* @__PURE__ */ s.jsx("path", { d: "M10 7.22056L6.60282 10.0001H3V14.0001H6.60282L10 16.7796V7.22056ZM5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z" })
2970
+ children: /* @__PURE__ */ c.jsx("path", { d: "M10 7.22056L6.60282 10.0001H3V14.0001H6.60282L10 16.7796V7.22056ZM5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z" })
2971
2971
  }
2972
2972
  );
2973
2973
  }
2974
2974
  const Mn = "volume";
2975
2975
  function Wr() {
2976
- g((u) => u.containerRef);
2977
- const e = g((u) => u.setVolume), t = g((u) => u.volume), n = g((u) => u.addIdleLock), r = g((u) => u.removeIdleLock), i = (u) => {
2976
+ m((u) => u.containerRef);
2977
+ const e = m((u) => u.setVolume), t = m((u) => u.volume), n = m((u) => u.addIdleLock), r = m((u) => u.removeIdleLock), i = (u) => {
2978
2978
  e(u[0]), n(Mn);
2979
2979
  }, a = () => {
2980
2980
  r(Mn);
2981
2981
  }, l = () => e(t ? 0 : 100);
2982
- return /* @__PURE__ */ s.jsxs(Fs, { children: [
2983
- /* @__PURE__ */ s.jsx(be, { onClick: l, className: "shrink-0", children: t ? t > 50 ? /* @__PURE__ */ s.jsx(Ds, {}) : /* @__PURE__ */ s.jsx(As, {}) : /* @__PURE__ */ s.jsx(Os, {}) }),
2984
- /* @__PURE__ */ s.jsx(Yr, { children: /* @__PURE__ */ s.jsx(
2985
- Tt,
2982
+ return /* @__PURE__ */ c.jsxs(Fs, { children: [
2983
+ /* @__PURE__ */ c.jsx(be, { onClick: l, className: "shrink-0", children: t ? t > 50 ? /* @__PURE__ */ c.jsx(Ds, {}) : /* @__PURE__ */ c.jsx(As, {}) : /* @__PURE__ */ c.jsx(Os, {}) }),
2984
+ /* @__PURE__ */ c.jsx(Yr, { children: /* @__PURE__ */ c.jsx(
2985
+ Et,
2986
2986
  {
2987
2987
  value: [t],
2988
2988
  onValueChange: i,
@@ -3014,41 +3014,41 @@ const Yr = _.div`
3014
3014
  }
3015
3015
  `;
3016
3016
  function Gs({ url: e, startDate: t, endDate: n, messages: r }) {
3017
- return /* @__PURE__ */ s.jsx(
3017
+ return /* @__PURE__ */ c.jsx(
3018
3018
  us,
3019
3019
  {
3020
3020
  startDate: new Date(t),
3021
3021
  endDate: new Date(n),
3022
- children: /* @__PURE__ */ s.jsx(Ms, { url: e, messages: r })
3022
+ children: /* @__PURE__ */ c.jsx(Ms, { url: e, messages: r })
3023
3023
  }
3024
3024
  );
3025
3025
  }
3026
3026
  function Ms({ url: e, messages: t }) {
3027
- const n = g((r) => r.containerRef);
3028
- return /* @__PURE__ */ s.jsx(Ir, { ref: n, children: /* @__PURE__ */ s.jsxs(
3027
+ const n = m((r) => r.containerRef);
3028
+ return /* @__PURE__ */ c.jsx(Ir, { ref: n, children: /* @__PURE__ */ c.jsxs(
3029
3029
  Di,
3030
3030
  {
3031
3031
  eventFinishedMessage: t?.eventFinished,
3032
3032
  eventNotStartedMessage: t?.eventNotStarted,
3033
3033
  eventStartingSoonMessage: t?.eventStartingSoon,
3034
3034
  children: [
3035
- /* @__PURE__ */ s.jsx(gs, { url: e }),
3036
- /* @__PURE__ */ s.jsx(Hr, {}),
3037
- /* @__PURE__ */ s.jsxs($r, { children: [
3038
- /* @__PURE__ */ s.jsx(ns, {}),
3039
- /* @__PURE__ */ s.jsx(Dr, { children: /* @__PURE__ */ s.jsxs(Ar, { children: [
3040
- /* @__PURE__ */ s.jsx(ls, {}),
3041
- /* @__PURE__ */ s.jsxs(Or, { children: [
3042
- /* @__PURE__ */ s.jsxs(Mr, { children: [
3043
- /* @__PURE__ */ s.jsx(es, {}),
3044
- /* @__PURE__ */ s.jsx(ps, {}),
3045
- /* @__PURE__ */ s.jsx(Wr, {}),
3046
- /* @__PURE__ */ s.jsx(ds, {})
3035
+ /* @__PURE__ */ c.jsx(gs, { url: e }),
3036
+ /* @__PURE__ */ c.jsx(Hr, {}),
3037
+ /* @__PURE__ */ c.jsxs($r, { children: [
3038
+ /* @__PURE__ */ c.jsx(ns, {}),
3039
+ /* @__PURE__ */ c.jsx(Dr, { children: /* @__PURE__ */ c.jsxs(Ar, { children: [
3040
+ /* @__PURE__ */ c.jsx(ls, {}),
3041
+ /* @__PURE__ */ c.jsxs(Or, { children: [
3042
+ /* @__PURE__ */ c.jsxs(Mr, { children: [
3043
+ /* @__PURE__ */ c.jsx(es, {}),
3044
+ /* @__PURE__ */ c.jsx(ps, {}),
3045
+ /* @__PURE__ */ c.jsx(Wr, {}),
3046
+ /* @__PURE__ */ c.jsx(ds, {})
3047
3047
  ] }),
3048
- /* @__PURE__ */ s.jsxs(Vr, { children: [
3049
- /* @__PURE__ */ s.jsx(Ni, { message: t?.live }),
3050
- /* @__PURE__ */ s.jsx(Ur, {}),
3051
- /* @__PURE__ */ s.jsx(Nr, {})
3048
+ /* @__PURE__ */ c.jsxs(Vr, { children: [
3049
+ /* @__PURE__ */ c.jsx(Ni, { message: t?.live }),
3050
+ /* @__PURE__ */ c.jsx(Ur, {}),
3051
+ /* @__PURE__ */ c.jsx(Nr, {})
3052
3052
  ] })
3053
3053
  ] })
3054
3054
  ] }) })
@@ -3058,66 +3058,66 @@ function Ms({ url: e, messages: t }) {
3058
3058
  ) });
3059
3059
  }
3060
3060
  function Vs() {
3061
- const e = g((i) => i.isPlaying), t = g((i) => i.pause), n = g((i) => i.play), r = () => {
3061
+ const e = m((i) => i.isPlaying), t = m((i) => i.pause), n = m((i) => i.play), r = () => {
3062
3062
  e ? t() : n();
3063
3063
  };
3064
- return /* @__PURE__ */ s.jsx(be, { onClick: r, children: e ? /* @__PURE__ */ s.jsx(hr, {}) : /* @__PURE__ */ s.jsx(mr, {}) });
3064
+ return /* @__PURE__ */ c.jsx(be, { onClick: r, children: e ? /* @__PURE__ */ c.jsx(hr, {}) : /* @__PURE__ */ c.jsx(mr, {}) });
3065
3065
  }
3066
3066
  function Ns() {
3067
- const e = g((i) => i.isPlaying), t = g((i) => i.pause), n = g((i) => i.play), r = () => {
3067
+ const e = m((i) => i.isPlaying), t = m((i) => i.pause), n = m((i) => i.play), r = () => {
3068
3068
  e ? t() : n();
3069
3069
  };
3070
- return /* @__PURE__ */ s.jsx(vr, { onClick: r });
3070
+ return /* @__PURE__ */ c.jsx(vr, { onClick: r });
3071
3071
  }
3072
3072
  const Vn = "vod-player-progress-bar";
3073
3073
  function $s() {
3074
- const e = Y(null), t = Y(null), [n, r] = X(!1), [i, a] = X(-1), [l, u] = X(-1), c = g((h) => h.currentTime), d = g((h) => h.duration), p = g((h) => h.seek), m = g((h) => h.addIdleLock), w = g((h) => h.removeIdleLock), v = parseFloat(
3075
- (d ? (l !== -1 ? l : c) / d * 100 : 0).toFixed(1)
3076
- ), T = (h) => {
3077
- u(d * (h[0] / 100)), m(Vn);
3078
- }, E = () => {
3074
+ const e = Y(null), t = Y(null), [n, r] = X(!1), [i, a] = X(-1), [l, u] = X(-1), s = m((h) => h.currentTime), d = m((h) => h.duration), p = m((h) => h.seek), g = m((h) => h.addIdleLock), w = m((h) => h.removeIdleLock), v = parseFloat(
3075
+ (d ? (l !== -1 ? l : s) / d * 100 : 0).toFixed(1)
3076
+ ), E = (h) => {
3077
+ u(d * (h[0] / 100)), g(Vn);
3078
+ }, T = () => {
3079
3079
  l !== -1 && (p(l), u(-1), w(Vn));
3080
3080
  }, M = () => r(!0), P = () => r(!1), b = B(
3081
3081
  (h) => {
3082
3082
  const L = e.current, D = t.current;
3083
3083
  if (L && D) {
3084
- const C = gt(L), x = gt(D), U = (h.pageX || h.clientX) - C.left, J = U / C.width;
3084
+ const C = gt(L), x = gt(D), W = (h.pageX || h.clientX) - C.left, J = W / C.width;
3085
3085
  if (J < 0) return;
3086
- let I = U - x.width / 2;
3086
+ let I = W - x.width / 2;
3087
3087
  I < 0 && (I = 0), I > C.width - x.width && (I = -1), D.style.left = I > -1 ? `${I}px` : "auto", D.style.right = I > -1 ? "auto" : "0px", a(J * d);
3088
3088
  }
3089
3089
  M();
3090
3090
  },
3091
3091
  [d]
3092
3092
  );
3093
- return /* @__PURE__ */ s.jsxs(wr, { children: [
3094
- /* @__PURE__ */ s.jsx(
3095
- Tt,
3093
+ return /* @__PURE__ */ c.jsxs(wr, { children: [
3094
+ /* @__PURE__ */ c.jsx(
3095
+ Et,
3096
3096
  {
3097
3097
  ref: e,
3098
3098
  value: [v],
3099
3099
  onPointerLeave: P,
3100
3100
  onPointerDown: P,
3101
3101
  onPointerMove: b,
3102
- onValueChange: T,
3103
- onValueCommit: E,
3102
+ onValueChange: E,
3103
+ onValueCommit: T,
3104
3104
  step: 0.1
3105
3105
  }
3106
3106
  ),
3107
- /* @__PURE__ */ s.jsx(br, { ref: t, $isVisible: n, children: /* @__PURE__ */ s.jsx(xr, { children: Be(i) }) })
3107
+ /* @__PURE__ */ c.jsx(br, { ref: t, $isVisible: n, children: /* @__PURE__ */ c.jsx(xr, { children: Be(i) }) })
3108
3108
  ] });
3109
3109
  }
3110
3110
  function Hs() {
3111
- const e = g((n) => n.currentTime), t = g((n) => n.duration);
3112
- return /* @__PURE__ */ s.jsxs(Tr, { children: [
3113
- /* @__PURE__ */ s.jsx(Rr, { children: Be(e) }),
3114
- /* @__PURE__ */ s.jsx(Lr, {}),
3115
- /* @__PURE__ */ s.jsx(jr, { children: Be(t) })
3111
+ const e = m((n) => n.currentTime), t = m((n) => n.duration);
3112
+ return /* @__PURE__ */ c.jsxs(Er, { children: [
3113
+ /* @__PURE__ */ c.jsx(Rr, { children: Be(e) }),
3114
+ /* @__PURE__ */ c.jsx(Lr, {}),
3115
+ /* @__PURE__ */ c.jsx(jr, { children: Be(t) })
3116
3116
  ] });
3117
3117
  }
3118
3118
  const zs = 60, Bs = 95;
3119
3119
  function Us({ storageKey: e }) {
3120
- const t = g((p) => p.currentTime), n = g((p) => p.duration), r = g((p) => p.isPlaying), i = g((p) => p.setStartTime), a = Y(!1), l = B(() => {
3120
+ const t = m((p) => p.currentTime), n = m((p) => p.duration), r = m((p) => p.isPlaying), i = m((p) => p.setStartTime), a = Y(!1), l = B(() => {
3121
3121
  window.localStorage.setItem(
3122
3122
  e,
3123
3123
  JSON.stringify({
@@ -3128,48 +3128,48 @@ function Us({ storageKey: e }) {
3128
3128
  }, [t, n, e]), u = B(() => {
3129
3129
  const p = window.localStorage.getItem(e);
3130
3130
  if (p) {
3131
- const m = JSON.parse(p);
3131
+ const g = JSON.parse(p);
3132
3132
  return {
3133
- startTime: m.currentTime,
3134
- progress: m.currentTime / m.duration * 100
3133
+ startTime: g.currentTime,
3134
+ progress: g.currentTime / g.duration * 100
3135
3135
  };
3136
3136
  }
3137
3137
  return { startTime: null, progress: null };
3138
- }, [e]), c = B(() => {
3138
+ }, [e]), s = B(() => {
3139
3139
  t < zs || l();
3140
3140
  }, [t, l]), d = B(() => {
3141
3141
  if (a.current) return;
3142
- const { progress: p, startTime: m } = u();
3143
- m && p && p < Bs && (i(m), a.current = !0);
3142
+ const { progress: p, startTime: g } = u();
3143
+ g && p && p < Bs && (i(g), a.current = !0);
3144
3144
  }, [u, i]);
3145
- return wt(() => c(), r ? 1e3 : null), te(() => {
3145
+ return wt(() => s(), r ? 1e3 : null), te(() => {
3146
3146
  d();
3147
3147
  }, [d]), null;
3148
3148
  }
3149
3149
  function Xs({ url: e, watchHistory: t }) {
3150
- return /* @__PURE__ */ s.jsxs(Er, { children: [
3151
- /* @__PURE__ */ s.jsx(Ws, { url: e }),
3152
- t?.enabled && /* @__PURE__ */ s.jsx(Us, { storageKey: t.storageKey })
3150
+ return /* @__PURE__ */ c.jsxs(Tr, { children: [
3151
+ /* @__PURE__ */ c.jsx(Ws, { url: e }),
3152
+ t?.enabled && /* @__PURE__ */ c.jsx(Us, { storageKey: t.storageKey })
3153
3153
  ] });
3154
3154
  }
3155
3155
  function Ws({ url: e }) {
3156
- const t = g((n) => n.containerRef);
3157
- return /* @__PURE__ */ s.jsxs(Ir, { ref: t, children: [
3158
- /* @__PURE__ */ s.jsx(_r, { url: e, isLive: !1 }),
3159
- /* @__PURE__ */ s.jsx(Hr, {}),
3160
- /* @__PURE__ */ s.jsxs($r, { children: [
3161
- /* @__PURE__ */ s.jsx(Ns, {}),
3162
- /* @__PURE__ */ s.jsx(Dr, { children: /* @__PURE__ */ s.jsxs(Ar, { children: [
3163
- /* @__PURE__ */ s.jsx($s, {}),
3164
- /* @__PURE__ */ s.jsxs(Or, { children: [
3165
- /* @__PURE__ */ s.jsxs(Mr, { children: [
3166
- /* @__PURE__ */ s.jsx(Vs, {}),
3167
- /* @__PURE__ */ s.jsx(Wr, {}),
3168
- /* @__PURE__ */ s.jsx(Hs, {})
3156
+ const t = m((n) => n.containerRef);
3157
+ return /* @__PURE__ */ c.jsxs(Ir, { ref: t, children: [
3158
+ /* @__PURE__ */ c.jsx(_r, { url: e, isLive: !1 }),
3159
+ /* @__PURE__ */ c.jsx(Hr, {}),
3160
+ /* @__PURE__ */ c.jsxs($r, { children: [
3161
+ /* @__PURE__ */ c.jsx(Ns, {}),
3162
+ /* @__PURE__ */ c.jsx(Dr, { children: /* @__PURE__ */ c.jsxs(Ar, { children: [
3163
+ /* @__PURE__ */ c.jsx($s, {}),
3164
+ /* @__PURE__ */ c.jsxs(Or, { children: [
3165
+ /* @__PURE__ */ c.jsxs(Mr, { children: [
3166
+ /* @__PURE__ */ c.jsx(Vs, {}),
3167
+ /* @__PURE__ */ c.jsx(Wr, {}),
3168
+ /* @__PURE__ */ c.jsx(Hs, {})
3169
3169
  ] }),
3170
- /* @__PURE__ */ s.jsxs(Vr, { children: [
3171
- /* @__PURE__ */ s.jsx(Ur, {}),
3172
- /* @__PURE__ */ s.jsx(Nr, {})
3170
+ /* @__PURE__ */ c.jsxs(Vr, { children: [
3171
+ /* @__PURE__ */ c.jsx(Ur, {}),
3172
+ /* @__PURE__ */ c.jsx(Nr, {})
3173
3173
  ] })
3174
3174
  ] })
3175
3175
  ] }) })