@halibegic/react-video-player 0.0.57 → 0.0.58

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,32 +1,32 @@
1
1
  var qn = Object.defineProperty, Yn = Object.defineProperties;
2
2
  var Zn = Object.getOwnPropertyDescriptors;
3
3
  var Pe = Object.getOwnPropertySymbols;
4
- var xt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable;
5
- var Tt = (e, t, n) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, M = (e, t) => {
4
+ var Tt = Object.prototype.hasOwnProperty, xt = Object.prototype.propertyIsEnumerable;
5
+ var _t = (e, t, n) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, M = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- xt.call(t, n) && Tt(e, n, t[n]);
7
+ Tt.call(t, n) && _t(e, n, t[n]);
8
8
  if (Pe)
9
9
  for (var n of Pe(t))
10
- Ct.call(t, n) && Tt(e, n, t[n]);
10
+ xt.call(t, n) && _t(e, n, t[n]);
11
11
  return e;
12
12
  }, he = (e, t) => Yn(e, Zn(t));
13
13
  var re = (e, t) => {
14
14
  var n = {};
15
15
  for (var r in e)
16
- xt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
16
+ Tt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
17
17
  if (e != null && Pe)
18
18
  for (var r of Pe(e))
19
- t.indexOf(r) < 0 && Ct.call(e, r) && (n[r] = e[r]);
19
+ t.indexOf(r) < 0 && xt.call(e, r) && (n[r] = e[r]);
20
20
  return n;
21
21
  };
22
- import Nt, { useLayoutEffect as Kn, useEffect as V, useRef as O, createContext as Mt, useContext as Ft, useState as G, useCallback as A, forwardRef as Ve } from "react";
23
- import { useStore as Vt, create as At } from "zustand";
22
+ import Dt, { useLayoutEffect as Kn, useEffect as V, useRef as O, createContext as Nt, useContext as Mt, useState as G, useCallback as A, forwardRef as Ve } from "react";
23
+ import { useStore as Ft, create as Vt } from "zustand";
24
24
  import Gn from "mitt";
25
25
  import ee from "hls.js";
26
26
  import * as Le from "@radix-ui/react-slider";
27
27
  import * as xe from "@radix-ui/react-popover";
28
28
  import * as je from "@radix-ui/react-scroll-area";
