gearboxdownloadmodal 8.3.3 → 8.3.4

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
@@ -261,37 +261,37 @@ function dl() {
261
261
  }), typeof Reflect == "object" && Reflect.construct) {
262
262
  try {
263
263
  Reflect.construct(ce, []);
264
- } catch (Ye) {
265
- $ = Ye;
264
+ } catch (De) {
265
+ $ = De;
266
266
  }
267
267
  Reflect.construct(h, [], ce);
268
268
  } else {
269
269
  try {
270
270
  ce.call();
271
- } catch (Ye) {
272
- $ = Ye;
271
+ } catch (De) {
272
+ $ = De;
273
273
  }
274
274
  h.call(ce.prototype);
275
275
  }
276
276
  } else {
277
277
  try {
278
278
  throw Error();
279
- } catch (Ye) {
280
- $ = Ye;
279
+ } catch (De) {
280
+ $ = De;
281
281
  }
282
282
  h();
283
283
  }
284
- } catch (Ye) {
285
- if (Ye && $ && typeof Ye.stack == "string") {
286
- for (var ae = Ye.stack.split(`
287
- `), je = $.stack.split(`
288
- `), xe = ae.length - 1, Ie = je.length - 1; xe >= 1 && Ie >= 0 && ae[xe] !== je[Ie]; )
284
+ } catch (De) {
285
+ if (De && $ && typeof De.stack == "string") {
286
+ for (var ae = De.stack.split(`
287
+ `), Re = $.stack.split(`
288
+ `), xe = ae.length - 1, Ie = Re.length - 1; xe >= 1 && Ie >= 0 && ae[xe] !== Re[Ie]; )
289
289
  Ie--;
290
290
  for (; xe >= 1 && Ie >= 0; xe--, Ie--)
291
- if (ae[xe] !== je[Ie]) {
291
+ if (ae[xe] !== Re[Ie]) {
292
292
  if (xe !== 1 || Ie !== 1)
293
293
  do
294
- if (xe--, Ie--, Ie < 0 || ae[xe] !== je[Ie]) {
294
+ if (xe--, Ie--, Ie < 0 || ae[xe] !== Re[Ie]) {
295
295
  var Xe = `
296
296
  ` + ae[xe].replace(" at new ", " at ");
297
297
  return h.displayName && Xe.includes("<anonymous>") && (Xe = Xe.replace("<anonymous>", h.displayName)), typeof h == "function" && te.set(h, Xe), Xe;
@@ -309,7 +309,7 @@ function dl() {
309
309
  function Ze(h, O, J) {
310
310
  return Y(h, !1);
311
311
  }
312
- function ze(h) {
312
+ function Ne(h) {
313
313
  var O = h.prototype;
314
314
  return !!(O && O.isReactComponent);
315
315
  }
@@ -317,7 +317,7 @@ function dl() {
317
317
  if (h == null)
318
318
  return "";
319
319
  if (typeof h == "function")
320
- return Y(h, ze(h));
320
+ return Y(h, Ne(h));
321
321
  if (typeof h == "string")
322
322
  return re(h);
323
323
  switch (h) {
@@ -342,7 +342,7 @@ function dl() {
342
342
  }
343
343
  return "";
344
344
  }
345
- var We = Object.prototype.hasOwnProperty, He = {}, D = v.ReactDebugCurrentFrame;
345
+ var je = Object.prototype.hasOwnProperty, He = {}, D = v.ReactDebugCurrentFrame;
346
346
  function B(h) {
347
347
  if (h) {
348
348
  var O = h._owner, J = Se(h.type, h._source, O ? O.type : null);
@@ -352,14 +352,14 @@ function dl() {
352
352
  }
353
353
  function ie(h, O, J, $, pe) {
354
354
  {
355
- var ve = Function.call.bind(We);
355
+ var ve = Function.call.bind(je);
356
356
  for (var ce in h)
357
357
  if (ve(h, ce)) {
358
358
  var ae = void 0;
359
359
  try {
360
360
  if (typeof h[ce] != "function") {
361
- var je = Error(($ || "React class") + ": " + J + " type `" + ce + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[ce] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
362
- throw je.name = "Invariant Violation", je;
361
+ var Re = Error(($ || "React class") + ": " + J + " type `" + ce + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[ce] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
362
+ throw Re.name = "Invariant Violation", Re;
363
363
  }
364
364
  ae = h[ce](O, ce, $, J, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
365
365
  } catch (xe) {
@@ -401,7 +401,7 @@ function dl() {
401
401
  }, xn, yt, Yt;
402
402
  Yt = {};
403
403
  function Zn(h) {
404
- if (We.call(h, "ref")) {
404
+ if (je.call(h, "ref")) {
405
405
  var O = Object.getOwnPropertyDescriptor(h, "ref").get;
406
406
  if (O && O.isReactWarning)
407
407
  return !1;
@@ -409,7 +409,7 @@ function dl() {
409
409
  return h.ref !== void 0;
410
410
  }
411
411
  function ue(h) {
412
- if (We.call(h, "key")) {
412
+ if (je.call(h, "key")) {
413
413
  var O = Object.getOwnPropertyDescriptor(h, "key").get;
414
414
  if (O && O.isReactWarning)
415
415
  return !1;
@@ -422,7 +422,7 @@ function dl() {
422
422
  Yt[J] || (S('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', H(we.current.type), h.ref), Yt[J] = !0);
423
423
  }
424
424
  }
425
- function Ne(h, O) {
425
+ function Ye(h, O) {
426
426
  {
427
427
  var J = function() {
428
428
  xn || (xn = !0, S("%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)", O));
@@ -475,20 +475,20 @@ function dl() {
475
475
  };
476
476
  function Zr(h, O, J, $, pe) {
477
477
  {
478
- var ve, ce = {}, ae = null, je = null;
479
- J !== void 0 && (ct(J), ae = "" + J), ue(O) && (ct(O.key), ae = "" + O.key), Zn(O) && (je = O.ref, Le(O, pe));
478
+ var ve, ce = {}, ae = null, Re = null;
479
+ J !== void 0 && (ct(J), ae = "" + J), ue(O) && (ct(O.key), ae = "" + O.key), Zn(O) && (Re = O.ref, Le(O, pe));
480
480
  for (ve in O)
481
- We.call(O, ve) && !Nt.hasOwnProperty(ve) && (ce[ve] = O[ve]);
481
+ je.call(O, ve) && !Nt.hasOwnProperty(ve) && (ce[ve] = O[ve]);
482
482
  if (h && h.defaultProps) {
483
483
  var xe = h.defaultProps;
484
484
  for (ve in xe)
485
485
  ce[ve] === void 0 && (ce[ve] = xe[ve]);
486
486
  }
487
- if (ae || je) {
487
+ if (ae || Re) {
488
488
  var Ie = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
489
- ae && Ne(ce, Ie), je && Dt(ce, Ie);
489
+ ae && Ye(ce, Ie), Re && Dt(ce, Ie);
490
490
  }
491
- return xr(h, ae, je, pe, $, we.current, ce);
491
+ return xr(h, ae, Re, pe, $, we.current, ce);
492
492
  }
493
493
  }
494
494
  var mt = v.ReactCurrentOwner, Xi = v.ReactDebugCurrentFrame;
@@ -616,8 +616,8 @@ Check the top-level render call using <` + J + ">.");
616
616
  if (!ce) {
617
617
  var ae = "";
618
618
  (h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (ae += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
619
- var je = Ba(pe);
620
- je ? ae += je : ae += Ui();
619
+ var Re = Ba(pe);
620
+ Re ? ae += Re : ae += Ui();
621
621
  var xe;
622
622
  h === null ? xe = "null" : Ae(h) ? xe = "array" : h !== void 0 && h.$$typeof === e ? (xe = "<" + (H(h.type) || "Unknown") + " />", ae = " Did you accidentally export a JSX literal instead of a component?") : xe = typeof h, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", xe, ae);
623
623
  }
@@ -637,12 +637,12 @@ Check the top-level render call using <` + J + ">.");
637
637
  else
638
638
  $i(Xe, h);
639
639
  }
640
- if (We.call(O, "key")) {
641
- var It = H(h), Ye = Object.keys(O).filter(function(tl) {
640
+ if (je.call(O, "key")) {
641
+ var It = H(h), De = Object.keys(O).filter(function(tl) {
642
642
  return tl !== "key";
643
- }), kr = Ye.length > 0 ? "{key: someKey, " + Ye.join(": ..., ") + ": ...}" : "{key: someKey}";
643
+ }), kr = De.length > 0 ? "{key: someKey, " + De.join(": ..., ") + ": ...}" : "{key: someKey}";
644
644
  if (!eo[It + kr]) {
645
- var el = Ye.length > 0 ? "{" + Ye.join(": ..., ") + ": ...}" : "{}";
645
+ var el = De.length > 0 ? "{" + De.join(": ..., ") + ": ...}" : "{}";
646
646
  S(`A props object containing a "key" prop is being spread into JSX:
647
647
  let props = %s;
648
648
  <%s {...props} />
@@ -2744,17 +2744,17 @@ function Qu() {
2744
2744
  var Ze = Y.$$typeof;
2745
2745
  switch (Ze) {
2746
2746
  case e:
2747
- var ze = Y.type;
2748
- switch (ze) {
2747
+ var Ne = Y.type;
2748
+ switch (Ne) {
2749
2749
  case l:
2750
2750
  case c:
2751
2751
  case r:
2752
2752
  case o:
2753
2753
  case i:
2754
2754
  case d:
2755
- return ze;
2755
+ return Ne;
2756
2756
  default:
2757
- var Se = ze && ze.$$typeof;
2757
+ var Se = Ne && Ne.$$typeof;
2758
2758
  switch (Se) {
2759
2759
  case a:
2760
2760
  case u:
@@ -4184,30 +4184,30 @@ function Qt(t) {
4184
4184
  return document.body.removeChild(e), !1;
4185
4185
  }
4186
4186
  }
4187
- let Di = "", De = "Playable", Je = null, ra = null, cn, ia = [];
4187
+ let Di = "", Je = "Playable", Te = null, ra = null, cn, ia = [];
4188
4188
  const Ji = async (t, e, n) => {
4189
- De === "Playable" ? e && e.iosUrl !== "Loading..." && e.googleUrl !== "Loading..." && await li(
4189
+ Je === "Playable" ? e && e.iosUrl !== "Loading..." && e.googleUrl !== "Loading..." && await li(
4190
4190
  t,
4191
4191
  { iosLink: e == null ? void 0 : e.iosUrl, androidLink: e == null ? void 0 : e.googleUrl },
4192
- Je
4193
- ) : De === "Flex" ? e && e.iosUrl !== "Loading..." && e.googleUrl !== "Loading..." && await Yc(
4192
+ Te
4193
+ ) : Je === "Flex" ? e && e.iosUrl !== "Loading..." && e.googleUrl !== "Loading..." && await Yc(
4194
4194
  {
4195
4195
  _id: t,
4196
4196
  iosLink: e == null ? void 0 : e.iosUrl,
4197
4197
  androidLink: e == null ? void 0 : e.googleUrl
4198
4198
  },
4199
- Je
4200
- ) : De === "Ready" ? e && e.iosUrl !== "Loading..." && e.googleUrl !== "Loading..." && ((n == null ? void 0 : n.urlType) === "single" && (e.googleUrl = e.iosUrl), await li(
4199
+ Te
4200
+ ) : Je === "Ready" ? e && e.iosUrl !== "Loading..." && e.googleUrl !== "Loading..." && ((n == null ? void 0 : n.urlType) === "single" && (e.googleUrl = e.iosUrl), await li(
4201
4201
  t,
4202
4202
  { iosLink: e == null ? void 0 : e.iosUrl, androidLink: e == null ? void 0 : e.googleUrl },
4203
- Je
4204
- )) : De === "Fusion" && e && e.iosUrl !== "Loading..." && e.googleUrl !== "Loading..." && await zc(
4203
+ Te
4204
+ )) : Je === "Fusion" && e && e.iosUrl !== "Loading..." && e.googleUrl !== "Loading..." && await zc(
4205
4205
  {
4206
4206
  _id: cn == null ? void 0 : cn.fusionId,
4207
4207
  iosLink: e == null ? void 0 : e.iosUrl,
4208
4208
  androidLink: e == null ? void 0 : e.googleUrl
4209
4209
  },
4210
- Je
4210
+ Te
4211
4211
  );
4212
4212
  }, Dn = async (t) => {
4213
4213
  let e = Di + "/" + t, n = t;
@@ -4235,19 +4235,19 @@ async function Vt(t, e, n, r = "download", i = !1, o = null) {
4235
4235
  } catch (c) {
4236
4236
  console.log("updateUrls error", c);
4237
4237
  }
4238
- De === "Playable" ? Kc(Je, t, e, i, o).then(async (c) => {
4238
+ Je === "Playable" ? Kc(Te, t, e, i, o).then(async (c) => {
4239
4239
  let { url: u } = c;
4240
4240
  await l(u), s(c);
4241
4241
  }).catch((c) => {
4242
4242
  let u = c.response.data.error.msg;
4243
4243
  a({ message: u });
4244
- }) : De === "Flex" ? Lc(
4244
+ }) : Je === "Flex" ? Lc(
4245
4245
  {
4246
4246
  _id: t,
4247
4247
  network: e,
4248
4248
  extras: o
4249
4249
  },
4250
- Je
4250
+ Te
4251
4251
  ).then(async (c) => {
4252
4252
  if (c.message) {
4253
4253
  a(c);
@@ -4258,13 +4258,13 @@ async function Vt(t, e, n, r = "download", i = !1, o = null) {
4258
4258
  }).catch((c) => {
4259
4259
  let u = c.response.data.error.msg;
4260
4260
  a({ message: u });
4261
- }) : De === "Import" ? Oc(Je, t, e).then(async (c) => {
4261
+ }) : Je === "Import" ? Oc(Te, t, e).then(async (c) => {
4262
4262
  let u = c.url;
4263
4263
  await l(u), s(c);
4264
4264
  }).catch((c) => {
4265
4265
  let u = c.response.data.error.msg;
4266
4266
  a({ message: u });
4267
- }) : De === "Ready" ? Wc(Je, t, e, i, o, r === "download").then(async (c) => {
4267
+ }) : Je === "Ready" ? Wc(Te, t, e, i, o, r === "download").then(async (c) => {
4268
4268
  if (c.message) {
4269
4269
  a(c);
4270
4270
  return;
@@ -4274,8 +4274,8 @@ async function Vt(t, e, n, r = "download", i = !1, o = null) {
4274
4274
  }).catch((c) => {
4275
4275
  let u = c.response.data.error.msg;
4276
4276
  a({ message: u });
4277
- }) : De === "Fusion" && Rc(
4278
- Je,
4277
+ }) : Je === "Fusion" && Rc(
4278
+ Te,
4279
4279
  t,
4280
4280
  e,
4281
4281
  cn,
@@ -4294,7 +4294,7 @@ async function Vt(t, e, n, r = "download", i = !1, o = null) {
4294
4294
  }
4295
4295
  async function Jc(t, e, n, r = null) {
4296
4296
  return new Promise(async (i, o) => {
4297
- n = n.map((s) => oa(s)), await Ji(t, e, r), De === "Flex" ? Ec(t, n, Je).then(async (s) => {
4297
+ n = n.map((s) => oa(s)), await Ji(t, e, r), Je === "Flex" ? Ec(t, n, Te).then(async (s) => {
4298
4298
  if (s.message) {
4299
4299
  o(s);
4300
4300
  return;
@@ -4303,7 +4303,7 @@ async function Jc(t, e, n, r = null) {
4303
4303
  }).catch((s) => {
4304
4304
  let a = s.response.data.error.msg;
4305
4305
  o({ message: a });
4306
- }) : De === "Ready" ? jc(t, n, Je).then(async (s) => {
4306
+ }) : Je === "Ready" ? jc(t, n, Te).then(async (s) => {
4307
4307
  if (s.message) {
4308
4308
  o(s);
4309
4309
  return;
@@ -4313,7 +4313,7 @@ async function Jc(t, e, n, r = null) {
4313
4313
  console.log("err", s);
4314
4314
  let a = s.response.data.error.msg;
4315
4315
  o({ message: a });
4316
- }) : Mc(t, n, Je).then(async (s) => {
4316
+ }) : Mc(t, n, Te).then(async (s) => {
4317
4317
  await Dn(s.url), i(s.url);
4318
4318
  }).catch((s) => {
4319
4319
  let a = s.response.data.error.msg;
@@ -4322,7 +4322,7 @@ async function Jc(t, e, n, r = null) {
4322
4322
  });
4323
4323
  }
4324
4324
  function Tc(t, e, n, r, i) {
4325
- De = t, Je = e, ra = n, Di = r, cn = i;
4325
+ Je = t, Te = e, ra = n, Di = r, cn = i;
4326
4326
  }
4327
4327
  function Gc(t) {
4328
4328
  ia = t;
@@ -4333,10 +4333,10 @@ async function Pc(t) {
4333
4333
  {
4334
4334
  versionId: t,
4335
4335
  checkExistance: !0,
4336
- isFlex: De === "Flex",
4337
- isFusion: De === "Fusion"
4336
+ isFlex: Je === "Flex",
4337
+ isFusion: Je === "Fusion"
4338
4338
  },
4339
- Je
4339
+ Te
4340
4340
  );
4341
4341
  } catch {
4342
4342
  return null;
@@ -6338,7 +6338,7 @@ function md(t, e) {
6338
6338
  [n, t]
6339
6339
  );
6340
6340
  }
6341
- function Re(t, e) {
6341
+ function ze(t, e) {
6342
6342
  return [
6343
6343
  hd(t, e),
6344
6344
  // We do wrong type assertion here, which results in throwing an error.
@@ -6377,7 +6377,7 @@ const fa = qn(""), pa = qn(!1), yr = qn([]), ha = qn([
6377
6377
  androidLink: l,
6378
6378
  urlType: c
6379
6379
  }) => {
6380
- const [u, d] = P(!1), [f, p] = P(!1), [m, g] = Re(Cn), b = n === "Playable" ? m : !0, v = async () => {
6380
+ const [u, d] = P(!1), [f, p] = P(!1), [m, g] = ze(Cn), b = n === "Playable" ? m : !0, v = async () => {
6381
6381
  d(!0), Vt(
6382
6382
  t,
6383
6383
  "default",
@@ -7031,17 +7031,17 @@ var rf = $t, of = sf(rf);
7031
7031
  function sf(t) {
7032
7032
  return t && t.__esModule ? t : { default: t };
7033
7033
  }
7034
- var Me = void 0, tt = void 0, Mt = [];
7034
+ var We = void 0, tt = void 0, Mt = [];
7035
7035
  function af() {
7036
- for (var t = [Me, tt], e = 0; e < t.length; e++) {
7036
+ for (var t = [We, tt], e = 0; e < t.length; e++) {
7037
7037
  var n = t[e];
7038
7038
  n && n.parentNode && n.parentNode.removeChild(n);
7039
7039
  }
7040
- Me = tt = null, Mt = [];
7040
+ We = tt = null, Mt = [];
7041
7041
  }
7042
7042
  function lf() {
7043
7043
  console.log("bodyTrap ----------"), console.log(Mt.length);
7044
- for (var t = [Me, tt], e = 0; e < t.length; e++) {
7044
+ for (var t = [We, tt], e = 0; e < t.length; e++) {
7045
7045
  var n = t[e], r = n || {};
7046
7046
  console.log(r.nodeName, r.className, r.id);
7047
7047
  }
@@ -7055,7 +7055,7 @@ function Uo() {
7055
7055
  Mt[Mt.length - 1].focusContent();
7056
7056
  }
7057
7057
  function uf(t, e) {
7058
- !Me && !tt && (Me = document.createElement("div"), Me.setAttribute("data-react-modal-body-trap", ""), Me.style.position = "absolute", Me.style.opacity = "0", Me.setAttribute("tabindex", "0"), Me.addEventListener("focus", Uo), tt = Me.cloneNode(), tt.addEventListener("focus", Uo)), Mt = e, Mt.length > 0 ? (document.body.firstChild !== Me && document.body.insertBefore(Me, document.body.firstChild), document.body.lastChild !== tt && document.body.appendChild(tt)) : (Me.parentElement && Me.parentElement.removeChild(Me), tt.parentElement && tt.parentElement.removeChild(tt));
7058
+ !We && !tt && (We = document.createElement("div"), We.setAttribute("data-react-modal-body-trap", ""), We.style.position = "absolute", We.style.opacity = "0", We.setAttribute("tabindex", "0"), We.addEventListener("focus", Uo), tt = We.cloneNode(), tt.addEventListener("focus", Uo)), Mt = e, Mt.length > 0 ? (document.body.firstChild !== We && document.body.insertBefore(We, document.body.firstChild), document.body.lastChild !== tt && document.body.appendChild(tt)) : (We.parentElement && We.parentElement.removeChild(We), tt.parentElement && tt.parentElement.removeChild(tt));
7059
7059
  }
7060
7060
  of.default.subscribe(uf);
7061
7061
  (function(t, e) {
@@ -7884,7 +7884,7 @@ function Ct() {
7884
7884
  (t = arguments[n++]) && (e = Sa(t)) && (r && (r += " "), r += e);
7885
7885
  return r;
7886
7886
  }
7887
- const dn = (t) => typeof t == "number" && !isNaN(t), zt = (t) => typeof t == "string", Te = (t) => typeof t == "function", Jn = (t) => zt(t) || Te(t) ? t : null, Pr = (t) => Ft(t) || zt(t) || Te(t) || dn(t);
7887
+ const dn = (t) => typeof t == "number" && !isNaN(t), zt = (t) => typeof t == "string", Ge = (t) => typeof t == "function", Jn = (t) => zt(t) || Ge(t) ? t : null, Pr = (t) => Ft(t) || zt(t) || Ge(t) || dn(t);
7888
7888
  function Ef(t, e, n) {
7889
7889
  n === void 0 && (n = 300);
7890
7890
  const { scrollHeight: r, style: i } = t;
@@ -7993,10 +7993,10 @@ function Lf(t) {
7993
7993
  W.iconOut = function(R) {
7994
7994
  let { theme: H, type: q, isLoading: I, icon: N } = R, y = null;
7995
7995
  const E = { theme: H, type: q };
7996
- return N === !1 || (Te(N) ? y = N(E) : Ft(N) ? y = _r(N, E) : zt(N) || dn(N) ? y = N : I ? y = Hr.spinner() : ((Q) => Q in Hr)(q) && (y = Hr[q](E))), y;
7997
- }(W), Te(v.onOpen) && (W.onOpen = v.onOpen), Te(v.onClose) && (W.onClose = v.onClose), W.closeButton = C.closeButton, v.closeButton === !1 || Pr(v.closeButton) ? W.closeButton = v.closeButton : v.closeButton === !0 && (W.closeButton = !Pr(C.closeButton) || C.closeButton);
7996
+ return N === !1 || (Ge(N) ? y = N(E) : Ft(N) ? y = _r(N, E) : zt(N) || dn(N) ? y = N : I ? y = Hr.spinner() : ((Q) => Q in Hr)(q) && (y = Hr[q](E))), y;
7997
+ }(W), Ge(v.onOpen) && (W.onOpen = v.onOpen), Ge(v.onClose) && (W.onClose = v.onClose), W.closeButton = C.closeButton, v.closeButton === !1 || Pr(v.closeButton) ? W.closeButton = v.closeButton : v.closeButton === !0 && (W.closeButton = !Pr(C.closeButton) || C.closeButton);
7998
7998
  let K = p;
7999
- Ft(p) && !zt(p.type) ? K = _r(p, { closeToast: T, toastProps: W, data: k }) : Te(p) && (K = p({ closeToast: T, toastProps: W, data: k })), C.limit && C.limit > 0 && a.count > C.limit && x ? a.queue.push({ toastContent: K, toastProps: W, staleId: b }) : dn(g) ? setTimeout(() => {
7999
+ Ft(p) && !zt(p.type) ? K = _r(p, { closeToast: T, toastProps: W, data: k }) : Ge(p) && (K = p({ closeToast: T, toastProps: W, data: k })), C.limit && C.limit > 0 && a.count > C.limit && x ? a.queue.push({ toastContent: K, toastProps: W, staleId: b }) : dn(g) ? setTimeout(() => {
8000
8000
  f(K, W, b);
8001
8001
  }, g) : f(K, W, b);
8002
8002
  }
@@ -8060,9 +8060,9 @@ function Of(t) {
8060
8060
  }
8061
8061
  qe(() => {
8062
8062
  a.current = t;
8063
- }), qe(() => (o.current && o.current.addEventListener("d", g, { once: !0 }), Te(t.onOpen) && t.onOpen(Ft(t.children) && t.children.props), () => {
8063
+ }), qe(() => (o.current && o.current.addEventListener("d", g, { once: !0 }), Ge(t.onOpen) && t.onOpen(Ft(t.children) && t.children.props), () => {
8064
8064
  const k = a.current;
8065
- Te(k.onClose) && k.onClose(Ft(k.children) && k.children.props);
8065
+ Ge(k.onClose) && k.onClose(Ft(k.children) && k.children.props);
8066
8066
  }), []), qe(() => (t.pauseOnFocusLoss && (document.hasFocus() || b(), window.addEventListener("focus", g), window.addEventListener("blur", b)), () => {
8067
8067
  t.pauseOnFocusLoss && (window.removeEventListener("focus", g), window.removeEventListener("blur", b));
8068
8068
  }), [t.pauseOnFocusLoss]);
@@ -8081,15 +8081,15 @@ function Kf(t) {
8081
8081
  let { delay: e, isRunning: n, closeToast: r, type: i = "default", hide: o, className: s, style: a, controlledProgress: l, progress: c, rtl: u, isIn: d, theme: f } = t;
8082
8082
  const p = o || l && c === 0, m = { ...a, animationDuration: `${e}ms`, animationPlayState: n ? "running" : "paused", opacity: p ? 0 : 1 };
8083
8083
  l && (m.transform = `scaleX(${c})`);
8084
- const g = Ct("Toastify__progress-bar", l ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${f}`, `Toastify__progress-bar--${i}`, { "Toastify__progress-bar--rtl": u }), b = Te(s) ? s({ rtl: u, type: i, defaultClassName: g }) : Ct(g, s);
8084
+ const g = Ct("Toastify__progress-bar", l ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${f}`, `Toastify__progress-bar--${i}`, { "Toastify__progress-bar--rtl": u }), b = Ge(s) ? s({ rtl: u, type: i, defaultClassName: g }) : Ct(g, s);
8085
8085
  return de.createElement("div", { role: "progressbar", "aria-hidden": p ? "true" : "false", "aria-label": "notification timer", className: b, style: m, [l && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: l && c < 1 ? null : () => {
8086
8086
  d && r();
8087
8087
  } });
8088
8088
  }
8089
8089
  const Mf = (t) => {
8090
- const { isRunning: e, preventExitTransition: n, toastRef: r, eventHandlers: i } = Of(t), { closeButton: o, children: s, autoClose: a, onClick: l, type: c, hideProgressBar: u, closeToast: d, transition: f, position: p, className: m, style: g, bodyClassName: b, bodyStyle: v, progressClassName: S, progressStyle: L, updateId: k, role: C, progress: T, rtl: x, toastId: W, deleteToast: j, isIn: z, isLoading: K, iconOut: R, closeOnClick: H, theme: q } = t, I = Ct("Toastify__toast", `Toastify__toast-theme--${q}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": x }, { "Toastify__toast--close-on-click": H }), N = Te(m) ? m({ rtl: x, position: p, type: c, defaultClassName: I }) : Ct(I, m), y = !!T || !a, E = { closeToast: d, type: c, theme: q };
8090
+ const { isRunning: e, preventExitTransition: n, toastRef: r, eventHandlers: i } = Of(t), { closeButton: o, children: s, autoClose: a, onClick: l, type: c, hideProgressBar: u, closeToast: d, transition: f, position: p, className: m, style: g, bodyClassName: b, bodyStyle: v, progressClassName: S, progressStyle: L, updateId: k, role: C, progress: T, rtl: x, toastId: W, deleteToast: j, isIn: z, isLoading: K, iconOut: R, closeOnClick: H, theme: q } = t, I = Ct("Toastify__toast", `Toastify__toast-theme--${q}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": x }, { "Toastify__toast--close-on-click": H }), N = Ge(m) ? m({ rtl: x, position: p, type: c, defaultClassName: I }) : Ct(I, m), y = !!T || !a, E = { closeToast: d, type: c, theme: q };
8091
8091
  let Q = null;
8092
- return o === !1 || (Q = Te(o) ? o(E) : Ft(o) ? _r(o, E) : Ia(E)), de.createElement(f, { isIn: z, done: j, position: p, preventExitTransition: n, nodeRef: r }, de.createElement("div", { id: W, onClick: l, className: N, ...i, style: g, ref: r }, de.createElement("div", { ...z && { role: C }, className: Te(b) ? b({ type: c }) : Ct("Toastify__toast-body", b), style: v }, R != null && de.createElement("div", { className: Ct("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !K }) }, R), de.createElement("div", null, s)), Q, de.createElement(Kf, { ...k && !y ? { key: `pb-${k}` } : {}, rtl: x, theme: q, delay: a, isRunning: e, isIn: z, closeToast: d, hide: u, type: c, style: L, className: S, controlledProgress: y, progress: T || 0 })));
8092
+ return o === !1 || (Q = Ge(o) ? o(E) : Ft(o) ? _r(o, E) : Ia(E)), de.createElement(f, { isIn: z, done: j, position: p, preventExitTransition: n, nodeRef: r }, de.createElement("div", { id: W, onClick: l, className: N, ...i, style: g, ref: r }, de.createElement("div", { ...z && { role: C }, className: Ge(b) ? b({ type: c }) : Ct("Toastify__toast-body", b), style: v }, R != null && de.createElement("div", { className: Ct("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !K }) }, R), de.createElement("div", null, s)), Q, de.createElement(Kf, { ...k && !y ? { key: `pb-${k}` } : {}, rtl: x, theme: q, delay: a, isRunning: e, isIn: z, closeToast: d, hide: u, type: c, style: L, className: S, controlledProgress: y, progress: T || 0 })));
8093
8093
  }, qr = function(t, e) {
8094
8094
  return e === void 0 && (e = !1), { enter: `Toastify--animate Toastify__${t}-enter`, exit: `Toastify--animate Toastify__${t}-exit`, appendPosition: e };
8095
8095
  }, Wf = br(qr("bounce", !0));
@@ -8100,7 +8100,7 @@ const vi = sl((t, e) => {
8100
8100
  const { getToastToRender: n, containerRef: r, isToastActive: i } = Lf(t), { className: o, style: s, rtl: a, containerId: l } = t;
8101
8101
  function c(u) {
8102
8102
  const d = Ct("Toastify__toast-container", `Toastify__toast-container--${u}`, { "Toastify__toast-container--rtl": a });
8103
- return Te(o) ? o({ position: u, rtl: a, defaultClassName: d }) : Ct(d, Jn(o));
8103
+ return Ge(o) ? o({ position: u, rtl: a, defaultClassName: d }) : Ct(d, Jn(o));
8104
8104
  }
8105
8105
  return qe(() => {
8106
8106
  e && (e.current = r.current);
@@ -8140,7 +8140,7 @@ be.loading = (t, e) => fn(t, ar("default", { isLoading: !0, autoClose: !1, close
8140
8140
  return void be.dismiss(r);
8141
8141
  const p = { type: u, ...a, ...n, data: f }, m = zt(d) ? { render: d } : d;
8142
8142
  return r ? be.update(r, { ...p, ...m }) : be(m.render, { ...p, ...m }), f;
8143
- }, c = Te(t) ? t() : t;
8143
+ }, c = Ge(t) ? t() : t;
8144
8144
  return c.then((u) => l("success", s, u)).catch((u) => l("error", o, u)), c;
8145
8145
  }, be.success = Mn("success"), be.info = Mn("info"), be.error = Mn("error"), be.warning = Mn("warning"), be.warn = be.warning, be.dark = (t, e) => fn(t, ar("default", { theme: "dark", ...e })), be.dismiss = (t) => {
8146
8146
  Lt.size > 0 ? _e.emit(1, t) : ln = ln.filter((e) => t != null && e.options.toastId !== t);
@@ -8206,7 +8206,7 @@ async function La(t, e, n) {
8206
8206
  versionId: n
8207
8207
  })).data;
8208
8208
  }
8209
- var Ge = /* @__PURE__ */ ((t) => (t.Flex = "#7101FF", t.Playable = "#EA580C", t.Import = "#00a3ff", t.Ready = "#0060A5", t.Fusion = "#171717", t))(Ge || {}), Oa = /* @__PURE__ */ ((t) => (t.Fusion = "linear-gradient(to right, #651FFF, #5018CC)", t.Ready = "linear-gradient(to right, #3b82f6, #2563eb)", t.Playable = "linear-gradient(to right, #f97316, #ea580c)", t.Flex = "linear-gradient(to right, #AD1BFF, #8B15CC)", t))(Oa || {});
8209
+ var Me = /* @__PURE__ */ ((t) => (t.Flex = "#7101FF", t.Playable = "#EA580C", t.Import = "#00a3ff", t.Ready = "#0060A5", t.Fusion = "#171717", t))(Me || {}), Oa = /* @__PURE__ */ ((t) => (t.Fusion = "linear-gradient(to right, #651FFF, #5018CC)", t.Ready = "linear-gradient(to right, #3b82f6, #2563eb)", t.Playable = "linear-gradient(to right, #f97316, #ea580c)", t.Flex = "linear-gradient(to right, #AD1BFF, #8B15CC)", t))(Oa || {});
8210
8210
  const zf = {
8211
8211
  applovin: "Mobile marketing platform for user acquisition",
8212
8212
  unity: "Unity Ads monetization platform",
@@ -8229,7 +8229,7 @@ const zf = {
8229
8229
  versionId: o,
8230
8230
  customerId: s
8231
8231
  }) => {
8232
- const [a, l] = P([]), [c, u] = P([]), [d, f] = P(!1), [p, m] = P(!1), [g, b] = P(null), [v, S] = Re(yr), L = () => Ge[i] || Ge.Playable, k = () => ({
8232
+ const [a, l] = P([]), [c, u] = P([]), [d, f] = P(!1), [p, m] = P(!1), [g, b] = P(null), [v, S] = ze(yr), L = () => Me[i] || Me.Playable, k = () => ({
8233
8233
  Ready: "#004A7F",
8234
8234
  Playable: "#C2410C",
8235
8235
  Import: "#0082CC",
@@ -8906,7 +8906,7 @@ const Jf = () => /* @__PURE__ */ A.jsxs("svg", { width: "24", height: "24", view
8906
8906
  n(u.target.value);
8907
8907
  }, s = (u) => {
8908
8908
  r(u.target.value);
8909
- }, [a, l] = Re(Cn);
8909
+ }, [a, l] = ze(Cn);
8910
8910
  let c = i;
8911
8911
  return t === "Playable" && !i && !a && (c = !0), /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
8912
8912
  t === "Playable" && /* @__PURE__ */ A.jsxs(
@@ -9221,7 +9221,7 @@ const Jf = () => /* @__PURE__ */ A.jsxs("svg", { width: "24", height: "24", view
9221
9221
  typeOfProduct: s,
9222
9222
  isCopied: a = !1
9223
9223
  }) => {
9224
- const l = o === "primary", c = () => l ? s && Ge[s] ? Ge[s] : "#EA580C" : "#E5E7EB", u = () => {
9224
+ const l = o === "primary", c = () => l ? s && Me[s] ? Me[s] : "#EA580C" : "#E5E7EB", u = () => {
9225
9225
  if (!l)
9226
9226
  return "#D1D5DB";
9227
9227
  const m = {
@@ -9293,7 +9293,7 @@ const Jf = () => /* @__PURE__ */ A.jsxs("svg", { width: "24", height: "24", view
9293
9293
  }
9294
9294
  );
9295
9295
  }, Ff = ({ checked: t, typeOfProduct: e, id: n }) => {
9296
- const [r, i] = P(t), o = Ge[e];
9296
+ const [r, i] = P(t), o = Me[e];
9297
9297
  qe(() => {
9298
9298
  i(t);
9299
9299
  }, [t]);
@@ -9411,7 +9411,7 @@ const Vf = ({ typeOfProduct: t }) => /* @__PURE__ */ A.jsx(
9411
9411
  width: "8px",
9412
9412
  height: "8px",
9413
9413
  borderRadius: "50%",
9414
- backgroundColor: Ge[t]
9414
+ backgroundColor: Me[t]
9415
9415
  }
9416
9416
  }
9417
9417
  ),
@@ -9424,7 +9424,7 @@ const Vf = ({ typeOfProduct: t }) => /* @__PURE__ */ A.jsx(
9424
9424
  width: "8px",
9425
9425
  height: "8px",
9426
9426
  borderRadius: "50%",
9427
- backgroundColor: Ge[t]
9427
+ backgroundColor: Me[t]
9428
9428
  }
9429
9429
  }
9430
9430
  ),
@@ -9437,7 +9437,7 @@ const Vf = ({ typeOfProduct: t }) => /* @__PURE__ */ A.jsx(
9437
9437
  width: "8px",
9438
9438
  height: "8px",
9439
9439
  borderRadius: "50%",
9440
- backgroundColor: Ge[t]
9440
+ backgroundColor: Me[t]
9441
9441
  }
9442
9442
  }
9443
9443
  ),
@@ -9450,7 +9450,7 @@ const Vf = ({ typeOfProduct: t }) => /* @__PURE__ */ A.jsx(
9450
9450
  width: "8px",
9451
9451
  height: "8px",
9452
9452
  borderRadius: "50%",
9453
- backgroundColor: Ge[t]
9453
+ backgroundColor: Me[t]
9454
9454
  }
9455
9455
  }
9456
9456
  )
@@ -9512,10 +9512,12 @@ const Vf = ({ typeOfProduct: t }) => /* @__PURE__ */ A.jsx(
9512
9512
  googleLink: n,
9513
9513
  buttonType: r,
9514
9514
  handleCopyLink: i,
9515
- download: o
9515
+ download: o,
9516
+ typeOfProduct: s
9516
9517
  }) => {
9517
- let s = "";
9518
- return !e && !n ? s = fe.t("common:both_links_are_empty_are_you_sure_want_to_continue") : e ? n || (s = fe.t("common:google_play_link_is_empty_are_you_sure_want_to_continue")) : s = fe.t("common:ios_link_is_empty_are_you_sure_want_to_continue"), /* @__PURE__ */ A.jsxs(
9518
+ const a = s && Me[s] ? Me[s] : Me.Playable;
9519
+ let l = "";
9520
+ return !e && !n ? l = fe.t("common:both_links_are_empty_are_you_sure_want_to_continue") : e ? n || (l = fe.t("common:google_play_link_is_empty_are_you_sure_want_to_continue")) : l = fe.t("common:ios_link_is_empty_are_you_sure_want_to_continue"), /* @__PURE__ */ A.jsxs(
9519
9521
  "div",
9520
9522
  {
9521
9523
  style: {
@@ -9568,7 +9570,7 @@ const Vf = ({ typeOfProduct: t }) => /* @__PURE__ */ A.jsx(
9568
9570
  fontSize: "18px",
9569
9571
  lineHeight: "24px"
9570
9572
  },
9571
- children: s
9573
+ children: l
9572
9574
  }
9573
9575
  ),
9574
9576
  /* @__PURE__ */ A.jsxs(
@@ -9600,15 +9602,15 @@ const Vf = ({ typeOfProduct: t }) => /* @__PURE__ */ A.jsx(
9600
9602
  /* @__PURE__ */ A.jsx(
9601
9603
  "button",
9602
9604
  {
9603
- onClick: async (a) => {
9605
+ onClick: async (c) => {
9604
9606
  r === "download" ? await o() : r === "copyLink" && await i(), t();
9605
9607
  },
9606
9608
  style: {
9607
9609
  flex: 1,
9608
9610
  cursor: "pointer",
9609
9611
  borderRadius: "0.375rem",
9610
- border: "1px solid red",
9611
- backgroundColor: "darkorange",
9612
+ border: `1px solid ${a}`,
9613
+ backgroundColor: a,
9612
9614
  padding: "0.5rem",
9613
9615
  fontWeight: "bold",
9614
9616
  color: "white",
@@ -10197,12 +10199,12 @@ const _f = ({
10197
10199
  generateCDN: W,
10198
10200
  cdnUrl: j
10199
10201
  }) => {
10200
- const [z, K] = P(!1), [R, H] = P(""), [q, I] = P(!1), [N, y] = P(!1), [E, Q] = P(!1), [Z, M] = P("download"), [F, U] = P(!1), [X, _] = P(!1), [G, V] = P(!1), [re, se] = P(!1), [te, ye] = P(!1), [Y, Ze] = P(!1), [ze, Se] = P(!1), [We, He] = P(!1), [D, B] = P(!1), [ie, Ce] = Re(yr), [Ae, Be] = Re(Cn), St = l === "Playable" ? Ae : !0, ht = {
10202
+ const [z, K] = P(!1), [R, H] = P(""), [q, I] = P(!1), [N, y] = P(!1), [E, Q] = P(!1), [Z, M] = P("download"), [F, U] = P(!1), [X, _] = P(!1), [G, V] = P(!1), [re, se] = P(!1), [te, ye] = P(!1), [Y, Ze] = P(!1), [Ne, Se] = P(!1), [je, He] = P(!1), [D, B] = P(!1), [ie, Ce] = ze(yr), [Ae, Be] = ze(Cn), St = l === "Playable" ? Ae : !0, ht = {
10201
10203
  cdn: "Generate Link",
10202
10204
  adikteev: "Copy CDN"
10203
10205
  }, ct = () => {
10204
10206
  n(t);
10205
- }, we = async (ue, Le, Ne) => {
10207
+ }, we = async (ue, Le, Ye) => {
10206
10208
  if (K(!0), l === "Flex" && L.flex === !1 && L.customer !== "playableFactoryInternal") {
10207
10209
  d("|ACCESS|"), K(!1);
10208
10210
  return;
@@ -10212,7 +10214,7 @@ const _f = ({
10212
10214
  urlType: T,
10213
10215
  responsiveType: "responsive"
10214
10216
  };
10215
- if (yt ? Le === "copy" ? (_(!0), Le = "download", Dt.molocoGenerateHtml = !0) : U(!0) : Yt && (Dt.responsiveType = Ne), console.log("getVersion", ue, Le, Dt), ue === "cdn") {
10217
+ if (yt ? Le === "copy" ? (_(!0), Le = "download", Dt.molocoGenerateHtml = !0) : U(!0) : Yt && (Dt.responsiveType = Ye), console.log("getVersion", ue, Le, Dt), ue === "cdn") {
10216
10218
  x(!0), await W(!0), K(!1);
10217
10219
  return;
10218
10220
  }
@@ -10235,10 +10237,10 @@ const _f = ({
10235
10237
  const Le = {
10236
10238
  molocoGenerateHtml: !1
10237
10239
  };
10238
- ue && (Le.molocoGenerateHtml = !0), Vt(c, i, St ? p : null, "download", C, Le).then((Ne) => {
10240
+ ue && (Le.molocoGenerateHtml = !0), Vt(c, i, St ? p : null, "download", C, Le).then((Ye) => {
10239
10241
  ue ? _(!1) : U(!1), Q(!1);
10240
- }).catch((Ne) => {
10241
- d(Ne.message, Ne);
10242
+ }).catch((Ye) => {
10243
+ d(Ye.message, Ye);
10242
10244
  });
10243
10245
  }, xn = async () => {
10244
10246
  V(!0);
@@ -10256,7 +10258,7 @@ const _f = ({
10256
10258
  flexDirection: "column",
10257
10259
  gap: "20px",
10258
10260
  padding: "16px",
10259
- borderColor: r ? Ge[l] : "lightgray",
10261
+ borderColor: r ? Me[l] : "lightgray",
10260
10262
  borderWidth: "1px",
10261
10263
  borderStyle: "solid",
10262
10264
  backgroundColor: "white",
@@ -10382,8 +10384,8 @@ const _f = ({
10382
10384
  Ze(!0);
10383
10385
  else {
10384
10386
  H("download");
10385
- const Le = p.iosUrl, Ne = p.googleUrl;
10386
- i === "cdn" && b && b.willSpendCredit && !j || i !== "cdn" && b && b.willSpendCredit ? (g(!0), M("download"), I(!0)) : ["Playable", "Flex", "Ready"].includes(l) && (!Le || !Ne) ? (g(!0), y(!0)) : (y(!1), I(!1), await we(i, "download"));
10387
+ const Le = p.iosUrl, Ye = p.googleUrl;
10388
+ i === "cdn" && b && b.willSpendCredit && !j || i !== "cdn" && b && b.willSpendCredit ? (g(!0), M("download"), I(!0)) : ["Playable", "Flex", "Ready"].includes(l) && (!Le || !Ye) ? (g(!0), y(!0)) : (y(!1), I(!1), await we(i, "download"));
10387
10389
  }
10388
10390
  },
10389
10391
  children: yt ? /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
@@ -10439,8 +10441,8 @@ const _f = ({
10439
10441
  if (ue.stopPropagation(), te)
10440
10442
  return;
10441
10443
  H("copyLink");
10442
- const Le = p.iosUrl, Ne = p.googleUrl;
10443
- b && (b != null && b.willSpendCredit) ? (M("copy"), g(!0), I(!0)) : l !== "Import" && (!Le || !Ne) ? (g(!0), y(!0)) : (I(!1), y(!1), await we(i, "copy"), ye(!0), setTimeout(() => ye(!1), 2e3));
10444
+ const Le = p.iosUrl, Ye = p.googleUrl;
10445
+ b && (b != null && b.willSpendCredit) ? (M("copy"), g(!0), I(!0)) : l !== "Import" && (!Le || !Ye) ? (g(!0), y(!0)) : (I(!1), y(!1), await we(i, "copy"), ye(!0), setTimeout(() => ye(!1), 2e3));
10444
10446
  },
10445
10447
  disabled: S,
10446
10448
  isCopied: te,
@@ -10454,8 +10456,8 @@ const _f = ({
10454
10456
  typeOfProduct: l,
10455
10457
  onClickDonwload: async (ue) => {
10456
10458
  ue.stopPropagation(), H("copyLink");
10457
- const Le = p.iosUrl, Ne = p.googleUrl;
10458
- b && (b != null && b.willSpendCredit) ? (M("download"), g(!0), I(!0)) : l !== "Import" && (!Le || !Ne) ? (g(!0), y(!0)) : (I(!1), y(!1), await Nt(!0));
10459
+ const Le = p.iosUrl, Ye = p.googleUrl;
10460
+ b && (b != null && b.willSpendCredit) ? (M("download"), g(!0), I(!0)) : l !== "Import" && (!Le || !Ye) ? (g(!0), y(!0)) : (I(!1), y(!1), await Nt(!0));
10459
10461
  },
10460
10462
  disabled: S,
10461
10463
  children: [
@@ -10512,6 +10514,7 @@ const _f = ({
10512
10514
  iosLink: p.iosUrl,
10513
10515
  googleLink: p.googleUrl,
10514
10516
  buttonType: R,
10517
+ typeOfProduct: l,
10515
10518
  handleCopyLink: async () => {
10516
10519
  y(!1), g(!1), await we(i, "copy");
10517
10520
  },
@@ -10543,8 +10546,8 @@ const _f = ({
10543
10546
  handleDownload: async (ue) => {
10544
10547
  ue === "portrait" ? Se(!0) : ue === "landscape" ? He(!0) : B(!0), await we(i, "download", ue), ue === "portrait" ? Se(!1) : ue === "landscape" ? He(!1) : B(!1);
10545
10548
  },
10546
- downloadingPortrait: ze,
10547
- downloadingLandscape: We,
10549
+ downloadingPortrait: Ne,
10550
+ downloadingLandscape: je,
10548
10551
  downloadingResponsive: D
10549
10552
  }
10550
10553
  )
@@ -10556,7 +10559,7 @@ const _f = ({
10556
10559
  multiDownloading: r,
10557
10560
  selectedCount: i = 0
10558
10561
  }) => {
10559
- const o = Ge[e] || "#EA580C", a = (() => {
10562
+ const o = Me[e] || "#EA580C", a = (() => {
10560
10563
  const l = {
10561
10564
  Flex: "#5A00CC",
10562
10565
  // Darker purple for Flex
@@ -11025,13 +11028,13 @@ const ip = ({
11025
11028
  customer: C,
11026
11029
  selectedVersionIds: T
11027
11030
  }) => {
11028
- const [x, W] = P([]), [j, z] = P([]), [K, R] = P(!1), [H, q] = P(""), [I, N] = P(!1), [y, E] = P(!1), [Q, Z] = P("download"), [M, F] = P(!1), [U, X] = P(!1), [_, G] = P(!1), [V, re] = Re(fa), [se, te] = Re(pa), [ye] = Re(yr), [Y, Ze] = Re(Cn), ze = i === "Playable" ? Y : !0, Se = async (B = !1) => {
11029
- B && L || _ || (G(!0), Vt(r, "cdn", ze ? c : null, null, !1, {}).then((ie) => {
11031
+ const [x, W] = P([]), [j, z] = P([]), [K, R] = P(!1), [H, q] = P(""), [I, N] = P(!1), [y, E] = P(!1), [Q, Z] = P("download"), [M, F] = P(!1), [U, X] = P(!1), [_, G] = P(!1), [V, re] = ze(fa), [se, te] = ze(pa), [ye] = ze(yr), [Y, Ze] = ze(Cn), Ne = i === "Playable" ? Y : !0, Se = async (B = !1) => {
11032
+ B && L || _ || (G(!0), Vt(r, "cdn", Ne ? c : null, null, !1, {}).then((ie) => {
11030
11033
  k(ie.url), G(!1);
11031
11034
  }).catch((ie) => {
11032
11035
  a(ie.message, ie), G(!1);
11033
11036
  }));
11034
- }, We = async (B) => {
11037
+ }, je = async (B) => {
11035
11038
  if (B === "adikteev" || B === "cdn")
11036
11039
  return;
11037
11040
  const ie = [...x];
@@ -11128,7 +11131,7 @@ const ip = ({
11128
11131
  name: B.name,
11129
11132
  imageUrl: ie,
11130
11133
  selected: x.includes(B.id),
11131
- handleCardClick: We,
11134
+ handleCardClick: je,
11132
11135
  networkVersionSize: j,
11133
11136
  fileSizeLoading: K,
11134
11137
  showCheckBox: B.id !== "adikteev" && B.id !== "cdn",
@@ -11328,8 +11331,8 @@ const dp = ({
11328
11331
  selectedVersionIds: L
11329
11332
  }) => {
11330
11333
  const [k, C] = P(null), [T, x] = P(null), [W, j] = P(null), [z, K] = P(!1), [R, H] = P(!0), [q, I] = P(window.innerWidth), [N, y] = P(!1), [E, Q] = P(!1), [Z, M] = P("");
11331
- Re(fa), Re(pa);
11332
- const [F, U] = Re(ha), [X, _] = Re(Cn);
11334
+ ze(fa), ze(pa);
11335
+ const [F, U] = ze(ha), [X, _] = ze(Cn);
11333
11336
  qe(() => {
11334
11337
  !Z && r !== "Fusion" && Pc(e).then((D) => {
11335
11338
  D != null && D.exist && M(D.uploadPath);
@@ -11405,34 +11408,34 @@ const dp = ({
11405
11408
  ...D,
11406
11409
  networks: D.networks
11407
11410
  })))), K(!1);
11408
- }, ze = async () => await sp(n, o), [Se, We] = P(null), He = async (D) => await Ap(D, o);
11411
+ }, Ne = async () => await sp(n, o), [Se, je] = P(null), He = async (D) => await Ap(D, o);
11409
11412
  return qe(() => {
11410
- i || (C(null), x(null), j(null), d(null), We(null)), i && (r === "Playable" ? ze().then((D) => {
11413
+ i || (C(null), x(null), j(null), d(null), je(null)), i && (r === "Playable" ? Ne().then((D) => {
11411
11414
  x(D), D && He(D.customer).then((B) => {
11412
- We(B || null);
11415
+ je(B || null);
11413
11416
  }), re().then((B) => {
11414
11417
  Y(null, B);
11415
11418
  }), H(!1);
11416
11419
  }) : r === "Ready" ? Ze().then((D) => {
11417
11420
  re().then((B) => {
11418
11421
  Y(null, B), H(!1), B != null && B.customer && He(B.customer).then((ie) => {
11419
- We(ie || null);
11422
+ je(ie || null);
11420
11423
  });
11421
11424
  });
11422
11425
  }) : r === "Flex" ? Ze().then((D) => {
11423
- H(!1), ze().then((B) => {
11426
+ H(!1), Ne().then((B) => {
11424
11427
  i && (Y(B, null), H(!1), x(B), B && He(B.customer).then((ie) => {
11425
- We(ie || null);
11428
+ je(ie || null);
11426
11429
  }));
11427
11430
  });
11428
11431
  }) : r === "Import" ? up(e, o).then((D) => {
11429
11432
  C(D), g(D.iosUrl || ""), b(D.googleUrl || ""), K(!1), H(!1);
11430
- }) : r === "Fusion" && (H(!1), ze().then((D) => {
11433
+ }) : r === "Fusion" && (H(!1), Ne().then((D) => {
11431
11434
  i && (Y(D, null), H(!1), x({
11432
11435
  ...D,
11433
11436
  networks: F.filter((B) => B !== "cdn")
11434
11437
  }), D && He(D.customer).then((B) => {
11435
- We(B || null);
11438
+ je(B || null);
11436
11439
  }));
11437
11440
  })));
11438
11441
  }, [n, t, e, i]), /* @__PURE__ */ A.jsxs(
@@ -14182,7 +14185,7 @@ const ds = 5, dh = ({
14182
14185
  {
14183
14186
  width: 100,
14184
14187
  height: 100,
14185
- fill: Ge[r]
14188
+ fill: Me[r]
14186
14189
  }
14187
14190
  ) }) }),
14188
14191
  /* @__PURE__ */ A.jsx("div", { className: "mb-5 h-[50px] w-full", children: /* @__PURE__ */ A.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ A.jsx("span", { className: "text-3xl font-bold text-flex-purple", children: "Playable Size Too Big" }) }) }),
@@ -14215,7 +14218,7 @@ const ds = 5, dh = ({
14215
14218
  {
14216
14219
  className: " pointer-events-auto ml-3 flex h-full w-[180px] items-center justify-center rounded-md transition-all hover:scale-105 cursor-pointer",
14217
14220
  style: {
14218
- backgroundColor: Ge[r]
14221
+ backgroundColor: Me[r]
14219
14222
  },
14220
14223
  onClick: () => {
14221
14224
  r === "Flex" && !p ? b() : t(!1);
@@ -14368,7 +14371,7 @@ const ds = 5, dh = ({
14368
14371
  fusionData: g,
14369
14372
  onNameChange: b
14370
14373
  }) => {
14371
- const [v, S] = P(window.innerWidth), [L, k] = P(!1), [C, T] = P(d), [x, W] = P(!1), [j, z] = P(!0), [K, R] = P(null), [H, q] = P(""), [I, N] = P("Loading..."), [y, E] = P("Loading..."), [Q, Z] = P("game"), [M, F] = Re(yr), [U, X] = Re(ha);
14374
+ const [v, S] = P(window.innerWidth), [L, k] = P(!1), [C, T] = P(d), [x, W] = P(!1), [j, z] = P(!0), [K, R] = P(null), [H, q] = P(""), [I, N] = P("Loading..."), [y, E] = P("Loading..."), [Q, Z] = P("game"), [M, F] = ze(yr), [U, X] = ze(ha);
14372
14375
  Tc(a, l, q, p, g);
14373
14376
  const _ = async () => {
14374
14377
  let G = await La(l, a, n);