gearboxdownloadmodal 3.0.2 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -370,7 +370,7 @@ function Ka() {
370
370
  }
371
371
  }
372
372
  var $A = Array.isArray;
373
- function ur(s) {
373
+ function lr(s) {
374
374
  return $A(s);
375
375
  }
376
376
  function ea(s) {
@@ -398,8 +398,8 @@ function Ka() {
398
398
  ref: !0,
399
399
  __self: !0,
400
400
  __source: !0
401
- }, sn, un, lr;
402
- lr = {};
401
+ }, sn, un, cr;
402
+ cr = {};
403
403
  function na(s) {
404
404
  if (Lt.call(s, "ref")) {
405
405
  var Z = Object.getOwnPropertyDescriptor(s, "ref").get;
@@ -419,7 +419,7 @@ function Ka() {
419
419
  function aa(s, Z) {
420
420
  if (typeof s.ref == "string" && qt.current && Z && qt.current.stateNode !== Z) {
421
421
  var O = R(qt.current.type);
422
- lr[O] || (Y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', R(qt.current.type), s.ref), lr[O] = !0);
422
+ cr[O] || (Y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', R(qt.current.type), s.ref), cr[O] = !0);
423
423
  }
424
424
  }
425
425
  function oa(s, Z) {
@@ -491,7 +491,7 @@ function Ka() {
491
491
  return sa(s, U, ge, re, N, qt.current, F);
492
492
  }
493
493
  }
494
- var cr = K.ReactCurrentOwner, ln = K.ReactDebugCurrentFrame;
494
+ var mr = K.ReactCurrentOwner, ln = K.ReactDebugCurrentFrame;
495
495
  function ot(s) {
496
496
  if (s) {
497
497
  var Z = s._owner, O = Ve(s.type, s._source, Z ? Z.type : null);
@@ -499,15 +499,15 @@ function Ka() {
499
499
  } else
500
500
  ln.setExtraStackFrame(null);
501
501
  }
502
- var mr;
503
- mr = !1;
504
- function dr(s) {
502
+ var dr;
503
+ dr = !1;
504
+ function pr(s) {
505
505
  return typeof s == "object" && s !== null && s.$$typeof === t;
506
506
  }
507
507
  function cn() {
508
508
  {
509
- if (cr.current) {
510
- var s = R(cr.current.type);
509
+ if (mr.current) {
510
+ var s = R(mr.current.type);
511
511
  if (s)
512
512
  return `
513
513
 
@@ -550,25 +550,25 @@ Check the top-level render call using <` + O + ">.");
550
550
  return;
551
551
  mn[O] = !0;
552
552
  var N = "";
553
- s && s._owner && s._owner !== cr.current && (N = " It was passed a child from " + R(s._owner.type) + "."), ot(s), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, N), ot(null);
553
+ s && s._owner && s._owner !== mr.current && (N = " It was passed a child from " + R(s._owner.type) + "."), ot(s), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, N), ot(null);
554
554
  }
555
555
  }
556
556
  function pn(s, Z) {
557
557
  {
558
558
  if (typeof s != "object")
559
559
  return;
560
- if (ur(s))
560
+ if (lr(s))
561
561
  for (var O = 0; O < s.length; O++) {
562
562
  var N = s[O];
563
- dr(N) && dn(N, Z);
563
+ pr(N) && dn(N, Z);
564
564
  }
565
- else if (dr(s))
565
+ else if (pr(s))
566
566
  s._store && (s._store.validated = !0);
567
567
  else if (s) {
568
568
  var re = I(s);
569
569
  if (typeof re == "function" && re !== s.entries)
570
570
  for (var ie = re.call(s), F; !(F = ie.next()).done; )
571
- dr(F.value) && dn(F.value, Z);
571
+ pr(F.value) && dn(F.value, Z);
572
572
  }
573
573
  }
574
574
  }
@@ -589,8 +589,8 @@ Check the top-level render call using <` + O + ">.");
589
589
  if (O) {
590
590
  var N = R(Z);
591
591
  _A(O, s.props, "prop", N, s);
592
- } else if (Z.PropTypes !== void 0 && !mr) {
593
- mr = !0;
592
+ } else if (Z.PropTypes !== void 0 && !dr) {
593
+ dr = !0;
594
594
  var re = R(Z);
595
595
  Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", re || "Unknown");
596
596
  }
@@ -618,7 +618,7 @@ Check the top-level render call using <` + O + ">.");
618
618
  var ge = la(re);
619
619
  ge ? U += ge : U += cn();
620
620
  var ce;
621
- s === null ? ce = "null" : ur(s) ? ce = "array" : s !== void 0 && s.$$typeof === t ? (ce = "<" + (R(s.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : ce = typeof s, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ce, U);
621
+ s === null ? ce = "null" : lr(s) ? ce = "array" : s !== void 0 && s.$$typeof === t ? (ce = "<" + (R(s.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : ce = typeof s, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ce, U);
622
622
  }
623
623
  var de = ua(s, Z, O, re, ie);
624
624
  if (de == null)
@@ -627,7 +627,7 @@ Check the top-level render call using <` + O + ">.");
627
627
  var Ie = Z.children;
628
628
  if (Ie !== void 0)
629
629
  if (N)
630
- if (ur(Ie)) {
630
+ if (lr(Ie)) {
631
631
  for (var it = 0; it < Ie.length; it++)
632
632
  pn(Ie[it], s);
633
633
  Object.freeze && Object.freeze(Ie);
@@ -668,7 +668,7 @@ const wa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZX
668
668
  display: "flex",
669
669
  maxHeight: t > 1200 ? "750px" : "650px",
670
670
  height: 750,
671
- width: t > 1200 ? "1062px" : "912px"
671
+ width: t > 1200 ? "1062px" : "900px"
672
672
  },
673
673
  children: e
674
674
  }
@@ -692,7 +692,7 @@ const wa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZX
692
692
  }
693
693
  ) });
694
694
  }, Ma = ({ name: e }) => /* @__PURE__ */ y.jsx("div", { className: "mr-2 flex h-10 w-full items-center justify-center rounded-lg border border-dark-20", children: e });
695
- var _t = {}, _n = {
695
+ var $t = {}, _n = {
696
696
  MODE_NUMBER: 1,
697
697
  MODE_ALPHA_NUM: 2,
698
698
  MODE_8BIT_BYTE: 4,
@@ -1531,10 +1531,10 @@ object-assign
1531
1531
  (c) Sindre Sorhus
1532
1532
  @license MIT
1533
1533
  */
1534
- var pr, Cn;
1534
+ var fr, Cn;
1535
1535
  function Ga() {
1536
1536
  if (Cn)
1537
- return pr;
1537
+ return fr;
1538
1538
  Cn = 1;
1539
1539
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
1540
1540
  function n(a) {
@@ -1564,7 +1564,7 @@ function Ga() {
1564
1564
  return !1;
1565
1565
  }
1566
1566
  }
1567
- return pr = A() ? Object.assign : function(a, o) {
1567
+ return fr = A() ? Object.assign : function(a, o) {
1568
1568
  for (var i, c = n(a), u, l = 1; l < arguments.length; l++) {
1569
1569
  i = Object(arguments[l]);
1570
1570
  for (var m in i)
@@ -1576,24 +1576,24 @@ function Ga() {
1576
1576
  }
1577
1577
  }
1578
1578
  return c;
1579
- }, pr;
1579
+ }, fr;
1580
1580
  }
1581
- var fr, In;
1581
+ var qr, In;
1582
1582
  function Hr() {
1583
1583
  if (In)
1584
- return fr;
1584
+ return qr;
1585
1585
  In = 1;
1586
1586
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1587
- return fr = e, fr;
1587
+ return qr = e, qr;
1588
1588
  }
1589
- var qr, Kn;
1589
+ var hr, Kn;
1590
1590
  function iA() {
1591
- return Kn || (Kn = 1, qr = Function.call.bind(Object.prototype.hasOwnProperty)), qr;
1591
+ return Kn || (Kn = 1, hr = Function.call.bind(Object.prototype.hasOwnProperty)), hr;
1592
1592
  }
1593
- var hr, wn;
1593
+ var vr, wn;
1594
1594
  function Ra() {
1595
1595
  if (wn)
1596
- return hr;
1596
+ return vr;
1597
1597
  wn = 1;
1598
1598
  var e = function() {
1599
1599
  };
@@ -1638,12 +1638,12 @@ function Ra() {
1638
1638
  }
1639
1639
  return A.resetWarningCache = function() {
1640
1640
  process.env.NODE_ENV !== "production" && (r = {});
1641
- }, hr = A, hr;
1641
+ }, vr = A, vr;
1642
1642
  }
1643
- var vr, Wn;
1643
+ var gr, Wn;
1644
1644
  function Ta() {
1645
1645
  if (Wn)
1646
- return vr;
1646
+ return gr;
1647
1647
  Wn = 1;
1648
1648
  var e = oA(), t = Ga(), r = Hr(), n = iA(), A = Ra(), a = function() {
1649
1649
  };
@@ -1658,7 +1658,7 @@ function Ta() {
1658
1658
  function o() {
1659
1659
  return null;
1660
1660
  }
1661
- return vr = function(i, c) {
1661
+ return gr = function(i, c) {
1662
1662
  var u = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
1663
1663
  function m(b) {
1664
1664
  var C = b && (u && b[u] || b[l]);
@@ -1960,19 +1960,19 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1960
1960
  return !b.constructor || !b.constructor.name ? g : b.constructor.name;
1961
1961
  }
1962
1962
  return f.checkPropTypes = A, f.resetWarningCache = A.resetWarningCache, f.PropTypes = f, f;
1963
- }, vr;
1963
+ }, gr;
1964
1964
  }
1965
- var gr, On;
1965
+ var yr, On;
1966
1966
  function Ha() {
1967
1967
  if (On)
1968
- return gr;
1968
+ return yr;
1969
1969
  On = 1;
1970
1970
  var e = Hr();
1971
1971
  function t() {
1972
1972
  }
1973
1973
  function r() {
1974
1974
  }
1975
- return r.resetWarningCache = t, gr = function() {
1975
+ return r.resetWarningCache = t, yr = function() {
1976
1976
  function n(o, i, c, u, l, m) {
1977
1977
  if (m !== e) {
1978
1978
  var g = new Error(
@@ -2009,14 +2009,14 @@ function Ha() {
2009
2009
  resetWarningCache: t
2010
2010
  };
2011
2011
  return a.PropTypes = a, a;
2012
- }, gr;
2012
+ }, yr;
2013
2013
  }
2014
2014
  if (process.env.NODE_ENV !== "production") {
2015
2015
  var Xa = oA(), Qa = !0;
2016
2016
  Sr.exports = Ta()(Xa.isElement, Qa);
2017
2017
  } else
2018
2018
  Sr.exports = Ha()();
2019
- var $t = Sr.exports, Xr = {};
2019
+ var er = Sr.exports, Xr = {};
2020
2020
  Object.defineProperty(Xr, "__esModule", {
2021
2021
  value: !0
2022
2022
  });
@@ -2027,7 +2027,7 @@ var Pa = Object.assign || function(e) {
2027
2027
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
2028
2028
  }
2029
2029
  return e;
2030
- }, Va = $t, we = uA(Va), sA = ne, zt = uA(sA);
2030
+ }, Va = er, we = uA(Va), sA = ne, zt = uA(sA);
2031
2031
  function uA(e) {
2032
2032
  return e && e.__esModule ? e : { default: e };
2033
2033
  }
@@ -2049,7 +2049,7 @@ var Ua = {
2049
2049
  }, Fa = {
2050
2050
  title: void 0,
2051
2051
  xmlns: "http://www.w3.org/2000/svg"
2052
- }, er = (0, sA.forwardRef)(function(e, t) {
2052
+ }, tr = (0, sA.forwardRef)(function(e, t) {
2053
2053
  var r = e.bgColor, n = e.bgD, A = e.fgD, a = e.fgColor, o = e.size, i = e.title, c = e.viewBoxSize, u = Ba(e, ["bgColor", "bgD", "fgD", "fgColor", "size", "title", "viewBoxSize"]);
2054
2054
  return zt.default.createElement(
2055
2055
  "svg",
@@ -2063,14 +2063,14 @@ var Ua = {
2063
2063
  zt.default.createElement("path", { d: A, fill: a })
2064
2064
  );
2065
2065
  });
2066
- er.displayName = "QRCodeSvg";
2067
- er.propTypes = Ua;
2068
- er.defaultProps = Fa;
2069
- Xr.default = er;
2070
- Object.defineProperty(_t, "__esModule", {
2066
+ tr.displayName = "QRCodeSvg";
2067
+ tr.propTypes = Ua;
2068
+ tr.defaultProps = Fa;
2069
+ Xr.default = tr;
2070
+ Object.defineProperty($t, "__esModule", {
2071
2071
  value: !0
2072
2072
  });
2073
- _t.QRCode = void 0;
2073
+ $t.QRCode = void 0;
2074
2074
  var _a = Object.assign || function(e) {
2075
2075
  for (var t = 1; t < arguments.length; t++) {
2076
2076
  var r = arguments[t];
@@ -2078,7 +2078,7 @@ var _a = Object.assign || function(e) {
2078
2078
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
2079
2079
  }
2080
2080
  return e;
2081
- }, $a = Ja, eo = wt($a), to = eA, ro = wt(to), no = $t, De = wt(no), lA = ne, Ao = wt(lA), ao = Xr, oo = wt(ao);
2081
+ }, $a = Ja, eo = wt($a), to = eA, ro = wt(to), no = er, De = wt(no), lA = ne, Ao = wt(lA), ao = Xr, oo = wt(ao);
2082
2082
  function wt(e) {
2083
2083
  return e && e.__esModule ? e : { default: e };
2084
2084
  }
@@ -2121,11 +2121,11 @@ var so = {
2121
2121
  viewBoxSize: u.length
2122
2122
  }));
2123
2123
  });
2124
- _t.QRCode = Wt;
2124
+ $t.QRCode = Wt;
2125
2125
  Wt.displayName = "QRCode";
2126
2126
  Wt.propTypes = so;
2127
2127
  Wt.defaultProps = uo;
2128
- var lo = _t.default = Wt;
2128
+ var lo = $t.default = Wt;
2129
2129
  const cA = ({
2130
2130
  title: e,
2131
2131
  titleId: t,
@@ -2170,10 +2170,10 @@ function mA(e, t) {
2170
2170
  return e.apply(t, arguments);
2171
2171
  };
2172
2172
  }
2173
- const { toString: co } = Object.prototype, { getPrototypeOf: Qr } = Object, tr = ((e) => (t) => {
2173
+ const { toString: co } = Object.prototype, { getPrototypeOf: Qr } = Object, rr = ((e) => (t) => {
2174
2174
  const r = co.call(t);
2175
2175
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
2176
- })(/* @__PURE__ */ Object.create(null)), Je = (e) => (e = e.toLowerCase(), (t) => tr(t) === e), rr = (e) => (t) => typeof t === e, { isArray: mt } = Array, Ct = rr("undefined");
2176
+ })(/* @__PURE__ */ Object.create(null)), Je = (e) => (e = e.toLowerCase(), (t) => rr(t) === e), nr = (e) => (t) => typeof t === e, { isArray: mt } = Array, Ct = nr("undefined");
2177
2177
  function mo(e) {
2178
2178
  return e !== null && !Ct(e) && e.constructor !== null && !Ct(e.constructor) && Oe(e.constructor.isBuffer) && e.constructor.isBuffer(e);
2179
2179
  }
@@ -2182,14 +2182,14 @@ function po(e) {
2182
2182
  let t;
2183
2183
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && dA(e.buffer), t;
2184
2184
  }
2185
- const fo = rr("string"), Oe = rr("function"), pA = rr("number"), nr = (e) => e !== null && typeof e == "object", qo = (e) => e === !0 || e === !1, Dt = (e) => {
2186
- if (tr(e) !== "object")
2185
+ const fo = nr("string"), Oe = nr("function"), pA = nr("number"), Ar = (e) => e !== null && typeof e == "object", qo = (e) => e === !0 || e === !1, Dt = (e) => {
2186
+ if (rr(e) !== "object")
2187
2187
  return !1;
2188
2188
  const t = Qr(e);
2189
2189
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
2190
- }, ho = Je("Date"), vo = Je("File"), go = Je("Blob"), yo = Je("FileList"), bo = (e) => nr(e) && Oe(e.pipe), Zo = (e) => {
2190
+ }, ho = Je("Date"), vo = Je("File"), go = Je("Blob"), yo = Je("FileList"), bo = (e) => Ar(e) && Oe(e.pipe), Zo = (e) => {
2191
2191
  let t;
2192
- return e && (typeof FormData == "function" && e instanceof FormData || Oe(e.append) && ((t = tr(e)) === "formdata" || // detect form-data instance
2192
+ return e && (typeof FormData == "function" && e instanceof FormData || Oe(e.append) && ((t = rr(e)) === "formdata" || // detect form-data instance
2193
2193
  t === "object" && Oe(e.toString) && e.toString() === "[object FormData]"));
2194
2194
  }, Co = Je("URLSearchParams"), Io = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
2195
2195
  function Ot(e, t, { allOwnKeys: r = !1 } = {}) {
@@ -2305,10 +2305,10 @@ const Ko = (e, t, r, { allOwnKeys: n } = {}) => (Ot(t, (A, a) => {
2305
2305
  };
2306
2306
  return mt(e) ? n(e) : n(String(e).split(t)), r;
2307
2307
  }, No = () => {
2308
- }, Do = (e, t) => (e = +e, Number.isFinite(e) ? e : t), yr = "abcdefghijklmnopqrstuvwxyz", Sn = "0123456789", gA = {
2308
+ }, Do = (e, t) => (e = +e, Number.isFinite(e) ? e : t), br = "abcdefghijklmnopqrstuvwxyz", Sn = "0123456789", gA = {
2309
2309
  DIGIT: Sn,
2310
- ALPHA: yr,
2311
- ALPHA_DIGIT: yr + yr.toUpperCase() + Sn
2310
+ ALPHA: br,
2311
+ ALPHA_DIGIT: br + br.toUpperCase() + Sn
2312
2312
  }, Go = (e = 16, t = gA.ALPHA_DIGIT) => {
2313
2313
  let r = "";
2314
2314
  const { length: n } = t;
@@ -2321,7 +2321,7 @@ function Ro(e) {
2321
2321
  }
2322
2322
  const To = (e) => {
2323
2323
  const t = new Array(10), r = (n, A) => {
2324
- if (nr(n)) {
2324
+ if (Ar(n)) {
2325
2325
  if (t.indexOf(n) >= 0)
2326
2326
  return;
2327
2327
  if (!("toJSON" in n)) {
@@ -2336,7 +2336,7 @@ const To = (e) => {
2336
2336
  return n;
2337
2337
  };
2338
2338
  return r(e, 0);
2339
- }, Ho = Je("AsyncFunction"), Xo = (e) => e && (nr(e) || Oe(e)) && Oe(e.then) && Oe(e.catch), h = {
2339
+ }, Ho = Je("AsyncFunction"), Xo = (e) => e && (Ar(e) || Oe(e)) && Oe(e.then) && Oe(e.catch), h = {
2340
2340
  isArray: mt,
2341
2341
  isArrayBuffer: dA,
2342
2342
  isBuffer: mo,
@@ -2345,7 +2345,7 @@ const To = (e) => {
2345
2345
  isString: fo,
2346
2346
  isNumber: pA,
2347
2347
  isBoolean: qo,
2348
- isObject: nr,
2348
+ isObject: Ar,
2349
2349
  isPlainObject: Dt,
2350
2350
  isUndefined: Ct,
2351
2351
  isDate: ho,
@@ -2364,7 +2364,7 @@ const To = (e) => {
2364
2364
  stripBOM: wo,
2365
2365
  inherits: Wo,
2366
2366
  toFlatObject: Oo,
2367
- kindOf: tr,
2367
+ kindOf: rr,
2368
2368
  kindOfTest: Je,
2369
2369
  endsWith: Mo,
2370
2370
  toArray: So,
@@ -2458,7 +2458,7 @@ function Po(e) {
2458
2458
  const Vo = h.toFlatObject(h, {}, null, function(t) {
2459
2459
  return /^is[A-Z]/.test(t);
2460
2460
  });
2461
- function Ar(e, t, r) {
2461
+ function ar(e, t, r) {
2462
2462
  if (!h.isObject(e))
2463
2463
  throw new TypeError("target must be an object");
2464
2464
  t = t || new FormData(), r = h.toFlatObject(r, {
@@ -2535,7 +2535,7 @@ function En(e) {
2535
2535
  });
2536
2536
  }
2537
2537
  function Pr(e, t) {
2538
- this._pairs = [], e && Ar(e, this, t);
2538
+ this._pairs = [], e && ar(e, this, t);
2539
2539
  }
2540
2540
  const CA = Pr.prototype;
2541
2541
  CA.append = function(t, r) {
@@ -2637,7 +2637,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
2637
2637
  protocols: ["http", "https", "file", "blob", "url", "data"]
2638
2638
  };
2639
2639
  function ri(e, t) {
2640
- return Ar(e, new Le.classes.URLSearchParams(), Object.assign({
2640
+ return ar(e, new Le.classes.URLSearchParams(), Object.assign({
2641
2641
  visitor: function(r, n, A, a) {
2642
2642
  return Le.isNode && h.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
2643
2643
  }
@@ -2698,7 +2698,7 @@ const Vr = {
2698
2698
  return ri(t, this.formSerializer).toString();
2699
2699
  if ((i = h.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
2700
2700
  const c = this.env && this.env.FormData;
2701
- return Ar(
2701
+ return ar(
2702
2702
  i ? { "files[]": t } : t,
2703
2703
  c && new c(),
2704
2704
  this.formSerializer
@@ -2786,7 +2786,7 @@ function si(e) {
2786
2786
  return t;
2787
2787
  }
2788
2788
  const ui = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
2789
- function br(e, t, r, n, A) {
2789
+ function Zr(e, t, r, n, A) {
2790
2790
  if (h.isFunction(n))
2791
2791
  return n.call(this, t, r);
2792
2792
  if (A && (t = r), !!h.isString(t)) {
@@ -2810,7 +2810,7 @@ function ci(e, t) {
2810
2810
  });
2811
2811
  });
2812
2812
  }
2813
- class ar {
2813
+ class or {
2814
2814
  constructor(t) {
2815
2815
  t && this.set(t);
2816
2816
  }
@@ -2846,7 +2846,7 @@ class ar {
2846
2846
  has(t, r) {
2847
2847
  if (t = gt(t), t) {
2848
2848
  const n = h.findKey(this, t);
2849
- return !!(n && this[n] !== void 0 && (!r || br(this, this[n], n, r)));
2849
+ return !!(n && this[n] !== void 0 && (!r || Zr(this, this[n], n, r)));
2850
2850
  }
2851
2851
  return !1;
2852
2852
  }
@@ -2856,7 +2856,7 @@ class ar {
2856
2856
  function a(o) {
2857
2857
  if (o = gt(o), o) {
2858
2858
  const i = h.findKey(n, o);
2859
- i && (!r || br(n, n[i], i, r)) && (delete n[i], A = !0);
2859
+ i && (!r || Zr(n, n[i], i, r)) && (delete n[i], A = !0);
2860
2860
  }
2861
2861
  }
2862
2862
  return h.isArray(t) ? t.forEach(a) : a(t), A;
@@ -2866,7 +2866,7 @@ class ar {
2866
2866
  let n = r.length, A = !1;
2867
2867
  for (; n--; ) {
2868
2868
  const a = r[n];
2869
- (!t || br(this, this[a], a, t, !0)) && (delete this[a], A = !0);
2869
+ (!t || Zr(this, this[a], a, t, !0)) && (delete this[a], A = !0);
2870
2870
  }
2871
2871
  return A;
2872
2872
  }
@@ -2919,8 +2919,8 @@ class ar {
2919
2919
  return h.isArray(t) ? t.forEach(a) : a(t), this;
2920
2920
  }
2921
2921
  }
2922
- ar.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
2923
- h.reduceDescriptors(ar.prototype, ({ value: e }, t) => {
2922
+ or.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
2923
+ h.reduceDescriptors(or.prototype, ({ value: e }, t) => {
2924
2924
  let r = t[0].toUpperCase() + t.slice(1);
2925
2925
  return {
2926
2926
  get: () => e,
@@ -2929,9 +2929,9 @@ h.reduceDescriptors(ar.prototype, ({ value: e }, t) => {
2929
2929
  }
2930
2930
  };
2931
2931
  });
2932
- h.freezeMethods(ar);
2933
- const Ge = ar;
2934
- function Zr(e, t) {
2932
+ h.freezeMethods(or);
2933
+ const Ge = or;
2934
+ function Cr(e, t) {
2935
2935
  const r = this || Br, n = t || r, A = Ge.from(n.headers);
2936
2936
  let a = n.data;
2937
2937
  return h.forEach(e, function(i) {
@@ -3166,22 +3166,22 @@ const MA = {
3166
3166
  },
3167
3167
  adapters: Rt
3168
3168
  };
3169
- function Cr(e) {
3169
+ function Ir(e) {
3170
3170
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
3171
3171
  throw new Mt(null, e);
3172
3172
  }
3173
3173
  function kn(e) {
3174
- return Cr(e), e.headers = Ge.from(e.headers), e.data = Zr.call(
3174
+ return Ir(e), e.headers = Ge.from(e.headers), e.data = Cr.call(
3175
3175
  e,
3176
3176
  e.transformRequest
3177
3177
  ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), MA.getAdapter(e.adapter || Br.adapter)(e).then(function(n) {
3178
- return Cr(e), n.data = Zr.call(
3178
+ return Ir(e), n.data = Cr.call(
3179
3179
  e,
3180
3180
  e.transformResponse,
3181
3181
  n
3182
3182
  ), n.headers = Ge.from(n.headers), n;
3183
3183
  }, function(n) {
3184
- return WA(n) || (Cr(e), n && n.response && (n.response.data = Zr.call(
3184
+ return WA(n) || (Ir(e), n && n.response && (n.response.data = Cr.call(
3185
3185
  e,
3186
3186
  e.transformResponse,
3187
3187
  n.response
@@ -3300,7 +3300,7 @@ const Yr = {
3300
3300
  assertOptions: bi,
3301
3301
  validators: Ur
3302
3302
  }, He = Yr.validators;
3303
- class Xt {
3303
+ class Qt {
3304
3304
  constructor(t) {
3305
3305
  this.defaults = t, this.interceptors = {
3306
3306
  request: new Yn(),
@@ -3381,7 +3381,7 @@ class Xt {
3381
3381
  }
3382
3382
  }
3383
3383
  h.forEach(["delete", "get", "head", "options"], function(t) {
3384
- Xt.prototype[t] = function(r, n) {
3384
+ Qt.prototype[t] = function(r, n) {
3385
3385
  return this.request(ct(n || {}, {
3386
3386
  method: t,
3387
3387
  url: r,
@@ -3402,9 +3402,9 @@ h.forEach(["post", "put", "patch"], function(t) {
3402
3402
  }));
3403
3403
  };
3404
3404
  }
3405
- Xt.prototype[t] = r(), Xt.prototype[t + "Form"] = r(!0);
3405
+ Qt.prototype[t] = r(), Qt.prototype[t + "Form"] = r(!0);
3406
3406
  });
3407
- const Tt = Xt;
3407
+ const Tt = Qt;
3408
3408
  class Fr {
3409
3409
  constructor(t) {
3410
3410
  if (typeof t != "function")
@@ -3563,7 +3563,7 @@ pe.CanceledError = Mt;
3563
3563
  pe.CancelToken = Zi;
3564
3564
  pe.isCancel = WA;
3565
3565
  pe.VERSION = SA;
3566
- pe.toFormData = Ar;
3566
+ pe.toFormData = ar;
3567
3567
  pe.AxiosError = $;
3568
3568
  pe.Cancel = pe.CanceledError;
3569
3569
  pe.all = function(t) {
@@ -3653,7 +3653,7 @@ const Re = wi.create({
3653
3653
  Authorization: jA
3654
3654
  }
3655
3655
  });
3656
- async function Qt(e, t, r, n, A, a, o, i) {
3656
+ async function Pt(e, t, r, n, A, a, o, i) {
3657
3657
  return (await Re.post(e + "/createPlayableVersionLink", {
3658
3658
  _id: t,
3659
3659
  nano: r,
@@ -3682,7 +3682,7 @@ function Xe() {
3682
3682
  (e = arguments[r++]) && (t = JA(e)) && (n && (n += " "), n += t);
3683
3683
  return n;
3684
3684
  }
3685
- const bt = (e) => typeof e == "number" && !isNaN(e), rt = (e) => typeof e == "string", ye = (e) => typeof e == "function", Ht = (e) => rt(e) || ye(e) ? e : null, Ir = (e) => lt(e) || rt(e) || ye(e) || bt(e);
3685
+ const bt = (e) => typeof e == "number" && !isNaN(e), rt = (e) => typeof e == "string", ye = (e) => typeof e == "function", Ht = (e) => rt(e) || ye(e) ? e : null, Kr = (e) => lt(e) || rt(e) || ye(e) || bt(e);
3686
3686
  function Si(e, t, r) {
3687
3687
  r === void 0 && (r = 300);
3688
3688
  const { scrollHeight: n, style: A } = e;
@@ -3692,7 +3692,7 @@ function Si(e, t, r) {
3692
3692
  });
3693
3693
  });
3694
3694
  }
3695
- function or(e) {
3695
+ function ir(e) {
3696
3696
  let { enter: t, exit: r, appendPosition: n = !1, collapse: A = !0, collapseDuration: a = 300 } = e;
3697
3697
  return function(o) {
3698
3698
  let { children: i, position: c, preventExitTransition: u, done: l, nodeRef: m, isIn: g } = o;
@@ -3734,7 +3734,7 @@ const We = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
3734
3734
  } }, kt = (e) => {
3735
3735
  let { theme: t, type: r, ...n } = e;
3736
3736
  return ne.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${r})`, ...n });
3737
- }, Kr = { info: function(e) {
3737
+ }, wr = { info: function(e) {
3738
3738
  return ne.createElement(kt, { ...e }, ne.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" }));
3739
3739
  }, warning: function(e) {
3740
3740
  return ne.createElement(kt, { ...e }, ne.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,7 +3761,7 @@ function Li(e) {
3761
3761
  }
3762
3762
  function m(f, p) {
3763
3763
  let { delay: v, staleId: I, ...K } = p;
3764
- if (!Ir(f) || function(H) {
3764
+ if (!Kr(f) || function(H) {
3765
3765
  return !A.current || i.props.enableMultiContainer && H.containerId !== i.props.containerId || a.has(H.toastId) && H.updateId == null;
3766
3766
  }(K))
3767
3767
  return;
@@ -3791,8 +3791,8 @@ function Li(e) {
3791
3791
  G.iconOut = function(H) {
3792
3792
  let { theme: R, type: w, isLoading: L, icon: S } = H, d = null;
3793
3793
  const E = { theme: R, type: w };
3794
- return S === !1 || (ye(S) ? d = S(E) : lt(S) ? d = Or(S, E) : rt(S) || bt(S) ? d = S : L ? d = Kr.spinner() : ((te) => te in Kr)(w) && (d = Kr[w](E))), d;
3795
- }(G), ye(K.onOpen) && (G.onOpen = K.onOpen), ye(K.onClose) && (G.onClose = K.onClose), G.closeButton = q.closeButton, K.closeButton === !1 || Ir(K.closeButton) ? G.closeButton = K.closeButton : K.closeButton === !0 && (G.closeButton = !Ir(q.closeButton) || q.closeButton);
3794
+ return S === !1 || (ye(S) ? d = S(E) : lt(S) ? d = Or(S, E) : rt(S) || bt(S) ? d = S : L ? d = wr.spinner() : ((te) => te in wr)(w) && (d = wr[w](E))), d;
3795
+ }(G), ye(K.onOpen) && (G.onOpen = K.onOpen), ye(K.onClose) && (G.onClose = K.onClose), G.closeButton = q.closeButton, K.closeButton === !1 || Kr(K.closeButton) ? G.closeButton = K.closeButton : K.closeButton === !0 && (G.closeButton = !Kr(q.closeButton) || q.closeButton);
3796
3796
  let ee = f;
3797
3797
  lt(f) && !rt(f.type) ? ee = Or(f, { closeToast: se, toastProps: G, data: W }) : ye(f) && (ee = f({ closeToast: se, toastProps: G, data: W })), q.limit && q.limit > 0 && i.count > q.limit && J ? i.queue.push({ toastContent: ee, toastProps: G, staleId: I }) : bt(v) ? setTimeout(() => {
3798
3798
  g(ee, G, I);
@@ -3888,12 +3888,12 @@ const xi = (e) => {
3888
3888
  const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: A } = Ei(e), { closeButton: a, children: o, autoClose: i, onClick: c, type: u, hideProgressBar: l, closeToast: m, transition: g, position: f, className: p, style: v, bodyClassName: I, bodyStyle: K, progressClassName: Y, progressStyle: z, updateId: W, role: q, progress: se, rtl: J, toastId: G, deleteToast: oe, isIn: B, isLoading: ee, iconOut: H, closeOnClick: R, theme: w } = e, L = Xe("Toastify__toast", `Toastify__toast-theme--${w}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": J }, { "Toastify__toast--close-on-click": R }), S = ye(p) ? p({ rtl: J, position: f, type: u, defaultClassName: L }) : Xe(L, p), d = !!se || !i, E = { closeToast: m, type: u, theme: w };
3889
3889
  let te = null;
3890
3890
  return a === !1 || (te = ye(a) ? a(E) : lt(a) ? Or(a, E) : NA(E)), ne.createElement(g, { isIn: B, done: oe, position: f, preventExitTransition: r, nodeRef: n }, ne.createElement("div", { id: G, onClick: c, className: S, ...A, style: v, ref: n }, ne.createElement("div", { ...B && { role: q }, className: ye(I) ? I({ type: u }) : Xe("Toastify__toast-body", I), style: K }, H != null && ne.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ee }) }, H), ne.createElement("div", null, o)), te, ne.createElement(Yi, { ...W && !d ? { key: `pb-${W}` } : {}, rtl: J, theme: w, delay: i, isRunning: t, isIn: B, closeToast: m, hide: l, type: u, style: z, className: Y, controlledProgress: d, progress: se || 0 })));
3891
- }, ir = function(e, t) {
3891
+ }, sr = function(e, t) {
3892
3892
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
3893
- }, zi = or(ir("bounce", !0));
3894
- or(ir("slide", !0));
3895
- or(ir("zoom"));
3896
- or(ir("flip"));
3893
+ }, zi = ir(sr("bounce", !0));
3894
+ ir(sr("slide", !0));
3895
+ ir(sr("zoom"));
3896
+ ir(sr("flip"));
3897
3897
  const kr = va((e, t) => {
3898
3898
  const { getToastToRender: r, containerRef: n, isToastActive: A } = Li(e), { className: a, style: o, rtl: i, containerId: c } = e;
3899
3899
  function u(l) {
@@ -3911,7 +3911,7 @@ const kr = va((e, t) => {
3911
3911
  }));
3912
3912
  });
3913
3913
  kr.displayName = "ToastContainer", kr.defaultProps = { position: "top-right", transition: zi, autoClose: 5e3, closeButton: NA, pauseOnHover: !0, pauseOnFocusLoss: !0, closeOnClick: !0, draggable: !0, draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
3914
- let wr, Ue = /* @__PURE__ */ new Map(), yt = [], ki = 1;
3914
+ let Wr, Ue = /* @__PURE__ */ new Map(), yt = [], ki = 1;
3915
3915
  function DA() {
3916
3916
  return "" + ki++;
3917
3917
  }
@@ -3921,16 +3921,16 @@ function ji(e) {
3921
3921
  function Zt(e, t) {
3922
3922
  return Ue.size > 0 ? We.emit(0, e, t) : yt.push({ content: e, options: t }), t.toastId;
3923
3923
  }
3924
- function Pt(e, t) {
3924
+ function Vt(e, t) {
3925
3925
  return { ...t, type: t && t.type || e, toastId: ji(t) };
3926
3926
  }
3927
3927
  function jt(e) {
3928
- return (t, r) => Zt(t, Pt(e, r));
3928
+ return (t, r) => Zt(t, Vt(e, r));
3929
3929
  }
3930
3930
  function le(e, t) {
3931
- return Zt(e, Pt("default", t));
3931
+ return Zt(e, Vt("default", t));
3932
3932
  }
3933
- le.loading = (e, t) => Zt(e, Pt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), le.promise = function(e, t, r) {
3933
+ le.loading = (e, t) => Zt(e, Vt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), le.promise = function(e, t, r) {
3934
3934
  let n, { pending: A, error: a, success: o } = t;
3935
3935
  A && (n = rt(A) ? le.loading(A, r) : le.loading(A.render, { ...r, ...A }));
3936
3936
  const i = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, c = (l, m, g) => {
@@ -3940,7 +3940,7 @@ le.loading = (e, t) => Zt(e, Pt("default", { isLoading: !0, autoClose: !1, close
3940
3940
  return n ? le.update(n, { ...f, ...p }) : le(p.render, { ...f, ...p }), g;
3941
3941
  }, u = ye(e) ? e() : e;
3942
3942
  return u.then((l) => c("success", o, l)).catch((l) => c("error", a, l)), u;
3943
- }, le.success = jt("success"), le.info = jt("info"), le.error = jt("error"), le.warning = jt("warning"), le.warn = le.warning, le.dark = (e, t) => Zt(e, Pt("default", { theme: "dark", ...t })), le.dismiss = (e) => {
3943
+ }, le.success = jt("success"), le.info = jt("info"), le.error = jt("error"), le.warning = jt("warning"), le.warn = le.warning, le.dark = (e, t) => Zt(e, Vt("default", { theme: "dark", ...t })), le.dismiss = (e) => {
3944
3944
  Ue.size > 0 ? We.emit(1, e) : yt = yt.filter((t) => e != null && t.options.toastId !== e);
3945
3945
  }, le.clearWaitingQueue = function(e) {
3946
3946
  return e === void 0 && (e = {}), We.emit(5, e);
@@ -3953,7 +3953,7 @@ le.loading = (e, t) => Zt(e, Pt("default", { isLoading: !0, autoClose: !1, close
3953
3953
  t === void 0 && (t = {}), setTimeout(() => {
3954
3954
  const r = function(n, A) {
3955
3955
  let { containerId: a } = A;
3956
- const o = Ue.get(a || wr);
3956
+ const o = Ue.get(a || Wr);
3957
3957
  return o && o.getToast(n);
3958
3958
  }(e, t);
3959
3959
  if (r) {
@@ -3968,7 +3968,7 @@ le.loading = (e, t) => Zt(e, Pt("default", { isLoading: !0, autoClose: !1, close
3968
3968
  }, le.onChange = (e) => (We.on(4, e), () => {
3969
3969
  We.off(4, e);
3970
3970
  }), le.POSITION = { TOP_LEFT: "top-left", TOP_RIGHT: "top-right", TOP_CENTER: "top-center", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", BOTTOM_CENTER: "bottom-center" }, le.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, We.on(2, (e) => {
3971
- wr = e.containerId || e, Ue.set(wr, e), yt.forEach((t) => {
3971
+ Wr = e.containerId || e, Ue.set(Wr, e), yt.forEach((t) => {
3972
3972
  We.emit(0, t.content, t.options);
3973
3973
  }), yt = [];
3974
3974
  }).on(3, (e) => {
@@ -3986,7 +3986,7 @@ function ut(e) {
3986
3986
  theme: "light"
3987
3987
  });
3988
3988
  }
3989
- let Vt = (e = 21) => {
3989
+ let Bt = (e = 21) => {
3990
3990
  let t = "", r = crypto.getRandomValues(new Uint8Array(e));
3991
3991
  for (; e--; ) {
3992
3992
  let n = r[e] & 63;
@@ -4006,10 +4006,10 @@ const Ji = ({
4006
4006
  `https://flex.playablefactory.app/preview?versionId=${e}`
4007
4007
  ), ut("Link copied");
4008
4008
  else {
4009
- const a = await Qt(
4009
+ const a = await Pt(
4010
4010
  r,
4011
4011
  e,
4012
- Vt(5),
4012
+ Bt(5),
4013
4013
  "default",
4014
4014
  !1,
4015
4015
  0,
@@ -4031,7 +4031,7 @@ const Ji = ({
4031
4031
  // Adjust the value to match what 'rounded-xl' translates to in your setup
4032
4032
  backgroundColor: "#000000",
4033
4033
  // Replace with the actual color code for 'bg-dark-full'
4034
- padding: "12px"
4034
+ padding: "10px"
4035
4035
  // You may need to adjust this to your specific needs
4036
4036
  },
4037
4037
  children: [
@@ -4040,9 +4040,7 @@ const Ji = ({
4040
4040
  {
4041
4041
  style: {
4042
4042
  marginRight: "0.75rem",
4043
- flexShrink: 0,
4044
- flexGrow: 0,
4045
- flexBasis: "24%"
4043
+ width: "45%"
4046
4044
  },
4047
4045
  children: /* @__PURE__ */ y.jsx(
4048
4046
  lo,
@@ -4650,7 +4648,7 @@ const Hn = [
4650
4648
  handleDownloadError: m,
4651
4649
  fetchFileUrl: g
4652
4650
  }) => {
4653
- const [f, p] = me(!1), [v, I] = me(Vt(5)), K = () => {
4651
+ const [f, p] = me(!1), [v, I] = me(Bt(5)), K = () => {
4654
4652
  r(e);
4655
4653
  }, Y = async (W, q, se, J, G, oe) => {
4656
4654
  try {
@@ -4679,7 +4677,7 @@ const Hn = [
4679
4677
  ), H.style.display = "none", document.body.appendChild(H), H.click(), p(!1), ee;
4680
4678
  } else {
4681
4679
  const B = Hn.includes(q) ? 1 : 0;
4682
- Qt(
4680
+ Pt(
4683
4681
  l,
4684
4682
  W,
4685
4683
  v,
@@ -4730,10 +4728,10 @@ const Hn = [
4730
4728
  }
4731
4729
  }, z = async () => {
4732
4730
  if (c === "Playable") {
4733
- const q = await Qt(
4731
+ const q = await Pt(
4734
4732
  l,
4735
4733
  u,
4736
- Vt(5),
4734
+ Bt(5),
4737
4735
  A,
4738
4736
  !1,
4739
4737
  1,
@@ -4919,7 +4917,7 @@ const Hn = [
4919
4917
  ]
4920
4918
  }
4921
4919
  ) });
4922
- }, Wr = [
4920
+ }, Xt = [
4923
4921
  {
4924
4922
  id: "1",
4925
4923
  name: "unity",
@@ -5230,11 +5228,11 @@ const es = ({
5230
5228
  G.splice(B, 1), m(G);
5231
5229
  } else
5232
5230
  A === "Playable" ? (G.push(J), m([...l, J])) : (G.splice(0), G.push(J), m([J]));
5233
- let oe = Wr.filter((B) => [...G].includes(B.id)).map((B) => B.name);
5231
+ let oe = Xt.filter((B) => [...G].includes(B.id)).map((B) => B.name);
5234
5232
  await W(oe);
5235
5233
  }, se = async () => {
5236
5234
  try {
5237
- const J = Wr.filter((H) => [...l].includes(H.id)).map((H) => H.name);
5235
+ const J = Xt.filter((H) => [...l].includes(H.id)).map((H) => H.name);
5238
5236
  z(!0);
5239
5237
  const G = await $i(n, J, a), { url: oe } = G;
5240
5238
  let B;
@@ -5266,7 +5264,7 @@ const es = ({
5266
5264
  overflow: "auto",
5267
5265
  padding: "1.75rem"
5268
5266
  },
5269
- children: r && Wr.filter((J) => {
5267
+ children: r && Xt.filter((J) => {
5270
5268
  var G;
5271
5269
  return t && ((G = t == null ? void 0 : t.networks) == null ? void 0 : G.length) > 0 ? t == null ? void 0 : t.networks.includes(J.name) : e == null ? void 0 : e.networks.includes(J.name);
5272
5270
  }).filter(
@@ -5360,10 +5358,10 @@ const os = [
5360
5358
  try {
5361
5359
  let C;
5362
5360
  if (n === "Playable") {
5363
- C = await Qt(
5361
+ C = await Pt(
5364
5362
  a,
5365
5363
  t,
5366
- Vt(5),
5364
+ Bt(5),
5367
5365
  "default",
5368
5366
  !1,
5369
5367
  0,
@@ -5413,7 +5411,10 @@ const os = [
5413
5411
  { _id: t },
5414
5412
  a
5415
5413
  );
5416
- v(S), z(!1);
5414
+ o.role === "admin" ? v({
5415
+ ...S,
5416
+ networks: Xt.map((d) => d.name)
5417
+ }) : v(S), z(!1);
5417
5418
  }, R = async () => {
5418
5419
  const S = await ns({ _id: t }, a);
5419
5420
  K(S.size);
@@ -5698,10 +5699,10 @@ var Cs = Zs, Is = Ks(Cs);
5698
5699
  function Ks(e) {
5699
5700
  return e && e.__esModule ? e : { default: e };
5700
5701
  }
5701
- var sr = Is.default, ws = sr.canUseDOM ? window.HTMLElement : {};
5702
- Ee.SafeHTMLCollection = sr.canUseDOM ? window.HTMLCollection : {};
5703
- Ee.SafeNodeList = sr.canUseDOM ? window.NodeList : {};
5704
- Ee.canUseDOM = sr.canUseDOM;
5702
+ var ur = Is.default, ws = ur.canUseDOM ? window.HTMLElement : {};
5703
+ Ee.SafeHTMLCollection = ur.canUseDOM ? window.HTMLCollection : {};
5704
+ Ee.SafeNodeList = ur.canUseDOM ? window.NodeList : {};
5705
+ Ee.canUseDOM = ur.canUseDOM;
5705
5706
  Ee.default = ws;
5706
5707
  Object.defineProperty(xe, "__esModule", {
5707
5708
  value: !0
@@ -5882,16 +5883,16 @@ var PA = function e() {
5882
5883
  );
5883
5884
  });
5884
5885
  }, this.openInstances = [], this.subscribers = [];
5885
- }, Bt = new PA();
5886
+ }, Ut = new PA();
5886
5887
  function Hs() {
5887
- console.log("portalOpenInstances ----------"), console.log(Bt.openInstances.length), Bt.openInstances.forEach(function(e) {
5888
+ console.log("portalOpenInstances ----------"), console.log(Ut.openInstances.length), Ut.openInstances.forEach(function(e) {
5888
5889
  return console.log(e);
5889
5890
  }), console.log("end portalOpenInstances ----------");
5890
5891
  }
5891
5892
  function Xs() {
5892
- Bt = new PA();
5893
+ Ut = new PA();
5893
5894
  }
5894
- pt.default = Bt;
5895
+ pt.default = Ut;
5895
5896
  var rn = {};
5896
5897
  Object.defineProperty(rn, "__esModule", {
5897
5898
  value: !0
@@ -5954,7 +5955,7 @@ Ps.default.subscribe(Fs);
5954
5955
  return function(L, S, d) {
5955
5956
  return S && w(L.prototype, S), d && w(L, d), L;
5956
5957
  };
5957
- }(), a = ne, o = $t, i = q(o), c = Ye, u = W(c), l = vs, m = q(l), g = xe, f = W(g), p = dt, v = W(p), I = Ee, K = q(I), Y = pt, z = q(Y);
5958
+ }(), a = ne, o = er, i = q(o), c = Ye, u = W(c), l = vs, m = q(l), g = xe, f = W(g), p = dt, v = W(p), I = Ee, K = q(I), Y = pt, z = q(Y);
5958
5959
  function W(w) {
5959
5960
  if (w && w.__esModule)
5960
5961
  return w;
@@ -6245,7 +6246,7 @@ var Pn = Object.assign || function(e) {
6245
6246
  return function(t, r, n) {
6246
6247
  return r && e(t.prototype, r), n && e(t, n), t;
6247
6248
  };
6248
- }(), FA = ne, Ut = St(FA), nu = ba, Ft = St(nu), Au = $t, D = St(Au), au = _s, Vn = St(au), ou = xe, iu = uu(ou), Qe = Ee, Bn = St(Qe), su = tu;
6249
+ }(), FA = ne, Ft = St(FA), nu = ba, _t = St(nu), Au = er, D = St(Au), au = _s, Vn = St(au), ou = xe, iu = uu(ou), Qe = Ee, Bn = St(Qe), su = tu;
6249
6250
  function uu(e) {
6250
6251
  if (e && e.__esModule)
6251
6252
  return e;
@@ -6272,10 +6273,10 @@ function cu(e, t) {
6272
6273
  throw new TypeError("Super expression must either be null or a function, not " + typeof t);
6273
6274
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
6274
6275
  }
6275
- var mu = nt.portalClassName = "ReactModalPortal", du = nt.bodyOpenClassName = "ReactModal__Body--open", Fe = Qe.canUseDOM && Ft.default.createPortal !== void 0, Tr = function(t) {
6276
+ var mu = nt.portalClassName = "ReactModalPortal", du = nt.bodyOpenClassName = "ReactModal__Body--open", Fe = Qe.canUseDOM && _t.default.createPortal !== void 0, Tr = function(t) {
6276
6277
  return document.createElement(t);
6277
6278
  }, Fn = function() {
6278
- return Fe ? Ft.default.createPortal : Ft.default.unstable_renderSubtreeIntoContainer;
6279
+ return Fe ? _t.default.createPortal : _t.default.unstable_renderSubtreeIntoContainer;
6279
6280
  };
6280
6281
  function Jt(e) {
6281
6282
  return e();
@@ -6288,13 +6289,13 @@ var ft = function(e) {
6288
6289
  for (var o = arguments.length, i = Array(o), c = 0; c < o; c++)
6289
6290
  i[c] = arguments[c];
6290
6291
  return a = (n = (A = Un(this, (r = t.__proto__ || Object.getPrototypeOf(t)).call.apply(r, [this].concat(i))), A), A.removePortal = function() {
6291
- !Fe && Ft.default.unmountComponentAtNode(A.node);
6292
+ !Fe && _t.default.unmountComponentAtNode(A.node);
6292
6293
  var u = Jt(A.props.parentSelector);
6293
6294
  u && u.contains(A.node) ? u.removeChild(A.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.');
6294
6295
  }, A.portalRef = function(u) {
6295
6296
  A.portal = u;
6296
6297
  }, A.renderPortal = function(u) {
6297
- var l = Fn(), m = l(A, Ut.default.createElement(Vn.default, Pn({ defaultStyles: t.defaultStyles }, u)), A.node);
6298
+ var l = Fn(), m = l(A, Ft.default.createElement(Vn.default, Pn({ defaultStyles: t.defaultStyles }, u)), A.node);
6298
6299
  A.portalRef(m);
6299
6300
  }, n), Un(A, a);
6300
6301
  }
@@ -6338,7 +6339,7 @@ var ft = function(e) {
6338
6339
  return null;
6339
6340
  !this.node && Fe && (this.node = Tr("div"));
6340
6341
  var n = Fn();
6341
- return n(Ut.default.createElement(Vn.default, Pn({
6342
+ return n(Ft.default.createElement(Vn.default, Pn({
6342
6343
  ref: this.portalRef,
6343
6344
  defaultStyles: t.defaultStyles
6344
6345
  }, this.props)), this.node);
@@ -6408,14 +6409,14 @@ ft.defaultProps = {
6408
6409
  return document.body;
6409
6410
  },
6410
6411
  overlayElement: function(t, r) {
6411
- return Ut.default.createElement(
6412
+ return Ft.default.createElement(
6412
6413
  "div",
6413
6414
  t,
6414
6415
  r
6415
6416
  );
6416
6417
  },
6417
6418
  contentElement: function(t, r) {
6418
- return Ut.default.createElement(
6419
+ return Ft.default.createElement(
6419
6420
  "div",
6420
6421
  t,
6421
6422
  r