zudoku 0.43.0 → 0.43.1

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 (180) hide show
  1. package/dist/config/validators/common.d.ts +193 -0
  2. package/dist/config/validators/common.js +2 -0
  3. package/dist/config/validators/common.js.map +1 -1
  4. package/dist/config/validators/validate.d.ts +70 -0
  5. package/dist/lib/components/Banner.js +1 -1
  6. package/dist/lib/components/Banner.js.map +1 -1
  7. package/dist/lib/components/Heading.d.ts +2 -2
  8. package/dist/lib/components/Heading.js +1 -1
  9. package/dist/lib/components/Heading.js.map +1 -1
  10. package/dist/lib/components/Layout.js +1 -1
  11. package/dist/lib/components/Layout.js.map +1 -1
  12. package/dist/lib/components/Main.js +3 -2
  13. package/dist/lib/components/Main.js.map +1 -1
  14. package/dist/lib/components/MobileTopNavigation.js +1 -1
  15. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  16. package/dist/lib/components/Pagination.js +2 -2
  17. package/dist/lib/components/Pagination.js.map +1 -1
  18. package/dist/lib/components/Search.js +1 -1
  19. package/dist/lib/components/Search.js.map +1 -1
  20. package/dist/lib/components/TopNavigation.js +1 -1
  21. package/dist/lib/components/TopNavigation.js.map +1 -1
  22. package/dist/lib/components/navigation/PoweredByZudoku.js +1 -1
  23. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -1
  24. package/dist/lib/components/navigation/Sidebar.js +1 -1
  25. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  26. package/dist/lib/components/navigation/SidebarCategory.js +9 -5
  27. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  28. package/dist/lib/components/navigation/SidebarItem.js +2 -3
  29. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  30. package/dist/lib/components/navigation/Toc.js +2 -2
  31. package/dist/lib/components/navigation/Toc.js.map +1 -1
  32. package/dist/lib/core/ZudokuContext.d.ts +2 -1
  33. package/dist/lib/core/ZudokuContext.js.map +1 -1
  34. package/dist/lib/oas/parser/upgrade/index.d.ts +1 -0
  35. package/dist/lib/oas/parser/upgrade/index.js +76 -24
  36. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  37. package/dist/lib/plugins/openapi/CollapsibleCode.js +1 -1
  38. package/dist/lib/plugins/openapi/OperationList.js +1 -1
  39. package/dist/lib/plugins/openapi/OperationListItem.js +4 -2
  40. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  41. package/dist/lib/plugins/openapi/SchemaList.js +1 -1
  42. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +5 -0
  43. package/dist/lib/plugins/openapi/client/useCreateQuery.js +10 -4
  44. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  45. package/dist/lib/plugins/openapi/index.d.ts +3 -4
  46. package/dist/lib/plugins/openapi/index.js +6 -4
  47. package/dist/lib/plugins/openapi/index.js.map +1 -1
  48. package/dist/lib/plugins/openapi/interfaces.d.ts +4 -3
  49. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +1 -1
  50. package/dist/lib/plugins/openapi/playground/Playground.js +2 -2
  51. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  52. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
  53. package/dist/lib/plugins/openapi/playground/QueryParams.js +1 -1
  54. package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +1 -1
  55. package/dist/lib/plugins/openapi/playground/SubmitButton.js +1 -1
  56. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +1 -1
  57. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +1 -1
  58. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +1 -1
  59. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +2 -2
  60. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  61. package/dist/lib/plugins/openapi/util/getRoutes.js +33 -3
  62. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  63. package/dist/lib/ui/SyntaxHighlight.js +1 -1
  64. package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
  65. package/dist/lib/util/traverse.d.ts +1 -1
  66. package/dist/lib/util/traverse.js +6 -5
  67. package/dist/lib/util/traverse.js.map +1 -1
  68. package/dist/vite/build.js +1 -0
  69. package/dist/vite/build.js.map +1 -1
  70. package/dist/vite/dev-server.js +5 -2
  71. package/dist/vite/dev-server.js.map +1 -1
  72. package/dist/vite/html.d.ts +6 -2
  73. package/dist/vite/html.js +11 -8
  74. package/dist/vite/html.js.map +1 -1
  75. package/dist/vite/plugin-api.js +2 -2
  76. package/dist/vite/plugin-api.js.map +1 -1
  77. package/lib/{AuthenticationPlugin-ByDF051g.js → AuthenticationPlugin-BxoEZCSJ.js} +4 -4
  78. package/lib/{AuthenticationPlugin-ByDF051g.js.map → AuthenticationPlugin-BxoEZCSJ.js.map} +1 -1
  79. package/lib/{Markdown-mFpg_n9p.js → Markdown-DvdVn1O7.js} +1839 -1836
  80. package/lib/Markdown-DvdVn1O7.js.map +1 -0
  81. package/lib/{MdxPage-Cm7atiW3.js → MdxPage-DUcuusMU.js} +7 -7
  82. package/lib/{MdxPage-Cm7atiW3.js.map → MdxPage-DUcuusMU.js.map} +1 -1
  83. package/lib/{OasProvider-DOs0v9u7.js → OasProvider-CjMm8pB7.js} +8 -9
  84. package/lib/{OasProvider-DOs0v9u7.js.map → OasProvider-CjMm8pB7.js.map} +1 -1
  85. package/lib/{OperationList-CKac6iap.js → OperationList-BhJcPgGi.js} +1269 -1261
  86. package/lib/{OperationList-CKac6iap.js.map → OperationList-BhJcPgGi.js.map} +1 -1
  87. package/lib/Pagination-BgQxwq5j.js +48 -0
  88. package/lib/Pagination-BgQxwq5j.js.map +1 -0
  89. package/lib/{RouteGuard-DRtEu9nh.js → RouteGuard-D2gX29iI.js} +3 -3
  90. package/lib/{RouteGuard-DRtEu9nh.js.map → RouteGuard-D2gX29iI.js.map} +1 -1
  91. package/lib/{SchemaList-BTX2mRMW.js → SchemaList-BexhT_Z0.js} +22 -23
  92. package/lib/{SchemaList-BTX2mRMW.js.map → SchemaList-BexhT_Z0.js.map} +1 -1
  93. package/lib/{SchemaView-BYRn_-2l.js → SchemaView-Dt_-u8rW.js} +123 -146
  94. package/lib/SchemaView-Dt_-u8rW.js.map +1 -0
  95. package/lib/{Select-CT64Ou40.js → Select-CYaEBIYK.js} +3 -3
  96. package/lib/{Select-CT64Ou40.js.map → Select-CYaEBIYK.js.map} +1 -1
  97. package/lib/{SlotletProvider-CS_nO-XT.js → SlotletProvider-wWbHYqWf.js} +7 -7
  98. package/lib/SlotletProvider-wWbHYqWf.js.map +1 -0
  99. package/lib/{SyntaxHighlight-CxhyyMkF.js → SyntaxHighlight-o7q0acut.js} +81 -81
  100. package/lib/{SyntaxHighlight-CxhyyMkF.js.map → SyntaxHighlight-o7q0acut.js.map} +1 -1
  101. package/lib/{Toc-D_tV8_Ri.js → Toc-BnN4zBb3.js} +17 -17
  102. package/lib/Toc-BnN4zBb3.js.map +1 -0
  103. package/lib/{chunk-BAXFHI7N-BVBOl9s0.js → chunk-BAXFHI7N-BLTsN6tl.js} +679 -659
  104. package/lib/{chunk-BAXFHI7N-BVBOl9s0.js.map → chunk-BAXFHI7N-BLTsN6tl.js.map} +1 -1
  105. package/lib/{circular-ByJI6Mci.js → circular-BWEIet3w.js} +4616 -5567
  106. package/lib/circular-BWEIet3w.js.map +1 -0
  107. package/lib/{createServer-IW7v5hWm.js → createServer-BQD3Eeqb.js} +1998 -1970
  108. package/lib/createServer-BQD3Eeqb.js.map +1 -0
  109. package/lib/{hook-CldJlP5c.js → hook-8GM2HXNM.js} +24 -24
  110. package/lib/{hook-CldJlP5c.js.map → hook-8GM2HXNM.js.map} +1 -1
  111. package/lib/index-CFf9AN-y.js +3208 -0
  112. package/lib/index-CFf9AN-y.js.map +1 -0
  113. package/lib/{index-DnQftvP4.js → index-DGNSSXgR.js} +77 -69
  114. package/lib/{index-DnQftvP4.js.map → index-DGNSSXgR.js.map} +1 -1
  115. package/lib/{mutation-DBQh7AOZ.js → mutation-Bq5bn7Hf.js} +2 -2
  116. package/lib/{mutation-DBQh7AOZ.js.map → mutation-Bq5bn7Hf.js.map} +1 -1
  117. package/lib/processors/traverse.js +9 -7
  118. package/lib/processors/traverse.js.map +1 -1
  119. package/lib/ui/SyntaxHighlight.js +1 -1
  120. package/lib/{useExposedProps-DbIZXspi.js → useExposedProps-DmTJxEXG.js} +2 -2
  121. package/lib/{useExposedProps-DbIZXspi.js.map → useExposedProps-DmTJxEXG.js.map} +1 -1
  122. package/lib/zudoku.auth-auth0.js +1 -1
  123. package/lib/zudoku.auth-clerk.js +2 -2
  124. package/lib/zudoku.auth-openid.js +3 -3
  125. package/lib/zudoku.components.js +6 -6
  126. package/lib/zudoku.hooks.js +1 -1
  127. package/lib/zudoku.plugin-api-catalog.js +5 -5
  128. package/lib/zudoku.plugin-api-keys.js +4 -4
  129. package/lib/zudoku.plugin-custom-pages.js +2 -2
  130. package/lib/zudoku.plugin-markdown.js +1 -1
  131. package/lib/zudoku.plugin-openapi.js +6 -5
  132. package/lib/zudoku.plugin-redirect.js +1 -1
  133. package/lib/zudoku.plugin-search-pagefind.js +3 -3
  134. package/package.json +3 -3
  135. package/src/app/main.css +2 -2
  136. package/src/lib/components/Banner.tsx +1 -1
  137. package/src/lib/components/Heading.tsx +3 -3
  138. package/src/lib/components/Layout.tsx +1 -4
  139. package/src/lib/components/Main.tsx +4 -3
  140. package/src/lib/components/MobileTopNavigation.tsx +2 -2
  141. package/src/lib/components/Pagination.tsx +3 -3
  142. package/src/lib/components/Search.tsx +1 -1
  143. package/src/lib/components/TopNavigation.tsx +1 -1
  144. package/src/lib/components/navigation/PoweredByZudoku.tsx +6 -1
  145. package/src/lib/components/navigation/Sidebar.tsx +1 -1
  146. package/src/lib/components/navigation/SidebarCategory.tsx +9 -5
  147. package/src/lib/components/navigation/SidebarItem.tsx +2 -3
  148. package/src/lib/components/navigation/Toc.tsx +4 -4
  149. package/src/lib/core/ZudokuContext.ts +2 -1
  150. package/src/lib/oas/parser/upgrade/index.ts +97 -27
  151. package/src/lib/plugins/openapi/CollapsibleCode.tsx +2 -2
  152. package/src/lib/plugins/openapi/OperationList.tsx +1 -1
  153. package/src/lib/plugins/openapi/OperationListItem.tsx +15 -6
  154. package/src/lib/plugins/openapi/SchemaList.tsx +1 -1
  155. package/src/lib/plugins/openapi/client/useCreateQuery.ts +23 -4
  156. package/src/lib/plugins/openapi/index.tsx +8 -7
  157. package/src/lib/plugins/openapi/interfaces.ts +4 -3
  158. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +2 -2
  159. package/src/lib/plugins/openapi/playground/Playground.tsx +5 -5
  160. package/src/lib/plugins/openapi/playground/QueryParams.tsx +2 -2
  161. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +2 -2
  162. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +2 -2
  163. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +1 -1
  164. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +1 -1
  165. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +2 -2
  166. package/src/lib/plugins/openapi/util/getRoutes.tsx +67 -3
  167. package/src/lib/ui/SyntaxHighlight.tsx +2 -2
  168. package/src/lib/util/traverse.ts +8 -5
  169. package/lib/Markdown-mFpg_n9p.js.map +0 -1
  170. package/lib/Pagination-DLPL5z77.js +0 -48
  171. package/lib/Pagination-DLPL5z77.js.map +0 -1
  172. package/lib/SchemaView-BYRn_-2l.js.map +0 -1
  173. package/lib/SlotletProvider-CS_nO-XT.js.map +0 -1
  174. package/lib/Toc-D_tV8_Ri.js.map +0 -1
  175. package/lib/circular-ByJI6Mci.js.map +0 -1
  176. package/lib/context-Lrf2Y9bR.js +0 -22
  177. package/lib/context-Lrf2Y9bR.js.map +0 -1
  178. package/lib/createServer-IW7v5hWm.js.map +0 -1
  179. package/lib/index-DuB48L78.js +0 -2184
  180. package/lib/index-DuB48L78.js.map +0 -1
