zudoku 0.3.0-dev.6 → 0.3.0-dev.60

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 (523) hide show
  1. package/dist/app/App.d.ts +1 -2
  2. package/dist/app/App.js +1 -29
  3. package/dist/app/App.js.map +1 -1
  4. package/dist/app/demo.d.ts +2 -0
  5. package/dist/app/demo.js +32 -0
  6. package/dist/app/demo.js.map +1 -0
  7. package/dist/app/entry.client.d.ts +2 -0
  8. package/dist/app/entry.client.js +35 -0
  9. package/dist/app/entry.client.js.map +1 -0
  10. package/dist/app/entry.server.d.ts +14 -0
  11. package/dist/app/entry.server.js +105 -0
  12. package/dist/app/entry.server.js.map +1 -0
  13. package/dist/app/main.d.ts +6 -1
  14. package/dist/app/main.js +67 -12
  15. package/dist/app/main.js.map +1 -1
  16. package/dist/app/standalone.d.ts +2 -0
  17. package/dist/app/standalone.js +37 -0
  18. package/dist/app/standalone.js.map +1 -0
  19. package/dist/app/tailwind.d.ts +1 -1
  20. package/dist/app/tailwind.js +0 -4
  21. package/dist/app/tailwind.js.map +1 -1
  22. package/dist/cli/cmds/dev.js +5 -0
  23. package/dist/cli/cmds/dev.js.map +1 -1
  24. package/dist/cli/dev/handler.d.ts +1 -0
  25. package/dist/cli/dev/handler.js +3 -1
  26. package/dist/cli/dev/handler.js.map +1 -1
  27. package/dist/config/config.d.ts +5 -39
  28. package/dist/config/validators/validate.d.ts +878 -2
  29. package/dist/config/validators/validate.js +144 -1
  30. package/dist/config/validators/validate.js.map +1 -1
  31. package/dist/internal.d.ts +1 -0
  32. package/dist/internal.js +2 -0
  33. package/dist/internal.js.map +1 -0
  34. package/dist/lib/authentication/AuthenticationPlugin.d.ts +16 -0
  35. package/dist/lib/authentication/AuthenticationPlugin.js +31 -0
  36. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -0
  37. package/dist/lib/authentication/Callback.js +1 -1
  38. package/dist/lib/authentication/Callback.js.map +1 -1
  39. package/dist/lib/authentication/authentication.d.ts +3 -4
  40. package/dist/lib/authentication/components/Login.d.ts +1 -0
  41. package/dist/lib/authentication/components/Login.js +10 -0
  42. package/dist/lib/authentication/components/Login.js.map +1 -0
  43. package/dist/lib/authentication/components/Logout.d.ts +1 -0
  44. package/dist/lib/authentication/components/Logout.js +10 -0
  45. package/dist/lib/authentication/components/Logout.js.map +1 -0
  46. package/dist/lib/authentication/providers/clerk.js +45 -27
  47. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  48. package/dist/lib/authentication/providers/openid.d.ts +11 -3
  49. package/dist/lib/authentication/providers/openid.js +22 -11
  50. package/dist/lib/authentication/providers/openid.js.map +1 -1
  51. package/dist/lib/authentication/routes.d.ts +5 -0
  52. package/dist/lib/authentication/routes.js +12 -0
  53. package/dist/lib/authentication/routes.js.map +1 -0
  54. package/dist/lib/components/Bootstrap.d.ts +13 -0
  55. package/dist/lib/components/Bootstrap.js +12 -0
  56. package/dist/lib/components/Bootstrap.js.map +1 -0
  57. package/dist/lib/components/DevPortal.d.ts +4 -19
  58. package/dist/lib/components/DevPortal.js +30 -12
  59. package/dist/lib/components/DevPortal.js.map +1 -1
  60. package/dist/lib/components/DeveloperHint.d.ts +5 -0
  61. package/dist/lib/components/DeveloperHint.js +10 -0
  62. package/dist/lib/components/DeveloperHint.js.map +1 -0
  63. package/dist/lib/components/ErrorPage.d.ts +6 -0
  64. package/dist/lib/components/ErrorPage.js +9 -0
  65. package/dist/lib/components/ErrorPage.js.map +1 -0
  66. package/dist/lib/components/Header.js +17 -3
  67. package/dist/lib/components/Header.js.map +1 -1
  68. package/dist/lib/components/Heading.d.ts +9 -4
  69. package/dist/lib/components/Heading.js +17 -2
  70. package/dist/lib/components/Heading.js.map +1 -1
  71. package/dist/lib/components/InlineCode.d.ts +5 -0
  72. package/dist/lib/components/InlineCode.js +4 -0
  73. package/dist/lib/components/InlineCode.js.map +1 -0
  74. package/dist/lib/components/Layout.js +3 -2
  75. package/dist/lib/components/Layout.js.map +1 -1
  76. package/dist/lib/components/NotFoundPage.d.ts +1 -0
  77. package/dist/lib/components/NotFoundPage.js +12 -0
  78. package/dist/lib/components/NotFoundPage.js.map +1 -0
  79. package/dist/lib/components/SyntaxHighlight.d.ts +3 -2
  80. package/dist/lib/components/SyntaxHighlight.js +20 -18
  81. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  82. package/dist/lib/components/TopNavigation.d.ts +1 -1
  83. package/dist/lib/components/TopNavigation.js +5 -1
  84. package/dist/lib/components/TopNavigation.js.map +1 -1
  85. package/dist/lib/components/context/DevPortalProvider.d.ts +1 -1
  86. package/dist/lib/components/context/DevPortalProvider.js +20 -3
  87. package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
  88. package/dist/lib/components/index.d.ts +32 -3
  89. package/dist/lib/components/index.js +21 -3
  90. package/dist/lib/components/index.js.map +1 -1
  91. package/dist/lib/components/navigation/SideNavigationCategory.js +2 -2
  92. package/dist/lib/components/navigation/SideNavigationCategory.js.map +1 -1
  93. package/dist/lib/components/navigation/SideNavigationItem.js +1 -1
  94. package/dist/lib/components/navigation/SideNavigationItem.js.map +1 -1
  95. package/dist/lib/core/DevPortalContext.d.ts +46 -12
  96. package/dist/lib/core/DevPortalContext.js +7 -9
  97. package/dist/lib/core/DevPortalContext.js.map +1 -1
  98. package/dist/lib/core/plugins.d.ts +16 -4
  99. package/dist/lib/core/plugins.js +2 -0
  100. package/dist/lib/core/plugins.js.map +1 -1
  101. package/dist/lib/errors/ErrorAlert.d.ts +3 -0
  102. package/dist/lib/errors/ErrorAlert.js +8 -0
  103. package/dist/lib/errors/ErrorAlert.js.map +1 -0
  104. package/dist/lib/errors/RouterError.d.ts +1 -0
  105. package/dist/lib/errors/RouterError.js +12 -0
  106. package/dist/lib/errors/RouterError.js.map +1 -0
  107. package/dist/lib/errors/ServerError.d.ts +3 -0
  108. package/dist/lib/errors/ServerError.js +6 -0
  109. package/dist/lib/errors/ServerError.js.map +1 -0
  110. package/dist/lib/errors/TopLevelError.d.ts +2 -0
  111. package/dist/lib/errors/TopLevelError.js +7 -0
  112. package/dist/lib/errors/TopLevelError.js.map +1 -0
  113. package/dist/lib/oas/graphql/index.js +6 -4
  114. package/dist/lib/oas/graphql/index.js.map +1 -1
  115. package/dist/lib/oas/parser/index.d.ts +1 -1
  116. package/dist/lib/oas/parser/index.js +38 -12
  117. package/dist/lib/oas/parser/index.js.map +1 -1
  118. package/dist/lib/plugins/{api-key → api-keys}/CreateApiKey.js +1 -1
  119. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -0
  120. package/dist/lib/plugins/api-keys/ProtectedRoute.d.ts +1 -0
  121. package/dist/lib/plugins/api-keys/ProtectedRoute.js +14 -0
  122. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -0
  123. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +39 -0
  124. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -0
  125. package/dist/lib/plugins/{api-key → api-keys}/index.d.ts +4 -5
  126. package/dist/lib/plugins/{api-key → api-keys}/index.js +11 -19
  127. package/dist/lib/plugins/api-keys/index.js.map +1 -0
  128. package/dist/lib/plugins/custom-page/index.d.ts +8 -0
  129. package/dist/lib/plugins/custom-page/index.js +12 -0
  130. package/dist/lib/plugins/custom-page/index.js.map +1 -0
  131. package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -2
  132. package/dist/lib/plugins/markdown/MdxPage.js +7 -6
  133. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  134. package/dist/lib/plugins/markdown/Toc.js +1 -1
  135. package/dist/lib/plugins/markdown/Toc.js.map +1 -1
  136. package/dist/lib/plugins/markdown/generateRoutes.d.ts +3 -3
  137. package/dist/lib/plugins/markdown/generateRoutes.js +4 -4
  138. package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
  139. package/dist/lib/plugins/markdown/index.d.ts +4 -1
  140. package/dist/lib/plugins/markdown/index.js +3 -7
  141. package/dist/lib/plugins/markdown/index.js.map +1 -1
  142. package/dist/lib/plugins/openapi/OperationList.js +17 -5
  143. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  144. package/dist/lib/plugins/openapi/OperationListItem.js +10 -5
  145. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  146. package/dist/lib/plugins/openapi/ParameterList.js +1 -1
  147. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  148. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  149. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  150. package/dist/lib/plugins/openapi/{MakeRequest.d.ts → PlaygroundDialogWrapper.d.ts} +1 -1
  151. package/dist/lib/plugins/openapi/{MakeRequest.js → PlaygroundDialogWrapper.js} +4 -16
  152. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -0
  153. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +1 -9
  154. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  155. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
  156. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  157. package/dist/lib/plugins/openapi/Route.d.ts +6 -0
  158. package/dist/lib/plugins/openapi/Route.js +8 -0
  159. package/dist/lib/plugins/openapi/Route.js.map +1 -0
  160. package/dist/lib/plugins/openapi/SchemaListView.js +6 -27
  161. package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
  162. package/dist/lib/plugins/openapi/SchemaListViewItem.d.ts +7 -0
  163. package/dist/lib/plugins/openapi/SchemaListViewItem.js +16 -0
  164. package/dist/lib/plugins/openapi/SchemaListViewItem.js.map +1 -0
  165. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.d.ts +8 -0
  166. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js +17 -0
  167. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js.map +1 -0
  168. package/dist/lib/plugins/openapi/Sidecar.js +10 -8
  169. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  170. package/dist/lib/plugins/openapi/SidecarBox.js +1 -1
  171. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  172. package/dist/lib/plugins/openapi/{Select.d.ts → SimpleSelect.d.ts} +3 -2
  173. package/dist/lib/plugins/openapi/SimpleSelect.js +5 -0
  174. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -0
  175. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +8 -0
  176. package/dist/lib/plugins/openapi/StaggeredRender.js +18 -0
  177. package/dist/lib/plugins/openapi/StaggeredRender.js.map +1 -0
  178. package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +12 -0
  179. package/dist/lib/plugins/openapi/client/createMemoryClient.js +46 -0
  180. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +1 -0
  181. package/dist/lib/plugins/openapi/client/createServer.d.ts +4 -0
  182. package/dist/lib/plugins/openapi/client/createServer.js +30 -0
  183. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -0
  184. package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +10 -0
  185. package/dist/lib/plugins/openapi/{worker/createSharedWorkerClient.js → client/createWorkerClient.js} +15 -2
  186. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -0
  187. package/dist/lib/plugins/openapi/client/interfaces.d.ts +4 -0
  188. package/dist/lib/plugins/openapi/client/interfaces.js +2 -0
  189. package/dist/lib/plugins/openapi/client/interfaces.js.map +1 -0
  190. package/dist/lib/plugins/openapi/{worker → client}/worker.js +2 -2
  191. package/dist/lib/plugins/openapi/client/worker.js.map +1 -0
  192. package/dist/lib/plugins/openapi/context.d.ts +5 -0
  193. package/dist/lib/plugins/openapi/context.js +11 -0
  194. package/dist/lib/plugins/openapi/context.js.map +1 -0
  195. package/dist/lib/plugins/openapi/index.d.ts +4 -18
  196. package/dist/lib/plugins/openapi/index.js +35 -20
  197. package/dist/lib/plugins/openapi/index.js.map +1 -1
  198. package/dist/lib/plugins/openapi/interfaces.d.ts +15 -0
  199. package/dist/lib/plugins/openapi/interfaces.js +2 -0
  200. package/dist/lib/plugins/openapi/interfaces.js.map +1 -0
  201. package/dist/lib/plugins/openapi/playground/Headers.d.ts +2 -3
  202. package/dist/lib/plugins/openapi/playground/Headers.js +16 -6
  203. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  204. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +1 -1
  205. package/dist/lib/plugins/openapi/playground/Playground.d.ts +5 -4
  206. package/dist/lib/plugins/openapi/playground/Playground.js +22 -13
  207. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  208. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +3 -0
  209. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +12 -0
  210. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -0
  211. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
  212. package/dist/lib/plugins/openapi/playground/QueryParams.js +2 -1
  213. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  214. package/dist/lib/plugins/openapi/playground/createUrl.d.ts +1 -1
  215. package/dist/lib/plugins/openapi/util/prose.d.ts +1 -0
  216. package/dist/lib/plugins/openapi/util/prose.js +4 -0
  217. package/dist/lib/plugins/openapi/util/prose.js.map +1 -0
  218. package/dist/lib/plugins/openapi-worker.d.ts +1 -1
  219. package/dist/lib/plugins/openapi-worker.js +1 -1
  220. package/dist/lib/plugins/openapi-worker.js.map +1 -1
  221. package/dist/lib/plugins/redirect/index.d.ts +0 -1
  222. package/dist/lib/plugins/redirect/index.js +3 -4
  223. package/dist/lib/plugins/redirect/index.js.map +1 -1
  224. package/dist/lib/ui/Callout.js +2 -2
  225. package/dist/lib/ui/Callout.js.map +1 -1
  226. package/dist/lib/ui/Card.js +1 -1
  227. package/dist/lib/ui/Card.js.map +1 -1
  228. package/dist/lib/ui/DropdownMenu.d.ts +27 -0
  229. package/dist/lib/ui/DropdownMenu.js +36 -0
  230. package/dist/lib/ui/DropdownMenu.js.map +1 -0
  231. package/dist/lib/ui/button-variants.d.ts +2 -2
  232. package/dist/lib/ui/button-variants.js +1 -0
  233. package/dist/lib/ui/button-variants.js.map +1 -1
  234. package/dist/lib/util/MdxComponents.d.ts +2 -2
  235. package/dist/lib/util/MdxComponents.js +7 -5
  236. package/dist/lib/util/MdxComponents.js.map +1 -1
  237. package/dist/lib/util/groupBy.d.ts +1 -6
  238. package/dist/lib/util/groupBy.js +10 -8
  239. package/dist/lib/util/groupBy.js.map +1 -1
  240. package/dist/lib/util/joinPath.js +2 -1
  241. package/dist/lib/util/joinPath.js.map +1 -1
  242. package/dist/lib/util/logInit.d.ts +1 -0
  243. package/dist/lib/util/logInit.js +9 -0
  244. package/dist/lib/util/logInit.js.map +1 -0
  245. package/dist/lib/util/objectEntries.d.ts +4 -0
  246. package/dist/lib/util/objectEntries.js +2 -0
  247. package/dist/lib/util/objectEntries.js.map +1 -0
  248. package/dist/lib/util/renderIf.d.ts +1 -0
  249. package/dist/lib/util/renderIf.js +2 -0
  250. package/dist/lib/util/renderIf.js.map +1 -0
  251. package/dist/vite/build.js +30 -7
  252. package/dist/vite/build.js.map +1 -1
  253. package/dist/vite/config.d.ts +21 -12
  254. package/dist/vite/config.js +107 -55
  255. package/dist/vite/config.js.map +1 -1
  256. package/dist/vite/config.test.js +6 -3
  257. package/dist/vite/config.test.js.map +1 -1
  258. package/dist/vite/dev-server.d.ts +2 -1
  259. package/dist/vite/dev-server.js +44 -15
  260. package/dist/vite/dev-server.js.map +1 -1
  261. package/dist/vite/html.js +18 -5
  262. package/dist/vite/html.js.map +1 -1
  263. package/dist/vite/plugin-api-keys.js +7 -8
  264. package/dist/vite/plugin-api-keys.js.map +1 -1
  265. package/dist/vite/plugin-api.js +9 -20
  266. package/dist/vite/plugin-api.js.map +1 -1
  267. package/dist/vite/plugin-auth.js +5 -6
  268. package/dist/vite/plugin-auth.js.map +1 -1
  269. package/dist/vite/plugin-component.js +5 -2
  270. package/dist/vite/plugin-component.js.map +1 -1
  271. package/dist/vite/plugin-config.d.ts +0 -2
  272. package/dist/vite/plugin-config.js +2 -13
  273. package/dist/vite/plugin-config.js.map +1 -1
  274. package/dist/vite/plugin-custom-css.d.ts +6 -0
  275. package/dist/vite/plugin-custom-css.js +54 -0
  276. package/dist/vite/plugin-custom-css.js.map +1 -0
  277. package/dist/vite/plugin-docs.js +15 -5
  278. package/dist/vite/plugin-docs.js.map +1 -1
  279. package/dist/vite/plugin-mdx.d.ts +3 -1
  280. package/dist/vite/plugin-mdx.js +5 -5
  281. package/dist/vite/plugin-mdx.js.map +1 -1
  282. package/dist/vite/plugin-metadata.js +1 -1
  283. package/dist/vite/plugin-metadata.js.map +1 -1
  284. package/dist/vite/plugin-redirect.js +10 -10
  285. package/dist/vite/plugin-redirect.js.map +1 -1
  286. package/dist/vite/plugin.js +3 -5
  287. package/dist/vite/plugin.js.map +1 -1
  288. package/dist/vite/prerender.d.ts +17 -0
  289. package/dist/vite/prerender.js +79 -0
  290. package/dist/vite/prerender.js.map +1 -0
  291. package/lib/AnchorLink-Bj1hwDuD.js +705 -0
  292. package/lib/AnchorLink-Bj1hwDuD.js.map +1 -0
  293. package/lib/AuthenticationPlugin-CG6Bw32B.js +46 -0
  294. package/lib/AuthenticationPlugin-CG6Bw32B.js.map +1 -0
  295. package/lib/CategoryHeading-DMkTmmBh.js +10 -0
  296. package/lib/CategoryHeading-DMkTmmBh.js.map +1 -0
  297. package/lib/Combination-lAFQBd6U.js +2774 -0
  298. package/lib/Combination-lAFQBd6U.js.map +1 -0
  299. package/lib/DevPortalProvider-BBhQ8kgI.js +1125 -0
  300. package/lib/DevPortalProvider-BBhQ8kgI.js.map +1 -0
  301. package/lib/Markdown-BjRJKl_E.js +15028 -0
  302. package/lib/Markdown-BjRJKl_E.js.map +1 -0
  303. package/lib/MdxPage-DJTFOCbZ.js +190 -0
  304. package/lib/MdxPage-DJTFOCbZ.js.map +1 -0
  305. package/lib/OperationList-DDTtK3I7.js +5403 -0
  306. package/lib/OperationList-DDTtK3I7.js.map +1 -0
  307. package/lib/Route-Bsrd0acQ.js +13 -0
  308. package/lib/Route-Bsrd0acQ.js.map +1 -0
  309. package/lib/Select-CEnkyfyn.js +2223 -0
  310. package/lib/Select-CEnkyfyn.js.map +1 -0
  311. package/lib/Spinner-Ciq_pWU7.js +359 -0
  312. package/lib/Spinner-Ciq_pWU7.js.map +1 -0
  313. package/lib/_commonjsHelpers-BVfed4GL.js +29 -0
  314. package/lib/_commonjsHelpers-BVfed4GL.js.map +1 -0
  315. package/lib/assets/index-BPdJm2ty.js +1 -0
  316. package/lib/assets/index-BPdJm2ty.js.map +1 -0
  317. package/lib/assets/{worker-BCcpCNJ7.js → worker-BWwCA-wk.js} +10727 -10300
  318. package/lib/assets/worker-BWwCA-wk.js.map +1 -0
  319. package/lib/context-_fYfJFgk.js +14 -0
  320. package/lib/context-_fYfJFgk.js.map +1 -0
  321. package/lib/hook-Q_gAL2NZ.js +93 -0
  322. package/lib/hook-Q_gAL2NZ.js.map +1 -0
  323. package/lib/index-BE2a6gGC.js +726 -0
  324. package/lib/index-BE2a6gGC.js.map +1 -0
  325. package/lib/index-pI9JkN46.js +4765 -0
  326. package/lib/index-pI9JkN46.js.map +1 -0
  327. package/lib/jsx-runtime-BIr0WBt_.js +1526 -0
  328. package/lib/jsx-runtime-BIr0WBt_.js.map +1 -0
  329. package/lib/prism-bash.min-DadFsM4Z.js +1 -0
  330. package/lib/prism-bash.min-DadFsM4Z.js.map +1 -0
  331. package/lib/prism-csharp.min-Yizuc34Y.js +35 -0
  332. package/lib/prism-csharp.min-Yizuc34Y.js.map +1 -0
  333. package/lib/prism-java.min-d5iT_mOd.js +1 -0
  334. package/lib/prism-java.min-d5iT_mOd.js.map +1 -0
  335. package/lib/prism-json.min-B1GJqK1k.js +1 -0
  336. package/lib/prism-json.min-B1GJqK1k.js.map +1 -0
  337. package/lib/prism-markup-templating-DZrrEs0A.js +1 -0
  338. package/lib/prism-markup-templating-DZrrEs0A.js.map +1 -0
  339. package/lib/prism-objectivec.min-BXSWqpJJ.js +2 -0
  340. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -0
  341. package/lib/prism-php.min-o7FpoMP_.js +1 -0
  342. package/lib/prism-php.min-o7FpoMP_.js.map +1 -0
  343. package/lib/prism-ruby.min-C7LwcKyz.js +1 -0
  344. package/lib/prism-ruby.min-C7LwcKyz.js.map +1 -0
  345. package/lib/router-BiRCp01d.js +2971 -0
  346. package/lib/router-BiRCp01d.js.map +1 -0
  347. package/lib/slugify-CiPVjteN.js +28 -0
  348. package/lib/slugify-CiPVjteN.js.map +1 -0
  349. package/lib/state-DKdaQzvh.js +288 -0
  350. package/lib/state-DKdaQzvh.js.map +1 -0
  351. package/lib/urql-DMlBWUKL.js +1 -0
  352. package/lib/urql-DMlBWUKL.js.map +1 -0
  353. package/lib/zudoku.auth-auth0.js +2 -1
  354. package/lib/zudoku.auth-auth0.js.map +1 -0
  355. package/lib/zudoku.auth-clerk.js +48 -31
  356. package/lib/zudoku.auth-clerk.js.map +1 -0
  357. package/lib/zudoku.auth-openid.js +608 -448
  358. package/lib/zudoku.auth-openid.js.map +1 -0
  359. package/lib/zudoku.components.js +1793 -512
  360. package/lib/zudoku.components.js.map +1 -0
  361. package/lib/zudoku.openapi-worker.js +15035 -146
  362. package/lib/zudoku.openapi-worker.js.map +1 -0
  363. package/lib/zudoku.plugin-api-keys.js +313 -0
  364. package/lib/zudoku.plugin-api-keys.js.map +1 -0
  365. package/lib/zudoku.plugin-custom-page.js +13 -0
  366. package/lib/zudoku.plugin-custom-page.js.map +1 -0
  367. package/lib/zudoku.plugin-markdown.js +48 -0
  368. package/lib/zudoku.plugin-markdown.js.map +1 -0
  369. package/lib/zudoku.plugin-openapi.js +10 -0
  370. package/lib/zudoku.plugin-openapi.js.map +1 -0
  371. package/lib/zudoku.plugin-redirect.js +11 -0
  372. package/lib/zudoku.plugin-redirect.js.map +1 -0
  373. package/package.json +60 -24
  374. package/src/app/App.tsx +0 -41
  375. package/src/app/demo-cdn.html +26 -0
  376. package/src/app/demo.html +18 -0
  377. package/src/app/demo.tsx +45 -0
  378. package/src/app/entry.client.tsx +47 -0
  379. package/src/app/entry.server.tsx +160 -0
  380. package/src/app/main.css +80 -0
  381. package/src/app/main.tsx +86 -15
  382. package/src/app/standalone.html +20 -0
  383. package/src/app/standalone.tsx +51 -0
  384. package/src/app/tailwind.ts +2 -6
  385. package/src/lib/authentication/AuthenticationPlugin.tsx +36 -0
  386. package/src/lib/authentication/Callback.tsx +1 -1
  387. package/src/lib/authentication/authentication.ts +3 -7
  388. package/src/lib/authentication/components/Login.tsx +11 -0
  389. package/src/lib/authentication/components/Logout.tsx +11 -0
  390. package/src/lib/authentication/providers/clerk.tsx +44 -27
  391. package/src/lib/authentication/providers/openid.tsx +25 -13
  392. package/src/lib/authentication/routes.tsx +10 -0
  393. package/src/lib/components/Bootstrap.tsx +44 -0
  394. package/src/lib/components/DevPortal.tsx +55 -49
  395. package/src/lib/components/DeveloperHint.tsx +25 -0
  396. package/src/lib/components/ErrorPage.tsx +28 -0
  397. package/src/lib/components/Header.tsx +89 -28
  398. package/src/lib/components/Heading.tsx +26 -7
  399. package/src/lib/components/InlineCode.tsx +19 -0
  400. package/src/lib/components/Layout.tsx +9 -7
  401. package/src/lib/components/NotFoundPage.tsx +33 -0
  402. package/src/lib/components/SyntaxHighlight.tsx +26 -18
  403. package/src/lib/components/TopNavigation.tsx +6 -1
  404. package/src/lib/components/context/DevPortalProvider.ts +24 -4
  405. package/src/lib/components/index.ts +25 -3
  406. package/src/lib/components/navigation/SideNavigationCategory.tsx +3 -3
  407. package/src/lib/components/navigation/SideNavigationItem.tsx +1 -1
  408. package/src/lib/core/DevPortalContext.ts +52 -25
  409. package/src/lib/core/plugins.ts +26 -5
  410. package/src/lib/errors/ErrorAlert.tsx +21 -0
  411. package/src/lib/errors/RouterError.tsx +13 -0
  412. package/src/lib/errors/ServerError.tsx +5 -0
  413. package/src/lib/errors/TopLevelError.tsx +8 -0
  414. package/src/lib/oas/graphql/index.ts +9 -5
  415. package/src/lib/oas/parser/index.ts +41 -20
  416. package/src/lib/plugins/{api-key → api-keys}/CreateApiKey.tsx +1 -1
  417. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +29 -0
  418. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +139 -0
  419. package/src/lib/plugins/{api-key → api-keys}/index.tsx +16 -40
  420. package/src/lib/plugins/custom-page/index.tsx +22 -0
  421. package/src/lib/plugins/markdown/MdxPage.tsx +51 -34
  422. package/src/lib/plugins/markdown/Toc.tsx +1 -1
  423. package/src/lib/plugins/markdown/generateRoutes.tsx +16 -6
  424. package/src/lib/plugins/markdown/index.tsx +10 -7
  425. package/src/lib/plugins/openapi/OperationList.tsx +46 -10
  426. package/src/lib/plugins/openapi/OperationListItem.tsx +68 -42
  427. package/src/lib/plugins/openapi/ParameterList.tsx +1 -1
  428. package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -4
  429. package/src/lib/plugins/openapi/{MakeRequest.tsx → PlaygroundDialogWrapper.tsx} +3 -19
  430. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -16
  431. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +3 -1
  432. package/src/lib/plugins/openapi/Route.tsx +21 -0
  433. package/src/lib/plugins/openapi/SchemaListView.tsx +23 -192
  434. package/src/lib/plugins/openapi/SchemaListViewItem.tsx +110 -0
  435. package/src/lib/plugins/openapi/SchemaListViewItemGroup.tsx +63 -0
  436. package/src/lib/plugins/openapi/Sidecar.tsx +15 -10
  437. package/src/lib/plugins/openapi/SidecarBox.tsx +1 -1
  438. package/src/lib/plugins/openapi/{Select.tsx → SimpleSelect.tsx} +6 -3
  439. package/src/lib/plugins/openapi/StaggeredRender.tsx +31 -0
  440. package/src/lib/plugins/openapi/client/createMemoryClient.ts +56 -0
  441. package/src/lib/plugins/openapi/client/createServer.ts +33 -0
  442. package/src/lib/plugins/openapi/{worker/createSharedWorkerClient.ts → client/createWorkerClient.ts} +21 -2
  443. package/src/lib/plugins/openapi/client/interfaces.ts +5 -0
  444. package/src/lib/plugins/openapi/{worker → client}/worker.ts +3 -3
  445. package/src/lib/plugins/openapi/context.tsx +16 -0
  446. package/src/lib/plugins/openapi/index.tsx +59 -52
  447. package/src/lib/plugins/openapi/interfaces.ts +9 -0
  448. package/src/lib/plugins/openapi/playground/Headers.tsx +60 -33
  449. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
  450. package/src/lib/plugins/openapi/playground/Playground.tsx +172 -193
  451. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +36 -0
  452. package/src/lib/plugins/openapi/playground/QueryParams.tsx +7 -2
  453. package/src/lib/plugins/openapi/playground/createUrl.ts +1 -1
  454. package/src/lib/plugins/openapi/util/prose.ts +7 -0
  455. package/src/lib/plugins/openapi-worker.ts +1 -1
  456. package/src/lib/plugins/redirect/index.tsx +3 -4
  457. package/src/lib/ui/Callout.tsx +4 -4
  458. package/src/lib/ui/Card.tsx +1 -1
  459. package/src/lib/ui/DropdownMenu.tsx +199 -0
  460. package/src/lib/ui/button-variants.ts +1 -0
  461. package/src/lib/util/MdxComponents.tsx +7 -15
  462. package/src/lib/util/groupBy.ts +7 -12
  463. package/src/lib/util/joinPath.tsx +2 -1
  464. package/src/lib/util/logInit.ts +9 -0
  465. package/src/lib/util/objectEntries.ts +5 -0
  466. package/src/lib/util/renderIf.ts +4 -0
  467. package/dist/lib/components/Link.d.ts +0 -1
  468. package/dist/lib/components/Link.js +0 -2
  469. package/dist/lib/components/Link.js.map +0 -1
  470. package/dist/lib/components/Router.d.ts +0 -4
  471. package/dist/lib/components/Router.js +0 -20
  472. package/dist/lib/components/Router.js.map +0 -1
  473. package/dist/lib/core/helmet.d.ts +0 -4
  474. package/dist/lib/core/helmet.js +0 -5
  475. package/dist/lib/core/helmet.js.map +0 -1
  476. package/dist/lib/core/icons.d.ts +0 -1
  477. package/dist/lib/core/icons.js +0 -2
  478. package/dist/lib/core/icons.js.map +0 -1
  479. package/dist/lib/core/router.d.ts +0 -1
  480. package/dist/lib/core/router.js +0 -2
  481. package/dist/lib/core/router.js.map +0 -1
  482. package/dist/lib/plugins/api-key/CreateApiKey.js.map +0 -1
  483. package/dist/lib/plugins/api-key/SettingsApiKeys.js +0 -38
  484. package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +0 -1
  485. package/dist/lib/plugins/api-key/index.js.map +0 -1
  486. package/dist/lib/plugins/index.d.ts +0 -4
  487. package/dist/lib/plugins/index.js +0 -5
  488. package/dist/lib/plugins/index.js.map +0 -1
  489. package/dist/lib/plugins/openapi/MakeRequest.js.map +0 -1
  490. package/dist/lib/plugins/openapi/Select.js +0 -5
  491. package/dist/lib/plugins/openapi/Select.js.map +0 -1
  492. package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.d.ts +0 -5
  493. package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.js.map +0 -1
  494. package/dist/lib/plugins/openapi/worker/shared-worker.d.ts +0 -1
  495. package/dist/lib/plugins/openapi/worker/shared-worker.js +0 -6
  496. package/dist/lib/plugins/openapi/worker/shared-worker.js.map +0 -1
  497. package/dist/lib/plugins/openapi/worker/worker.js.map +0 -1
  498. package/dist/vite/common.d.ts +0 -1
  499. package/dist/vite/common.js +0 -5
  500. package/dist/vite/common.js.map +0 -1
  501. package/dist/vite/plugin-html.d.ts +0 -3
  502. package/dist/vite/plugin-html.js +0 -47
  503. package/dist/vite/plugin-html.js.map +0 -1
  504. package/dist/vite/plugin-openapi-worker.d.ts +0 -4
  505. package/dist/vite/plugin-openapi-worker.js +0 -28
  506. package/dist/vite/plugin-openapi-worker.js.map +0 -1
  507. package/lib/Spinner-BINYpvLB.js +0 -8412
  508. package/lib/clerk-Wslx_mPo.js +0 -19685
  509. package/lib/index-PyGcnQFX.js +0 -3462
  510. package/lib/loglevel-CoH7VSwE.js +0 -152
  511. package/lib/state-2Hu1renZ.js +0 -313
  512. package/lib/zudoku.plugins.js +0 -19892
  513. package/src/lib/components/Link.tsx +0 -1
  514. package/src/lib/components/Router.tsx +0 -28
  515. package/src/lib/core/helmet.ts +0 -5
  516. package/src/lib/core/icons.tsx +0 -1
  517. package/src/lib/core/router.tsx +0 -1
  518. package/src/lib/plugins/api-key/SettingsApiKeys.tsx +0 -117
  519. package/src/lib/plugins/index.ts +0 -4
  520. package/src/lib/plugins/openapi/worker/shared-worker.ts +0 -5
  521. /package/dist/lib/plugins/{api-key → api-keys}/CreateApiKey.d.ts +0 -0
  522. /package/dist/lib/plugins/{api-key → api-keys}/SettingsApiKeys.d.ts +0 -0
  523. /package/dist/lib/plugins/openapi/{worker → client}/worker.d.ts +0 -0
