zudoku 0.21.15 → 0.23.0

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 (357) hide show
  1. package/dist/app/demo.js +1 -1
  2. package/dist/app/demo.js.map +1 -1
  3. package/dist/app/entry.client.js +1 -15
  4. package/dist/app/entry.client.js.map +1 -1
  5. package/dist/app/entry.server.js +1 -2
  6. package/dist/app/entry.server.js.map +1 -1
  7. package/dist/app/main.d.ts +1 -1
  8. package/dist/app/sentry.js +1 -1
  9. package/dist/app/sentry.js.map +1 -1
  10. package/dist/app/standalone.js +1 -1
  11. package/dist/app/standalone.js.map +1 -1
  12. package/dist/cli/cmds/build.js +1 -0
  13. package/dist/cli/cmds/build.js.map +1 -1
  14. package/dist/config/validators/common.d.ts +104 -104
  15. package/dist/config/validators/icon-types.d.ts +1 -1
  16. package/dist/config/validators/validate.d.ts +90 -90
  17. package/dist/lib/authentication/components/CallbackHandler.js +1 -1
  18. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  19. package/dist/lib/authentication/components/SignIn.js +1 -1
  20. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  21. package/dist/lib/authentication/components/SignOut.js +1 -1
  22. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  23. package/dist/lib/components/AnchorLink.d.ts +1 -1
  24. package/dist/lib/components/AnchorLink.js +1 -1
  25. package/dist/lib/components/AnchorLink.js.map +1 -1
  26. package/dist/lib/components/Bootstrap.d.ts +1 -2
  27. package/dist/lib/components/Bootstrap.js +3 -3
  28. package/dist/lib/components/Bootstrap.js.map +1 -1
  29. package/dist/lib/components/Header.js +1 -1
  30. package/dist/lib/components/Header.js.map +1 -1
  31. package/dist/lib/components/Layout.js +1 -1
  32. package/dist/lib/components/Layout.js.map +1 -1
  33. package/dist/lib/components/Markdown.js +1 -1
  34. package/dist/lib/components/Markdown.js.map +1 -1
  35. package/dist/lib/components/NotFoundPage.js +1 -1
  36. package/dist/lib/components/NotFoundPage.js.map +1 -1
  37. package/dist/lib/components/ReactMarkdown.d.ts +29 -0
  38. package/dist/lib/components/ReactMarkdown.js +182 -0
  39. package/dist/lib/components/ReactMarkdown.js.map +1 -0
  40. package/dist/lib/components/SlotletProvider.d.ts +2 -2
  41. package/dist/lib/components/TopNavigation.js +1 -1
  42. package/dist/lib/components/TopNavigation.js.map +1 -1
  43. package/dist/lib/components/Zudoku.js +1 -1
  44. package/dist/lib/components/Zudoku.js.map +1 -1
  45. package/dist/lib/components/context/ZudokuContext.js +1 -1
  46. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  47. package/dist/lib/components/index.d.ts +4 -4
  48. package/dist/lib/components/index.js +1 -1
  49. package/dist/lib/components/index.js.map +1 -1
  50. package/dist/lib/components/navigation/SidebarCategory.js +1 -1
  51. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  52. package/dist/lib/components/navigation/SidebarItem.js +1 -1
  53. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  54. package/dist/lib/components/navigation/utils.js +1 -1
  55. package/dist/lib/components/navigation/utils.js.map +1 -1
  56. package/dist/lib/core/plugins.d.ts +3 -5
  57. package/dist/lib/core/plugins.js.map +1 -1
  58. package/dist/lib/errors/RouterError.js +1 -1
  59. package/dist/lib/errors/RouterError.js.map +1 -1
  60. package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
  61. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  62. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  63. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  64. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
  65. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  66. package/dist/lib/plugins/markdown/MdxPage.js +1 -1
  67. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  68. package/dist/lib/plugins/markdown/index.d.ts +1 -0
  69. package/dist/lib/plugins/markdown/index.js.map +1 -1
  70. package/dist/lib/plugins/openapi/Route.js +1 -1
  71. package/dist/lib/plugins/openapi/Route.js.map +1 -1
  72. package/dist/lib/plugins/openapi/Sidecar.js +1 -1
  73. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  74. package/dist/lib/plugins/openapi/index.js +1 -1
  75. package/dist/lib/plugins/openapi/index.js.map +1 -1
  76. package/dist/lib/plugins/redirect/index.js +1 -1
  77. package/dist/lib/plugins/redirect/index.js.map +1 -1
  78. package/dist/lib/plugins/search-inkeep/index.d.ts +22 -3
  79. package/dist/lib/plugins/search-inkeep/index.js +27 -5
  80. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  81. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
  82. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  83. package/dist/lib/util/MdxComponents.d.ts +16 -16
  84. package/dist/lib/util/MdxComponents.js +1 -3
  85. package/dist/lib/util/MdxComponents.js.map +1 -1
  86. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  87. package/dist/lib/util/useExposedProps.js +1 -1
  88. package/dist/lib/util/useExposedProps.js.map +1 -1
  89. package/dist/lib/util/useOnScreen.d.ts +1 -1
  90. package/dist/lib/util/useScrollToAnchor.js +1 -1
  91. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  92. package/dist/lib/util/useScrollToTop.js +1 -1
  93. package/dist/lib/util/useScrollToTop.js.map +1 -1
  94. package/dist/vite/config.js +15 -8
  95. package/dist/vite/config.js.map +1 -1
  96. package/dist/vite/css/collect.d.ts +2 -0
  97. package/dist/vite/css/collect.js +27 -0
  98. package/dist/vite/css/collect.js.map +1 -0
  99. package/dist/vite/css/plugin.d.ts +5 -0
  100. package/dist/vite/css/plugin.js +79 -0
  101. package/dist/vite/css/plugin.js.map +1 -0
  102. package/dist/vite/dev-server.js +7 -3
  103. package/dist/vite/dev-server.js.map +1 -1
  104. package/dist/vite/plugin-mdx.js +2 -0
  105. package/dist/vite/plugin-mdx.js.map +1 -1
  106. package/dist/vite/plugin.js +4 -0
  107. package/dist/vite/plugin.js.map +1 -1
  108. package/lib/{AnchorLink-BR0MvI7n.js → AnchorLink-DFZZbmvr.js} +13 -14
  109. package/lib/AnchorLink-DFZZbmvr.js.map +1 -0
  110. package/lib/{AuthenticationPlugin-D0Em0SwR.js → AuthenticationPlugin-DQy635W9.js} +15 -16
  111. package/lib/AuthenticationPlugin-DQy635W9.js.map +1 -0
  112. package/lib/{Button-jK0EsymC.js → Button-DeAoTouo.js} +4 -4
  113. package/lib/{Button-jK0EsymC.js.map → Button-DeAoTouo.js.map} +1 -1
  114. package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-CBconmtI.js} +3 -3
  115. package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-CBconmtI.js.map} +1 -1
  116. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  117. package/lib/{Dialog-k70Qfukb.js → Dialog-Bxv1yEIg.js} +3 -3
  118. package/lib/{Dialog-k70Qfukb.js.map → Dialog-Bxv1yEIg.js.map} +1 -1
  119. package/lib/{Markdown-CdkU5HcM.js → Markdown-CZDLNOFc.js} +13235 -13225
  120. package/lib/Markdown-CZDLNOFc.js.map +1 -0
  121. package/lib/{MdxPage-ChziqNPp.js → MdxPage-CBa4X6L5.js} +9 -9
  122. package/lib/MdxPage-CBa4X6L5.js.map +1 -0
  123. package/lib/OperationList-Bj-6EKhp.js +4889 -0
  124. package/lib/{OperationList-CQKkyrZH.js.map → OperationList-Bj-6EKhp.js.map} +1 -1
  125. package/lib/Route-C9cYcP-j.js +11 -0
  126. package/lib/Route-C9cYcP-j.js.map +1 -0
  127. package/lib/{Select-O9ZM3ZgX.js → Select-Bb_Hqc70.js} +5 -5
  128. package/lib/{Select-O9ZM3ZgX.js.map → Select-Bb_Hqc70.js.map} +1 -1
  129. package/lib/{SidebarBadge-DxFJcJ6V.js → SidebarBadge-Bm793GDY.js} +3 -3
  130. package/lib/{SidebarBadge-DxFJcJ6V.js.map → SidebarBadge-Bm793GDY.js.map} +1 -1
  131. package/lib/SlotletProvider-pfc9oejW.js +221 -0
  132. package/lib/SlotletProvider-pfc9oejW.js.map +1 -0
  133. package/lib/{Spinner-3cQDBVGr.js → Spinner-DuxJLLNE.js} +2 -2
  134. package/lib/{Spinner-3cQDBVGr.js.map → Spinner-DuxJLLNE.js.map} +1 -1
  135. package/lib/{SyntaxHighlight-C31iouiO.js → SyntaxHighlight-Bz-lOJtH.js} +8 -10
  136. package/lib/{SyntaxHighlight-C31iouiO.js.map → SyntaxHighlight-Bz-lOJtH.js.map} +1 -1
  137. package/lib/assets/{index-B_Jk_Yzp.js → index-C7jnHK4b.js} +218 -197
  138. package/lib/assets/index-C7jnHK4b.js.map +1 -0
  139. package/lib/assets/{worker-C_2va8B8.js → worker-BmEAZjUP.js} +5249 -4922
  140. package/lib/assets/worker-BmEAZjUP.js.map +1 -0
  141. package/lib/chunk-D52XG6IA-Dl7HLe6j.js +1823 -0
  142. package/lib/chunk-D52XG6IA-Dl7HLe6j.js.map +1 -0
  143. package/lib/{cn-BmFQLtkS.js → cn-qaFjX9_3.js} +2 -2
  144. package/lib/cn-qaFjX9_3.js.map +1 -0
  145. package/lib/{context-D1nXWxm7.js → context-h_UkBLvr.js} +2 -2
  146. package/lib/{context-D1nXWxm7.js.map → context-h_UkBLvr.js.map} +1 -1
  147. package/lib/{createServer-BCAHdrpE.js → createServer-BVFp6Bl3.js} +4521 -4195
  148. package/lib/createServer-BVFp6Bl3.js.map +1 -0
  149. package/lib/{hook-hEqe7fPB.js → hook-DMHiUaIV.js} +3 -3
  150. package/lib/{hook-hEqe7fPB.js.map → hook-DMHiUaIV.js.map} +1 -1
  151. package/lib/{index-DjB6H4GT.js → index-B6rTMjdI.js} +47 -47
  152. package/lib/{index-DjB6H4GT.js.map → index-B6rTMjdI.js.map} +1 -1
  153. package/lib/{index-CkwDvuPt.js → index-CBXSgjaE.js} +259 -238
  154. package/lib/index-CBXSgjaE.js.map +1 -0
  155. package/lib/index-CPNSgwSb.js +36 -0
  156. package/lib/index-CPNSgwSb.js.map +1 -0
  157. package/lib/index-LNp6rxyU.js.map +1 -1
  158. package/lib/index.esm-BSV1C092.js +692 -0
  159. package/lib/{index.esm-Bm8pj-bc.js.map → index.esm-BSV1C092.js.map} +1 -1
  160. package/lib/index.esm-BnnBRKJX.js +1214 -0
  161. package/lib/index.esm-BnnBRKJX.js.map +1 -0
  162. package/lib/invariant-Caa8-XvF.js.map +1 -1
  163. package/lib/jsx-runtime-Dx-03ztt.js +446 -0
  164. package/lib/jsx-runtime-Dx-03ztt.js.map +1 -0
  165. package/lib/object_hash-BNWPnMN9.js +787 -0
  166. package/lib/object_hash-BNWPnMN9.js.map +1 -0
  167. package/lib/post-processors/removeExtensions.js.map +1 -1
  168. package/lib/post-processors/removePaths.js.map +1 -1
  169. package/lib/post-processors/traverse.js.map +1 -1
  170. package/lib/prism-csharp.min-DUwvItt4.js +63 -0
  171. package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-DUwvItt4.js.map} +1 -1
  172. package/lib/prism-java.min-BtgBR4yd.js +35 -0
  173. package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BtgBR4yd.js.map} +1 -1
  174. package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
  175. package/lib/prism-ruby.min-DeDXCp1r.js +38 -0
  176. package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-DeDXCp1r.js.map} +1 -1
  177. package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
  178. package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
  179. package/lib/state-CFQsUZUP.js +202 -0
  180. package/lib/state-CFQsUZUP.js.map +1 -0
  181. package/lib/ui/Accordion.js +2 -2
  182. package/lib/ui/Accordion.js.map +1 -1
  183. package/lib/ui/ActionButton.js +4 -4
  184. package/lib/ui/ActionButton.js.map +1 -1
  185. package/lib/ui/Alert.js +3 -3
  186. package/lib/ui/Alert.js.map +1 -1
  187. package/lib/ui/AlertDialog.js +2 -2
  188. package/lib/ui/AlertDialog.js.map +1 -1
  189. package/lib/ui/Badge.js +3 -3
  190. package/lib/ui/Badge.js.map +1 -1
  191. package/lib/ui/Breadcrumb.js +2 -2
  192. package/lib/ui/Breadcrumb.js.map +1 -1
  193. package/lib/ui/Button.js +3 -3
  194. package/lib/ui/Button.js.map +1 -1
  195. package/lib/ui/Callout.js +2 -2
  196. package/lib/ui/Callout.js.map +1 -1
  197. package/lib/ui/Card.js +2 -2
  198. package/lib/ui/Card.js.map +1 -1
  199. package/lib/ui/Carousel.js +407 -401
  200. package/lib/ui/Carousel.js.map +1 -1
  201. package/lib/ui/Checkbox.js +2 -2
  202. package/lib/ui/Checkbox.js.map +1 -1
  203. package/lib/ui/Command.js +111 -108
  204. package/lib/ui/Command.js.map +1 -1
  205. package/lib/ui/Dialog.js +2 -2
  206. package/lib/ui/Dialog.js.map +1 -1
  207. package/lib/ui/Drawer.js +2 -2
  208. package/lib/ui/Drawer.js.map +1 -1
  209. package/lib/ui/DropdownMenu.js +2 -2
  210. package/lib/ui/DropdownMenu.js.map +1 -1
  211. package/lib/ui/Form.js +3 -3
  212. package/lib/ui/Form.js.map +1 -1
  213. package/lib/ui/HoverCard.js +2 -2
  214. package/lib/ui/Input.js +2 -2
  215. package/lib/ui/Input.js.map +1 -1
  216. package/lib/ui/Label.js +3 -3
  217. package/lib/ui/Pagination.js +2 -2
  218. package/lib/ui/Pagination.js.map +1 -1
  219. package/lib/ui/Popover.js +2 -2
  220. package/lib/ui/Popover.js.map +1 -1
  221. package/lib/ui/Progress.js +2 -2
  222. package/lib/ui/Progress.js.map +1 -1
  223. package/lib/ui/RadioGroup.js +2 -2
  224. package/lib/ui/RadioGroup.js.map +1 -1
  225. package/lib/ui/ScrollArea.js +2 -2
  226. package/lib/ui/ScrollArea.js.map +1 -1
  227. package/lib/ui/Select.js +2 -2
  228. package/lib/ui/Select.js.map +1 -1
  229. package/lib/ui/Skeleton.js +2 -2
  230. package/lib/ui/Skeleton.js.map +1 -1
  231. package/lib/ui/Slider.js +2 -2
  232. package/lib/ui/Switch.js +2 -2
  233. package/lib/ui/Switch.js.map +1 -1
  234. package/lib/ui/Tabs.js +2 -2
  235. package/lib/ui/Textarea.js +2 -2
  236. package/lib/ui/Textarea.js.map +1 -1
  237. package/lib/ui/Toggle.js +3 -3
  238. package/lib/ui/Toggle.js.map +1 -1
  239. package/lib/ui/ToggleGroup.js +2 -2
  240. package/lib/ui/ToggleGroup.js.map +1 -1
  241. package/lib/ui/Tooltip.js +2 -2
  242. package/lib/useExposedProps-DE9lR6MF.js +9 -0
  243. package/lib/useExposedProps-DE9lR6MF.js.map +1 -0
  244. package/lib/{utils-DcpDOncX.js → utils-R0j3Raw1.js} +30 -31
  245. package/lib/{utils-DcpDOncX.js.map → utils-R0j3Raw1.js.map} +1 -1
  246. package/lib/zudoku.auth-auth0.js +1 -1
  247. package/lib/zudoku.auth-auth0.js.map +1 -1
  248. package/lib/zudoku.auth-clerk.js +2 -2
  249. package/lib/zudoku.auth-clerk.js.map +1 -1
  250. package/lib/zudoku.auth-openid.js +348 -346
  251. package/lib/zudoku.auth-openid.js.map +1 -1
  252. package/lib/zudoku.components.js +679 -939
  253. package/lib/zudoku.components.js.map +1 -1
  254. package/lib/zudoku.openapi-worker.js +1 -1
  255. package/lib/zudoku.openapi-worker.js.map +1 -1
  256. package/lib/zudoku.plugin-api-catalog.js +3 -3
  257. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  258. package/lib/zudoku.plugin-api-keys.js +15 -16
  259. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  260. package/lib/zudoku.plugin-custom-pages.js +4 -4
  261. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  262. package/lib/zudoku.plugin-markdown.js +2 -2
  263. package/lib/zudoku.plugin-markdown.js.map +1 -1
  264. package/lib/zudoku.plugin-openapi.js +5 -5
  265. package/lib/zudoku.plugin-redirect.js +1 -1
  266. package/lib/zudoku.plugin-redirect.js.map +1 -1
  267. package/lib/zudoku.plugin-search-inkeep.js +45 -24
  268. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  269. package/package.json +43 -37
  270. package/src/app/demo.tsx +1 -1
  271. package/src/app/entry.client.tsx +1 -15
  272. package/src/app/entry.server.tsx +2 -2
  273. package/src/app/main.tsx +1 -1
  274. package/src/app/sentry.ts +1 -1
  275. package/src/app/standalone.tsx +1 -1
  276. package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
  277. package/src/lib/authentication/components/SignIn.tsx +1 -1
  278. package/src/lib/authentication/components/SignOut.tsx +1 -1
  279. package/src/lib/components/AnchorLink.tsx +1 -1
  280. package/src/lib/components/Bootstrap.tsx +4 -6
  281. package/src/lib/components/Header.tsx +1 -1
  282. package/src/lib/components/Layout.tsx +1 -1
  283. package/src/lib/components/Markdown.tsx +1 -1
  284. package/src/lib/components/NotFoundPage.tsx +1 -1
  285. package/src/lib/components/ReactMarkdown.license.txt +21 -0
  286. package/src/lib/components/ReactMarkdown.tsx +264 -0
  287. package/src/lib/components/SlotletProvider.tsx +1 -1
  288. package/src/lib/components/TopNavigation.tsx +1 -1
  289. package/src/lib/components/Zudoku.tsx +1 -1
  290. package/src/lib/components/context/ZudokuContext.ts +1 -1
  291. package/src/lib/components/index.ts +1 -1
  292. package/src/lib/components/navigation/SidebarCategory.tsx +1 -1
  293. package/src/lib/components/navigation/SidebarItem.tsx +1 -1
  294. package/src/lib/components/navigation/utils.ts +1 -1
  295. package/src/lib/core/plugins.ts +3 -7
  296. package/src/lib/errors/RouterError.tsx +1 -1
  297. package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
  298. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  299. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
  300. package/src/lib/plugins/api-keys/index.tsx +1 -1
  301. package/src/lib/plugins/custom-pages/index.tsx +1 -1
  302. package/src/lib/plugins/markdown/MdxPage.tsx +1 -1
  303. package/src/lib/plugins/markdown/index.tsx +2 -1
  304. package/src/lib/plugins/openapi/Route.tsx +1 -1
  305. package/src/lib/plugins/openapi/Sidecar.tsx +1 -1
  306. package/src/lib/plugins/openapi/index.tsx +1 -1
  307. package/src/lib/plugins/redirect/index.tsx +1 -1
  308. package/src/lib/plugins/search-inkeep/index.tsx +59 -23
  309. package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
  310. package/src/lib/util/MdxComponents.tsx +1 -3
  311. package/src/lib/util/createVariantComponent.tsx +2 -2
  312. package/src/lib/util/useExposedProps.tsx +1 -1
  313. package/src/lib/util/useScrollToAnchor.ts +1 -1
  314. package/src/lib/util/useScrollToTop.ts +1 -1
  315. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  316. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  317. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  318. package/lib/AnchorLink-BR0MvI7n.js.map +0 -1
  319. package/lib/AuthenticationPlugin-D0Em0SwR.js.map +0 -1
  320. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  321. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  322. package/lib/Markdown-CdkU5HcM.js.map +0 -1
  323. package/lib/MdxPage-ChziqNPp.js.map +0 -1
  324. package/lib/OperationList-CQKkyrZH.js +0 -4706
  325. package/lib/Route-DlG_HTMu.js +0 -11
  326. package/lib/Route-DlG_HTMu.js.map +0 -1
  327. package/lib/SlotletProvider-D77pO-fA.js +0 -252
  328. package/lib/SlotletProvider-D77pO-fA.js.map +0 -1
  329. package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
  330. package/lib/assets/worker-C_2va8B8.js.map +0 -1
  331. package/lib/cn-BmFQLtkS.js.map +0 -1
  332. package/lib/createServer-BCAHdrpE.js.map +0 -1
  333. package/lib/index-BuAyrJe3.js +0 -46
  334. package/lib/index-BuAyrJe3.js.map +0 -1
  335. package/lib/index-CkwDvuPt.js.map +0 -1
  336. package/lib/index-Czzd9rjU.js +0 -899
  337. package/lib/index-Czzd9rjU.js.map +0 -1
  338. package/lib/index-Yn8c3UWE.js +0 -921
  339. package/lib/index-Yn8c3UWE.js.map +0 -1
  340. package/lib/index.esm-Bm8pj-bc.js +0 -675
  341. package/lib/index.esm-C5mr_sKO.js +0 -1193
  342. package/lib/index.esm-C5mr_sKO.js.map +0 -1
  343. package/lib/jsx-runtime-B6kdoens.js +0 -635
  344. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  345. package/lib/object_hash-CvlLgU-M.js +0 -785
  346. package/lib/object_hash-CvlLgU-M.js.map +0 -1
  347. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  348. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  349. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  350. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  351. package/lib/router-lfyopgBI.js +0 -3024
  352. package/lib/router-lfyopgBI.js.map +0 -1
  353. package/lib/state-tsXBLONe.js +0 -203
  354. package/lib/state-tsXBLONe.js.map +0 -1
  355. package/lib/useExposedProps-CTPtylCV.js +0 -10
  356. package/lib/useExposedProps-CTPtylCV.js.map +0 -1
  357. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