29
- function Ot(e) {
29
+ function At(e) {
30
30
  var t = this.constructor;
31
31
  return this.then(
32
32
  function(n) {
@@ -41,7 +41,7 @@ function Ot(e) {
41
41
  }
42
42
  );
43
43
  }
44
- function Ht(e) {
44
+ function Ot(e) {
45
45
  var t = this;
46
46
  return new t(function(n, r) {
47
47
  if (!(e && typeof e.length != "undefined"))
@@ -75,11 +75,11 @@ function Ht(e) {
75
75
  u(i, a[i]);
76
76
  });
77
77
  }
78
- function $t(e, t) {
78
+ function Ht(e, t) {
79
79
  this.name = "AggregateError", this.errors = e, this.message = t || "";
80
80
  }
81
- $t.prototype = Error.prototype;
82
- function Ut(e) {
81
+ Ht.prototype = Error.prototype;
82
+ function $t(e) {
83
83
  var t = this;
84
84
  return new t(function(n, r) {
85
85
  if (!(e && typeof e.length != "undefined"))
@@ -90,7 +90,7 @@ function Ut(e) {
90
90
  try {
91
91
  t.resolve(a[u]).then(n).catch(function(i) {
92
92
  c.push(i), c.length === a.length && r(
93
- new $t(
93
+ new Ht(
94
94
  c,
95
95
  "All promises were rejected"
96
96
  )
@@ -102,7 +102,7 @@ function Ut(e) {
102
102
  });
103
103
  }
104
104
  var Xn = setTimeout;
105
- function Bt(e) {
105
+ function Ut(e) {
106
106
  return !!(e && typeof e.length != "undefined");
107
107
  }
108
108
  function Jn() {
@@ -116,9 +116,9 @@ function $(e) {
116
116
  if (!(this instanceof $))
117
117
  throw new TypeError("Promises must be constructed via new");
118
118
  if (typeof e != "function") throw new TypeError("not a function");
119
- this._state = 0, this._handled = !1, this._value = void 0, this._deferreds = [], zt(e, this);
119
+ this._state = 0, this._handled = !1, this._value = void 0, this._deferreds = [], Wt(e, this);
120
120
  }
121
- function Wt(e, t) {
121
+ function Bt(e, t) {
122
122
  for (; e._state === 3; )
123
123
  e = e._value;
124
124
  if (e._state === 0) {
@@ -151,7 +151,7 @@ function Ge(e, t) {
151
151
  e._state = 3, e._value = t, Xe(e);
152
152
  return;
153
153
  } else if (typeof n == "function") {
154
- zt(Qn(n, t), e);
154
+ Wt(Qn(n, t), e);
155
155
  return;
156
156
  }
157
157
  }
@@ -168,13 +168,13 @@ function Xe(e) {
168
168
  e._handled || $._unhandledRejectionFn(e._value);
169
169
  });
170
170
  for (var t = 0, n = e._deferreds.length; t < n; t++)
171
- Wt(e, e._deferreds[t]);
171
+ Bt(e, e._deferreds[t]);
172
172
  e._deferreds = null;
173
173
  }
174
174
  function er(e, t, n) {
175
175
  this.onFulfilled = typeof e == "function" ? e : null, this.onRejected = typeof t == "function" ? t : null, this.promise = n;
176
176
  }
177
- function zt(e, t) {
177
+ function Wt(e, t) {
178
178
  var n = !1;
179
179
  try {
180
180
  e(
@@ -195,12 +195,12 @@ $.prototype.catch = function(e) {
195
195
  };
196
196
  $.prototype.then = function(e, t) {
197
197
  var n = new this.constructor(Jn);
198
- return Wt(this, new er(e, t, n)), n;
198
+ return Bt(this, new er(e, t, n)), n;
199
199
  };
200
- $.prototype.finally = Ot;
200
+ $.prototype.finally = At;
201
201
  $.all = function(e) {
202
202
  return new $(function(t, n) {
203
- if (!Bt(e))
203
+ if (!Ut(e))
204
204
  return n(new TypeError("Promise.all accepts an array"));
205
205
  var r = Array.prototype.slice.call(e);
206
206
  if (r.length === 0) return t([]);
@@ -229,8 +229,8 @@ $.all = function(e) {
229
229
  c(u, r[u]);
230
230
  });
231
231
  };
232
- $.any = Ut;
233
- $.allSettled = Ht;
232
+ $.any = $t;
233
+ $.allSettled = Ot;
234
234
  $.resolve = function(e) {
235
235
  return e && typeof e == "object" && e.constructor === $ ? e : new $(function(t) {
236
236
  t(e);
@@ -243,7 +243,7 @@ $.reject = function(e) {
243
243
  };
244
244
  $.race = function(e) {
245
245
  return new $(function(t, n) {
246
- if (!Bt(e))
246
+ if (!Ut(e))
247
247
  return n(new TypeError("Promise.race accepts an array"));
248
248
  for (var r = 0, a = e.length; r < a; r++)
249
249
  $.resolve(e[r]).then(t, n);
@@ -267,13 +267,13 @@ var le = (function() {
267
267
  return global;
268
268
  throw new Error("unable to locate global object");
269
269
  })();
270
- typeof le.Promise != "function" ? le.Promise = $ : (le.Promise.prototype.finally || (le.Promise.prototype.finally = Ot), le.Promise.allSettled || (le.Promise.allSettled = Ht), le.Promise.any || (le.Promise.any = Ut));
270
+ typeof le.Promise != "function" ? le.Promise = $ : (le.Promise.prototype.finally || (le.Promise.prototype.finally = At), le.Promise.allSettled || (le.Promise.allSettled = Ot), le.Promise.any || (le.Promise.any = $t));
271
271
  var Ie = { exports: {} }, ge = {};
272
- var Et;
272
+ var Ct;
273
273
  function tr() {
274
- if (Et) return ge;
275
- Et = 1;
276
- var e = Nt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
274
+ if (Ct) return ge;
275
+ Ct = 1;
276
+ var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
277
277
  function u(i, l, d) {
278
278
  var g, _ = {}, y = null, k = null;
279
279
  d !== void 0 && (y = "" + d), l.key !== void 0 && (y = "" + l.key), l.ref !== void 0 && (k = l.ref);
@@ -284,10 +284,10 @@ function tr() {
284
284
  return ge.Fragment = n, ge.jsx = u, ge.jsxs = u, ge;
285
285
  }
286
286
  var we = {};
287
- var Rt;
287
+ var Et;
288
288
  function nr() {
289
- return Rt || (Rt = 1, process.env.NODE_ENV !== "production" && (function() {
290
- var e = Nt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), E = Symbol.iterator, x = "@@iterator";
289
+ return Et || (Et = 1, process.env.NODE_ENV !== "production" && (function() {
290
+ var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), E = Symbol.iterator, x = "@@iterator";
291
291
  function R(o) {
292
292
  if (o === null || typeof o != "object")
293
293
  return null;
@@ -376,18 +376,18 @@ function nr() {
376
376
  }
377
377
  return null;
378
378
  }
379
- var Z = Object.assign, oe = 0, ue, ne, K, pe, nt, rt, ot;
380
- function it() {
379
+ var Z = Object.assign, oe = 0, ue, ne, K, pe, tt, nt, rt;
380
+ function ot() {
381
381
  }
382
- it.__reactDisabledLog = !0;
382
+ ot.__reactDisabledLog = !0;
383
383
  function wn() {
384
384
  {
385
385
  if (oe === 0) {
386
- ue = console.log, ne = console.info, K = console.warn, pe = console.error, nt = console.group, rt = console.groupCollapsed, ot = console.groupEnd;
386
+ ue = console.log, ne = console.info, K = console.warn, pe = console.error, tt = console.group, nt = console.groupCollapsed, rt = console.groupEnd;
387
387
  var o = {
388
388
  configurable: !0,
389
389
  enumerable: !0,
390
- value: it,
390
+ value: ot,
391
391
  writable: !0
392
392
  };
393
393
  Object.defineProperties(console, {
@@ -425,13 +425,13 @@ function nr() {
425
425
  value: pe
426
426
  }),
427
427
  group: Z({}, o, {
428
- value: nt
428
+ value: tt
429
429
  }),
430
430
  groupCollapsed: Z({}, o, {
431
- value: rt
431
+ value: nt
432
432
  }),
433
433
  groupEnd: Z({}, o, {
434
- value: ot
434
+ value: rt
435
435
  })
436
436
  });
437
437
  }
@@ -457,7 +457,7 @@ function nr() {
457
457
  var Tn = typeof WeakMap == "function" ? WeakMap : Map;
458
458
  Re = new Tn();
459
459
  }
460
- function st(o, h) {
460
+ function it(o, h) {
461
461
  if (!o || $e)
462
462
  return "";
463
463
  {
@@ -529,7 +529,7 @@ function nr() {
529
529
  return typeof o == "function" && Re.set(o, ce), ce;
530
530
  }
531
531
  function xn(o, h, p) {
532
- return st(o, !1);
532
+ return it(o, !1);
533
533
  }
534
534
  function Cn(o) {
535
535
  var h = o.prototype;
@@ -539,7 +539,7 @@ function nr() {
539
539
  if (o == null)
540
540
  return "";
541
541
  if (typeof o == "function")
542
- return st(o, Cn(o));
542
+ return it(o, Cn(o));
543
543
  if (typeof o == "string")
544
544
  return Ee(o);
545
545
  switch (o) {
@@ -564,13 +564,13 @@ function nr() {
564
564
  }
565
565
  return "";
566
566
  }
567
- var ye = Object.prototype.hasOwnProperty, at = {}, lt = w.ReactDebugCurrentFrame;
567
+ var ye = Object.prototype.hasOwnProperty, st = {}, at = w.ReactDebugCurrentFrame;
568
568
  function be(o) {
569
569
  if (o) {
570
570
  var h = o._owner, p = Se(o.type, o._source, h ? h.type : null);
571
- lt.setExtraStackFrame(p);
571
+ at.setExtraStackFrame(p);
572
572
  } else
573
- lt.setExtraStackFrame(null);
573
+ at.setExtraStackFrame(null);
574
574
  }
575
575
  function En(o, h, p, T, I) {
576
576
  {
@@ -587,7 +587,7 @@ function nr() {
587
587
  } catch (W) {
588
588
  C = W;
589
589
  }
590
- C && !(C instanceof Error) && (be(I), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", p, P, typeof C), be(null)), C instanceof Error && !(C.message in at) && (at[C.message] = !0, be(I), L("Failed %s type: %s", p, C.message), be(null));
590
+ C && !(C instanceof Error) && (be(I), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", p, P, typeof C), be(null)), C instanceof Error && !(C.message in st) && (st[C.message] = !0, be(I), L("Failed %s type: %s", p, C.message), be(null));
591
591
  }
592
592
  }
593
593
  }
@@ -603,24 +603,24 @@ function nr() {
603
603
  }
604
604
  function bn(o) {
605
605
  try {
606
- return ct(o), !1;
606
+ return lt(o), !1;
607
607
  } catch (h) {
608
608
  return !0;
609
609
  }
610
610
  }
611
- function ct(o) {
611
+ function lt(o) {
612
612
  return "" + o;
613
613
  }
614
- function ut(o) {
614
+ function ct(o) {
615
615
  if (bn(o))
616
- return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Sn(o)), ct(o);
616
+ return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Sn(o)), lt(o);
617
617
  }
618
- var dt = w.ReactCurrentOwner, Pn = {
618
+ var ut = w.ReactCurrentOwner, Pn = {
619
619
  key: !0,
620
620
  ref: !0,
621
621
  __self: !0,
622
622
  __source: !0
623
- }, ft, ht;
623
+ }, dt, ft;
624
624
  function Ln(o) {
625
625
  if (ye.call(o, "ref")) {
626
626
  var h = Object.getOwnPropertyDescriptor(o, "ref").get;
@@ -638,12 +638,12 @@ function nr() {
638
638
  return o.key !== void 0;
639
639
  }
640
640
  function In(o, h) {
641
- typeof o.ref == "string" && dt.current;
641
+ typeof o.ref == "string" && ut.current;
642
642
  }
643
643
  function kn(o, h) {
644
644
  {
645
645
  var p = function() {
646
- ft || (ft = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
646
+ dt || (dt = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
647
647
  };
648
648
  p.isReactWarning = !0, Object.defineProperty(o, "key", {
649
649
  get: p,
@@ -654,7 +654,7 @@ function nr() {
654
654
  function Dn(o, h) {
655
655
  {
656
656
  var p = function() {
657
- ht || (ht = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
657
+ ft || (ft = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
658
658
  };
659
659
  p.isReactWarning = !0, Object.defineProperty(o, "ref", {
660
660
  get: p,
@@ -694,7 +694,7 @@ function nr() {
694
694
  function Mn(o, h, p, T, I) {
695
695
  {
696
696
  var N, P = {}, C = null, X = null;
697
- p !== void 0 && (ut(p), C = "" + p), jn(h) && (ut(h.key), C = "" + h.key), Ln(h) && (X = h.ref, In(h, I));
697
+ p !== void 0 && (ct(p), C = "" + p), jn(h) && (ct(h.key), C = "" + h.key), Ln(h) && (X = h.ref, In(h, I));
698
698
  for (N in h)
699
699
  ye.call(h, N) && !Pn.hasOwnProperty(N) && (P[N] = h[N]);
700
700
  if (o && o.defaultProps) {
@@ -706,23 +706,23 @@ function nr() {
706
706
  var z = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
707
707
  C && kn(P, z), X && Dn(P, z);
708
708
  }
709
- return Nn(o, C, X, I, T, dt.current, P);
709
+ return Nn(o, C, X, I, T, ut.current, P);
710
710
  }
711
711
  }
712
- var Be = w.ReactCurrentOwner, mt = w.ReactDebugCurrentFrame;
712
+ var Be = w.ReactCurrentOwner, ht = w.ReactDebugCurrentFrame;
713
713
  function de(o) {
714
714
  if (o) {
715
715
  var h = o._owner, p = Se(o.type, o._source, h ? h.type : null);
716
- mt.setExtraStackFrame(p);
716
+ ht.setExtraStackFrame(p);
717
717
  } else
718
- mt.setExtraStackFrame(null);
718
+ ht.setExtraStackFrame(null);
719
719
  }
720
720
  var We;
721
721
  We = !1;
722
722
  function ze(o) {
723
723
  return typeof o == "object" && o !== null && o.$$typeof === t;
724
724
  }
725
- function vt() {
725
+ function mt() {
726
726
  {
727
727
  if (Be.current) {
728
728
  var o = Y(Be.current.type);
@@ -737,10 +737,10 @@ Check the render method of \`` + o + "`.";
737
737
  function Fn(o) {
738
738
  return "";
739
739
  }
740
- var pt = {};
740
+ var vt = {};
741
741
  function Vn(o) {
742
742
  {
743
- var h = vt();
743
+ var h = mt();
744
744
  if (!h) {
745
745
  var p = typeof o == "string" ? o : o.displayName || o.name;
746
746
  p && (h = `
@@ -750,27 +750,27 @@ Check the top-level render call using <` + p + ">.");
750
750
  return h;
751
751
  }
752
752
  }
753
- function yt(o, h) {
753
+ function pt(o, h) {
754
754
  {
755
755
  if (!o._store || o._store.validated || o.key != null)
756
756
  return;
757
757
  o._store.validated = !0;
758
758
  var p = Vn(h);
759
- if (pt[p])
759
+ if (vt[p])
760
760
  return;
761
- pt[p] = !0;
761
+ vt[p] = !0;
762
762
  var T = "";
763
763
  o && o._owner && o._owner !== Be.current && (T = " It was passed a child from " + Y(o._owner.type) + "."), de(o), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, T), de(null);
764
764
  }
765
765
  }
766
- function gt(o, h) {
766
+ function yt(o, h) {
767
767
  {
768
768
  if (typeof o != "object")
769
769
  return;
770
770
  if (Ue(o))
771
771
  for (var p = 0; p < o.length; p++) {
772
772
  var T = o[p];
773
- ze(T) && yt(T, h);
773
+ ze(T) && pt(T, h);
774
774
  }
775
775
  else if (ze(o))
776
776
  o._store && (o._store.validated = !0);
@@ -778,7 +778,7 @@ Check the top-level render call using <` + p + ">.");
778
778
  var I = R(o);
779
779
  if (typeof I == "function" && I !== o.entries)
780
780
  for (var N = I.call(o), P; !(P = N.next()).done; )
781
- ze(P.value) && yt(P.value, h);
781
+ ze(P.value) && pt(P.value, h);
782
782
  }
783
783
  }
784
784
  }
@@ -819,15 +819,15 @@ Check the top-level render call using <` + p + ">.");
819
819
  o.ref !== null && (de(o), L("Invalid attribute `ref` supplied to `React.Fragment`."), de(null));
820
820
  }
821
821
  }
822
- var wt = {};
823
- function _t(o, h, p, T, I, N) {
822
+ var gt = {};
823
+ function wt(o, h, p, T, I, N) {
824
824
  {
825
825
  var P = F(o);
826
826
  if (!P) {
827
827
  var C = "";
828
828
  (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
829
829
  var X = Fn();
830
- X ? C += X : C += vt();
830
+ X ? C += X : C += mt();
831
831
  var W;
832
832
  o === null ? W = "null" : Ue(o) ? W = "array" : o !== void 0 && o.$$typeof === t ? (W = "<" + (Y(o.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : W = typeof o, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, C);
833
833
  }
@@ -840,49 +840,49 @@ Check the top-level render call using <` + p + ">.");
840
840
  if (T)
841
841
  if (Ue(te)) {
842
842
  for (var fe = 0; fe < te.length; fe++)
843
- gt(te[fe], o);
843
+ yt(te[fe], o);
844
844
  Object.freeze && Object.freeze(te);
845
845
  } else
846
846
  L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
847
847
  else
848
- gt(te, o);
848
+ yt(te, o);
849
849
  }
850
850
  if (ye.call(h, "key")) {
851
851
  var ce = Y(o), Q = Object.keys(h).filter(function(zn) {
852
852
  return zn !== "key";
853
853
  }), qe = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
854
- if (!wt[ce + qe]) {
854
+ if (!gt[ce + qe]) {
855
855
  var Wn = Q.length > 0 ? "{" + Q.join(": ..., ") + ": ...}" : "{}";
856
856
  L(`A props object containing a "key" prop is being spread into JSX:
857
857
  let props = %s;
858
858
  <%s {...props} />
859
859
  React keys must be passed directly to JSX without using spread:
860
860
  let props = %s;
861
- <%s key={someKey} {...props} />`, qe, ce, Wn, ce), wt[ce + qe] = !0;
861
+ <%s key={someKey} {...props} />`, qe, ce, Wn, ce), gt[ce + qe] = !0;
862
862
  }
863
863
  }
864
864
  return o === r ? On(z) : An(z), z;
865
865
  }
866
866
  }
867
867
  function Hn(o, h, p) {
868
- return _t(o, h, p, !0);
868
+ return wt(o, h, p, !0);
869
869
  }
870
870
  function $n(o, h, p) {
871
- return _t(o, h, p, !1);
871
+ return wt(o, h, p, !1);
872
872
  }
873
873
  var Un = $n, Bn = Hn;
874
874
  we.Fragment = r, we.jsx = Un, we.jsxs = Bn;
875
875
  })()), we;
876
876
  }
877
- var St;
877
+ var Rt;
878
878
  function rr() {
879
- return St || (St = 1, process.env.NODE_ENV === "production" ? Ie.exports = tr() : Ie.exports = nr()), Ie.exports;
879
+ return Rt || (Rt = 1, process.env.NODE_ENV === "production" ? Ie.exports = tr() : Ie.exports = nr()), Ie.exports;
880
880
  }
881
881
  var s = rr();
882
- const qt = typeof window != "undefined" ? Kn : V;
882
+ const zt = typeof window != "undefined" ? Kn : V;
883
883
  function Ce(e, t) {
884
884
  const n = O(e);
885
- qt(() => {
885
+ zt(() => {
886
886
  n.current = e;
887
887
  }, [e]), V(() => {
888
888
  if (t === null)
@@ -939,7 +939,7 @@ function or(e, t) {
939
939
  ), e;
940
940
  }
941
941
  function ir(e, t, n) {
942
- return Yt(
942
+ return qt(
943
943
  t.getTime() - e.getTime(),
944
944
  n,
945
945
  "milliseconds"
@@ -976,9 +976,9 @@ function ar() {
976
976
  }
977
977
  }
978
978
  function lr(e) {
979
- return Yt(e, "milliseconds", "seconds");
979
+ return qt(e, "milliseconds", "seconds");
980
980
  }
981
- function Yt(e, t, n) {
981
+ function qt(e, t, n) {
982
982
  const r = {
983
983
  days: 86400,
984
984
  hours: 3600,
@@ -988,12 +988,12 @@ function Yt(e, t, n) {
988
988
  };
989
989
  return e * (r[t] / r[n]);
990
990
  }
991
- function Je(e) {
991
+ function Yt(e) {
992
992
  var n;
993
993
  const t = typeof window != "undefined" && ((n = window.navigator) == null ? void 0 : n.userAgent) || "";
994
994
  return e.test(t);
995
995
  }
996
- const Zt = Je(/Safari/i) && !Je(/Chrome|Chromium/i), cr = Je(/Tizen/i);
996
+ const Zt = Yt(/iPhone|iPad|iPod/i), cr = Yt(/Tizen/i);
997
997
  function ur() {
998
998
  const e = document;
999
999
  return !!(e.fullscreenElement || e.mozFullScreenElement || e.webkitFullscreenElement || e.msFullscreenElement);
@@ -1221,20 +1221,20 @@ const mr = () => Gn(), vr = (e, t) => ({
1221
1221
  setError: (t) => e({ error: t })
1222
1222
  }), xr = () => ({
1223
1223
  eventEmitter: mr()
1224
- }), Cr = (e) => () => M({}, e), Er = (e, t) => At()((...n) => M(M(M(M(M(M(M(M(M({}, vr(...n)), pr(...n)), yr(...n)), gr(...n)), wr(...n)), _r(...n)), Tr(...n)), xr(...n)), Cr({
1224
+ }), Cr = (e) => () => M({}, e), Er = (e, t) => Vt()((...n) => M(M(M(M(M(M(M(M(M({}, vr(...n)), pr(...n)), yr(...n)), gr(...n)), wr(...n)), _r(...n)), Tr(...n)), xr(...n)), Cr({
1225
1225
  techRef: e,
1226
1226
  containerRef: t
1227
- })(...n))), Kt = Mt(null);
1227
+ })(...n))), Kt = Nt(null);
1228
1228
  function Rr({ children: e }) {
1229
1229
  const t = O(null), n = O(null), r = O(null);
1230
1230
  return t.current || (t.current = Er(n, r)), /* @__PURE__ */ s.jsx(Kt.Provider, { value: t.current, children: e });
1231
1231
  }
1232
1232
  const f = (e) => {
1233
- const t = Ft(Kt);
1233
+ const t = Mt(Kt);
1234
1234
  if (!t)
1235
1235
  throw new Error("usePlayerStore must be used within PlayerStoreProvider");
1236
- return Vt(t, e);
1237
- }, Sr = "0.0.57", Qe = {
1236
+ return Ft(t, e);
1237
+ }, Sr = "0.0.58", Je = {
1238
1238
  version: Sr
1239
1239
  }, Ye = 11e3, Ze = {
1240
1240
  DEBUG: 2,
@@ -1268,7 +1268,7 @@ function Gt({
1268
1268
  installation: k,
1269
1269
  level_num: b,
1270
1270
  log_source: "fitnessanny_player",
1271
- capp_version: Qe.version,
1271
+ capp_version: Je.version,
1272
1272
  message: L,
1273
1273
  target_index: w === "client" ? "client_log" : "watching_activity_log"
1274
1274
  };
@@ -1324,14 +1324,14 @@ function Gt({
1324
1324
  };
1325
1325
  }, [d, E, x, R]), null;
1326
1326
  }
1327
- const br = () => At((e) => ({
1327
+ const br = () => Vt((e) => ({
1328
1328
  delay: 0,
1329
1329
  startDate: null,
1330
1330
  viewerCount: null,
1331
1331
  setDelay: (t) => e({ delay: t }),
1332
1332
  setStartDate: (t) => e({ startDate: t }),
1333
1333
  setViewerCount: (t) => e({ viewerCount: t })
1334
- })), Xt = Mt(
1334
+ })), Xt = Nt(
1335
1335
  null
1336
1336
  ), Pr = ({ children: e }) => {
1337
1337
  const t = O(
@@ -1339,12 +1339,12 @@ const br = () => At((e) => ({
1339
1339
  );
1340
1340
  return t.current || (t.current = br()), /* @__PURE__ */ s.jsx(Xt.Provider, { value: t.current, children: e });
1341
1341
  }, U = (e) => {
1342
- const t = Ft(Xt);
1342
+ const t = Mt(Xt);
1343
1343
  if (!t)
1344
1344
  throw new Error(
1345
1345
  "useLivePlayerStore must be used within PlayerStoreProvider"
1346
1346
  );
1347
- return Vt(t, e);
1347
+ return Ft(t, e);
1348
1348
  };
1349
1349
  function Jt(e) {
1350
1350
  try {
@@ -1822,7 +1822,7 @@ function eo(e, {
1822
1822
  function u() {
1823
1823
  c(r(e));
1824
1824
  }
1825
- return qt(() => {
1825
+ return zt(() => {
1826
1826
  if (typeof window == "undefined")
1827
1827
  return;
1828
1828
  const i = window.matchMedia(e);
@@ -1998,13 +1998,13 @@ function co() {
1998
1998
  }
1999
1999
  );
2000
2000
  }
2001
- const uo = "_playerButton_izwqq_1", fo = "_playerButtonCircle_izwqq_42", bt = {
2001
+ const uo = "_playerButton_izwqq_1", fo = "_playerButtonCircle_izwqq_42", St = {
2002
2002
  playerButton: uo,
2003
2003
  playerButtonCircle: fo
2004
2004
  }, ae = Ve(
2005
2005
  (a, r) => {
2006
2006
  var c = a, { shape: e = "circle", className: t } = c, n = re(c, ["shape", "className"]);
2007
- const u = e === "circle" ? bt.playerButtonCircle : "", i = [bt.playerButton, u, t].filter(Boolean).join(" ");
2007
+ const u = e === "circle" ? St.playerButtonCircle : "", i = [St.playerButton, u, t].filter(Boolean).join(" ");
2008
2008
  return /* @__PURE__ */ s.jsx("button", M({ ref: r, className: i }, n));
2009
2009
  }
2010
2010
  );
@@ -2103,18 +2103,18 @@ function Fe(e) {
2103
2103
  height: t.height * 100
2104
2104
  } : t;
2105
2105
  }
2106
- const Pt = "vod-player-progress-bar";
2106
+ const bt = "vod-player-progress-bar";
2107
2107
  function bo() {
2108
2108
  const e = O(null), t = O(null), [n, r] = G(0), [a, c] = G(0), [u, i] = G(!1), [l, d] = G(-1), [g, _] = G(-1), y = U((D) => D.delay), k = U((D) => D.startDate), E = k ? k.getTime() : 0, x = (/* @__PURE__ */ new Date()).getTime(), R = U((D) => D.setDelay), w = f((D) => D.isPlaying), L = f((D) => D.addIdleLock), b = f((D) => D.removeIdleLock), B = A(() => {
2109
2109
  r(tn(E, y)), c(Ur(E, x));
2110
2110
  }, [y, x, E]), H = parseFloat(
2111
2111
  (a ? (g !== -1 ? g : n) / a * 100 : 0).toFixed(1)
2112
2112
  ), m = (D) => {
2113
- _(a * (D[0] / 100)), L(Pt);
2113
+ _(a * (D[0] / 100)), L(bt);
2114
2114
  }, v = () => {
2115
2115
  if (g !== -1) {
2116
2116
  const D = en(E, g);
2117
- R(D), _(-1), b(Pt);
2117
+ R(D), _(-1), b(bt);
2118
2118
  }
2119
2119
  }, S = () => i(!0), j = () => i(!1), F = A(
2120
2120
  (D) => {
@@ -2350,7 +2350,7 @@ const ni = "_dropdownMenuContent_zi433_1", ri = "_dropdownMenuItem_zi433_77", oi
2350
2350
  scrollAreaViewport: ii,
2351
2351
  scrollAreaScrollbar: si,
2352
2352
  scrollAreaThumb: ai
2353
- }, mn = xe.Root, vn = xe.Trigger, pn = xe.Portal, et = Ve((c, a) => {
2353
+ }, mn = xe.Root, vn = xe.Trigger, pn = xe.Portal, Qe = Ve((c, a) => {
2354
2354
  var u = c, { sideOffset: e = 4, className: t, children: n } = u, r = re(u, ["sideOffset", "className", "children"]);
2355
2355
  return /* @__PURE__ */ s.jsx(
2356
2356
  xe.Content,
@@ -2387,8 +2387,8 @@ const ni = "_dropdownMenuContent_zi433_1", ri = "_dropdownMenuItem_zi433_77", oi
2387
2387
  })
2388
2388
  );
2389
2389
  });
2390
- et.displayName = "PlayerMenuContent";
2391
- const tt = Ve((a, r) => {
2390
+ Qe.displayName = "PlayerMenuContent";
2391
+ const et = Ve((a, r) => {
2392
2392
  var c = a, { className: e, onClick: t } = c, n = re(c, ["className", "onClick"]);
2393
2393
  const u = (l) => {
2394
2394
  t == null || t(l);
@@ -2407,19 +2407,19 @@ const tt = Ve((a, r) => {
2407
2407
  }, n)
2408
2408
  ) });
2409
2409
  });
2410
- tt.displayName = "PlayerMenuItem";
2411
- const Lt = "quality";
2410
+ et.displayName = "PlayerMenuItem";
2411
+ const Pt = "quality";
2412
2412
  function yn() {
2413
2413
  const [e, t] = G(!1), n = f((l) => l.containerRef), r = f((l) => l.addIdleLock), a = f((l) => l.removeIdleLock), c = f((l) => l.levels), u = f((l) => l.setLevel), i = A(
2414
2414
  (l) => {
2415
- t(l), l ? r(Lt) : a(Lt);
2415
+ t(l), l ? r(Pt) : a(Pt);
2416
2416
  },
2417
2417
  [r, a]
2418
2418
  );
2419
2419
  return !c || c.length === 0 ? null : /* @__PURE__ */ s.jsxs(mn, { open: e, onOpenChange: i, children: [
2420
2420
  /* @__PURE__ */ s.jsx(vn, { asChild: !0, children: /* @__PURE__ */ s.jsx(ae, { children: /* @__PURE__ */ s.jsx(ti, {}) }) }),
2421
- /* @__PURE__ */ s.jsx(pn, { container: n.current, children: /* @__PURE__ */ s.jsx(et, { side: "top", align: "end", children: c.map((l) => /* @__PURE__ */ s.jsxs(
2422
- tt,
2421
+ /* @__PURE__ */ s.jsx(pn, { container: n.current, children: /* @__PURE__ */ s.jsx(Qe, { side: "top", align: "end", children: c.map((l) => /* @__PURE__ */ s.jsxs(
2422
+ et,
2423
2423
  {
2424
2424
  onClick: () => u(l.value),
2425
2425
  children: [
@@ -2464,19 +2464,19 @@ function ui() {
2464
2464
  }
2465
2465
  );
2466
2466
  }
2467
- const di = "_volumeContainer_4d6jg_1", fi = "_volumeSlider_4d6jg_8", jt = {
2467
+ const di = "_volumeContainer_4d6jg_1", fi = "_volumeSlider_4d6jg_8", Lt = {
2468
2468
  volumeContainer: di,
2469
2469
  volumeSlider: fi
2470
- }, It = "volume";
2470
+ }, jt = "volume";
2471
2471
  function gn() {
2472
2472
  const e = f((i) => i.setVolume), t = f((i) => i.volume), n = f((i) => i.addIdleLock), r = f((i) => i.removeIdleLock), a = (i) => {
2473
- e(i[0]), n(It);
2473
+ e(i[0]), n(jt);
2474
2474
  }, c = () => {
2475
- r(It);
2475
+ r(jt);
2476
2476
  }, u = () => e(t ? 0 : 100);
2477
- return /* @__PURE__ */ s.jsxs("div", { className: jt.volumeContainer, children: [
2477
+ return /* @__PURE__ */ s.jsxs("div", { className: Lt.volumeContainer, children: [
2478
2478
  /* @__PURE__ */ s.jsx(ae, { onClick: u, className: "shrink-0", children: t ? t > 50 ? /* @__PURE__ */ s.jsx(li, {}) : /* @__PURE__ */ s.jsx(ci, {}) : /* @__PURE__ */ s.jsx(ui, {}) }),
2479
- /* @__PURE__ */ s.jsx("div", { className: jt.volumeSlider, children: /* @__PURE__ */ s.jsx(
2479
+ /* @__PURE__ */ s.jsx("div", { className: Lt.volumeSlider, children: /* @__PURE__ */ s.jsx(
2480
2480
  Ae,
2481
2481
  {
2482
2482
  value: [t],
@@ -2497,7 +2497,7 @@ function hi({ url: e, messages: t = {}, onEvent: n }) {
2497
2497
  unableToPlay: "Unable to play the live stream. Please try again later."
2498
2498
  };
2499
2499
  return V(() => {
2500
- console.log(`[Player][Live] Version: ${Qe.version}`);
2500
+ console.log(`[Player][Live] Version: ${Je.version}`);
2501
2501
  }, []), /* @__PURE__ */ s.jsxs(
2502
2502
  "div",
2503
2503
  {
@@ -2567,11 +2567,11 @@ function hi({ url: e, messages: t = {}, onEvent: n }) {
2567
2567
  }
2568
2568
  );
2569
2569
  }
2570
- const mi = [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], kt = "playback-rate";
2570
+ const mi = [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], It = "playback-rate";
2571
2571
  function vi() {
2572
2572
  const [e, t] = G(!1), n = f((l) => l.containerRef), r = f((l) => l.addIdleLock), a = f((l) => l.removeIdleLock), c = f((l) => l.playbackRate), u = f((l) => l.setPlaybackRate), i = A(
2573
2573
  (l) => {
2574
- t(l), l ? r(kt) : a(kt);
2574
+ t(l), l ? r(It) : a(It);
2575
2575
  },
2576
2576
  [r, a]
2577
2577
  );
@@ -2580,8 +2580,8 @@ function vi() {
2580
2580
  c,
2581
2581
  "x"
2582
2582
  ] }) }),
2583
- /* @__PURE__ */ s.jsx(pn, { container: n.current, children: /* @__PURE__ */ s.jsx(et, { side: "top", align: "end", children: mi.map((l) => /* @__PURE__ */ s.jsxs(
2584
- tt,
2583
+ /* @__PURE__ */ s.jsx(pn, { container: n.current, children: /* @__PURE__ */ s.jsx(Qe, { side: "top", align: "end", children: mi.map((l) => /* @__PURE__ */ s.jsxs(
2584
+ et,
2585
2585
  {
2586
2586
  onClick: () => u(l),
2587
2587
  children: [
@@ -2621,14 +2621,14 @@ function yi() {
2621
2621
  };
2622
2622
  return /* @__PURE__ */ s.jsx(ae, { onClick: r, children: e ? /* @__PURE__ */ s.jsx(an, {}) : /* @__PURE__ */ s.jsx(ln, {}) });
2623
2623
  }
2624
- const Dt = "vod-player-progress-bar";
2624
+ const kt = "vod-player-progress-bar";
2625
2625
  function gi() {
2626
2626
  const e = O(null), t = O(null), [n, r] = G(!1), [a, c] = G(-1), [u, i] = G(-1), l = f((b) => b.currentTime), d = f((b) => b.duration), g = f((b) => b.seek), _ = f((b) => b.addIdleLock), y = f((b) => b.removeIdleLock), k = parseFloat(
2627
2627
  (d ? (u !== -1 ? u : l) / d * 100 : 0).toFixed(1)
2628
2628
  ), E = (b) => {
2629
- i(d * (b[0] / 100)), _(Dt);
2629
+ i(d * (b[0] / 100)), _(kt);
2630
2630
  }, x = () => {
2631
- u !== -1 && (g(u), i(-1), y(Dt));
2631
+ u !== -1 && (g(u), i(-1), y(kt));
2632
2632
  }, R = () => r(!0), w = () => r(!1), L = A(
2633
2633
  (b) => {
2634
2634
  const B = e.current, H = t.current;
@@ -2728,7 +2728,7 @@ function Si({ url: e, messages: t, onEvent: n, startTime: r }) {
2728
2728
  return V(() => {
2729
2729
  r && a(r);
2730
2730
  }, [r, a]), V(() => {
2731
- console.log(`[Player][VOD] Version: ${Qe.version}`);
2731
+ console.log(`[Player][VOD] Version: ${Je.version}`);
2732
2732
  }, []), /* @__PURE__ */ s.jsxs(
2733
2733
  "div",
2734
2734
  {