gearboxdownloadmodal 4.0.39 → 4.0.40

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
@@ -90,10 +90,10 @@ function So() {
90
90
  le.unshift("Warning: " + I), Function.prototype.apply.call(console[l], console, le);
91
91
  }
92
92
  }
93
- var Y = !1, v = !1, Ae = !1, se = !1, _ = !1, re;
93
+ var Y = !1, v = !1, oe = !1, se = !1, F = !1, re;
94
94
  re = Symbol.for("react.module.reference");
95
- function ce(l) {
96
- return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || _ || l === i || l === s || l === u || se || l === q || Y || v || Ae || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === d || l.$$typeof === A || l.$$typeof === a || l.$$typeof === c || // This needs to include all possible module reference object
95
+ function me(l) {
96
+ return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || F || l === i || l === s || l === u || se || l === q || Y || v || oe || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === d || l.$$typeof === A || l.$$typeof === a || l.$$typeof === c || // This needs to include all possible module reference object
97
97
  // types supported by any Flight configuration anywhere since
98
98
  // we don't know which Flight build this will end up being used
99
99
  // with.
@@ -232,8 +232,8 @@ function So() {
232
232
  }
233
233
  var Q = !1, T;
234
234
  {
235
- var me = typeof WeakMap == "function" ? WeakMap : Map;
236
- T = new me();
235
+ var ce = typeof WeakMap == "function" ? WeakMap : Map;
236
+ T = new ce();
237
237
  }
238
238
  function M(l, I) {
239
239
  if (!l || Q)
@@ -611,7 +611,7 @@ Check the top-level render call using <` + S + ">.");
611
611
  }
612
612
  function fn(l, I, S, H, ee, le) {
613
613
  {
614
- var U = ce(l);
614
+ var U = me(l);
615
615
  if (!U) {
616
616
  var B = "";
617
617
  (l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
@@ -1392,8 +1392,8 @@ function Xo() {
1392
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, i = e ? Symbol.for("react.strict_mode") : 60108, o = 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, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, Z = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
1393
1393
  function J(v) {
1394
1394
  if (typeof v == "object" && v !== null) {
1395
- var Ae = v.$$typeof;
1396
- switch (Ae) {
1395
+ var oe = v.$$typeof;
1396
+ switch (oe) {
1397
1397
  case t:
1398
1398
  switch (v = v.type, v) {
1399
1399
  case c:
@@ -1412,11 +1412,11 @@ function Xo() {
1412
1412
  case A:
1413
1413
  return v;
1414
1414
  default:
1415
- return Ae;
1415
+ return oe;
1416
1416
  }
1417
1417
  }
1418
1418
  case r:
1419
- return Ae;
1419
+ return oe;
1420
1420
  }
1421
1421
  }
1422
1422
  }
@@ -1500,7 +1500,7 @@ function Qo() {
1500
1500
  }
1501
1501
  }
1502
1502
  }
1503
- var v = c, Ae = s, se = a, _ = A, re = t, ce = u, ae = n, $ = p, P = q, x = r, w = o, L = i, f = d, W = !1;
1503
+ var v = c, oe = s, se = a, F = A, re = t, me = u, ae = n, $ = p, P = q, x = r, w = o, L = i, f = d, W = !1;
1504
1504
  function N(M) {
1505
1505
  return W || (W = !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.")), g(M) || Y(M) === c;
1506
1506
  }
@@ -1537,10 +1537,10 @@ function Qo() {
1537
1537
  function T(M) {
1538
1538
  return Y(M) === i;
1539
1539
  }
1540
- function me(M) {
1540
+ function ce(M) {
1541
1541
  return Y(M) === d;
1542
1542
  }
1543
- ie.AsyncMode = v, ie.ConcurrentMode = Ae, ie.ContextConsumer = se, ie.ContextProvider = _, ie.Element = re, ie.ForwardRef = ce, ie.Fragment = ae, ie.Lazy = $, ie.Memo = P, ie.Portal = x, ie.Profiler = w, ie.StrictMode = L, ie.Suspense = f, ie.isAsyncMode = N, ie.isConcurrentMode = g, ie.isContextConsumer = K, ie.isContextProvider = O, ie.isElement = D, ie.isForwardRef = G, ie.isFragment = R, ie.isLazy = j, ie.isMemo = E, ie.isPortal = z, ie.isProfiler = Q, ie.isStrictMode = T, ie.isSuspense = me, ie.isValidElementType = J, ie.typeOf = Y;
1543
+ ie.AsyncMode = v, ie.ConcurrentMode = oe, ie.ContextConsumer = se, ie.ContextProvider = F, ie.Element = re, ie.ForwardRef = me, ie.Fragment = ae, ie.Lazy = $, ie.Memo = P, ie.Portal = x, ie.Profiler = w, ie.StrictMode = L, ie.Suspense = f, ie.isAsyncMode = N, ie.isConcurrentMode = g, ie.isContextConsumer = K, ie.isContextProvider = O, ie.isElement = D, ie.isForwardRef = G, ie.isFragment = R, ie.isLazy = j, ie.isMemo = E, ie.isPortal = z, ie.isProfiler = Q, ie.isStrictMode = T, ie.isSuspense = ce, ie.isValidElementType = J, ie.typeOf = Y;
1544
1544
  }()), ie;
1545
1545
  }
1546
1546
  var Cn;
@@ -1699,9 +1699,9 @@ function Bo() {
1699
1699
  arrayOf: J,
1700
1700
  element: Y(),
1701
1701
  elementType: v(),
1702
- instanceOf: Ae,
1703
- node: ce(),
1704
- objectOf: _,
1702
+ instanceOf: oe,
1703
+ node: me(),
1704
+ objectOf: F,
1705
1705
  oneOf: se,
1706
1706
  oneOfType: re,
1707
1707
  shape: $,
@@ -1717,8 +1717,8 @@ function Bo() {
1717
1717
  function C(g) {
1718
1718
  if (process.env.NODE_ENV !== "production")
1719
1719
  var K = {}, O = 0;
1720
- function D(R, j, E, z, Q, T, me) {
1721
- if (z = z || h, T = T || E, me !== r) {
1720
+ function D(R, j, E, z, Q, T, ce) {
1721
+ if (z = z || h, T = T || E, ce !== r) {
1722
1722
  if (c) {
1723
1723
  var M = 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"
@@ -1794,7 +1794,7 @@ function Bo() {
1794
1794
  }
1795
1795
  return C(g);
1796
1796
  }
1797
- function Ae(g) {
1797
+ function oe(g) {
1798
1798
  function K(O, D, G, R, j) {
1799
1799
  if (!(O[D] instanceof g)) {
1800
1800
  var E = g.name || h, z = N(O[D]);
@@ -1813,7 +1813,7 @@ function Bo() {
1813
1813
  for (var E = O[D], z = 0; z < g.length; z++)
1814
1814
  if (p(E, g[z]))
1815
1815
  return null;
1816
- var Q = JSON.stringify(g, function(me, M) {
1816
+ var Q = JSON.stringify(g, function(ce, M) {
1817
1817
  var we = f(M);
1818
1818
  return we === "symbol" ? String(M) : M;
1819
1819
  });
@@ -1821,7 +1821,7 @@ function Bo() {
1821
1821
  }
1822
1822
  return C(K);
1823
1823
  }
1824
- function _(g) {
1824
+ function F(g) {
1825
1825
  function K(O, D, G, R, j) {
1826
1826
  if (typeof g != "function")
1827
1827
  return new y("Property `" + j + "` of component `" + G + "` has invalid PropType notation inside objectOf.");
@@ -1850,7 +1850,7 @@ function Bo() {
1850
1850
  }
1851
1851
  function D(G, R, j, E, z) {
1852
1852
  for (var Q = [], T = 0; T < g.length; T++) {
1853
- var me = g[T], M = me(G, R, j, E, z, r);
1853
+ var ce = g[T], M = ce(G, R, j, E, z, r);
1854
1854
  if (M == null)
1855
1855
  return null;
1856
1856
  M.data && n(M.data, "expectedType") && Q.push(M.data.expectedType);
@@ -1860,7 +1860,7 @@ function Bo() {
1860
1860
  }
1861
1861
  return C(D);
1862
1862
  }
1863
- function ce() {
1863
+ function me() {
1864
1864
  function g(K, O, D, G, R) {
1865
1865
  return x(K[O]) ? null : new y("Invalid " + G + " `" + R + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
1866
1866
  }
@@ -1880,9 +1880,9 @@ function Bo() {
1880
1880
  var T = g[Q];
1881
1881
  if (typeof T != "function")
1882
1882
  return ae(G, R, j, Q, f(T));
1883
- var me = T(E, Q, G, R, j + "." + Q, r);
1884
- if (me)
1885
- return me;
1883
+ var ce = T(E, Q, G, R, j + "." + Q, r);
1884
+ if (ce)
1885
+ return ce;
1886
1886
  }
1887
1887
  return null;
1888
1888
  }
@@ -1895,15 +1895,15 @@ function Bo() {
1895
1895
  return new y("Invalid " + R + " `" + j + "` of type `" + z + "` " + ("supplied to `" + G + "`, expected `object`."));
1896
1896
  var Q = t({}, O[D], g);
1897
1897
  for (var T in Q) {
1898
- var me = g[T];
1899
- if (n(g, T) && typeof me != "function")
1900
- return ae(G, R, j, T, f(me));
1901
- if (!me)
1898
+ var ce = g[T];
1899
+ if (n(g, T) && typeof ce != "function")
1900
+ return ae(G, R, j, T, f(ce));
1901
+ if (!ce)
1902
1902
  return new y(
1903
1903
  "Invalid " + R + " `" + j + "` key `" + T + "` supplied to `" + G + "`.\nBad object: " + JSON.stringify(O[D], null, " ") + `
1904
1904
  Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
1905
1905
  );
1906
- var M = me(E, T, G, R, j + "." + T, r);
1906
+ var M = ce(E, T, G, R, j + "." + T, r);
1907
1907
  if (M)
1908
1908
  return M;
1909
1909
  }
@@ -2411,10 +2411,10 @@ const VA = (e) => {
2411
2411
  isAsyncFn: BA,
2412
2412
  isThenable: UA
2413
2413
  };
2414
- function F(e, t, r, n, i) {
2414
+ function _(e, t, r, n, i) {
2415
2415
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), i && (this.response = i);
2416
2416
  }
2417
- b.inherits(F, Error, {
2417
+ b.inherits(_, Error, {
2418
2418
  toJSON: function() {
2419
2419
  return {
2420
2420
  // Standard
@@ -2435,7 +2435,7 @@ b.inherits(F, Error, {
2435
2435
  };
2436
2436
  }
2437
2437
  });
2438
- const Zi = F.prototype, Ii = {};
2438
+ const Zi = _.prototype, Ii = {};
2439
2439
  [
2440
2440
  "ERR_BAD_OPTION_VALUE",
2441
2441
  "ERR_BAD_OPTION",
@@ -2453,13 +2453,13 @@ const Zi = F.prototype, Ii = {};
2453
2453
  ].forEach((e) => {
2454
2454
  Ii[e] = { value: e };
2455
2455
  });
2456
- Object.defineProperties(F, Ii);
2456
+ Object.defineProperties(_, Ii);
2457
2457
  Object.defineProperty(Zi, "isAxiosError", { value: !0 });
2458
- F.from = (e, t, r, n, i, o) => {
2458
+ _.from = (e, t, r, n, i, o) => {
2459
2459
  const A = Object.create(Zi);
2460
2460
  return b.toFlatObject(e, A, function(c) {
2461
2461
  return c !== Error.prototype;
2462
- }, (a) => a !== "isAxiosError"), F.call(A, e.message, t, r, n, i), A.cause = e, A.name = e.name, o && Object.assign(A, o), A;
2462
+ }, (a) => a !== "isAxiosError"), _.call(A, e.message, t, r, n, i), A.cause = e, A.name = e.name, o && Object.assign(A, o), A;
2463
2463
  };
2464
2464
  const FA = null;
2465
2465
  function Lr(e) {
@@ -2498,7 +2498,7 @@ function ir(e, t, r) {
2498
2498
  if (b.isDate(p))
2499
2499
  return p.toISOString();
2500
2500
  if (!c && b.isBlob(p))
2501
- throw new F("Blob is not supported. Use a Buffer instead.");
2501
+ throw new _("Blob is not supported. Use a Buffer instead.");
2502
2502
  return b.isArrayBuffer(p) || b.isTypedArray(p) ? c && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
2503
2503
  }
2504
2504
  function u(p, y, C) {
@@ -2736,7 +2736,7 @@ const Pr = {
2736
2736
  return JSON.parse(t);
2737
2737
  } catch (a) {
2738
2738
  if (A)
2739
- throw a.name === "SyntaxError" ? F.from(a, F.ERR_BAD_RESPONSE, this, null, this.response) : a;
2739
+ throw a.name === "SyntaxError" ? _.from(a, _.ERR_BAD_RESPONSE, this, null, this.response) : a;
2740
2740
  }
2741
2741
  }
2742
2742
  return t;
@@ -2963,16 +2963,16 @@ function Mi(e) {
2963
2963
  return !!(e && e.__CANCEL__);
2964
2964
  }
2965
2965
  function Mt(e, t, r) {
2966
- F.call(this, e ?? "canceled", F.ERR_CANCELED, t, r), this.name = "CanceledError";
2966
+ _.call(this, e ?? "canceled", _.ERR_CANCELED, t, r), this.name = "CanceledError";
2967
2967
  }
2968
- b.inherits(Mt, F, {
2968
+ b.inherits(Mt, _, {
2969
2969
  __CANCEL__: !0
2970
2970
  });
2971
2971
  function qa(e, t, r) {
2972
2972
  const n = r.config.validateStatus;
2973
- !r.status || !n || n(r.status) ? e(r) : t(new F(
2973
+ !r.status || !n || n(r.status) ? e(r) : t(new _(
2974
2974
  "Request failed with status code " + r.status,
2975
- [F.ERR_BAD_REQUEST, F.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
2975
+ [_.ERR_BAD_REQUEST, _.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
2976
2976
  r.config,
2977
2977
  r.request,
2978
2978
  r
@@ -3126,15 +3126,15 @@ const Ia = typeof XMLHttpRequest < "u", wa = Ia && function(e) {
3126
3126
  if ("onloadend" in s ? s.onloadend = d : s.onreadystatechange = function() {
3127
3127
  !s || s.readyState !== 4 || s.status === 0 && !(s.responseURL && s.responseURL.indexOf("file:") === 0) || setTimeout(d);
3128
3128
  }, s.onabort = function() {
3129
- s && (n(new F("Request aborted", F.ECONNABORTED, e, s)), s = null);
3129
+ s && (n(new _("Request aborted", _.ECONNABORTED, e, s)), s = null);
3130
3130
  }, s.onerror = function() {
3131
- n(new F("Network Error", F.ERR_NETWORK, e, s)), s = null;
3131
+ n(new _("Network Error", _.ERR_NETWORK, e, s)), s = null;
3132
3132
  }, s.ontimeout = function() {
3133
3133
  let p = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
3134
3134
  const y = e.transitional || xi;
3135
- e.timeoutErrorMessage && (p = e.timeoutErrorMessage), n(new F(
3135
+ e.timeoutErrorMessage && (p = e.timeoutErrorMessage), n(new _(
3136
3136
  p,
3137
- y.clarifyTimeoutError ? F.ETIMEDOUT : F.ECONNABORTED,
3137
+ y.clarifyTimeoutError ? _.ETIMEDOUT : _.ECONNABORTED,
3138
3138
  e,
3139
3139
  s
3140
3140
  )), s = null;
@@ -3149,7 +3149,7 @@ const Ia = typeof XMLHttpRequest < "u", wa = Ia && function(e) {
3149
3149
  }, e.cancelToken && e.cancelToken.subscribe(a), e.signal && (e.signal.aborted ? a() : e.signal.addEventListener("abort", a)));
3150
3150
  const h = Ca(u);
3151
3151
  if (h && Ee.protocols.indexOf(h) === -1) {
3152
- n(new F("Unsupported protocol " + h + ":", F.ERR_BAD_REQUEST, e));
3152
+ n(new _("Unsupported protocol " + h + ":", _.ERR_BAD_REQUEST, e));
3153
3153
  return;
3154
3154
  }
3155
3155
  s.send(i || null);
@@ -3175,7 +3175,7 @@ const Li = {
3175
3175
  for (let i = 0; i < t && (r = e[i], !(n = b.isString(r) ? Tt[r.toLowerCase()] : r)); i++)
3176
3176
  ;
3177
3177
  if (!n)
3178
- throw n === !1 ? new F(
3178
+ throw n === !1 ? new _(
3179
3179
  `Adapter ${r} is not supported by the environment`,
3180
3180
  "ERR_NOT_SUPPORT"
3181
3181
  ) : new Error(
@@ -3288,9 +3288,9 @@ Br.transitional = function(t, r, n) {
3288
3288
  }
3289
3289
  return (o, A, a) => {
3290
3290
  if (t === !1)
3291
- throw new F(
3291
+ throw new _(
3292
3292
  i(A, " has been removed" + (r ? " in " + r : "")),
3293
- F.ERR_DEPRECATED
3293
+ _.ERR_DEPRECATED
3294
3294
  );
3295
3295
  return r && !Jn[A] && (Jn[A] = !0, console.warn(
3296
3296
  i(
@@ -3302,7 +3302,7 @@ Br.transitional = function(t, r, n) {
3302
3302
  };
3303
3303
  function Ka(e, t, r) {
3304
3304
  if (typeof e != "object")
3305
- throw new F("options must be an object", F.ERR_BAD_OPTION_VALUE);
3305
+ throw new _("options must be an object", _.ERR_BAD_OPTION_VALUE);
3306
3306
  const n = Object.keys(e);
3307
3307
  let i = n.length;
3308
3308
  for (; i-- > 0; ) {
@@ -3310,11 +3310,11 @@ function Ka(e, t, r) {
3310
3310
  if (A) {
3311
3311
  const a = e[o], c = a === void 0 || A(a, o, e);
3312
3312
  if (c !== !0)
3313
- throw new F("option " + o + " must be " + c, F.ERR_BAD_OPTION_VALUE);
3313
+ throw new _("option " + o + " must be " + c, _.ERR_BAD_OPTION_VALUE);
3314
3314
  continue;
3315
3315
  }
3316
3316
  if (r !== !0)
3317
- throw new F("Unknown option " + o, F.ERR_BAD_OPTION);
3317
+ throw new _("Unknown option " + o, _.ERR_BAD_OPTION);
3318
3318
  }
3319
3319
  }
3320
3320
  const Er = {
@@ -3585,7 +3585,7 @@ fe.CancelToken = Wa;
3585
3585
  fe.isCancel = Mi;
3586
3586
  fe.VERSION = Ei;
3587
3587
  fe.toFormData = ir;
3588
- fe.AxiosError = F;
3588
+ fe.AxiosError = _;
3589
3589
  fe.Cancel = fe.CanceledError;
3590
3590
  fe.all = function(t) {
3591
3591
  return Promise.all(t);
@@ -3786,12 +3786,12 @@ function za(e) {
3786
3786
  return !i.current || a.props.enableMultiContainer && $.containerId !== a.props.containerId || o.has($.toastId) && $.updateId == null;
3787
3787
  }(Z))
3788
3788
  return;
3789
- const { toastId: k, updateId: J, data: Y } = Z, { props: v } = a, Ae = () => s(k), se = J == null;
3789
+ const { toastId: k, updateId: J, data: Y } = Z, { props: v } = a, oe = () => s(k), se = J == null;
3790
3790
  se && a.count++;
3791
- const _ = { ...v, style: v.toastStyle, key: a.toastKey++, ...Object.fromEntries(Object.entries(Z).filter(($) => {
3791
+ const F = { ...v, style: v.toastStyle, key: a.toastKey++, ...Object.fromEntries(Object.entries(Z).filter(($) => {
3792
3792
  let [P, x] = $;
3793
3793
  return x != null;
3794
- })), toastId: k, updateId: J, data: Y, closeToast: Ae, isIn: !1, className: Xt(Z.className || v.toastClassName), bodyClassName: Xt(Z.bodyClassName || v.bodyClassName), progressClassName: Xt(Z.progressClassName || v.progressClassName), autoClose: !Z.isLoading && (re = Z.autoClose, ce = v.autoClose, re === !1 || bt(re) && re > 0 ? re : ce), deleteToast() {
3794
+ })), toastId: k, updateId: J, data: Y, closeToast: oe, isIn: !1, className: Xt(Z.className || v.toastClassName), bodyClassName: Xt(Z.bodyClassName || v.bodyClassName), progressClassName: Xt(Z.progressClassName || v.progressClassName), autoClose: !Z.isLoading && (re = Z.autoClose, me = v.autoClose, re === !1 || bt(re) && re > 0 ? re : me), deleteToast() {
3795
3795
  const $ = Dn(o.get(k), "removed");
3796
3796
  o.delete(k), Oe.emit(4, $);
3797
3797
  const P = a.queue.length;
@@ -3808,16 +3808,16 @@ function za(e) {
3808
3808
  } else
3809
3809
  t();
3810
3810
  } };
3811
- var re, ce;
3812
- _.iconOut = function($) {
3811
+ var re, me;
3812
+ F.iconOut = function($) {
3813
3813
  let { theme: P, type: x, isLoading: w, icon: L } = $, f = null;
3814
3814
  const W = { theme: P, type: x };
3815
3815
  return L === !1 || (ve(L) ? f = L(W) : ut(L) ? f = xr(L, W) : nt(L) || bt(L) ? f = L : w ? f = wr.spinner() : ((N) => N in wr)(x) && (f = wr[x](W))), f;
3816
- }(_), ve(Z.onOpen) && (_.onOpen = Z.onOpen), ve(Z.onClose) && (_.onClose = Z.onClose), _.closeButton = v.closeButton, Z.closeButton === !1 || Ir(Z.closeButton) ? _.closeButton = Z.closeButton : Z.closeButton === !0 && (_.closeButton = !Ir(v.closeButton) || v.closeButton);
3816
+ }(F), ve(Z.onOpen) && (F.onOpen = Z.onOpen), ve(Z.onClose) && (F.onClose = Z.onClose), F.closeButton = v.closeButton, Z.closeButton === !1 || Ir(Z.closeButton) ? F.closeButton = Z.closeButton : Z.closeButton === !0 && (F.closeButton = !Ir(v.closeButton) || v.closeButton);
3817
3817
  let ae = q;
3818
- ut(q) && !nt(q.type) ? ae = xr(q, { closeToast: Ae, toastProps: _, data: Y }) : ve(q) && (ae = q({ closeToast: Ae, toastProps: _, data: Y })), v.limit && v.limit > 0 && a.count > v.limit && se ? a.queue.push({ toastContent: ae, toastProps: _, staleId: C }) : bt(y) ? setTimeout(() => {
3819
- h(ae, _, C);
3820
- }, y) : h(ae, _, C);
3818
+ ut(q) && !nt(q.type) ? ae = xr(q, { closeToast: oe, toastProps: F, data: Y }) : ve(q) && (ae = q({ closeToast: oe, toastProps: F, data: Y })), v.limit && v.limit > 0 && a.count > v.limit && se ? a.queue.push({ toastContent: ae, toastProps: F, staleId: C }) : bt(y) ? setTimeout(() => {
3819
+ h(ae, F, C);
3820
+ }, y) : h(ae, F, C);
3821
3821
  }
3822
3822
  function h(q, p, y) {
3823
3823
  const { toastId: C } = p;
@@ -3854,8 +3854,8 @@ function ja(e) {
3854
3854
  }
3855
3855
  function p(Y) {
3856
3856
  if (A.boundingRect) {
3857
- const { top: v, bottom: Ae, left: se, right: _ } = A.boundingRect;
3858
- Y.nativeEvent.type !== "touchend" && e.pauseOnHover && A.x >= se && A.x <= _ && A.y >= v && A.y <= Ae ? C() : y();
3857
+ const { top: v, bottom: oe, left: se, right: F } = A.boundingRect;
3858
+ Y.nativeEvent.type !== "touchend" && e.pauseOnHover && A.x >= se && A.x <= F && A.y >= v && A.y <= oe ? C() : y();
3859
3859
  }
3860
3860
  }
3861
3861
  function y() {
@@ -3906,9 +3906,9 @@ function Ja(e) {
3906
3906
  } });
3907
3907
  }
3908
3908
  const Na = (e) => {
3909
- const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = ja(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: h, position: q, className: p, style: y, bodyClassName: C, bodyStyle: Z, progressClassName: k, progressStyle: J, updateId: Y, role: v, progress: Ae, rtl: se, toastId: _, deleteToast: re, isIn: ce, isLoading: ae, iconOut: $, closeOnClick: P, theme: x } = e, w = Xe("Toastify__toast", `Toastify__toast-theme--${x}`, `Toastify__toast--${s}`, { "Toastify__toast--rtl": se }, { "Toastify__toast--close-on-click": P }), L = ve(p) ? p({ rtl: se, position: q, type: s, defaultClassName: w }) : Xe(w, p), f = !!Ae || !a, W = { closeToast: d, type: s, theme: x };
3909
+ const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = ja(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: h, position: q, className: p, style: y, bodyClassName: C, bodyStyle: Z, progressClassName: k, progressStyle: J, updateId: Y, role: v, progress: oe, rtl: se, toastId: F, deleteToast: re, isIn: me, isLoading: ae, iconOut: $, closeOnClick: P, theme: x } = e, w = Xe("Toastify__toast", `Toastify__toast-theme--${x}`, `Toastify__toast--${s}`, { "Toastify__toast--rtl": se }, { "Toastify__toast--close-on-click": P }), L = ve(p) ? p({ rtl: se, position: q, type: s, defaultClassName: w }) : Xe(w, p), f = !!oe || !a, W = { closeToast: d, type: s, theme: x };
3910
3910
  let N = null;
3911
- return o === !1 || (N = ve(o) ? o(W) : ut(o) ? xr(o, W) : Ri(W)), te.createElement(h, { isIn: ce, done: re, position: q, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: _, onClick: c, className: L, ...i, style: y, ref: n }, te.createElement("div", { ...ce && { role: v }, className: ve(C) ? C({ type: s }) : Xe("Toastify__toast-body", C), style: Z }, $ != null && te.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, $), te.createElement("div", null, A)), N, te.createElement(Ja, { ...Y && !f ? { key: `pb-${Y}` } : {}, rtl: se, theme: x, delay: a, isRunning: t, isIn: ce, closeToast: d, hide: u, type: s, style: J, className: k, controlledProgress: f, progress: Ae || 0 })));
3911
+ return o === !1 || (N = ve(o) ? o(W) : ut(o) ? xr(o, W) : Ri(W)), te.createElement(h, { isIn: me, done: re, position: q, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: F, onClick: c, className: L, ...i, style: y, ref: n }, te.createElement("div", { ...me && { role: v }, className: ve(C) ? C({ type: s }) : Xe("Toastify__toast-body", C), style: Z }, $ != null && te.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, $), te.createElement("div", null, A)), N, te.createElement(Ja, { ...Y && !f ? { key: `pb-${Y}` } : {}, rtl: se, theme: x, delay: a, isRunning: t, isIn: me, closeToast: d, hide: u, type: s, style: J, className: k, controlledProgress: f, progress: oe || 0 })));
3912
3912
  }, ar = function(e, t) {
3913
3913
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
3914
3914
  }, Da = Ar(ar("bounce", !0));
@@ -4192,7 +4192,7 @@ const Ta = ({
4192
4192
  }
4193
4193
  );
4194
4194
  };
4195
- var oe = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e))(oe || {});
4195
+ var Ae = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e))(Ae || {});
4196
4196
  const Xa = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsxs(
4197
4197
  "div",
4198
4198
  {
@@ -4205,7 +4205,7 @@ const Xa = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsxs(
4205
4205
  "span",
4206
4206
  {
4207
4207
  style: {
4208
- color: e === "Flex" ? oe.Flex : oe.Playable
4208
+ color: e === "Flex" ? Ae.Flex : Ae.Playable
4209
4209
  },
4210
4210
  children: "Select a Network"
4211
4211
  }
@@ -4339,7 +4339,7 @@ const Pa = () => /* @__PURE__ */ m.jsxs("svg", { width: "24", height: "24", view
4339
4339
  // pl-2
4340
4340
  color: "#000000",
4341
4341
  // placeholder:text-black
4342
- borderColor: e === "Flex" ? oe.Flex : oe.Playable
4342
+ borderColor: e === "Flex" ? Ae.Flex : Ae.Playable
4343
4343
  },
4344
4344
  type: "text",
4345
4345
  value: r.iosUrl,
@@ -4408,7 +4408,7 @@ const Pa = () => /* @__PURE__ */ m.jsxs("svg", { width: "24", height: "24", view
4408
4408
  // pl-2
4409
4409
  color: "#000000",
4410
4410
  // placeholder:text-black
4411
- borderColor: e === "Flex" ? oe.Flex : oe.Playable
4411
+ borderColor: e === "Flex" ? Ae.Flex : Ae.Playable
4412
4412
  },
4413
4413
  type: "text",
4414
4414
  value: r.googleUrl,
@@ -4429,7 +4429,7 @@ const Pa = () => /* @__PURE__ */ m.jsxs("svg", { width: "24", height: "24", view
4429
4429
  "span",
4430
4430
  {
4431
4431
  style: {
4432
- color: e === "Flex" ? oe.Flex : oe.Playable
4432
+ color: e === "Flex" ? Ae.Flex : Ae.Playable
4433
4433
  },
4434
4434
  children: t
4435
4435
  }
@@ -4660,7 +4660,7 @@ const Xi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
4660
4660
  width: "8px",
4661
4661
  height: "8px",
4662
4662
  borderRadius: "50%",
4663
- backgroundColor: e === "Flex" ? oe.Flex : oe.Playable
4663
+ backgroundColor: e === "Flex" ? Ae.Flex : Ae.Playable
4664
4664
  }
4665
4665
  }
4666
4666
  ),
@@ -4673,7 +4673,7 @@ const Xi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
4673
4673
  width: "8px",
4674
4674
  height: "8px",
4675
4675
  borderRadius: "50%",
4676
- backgroundColor: e === "Flex" ? oe.Flex : oe.Playable
4676
+ backgroundColor: e === "Flex" ? Ae.Flex : Ae.Playable
4677
4677
  }
4678
4678
  }
4679
4679
  ),
@@ -4686,7 +4686,7 @@ const Xi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
4686
4686
  width: "8px",
4687
4687
  height: "8px",
4688
4688
  borderRadius: "50%",
4689
- backgroundColor: e === "Flex" ? oe.Flex : oe.Playable
4689
+ backgroundColor: e === "Flex" ? Ae.Flex : Ae.Playable
4690
4690
  }
4691
4691
  }
4692
4692
  ),
@@ -4699,7 +4699,7 @@ const Xi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
4699
4699
  width: "8px",
4700
4700
  height: "8px",
4701
4701
  borderRadius: "50%",
4702
- backgroundColor: e === "Flex" ? oe.Flex : oe.Playable
4702
+ backgroundColor: e === "Flex" ? Ae.Flex : Ae.Playable
4703
4703
  }
4704
4704
  }
4705
4705
  )
@@ -5022,7 +5022,7 @@ const Pn = [
5022
5022
  flexDownloadCount: k,
5023
5023
  disabled: J
5024
5024
  }) => {
5025
- const [Y, v] = V(!1), [Ae, se] = V(en(5)), [_, re] = V(""), [ce, ae] = V(!1), [$, P] = V(!1), [x, w] = V("download"), L = () => {
5025
+ const [Y, v] = V(!1), [oe, se] = V(en(5)), [F, re] = V(""), [me, ae] = V(!1), [$, P] = V(!1), [x, w] = V("download"), L = () => {
5026
5026
  r(e);
5027
5027
  }, f = async (N, g, K, O, D, G) => {
5028
5028
  try {
@@ -5079,7 +5079,7 @@ const Pn = [
5079
5079
  It(
5080
5080
  u,
5081
5081
  N,
5082
- Ae,
5082
+ oe,
5083
5083
  g,
5084
5084
  G,
5085
5085
  R,
@@ -5114,7 +5114,7 @@ const Pn = [
5114
5114
  "data:html/plain;charset=utf-8," + encodeURIComponent(Q)
5115
5115
  ), z.setAttribute(
5116
5116
  "download",
5117
- E.split("/").reduce((T, me) => me, "")
5117
+ E.split("/").reduce((T, ce) => ce, "")
5118
5118
  ), z.style.display = "none", document.body.appendChild(z), z.click();
5119
5119
  }
5120
5120
  return v(!1), $e("Download successfully"), E;
@@ -5156,7 +5156,7 @@ const Pn = [
5156
5156
  flexDirection: "column",
5157
5157
  gap: "20px",
5158
5158
  padding: "16px",
5159
- borderColor: n ? c === "Flex" ? oe.Flex : oe.Playable : "lightgray",
5159
+ borderColor: n ? c === "Flex" ? Ae.Flex : Ae.Playable : "lightgray",
5160
5160
  borderWidth: "1px",
5161
5161
  borderStyle: "solid",
5162
5162
  backgroundColor: "white",
@@ -5187,8 +5187,8 @@ const Pn = [
5187
5187
  Pn.includes(i) && /* @__PURE__ */ m.jsx(
5188
5188
  Hi,
5189
5189
  {
5190
- fill: c === "Flex" ? oe.Flex : oe.Playable,
5191
- stroke: c === "Flex" ? oe.Flex : oe.Playable,
5190
+ fill: c === "Flex" ? Ae.Flex : Ae.Playable,
5191
+ stroke: c === "Flex" ? Ae.Flex : Ae.Playable,
5192
5192
  className: "mb-1 inline-block w-6",
5193
5193
  style: {
5194
5194
  marginBottom: "0.25rem",
@@ -5338,7 +5338,7 @@ const Pn = [
5338
5338
  ]
5339
5339
  }
5340
5340
  ),
5341
- ce && /* @__PURE__ */ m.jsx(
5341
+ me && /* @__PURE__ */ m.jsx(
5342
5342
  ts,
5343
5343
  {
5344
5344
  creditConfirmType: x,
@@ -5362,7 +5362,7 @@ const Pn = [
5362
5362
  },
5363
5363
  iosLink: p.iosUrl,
5364
5364
  googleLink: p.googleUrl,
5365
- buttonType: _,
5365
+ buttonType: F,
5366
5366
  handleCopyLink: async () => {
5367
5367
  P(!1), C(!1), await W();
5368
5368
  },
@@ -5591,8 +5591,8 @@ const Pn = [
5591
5591
  /* @__PURE__ */ m.jsx(
5592
5592
  Hi,
5593
5593
  {
5594
- fill: e === "Flex" ? oe.Flex : oe.Playable,
5595
- stroke: e === "Flex" ? oe.Flex : oe.Playable,
5594
+ fill: e === "Flex" ? Ae.Flex : Ae.Playable,
5595
+ stroke: e === "Flex" ? Ae.Flex : Ae.Playable,
5596
5596
  style: { display: "inline-block", width: "1.5rem" },
5597
5597
  className: ""
5598
5598
  }
@@ -5625,7 +5625,7 @@ const Pn = [
5625
5625
  padding: "0.5rem",
5626
5626
  width: "12rem",
5627
5627
  height: "2.5rem",
5628
- backgroundColor: t === "Flex" ? oe.Flex : oe.Playable,
5628
+ backgroundColor: t === "Flex" ? Ae.Flex : Ae.Playable,
5629
5629
  color: "white",
5630
5630
  fontSize: "0.875rem",
5631
5631
  borderRadius: "0.875rem"
@@ -6023,7 +6023,7 @@ const ss = ({
6023
6023
  flexDownloadCount: h,
6024
6024
  disabled: q
6025
6025
  }) => {
6026
- const [p, y] = V([]), [C, Z] = V([]), [k, J] = V(!1), [Y, v] = V(""), [Ae, se] = V(!1), [_, re] = V(!1), [ce, ae] = V(!1), $ = async (w) => {
6026
+ const [p, y] = V([]), [C, Z] = V([]), [k, J] = V(!1), [Y, v] = V(""), [oe, se] = V(!1), [F, re] = V(!1), [me, ae] = V(!1), $ = async (w) => {
6027
6027
  J(!0);
6028
6028
  const L = await As(
6029
6029
  n,
@@ -6059,7 +6059,7 @@ const ss = ({
6059
6059
  style: {
6060
6060
  position: "relative",
6061
6061
  flex: 1,
6062
- overflowY: ce ? "hidden" : "auto",
6062
+ overflowY: me ? "hidden" : "auto",
6063
6063
  padding: "1.5rem",
6064
6064
  paddingTop: "0"
6065
6065
  },
@@ -6111,7 +6111,7 @@ const ss = ({
6111
6111
  ]
6112
6112
  }
6113
6113
  ),
6114
- _ && /* @__PURE__ */ m.jsx(
6114
+ F && /* @__PURE__ */ m.jsx(
6115
6115
  ss,
6116
6116
  {
6117
6117
  onClose: () => re(!1),
@@ -6138,7 +6138,7 @@ const ss = ({
6138
6138
  onClickMultiDownload: x,
6139
6139
  networksVersionTotalSize: Y,
6140
6140
  typeOfProduct: i,
6141
- multiDownloading: Ae
6141
+ multiDownloading: oe
6142
6142
  }
6143
6143
  )
6144
6144
  }
@@ -6211,7 +6211,7 @@ const hs = [
6211
6211
  }) => {
6212
6212
  const [u, d] = V(null), [h, q] = V(null), [p, y] = V(null), [C, Z] = V(null), [k, J] = V(!1);
6213
6213
  V({});
6214
- const [Y, v] = V(null), [Ae, se] = V("Loading..."), [_, re] = V("Loading..."), [ce, ae] = V(!0), [$, P] = V(window.innerWidth);
6214
+ const [Y, v] = V(null), [oe, se] = V("Loading..."), [F, re] = V("Loading..."), [me, ae] = V(!0), [$, P] = V(window.innerWidth);
6215
6215
  be(() => {
6216
6216
  const O = () => {
6217
6217
  P(window.innerWidth);
@@ -6233,7 +6233,10 @@ const hs = [
6233
6233
  try {
6234
6234
  let E;
6235
6235
  if (n === "Playable") {
6236
- const z = await fs(t, o);
6236
+ const z = await fs(
6237
+ t,
6238
+ o
6239
+ );
6237
6240
  if (z) {
6238
6241
  se(z.iosLink), re(z.androidLink);
6239
6242
  return;
@@ -6254,10 +6257,10 @@ const hs = [
6254
6257
  /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6255
6258
  )) == null ? void 0 : D.at(1)) || "";
6256
6259
  se(T);
6257
- const me = ((G = Q.match(
6260
+ const ce = ((G = Q.match(
6258
6261
  /var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6259
6262
  )) == null ? void 0 : G.at(1)) || "";
6260
- re(me);
6263
+ re(ce);
6261
6264
  } else if (n === "Flex")
6262
6265
  if (O)
6263
6266
  se(O.iosUrl), re(O.googleUrl);
@@ -6269,7 +6272,7 @@ const hs = [
6269
6272
  o
6270
6273
  );
6271
6274
  let z = await fetch(s + "/" + E.url).then(
6272
- (me) => me.text()
6275
+ (ce) => ce.text()
6273
6276
  );
6274
6277
  const Q = ((R = z.match(
6275
6278
  /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
@@ -6293,9 +6296,7 @@ const hs = [
6293
6296
  ...O,
6294
6297
  networks: qs
6295
6298
  }) : y(O), J(!1);
6296
- };
6297
- console.log(ce);
6298
- const N = async () => {
6299
+ }, N = async () => {
6299
6300
  const O = await ms({ _id: t }, o);
6300
6301
  Z(O.size);
6301
6302
  }, g = async () => await ds(r, o), K = async () => {
@@ -6308,7 +6309,7 @@ const hs = [
6308
6309
  i && (f(D), ae(!1), q(D));
6309
6310
  });
6310
6311
  }), N()), i && K();
6311
- }, [r, e, t, i]), /* @__PURE__ */ m.jsxs(
6312
+ }, [r, e, t, i]), console.log("androidLink", F), console.log("iosLink", oe), console.log("loading", k), console.log("game", h), console.log("downloadFlex", p), console.log("playable", u), /* @__PURE__ */ m.jsxs(
6312
6313
  "div",
6313
6314
  {
6314
6315
  style: {
@@ -6328,10 +6329,10 @@ const hs = [
6328
6329
  title: a,
6329
6330
  typeOfProduct: n,
6330
6331
  fileSize: C,
6331
- urls: { iosUrl: Ae, googleUrl: _ },
6332
+ urls: { iosUrl: oe, googleUrl: F },
6332
6333
  handleIosChange: w,
6333
6334
  handleGoogleChange: L,
6334
- disabled: ce,
6335
+ disabled: me,
6335
6336
  api: o,
6336
6337
  downloadFlex: p
6337
6338
  }
@@ -6350,7 +6351,7 @@ const hs = [
6350
6351
  children: /* @__PURE__ */ m.jsx(Xi, { typeOfProduct: n })
6351
6352
  }
6352
6353
  ),
6353
- (u || p) && h && !k && Ae !== "Loading..." && _ !== "Loading..." && /* @__PURE__ */ m.jsx(
6354
+ (u || p) && (n === "Flex" ? h : !0) && !k && oe !== "Loading..." && F !== "Loading..." && /* @__PURE__ */ m.jsx(
6354
6355
  ls,
6355
6356
  {
6356
6357
  playable: u,
@@ -6363,10 +6364,10 @@ const hs = [
6363
6364
  instantGames: Y,
6364
6365
  handleDownloadError: c,
6365
6366
  fetchFileUrl: s,
6366
- urls: { iosUrl: Ae, googleUrl: _ },
6367
+ urls: { iosUrl: oe, googleUrl: F },
6367
6368
  game: h,
6368
6369
  flexDownloadCount: W,
6369
- disabled: ce
6370
+ disabled: me
6370
6371
  }
6371
6372
  )
6372
6373
  ]
@@ -6859,7 +6860,7 @@ il.default.subscribe(sl);
6859
6860
  function v(x) {
6860
6861
  return x && x.__esModule ? x : { default: x };
6861
6862
  }
6862
- function Ae(x, w) {
6863
+ function oe(x, w) {
6863
6864
  if (!(x instanceof w))
6864
6865
  throw new TypeError("Cannot call a class as a function");
6865
6866
  }
@@ -6868,7 +6869,7 @@ il.default.subscribe(sl);
6868
6869
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6869
6870
  return w && (typeof w == "object" || typeof w == "function") ? w : x;
6870
6871
  }
6871
- function _(x, w) {
6872
+ function F(x, w) {
6872
6873
  if (typeof w != "function" && w !== null)
6873
6874
  throw new TypeError("Super expression must either be null or a function, not " + typeof w);
6874
6875
  x.prototype = Object.create(w && w.prototype, { constructor: { value: x, enumerable: !1, writable: !0, configurable: !0 } }), w && (Object.setPrototypeOf ? Object.setPrototypeOf(x, w) : x.__proto__ = w);
@@ -6876,14 +6877,14 @@ il.default.subscribe(sl);
6876
6877
  var re = {
6877
6878
  overlay: "ReactModal__Overlay",
6878
6879
  content: "ReactModal__Content"
6879
- }, ce = function(w) {
6880
+ }, me = function(w) {
6880
6881
  return w.code === "Tab" || w.keyCode === 9;
6881
6882
  }, ae = function(w) {
6882
6883
  return w.code === "Escape" || w.keyCode === 27;
6883
6884
  }, $ = 0, P = function(x) {
6884
- _(w, x);
6885
+ F(w, x);
6885
6886
  function w(L) {
6886
- Ae(this, w);
6887
+ oe(this, w);
6887
6888
  var f = se(this, (w.__proto__ || Object.getPrototypeOf(w)).call(this, L));
6888
6889
  return f.setOverlayRef = function(W) {
6889
6890
  f.overlay = W, f.props.overlayRef && f.props.overlayRef(W);
@@ -6918,7 +6919,7 @@ il.default.subscribe(sl);
6918
6919
  closesAt: null
6919
6920
  }, f.afterClose);
6920
6921
  }, f.handleKeyDown = function(W) {
6921
- ce(W) && (0, d.default)(f.content, W), f.props.shouldCloseOnEsc && ae(W) && (W.stopPropagation(), f.requestClose(W));
6922
+ me(W) && (0, d.default)(f.content, W), f.props.shouldCloseOnEsc && ae(W) && (W.stopPropagation(), f.requestClose(W));
6922
6923
  }, f.handleOverlayOnClick = function(W) {
6923
6924
  f.shouldClose === null && (f.shouldClose = !0), f.shouldClose && f.props.shouldCloseOnOverlayClick && (f.ownerHandlesClose() ? f.requestClose(W) : f.focusContent()), f.shouldClose = null;
6924
6925
  }, f.handleContentOnMouseUp = function() {