gearboxdownloadmodal 5.0.66 → 5.0.67

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
@@ -73,7 +73,7 @@ function ki() {
73
73
  return typeof w == "function" ? w : null;
74
74
  }
75
75
  var K = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
76
- function E(l) {
76
+ function k(l) {
77
77
  {
78
78
  for (var w = arguments.length, S = new Array(w > 1 ? w - 1 : 0), G = 1; G < w; G++)
79
79
  S[G - 1] = arguments[G];
@@ -112,7 +112,7 @@ function ki() {
112
112
  function U(l) {
113
113
  if (l == null)
114
114
  return null;
115
- if (typeof l.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof l == "function")
115
+ if (typeof l.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof l == "function")
116
116
  return l.displayName || l.name || null;
117
117
  if (typeof l == "string")
118
118
  return l;
@@ -213,7 +213,7 @@ function ki() {
213
213
  })
214
214
  });
215
215
  }
216
- O < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
216
+ O < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
217
217
  }
218
218
  }
219
219
  var D = K.ReactCurrentDispatcher, R;
@@ -232,8 +232,8 @@ function ki() {
232
232
  }
233
233
  var ee = !1, V;
234
234
  {
235
- var k = typeof WeakMap == "function" ? WeakMap : Map;
236
- V = new k();
235
+ var E = typeof WeakMap == "function" ? WeakMap : Map;
236
+ V = new E();
237
237
  }
