@halibegic/react-video-player 0.0.13 → 0.0.14

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,4 +1,4 @@
1
- import Re, { useLayoutEffect as vo, useEffect as te, useRef as q, useState as Y, createContext as Nn, useContext as Zt, useDebugValue as mn, createElement as wo, forwardRef as yt, useCallback as z } from "react";
1
+ import Re, { useLayoutEffect as vo, useEffect as J, useRef as q, useState as Y, createContext as Nn, useContext as Zt, useDebugValue as mn, createElement as wo, forwardRef as yt, useCallback as z } from "react";
2
2
  import { create as Hn, useStore as $n } from "zustand";
3
3
  import * as vt from "@radix-ui/react-slider";
4
4
  import he from "hls.js";
@@ -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, s = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function l(c, u, d) {
22
- var p, h = {}, b = null, x = null;
23
- d !== void 0 && (b = "" + d), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (x = u.ref);
21
+ function l(c, u, f) {
22
+ var p, h = {}, b = null, S = null;
23
+ f !== void 0 && (b = "" + f), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (S = u.ref);
24
24
  for (p in u) r.call(u, p) && !s.hasOwnProperty(p) && (h[p] = u[p]);
25
25
  if (c && c.defaultProps) for (p in u = c.defaultProps, u) h[p] === void 0 && (h[p] = u[p]);
26
- return { $$typeof: t, type: c, key: b, ref: x, props: h, _owner: i.current };
26
+ return { $$typeof: t, type: c, key: b, ref: S, props: h, _owner: i.current };
27
27
  }
28
28
  return Ge.Fragment = n, Ge.jsx = l, Ge.jsxs = l, Ge;
29
29
  }
@@ -40,46 +40,46 @@ 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"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), R = Symbol.iterator, L = "@@iterator";
44
- function T(o) {
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"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), T = Symbol.iterator, j = "@@iterator";
44
+ function V(o) {
45
45
  if (o === null || typeof o != "object")
46
46
  return null;
47
- var f = R && o[R] || o[L];
48
- return typeof f == "function" ? f : null;
47
+ var d = T && o[T] || o[j];
48
+ return typeof d == "function" ? d : null;
49
49
  }
50
- var E = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function v(o) {
50
+ var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function x(o) {
52
52
  {
53
- for (var f = arguments.length, g = new Array(f > 1 ? f - 1 : 0), C = 1; C < f; C++)
54
- g[C - 1] = arguments[C];
55
- w("error", o, g);
53
+ for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), k = 1; k < d; k++)
54
+ g[k - 1] = arguments[k];
55
+ v("error", o, g);
56
56
  }
57
57
  }
