@prozilla-os/core 1.3.5 → 1.3.7

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/main.js CHANGED
@@ -195,6 +195,7 @@ class NM {
195
195
  includeDocumentsFolder: !0,
196
196
  includeDesktopFolder: !0,
197
197
  includeSourceTree: !0,
198
+ includeAppsFolder: !0,
198
199
  ...f
199
200
  };
200
201
  }
@@ -840,8 +841,8 @@ function zM(i, l) {
840
841
  const { skin: u, appsConfig: f, virtualDriveConfig: p } = i, g = {};
841
842
  l.createFolder("home", (w) => {
842
843
  w.createFolder("prozilla-os", (x) => {
843
- x.setAlias("~").createFolder(".config", (k) => {
844
- k.createFile("desktop", "xml", (_) => {
844
+ x.setAlias("~").createFolder(".config", (D) => {
845
+ D.createFile("desktop", "xml", (_) => {
845
846
  _.setContent([
846
847
  "<options>",
847
848
  ` <wallpaper>${u.defaultWallpaper}</wallpaper>`,
@@ -867,8 +868,8 @@ function zM(i, l) {
867
868
  "</options>"
868
869
  ]);
869
870
  });
870
- }), p.defaultData.includePicturesFolder && x.createFolder("Pictures", (k) => {
871
- k.setIconUrl(u.folderIcons.images ?? u.folderIcons.generic), k.createFolder("Wallpapers", (_) => {
871
+ }), p.defaultData.includePicturesFolder && x.createFolder("Pictures", (D) => {
872
+ D.setIconUrl(u.folderIcons.images ?? u.folderIcons.generic), D.createFolder("Wallpapers", (_) => {
872
873
  _.setProtected(!0);
873
874
  for (let O = 0; O < u.wallpapers.length; O++) {
874
875
  const z = u.wallpapers[O];
@@ -888,17 +889,17 @@ function zM(i, l) {
888
889
  }).createFile("Farms", "png", (O) => {
889
890
  O.setSource("https://daisygames.org/media/Games/Crumbling%20City/Screenshot_Farms_Hammer.png");
890
891
  });
891
- }), g.images = k.path;
892
- }), p.defaultData.includeDocumentsFolder && x.createFolder("Documents", (k) => {
893
- k.setIconUrl(u.folderIcons.text ?? u.folderIcons.generic), k.createFile("text", "txt", (_) => {
892
+ }), g.images = D.path;
893
+ }), p.defaultData.includeDocumentsFolder && x.createFolder("Documents", (D) => {
894
+ D.setIconUrl(u.folderIcons.text ?? u.folderIcons.generic), D.createFile("text", "txt", (_) => {
894
895
  _.setContent("Hello world!");
895
896
  }).createFile("Info", "md", (_) => {
896
897
  _.setProtected(!0).setSource("/documents/info.md").setIconUrl(u.fileIcons.info ?? u.fileIcons.generic), g.info = _.path;
897
898
  }).createFile("Prozilla", "md", (_) => {
898
899
  _.setProtected(!0).setSource("/documents/prozilla.md"), g.links = _.path;
899
- }), g.documents = k.path;
900
- }), p.defaultData.includeDesktopFolder && x.createFolder("Desktop", (k) => {
901
- k.createFileLink("Info.md", (_) => {
900
+ }), g.documents = D.path;
901
+ }), p.defaultData.includeDesktopFolder && x.createFolder("Desktop", (D) => {
902
+ D.createFileLink("Info.md", (_) => {
902
903
  _.setLinkedPath(g.info);
903
904
  }).createFileLink("Prozilla.md", (_) => {
904
905
  _.setLinkedPath(g.links);
@@ -909,13 +910,13 @@ function zM(i, l) {
909
910
  }).createFile("Documentation", void 0, (_) => {
910
911
  _.setSource(Ro.external + "https://os.prozilla.dev/docs/");
911
912
  }), f.apps.forEach((_) => {
912
- _.pinnedByDefault && k.createFile(_.name, void 0, (O) => {
913
+ _.showDesktopIcon && D.createFile(_.name, void 0, (O) => {
913
914
  O.setSource(Ro.app + _.id).setIconUrl(_.iconUrl);
914
915
  });
915
916
  });
916
- }), x.createFolder("Apps", (k) => {
917
+ }), p.defaultData.includeAppsFolder && x.createFolder("Apps", (D) => {
917
918
  f.apps.forEach((_) => {
918
- k.createFile(_.name, void 0, (O) => {
919
+ D.createFile(_.name, void 0, (O) => {
919
920
  O.setSource(Ro.app + _.id).setIconUrl(_.iconUrl);
920
921
  });
921
922
  });
@@ -992,7 +993,7 @@ const S0 = class S0 extends Cv {
992
993
  nam: C,
993
994
  ext: w,
994
995
  src: x,
995
- cnt: k,
996
+ cnt: D,
996
997
  lnk: _,
997
998
  ico: O
998
999
  }, z = this) => {
@@ -1003,18 +1004,18 @@ const S0 = class S0 extends Cv {
1003
1004
  return;
1004
1005
  }
1005
1006
  z.createFile(C, w, (V) => {
1006
- x != null ? V.setSource(x) : k != null && V.setContent(k), O != null && V.setIconUrl(O);
1007
+ x != null ? V.setSource(x) : D != null && V.setContent(D), O != null && V.setIconUrl(O);
1007
1008
  });
1008
1009
  }, v = ({
1009
1010
  nam: C,
1010
1011
  fds: w,
1011
1012
  fls: x,
1012
- lnk: k,
1013
+ lnk: D,
1013
1014
  ico: _
1014
1015
  }, O = this) => {
1015
- if (k) {
1016
+ if (D) {
1016
1017
  O.createFolderLink(C, (z) => {
1017
- z.setLinkedPath(k), _ != null && z.setIconUrl(_);
1018
+ z.setLinkedPath(D), _ != null && z.setIconUrl(_);
1018
1019
  });
1019
1020
  return;
1020
1021
  }
@@ -1124,8 +1125,14 @@ function Q3(i) {
1124
1125
  });
1125
1126
  }
1126
1127
  function hb(i) {
1127
- let l = document.querySelector("link[rel~='icon']");
1128
- l == null && (l = document.createElement("link"), l.rel = "icon", document.head.appendChild(l)), l.href = i;
1128
+ const l = document.querySelectorAll("link[rel~='icon'], link[rel~='apple-touch-icon']");
1129
+ if (l.length == 0) {
1130
+ const u = document.createElement("link");
1131
+ u.rel = "icon", u.href = i, document.head.appendChild(u);
1132
+ }
1133
+ l.forEach((u) => {
1134
+ u.href = i;
1135
+ });
1129
1136
  }
1130
1137
  function K3() {
1131
1138
  const i = window.location.search.slice(1), l = {};
@@ -1250,6 +1257,11 @@ class sF {
1250
1257
  * Metadata of the app's package
1251
1258
  */
1252
1259
  pe(this, "metadata", null);
1260
+ /**
1261
+ * Determines whether a desktop icon is added to the default data
1262
+ * @default false
1263
+ */
1264
+ pe(this, "showDesktopIcon", !1);
1253
1265
  pe(this, "isActive", !1);
1254
1266
  pe(this, "isPinned");
1255
1267
  pe(this, "isInstalled", !0);
@@ -1312,9 +1324,18 @@ App IDs may only contain letters (a-zA-Z), numbers (0-9) and dashes (-).`);
1312
1324
  setCategory(l) {
1313
1325
  return this.category = l, this;
1314
1326
  }
1327
+ /**
1328
+ * Changes the metadata for this application
1329
+ */
1315
1330
  setMetadata(l) {
1316
1331
  return this.metadata = l, this;
1317
1332
  }
1333
+ /**
1334
+ * Changes whether this application has a desktop icon in the default data
1335
+ */
1336
+ setShowDesktopIcon(l) {
1337
+ return this.showDesktopIcon = l, this;
1338
+ }
1318
1339
  }
1319
1340
  class Ld {
1320
1341
  constructor() {
@@ -1504,8 +1525,8 @@ var t_ = {};
1504
1525
  }), i.default = v;
1505
1526
  var l = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;
1506
1527
  function u(C) {
1507
- return C.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g, function(w, x, k) {
1508
- return x > 0 && x + w.length !== k.length && w.search(l) > -1 && k.charAt(x - 2) !== ":" && (k.charAt(x + w.length) !== "-" || k.charAt(x - 1) === "-") && k.charAt(x - 1).search(/[^\s-]/) < 0 ? w.toLowerCase() : w.substr(1).search(/[A-Z]|\../) > -1 ? w : w.charAt(0).toUpperCase() + w.substr(1);
1528
+ return C.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g, function(w, x, D) {
1529
+ return x > 0 && x + w.length !== D.length && w.search(l) > -1 && D.charAt(x - 2) !== ":" && (D.charAt(x + w.length) !== "-" || D.charAt(x - 1) === "-") && D.charAt(x - 1).search(/[^\s-]/) < 0 ? w.toLowerCase() : w.substr(1).search(/[A-Z]|\../) > -1 ? w : w.charAt(0).toUpperCase() + w.substr(1);
1509
1530
  });
1510
1531
  }
1511
1532
  function f(C) {
@@ -1516,8 +1537,8 @@ var t_ = {};
1516
1537
  return f(C) ? (console.warn("This arg looks like an email address, redacting."), p) : C;
1517
1538
  }
1518
1539
  function v() {
1519
- var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, x = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, k = C || "";
1520
- return w && (k = u(C)), x && (k = g(k)), k;
1540
+ var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, x = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, D = C || "";
1541
+ return w && (D = u(C)), x && (D = g(D)), D;
1521
1542
  }
1522
1543
  })(t_);
1523
1544
  (function(i) {
@@ -1553,7 +1574,7 @@ var t_ = {};
1553
1574
  return U && typeof Symbol == "function" && U.constructor === Symbol && U !== Symbol.prototype ? "symbol" : typeof U;
1554
1575
  }, x(Z);
1555
1576
  }
1556
- function k(Z) {
1577
+ function D(Z) {
1557
1578
  return z(Z) || O(Z) || W(Z) || _();
1558
1579
  }
1559
1580
  function _() {
@@ -1719,10 +1740,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1719
1740
  var nt = G(G(G({}, U._toGtagOptions(G(G({}, oe), Je.gaOptions))), F), Je.gtagOptions);
1720
1741
  Object.keys(nt).length ? U._gtag("config", Je.trackingId, nt) : U._gtag("config", Je.trackingId);
1721
1742
  })), U.isInitialized = !0, !Ne) {
1722
- var it = k(U._queueGtag);
1743
+ var it = D(U._queueGtag);
1723
1744
  for (U._queueGtag = [], U._isQueuing = !1; it.length; ) {
1724
1745
  var We = it.shift();
1725
- U._gtag.apply(U, k(We)), We[0] === "get" && (U._isQueuing = !0);
1746
+ U._gtag.apply(U, D(We)), We[0] === "get" && (U._isQueuing = !0);
1726
1747
  }
1727
1748
  }
1728
1749
  }), xe(this, "set", function($) {
@@ -1747,7 +1768,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1747
1768
  for (var $ = arguments.length, ie = new Array($), A = 0; A < $; A++)
1748
1769
  ie[A] = arguments[A];
1749
1770
  if (typeof ie[0] == "string")
1750
- U._gaCommandSendEvent.apply(U, k(ie.slice(1)));
1771
+ U._gaCommandSendEvent.apply(U, D(ie.slice(1)));
1751
1772
  else {
1752
1773
  var oe = ie[0], F = oe.eventCategory, se = oe.eventAction, Ee = oe.eventLabel, Ne = oe.eventValue;
1753
1774
  oe.hitType;
@@ -1778,7 +1799,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1778
1799
  for (var $ = arguments.length, ie = new Array($), A = 0; A < $; A++)
1779
1800
  ie[A] = arguments[A];
1780
1801
  if (typeof ie[0] == "string")
1781
- U._gaCommandSendPageview.apply(U, k(ie.slice(1)));
1802
+ U._gaCommandSendPageview.apply(U, D(ie.slice(1)));
1782
1803
  else {
1783
1804
  var oe = ie[0], F = oe.page;
1784
1805
  oe.hitType;
@@ -1797,7 +1818,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1797
1818
  U._gaCommandSendPageviewParameters.apply(U, ie);
1798
1819
  break;
1799
1820
  case "timing":
1800
- U._gaCommandSendTiming.apply(U, k(ie.slice(1)));
1821
+ U._gaCommandSendTiming.apply(U, D(ie.slice(1)));
1801
1822
  break;
1802
1823
  case "screenview":
1803
1824
  case "transaction":
@@ -1842,7 +1863,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1842
1863
  }
1843
1864
  }); se.length; ) {
1844
1865
  var Ee = se.shift();
1845
- U._gtag.apply(U, k(Ee));
1866
+ U._gtag.apply(U, D(Ee));
1846
1867
  }
1847
1868
  }), U._isQueuing = !0;
1848
1869
  }
@@ -1906,13 +1927,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1906
1927
  var x = f(w);
1907
1928
  if (x && x.has(C))
1908
1929
  return x.get(C);
1909
- var k = {}, _ = Object.defineProperty && Object.getOwnPropertyDescriptor;
1930
+ var D = {}, _ = Object.defineProperty && Object.getOwnPropertyDescriptor;
1910
1931
  for (var O in C)
1911
1932
  if (O !== "default" && Object.prototype.hasOwnProperty.call(C, O)) {
1912
1933
  var z = _ ? Object.getOwnPropertyDescriptor(C, O) : null;
1913
- z && (z.get || z.set) ? Object.defineProperty(k, O, z) : k[O] = C[O];
1934
+ z && (z.get || z.set) ? Object.defineProperty(D, O, z) : D[O] = C[O];
1914
1935
  }
1915
- return k.default = C, x && x.set(C, k), k;
1936
+ return D.default = C, x && x.set(C, D), D;
1916
1937
  }
1917
1938
  var g = u.GA4;
1918
1939
  i.ReactGAImplementation = g;
@@ -1972,7 +1993,7 @@ class $M {
1972
1993
  );
1973
1994
  let x = !1;
1974
1995
  C.x > w.x ? (C.x = w.x, x = !0) : C.y > w.y && (C.y = w.y, x = !0);
1975
- const k = new Ft(
1996
+ const D = new Ft(
1976
1997
  p.screenMargin + DT(0, w.x - C.x),
1977
1998
  p.screenMargin + DT(0, w.y - C.y)
1978
1999
  );
@@ -1988,7 +2009,7 @@ class $M {
1988
2009
  id: _,
1989
2010
  app: v,
1990
2011
  size: C,
1991
- position: k,
2012
+ position: D,
1992
2013
  fullscreen: x,
1993
2014
  options: u
1994
2015
  }, this.focus(_), v.isActive = !0, this.updateWindows(this.windows), this.windows[_];
@@ -2168,7 +2189,7 @@ class GM {
2168
2189
  modalsConfig: C,
2169
2190
  taskbarConfig: w,
2170
2191
  trackingConfig: x,
2171
- windowsConfig: k,
2192
+ windowsConfig: D,
2172
2193
  virtualDriveConfig: _
2173
2194
  }) {
2174
2195
  pe(this, "systemName");
@@ -2183,7 +2204,7 @@ class GM {
2183
2204
  pe(this, "trackingConfig");
2184
2205
  pe(this, "windowsConfig");
2185
2206
  pe(this, "virtualDriveConfig");
2186
- this.systemName = l ?? "ProzillaOS", this.tagLine = u ?? "Web-based Operating System", this.skin = f ?? new CM(), this.desktopConfig = p, this.appsConfig = g, this.miscConfig = v, this.modalsConfig = C, this.taskbarConfig = w, this.trackingConfig = x, this.windowsConfig = k, this.virtualDriveConfig = _, this.loadSkin(), gc(this, Av, /* @__PURE__ */ new Date());
2207
+ this.systemName = l ?? "ProzillaOS", this.tagLine = u ?? "Web-based Operating System", this.skin = f ?? new CM(), this.desktopConfig = p, this.appsConfig = g, this.miscConfig = v, this.modalsConfig = C, this.taskbarConfig = w, this.trackingConfig = x, this.windowsConfig = D, this.virtualDriveConfig = _, this.loadSkin(), gc(this, Av, /* @__PURE__ */ new Date());
2187
2208
  }
2188
2209
  loadSkin() {
2189
2210
  const l = this.skin;
@@ -3368,10 +3389,10 @@ function HT(i, l, u) {
3368
3389
  };
3369
3390
  }
3370
3391
  var vC = function(l, u, f, p) {
3371
- var g = Object.keys(l), v = g.length, C = u, w, x, k;
3372
- for (f === void 0 ? (w = 1, k = l[g[0]]) : (w = 0, k = f); w < v; w++)
3373
- x = g[w], k = C(k, l[x], x, l);
3374
- return k;
3392
+ var g = Object.keys(l), v = g.length, C = u, w, x, D;
3393
+ for (f === void 0 ? (w = 1, D = l[g[0]]) : (w = 0, D = f); w < v; w++)
3394
+ x = g[w], D = C(D, l[x], x, l);
3395
+ return D;
3375
3396
  };
3376
3397
  function oA(i) {
3377
3398
  const l = [];
@@ -3530,10 +3551,10 @@ function R0(i) {
3530
3551
  (i.includes(f[w]) || i.some((x) => vA[w].includes(x))) && (g = w);
3531
3552
  });
3532
3553
  const C = i.reduce((w, x) => {
3533
- const k = dA(qe.cssPrefix, x);
3554
+ const D = dA(qe.cssPrefix, x);
3534
3555
  if (yc[x] ? (x = sA[g].includes(x) ? V6[g][x] : x, p = x, w.prefix = x) : cA[g].indexOf(x) > -1 ? (p = x, w.prefix = _0(x, {
3535
3556
  family: g
3536
- })) : k ? w.iconName = k : x !== qe.replacementClass && !v.some((_) => x === f[_]) && w.rest.push(x), !u && w.prefix && w.iconName) {
3557
+ })) : D ? w.iconName = D : x !== qe.replacementClass && !v.some((_) => x === f[_]) && w.rest.push(x), !u && w.prefix && w.iconName) {
3537
3558
  const _ = p === "fa" ? U_(w.iconName) : {}, O = Xu(w.prefix, w.iconName);
3538
3559
  _.prefix && (p = null), w.iconName = _.iconName || O || w.iconName, w.prefix = _.prefix || w.prefix, w.prefix === "far" && !yc.far && yc.fas && !qe.autoFetchSvg && (w.prefix = "fas");
3539
3560
  }
@@ -3775,25 +3796,25 @@ function Rb(i) {
3775
3796
  title: C,
3776
3797
  maskId: w,
3777
3798
  titleId: x,
3778
- extra: k,
3799
+ extra: D,
3779
3800
  watchable: _ = !1
3780
3801
  } = i, {
3781
3802
  width: O,
3782
3803
  height: z
3783
- } = u.found ? u : l, V = f === "fak", G = [qe.replacementClass, p ? "".concat(qe.cssPrefix, "-").concat(p) : ""].filter((P) => k.classes.indexOf(P) === -1).filter((P) => P !== "" || !!P).concat(k.classes).join(" ");
3804
+ } = u.found ? u : l, V = f === "fak", G = [qe.replacementClass, p ? "".concat(qe.cssPrefix, "-").concat(p) : ""].filter((P) => D.classes.indexOf(P) === -1).filter((P) => P !== "" || !!P).concat(D.classes).join(" ");
3784
3805
  let Y = {
3785
3806
  children: [],
3786
3807
  attributes: {
3787
- ...k.attributes,
3808
+ ...D.attributes,
3788
3809
  "data-prefix": f,
3789
3810
  "data-icon": p,
3790
3811
  class: G,
3791
- role: k.attributes.role || "img",
3812
+ role: D.attributes.role || "img",
3792
3813
  xmlns: "http://www.w3.org/2000/svg",
3793
3814
  viewBox: "0 0 ".concat(O, " ").concat(z)
3794
3815
  }
3795
3816
  };
3796
- const re = V && !~k.classes.indexOf("fa-fw") ? {
3817
+ const re = V && !~D.classes.indexOf("fa-fw") ? {
3797
3818
  width: "".concat(O / z * 16 * 0.0625, "em")
3798
3819
  } : {};
3799
3820
  _ && (Y.attributes[bc] = ""), C && (Y.children.push({
@@ -3814,7 +3835,7 @@ function Rb(i) {
3814
3835
  symbol: v,
3815
3836
  styles: {
3816
3837
  ...re,
3817
- ...k.styles
3838
+ ...D.styles
3818
3839
  }
3819
3840
  }, {
3820
3841
  children: B,
@@ -3854,8 +3875,8 @@ function $T(i) {
3854
3875
  width: u,
3855
3876
  height: f
3856
3877
  }), x["-webkit-transform"] = x.transform);
3857
- const k = T0(x);
3858
- k.length > 0 && (w.style = k);
3878
+ const D = T0(x);
3879
+ D.length > 0 && (w.style = D);
3859
3880
  const _ = [];
3860
3881
  return _.push({
3861
3882
  tag: "span",
@@ -4184,9 +4205,9 @@ No = [...No];
4184
4205
  function QT(i) {
4185
4206
  let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
4186
4207
  if (!Nl) return Promise.resolve();
4187
- const u = on.documentElement.classList, f = (k) => u.add("".concat(IT, "-").concat(k)), p = (k) => u.remove("".concat(IT, "-").concat(k)), g = qe.autoFetchSvg ? No : b_.map((k) => "fa-".concat(k)).concat(Object.keys(jA));
4208
+ const u = on.documentElement.classList, f = (D) => u.add("".concat(IT, "-").concat(D)), p = (D) => u.remove("".concat(IT, "-").concat(D)), g = qe.autoFetchSvg ? No : b_.map((D) => "fa-".concat(D)).concat(Object.keys(jA));
4188
4209
  g.includes("fa") || g.push("fa");
4189
- const v = [".".concat(x_, ":not([").concat(bc, "])")].concat(g.map((k) => ".".concat(k, ":not([").concat(bc, "])"))).join(", ");
4210
+ const v = [".".concat(x_, ":not([").concat(bc, "])")].concat(g.map((D) => ".".concat(D, ":not([").concat(bc, "])"))).join(", ");
4190
4211
  if (v.length === 0)
4191
4212
  return Promise.resolve();
4192
4213
  let C = [];
@@ -4198,19 +4219,19 @@ function QT(i) {
4198
4219
  f("pending"), p("complete");
4199
4220
  else
4200
4221
  return Promise.resolve();
4201
- const w = Db.begin("onTree"), x = C.reduce((k, _) => {
4222
+ const w = Db.begin("onTree"), x = C.reduce((D, _) => {
4202
4223
  try {
4203
4224
  const O = B_(_);
4204
- O && k.push(O);
4225
+ O && D.push(O);
4205
4226
  } catch (O) {
4206
4227
  C_ || O.name === "MissingIcon" && console.error(O);
4207
4228
  }
4208
- return k;
4229
+ return D;
4209
4230
  }, []);
4210
- return new Promise((k, _) => {
4231
+ return new Promise((D, _) => {
4211
4232
  Promise.all(x).then((O) => {
4212
4233
  j_(O, () => {
4213
- f("active"), f("complete"), p("pending"), typeof l == "function" && l(), w(), k();
4234
+ f("active"), f("complete"), p("pending"), typeof l == "function" && l(), w(), D();
4214
4235
  });
4215
4236
  }).catch((O) => {
4216
4237
  w(), _(O);
@@ -4247,7 +4268,7 @@ const VA = function(i) {
4247
4268
  titleId: C = null,
4248
4269
  classes: w = [],
4249
4270
  attributes: x = {},
4250
- styles: k = {}
4271
+ styles: D = {}
4251
4272
  } = l;
4252
4273
  if (!i) return;
4253
4274
  const {
@@ -4283,7 +4304,7 @@ const VA = function(i) {
4283
4304
  titleId: C,
4284
4305
  extra: {
4285
4306
  attributes: x,
4286
- styles: k,
4307
+ styles: D,
4287
4308
  classes: w
4288
4309
  }
4289
4310
  })));
@@ -4318,7 +4339,7 @@ var $A = {
4318
4339
  transform: C,
4319
4340
  symbol: w,
4320
4341
  mask: x,
4321
- maskId: k,
4342
+ maskId: D,
4322
4343
  extra: _
4323
4344
  } = u;
4324
4345
  return new Promise((O, z) => {
@@ -4338,7 +4359,7 @@ var $A = {
4338
4359
  iconName: f,
4339
4360
  transform: C,
4340
4361
  symbol: w,
4341
- maskId: k,
4362
+ maskId: D,
4342
4363
  title: p,
4343
4364
  titleId: g,
4344
4365
  extra: _,
@@ -4514,12 +4535,12 @@ function JT(i, l) {
4514
4535
  return new Promise((f, p) => {
4515
4536
  if (i.getAttribute(u) !== null)
4516
4537
  return f();
4517
- const v = $d(i.children).filter((O) => O.getAttribute(VC) === l)[0], C = Zu.getComputedStyle(i, l), w = C.getPropertyValue("font-family"), x = w.match(W6), k = C.getPropertyValue("font-weight"), _ = C.getPropertyValue("content");
4538
+ const v = $d(i.children).filter((O) => O.getAttribute(VC) === l)[0], C = Zu.getComputedStyle(i, l), w = C.getPropertyValue("font-family"), x = w.match(W6), D = C.getPropertyValue("font-weight"), _ = C.getPropertyValue("content");
4518
4539
  if (v && !x)
4519
4540
  return i.removeChild(v), f();
4520
4541
  if (x && _ !== "none" && _ !== "") {
4521
4542
  const O = C.getPropertyValue("content");
4522
- let z = KA(w, k);
4543
+ let z = KA(w, D);
4523
4544
  const {
4524
4545
  value: V,
4525
4546
  isSecondary: G
@@ -4689,13 +4710,13 @@ var nL = {
4689
4710
  } = l;
4690
4711
  const v = {
4691
4712
  transform: "translate(".concat(p / 2, " 256)")
4692
- }, C = "translate(".concat(f.x * 32, ", ").concat(f.y * 32, ") "), w = "scale(".concat(f.size / 16 * (f.flipX ? -1 : 1), ", ").concat(f.size / 16 * (f.flipY ? -1 : 1), ") "), x = "rotate(".concat(f.rotate, " 0 0)"), k = {
4713
+ }, C = "translate(".concat(f.x * 32, ", ").concat(f.y * 32, ") "), w = "scale(".concat(f.size / 16 * (f.flipX ? -1 : 1), ", ").concat(f.size / 16 * (f.flipY ? -1 : 1), ") "), x = "rotate(".concat(f.rotate, " 0 0)"), D = {
4693
4714
  transform: "".concat(C, " ").concat(w, " ").concat(x)
4694
4715
  }, _ = {
4695
4716
  transform: "translate(".concat(g / 2 * -1, " -256)")
4696
4717
  }, O = {
4697
4718
  outer: v,
4698
- inner: k,
4719
+ inner: D,
4699
4720
  path: _
4700
4721
  };
4701
4722
  return {
@@ -4757,11 +4778,11 @@ var aL = {
4757
4778
  width: w,
4758
4779
  icon: x
4759
4780
  } = p, {
4760
- width: k,
4781
+ width: D,
4761
4782
  icon: _
4762
4783
  } = g, O = tA({
4763
4784
  transform: C,
4764
- containerWidth: k,
4785
+ containerWidth: D,
4765
4786
  iconWidth: w
4766
4787
  }), z = {
4767
4788
  tag: "rect",
@@ -4941,7 +4962,7 @@ var a3;
4941
4962
  function sL() {
4942
4963
  if (a3) return Bt;
4943
4964
  a3 = 1;
4944
- var i = typeof Symbol == "function" && Symbol.for, l = i ? Symbol.for("react.element") : 60103, u = i ? Symbol.for("react.portal") : 60106, f = i ? Symbol.for("react.fragment") : 60107, p = i ? Symbol.for("react.strict_mode") : 60108, g = i ? Symbol.for("react.profiler") : 60114, v = i ? Symbol.for("react.provider") : 60109, C = i ? Symbol.for("react.context") : 60110, w = i ? Symbol.for("react.async_mode") : 60111, x = i ? Symbol.for("react.concurrent_mode") : 60111, k = i ? Symbol.for("react.forward_ref") : 60112, _ = i ? Symbol.for("react.suspense") : 60113, O = i ? Symbol.for("react.suspense_list") : 60120, z = i ? Symbol.for("react.memo") : 60115, V = i ? Symbol.for("react.lazy") : 60116, G = i ? Symbol.for("react.block") : 60121, Y = i ? Symbol.for("react.fundamental") : 60117, re = i ? Symbol.for("react.responder") : 60118, W = i ? Symbol.for("react.scope") : 60119;
4965
+ var i = typeof Symbol == "function" && Symbol.for, l = i ? Symbol.for("react.element") : 60103, u = i ? Symbol.for("react.portal") : 60106, f = i ? Symbol.for("react.fragment") : 60107, p = i ? Symbol.for("react.strict_mode") : 60108, g = i ? Symbol.for("react.profiler") : 60114, v = i ? Symbol.for("react.provider") : 60109, C = i ? Symbol.for("react.context") : 60110, w = i ? Symbol.for("react.async_mode") : 60111, x = i ? Symbol.for("react.concurrent_mode") : 60111, D = i ? Symbol.for("react.forward_ref") : 60112, _ = i ? Symbol.for("react.suspense") : 60113, O = i ? Symbol.for("react.suspense_list") : 60120, z = i ? Symbol.for("react.memo") : 60115, V = i ? Symbol.for("react.lazy") : 60116, G = i ? Symbol.for("react.block") : 60121, Y = i ? Symbol.for("react.fundamental") : 60117, re = i ? Symbol.for("react.responder") : 60118, W = i ? Symbol.for("react.scope") : 60119;
4945
4966
  function B(P) {
4946
4967
  if (typeof P == "object" && P !== null) {
4947
4968
  var ge = P.$$typeof;
@@ -4958,7 +4979,7 @@ function sL() {
4958
4979
  default:
4959
4980
  switch (P = P && P.$$typeof, P) {
4960
4981
  case C:
4961
- case k:
4982
+ case D:
4962
4983
  case V:
4963
4984
  case z:
4964
4985
  case v:
@@ -4975,7 +4996,7 @@ function sL() {
4975
4996
  function ee(P) {
4976
4997
  return B(P) === x;
4977
4998
  }
4978
- return Bt.AsyncMode = w, Bt.ConcurrentMode = x, Bt.ContextConsumer = C, Bt.ContextProvider = v, Bt.Element = l, Bt.ForwardRef = k, Bt.Fragment = f, Bt.Lazy = V, Bt.Memo = z, Bt.Portal = u, Bt.Profiler = g, Bt.StrictMode = p, Bt.Suspense = _, Bt.isAsyncMode = function(P) {
4999
+ return Bt.AsyncMode = w, Bt.ConcurrentMode = x, Bt.ContextConsumer = C, Bt.ContextProvider = v, Bt.Element = l, Bt.ForwardRef = D, Bt.Fragment = f, Bt.Lazy = V, Bt.Memo = z, Bt.Portal = u, Bt.Profiler = g, Bt.StrictMode = p, Bt.Suspense = _, Bt.isAsyncMode = function(P) {
4979
5000
  return ee(P) || B(P) === w;
4980
5001
  }, Bt.isConcurrentMode = ee, Bt.isContextConsumer = function(P) {
4981
5002
  return B(P) === C;
@@ -4984,7 +5005,7 @@ function sL() {
4984
5005
  }, Bt.isElement = function(P) {
4985
5006
  return typeof P == "object" && P !== null && P.$$typeof === l;
4986
5007
  }, Bt.isForwardRef = function(P) {
4987
- return B(P) === k;
5008
+ return B(P) === D;
4988
5009
  }, Bt.isFragment = function(P) {
4989
5010
  return B(P) === f;
4990
5011
  }, Bt.isLazy = function(P) {
@@ -5000,7 +5021,7 @@ function sL() {
5000
5021
  }, Bt.isSuspense = function(P) {
5001
5022
  return B(P) === _;
5002
5023
  }, Bt.isValidElementType = function(P) {
5003
- return typeof P == "string" || typeof P == "function" || P === f || P === x || P === g || P === p || P === _ || P === O || typeof P == "object" && P !== null && (P.$$typeof === V || P.$$typeof === z || P.$$typeof === v || P.$$typeof === C || P.$$typeof === k || P.$$typeof === Y || P.$$typeof === re || P.$$typeof === W || P.$$typeof === G);
5024
+ return typeof P == "string" || typeof P == "function" || P === f || P === x || P === g || P === p || P === _ || P === O || typeof P == "object" && P !== null && (P.$$typeof === V || P.$$typeof === z || P.$$typeof === v || P.$$typeof === C || P.$$typeof === D || P.$$typeof === Y || P.$$typeof === re || P.$$typeof === W || P.$$typeof === G);
5004
5025
  }, Bt.typeOf = B, Bt;
5005
5026
  }
5006
5027
  var Vt = {};
@@ -5015,10 +5036,10 @@ var Vt = {};
5015
5036
  var i3;
5016
5037
  function cL() {
5017
5038
  return i3 || (i3 = 1, process.env.NODE_ENV !== "production" && function() {
5018
- var i = typeof Symbol == "function" && Symbol.for, l = i ? Symbol.for("react.element") : 60103, u = i ? Symbol.for("react.portal") : 60106, f = i ? Symbol.for("react.fragment") : 60107, p = i ? Symbol.for("react.strict_mode") : 60108, g = i ? Symbol.for("react.profiler") : 60114, v = i ? Symbol.for("react.provider") : 60109, C = i ? Symbol.for("react.context") : 60110, w = i ? Symbol.for("react.async_mode") : 60111, x = i ? Symbol.for("react.concurrent_mode") : 60111, k = i ? Symbol.for("react.forward_ref") : 60112, _ = i ? Symbol.for("react.suspense") : 60113, O = i ? Symbol.for("react.suspense_list") : 60120, z = i ? Symbol.for("react.memo") : 60115, V = i ? Symbol.for("react.lazy") : 60116, G = i ? Symbol.for("react.block") : 60121, Y = i ? Symbol.for("react.fundamental") : 60117, re = i ? Symbol.for("react.responder") : 60118, W = i ? Symbol.for("react.scope") : 60119;
5039
+ var i = typeof Symbol == "function" && Symbol.for, l = i ? Symbol.for("react.element") : 60103, u = i ? Symbol.for("react.portal") : 60106, f = i ? Symbol.for("react.fragment") : 60107, p = i ? Symbol.for("react.strict_mode") : 60108, g = i ? Symbol.for("react.profiler") : 60114, v = i ? Symbol.for("react.provider") : 60109, C = i ? Symbol.for("react.context") : 60110, w = i ? Symbol.for("react.async_mode") : 60111, x = i ? Symbol.for("react.concurrent_mode") : 60111, D = i ? Symbol.for("react.forward_ref") : 60112, _ = i ? Symbol.for("react.suspense") : 60113, O = i ? Symbol.for("react.suspense_list") : 60120, z = i ? Symbol.for("react.memo") : 60115, V = i ? Symbol.for("react.lazy") : 60116, G = i ? Symbol.for("react.block") : 60121, Y = i ? Symbol.for("react.fundamental") : 60117, re = i ? Symbol.for("react.responder") : 60118, W = i ? Symbol.for("react.scope") : 60119;
5019
5040
  function B(Te) {
5020
5041
  return typeof Te == "string" || typeof Te == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
5021
- Te === f || Te === x || Te === g || Te === p || Te === _ || Te === O || typeof Te == "object" && Te !== null && (Te.$$typeof === V || Te.$$typeof === z || Te.$$typeof === v || Te.$$typeof === C || Te.$$typeof === k || Te.$$typeof === Y || Te.$$typeof === re || Te.$$typeof === W || Te.$$typeof === G);
5042
+ Te === f || Te === x || Te === g || Te === p || Te === _ || Te === O || typeof Te == "object" && Te !== null && (Te.$$typeof === V || Te.$$typeof === z || Te.$$typeof === v || Te.$$typeof === C || Te.$$typeof === D || Te.$$typeof === Y || Te.$$typeof === re || Te.$$typeof === W || Te.$$typeof === G);
5022
5043
  }
5023
5044
  function ee(Te) {
5024
5045
  if (typeof Te == "object" && Te !== null) {
@@ -5038,7 +5059,7 @@ function cL() {
5038
5059
  var $n = Zt && Zt.$$typeof;
5039
5060
  switch ($n) {
5040
5061
  case C:
5041
- case k:
5062
+ case D:
5042
5063
  case V:
5043
5064
  case z:
5044
5065
  case v:
@@ -5052,7 +5073,7 @@ function cL() {
5052
5073
  }
5053
5074
  }
5054
5075
  }
5055
- var P = w, ge = x, ae = C, ke = v, xe = l, be = k, ye = f, Ce = V, _e = z, Z = u, U = g, $ = p, ie = _, A = !1;
5076
+ var P = w, ge = x, ae = C, ke = v, xe = l, be = D, ye = f, Ce = V, _e = z, Z = u, U = g, $ = p, ie = _, A = !1;
5056
5077
  function oe(Te) {
5057
5078
  return A || (A = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), F(Te) || ee(Te) === w;
5058
5079
  }
@@ -5069,7 +5090,7 @@ function cL() {
5069
5090
  return typeof Te == "object" && Te !== null && Te.$$typeof === l;
5070
5091
  }
5071
5092
  function ze(Te) {
5072
- return ee(Te) === k;
5093
+ return ee(Te) === D;
5073
5094
  }
5074
5095
  function it(Te) {
5075
5096
  return ee(Te) === f;
@@ -5123,22 +5144,22 @@ function fL() {
5123
5144
  return !1;
5124
5145
  for (var v = {}, C = 0; C < 10; C++)
5125
5146
  v["_" + String.fromCharCode(C)] = C;
5126
- var w = Object.getOwnPropertyNames(v).map(function(k) {
5127
- return v[k];
5147
+ var w = Object.getOwnPropertyNames(v).map(function(D) {
5148
+ return v[D];
5128
5149
  });
5129
5150
  if (w.join("") !== "0123456789")
5130
5151
  return !1;
5131
5152
  var x = {};
5132
- return "abcdefghijklmnopqrst".split("").forEach(function(k) {
5133
- x[k] = k;
5153
+ return "abcdefghijklmnopqrst".split("").forEach(function(D) {
5154
+ x[D] = D;
5134
5155
  }), Object.keys(Object.assign({}, x)).join("") === "abcdefghijklmnopqrst";
5135
5156
  } catch {
5136
5157
  return !1;
5137
5158
  }
5138
5159
  }
5139
5160
  return yC = p() ? Object.assign : function(g, v) {
5140
- for (var C, w = f(g), x, k = 1; k < arguments.length; k++) {
5141
- C = Object(arguments[k]);
5161
+ for (var C, w = f(g), x, D = 1; D < arguments.length; D++) {
5162
+ C = Object(arguments[D]);
5142
5163
  for (var _ in C)
5143
5164
  l.call(C, _) && (w[_] = C[_]);
5144
5165
  if (i) {
@@ -5180,22 +5201,22 @@ function dL() {
5180
5201
  }
5181
5202
  function p(g, v, C, w, x) {
5182
5203
  if (process.env.NODE_ENV !== "production") {
5183
- for (var k in g)
5184
- if (f(g, k)) {
5204
+ for (var D in g)
5205
+ if (f(g, D)) {
5185
5206
  var _;
5186
5207
  try {
5187
- if (typeof g[k] != "function") {
5208
+ if (typeof g[D] != "function") {
5188
5209
  var O = Error(
5189
- (w || "React class") + ": " + C + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof g[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
5210
+ (w || "React class") + ": " + C + " type `" + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof g[D] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
5190
5211
  );
5191
5212
  throw O.name = "Invariant Violation", O;
5192
5213
  }
5193
- _ = g[k](v, k, w, C, null, l);
5214
+ _ = g[D](v, D, w, C, null, l);
5194
5215
  } catch (V) {
5195
5216
  _ = V;
5196
5217
  }
5197
5218
  if (_ && !(_ instanceof Error) && i(
5198
- (w || "React class") + ": type specification of " + C + " `" + k + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof _ + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
5219
+ (w || "React class") + ": type specification of " + C + " `" + D + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof _ + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
5199
5220
  ), _ instanceof Error && !(_.message in u)) {
5200
5221
  u[_.message] = !0;
5201
5222
  var z = x ? x() : "";
@@ -5228,9 +5249,9 @@ function pL() {
5228
5249
  return null;
5229
5250
  }
5230
5251
  return bC = function(C, w) {
5231
- var x = typeof Symbol == "function" && Symbol.iterator, k = "@@iterator";
5252
+ var x = typeof Symbol == "function" && Symbol.iterator, D = "@@iterator";
5232
5253
  function _(F) {
5233
- var se = F && (x && F[x] || F[k]);
5254
+ var se = F && (x && F[x] || F[D]);
5234
5255
  if (typeof se == "function")
5235
5256
  return se;
5236
5257
  }
@@ -5541,7 +5562,7 @@ function hL() {
5541
5562
  function u() {
5542
5563
  }
5543
5564
  return u.resetWarningCache = l, wC = function() {
5544
- function f(v, C, w, x, k, _) {
5565
+ function f(v, C, w, x, D, _) {
5545
5566
  if (_ !== i) {
5546
5567
  var O = new Error(
5547
5568
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
@@ -5667,7 +5688,7 @@ function bL() {
5667
5688
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
5668
5689
  }
5669
5690
  function wL(i) {
5670
- var l, u = i.beat, f = i.fade, p = i.beatFade, g = i.bounce, v = i.shake, C = i.flash, w = i.spin, x = i.spinPulse, k = i.spinReverse, _ = i.pulse, O = i.fixedWidth, z = i.inverse, V = i.border, G = i.listItem, Y = i.flip, re = i.size, W = i.rotation, B = i.pull, ee = (l = {
5691
+ var l, u = i.beat, f = i.fade, p = i.beatFade, g = i.bounce, v = i.shake, C = i.flash, w = i.spin, x = i.spinPulse, D = i.spinReverse, _ = i.pulse, O = i.fixedWidth, z = i.inverse, V = i.border, G = i.listItem, Y = i.flip, re = i.size, W = i.rotation, B = i.pull, ee = (l = {
5671
5692
  "fa-beat": u,
5672
5693
  "fa-fade": f,
5673
5694
  "fa-beat-fade": p,
@@ -5675,7 +5696,7 @@ function wL(i) {
5675
5696
  "fa-shake": v,
5676
5697
  "fa-flash": C,
5677
5698
  "fa-spin": w,
5678
- "fa-spin-reverse": k,
5699
+ "fa-spin-reverse": D,
5679
5700
  "fa-spin-pulse": x,
5680
5701
  "fa-pulse": _,
5681
5702
  "fa-fw": O,
@@ -5721,16 +5742,16 @@ function Y_(i, l) {
5721
5742
  var f = (l.children || []).map(function(w) {
5722
5743
  return Y_(i, w);
5723
5744
  }), p = Object.keys(l.attributes || {}).reduce(function(w, x) {
5724
- var k = l.attributes[x];
5745
+ var D = l.attributes[x];
5725
5746
  switch (x) {
5726
5747
  case "class":
5727
- w.attrs.className = k, delete l.attributes.class;
5748
+ w.attrs.className = D, delete l.attributes.class;
5728
5749
  break;
5729
5750
  case "style":
5730
- w.attrs.style = RL(k);
5751
+ w.attrs.style = RL(D);
5731
5752
  break;
5732
5753
  default:
5733
- x.indexOf("aria-") === 0 || x.indexOf("data-") === 0 ? w.attrs[x.toLowerCase()] = k : w.attrs[W_(x)] = k;
5754
+ x.indexOf("aria-") === 0 || x.indexOf("data-") === 0 ? w.attrs[x.toLowerCase()] = D : w.attrs[W_(x)] = D;
5734
5755
  }
5735
5756
  return w;
5736
5757
  }, {
@@ -5800,14 +5821,14 @@ var v3 = {
5800
5821
  transform: null,
5801
5822
  swapOpacity: !1
5802
5823
  }, Mt = /* @__PURE__ */ Bd.forwardRef(function(i, l) {
5803
- var u = _o(_o({}, v3), i), f = u.icon, p = u.mask, g = u.symbol, v = u.className, C = u.title, w = u.titleId, x = u.maskId, k = h3(f), _ = xC("classes", [].concat(ab(wL(u)), ab((v || "").split(" ")))), O = xC("transform", typeof u.transform == "string" ? nb.transform(u.transform) : u.transform), z = xC("mask", h3(p)), V = uL(k, _o(_o(_o(_o({}, _), O), z), {}, {
5824
+ var u = _o(_o({}, v3), i), f = u.icon, p = u.mask, g = u.symbol, v = u.className, C = u.title, w = u.titleId, x = u.maskId, D = h3(f), _ = xC("classes", [].concat(ab(wL(u)), ab((v || "").split(" ")))), O = xC("transform", typeof u.transform == "string" ? nb.transform(u.transform) : u.transform), z = xC("mask", h3(p)), V = uL(D, _o(_o(_o(_o({}, _), O), z), {}, {
5804
5825
  symbol: g,
5805
5826
  title: C,
5806
5827
  titleId: w,
5807
5828
  maskId: x
5808
5829
  }));
5809
5830
  if (!V)
5810
- return DL("Could not find icon", k), null;
5831
+ return DL("Could not find icon", D), null;
5811
5832
  var G = V.abstract, Y = {
5812
5833
  ref: l
5813
5834
  };
@@ -6105,9 +6126,9 @@ var kd = /* @__PURE__ */ new Map(), Q_ = function(l) {
6105
6126
  }
6106
6127
  To.push(l), l.setAttribute("src", "");
6107
6128
  var x = p ? s8 : c8;
6108
- x(w, g, function(k, _) {
6129
+ x(w, g, function(D, _) {
6109
6130
  if (!_) {
6110
- To.splice(To.indexOf(l), 1), l = null, C(k);
6131
+ To.splice(To.indexOf(l), 1), l = null, C(D);
6111
6132
  return;
6112
6133
  }
6113
6134
  var O = l.getAttribute("id");
@@ -6184,7 +6205,7 @@ var kd = /* @__PURE__ */ new Map(), Q_ = function(l) {
6184
6205
  var f = u === void 0 ? {} : u, p = f.afterAll, g = p === void 0 ? function() {
6185
6206
  } : p, v = f.afterEach, C = v === void 0 ? function() {
6186
6207
  } : v, w = f.beforeEach, x = w === void 0 ? function() {
6187
- } : w, k = f.cacheRequests, _ = k === void 0 ? !0 : k, O = f.evalScripts, z = O === void 0 ? "never" : O, V = f.httpRequestWithCredentials, G = V === void 0 ? !1 : V, Y = f.renumerateIRIElements, re = Y === void 0 ? !0 : Y;
6208
+ } : w, D = f.cacheRequests, _ = D === void 0 ? !0 : D, O = f.evalScripts, z = O === void 0 ? "never" : O, V = f.httpRequestWithCredentials, G = V === void 0 ? !1 : V, Y = f.renumerateIRIElements, re = Y === void 0 ? !0 : Y;
6188
6209
  if (l && "length" in l)
6189
6210
  for (var W = 0, B = 0, ee = l.length; B < ee; B++)
6190
6211
  w3(l[B], z, re, _, G, x, function(P, ge) {
@@ -6220,8 +6241,8 @@ var kd = /* @__PURE__ */ new Map(), Q_ = function(l) {
6220
6241
  return u.renderSVG = function() {
6221
6242
  var p = this;
6222
6243
  if (this.reactWrapper instanceof v8(this.reactWrapper).Node) {
6223
- var g = this.props, v = g.desc, C = g.evalScripts, w = g.httpRequestWithCredentials, x = g.renumerateIRIElements, k = g.src, _ = g.title, O = g.useRequestCache, z = this.props.onError, V = this.props.beforeInjection, G = this.props.afterInjection, Y = this.props.wrapper, re, W;
6224
- Y === "svg" ? (re = document.createElementNS(Ky, Y), re.setAttribute("xmlns", Ky), re.setAttribute("xmlns:xlink", x3), W = document.createElementNS(Ky, Y)) : (re = document.createElement(Y), W = document.createElement(Y)), re.appendChild(W), W.dataset.src = k, this.nonReactWrapper = this.reactWrapper.appendChild(re);
6244
+ var g = this.props, v = g.desc, C = g.evalScripts, w = g.httpRequestWithCredentials, x = g.renumerateIRIElements, D = g.src, _ = g.title, O = g.useRequestCache, z = this.props.onError, V = this.props.beforeInjection, G = this.props.afterInjection, Y = this.props.wrapper, re, W;
6245
+ Y === "svg" ? (re = document.createElementNS(Ky, Y), re.setAttribute("xmlns", Ky), re.setAttribute("xmlns:xlink", x3), W = document.createElementNS(Ky, Y)) : (re = document.createElement(Y), W = document.createElement(Y)), re.appendChild(W), W.dataset.src = D, this.nonReactWrapper = this.reactWrapper.appendChild(re);
6225
6246
  var B = function(ae) {
6226
6247
  if (p.removeSVG(), !p._isMounted) {
6227
6248
  z(ae);
@@ -6363,8 +6384,8 @@ function fF(i) {
6363
6384
  }, v = (_) => {
6364
6385
  const O = Y3(f + _, 0, l.length - 1);
6365
6386
  O !== f && p(O);
6366
- }, C = () => v(1), w = () => v(-1), x = f < l.length - 1, k = f >= 1;
6367
- return { history: l, stateIndex: f, pushState: g, undo: C, redo: w, undoAvailable: x, redoAvailable: k };
6387
+ }, C = () => v(1), w = () => v(-1), x = f < l.length - 1, D = f >= 1;
6388
+ return { history: l, stateIndex: f, pushState: g, undo: C, redo: w, undoAvailable: x, redoAvailable: D };
6368
6389
  }
6369
6390
  function Mb({ onKeyDown: i, onKeyUp: l }) {
6370
6391
  gt(() => (i && document.addEventListener("keydown", i), l && document.addEventListener("keyup", l), () => {
@@ -6375,12 +6396,12 @@ function T8({ options: i, shortcuts: l, useCategories: u = !0 }) {
6375
6396
  const [f, p] = Ve([]), g = ns((w, x = !0) => {
6376
6397
  if (!l)
6377
6398
  return;
6378
- const k = [...f], _ = (O, z) => {
6399
+ const D = [...f], _ = (O, z) => {
6379
6400
  var V, G, Y;
6380
6401
  for (const [re, W] of Object.entries(O)) {
6381
6402
  let B = !0;
6382
6403
  W.forEach((ee) => {
6383
- if (!k.includes(ee) && w.key !== ee)
6404
+ if (!D.includes(ee) && w.key !== ee)
6384
6405
  return B = !1;
6385
6406
  }), B && (w.preventDefault(), w.stopPropagation(), !(!W.includes(w.key) || !x) && (z != null ? (G = (V = i == null ? void 0 : i[z]) == null ? void 0 : V[re]) == null || G.call(V, w) : (Y = i == null ? void 0 : i[re]) == null || Y.call(i, w)));
6386
6407
  }
@@ -6390,7 +6411,7 @@ function T8({ options: i, shortcuts: l, useCategories: u = !0 }) {
6390
6411
  _(z, O);
6391
6412
  else
6392
6413
  _(l);
6393
- p(k);
6414
+ p(D);
6394
6415
  }, [f, i, l, u]);
6395
6416
  gt(() => {
6396
6417
  const w = () => {
@@ -6440,23 +6461,23 @@ function Ab() {
6440
6461
  }, []), [i, u];
6441
6462
  }
6442
6463
  function R8({ avoidTaskbar: i = !0 }) {
6443
- const { taskbarConfig: l } = nr(), u = _l(null), [f, p] = Ve(!1), [g, v] = Ve(!1), [C, w] = Ve(!1), [x, k] = Ab();
6464
+ const { taskbarConfig: l } = nr(), u = _l(null), [f, p] = Ve(!1), [g, v] = Ve(!1), [C, w] = Ve(!1), [x, D] = Ab();
6444
6465
  return gt(() => {
6445
- if (u.current == null || x == null || k == null)
6466
+ if (u.current == null || x == null || D == null)
6446
6467
  return;
6447
6468
  const _ = u.current.getBoundingClientRect(), O = x;
6448
- let z = k;
6469
+ let z = D;
6449
6470
  i && (z -= l.height);
6450
6471
  const V = _.x + _.width > O, G = _.y + _.height > z;
6451
6472
  V && v(!0), G && w(!0), p(!0);
6452
- }, [g, i, k, x]), { ref: u, initiated: f, alignLeft: g, alignTop: C };
6473
+ }, [g, i, D, x]), { ref: u, initiated: f, alignLeft: g, alignTop: C };
6453
6474
  }
6454
6475
  function Z_(i) {
6455
6476
  const [l, u] = Ve(!1), [f, p] = Ve(0), [g, v] = Ve(0), [C, w] = Ve(0);
6456
6477
  i == null && (i = {}), i.shadow == null && (i.shadow = {}), i.shadow.color == null && (i.shadow.color = {});
6457
6478
  const {
6458
6479
  ref: x,
6459
- horizontal: k = !0,
6480
+ horizontal: D = !0,
6460
6481
  dynamicOffset: _ = !0,
6461
6482
  dynamicOffsetFactor: O = 3,
6462
6483
  shadow: {
@@ -6471,8 +6492,8 @@ function Z_(i) {
6471
6492
  }
6472
6493
  }
6473
6494
  } = i, ee = ns((ae) => {
6474
- ae && (p(k ? ae.scrollLeft : ae.scrollTop), v(k ? ae.scrollWidth : ae.scrollHeight), w(k ? ae.clientWidth : ae.clientHeight));
6475
- }, [k]), P = (ae) => {
6495
+ ae && (p(D ? ae.scrollLeft : ae.scrollTop), v(D ? ae.scrollWidth : ae.scrollHeight), w(D ? ae.clientWidth : ae.clientHeight));
6496
+ }, [D]), P = (ae) => {
6476
6497
  ee(ae.target);
6477
6498
  };
6478
6499
  return gt(() => {
@@ -6486,7 +6507,7 @@ function Z_(i) {
6486
6507
  const ae = f, ke = g - f - C, xe = ae === 0, be = ke === 0, ye = f > 0 && C < g - f;
6487
6508
  let Ce = z, _e = z;
6488
6509
  _ && (Ce = ae * O - z, _e = ke * O - z, Ce > z ? Ce = z : Ce < 0 && (Ce = 0), _e > z ? _e = z : _e < 0 && (_e = 0));
6489
- const Z = k ? `${Ce}px 0` : `0 ${Ce}px`, U = k ? `-${_e}px 0` : `0 -${_e}px`, $ = `inset ${Z} ${V}px ${G}px rgba(${Y}, ${re}, ${W}, ${B}%)`, ie = `inset ${U} ${V}px ${G}px rgba(${Y}, ${re}, ${W}, ${B}%)`;
6510
+ const Z = D ? `${Ce}px 0` : `0 ${Ce}px`, U = D ? `-${_e}px 0` : `0 -${_e}px`, $ = `inset ${Z} ${V}px ${G}px rgba(${Y}, ${re}, ${W}, ${B}%)`, ie = `inset ${U} ${V}px ${G}px rgba(${Y}, ${re}, ${W}, ${B}%)`;
6490
6511
  let A = "none";
6491
6512
  return xe ? A = ie : ye ? A = `${$}, ${ie}` : be && (A = $), A;
6492
6513
  })(), onUpdate: P };
@@ -6568,7 +6589,7 @@ function O8() {
6568
6589
  return v.now() - C;
6569
6590
  };
6570
6591
  }
6571
- var w = [], x = [], k = 1, _ = null, O = 3, z = !1, V = !1, G = !1, Y = typeof setTimeout == "function" ? setTimeout : null, re = typeof clearTimeout == "function" ? clearTimeout : null, W = typeof setImmediate < "u" ? setImmediate : null;
6592
+ var w = [], x = [], D = 1, _ = null, O = 3, z = !1, V = !1, G = !1, Y = typeof setTimeout == "function" ? setTimeout : null, re = typeof clearTimeout == "function" ? clearTimeout : null, W = typeof setImmediate < "u" ? setImmediate : null;
6572
6593
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
6573
6594
  function B(A) {
6574
6595
  for (var oe = u(x); oe !== null; ) {
@@ -6709,7 +6730,7 @@ function O8() {
6709
6730
  default:
6710
6731
  Ee = 5e3;
6711
6732
  }
6712
- return Ee = F + Ee, A = { id: k++, callback: oe, priorityLevel: A, startTime: F, expirationTime: Ee, sortIndex: -1 }, F > se ? (A.sortIndex = F, l(x, A), u(w) === null && A === u(x) && (G ? (re(ke), ke = -1) : G = !0, ie(ee, F - se))) : (A.sortIndex = Ee, l(w, A), V || z || (V = !0, $(P))), A;
6733
+ return Ee = F + Ee, A = { id: D++, callback: oe, priorityLevel: A, startTime: F, expirationTime: Ee, sortIndex: -1 }, F > se ? (A.sortIndex = F, l(x, A), u(w) === null && A === u(x) && (G ? (re(ke), ke = -1) : G = !0, ie(ee, F - se))) : (A.sortIndex = Ee, l(w, A), V || z || (V = !0, $(P))), A;
6713
6734
  }, i.unstable_shouldYield = ye, i.unstable_wrapCallback = function(A) {
6714
6735
  var oe = O;
6715
6736
  return function() {
@@ -6777,7 +6798,7 @@ function N8() {
6777
6798
  var St = Me.sortIndex - tt.sortIndex;
6778
6799
  return St !== 0 ? St : Me.id - tt.id;
6779
6800
  }
6780
- var k = 1, _ = 2, O = 3, z = 4, V = 5;
6801
+ var D = 1, _ = 2, O = 3, z = 4, V = 5;
6781
6802
  function G(Me, tt) {
6782
6803
  }
6783
6804
  var Y = typeof performance == "object" && typeof performance.now == "function";
@@ -6843,7 +6864,7 @@ function N8() {
6843
6864
  }
6844
6865
  function it(Me, tt) {
6845
6866
  switch (Me) {
6846
- case k:
6867
+ case D:
6847
6868
  case _:
6848
6869
  case O:
6849
6870
  case z:
@@ -6863,7 +6884,7 @@ function N8() {
6863
6884
  function We(Me) {
6864
6885
  var tt;
6865
6886
  switch (Z) {
6866
- case k:
6887
+ case D:
6867
6888
  case _:
6868
6889
  case O:
6869
6890
  tt = O;
@@ -6901,7 +6922,7 @@ function N8() {
6901
6922
  vn = $t;
6902
6923
  var Dn;
6903
6924
  switch (Me) {
6904
- case k:
6925
+ case D:
6905
6926
  Dn = P;
6906
6927
  break;
6907
6928
  case _:
@@ -6994,7 +7015,7 @@ function N8() {
6994
7015
  oe(br), br = -1;
6995
7016
  }
6996
7017
  var rs = Po, qi = null;
6997
- i.unstable_IdlePriority = V, i.unstable_ImmediatePriority = k, i.unstable_LowPriority = z, i.unstable_NormalPriority = O, i.unstable_Profiling = qi, i.unstable_UserBlockingPriority = _, i.unstable_cancelCallback = Te, i.unstable_continueExecution = vt, i.unstable_forceFrameRate = Wi, i.unstable_getCurrentPriorityLevel = Ot, i.unstable_getFirstCallbackNode = kt, i.unstable_next = We, i.unstable_pauseExecution = ht, i.unstable_requestPaint = rs, i.unstable_runWithPriority = it, i.unstable_scheduleCallback = nt, i.unstable_shouldYield = Al, i.unstable_wrapCallback = Je, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
7018
+ i.unstable_IdlePriority = V, i.unstable_ImmediatePriority = D, i.unstable_LowPriority = z, i.unstable_NormalPriority = O, i.unstable_Profiling = qi, i.unstable_UserBlockingPriority = _, i.unstable_cancelCallback = Te, i.unstable_continueExecution = vt, i.unstable_forceFrameRate = Wi, i.unstable_getCurrentPriorityLevel = Ot, i.unstable_getFirstCallbackNode = kt, i.unstable_next = We, i.unstable_pauseExecution = ht, i.unstable_requestPaint = rs, i.unstable_runWithPriority = it, i.unstable_scheduleCallback = nt, i.unstable_shouldYield = Al, i.unstable_wrapCallback = Je, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
6998
7019
  }();
6999
7020
  }(DC)), DC;
7000
7021
  }
@@ -7027,9 +7048,9 @@ function M8() {
7027
7048
  function v(n, r) {
7028
7049
  for (p[n] = r, n = 0; n < r.length; n++) f.add(r[n]);
7029
7050
  }
7030
- var C = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), w = Object.prototype.hasOwnProperty, x = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, k = {}, _ = {};
7051
+ var C = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), w = Object.prototype.hasOwnProperty, x = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, D = {}, _ = {};
7031
7052
  function O(n) {
7032
- return w.call(_, n) ? !0 : w.call(k, n) ? !1 : x.test(n) ? _[n] = !0 : (k[n] = !0, !1);
7053
+ return w.call(_, n) ? !0 : w.call(D, n) ? !1 : x.test(n) ? _[n] = !0 : (D[n] = !0, !1);
7033
7054
  }
7034
7055
  function z(n, r, s, d) {
7035
7056
  if (s !== null && s.type === 0) return !1;
@@ -12212,7 +12233,7 @@ function A8() {
12212
12233
  h.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, h);
12213
12234
  }
12214
12235
  }
12215
- var w = 0, x = 1, k = 2, _ = 3, O = 4, z = 5, V = 6, G = 7, Y = 8, re = 9, W = 10, B = 11, ee = 12, P = 13, ge = 14, ae = 15, ke = 16, xe = 17, be = 18, ye = 19, Ce = 21, _e = 22, Z = 23, U = 24, $ = 25, ie = !0, A = !1, oe = !1, F = !1, se = !1, Ee = !0, Ne = !1, ze = !0, it = !0, We = !0, Je = !0, nt = /* @__PURE__ */ new Set(), ht = {}, vt = {};
12236
+ var w = 0, x = 1, D = 2, _ = 3, O = 4, z = 5, V = 6, G = 7, Y = 8, re = 9, W = 10, B = 11, ee = 12, P = 13, ge = 14, ae = 15, ke = 16, xe = 17, be = 18, ye = 19, Ce = 21, _e = 22, Z = 23, U = 24, $ = 25, ie = !0, A = !1, oe = !1, F = !1, se = !1, Ee = !0, Ne = !1, ze = !0, it = !0, We = !0, Je = !0, nt = /* @__PURE__ */ new Set(), ht = {}, vt = {};
12216
12237
  function kt(e, t) {
12217
12238
  Te(e, t), Te(e + "Capture", t);
12218
12239
  }
@@ -12742,12 +12763,12 @@ function A8() {
12742
12763
  e[E] = a;
12743
12764
  return;
12744
12765
  }
12745
- var R = c.attributeName, D = c.attributeNamespace;
12766
+ var R = c.attributeName, k = c.attributeNamespace;
12746
12767
  if (a === null)
12747
12768
  e.removeAttribute(R);
12748
12769
  else {
12749
12770
  var H = c.type, I;
12750
- H === wr || H === Da && a === !0 ? I = "" : (ci(a, R), I = "" + a, c.sanitizeURL && qd(I.toString())), D ? e.setAttributeNS(D, R, I) : e.setAttribute(R, I);
12771
+ H === wr || H === Da && a === !0 ? I = "" : (ci(a, R), I = "" + a, c.sanitizeURL && qd(I.toString())), k ? e.setAttributeNS(k, R, I) : e.setAttribute(R, I);
12751
12772
  }
12752
12773
  }
12753
12774
  }
@@ -12889,18 +12910,18 @@ function A8() {
12889
12910
  if (ne && o && typeof ne.stack == "string") {
12890
12911
  for (var E = ne.stack.split(`
12891
12912
  `), b = o.stack.split(`
12892
- `), R = E.length - 1, D = b.length - 1; R >= 1 && D >= 0 && E[R] !== b[D]; )
12893
- D--;
12894
- for (; R >= 1 && D >= 0; R--, D--)
12895
- if (E[R] !== b[D]) {
12896
- if (R !== 1 || D !== 1)
12913
+ `), R = E.length - 1, k = b.length - 1; R >= 1 && k >= 0 && E[R] !== b[k]; )
12914
+ k--;
12915
+ for (; R >= 1 && k >= 0; R--, k--)
12916
+ if (E[R] !== b[k]) {
12917
+ if (R !== 1 || k !== 1)
12897
12918
  do
12898
- if (R--, D--, D < 0 || E[R] !== b[D]) {
12919
+ if (R--, k--, k < 0 || E[R] !== b[k]) {
12899
12920
  var H = `
12900
12921
  ` + E[R].replace(" at new ", " at ");
12901
12922
  return e.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", e.displayName)), typeof e == "function" && Nc.set(e, H), H;
12902
12923
  }
12903
- while (R >= 1 && D >= 0);
12924
+ while (R >= 1 && k >= 0);
12904
12925
  break;
12905
12926
  }
12906
12927
  }
@@ -12960,7 +12981,7 @@ function A8() {
12960
12981
  case ye:
12961
12982
  return Na("SuspenseList");
12962
12983
  case w:
12963
- case k:
12984
+ case D:
12964
12985
  case ae:
12965
12986
  return Ho(e.type);
12966
12987
  case B:
@@ -13090,7 +13111,7 @@ Error generating stack: ` + o.message + `
13090
13111
  case x:
13091
13112
  case w:
13092
13113
  case xe:
13093
- case k:
13114
+ case D:
13094
13115
  case ge:
13095
13116
  case ae:
13096
13117
  if (typeof a == "function")
@@ -13347,8 +13368,8 @@ Check the render method of \`` + e + "`." : "";
13347
13368
  c[b].selected !== R && (c[b].selected = R), R && o && (c[b].defaultSelected = !0);
13348
13369
  }
13349
13370
  } else {
13350
- for (var D = ar(Qi(a)), H = null, I = 0; I < c.length; I++) {
13351
- if (c[I].value === D) {
13371
+ for (var k = ar(Qi(a)), H = null, I = 0; I < c.length; I++) {
13372
+ if (c[I].value === k) {
13352
13373
  c[I].selected = !0, o && (c[I].defaultSelected = !0);
13353
13374
  return;
13354
13375
  }
@@ -14342,9 +14363,9 @@ Check the render method of \`` + e + "`." : "";
14342
14363
  return v("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", t), Pn[t] = !0, !0;
14343
14364
  var b = Ga(t), R = b !== null && b.type === Yi;
14344
14365
  if (Wc.hasOwnProperty(c)) {
14345
- var D = Wc[c];
14346
- if (D !== t)
14347
- return v("Invalid DOM property `%s`. Did you mean `%s`?", t, D), Pn[t] = !0, !0;
14366
+ var k = Wc[c];
14367
+ if (k !== t)
14368
+ return v("Invalid DOM property `%s`. Did you mean `%s`?", t, k), Pn[t] = !0, !0;
14348
14369
  } else if (!R && t !== c)
14349
14370
  return v("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", t, c), Pn[t] = !0, !0;
14350
14371
  return typeof a == "boolean" && ta(t, a, b, !1) ? (a ? v('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', a, t, t, a, t) : v('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', a, t, t, a, t, t, t), Pn[t] = !0, !0) : R ? !0 : ta(t, a, b, !1) ? (Pn[t] = !0, !1) : ((a === "false" || a === "true") && b !== null && b.type === wr && (v("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", a, t, a === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', t, a), Pn[t] = !0), !0);
@@ -14482,8 +14503,8 @@ Check the render method of \`` + e + "`." : "";
14482
14503
  var R = Array.prototype.slice.call(arguments, 3);
14483
14504
  try {
14484
14505
  t.apply(a, R);
14485
- } catch (D) {
14486
- this.onError(D);
14506
+ } catch (k) {
14507
+ this.onError(k);
14487
14508
  }
14488
14509
  }
14489
14510
  var _p = Am;
@@ -14492,7 +14513,7 @@ Check the render method of \`` + e + "`." : "";
14492
14513
  _p = function(t, a, o, c, h, y, E, b, R) {
14493
14514
  if (typeof document > "u" || document === null)
14494
14515
  throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
14495
- var D = document.createEvent("Event"), H = !1, I = !0, J = window.event, ne = Object.getOwnPropertyDescriptor(window, "event");
14516
+ var k = document.createEvent("Event"), H = !1, I = !0, J = window.event, ne = Object.getOwnPropertyDescriptor(window, "event");
14496
14517
  function le() {
14497
14518
  Rp.removeEventListener(ue, et, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = J);
14498
14519
  }
@@ -14509,7 +14530,7 @@ Check the render method of \`` + e + "`." : "";
14509
14530
  }
14510
14531
  }
14511
14532
  var ue = "react-" + (t || "invokeguardedcallback");
14512
- if (window.addEventListener("error", X), Rp.addEventListener(ue, et, !1), D.initEvent(ue, !1, !1), Rp.dispatchEvent(D), ne && Object.defineProperty(window, "event", ne), H && I && (xt ? bt && (Qe = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : Qe = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(Qe)), window.removeEventListener("error", X), !H)
14533
+ if (window.addEventListener("error", X), Rp.addEventListener(ue, et, !1), k.initEvent(ue, !1, !1), Rp.dispatchEvent(k), ne && Object.defineProperty(window, "event", ne), H && I && (xt ? bt && (Qe = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : Qe = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(Qe)), window.removeEventListener("error", X), !H)
14513
14534
  return le(), Am.apply(this, arguments);
14514
14535
  };
14515
14536
  }
@@ -14712,28 +14733,28 @@ Check the render method of \`` + e + "`." : "";
14712
14733
  if (o.return !== c.return)
14713
14734
  o = h, c = y;
14714
14735
  else {
14715
- for (var R = !1, D = h.child; D; ) {
14716
- if (D === o) {
14736
+ for (var R = !1, k = h.child; k; ) {
14737
+ if (k === o) {
14717
14738
  R = !0, o = h, c = y;
14718
14739
  break;
14719
14740
  }
14720
- if (D === c) {
14741
+ if (k === c) {
14721
14742
  R = !0, c = h, o = y;
14722
14743
  break;
14723
14744
  }
14724
- D = D.sibling;
14745
+ k = k.sibling;
14725
14746
  }
14726
14747
  if (!R) {
14727
- for (D = y.child; D; ) {
14728
- if (D === o) {
14748
+ for (k = y.child; k; ) {
14749
+ if (k === o) {
14729
14750
  R = !0, o = y, c = h;
14730
14751
  break;
14731
14752
  }
14732
- if (D === c) {
14753
+ if (k === c) {
14733
14754
  R = !0, c = y, o = h;
14734
14755
  break;
14735
14756
  }
14736
- D = D.sibling;
14757
+ k = k.sibling;
14737
14758
  }
14738
14759
  if (!R)
14739
14760
  throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
@@ -15171,14 +15192,14 @@ Check the render method of \`` + e + "`." : "";
15171
15192
  if (t !== fe && t !== o && // If we already suspended with a delay, then interrupting is fine. Don't
15172
15193
  // bother waiting until the root is complete.
15173
15194
  (t & c) === fe) {
15174
- var D = mn(o), H = mn(t);
15195
+ var k = mn(o), H = mn(t);
15175
15196
  if (
15176
15197
  // Tests whether the next lane is equal or lower priority than the wip
15177
15198
  // one. This works because the bits decrease in priority as you go left.
15178
- D >= H || // Default priority updates should not interrupt transition updates. The
15199
+ k >= H || // Default priority updates should not interrupt transition updates. The
15179
15200
  // only difference between default updates and transition updates is that
15180
15201
  // default updates do not support refresh transitions.
15181
- D === pa && (H & el) !== fe
15202
+ k === pa && (H & el) !== fe
15182
15203
  )
15183
15204
  return t;
15184
15205
  }
@@ -15574,8 +15595,8 @@ Check the render method of \`` + e + "`." : "";
15574
15595
  return mu.set(R, yu(mu.get(R) || null, e, t, a, o, b)), !0;
15575
15596
  }
15576
15597
  case "gotpointercapture": {
15577
- var D = c, H = D.pointerId;
15578
- return gu.set(H, yu(gu.get(H) || null, e, t, a, o, D)), !0;
15598
+ var k = c, H = k.pointerId;
15599
+ return gu.set(H, yu(gu.get(H) || null, e, t, a, o, k)), !0;
15579
15600
  }
15580
15601
  }
15581
15602
  return !1;
@@ -16370,9 +16391,9 @@ Check the render method of \`` + e + "`." : "";
16370
16391
  function K(e, t, a, o, c, h, y) {
16371
16392
  var E = a ? nd(a) : window, b, R;
16372
16393
  if (m(E) ? b = L : yg(E) ? te ? b = q : (b = je, R = Ue) : $e(E) && (b = yn), b) {
16373
- var D = b(t, a);
16374
- if (D) {
16375
- r(e, D, o, c);
16394
+ var k = b(t, a);
16395
+ if (k) {
16396
+ r(e, k, o, c);
16376
16397
  return;
16377
16398
  }
16378
16399
  }
@@ -16389,12 +16410,12 @@ Check the render method of \`` + e + "`." : "";
16389
16410
  return;
16390
16411
  }
16391
16412
  if (!(!b && !E)) {
16392
- var D;
16413
+ var k;
16393
16414
  if (c.window === c)
16394
- D = c;
16415
+ k = c;
16395
16416
  else {
16396
16417
  var H = c.ownerDocument;
16397
- H ? D = H.defaultView || H.parentWindow : D = window;
16418
+ H ? k = H.defaultView || H.parentWindow : k = window;
16398
16419
  }
16399
16420
  var I, J;
16400
16421
  if (b) {
@@ -16408,7 +16429,7 @@ Check the render method of \`` + e + "`." : "";
16408
16429
  if (I !== J) {
16409
16430
  var Oe = Hf, et = "onMouseLeave", Qe = "onMouseEnter", xt = "mouse";
16410
16431
  (t === "pointerout" || t === "pointerover") && (Oe = hg, et = "onPointerLeave", Qe = "onPointerEnter", xt = "pointer");
16411
- var bt = I == null ? D : nd(I), X = J == null ? D : nd(J), ue = new Oe(et, xt + "leave", I, o, c);
16432
+ var bt = I == null ? k : nd(I), X = J == null ? k : nd(J), ue = new Oe(et, xt + "leave", I, o, c);
16412
16433
  ue.target = bt, ue.relatedTarget = X;
16413
16434
  var Q = null, me = tc(c);
16414
16435
  if (me === a) {
@@ -16476,18 +16497,18 @@ Check the render method of \`` + e + "`." : "";
16476
16497
  return OR(e, c, h, y, E);
16477
16498
  }
16478
16499
  function OR(e, t, a, o, c) {
16479
- var h = 0, y = -1, E = -1, b = 0, R = 0, D = e, H = null;
16500
+ var h = 0, y = -1, E = -1, b = 0, R = 0, k = e, H = null;
16480
16501
  e: for (; ; ) {
16481
- for (var I = null; D === t && (a === 0 || D.nodeType === vi) && (y = h + a), D === o && (c === 0 || D.nodeType === vi) && (E = h + c), D.nodeType === vi && (h += D.nodeValue.length), (I = D.firstChild) !== null; )
16482
- H = D, D = I;
16502
+ for (var I = null; k === t && (a === 0 || k.nodeType === vi) && (y = h + a), k === o && (c === 0 || k.nodeType === vi) && (E = h + c), k.nodeType === vi && (h += k.nodeValue.length), (I = k.firstChild) !== null; )
16503
+ H = k, k = I;
16483
16504
  for (; ; ) {
16484
- if (D === e)
16505
+ if (k === e)
16485
16506
  break e;
16486
- if (H === t && ++b === a && (y = h), H === o && ++R === c && (E = h), (I = D.nextSibling) !== null)
16507
+ if (H === t && ++b === a && (y = h), H === o && ++R === c && (E = h), (I = k.nextSibling) !== null)
16487
16508
  break;
16488
- D = H, H = D.parentNode;
16509
+ k = H, H = k.parentNode;
16489
16510
  }
16490
- D = I;
16511
+ k = I;
16491
16512
  }
16492
16513
  return y === -1 || E === -1 ? null : {
16493
16514
  start: y,
@@ -16502,12 +16523,12 @@ Check the render method of \`` + e + "`." : "";
16502
16523
  var b = E;
16503
16524
  E = y, y = b;
16504
16525
  }
16505
- var R = Ri(e, y), D = Ri(e, E);
16506
- if (R && D) {
16507
- if (c.rangeCount === 1 && c.anchorNode === R.node && c.anchorOffset === R.offset && c.focusNode === D.node && c.focusOffset === D.offset)
16526
+ var R = Ri(e, y), k = Ri(e, E);
16527
+ if (R && k) {
16528
+ if (c.rangeCount === 1 && c.anchorNode === R.node && c.anchorOffset === R.offset && c.focusNode === k.node && c.focusOffset === k.offset)
16508
16529
  return;
16509
16530
  var H = a.createRange();
16510
- H.setStart(R.node, R.offset), c.removeAllRanges(), y > E ? (c.addRange(H), c.extend(D.node, D.offset)) : (H.setEnd(D.node, D.offset), c.addRange(H));
16531
+ H.setStart(R.node, R.offset), c.removeAllRanges(), y > E ? (c.addRange(H), c.extend(k.node, k.offset)) : (H.setEnd(k.node, k.offset), c.addRange(H));
16511
16532
  }
16512
16533
  }
16513
16534
  }
@@ -16757,13 +16778,13 @@ Check the render method of \`` + e + "`." : "";
16757
16778
  b = hg;
16758
16779
  break;
16759
16780
  }
16760
- var D = (h & Wo) !== 0;
16781
+ var k = (h & Wo) !== 0;
16761
16782
  {
16762
- var H = !D && // TODO: ideally, we'd eventually add all events from
16783
+ var H = !k && // TODO: ideally, we'd eventually add all events from
16763
16784
  // nonDelegatedEvents list in DOMPluginEventSystem.
16764
16785
  // Then we can remove this special list.
16765
16786
  // This is a breaking change that can wait until React 18.
16766
- t === "scroll", I = qR(a, E, o.type, D, H);
16787
+ t === "scroll", I = qR(a, E, o.type, k, H);
16767
16788
  if (I.length > 0) {
16768
16789
  var J = new b(E, R, null, o, c);
16769
16790
  e.push({
@@ -16796,7 +16817,7 @@ Check the render method of \`` + e + "`." : "";
16796
16817
  }
16797
16818
  else
16798
16819
  for (var R = 0; R < t.length; R++) {
16799
- var D = t[R], H = D.instance, I = D.currentTarget, J = D.listener;
16820
+ var k = t[R], H = k.instance, I = k.currentTarget, J = k.listener;
16800
16821
  if (H !== o && e.isPropagationStopped())
16801
16822
  return;
16802
16823
  nw(e, J, I), o = H;
@@ -16855,14 +16876,14 @@ Check the render method of \`` + e + "`." : "";
16855
16876
  if (iw(R, y))
16856
16877
  break;
16857
16878
  if (b === O)
16858
- for (var D = E.return; D !== null; ) {
16859
- var H = D.tag;
16879
+ for (var k = E.return; k !== null; ) {
16880
+ var H = k.tag;
16860
16881
  if (H === _ || H === O) {
16861
- var I = D.stateNode.containerInfo;
16882
+ var I = k.stateNode.containerInfo;
16862
16883
  if (iw(I, y))
16863
16884
  return;
16864
16885
  }
16865
- D = D.return;
16886
+ k = k.return;
16866
16887
  }
16867
16888
  for (; R !== null; ) {
16868
16889
  var J = tc(R);
@@ -16892,11 +16913,11 @@ Check the render method of \`` + e + "`." : "";
16892
16913
  };
16893
16914
  }
16894
16915
  function qR(e, t, a, o, c, h) {
16895
- for (var y = t !== null ? t + "Capture" : null, E = o ? y : t, b = [], R = e, D = null; R !== null; ) {
16916
+ for (var y = t !== null ? t + "Capture" : null, E = o ? y : t, b = [], R = e, k = null; R !== null; ) {
16896
16917
  var H = R, I = H.stateNode, J = H.tag;
16897
- if (J === z && I !== null && (D = I, E !== null)) {
16918
+ if (J === z && I !== null && (k = I, E !== null)) {
16898
16919
  var ne = Go(R, E);
16899
- ne != null && b.push(ph(R, ne, D));
16920
+ ne != null && b.push(ph(R, ne, k));
16900
16921
  }
16901
16922
  if (c)
16902
16923
  break;
@@ -16910,8 +16931,8 @@ Check the render method of \`` + e + "`." : "";
16910
16931
  if (E === z && y !== null) {
16911
16932
  var b = y, R = Go(c, a);
16912
16933
  R != null && o.unshift(ph(c, R, b));
16913
- var D = Go(c, t);
16914
- D != null && o.push(ph(c, D, b));
16934
+ var k = Go(c, t);
16935
+ k != null && o.push(ph(c, k, b));
16915
16936
  }
16916
16937
  c = c.return;
16917
16938
  }
@@ -16943,11 +16964,11 @@ Check the render method of \`` + e + "`." : "";
16943
16964
  }
16944
16965
  function ow(e, t, a, o, c) {
16945
16966
  for (var h = t._reactName, y = [], E = a; E !== null && E !== o; ) {
16946
- var b = E, R = b.alternate, D = b.stateNode, H = b.tag;
16967
+ var b = E, R = b.alternate, k = b.stateNode, H = b.tag;
16947
16968
  if (R !== null && R === o)
16948
16969
  break;
16949
- if (H === z && D !== null) {
16950
- var I = D;
16970
+ if (H === z && k !== null) {
16971
+ var I = k;
16951
16972
  if (c) {
16952
16973
  var J = Go(E, h);
16953
16974
  J != null && y.unshift(ph(E, J, I));
@@ -17060,8 +17081,8 @@ Check the render method of \`` + e + "`." : "";
17060
17081
  is: t.is
17061
17082
  });
17062
17083
  else if (y = h.createElement(e), e === "select") {
17063
- var D = y;
17064
- t.multiple ? D.multiple = !0 : t.size && (D.size = t.size);
17084
+ var k = y;
17085
+ t.multiple ? k.multiple = !0 : t.size && (k.size = t.size);
17065
17086
  }
17066
17087
  } else
17067
17088
  y = h.createElementNS(E, e);
@@ -17151,13 +17172,13 @@ Check the render method of \`` + e + "`." : "";
17151
17172
  break;
17152
17173
  }
17153
17174
  $c(t, E);
17154
- var b, R, D = null;
17175
+ var b, R, k = null;
17155
17176
  for (b in y)
17156
17177
  if (!(E.hasOwnProperty(b) || !y.hasOwnProperty(b) || y[b] == null))
17157
17178
  if (b === ec) {
17158
17179
  var H = y[b];
17159
17180
  for (R in H)
17160
- H.hasOwnProperty(R) && (D || (D = {}), D[R] = "");
17181
+ H.hasOwnProperty(R) && (k || (k = {}), k[R] = "");
17161
17182
  } else b === hh || b === Js || b === wg || b === _u || b === lw || (ht.hasOwnProperty(b) ? h || (h = []) : (h = h || []).push(b, null));
17162
17183
  for (b in E) {
17163
17184
  var I = E[b], J = y != null ? y[b] : void 0;
@@ -17165,17 +17186,17 @@ Check the render method of \`` + e + "`." : "";
17165
17186
  if (b === ec)
17166
17187
  if (I && Object.freeze(I), J) {
17167
17188
  for (R in J)
17168
- J.hasOwnProperty(R) && (!I || !I.hasOwnProperty(R)) && (D || (D = {}), D[R] = "");
17189
+ J.hasOwnProperty(R) && (!I || !I.hasOwnProperty(R)) && (k || (k = {}), k[R] = "");
17169
17190
  for (R in I)
17170
- I.hasOwnProperty(R) && J[R] !== I[R] && (D || (D = {}), D[R] = I[R]);
17191
+ I.hasOwnProperty(R) && J[R] !== I[R] && (k || (k = {}), k[R] = I[R]);
17171
17192
  } else
17172
- D || (h || (h = []), h.push(b, D)), D = I;
17193
+ k || (h || (h = []), h.push(b, k)), k = I;
17173
17194
  else if (b === hh) {
17174
17195
  var ne = I ? I[xg] : void 0, le = J ? J[xg] : void 0;
17175
17196
  ne != null && le !== ne && (h = h || []).push(b, ne);
17176
17197
  } else b === Js ? (typeof I == "string" || typeof I == "number") && (h = h || []).push(b, "" + I) : b === wg || b === _u || (ht.hasOwnProperty(b) ? (I != null && (typeof I != "function" && _g(b, I), b === "onScroll" && an("scroll", e)), !h && J !== I && (h = [])) : (h = h || []).push(b, I));
17177
17198
  }
17178
- return D && (Ss(D, E[ec]), (h = h || []).push(ec, D)), h;
17199
+ return k && (Ss(k, E[ec]), (h = h || []).push(ec, k)), h;
17179
17200
  }
17180
17201
  function lD(e, t, a, o, c) {
17181
17202
  a === "input" && c.type === "radio" && c.name != null && op(e, c);
@@ -17241,8 +17262,8 @@ Check the render method of \`` + e + "`." : "";
17241
17262
  $c(t, a);
17242
17263
  {
17243
17264
  b = /* @__PURE__ */ new Set();
17244
- for (var D = e.attributes, H = 0; H < D.length; H++) {
17245
- var I = D[H].name.toLowerCase();
17265
+ for (var k = e.attributes, H = 0; H < k.length; H++) {
17266
+ var I = k[H].name.toLowerCase();
17246
17267
  switch (I) {
17247
17268
  case "value":
17248
17269
  break;
@@ -17251,7 +17272,7 @@ Check the render method of \`` + e + "`." : "";
17251
17272
  case "selected":
17252
17273
  break;
17253
17274
  default:
17254
- b.add(D[H].name);
17275
+ b.add(k[H].name);
17255
17276
  }
17256
17277
  }
17257
17278
  }
@@ -17520,12 +17541,12 @@ Check the render method of \`` + e + "`." : "";
17520
17541
  var b = E.tag, R = !!h + "|" + e + "|" + b;
17521
17542
  if (!hw[R]) {
17522
17543
  hw[R] = !0;
17523
- var D = e, H = "";
17524
- if (e === "#text" ? /\S/.test(t) ? D = "Text nodes" : (D = "Whitespace text nodes", H = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : D = "<" + e + ">", h) {
17544
+ var k = e, H = "";
17545
+ if (e === "#text" ? /\S/.test(t) ? k = "Text nodes" : (k = "Whitespace text nodes", H = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : k = "<" + e + ">", h) {
17525
17546
  var I = "";
17526
- b === "table" && e === "tr" && (I += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), v("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", D, b, H, I);
17547
+ b === "table" && e === "tr" && (I += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), v("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", k, b, H, I);
17527
17548
  } else
17528
- v("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", D, b);
17549
+ v("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", k, b);
17529
17550
  }
17530
17551
  }
17531
17552
  };
@@ -18142,7 +18163,7 @@ Check the render method of \`` + e + "`." : "";
18142
18163
  ac(), ni[ri++] = ml, ni[ri++] = gl, ni[ri++] = nc, nc = e;
18143
18164
  var o = ml, c = gl, h = $g(o) - 1, y = o & ~(1 << h), E = a + 1, b = $g(t) + h;
18144
18165
  if (b > 30) {
18145
- var R = h - h % 5, D = (1 << R) - 1, H = (y & D).toString(32), I = y >> R, J = h - R, ne = $g(t) + J, le = E << J, Oe = le | I, et = H + c;
18166
+ var R = h - h % 5, k = (1 << R) - 1, H = (y & k).toString(32), I = y >> R, J = h - R, ne = $g(t) + J, le = E << J, Oe = le | I, et = H + c;
18146
18167
  ml = 1 << ne | Oe, gl = et;
18147
18168
  } else {
18148
18169
  var Qe = E << h, xt = Qe | y, bt = c;
@@ -18253,7 +18274,7 @@ Check the render method of \`` + e + "`." : "";
18253
18274
  var h = e.type, y = e.memoizedProps, E = e.stateNode;
18254
18275
  switch (t.tag) {
18255
18276
  case z: {
18256
- var b = t.type, R = t.pendingProps, D = (e.mode & Xe) !== Ye;
18277
+ var b = t.type, R = t.pendingProps, k = (e.mode & Xe) !== Ye;
18257
18278
  mk(
18258
18279
  h,
18259
18280
  y,
@@ -18261,7 +18282,7 @@ Check the render method of \`` + e + "`." : "";
18261
18282
  b,
18262
18283
  R,
18263
18284
  // TODO: Delete this argument when we remove the legacy root API.
18264
- D
18285
+ k
18265
18286
  );
18266
18287
  break;
18267
18288
  }
@@ -18379,7 +18400,7 @@ Check the render method of \`` + e + "`." : "";
18379
18400
  break;
18380
18401
  }
18381
18402
  case z: {
18382
- var E = c.type, b = c.memoizedProps, R = c.stateNode, D = (c.mode & Xe) !== Ye;
18403
+ var E = c.type, b = c.memoizedProps, R = c.stateNode, k = (c.mode & Xe) !== Ye;
18383
18404
  uk(
18384
18405
  E,
18385
18406
  b,
@@ -18387,7 +18408,7 @@ Check the render method of \`` + e + "`." : "";
18387
18408
  t,
18388
18409
  a,
18389
18410
  // TODO: Delete this argument when we remove the legacy root API.
18390
- D
18411
+ k
18391
18412
  );
18392
18413
  break;
18393
18414
  }
@@ -18536,14 +18557,14 @@ Please update the following components: %s`, b);
18536
18557
  Please update the following components: %s`, R);
18537
18558
  }
18538
18559
  if (a.size > 0) {
18539
- var D = oc(a);
18560
+ var k = oc(a);
18540
18561
  g(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
18541
18562
 
18542
18563
  * Move data fetching code or side effects to componentDidUpdate.
18543
18564
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
18544
18565
  * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
18545
18566
 
18546
- Please update the following components: %s`, D);
18567
+ Please update the following components: %s`, k);
18547
18568
  }
18548
18569
  if (c.size > 0) {
18549
18570
  var H = oc(c);
@@ -18633,11 +18654,11 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, c)
18633
18654
  var R = "" + o;
18634
18655
  if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === R)
18635
18656
  return t.ref;
18636
- var D = function(H) {
18657
+ var k = function(H) {
18637
18658
  var I = b.refs;
18638
18659
  H === null ? delete I[R] : I[R] = H;
18639
18660
  };
18640
- return D._stringRef = R, D;
18661
+ return k._stringRef = R, k;
18641
18662
  } else {
18642
18663
  if (typeof o != "string")
18643
18664
  throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");
@@ -18715,7 +18736,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
18715
18736
  function b(X, ue, Q, me) {
18716
18737
  var Fe = Q.type;
18717
18738
  if (Fe === fi)
18718
- return D(X, ue, Q.props.children, me, Q.key);
18739
+ return k(X, ue, Q.props.children, me, Q.key);
18719
18740
  if (ue !== null && (ue.elementType === Fe || // Keep this check inline so it only runs on the false path:
18720
18741
  Wx(ue, Q) || // Lazy types should reconcile their resolved type.
18721
18742
  // We need to do this after the Hot Reloading check above,
@@ -18737,7 +18758,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
18737
18758
  return Le.return = X, Le;
18738
18759
  }
18739
18760
  }
18740
- function D(X, ue, Q, me, Fe) {
18761
+ function k(X, ue, Q, me, Fe) {
18741
18762
  if (ue === null || ue.tag !== G) {
18742
18763
  var Le = Bu(Q, X.mode, me, Fe);
18743
18764
  return Le.return = X, Le;
@@ -18790,7 +18811,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
18790
18811
  }
18791
18812
  }
18792
18813
  if (Un(Q) || di(Q))
18793
- return Fe !== null ? null : D(X, ue, Q, me, null);
18814
+ return Fe !== null ? null : k(X, ue, Q, me, null);
18794
18815
  Gg(X, Q);
18795
18816
  }
18796
18817
  return typeof Q == "function" && qg(X), null;
@@ -18816,7 +18837,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
18816
18837
  }
18817
18838
  if (Un(me) || di(me)) {
18818
18839
  var zn = X.get(Q) || null;
18819
- return D(ue, zn, me, Fe, null);
18840
+ return k(ue, zn, me, Fe, null);
18820
18841
  }
18821
18842
  Gg(ue, me);
18822
18843
  }
@@ -19094,8 +19115,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
19094
19115
  b.tag = Jg;
19095
19116
  var R = o.updateQueue;
19096
19117
  if (R !== null) {
19097
- var D = R.shared, H = D.pending;
19098
- H === null ? b.next = b : (b.next = H.next, H.next = b), D.pending = b;
19118
+ var k = R.shared, H = k.pending;
19119
+ H === null ? b.next = b : (b.next = H.next, H.next = b), k.pending = b;
19099
19120
  }
19100
19121
  }
19101
19122
  o.lanes = dt(o.lanes, a);
@@ -19307,8 +19328,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
19307
19328
  return;
19308
19329
  }
19309
19330
  }
19310
- var D = a.lastBaseUpdate;
19311
- D === null ? a.firstBaseUpdate = t : D.next = t, a.lastBaseUpdate = t;
19331
+ var k = a.lastBaseUpdate;
19332
+ k === null ? a.firstBaseUpdate = t : k.next = t, a.lastBaseUpdate = t;
19312
19333
  }
19313
19334
  function e4(e, t, a, o, c, h) {
19314
19335
  switch (a.tag) {
@@ -19366,9 +19387,9 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
19366
19387
  c.shared.pending = null;
19367
19388
  var b = E, R = b.next;
19368
19389
  b.next = null, y === null ? h = R : y.next = R, y = b;
19369
- var D = e.alternate;
19370
- if (D !== null) {
19371
- var H = D.updateQueue, I = H.lastBaseUpdate;
19390
+ var k = e.alternate;
19391
+ if (k !== null) {
19392
+ var H = k.updateQueue, I = H.lastBaseUpdate;
19372
19393
  I !== y && (I === null ? H.firstBaseUpdate = R : I.next = R, H.lastBaseUpdate = b);
19373
19394
  }
19374
19395
  }
@@ -19729,7 +19750,7 @@ Incoming: %s`, ce, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
19729
19750
  h.baseQueue !== y && v("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), h.baseQueue = y = E, c.pending = null;
19730
19751
  }
19731
19752
  if (y !== null) {
19732
- var D = y.next, H = h.baseState, I = null, J = null, ne = null, le = D;
19753
+ var k = y.next, H = h.baseState, I = null, J = null, ne = null, le = k;
19733
19754
  do {
19734
19755
  var Oe = le.lane;
19735
19756
  if (il(sc, Oe)) {
@@ -19763,7 +19784,7 @@ Incoming: %s`, ce, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
19763
19784
  ne === null ? (J = ne = et, I = H) : ne = ne.next = et, jt.lanes = dt(jt.lanes, Oe), rv(Oe);
19764
19785
  }
19765
19786
  le = le.next;
19766
- } while (le !== null && le !== D);
19787
+ } while (le !== null && le !== k);
19767
19788
  ne === null ? I = H : ne.next = J, He(H, o.memoizedState) || Wh(), o.memoizedState = H, o.baseState = I, o.baseQueue = ne, c.lastRenderedState = H;
19768
19789
  }
19769
19790
  var bt = c.interleaved;
@@ -19787,8 +19808,8 @@ Incoming: %s`, ce, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
19787
19808
  c.pending = null;
19788
19809
  var b = y.next, R = b;
19789
19810
  do {
19790
- var D = R.action;
19791
- E = e(E, D), R = R.next;
19811
+ var k = R.action;
19812
+ E = e(E, k), R = R.next;
19792
19813
  } while (R !== b);
19793
19814
  He(E, o.memoizedState) || Wh(), o.memoizedState = E, o.baseQueue === null && (o.baseState = E), c.lastRenderedState = E;
19794
19815
  }
@@ -19834,10 +19855,10 @@ Incoming: %s`, ce, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
19834
19855
  // checking whether we scheduled a subscription effect above.
19835
19856
  Kn !== null && Kn.memoizedState.tag & qn) {
19836
19857
  o.flags |= Jt, Ph(qn | vr, i2.bind(null, o, R, h, t), void 0, null);
19837
- var D = jy();
19838
- if (D === null)
19858
+ var k = jy();
19859
+ if (k === null)
19839
19860
  throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
19840
- Is(D, sc) || a2(o, t, h);
19861
+ Is(k, sc) || a2(o, t, h);
19841
19862
  }
19842
19863
  return h;
19843
19864
  }
@@ -20149,10 +20170,10 @@ Incoming: %s`, ce, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
20149
20170
  }
20150
20171
  }
20151
20172
  }
20152
- var D = Ww(e, t, c, o);
20153
- if (D !== null) {
20173
+ var k = Ww(e, t, c, o);
20174
+ if (k !== null) {
20154
20175
  var H = Kr();
20155
- tr(D, e, o, H), y2(D, t, o);
20176
+ tr(k, e, o, H), y2(k, t, o);
20156
20177
  }
20157
20178
  }
20158
20179
  S2(e, o);
@@ -20933,25 +20954,25 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, c)
20933
20954
  var R = t.contextTypes;
20934
20955
  o = R != null, h = o ? ad(e, c) : Pa;
20935
20956
  }
20936
- var D = new t(a, h);
20957
+ var k = new t(a, h);
20937
20958
  if (e.mode & mt) {
20938
20959
  wn(!0);
20939
20960
  try {
20940
- D = new t(a, h);
20961
+ k = new t(a, h);
20941
20962
  } finally {
20942
20963
  wn(!1);
20943
20964
  }
20944
20965
  }
20945
- var H = e.memoizedState = D.state !== null && D.state !== void 0 ? D.state : null;
20946
- M2(e, D);
20966
+ var H = e.memoizedState = k.state !== null && k.state !== void 0 ? k.state : null;
20967
+ M2(e, k);
20947
20968
  {
20948
20969
  if (typeof t.getDerivedStateFromProps == "function" && H === null) {
20949
20970
  var I = Pt(t) || "Component";
20950
- ZS.has(I) || (ZS.add(I), v("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", I, D.state === null ? "null" : "undefined", I));
20971
+ ZS.has(I) || (ZS.add(I), v("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", I, k.state === null ? "null" : "undefined", I));
20951
20972
  }
20952
- if (typeof t.getDerivedStateFromProps == "function" || typeof D.getSnapshotBeforeUpdate == "function") {
20973
+ if (typeof t.getDerivedStateFromProps == "function" || typeof k.getSnapshotBeforeUpdate == "function") {
20953
20974
  var J = null, ne = null, le = null;
20954
- if (typeof D.componentWillMount == "function" && D.componentWillMount.__suppressDeprecationWarning !== !0 ? J = "componentWillMount" : typeof D.UNSAFE_componentWillMount == "function" && (J = "UNSAFE_componentWillMount"), typeof D.componentWillReceiveProps == "function" && D.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? ne = "componentWillReceiveProps" : typeof D.UNSAFE_componentWillReceiveProps == "function" && (ne = "UNSAFE_componentWillReceiveProps"), typeof D.componentWillUpdate == "function" && D.componentWillUpdate.__suppressDeprecationWarning !== !0 ? le = "componentWillUpdate" : typeof D.UNSAFE_componentWillUpdate == "function" && (le = "UNSAFE_componentWillUpdate"), J !== null || ne !== null || le !== null) {
20975
+ if (typeof k.componentWillMount == "function" && k.componentWillMount.__suppressDeprecationWarning !== !0 ? J = "componentWillMount" : typeof k.UNSAFE_componentWillMount == "function" && (J = "UNSAFE_componentWillMount"), typeof k.componentWillReceiveProps == "function" && k.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? ne = "componentWillReceiveProps" : typeof k.UNSAFE_componentWillReceiveProps == "function" && (ne = "UNSAFE_componentWillReceiveProps"), typeof k.componentWillUpdate == "function" && k.componentWillUpdate.__suppressDeprecationWarning !== !0 ? le = "componentWillUpdate" : typeof k.UNSAFE_componentWillUpdate == "function" && (le = "UNSAFE_componentWillUpdate"), J !== null || ne !== null || le !== null) {
20955
20976
  var Oe = Pt(t) || "Component", et = typeof t.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
20956
20977
  eE.has(Oe) || (eE.add(Oe), v(`Unsafe legacy lifecycles will not be called for components using new component APIs.
20957
20978
 
@@ -20965,7 +20986,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Oe, et, J !== null ? `
20965
20986
  }
20966
20987
  }
20967
20988
  }
20968
- return o && bw(e, c, h), D;
20989
+ return o && bw(e, c, h), k;
20969
20990
  }
20970
20991
  function y4(e, t) {
20971
20992
  var a = t.state;
@@ -21016,7 +21037,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Oe, et, J !== null ? `
21016
21037
  var R = rd(e, t, !0);
21017
21038
  b = ad(e, R);
21018
21039
  }
21019
- var D = t.getDerivedStateFromProps, H = typeof D == "function" || typeof c.getSnapshotBeforeUpdate == "function";
21040
+ var k = t.getDerivedStateFromProps, H = typeof k == "function" || typeof c.getSnapshotBeforeUpdate == "function";
21020
21041
  !H && (typeof c.UNSAFE_componentWillReceiveProps == "function" || typeof c.componentWillReceiveProps == "function") && (h !== a || y !== b) && L2(e, c, a, b), Xw();
21021
21042
  var I = e.memoizedState, J = c.state = I;
21022
21043
  if (ry(e, a, c, o), J = e.memoizedState, h === a && I === J && !Fg() && !ay()) {
@@ -21026,7 +21047,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Oe, et, J !== null ? `
21026
21047
  }
21027
21048
  return !1;
21028
21049
  }
21029
- typeof D == "function" && (iE(e, t, D, a), J = e.memoizedState);
21050
+ typeof k == "function" && (iE(e, t, k, a), J = e.memoizedState);
21030
21051
  var le = ay() || N2(e, t, h, a, I, J, b);
21031
21052
  if (le) {
21032
21053
  if (!H && (typeof c.UNSAFE_componentWillMount == "function" || typeof c.componentWillMount == "function") && (typeof c.componentWillMount == "function" && c.componentWillMount(), typeof c.UNSAFE_componentWillMount == "function" && c.UNSAFE_componentWillMount()), typeof c.componentDidMount == "function") {
@@ -21047,9 +21068,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Oe, et, J !== null ? `
21047
21068
  qw(e, t);
21048
21069
  var y = t.memoizedProps, E = t.type === t.elementType ? y : Ai(t.type, y);
21049
21070
  h.props = E;
21050
- var b = t.pendingProps, R = h.context, D = a.contextType, H = Pa;
21051
- if (typeof D == "object" && D !== null)
21052
- H = Bn(D);
21071
+ var b = t.pendingProps, R = h.context, k = a.contextType, H = Pa;
21072
+ if (typeof k == "object" && k !== null)
21073
+ H = Bn(k);
21053
21074
  else {
21054
21075
  var I = rd(t, a, !0);
21055
21076
  H = ad(t, I);
@@ -21102,8 +21123,8 @@ https://reactjs.org/link/unsafe-component-lifecycles`, Oe, et, J !== null ? `
21102
21123
  R = `Consider adding an error boundary to your tree to customize error handling behavior.
21103
21124
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;
21104
21125
  else {
21105
- var D = ft(e) || "Anonymous";
21106
- R = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + D + ".");
21126
+ var k = ft(e) || "Anonymous";
21127
+ R = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + k + ".");
21107
21128
  }
21108
21129
  var H = b + `
21109
21130
  ` + y + `
@@ -21229,11 +21250,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21229
21250
  do {
21230
21251
  switch (R.tag) {
21231
21252
  case _: {
21232
- var D = o;
21253
+ var k = o;
21233
21254
  R.flags |= Fn;
21234
21255
  var H = su(c);
21235
21256
  R.lanes = dt(R.lanes, H);
21236
- var I = z2(R, D, H);
21257
+ var I = z2(R, k, H);
21237
21258
  gS(R, I);
21238
21259
  return;
21239
21260
  }
@@ -21314,13 +21335,13 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21314
21335
  return R.ref = t.ref, R.return = t, t.child = R, R;
21315
21336
  }
21316
21337
  {
21317
- var D = a.type, H = D.propTypes;
21338
+ var k = a.type, H = k.propTypes;
21318
21339
  H && Di(
21319
21340
  H,
21320
21341
  o,
21321
21342
  // Resolved props
21322
21343
  "prop",
21323
- Pt(D)
21344
+ Pt(k)
21324
21345
  );
21325
21346
  }
21326
21347
  var I = e.child, J = xE(e, c);
@@ -21354,10 +21375,10 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21354
21375
  }
21355
21376
  }
21356
21377
  if (e !== null) {
21357
- var D = e.memoizedProps;
21358
- if (at(D, o) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
21378
+ var k = e.memoizedProps;
21379
+ if (at(k, o) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
21359
21380
  t.type === e.type)
21360
- if (Li = !1, t.pendingProps = o = D, xE(e, c))
21381
+ if (Li = !1, t.pendingProps = o = k, xE(e, c))
21361
21382
  (e.flags & Os) !== Ze && (Li = !0);
21362
21383
  else return t.lanes = e.lanes, Sl(e, t, c);
21363
21384
  }
@@ -21390,12 +21411,12 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21390
21411
  } else
21391
21412
  b = a;
21392
21413
  t.lanes = t.childLanes = lr;
21393
- var D = {
21414
+ var k = {
21394
21415
  baseLanes: b,
21395
21416
  cachePool: E,
21396
21417
  transitions: null
21397
21418
  };
21398
- return t.memoizedState = D, t.updateQueue = null, Hy(t, b), null;
21419
+ return t.memoizedState = k, t.updateQueue = null, Hy(t, b), null;
21399
21420
  }
21400
21421
  else {
21401
21422
  var J;
@@ -21467,9 +21488,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21467
21488
  }
21468
21489
  case !0: {
21469
21490
  t.flags |= lt, t.flags |= Fn;
21470
- var R = new Error("Simulated error coming from DevTools"), D = su(c);
21471
- t.lanes = dt(t.lanes, D);
21472
- var H = cE(t, cc(R, t), D);
21491
+ var R = new Error("Simulated error coming from DevTools"), k = su(c);
21492
+ t.lanes = dt(t.lanes, k);
21493
+ var H = cE(t, cc(R, t), k);
21473
21494
  gS(t, H);
21474
21495
  break;
21475
21496
  }
@@ -21544,8 +21565,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21544
21565
  transitions: y.transitions
21545
21566
  }, R = t.updateQueue;
21546
21567
  if (R.baseState = b, t.memoizedState = b, t.flags & cn) {
21547
- var D = cc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
21548
- return Y2(e, t, E, a, D);
21568
+ var k = cc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
21569
+ return Y2(e, t, E, a, k);
21549
21570
  } else if (E !== h) {
21550
21571
  var H = cc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), t);
21551
21572
  return Y2(e, t, E, a, H);
@@ -21578,20 +21599,20 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21578
21599
  Oy(e, t);
21579
21600
  var c = t.pendingProps, h = a, y = h._payload, E = h._init, b = E(y);
21580
21601
  t.type = b;
21581
- var R = t.tag = AN(b), D = Ai(b, c), H;
21602
+ var R = t.tag = AN(b), k = Ai(b, c), H;
21582
21603
  switch (R) {
21583
21604
  case w:
21584
- return yE(t, b), t.type = b = Td(b), H = mE(null, t, b, D, o), H;
21605
+ return yE(t, b), t.type = b = Td(b), H = mE(null, t, b, k, o), H;
21585
21606
  case x:
21586
- return t.type = b = qE(b), H = $2(null, t, b, D, o), H;
21607
+ return t.type = b = qE(b), H = $2(null, t, b, k, o), H;
21587
21608
  case B:
21588
- return t.type = b = XE(b), H = I2(null, t, b, D, o), H;
21609
+ return t.type = b = XE(b), H = I2(null, t, b, k, o), H;
21589
21610
  case ge: {
21590
21611
  if (t.type !== t.elementType) {
21591
21612
  var I = b.propTypes;
21592
21613
  I && Di(
21593
21614
  I,
21594
- D,
21615
+ k,
21595
21616
  // Resolved for outer only
21596
21617
  "prop",
21597
21618
  Pt(b)
@@ -21601,7 +21622,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21601
21622
  null,
21602
21623
  t,
21603
21624
  b,
21604
- Ai(b.type, D),
21625
+ Ai(b.type, k),
21605
21626
  // The inner type can have defaults too
21606
21627
  o
21607
21628
  ), H;
@@ -21633,8 +21654,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
21633
21654
  t.mode & mt && Oi.recordLegacyContextWarning(t, null), Ma(!0), Bh.current = t, E = md(null, t, a, c, h, o), b = gd(), Ma(!1);
21634
21655
  }
21635
21656
  if (Or(), t.flags |= no, typeof E == "object" && E !== null && typeof E.render == "function" && E.$$typeof === void 0) {
21636
- var D = Pt(a) || "Unknown";
21637
- Vh[D] || (v("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", D, D, D), Vh[D] = !0);
21657
+ var k = Pt(a) || "Unknown";
21658
+ Vh[k] || (v("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", k, k, k), Vh[k] = !0);
21638
21659
  }
21639
21660
  if (
21640
21661
  // Run these checks in production only if the flag is off.
@@ -21727,9 +21748,9 @@ Check the render method of \`` + o + "`.");
21727
21748
  if (b !== null)
21728
21749
  return $4(t, b);
21729
21750
  }
21730
- var R = o.children, D = o.fallback;
21751
+ var R = o.children, k = o.fallback;
21731
21752
  if (h) {
21732
- var H = j4(t, R, D, a), I = t.child;
21753
+ var H = j4(t, R, k, a), I = t.child;
21733
21754
  return I.memoizedState = EE(a), t.memoizedState = SE, H;
21734
21755
  } else
21735
21756
  return CE(t, R);
@@ -21796,8 +21817,8 @@ Check the render method of \`` + o + "`.");
21796
21817
  // only codepath.)
21797
21818
  t.child !== y
21798
21819
  ) {
21799
- var D = t.child;
21800
- R = D, R.childLanes = fe, R.pendingProps = b, t.mode & ut && (R.actualDuration = 0, R.actualStartTime = -1, R.selfBaseDuration = y.selfBaseDuration, R.treeBaseDuration = y.treeBaseDuration), t.deletions = null;
21820
+ var k = t.child;
21821
+ R = k, R.childLanes = fe, R.pendingProps = b, t.mode & ut && (R.actualDuration = 0, R.actualStartTime = -1, R.selfBaseDuration = y.selfBaseDuration, R.treeBaseDuration = y.treeBaseDuration), t.deletions = null;
21801
21822
  } else
21802
21823
  R = q2(y, b), R.subtreeFlags = y.subtreeFlags & Wn;
21803
21824
  var H;
@@ -21844,8 +21865,8 @@ Check the render method of \`` + o + "`.");
21844
21865
  if (j1(c)) {
21845
21866
  var E, b, R;
21846
21867
  {
21847
- var D = XD(c);
21848
- E = D.digest, b = D.message, R = D.stack;
21868
+ var k = XD(c);
21869
+ E = k.digest, b = k.message, R = k.stack;
21849
21870
  }
21850
21871
  var H;
21851
21872
  b ? H = new Error(b) : H = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
@@ -21991,13 +22012,13 @@ Check the render method of \`` + o + "`.");
21991
22012
  else
21992
22013
  switch (c) {
21993
22014
  case "forwards": {
21994
- var D = G4(t.child), H;
21995
- D === null ? (H = t.child, t.child = null) : (H = D.sibling, D.sibling = null), wE(
22015
+ var k = G4(t.child), H;
22016
+ k === null ? (H = t.child, t.child = null) : (H = k.sibling, k.sibling = null), wE(
21996
22017
  t,
21997
22018
  !1,
21998
22019
  // isBackwards
21999
22020
  H,
22000
- D,
22021
+ k,
22001
22022
  h
22002
22023
  );
22003
22024
  break;
@@ -22063,8 +22084,8 @@ Check the render method of \`` + o + "`.");
22063
22084
  } else
22064
22085
  qk(t, c, a);
22065
22086
  }
22066
- var D = h.children;
22067
- return Xr(e, t, D, a), t.child;
22087
+ var k = h.children;
22088
+ return Xr(e, t, k, a), t.child;
22068
22089
  }
22069
22090
  var J2 = !1;
22070
22091
  function J4(e, t, a) {
@@ -22146,8 +22167,8 @@ Check the render method of \`` + o + "`.");
22146
22167
  if (b !== null) {
22147
22168
  if (b.dehydrated !== null)
22148
22169
  return Lu(t, dd(Ni.current)), t.flags |= lt, null;
22149
- var R = t.child, D = R.childLanes;
22150
- if (Ar(a, D))
22170
+ var R = t.child, k = R.childLanes;
22171
+ if (Ar(a, k))
22151
22172
  return G2(e, t, a);
22152
22173
  Lu(t, dd(Ni.current));
22153
22174
  var H = Sl(e, t, a);
@@ -22195,14 +22216,14 @@ Check the render method of \`` + o + "`.");
22195
22216
  Dw(t, E, y);
22196
22217
  }
22197
22218
  switch (t.lanes = fe, t.tag) {
22198
- case k:
22219
+ case D:
22199
22220
  return U4(e, t, t.type, a);
22200
22221
  case ke: {
22201
22222
  var b = t.elementType;
22202
22223
  return L4(e, t, b, a);
22203
22224
  }
22204
22225
  case w: {
22205
- var R = t.type, D = t.pendingProps, H = t.elementType === R ? D : Ai(R, D);
22226
+ var R = t.type, k = t.pendingProps, H = t.elementType === R ? k : Ai(R, k);
22206
22227
  return mE(e, t, R, H, a);
22207
22228
  }
22208
22229
  case x: {
@@ -22323,8 +22344,8 @@ Check the render method of \`` + o + "`.");
22323
22344
  a = dt(a, dt(R.lanes, R.childLanes)), o |= R.subtreeFlags & Wn, o |= R.flags & Wn, b += R.treeBaseDuration, R = R.sibling;
22324
22345
  e.treeBaseDuration = b;
22325
22346
  } else
22326
- for (var D = e.child; D !== null; )
22327
- a = dt(a, dt(D.lanes, D.childLanes)), o |= D.subtreeFlags & Wn, o |= D.flags & Wn, D.return = e, D = D.sibling;
22347
+ for (var k = e.child; k !== null; )
22348
+ a = dt(a, dt(k.lanes, k.childLanes)), o |= k.subtreeFlags & Wn, o |= k.flags & Wn, k.return = e, k = k.sibling;
22328
22349
  e.subtreeFlags |= o;
22329
22350
  } else {
22330
22351
  if ((e.mode & ut) !== Ye) {
@@ -22370,7 +22391,7 @@ Check the render method of \`` + o + "`.");
22370
22391
  function ix(e, t, a) {
22371
22392
  var o = t.pendingProps;
22372
22393
  switch (K1(t), t.tag) {
22373
- case k:
22394
+ case D:
22374
22395
  case ke:
22375
22396
  case ae:
22376
22397
  case w:
@@ -22411,11 +22432,11 @@ Check the render method of \`` + o + "`.");
22411
22432
  throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
22412
22433
  return mr(t), null;
22413
22434
  }
22414
- var D = SS(), H = Wg(t);
22435
+ var k = SS(), H = Wg(t);
22415
22436
  if (H)
22416
- Uk(t, b, D) && yd(t);
22437
+ Uk(t, b, k) && yd(t);
22417
22438
  else {
22418
- var I = bD(R, o, b, D, t);
22439
+ var I = bD(R, o, b, k, t);
22419
22440
  nx(I, t, !1, !1), t.stateNode = I, xD(I, R, o, b) && yd(t);
22420
22441
  }
22421
22442
  t.ref !== null && tx(t);
@@ -22822,8 +22843,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
22822
22843
  R.passiveEffectDuration += a;
22823
22844
  break e;
22824
22845
  case ee:
22825
- var D = b.stateNode;
22826
- D.passiveEffectDuration += a;
22846
+ var k = b.stateNode;
22847
+ k.passiveEffectDuration += a;
22827
22848
  break e;
22828
22849
  }
22829
22850
  b = b.return;
@@ -22894,10 +22915,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
22894
22915
  break;
22895
22916
  }
22896
22917
  case z: {
22897
- var D = a.stateNode;
22918
+ var k = a.stateNode;
22898
22919
  if (t === null && a.flags & pt) {
22899
22920
  var H = a.type, I = a.memoizedProps;
22900
- ND(D, H, I);
22921
+ ND(k, H, I);
22901
22922
  }
22902
22923
  break;
22903
22924
  }
@@ -23186,11 +23207,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
23186
23207
  if (E !== null) {
23187
23208
  var b = E.lastEffect;
23188
23209
  if (b !== null) {
23189
- var R = b.next, D = R;
23210
+ var R = b.next, k = R;
23190
23211
  do {
23191
- var H = D, I = H.destroy, J = H.tag;
23192
- I !== void 0 && ((J & go) !== Ca ? My(a, t, I) : (J & Xn) !== Ca && (Ua(a), a.mode & ut ? (Co(), My(a, t, I), Eo(a)) : My(a, t, I), eu())), D = D.next;
23193
- } while (D !== R);
23212
+ var H = k, I = H.destroy, J = H.tag;
23213
+ I !== void 0 && ((J & go) !== Ca ? My(a, t, I) : (J & Xn) !== Ca && (Ua(a), a.mode & ut ? (Co(), My(a, t, I), Eo(a)) : My(a, t, I), eu())), k = k.next;
23214
+ } while (k !== R);
23194
23215
  }
23195
23216
  }
23196
23217
  }
@@ -23328,10 +23349,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
23328
23349
  if (c & pt) {
23329
23350
  var y = e.stateNode;
23330
23351
  if (y != null) {
23331
- var E = e.memoizedProps, b = o !== null ? o.memoizedProps : E, R = e.type, D = e.updateQueue;
23332
- if (e.updateQueue = null, D !== null)
23352
+ var E = e.memoizedProps, b = o !== null ? o.memoizedProps : E, R = e.type, k = e.updateQueue;
23353
+ if (e.updateQueue = null, k !== null)
23333
23354
  try {
23334
- MD(y, D, R, b, E, e);
23355
+ MD(y, k, R, b, E, e);
23335
23356
  } catch (ot) {
23336
23357
  Qt(e, e.return, ot);
23337
23358
  }
@@ -23446,8 +23467,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
23446
23467
  kE(e, t, a);
23447
23468
  continue;
23448
23469
  } else {
23449
- var b = c.alternate, R = b !== null && b.memoizedState !== null, D = R || gr, H = Ny, I = gr;
23450
- Ny = E, gr = D, gr && !I && (Be = c, TO(c));
23470
+ var b = c.alternate, R = b !== null && b.memoizedState !== null, k = R || gr, H = Ny, I = gr;
23471
+ Ny = E, gr = k, gr && !I && (Be = c, TO(c));
23451
23472
  for (var J = h; J !== null; )
23452
23473
  Be = J, yx(
23453
23474
  J,
@@ -23942,8 +23963,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
23942
23963
  if (y === ME)
23943
23964
  Hu(e, c);
23944
23965
  else {
23945
- var R = !Is(e, c), D = e.current.alternate;
23946
- if (R && !JO(D)) {
23966
+ var R = !Is(e, c), k = e.current.alternate;
23967
+ if (R && !JO(k)) {
23947
23968
  if (y = By(e, c), y === dc) {
23948
23969
  var H = uo(e);
23949
23970
  H !== fe && (c = H, y = jE(e, H));
@@ -23953,7 +23974,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
23953
23974
  throw hc(e, fe), Hu(e, c), wa(e, nn()), I;
23954
23975
  }
23955
23976
  }
23956
- e.finishedWork = D, e.finishedLanes = c, ZO(e, y, c);
23977
+ e.finishedWork = k, e.finishedLanes = c, ZO(e, y, c);
23957
23978
  }
23958
23979
  }
23959
23980
  return wa(e, nn()), e.callbackNode === a ? Dx.bind(null, e) : null;
@@ -24310,10 +24331,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
24310
24331
  if (E || b) {
24311
24332
  var R = Sr.transition;
24312
24333
  Sr.transition = null;
24313
- var D = ha();
24334
+ var k = ha();
24314
24335
  fn(gn);
24315
24336
  var H = wt;
24316
- wt |= li, NE.current = null, uO(e, c), R2(), bO(e, c, h), CD(e.containerInfo), e.current = c, Fp(h), wO(c, e, h), tu(), Pm(), wt = H, fn(D), Sr.transition = R;
24337
+ wt |= li, NE.current = null, uO(e, c), R2(), bO(e, c, h), CD(e.containerInfo), e.current = c, Fp(h), wO(c, e, h), tu(), Pm(), wt = H, fn(k), Sr.transition = R;
24317
24338
  } else
24318
24339
  e.current = c, R2();
24319
24340
  var I = pc;
@@ -24471,7 +24492,7 @@ Error message:
24471
24492
  if ((wt & Er) !== Zn || !(e.mode & Xe))
24472
24493
  return;
24473
24494
  var t = e.tag;
24474
- if (t !== k && t !== _ && t !== x && t !== w && t !== B && t !== ge && t !== ae)
24495
+ if (t !== D && t !== _ && t !== x && t !== w && t !== B && t !== ge && t !== ae)
24475
24496
  return;
24476
24497
  var a = ft(e) || "ReactComponent";
24477
24498
  if ($y !== null) {
@@ -24700,16 +24721,16 @@ This ensures that you're testing the behavior the user would see in the browser.
24700
24721
  }
24701
24722
  if (ui === null)
24702
24723
  throw new Error("Expected resolveFamily to be set during hot reload.");
24703
- var R = !1, D = !1;
24724
+ var R = !1, k = !1;
24704
24725
  if (b !== null) {
24705
24726
  var H = ui(b);
24706
- H !== void 0 && (a.has(H) ? D = !0 : t.has(H) && (y === x ? D = !0 : R = !0));
24727
+ H !== void 0 && (a.has(H) ? k = !0 : t.has(H) && (y === x ? k = !0 : R = !0));
24707
24728
  }
24708
- if (xd !== null && (xd.has(e) || o !== null && xd.has(o)) && (D = !0), D && (e._debugNeedsRemount = !0), D || R) {
24729
+ if (xd !== null && (xd.has(e) || o !== null && xd.has(o)) && (k = !0), k && (e._debugNeedsRemount = !0), k || R) {
24709
24730
  var I = Ea(e, Ke);
24710
24731
  I !== null && tr(I, e, Ke, Yt);
24711
24732
  }
24712
- c !== null && !D && QE(c, t, a), h !== null && QE(h, t, a);
24733
+ c !== null && !k && QE(c, t, a), h !== null && QE(h, t, a);
24713
24734
  }
24714
24735
  }
24715
24736
  var DN = function(e, t) {
@@ -24811,7 +24832,7 @@ This ensures that you're testing the behavior the user would see in the browser.
24811
24832
  if (t === Pl)
24812
24833
  return ge;
24813
24834
  }
24814
- return k;
24835
+ return D;
24815
24836
  }
24816
24837
  function mc(e, t) {
24817
24838
  var a = e.alternate;
@@ -24821,7 +24842,7 @@ This ensures that you're testing the behavior the user would see in the browser.
24821
24842
  lanes: o.lanes,
24822
24843
  firstContext: o.firstContext
24823
24844
  }, a.sibling = e.sibling, a.index = e.index, a.ref = e.ref, a.selfBaseDuration = e.selfBaseDuration, a.treeBaseDuration = e.treeBaseDuration, a._debugNeedsRemount = e._debugNeedsRemount, a.tag) {
24824
- case k:
24845
+ case D:
24825
24846
  case w:
24826
24847
  case ae:
24827
24848
  a.type = Td(e.type);
@@ -24855,7 +24876,7 @@ This ensures that you're testing the behavior the user would see in the browser.
24855
24876
  return e === Hg ? (o = Xe, t === !0 && (o |= mt, o |= Gr)) : o = Ye, Yr && (o |= ut), Fa(_, null, null, o);
24856
24877
  }
24857
24878
  function eC(e, t, a, o, c, h) {
24858
- var y = k, E = e;
24879
+ var y = D, E = e;
24859
24880
  if (typeof e == "function")
24860
24881
  JE(e) ? (y = x, E = qE(E)) : E = Td(E);
24861
24882
  else if (typeof e == "string")
@@ -24910,8 +24931,8 @@ Check the render method of \`` + R + "`.");
24910
24931
  throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (e == null ? e : typeof e) + "." + b));
24911
24932
  }
24912
24933
  }
24913
- var D = Fa(y, a, t, c);
24914
- return D.elementType = e, D.type = E, D.lanes = h, D._debugOwner = o, D;
24934
+ var k = Fa(y, a, t, c);
24935
+ return k.elementType = e, k.type = E, k.lanes = h, k._debugOwner = o, k;
24915
24936
  }
24916
24937
  function tC(e, t, a) {
24917
24938
  var o = null;
@@ -24969,7 +24990,7 @@ Check the render method of \`` + R + "`.");
24969
24990
  }, c;
24970
24991
  }
24971
24992
  function Xx(e, t) {
24972
- return e === null && (e = Fa(k, null, null, Ye)), e.tag = t.tag, e.key = t.key, e.elementType = t.elementType, e.type = t.type, e.stateNode = t.stateNode, e.return = t.return, e.child = t.child, e.sibling = t.sibling, e.index = t.index, e.ref = t.ref, e.pendingProps = t.pendingProps, e.memoizedProps = t.memoizedProps, e.updateQueue = t.updateQueue, e.memoizedState = t.memoizedState, e.dependencies = t.dependencies, e.mode = t.mode, e.flags = t.flags, e.subtreeFlags = t.subtreeFlags, e.deletions = t.deletions, e.lanes = t.lanes, e.childLanes = t.childLanes, e.alternate = t.alternate, e.actualDuration = t.actualDuration, e.actualStartTime = t.actualStartTime, e.selfBaseDuration = t.selfBaseDuration, e.treeBaseDuration = t.treeBaseDuration, e._debugSource = t._debugSource, e._debugOwner = t._debugOwner, e._debugNeedsRemount = t._debugNeedsRemount, e._debugHookTypes = t._debugHookTypes, e;
24993
+ return e === null && (e = Fa(D, null, null, Ye)), e.tag = t.tag, e.key = t.key, e.elementType = t.elementType, e.type = t.type, e.stateNode = t.stateNode, e.return = t.return, e.child = t.child, e.sibling = t.sibling, e.index = t.index, e.ref = t.ref, e.pendingProps = t.pendingProps, e.memoizedProps = t.memoizedProps, e.updateQueue = t.updateQueue, e.memoizedState = t.memoizedState, e.dependencies = t.dependencies, e.mode = t.mode, e.flags = t.flags, e.subtreeFlags = t.subtreeFlags, e.deletions = t.deletions, e.lanes = t.lanes, e.childLanes = t.childLanes, e.alternate = t.alternate, e.actualDuration = t.actualDuration, e.actualStartTime = t.actualStartTime, e.selfBaseDuration = t.selfBaseDuration, e.treeBaseDuration = t.treeBaseDuration, e._debugSource = t._debugSource, e._debugOwner = t._debugOwner, e._debugNeedsRemount = t._debugNeedsRemount, e._debugHookTypes = t._debugHookTypes, e;
24973
24994
  }
24974
24995
  function HN(e, t, a, o, c) {
24975
24996
  this.tag = t, this.containerInfo = e, this.pendingChildren = null, this.current = null, this.pingCache = null, this.finishedWork = null, this.timeoutHandle = F1, this.context = null, this.pendingContext = null, this.callbackNode = null, this.callbackPriority = xn, this.eventTimes = Hs(fe), this.expirationTimes = Hs(Yt), this.pendingLanes = fe, this.suspendedLanes = fe, this.pingedLanes = fe, this.expiredLanes = fe, this.mutableReadLanes = fe, this.finishedLanes = fe, this.entangledLanes = fe, this.entanglements = Hs(fe), this.identifierPrefix = o, this.onRecoverableError = c, this.mutableSourceEagerHydrationData = null, this.effectDuration = 0, this.passiveEffectDuration = 0;
@@ -24988,8 +25009,8 @@ Check the render method of \`` + R + "`.");
24988
25009
  }
24989
25010
  }
24990
25011
  function Qx(e, t, a, o, c, h, y, E, b, R) {
24991
- var D = new HN(e, t, a, E, b), H = zN(t, h);
24992
- D.current = H, H.stateNode = D;
25012
+ var k = new HN(e, t, a, E, b), H = zN(t, h);
25013
+ k.current = H, H.stateNode = k;
24993
25014
  {
24994
25015
  var I = {
24995
25016
  element: o,
@@ -25001,7 +25022,7 @@ Check the render method of \`` + R + "`.");
25001
25022
  };
25002
25023
  H.memoizedState = I;
25003
25024
  }
25004
- return mS(H), D;
25025
+ return mS(H), k;
25005
25026
  }
25006
25027
  var aC = "18.3.1";
25007
25028
  function BN(e, t, a) {
@@ -25060,7 +25081,7 @@ Check the render method of \`` + R + "`.");
25060
25081
  return Qx(e, t, b, R, a, o, c, h, y);
25061
25082
  }
25062
25083
  function Jx(e, t, a, o, c, h, y, E, b, R) {
25063
- var D = !0, H = Qx(a, o, D, e, c, h, y, E, b);
25084
+ var k = !0, H = Qx(a, o, k, e, c, h, y, E, b);
25064
25085
  H.context = Kx(null);
25065
25086
  var I = H.current, J = Kr(), ne = ju(I), le = yl(J, ne);
25066
25087
  return le.callback = t ?? null, Mu(I, le, ne), QO(H, ne, J), H;
@@ -25353,8 +25374,8 @@ Check the render method of %s.`, ft(Cn) || "Unknown"));
25353
25374
  a != null && (a.unstable_strictMode === !0 && (h = !0), a.identifierPrefix !== void 0 && (E = a.identifierPrefix), a.onRecoverableError !== void 0 && (b = a.onRecoverableError));
25354
25375
  var R = Jx(t, null, e, Hg, o, h, y, E, b);
25355
25376
  if (Lg(R.current, e), dh(e), c)
25356
- for (var D = 0; D < c.length; D++) {
25357
- var H = c[D];
25377
+ for (var k = 0; k < c.length; k++) {
25378
+ var H = c[k];
25358
25379
  i4(R, H);
25359
25380
  }
25360
25381
  return new Yy(R);
@@ -25415,11 +25436,11 @@ Check the render method of %s.`, ft(Cn) || "Unknown"));
25415
25436
  if (typeof o == "function") {
25416
25437
  var R = o;
25417
25438
  o = function() {
25418
- var I = Wy(D);
25439
+ var I = Wy(k);
25419
25440
  R.call(I);
25420
25441
  };
25421
25442
  }
25422
- var D = Zx(
25443
+ var k = Zx(
25423
25444
  e,
25424
25445
  ku,
25425
25446
  null,
@@ -25432,11 +25453,11 @@ Check the render method of %s.`, ft(Cn) || "Unknown"));
25432
25453
  // identifierPrefix
25433
25454
  bT
25434
25455
  );
25435
- e._reactRootContainer = D, Lg(D.current, e);
25456
+ e._reactRootContainer = k, Lg(k.current, e);
25436
25457
  var H = e.nodeType === bn ? e.parentNode : e;
25437
25458
  return dh(H), bl(function() {
25438
- ov(t, D, a, o);
25439
- }), D;
25459
+ ov(t, k, a, o);
25460
+ }), k;
25440
25461
  }
25441
25462
  }
25442
25463
  function aM(e, t) {
@@ -25834,12 +25855,12 @@ function a5(i, l, u) {
25834
25855
  let C;
25835
25856
  if (f === "parent" ? C = p.parentNode : C = g.querySelector(f), !(C instanceof v.HTMLElement))
25836
25857
  throw new Error('Bounds selector "' + f + '" could not find an element.');
25837
- const w = C, x = v.getComputedStyle(p), k = v.getComputedStyle(w);
25858
+ const w = C, x = v.getComputedStyle(p), D = v.getComputedStyle(w);
25838
25859
  f = {
25839
- left: -p.offsetLeft + (0, ja.int)(k.paddingLeft) + (0, ja.int)(x.marginLeft),
25840
- top: -p.offsetTop + (0, ja.int)(k.paddingTop) + (0, ja.int)(x.marginTop),
25841
- right: (0, Ad.innerWidth)(w) - (0, Ad.outerWidth)(p) - p.offsetLeft + (0, ja.int)(k.paddingRight) - (0, ja.int)(x.marginRight),
25842
- bottom: (0, Ad.innerHeight)(w) - (0, Ad.outerHeight)(p) - p.offsetTop + (0, ja.int)(k.paddingBottom) - (0, ja.int)(x.marginBottom)
25860
+ left: -p.offsetLeft + (0, ja.int)(D.paddingLeft) + (0, ja.int)(x.marginLeft),
25861
+ top: -p.offsetTop + (0, ja.int)(D.paddingTop) + (0, ja.int)(x.marginTop),
25862
+ right: (0, Ad.innerWidth)(w) - (0, Ad.outerWidth)(p) - p.offsetLeft + (0, ja.int)(D.paddingRight) - (0, ja.int)(x.marginRight),
25863
+ bottom: (0, Ad.innerHeight)(w) - (0, Ad.outerHeight)(p) - p.offsetTop + (0, ja.int)(D.paddingBottom) - (0, ja.int)(x.marginBottom)
25843
25864
  };
25844
25865
  }
25845
25866
  return (0, ja.isNum)(f.right) && (l = Math.min(l, f.right)), (0, ja.isNum)(f.bottom) && (u = Math.min(u, f.bottom)), (0, ja.isNum)(f.left) && (l = Math.max(l, f.left)), (0, ja.isNum)(f.top) && (u = Math.max(u, f.top)), [l, u];
@@ -26223,8 +26244,8 @@ ea(M0, "defaultProps", {
26223
26244
  return w.default;
26224
26245
  }
26225
26246
  }), i.default = void 0;
26226
- var l = O(Bd), u = k(_n), f = k(nR), p = k(z8), g = Rn, v = Uo, C = zo, w = k(O0), x = k(N0);
26227
- function k(W) {
26247
+ var l = O(Bd), u = D(_n), f = D(nR), p = D(z8), g = Rn, v = Uo, C = zo, w = D(O0), x = D(N0);
26248
+ function D(W) {
26228
26249
  return W && W.__esModule ? W : { default: W };
26229
26250
  }
26230
26251
  function _(W) {
@@ -26699,10 +26720,10 @@ class hR {
26699
26720
  function Pb() {
26700
26721
  const { modalsConfig: i } = nr(), l = yb();
26701
26722
  return { openWindowedModal: ns(({ Modal: f, ...p }) => {
26702
- var k;
26723
+ var D;
26703
26724
  const g = p.size ?? i.defaultDialogSize;
26704
26725
  let v = (window.innerWidth - g.x) / 4, C = (window.innerHeight - g.y) / 4;
26705
- if ((k = l == null ? void 0 : l.containerRef) != null && k.current) {
26726
+ if ((D = l == null ? void 0 : l.containerRef) != null && D.current) {
26706
26727
  const _ = l.containerRef.current.getBoundingClientRect();
26707
26728
  v -= _.x / 2, C -= _.y / 2;
26708
26729
  }
@@ -26739,8 +26760,8 @@ function Ud({ Actions: i }) {
26739
26760
  p.preventDefault(), p.stopPropagation();
26740
26761
  let v = (p == null ? void 0 : p.clientX) ?? 0, C = (p == null ? void 0 : p.clientY) ?? 0;
26741
26762
  if (((x = l == null ? void 0 : l.containerRef) == null ? void 0 : x.current) != null) {
26742
- const k = l.containerRef.current.getBoundingClientRect();
26743
- v -= k.x, C -= k.y / 2;
26763
+ const D = l.containerRef.current.getBoundingClientRect();
26764
+ v -= D.x, C -= D.y / 2;
26744
26765
  }
26745
26766
  const w = new hR(i).setPosition(new Ft(v, C)).setProps({
26746
26767
  triggerParams: g,
@@ -26771,11 +26792,11 @@ function _5({ active: i, setActive: l, search: u }) {
26771
26792
  }, [i]);
26772
26793
  const x = [sv.HomeMenuContainer, Ha.MenuContainer];
26773
26794
  i && x.push(Ha.Active);
26774
- let k = !1;
26795
+ let D = !1;
26775
26796
  Mb({ onKeyDown: (Y) => {
26776
- Y.key === "Alt" ? (Y.preventDefault(), k = !0) : (k = !1, i && Y.key.length === 1 && u(Y.key));
26797
+ Y.key === "Alt" ? (Y.preventDefault(), D = !0) : (D = !1, i && Y.key.length === 1 && u(Y.key));
26777
26798
  }, onKeyUp: (Y) => {
26778
- Y.key === "Alt" && k && (Y.preventDefault(), l(!i)), k = !1;
26799
+ Y.key === "Alt" && D && (Y.preventDefault(), l(!i)), D = !1;
26779
26800
  } });
26780
26801
  const z = p.getAppByRole(Vi.APP_ROLES.fileExplorer), V = p.getAppByRole(Vi.APP_ROLES.settings), G = p.getAppByRole(Vi.APP_ROLES.textEditor);
26781
26802
  return /* @__PURE__ */ M("div", { className: x.join(" "), children: /* @__PURE__ */ Ae("div", { className: zt([sv.HomeMenu, Ha.Menu], "Taskbar", "Menu", "Home"), children: [
@@ -26850,9 +26871,9 @@ const R5 = "_SearchMenuContainer_1q8mh_1", D5 = "_SearchMenu_1q8mh_1", k5 = "_Ac
26850
26871
  Input: O5
26851
26872
  };
26852
26873
  function N5({ active: i, setActive: l, searchQuery: u, setSearchQuery: f, inputRef: p }) {
26853
- const { appsConfig: g } = nr(), v = Vd(), [C, w] = Ve(null), [x, k] = Ve(i ? 0 : -1);
26874
+ const { appsConfig: g } = nr(), v = Vd(), [C, w] = Ve(null), [x, D] = Ve(i ? 0 : -1);
26854
26875
  gt(() => {
26855
- k(i ? 0 : -1);
26876
+ D(i ? 0 : -1);
26856
26877
  }, [i]), gt(() => {
26857
26878
  p.current != null && (p.current.focus(), window.scrollTo(0, document.body.scrollHeight));
26858
26879
  }, [p]), gt(() => {
@@ -26937,7 +26958,7 @@ const M5 = "_appear_ls3ab_1", A5 = "_Active_ls3ab_33", L5 = "_Hidden_ls3ab_43",
26937
26958
  DropdownArrow: Z5
26938
26959
  };
26939
26960
  function Cc({ children: i, mode: l, className: u, onAnyTrigger: f, triggerParams: p, avoidTaskbar: g = !0 }) {
26940
- const v = l === xv.MODES.shortcutsListener, { ref: C, initiated: w, alignLeft: x, alignTop: k } = R8({ avoidTaskbar: g }), _ = {}, O = {};
26961
+ const v = l === xv.MODES.shortcutsListener, { ref: C, initiated: w, alignLeft: x, alignTop: D } = R8({ avoidTaskbar: g }), _ = {}, O = {};
26941
26962
  let z = 0;
26942
26963
  const V = (Y) => bM.map(Y, (W) => {
26943
26964
  if (!q3(W))
@@ -26957,7 +26978,7 @@ function Cc({ children: i, mode: l, className: u, onAnyTrigger: f, triggerParams
26957
26978
  if (T8({ options: _, shortcuts: O, useCategories: !1 }), v)
26958
26979
  return V(i);
26959
26980
  const G = [Kt.Actions];
26960
- return l != null && G.push(Kt[l]), u != null && G.push(u), x && G.push(Kt.AlignLeft), k && G.push(Kt.AlignTop), w || G.push(Kt.Uninitiated), /* @__PURE__ */ M("div", { ref: C, className: G.join(" "), children: V(i) });
26981
+ return l != null && G.push(Kt[l]), u != null && G.push(u), x && G.push(Kt.AlignLeft), D && G.push(Kt.AlignTop), w || G.push(Kt.Uninitiated), /* @__PURE__ */ M("div", { ref: C, className: G.join(" "), children: V(i) });
26961
26982
  }
26962
26983
  const J5 = "_ImagePreview_a5cin_1", ez = {
26963
26984
  ImagePreview: J5
@@ -27021,8 +27042,8 @@ function A0({ active: i, setActive: l, className: u, children: f }) {
27021
27042
  function lz({ hideUtilMenus: i, showUtilMenu: l }) {
27022
27043
  const [u, f] = Ve(!0), [p, g] = Ve(100), [v, C] = Ve(!1);
27023
27044
  gt(() => {
27024
- var k, _;
27025
- (_ = (k = navigator.getBattery) == null ? void 0 : k.call(navigator)) == null || _.then((O) => {
27045
+ var D, _;
27046
+ (_ = (D = navigator.getBattery) == null ? void 0 : D.call(navigator)) == null || _.then((O) => {
27026
27047
  const z = () => {
27027
27048
  f(O.charging);
27028
27049
  }, V = () => {
@@ -27035,8 +27056,8 @@ function lz({ hideUtilMenus: i, showUtilMenu: l }) {
27035
27056
  }, []), gt(() => {
27036
27057
  i && v && C(!1);
27037
27058
  }, [i, v]);
27038
- const w = (k) => {
27039
- k && l(), C(k);
27059
+ const w = (D) => {
27060
+ D && l(), C(D);
27040
27061
  };
27041
27062
  let x = KL;
27042
27063
  return p < 10 ? x = qL : p < 35 ? x = ZL : p < 65 ? x = YL : p < 90 && (x = JL), /* @__PURE__ */ Ae(kl, { onOutsideClick: () => {
@@ -27161,7 +27182,7 @@ function gz({ hideUtilMenus: i, showUtilMenu: l }) {
27161
27182
  ] });
27162
27183
  }
27163
27184
  const yz = Lo(() => {
27164
- const { systemName: i, taskbarConfig: l, appsConfig: u, skin: f } = nr(), p = _l(null), g = x0(), [v, C] = Ve(!1), [w, x] = Ve(!1), [k, _] = Ve(!1), [O, z] = Ve(""), { boxShadow: V, onUpdate: G } = Z_({ ref: p, shadow: {
27185
+ const { systemName: i, taskbarConfig: l, appsConfig: u, skin: f } = nr(), p = _l(null), g = x0(), [v, C] = Ve(!1), [w, x] = Ve(!1), [D, _] = Ve(!1), [O, z] = Ve(""), { boxShadow: V, onUpdate: G } = Z_({ ref: p, shadow: {
27165
27186
  offset: 20,
27166
27187
  blurRadius: 10,
27167
27188
  spreadRadius: -10,
@@ -27275,10 +27296,10 @@ const yz = Lo(() => {
27275
27296
  }
27276
27297
  ) }),
27277
27298
  /* @__PURE__ */ Ae("div", { className: zt([Ha.UtilIcons], "Taskbar", "UtilIcons"), children: [
27278
- /* @__PURE__ */ M(lz, { showUtilMenu: be, hideUtilMenus: k }),
27279
- /* @__PURE__ */ M(hz, { showUtilMenu: be, hideUtilMenus: k }),
27280
- /* @__PURE__ */ M(gz, { showUtilMenu: be, hideUtilMenus: k }),
27281
- /* @__PURE__ */ M(fz, { showUtilMenu: be, hideUtilMenus: k }),
27299
+ /* @__PURE__ */ M(lz, { showUtilMenu: be, hideUtilMenus: D }),
27300
+ /* @__PURE__ */ M(hz, { showUtilMenu: be, hideUtilMenus: D }),
27301
+ /* @__PURE__ */ M(gz, { showUtilMenu: be, hideUtilMenus: D }),
27302
+ /* @__PURE__ */ M(fz, { showUtilMenu: be, hideUtilMenus: D }),
27282
27303
  /* @__PURE__ */ M("button", { title: "Show Desktop", id: "desktop-button", onClick: () => {
27283
27304
  re == null || re.minimizeAll();
27284
27305
  } })
@@ -27405,7 +27426,7 @@ const jz = {
27405
27426
  };
27406
27427
  function mR({ modal: i, params: l, ...u }) {
27407
27428
  var ge;
27408
- const { appsConfig: f } = nr(), [p, g] = Ve((l == null ? void 0 : l.appId) ?? ""), [v, C] = Ve((l == null ? void 0 : l.fullscreen) ?? !1), [w, x] = Ve((l == null ? void 0 : l.standalone) ?? !1), [k, _] = Ve({}), [O, z] = Ve(null), { alert: V } = vR(), G = _l(null), { boxShadow: Y, onUpdate: re } = Z_({
27429
+ const { appsConfig: f } = nr(), [p, g] = Ve((l == null ? void 0 : l.appId) ?? ""), [v, C] = Ve((l == null ? void 0 : l.fullscreen) ?? !1), [w, x] = Ve((l == null ? void 0 : l.standalone) ?? !1), [D, _] = Ve({}), [O, z] = Ve(null), { alert: V } = vR(), G = _l(null), { boxShadow: Y, onUpdate: re } = Z_({
27409
27430
  ref: G,
27410
27431
  horizontal: !1,
27411
27432
  dynamicOffsetFactor: 1,
@@ -27421,9 +27442,9 @@ function mR({ modal: i, params: l, ...u }) {
27421
27442
  appId: p !== "" ? p : void 0,
27422
27443
  fullscreen: v,
27423
27444
  standalone: w,
27424
- ...k
27445
+ ...D
27425
27446
  }));
27426
- }, [p, v, w, k]), gt(() => {
27447
+ }, [p, v, w, D]), gt(() => {
27427
27448
  re({ target: G.current });
27428
27449
  }, [p]);
27429
27450
  const W = (ae) => {
@@ -27624,9 +27645,9 @@ function $z({ error: i, resetErrorBoundary: l, app: u, closeWindow: f }) {
27624
27645
  }));
27625
27646
  }, [v, g, u == null ? void 0 : u.id, u == null ? void 0 : u.name, i == null ? void 0 : i.message, f, i == null ? void 0 : i.name]);
27626
27647
  }
27627
- const Wz = Lo(({ id: i, app: l, size: u, position: f, onInteract: p, options: g, active: v, fullscreen: C, minimized: w, toggleMinimized: x, index: k }) => {
27648
+ const Wz = Lo(({ id: i, app: l, size: u, position: f, onInteract: p, options: g, active: v, fullscreen: C, minimized: w, toggleMinimized: x, index: D }) => {
27628
27649
  var ie;
27629
- const { systemName: _, windowsConfig: O, appsConfig: z } = nr(), V = Vd(), G = _l(null), { openWindowedModal: Y } = Pb(), [re, W] = Ve(f), [B, ee] = Ve(C ?? !1), [P, ge] = Ab(), [ae, ke] = Ve((l == null ? void 0 : l.name) ?? ""), [xe, be] = Ve(l ? ((ie = z.getAppById(l == null ? void 0 : l.id)) == null ? void 0 : ie.iconUrl) ?? "" : ""), ye = Fb({ groupIndex: Ku.GROUPS.WINDOWS, index: k ?? 0 }), { onContextMenu: Ce, ShortcutsListener: _e } = Ud({
27650
+ const { systemName: _, windowsConfig: O, appsConfig: z } = nr(), V = Vd(), G = _l(null), { openWindowedModal: Y } = Pb(), [re, W] = Ve(f), [B, ee] = Ve(C ?? !1), [P, ge] = Ab(), [ae, ke] = Ve((l == null ? void 0 : l.name) ?? ""), [xe, be] = Ve(l ? ((ie = z.getAppById(l == null ? void 0 : l.id)) == null ? void 0 : ie.iconUrl) ?? "" : ""), ye = Fb({ groupIndex: Ku.GROUPS.WINDOWS, index: D ?? 0 }), { onContextMenu: Ce, ShortcutsListener: _e } = Ud({
27630
27651
  Actions: (A) => /* @__PURE__ */ Ae(Cc, { ...A, children: [
27631
27652
  /* @__PURE__ */ M(Vn, { label: "Minimize", icon: p0, onTrigger: () => {
27632
27653
  x == null || x();
@@ -27818,14 +27839,14 @@ const Wz = Lo(({ id: i, app: l, size: u, position: f, onInteract: p, options: g,
27818
27839
  if (g != null && g.startupComplete)
27819
27840
  return;
27820
27841
  let w = [];
27821
- const x = K3(), k = x.app;
27822
- k && w.push(k), delete x.app;
27842
+ const x = K3(), D = x.app;
27843
+ D && w.push(D), delete x.app;
27823
27844
  const _ = f == null ? void 0 : f.getSettings(Bi.VIRTUAL_PATHS.apps);
27824
27845
  _ == null || _.get("startup", (O) => {
27825
27846
  O !== "" && (w = O == null ? void 0 : O.split(",").concat(w), w = EM(w)), g == null || g.startup(w, x);
27826
27847
  });
27827
27848
  }, [f, g]), /* @__PURE__ */ M("div", { className: zt([], "WindowsView"), children: p == null ? void 0 : p.map((w) => {
27828
- const { id: x, app: k, size: _, position: O, options: z, minimized: V, fullscreen: G } = w, Y = v.indexOf(w);
27849
+ const { id: x, app: D, size: _, position: O, options: z, minimized: V, fullscreen: G } = w, Y = v.indexOf(w);
27829
27850
  return /* @__PURE__ */ M(
27830
27851
  Wz,
27831
27852
  {
@@ -27834,7 +27855,7 @@ const Wz = Lo(({ id: i, app: l, size: u, position: f, onInteract: p, options: g,
27834
27855
  },
27835
27856
  active: Y === v.length - 1,
27836
27857
  id: x,
27837
- app: k,
27858
+ app: D,
27838
27859
  size: _,
27839
27860
  index: Y,
27840
27861
  position: O,
@@ -27942,14 +27963,14 @@ function iU({
27942
27963
  onOpenFile: C,
27943
27964
  onOpenFolder: w,
27944
27965
  allowMultiSelect: x = !0,
27945
- onSelectionChange: k,
27966
+ onSelectionChange: D,
27946
27967
  ..._
27947
27968
  }) {
27948
27969
  var _e, Z;
27949
27970
  const [O, z] = Ve([]), [V, G] = Ve([]), Y = _l(null), [re, W] = Ve(null), [B, ee] = Ve(null);
27950
27971
  gt(() => {
27951
- k == null || k({ files: V, folders: O, directory: i });
27952
- }, [i, k, V, O]);
27972
+ D == null || D({ files: V, folders: O, directory: i });
27973
+ }, [i, D, V, O]);
27953
27974
  const P = () => {
27954
27975
  z([]), G([]);
27955
27976
  };
@@ -28101,33 +28122,33 @@ const hU = "_WebView_1atlt_1", vU = {
28101
28122
  const [p, g] = Ve(!1);
28102
28123
  gt(() => {
28103
28124
  window.focus();
28104
- const w = (x) => {
28105
- p && (l == null || l(x));
28125
+ const x = (D) => {
28126
+ p && (l == null || l(D));
28106
28127
  };
28107
- return window.addEventListener("blur", w), () => {
28108
- window.removeEventListener("blur", w);
28128
+ return window.addEventListener("blur", x), () => {
28129
+ window.removeEventListener("blur", x);
28109
28130
  };
28110
28131
  }, [l, p]);
28111
28132
  const v = () => {
28112
28133
  g(!0);
28113
28134
  }, C = () => {
28114
28135
  window.focus(), g(!1);
28115
- };
28116
- return /* @__PURE__ */ M("div", { className: vU.WebView, onMouseOver: v, onMouseOut: C, children: /* @__PURE__ */ M(
28136
+ }, w = { ...u };
28137
+ return delete w.active, delete w.close, delete w.setTitle, delete w.setIconUrl, delete w.standalone, /* @__PURE__ */ M("div", { className: vU.WebView, onMouseOver: v, onMouseOut: C, children: /* @__PURE__ */ M(
28117
28138
  "iframe",
28118
28139
  {
28119
28140
  ref: f,
28120
28141
  src: i,
28121
28142
  referrerPolicy: "no-referrer",
28122
28143
  sandbox: "allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts",
28123
- ...u
28144
+ ...w
28124
28145
  }
28125
28146
  ) });
28126
28147
  }), mU = Lo(() => {
28127
- const { desktopConfig: i, skin: l, appsConfig: u } = nr(), f = x0(), p = Vd(), g = w0(), [v, C] = Ve(null), [w, x] = Ve(!1), [k, _] = Ve(i.defaultIconSize), [O, z] = Ve(i.defaultIconDirection), { openWindowedModal: V } = Pb(), G = g == null ? void 0 : g.navigate("~/Desktop"), Y = u.getAppByRole(Vi.APP_ROLES.fileExplorer), re = u.getAppByRole(Vi.APP_ROLES.terminal), W = u.getAppByRole(Vi.APP_ROLES.settings), { onContextMenu: B, ShortcutsListener: ee } = Ud({
28148
+ const { desktopConfig: i, skin: l, appsConfig: u } = nr(), f = x0(), p = Vd(), g = w0(), [v, C] = Ve(null), [w, x] = Ve(!1), [D, _] = Ve(i.defaultIconSize), [O, z] = Ve(i.defaultIconDirection), { openWindowedModal: V } = Pb(), G = g == null ? void 0 : g.navigate("~/Desktop"), Y = u.getAppByRole(Vi.APP_ROLES.fileExplorer), re = u.getAppByRole(Vi.APP_ROLES.terminal), W = u.getAppByRole(Vi.APP_ROLES.settings), { onContextMenu: B, ShortcutsListener: ee } = Ud({
28128
28149
  Actions: (be) => /* @__PURE__ */ Ae(Cc, { ...be, children: [
28129
28150
  /* @__PURE__ */ Ae(Zz, { label: "View", icon: BL, children: [
28130
- /* @__PURE__ */ M(A3, { initialIndex: k, onTrigger: (ye, Ce, _e) => {
28151
+ /* @__PURE__ */ M(A3, { initialIndex: D, onTrigger: (ye, Ce, _e) => {
28131
28152
  const Z = f == null ? void 0 : f.getSettings(Bi.VIRTUAL_PATHS.desktop);
28132
28153
  Z == null || Z.set("icon-size", _e);
28133
28154
  }, options: [
@@ -28229,7 +28250,7 @@ const hU = "_WebView_1atlt_1", vU = {
28229
28250
  const ae = () => {
28230
28251
  const be = f == null ? void 0 : f.getSettings(Bi.VIRTUAL_PATHS.desktop);
28231
28252
  be == null || be.set("wallpaper", l.defaultWallpaper);
28232
- }, ke = 1 + ((dC(k) ? k : i.defaultIconSize) - 1) / 5, xe = zt([fv.Wallpaper], "Desktop", "Wallpaper");
28253
+ }, ke = 1 + ((dC(D) ? D : i.defaultIconSize) - 1) / 5, xe = zt([fv.Wallpaper], "Desktop", "Wallpaper");
28233
28254
  return /* @__PURE__ */ Ae(pb, { children: [
28234
28255
  /* @__PURE__ */ M(ee, {}),
28235
28256
  /* @__PURE__ */ Ae(
@@ -28451,18 +28472,18 @@ function xU(i, l, u, f) {
28451
28472
  let {
28452
28473
  window: p = document.defaultView,
28453
28474
  v5Compat: g = !1
28454
- } = f, v = p.history, C = Qu.Pop, w = null, x = k();
28475
+ } = f, v = p.history, C = Qu.Pop, w = null, x = D();
28455
28476
  x == null && (x = 0, v.replaceState(Tv({}, v.state, {
28456
28477
  idx: x
28457
28478
  }), ""));
28458
- function k() {
28479
+ function D() {
28459
28480
  return (v.state || {
28460
28481
  idx: null
28461
28482
  }).idx;
28462
28483
  }
28463
28484
  function _() {
28464
28485
  C = Qu.Pop;
28465
- let Y = k(), re = Y == null ? null : Y - x;
28486
+ let Y = D(), re = Y == null ? null : Y - x;
28466
28487
  x = Y, w && w({
28467
28488
  action: C,
28468
28489
  location: G.location,
@@ -28472,7 +28493,7 @@ function xU(i, l, u, f) {
28472
28493
  function O(Y, re) {
28473
28494
  C = Qu.Push;
28474
28495
  let W = fb(G.location, Y, re);
28475
- x = k() + 1;
28496
+ x = D() + 1;
28476
28497
  let B = P3(W, x), ee = G.createHref(W);
28477
28498
  try {
28478
28499
  v.pushState(B, "", ee);
@@ -28490,7 +28511,7 @@ function xU(i, l, u, f) {
28490
28511
  function z(Y, re) {
28491
28512
  C = Qu.Replace;
28492
28513
  let W = fb(G.location, Y, re);
28493
- x = k();
28514
+ x = D();
28494
28515
  let B = P3(W, x), ee = G.createHref(W);
28495
28516
  v.replaceState(B, "", ee), g && w && w({
28496
28517
  action: C,
@@ -28566,16 +28587,16 @@ function yR(i, l, u, f) {
28566
28587
  route: g
28567
28588
  };
28568
28589
  w.relativePath.startsWith("/") && (yt(w.relativePath.startsWith(f), 'Absolute route path "' + w.relativePath + '" nested under path ' + ('"' + f + '" is not valid. An absolute child route path ') + "must start with the combined path of all its parent routes."), w.relativePath = w.relativePath.slice(f.length));
28569
- let x = Tl([f, w.relativePath]), k = u.concat(w);
28590
+ let x = Tl([f, w.relativePath]), D = u.concat(w);
28570
28591
  g.children && g.children.length > 0 && (yt(
28571
28592
  // Our types know better, but runtime JS may not!
28572
28593
  // @ts-expect-error
28573
28594
  g.index !== !0,
28574
28595
  "Index routes must not have child routes. Please remove " + ('all child routes from route path "' + x + '".')
28575
- ), yR(g.children, l, k, x)), !(g.path == null && !g.index) && l.push({
28596
+ ), yR(g.children, l, D, x)), !(g.path == null && !g.index) && l.push({
28576
28597
  path: x,
28577
28598
  score: LU(x, g.index),
28578
- routesMeta: k
28599
+ routesMeta: D
28579
28600
  });
28580
28601
  };
28581
28602
  return i.forEach((g, v) => {
@@ -28622,16 +28643,16 @@ function UU(i, l, u) {
28622
28643
  routesMeta: f
28623
28644
  } = i, p = {}, g = "/", v = [];
28624
28645
  for (let C = 0; C < f.length; ++C) {
28625
- let w = f[C], x = C === f.length - 1, k = g === "/" ? l : l.slice(g.length) || "/", _ = m0({
28646
+ let w = f[C], x = C === f.length - 1, D = g === "/" ? l : l.slice(g.length) || "/", _ = m0({
28626
28647
  path: w.relativePath,
28627
28648
  caseSensitive: w.caseSensitive,
28628
28649
  end: x
28629
- }, k), O = w.route;
28650
+ }, D), O = w.route;
28630
28651
  if (!_ && x && u && !f[f.length - 1].route.index && (_ = m0({
28631
28652
  path: w.relativePath,
28632
28653
  caseSensitive: w.caseSensitive,
28633
28654
  end: !1
28634
- }, k)), !_)
28655
+ }, D)), !_)
28635
28656
  return null;
28636
28657
  Object.assign(p, _.params), v.push({
28637
28658
  // TODO: Can this as be avoided?
@@ -28653,11 +28674,11 @@ function m0(i, l) {
28653
28674
  if (!p) return null;
28654
28675
  let g = p[0], v = g.replace(/(.)\/+$/, "$1"), C = p.slice(1);
28655
28676
  return {
28656
- params: f.reduce((x, k, _) => {
28677
+ params: f.reduce((x, D, _) => {
28657
28678
  let {
28658
28679
  paramName: O,
28659
28680
  isOptional: z
28660
- } = k;
28681
+ } = D;
28661
28682
  if (O === "*") {
28662
28683
  let G = C[_] || "";
28663
28684
  v = g.slice(0, g.length - G.length).replace(/(.)\/+$/, "$1");
@@ -28740,8 +28761,8 @@ function CR(i, l, u, f) {
28740
28761
  }
28741
28762
  C = _ >= 0 ? l[_] : "/";
28742
28763
  }
28743
- let w = IU(p, C), x = v && v !== "/" && v.endsWith("/"), k = (g || v === ".") && u.endsWith("/");
28744
- return !w.pathname.endsWith("/") && (x || k) && (w.pathname += "/"), w;
28764
+ let w = IU(p, C), x = v && v !== "/" && v.endsWith("/"), D = (g || v === ".") && u.endsWith("/");
28765
+ return !w.pathname.endsWith("/") && (x || D) && (w.pathname += "/"), w;
28745
28766
  }
28746
28767
  const Tl = (i) => i.join("/").replace(/\/\/+/g, "/"), BU = (i) => i.replace(/\/+$/, "").replace(/^\/*/, "/"), VU = (i) => !i || i === "?" ? "" : i.startsWith("?") ? i : "?" + i, $U = (i) => !i || i === "#" ? "" : i.startsWith("#") ? i : "#" + i;
28747
28768
  function WU(i) {
@@ -28854,14 +28875,14 @@ function QU() {
28854
28875
  } = Gd(), v = JSON.stringify(ER(p, u.v7_relativeSplatPath)), C = we.useRef(!1);
28855
28876
  return xR(() => {
28856
28877
  C.current = !0;
28857
- }), we.useCallback(function(x, k) {
28858
- if (k === void 0 && (k = {}), process.env.NODE_ENV !== "production" && Mo(C.current, wR), !C.current) return;
28878
+ }), we.useCallback(function(x, D) {
28879
+ if (D === void 0 && (D = {}), process.env.NODE_ENV !== "production" && Mo(C.current, wR), !C.current) return;
28859
28880
  if (typeof x == "number") {
28860
28881
  f.go(x);
28861
28882
  return;
28862
28883
  }
28863
- let _ = CR(x, JSON.parse(v), g, k.relative === "path");
28864
- i == null && l !== "/" && (_.pathname = _.pathname === "/" ? l : Tl([l, _.pathname])), (k.replace ? f.replace : f.push)(_, k.state, k);
28884
+ let _ = CR(x, JSON.parse(v), g, D.relative === "path");
28885
+ i == null && l !== "/" && (_.pathname = _.pathname === "/" ? l : Tl([l, _.pathname])), (D.replace ? f.replace : f.push)(_, D.state, D);
28865
28886
  }, [l, f, v, g, i]);
28866
28887
  }
28867
28888
  function Iv(i, l) {
@@ -28890,10 +28911,10 @@ function ZU(i, l, u, f) {
28890
28911
  navigator: p
28891
28912
  } = we.useContext($i), {
28892
28913
  matches: g
28893
- } = we.useContext(Ml), v = g[g.length - 1], C = v ? v.params : {}, w = v ? v.pathname : "/", x = v ? v.pathnameBase : "/", k = v && v.route;
28914
+ } = we.useContext(Ml), v = g[g.length - 1], C = v ? v.params : {}, w = v ? v.pathname : "/", x = v ? v.pathnameBase : "/", D = v && v.route;
28894
28915
  if (process.env.NODE_ENV !== "production") {
28895
- let W = k && k.path || "";
28896
- _R(w, !k || W.endsWith("*"), "You rendered descendant <Routes> (or called `useRoutes()`) at " + ('"' + w + '" (under <Route path="' + W + '">) but the ') + `parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
28916
+ let W = D && D.path || "";
28917
+ _R(w, !D || W.endsWith("*"), "You rendered descendant <Routes> (or called `useRoutes()`) at " + ('"' + w + '" (under <Route path="' + W + '">) but the ') + `parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
28897
28918
 
28898
28919
  ` + ('Please change the parent <Route path="' + W + '"> to <Route ') + ('path="' + (W === "/" ? "*" : W + "/*") + '">.'));
28899
28920
  }
@@ -28912,7 +28933,7 @@ function ZU(i, l, u, f) {
28912
28933
  let Y = TU(i, {
28913
28934
  pathname: G
28914
28935
  });
28915
- process.env.NODE_ENV !== "production" && (process.env.NODE_ENV !== "production" && Mo(k || Y != null, 'No routes matched location "' + O.pathname + O.search + O.hash + '" '), process.env.NODE_ENV !== "production" && Mo(Y == null || Y[Y.length - 1].route.element !== void 0 || Y[Y.length - 1].route.Component !== void 0 || Y[Y.length - 1].route.lazy !== void 0, 'Matched leaf route at location "' + O.pathname + O.search + O.hash + '" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.'));
28936
+ process.env.NODE_ENV !== "production" && (process.env.NODE_ENV !== "production" && Mo(D || Y != null, 'No routes matched location "' + O.pathname + O.search + O.hash + '" '), process.env.NODE_ENV !== "production" && Mo(Y == null || Y[Y.length - 1].route.element !== void 0 || Y[Y.length - 1].route.Component !== void 0 || Y[Y.length - 1].route.lazy !== void 0, 'Matched leaf route at location "' + O.pathname + O.search + O.hash + '" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.'));
28916
28937
  let re = rP(Y && Y.map((W) => Object.assign({}, W, {
28917
28938
  params: Object.assign({}, C, W.params),
28918
28939
  pathname: Tl([
@@ -29021,14 +29042,14 @@ function rP(i, l, u, f) {
29021
29042
  }
29022
29043
  let v = i, C = (p = u) == null ? void 0 : p.errors;
29023
29044
  if (C != null) {
29024
- let k = v.findIndex((_) => _.route.id && (C == null ? void 0 : C[_.route.id]) !== void 0);
29025
- k >= 0 || (process.env.NODE_ENV !== "production" ? yt(!1, "Could not find a matching route for errors on route IDs: " + Object.keys(C).join(",")) : yt(!1)), v = v.slice(0, Math.min(v.length, k + 1));
29045
+ let D = v.findIndex((_) => _.route.id && (C == null ? void 0 : C[_.route.id]) !== void 0);
29046
+ D >= 0 || (process.env.NODE_ENV !== "production" ? yt(!1, "Could not find a matching route for errors on route IDs: " + Object.keys(C).join(",")) : yt(!1)), v = v.slice(0, Math.min(v.length, D + 1));
29026
29047
  }
29027
29048
  let w = !1, x = -1;
29028
29049
  if (u && f && f.v7_partialHydration)
29029
- for (let k = 0; k < v.length; k++) {
29030
- let _ = v[k];
29031
- if ((_.route.HydrateFallback || _.route.hydrateFallbackElement) && (x = k), _.route.id) {
29050
+ for (let D = 0; D < v.length; D++) {
29051
+ let _ = v[D];
29052
+ if ((_.route.HydrateFallback || _.route.hydrateFallbackElement) && (x = D), _.route.id) {
29032
29053
  let {
29033
29054
  loaderData: O,
29034
29055
  errors: z
@@ -29039,15 +29060,15 @@ function rP(i, l, u, f) {
29039
29060
  }
29040
29061
  }
29041
29062
  }
29042
- return v.reduceRight((k, _, O) => {
29063
+ return v.reduceRight((D, _, O) => {
29043
29064
  let z, V = !1, G = null, Y = null;
29044
29065
  u && (z = C && _.route.id ? C[_.route.id] : void 0, G = _.route.errorElement || eP, w && (x < 0 && O === 0 ? (_R("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), V = !0, Y = null) : x === O && (V = !0, Y = _.route.hydrateFallbackElement || null)));
29045
29066
  let re = l.concat(v.slice(0, O + 1)), W = () => {
29046
29067
  let B;
29047
- return z ? B = G : V ? B = Y : _.route.Component ? B = /* @__PURE__ */ we.createElement(_.route.Component, null) : _.route.element ? B = _.route.element : B = k, /* @__PURE__ */ we.createElement(nP, {
29068
+ return z ? B = G : V ? B = Y : _.route.Component ? B = /* @__PURE__ */ we.createElement(_.route.Component, null) : _.route.element ? B = _.route.element : B = D, /* @__PURE__ */ we.createElement(nP, {
29048
29069
  match: _,
29049
29070
  routeContext: {
29050
- outlet: k,
29071
+ outlet: D,
29051
29072
  matches: re,
29052
29073
  isDataRoute: u != null
29053
29074
  },
@@ -29140,13 +29161,13 @@ function cP(i) {
29140
29161
  }), [w, C, g, v]);
29141
29162
  typeof f == "string" && (f = Yd(f));
29142
29163
  let {
29143
- pathname: k = "/",
29164
+ pathname: D = "/",
29144
29165
  search: _ = "",
29145
29166
  hash: O = "",
29146
29167
  state: z = null,
29147
29168
  key: V = "default"
29148
29169
  } = f, G = we.useMemo(() => {
29149
- let Y = ts(k, w);
29170
+ let Y = ts(D, w);
29150
29171
  return Y == null ? null : {
29151
29172
  location: {
29152
29173
  pathname: Y,
@@ -29157,8 +29178,8 @@ function cP(i) {
29157
29178
  },
29158
29179
  navigationType: p
29159
29180
  };
29160
- }, [w, k, _, O, z, V, p]);
29161
- return process.env.NODE_ENV !== "production" && Mo(G != null, '<Router basename="' + w + '"> is not able to match the URL ' + ('"' + k + _ + O + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), G == null ? null : /* @__PURE__ */ we.createElement($i.Provider, {
29181
+ }, [w, D, _, O, z, V, p]);
29182
+ return process.env.NODE_ENV !== "production" && Mo(G != null, '<Router basename="' + w + '"> is not able to match the URL ' + ('"' + D + _ + O + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), G == null ? null : /* @__PURE__ */ we.createElement($i.Provider, {
29162
29183
  value: x
29163
29184
  }, /* @__PURE__ */ we.createElement(Pv.Provider, {
29164
29185
  children: u,
@@ -29284,10 +29305,10 @@ function SP(i, l) {
29284
29305
  if (f = w ? ts(w, l) : null, u = i.getAttribute("formmethod") || C.getAttribute("method") || u0, p = PC(i.getAttribute("formenctype")) || PC(C.getAttribute("enctype")) || s0, g = new FormData(C, i), !gP()) {
29285
29306
  let {
29286
29307
  name: x,
29287
- type: k,
29308
+ type: D,
29288
29309
  value: _
29289
29310
  } = i;
29290
- if (k === "image") {
29311
+ if (D === "image") {
29291
29312
  let O = x ? x + "." : "";
29292
29313
  g.append(O + "x", "0"), g.append(O + "y", "0");
29293
29314
  } else x && g.append(x, _);
@@ -29333,10 +29354,10 @@ function _P(i) {
29333
29354
  location: v.location
29334
29355
  }), {
29335
29356
  v7_startTransition: x
29336
- } = f || {}, k = we.useCallback((_) => {
29357
+ } = f || {}, D = we.useCallback((_) => {
29337
29358
  x && H3 ? H3(() => w(_)) : w(_);
29338
29359
  }, [w, x]);
29339
- return we.useLayoutEffect(() => v.listen(k), [v, k]), /* @__PURE__ */ we.createElement(cP, {
29360
+ return we.useLayoutEffect(() => v.listen(D), [v, D]), /* @__PURE__ */ we.createElement(cP, {
29340
29361
  basename: l,
29341
29362
  children: u,
29342
29363
  location: C.location,
@@ -29355,7 +29376,7 @@ const RP = typeof window < "u" && typeof window.document < "u" && typeof window.
29355
29376
  state: C,
29356
29377
  target: w,
29357
29378
  to: x,
29358
- preventScrollReset: k,
29379
+ preventScrollReset: D,
29359
29380
  unstable_viewTransition: _
29360
29381
  } = l, O = $b(l, EP), {
29361
29382
  basename: z
@@ -29373,7 +29394,7 @@ const RP = typeof window < "u" && typeof window.document < "u" && typeof window.
29373
29394
  replace: v,
29374
29395
  state: C,
29375
29396
  target: w,
29376
- preventScrollReset: k,
29397
+ preventScrollReset: D,
29377
29398
  relative: p,
29378
29399
  unstable_viewTransition: _
29379
29400
  });
@@ -29400,7 +29421,7 @@ const kP = /* @__PURE__ */ we.forwardRef(function(l, u) {
29400
29421
  style: C,
29401
29422
  to: w,
29402
29423
  unstable_viewTransition: x,
29403
- children: k
29424
+ children: D
29404
29425
  } = l, _ = $b(l, CP), O = Iv(w, {
29405
29426
  relative: _.relative
29406
29427
  }), z = Gd(), V = we.useContext(jb), {
@@ -29425,7 +29446,7 @@ const kP = /* @__PURE__ */ we.forwardRef(function(l, u) {
29425
29446
  style: ye,
29426
29447
  to: w,
29427
29448
  unstable_viewTransition: x
29428
- }), typeof k == "function" ? k(ke) : k);
29449
+ }), typeof D == "function" ? D(ke) : D);
29429
29450
  });
29430
29451
  process.env.NODE_ENV !== "production" && (kP.displayName = "NavLink");
29431
29452
  const OP = /* @__PURE__ */ we.forwardRef((i, l) => {
@@ -29438,11 +29459,11 @@ const OP = /* @__PURE__ */ we.forwardRef((i, l) => {
29438
29459
  method: C = u0,
29439
29460
  action: w,
29440
29461
  onSubmit: x,
29441
- relative: k,
29462
+ relative: D,
29442
29463
  preventScrollReset: _,
29443
29464
  unstable_viewTransition: O
29444
29465
  } = i, z = $b(i, bP), V = UP(), G = PP(w, {
29445
- relative: k
29466
+ relative: D
29446
29467
  }), Y = C.toLowerCase() === "get" ? "get" : "post", re = (W) => {
29447
29468
  if (x && x(W), W.defaultPrevented) return;
29448
29469
  W.preventDefault();
@@ -29453,7 +29474,7 @@ const OP = /* @__PURE__ */ we.forwardRef((i, l) => {
29453
29474
  navigate: f,
29454
29475
  replace: g,
29455
29476
  state: v,
29456
- relative: k,
29477
+ relative: D,
29457
29478
  preventScrollReset: _,
29458
29479
  unstable_viewTransition: O
29459
29480
  });
@@ -29490,13 +29511,13 @@ function MP(i, l) {
29490
29511
  preventScrollReset: g,
29491
29512
  relative: v,
29492
29513
  unstable_viewTransition: C
29493
- } = l === void 0 ? {} : l, w = XU(), x = Gd(), k = Iv(i, {
29514
+ } = l === void 0 ? {} : l, w = XU(), x = Gd(), D = Iv(i, {
29494
29515
  relative: v
29495
29516
  });
29496
29517
  return we.useCallback((_) => {
29497
29518
  if (mP(_, u)) {
29498
29519
  _.preventDefault();
29499
- let O = f !== void 0 ? f : _v(x) === _v(k);
29520
+ let O = f !== void 0 ? f : _v(x) === _v(D);
29500
29521
  w(i, {
29501
29522
  replace: O,
29502
29523
  state: p,
@@ -29505,7 +29526,7 @@ function MP(i, l) {
29505
29526
  unstable_viewTransition: C
29506
29527
  });
29507
29528
  }
29508
- }, [x, w, k, f, p, u, i, g, v, C]);
29529
+ }, [x, w, D, f, p, u, i, g, v, C]);
29509
29530
  }
29510
29531
  function AP() {
29511
29532
  if (typeof document > "u")
@@ -29528,8 +29549,8 @@ function UP() {
29528
29549
  body: x
29529
29550
  } = SP(f, l);
29530
29551
  if (p.navigate === !1) {
29531
- let k = p.fetcherKey || zP();
29532
- i.fetch(k, u, p.action || g, {
29552
+ let D = p.fetcherKey || zP();
29553
+ i.fetch(D, u, p.action || g, {
29533
29554
  preventScrollReset: p.preventScrollReset,
29534
29555
  formData: w,
29535
29556
  body: x,
@@ -29680,6 +29701,7 @@ export {
29680
29701
  Od as Divider,
29681
29702
  Zz as DropdownAction,
29682
29703
  vF as DropdownButton,
29704
+ Ro as FILE_SCHEMES,
29683
29705
  gF as HeaderMenu,
29684
29706
  MM as IMAGE_EXTENSIONS,
29685
29707
  Wd as Image,