@@ -13,22 +13,22 @@ var it = (r, e, t, s) => ({
13
13
  return y(r, e, s);
14
14
  }
15
15
  });
16
- import { B as wr, a as kr, H as zt, R as Ps } from "./RouteGuard-DRtEu9nh.js";
16
+ import { B as wr, a as kr, H as zt, R as Ps } from "./RouteGuard-D2gX29iI.js";
17
17
  import { z as jr, J as Rs } from "./index-DwT-v3zK.js";
18
- import { R as Ms, S as Is, u as bt, f as wt, g as Zs, L as Ft, O as Tr } from "./chunk-BAXFHI7N-BVBOl9s0.js";
19
- import { S as Sr, v as Cr, Q as $s, n as U, w as Yt, x as Kt, y as ce, z as Ds, A as zs, B as Fs, C as qs, D as Gt, E as Jt, F as Ls, h as Xt, G as er, H as Bs, g as Nr, I as Er, m as Vs, e as ne, l as Be, J as Or, K as Us, f as Pe, u as Qs, j as Hs, d as Ws, Z as Ys, L as Ks, M as Gs } from "./hook-CldJlP5c.js";
20
- import { E as Ar, S as Q, a as Js, R as Xs } from "./SlotletProvider-CS_nO-XT.js";
18
+ import { R as Ms, S as Is, u as bt, f as wt, g as Zs, L as Ft, O as Tr } from "./chunk-BAXFHI7N-BLTsN6tl.js";
19
+ import { S as Sr, p as Cr, Q as $s, n as U, q as Yt, r as Kt, t as ce, v as Ds, w as zs, x as Fs, y as qs, z as Gt, A as Jt, B as Ls, h as Xt, C as er, D as Bs, g as Nr, E as Er, m as Vs, e as ee, l as Be, F as Or, G as Us, f as Pe, u as Qs, j as Hs, d as Ws, Z as Ys, H as Ks, I as Gs } from "./hook-8GM2HXNM.js";
20
+ import { E as Ar, S as Q, a as Js, R as Xs } from "./SlotletProvider-wWbHYqWf.js";
21
21
  import { j as o } from "./jsx-runtime-C5mzlN2N.js";
