gearboxdownloadmodal 8.0.6 → 8.0.8

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
@@ -154,14 +154,14 @@ function ul() {
154
154
  }
155
155
  return null;
156
156
  }
157
- var E = Object.assign, L = 0, G, y, M, U, w, I, V;
157
+ var E = Object.assign, L = 0, G, y, M, Q, w, I, V;
158
158
  function H() {
159
159
  }
160
160
  H.__reactDisabledLog = !0;
161
161
  function J() {
162
162
  {
163
163
  if (L === 0) {
164
- G = console.log, y = console.info, M = console.warn, U = console.error, w = console.group, I = console.groupCollapsed, V = console.groupEnd;
164
+ G = console.log, y = console.info, M = console.warn, Q = console.error, w = console.group, I = console.groupCollapsed, V = console.groupEnd;
165
165
  var h = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
@@ -200,7 +200,7 @@ function ul() {
200
200
  value: M
201
201
  }),
202
202
  error: E({}, h, {
203
- value: U
203
+ value: Q
204
204
  }),
205
205
  group: E({}, h, {
206
206
  value: w
@@ -342,13 +342,13 @@ function ul() {
342
342
  }
343
343
  return "";
344
344
  }
345
- var Be = Object.prototype.hasOwnProperty, D = {}, Q = b.ReactDebugCurrentFrame;
345
+ var Be = Object.prototype.hasOwnProperty, D = {}, U = b.ReactDebugCurrentFrame;
346
346
  function oe(h) {
347
347
  if (h) {
348
348
  var O = h._owner, N = je(h.type, h._source, O ? O.type : null);
349
- Q.setExtraStackFrame(N);
349
+ U.setExtraStackFrame(N);
350
350
  } else
351
- Q.setExtraStackFrame(null);
351
+ U.setExtraStackFrame(null);
352
352
  }
353
353
  function qe(h, O, N, ee, fe) {
354
354
  {
@@ -854,7 +854,7 @@ function pl() {
854
854
  }
855
855
  }
856
856
  var q = l, T = A, x = a, K = o, Y = e, W = u, z = r, j = g, B = p, E = n, L = s, G = i, y = d, M = !1;
857
- function U(R) {
857
+ function Q(R) {
858
858
  return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), w(R) || S(R) === l;
859
859
  }
860
860
  function w(R) {
@@ -893,7 +893,7 @@ function pl() {
893
893
  function ge(R) {
894
894
  return S(R) === d;
895
895
  }
896
- he.AsyncMode = q, he.ConcurrentMode = T, he.ContextConsumer = x, he.ContextProvider = K, he.Element = Y, he.ForwardRef = W, he.Fragment = z, he.Lazy = j, he.Memo = B, he.Portal = E, he.Profiler = L, he.StrictMode = G, he.Suspense = y, he.isAsyncMode = U, he.isConcurrentMode = w, he.isContextConsumer = I, he.isContextProvider = V, he.isElement = H, he.isForwardRef = J, he.isFragment = P, he.isLazy = F, he.isMemo = _, he.isPortal = ne, he.isProfiler = se, he.isStrictMode = $, he.isSuspense = ge, he.isValidElementType = k, he.typeOf = S;
896
+ he.AsyncMode = q, he.ConcurrentMode = T, he.ContextConsumer = x, he.ContextProvider = K, he.Element = Y, he.ForwardRef = W, he.Fragment = z, he.Lazy = j, he.Memo = B, he.Portal = E, he.Profiler = L, he.StrictMode = G, he.Suspense = y, he.isAsyncMode = Q, he.isConcurrentMode = w, he.isContextConsumer = I, he.isContextProvider = V, he.isElement = H, he.isForwardRef = J, he.isFragment = P, he.isLazy = F, he.isMemo = _, he.isPortal = ne, he.isProfiler = se, he.isStrictMode = $, he.isSuspense = ge, he.isValidElementType = k, he.typeOf = S;
897
897
  }()), he;
898
898
  }
899
899
  var rs;
@@ -1150,7 +1150,7 @@ function gl() {
1150
1150
  function T(w) {
1151
1151
  function I(V, H, J, P, F) {
1152
1152
  if (!(V[H] instanceof w)) {
1153
- var _ = w.name || f, ne = U(V[H]);
1153
+ var _ = w.name || f, ne = Q(V[H]);
1154
1154
  return new m("Invalid " + P + " `" + F + "` of type " + ("`" + ne + "` supplied to `" + J + "`, expected ") + ("instance of `" + _ + "`."));
1155
1155
  }
1156
1156
  return null;
@@ -1330,7 +1330,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
1330
1330
  return I;
1331
1331
  }
1332
1332
  }
1333
- function U(w) {
1333
+ function Q(w) {
1334
1334
  return !w.constructor || !w.constructor.name ? f : w.constructor.name;
1335
1335
  }
1336
1336
  return p.checkPropTypes = i, p.resetWarningCache = i.resetWarningCache, p.PropTypes = p, p;
@@ -2599,13 +2599,13 @@ class Vn extends or {
2599
2599
  L.push(G[M]);
2600
2600
  else
2601
2601
  this.options.saveMissingTo === "all" ? L = this.languageUtils.toResolveHierarchy(n.lng || this.language) : L.push(n.lng || this.language);
2602
- const y = (M, U, w) => {
2602
+ const y = (M, Q, w) => {
2603
2603
  const I = x && w !== f ? w : B;
2604
- this.options.missingKeyHandler ? this.options.missingKeyHandler(M, l, U, I, E, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(M, l, U, I, E, n), this.emit("missingKey", M, l, U, f);
2604
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(M, l, Q, I, E, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(M, l, Q, I, E, n), this.emit("missingKey", M, l, Q, f);
2605
2605
  };
2606
2606
  this.options.saveMissing && (this.options.saveMissingPlurals && T ? L.forEach((M) => {
2607
- const U = this.pluralResolver.getSuffixes(M, n);
2608
- W && n[`defaultValue${this.options.pluralSeparator}zero`] && U.indexOf(`${this.options.pluralSeparator}zero`) < 0 && U.push(`${this.options.pluralSeparator}zero`), U.forEach((w) => {
2607
+ const Q = this.pluralResolver.getSuffixes(M, n);
2608
+ W && n[`defaultValue${this.options.pluralSeparator}zero`] && Q.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Q.push(`${this.options.pluralSeparator}zero`), Q.forEach((w) => {
2609
2609
  y([M], o + w, n[`defaultValue${w}`] || z);
2610
2610
  });
2611
2611
  }) : y(L, o, z));
@@ -5716,7 +5716,7 @@ function Fc(t) {
5716
5716
  K.iconOut = function(j) {
5717
5717
  let { theme: B, type: E, isLoading: L, icon: G } = j, y = null;
5718
5718
  const M = { theme: B, type: E };
5719
- return G === !1 || (De(G) ? y = G(M) : Ht(G) ? y = Vr(G, M) : Mt(G) || ln(G) ? y = G : L ? y = Rr.spinner() : ((U) => U in Rr)(E) && (y = Rr[E](M))), y;
5719
+ return G === !1 || (De(G) ? y = G(M) : Ht(G) ? y = Vr(G, M) : Mt(G) || ln(G) ? y = G : L ? y = Rr.spinner() : ((Q) => Q in Rr)(E) && (y = Rr[E](M))), y;
5720
5720
  }(K), De(b.onOpen) && (K.onOpen = b.onOpen), De(b.onClose) && (K.onClose = b.onClose), K.closeButton = q.closeButton, b.closeButton === !1 || zr(b.closeButton) ? K.closeButton = b.closeButton : b.closeButton === !0 && (K.closeButton = !zr(q.closeButton) || q.closeButton);
5721
5721
  let z = p;
5722
5722
  Ht(p) && !Mt(p.type) ? z = Vr(p, { closeToast: T, toastProps: K, data: S }) : De(p) && (z = p({ closeToast: T, toastProps: K, data: S })), q.limit && q.limit > 0 && a.count > q.limit && x ? a.queue.push({ toastContent: z, toastProps: K, staleId: v }) : ln(m) ? setTimeout(() => {
@@ -5811,8 +5811,8 @@ function $c(t) {
5811
5811
  }
5812
5812
  const ed = (t) => {
5813
5813
  const { isRunning: e, preventExitTransition: n, toastRef: r, eventHandlers: i } = _c(t), { closeButton: s, children: o, autoClose: a, onClick: l, type: A, hideProgressBar: u, closeToast: d, transition: f, position: p, className: g, style: m, bodyClassName: v, bodyStyle: b, progressClassName: Z, progressStyle: k, updateId: S, role: q, progress: T, rtl: x, toastId: K, deleteToast: Y, isIn: W, isLoading: z, iconOut: j, closeOnClick: B, theme: E } = t, L = yt("Toastify__toast", `Toastify__toast-theme--${E}`, `Toastify__toast--${A}`, { "Toastify__toast--rtl": x }, { "Toastify__toast--close-on-click": B }), G = De(g) ? g({ rtl: x, position: p, type: A, defaultClassName: L }) : yt(L, g), y = !!T || !a, M = { closeToast: d, type: A, theme: E };
5814
- let U = null;
5815
- return s === !1 || (U = De(s) ? s(M) : Ht(s) ? Vr(s, M) : oa(M)), de.createElement(f, { isIn: W, done: Y, position: p, preventExitTransition: n, nodeRef: r }, de.createElement("div", { id: K, onClick: l, className: G, ...i, style: m, ref: r }, de.createElement("div", { ...W && { role: q }, className: De(v) ? v({ type: A }) : yt("Toastify__toast-body", v), style: b }, j != null && de.createElement("div", { className: yt("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !z }) }, j), de.createElement("div", null, o)), U, de.createElement($c, { ...S && !y ? { key: `pb-${S}` } : {}, rtl: x, theme: E, delay: a, isRunning: e, isIn: W, closeToast: d, hide: u, type: A, style: k, className: Z, controlledProgress: y, progress: T || 0 })));
5814
+ let Q = null;
5815
+ return s === !1 || (Q = De(s) ? s(M) : Ht(s) ? Vr(s, M) : oa(M)), de.createElement(f, { isIn: W, done: Y, position: p, preventExitTransition: n, nodeRef: r }, de.createElement("div", { id: K, onClick: l, className: G, ...i, style: m, ref: r }, de.createElement("div", { ...W && { role: q }, className: De(v) ? v({ type: A }) : yt("Toastify__toast-body", v), style: b }, j != null && de.createElement("div", { className: yt("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !z }) }, j), de.createElement("div", null, o)), Q, de.createElement($c, { ...S && !y ? { key: `pb-${S}` } : {}, rtl: x, theme: E, delay: a, isRunning: e, isIn: W, closeToast: d, hide: u, type: A, style: k, className: Z, controlledProgress: y, progress: T || 0 })));
5816
5816
  }, pr = function(t, e) {
5817
5817
  return e === void 0 && (e = !1), { enter: `Toastify--animate Toastify__${t}-enter`, exit: `Toastify--animate Toastify__${t}-exit`, appendPosition: e };
5818
5818
  }, td = fr(pr("bounce", !0));
@@ -6208,11 +6208,11 @@ const cd = Symbol(), dd = (t = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ *
6208
6208
  throw new Error("no atom init");
6209
6209
  return On(w);
6210
6210
  }
6211
- const U = m(y);
6211
+ const Q = m(y);
6212
6212
  try {
6213
- return On(U);
6213
+ return On(Q);
6214
6214
  } finally {
6215
- Y.d.set(y, U.n), Ps(Y.v) && da(x, Y.v, U), (M = e.get(y)) == null || M.t.add(x), W || z();
6215
+ Y.d.set(y, Q.n), Ps(Y.v) && da(x, Y.v, Q), (M = e.get(y)) == null || M.t.add(x), W || z();
6216
6216
  }
6217
6217
  };
6218
6218
  let B, E;
@@ -8269,7 +8269,7 @@ const Yd = ({
8269
8269
  generateCDN: K,
8270
8270
  cdnUrl: Y
8271
8271
  }) => {
8272
- const [W, z] = X(!1), [j, B] = X(""), [E, L] = X(!1), [G, y] = X(!1), [M, U] = X(!1), [w, I] = X("download"), [V, H] = X(!1), [J, P] = X(!1), [F, _] = X(!1), [ne, se] = X(!1), [$, ge] = X(!1), [R, we] = X(!1), [We, je] = X(!1), [Be, D] = Te(Yi), [Q, oe] = Te(qn), qe = l === "Playable" ? Q : !0, be = {
8272
+ const [W, z] = X(!1), [j, B] = X(""), [E, L] = X(!1), [G, y] = X(!1), [M, Q] = X(!1), [w, I] = X("download"), [V, H] = X(!1), [J, P] = X(!1), [F, _] = X(!1), [ne, se] = X(!1), [$, ge] = X(!1), [R, we] = X(!1), [We, je] = X(!1), [Be, D] = Te(Yi), [U, oe] = Te(qn), qe = l === "Playable" ? U : !0, be = {
8273
8273
  cdn: "Generate Link",
8274
8274
  adikteev: "Copy CDN"
8275
8275
  }, ze = () => {
@@ -8308,7 +8308,7 @@ const Yd = ({
8308
8308
  molocoGenerateHtml: !1
8309
8309
  };
8310
8310
  ue && (Ce.molocoGenerateHtml = !0), pn(A, i, qe ? p : null, "download", q, Ce).then((Oe) => {
8311
- ue ? P(!1) : H(!1), U(!1);
8311
+ ue ? P(!1) : H(!1), Q(!1);
8312
8312
  }).catch((Oe) => {
8313
8313
  d(Oe.message, Oe);
8314
8314
  });
@@ -8447,7 +8447,7 @@ const Yd = ({
8447
8447
  downloading: W,
8448
8448
  onClickDonwload: async (ue) => {
8449
8449
  if (ue.stopPropagation(), console.log("user in onclickdownload", k), ut && k.customer === "playableFactoryInternal") {
8450
- U(!0);
8450
+ Q(!0);
8451
8451
  return;
8452
8452
  } else if (At)
8453
8453
  se(!0);
@@ -8591,7 +8591,7 @@ const Yd = ({
8591
8591
  zd,
8592
8592
  {
8593
8593
  onClose: () => {
8594
- U(!1);
8594
+ Q(!1);
8595
8595
  },
8596
8596
  handleDownload: Ct,
8597
8597
  handleDownloadMolocoTest: Rt,
@@ -9025,38 +9025,38 @@ const Yd = ({
9025
9025
  setCdnUrl: S,
9026
9026
  customer: q
9027
9027
  }) => {
9028
- const [T, x] = X([]), [K, Y] = X([]), [W, z] = X(!1), [j, B] = X(""), [E, L] = X(!1), [G, y] = X(!1), [M, U] = X("download"), [w, I] = X(!1), [V, H] = X(!1), [J, P] = X(!1), [F, _] = Te(pa), [ne, se] = Te(ha), [$] = Te(Yi), [ge, R] = Te(qn), we = i === "Playable" ? ge : !0, We = async (Q = !1) => {
9029
- Q && k || J || (P(!0), pn(r, "cdn", we ? A : null, null, !1, {}).then((oe) => {
9028
+ const [T, x] = X([]), [K, Y] = X([]), [W, z] = X(!1), [j, B] = X(""), [E, L] = X(!1), [G, y] = X(!1), [M, Q] = X("download"), [w, I] = X(!1), [V, H] = X(!1), [J, P] = X(!1), [F, _] = Te(pa), [ne, se] = Te(ha), [$] = Te(Yi), [ge, R] = Te(qn), we = i === "Playable" ? ge : !0, We = async (U = !1) => {
9029
+ U && k || J || (P(!0), pn(r, "cdn", we ? A : null, null, !1, {}).then((oe) => {
9030
9030
  S(oe.url), P(!1);
9031
9031
  }).catch((oe) => {
9032
9032
  a(oe.message, oe), P(!1);
9033
9033
  }));
9034
- }, je = async (Q) => {
9035
- if (Q === "adikteev")
9034
+ }, je = async (U) => {
9035
+ if (U === "adikteev")
9036
9036
  return;
9037
9037
  const oe = [...T];
9038
- if (T.includes(Q)) {
9039
- const qe = oe.findIndex((be) => be === Q);
9038
+ if (T.includes(U)) {
9039
+ const qe = oe.findIndex((be) => be === U);
9040
9040
  oe.splice(qe, 1), x(oe);
9041
9041
  } else
9042
- oe.push(Q), x([...T, Q]);
9042
+ oe.push(U), x([...T, U]);
9043
9043
  $.filter((qe) => [...oe].includes(qe.id)).map((qe) => qe.name);
9044
- }, Be = async () => new Promise(async (Q, oe) => {
9044
+ }, Be = async () => new Promise(async (U, oe) => {
9045
9045
  const qe = $.filter((be) => [...T].includes(be.id)).map((be) => be.name);
9046
9046
  L(!0), od(r, A, qe, { urlType: m }).then((be) => {
9047
- L(!1), Q(be);
9047
+ L(!1), U(be);
9048
9048
  }).catch((be) => {
9049
9049
  console.log("get multi download err"), L(!1), a(be.message, be), oe(be);
9050
9050
  });
9051
9051
  }), D = async () => {
9052
- A.iosUrl, A.googleUrl, e && e.willSpendCredit ? (y(!0), U("download"), I(!0)) : (I(!1), await Be());
9052
+ A.iosUrl, A.googleUrl, e && e.willSpendCredit ? (y(!0), Q("download"), I(!0)) : (I(!1), await Be());
9053
9053
  };
9054
9054
  return Ie(() => {
9055
- const Q = $.filter((oe) => {
9055
+ const U = $.filter((oe) => {
9056
9056
  var qe;
9057
- return e && ((qe = e == null ? void 0 : e.networks) == null ? void 0 : qe.length) > 0 ? typeof oe == "string" ? e == null ? void 0 : e.networks.includes(oe) : e == null ? void 0 : e.networks.includes(oe.name) : i === "Import" ? t == null ? void 0 : t.networks.filter((be) => be.status === "paid").some((be) => be.name === oe.name) : t == null ? void 0 : t.networks.includes(oe.name);
9057
+ return e && ((qe = e == null ? void 0 : e.networks) == null ? void 0 : qe.length) > 0 ? typeof oe == "string" ? e == null ? void 0 : e.networks.includes(oe) : e == null ? void 0 : e.networks.includes(oe.name) : i === "Import" ? t == null ? void 0 : t.networks.filter((be) => be.status === "paid").some((be) => be.name === oe.name) : oe;
9058
9058
  }).filter((oe) => oe.name === "voodoo" ? o.customer === "customer:20" : !0).map((oe) => oe.id);
9059
- x(v ? Q : []);
9059
+ console.log("networks", U), x(v ? U : []);
9060
9060
  }, [v]), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
9061
9061
  /* @__PURE__ */ c.jsx(
9062
9062
  "div",
@@ -9078,28 +9078,28 @@ const Yd = ({
9078
9078
  overflowY: "auto",
9079
9079
  padding: "0.75rem"
9080
9080
  },
9081
- children: n && $.filter((Q) => {
9081
+ children: n && $.filter((U) => {
9082
9082
  var oe;
9083
- return e && ((oe = e == null ? void 0 : e.networks) == null ? void 0 : oe.length) > 0 ? typeof Q == "string" ? e == null ? void 0 : e.networks.includes(Q) : e == null ? void 0 : e.networks.includes(Q.name) : i === "Import" ? t == null ? void 0 : t.networks.filter((qe) => qe.status === "paid").some((qe) => qe.name === Q.name) : q != null && q.networks ? q.networks.includes(Q.name) : Q;
9083
+ return e && ((oe = e == null ? void 0 : e.networks) == null ? void 0 : oe.length) > 0 ? typeof U == "string" ? e == null ? void 0 : e.networks.includes(U) : e == null ? void 0 : e.networks.includes(U.name) : i === "Import" ? t == null ? void 0 : t.networks.filter((qe) => qe.status === "paid").some((qe) => qe.name === U.name) : q != null && q.networks ? q.networks.includes(U.name) : U;
9084
9084
  }).filter(
9085
- (Q) => Q.name === "voodoo" ? o.customer === "customer:20" : !0
9086
- ).map((Q) => {
9087
- let oe = Q.imageSrc;
9088
- if (Q.name === "web") {
9085
+ (U) => U.name === "voodoo" ? o.customer === "customer:20" : !0
9086
+ ).map((U) => {
9087
+ let oe = U.imageSrc;
9088
+ if (U.name === "web") {
9089
9089
  let qe = "web_" + i.toLowerCase() + ".png";
9090
9090
  oe = oe.replace("web.png", qe);
9091
9091
  }
9092
9092
  return /* @__PURE__ */ c.jsx(
9093
9093
  Nd,
9094
9094
  {
9095
- id: Q.id,
9096
- name: Q.name,
9095
+ id: U.id,
9096
+ name: U.name,
9097
9097
  imageUrl: oe,
9098
- selected: T.includes(Q.id),
9098
+ selected: T.includes(U.id),
9099
9099
  handleCardClick: je,
9100
9100
  networkVersionSize: K,
9101
9101
  fileSizeLoading: W,
9102
- showCheckBox: Q.id !== "adikteev",
9102
+ showCheckBox: U.id !== "adikteev",
9103
9103
  typeOfProduct: i,
9104
9104
  versionId: r,
9105
9105
  api: s,
@@ -9119,7 +9119,7 @@ const Yd = ({
9119
9119
  generateCDN: We,
9120
9120
  cdnUrl: k
9121
9121
  },
9122
- Q.id
9122
+ U.id
9123
9123
  );
9124
9124
  })
9125
9125
  }
@@ -9292,14 +9292,14 @@ const _d = ({
9292
9292
  urlType: b,
9293
9293
  setUrlType: Z
9294
9294
  }) => {
9295
- const [k, S] = X(null), [q, T] = X(null), [x, K] = X(null), [Y, W] = X(!1), [z, j] = X(!0), [B, E] = X(window.innerWidth), [L, G] = X(!1), [y, M] = X(!1), [U, w] = X("");
9295
+ const [k, S] = X(null), [q, T] = X(null), [x, K] = X(null), [Y, W] = X(!1), [z, j] = X(!0), [B, E] = X(window.innerWidth), [L, G] = X(!1), [y, M] = X(!1), [Q, w] = X("");
9296
9296
  Te(pa), Te(ha);
9297
9297
  const [I, V] = Te(ma), [H, J] = Te(qn);
9298
9298
  Ie(() => {
9299
- !U && r !== "Fusion" && ud(e).then((D) => {
9299
+ !Q && r !== "Fusion" && ud(e).then((D) => {
9300
9300
  D != null && D.exist && w(D.uploadPath);
9301
9301
  });
9302
- }, [U]), console.log("download modal version: 6.0.75");
9302
+ }, [Q]), console.log("download modal version: 8.0.8");
9303
9303
  const [P, F] = X(!1);
9304
9304
  Ie(() => {
9305
9305
  }, [P]), Ie(() => {
@@ -9314,15 +9314,15 @@ const _d = ({
9314
9314
  W(!0);
9315
9315
  const D = await oi(t, s);
9316
9316
  return D != null && D.networks || (D.networks = Us), S(D), D;
9317
- }, ne = (D, Q) => {
9317
+ }, ne = (D, U) => {
9318
9318
  clearTimeout(Qs), Qs = setTimeout(() => {
9319
- r === "Playable" && !H || Ri(e, { iosUrl: D, googleUrl: Q }, { urlType: b });
9319
+ r === "Playable" && !H || Ri(e, { iosUrl: D, googleUrl: U }, { urlType: b });
9320
9320
  }, 1e3);
9321
9321
  }, se = (D) => {
9322
9322
  m(D), ne(D, g);
9323
9323
  }, $ = (D) => {
9324
9324
  v(D), ne(p, D);
9325
- }, ge = async (D, Q) => {
9325
+ }, ge = async (D, U) => {
9326
9326
  var oe, qe;
9327
9327
  try {
9328
9328
  let be;
@@ -9336,8 +9336,8 @@ const _d = ({
9336
9336
  m(D.iosUrl), v(D.googleUrl), W(!1);
9337
9337
  return;
9338
9338
  }
9339
- if (Q && Q.html) {
9340
- const $e = `${A}/${Q.html}?t=${Date.now()}`;
9339
+ if (U && U.html) {
9340
+ const $e = `${A}/${U.html}?t=${Date.now()}`;
9341
9341
  let Ct = await fetch($e).then((At) => At.text());
9342
9342
  const Rt = ((oe = Ct.match(
9343
9343
  /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
@@ -9377,23 +9377,23 @@ const _d = ({
9377
9377
  }, we = async () => await Bd(n, s), [We, je] = X(null), Be = async (D) => await Fd(D, s);
9378
9378
  return Ie(() => {
9379
9379
  i || (S(null), T(null), K(null), d(null), je(null)), i && (r === "Playable" ? we().then((D) => {
9380
- Be(D.customer).then((Q) => {
9381
- je(Q);
9382
- }), _().then((Q) => {
9383
- ge(null, Q);
9380
+ Be(D.customer).then((U) => {
9381
+ je(U);
9382
+ }), _().then((U) => {
9383
+ ge(null, U);
9384
9384
  }), j(!1);
9385
9385
  }) : r === "Ready" ? R().then((D) => {
9386
- _().then((Q) => {
9387
- ge(null, Q), j(!1);
9386
+ _().then((U) => {
9387
+ ge(null, U), j(!1);
9388
9388
  });
9389
9389
  }) : r === "Flex" ? R().then((D) => {
9390
- j(!1), we().then((Q) => {
9391
- i && (ge(Q, null), j(!1), T(Q));
9390
+ j(!1), we().then((U) => {
9391
+ i && (ge(U, null), j(!1), T(U));
9392
9392
  });
9393
9393
  }) : r === "Import" ? Ud(e, s).then((D) => {
9394
9394
  S(D), m(D.iosUrl || ""), v(D.googleUrl || ""), W(!1), j(!1);
9395
9395
  }) : r === "Fusion" && (j(!1), we().then((D) => {
9396
- i && (ge(D, null), j(!1), D.networks = I.filter((Q) => Q !== "cdn"), T(D));
9396
+ i && (ge(D, null), j(!1), D.networks = I.filter((U) => U !== "cdn"), T(D));
9397
9397
  })));
9398
9398
  }, [n, t, e, i]), /* @__PURE__ */ c.jsxs(
9399
9399
  "div",
@@ -9464,7 +9464,7 @@ const _d = ({
9464
9464
  allNetworksSelected: P,
9465
9465
  cdnModal: y,
9466
9466
  setCdnModal: M,
9467
- cdnUrl: U,
9467
+ cdnUrl: Q,
9468
9468
  setCdnUrl: w,
9469
9469
  customer: We ?? void 0
9470
9470
  }
@@ -9990,8 +9990,8 @@ Nf.default.subscribe(Gf);
9990
9990
  }, y.setContentRef = function(M) {
9991
9991
  y.content = M, y.props.contentRef && y.props.contentRef(M);
9992
9992
  }, y.afterClose = function() {
9993
- var M = y.props, U = M.appElement, w = M.ariaHideApp, I = M.htmlOpenClassName, V = M.bodyOpenClassName, H = M.parentSelector, J = H && H().ownerDocument || document;
9994
- V && m.remove(J.body, V), I && m.remove(J.getElementsByTagName("html")[0], I), w && j > 0 && (j -= 1, j === 0 && p.show(U)), y.props.shouldFocusAfterRender && (y.props.shouldReturnFocusAfterClose ? (A.returnFocus(y.props.preventScroll), A.teardownScopedFocus()) : A.popWithoutFocus()), y.props.onAfterClose && y.props.onAfterClose(), k.default.deregister(y);
9993
+ var M = y.props, Q = M.appElement, w = M.ariaHideApp, I = M.htmlOpenClassName, V = M.bodyOpenClassName, H = M.parentSelector, J = H && H().ownerDocument || document;
9994
+ V && m.remove(J.body, V), I && m.remove(J.getElementsByTagName("html")[0], I), w && j > 0 && (j -= 1, j === 0 && p.show(Q)), y.props.shouldFocusAfterRender && (y.props.shouldReturnFocusAfterClose ? (A.returnFocus(y.props.preventScroll), A.teardownScopedFocus()) : A.popWithoutFocus()), y.props.onAfterClose && y.props.onAfterClose(), k.default.deregister(y);
9995
9995
  }, y.open = function() {
9996
9996
  y.beforeOpen(), y.state.afterOpen && y.state.beforeClose ? (clearTimeout(y.closeTimer), y.setState({ beforeClose: !1 })) : (y.props.shouldFocusAfterRender && (A.setupScopedFocus(y.node), A.markForFocusLater()), y.setState({ isOpen: !0 }, function() {
9997
9997
  y.openAnimationFrame = requestAnimationFrame(function() {
@@ -10037,16 +10037,16 @@ Nf.default.subscribe(Gf);
10037
10037
  return !y.state.isOpen && !y.state.beforeClose;
10038
10038
  }, y.contentHasFocus = function() {
10039
10039
  return document.activeElement === y.content || y.content.contains(document.activeElement);
10040
- }, y.buildClassName = function(M, U) {
10041
- var w = (typeof U > "u" ? "undefined" : r(U)) === "object" ? U : {
10040
+ }, y.buildClassName = function(M, Q) {
10041
+ var w = (typeof Q > "u" ? "undefined" : r(Q)) === "object" ? Q : {
10042
10042
  base: Y[M],
10043
10043
  afterOpen: Y[M] + "--after-open",
10044
10044
  beforeClose: Y[M] + "--before-close"
10045
10045
  }, I = w.base;
10046
- return y.state.afterOpen && (I = I + " " + w.afterOpen), y.state.beforeClose && (I = I + " " + w.beforeClose), typeof U == "string" && U ? I + " " + U : I;
10047
- }, y.attributesFromObject = function(M, U) {
10048
- return Object.keys(U).reduce(function(w, I) {
10049
- return w[M + "-" + I] = U[I], w;
10046
+ return y.state.afterOpen && (I = I + " " + w.afterOpen), y.state.beforeClose && (I = I + " " + w.beforeClose), typeof Q == "string" && Q ? I + " " + Q : I;
10047
+ }, y.attributesFromObject = function(M, Q) {
10048
+ return Object.keys(Q).reduce(function(w, I) {
10049
+ return w[M + "-" + I] = Q[I], w;
10050
10050
  }, {});
10051
10051
  }, y.state = {
10052
10052
  afterOpen: !1,
@@ -10071,14 +10071,14 @@ Nf.default.subscribe(Gf);
10071
10071
  }, {
10072
10072
  key: "beforeOpen",
10073
10073
  value: function() {
10074
- var y = this.props, M = y.appElement, U = y.ariaHideApp, w = y.htmlOpenClassName, I = y.bodyOpenClassName, V = y.parentSelector, H = V && V().ownerDocument || document;
10075
- I && m.add(H.body, I), w && m.add(H.getElementsByTagName("html")[0], w), U && (j += 1, p.hide(M)), k.default.register(this);
10074
+ var y = this.props, M = y.appElement, Q = y.ariaHideApp, w = y.htmlOpenClassName, I = y.bodyOpenClassName, V = y.parentSelector, H = V && V().ownerDocument || document;
10075
+ I && m.add(H.body, I), w && m.add(H.getElementsByTagName("html")[0], w), Q && (j += 1, p.hide(M)), k.default.register(this);
10076
10076
  }
10077
10077
  // Don't steal focus from inner elements
10078
10078
  }, {
10079
10079
  key: "render",
10080
10080
  value: function() {
10081
- var y = this.props, M = y.id, U = y.className, w = y.overlayClassName, I = y.defaultStyles, V = y.children, H = U ? {} : I.content, J = w ? {} : I.overlay;
10081
+ var y = this.props, M = y.id, Q = y.className, w = y.overlayClassName, I = y.defaultStyles, V = y.children, H = Q ? {} : I.content, J = w ? {} : I.overlay;
10082
10082
  if (this.shouldBeClosed())
10083
10083
  return null;
10084
10084
  var P = {
@@ -10091,7 +10091,7 @@ Nf.default.subscribe(Gf);
10091
10091
  id: M,
10092
10092
  ref: this.setContentRef,
10093
10093
  style: n({}, H, this.props.style.content),
10094
- className: this.buildClassName("content", U),
10094
+ className: this.buildClassName("content", Q),
10095
10095
  tabIndex: "-1",
10096
10096
  onKeyDown: this.handleKeyDown,
10097
10097
  onMouseDown: this.handleContentOnMouseDown,
@@ -13080,7 +13080,7 @@ const uh = ({
13080
13080
  copyLinkUrl: p,
13081
13081
  fusionData: g
13082
13082
  }) => {
13083
- const [m, v] = X(window.innerWidth), [b, Z] = X(!1), [k, S] = X(u), [q, T] = X(!1), [x, K] = X(!0), [Y, W] = X(null), [z, j] = X(""), [B, E] = X("Loading..."), [L, G] = X("Loading..."), [y, M] = X("game"), [U, w] = Te(Yi), [I, V] = Te(ma);
13083
+ const [m, v] = X(window.innerWidth), [b, Z] = X(!1), [k, S] = X(u), [q, T] = X(!1), [x, K] = X(!0), [Y, W] = X(null), [z, j] = X(""), [B, E] = X("Loading..."), [L, G] = X("Loading..."), [y, M] = X("game"), [Q, w] = Te(Yi), [I, V] = Te(ma);
13084
13084
  ad(o, a, j, f, g);
13085
13085
  const H = async () => {
13086
13086
  let J = await sh(a, o, n, l.customer);