@@ -1,652 +1,1966 @@
1
- var De = Object.defineProperty;
2
- var se = (t) => {
1
+ var ar = Object.defineProperty;
2
+ var ct = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var Te = (t, e, s) => e in t ? De(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
6
- var x = (t, e, s) => Te(t, typeof e != "symbol" ? e + "" : e, s), ae = (t, e, s) => e.has(t) || se("Cannot " + s);
7
- var i = (t, e, s) => (ae(t, e, "read from private field"), s ? s.call(t) : e.get(t)), m = (t, e, s) => e.has(t) ? se("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), u = (t, e, s, a) => (ae(t, e, "write to private field"), a ? a.call(t, s) : e.set(t, s), s);
8
- var F = (t, e, s, a) => ({
9
- set _(r) {
10
- u(t, e, r, s);
5
+ var or = (t, e, n) => e in t ? ar(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
+ var N = (t, e, n) => or(t, typeof e != "symbol" ? e + "" : e, n), ut = (t, e, n) => e.has(t) || ct("Cannot " + n);
7
+ var f = (t, e, n) => (ut(t, e, "read from private field"), n ? n.call(t) : e.get(t)), j = (t, e, n) => e.has(t) ? ct("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), b = (t, e, n, r) => (ut(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
8
+ var Me = (t, e, n, r) => ({
9
+ set _(a) {
10
+ b(t, e, a, n);
11
11
  },
12
12
  get _() {
13
- return i(t, e, a);
13
+ return f(t, e, r);
14
14
  }
15
15
  });
16
- import { j as n, u as D, O as Ie } from "./index-PyGcnQFX.js";
17
- import { S as me, h as ge, Q as Se, n as p, m as ne, M as Ee, a as re, b as j, e as Fe, c as Re, d as He, f as Le, o as ie, r as oe, g as ze, i as le, p as ce, s as Ke, j as I, u as U, N as B, k as _e, l as Be, q as Ve, t as W, v as X, w as V, x as ve, y as Ue, z, R as xe, T as ye, C as be, A as We, B as Xe, D as $e, E as Ge, H as Je, F as Ye, G as Ze, I as et, J as tt, K as st, L as at, O as nt, P as rt, U as it, V as ot } from "./Spinner-BINYpvLB.js";
18
- import { X as Bt, W as Vt } from "./Spinner-BINYpvLB.js";
19
- import { memo as je, createContext as lt, useEffect as S, useRef as K, useState as ct, forwardRef as ht, Suspense as Pe, useMemo as L } from "react";
20
- import { c as ut } from "./state-2Hu1renZ.js";
21
- var y, de, dt = (de = class extends me {
16
+ import { H as Ct, a as $e, M as sr, A as ir, u as cr } from "./AnchorLink-Bj1hwDuD.js";
17
+ import { c as pe, d as ur, R as lr, a as P, C as dr, N as ke, b as hr, u as pr, L as Be, M as fr, T as mr, V as gr, e as Qe, f as vr, g as xr } from "./Markdown-BjRJKl_E.js";
18
+ import { E as Pt, u as yr, R as wr } from "./hook-Q_gAL2NZ.js";
19
+ import { j as o, d as Mr, u as br, a as se, O as Cr } from "./jsx-runtime-BIr0WBt_.js";
20
+ import { M as Pr, c as Rr, a as Rt, b as _t, A as _r, u as fe, h as Er, d as y, e as Sr, F as Nr, D as jr, C as Dr, P as ie, f as Ue, g as Ir, i as Et, R as Ar, S as Or, j as Tr, k as kr, l as St, m as Fr, n as Re, o as Nt, B as Fe } from "./Combination-lAFQBd6U.js";
21
+ import * as c from "react";
22
+ import Lr, { StrictMode as jt, createContext as Dt, Component as Kr, createElement as lt, isValidElement as $r, memo as It, useMemo as be, useContext as Br, useState as At, useEffect as oe, Fragment as Qr, useRef as Se, forwardRef as Ur, Suspense as Gr } from "react";
23
+ import { g as Ge } from "./_commonjsHelpers-BVfed4GL.js";
24
+ import { r as Hr } from "./router-BiRCp01d.js";
25
+ import { S as Le, c as Ot, P as Ne, R as qr, I as zr, a as Tt, T as kt, C as Ft, b as Vr } from "./Spinner-Ciq_pWU7.js";
26
+ import { S as Lt, h as Kt, Q as Yr, n as E, m as dt, a as ht, b as $, e as Xr, c as Wr, d as Jr, f as Zr, o as pt, r as ft, g as ea, i as mt, p as gt, s as ta, u as He, j as na, D as ra, k as qe, l as vt, q as $t, t as aa, v as oa, w as sa } from "./DevPortalProvider-BBhQ8kgI.js";
27
+ /**
28
+ * @license lucide-react v0.378.0 - ISC
29
+ *
30
+ * This source code is licensed under the ISC license.
31
+ * See the LICENSE file in the root directory of this source tree.
32
+ */
33
+ const ze = pe("ChevronRight", [
34
+ ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
35
+ ]);
36
+ /**
37
+ * @license lucide-react v0.378.0 - ISC
38
+ *
39
+ * This source code is licensed under the ISC license.
40
+ * See the LICENSE file in the root directory of this source tree.
41
+ */
42
+ const ia = pe("Dot", [
43
+ ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
44
+ ]);
45
+ /**
46
+ * @license lucide-react v0.378.0 - ISC
47
+ *
48
+ * This source code is licensed under the ISC license.
49
+ * See the LICENSE file in the root directory of this source tree.
50
+ */
51
+ const ca = pe("ExternalLink", [
52
+ ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
53
+ ["path", { d: "M10 14 21 3", key: "gplh6r" }],
54
+ ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
55
+ ]);
56
+ /**
57
+ * @license lucide-react v0.378.0 - ISC
58
+ *
59
+ * This source code is licensed under the ISC license.
60
+ * See the LICENSE file in the root directory of this source tree.
61
+ */
62
+ const ua = pe("MoonStar", [
63
+ ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
64
+ ["path", { d: "M20 3v4", key: "1olli1" }],
65
+ ["path", { d: "M22 5h-4", key: "1gvqau" }]
66
+ ]);
67
+ /**
68
+ * @license lucide-react v0.378.0 - ISC
69
+ *
70
+ * This source code is licensed under the ISC license.
71
+ * See the LICENSE file in the root directory of this source tree.
72
+ */
73
+ const la = pe("Sun", [
74
+ ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
75
+ ["path", { d: "M12 2v2", key: "tus03m" }],
76
+ ["path", { d: "M12 20v2", key: "1lh1kg" }],
77
+ ["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
78
+ ["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
79
+ ["path", { d: "M2 12h2", key: "1t8f8n" }],
80
+ ["path", { d: "M20 12h2", key: "1q8mjw" }],
81
+ ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
82
+ ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
83
+ ]);
84
+ function da({ error: t }) {
85
+ return /* @__PURE__ */ o.jsx(Pt, { error: t });
86
+ }
87
+ var me = {};
88
+ const ha = /* @__PURE__ */ Ge(Hr), pa = /* @__PURE__ */ Ge(Mr), fa = /* @__PURE__ */ Ge(ur);
89
+ Object.defineProperty(me, "__esModule", { value: !0 });
90
+ var ma = Lr, k = ha, Ve = pa, B = fa;
91
+ function ga(t) {
92
+ if (t && t.__esModule) return t;
93
+ var e = /* @__PURE__ */ Object.create(null);
94
+ return t && Object.keys(t).forEach(function(n) {
95
+ if (n !== "default") {
96
+ var r = Object.getOwnPropertyDescriptor(t, n);
97
+ Object.defineProperty(e, n, r.get ? r : {
98
+ enumerable: !0,
99
+ get: function() {
100
+ return t[n];
101
+ }
102
+ });
103
+ }
104
+ }), e.default = t, Object.freeze(e);
105
+ }
106
+ var O = /* @__PURE__ */ ga(ma);
107
+ function va({
108
+ basename: t,
109
+ children: e,
110
+ location: n = "/",
111
+ future: r
112
+ }) {
113
+ typeof n == "string" && (n = B.parsePath(n));
114
+ let a = k.Action.Pop, s = {
115
+ pathname: n.pathname || "/",
116
+ search: n.search || "",
117
+ hash: n.hash || "",
118
+ state: n.state != null ? n.state : null,
119
+ key: n.key || "default"
120
+ }, i = Bt();
121
+ return /* @__PURE__ */ O.createElement(B.Router, {
122
+ basename: t,
123
+ children: e,
124
+ location: s,
125
+ navigationType: a,
126
+ navigator: i,
127
+ future: r,
128
+ static: !0
129
+ });
130
+ }
131
+ function xa({
132
+ context: t,
133
+ router: e,
134
+ hydrate: n = !0,
135
+ nonce: r
136
+ }) {
137
+ e && t || (process.env.NODE_ENV !== "production" ? k.UNSAFE_invariant(!1, "You must provide `router` and `context` to <StaticRouterProvider>") : k.UNSAFE_invariant(!1));
138
+ let a = {
139
+ router: e,
140
+ navigator: Bt(),
141
+ static: !0,
142
+ staticContext: t,
143
+ basename: t.basename || "/"
144
+ }, s = /* @__PURE__ */ new Map(), i = "";
145
+ if (n !== !1) {
146
+ let d = {
147
+ loaderData: t.loaderData,
148
+ actionData: t.actionData,
149
+ errors: wa(t.errors)
150
+ };
151
+ i = `window.__staticRouterHydrationData = JSON.parse(${_a(JSON.stringify(JSON.stringify(d)))});`;
152
+ }
153
+ let {
154
+ state: u
155
+ } = a.router;
156
+ return /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement(B.UNSAFE_DataRouterContext.Provider, {
157
+ value: a
158
+ }, /* @__PURE__ */ O.createElement(B.UNSAFE_DataRouterStateContext.Provider, {
159
+ value: u
160
+ }, /* @__PURE__ */ O.createElement(B.UNSAFE_FetchersContext.Provider, {
161
+ value: s
162
+ }, /* @__PURE__ */ O.createElement(B.UNSAFE_ViewTransitionContext.Provider, {
163
+ value: {
164
+ isTransitioning: !1
165
+ }
166
+ }, /* @__PURE__ */ O.createElement(B.Router, {
167
+ basename: a.basename,
168
+ location: u.location,
169
+ navigationType: u.historyAction,
170
+ navigator: a.navigator,
171
+ static: a.static,
172
+ future: {
173
+ v7_relativeSplatPath: e.future.v7_relativeSplatPath
174
+ }
175
+ }, /* @__PURE__ */ O.createElement(ya, {
176
+ routes: e.routes,
177
+ future: e.future,
178
+ state: u
179
+ })))))), i ? /* @__PURE__ */ O.createElement("script", {
180
+ suppressHydrationWarning: !0,
181
+ nonce: r,
182
+ dangerouslySetInnerHTML: {
183
+ __html: i
184
+ }
185
+ }) : null);
186
+ }
187
+ function ya({
188
+ routes: t,
189
+ future: e,
190
+ state: n
191
+ }) {
192
+ return Ve.UNSAFE_useRoutesImpl(t, void 0, n, e);
193
+ }
194
+ function wa(t) {
195
+ if (!t) return null;
196
+ let e = Object.entries(t), n = {};
197
+ for (let [r, a] of e)
198
+ k.isRouteErrorResponse(a) ? n[r] = {
199
+ ...a,
200
+ __type: "RouteErrorResponse"
201
+ } : a instanceof Error ? n[r] = {
202
+ message: a.message,
203
+ __type: "Error",
204
+ // If this is a subclass (i.e., ReferenceError), send up the type so we
205
+ // can re-create the same type during hydration.
206
+ ...a.name !== "Error" ? {
207
+ __subType: a.name
208
+ } : {}
209
+ } : n[r] = a;
210
+ return n;
211
+ }
212
+ function Bt() {
213
+ return {
214
+ createHref: Qt,
215
+ encodeLocation: Ut,
216
+ push(t) {
217
+ 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(t)})\` somewhere in your app.`);
218
+ },
219
+ replace(t) {
220
+ 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(t)}, { replace: true })\` somewhere in your app.`);
221
+ },
222
+ go(t) {
223
+ 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(${t})\` somewhere in your app.`);
224
+ },
225
+ back() {
226
+ throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.");
227
+ },
228
+ forward() {
229
+ throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.");
230
+ }
231
+ };
232
+ }
233
+ function Ma(t, e) {
234
+ return k.createStaticHandler(t, {
235
+ ...e,
236
+ mapRouteProperties: Ve.UNSAFE_mapRouteProperties
237
+ });
238
+ }
239
+ function ba(t, e, n = {}) {
240
+ let r = {}, a = k.UNSAFE_convertRoutesToDataRoutes(t, Ve.UNSAFE_mapRouteProperties, void 0, r), s = e.matches.map((u) => {
241
+ let d = r[u.route.id] || u.route;
242
+ return {
243
+ ...u,
244
+ route: d
245
+ };
246
+ }), i = (u) => `You cannot use router.${u}() on the server because it is a stateless environment`;
247
+ return {
248
+ get basename() {
249
+ return e.basename;
250
+ },
251
+ get future() {
252
+ var u, d;
253
+ return {
254
+ v7_fetcherPersist: !1,
255
+ v7_normalizeFormMethod: !1,
256
+ v7_partialHydration: ((u = n.future) == null ? void 0 : u.v7_partialHydration) === !0,
257
+ v7_prependBasename: !1,
258
+ v7_relativeSplatPath: ((d = n.future) == null ? void 0 : d.v7_relativeSplatPath) === !0,
259
+ v7_skipActionErrorRevalidation: !1
260
+ };
261
+ },
262
+ get state() {
263
+ return {
264
+ historyAction: k.Action.Pop,
265
+ location: e.location,
266
+ matches: s,
267
+ loaderData: e.loaderData,
268
+ actionData: e.actionData,
269
+ errors: e.errors,
270
+ initialized: !0,
271
+ navigation: k.IDLE_NAVIGATION,
272
+ restoreScrollPosition: null,
273
+ preventScrollReset: !1,
274
+ revalidation: "idle",
275
+ fetchers: /* @__PURE__ */ new Map(),
276
+ blockers: /* @__PURE__ */ new Map()
277
+ };
278
+ },
279
+ get routes() {
280
+ return a;
281
+ },
282
+ get window() {
283
+ },
284
+ initialize() {
285
+ throw i("initialize");
286
+ },
287
+ subscribe() {
288
+ throw i("subscribe");
289
+ },
290
+ enableScrollRestoration() {
291
+ throw i("enableScrollRestoration");
292
+ },
293
+ navigate() {
294
+ throw i("navigate");
295
+ },
296
+ fetch() {
297
+ throw i("fetch");
298
+ },
299
+ revalidate() {
300
+ throw i("revalidate");
301
+ },
302
+ createHref: Qt,
303
+ encodeLocation: Ut,
304
+ getFetcher() {
305
+ return k.IDLE_FETCHER;
306
+ },
307
+ deleteFetcher() {
308
+ throw i("deleteFetcher");
309
+ },
310
+ dispose() {
311
+ throw i("dispose");
312
+ },
313
+ getBlocker() {
314
+ return k.IDLE_BLOCKER;
315
+ },
316
+ deleteBlocker() {
317
+ throw i("deleteBlocker");
318
+ },
319
+ patchRoutes() {
320
+ throw i("patchRoutes");
321
+ },
322
+ _internalFetchControllers: /* @__PURE__ */ new Map(),
323
+ _internalActiveDeferreds: /* @__PURE__ */ new Map(),
324
+ _internalSetRoutes() {
325
+ throw i("_internalSetRoutes");
326
+ }
327
+ };
328
+ }
329
+ function Qt(t) {
330
+ return typeof t == "string" ? t : B.createPath(t);
331
+ }
332
+ function Ut(t) {
333
+ let e = typeof t == "string" ? t : B.createPath(t);
334
+ e = e.replace(/ $/, "%20");
335
+ let n = Ca.test(e) ? new URL(e) : new URL(e, "http://localhost");
336
+ return {
337
+ pathname: n.pathname,
338
+ search: n.search,
339
+ hash: n.hash
340
+ };
341
+ }
342
+ const Ca = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Pa = {
343
+ "&": "\\u0026",
344
+ ">": "\\u003e",
345
+ "<": "\\u003c",
346
+ "\u2028": "\\u2028",
347
+ "\u2029": "\\u2029"
348
+ }, Ra = /[&><\u2028\u2029]/g;
349
+ function _a(t) {
350
+ return t.replace(Ra, (e) => Pa[e]);
351
+ }
352
+ me.StaticRouter = va;
353
+ var Ea = me.StaticRouterProvider = xa;
354
+ me.createStaticHandler = Ma;
355
+ me.createStaticRouter = ba;
356
+ const Sa = ({
357
+ router: t,
358
+ hydrate: e = !1
359
+ }) => /* @__PURE__ */ o.jsx(jt, { children: /* @__PURE__ */ o.jsx(Ct, { children: /* @__PURE__ */ o.jsx(Le.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ o.jsx(lr, { router: t }) }) }) }), Na = ({
360
+ router: t,
361
+ context: e,
362
+ helmetContext: n
363
+ }) => /* @__PURE__ */ o.jsx(jt, { children: /* @__PURE__ */ o.jsx(Ct, { context: n, children: /* @__PURE__ */ o.jsx(Ea, { router: t, context: e }) }) });
364
+ var T, wt, ja = (wt = class extends Lt {
22
365
  constructor(e = {}) {
23
366
  super();
24
- m(this, y);
25
- this.config = e, u(this, y, /* @__PURE__ */ new Map());
367
+ j(this, T);
368
+ this.config = e, b(this, T, /* @__PURE__ */ new Map());
26
369
  }
27
- build(e, s, a) {
28
- const r = s.queryKey, o = s.queryHash ?? ge(r, s);
29
- let l = this.get(o);
30
- return l || (l = new Se({
370
+ build(e, n, r) {
371
+ const a = n.queryKey, s = n.queryHash ?? Kt(a, n);
372
+ let i = this.get(s);
373
+ return i || (i = new Yr({
31
374
  cache: this,
32
- queryKey: r,
33
- queryHash: o,
34
- options: e.defaultQueryOptions(s),
35
- state: a,
36
- defaultOptions: e.getQueryDefaults(r)
37
- }), this.add(l)), l;
375
+ queryKey: a,
376
+ queryHash: s,
377
+ options: e.defaultQueryOptions(n),
378
+ state: r,
379
+ defaultOptions: e.getQueryDefaults(a)
380
+ }), this.add(i)), i;
38
381
  }
39
382
  add(e) {
40
- i(this, y).has(e.queryHash) || (i(this, y).set(e.queryHash, e), this.notify({
383
+ f(this, T).has(e.queryHash) || (f(this, T).set(e.queryHash, e), this.notify({
41
384
  type: "added",
42
385
  query: e
43
386
  }));
44
387
  }
45
388
  remove(e) {
46
- const s = i(this, y).get(e.queryHash);
47
- s && (e.destroy(), s === e && i(this, y).delete(e.queryHash), this.notify({ type: "removed", query: e }));
389
+ const n = f(this, T).get(e.queryHash);
390
+ n && (e.destroy(), n === e && f(this, T).delete(e.queryHash), this.notify({ type: "removed", query: e }));
48
391
  }
49
392
  clear() {
50
- p.batch(() => {
393
+ E.batch(() => {
51
394
  this.getAll().forEach((e) => {
52
395
  this.remove(e);
53
396
  });
54
397
  });
55
398
  }
56
399
  get(e) {
57
- return i(this, y).get(e);
400
+ return f(this, T).get(e);
58
401
  }
59
402
  getAll() {
60
- return [...i(this, y).values()];
403
+ return [...f(this, T).values()];
61
404
  }
62
405
  find(e) {
63
- const s = { exact: !0, ...e };
406
+ const n = { exact: !0, ...e };
64
407
  return this.getAll().find(
65
- (a) => ne(s, a)
408
+ (r) => dt(n, r)
66
409
  );
67
410
  }
68
411
  findAll(e = {}) {
69
- const s = this.getAll();
70
- return Object.keys(e).length > 0 ? s.filter((a) => ne(e, a)) : s;
412
+ const n = this.getAll();
413
+ return Object.keys(e).length > 0 ? n.filter((r) => dt(e, r)) : n;
71
414
  }
72
415
  notify(e) {
73
- p.batch(() => {
74
- this.listeners.forEach((s) => {
75
- s(e);
416
+ E.batch(() => {
417
+ this.listeners.forEach((n) => {
418
+ n(e);
76
419
  });
77
420
  });
78
421
  }
79
422
  onFocus() {
80
- p.batch(() => {
423
+ E.batch(() => {
81
424
  this.getAll().forEach((e) => {
82
425
  e.onFocus();
83
426
  });
84
427
  });
85
428
  }
86
429
  onOnline() {
87
- p.batch(() => {
430
+ E.batch(() => {
88
431
  this.getAll().forEach((e) => {
89
432
  e.onOnline();
90
433
  });
91
434
  });
92
435
  }
93
- }, y = new WeakMap(), de), f, T, fe, ft = (fe = class extends me {
436
+ }, T = new WeakMap(), wt), _, he, Mt, Da = (Mt = class extends Lt {
94
437
  constructor(e = {}) {
95
438
  super();
96
- m(this, f);
97
- m(this, T);
98
- this.config = e, u(this, f, /* @__PURE__ */ new Map()), u(this, T, Date.now());
439
+ j(this, _);
440
+ j(this, he);
441
+ this.config = e, b(this, _, /* @__PURE__ */ new Map()), b(this, he, Date.now());
99
442
  }
100
- build(e, s, a) {
101
- const r = new Ee({
443
+ build(e, n, r) {
444
+ const a = new Pr({
102
445
  mutationCache: this,
103
- mutationId: ++F(this, T)._,
104
- options: e.defaultMutationOptions(s),
105
- state: a
446
+ mutationId: ++Me(this, he)._,
447
+ options: e.defaultMutationOptions(n),
448
+ state: r
106
449
  });
107
- return this.add(r), r;
450
+ return this.add(a), a;
108
451
  }
109
452
  add(e) {
110
- const s = R(e), a = i(this, f).get(s) ?? [];
111
- a.push(e), i(this, f).set(s, a), this.notify({ type: "added", mutation: e });
453
+ const n = Ce(e), r = f(this, _).get(n) ?? [];
454
+ r.push(e), f(this, _).set(n, r), this.notify({ type: "added", mutation: e });
112
455
  }
113
456
  remove(e) {
114
- var a;
115
- const s = R(e);
116
- if (i(this, f).has(s)) {
117
- const r = (a = i(this, f).get(s)) == null ? void 0 : a.filter((o) => o !== e);
118
- r && (r.length === 0 ? i(this, f).delete(s) : i(this, f).set(s, r));
457
+ var r;
458
+ const n = Ce(e);
459
+ if (f(this, _).has(n)) {
460
+ const a = (r = f(this, _).get(n)) == null ? void 0 : r.filter((s) => s !== e);
461
+ a && (a.length === 0 ? f(this, _).delete(n) : f(this, _).set(n, a));
119
462
  }
120
463
  this.notify({ type: "removed", mutation: e });
121
464
  }
122
465
  canRun(e) {
123
- var a;
124
- const s = (a = i(this, f).get(R(e))) == null ? void 0 : a.find((r) => r.state.status === "pending");
125
- return !s || s === e;
466
+ var r;
467
+ const n = (r = f(this, _).get(Ce(e))) == null ? void 0 : r.find((a) => a.state.status === "pending");
468
+ return !n || n === e;
126
469
  }
127
470
  runNext(e) {
128
- var a;
129
- const s = (a = i(this, f).get(R(e))) == null ? void 0 : a.find((r) => r !== e && r.state.isPaused);
130
- return (s == null ? void 0 : s.continue()) ?? Promise.resolve();
471
+ var r;
472
+ const n = (r = f(this, _).get(Ce(e))) == null ? void 0 : r.find((a) => a !== e && a.state.isPaused);
473
+ return (n == null ? void 0 : n.continue()) ?? Promise.resolve();
131
474
  }
132
475
  clear() {
133
- p.batch(() => {
476
+ E.batch(() => {
134
477
  this.getAll().forEach((e) => {
135
478
  this.remove(e);
136
479
  });
137
480
  });
138
481
  }
139
482
  getAll() {
140
- return [...i(this, f).values()].flat();
483
+ return [...f(this, _).values()].flat();
141
484
  }
142
485
  find(e) {
143
- const s = { exact: !0, ...e };
486
+ const n = { exact: !0, ...e };
144
487
  return this.getAll().find(
145
- (a) => re(s, a)
488
+ (r) => ht(n, r)
146
489
  );
147
490
  }
148
491
  findAll(e = {}) {
149
- return this.getAll().filter((s) => re(e, s));
492
+ return this.getAll().filter((n) => ht(e, n));
150
493
  }
151
494
  notify(e) {
152
- p.batch(() => {
153
- this.listeners.forEach((s) => {
154
- s(e);
495
+ E.batch(() => {
496
+ this.listeners.forEach((n) => {
497
+ n(e);
155
498
  });
156
499
  });
157
500
  }
158
501
  resumePausedMutations() {
159
- const e = this.getAll().filter((s) => s.state.isPaused);
160
- return p.batch(
502
+ const e = this.getAll().filter((n) => n.state.isPaused);
503
+ return E.batch(
161
504
  () => Promise.all(
162
- e.map((s) => s.continue().catch(j))
505
+ e.map((n) => n.continue().catch($))
163
506
  )
164
507
  );
165
508
  }
166
- }, f = new WeakMap(), T = new WeakMap(), fe);
167
- function R(t) {
509
+ }, _ = new WeakMap(), he = new WeakMap(), Mt);
510
+ function Ce(t) {
168
511
  var e;
169
512
  return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
170
513
  }
171
- function pt(t) {
514
+ function Ia(t) {
172
515
  return {
173
- onFetch: (e, s) => {
174
- const a = async () => {
175
- var $, G, J, Y, Z;
176
- const r = e.options, o = (J = (G = ($ = e.fetchOptions) == null ? void 0 : $.meta) == null ? void 0 : G.fetchMore) == null ? void 0 : J.direction, l = ((Y = e.state.data) == null ? void 0 : Y.pages) || [], h = ((Z = e.state.data) == null ? void 0 : Z.pageParams) || [], g = { pages: [], pageParams: [] };
177
- let b = !1;
178
- const d = (v) => {
179
- Object.defineProperty(v, "signal", {
516
+ onFetch: (e, n) => {
517
+ const r = async () => {
518
+ var x, R, F, Q, V;
519
+ const a = e.options, s = (F = (R = (x = e.fetchOptions) == null ? void 0 : x.meta) == null ? void 0 : R.fetchMore) == null ? void 0 : F.direction, i = ((Q = e.state.data) == null ? void 0 : Q.pages) || [], u = ((V = e.state.data) == null ? void 0 : V.pageParams) || [], d = { pages: [], pageParams: [] };
520
+ let h = !1;
521
+ const p = (M) => {
522
+ Object.defineProperty(M, "signal", {
180
523
  enumerable: !0,
181
- get: () => (e.signal.aborted ? b = !0 : e.signal.addEventListener("abort", () => {
182
- b = !0;
524
+ get: () => (e.signal.aborted ? h = !0 : e.signal.addEventListener("abort", () => {
525
+ h = !0;
183
526
  }), e.signal)
184
527
  });
185
- }, Qe = Fe(e.options, e.fetchOptions), _ = async (v, P, O) => {
186
- if (b)
528
+ }, l = Xr(e.options, e.fetchOptions), m = async (M, I, L) => {
529
+ if (h)
187
530
  return Promise.reject();
188
- if (P == null && v.pages.length)
189
- return Promise.resolve(v);
190
- const E = {
531
+ if (I == null && M.pages.length)
532
+ return Promise.resolve(M);
533
+ const Y = {
191
534
  queryKey: e.queryKey,
192
- pageParam: P,
193
- direction: O ? "backward" : "forward",
535
+ pageParam: I,
536
+ direction: L ? "backward" : "forward",
194
537
  meta: e.options.meta
195
538
  };
196
- d(E);
197
- const qe = await Qe(
198
- E
199
- ), { maxPages: ee } = e.options, te = O ? Re : He;
539
+ p(Y);
540
+ const J = await l(
541
+ Y
542
+ ), { maxPages: ye } = e.options, X = L ? Wr : Jr;
200
543
  return {
201
- pages: te(v.pages, qe, ee),
202
- pageParams: te(v.pageParams, P, ee)
544
+ pages: X(M.pages, J, ye),
545
+ pageParams: X(M.pageParams, I, ye)
203
546
  };
204
547
  };
205
- let C;
206
- if (o && l.length) {
207
- const v = o === "backward", P = v ? mt : he, O = {
208
- pages: l,
209
- pageParams: h
210
- }, E = P(r, O);
211
- C = await _(O, E, v);
548
+ let v;
549
+ if (s && i.length) {
550
+ const M = s === "backward", I = M ? Aa : xt, L = {
551
+ pages: i,
552
+ pageParams: u
553
+ }, Y = I(a, L);
554
+ v = await m(L, Y, M);
212
555
  } else {
213
- C = await _(
214
- g,
215
- h[0] ?? r.initialPageParam
556
+ v = await m(
557
+ d,
558
+ u[0] ?? a.initialPageParam
216
559
  );
217
- const v = t ?? l.length;
218
- for (let P = 1; P < v; P++) {
219
- const O = he(r, C);
220
- C = await _(C, O);
560
+ const M = t ?? i.length;
561
+ for (let I = 1; I < M; I++) {
562
+ const L = xt(a, v);
563
+ v = await m(v, L);
221
564
  }
222
565
  }
223
- return C;
566
+ return v;
224
567
  };
225
568
  e.options.persister ? e.fetchFn = () => {
226
- var r, o;
227
- return (o = (r = e.options).persister) == null ? void 0 : o.call(
228
- r,
569
+ var a, s;
570
+ return (s = (a = e.options).persister) == null ? void 0 : s.call(
229
571
  a,
572
+ r,
230
573
  {
231
574
  queryKey: e.queryKey,
232
575
  meta: e.options.meta,
233
576
  signal: e.signal
234
577
  },
235
- s
578
+ n
236
579
  );
237
- } : e.fetchFn = a;
580
+ } : e.fetchFn = r;
238
581
  }
239
582
  };
240
583
  }
241
- function he(t, { pages: e, pageParams: s }) {
242
- const a = e.length - 1;
584
+ function xt(t, { pages: e, pageParams: n }) {
585
+ const r = e.length - 1;
243
586
  return t.getNextPageParam(
244
- e[a],
587
+ e[r],
245
588
  e,
246
- s[a],
247
- s
589
+ n[r],
590
+ n
248
591
  );
249
592
  }
250
- function mt(t, { pages: e, pageParams: s }) {
251
- var a;
252
- return (a = t.getPreviousPageParam) == null ? void 0 : a.call(
593
+ function Aa(t, { pages: e, pageParams: n }) {
594
+ var r;
595
+ return (r = t.getPreviousPageParam) == null ? void 0 : r.call(
253
596
  t,
254
597
  e[0],
255
598
  e,
256
- s[0],
257
- s
599
+ n[0],
600
+ n
258
601
  );
259
602
  }
260
- var c, w, N, M, A, k, Q, q, pe, gt = (pe = class {
603
+ var w, G, H, te, ne, q, re, ae, bt, Oa = (bt = class {
261
604
  constructor(t = {}) {
262
- m(this, c);
263
- m(this, w);
264
- m(this, N);
265
- m(this, M);
266
- m(this, A);
267
- m(this, k);
268
- m(this, Q);
269
- m(this, q);
270
- u(this, c, t.queryCache || new dt()), u(this, w, t.mutationCache || new ft()), u(this, N, t.defaultOptions || {}), u(this, M, /* @__PURE__ */ new Map()), u(this, A, /* @__PURE__ */ new Map()), u(this, k, 0);
605
+ j(this, w);
606
+ j(this, G);
607
+ j(this, H);
608
+ j(this, te);
609
+ j(this, ne);
610
+ j(this, q);
611
+ j(this, re);
612
+ j(this, ae);
613
+ b(this, w, t.queryCache || new ja()), b(this, G, t.mutationCache || new Da()), b(this, H, t.defaultOptions || {}), b(this, te, /* @__PURE__ */ new Map()), b(this, ne, /* @__PURE__ */ new Map()), b(this, q, 0);
271
614
  }
272
615
  mount() {
273
- F(this, k)._++, i(this, k) === 1 && (u(this, Q, Le.subscribe(async (t) => {
274
- t && (await this.resumePausedMutations(), i(this, c).onFocus());
275
- })), u(this, q, ie.subscribe(async (t) => {
276
- t && (await this.resumePausedMutations(), i(this, c).onOnline());
616
+ Me(this, q)._++, f(this, q) === 1 && (b(this, re, Zr.subscribe(async (t) => {
617
+ t && (await this.resumePausedMutations(), f(this, w).onFocus());
618
+ })), b(this, ae, pt.subscribe(async (t) => {
619
+ t && (await this.resumePausedMutations(), f(this, w).onOnline());
277
620
  })));
278
621
  }
279
622
  unmount() {
280
623
  var t, e;
281
- F(this, k)._--, i(this, k) === 0 && ((t = i(this, Q)) == null || t.call(this), u(this, Q, void 0), (e = i(this, q)) == null || e.call(this), u(this, q, void 0));
624
+ Me(this, q)._--, f(this, q) === 0 && ((t = f(this, re)) == null || t.call(this), b(this, re, void 0), (e = f(this, ae)) == null || e.call(this), b(this, ae, void 0));
282
625
  }
283
626
  isFetching(t) {
284
- return i(this, c).findAll({ ...t, fetchStatus: "fetching" }).length;
627
+ return f(this, w).findAll({ ...t, fetchStatus: "fetching" }).length;
285
628
  }
286
629
  isMutating(t) {
287
- return i(this, w).findAll({ ...t, status: "pending" }).length;
630
+ return f(this, G).findAll({ ...t, status: "pending" }).length;
288
631
  }
289
632
  getQueryData(t) {
290
- var s;
633
+ var n;
291
634
  const e = this.defaultQueryOptions({ queryKey: t });
292
- return (s = i(this, c).get(e.queryHash)) == null ? void 0 : s.state.data;
635
+ return (n = f(this, w).get(e.queryHash)) == null ? void 0 : n.state.data;
293
636
  }
294
637
  ensureQueryData(t) {
295
638
  const e = this.getQueryData(t.queryKey);
296
639
  if (e === void 0)
297
640
  return this.fetchQuery(t);
298
641
  {
299
- const s = this.defaultQueryOptions(t), a = i(this, c).build(this, s);
300
- return t.revalidateIfStale && a.isStaleByTime(oe(s.staleTime, a)) && this.prefetchQuery(s), Promise.resolve(e);
642
+ const n = this.defaultQueryOptions(t), r = f(this, w).build(this, n);
643
+ return t.revalidateIfStale && r.isStaleByTime(ft(n.staleTime, r)) && this.prefetchQuery(n), Promise.resolve(e);
301
644
  }
302
645
  }
303
646
  getQueriesData(t) {
304
- return i(this, c).findAll(t).map(({ queryKey: e, state: s }) => {
305
- const a = s.data;
306
- return [e, a];
647
+ return f(this, w).findAll(t).map(({ queryKey: e, state: n }) => {
648
+ const r = n.data;
649
+ return [e, r];
307
650
  });
308
651
  }
309
- setQueryData(t, e, s) {
310
- const a = this.defaultQueryOptions({ queryKey: t }), r = i(this, c).get(
311
- a.queryHash
312
- ), o = r == null ? void 0 : r.state.data, l = ze(e, o);
313
- if (l !== void 0)
314
- return i(this, c).build(this, a).setData(l, { ...s, manual: !0 });
315
- }
316
- setQueriesData(t, e, s) {
317
- return p.batch(
318
- () => i(this, c).findAll(t).map(({ queryKey: a }) => [
319
- a,
320
- this.setQueryData(a, e, s)
652
+ setQueryData(t, e, n) {
653
+ const r = this.defaultQueryOptions({ queryKey: t }), a = f(this, w).get(
654
+ r.queryHash
655
+ ), s = a == null ? void 0 : a.state.data, i = ea(e, s);
656
+ if (i !== void 0)
657
+ return f(this, w).build(this, r).setData(i, { ...n, manual: !0 });
658
+ }
659
+ setQueriesData(t, e, n) {
660
+ return E.batch(
661
+ () => f(this, w).findAll(t).map(({ queryKey: r }) => [
662
+ r,
663
+ this.setQueryData(r, e, n)
321
664
  ])
322
665
  );
323
666
  }
324
667
  getQueryState(t) {
325
- var s;
668
+ var n;
326
669
  const e = this.defaultQueryOptions({ queryKey: t });
327
- return (s = i(this, c).get(e.queryHash)) == null ? void 0 : s.state;
670
+ return (n = f(this, w).get(e.queryHash)) == null ? void 0 : n.state;
328
671
  }
329
672
  removeQueries(t) {
330
- const e = i(this, c);
331
- p.batch(() => {
332
- e.findAll(t).forEach((s) => {
333
- e.remove(s);
673
+ const e = f(this, w);
674
+ E.batch(() => {
675
+ e.findAll(t).forEach((n) => {
676
+ e.remove(n);
334
677
  });
335
678
  });
336
679
  }
337
680
  resetQueries(t, e) {
338
- const s = i(this, c), a = {
681
+ const n = f(this, w), r = {
339
682
  type: "active",
340
683
  ...t
341
684
  };
342
- return p.batch(() => (s.findAll(t).forEach((r) => {
343
- r.reset();
344
- }), this.refetchQueries(a, e)));
685
+ return E.batch(() => (n.findAll(t).forEach((a) => {
686
+ a.reset();
687
+ }), this.refetchQueries(r, e)));
345
688
  }
346
689
  cancelQueries(t = {}, e = {}) {
347
- const s = { revert: !0, ...e }, a = p.batch(
348
- () => i(this, c).findAll(t).map((r) => r.cancel(s))
690
+ const n = { revert: !0, ...e }, r = E.batch(
691
+ () => f(this, w).findAll(t).map((a) => a.cancel(n))
349
692
  );
350
- return Promise.all(a).then(j).catch(j);
693
+ return Promise.all(r).then($).catch($);
351
694
  }
352
695
  invalidateQueries(t = {}, e = {}) {
353
- return p.batch(() => {
354
- if (i(this, c).findAll(t).forEach((a) => {
355
- a.invalidate();
696
+ return E.batch(() => {
697
+ if (f(this, w).findAll(t).forEach((r) => {
698
+ r.invalidate();
356
699
  }), t.refetchType === "none")
357
700
  return Promise.resolve();
358
- const s = {
701
+ const n = {
359
702
  ...t,
360
703
  type: t.refetchType ?? t.type ?? "active"
361
704
  };
362
- return this.refetchQueries(s, e);
705
+ return this.refetchQueries(n, e);
363
706
  });
364
707
  }
365
708
  refetchQueries(t = {}, e) {
366
- const s = {
709
+ const n = {
367
710
  ...e,
368
711
  cancelRefetch: (e == null ? void 0 : e.cancelRefetch) ?? !0
369
- }, a = p.batch(
370
- () => i(this, c).findAll(t).filter((r) => !r.isDisabled()).map((r) => {
371
- let o = r.fetch(void 0, s);
372
- return s.throwOnError || (o = o.catch(j)), r.state.fetchStatus === "paused" ? Promise.resolve() : o;
712
+ }, r = E.batch(
713
+ () => f(this, w).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
714
+ let s = a.fetch(void 0, n);
715
+ return n.throwOnError || (s = s.catch($)), a.state.fetchStatus === "paused" ? Promise.resolve() : s;
373
716
  })
374
717
  );
375
- return Promise.all(a).then(j);
718
+ return Promise.all(r).then($);
376
719
  }
377
720
  fetchQuery(t) {
378
721
  const e = this.defaultQueryOptions(t);
379
722
  e.retry === void 0 && (e.retry = !1);
380
- const s = i(this, c).build(this, e);
381
- return s.isStaleByTime(
382
- oe(e.staleTime, s)
383
- ) ? s.fetch(e) : Promise.resolve(s.state.data);
723
+ const n = f(this, w).build(this, e);
724
+ return n.isStaleByTime(
725
+ ft(e.staleTime, n)
726
+ ) ? n.fetch(e) : Promise.resolve(n.state.data);
384
727
  }
385
728
  prefetchQuery(t) {
386
- return this.fetchQuery(t).then(j).catch(j);
729
+ return this.fetchQuery(t).then($).catch($);
387
730
  }
388
731
  fetchInfiniteQuery(t) {
389
- return t.behavior = pt(t.pages), this.fetchQuery(t);
732
+ return t.behavior = Ia(t.pages), this.fetchQuery(t);
390
733
  }
391
734
  prefetchInfiniteQuery(t) {
392
- return this.fetchInfiniteQuery(t).then(j).catch(j);
735
+ return this.fetchInfiniteQuery(t).then($).catch($);
393
736
  }
394
737
  resumePausedMutations() {
395
- return ie.isOnline() ? i(this, w).resumePausedMutations() : Promise.resolve();
738
+ return pt.isOnline() ? f(this, G).resumePausedMutations() : Promise.resolve();
396
739
  }
397
740
  getQueryCache() {
398
- return i(this, c);
741
+ return f(this, w);
399
742
  }
400
743
  getMutationCache() {
401
- return i(this, w);
744
+ return f(this, G);
402
745
  }
403
746
  getDefaultOptions() {
404
- return i(this, N);
747
+ return f(this, H);
405
748
  }
406
749
  setDefaultOptions(t) {
407
- u(this, N, t);
750
+ b(this, H, t);
408
751
  }
409
752
  setQueryDefaults(t, e) {
410
- i(this, M).set(le(t), {
753
+ f(this, te).set(mt(t), {
411
754
  queryKey: t,
412
755
  defaultOptions: e
413
756
  });
414
757
  }
415
758
  getQueryDefaults(t) {
416
- const e = [...i(this, M).values()];
417
- let s = {};
418
- return e.forEach((a) => {
419
- ce(t, a.queryKey) && (s = { ...s, ...a.defaultOptions });
420
- }), s;
759
+ const e = [...f(this, te).values()];
760
+ let n = {};
761
+ return e.forEach((r) => {
762
+ gt(t, r.queryKey) && (n = { ...n, ...r.defaultOptions });
763
+ }), n;
421
764
  }
422
765
  setMutationDefaults(t, e) {
423
- i(this, A).set(le(t), {
766
+ f(this, ne).set(mt(t), {
424
767
  mutationKey: t,
425
768
  defaultOptions: e
426
769
  });
427
770
  }
428
771
  getMutationDefaults(t) {
429
- const e = [...i(this, A).values()];
430
- let s = {};
431
- return e.forEach((a) => {
432
- ce(t, a.mutationKey) && (s = { ...s, ...a.defaultOptions });
433
- }), s;
772
+ const e = [...f(this, ne).values()];
773
+ let n = {};
774
+ return e.forEach((r) => {
775
+ gt(t, r.mutationKey) && (n = { ...n, ...r.defaultOptions });
776
+ }), n;
434
777
  }
435
778
  defaultQueryOptions(t) {
436
779
  if (t._defaulted)
437
780
  return t;
438
781
  const e = {
439
- ...i(this, N).queries,
782
+ ...f(this, H).queries,
440
783
  ...this.getQueryDefaults(t.queryKey),
441
784
  ...t,
442
785
  _defaulted: !0
443
786
  };
444
- return e.queryHash || (e.queryHash = ge(
787
+ return e.queryHash || (e.queryHash = Kt(
445
788
  e.queryKey,
446
789
  e
447
- )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.enabled !== !0 && e.queryFn === Ke && (e.enabled = !1), e;
790
+ )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.enabled !== !0 && e.queryFn === ta && (e.enabled = !1), e;
448
791
  }
449
792
  defaultMutationOptions(t) {
450
793
  return t != null && t._defaulted ? t : {
451
- ...i(this, N).mutations,
794
+ ...f(this, H).mutations,
452
795
  ...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
453
796
  ...t,
454
797
  _defaulted: !0
455
798
  };
456
799
  }
457
800
  clear() {
458
- i(this, c).clear(), i(this, w).clear();
801
+ f(this, w).clear(), f(this, G).clear();
459
802
  }
460
- }, c = new WeakMap(), w = new WeakMap(), N = new WeakMap(), M = new WeakMap(), A = new WeakMap(), k = new WeakMap(), Q = new WeakMap(), q = new WeakMap(), pe);
461
- const we = (t) => "getRoutes" in t && typeof t.getRoutes == "function", vt = (t) => "initialize" in t && typeof t.initialize == "function", xt = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ne = new gt(), yt = ut(() => ({}));
462
- class bt {
803
+ }, w = new WeakMap(), G = new WeakMap(), H = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), q = new WeakMap(), re = new WeakMap(), ae = new WeakMap(), bt);
804
+ const Ta = Dt(null), Te = {
805
+ didCatch: !1,
806
+ error: null
807
+ };
808
+ class ka extends Kr {
463
809
  constructor(e) {
464
- x(this, "plugins", []);
465
- x(this, "navigationPlugins");
466
- x(this, "navigation");
467
- x(this, "meta");
468
- x(this, "authentication");
469
- x(this, "state");
470
- x(this, "initialize", async () => {
810
+ super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Te;
811
+ }
812
+ static getDerivedStateFromError(e) {
813
+ return {
814
+ didCatch: !0,
815
+ error: e
816
+ };
817
+ }
818
+ resetErrorBoundary() {
819
+ const {
820
+ error: e
821
+ } = this.state;
822
+ if (e !== null) {
823
+ for (var n, r, a = arguments.length, s = new Array(a), i = 0; i < a; i++)
824
+ s[i] = arguments[i];
825
+ (n = (r = this.props).onReset) === null || n === void 0 || n.call(r, {
826
+ args: s,
827
+ reason: "imperative-api"
828
+ }), this.setState(Te);
829
+ }
830
+ }
831
+ componentDidCatch(e, n) {
832
+ var r, a;
833
+ (r = (a = this.props).onError) === null || r === void 0 || r.call(a, e, n);
834
+ }
835
+ componentDidUpdate(e, n) {
836
+ const {
837
+ didCatch: r
838
+ } = this.state, {
839
+ resetKeys: a
840
+ } = this.props;
841
+ if (r && n.error !== null && Fa(e.resetKeys, a)) {
842
+ var s, i;
843
+ (s = (i = this.props).onReset) === null || s === void 0 || s.call(i, {
844
+ next: a,
845
+ prev: e.resetKeys,
846
+ reason: "keys"
847
+ }), this.setState(Te);
848
+ }
849
+ }
850
+ render() {
851
+ const {
852
+ children: e,
853
+ fallbackRender: n,
854
+ FallbackComponent: r,
855
+ fallback: a
856
+ } = this.props, {
857
+ didCatch: s,
858
+ error: i
859
+ } = this.state;
860
+ let u = e;
861
+ if (s) {
862
+ const d = {
863
+ error: i,
864
+ resetErrorBoundary: this.resetErrorBoundary
865
+ };
866
+ if (typeof n == "function")
867
+ u = n(d);
868
+ else if (r)
869
+ u = lt(r, d);
870
+ else if (a === null || $r(a))
871
+ u = a;
872
+ else
873
+ throw i;
874
+ }
875
+ return lt(Ta.Provider, {
876
+ value: {
877
+ didCatch: s,
878
+ error: i,
879
+ resetErrorBoundary: this.resetErrorBoundary
880
+ }
881
+ }, u);
882
+ }
883
+ }
884
+ function Fa() {
885
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
886
+ return t.length !== e.length || t.some((n, r) => !Object.is(n, e[r]));
887
+ }
888
+ const La = (t) => "getProfileMenuItems" in t && typeof t.getProfileMenuItems == "function", Ka = (t) => "getRoutes" in t && typeof t.getRoutes == "function", $a = (t) => "initialize" in t && typeof t.initialize == "function", Ba = (t) => "getHead" in t && typeof t.getHead == "function", Qa = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Gt = new Oa();
889
+ class Ua {
890
+ constructor(e) {
891
+ N(this, "plugins", []);
892
+ N(this, "navigation");
893
+ N(this, "meta");
894
+ N(this, "page");
895
+ N(this, "authentication");
896
+ N(this, "navigationPlugins");
897
+ N(this, "initialize", async () => {
471
898
  await Promise.all([
472
- this.plugins.filter(vt).map((e) => e.initialize(this))
899
+ this.plugins.filter($a).map((e) => {
900
+ var n;
901
+ return (n = e.initialize) == null ? void 0 : n.call(e, this);
902
+ })
473
903
  ]);
474
904
  });
475
- x(this, "invalidateCache", async (e) => {
476
- await Ne.invalidateQueries({ queryKey: e });
905
+ N(this, "invalidateCache", async (e) => {
906
+ await Gt.invalidateQueries({ queryKey: e });
477
907
  });
478
- x(this, "getApiIdentities", async () => (await Promise.all(
479
- this.plugins.filter(xt).map((s) => s.getIdentities(this))
908
+ N(this, "getApiIdentities", async () => (await Promise.all(
909
+ this.plugins.filter(Qa).map((n) => n.getIdentities(this))
480
910
  )).flat());
481
- x(this, "getNavigation", async (e) => (await Promise.all(
911
+ N(this, "getNavigation", async (e) => (await Promise.all(
482
912
  this.navigationPlugins.map(
483
- async (a) => {
484
- var r;
485
- return (r = a.getNavigation) == null ? void 0 : r.call(a, e);
913
+ async (r) => {
914
+ var a;
915
+ return (a = r.getNavigation) == null ? void 0 : a.call(r, e);
916
+ }
917
+ )
918
+ )).flatMap((r) => r ?? []));
919
+ N(this, "signRequest", async (e) => {
920
+ if (!this.authentication)
921
+ throw new Error("No authentication provider configured");
922
+ const n = await this.authentication.getAccessToken();
923
+ return e.headers.set("Authorization", `Bearer ${n}`), e;
924
+ });
925
+ this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(Ka), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page;
926
+ }
927
+ }
928
+ function Ga({ error: t, resetErrorBoundary: e }) {
929
+ return /* @__PURE__ */ o.jsx(Pt, { error: t });
930
+ }
931
+ var Ke = ["Enter", " "], Ha = ["ArrowDown", "PageUp", "Home"], Ht = ["ArrowUp", "PageDown", "End"], qa = [...Ha, ...Ht], za = {
932
+ ltr: [...Ke, "ArrowRight"],
933
+ rtl: [...Ke, "ArrowLeft"]
934
+ }, Va = {
935
+ ltr: ["ArrowLeft"],
936
+ rtl: ["ArrowRight"]
937
+ }, ge = "Menu", [le, Ya, Xa] = Rr(ge), [W, qt] = Rt(ge, [
938
+ Xa,
939
+ _t,
940
+ Ot
941
+ ]), ve = _t(), zt = Ot(), [Vt, z] = W(ge), [Wa, xe] = W(ge), Yt = (t) => {
942
+ const { __scopeMenu: e, open: n = !1, children: r, dir: a, onOpenChange: s, modal: i = !0 } = t, u = ve(e), [d, h] = c.useState(null), p = c.useRef(!1), l = Ue(s), m = kr(a);
943
+ return c.useEffect(() => {
944
+ const v = () => {
945
+ p.current = !0, document.addEventListener("pointerdown", x, { capture: !0, once: !0 }), document.addEventListener("pointermove", x, { capture: !0, once: !0 });
946
+ }, x = () => p.current = !1;
947
+ return document.addEventListener("keydown", v, { capture: !0 }), () => {
948
+ document.removeEventListener("keydown", v, { capture: !0 }), document.removeEventListener("pointerdown", x, { capture: !0 }), document.removeEventListener("pointermove", x, { capture: !0 });
949
+ };
950
+ }, []), /* @__PURE__ */ o.jsx(St, { ...u, children: /* @__PURE__ */ o.jsx(
951
+ Vt,
952
+ {
953
+ scope: e,
954
+ open: n,
955
+ onOpenChange: l,
956
+ content: d,
957
+ onContentChange: h,
958
+ children: /* @__PURE__ */ o.jsx(
959
+ Wa,
960
+ {
961
+ scope: e,
962
+ onClose: c.useCallback(() => l(!1), [l]),
963
+ isUsingKeyboardRef: p,
964
+ dir: m,
965
+ modal: i,
966
+ children: r
967
+ }
968
+ )
969
+ }
970
+ ) });
971
+ };
972
+ Yt.displayName = ge;
973
+ var Ja = "MenuAnchor", Ye = c.forwardRef(
974
+ (t, e) => {
975
+ const { __scopeMenu: n, ...r } = t, a = ve(n);
976
+ return /* @__PURE__ */ o.jsx(_r, { ...a, ...r, ref: e });
977
+ }
978
+ );
979
+ Ye.displayName = Ja;
980
+ var Xe = "MenuPortal", [Za, Xt] = W(Xe, {
981
+ forceMount: void 0
982
+ }), Wt = (t) => {
983
+ const { __scopeMenu: e, forceMount: n, children: r, container: a } = t, s = z(Xe, e);
984
+ return /* @__PURE__ */ o.jsx(Za, { scope: e, forceMount: n, children: /* @__PURE__ */ o.jsx(Ne, { present: n || s.open, children: /* @__PURE__ */ o.jsx(Fr, { asChild: !0, container: a, children: r }) }) });
985
+ };
986
+ Wt.displayName = Xe;
987
+ var D = "MenuContent", [eo, We] = W(D), Jt = c.forwardRef(
988
+ (t, e) => {
989
+ const n = Xt(D, t.__scopeMenu), { forceMount: r = n.forceMount, ...a } = t, s = z(D, t.__scopeMenu), i = xe(D, t.__scopeMenu);
990
+ return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(Ne, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: i.modal ? /* @__PURE__ */ o.jsx(to, { ...a, ref: e }) : /* @__PURE__ */ o.jsx(no, { ...a, ref: e }) }) }) });
991
+ }
992
+ ), to = c.forwardRef(
993
+ (t, e) => {
994
+ const n = z(D, t.__scopeMenu), r = c.useRef(null), a = fe(e, r);
995
+ return c.useEffect(() => {
996
+ const s = r.current;
997
+ if (s) return Er(s);
998
+ }, []), /* @__PURE__ */ o.jsx(
999
+ Je,
1000
+ {
1001
+ ...t,
1002
+ ref: a,
1003
+ trapFocus: n.open,
1004
+ disableOutsidePointerEvents: n.open,
1005
+ disableOutsideScroll: !0,
1006
+ onFocusOutside: y(
1007
+ t.onFocusOutside,
1008
+ (s) => s.preventDefault(),
1009
+ { checkForDefaultPrevented: !1 }
1010
+ ),
1011
+ onDismiss: () => n.onOpenChange(!1)
1012
+ }
1013
+ );
1014
+ }
1015
+ ), no = c.forwardRef((t, e) => {
1016
+ const n = z(D, t.__scopeMenu);
1017
+ return /* @__PURE__ */ o.jsx(
1018
+ Je,
1019
+ {
1020
+ ...t,
1021
+ ref: e,
1022
+ trapFocus: !1,
1023
+ disableOutsidePointerEvents: !1,
1024
+ disableOutsideScroll: !1,
1025
+ onDismiss: () => n.onOpenChange(!1)
1026
+ }
1027
+ );
1028
+ }), Je = c.forwardRef(
1029
+ (t, e) => {
1030
+ const {
1031
+ __scopeMenu: n,
1032
+ loop: r = !1,
1033
+ trapFocus: a,
1034
+ onOpenAutoFocus: s,
1035
+ onCloseAutoFocus: i,
1036
+ disableOutsidePointerEvents: u,
1037
+ onEntryFocus: d,
1038
+ onEscapeKeyDown: h,
1039
+ onPointerDownOutside: p,
1040
+ onFocusOutside: l,
1041
+ onInteractOutside: m,
1042
+ onDismiss: v,
1043
+ disableOutsideScroll: x,
1044
+ ...R
1045
+ } = t, F = z(D, n), Q = xe(D, n), V = ve(n), M = zt(n), I = Ya(n), [L, Y] = c.useState(null), J = c.useRef(null), ye = fe(e, J, F.onContentChange), X = c.useRef(0), we = c.useRef(""), er = c.useRef(0), De = c.useRef(null), at = c.useRef("right"), Ie = c.useRef(0), tr = x ? Ar : c.Fragment, nr = x ? { as: Or, allowPinchZoom: !0 } : void 0, rr = (g) => {
1046
+ var ee, st;
1047
+ const S = we.current + g, A = I().filter((K) => !K.disabled), U = document.activeElement, Ae = (ee = A.find((K) => K.ref.current === U)) == null ? void 0 : ee.textValue, Oe = A.map((K) => K.textValue), ot = mo(Oe, S, Ae), ce = (st = A.find((K) => K.textValue === ot)) == null ? void 0 : st.ref.current;
1048
+ (function K(it) {
1049
+ we.current = it, window.clearTimeout(X.current), it !== "" && (X.current = window.setTimeout(() => K(""), 1e3));
1050
+ })(S), ce && setTimeout(() => ce.focus());
1051
+ };
1052
+ c.useEffect(() => () => window.clearTimeout(X.current), []), Sr();
1053
+ const Z = c.useCallback((g) => {
1054
+ var A, U;
1055
+ return at.current === ((A = De.current) == null ? void 0 : A.side) && vo(g, (U = De.current) == null ? void 0 : U.area);
1056
+ }, []);
1057
+ return /* @__PURE__ */ o.jsx(
1058
+ eo,
1059
+ {
1060
+ scope: n,
1061
+ searchRef: we,
1062
+ onItemEnter: c.useCallback(
1063
+ (g) => {
1064
+ Z(g) && g.preventDefault();
1065
+ },
1066
+ [Z]
1067
+ ),
1068
+ onItemLeave: c.useCallback(
1069
+ (g) => {
1070
+ var S;
1071
+ Z(g) || ((S = J.current) == null || S.focus(), Y(null));
1072
+ },
1073
+ [Z]
1074
+ ),
1075
+ onTriggerLeave: c.useCallback(
1076
+ (g) => {
1077
+ Z(g) && g.preventDefault();
1078
+ },
1079
+ [Z]
1080
+ ),
1081
+ pointerGraceTimerRef: er,
1082
+ onPointerGraceIntentChange: c.useCallback((g) => {
1083
+ De.current = g;
1084
+ }, []),
1085
+ children: /* @__PURE__ */ o.jsx(tr, { ...nr, children: /* @__PURE__ */ o.jsx(
1086
+ Nr,
1087
+ {
1088
+ asChild: !0,
1089
+ trapped: a,
1090
+ onMountAutoFocus: y(s, (g) => {
1091
+ var S;
1092
+ g.preventDefault(), (S = J.current) == null || S.focus({ preventScroll: !0 });
1093
+ }),
1094
+ onUnmountAutoFocus: i,
1095
+ children: /* @__PURE__ */ o.jsx(
1096
+ jr,
1097
+ {
1098
+ asChild: !0,
1099
+ disableOutsidePointerEvents: u,
1100
+ onEscapeKeyDown: h,
1101
+ onPointerDownOutside: p,
1102
+ onFocusOutside: l,
1103
+ onInteractOutside: m,
1104
+ onDismiss: v,
1105
+ children: /* @__PURE__ */ o.jsx(
1106
+ qr,
1107
+ {
1108
+ asChild: !0,
1109
+ ...M,
1110
+ dir: Q.dir,
1111
+ orientation: "vertical",
1112
+ loop: r,
1113
+ currentTabStopId: L,
1114
+ onCurrentTabStopIdChange: Y,
1115
+ onEntryFocus: y(d, (g) => {
1116
+ Q.isUsingKeyboardRef.current || g.preventDefault();
1117
+ }),
1118
+ preventScrollOnEntryFocus: !0,
1119
+ children: /* @__PURE__ */ o.jsx(
1120
+ Dr,
1121
+ {
1122
+ role: "menu",
1123
+ "aria-orientation": "vertical",
1124
+ "data-state": gn(F.open),
1125
+ "data-radix-menu-content": "",
1126
+ dir: Q.dir,
1127
+ ...V,
1128
+ ...R,
1129
+ ref: ye,
1130
+ style: { outline: "none", ...R.style },
1131
+ onKeyDown: y(R.onKeyDown, (g) => {
1132
+ const A = g.target.closest("[data-radix-menu-content]") === g.currentTarget, U = g.ctrlKey || g.altKey || g.metaKey, Ae = g.key.length === 1;
1133
+ A && (g.key === "Tab" && g.preventDefault(), !U && Ae && rr(g.key));
1134
+ const Oe = J.current;
1135
+ if (g.target !== Oe || !qa.includes(g.key)) return;
1136
+ g.preventDefault();
1137
+ const ce = I().filter((ee) => !ee.disabled).map((ee) => ee.ref.current);
1138
+ Ht.includes(g.key) && ce.reverse(), po(ce);
1139
+ }),
1140
+ onBlur: y(t.onBlur, (g) => {
1141
+ g.currentTarget.contains(g.target) || (window.clearTimeout(X.current), we.current = "");
1142
+ }),
1143
+ onPointerMove: y(
1144
+ t.onPointerMove,
1145
+ de((g) => {
1146
+ const S = g.target, A = Ie.current !== g.clientX;
1147
+ if (g.currentTarget.contains(S) && A) {
1148
+ const U = g.clientX > Ie.current ? "right" : "left";
1149
+ at.current = U, Ie.current = g.clientX;
1150
+ }
1151
+ })
1152
+ )
1153
+ }
1154
+ )
1155
+ }
1156
+ )
1157
+ }
1158
+ )
1159
+ }
1160
+ ) })
1161
+ }
1162
+ );
1163
+ }
1164
+ );
1165
+ Jt.displayName = D;
1166
+ var ro = "MenuGroup", Ze = c.forwardRef(
1167
+ (t, e) => {
1168
+ const { __scopeMenu: n, ...r } = t;
1169
+ return /* @__PURE__ */ o.jsx(ie.div, { role: "group", ...r, ref: e });
1170
+ }
1171
+ );
1172
+ Ze.displayName = ro;
1173
+ var ao = "MenuLabel", Zt = c.forwardRef(
1174
+ (t, e) => {
1175
+ const { __scopeMenu: n, ...r } = t;
1176
+ return /* @__PURE__ */ o.jsx(ie.div, { ...r, ref: e });
1177
+ }
1178
+ );
1179
+ Zt.displayName = ao;
1180
+ var _e = "MenuItem", yt = "menu.itemSelect", je = c.forwardRef(
1181
+ (t, e) => {
1182
+ const { disabled: n = !1, onSelect: r, ...a } = t, s = c.useRef(null), i = xe(_e, t.__scopeMenu), u = We(_e, t.__scopeMenu), d = fe(e, s), h = c.useRef(!1), p = () => {
1183
+ const l = s.current;
1184
+ if (!n && l) {
1185
+ const m = new CustomEvent(yt, { bubbles: !0, cancelable: !0 });
1186
+ l.addEventListener(yt, (v) => r == null ? void 0 : r(v), { once: !0 }), Tr(l, m), m.defaultPrevented ? h.current = !1 : i.onClose();
1187
+ }
1188
+ };
1189
+ return /* @__PURE__ */ o.jsx(
1190
+ en,
1191
+ {
1192
+ ...a,
1193
+ ref: d,
1194
+ disabled: n,
1195
+ onClick: y(t.onClick, p),
1196
+ onPointerDown: (l) => {
1197
+ var m;
1198
+ (m = t.onPointerDown) == null || m.call(t, l), h.current = !0;
1199
+ },
1200
+ onPointerUp: y(t.onPointerUp, (l) => {
1201
+ var m;
1202
+ h.current || (m = l.currentTarget) == null || m.click();
1203
+ }),
1204
+ onKeyDown: y(t.onKeyDown, (l) => {
1205
+ const m = u.searchRef.current !== "";
1206
+ n || m && l.key === " " || Ke.includes(l.key) && (l.currentTarget.click(), l.preventDefault());
1207
+ })
1208
+ }
1209
+ );
1210
+ }
1211
+ );
1212
+ je.displayName = _e;
1213
+ var en = c.forwardRef(
1214
+ (t, e) => {
1215
+ const { __scopeMenu: n, disabled: r = !1, textValue: a, ...s } = t, i = We(_e, n), u = zt(n), d = c.useRef(null), h = fe(e, d), [p, l] = c.useState(!1), [m, v] = c.useState("");
1216
+ return c.useEffect(() => {
1217
+ const x = d.current;
1218
+ x && v((x.textContent ?? "").trim());
1219
+ }, [s.children]), /* @__PURE__ */ o.jsx(
1220
+ le.ItemSlot,
1221
+ {
1222
+ scope: n,
1223
+ disabled: r,
1224
+ textValue: a ?? m,
1225
+ children: /* @__PURE__ */ o.jsx(zr, { asChild: !0, ...u, focusable: !r, children: /* @__PURE__ */ o.jsx(
1226
+ ie.div,
1227
+ {
1228
+ role: "menuitem",
1229
+ "data-highlighted": p ? "" : void 0,
1230
+ "aria-disabled": r || void 0,
1231
+ "data-disabled": r ? "" : void 0,
1232
+ ...s,
1233
+ ref: h,
1234
+ onPointerMove: y(
1235
+ t.onPointerMove,
1236
+ de((x) => {
1237
+ r ? i.onItemLeave(x) : (i.onItemEnter(x), x.defaultPrevented || x.currentTarget.focus({ preventScroll: !0 }));
1238
+ })
1239
+ ),
1240
+ onPointerLeave: y(
1241
+ t.onPointerLeave,
1242
+ de((x) => i.onItemLeave(x))
1243
+ ),
1244
+ onFocus: y(t.onFocus, () => l(!0)),
1245
+ onBlur: y(t.onBlur, () => l(!1))
1246
+ }
1247
+ ) })
1248
+ }
1249
+ );
1250
+ }
1251
+ ), oo = "MenuCheckboxItem", tn = c.forwardRef(
1252
+ (t, e) => {
1253
+ const { checked: n = !1, onCheckedChange: r, ...a } = t;
1254
+ return /* @__PURE__ */ o.jsx(sn, { scope: t.__scopeMenu, checked: n, children: /* @__PURE__ */ o.jsx(
1255
+ je,
1256
+ {
1257
+ role: "menuitemcheckbox",
1258
+ "aria-checked": Ee(n) ? "mixed" : n,
1259
+ ...a,
1260
+ ref: e,
1261
+ "data-state": nt(n),
1262
+ onSelect: y(
1263
+ a.onSelect,
1264
+ () => r == null ? void 0 : r(Ee(n) ? !0 : !n),
1265
+ { checkForDefaultPrevented: !1 }
1266
+ )
1267
+ }
1268
+ ) });
1269
+ }
1270
+ );
1271
+ tn.displayName = oo;
1272
+ var nn = "MenuRadioGroup", [so, io] = W(
1273
+ nn,
1274
+ { value: void 0, onValueChange: () => {
1275
+ } }
1276
+ ), rn = c.forwardRef(
1277
+ (t, e) => {
1278
+ const { value: n, onValueChange: r, ...a } = t, s = Ue(r);
1279
+ return /* @__PURE__ */ o.jsx(so, { scope: t.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ o.jsx(Ze, { ...a, ref: e }) });
1280
+ }
1281
+ );
1282
+ rn.displayName = nn;
1283
+ var an = "MenuRadioItem", on = c.forwardRef(
1284
+ (t, e) => {
1285
+ const { value: n, ...r } = t, a = io(an, t.__scopeMenu), s = n === a.value;
1286
+ return /* @__PURE__ */ o.jsx(sn, { scope: t.__scopeMenu, checked: s, children: /* @__PURE__ */ o.jsx(
1287
+ je,
1288
+ {
1289
+ role: "menuitemradio",
1290
+ "aria-checked": s,
1291
+ ...r,
1292
+ ref: e,
1293
+ "data-state": nt(s),
1294
+ onSelect: y(
1295
+ r.onSelect,
1296
+ () => {
1297
+ var i;
1298
+ return (i = a.onValueChange) == null ? void 0 : i.call(a, n);
1299
+ },
1300
+ { checkForDefaultPrevented: !1 }
1301
+ )
1302
+ }
1303
+ ) });
1304
+ }
1305
+ );
1306
+ on.displayName = an;
1307
+ var et = "MenuItemIndicator", [sn, co] = W(
1308
+ et,
1309
+ { checked: !1 }
1310
+ ), cn = c.forwardRef(
1311
+ (t, e) => {
1312
+ const { __scopeMenu: n, forceMount: r, ...a } = t, s = co(et, n);
1313
+ return /* @__PURE__ */ o.jsx(
1314
+ Ne,
1315
+ {
1316
+ present: r || Ee(s.checked) || s.checked === !0,
1317
+ children: /* @__PURE__ */ o.jsx(
1318
+ ie.span,
1319
+ {
1320
+ ...a,
1321
+ ref: e,
1322
+ "data-state": nt(s.checked)
1323
+ }
1324
+ )
1325
+ }
1326
+ );
1327
+ }
1328
+ );
1329
+ cn.displayName = et;
1330
+ var uo = "MenuSeparator", un = c.forwardRef(
1331
+ (t, e) => {
1332
+ const { __scopeMenu: n, ...r } = t;
1333
+ return /* @__PURE__ */ o.jsx(
1334
+ ie.div,
1335
+ {
1336
+ role: "separator",
1337
+ "aria-orientation": "horizontal",
1338
+ ...r,
1339
+ ref: e
1340
+ }
1341
+ );
1342
+ }
1343
+ );
1344
+ un.displayName = uo;
1345
+ var lo = "MenuArrow", ln = c.forwardRef(
1346
+ (t, e) => {
1347
+ const { __scopeMenu: n, ...r } = t, a = ve(n);
1348
+ return /* @__PURE__ */ o.jsx(Ir, { ...a, ...r, ref: e });
1349
+ }
1350
+ );
1351
+ ln.displayName = lo;
1352
+ var tt = "MenuSub", [ho, dn] = W(tt), hn = (t) => {
1353
+ const { __scopeMenu: e, children: n, open: r = !1, onOpenChange: a } = t, s = z(tt, e), i = ve(e), [u, d] = c.useState(null), [h, p] = c.useState(null), l = Ue(a);
1354
+ return c.useEffect(() => (s.open === !1 && l(!1), () => l(!1)), [s.open, l]), /* @__PURE__ */ o.jsx(St, { ...i, children: /* @__PURE__ */ o.jsx(
1355
+ Vt,
1356
+ {
1357
+ scope: e,
1358
+ open: r,
1359
+ onOpenChange: l,
1360
+ content: h,
1361
+ onContentChange: p,
1362
+ children: /* @__PURE__ */ o.jsx(
1363
+ ho,
1364
+ {
1365
+ scope: e,
1366
+ contentId: Re(),
1367
+ triggerId: Re(),
1368
+ trigger: u,
1369
+ onTriggerChange: d,
1370
+ children: n
486
1371
  }
487
1372
  )
488
- )).flatMap((a) => a ?? []));
489
- this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(we), this.authentication = e.authentication, this.meta = e.meta, this.state = yt;
1373
+ }
1374
+ ) });
1375
+ };
1376
+ hn.displayName = tt;
1377
+ var ue = "MenuSubTrigger", pn = c.forwardRef(
1378
+ (t, e) => {
1379
+ const n = z(ue, t.__scopeMenu), r = xe(ue, t.__scopeMenu), a = dn(ue, t.__scopeMenu), s = We(ue, t.__scopeMenu), i = c.useRef(null), { pointerGraceTimerRef: u, onPointerGraceIntentChange: d } = s, h = { __scopeMenu: t.__scopeMenu }, p = c.useCallback(() => {
1380
+ i.current && window.clearTimeout(i.current), i.current = null;
1381
+ }, []);
1382
+ return c.useEffect(() => p, [p]), c.useEffect(() => {
1383
+ const l = u.current;
1384
+ return () => {
1385
+ window.clearTimeout(l), d(null);
1386
+ };
1387
+ }, [u, d]), /* @__PURE__ */ o.jsx(Ye, { asChild: !0, ...h, children: /* @__PURE__ */ o.jsx(
1388
+ en,
1389
+ {
1390
+ id: a.triggerId,
1391
+ "aria-haspopup": "menu",
1392
+ "aria-expanded": n.open,
1393
+ "aria-controls": a.contentId,
1394
+ "data-state": gn(n.open),
1395
+ ...t,
1396
+ ref: Et(e, a.onTriggerChange),
1397
+ onClick: (l) => {
1398
+ var m;
1399
+ (m = t.onClick) == null || m.call(t, l), !(t.disabled || l.defaultPrevented) && (l.currentTarget.focus(), n.open || n.onOpenChange(!0));
1400
+ },
1401
+ onPointerMove: y(
1402
+ t.onPointerMove,
1403
+ de((l) => {
1404
+ s.onItemEnter(l), !l.defaultPrevented && !t.disabled && !n.open && !i.current && (s.onPointerGraceIntentChange(null), i.current = window.setTimeout(() => {
1405
+ n.onOpenChange(!0), p();
1406
+ }, 100));
1407
+ })
1408
+ ),
1409
+ onPointerLeave: y(
1410
+ t.onPointerLeave,
1411
+ de((l) => {
1412
+ var v, x;
1413
+ p();
1414
+ const m = (v = n.content) == null ? void 0 : v.getBoundingClientRect();
1415
+ if (m) {
1416
+ const R = (x = n.content) == null ? void 0 : x.dataset.side, F = R === "right", Q = F ? -5 : 5, V = m[F ? "left" : "right"], M = m[F ? "right" : "left"];
1417
+ s.onPointerGraceIntentChange({
1418
+ area: [
1419
+ // Apply a bleed on clientX to ensure that our exit point is
1420
+ // consistently within polygon bounds
1421
+ { x: l.clientX + Q, y: l.clientY },
1422
+ { x: V, y: m.top },
1423
+ { x: M, y: m.top },
1424
+ { x: M, y: m.bottom },
1425
+ { x: V, y: m.bottom }
1426
+ ],
1427
+ side: R
1428
+ }), window.clearTimeout(u.current), u.current = window.setTimeout(
1429
+ () => s.onPointerGraceIntentChange(null),
1430
+ 300
1431
+ );
1432
+ } else {
1433
+ if (s.onTriggerLeave(l), l.defaultPrevented) return;
1434
+ s.onPointerGraceIntentChange(null);
1435
+ }
1436
+ })
1437
+ ),
1438
+ onKeyDown: y(t.onKeyDown, (l) => {
1439
+ var v;
1440
+ const m = s.searchRef.current !== "";
1441
+ t.disabled || m && l.key === " " || za[r.dir].includes(l.key) && (n.onOpenChange(!0), (v = n.content) == null || v.focus(), l.preventDefault());
1442
+ })
1443
+ }
1444
+ ) });
490
1445
  }
491
- async signRequest(e) {
492
- if (!this.authentication)
493
- throw new Error("No authentication provider configured");
494
- const s = await this.authentication.getAccessToken();
495
- return e.headers.set("Authorization", `Bearer ${s}`), e;
1446
+ );
1447
+ pn.displayName = ue;
1448
+ var fn = "MenuSubContent", mn = c.forwardRef(
1449
+ (t, e) => {
1450
+ const n = Xt(D, t.__scopeMenu), { forceMount: r = n.forceMount, ...a } = t, s = z(D, t.__scopeMenu), i = xe(D, t.__scopeMenu), u = dn(fn, t.__scopeMenu), d = c.useRef(null), h = fe(e, d);
1451
+ return /* @__PURE__ */ o.jsx(le.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(Ne, { present: r || s.open, children: /* @__PURE__ */ o.jsx(le.Slot, { scope: t.__scopeMenu, children: /* @__PURE__ */ o.jsx(
1452
+ Je,
1453
+ {
1454
+ id: u.contentId,
1455
+ "aria-labelledby": u.triggerId,
1456
+ ...a,
1457
+ ref: h,
1458
+ align: "start",
1459
+ side: i.dir === "rtl" ? "left" : "right",
1460
+ disableOutsidePointerEvents: !1,
1461
+ disableOutsideScroll: !1,
1462
+ trapFocus: !1,
1463
+ onOpenAutoFocus: (p) => {
1464
+ var l;
1465
+ i.isUsingKeyboardRef.current && ((l = d.current) == null || l.focus()), p.preventDefault();
1466
+ },
1467
+ onCloseAutoFocus: (p) => p.preventDefault(),
1468
+ onFocusOutside: y(t.onFocusOutside, (p) => {
1469
+ p.target !== u.trigger && s.onOpenChange(!1);
1470
+ }),
1471
+ onEscapeKeyDown: y(t.onEscapeKeyDown, (p) => {
1472
+ i.onClose(), p.preventDefault();
1473
+ }),
1474
+ onKeyDown: y(t.onKeyDown, (p) => {
1475
+ var v;
1476
+ const l = p.currentTarget.contains(p.target), m = Va[i.dir].includes(p.key);
1477
+ l && m && (s.onOpenChange(!1), (v = u.trigger) == null || v.focus(), p.preventDefault());
1478
+ })
1479
+ }
1480
+ ) }) }) });
496
1481
  }
1482
+ );
1483
+ mn.displayName = fn;
1484
+ function gn(t) {
1485
+ return t ? "open" : "closed";
497
1486
  }
498
- /**
499
- * @license lucide-react v0.378.0 - ISC
500
- *
501
- * This source code is licensed under the ISC license.
502
- * See the LICENSE file in the root directory of this source tree.
503
- */
504
- const ke = I("ChevronRight", [
505
- ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
506
- ]);
507
- /**
508
- * @license lucide-react v0.378.0 - ISC
509
- *
510
- * This source code is licensed under the ISC license.
511
- * See the LICENSE file in the root directory of this source tree.
512
- */
513
- const jt = I("ExternalLink", [
514
- ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
515
- ["path", { d: "M10 14 21 3", key: "gplh6r" }],
516
- ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
517
- ]);
518
- /**
519
- * @license lucide-react v0.378.0 - ISC
520
- *
521
- * This source code is licensed under the ISC license.
522
- * See the LICENSE file in the root directory of this source tree.
523
- */
524
- const Pt = I("MoonStar", [
525
- ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
526
- ["path", { d: "M20 3v4", key: "1olli1" }],
527
- ["path", { d: "M22 5h-4", key: "1gvqau" }]
528
- ]);
529
- /**
530
- * @license lucide-react v0.378.0 - ISC
531
- *
532
- * This source code is licensed under the ISC license.
533
- * See the LICENSE file in the root directory of this source tree.
534
- */
535
- const wt = I("Search", [
536
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
537
- ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
538
- ]);
539
- /**
540
- * @license lucide-react v0.378.0 - ISC
541
- *
542
- * This source code is licensed under the ISC license.
543
- * See the LICENSE file in the root directory of this source tree.
544
- */
545
- const Nt = I("Sun", [
546
- ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
547
- ["path", { d: "M12 2v2", key: "tus03m" }],
548
- ["path", { d: "M12 20v2", key: "1lh1kg" }],
549
- ["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
550
- ["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
551
- ["path", { d: "M2 12h2", key: "1t8f8n" }],
552
- ["path", { d: "M20 12h2", key: "1q8mjw" }],
553
- ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
554
- ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
555
- ]), kt = () => {
556
- const { navigation: t } = U();
557
- return /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
558
- B,
1487
+ function Ee(t) {
1488
+ return t === "indeterminate";
1489
+ }
1490
+ function nt(t) {
1491
+ return Ee(t) ? "indeterminate" : t ? "checked" : "unchecked";
1492
+ }
1493
+ function po(t) {
1494
+ const e = document.activeElement;
1495
+ for (const n of t)
1496
+ if (n === e || (n.focus(), document.activeElement !== e)) return;
1497
+ }
1498
+ function fo(t, e) {
1499
+ return t.map((n, r) => t[(e + r) % t.length]);
1500
+ }
1501
+ function mo(t, e, n) {
1502
+ const a = e.length > 1 && Array.from(e).every((h) => h === e[0]) ? e[0] : e, s = n ? t.indexOf(n) : -1;
1503
+ let i = fo(t, Math.max(s, 0));
1504
+ a.length === 1 && (i = i.filter((h) => h !== n));
1505
+ const d = i.find(
1506
+ (h) => h.toLowerCase().startsWith(a.toLowerCase())
1507
+ );
1508
+ return d !== n ? d : void 0;
1509
+ }
1510
+ function go(t, e) {
1511
+ const { x: n, y: r } = t;
1512
+ let a = !1;
1513
+ for (let s = 0, i = e.length - 1; s < e.length; i = s++) {
1514
+ const u = e[s].x, d = e[s].y, h = e[i].x, p = e[i].y;
1515
+ d > r != p > r && n < (h - u) * (r - d) / (p - d) + u && (a = !a);
1516
+ }
1517
+ return a;
1518
+ }
1519
+ function vo(t, e) {
1520
+ if (!e) return !1;
1521
+ const n = { x: t.clientX, y: t.clientY };
1522
+ return go(n, e);
1523
+ }
1524
+ function de(t) {
1525
+ return (e) => e.pointerType === "mouse" ? t(e) : void 0;
1526
+ }
1527
+ var xo = Yt, yo = Ye, wo = Wt, Mo = Jt, bo = Ze, Co = Zt, Po = je, Ro = tn, _o = rn, Eo = on, So = cn, No = un, jo = ln, Do = hn, Io = pn, Ao = mn, rt = "DropdownMenu", [Oo, js] = Rt(
1528
+ rt,
1529
+ [qt]
1530
+ ), C = qt(), [To, vn] = Oo(rt), xn = (t) => {
1531
+ const {
1532
+ __scopeDropdownMenu: e,
1533
+ children: n,
1534
+ dir: r,
1535
+ open: a,
1536
+ defaultOpen: s,
1537
+ onOpenChange: i,
1538
+ modal: u = !0
1539
+ } = t, d = C(e), h = c.useRef(null), [p = !1, l] = Nt({
1540
+ prop: a,
1541
+ defaultProp: s,
1542
+ onChange: i
1543
+ });
1544
+ return /* @__PURE__ */ o.jsx(
1545
+ To,
559
1546
  {
560
- className: ({ isActive: s }) => _e(
1547
+ scope: e,
1548
+ triggerId: Re(),
1549
+ triggerRef: h,
1550
+ contentId: Re(),
1551
+ open: p,
1552
+ onOpenChange: l,
1553
+ onOpenToggle: c.useCallback(() => l((m) => !m), [l]),
1554
+ modal: u,
1555
+ children: /* @__PURE__ */ o.jsx(xo, { ...d, open: p, onOpenChange: l, dir: r, modal: u, children: n })
1556
+ }
1557
+ );
1558
+ };
1559
+ xn.displayName = rt;
1560
+ var yn = "DropdownMenuTrigger", wn = c.forwardRef(
1561
+ (t, e) => {
1562
+ const { __scopeDropdownMenu: n, disabled: r = !1, ...a } = t, s = vn(yn, n), i = C(n);
1563
+ return /* @__PURE__ */ o.jsx(yo, { asChild: !0, ...i, children: /* @__PURE__ */ o.jsx(
1564
+ ie.button,
1565
+ {
1566
+ type: "button",
1567
+ id: s.triggerId,
1568
+ "aria-haspopup": "menu",
1569
+ "aria-expanded": s.open,
1570
+ "aria-controls": s.open ? s.contentId : void 0,
1571
+ "data-state": s.open ? "open" : "closed",
1572
+ "data-disabled": r ? "" : void 0,
1573
+ disabled: r,
1574
+ ...a,
1575
+ ref: Et(e, s.triggerRef),
1576
+ onPointerDown: y(t.onPointerDown, (u) => {
1577
+ !r && u.button === 0 && u.ctrlKey === !1 && (s.onOpenToggle(), s.open || u.preventDefault());
1578
+ }),
1579
+ onKeyDown: y(t.onKeyDown, (u) => {
1580
+ r || (["Enter", " "].includes(u.key) && s.onOpenToggle(), u.key === "ArrowDown" && s.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(u.key) && u.preventDefault());
1581
+ })
1582
+ }
1583
+ ) });
1584
+ }
1585
+ );
1586
+ wn.displayName = yn;
1587
+ var ko = "DropdownMenuPortal", Mn = (t) => {
1588
+ const { __scopeDropdownMenu: e, ...n } = t, r = C(e);
1589
+ return /* @__PURE__ */ o.jsx(wo, { ...r, ...n });
1590
+ };
1591
+ Mn.displayName = ko;
1592
+ var bn = "DropdownMenuContent", Cn = c.forwardRef(
1593
+ (t, e) => {
1594
+ const { __scopeDropdownMenu: n, ...r } = t, a = vn(bn, n), s = C(n), i = c.useRef(!1);
1595
+ return /* @__PURE__ */ o.jsx(
1596
+ Mo,
1597
+ {
1598
+ id: a.contentId,
1599
+ "aria-labelledby": a.triggerId,
1600
+ ...s,
1601
+ ...r,
1602
+ ref: e,
1603
+ onCloseAutoFocus: y(t.onCloseAutoFocus, (u) => {
1604
+ var d;
1605
+ i.current || (d = a.triggerRef.current) == null || d.focus(), i.current = !1, u.preventDefault();
1606
+ }),
1607
+ onInteractOutside: y(t.onInteractOutside, (u) => {
1608
+ const d = u.detail.originalEvent, h = d.button === 0 && d.ctrlKey === !0, p = d.button === 2 || h;
1609
+ (!a.modal || p) && (i.current = !0);
1610
+ }),
1611
+ style: {
1612
+ ...t.style,
1613
+ "--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
1614
+ "--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
1615
+ "--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
1616
+ "--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
1617
+ "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
1618
+ }
1619
+ }
1620
+ );
1621
+ }
1622
+ );
1623
+ Cn.displayName = bn;
1624
+ var Fo = "DropdownMenuGroup", Lo = c.forwardRef(
1625
+ (t, e) => {
1626
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1627
+ return /* @__PURE__ */ o.jsx(bo, { ...a, ...r, ref: e });
1628
+ }
1629
+ );
1630
+ Lo.displayName = Fo;
1631
+ var Ko = "DropdownMenuLabel", Pn = c.forwardRef(
1632
+ (t, e) => {
1633
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1634
+ return /* @__PURE__ */ o.jsx(Co, { ...a, ...r, ref: e });
1635
+ }
1636
+ );
1637
+ Pn.displayName = Ko;
1638
+ var $o = "DropdownMenuItem", Rn = c.forwardRef(
1639
+ (t, e) => {
1640
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1641
+ return /* @__PURE__ */ o.jsx(Po, { ...a, ...r, ref: e });
1642
+ }
1643
+ );
1644
+ Rn.displayName = $o;
1645
+ var Bo = "DropdownMenuCheckboxItem", _n = c.forwardRef((t, e) => {
1646
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1647
+ return /* @__PURE__ */ o.jsx(Ro, { ...a, ...r, ref: e });
1648
+ });
1649
+ _n.displayName = Bo;
1650
+ var Qo = "DropdownMenuRadioGroup", Uo = c.forwardRef((t, e) => {
1651
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1652
+ return /* @__PURE__ */ o.jsx(_o, { ...a, ...r, ref: e });
1653
+ });
1654
+ Uo.displayName = Qo;
1655
+ var Go = "DropdownMenuRadioItem", En = c.forwardRef((t, e) => {
1656
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1657
+ return /* @__PURE__ */ o.jsx(Eo, { ...a, ...r, ref: e });
1658
+ });
1659
+ En.displayName = Go;
1660
+ var Ho = "DropdownMenuItemIndicator", Sn = c.forwardRef((t, e) => {
1661
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1662
+ return /* @__PURE__ */ o.jsx(So, { ...a, ...r, ref: e });
1663
+ });
1664
+ Sn.displayName = Ho;
1665
+ var qo = "DropdownMenuSeparator", Nn = c.forwardRef((t, e) => {
1666
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1667
+ return /* @__PURE__ */ o.jsx(No, { ...a, ...r, ref: e });
1668
+ });
1669
+ Nn.displayName = qo;
1670
+ var zo = "DropdownMenuArrow", Vo = c.forwardRef(
1671
+ (t, e) => {
1672
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1673
+ return /* @__PURE__ */ o.jsx(jo, { ...a, ...r, ref: e });
1674
+ }
1675
+ );
1676
+ Vo.displayName = zo;
1677
+ var Yo = (t) => {
1678
+ const { __scopeDropdownMenu: e, children: n, open: r, onOpenChange: a, defaultOpen: s } = t, i = C(e), [u = !1, d] = Nt({
1679
+ prop: r,
1680
+ defaultProp: s,
1681
+ onChange: a
1682
+ });
1683
+ return /* @__PURE__ */ o.jsx(Do, { ...i, open: u, onOpenChange: d, children: n });
1684
+ }, Xo = "DropdownMenuSubTrigger", jn = c.forwardRef((t, e) => {
1685
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1686
+ return /* @__PURE__ */ o.jsx(Io, { ...a, ...r, ref: e });
1687
+ });
1688
+ jn.displayName = Xo;
1689
+ var Wo = "DropdownMenuSubContent", Dn = c.forwardRef((t, e) => {
1690
+ const { __scopeDropdownMenu: n, ...r } = t, a = C(n);
1691
+ return /* @__PURE__ */ o.jsx(
1692
+ Ao,
1693
+ {
1694
+ ...a,
1695
+ ...r,
1696
+ ref: e,
1697
+ style: {
1698
+ ...t.style,
1699
+ "--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
1700
+ "--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
1701
+ "--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
1702
+ "--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
1703
+ "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
1704
+ }
1705
+ }
1706
+ );
1707
+ });
1708
+ Dn.displayName = Wo;
1709
+ var Jo = xn, Zo = wn, In = Mn, An = Cn, On = Pn, Tn = Rn, kn = _n, Fn = En, Ln = Sn, Kn = Nn, es = Yo, $n = jn, Bn = Dn;
1710
+ const ts = Jo, ns = Zo, rs = In, as = es, Qn = c.forwardRef(({ className: t, inset: e, children: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1711
+ $n,
1712
+ {
1713
+ ref: a,
1714
+ className: P(
1715
+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
1716
+ e && "pl-8",
1717
+ t
1718
+ ),
1719
+ ...r,
1720
+ children: [
1721
+ n,
1722
+ /* @__PURE__ */ o.jsx(ze, { className: "ml-auto h-4 w-4" })
1723
+ ]
1724
+ }
1725
+ ));
1726
+ Qn.displayName = $n.displayName;
1727
+ const Un = c.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ o.jsx(
1728
+ Bn,
1729
+ {
1730
+ ref: n,
1731
+ className: P(
1732
+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
1733
+ t
1734
+ ),
1735
+ ...e
1736
+ }
1737
+ ));
1738
+ Un.displayName = Bn.displayName;
1739
+ const Gn = c.forwardRef(({ className: t, sideOffset: e = 4, ...n }, r) => /* @__PURE__ */ o.jsx(In, { children: /* @__PURE__ */ o.jsx(
1740
+ An,
1741
+ {
1742
+ ref: r,
1743
+ sideOffset: e,
1744
+ className: P(
1745
+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
1746
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
1747
+ t
1748
+ ),
1749
+ ...n
1750
+ }
1751
+ ) }));
1752
+ Gn.displayName = An.displayName;
1753
+ const Hn = c.forwardRef(({ className: t, inset: e, ...n }, r) => /* @__PURE__ */ o.jsx(
1754
+ Tn,
1755
+ {
1756
+ ref: r,
1757
+ className: P(
1758
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1759
+ e && "pl-8",
1760
+ t
1761
+ ),
1762
+ ...n
1763
+ }
1764
+ ));
1765
+ Hn.displayName = Tn.displayName;
1766
+ const os = c.forwardRef(({ className: t, children: e, checked: n, ...r }, a) => /* @__PURE__ */ o.jsxs(
1767
+ kn,
1768
+ {
1769
+ ref: a,
1770
+ className: P(
1771
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1772
+ t
1773
+ ),
1774
+ checked: n,
1775
+ ...r,
1776
+ children: [
1777
+ /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(Ln, { children: /* @__PURE__ */ o.jsx(dr, { className: "h-4 w-4" }) }) }),
1778
+ e
1779
+ ]
1780
+ }
1781
+ ));
1782
+ os.displayName = kn.displayName;
1783
+ const ss = c.forwardRef(({ className: t, children: e, ...n }, r) => /* @__PURE__ */ o.jsxs(
1784
+ Fn,
1785
+ {
1786
+ ref: r,
1787
+ className: P(
1788
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1789
+ t
1790
+ ),
1791
+ ...n,
1792
+ children: [
1793
+ /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(Ln, { children: /* @__PURE__ */ o.jsx(ia, { className: "h-4 w-4 fill-current" }) }) }),
1794
+ e
1795
+ ]
1796
+ }
1797
+ ));
1798
+ ss.displayName = Fn.displayName;
1799
+ const qn = c.forwardRef(({ className: t, inset: e, ...n }, r) => /* @__PURE__ */ o.jsx(
1800
+ On,
1801
+ {
1802
+ ref: r,
1803
+ className: P(
1804
+ "px-2 py-1.5 text-sm font-semibold",
1805
+ e && "pl-8",
1806
+ t
1807
+ ),
1808
+ ...n
1809
+ }
1810
+ ));
1811
+ qn.displayName = On.displayName;
1812
+ const zn = c.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ o.jsx(
1813
+ Kn,
1814
+ {
1815
+ ref: n,
1816
+ className: P("-mx-1 my-1 h-px bg-muted", t),
1817
+ ...e
1818
+ }
1819
+ ));
1820
+ zn.displayName = Kn.displayName;
1821
+ const is = () => {
1822
+ const { navigation: t } = He();
1823
+ return t.length <= 1 ? null : /* @__PURE__ */ o.jsx("nav", { className: "border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ o.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
1824
+ ke,
1825
+ {
1826
+ className: ({ isActive: n }) => hr(
561
1827
  "block py-3.5 font-medium -mb-px border-b-2",
562
- s ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
1828
+ n ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
563
1829
  ),
564
1830
  to: e.path,
565
1831
  children: e.label
566
1832
  }
567
1833
  ) }, e.label)) }) });
568
- }, Oe = je(function() {
569
- const [e, s] = Be(), { isAuthenticated: a, profile: r, isAuthEnabled: o, login: l, logout: h } = Ve(), { meta: g } = U(), b = e ? Pt : Nt;
570
- return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
571
- /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
572
- /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
573
- (g == null ? void 0 : g.logo) && /* @__PURE__ */ n.jsx("img", { src: g.logo, alt: "My Dev Portal", className: "h-10" }),
574
- /* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: g == null ? void 0 : g.headerTitle })
575
- ] }),
576
- /* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
577
- /* @__PURE__ */ n.jsx("div", { className: "w-full max-w-prose", children: /* @__PURE__ */ n.jsxs("button", { 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-40 sm:w-72", children: [
578
- /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
579
- /* @__PURE__ */ n.jsx(wt, { size: 14 }),
580
- "Search"
581
- ] }),
582
- /* @__PURE__ */ n.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border border-border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
583
- ] }) }),
584
- /* @__PURE__ */ n.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex", children: [
585
- o && /* @__PURE__ */ n.jsx(n.Fragment, { children: a ? /* @__PURE__ */ n.jsxs(
586
- "button",
1834
+ }, Vn = ({ item: t }) => t.children ? /* @__PURE__ */ o.jsxs(as, { children: [
1835
+ /* @__PURE__ */ o.jsx(Qn, { children: t.label }),
1836
+ /* @__PURE__ */ o.jsx(rs, { children: /* @__PURE__ */ o.jsx(Un, { children: t.children.map((e, n) => (
1837
+ // eslint-disable-next-line react/no-array-index-key
1838
+ /* @__PURE__ */ o.jsx(Vn, { item: e }, n)
1839
+ )) }) })
1840
+ ] }, t.label) : /* @__PURE__ */ o.jsx(Be, { to: t.path ?? "", children: /* @__PURE__ */ o.jsx(Hn, { children: t.label }, t.label) }), Yn = It(function() {
1841
+ const [e, n] = pr(), { isAuthenticated: r, profile: a, isAuthEnabled: s, login: i, logout: u } = yr(), d = He(), { page: h, plugins: p } = d, l = e ? ua : la;
1842
+ return /* @__PURE__ */ o.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ o.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
1843
+ /* @__PURE__ */ o.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-12 h-[--top-header-height]", children: [
1844
+ /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-3.5", children: [
1845
+ (h == null ? void 0 : h.logo) && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1846
+ /* @__PURE__ */ o.jsx(
1847
+ "img",
587
1848
  {
588
- className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded text-nowrap",
589
- onClick: h,
590
- children: [
591
- "Logout ",
592
- r != null && r.email ? `(${r.email})` : null
593
- ]
1849
+ src: h.logo.src.light,
1850
+ alt: h.logo.alt ?? h.pageTitle,
1851
+ style: { width: h.logo.width },
1852
+ className: P("h-10", e && "hidden"),
1853
+ loading: "lazy"
594
1854
  }
595
- ) : /* @__PURE__ */ n.jsx(
596
- "button",
1855
+ ),
1856
+ /* @__PURE__ */ o.jsx(
1857
+ "img",
597
1858
  {
598
- className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded",
599
- onClick: l,
600
- children: "Login"
1859
+ src: h.logo.src.dark,
1860
+ alt: h.logo.alt ?? h.pageTitle,
1861
+ style: { width: h.logo.width },
1862
+ className: P("h-10", !e && "hidden"),
1863
+ loading: "lazy"
601
1864
  }
602
- ) }),
603
- /* @__PURE__ */ n.jsx(
1865
+ )
1866
+ ] }),
1867
+ /* @__PURE__ */ o.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: h == null ? void 0 : h.pageTitle })
1868
+ ] }),
1869
+ /* @__PURE__ */ o.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
1870
+ /* @__PURE__ */ o.jsx("div", { className: "w-full max-w-prose" }),
1871
+ /* @__PURE__ */ o.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex gap-2", children: [
1872
+ s && !r ? /* @__PURE__ */ o.jsx(Fe, { variant: "ghost", asChild: !0, children: /* @__PURE__ */ o.jsx(Be, { to: "/login", children: "Login" }) }) : /* @__PURE__ */ o.jsxs(ts, { children: [
1873
+ /* @__PURE__ */ o.jsx(ns, { asChild: !0, children: /* @__PURE__ */ o.jsx(Fe, { variant: "ghost", children: a != null && a.email ? `${a.email}` : "My Account" }) }),
1874
+ /* @__PURE__ */ o.jsxs(Gn, { className: "w-56", children: [
1875
+ /* @__PURE__ */ o.jsx(qn, { children: "My Account" }),
1876
+ /* @__PURE__ */ o.jsx(zn, {}),
1877
+ p.filter((m) => La(m)).flatMap((m) => m.getProfileMenuItems(d)).map((m) => /* @__PURE__ */ o.jsx(Vn, { item: m }, m.label))
1878
+ ] })
1879
+ ] }),
1880
+ /* @__PURE__ */ o.jsx(
604
1881
  "button",
605
1882
  {
1883
+ type: "button",
1884
+ "aria-label": e ? "Switch to light mode" : "Switch to dark mode",
606
1885
  className: "cursor-pointer hover:bg-secondary p-2.5 -m-2.5 rounded-full",
607
- onClick: s,
608
- children: /* @__PURE__ */ n.jsx(b, { size: 18 })
1886
+ onClick: n,
1887
+ children: /* @__PURE__ */ o.jsx(l, { size: 18 })
609
1888
  }
610
1889
  )
611
1890
  ] })
612
1891
  ] })
613
1892
  ] }),
614
- /* @__PURE__ */ n.jsx(kt, {})
1893
+ /* @__PURE__ */ o.jsx(is, {})
615
1894
  ] }) });
616
- }), Ce = {
617
- Header: Oe
618
- }, Ot = lt(Ce), Ct = Ot.Provider, Mt = () => {
619
- const t = D(), { setActiveAnchor: e } = W();
620
- S(() => {
1895
+ }), Xn = {
1896
+ Header: Yn
1897
+ }, cs = Dt(Xn), us = cs.Provider, ls = ({
1898
+ children: t,
1899
+ ...e
1900
+ }) => {
1901
+ var l, m;
1902
+ const n = be(
1903
+ () => ({ ...Xn, ...e.overrides }),
1904
+ [e.overrides]
1905
+ ), r = be(
1906
+ () => {
1907
+ var v;
1908
+ return { ...fr, ...(v = e.mdx) == null ? void 0 : v.components };
1909
+ },
1910
+ [(l = e.mdx) == null ? void 0 : l.components]
1911
+ ), { stagger: a } = Br(Le), [s, i] = At(!1), u = be(
1912
+ () => s ? { stagger: !0 } : { stagger: a },
1913
+ [a, s]
1914
+ ), d = br();
1915
+ oe(() => {
1916
+ s || i(!0);
1917
+ }, [s, d.location]);
1918
+ const h = be(() => new Ua(e), [e]);
1919
+ oe(() => {
1920
+ h.initialize();
1921
+ }, [h]);
1922
+ const p = (m = e.plugins) == null ? void 0 : m.filter(Ba).map((v, x) => {
1923
+ var R;
1924
+ return /* @__PURE__ */ o.jsx(Qr, { children: (R = v.getHead) == null ? void 0 : R.call(v) }, x);
1925
+ });
1926
+ return /* @__PURE__ */ o.jsxs(na, { client: Gt, children: [
1927
+ /* @__PURE__ */ o.jsx($e, { children: p }),
1928
+ /* @__PURE__ */ o.jsx(Le.Provider, { value: u, children: /* @__PURE__ */ o.jsx(ra, { value: h, children: /* @__PURE__ */ o.jsx(sr, { components: r, children: /* @__PURE__ */ o.jsx(mr, { children: /* @__PURE__ */ o.jsx(us, { value: n, children: /* @__PURE__ */ o.jsx(gr, { children: t }) }) }) }) }) })
1929
+ ] });
1930
+ }, ds = It(ls), Wn = (t) => /* @__PURE__ */ o.jsx(ka, { FallbackComponent: Ga, children: /* @__PURE__ */ o.jsx(ds, { ...t }) });
1931
+ Wn.displayName = "DevPortal";
1932
+ const hs = () => {
1933
+ const t = se(), { setActiveAnchor: e } = Qe();
1934
+ oe(() => {
621
1935
  if (!t.hash) return;
622
- const s = t.hash.split("/")[0].slice(1), a = document.getElementById(decodeURIComponent(s));
623
- if (a) {
1936
+ const n = t.hash.split("/")[0].slice(1), r = document.getElementById(decodeURIComponent(n));
1937
+ if (r) {
624
1938
  requestAnimationFrame(() => {
625
- a.scrollIntoView(), requestIdleCallback(() => e(s));
1939
+ r.scrollIntoView(), requestIdleCallback(() => e(n));
626
1940
  });
627
1941
  return;
628
1942
  }
629
- const r = new MutationObserver((o, l) => {
630
- const h = document.getElementById(decodeURIComponent(s));
631
- h && (h.scrollIntoView(), requestIdleCallback(() => e(s)), l.disconnect());
1943
+ const a = new MutationObserver((s, i) => {
1944
+ const u = document.getElementById(decodeURIComponent(n));
1945
+ u && (u.scrollIntoView(), requestIdleCallback(() => e(n)), i.disconnect());
632
1946
  });
633
- return r.observe(document.body, { childList: !0, subtree: !0 }), () => r.disconnect();
1947
+ return a.observe(document.body, { childList: !0, subtree: !0 }), () => a.disconnect();
634
1948
  }, [t.hash, e]);
635
- }, At = () => {
636
- const t = D(), e = K(t.pathname);
637
- S(() => {
1949
+ }, ps = () => {
1950
+ const t = se(), e = Se(t.pathname);
1951
+ oe(() => {
638
1952
  e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
639
1953
  }, [t.pathname]);
640
- }, Me = ({
1954
+ }, Jn = ({
641
1955
  item: t,
642
1956
  defaultOpen: e,
643
- path: s
1957
+ path: n
644
1958
  }) => {
645
- const [a, r] = ct(e), o = D(), l = K(o.pathname);
646
- return S(() => {
647
- !a && l.current !== o.pathname && r(X(t, o.pathname, s)), l.current = o.pathname;
648
- }, [a, t, s, o.pathname]), [a, r];
649
- }, H = Xe(
1959
+ const [r, a] = At(e), s = se(), i = Se(s.pathname);
1960
+ return oe(() => {
1961
+ !r && i.current !== s.pathname && a(qe(t, s.pathname, n)), i.current = s.pathname;
1962
+ }, [r, t, n, s.pathname]), [r, a];
1963
+ }, Pe = vr(
650
1964
  "flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
651
1965
  {
652
1966
  variants: {
@@ -660,126 +1974,126 @@ const Nt = I("Sun", [
660
1974
  }
661
1975
  }
662
1976
  }
663
- ), Qt = "data-anchor", Ae = ({
1977
+ ), fs = "data-anchor", Zn = ({
664
1978
  category: t,
665
1979
  item: e,
666
- activeAnchor: s,
667
- currentTopNavItem: a,
668
- basePath: r = ""
1980
+ activeAnchor: n,
1981
+ currentTopNavItem: r,
1982
+ basePath: a = ""
669
1983
  }) => {
670
- const o = V(e) ? ve(r, e.path) : "", l = D(), [h, g] = Me({
1984
+ const s = vt(e) ? $t(a, e.path) : "", i = se(), [u, d] = Jn({
671
1985
  item: e,
672
- path: o,
673
- defaultOpen: () => X(e, l.pathname, o)
1986
+ path: s,
1987
+ defaultOpen: () => qe(e, i.pathname, s)
674
1988
  });
675
- if (Ue(e)) {
676
- const d = z(
1989
+ if (aa(e)) {
1990
+ const p = P(
677
1991
  "flex items-center gap-2",
678
- H({
679
- isActive: e.href === l.pathname
1992
+ Pe({
1993
+ isActive: e.href === i.pathname
680
1994
  })
681
1995
  );
682
- return e.href.startsWith("http") ? /* @__PURE__ */ n.jsxs(
1996
+ return e.href.startsWith("http") ? /* @__PURE__ */ o.jsxs(
683
1997
  "a",
684
1998
  {
685
- className: d,
1999
+ className: p,
686
2000
  href: e.href,
687
2001
  target: "_blank",
688
2002
  rel: "noopener noreferrer",
689
2003
  children: [
690
2004
  e.label,
691
- /* @__PURE__ */ n.jsx(jt, { size: 14 })
2005
+ /* @__PURE__ */ o.jsx(ca, { size: 14 })
692
2006
  ]
693
2007
  }
694
- ) : /* @__PURE__ */ n.jsx(B, { className: d, to: e.href, children: e.label });
2008
+ ) : /* @__PURE__ */ o.jsx(ke, { className: p, to: e.href, children: e.label });
695
2009
  }
696
- const b = /* @__PURE__ */ n.jsxs("div", { className: "flex justify-between w-full", children: [
697
- /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
2010
+ const h = /* @__PURE__ */ o.jsxs("div", { className: "flex justify-between w-full", children: [
2011
+ /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
698
2012
  e.icon,
699
- typeof e.label != "string" ? e.label : /* @__PURE__ */ n.jsx("span", { className: "truncate", children: e.label })
2013
+ typeof e.label != "string" ? e.label : /* @__PURE__ */ o.jsx("span", { className: "truncate", children: e.label })
700
2014
  ] }),
701
- e.children && /* @__PURE__ */ n.jsx(
702
- ke,
2015
+ e.children && /* @__PURE__ */ o.jsx(
2016
+ ze,
703
2017
  {
704
2018
  size: 16,
705
2019
  className: "transition shrink-0 group-data-[state=open]:rotate-90"
706
2020
  }
707
2021
  )
708
2022
  ] });
709
- return /* @__PURE__ */ n.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ n.jsxs(
710
- xe,
2023
+ return /* @__PURE__ */ o.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ o.jsxs(
2024
+ Tt,
711
2025
  {
712
- open: h,
713
- onOpenChange: () => g((d) => !d),
2026
+ open: u,
2027
+ onOpenChange: () => d((p) => !p),
714
2028
  className: "flex flex-col",
715
2029
  children: [
716
- /* @__PURE__ */ n.jsx(
717
- ye,
2030
+ /* @__PURE__ */ o.jsx(
2031
+ kt,
718
2032
  {
719
- className: z(
2033
+ className: P(
720
2034
  "group text-start",
721
- H({ isActive: !1 })
2035
+ Pe({ isActive: !1 })
722
2036
  ),
723
- children: b
2037
+ children: h
724
2038
  }
725
2039
  ),
726
- /* @__PURE__ */ n.jsx(be, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ n.jsx("ul", { className: "mt-1 border-border border-l ps-1.5", children: e.children.map((d) => /* @__PURE__ */ n.jsx(
727
- Ae,
2040
+ /* @__PURE__ */ o.jsx(Ft, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ o.jsx("ul", { className: "mt-1 border-l ps-1.5", children: e.children.map((p) => /* @__PURE__ */ o.jsx(
2041
+ Zn,
728
2042
  {
729
2043
  category: t,
730
- item: d,
731
- activeAnchor: s,
732
- currentTopNavItem: a,
733
- basePath: o
2044
+ item: p,
2045
+ activeAnchor: n,
2046
+ currentTopNavItem: r,
2047
+ basePath: s
734
2048
  },
735
- V(d) ? d.path : d.href
2049
+ vt(p) ? p.path : p.href
736
2050
  )) }) })
737
2051
  ]
738
2052
  }
739
- ) : e.path.startsWith("#") ? /* @__PURE__ */ n.jsx(
740
- We,
2053
+ ) : e.path.startsWith("#") ? /* @__PURE__ */ o.jsx(
2054
+ ir,
741
2055
  {
742
2056
  to: e.path,
743
- [Qt]: e.path,
744
- className: H({
745
- isActive: e.path.slice(1) === s,
2057
+ [fs]: e.path,
2058
+ className: Pe({
2059
+ isActive: e.path.slice(1) === n,
746
2060
  isMuted: e.muted
747
2061
  }),
748
- children: b
2062
+ children: h
749
2063
  }
750
- ) : /* @__PURE__ */ n.jsx(
751
- B,
2064
+ ) : /* @__PURE__ */ o.jsx(
2065
+ ke,
752
2066
  {
753
- className: ({ isActive: d }) => H({ isActive: d }),
754
- to: o,
755
- children: b
2067
+ className: ({ isActive: p }) => Pe({ isActive: p }),
2068
+ to: s,
2069
+ children: h
756
2070
  }
757
2071
  ) });
758
- }, qt = ({
2072
+ }, ms = ({
759
2073
  category: t
760
2074
  }) => {
761
- const { activeAnchor: e } = W(), s = $e(), a = D(), r = t.collapsible ?? !0, [o, l] = Me({
2075
+ const { activeAnchor: e } = Qe(), n = oa(), r = se(), a = t.collapsible ?? !0, [s, i] = Jn({
762
2076
  item: t,
763
- path: (s == null ? void 0 : s.path) ?? "",
764
- defaultOpen: () => !r || t.expanded || X(t, a.pathname, (s == null ? void 0 : s.path) ?? "")
2077
+ path: (n == null ? void 0 : n.path) ?? "",
2078
+ defaultOpen: () => !a || t.expanded || qe(t, r.pathname, (n == null ? void 0 : n.path) ?? "")
765
2079
  });
766
- return /* @__PURE__ */ n.jsxs(
767
- xe,
2080
+ return /* @__PURE__ */ o.jsxs(
2081
+ Tt,
768
2082
  {
769
- open: o,
770
- onOpenChange: () => l((h) => !h),
2083
+ open: s,
2084
+ onOpenChange: () => i((u) => !u),
771
2085
  children: [
772
- t.label.length > 0 ? /* @__PURE__ */ n.jsx(ye, { asChild: r, disabled: !r, children: /* @__PURE__ */ n.jsxs(
2086
+ t.label.length > 0 ? /* @__PURE__ */ o.jsx(kt, { asChild: a, disabled: !a, children: /* @__PURE__ */ o.jsxs(
773
2087
  "h5",
774
2088
  {
775
- className: z(
2089
+ className: P(
776
2090
  "flex group items-center justify-between cursor-pointer font-semibold text-foreground/90 px-[--padding-nav-item] py-1.5 rounded-lg transition-colors duration-300 -mx-[--padding-nav-item]",
777
- r ? "hover:bg-accent" : "cursor-auto"
2091
+ a ? "hover:bg-accent" : "cursor-auto"
778
2092
  ),
779
2093
  children: [
780
2094
  t.label,
781
- r && /* @__PURE__ */ n.jsx(
782
- ke,
2095
+ a && /* @__PURE__ */ o.jsx(
2096
+ ze,
783
2097
  {
784
2098
  className: "group-data-[state=open]:rotate-90 transition",
785
2099
  size: 16
@@ -788,123 +2102,90 @@ const Nt = I("Sun", [
788
2102
  ]
789
2103
  }
790
2104
  ) }) : "Endpoints",
791
- /* @__PURE__ */ n.jsx(be, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((h) => /* @__PURE__ */ n.jsx(
792
- Ae,
2105
+ /* @__PURE__ */ o.jsx(Ft, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ o.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((u, d) => /* @__PURE__ */ o.jsx(
2106
+ Zn,
793
2107
  {
794
2108
  category: t,
795
- item: h,
2109
+ item: u,
796
2110
  activeAnchor: e,
797
- currentTopNavItem: s,
798
- basePath: ve(s == null ? void 0 : s.path, t.path)
2111
+ currentTopNavItem: n,
2112
+ basePath: $t(n == null ? void 0 : n.path, t.path)
799
2113
  },
800
- V(h) ? h.path + h.label : h.href
2114
+ d
801
2115
  )) }) })
802
2116
  ]
803
2117
  },
804
2118
  t.label
805
2119
  );
806
- }, Dt = ht(function({ children: e, className: s, pushMainContent: a }, r) {
807
- return /* @__PURE__ */ n.jsx(
2120
+ }, gs = Ur(function({ children: e, className: n, pushMainContent: r }, a) {
2121
+ return /* @__PURE__ */ o.jsx(
808
2122
  "nav",
809
2123
  {
810
- "data-navigation": String(a),
811
- className: z(
2124
+ "data-navigation": String(r),
2125
+ className: P(
812
2126
  "peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 p-[--padding-nav-item] -mx-[--padding-nav-item] pb-20 pt-[--padding-content-top] w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
813
- s
2127
+ n
814
2128
  ),
815
- ref: r,
2129
+ ref: a,
816
2130
  children: e
817
2131
  }
818
2132
  );
819
- }), Tt = () => {
820
- const t = K(null), e = Ge();
821
- return /* @__PURE__ */ n.jsx(
822
- Dt,
2133
+ }), vs = () => {
2134
+ const t = Se(null), e = sa();
2135
+ return /* @__PURE__ */ o.jsx(
2136
+ gs,
823
2137
  {
824
2138
  ref: t,
825
2139
  pushMainContent: e.data.items.length > 0,
826
- children: e.data.items.map((s) => /* @__PURE__ */ n.jsx(qt, { category: s }, s.label))
2140
+ children: e.data.items.map((n) => /* @__PURE__ */ o.jsx(ms, { category: n }, n.label))
827
2141
  }
828
2142
  );
829
- }, ue = ({ children: t }) => {
830
- const e = D(), { setActiveAnchor: s } = W(), { meta: a } = U();
831
- Mt(), At();
832
- const r = K(e.pathname);
833
- return S(() => {
834
- e.pathname !== r.current && s(""), r.current = e.pathname;
835
- }, [e.pathname, s]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
836
- /* @__PURE__ */ n.jsxs(Je, { titleTemplate: a == null ? void 0 : a.pageTitle, children: [
837
- /* @__PURE__ */ n.jsx("title", { children: "Home" }),
838
- (a == null ? void 0 : a.description) && /* @__PURE__ */ n.jsx("meta", { name: "description", content: a.description }),
839
- (a == null ? void 0 : a.favicon) && /* @__PURE__ */ n.jsx("link", { rel: "icon", href: a.favicon })
2143
+ }, xs = ({ children: t }) => {
2144
+ const e = se(), { setActiveAnchor: n } = Qe(), { meta: r } = He();
2145
+ hs(), ps();
2146
+ const a = Se(e.pathname);
2147
+ return oe(() => {
2148
+ e.pathname !== a.current && n(""), a.current = e.pathname;
2149
+ }, [e.pathname, n]), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2150
+ /* @__PURE__ */ o.jsxs($e, { titleTemplate: r == null ? void 0 : r.title, children: [
2151
+ (r == null ? void 0 : r.description) && /* @__PURE__ */ o.jsx("meta", { name: "description", content: r.description }),
2152
+ (r == null ? void 0 : r.favicon) && /* @__PURE__ */ o.jsx("link", { rel: "icon", href: r.favicon })
840
2153
  ] }),
841
- /* @__PURE__ */ n.jsx(Oe, {}),
842
- /* @__PURE__ */ n.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ n.jsxs(
843
- Pe,
2154
+ /* @__PURE__ */ o.jsx(Yn, {}),
2155
+ /* @__PURE__ */ o.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ o.jsxs(
2156
+ Gr,
844
2157
  {
845
- fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(Ye, {}) }),
2158
+ fallback: /* @__PURE__ */ o.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ o.jsx(Vr, {}) }),
846
2159
  children: [
847
- /* @__PURE__ */ n.jsx(Tt, {}),
848
- /* @__PURE__ */ n.jsx(
2160
+ /* @__PURE__ */ o.jsx(vs, {}),
2161
+ /* @__PURE__ */ o.jsx(
849
2162
  "main",
850
2163
  {
851
- className: `dark:border-white/10 translate-x-0 h-full
852
- lg:overflow-visible
853
- lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]
854
- lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] peer-data-[navigation=true]:pl-12`,
855
- children: t ?? /* @__PURE__ */ n.jsx(Ie, {})
2164
+ className: P(
2165
+ "dark:border-white/10 translate-x-0 h-full",
2166
+ "lg:overflow-visible",
2167
+ "lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]",
2168
+ "lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
2169
+ ),
2170
+ children: t ?? /* @__PURE__ */ o.jsx(Cr, {})
856
2171
  }
857
2172
  )
858
2173
  ]
859
2174
  }
860
2175
  ) })
861
2176
  ] });
862
- };
863
- function It({ plugins: t }) {
864
- const e = L(() => {
865
- const s = (t ?? []).flatMap(
866
- (a) => we(a) ? a.getRoutes() : []
867
- );
868
- return Ze([
869
- {
870
- path: "/",
871
- element: /* @__PURE__ */ n.jsx(ue, {}),
872
- errorElement: /* @__PURE__ */ n.jsx(ue, { children: /* @__PURE__ */ n.jsx("div", { className: "h-[75vh] flex items-center justify-center", children: "Error, look at the console" }) }),
873
- children: s
874
- }
875
- ]);
876
- }, [t]);
877
- return /* @__PURE__ */ n.jsx(et, { router: e });
878
- }
879
- const St = (t) => {
880
- const e = L(
881
- () => ({ ...Ce, ...t.overrides }),
882
- [t.overrides]
883
- ), s = L(
884
- () => ({ ...tt, ...t.mdxComponents }),
885
- [t.mdxComponents]
886
- ), a = L(() => new bt(t), [t]);
887
- return S(() => {
888
- a.initialize();
889
- }, [a]), /* @__PURE__ */ n.jsx(st, { client: Ne, children: /* @__PURE__ */ n.jsx(at, { children: /* @__PURE__ */ n.jsx(nt, { value: a, children: /* @__PURE__ */ n.jsx(rt, { components: s, children: /* @__PURE__ */ n.jsx(it, { children: /* @__PURE__ */ n.jsx(Ct, { value: e, children: /* @__PURE__ */ n.jsx(ot, { children: /* @__PURE__ */ n.jsx(
890
- Pe,
891
- {
892
- fallback: /* @__PURE__ */ n.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
893
- children: /* @__PURE__ */ n.jsx(
894
- It,
895
- {
896
- plugins: [
897
- ...t.plugins ?? [],
898
- ...t.authentication ? [t.authentication] : []
899
- ]
900
- }
901
- )
902
- }
903
- ) }) }) }) }) }) }) });
904
- }, Et = je(St);
905
- Et.displayName = "DevPortal";
2177
+ }, Ds = cr, Is = xr, As = Wn, Os = xs, Ts = Be, ks = wr, Fs = da, Ls = Sa, Ks = Na, $s = Fe, Bs = $e;
906
2178
  export {
907
- Et as DevPortal,
908
- Bt as Link,
909
- Vt as useMDXComponents
2179
+ Ls as Bootstrap,
2180
+ Ks as BootstrapStatic,
2181
+ $s as Button,
2182
+ Is as Callout,
2183
+ As as DevPortal,
2184
+ Bs as Head,
2185
+ Os as Layout,
2186
+ Ts as Link,
2187
+ ks as RouterError,
2188
+ Fs as ServerError,
2189
+ Ds as useMDXComponents
910
2190
  };
2191
+ //# sourceMappingURL=zudoku.components.js.map