@devix-technologies/react-gjirafa-vp-player 1.0.31-beta.8 → 1.0.31-beta.9

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,6 +1,6 @@
1
- import * as ne from "react";
1
+ import * as oe from "react";
2
2
  import hr, { forwardRef as rr, useContext as gr, useState as Te, useEffect as Fe, useRef as xe, useId as mr, useMemo as je, useImperativeHandle as yr } from "react";
3
- var Pe = { exports: {} }, pe = {};
3
+ var we = { exports: {} }, pe = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.js
@@ -10,17 +10,17 @@ var Pe = { exports: {} }, pe = {};
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- var De;
13
+ var Ue;
14
14
  function vr() {
15
- if (De) return pe;
16
- De = 1;
15
+ if (Ue) return pe;
16
+ Ue = 1;
17
17
  var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
18
18
  function t(a, o, s) {
19
19
  var f = null;
20
20
  if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
21
21
  s = {};
22
- for (var d in o)
23
- d !== "key" && (s[d] = o[d]);
22
+ for (var p in o)
23
+ p !== "key" && (s[p] = o[p]);
24
24
  } else s = o;
25
25
  return o = s.ref, {
26
26
  $$typeof: e,
@@ -48,20 +48,20 @@ function br() {
48
48
  function e(i) {
49
49
  if (i == null) return null;
50
50
  if (typeof i == "function")
51
- return i.$$typeof === F ? null : i.displayName || i.name || null;
51
+ return i.$$typeof === N ? null : i.displayName || i.name || null;
52
52
  if (typeof i == "string") return i;
53
53
  switch (i) {
54
- case x:
54
+ case w:
55
55
  return "Fragment";
56
56
  case _:
57
57
  return "Profiler";
58
- case w:
58
+ case k:
59
59
  return "StrictMode";
60
- case j:
60
+ case M:
61
61
  return "Suspense";
62
- case b:
62
+ case x:
63
63
  return "SuspenseList";
64
- case G:
64
+ case B:
65
65
  return "Activity";
66
66
  }
67
67
  if (typeof i == "object")
@@ -70,14 +70,14 @@ function br() {
70
70
  ), i.$$typeof) {
71
71
  case v:
72
72
  return "Portal";
73
- case L:
73
+ case V:
74
74
  return i.displayName || "Context";
75
- case C:
75
+ case j:
76
76
  return (i._context.displayName || "Context") + ".Consumer";
77
77
  case I:
78
78
  var n = i.render;
79
79
  return i = i.displayName, i || (i = n.displayName || n.name || "", i = i !== "" ? "ForwardRef(" + i + ")" : "ForwardRef"), i;
80
- case K:
80
+ case ee:
81
81
  return n = i.displayName || null, n !== null ? n : e(i.type) || "Memo";
82
82
  case W:
83
83
  n = i._payload, i = i._init;
@@ -100,16 +100,16 @@ function br() {
100
100
  }
101
101
  if (n) {
102
102
  n = console;
103
- var c = n.error, p = typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object";
103
+ var c = n.error, d = typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object";
104
104
  return c.call(
105
105
  n,
106
106
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
107
- p
107
+ d
108
108
  ), r(i);
109
109
  }
110
110
  }
111
111
  function a(i) {
112
- if (i === x) return "<>";
112
+ if (i === w) return "<>";
113
113
  if (typeof i == "object" && i !== null && i.$$typeof === W)
114
114
  return "<...>";
115
115
  try {
@@ -133,9 +133,9 @@ function br() {
133
133
  }
134
134
  return i.key !== void 0;
135
135
  }
136
- function d(i, n) {
136
+ function p(i, n) {
137
137
  function c() {
138
- re || (re = !0, console.error(
138
+ te || (te = !0, console.error(
139
139
  "%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://react.dev/link/special-props)",
140
140
  n
141
141
  ));
@@ -147,18 +147,18 @@ function br() {
147
147
  }
148
148
  function P() {
149
149
  var i = e(this.type);
150
- return B[i] || (B[i] = !0, console.error(
150
+ return X[i] || (X[i] = !0, console.error(
151
151
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
152
152
  )), i = this.props.ref, i !== void 0 ? i : null;
153
153
  }
154
- function m(i, n, c, p, S, T) {
154
+ function m(i, n, c, d, S, $) {
155
155
  var l = c.ref;
156
156
  return i = {
157
- $$typeof: $,
157
+ $$typeof: A,
158
158
  type: i,
159
159
  key: n,
160
160
  props: c,
161
- _owner: p
161
+ _owner: d
162
162
  }, (l !== void 0 ? l : null) !== null ? Object.defineProperty(i, "ref", {
163
163
  enumerable: !1,
164
164
  get: P
@@ -181,16 +181,16 @@ function br() {
181
181
  configurable: !1,
182
182
  enumerable: !1,
183
183
  writable: !0,
184
- value: T
184
+ value: $
185
185
  }), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
186
186
  }
187
- function g(i, n, c, p, S, T) {
187
+ function g(i, n, c, d, S, $) {
188
188
  var l = n.children;
189
189
  if (l !== void 0)
190
- if (p)
191
- if (ee(l)) {
192
- for (p = 0; p < l.length; p++)
193
- y(l[p]);
190
+ if (d)
191
+ if (re(l)) {
192
+ for (d = 0; d < l.length; d++)
193
+ y(l[d]);
194
194
  Object.freeze && Object.freeze(l);
195
195
  } else
196
196
  console.error(
@@ -199,28 +199,28 @@ function br() {
199
199
  else y(l);
200
200
  if (Y.call(n, "key")) {
201
201
  l = e(i);
202
- var u = Object.keys(n).filter(function(N) {
203
- return N !== "key";
202
+ var u = Object.keys(n).filter(function(C) {
203
+ return C !== "key";
204
204
  });
205
- p = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", fe[l + p] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
205
+ d = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", de[l + d] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
206
206
  `A props object containing a "key" prop is being spread into JSX:
207
207
  let props = %s;
208
208
  <%s {...props} />
209
209
  React keys must be passed directly to JSX without using spread:
210
210
  let props = %s;
211
211
  <%s key={someKey} {...props} />`,
212
- p,
212
+ d,
213
213
  l,
214
214
  u,
215
215
  l
216
- ), fe[l + p] = !0);
216
+ ), de[l + d] = !0);
217
217
  }
218
218
  if (l = null, c !== void 0 && (t(c), l = "" + c), f(n) && (t(n.key), l = "" + n.key), "key" in n) {
219
219
  c = {};
220
- for (var k in n)
221
- k !== "key" && (c[k] = n[k]);
220
+ for (var b in n)
221
+ b !== "key" && (c[b] = n[b]);
222
222
  } else c = n;
223
- return l && d(
223
+ return l && p(
224
224
  c,
225
225
  typeof i == "function" ? i.displayName || i.name || "Unknown" : i
226
226
  ), m(
@@ -229,55 +229,55 @@ React keys must be passed directly to JSX without using spread:
229
229
  c,
230
230
  o(),
231
231
  S,
232
- T
232
+ $
233
233
  );
234
234
  }
235
235
  function y(i) {
236
236
  O(i) ? i._store && (i._store.validated = 1) : typeof i == "object" && i !== null && i.$$typeof === W && (i._payload.status === "fulfilled" ? O(i._payload.value) && i._payload.value._store && (i._payload.value._store.validated = 1) : i._store && (i._store.validated = 1));
237
237
  }
238
238
  function O(i) {
239
- return typeof i == "object" && i !== null && i.$$typeof === $;
239
+ return typeof i == "object" && i !== null && i.$$typeof === A;
240
240
  }
241
- var A = hr, $ = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), L = Symbol.for("react.context"), I = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), K = Symbol.for("react.memo"), W = Symbol.for("react.lazy"), G = Symbol.for("react.activity"), F = Symbol.for("react.client.reference"), h = A.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, ee = Array.isArray, z = console.createTask ? console.createTask : function() {
241
+ var T = hr, A = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), V = Symbol.for("react.context"), I = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), ee = Symbol.for("react.memo"), W = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), h = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, re = Array.isArray, z = console.createTask ? console.createTask : function() {
242
242
  return null;
243
243
  };
244
- A = {
244
+ T = {
245
245
  react_stack_bottom_frame: function(i) {
246
246
  return i();
247
247
  }
248
248
  };
249
- var re, B = {}, te = A.react_stack_bottom_frame.bind(
250
- A,
249
+ var te, X = {}, ne = T.react_stack_bottom_frame.bind(
250
+ T,
251
251
  s
252
- )(), q = z(a(s)), fe = {};
253
- he.Fragment = x, he.jsx = function(i, n, c) {
254
- var p = 1e4 > h.recentlyCreatedOwnerStacks++;
252
+ )(), q = z(a(s)), de = {};
253
+ he.Fragment = w, he.jsx = function(i, n, c) {
254
+ var d = 1e4 > h.recentlyCreatedOwnerStacks++;
255
255
  return g(
256
256
  i,
257
257
  n,
258
258
  c,
259
259
  !1,
260
- p ? Error("react-stack-top-frame") : te,
261
- p ? z(a(i)) : q
260
+ d ? Error("react-stack-top-frame") : ne,
261
+ d ? z(a(i)) : q
262
262
  );
263
263
  }, he.jsxs = function(i, n, c) {
264
- var p = 1e4 > h.recentlyCreatedOwnerStacks++;
264
+ var d = 1e4 > h.recentlyCreatedOwnerStacks++;
265
265
  return g(
266
266
  i,
267
267
  n,
268
268
  c,
269
269
  !0,
270
- p ? Error("react-stack-top-frame") : te,
271
- p ? z(a(i)) : q
270
+ d ? Error("react-stack-top-frame") : ne,
271
+ d ? z(a(i)) : q
272
272
  );
273
273
  };
274
274
  })()), he;
275
275
  }
276
276
  var Ye;
277
277
  function xr() {
278
- return Ye || (Ye = 1, process.env.NODE_ENV === "production" ? Pe.exports = vr() : Pe.exports = br()), Pe.exports;
278
+ return Ye || (Ye = 1, process.env.NODE_ENV === "production" ? we.exports = vr() : we.exports = br()), we.exports;
279
279
  }
280
- var V = xr();
280
+ var L = xr();
281
281
  function Ne() {
282
282
  return Ne = Object.assign ? Object.assign.bind() : function(e) {
283
283
  for (var r = 1; r < arguments.length; r++) {
@@ -287,14 +287,14 @@ function Ne() {
287
287
  return e;
288
288
  }, Ne.apply(null, arguments);
289
289
  }
290
- function Pr(e) {
290
+ function wr(e) {
291
291
  if (e.sheet)
292
292
  return e.sheet;
293
293
  for (var r = 0; r < document.styleSheets.length; r++)
294
294
  if (document.styleSheets[r].ownerNode === e)
295
295
  return document.styleSheets[r];
296
296
  }
297
- function wr(e) {
297
+ function Pr(e) {
298
298
  var r = document.createElement("style");
299
299
  return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode("")), r.setAttribute("data-s", ""), r;
300
300
  }
@@ -310,10 +310,10 @@ var kr = /* @__PURE__ */ (function() {
310
310
  return r.hydrate = function(a) {
311
311
  a.forEach(this._insertTag);
312
312
  }, r.insert = function(a) {
313
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(wr(this));
313
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Pr(this));
314
314
  var o = this.tags[this.tags.length - 1];
315
315
  if (this.isSpeedy) {
316
- var s = Pr(o);
316
+ var s = wr(o);
317
317
  try {
318
318
  s.insertRule(a, s.cssRules.length);
319
319
  } catch {
@@ -327,9 +327,9 @@ var kr = /* @__PURE__ */ (function() {
327
327
  return (o = a.parentNode) == null ? void 0 : o.removeChild(a);
328
328
  }), this.tags = [], this.ctr = 0;
329
329
  }, e;
330
- })(), D = "-ms-", Ae = "-moz-", E = "-webkit-", tr = "comm", Ie = "rule", Ue = "decl", Sr = "@import", nr = "@keyframes", Er = "@layer", Rr = Math.abs, $e = String.fromCharCode, _r = Object.assign;
330
+ })(), U = "-ms-", Ae = "-moz-", E = "-webkit-", tr = "comm", Ie = "rule", ze = "decl", Sr = "@import", nr = "@keyframes", Er = "@layer", Rr = Math.abs, $e = String.fromCharCode, _r = Object.assign;
331
331
  function Tr(e, r) {
332
- return U(e, 0) ^ 45 ? (((r << 2 ^ U(e, 0)) << 2 ^ U(e, 1)) << 2 ^ U(e, 2)) << 2 ^ U(e, 3) : 0;
332
+ return D(e, 0) ^ 45 ? (((r << 2 ^ D(e, 0)) << 2 ^ D(e, 1)) << 2 ^ D(e, 2)) << 2 ^ D(e, 3) : 0;
333
333
  }
334
334
  function ar(e) {
335
335
  return e.trim();
@@ -340,51 +340,51 @@ function Ar(e, r) {
340
340
  function R(e, r, t) {
341
341
  return e.replace(r, t);
342
342
  }
343
- function Ve(e, r) {
343
+ function Le(e, r) {
344
344
  return e.indexOf(r);
345
345
  }
346
- function U(e, r) {
346
+ function D(e, r) {
347
347
  return e.charCodeAt(r) | 0;
348
348
  }
349
349
  function me(e, r, t) {
350
350
  return e.slice(r, t);
351
351
  }
352
- function X(e) {
352
+ function Z(e) {
353
353
  return e.length;
354
354
  }
355
- function ze(e) {
355
+ function De(e) {
356
356
  return e.length;
357
357
  }
358
- function we(e, r) {
358
+ function Pe(e, r) {
359
359
  return r.push(e), e;
360
360
  }
361
361
  function $r(e, r) {
362
362
  return e.map(r).join("");
363
363
  }
364
- var Oe = 1, ce = 1, or = 0, H = 0, M = 0, ue = "";
365
- function Ce(e, r, t, a, o, s, f) {
366
- return { value: e, root: r, parent: t, type: a, props: o, children: s, line: Oe, column: ce, length: f, return: "" };
364
+ var Ce = 1, le = 1, or = 0, H = 0, F = 0, fe = "";
365
+ function Oe(e, r, t, a, o, s, f) {
366
+ return { value: e, root: r, parent: t, type: a, props: o, children: s, line: Ce, column: le, length: f, return: "" };
367
367
  }
368
368
  function ge(e, r) {
369
- return _r(Ce("", null, null, "", null, null, 0), e, { length: -e.length }, r);
370
- }
371
- function Or() {
372
- return M;
369
+ return _r(Oe("", null, null, "", null, null, 0), e, { length: -e.length }, r);
373
370
  }
374
371
  function Cr() {
375
- return M = H > 0 ? U(ue, --H) : 0, ce--, M === 10 && (ce = 1, Oe--), M;
372
+ return F;
376
373
  }
377
- function J() {
378
- return M = H < or ? U(ue, H++) : 0, ce++, M === 10 && (ce = 1, Oe++), M;
374
+ function Or() {
375
+ return F = H > 0 ? D(fe, --H) : 0, le--, F === 10 && (le = 1, Ce--), F;
379
376
  }
380
- function Q() {
381
- return U(ue, H);
377
+ function G() {
378
+ return F = H < or ? D(fe, H++) : 0, le++, F === 10 && (le = 1, Ce++), F;
379
+ }
380
+ function K() {
381
+ return D(fe, H);
382
382
  }
383
383
  function Ee() {
384
384
  return H;
385
385
  }
386
386
  function be(e, r) {
387
- return me(ue, e, r);
387
+ return me(fe, e, r);
388
388
  }
389
389
  function ye(e) {
390
390
  switch (e) {
@@ -425,100 +425,100 @@ function ye(e) {
425
425
  return 0;
426
426
  }
427
427
  function ir(e) {
428
- return Oe = ce = 1, or = X(ue = e), H = 0, [];
428
+ return Ce = le = 1, or = Z(fe = e), H = 0, [];
429
429
  }
430
430
  function sr(e) {
431
- return ue = "", e;
431
+ return fe = "", e;
432
432
  }
433
433
  function Re(e) {
434
- return ar(be(H - 1, Le(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
434
+ return ar(be(H - 1, Ve(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
435
435
  }
436
436
  function jr(e) {
437
- for (; (M = Q()) && M < 33; )
438
- J();
439
- return ye(e) > 2 || ye(M) > 3 ? "" : " ";
437
+ for (; (F = K()) && F < 33; )
438
+ G();
439
+ return ye(e) > 2 || ye(F) > 3 ? "" : " ";
440
440
  }
441
441
  function Mr(e, r) {
442
- for (; --r && J() && !(M < 48 || M > 102 || M > 57 && M < 65 || M > 70 && M < 97); )
442
+ for (; --r && G() && !(F < 48 || F > 102 || F > 57 && F < 65 || F > 70 && F < 97); )
443
443
  ;
444
- return be(e, Ee() + (r < 6 && Q() == 32 && J() == 32));
444
+ return be(e, Ee() + (r < 6 && K() == 32 && G() == 32));
445
445
  }
446
- function Le(e) {
447
- for (; J(); )
448
- switch (M) {
446
+ function Ve(e) {
447
+ for (; G(); )
448
+ switch (F) {
449
449
  // ] ) " '
450
450
  case e:
451
451
  return H;
452
452
  // " '
453
453
  case 34:
454
454
  case 39:
455
- e !== 34 && e !== 39 && Le(M);
455
+ e !== 34 && e !== 39 && Ve(F);
456
456
  break;
457
457
  // (
458
458
  case 40:
459
- e === 41 && Le(e);
459
+ e === 41 && Ve(e);
460
460
  break;
461
461
  // \
462
462
  case 92:
463
- J();
463
+ G();
464
464
  break;
465
465
  }
466
466
  return H;
467
467
  }
468
468
  function Fr(e, r) {
469
- for (; J() && e + M !== 57; )
470
- if (e + M === 84 && Q() === 47)
469
+ for (; G() && e + F !== 57; )
470
+ if (e + F === 84 && K() === 47)
471
471
  break;
472
- return "/*" + be(r, H - 1) + "*" + $e(e === 47 ? e : J());
472
+ return "/*" + be(r, H - 1) + "*" + $e(e === 47 ? e : G());
473
473
  }
474
474
  function Nr(e) {
475
- for (; !ye(Q()); )
476
- J();
475
+ for (; !ye(K()); )
476
+ G();
477
477
  return be(e, H);
478
478
  }
479
- function Vr(e) {
479
+ function Lr(e) {
480
480
  return sr(_e("", null, null, null, [""], e = ir(e), 0, [0], e));
481
481
  }
482
- function _e(e, r, t, a, o, s, f, d, P) {
483
- for (var m = 0, g = 0, y = f, O = 0, A = 0, $ = 0, v = 1, x = 1, w = 1, _ = 0, C = "", L = o, I = s, j = a, b = C; x; )
484
- switch ($ = _, _ = J()) {
482
+ function _e(e, r, t, a, o, s, f, p, P) {
483
+ for (var m = 0, g = 0, y = f, O = 0, T = 0, A = 0, v = 1, w = 1, k = 1, _ = 0, j = "", V = o, I = s, M = a, x = j; w; )
484
+ switch (A = _, _ = G()) {
485
485
  // (
486
486
  case 40:
487
- if ($ != 108 && U(b, y - 1) == 58) {
488
- Ve(b += R(Re(_), "&", "&\f"), "&\f") != -1 && (w = -1);
487
+ if (A != 108 && D(x, y - 1) == 58) {
488
+ Le(x += R(Re(_), "&", "&\f"), "&\f") != -1 && (k = -1);
489
489
  break;
490
490
  }
491
491
  // " ' [
492
492
  case 34:
493
493
  case 39:
494
494
  case 91:
495
- b += Re(_);
495
+ x += Re(_);
496
496
  break;
497
497
  // \t \n \r \s
498
498
  case 9:
499
499
  case 10:
500
500
  case 13:
501
501
  case 32:
502
- b += jr($);
502
+ x += jr(A);
503
503
  break;
504
504
  // \
505
505
  case 92:
506
- b += Mr(Ee() - 1, 7);
506
+ x += Mr(Ee() - 1, 7);
507
507
  continue;
508
508
  // /
509
509
  case 47:
510
- switch (Q()) {
510
+ switch (K()) {
511
511
  case 42:
512
512
  case 47:
513
- we(Lr(Fr(J(), Ee()), r, t), P);
513
+ Pe(Vr(Fr(G(), Ee()), r, t), P);
514
514
  break;
515
515
  default:
516
- b += "/";
516
+ x += "/";
517
517
  }
518
518
  break;
519
519
  // {
520
520
  case 123 * v:
521
- d[m++] = X(b) * w;
521
+ p[m++] = Z(x) * k;
522
522
  // } ; \0
523
523
  case 125 * v:
524
524
  case 59:
@@ -527,78 +527,78 @@ function _e(e, r, t, a, o, s, f, d, P) {
527
527
  // \0 }
528
528
  case 0:
529
529
  case 125:
530
- x = 0;
530
+ w = 0;
531
531
  // ;
532
532
  case 59 + g:
533
- w == -1 && (b = R(b, /\f/g, "")), A > 0 && X(b) - y && we(A > 32 ? He(b + ";", a, t, y - 1) : He(R(b, " ", "") + ";", a, t, y - 2), P);
533
+ k == -1 && (x = R(x, /\f/g, "")), T > 0 && Z(x) - y && Pe(T > 32 ? He(x + ";", a, t, y - 1) : He(R(x, " ", "") + ";", a, t, y - 2), P);
534
534
  break;
535
535
  // @ ;
536
536
  case 59:
537
- b += ";";
537
+ x += ";";
538
538
  // { rule/at-rule
539
539
  default:
540
- if (we(j = qe(b, r, t, m, g, o, d, C, L = [], I = [], y), s), _ === 123)
540
+ if (Pe(M = qe(x, r, t, m, g, o, p, j, V = [], I = [], y), s), _ === 123)
541
541
  if (g === 0)
542
- _e(b, r, j, j, L, s, y, d, I);
542
+ _e(x, r, M, M, V, s, y, p, I);
543
543
  else
544
- switch (O === 99 && U(b, 3) === 110 ? 100 : O) {
544
+ switch (O === 99 && D(x, 3) === 110 ? 100 : O) {
545
545
  // d l m s
546
546
  case 100:
547
547
  case 108:
548
548
  case 109:
549
549
  case 115:
550
- _e(e, j, j, a && we(qe(e, j, j, 0, 0, o, d, C, o, L = [], y), I), o, I, y, d, a ? L : I);
550
+ _e(e, M, M, a && Pe(qe(e, M, M, 0, 0, o, p, j, o, V = [], y), I), o, I, y, p, a ? V : I);
551
551
  break;
552
552
  default:
553
- _e(b, j, j, j, [""], I, 0, d, I);
553
+ _e(x, M, M, M, [""], I, 0, p, I);
554
554
  }
555
555
  }
556
- m = g = A = 0, v = w = 1, C = b = "", y = f;
556
+ m = g = T = 0, v = k = 1, j = x = "", y = f;
557
557
  break;
558
558
  // :
559
559
  case 58:
560
- y = 1 + X(b), A = $;
560
+ y = 1 + Z(x), T = A;
561
561
  default:
562
562
  if (v < 1) {
563
563
  if (_ == 123)
564
564
  --v;
565
- else if (_ == 125 && v++ == 0 && Cr() == 125)
565
+ else if (_ == 125 && v++ == 0 && Or() == 125)
566
566
  continue;
567
567
  }
568
- switch (b += $e(_), _ * v) {
568
+ switch (x += $e(_), _ * v) {
569
569
  // &
570
570
  case 38:
571
- w = g > 0 ? 1 : (b += "\f", -1);
571
+ k = g > 0 ? 1 : (x += "\f", -1);
572
572
  break;
573
573
  // ,
574
574
  case 44:
575
- d[m++] = (X(b) - 1) * w, w = 1;
575
+ p[m++] = (Z(x) - 1) * k, k = 1;
576
576
  break;
577
577
  // @
578
578
  case 64:
579
- Q() === 45 && (b += Re(J())), O = Q(), g = y = X(C = b += Nr(Ee())), _++;
579
+ K() === 45 && (x += Re(G())), O = K(), g = y = Z(j = x += Nr(Ee())), _++;
580
580
  break;
581
581
  // -
582
582
  case 45:
583
- $ === 45 && X(b) == 2 && (v = 0);
583
+ A === 45 && Z(x) == 2 && (v = 0);
584
584
  }
585
585
  }
586
586
  return s;
587
587
  }
588
- function qe(e, r, t, a, o, s, f, d, P, m, g) {
589
- for (var y = o - 1, O = o === 0 ? s : [""], A = ze(O), $ = 0, v = 0, x = 0; $ < a; ++$)
590
- for (var w = 0, _ = me(e, y + 1, y = Rr(v = f[$])), C = e; w < A; ++w)
591
- (C = ar(v > 0 ? O[w] + " " + _ : R(_, /&\f/g, O[w]))) && (P[x++] = C);
592
- return Ce(e, r, t, o === 0 ? Ie : d, P, m, g);
588
+ function qe(e, r, t, a, o, s, f, p, P, m, g) {
589
+ for (var y = o - 1, O = o === 0 ? s : [""], T = De(O), A = 0, v = 0, w = 0; A < a; ++A)
590
+ for (var k = 0, _ = me(e, y + 1, y = Rr(v = f[A])), j = e; k < T; ++k)
591
+ (j = ar(v > 0 ? O[k] + " " + _ : R(_, /&\f/g, O[k]))) && (P[w++] = j);
592
+ return Oe(e, r, t, o === 0 ? Ie : p, P, m, g);
593
593
  }
594
- function Lr(e, r, t) {
595
- return Ce(e, r, t, tr, $e(Or()), me(e, 2, -2), 0);
594
+ function Vr(e, r, t) {
595
+ return Oe(e, r, t, tr, $e(Cr()), me(e, 2, -2), 0);
596
596
  }
597
597
  function He(e, r, t, a) {
598
- return Ce(e, r, t, Ue, me(e, 0, a), me(e, a + 1, -1), a);
598
+ return Oe(e, r, t, ze, me(e, 0, a), me(e, a + 1, -1), a);
599
599
  }
600
- function se(e, r) {
601
- for (var t = "", a = ze(e), o = 0; o < a; o++)
600
+ function ce(e, r) {
601
+ for (var t = "", a = De(e), o = 0; o < a; o++)
602
602
  t += r(e[o], o, e, r) || "";
603
603
  return t;
604
604
  }
@@ -607,26 +607,26 @@ function Ir(e, r, t, a) {
607
607
  case Er:
608
608
  if (e.children.length) break;
609
609
  case Sr:
610
- case Ue:
610
+ case ze:
611
611
  return e.return = e.return || e.value;
612
612
  case tr:
613
613
  return "";
614
614
  case nr:
615
- return e.return = e.value + "{" + se(e.children, a) + "}";
615
+ return e.return = e.value + "{" + ce(e.children, a) + "}";
616
616
  case Ie:
617
617
  e.value = e.props.join(",");
618
618
  }
619
- return X(t = se(e.children, a)) ? e.return = e.value + "{" + t + "}" : "";
619
+ return Z(t = ce(e.children, a)) ? e.return = e.value + "{" + t + "}" : "";
620
620
  }
621
- function Ur(e) {
622
- var r = ze(e);
621
+ function zr(e) {
622
+ var r = De(e);
623
623
  return function(t, a, o, s) {
624
- for (var f = "", d = 0; d < r; d++)
625
- f += e[d](t, a, o, s) || "";
624
+ for (var f = "", p = 0; p < r; p++)
625
+ f += e[p](t, a, o, s) || "";
626
626
  return f;
627
627
  };
628
628
  }
629
- function zr(e) {
629
+ function Dr(e) {
630
630
  return function(r) {
631
631
  r.root || (r = r.return) && e(r);
632
632
  };
@@ -637,44 +637,44 @@ function cr(e) {
637
637
  return r[t] === void 0 && (r[t] = e(t)), r[t];
638
638
  };
639
639
  }
640
- var Dr = function(r, t, a) {
641
- for (var o = 0, s = 0; o = s, s = Q(), o === 38 && s === 12 && (t[a] = 1), !ye(s); )
642
- J();
640
+ var Ur = function(r, t, a) {
641
+ for (var o = 0, s = 0; o = s, s = K(), o === 38 && s === 12 && (t[a] = 1), !ye(s); )
642
+ G();
643
643
  return be(r, H);
644
644
  }, Wr = function(r, t) {
645
645
  var a = -1, o = 44;
646
646
  do
647
647
  switch (ye(o)) {
648
648
  case 0:
649
- o === 38 && Q() === 12 && (t[a] = 1), r[a] += Dr(H - 1, t, a);
649
+ o === 38 && K() === 12 && (t[a] = 1), r[a] += Ur(H - 1, t, a);
650
650
  break;
651
651
  case 2:
652
652
  r[a] += Re(o);
653
653
  break;
654
654
  case 4:
655
655
  if (o === 44) {
656
- r[++a] = Q() === 58 ? "&\f" : "", t[a] = r[a].length;
656
+ r[++a] = K() === 58 ? "&\f" : "", t[a] = r[a].length;
657
657
  break;
658
658
  }
659
659
  // fallthrough
660
660
  default:
661
661
  r[a] += $e(o);
662
662
  }
663
- while (o = J());
663
+ while (o = G());
664
664
  return r;
665
665
  }, Yr = function(r, t) {
666
666
  return sr(Wr(ir(r), t));
667
- }, Je = /* @__PURE__ */ new WeakMap(), qr = function(r) {
667
+ }, Ge = /* @__PURE__ */ new WeakMap(), qr = function(r) {
668
668
  if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
669
669
  // negative .length indicates that this rule has been already prefixed
670
670
  r.length < 1)) {
671
671
  for (var t = r.value, a = r.parent, o = r.column === a.column && r.line === a.line; a.type !== "rule"; )
672
672
  if (a = a.parent, !a) return;
673
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Je.get(a)) && !o) {
674
- Je.set(r, !0);
675
- for (var s = [], f = Yr(t, s), d = a.props, P = 0, m = 0; P < f.length; P++)
676
- for (var g = 0; g < d.length; g++, m++)
677
- r.props[m] = s[P] ? f[P].replace(/&\f/g, d[g]) : d[g] + " " + f[P];
673
+ if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Ge.get(a)) && !o) {
674
+ Ge.set(r, !0);
675
+ for (var s = [], f = Yr(t, s), p = a.props, P = 0, m = 0; P < f.length; P++)
676
+ for (var g = 0; g < p.length; g++, m++)
677
+ r.props[m] = s[P] ? f[P].replace(/&\f/g, p[g]) : p[g] + " " + f[P];
678
678
  }
679
679
  }
680
680
  }, Hr = function(r) {
@@ -726,32 +726,32 @@ function lr(e, r) {
726
726
  case 4810:
727
727
  case 6968:
728
728
  case 2756:
729
- return E + e + Ae + e + D + e + e;
729
+ return E + e + Ae + e + U + e + e;
730
730
  // flex, flex-direction
731
731
  case 6828:
732
732
  case 4268:
733
- return E + e + D + e + e;
733
+ return E + e + U + e + e;
734
734
  // order
735
735
  case 6165:
736
- return E + e + D + "flex-" + e + e;
736
+ return E + e + U + "flex-" + e + e;
737
737
  // align-items
738
738
  case 5187:
739
- return E + e + R(e, /(\w+).+(:[^]+)/, E + "box-$1$2" + D + "flex-$1$2") + e;
739
+ return E + e + R(e, /(\w+).+(:[^]+)/, E + "box-$1$2" + U + "flex-$1$2") + e;
740
740
  // align-self
741
741
  case 5443:
742
- return E + e + D + "flex-item-" + R(e, /flex-|-self/, "") + e;
742
+ return E + e + U + "flex-item-" + R(e, /flex-|-self/, "") + e;
743
743
  // align-content
744
744
  case 4675:
745
- return E + e + D + "flex-line-pack" + R(e, /align-content|flex-|-self/, "") + e;
745
+ return E + e + U + "flex-line-pack" + R(e, /align-content|flex-|-self/, "") + e;
746
746
  // flex-shrink
747
747
  case 5548:
748
- return E + e + D + R(e, "shrink", "negative") + e;
748
+ return E + e + U + R(e, "shrink", "negative") + e;
749
749
  // flex-basis
750
750
  case 5292:
751
- return E + e + D + R(e, "basis", "preferred-size") + e;
751
+ return E + e + U + R(e, "basis", "preferred-size") + e;
752
752
  // flex-grow
753
753
  case 6060:
754
- return E + "box-" + R(e, "-grow", "") + E + e + D + R(e, "grow", "positive") + e;
754
+ return E + "box-" + R(e, "-grow", "") + E + e + U + R(e, "grow", "positive") + e;
755
755
  // transition
756
756
  case 4554:
757
757
  return E + R(e, /([^-])(transform)/g, "$1" + E + "$2") + e;
@@ -764,7 +764,7 @@ function lr(e, r) {
764
764
  return R(e, /(image-set\([^]*)/, E + "$1$`$1");
765
765
  // justify-content
766
766
  case 4968:
767
- return R(R(e, /(.+:)(flex-)?(.*)/, E + "box-pack:$3" + D + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + E + e + e;
767
+ return R(R(e, /(.+:)(flex-)?(.*)/, E + "box-pack:$3" + U + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + E + e + e;
768
768
  // (margin|padding)-inline-(start|end)
769
769
  case 4095:
770
770
  case 3583:
@@ -784,56 +784,56 @@ function lr(e, r) {
784
784
  case 5789:
785
785
  case 5021:
786
786
  case 4765:
787
- if (X(e) - 1 - r > 6) switch (U(e, r + 1)) {
787
+ if (Z(e) - 1 - r > 6) switch (D(e, r + 1)) {
788
788
  // (m)ax-content, (m)in-content
789
789
  case 109:
790
- if (U(e, r + 4) !== 45) break;
790
+ if (D(e, r + 4) !== 45) break;
791
791
  // (f)ill-available, (f)it-content
792
792
  case 102:
793
- return R(e, /(.+:)(.+)-([^]+)/, "$1" + E + "$2-$3$1" + Ae + (U(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
793
+ return R(e, /(.+:)(.+)-([^]+)/, "$1" + E + "$2-$3$1" + Ae + (D(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
794
794
  // (s)tretch
795
795
  case 115:
796
- return ~Ve(e, "stretch") ? lr(R(e, "stretch", "fill-available"), r) + e : e;
796
+ return ~Le(e, "stretch") ? lr(R(e, "stretch", "fill-available"), r) + e : e;
797
797
  }
798
798
  break;
799
799
  // position: sticky
800
800
  case 4949:
801
- if (U(e, r + 1) !== 115) break;
801
+ if (D(e, r + 1) !== 115) break;
802
802
  // display: (flex|inline-flex)
803
803
  case 6444:
804
- switch (U(e, X(e) - 3 - (~Ve(e, "!important") && 10))) {
804
+ switch (D(e, Z(e) - 3 - (~Le(e, "!important") && 10))) {
805
805
  // stic(k)y
806
806
  case 107:
807
807
  return R(e, ":", ":" + E) + e;
808
808
  // (inline-)?fl(e)x
809
809
  case 101:
810
- return R(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + E + (U(e, 14) === 45 ? "inline-" : "") + "box$3$1" + E + "$2$3$1" + D + "$2box$3") + e;
810
+ return R(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + E + (D(e, 14) === 45 ? "inline-" : "") + "box$3$1" + E + "$2$3$1" + U + "$2box$3") + e;
811
811
  }
812
812
  break;
813
813
  // writing-mode
814
814
  case 5936:
815
- switch (U(e, r + 11)) {
815
+ switch (D(e, r + 11)) {
816
816
  // vertical-l(r)
817
817
  case 114:
818
- return E + e + D + R(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
818
+ return E + e + U + R(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
819
819
  // vertical-r(l)
820
820
  case 108:
821
- return E + e + D + R(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
821
+ return E + e + U + R(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
822
822
  // horizontal(-)tb
823
823
  case 45:
824
- return E + e + D + R(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
824
+ return E + e + U + R(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
825
825
  }
826
- return E + e + D + e + e;
826
+ return E + e + U + e + e;
827
827
  }
828
828
  return e;
829
829
  }
830
- var Jr = function(r, t, a, o) {
830
+ var Gr = function(r, t, a, o) {
831
831
  if (r.length > -1 && !r.return) switch (r.type) {
832
- case Ue:
832
+ case ze:
833
833
  r.return = lr(r.value, r.length);
834
834
  break;
835
835
  case nr:
836
- return se([ge(r, {
836
+ return ce([ge(r, {
837
837
  value: R(r.value, "@", "@" + E)
838
838
  })], o);
839
839
  case Ie:
@@ -842,54 +842,54 @@ var Jr = function(r, t, a, o) {
842
842
  // :read-(only|write)
843
843
  case ":read-only":
844
844
  case ":read-write":
845
- return se([ge(r, {
845
+ return ce([ge(r, {
846
846
  props: [R(s, /:(read-\w+)/, ":" + Ae + "$1")]
847
847
  })], o);
848
848
  // :placeholder
849
849
  case "::placeholder":
850
- return se([ge(r, {
850
+ return ce([ge(r, {
851
851
  props: [R(s, /:(plac\w+)/, ":" + E + "input-$1")]
852
852
  }), ge(r, {
853
853
  props: [R(s, /:(plac\w+)/, ":" + Ae + "$1")]
854
854
  }), ge(r, {
855
- props: [R(s, /:(plac\w+)/, D + "input-$1")]
855
+ props: [R(s, /:(plac\w+)/, U + "input-$1")]
856
856
  })], o);
857
857
  }
858
858
  return "";
859
859
  });
860
860
  }
861
- }, Gr = [Jr], Br = function(r) {
861
+ }, Br = [Gr], Xr = function(r) {
862
862
  var t = r.key;
863
863
  if (t === "css") {
864
864
  var a = document.querySelectorAll("style[data-emotion]:not([data-s])");
865
865
  Array.prototype.forEach.call(a, function(v) {
866
- var x = v.getAttribute("data-emotion");
867
- x.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
866
+ var w = v.getAttribute("data-emotion");
867
+ w.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
868
868
  });
869
869
  }
870
- var o = r.stylisPlugins || Gr, s = {}, f, d = [];
870
+ var o = r.stylisPlugins || Br, s = {}, f, p = [];
871
871
  f = r.container || document.head, Array.prototype.forEach.call(
872
872
  // this means we will ignore elements which don't have a space in them which
873
873
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
874
874
  document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
875
875
  function(v) {
876
- for (var x = v.getAttribute("data-emotion").split(" "), w = 1; w < x.length; w++)
877
- s[x[w]] = !0;
878
- d.push(v);
876
+ for (var w = v.getAttribute("data-emotion").split(" "), k = 1; k < w.length; k++)
877
+ s[w[k]] = !0;
878
+ p.push(v);
879
879
  }
880
880
  );
881
881
  var P, m = [qr, Hr];
882
882
  {
883
- var g, y = [Ir, zr(function(v) {
883
+ var g, y = [Ir, Dr(function(v) {
884
884
  g.insert(v);
885
- })], O = Ur(m.concat(o, y)), A = function(x) {
886
- return se(Vr(x), O);
885
+ })], O = zr(m.concat(o, y)), T = function(w) {
886
+ return ce(Lr(w), O);
887
887
  };
888
- P = function(x, w, _, C) {
889
- g = _, A(x ? x + "{" + w.styles + "}" : w.styles), C && ($.inserted[w.name] = !0);
888
+ P = function(w, k, _, j) {
889
+ g = _, T(w ? w + "{" + k.styles + "}" : k.styles), j && (A.inserted[k.name] = !0);
890
890
  };
891
891
  }
892
- var $ = {
892
+ var A = {
893
893
  key: t,
894
894
  sheet: new kr({
895
895
  key: t,
@@ -904,8 +904,8 @@ var Jr = function(r, t, a, o) {
904
904
  registered: {},
905
905
  insert: P
906
906
  };
907
- return $.sheet.hydrate(d), $;
908
- }, Xr = !0;
907
+ return A.sheet.hydrate(p), A;
908
+ }, Jr = !0;
909
909
  function Zr(e, r, t) {
910
910
  var a = "";
911
911
  return t.split(" ").forEach(function(o) {
@@ -923,7 +923,7 @@ var ur = function(r, t, a) {
923
923
  // in node since emotion-server relies on whether a style is in
924
924
  // the registered cache to know whether a style is global or not
925
925
  // also, note that this check will be dead code eliminated in the browser
926
- Xr === !1) && r.registered[o] === void 0 && (r.registered[o] = t.styles);
926
+ Jr === !1) && r.registered[o] === void 0 && (r.registered[o] = t.styles);
927
927
  }, Qr = function(r, t, a) {
928
928
  ur(r, t, a);
929
929
  var o = r.key + "-" + t.name;
@@ -1004,20 +1004,20 @@ var et = {
1004
1004
  strokeWidth: 1
1005
1005
  }, rt = /[A-Z]|^ms/g, tt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, fr = function(r) {
1006
1006
  return r.charCodeAt(1) === 45;
1007
- }, Ge = function(r) {
1007
+ }, Be = function(r) {
1008
1008
  return r != null && typeof r != "boolean";
1009
1009
  }, Me = /* @__PURE__ */ cr(function(e) {
1010
1010
  return fr(e) ? e : e.replace(rt, "-$&").toLowerCase();
1011
- }), Be = function(r, t) {
1011
+ }), Xe = function(r, t) {
1012
1012
  switch (r) {
1013
1013
  case "animation":
1014
1014
  case "animationName":
1015
1015
  if (typeof t == "string")
1016
1016
  return t.replace(tt, function(a, o, s) {
1017
- return Z = {
1017
+ return Q = {
1018
1018
  name: o,
1019
1019
  styles: s,
1020
- next: Z
1020
+ next: Q
1021
1021
  }, o;
1022
1022
  });
1023
1023
  }
@@ -1035,30 +1035,30 @@ function ve(e, r, t) {
1035
1035
  case "object": {
1036
1036
  var o = t;
1037
1037
  if (o.anim === 1)
1038
- return Z = {
1038
+ return Q = {
1039
1039
  name: o.name,
1040
1040
  styles: o.styles,
1041
- next: Z
1041
+ next: Q
1042
1042
  }, o.name;
1043
1043
  var s = t;
1044
1044
  if (s.styles !== void 0) {
1045
1045
  var f = s.next;
1046
1046
  if (f !== void 0)
1047
1047
  for (; f !== void 0; )
1048
- Z = {
1048
+ Q = {
1049
1049
  name: f.name,
1050
1050
  styles: f.styles,
1051
- next: Z
1051
+ next: Q
1052
1052
  }, f = f.next;
1053
- var d = s.styles + ";";
1054
- return d;
1053
+ var p = s.styles + ";";
1054
+ return p;
1055
1055
  }
1056
1056
  return nt(e, r, t);
1057
1057
  }
1058
1058
  case "function": {
1059
1059
  if (e !== void 0) {
1060
- var P = Z, m = t(e);
1061
- return Z = P, ve(e, r, m);
1060
+ var P = Q, m = t(e);
1061
+ return Q = P, ve(e, r, m);
1062
1062
  }
1063
1063
  break;
1064
1064
  }
@@ -1078,11 +1078,11 @@ function nt(e, r, t) {
1078
1078
  for (var s in t) {
1079
1079
  var f = t[s];
1080
1080
  if (typeof f != "object") {
1081
- var d = f;
1082
- r != null && r[d] !== void 0 ? a += s + "{" + r[d] + "}" : Ge(d) && (a += Me(s) + ":" + Be(s, d) + ";");
1081
+ var p = f;
1082
+ r != null && r[p] !== void 0 ? a += s + "{" + r[p] + "}" : Be(p) && (a += Me(s) + ":" + Xe(s, p) + ";");
1083
1083
  } else if (Array.isArray(f) && typeof f[0] == "string" && (r == null || r[f[0]] === void 0))
1084
1084
  for (var P = 0; P < f.length; P++)
1085
- Ge(f[P]) && (a += Me(s) + ":" + Be(s, f[P]) + ";");
1085
+ Be(f[P]) && (a += Me(s) + ":" + Xe(s, f[P]) + ";");
1086
1086
  else {
1087
1087
  var m = ve(e, r, f);
1088
1088
  switch (s) {
@@ -1098,12 +1098,12 @@ function nt(e, r, t) {
1098
1098
  }
1099
1099
  return a;
1100
1100
  }
1101
- var Xe = /label:\s*([^\s;{]+)\s*(;|$)/g, Z;
1101
+ var Je = /label:\s*([^\s;{]+)\s*(;|$)/g, Q;
1102
1102
  function at(e, r, t) {
1103
1103
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1104
1104
  return e[0];
1105
1105
  var a = !0, o = "";
1106
- Z = void 0;
1106
+ Q = void 0;
1107
1107
  var s = e[0];
1108
1108
  if (s == null || s.raw === void 0)
1109
1109
  a = !1, o += ve(t, r, s);
@@ -1111,31 +1111,31 @@ function at(e, r, t) {
1111
1111
  var f = s;
1112
1112
  o += f[0];
1113
1113
  }
1114
- for (var d = 1; d < e.length; d++)
1115
- if (o += ve(t, r, e[d]), a) {
1114
+ for (var p = 1; p < e.length; p++)
1115
+ if (o += ve(t, r, e[p]), a) {
1116
1116
  var P = s;
1117
- o += P[d];
1117
+ o += P[p];
1118
1118
  }
1119
- Xe.lastIndex = 0;
1120
- for (var m = "", g; (g = Xe.exec(o)) !== null; )
1119
+ Je.lastIndex = 0;
1120
+ for (var m = "", g; (g = Je.exec(o)) !== null; )
1121
1121
  m += "-" + g[1];
1122
1122
  var y = Kr(o) + m;
1123
1123
  return {
1124
1124
  name: y,
1125
1125
  styles: o,
1126
- next: Z
1126
+ next: Q
1127
1127
  };
1128
1128
  }
1129
1129
  var ot = function(r) {
1130
1130
  return r();
1131
- }, it = ne.useInsertionEffect ? ne.useInsertionEffect : !1, st = it || ot, dr = /* @__PURE__ */ ne.createContext(
1131
+ }, it = oe.useInsertionEffect ? oe.useInsertionEffect : !1, st = it || ot, dr = /* @__PURE__ */ oe.createContext(
1132
1132
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1133
1133
  // because this module is primarily intended for the browser and node
1134
1134
  // but it's also required in react native and similar environments sometimes
1135
1135
  // and we could have a special build just for that
1136
1136
  // but this is much easier and the native packages
1137
1137
  // might use a different theme context in the future anyway
1138
- typeof HTMLElement < "u" ? /* @__PURE__ */ Br({
1138
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Xr({
1139
1139
  key: "css"
1140
1140
  }) : null
1141
1141
  );
@@ -1145,7 +1145,7 @@ var ct = function(r) {
1145
1145
  var o = gr(dr);
1146
1146
  return r(t, o, a);
1147
1147
  });
1148
- }, lt = /* @__PURE__ */ ne.createContext({}), ut = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, ft = /* @__PURE__ */ cr(
1148
+ }, lt = /* @__PURE__ */ oe.createContext({}), ut = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, ft = /* @__PURE__ */ cr(
1149
1149
  function(e) {
1150
1150
  return ut.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
1151
1151
  }
@@ -1174,7 +1174,7 @@ var ct = function(r) {
1174
1174
  }, gt = function e(r, t) {
1175
1175
  var a = r.__emotion_real === r, o = a && r.__emotion_base || r, s, f;
1176
1176
  t !== void 0 && (s = t.label, f = t.target);
1177
- var d = Qe(r, t, a), P = d || Ze(o), m = !P("as");
1177
+ var p = Qe(r, t, a), P = p || Ze(o), m = !P("as");
1178
1178
  return function() {
1179
1179
  var g = arguments, y = a && r.__emotion_styles !== void 0 ? r.__emotion_styles.slice(0) : [];
1180
1180
  if (s !== void 0 && y.push("label:" + s + ";"), g[0] == null || g[0].raw === void 0)
@@ -1182,36 +1182,36 @@ var ct = function(r) {
1182
1182
  else {
1183
1183
  var O = g[0];
1184
1184
  y.push(O[0]);
1185
- for (var A = g.length, $ = 1; $ < A; $++)
1186
- y.push(g[$], O[$]);
1185
+ for (var T = g.length, A = 1; A < T; A++)
1186
+ y.push(g[A], O[A]);
1187
1187
  }
1188
- var v = ct(function(x, w, _) {
1189
- var C = m && x.as || o, L = "", I = [], j = x;
1190
- if (x.theme == null) {
1191
- j = {};
1192
- for (var b in x)
1193
- j[b] = x[b];
1194
- j.theme = ne.useContext(lt);
1188
+ var v = ct(function(w, k, _) {
1189
+ var j = m && w.as || o, V = "", I = [], M = w;
1190
+ if (w.theme == null) {
1191
+ M = {};
1192
+ for (var x in w)
1193
+ M[x] = w[x];
1194
+ M.theme = oe.useContext(lt);
1195
1195
  }
1196
- typeof x.className == "string" ? L = Zr(w.registered, I, x.className) : x.className != null && (L = x.className + " ");
1197
- var K = at(y.concat(I), w.registered, j);
1198
- L += w.key + "-" + K.name, f !== void 0 && (L += " " + f);
1199
- var W = m && d === void 0 ? Ze(C) : P, G = {};
1200
- for (var F in x)
1201
- m && F === "as" || W(F) && (G[F] = x[F]);
1202
- return G.className = L, _ && (G.ref = _), /* @__PURE__ */ ne.createElement(ne.Fragment, null, /* @__PURE__ */ ne.createElement(ht, {
1203
- cache: w,
1204
- serialized: K,
1205
- isStringTag: typeof C == "string"
1206
- }), /* @__PURE__ */ ne.createElement(C, G));
1196
+ typeof w.className == "string" ? V = Zr(k.registered, I, w.className) : w.className != null && (V = w.className + " ");
1197
+ var ee = at(y.concat(I), k.registered, M);
1198
+ V += k.key + "-" + ee.name, f !== void 0 && (V += " " + f);
1199
+ var W = m && p === void 0 ? Ze(j) : P, B = {};
1200
+ for (var N in w)
1201
+ m && N === "as" || W(N) && (B[N] = w[N]);
1202
+ return B.className = V, _ && (B.ref = _), /* @__PURE__ */ oe.createElement(oe.Fragment, null, /* @__PURE__ */ oe.createElement(ht, {
1203
+ cache: k,
1204
+ serialized: ee,
1205
+ isStringTag: typeof j == "string"
1206
+ }), /* @__PURE__ */ oe.createElement(j, B));
1207
1207
  });
1208
- return v.displayName = s !== void 0 ? s : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", v.defaultProps = r.defaultProps, v.__emotion_real = v, v.__emotion_base = o, v.__emotion_styles = y, v.__emotion_forwardProp = d, Object.defineProperty(v, "toString", {
1208
+ return v.displayName = s !== void 0 ? s : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", v.defaultProps = r.defaultProps, v.__emotion_real = v, v.__emotion_base = o, v.__emotion_styles = y, v.__emotion_forwardProp = p, Object.defineProperty(v, "toString", {
1209
1209
  value: function() {
1210
1210
  return "." + f;
1211
1211
  }
1212
- }), v.withComponent = function(x, w) {
1213
- var _ = e(x, Ne({}, t, w, {
1214
- shouldForwardProp: Qe(v, w, !0)
1212
+ }), v.withComponent = function(w, k) {
1213
+ var _ = e(w, Ne({}, t, k, {
1214
+ shouldForwardProp: Qe(v, k, !0)
1215
1215
  }));
1216
1216
  return _.apply(void 0, y);
1217
1217
  }, v;
@@ -1352,11 +1352,11 @@ var ct = function(r) {
1352
1352
  "svg",
1353
1353
  "text",
1354
1354
  "tspan"
1355
- ], le = gt.bind(null);
1355
+ ], ue = gt.bind(null);
1356
1356
  mt.forEach(function(e) {
1357
- le[e] = le(e);
1357
+ ue[e] = ue(e);
1358
1358
  });
1359
- const yt = le.div`
1359
+ const yt = ue.div`
1360
1360
  display: flex;
1361
1361
  align-items: center;
1362
1362
  justify-content: center;
@@ -1397,11 +1397,11 @@ const yt = le.div`
1397
1397
  return "";
1398
1398
  }
1399
1399
  }}
1400
- `, Ke = ({ type: e, children: r, className: t, icon: a, action: o }) => /* @__PURE__ */ V.jsxs(yt, { type: e, className: t, children: [
1401
- a && /* @__PURE__ */ V.jsx("span", { children: a }),
1402
- /* @__PURE__ */ V.jsx("span", { children: r }),
1403
- o && /* @__PURE__ */ V.jsx("span", { children: o })
1404
- ] }), er = le.div`
1400
+ `, Ke = ({ type: e, children: r, className: t, icon: a, action: o }) => /* @__PURE__ */ L.jsxs(yt, { type: e, className: t, children: [
1401
+ a && /* @__PURE__ */ L.jsx("span", { children: a }),
1402
+ /* @__PURE__ */ L.jsx("span", { children: r }),
1403
+ o && /* @__PURE__ */ L.jsx("span", { children: o })
1404
+ ] }), er = ue.div`
1405
1405
  width: ${({ width: e }) => e || "100%"};
1406
1406
  height: ${({ height: e }) => e || "100%"};
1407
1407
  border-radius: 0px !important; /* Force remove rounded corners on container */
@@ -1413,7 +1413,7 @@ const yt = le.div`
1413
1413
 
1414
1414
  /* Hide specific elements inside the player */
1415
1415
  ${({ $hiddenClasses: e }) => (e == null ? void 0 : e.length) && e.map((r) => `.${r} { display: none !important; }`).join("")}
1416
- `, vt = le.div`
1416
+ `, vt = ue.div`
1417
1417
  position: fixed;
1418
1418
  top: 0;
1419
1419
  left: 0;
@@ -1425,7 +1425,7 @@ const yt = le.div`
1425
1425
  align-items: center;
1426
1426
  z-index: 1000;
1427
1427
  pointer-events: auto;
1428
- `, bt = le.div`
1428
+ `, bt = ue.div`
1429
1429
  position: relative;
1430
1430
  height: 80vh;
1431
1431
  width: auto;
@@ -1433,7 +1433,7 @@ const yt = le.div`
1433
1433
  max-width: 90vw;
1434
1434
  max-height: 90vh;
1435
1435
  z-index: 1001;
1436
- `, ie = "https://host.vpplayer.tech", xt = (e) => `${ie}/player/${e}/vpplayer.js`, jt = (e) => `${ie}/player/${e}.js`, Pt = (e, r) => `${ie}/player/${e}/${r}.js`, wt = (e) => `${ie}/vertical-player/${e}.js`, kt = (e, r) => `${ie}/vertical-player/${e}/${r}.js`, St = (e, r) => `${ie}/player/${e}/${r}.json`, Et = (e, r) => `${ie}/vertical-player/${e}/${r}.json`, Rt = (e, r) => e ? `vp-player-${e}` : r ? `vp-player-default-${r}` : "vp-player-default", _t = (e, r) => {
1436
+ `, se = "https://host.vpplayer.tech", xt = (e) => `${se}/player/${e}/vpplayer.js`, jt = (e) => `${se}/player/${e}.js`, wt = (e, r) => `${se}/player/${e}/${r}.js`, Pt = (e) => `${se}/vertical-player/${e}.js`, kt = (e, r) => `${se}/vertical-player/${e}/${r}.js`, St = (e, r) => `${se}/player/${e}/${r}.json`, Et = (e, r) => `${se}/vertical-player/${e}/${r}.json`, Rt = (e, r) => e ? `vp-player-${e}` : r ? `vp-player-default-${r}` : "vp-player-default", _t = (e, r) => {
1437
1437
  const t = new URL(e);
1438
1438
  return t.searchParams.set("divId", r), t.toString();
1439
1439
  }, ke = /* @__PURE__ */ new Map(), Tt = (e, r) => {
@@ -1454,19 +1454,19 @@ const yt = le.div`
1454
1454
  ke.set(f, Promise.resolve());
1455
1455
  else {
1456
1456
  const g = new Promise((y, O) => {
1457
- const A = document.createElement("script");
1458
- A.src = f, A.async = !0, A.onload = () => y(), A.onerror = () => O(new Error(`Failed to load script: ${f}`)), document.body.appendChild(A);
1457
+ const T = document.createElement("script");
1458
+ T.src = f, T.async = !0, T.onload = () => y(), T.onerror = () => O(new Error(`Failed to load script: ${f}`)), document.body.appendChild(T);
1459
1459
  });
1460
1460
  ke.set(f, g);
1461
1461
  }
1462
- let d = !0;
1462
+ let p = !0;
1463
1463
  const P = ke.get(f);
1464
1464
  return P && P.then(() => {
1465
- d && (a(!0), s(null));
1465
+ p && (a(!0), s(null));
1466
1466
  }).catch((m) => {
1467
- d && (a(!1), s(m instanceof Error ? m.message : String(m)));
1467
+ p && (a(!1), s(m instanceof Error ? m.message : String(m)));
1468
1468
  }), () => {
1469
- d = !1;
1469
+ p = !1;
1470
1470
  };
1471
1471
  }, [e, r]), { isLoaded: t, error: o };
1472
1472
  };
@@ -1493,20 +1493,10 @@ async function At(e, r, t) {
1493
1493
  );
1494
1494
  const a = t ? Et(e, r || "") : St(e, r || "");
1495
1495
  try {
1496
- console.log("VP Player: Attempting to fetch config from", a);
1497
1496
  const o = await fetch(a);
1498
- if (!o.ok)
1499
- return console.warn(
1500
- `VP Player: Failed to fetch config from ${a} (${o.status}). Using user config directly.`
1501
- ), null;
1502
- const s = await o.json();
1503
- return console.log("VP Player: Successfully fetched config from", a), s;
1504
- } catch (o) {
1505
- return console.warn(
1506
- `VP Player: Error fetching config from ${a}:`,
1507
- o,
1508
- "Using user config directly."
1509
- ), null;
1497
+ return o.ok ? await o.json() : null;
1498
+ } catch {
1499
+ return null;
1510
1500
  }
1511
1501
  }
1512
1502
  const $t = ({
@@ -1517,39 +1507,39 @@ const $t = ({
1517
1507
  config: o,
1518
1508
  playerId: s,
1519
1509
  isVertical: f = !1,
1520
- isReels: d = !1,
1510
+ isReels: p = !1,
1521
1511
  onReady: P,
1522
1512
  onPlay: m,
1523
1513
  onPause: g,
1524
1514
  onComplete: y,
1525
1515
  onError: O,
1526
- onVideoStarted: A,
1527
- onTimeUpdate: $,
1516
+ onVideoStarted: T,
1517
+ onTimeUpdate: A,
1528
1518
  onQuartile25: v,
1529
- onQuartile50: x,
1530
- onQuartile75: w,
1519
+ onQuartile50: w,
1520
+ onQuartile75: k,
1531
1521
  onNext: _,
1532
- onPrevious: C,
1533
- onProgress10s: L,
1522
+ onPrevious: j,
1523
+ onProgress10s: V,
1534
1524
  onProgress20s: I
1535
1525
  }) => {
1536
- const j = xe(null), b = xe(null), [K, W] = Te(null), G = mr().replace(/:/g, ""), F = je(
1537
- () => Rt(s || `auto-${G}`, r),
1538
- [s, G, r]
1526
+ const M = xe(null), x = xe(null), [ee, W] = Te(null), B = mr().replace(/:/g, ""), N = je(
1527
+ () => Rt(s || `auto-${B}`, r),
1528
+ [s, B, r]
1539
1529
  ), h = xe({
1540
1530
  onReady: P,
1541
1531
  onPlay: m,
1542
1532
  onPause: g,
1543
1533
  onComplete: y,
1544
1534
  onError: O,
1545
- onVideoStarted: A,
1546
- onTimeUpdate: $,
1535
+ onVideoStarted: T,
1536
+ onTimeUpdate: A,
1547
1537
  onQuartile25: v,
1548
- onQuartile50: x,
1549
- onQuartile75: w,
1538
+ onQuartile50: w,
1539
+ onQuartile75: k,
1550
1540
  onNext: _,
1551
- onPrevious: C,
1552
- onProgress10s: L,
1541
+ onPrevious: j,
1542
+ onProgress10s: V,
1553
1543
  onProgress20s: I
1554
1544
  });
1555
1545
  Fe(() => {
@@ -1559,51 +1549,51 @@ const $t = ({
1559
1549
  onPause: g,
1560
1550
  onComplete: y,
1561
1551
  onError: O,
1562
- onVideoStarted: A,
1563
- onTimeUpdate: $,
1552
+ onVideoStarted: T,
1553
+ onTimeUpdate: A,
1564
1554
  onQuartile25: v,
1565
- onQuartile50: x,
1566
- onQuartile75: w,
1555
+ onQuartile50: w,
1556
+ onQuartile75: k,
1567
1557
  onNext: _,
1568
- onPrevious: C,
1569
- onProgress10s: L,
1558
+ onPrevious: j,
1559
+ onProgress10s: V,
1570
1560
  onProgress20s: I
1571
1561
  };
1572
1562
  });
1573
- const Y = xe(!1), ee = !!o, z = je(() => f || d ? !0 : t ? t.includes("vertical-player") || t.includes("vpverticalplayer") : !1, [f, d, t]), re = je(() => {
1563
+ const Y = xe(!1), re = !!o, z = je(() => f || p ? !0 : t ? t.includes("vertical-player") || t.includes("vpverticalplayer") : !1, [f, p, t]), te = je(() => {
1574
1564
  let q;
1575
1565
  if (t)
1576
1566
  q = t;
1577
- else if (e && r && !ee)
1578
- q = z ? kt(e, r) : Pt(e, r);
1567
+ else if (e && r && !re)
1568
+ q = z ? kt(e, r) : wt(e, r);
1579
1569
  else if (e)
1580
- q = z ? wt(e) : `https://host.vpplayer.tech/player/${e}.js`;
1570
+ q = z ? Pt(e) : `https://host.vpplayer.tech/player/${e}.js`;
1581
1571
  else
1582
1572
  return null;
1583
- return _t(q, F);
1573
+ return _t(q, N);
1584
1574
  }, [
1585
1575
  t,
1586
1576
  e,
1587
1577
  r,
1588
1578
  z,
1589
- F,
1590
- ee
1591
- ]), { isLoaded: B, error: te } = Tt(
1579
+ N,
1580
+ re
1581
+ ]), { isLoaded: X, error: ne } = Tt(
1592
1582
  null,
1593
- re || void 0
1583
+ te || void 0
1594
1584
  );
1595
1585
  return Fe(() => {
1596
- if (!re) {
1586
+ if (!te) {
1597
1587
  W(
1598
1588
  "VPPlayer: Provide scriptUrl OR (scriptId + videoId) OR (scriptId + config) to initialize the player."
1599
1589
  );
1600
1590
  return;
1601
1591
  }
1602
- if (te) {
1603
- W(te);
1592
+ if (ne) {
1593
+ W(ne);
1604
1594
  return;
1605
1595
  }
1606
- if (!B) return;
1596
+ if (!X) return;
1607
1597
  let q = !0;
1608
1598
  return (async () => {
1609
1599
  var i;
@@ -1615,40 +1605,28 @@ const $t = ({
1615
1605
  );
1616
1606
  return;
1617
1607
  }
1618
- if (await new Promise((S) => setTimeout(S, 0)), !document.getElementById(F)) {
1608
+ if (await new Promise((S) => setTimeout(S, 0)), !document.getElementById(N)) {
1619
1609
  console.error(
1620
- `VP Player: Container element with ID '${F}' not found in DOM.`
1610
+ `VP Player: Container element with ID '${N}' not found in DOM.`
1621
1611
  );
1622
1612
  return;
1623
1613
  }
1624
- const p = n(F);
1625
- if (!p) {
1614
+ const d = n(N);
1615
+ if (!d) {
1626
1616
  W("VP Player: Failed to get player instance.");
1627
1617
  return;
1628
1618
  }
1629
1619
  if (q) {
1630
- if (b.current = p, W(null), Y.current = !1, ee && o) {
1620
+ if (x.current = d, W(null), Y.current = !1, re && o) {
1631
1621
  let S;
1632
- const T = await At(
1622
+ const $ = await At(
1633
1623
  e,
1634
1624
  r,
1635
1625
  z
1636
1626
  );
1637
- T ? (console.log(
1638
- "VP Player: Fetched config (base):",
1639
- JSON.parse(JSON.stringify(T))
1640
- ), console.log(
1641
- "VP Player: User config (overrides):",
1642
- JSON.parse(JSON.stringify(o))
1643
- ), S = pr(T, o), console.log(
1644
- "VP Player: Merged config (final):",
1645
- JSON.parse(JSON.stringify(S))
1646
- )) : (S = o, console.log(
1647
- "VP Player: Using user config directly (no fetch):",
1648
- JSON.parse(JSON.stringify(S))
1649
- )), a && !S.projectId && (S.projectId = a);
1627
+ $ ? S = pr($, o) : S = o, a && !S.projectId && (S.projectId = a);
1650
1628
  try {
1651
- p.setup(S);
1629
+ d.setup(S);
1652
1630
  } catch (l) {
1653
1631
  const u = l instanceof Error ? l.message : String(l);
1654
1632
  if (u.includes("already initialized")) {
@@ -1656,14 +1634,14 @@ const $t = ({
1656
1634
  "VP Player: Player already initialized, attempting to destroy and retry."
1657
1635
  );
1658
1636
  try {
1659
- if ((i = p.destroy) == null || i.call(p), await new Promise((k) => setTimeout(k, 50)), q && document.getElementById(F)) {
1660
- const k = n(F);
1661
- k && (k.setup(S), b.current = k);
1637
+ if ((i = d.destroy) == null || i.call(d), await new Promise((b) => setTimeout(b, 50)), q && document.getElementById(N)) {
1638
+ const b = n(N);
1639
+ b && (b.setup(S), x.current = b);
1662
1640
  }
1663
- } catch (k) {
1641
+ } catch (b) {
1664
1642
  console.error(
1665
1643
  "VP Player: Failed to recover from initialization error",
1666
- k
1644
+ b
1667
1645
  );
1668
1646
  }
1669
1647
  } else {
@@ -1672,70 +1650,75 @@ const $t = ({
1672
1650
  }
1673
1651
  }
1674
1652
  }
1675
- if (p.on) {
1676
- const S = p.on.bind(p), T = z ? "vertical" : "horizontal";
1677
- S("analytics-25%-completed", () => {
1653
+ if (d.on) {
1654
+ const S = d.on.bind(d), $ = z ? "vertical" : "horizontal";
1655
+ S("vp-event", (l) => {
1656
+ var C, J;
1657
+ const u = l, b = u == null ? void 0 : u.eventName;
1658
+ if (z && b === "vp-state-playing") {
1659
+ const ie = d.videoObject;
1660
+ console.log(`[${$}] onPlay`), (J = (C = h.current).onPlay) == null || J.call(C, ie);
1661
+ }
1662
+ }), S("analytics-25%-completed", () => {
1678
1663
  var l, u;
1679
- console.log(`[${T}] onQuartile25`), (u = (l = h.current).onQuartile25) == null || u.call(l);
1664
+ console.log(`[${$}] onQuartile25`), (u = (l = h.current).onQuartile25) == null || u.call(l);
1680
1665
  }), S("analytics-50%-completed", () => {
1681
1666
  var l, u;
1682
- console.log(`[${T}] onQuartile50`), (u = (l = h.current).onQuartile50) == null || u.call(l);
1667
+ console.log(`[${$}] onQuartile50`), (u = (l = h.current).onQuartile50) == null || u.call(l);
1683
1668
  }), S("analytics-75%-completed", () => {
1684
1669
  var l, u;
1685
- console.log(`[${T}] onQuartile75`), (u = (l = h.current).onQuartile75) == null || u.call(l);
1670
+ console.log(`[${$}] onQuartile75`), (u = (l = h.current).onQuartile75) == null || u.call(l);
1686
1671
  }), S("pause", () => {
1687
1672
  var l, u;
1688
- console.log(`[${T}] onPause`), (u = (l = h.current).onPause) == null || u.call(l);
1673
+ console.log(`[${$}] onPause`), (u = (l = h.current).onPause) == null || u.call(l);
1689
1674
  }), S("error", (l) => {
1690
- var k, N;
1675
+ var b, C;
1691
1676
  const u = typeof l == "string" ? l : (l == null ? void 0 : l.message) || "Unknown error";
1692
- console.log(`[${T}] onError`, u), (N = (k = h.current).onError) == null || N.call(k, u);
1693
- }), z ? (S("vp-ready", () => {
1694
- var l, u;
1695
- console.log(`[${T}] onReady`), (u = (l = h.current).onReady) == null || u.call(l);
1696
- }), S("playing", () => {
1697
- var l, u;
1698
- console.log(`[${T}] onPlay`), (u = (l = h.current).onPlay) == null || u.call(l);
1677
+ console.log(`[${$}] onError`, u), (C = (b = h.current).onError) == null || C.call(b, u);
1678
+ }), z ? (S("vp-first-frame", () => {
1679
+ var b, C;
1680
+ const u = d.videoObject;
1681
+ console.log(`[${$}] onReady`), (C = (b = h.current).onReady) == null || C.call(b, u);
1699
1682
  }), S("vp-video-started", (l) => {
1700
- var u, k;
1701
- console.log(`[${T}] onVideoStarted`, l), (k = (u = h.current).onVideoStarted) == null || k.call(u, l);
1683
+ var u, b;
1684
+ console.log(`[${$}] onVideoStarted`), (b = (u = h.current).onVideoStarted) == null || b.call(u, l);
1702
1685
  }), S("vp-video-state", () => {
1703
- var u, k, N;
1704
- const l = ((u = p.getPosition) == null ? void 0 : u.call(p)) ?? 0;
1705
- console.log(`[${T}] onProgress10s`, Math.floor(l)), (N = (k = h.current).onProgress10s) == null || N.call(k, Math.floor(l));
1686
+ var u, b, C;
1687
+ const l = ((u = d.getPosition) == null ? void 0 : u.call(d)) ?? 0;
1688
+ console.log(`[${$}] onProgress10s`, Math.floor(l)), (C = (b = h.current).onProgress10s) == null || C.call(b, Math.floor(l));
1706
1689
  }), S("vp-time", (l) => {
1707
- var k, N, ae, oe, de;
1690
+ var b, C, J, ae, ie;
1708
1691
  let u = 0;
1709
- typeof l == "number" ? u = l : l && typeof l == "object" && "position" in l ? u = l.position : u = ((k = p.getPosition) == null ? void 0 : k.call(p)) ?? 0, (ae = (N = h.current).onTimeUpdate) == null || ae.call(N, u), !Y.current && u >= 20 && (Y.current = !0, console.log(`[${T}] onProgress20s`, Math.floor(u)), (de = (oe = h.current).onProgress20s) == null || de.call(oe, Math.floor(u)));
1692
+ typeof l == "number" ? u = l : l && typeof l == "object" && "position" in l ? u = l.position : u = ((b = d.getPosition) == null ? void 0 : b.call(d)) ?? 0, (J = (C = h.current).onTimeUpdate) == null || J.call(C, u), !Y.current && u >= 20 && (Y.current = !0, console.log(`[${$}] onProgress20s`, Math.floor(u)), (ie = (ae = h.current).onProgress20s) == null || ie.call(ae, Math.floor(u)));
1710
1693
  }), S("vp-video-switch", () => {
1711
1694
  queueMicrotask(() => {
1712
- var k, N, ae, oe;
1713
- const u = p._switchDirection;
1714
- u === "next" ? (console.log(`[${T}] onNext`), (N = (k = h.current).onNext) == null || N.call(k)) : u === "previous" && (console.log(`[${T}] onPrevious`), (oe = (ae = h.current).onPrevious) == null || oe.call(ae)), Y.current = !1;
1695
+ var b, C, J, ae;
1696
+ const u = d._switchDirection;
1697
+ u === "next" ? (console.log(`[${$}] onNext`), (C = (b = h.current).onNext) == null || C.call(b)) : u === "previous" && (console.log(`[${$}] onPrevious`), (ae = (J = h.current).onPrevious) == null || ae.call(J)), Y.current = !1;
1715
1698
  });
1716
1699
  })) : (S("ready", () => {
1717
1700
  var l, u;
1718
- console.log(`[${T}] onReady`), (u = (l = h.current).onReady) == null || u.call(l);
1701
+ console.log(`[${$}] onReady`), (u = (l = h.current).onReady) == null || u.call(l);
1719
1702
  }), S("play", () => {
1720
1703
  var l, u;
1721
- console.log(`[${T}] onPlay`), (u = (l = h.current).onPlay) == null || u.call(l);
1704
+ console.log(`[${$}] onPlay`), (u = (l = h.current).onPlay) == null || u.call(l);
1722
1705
  }), S("complete", () => {
1723
1706
  var l, u;
1724
- console.log(`[${T}] onComplete`), (u = (l = h.current).onComplete) == null || u.call(l), Y.current = !1;
1707
+ console.log(`[${$}] onComplete`), (u = (l = h.current).onComplete) == null || u.call(l), Y.current = !1;
1725
1708
  }), S("video-started", (l) => {
1726
- var u, k;
1727
- console.log(`[${T}] onVideoStarted`, l), (k = (u = h.current).onVideoStarted) == null || k.call(u, l);
1709
+ var u, b;
1710
+ console.log(`[${$}] onVideoStarted`), (b = (u = h.current).onVideoStarted) == null || b.call(u, l);
1728
1711
  }), S("video-state", () => {
1729
- var u, k, N;
1730
- const l = ((u = p.getPosition) == null ? void 0 : u.call(p)) ?? 0;
1731
- console.log(`[${T}] onProgress10s`, Math.floor(l)), (N = (k = h.current).onProgress10s) == null || N.call(k, Math.floor(l));
1712
+ var u, b, C;
1713
+ const l = ((u = d.getPosition) == null ? void 0 : u.call(d)) ?? 0;
1714
+ console.log(`[${$}] onProgress10s`, Math.floor(l)), (C = (b = h.current).onProgress10s) == null || C.call(b, Math.floor(l));
1732
1715
  }), S("time", (l) => {
1733
- var k, N, ae, oe, de;
1716
+ var b, C, J, ae, ie;
1734
1717
  let u = 0;
1735
- typeof l == "number" ? u = l : l && typeof l == "object" && "position" in l ? u = l.position : u = ((k = p.getPosition) == null ? void 0 : k.call(p)) ?? 0, (ae = (N = h.current).onTimeUpdate) == null || ae.call(N, u), !Y.current && u >= 20 && (Y.current = !0, console.log(`[${T}] onProgress20s`, Math.floor(u)), (de = (oe = h.current).onProgress20s) == null || de.call(oe, Math.floor(u)));
1718
+ typeof l == "number" ? u = l : l && typeof l == "object" && "position" in l ? u = l.position : u = ((b = d.getPosition) == null ? void 0 : b.call(d)) ?? 0, (J = (C = h.current).onTimeUpdate) == null || J.call(C, u), !Y.current && u >= 20 && (Y.current = !0, console.log(`[${$}] onProgress20s`, Math.floor(u)), (ie = (ae = h.current).onProgress20s) == null || ie.call(ae, Math.floor(u)));
1736
1719
  }), S("playlistItem", () => {
1737
1720
  var l, u;
1738
- console.log(`[${T}] onNext`), (u = (l = h.current).onNext) == null || u.call(l), Y.current = !1;
1721
+ console.log(`[${$}] onNext`), (u = (l = h.current).onNext) == null || u.call(l), Y.current = !1;
1739
1722
  }));
1740
1723
  }
1741
1724
  }
@@ -1747,34 +1730,34 @@ const $t = ({
1747
1730
  }
1748
1731
  })(), () => {
1749
1732
  var i;
1750
- if (q = !1, (i = b.current) != null && i.destroy) {
1733
+ if (q = !1, (i = x.current) != null && i.destroy) {
1751
1734
  try {
1752
- b.current.destroy();
1735
+ x.current.destroy();
1753
1736
  } catch {
1754
1737
  }
1755
- b.current = null;
1738
+ x.current = null;
1756
1739
  }
1757
1740
  };
1758
1741
  }, [
1759
- B,
1760
- F,
1742
+ X,
1743
+ N,
1744
+ ne,
1761
1745
  te,
1762
- re,
1763
1746
  z,
1764
- ee,
1747
+ re,
1765
1748
  o,
1766
1749
  e,
1767
1750
  r,
1768
1751
  a
1769
1752
  ]), {
1770
- playerRef: j,
1771
- playerInstanceRef: b,
1772
- isScriptLoaded: B,
1773
- isLoading: !B && !K,
1774
- error: K,
1775
- generatedPlayerId: F
1753
+ playerRef: M,
1754
+ playerInstanceRef: x,
1755
+ isScriptLoaded: X,
1756
+ isLoading: !X && !ee,
1757
+ error: ee,
1758
+ generatedPlayerId: N
1776
1759
  };
1777
- }, Ot = rr(
1760
+ }, Ct = rr(
1778
1761
  ({
1779
1762
  scriptId: e,
1780
1763
  videoId: r,
@@ -1783,33 +1766,33 @@ const $t = ({
1783
1766
  config: o,
1784
1767
  playerId: s,
1785
1768
  isVertical: f = !1,
1786
- isReels: d = !1,
1769
+ isReels: p = !1,
1787
1770
  thumbnailUrl: P,
1788
1771
  onClose: m,
1789
1772
  className: g,
1790
1773
  hiddenClasses: y = [],
1791
1774
  onReady: O,
1792
- onPlay: A,
1793
- onPause: $,
1775
+ onPlay: T,
1776
+ onPause: A,
1794
1777
  onComplete: v,
1795
- onError: x,
1796
- onVideoStarted: w,
1778
+ onError: w,
1779
+ onVideoStarted: k,
1797
1780
  onTimeUpdate: _,
1798
- onQuartile25: C,
1799
- onQuartile50: L,
1781
+ onQuartile25: j,
1782
+ onQuartile50: V,
1800
1783
  onQuartile75: I,
1801
- onNext: j,
1802
- onPrevious: b,
1803
- onProgress10s: K,
1784
+ onNext: M,
1785
+ onPrevious: x,
1786
+ onProgress10s: ee,
1804
1787
  onProgress20s: W
1805
- }, G) => {
1788
+ }, B) => {
1806
1789
  const {
1807
- playerRef: F,
1790
+ playerRef: N,
1808
1791
  playerInstanceRef: h,
1809
1792
  isScriptLoaded: Y,
1810
- isLoading: ee,
1793
+ isLoading: re,
1811
1794
  error: z,
1812
- generatedPlayerId: re
1795
+ generatedPlayerId: te
1813
1796
  } = $t({
1814
1797
  scriptId: e,
1815
1798
  videoId: r,
@@ -1818,24 +1801,24 @@ const $t = ({
1818
1801
  config: o,
1819
1802
  playerId: s,
1820
1803
  isVertical: f,
1821
- isReels: d,
1804
+ isReels: p,
1822
1805
  onReady: O,
1823
- onPlay: A,
1824
- onPause: $,
1806
+ onPlay: T,
1807
+ onPause: A,
1825
1808
  onComplete: v,
1826
- onError: x,
1827
- onVideoStarted: w,
1809
+ onError: w,
1810
+ onVideoStarted: k,
1828
1811
  onTimeUpdate: _,
1829
- onQuartile25: C,
1830
- onQuartile50: L,
1812
+ onQuartile25: j,
1813
+ onQuartile50: V,
1831
1814
  onQuartile75: I,
1832
- onNext: j,
1833
- onPrevious: b,
1834
- onProgress10s: K,
1815
+ onNext: M,
1816
+ onPrevious: x,
1817
+ onProgress10s: ee,
1835
1818
  onProgress20s: W
1836
1819
  });
1837
1820
  yr(
1838
- G,
1821
+ B,
1839
1822
  () => ({
1840
1823
  play: () => {
1841
1824
  var n, c;
@@ -1846,8 +1829,8 @@ const $t = ({
1846
1829
  return (c = (n = h.current) == null ? void 0 : n.pause) == null ? void 0 : c.call(n);
1847
1830
  },
1848
1831
  seek: (n) => {
1849
- var c, p;
1850
- return (p = (c = h.current) == null ? void 0 : c.seek) == null ? void 0 : p.call(c, n);
1832
+ var c, d;
1833
+ return (d = (c = h.current) == null ? void 0 : c.seek) == null ? void 0 : d.call(c, n);
1851
1834
  },
1852
1835
  forward: () => {
1853
1836
  var n, c;
@@ -1878,12 +1861,12 @@ const $t = ({
1878
1861
  return (c = (n = h.current) == null ? void 0 : n.toggleMute) == null ? void 0 : c.call(n);
1879
1862
  },
1880
1863
  enterFullScreen: () => {
1881
- var n, c, p;
1882
- return (p = ((n = h.current) == null ? void 0 : n.enterFullScreen) ?? ((c = h.current) == null ? void 0 : c.enterFullscreen)) == null ? void 0 : p();
1864
+ var n, c, d;
1865
+ return (d = ((n = h.current) == null ? void 0 : n.enterFullScreen) ?? ((c = h.current) == null ? void 0 : c.enterFullscreen)) == null ? void 0 : d();
1883
1866
  },
1884
1867
  exitFullScreen: () => {
1885
- var n, c, p;
1886
- return (p = ((n = h.current) == null ? void 0 : n.exitFullScreen) ?? ((c = h.current) == null ? void 0 : c.exitFullscreen)) == null ? void 0 : p();
1868
+ var n, c, d;
1869
+ return (d = ((n = h.current) == null ? void 0 : n.exitFullScreen) ?? ((c = h.current) == null ? void 0 : c.exitFullscreen)) == null ? void 0 : d();
1887
1870
  },
1888
1871
  getPosition: () => {
1889
1872
  var n, c;
@@ -1898,8 +1881,8 @@ const $t = ({
1898
1881
  return ((c = (n = h.current) == null ? void 0 : n.getVolume) == null ? void 0 : c.call(n)) ?? null;
1899
1882
  },
1900
1883
  setVolume: (n) => {
1901
- var c, p;
1902
- return (p = (c = h.current) == null ? void 0 : c.setVolume) == null ? void 0 : p.call(c, n);
1884
+ var c, d;
1885
+ return (d = (c = h.current) == null ? void 0 : c.setVolume) == null ? void 0 : d.call(c, n);
1903
1886
  },
1904
1887
  isMuted: () => {
1905
1888
  var n, c;
@@ -1921,16 +1904,16 @@ const $t = ({
1921
1904
  // eslint-disable-next-line react-hooks/exhaustive-deps
1922
1905
  []
1923
1906
  );
1924
- const [B, te] = Te(!0), q = () => d && te(!0), fe = () => {
1907
+ const [X, ne] = Te(!0), q = () => p && ne(!0), de = () => {
1925
1908
  var n, c;
1926
- !d || !B || (te(!1), (c = (n = h.current) == null ? void 0 : n.pause) == null || c.call(n), m == null || m());
1909
+ !p || !X || (ne(!1), (c = (n = h.current) == null ? void 0 : n.pause) == null || c.call(n), m == null || m());
1927
1910
  };
1928
1911
  if (z)
1929
- return /* @__PURE__ */ V.jsxs(Ke, { type: "error", children: [
1912
+ return /* @__PURE__ */ L.jsxs(Ke, { type: "error", children: [
1930
1913
  "An error occurred: ",
1931
1914
  z
1932
1915
  ] });
1933
- const i = () => /* @__PURE__ */ V.jsx(
1916
+ const i = () => /* @__PURE__ */ L.jsx(
1934
1917
  "div",
1935
1918
  {
1936
1919
  style: {
@@ -1945,11 +1928,11 @@ const $t = ({
1945
1928
  background: "rgba(0,0,0,0.8)",
1946
1929
  zIndex: 10
1947
1930
  },
1948
- children: /* @__PURE__ */ V.jsx(Ke, { type: "loading", children: "Loading..." })
1931
+ children: /* @__PURE__ */ L.jsx(Ke, { type: "loading", children: "Loading..." })
1949
1932
  }
1950
1933
  );
1951
- return d ? /* @__PURE__ */ V.jsxs(V.Fragment, { children: [
1952
- !B && /* @__PURE__ */ V.jsx(
1934
+ return p ? /* @__PURE__ */ L.jsxs(L.Fragment, { children: [
1935
+ !X && /* @__PURE__ */ L.jsx(
1953
1936
  "div",
1954
1937
  {
1955
1938
  onClick: q,
@@ -1963,12 +1946,12 @@ const $t = ({
1963
1946
  }
1964
1947
  }
1965
1948
  ),
1966
- B && /* @__PURE__ */ V.jsx(vt, { onClick: fe, className: g, children: /* @__PURE__ */ V.jsx(
1949
+ X && /* @__PURE__ */ L.jsx(vt, { onClick: de, className: g, children: /* @__PURE__ */ L.jsx(
1967
1950
  bt,
1968
1951
  {
1969
1952
  className: g,
1970
1953
  onClick: (n) => n.stopPropagation(),
1971
- children: /* @__PURE__ */ V.jsxs(
1954
+ children: /* @__PURE__ */ L.jsxs(
1972
1955
  "div",
1973
1956
  {
1974
1957
  style: {
@@ -1977,52 +1960,52 @@ const $t = ({
1977
1960
  height: "100%"
1978
1961
  },
1979
1962
  children: [
1980
- /* @__PURE__ */ V.jsx(
1963
+ /* @__PURE__ */ L.jsx(
1981
1964
  er,
1982
1965
  {
1983
- id: re,
1984
- ref: F,
1966
+ id: te,
1967
+ ref: N,
1985
1968
  width: "100%",
1986
1969
  height: "100%",
1987
1970
  $hiddenClasses: y,
1988
1971
  className: g
1989
1972
  }
1990
1973
  ),
1991
- (ee || !Y) && /* @__PURE__ */ V.jsx(i, {})
1974
+ (re || !Y) && /* @__PURE__ */ L.jsx(i, {})
1992
1975
  ]
1993
1976
  }
1994
1977
  )
1995
1978
  }
1996
1979
  ) })
1997
- ] }) : /* @__PURE__ */ V.jsxs("div", { style: { position: "relative", width: "100%", height: "100%" }, children: [
1998
- /* @__PURE__ */ V.jsx(
1980
+ ] }) : /* @__PURE__ */ L.jsxs("div", { style: { position: "relative", width: "100%", height: "100%" }, children: [
1981
+ /* @__PURE__ */ L.jsx(
1999
1982
  er,
2000
1983
  {
2001
- id: re,
2002
- ref: F,
1984
+ id: te,
1985
+ ref: N,
2003
1986
  width: "100%",
2004
1987
  height: "100%",
2005
1988
  $hiddenClasses: y,
2006
1989
  className: g
2007
1990
  }
2008
1991
  ),
2009
- (ee || !Y) && /* @__PURE__ */ V.jsx(i, {})
1992
+ (re || !Y) && /* @__PURE__ */ L.jsx(i, {})
2010
1993
  ] });
2011
1994
  }
2012
1995
  );
2013
- Ot.displayName = "VPPlayer";
1996
+ Ct.displayName = "VPPlayer";
2014
1997
  export {
2015
1998
  vt as Overlay,
2016
1999
  er as PlayerContainer,
2017
2000
  bt as PlayerWrapper,
2018
- Ot as VPPlayer,
2019
- ie as VP_PLAYER_BASE_URL,
2001
+ Ct as VPPlayer,
2002
+ se as VP_PLAYER_BASE_URL,
2020
2003
  _t as appendDivIdToUrl,
2021
2004
  Rt as generatePlayerId,
2022
- Pt as getFullyManagedPlayerScriptUrl,
2005
+ wt as getFullyManagedPlayerScriptUrl,
2023
2006
  jt as getManagedPlayerScriptUrl,
2024
2007
  xt as getPlayerScriptUrl,
2025
- wt as getVerticalPlayerScriptUrl,
2008
+ Pt as getVerticalPlayerScriptUrl,
2026
2009
  $t as useVPPlayerLogic,
2027
2010
  Tt as useVPPlayerScript
2028
2011
  };