gearboxdownloadmodal 5.0.35 → 5.0.37

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,18 +154,18 @@ function ki() {
154
154
  }
155
155
  return null;
156
156
  }
157
- var E = Object.assign, K = 0, M, f, w, X, b, x, z;
158
- function J() {
157
+ var E = Object.assign, K = 0, z, f, x, B, b, w, D;
158
+ function M() {
159
159
  }
160
- J.__reactDisabledLog = !0;
161
- function D() {
160
+ M.__reactDisabledLog = !0;
161
+ function J() {
162
162
  {
163
163
  if (K === 0) {
164
- M = console.log, f = console.info, w = console.warn, X = console.error, b = console.group, x = console.groupCollapsed, z = console.groupEnd;
164
+ z = console.log, f = console.info, x = console.warn, B = console.error, b = console.group, w = console.groupCollapsed, D = console.groupEnd;
165
165
  var l = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
168
- value: J,
168
+ value: M,
169
169
  writable: !0
170
170
  };
171
171
  Object.defineProperties(console, {
@@ -191,55 +191,55 @@ function ki() {
191
191
  };
192
192
  Object.defineProperties(console, {
193
193
  log: E({}, l, {
194
- value: M
194
+ value: z
195
195
  }),
196
196
  info: E({}, l, {
197
197
  value: f
198
198
  }),
199
199
  warn: E({}, l, {
200
- value: w
200
+ value: x
201
201
  }),
202
202
  error: E({}, l, {
203
- value: X
203
+ value: B
204
204
  }),
205
205
  group: E({}, l, {
206
206
  value: b
207
207
  }),
208
208
  groupCollapsed: E({}, l, {
209
- value: x
209
+ value: w
210
210
  }),
211
211
  groupEnd: E({}, l, {
212
- value: z
212
+ value: D
213
213
  })
214
214
  });
215
215
  }
216
216
  K < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
217
217
  }
218
218
  }
219
- var T = I.ReactCurrentDispatcher, G;
219
+ var G = I.ReactCurrentDispatcher, N;
220
220
  function H(l, Z, S) {
221
221
  {
222
- if (G === void 0)
222
+ if (N === void 0)
223
223
  try {
224
224
  throw Error();
225
225
  } catch (ie) {
226
226
  var R = ie.stack.trim().match(/\n( *(at )?)/);
227
- G = R && R[1] || "";
227
+ N = R && R[1] || "";
228
228
  }
229
229
  return `
230
- ` + G + l;
230
+ ` + N + l;
231
231
  }
232
232
  }
233
- var U = !1, B;
233
+ var U = !1, X;
234
234
  {
235
235
  var ye = typeof WeakMap == "function" ? WeakMap : Map;
236
- B = new ye();
236
+ X = new ye();
237
237
  }
238
238
  function L(l, Z) {
239
239
  if (!l || U)
240
240
  return "";
241
241
  {
242
- var S = B.get(l);
242
+ var S = X.get(l);
243
243
  if (S !== void 0)
244
244
  return S;
245
245
  }
@@ -248,7 +248,7 @@ function ki() {
248
248
  var ie = Error.prepareStackTrace;
249
249
  Error.prepareStackTrace = void 0;
250
250
  var ce;
251
- ce = T.current, T.current = null, D();
251
+ ce = G.current, G.current = null, J();
252
252
  try {
253
253
  if (Z) {
254
254
  var re = function() {
@@ -294,19 +294,19 @@ function ki() {
294
294
  if (he--, qe--, qe < 0 || $[he] !== Ie[qe]) {
295
295
  var ke = `
296
296
  ` + $[he].replace(" at new ", " at ");
297
- return l.displayName && ke.includes("<anonymous>") && (ke = ke.replace("<anonymous>", l.displayName)), typeof l == "function" && B.set(l, ke), ke;
297
+ return l.displayName && ke.includes("<anonymous>") && (ke = ke.replace("<anonymous>", l.displayName)), typeof l == "function" && X.set(l, ke), ke;
298
298
  }
299
299
  while (he >= 1 && qe >= 0);
300
300
  break;
301
301
  }
302
302
  }
303
303
  } finally {
304
- U = !1, T.current = ce, Q(), Error.prepareStackTrace = ie;
304
+ U = !1, G.current = ce, Q(), Error.prepareStackTrace = ie;
305
305
  }
306
306
  var ht = l ? l.displayName || l.name : "", Zn = ht ? H(ht) : "";
307
- return typeof l == "function" && B.set(l, Zn), Zn;
307
+ return typeof l == "function" && X.set(l, Zn), Zn;
308
308
  }
309
- function N(l, Z, S) {
309
+ function T(l, Z, S) {
310
310
  return L(l, !1);
311
311
  }
312
312
  function F(l) {
@@ -329,7 +329,7 @@ function ki() {
329
329
  if (typeof l == "object")
330
330
  switch (l.$$typeof) {
331
331
  case c:
332
- return N(l.render);
332
+ return T(l.render);
333
333
  case m:
334
334
  return fe(l.type, Z, S);
335
335
  case g: {
@@ -1470,8 +1470,8 @@ function Hi() {
1470
1470
  }
1471
1471
  function O(L) {
1472
1472
  if (typeof L == "object" && L !== null) {
1473
- var N = L.$$typeof;
1474
- switch (N) {
1473
+ var T = L.$$typeof;
1474
+ switch (T) {
1475
1475
  case t:
1476
1476
  var F = L.type;
1477
1477
  switch (F) {
@@ -1492,40 +1492,40 @@ function Hi() {
1492
1492
  case a:
1493
1493
  return fe;
1494
1494
  default:
1495
- return N;
1495
+ return T;
1496
1496
  }
1497
1497
  }
1498
1498
  case r:
1499
- return N;
1499
+ return T;
1500
1500
  }
1501
1501
  }
1502
1502
  }
1503
- var v = c, _ = d, te = A, oe = a, Ae = t, pe = s, V = n, j = p, Y = h, E = r, K = i, M = o, f = m, w = !1;
1504
- function X(L) {
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.")), b(L) || O(L) === c;
1503
+ var v = c, _ = d, te = A, oe = a, Ae = t, pe = s, V = n, j = p, Y = h, E = r, K = i, z = o, f = m, x = !1;
1504
+ function B(L) {
1505
+ return x || (x = !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.")), b(L) || O(L) === c;
1506
1506
  }
1507
1507
  function b(L) {
1508
1508
  return O(L) === d;
1509
1509
  }
1510
- function x(L) {
1510
+ function w(L) {
1511
1511
  return O(L) === A;
1512
1512
  }
1513
- function z(L) {
1513
+ function D(L) {
1514
1514
  return O(L) === a;
1515
1515
  }
1516
- function J(L) {
1516
+ function M(L) {
1517
1517
  return typeof L == "object" && L !== null && L.$$typeof === t;
1518
1518
  }
1519
- function D(L) {
1519
+ function J(L) {
1520
1520
  return O(L) === s;
1521
1521
  }
1522
1522
  function Q(L) {
1523
1523
  return O(L) === n;
1524
1524
  }
1525
- function T(L) {
1525
+ function G(L) {
1526
1526
  return O(L) === p;
1527
1527
  }
1528
- function G(L) {
1528
+ function N(L) {
1529
1529
  return O(L) === h;
1530
1530
  }
1531
1531
  function H(L) {
@@ -1534,13 +1534,13 @@ function Hi() {
1534
1534
  function U(L) {
1535
1535
  return O(L) === i;
1536
1536
  }
1537
- function B(L) {
1537
+ function X(L) {
1538
1538
  return O(L) === o;
1539
1539
  }
1540
1540
  function ye(L) {
1541
1541
  return O(L) === m;
1542
1542
  }
1543
- le.AsyncMode = v, le.ConcurrentMode = _, le.ContextConsumer = te, le.ContextProvider = oe, le.Element = Ae, le.ForwardRef = pe, le.Fragment = V, le.Lazy = j, le.Memo = Y, le.Portal = E, le.Profiler = K, le.StrictMode = M, le.Suspense = f, le.isAsyncMode = X, le.isConcurrentMode = b, le.isContextConsumer = x, le.isContextProvider = z, le.isElement = J, le.isForwardRef = D, le.isFragment = Q, le.isLazy = T, le.isMemo = G, le.isPortal = H, le.isProfiler = U, le.isStrictMode = B, le.isSuspense = ye, le.isValidElementType = W, le.typeOf = O;
1543
+ le.AsyncMode = v, le.ConcurrentMode = _, le.ContextConsumer = te, le.ContextProvider = oe, le.Element = Ae, le.ForwardRef = pe, le.Fragment = V, le.Lazy = j, le.Memo = Y, le.Portal = E, le.Profiler = K, le.StrictMode = z, le.Suspense = f, le.isAsyncMode = B, le.isConcurrentMode = b, le.isContextConsumer = w, le.isContextProvider = D, le.isElement = M, le.isForwardRef = J, le.isFragment = Q, le.isLazy = G, le.isMemo = N, le.isPortal = H, le.isProfiler = U, le.isStrictMode = X, le.isSuspense = ye, le.isValidElementType = W, le.typeOf = O;
1544
1544
  }()), le;
1545
1545
  }
1546
1546
  var Ln;
@@ -1682,9 +1682,9 @@ function Xi() {
1682
1682
  return Ir = function(A, c) {
1683
1683
  var d = typeof Symbol == "function" && Symbol.iterator, s = "@@iterator";
1684
1684
  function m(b) {
1685
- var x = b && (d && b[d] || b[s]);
1686
- if (typeof x == "function")
1687
- return x;
1685
+ var w = b && (d && b[d] || b[s]);
1686
+ if (typeof w == "function")
1687
+ return w;
1688
1688
  }
1689
1689
  var g = "<<anonymous>>", h = {
1690
1690
  array: I("array"),
@@ -1707,209 +1707,209 @@ function Xi() {
1707
1707
  shape: j,
1708
1708
  exact: Y
1709
1709
  };
1710
- function p(b, x) {
1711
- return b === x ? b !== 0 || 1 / b === 1 / x : b !== b && x !== x;
1710
+ function p(b, w) {
1711
+ return b === w ? b !== 0 || 1 / b === 1 / w : b !== b && w !== w;
1712
1712
  }
1713
- function q(b, x) {
1714
- this.message = b, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
1713
+ function q(b, w) {
1714
+ this.message = b, this.data = w && typeof w == "object" ? w : {}, this.stack = "";
1715
1715
  }
1716
1716
  q.prototype = Error.prototype;
1717
1717
  function C(b) {
1718
1718
  if (process.env.NODE_ENV !== "production")
1719
- var x = {}, z = 0;
1720
- function J(Q, T, G, H, U, B, ye) {
1721
- if (H = H || g, B = B || G, ye !== r) {
1719
+ var w = {}, D = 0;
1720
+ function M(Q, G, N, H, U, X, ye) {
1721
+ if (H = H || g, X = X || N, ye !== r) {
1722
1722
  if (c) {
1723
1723
  var L = new Error(
1724
1724
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1725
1725
  );
1726
1726
  throw L.name = "Invariant Violation", L;
1727
1727
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1728
- var N = H + ":" + G;
1729
- !x[N] && // Avoid spamming the console because they are often not actionable except for lib authors
1730
- z < 3 && (i(
1731
- "You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1732
- ), x[N] = !0, z++);
1728
+ var T = H + ":" + N;
1729
+ !w[T] && // Avoid spamming the console because they are often not actionable except for lib authors
1730
+ D < 3 && (i(
1731
+ "You are manually calling a React.PropTypes validation function for the `" + X + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1732
+ ), w[T] = !0, D++);
1733
1733
  }
1734
1734
  }
1735
- return T[G] == null ? Q ? T[G] === null ? new q("The " + U + " `" + B + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new q("The " + U + " `" + B + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : b(T, G, H, U, B);
1735
+ return G[N] == null ? Q ? G[N] === null ? new q("The " + U + " `" + X + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new q("The " + U + " `" + X + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : b(G, N, H, U, X);
1736
1736
  }
1737
- var D = J.bind(null, !1);
1738
- return D.isRequired = J.bind(null, !0), D;
1737
+ var J = M.bind(null, !1);
1738
+ return J.isRequired = M.bind(null, !0), J;
1739
1739
  }
1740
1740
  function I(b) {
1741
- function x(z, J, D, Q, T, G) {
1742
- var H = z[J], U = M(H);
1741
+ function w(D, M, J, Q, G, N) {
1742
+ var H = D[M], U = z(H);
1743
1743
  if (U !== b) {
1744
- var B = f(H);
1744
+ var X = f(H);
1745
1745
  return new q(
1746
- "Invalid " + Q + " `" + T + "` of type " + ("`" + B + "` supplied to `" + D + "`, expected ") + ("`" + b + "`."),
1746
+ "Invalid " + Q + " `" + G + "` of type " + ("`" + X + "` supplied to `" + J + "`, expected ") + ("`" + b + "`."),
1747
1747
  { expectedType: b }
1748
1748
  );
1749
1749
  }
1750
1750
  return null;
1751
1751
  }
1752
- return C(x);
1752
+ return C(w);
1753
1753
  }
1754
1754
  function k() {
1755
1755
  return C(a);
1756
1756
  }
1757
1757
  function W(b) {
1758
- function x(z, J, D, Q, T) {
1758
+ function w(D, M, J, Q, G) {
1759
1759
  if (typeof b != "function")
1760
- return new q("Property `" + T + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
1761
- var G = z[J];
1762
- if (!Array.isArray(G)) {
1763
- var H = M(G);
1764
- return new q("Invalid " + Q + " `" + T + "` of type " + ("`" + H + "` supplied to `" + D + "`, expected an array."));
1760
+ return new q("Property `" + G + "` of component `" + J + "` has invalid PropType notation inside arrayOf.");
1761
+ var N = D[M];
1762
+ if (!Array.isArray(N)) {
1763
+ var H = z(N);
1764
+ return new q("Invalid " + Q + " `" + G + "` of type " + ("`" + H + "` supplied to `" + J + "`, expected an array."));
1765
1765
  }
1766
- for (var U = 0; U < G.length; U++) {
1767
- var B = b(G, U, D, Q, T + "[" + U + "]", r);
1768
- if (B instanceof Error)
1769
- return B;
1766
+ for (var U = 0; U < N.length; U++) {
1767
+ var X = b(N, U, J, Q, G + "[" + U + "]", r);
1768
+ if (X instanceof Error)
1769
+ return X;
1770
1770
  }
1771
1771
  return null;
1772
1772
  }
1773
- return C(x);
1773
+ return C(w);
1774
1774
  }
1775
1775
  function O() {
1776
- function b(x, z, J, D, Q) {
1777
- var T = x[z];
1778
- if (!A(T)) {
1779
- var G = M(T);
1780
- return new q("Invalid " + D + " `" + Q + "` of type " + ("`" + G + "` supplied to `" + J + "`, expected a single ReactElement."));
1776
+ function b(w, D, M, J, Q) {
1777
+ var G = w[D];
1778
+ if (!A(G)) {
1779
+ var N = z(G);
1780
+ return new q("Invalid " + J + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + M + "`, expected a single ReactElement."));
1781
1781
  }
1782
1782
  return null;
1783
1783
  }
1784
1784
  return C(b);
1785
1785
  }
1786
1786
  function v() {
1787
- function b(x, z, J, D, Q) {
1788
- var T = x[z];
1789
- if (!e.isValidElementType(T)) {
1790
- var G = M(T);
1791
- return new q("Invalid " + D + " `" + Q + "` of type " + ("`" + G + "` supplied to `" + J + "`, expected a single ReactElement type."));
1787
+ function b(w, D, M, J, Q) {
1788
+ var G = w[D];
1789
+ if (!e.isValidElementType(G)) {
1790
+ var N = z(G);
1791
+ return new q("Invalid " + J + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + M + "`, expected a single ReactElement type."));
1792
1792
  }
1793
1793
  return null;
1794
1794
  }
1795
1795
  return C(b);
1796
1796
  }
1797
1797
  function _(b) {
1798
- function x(z, J, D, Q, T) {
1799
- if (!(z[J] instanceof b)) {
1800
- var G = b.name || g, H = X(z[J]);
1801
- return new q("Invalid " + Q + " `" + T + "` of type " + ("`" + H + "` supplied to `" + D + "`, expected ") + ("instance of `" + G + "`."));
1798
+ function w(D, M, J, Q, G) {
1799
+ if (!(D[M] instanceof b)) {
1800
+ var N = b.name || g, H = B(D[M]);
1801
+ return new q("Invalid " + Q + " `" + G + "` of type " + ("`" + H + "` supplied to `" + J + "`, expected ") + ("instance of `" + N + "`."));
1802
1802
  }
1803
1803
  return null;
1804
1804
  }
1805
- return C(x);
1805
+ return C(w);
1806
1806
  }
1807
1807
  function te(b) {
1808
1808
  if (!Array.isArray(b))
1809
1809
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1810
1810
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1811
1811
  ) : i("Invalid argument supplied to oneOf, expected an array.")), a;
1812
- function x(z, J, D, Q, T) {
1813
- for (var G = z[J], H = 0; H < b.length; H++)
1814
- if (p(G, b[H]))
1812
+ function w(D, M, J, Q, G) {
1813
+ for (var N = D[M], H = 0; H < b.length; H++)
1814
+ if (p(N, b[H]))
1815
1815
  return null;
1816
1816
  var U = JSON.stringify(b, function(ye, L) {
1817
- var N = f(L);
1818
- return N === "symbol" ? String(L) : L;
1817
+ var T = f(L);
1818
+ return T === "symbol" ? String(L) : L;
1819
1819
  });
1820
- return new q("Invalid " + Q + " `" + T + "` of value `" + String(G) + "` " + ("supplied to `" + D + "`, expected one of " + U + "."));
1820
+ return new q("Invalid " + Q + " `" + G + "` of value `" + String(N) + "` " + ("supplied to `" + J + "`, expected one of " + U + "."));
1821
1821
  }
1822
- return C(x);
1822
+ return C(w);
1823
1823
  }
1824
1824
  function oe(b) {
1825
- function x(z, J, D, Q, T) {
1825
+ function w(D, M, J, Q, G) {
1826
1826
  if (typeof b != "function")
1827
- return new q("Property `" + T + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
1828
- var G = z[J], H = M(G);
1827
+ return new q("Property `" + G + "` of component `" + J + "` has invalid PropType notation inside objectOf.");
1828
+ var N = D[M], H = z(N);
1829
1829
  if (H !== "object")
1830
- return new q("Invalid " + Q + " `" + T + "` of type " + ("`" + H + "` supplied to `" + D + "`, expected an object."));
1831
- for (var U in G)
1832
- if (n(G, U)) {
1833
- var B = b(G, U, D, Q, T + "." + U, r);
1834
- if (B instanceof Error)
1835
- return B;
1830
+ return new q("Invalid " + Q + " `" + G + "` of type " + ("`" + H + "` supplied to `" + J + "`, expected an object."));
1831
+ for (var U in N)
1832
+ if (n(N, U)) {
1833
+ var X = b(N, U, J, Q, G + "." + U, r);
1834
+ if (X instanceof Error)
1835
+ return X;
1836
1836
  }
1837
1837
  return null;
1838
1838
  }
1839
- return C(x);
1839
+ return C(w);
1840
1840
  }
1841
1841
  function Ae(b) {
1842
1842
  if (!Array.isArray(b))
1843
1843
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
1844
- for (var x = 0; x < b.length; x++) {
1845
- var z = b[x];
1846
- if (typeof z != "function")
1844
+ for (var w = 0; w < b.length; w++) {
1845
+ var D = b[w];
1846
+ if (typeof D != "function")
1847
1847
  return i(
1848
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + w(z) + " at index " + x + "."
1848
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + x(D) + " at index " + w + "."
1849
1849
  ), a;
1850
1850
  }
1851
- function J(D, Q, T, G, H) {
1852
- for (var U = [], B = 0; B < b.length; B++) {
1853
- var ye = b[B], L = ye(D, Q, T, G, H, r);
1851
+ function M(J, Q, G, N, H) {
1852
+ for (var U = [], X = 0; X < b.length; X++) {
1853
+ var ye = b[X], L = ye(J, Q, G, N, H, r);
1854
1854
  if (L == null)
1855
1855
  return null;
1856
1856
  L.data && n(L.data, "expectedType") && U.push(L.data.expectedType);
1857
1857
  }
1858
- var N = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
1859
- return new q("Invalid " + G + " `" + H + "` supplied to " + ("`" + T + "`" + N + "."));
1858
+ var T = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
1859
+ return new q("Invalid " + N + " `" + H + "` supplied to " + ("`" + G + "`" + T + "."));
1860
1860
  }
1861
- return C(J);
1861
+ return C(M);
1862
1862
  }
1863
1863
  function pe() {
1864
- function b(x, z, J, D, Q) {
1865
- return E(x[z]) ? null : new q("Invalid " + D + " `" + Q + "` supplied to " + ("`" + J + "`, expected a ReactNode."));
1864
+ function b(w, D, M, J, Q) {
1865
+ return E(w[D]) ? null : new q("Invalid " + J + " `" + Q + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
1866
1866
  }
1867
1867
  return C(b);
1868
1868
  }
1869
- function V(b, x, z, J, D) {
1869
+ function V(b, w, D, M, J) {
1870
1870
  return new q(
1871
- (b || "React class") + ": " + x + " type `" + z + "." + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
1871
+ (b || "React class") + ": " + w + " type `" + D + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + J + "`."
1872
1872
  );
1873
1873
  }
1874
1874
  function j(b) {
1875
- function x(z, J, D, Q, T) {
1876
- var G = z[J], H = M(G);
1875
+ function w(D, M, J, Q, G) {
1876
+ var N = D[M], H = z(N);
1877
1877
  if (H !== "object")
1878
- return new q("Invalid " + Q + " `" + T + "` of type `" + H + "` " + ("supplied to `" + D + "`, expected `object`."));
1878
+ return new q("Invalid " + Q + " `" + G + "` of type `" + H + "` " + ("supplied to `" + J + "`, expected `object`."));
1879
1879
  for (var U in b) {
1880
- var B = b[U];
1881
- if (typeof B != "function")
1882
- return V(D, Q, T, U, f(B));
1883
- var ye = B(G, U, D, Q, T + "." + U, r);
1880
+ var X = b[U];
1881
+ if (typeof X != "function")
1882
+ return V(J, Q, G, U, f(X));
1883
+ var ye = X(N, U, J, Q, G + "." + U, r);
1884
1884
  if (ye)
1885
1885
  return ye;
1886
1886
  }
1887
1887
  return null;
1888
1888
  }
1889
- return C(x);
1889
+ return C(w);
1890
1890
  }
1891
1891
  function Y(b) {
1892
- function x(z, J, D, Q, T) {
1893
- var G = z[J], H = M(G);
1892
+ function w(D, M, J, Q, G) {
1893
+ var N = D[M], H = z(N);
1894
1894
  if (H !== "object")
1895
- return new q("Invalid " + Q + " `" + T + "` of type `" + H + "` " + ("supplied to `" + D + "`, expected `object`."));
1896
- var U = t({}, z[J], b);
1897
- for (var B in U) {
1898
- var ye = b[B];
1899
- if (n(b, B) && typeof ye != "function")
1900
- return V(D, Q, T, B, f(ye));
1895
+ return new q("Invalid " + Q + " `" + G + "` of type `" + H + "` " + ("supplied to `" + J + "`, expected `object`."));
1896
+ var U = t({}, D[M], b);
1897
+ for (var X in U) {
1898
+ var ye = b[X];
1899
+ if (n(b, X) && typeof ye != "function")
1900
+ return V(J, Q, G, X, f(ye));
1901
1901
  if (!ye)
1902
1902
  return new q(
1903
- "Invalid " + Q + " `" + T + "` key `" + B + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(z[J], null, " ") + `
1903
+ "Invalid " + Q + " `" + G + "` key `" + X + "` supplied to `" + J + "`.\nBad object: " + JSON.stringify(D[M], null, " ") + `
1904
1904
  Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1905
1905
  );
1906
- var L = ye(G, B, D, Q, T + "." + B, r);
1906
+ var L = ye(N, X, J, Q, G + "." + X, r);
1907
1907
  if (L)
1908
1908
  return L;
1909
1909
  }
1910
1910
  return null;
1911
1911
  }
1912
- return C(x);
1912
+ return C(w);
1913
1913
  }
1914
1914
  function E(b) {
1915
1915
  switch (typeof b) {
@@ -1924,17 +1924,17 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1924
1924
  return b.every(E);
1925
1925
  if (b === null || A(b))
1926
1926
  return !0;
1927
- var x = m(b);
1928
- if (x) {
1929
- var z = x.call(b), J;
1930
- if (x !== b.entries) {
1931
- for (; !(J = z.next()).done; )
1932
- if (!E(J.value))
1927
+ var w = m(b);
1928
+ if (w) {
1929
+ var D = w.call(b), M;
1930
+ if (w !== b.entries) {
1931
+ for (; !(M = D.next()).done; )
1932
+ if (!E(M.value))
1933
1933
  return !1;
1934
1934
  } else
1935
- for (; !(J = z.next()).done; ) {
1936
- var D = J.value;
1937
- if (D && !E(D[1]))
1935
+ for (; !(M = D.next()).done; ) {
1936
+ var J = M.value;
1937
+ if (J && !E(J[1]))
1938
1938
  return !1;
1939
1939
  }
1940
1940
  } else
@@ -1944,40 +1944,40 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1944
1944
  return !1;
1945
1945
  }
1946
1946
  }
1947
- function K(b, x) {
1948
- return b === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
1947
+ function K(b, w) {
1948
+ return b === "symbol" ? !0 : w ? w["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && w instanceof Symbol : !1;
1949
1949
  }
1950
- function M(b) {
1951
- var x = typeof b;
1952
- return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : K(x, b) ? "symbol" : x;
1950
+ function z(b) {
1951
+ var w = typeof b;
1952
+ return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : K(w, b) ? "symbol" : w;
1953
1953
  }
1954
1954
  function f(b) {
1955
1955
  if (typeof b > "u" || b === null)
1956
1956
  return "" + b;
1957
- var x = M(b);
1958
- if (x === "object") {
1957
+ var w = z(b);
1958
+ if (w === "object") {
1959
1959
  if (b instanceof Date)
1960
1960
  return "date";
1961
1961
  if (b instanceof RegExp)
1962
1962
  return "regexp";
1963
1963
  }
1964
- return x;
1964
+ return w;
1965
1965
  }
1966
- function w(b) {
1967
- var x = f(b);
1968
- switch (x) {
1966
+ function x(b) {
1967
+ var w = f(b);
1968
+ switch (w) {
1969
1969
  case "array":
1970
1970
  case "object":
1971
- return "an " + x;
1971
+ return "an " + w;
1972
1972
  case "boolean":
1973
1973
  case "date":
1974
1974
  case "regexp":
1975
- return "a " + x;
1975
+ return "a " + w;
1976
1976
  default:
1977
- return x;
1977
+ return w;
1978
1978
  }
1979
1979
  }
1980
- function X(b) {
1980
+ function B(b) {
1981
1981
  return !b.constructor || !b.constructor.name ? g : b.constructor.name;
1982
1982
  }
1983
1983
  return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
@@ -3814,7 +3814,7 @@ function jA(e) {
3814
3814
  else {
3815
3815
  const K = E > Y ? Y : E;
3816
3816
  A.displayedToast = K;
3817
- for (let M = 0; M < K; M++)
3817
+ for (let z = 0; z < K; z++)
3818
3818
  s();
3819
3819
  }
3820
3820
  } else
@@ -3822,9 +3822,9 @@ function jA(e) {
3822
3822
  } };
3823
3823
  var Ae, pe;
3824
3824
  oe.iconOut = function(j) {
3825
- let { theme: Y, type: E, isLoading: K, icon: M } = j, f = null;
3826
- const w = { theme: Y, type: E };
3827
- return M === !1 || (xe(M) ? f = M(w) : vt(M) ? f = zr(M, w) : dt(M) || Ot(M) ? f = M : K ? f = Or.spinner() : ((X) => X in Or)(E) && (f = Or[E](w))), f;
3825
+ let { theme: Y, type: E, isLoading: K, icon: z } = j, f = null;
3826
+ const x = { theme: Y, type: E };
3827
+ return z === !1 || (xe(z) ? f = z(x) : vt(z) ? f = zr(z, x) : dt(z) || Ot(z) ? f = z : K ? f = Or.spinner() : ((B) => B in Or)(E) && (f = Or[E](x))), f;
3828
3828
  }(oe), xe(I.onOpen) && (oe.onOpen = I.onOpen), xe(I.onClose) && (oe.onClose = I.onClose), oe.closeButton = v.closeButton, I.closeButton === !1 || Sr(I.closeButton) ? oe.closeButton = I.closeButton : I.closeButton === !0 && (oe.closeButton = !Sr(v.closeButton) || v.closeButton);
3829
3829
  let V = h;
3830
3830
  vt(h) && !dt(h.type) ? V = zr(h, { closeToast: _, toastProps: oe, data: O }) : xe(h) && (V = h({ closeToast: _, toastProps: oe, data: O })), v.limit && v.limit > 0 && A.count > v.limit && te ? A.queue.push({ toastContent: V, toastProps: oe, staleId: C }) : Ot(q) ? setTimeout(() => {
@@ -3918,9 +3918,9 @@ function DA(e) {
3918
3918
  } });
3919
3919
  }
3920
3920
  const NA = (e) => {
3921
- const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: o } = JA(e), { closeButton: i, children: a, autoClose: A, onClick: c, type: d, hideProgressBar: s, closeToast: m, transition: g, position: h, className: p, style: q, bodyClassName: C, bodyStyle: I, progressClassName: k, progressStyle: W, updateId: O, role: v, progress: _, rtl: te, toastId: oe, deleteToast: Ae, isIn: pe, isLoading: V, iconOut: j, closeOnClick: Y, theme: E } = e, K = tt("Toastify__toast", `Toastify__toast-theme--${E}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": te }, { "Toastify__toast--close-on-click": Y }), M = xe(p) ? p({ rtl: te, position: h, type: d, defaultClassName: K }) : tt(K, p), f = !!_ || !A, w = { closeToast: m, type: d, theme: E };
3922
- let X = null;
3923
- return i === !1 || (X = xe(i) ? i(w) : vt(i) ? zr(i, w) : Uo(w)), ae.createElement(g, { isIn: pe, done: Ae, position: h, preventExitTransition: r, nodeRef: n }, ae.createElement("div", { id: oe, onClick: c, className: M, ...o, style: q, ref: n }, ae.createElement("div", { ...pe && { role: v }, className: xe(C) ? C({ type: d }) : tt("Toastify__toast-body", C), style: I }, j != null && ae.createElement("div", { className: tt("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !V }) }, j), ae.createElement("div", null, a)), X, ae.createElement(DA, { ...O && !f ? { key: `pb-${O}` } : {}, rtl: te, theme: E, delay: A, isRunning: t, isIn: pe, closeToast: m, hide: s, type: d, style: W, className: k, controlledProgress: f, progress: _ || 0 })));
3921
+ const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: o } = JA(e), { closeButton: i, children: a, autoClose: A, onClick: c, type: d, hideProgressBar: s, closeToast: m, transition: g, position: h, className: p, style: q, bodyClassName: C, bodyStyle: I, progressClassName: k, progressStyle: W, updateId: O, role: v, progress: _, rtl: te, toastId: oe, deleteToast: Ae, isIn: pe, isLoading: V, iconOut: j, closeOnClick: Y, theme: E } = e, K = tt("Toastify__toast", `Toastify__toast-theme--${E}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": te }, { "Toastify__toast--close-on-click": Y }), z = xe(p) ? p({ rtl: te, position: h, type: d, defaultClassName: K }) : tt(K, p), f = !!_ || !A, x = { closeToast: m, type: d, theme: E };
3922
+ let B = null;
3923
+ return i === !1 || (B = xe(i) ? i(x) : vt(i) ? zr(i, x) : Uo(x)), ae.createElement(g, { isIn: pe, done: Ae, position: h, preventExitTransition: r, nodeRef: n }, ae.createElement("div", { id: oe, onClick: c, className: z, ...o, style: q, ref: n }, ae.createElement("div", { ...pe && { role: v }, className: xe(C) ? C({ type: d }) : tt("Toastify__toast-body", C), style: I }, j != null && ae.createElement("div", { className: tt("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !V }) }, j), ae.createElement("div", null, a)), B, ae.createElement(DA, { ...O && !f ? { key: `pb-${O}` } : {}, rtl: te, theme: E, delay: A, isRunning: t, isIn: pe, closeToast: m, hide: s, type: d, style: W, className: k, controlledProgress: f, progress: _ || 0 })));
3924
3924
  }, pr = function(e, t) {
3925
3925
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
3926
3926
  }, TA = mr(pr("bounce", !0));
@@ -4079,7 +4079,7 @@ const PA = ({ versionId: e, typeOfProduct: t, api: r, fetchFileUrl: n, copyLinkU
4079
4079
  bgColor: "#0F0F1E",
4080
4080
  fgColor: "#ffffff",
4081
4081
  style: { height: "auto", maxWidth: "100%", width: "100%" },
4082
- value: `${o}/preview?versionId=${e}`
4082
+ value: `${o}/preview?versionId=${e}` + (t === "Flex" ? "" : "_")
4083
4083
  }
4084
4084
  )
4085
4085
  }
@@ -5216,8 +5216,8 @@ const is = ({
5216
5216
  disabled: k,
5217
5217
  user: W
5218
5218
  }) => {
5219
- const [O, v] = ee(!1), [_, te] = ee($A(5)), [oe, Ae] = ee(""), [pe, V] = ee(!1), [j, Y] = ee(!1), [E, K] = ee(!1), [M, f] = ee("download"), [w, X] = ee(!1), [b, x] = ee(!1), [z, J] = ee(!1);
5220
- let D = {
5219
+ const [O, v] = ee(!1), [_, te] = ee($A(5)), [oe, Ae] = ee(""), [pe, V] = ee(!1), [j, Y] = ee(!1), [E, K] = ee(!1), [z, f] = ee("download"), [x, B] = ee(!1), [b, w] = ee(!1), [D, M] = ee(!1);
5220
+ let J = {
5221
5221
  aarki: "html,copy",
5222
5222
  adcolony: "copy,html",
5223
5223
  adjoe: "copy,html",
@@ -5261,23 +5261,23 @@ const is = ({
5261
5261
  adikteev: "html",
5262
5262
  jammp: "copy,html"
5263
5263
  };
5264
- const Q = Wr.includes("moloco") ? 1 : 0, T = () => {
5264
+ const Q = Wr.includes("moloco") ? 1 : 0, G = () => {
5265
5265
  r(e);
5266
- }, G = (N, F) => {
5266
+ }, N = (T, F) => {
5267
5267
  const fe = F.replace("exports/", "");
5268
- fetch(N).then((ve) => ve.blob()).then((ve) => {
5268
+ fetch(T).then((ve) => ve.blob()).then((ve) => {
5269
5269
  const de = window.URL.createObjectURL(ve), Ke = document.createElement("a");
5270
5270
  Ke.href = de, Ke.download = fe, document.body.appendChild(Ke), Ke.click(), window.URL.revokeObjectURL(de);
5271
5271
  }).catch((ve) => {
5272
5272
  console.error("Dosya alınamadı:", ve);
5273
5273
  });
5274
- }, H = async (N, F, fe, ve, de, Ke) => {
5274
+ }, H = async (T, F, fe, ve, de, Ke) => {
5275
5275
  try {
5276
5276
  if (v(!0), console.log("1"), c === "Flex") {
5277
5277
  console.log("Flex 1"), p.iosUrl = h.iosUrl, p.googleUrl = h.googleUrl, await _n(p, s);
5278
5278
  const Se = await er(
5279
5279
  {
5280
- _id: N,
5280
+ _id: T,
5281
5281
  network: F
5282
5282
  },
5283
5283
  s
@@ -5309,20 +5309,20 @@ const is = ({
5309
5309
  "inmobi"
5310
5310
  ].includes(F) || (F === "fb" || F === "luna") && Ke) {
5311
5311
  let _e = g + "/" + Oe;
5312
- G(_e, Oe), console.log("Flex 6");
5312
+ N(_e, Oe), console.log("Flex 6");
5313
5313
  } else if (ve) {
5314
5314
  let _e = g + "/" + Oe;
5315
- G(_e, Oe);
5315
+ N(_e, Oe);
5316
5316
  }
5317
5317
  return v(!1), Oe;
5318
5318
  } else {
5319
5319
  await $n(
5320
- N,
5320
+ T,
5321
5321
  { iosLink: h.iosUrl, androidLink: h.googleUrl },
5322
5322
  s
5323
5323
  );
5324
5324
  const Se = Wr.includes(F) ? 1 : 0;
5325
- At(s, N, _, F, Ke, Se, {}).then(async (Oe) => {
5325
+ At(s, T, _, F, Ke, Se, {}).then(async (Oe) => {
5326
5326
  let { url: Fe } = Oe, _e;
5327
5327
  if ([
5328
5328
  "google",
@@ -5343,10 +5343,10 @@ const is = ({
5343
5343
  "inmobi"
5344
5344
  ].includes(F) || (F === "fb" || F === "luna") && Ke) {
5345
5345
  let xt = g + "/" + Fe;
5346
- G(xt, Fe);
5346
+ N(xt, Fe);
5347
5347
  } else if (ve) {
5348
5348
  let xt = g + "/" + Fe;
5349
- G(xt, Fe);
5349
+ N(xt, Fe);
5350
5350
  }
5351
5351
  return v(!1), Re("Download successfully"), Fe;
5352
5352
  }).catch((Oe) => {
@@ -5375,29 +5375,29 @@ const is = ({
5375
5375
  return tr(`${g}/${F == null ? void 0 : F.url}`), Re("Link Coppied"), F == null ? void 0 : F.url;
5376
5376
  }
5377
5377
  p.iosUrl = h.iosUrl, p.googleUrl = h.googleUrl, await _n(p, s);
5378
- const N = await er({ _id: d, network: o }, s);
5379
- return tr(`${g}/${N == null ? void 0 : N.url}`), Re("Link Coppied"), N == null ? void 0 : N.url;
5380
- }, B = async () => {
5381
- X(!0);
5382
- const N = await At(s, d, _, "moloco", !1, Q, {
5378
+ const T = await er({ _id: d, network: o }, s);
5379
+ return tr(`${g}/${T == null ? void 0 : T.url}`), Re("Link Coppied"), T == null ? void 0 : T.url;
5380
+ }, X = async () => {
5381
+ B(!0);
5382
+ const T = await At(s, d, _, "moloco", !1, Q, {
5383
5383
  molocoS3: !0
5384
5384
  });
5385
- let F = N.url, fe;
5385
+ let F = T.url, fe;
5386
5386
  if (!F) {
5387
- X(!1), m(N.message, N);
5387
+ B(!1), m(T.message, T);
5388
5388
  return;
5389
5389
  }
5390
5390
  let ve = await fetch(g + "/" + F).then((de) => de.text());
5391
5391
  fe = document.createElement("a"), fe.setAttribute("href", "data:html/plain;charset=utf-8," + encodeURIComponent(ve)), fe.setAttribute(
5392
5392
  "download",
5393
5393
  F.split("/").reduce((de, Ke) => Ke, "")
5394
- ), fe.style.display = "none", document.body.appendChild(fe), fe.click(), X(!1), Re("Download successfully"), K(!1);
5394
+ ), fe.style.display = "none", document.body.appendChild(fe), fe.click(), B(!1), Re("Download successfully"), K(!1);
5395
5395
  }, ye = async () => {
5396
- x(!0);
5397
- const N = await At(s, d, _, "moloco", !1, Q, {
5396
+ w(!0);
5397
+ const T = await At(s, d, _, "moloco", !1, Q, {
5398
5398
  molocoS3: !0
5399
5399
  });
5400
- await fetch(g + "/" + N.url).then((F) => {
5400
+ await fetch(g + "/" + T.url).then((F) => {
5401
5401
  F.text().then((fe) => {
5402
5402
  const ve = {
5403
5403
  Applovin: '{"cur":"USD","id":"2be72885d7954bd8a731108d86d41b4abb2a2197","seatbid":[{"bid":[{"adid":"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS","adm":"<VAST version=\\"3.0\\"><Ad id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><InLine><AdSystem version=\\"2.0\\"></AdSystem><AdTitle><![CDATA[oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS]]></AdTitle><Impression id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_fwd?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}]]></Impression><Creatives><Creative><Linear><Duration>00:00:30</Duration><TrackingEvents><Tracking event=\\"firstQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_1q]]></Tracking><Tracking event=\\"midpoint\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_2q]]></Tracking><Tracking event=\\"thirdQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_3q]]></Tracking><Tracking event=\\"complete\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_4q]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[https://tr-us.adsmoloco.com/rtb/click?exchange=APPLOVIN&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&dcr=]]></ClickThrough></VideoClicks><MediaFiles><MediaFile id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" delivery=\\"progressive\\" type=\\"video/mp4\\" width=\\"360\\" height=\\"640\\"><![CDATA[https://cdn-f.adsmoloco.com/king/creative/la2szjv7_m16ly8y_qdpyqh49wthqhksm.mp4]]></MediaFile></MediaFiles></Linear><CreativeExtensions></CreativeExtensions></Creative><Creative><CompanionAds><Companion id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" width=\\"320\\" height=\\"480\\" assetWidth=\\"0\\" assetHeight=\\"0\\" expandedWidth=\\"0\\" expandedHeight=\\"0\\"><TrackingEvents><Tracking event=\\"creativeView\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=endcard]]></Tracking></TrackingEvents><HTMLResource><![CDATA[#PLAYABLE_FACTORY_SOURCE]]></HTMLResource></Companion></CompanionAds><CreativeExtensions></CreativeExtensions></Creative></Creatives><Description></Description><Survey></Survey><Extensions></Extensions></InLine></Ad></VAST>","adomain":["king.com"],"attr":[6],"bundle":"com.king.candycrushsaga","burl":"https://tr-us.adsmoloco.com/rtb/imp?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&price=${AUCTION_PRICE}","cat":["IAB9"],"cid":"d6CJa3T9aYcc1yEx","crid":"king:a:qd4LesSpgup13ArS","ext":{"crtype":"VAST 3.0","duration":30},"id":"1","impid":"1","lurl":"https://noti-us.adsmoloco.com/rtb/loss?code=${AUCTION_LOSS}&ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","nurl":"https://noti-us.adsmoloco.com/rtb/win?ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mbtw=${AUCTION_MINIMUM_BID_TO_WIN}&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","price":0.012}],"seat":"s"}]}'.replace(
@@ -5413,17 +5413,17 @@ const is = ({
5413
5413
  de.setAttribute(
5414
5414
  "href",
5415
5415
  "data:application/json;charset=utf-8," + encodeURIComponent(ve.Applovin)
5416
- ), de.setAttribute("download", (N == null ? void 0 : N.url.split("/").at(-1)) + ".json"), de.style.display = "none", de.onclick = () => {
5416
+ ), de.setAttribute("download", (T == null ? void 0 : T.url.split("/").at(-1)) + ".json"), de.style.display = "none", de.onclick = () => {
5417
5417
  document.body.removeChild(de);
5418
- }, document.body.appendChild(de), de.click(), K(!1), Re("Download successfully"), x(!1);
5418
+ }, document.body.appendChild(de), de.click(), K(!1), Re("Download successfully"), w(!1);
5419
5419
  });
5420
5420
  });
5421
5421
  }, L = async () => {
5422
- J(!0);
5423
- const N = await At(s, d, _, "moloco", !1, Q, {
5422
+ M(!0);
5423
+ const T = await At(s, d, _, "moloco", !1, Q, {
5424
5424
  molocoS3: !0
5425
5425
  });
5426
- await fetch(g + "/" + N.url).then((F) => {
5426
+ await fetch(g + "/" + T.url).then((F) => {
5427
5427
  F.text().then((fe) => {
5428
5428
  const ve = {
5429
5429
  Applovin: '{"cur":"USD","id":"2be72885d7954bd8a731108d86d41b4abb2a2197","seatbid":[{"bid":[{"adid":"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS","adm":"<VAST version=\\"3.0\\"><Ad id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><InLine><AdSystem version=\\"2.0\\"></AdSystem><AdTitle><![CDATA[oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS]]></AdTitle><Impression id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_fwd?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}]]></Impression><Creatives><Creative><Linear><Duration>00:00:30</Duration><TrackingEvents><Tracking event=\\"firstQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_1q]]></Tracking><Tracking event=\\"midpoint\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_2q]]></Tracking><Tracking event=\\"thirdQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_3q]]></Tracking><Tracking event=\\"complete\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_4q]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[https://tr-us.adsmoloco.com/rtb/click?exchange=APPLOVIN&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&dcr=]]></ClickThrough></VideoClicks><MediaFiles><MediaFile id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" delivery=\\"progressive\\" type=\\"video/mp4\\" width=\\"360\\" height=\\"640\\"><![CDATA[https://cdn-f.adsmoloco.com/king/creative/la2szjv7_m16ly8y_qdpyqh49wthqhksm.mp4]]></MediaFile></MediaFiles></Linear><CreativeExtensions></CreativeExtensions></Creative><Creative><CompanionAds><Companion id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" width=\\"320\\" height=\\"480\\" assetWidth=\\"0\\" assetHeight=\\"0\\" expandedWidth=\\"0\\" expandedHeight=\\"0\\"><TrackingEvents><Tracking event=\\"creativeView\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=endcard]]></Tracking></TrackingEvents><HTMLResource><![CDATA[#PLAYABLE_FACTORY_SOURCE]]></HTMLResource></Companion></CompanionAds><CreativeExtensions></CreativeExtensions></Creative></Creatives><Description></Description><Survey></Survey><Extensions></Extensions></InLine></Ad></VAST>","adomain":["king.com"],"attr":[6],"bundle":"com.king.candycrushsaga","burl":"https://tr-us.adsmoloco.com/rtb/imp?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&price=${AUCTION_PRICE}","cat":["IAB9"],"cid":"d6CJa3T9aYcc1yEx","crid":"king:a:qd4LesSpgup13ArS","ext":{"crtype":"VAST 3.0","duration":30},"id":"1","impid":"1","lurl":"https://noti-us.adsmoloco.com/rtb/loss?code=${AUCTION_LOSS}&ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","nurl":"https://noti-us.adsmoloco.com/rtb/win?ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mbtw=${AUCTION_MINIMUM_BID_TO_WIN}&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","price":0.012}],"seat":"s"}]}'.replace(
@@ -5439,9 +5439,9 @@ const is = ({
5439
5439
  de.setAttribute(
5440
5440
  "href",
5441
5441
  "data:application/json;charset=utf-8," + encodeURIComponent(ve.Chartboost)
5442
- ), de.setAttribute("download", (N == null ? void 0 : N.url.split("/").at(-1)) + ".json"), de.style.display = "none", de.onclick = () => {
5442
+ ), de.setAttribute("download", (T == null ? void 0 : T.url.split("/").at(-1)) + ".json"), de.style.display = "none", de.onclick = () => {
5443
5443
  document.body.removeChild(de);
5444
- }, document.body.appendChild(de), de.click(), K(!1), Re("Download successfully"), J(!1);
5444
+ }, document.body.appendChild(de), de.click(), K(!1), Re("Download successfully"), M(!1);
5445
5445
  });
5446
5446
  });
5447
5447
  };
@@ -5496,7 +5496,7 @@ const is = ({
5496
5496
  }
5497
5497
  }
5498
5498
  ),
5499
- /* @__PURE__ */ u.jsx("div", { children: i && i.map((N) => N.network).includes(o) ? a ? /* @__PURE__ */ u.jsx(
5499
+ /* @__PURE__ */ u.jsx("div", { children: i && i.map((T) => T.network).includes(o) ? a ? /* @__PURE__ */ u.jsx(
5500
5500
  "div",
5501
5501
  {
5502
5502
  style: {
@@ -5512,7 +5512,7 @@ const is = ({
5512
5512
  },
5513
5513
  children: /* @__PURE__ */ u.jsx(ts, { typeOfProduct: c })
5514
5514
  }
5515
- ) : i.map((N) => /* @__PURE__ */ u.jsx(
5515
+ ) : i.map((T) => /* @__PURE__ */ u.jsx(
5516
5516
  "div",
5517
5517
  {
5518
5518
  style: {
@@ -5527,9 +5527,9 @@ const is = ({
5527
5527
  justifyContent: "center",
5528
5528
  alignItems: "center"
5529
5529
  },
5530
- children: N.network === o ? N.size.toString().slice(0, 5) + "Mb" : ""
5530
+ children: T.network === o ? T.size.toString().slice(0, 5) + "Mb" : ""
5531
5531
  },
5532
- N.network
5532
+ T.network
5533
5533
  )) : null })
5534
5534
  ]
5535
5535
  }
@@ -5537,7 +5537,7 @@ const is = ({
5537
5537
  /* @__PURE__ */ u.jsx(
5538
5538
  "div",
5539
5539
  {
5540
- onClick: T,
5540
+ onClick: G,
5541
5541
  style: {
5542
5542
  position: "absolute",
5543
5543
  top: "0",
@@ -5550,7 +5550,7 @@ const is = ({
5550
5550
  /* @__PURE__ */ u.jsx(
5551
5551
  "img",
5552
5552
  {
5553
- onClick: T,
5553
+ onClick: G,
5554
5554
  style: {
5555
5555
  width: "30rem",
5556
5556
  // Equivalent to 120/4 = 30rem
@@ -5584,8 +5584,8 @@ const is = ({
5584
5584
  return;
5585
5585
  } else {
5586
5586
  Ae("download");
5587
- const N = h.iosUrl, F = h.googleUrl;
5588
- C && C.willSpendCredit ? (q(!0), f("download"), V(!0)) : !N || !F ? (q(!0), Y(!0)) : (Y(!1), V(!1), await H(d, o, void 0, !0, null, !0));
5587
+ const T = h.iosUrl, F = h.googleUrl;
5588
+ C && C.willSpendCredit ? (q(!0), f("download"), V(!0)) : !T || !F ? (q(!0), Y(!0)) : (Y(!1), V(!1), await H(d, o, void 0, !0, null, !0));
5589
5589
  }
5590
5590
  },
5591
5591
  children: [
@@ -5611,14 +5611,14 @@ const is = ({
5611
5611
  ]
5612
5612
  }
5613
5613
  ),
5614
- D[o].includes("copy") && /* @__PURE__ */ u.jsx(
5614
+ J[o].includes("copy") && /* @__PURE__ */ u.jsx(
5615
5615
  Fn,
5616
5616
  {
5617
5617
  className: "w-1/3",
5618
5618
  onClickDonwload: async () => {
5619
5619
  Ae("copyLink");
5620
- const N = h.iosUrl, F = h.googleUrl;
5621
- C && (C != null && C.willSpendCredit) ? (f("copy"), q(!0), V(!0)) : !N || !F ? (q(!0), Y(!0)) : (V(!1), Y(!1), await U());
5620
+ const T = h.iosUrl, F = h.googleUrl;
5621
+ C && (C != null && C.willSpendCredit) ? (f("copy"), q(!0), V(!0)) : !T || !F ? (q(!0), Y(!0)) : (V(!1), Y(!1), await U());
5622
5622
  },
5623
5623
  disabled: k,
5624
5624
  children: /* @__PURE__ */ u.jsx(Co, { className: "h-6 w-6 stroke-dark-full" })
@@ -5633,7 +5633,7 @@ const is = ({
5633
5633
  pe && /* @__PURE__ */ u.jsx(
5634
5634
  os,
5635
5635
  {
5636
- creditConfirmType: M,
5636
+ creditConfirmType: z,
5637
5637
  handleCopyLink: async () => {
5638
5638
  Y(!1), q(!1), await U();
5639
5639
  },
@@ -5669,12 +5669,12 @@ const is = ({
5669
5669
  onClose: () => {
5670
5670
  K(!1);
5671
5671
  },
5672
- handleDownload: B,
5672
+ handleDownload: X,
5673
5673
  handleDownloadMolocoApplovinTest: ye,
5674
5674
  handleDownloadMolocoChartboostTest: L,
5675
- downloadingMoloco: w,
5675
+ downloadingMoloco: x,
5676
5676
  downloadingMolocoApplovin: b,
5677
- downloadingMolocoChartboost: z
5677
+ downloadingMolocoChartboost: D
5678
5678
  }
5679
5679
  )
5680
5680
  ] });
@@ -6009,7 +6009,7 @@ const ds = ({
6009
6009
  }, pe = async (j) => {
6010
6010
  const Y = [...h];
6011
6011
  if (h.includes(j)) {
6012
- const K = Y.findIndex((M) => M === j);
6012
+ const K = Y.findIndex((z) => z === j);
6013
6013
  Y.splice(K, 1), p(Y);
6014
6014
  } else
6015
6015
  o === "Playable" ? (Y.push(j), p([...h, j])) : (Y.splice(0), Y.push(j), p([j]));
@@ -6021,8 +6021,8 @@ const ds = ({
6021
6021
  _(!0);
6022
6022
  const Y = await cs(n, j, i), { url: E } = Y;
6023
6023
  let K;
6024
- const M = c + "/" + E;
6025
- K = document.createElement("iframe"), K.setAttribute("src", M), K.style.display = "none", document.body.appendChild(K), K.click(), _(!1), Re("Multi downloaded completed successfully");
6024
+ const z = c + "/" + E;
6025
+ K = document.createElement("iframe"), K.setAttribute("src", z), K.style.display = "none", document.body.appendChild(K), K.click(), _(!1), Re("Multi downloaded completed successfully");
6026
6026
  } catch (j) {
6027
6027
  _(!1), A(j.response.data.error.msg), console.error(j);
6028
6028
  }
@@ -6175,70 +6175,70 @@ const gs = [
6175
6175
  }) => {
6176
6176
  const [g, h] = ee(null), [p, q] = ee(null), [C, I] = ee(null), [k, W] = ee(!1), [O, v] = ee("Loading..."), [_, te] = ee("Loading..."), [oe, Ae] = ee(!0), [pe, V] = ee(window.innerWidth);
6177
6177
  we(() => {
6178
- const w = () => {
6178
+ const x = () => {
6179
6179
  V(window.innerWidth);
6180
6180
  };
6181
- return window.addEventListener("resize", w), () => {
6182
- window.removeEventListener("resize", w);
6181
+ return window.addEventListener("resize", x), () => {
6182
+ window.removeEventListener("resize", x);
6183
6183
  };
6184
6184
  }, []);
6185
6185
  const j = async () => {
6186
6186
  W(!0);
6187
- const w = await ms(e, i);
6188
- w != null && w.networks || (w.networks = gs), h(w);
6189
- }, Y = (w) => {
6190
- v(w);
6191
- }, E = (w) => {
6192
- te(w);
6193
- }, K = async (w) => {
6194
- var X, b;
6187
+ const x = await ms(e, i);
6188
+ return x != null && x.networks || (x.networks = gs), h(x), x;
6189
+ }, Y = (x) => {
6190
+ v(x);
6191
+ }, E = (x) => {
6192
+ te(x);
6193
+ }, K = async (x, B) => {
6194
+ var b, w;
6195
6195
  try {
6196
- let x;
6196
+ let D;
6197
6197
  if (n === "Playable") {
6198
- const z = await hs(t, i);
6199
- if (z) {
6200
- v(z.iosLink), te(z.androidLink), W(!1);
6198
+ const M = await hs(t, i);
6199
+ if (M) {
6200
+ v(M.iosLink), te(M.androidLink), W(!1);
6201
6201
  return;
6202
6202
  }
6203
- if (g && g.html) {
6204
- let J = await fetch(d + "/" + g.html).then(
6205
- (T) => T.text()
6203
+ if (B && B.html) {
6204
+ let J = await fetch(d + "/" + B.html).then(
6205
+ (N) => N.text()
6206
6206
  );
6207
- const D = ((X = J.match(
6208
- /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6209
- )) == null ? void 0 : X.at(1)) || "";
6210
- v(D);
6211
6207
  const Q = ((b = J.match(
6212
- /var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6208
+ /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6213
6209
  )) == null ? void 0 : b.at(1)) || "";
6214
- te(Q), W(!1);
6210
+ v(Q);
6211
+ const G = ((w = J.match(
6212
+ /var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6213
+ )) == null ? void 0 : w.at(1)) || "";
6214
+ te(G), W(!1);
6215
6215
  } else
6216
6216
  te(""), v(""), W(!1);
6217
6217
  } else if (n === "Flex") {
6218
- const z = await qs(t, i);
6219
- if (z.googleUrl || z.iosUrl) {
6220
- te(z.googleUrl), v(z.iosUrl), W(!1);
6218
+ const M = await qs(t, i);
6219
+ if (M.googleUrl || M.iosUrl) {
6220
+ te(M.googleUrl), v(M.iosUrl), W(!1);
6221
6221
  return;
6222
6222
  }
6223
- w && (w.iosUrl || w.googleUrl) ? (v(w.iosUrl), te(w.googleUrl), W(!1)) : (te(""), v(""), W(!1));
6223
+ x && (x.iosUrl || x.googleUrl) ? (v(x.iosUrl), te(x.googleUrl), W(!1)) : (te(""), v(""), W(!1));
6224
6224
  }
6225
- } catch (x) {
6226
- c(x.response.data.error.msg);
6225
+ } catch (D) {
6226
+ c(D.response.data.error.msg);
6227
6227
  }
6228
- }, M = async () => {
6228
+ }, z = async () => {
6229
6229
  W(!0);
6230
- const w = await ps({ _id: t }, i);
6230
+ const x = await ps({ _id: t }, i);
6231
6231
  ["admin", "pm", "tester"].includes(a.role) ? I({
6232
- ...w,
6232
+ ...x,
6233
6233
  networks: vs
6234
- }) : I(w), W(!1);
6234
+ }) : I(x), W(!1);
6235
6235
  }, f = async () => await fs(r, i);
6236
6236
  return we(() => {
6237
- o || (h(null), q(null), I(null), m(null)), o && n === "Playable" ? (j().then((w) => {
6238
- K(null);
6239
- }), Ae(!1)) : o && n === "Flex" && M().then((w) => {
6240
- Ae(!1), f().then((X) => {
6241
- o && (K(X), Ae(!1), q(X));
6237
+ o || (h(null), q(null), I(null), m(null)), o && n === "Playable" ? (console.log("twice?"), j().then((x) => {
6238
+ K(null, x);
6239
+ }), Ae(!1)) : o && n === "Flex" && z().then((x) => {
6240
+ Ae(!1), f().then((B) => {
6241
+ o && (K(B, null), Ae(!1), q(B));
6242
6242
  });
6243
6243
  });
6244
6244
  }, [r, e, t, o]), /* @__PURE__ */ u.jsxs(
@@ -6295,7 +6295,7 @@ const gs = [
6295
6295
  fetchFileUrl: d,
6296
6296
  urls: { iosUrl: O, googleUrl: _ },
6297
6297
  game: p,
6298
- flexDownloadCount: M,
6298
+ flexDownloadCount: z,
6299
6299
  disabled: oe
6300
6300
  }
6301
6301
  )
@@ -6757,9 +6757,9 @@ al.default.subscribe(ul);
6757
6757
  });
6758
6758
  var r = Object.assign || function(E) {
6759
6759
  for (var K = 1; K < arguments.length; K++) {
6760
- var M = arguments[K];
6761
- for (var f in M)
6762
- Object.prototype.hasOwnProperty.call(M, f) && (E[f] = M[f]);
6760
+ var z = arguments[K];
6761
+ for (var f in z)
6762
+ Object.prototype.hasOwnProperty.call(z, f) && (E[f] = z[f]);
6763
6763
  }
6764
6764
  return E;
6765
6765
  }, n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(E) {
@@ -6767,14 +6767,14 @@ al.default.subscribe(ul);
6767
6767
  } : function(E) {
6768
6768
  return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
6769
6769
  }, o = function() {
6770
- function E(K, M) {
6771
- for (var f = 0; f < M.length; f++) {
6772
- var w = M[f];
6773
- w.enumerable = w.enumerable || !1, w.configurable = !0, "value" in w && (w.writable = !0), Object.defineProperty(K, w.key, w);
6770
+ function E(K, z) {
6771
+ for (var f = 0; f < z.length; f++) {
6772
+ var x = z[f];
6773
+ x.enumerable = x.enumerable || !1, x.configurable = !0, "value" in x && (x.writable = !0), Object.defineProperty(K, x.key, x);
6774
6774
  }
6775
6775
  }
6776
- return function(K, M, f) {
6777
- return M && E(K.prototype, M), f && E(K, f), K;
6776
+ return function(K, z, f) {
6777
+ return z && E(K.prototype, z), f && E(K, f), K;
6778
6778
  };
6779
6779
  }(), i = ae, a = ar, A = v(a), c = Te, d = O(c), s = Os, m = v(s), g = Ge, h = O(g), p = Ct, q = O(p), C = Ne, I = v(C), k = Zt, W = v(k);
6780
6780
  function O(E) {
@@ -6782,8 +6782,8 @@ al.default.subscribe(ul);
6782
6782
  return E;
6783
6783
  var K = {};
6784
6784
  if (E != null)
6785
- for (var M in E)
6786
- Object.prototype.hasOwnProperty.call(E, M) && (K[M] = E[M]);
6785
+ for (var z in E)
6786
+ Object.prototype.hasOwnProperty.call(E, z) && (K[z] = E[z]);
6787
6787
  return K.default = E, K;
6788
6788
  }
6789
6789
  function v(E) {
@@ -6812,16 +6812,16 @@ al.default.subscribe(ul);
6812
6812
  return K.code === "Escape" || K.keyCode === 27;
6813
6813
  }, j = 0, Y = function(E) {
6814
6814
  oe(K, E);
6815
- function K(M) {
6815
+ function K(z) {
6816
6816
  _(this, K);
6817
- var f = te(this, (K.__proto__ || Object.getPrototypeOf(K)).call(this, M));
6818
- return f.setOverlayRef = function(w) {
6819
- f.overlay = w, f.props.overlayRef && f.props.overlayRef(w);
6820
- }, f.setContentRef = function(w) {
6821
- f.content = w, f.props.contentRef && f.props.contentRef(w);
6817
+ var f = te(this, (K.__proto__ || Object.getPrototypeOf(K)).call(this, z));
6818
+ return f.setOverlayRef = function(x) {
6819
+ f.overlay = x, f.props.overlayRef && f.props.overlayRef(x);
6820
+ }, f.setContentRef = function(x) {
6821
+ f.content = x, f.props.contentRef && f.props.contentRef(x);
6822
6822
  }, f.afterClose = function() {
6823
- var w = f.props, X = w.appElement, b = w.ariaHideApp, x = w.htmlOpenClassName, z = w.bodyOpenClassName, J = w.parentSelector, D = J && J().ownerDocument || document;
6824
- z && q.remove(D.body, z), x && q.remove(D.getElementsByTagName("html")[0], x), b && j > 0 && (j -= 1, j === 0 && h.show(X)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (d.returnFocus(f.props.preventScroll), d.teardownScopedFocus()) : d.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), W.default.deregister(f);
6823
+ var x = f.props, B = x.appElement, b = x.ariaHideApp, w = x.htmlOpenClassName, D = x.bodyOpenClassName, M = x.parentSelector, J = M && M().ownerDocument || document;
6824
+ D && q.remove(J.body, D), w && q.remove(J.getElementsByTagName("html")[0], w), b && j > 0 && (j -= 1, j === 0 && h.show(B)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (d.returnFocus(f.props.preventScroll), d.teardownScopedFocus()) : d.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), W.default.deregister(f);
6825
6825
  }, f.open = function() {
6826
6826
  f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (d.setupScopedFocus(f.node), d.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
6827
6827
  f.openAnimationFrame = requestAnimationFrame(function() {
@@ -6836,8 +6836,8 @@ al.default.subscribe(ul);
6836
6836
  }, f.focusContent = function() {
6837
6837
  return f.content && !f.contentHasFocus() && f.content.focus({ preventScroll: !0 });
6838
6838
  }, f.closeWithTimeout = function() {
6839
- var w = Date.now() + f.props.closeTimeoutMS;
6840
- f.setState({ beforeClose: !0, closesAt: w }, function() {
6839
+ var x = Date.now() + f.props.closeTimeoutMS;
6840
+ f.setState({ beforeClose: !0, closesAt: x }, function() {
6841
6841
  f.closeTimer = setTimeout(f.closeWithoutTimeout, f.state.closesAt - Date.now());
6842
6842
  });
6843
6843
  }, f.closeWithoutTimeout = function() {
@@ -6847,36 +6847,36 @@ al.default.subscribe(ul);
6847
6847
  afterOpen: !1,
6848
6848
  closesAt: null
6849
6849
  }, f.afterClose);
6850
- }, f.handleKeyDown = function(w) {
6851
- pe(w) && (0, m.default)(f.content, w), f.props.shouldCloseOnEsc && V(w) && (w.stopPropagation(), f.requestClose(w));
6852
- }, f.handleOverlayOnClick = function(w) {
6853
- f.shouldClose === null && (f.shouldClose = !0), f.shouldClose && f.props.shouldCloseOnOverlayClick && (f.ownerHandlesClose() ? f.requestClose(w) : f.focusContent()), f.shouldClose = null;
6850
+ }, f.handleKeyDown = function(x) {
6851
+ pe(x) && (0, m.default)(f.content, x), f.props.shouldCloseOnEsc && V(x) && (x.stopPropagation(), f.requestClose(x));
6852
+ }, f.handleOverlayOnClick = function(x) {
6853
+ f.shouldClose === null && (f.shouldClose = !0), f.shouldClose && f.props.shouldCloseOnOverlayClick && (f.ownerHandlesClose() ? f.requestClose(x) : f.focusContent()), f.shouldClose = null;
6854
6854
  }, f.handleContentOnMouseUp = function() {
6855
6855
  f.shouldClose = !1;
6856
- }, f.handleOverlayOnMouseDown = function(w) {
6857
- !f.props.shouldCloseOnOverlayClick && w.target == f.overlay && w.preventDefault();
6856
+ }, f.handleOverlayOnMouseDown = function(x) {
6857
+ !f.props.shouldCloseOnOverlayClick && x.target == f.overlay && x.preventDefault();
6858
6858
  }, f.handleContentOnClick = function() {
6859
6859
  f.shouldClose = !1;
6860
6860
  }, f.handleContentOnMouseDown = function() {
6861
6861
  f.shouldClose = !1;
6862
- }, f.requestClose = function(w) {
6863
- return f.ownerHandlesClose() && f.props.onRequestClose(w);
6862
+ }, f.requestClose = function(x) {
6863
+ return f.ownerHandlesClose() && f.props.onRequestClose(x);
6864
6864
  }, f.ownerHandlesClose = function() {
6865
6865
  return f.props.onRequestClose;
6866
6866
  }, f.shouldBeClosed = function() {
6867
6867
  return !f.state.isOpen && !f.state.beforeClose;
6868
6868
  }, f.contentHasFocus = function() {
6869
6869
  return document.activeElement === f.content || f.content.contains(document.activeElement);
6870
- }, f.buildClassName = function(w, X) {
6871
- var b = (typeof X > "u" ? "undefined" : n(X)) === "object" ? X : {
6872
- base: Ae[w],
6873
- afterOpen: Ae[w] + "--after-open",
6874
- beforeClose: Ae[w] + "--before-close"
6875
- }, x = b.base;
6876
- return f.state.afterOpen && (x = x + " " + b.afterOpen), f.state.beforeClose && (x = x + " " + b.beforeClose), typeof X == "string" && X ? x + " " + X : x;
6877
- }, f.attributesFromObject = function(w, X) {
6878
- return Object.keys(X).reduce(function(b, x) {
6879
- return b[w + "-" + x] = X[x], b;
6870
+ }, f.buildClassName = function(x, B) {
6871
+ var b = (typeof B > "u" ? "undefined" : n(B)) === "object" ? B : {
6872
+ base: Ae[x],
6873
+ afterOpen: Ae[x] + "--after-open",
6874
+ beforeClose: Ae[x] + "--before-close"
6875
+ }, w = b.base;
6876
+ return f.state.afterOpen && (w = w + " " + b.afterOpen), f.state.beforeClose && (w = w + " " + b.beforeClose), typeof B == "string" && B ? w + " " + B : w;
6877
+ }, f.attributesFromObject = function(x, B) {
6878
+ return Object.keys(B).reduce(function(b, w) {
6879
+ return b[x + "-" + w] = B[w], b;
6880
6880
  }, {});
6881
6881
  }, f.state = {
6882
6882
  afterOpen: !1,
@@ -6890,8 +6890,8 @@ al.default.subscribe(ul);
6890
6890
  }
6891
6891
  }, {
6892
6892
  key: "componentDidUpdate",
6893
- value: function(f, w) {
6894
- process.env.NODE_ENV !== "production" && (f.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), f.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !f.isOpen ? this.open() : !this.props.isOpen && f.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !w.isOpen && this.focusContent();
6893
+ value: function(f, x) {
6894
+ process.env.NODE_ENV !== "production" && (f.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), f.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !f.isOpen ? this.open() : !this.props.isOpen && f.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !x.isOpen && this.focusContent();
6895
6895
  }
6896
6896
  }, {
6897
6897
  key: "componentWillUnmount",
@@ -6901,27 +6901,27 @@ al.default.subscribe(ul);
6901
6901
  }, {
6902
6902
  key: "beforeOpen",
6903
6903
  value: function() {
6904
- var f = this.props, w = f.appElement, X = f.ariaHideApp, b = f.htmlOpenClassName, x = f.bodyOpenClassName, z = f.parentSelector, J = z && z().ownerDocument || document;
6905
- x && q.add(J.body, x), b && q.add(J.getElementsByTagName("html")[0], b), X && (j += 1, h.hide(w)), W.default.register(this);
6904
+ var f = this.props, x = f.appElement, B = f.ariaHideApp, b = f.htmlOpenClassName, w = f.bodyOpenClassName, D = f.parentSelector, M = D && D().ownerDocument || document;
6905
+ w && q.add(M.body, w), b && q.add(M.getElementsByTagName("html")[0], b), B && (j += 1, h.hide(x)), W.default.register(this);
6906
6906
  }
6907
6907
  // Don't steal focus from inner elements
6908
6908
  }, {
6909
6909
  key: "render",
6910
6910
  value: function() {
6911
- var f = this.props, w = f.id, X = f.className, b = f.overlayClassName, x = f.defaultStyles, z = f.children, J = X ? {} : x.content, D = b ? {} : x.overlay;
6911
+ var f = this.props, x = f.id, B = f.className, b = f.overlayClassName, w = f.defaultStyles, D = f.children, M = B ? {} : w.content, J = b ? {} : w.overlay;
6912
6912
  if (this.shouldBeClosed())
6913
6913
  return null;
6914
6914
  var Q = {
6915
6915
  ref: this.setOverlayRef,
6916
6916
  className: this.buildClassName("overlay", b),
6917
- style: r({}, D, this.props.style.overlay),
6917
+ style: r({}, J, this.props.style.overlay),
6918
6918
  onClick: this.handleOverlayOnClick,
6919
6919
  onMouseDown: this.handleOverlayOnMouseDown
6920
- }, T = r({
6921
- id: w,
6920
+ }, G = r({
6921
+ id: x,
6922
6922
  ref: this.setContentRef,
6923
- style: r({}, J, this.props.style.content),
6924
- className: this.buildClassName("content", X),
6923
+ style: r({}, M, this.props.style.content),
6924
+ className: this.buildClassName("content", B),
6925
6925
  tabIndex: "-1",
6926
6926
  onKeyDown: this.handleKeyDown,
6927
6927
  onMouseDown: this.handleContentOnMouseDown,
@@ -6931,8 +6931,8 @@ al.default.subscribe(ul);
6931
6931
  "aria-label": this.props.contentLabel
6932
6932
  }, this.attributesFromObject("aria", r({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
6933
6933
  "data-testid": this.props.testId
6934
- }), G = this.props.contentElement(T, z);
6935
- return this.props.overlayElement(Q, G);
6934
+ }), N = this.props.contentElement(G, D);
6935
+ return this.props.overlayElement(Q, N);
6936
6936
  }
6937
6937
  }]), K;
6938
6938
  }(i.Component);