gearboxdownloadmodal 4.0.41 → 4.0.42

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
@@ -342,8 +342,8 @@ function So() {
342
342
  }
343
343
  return "";
344
344
  }
345
- var Lt = Object.prototype.hasOwnProperty, nn = {}, on = I.ReactDebugCurrentFrame;
346
- function Et(l) {
345
+ var Et = Object.prototype.hasOwnProperty, nn = {}, on = I.ReactDebugCurrentFrame;
346
+ function Yt(l) {
347
347
  if (l) {
348
348
  var w = l._owner, S = Ve(l.type, l._source, w ? w.type : null);
349
349
  on.setExtraStackFrame(S);
@@ -352,7 +352,7 @@ function So() {
352
352
  }
353
353
  function no(l, w, S, T, ee) {
354
354
  {
355
- var le = Function.call.bind(Lt);
355
+ var le = Function.call.bind(Et);
356
356
  for (var U in l)
357
357
  if (le(l, U)) {
358
358
  var B = void 0;
@@ -365,7 +365,7 @@ function So() {
365
365
  } catch (de) {
366
366
  B = de;
367
367
  }
368
- B && !(B instanceof Error) && (Et(ee), Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", S, U, typeof B), Et(null)), B instanceof Error && !(B.message in nn) && (nn[B.message] = !0, Et(ee), Y("Failed %s type: %s", S, B.message), Et(null));
368
+ B && !(B instanceof Error) && (Yt(ee), Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", S, U, typeof B), Yt(null)), B instanceof Error && !(B.message in nn) && (nn[B.message] = !0, Yt(ee), Y("Failed %s type: %s", S, B.message), Yt(null));
369
369
  }
370
370
  }
371
371
  }
@@ -401,7 +401,7 @@ function So() {
401
401
  }, sn, ln, ur;
402
402
  ur = {};
403
403
  function so(l) {
404
- if (Lt.call(l, "ref")) {
404
+ if (Et.call(l, "ref")) {
405
405
  var w = Object.getOwnPropertyDescriptor(l, "ref").get;
406
406
  if (w && w.isReactWarning)
407
407
  return !1;
@@ -409,7 +409,7 @@ function So() {
409
409
  return l.ref !== void 0;
410
410
  }
411
411
  function lo(l) {
412
- if (Lt.call(l, "key")) {
412
+ if (Et.call(l, "key")) {
413
413
  var w = Object.getOwnPropertyDescriptor(l, "key").get;
414
414
  if (w && w.isReactWarning)
415
415
  return !1;
@@ -478,7 +478,7 @@ function So() {
478
478
  var le, U = {}, B = null, ye = null;
479
479
  S !== void 0 && (An(S), B = "" + S), lo(w) && (An(w.key), B = "" + w.key), so(w) && (ye = w.ref, uo(w, ee));
480
480
  for (le in w)
481
- Lt.call(w, le) && !Ao.hasOwnProperty(le) && (U[le] = w[le]);
481
+ Et.call(w, le) && !Ao.hasOwnProperty(le) && (U[le] = w[le]);
482
482
  if (l && l.defaultProps) {
483
483
  var de = l.defaultProps;
484
484
  for (le in de)
@@ -736,7 +736,7 @@ var jo = ri, ni = {
736
736
  M: 0,
737
737
  Q: 3,
738
738
  H: 2
739
- }, Yt = ni;
739
+ }, kt = ni;
740
740
  function je(e, t) {
741
741
  this.totalCount = e, this.dataCount = t;
742
742
  }
@@ -957,13 +957,13 @@ je.getRSBlocks = function(e, t) {
957
957
  };
958
958
  je.getRsBlockTable = function(e, t) {
959
959
  switch (t) {
960
- case Yt.L:
960
+ case kt.L:
961
961
  return je.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
962
- case Yt.M:
962
+ case kt.M:
963
963
  return je.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
964
- case Yt.Q:
964
+ case kt.Q:
965
965
  return je.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
966
- case Yt.H:
966
+ case kt.H:
967
967
  return je.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
968
968
  default:
969
969
  return;
@@ -1013,7 +1013,7 @@ for (var qe = 8; qe < 256; qe++)
1013
1013
  for (var qe = 0; qe < 255; qe++)
1014
1014
  Le.LOG_TABLE[Le.EXP_TABLE[qe]] = qe;
1015
1015
  var oi = Le, Be = oi;
1016
- function Dt(e, t) {
1016
+ function Gt(e, t) {
1017
1017
  if (e.length == null)
1018
1018
  throw new Error(e.length + "/" + t);
1019
1019
  for (var r = 0; r < e.length && e[r] == 0; )
@@ -1022,7 +1022,7 @@ function Dt(e, t) {
1022
1022
  for (var n = 0; n < e.length - r; n++)
1023
1023
  this.num[n] = e[n + r];
1024
1024
  }
1025
- Dt.prototype = {
1025
+ Gt.prototype = {
1026
1026
  get: function(e) {
1027
1027
  return this.num[e];
1028
1028
  },
@@ -1033,7 +1033,7 @@ Dt.prototype = {
1033
1033
  for (var t = new Array(this.getLength() + e.getLength() - 1), r = 0; r < this.getLength(); r++)
1034
1034
  for (var n = 0; n < e.getLength(); n++)
1035
1035
  t[r + n] ^= Be.gexp(Be.glog(this.get(r)) + Be.glog(e.get(n)));
1036
- return new Dt(t, 0);
1036
+ return new Gt(t, 0);
1037
1037
  },
1038
1038
  mod: function(e) {
1039
1039
  if (this.getLength() - e.getLength() < 0)
@@ -1042,10 +1042,10 @@ Dt.prototype = {
1042
1042
  r[n] = this.get(n);
1043
1043
  for (var n = 0; n < e.getLength(); n++)
1044
1044
  r[n] ^= Be.gexp(Be.glog(e.get(n)) + t);
1045
- return new Dt(r, 0).mod(e);
1045
+ return new Gt(r, 0).mod(e);
1046
1046
  }
1047
1047
  };
1048
- var ai = Dt, We = ti, yn = ai, Do = oi, Te = {
1048
+ var ai = Gt, We = ti, yn = ai, Do = oi, Te = {
1049
1049
  PATTERN000: 0,
1050
1050
  PATTERN001: 1,
1051
1051
  PATTERN010: 2,
@@ -1375,7 +1375,7 @@ Je.createBytes = function(e, t) {
1375
1375
  u < a[A].length && (Z[I++] = a[A][u]);
1376
1376
  return Z;
1377
1377
  };
1378
- var Ho = Je, Mr = { exports: {} }, kt = { exports: {} }, ne = {};
1378
+ var Ho = Je, Mr = { exports: {} }, zt = { exports: {} }, ne = {};
1379
1379
  /** @license React v16.13.1
1380
1380
  * react-is.production.min.js
1381
1381
  *
@@ -1545,7 +1545,7 @@ function Qo() {
1545
1545
  }
1546
1546
  var Cn;
1547
1547
  function li() {
1548
- return Cn || (Cn = 1, process.env.NODE_ENV === "production" ? kt.exports = Xo() : kt.exports = Qo()), kt.exports;
1548
+ return Cn || (Cn = 1, process.env.NODE_ENV === "production" ? zt.exports = Xo() : zt.exports = Qo()), zt.exports;
1549
1549
  }
1550
1550
  /*
1551
1551
  object-assign
@@ -2048,7 +2048,7 @@ var $o = Object.assign || function(e) {
2048
2048
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
2049
2049
  }
2050
2050
  return e;
2051
- }, ea = $t, xe = mi(ea), ci = te, zt = mi(ci);
2051
+ }, ea = $t, xe = mi(ea), ci = te, jt = mi(ci);
2052
2052
  function mi(e) {
2053
2053
  return e && e.__esModule ? e : { default: e };
2054
2054
  }
@@ -2072,16 +2072,16 @@ var ra = {
2072
2072
  xmlns: "http://www.w3.org/2000/svg"
2073
2073
  }, er = (0, ci.forwardRef)(function(e, t) {
2074
2074
  var r = e.bgColor, n = e.bgD, i = e.fgD, o = e.fgColor, a = e.size, A = e.title, c = e.viewBoxSize, s = ta(e, ["bgColor", "bgD", "fgD", "fgColor", "size", "title", "viewBoxSize"]);
2075
- return zt.default.createElement(
2075
+ return jt.default.createElement(
2076
2076
  "svg",
2077
2077
  $o({}, s, { height: a, ref: t, viewBox: "0 0 " + c + " " + c, width: a }),
2078
- A ? zt.default.createElement(
2078
+ A ? jt.default.createElement(
2079
2079
  "title",
2080
2080
  null,
2081
2081
  A
2082
2082
  ) : null,
2083
- zt.default.createElement("path", { d: n, fill: r }),
2084
- zt.default.createElement("path", { d: i, fill: o })
2083
+ jt.default.createElement("path", { d: n, fill: r }),
2084
+ jt.default.createElement("path", { d: i, fill: o })
2085
2085
  );
2086
2086
  });
2087
2087
  er.displayName = "QRCodeSvg";
@@ -2099,8 +2099,8 @@ var ia = Object.assign || function(e) {
2099
2099
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
2100
2100
  }
2101
2101
  return e;
2102
- }, oa = Ho, aa = Wt(oa), Aa = ni, sa = Wt(Aa), la = $t, Ge = Wt(la), di = te, ua = Wt(di), ca = Hr, ma = Wt(ca);
2103
- function Wt(e) {
2102
+ }, oa = Ho, aa = xt(oa), Aa = ni, sa = xt(Aa), la = $t, Ge = xt(la), di = te, ua = xt(di), ca = Hr, ma = xt(ca);
2103
+ function xt(e) {
2104
2104
  return e && e.__esModule ? e : { default: e };
2105
2105
  }
2106
2106
  function da(e, t) {
@@ -2120,7 +2120,7 @@ var pa = {
2120
2120
  fgColor: "#000000",
2121
2121
  level: "L",
2122
2122
  size: 256
2123
- }, xt = (0, di.forwardRef)(function(e, t) {
2123
+ }, Ot = (0, di.forwardRef)(function(e, t) {
2124
2124
  var r = e.bgColor, n = e.fgColor, i = e.level, o = e.size, a = e.value, A = da(e, ["bgColor", "fgColor", "level", "size", "value"]), c = new aa.default(-1, sa.default[i]);
2125
2125
  c.addData(a), c.make();
2126
2126
  var s = c.modules;
@@ -2142,11 +2142,11 @@ var pa = {
2142
2142
  viewBoxSize: s.length
2143
2143
  }));
2144
2144
  });
2145
- _t.QRCode = xt;
2146
- xt.displayName = "QRCode";
2147
- xt.propTypes = pa;
2148
- xt.defaultProps = fa;
2149
- var ha = _t.default = xt;
2145
+ _t.QRCode = Ot;
2146
+ Ot.displayName = "QRCode";
2147
+ Ot.propTypes = pa;
2148
+ Ot.defaultProps = fa;
2149
+ var ha = _t.default = Ot;
2150
2150
  const pi = ({
2151
2151
  title: e,
2152
2152
  titleId: t,
@@ -2203,7 +2203,7 @@ function ya(e) {
2203
2203
  let t;
2204
2204
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && hi(e.buffer), t;
2205
2205
  }
2206
- const va = rr("string"), Me = rr("function"), qi = rr("number"), nr = (e) => e !== null && typeof e == "object", ba = (e) => e === !0 || e === !1, Gt = (e) => {
2206
+ const va = rr("string"), Me = rr("function"), qi = rr("number"), nr = (e) => e !== null && typeof e == "object", ba = (e) => e === !0 || e === !1, Rt = (e) => {
2207
2207
  if (tr(e) !== "object")
2208
2208
  return !1;
2209
2209
  const t = Xr(e);
@@ -2213,7 +2213,7 @@ const va = rr("string"), Me = rr("function"), qi = rr("number"), nr = (e) => e !
2213
2213
  return e && (typeof FormData == "function" && e instanceof FormData || Me(e.append) && ((t = tr(e)) === "formdata" || // detect form-data instance
2214
2214
  t === "object" && Me(e.toString) && e.toString() === "[object FormData]"));
2215
2215
  }, xa = Ne("URLSearchParams"), Oa = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
2216
- function Ot(e, t, { allOwnKeys: r = !1 } = {}) {
2216
+ function Mt(e, t, { allOwnKeys: r = !1 } = {}) {
2217
2217
  if (e === null || typeof e > "u")
2218
2218
  return;
2219
2219
  let n, i;
@@ -2240,13 +2240,13 @@ const yi = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? sel
2240
2240
  function Sr() {
2241
2241
  const { caseless: e } = vi(this) && this || {}, t = {}, r = (n, i) => {
2242
2242
  const o = e && gi(t, i) || i;
2243
- Gt(t[o]) && Gt(n) ? t[o] = Sr(t[o], n) : Gt(n) ? t[o] = Sr({}, n) : mt(n) ? t[o] = n.slice() : t[o] = n;
2243
+ Rt(t[o]) && Rt(n) ? t[o] = Sr(t[o], n) : Rt(n) ? t[o] = Sr({}, n) : mt(n) ? t[o] = n.slice() : t[o] = n;
2244
2244
  };
2245
2245
  for (let n = 0, i = arguments.length; n < i; n++)
2246
- arguments[n] && Ot(arguments[n], r);
2246
+ arguments[n] && Mt(arguments[n], r);
2247
2247
  return t;
2248
2248
  }
2249
- const Ma = (e, t, r, { allOwnKeys: n } = {}) => (Ot(t, (i, o) => {
2249
+ const Ma = (e, t, r, { allOwnKeys: n } = {}) => (Mt(t, (i, o) => {
2250
2250
  r && Me(i) ? e[o] = fi(i, r) : e[o] = i;
2251
2251
  }, { allOwnKeys: n }), e), Sa = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), La = (e, t, r, n) => {
2252
2252
  e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
@@ -2299,7 +2299,7 @@ const Ma = (e, t, r, { allOwnKeys: n } = {}) => (Ot(t, (i, o) => {
2299
2299
  }
2300
2300
  ), On = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Ga = Ne("RegExp"), bi = (e, t) => {
2301
2301
  const r = Object.getOwnPropertyDescriptors(e), n = {};
2302
- Ot(r, (i, o) => {
2302
+ Mt(r, (i, o) => {
2303
2303
  let a;
2304
2304
  (a = t(i, o, e)) !== !1 && (n[o] = a || i);
2305
2305
  }), Object.defineProperties(e, n);
@@ -2348,7 +2348,7 @@ const Va = (e) => {
2348
2348
  if (!("toJSON" in n)) {
2349
2349
  t[i] = n;
2350
2350
  const o = mt(n) ? [] : {};
2351
- return Ot(n, (a, A) => {
2351
+ return Mt(n, (a, A) => {
2352
2352
  const c = r(a, i + 1);
2353
2353
  !Zt(c) && (o[A] = c);
2354
2354
  }), t[i] = void 0, o;
@@ -2367,7 +2367,7 @@ const Va = (e) => {
2367
2367
  isNumber: qi,
2368
2368
  isBoolean: ba,
2369
2369
  isObject: nr,
2370
- isPlainObject: Gt,
2370
+ isPlainObject: Rt,
2371
2371
  isUndefined: Zt,
2372
2372
  isDate: Ca,
2373
2373
  isFile: Za,
@@ -2378,7 +2378,7 @@ const Va = (e) => {
2378
2378
  isURLSearchParams: xa,
2379
2379
  isTypedArray: za,
2380
2380
  isFileList: wa,
2381
- forEach: Ot,
2381
+ forEach: Mt,
2382
2382
  merge: Sr,
2383
2383
  extend: Ma,
2384
2384
  trim: Oa,
@@ -2796,8 +2796,8 @@ const Vr = Pr, cA = b.toObjectSet([
2796
2796
  function yt(e) {
2797
2797
  return e && String(e).trim().toLowerCase();
2798
2798
  }
2799
- function Rt(e) {
2800
- return e === !1 || e == null ? e : b.isArray(e) ? e.map(Rt) : String(e);
2799
+ function Tt(e) {
2800
+ return e === !1 || e == null ? e : b.isArray(e) ? e.map(Tt) : String(e);
2801
2801
  }
2802
2802
  function dA(e) {
2803
2803
  const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -2842,7 +2842,7 @@ class or {
2842
2842
  if (!u)
2843
2843
  throw new Error("header name must be a non-empty string");
2844
2844
  const d = b.findKey(i, u);
2845
- (!d || i[d] === void 0 || s === !0 || s === void 0 && i[d] !== !1) && (i[d || c] = Rt(A));
2845
+ (!d || i[d] === void 0 || s === !0 || s === void 0 && i[d] !== !1) && (i[d || c] = Tt(A));
2846
2846
  }
2847
2847
  const a = (A, c) => b.forEach(A, (s, u) => o(s, u, c));
2848
2848
  return b.isPlainObject(t) || t instanceof this.constructor ? a(t, r) : b.isString(t) && (t = t.trim()) && !pA(t) ? a(mA(t), r) : t != null && o(r, t, n), this;
@@ -2896,11 +2896,11 @@ class or {
2896
2896
  return b.forEach(this, (i, o) => {
2897
2897
  const a = b.findKey(n, o);
2898
2898
  if (a) {
2899
- r[a] = Rt(i), delete r[o];
2899
+ r[a] = Tt(i), delete r[o];
2900
2900
  return;
2901
2901
  }
2902
2902
  const A = t ? fA(o) : String(o).trim();
2903
- A !== o && delete r[o], r[A] = Rt(i), n[A] = !0;
2903
+ A !== o && delete r[o], r[A] = Tt(i), n[A] = !0;
2904
2904
  }), this;
2905
2905
  }
2906
2906
  concat(...t) {
@@ -2962,10 +2962,10 @@ function Cr(e, t) {
2962
2962
  function Mi(e) {
2963
2963
  return !!(e && e.__CANCEL__);
2964
2964
  }
2965
- function Mt(e, t, r) {
2965
+ function St(e, t, r) {
2966
2966
  _.call(this, e ?? "canceled", _.ERR_CANCELED, t, r), this.name = "CanceledError";
2967
2967
  }
2968
- b.inherits(Mt, _, {
2968
+ b.inherits(St, _, {
2969
2969
  __CANCEL__: !0
2970
2970
  });
2971
2971
  function qA(e, t, r) {
@@ -3145,7 +3145,7 @@ const IA = typeof XMLHttpRequest < "u", wA = IA && function(e) {
3145
3145
  i === void 0 && o.setContentType(null), "setRequestHeader" in s && b.forEach(o.toJSON(), function(p, y) {
3146
3146
  s.setRequestHeader(y, p);
3147
3147
  }), b.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", kn(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", kn(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (q) => {
3148
- s && (n(!q || q.type ? new Mt(null, e, s) : q), s.abort(), s = null);
3148
+ s && (n(!q || q.type ? new St(null, e, s) : q), s.abort(), s = null);
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) {
@@ -3154,11 +3154,11 @@ const IA = typeof XMLHttpRequest < "u", wA = IA && function(e) {
3154
3154
  }
3155
3155
  s.send(i || null);
3156
3156
  });
3157
- }, Tt = {
3157
+ }, Ht = {
3158
3158
  http: Fa,
3159
3159
  xhr: wA
3160
3160
  };
3161
- b.forEach(Tt, (e, t) => {
3161
+ b.forEach(Ht, (e, t) => {
3162
3162
  if (e) {
3163
3163
  try {
3164
3164
  Object.defineProperty(e, "name", { value: t });
@@ -3172,24 +3172,24 @@ const Li = {
3172
3172
  e = b.isArray(e) ? e : [e];
3173
3173
  const { length: t } = e;
3174
3174
  let r, n;
3175
- for (let i = 0; i < t && (r = e[i], !(n = b.isString(r) ? Tt[r.toLowerCase()] : r)); i++)
3175
+ for (let i = 0; i < t && (r = e[i], !(n = b.isString(r) ? Ht[r.toLowerCase()] : r)); i++)
3176
3176
  ;
3177
3177
  if (!n)
3178
3178
  throw n === !1 ? new _(
3179
3179
  `Adapter ${r} is not supported by the environment`,
3180
3180
  "ERR_NOT_SUPPORT"
3181
3181
  ) : new Error(
3182
- b.hasOwnProp(Tt, r) ? `Adapter '${r}' is not available in the build` : `Unknown adapter '${r}'`
3182
+ b.hasOwnProp(Ht, r) ? `Adapter '${r}' is not available in the build` : `Unknown adapter '${r}'`
3183
3183
  );
3184
3184
  if (!b.isFunction(n))
3185
3185
  throw new TypeError("adapter is not a function");
3186
3186
  return n;
3187
3187
  },
3188
- adapters: Tt
3188
+ adapters: Ht
3189
3189
  };
3190
3190
  function Zr(e) {
3191
3191
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
3192
- throw new Mt(null, e);
3192
+ throw new St(null, e);
3193
3193
  }
3194
3194
  function zn(e) {
3195
3195
  return Zr(e), e.headers = Re.from(e.headers), e.data = Cr.call(
@@ -3321,7 +3321,7 @@ const Er = {
3321
3321
  assertOptions: KA,
3322
3322
  validators: Br
3323
3323
  }, He = Er.validators;
3324
- class Qt {
3324
+ class Pt {
3325
3325
  constructor(t) {
3326
3326
  this.defaults = t, this.interceptors = {
3327
3327
  request: new En(),
@@ -3402,7 +3402,7 @@ class Qt {
3402
3402
  }
3403
3403
  }
3404
3404
  b.forEach(["delete", "get", "head", "options"], function(t) {
3405
- Qt.prototype[t] = function(r, n) {
3405
+ Pt.prototype[t] = function(r, n) {
3406
3406
  return this.request(ct(n || {}, {
3407
3407
  method: t,
3408
3408
  url: r,
@@ -3423,9 +3423,9 @@ b.forEach(["post", "put", "patch"], function(t) {
3423
3423
  }));
3424
3424
  };
3425
3425
  }
3426
- Qt.prototype[t] = r(), Qt.prototype[t + "Form"] = r(!0);
3426
+ Pt.prototype[t] = r(), Pt.prototype[t + "Form"] = r(!0);
3427
3427
  });
3428
- const Ht = Qt;
3428
+ const Xt = Pt;
3429
3429
  class Ur {
3430
3430
  constructor(t) {
3431
3431
  if (typeof t != "function")
@@ -3451,7 +3451,7 @@ class Ur {
3451
3451
  n.unsubscribe(o);
3452
3452
  }, a;
3453
3453
  }, t(function(o, a, A) {
3454
- n.reason || (n.reason = new Mt(o, a, A), r(n.reason));
3454
+ n.reason || (n.reason = new St(o, a, A), r(n.reason));
3455
3455
  });
3456
3456
  }
3457
3457
  /**
@@ -3573,14 +3573,14 @@ Object.entries(Yr).forEach(([e, t]) => {
3573
3573
  });
3574
3574
  const MA = Yr;
3575
3575
  function Yi(e) {
3576
- const t = new Ht(e), r = fi(Ht.prototype.request, t);
3577
- return b.extend(r, Ht.prototype, t, { allOwnKeys: !0 }), b.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(i) {
3576
+ const t = new Xt(e), r = fi(Xt.prototype.request, t);
3577
+ return b.extend(r, Xt.prototype, t, { allOwnKeys: !0 }), b.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(i) {
3578
3578
  return Yi(ct(e, i));
3579
3579
  }, r;
3580
3580
  }
3581
3581
  const fe = Yi(Vr);
3582
- fe.Axios = Ht;
3583
- fe.CanceledError = Mt;
3582
+ fe.Axios = Xt;
3583
+ fe.CanceledError = St;
3584
3584
  fe.CancelToken = WA;
3585
3585
  fe.isCancel = Mi;
3586
3586
  fe.VERSION = Ei;
@@ -3703,7 +3703,7 @@ function Xe() {
3703
3703
  (e = arguments[r++]) && (t = Gi(e)) && (n && (n += " "), n += t);
3704
3704
  return n;
3705
3705
  }
3706
- const bt = (e) => typeof e == "number" && !isNaN(e), nt = (e) => typeof e == "string", ve = (e) => typeof e == "function", Xt = (e) => nt(e) || ve(e) ? e : null, Ir = (e) => ut(e) || nt(e) || ve(e) || bt(e);
3706
+ const bt = (e) => typeof e == "number" && !isNaN(e), nt = (e) => typeof e == "string", ve = (e) => typeof e == "function", Qt = (e) => nt(e) || ve(e) ? e : null, Ir = (e) => ut(e) || nt(e) || ve(e) || bt(e);
3707
3707
  function kA(e, t, r) {
3708
3708
  r === void 0 && (r = 300);
3709
3709
  const { scrollHeight: n, style: i } = e;
@@ -3752,17 +3752,17 @@ const Oe = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
3752
3752
  }, 0);
3753
3753
  this.emitQueue.has(e) || this.emitQueue.set(e, []), this.emitQueue.get(e).push(r);
3754
3754
  });
3755
- } }, jt = (e) => {
3755
+ } }, Jt = (e) => {
3756
3756
  let { theme: t, type: r, ...n } = e;
3757
3757
  return te.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${r})`, ...n });
3758
3758
  }, wr = { info: function(e) {
3759
- return te.createElement(jt, { ...e }, te.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
3759
+ return te.createElement(Jt, { ...e }, te.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
3760
3760
  }, warning: function(e) {
3761
- return te.createElement(jt, { ...e }, te.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
3761
+ return te.createElement(Jt, { ...e }, te.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
3762
3762
  }, success: function(e) {
3763
- return te.createElement(jt, { ...e }, te.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
3763
+ return te.createElement(Jt, { ...e }, te.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
3764
3764
  }, error: function(e) {
3765
- return te.createElement(jt, { ...e }, te.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
3765
+ return te.createElement(Jt, { ...e }, te.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
3766
3766
  }, spinner: function() {
3767
3767
  return te.createElement("div", { className: "Toastify__spinner" });
3768
3768
  } };
@@ -3791,7 +3791,7 @@ function zA(e) {
3791
3791
  const F = { ...v, style: v.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(I).filter(($) => {
3792
3792
  let [Q, x] = $;
3793
3793
  return x != null;
3794
- })), toastId: Y, updateId: J, data: E, closeToast: oe, isIn: !1, className: Xt(I.className || v.toastClassName), bodyClassName: Xt(I.bodyClassName || v.bodyClassName), progressClassName: Xt(I.progressClassName || v.progressClassName), autoClose: !I.isLoading && (re = I.autoClose, me = v.autoClose, re === !1 || bt(re) && re > 0 ? re : me), deleteToast() {
3794
+ })), toastId: Y, updateId: J, data: E, closeToast: oe, isIn: !1, className: Qt(I.className || v.toastClassName), bodyClassName: Qt(I.bodyClassName || v.bodyClassName), progressClassName: Qt(I.progressClassName || v.progressClassName), autoClose: !I.isLoading && (re = I.autoClose, me = v.autoClose, re === !1 || bt(re) && re > 0 ? re : me), deleteToast() {
3795
3795
  const $ = Dn(o.get(Y), "removed");
3796
3796
  o.delete(Y), Oe.emit(4, $);
3797
3797
  const Q = A.queue.length;
@@ -3919,7 +3919,7 @@ const zr = Io((e, t) => {
3919
3919
  const { getToastToRender: r, containerRef: n, isToastActive: i } = zA(e), { className: o, style: a, rtl: A, containerId: c } = e;
3920
3920
  function s(u) {
3921
3921
  const d = Xe("Toastify__toast-container", `Toastify__toast-container--${u}`, { "Toastify__toast-container--rtl": A });
3922
- return ve(o) ? o({ position: u, rtl: A, defaultClassName: d }) : Xe(d, Xt(o));
3922
+ return ve(o) ? o({ position: u, rtl: A, defaultClassName: d }) : Xe(d, Qt(o));
3923
3923
  }
3924
3924
  return be(() => {
3925
3925
  t && (t.current = n.current);
@@ -3942,16 +3942,16 @@ function RA(e) {
3942
3942
  function Ct(e, t) {
3943
3943
  return Ue.size > 0 ? Oe.emit(0, e, t) : vt.push({ content: e, options: t }), t.toastId;
3944
3944
  }
3945
- function Pt(e, t) {
3945
+ function Vt(e, t) {
3946
3946
  return { ...t, type: t && t.type || e, toastId: RA(t) };
3947
3947
  }
3948
- function Jt(e) {
3949
- return (t, r) => Ct(t, Pt(e, r));
3948
+ function Nt(e) {
3949
+ return (t, r) => Ct(t, Vt(e, r));
3950
3950
  }
3951
3951
  function ce(e, t) {
3952
- return Ct(e, Pt("default", t));
3952
+ return Ct(e, Vt("default", t));
3953
3953
  }
3954
- ce.loading = (e, t) => Ct(e, Pt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), ce.promise = function(e, t, r) {
3954
+ ce.loading = (e, t) => Ct(e, Vt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), ce.promise = function(e, t, r) {
3955
3955
  let n, { pending: i, error: o, success: a } = t;
3956
3956
  i && (n = nt(i) ? ce.loading(i, r) : ce.loading(i.render, { ...r, ...i }));
3957
3957
  const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, c = (u, d, h) => {
@@ -3961,7 +3961,7 @@ ce.loading = (e, t) => Ct(e, Pt("default", { isLoading: !0, autoClose: !1, close
3961
3961
  return n ? ce.update(n, { ...q, ...p }) : ce(p.render, { ...q, ...p }), h;
3962
3962
  }, s = ve(e) ? e() : e;
3963
3963
  return s.then((u) => c("success", a, u)).catch((u) => c("error", o, u)), s;
3964
- }, ce.success = Jt("success"), ce.info = Jt("info"), ce.error = Jt("error"), ce.warning = Jt("warning"), ce.warn = ce.warning, ce.dark = (e, t) => Ct(e, Pt("default", { theme: "dark", ...t })), ce.dismiss = (e) => {
3964
+ }, ce.success = Nt("success"), ce.info = Nt("info"), ce.error = Nt("error"), ce.warning = Nt("warning"), ce.warn = ce.warning, ce.dark = (e, t) => Ct(e, Vt("default", { theme: "dark", ...t })), ce.dismiss = (e) => {
3965
3965
  Ue.size > 0 ? Oe.emit(1, e) : vt = vt.filter((t) => e != null && t.options.toastId !== e);
3966
3966
  }, ce.clearWaitingQueue = function(e) {
3967
3967
  return e === void 0 && (e = {}), Oe.emit(5, e);
@@ -4019,6 +4019,9 @@ function $e(e) {
4019
4019
  theme: "light"
4020
4020
  });
4021
4021
  }
4022
+ async function wt(e, t) {
4023
+ return e.network == "fb" && (e.zip = 1), (await Ie.post(t + "/createFlexVersionLink", e || {})).data;
4024
+ }
4022
4025
  const TA = ({
4023
4026
  versionId: e,
4024
4027
  typeOfProduct: t,
@@ -4028,7 +4031,10 @@ const TA = ({
4028
4031
  }) => {
4029
4032
  const o = async () => {
4030
4033
  if (t === "Flex")
4031
- navigator.clipboard.writeText(
4034
+ await wt(
4035
+ { _id: e, network: "default" },
4036
+ r
4037
+ ), navigator.clipboard.writeText(
4032
4038
  `${i}/preview?versionId=${e}`
4033
4039
  ), $e("Link copied");
4034
4040
  else {
@@ -4751,11 +4757,7 @@ const Xi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
4751
4757
  )
4752
4758
  ]
4753
4759
  }
4754
- );
4755
- async function Vt(e, t) {
4756
- return e.network == "fb" && (e.zip = 1), (await Ie.post(t + "/createFlexVersionLink", e || {})).data;
4757
- }
4758
- const es = ({
4760
+ ), es = ({
4759
4761
  onClose: e,
4760
4762
  iosLink: t,
4761
4763
  googleLink: r,
@@ -5074,7 +5076,7 @@ const Pn = [
5074
5076
  try {
5075
5077
  if (v(!0), c === "Flex") {
5076
5078
  y.iosUrl = p.iosUrl, y.googleUrl = p.googleUrl, await Xn(y, u);
5077
- const N = await Vt(
5079
+ const N = await wt(
5078
5080
  {
5079
5081
  _id: g,
5080
5082
  network: C
@@ -5194,7 +5196,7 @@ const Pn = [
5194
5196
  return navigator.clipboard.writeText(`${h}/${C == null ? void 0 : C.url}`), $e("Link Coppied"), C == null ? void 0 : C.url;
5195
5197
  }
5196
5198
  y.iosUrl = p.iosUrl, y.googleUrl = p.googleUrl, await Xn(y, u);
5197
- const g = await Vt(
5199
+ const g = await wt(
5198
5200
  { _id: s, network: i },
5199
5201
  u
5200
5202
  );
@@ -6319,7 +6321,7 @@ const hs = [
6319
6321
  if (M)
6320
6322
  se(M.iosUrl), re(M.googleUrl);
6321
6323
  else {
6322
- z = await Vt(
6324
+ z = await wt(
6323
6325
  {
6324
6326
  _id: t
6325
6327
  },
@@ -6492,8 +6494,8 @@ Object.defineProperty(ke, "__esModule", {
6492
6494
  });
6493
6495
  ke.resetState = Cs;
6494
6496
  ke.log = Zs;
6495
- ke.handleBlur = wt;
6496
- ke.handleFocus = Kt;
6497
+ ke.handleBlur = Kt;
6498
+ ke.handleFocus = Wt;
6497
6499
  ke.markForFocusLater = Is;
6498
6500
  ke.returnFocus = ws;
6499
6501
  ke.popWithoutFocus = Ks;
@@ -6513,10 +6515,10 @@ function Zs() {
6513
6515
  console.log(t.nodeName, t.className, t.id);
6514
6516
  }), console.log("end focusManager ----------"));
6515
6517
  }
6516
- function wt() {
6518
+ function Kt() {
6517
6519
  Dr = !0;
6518
6520
  }
6519
- function Kt() {
6521
+ function Wt() {
6520
6522
  if (Dr) {
6521
6523
  if (Dr = !1, !lt)
6522
6524
  return;
@@ -6544,10 +6546,10 @@ function Ks() {
6544
6546
  ot.length > 0 && ot.pop();
6545
6547
  }
6546
6548
  function Ws(e) {
6547
- lt = e, window.addEventListener ? (window.addEventListener("blur", wt, !1), document.addEventListener("focus", Kt, !0)) : (window.attachEvent("onBlur", wt), document.attachEvent("onFocus", Kt));
6549
+ lt = e, window.addEventListener ? (window.addEventListener("blur", Kt, !1), document.addEventListener("focus", Wt, !0)) : (window.attachEvent("onBlur", Kt), document.attachEvent("onFocus", Wt));
6548
6550
  }
6549
6551
  function xs() {
6550
- lt = null, window.addEventListener ? (window.removeEventListener("blur", wt), document.removeEventListener("focus", Kt)) : (window.detachEvent("onBlur", wt), document.detachEvent("onFocus", Kt));
6552
+ lt = null, window.addEventListener ? (window.removeEventListener("blur", Kt), document.removeEventListener("focus", Wt)) : (window.detachEvent("onBlur", Kt), document.detachEvent("onFocus", Wt));
6551
6553
  }
6552
6554
  var Gr = { exports: {} };
6553
6555
  (function(e, t) {
@@ -7192,7 +7194,7 @@ var Un = Object.assign || function(e) {
7192
7194
  return function(t, r, n) {
7193
7195
  return r && e(t.prototype, r), n && e(t, n), t;
7194
7196
  };
7195
- }(), ro = te, Ut = St(ro), pl = Wo, Ft = St(pl), fl = $t, H = St(fl), hl = ll, Fn = St(hl), ql = ze, gl = vl(ql), Qe = Ye, _n = St(Qe), yl = ml;
7197
+ }(), ro = te, Ut = Lt(ro), pl = Wo, Ft = Lt(pl), fl = $t, H = Lt(fl), hl = ll, Fn = Lt(hl), ql = ze, gl = vl(ql), Qe = Ye, _n = Lt(Qe), yl = ml;
7196
7198
  function vl(e) {
7197
7199
  if (e && e.__esModule)
7198
7200
  return e;
@@ -7202,7 +7204,7 @@ function vl(e) {
7202
7204
  Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
7203
7205
  return t.default = e, t;
7204
7206
  }
7205
- function St(e) {
7207
+ function Lt(e) {
7206
7208
  return e && e.__esModule ? e : { default: e };
7207
7209
  }
7208
7210
  function bl(e, t) {
@@ -7224,7 +7226,7 @@ var Zl = it.portalClassName = "ReactModalPortal", Il = it.bodyOpenClassName = "R
7224
7226
  }, ei = function() {
7225
7227
  return Fe ? Ft.default.createPortal : Ft.default.unstable_renderSubtreeIntoContainer;
7226
7228
  };
7227
- function Nt(e) {
7229
+ function Dt(e) {
7228
7230
  return e();
7229
7231
  }
7230
7232
  var ft = function(e) {
@@ -7236,7 +7238,7 @@ var ft = function(e) {
7236
7238
  A[c] = arguments[c];
7237
7239
  return o = (n = (i = $n(this, (r = t.__proto__ || Object.getPrototypeOf(t)).call.apply(r, [this].concat(A))), i), i.removePortal = function() {
7238
7240
  !Fe && Ft.default.unmountComponentAtNode(i.node);
7239
- var s = Nt(i.props.parentSelector);
7241
+ var s = Dt(i.props.parentSelector);
7240
7242
  s && s.contains(i.node) ? s.removeChild(i.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
7241
7243
  }, i.portalRef = function(s) {
7242
7244
  i.portal = s;
@@ -7250,14 +7252,14 @@ var ft = function(e) {
7250
7252
  value: function() {
7251
7253
  if (Qe.canUseDOM) {
7252
7254
  Fe || (this.node = Rr("div")), this.node.className = this.props.portalClassName;
7253
- var n = Nt(this.props.parentSelector);
7255
+ var n = Dt(this.props.parentSelector);
7254
7256
  n.appendChild(this.node), !Fe && this.renderPortal(this.props);
7255
7257
  }
7256
7258
  }
7257
7259
  }, {
7258
7260
  key: "getSnapshotBeforeUpdate",
7259
7261
  value: function(n) {
7260
- var i = Nt(n.parentSelector), o = Nt(this.props.parentSelector);
7262
+ var i = Dt(n.parentSelector), o = Dt(this.props.parentSelector);
7261
7263
  return { prevParent: i, nextParent: o };
7262
7264
  }
7263
7265
  }, {
@@ -7426,7 +7428,7 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
7426
7428
  copyLinkUrl: q
7427
7429
  }) => {
7428
7430
  const [p, y] = V(window.innerWidth), [Z, I] = V(!1), [Y, J] = V(u), E = async () => {
7429
- a === "Flex" ? await Vt(
7431
+ a === "Flex" ? await wt(
7430
7432
  { _id: r, network: "default" },
7431
7433
  A
7432
7434
  ).then((v) => {