22
22
  import { Button as Pr } from "./ui/Button.js";
23
23
  import { Callout as en } from "./ui/Callout.js";
24
- import { M as tn } from "./mutation-DBQh7AOZ.js";
24
+ import { M as tn } from "./mutation-Bq5bn7Hf.js";
25
25
  import * as fe from "react";
26
26
  import ft, { createContext as qt, StrictMode as Rr, useRef as xe, useEffect as ae, useState as Ee, useCallback as ye, Suspense as Lt, memo as Mr, Component as rn, createElement as tr, useMemo as Ct, useContext as sn } from "react";
27
27
  import * as nn from "react-dom";
28
28
  import { CircleFadingArrowUpIcon as an, LoaderCircleIcon as on, ExternalLink as cn, CircleXIcon as dn, ChevronRightIcon as un, SearchIcon as ln, SunIcon as fn, MoonIcon as hn, MenuIcon as mn, PanelLeftIcon as pn } from "lucide-react";
29
29
  import { C as kt } from "./ClientOnly-E7hGysn1.js";
30
30
  import { c as q } from "./cn-qaFjX9_3.js";
31
- import { A as gn, s as vn, a as rr, b as yn, H as xn, P as _n, c as bn, V as wn, M as kn } from "./Markdown-mFpg_n9p.js";
31
+ import { A as gn, s as vn, a as rr, b as yn, H as xn, P as _n, c as bn, V as wn, M as kn } from "./Markdown-DvdVn1O7.js";
32
32
  import { S as Ir } from "./Spinner-mNLZ6awP.js";
33
33
  import { C as jn } from "./CategoryHeading-D06WK_Wo.js";
34
34
  import { isSearchPlugin as Tn, isProfileMenuPlugin as Sn, isNavigationPlugin as Cn, isEventConsumerPlugin as Nn, needsInitialization as En, isApiIdentityPlugin as On, isMdxProviderPlugin as An, hasHead as Pn } from "./zudoku.plugins.js";
@@ -56,11 +56,11 @@ function Qn(r) {
56
56
  r.children
57
57
  );
58
58
  }
