zudoku 0.3.0-dev.57 → 0.3.0-dev.59

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 (199) hide show
  1. package/dist/app/entry.client.js +1 -1
  2. package/dist/app/entry.client.js.map +1 -1
  3. package/dist/app/entry.server.d.ts +2 -0
  4. package/dist/app/entry.server.js +1 -0
  5. package/dist/app/entry.server.js.map +1 -1
  6. package/dist/app/main.js +8 -2
  7. package/dist/app/main.js.map +1 -1
  8. package/dist/config/validators/validate.d.ts +121 -102
  9. package/dist/config/validators/validate.js +4 -0
  10. package/dist/config/validators/validate.js.map +1 -1
  11. package/dist/lib/authentication/AuthenticationPlugin.d.ts +16 -0
  12. package/dist/lib/authentication/AuthenticationPlugin.js +31 -0
  13. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -0
  14. package/dist/lib/authentication/authentication.d.ts +3 -4
  15. package/dist/lib/authentication/components/Login.d.ts +1 -0
  16. package/dist/lib/authentication/components/Login.js +10 -0
  17. package/dist/lib/authentication/components/Login.js.map +1 -0
  18. package/dist/lib/authentication/components/Logout.d.ts +1 -0
  19. package/dist/lib/authentication/components/Logout.js +10 -0
  20. package/dist/lib/authentication/components/Logout.js.map +1 -0
  21. package/dist/lib/authentication/providers/clerk.js +43 -27
  22. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  23. package/dist/lib/authentication/providers/openid.d.ts +11 -3
  24. package/dist/lib/authentication/providers/openid.js +22 -11
  25. package/dist/lib/authentication/providers/openid.js.map +1 -1
  26. package/dist/lib/authentication/routes.d.ts +5 -0
  27. package/dist/lib/authentication/routes.js +12 -0
  28. package/dist/lib/authentication/routes.js.map +1 -0
  29. package/dist/lib/components/Bootstrap.d.ts +2 -1
  30. package/dist/lib/components/Bootstrap.js +4 -1
  31. package/dist/lib/components/Bootstrap.js.map +1 -1
  32. package/dist/lib/components/DevPortal.js +14 -2
  33. package/dist/lib/components/DevPortal.js.map +1 -1
  34. package/dist/lib/components/Header.js +16 -2
  35. package/dist/lib/components/Header.js.map +1 -1
  36. package/dist/lib/components/InlineCode.js +1 -1
  37. package/dist/lib/components/InlineCode.js.map +1 -1
  38. package/dist/lib/components/TopNavigation.js +1 -1
  39. package/dist/lib/components/TopNavigation.js.map +1 -1
  40. package/dist/lib/components/context/DevPortalProvider.js +18 -1
  41. package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
  42. package/dist/lib/components/index.d.ts +5 -1
  43. package/dist/lib/components/index.js +4 -0
  44. package/dist/lib/components/index.js.map +1 -1
  45. package/dist/lib/components/navigation/SideNavigationItem.js +1 -1
  46. package/dist/lib/components/navigation/SideNavigationItem.js.map +1 -1
  47. package/dist/lib/core/DevPortalContext.d.ts +1 -1
  48. package/dist/lib/core/DevPortalContext.js.map +1 -1
  49. package/dist/lib/core/plugins.d.ts +10 -1
  50. package/dist/lib/core/plugins.js +1 -0
  51. package/dist/lib/core/plugins.js.map +1 -1
  52. package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
  53. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  54. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +2 -2
  55. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  56. package/dist/lib/plugins/api-keys/index.d.ts +2 -2
  57. package/dist/lib/plugins/api-keys/index.js +6 -0
  58. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  59. package/dist/lib/plugins/custom-page/index.d.ts +8 -0
  60. package/dist/lib/plugins/custom-page/index.js +12 -0
  61. package/dist/lib/plugins/custom-page/index.js.map +1 -0
  62. package/dist/lib/plugins/markdown/MdxPage.js +1 -1
  63. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  64. package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
  65. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  66. package/dist/lib/plugins/openapi/ParameterList.js +1 -1
  67. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  68. package/dist/lib/plugins/openapi/SchemaListViewItem.js +3 -3
  69. package/dist/lib/plugins/openapi/SchemaListViewItem.js.map +1 -1
  70. package/dist/lib/plugins/openapi/SidecarBox.js +1 -1
  71. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  72. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +3 -0
  73. package/dist/lib/plugins/openapi/StaggeredRender.js +10 -5
  74. package/dist/lib/plugins/openapi/StaggeredRender.js.map +1 -1
  75. package/dist/lib/plugins/openapi/playground/Playground.js +2 -2
  76. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  77. package/dist/lib/ui/Card.js +1 -1
  78. package/dist/lib/ui/Card.js.map +1 -1
  79. package/dist/lib/ui/DropdownMenu.d.ts +27 -0
  80. package/dist/lib/ui/DropdownMenu.js +36 -0
  81. package/dist/lib/ui/DropdownMenu.js.map +1 -0
  82. package/dist/lib/ui/button-variants.d.ts +2 -2
  83. package/dist/lib/ui/button-variants.js +1 -0
  84. package/dist/lib/ui/button-variants.js.map +1 -1
  85. package/dist/lib/util/MdxComponents.js +1 -1
  86. package/dist/lib/util/MdxComponents.js.map +1 -1
  87. package/dist/lib/util/joinPath.js +2 -1
  88. package/dist/lib/util/joinPath.js.map +1 -1
  89. package/dist/vite/build.js +5 -2
  90. package/dist/vite/build.js.map +1 -1
  91. package/dist/vite/config.d.ts +8 -1
  92. package/dist/vite/config.js +13 -6
  93. package/dist/vite/config.js.map +1 -1
  94. package/dist/vite/plugin-component.js +1 -0
  95. package/dist/vite/plugin-component.js.map +1 -1
  96. package/dist/vite/prerender.d.ts +1 -1
  97. package/dist/vite/prerender.js +23 -3
  98. package/dist/vite/prerender.js.map +1 -1
  99. package/lib/{AnchorLink-GNsUeGSX.js → AnchorLink-Bj1hwDuD.js} +3 -3
  100. package/lib/{AnchorLink-GNsUeGSX.js.map → AnchorLink-Bj1hwDuD.js.map} +1 -1
  101. package/lib/AuthenticationPlugin-CG6Bw32B.js +46 -0
  102. package/lib/AuthenticationPlugin-CG6Bw32B.js.map +1 -0
  103. package/lib/CategoryHeading-DMkTmmBh.js +10 -0
  104. package/lib/CategoryHeading-DMkTmmBh.js.map +1 -0
  105. package/lib/Combination-lAFQBd6U.js +2774 -0
  106. package/lib/Combination-lAFQBd6U.js.map +1 -0
  107. package/lib/DevPortalProvider-BBhQ8kgI.js +1125 -0
  108. package/lib/DevPortalProvider-BBhQ8kgI.js.map +1 -0
  109. package/lib/{Markdown-DtLFdxD1.js → Markdown-BjRJKl_E.js} +1376 -1379
  110. package/lib/Markdown-BjRJKl_E.js.map +1 -0
  111. package/lib/{MdxPage-CbwYRKf5.js → MdxPage-DJTFOCbZ.js} +17 -17
  112. package/lib/{MdxPage-CbwYRKf5.js.map → MdxPage-DJTFOCbZ.js.map} +1 -1
  113. package/lib/OperationList-DDTtK3I7.js +5403 -0
  114. package/lib/OperationList-DDTtK3I7.js.map +1 -0
  115. package/lib/{Route-C1LyvITr.js → Route-Bsrd0acQ.js} +2 -2
  116. package/lib/{Route-C1LyvITr.js.map → Route-Bsrd0acQ.js.map} +1 -1
  117. package/lib/Select-CEnkyfyn.js +2223 -0
  118. package/lib/Select-CEnkyfyn.js.map +1 -0
  119. package/lib/Spinner-Ciq_pWU7.js +359 -0
  120. package/lib/Spinner-Ciq_pWU7.js.map +1 -0
  121. package/lib/{hook-Biq3zYel.js → hook-Q_gAL2NZ.js} +20 -19
  122. package/lib/{hook-Biq3zYel.js.map → hook-Q_gAL2NZ.js.map} +1 -1
  123. package/lib/{index-Bg82-bqR.js → index-BE2a6gGC.js} +24 -23
  124. package/lib/{index-Bg82-bqR.js.map → index-BE2a6gGC.js.map} +1 -1
  125. package/lib/{jsx-runtime-CJZJivg2.js → jsx-runtime-BIr0WBt_.js} +119 -119
  126. package/lib/jsx-runtime-BIr0WBt_.js.map +1 -0
  127. package/lib/{router-CBw2vqJE.js → router-BiRCp01d.js} +671 -673
  128. package/lib/router-BiRCp01d.js.map +1 -0
  129. package/lib/zudoku.auth-clerk.js +47 -32
  130. package/lib/zudoku.auth-clerk.js.map +1 -1
  131. package/lib/zudoku.auth-openid.js +170 -159
  132. package/lib/zudoku.auth-openid.js.map +1 -1
  133. package/lib/zudoku.components.js +1514 -598
  134. package/lib/zudoku.components.js.map +1 -1
  135. package/lib/zudoku.plugin-api-keys.js +30 -24
  136. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  137. package/lib/zudoku.plugin-custom-page.js +13 -0
  138. package/lib/zudoku.plugin-custom-page.js.map +1 -0
  139. package/lib/zudoku.plugin-markdown.js +19 -20
  140. package/lib/zudoku.plugin-markdown.js.map +1 -1
  141. package/lib/zudoku.plugin-openapi.js +4 -4
  142. package/lib/zudoku.plugin-redirect.js +3 -3
  143. package/package.json +29 -14
  144. package/src/app/entry.client.tsx +1 -1
  145. package/src/app/entry.server.tsx +2 -0
  146. package/src/app/main.css +6 -0
  147. package/src/app/main.tsx +8 -2
  148. package/src/lib/authentication/AuthenticationPlugin.tsx +36 -0
  149. package/src/lib/authentication/authentication.ts +3 -4
  150. package/src/lib/authentication/components/Login.tsx +11 -0
  151. package/src/lib/authentication/components/Logout.tsx +11 -0
  152. package/src/lib/authentication/providers/clerk.tsx +43 -27
  153. package/src/lib/authentication/providers/openid.tsx +25 -13
  154. package/src/lib/authentication/routes.tsx +10 -0
  155. package/src/lib/components/Bootstrap.tsx +14 -7
  156. package/src/lib/components/DevPortal.tsx +29 -9
  157. package/src/lib/components/Header.tsx +80 -30
  158. package/src/lib/components/InlineCode.tsx +1 -1
  159. package/src/lib/components/TopNavigation.tsx +1 -1
  160. package/src/lib/components/context/DevPortalProvider.ts +22 -2
  161. package/src/lib/components/index.ts +4 -0
  162. package/src/lib/components/navigation/SideNavigationItem.tsx +1 -1
  163. package/src/lib/core/DevPortalContext.ts +1 -1
  164. package/src/lib/core/plugins.ts +16 -0
  165. package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
  166. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +4 -4
  167. package/src/lib/plugins/api-keys/index.tsx +8 -1
  168. package/src/lib/plugins/custom-page/index.tsx +22 -0
  169. package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
  170. package/src/lib/plugins/openapi/OperationListItem.tsx +1 -4
  171. package/src/lib/plugins/openapi/ParameterList.tsx +1 -1
  172. package/src/lib/plugins/openapi/SchemaListViewItem.tsx +3 -3
  173. package/src/lib/plugins/openapi/SidecarBox.tsx +1 -1
  174. package/src/lib/plugins/openapi/StaggeredRender.tsx +19 -5
  175. package/src/lib/plugins/openapi/playground/Playground.tsx +2 -2
  176. package/src/lib/ui/Card.tsx +1 -1
  177. package/src/lib/ui/DropdownMenu.tsx +199 -0
  178. package/src/lib/ui/button-variants.ts +1 -0
  179. package/src/lib/util/MdxComponents.tsx +1 -1
  180. package/src/lib/util/joinPath.tsx +2 -1
  181. package/dist/app/zudoku-manifest.d.ts +0 -1
  182. package/dist/app/zudoku-manifest.js +0 -20
  183. package/dist/app/zudoku-manifest.js.map +0 -1
  184. package/lib/Button-DpHMZvVs.js +0 -4571
  185. package/lib/Button-DpHMZvVs.js.map +0 -1
  186. package/lib/DevPortalProvider-Do9oJqme.js +0 -1081
  187. package/lib/DevPortalProvider-Do9oJqme.js.map +0 -1
  188. package/lib/Markdown-DtLFdxD1.js.map +0 -1
  189. package/lib/OperationList-DypxLtSC.js +0 -5578
  190. package/lib/OperationList-DypxLtSC.js.map +0 -1
  191. package/lib/Spinner-Bhbs5aPI.js +0 -182
  192. package/lib/Spinner-Bhbs5aPI.js.map +0 -1
  193. package/lib/index-gsAuUwQh.js +0 -418
  194. package/lib/index-gsAuUwQh.js.map +0 -1
  195. package/lib/jsx-runtime-CJZJivg2.js.map +0 -1
  196. package/lib/router-CBw2vqJE.js.map +0 -1
  197. package/lib/util-_jwUlTBU.js +0 -41
  198. package/lib/util-_jwUlTBU.js.map +0 -1
  199. package/src/app/zudoku-manifest.ts +0 -22
