zudoku 0.41.4 → 0.41.5

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.
Files changed (54) hide show
  1. package/dist/lib/components/BuildCheck.js +2 -2
  2. package/dist/lib/components/BuildCheck.js.map +1 -1
  3. package/lib/{AuthenticationPlugin-CJOFRBk3.js → AuthenticationPlugin-DPCuR3xm.js} +3 -3
  4. package/lib/{AuthenticationPlugin-CJOFRBk3.js.map → AuthenticationPlugin-DPCuR3xm.js.map} +1 -1
  5. package/lib/{Markdown-DqDbGCj2.js → Markdown-mFpg_n9p.js} +3 -3
  6. package/lib/{Markdown-DqDbGCj2.js.map → Markdown-mFpg_n9p.js.map} +1 -1
  7. package/lib/{MdxPage-OSMru6r8.js → MdxPage-CH19q_hk.js} +7 -7
  8. package/lib/{MdxPage-OSMru6r8.js.map → MdxPage-CH19q_hk.js.map} +1 -1
  9. package/lib/{OasProvider-CHYfqkG3.js → OasProvider-n805wUHH.js} +4 -4
  10. package/lib/{OasProvider-CHYfqkG3.js.map → OasProvider-n805wUHH.js.map} +1 -1
  11. package/lib/{OperationList-jzJUa4hl.js → OperationList-BAhWsh8C.js} +10 -10
  12. package/lib/{OperationList-jzJUa4hl.js.map → OperationList-BAhWsh8C.js.map} +1 -1
  13. package/lib/{Pagination-BcY_siMl.js → Pagination-DAjXddnj.js} +3 -3
  14. package/lib/{Pagination-BcY_siMl.js.map → Pagination-DAjXddnj.js.map} +1 -1
  15. package/lib/{RouteGuard-BZ_VsiXc.js → RouteGuard-DRtEu9nh.js} +3 -3
  16. package/lib/{RouteGuard-BZ_VsiXc.js.map → RouteGuard-DRtEu9nh.js.map} +1 -1
  17. package/lib/{SchemaList-DcWTacAj.js → SchemaList-BJ0GDIcI.js} +6 -6
  18. package/lib/{SchemaList-DcWTacAj.js.map → SchemaList-BJ0GDIcI.js.map} +1 -1
  19. package/lib/{SchemaView-DwlVvFfp.js → SchemaView-J7Srn-Iy.js} +2 -2
  20. package/lib/{SchemaView-DwlVvFfp.js.map → SchemaView-J7Srn-Iy.js.map} +1 -1
  21. package/lib/{Select-Dg5R11Dx.js → Select-CT64Ou40.js} +3 -3
  22. package/lib/{Select-Dg5R11Dx.js.map → Select-CT64Ou40.js.map} +1 -1
  23. package/lib/{SlotletProvider-p4XaFFOh.js → SlotletProvider-CS_nO-XT.js} +4 -4
  24. package/lib/{SlotletProvider-p4XaFFOh.js.map → SlotletProvider-CS_nO-XT.js.map} +1 -1
  25. package/lib/{Toc-BVdRaIC0.js → Toc-D_tV8_Ri.js} +2 -2
  26. package/lib/{Toc-BVdRaIC0.js.map → Toc-D_tV8_Ri.js.map} +1 -1
  27. package/lib/{chunk-KNED5TY2-BUPjb3LQ.js → chunk-BAXFHI7N-BVBOl9s0.js} +125 -121
  28. package/lib/chunk-BAXFHI7N-BVBOl9s0.js.map +1 -0
  29. package/lib/{hook-pPrHCB6G.js → hook-CldJlP5c.js} +2 -2
  30. package/lib/{hook-pPrHCB6G.js.map → hook-CldJlP5c.js.map} +1 -1
  31. package/lib/{index-DMYbZ3i6.js → index-BeYI7Btu.js} +10 -10
  32. package/lib/index-BeYI7Btu.js.map +1 -0
  33. package/lib/{index-DNFEg0uU.js → index-Dbvpddzr.js} +7 -7
  34. package/lib/{index-DNFEg0uU.js.map → index-Dbvpddzr.js.map} +1 -1
  35. package/lib/{mutation-Csa9eQDM.js → mutation-DBQh7AOZ.js} +2 -2
  36. package/lib/{mutation-Csa9eQDM.js.map → mutation-DBQh7AOZ.js.map} +1 -1
  37. package/lib/{useExposedProps-Dq2yUQIG.js → useExposedProps-DbIZXspi.js} +2 -2
  38. package/lib/{useExposedProps-Dq2yUQIG.js.map → useExposedProps-DbIZXspi.js.map} +1 -1
  39. package/lib/zudoku.auth-auth0.js +1 -1
  40. package/lib/zudoku.auth-clerk.js +2 -2
  41. package/lib/zudoku.auth-openid.js +3 -3
  42. package/lib/zudoku.components.js +6 -6
  43. package/lib/zudoku.hooks.js +1 -1
  44. package/lib/zudoku.plugin-api-catalog.js +5 -5
  45. package/lib/zudoku.plugin-api-keys.js +4 -4
  46. package/lib/zudoku.plugin-custom-pages.js +2 -2
  47. package/lib/zudoku.plugin-markdown.js +1 -1
  48. package/lib/zudoku.plugin-openapi.js +3 -3
  49. package/lib/zudoku.plugin-redirect.js +1 -1
  50. package/lib/zudoku.plugin-search-pagefind.js +3 -3
  51. package/package.json +4 -4
  52. package/src/lib/components/BuildCheck.tsx +2 -2
  53. package/lib/chunk-KNED5TY2-BUPjb3LQ.js.map +0 -1
  54. package/lib/index-DMYbZ3i6.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import * as o from "react";