58
- function w(o, f, g) {
58
+ function v(o, d, g) {
59
59
  {
60
- var C = E.ReactDebugCurrentFrame, O = C.getStackAddendum();
61
- O !== "" && (f += "%s", g = g.concat([O]));
62
- var M = g.map(function(_) {
63
- return String(_);
60
+ var k = w.ReactDebugCurrentFrame, A = k.getStackAddendum();
61
+ A !== "" && (d += "%s", g = g.concat([A]));
62
+ var F = g.map(function(L) {
63
+ return String(L);
64
64
  });
65
- M.unshift("Warning: " + f), Function.prototype.apply.call(console[o], console, M);
65
+ F.unshift("Warning: " + d), Function.prototype.apply.call(console[o], console, F);
66
66
  }
67
67
  }
68
- var y = !1, I = !1, k = !1, S = !1, W = !1, J;
69
- J = Symbol.for("react.module.reference");
70
- function A(o) {
71
- return !!(typeof o == "string" || typeof o == "function" || o === r || o === s || W || o === i || o === d || o === p || S || o === x || y || I || k || typeof o == "object" && o !== null && (o.$$typeof === b || o.$$typeof === h || o.$$typeof === l || o.$$typeof === c || o.$$typeof === u || // This needs to include all possible module reference object
68
+ var y = !1, _ = !1, E = !1, C = !1, B = !1, K;
69
+ K = Symbol.for("react.module.reference");
70
+ function D(o) {
71
+ return !!(typeof o == "string" || typeof o == "function" || o === r || o === s || B || o === i || o === f || o === p || C || o === S || y || _ || E || typeof o == "object" && o !== null && (o.$$typeof === b || o.$$typeof === h || o.$$typeof === l || o.$$typeof === c || o.$$typeof === u || // 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.
75
- o.$$typeof === J || o.getModuleId !== void 0));
75
+ o.$$typeof === K || o.getModuleId !== void 0));
76
76
  }
77
- function _e(o, f, g) {
78
- var C = o.displayName;
79
- if (C)
80
- return C;
81
- var O = f.displayName || f.name || "";
82
- return O !== "" ? g + "(" + O + ")" : g;
77
+ function _e(o, d, g) {
78
+ var k = o.displayName;
79
+ if (k)
80
+ return k;
81
+ var A = d.displayName || d.name || "";
82
+ return A !== "" ? g + "(" + A + ")" : g;
83
83
  }
84
84
  function fe(o) {
85
85
  return o.displayName || "Context";
@@ -87,7 +87,7 @@ function xo() {
87
87
  function Z(o) {
88
88
  if (o == null)
89
89
  return null;
90
- if (typeof o.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
90
+ if (typeof o.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
91
91
  return o.displayName || o.name || null;
92
92
  if (typeof o == "string")
93
93
  return o;
@@ -100,7 +100,7 @@ function xo() {
100
100
  return "Profiler";
101
101
  case i:
102
102
  return "StrictMode";
103
- case d:
103
+ case f:
104
104
  return "Suspense";
105
105
  case p:
106
106
  return "SuspenseList";
@@ -108,20 +108,20 @@ function xo() {
108
108
  if (typeof o == "object")
109
109
  switch (o.$$typeof) {
110
110
  case c:
111
- var f = o;
112
- return fe(f) + ".Consumer";
111
+ var d = o;
112
+ return fe(d) + ".Consumer";
113
113
  case l:
114
114
  var g = o;
115
115
  return fe(g._context) + ".Provider";
116
116
  case u:
117
117
  return _e(o, o.render, "ForwardRef");
118
118
  case h:
119
- var C = o.displayName || null;
120
- return C !== null ? C : Z(o.type) || "Memo";
119
+ var k = o.displayName || null;
120
+ return k !== null ? k : Z(o.type) || "Memo";
121
121
  case b: {
122
- var O = o, M = O._payload, _ = O._init;
122
+ var A = o, F = A._payload, L = A._init;
123
123
  try {
124
- return Z(_(M));
124
+ return Z(L(F));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,14 +129,14 @@ function xo() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var ne = Object.assign, ue = 0, Se, K, Ye, re, ge, ye, G;
132
+ var ne = Object.assign, ue = 0, Se, Q, Ye, re, ge, ye, G;
133
133
  function Ie() {
134
134
  }
135
135
  Ie.__reactDisabledLog = !0;
136
136
  function qe() {
137
137
  {
138
138
  if (ue === 0) {
139
- Se = console.log, K = console.info, Ye = console.warn, re = console.error, ge = console.group, ye = console.groupCollapsed, G = console.groupEnd;
139
+ Se = console.log, Q = console.info, Ye = console.warn, re = console.error, ge = console.group, ye = console.groupCollapsed, G = console.groupEnd;
140
140
  var o = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -169,7 +169,7 @@ function xo() {
169
169
  value: Se
170
170
  }),
171
171
  info: ne({}, o, {
172
- value: K
172
+ value: Q
173
173
  }),
174
174
  warn: ne({}, o, {
175
175
  value: Ye
@@ -188,18 +188,18 @@ function xo() {
188
188
  })
189
189
  });
190
190
  }
191
- ue < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ ue < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var pe = E.ReactCurrentDispatcher, ve;
195
- function se(o, f, g) {
194
+ var pe = w.ReactCurrentDispatcher, ve;
195
+ function se(o, d, g) {
196
196
  {
197
197
  if (ve === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (O) {
201
- var C = O.stack.trim().match(/\n( *(at )?)/);
202
- ve = C && C[1] || "";
200
+ } catch (A) {
201
+ var k = A.stack.trim().match(/\n( *(at )?)/);
202
+ ve = k && k[1] || "";
203
203
  }
204
204
  return `
205
205
  ` + ve + o;
@@ -210,7 +210,7 @@ function xo() {
210
210
  var Ae = typeof WeakMap == "function" ? WeakMap : Map;
211
211
  we = new Ae();
212
212
  }
213
- function ce(o, f) {
213
+ function ce(o, d) {
214
214
  if (!o || ae)
215
215
  return "";
216
216
  {
@@ -218,57 +218,57 @@ function xo() {
218
218
  if (g !== void 0)
219
219
  return g;
220
220
  }
221
- var C;
221
+ var k;
222
222
  ae = !0;
223
- var O = Error.prepareStackTrace;
223
+ var A = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
- var M;
226
- M = pe.current, pe.current = null, qe();
225
+ var F;
226
+ F = pe.current, pe.current = null, qe();
227
227
  try {
228
- if (f) {
229
- var _ = function() {
228
+ if (d) {
229
+ var L = function() {
230
230
  throw Error();
231
231
  };
232
- if (Object.defineProperty(_.prototype, "props", {
232
+ if (Object.defineProperty(L.prototype, "props", {
233
233
  set: function() {
234
234
  throw Error();
235
235
  }
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
- Reflect.construct(_, []);
239
- } catch (Q) {
240
- C = Q;
238
+ Reflect.construct(L, []);
239
+ } catch (ee) {
240
+ k = ee;
241
241
  }
242
- Reflect.construct(o, [], _);
242
+ Reflect.construct(o, [], L);
243
243
  } else {
244
244
  try {
245
- _.call();
246
- } catch (Q) {
247
- C = Q;
245
+ L.call();
246
+ } catch (ee) {
247
+ k = ee;
248
248
  }
249
- o.call(_.prototype);
249
+ o.call(L.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (Q) {
255
- C = Q;
254
+ } catch (ee) {
255
+ k = ee;
256
256
  }
257
257
  o();
258
258
  }
259
- } catch (Q) {
260
- if (Q && C && typeof Q.stack == "string") {
261
- for (var j = Q.stack.split(`
262
- `), X = C.stack.split(`
263
- `), N = j.length - 1, H = X.length - 1; N >= 1 && H >= 0 && j[N] !== X[H]; )
259
+ } catch (ee) {
260
+ if (ee && k && typeof ee.stack == "string") {
261
+ for (var R = ee.stack.split(`
262
+ `), X = k.stack.split(`
263
+ `), N = R.length - 1, H = X.length - 1; N >= 1 && H >= 0 && R[N] !== X[H]; )
264
264
  H--;
265
265
  for (; N >= 1 && H >= 0; N--, H--)
266
- if (j[N] !== X[H]) {
266
+ if (R[N] !== X[H]) {
267
267
  if (N !== 1 || H !== 1)
268
268
  do
269
- if (N--, H--, H < 0 || j[N] !== X[H]) {
269
+ if (N--, H--, H < 0 || R[N] !== X[H]) {
270
270
  var oe = `
271
- ` + j[N].replace(" at new ", " at ");
271
+ ` + R[N].replace(" at new ", " at ");
272
272
  return o.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", o.displayName)), typeof o == "function" && we.set(o, oe), oe;
273
273
  }
274
274
  while (N >= 1 && H >= 0);
@@ -276,19 +276,19 @@ function xo() {
276
276
  }
277
277
  }
278
278
  } finally {
279
- ae = !1, pe.current = M, De(), Error.prepareStackTrace = O;
279
+ ae = !1, pe.current = F, De(), Error.prepareStackTrace = A;
280
280
  }
281
281
  var Fe = o ? o.displayName || o.name : "", Ce = Fe ? se(Fe) : "";
282
282
  return typeof o == "function" && we.set(o, Ce), Ce;
283
283
  }
284
- function qr(o, f, g) {
284
+ function qr(o, d, g) {
285
285
  return ce(o, !1);
286
286
  }
287
287
  function Zr(o) {
288
- var f = o.prototype;
289
- return !!(f && f.isReactComponent);
288
+ var d = o.prototype;
289
+ return !!(d && d.isReactComponent);
290
290
  }
291
- function et(o, f, g) {
291
+ function et(o, d, g) {
292
292
  if (o == null)
293
293
  return "";
294
294
  if (typeof o == "function")
@@ -296,7 +296,7 @@ function xo() {
296
296
  if (typeof o == "string")
297
297
  return se(o);
298
298
  switch (o) {
299
- case d:
299
+ case f:
300
300
  return se("Suspense");
301
301
  case p:
302
302
  return se("SuspenseList");
@@ -306,41 +306,41 @@ function xo() {
306
306
  case u:
307
307
  return qr(o.render);
308
308
  case h:
309
- return et(o.type, f, g);
309
+ return et(o.type, d, g);
310
310
  case b: {
311
- var C = o, O = C._payload, M = C._init;
311
+ var k = o, A = k._payload, F = k._init;
312
312
  try {
313
- return et(M(O), f, g);
313
+ return et(F(A), d, g);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var Ze = Object.prototype.hasOwnProperty, en = {}, tn = E.ReactDebugCurrentFrame;
320
+ var Ze = Object.prototype.hasOwnProperty, en = {}, tn = w.ReactDebugCurrentFrame;
321
321
  function tt(o) {
322
322
  if (o) {
323
- var f = o._owner, g = et(o.type, o._source, f ? f.type : null);
323
+ var d = o._owner, g = et(o.type, o._source, d ? d.type : null);
324
324
  tn.setExtraStackFrame(g);
325
325
  } else
326
326
  tn.setExtraStackFrame(null);
327
327
  }
328
- function Gr(o, f, g, C, O) {
328
+ function Gr(o, d, g, k, A) {
329
329
  {
330
- var M = Function.call.bind(Ze);
331
- for (var _ in o)
332
- if (M(o, _)) {
333
- var j = void 0;
330
+ var F = Function.call.bind(Ze);
331
+ for (var L in o)
332
+ if (F(o, L)) {
333
+ var R = void 0;
334
334
  try {
335
- if (typeof o[_] != "function") {
336
- var X = Error((C || "React class") + ": " + g + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
+ if (typeof o[L] != "function") {
336
+ var X = Error((k || "React class") + ": " + g + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
337
  throw X.name = "Invariant Violation", X;
338
338
  }
339
- j = o[_](f, _, C, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ R = o[L](d, L, k, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (N) {
341
- j = N;
341
+ R = N;
342
342
  }
343
- j && !(j instanceof Error) && (tt(O), v("%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).", C || "React class", g, _, typeof j), tt(null)), j instanceof Error && !(j.message in en) && (en[j.message] = !0, tt(O), v("Failed %s type: %s", g, j.message), tt(null));
343
+ R && !(R instanceof Error) && (tt(A), x("%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).", k || "React class", g, L, typeof R), tt(null)), R instanceof Error && !(R.message in en) && (en[R.message] = !0, tt(A), x("Failed %s type: %s", g, R.message), tt(null));
344
344
  }
345
345
  }
346
346
  }
@@ -350,7 +350,7 @@ function xo() {
350
350
  }
351
351
  function Jr(o) {
352
352
  {
353
- var f = typeof Symbol == "function" && Symbol.toStringTag, g = f && o[Symbol.toStringTag] || o.constructor.name || "Object";
353
+ var d = typeof Symbol == "function" && Symbol.toStringTag, g = d && o[Symbol.toStringTag] || o.constructor.name || "Object";
354
354
  return g;
355
355
  }
356
356
  }
@@ -366,9 +366,9 @@ function xo() {
366
366
  }
367
367
  function rn(o) {
368
368
  if (Kr(o))
369
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jr(o)), nn(o);
369
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jr(o)), nn(o);
370
370
  }
371
- var on = E.ReactCurrentOwner, Qr = {
371
+ var on = w.ReactCurrentOwner, Qr = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
@@ -376,27 +376,27 @@ function xo() {
376
376
  }, sn, an;
377
377
  function eo(o) {
378
378
  if (Ze.call(o, "ref")) {
379
- var f = Object.getOwnPropertyDescriptor(o, "ref").get;
380
- if (f && f.isReactWarning)
379
+ var d = Object.getOwnPropertyDescriptor(o, "ref").get;
380
+ if (d && d.isReactWarning)
381
381
  return !1;
382
382
  }
383
383
  return o.ref !== void 0;
384
384
  }
385
385
  function to(o) {
386
386
  if (Ze.call(o, "key")) {
387
- var f = Object.getOwnPropertyDescriptor(o, "key").get;
388
- if (f && f.isReactWarning)
387
+ var d = Object.getOwnPropertyDescriptor(o, "key").get;
388
+ if (d && d.isReactWarning)
389
389
  return !1;
390
390
  }
391
391
  return o.key !== void 0;
392
392
  }
393
- function no(o, f) {
393
+ function no(o, d) {
394
394
  typeof o.ref == "string" && on.current;
395
395
  }
396
- function ro(o, f) {
396
+ function ro(o, d) {
397
397
  {
398
398
  var g = function() {
399
- sn || (sn = !0, v("%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)", f));
399
+ sn || (sn = !0, x("%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)", d));
400
400
  };
401
401
  g.isReactWarning = !0, Object.defineProperty(o, "key", {
402
402
  get: g,
@@ -404,10 +404,10 @@ function xo() {
404
404
  });
405
405
  }
406
406
  }
407
- function oo(o, f) {
407
+ function oo(o, d) {
408
408
  {
409
409
  var g = function() {
410
- an || (an = !0, v("%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)", f));
410
+ an || (an = !0, x("%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)", d));
411
411
  };
412
412
  g.isReactWarning = !0, Object.defineProperty(o, "ref", {
413
413
  get: g,
@@ -415,57 +415,57 @@ function xo() {
415
415
  });
416
416
  }
417
417
  }
418
- var io = function(o, f, g, C, O, M, _) {
419
- var j = {
418
+ var io = function(o, d, g, k, A, F, L) {
419
+ var R = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: t,
422
422
  // Built-in properties that belong on the element
423
423
  type: o,
424
- key: f,
424
+ key: d,
425
425
  ref: g,
426
- props: _,
426
+ props: L,
427
427
  // Record the component responsible for creating this element.
428
- _owner: M
428
+ _owner: F
429
429
  };
430
- return j._store = {}, Object.defineProperty(j._store, "validated", {
430
+ return R._store = {}, Object.defineProperty(R._store, "validated", {
431
431
  configurable: !1,
432
432
  enumerable: !1,
433
433
  writable: !0,
434
434
  value: !1
435
- }), Object.defineProperty(j, "_self", {
435
+ }), Object.defineProperty(R, "_self", {
436
436
  configurable: !1,
437
437
  enumerable: !1,
438
438
  writable: !1,
439
- value: C
440
- }), Object.defineProperty(j, "_source", {
439
+ value: k
440
+ }), Object.defineProperty(R, "_source", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !1,
444
- value: O
445
- }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
444
+ value: A
445
+ }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
446
446
  };
447
- function so(o, f, g, C, O) {
447
+ function so(o, d, g, k, A) {
448
448
  {
449
- var M, _ = {}, j = null, X = null;
450
- g !== void 0 && (rn(g), j = "" + g), to(f) && (rn(f.key), j = "" + f.key), eo(f) && (X = f.ref, no(f, O));
451
- for (M in f)
452
- Ze.call(f, M) && !Qr.hasOwnProperty(M) && (_[M] = f[M]);
449
+ var F, L = {}, R = null, X = null;
450
+ g !== void 0 && (rn(g), R = "" + g), to(d) && (rn(d.key), R = "" + d.key), eo(d) && (X = d.ref, no(d, A));
451
+ for (F in d)
452
+ Ze.call(d, F) && !Qr.hasOwnProperty(F) && (L[F] = d[F]);
453
453
  if (o && o.defaultProps) {
454
454
  var N = o.defaultProps;
455
- for (M in N)
456
- _[M] === void 0 && (_[M] = N[M]);
455
+ for (F in N)
456
+ L[F] === void 0 && (L[F] = N[F]);
457
457
  }
458
- if (j || X) {
458
+ if (R || X) {
459
459
  var H = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
460
- j && ro(_, H), X && oo(_, H);
460
+ R && ro(L, H), X && oo(L, H);
461
461
  }
462
- return io(o, j, X, O, C, on.current, _);
462
+ return io(o, R, X, A, k, on.current, L);
463
463
  }
464
464
  }
465
- var Rt = E.ReactCurrentOwner, cn = E.ReactDebugCurrentFrame;
465
+ var Rt = w.ReactCurrentOwner, cn = w.ReactDebugCurrentFrame;
466
466
  function Oe(o) {
467
467
  if (o) {
468
- var f = o._owner, g = et(o.type, o._source, f ? f.type : null);
468
+ var d = o._owner, g = et(o.type, o._source, d ? d.type : null);
469
469
  cn.setExtraStackFrame(g);
470
470
  } else
471
471
  cn.setExtraStackFrame(null);
@@ -493,120 +493,120 @@ Check the render method of \`` + o + "`.";
493
493
  var un = {};
494
494
  function co(o) {
495
495
  {
496
- var f = ln();
497
- if (!f) {
496
+ var d = ln();
497
+ if (!d) {
498
498
  var g = typeof o == "string" ? o : o.displayName || o.name;
499
- g && (f = `
499
+ g && (d = `
500
500
 
501
501
  Check the top-level render call using <` + g + ">.");
502
502
  }
503
- return f;
503
+ return d;
504
504
  }
505
505
  }
506
- function dn(o, f) {
506
+ function dn(o, d) {
507
507
  {
508
508
  if (!o._store || o._store.validated || o.key != null)
509
509
  return;
510
510
  o._store.validated = !0;
511
- var g = co(f);
511
+ var g = co(d);
512
512
  if (un[g])
513
513
  return;
514
514
  un[g] = !0;
515
- var C = "";
516
- o && o._owner && o._owner !== Rt.current && (C = " It was passed a child from " + Z(o._owner.type) + "."), Oe(o), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, C), Oe(null);
515
+ var k = "";
516
+ o && o._owner && o._owner !== Rt.current && (k = " It was passed a child from " + Z(o._owner.type) + "."), Oe(o), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, k), Oe(null);
517
517
  }
518
518
  }
519
- function fn(o, f) {
519
+ function fn(o, d) {
520
520
  {
521
521
  if (typeof o != "object")
522
522
  return;
523
523
  if (Tt(o))
524
524
  for (var g = 0; g < o.length; g++) {
525
- var C = o[g];
526
- Lt(C) && dn(C, f);
525
+ var k = o[g];
526
+ Lt(k) && dn(k, d);
527
527
  }
528
528
  else if (Lt(o))
529
529
  o._store && (o._store.validated = !0);
530
530
  else if (o) {
531
- var O = T(o);
532
- if (typeof O == "function" && O !== o.entries)
533
- for (var M = O.call(o), _; !(_ = M.next()).done; )
534
- Lt(_.value) && dn(_.value, f);
531
+ var A = V(o);
532
+ if (typeof A == "function" && A !== o.entries)
533
+ for (var F = A.call(o), L; !(L = F.next()).done; )
534
+ Lt(L.value) && dn(L.value, d);
535
535
  }
536
536
  }
537
537
  }
538
538
  function lo(o) {
539
539
  {
540
- var f = o.type;
541
- if (f == null || typeof f == "string")
540
+ var d = o.type;
541
+ if (d == null || typeof d == "string")
542
542
  return;
543
543
  var g;
544
- if (typeof f == "function")
545
- g = f.propTypes;
546
- else if (typeof f == "object" && (f.$$typeof === u || // Note: Memo only checks outer props here.
544
+ if (typeof d == "function")
545
+ g = d.propTypes;
546
+ else if (typeof d == "object" && (d.$$typeof === u || // Note: Memo only checks outer props here.
547
547
  // Inner props are checked in the reconciler.
548
- f.$$typeof === h))
549
- g = f.propTypes;
548
+ d.$$typeof === h))
549
+ g = d.propTypes;
550
550
  else
551
551
  return;
552
552
  if (g) {
553
- var C = Z(f);
554
- Gr(g, o.props, "prop", C, o);
555
- } else if (f.PropTypes !== void 0 && !jt) {
553
+ var k = Z(d);
554
+ Gr(g, o.props, "prop", k, o);
555
+ } else if (d.PropTypes !== void 0 && !jt) {
556
556
  jt = !0;
557
- var O = Z(f);
558
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
557
+ var A = Z(d);
558
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
559
559
  }
560
- typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
+ typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
563
  function uo(o) {
564
564
  {
565
- for (var f = Object.keys(o.props), g = 0; g < f.length; g++) {
566
- var C = f[g];
567
- if (C !== "children" && C !== "key") {
568
- Oe(o), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), Oe(null);
565
+ for (var d = Object.keys(o.props), g = 0; g < d.length; g++) {
566
+ var k = d[g];
567
+ if (k !== "children" && k !== "key") {
568
+ Oe(o), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), Oe(null);
569
569
  break;
570
570
  }
571
571
  }
572
- o.ref !== null && (Oe(o), v("Invalid attribute `ref` supplied to `React.Fragment`."), Oe(null));
572
+ o.ref !== null && (Oe(o), x("Invalid attribute `ref` supplied to `React.Fragment`."), Oe(null));
573
573
  }
574
574
  }
575
575
  var pn = {};
576
- function hn(o, f, g, C, O, M) {
576
+ function hn(o, d, g, k, A, F) {
577
577
  {
578
- var _ = A(o);
579
- if (!_) {
580
- var j = "";
581
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
+ var L = D(o);
579
+ if (!L) {
580
+ var R = "";
581
+ (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
582
  var X = ao();
583
- X ? j += X : j += ln();
583
+ X ? R += X : R += ln();
584
584
  var N;
585
- o === null ? N = "null" : Tt(o) ? N = "array" : o !== void 0 && o.$$typeof === t ? (N = "<" + (Z(o.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : N = typeof o, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, j);
585
+ o === null ? N = "null" : Tt(o) ? N = "array" : o !== void 0 && o.$$typeof === t ? (N = "<" + (Z(o.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : N = typeof o, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, R);
586
586
  }
587
- var H = so(o, f, g, O, M);
587
+ var H = so(o, d, g, A, F);
588
588
  if (H == null)
589
589
  return H;
590
- if (_) {
591
- var oe = f.children;
590
+ if (L) {
591
+ var oe = d.children;
592
592
  if (oe !== void 0)
593
- if (C)
593
+ if (k)
594
594
  if (Tt(oe)) {
595
595
  for (var Fe = 0; Fe < oe.length; Fe++)
596
596
  fn(oe[Fe], o);
597
597
  Object.freeze && Object.freeze(oe);
598
598
  } else
599
- v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
599
+ x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
600
  else
601
601
  fn(oe, o);
602
602
  }
603
- if (Ze.call(f, "key")) {
604
- var Ce = Z(o), Q = Object.keys(f).filter(function(yo) {
603
+ if (Ze.call(d, "key")) {
604
+ var Ce = Z(o), ee = Object.keys(d).filter(function(yo) {
605
605
  return yo !== "key";
606
- }), _t = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
606
+ }), _t = ee.length > 0 ? "{key: someKey, " + ee.join(": ..., ") + ": ...}" : "{key: someKey}";
607
607
  if (!pn[Ce + _t]) {
608
- var go = Q.length > 0 ? "{" + Q.join(": ..., ") + ": ...}" : "{}";
609
- v(`A props object containing a "key" prop is being spread into JSX:
608
+ var go = ee.length > 0 ? "{" + ee.join(": ..., ") + ": ...}" : "{}";
609
+ x(`A props object containing a "key" prop is being spread into JSX:
610
610
  let props = %s;
611
611
  <%s {...props} />
612
612
  React keys must be passed directly to JSX without using spread:
@@ -617,11 +617,11 @@ React keys must be passed directly to JSX without using spread:
617
617
  return o === r ? uo(H) : lo(H), H;
618
618
  }
619
619
  }
620
- function fo(o, f, g) {
621
- return hn(o, f, g, !0);
620
+ function fo(o, d, g) {
621
+ return hn(o, d, g, !0);
622
622
  }
623
- function po(o, f, g) {
624
- return hn(o, f, g, !1);
623
+ function po(o, d, g) {
624
+ return hn(o, d, g, !1);
625
625
  }
626
626
  var ho = po, mo = fo;
627
627
  Xe.Fragment = r, Xe.jsx = ho, Xe.jsxs = mo;
@@ -632,12 +632,12 @@ function So() {
632
632
  return vn || (vn = 1, process.env.NODE_ENV === "production" ? nt.exports = bo() : nt.exports = xo()), nt.exports;
633
633
  }
634
634
  var a = So();
635
- const Co = typeof window < "u" ? vo : te;
635
+ const Co = typeof window < "u" ? vo : J;
636
636
  function wt(e, t) {
637
637
  const n = q(e);
638
638
  Co(() => {
639
639
  n.current = e;
640
- }, [e]), te(() => {
640
+ }, [e]), J(() => {
641
641
  if (t === null)
642
642
  return;
643
643
  const r = setInterval(() => {
@@ -672,20 +672,20 @@ const Eo = (e, t) => Hn((n) => ({
672
672
  null
673
673
  );
674
674
  return r.current || (r.current = Eo(t, n)), /* @__PURE__ */ a.jsx(zn.Provider, { value: r.current, children: e });
675
- }, U = (e) => {
675
+ }, W = (e) => {
676
676
  const t = Zt(zn);
677
677
  if (!t)
678
678
  throw new Error("usePlayerStore must be used within PlayerStoreProvider");
679
679
  return $n(t, e);
680
680
  };
681
- var ee = function() {
682
- return ee = Object.assign || function(t) {
681
+ var te = function() {
682
+ return te = Object.assign || function(t) {
683
683
  for (var n, r = 1, i = arguments.length; r < i; r++) {
684
684
  n = arguments[r];
685
685
  for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
686
686
  }
687
687
  return t;
688
- }, ee.apply(this, arguments);
688
+ }, te.apply(this, arguments);
689
689
  };
690
690
  function je(e, t, n) {
691
691
  if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
@@ -703,9 +703,9 @@ var Ro = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
703
703
  return Ro.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
704
704
  }
705
705
  /* Z+1 */
706
- ), V = "-ms-", Ke = "-moz-", F = "-webkit-", Bn = "comm", bt = "rule", Gt = "decl", Lo = "@import", Un = "@keyframes", _o = "@layer", Wn = Math.abs, Xt = String.fromCharCode, Ft = Object.assign;
706
+ ), M = "-ms-", Ke = "-moz-", O = "-webkit-", Bn = "comm", bt = "rule", Gt = "decl", Lo = "@import", Un = "@keyframes", _o = "@layer", Wn = Math.abs, Xt = String.fromCharCode, Ft = Object.assign;
707
707
  function Io(e, t) {
708
- return B(e, 0) ^ 45 ? (((t << 2 ^ B(e, 0)) << 2 ^ B(e, 1)) << 2 ^ B(e, 2)) << 2 ^ B(e, 3) : 0;
708
+ return U(e, 0) ^ 45 ? (((t << 2 ^ U(e, 0)) << 2 ^ U(e, 1)) << 2 ^ U(e, 2)) << 2 ^ U(e, 3) : 0;
709
709
  }
710
710
  function Yn(e) {
711
711
  return e.trim();
@@ -719,7 +719,7 @@ function P(e, t, n) {
719
719
  function at(e, t, n) {
720
720
  return e.indexOf(t, n);
721
721
  }
722
- function B(e, t) {
722
+ function U(e, t) {
723
723
  return e.charCodeAt(t) | 0;
724
724
  }
725
725
  function Ve(e, t, n) {
@@ -758,13 +758,13 @@ function Ao() {
758
758
  return $;
759
759
  }
760
760
  function Oo() {
761
- return $ = ie > 0 ? B(Ue, --ie) : 0, Ne--, $ === 10 && (Ne = 1, xt--), $;
761
+ return $ = ie > 0 ? U(Ue, --ie) : 0, Ne--, $ === 10 && (Ne = 1, xt--), $;
762
762
  }
763
763
  function le() {
764
- return $ = ie < Zn ? B(Ue, ie++) : 0, Ne++, $ === 10 && (Ne = 1, xt++), $;
764
+ return $ = ie < Zn ? U(Ue, ie++) : 0, Ne++, $ === 10 && (Ne = 1, xt++), $;
765
765
  }
766
766
  function Pe() {
767
- return B(Ue, ie);
767
+ return U(Ue, ie);
768
768
  }
769
769
  function ct() {
770
770
  return ie;
@@ -866,30 +866,30 @@ function zo(e) {
866
866
  return Mo(lt("", null, null, null, [""], e = Fo(e), 0, [0], e));
867
867
  }
868
868
  function lt(e, t, n, r, i, s, l, c, u) {
869
- for (var d = 0, p = 0, h = l, b = 0, x = 0, R = 0, L = 1, T = 1, E = 1, v = 0, w = "", y = i, I = s, k = r, S = w; T; )
870
- switch (R = v, v = le()) {
869
+ for (var f = 0, p = 0, h = l, b = 0, S = 0, T = 0, j = 1, V = 1, w = 1, x = 0, v = "", y = i, _ = s, E = r, C = v; V; )
870
+ switch (T = x, x = le()) {
871
871
  // (
872
872
  case 40:
873
- if (R != 108 && B(S, h - 1) == 58) {
874
- at(S += P(It(v), "&", "&\f"), "&\f", Wn(d ? c[d - 1] : 0)) != -1 && (E = -1);
873
+ if (T != 108 && U(C, h - 1) == 58) {
874
+ at(C += P(It(x), "&", "&\f"), "&\f", Wn(f ? c[f - 1] : 0)) != -1 && (w = -1);
875
875
  break;
876
876
  }
877
877
  // " ' [
878
878
  case 34:
879
879
  case 39:
880
880
  case 91:
881
- S += It(v);
881
+ C += It(x);
882
882
  break;
883
883
  // \t \n \r \s
884
884
  case 9:
885
885
  case 10:
886
886
  case 13:
887
887
  case 32:
888
- S += Vo(R);
888
+ C += Vo(T);
889
889
  break;
890
890
  // \
891
891
  case 92:
892
- S += No(ct() - 1, 7);
892
+ C += No(ct() - 1, 7);
893
893
  continue;
894
894
  // /
895
895
  case 47:
@@ -899,83 +899,83 @@ function lt(e, t, n, r, i, s, l, c, u) {
899
899
  Je(Bo(Ho(le(), ct()), t, n, u), u);
900
900
  break;
901
901
  default:
902
- S += "/";
902
+ C += "/";
903
903
  }
904
904
  break;
905
905
  // {
906
- case 123 * L:
907
- c[d++] = de(S) * E;
906
+ case 123 * j:
907
+ c[f++] = de(C) * w;
908
908
  // } ; \0
909
- case 125 * L:
909
+ case 125 * j:
910
910
  case 59:
911
911
  case 0:
912
- switch (v) {
912
+ switch (x) {
913
913
  // \0 }
914
914
  case 0:
915
915
  case 125:
916
- T = 0;
916
+ V = 0;
917
917
  // ;
918
918
  case 59 + p:
919
- E == -1 && (S = P(S, /\f/g, "")), x > 0 && de(S) - h && Je(x > 32 ? xn(S + ";", r, n, h - 1, u) : xn(P(S, " ", "") + ";", r, n, h - 2, u), u);
919
+ w == -1 && (C = P(C, /\f/g, "")), S > 0 && de(C) - h && Je(S > 32 ? xn(C + ";", r, n, h - 1, u) : xn(P(C, " ", "") + ";", r, n, h - 2, u), u);
920
920
  break;
921
921
  // @ ;
922
922
  case 59:
923
- S += ";";
923
+ C += ";";
924
924
  // { rule/at-rule
925
925
  default:
926
- if (Je(k = bn(S, t, n, d, p, i, c, w, y = [], I = [], h, s), s), v === 123)
926
+ if (Je(E = bn(C, t, n, f, p, i, c, v, y = [], _ = [], h, s), s), x === 123)
927
927
  if (p === 0)
928
- lt(S, t, k, k, y, s, h, c, I);
928
+ lt(C, t, E, E, y, s, h, c, _);
929
929
  else
930
- switch (b === 99 && B(S, 3) === 110 ? 100 : b) {
930
+ switch (b === 99 && U(C, 3) === 110 ? 100 : b) {
931
931
  // d l m s
932
932
  case 100:
933
933
  case 108:
934
934
  case 109:
935
935
  case 115:
936
- lt(e, k, k, r && Je(bn(e, k, k, 0, 0, i, c, w, i, y = [], h, I), I), i, I, h, c, r ? y : I);
936
+ lt(e, E, E, r && Je(bn(e, E, E, 0, 0, i, c, v, i, y = [], h, _), _), i, _, h, c, r ? y : _);
937
937
  break;
938
938
  default:
939
- lt(S, k, k, k, [""], I, 0, c, I);
939
+ lt(C, E, E, E, [""], _, 0, c, _);
940
940
  }
941
941
  }
942
- d = p = x = 0, L = E = 1, w = S = "", h = l;
942
+ f = p = S = 0, j = w = 1, v = C = "", h = l;
943
943
  break;
944
944
  // :
945
945
  case 58:
946
- h = 1 + de(S), x = R;
946
+ h = 1 + de(C), S = T;
947
947
  default:
948
- if (L < 1) {
949
- if (v == 123)
950
- --L;
951
- else if (v == 125 && L++ == 0 && Oo() == 125)
948
+ if (j < 1) {
949
+ if (x == 123)
950
+ --j;
951
+ else if (x == 125 && j++ == 0 && Oo() == 125)
952
952
  continue;
953
953
  }
954
- switch (S += Xt(v), v * L) {
954
+ switch (C += Xt(x), x * j) {
955
955
  // &
956
956
  case 38:
957
- E = p > 0 ? 1 : (S += "\f", -1);
957
+ w = p > 0 ? 1 : (C += "\f", -1);
958
958
  break;
959
959
  // ,
960
960
  case 44:
961
- c[d++] = (de(S) - 1) * E, E = 1;
961
+ c[f++] = (de(C) - 1) * w, w = 1;
962
962
  break;
963
963
  // @
964
964
  case 64:
965
- Pe() === 45 && (S += It(le())), b = Pe(), p = h = de(w = S += $o(ct())), v++;
965
+ Pe() === 45 && (C += It(le())), b = Pe(), p = h = de(v = C += $o(ct())), x++;
966
966
  break;
967
967
  // -
968
968
  case 45:
969
- R === 45 && de(S) == 2 && (L = 0);
969
+ T === 45 && de(C) == 2 && (j = 0);
970
970
  }
971
971
  }
972
972
  return s;
973
973
  }
974
- function bn(e, t, n, r, i, s, l, c, u, d, p, h) {
975
- for (var b = i - 1, x = i === 0 ? s : [""], R = qn(x), L = 0, T = 0, E = 0; L < r; ++L)
976
- for (var v = 0, w = Ve(e, b + 1, b = Wn(T = l[L])), y = e; v < R; ++v)
977
- (y = Yn(T > 0 ? x[v] + " " + w : P(w, /&\f/g, x[v]))) && (u[E++] = y);
978
- return St(e, t, n, i === 0 ? bt : c, u, d, p, h);
974
+ function bn(e, t, n, r, i, s, l, c, u, f, p, h) {
975
+ for (var b = i - 1, S = i === 0 ? s : [""], T = qn(S), j = 0, V = 0, w = 0; j < r; ++j)
976
+ for (var x = 0, v = Ve(e, b + 1, b = Wn(V = l[j])), y = e; x < T; ++x)
977
+ (y = Yn(V > 0 ? S[x] + " " + v : P(v, /&\f/g, S[x]))) && (u[w++] = y);
978
+ return St(e, t, n, i === 0 ? bt : c, u, f, p, h);
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);
@@ -987,7 +987,7 @@ function Gn(e, t, n) {
987
987
  switch (Io(e, t)) {
988
988
  // color-adjust
989
989
  case 5103:
990
- return F + "print-" + e + e;
990
+ return O + "print-" + e + e;
991
991
  // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
992
992
  case 5737:
993
993
  case 4201:
@@ -1017,7 +1017,7 @@ function Gn(e, t, n) {
1017
1017
  case 5365:
1018
1018
  case 5621:
1019
1019
  case 3829:
1020
- return F + e + e;
1020
+ return O + e + e;
1021
1021
  // tab-size
1022
1022
  case 4789:
1023
1023
  return Ke + e + e;
@@ -1027,85 +1027,85 @@ function Gn(e, t, n) {
1027
1027
  case 4810:
1028
1028
  case 6968:
1029
1029
  case 2756:
1030
- return F + e + Ke + e + V + e + e;
1030
+ return O + e + Ke + e + M + e + e;
1031
1031
  // writing-mode
1032
1032
  case 5936:
1033
- switch (B(e, t + 11)) {
1033
+ switch (U(e, t + 11)) {
1034
1034
  // vertical-l(r)
1035
1035
  case 114:
1036
- return F + e + V + P(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1036
+ return O + e + M + P(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1037
1037
  // vertical-r(l)
1038
1038
  case 108:
1039
- return F + e + V + P(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1039
+ return O + e + M + P(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1040
1040
  // horizontal(-)tb
1041
1041
  case 45:
1042
- return F + e + V + P(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1042
+ return O + e + M + P(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1043
1043
  }
1044
1044
  // flex, flex-direction, scroll-snap-type, writing-mode
1045
1045
  case 6828:
1046
1046
  case 4268:
1047
1047
  case 2903:
1048
- return F + e + V + e + e;
1048
+ return O + e + M + e + e;
1049
1049
  // order
1050
1050
  case 6165:
1051
- return F + e + V + "flex-" + e + e;
1051
+ return O + e + M + "flex-" + e + e;
1052
1052
  // align-items
1053
1053
  case 5187:
1054
- return F + e + P(e, /(\w+).+(:[^]+)/, F + "box-$1$2" + V + "flex-$1$2") + e;
1054
+ return O + e + P(e, /(\w+).+(:[^]+)/, O + "box-$1$2" + M + "flex-$1$2") + e;
1055
1055
  // align-self
1056
1056
  case 5443:
1057
- return F + e + V + "flex-item-" + P(e, /flex-|-self/g, "") + (me(e, /flex-|baseline/) ? "" : V + "grid-row-" + P(e, /flex-|-self/g, "")) + e;
1057
+ return O + e + M + "flex-item-" + P(e, /flex-|-self/g, "") + (me(e, /flex-|baseline/) ? "" : M + "grid-row-" + P(e, /flex-|-self/g, "")) + e;
1058
1058
  // align-content
1059
1059
  case 4675:
1060
- return F + e + V + "flex-line-pack" + P(e, /align-content|flex-|-self/g, "") + e;
1060
+ return O + e + M + "flex-line-pack" + P(e, /align-content|flex-|-self/g, "") + e;
1061
1061
  // flex-shrink
1062
1062
  case 5548:
1063
- return F + e + V + P(e, "shrink", "negative") + e;
1063
+ return O + e + M + P(e, "shrink", "negative") + e;
1064
1064
  // flex-basis
1065
1065
  case 5292:
1066
- return F + e + V + P(e, "basis", "preferred-size") + e;
1066
+ return O + e + M + P(e, "basis", "preferred-size") + e;
1067
1067
  // flex-grow
1068
1068
  case 6060:
1069
- return F + "box-" + P(e, "-grow", "") + F + e + V + P(e, "grow", "positive") + e;
1069
+ return O + "box-" + P(e, "-grow", "") + O + e + M + P(e, "grow", "positive") + e;
1070
1070
  // transition
1071
1071
  case 4554:
1072
- return F + P(e, /([^-])(transform)/g, "$1" + F + "$2") + e;
1072
+ return O + P(e, /([^-])(transform)/g, "$1" + O + "$2") + e;
1073
1073
  // cursor
1074
1074
  case 6187:
1075
- return P(P(P(e, /(zoom-|grab)/, F + "$1"), /(image-set)/, F + "$1"), e, "") + e;
1075
+ return P(P(P(e, /(zoom-|grab)/, O + "$1"), /(image-set)/, O + "$1"), e, "") + e;
1076
1076
  // background, background-image
1077
1077
  case 5495:
1078
1078
  case 3959:
1079
- return P(e, /(image-set\([^]*)/, F + "$1$`$1");
1079
+ return P(e, /(image-set\([^]*)/, O + "$1$`$1");
1080
1080
  // justify-content
1081
1081
  case 4968:
1082
- return P(P(e, /(.+:)(flex-)?(.*)/, F + "box-pack:$3" + V + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + F + e + e;
1082
+ return P(P(e, /(.+:)(flex-)?(.*)/, O + "box-pack:$3" + M + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + O + e + e;
1083
1083
  // justify-self
1084
1084
  case 4200:
1085
- if (!me(e, /flex-|baseline/)) return V + "grid-column-align" + Ve(e, t) + e;
1085
+ if (!me(e, /flex-|baseline/)) return M + "grid-column-align" + Ve(e, t) + e;
1086
1086
  break;
1087
1087
  // grid-template-(columns|rows)
1088
1088
  case 2592:
1089
1089
  case 3360:
1090
- return V + P(e, "template-", "") + e;
1090
+ return M + P(e, "template-", "") + e;
1091
1091
  // grid-(row|column)-start
1092
1092
  case 4384:
1093
1093
  case 3616:
1094
1094
  return n && n.some(function(r, i) {
1095
1095
  return t = i, me(r.props, /grid-\w+-end/);
1096
- }) ? ~at(e + (n = n[t].value), "span", 0) ? e : V + P(e, "-start", "") + e + V + "grid-row-span:" + (~at(n, "span", 0) ? me(n, /\d+/) : +me(n, /\d+/) - +me(e, /\d+/)) + ";" : V + P(e, "-start", "") + e;
1096
+ }) ? ~at(e + (n = n[t].value), "span", 0) ? e : M + P(e, "-start", "") + e + M + "grid-row-span:" + (~at(n, "span", 0) ? me(n, /\d+/) : +me(n, /\d+/) - +me(e, /\d+/)) + ";" : M + P(e, "-start", "") + e;
1097
1097
  // grid-(row|column)-end
1098
1098
  case 4896:
1099
1099
  case 4128:
1100
1100
  return n && n.some(function(r) {
1101
1101
  return me(r.props, /grid-\w+-start/);
1102
- }) ? e : V + P(P(e, "-end", "-span"), "span ", "") + e;
1102
+ }) ? e : M + P(P(e, "-end", "-span"), "span ", "") + e;
1103
1103
  // (margin|padding)-inline-(start|end)
1104
1104
  case 4095:
1105
1105
  case 3583:
1106
1106
  case 4068:
1107
1107
  case 2532:
1108
- return P(e, /(.+)-inline(.+)/, F + "$1$2") + e;
1108
+ return P(e, /(.+)-inline(.+)/, O + "$1$2") + e;
1109
1109
  // (min|max)?(width|height|inline-size|block-size)
1110
1110
  case 8116:
1111
1111
  case 7059:
@@ -1120,14 +1120,14 @@ function Gn(e, t, n) {
1120
1120
  case 5021:
1121
1121
  case 4765:
1122
1122
  if (de(e) - 1 - t > 6)
1123
- switch (B(e, t + 1)) {
1123
+ switch (U(e, t + 1)) {
1124
1124
  // (m)ax-content, (m)in-content
1125
1125
  case 109:
1126
- if (B(e, t + 4) !== 45)
1126
+ if (U(e, t + 4) !== 45)
1127
1127
  break;
1128
1128
  // (f)ill-available, (f)it-content
1129
1129
  case 102:
1130
- return P(e, /(.+:)(.+)-([^]+)/, "$1" + F + "$2-$3$1" + Ke + (B(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1130
+ return P(e, /(.+:)(.+)-([^]+)/, "$1" + O + "$2-$3$1" + Ke + (U(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1131
1131
  // (s)tretch
1132
1132
  case 115:
1133
1133
  return ~at(e, "stretch", 0) ? Gn(P(e, "stretch", "fill-available"), t, n) + e : e;
@@ -1136,23 +1136,23 @@ function Gn(e, t, n) {
1136
1136
  // grid-(column|row)
1137
1137
  case 5152:
1138
1138
  case 5920:
1139
- return P(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, i, s, l, c, u, d) {
1140
- return V + i + ":" + s + d + (l ? V + i + "-span:" + (c ? u : +u - +s) + d : "") + e;
1139
+ return P(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, i, s, l, c, u, f) {
1140
+ return M + i + ":" + s + f + (l ? M + i + "-span:" + (c ? u : +u - +s) + f : "") + e;
1141
1141
  });
1142
1142
  // position: sticky
1143
1143
  case 4949:
1144
- if (B(e, t + 6) === 121)
1145
- return P(e, ":", ":" + F) + e;
1144
+ if (U(e, t + 6) === 121)
1145
+ return P(e, ":", ":" + O) + e;
1146
1146
  break;
1147
1147
  // display: (flex|inline-flex|grid|inline-grid)
1148
1148
  case 6444:
1149
- switch (B(e, B(e, 14) === 45 ? 18 : 11)) {
1149
+ switch (U(e, U(e, 14) === 45 ? 18 : 11)) {
1150
1150
  // (inline-)?fle(x)
1151
1151
  case 120:
1152
- return P(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + F + (B(e, 14) === 45 ? "inline-" : "") + "box$3$1" + F + "$2$3$1" + V + "$2box$3") + e;
1152
+ return P(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + O + (U(e, 14) === 45 ? "inline-" : "") + "box$3$1" + O + "$2$3$1" + M + "$2box$3") + e;
1153
1153
  // (inline-)?gri(d)
1154
1154
  case 100:
1155
- return P(e, ":", ":" + V) + e;
1155
+ return P(e, ":", ":" + M) + e;
1156
1156
  }
1157
1157
  break;
1158
1158
  // scroll-margin, scroll-margin-(top|right|bottom|left)
@@ -1206,7 +1206,7 @@ function qo(e, t, n, r) {
1206
1206
  e.return = Gn(e.value, e.length, n);
1207
1207
  return;
1208
1208
  case Un:
1209
- return ft([be(e, { value: P(e.value, "@", "@" + F) })], r);
1209
+ return ft([be(e, { value: P(e.value, "@", "@" + O) })], r);
1210
1210
  case bt:
1211
1211
  if (e.length)
1212
1212
  return Do(n = e.props, function(i) {
@@ -1218,7 +1218,7 @@ function qo(e, t, n, r) {
1218
1218
  break;
1219
1219
  // :placeholder
1220
1220
  case "::placeholder":
1221
- Me(be(e, { props: [P(i, /:(plac\w+)/, ":" + F + "input-$1")] })), Me(be(e, { props: [P(i, /:(plac\w+)/, ":" + Ke + "$1")] })), Me(be(e, { props: [P(i, /:(plac\w+)/, V + "input-$1")] })), Me(be(e, { props: [i] })), Ft(e, { props: wn(n, r) });
1221
+ Me(be(e, { props: [P(i, /:(plac\w+)/, ":" + O + "input-$1")] })), Me(be(e, { props: [P(i, /:(plac\w+)/, ":" + Ke + "$1")] })), Me(be(e, { props: [P(i, /:(plac\w+)/, M + "input-$1")] })), Me(be(e, { props: [i] })), Ft(e, { props: wn(n, r) });
1222
1222
  break;
1223
1223
  }
1224
1224
  return "";
@@ -1341,9 +1341,9 @@ function ir(e, t, n) {
1341
1341
  for (var s = En(e), l = En(t), c = 0; c < i.length; ++c) {
1342
1342
  var u = i[c];
1343
1343
  if (!(u in ri || n && n[u] || l && u in l || s && u in s)) {
1344
- var d = ai(t, u);
1344
+ var f = ai(t, u);
1345
1345
  try {
1346
- ii(e, u, d);
1346
+ ii(e, u, f);
1347
1347
  } catch {
1348
1348
  }
1349
1349
  }
@@ -1472,8 +1472,8 @@ var di = (function() {
1472
1472
  if (c) {
1473
1473
  var u = c.match(mi);
1474
1474
  if (u) {
1475
- var d = 0 | parseInt(u[1], 10), p = u[2];
1476
- d !== 0 && (pi(p, d), gi(e, p, u[3]), e.getTag().insertRules(d, i)), i.length = 0;
1475
+ var f = 0 | parseInt(u[1], 10), p = u[2];
1476
+ f !== 0 && (pi(p, f), gi(e, p, u[3]), e.getTag().insertRules(f, i)), i.length = 0;
1477
1477
  } else i.push(c);
1478
1478
  }
1479
1479
  }
@@ -1547,20 +1547,20 @@ var sr = function(e) {
1547
1547
  function e(t, n, r) {
1548
1548
  t === void 0 && (t = He), n === void 0 && (n = {});
1549
1549
  var i = this;
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() {
1550
+ this.options = te(te({}, 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(s) {
1552
- for (var l = s.getTag(), c = l.length, u = "", d = function(h) {
1553
- var b = (function(E) {
1554
- return ht.get(E);
1552
+ for (var l = s.getTag(), c = l.length, u = "", f = function(h) {
1553
+ var b = (function(w) {
1554
+ return ht.get(w);
1555
1555
  })(h);
1556
1556
  if (b === void 0) return "continue";
1557
- var x = s.names.get(b), R = l.getGroup(h);
1558
- if (x === void 0 || !x.size || R.length === 0) return "continue";
1559
- var L = "".concat(Le, ".g").concat(h, '[id="').concat(b, '"]'), T = "";
1560
- x !== void 0 && x.forEach(function(E) {
1561
- E.length > 0 && (T += "".concat(E, ","));
1562
- }), u += "".concat(R).concat(L, '{content:"').concat(T, '"}').concat(Jt);
1563
- }, p = 0; p < c; p++) d(p);
1557
+ var S = s.names.get(b), T = l.getGroup(h);
1558
+ if (S === void 0 || !S.size || T.length === 0) return "continue";
1559
+ var j = "".concat(Le, ".g").concat(h, '[id="').concat(b, '"]'), V = "";
1560
+ S !== void 0 && S.forEach(function(w) {
1561
+ w.length > 0 && (V += "".concat(w, ","));
1562
+ }), u += "".concat(T).concat(j, '{content:"').concat(V, '"}').concat(Jt);
1563
+ }, p = 0; p < c; p++) f(p);
1564
1564
  return u;
1565
1565
  })(i);
1566
1566
  });
@@ -1570,7 +1570,7 @@ var sr = function(e) {
1570
1570
  }, e.prototype.rehydrate = function() {
1571
1571
  !this.server && pt && Rn(this);
1572
1572
  }, e.prototype.reconstructWithOptions = function(t, n) {
1573
- return n === void 0 && (n = !0), new e(ee(ee({}, this.options), t), this.gs, n && this.names || void 0);
1573
+ return n === void 0 && (n = !0), new e(te(te({}, this.options), t), this.gs, n && this.names || void 0);
1574
1574
  }, e.prototype.allocateGSInstance = function(t) {
1575
1575
  return this.gs[t] = (this.gs[t] || 0) + 1;
1576
1576
  }, e.prototype.getTag = function() {
@@ -1605,23 +1605,23 @@ function cr(e, t) {
1605
1605
  });
1606
1606
  }
1607
1607
  function Ei(e) {
1608
- var t, n, r, i = He, s = i.options, l = s === void 0 ? He : s, c = i.plugins, u = c === void 0 ? Et : c, d = function(b, x, R) {
1609
- return R.startsWith(n) && R.endsWith(n) && R.replaceAll(n, "").length > 0 ? ".".concat(t) : b;
1608
+ var t, n, r, i = He, s = i.options, l = s === void 0 ? He : s, c = i.plugins, u = c === void 0 ? Et : c, f = function(b, S, T) {
1609
+ return T.startsWith(n) && T.endsWith(n) && T.replaceAll(n, "").length > 0 ? ".".concat(t) : b;
1610
1610
  }, p = u.slice();
1611
1611
  p.push(function(b) {
1612
- b.type === bt && b.value.includes("&") && (b.props[0] = b.props[0].replace(Ci, n).replace(r, d));
1612
+ b.type === bt && b.value.includes("&") && (b.props[0] = b.props[0].replace(Ci, n).replace(r, f));
1613
1613
  }), l.prefix && p.push(qo), p.push(Uo);
1614
- var h = function(b, x, R, L) {
1615
- x === void 0 && (x = ""), R === void 0 && (R = ""), L === void 0 && (L = "&"), t = L, n = x, r = new RegExp("\\".concat(n, "\\b"), "g");
1616
- var T = b.replace(ki, ""), E = zo(R || x ? "".concat(R, " ").concat(x, " { ").concat(T, " }") : T);
1617
- l.namespace && (E = cr(E, l.namespace));
1618
- var v = [];
1619
- return ft(E, Wo(p.concat(Yo(function(w) {
1620
- return v.push(w);
1621
- })))), v;
1614
+ var h = function(b, S, T, j) {
1615
+ S === void 0 && (S = ""), T === void 0 && (T = ""), j === void 0 && (j = "&"), t = j, n = S, r = new RegExp("\\".concat(n, "\\b"), "g");
1616
+ var V = b.replace(ki, ""), w = zo(T || S ? "".concat(T, " ").concat(S, " { ").concat(V, " }") : V);
1617
+ l.namespace && (w = cr(w, l.namespace));
1618
+ var x = [];
1619
+ return ft(w, Wo(p.concat(Yo(function(v) {
1620
+ return x.push(v);
1621
+ })))), x;
1622
1622
  };
1623
- return h.hash = u.length ? u.reduce(function(b, x) {
1624
- return x.name || We(15), ke(b, x.name);
1623
+ return h.hash = u.length ? u.reduce(function(b, S) {
1624
+ return S.name || We(15), ke(b, S.name);
1625
1625
  }, Kn).toString() : "", h;
1626
1626
  }
1627
1627
  var Pi = new ar(), Bt = Ei(), lr = Re.createContext({ shouldForwardProp: void 0, styleSheet: Pi, stylis: Bt });
@@ -1701,17 +1701,17 @@ var ji = Qn(kt), Li = (function() {
1701
1701
  i = Ee(i, l), this.staticRulesId = l;
1702
1702
  }
1703
1703
  else {
1704
- for (var u = ke(this.baseHash, r.hash), d = "", p = 0; p < this.rules.length; p++) {
1704
+ for (var u = ke(this.baseHash, r.hash), f = "", p = 0; p < this.rules.length; p++) {
1705
1705
  var h = this.rules[p];
1706
- if (typeof h == "string") d += h, process.env.NODE_ENV !== "production" && (u = ke(u, h));
1706
+ if (typeof h == "string") f += h, process.env.NODE_ENV !== "production" && (u = ke(u, h));
1707
1707
  else if (h) {
1708
1708
  var b = $t(Te(h, t, n, r));
1709
- u = ke(u, b + p), d += b;
1709
+ u = ke(u, b + p), f += b;
1710
1710
  }
1711
1711
  }
1712
- if (d) {
1713
- var x = Ht(u >>> 0);
1714
- n.hasNameForId(this.componentId, x) || n.insertRules(this.componentId, x, r(d, ".".concat(x), void 0, this.componentId)), i = Ee(i, x);
1712
+ if (f) {
1713
+ var S = Ht(u >>> 0);
1714
+ n.hasNameForId(this.componentId, S) || n.insertRules(this.componentId, S, r(f, ".".concat(S), void 0, this.componentId)), i = Ee(i, S);
1715
1715
  }
1716
1716
  }
1717
1717
  return i;
@@ -1720,61 +1720,61 @@ 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, s = !At(e), l = t.attrs, c = l === void 0 ? Et : l, u = t.componentId, d = u === void 0 ? (function(y, I) {
1724
- var k = typeof y != "string" ? "sc" : Cn(y);
1725
- Ot[k] = (Ot[k] || 0) + 1;
1726
- var S = "".concat(k, "-").concat(er(kt + k + Ot[k]));
1727
- return I ? "".concat(I, "-").concat(S) : S;
1723
+ var r = Kt(e), i = e, s = !At(e), l = t.attrs, c = l === void 0 ? Et : l, u = t.componentId, f = u === void 0 ? (function(y, _) {
1724
+ var E = typeof y != "string" ? "sc" : Cn(y);
1725
+ Ot[E] = (Ot[E] || 0) + 1;
1726
+ var C = "".concat(E, "-").concat(er(kt + E + Ot[E]));
1727
+ return _ ? "".concat(_, "-").concat(C) : C;
1728
1728
  })(t.displayName, t.parentComponentId) : u, p = t.displayName, h = p === void 0 ? (function(y) {
1729
1729
  return At(y) ? "styled.".concat(y) : "Styled(".concat(tr(y), ")");
1730
- })(e) : p, b = t.displayName && t.componentId ? "".concat(Cn(t.displayName), "-").concat(t.componentId) : t.componentId || d, x = r && i.attrs ? i.attrs.concat(c).filter(Boolean) : c, R = t.shouldForwardProp;
1730
+ })(e) : p, b = t.displayName && t.componentId ? "".concat(Cn(t.displayName), "-").concat(t.componentId) : t.componentId || f, S = r && i.attrs ? i.attrs.concat(c).filter(Boolean) : c, T = t.shouldForwardProp;
1731
1731
  if (r && i.shouldForwardProp) {
1732
- var L = i.shouldForwardProp;
1732
+ var j = i.shouldForwardProp;
1733
1733
  if (t.shouldForwardProp) {
1734
- var T = t.shouldForwardProp;
1735
- R = function(y, I) {
1736
- return L(y, I) && T(y, I);
1734
+ var V = t.shouldForwardProp;
1735
+ T = function(y, _) {
1736
+ return j(y, _) && V(y, _);
1737
1737
  };
1738
- } else R = L;
1738
+ } else T = j;
1739
1739
  }
1740
- var E = new Li(n, b, r ? i.componentStyle : void 0);
1741
- function v(y, I) {
1742
- return (function(k, S, W) {
1743
- var J = k.attrs, A = k.componentStyle, _e = k.defaultProps, fe = k.foldedComponentIds, Z = k.styledComponentId, ne = k.target, ue = Re.useContext(fr), Se = Ln(), K = k.shouldForwardProp || Se.shouldForwardProp;
1740
+ var w = new Li(n, b, r ? i.componentStyle : void 0);
1741
+ function x(y, _) {
1742
+ return (function(E, C, B) {
1743
+ var K = E.attrs, D = E.componentStyle, _e = E.defaultProps, fe = E.foldedComponentIds, Z = E.styledComponentId, ne = E.target, ue = Re.useContext(fr), Se = Ln(), Q = E.shouldForwardProp || Se.shouldForwardProp;
1744
1744
  process.env.NODE_ENV !== "production" && mn(Z);
1745
- var Ye = Jo(S, ue, _e) || He, re = (function(De, pe, ve) {
1746
- for (var se, ae = ee(ee({}, pe), { className: void 0, theme: ve }), we = 0; we < De.length; we += 1) {
1745
+ var Ye = Jo(C, ue, _e) || He, re = (function(De, pe, ve) {
1746
+ for (var se, ae = te(te({}, pe), { className: void 0, theme: ve }), we = 0; we < De.length; we += 1) {
1747
1747
  var Ae = $e(se = De[we]) ? 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" ? Ee(ae[ce], Ae[ce]) : ce === "style" ? te(te({}, ae[ce]), Ae[ce]) : Ae[ce];
1749
1749
  }
1750
1750
  return pe.className && (ae.className = Ee(ae.className, pe.className)), ae;
1751
- })(J, S, Ye), ge = re.as || ne, ye = {};
1752
- for (var G in re) re[G] === void 0 || G[0] === "$" || G === "as" || G === "theme" && re.theme === Ye || (G === "forwardedAs" ? ye.as = re.forwardedAs : K && !K(G, ge) || (ye[G] = re[G], K || process.env.NODE_ENV !== "development" || jo(G) || In.has(G) || !Nt.has(ge) || (In.add(G), console.warn('styled-components: it looks like an unknown prop "'.concat(G, '" 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.)')))));
1751
+ })(K, C, Ye), ge = re.as || ne, ye = {};
1752
+ for (var G in re) re[G] === void 0 || G[0] === "$" || G === "as" || G === "theme" && re.theme === Ye || (G === "forwardedAs" ? ye.as = re.forwardedAs : Q && !Q(G, ge) || (ye[G] = re[G], Q || process.env.NODE_ENV !== "development" || jo(G) || In.has(G) || !Nt.has(ge) || (In.add(G), console.warn('styled-components: it looks like an unknown prop "'.concat(G, '" 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) {
1754
1754
  var ve = Ln(), se = De.generateAndInjectStyles(pe, ve.styleSheet, ve.stylis);
1755
1755
  return process.env.NODE_ENV !== "production" && mn(se), se;
1756
- })(A, re);
1757
- process.env.NODE_ENV !== "production" && k.warnTooManyClasses && k.warnTooManyClasses(Ie);
1756
+ })(D, re);
1757
+ process.env.NODE_ENV !== "production" && E.warnTooManyClasses && E.warnTooManyClasses(Ie);
1758
1758
  var qe = Ee(fe, Z);
1759
- return Ie && (qe += " " + Ie), re.className && (qe += " " + re.className), ye[At(ge) && !Nt.has(ge) ? "class" : "className"] = qe, W && (ye.ref = W), wo(ge, ye);
1760
- })(w, y, I);
1759
+ return Ie && (qe += " " + Ie), re.className && (qe += " " + re.className), ye[At(ge) && !Nt.has(ge) ? "class" : "className"] = qe, B && (ye.ref = B), wo(ge, ye);
1760
+ })(v, y, _);
1761
1761
  }
1762
- v.displayName = h;
1763
- var w = Re.forwardRef(v);
1764
- return w.attrs = x, w.componentStyle = E, w.displayName = h, w.shouldForwardProp = R, w.foldedComponentIds = r ? Ee(i.foldedComponentIds, i.styledComponentId) : "", w.styledComponentId = b, w.target = r ? i.target : e, Object.defineProperty(w, "defaultProps", { get: function() {
1762
+ x.displayName = h;
1763
+ var v = Re.forwardRef(x);
1764
+ return v.attrs = S, v.componentStyle = w, v.displayName = h, v.shouldForwardProp = T, v.foldedComponentIds = r ? Ee(i.foldedComponentIds, i.styledComponentId) : "", v.styledComponentId = b, v.target = r ? i.target : e, Object.defineProperty(v, "defaultProps", { get: function() {
1765
1765
  return this._foldedDefaultProps;
1766
1766
  }, set: function(y) {
1767
- this._foldedDefaultProps = r ? (function(I) {
1768
- for (var k = [], S = 1; S < arguments.length; S++) k[S - 1] = arguments[S];
1769
- for (var W = 0, J = k; W < J.length; W++) zt(I, J[W], !0);
1770
- return I;
1767
+ this._foldedDefaultProps = r ? (function(_) {
1768
+ for (var E = [], C = 1; C < arguments.length; C++) E[C - 1] = arguments[C];
1769
+ for (var B = 0, K = E; B < K.length; B++) zt(_, K[B], !0);
1770
+ return _;
1771
1771
  })({}, i.defaultProps, y) : y;
1772
- } }), process.env.NODE_ENV !== "production" && (Xo(h, b), w.warnTooManyClasses = /* @__PURE__ */ (function(y, I) {
1773
- var k = {}, S = !1;
1774
- return function(W) {
1775
- if (!S && (k[W] = !0, Object.keys(k).length >= 200)) {
1776
- var J = I ? ' with the id of "'.concat(I, '"') : "";
1777
- console.warn("Over ".concat(200, " classes were generated for component ").concat(y).concat(J, `.
1772
+ } }), process.env.NODE_ENV !== "production" && (Xo(h, b), v.warnTooManyClasses = /* @__PURE__ */ (function(y, _) {
1773
+ var E = {}, C = !1;
1774
+ return function(B) {
1775
+ if (!C && (E[B] = !0, Object.keys(E).length >= 200)) {
1776
+ var K = _ ? ' with the id of "'.concat(_, '"') : "";
1777
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(y).concat(K, `.
1778
1778
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
1779
1779
  Example:
1780
1780
  const Component = styled.div.attrs(props => ({
@@ -1783,12 +1783,12 @@ Example:
1783
1783
  },
1784
1784
  }))\`width: 100%;\`
1785
1785
 
1786
- <Component />`), S = !0, k = {};
1786
+ <Component />`), C = !0, E = {};
1787
1787
  }
1788
1788
  };
1789
- })(h, b)), Qt(w, function() {
1790
- return ".".concat(w.styledComponentId);
1791
- }), s && ir(w, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), w;
1789
+ })(h, b)), Qt(v, function() {
1790
+ return ".".concat(v.styledComponentId);
1791
+ }), s && ir(v, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), v;
1792
1792
  }
1793
1793
  function Dn(e, t) {
1794
1794
  for (var n = [e[0]], r = 0, i = t.length; r < i; r += 1) n.push(t[r], e[r + 1]);
@@ -1810,16 +1810,16 @@ function Wt(e, t, n) {
1810
1810
  return e(t, n, mt.apply(void 0, je([i], s, !1)));
1811
1811
  };
1812
1812
  return r.attrs = function(i) {
1813
- return Wt(e, t, ee(ee({}, n), { attrs: Array.prototype.concat(n.attrs, i).filter(Boolean) }));
1813
+ return Wt(e, t, te(te({}, n), { attrs: Array.prototype.concat(n.attrs, i).filter(Boolean) }));
1814
1814
  }, r.withConfig = function(i) {
1815
- return Wt(e, t, ee(ee({}, n), i));
1815
+ return Wt(e, t, te(te({}, n), i));
1816
1816
  }, r;
1817
1817
  }
1818
1818
  var pr = function(e) {
1819
1819
  return Wt(_i, e);
1820
- }, D = pr;
1820
+ }, I = pr;
1821
1821
  Nt.forEach(function(e) {
1822
- D[e] = pr(e);
1822
+ I[e] = pr(e);
1823
1823
  });
1824
1824
  function Ii(e) {
1825
1825
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
@@ -1840,7 +1840,7 @@ function Di({
1840
1840
  eventNotStartedMessage: n,
1841
1841
  eventStartingSoonMessage: r
1842
1842
  }) {
1843
- const i = U((d) => d.startDate), s = U((d) => d.endDate), l = Date.now(), c = l < i.getTime(), u = l > s.getTime();
1843
+ const i = W((f) => f.startDate), s = W((f) => f.endDate), l = Date.now(), c = l < i.getTime(), u = l > s.getTime();
1844
1844
  return ko(5e3), c ? /* @__PURE__ */ a.jsx(
1845
1845
  Ai,
1846
1846
  {
@@ -1866,7 +1866,7 @@ function Ai({ startDate: e, title: t, message: n }) {
1866
1866
  function Oi({ title: e }) {
1867
1867
  return /* @__PURE__ */ a.jsx(Yt, { children: /* @__PURE__ */ a.jsx(qt, { children: e }) });
1868
1868
  }
1869
- const Yt = D.div`
1869
+ const Yt = I.div`
1870
1870
  position: absolute;
1871
1871
  top: 0;
1872
1872
  left: 0;
@@ -1879,14 +1879,14 @@ const Yt = D.div`
1879
1879
  justify-content: center;
1880
1880
  color: black;
1881
1881
  background: #f7e406;
1882
- `, qt = D.h3`
1882
+ `, qt = I.h3`
1883
1883
  margin: 0;
1884
1884
  padding: 0.5rem 0;
1885
1885
  font-size: 1.5rem;
1886
1886
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
1887
1887
  "Helvetica Neue", Arial, sans-serif;
1888
1888
  font-weight: 500;
1889
- `, Fi = D.p`
1889
+ `, Fi = I.p`
1890
1890
  margin: 0;
1891
1891
  height: 1.25rem;
1892
1892
  font-size: 1rem;
@@ -1909,7 +1909,7 @@ const xe = yt(
1909
1909
  ({ shape: e = "circle", ...t }, n) => /* @__PURE__ */ a.jsx(Vi, { ref: n, $shape: e, ...t })
1910
1910
  );
1911
1911
  xe.displayName = "PlayerButton";
1912
- const Vi = D.button`
1912
+ const Vi = I.button`
1913
1913
  margin: 0;
1914
1914
  display: flex;
1915
1915
  align-items: center;
@@ -1958,7 +1958,7 @@ const Vi = D.button`
1958
1958
  `}
1959
1959
  `;
1960
1960
  function Ni({ message: e, ...t }) {
1961
- const n = U((s) => s.delay), r = U((s) => s.setDelay), i = () => r(0);
1961
+ const n = W((s) => s.delay), r = W((s) => s.setDelay), i = () => r(0);
1962
1962
  return n ? /* @__PURE__ */ a.jsxs(xe, { onClick: i, shape: "square", ...t, children: [
1963
1963
  /* @__PURE__ */ a.jsx("span", { children: e || "Live" }),
1964
1964
  /* @__PURE__ */ a.jsx(Mi, {})
@@ -2190,7 +2190,7 @@ const m = (e) => {
2190
2190
  return $n(t, e);
2191
2191
  };
2192
2192
  function es() {
2193
- const e = m((c) => c.isPlaying), t = m((c) => c.pause), n = m((c) => c.getPauseTimeDiff), r = m((c) => c.play), i = U((c) => c.delay), s = U((c) => c.setDelay), l = () => {
2193
+ const e = m((c) => c.isPlaying), t = m((c) => c.pause), n = m((c) => c.getPauseTimeDiff), r = m((c) => c.play), i = W((c) => c.delay), s = W((c) => c.setDelay), l = () => {
2194
2194
  if (e)
2195
2195
  t();
2196
2196
  else {
@@ -2206,16 +2206,16 @@ function vr({
2206
2206
  ...n
2207
2207
  }) {
2208
2208
  const r = q(null), i = m((h) => h.exitFullscreen), s = m((h) => h.isFullscreen), l = m((h) => h.requestFullscreen), c = (h) => {
2209
- p() ? (d(), s ? i() : l()) : u(h);
2209
+ p() ? (f(), s ? i() : l()) : u(h);
2210
2210
  }, u = (h) => {
2211
2211
  r.current = window.setTimeout(() => {
2212
- t?.(h), d();
2212
+ t?.(h), f();
2213
2213
  }, 200);
2214
- }, d = () => {
2214
+ }, f = () => {
2215
2215
  r.current !== null && (window.clearTimeout(r.current), r.current = null);
2216
2216
  }, p = () => r.current !== null;
2217
- return te(() => () => {
2218
- d();
2217
+ return J(() => () => {
2218
+ f();
2219
2219
  }, []), /* @__PURE__ */ a.jsx(
2220
2220
  ts,
2221
2221
  {
@@ -2226,7 +2226,7 @@ function vr({
2226
2226
  }
2227
2227
  );
2228
2228
  }
2229
- const ts = D.button`
2229
+ const ts = I.button`
2230
2230
  position: absolute;
2231
2231
  top: 0;
2232
2232
  left: 0;
@@ -2246,7 +2246,7 @@ const ts = D.button`
2246
2246
  }
2247
2247
  `;
2248
2248
  function ns() {
2249
- const e = m((c) => c.isPlaying), t = m((c) => c.pause), n = m((c) => c.getPauseTimeDiff), r = m((c) => c.play), i = U((c) => c.delay), s = U((c) => c.setDelay), l = () => {
2249
+ const e = m((c) => c.isPlaying), t = m((c) => c.pause), n = m((c) => c.getPauseTimeDiff), r = m((c) => c.play), i = W((c) => c.delay), s = W((c) => c.setDelay), l = () => {
2250
2250
  if (e)
2251
2251
  t();
2252
2252
  else {
@@ -2256,11 +2256,11 @@ function ns() {
2256
2256
  };
2257
2257
  return /* @__PURE__ */ a.jsx(vr, { onClick: l });
2258
2258
  }
2259
- const wr = D.div`
2259
+ const wr = I.div`
2260
2260
  position: relative;
2261
2261
  width: 100%;
2262
2262
  margin-bottom: -0.25rem;
2263
- `, br = D.div`
2263
+ `, br = I.div`
2264
2264
  position: absolute;
2265
2265
  bottom: 1.75rem;
2266
2266
  left: 0;
@@ -2271,7 +2271,7 @@ const wr = D.div`
2271
2271
  opacity: ${({ $isVisible: e }) => e ? 1 : 0};
2272
2272
  transform: ${({ $isVisible: e }) => e ? "translateY(0)" : "translateY(-0.5rem)"};
2273
2273
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
2274
- `, xr = D.p`
2274
+ `, xr = I.p`
2275
2275
  margin: 0;
2276
2276
  padding: 0.25rem;
2277
2277
  font-variant-numeric: tabular-nums;
@@ -2303,7 +2303,7 @@ const wr = D.div`
2303
2303
  }
2304
2304
  ));
2305
2305
  Pt.displayName = "PlayerSlider";
2306
- const rs = D(vt.Root)`
2306
+ const rs = I(vt.Root)`
2307
2307
  position: relative;
2308
2308
  display: flex;
2309
2309
  align-items: center;
@@ -2317,20 +2317,20 @@ const rs = D(vt.Root)`
2317
2317
  cursor: not-allowed;
2318
2318
  opacity: 0.5;
2319
2319
  }
2320
- `, os = D(vt.Track)`
2320
+ `, os = I(vt.Track)`
2321
2321
  position: relative;
2322
2322
  height: 0.25rem;
2323
2323
  flex-grow: 1;
2324
2324
  background: rgba(255, 255, 255, 0.2);
2325
2325
  border-radius: 1rem;
2326
2326
  overflow: hidden;
2327
- `, is = D(vt.Range)`
2327
+ `, is = I(vt.Range)`
2328
2328
  position: absolute;
2329
2329
  height: 100%;
2330
2330
  background: #f7e406;
2331
2331
  transition: width 0.2s ease-in-out;
2332
2332
  border-radius: 1rem;
2333
- `, ss = D(vt.Thumb)`
2333
+ `, ss = I(vt.Thumb)`
2334
2334
  display: block;
2335
2335
  width: 0.875rem;
2336
2336
  height: 0.875rem;
@@ -2397,43 +2397,43 @@ function cs({
2397
2397
  }
2398
2398
  const On = "vod-player-progress-bar";
2399
2399
  function ls() {
2400
- const e = q(null), t = q(null), [n, r] = Y(0), [i, s] = Y(0), [l, c] = Y(!1), [u, d] = Y(-1), [p, h] = Y(-1), b = U((A) => A.delay), x = U((A) => A.startTime), R = U((A) => A.endTime), L = U((A) => A.setDelay), T = m((A) => A.isPlaying), E = m((A) => A.addIdleLock), v = m((A) => A.removeIdleLock), w = z(() => {
2401
- r(Cr(x, b)), s(kr(x, R));
2402
- }, [b, R, x]), y = parseFloat(
2400
+ const e = q(null), t = q(null), [n, r] = Y(0), [i, s] = Y(0), [l, c] = Y(!1), [u, f] = Y(-1), [p, h] = Y(-1), b = W((D) => D.delay), S = W((D) => D.startTime), T = W((D) => D.endTime), j = W((D) => D.setDelay), V = m((D) => D.isPlaying), w = m((D) => D.addIdleLock), x = m((D) => D.removeIdleLock), v = z(() => {
2401
+ r(Cr(S, b)), s(kr(S, T));
2402
+ }, [b, T, S]), y = parseFloat(
2403
2403
  (i ? (p !== -1 ? p : n) / i * 100 : 0).toFixed(1)
2404
- ), I = (A) => {
2405
- h(i * (A[0] / 100)), E(On);
2406
- }, k = () => {
2404
+ ), _ = (D) => {
2405
+ h(i * (D[0] / 100)), w(On);
2406
+ }, E = () => {
2407
2407
  if (p !== -1) {
2408
- const A = Sr(x, p);
2409
- L(A), h(-1), v(On);
2408
+ const D = Sr(S, p);
2409
+ j(D), h(-1), x(On);
2410
2410
  }
2411
- }, S = () => c(!0), W = () => c(!1), J = z(
2412
- (A) => {
2411
+ }, C = () => c(!0), B = () => c(!1), K = z(
2412
+ (D) => {
2413
2413
  const _e = e.current, fe = t.current;
2414
2414
  if (_e && fe) {
2415
- const Z = gt(_e), ne = gt(fe), ue = (A.pageX || A.clientX) - Z.left, Se = ue / Z.width;
2415
+ const Z = gt(_e), ne = gt(fe), ue = (D.pageX || D.clientX) - Z.left, Se = ue / Z.width;
2416
2416
  if (Se < 0) return;
2417
- let K = ue - ne.width / 2;
2418
- K < 0 && (K = 0), K > Z.width - ne.width && (K = -1), fe.style.left = K > -1 ? `${K}px` : "auto", fe.style.right = K > -1 ? "auto" : "0px", d(Se * i);
2417
+ let Q = ue - ne.width / 2;
2418
+ Q < 0 && (Q = 0), Q > Z.width - ne.width && (Q = -1), fe.style.left = Q > -1 ? `${Q}px` : "auto", fe.style.right = Q > -1 ? "auto" : "0px", f(Se * i);
2419
2419
  }
2420
- S();
2420
+ C();
2421
2421
  },
2422
2422
  [i]
2423
2423
  );
2424
- return wt(() => w(), T ? 1e3 : null), te(() => {
2425
- w();
2426
- }, [w]), /* @__PURE__ */ a.jsxs(wr, { children: [
2424
+ return wt(() => v(), V ? 1e3 : null), J(() => {
2425
+ v();
2426
+ }, [v]), /* @__PURE__ */ a.jsxs(wr, { children: [
2427
2427
  /* @__PURE__ */ a.jsx(
2428
2428
  Pt,
2429
2429
  {
2430
2430
  ref: e,
2431
2431
  value: [y],
2432
- onPointerLeave: W,
2433
- onPointerDown: W,
2434
- onPointerMove: J,
2435
- onValueChange: I,
2436
- onValueCommit: k,
2432
+ onPointerLeave: B,
2433
+ onPointerDown: B,
2434
+ onPointerMove: K,
2435
+ onValueChange: _,
2436
+ onValueCommit: E,
2437
2437
  step: 0.1
2438
2438
  }
2439
2439
  ),
@@ -2450,10 +2450,10 @@ function us({
2450
2450
  }) {
2451
2451
  return /* @__PURE__ */ a.jsx(Po, { startDate: t, endDate: n, children: /* @__PURE__ */ a.jsx(Er, { children: e }) });
2452
2452
  }
2453
- const Pr = D.div`
2453
+ const Pr = I.div`
2454
2454
  display: flex;
2455
2455
  align-items: center;
2456
- `, Tr = D.p`
2456
+ `, Tr = I.p`
2457
2457
  margin: 0;
2458
2458
  padding: 0;
2459
2459
  font-variant-numeric: tabular-nums;
@@ -2461,11 +2461,11 @@ const Pr = D.div`
2461
2461
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
2462
2462
  "Helvetica Neue", Arial, sans-serif;
2463
2463
  font-weight: 500;
2464
- `, Rr = D(Tr)`
2464
+ `, Rr = I(Tr)`
2465
2465
  margin-right: 0.5rem;
2466
- `, jr = D(Tr)`
2466
+ `, jr = I(Tr)`
2467
2467
  margin-left: 0.5rem;
2468
- `, Lr = D.p`
2468
+ `, Lr = I.p`
2469
2469
  margin: 0;
2470
2470
  padding: 0;
2471
2471
  font-size: 0.8125rem;
@@ -2478,10 +2478,10 @@ const Pr = D.div`
2478
2478
  }
2479
2479
  `;
2480
2480
  function ds() {
2481
- const [e, t] = Y(0), [n, r] = Y(0), i = m((d) => d.isPlaying), s = U((d) => d.delay), l = U((d) => d.startTime), c = U((d) => d.endTime), u = z(() => {
2481
+ const [e, t] = Y(0), [n, r] = Y(0), i = m((f) => f.isPlaying), s = W((f) => f.delay), l = W((f) => f.startTime), c = W((f) => f.endTime), u = z(() => {
2482
2482
  t(Cr(l, s)), r(kr(l, c));
2483
2483
  }, [s, c, l]);
2484
- return wt(() => u(), i ? 1e3 : null), te(() => {
2484
+ return wt(() => u(), i ? 1e3 : null), J(() => {
2485
2485
  u();
2486
2486
  }, [u]), s ? /* @__PURE__ */ a.jsxs(Pr, { children: [
2487
2487
  /* @__PURE__ */ a.jsx(Rr, { children: Be(e) }),
@@ -2501,47 +2501,47 @@ function fs() {
2501
2501
  );
2502
2502
  }
2503
2503
  function ps() {
2504
- const e = U((r) => r.startTime), t = U((r) => r.setDelay), n = () => t(Sr(e));
2504
+ const e = W((r) => r.startTime), t = W((r) => r.setDelay), n = () => t(Sr(e));
2505
2505
  return /* @__PURE__ */ a.jsx(xe, { onClick: n, children: /* @__PURE__ */ a.jsx(fs, {}) });
2506
2506
  }
2507
2507
  function hs({ url: e, isLive: t }) {
2508
- const n = q(null), r = m((T) => T.level), i = m((T) => T.levels), s = m((T) => T.setLevel), l = m((T) => T.setLevels), c = m((T) => T.techRef), [u, d] = Y(!1), p = z(
2509
- (T) => {
2510
- if (n.current && (n.current.nextLevel = T, s(null), i)) {
2511
- const E = i.map((v) => ({
2508
+ const n = q(null), r = m((w) => w.level), i = m((w) => w.levels), s = m((w) => w.setLevel), l = m((w) => w.setLevels), c = m((w) => w.techRef), u = m((w) => w.isStarted), [f, p] = Y(!1), h = z(
2509
+ (w) => {
2510
+ if (n.current && (n.current.nextLevel = w, s(null), i)) {
2511
+ const x = i.map((v) => ({
2512
2512
  ...v,
2513
- selected: v.value === T
2513
+ selected: v.value === w
2514
2514
  }));
2515
- l(E);
2515
+ l(x);
2516
2516
  }
2517
2517
  },
2518
2518
  [i, s, l, n]
2519
- ), h = z(() => {
2519
+ ), b = z(() => {
2520
2520
  n.current && (console.log("[Player][HLS] MEDIA_ATTACHED"), n.current.loadSource(e));
2521
- }, [e]), b = z(() => {
2521
+ }, [e]), S = z(() => {
2522
2522
  if (!n.current) return;
2523
- console.log("[Player][HLS] MANIFEST_LOADED"), d(!1);
2524
- const T = n.current.levels, E = n.current.currentLevel, v = n.current.autoLevelEnabled;
2523
+ console.log("[Player][HLS] MANIFEST_LOADED");
2524
+ const w = n.current.levels, x = n.current.currentLevel, v = n.current.autoLevelEnabled;
2525
2525
  l(
2526
2526
  cs({
2527
- levels: T.map((w, y) => {
2528
- const { bitrate: I, height: k, width: S } = w;
2527
+ levels: w.map((y, _) => {
2528
+ const { bitrate: E, height: C, width: B } = y;
2529
2529
  return {
2530
- bitrate: I,
2531
- height: k,
2532
- index: y,
2533
- width: S
2530
+ bitrate: E,
2531
+ height: C,
2532
+ index: _,
2533
+ width: B
2534
2534
  };
2535
2535
  }),
2536
- level: E,
2536
+ level: x,
2537
2537
  isAuto: v
2538
2538
  })
2539
2539
  );
2540
- }, [l]), x = z(
2541
- (T, E) => {
2542
- console.error("[Player][HLS] ERROR", T, E), u ? console.error("[Player][HLS] Stream failed and retry limit reached") : (console.log(
2540
+ }, [l]), T = z(
2541
+ (w, x) => {
2542
+ console.error("[Player][HLS] ERROR", w, x), f ? console.error("[Player][HLS] Stream failed and retry limit reached") : (console.log(
2543
2543
  "[Player][HLS] Stream failed, attempting failover retry..."
2544
- ), d(!0), setTimeout(() => {
2544
+ ), p(!0), setTimeout(() => {
2545
2545
  if (n.current && c.current)
2546
2546
  try {
2547
2547
  console.log("[Player][HLS] Retrying stream..."), n.current.loadSource(e);
@@ -2550,8 +2550,8 @@ function hs({ url: e, isLive: t }) {
2550
2550
  }
2551
2551
  }, 1e3));
2552
2552
  },
2553
- [u, e, c]
2554
- ), R = z(() => {
2553
+ [f, e, c]
2554
+ ), j = z(() => {
2555
2555
  if (!c.current) return;
2556
2556
  const v = t ? {
2557
2557
  backBufferLength: 10,
@@ -2561,41 +2561,43 @@ function hs({ url: e, isLive: t }) {
2561
2561
  startLevel: -1
2562
2562
  };
2563
2563
  try {
2564
- console.log("[Player][HLS] URL", e), console.log("[Player][HLS] Config", JSON.stringify(v)), console.log("[Player][HLS] Version", he.version), n.current = new he(v), n.current.attachMedia(c.current), n.current.on(he.Events.MEDIA_ATTACHED, h), n.current.on(he.Events.MANIFEST_LOADED, b), n.current.on(he.Events.ERROR, x);
2565
- } catch (w) {
2566
- throw new Error(`Error initializing Hls: ${w}`);
2564
+ console.log("[Player][HLS] URL", e), console.log("[Player][HLS] Config", JSON.stringify(v)), console.log("[Player][HLS] Version", he.version), n.current = new he(v), n.current.attachMedia(c.current), n.current.on(he.Events.MEDIA_ATTACHED, b), n.current.on(he.Events.MANIFEST_LOADED, S), n.current.on(he.Events.ERROR, T);
2565
+ } catch (y) {
2566
+ throw new Error(`Error initializing Hls: ${y}`);
2567
2567
  }
2568
2568
  }, [
2569
+ S,
2569
2570
  b,
2570
- h,
2571
- x,
2571
+ T,
2572
2572
  t,
2573
2573
  c,
2574
2574
  e
2575
- ]), L = z(() => {
2576
- n.current && (n.current.off(he.Events.MEDIA_ATTACHED, h), n.current.off(he.Events.MANIFEST_LOADED, b), n.current.off(he.Events.ERROR, x), n.current.destroy(), n.current = null), d(!1);
2577
- }, [b, h, x]);
2578
- return te(() => {
2579
- r !== null && p(r);
2580
- }, [r, p]), te(() => (he.isSupported() && R(), L), [L, R]), null;
2575
+ ]), V = z(() => {
2576
+ n.current && (n.current.off(he.Events.MEDIA_ATTACHED, b), n.current.off(he.Events.MANIFEST_LOADED, S), n.current.off(he.Events.ERROR, T), n.current.destroy(), n.current = null), p(!1);
2577
+ }, [S, b, T]);
2578
+ return J(() => {
2579
+ r !== null && h(r);
2580
+ }, [r, h]), J(() => {
2581
+ u && p(!1);
2582
+ }, [u]), J(() => (he.isSupported() && j(), V), [V, j]), null;
2581
2583
  }
2582
2584
  function _r({ url: e, isLive: t, isMuted: n = !1 }) {
2583
- const r = m((y) => y.handleDurationChange), i = m((y) => y.handleEnd), s = m((y) => y.handleLoadedMetadata), l = m((y) => y.handleLoadStart), c = m((y) => y.handlePause), u = m((y) => y.handlePlay), d = m((y) => y.handlePlaying), p = m((y) => y.handleSeeked), h = m((y) => y.handleSeeking), b = m((y) => y.handleTimeUpdate), x = m((y) => y.handleWaiting), R = m((y) => y.techRef), L = q(null), T = (y) => {
2585
+ const r = m((y) => y.handleDurationChange), i = m((y) => y.handleEnd), s = m((y) => y.handleLoadedMetadata), l = m((y) => y.handleLoadStart), c = m((y) => y.handlePause), u = m((y) => y.handlePlay), f = m((y) => y.handlePlaying), p = m((y) => y.handleSeeked), h = m((y) => y.handleSeeking), b = m((y) => y.handleTimeUpdate), S = m((y) => y.handleWaiting), T = m((y) => y.techRef), j = q(null), V = (y) => {
2584
2586
  console.error("[Player][Native] ERROR", y);
2585
- }, E = () => t ? {} : {
2587
+ }, w = () => t ? {} : {
2586
2588
  onDurationChange: r,
2587
2589
  onSeeked: p,
2588
2590
  onSeeking: h,
2589
- onTimeUpdate: v
2590
- }, v = () => {
2591
- (!L.current || Date.now() - L.current >= 1e3) && (b(), L.current = Date.now());
2592
- }, w = E();
2591
+ onTimeUpdate: x
2592
+ }, x = () => {
2593
+ (!j.current || Date.now() - j.current >= 1e3) && (b(), j.current = Date.now());
2594
+ }, v = w();
2593
2595
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2594
2596
  /* @__PURE__ */ a.jsx(hs, { isLive: t, url: e }),
2595
2597
  /* @__PURE__ */ a.jsx(
2596
2598
  ms,
2597
2599
  {
2598
- ref: R,
2600
+ ref: T,
2599
2601
  playsInline: !0,
2600
2602
  autoPlay: !0,
2601
2603
  controls: !1,
@@ -2603,20 +2605,20 @@ function _r({ url: e, isLive: t, isMuted: n = !1 }) {
2603
2605
  preload: "auto",
2604
2606
  crossOrigin: "anonymous",
2605
2607
  onEnded: i,
2606
- onError: T,
2608
+ onError: V,
2607
2609
  onLoadedMetadata: s,
2608
2610
  onLoadStart: l,
2609
2611
  onPause: c,
2610
2612
  onPlay: u,
2611
- onPlaying: d,
2612
- onWaiting: x,
2613
+ onPlaying: f,
2614
+ onWaiting: S,
2613
2615
  tabIndex: -1,
2614
- ...w
2616
+ ...v
2615
2617
  }
2616
2618
  )
2617
2619
  ] });
2618
2620
  }
2619
- const ms = D.video`
2621
+ const ms = I.video`
2620
2622
  position: relative;
2621
2623
  width: 100%;
2622
2624
  height: 100%;
@@ -2626,7 +2628,7 @@ const ms = D.video`
2626
2628
  }
2627
2629
  `;
2628
2630
  function gs({ url: e }) {
2629
- const [t, n] = Y(null), r = U((s) => s.delay), i = z(async () => {
2631
+ const [t, n] = Y(null), r = W((s) => s.delay), i = z(async () => {
2630
2632
  n(
2631
2633
  r ? e.replace(
2632
2634
  "playlist.m3u8",
@@ -2634,11 +2636,11 @@ function gs({ url: e }) {
2634
2636
  ) : e
2635
2637
  );
2636
2638
  }, [r, e]);
2637
- return te(() => {
2639
+ return J(() => {
2638
2640
  i();
2639
2641
  }, [i]), t ? /* @__PURE__ */ a.jsx(_r, { url: t, isLive: !0 }) : null;
2640
2642
  }
2641
- const Ir = D.div`
2643
+ const Ir = I.div`
2642
2644
  position: absolute;
2643
2645
  top: 0;
2644
2646
  left: 0;
@@ -2647,7 +2649,7 @@ const Ir = D.div`
2647
2649
  color: white;
2648
2650
  background: black;
2649
2651
  overflow: hidden;
2650
- `, Dr = D.div`
2652
+ `, Dr = I.div`
2651
2653
  position: absolute;
2652
2654
  left: 0;
2653
2655
  width: 100%;
@@ -2659,7 +2661,7 @@ const Ir = D.div`
2659
2661
  @media (min-width: 768px) {
2660
2662
  padding-top: 2rem;
2661
2663
  }
2662
- `, Ar = D.div`
2664
+ `, Ar = I.div`
2663
2665
  display: flex;
2664
2666
  flex-direction: column;
2665
2667
  padding-left: 0.5rem;
@@ -2671,19 +2673,19 @@ const Ir = D.div`
2671
2673
  padding-left: 1rem;
2672
2674
  padding-right: 1rem;
2673
2675
  }
2674
- `, Or = D.div`
2676
+ `, Or = I.div`
2675
2677
  display: flex;
2676
2678
  padding: 0.5rem 0;
2677
2679
  width: 100%;
2678
2680
  align-items: center;
2679
- `, Fr = D.div`
2681
+ `, Fr = I.div`
2680
2682
  display: flex;
2681
2683
  flex: 1;
2682
2684
  align-items: center;
2683
2685
  gap: 0.5rem;
2684
- `, Mr = D(Fr)`
2686
+ `, Mr = I(Fr)`
2685
2687
  justify-content: flex-start;
2686
- `, Vr = D(Fr)`
2688
+ `, Vr = I(Fr)`
2687
2689
  justify-content: flex-end;
2688
2690
  `;
2689
2691
  function ys() {
@@ -2709,45 +2711,45 @@ function vs() {
2709
2711
  );
2710
2712
  }
2711
2713
  function Nr() {
2712
- 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), s = m((d) => d.setIsFullscreenReady), l = m((d) => d.techRef), c = z(
2713
- (d) => {
2714
- d.stopPropagation(), i(Bi());
2714
+ const e = m((f) => f.containerRef), t = m((f) => f.exitFullscreen), n = m((f) => f.isFullscreen), r = m((f) => f.requestFullscreen), i = m((f) => f.setIsFullscreen), s = m((f) => f.setIsFullscreenReady), l = m((f) => f.techRef), c = z(
2715
+ (f) => {
2716
+ f.stopPropagation(), i(Bi());
2715
2717
  },
2716
2718
  [i]
2717
2719
  ), u = () => {
2718
2720
  n ? t() : r();
2719
2721
  };
2720
- return te(() => {
2721
- const d = gr ? l.current : e.current;
2722
- if (d)
2723
- return Yi(d, c);
2724
- }, [e, c, l]), te(() => {
2722
+ return J(() => {
2723
+ const f = gr ? l.current : e.current;
2724
+ if (f)
2725
+ return Yi(f, c);
2726
+ }, [e, c, l]), J(() => {
2725
2727
  s(!0);
2726
2728
  }, [s]), /* @__PURE__ */ a.jsx(xe, { onClick: u, children: n ? /* @__PURE__ */ a.jsx(vs, {}) : /* @__PURE__ */ a.jsx(ys, {}) });
2727
2729
  }
2728
2730
  const ws = 5 * 1e3;
2729
2731
  function Hr({ children: e }) {
2730
- const t = q(null), [n, r] = Y(!1), i = q(null), l = m((d) => d.idleLocks).size, c = z(() => {
2732
+ const t = q(null), [n, r] = Y(!1), i = q(null), l = m((f) => f.idleLocks).size, c = z(() => {
2731
2733
  i.current !== null && (window.clearTimeout(i.current), i.current = null);
2732
2734
  }, []), u = z(() => {
2733
2735
  c(), i.current = window.setTimeout(() => r(!0), ws);
2734
2736
  }, [c]);
2735
- return te(() => (r(!1), u(), () => {
2737
+ return J(() => (r(!1), u(), () => {
2736
2738
  c();
2737
- }), [c, u]), te(() => {
2738
- const d = t.current;
2739
- if (!d) return;
2739
+ }), [c, u]), J(() => {
2740
+ const f = t.current;
2741
+ if (!f) return;
2740
2742
  const p = (b) => {
2741
2743
  n && (b.stopPropagation(), r(!1), u());
2742
2744
  }, h = () => {
2743
2745
  n && r(!1), u();
2744
2746
  };
2745
- return d.addEventListener("click", p), d.addEventListener("mousemove", h), () => {
2746
- d.removeEventListener("click", p), d.removeEventListener("mousemove", h);
2747
+ return f.addEventListener("click", p), f.addEventListener("mousemove", h), () => {
2748
+ f.removeEventListener("click", p), f.removeEventListener("mousemove", h);
2747
2749
  };
2748
2750
  }, [t, n, r, u]), /* @__PURE__ */ a.jsx(bs, { ref: t, $isIdle: n && !l, children: e });
2749
2751
  }
2750
- const bs = D.div`
2752
+ const bs = I.div`
2751
2753
  position: absolute;
2752
2754
  top: 0;
2753
2755
  left: 0;
@@ -2767,7 +2769,7 @@ const Ss = Ii`
2767
2769
  to {
2768
2770
  transform: rotate(360deg);
2769
2771
  }
2770
- `, Cs = D.div`
2772
+ `, Cs = I.div`
2771
2773
  width: 1.5rem;
2772
2774
  height: 1.5rem;
2773
2775
  border: 2px solid white;
@@ -2777,7 +2779,7 @@ const Ss = Ii`
2777
2779
  `;
2778
2780
  function ks(e, t = 500) {
2779
2781
  const [n, r] = Y(e);
2780
- return te(() => {
2782
+ return J(() => {
2781
2783
  const i = window.setTimeout(() => r(e), t);
2782
2784
  return () => {
2783
2785
  window.clearTimeout(i);
@@ -2788,7 +2790,7 @@ function $r({ style: e, ...t }) {
2788
2790
  const n = m((i) => i.isLoading);
2789
2791
  return ks(n, 100) ? /* @__PURE__ */ a.jsx(Es, { style: e, ...t, children: /* @__PURE__ */ a.jsx(xs, {}) }) : null;
2790
2792
  }
2791
- const Es = D.div`
2793
+ const Es = I.div`
2792
2794
  pointer-events: none;
2793
2795
  position: absolute;
2794
2796
  top: 0;
@@ -2837,7 +2839,7 @@ const Rs = Qe.Root, js = Qe.Trigger, Ls = Qe.Portal, zr = yt(({ sideOffset: e =
2837
2839
  zr.displayName = "PlayerDropdownMenuContent";
2838
2840
  const Br = yt((e, t) => /* @__PURE__ */ a.jsx(Is, { ref: t, ...e }));
2839
2841
  Br.displayName = "PlayerDropdownMenuItem";
2840
- const _s = D(Qe.Content).withConfig({
2842
+ const _s = I(Qe.Content).withConfig({
2841
2843
  shouldForwardProp: (e) => e !== "ref"
2842
2844
  })`
2843
2845
  padding: 0.25rem;
@@ -2914,7 +2916,7 @@ const _s = D(Qe.Content).withConfig({
2914
2916
  transform: translateX(0);
2915
2917
  }
2916
2918
  }
2917
- `, Is = D(Qe.Item)`
2919
+ `, Is = I(Qe.Item)`
2918
2920
  position: relative;
2919
2921
  display: flex;
2920
2922
  align-items: center;
@@ -3027,11 +3029,11 @@ function Wr() {
3027
3029
  ) })
3028
3030
  ] });
3029
3031
  }
3030
- const Yr = D.div`
3032
+ const Yr = I.div`
3031
3033
  width: 0;
3032
3034
  opacity: 0;
3033
3035
  transition: all 0.2s ease-in-out;
3034
- `, Fs = D.div`
3036
+ `, Fs = I.div`
3035
3037
  display: flex;
3036
3038
  align-items: center;
3037
3039
  gap: 0.25rem;
@@ -3107,36 +3109,36 @@ function Ns() {
3107
3109
  }
3108
3110
  const Vn = "vod-player-progress-bar";
3109
3111
  function Hs() {
3110
- const e = q(null), t = q(null), [n, r] = Y(!1), [i, s] = Y(-1), [l, c] = Y(-1), u = m((w) => w.currentTime), d = m((w) => w.duration), p = m((w) => w.seek), h = m((w) => w.addIdleLock), b = m((w) => w.removeIdleLock), x = parseFloat(
3111
- (d ? (l !== -1 ? l : u) / d * 100 : 0).toFixed(1)
3112
- ), R = (w) => {
3113
- c(d * (w[0] / 100)), h(Vn);
3114
- }, L = () => {
3112
+ const e = q(null), t = q(null), [n, r] = Y(!1), [i, s] = Y(-1), [l, c] = Y(-1), u = m((v) => v.currentTime), f = m((v) => v.duration), p = m((v) => v.seek), h = m((v) => v.addIdleLock), b = m((v) => v.removeIdleLock), S = parseFloat(
3113
+ (f ? (l !== -1 ? l : u) / f * 100 : 0).toFixed(1)
3114
+ ), T = (v) => {
3115
+ c(f * (v[0] / 100)), h(Vn);
3116
+ }, j = () => {
3115
3117
  l !== -1 && (p(l), c(-1), b(Vn));
3116
- }, T = () => r(!0), E = () => r(!1), v = z(
3117
- (w) => {
3118
- const y = e.current, I = t.current;
3119
- if (y && I) {
3120
- const k = gt(y), S = gt(I), W = (w.pageX || w.clientX) - k.left, J = W / k.width;
3121
- if (J < 0) return;
3122
- let A = W - S.width / 2;
3123
- A < 0 && (A = 0), A > k.width - S.width && (A = -1), I.style.left = A > -1 ? `${A}px` : "auto", I.style.right = A > -1 ? "auto" : "0px", s(J * d);
3118
+ }, V = () => r(!0), w = () => r(!1), x = z(
3119
+ (v) => {
3120
+ const y = e.current, _ = t.current;
3121
+ if (y && _) {
3122
+ const E = gt(y), C = gt(_), B = (v.pageX || v.clientX) - E.left, K = B / E.width;
3123
+ if (K < 0) return;
3124
+ let D = B - C.width / 2;
3125
+ D < 0 && (D = 0), D > E.width - C.width && (D = -1), _.style.left = D > -1 ? `${D}px` : "auto", _.style.right = D > -1 ? "auto" : "0px", s(K * f);
3124
3126
  }
3125
- T();
3127
+ V();
3126
3128
  },
3127
- [d]
3129
+ [f]
3128
3130
  );
3129
3131
  return /* @__PURE__ */ a.jsxs(wr, { children: [
3130
3132
  /* @__PURE__ */ a.jsx(
3131
3133
  Pt,
3132
3134
  {
3133
3135
  ref: e,
3134
- value: [x],
3135
- onPointerLeave: E,
3136
- onPointerDown: E,
3137
- onPointerMove: v,
3138
- onValueChange: R,
3139
- onValueCommit: L,
3136
+ value: [S],
3137
+ onPointerLeave: w,
3138
+ onPointerDown: w,
3139
+ onPointerMove: x,
3140
+ onValueChange: T,
3141
+ onValueCommit: j,
3140
3142
  step: 0.1
3141
3143
  }
3142
3144
  ),
@@ -3173,14 +3175,14 @@ function Us({ storageKey: e }) {
3173
3175
  return { startTime: null, progress: null };
3174
3176
  }, [e]), u = z(() => {
3175
3177
  t < zs || l();
3176
- }, [t, l]), d = z(() => {
3178
+ }, [t, l]), f = z(() => {
3177
3179
  if (s.current) return;
3178
3180
  const { progress: p, startTime: h } = c();
3179
3181
  h && p && p < Bs && (i(h), s.current = !0);
3180
3182
  }, [c, i]);
3181
- return wt(() => u(), r ? 1e3 : null), te(() => {
3182
- d();
3183
- }, [d]), null;
3183
+ return wt(() => u(), r ? 1e3 : null), J(() => {
3184
+ f();
3185
+ }, [f]), null;
3184
3186
  }
3185
3187
  function Xs({ url: e, watchHistory: t }) {
3186
3188
  return /* @__PURE__ */ a.jsxs(Er, { children: [