gearboxdownloadmodal 6.0.12 → 6.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.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import ae, { useState as P, useEffect as Ie, forwardRef as Li, useReducer as Oi, useRef as nt, isValidElement as mt, cloneElement as kn, useLayoutEffect as Ei } from "react";
1
+ import ae, { useState as P, useEffect as Ce, forwardRef as Li, useReducer as Oi, useRef as nt, isValidElement as mt, cloneElement as kn, useLayoutEffect as Ei } from "react";
2
2
  import ki from "react-dom";
3
3
  function zi(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -41,14 +41,14 @@ function ji() {
41
41
  wr = 1;
42
42
  var e = ae, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
43
43
  function a(A, m, c) {
44
- var s, d = {}, y = null, h = null;
45
- c !== void 0 && (y = "" + c), m.key !== void 0 && (y = "" + m.key), m.ref !== void 0 && (h = m.ref);
44
+ var s, d = {}, y = null, g = null;
45
+ c !== void 0 && (y = "" + c), m.key !== void 0 && (y = "" + m.key), m.ref !== void 0 && (g = m.ref);
46
46
  for (s in m)
47
47
  r.call(m, s) && !i.hasOwnProperty(s) && (d[s] = m[s]);
48
48
  if (A && A.defaultProps)
49
49
  for (s in m = A.defaultProps, m)
50
50
  d[s] === void 0 && (d[s] = m[s]);
51
- return { $$typeof: t, type: A, key: y, ref: h, props: d, _owner: o.current };
51
+ return { $$typeof: t, type: A, key: y, ref: g, props: d, _owner: o.current };
52
52
  }
53
53
  return yt.Fragment = n, yt.jsx = a, yt.jsxs = a, yt;
54
54
  }
@@ -65,11 +65,11 @@ var vt = {};
65
65
  var xr;
66
66
  function Ji() {
67
67
  return xr || (xr = 1, process.env.NODE_ENV !== "production" && function() {
68
- var e = ae, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, g = "@@iterator";
68
+ var e = ae, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), p = Symbol.iterator, h = "@@iterator";
69
69
  function v(u) {
70
70
  if (u === null || typeof u != "object")
71
71
  return null;
72
- var I = p && u[p] || u[g];
72
+ var I = p && u[p] || u[h];
73
73
  return typeof I == "function" ? I : null;
74
74
  }
75
75
  var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -93,7 +93,7 @@ function Ji() {
93
93
  var O = !1, C = !1, ne = !1, re = !1, U = !1, Ae;
94
94
  Ae = Symbol.for("react.module.reference");
95
95
  function F(u) {
96
- return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || U || u === o || u === c || u === s || re || u === h || O || C || ne || typeof u == "object" && u !== null && (u.$$typeof === y || u.$$typeof === d || u.$$typeof === a || u.$$typeof === A || u.$$typeof === m || // This needs to include all possible module reference object
96
+ return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || U || u === o || u === c || u === s || re || u === g || O || C || ne || typeof u == "object" && u !== null && (u.$$typeof === y || u.$$typeof === d || u.$$typeof === a || u.$$typeof === A || u.$$typeof === m || // This needs to include all possible module reference object
97
97
  // types supported by any Flight configuration anywhere since
98
98
  // we don't know which Flight build this will end up being used
99
99
  // with.
@@ -216,8 +216,8 @@ function Ji() {
216
216
  S < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
217
217
  }
218
218
  }
219
- var D = x.ReactCurrentDispatcher, N;
220
- function R(u, I, M) {
219
+ var R = x.ReactCurrentDispatcher, N;
220
+ function D(u, I, M) {
221
221
  {
222
222
  if (N === void 0)
223
223
  try {
@@ -248,7 +248,7 @@ function Ji() {
248
248
  var ie = Error.prepareStackTrace;
249
249
  Error.prepareStackTrace = void 0;
250
250
  var ue;
251
- ue = D.current, D.current = null, j();
251
+ ue = R.current, R.current = null, j();
252
252
  try {
253
253
  if (I) {
254
254
  var ee = function() {
@@ -301,9 +301,9 @@ function Ji() {
301
301
  }
302
302
  }
303
303
  } finally {
304
- B = !1, D.current = ue, Q(), Error.prepareStackTrace = ie;
304
+ B = !1, R.current = ue, Q(), Error.prepareStackTrace = ie;
305
305
  }
306
- var ut = u ? u.displayName || u.name : "", Ir = ut ? R(ut) : "";
306
+ var ut = u ? u.displayName || u.name : "", Ir = ut ? D(ut) : "";
307
307
  return typeof u == "function" && T.set(u, Ir), Ir;
308
308
  }
309
309
  function ce(u, I, M) {
@@ -319,12 +319,12 @@ function Ji() {
319
319
  if (typeof u == "function")
320
320
  return K(u, Xe(u));
321
321
  if (typeof u == "string")
322
- return R(u);
322
+ return D(u);
323
323
  switch (u) {
324
324
  case c:
325
- return R("Suspense");
325
+ return D("Suspense");
326
326
  case s:
327
- return R("SuspenseList");
327
+ return D("SuspenseList");
328
328
  }
329
329
  if (typeof u == "object")
330
330
  switch (u.$$typeof) {
@@ -653,7 +653,7 @@ process.env.NODE_ENV === "production" ? zn.exports = ji() : zn.exports = Ji();
653
653
  var l = zn.exports;
654
654
  const so = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMyAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE4OThfMzEyMjcpIj4NCiAgICA8cGF0aCBkPSJNMjAuMzQxNiAxMi4yMjY2TDEyLjc5NDkgMTkuNzczMiIgc3Ryb2tlPSIjMEYwRjFFIiBzdHJva2VXaWR0aD0iMS44Ig0KICAgICAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPg0KICAgIDxwYXRoIGQ9Ik0yMC4zNDE2IDE5Ljc3MzJMMTIuNzk0OSAxMi4yMjY2IiBzdHJva2U9IiMwRjBGMUUiIHN0cm9rZVdpZHRoPSIxLjgiDQogICAgICBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogICAgPHBhdGgNCiAgICAgIGQ9Ik0xNi41Njg0IDI4QzkuOTQwMzYgMjggNC41NjgzNiAyMi42MjggNC41NjgzNiAxNkM0LjU2ODM2IDkuMzcyIDkuOTQwMzYgNCAxNi41Njg0IDRDMjMuMTk2NCA0IDI4LjU2ODQgOS4zNzIgMjguNTY4NCAxNkMyOC41Njg0IDIyLjYyOCAyMy4xOTY0IDI4IDE2LjU2ODQgMjhaIg0KICAgICAgc3Ryb2tlPSIjMEYwRjFFIiBzdHJva2VXaWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogIDwvZz4NCiAgPGRlZnM+DQogICAgPGNsaXBQYXRoIGlkPSJjbGlwMF8xODk4XzMxMjI3Ij4NCiAgICAgIDxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuNTY4MzU5KSIgLz4NCiAgICA8L2NsaXBQYXRoPg0KICA8L2RlZnM+DQo8L3N2Zz4=", Ni = ({ children: e }) => {
655
655
  const [t, n] = P(window.innerWidth);
656
- return Ie(() => {
656
+ return Ce(() => {
657
657
  const r = () => {
658
658
  n(window.innerWidth);
659
659
  };
@@ -1358,16 +1358,16 @@ Ne.createBytes = function(e, t) {
1358
1358
  for (var s = 0; s < i[A].length; s++)
1359
1359
  i[A][s] = 255 & e.buffer[s + n];
1360
1360
  n += m;
1361
- var d = Fe.getErrorCorrectPolynomial(c), y = new Bi(i[A], d.getLength() - 1), h = y.mod(d);
1361
+ var d = Fe.getErrorCorrectPolynomial(c), y = new Bi(i[A], d.getLength() - 1), g = y.mod(d);
1362
1362
  a[A] = new Array(d.getLength() - 1);
1363
1363
  for (var s = 0; s < a[A].length; s++) {
1364
- var p = s + h.getLength() - a[A].length;
1365
- a[A][s] = p >= 0 ? h.get(p) : 0;
1364
+ var p = s + g.getLength() - a[A].length;
1365
+ a[A][s] = p >= 0 ? g.get(p) : 0;
1366
1366
  }
1367
1367
  }
1368
- for (var g = 0, s = 0; s < t.length; s++)
1369
- g += t[s].totalCount;
1370
- for (var v = new Array(g), x = 0, s = 0; s < r; s++)
1368
+ for (var h = 0, s = 0; s < t.length; s++)
1369
+ h += t[s].totalCount;
1370
+ for (var v = new Array(h), x = 0, s = 0; s < r; s++)
1371
1371
  for (var A = 0; A < t.length; A++)
1372
1372
  s < i[A].length && (v[x++] = i[A][s]);
1373
1373
  for (var s = 0; s < o; s++)
@@ -1389,7 +1389,7 @@ function Fi() {
1389
1389
  if (Wr)
1390
1390
  return se;
1391
1391
  Wr = 1;
1392
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
1392
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
1393
1393
  function J(C) {
1394
1394
  if (typeof C == "object" && C !== null) {
1395
1395
  var ne = C.$$typeof;
@@ -1408,7 +1408,7 @@ function Fi() {
1408
1408
  case A:
1409
1409
  case s:
1410
1410
  case p:
1411
- case h:
1411
+ case g:
1412
1412
  case a:
1413
1413
  return C;
1414
1414
  default:
@@ -1423,7 +1423,7 @@ function Fi() {
1423
1423
  function O(C) {
1424
1424
  return J(C) === c;
1425
1425
  }
1426
- return se.AsyncMode = m, se.ConcurrentMode = c, se.ContextConsumer = A, se.ContextProvider = a, se.Element = t, se.ForwardRef = s, se.Fragment = r, se.Lazy = p, se.Memo = h, se.Portal = n, se.Profiler = i, se.StrictMode = o, se.Suspense = d, se.isAsyncMode = function(C) {
1426
+ return se.AsyncMode = m, se.ConcurrentMode = c, se.ContextConsumer = A, se.ContextProvider = a, se.Element = t, se.ForwardRef = s, se.Fragment = r, se.Lazy = p, se.Memo = g, se.Portal = n, se.Profiler = i, se.StrictMode = o, se.Suspense = d, se.isAsyncMode = function(C) {
1427
1427
  return O(C) || J(C) === m;
1428
1428
  }, se.isConcurrentMode = O, se.isContextConsumer = function(C) {
1429
1429
  return J(C) === A;
@@ -1438,7 +1438,7 @@ function Fi() {
1438
1438
  }, se.isLazy = function(C) {
1439
1439
  return J(C) === p;
1440
1440
  }, se.isMemo = function(C) {
1441
- return J(C) === h;
1441
+ return J(C) === g;
1442
1442
  }, se.isPortal = function(C) {
1443
1443
  return J(C) === n;
1444
1444
  }, se.isProfiler = function(C) {
@@ -1448,7 +1448,7 @@ function Fi() {
1448
1448
  }, se.isSuspense = function(C) {
1449
1449
  return J(C) === d;
1450
1450
  }, se.isValidElementType = function(C) {
1451
- return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === d || C === y || typeof C == "object" && C !== null && (C.$$typeof === p || C.$$typeof === h || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === v || C.$$typeof === x || C.$$typeof === E || C.$$typeof === g);
1451
+ return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === d || C === y || typeof C == "object" && C !== null && (C.$$typeof === p || C.$$typeof === g || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === v || C.$$typeof === x || C.$$typeof === E || C.$$typeof === h);
1452
1452
  }, se.typeOf = J, se;
1453
1453
  }
1454
1454
  var le = {};
@@ -1463,10 +1463,10 @@ var le = {};
1463
1463
  var Mr;
1464
1464
  function _i() {
1465
1465
  return Mr || (Mr = 1, process.env.NODE_ENV !== "production" && function() {
1466
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
1466
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
1467
1467
  function J(K) {
1468
1468
  return typeof K == "string" || typeof K == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1469
- K === r || K === c || K === i || K === o || K === d || K === y || typeof K == "object" && K !== null && (K.$$typeof === p || K.$$typeof === h || K.$$typeof === a || K.$$typeof === A || K.$$typeof === s || K.$$typeof === v || K.$$typeof === x || K.$$typeof === E || K.$$typeof === g);
1469
+ K === r || K === c || K === i || K === o || K === d || K === y || typeof K == "object" && K !== null && (K.$$typeof === p || K.$$typeof === g || K.$$typeof === a || K.$$typeof === A || K.$$typeof === s || K.$$typeof === v || K.$$typeof === x || K.$$typeof === E || K.$$typeof === h);
1470
1470
  }
1471
1471
  function O(K) {
1472
1472
  if (typeof K == "object" && K !== null) {
@@ -1488,7 +1488,7 @@ function _i() {
1488
1488
  case A:
1489
1489
  case s:
1490
1490
  case p:
1491
- case h:
1491
+ case g:
1492
1492
  case a:
1493
1493
  return we;
1494
1494
  default:
@@ -1500,7 +1500,7 @@ function _i() {
1500
1500
  }
1501
1501
  }
1502
1502
  }
1503
- var C = m, ne = c, re = A, U = a, Ae = t, F = s, oe = r, X = p, _ = h, W = n, S = i, Y = o, f = d, L = !1;
1503
+ var C = m, ne = c, re = A, U = a, Ae = t, F = s, oe = r, X = p, _ = g, W = n, S = i, Y = o, f = d, L = !1;
1504
1504
  function k(K) {
1505
1505
  return L || (L = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), q(K) || O(K) === m;
1506
1506
  }
@@ -1522,13 +1522,13 @@ function _i() {
1522
1522
  function Q(K) {
1523
1523
  return O(K) === r;
1524
1524
  }
1525
- function D(K) {
1525
+ function R(K) {
1526
1526
  return O(K) === p;
1527
1527
  }
1528
1528
  function N(K) {
1529
- return O(K) === h;
1529
+ return O(K) === g;
1530
1530
  }
1531
- function R(K) {
1531
+ function D(K) {
1532
1532
  return O(K) === n;
1533
1533
  }
1534
1534
  function B(K) {
@@ -1540,7 +1540,7 @@ function _i() {
1540
1540
  function V(K) {
1541
1541
  return O(K) === d;
1542
1542
  }
1543
- le.AsyncMode = C, le.ConcurrentMode = ne, le.ContextConsumer = re, le.ContextProvider = U, le.Element = Ae, le.ForwardRef = F, le.Fragment = oe, le.Lazy = X, le.Memo = _, le.Portal = W, le.Profiler = S, le.StrictMode = Y, le.Suspense = f, le.isAsyncMode = k, le.isConcurrentMode = q, le.isContextConsumer = Z, le.isContextProvider = z, le.isElement = w, le.isForwardRef = j, le.isFragment = Q, le.isLazy = D, le.isMemo = N, le.isPortal = R, le.isProfiler = B, le.isStrictMode = T, le.isSuspense = V, le.isValidElementType = J, le.typeOf = O;
1543
+ le.AsyncMode = C, le.ConcurrentMode = ne, le.ContextConsumer = re, le.ContextProvider = U, le.Element = Ae, le.ForwardRef = F, le.Fragment = oe, le.Lazy = X, le.Memo = _, le.Portal = W, le.Profiler = S, le.StrictMode = Y, le.Suspense = f, le.isAsyncMode = k, le.isConcurrentMode = q, le.isContextConsumer = Z, le.isContextProvider = z, le.isElement = w, le.isForwardRef = j, le.isFragment = Q, le.isLazy = R, le.isMemo = N, le.isPortal = D, le.isProfiler = B, le.isStrictMode = T, le.isSuspense = V, le.isValidElementType = J, le.typeOf = O;
1544
1544
  }()), le;
1545
1545
  }
1546
1546
  var Sr;
@@ -1649,9 +1649,9 @@ function ea() {
1649
1649
  (m || "React class") + ": type specification of " + A + " `" + s + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1650
1650
  ), d instanceof Error && !(d.message in n)) {
1651
1651
  n[d.message] = !0;
1652
- var h = c ? c() : "";
1652
+ var g = c ? c() : "";
1653
1653
  e(
1654
- "Failed " + A + " type: " + d.message + (h ?? "")
1654
+ "Failed " + A + " type: " + d.message + (g ?? "")
1655
1655
  );
1656
1656
  }
1657
1657
  }
@@ -1686,7 +1686,7 @@ function ta() {
1686
1686
  if (typeof Z == "function")
1687
1687
  return Z;
1688
1688
  }
1689
- var y = "<<anonymous>>", h = {
1689
+ var y = "<<anonymous>>", g = {
1690
1690
  array: x("array"),
1691
1691
  bigint: x("bigint"),
1692
1692
  bool: x("boolean"),
@@ -1710,40 +1710,40 @@ function ta() {
1710
1710
  function p(q, Z) {
1711
1711
  return q === Z ? q !== 0 || 1 / q === 1 / Z : q !== q && Z !== Z;
1712
1712
  }
1713
- function g(q, Z) {
1713
+ function h(q, Z) {
1714
1714
  this.message = q, this.data = Z && typeof Z == "object" ? Z : {}, this.stack = "";
1715
1715
  }
1716
- g.prototype = Error.prototype;
1716
+ h.prototype = Error.prototype;
1717
1717
  function v(q) {
1718
1718
  if (process.env.NODE_ENV !== "production")
1719
1719
  var Z = {}, z = 0;
1720
- function w(Q, D, N, R, B, T, V) {
1721
- if (R = R || y, T = T || N, V !== n) {
1720
+ function w(Q, R, N, D, B, T, V) {
1721
+ if (D = D || y, T = T || N, V !== n) {
1722
1722
  if (m) {
1723
1723
  var K = new Error(
1724
1724
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1725
1725
  );
1726
1726
  throw K.name = "Invariant Violation", K;
1727
1727
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1728
- var ce = R + ":" + N;
1728
+ var ce = D + ":" + N;
1729
1729
  !Z[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
1730
1730
  z < 3 && (i(
1731
- "You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + R + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1731
+ "You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + D + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1732
1732
  ), Z[ce] = !0, z++);
1733
1733
  }
1734
1734
  }
1735
- return D[N] == null ? Q ? D[N] === null ? new g("The " + B + " `" + T + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new g("The " + B + " `" + T + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : q(D, N, R, B, T);
1735
+ return R[N] == null ? Q ? R[N] === null ? new h("The " + B + " `" + T + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new h("The " + B + " `" + T + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : q(R, N, D, B, T);
1736
1736
  }
1737
1737
  var j = w.bind(null, !1);
1738
1738
  return j.isRequired = w.bind(null, !0), j;
1739
1739
  }
1740
1740
  function x(q) {
1741
- function Z(z, w, j, Q, D, N) {
1742
- var R = z[w], B = Y(R);
1741
+ function Z(z, w, j, Q, R, N) {
1742
+ var D = z[w], B = Y(D);
1743
1743
  if (B !== q) {
1744
- var T = f(R);
1745
- return new g(
1746
- "Invalid " + Q + " `" + D + "` of type " + ("`" + T + "` supplied to `" + j + "`, expected ") + ("`" + q + "`."),
1744
+ var T = f(D);
1745
+ return new h(
1746
+ "Invalid " + Q + " `" + R + "` of type " + ("`" + T + "` supplied to `" + j + "`, expected ") + ("`" + q + "`."),
1747
1747
  { expectedType: q }
1748
1748
  );
1749
1749
  }
@@ -1755,16 +1755,16 @@ function ta() {
1755
1755
  return v(a);
1756
1756
  }
1757
1757
  function J(q) {
1758
- function Z(z, w, j, Q, D) {
1758
+ function Z(z, w, j, Q, R) {
1759
1759
  if (typeof q != "function")
1760
- return new g("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
1760
+ return new h("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
1761
1761
  var N = z[w];
1762
1762
  if (!Array.isArray(N)) {
1763
- var R = Y(N);
1764
- return new g("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an array."));
1763
+ var D = Y(N);
1764
+ return new h("Invalid " + Q + " `" + R + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected an array."));
1765
1765
  }
1766
1766
  for (var B = 0; B < N.length; B++) {
1767
- var T = q(N, B, j, Q, D + "[" + B + "]", n);
1767
+ var T = q(N, B, j, Q, R + "[" + B + "]", n);
1768
1768
  if (T instanceof Error)
1769
1769
  return T;
1770
1770
  }
@@ -1774,10 +1774,10 @@ function ta() {
1774
1774
  }
1775
1775
  function O() {
1776
1776
  function q(Z, z, w, j, Q) {
1777
- var D = Z[z];
1778
- if (!A(D)) {
1779
- var N = Y(D);
1780
- return new g("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement."));
1777
+ var R = Z[z];
1778
+ if (!A(R)) {
1779
+ var N = Y(R);
1780
+ return new h("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement."));
1781
1781
  }
1782
1782
  return null;
1783
1783
  }
@@ -1785,20 +1785,20 @@ function ta() {
1785
1785
  }
1786
1786
  function C() {
1787
1787
  function q(Z, z, w, j, Q) {
1788
- var D = Z[z];
1789
- if (!e.isValidElementType(D)) {
1790
- var N = Y(D);
1791
- return new g("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement type."));
1788
+ var R = Z[z];
1789
+ if (!e.isValidElementType(R)) {
1790
+ var N = Y(R);
1791
+ return new h("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement type."));
1792
1792
  }
1793
1793
  return null;
1794
1794
  }
1795
1795
  return v(q);
1796
1796
  }
1797
1797
  function ne(q) {
1798
- function Z(z, w, j, Q, D) {
1798
+ function Z(z, w, j, Q, R) {
1799
1799
  if (!(z[w] instanceof q)) {
1800
- var N = q.name || y, R = k(z[w]);
1801
- return new g("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected ") + ("instance of `" + N + "`."));
1800
+ var N = q.name || y, D = k(z[w]);
1801
+ return new h("Invalid " + Q + " `" + R + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected ") + ("instance of `" + N + "`."));
1802
1802
  }
1803
1803
  return null;
1804
1804
  }
@@ -1809,28 +1809,28 @@ function ta() {
1809
1809
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1810
1810
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1811
1811
  ) : i("Invalid argument supplied to oneOf, expected an array.")), a;
1812
- function Z(z, w, j, Q, D) {
1813
- for (var N = z[w], R = 0; R < q.length; R++)
1814
- if (p(N, q[R]))
1812
+ function Z(z, w, j, Q, R) {
1813
+ for (var N = z[w], D = 0; D < q.length; D++)
1814
+ if (p(N, q[D]))
1815
1815
  return null;
1816
1816
  var B = JSON.stringify(q, function(V, K) {
1817
1817
  var ce = f(K);
1818
1818
  return ce === "symbol" ? String(K) : K;
1819
1819
  });
1820
- return new g("Invalid " + Q + " `" + D + "` of value `" + String(N) + "` " + ("supplied to `" + j + "`, expected one of " + B + "."));
1820
+ return new h("Invalid " + Q + " `" + R + "` of value `" + String(N) + "` " + ("supplied to `" + j + "`, expected one of " + B + "."));
1821
1821
  }
1822
1822
  return v(Z);
1823
1823
  }
1824
1824
  function U(q) {
1825
- function Z(z, w, j, Q, D) {
1825
+ function Z(z, w, j, Q, R) {
1826
1826
  if (typeof q != "function")
1827
- return new g("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
1828
- var N = z[w], R = Y(N);
1829
- if (R !== "object")
1830
- return new g("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an object."));
1827
+ return new h("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
1828
+ var N = z[w], D = Y(N);
1829
+ if (D !== "object")
1830
+ return new h("Invalid " + Q + " `" + R + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected an object."));
1831
1831
  for (var B in N)
1832
1832
  if (r(N, B)) {
1833
- var T = q(N, B, j, Q, D + "." + B, n);
1833
+ var T = q(N, B, j, Q, R + "." + B, n);
1834
1834
  if (T instanceof Error)
1835
1835
  return T;
1836
1836
  }
@@ -1848,39 +1848,39 @@ function ta() {
1848
1848
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + L(z) + " at index " + Z + "."
1849
1849
  ), a;
1850
1850
  }
1851
- function w(j, Q, D, N, R) {
1851
+ function w(j, Q, R, N, D) {
1852
1852
  for (var B = [], T = 0; T < q.length; T++) {
1853
- var V = q[T], K = V(j, Q, D, N, R, n);
1853
+ var V = q[T], K = V(j, Q, R, N, D, n);
1854
1854
  if (K == null)
1855
1855
  return null;
1856
1856
  K.data && r(K.data, "expectedType") && B.push(K.data.expectedType);
1857
1857
  }
1858
1858
  var ce = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
1859
- return new g("Invalid " + N + " `" + R + "` supplied to " + ("`" + D + "`" + ce + "."));
1859
+ return new h("Invalid " + N + " `" + D + "` supplied to " + ("`" + R + "`" + ce + "."));
1860
1860
  }
1861
1861
  return v(w);
1862
1862
  }
1863
1863
  function F() {
1864
1864
  function q(Z, z, w, j, Q) {
1865
- return W(Z[z]) ? null : new g("Invalid " + j + " `" + Q + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
1865
+ return W(Z[z]) ? null : new h("Invalid " + j + " `" + Q + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
1866
1866
  }
1867
1867
  return v(q);
1868
1868
  }
1869
1869
  function oe(q, Z, z, w, j) {
1870
- return new g(
1870
+ return new h(
1871
1871
  (q || "React class") + ": " + Z + " type `" + z + "." + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
1872
1872
  );
1873
1873
  }
1874
1874
  function X(q) {
1875
- function Z(z, w, j, Q, D) {
1876
- var N = z[w], R = Y(N);
1877
- if (R !== "object")
1878
- return new g("Invalid " + Q + " `" + D + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
1875
+ function Z(z, w, j, Q, R) {
1876
+ var N = z[w], D = Y(N);
1877
+ if (D !== "object")
1878
+ return new h("Invalid " + Q + " `" + R + "` of type `" + D + "` " + ("supplied to `" + j + "`, expected `object`."));
1879
1879
  for (var B in q) {
1880
1880
  var T = q[B];
1881
1881
  if (typeof T != "function")
1882
- return oe(j, Q, D, B, f(T));
1883
- var V = T(N, B, j, Q, D + "." + B, n);
1882
+ return oe(j, Q, R, B, f(T));
1883
+ var V = T(N, B, j, Q, R + "." + B, n);
1884
1884
  if (V)
1885
1885
  return V;
1886
1886
  }
@@ -1889,21 +1889,21 @@ function ta() {
1889
1889
  return v(Z);
1890
1890
  }
1891
1891
  function _(q) {
1892
- function Z(z, w, j, Q, D) {
1893
- var N = z[w], R = Y(N);
1894
- if (R !== "object")
1895
- return new g("Invalid " + Q + " `" + D + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
1892
+ function Z(z, w, j, Q, R) {
1893
+ var N = z[w], D = Y(N);
1894
+ if (D !== "object")
1895
+ return new h("Invalid " + Q + " `" + R + "` of type `" + D + "` " + ("supplied to `" + j + "`, expected `object`."));
1896
1896
  var B = t({}, z[w], q);
1897
1897
  for (var T in B) {
1898
1898
  var V = q[T];
1899
1899
  if (r(q, T) && typeof V != "function")
1900
- return oe(j, Q, D, T, f(V));
1900
+ return oe(j, Q, R, T, f(V));
1901
1901
  if (!V)
1902
- return new g(
1903
- "Invalid " + Q + " `" + D + "` key `" + T + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(z[w], null, " ") + `
1902
+ return new h(
1903
+ "Invalid " + Q + " `" + R + "` key `" + T + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(z[w], null, " ") + `
1904
1904
  Valid keys: ` + JSON.stringify(Object.keys(q), null, " ")
1905
1905
  );
1906
- var K = V(N, T, j, Q, D + "." + T, n);
1906
+ var K = V(N, T, j, Q, R + "." + T, n);
1907
1907
  if (K)
1908
1908
  return K;
1909
1909
  }
@@ -1980,7 +1980,7 @@ Valid keys: ` + JSON.stringify(Object.keys(q), null, " ")
1980
1980
  function k(q) {
1981
1981
  return !q.constructor || !q.constructor.name ? y : q.constructor.name;
1982
1982
  }
1983
- return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
1983
+ return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
1984
1984
  }, Zn;
1985
1985
  }
1986
1986
  var In, Yr;
@@ -2127,14 +2127,14 @@ var va = {
2127
2127
  return ha.default.createElement(qa.default, ua({}, A, {
2128
2128
  bgColor: n,
2129
2129
  bgD: c.map(function(s, d) {
2130
- return s.map(function(y, h) {
2131
- return y ? "" : "M " + h + " " + d + " l 1 0 0 1 -1 0 Z";
2130
+ return s.map(function(y, g) {
2131
+ return y ? "" : "M " + g + " " + d + " l 1 0 0 1 -1 0 Z";
2132
2132
  }).join(" ");
2133
2133
  }).join(" "),
2134
2134
  fgColor: r,
2135
2135
  fgD: c.map(function(s, d) {
2136
- return s.map(function(y, h) {
2137
- return y ? "M " + h + " " + d + " l 1 0 0 1 -1 0 Z" : "";
2136
+ return s.map(function(y, g) {
2137
+ return y ? "M " + g + " " + d + " l 1 0 0 1 -1 0 Z" : "";
2138
2138
  }).join(" ");
2139
2139
  }).join(" "),
2140
2140
  ref: t,
@@ -2486,8 +2486,8 @@ function sn(e, t, n) {
2486
2486
  metaTokens: !0,
2487
2487
  dots: !1,
2488
2488
  indexes: !1
2489
- }, !1, function(g, v) {
2490
- return !b.isUndefined(v[g]);
2489
+ }, !1, function(h, v) {
2490
+ return !b.isUndefined(v[h]);
2491
2491
  });
2492
2492
  const r = n.metaTokens, o = n.visitor || s, i = n.dots, a = n.indexes, m = (n.Blob || typeof Blob < "u" && Blob) && b.isSpecCompliantForm(t);
2493
2493
  if (!b.isFunction(o))
@@ -2501,45 +2501,45 @@ function sn(e, t, n) {
2501
2501
  throw new te("Blob is not supported. Use a Buffer instead.");
2502
2502
  return b.isArrayBuffer(p) || b.isTypedArray(p) ? m && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
2503
2503
  }
2504
- function s(p, g, v) {
2504
+ function s(p, h, v) {
2505
2505
  let x = p;
2506
2506
  if (p && !v && typeof p == "object") {
2507
- if (b.endsWith(g, "{}"))
2508
- g = r ? g : g.slice(0, -2), p = JSON.stringify(p);
2509
- else if (b.isArray(p) && oA(p) || (b.isFileList(p) || b.endsWith(g, "[]")) && (x = b.toArray(p)))
2510
- return g = ko(g), x.forEach(function(J, O) {
2507
+ if (b.endsWith(h, "{}"))
2508
+ h = r ? h : h.slice(0, -2), p = JSON.stringify(p);
2509
+ else if (b.isArray(p) && oA(p) || (b.isFileList(p) || b.endsWith(h, "[]")) && (x = b.toArray(p)))
2510
+ return h = ko(h), x.forEach(function(J, O) {
2511
2511
  !(b.isUndefined(J) || J === null) && t.append(
2512
2512
  // eslint-disable-next-line no-nested-ternary
2513
- a === !0 ? Nr([g], O, i) : a === null ? g : g + "[]",
2513
+ a === !0 ? Nr([h], O, i) : a === null ? h : h + "[]",
2514
2514
  c(J)
2515
2515
  );
2516
2516
  }), !1;
2517
2517
  }
2518
- return Jn(p) ? !0 : (t.append(Nr(v, g, i), c(p)), !1);
2518
+ return Jn(p) ? !0 : (t.append(Nr(v, h, i), c(p)), !1);
2519
2519
  }
2520
2520
  const d = [], y = Object.assign(iA, {
2521
2521
  defaultVisitor: s,
2522
2522
  convertValue: c,
2523
2523
  isVisitable: Jn
2524
2524
  });
2525
- function h(p, g) {
2525
+ function g(p, h) {
2526
2526
  if (!b.isUndefined(p)) {
2527
2527
  if (d.indexOf(p) !== -1)
2528
- throw Error("Circular reference detected in " + g.join("."));
2528
+ throw Error("Circular reference detected in " + h.join("."));
2529
2529
  d.push(p), b.forEach(p, function(x, E) {
2530
2530
  (!(b.isUndefined(x) || x === null) && o.call(
2531
2531
  t,
2532
2532
  x,
2533
2533
  b.isString(E) ? E.trim() : E,
2534
- g,
2534
+ h,
2535
2535
  y
2536
- )) === !0 && h(x, g ? g.concat(E) : [E]);
2536
+ )) === !0 && g(x, h ? h.concat(E) : [E]);
2537
2537
  }), d.pop();
2538
2538
  }
2539
2539
  }
2540
2540
  if (!b.isObject(e))
2541
2541
  throw new TypeError("data must be an object");
2542
- return h(e), t;
2542
+ return g(e), t;
2543
2543
  }
2544
2544
  function Dr(e) {
2545
2545
  const t = {
@@ -3066,8 +3066,8 @@ function MA(e, t) {
3066
3066
  y += n[d++], d = d % e;
3067
3067
  if (o = (o + 1) % e, o === i && (i = (i + 1) % e), c - a < t)
3068
3068
  return;
3069
- const h = s && c - s;
3070
- return h ? Math.round(y * 1e3 / h) : void 0;
3069
+ const g = s && c - s;
3070
+ return g ? Math.round(y * 1e3 / g) : void 0;
3071
3071
  };
3072
3072
  }
3073
3073
  function Tr(e, t) {
@@ -3100,8 +3100,8 @@ const SA = typeof XMLHttpRequest < "u", LA = SA && function(e) {
3100
3100
  b.isFormData(o) && (De.isStandardBrowserEnv || De.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.getContentType(/^\s*multipart\/form-data/) ? b.isString(c = i.getContentType()) && i.setContentType(c.replace(/^\s*(multipart\/form-data);+/, "$1")) : i.setContentType("multipart/form-data"));
3101
3101
  let s = new XMLHttpRequest();
3102
3102
  if (e.auth) {
3103
- const p = e.auth.username || "", g = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
3104
- i.set("Authorization", "Basic " + btoa(p + ":" + g));
3103
+ const p = e.auth.username || "", h = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
3104
+ i.set("Authorization", "Basic " + btoa(p + ":" + h));
3105
3105
  }
3106
3106
  const d = Do(e.baseURL, e.url);
3107
3107
  s.open(e.method.toUpperCase(), Yo(d, e.params, e.paramsSerializer), !0), s.timeout = e.timeout;
@@ -3131,10 +3131,10 @@ const SA = typeof XMLHttpRequest < "u", LA = SA && function(e) {
3131
3131
  }, s.onerror = function() {
3132
3132
  r(new te("Network Error", te.ERR_NETWORK, e, s)), s = null;
3133
3133
  }, s.ontimeout = function() {
3134
- let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
3134
+ let h = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
3135
3135
  const v = e.transitional || jo;
3136
- e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new te(
3137
- g,
3136
+ e.timeoutErrorMessage && (h = e.timeoutErrorMessage), r(new te(
3137
+ h,
3138
3138
  v.clarifyTimeoutError ? te.ETIMEDOUT : te.ECONNABORTED,
3139
3139
  e,
3140
3140
  s
@@ -3143,14 +3143,14 @@ const SA = typeof XMLHttpRequest < "u", LA = SA && function(e) {
3143
3143
  const p = (e.withCredentials || KA(d)) && e.xsrfCookieName && IA.read(e.xsrfCookieName);
3144
3144
  p && i.set(e.xsrfHeaderName, p);
3145
3145
  }
3146
- o === void 0 && i.setContentType(null), "setRequestHeader" in s && b.forEach(i.toJSON(), function(g, v) {
3147
- s.setRequestHeader(v, g);
3146
+ o === void 0 && i.setContentType(null), "setRequestHeader" in s && b.forEach(i.toJSON(), function(h, v) {
3147
+ s.setRequestHeader(v, h);
3148
3148
  }), b.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Tr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Tr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (p) => {
3149
3149
  s && (r(!p || p.type ? new Lt(null, e, s) : p), s.abort(), s = null);
3150
3150
  }, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
3151
- const h = WA(d);
3152
- if (h && De.protocols.indexOf(h) === -1) {
3153
- r(new te("Unsupported protocol " + h + ":", te.ERR_BAD_REQUEST, e));
3151
+ const g = WA(d);
3152
+ if (g && De.protocols.indexOf(g) === -1) {
3153
+ r(new te("Unsupported protocol " + g + ":", te.ERR_BAD_REQUEST, e));
3154
3154
  return;
3155
3155
  }
3156
3156
  s.send(o || null);
@@ -3373,12 +3373,12 @@ class Vt {
3373
3373
  ), n.headers = He.concat(a, i);
3374
3374
  const A = [];
3375
3375
  let m = !0;
3376
- this.interceptors.request.forEach(function(g) {
3377
- typeof g.runWhen == "function" && g.runWhen(n) === !1 || (m = m && g.synchronous, A.unshift(g.fulfilled, g.rejected));
3376
+ this.interceptors.request.forEach(function(h) {
3377
+ typeof h.runWhen == "function" && h.runWhen(n) === !1 || (m = m && h.synchronous, A.unshift(h.fulfilled, h.rejected));
3378
3378
  });
3379
3379
  const c = [];
3380
- this.interceptors.response.forEach(function(g) {
3381
- c.push(g.fulfilled, g.rejected);
3380
+ this.interceptors.response.forEach(function(h) {
3381
+ c.push(h.fulfilled, h.rejected);
3382
3382
  });
3383
3383
  let s, d = 0, y;
3384
3384
  if (!m) {
@@ -3388,18 +3388,18 @@ class Vt {
3388
3388
  return s;
3389
3389
  }
3390
3390
  y = A.length;
3391
- let h = n;
3391
+ let g = n;
3392
3392
  for (d = 0; d < y; ) {
3393
- const p = A[d++], g = A[d++];
3393
+ const p = A[d++], h = A[d++];
3394
3394
  try {
3395
- h = p(h);
3395
+ g = p(g);
3396
3396
  } catch (v) {
3397
- g.call(this, v);
3397
+ h.call(this, v);
3398
3398
  break;
3399
3399
  }
3400
3400
  }
3401
3401
  try {
3402
- s = Xr.call(this, h);
3402
+ s = Xr.call(this, g);
3403
3403
  } catch (p) {
3404
3404
  return Promise.reject(p);
3405
3405
  }
@@ -3704,7 +3704,7 @@ async function HA(e, t, n) {
3704
3704
  })).data;
3705
3705
  }
3706
3706
  async function XA(e, t, n, r, o) {
3707
- return console.log(r), (await ge.post(e + "/createPlayableVersionLink", {
3707
+ return (await ge.post(e + "/createPlayableVersionLink", {
3708
3708
  _id: t,
3709
3709
  network: n,
3710
3710
  isPfTest: r,
@@ -3767,7 +3767,7 @@ function Ve() {
3767
3767
  (e = arguments[n++]) && (t = Fo(e)) && (r && (r += " "), r += t);
3768
3768
  return r;
3769
3769
  }
3770
- const Zt = (e) => typeof e == "number" && !isNaN(e), at = (e) => typeof e == "string", Ze = (e) => typeof e == "function", Qt = (e) => at(e) || Ze(e) ? e : null, Mn = (e) => mt(e) || at(e) || Ze(e) || Zt(e);
3770
+ const Zt = (e) => typeof e == "number" && !isNaN(e), at = (e) => typeof e == "string", Ie = (e) => typeof e == "function", Qt = (e) => at(e) || Ie(e) ? e : null, Mn = (e) => mt(e) || at(e) || Ie(e) || Zt(e);
3771
3771
  function BA(e, t, n) {
3772
3772
  n === void 0 && (n = 300);
3773
3773
  const { scrollHeight: r, style: o } = e;
@@ -3781,17 +3781,17 @@ function cn(e) {
3781
3781
  let { enter: t, exit: n, appendPosition: r = !1, collapse: o = !0, collapseDuration: i = 300 } = e;
3782
3782
  return function(a) {
3783
3783
  let { children: A, position: m, preventExitTransition: c, done: s, nodeRef: d, isIn: y } = a;
3784
- const h = r ? `${t}--${m}` : t, p = r ? `${n}--${m}` : n, g = nt(0);
3784
+ const g = r ? `${t}--${m}` : t, p = r ? `${n}--${m}` : n, h = nt(0);
3785
3785
  return Ei(() => {
3786
- const v = d.current, x = h.split(" "), E = (J) => {
3787
- J.target === d.current && (v.dispatchEvent(new Event("d")), v.removeEventListener("animationend", E), v.removeEventListener("animationcancel", E), g.current === 0 && J.type !== "animationcancel" && v.classList.remove(...x));
3786
+ const v = d.current, x = g.split(" "), E = (J) => {
3787
+ J.target === d.current && (v.dispatchEvent(new Event("d")), v.removeEventListener("animationend", E), v.removeEventListener("animationcancel", E), h.current === 0 && J.type !== "animationcancel" && v.classList.remove(...x));
3788
3788
  };
3789
3789
  v.classList.add(...x), v.addEventListener("animationend", E), v.addEventListener("animationcancel", E);
3790
- }, []), Ie(() => {
3790
+ }, []), Ce(() => {
3791
3791
  const v = d.current, x = () => {
3792
3792
  v.removeEventListener("animationend", x), o ? BA(v, s, i) : s();
3793
3793
  };
3794
- y || (c ? x() : (g.current = 1, v.className += ` ${p}`, v.addEventListener("animationend", x)));
3794
+ y || (c ? x() : (h.current = 1, v.className += ` ${p}`, v.addEventListener("animationend", x)));
3795
3795
  }, [y]), ae.createElement(ae.Fragment, null, A);
3796
3796
  };
3797
3797
  }
@@ -3831,22 +3831,22 @@ const Le = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
3831
3831
  return ae.createElement("div", { className: "Toastify__spinner" });
3832
3832
  } };
3833
3833
  function UA(e) {
3834
- const [, t] = Oi((h) => h + 1, 0), [n, r] = P([]), o = nt(null), i = nt(/* @__PURE__ */ new Map()).current, a = (h) => n.indexOf(h) !== -1, A = nt({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (h) => i.get(h) }).current;
3835
- function m(h) {
3836
- let { containerId: p } = h;
3837
- const { limit: g } = A.props;
3838
- !g || p && A.containerId !== p || (A.count -= A.queue.length, A.queue = []);
3834
+ const [, t] = Oi((g) => g + 1, 0), [n, r] = P([]), o = nt(null), i = nt(/* @__PURE__ */ new Map()).current, a = (g) => n.indexOf(g) !== -1, A = nt({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (g) => i.get(g) }).current;
3835
+ function m(g) {
3836
+ let { containerId: p } = g;
3837
+ const { limit: h } = A.props;
3838
+ !h || p && A.containerId !== p || (A.count -= A.queue.length, A.queue = []);
3839
3839
  }
3840
- function c(h) {
3841
- r((p) => h == null ? [] : p.filter((g) => g !== h));
3840
+ function c(g) {
3841
+ r((p) => g == null ? [] : p.filter((h) => h !== g));
3842
3842
  }
3843
3843
  function s() {
3844
- const { toastContent: h, toastProps: p, staleId: g } = A.queue.shift();
3845
- y(h, p, g);
3844
+ const { toastContent: g, toastProps: p, staleId: h } = A.queue.shift();
3845
+ y(g, p, h);
3846
3846
  }
3847
- function d(h, p) {
3848
- let { delay: g, staleId: v, ...x } = p;
3849
- if (!Mn(h) || function(X) {
3847
+ function d(g, p) {
3848
+ let { delay: h, staleId: v, ...x } = p;
3849
+ if (!Mn(g) || function(X) {
3850
3850
  return !o.current || A.props.enableMultiContainer && X.containerId !== A.props.containerId || i.has(X.toastId) && X.updateId == null;
3851
3851
  }(x))
3852
3852
  return;
@@ -3876,29 +3876,29 @@ function UA(e) {
3876
3876
  U.iconOut = function(X) {
3877
3877
  let { theme: _, type: W, isLoading: S, icon: Y } = X, f = null;
3878
3878
  const L = { theme: _, type: W };
3879
- return Y === !1 || (Ze(Y) ? f = Y(L) : mt(Y) ? f = kn(Y, L) : at(Y) || Zt(Y) ? f = Y : S ? f = Sn.spinner() : ((k) => k in Sn)(W) && (f = Sn[W](L))), f;
3880
- }(U), Ze(x.onOpen) && (U.onOpen = x.onOpen), Ze(x.onClose) && (U.onClose = x.onClose), U.closeButton = C.closeButton, x.closeButton === !1 || Mn(x.closeButton) ? U.closeButton = x.closeButton : x.closeButton === !0 && (U.closeButton = !Mn(C.closeButton) || C.closeButton);
3881
- let oe = h;
3882
- mt(h) && !at(h.type) ? oe = kn(h, { closeToast: ne, toastProps: U, data: O }) : Ze(h) && (oe = h({ closeToast: ne, toastProps: U, data: O })), C.limit && C.limit > 0 && A.count > C.limit && re ? A.queue.push({ toastContent: oe, toastProps: U, staleId: v }) : Zt(g) ? setTimeout(() => {
3879
+ return Y === !1 || (Ie(Y) ? f = Y(L) : mt(Y) ? f = kn(Y, L) : at(Y) || Zt(Y) ? f = Y : S ? f = Sn.spinner() : ((k) => k in Sn)(W) && (f = Sn[W](L))), f;
3880
+ }(U), Ie(x.onOpen) && (U.onOpen = x.onOpen), Ie(x.onClose) && (U.onClose = x.onClose), U.closeButton = C.closeButton, x.closeButton === !1 || Mn(x.closeButton) ? U.closeButton = x.closeButton : x.closeButton === !0 && (U.closeButton = !Mn(C.closeButton) || C.closeButton);
3881
+ let oe = g;
3882
+ mt(g) && !at(g.type) ? oe = kn(g, { closeToast: ne, toastProps: U, data: O }) : Ie(g) && (oe = g({ closeToast: ne, toastProps: U, data: O })), C.limit && C.limit > 0 && A.count > C.limit && re ? A.queue.push({ toastContent: oe, toastProps: U, staleId: v }) : Zt(h) ? setTimeout(() => {
3883
3883
  y(oe, U, v);
3884
- }, g) : y(oe, U, v);
3884
+ }, h) : y(oe, U, v);
3885
3885
  }
3886
- function y(h, p, g) {
3886
+ function y(g, p, h) {
3887
3887
  const { toastId: v } = p;
3888
- g && i.delete(g);
3889
- const x = { content: h, props: p };
3890
- i.set(v, x), r((E) => [...E, v].filter((J) => J !== g)), Le.emit(4, Br(x, x.props.updateId == null ? "added" : "updated"));
3888
+ h && i.delete(h);
3889
+ const x = { content: g, props: p };
3890
+ i.set(v, x), r((E) => [...E, v].filter((J) => J !== h)), Le.emit(4, Br(x, x.props.updateId == null ? "added" : "updated"));
3891
3891
  }
3892
- return Ie(() => (A.containerId = e.containerId, Le.cancelEmit(3).on(0, d).on(1, (h) => o.current && c(h)).on(5, m).emit(2, A), () => {
3892
+ return Ce(() => (A.containerId = e.containerId, Le.cancelEmit(3).on(0, d).on(1, (g) => o.current && c(g)).on(5, m).emit(2, A), () => {
3893
3893
  i.clear(), Le.emit(3, A);
3894
- }), []), Ie(() => {
3894
+ }), []), Ce(() => {
3895
3895
  A.props = e, A.isToastActive = a, A.displayedToast = n.length;
3896
- }), { getToastToRender: function(h) {
3897
- const p = /* @__PURE__ */ new Map(), g = Array.from(i.values());
3898
- return e.newestOnTop && g.reverse(), g.forEach((v) => {
3896
+ }), { getToastToRender: function(g) {
3897
+ const p = /* @__PURE__ */ new Map(), h = Array.from(i.values());
3898
+ return e.newestOnTop && h.reverse(), h.forEach((v) => {
3899
3899
  const { position: x } = v.props;
3900
3900
  p.has(x) || p.set(x, []), p.get(x).push(v);
3901
- }), Array.from(p, (v) => h(v[0], v[1]));
3901
+ }), Array.from(p, (v) => g(v[0], v[1]));
3902
3902
  }, containerRef: o, isToastActive: a };
3903
3903
  }
3904
3904
  function Ur(e) {
@@ -3909,7 +3909,7 @@ function Fr(e) {
3909
3909
  }
3910
3910
  function FA(e) {
3911
3911
  const [t, n] = P(!1), [r, o] = P(!1), i = nt(null), a = nt({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = nt(e), { autoClose: m, pauseOnHover: c, closeToast: s, onClick: d, closeOnClick: y } = e;
3912
- function h(O) {
3912
+ function g(O) {
3913
3913
  if (e.draggable) {
3914
3914
  O.nativeEvent.type === "touchstart" && O.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", x), document.addEventListener("mouseup", E), document.addEventListener("touchmove", x), document.addEventListener("touchend", E);
3915
3915
  const C = i.current;
@@ -3919,10 +3919,10 @@ function FA(e) {
3919
3919
  function p(O) {
3920
3920
  if (a.boundingRect) {
3921
3921
  const { top: C, bottom: ne, left: re, right: U } = a.boundingRect;
3922
- O.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= re && a.x <= U && a.y >= C && a.y <= ne ? v() : g();
3922
+ O.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= re && a.x <= U && a.y >= C && a.y <= ne ? v() : h();
3923
3923
  }
3924
3924
  }
3925
- function g() {
3925
+ function h() {
3926
3926
  n(!0);
3927
3927
  }
3928
3928
  function v() {
@@ -3941,18 +3941,18 @@ function FA(e) {
3941
3941
  O.style.transition = "transform 0.2s, opacity 0.2s", O.style.transform = `translate${e.draggableDirection}(0)`, O.style.opacity = "1";
3942
3942
  }
3943
3943
  }
3944
- Ie(() => {
3944
+ Ce(() => {
3945
3945
  A.current = e;
3946
- }), Ie(() => (i.current && i.current.addEventListener("d", g, { once: !0 }), Ze(e.onOpen) && e.onOpen(mt(e.children) && e.children.props), () => {
3946
+ }), Ce(() => (i.current && i.current.addEventListener("d", h, { once: !0 }), Ie(e.onOpen) && e.onOpen(mt(e.children) && e.children.props), () => {
3947
3947
  const O = A.current;
3948
- Ze(O.onClose) && O.onClose(mt(O.children) && O.children.props);
3949
- }), []), Ie(() => (e.pauseOnFocusLoss && (document.hasFocus() || v(), window.addEventListener("focus", g), window.addEventListener("blur", v)), () => {
3950
- e.pauseOnFocusLoss && (window.removeEventListener("focus", g), window.removeEventListener("blur", v));
3948
+ Ie(O.onClose) && O.onClose(mt(O.children) && O.children.props);
3949
+ }), []), Ce(() => (e.pauseOnFocusLoss && (document.hasFocus() || v(), window.addEventListener("focus", h), window.addEventListener("blur", v)), () => {
3950
+ e.pauseOnFocusLoss && (window.removeEventListener("focus", h), window.removeEventListener("blur", v));
3951
3951
  }), [e.pauseOnFocusLoss]);
3952
- const J = { onMouseDown: h, onTouchStart: h, onMouseUp: p, onTouchEnd: p };
3953
- return m && c && (J.onMouseEnter = v, J.onMouseLeave = g), y && (J.onClick = (O) => {
3952
+ const J = { onMouseDown: g, onTouchStart: g, onMouseUp: p, onTouchEnd: p };
3953
+ return m && c && (J.onMouseEnter = v, J.onMouseLeave = h), y && (J.onClick = (O) => {
3954
3954
  d && d(O), a.canCloseOnClick && s();
3955
- }), { playToast: g, pauseToast: v, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: J };
3955
+ }), { playToast: h, pauseToast: v, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: J };
3956
3956
  }
3957
3957
  function _o(e) {
3958
3958
  let { closeToast: t, theme: n, ariaLabel: r = "close" } = e;
@@ -3962,17 +3962,17 @@ function _o(e) {
3962
3962
  }
3963
3963
  function _A(e) {
3964
3964
  let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: m, progress: c, rtl: s, isIn: d, theme: y } = e;
3965
- const h = i || m && c === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: h ? 0 : 1 };
3965
+ const g = i || m && c === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: g ? 0 : 1 };
3966
3966
  m && (p.transform = `scaleX(${c})`);
3967
- const g = Ve("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${y}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), v = Ze(a) ? a({ rtl: s, type: o, defaultClassName: g }) : Ve(g, a);
3968
- return ae.createElement("div", { role: "progressbar", "aria-hidden": h ? "true" : "false", "aria-label": "notification timer", className: v, style: p, [m && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: m && c < 1 ? null : () => {
3967
+ const h = Ve("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${y}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), v = Ie(a) ? a({ rtl: s, type: o, defaultClassName: h }) : Ve(h, a);
3968
+ return ae.createElement("div", { role: "progressbar", "aria-hidden": g ? "true" : "false", "aria-label": "notification timer", className: v, style: p, [m && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: m && c < 1 ? null : () => {
3969
3969
  d && r();
3970
3970
  } });
3971
3971
  }
3972
3972
  const $A = (e) => {
3973
- const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = FA(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: s, closeToast: d, transition: y, position: h, className: p, style: g, bodyClassName: v, bodyStyle: x, progressClassName: E, progressStyle: J, updateId: O, role: C, progress: ne, rtl: re, toastId: U, deleteToast: Ae, isIn: F, isLoading: oe, iconOut: X, closeOnClick: _, theme: W } = e, S = Ve("Toastify__toast", `Toastify__toast-theme--${W}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": re }, { "Toastify__toast--close-on-click": _ }), Y = Ze(p) ? p({ rtl: re, position: h, type: c, defaultClassName: S }) : Ve(S, p), f = !!ne || !A, L = { closeToast: d, type: c, theme: W };
3973
+ const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = FA(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: s, closeToast: d, transition: y, position: g, className: p, style: h, bodyClassName: v, bodyStyle: x, progressClassName: E, progressStyle: J, updateId: O, role: C, progress: ne, rtl: re, toastId: U, deleteToast: Ae, isIn: F, isLoading: oe, iconOut: X, closeOnClick: _, theme: W } = e, S = Ve("Toastify__toast", `Toastify__toast-theme--${W}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": re }, { "Toastify__toast--close-on-click": _ }), Y = Ie(p) ? p({ rtl: re, position: g, type: c, defaultClassName: S }) : Ve(S, p), f = !!ne || !A, L = { closeToast: d, type: c, theme: W };
3974
3974
  let k = null;
3975
- return i === !1 || (k = Ze(i) ? i(L) : mt(i) ? kn(i, L) : _o(L)), ae.createElement(y, { isIn: F, done: Ae, position: h, preventExitTransition: n, nodeRef: r }, ae.createElement("div", { id: U, onClick: m, className: Y, ...o, style: g, ref: r }, ae.createElement("div", { ...F && { role: C }, className: Ze(v) ? v({ type: c }) : Ve("Toastify__toast-body", v), style: x }, X != null && ae.createElement("div", { className: Ve("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !oe }) }, X), ae.createElement("div", null, a)), k, ae.createElement(_A, { ...O && !f ? { key: `pb-${O}` } : {}, rtl: re, theme: W, delay: A, isRunning: t, isIn: F, closeToast: d, hide: s, type: c, style: J, className: E, controlledProgress: f, progress: ne || 0 })));
3975
+ return i === !1 || (k = Ie(i) ? i(L) : mt(i) ? kn(i, L) : _o(L)), ae.createElement(y, { isIn: F, done: Ae, position: g, preventExitTransition: n, nodeRef: r }, ae.createElement("div", { id: U, onClick: m, className: Y, ...o, style: h, ref: r }, ae.createElement("div", { ...F && { role: C }, className: Ie(v) ? v({ type: c }) : Ve("Toastify__toast-body", v), style: x }, X != null && ae.createElement("div", { className: Ve("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !oe }) }, X), ae.createElement("div", null, a)), k, ae.createElement(_A, { ...O && !f ? { key: `pb-${O}` } : {}, rtl: re, theme: W, delay: A, isRunning: t, isIn: F, closeToast: d, hide: s, type: c, style: J, className: E, controlledProgress: f, progress: ne || 0 })));
3976
3976
  }, mn = function(e, t) {
3977
3977
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
3978
3978
  }, es = cn(mn("bounce", !0));
@@ -3983,15 +3983,15 @@ const Tn = Li((e, t) => {
3983
3983
  const { getToastToRender: n, containerRef: r, isToastActive: o } = UA(e), { className: i, style: a, rtl: A, containerId: m } = e;
3984
3984
  function c(s) {
3985
3985
  const d = Ve("Toastify__toast-container", `Toastify__toast-container--${s}`, { "Toastify__toast-container--rtl": A });
3986
- return Ze(i) ? i({ position: s, rtl: A, defaultClassName: d }) : Ve(d, Qt(i));
3986
+ return Ie(i) ? i({ position: s, rtl: A, defaultClassName: d }) : Ve(d, Qt(i));
3987
3987
  }
3988
- return Ie(() => {
3988
+ return Ce(() => {
3989
3989
  t && (t.current = r.current);
3990
3990
  }, []), ae.createElement("div", { ref: r, className: "Toastify", id: m }, n((s, d) => {
3991
3991
  const y = d.length ? { ...a } : { ...a, pointerEvents: "none" };
3992
- return ae.createElement("div", { className: c(s), style: y, key: `container-${s}` }, d.map((h, p) => {
3993
- let { content: g, props: v } = h;
3994
- return ae.createElement($A, { ...v, isIn: o(v.toastId), style: { ...v.style, "--nth": p + 1, "--len": d.length }, key: `toast-${v.key}` }, g);
3992
+ return ae.createElement("div", { className: c(s), style: y, key: `container-${s}` }, d.map((g, p) => {
3993
+ let { content: h, props: v } = g;
3994
+ return ae.createElement($A, { ...v, isIn: o(v.toastId), style: { ...v.style, "--nth": p + 1, "--len": d.length }, key: `toast-${v.key}` }, h);
3995
3995
  }));
3996
3996
  }));
3997
3997
  });
@@ -4021,9 +4021,9 @@ me.loading = (e, t) => It(e, Ut("default", { isLoading: !0, autoClose: !1, close
4021
4021
  const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, m = (s, d, y) => {
4022
4022
  if (d == null)
4023
4023
  return void me.dismiss(r);
4024
- const h = { type: s, ...A, ...n, data: y }, p = at(d) ? { render: d } : d;
4025
- return r ? me.update(r, { ...h, ...p }) : me(p.render, { ...h, ...p }), y;
4026
- }, c = Ze(e) ? e() : e;
4024
+ const g = { type: s, ...A, ...n, data: y }, p = at(d) ? { render: d } : d;
4025
+ return r ? me.update(r, { ...g, ...p }) : me(p.render, { ...g, ...p }), y;
4026
+ }, c = Ie(e) ? e() : e;
4027
4027
  return c.then((s) => m("success", a, s)).catch((s) => m("error", i, s)), c;
4028
4028
  }, me.success = Dt("success"), me.info = Dt("info"), me.error = Dt("error"), me.warning = Dt("warning"), me.warn = me.warning, me.dark = (e, t) => It(e, Ut("default", { theme: "dark", ...t })), me.dismiss = (e) => {
4029
4029
  $e.size > 0 ? Le.emit(1, e) : Ct = Ct.filter((t) => e != null && t.options.toastId !== e);
@@ -4071,7 +4071,7 @@ function Ot(e) {
4071
4071
  theme: "light"
4072
4072
  });
4073
4073
  }
4074
- let sr = "", tt = "Playable", Ce = null, ei = null;
4074
+ let sr = "", tt = "Playable", Ze = null, ei = null;
4075
4075
  const Pt = async (e) => {
4076
4076
  let t = sr + "/" + e, n = e;
4077
4077
  fetch(t).then((r) => r.blob()).then((r) => {
@@ -4092,8 +4092,8 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4092
4092
  tt === "Playable" ? (n && await Bt(
4093
4093
  e,
4094
4094
  { iosLink: n == null ? void 0 : n.iosUrl, androidLink: n == null ? void 0 : n.googleUrl },
4095
- Ce
4096
- ), XA(Ce, e, t, o, i).then(async (c) => {
4095
+ Ze
4096
+ ), XA(Ze, e, t, o, i).then(async (c) => {
4097
4097
  let { url: s } = c;
4098
4098
  await m(s), a(c);
4099
4099
  }).catch((c) => {
@@ -4105,14 +4105,14 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4105
4105
  iosLink: n == null ? void 0 : n.iosUrl,
4106
4106
  androidLink: n == null ? void 0 : n.googleUrl
4107
4107
  },
4108
- Ce
4108
+ Ze
4109
4109
  ), TA(
4110
4110
  {
4111
4111
  _id: e,
4112
4112
  network: t,
4113
4113
  extras: i
4114
4114
  },
4115
- Ce
4115
+ Ze
4116
4116
  ).then(async (c) => {
4117
4117
  if (c.message) {
4118
4118
  A(c);
@@ -4123,7 +4123,7 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4123
4123
  }).catch((c) => {
4124
4124
  let s = c.response.data.error.msg;
4125
4125
  A({ message: s });
4126
- })) : tt === "Import" ? HA(Ce, e, t).then(async (c) => {
4126
+ })) : tt === "Import" ? HA(Ze, e, t).then(async (c) => {
4127
4127
  let s = c.url;
4128
4128
  await m(s), a(c);
4129
4129
  }).catch((c) => {
@@ -4132,8 +4132,8 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4132
4132
  }) : tt === "Ready" && (n && ((i == null ? void 0 : i.urlType) === "single" && (n.googleUrl = n.iosUrl), await Bt(
4133
4133
  e,
4134
4134
  { iosLink: n == null ? void 0 : n.iosUrl, androidLink: n == null ? void 0 : n.googleUrl },
4135
- Ce
4136
- )), PA(Ce, e, t, o, i).then(async (c) => {
4135
+ Ze
4136
+ )), PA(Ze, e, t, o, i).then(async (c) => {
4137
4137
  if (c.message) {
4138
4138
  A(c);
4139
4139
  return;
@@ -4148,14 +4148,14 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4148
4148
  }
4149
4149
  async function os(e, t, n) {
4150
4150
  return new Promise(async (r, o) => {
4151
- console.log("get multi download"), tt === "Flex" ? (await Uo(
4151
+ tt === "Flex" ? (await Uo(
4152
4152
  {
4153
4153
  _id: e,
4154
4154
  iosLink: t == null ? void 0 : t.iosUrl,
4155
4155
  androidLink: t == null ? void 0 : t.googleUrl
4156
4156
  },
4157
- Ce
4158
- ), GA(e, n, Ce).then(async (i) => {
4157
+ Ze
4158
+ ), GA(e, n, Ze).then(async (i) => {
4159
4159
  if (i.message) {
4160
4160
  o(i);
4161
4161
  return;
@@ -4164,12 +4164,12 @@ async function os(e, t, n) {
4164
4164
  }).catch((i) => {
4165
4165
  let a = i.response.data.error.msg;
4166
4166
  o({ message: a });
4167
- })) : tt === "Ready" ? (console.log("ready"), await Bt(
4167
+ })) : tt === "Ready" ? (await Bt(
4168
4168
  e,
4169
4169
  { iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
4170
- Ce
4171
- ), console.log("ready link multi"), VA(e, n, Ce).then(async (i) => {
4172
- if (console.log("res", i), i.message) {
4170
+ Ze
4171
+ ), VA(e, n, Ze).then(async (i) => {
4172
+ if (i.message) {
4173
4173
  o(i);
4174
4174
  return;
4175
4175
  }
@@ -4181,8 +4181,8 @@ async function os(e, t, n) {
4181
4181
  })) : (await Bt(
4182
4182
  e,
4183
4183
  { iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
4184
- Ce
4185
- ), QA(e, n, Ce).then(async (i) => {
4184
+ Ze
4185
+ ), QA(e, n, Ze).then(async (i) => {
4186
4186
  await Pt(i.url), r(i.url);
4187
4187
  }).catch((i) => {
4188
4188
  let a = i.response.data.error.msg;
@@ -4191,7 +4191,7 @@ async function os(e, t, n) {
4191
4191
  });
4192
4192
  }
4193
4193
  function is(e, t, n, r) {
4194
- tt = e, Ce = t, ei = n, sr = r;
4194
+ tt = e, Ze = t, ei = n, sr = r;
4195
4195
  }
4196
4196
  const as = ({
4197
4197
  versionId: e,
@@ -4204,7 +4204,7 @@ const as = ({
4204
4204
  urlType: A
4205
4205
  }) => {
4206
4206
  const [m, c] = P(!1), s = async () => {
4207
- c(!0), console.log("copy mobile"), Ft(
4207
+ c(!0), Ft(
4208
4208
  e,
4209
4209
  "default",
4210
4210
  {
@@ -4222,7 +4222,7 @@ const as = ({
4222
4222
  c(!1);
4223
4223
  });
4224
4224
  };
4225
- return console.log(o), /* @__PURE__ */ l.jsxs(
4225
+ return /* @__PURE__ */ l.jsxs(
4226
4226
  "div",
4227
4227
  {
4228
4228
  style: {
@@ -4371,7 +4371,15 @@ const as = ({
4371
4371
  urlType: s
4372
4372
  }) => {
4373
4373
  const [d, y] = P(window.innerWidth);
4374
- Ie(() => {
4374
+ console.log("iosLink", m), Ce(() => {
4375
+ console.log("re add event listener");
4376
+ function p(h) {
4377
+ console.log(h), h.data === "cta" && (console.log("Received 'cta' message from iframe"), m && window.open(m, "_blank"));
4378
+ }
4379
+ return window.addEventListener("message", p, !1), () => {
4380
+ window.removeEventListener("message", p);
4381
+ };
4382
+ }, [m, c]), Ce(() => {
4375
4383
  const p = () => {
4376
4384
  y(window.innerWidth);
4377
4385
  };
@@ -4379,7 +4387,7 @@ const as = ({
4379
4387
  window.removeEventListener("resize", p);
4380
4388
  };
4381
4389
  }, []);
4382
- const h = (e == null ? void 0 : e.length) > 25 ? e.slice(0, 25) + "..." : e;
4390
+ const g = (e == null ? void 0 : e.length) > 25 ? e.slice(0, 25) + "..." : e;
4383
4391
  return /* @__PURE__ */ l.jsxs(
4384
4392
  "div",
4385
4393
  {
@@ -4395,7 +4403,7 @@ const as = ({
4395
4403
  },
4396
4404
  children: [
4397
4405
  /* @__PURE__ */ l.jsx(Di, { iframeUrl: o }),
4398
- /* @__PURE__ */ l.jsx(Ri, { name: h }),
4406
+ /* @__PURE__ */ l.jsx(Ri, { name: g }),
4399
4407
  /* @__PURE__ */ l.jsx(
4400
4408
  as,
4401
4409
  {
@@ -4703,7 +4711,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
4703
4711
  urlType: d,
4704
4712
  setUrlType: y
4705
4713
  }) => {
4706
- const h = () => /* @__PURE__ */ l.jsxs(
4714
+ const g = () => /* @__PURE__ */ l.jsxs(
4707
4715
  "div",
4708
4716
  {
4709
4717
  style: {
@@ -4884,7 +4892,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
4884
4892
  flexDirection: "column"
4885
4893
  },
4886
4894
  children: [
4887
- m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(h, {}),
4895
+ m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(g, {}),
4888
4896
  e === "Ready" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
4889
4897
  /* @__PURE__ */ l.jsx(p, {}),
4890
4898
  d === "game" && /* @__PURE__ */ l.jsx(
@@ -4963,7 +4971,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
4963
4971
  isTest: s,
4964
4972
  setIsTest: d,
4965
4973
  urlType: y,
4966
- setUrlType: h
4974
+ setUrlType: g
4967
4975
  }) => /* @__PURE__ */ l.jsxs(
4968
4976
  "div",
4969
4977
  {
@@ -4999,7 +5007,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
4999
5007
  isTest: s,
5000
5008
  setIsTest: d,
5001
5009
  urlType: y,
5002
- setUrlType: h
5010
+ setUrlType: g
5003
5011
  }
5004
5012
  ),
5005
5013
  /* @__PURE__ */ l.jsx(ss, { typeOfProduct: e })
@@ -5041,7 +5049,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
5041
5049
  }
5042
5050
  ), hs = ({ checked: e, typeOfProduct: t, id: n }) => {
5043
5051
  const [r, o] = P(e);
5044
- Ie(() => {
5052
+ Ce(() => {
5045
5053
  o(e);
5046
5054
  }, [e]);
5047
5055
  const i = () => {
@@ -5728,9 +5736,9 @@ const bs = ({
5728
5736
  api: s,
5729
5737
  handleDownloadError: d,
5730
5738
  fetchFileUrl: y,
5731
- urls: h,
5739
+ urls: g,
5732
5740
  game: p,
5733
- setIsConfirmActive: g,
5741
+ setIsConfirmActive: h,
5734
5742
  creditDownload: v,
5735
5743
  getDownloadCount: x,
5736
5744
  disabled: E,
@@ -5784,20 +5792,20 @@ const bs = ({
5784
5792
  jammp: "copy,html",
5785
5793
  mraid: "copy,html"
5786
5794
  };
5787
- const D = () => {
5795
+ const R = () => {
5788
5796
  n(e);
5789
5797
  }, N = async (V, K) => (U(!0), new Promise((ce, Xe) => {
5790
- Ft(c, V, h, K, C, { urlType: ne }).then((we) => {
5798
+ Ft(c, V, g, K, C, { urlType: ne }).then((we) => {
5791
5799
  U(!1), ce(we);
5792
5800
  }).catch((we) => {
5793
5801
  U(!1), d(we.message, we), Xe(we);
5794
5802
  });
5795
- })), R = async (V = !1) => {
5803
+ })), D = async (V = !1) => {
5796
5804
  V ? z(!0) : q(!0);
5797
5805
  const K = {
5798
5806
  molocoGenerateHtml: !1
5799
5807
  };
5800
- V && (K.molocoGenerateHtml = !0), Ft(c, o, h, "download", C, K).then((ce) => {
5808
+ V && (K.molocoGenerateHtml = !0), Ft(c, o, g, "download", C, K).then((ce) => {
5801
5809
  V ? z(!1) : q(!1), Y(!1);
5802
5810
  }).catch((ce) => {
5803
5811
  d(ce.message, ce);
@@ -5828,7 +5836,7 @@ const bs = ({
5828
5836
  cursor: "pointer"
5829
5837
  },
5830
5838
  className: "border-hover-" + m,
5831
- onClick: D,
5839
+ onClick: R,
5832
5840
  children: [
5833
5841
  /* @__PURE__ */ l.jsxs(
5834
5842
  "div",
@@ -5907,7 +5915,7 @@ const bs = ({
5907
5915
  /* @__PURE__ */ l.jsx(
5908
5916
  "img",
5909
5917
  {
5910
- onClick: D,
5918
+ onClick: R,
5911
5919
  style: {
5912
5920
  width: "30rem",
5913
5921
  // Equivalent to 120/4 = 30rem
@@ -5941,8 +5949,8 @@ const bs = ({
5941
5949
  return;
5942
5950
  } else {
5943
5951
  F("download");
5944
- const K = h.iosUrl, ce = h.googleUrl;
5945
- v && v.willSpendCredit ? (g(!0), L("download"), X(!0)) : ["Playable", "Flex"].includes(m) && (!K || !ce) || m === "Ready" && ne === "single" && !K || m === "Ready" && ne === "multi" && (!K || !ce) ? (g(!0), W(!0)) : (W(!1), X(!1), await N(o, "download"));
5952
+ const K = g.iosUrl, ce = g.googleUrl;
5953
+ v && v.willSpendCredit ? (h(!0), L("download"), X(!0)) : ["Playable", "Flex"].includes(m) && (!K || !ce) || m === "Ready" && ne === "single" && !K || m === "Ready" && ne === "multi" && (!K || !ce) ? (h(!0), W(!0)) : (W(!1), X(!1), await N(o, "download"));
5946
5954
  }
5947
5955
  },
5948
5956
  children: [
@@ -5974,8 +5982,8 @@ const bs = ({
5974
5982
  className: "w-1/3 border-hover-" + m,
5975
5983
  onClickDonwload: async (V) => {
5976
5984
  V.stopPropagation(), F("copyLink");
5977
- const K = h.iosUrl, ce = h.googleUrl;
5978
- v && (v != null && v.willSpendCredit) ? (L("copy"), g(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (g(!0), W(!0)) : (X(!1), W(!1), await N(o, "copy"));
5985
+ const K = g.iosUrl, ce = g.googleUrl;
5986
+ v && (v != null && v.willSpendCredit) ? (L("copy"), h(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (h(!0), W(!0)) : (X(!1), W(!1), await N(o, "copy"));
5979
5987
  },
5980
5988
  disabled: E,
5981
5989
  children: /* @__PURE__ */ l.jsx(Zo, { className: "h-6 w-6 stroke-dark-full" })
@@ -5987,8 +5995,8 @@ const bs = ({
5987
5995
  className: "w-1/2 border-hover-" + m,
5988
5996
  onClickDonwload: async (V) => {
5989
5997
  V.stopPropagation(), F("download");
5990
- const K = h.iosUrl, ce = h.googleUrl;
5991
- v && (v != null && v.willSpendCredit) ? (L("download"), g(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (g(!0), W(!0)) : (X(!1), W(!1), await R(!0));
5998
+ const K = g.iosUrl, ce = g.googleUrl;
5999
+ v && (v != null && v.willSpendCredit) ? (L("download"), h(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (h(!0), W(!0)) : (X(!1), W(!1), await D(!0));
5992
6000
  },
5993
6001
  disabled: E,
5994
6002
  children: /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -6022,13 +6030,13 @@ const bs = ({
6022
6030
  {
6023
6031
  creditConfirmType: f,
6024
6032
  handleCopyLink: async () => {
6025
- W(!1), g(!1), await N(o, "copy");
6033
+ W(!1), h(!1), await N(o, "copy");
6026
6034
  },
6027
6035
  download: async () => {
6028
- W(!1), g(!1), await N(o, "download");
6036
+ W(!1), h(!1), await N(o, "download");
6029
6037
  },
6030
6038
  onClose: () => {
6031
- X(!1), g(!1);
6039
+ X(!1), h(!1);
6032
6040
  },
6033
6041
  getDownloadCount: x
6034
6042
  }
@@ -6037,16 +6045,16 @@ const bs = ({
6037
6045
  qs,
6038
6046
  {
6039
6047
  onClose: () => {
6040
- W(!1), g(!1);
6048
+ W(!1), h(!1);
6041
6049
  },
6042
- iosLink: h.iosUrl,
6043
- googleLink: h.googleUrl,
6050
+ iosLink: g.iosUrl,
6051
+ googleLink: g.googleUrl,
6044
6052
  buttonType: Ae,
6045
6053
  handleCopyLink: async () => {
6046
- W(!1), g(!1), await N(o, "copy");
6054
+ W(!1), h(!1), await N(o, "copy");
6047
6055
  },
6048
6056
  download: async () => {
6049
- W(!1), g(!1), await N(o, "download");
6057
+ W(!1), h(!1), await N(o, "download");
6050
6058
  },
6051
6059
  typeOfProduct: m,
6052
6060
  urlType: ne
@@ -6058,7 +6066,7 @@ const bs = ({
6058
6066
  onClose: () => {
6059
6067
  Y(!1);
6060
6068
  },
6061
- handleDownload: R,
6069
+ handleDownload: D,
6062
6070
  handleDownloadMolocoTest: B,
6063
6071
  downloadingMoloco: k,
6064
6072
  donwloadintMolocoTest: w,
@@ -6377,9 +6385,9 @@ const bs = ({
6377
6385
  game: s,
6378
6386
  getDownloadCount: d,
6379
6387
  disabled: y,
6380
- setSafariCopyLink: h,
6388
+ setSafariCopyLink: g,
6381
6389
  isTest: p,
6382
- urlType: g
6390
+ urlType: h
6383
6391
  }) => {
6384
6392
  const [v, x] = P([]), [E, J] = P([]), [O, C] = P(!1), [ne, re] = P(""), [U, Ae] = P(!1), [F, oe] = P(!1), [X, _] = P("download"), [W, S] = P(!1), Y = async (k) => {
6385
6393
  const q = [...v];
@@ -6389,14 +6397,14 @@ const bs = ({
6389
6397
  } else
6390
6398
  q.push(k), x([...v, k]);
6391
6399
  En.filter((Z) => [...q].includes(Z.id)).map((Z) => Z.name);
6392
- }, f = async () => (console.log("multi download"), new Promise(async (k, q) => {
6400
+ }, f = async () => new Promise(async (k, q) => {
6393
6401
  const Z = En.filter((z) => [...v].includes(z.id)).map((z) => z.name);
6394
- Ae(!0), console.log("get multi download"), os(r, c, Z).then((z) => {
6395
- console.log("get multi download res"), Ae(!1), k(z);
6402
+ Ae(!0), os(r, c, Z).then((z) => {
6403
+ Ae(!1), k(z);
6396
6404
  }).catch((z) => {
6397
6405
  console.log("get multi download err"), Ae(!1), A(z.message, z), q(z);
6398
6406
  });
6399
- })), L = async () => {
6407
+ }), L = async () => {
6400
6408
  c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (oe(!0), _("download"), S(!0)) : (S(!1), await f());
6401
6409
  };
6402
6410
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -6454,9 +6462,9 @@ const bs = ({
6454
6462
  getDownloadCount: d,
6455
6463
  disabled: y,
6456
6464
  user: a,
6457
- setSafariCopyLink: h,
6465
+ setSafariCopyLink: g,
6458
6466
  isTest: p,
6459
- urlType: g
6467
+ urlType: h
6460
6468
  },
6461
6469
  k.id
6462
6470
  );
@@ -6575,15 +6583,15 @@ const Os = [
6575
6583
  fileSize: s,
6576
6584
  setFileSize: d,
6577
6585
  setSafariCopyLink: y,
6578
- iosLink: h,
6586
+ iosLink: g,
6579
6587
  androidLink: p,
6580
- setIosLink: g,
6588
+ setIosLink: h,
6581
6589
  setAndroidLink: v,
6582
6590
  urlType: x,
6583
6591
  setUrlType: E
6584
6592
  }) => {
6585
6593
  const [J, O] = P(null), [C, ne] = P(null), [re, U] = P(null), [Ae, F] = P(!1), [oe, X] = P(!0), [_, W] = P(window.innerWidth), [S, Y] = P(!1);
6586
- Ie(() => {
6594
+ Ce(() => {
6587
6595
  const w = () => {
6588
6596
  W(window.innerWidth);
6589
6597
  };
@@ -6596,21 +6604,22 @@ const Os = [
6596
6604
  const w = await ws(e, i);
6597
6605
  return w != null && w.networks || (w.networks = Os), O(w), w;
6598
6606
  }, L = (w) => {
6599
- g(w);
6607
+ h(w);
6600
6608
  }, k = (w) => {
6601
6609
  v(w);
6602
6610
  }, q = async (w, j) => {
6603
- var Q, D;
6611
+ var Q, R;
6612
+ console.log("getIosAndAndroidLink");
6604
6613
  try {
6605
6614
  let N;
6606
6615
  if (r === "Playable" || r === "Ready") {
6607
- const R = await Ws(t, i);
6608
- if (R) {
6609
- g(R.iosLink), v(R.androidLink), F(!1);
6616
+ const D = await Ws(t, i);
6617
+ if (D) {
6618
+ console.log("version", D), h(D.iosLink), v(D.androidLink), F(!1);
6610
6619
  return;
6611
6620
  }
6612
6621
  if (w && (w.iosUrl || w.googleUrl)) {
6613
- g(w.iosUrl), v(w.googleUrl), F(!1);
6622
+ h(w.iosUrl), v(w.googleUrl), F(!1);
6614
6623
  return;
6615
6624
  }
6616
6625
  if (j && j.html) {
@@ -6620,20 +6629,20 @@ const Os = [
6620
6629
  const T = ((Q = B.match(
6621
6630
  /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6622
6631
  )) == null ? void 0 : Q.at(1)) || "";
6623
- g(T);
6624
- const V = ((D = B.match(
6632
+ h(T);
6633
+ const V = ((R = B.match(
6625
6634
  /var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6626
- )) == null ? void 0 : D.at(1)) || "";
6635
+ )) == null ? void 0 : R.at(1)) || "";
6627
6636
  v(V), F(!1);
6628
6637
  } else
6629
- v(""), g(""), F(!1);
6638
+ v(""), h(""), F(!1);
6630
6639
  } else if (r === "Flex") {
6631
- const R = await Ms(t, i);
6632
- if (R.googleUrl || R.iosUrl) {
6633
- v(R.googleUrl), g(R.iosUrl), F(!1);
6640
+ const D = await Ms(t, i);
6641
+ if (D.googleUrl || D.iosUrl) {
6642
+ v(D.googleUrl), h(D.iosUrl), F(!1);
6634
6643
  return;
6635
6644
  }
6636
- w && (w.iosUrl || w.googleUrl) ? (g(w.iosUrl), v(w.googleUrl), F(!1)) : (v(""), g(""), F(!1));
6645
+ w && (w.iosUrl || w.googleUrl) ? (h(w.iosUrl), v(w.googleUrl), F(!1)) : (v(""), h(""), F(!1));
6637
6646
  }
6638
6647
  } catch (N) {
6639
6648
  m(N.response.data.error.msg);
@@ -6649,7 +6658,7 @@ const Os = [
6649
6658
  networks: eo
6650
6659
  }) : U(w)), F(!1);
6651
6660
  }, z = async () => await Ks(n, i);
6652
- return Ie(() => {
6661
+ return Ce(() => {
6653
6662
  o || (O(null), ne(null), U(null), d(null)), o && (r === "Playable" ? (f().then((w) => {
6654
6663
  q(null, w);
6655
6664
  }), X(!1)) : r === "Ready" ? Z().then((w) => {
@@ -6661,7 +6670,7 @@ const Os = [
6661
6670
  o && (q(j, null), X(!1), ne(j));
6662
6671
  });
6663
6672
  }) : r === "Import" && Ss(t, i).then((w) => {
6664
- console.log(w), O(w), g(w.iosUrl || ""), v(w.googleUrl || ""), F(!1), X(!1);
6673
+ console.log(w), O(w), h(w.iosUrl || ""), v(w.googleUrl || ""), F(!1), X(!1);
6665
6674
  }));
6666
6675
  }, [n, e, t, o]), /* @__PURE__ */ l.jsxs(
6667
6676
  "div",
@@ -6683,7 +6692,7 @@ const Os = [
6683
6692
  title: A,
6684
6693
  typeOfProduct: r,
6685
6694
  fileSize: s,
6686
- urls: { iosUrl: h, googleUrl: p },
6695
+ urls: { iosUrl: g, googleUrl: p },
6687
6696
  handleIosChange: L,
6688
6697
  handleGoogleChange: k,
6689
6698
  disabled: oe,
@@ -6708,7 +6717,7 @@ const Os = [
6708
6717
  },
6709
6718
  children: /* @__PURE__ */ l.jsx(lr, { isNetworksLoading: !0 })
6710
6719
  }
6711
- ) : (J || re) && (r === "Flex" ? C : !0) && !Ae && h !== "Loading..." && p !== "Loading..." && /* @__PURE__ */ l.jsx(
6720
+ ) : (J || re) && (r === "Flex" ? C : !0) && !Ae && g !== "Loading..." && p !== "Loading..." && /* @__PURE__ */ l.jsx(
6712
6721
  Is,
6713
6722
  {
6714
6723
  playable: J,
@@ -6720,7 +6729,7 @@ const Os = [
6720
6729
  user: a,
6721
6730
  handleDownloadError: m,
6722
6731
  fetchFileUrl: c,
6723
- urls: { iosUrl: h, googleUrl: p },
6732
+ urls: { iosUrl: g, googleUrl: p },
6724
6733
  game: C,
6725
6734
  getDownloadCount: Z,
6726
6735
  disabled: oe,
@@ -6759,33 +6768,33 @@ var Hn = { exports: {} }, At = {}, Xn = { exports: {} }, Ye = {}, Qn = { exports
6759
6768
  if (y && !d.innerHTML)
6760
6769
  return !0;
6761
6770
  try {
6762
- var h = window.getComputedStyle(d), p = h.getPropertyValue("display");
6763
- return y ? p !== r && i(d, h) : p === n;
6771
+ var g = window.getComputedStyle(d), p = g.getPropertyValue("display");
6772
+ return y ? p !== r && i(d, g) : p === n;
6764
6773
  } catch {
6765
6774
  return console.warn("Failed to inspect element style"), !1;
6766
6775
  }
6767
6776
  }
6768
6777
  function A(d) {
6769
- for (var y = d, h = d.getRootNode && d.getRootNode(); y && y !== document.body; ) {
6770
- if (h && y === h && (y = h.host.parentNode), a(y))
6778
+ for (var y = d, g = d.getRootNode && d.getRootNode(); y && y !== document.body; ) {
6779
+ if (g && y === g && (y = g.host.parentNode), a(y))
6771
6780
  return !1;
6772
6781
  y = y.parentNode;
6773
6782
  }
6774
6783
  return !0;
6775
6784
  }
6776
6785
  function m(d, y) {
6777
- var h = d.nodeName.toLowerCase(), p = o.test(h) && !d.disabled || h === "a" && d.href || y;
6786
+ var g = d.nodeName.toLowerCase(), p = o.test(g) && !d.disabled || g === "a" && d.href || y;
6778
6787
  return p && A(d);
6779
6788
  }
6780
6789
  function c(d) {
6781
6790
  var y = d.getAttribute("tabindex");
6782
6791
  y === null && (y = void 0);
6783
- var h = isNaN(y);
6784
- return (h || y >= 0) && m(d, !h);
6792
+ var g = isNaN(y);
6793
+ return (g || y >= 0) && m(d, !g);
6785
6794
  }
6786
6795
  function s(d) {
6787
- var y = [].slice.call(d.querySelectorAll("*"), 0).reduce(function(h, p) {
6788
- return h.concat(p.shadowRoot ? s(p.shadowRoot) : [p]);
6796
+ var y = [].slice.call(d.querySelectorAll("*"), 0).reduce(function(g, p) {
6797
+ return g.concat(p.shadowRoot ? s(p.shadowRoot) : [p]);
6789
6798
  }, []);
6790
6799
  return y.filter(c);
6791
6800
  }
@@ -6873,21 +6882,21 @@ var Vn = { exports: {} };
6873
6882
  m.preventDefault();
6874
6883
  return;
6875
6884
  }
6876
- var s = void 0, d = m.shiftKey, y = c[0], h = c[c.length - 1], p = i();
6885
+ var s = void 0, d = m.shiftKey, y = c[0], g = c[c.length - 1], p = i();
6877
6886
  if (A === p) {
6878
6887
  if (!d)
6879
6888
  return;
6880
- s = h;
6889
+ s = g;
6881
6890
  }
6882
- if (h === p && !d && (s = y), y === p && d && (s = h), s) {
6891
+ if (g === p && !d && (s = y), y === p && d && (s = g), s) {
6883
6892
  m.preventDefault(), s.focus();
6884
6893
  return;
6885
6894
  }
6886
- var g = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), v = g != null && g[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
6895
+ var h = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), v = h != null && h[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
6887
6896
  if (v) {
6888
6897
  var x = c.indexOf(p);
6889
6898
  if (x > -1 && (x += d ? -1 : 1), s = c[x], typeof s > "u") {
6890
- m.preventDefault(), s = d ? h : y, s.focus();
6899
+ m.preventDefault(), s = d ? g : y, s.focus();
6891
6900
  return;
6892
6901
  }
6893
6902
  m.preventDefault(), s.focus();
@@ -7206,7 +7215,7 @@ yl.default.subscribe(Zl);
7206
7215
  return function(S, Y, f) {
7207
7216
  return Y && W(S.prototype, Y), f && W(S, f), S;
7208
7217
  };
7209
- }(), i = ae, a = nn, A = C(a), m = Ye, c = O(m), s = Hs, d = C(s), y = je, h = O(y), p = ft, g = O(p), v = ze, x = C(v), E = ht, J = C(E);
7218
+ }(), i = ae, a = nn, A = C(a), m = Ye, c = O(m), s = Hs, d = C(s), y = je, g = O(y), p = ft, h = O(p), v = ze, x = C(v), E = ht, J = C(E);
7210
7219
  function O(W) {
7211
7220
  if (W && W.__esModule)
7212
7221
  return W;
@@ -7251,7 +7260,7 @@ yl.default.subscribe(Zl);
7251
7260
  f.content = L, f.props.contentRef && f.props.contentRef(L);
7252
7261
  }, f.afterClose = function() {
7253
7262
  var L = f.props, k = L.appElement, q = L.ariaHideApp, Z = L.htmlOpenClassName, z = L.bodyOpenClassName, w = L.parentSelector, j = w && w().ownerDocument || document;
7254
- z && g.remove(j.body, z), Z && g.remove(j.getElementsByTagName("html")[0], Z), q && X > 0 && (X -= 1, X === 0 && h.show(k)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (c.returnFocus(f.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), J.default.deregister(f);
7263
+ z && h.remove(j.body, z), Z && h.remove(j.getElementsByTagName("html")[0], Z), q && X > 0 && (X -= 1, X === 0 && g.show(k)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (c.returnFocus(f.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), J.default.deregister(f);
7255
7264
  }, f.open = function() {
7256
7265
  f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (c.setupScopedFocus(f.node), c.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
7257
7266
  f.openAnimationFrame = requestAnimationFrame(function() {
@@ -7332,7 +7341,7 @@ yl.default.subscribe(Zl);
7332
7341
  key: "beforeOpen",
7333
7342
  value: function() {
7334
7343
  var f = this.props, L = f.appElement, k = f.ariaHideApp, q = f.htmlOpenClassName, Z = f.bodyOpenClassName, z = f.parentSelector, w = z && z().ownerDocument || document;
7335
- Z && g.add(w.body, Z), q && g.add(w.getElementsByTagName("html")[0], q), k && (X += 1, h.hide(L)), J.default.register(this);
7344
+ Z && h.add(w.body, Z), q && h.add(w.getElementsByTagName("html")[0], q), k && (X += 1, g.hide(L)), J.default.register(this);
7336
7345
  }
7337
7346
  // Don't steal focus from inner elements
7338
7347
  }, {
@@ -7347,7 +7356,7 @@ yl.default.subscribe(Zl);
7347
7356
  style: n({}, j, this.props.style.overlay),
7348
7357
  onClick: this.handleOverlayOnClick,
7349
7358
  onMouseDown: this.handleOverlayOnMouseDown
7350
- }, D = n({
7359
+ }, R = n({
7351
7360
  id: L,
7352
7361
  ref: this.setContentRef,
7353
7362
  style: n({}, w, this.props.style.content),
@@ -7361,7 +7370,7 @@ yl.default.subscribe(Zl);
7361
7370
  "aria-label": this.props.contentLabel
7362
7371
  }, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
7363
7372
  "data-testid": this.props.testId
7364
- }), N = this.props.contentElement(D, z);
7373
+ }), N = this.props.contentElement(R, z);
7365
7374
  return this.props.overlayElement(Q, N);
7366
7375
  }
7367
7376
  }]), S;
@@ -7966,20 +7975,20 @@ const Un = /* @__PURE__ */ zi(Dl), Rl = ({ width: e, height: t, fill: n }) => /*
7966
7975
  iframeUrl: s,
7967
7976
  handleDownloadError: d,
7968
7977
  fetchFileUrl: y,
7969
- copyLinkUrl: h
7978
+ copyLinkUrl: g
7970
7979
  }) => {
7971
- const [p, g] = P(window.innerWidth), [v, x] = P(!1), [E, J] = P(s), [O, C] = P(!1), [ne, re] = P(!0), [U, Ae] = P(null), [F, oe] = P(""), [X, _] = P("Loading..."), [W, S] = P("Loading..."), [Y, f] = P("game");
7980
+ const [p, h] = P(window.innerWidth), [v, x] = P(!1), [E, J] = P(s), [O, C] = P(!1), [ne, re] = P(!0), [U, Ae] = P(null), [F, oe] = P(""), [X, _] = P("Loading..."), [W, S] = P("Loading..."), [Y, f] = P("game");
7972
7981
  is(a, A, oe, y);
7973
7982
  const L = async () => {
7974
7983
  Ft(n, "preview", null, null, !1).then((k) => {
7975
7984
  x(!0), J(y + "/" + k.url), (a === "Flex" || a === "Ready" || a === "Playable") && (k.size >= 5 ? C(!0) : C(!1), Ae(k.size)), re(!1);
7976
7985
  });
7977
7986
  };
7978
- return Ie(() => {
7987
+ return Ce(() => {
7979
7988
  e ? v || (L(), x(!0)) : (x(!1), J(""));
7980
- }, [e]), Ie(() => {
7989
+ }, [e]), Ce(() => {
7981
7990
  const k = () => {
7982
- g(window.innerWidth);
7991
+ h(window.innerWidth);
7983
7992
  };
7984
7993
  return window.addEventListener("resize", k), () => {
7985
7994
  window.removeEventListener("resize", k);
@@ -8132,7 +8141,7 @@ const Un = /* @__PURE__ */ zi(Dl), Rl = ({ width: e, height: t, fill: n }) => /*
8132
8141
  iframeUrl: E,
8133
8142
  api: A,
8134
8143
  fetchFileUrl: y,
8135
- copyLinkUrl: h,
8144
+ copyLinkUrl: g,
8136
8145
  setSafariCopyLink: oe,
8137
8146
  iosLink: X,
8138
8147
  androidLink: W,