2
- var _ = {}, ue;
2
+ var F = {}, ue;
3
3
  function Me() {
4
- if (ue) return _;
5
- ue = 1, Object.defineProperty(_, "__esModule", { value: !0 }), _.parse = c, _.serialize = s;
4
+ if (ue) return F;
5
+ ue = 1, Object.defineProperty(F, "__esModule", { value: !0 }), F.parse = c, F.serialize = s;
6
6
  const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, n = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, a = /^[\u0020-\u003A\u003D-\u007E]*$/, r = Object.prototype.toString, i = /* @__PURE__ */ (() => {
7
7
  const d = function() {
8
8
  };
@@ -25,8 +25,8 @@ function Me() {
25
25
  }
26
26
  const x = u(d, m, g), C = l(d, g, x), $ = d.slice(x, C);
27
27
  if (f[$] === void 0) {
28
- let P = u(d, g + 1, R), S = l(d, R, P);
29
- const D = E(d.slice(P, S));
28
+ let S = u(d, g + 1, R), P = l(d, R, S);
29
+ const D = E(d.slice(S, P));
30
30
  f[$] = D;
31
31
  }
32
32
  m = R + 1;
@@ -122,11 +122,11 @@ function Me() {
122
122
  function p(d) {
123
123
  return r.call(d) === "[object Date]";
124
124
  }
125
- return _;
125
+ return F;
126
126
  }
127
127
  Me();
128
128
  /**
129
- * react-router v7.5.0
129
+ * react-router v7.5.2
130
130
  *
131
131
  * Copyright (c) Remix Software Inc.
132
132
  *
@@ -173,7 +173,7 @@ function De(e, t, n, a) {
173
173
  if (i == null)
174
174
  return null;
175
175
  let c = ve(e);
176
- Ie(c);
176
+ Oe(c);
177
177
  let u = null;
178
178
  for (let l = 0; u == null && l < c.length; ++l) {
179
179
  let s = ye(i);
@@ -233,7 +233,7 @@ function ge(e) {
233
233
  (l) => e.startsWith("/") && l === "" ? "/" : l
234
234
  );
235
235
  }
236
- function Ie(e) {
236
+ function Oe(e) {
237
237
  e.sort(
238
238
  (t, n) => t.score !== n.score ? n.score - t.score : ze(
239
239
  t.routesMeta.map((a) => a.childrenIndex),
@@ -241,11 +241,11 @@ function Ie(e) {
241
241
  )
242
242
  );
243
243
  }
244
- var Oe = /^:[\w-]+$/, Fe = 3, _e = 2, Ue = 1, Be = 10, He = -2, ce = (e) => e === "*";
244
+ var Ie = /^:[\w-]+$/, _e = 3, Fe = 2, Ue = 1, Be = 10, He = -2, ce = (e) => e === "*";
245
245
  function We(e, t) {
246
246
  let n = e.split("/"), a = n.length;
247
- return n.some(ce) && (a += He), t && (a += _e), n.filter((r) => !ce(r)).reduce(
248
- (r, i) => r + (Oe.test(i) ? Fe : i === "" ? Ue : Be),
247
+ return n.some(ce) && (a += He), t && (a += Fe), n.filter((r) => !ce(r)).reduce(
248
+ (r, i) => r + (Ie.test(i) ? _e : i === "" ? Ue : Be),
249
249
  a
250
250
  );
251
251
  }
@@ -406,7 +406,7 @@ function ee(e, t, n, a = !1) {
406
406
  let l = Ye(r, u), s = c && c !== "/" && c.endsWith("/"), h = (i || c === ".") && n.endsWith("/");
407
407
  return !l.pathname.endsWith("/") && (s || h) && (l.pathname += "/"), l;
408
408
  }
409
- var A = (e) => e.join("/").replace(/\/\/+/g, "/"), qe = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Ge = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Xe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, an = (e, t = 302) => {
409
+ var A = (e) => e.join("/").replace(/\/\/+/g, "/"), qe = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Ge = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Xe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, on = (e, t = 302) => {
410
410
  let n = t;
411
411
  typeof n == "number" ? n = { status: n } : typeof n.status > "u" && (n.status = 302);
412
412
  let a = new Headers(n.headers);
@@ -429,10 +429,10 @@ var Qe = [
429
429
  ...Ee
430
430
  ];
431
431
  new Set(Qe);
432
- var I = o.createContext(null);
433
- I.displayName = "DataRouter";
434
- var F = o.createContext(null);
435
- F.displayName = "DataRouterState";
432
+ var O = o.createContext(null);
433
+ O.displayName = "DataRouter";
434
+ var _ = o.createContext(null);
435
+ _.displayName = "DataRouterState";
436
436
  var J = o.createContext({
437
437
  isTransitioning: !1
438
438
  });
@@ -461,7 +461,7 @@ var ne = o.createContext(null);
461
461
  ne.displayName = "RouteError";
462
462
  function et(e, { relative: t } = {}) {
463
463
  b(
464
- O(),
464
+ I(),
465
465
  // TODO: This error is probably because they somehow have 2 versions of the
466
466
  // router loaded. We can help them understand how to avoid that.
467
467
  "useHref() may be used only in the context of a <Router> component."
@@ -469,20 +469,20 @@ function et(e, { relative: t } = {}) {
469
469
  let { basename: n, navigator: a } = o.useContext(T), { hash: r, pathname: i, search: c } = W(e, { relative: t }), u = i;
470
470
  return n !== "/" && (u = i === "/" ? n : A([n, i])), a.createHref({ pathname: u, search: c, hash: r });
471
471
  }
472
- function O() {
472
+ function I() {
473
473
  return o.useContext(K) != null;
474
474
  }
475
475
  function N() {
476
476
  return b(
477
- O(),
477
+ I(),
478
478
  // TODO: This error is probably because they somehow have 2 versions of the
479
479
  // router loaded. We can help them understand how to avoid that.
480
480
  "useLocation() may be used only in the context of a <Router> component."
481
481
  ), o.useContext(K).location;
482
482
  }
483
- function on(e) {
483
+ function ln(e) {
484
484
  b(
485
- O(),
485
+ I(),
486
486
  // TODO: This error is probably because they somehow have 2 versions of the
487
487
  // router loaded. We can help them understand how to avoid that.
488
488
  "useMatch() may be used only in the context of a <Router> component."
@@ -503,12 +503,12 @@ function re() {
503
503
  }
504
504
  function tt() {
505
505
  b(
506
- O(),
506
+ I(),
507
507
  // TODO: This error is probably because they somehow have 2 versions of the
508
508
  // router loaded. We can help them understand how to avoid that.
509
509
  "useNavigate() may be used only in the context of a <Router> component."
510
510
  );
511
- let e = o.useContext(I), { basename: t, navigator: n } = o.useContext(T), { matches: a } = o.useContext(k), { pathname: r } = N(), i = JSON.stringify(Z(a)), c = o.useRef(!1);
511
+ let e = o.useContext(O), { basename: t, navigator: n } = o.useContext(T), { matches: a } = o.useContext(k), { pathname: r } = N(), i = JSON.stringify(Z(a)), c = o.useRef(!1);
512
512
  return Re(() => {
513
513
  c.current = !0;
514
514
  }), o.useCallback(
@@ -544,7 +544,7 @@ function rt(e) {
544
544
  let t = o.useContext(k).outlet;
545
545
  return t && /* @__PURE__ */ o.createElement(nt.Provider, { value: e }, t);
546
546
  }
547
- function ln() {
547
+ function sn() {
548
548
  let { matches: e } = o.useContext(k), t = e[e.length - 1];
549
549
  return t ? t.params : {};
550
550
  }
@@ -562,7 +562,7 @@ function W(e, { relative: t } = {}) {
562
562
  }
563
563
  function be(e, t, n, a) {
564
564
  b(
565
- O(),
565
+ I(),
566
566
  // TODO: This error is probably because they somehow have 2 versions of the
567
567
  // router loaded. We can help them understand how to avoid that.
568
568
  "useRoutes() may be used only in the context of a <Router> component."
@@ -570,7 +570,7 @@ function be(e, t, n, a) {
570
570
  let { navigator: r, static: i } = o.useContext(T), { matches: c } = o.useContext(k), u = c[c.length - 1], l = u ? u.params : {}, s = u ? u.pathname : "/", h = u ? u.pathnameBase : "/", p = u && u.route;
571
571
  {
572
572
  let g = p && p.path || "";
573
- Pe(
573
+ Se(
574
574
  s,
575
575
  !p || g.endsWith("*") || g.endsWith("*?"),
576
576
  `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${g}">) 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.
@@ -660,7 +660,7 @@ var it = /* @__PURE__ */ o.createElement(at, null), ot = class extends o.Compone
660
660
  }
661
661
  };
662
662
  function lt({ routeContext: e, match: t, children: n }) {
663
- let a = o.useContext(I);
663
+ let a = o.useContext(O);
664
664
  return a && a.static && a.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (a.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ o.createElement(k.Provider, { value: e }, n);
665
665
  }
666
666
  function st(e, t = [], n = null, a = null) {
@@ -703,7 +703,7 @@ function st(e, t = [], n = null, a = null) {
703
703
  }
704
704
  return r.reduceRight((l, s, h) => {
705
705
  let p, d = !1, v = null, f = null;
706
- n && (p = i && s.route.id ? i[s.route.id] : void 0, v = s.route.errorElement || it, c && (u < 0 && h === 0 ? (Pe(
706
+ n && (p = i && s.route.id ? i[s.route.id] : void 0, v = s.route.errorElement || it, c && (u < 0 && h === 0 ? (Se(
707
707
  "route-fallback",
708
708
  !1,
709
709
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -740,11 +740,11 @@ function ae(e) {
740
740
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
741
741
  }
742
742
  function ut(e) {
743
- let t = o.useContext(I);
743
+ let t = o.useContext(O);
744
744
  return b(t, ae(e)), t;
745
745
  }
746
746
  function Ce(e) {
747
- let t = o.useContext(F);
747
+ let t = o.useContext(_);
748
748
  return b(t, ae(e)), t;
749
749
  }
750
750
  function ct(e) {
@@ -764,7 +764,7 @@ function ft() {
764
764
  /* UseRouteId */
765
765
  );
766
766
  }
767
- function sn() {
767
+ function un() {
768
768
  return Ce(
769
769
  "useNavigation"
770
770
  /* UseNavigation */
@@ -799,7 +799,7 @@ function ht() {
799
799
  );
800
800
  }
801
801
  var fe = {};
802
- function Pe(e, t, n) {
802
+ function Se(e, t, n) {
803
803
  !t && !fe[e] && (fe[e] = !0, L(!1, n));
804
804
  }
805
805
  var de = {};
@@ -817,7 +817,7 @@ var mt = class {
817
817
  });
818
818
  }
819
819
  };
820
- function un({
820
+ function cn({
821
821
  router: e,
822
822
  flushSync: t
823
823
  }) {
@@ -825,9 +825,9 @@ function un({
825
825
  isTransitioning: !1
826
826
  }), [l, s] = o.useState(), [h, p] = o.useState(), [d, v] = o.useState(), f = o.useRef(/* @__PURE__ */ new Map()), w = o.useCallback(
827
827
  (y, { deletedFetchers: R, flushSync: x, viewTransitionOpts: C }) => {
828
- y.fetchers.forEach((P, S) => {
829
- P.data !== void 0 && f.current.set(S, P.data);
830
- }), R.forEach((P) => f.current.delete(P)), he(
828
+ y.fetchers.forEach((S, P) => {
829
+ S.data !== void 0 && f.current.set(P, S.data);
830
+ }), R.forEach((S) => f.current.delete(S)), he(
831
831
  x === !1 || t != null,
832
832
  'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.'
833
833
  );
@@ -848,14 +848,14 @@ function un({
848
848
  nextLocation: C.nextLocation
849
849
  });
850
850
  });
851
- let P = e.window.document.startViewTransition(() => {
851
+ let S = e.window.document.startViewTransition(() => {
852
852
  t(() => a(y));
853
853
  });
854
- P.finished.finally(() => {
854
+ S.finished.finally(() => {
855
855
  t(() => {
856
856
  s(void 0), p(void 0), i(void 0), u({ isTransitioning: !1 });
857
857
  });
858
- }), t(() => p(P));
858
+ }), t(() => p(S));
859
859
  return;
860
860
  }
861
861
  h ? (l && l.resolve(), h.skipTransition(), v({
@@ -914,8 +914,8 @@ function un({
914
914
  }),
915
915
  [e, E, m]
916
916
  );
917
- return /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(I.Provider, { value: g }, /* @__PURE__ */ o.createElement(F.Provider, { value: n }, /* @__PURE__ */ o.createElement(te.Provider, { value: f.current }, /* @__PURE__ */ o.createElement(J.Provider, { value: c }, /* @__PURE__ */ o.createElement(
918
- Se,
917
+ return /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(O.Provider, { value: g }, /* @__PURE__ */ o.createElement(_.Provider, { value: n }, /* @__PURE__ */ o.createElement(te.Provider, { value: f.current }, /* @__PURE__ */ o.createElement(J.Provider, { value: c }, /* @__PURE__ */ o.createElement(
918
+ Pe,
919
919
  {
920
920
  basename: m,
921
921
  location: n.location,
@@ -940,14 +940,14 @@ function vt({
940
940
  }) {
941
941
  return be(e, void 0, n, t);
942
942
  }
943
- function cn({
943
+ function fn({
944
944
  to: e,
945
945
  replace: t,
946
946
  state: n,
947
947
  relative: a
948
948
  }) {
949
949
  b(
950
- O(),
950
+ I(),
951
951
  // TODO: This error is probably because they somehow have 2 versions of
952
952
  // the router loaded. We can help them understand how to avoid that.
953
953
  "<Navigate> may be used only in the context of a <Router> component."
@@ -967,10 +967,10 @@ function cn({
967
967
  u(JSON.parse(s), { replace: t, state: n, relative: a });
968
968
  }, [u, s, a, t, n]), null;
969
969
  }
970
- function fn(e) {
970
+ function dn(e) {
971
971
  return rt(e.context);
972
972
  }
973
- function Se({
973
+ function Pe({
974
974
  basename: e = "/",
975
975
  children: t = null,
976
976
  location: n,
@@ -979,7 +979,7 @@ function Se({
979
979
  static: i = !1
980
980
  }) {
981
981
  b(
982
- !O(),
982
+ !I(),
983
983
  "You cannot render a <Router> inside another <Router>. You should never have more than one in your app."
984
984
  );
985
985
  let c = e.replace(/^\/*/, "/"), u = o.useMemo(
@@ -1080,7 +1080,7 @@ function X(e) {
1080
1080
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${j}"`
1081
1081
  ), null) : e;
1082
1082
  }
1083
- function Pt(e, t) {
1083
+ function St(e, t) {
1084
1084
  let n, a, r, i, c;
1085
1085
  if (yt(e)) {
1086
1086
  let u = e.getAttribute("action");
@@ -1112,7 +1112,7 @@ function oe(e, t) {
1112
1112
  if (e === !1 || e === null || typeof e > "u")
1113
1113
  throw new Error(t);
1114
1114
  }
1115
- async function St(e, t) {
1115
+ async function Pt(e, t) {
1116
1116
  if (e.id in t)
1117
1117
  return t[e.id];
1118
1118
  try {
@@ -1137,7 +1137,7 @@ async function kt(e, t, n) {
1137
1137
  e.map(async (r) => {
1138
1138
  let i = t.routes[r.route.id];
1139
1139
  if (i) {
1140
- let c = await St(i, n);
1140
+ let c = await Pt(i, n);
1141
1141
  return c.links ? c.links() : [];
1142
1142
  }
1143
1143
  return [];
@@ -1211,7 +1211,8 @@ function At(e, t) {
1211
1211
  return n.has(i) || (n.add(i), a.push({ key: i, link: r })), a;
1212
1212
  }, []);
1213
1213
  }
1214
- function Mt(e, t) {
1214
+ var Mt = /* @__PURE__ */ new Set([100, 101, 204, 205]);
1215
+ function Dt(e, t) {
1215
1216
  let n = typeof e == "string" ? new URL(
1216
1217
  e,
1217
1218
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
@@ -1221,14 +1222,14 @@ function Mt(e, t) {
1221
1222
  return n.pathname === "/" ? n.pathname = "_root.data" : t && M(n.pathname, t) === "/" ? n.pathname = `${t.replace(/\/$/, "")}/_root.data` : n.pathname = `${n.pathname.replace(/\/$/, "")}.data`, n;
1222
1223
  }
1223
1224
  function Le() {
1224
- let e = o.useContext(I);
1225
+ let e = o.useContext(O);
1225
1226
  return oe(
1226
1227
  e,
1227
1228
  "You must render this element inside a <DataRouterContext.Provider> element"
1228
1229
  ), e;
1229
1230
  }
1230
- function Dt() {
1231
- let e = o.useContext(F);
1231
+ function Ot() {
1232
+ let e = o.useContext(_);
1232
1233
  return oe(
1233
1234
  e,
1234
1235
  "You must render this element inside a <DataRouterStateContext.Provider> element"
@@ -1288,7 +1289,7 @@ function U(e, t) {
1288
1289
  e && e(n), n.defaultPrevented || t(n);
1289
1290
  };
1290
1291
  }
1291
- function Ot({
1292
+ function _t({
1292
1293
  page: e,
1293
1294
  ...t
1294
1295
  }) {
@@ -1296,7 +1297,7 @@ function Ot({
1296
1297
  () => pe(n.routes, e, n.basename),
1297
1298
  [n.routes, e, n.basename]
1298
1299
  );
1299
- return a ? /* @__PURE__ */ o.createElement(_t, { page: e, matches: a, ...t }) : null;
1300
+ return a ? /* @__PURE__ */ o.createElement(Ut, { page: e, matches: a, ...t }) : null;
1300
1301
  }
1301
1302
  function Ft(e) {
1302
1303
  let { manifest: t, routeModules: n } = ke(), [a, r] = o.useState([]);
@@ -1311,12 +1312,12 @@ function Ft(e) {
1311
1312
  };
1312
1313
  }, [e, t, n]), a;
1313
1314
  }
1314
- function _t({
1315
+ function Ut({
1315
1316
  page: e,
1316
1317
  matches: t,
1317
1318
  ...n
1318
1319
  }) {
1319
- let a = N(), { manifest: r, routeModules: i } = ke(), { basename: c } = Le(), { loaderData: u, matches: l } = Dt(), s = o.useMemo(
1320
+ let a = N(), { manifest: r, routeModules: i } = ke(), { basename: c } = Le(), { loaderData: u, matches: l } = Ot(), s = o.useMemo(
1320
1321
  () => me(
1321
1322
  e,
1322
1323
  t,
@@ -1346,7 +1347,7 @@ function _t({
1346
1347
  !g || !g.hasLoader || (!s.some((R) => R.route.id === m.route.id) && m.route.id in u && ((y = i[m.route.id]) != null && y.shouldRevalidate) || g.hasClientLoader ? w = !0 : f.add(m.route.id));
1347
1348
  }), f.size === 0)
1348
1349
  return [];
1349
- let E = Mt(e, c);
1350
+ let E = Dt(e, c);
1350
1351
  return w && f.size > 0 && E.searchParams.set(
1351
1352
  "_routes",
1352
1353
  t.filter((m) => f.has(m.route.id)).map((m) => m.route.id).join(",")
@@ -1370,7 +1371,7 @@ function _t({
1370
1371
  /* @__PURE__ */ o.createElement("link", { key: f, ...w })
1371
1372
  )));
1372
1373
  }
1373
- function Ut(...e) {
1374
+ function Bt(...e) {
1374
1375
  return (t) => {
1375
1376
  e.forEach((n) => {
1376
1377
  typeof n == "function" ? n(t) : n != null && (n.current = t);
@@ -1379,7 +1380,7 @@ function Ut(...e) {
1379
1380
  }
1380
1381
  var $e = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
1381
1382
  try {
1382
- $e && (window.__reactRouterVersion = "7.5.0");
1383
+ $e && (window.__reactRouterVersion = "7.5.2");
1383
1384
  } catch {
1384
1385
  }
1385
1386
  var Te = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ne = o.forwardRef(
@@ -1400,8 +1401,8 @@ var Te = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ne = o.forwardRef(
1400
1401
  let { basename: f } = o.useContext(T), w = typeof s == "string" && Te.test(s), E, m = !1;
1401
1402
  if (typeof s == "string" && w && (E = s, $e))
1402
1403
  try {
1403
- let S = new URL(window.location.href), D = s.startsWith("//") ? new URL(S.protocol + s) : new URL(s), se = M(D.pathname, f);
1404
- D.origin === S.origin && se != null ? s = se + D.search + D.hash : m = !0;
1404
+ let P = new URL(window.location.href), D = s.startsWith("//") ? new URL(P.protocol + s) : new URL(s), se = M(D.pathname, f);
1405
+ D.origin === P.origin && se != null ? s = se + D.search + D.hash : m = !0;
1405
1406
  } catch {
1406
1407
  L(
1407
1408
  !1,
@@ -1411,7 +1412,7 @@ var Te = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ne = o.forwardRef(
1411
1412
  let g = et(s, { relative: r }), [y, R, x] = It(
1412
1413
  a,
1413
1414
  d
1414
- ), C = zt(s, {
1415
+ ), C = Vt(s, {
1415
1416
  replace: c,
1416
1417
  state: u,
1417
1418
  target: l,
@@ -1419,10 +1420,10 @@ var Te = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ne = o.forwardRef(
1419
1420
  relative: r,
1420
1421
  viewTransition: p
1421
1422
  });
1422
- function $(S) {
1423
- t && t(S), S.defaultPrevented || C(S);
1423
+ function $(P) {
1424
+ t && t(P), P.defaultPrevented || C(P);
1424
1425
  }
1425
- let P = (
1426
+ let S = (
1426
1427
  // eslint-disable-next-line jsx-a11y/anchor-has-content
1427
1428
  /* @__PURE__ */ o.createElement(
1428
1429
  "a",
@@ -1431,17 +1432,17 @@ var Te = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ne = o.forwardRef(
1431
1432
  ...x,
1432
1433
  href: E || g,
1433
1434
  onClick: m || i ? t : $,
1434
- ref: Ut(v, R),
1435
+ ref: Bt(v, R),
1435
1436
  target: l,
1436
1437
  "data-discover": !w && n === "render" ? "true" : void 0
1437
1438
  }
1438
1439
  )
1439
1440
  );
1440
- return y && !w ? /* @__PURE__ */ o.createElement(o.Fragment, null, P, /* @__PURE__ */ o.createElement(Ot, { page: g })) : P;
1441
+ return y && !w ? /* @__PURE__ */ o.createElement(o.Fragment, null, S, /* @__PURE__ */ o.createElement(_t, { page: g })) : S;
1441
1442
  }
1442
1443
  );
1443
1444
  Ne.displayName = "Link";
1444
- var Bt = o.forwardRef(
1445
+ var Ht = o.forwardRef(
1445
1446
  function({
1446
1447
  "aria-current": t = "page",
1447
1448
  caseSensitive: n = !1,
@@ -1453,17 +1454,17 @@ var Bt = o.forwardRef(
1453
1454
  children: l,
1454
1455
  ...s
1455
1456
  }, h) {
1456
- let p = W(c, { relative: s.relative }), d = N(), v = o.useContext(F), { navigator: f, basename: w } = o.useContext(T), E = v != null && // Conditional usage is OK here because the usage of a data router is static
1457
+ let p = W(c, { relative: s.relative }), d = N(), v = o.useContext(_), { navigator: f, basename: w } = o.useContext(T), E = v != null && // Conditional usage is OK here because the usage of a data router is static
1457
1458
  // eslint-disable-next-line react-hooks/rules-of-hooks
1458
- Kt(p) && u === !0, m = f.encodeLocation ? f.encodeLocation(p).pathname : p.pathname, g = d.pathname, y = v && v.navigation && v.navigation.location ? v.navigation.location.pathname : null;
1459
+ qt(p) && u === !0, m = f.encodeLocation ? f.encodeLocation(p).pathname : p.pathname, g = d.pathname, y = v && v.navigation && v.navigation.location ? v.navigation.location.pathname : null;
1459
1460
  n || (g = g.toLowerCase(), y = y ? y.toLowerCase() : null, m = m.toLowerCase()), y && w && (y = M(y, w) || y);
1460
1461
  const R = m !== "/" && m.endsWith("/") ? m.length - 1 : m.length;
1461
1462
  let x = g === m || !r && g.startsWith(m) && g.charAt(R) === "/", C = y != null && (y === m || !r && y.startsWith(m) && y.charAt(m.length) === "/"), $ = {
1462
1463
  isActive: x,
1463
1464
  isPending: C,
1464
1465
  isTransitioning: E
1465
- }, P = x ? t : void 0, S;
1466
- typeof a == "function" ? S = a($) : S = [
1466
+ }, S = x ? t : void 0, P;
1467
+ typeof a == "function" ? P = a($) : P = [
1467
1468
  a,
1468
1469
  x ? "active" : null,
1469
1470
  C ? "pending" : null,
@@ -1474,8 +1475,8 @@ var Bt = o.forwardRef(
1474
1475
  Ne,
1475
1476
  {
1476
1477
  ...s,
1477
- "aria-current": P,
1478
- className: S,
1478
+ "aria-current": S,
1479
+ className: P,
1479
1480
  ref: h,
1480
1481
  style: D,
1481
1482
  to: c,
@@ -1485,8 +1486,8 @@ var Bt = o.forwardRef(
1485
1486
  );
1486
1487
  }
1487
1488
  );
1488
- Bt.displayName = "NavLink";
1489
- var Ht = o.forwardRef(
1489
+ Ht.displayName = "NavLink";
1490
+ var Wt = o.forwardRef(
1490
1491
  ({
1491
1492
  discover: e = "render",
1492
1493
  fetcherKey: t,
@@ -1502,7 +1503,7 @@ var Ht = o.forwardRef(
1502
1503
  viewTransition: p,
1503
1504
  ...d
1504
1505
  }, v) => {
1505
- let f = Yt(), w = Jt(u, { relative: s }), E = c.toLowerCase() === "get" ? "get" : "post", m = typeof u == "string" && Te.test(u), g = (y) => {
1506
+ let f = Jt(), w = Kt(u, { relative: s }), E = c.toLowerCase() === "get" ? "get" : "post", m = typeof u == "string" && Te.test(u), g = (y) => {
1506
1507
  if (l && l(y), y.defaultPrevented) return;
1507
1508
  y.preventDefault();
1508
1509
  let R = y.nativeEvent.submitter, x = (R == null ? void 0 : R.getAttribute("formmethod")) || c;
@@ -1530,15 +1531,15 @@ var Ht = o.forwardRef(
1530
1531
  );
1531
1532
  }
1532
1533
  );
1533
- Ht.displayName = "Form";
1534
- function Wt(e) {
1534
+ Wt.displayName = "Form";
1535
+ function zt(e) {
1535
1536
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1536
1537
  }
1537
1538
  function Ae(e) {
1538
- let t = o.useContext(I);
1539
- return b(t, Wt(e)), t;
1539
+ let t = o.useContext(O);
1540
+ return b(t, zt(e)), t;
1540
1541
  }
1541
- function zt(e, {
1542
+ function Vt(e, {
1542
1543
  target: t,
1543
1544
  replace: n,
1544
1545
  state: a,
@@ -1575,7 +1576,7 @@ function zt(e, {
1575
1576
  ]
1576
1577
  );
1577
1578
  }
1578
- function dn(e) {
1579
+ function hn(e) {
1579
1580
  L(
1580
1581
  typeof URLSearchParams < "u",
1581
1582
  "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params."
@@ -1602,20 +1603,20 @@ function dn(e) {
1602
1603
  );
1603
1604
  return [r, c];
1604
1605
  }
1605
- var Vt = 0, jt = () => `__${String(++Vt)}__`;
1606
- function Yt() {
1606
+ var jt = 0, Yt = () => `__${String(++jt)}__`;
1607
+ function Jt() {
1607
1608
  let { router: e } = Ae(
1608
1609
  "useSubmit"
1609
1610
  /* UseSubmit */
1610
1611
  ), { basename: t } = o.useContext(T), n = ft();
1611
1612
  return o.useCallback(
1612
1613
  async (a, r = {}) => {
1613
- let { action: i, method: c, encType: u, formData: l, body: s } = Pt(
1614
+ let { action: i, method: c, encType: u, formData: l, body: s } = St(
1614
1615
  a,
1615
1616
  t
1616
1617
  );
1617
1618
  if (r.navigate === !1) {
1618
- let h = r.fetcherKey || jt();
1619
+ let h = r.fetcherKey || Yt();
1619
1620
  await e.fetch(h, n, r.action || i, {
1620
1621
  preventScrollReset: r.preventScrollReset,
1621
1622
  formData: l,
@@ -1641,7 +1642,7 @@ function Yt() {
1641
1642
  [e, t, n]
1642
1643
  );
1643
1644
  }
1644
- function Jt(e, { relative: t } = {}) {
1645
+ function Kt(e, { relative: t } = {}) {
1645
1646
  let { basename: n } = o.useContext(T), a = o.useContext(k);
1646
1647
  b(a, "useFormAction must be used inside a RouteContext");
1647
1648
  let [r] = a.matches.slice(-1), i = { ...W(e || ".", { relative: t }) }, c = N();
@@ -1656,7 +1657,7 @@ function Jt(e, { relative: t } = {}) {
1656
1657
  }
1657
1658
  return (!e || e === ".") && r.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), n !== "/" && (i.pathname = i.pathname === "/" ? n : A([n, i.pathname])), B(i);
1658
1659
  }
1659
- function Kt(e, t = {}) {
1660
+ function qt(e, t = {}) {
1660
1661
  let n = o.useContext(J);
1661
1662
  b(
1662
1663
  n != null,
@@ -1671,7 +1672,7 @@ function Kt(e, t = {}) {
1671
1672
  let i = M(n.currentLocation.pathname, a) || n.currentLocation.pathname, c = M(n.nextLocation.pathname, a) || n.nextLocation.pathname;
1672
1673
  return H(r.pathname, c) != null || H(r.pathname, i) != null;
1673
1674
  }
1674
- function hn({
1675
+ function mn({
1675
1676
  context: e,
1676
1677
  router: t,
1677
1678
  hydrate: n = !0,
@@ -1683,7 +1684,7 @@ function hn({
1683
1684
  );
1684
1685
  let r = {
1685
1686
  router: t,
1686
- navigator: Xt(),
1687
+ navigator: Qt(),
1687
1688
  static: !0,
1688
1689
  staticContext: e,
1689
1690
  basename: e.basename || "/"
@@ -1692,13 +1693,13 @@ function hn({
1692
1693
  let l = {
1693
1694
  loaderData: e.loaderData,
1694
1695
  actionData: e.actionData,
1695
- errors: Gt(e.errors)
1696
+ errors: Xt(e.errors)
1696
1697
  };
1697
- c = `window.__staticRouterHydrationData = JSON.parse(${rn(JSON.stringify(JSON.stringify(l)))});`;
1698
+ c = `window.__staticRouterHydrationData = JSON.parse(${an(JSON.stringify(JSON.stringify(l)))});`;
1698
1699
  }
1699
1700
  let { state: u } = r.router;
1700
- return /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(I.Provider, { value: r }, /* @__PURE__ */ o.createElement(F.Provider, { value: u }, /* @__PURE__ */ o.createElement(te.Provider, { value: i }, /* @__PURE__ */ o.createElement(J.Provider, { value: { isTransitioning: !1 } }, /* @__PURE__ */ o.createElement(
1701
- Se,
1701
+ return /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement(O.Provider, { value: r }, /* @__PURE__ */ o.createElement(_.Provider, { value: u }, /* @__PURE__ */ o.createElement(te.Provider, { value: i }, /* @__PURE__ */ o.createElement(J.Provider, { value: { isTransitioning: !1 } }, /* @__PURE__ */ o.createElement(
1702
+ Pe,
1702
1703
  {
1703
1704
  basename: r.basename,
1704
1705
  location: u.location,
@@ -1707,7 +1708,7 @@ function hn({
1707
1708
  static: r.static
1708
1709
  },
1709
1710
  /* @__PURE__ */ o.createElement(
1710
- qt,
1711
+ Gt,
1711
1712
  {
1712
1713
  routes: t.routes,
1713
1714
  future: t.future,
@@ -1723,14 +1724,14 @@ function hn({
1723
1724
  }
1724
1725
  ) : null);
1725
1726
  }
1726
- function qt({
1727
+ function Gt({
1727
1728
  routes: e,
1728
1729
  future: t,
1729
1730
  state: n
1730
1731
  }) {
1731
1732
  return be(e, void 0, n, t);
1732
1733
  }
1733
- function Gt(e) {
1734
+ function Xt(e) {
1734
1735
  if (!e) return null;
1735
1736
  let t = Object.entries(e), n = {};
1736
1737
  for (let [a, r] of t)
@@ -1745,10 +1746,10 @@ function Gt(e) {
1745
1746
  } : n[a] = r;
1746
1747
  return n;
1747
1748
  }
1748
- function Xt() {
1749
+ function Qt() {
1749
1750
  return {
1750
- createHref: Qt,
1751
- encodeLocation: Zt,
1751
+ createHref: Zt,
1752
+ encodeLocation: en,
1752
1753
  push(e) {
1753
1754
  throw new Error(
1754
1755
  `You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)})\` somewhere in your app.`
@@ -1776,47 +1777,50 @@ function Xt() {
1776
1777
  }
1777
1778
  };
1778
1779
  }
1779
- function Qt(e) {
1780
+ function Zt(e) {
1780
1781
  return typeof e == "string" ? e : B(e);
1781
1782
  }
1782
- function Zt(e) {
1783
+ function en(e) {
1783
1784
  let t = typeof e == "string" ? e : B(e);
1784
1785
  t = t.replace(/ $/, "%20");
1785
- let n = en.test(t) ? new URL(t) : new URL(t, "http://localhost");
1786
+ let n = tn.test(t) ? new URL(t) : new URL(t, "http://localhost");
1786
1787
  return {
1787
1788
  pathname: n.pathname,
1788
1789
  search: n.search,
1789
1790
  hash: n.hash
1790
1791
  };
1791
1792
  }
1792
- var en = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, tn = {
1793
+ var tn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, nn = {
1793
1794
  "&": "\\u0026",
1794
1795
  ">": "\\u003e",
1795
1796
  "<": "\\u003c",
1796
1797
  "\u2028": "\\u2028",
1797
1798
  "\u2029": "\\u2029"
1798
- }, nn = /[&><\u2028\u2029]/g;
1799
- function rn(e) {
1800
- return e.replace(nn, (t) => tn[t]);
1799
+ }, rn = /[&><\u2028\u2029]/g;
1800
+ function an(e) {
1801
+ return e.replace(rn, (t) => nn[t]);
1801
1802
  }
1802
1803
  new TextEncoder();
1804
+ [
1805
+ ...Mt
1806
+ ];
1803
1807
  export {
1804
1808
  Ne as L,
1805
- cn as N,
1806
- fn as O,
1807
- un as R,
1808
- hn as S,
1809
+ fn as N,
1810
+ dn as O,
1811
+ cn as R,
1812
+ mn as S,
1809
1813
  re as a,
1810
- dn as b,
1811
- ln as c,
1812
- on as d,
1814
+ hn as b,
1815
+ sn as c,
1816
+ ln as d,
1813
1817
  dt as e,
1814
- sn as f,
1815
- Bt as g,
1818
+ un as f,
1819
+ Ht as g,
1816
1820
  et as h,
1817
1821
  we as i,
1818
1822
  H as m,
1819
- an as r,
1823
+ on as r,
1820
1824
  N as u
1821
1825
  };
1822
- //# sourceMappingURL=chunk-KNED5TY2-BUPjb3LQ.js.map
1826
+ //# sourceMappingURL=chunk-BAXFHI7N-BVBOl9s0.js.map