238
238
  function C(l, w) {
239
239
  if (!l || ee)
@@ -284,14 +284,14 @@ function ki() {
284
284
  } catch (Ve) {
285
285
  if (Ve && G && typeof Ve.stack == "string") {
286
286
  for (var $ = Ve.stack.split(`
287
- `), Ie = G.stack.split(`
288
- `), pe = $.length - 1, fe = Ie.length - 1; pe >= 1 && fe >= 0 && $[pe] !== Ie[fe]; )
287
+ `), we = G.stack.split(`
288
+ `), pe = $.length - 1, fe = we.length - 1; pe >= 1 && fe >= 0 && $[pe] !== we[fe]; )
289
289
  fe--;
290
290
  for (; pe >= 1 && fe >= 0; pe--, fe--)
291
- if ($[pe] !== Ie[fe]) {
291
+ if ($[pe] !== we[fe]) {
292
292
  if (pe !== 1 || fe !== 1)
293
293
  do
294
- if (pe--, fe--, fe < 0 || $[pe] !== Ie[fe]) {
294
+ if (pe--, fe--, fe < 0 || $[pe] !== we[fe]) {
295
295
  var Le = `
296
296
  ` + $[pe].replace(" at new ", " at ");
297
297
  return l.displayName && Le.includes("<anonymous>") && (Le = Le.replace("<anonymous>", l.displayName)), typeof l == "function" && V.set(l, Le), Le;
@@ -309,15 +309,15 @@ function ki() {
309
309
  function ne(l, w, S) {
310
310
  return C(l, !1);
311
311
  }
312
- function we(l) {
312
+ function ye(l) {
313
313
  var w = l.prototype;
314
314
  return !!(w && w.isReactComponent);
315
315
  }
316
- function ye(l, w, S) {
316
+ function be(l, w, S) {
317
317
  if (l == null)
318
318
  return "";
319
319
  if (typeof l == "function")
320
- return C(l, we(l));
320
+ return C(l, ye(l));
321
321
  if (typeof l == "string")
322
322
  return H(l);
323
323
  switch (l) {
@@ -331,24 +331,24 @@ function ki() {
331
331
  case c:
332
332
  return ne(l.render);
333
333
  case p:
334
- return ye(l.type, w, S);
334
+ return be(l.type, w, S);
335
335
  case v: {
336
336
  var G = l, ie = G._payload, ce = G._init;
337
337
  try {
338
- return ye(ce(ie), w, S);
338
+ return be(ce(ie), w, S);
339
339
  } catch {
340
340
  }
341
341
  }
342
342
  }
343
343
  return "";
344
344
  }
345
- var ze = Object.prototype.hasOwnProperty, Qe = {}, Ze = K.ReactDebugCurrentFrame;
345
+ var ze = Object.prototype.hasOwnProperty, Qe = {}, Ie = K.ReactDebugCurrentFrame;
346
346
  function de(l) {
347
347
  if (l) {
348
- var w = l._owner, S = ye(l.type, l._source, w ? w.type : null);
349
- Ze.setExtraStackFrame(S);
348
+ var w = l._owner, S = be(l.type, l._source, w ? w.type : null);
349
+ Ie.setExtraStackFrame(S);
350
350
  } else
351
- Ze.setExtraStackFrame(null);
351
+ Ie.setExtraStackFrame(null);
352
352
  }
353
353
  function Ct(l, w, S, G, ie) {
354
354
  {
@@ -358,14 +358,14 @@ function ki() {
358
358
  var $ = void 0;
359
359
  try {
360
360
  if (typeof l[te] != "function") {
361
- var Ie = Error((G || "React class") + ": " + S + " type `" + te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[te] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
362
- throw Ie.name = "Invariant Violation", Ie;
361
+ var we = Error((G || "React class") + ": " + S + " type `" + te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[te] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
362
+ throw we.name = "Invariant Violation", we;
363
363
  }
364
364
  $ = l[te](w, te, G, S, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
365
365
  } catch (pe) {
366
366
  $ = pe;
367
367
  }
368
- $ && !($ instanceof Error) && (de(ie), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", G || "React class", S, te, typeof $), de(null)), $ instanceof Error && !($.message in Qe) && (Qe[$.message] = !0, de(ie), E("Failed %s type: %s", S, $.message), de(null));
368
+ $ && !($ instanceof Error) && (de(ie), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", G || "React class", S, te, typeof $), de(null)), $ instanceof Error && !($.message in Qe) && (Qe[$.message] = !0, de(ie), k("Failed %s type: %s", S, $.message), de(null));
369
369
  }
370
370
  }
371
371
  }
@@ -391,7 +391,7 @@ function ki() {
391
391
  }
392
392
  function pn(l) {
393
393
  if (ui(l))
394
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", li(l)), dn(l);
394
+ return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", li(l)), dn(l);
395
395
  }
396
396
  var It = K.ReactCurrentOwner, ci = {
397
397
  key: !0,
@@ -419,13 +419,13 @@ function ki() {
419
419
  function pi(l, w) {
420
420
  if (typeof l.ref == "string" && It.current && w && It.current.stateNode !== w) {
421
421
  var S = U(It.current.type);
422
- hr[S] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', U(It.current.type), l.ref), hr[S] = !0);
422
+ hr[S] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', U(It.current.type), l.ref), hr[S] = !0);
423
423
  }
424
424
  }
425
425
  function fi(l, w) {
426
426
  {
427
427
  var S = function() {
428
- fn || (fn = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
428
+ fn || (fn = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
429
429
  };
430
430
  S.isReactWarning = !0, Object.defineProperty(l, "key", {
431
431
  get: S,
@@ -436,7 +436,7 @@ function ki() {
436
436
  function hi(l, w) {
437
437
  {
438
438
  var S = function() {
439
- hn || (hn = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
439
+ hn || (hn = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
440
440
  };
441
441
  S.isReactWarning = !0, Object.defineProperty(l, "ref", {
442
442
  get: S,
@@ -475,8 +475,8 @@ function ki() {
475
475
  };
476
476
  function gi(l, w, S, G, ie) {
477
477
  {
478
- var ce, te = {}, $ = null, Ie = null;
479
- S !== void 0 && (pn(S), $ = "" + S), di(w) && (pn(w.key), $ = "" + w.key), mi(w) && (Ie = w.ref, pi(w, ie));
478
+ var ce, te = {}, $ = null, we = null;
479
+ S !== void 0 && (pn(S), $ = "" + S), di(w) && (pn(w.key), $ = "" + w.key), mi(w) && (we = w.ref, pi(w, ie));
480
480
  for (ce in w)
481
481
  ze.call(w, ce) && !ci.hasOwnProperty(ce) && (te[ce] = w[ce]);
482
482
  if (l && l.defaultProps) {
@@ -484,17 +484,17 @@ function ki() {
484
484
  for (ce in pe)
485
485
  te[ce] === void 0 && (te[ce] = pe[ce]);
486
486
  }
487
- if ($ || Ie) {
487
+ if ($ || we) {
488
488
  var fe = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
489
- $ && fi(te, fe), Ie && hi(te, fe);
489
+ $ && fi(te, fe), we && hi(te, fe);
490
490
  }
491
- return qi(l, $, Ie, ie, G, It.current, te);
491
+ return qi(l, $, we, ie, G, It.current, te);
492
492
  }
493
493
  }
494
494
  var qr = K.ReactCurrentOwner, qn = K.ReactDebugCurrentFrame;
495
495
  function mt(l) {
496
496
  if (l) {
497
- var w = l._owner, S = ye(l.type, l._source, w ? w.type : null);
497
+ var w = l._owner, S = be(l.type, l._source, w ? w.type : null);
498
498
  qn.setExtraStackFrame(S);
499
499
  } else
500
500
  qn.setExtraStackFrame(null);
@@ -550,7 +550,7 @@ Check the top-level render call using <` + S + ">.");
550
550
  return;
551
551
  vn[S] = !0;
552
552
  var G = "";
553
- l && l._owner && l._owner !== qr.current && (G = " It was passed a child from " + U(l._owner.type) + "."), mt(l), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, G), mt(null);
553
+ l && l._owner && l._owner !== qr.current && (G = " It was passed a child from " + U(l._owner.type) + "."), mt(l), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, G), mt(null);
554
554
  }
555
555
  }
556
556
  function bn(l, w) {
@@ -592,9 +592,9 @@ Check the top-level render call using <` + S + ">.");
592
592
  } else if (w.PropTypes !== void 0 && !gr) {
593
593
  gr = !0;
594
594
  var ie = U(w);
595
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ie || "Unknown");
595
+ k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ie || "Unknown");
596
596
  }
597
- typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
597
+ typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
598
598
  }
599
599
  }
600
600
  function Ci(l) {
@@ -602,11 +602,11 @@ Check the top-level render call using <` + S + ">.");
602
602
  for (var w = Object.keys(l.props), S = 0; S < w.length; S++) {
603
603
  var G = w[S];
604
604
  if (G !== "children" && G !== "key") {
605
- mt(l), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", G), mt(null);
605
+ mt(l), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", G), mt(null);
606
606
  break;
607
607
  }
608
608
  }
609
- l.ref !== null && (mt(l), E("Invalid attribute `ref` supplied to `React.Fragment`."), mt(null));
609
+ l.ref !== null && (mt(l), k("Invalid attribute `ref` supplied to `React.Fragment`."), mt(null));
610
610
  }
611
611
  }
612
612
  function Cn(l, w, S, G, ie, ce) {
@@ -615,10 +615,10 @@ Check the top-level render call using <` + S + ">.");
615
615
  if (!te) {
616
616
  var $ = "";
617
617
  (l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && ($ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
618
- var Ie = vi(ie);
619
- Ie ? $ += Ie : $ += gn();
618
+ var we = vi(ie);
619
+ we ? $ += we : $ += gn();
620
620
  var pe;
621
- l === null ? pe = "null" : fr(l) ? pe = "array" : l !== void 0 && l.$$typeof === t ? (pe = "<" + (U(l.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof l, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, $);
621
+ l === null ? pe = "null" : fr(l) ? pe = "array" : l !== void 0 && l.$$typeof === t ? (pe = "<" + (U(l.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof l, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, $);
622
622
  }
623
623
  var fe = gi(l, w, S, ie, ce);
624
624
  if (fe == null)
@@ -632,7 +632,7 @@ Check the top-level render call using <` + S + ">.");
632
632
  bn(Le[dt], l);
633
633
  Object.freeze && Object.freeze(Le);
634
634
  } else
635
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
635
+ k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
636
636
  else
637
637
  bn(Le, l);
638
638
  }
@@ -1389,7 +1389,7 @@ function Vi() {
1389
1389
  if (xn)
1390
1390
  return Ae;
1391
1391
  xn = 1;
1392
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = 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, c = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121, Z = e ? Symbol.for("react.fundamental") : 60117, K = 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, r = e ? Symbol.for("react.portal") : 60106, n = 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, c = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121, Z = e ? Symbol.for("react.fundamental") : 60117, K = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
1393
1393
  function J(b) {
1394
1394
  if (typeof b == "object" && b !== null) {
1395
1395
  var Q = b.$$typeof;
@@ -1448,7 +1448,7 @@ function Vi() {
1448
1448
  }, Ae.isSuspense = function(b) {
1449
1449
  return J(b) === p;
1450
1450
  }, Ae.isValidElementType = function(b) {
1451
- return typeof b == "string" || typeof b == "function" || b === n || b === m || b === i || b === o || b === p || b === v || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === h || b.$$typeof === a || b.$$typeof === A || b.$$typeof === s || b.$$typeof === Z || b.$$typeof === K || b.$$typeof === E || b.$$typeof === q);
1451
+ return typeof b == "string" || typeof b == "function" || b === n || b === m || b === i || b === o || b === p || b === v || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === h || b.$$typeof === a || b.$$typeof === A || b.$$typeof === s || b.$$typeof === Z || b.$$typeof === K || b.$$typeof === k || b.$$typeof === q);
1452
1452
  }, Ae.typeOf = J, Ae;
1453
1453
  }
1454
1454
  var se = {};
@@ -1463,34 +1463,34 @@ var se = {};
1463
1463
  var Wn;
1464
1464
  function Pi() {
1465
1465
  return Wn || (Wn = 1, process.env.NODE_ENV !== "production" && function() {
1466
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = 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, c = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121, Z = e ? Symbol.for("react.fundamental") : 60117, K = 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, r = e ? Symbol.for("react.portal") : 60106, n = 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, c = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121, Z = e ? Symbol.for("react.fundamental") : 60117, K = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
1467
1467
  function J(C) {
1468
1468
  return typeof C == "string" || typeof C == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1469
- C === n || C === m || C === i || C === o || C === p || C === v || typeof C == "object" && C !== null && (C.$$typeof === f || C.$$typeof === h || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === Z || C.$$typeof === K || C.$$typeof === E || C.$$typeof === q);
1469
+ C === n || C === m || C === i || C === o || C === p || C === v || typeof C == "object" && C !== null && (C.$$typeof === f || C.$$typeof === h || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === Z || C.$$typeof === K || C.$$typeof === k || C.$$typeof === q);
1470
1470
  }
1471
1471
  function M(C) {
1472
1472
  if (typeof C == "object" && C !== null) {
1473
1473
  var ne = C.$$typeof;
1474
1474
  switch (ne) {
1475
1475
  case t:
1476
- var we = C.type;
1477
- switch (we) {
1476
+ var ye = C.type;
1477
+ switch (ye) {
1478
1478
  case c:
1479
1479
  case m:
1480
1480
  case n:
1481
1481
  case i:
1482
1482
  case o:
1483
1483
  case p:
1484
- return we;
1484
+ return ye;
1485
1485
  default:
1486
- var ye = we && we.$$typeof;
1487
- switch (ye) {
1486
+ var be = ye && ye.$$typeof;
1487
+ switch (be) {
1488
1488
  case A:
1489
1489
  case s:
1490
1490
  case f:
1491
1491
  case h:
1492
1492
  case a:
1493
- return ye;
1493
+ return be;
1494
1494
  default:
1495
1495
  return ne;
1496
1496
  }
@@ -1537,10 +1537,10 @@ function Pi() {
1537
1537
  function V(C) {
1538
1538
  return M(C) === o;
1539
1539
  }
1540
- function k(C) {
1540
+ function E(C) {
1541
1541
  return M(C) === p;
1542
1542
  }
1543
- se.AsyncMode = b, se.ConcurrentMode = Q, se.ContextConsumer = F, se.ContextProvider = B, se.Element = oe, se.ForwardRef = le, se.Fragment = ue, se.Lazy = _, se.Memo = U, se.Portal = I, se.Profiler = O, se.StrictMode = z, se.Suspense = d, se.isAsyncMode = L, se.isConcurrentMode = g, se.isContextConsumer = x, se.isContextProvider = j, se.isElement = N, se.isForwardRef = Y, se.isFragment = X, se.isLazy = D, se.isMemo = R, se.isPortal = H, se.isProfiler = ee, se.isStrictMode = V, se.isSuspense = k, se.isValidElementType = J, se.typeOf = M;
1543
+ se.AsyncMode = b, se.ConcurrentMode = Q, se.ContextConsumer = F, se.ContextProvider = B, se.Element = oe, se.ForwardRef = le, se.Fragment = ue, se.Lazy = _, se.Memo = U, se.Portal = I, se.Profiler = O, se.StrictMode = z, se.Suspense = d, se.isAsyncMode = L, se.isConcurrentMode = g, se.isContextConsumer = x, se.isContextProvider = j, se.isElement = N, se.isForwardRef = Y, se.isFragment = X, se.isLazy = D, se.isMemo = R, se.isPortal = H, se.isProfiler = ee, se.isStrictMode = V, se.isSuspense = E, se.isValidElementType = J, se.typeOf = M;
1544
1544
  }()), se;
1545
1545
  }
1546
1546
  var Mn;
@@ -1695,7 +1695,7 @@ function Fi() {
1695
1695
  object: K("object"),
1696
1696
  string: K("string"),
1697
1697
  symbol: K("symbol"),
1698
- any: E(),
1698
+ any: k(),
1699
1699
  arrayOf: J,
1700
1700
  element: M(),
1701
1701
  elementType: b(),
@@ -1717,8 +1717,8 @@ function Fi() {
1717
1717
  function Z(g) {
1718
1718
  if (process.env.NODE_ENV !== "production")
1719
1719
  var x = {}, j = 0;
1720
- function N(X, D, R, H, ee, V, k) {
1721
- if (H = H || v, V = V || R, k !== r) {
1720
+ function N(X, D, R, H, ee, V, E) {
1721
+ if (H = H || v, V = V || R, E !== r) {
1722
1722
  if (c) {
1723
1723
  var C = 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"
@@ -1751,7 +1751,7 @@ function Fi() {
1751
1751
  }
1752
1752
  return Z(x);
1753
1753
  }
1754
- function E() {
1754
+ function k() {
1755
1755
  return Z(a);
1756
1756
  }
1757
1757
  function J(g) {
@@ -1813,7 +1813,7 @@ function Fi() {
1813
1813
  for (var R = j[N], H = 0; H < g.length; H++)
1814
1814
  if (f(R, g[H]))
1815
1815
  return null;
1816
- var ee = JSON.stringify(g, function(k, C) {
1816
+ var ee = JSON.stringify(g, function(E, C) {
1817
1817
  var ne = d(C);
1818
1818
  return ne === "symbol" ? String(C) : C;
1819
1819
  });
@@ -1850,7 +1850,7 @@ function Fi() {
1850
1850
  }
1851
1851
  function N(Y, X, D, R, H) {
1852
1852
  for (var ee = [], V = 0; V < g.length; V++) {
1853
- var k = g[V], C = k(Y, X, D, R, H, r);
1853
+ var E = g[V], C = E(Y, X, D, R, H, r);
1854
1854
  if (C == null)
1855
1855
  return null;
1856
1856
  C.data && n(C.data, "expectedType") && ee.push(C.data.expectedType);
@@ -1880,9 +1880,9 @@ function Fi() {
1880
1880
  var V = g[ee];
1881
1881
  if (typeof V != "function")
1882
1882
  return ue(Y, X, D, ee, d(V));
1883
- var k = V(R, ee, Y, X, D + "." + ee, r);
1884
- if (k)
1885
- return k;
1883
+ var E = V(R, ee, Y, X, D + "." + ee, r);
1884
+ if (E)
1885
+ return E;
1886
1886
  }
1887
1887
  return null;
1888
1888
  }
@@ -1895,15 +1895,15 @@ function Fi() {
1895
1895
  return new q("Invalid " + X + " `" + D + "` of type `" + H + "` " + ("supplied to `" + Y + "`, expected `object`."));
1896
1896
  var ee = t({}, j[N], g);
1897
1897
  for (var V in ee) {
1898
- var k = g[V];
1899
- if (n(g, V) && typeof k != "function")
1900
- return ue(Y, X, D, V, d(k));
1901
- if (!k)
1898
+ var E = g[V];
1899
+ if (n(g, V) && typeof E != "function")
1900
+ return ue(Y, X, D, V, d(E));
1901
+ if (!E)
1902
1902
  return new q(
1903
1903
  "Invalid " + X + " `" + D + "` key `" + V + "` supplied to `" + Y + "`.\nBad object: " + JSON.stringify(j[N], null, " ") + `
1904
1904
  Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
1905
1905
  );
1906
- var C = k(R, V, Y, X, D + "." + V, r);
1906
+ var C = E(R, V, Y, X, D + "." + V, r);
1907
1907
  if (C)
1908
1908
  return C;
1909
1909
  }
@@ -2526,14 +2526,14 @@ function ur(e, t, r) {
2526
2526
  if (!y.isUndefined(f)) {
2527
2527
  if (p.indexOf(f) !== -1)
2528
2528
  throw Error("Circular reference detected in " + q.join("."));
2529
- p.push(f), y.forEach(f, function(K, E) {
2529
+ p.push(f), y.forEach(f, function(K, k) {
2530
2530
  (!(y.isUndefined(K) || K === null) && o.call(
2531
2531
  t,
2532
2532
  K,
2533
- y.isString(E) ? E.trim() : E,
2533
+ y.isString(k) ? k.trim() : k,
2534
2534
  q,
2535
2535
  v
2536
- )) === !0 && h(K, q ? q.concat(E) : [E]);
2536
+ )) === !0 && h(K, q ? q.concat(k) : [k]);
2537
2537
  }), p.pop();
2538
2538
  }
2539
2539
  }
@@ -3118,10 +3118,10 @@ const KA = typeof XMLHttpRequest < "u", xA = KA && function(e) {
3118
3118
  config: e,
3119
3119
  request: s
3120
3120
  };
3121
- vA(function(E) {
3122
- r(E), c();
3123
- }, function(E) {
3124
- n(E), c();
3121
+ vA(function(k) {
3122
+ r(k), c();
3123
+ }, function(k) {
3124
+ n(k), c();
3125
3125
  }, Z), s = null;
3126
3126
  }
3127
3127
  if ("onloadend" in s ? s.onloadend = v : s.onreadystatechange = function() {
@@ -3681,13 +3681,13 @@ function Tr(e, t) {
3681
3681
  Tr({ read: Vn.decodeValue, write: Vn.encodeValue }, ln);
3682
3682
  let Po;
3683
3683
  typeof window < "u" && (Po = Vo("token"));
3684
- const Ce = kA.create({
3684
+ const Ze = kA.create({
3685
3685
  headers: {
3686
3686
  Authorization: Po
3687
3687
  }
3688
3688
  });
3689
3689
  async function Mt(e, t, r, n, o, i, a, A) {
3690
- return (await Ce.post(e + "/createPlayableVersionLink", {
3690
+ return (await Ze.post(e + "/createPlayableVersionLink", {
3691
3691
  _id: t,
3692
3692
  nano: r,
3693
3693
  network: n,
@@ -3731,10 +3731,10 @@ function mr(e) {
3731
3731
  let { children: A, position: c, preventExitTransition: m, done: s, nodeRef: p, isIn: v } = a;
3732
3732
  const h = n ? `${t}--${c}` : t, f = n ? `${r}--${c}` : r, q = it(0);
3733
3733
  return Mi(() => {
3734
- const Z = p.current, K = h.split(" "), E = (J) => {
3735
- J.target === p.current && (Z.dispatchEvent(new Event("d")), Z.removeEventListener("animationend", E), Z.removeEventListener("animationcancel", E), q.current === 0 && J.type !== "animationcancel" && Z.classList.remove(...K));
3734
+ const Z = p.current, K = h.split(" "), k = (J) => {
3735
+ J.target === p.current && (Z.dispatchEvent(new Event("d")), Z.removeEventListener("animationend", k), Z.removeEventListener("animationcancel", k), q.current === 0 && J.type !== "animationcancel" && Z.classList.remove(...K));
3736
3736
  };
3737
- Z.classList.add(...K), Z.addEventListener("animationend", E), Z.addEventListener("animationcancel", E);
3737
+ Z.classList.add(...K), Z.addEventListener("animationend", k), Z.addEventListener("animationcancel", k);
3738
3738
  }, []), xe(() => {
3739
3739
  const Z = p.current, K = () => {
3740
3740
  Z.removeEventListener("animationend", K), o ? JA(Z, s, i) : s();
@@ -3798,17 +3798,17 @@ function NA(e) {
3798
3798
  return !o.current || A.props.enableMultiContainer && _.containerId !== A.props.containerId || i.has(_.toastId) && _.updateId == null;
3799
3799
  }(K))
3800
3800
  return;
3801
- const { toastId: E, updateId: J, data: M } = K, { props: b } = A, Q = () => m(E), F = J == null;
3801
+ const { toastId: k, updateId: J, data: M } = K, { props: b } = A, Q = () => m(k), F = J == null;
3802
3802
  F && A.count++;
3803
3803
  const B = { ...b, style: b.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(K).filter((_) => {
3804
3804
  let [U, I] = _;
3805
3805
  return I != null;
3806
- })), toastId: E, updateId: J, data: M, closeToast: Q, isIn: !1, className: Ft(K.className || b.toastClassName), bodyClassName: Ft(K.bodyClassName || b.bodyClassName), progressClassName: Ft(K.progressClassName || b.progressClassName), autoClose: !K.isLoading && (oe = K.autoClose, le = b.autoClose, oe === !1 || Lt(oe) && oe > 0 ? oe : le), deleteToast() {
3807
- const _ = Pn(i.get(E), "removed");
3808
- i.delete(E), Ee.emit(4, _);
3806
+ })), toastId: k, updateId: J, data: M, closeToast: Q, isIn: !1, className: Ft(K.className || b.toastClassName), bodyClassName: Ft(K.bodyClassName || b.bodyClassName), progressClassName: Ft(K.progressClassName || b.progressClassName), autoClose: !K.isLoading && (oe = K.autoClose, le = b.autoClose, oe === !1 || Lt(oe) && oe > 0 ? oe : le), deleteToast() {
3807
+ const _ = Pn(i.get(k), "removed");
3808
+ i.delete(k), Ee.emit(4, _);
3809
3809
  const U = A.queue.length;
3810
- if (A.count = E == null ? A.count - A.displayedToast : A.count - 1, A.count < 0 && (A.count = 0), U > 0) {
3811
- const I = E == null ? A.props.limit : 1;
3810
+ if (A.count = k == null ? A.count - A.displayedToast : A.count - 1, A.count < 0 && (A.count = 0), U > 0) {
3811
+ const I = k == null ? A.props.limit : 1;
3812
3812
  if (U === 1 || I === 1)
3813
3813
  A.displayedToast++, s();
3814
3814
  else {
@@ -3835,7 +3835,7 @@ function NA(e) {
3835
3835
  const { toastId: Z } = f;
3836
3836
  q && i.delete(q);
3837
3837
  const K = { content: h, props: f };
3838
- i.set(Z, K), n((E) => [...E, Z].filter((J) => J !== q)), Ee.emit(4, Pn(K, K.props.updateId == null ? "added" : "updated"));
3838
+ i.set(Z, K), n((k) => [...k, Z].filter((J) => J !== q)), Ee.emit(4, Pn(K, K.props.updateId == null ? "added" : "updated"));
3839
3839
  }
3840
3840
  return xe(() => (A.containerId = e.containerId, Ee.cancelEmit(3).on(0, p).on(1, (h) => o.current && m(h)).on(5, c).emit(2, A), () => {
3841
3841
  i.clear(), Ee.emit(3, A);
@@ -3859,7 +3859,7 @@ function DA(e) {
3859
3859
  const [t, r] = P(!1), [n, o] = P(!1), i = it(null), a = it({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = it(e), { autoClose: c, pauseOnHover: m, closeToast: s, onClick: p, closeOnClick: v } = e;
3860
3860
  function h(M) {
3861
3861
  if (e.draggable) {
3862
- M.nativeEvent.type === "touchstart" && M.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", K), document.addEventListener("mouseup", E), document.addEventListener("touchmove", K), document.addEventListener("touchend", E);
3862
+ M.nativeEvent.type === "touchstart" && M.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", K), document.addEventListener("mouseup", k), document.addEventListener("touchmove", K), document.addEventListener("touchend", k);
3863
3863
  const b = i.current;
3864
3864
  a.canCloseOnClick = !0, a.canDrag = !0, a.boundingRect = b.getBoundingClientRect(), b.style.transition = "", a.x = Bn(M.nativeEvent), a.y = Un(M.nativeEvent), e.draggableDirection === "x" ? (a.start = a.x, a.removalDistance = b.offsetWidth * (e.draggablePercent / 100)) : (a.start = a.y, a.removalDistance = b.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent / 100));
3865
3865
  }
@@ -3880,8 +3880,8 @@ function DA(e) {
3880
3880
  const b = i.current;
3881
3881
  a.canDrag && b && (a.didMove = !0, t && Z(), a.x = Bn(M), a.y = Un(M), a.delta = e.draggableDirection === "x" ? a.x - a.start : a.y - a.start, a.start !== a.x && (a.canCloseOnClick = !1), b.style.transform = `translate${e.draggableDirection}(${a.delta}px)`, b.style.opacity = "" + (1 - Math.abs(a.delta / a.removalDistance)));
3882
3882
  }
3883
- function E() {
3884
- document.removeEventListener("mousemove", K), document.removeEventListener("mouseup", E), document.removeEventListener("touchmove", K), document.removeEventListener("touchend", E);
3883
+ function k() {
3884
+ document.removeEventListener("mousemove", K), document.removeEventListener("mouseup", k), document.removeEventListener("touchmove", K), document.removeEventListener("touchend", k);
3885
3885
  const M = i.current;
3886
3886
  if (a.canDrag && a.didMove && M) {
3887
3887
  if (a.canDrag = !1, Math.abs(a.delta) > a.removalDistance)
@@ -3918,9 +3918,9 @@ function RA(e) {
3918
3918
  } });
3919
3919
  }
3920
3920
  const GA = (e) => {
3921
- const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: o } = DA(e), { closeButton: i, children: a, autoClose: A, onClick: c, type: m, hideProgressBar: s, closeToast: p, transition: v, position: h, className: f, style: q, bodyClassName: Z, bodyStyle: K, progressClassName: E, progressStyle: J, updateId: M, role: b, progress: Q, rtl: F, toastId: B, deleteToast: oe, isIn: le, isLoading: ue, iconOut: _, closeOnClick: U, theme: I } = e, O = _e("Toastify__toast", `Toastify__toast-theme--${I}`, `Toastify__toast--${m}`, { "Toastify__toast--rtl": F }, { "Toastify__toast--close-on-click": U }), z = Ke(f) ? f({ rtl: F, position: h, type: m, defaultClassName: O }) : _e(O, f), d = !!Q || !A, W = { closeToast: p, type: m, theme: I };
3921
+ const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: o } = DA(e), { closeButton: i, children: a, autoClose: A, onClick: c, type: m, hideProgressBar: s, closeToast: p, transition: v, position: h, className: f, style: q, bodyClassName: Z, bodyStyle: K, progressClassName: k, progressStyle: J, updateId: M, role: b, progress: Q, rtl: F, toastId: B, deleteToast: oe, isIn: le, isLoading: ue, iconOut: _, closeOnClick: U, theme: I } = e, O = _e("Toastify__toast", `Toastify__toast-theme--${I}`, `Toastify__toast--${m}`, { "Toastify__toast--rtl": F }, { "Toastify__toast--close-on-click": U }), z = Ke(f) ? f({ rtl: F, position: h, type: m, defaultClassName: O }) : _e(O, f), d = !!Q || !A, W = { closeToast: p, type: m, theme: I };
3922
3922
  let L = null;
3923
- return i === !1 || (L = Ke(i) ? i(W) : ft(i) ? Yr(i, W) : Uo(W)), ae.createElement(v, { isIn: le, done: oe, position: h, preventExitTransition: r, nodeRef: n }, ae.createElement("div", { id: B, onClick: c, className: z, ...o, style: q, ref: n }, ae.createElement("div", { ...le && { role: b }, className: Ke(Z) ? Z({ type: m }) : _e("Toastify__toast-body", Z), style: K }, _ != null && ae.createElement("div", { className: _e("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ue }) }, _), ae.createElement("div", null, a)), L, ae.createElement(RA, { ...M && !d ? { key: `pb-${M}` } : {}, rtl: F, theme: I, delay: A, isRunning: t, isIn: le, closeToast: p, hide: s, type: m, style: J, className: E, controlledProgress: d, progress: Q || 0 })));
3923
+ return i === !1 || (L = Ke(i) ? i(W) : ft(i) ? Yr(i, W) : Uo(W)), ae.createElement(v, { isIn: le, done: oe, position: h, preventExitTransition: r, nodeRef: n }, ae.createElement("div", { id: B, onClick: c, className: z, ...o, style: q, ref: n }, ae.createElement("div", { ...le && { role: b }, className: Ke(Z) ? Z({ type: m }) : _e("Toastify__toast-body", Z), style: K }, _ != null && ae.createElement("div", { className: _e("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ue }) }, _), ae.createElement("div", null, a)), L, ae.createElement(RA, { ...M && !d ? { key: `pb-${M}` } : {}, rtl: F, theme: I, delay: A, isRunning: t, isIn: le, closeToast: p, hide: s, type: m, style: J, className: k, controlledProgress: d, progress: Q || 0 })));
3924
3924
  }, dr = function(e, t) {
3925
3925
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
3926
3926
  }, TA = mr(dr("bounce", !0));
@@ -4020,7 +4020,7 @@ function ke(e) {
4020
4020
  });
4021
4021
  }
4022
4022
  async function Ot(e, t) {
4023
- return e.network == "fb" && (e.zip = 1), (await Ce.post(t + "/createFlexVersionLink", e || {})).data;
4023
+ return e.network == "fb" && (e.zip = 1), (await Ze.post(t + "/createFlexVersionLink", e || {})).data;
4024
4024
  }
4025
4025
  function $e(e) {
4026
4026
  const t = document.createElement("input");
@@ -4032,7 +4032,7 @@ function $e(e) {
4032
4032
  }
4033
4033
  }
4034
4034
  async function er(e, t, r) {
4035
- return (await Ce.post(e + "/createImportedVersionLink", {
4035
+ return (await Ze.post(e + "/createImportedVersionLink", {
4036
4036
  _id: t,
4037
4037
  network: r
4038
4038
  // zip,
@@ -4264,7 +4264,7 @@ const PA = ({ typeOfProduct: e }) => /* @__PURE__ */ u.jsxs(
4264
4264
  }
4265
4265
  );
4266
4266
  async function BA(e, t) {
4267
- return (await Ce.post(t + "/buyRequest", {
4267
+ return (await Ze.post(t + "/buyRequest", {
4268
4268
  requestType: e
4269
4269
  })).data;
4270
4270
  }
@@ -5028,7 +5028,7 @@ const ns = ({ typeOfProduct: e }) => /* @__PURE__ */ u.jsx(
5028
5028
  }
5029
5029
  );
5030
5030
  async function _n(e, t, r) {
5031
- return (await Ce.post(r + "/updatePlayableVersion", {
5031
+ return (await Ze.post(r + "/updatePlayableVersion", {
5032
5032
  ...t,
5033
5033
  _id: e
5034
5034
  })).data;
@@ -5185,10 +5185,10 @@ const as = ({
5185
5185
  }
5186
5186
  );
5187
5187
  async function $n(e, t) {
5188
- return (await Ce.post(t + "/updateFlexUrl", e || {})).data;
5188
+ return (await Ze.post(t + "/updateFlexUrl", e || {})).data;
5189
5189
  }
5190
5190
  async function As(e, t, r, n) {
5191
- return (await Ce.post(e + "/createMolocoTestPage", {
5191
+ return (await Ze.post(e + "/createMolocoTestPage", {
5192
5192
  _id: t,
5193
5193
  network: r,
5194
5194
  typeOfProduct: n
@@ -5224,7 +5224,7 @@ const Er = [
5224
5224
  setIsConfirmActive: q,
5225
5225
  downloadFlex: Z,
5226
5226
  flexDownloadCount: K,
5227
- disabled: E,
5227
+ disabled: k,
5228
5228
  user: J,
5229
5229
  setSafariCopyLink: M
5230
5230
  }) => {
@@ -5275,17 +5275,17 @@ const Er = [
5275
5275
  };
5276
5276
  const Y = Er.includes("moloco") ? 1 : 0, X = () => {
5277
5277
  r(e);
5278
- }, D = (k, C) => {
5279
- fetch(k).then((ne) => ne.blob()).then((ne) => {
5280
- const we = window.URL.createObjectURL(ne), ye = document.createElement("a");
5281
- ye.href = we, ye.download = C.split("/").reduce((ze, Qe) => Qe, ""), document.body.appendChild(ye), ye.click(), window.URL.revokeObjectURL(we);
5278
+ }, D = (E, C) => {
5279
+ fetch(E).then((ne) => ne.blob()).then((ne) => {
5280
+ const ye = window.URL.createObjectURL(ne), be = document.createElement("a");
5281
+ be.href = ye, be.download = C.split("/").reduce((ze, Qe) => Qe, ""), document.body.appendChild(be), be.click(), window.URL.revokeObjectURL(ye);
5282
5282
  }).catch((ne) => {
5283
5283
  console.error("Dosya alınamadı:", ne);
5284
5284
  });
5285
- }, R = async (k, C, ne, we, ye, ze) => {
5285
+ }, R = async (E, C, ne, ye, be, ze) => {
5286
5286
  try {
5287
5287
  Q(!0);
5288
- let Qe = (Ze) => {
5288
+ let Qe = (Ie) => {
5289
5289
  if ([
5290
5290
  "google",
5291
5291
  "toutiao",
@@ -5304,33 +5304,33 @@ const Er = [
5304
5304
  "snapchat",
5305
5305
  "inmobi"
5306
5306
  ].includes(C) || (C === "fb" || C === "luna") && ze) {
5307
- let de = v + "/" + Ze;
5308
- D(de, Ze);
5309
- } else if (we) {
5310
- let de = v + "/" + Ze;
5311
- D(de, Ze);
5307
+ let de = v + "/" + Ie;
5308
+ D(de, Ie);
5309
+ } else if (ye) {
5310
+ let de = v + "/" + Ie;
5311
+ D(de, Ie);
5312
5312
  }
5313
5313
  Q(!1), ke("Download successfully");
5314
5314
  };
5315
5315
  if (c === "Flex") {
5316
5316
  await $n(
5317
5317
  {
5318
- _id: k,
5318
+ _id: E,
5319
5319
  iosLink: h.iosUrl,
5320
5320
  androidLink: h.googleUrl
5321
5321
  },
5322
5322
  s
5323
5323
  );
5324
- const Ze = await Ot(
5324
+ const Ie = await Ot(
5325
5325
  {
5326
- _id: k,
5326
+ _id: E,
5327
5327
  network: C
5328
5328
  },
5329
5329
  s
5330
5330
  );
5331
- let de = Ze.url;
5331
+ let de = Ie.url;
5332
5332
  if (!de) {
5333
- Q(!1), p(Ze.message, Ze);
5333
+ Q(!1), p(Ie.message, Ie);
5334
5334
  return;
5335
5335
  }
5336
5336
  let Ct;
@@ -5354,24 +5354,24 @@ const Er = [
5354
5354
  ].includes(C) || (C === "fb" || C === "luna") && ze) {
5355
5355
  let Zt = v + "/" + de;
5356
5356
  D(Zt, de);
5357
- } else if (we) {
5357
+ } else if (ye) {
5358
5358
  let Zt = v + "/" + de;
5359
5359
  D(Zt, de);
5360
5360
  }
5361
5361
  return Q(!1), de;
5362
5362
  } else if (c === "Import")
5363
- er(s, k, C).then((Ze) => {
5364
- let de = Ze.url;
5363
+ er(s, E, C).then((Ie) => {
5364
+ let de = Ie.url;
5365
5365
  return Qe(de), de;
5366
5366
  });
5367
5367
  else {
5368
5368
  await _n(
5369
- k,
5369
+ E,
5370
5370
  { iosLink: h.iosUrl, androidLink: h.googleUrl },
5371
5371
  s
5372
5372
  );
5373
- const Ze = Er.includes(C) ? 1 : 0;
5374
- Mt(s, k, F, C, ze, Ze, {}).then(async (de) => {
5373
+ const Ie = Er.includes(C) ? 1 : 0;
5374
+ Mt(s, E, F, C, ze, Ie, {}).then(async (de) => {
5375
5375
  let { url: Ct } = de;
5376
5376
  return Qe(Ct), Ct;
5377
5377
  }).catch((de) => {
@@ -5388,21 +5388,27 @@ const Er = [
5388
5388
  { iosLink: h.iosUrl, androidLink: h.googleUrl },
5389
5389
  s
5390
5390
  );
5391
- const k = await Mt(
5392
- s,
5393
- m,
5394
- "",
5395
- o,
5396
- !1,
5397
- 1,
5398
- `var type = ${o}`
5399
- );
5400
- let C = `${v}/${k == null ? void 0 : k.url}`;
5401
- return $e(C) ? ke("Link Copied") : M(C), k == null ? void 0 : k.url;
5391
+ let E;
5392
+ try {
5393
+ E = await Mt(
5394
+ s,
5395
+ m,
5396
+ "",
5397
+ o,
5398
+ !1,
5399
+ 1,
5400
+ `var type = ${o}`
5401
+ );
5402
+ } catch (ye) {
5403
+ p(ye.response.data.error.msg);
5404
+ return;
5405
+ }
5406
+ let C = `${v}/${E == null ? void 0 : E.url}`;
5407
+ return $e(C) ? ke("Link Copied") : M(C), E == null ? void 0 : E.url;
5402
5408
  } else if (c === "Import") {
5403
- const k = await er(s, m, o);
5404
- let C = `${v}/${k == null ? void 0 : k.url}`;
5405
- return $e(C) ? ke("Link Copied") : M(C), k == null ? void 0 : k.url;
5409
+ const E = await er(s, m, o);
5410
+ let C = `${v}/${E == null ? void 0 : E.url}`;
5411
+ return $e(C) ? ke("Link Copied") : M(C), E == null ? void 0 : E.url;
5406
5412
  } else {
5407
5413
  await $n(
5408
5414
  {
@@ -5412,18 +5418,18 @@ const Er = [
5412
5418
  },
5413
5419
  s
5414
5420
  );
5415
- const k = await Ot({ _id: m, network: o }, s);
5416
- let C = `${v}/${k == null ? void 0 : k.url}`;
5417
- return $e(C) ? ke("Link Copied") : M(C), k == null ? void 0 : k.url;
5421
+ const E = await Ot({ _id: m, network: o }, s);
5422
+ let C = `${v}/${E == null ? void 0 : E.url}`;
5423
+ return $e(C) ? ke("Link Copied") : M(C), E == null ? void 0 : E.url;
5418
5424
  }
5419
5425
  }, ee = async () => {
5420
5426
  g(!0);
5421
- let k;
5427
+ let E;
5422
5428
  if (c === "Import") {
5423
5429
  p("Import is not supported for Moloco");
5424
5430
  return;
5425
5431
  } else
5426
- c === "Flex" ? k = await Ot(
5432
+ c === "Flex" ? E = await Ot(
5427
5433
  {
5428
5434
  _id: m,
5429
5435
  network: "moloco",
@@ -5432,23 +5438,23 @@ const Er = [
5432
5438
  }
5433
5439
  },
5434
5440
  s
5435
- ) : k = await Mt(s, m, F, "moloco", !1, Y, {
5441
+ ) : E = await Mt(s, m, F, "moloco", !1, Y, {
5436
5442
  molocoS3: !0
5437
5443
  });
5438
- let C = k.url, ne;
5444
+ let C = E.url, ne;
5439
5445
  if (!C) {
5440
- g(!1), p(k.message, k);
5446
+ g(!1), p(E.message, E);
5441
5447
  return;
5442
5448
  }
5443
- let we = await fetch(v + "/" + C).then((ye) => ye.text());
5444
- ne = document.createElement("a"), ne.setAttribute("href", "data:html/plain;charset=utf-8," + encodeURIComponent(we)), ne.setAttribute(
5449
+ let ye = await fetch(v + "/" + C).then((be) => be.text());
5450
+ ne = document.createElement("a"), ne.setAttribute("href", "data:html/plain;charset=utf-8," + encodeURIComponent(ye)), ne.setAttribute(
5445
5451
  "download",
5446
- C.split("/").reduce((ye, ze) => ze, "")
5452
+ C.split("/").reduce((be, ze) => ze, "")
5447
5453
  ), ne.style.display = "none", document.body.appendChild(ne), ne.click(), g(!1), ke("Download successfully"), z(!1);
5448
5454
  }, V = async () => {
5449
5455
  j(!0);
5450
- const k = await As(s, m, o, c);
5451
- let C = `${v}/${k == null ? void 0 : k.url}`;
5456
+ const E = await As(s, m, o, c);
5457
+ let C = `${v}/${E == null ? void 0 : E.url}`;
5452
5458
  $e(C) ? (ke("Link Copied"), j(!1)) : M(C);
5453
5459
  };
5454
5460
  return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
@@ -5505,7 +5511,7 @@ const Er = [
5505
5511
  }
5506
5512
  }
5507
5513
  ),
5508
- /* @__PURE__ */ u.jsx("div", { children: i && i.map((k) => k.network).includes(o) ? a ? /* @__PURE__ */ u.jsx(
5514
+ /* @__PURE__ */ u.jsx("div", { children: i && i.map((E) => E.network).includes(o) ? a ? /* @__PURE__ */ u.jsx(
5509
5515
  "div",
5510
5516
  {
5511
5517
  style: {
@@ -5521,7 +5527,7 @@ const Er = [
5521
5527
  },
5522
5528
  children: /* @__PURE__ */ u.jsx(ns, { typeOfProduct: c })
5523
5529
  }
5524
- ) : i.map((k) => /* @__PURE__ */ u.jsx(
5530
+ ) : i.map((E) => /* @__PURE__ */ u.jsx(
5525
5531
  "div",
5526
5532
  {
5527
5533
  style: {
@@ -5536,9 +5542,9 @@ const Er = [
5536
5542
  justifyContent: "center",
5537
5543
  alignItems: "center"
5538
5544
  },
5539
- children: k.network === o ? k.size.toString().slice(0, 5) + "Mb" : ""
5545
+ children: E.network === o ? E.size.toString().slice(0, 5) + "Mb" : ""
5540
5546
  },
5541
- k.network
5547
+ E.network
5542
5548
  )) : null })
5543
5549
  ]
5544
5550
  }
@@ -5599,8 +5605,8 @@ const Er = [
5599
5605
  return;
5600
5606
  } else {
5601
5607
  le("download");
5602
- const k = h.iosUrl, C = h.googleUrl;
5603
- Z && Z.willSpendCredit ? (q(!0), W("download"), _(!0)) : c !== "Import" && (!k || !C) ? (q(!0), I(!0)) : (I(!1), _(!1), await R(m, o, void 0, !0, null, !0));
5608
+ const E = h.iosUrl, C = h.googleUrl;
5609
+ Z && Z.willSpendCredit ? (q(!0), W("download"), _(!0)) : c !== "Import" && (!E || !C) ? (q(!0), I(!0)) : (I(!1), _(!1), await R(m, o, void 0, !0, null, !0));
5604
5610
  }
5605
5611
  },
5606
5612
  children: [
@@ -5630,12 +5636,12 @@ const Er = [
5630
5636
  Fn,
5631
5637
  {
5632
5638
  className: "w-1/3 border-hover-" + c,
5633
- onClickDonwload: async (k) => {
5634
- k.stopPropagation(), le("copyLink");
5639
+ onClickDonwload: async (E) => {
5640
+ E.stopPropagation(), le("copyLink");
5635
5641
  const C = h.iosUrl, ne = h.googleUrl;
5636
5642
  Z && (Z != null && Z.willSpendCredit) ? (W("copy"), q(!0), _(!0)) : c !== "Import" && (!C || !ne) ? (q(!0), I(!0)) : (_(!1), I(!1), await H());
5637
5643
  },
5638
- disabled: E,
5644
+ disabled: k,
5639
5645
  children: /* @__PURE__ */ u.jsx(Co, { className: "h-6 w-6 stroke-dark-full" })
5640
5646
  }
5641
5647
  )
@@ -5998,13 +6004,13 @@ const Er = [
5998
6004
  }
5999
6005
  );
6000
6006
  async function ms(e, t, r) {
6001
- return (await Ce.post(r + "/createPlayableVersionLinkMulti", {
6007
+ return (await Ze.post(r + "/createPlayableVersionLinkMulti", {
6002
6008
  _id: e,
6003
6009
  networks: t
6004
6010
  })).data;
6005
6011
  }
6006
6012
  async function ds(e, t, r) {
6007
- return (await Ce.post(r + "/createFlexVersionLinkMulti", {
6013
+ return (await Ze.post(r + "/createFlexVersionLinkMulti", {
6008
6014
  _id: e,
6009
6015
  networks: t
6010
6016
  })).data;
@@ -6025,7 +6031,7 @@ const ps = ({
6025
6031
  disabled: v,
6026
6032
  setSafariCopyLink: h
6027
6033
  }) => {
6028
- const [f, q] = P([]), [Z, K] = P([]), [E, J] = P(!1), [M, b] = P(""), [Q, F] = P(!1), [B, oe] = P(!1), [le, ue] = P("download"), [_, U] = P(!1), I = async (d) => {
6034
+ const [f, q] = P([]), [Z, K] = P([]), [k, J] = P(!1), [M, b] = P(""), [Q, F] = P(!1), [B, oe] = P(!1), [le, ue] = P("download"), [_, U] = P(!1), I = async (d) => {
6029
6035
  const W = [...f];
6030
6036
  if (f.includes(d)) {
6031
6037
  const L = W.findIndex((g) => g === d);
@@ -6085,7 +6091,7 @@ const ps = ({
6085
6091
  selected: f.includes(d.id),
6086
6092
  handleCardClick: I,
6087
6093
  networkVersionSize: Z,
6088
- fileSizeLoading: E,
6094
+ fileSizeLoading: k,
6089
6095
  showCheckBox: !0,
6090
6096
  typeOfProduct: o,
6091
6097
  versionId: n,
@@ -6151,27 +6157,27 @@ const ps = ({
6151
6157
  ] });
6152
6158
  };
6153
6159
  async function fs(e, t) {
6154
- return (await Ce.post(t + "/findPlayable", { _id: e })).data;
6160
+ return (await Ze.post(t + "/findPlayable", { _id: e })).data;
6155
6161
  }
6156
6162
  async function hs(e, t) {
6157
- return (await Ce.post(t + "/getFlexDownloadCount", e)).data;
6163
+ return (await Ze.post(t + "/getFlexDownloadCount", e)).data;
6158
6164
  }
6159
6165
  async function qs(e, t) {
6160
6166
  try {
6161
- return (await Ce.post(t + "/findGame", { _id: e })).data;
6167
+ return (await Ze.post(t + "/findGame", { _id: e })).data;
6162
6168
  } catch {
6163
6169
  }
6164
6170
  }
6165
6171
  async function gs(e, t) {
6166
- return (await Ce.post(t + "/getPlayableVersionMarketLink", {
6172
+ return (await Ze.post(t + "/getPlayableVersionMarketLink", {
6167
6173
  _id: e
6168
6174
  })).data;
6169
6175
  }
6170
6176
  async function vs(e, t) {
6171
- return (await Ce.post(t + "/getFlexData", { _id: e })).data;
6177
+ return (await Ze.post(t + "/getFlexData", { _id: e })).data;
6172
6178
  }
6173
6179
  async function ys(e, t) {
6174
- return (await Ce.post(t + "/getImportedPlayable", { id: e })).data;
6180
+ return (await Ze.post(t + "/getImportedPlayable", { id: e })).data;
6175
6181
  }
6176
6182
  const bs = [
6177
6183
  "adcolony",
@@ -6216,7 +6222,7 @@ const bs = [
6216
6222
  setFileSize: p,
6217
6223
  setSafariCopyLink: v
6218
6224
  }) => {
6219
- const [h, f] = P(null), [q, Z] = P(null), [K, E] = P(null), [J, M] = P(!1), [b, Q] = P("Loading..."), [F, B] = P("Loading..."), [oe, le] = P(!0), [ue, _] = P(window.innerWidth);
6225
+ const [h, f] = P(null), [q, Z] = P(null), [K, k] = P(null), [J, M] = P(!1), [b, Q] = P("Loading..."), [F, B] = P("Loading..."), [oe, le] = P(!0), [ue, _] = P(window.innerWidth);
6220
6226
  xe(() => {
6221
6227
  const L = () => {
6222
6228
  _(window.innerWidth);
@@ -6271,13 +6277,13 @@ const bs = [
6271
6277
  }, d = async () => {
6272
6278
  M(!0);
6273
6279
  const L = await hs({ _id: t }, i);
6274
- ["admin", "pm", "tester"].includes(a.role) ? E({
6280
+ ["admin", "pm", "tester"].includes(a.role) ? k({
6275
6281
  ...L,
6276
6282
  networks: Cs
6277
- }) : E(L), M(!1);
6283
+ }) : k(L), M(!1);
6278
6284
  }, W = async () => await qs(r, i);
6279
6285
  return xe(() => {
6280
- o || (f(null), Z(null), E(null), p(null)), o && (n === "Playable" || n === "Ready" ? (U().then((L) => {
6286
+ o || (f(null), Z(null), k(null), p(null)), o && (n === "Playable" || n === "Ready" ? (U().then((L) => {
6281
6287
  z(null, L);
6282
6288
  }), le(!1)) : n === "Flex" ? d().then((L) => {
6283
6289
  le(!1), W().then((g) => {
@@ -6770,17 +6776,17 @@ var sl = yt, ll = ul(sl);
6770
6776
  function ul(e) {
6771
6777
  return e && e.__esModule ? e : { default: e };
6772
6778
  }
6773
- var be = void 0, je = void 0, st = [];
6779
+ var Ce = void 0, je = void 0, st = [];
6774
6780
  function cl() {
6775
- for (var e = [be, je], t = 0; t < e.length; t++) {
6781
+ for (var e = [Ce, je], t = 0; t < e.length; t++) {
6776
6782
  var r = e[t];
6777
6783
  r && r.parentNode && r.parentNode.removeChild(r);
6778
6784
  }
6779
- be = je = null, st = [];
6785
+ Ce = je = null, st = [];
6780
6786
  }
6781
6787
  function ml() {
6782
6788
  console.log("bodyTrap ----------"), console.log(st.length);
6783
- for (var e = [be, je], t = 0; t < e.length; t++) {
6789
+ for (var e = [Ce, je], t = 0; t < e.length; t++) {
6784
6790
  var r = e[t], n = r || {};
6785
6791
  console.log(n.nodeName, n.className, n.id);
6786
6792
  }
@@ -6794,7 +6800,7 @@ function to() {
6794
6800
  st[st.length - 1].focusContent();
6795
6801
  }
6796
6802
  function dl(e, t) {
6797
- !be && !je && (be = document.createElement("div"), be.setAttribute("data-react-modal-body-trap", ""), be.style.position = "absolute", be.style.opacity = "0", be.setAttribute("tabindex", "0"), be.addEventListener("focus", to), je = be.cloneNode(), je.addEventListener("focus", to)), st = t, st.length > 0 ? (document.body.firstChild !== be && document.body.insertBefore(be, document.body.firstChild), document.body.lastChild !== je && document.body.appendChild(je)) : (be.parentElement && be.parentElement.removeChild(be), je.parentElement && je.parentElement.removeChild(je));
6803
+ !Ce && !je && (Ce = document.createElement("div"), Ce.setAttribute("data-react-modal-body-trap", ""), Ce.style.position = "absolute", Ce.style.opacity = "0", Ce.setAttribute("tabindex", "0"), Ce.addEventListener("focus", to), je = Ce.cloneNode(), je.addEventListener("focus", to)), st = t, st.length > 0 ? (document.body.firstChild !== Ce && document.body.insertBefore(Ce, document.body.firstChild), document.body.lastChild !== je && document.body.appendChild(je)) : (Ce.parentElement && Ce.parentElement.removeChild(Ce), je.parentElement && je.parentElement.removeChild(je));
6798
6804
  }
6799
6805
  ll.default.subscribe(dl);
6800
6806
  (function(e, t) {
@@ -6822,7 +6828,7 @@ ll.default.subscribe(dl);
6822
6828
  return function(O, z, d) {
6823
6829
  return z && I(O.prototype, z), d && I(O, d), O;
6824
6830
  };
6825
- }(), i = ae, a = ir, A = b(a), c = De, m = M(c), s = ks, p = b(s), v = Re, h = M(v), f = vt, q = M(f), Z = Ne, K = b(Z), E = yt, J = b(E);
6831
+ }(), i = ae, a = ir, A = b(a), c = De, m = M(c), s = ks, p = b(s), v = Re, h = M(v), f = vt, q = M(f), Z = Ne, K = b(Z), k = yt, J = b(k);
6826
6832
  function M(I) {
6827
6833
  if (I && I.__esModule)
6828
6834
  return I;
@@ -7332,7 +7338,7 @@ ut.default = bt;
7332
7338
  var Ll = Xr.exports;
7333
7339
  const Fr = /* @__PURE__ */ Si(Ll);
7334
7340
  async function Sl(e, t) {
7335
- return (await Ce.post(t + "/getFileSize", e)).data;
7341
+ return (await Ze.post(t + "/getFileSize", e)).data;
7336
7342
  }
7337
7343
  const Ol = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e, height: t, viewBox: "0 0 105 105", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
7338
7344
  /* @__PURE__ */ u.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M42.2918 79.3302C42.5513 78.6026 43.0293 77.973 43.6602 77.5273C44.2911 77.0816 45.0443 76.8416 45.8168 76.8402H59.2418C60.0143 76.8416 60.7675 77.0816 61.3984 77.5273C62.0293 77.973 62.5072 78.6026 62.7668 79.3302L67.9193 93.7152H75.0293C76.5211 93.7152 77.9519 94.3078 79.0068 95.3627C80.0617 96.4176 80.6543 97.8484 80.6543 99.3402C80.6543 100.832 80.0617 102.263 79.0068 103.318C77.9519 104.373 76.5211 104.965 75.0293 104.965H30.0293C28.5375 104.965 27.1067 104.373 26.0518 103.318C24.9969 102.263 24.4043 100.832 24.4043 99.3402C24.4043 97.8484 24.9969 96.4176 26.0518 95.3627C27.1067 94.3078 28.5375 93.7152 30.0293 93.7152H37.1393L42.2843 79.3302H42.2918Z", fill: "#3F008E" }),
@@ -7540,7 +7546,7 @@ const Ol = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
7540
7546
  fetchFileUrl: v,
7541
7547
  copyLinkUrl: h
7542
7548
  }) => {
7543
- const [f, q] = P(window.innerWidth), [Z, K] = P(!1), [E, J] = P(s), [M, b] = P(!1), [Q, F] = P(!0), [B, oe] = P(null), [le, ue] = P(""), _ = (I) => {
7549
+ const [f, q] = P(window.innerWidth), [Z, K] = P(!1), [k, J] = P(s), [M, b] = P(!1), [Q, F] = P(!0), [B, oe] = P(null), [le, ue] = P(""), _ = (I) => {
7544
7550
  Sl({ _id: I, network: "applovin" }, A).then((O) => {
7545
7551
  O.size >= 5 ? b(!0) : b(!1), oe(O.size);
7546
7552
  }).finally(() => {
@@ -7710,7 +7716,7 @@ const Ol = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
7710
7716
  versionName: o,
7711
7717
  versionId: r,
7712
7718
  typeOfProduct: a,
7713
- iframeUrl: E,
7719
+ iframeUrl: k,
7714
7720
  api: A,
7715
7721
  fetchFileUrl: v,
7716
7722
  copyLinkUrl: h,