59
- var ee, xr, Hn = (xr = class extends Sr {
59
+ var te, xr, Hn = (xr = class extends Sr {
60
60
  constructor(e = {}) {
61
61
  super();
62
- V(this, ee);
63
- this.config = e, z(this, ee, /* @__PURE__ */ new Map());
62
+ V(this, te);
63
+ this.config = e, z(this, te, /* @__PURE__ */ new Map());
64
64
  }
65
65
  build(e, t, s) {
66
66
  const n = t.queryKey, a = t.queryHash ?? Cr(n, t);
@@ -75,14 +75,14 @@ var ee, xr, Hn = (xr = class extends Sr {
75
75
  }), this.add(i)), i;
76
76
  }
77
77
  add(e) {
78
- y(this, ee).has(e.queryHash) || (y(this, ee).set(e.queryHash, e), this.notify({
78
+ y(this, te).has(e.queryHash) || (y(this, te).set(e.queryHash, e), this.notify({
79
79
  type: "added",
80
80
  query: e
81
81
  }));
82
82
  }
83
83
  remove(e) {
84
- const t = y(this, ee).get(e.queryHash);
85
- t && (e.destroy(), t === e && y(this, ee).delete(e.queryHash), this.notify({ type: "removed", query: e }));
84
+ const t = y(this, te).get(e.queryHash);
85
+ t && (e.destroy(), t === e && y(this, te).delete(e.queryHash), this.notify({ type: "removed", query: e }));
86
86
  }
87
87
  clear() {
88
88
  U.batch(() => {
@@ -92,10 +92,10 @@ var ee, xr, Hn = (xr = class extends Sr {
92
92
  });
93
93
  }
94
94
  get(e) {
95
- return y(this, ee).get(e);
95
+ return y(this, te).get(e);
96
96
  }
97
97
  getAll() {
98
- return [...y(this, ee).values()];
98
+ return [...y(this, te).values()];
99
99
  }
100
100
  find(e) {
101
101
  const t = { exact: !0, ...e };
@@ -128,7 +128,7 @@ var ee, xr, Hn = (xr = class extends Sr {
128
128
  });
129
129
  });
130
130
  }
131
- }, ee = new WeakMap(), xr), le, K, st, _r, Wn = (_r = class extends Sr {
131
+ }, te = new WeakMap(), xr), le, K, st, _r, Wn = (_r = class extends Sr {
132
132
  constructor(e = {}) {
133
133
  super();
134
134
  V(this, le);
@@ -958,7 +958,7 @@ var g;
958
958
  r.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, r.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
959
959
  })(g || (g = {}));
960
960
  var qe, Le;
961
- class re {
961
+ class se {
962
962
  constructor(e, t, s, n) {
963
963
  this._cachedPath = [], this.parent = e, this.data = t, this._path = s, this._key = n;
964
964
  }
@@ -1140,7 +1140,7 @@ class S {
1140
1140
  };
1141
1141
  }
1142
1142
  optional() {
1143
- return te.create(this, this._def);
1143
+ return re.create(this, this._def);
1144
1144
  }
1145
1145
  nullable() {
1146
1146
  return ke.create(this, this._def);
@@ -2181,8 +2181,8 @@ class J extends S {
2181
2181
  exact: !1,
2182
2182
  message: n.maxLength.message
2183
2183
  }), s.dirty()), t.common.async)
2184
- return Promise.all([...t.data].map((i, c) => n.type._parseAsync(new re(t, i, t.path, c)))).then((i) => F.mergeArray(s, i));
2185
- const a = [...t.data].map((i, c) => n.type._parseSync(new re(t, i, t.path, c)));
2184
+ return Promise.all([...t.data].map((i, c) => n.type._parseAsync(new se(t, i, t.path, c)))).then((i) => F.mergeArray(s, i));
2185
+ const a = [...t.data].map((i, c) => n.type._parseSync(new se(t, i, t.path, c)));
2186
2186
  return F.mergeArray(s, a);
2187
2187
  }
2188
2188
  get element() {
@@ -2223,7 +2223,7 @@ function Oe(r) {
2223
2223
  const e = {};
2224
2224
  for (const t in r.shape) {
2225
2225
  const s = r.shape[t];
2226
- e[t] = te.create(Oe(s));
2226
+ e[t] = re.create(Oe(s));
2227
2227
  }
2228
2228
  return new I({
2229
2229
  ...r._def,
@@ -2232,7 +2232,7 @@ function Oe(r) {
2232
2232
  } else return r instanceof J ? new J({
2233
2233
  ...r._def,
2234
2234
  type: Oe(r.element)
2235
- }) : r instanceof te ? te.create(Oe(r.unwrap())) : r instanceof ke ? ke.create(Oe(r.unwrap())) : r instanceof se ? se.create(r.items.map((e) => Oe(e))) : r;
2235
+ }) : r instanceof re ? re.create(Oe(r.unwrap())) : r instanceof ke ? ke.create(Oe(r.unwrap())) : r instanceof ne ? ne.create(r.items.map((e) => Oe(e))) : r;
2236
2236
  }
2237
2237
  class I extends S {
2238
2238
  constructor() {
@@ -2262,7 +2262,7 @@ class I extends S {
2262
2262
  const f = a[d], x = n.data[d];
2263
2263
  u.push({
2264
2264
  key: { status: "valid", value: d },
2265
- value: f._parse(new re(n, x, n.path, d)),
2265
+ value: f._parse(new se(n, x, n.path, d)),
2266
2266
  alwaysSet: d in n.data
2267
2267
  });
2268
2268
  }
@@ -2287,7 +2287,7 @@ class I extends S {
2287
2287
  u.push({
2288
2288
  key: { status: "valid", value: f },
2289
2289
  value: d._parse(
2290
- new re(n, x, n.path, f)
2290
+ new se(n, x, n.path, f)
2291
2291
  //, ctx.child(key), value, getParsedType(value)
2292
2292
  ),
2293
2293
  alwaysSet: f in n.data
@@ -2487,7 +2487,7 @@ class I extends S {
2487
2487
  t[s] = this.shape[s];
2488
2488
  else {
2489
2489
  let a = this.shape[s];
2490
- for (; a instanceof te; )
2490
+ for (; a instanceof re; )
2491
2491
  a = a._def.innerType;
2492
2492
  t[s] = a;
2493
2493
  }
@@ -2594,7 +2594,7 @@ We.create = (r, e) => new We({
2594
2594
  typeName: _.ZodUnion,
2595
2595
  ...T(e)
2596
2596
  });
2597
- const de = (r) => r instanceof Ge ? de(r.schema) : r instanceof X ? de(r.innerType()) : r instanceof Je ? [r.value] : r instanceof we ? r.options : r instanceof Xe ? E.objectValues(r.enum) : r instanceof et ? de(r._def.innerType) : r instanceof Qe ? [void 0] : r instanceof He ? [null] : r instanceof te ? [void 0, ...de(r.unwrap())] : r instanceof ke ? [null, ...de(r.unwrap())] : r instanceof Bt || r instanceof rt ? de(r.unwrap()) : r instanceof tt ? de(r._def.innerType) : [];
2597
+ const de = (r) => r instanceof Ge ? de(r.schema) : r instanceof X ? de(r.innerType()) : r instanceof Je ? [r.value] : r instanceof we ? r.options : r instanceof Xe ? E.objectValues(r.enum) : r instanceof et ? de(r._def.innerType) : r instanceof Qe ? [void 0] : r instanceof He ? [null] : r instanceof re ? [void 0, ...de(r.unwrap())] : r instanceof ke ? [null, ...de(r.unwrap())] : r instanceof Bt || r instanceof rt ? de(r.unwrap()) : r instanceof tt ? de(r._def.innerType) : [];
2598
2598
  class jt extends S {
2599
2599
  _parse(e) {
2600
2600
  const { ctx: t } = this._processInputParams(e);
@@ -2721,7 +2721,7 @@ Ye.create = (r, e, t) => new Ye({
2721
2721
  typeName: _.ZodIntersection,
2722
2722
  ...T(t)
2723
2723
  });
2724
- class se extends S {
2724
+ class ne extends S {
2725
2725
  _parse(e) {
2726
2726
  const { status: t, ctx: s } = this._processInputParams(e);
2727
2727
  if (s.parsedType !== p.array)
@@ -2747,7 +2747,7 @@ class se extends S {
2747
2747
  }), t.dirty());
2748
2748
  const a = [...s.data].map((i, c) => {
2749
2749
  const u = this._def.items[c] || this._def.rest;
2750
- return u ? u._parse(new re(s, i, s.path, c)) : null;
2750
+ return u ? u._parse(new se(s, i, s.path, c)) : null;
2751
2751
  }).filter((i) => !!i);
2752
2752
  return s.common.async ? Promise.all(a).then((i) => F.mergeArray(t, i)) : F.mergeArray(t, a);
2753
2753
  }
@@ -2755,16 +2755,16 @@ class se extends S {
2755
2755
  return this._def.items;
2756
2756
  }
2757
2757
  rest(e) {
2758
- return new se({
2758
+ return new ne({
2759
2759
  ...this._def,
2760
2760
  rest: e
2761
2761
  });
2762
2762
  }
2763
2763
  }
2764
- se.create = (r, e) => {
2764
+ ne.create = (r, e) => {
2765
2765
  if (!Array.isArray(r))
2766
2766
  throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
2767
- return new se({
2767
+ return new ne({
2768
2768
  items: r,
2769
2769
  typeName: _.ZodTuple,
2770
2770
  rest: null,
@@ -2789,8 +2789,8 @@ class Ke extends S {
2789
2789
  const n = [], a = this._def.keyType, i = this._def.valueType;
2790
2790
  for (const c in s.data)
2791
2791
  n.push({
2792
- key: a._parse(new re(s, c, s.path, c)),
2793
- value: i._parse(new re(s, s.data[c], s.path, c)),
2792
+ key: a._parse(new se(s, c, s.path, c)),
2793
+ value: i._parse(new se(s, s.data[c], s.path, c)),
2794
2794
  alwaysSet: c in s.data
2795
2795
  });
2796
2796
  return s.common.async ? F.mergeObjectAsync(t, n) : F.mergeObjectSync(t, n);
@@ -2828,8 +2828,8 @@ class yt extends S {
2828
2828
  received: s.parsedType
2829
2829
  }), b;
2830
2830
  const n = this._def.keyType, a = this._def.valueType, i = [...s.data.entries()].map(([c, u], d) => ({
2831
- key: n._parse(new re(s, c, s.path, [d, "key"])),
2832
- value: a._parse(new re(s, u, s.path, [d, "value"]))
2831
+ key: n._parse(new se(s, c, s.path, [d, "key"])),
2832
+ value: a._parse(new se(s, u, s.path, [d, "value"]))
2833
2833
  }));
2834
2834
  if (s.common.async) {
2835
2835
  const c = /* @__PURE__ */ new Map();
@@ -2895,7 +2895,7 @@ class Ne extends S {
2895
2895
  }
2896
2896
  return { status: t.value, value: d };
2897
2897
  }
2898
- const c = [...s.data.values()].map((u, d) => a._parse(new re(s, u, s.path, d)));
2898
+ const c = [...s.data.values()].map((u, d) => a._parse(new se(s, u, s.path, d)));
2899
2899
  return s.common.async ? Promise.all(c).then((u) => i(u)) : i(c);
2900
2900
  }
2901
2901
  min(e, t) {
@@ -3001,7 +3001,7 @@ class Re extends S {
3001
3001
  args(...e) {
3002
3002
  return new Re({
3003
3003
  ...this._def,
3004
- args: se.create(e).rest(Te.create())
3004
+ args: ne.create(e).rest(Te.create())
3005
3005
  });
3006
3006
  }
3007
3007
  returns(e) {
@@ -3018,7 +3018,7 @@ class Re extends S {
3018
3018
  }
3019
3019
  static create(e, t, s) {
3020
3020
  return new Re({
3021
- args: e || se.create([]).rest(Te.create()),
3021
+ args: e || ne.create([]).rest(Te.create()),
3022
3022
  returns: t || Te.create(),
3023
3023
  typeName: _.ZodFunction,
3024
3024
  ...T(s)
@@ -3273,7 +3273,7 @@ X.createWithPreprocess = (r, e, t) => new X({
3273
3273
  typeName: _.ZodEffects,
3274
3274
  ...T(t)
3275
3275
  });
3276
- class te extends S {
3276
+ class re extends S {
3277
3277
  _parse(e) {
3278
3278
  return this._getType(e) === p.undefined ? L(void 0) : this._def.innerType._parse(e);
3279
3279
  }
@@ -3281,7 +3281,7 @@ class te extends S {
3281
3281
  return this._def.innerType;
3282
3282
  }
3283
3283
  }
3284
- te.create = (r, e) => new te({
3284
+ re.create = (r, e) => new re({
3285
3285
  innerType: r,
3286
3286
  typeName: _.ZodOptional,
3287
3287
  ...T(e)
@@ -3478,7 +3478,7 @@ var _;
3478
3478
  })(_ || (_ = {}));
3479
3479
  const Oa = (r, e = {
3480
3480
  message: `Input not instance of ${r.name}`
3481
- }) => Hr((t) => t instanceof r, e), Wr = G.create, Yr = _e.create, Aa = xt.create, Pa = be.create, Kr = Ue.create, Ra = Ce.create, Ma = gt.create, Ia = Qe.create, Za = He.create, $a = ze.create, Da = Te.create, za = he.create, Fa = vt.create, qa = J.create, La = I.create, Ba = I.strictCreate, Va = We.create, Ua = jt.create, Qa = Ye.create, Ha = se.create, Wa = Ke.create, Ya = yt.create, Ka = Ne.create, Ga = Re.create, Ja = Ge.create, Xa = Je.create, ei = we.create, ti = Xe.create, ri = Fe.create, dr = X.create, si = te.create, ni = ke.create, ai = X.createWithPreprocess, ii = nt.create, oi = () => Wr().optional(), ci = () => Yr().optional(), di = () => Kr().optional(), ui = {
3481
+ }) => Hr((t) => t instanceof r, e), Wr = G.create, Yr = _e.create, Aa = xt.create, Pa = be.create, Kr = Ue.create, Ra = Ce.create, Ma = gt.create, Ia = Qe.create, Za = He.create, $a = ze.create, Da = Te.create, za = he.create, Fa = vt.create, qa = J.create, La = I.create, Ba = I.strictCreate, Va = We.create, Ua = jt.create, Qa = Ye.create, Ha = ne.create, Wa = Ke.create, Ya = yt.create, Ka = Ne.create, Ga = Re.create, Ja = Ge.create, Xa = Je.create, ei = we.create, ti = Xe.create, ri = Fe.create, dr = X.create, si = re.create, ni = ke.create, ai = X.createWithPreprocess, ii = nt.create, oi = () => Wr().optional(), ci = () => Yr().optional(), di = () => Kr().optional(), ui = {
3482
3482
  string: (r) => G.create({ ...r, coerce: !0 }),
3483
3483
  number: (r) => _e.create({ ...r, coerce: !0 }),
3484
3484
  boolean: (r) => Ue.create({
@@ -3531,7 +3531,7 @@ var ct = /* @__PURE__ */ Object.freeze({
3531
3531
  ZodUnion: We,
3532
3532
  ZodDiscriminatedUnion: jt,
3533
3533
  ZodIntersection: Ye,
3534
- ZodTuple: se,
3534
+ ZodTuple: ne,
3535
3535
  ZodRecord: Ke,
3536
3536
  ZodMap: yt,
3537
3537
  ZodSet: Ne,
@@ -3543,7 +3543,7 @@ var ct = /* @__PURE__ */ Object.freeze({
3543
3543
  ZodPromise: Fe,
3544
3544
  ZodEffects: X,
3545
3545
  ZodTransformer: X,
3546
- ZodOptional: te,
3546
+ ZodOptional: re,
3547
3547
  ZodNullable: ke,
3548
3548
  ZodDefault: et,
3549
3549
  ZodCatch: tt,
@@ -3791,7 +3791,7 @@ const ur = {
3791
3791
  caution: "bg-orange-500",
3792
3792
  danger: "bg-rose-500"
3793
3793
  }, xi = () => {
3794
- const { page: r } = ne(), [e, t] = Ee(!0);
3794
+ const { page: r } = ee(), [e, t] = Ee(!0);
3795
3795
  if (!(r != null && r.banner) || !e)
3796
3796
  return /* @__PURE__ */ o.jsx("style", { children: ":root { --banner-height: 0px; }" });
3797
3797
  const s = r.banner.color && r.banner.color in ur ? ur[r.banner.color] : r.banner.color ? void 0 : "bg-primary", n = s ? {} : { backgroundColor: r.banner.color };
@@ -3810,7 +3810,7 @@ const ur = {
3810
3810
  "button",
3811
3811
  {
3812
3812
  type: "button",
3813
- className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
3813
+ className: "md:absolute md:end-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
3814
3814
  onClick: () => t(!1),
3815
3815
  children: /* @__PURE__ */ o.jsx(dn, { size: 16 })
3816
3816
  }
@@ -3862,7 +3862,15 @@ const Jr = ({ className: r }) => /* @__PURE__ */ o.jsxs(
3862
3862
  "powered by ",
3863
3863
  "Zudoku"
3864
3864
  ] }),
3865
- /* @__PURE__ */ o.jsx("div", { className: "text-xs font-medium opacity-70 hover:text-foreground transition-colors cursor-pointer", children: /* @__PURE__ */ o.jsx(un, { size: 12, absoluteStrokeWidth: !0, strokeWidth: 1.5 }) })
3865
+ /* @__PURE__ */ o.jsx("div", { className: "text-xs font-medium opacity-70 hover:text-foreground transition-colors cursor-pointer", children: /* @__PURE__ */ o.jsx(
3866
+ un,
3867
+ {
3868
+ size: 12,
3869
+ absoluteStrokeWidth: !0,
3870
+ strokeWidth: 1.5,
3871
+ className: "rtl:rotate-180"
3872
+ }
3873
+ ) })
3866
3874
  ]
3867
3875
  }
3868
3876
  );
@@ -3873,7 +3881,7 @@ function _i() {
3873
3881
  if (r.includes("linux")) return "Linux";
3874
3882
  }
3875
3883
  const Xr = ({ className: r }) => {
3876
- const e = ne(), [t, s] = Ee(!1), n = ye(() => s(!1), []);
3884
+ const e = ee(), [t, s] = Ee(!1), n = ye(() => s(!1), []);
3877
3885
  ae(() => {
3878
3886
  if (t)
3879
3887
  return;
@@ -3908,7 +3916,7 @@ const Xr = ({ className: r }) => {
3908
3916
  ] }) : null;
3909
3917
  }, bi = () => {
3910
3918
  const r = _i();
3911
- return /* @__PURE__ */ o.jsxs("kbd", { className: "absolute right-1.5 hidden h-5 select-none items-center gap-1 rounded-sm border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: [
3919
+ return /* @__PURE__ */ o.jsxs("kbd", { className: "absolute end-1.5 hidden h-5 select-none items-center gap-1 rounded-sm border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: [
3912
3920
  r === "macOS" ? "⌘" : "Ctrl",
3913
3921
  "+K"
3914
3922
  ] });
@@ -4350,7 +4358,7 @@ const ss = (r) => (e) => e.display === "hide" ? !1 : e.display === "auth" && r |
4350
4358
  }
4351
4359
  );
4352
4360
  }, Mi = () => {
4353
- const { topNavigation: r } = ne(), { isAuthenticated: e } = Be(), t = r.filter(ss(e));
4361
+ const { topNavigation: r } = ee(), { isAuthenticated: e } = Be(), t = r.filter(ss(e));
4354
4362
  return t.length === 0 ? /* @__PURE__ */ o.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ o.jsxs(Lt, { children: [
4355
4363
  /* @__PURE__ */ o.jsxs("div", { className: "items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm relative", children: [
4356
4364
  /* @__PURE__ */ o.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ o.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((s) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(as, { ...s }) }, s.id)) }) }),
@@ -4364,7 +4372,7 @@ const ss = (r) => (e) => e.display === "hide" ? !1 : e.display === "auth" && r |
4364
4372
  default: t
4365
4373
  }) => {
4366
4374
  var d;
4367
- const { sidebars: s } = ne(), n = s[r], a = Or(), i = !!wt().location, c = ((d = a.topNavItem) == null ? void 0 : d.id) === r && !i, u = t ?? (n ? Us(n, (f) => {
4375
+ const { sidebars: s } = ee(), n = s[r], a = Or(), i = !!wt().location, c = ((d = a.topNavItem) == null ? void 0 : d.id) === r && !i, u = t ?? (n ? Us(n, (f) => {
4368
4376
  if (f.type === "doc") return Pe(f.id);
4369
4377
  }) : Pe(r)) ?? Pe(r);
4370
4378
  return (
@@ -4383,14 +4391,14 @@ const ss = (r) => (e) => e.display === "hide" ? !1 : e.display === "auth" && r |
4383
4391
  )
4384
4392
  );
4385
4393
  }, Ii = () => {
4386
- var a;
4387
- const { topNavigation: r, options: e } = ne(), { isAuthenticated: t } = Be(), [s, n] = Ee(!1);
4394
+ var a, i;
4395
+ const { topNavigation: r, options: e } = ee(), { isAuthenticated: t } = Be(), [s, n] = Ee(!1);
4388
4396
  return /* @__PURE__ */ o.jsxs(
4389
4397
  Bn,
4390
4398
  {
4391
- direction: "right",
4399
+ direction: ((a = e.page) == null ? void 0 : a.dir) === "rtl" ? "left" : "right",
4392
4400
  open: s,
4393
- onOpenChange: (i) => n(i),
4401
+ onOpenChange: (c) => n(c),
4394
4402
  children: [
4395
4403
  /* @__PURE__ */ o.jsxs("div", { className: "flex lg:hidden justify-self-end", children: [
4396
4404
  /* @__PURE__ */ o.jsx(Vn, { className: "lg:hidden", children: /* @__PURE__ */ o.jsx(mn, { size: 22 }) }),
@@ -4399,7 +4407,7 @@ const ss = (r) => (e) => e.display === "hide" ? !1 : e.display === "auth" && r |
4399
4407
  /* @__PURE__ */ o.jsx(
4400
4408
  $r,
4401
4409
  {
4402
- className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
4410
+ className: "lg:hidden h-[100dvh] end-0 start-auto w-[320px] rounded-none",
4403
4411
  "aria-describedby": void 0,
4404
4412
  children: /* @__PURE__ */ o.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none h-full flex flex-col justify-between", children: [
4405
4413
  /* @__PURE__ */ o.jsxs("div", { children: [
@@ -4407,10 +4415,10 @@ const ss = (r) => (e) => e.display === "hide" ? !1 : e.display === "auth" && r |
4407
4415
  /* @__PURE__ */ o.jsx(Xr, { className: "flex p-4" }),
4408
4416
  /* @__PURE__ */ o.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
4409
4417
  /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(es, {}) }),
4410
- r.filter(ss(t)).map((i) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx("button", { type: "button", onClick: () => n(!1), children: /* @__PURE__ */ o.jsx(as, { ...i }) }) }, i.label))
4418
+ r.filter(ss(t)).map((c) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx("button", { type: "button", onClick: () => n(!1), children: /* @__PURE__ */ o.jsx(as, { ...c }) }) }, c.label))
4411
4419
  ] })
4412
4420
  ] }),
4413
- ((a = e.page) == null ? void 0 : a.showPoweredBy) !== !1 && /* @__PURE__ */ o.jsx(Jr, { className: "flex-grow-0 justify-center gap-1" })
4421
+ ((i = e.page) == null ? void 0 : i.showPoweredBy) !== !1 && /* @__PURE__ */ o.jsx(Jr, { className: "flex-grow-0 justify-center gap-1" })
4414
4422
  ] })
4415
4423
  }
4416
4424
  )
@@ -4427,7 +4435,7 @@ const ss = (r) => (e) => e.display === "hide" ? !1 : e.display === "auth" && r |
4427
4435
  r.icon && /* @__PURE__ */ o.jsx(r.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
4428
4436
  r.label
4429
4437
  ] }, r.label) }), is = Mr(function() {
4430
- const e = Be(), { isAuthenticated: t, profile: s, isAuthEnabled: n } = Be(), a = ne(), { page: i, plugins: c } = a, u = c.filter((d) => Sn(d)).flatMap((d) => d.getProfileMenuItems(a)).sort((d) => d.weight ?? 0);
4438
+ const e = Be(), { isAuthenticated: t, profile: s, isAuthEnabled: n } = Be(), a = ee(), { page: i, plugins: c } = a, u = c.filter((d) => Sn(d)).flatMap((d) => d.getProfileMenuItems(a)).sort((d) => d.weight ?? 0);
4431
4439
  return /* @__PURE__ */ o.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
4432
4440
  /* @__PURE__ */ o.jsx(xi, {}),
4433
4441
  /* @__PURE__ */ o.jsx("div", { className: "border-b", children: /* @__PURE__ */ o.jsxs("div", { className: "max-w-screen-2xl mx-auto flex relative items-center justify-between px-4 lg:px-8 h-[--top-header-height] border-transparent", children: [
@@ -4570,7 +4578,7 @@ const ds = ({
4570
4578
  className: e
4571
4579
  }) => {
4572
4580
  var n;
4573
- const { options: t } = ne(), s = xe(null);
4581
+ const { options: t } = ee(), s = xe(null);
4574
4582
  return ae(() => {
4575
4583
  var i;
4576
4584
  const a = (i = s.current) == null ? void 0 : i.querySelector('[aria-current="page"]');
@@ -4615,7 +4623,7 @@ const qi = ({
4615
4623
  /* @__PURE__ */ o.jsx(
4616
4624
  $r,
4617
4625
  {
4618
- className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
4626
+ className: "lg:hidden h-[100dvh] start-0 w-[320px] rounded-none",
4619
4627
  "aria-describedby": void 0,
4620
4628
  children: /* @__PURE__ */ o.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
4621
4629
  /* @__PURE__ */ o.jsx(Zr, { children: /* @__PURE__ */ o.jsx(Dr, { children: "Sidebar" }) }),
@@ -4631,13 +4639,14 @@ const qi = ({
4631
4639
  }
4632
4640
  )
4633
4641
  ] }), Li = ({ children: r }) => {
4634
- const [e, t] = Ee(!1), { sidebar: s } = Or(), n = s.length > 0, a = wt().state === "loading";
4642
+ var c;
4643
+ const [e, t] = Ee(!1), { sidebar: s } = Or(), n = s.length > 0, a = wt().state === "loading", { options: i } = ee();
4635
4644
  return /* @__PURE__ */ o.jsxs(
4636
4645
  os,
4637
4646
  {
4638
- direction: "left",
4647
+ direction: ((c = i.page) == null ? void 0 : c.dir) === "rtl" ? "right" : "left",
4639
4648
  open: e,
4640
- onOpenChange: (i) => t(i),
4649
+ onOpenChange: (u) => t(u),
4641
4650
  children: [
4642
4651
  n && /* @__PURE__ */ o.jsx(
4643
4652
  qi,
@@ -4646,7 +4655,7 @@ const qi = ({
4646
4655
  sidebar: s
4647
4656
  }
4648
4657
  ),
4649
- n && /* @__PURE__ */ o.jsx("div", { className: "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b", children: /* @__PURE__ */ o.jsxs(Zi, { className: "flex items-center gap-2 px-4", children: [
4658
+ n && /* @__PURE__ */ o.jsx("div", { className: "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 start-0 end-0 border-b", children: /* @__PURE__ */ o.jsxs(Zi, { className: "flex items-center gap-2 px-4", children: [
4650
4659
  /* @__PURE__ */ o.jsx(pn, { size: 16, strokeWidth: 1.5 }),
4651
4660
  /* @__PURE__ */ o.jsx("span", { className: "text-sm", children: "Menu" })
4652
4661
  ] }) }),
@@ -4670,12 +4679,11 @@ const qi = ({
4670
4679
  }
4671
4680
  );
4672
4681
  }, Bi = () => /* @__PURE__ */ o.jsx("main", { className: "col-span-full row-span-full grid place-items-center", children: /* @__PURE__ */ o.jsx(Ir, {}) }), Vi = ({ children: r }) => {
4673
- const { meta: e, authentication: t, options: s } = ne(), n = bt();
4682
+ const { meta: e, authentication: t, options: s } = ee(), n = bt();
4674
4683
  return yn(), mi(), ae(() => {
4675
4684
  var a;
4676
4685
  (a = t == null ? void 0 : t.onPageLoad) == null || a.call(t);
4677
4686
  }, [t]), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
4678
- !1,
4679
4687
  /* @__PURE__ */ o.jsxs(zt, { titleTemplate: e == null ? void 0 : e.title, children: [
4680
4688
  s.canonicalUrlOrigin && /* @__PURE__ */ o.jsx(
4681
4689
  "link",
@@ -4699,7 +4707,7 @@ const qi = ({
4699
4707
  {
4700
4708
  className: q(
4701
4709
  "grid max-w-screen-2xl w-full lg:mx-auto",
4702
- "has-[:only-child]:grid-rows-1 grid-rows-[0_min-content_1fr] lg:grid-rows-[min-content_1fr]",
4710
+ "[&:has(>:only-child)]:grid-rows-1 grid-rows-[0_min-content_1fr] lg:grid-rows-[min-content_1fr]",
4703
4711
  "grid-cols-1 lg:grid-cols-[var(--side-nav-width)_1fr]"
4704
4712
  ),
4705
4713
  children: /* @__PURE__ */ o.jsx(Lt, { fallback: /* @__PURE__ */ o.jsx(Bi, {}), children: /* @__PURE__ */ o.jsx(Li, { children: r ?? /* @__PURE__ */ o.jsx(Tr, {}) }) })
@@ -4944,7 +4952,7 @@ const ut = globalThis;
4944
4952
  const us = {
4945
4953
  Header: is
4946
4954
  }, eo = qt(us), to = eo.Provider, ro = () => {
4947
- const r = bt(), e = ne(), t = xe(void 0);
4955
+ const r = bt(), e = ee(), t = xe(void 0);
4948
4956
  return ae(() => {
4949
4957
  e.emitEvent("location", {
4950
4958
  from: t.current,
@@ -5002,7 +5010,7 @@ const ls = Mr(
5002
5010
  ls.displayName = "ZudokoInner";
5003
5011
  const fs = (r) => /* @__PURE__ */ o.jsx(Yi, { FallbackComponent: Xi, children: /* @__PURE__ */ o.jsx(ls, { ...r }) });
5004
5012
  fs.displayName = "Zudoku";
5005
- const Oo = Fr, Ao = Vi, Po = Xs, Ro = Xn, Mo = ra, Io = sa, Zo = Ps, $o = zt, no = ne, Do = Be, zo = Ks, Fo = Gs, qo = fs, Lo = Hi, Bo = en, Vo = kn, Uo = Ir, Qo = kt, Ho = Pr, Wo = Ft, Yo = jr, Ko = hi;
5013
+ const Oo = Fr, Ao = Vi, Po = Xs, Ro = Xn, Mo = ra, Io = sa, Zo = Ps, $o = zt, no = ee, Do = Be, zo = Ks, Fo = Gs, qo = fs, Lo = Hi, Bo = en, Vo = kn, Uo = Ir, Qo = kt, Ho = Pr, Wo = Ft, Yo = jr, Ko = hi;
5006
5014
  export {
5007
5015
  Ho as B,
5008
5016
  Fo as C,
@@ -5028,4 +5036,4 @@ export {
5028
5036
  Ko as n,
5029
5037
  Fr as u
5030
5038
  };
5031
- //# sourceMappingURL=index-DnQftvP4.js.map
5039
+ //# sourceMappingURL=index-DGNSSXgR.js.map