@@ -1,8 +1,8 @@
1
1
  import * as a from "react";
2
2
  import it from "react";
3
- import { a as R, j as le, g as Oe, w as V, b as Ne, c as st, A as xe, p as Pe, s as _e, i as ut, m as lt, d as or, I as ir, e as ct, f as ft, h as sr, k as ur, l as lr, n as cr, o as fr, q as dr, t as pr, u as vr } from "./router-CBw2vqJE.js";
3
+ import { b as R, j as le, g as Oe, w as V, c as Ne, d as st, A as xe, p as Pe, s as _e, i as ut, m as lt, e as or, f as ir, I as sr, h as ct, k as ft, l as ur, n as lr, o as cr, q as fr, t as dr, a as pr, u as vr, v as hr } from "./router-BiRCp01d.js";
4
4
  /**
5
- * React Router v6.24.1
5
+ * React Router v6.25.1
6
6
  *
7
7
  * Copyright (c) Remix Software Inc.
8
8
  *
@@ -39,7 +39,7 @@ const U = /* @__PURE__ */ a.createContext({
39
39
  process.env.NODE_ENV !== "production" && (U.displayName = "Route");
40
40
  const De = /* @__PURE__ */ a.createContext(null);
41
41
  process.env.NODE_ENV !== "production" && (De.displayName = "RouteError");
42
- function hr(t, r) {
42
+ function mr(t, r) {
43
43
  let {
44
44
  relative: n
45
45
  } = r === void 0 ? {} : r;
@@ -76,10 +76,10 @@ function G() {
76
76
  "useLocation() may be used only in the context of a <Router> component."
77
77
  ) : R(!1)), a.useContext(z).location;
78
78
  }
79
- function mr() {
79
+ function Er() {
80
80
  return a.useContext(z).navigationType;
81
81
  }
82
- function Er(t) {
82
+ function yr(t) {
83
83
  Y() || (process.env.NODE_ENV !== "production" ? R(
84
84
  !1,
85
85
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -89,7 +89,7 @@ function Er(t) {
89
89
  let {
90
90
  pathname: r
91
91
  } = G();
92
- return a.useMemo(() => lt(t, r), [r, t]);
92
+ return a.useMemo(() => lt(t, or(r)), [r, t]);
93
93
  }
94
94
  const dt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
95
95
  function pt(t) {
@@ -99,9 +99,9 @@ function vt() {
99
99
  let {
100
100
  isDataRoute: t
101
101
  } = a.useContext(U);
102
- return t ? Ur() : yr();
102
+ return t ? Vr() : gr();
103
103
  }
104
- function yr() {
104
+ function gr() {
105
105
  Y() || (process.env.NODE_ENV !== "production" ? R(
106
106
  !1,
107
107
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -130,7 +130,7 @@ function yr() {
130
130
  }, [r, i, l, f, t]);
131
131
  }
132
132
  const ht = /* @__PURE__ */ a.createContext(null);
133
- function gr() {
133
+ function br() {
134
134
  return a.useContext(ht);
135
135
  }
136
136
  function mt(t) {
@@ -139,7 +139,7 @@ function mt(t) {
139
139
  value: t
140
140
  }, r);
141
141
  }
142
- function br() {
142
+ function Rr() {
143
143
  let {
144
144
  matches: t
145
145
  } = a.useContext(U), r = t[t.length - 1];
@@ -220,7 +220,7 @@ function Se(t, r, n, i) {
220
220
  }
221
221
  }, k) : k;
222
222
  }
223
- function Rr() {
223
+ function _r() {
224
224
  let t = bt(), r = ut(t) ? t.status + " " + t.statusText : t instanceof Error ? t.message : JSON.stringify(t), n = t instanceof Error ? t.stack : null, i = "rgba(200,200,200, 0.5)", u = {
225
225
  padding: "0.5rem",
226
226
  backgroundColor: i
@@ -240,8 +240,8 @@ function Rr() {
240
240
  style: u
241
241
  }, n) : null, l);
242
242
  }
243
- const _r = /* @__PURE__ */ a.createElement(Rr, null);
244
- class Cr extends a.Component {
243
+ const Cr = /* @__PURE__ */ a.createElement(_r, null);
244
+ class Or extends a.Component {
245
245
  constructor(r) {
246
246
  super(r), this.state = {
247
247
  location: r.location,
@@ -277,7 +277,7 @@ class Cr extends a.Component {
277
277
  })) : this.props.children;
278
278
  }
279
279
  }
280
- function Or(t) {
280
+ function Nr(t) {
281
281
  let {
282
282
  routeContext: r,
283
283
  match: n,
@@ -318,10 +318,10 @@ function gt(t, r, n, i) {
318
318
  }
319
319
  return l.reduceRight((d, c, y) => {
320
320
  let O, S = !1, j = null, P = null;
321
- n && (O = h && c.route.id ? h[c.route.id] : void 0, j = c.route.errorElement || _r, v && (m < 0 && y === 0 ? (_t("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), S = !0, P = null) : m === y && (S = !0, P = c.route.hydrateFallbackElement || null)));
321
+ n && (O = h && c.route.id ? h[c.route.id] : void 0, j = c.route.errorElement || Cr, v && (m < 0 && y === 0 ? (_t("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), S = !0, P = null) : m === y && (S = !0, P = c.route.hydrateFallbackElement || null)));
322
322
  let k = r.concat(l.slice(0, y + 1)), E = () => {
323
323
  let L;
324
- return O ? L = j : S ? L = P : c.route.Component ? L = /* @__PURE__ */ a.createElement(c.route.Component, null) : c.route.element ? L = c.route.element : L = d, /* @__PURE__ */ a.createElement(Or, {
324
+ return O ? L = j : S ? L = P : c.route.Component ? L = /* @__PURE__ */ a.createElement(c.route.Component, null) : c.route.element ? L = c.route.element : L = d, /* @__PURE__ */ a.createElement(Nr, {
325
325
  match: c,
326
326
  routeContext: {
327
327
  outlet: d,
@@ -331,7 +331,7 @@ function gt(t, r, n, i) {
331
331
  children: L
332
332
  });
333
333
  };
334
- return n && (c.route.ErrorBoundary || c.route.errorElement || y === 0) ? /* @__PURE__ */ a.createElement(Cr, {
334
+ return n && (c.route.ErrorBoundary || c.route.errorElement || y === 0) ? /* @__PURE__ */ a.createElement(Or, {
335
335
  location: n.location,
336
336
  revalidation: n.revalidation,
337
337
  component: j,
@@ -361,35 +361,35 @@ function W(t) {
361
361
  let r = a.useContext(fe);
362
362
  return r || (process.env.NODE_ENV !== "production" ? R(!1, Te(t)) : R(!1)), r;
363
363
  }
364
- function Nr(t) {
364
+ function xr(t) {
365
365
  let r = a.useContext(U);
366
366
  return r || (process.env.NODE_ENV !== "production" ? R(!1, Te(t)) : R(!1)), r;
367
367
  }
368
368
  function ae(t) {
369
- let r = Nr(t), n = r.matches[r.matches.length - 1];
369
+ let r = xr(t), n = r.matches[r.matches.length - 1];
370
370
  return n.route.id || (process.env.NODE_ENV !== "production" ? R(!1, t + ' can only be used on routes that contain a unique "id"') : R(!1)), n.route.id;
371
371
  }
372
- function xr() {
372
+ function Pr() {
373
373
  return ae(w.UseRouteId);
374
374
  }
375
- function Pr() {
375
+ function Dr() {
376
376
  return W(w.UseNavigation).navigation;
377
377
  }
378
- function Dr() {
378
+ function Sr() {
379
379
  let t = we(de.UseRevalidator), r = W(w.UseRevalidator);
380
380
  return a.useMemo(() => ({
381
381
  revalidate: t.router.revalidate,
382
382
  state: r.revalidation
383
383
  }), [t.router.revalidate, r.revalidation]);
384
384
  }
385
- function Sr() {
385
+ function Tr() {
386
386
  let {
387
387
  matches: t,
388
388
  loaderData: r
389
389
  } = W(w.UseMatches);
390
- return a.useMemo(() => t.map((n) => or(n, r)), [t, r]);
390
+ return a.useMemo(() => t.map((n) => ir(n, r)), [t, r]);
391
391
  }
392
- function Tr() {
392
+ function wr() {
393
393
  let t = W(w.UseLoaderData), r = ae(w.UseLoaderData);
394
394
  if (t.errors && t.errors[r] != null) {
395
395
  console.error("You cannot `useLoaderData` in an errorElement (routeId: " + r + ")");
@@ -397,10 +397,10 @@ function Tr() {
397
397
  }
398
398
  return t.loaderData[r];
399
399
  }
400
- function wr(t) {
400
+ function kr(t) {
401
401
  return W(w.UseRouteLoaderData).loaderData[t];
402
402
  }
403
- function kr() {
403
+ function jr() {
404
404
  let t = W(w.UseActionData), r = ae(w.UseLoaderData);
405
405
  return t.actionData ? t.actionData[r] : void 0;
406
406
  }
@@ -413,12 +413,12 @@ function Rt() {
413
413
  let t = a.useContext(re);
414
414
  return t == null ? void 0 : t._data;
415
415
  }
416
- function jr() {
416
+ function Fr() {
417
417
  let t = a.useContext(re);
418
418
  return t == null ? void 0 : t._error;
419
419
  }
420
- let Fr = 0;
421
- function Ir(t) {
420
+ let Ir = 0;
421
+ function Ur(t) {
422
422
  let {
423
423
  router: r,
424
424
  basename: n
@@ -443,13 +443,13 @@ function Ir(t) {
443
443
  });
444
444
  }, [n, t]);
445
445
  return a.useEffect(() => {
446
- let h = String(++Fr);
446
+ let h = String(++Ir);
447
447
  return f(h), () => r.deleteBlocker(h);
448
448
  }, [r]), a.useEffect(() => {
449
449
  u !== "" && r.getBlocker(u, l);
450
- }, [r, u, l]), u && i.blockers.has(u) ? i.blockers.get(u) : ir;
450
+ }, [r, u, l]), u && i.blockers.has(u) ? i.blockers.get(u) : sr;
451
451
  }
452
- function Ur() {
452
+ function Vr() {
453
453
  let {
454
454
  router: t
455
455
  } = we(de.UseNavigateStable), r = ae(w.UseNavigateStable), n = a.useRef(!1);
@@ -465,8 +465,8 @@ const nt = {};
465
465
  function _t(t, r, n) {
466
466
  !r && !nt[t] && (nt[t] = !0, process.env.NODE_ENV !== "production" && V(!1, n));
467
467
  }
468
- const Vr = "startTransition", ce = a[Vr];
469
- function Ar(t) {
468
+ const Ar = "startTransition", ce = a[Ar];
469
+ function Lr(t) {
470
470
  let {
471
471
  fallbackElement: r,
472
472
  router: n,
@@ -510,13 +510,13 @@ function Ar(t) {
510
510
  future: {
511
511
  v7_relativeSplatPath: n.future.v7_relativeSplatPath
512
512
  }
513
- }, u.initialized || n.future.v7_partialHydration ? /* @__PURE__ */ a.createElement(Lr, {
513
+ }, u.initialized || n.future.v7_partialHydration ? /* @__PURE__ */ a.createElement(Mr, {
514
514
  routes: n.routes,
515
515
  future: n.future,
516
516
  state: u
517
517
  }) : r))), null);
518
518
  }
519
- function Lr(t) {
519
+ function Mr(t) {
520
520
  let {
521
521
  routes: r,
522
522
  future: n,
@@ -524,7 +524,7 @@ function Lr(t) {
524
524
  } = t;
525
525
  return Se(r, void 0, i, n);
526
526
  }
527
- function Mr(t) {
527
+ function Br(t) {
528
528
  let {
529
529
  basename: r,
530
530
  children: n,
@@ -554,7 +554,7 @@ function Mr(t) {
554
554
  future: f
555
555
  });
556
556
  }
557
- function Br(t) {
557
+ function Yr(t) {
558
558
  let {
559
559
  to: r,
560
560
  replace: n,
@@ -583,7 +583,7 @@ function Br(t) {
583
583
  relative: u
584
584
  }), [m, c, u, n, i]), null;
585
585
  }
586
- function Yr(t) {
586
+ function Wr(t) {
587
587
  return mt(t.context);
588
588
  }
589
589
  function Ct(t) {
@@ -635,30 +635,30 @@ function ke(t) {
635
635
  value: j
636
636
  }));
637
637
  }
638
- function Wr(t) {
638
+ function $r(t) {
639
639
  let {
640
640
  children: r,
641
641
  location: n
642
642
  } = t;
643
643
  return yt(ne(r), n);
644
644
  }
645
- function $r(t) {
645
+ function Jr(t) {
646
646
  let {
647
647
  children: r,
648
648
  errorElement: n,
649
649
  resolve: i
650
650
  } = t;
651
- return /* @__PURE__ */ a.createElement(zr, {
651
+ return /* @__PURE__ */ a.createElement(Hr, {
652
652
  resolve: i,
653
653
  errorElement: n
654
- }, /* @__PURE__ */ a.createElement(Hr, null, r));
654
+ }, /* @__PURE__ */ a.createElement(Kr, null, r));
655
655
  }
656
656
  var I = /* @__PURE__ */ function(t) {
657
657
  return t[t.pending = 0] = "pending", t[t.success = 1] = "success", t[t.error = 2] = "error", t;
658
658
  }(I || {});
659
- const Jr = new Promise(() => {
659
+ const zr = new Promise(() => {
660
660
  });
661
- class zr extends a.Component {
661
+ class Hr extends a.Component {
662
662
  constructor(r) {
663
663
  super(r), this.state = {
664
664
  error: null
@@ -701,7 +701,7 @@ class zr extends a.Component {
701
701
  get: () => l
702
702
  })));
703
703
  if (f === I.error && u._error instanceof ft)
704
- throw Jr;
704
+ throw zr;
705
705
  if (f === I.error && !n)
706
706
  throw u._error;
707
707
  if (f === I.error)
@@ -717,7 +717,7 @@ class zr extends a.Component {
717
717
  throw u;
718
718
  }
719
719
  }
720
- function Hr(t) {
720
+ function Kr(t) {
721
721
  let {
722
722
  children: r
723
723
  } = t, n = Rt(), i = typeof r == "function" ? r(n) : r;
@@ -754,7 +754,7 @@ function ne(t, r) {
754
754
  i.props.children && (l.children = ne(i.props.children, f)), n.push(l);
755
755
  }), n;
756
756
  }
757
- function Kr(t) {
757
+ function qr(t) {
758
758
  return gt(t);
759
759
  }
760
760
  function Ot(t) {
@@ -774,8 +774,8 @@ function Ot(t) {
774
774
  ErrorBoundary: void 0
775
775
  })), r;
776
776
  }
777
- function qr(t, r) {
778
- return sr({
777
+ function Gr(t, r) {
778
+ return ur({
779
779
  basename: r == null ? void 0 : r.basename,
780
780
  future: B({}, r == null ? void 0 : r.future, {
781
781
  v7_prependBasename: !0
@@ -791,63 +791,63 @@ function qr(t, r) {
791
791
  unstable_patchRoutesOnMiss: r == null ? void 0 : r.unstable_patchRoutesOnMiss
792
792
  }).initialize();
793
793
  }
794
- const en = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
794
+ const tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
795
795
  __proto__: null,
796
796
  AbortedDeferredError: ft,
797
- Await: $r,
798
- MemoryRouter: Mr,
799
- Navigate: Br,
797
+ Await: Jr,
798
+ MemoryRouter: Br,
799
+ Navigate: Yr,
800
800
  get NavigationType() {
801
801
  return xe;
802
802
  },
803
- Outlet: Yr,
803
+ Outlet: Wr,
804
804
  Route: Ct,
805
805
  Router: ke,
806
- RouterProvider: Ar,
807
- Routes: Wr,
806
+ RouterProvider: Lr,
807
+ Routes: $r,
808
808
  UNSAFE_DataRouterContext: q,
809
809
  UNSAFE_DataRouterStateContext: fe,
810
810
  UNSAFE_LocationContext: z,
811
811
  UNSAFE_NavigationContext: M,
812
812
  UNSAFE_RouteContext: U,
813
813
  UNSAFE_mapRouteProperties: Ot,
814
- UNSAFE_useRouteId: xr,
814
+ UNSAFE_useRouteId: Pr,
815
815
  UNSAFE_useRoutesImpl: Se,
816
- createMemoryRouter: qr,
817
- createPath: ur,
816
+ createMemoryRouter: Gr,
817
+ createPath: lr,
818
818
  createRoutesFromChildren: ne,
819
819
  createRoutesFromElements: ne,
820
- defer: lr,
821
- generatePath: cr,
820
+ defer: cr,
821
+ generatePath: fr,
822
822
  isRouteErrorResponse: ut,
823
- json: fr,
823
+ json: dr,
824
824
  matchPath: lt,
825
825
  matchRoutes: st,
826
826
  parsePath: Pe,
827
- redirect: dr,
828
- redirectDocument: pr,
829
- renderMatches: Kr,
830
- resolvePath: vr,
831
- useActionData: kr,
832
- useAsyncError: jr,
827
+ redirect: pr,
828
+ redirectDocument: vr,
829
+ renderMatches: qr,
830
+ resolvePath: hr,
831
+ useActionData: jr,
832
+ useAsyncError: Fr,
833
833
  useAsyncValue: Rt,
834
- useBlocker: Ir,
835
- useHref: hr,
834
+ useBlocker: Ur,
835
+ useHref: mr,
836
836
  useInRouterContext: Y,
837
- useLoaderData: Tr,
837
+ useLoaderData: wr,
838
838
  useLocation: G,
839
- useMatch: Er,
840
- useMatches: Sr,
839
+ useMatch: yr,
840
+ useMatches: Tr,
841
841
  useNavigate: vt,
842
- useNavigation: Pr,
843
- useNavigationType: mr,
842
+ useNavigation: Dr,
843
+ useNavigationType: Er,
844
844
  useOutlet: mt,
845
- useOutletContext: gr,
846
- useParams: br,
845
+ useOutletContext: br,
846
+ useParams: Rr,
847
847
  useResolvedPath: Et,
848
- useRevalidator: Dr,
848
+ useRevalidator: Sr,
849
849
  useRouteError: bt,
850
- useRouteLoaderData: wr,
850
+ useRouteLoaderData: kr,
851
851
  useRoutes: yt
852
852
  }, Symbol.toStringTag, { value: "Module" }));
853
853
  var Ce = { exports: {} }, ee = {};
@@ -861,7 +861,7 @@ var Ce = { exports: {} }, ee = {};
861
861
  * LICENSE file in the root directory of this source tree.
862
862
  */
863
863
  var at;
864
- function Gr() {
864
+ function Xr() {
865
865
  if (at) return ee;
866
866
  at = 1;
867
867
  var t = it, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, u = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -885,7 +885,7 @@ var te = {};
885
885
  * LICENSE file in the root directory of this source tree.
886
886
  */
887
887
  var ot;
888
- function Xr() {
888
+ function Zr() {
889
889
  return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
890
890
  var t = it, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), h = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), S = Symbol.iterator, j = "@@iterator";
891
891
  function P(e) {
@@ -1478,49 +1478,49 @@ React keys must be passed directly to JSX without using spread:
1478
1478
  te.Fragment = i, te.jsx = tr, te.jsxs = rr;
1479
1479
  }()), te;
1480
1480
  }
1481
- process.env.NODE_ENV === "production" ? Ce.exports = Gr() : Ce.exports = Xr();
1482
- var tn = Ce.exports;
1481
+ process.env.NODE_ENV === "production" ? Ce.exports = Xr() : Ce.exports = Zr();
1482
+ var rn = Ce.exports;
1483
1483
  export {
1484
- $r as A,
1485
- Tr as B,
1486
- Er as C,
1484
+ Jr as A,
1485
+ wr as B,
1486
+ yr as C,
1487
1487
  fe as D,
1488
- mr as E,
1488
+ Er as E,
1489
1489
  mt as F,
1490
- gr as G,
1491
- Dr as H,
1492
- wr as I,
1490
+ br as G,
1491
+ Sr as H,
1492
+ kr as I,
1493
1493
  yt as J,
1494
1494
  z as L,
1495
- Mr as M,
1496
- Br as N,
1497
- Yr as O,
1498
- ke as R,
1499
- vt as a,
1500
- br as b,
1501
- bt as c,
1502
- en as d,
1503
- M as e,
1504
- hr as f,
1505
- Et as g,
1506
- q as h,
1507
- Se as i,
1508
- tn as j,
1509
- xr as k,
1510
- U as l,
1511
- Ot as m,
1512
- Sr as n,
1513
- Pr as o,
1514
- Ir as p,
1495
+ Br as M,
1496
+ Yr as N,
1497
+ Wr as O,
1498
+ U as R,
1499
+ G as a,
1500
+ vt as b,
1501
+ Rr as c,
1502
+ tn as d,
1503
+ bt as e,
1504
+ M as f,
1505
+ mr as g,
1506
+ Et as h,
1507
+ Pr as i,
1508
+ rn as j,
1509
+ q as k,
1510
+ ke as l,
1511
+ Se as m,
1512
+ Ot as n,
1513
+ Tr as o,
1514
+ Ur as p,
1515
1515
  Ct as q,
1516
- Wr as r,
1517
- qr as s,
1516
+ $r as r,
1517
+ Gr as s,
1518
1518
  ne as t,
1519
- G as u,
1520
- Kr as v,
1521
- kr as w,
1522
- jr as x,
1519
+ Dr as u,
1520
+ qr as v,
1521
+ jr as w,
1522
+ Fr as x,
1523
1523
  Rt as y,
1524
1524
  Y as z
1525
1525
  };
1526
- //# sourceMappingURL=jsx-runtime-CJZJivg2.js.map
1526
+ //# sourceMappingURL=jsx-runtime-BIr0WBt_.js.map