frappe-react-sdk 1.3.7 → 1.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -275,22 +275,22 @@ var ri = function() {
275
275
  }, n.prototype.getDocList = function(e, t) {
276
276
  var r;
277
277
  return Fe(this, void 0, void 0, function() {
278
- var s, i, o, u, l, a, h, f, p, v, b;
279
- return Ue(this, function(w) {
280
- return s = {}, t && (i = t.fields, o = t.filters, u = t.orFilters, l = t.orderBy, a = t.limit, h = t.limit_start, f = t.groupBy, p = t.asDict, v = p === void 0 ? !0 : p, b = l ? "".concat(String(l == null ? void 0 : l.field), " ").concat((r = l == null ? void 0 : l.order) !== null && r !== void 0 ? r : "asc") : "", s = {
278
+ var s, i, o, u, l, a, h, f, p, m, g;
279
+ return Ue(this, function(b) {
280
+ return s = {}, t && (i = t.fields, o = t.filters, u = t.orFilters, l = t.orderBy, a = t.limit, h = t.limit_start, f = t.groupBy, p = t.asDict, m = p === void 0 ? !0 : p, g = l ? "".concat(String(l == null ? void 0 : l.field), " ").concat((r = l == null ? void 0 : l.order) !== null && r !== void 0 ? r : "asc") : "", s = {
281
281
  fields: i ? JSON.stringify(i) : void 0,
282
282
  filters: o ? JSON.stringify(o) : void 0,
283
283
  or_filters: u ? JSON.stringify(u) : void 0,
284
- order_by: b,
284
+ order_by: g,
285
285
  group_by: f,
286
286
  limit: a,
287
287
  limit_start: h,
288
- as_dict: v
289
- }), [2, this.axios.get("/api/resource/".concat(e), { params: s }).then(function(O) {
290
- return O.data.data;
291
- }).catch(function(O) {
292
- var g, R;
293
- throw z(z({}, O.response.data), { httpStatus: O.response.status, httpStatusText: O.response.statusText, message: "There was an error while fetching the documents.", exception: (R = (g = O.response.data.exception) !== null && g !== void 0 ? g : O.response.data.exc_type) !== null && R !== void 0 ? R : "" });
288
+ as_dict: m
289
+ }), [2, this.axios.get("/api/resource/".concat(e), { params: s }).then(function(E) {
290
+ return E.data.data;
291
+ }).catch(function(E) {
292
+ var _, S;
293
+ throw z(z({}, E.response.data), { httpStatus: E.response.status, httpStatusText: E.response.statusText, message: "There was an error while fetching the documents.", exception: (S = (_ = E.response.data.exception) !== null && _ !== void 0 ? _ : E.response.data.exc_type) !== null && S !== void 0 ? S : "" });
294
294
  })];
295
295
  });
296
296
  });
@@ -468,17 +468,20 @@ var oi = function() {
468
468
  function n(e, t, r, s, i) {
469
469
  this.appURL = e, this.axios = t, this.useToken = r != null ? r : !1, this.token = s, this.tokenType = i;
470
470
  }
471
- return n.prototype.uploadFile = function(e, t, r) {
472
- return si(this, void 0, void 0, function() {
473
- var s, i, o, u, l, a, h;
474
- return ii(this, function(f) {
475
- return s = new FormData(), e && s.append("file", e, e.name), i = t.isPrivate, o = t.folder, u = t.file_url, l = t.doctype, a = t.docname, h = t.fieldname, i && s.append("is_private", "1"), o && s.append("folder", o), u && s.append("file_url", u), l && a && (s.append("doctype", l), s.append("docname", a), h && s.append("fieldname", h)), [2, this.axios.post("/api/method/upload_file", s, {
476
- onUploadProgress: function(p) {
477
- r && r(p.loaded, p.total);
471
+ return n.prototype.uploadFile = function(e, t, r, s) {
472
+ return s === void 0 && (s = "upload_file"), si(this, void 0, void 0, function() {
473
+ var i, o, u, l, a, h, f, p;
474
+ return ii(this, function(m) {
475
+ return i = new FormData(), e && i.append("file", e, e.name), o = t.isPrivate, u = t.folder, l = t.file_url, a = t.doctype, h = t.docname, f = t.fieldname, p = t.otherData, o && i.append("is_private", "1"), u && i.append("folder", u), l && i.append("file_url", l), a && h && (i.append("doctype", a), i.append("docname", h), f && i.append("fieldname", f)), p && Object.keys(p).forEach(function(g) {
476
+ var b = p[g];
477
+ i.append(g, b);
478
+ }), [2, this.axios.post("/api/method/".concat(s), i, {
479
+ onUploadProgress: function(g) {
480
+ r && r(g.loaded, g.total);
478
481
  }
479
- }).catch(function(p) {
480
- var v, b;
481
- throw Ft(Ft({}, p.response.data), { httpStatus: p.response.status, httpStatusText: p.response.statusText, message: (v = p.response.data.message) !== null && v !== void 0 ? v : "There was an error while uploading the file.", exception: (b = p.response.data.exception) !== null && b !== void 0 ? b : "" });
482
+ }).catch(function(g) {
483
+ var b, E;
484
+ throw Ft(Ft({}, g.response.data), { httpStatus: g.response.status, httpStatusText: g.response.statusText, message: (b = g.response.data.message) !== null && b !== void 0 ? b : "There was an error while uploading the file.", exception: (E = g.response.data.exception) !== null && E !== void 0 ? E : "" });
482
485
  })];
483
486
  });
484
487
  });
@@ -836,59 +839,59 @@ function vr() {
836
839
  pr = 1;
837
840
  var n = ae, e = Oi(), t = xi(), r = ts, s = Di(), i = ki(), o = Li(), u = ss(), l = rs, a = qt();
838
841
  return sn = function(f) {
839
- return new Promise(function(v, b) {
840
- var w = f.data, O = f.headers, g = f.responseType, R;
842
+ return new Promise(function(m, g) {
843
+ var b = f.data, E = f.headers, _ = f.responseType, S;
841
844
  function k() {
842
- f.cancelToken && f.cancelToken.unsubscribe(R), f.signal && f.signal.removeEventListener("abort", R);
845
+ f.cancelToken && f.cancelToken.unsubscribe(S), f.signal && f.signal.removeEventListener("abort", S);
843
846
  }
844
- n.isFormData(w) && delete O["Content-Type"];
845
- var m = new XMLHttpRequest();
847
+ n.isFormData(b) && delete E["Content-Type"];
848
+ var y = new XMLHttpRequest();
846
849
  if (f.auth) {
847
- var M = f.auth.username || "", S = f.auth.password ? unescape(encodeURIComponent(f.auth.password)) : "";
848
- O.Authorization = "Basic " + btoa(M + ":" + S);
850
+ var M = f.auth.username || "", T = f.auth.password ? unescape(encodeURIComponent(f.auth.password)) : "";
851
+ E.Authorization = "Basic " + btoa(M + ":" + T);
849
852
  }
850
853
  var V = s(f.baseURL, f.url);
851
- m.open(f.method.toUpperCase(), r(V, f.params, f.paramsSerializer), !0), m.timeout = f.timeout;
854
+ y.open(f.method.toUpperCase(), r(V, f.params, f.paramsSerializer), !0), y.timeout = f.timeout;
852
855
  function D() {
853
- if (!!m) {
854
- var L = "getAllResponseHeaders" in m ? i(m.getAllResponseHeaders()) : null, Q = !g || g === "text" || g === "json" ? m.responseText : m.response, ne = {
856
+ if (!!y) {
857
+ var L = "getAllResponseHeaders" in y ? i(y.getAllResponseHeaders()) : null, Q = !_ || _ === "text" || _ === "json" ? y.responseText : y.response, ne = {
855
858
  data: Q,
856
- status: m.status,
857
- statusText: m.statusText,
859
+ status: y.status,
860
+ statusText: y.statusText,
858
861
  headers: L,
859
862
  config: f,
860
- request: m
863
+ request: y
861
864
  };
862
865
  e(function(F) {
863
- v(F), k();
866
+ m(F), k();
864
867
  }, function(F) {
865
- b(F), k();
866
- }, ne), m = null;
868
+ g(F), k();
869
+ }, ne), y = null;
867
870
  }
868
871
  }
869
- if ("onloadend" in m ? m.onloadend = D : m.onreadystatechange = function() {
870
- !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(D);
871
- }, m.onabort = function() {
872
- !m || (b(u("Request aborted", f, "ECONNABORTED", m)), m = null);
873
- }, m.onerror = function() {
874
- b(u("Network Error", f, null, m)), m = null;
875
- }, m.ontimeout = function() {
872
+ if ("onloadend" in y ? y.onloadend = D : y.onreadystatechange = function() {
873
+ !y || y.readyState !== 4 || y.status === 0 && !(y.responseURL && y.responseURL.indexOf("file:") === 0) || setTimeout(D);
874
+ }, y.onabort = function() {
875
+ !y || (g(u("Request aborted", f, "ECONNABORTED", y)), y = null);
876
+ }, y.onerror = function() {
877
+ g(u("Network Error", f, null, y)), y = null;
878
+ }, y.ontimeout = function() {
876
879
  var Q = f.timeout ? "timeout of " + f.timeout + "ms exceeded" : "timeout exceeded", ne = f.transitional || l;
877
- f.timeoutErrorMessage && (Q = f.timeoutErrorMessage), b(u(
880
+ f.timeoutErrorMessage && (Q = f.timeoutErrorMessage), g(u(
878
881
  Q,
879
882
  f,
880
883
  ne.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED",
881
- m
882
- )), m = null;
884
+ y
885
+ )), y = null;
883
886
  }, n.isStandardBrowserEnv()) {
884
887
  var j = (f.withCredentials || o(V)) && f.xsrfCookieName ? t.read(f.xsrfCookieName) : void 0;
885
- j && (O[f.xsrfHeaderName] = j);
888
+ j && (E[f.xsrfHeaderName] = j);
886
889
  }
887
- "setRequestHeader" in m && n.forEach(O, function(Q, ne) {
888
- typeof w > "u" && ne.toLowerCase() === "content-type" ? delete O[ne] : m.setRequestHeader(ne, Q);
889
- }), n.isUndefined(f.withCredentials) || (m.withCredentials = !!f.withCredentials), g && g !== "json" && (m.responseType = f.responseType), typeof f.onDownloadProgress == "function" && m.addEventListener("progress", f.onDownloadProgress), typeof f.onUploadProgress == "function" && m.upload && m.upload.addEventListener("progress", f.onUploadProgress), (f.cancelToken || f.signal) && (R = function(L) {
890
- !m || (b(!L || L && L.type ? new a("canceled") : L), m.abort(), m = null);
891
- }, f.cancelToken && f.cancelToken.subscribe(R), f.signal && (f.signal.aborted ? R() : f.signal.addEventListener("abort", R))), w || (w = null), m.send(w);
890
+ "setRequestHeader" in y && n.forEach(E, function(Q, ne) {
891
+ typeof b > "u" && ne.toLowerCase() === "content-type" ? delete E[ne] : y.setRequestHeader(ne, Q);
892
+ }), n.isUndefined(f.withCredentials) || (y.withCredentials = !!f.withCredentials), _ && _ !== "json" && (y.responseType = f.responseType), typeof f.onDownloadProgress == "function" && y.addEventListener("progress", f.onDownloadProgress), typeof f.onUploadProgress == "function" && y.upload && y.upload.addEventListener("progress", f.onUploadProgress), (f.cancelToken || f.signal) && (S = function(L) {
893
+ !y || (g(!L || L && L.type ? new a("canceled") : L), y.abort(), y = null);
894
+ }, f.cancelToken && f.cancelToken.subscribe(S), f.signal && (f.signal.aborted ? S() : f.signal.addEventListener("abort", S))), b || (b = null), y.send(b);
892
895
  });
893
896
  }, sn;
894
897
  }
@@ -1056,8 +1059,8 @@ var Wi = function(e) {
1056
1059
  validateStatus: l
1057
1060
  };
1058
1061
  return ue.forEach(Object.keys(e).concat(Object.keys(t)), function(f) {
1059
- var p = a[f] || i, v = p(f);
1060
- ue.isUndefined(v) && p !== l || (r[f] = v);
1062
+ var p = a[f] || i, m = p(f);
1063
+ ue.isUndefined(m) && p !== l || (r[f] = m);
1061
1064
  }), r;
1062
1065
  }, cn, br;
1063
1066
  function as() {
@@ -1121,12 +1124,12 @@ pt.prototype.request = function(e, t) {
1121
1124
  clarifyTimeoutError: ze.transitional(ze.boolean)
1122
1125
  }, !1);
1123
1126
  var s = [], i = !0;
1124
- this.interceptors.request.forEach(function(v) {
1125
- typeof v.runWhen == "function" && v.runWhen(t) === !1 || (i = i && v.synchronous, s.unshift(v.fulfilled, v.rejected));
1127
+ this.interceptors.request.forEach(function(m) {
1128
+ typeof m.runWhen == "function" && m.runWhen(t) === !1 || (i = i && m.synchronous, s.unshift(m.fulfilled, m.rejected));
1126
1129
  });
1127
1130
  var o = [];
1128
- this.interceptors.response.forEach(function(v) {
1129
- o.push(v.fulfilled, v.rejected);
1131
+ this.interceptors.response.forEach(function(m) {
1132
+ o.push(m.fulfilled, m.rejected);
1130
1133
  });
1131
1134
  var u;
1132
1135
  if (!i) {
@@ -1511,21 +1514,21 @@ function ao() {
1511
1514
  }
1512
1515
  var t = typeof Object.is == "function" ? Object.is : e, r = n.useState, s = n.useEffect, i = n.useLayoutEffect, o = n.useDebugValue;
1513
1516
  function u(f, p) {
1514
- var v = p(), b = r({ inst: { value: v, getSnapshot: p } }), w = b[0].inst, O = b[1];
1517
+ var m = p(), g = r({ inst: { value: m, getSnapshot: p } }), b = g[0].inst, E = g[1];
1515
1518
  return i(function() {
1516
- w.value = v, w.getSnapshot = p, l(w) && O({ inst: w });
1517
- }, [f, v, p]), s(function() {
1518
- return l(w) && O({ inst: w }), f(function() {
1519
- l(w) && O({ inst: w });
1519
+ b.value = m, b.getSnapshot = p, l(b) && E({ inst: b });
1520
+ }, [f, m, p]), s(function() {
1521
+ return l(b) && E({ inst: b }), f(function() {
1522
+ l(b) && E({ inst: b });
1520
1523
  });
1521
- }, [f]), o(v), v;
1524
+ }, [f]), o(m), m;
1522
1525
  }
1523
1526
  function l(f) {
1524
1527
  var p = f.getSnapshot;
1525
1528
  f = f.value;
1526
1529
  try {
1527
- var v = p();
1528
- return !t(f, v);
1530
+ var m = p();
1531
+ return !t(f, m);
1529
1532
  } catch {
1530
1533
  return !0;
1531
1534
  }
@@ -1553,68 +1556,68 @@ function uo() {
1553
1556
  var n = qe, e = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1554
1557
  function t(k) {
1555
1558
  {
1556
- for (var m = arguments.length, M = new Array(m > 1 ? m - 1 : 0), S = 1; S < m; S++)
1557
- M[S - 1] = arguments[S];
1559
+ for (var y = arguments.length, M = new Array(y > 1 ? y - 1 : 0), T = 1; T < y; T++)
1560
+ M[T - 1] = arguments[T];
1558
1561
  r("error", k, M);
1559
1562
  }
1560
1563
  }
1561
- function r(k, m, M) {
1564
+ function r(k, y, M) {
1562
1565
  {
1563
- var S = e.ReactDebugCurrentFrame, V = S.getStackAddendum();
1564
- V !== "" && (m += "%s", M = M.concat([V]));
1566
+ var T = e.ReactDebugCurrentFrame, V = T.getStackAddendum();
1567
+ V !== "" && (y += "%s", M = M.concat([V]));
1565
1568
  var D = M.map(function(j) {
1566
1569
  return String(j);
1567
1570
  });
1568
- D.unshift("Warning: " + m), Function.prototype.apply.call(console[k], console, D);
1571
+ D.unshift("Warning: " + y), Function.prototype.apply.call(console[k], console, D);
1569
1572
  }
1570
1573
  }
1571
- function s(k, m) {
1572
- return k === m && (k !== 0 || 1 / k === 1 / m) || k !== k && m !== m;
1574
+ function s(k, y) {
1575
+ return k === y && (k !== 0 || 1 / k === 1 / y) || k !== k && y !== y;
1573
1576
  }
1574
1577
  var i = typeof Object.is == "function" ? Object.is : s, o = n.useState, u = n.useEffect, l = n.useLayoutEffect, a = n.useDebugValue, h = !1, f = !1;
1575
- function p(k, m, M) {
1578
+ function p(k, y, M) {
1576
1579
  h || n.startTransition !== void 0 && (h = !0, t("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
1577
- var S = m();
1580
+ var T = y();
1578
1581
  if (!f) {
1579
- var V = m();
1580
- i(S, V) || (t("The result of getSnapshot should be cached to avoid an infinite loop"), f = !0);
1582
+ var V = y();
1583
+ i(T, V) || (t("The result of getSnapshot should be cached to avoid an infinite loop"), f = !0);
1581
1584
  }
1582
1585
  var D = o({
1583
1586
  inst: {
1584
- value: S,
1585
- getSnapshot: m
1587
+ value: T,
1588
+ getSnapshot: y
1586
1589
  }
1587
1590
  }), j = D[0].inst, L = D[1];
1588
1591
  return l(function() {
1589
- j.value = S, j.getSnapshot = m, v(j) && L({
1592
+ j.value = T, j.getSnapshot = y, m(j) && L({
1590
1593
  inst: j
1591
1594
  });
1592
- }, [k, S, m]), u(function() {
1593
- v(j) && L({
1595
+ }, [k, T, y]), u(function() {
1596
+ m(j) && L({
1594
1597
  inst: j
1595
1598
  });
1596
1599
  var Q = function() {
1597
- v(j) && L({
1600
+ m(j) && L({
1598
1601
  inst: j
1599
1602
  });
1600
1603
  };
1601
1604
  return k(Q);
1602
- }, [k]), a(S), S;
1605
+ }, [k]), a(T), T;
1603
1606
  }
1604
- function v(k) {
1605
- var m = k.getSnapshot, M = k.value;
1607
+ function m(k) {
1608
+ var y = k.getSnapshot, M = k.value;
1606
1609
  try {
1607
- var S = m();
1608
- return !i(M, S);
1610
+ var T = y();
1611
+ return !i(M, T);
1609
1612
  } catch {
1610
1613
  return !0;
1611
1614
  }
1612
1615
  }
1613
- function b(k, m, M) {
1614
- return m();
1616
+ function g(k, y, M) {
1617
+ return y();
1615
1618
  }
1616
- var w = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", O = !w, g = O ? b : p, R = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : g;
1617
- pn.useSyncExternalStore = R, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1619
+ var b = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", E = !b, _ = E ? g : p, S = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : _;
1620
+ pn.useSyncExternalStore = S, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1618
1621
  }()), pn;
1619
1622
  }
1620
1623
  (function(n) {
@@ -1723,68 +1726,68 @@ async function gs(...n) {
1723
1726
  let o = i.populateCache;
1724
1727
  const u = i.rollbackOnError;
1725
1728
  let l = i.optimisticData;
1726
- const a = i.revalidate !== !1, h = (v) => typeof u == "function" ? u(v) : u !== !1, f = i.throwOnError;
1729
+ const a = i.revalidate !== !1, h = (m) => typeof u == "function" ? u(m) : u !== !1, f = i.throwOnError;
1727
1730
  if (Oe(t)) {
1728
- const v = t, b = [], w = e.keys();
1729
- for (const O of w)
1730
- !/^\$(inf|sub)\$/.test(O) && v(e.get(O)._k) && b.push(O);
1731
- return Promise.all(b.map(p));
1731
+ const m = t, g = [], b = e.keys();
1732
+ for (const E of b)
1733
+ !/^\$(inf|sub)\$/.test(E) && m(e.get(E)._k) && g.push(E);
1734
+ return Promise.all(g.map(p));
1732
1735
  }
1733
1736
  return p(t);
1734
- async function p(v) {
1735
- const [b] = $n(v);
1736
- if (!b)
1737
+ async function p(m) {
1738
+ const [g] = $n(m);
1739
+ if (!g)
1737
1740
  return;
1738
- const [w, O] = ps(e, b), [g, R, k, m] = Te.get(e), M = () => {
1739
- const F = g[b];
1740
- return a && (delete k[b], delete m[b], F && F[0]) ? F[0](ms).then(() => w().data) : w().data;
1741
+ const [b, E] = ps(e, g), [_, S, k, y] = Te.get(e), M = () => {
1742
+ const F = _[g];
1743
+ return a && (delete k[g], delete y[g], F && F[0]) ? F[0](ms).then(() => b().data) : b().data;
1741
1744
  };
1742
1745
  if (n.length < 3)
1743
1746
  return M();
1744
- let S = r, V;
1747
+ let T = r, V;
1745
1748
  const D = Cn();
1746
- R[b] = [
1749
+ S[g] = [
1747
1750
  D,
1748
1751
  0
1749
1752
  ];
1750
- const j = !C(l), L = w(), Q = L.data, ne = L._c, G = C(ne) ? Q : ne;
1751
- if (j && (l = Oe(l) ? l(G, Q) : l, O({
1753
+ const j = !C(l), L = b(), Q = L.data, ne = L._c, G = C(ne) ? Q : ne;
1754
+ if (j && (l = Oe(l) ? l(G, Q) : l, E({
1752
1755
  data: l,
1753
1756
  _c: G
1754
- })), Oe(S))
1757
+ })), Oe(T))
1755
1758
  try {
1756
- S = S(G);
1759
+ T = T(G);
1757
1760
  } catch (F) {
1758
1761
  V = F;
1759
1762
  }
1760
- if (S && co(S))
1761
- if (S = await S.catch((F) => {
1763
+ if (T && co(T))
1764
+ if (T = await T.catch((F) => {
1762
1765
  V = F;
1763
- }), D !== R[b][0]) {
1766
+ }), D !== S[g][0]) {
1764
1767
  if (V)
1765
1768
  throw V;
1766
- return S;
1769
+ return T;
1767
1770
  } else
1768
- V && j && h(V) && (o = !0, O({
1771
+ V && j && h(V) && (o = !0, E({
1769
1772
  data: G,
1770
1773
  _c: oe
1771
1774
  }));
1772
1775
  if (o && !V)
1773
1776
  if (Oe(o)) {
1774
- const F = o(S, G);
1775
- O({
1777
+ const F = o(T, G);
1778
+ E({
1776
1779
  data: F,
1777
1780
  error: oe,
1778
1781
  _c: oe
1779
1782
  });
1780
1783
  } else
1781
- O({
1782
- data: S,
1784
+ E({
1785
+ data: T,
1783
1786
  error: oe,
1784
1787
  _c: oe
1785
1788
  });
1786
- if (R[b][1] = Cn(), Promise.resolve(M()).then(() => {
1787
- O({
1789
+ if (S[g][1] = Cn(), Promise.resolve(M()).then(() => {
1790
+ E({
1788
1791
  _c: oe
1789
1792
  });
1790
1793
  }), V) {
@@ -1792,7 +1795,7 @@ async function gs(...n) {
1792
1795
  throw V;
1793
1796
  return;
1794
1797
  }
1795
- return S;
1798
+ return T;
1796
1799
  }
1797
1800
  }
1798
1801
  const Pr = (n, e) => {
@@ -1807,10 +1810,10 @@ const Pr = (n, e) => {
1807
1810
  return o[h] = p, p.push(f), () => p.splice(p.indexOf(f), 1);
1808
1811
  }, l = (h, f, p) => {
1809
1812
  n.set(h, f);
1810
- const v = o[h];
1811
- if (v)
1812
- for (const b of v)
1813
- b(f, p);
1813
+ const m = o[h];
1814
+ if (m)
1815
+ for (const g of m)
1816
+ g(f, p);
1814
1817
  }, a = () => {
1815
1818
  if (!Te.has(n) && (Te.set(n, [
1816
1819
  r,
@@ -1914,7 +1917,7 @@ const Br = qe.use || ((n) => {
1914
1917
  }), _n = {
1915
1918
  dedupe: !0
1916
1919
  }, qo = (n, e, t) => {
1917
- const { cache: r, compare: s, suspense: i, fallbackData: o, revalidateOnMount: u, revalidateIfStale: l, refreshInterval: a, refreshWhenHidden: h, refreshWhenOffline: f, keepPreviousData: p } = t, [v, b, w, O] = Te.get(r), [g, R] = $n(n), k = Be(!1), m = Be(!1), M = Be(g), S = Be(e), V = Be(t), D = () => V.current, j = () => D().isVisible() && D().isOnline(), [L, Q, ne, G] = ps(r, g), F = Be({}).current, Le = C(o) ? t.fallback[g] : o, Qe = (N, U) => {
1920
+ const { cache: r, compare: s, suspense: i, fallbackData: o, revalidateOnMount: u, revalidateIfStale: l, refreshInterval: a, refreshWhenHidden: h, refreshWhenOffline: f, keepPreviousData: p } = t, [m, g, b, E] = Te.get(r), [_, S] = $n(n), k = Be(!1), y = Be(!1), M = Be(_), T = Be(e), V = Be(t), D = () => V.current, j = () => D().isVisible() && D().isOnline(), [L, Q, ne, G] = ps(r, _), F = Be({}).current, Le = C(o) ? t.fallback[_] : o, Qe = (N, U) => {
1918
1921
  for (const X in F) {
1919
1922
  const I = X;
1920
1923
  if (I === "data") {
@@ -1925,7 +1928,7 @@ const Br = qe.use || ((n) => {
1925
1928
  }
1926
1929
  return !0;
1927
1930
  }, Ze = Kr(() => {
1928
- const N = (() => !g || !e ? !1 : C(u) ? D().isPaused() || i ? !1 : C(l) ? !0 : l : u)(), U = (J) => {
1931
+ const N = (() => !_ || !e ? !1 : C(u) ? D().isPaused() || i ? !1 : C(l) ? !0 : l : u)(), U = (J) => {
1929
1932
  const de = De(J);
1930
1933
  return delete de._k, N ? {
1931
1934
  isValidating: !0,
@@ -1943,52 +1946,52 @@ const Br = qe.use || ((n) => {
1943
1946
  ];
1944
1947
  }, [
1945
1948
  r,
1946
- g
1949
+ _
1947
1950
  ]), be = ds.exports.useSyncExternalStore($(
1948
- (N) => ne(g, (U, X) => {
1951
+ (N) => ne(_, (U, X) => {
1949
1952
  Qe(X, U) || N();
1950
1953
  }),
1951
1954
  [
1952
1955
  r,
1953
- g
1956
+ _
1954
1957
  ]
1955
- ), Ze[0], Ze[1]), et = !k.current, yt = v[g] && v[g].length > 0, we = be.data, Ee = C(we) ? Le : we, Ne = be.error, mt = Be(Ee), Ie = p ? C(we) ? mt.current : we : Ee, Ve = (() => yt && !C(Ne) ? !1 : et && !C(u) ? u : D().isPaused() ? !1 : i ? C(Ee) ? !1 : l : C(Ee) || l)(), je = !!(g && e && et && Ve), $e = C(be.isValidating) ? je : be.isValidating, tt = C(be.isLoading) ? je : be.isLoading, ve = $(
1958
+ ), Ze[0], Ze[1]), et = !k.current, yt = m[_] && m[_].length > 0, we = be.data, Ee = C(we) ? Le : we, Ne = be.error, mt = Be(Ee), Ie = p ? C(we) ? mt.current : we : Ee, Ve = (() => yt && !C(Ne) ? !1 : et && !C(u) ? u : D().isPaused() ? !1 : i ? C(Ee) ? !1 : l : C(Ee) || l)(), je = !!(_ && e && et && Ve), $e = C(be.isValidating) ? je : be.isValidating, tt = C(be.isLoading) ? je : be.isLoading, ve = $(
1956
1959
  async (N) => {
1957
- const U = S.current;
1958
- if (!g || !U || m.current || D().isPaused())
1960
+ const U = T.current;
1961
+ if (!_ || !U || y.current || D().isPaused())
1959
1962
  return !1;
1960
1963
  let X, I, re = !0;
1961
- const Re = N || {}, H = !w[g] || !Re.dedupe, J = () => Lr ? !m.current && g === M.current && k.current : g === M.current, de = {
1964
+ const Re = N || {}, H = !b[_] || !Re.dedupe, J = () => Lr ? !y.current && _ === M.current && k.current : _ === M.current, de = {
1962
1965
  isValidating: !1,
1963
1966
  isLoading: !1
1964
1967
  }, _t = () => {
1965
1968
  Q(de);
1966
1969
  }, Me = () => {
1967
- const ie = w[g];
1968
- ie && ie[1] === I && delete w[g];
1970
+ const ie = b[_];
1971
+ ie && ie[1] === I && delete b[_];
1969
1972
  }, bt = {
1970
1973
  isValidating: !0
1971
1974
  };
1972
1975
  C(L().data) && (bt.isLoading = !0);
1973
1976
  try {
1974
1977
  if (H && (Q(bt), t.loadingTimeout && C(L().data) && setTimeout(() => {
1975
- re && J() && D().onLoadingSlow(g, t);
1976
- }, t.loadingTimeout), w[g] = [
1977
- U(R),
1978
+ re && J() && D().onLoadingSlow(_, t);
1979
+ }, t.loadingTimeout), b[_] = [
1980
+ U(S),
1978
1981
  Cn()
1979
- ]), [X, I] = w[g], X = await X, H && setTimeout(Me, t.dedupingInterval), !w[g] || w[g][1] !== I)
1980
- return H && J() && D().onDiscarded(g), !1;
1982
+ ]), [X, I] = b[_], X = await X, H && setTimeout(Me, t.dedupingInterval), !b[_] || b[_][1] !== I)
1983
+ return H && J() && D().onDiscarded(_), !1;
1981
1984
  de.error = oe;
1982
- const ie = b[g];
1985
+ const ie = g[_];
1983
1986
  if (!C(ie) && (I <= ie[0] || I <= ie[1] || ie[1] === 0))
1984
- return _t(), H && J() && D().onDiscarded(g), !1;
1987
+ return _t(), H && J() && D().onDiscarded(_), !1;
1985
1988
  const ce = L().data;
1986
- de.data = s(ce, X) ? ce : X, H && J() && D().onSuccess(X, g, t);
1989
+ de.data = s(ce, X) ? ce : X, H && J() && D().onSuccess(X, _, t);
1987
1990
  } catch (ie) {
1988
1991
  Me();
1989
1992
  const ce = D(), { shouldRetryOnError: We } = ce;
1990
- ce.isPaused() || (de.error = ie, H && J() && (ce.onError(ie, g, ce), (We === !0 || Oe(We) && We(ie)) && j() && ce.onErrorRetry(ie, g, ce, (Pe) => {
1991
- const nt = v[g];
1993
+ ce.isPaused() || (de.error = ie, H && J() && (ce.onError(ie, _, ce), (We === !0 || Oe(We) && We(ie)) && j() && ce.onErrorRetry(ie, _, ce, (Pe) => {
1994
+ const nt = m[_];
1992
1995
  nt && nt[0] && nt[0](st.ERROR_REVALIDATE_EVENT, Pe);
1993
1996
  }, {
1994
1997
  retryCount: (Re.retryCount || 0) + 1,
@@ -1998,7 +2001,7 @@ const Br = qe.use || ((n) => {
1998
2001
  return re = !1, _t(), !0;
1999
2002
  },
2000
2003
  [
2001
- g,
2004
+ _,
2002
2005
  r
2003
2006
  ]
2004
2007
  ), gt = $(
@@ -2006,13 +2009,13 @@ const Br = qe.use || ((n) => {
2006
2009
  []
2007
2010
  );
2008
2011
  if (mn(() => {
2009
- S.current = e, V.current = t, C(we) || (mt.current = we);
2012
+ T.current = e, V.current = t, C(we) || (mt.current = we);
2010
2013
  }), mn(() => {
2011
- if (!g)
2014
+ if (!_)
2012
2015
  return;
2013
2016
  const N = ve.bind(oe, _n);
2014
2017
  let U = 0;
2015
- const I = Uo(g, v, (re, Re = {}) => {
2018
+ const I = Uo(_, m, (re, Re = {}) => {
2016
2019
  if (re == st.FOCUS_EVENT) {
2017
2020
  const H = Date.now();
2018
2021
  D().revalidateOnFocus && H > U && j() && (U = H + D().focusThrottleInterval, N());
@@ -2025,13 +2028,13 @@ const Br = qe.use || ((n) => {
2025
2028
  return ve(Re);
2026
2029
  }
2027
2030
  });
2028
- return m.current = !1, M.current = g, k.current = !0, Q({
2029
- _k: R
2031
+ return y.current = !1, M.current = _, k.current = !0, Q({
2032
+ _k: S
2030
2033
  }), Ve && (C(Ee) || lt ? N() : _o(N)), () => {
2031
- m.current = !0, I();
2034
+ y.current = !0, I();
2032
2035
  };
2033
2036
  }, [
2034
- g
2037
+ _
2035
2038
  ]), mn(() => {
2036
2039
  let N;
2037
2040
  function U() {
@@ -2048,12 +2051,12 @@ const Br = qe.use || ((n) => {
2048
2051
  a,
2049
2052
  h,
2050
2053
  f,
2051
- g
2052
- ]), ti(Ie), i && C(Ee) && g) {
2054
+ _
2055
+ ]), ti(Ie), i && C(Ee) && _) {
2053
2056
  if (!Lr && lt)
2054
2057
  throw new Error("Fallback data is required when using suspense in SSR.");
2055
- S.current = e, V.current = t, m.current = !1;
2056
- const N = O[g];
2058
+ T.current = e, V.current = t, y.current = !1;
2059
+ const N = E[_];
2057
2060
  if (!C(N)) {
2058
2061
  const U = gt(N);
2059
2062
  Br(U);
@@ -2989,17 +2992,17 @@ const Ea = [
2989
2992
  "newListener",
2990
2993
  "removeListener"
2991
2994
  ], Ra = 5;
2992
- var T;
2995
+ var O;
2993
2996
  (function(n) {
2994
2997
  n[n.CONNECT = 0] = "CONNECT", n[n.DISCONNECT = 1] = "DISCONNECT", n[n.EVENT = 2] = "EVENT", n[n.ACK = 3] = "ACK", n[n.CONNECT_ERROR = 4] = "CONNECT_ERROR", n[n.BINARY_EVENT = 5] = "BINARY_EVENT", n[n.BINARY_ACK = 6] = "BINARY_ACK";
2995
- })(T || (T = {}));
2998
+ })(O || (O = {}));
2996
2999
  class Sa {
2997
3000
  constructor(e) {
2998
3001
  this.replacer = e;
2999
3002
  }
3000
3003
  encode(e) {
3001
- return (e.type === T.EVENT || e.type === T.ACK) && Pt(e) ? this.encodeAsBinary({
3002
- type: e.type === T.EVENT ? T.BINARY_EVENT : T.BINARY_ACK,
3004
+ return (e.type === O.EVENT || e.type === O.ACK) && Pt(e) ? this.encodeAsBinary({
3005
+ type: e.type === O.EVENT ? O.BINARY_EVENT : O.BINARY_ACK,
3003
3006
  nsp: e.nsp,
3004
3007
  data: e.data,
3005
3008
  id: e.id
@@ -3007,7 +3010,7 @@ class Sa {
3007
3010
  }
3008
3011
  encodeAsString(e) {
3009
3012
  let t = "" + e.type;
3010
- return (e.type === T.BINARY_EVENT || e.type === T.BINARY_ACK) && (t += e.attachments + "-"), e.nsp && e.nsp !== "/" && (t += e.nsp + ","), e.id != null && (t += e.id), e.data != null && (t += JSON.stringify(e.data, this.replacer)), t;
3013
+ return (e.type === O.BINARY_EVENT || e.type === O.BINARY_ACK) && (t += e.attachments + "-"), e.nsp && e.nsp !== "/" && (t += e.nsp + ","), e.id != null && (t += e.id), e.data != null && (t += JSON.stringify(e.data, this.replacer)), t;
3011
3014
  }
3012
3015
  encodeAsBinary(e) {
3013
3016
  const t = ba(e), r = this.encodeAsString(t.packet), s = t.buffers;
@@ -3027,8 +3030,8 @@ class zn extends K {
3027
3030
  if (this.reconstructor)
3028
3031
  throw new Error("got plaintext data when reconstructing a packet");
3029
3032
  t = this.decodeString(e);
3030
- const r = t.type === T.BINARY_EVENT;
3031
- r || t.type === T.BINARY_ACK ? (t.type = r ? T.EVENT : T.ACK, this.reconstructor = new Ta(t), t.attachments === 0 && super.emitReserved("decoded", t)) : super.emitReserved("decoded", t);
3033
+ const r = t.type === O.BINARY_EVENT;
3034
+ r || t.type === O.BINARY_ACK ? (t.type = r ? O.EVENT : O.ACK, this.reconstructor = new Ta(t), t.attachments === 0 && super.emitReserved("decoded", t)) : super.emitReserved("decoded", t);
3032
3035
  } else if (Yn(e) || e.base64)
3033
3036
  if (this.reconstructor)
3034
3037
  t = this.reconstructor.takeBinaryData(e), t && (this.reconstructor = null, super.emitReserved("decoded", t));
@@ -3042,9 +3045,9 @@ class zn extends K {
3042
3045
  const r = {
3043
3046
  type: Number(e.charAt(0))
3044
3047
  };
3045
- if (T[r.type] === void 0)
3048
+ if (O[r.type] === void 0)
3046
3049
  throw new Error("unknown packet type " + r.type);
3047
- if (r.type === T.BINARY_EVENT || r.type === T.BINARY_ACK) {
3050
+ if (r.type === O.BINARY_EVENT || r.type === O.BINARY_ACK) {
3048
3051
  const i = t + 1;
3049
3052
  for (; e.charAt(++t) !== "-" && t != e.length; )
3050
3053
  ;
@@ -3092,17 +3095,17 @@ class zn extends K {
3092
3095
  }
3093
3096
  static isPayloadValid(e, t) {
3094
3097
  switch (e) {
3095
- case T.CONNECT:
3098
+ case O.CONNECT:
3096
3099
  return Hr(t);
3097
- case T.DISCONNECT:
3100
+ case O.DISCONNECT:
3098
3101
  return t === void 0;
3099
- case T.CONNECT_ERROR:
3102
+ case O.CONNECT_ERROR:
3100
3103
  return typeof t == "string" || Hr(t);
3101
- case T.EVENT:
3102
- case T.BINARY_EVENT:
3104
+ case O.EVENT:
3105
+ case O.BINARY_EVENT:
3103
3106
  return Array.isArray(t) && (typeof t[0] == "number" || typeof t[0] == "string" && Ea.indexOf(t[0]) === -1);
3104
- case T.ACK:
3105
- case T.BINARY_ACK:
3107
+ case O.ACK:
3108
+ case O.BINARY_ACK:
3106
3109
  return Array.isArray(t);
3107
3110
  }
3108
3111
  }
@@ -3129,7 +3132,7 @@ const Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3129
3132
  __proto__: null,
3130
3133
  protocol: Ra,
3131
3134
  get PacketType() {
3132
- return T;
3135
+ return O;
3133
3136
  },
3134
3137
  Encoder: Sa,
3135
3138
  Decoder: zn
@@ -3183,7 +3186,7 @@ class Ns extends K {
3183
3186
  if (t.unshift(e), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
3184
3187
  return this._addToQueue(t), this;
3185
3188
  const r = {
3186
- type: T.EVENT,
3189
+ type: O.EVENT,
3187
3190
  data: t
3188
3191
  };
3189
3192
  if (r.options = {}, r.options.compress = this.flags.compress !== !1, typeof t[t.length - 1] == "function") {
@@ -3244,7 +3247,7 @@ class Ns extends K {
3244
3247
  }
3245
3248
  _sendConnectPacket(e) {
3246
3249
  this.packet({
3247
- type: T.CONNECT,
3250
+ type: O.CONNECT,
3248
3251
  data: this._pid ? Object.assign({ pid: this._pid, offset: this._lastOffset }, e) : e
3249
3252
  });
3250
3253
  }
@@ -3257,21 +3260,21 @@ class Ns extends K {
3257
3260
  onpacket(e) {
3258
3261
  if (e.nsp === this.nsp)
3259
3262
  switch (e.type) {
3260
- case T.CONNECT:
3263
+ case O.CONNECT:
3261
3264
  e.data && e.data.sid ? this.onconnect(e.data.sid, e.data.pid) : this.emitReserved("connect_error", new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));
3262
3265
  break;
3263
- case T.EVENT:
3264
- case T.BINARY_EVENT:
3266
+ case O.EVENT:
3267
+ case O.BINARY_EVENT:
3265
3268
  this.onevent(e);
3266
3269
  break;
3267
- case T.ACK:
3268
- case T.BINARY_ACK:
3270
+ case O.ACK:
3271
+ case O.BINARY_ACK:
3269
3272
  this.onack(e);
3270
3273
  break;
3271
- case T.DISCONNECT:
3274
+ case O.DISCONNECT:
3272
3275
  this.ondisconnect();
3273
3276
  break;
3274
- case T.CONNECT_ERROR:
3277
+ case O.CONNECT_ERROR:
3275
3278
  this.destroy();
3276
3279
  const r = new Error(e.data.message);
3277
3280
  r.data = e.data.data, this.emitReserved("connect_error", r);
@@ -3295,7 +3298,7 @@ class Ns extends K {
3295
3298
  let r = !1;
3296
3299
  return function(...s) {
3297
3300
  r || (r = !0, t.packet({
3298
- type: T.ACK,
3301
+ type: O.ACK,
3299
3302
  id: e,
3300
3303
  data: s
3301
3304
  }));
@@ -3320,7 +3323,7 @@ class Ns extends K {
3320
3323
  this.subs && (this.subs.forEach((e) => e()), this.subs = void 0), this.io._destroy(this);
3321
3324
  }
3322
3325
  disconnect() {
3323
- return this.connected && this.packet({ type: T.DISCONNECT }), this.destroy(), this.connected && this.onclose("io client disconnect"), this;
3326
+ return this.connected && this.packet({ type: O.DISCONNECT }), this.destroy(), this.connected && this.onclose("io client disconnect"), this;
3324
3327
  }
3325
3328
  close() {
3326
3329
  return this.disconnect();
@@ -3595,14 +3598,14 @@ function Aa() {
3595
3598
  Jr = 1;
3596
3599
  var n = qe, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
3597
3600
  function o(u, l, a) {
3598
- var h, f = {}, p = null, v = null;
3599
- a !== void 0 && (p = "" + a), l.key !== void 0 && (p = "" + l.key), l.ref !== void 0 && (v = l.ref);
3601
+ var h, f = {}, p = null, m = null;
3602
+ a !== void 0 && (p = "" + a), l.key !== void 0 && (p = "" + l.key), l.ref !== void 0 && (m = l.ref);
3600
3603
  for (h in l)
3601
3604
  r.call(l, h) && !i.hasOwnProperty(h) && (f[h] = l[h]);
3602
3605
  if (u && u.defaultProps)
3603
3606
  for (h in l = u.defaultProps, l)
3604
3607
  f[h] === void 0 && (f[h] = l[h]);
3605
- return { $$typeof: e, type: u, key: p, ref: v, props: f, _owner: s.current };
3608
+ return { $$typeof: e, type: u, key: p, ref: m, props: f, _owner: s.current };
3606
3609
  }
3607
3610
  return ot.Fragment = t, ot.jsx = o, ot.jsxs = o, ot;
3608
3611
  }
@@ -3619,42 +3622,42 @@ var at = {};
3619
3622
  var Yr;
3620
3623
  function Da() {
3621
3624
  return Yr || (Yr = 1, process.env.NODE_ENV !== "production" && function() {
3622
- var n = qe, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), u = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), b = Symbol.iterator, w = "@@iterator";
3623
- function O(c) {
3625
+ var n = qe, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), u = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), g = Symbol.iterator, b = "@@iterator";
3626
+ function E(c) {
3624
3627
  if (c === null || typeof c != "object")
3625
3628
  return null;
3626
- var d = b && c[b] || c[w];
3629
+ var d = g && c[g] || c[b];
3627
3630
  return typeof d == "function" ? d : null;
3628
3631
  }
3629
- var g = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3630
- function R(c) {
3632
+ var _ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3633
+ function S(c) {
3631
3634
  {
3632
- for (var d = arguments.length, y = new Array(d > 1 ? d - 1 : 0), _ = 1; _ < d; _++)
3633
- y[_ - 1] = arguments[_];
3634
- k("error", c, y);
3635
+ for (var d = arguments.length, v = new Array(d > 1 ? d - 1 : 0), w = 1; w < d; w++)
3636
+ v[w - 1] = arguments[w];
3637
+ k("error", c, v);
3635
3638
  }
3636
3639
  }
3637
- function k(c, d, y) {
3640
+ function k(c, d, v) {
3638
3641
  {
3639
- var _ = g.ReactDebugCurrentFrame, A = _.getStackAddendum();
3640
- A !== "" && (d += "%s", y = y.concat([A]));
3641
- var q = y.map(function(x) {
3642
+ var w = _.ReactDebugCurrentFrame, A = w.getStackAddendum();
3643
+ A !== "" && (d += "%s", v = v.concat([A]));
3644
+ var q = v.map(function(x) {
3642
3645
  return String(x);
3643
3646
  });
3644
3647
  q.unshift("Warning: " + d), Function.prototype.apply.call(console[c], console, q);
3645
3648
  }
3646
3649
  }
3647
- var m = !1, M = !1, S = !1, V = !1, D = !1, j;
3650
+ var y = !1, M = !1, T = !1, V = !1, D = !1, j;
3648
3651
  j = Symbol.for("react.module.reference");
3649
3652
  function L(c) {
3650
- return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || D || c === s || c === a || c === h || V || c === v || m || M || S || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === f || c.$$typeof === o || c.$$typeof === u || c.$$typeof === l || c.$$typeof === j || c.getModuleId !== void 0));
3653
+ return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || D || c === s || c === a || c === h || V || c === m || y || M || T || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === f || c.$$typeof === o || c.$$typeof === u || c.$$typeof === l || c.$$typeof === j || c.getModuleId !== void 0));
3651
3654
  }
3652
- function Q(c, d, y) {
3653
- var _ = c.displayName;
3654
- if (_)
3655
- return _;
3655
+ function Q(c, d, v) {
3656
+ var w = c.displayName;
3657
+ if (w)
3658
+ return w;
3656
3659
  var A = d.displayName || d.name || "";
3657
- return A !== "" ? y + "(" + A + ")" : y;
3660
+ return A !== "" ? v + "(" + A + ")" : v;
3658
3661
  }
3659
3662
  function ne(c) {
3660
3663
  return c.displayName || "Context";
@@ -3662,7 +3665,7 @@ function Da() {
3662
3665
  function G(c) {
3663
3666
  if (c == null)
3664
3667
  return null;
3665
- if (typeof c.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
3668
+ if (typeof c.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
3666
3669
  return c.displayName || c.name || null;
3667
3670
  if (typeof c == "string")
3668
3671
  return c;
@@ -3686,13 +3689,13 @@ function Da() {
3686
3689
  var d = c;
3687
3690
  return ne(d) + ".Consumer";
3688
3691
  case o:
3689
- var y = c;
3690
- return ne(y._context) + ".Provider";
3692
+ var v = c;
3693
+ return ne(v._context) + ".Provider";
3691
3694
  case l:
3692
3695
  return Q(c, c.render, "ForwardRef");
3693
3696
  case f:
3694
- var _ = c.displayName || null;
3695
- return _ !== null ? _ : G(c.type) || "Memo";
3697
+ var w = c.displayName || null;
3698
+ return w !== null ? w : G(c.type) || "Memo";
3696
3699
  case p: {
3697
3700
  var A = c, q = A._payload, x = A._init;
3698
3701
  try {
@@ -3763,18 +3766,18 @@ function Da() {
3763
3766
  })
3764
3767
  });
3765
3768
  }
3766
- Le < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3769
+ Le < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3767
3770
  }
3768
3771
  }
3769
- var Ve = g.ReactCurrentDispatcher, je;
3770
- function $e(c, d, y) {
3772
+ var Ve = _.ReactCurrentDispatcher, je;
3773
+ function $e(c, d, v) {
3771
3774
  {
3772
3775
  if (je === void 0)
3773
3776
  try {
3774
3777
  throw Error();
3775
3778
  } catch (A) {
3776
- var _ = A.stack.trim().match(/\n( *(at )?)/);
3777
- je = _ && _[1] || "";
3779
+ var w = A.stack.trim().match(/\n( *(at )?)/);
3780
+ je = w && w[1] || "";
3778
3781
  }
3779
3782
  return `
3780
3783
  ` + je + c;
@@ -3789,11 +3792,11 @@ function Da() {
3789
3792
  if (!c || tt)
3790
3793
  return "";
3791
3794
  {
3792
- var y = ve.get(c);
3793
- if (y !== void 0)
3794
- return y;
3795
+ var v = ve.get(c);
3796
+ if (v !== void 0)
3797
+ return v;
3795
3798
  }
3796
- var _;
3799
+ var w;
3797
3800
  tt = !0;
3798
3801
  var A = Error.prepareStackTrace;
3799
3802
  Error.prepareStackTrace = void 0;
@@ -3812,14 +3815,14 @@ function Da() {
3812
3815
  try {
3813
3816
  Reflect.construct(x, []);
3814
3817
  } catch (Se) {
3815
- _ = Se;
3818
+ w = Se;
3816
3819
  }
3817
3820
  Reflect.construct(c, [], x);
3818
3821
  } else {
3819
3822
  try {
3820
3823
  x.call();
3821
3824
  } catch (Se) {
3822
- _ = Se;
3825
+ w = Se;
3823
3826
  }
3824
3827
  c.call(x.prototype);
3825
3828
  }
@@ -3827,23 +3830,23 @@ function Da() {
3827
3830
  try {
3828
3831
  throw Error();
3829
3832
  } catch (Se) {
3830
- _ = Se;
3833
+ w = Se;
3831
3834
  }
3832
3835
  c();
3833
3836
  }
3834
3837
  } catch (Se) {
3835
- if (Se && _ && typeof Se.stack == "string") {
3836
- for (var E = Se.stack.split(`
3837
- `), se = _.stack.split(`
3838
- `), W = E.length - 1, Y = se.length - 1; W >= 1 && Y >= 0 && E[W] !== se[Y]; )
3838
+ if (Se && w && typeof Se.stack == "string") {
3839
+ for (var R = Se.stack.split(`
3840
+ `), se = w.stack.split(`
3841
+ `), W = R.length - 1, Y = se.length - 1; W >= 1 && Y >= 0 && R[W] !== se[Y]; )
3839
3842
  Y--;
3840
3843
  for (; W >= 1 && Y >= 0; W--, Y--)
3841
- if (E[W] !== se[Y]) {
3844
+ if (R[W] !== se[Y]) {
3842
3845
  if (W !== 1 || Y !== 1)
3843
3846
  do
3844
- if (W--, Y--, Y < 0 || E[W] !== se[Y]) {
3847
+ if (W--, Y--, Y < 0 || R[W] !== se[Y]) {
3845
3848
  var le = `
3846
- ` + E[W].replace(" at new ", " at ");
3849
+ ` + R[W].replace(" at new ", " at ");
3847
3850
  return c.displayName && le.includes("<anonymous>") && (le = le.replace("<anonymous>", c.displayName)), typeof c == "function" && ve.set(c, le), le;
3848
3851
  }
3849
3852
  while (W >= 1 && Y >= 0);
@@ -3856,14 +3859,14 @@ function Da() {
3856
3859
  var Je = c ? c.displayName || c.name : "", rr = Je ? $e(Je) : "";
3857
3860
  return typeof c == "function" && ve.set(c, rr), rr;
3858
3861
  }
3859
- function U(c, d, y) {
3862
+ function U(c, d, v) {
3860
3863
  return N(c, !1);
3861
3864
  }
3862
3865
  function X(c) {
3863
3866
  var d = c.prototype;
3864
3867
  return !!(d && d.isReactComponent);
3865
3868
  }
3866
- function I(c, d, y) {
3869
+ function I(c, d, v) {
3867
3870
  if (c == null)
3868
3871
  return "";
3869
3872
  if (typeof c == "function")
@@ -3881,41 +3884,41 @@ function Da() {
3881
3884
  case l:
3882
3885
  return U(c.render);
3883
3886
  case f:
3884
- return I(c.type, d, y);
3887
+ return I(c.type, d, v);
3885
3888
  case p: {
3886
- var _ = c, A = _._payload, q = _._init;
3889
+ var w = c, A = w._payload, q = w._init;
3887
3890
  try {
3888
- return I(q(A), d, y);
3891
+ return I(q(A), d, v);
3889
3892
  } catch {
3890
3893
  }
3891
3894
  }
3892
3895
  }
3893
3896
  return "";
3894
3897
  }
3895
- var re = Object.prototype.hasOwnProperty, Re = {}, H = g.ReactDebugCurrentFrame;
3898
+ var re = Object.prototype.hasOwnProperty, Re = {}, H = _.ReactDebugCurrentFrame;
3896
3899
  function J(c) {
3897
3900
  if (c) {
3898
- var d = c._owner, y = I(c.type, c._source, d ? d.type : null);
3899
- H.setExtraStackFrame(y);
3901
+ var d = c._owner, v = I(c.type, c._source, d ? d.type : null);
3902
+ H.setExtraStackFrame(v);
3900
3903
  } else
3901
3904
  H.setExtraStackFrame(null);
3902
3905
  }
3903
- function de(c, d, y, _, A) {
3906
+ function de(c, d, v, w, A) {
3904
3907
  {
3905
3908
  var q = Function.call.bind(re);
3906
3909
  for (var x in c)
3907
3910
  if (q(c, x)) {
3908
- var E = void 0;
3911
+ var R = void 0;
3909
3912
  try {
3910
3913
  if (typeof c[x] != "function") {
3911
- var se = Error((_ || "React class") + ": " + y + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3914
+ var se = Error((w || "React class") + ": " + v + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3912
3915
  throw se.name = "Invariant Violation", se;
3913
3916
  }
3914
- E = c[x](d, x, _, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3917
+ R = c[x](d, x, w, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3915
3918
  } catch (W) {
3916
- E = W;
3919
+ R = W;
3917
3920
  }
3918
- E && !(E instanceof Error) && (J(A), R("%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).", _ || "React class", y, x, typeof E), J(null)), E instanceof Error && !(E.message in Re) && (Re[E.message] = !0, J(A), R("Failed %s type: %s", y, E.message), J(null));
3921
+ R && !(R instanceof Error) && (J(A), S("%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).", w || "React class", v, x, typeof R), J(null)), R instanceof Error && !(R.message in Re) && (Re[R.message] = !0, J(A), S("Failed %s type: %s", v, R.message), J(null));
3919
3922
  }
3920
3923
  }
3921
3924
  }
@@ -3925,8 +3928,8 @@ function Da() {
3925
3928
  }
3926
3929
  function bt(c) {
3927
3930
  {
3928
- var d = typeof Symbol == "function" && Symbol.toStringTag, y = d && c[Symbol.toStringTag] || c.constructor.name || "Object";
3929
- return y;
3931
+ var d = typeof Symbol == "function" && Symbol.toStringTag, v = d && c[Symbol.toStringTag] || c.constructor.name || "Object";
3932
+ return v;
3930
3933
  }
3931
3934
  }
3932
3935
  function ie(c) {
@@ -3941,9 +3944,9 @@ function Da() {
3941
3944
  }
3942
3945
  function We(c) {
3943
3946
  if (ie(c))
3944
- return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", bt(c)), ce(c);
3947
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", bt(c)), ce(c);
3945
3948
  }
3946
- var Pe = g.ReactCurrentOwner, nt = {
3949
+ var Pe = _.ReactCurrentOwner, nt = {
3947
3950
  key: !0,
3948
3951
  ref: !0,
3949
3952
  __self: !0,
@@ -3968,62 +3971,62 @@ function Da() {
3968
3971
  }
3969
3972
  function Is(c, d) {
3970
3973
  if (typeof c.ref == "string" && Pe.current && d && Pe.current.stateNode !== d) {
3971
- var y = G(Pe.current.type);
3972
- Wt[y] || (R('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', G(Pe.current.type), c.ref), Wt[y] = !0);
3974
+ var v = G(Pe.current.type);
3975
+ Wt[v] || (S('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', G(Pe.current.type), c.ref), Wt[v] = !0);
3973
3976
  }
3974
3977
  }
3975
3978
  function Vs(c, d) {
3976
3979
  {
3977
- var y = function() {
3978
- Kn || (Kn = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
3980
+ var v = function() {
3981
+ Kn || (Kn = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
3979
3982
  };
3980
- y.isReactWarning = !0, Object.defineProperty(c, "key", {
3981
- get: y,
3983
+ v.isReactWarning = !0, Object.defineProperty(c, "key", {
3984
+ get: v,
3982
3985
  configurable: !0
3983
3986
  });
3984
3987
  }
3985
3988
  }
3986
3989
  function js(c, d) {
3987
3990
  {
3988
- var y = function() {
3989
- Gn || (Gn = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
3991
+ var v = function() {
3992
+ Gn || (Gn = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
3990
3993
  };
3991
- y.isReactWarning = !0, Object.defineProperty(c, "ref", {
3992
- get: y,
3994
+ v.isReactWarning = !0, Object.defineProperty(c, "ref", {
3995
+ get: v,
3993
3996
  configurable: !0
3994
3997
  });
3995
3998
  }
3996
3999
  }
3997
- var $s = function(c, d, y, _, A, q, x) {
3998
- var E = {
4000
+ var $s = function(c, d, v, w, A, q, x) {
4001
+ var R = {
3999
4002
  $$typeof: e,
4000
4003
  type: c,
4001
4004
  key: d,
4002
- ref: y,
4005
+ ref: v,
4003
4006
  props: x,
4004
4007
  _owner: q
4005
4008
  };
4006
- return E._store = {}, Object.defineProperty(E._store, "validated", {
4009
+ return R._store = {}, Object.defineProperty(R._store, "validated", {
4007
4010
  configurable: !1,
4008
4011
  enumerable: !1,
4009
4012
  writable: !0,
4010
4013
  value: !1
4011
- }), Object.defineProperty(E, "_self", {
4014
+ }), Object.defineProperty(R, "_self", {
4012
4015
  configurable: !1,
4013
4016
  enumerable: !1,
4014
4017
  writable: !1,
4015
- value: _
4016
- }), Object.defineProperty(E, "_source", {
4018
+ value: w
4019
+ }), Object.defineProperty(R, "_source", {
4017
4020
  configurable: !1,
4018
4021
  enumerable: !1,
4019
4022
  writable: !1,
4020
4023
  value: A
4021
- }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
4024
+ }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
4022
4025
  };
4023
- function Ms(c, d, y, _, A) {
4026
+ function Ms(c, d, v, w, A) {
4024
4027
  {
4025
- var q, x = {}, E = null, se = null;
4026
- y !== void 0 && (We(y), E = "" + y), qs(d) && (We(d.key), E = "" + d.key), Us(d) && (se = d.ref, Is(d, A));
4028
+ var q, x = {}, R = null, se = null;
4029
+ v !== void 0 && (We(v), R = "" + v), qs(d) && (We(d.key), R = "" + d.key), Us(d) && (se = d.ref, Is(d, A));
4027
4030
  for (q in d)
4028
4031
  re.call(d, q) && !nt.hasOwnProperty(q) && (x[q] = d[q]);
4029
4032
  if (c && c.defaultProps) {
@@ -4031,18 +4034,18 @@ function Da() {
4031
4034
  for (q in W)
4032
4035
  x[q] === void 0 && (x[q] = W[q]);
4033
4036
  }
4034
- if (E || se) {
4037
+ if (R || se) {
4035
4038
  var Y = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
4036
- E && Vs(x, Y), se && js(x, Y);
4039
+ R && Vs(x, Y), se && js(x, Y);
4037
4040
  }
4038
- return $s(c, E, se, A, _, Pe.current, x);
4041
+ return $s(c, R, se, A, w, Pe.current, x);
4039
4042
  }
4040
4043
  }
4041
- var Ht = g.ReactCurrentOwner, Xn = g.ReactDebugCurrentFrame;
4044
+ var Ht = _.ReactCurrentOwner, Xn = _.ReactDebugCurrentFrame;
4042
4045
  function He(c) {
4043
4046
  if (c) {
4044
- var d = c._owner, y = I(c.type, c._source, d ? d.type : null);
4045
- Xn.setExtraStackFrame(y);
4047
+ var d = c._owner, v = I(c.type, c._source, d ? d.type : null);
4048
+ Xn.setExtraStackFrame(v);
4046
4049
  } else
4047
4050
  Xn.setExtraStackFrame(null);
4048
4051
  }
@@ -4066,10 +4069,10 @@ Check the render method of \`` + c + "`.";
4066
4069
  function Ws(c) {
4067
4070
  {
4068
4071
  if (c !== void 0) {
4069
- var d = c.fileName.replace(/^.*[\\\/]/, ""), y = c.lineNumber;
4072
+ var d = c.fileName.replace(/^.*[\\\/]/, ""), v = c.lineNumber;
4070
4073
  return `
4071
4074
 
4072
- Check your code at ` + d + ":" + y + ".";
4075
+ Check your code at ` + d + ":" + v + ".";
4073
4076
  }
4074
4077
  return "";
4075
4078
  }
@@ -4079,10 +4082,10 @@ Check your code at ` + d + ":" + y + ".";
4079
4082
  {
4080
4083
  var d = Qn();
4081
4084
  if (!d) {
4082
- var y = typeof c == "string" ? c : c.displayName || c.name;
4083
- y && (d = `
4085
+ var v = typeof c == "string" ? c : c.displayName || c.name;
4086
+ v && (d = `
4084
4087
 
4085
- Check the top-level render call using <` + y + ">.");
4088
+ Check the top-level render call using <` + v + ">.");
4086
4089
  }
4087
4090
  return d;
4088
4091
  }
@@ -4092,12 +4095,12 @@ Check the top-level render call using <` + y + ">.");
4092
4095
  if (!c._store || c._store.validated || c.key != null)
4093
4096
  return;
4094
4097
  c._store.validated = !0;
4095
- var y = Hs(d);
4096
- if (Zn[y])
4098
+ var v = Hs(d);
4099
+ if (Zn[v])
4097
4100
  return;
4098
- Zn[y] = !0;
4099
- var _ = "";
4100
- c && c._owner && c._owner !== Ht.current && (_ = " It was passed a child from " + G(c._owner.type) + "."), He(c), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, _), He(null);
4101
+ Zn[v] = !0;
4102
+ var w = "";
4103
+ c && c._owner && c._owner !== Ht.current && (w = " It was passed a child from " + G(c._owner.type) + "."), He(c), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, w), He(null);
4101
4104
  }
4102
4105
  }
4103
4106
  function tr(c, d) {
@@ -4105,14 +4108,14 @@ Check the top-level render call using <` + y + ">.");
4105
4108
  if (typeof c != "object")
4106
4109
  return;
4107
4110
  if (Me(c))
4108
- for (var y = 0; y < c.length; y++) {
4109
- var _ = c[y];
4110
- Yt(_) && er(_, d);
4111
+ for (var v = 0; v < c.length; v++) {
4112
+ var w = c[v];
4113
+ Yt(w) && er(w, d);
4111
4114
  }
4112
4115
  else if (Yt(c))
4113
4116
  c._store && (c._store.validated = !0);
4114
4117
  else if (c) {
4115
- var A = O(c);
4118
+ var A = E(c);
4116
4119
  if (typeof A == "function" && A !== c.entries)
4117
4120
  for (var q = A.call(c), x; !(x = q.next()).done; )
4118
4121
  Yt(x.value) && er(x.value, d);
@@ -4124,71 +4127,71 @@ Check the top-level render call using <` + y + ">.");
4124
4127
  var d = c.type;
4125
4128
  if (d == null || typeof d == "string")
4126
4129
  return;
4127
- var y;
4130
+ var v;
4128
4131
  if (typeof d == "function")
4129
- y = d.propTypes;
4132
+ v = d.propTypes;
4130
4133
  else if (typeof d == "object" && (d.$$typeof === l || d.$$typeof === f))
4131
- y = d.propTypes;
4134
+ v = d.propTypes;
4132
4135
  else
4133
4136
  return;
4134
- if (y) {
4135
- var _ = G(d);
4136
- de(y, c.props, "prop", _, c);
4137
+ if (v) {
4138
+ var w = G(d);
4139
+ de(v, c.props, "prop", w, c);
4137
4140
  } else if (d.PropTypes !== void 0 && !Jt) {
4138
4141
  Jt = !0;
4139
4142
  var A = G(d);
4140
- R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
4143
+ S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
4141
4144
  }
4142
- typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
4145
+ typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
4143
4146
  }
4144
4147
  }
4145
4148
  function Ys(c) {
4146
4149
  {
4147
- for (var d = Object.keys(c.props), y = 0; y < d.length; y++) {
4148
- var _ = d[y];
4149
- if (_ !== "children" && _ !== "key") {
4150
- He(c), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), He(null);
4150
+ for (var d = Object.keys(c.props), v = 0; v < d.length; v++) {
4151
+ var w = d[v];
4152
+ if (w !== "children" && w !== "key") {
4153
+ He(c), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), He(null);
4151
4154
  break;
4152
4155
  }
4153
4156
  }
4154
- c.ref !== null && (He(c), R("Invalid attribute `ref` supplied to `React.Fragment`."), He(null));
4157
+ c.ref !== null && (He(c), S("Invalid attribute `ref` supplied to `React.Fragment`."), He(null));
4155
4158
  }
4156
4159
  }
4157
- function nr(c, d, y, _, A, q) {
4160
+ function nr(c, d, v, w, A, q) {
4158
4161
  {
4159
4162
  var x = L(c);
4160
4163
  if (!x) {
4161
- var E = "";
4162
- (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
4164
+ var R = "";
4165
+ (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
4163
4166
  var se = Ws(A);
4164
- se ? E += se : E += Qn();
4167
+ se ? R += se : R += Qn();
4165
4168
  var W;
4166
- c === null ? W = "null" : Me(c) ? W = "array" : c !== void 0 && c.$$typeof === e ? (W = "<" + (G(c.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : W = typeof c, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, E);
4169
+ c === null ? W = "null" : Me(c) ? W = "array" : c !== void 0 && c.$$typeof === e ? (W = "<" + (G(c.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : W = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, R);
4167
4170
  }
4168
- var Y = Ms(c, d, y, A, q);
4171
+ var Y = Ms(c, d, v, A, q);
4169
4172
  if (Y == null)
4170
4173
  return Y;
4171
4174
  if (x) {
4172
4175
  var le = d.children;
4173
4176
  if (le !== void 0)
4174
- if (_)
4177
+ if (w)
4175
4178
  if (Me(le)) {
4176
4179
  for (var Je = 0; Je < le.length; Je++)
4177
4180
  tr(le[Je], c);
4178
4181
  Object.freeze && Object.freeze(le);
4179
4182
  } else
4180
- R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
4183
+ S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
4181
4184
  else
4182
4185
  tr(le, c);
4183
4186
  }
4184
4187
  return c === r ? Ys(Y) : Js(Y), Y;
4185
4188
  }
4186
4189
  }
4187
- function zs(c, d, y) {
4188
- return nr(c, d, y, !0);
4190
+ function zs(c, d, v) {
4191
+ return nr(c, d, v, !0);
4189
4192
  }
4190
- function Ks(c, d, y) {
4191
- return nr(c, d, y, !1);
4193
+ function Ks(c, d, v) {
4194
+ return nr(c, d, v, !1);
4192
4195
  }
4193
4196
  var Gs = Ks, Xs = zs;
4194
4197
  at.Fragment = r, at.jsx = Gs, at.jsxs = Xs;
@@ -4230,10 +4233,10 @@ const ka = Ps.exports.jsx, te = zr(null), Ua = ({
4230
4233
  auth: t,
4231
4234
  tokenParams: r
4232
4235
  } = ee(te), [s, i] = P(), o = $(() => {
4233
- const b = document.cookie.split(";").find((w) => w.trim().startsWith("user_id="));
4234
- if (b) {
4235
- const w = b.split("=")[1];
4236
- i(w && w !== "Guest" ? w : null);
4236
+ const g = document.cookie.split(";").find((b) => b.trim().startsWith("user_id="));
4237
+ if (g) {
4238
+ const b = g.split("=")[1];
4239
+ i(b && b !== "Guest" ? b : null);
4237
4240
  } else
4238
4241
  i(null);
4239
4242
  }, []);
@@ -4253,19 +4256,19 @@ const ka = Ps.exports.jsx, te = zr(null), Ua = ({
4253
4256
  shouldRetryOnError: !1,
4254
4257
  revalidateOnFocus: !1,
4255
4258
  ...n
4256
- }), p = $(async (b, w) => t.loginWithUsernamePassword({
4257
- username: b,
4258
- password: w
4259
- }).then((O) => {
4259
+ }), p = $(async (g, b) => t.loginWithUsernamePassword({
4260
+ username: g,
4261
+ password: b
4262
+ }).then((E) => {
4260
4263
  o();
4261
- }), []), v = $(async () => t.logout().then(() => f(null)).then(() => i(null)), []);
4264
+ }), []), m = $(async () => t.logout().then(() => f(null)).then(() => i(null)), []);
4262
4265
  return {
4263
4266
  isLoading: s === void 0 || a,
4264
4267
  currentUser: u,
4265
4268
  isValidating: h,
4266
4269
  error: l,
4267
4270
  login: p,
4268
- logout: v,
4271
+ logout: m,
4269
4272
  updateCurrentUser: f,
4270
4273
  getUserCookie: o
4271
4274
  };
@@ -4382,8 +4385,8 @@ const Wa = (n, e, t = !1, r = !1, s, i) => {
4382
4385
  r(null), i(!1), u(null), a(!1);
4383
4386
  }, []);
4384
4387
  return {
4385
- call: $(async (p) => (u(null), a(!1), i(!0), r(null), e.post(n, p).then((v) => (r(v), i(!1), a(!0), v)).catch((v) => {
4386
- throw i(!1), a(!1), u(v), v;
4388
+ call: $(async (p) => (u(null), a(!1), i(!0), r(null), e.post(n, p).then((m) => (r(m), i(!1), a(!0), m)).catch((m) => {
4389
+ throw i(!1), a(!1), u(m), m;
4387
4390
  })), []),
4388
4391
  result: t,
4389
4392
  loading: s,
@@ -4398,8 +4401,8 @@ const Wa = (n, e, t = !1, r = !1, s, i) => {
4398
4401
  r(null), i(!1), u(null), a(!1);
4399
4402
  }, []);
4400
4403
  return {
4401
- call: $(async (p) => (u(null), a(!1), i(!0), r(null), e.put(n, p).then((v) => (r(v), i(!1), a(!0), v)).catch((v) => {
4402
- throw i(!1), a(!1), u(v), v;
4404
+ call: $(async (p) => (u(null), a(!1), i(!0), r(null), e.put(n, p).then((m) => (r(m), i(!1), a(!0), m)).catch((m) => {
4405
+ throw i(!1), a(!1), u(m), m;
4403
4406
  })), []),
4404
4407
  result: t,
4405
4408
  loading: s,
@@ -4414,8 +4417,8 @@ const Wa = (n, e, t = !1, r = !1, s, i) => {
4414
4417
  r(null), i(!1), u(null), a(!1);
4415
4418
  }, []);
4416
4419
  return {
4417
- call: $(async (p) => (u(null), a(!1), i(!0), r(null), e.delete(n, p).then((v) => (r(v), i(!1), a(!0), v)).catch((v) => {
4418
- throw i(!1), a(!1), u(v), v;
4420
+ call: $(async (p) => (u(null), a(!1), i(!0), r(null), e.delete(n, p).then((m) => (r(m), i(!1), a(!0), m)).catch((m) => {
4421
+ throw i(!1), a(!1), u(m), m;
4419
4422
  })), []),
4420
4423
  result: t,
4421
4424
  loading: s,
@@ -4426,8 +4429,8 @@ const Wa = (n, e, t = !1, r = !1, s, i) => {
4426
4429
  }, za = () => {
4427
4430
  const {
4428
4431
  file: n
4429
- } = ee(te), [e, t] = P(0), [r, s] = P(!1), [i, o] = P(null), [u, l] = P(!1), a = $(async (f, p) => (h(), s(!0), n.uploadFile(f, p, (v, b) => t(Math.round(v / b * 100))).then((v) => (l(!0), t(100), s(!1), v.data.message)).catch((v) => {
4430
- throw console.error(v), o(v), s(!1), v;
4432
+ } = ee(te), [e, t] = P(0), [r, s] = P(!1), [i, o] = P(null), [u, l] = P(!1), a = $(async (f, p, m) => (h(), s(!0), n.uploadFile(f, p, (g, b) => t(Math.round(g / b * 100)), m).then((g) => (l(!0), t(100), s(!1), g.data.message)).catch((g) => {
4433
+ throw console.error(g), o(g), s(!1), g;
4431
4434
  })), []), h = $(() => {
4432
4435
  t(0), s(!1), o(null), l(!1);
4433
4436
  }, []);