@@ -1,77 +1,75 @@
1
- var yt = Object.defineProperty;
2
- var Ce = (e) => {
1
+ var ut = Object.defineProperty;
2
+ var be = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var bt = (e, t, r) => t in e ? yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
- var S = (e, t, r) => bt(e, typeof t != "symbol" ? t + "" : t, r), Pe = (e, t, r) => t.has(e) || Ce("Cannot " + r);
7
- var u = (e, t, r) => (Pe(e, t, "read from private field"), r ? r.call(e) : t.get(e)), N = (e, t, r) => t.has(e) ? Ce("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), y = (e, t, r, s) => (Pe(e, t, "write to private field"), s ? s.call(e, r) : t.set(e, r), r);
8
- var J = (e, t, r, s) => ({
9
- set _(n) {
10
- y(e, t, n, r);
5
+ var dt = (e, t, s) => t in e ? ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
6
+ var k = (e, t, s) => dt(e, typeof t != "symbol" ? t + "" : t, s), je = (e, t, s) => t.has(e) || be("Cannot " + s);
7
+ var c = (e, t, s) => (je(e, t, "read from private field"), s ? s.call(e) : t.get(e)), C = (e, t, s) => t.has(e) ? be("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), v = (e, t, s, r) => (je(e, t, "write to private field"), r ? r.call(e, s) : t.set(e, s), s);
8
+ var _ = (e, t, s, r) => ({
9
+ set _(a) {
10
+ v(e, t, a, s);
11
11
  },
12
12
  get _() {
13
- return u(e, t, s);
13
+ return c(e, t, r);
14
14
  }
15
15
  });
16
- import { a as He, H as me } from "./index.esm-Bm8pj-bc.js";
17
- import { d as jt, R as wt, N as ae, u as St, L as ge } from "./index-Yn8c3UWE.js";
18
- import { u as Nt } from "./state-tsXBLONe.js";
19
- import { E as Ue, S as O, a as Et, R as Ct } from "./SlotletProvider-D77pO-fA.js";
20
- import { j as a } from "./jsx-runtime-B6kdoens.js";
21
- import { Button as Pt } from "./ui/Button.js";
22
- import { Callout as kt } from "./ui/Callout.js";
23
- import { S as $e, l as Ke, Q as Dt, n as w, m as ke, o as De, p as A, q as Ot, r as At, t as Mt, v as Rt, w as Oe, x as Ae, y as It, h as Me, z as Re, A as Tt, d as _t, B as Ve, C as Qt, j as q, u as F, D as Ze, E as Ft, g as qt, Z as zt } from "./utils-DcpDOncX.js";
24
- import { M as Bt, u as se } from "./hook-hEqe7fPB.js";
25
- import * as G from "react";
26
- import Ye, { StrictMode as We, useState as Q, useEffect as z, useRef as pe, useCallback as Lt, Suspense as ve, memo as Xe, forwardRef as Ht, createContext as Je, Component as Ut, createElement as Ie, useMemo as ne, useContext as $t, Fragment as Kt } from "react";
27
- import { a as xe, c as Vt } from "./_commonjsHelpers-BkfeUUK-.js";
28
- import { B as Zt } from "./router-lfyopgBI.js";
29
- import { I as Yt, y as Wt, u as ye, j as be, O as Ge } from "./index-Czzd9rjU.js";
30
- import { S as ue, a as ie } from "./SidebarBadge-DxFJcJ6V.js";
31
- import { C as je } from "./ClientOnly-E7hGysn1.js";
32
- import { ChevronRightIcon as Xt, ExternalLinkIcon as Jt, CircleXIcon as Gt, SearchIcon as er, MoonStarIcon as tr, SunIcon as rr, MenuIcon as ar, PanelLeftIcon as sr } from "lucide-react";
33
- import { Drawer as et, DrawerTrigger as tt, DrawerContent as rt, DrawerTitle as at } from "./ui/Drawer.js";
34
- import { c as R } from "./cn-BmFQLtkS.js";
35
- import { u as we, a as nr, V as ir } from "./Markdown-CdkU5HcM.js";
36
- import { c as or, a as lr } from "./index-BuAyrJe3.js";
37
- import { A as cr, M as ur, u as dr } from "./AnchorLink-BR0MvI7n.js";
38
- import * as oe from "@radix-ui/react-collapsible";
39
- import { B as de } from "./Button-jK0EsymC.js";
40
- import { DropdownMenu as hr, DropdownMenuTrigger as fr, DropdownMenuContent as mr, DropdownMenuLabel as gr, DropdownMenuSeparator as le, DropdownMenuSub as pr, DropdownMenuSubTrigger as vr, DropdownMenuPortal as xr, DropdownMenuSubContent as yr, DropdownMenuItem as br } from "./ui/DropdownMenu.js";
41
- import { VisuallyHidden as st } from "@radix-ui/react-visually-hidden";
42
- import { z as jr, J as wr } from "./SyntaxHighlight-C31iouiO.js";
43
- import { Z as Sr } from "./invariant-Caa8-XvF.js";
44
- import { S as Nr } from "./Spinner-3cQDBVGr.js";
45
- function Er({ error: e }) {
46
- return /* @__PURE__ */ a.jsx(Ue, { error: e });
16
+ import { a as Fe, H as ue } from "./index.esm-BSV1C092.js";
17
+ import { R as ht, S as ft, e as mt, f as ee, b as gt, u as de, g as he, L as fe, O as Be } from "./chunk-D52XG6IA-Dl7HLe6j.js";
18
+ import { u as pt } from "./state-CFQsUZUP.js";
19
+ import { E as ze, S as D, a as xt, R as yt } from "./SlotletProvider-pfc9oejW.js";
20
+ import { j as n } from "./jsx-runtime-Dx-03ztt.js";
21
+ import { Button as vt } from "./ui/Button.js";
22
+ import { Callout as bt } from "./ui/Callout.js";
23
+ import { S as He, l as Le, Q as jt, n as w, m as we, o as ke, p as O, q as wt, r as kt, t as Ct, v as Nt, w as Ce, x as Ne, y as Pt, h as Pe, z as Se, A as St, d as Dt, B as Ke, C as Ot, j as q, u as T, D as $e, E as Mt, g as At, Z as Et } from "./utils-R0j3Raw1.js";
24
+ import { M as It, u as te } from "./hook-DMHiUaIV.js";
25
+ import * as $ from "react";
26
+ import Qt, { StrictMode as Ze, useState as Q, useEffect as R, useRef as me, useCallback as Tt, Suspense as ge, memo as Ve, forwardRef as qt, createContext as Ue, Component as Rt, createElement as De, useMemo as se, useContext as Ft, Fragment as Bt } from "react";
27
+ import * as zt from "react-dom";
28
+ import { S as oe, a as ne } from "./SidebarBadge-Bm793GDY.js";
29
+ import { C as pe } from "./ClientOnly-E7hGysn1.js";
30
+ import { ChevronRightIcon as Ht, ExternalLinkIcon as Lt, CircleXIcon as Kt, SearchIcon as $t, MoonStarIcon as Zt, SunIcon as Vt, MenuIcon as Ut, PanelLeftIcon as Wt } from "lucide-react";
31
+ import { Drawer as We, DrawerTrigger as Xe, DrawerContent as _e, DrawerTitle as Ye } from "./ui/Drawer.js";
32
+ import { c as M } from "./cn-qaFjX9_3.js";
33
+ import { u as xe, a as Xt, V as _t } from "./Markdown-CZDLNOFc.js";
34
+ import { c as Yt, a as Jt } from "./index-CPNSgwSb.js";
35
+ import { A as Gt, M as es, u as ts } from "./AnchorLink-DFZZbmvr.js";
36
+ import * as re from "@radix-ui/react-collapsible";
37
+ import { B as le } from "./Button-DeAoTouo.js";
38
+ import { DropdownMenu as ss, DropdownMenuTrigger as ns, DropdownMenuContent as rs, DropdownMenuLabel as as, DropdownMenuSeparator as ae, DropdownMenuSub as is, DropdownMenuSubTrigger as os, DropdownMenuPortal as ls, DropdownMenuSubContent as cs, DropdownMenuItem as us } from "./ui/DropdownMenu.js";
39
+ import { VisuallyHidden as Je } from "@radix-ui/react-visually-hidden";
40
+ import { z as ds, J as hs } from "./SyntaxHighlight-Bz-lOJtH.js";
41
+ import { Z as fs } from "./invariant-Caa8-XvF.js";
42
+ import { S as ms } from "./Spinner-DuxJLLNE.js";
43
+ function gs({ error: e }) {
44
+ return /* @__PURE__ */ n.jsx(ze, { error: e });
47
45
  }
48
- var k, ze, Cr = (ze = class extends $e {
46
+ var S, Te, ps = (Te = class extends He {
49
47
  constructor(t = {}) {
50
48
  super();
51
- N(this, k);
52
- this.config = t, y(this, k, /* @__PURE__ */ new Map());
49
+ C(this, S);
50
+ this.config = t, v(this, S, /* @__PURE__ */ new Map());
53
51
  }
54
- build(t, r, s) {
55
- const n = r.queryKey, o = r.queryHash ?? Ke(n, r);
56
- let i = this.get(o);
57
- return i || (i = new Dt({
52
+ build(t, s, r) {
53
+ const a = s.queryKey, i = s.queryHash ?? Le(a, s);
54
+ let o = this.get(i);
55
+ return o || (o = new jt({
58
56
  cache: this,
59
- queryKey: n,
60
- queryHash: o,
61
- options: t.defaultQueryOptions(r),
62
- state: s,
63
- defaultOptions: t.getQueryDefaults(n)
64
- }), this.add(i)), i;
57
+ queryKey: a,
58
+ queryHash: i,
59
+ options: t.defaultQueryOptions(s),
60
+ state: r,
61
+ defaultOptions: t.getQueryDefaults(a)
62
+ }), this.add(o)), o;
65
63
  }
66
64
  add(t) {
67
- u(this, k).has(t.queryHash) || (u(this, k).set(t.queryHash, t), this.notify({
65
+ c(this, S).has(t.queryHash) || (c(this, S).set(t.queryHash, t), this.notify({
68
66
  type: "added",
69
67
  query: t
70
68
  }));
71
69
  }
72
70
  remove(t) {
73
- const r = u(this, k).get(t.queryHash);
74
- r && (t.destroy(), r === t && u(this, k).delete(t.queryHash), this.notify({ type: "removed", query: t }));
71
+ const s = c(this, S).get(t.queryHash);
72
+ s && (t.destroy(), s === t && c(this, S).delete(t.queryHash), this.notify({ type: "removed", query: t }));
75
73
  }
76
74
  clear() {
77
75
  w.batch(() => {
@@ -81,25 +79,25 @@ var k, ze, Cr = (ze = class extends $e {
81
79
  });
82
80
  }
83
81
  get(t) {
84
- return u(this, k).get(t);
82
+ return c(this, S).get(t);
85
83
  }
86
84
  getAll() {
87
- return [...u(this, k).values()];
85
+ return [...c(this, S).values()];
88
86
  }
89
87
  find(t) {
90
- const r = { exact: !0, ...t };
88
+ const s = { exact: !0, ...t };
91
89
  return this.getAll().find(
92
- (s) => ke(r, s)
90
+ (r) => we(s, r)
93
91
  );
94
92
  }
95
93
  findAll(t = {}) {
96
- const r = this.getAll();
97
- return Object.keys(t).length > 0 ? r.filter((s) => ke(t, s)) : r;
94
+ const s = this.getAll();
95
+ return Object.keys(t).length > 0 ? s.filter((r) => we(t, r)) : s;
98
96
  }
99
97
  notify(t) {
100
98
  w.batch(() => {
101
- this.listeners.forEach((r) => {
102
- r(t);
99
+ this.listeners.forEach((s) => {
100
+ s(t);
103
101
  });
104
102
  });
105
103
  }
@@ -117,44 +115,44 @@ var k, ze, Cr = (ze = class extends $e {
117
115
  });
118
116
  });
119
117
  }
120
- }, k = new WeakMap(), ze), j, Z, Be, Pr = (Be = class extends $e {
118
+ }, S = new WeakMap(), Te), j, U, qe, xs = (qe = class extends He {
121
119
  constructor(t = {}) {
122
120
  super();
123
- N(this, j);
124
- N(this, Z);
125
- this.config = t, y(this, j, /* @__PURE__ */ new Map()), y(this, Z, Date.now());
121
+ C(this, j);
122
+ C(this, U);
123
+ this.config = t, v(this, j, /* @__PURE__ */ new Map()), v(this, U, Date.now());
126
124
  }
127
- build(t, r, s) {
128
- const n = new Bt({
125
+ build(t, s, r) {
126
+ const a = new It({
129
127
  mutationCache: this,
130
- mutationId: ++J(this, Z)._,
131
- options: t.defaultMutationOptions(r),
132
- state: s
128
+ mutationId: ++_(this, U)._,
129
+ options: t.defaultMutationOptions(s),
130
+ state: r
133
131
  });
134
- return this.add(n), n;
132
+ return this.add(a), a;
135
133
  }
136
134
  add(t) {
137
- const r = ee(t), s = u(this, j).get(r) ?? [];
138
- s.push(t), u(this, j).set(r, s), this.notify({ type: "added", mutation: t });
135
+ const s = Y(t), r = c(this, j).get(s) ?? [];
136
+ r.push(t), c(this, j).set(s, r), this.notify({ type: "added", mutation: t });
139
137
  }
140
138
  remove(t) {
141
- var s;
142
- const r = ee(t);
143
- if (u(this, j).has(r)) {
144
- const n = (s = u(this, j).get(r)) == null ? void 0 : s.filter((o) => o !== t);
145
- n && (n.length === 0 ? u(this, j).delete(r) : u(this, j).set(r, n));
139
+ var r;
140
+ const s = Y(t);
141
+ if (c(this, j).has(s)) {
142
+ const a = (r = c(this, j).get(s)) == null ? void 0 : r.filter((i) => i !== t);
143
+ a && (a.length === 0 ? c(this, j).delete(s) : c(this, j).set(s, a));
146
144
  }
147
145
  this.notify({ type: "removed", mutation: t });
148
146
  }
149
147
  canRun(t) {
150
- var s;
151
- const r = (s = u(this, j).get(ee(t))) == null ? void 0 : s.find((n) => n.state.status === "pending");
152
- return !r || r === t;
148
+ var r;
149
+ const s = (r = c(this, j).get(Y(t))) == null ? void 0 : r.find((a) => a.state.status === "pending");
150
+ return !s || s === t;
153
151
  }
154
152
  runNext(t) {
155
- var s;
156
- const r = (s = u(this, j).get(ee(t))) == null ? void 0 : s.find((n) => n !== t && n.state.isPaused);
157
- return (r == null ? void 0 : r.continue()) ?? Promise.resolve();
153
+ var r;
154
+ const s = (r = c(this, j).get(Y(t))) == null ? void 0 : r.find((a) => a !== t && a.state.isPaused);
155
+ return (s == null ? void 0 : s.continue()) ?? Promise.resolve();
158
156
  }
159
157
  clear() {
160
158
  w.batch(() => {
@@ -164,92 +162,92 @@ var k, ze, Cr = (ze = class extends $e {
164
162
  });
165
163
  }
166
164
  getAll() {
167
- return [...u(this, j).values()].flat();
165
+ return [...c(this, j).values()].flat();
168
166
  }
169
167
  find(t) {
170
- const r = { exact: !0, ...t };
168
+ const s = { exact: !0, ...t };
171
169
  return this.getAll().find(
172
- (s) => De(r, s)
170
+ (r) => ke(s, r)
173
171
  );
174
172
  }
175
173
  findAll(t = {}) {
176
- return this.getAll().filter((r) => De(t, r));
174
+ return this.getAll().filter((s) => ke(t, s));
177
175
  }
178
176
  notify(t) {
179
177
  w.batch(() => {
180
- this.listeners.forEach((r) => {
181
- r(t);
178
+ this.listeners.forEach((s) => {
179
+ s(t);
182
180
  });
183
181
  });
184
182
  }
185
183
  resumePausedMutations() {
186
- const t = this.getAll().filter((r) => r.state.isPaused);
184
+ const t = this.getAll().filter((s) => s.state.isPaused);
187
185
  return w.batch(
188
186
  () => Promise.all(
189
- t.map((r) => r.continue().catch(A))
187
+ t.map((s) => s.continue().catch(O))
190
188
  )
191
189
  );
192
190
  }
193
- }, j = new WeakMap(), Z = new WeakMap(), Be);
194
- function ee(e) {
191
+ }, j = new WeakMap(), U = new WeakMap(), qe);
192
+ function Y(e) {
195
193
  var t;
196
194
  return ((t = e.options.scope) == null ? void 0 : t.id) ?? String(e.mutationId);
197
195
  }
198
- function Te(e) {
196
+ function Oe(e) {
199
197
  return {
200
- onFetch: (t, r) => {
201
- var f, m, h, p, v;
202
- const s = t.options, n = (h = (m = (f = t.fetchOptions) == null ? void 0 : f.meta) == null ? void 0 : m.fetchMore) == null ? void 0 : h.direction, o = ((p = t.state.data) == null ? void 0 : p.pages) || [], i = ((v = t.state.data) == null ? void 0 : v.pageParams) || [];
203
- let c = { pages: [], pageParams: [] }, d = 0;
198
+ onFetch: (t, s) => {
199
+ var f, m, h, p, x;
200
+ const r = t.options, a = (h = (m = (f = t.fetchOptions) == null ? void 0 : f.meta) == null ? void 0 : m.fetchMore) == null ? void 0 : h.direction, i = ((p = t.state.data) == null ? void 0 : p.pages) || [], o = ((x = t.state.data) == null ? void 0 : x.pageParams) || [];
201
+ let u = { pages: [], pageParams: [] }, d = 0;
204
202
  const l = async () => {
205
203
  let g = !1;
206
- const E = (b) => {
204
+ const N = (b) => {
207
205
  Object.defineProperty(b, "signal", {
208
206
  enumerable: !0,
209
207
  get: () => (t.signal.aborted ? g = !0 : t.signal.addEventListener("abort", () => {
210
208
  g = !0;
211
209
  }), t.signal)
212
210
  });
213
- }, W = Ot(t.options, t.fetchOptions), $ = async (b, C, K) => {
211
+ }, W = wt(t.options, t.fetchOptions), L = async (b, P, K) => {
214
212
  if (g)
215
213
  return Promise.reject();
216
- if (C == null && b.pages.length)
214
+ if (P == null && b.pages.length)
217
215
  return Promise.resolve(b);
218
216
  const X = {
219
217
  queryKey: t.queryKey,
220
- pageParam: C,
218
+ pageParam: P,
221
219
  direction: K ? "backward" : "forward",
222
220
  meta: t.options.meta
223
221
  };
224
- E(X);
225
- const xt = await W(
222
+ N(X);
223
+ const ct = await W(
226
224
  X
227
- ), { maxPages: Ne } = t.options, Ee = K ? At : Mt;
225
+ ), { maxPages: ye } = t.options, ve = K ? kt : Ct;
228
226
  return {
229
- pages: Ee(b.pages, xt, Ne),
230
- pageParams: Ee(b.pageParams, C, Ne)
227
+ pages: ve(b.pages, ct, ye),
228
+ pageParams: ve(b.pageParams, P, ye)
231
229
  };
232
230
  };
233
- if (n && o.length) {
234
- const b = n === "backward", C = b ? kr : _e, K = {
235
- pages: o,
236
- pageParams: i
237
- }, X = C(s, K);
238
- c = await $(K, X, b);
231
+ if (a && i.length) {
232
+ const b = a === "backward", P = b ? ys : Me, K = {
233
+ pages: i,
234
+ pageParams: o
235
+ }, X = P(r, K);
236
+ u = await L(K, X, b);
239
237
  } else {
240
- const b = e ?? o.length;
238
+ const b = e ?? i.length;
241
239
  do {
242
- const C = d === 0 ? i[0] ?? s.initialPageParam : _e(s, c);
243
- if (d > 0 && C == null)
240
+ const P = d === 0 ? o[0] ?? r.initialPageParam : Me(r, u);
241
+ if (d > 0 && P == null)
244
242
  break;
245
- c = await $(c, C), d++;
243
+ u = await L(u, P), d++;
246
244
  } while (d < b);
247
245
  }
248
- return c;
246
+ return u;
249
247
  };
250
248
  t.options.persister ? t.fetchFn = () => {
251
- var g, E;
252
- return (E = (g = t.options).persister) == null ? void 0 : E.call(
249
+ var g, N;
250
+ return (N = (g = t.options).persister) == null ? void 0 : N.call(
253
251
  g,
254
252
  l,
255
253
  {
@@ -257,266 +255,267 @@ function Te(e) {
257
255
  meta: t.options.meta,
258
256
  signal: t.signal
259
257
  },
260
- r
258
+ s
261
259
  );
262
260
  } : t.fetchFn = l;
263
261
  }
264
262
  };
265
263
  }
266
- function _e(e, { pages: t, pageParams: r }) {
267
- const s = t.length - 1;
264
+ function Me(e, { pages: t, pageParams: s }) {
265
+ const r = t.length - 1;
268
266
  return t.length > 0 ? e.getNextPageParam(
269
- t[s],
267
+ t[r],
270
268
  t,
271
- r[s],
272
- r
269
+ s[r],
270
+ s
273
271
  ) : void 0;
274
272
  }
275
- function kr(e, { pages: t, pageParams: r }) {
276
- var s;
277
- return t.length > 0 ? (s = e.getPreviousPageParam) == null ? void 0 : s.call(e, t[0], t, r[0], r) : void 0;
273
+ function ys(e, { pages: t, pageParams: s }) {
274
+ var r;
275
+ return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, s[0], s) : void 0;
278
276
  }
279
- var x, I, T, B, L, _, H, U, Le, Dr = (Le = class {
277
+ var y, A, E, F, B, I, z, H, Re, vs = (Re = class {
280
278
  constructor(e = {}) {
281
- N(this, x);
282
- N(this, I);
283
- N(this, T);
284
- N(this, B);
285
- N(this, L);
286
- N(this, _);
287
- N(this, H);
288
- N(this, U);
289
- y(this, x, e.queryCache || new Cr()), y(this, I, e.mutationCache || new Pr()), y(this, T, e.defaultOptions || {}), y(this, B, /* @__PURE__ */ new Map()), y(this, L, /* @__PURE__ */ new Map()), y(this, _, 0);
279
+ C(this, y);
280
+ C(this, A);
281
+ C(this, E);
282
+ C(this, F);
283
+ C(this, B);
284
+ C(this, I);
285
+ C(this, z);
286
+ C(this, H);
287
+ v(this, y, e.queryCache || new ps()), v(this, A, e.mutationCache || new xs()), v(this, E, e.defaultOptions || {}), v(this, F, /* @__PURE__ */ new Map()), v(this, B, /* @__PURE__ */ new Map()), v(this, I, 0);
290
288
  }
291
289
  mount() {
292
- J(this, _)._++, u(this, _) === 1 && (y(this, H, Rt.subscribe(async (e) => {
293
- e && (await this.resumePausedMutations(), u(this, x).onFocus());
294
- })), y(this, U, Oe.subscribe(async (e) => {
295
- e && (await this.resumePausedMutations(), u(this, x).onOnline());
290
+ _(this, I)._++, c(this, I) === 1 && (v(this, z, Nt.subscribe(async (e) => {
291
+ e && (await this.resumePausedMutations(), c(this, y).onFocus());
292
+ })), v(this, H, Ce.subscribe(async (e) => {
293
+ e && (await this.resumePausedMutations(), c(this, y).onOnline());
296
294
  })));
297
295
  }
298
296
  unmount() {
299
297
  var e, t;
300
- J(this, _)._--, u(this, _) === 0 && ((e = u(this, H)) == null || e.call(this), y(this, H, void 0), (t = u(this, U)) == null || t.call(this), y(this, U, void 0));
298
+ _(this, I)._--, c(this, I) === 0 && ((e = c(this, z)) == null || e.call(this), v(this, z, void 0), (t = c(this, H)) == null || t.call(this), v(this, H, void 0));
301
299
  }
302
300
  isFetching(e) {
303
- return u(this, x).findAll({ ...e, fetchStatus: "fetching" }).length;
301
+ return c(this, y).findAll({ ...e, fetchStatus: "fetching" }).length;
304
302
  }
305
303
  isMutating(e) {
306
- return u(this, I).findAll({ ...e, status: "pending" }).length;
304
+ return c(this, A).findAll({ ...e, status: "pending" }).length;
307
305
  }
308
306
  getQueryData(e) {
309
- var r;
307
+ var s;
310
308
  const t = this.defaultQueryOptions({ queryKey: e });
311
- return (r = u(this, x).get(t.queryHash)) == null ? void 0 : r.state.data;
309
+ return (s = c(this, y).get(t.queryHash)) == null ? void 0 : s.state.data;
312
310
  }
313
311
  ensureQueryData(e) {
314
312
  const t = this.getQueryData(e.queryKey);
315
313
  if (t === void 0)
316
314
  return this.fetchQuery(e);
317
315
  {
318
- const r = this.defaultQueryOptions(e), s = u(this, x).build(this, r);
319
- return e.revalidateIfStale && s.isStaleByTime(Ae(r.staleTime, s)) && this.prefetchQuery(r), Promise.resolve(t);
316
+ const s = this.defaultQueryOptions(e), r = c(this, y).build(this, s);
317
+ return e.revalidateIfStale && r.isStaleByTime(Ne(s.staleTime, r)) && this.prefetchQuery(s), Promise.resolve(t);
320
318
  }
321
319
  }
322
320
  getQueriesData(e) {
323
- return u(this, x).findAll(e).map(({ queryKey: t, state: r }) => {
324
- const s = r.data;
325
- return [t, s];
321
+ return c(this, y).findAll(e).map(({ queryKey: t, state: s }) => {
322
+ const r = s.data;
323
+ return [t, r];
326
324
  });
327
325
  }
328
- setQueryData(e, t, r) {
329
- const s = this.defaultQueryOptions({ queryKey: e }), n = u(this, x).get(
330
- s.queryHash
331
- ), o = n == null ? void 0 : n.state.data, i = It(t, o);
332
- if (i !== void 0)
333
- return u(this, x).build(this, s).setData(i, { ...r, manual: !0 });
326
+ setQueryData(e, t, s) {
327
+ const r = this.defaultQueryOptions({ queryKey: e }), a = c(this, y).get(
328
+ r.queryHash
329
+ ), i = a == null ? void 0 : a.state.data, o = Pt(t, i);
330
+ if (o !== void 0)
331
+ return c(this, y).build(this, r).setData(o, { ...s, manual: !0 });
334
332
  }
335
- setQueriesData(e, t, r) {
333
+ setQueriesData(e, t, s) {
336
334
  return w.batch(
337
- () => u(this, x).findAll(e).map(({ queryKey: s }) => [
338
- s,
339
- this.setQueryData(s, t, r)
335
+ () => c(this, y).findAll(e).map(({ queryKey: r }) => [
336
+ r,
337
+ this.setQueryData(r, t, s)
340
338
  ])
341
339
  );
342
340
  }
343
341
  getQueryState(e) {
344
- var r;
342
+ var s;
345
343
  const t = this.defaultQueryOptions({ queryKey: e });
346
- return (r = u(this, x).get(t.queryHash)) == null ? void 0 : r.state;
344
+ return (s = c(this, y).get(
345
+ t.queryHash
346
+ )) == null ? void 0 : s.state;
347
347
  }
348
348
  removeQueries(e) {
349
- const t = u(this, x);
349
+ const t = c(this, y);
350
350
  w.batch(() => {
351
- t.findAll(e).forEach((r) => {
352
- t.remove(r);
351
+ t.findAll(e).forEach((s) => {
352
+ t.remove(s);
353
353
  });
354
354
  });
355
355
  }
356
356
  resetQueries(e, t) {
357
- const r = u(this, x), s = {
357
+ const s = c(this, y), r = {
358
358
  type: "active",
359
359
  ...e
360
360
  };
361
- return w.batch(() => (r.findAll(e).forEach((n) => {
362
- n.reset();
363
- }), this.refetchQueries(s, t)));
361
+ return w.batch(() => (s.findAll(e).forEach((a) => {
362
+ a.reset();
363
+ }), this.refetchQueries(r, t)));
364
364
  }
365
- cancelQueries(e = {}, t = {}) {
366
- const r = { revert: !0, ...t }, s = w.batch(
367
- () => u(this, x).findAll(e).map((n) => n.cancel(r))
365
+ cancelQueries(e, t = {}) {
366
+ const s = { revert: !0, ...t }, r = w.batch(
367
+ () => c(this, y).findAll(e).map((a) => a.cancel(s))
368
368
  );
369
- return Promise.all(s).then(A).catch(A);
369
+ return Promise.all(r).then(O).catch(O);
370
370
  }
371
- invalidateQueries(e = {}, t = {}) {
371
+ invalidateQueries(e, t = {}) {
372
372
  return w.batch(() => {
373
- if (u(this, x).findAll(e).forEach((s) => {
374
- s.invalidate();
375
- }), e.refetchType === "none")
373
+ if (c(this, y).findAll(e).forEach((r) => {
374
+ r.invalidate();
375
+ }), (e == null ? void 0 : e.refetchType) === "none")
376
376
  return Promise.resolve();
377
- const r = {
377
+ const s = {
378
378
  ...e,
379
- type: e.refetchType ?? e.type ?? "active"
379
+ type: (e == null ? void 0 : e.refetchType) ?? (e == null ? void 0 : e.type) ?? "active"
380
380
  };
381
- return this.refetchQueries(r, t);
381
+ return this.refetchQueries(s, t);
382
382
  });
383
383
  }
384
- refetchQueries(e = {}, t) {
385
- const r = {
384
+ refetchQueries(e, t = {}) {
385
+ const s = {
386
386
  ...t,
387
- cancelRefetch: (t == null ? void 0 : t.cancelRefetch) ?? !0
388
- }, s = w.batch(
389
- () => u(this, x).findAll(e).filter((n) => !n.isDisabled()).map((n) => {
390
- let o = n.fetch(void 0, r);
391
- return r.throwOnError || (o = o.catch(A)), n.state.fetchStatus === "paused" ? Promise.resolve() : o;
387
+ cancelRefetch: t.cancelRefetch ?? !0
388
+ }, r = w.batch(
389
+ () => c(this, y).findAll(e).filter((a) => !a.isDisabled()).map((a) => {
390
+ let i = a.fetch(void 0, s);
391
+ return s.throwOnError || (i = i.catch(O)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
392
392
  })
393
393
  );
394
- return Promise.all(s).then(A);
394
+ return Promise.all(r).then(O);
395
395
  }
396
396
  fetchQuery(e) {
397
397
  const t = this.defaultQueryOptions(e);
398
398
  t.retry === void 0 && (t.retry = !1);
399
- const r = u(this, x).build(this, t);
400
- return r.isStaleByTime(
401
- Ae(t.staleTime, r)
402
- ) ? r.fetch(t) : Promise.resolve(r.state.data);
399
+ const s = c(this, y).build(this, t);
400
+ return s.isStaleByTime(
401
+ Ne(t.staleTime, s)
402
+ ) ? s.fetch(t) : Promise.resolve(s.state.data);
403
403
  }
404
404
  prefetchQuery(e) {
405
- return this.fetchQuery(e).then(A).catch(A);
405
+ return this.fetchQuery(e).then(O).catch(O);
406
406
  }
407
407
  fetchInfiniteQuery(e) {
408
- return e.behavior = Te(e.pages), this.fetchQuery(e);
408
+ return e.behavior = Oe(e.pages), this.fetchQuery(e);
409
409
  }
410
410
  prefetchInfiniteQuery(e) {
411
- return this.fetchInfiniteQuery(e).then(A).catch(A);
411
+ return this.fetchInfiniteQuery(e).then(O).catch(O);
412
412
  }
413
413
  ensureInfiniteQueryData(e) {
414
- return e.behavior = Te(e.pages), this.ensureQueryData(e);
414
+ return e.behavior = Oe(e.pages), this.ensureQueryData(e);
415
415
  }
416
416
  resumePausedMutations() {
417
- return Oe.isOnline() ? u(this, I).resumePausedMutations() : Promise.resolve();
417
+ return Ce.isOnline() ? c(this, A).resumePausedMutations() : Promise.resolve();
418
418
  }
419
419
  getQueryCache() {
420
- return u(this, x);
420
+ return c(this, y);
421
421
  }
422
422
  getMutationCache() {
423
- return u(this, I);
423
+ return c(this, A);
424
424
  }
425
425
  getDefaultOptions() {
426
- return u(this, T);
426
+ return c(this, E);
427
427
  }
428
428
  setDefaultOptions(e) {
429
- y(this, T, e);
429
+ v(this, E, e);
430
430
  }
431
431
  setQueryDefaults(e, t) {
432
- u(this, B).set(Me(e), {
432
+ c(this, F).set(Pe(e), {
433
433
  queryKey: e,
434
434
  defaultOptions: t
435
435
  });
436
436
  }
437
437
  getQueryDefaults(e) {
438
- const t = [...u(this, B).values()];
439
- let r = {};
440
- return t.forEach((s) => {
441
- Re(e, s.queryKey) && (r = { ...r, ...s.defaultOptions });
442
- }), r;
438
+ const t = [...c(this, F).values()], s = {};
439
+ return t.forEach((r) => {
440
+ Se(e, r.queryKey) && Object.assign(s, r.defaultOptions);
441
+ }), s;
443
442
  }
444
443
  setMutationDefaults(e, t) {
445
- u(this, L).set(Me(e), {
444
+ c(this, B).set(Pe(e), {
446
445
  mutationKey: e,
447
446
  defaultOptions: t
448
447
  });
449
448
  }
450
449
  getMutationDefaults(e) {
451
- const t = [...u(this, L).values()];
452
- let r = {};
453
- return t.forEach((s) => {
454
- Re(e, s.mutationKey) && (r = { ...r, ...s.defaultOptions });
455
- }), r;
450
+ const t = [...c(this, B).values()];
451
+ let s = {};
452
+ return t.forEach((r) => {
453
+ Se(e, r.mutationKey) && (s = { ...s, ...r.defaultOptions });
454
+ }), s;
456
455
  }
457
456
  defaultQueryOptions(e) {
458
457
  if (e._defaulted)
459
458
  return e;
460
459
  const t = {
461
- ...u(this, T).queries,
460
+ ...c(this, E).queries,
462
461
  ...this.getQueryDefaults(e.queryKey),
463
462
  ...e,
464
463
  _defaulted: !0
465
464
  };
466
- return t.queryHash || (t.queryHash = Ke(
465
+ return t.queryHash || (t.queryHash = Le(
467
466
  t.queryKey,
468
467
  t
469
- )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.enabled !== !0 && t.queryFn === Tt && (t.enabled = !1), t;
468
+ )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === St && (t.enabled = !1), t;
470
469
  }
471
470
  defaultMutationOptions(e) {
472
471
  return e != null && e._defaulted ? e : {
473
- ...u(this, T).mutations,
472
+ ...c(this, E).mutations,
474
473
  ...(e == null ? void 0 : e.mutationKey) && this.getMutationDefaults(e.mutationKey),
475
474
  ...e,
476
475
  _defaulted: !0
477
476
  };
478
477
  }
479
478
  clear() {
480
- u(this, x).clear(), u(this, I).clear();
479
+ c(this, y).clear(), c(this, A).clear();
481
480
  }
482
- }, x = new WeakMap(), I = new WeakMap(), T = new WeakMap(), B = new WeakMap(), L = new WeakMap(), _ = new WeakMap(), H = new WeakMap(), U = new WeakMap(), Le);
483
- function Or(e) {
481
+ }, y = new WeakMap(), A = new WeakMap(), E = new WeakMap(), F = new WeakMap(), B = new WeakMap(), I = new WeakMap(), z = new WeakMap(), H = new WeakMap(), Re);
482
+ function bs(e) {
484
483
  return e;
485
484
  }
486
- function Qe(e, t, r) {
485
+ function Ae(e, t, s) {
487
486
  var d, l;
488
487
  if (typeof t != "object" || t === null)
489
488
  return;
490
- const s = e.getMutationCache(), n = e.getQueryCache(), o = ((d = r == null ? void 0 : r.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((l = e.getDefaultOptions().hydrate) == null ? void 0 : l.deserializeData) ?? Or, i = t.mutations || [], c = t.queries || [];
491
- i.forEach(({ state: f, ...m }) => {
489
+ const r = e.getMutationCache(), a = e.getQueryCache(), i = ((d = s == null ? void 0 : s.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((l = e.getDefaultOptions().hydrate) == null ? void 0 : l.deserializeData) ?? bs, o = t.mutations || [], u = t.queries || [];
490
+ o.forEach(({ state: f, ...m }) => {
492
491
  var h, p;
493
- s.build(
492
+ r.build(
494
493
  e,
495
494
  {
496
495
  ...(h = e.getDefaultOptions().hydrate) == null ? void 0 : h.mutations,
497
- ...(p = r == null ? void 0 : r.defaultOptions) == null ? void 0 : p.mutations,
496
+ ...(p = s == null ? void 0 : s.defaultOptions) == null ? void 0 : p.mutations,
498
497
  ...m
499
498
  },
500
499
  f
501
500
  );
502
- }), c.forEach(({ queryKey: f, state: m, queryHash: h, meta: p, promise: v }) => {
503
- var W, $;
504
- let g = n.get(h);
505
- const E = m.data === void 0 ? m.data : o(m.data);
501
+ }), u.forEach(({ queryKey: f, state: m, queryHash: h, meta: p, promise: x }) => {
502
+ var W, L;
503
+ let g = a.get(h);
504
+ const N = m.data === void 0 ? m.data : i(m.data);
506
505
  if (g) {
507
506
  if (g.state.dataUpdatedAt < m.dataUpdatedAt) {
508
- const { fetchStatus: b, ...C } = m;
507
+ const { fetchStatus: b, ...P } = m;
509
508
  g.setState({
510
- ...C,
511
- data: E
509
+ ...P,
510
+ data: N
512
511
  });
513
512
  }
514
513
  } else
515
- g = n.build(
514
+ g = a.build(
516
515
  e,
517
516
  {
518
517
  ...(W = e.getDefaultOptions().hydrate) == null ? void 0 : W.queries,
519
- ...($ = r == null ? void 0 : r.defaultOptions) == null ? void 0 : $.queries,
518
+ ...(L = s == null ? void 0 : s.defaultOptions) == null ? void 0 : L.queries,
520
519
  queryKey: f,
521
520
  queryHash: h,
522
521
  meta: p
@@ -525,477 +524,218 @@ function Qe(e, t, r) {
525
524
  // query being stuck in fetching state upon hydration
526
525
  {
527
526
  ...m,
528
- data: E,
527
+ data: N,
529
528
  fetchStatus: "idle"
530
529
  }
531
530
  );
532
- if (v) {
533
- const b = Promise.resolve(v).then(o);
531
+ if (x) {
532
+ const b = Promise.resolve(x).then(i);
534
533
  g.fetch(void 0, { initialPromise: b });
535
534
  }
536
535
  });
537
536
  }
538
- var Ar = ({
537
+ var js = ({
539
538
  children: e,
540
539
  options: t = {},
541
- state: r,
542
- queryClient: s
540
+ state: s,
541
+ queryClient: r
543
542
  }) => {
544
- const n = _t(s), [o, i] = G.useState(), c = G.useRef(t);
545
- return c.current = t, G.useMemo(() => {
546
- if (r) {
547
- if (typeof r != "object")
543
+ const a = Dt(r), [i, o] = $.useState(), u = $.useRef(t);
544
+ return u.current = t, $.useMemo(() => {
545
+ if (s) {
546
+ if (typeof s != "object")
548
547
  return;
549
- const d = n.getQueryCache(), l = r.queries || [], f = [], m = [];
548
+ const d = a.getQueryCache(), l = s.queries || [], f = [], m = [];
550
549
  for (const h of l) {
551
550
  const p = d.get(h.queryHash);
552
551
  if (!p)
553
552
  f.push(h);
554
553
  else {
555
- const v = h.state.dataUpdatedAt > p.state.dataUpdatedAt, g = o == null ? void 0 : o.find(
556
- (E) => E.queryHash === h.queryHash
554
+ const x = h.state.dataUpdatedAt > p.state.dataUpdatedAt, g = i == null ? void 0 : i.find(
555
+ (N) => N.queryHash === h.queryHash
557
556
  );
558
- v && (!g || h.state.dataUpdatedAt > g.state.dataUpdatedAt) && m.push(h);
557
+ x && (!g || h.state.dataUpdatedAt > g.state.dataUpdatedAt) && m.push(h);
559
558
  }
560
559
  }
561
- f.length > 0 && Qe(n, { queries: f }, c.current), m.length > 0 && i(
560
+ f.length > 0 && Ae(a, { queries: f }, u.current), m.length > 0 && o(
562
561
  (h) => h ? [...h, ...m] : m
563
562
  );
564
563
  }
565
- }, [n, o, r]), G.useEffect(() => {
566
- o && (Qe(n, { queries: o }, c.current), i(void 0));
567
- }, [n, o]), e;
568
- }, Y = {};
569
- const Mr = /* @__PURE__ */ xe(Zt), Rr = /* @__PURE__ */ xe(Yt), Ir = /* @__PURE__ */ xe(jt);
570
- Object.defineProperty(Y, "__esModule", { value: !0 });
571
- var Tr = Ye, D = Mr, Se = Rr, M = Ir;
572
- function _r(e) {
573
- if (e && e.__esModule) return e;
574
- var t = /* @__PURE__ */ Object.create(null);
575
- return e && Object.keys(e).forEach(function(r) {
576
- if (r !== "default") {
577
- var s = Object.getOwnPropertyDescriptor(e, r);
578
- Object.defineProperty(t, r, s.get ? s : {
579
- enumerable: !0,
580
- get: function() {
581
- return e[r];
582
- }
583
- });
584
- }
585
- }), t.default = e, Object.freeze(t);
586
- }
587
- var P = /* @__PURE__ */ _r(Tr);
588
- function Qr({
589
- basename: e,
590
- children: t,
591
- location: r = "/",
592
- future: s
593
- }) {
594
- typeof r == "string" && (r = M.parsePath(r));
595
- let n = D.Action.Pop, o = {
596
- pathname: r.pathname || "/",
597
- search: r.search || "",
598
- hash: r.hash || "",
599
- state: r.state != null ? r.state : null,
600
- key: r.key || "default"
601
- }, i = nt();
602
- return /* @__PURE__ */ P.createElement(M.Router, {
603
- basename: e,
604
- children: t,
605
- location: o,
606
- navigationType: n,
607
- navigator: i,
608
- future: s,
609
- static: !0
610
- });
611
- }
612
- function Fr({
613
- context: e,
614
- router: t,
615
- hydrate: r = !0,
616
- nonce: s
617
- }) {
618
- t && e || (process.env.NODE_ENV !== "production" ? D.UNSAFE_invariant(!1, "You must provide `router` and `context` to <StaticRouterProvider>") : D.UNSAFE_invariant(!1));
619
- let n = {
620
- router: t,
621
- navigator: nt(),
622
- static: !0,
623
- staticContext: e,
624
- basename: e.basename || "/"
625
- }, o = /* @__PURE__ */ new Map(), i = "";
626
- if (r !== !1) {
627
- let d = {
628
- loaderData: e.loaderData,
629
- actionData: e.actionData,
630
- errors: zr(e.errors)
631
- };
632
- i = `window.__staticRouterHydrationData = JSON.parse(${Kr(JSON.stringify(JSON.stringify(d)))});`;
633
- }
634
- let {
635
- state: c
636
- } = n.router;
637
- return /* @__PURE__ */ P.createElement(P.Fragment, null, /* @__PURE__ */ P.createElement(M.UNSAFE_DataRouterContext.Provider, {
638
- value: n
639
- }, /* @__PURE__ */ P.createElement(M.UNSAFE_DataRouterStateContext.Provider, {
640
- value: c
641
- }, /* @__PURE__ */ P.createElement(M.UNSAFE_FetchersContext.Provider, {
642
- value: o
643
- }, /* @__PURE__ */ P.createElement(M.UNSAFE_ViewTransitionContext.Provider, {
644
- value: {
645
- isTransitioning: !1
646
- }
647
- }, /* @__PURE__ */ P.createElement(M.Router, {
648
- basename: n.basename,
649
- location: c.location,
650
- navigationType: c.historyAction,
651
- navigator: n.navigator,
652
- static: n.static,
653
- future: {
654
- v7_relativeSplatPath: t.future.v7_relativeSplatPath
655
- }
656
- }, /* @__PURE__ */ P.createElement(qr, {
657
- routes: t.routes,
658
- future: t.future,
659
- state: c
660
- })))))), i ? /* @__PURE__ */ P.createElement("script", {
661
- suppressHydrationWarning: !0,
662
- nonce: s,
663
- dangerouslySetInnerHTML: {
664
- __html: i
665
- }
666
- }) : null);
667
- }
668
- function qr({
669
- routes: e,
670
- future: t,
671
- state: r
672
- }) {
673
- return Se.UNSAFE_useRoutesImpl(e, void 0, r, t);
674
- }
675
- function zr(e) {
676
- if (!e) return null;
677
- let t = Object.entries(e), r = {};
678
- for (let [s, n] of t)
679
- D.isRouteErrorResponse(n) ? r[s] = {
680
- ...n,
681
- __type: "RouteErrorResponse"
682
- } : n instanceof Error ? r[s] = {
683
- message: n.message,
684
- __type: "Error",
685
- // If this is a subclass (i.e., ReferenceError), send up the type so we
686
- // can re-create the same type during hydration.
687
- ...n.name !== "Error" ? {
688
- __subType: n.name
689
- } : {}
690
- } : r[s] = n;
691
- return r;
692
- }
693
- function nt() {
694
- return {
695
- createHref: it,
696
- encodeLocation: ot,
697
- push(e) {
698
- throw new Error(`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.`);
699
- },
700
- replace(e) {
701
- throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)}, { replace: true })\` somewhere in your app.`);
702
- },
703
- go(e) {
704
- throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${e})\` somewhere in your app.`);
705
- },
706
- back() {
707
- throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.");
708
- },
709
- forward() {
710
- throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.");
711
- }
712
- };
713
- }
714
- function Br(e, t) {
715
- return D.createStaticHandler(e, {
716
- ...t,
717
- mapRouteProperties: Se.UNSAFE_mapRouteProperties
718
- });
719
- }
720
- function Lr(e, t, r = {}) {
721
- let s = {}, n = D.UNSAFE_convertRoutesToDataRoutes(e, Se.UNSAFE_mapRouteProperties, void 0, s), o = t.matches.map((c) => {
722
- let d = s[c.route.id] || c.route;
723
- return {
724
- ...c,
725
- route: d
726
- };
727
- }), i = (c) => `You cannot use router.${c}() on the server because it is a stateless environment`;
728
- return {
729
- get basename() {
730
- return t.basename;
731
- },
732
- get future() {
733
- var c, d;
734
- return {
735
- v7_fetcherPersist: !1,
736
- v7_normalizeFormMethod: !1,
737
- v7_partialHydration: ((c = r.future) == null ? void 0 : c.v7_partialHydration) === !0,
738
- v7_prependBasename: !1,
739
- v7_relativeSplatPath: ((d = r.future) == null ? void 0 : d.v7_relativeSplatPath) === !0,
740
- v7_skipActionErrorRevalidation: !1
741
- };
742
- },
743
- get state() {
744
- return {
745
- historyAction: D.Action.Pop,
746
- location: t.location,
747
- matches: o,
748
- loaderData: t.loaderData,
749
- actionData: t.actionData,
750
- errors: t.errors,
751
- initialized: !0,
752
- navigation: D.IDLE_NAVIGATION,
753
- restoreScrollPosition: null,
754
- preventScrollReset: !1,
755
- revalidation: "idle",
756
- fetchers: /* @__PURE__ */ new Map(),
757
- blockers: /* @__PURE__ */ new Map()
758
- };
759
- },
760
- get routes() {
761
- return n;
762
- },
763
- get window() {
764
- },
765
- initialize() {
766
- throw i("initialize");
767
- },
768
- subscribe() {
769
- throw i("subscribe");
770
- },
771
- enableScrollRestoration() {
772
- throw i("enableScrollRestoration");
773
- },
774
- navigate() {
775
- throw i("navigate");
776
- },
777
- fetch() {
778
- throw i("fetch");
779
- },
780
- revalidate() {
781
- throw i("revalidate");
782
- },
783
- createHref: it,
784
- encodeLocation: ot,
785
- getFetcher() {
786
- return D.IDLE_FETCHER;
787
- },
788
- deleteFetcher() {
789
- throw i("deleteFetcher");
790
- },
791
- dispose() {
792
- throw i("dispose");
793
- },
794
- getBlocker() {
795
- return D.IDLE_BLOCKER;
796
- },
797
- deleteBlocker() {
798
- throw i("deleteBlocker");
799
- },
800
- patchRoutes() {
801
- throw i("patchRoutes");
802
- },
803
- _internalFetchControllers: /* @__PURE__ */ new Map(),
804
- _internalActiveDeferreds: /* @__PURE__ */ new Map(),
805
- _internalSetRoutes() {
806
- throw i("_internalSetRoutes");
807
- }
808
- };
809
- }
810
- function it(e) {
811
- return typeof e == "string" ? e : M.createPath(e);
812
- }
813
- function ot(e) {
814
- let t = typeof e == "string" ? e : M.createPath(e);
815
- t = t.replace(/ $/, "%20");
816
- let r = Hr.test(t) ? new URL(t) : new URL(t, "http://localhost");
817
- return {
818
- pathname: r.pathname,
819
- search: r.search,
820
- hash: r.hash
821
- };
822
- }
823
- const Hr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ur = {
824
- "&": "\\u0026",
825
- ">": "\\u003e",
826
- "<": "\\u003c",
827
- "\u2028": "\\u2028",
828
- "\u2029": "\\u2029"
829
- }, $r = /[&><\u2028\u2029]/g;
830
- function Kr(e) {
831
- return e.replace($r, (t) => Ur[t]);
564
+ }, [a, i, s]), $.useEffect(() => {
565
+ i && (Ae(a, { queries: i }, u.current), o(void 0));
566
+ }, [a, i]), e;
567
+ };
568
+ /**
569
+ * react-router v7.0.2
570
+ *
571
+ * Copyright (c) Remix Software Inc.
572
+ *
573
+ * This source code is licensed under the MIT license found in the
574
+ * LICENSE.md file in the root directory of this source tree.
575
+ *
576
+ * @license MIT
577
+ */
578
+ function ws(e) {
579
+ return /* @__PURE__ */ $.createElement(ht, { flushSync: zt.flushSync, ...e });
832
580
  }
833
- Y.StaticRouter = Qr;
834
- var Vr = Y.StaticRouterProvider = Fr;
835
- Y.createStaticHandler = Br;
836
- Y.createStaticRouter = Lr;
837
- const Zr = new Dr({
581
+ const ks = new vs({
838
582
  defaultOptions: {
839
583
  queries: {
840
584
  staleTime: 1e3 * 60 * 5
841
585
  }
842
586
  }
843
- }), Yr = ({
587
+ }), Cs = ({
844
588
  router: e,
845
589
  hydrate: t = !1
846
- }) => /* @__PURE__ */ a.jsx(We, { children: /* @__PURE__ */ a.jsx(Ve, { client: Zr, children: /* @__PURE__ */ a.jsx(Ar, { state: t ? window.DATA : void 0, children: /* @__PURE__ */ a.jsx(He, { children: /* @__PURE__ */ a.jsx(ue.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(
847
- wt,
848
- {
849
- router: e,
850
- future: { v7_startTransition: !0 }
851
- }
852
- ) }) }) }) }) }), Wr = ({
590
+ }) => /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(Ke, { client: ks, children: /* @__PURE__ */ n.jsx(js, { state: t ? window.DATA : void 0, children: /* @__PURE__ */ n.jsx(Fe, { children: /* @__PURE__ */ n.jsx(oe.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ n.jsx(ws, { router: e }) }) }) }) }) }), Ns = ({
853
591
  router: e,
854
592
  context: t,
855
- queryClient: r,
856
- helmetContext: s
857
- }) => /* @__PURE__ */ a.jsx(We, { children: /* @__PURE__ */ a.jsx(Ve, { client: r, children: /* @__PURE__ */ a.jsx(He, { context: s, children: /* @__PURE__ */ a.jsx(Vr, { router: e, context: t }) }) }) });
858
- var he = { exports: {} };
859
- (function(e, t) {
860
- (function(r, s) {
861
- s(t, Ye);
862
- })(Vt, function(r, s) {
863
- const n = {
864
- delay: 500,
865
- minDuration: 200,
866
- ssr: !0
867
- };
868
- function o() {
869
- const [c, d] = s.useState(!0);
870
- return s.useEffect(() => {
871
- d(!1);
872
- }, []), c;
873
- }
874
- function i(c, d) {
875
- d = Object.assign({}, n, d);
876
- const l = o() && d.ssr, f = l && c ? "DISPLAY" : "IDLE", [m, h] = s.useState(f), p = s.useRef(null);
877
- return s.useEffect(() => {
878
- if (c && (m === "IDLE" || l)) {
879
- clearTimeout(p.current);
880
- const v = l ? 0 : d.delay;
881
- p.current = setTimeout(() => {
882
- if (!c)
883
- return h("IDLE");
593
+ queryClient: s,
594
+ helmetContext: r
595
+ }) => /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(Ke, { client: s, children: /* @__PURE__ */ n.jsx(Fe, { context: r, children: /* @__PURE__ */ n.jsx(ft, { router: e, context: t }) }) }) });
596
+ var Z = { exports: {} }, Ps = Z.exports, Ee;
597
+ function Ss() {
598
+ return Ee || (Ee = 1, function(e, t) {
599
+ (function(s, r) {
600
+ r(t, Qt);
601
+ })(Ps, function(s, r) {
602
+ const a = {
603
+ delay: 500,
604
+ minDuration: 200,
605
+ ssr: !0
606
+ };
607
+ function i() {
608
+ const [u, d] = r.useState(!0);
609
+ return r.useEffect(() => {
610
+ d(!1);
611
+ }, []), u;
612
+ }
613
+ function o(u, d) {
614
+ d = Object.assign({}, a, d);
615
+ const l = i() && d.ssr, f = l && u ? "DISPLAY" : "IDLE", [m, h] = r.useState(f), p = r.useRef(null);
616
+ return r.useEffect(() => {
617
+ if (u && (m === "IDLE" || l)) {
618
+ clearTimeout(p.current);
619
+ const x = l ? 0 : d.delay;
884
620
  p.current = setTimeout(() => {
885
- h("EXPIRE");
886
- }, d.minDuration), h("DISPLAY");
887
- }, v), l || h("DELAY");
888
- }
889
- !c && m !== "DISPLAY" && (clearTimeout(p.current), h("IDLE"));
890
- }, [c, m, d.delay, d.minDuration, l]), s.useEffect(() => () => clearTimeout(p.current), []), m === "DISPLAY" || m === "EXPIRE";
891
- }
892
- r.defaultOptions = n, r.useSpinDelay = i;
893
- });
894
- })(he, he.exports);
895
- var Xr = he.exports;
896
- const Jr = ({
621
+ if (!u)
622
+ return h("IDLE");
623
+ p.current = setTimeout(() => {
624
+ h("EXPIRE");
625
+ }, d.minDuration), h("DISPLAY");
626
+ }, x), l || h("DELAY");
627
+ }
628
+ !u && m !== "DISPLAY" && (clearTimeout(p.current), h("IDLE"));
629
+ }, [u, m, d.delay, d.minDuration, l]), r.useEffect(() => () => clearTimeout(p.current), []), m === "DISPLAY" || m === "EXPIRE";
630
+ }
631
+ s.defaultOptions = a, s.useSpinDelay = o;
632
+ });
633
+ }(Z, Z.exports)), Z.exports;
634
+ }
635
+ var Ds = Ss();
636
+ const Os = ({
897
637
  category: e,
898
638
  onRequestClose: t
899
639
  }) => {
900
640
  var h, p;
901
- const r = Qt(e), [s, n] = Q(!1), o = e.collapsible ?? !0, i = e.collapsed ?? !0, c = !!(!o || !i || r), [d, l] = Q(c), f = Wt(((h = e.link) == null ? void 0 : h.id) ?? "");
902
- z(() => {
903
- r && l(!0);
904
- }, [r]);
905
- const m = o && /* @__PURE__ */ a.jsx(
641
+ const s = Ot(e), [r, a] = Q(!1), i = e.collapsible ?? !0, o = e.collapsed ?? !0, u = !!(!i || !o || s), [d, l] = Q(u), f = mt(((h = e.link) == null ? void 0 : h.id) ?? "");
642
+ R(() => {
643
+ s && l(!0);
644
+ }, [s]);
645
+ const m = i && /* @__PURE__ */ n.jsx(
906
646
  "button",
907
647
  {
908
648
  type: "button",
909
- onClick: (v) => {
910
- v.preventDefault(), l((g) => !g), n(!0);
649
+ onClick: (x) => {
650
+ x.preventDefault(), l((g) => !g), a(!0);
911
651
  },
912
- children: /* @__PURE__ */ a.jsx(
913
- Xt,
652
+ children: /* @__PURE__ */ n.jsx(
653
+ Ht,
914
654
  {
915
655
  size: 16,
916
- className: R(
917
- s && "transition",
656
+ className: M(
657
+ r && "transition",
918
658
  "shrink-0 group-data-[state=open]:rotate-90"
919
659
  )
920
660
  }
921
661
  )
922
662
  }
923
663
  );
924
- return /* @__PURE__ */ a.jsxs(
925
- oe.Root,
664
+ return /* @__PURE__ */ n.jsxs(
665
+ re.Root,
926
666
  {
927
667
  className: "flex flex-col",
928
- defaultOpen: c,
668
+ defaultOpen: u,
929
669
  open: d,
930
670
  onOpenChange: () => l(!0),
931
671
  children: [
932
- /* @__PURE__ */ a.jsx(oe.Trigger, { className: "group", asChild: !0, disabled: !o, children: /* @__PURE__ */ a.jsxs(
672
+ /* @__PURE__ */ n.jsx(re.Trigger, { className: "group", asChild: !0, disabled: !i, children: /* @__PURE__ */ n.jsxs(
933
673
  "div",
934
674
  {
935
- onClick: () => n(!0),
675
+ onClick: () => a(!0),
936
676
  className: V({
937
677
  isActive: !1,
938
678
  className: [
939
679
  "text-start",
940
- o ? "cursor-pointer" : "cursor-default hover:bg-transparent"
680
+ i ? "cursor-pointer" : "cursor-default hover:bg-transparent"
941
681
  ]
942
682
  }),
943
683
  children: [
944
- e.icon && /* @__PURE__ */ a.jsx(
684
+ e.icon && /* @__PURE__ */ n.jsx(
945
685
  e.icon,
946
686
  {
947
687
  size: 16,
948
- className: R("align-[-0.125em] ", f && "text-primary")
688
+ className: M("align-[-0.125em] ", f && "text-primary")
949
689
  }
950
690
  ),
951
- ((p = e.link) == null ? void 0 : p.type) === "doc" ? /* @__PURE__ */ a.jsx(
952
- ae,
691
+ ((p = e.link) == null ? void 0 : p.type) === "doc" ? /* @__PURE__ */ n.jsx(
692
+ ee,
953
693
  {
954
694
  to: q(e.link.id),
955
695
  className: "flex-1",
956
696
  onClick: () => {
957
697
  f && !d && l(!0);
958
698
  },
959
- children: /* @__PURE__ */ a.jsxs(
699
+ children: /* @__PURE__ */ n.jsxs(
960
700
  "div",
961
701
  {
962
- className: R(
702
+ className: M(
963
703
  "flex items-center gap-2 justify-between w-full",
964
704
  f ? "text-primary" : "text-foreground/80"
965
705
  ),
966
706
  children: [
967
- /* @__PURE__ */ a.jsx("div", { className: "truncate", children: e.label }),
707
+ /* @__PURE__ */ n.jsx("div", { className: "truncate", children: e.label }),
968
708
  m
969
709
  ]
970
710
  }
971
711
  )
972
712
  }
973
- ) : /* @__PURE__ */ a.jsxs("div", { className: "flex items-center justify-between w-full", children: [
974
- /* @__PURE__ */ a.jsx("div", { className: "flex gap-2 truncate w-full", children: e.label }),
713
+ ) : /* @__PURE__ */ n.jsxs("div", { className: "flex items-center justify-between w-full", children: [
714
+ /* @__PURE__ */ n.jsx("div", { className: "flex gap-2 truncate w-full", children: e.label }),
975
715
  m
976
716
  ] })
977
717
  ]
978
718
  }
979
719
  ) }),
980
- /* @__PURE__ */ a.jsx(
981
- oe.Content,
720
+ /* @__PURE__ */ n.jsx(
721
+ re.Content,
982
722
  {
983
- className: R(
723
+ className: M(
984
724
  // CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
985
- s && "CollapsibleContent",
725
+ r && "CollapsibleContent",
986
726
  "ms-6 my-1"
987
727
  ),
988
- children: /* @__PURE__ */ a.jsx(
728
+ children: /* @__PURE__ */ n.jsx(
989
729
  "ul",
990
730
  {
991
731
  className: "relative after:absolute after:-left-[--padding-nav-item] after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border",
992
- children: e.items.map((v) => /* @__PURE__ */ a.jsx(
993
- fe,
732
+ children: e.items.map((x) => /* @__PURE__ */ n.jsx(
733
+ ce,
994
734
  {
995
735
  onRequestClose: t,
996
- item: v
736
+ item: x
997
737
  },
998
- ("id" in v ? v.id : "") + ("href" in v ? v.href : "") + v.label
738
+ ("id" in x ? x.id : "") + ("href" in x ? x.href : "") + x.label
999
739
  ))
1000
740
  }
1001
741
  )
@@ -1004,7 +744,7 @@ const Jr = ({
1004
744
  ]
1005
745
  }
1006
746
  );
1007
- }, V = or(
747
+ }, V = Yt(
1008
748
  "flex items-center gap-2 px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
1009
749
  {
1010
750
  variants: {
@@ -1021,48 +761,48 @@ const Jr = ({
1021
761
  isActive: !1
1022
762
  }
1023
763
  }
1024
- ), lt = "data-anchor", fe = ({
764
+ ), Ge = "data-anchor", ce = ({
1025
765
  item: e,
1026
766
  onRequestClose: t
1027
767
  }) => {
1028
- var n, o;
1029
- const { activeAnchor: r } = we(), [s] = St();
768
+ var a, i;
769
+ const { activeAnchor: s } = xe(), [r] = gt();
1030
770
  switch (e.type) {
1031
771
  case "category":
1032
- return /* @__PURE__ */ a.jsx(Jr, { category: e, onRequestClose: t });
772
+ return /* @__PURE__ */ n.jsx(Os, { category: e, onRequestClose: t });
1033
773
  case "doc":
1034
- return /* @__PURE__ */ a.jsxs(
1035
- ae,
774
+ return /* @__PURE__ */ n.jsxs(
775
+ ee,
1036
776
  {
1037
- className: ({ isActive: i }) => V({ isActive: i }),
777
+ className: ({ isActive: o }) => V({ isActive: o }),
1038
778
  to: q(e.id),
1039
779
  onClick: t,
1040
780
  children: [
1041
- e.icon && /* @__PURE__ */ a.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
1042
- e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1043
- /* @__PURE__ */ a.jsx("span", { className: "truncate flex-1", title: e.label, children: e.label }),
1044
- /* @__PURE__ */ a.jsx(ie, { ...e.badge })
781
+ e.icon && /* @__PURE__ */ n.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
782
+ e.badge ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
783
+ /* @__PURE__ */ n.jsx("span", { className: "truncate flex-1", title: e.label, children: e.label }),
784
+ /* @__PURE__ */ n.jsx(ne, { ...e.badge })
1045
785
  ] }) : e.label
1046
786
  ]
1047
787
  }
1048
788
  );
1049
789
  case "link":
1050
- return e.href.startsWith("#") ? /* @__PURE__ */ a.jsx(
1051
- cr,
790
+ return e.href.startsWith("#") ? /* @__PURE__ */ n.jsx(
791
+ Gt,
1052
792
  {
1053
- to: { hash: e.href, search: s.toString() },
1054
- [lt]: e.href.slice(1),
793
+ to: { hash: e.href, search: r.toString() },
794
+ [Ge]: e.href.slice(1),
1055
795
  className: V({
1056
- isActive: e.href.slice(1) === r,
1057
- className: ((n = e.badge) == null ? void 0 : n.placement) !== "start" && "justify-between"
796
+ isActive: e.href.slice(1) === s,
797
+ className: ((a = e.badge) == null ? void 0 : a.placement) !== "start" && "justify-between"
1058
798
  }),
1059
799
  onClick: t,
1060
- children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1061
- /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
1062
- /* @__PURE__ */ a.jsx(ie, { ...e.badge })
1063
- ] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
800
+ children: e.badge ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
801
+ /* @__PURE__ */ n.jsx("span", { className: "truncate", title: e.label, children: e.label }),
802
+ /* @__PURE__ */ n.jsx(ne, { ...e.badge })
803
+ ] }) : /* @__PURE__ */ n.jsx("span", { className: "break-all", children: e.label })
1064
804
  }
1065
- ) : e.href.startsWith("http") ? /* @__PURE__ */ a.jsxs(
805
+ ) : e.href.startsWith("http") ? /* @__PURE__ */ n.jsxs(
1066
806
  "a",
1067
807
  {
1068
808
  className: V(),
@@ -1071,192 +811,192 @@ const Jr = ({
1071
811
  rel: "noopener noreferrer",
1072
812
  onClick: t,
1073
813
  children: [
1074
- /* @__PURE__ */ a.jsx("span", { className: "whitespace-normal", children: e.label }),
1075
- /* @__PURE__ */ a.jsx("span", { className: "whitespace-nowrap", children: /* @__PURE__ */ a.jsx(Jt, { className: "inline -translate-y-0.5", size: 12 }) })
814
+ /* @__PURE__ */ n.jsx("span", { className: "whitespace-normal", children: e.label }),
815
+ /* @__PURE__ */ n.jsx("span", { className: "whitespace-nowrap", children: /* @__PURE__ */ n.jsx(Lt, { className: "inline -translate-y-0.5", size: 12 }) })
1076
816
  ]
1077
817
  }
1078
- ) : /* @__PURE__ */ a.jsx(
1079
- ae,
818
+ ) : /* @__PURE__ */ n.jsx(
819
+ ee,
1080
820
  {
1081
821
  className: V({
1082
- className: ((o = e.badge) == null ? void 0 : o.placement) !== "start" && "justify-between"
822
+ className: ((i = e.badge) == null ? void 0 : i.placement) !== "start" && "justify-between"
1083
823
  }),
1084
824
  to: e.href,
1085
- children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1086
- /* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
1087
- /* @__PURE__ */ a.jsx(ie, { ...e.badge })
1088
- ] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
825
+ children: e.badge ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
826
+ /* @__PURE__ */ n.jsx("span", { className: "truncate", title: e.label, children: e.label }),
827
+ /* @__PURE__ */ n.jsx(ne, { ...e.badge })
828
+ ] }) : /* @__PURE__ */ n.jsx("span", { className: "break-all", children: e.label })
1089
829
  }
1090
830
  );
1091
831
  }
1092
- }, Gr = (e, t = { block: "center" }) => {
832
+ }, Ms = (e, t = { block: "center" }) => {
1093
833
  if (!e) return;
1094
- const r = e.getBoundingClientRect();
1095
- r.top >= 0 && r.left >= 0 && r.bottom <= (window.innerHeight || document.documentElement.clientHeight) && r.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
1096
- }, ea = () => {
1097
- const e = ye(), { setActiveAnchor: t } = we();
1098
- z(() => {
834
+ const s = e.getBoundingClientRect();
835
+ s.top >= 0 && s.left >= 0 && s.bottom <= (window.innerHeight || document.documentElement.clientHeight) && s.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
836
+ }, As = () => {
837
+ const e = de(), { setActiveAnchor: t } = xe();
838
+ R(() => {
1099
839
  if (!e.hash) return;
1100
- const r = decodeURIComponent(e.hash.split("/")[0].slice(1)), s = () => {
1101
- const n = document.getElementById(r), o = document.querySelector(`[${lt}="${r}"]`);
1102
- return n ? (n.scrollIntoView(), Gr(o), requestIdleCallback(() => t(r)), !0) : !1;
840
+ const s = decodeURIComponent(e.hash.split("/")[0].slice(1)), r = () => {
841
+ const a = document.getElementById(s), i = document.querySelector(`[${Ge}="${s}"]`);
842
+ return a ? (a.scrollIntoView(), Ms(i), requestIdleCallback(() => t(s)), !0) : !1;
1103
843
  };
1104
- if (!s()) {
1105
- const n = new MutationObserver((o, i) => {
1106
- s() && i.disconnect();
844
+ if (!r()) {
845
+ const a = new MutationObserver((i, o) => {
846
+ r() && o.disconnect();
1107
847
  });
1108
- return n.observe(document.body, { childList: !0, subtree: !0 }), () => n.disconnect();
848
+ return a.observe(document.body, { childList: !0, subtree: !0 }), () => a.disconnect();
1109
849
  }
1110
850
  }, [e.hash, t]);
1111
- }, ta = () => {
1112
- const e = ye(), t = pe(e.pathname);
1113
- z(() => {
851
+ }, Es = () => {
852
+ const e = de(), t = me(e.pathname);
853
+ R(() => {
1114
854
  t.current !== e.pathname && (window.scrollTo(0, 0), t.current = e.pathname);
1115
855
  }, [e.pathname]);
1116
856
  };
1117
- function ra({
857
+ function Is({
1118
858
  className: e,
1119
859
  ...t
1120
860
  }) {
1121
- return /* @__PURE__ */ a.jsx(
861
+ return /* @__PURE__ */ n.jsx(
1122
862
  "div",
1123
863
  {
1124
- className: R("animate-pulse rounded-md bg-muted", e),
864
+ className: M("animate-pulse rounded-md bg-muted", e),
1125
865
  ...t
1126
866
  }
1127
867
  );
1128
868
  }
1129
- const aa = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", sa = (e) => "getRoutes" in e && typeof e.getRoutes == "function", na = (e) => "renderSearch" in e && typeof e.renderSearch == "function", ia = (e) => "initialize" in e && typeof e.initialize == "function", oa = (e) => "getHead" in e && typeof e.getHead == "function", la = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", ca = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Fe = {
869
+ const Qs = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", Ts = (e) => "getRoutes" in e && typeof e.getRoutes == "function", qs = (e) => "renderSearch" in e && typeof e.renderSearch == "function", Rs = (e) => "initialize" in e && typeof e.initialize == "function", Fs = (e) => "getHead" in e && typeof e.getHead == "function", Bs = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", zs = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Ie = {
1130
870
  info: "bg-blue-500",
1131
871
  note: "bg-gray-500",
1132
872
  tip: "bg-green-600",
1133
873
  caution: "bg-orange-500",
1134
874
  danger: "bg-rose-500"
1135
- }, ua = () => {
1136
- const { page: e } = F(), [t, r] = Q(!0);
875
+ }, Hs = () => {
876
+ const { page: e } = T(), [t, s] = Q(!0);
1137
877
  if (!(e != null && e.banner) || !t)
1138
- return /* @__PURE__ */ a.jsx("style", { children: ":root { --banner-height: 0px; }" });
1139
- const s = e.banner.color && e.banner.color in Fe ? Fe[e.banner.color] : e.banner.color ? void 0 : "bg-primary", n = s ? {} : { backgroundColor: e.banner.color };
1140
- return /* @__PURE__ */ a.jsxs(
878
+ return /* @__PURE__ */ n.jsx("style", { children: ":root { --banner-height: 0px; }" });
879
+ const r = e.banner.color && e.banner.color in Ie ? Ie[e.banner.color] : e.banner.color ? void 0 : "bg-primary", a = r ? {} : { backgroundColor: e.banner.color };
880
+ return /* @__PURE__ */ n.jsxs(
1141
881
  "div",
1142
882
  {
1143
- className: R(
883
+ className: M(
1144
884
  "relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
1145
- s
885
+ r
1146
886
  ),
1147
- style: n,
887
+ style: a,
1148
888
  children: [
1149
- /* @__PURE__ */ a.jsx("div", { className: "w-full", children: e.banner.message }),
1150
- e.banner.dismissible && /* @__PURE__ */ a.jsx(
889
+ /* @__PURE__ */ n.jsx("div", { className: "w-full", children: e.banner.message }),
890
+ e.banner.dismissible && /* @__PURE__ */ n.jsx(
1151
891
  "button",
1152
892
  {
1153
893
  type: "button",
1154
894
  className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
1155
- onClick: () => r(!1),
1156
- children: /* @__PURE__ */ a.jsx(Gt, { size: 16 })
895
+ onClick: () => s(!1),
896
+ children: /* @__PURE__ */ n.jsx(Kt, { size: 16 })
1157
897
  }
1158
898
  )
1159
899
  ]
1160
900
  }
1161
901
  );
1162
- }, ct = ({ className: e }) => {
1163
- const t = F(), [r, s] = Q(!1), n = Lt(() => s(!1), []);
1164
- z(() => {
1165
- if (r)
902
+ }, et = ({ className: e }) => {
903
+ const t = T(), [s, r] = Q(!1), a = Tt(() => r(!1), []);
904
+ R(() => {
905
+ if (s)
1166
906
  return;
1167
- function i(c) {
1168
- c.key === "k" && (c.metaKey || c.ctrlKey) && (c.preventDefault(), s(!0));
907
+ function o(u) {
908
+ u.key === "k" && (u.metaKey || u.ctrlKey) && (u.preventDefault(), r(!0));
1169
909
  }
1170
- return window.addEventListener("keydown", i), () => {
1171
- window.removeEventListener("keydown", i);
910
+ return window.addEventListener("keydown", o), () => {
911
+ window.removeEventListener("keydown", o);
1172
912
  };
1173
- }, [r, s]);
1174
- const o = t.plugins.find(na);
1175
- return o ? /* @__PURE__ */ a.jsxs("div", { className: e, children: [
1176
- /* @__PURE__ */ a.jsxs(
913
+ }, [s, r]);
914
+ const i = t.plugins.find(qs);
915
+ return i ? /* @__PURE__ */ n.jsxs("div", { className: e, children: [
916
+ /* @__PURE__ */ n.jsxs(
1177
917
  "button",
1178
918
  {
1179
919
  type: "button",
1180
- onClick: () => s(!0),
920
+ onClick: () => r(!0),
1181
921
  className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
1182
922
  children: [
1183
- /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
1184
- /* @__PURE__ */ a.jsx(er, { size: 14 }),
923
+ /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
924
+ /* @__PURE__ */ n.jsx($t, { size: 14 }),
1185
925
  "Search"
1186
926
  ] }),
1187
- /* @__PURE__ */ a.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
927
+ /* @__PURE__ */ n.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
1188
928
  ]
1189
929
  }
1190
930
  ),
1191
- /* @__PURE__ */ a.jsx(ve, { fallback: null, children: o.renderSearch({
1192
- isOpen: r,
1193
- onClose: n
931
+ /* @__PURE__ */ n.jsx(ge, { fallback: null, children: i.renderSearch({
932
+ isOpen: s,
933
+ onClose: a
1194
934
  }) })
1195
935
  ] }) : null;
1196
- }, ut = () => {
1197
- const { resolvedTheme: e, setTheme: t } = jr(), r = e === "dark" ? tr : rr;
1198
- return /* @__PURE__ */ a.jsx(je, { children: /* @__PURE__ */ a.jsx(
1199
- de,
936
+ }, tt = () => {
937
+ const { resolvedTheme: e, setTheme: t } = ds(), s = e === "dark" ? Zt : Vt;
938
+ return /* @__PURE__ */ n.jsx(pe, { children: /* @__PURE__ */ n.jsx(
939
+ le,
1200
940
  {
1201
941
  variant: "ghost",
1202
942
  "aria-label": e === "dark" ? "Switch to light mode" : "Switch to dark mode",
1203
943
  className: "p-2.5 -m-2.5 rounded-full",
1204
944
  onClick: () => t(e === "dark" ? "light" : "dark"),
1205
- children: /* @__PURE__ */ a.jsx(r, { size: 18 })
945
+ children: /* @__PURE__ */ n.jsx(s, { size: 18 })
1206
946
  }
1207
947
  ) });
1208
- }, dt = (e) => (t) => t.display === "auth" && e || t.display === "anon" && !e || !t.display || t.display === "always", da = () => {
1209
- const { topNavigation: e } = F(), { isAuthenticated: t } = se();
1210
- return e.length <= 1 ? /* @__PURE__ */ a.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ a.jsx(ve, { children: /* @__PURE__ */ a.jsx("nav", { className: "hidden lg:block border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ a.jsx("ul", { className: "flex flex-row items-center gap-8", children: e.filter(dt(t)).map((r) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(ht, { ...r }) }, r.id)) }) }) });
1211
- }, ht = ({
948
+ }, st = (e) => (t) => t.display === "auth" && e || t.display === "anon" && !e || !t.display || t.display === "always", Ls = () => {
949
+ const { topNavigation: e } = T(), { isAuthenticated: t } = te();
950
+ return e.length <= 1 ? /* @__PURE__ */ n.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ n.jsx(ge, { children: /* @__PURE__ */ n.jsx("nav", { className: "hidden lg:block border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: e.filter(st(t)).map((s) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(nt, { ...s }) }, s.id)) }) }) });
951
+ }, nt = ({
1212
952
  id: e,
1213
953
  label: t,
1214
- default: r
954
+ default: s
1215
955
  }) => {
1216
956
  var l;
1217
- const { sidebars: s } = F(), n = s[e], o = Ze(), i = !!be().location, c = ((l = o.topNavItem) == null ? void 0 : l.id) === e && !i, d = r ?? (n ? Ft(n, (f) => {
957
+ const { sidebars: r } = T(), a = r[e], i = $e(), o = !!he().location, u = ((l = i.topNavItem) == null ? void 0 : l.id) === e && !o, d = s ?? (a ? Mt(a, (f) => {
1218
958
  if (f.type === "doc") return q(f.id);
1219
959
  }) : q(e));
1220
960
  if (!d)
1221
- throw new Sr("Page not found.", {
961
+ throw new fs("Page not found.", {
1222
962
  developerHint: `No links found in top navigation for '${e}'. Check that the sidebar isn't empty or that a default link is set.`
1223
963
  });
1224
964
  return (
1225
965
  // We don't use isActive here because it has to be inside the sidebar,
1226
966
  // the top nav id doesn't necessarily start with the sidebar id
1227
- /* @__PURE__ */ a.jsx(
1228
- ae,
967
+ /* @__PURE__ */ n.jsx(
968
+ ee,
1229
969
  {
1230
- className: ({ isPending: f }) => lr(
970
+ className: ({ isPending: f }) => Jt(
1231
971
  "block lg:py-3.5 font-medium -mb-px border-b-2",
1232
- c || f ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
972
+ u || f ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
1233
973
  ),
1234
974
  to: d,
1235
975
  children: t
1236
976
  }
1237
977
  )
1238
978
  );
1239
- }, ha = () => {
1240
- const { topNavigation: e } = F(), { isAuthenticated: t } = se(), [r, s] = Q(!1);
1241
- return /* @__PURE__ */ a.jsxs(
1242
- et,
979
+ }, Ks = () => {
980
+ const { topNavigation: e } = T(), { isAuthenticated: t } = te(), [s, r] = Q(!1);
981
+ return /* @__PURE__ */ n.jsxs(
982
+ We,
1243
983
  {
1244
984
  direction: "right",
1245
- open: r,
1246
- onOpenChange: (n) => s(n),
985
+ open: s,
986
+ onOpenChange: (a) => r(a),
1247
987
  children: [
1248
- /* @__PURE__ */ a.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ a.jsx(tt, { className: "lg:hidden", children: /* @__PURE__ */ a.jsx(ar, { size: 22 }) }) }),
1249
- /* @__PURE__ */ a.jsx(
1250
- rt,
988
+ /* @__PURE__ */ n.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ n.jsx(Xe, { className: "lg:hidden", children: /* @__PURE__ */ n.jsx(Ut, { size: 22 }) }) }),
989
+ /* @__PURE__ */ n.jsx(
990
+ _e,
1251
991
  {
1252
992
  className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
1253
993
  "aria-describedby": void 0,
1254
- children: /* @__PURE__ */ a.jsxs("div", { className: "p-6 overflow-y-auto overscroll-none", children: [
1255
- /* @__PURE__ */ a.jsx(st, { children: /* @__PURE__ */ a.jsx(at, { children: "Navigation" }) }),
1256
- /* @__PURE__ */ a.jsx(ct, { className: "flex p-4" }),
1257
- /* @__PURE__ */ a.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
1258
- /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(ut, {}) }),
1259
- e.filter(dt(t)).map((n) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx("button", { onClick: () => s(!1), children: /* @__PURE__ */ a.jsx(ht, { ...n }) }) }, n.label))
994
+ children: /* @__PURE__ */ n.jsxs("div", { className: "p-6 overflow-y-auto overscroll-none", children: [
995
+ /* @__PURE__ */ n.jsx(Je, { children: /* @__PURE__ */ n.jsx(Ye, { children: "Navigation" }) }),
996
+ /* @__PURE__ */ n.jsx(et, { className: "flex p-4" }),
997
+ /* @__PURE__ */ n.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
998
+ /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(tt, {}) }),
999
+ e.filter(st(t)).map((a) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("button", { onClick: () => r(!1), children: /* @__PURE__ */ n.jsx(nt, { ...a }) }) }, a.label))
1260
1000
  ] })
1261
1001
  ] })
1262
1002
  }
@@ -1264,191 +1004,191 @@ const aa = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems ==
1264
1004
  ]
1265
1005
  }
1266
1006
  );
1267
- }, re = ({ item: e }) => e.children ? /* @__PURE__ */ a.jsxs(pr, { children: [
1268
- /* @__PURE__ */ a.jsx(vr, { children: e.label }),
1269
- /* @__PURE__ */ a.jsx(xr, { children: /* @__PURE__ */ a.jsx(yr, { children: e.children.map((t, r) => (
1007
+ }, G = ({ item: e }) => e.children ? /* @__PURE__ */ n.jsxs(is, { children: [
1008
+ /* @__PURE__ */ n.jsx(os, { children: e.label }),
1009
+ /* @__PURE__ */ n.jsx(ls, { children: /* @__PURE__ */ n.jsx(cs, { children: e.children.map((t, s) => (
1270
1010
  // eslint-disable-next-line react/no-array-index-key
1271
- /* @__PURE__ */ a.jsx(re, { item: t }, r)
1011
+ /* @__PURE__ */ n.jsx(G, { item: t }, s)
1272
1012
  )) }) })
1273
- ] }, e.label) : /* @__PURE__ */ a.jsx(ge, { to: e.path ?? "", children: /* @__PURE__ */ a.jsxs(br, { className: "flex gap-2", children: [
1274
- e.icon && /* @__PURE__ */ a.jsx(e.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
1013
+ ] }, e.label) : /* @__PURE__ */ n.jsx(fe, { to: e.path ?? "", children: /* @__PURE__ */ n.jsxs(us, { className: "flex gap-2", children: [
1014
+ e.icon && /* @__PURE__ */ n.jsx(e.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
1275
1015
  e.label
1276
- ] }, e.label) }), ft = Xe(function() {
1277
- const t = se(), { isAuthenticated: r, profile: s, isAuthEnabled: n } = se(), o = F(), { page: i, plugins: c } = o, d = c.filter((l) => aa(l)).flatMap((l) => l.getProfileMenuItems(o)).sort((l) => l.weight ?? 0);
1278
- return /* @__PURE__ */ a.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
1279
- /* @__PURE__ */ a.jsx(ua, {}),
1280
- /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1281
- /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-2 lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-10 lg:px-12 h-[--top-header-height]", children: [
1282
- /* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(ge, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
1283
- (i == null ? void 0 : i.logo) && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1284
- /* @__PURE__ */ a.jsx(
1016
+ ] }, e.label) }), rt = Ve(function() {
1017
+ const t = te(), { isAuthenticated: s, profile: r, isAuthEnabled: a } = te(), i = T(), { page: o, plugins: u } = i, d = u.filter((l) => Qs(l)).flatMap((l) => l.getProfileMenuItems(i)).sort((l) => l.weight ?? 0);
1018
+ return /* @__PURE__ */ n.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
1019
+ /* @__PURE__ */ n.jsx(Hs, {}),
1020
+ /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1021
+ /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-2 lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-10 lg:px-12 h-[--top-header-height]", children: [
1022
+ /* @__PURE__ */ n.jsx("div", { className: "flex", children: /* @__PURE__ */ n.jsx(fe, { to: "/", children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
1023
+ (o == null ? void 0 : o.logo) && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1024
+ /* @__PURE__ */ n.jsx(
1285
1025
  "img",
1286
1026
  {
1287
- src: /https?:\/\//.test(i.logo.src.light) ? i.logo.src.light : q(
1027
+ src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : q(
1288
1028
  "/",
1289
- i.logo.src.light
1029
+ o.logo.src.light
1290
1030
  ),
1291
- alt: i.logo.alt ?? i.pageTitle,
1292
- style: { width: i.logo.width },
1031
+ alt: o.logo.alt ?? o.pageTitle,
1032
+ style: { width: o.logo.width },
1293
1033
  className: "h-10 dark:hidden",
1294
1034
  loading: "lazy"
1295
1035
  }
1296
1036
  ),
1297
- /* @__PURE__ */ a.jsx(
1037
+ /* @__PURE__ */ n.jsx(
1298
1038
  "img",
1299
1039
  {
1300
- src: /https?:\/\//.test(i.logo.src.dark) ? i.logo.src.dark : q(
1040
+ src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : q(
1301
1041
  "/",
1302
- i.logo.src.dark
1042
+ o.logo.src.dark
1303
1043
  ),
1304
- alt: i.logo.alt ?? i.pageTitle,
1305
- style: { width: i.logo.width },
1044
+ alt: o.logo.alt ?? o.pageTitle,
1045
+ style: { width: o.logo.width },
1306
1046
  className: "h-10 hidden dark:block",
1307
1047
  loading: "lazy"
1308
1048
  }
1309
1049
  )
1310
1050
  ] }),
1311
- /* @__PURE__ */ a.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: i == null ? void 0 : i.pageTitle })
1051
+ /* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
1312
1052
  ] }) }) }),
1313
- /* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1314
- /* @__PURE__ */ a.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ a.jsx(ct, {}) }),
1315
- /* @__PURE__ */ a.jsx(ha, {}),
1316
- /* @__PURE__ */ a.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
1317
- /* @__PURE__ */ a.jsx(O, { name: "head-navigation-start" }),
1318
- n && /* @__PURE__ */ a.jsx(
1319
- je,
1053
+ /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1054
+ /* @__PURE__ */ n.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ n.jsx(et, {}) }),
1055
+ /* @__PURE__ */ n.jsx(Ks, {}),
1056
+ /* @__PURE__ */ n.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
1057
+ /* @__PURE__ */ n.jsx(D, { name: "head-navigation-start" }),
1058
+ a && /* @__PURE__ */ n.jsx(
1059
+ pe,
1320
1060
  {
1321
- fallback: /* @__PURE__ */ a.jsx(ra, { className: "rounded h-5 w-24 mr-4" }),
1322
- children: r ? Object.values(d).length > 0 && /* @__PURE__ */ a.jsxs(hr, { modal: !1, children: [
1323
- /* @__PURE__ */ a.jsx(fr, { asChild: !0, children: /* @__PURE__ */ a.jsx(de, { variant: "ghost", children: s != null && s.name ? `${s.name}` : "My Account" }) }),
1324
- /* @__PURE__ */ a.jsxs(mr, { className: "w-56", children: [
1325
- /* @__PURE__ */ a.jsxs(gr, { children: [
1326
- s != null && s.name ? `${s.name}` : "My Account",
1327
- (s == null ? void 0 : s.email) && /* @__PURE__ */ a.jsx("div", { className: "font-normal text-muted-foreground", children: s.email })
1061
+ fallback: /* @__PURE__ */ n.jsx(Is, { className: "rounded h-5 w-24 mr-4" }),
1062
+ children: s ? Object.values(d).length > 0 && /* @__PURE__ */ n.jsxs(ss, { modal: !1, children: [
1063
+ /* @__PURE__ */ n.jsx(ns, { asChild: !0, children: /* @__PURE__ */ n.jsx(le, { variant: "ghost", children: r != null && r.name ? `${r.name}` : "My Account" }) }),
1064
+ /* @__PURE__ */ n.jsxs(rs, { className: "w-56", children: [
1065
+ /* @__PURE__ */ n.jsxs(as, { children: [
1066
+ r != null && r.name ? `${r.name}` : "My Account",
1067
+ (r == null ? void 0 : r.email) && /* @__PURE__ */ n.jsx("div", { className: "font-normal text-muted-foreground", children: r.email })
1328
1068
  ] }),
1329
- d.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ a.jsx(le, {}),
1330
- d.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ a.jsx(re, { item: l }, l.label)),
1069
+ d.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ n.jsx(ae, {}),
1070
+ d.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ n.jsx(G, { item: l }, l.label)),
1331
1071
  d.filter(
1332
1072
  (l) => !l.category || l.category === "middle"
1333
- ).length > 0 && /* @__PURE__ */ a.jsx(le, {}),
1073
+ ).length > 0 && /* @__PURE__ */ n.jsx(ae, {}),
1334
1074
  d.filter(
1335
1075
  (l) => !l.category || l.category === "middle"
1336
- ).map((l) => /* @__PURE__ */ a.jsx(re, { item: l }, l.label)),
1337
- d.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ a.jsx(le, {}),
1338
- d.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ a.jsx(re, { item: l }, l.label))
1076
+ ).map((l) => /* @__PURE__ */ n.jsx(G, { item: l }, l.label)),
1077
+ d.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ n.jsx(ae, {}),
1078
+ d.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ n.jsx(G, { item: l }, l.label))
1339
1079
  ] })
1340
- ] }) : /* @__PURE__ */ a.jsx(de, { variant: "ghost", onClick: () => t.login(), children: "Login" })
1080
+ ] }) : /* @__PURE__ */ n.jsx(le, { variant: "ghost", onClick: () => t.login(), children: "Login" })
1341
1081
  }
1342
1082
  ),
1343
- /* @__PURE__ */ a.jsx(ut, {}),
1344
- /* @__PURE__ */ a.jsx(O, { name: "head-navigation-end" })
1083
+ /* @__PURE__ */ n.jsx(tt, {}),
1084
+ /* @__PURE__ */ n.jsx(D, { name: "head-navigation-end" })
1345
1085
  ] })
1346
1086
  ] })
1347
1087
  ] }),
1348
- /* @__PURE__ */ a.jsx(O, { name: "top-navigation-before" }),
1349
- /* @__PURE__ */ a.jsx(da, {}),
1350
- /* @__PURE__ */ a.jsx(O, { name: "top-navigation-after" })
1088
+ /* @__PURE__ */ n.jsx(D, { name: "top-navigation-before" }),
1089
+ /* @__PURE__ */ n.jsx(Ls, {}),
1090
+ /* @__PURE__ */ n.jsx(D, { name: "top-navigation-after" })
1351
1091
  ] })
1352
1092
  ] });
1353
- }), mt = Ht(({ children: e, className: t, pushMainContent: r }, s) => /* @__PURE__ */ a.jsx(
1093
+ }), at = qt(({ children: e, className: t, pushMainContent: s }, r) => /* @__PURE__ */ n.jsx(
1354
1094
  "nav",
1355
1095
  {
1356
- "data-navigation": String(r),
1357
- className: R(
1096
+ "data-navigation": String(s),
1097
+ className: M(
1358
1098
  "scrollbar peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0",
1359
1099
  "-mx-[--padding-nav-item] pb-20 mt-[--padding-content-top]",
1360
1100
  "w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
1361
1101
  t
1362
1102
  ),
1363
- ref: s,
1103
+ ref: r,
1364
1104
  children: e
1365
1105
  }
1366
1106
  ));
1367
- mt.displayName = "SidebarWrapper";
1368
- const fa = ({
1107
+ at.displayName = "SidebarWrapper";
1108
+ const $s = ({
1369
1109
  onRequestClose: e
1370
1110
  }) => {
1371
- const t = pe(null), r = Ze();
1372
- return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1373
- /* @__PURE__ */ a.jsxs(
1374
- mt,
1111
+ const t = me(null), s = $e();
1112
+ return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1113
+ /* @__PURE__ */ n.jsxs(
1114
+ at,
1375
1115
  {
1376
1116
  ref: t,
1377
- pushMainContent: r.sidebar.length > 0,
1117
+ pushMainContent: s.sidebar.length > 0,
1378
1118
  children: [
1379
- /* @__PURE__ */ a.jsx(O, { name: "zudoku-before-navigation" }),
1380
- r.sidebar.map((s) => /* @__PURE__ */ a.jsx(fe, { item: s }, s.label)),
1381
- /* @__PURE__ */ a.jsx(O, { name: "zudoku-after-navigation" })
1119
+ /* @__PURE__ */ n.jsx(D, { name: "zudoku-before-navigation" }),
1120
+ s.sidebar.map((r) => /* @__PURE__ */ n.jsx(ce, { item: r }, r.label)),
1121
+ /* @__PURE__ */ n.jsx(D, { name: "zudoku-after-navigation" })
1382
1122
  ]
1383
1123
  }
1384
1124
  ),
1385
- /* @__PURE__ */ a.jsx(
1386
- rt,
1125
+ /* @__PURE__ */ n.jsx(
1126
+ _e,
1387
1127
  {
1388
1128
  className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
1389
1129
  "aria-describedby": void 0,
1390
- children: /* @__PURE__ */ a.jsxs("div", { className: "p-6 overflow-y-auto overscroll-none", children: [
1391
- /* @__PURE__ */ a.jsx(st, { children: /* @__PURE__ */ a.jsx(at, { children: "Sidebar" }) }),
1392
- r.sidebar.map((s) => /* @__PURE__ */ a.jsx(
1393
- fe,
1130
+ children: /* @__PURE__ */ n.jsxs("div", { className: "p-6 overflow-y-auto overscroll-none", children: [
1131
+ /* @__PURE__ */ n.jsx(Je, { children: /* @__PURE__ */ n.jsx(Ye, { children: "Sidebar" }) }),
1132
+ s.sidebar.map((r) => /* @__PURE__ */ n.jsx(
1133
+ ce,
1394
1134
  {
1395
- item: s,
1135
+ item: r,
1396
1136
  onRequestClose: e
1397
1137
  },
1398
- s.label
1138
+ r.label
1399
1139
  ))
1400
1140
  ] })
1401
1141
  }
1402
1142
  )
1403
1143
  ] });
1404
- }, qe = () => /* @__PURE__ */ a.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ a.jsx(Nr, {}) }), ma = ({ children: e }) => {
1405
- const t = ye(), { setActiveAnchor: r } = we(), { meta: s, authentication: n } = F();
1406
- ea(), ta();
1407
- const o = pe(t.pathname);
1408
- z(() => {
1144
+ }, Qe = () => /* @__PURE__ */ n.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ n.jsx(ms, {}) }), Zs = ({ children: e }) => {
1145
+ const t = de(), { setActiveAnchor: s } = xe(), { meta: r, authentication: a } = T();
1146
+ As(), Es();
1147
+ const i = me(t.pathname);
1148
+ R(() => {
1409
1149
  var f;
1410
- (f = n == null ? void 0 : n.onPageLoad) == null || f.call(n);
1411
- }, [n]), z(() => {
1412
- t.pathname !== o.current && r(""), o.current = t.pathname;
1413
- }, [t.pathname, r]);
1414
- const i = !!be().location, c = Xr.useSpinDelay(i, {
1150
+ (f = a == null ? void 0 : a.onPageLoad) == null || f.call(a);
1151
+ }, [a]), R(() => {
1152
+ t.pathname !== i.current && s(""), i.current = t.pathname;
1153
+ }, [t.pathname, s]);
1154
+ const o = !!he().location, u = Ds.useSpinDelay(o, {
1415
1155
  delay: 300,
1416
1156
  minDuration: 500
1417
1157
  }), [d, l] = Q(!1);
1418
- return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1158
+ return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1419
1159
  !1,
1420
- /* @__PURE__ */ a.jsxs(me, { titleTemplate: s == null ? void 0 : s.title, children: [
1421
- (s == null ? void 0 : s.description) && /* @__PURE__ */ a.jsx("meta", { name: "description", content: s.description }),
1422
- (s == null ? void 0 : s.favicon) && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: s.favicon })
1160
+ /* @__PURE__ */ n.jsxs(ue, { titleTemplate: r == null ? void 0 : r.title, children: [
1161
+ (r == null ? void 0 : r.description) && /* @__PURE__ */ n.jsx("meta", { name: "description", content: r.description }),
1162
+ (r == null ? void 0 : r.favicon) && /* @__PURE__ */ n.jsx("link", { rel: "icon", href: r.favicon })
1423
1163
  ] }),
1424
- /* @__PURE__ */ a.jsx(O, { name: "layout-before-head" }),
1425
- /* @__PURE__ */ a.jsx(ft, {}),
1426
- /* @__PURE__ */ a.jsx(O, { name: "layout-after-head" }),
1427
- /* @__PURE__ */ a.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-10 lg:px-12", children: c ? /* @__PURE__ */ a.jsx(qe, {}) : /* @__PURE__ */ a.jsx(ve, { fallback: /* @__PURE__ */ a.jsx(qe, {}), children: /* @__PURE__ */ a.jsxs(
1428
- et,
1164
+ /* @__PURE__ */ n.jsx(D, { name: "layout-before-head" }),
1165
+ /* @__PURE__ */ n.jsx(rt, {}),
1166
+ /* @__PURE__ */ n.jsx(D, { name: "layout-after-head" }),
1167
+ /* @__PURE__ */ n.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-10 lg:px-12", children: u ? /* @__PURE__ */ n.jsx(Qe, {}) : /* @__PURE__ */ n.jsx(ge, { fallback: /* @__PURE__ */ n.jsx(Qe, {}), children: /* @__PURE__ */ n.jsxs(
1168
+ We,
1429
1169
  {
1430
1170
  direction: "left",
1431
1171
  open: d,
1432
1172
  onOpenChange: (f) => l(f),
1433
1173
  children: [
1434
- /* @__PURE__ */ a.jsx(fa, { onRequestClose: () => l(!1) }),
1435
- /* @__PURE__ */ a.jsx(
1174
+ /* @__PURE__ */ n.jsx($s, { onRequestClose: () => l(!1) }),
1175
+ /* @__PURE__ */ n.jsx(
1436
1176
  "div",
1437
1177
  {
1438
- className: R(
1178
+ className: M(
1439
1179
  "lg:hidden -mx-10 px-10 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
1440
1180
  "peer-data-[navigation=false]:hidden"
1441
1181
  ),
1442
- children: /* @__PURE__ */ a.jsxs(tt, { className: "flex items-center gap-2", children: [
1443
- /* @__PURE__ */ a.jsx(sr, { size: 16, strokeWidth: 1.5 }),
1444
- /* @__PURE__ */ a.jsx("span", { className: "text-sm", children: "Menu" })
1182
+ children: /* @__PURE__ */ n.jsxs(Xe, { className: "flex items-center gap-2", children: [
1183
+ /* @__PURE__ */ n.jsx(Wt, { size: 16, strokeWidth: 1.5 }),
1184
+ /* @__PURE__ */ n.jsx("span", { className: "text-sm", children: "Menu" })
1445
1185
  ] })
1446
1186
  }
1447
1187
  ),
1448
- /* @__PURE__ */ a.jsxs(
1188
+ /* @__PURE__ */ n.jsxs(
1449
1189
  "main",
1450
1190
  {
1451
- className: R(
1191
+ className: M(
1452
1192
  "h-full dark:border-white/10 translate-x-0",
1453
1193
  "lg:overflow-visible",
1454
1194
  // This works in tandem with the `SidebarWrapper` component
@@ -1456,9 +1196,9 @@ const fa = ({
1456
1196
  "lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
1457
1197
  ),
1458
1198
  children: [
1459
- /* @__PURE__ */ a.jsx(O, { name: "zudoku-before-content" }),
1460
- e ?? /* @__PURE__ */ a.jsx(Ge, {}),
1461
- /* @__PURE__ */ a.jsx(O, { name: "zudoku-after-content" })
1199
+ /* @__PURE__ */ n.jsx(D, { name: "zudoku-before-content" }),
1200
+ e ?? /* @__PURE__ */ n.jsx(Be, {}),
1201
+ /* @__PURE__ */ n.jsx(D, { name: "zudoku-after-content" })
1462
1202
  ]
1463
1203
  }
1464
1204
  )
@@ -1466,13 +1206,13 @@ const fa = ({
1466
1206
  }
1467
1207
  ) }) })
1468
1208
  ] });
1469
- }, ga = Je(null), ce = {
1209
+ }, Vs = Ue(null), ie = {
1470
1210
  didCatch: !1,
1471
1211
  error: null
1472
1212
  };
1473
- class pa extends Ut {
1213
+ class Us extends Rt {
1474
1214
  constructor(t) {
1475
- super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ce;
1215
+ super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ie;
1476
1216
  }
1477
1217
  static getDerivedStateFromError(t) {
1478
1218
  return {
@@ -1485,174 +1225,174 @@ class pa extends Ut {
1485
1225
  error: t
1486
1226
  } = this.state;
1487
1227
  if (t !== null) {
1488
- for (var r, s, n = arguments.length, o = new Array(n), i = 0; i < n; i++)
1489
- o[i] = arguments[i];
1490
- (r = (s = this.props).onReset) === null || r === void 0 || r.call(s, {
1491
- args: o,
1228
+ for (var s, r, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
1229
+ i[o] = arguments[o];
1230
+ (s = (r = this.props).onReset) === null || s === void 0 || s.call(r, {
1231
+ args: i,
1492
1232
  reason: "imperative-api"
1493
- }), this.setState(ce);
1233
+ }), this.setState(ie);
1494
1234
  }
1495
1235
  }
1496
- componentDidCatch(t, r) {
1497
- var s, n;
1498
- (s = (n = this.props).onError) === null || s === void 0 || s.call(n, t, r);
1236
+ componentDidCatch(t, s) {
1237
+ var r, a;
1238
+ (r = (a = this.props).onError) === null || r === void 0 || r.call(a, t, s);
1499
1239
  }
1500
- componentDidUpdate(t, r) {
1240
+ componentDidUpdate(t, s) {
1501
1241
  const {
1502
- didCatch: s
1242
+ didCatch: r
1503
1243
  } = this.state, {
1504
- resetKeys: n
1244
+ resetKeys: a
1505
1245
  } = this.props;
1506
- if (s && r.error !== null && va(t.resetKeys, n)) {
1507
- var o, i;
1508
- (o = (i = this.props).onReset) === null || o === void 0 || o.call(i, {
1509
- next: n,
1246
+ if (r && s.error !== null && Ws(t.resetKeys, a)) {
1247
+ var i, o;
1248
+ (i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
1249
+ next: a,
1510
1250
  prev: t.resetKeys,
1511
1251
  reason: "keys"
1512
- }), this.setState(ce);
1252
+ }), this.setState(ie);
1513
1253
  }
1514
1254
  }
1515
1255
  render() {
1516
1256
  const {
1517
1257
  children: t,
1518
- fallbackRender: r,
1519
- FallbackComponent: s,
1520
- fallback: n
1258
+ fallbackRender: s,
1259
+ FallbackComponent: r,
1260
+ fallback: a
1521
1261
  } = this.props, {
1522
- didCatch: o,
1523
- error: i
1262
+ didCatch: i,
1263
+ error: o
1524
1264
  } = this.state;
1525
- let c = t;
1526
- if (o) {
1265
+ let u = t;
1266
+ if (i) {
1527
1267
  const d = {
1528
- error: i,
1268
+ error: o,
1529
1269
  resetErrorBoundary: this.resetErrorBoundary
1530
1270
  };
1531
- if (typeof r == "function")
1532
- c = r(d);
1533
- else if (s)
1534
- c = Ie(s, d);
1535
- else if (n !== void 0)
1536
- c = n;
1271
+ if (typeof s == "function")
1272
+ u = s(d);
1273
+ else if (r)
1274
+ u = De(r, d);
1275
+ else if (a !== void 0)
1276
+ u = a;
1537
1277
  else
1538
- throw i;
1278
+ throw o;
1539
1279
  }
1540
- return Ie(ga.Provider, {
1280
+ return De(Vs.Provider, {
1541
1281
  value: {
1542
- didCatch: o,
1543
- error: i,
1282
+ didCatch: i,
1283
+ error: o,
1544
1284
  resetErrorBoundary: this.resetErrorBoundary
1545
1285
  }
1546
- }, c);
1286
+ }, u);
1547
1287
  }
1548
1288
  }
1549
- function va() {
1289
+ function Ws() {
1550
1290
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1551
- return e.length !== t.length || e.some((r, s) => !Object.is(r, t[s]));
1291
+ return e.length !== t.length || e.some((s, r) => !Object.is(s, t[r]));
1552
1292
  }
1553
- class xa {
1293
+ class Xs {
1554
1294
  constructor(t) {
1555
- S(this, "plugins");
1556
- S(this, "sidebars");
1557
- S(this, "topNavigation");
1558
- S(this, "meta");
1559
- S(this, "page");
1560
- S(this, "authentication");
1561
- S(this, "navigationPlugins");
1562
- S(this, "initialize", async () => {
1295
+ k(this, "plugins");
1296
+ k(this, "sidebars");
1297
+ k(this, "topNavigation");
1298
+ k(this, "meta");
1299
+ k(this, "page");
1300
+ k(this, "authentication");
1301
+ k(this, "navigationPlugins");
1302
+ k(this, "initialize", async () => {
1563
1303
  await Promise.all(
1564
- this.plugins.filter(ia).map((t) => {
1565
- var r;
1566
- return (r = t.initialize) == null ? void 0 : r.call(t, this);
1304
+ this.plugins.filter(Rs).map((t) => {
1305
+ var s;
1306
+ return (s = t.initialize) == null ? void 0 : s.call(t, this);
1567
1307
  })
1568
1308
  );
1569
1309
  });
1570
- S(this, "getApiIdentities", async () => (await Promise.all(
1571
- this.plugins.filter(ca).map((r) => r.getIdentities(this))
1310
+ k(this, "getApiIdentities", async () => (await Promise.all(
1311
+ this.plugins.filter(zs).map((s) => s.getIdentities(this))
1572
1312
  )).flat());
1573
- S(this, "getPluginSidebar", async (t) => (await Promise.all(
1313
+ k(this, "getPluginSidebar", async (t) => (await Promise.all(
1574
1314
  this.navigationPlugins.map(
1575
- (s) => {
1576
- var n;
1577
- return (n = s.getSidebar) == null ? void 0 : n.call(s, q(t));
1315
+ (r) => {
1316
+ var a;
1317
+ return (a = r.getSidebar) == null ? void 0 : a.call(r, q(t));
1578
1318
  }
1579
1319
  )
1580
- )).flatMap((s) => s ?? []));
1581
- S(this, "signRequest", async (t) => {
1320
+ )).flatMap((r) => r ?? []));
1321
+ k(this, "signRequest", async (t) => {
1582
1322
  if (!this.authentication)
1583
1323
  throw new Error("No authentication provider configured");
1584
- const r = await this.authentication.getAccessToken();
1585
- return t.headers.set("Authorization", `Bearer ${r}`), t;
1324
+ const s = await this.authentication.getAccessToken();
1325
+ return t.headers.set("Authorization", `Bearer ${s}`), t;
1586
1326
  });
1587
- this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(sa), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
1327
+ this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Ts), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
1588
1328
  }
1589
1329
  }
1590
- function ya({ error: e, resetErrorBoundary: t }) {
1591
- return /* @__PURE__ */ a.jsx(Ue, { error: e });
1330
+ function _s({ error: e, resetErrorBoundary: t }) {
1331
+ return /* @__PURE__ */ n.jsx(ze, { error: e });
1592
1332
  }
1593
- const te = globalThis;
1594
- (!te.requestIdleCallback || !te.cancelIdleCallback) && (te.requestIdleCallback = (e) => setTimeout(e, 1), te.cancelIdleCallback = clearTimeout);
1595
- const gt = {
1596
- Header: ft
1597
- }, ba = Je(gt), ja = ba.Provider, wa = ({
1333
+ const J = globalThis;
1334
+ (!J.requestIdleCallback || !J.cancelIdleCallback) && (J.requestIdleCallback = (e) => setTimeout(e, 1), J.cancelIdleCallback = clearTimeout);
1335
+ const it = {
1336
+ Header: rt
1337
+ }, Ys = Ue(it), Js = Ys.Provider, Gs = ({
1598
1338
  children: e,
1599
1339
  context: t
1600
- }) => (qt({
1340
+ }) => (At({
1601
1341
  queryFn: async () => (await t.initialize(), !0),
1602
1342
  queryKey: ["zudoku-initialize"]
1603
- }), /* @__PURE__ */ a.jsx(zt.Provider, { value: t, children: e })), pt = Xe(
1343
+ }), /* @__PURE__ */ n.jsx(Et.Provider, { value: t, children: e })), ot = Ve(
1604
1344
  ({ children: e, ...t }) => {
1605
1345
  var m, h;
1606
- const r = ne(
1607
- () => ({ ...gt, ...t.overrides }),
1346
+ const s = se(
1347
+ () => ({ ...it, ...t.overrides }),
1608
1348
  [t.overrides]
1609
- ), s = ne(() => {
1610
- var v;
1349
+ ), r = se(() => {
1350
+ var x;
1611
1351
  return {
1612
- ...(t.plugins ?? []).filter(la).flatMap(
1352
+ ...(t.plugins ?? []).filter(Bs).flatMap(
1613
1353
  (g) => g.getMdxComponents ? [g.getMdxComponents()] : []
1614
1354
  ).reduce(
1615
- (g, E) => ({ ...g, ...E }),
1355
+ (g, N) => ({ ...g, ...N }),
1616
1356
  {}
1617
1357
  ),
1618
- ...nr,
1619
- ...(v = t.mdx) == null ? void 0 : v.components
1358
+ ...Xt,
1359
+ ...(x = t.mdx) == null ? void 0 : x.components
1620
1360
  };
1621
- }, [(m = t.mdx) == null ? void 0 : m.components, t.plugins]), { stagger: n } = $t(ue), [o, i] = Q(!1), c = ne(
1622
- () => o ? { stagger: !0 } : { stagger: n },
1623
- [n, o]
1624
- ), d = be();
1625
- z(() => {
1626
- o || i(!0);
1627
- }, [o, d.location]);
1628
- const [l] = Q(() => new xa(t)), f = (h = t.plugins) == null ? void 0 : h.filter(oa).map((p, v) => {
1361
+ }, [(m = t.mdx) == null ? void 0 : m.components, t.plugins]), { stagger: a } = Ft(oe), [i, o] = Q(!1), u = se(
1362
+ () => i ? { stagger: !0 } : { stagger: a },
1363
+ [a, i]
1364
+ ), d = he();
1365
+ R(() => {
1366
+ i || o(!0);
1367
+ }, [i, d.location]);
1368
+ const [l] = Q(() => new Xs(t)), f = (h = t.plugins) == null ? void 0 : h.filter(Fs).map((p, x) => {
1629
1369
  var g;
1630
- return /* @__PURE__ */ a.jsx(Kt, { children: (g = p.getHead) == null ? void 0 : g.call(p) }, v);
1370
+ return /* @__PURE__ */ n.jsx(Bt, { children: (g = p.getHead) == null ? void 0 : g.call(p) }, x);
1631
1371
  });
1632
- return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1633
- /* @__PURE__ */ a.jsx(me, { children: f }),
1634
- /* @__PURE__ */ a.jsx(ue.Provider, { value: c, children: /* @__PURE__ */ a.jsx(wa, { context: l, children: /* @__PURE__ */ a.jsx(ur, { components: s, children: /* @__PURE__ */ a.jsx(wr, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ a.jsx(ja, { value: r, children: /* @__PURE__ */ a.jsx(Et, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx(ir, { children: e ?? /* @__PURE__ */ a.jsx(Ge, {}) }) }) }) }) }) }) })
1372
+ return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1373
+ /* @__PURE__ */ n.jsx(ue, { children: f }),
1374
+ /* @__PURE__ */ n.jsx(oe.Provider, { value: u, children: /* @__PURE__ */ n.jsx(Gs, { context: l, children: /* @__PURE__ */ n.jsx(es, { components: r, children: /* @__PURE__ */ n.jsx(hs, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ n.jsx(Js, { value: s, children: /* @__PURE__ */ n.jsx(xt, { slotlets: t.slotlets, children: /* @__PURE__ */ n.jsx(_t, { children: e ?? /* @__PURE__ */ n.jsx(Be, {}) }) }) }) }) }) }) })
1635
1375
  ] });
1636
1376
  }
1637
1377
  );
1638
- pt.displayName = "ZudokoInner";
1639
- const vt = (e) => /* @__PURE__ */ a.jsx(pa, { FallbackComponent: ya, children: /* @__PURE__ */ a.jsx(pt, { ...e }) });
1640
- vt.displayName = "Zudoku";
1641
- const Xa = dr, Ja = ma, Ga = Ct, es = Er, ts = Yr, rs = Wr, as = me, ss = F, ns = Nt, is = vt, os = kt, ls = je, cs = Pt, us = ge;
1378
+ ot.displayName = "ZudokoInner";
1379
+ const lt = (e) => /* @__PURE__ */ n.jsx(Us, { FallbackComponent: _s, children: /* @__PURE__ */ n.jsx(ot, { ...e }) });
1380
+ lt.displayName = "Zudoku";
1381
+ const Pn = ts, Sn = Zs, Dn = yt, On = gs, Mn = Cs, An = Ns, En = ue, In = T, Qn = pt, Tn = lt, qn = bt, Rn = pe, Fn = vt, Bn = fe;
1642
1382
  export {
1643
- ts as Bootstrap,
1644
- rs as BootstrapStatic,
1645
- cs as Button,
1646
- os as Callout,
1647
- ls as ClientOnly,
1648
- as as Head,
1649
- Ja as Layout,
1650
- us as Link,
1651
- Ga as RouterError,
1652
- es as ServerError,
1653
- is as Zudoku,
1654
- ns as useAuth,
1655
- Xa as useMDXComponents,
1656
- ss as useZudoku
1383
+ Mn as Bootstrap,
1384
+ An as BootstrapStatic,
1385
+ Fn as Button,
1386
+ qn as Callout,
1387
+ Rn as ClientOnly,
1388
+ En as Head,
1389
+ Sn as Layout,
1390
+ Bn as Link,
1391
+ Dn as RouterError,
1392
+ On as ServerError,
1393
+ Tn as Zudoku,
1394
+ Qn as useAuth,
1395
+ Pn as useMDXComponents,
1396
+ In as useZudoku
1657
1397
  };
1658
1398
  //# sourceMappingURL=zudoku.components.js.map