zudoku 0.0.0-ff3bc72 → 0.0.0-fix-image-base-path.c9e0e61c

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 (1933) hide show
  1. package/README.md +121 -0
  2. package/cli.js +11 -2
  3. package/dist/app/ZuploBuildConfig.d.ts +45 -0
  4. package/dist/app/ZuploBuildConfig.js +29 -0
  5. package/dist/app/ZuploBuildConfig.js.map +1 -0
  6. package/dist/app/demo.js +22 -9
  7. package/dist/app/demo.js.map +1 -1
  8. package/dist/app/entry.client.d.ts +6 -2
  9. package/dist/app/entry.client.js +53 -5
  10. package/dist/app/entry.client.js.map +1 -1
  11. package/dist/app/entry.server.d.ts +9 -8
  12. package/dist/app/entry.server.js +21 -16
  13. package/dist/app/entry.server.js.map +1 -1
  14. package/dist/app/env.d.ts +33 -0
  15. package/dist/app/env.js +37 -0
  16. package/dist/app/env.js.map +1 -0
  17. package/dist/app/main.d.ts +4 -2
  18. package/dist/app/main.js +51 -69
  19. package/dist/app/main.js.map +1 -1
  20. package/dist/app/sentry.d.ts +3 -0
  21. package/dist/app/sentry.js +19 -0
  22. package/dist/app/sentry.js.map +1 -0
  23. package/dist/app/standalone.js +8 -10
  24. package/dist/app/standalone.js.map +1 -1
  25. package/dist/cli/build/handler.d.ts +1 -3
  26. package/dist/cli/build/handler.js +18 -2
  27. package/dist/cli/build/handler.js.map +1 -1
  28. package/dist/cli/cli.js +18 -5
  29. package/dist/cli/cli.js.map +1 -1
  30. package/dist/cli/cmds/build.d.ts +11 -3
  31. package/dist/cli/cmds/build.js +21 -13
  32. package/dist/cli/cmds/build.js.map +1 -1
  33. package/dist/cli/cmds/dev.d.ts +1 -1
  34. package/dist/cli/cmds/dev.js +5 -0
  35. package/dist/cli/cmds/dev.js.map +1 -1
  36. package/dist/cli/cmds/preview.d.ts +16 -0
  37. package/dist/cli/cmds/preview.js +25 -0
  38. package/dist/cli/cmds/preview.js.map +1 -0
  39. package/dist/cli/common/logger.js +9 -0
  40. package/dist/cli/common/logger.js.map +1 -1
  41. package/dist/cli/common/machine-id/lib.js +1 -0
  42. package/dist/cli/common/machine-id/lib.js.map +1 -1
  43. package/dist/cli/common/outdated.js +2 -1
  44. package/dist/cli/common/outdated.js.map +1 -1
  45. package/dist/cli/common/output.js.map +1 -1
  46. package/dist/cli/common/utils/box.js.map +1 -1
  47. package/dist/cli/common/utils/ports.d.ts +1 -1
  48. package/dist/cli/common/utils/ports.js +16 -15
  49. package/dist/cli/common/utils/ports.js.map +1 -1
  50. package/dist/cli/dev/handler.d.ts +1 -0
  51. package/dist/cli/dev/handler.js +16 -13
  52. package/dist/cli/dev/handler.js.map +1 -1
  53. package/dist/cli/preview/handler.d.ts +3 -0
  54. package/dist/cli/preview/handler.js +35 -0
  55. package/dist/cli/preview/handler.js.map +1 -0
  56. package/dist/codegen.d.ts +3 -0
  57. package/dist/codegen.js +45 -0
  58. package/dist/codegen.js.map +1 -0
  59. package/dist/config/config.d.ts +29 -13
  60. package/dist/config/file-exists.d.ts +1 -0
  61. package/dist/config/file-exists.js +5 -0
  62. package/dist/config/file-exists.js.map +1 -0
  63. package/dist/config/loader.d.ts +21 -0
  64. package/dist/config/loader.js +141 -0
  65. package/dist/config/loader.js.map +1 -0
  66. package/dist/config/validators/BuildSchema.d.ts +36 -0
  67. package/dist/config/validators/BuildSchema.js +25 -0
  68. package/dist/config/validators/BuildSchema.js.map +1 -0
  69. package/dist/config/validators/InputNavigationSchema.d.ts +7460 -0
  70. package/dist/config/validators/InputNavigationSchema.js +74 -0
  71. package/dist/config/validators/InputNavigationSchema.js.map +1 -0
  72. package/dist/config/validators/InputNavigationSchema.test-d.js +145 -0
  73. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
  74. package/dist/config/validators/NavigationSchema.d.ts +44 -0
  75. package/dist/config/validators/NavigationSchema.js +98 -0
  76. package/dist/config/validators/NavigationSchema.js.map +1 -0
  77. package/dist/config/validators/ProtectedRoutesSchema.d.ts +12 -0
  78. package/dist/config/validators/ProtectedRoutesSchema.js +19 -0
  79. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
  80. package/dist/config/validators/icon-types.d.ts +2 -0
  81. package/dist/config/validators/icon-types.js +1830 -0
  82. package/dist/config/validators/icon-types.js.map +1 -0
  83. package/dist/config/validators/validate.d.ts +679 -1417
  84. package/dist/config/validators/validate.js +356 -134
  85. package/dist/config/validators/validate.js.map +1 -1
  86. package/dist/config/validators/validate.test.js +141 -0
  87. package/dist/config/validators/validate.test.js.map +1 -0
  88. package/dist/index.d.ts +10 -2
  89. package/dist/index.js +5 -1
  90. package/dist/index.js.map +1 -1
  91. package/dist/lib/MissingIcon.d.ts +2 -0
  92. package/dist/lib/MissingIcon.js +7 -0
  93. package/dist/lib/MissingIcon.js.map +1 -0
  94. package/dist/lib/auth/issuer.d.ts +2 -0
  95. package/dist/lib/auth/issuer.js +37 -0
  96. package/dist/lib/auth/issuer.js.map +1 -0
  97. package/dist/lib/auth/issuer.test.js +94 -0
  98. package/dist/lib/auth/issuer.test.js.map +1 -0
  99. package/dist/lib/authentication/AuthenticationPlugin.d.ts +6 -4
  100. package/dist/lib/authentication/AuthenticationPlugin.js +4 -1
  101. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  102. package/dist/lib/authentication/authentication.d.ts +6 -5
  103. package/dist/lib/authentication/components/CallbackHandler.js +27 -31
  104. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  105. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
  106. package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
  107. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
  108. package/dist/lib/authentication/components/SignIn.d.ts +1 -1
  109. package/dist/lib/authentication/components/SignIn.js +6 -2
  110. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  111. package/dist/lib/authentication/components/SignOut.js +2 -2
  112. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  113. package/dist/lib/authentication/components/SignUp.d.ts +1 -1
  114. package/dist/lib/authentication/components/SignUp.js +4 -1
  115. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  116. package/dist/lib/authentication/errors.d.ts +6 -12
  117. package/dist/lib/authentication/errors.js +2 -1
  118. package/dist/lib/authentication/errors.js.map +1 -1
  119. package/dist/lib/authentication/hook.d.ts +13 -4
  120. package/dist/lib/authentication/hook.js +12 -4
  121. package/dist/lib/authentication/hook.js.map +1 -1
  122. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  123. package/dist/lib/authentication/providers/auth0.js +16 -14
  124. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  125. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  126. package/dist/lib/authentication/providers/azureb2c.js +147 -0
  127. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  128. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  129. package/dist/lib/authentication/providers/clerk.js +111 -49
  130. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  131. package/dist/lib/authentication/providers/openid.d.ts +26 -21
  132. package/dist/lib/authentication/providers/openid.js +112 -73
  133. package/dist/lib/authentication/providers/openid.js.map +1 -1
  134. package/dist/lib/authentication/providers/supabase.d.ts +4 -0
  135. package/dist/lib/authentication/providers/supabase.js +108 -0
  136. package/dist/lib/authentication/providers/supabase.js.map +1 -0
  137. package/dist/lib/authentication/state.d.ts +24 -19
  138. package/dist/lib/authentication/state.js +47 -7
  139. package/dist/lib/authentication/state.js.map +1 -1
  140. package/dist/lib/authentication/use-broadcast/shared.d.ts +48 -0
  141. package/dist/lib/authentication/use-broadcast/shared.js +243 -0
  142. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -0
  143. package/dist/lib/authentication/use-broadcast/useBroadcast.d.ts +24 -0
  144. package/dist/lib/authentication/use-broadcast/useBroadcast.js +106 -0
  145. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -0
  146. package/dist/lib/components/AnchorLink.d.ts +2 -2
  147. package/dist/lib/components/AnchorLink.js +9 -5
  148. package/dist/lib/components/AnchorLink.js.map +1 -1
  149. package/dist/lib/components/Autocomplete.d.ts +13 -0
  150. package/dist/lib/components/Autocomplete.js +47 -0
  151. package/dist/lib/components/Autocomplete.js.map +1 -0
  152. package/dist/lib/components/Banner.js +2 -2
  153. package/dist/lib/components/Banner.js.map +1 -1
  154. package/dist/lib/components/Bootstrap.d.ts +5 -3
  155. package/dist/lib/components/Bootstrap.js +13 -6
  156. package/dist/lib/components/Bootstrap.js.map +1 -1
  157. package/dist/lib/components/BuildCheck.d.ts +5 -0
  158. package/dist/lib/components/BuildCheck.js +37 -0
  159. package/dist/lib/components/BuildCheck.js.map +1 -0
  160. package/dist/lib/components/CategoryHeading.js +1 -1
  161. package/dist/lib/components/CategoryHeading.js.map +1 -1
  162. package/dist/lib/components/ClientOnly.d.ts +4 -2
  163. package/dist/lib/components/ClientOnly.js +1 -1
  164. package/dist/lib/components/ClientOnly.js.map +1 -1
  165. package/dist/lib/components/DeveloperHint.js +2 -1
  166. package/dist/lib/components/DeveloperHint.js.map +1 -1
  167. package/dist/lib/components/ErrorPage.js +2 -2
  168. package/dist/lib/components/ErrorPage.js.map +1 -1
  169. package/dist/lib/components/Footer.d.ts +1 -0
  170. package/dist/lib/components/Footer.js +32 -0
  171. package/dist/lib/components/Footer.js.map +1 -0
  172. package/dist/lib/components/Framed.d.ts +7 -0
  173. package/dist/lib/components/Framed.js +26 -0
  174. package/dist/lib/components/Framed.js.map +1 -0
  175. package/dist/lib/components/Header.js +32 -12
  176. package/dist/lib/components/Header.js.map +1 -1
  177. package/dist/lib/components/Heading.d.ts +10 -6
  178. package/dist/lib/components/Heading.js +7 -2
  179. package/dist/lib/components/Heading.js.map +1 -1
  180. package/dist/lib/components/InlineCode.d.ts +2 -1
  181. package/dist/lib/components/InlineCode.js +2 -9
  182. package/dist/lib/components/InlineCode.js.map +1 -1
  183. package/dist/lib/components/Layout.js +10 -21
  184. package/dist/lib/components/Layout.js.map +1 -1
  185. package/dist/lib/components/Main.d.ts +2 -0
  186. package/dist/lib/components/Main.js +18 -0
  187. package/dist/lib/components/Main.js.map +1 -0
  188. package/dist/lib/components/Markdown.d.ts +4 -3
  189. package/dist/lib/components/Markdown.js +14 -14
  190. package/dist/lib/components/Markdown.js.map +1 -1
  191. package/dist/lib/components/MobileTopNavigation.js +20 -7
  192. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  193. package/dist/lib/components/NotFoundPage.js +3 -3
  194. package/dist/lib/components/NotFoundPage.js.map +1 -1
  195. package/dist/lib/components/PageProgress.d.ts +1 -0
  196. package/dist/lib/components/PageProgress.js +20 -0
  197. package/dist/lib/components/PageProgress.js.map +1 -0
  198. package/dist/lib/components/Pagination.d.ts +11 -0
  199. package/dist/lib/components/Pagination.js +10 -0
  200. package/dist/lib/components/Pagination.js.map +1 -0
  201. package/dist/lib/components/PathRenderer.d.ts +11 -0
  202. package/dist/lib/components/PathRenderer.js +28 -0
  203. package/dist/lib/components/PathRenderer.js.map +1 -0
  204. package/dist/lib/components/ReactMarkdown.d.ts +29 -0
  205. package/dist/lib/components/ReactMarkdown.js +182 -0
  206. package/dist/lib/components/ReactMarkdown.js.map +1 -0
  207. package/dist/lib/components/Search.d.ts +3 -1
  208. package/dist/lib/components/Search.js +9 -3
  209. package/dist/lib/components/Search.js.map +1 -1
  210. package/dist/lib/components/Slot.d.ts +17 -0
  211. package/dist/lib/components/Slot.js +24 -0
  212. package/dist/lib/components/Slot.js.map +1 -0
  213. package/dist/lib/components/Slot.test.d.ts +1 -0
  214. package/dist/lib/components/Slot.test.js +168 -0
  215. package/dist/lib/components/Slot.test.js.map +1 -0
  216. package/dist/lib/components/StatusPage.d.ts +7 -0
  217. package/dist/lib/components/StatusPage.js +75 -0
  218. package/dist/lib/components/StatusPage.js.map +1 -0
  219. package/dist/lib/components/ThemeSwitch.d.ts +1 -0
  220. package/dist/lib/components/ThemeSwitch.js +16 -0
  221. package/dist/lib/components/ThemeSwitch.js.map +1 -0
  222. package/dist/lib/components/TopNavigation.d.ts +7 -0
  223. package/dist/lib/components/TopNavigation.js +60 -9
  224. package/dist/lib/components/TopNavigation.js.map +1 -1
  225. package/dist/lib/components/Typography.d.ts +5 -0
  226. package/dist/lib/components/Typography.js +8 -0
  227. package/dist/lib/components/Typography.js.map +1 -0
  228. package/dist/lib/components/Zudoku.d.ts +7 -0
  229. package/dist/lib/components/Zudoku.js +58 -0
  230. package/dist/lib/components/Zudoku.js.map +1 -0
  231. package/dist/lib/components/cache.d.ts +13 -0
  232. package/dist/lib/components/cache.js +20 -0
  233. package/dist/lib/components/cache.js.map +1 -0
  234. package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
  235. package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
  236. package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
  237. package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
  238. package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
  239. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
  240. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  241. package/dist/lib/components/context/SlotProvider.js +83 -0
  242. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  243. package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
  244. package/dist/lib/components/context/ViewportAnchorContext.js +29 -23
  245. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  246. package/dist/lib/components/context/ZudokuContext.d.ts +9 -17
  247. package/dist/lib/components/context/ZudokuContext.js +65 -26
  248. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  249. package/dist/lib/components/context/ZudokuProvider.d.ts +2 -2
  250. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  251. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  252. package/dist/lib/components/index.d.ts +77 -17
  253. package/dist/lib/components/index.js +36 -7
  254. package/dist/lib/components/index.js.map +1 -1
  255. package/dist/lib/components/navigation/Navigation.d.ts +5 -0
  256. package/dist/lib/components/navigation/Navigation.js +12 -0
  257. package/dist/lib/components/navigation/Navigation.js.map +1 -0
  258. package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
  259. package/dist/lib/components/navigation/NavigationBadge.js +26 -0
  260. package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
  261. package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
  262. package/dist/lib/components/navigation/NavigationCategory.js +61 -0
  263. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
  264. package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
  265. package/dist/lib/components/navigation/NavigationItem.js +55 -0
  266. package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
  267. package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
  268. package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
  269. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
  270. package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
  271. package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
  272. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
  273. package/dist/lib/components/navigation/Toc.js +46 -0
  274. package/dist/lib/components/navigation/Toc.js.map +1 -0
  275. package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
  276. package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
  277. package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
  278. package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
  279. package/dist/lib/components/navigation/ZuploLogo.js +4 -0
  280. package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
  281. package/dist/lib/components/navigation/utils.d.ts +14 -6
  282. package/dist/lib/components/navigation/utils.js +61 -33
  283. package/dist/lib/components/navigation/utils.js.map +1 -1
  284. package/dist/lib/core/RouteGuard.d.ts +2 -0
  285. package/dist/lib/core/RouteGuard.js +52 -0
  286. package/dist/lib/core/RouteGuard.js.map +1 -0
  287. package/dist/lib/core/ZudokuContext.d.ts +113 -0
  288. package/dist/lib/core/ZudokuContext.js +93 -0
  289. package/dist/lib/core/ZudokuContext.js.map +1 -0
  290. package/dist/lib/core/plugins.d.ts +37 -18
  291. package/dist/lib/core/plugins.js +4 -0
  292. package/dist/lib/core/plugins.js.map +1 -1
  293. package/dist/lib/errors/ErrorAlert.d.ts +1 -1
  294. package/dist/lib/errors/ErrorAlert.js +12 -3
  295. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  296. package/dist/lib/errors/RouterError.js +1 -1
  297. package/dist/lib/errors/RouterError.js.map +1 -1
  298. package/dist/lib/hooks/index.d.ts +28 -0
  299. package/dist/lib/hooks/index.js +16 -0
  300. package/dist/lib/hooks/index.js.map +1 -0
  301. package/dist/lib/hooks/useEvent.d.ts +11 -0
  302. package/dist/lib/hooks/useEvent.js +19 -0
  303. package/dist/lib/hooks/useEvent.js.map +1 -0
  304. package/dist/lib/hooks/useEvent.test.d.ts +1 -0
  305. package/dist/lib/hooks/useEvent.test.js +102 -0
  306. package/dist/lib/hooks/useEvent.test.js.map +1 -0
  307. package/dist/lib/hooks/useHotkey.d.ts +4 -0
  308. package/dist/lib/hooks/useHotkey.js +58 -0
  309. package/dist/lib/hooks/useHotkey.js.map +1 -0
  310. package/dist/lib/icons.d.ts +1 -0
  311. package/dist/lib/icons.js +1 -0
  312. package/dist/lib/icons.js.map +1 -1
  313. package/dist/lib/oas/graphql/circular.d.ts +3 -0
  314. package/dist/lib/oas/graphql/circular.js +43 -0
  315. package/dist/lib/oas/graphql/circular.js.map +1 -0
  316. package/dist/lib/oas/graphql/index.d.ts +25 -1
  317. package/dist/lib/oas/graphql/index.js +216 -69
  318. package/dist/lib/oas/graphql/index.js.map +1 -1
  319. package/dist/lib/oas/parser/dereference/index.js +8 -3
  320. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  321. package/dist/lib/oas/parser/index.d.ts +8 -3
  322. package/dist/lib/oas/parser/index.js +7 -23
  323. package/dist/lib/oas/parser/index.js.map +1 -1
  324. package/dist/lib/oas/parser/upgrade/index.d.ts +3 -2
  325. package/dist/lib/oas/parser/upgrade/index.js +83 -31
  326. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  327. package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -0
  328. package/dist/lib/plugins/api-catalog/Catalog.js +26 -0
  329. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  330. package/dist/lib/plugins/api-catalog/index.d.ts +31 -0
  331. package/dist/lib/plugins/api-catalog/index.js +46 -0
  332. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  333. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  334. package/dist/lib/plugins/api-keys/CreateApiKey.js +26 -8
  335. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  336. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  337. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  338. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  339. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +153 -28
  340. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  341. package/dist/lib/plugins/api-keys/index.d.ts +33 -18
  342. package/dist/lib/plugins/api-keys/index.js +65 -31
  343. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  344. package/dist/lib/plugins/custom-pages/index.d.ts +8 -0
  345. package/dist/lib/plugins/custom-pages/index.js +16 -0
  346. package/dist/lib/plugins/custom-pages/index.js.map +1 -0
  347. package/dist/lib/plugins/markdown/MdxPage.d.ts +9 -2
  348. package/dist/lib/plugins/markdown/MdxPage.js +43 -10
  349. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  350. package/dist/lib/plugins/markdown/index.d.ts +17 -8
  351. package/dist/lib/plugins/markdown/index.js +14 -3
  352. package/dist/lib/plugins/markdown/index.js.map +1 -1
  353. package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +5 -0
  354. package/dist/lib/plugins/openapi/CollapsibleCode.js +25 -0
  355. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -0
  356. package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
  357. package/dist/lib/plugins/openapi/ColorizedParam.js +29 -14
  358. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  359. package/dist/lib/plugins/openapi/Endpoint.js +13 -16
  360. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  361. package/dist/lib/plugins/openapi/OasProvider.d.ts +8 -0
  362. package/dist/lib/plugins/openapi/OasProvider.js +29 -0
  363. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
  364. package/dist/lib/plugins/openapi/OperationList.d.ts +6 -3
  365. package/dist/lib/plugins/openapi/OperationList.js +109 -29
  366. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  367. package/dist/lib/plugins/openapi/OperationListItem.d.ts +5 -3
  368. package/dist/lib/plugins/openapi/OperationListItem.js +13 -7
  369. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  370. package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
  371. package/dist/lib/plugins/openapi/ParamInfos.js +45 -0
  372. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
  373. package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -1
  374. package/dist/lib/plugins/openapi/ParameterList.js +3 -2
  375. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  376. package/dist/lib/plugins/openapi/ParameterListItem.js +19 -1
  377. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  378. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +4 -2
  379. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +17 -4
  380. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  381. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +3 -4
  382. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -9
  383. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  384. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
  385. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +4 -6
  386. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  387. package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
  388. package/dist/lib/plugins/openapi/SchemaList.js +52 -0
  389. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
  390. package/dist/lib/plugins/openapi/Sidecar.d.ts +1 -1
  391. package/dist/lib/plugins/openapi/Sidecar.js +87 -118
  392. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  393. package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
  394. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  395. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +9 -0
  396. package/dist/lib/plugins/openapi/SidecarExamples.js +76 -0
  397. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
  398. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  399. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  400. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
  401. package/dist/lib/plugins/openapi/client/GraphQLClient.js +43 -0
  402. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
  403. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
  404. package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
  405. package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
  406. package/dist/lib/plugins/openapi/client/createServer.d.ts +3 -1
  407. package/dist/lib/plugins/openapi/client/createServer.js +5 -2
  408. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  409. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +14 -0
  410. package/dist/lib/plugins/openapi/client/useCreateQuery.js +20 -0
  411. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
  412. package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
  413. package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
  414. package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
  415. package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
  416. package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
  417. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
  418. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  419. package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
  420. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  421. package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
  422. package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
  423. package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
  424. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  425. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
  426. package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
  427. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  428. package/dist/lib/plugins/openapi/graphql/gql.d.ts +8 -46
  429. package/dist/lib/plugins/openapi/graphql/gql.js +6 -13
  430. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  431. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +142 -25
  432. package/dist/lib/plugins/openapi/graphql/graphql.js +239 -662
  433. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  434. package/dist/lib/plugins/openapi/index.d.ts +11 -8
  435. package/dist/lib/plugins/openapi/index.js +106 -104
  436. package/dist/lib/plugins/openapi/index.js.map +1 -1
  437. package/dist/lib/plugins/openapi/interfaces.d.ts +58 -4
  438. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
  439. package/dist/lib/plugins/openapi/playground/BodyPanel.js +26 -0
  440. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
  441. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
  442. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
  443. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
  444. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
  445. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +9 -0
  446. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
  447. package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
  448. package/dist/lib/plugins/openapi/playground/Headers.js +108 -7
  449. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  450. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
  451. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +15 -0
  452. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
  453. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
  454. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +7 -0
  455. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
  456. package/dist/lib/plugins/openapi/playground/InlineInput.js +1 -1
  457. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +1 -1
  458. package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +9 -0
  459. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +5 -0
  460. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
  461. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
  462. package/dist/lib/plugins/openapi/playground/PathParams.js +4 -7
  463. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  464. package/dist/lib/plugins/openapi/playground/Playground.d.ts +32 -2
  465. package/dist/lib/plugins/openapi/playground/Playground.js +170 -85
  466. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  467. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +2 -2
  468. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  469. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +3 -3
  470. package/dist/lib/plugins/openapi/playground/QueryParams.js +43 -22
  471. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  472. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
  473. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
  474. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
  475. package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
  476. package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
  477. package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
  478. package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
  479. package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
  480. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
  481. package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
  482. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
  483. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
  484. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
  485. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
  486. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
  487. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
  488. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
  489. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
  490. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
  491. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
  492. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
  493. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
  494. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +69 -0
  495. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
  496. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +14 -0
  497. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +103 -0
  498. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
  499. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +11 -0
  500. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +15 -0
  501. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
  502. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
  503. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
  504. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
  505. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
  506. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
  507. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
  508. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +16 -0
  509. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +10 -0
  510. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
  511. package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
  512. package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
  513. package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
  514. package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
  515. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +194 -0
  516. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
  517. package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
  518. package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
  519. package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
  520. package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
  521. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +159 -0
  522. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
  523. package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
  524. package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
  525. package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
  526. package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
  527. package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
  528. package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
  529. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
  530. package/dist/lib/plugins/openapi/processors/traverse.js +2 -0
  531. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
  532. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +1 -2
  533. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
  534. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
  535. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
  536. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
  537. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
  538. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
  539. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
  540. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
  541. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
  542. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +15 -0
  543. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
  544. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +11 -0
  545. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +44 -0
  546. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
  547. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -2
  548. package/dist/lib/plugins/openapi/schema/SchemaView.js +40 -51
  549. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  550. package/dist/lib/plugins/openapi/schema/utils.d.ts +8 -1
  551. package/dist/lib/plugins/openapi/schema/utils.js +16 -4
  552. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  553. package/dist/lib/plugins/openapi/state.d.ts +25 -0
  554. package/dist/lib/plugins/openapi/state.js +18 -0
  555. package/dist/lib/plugins/openapi/state.js.map +1 -0
  556. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
  557. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
  558. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
  559. package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
  560. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +24 -0
  561. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
  562. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -2
  563. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +80 -39
  564. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  565. package/dist/lib/plugins/openapi/util/getRoutes.d.ts +10 -0
  566. package/dist/lib/plugins/openapi/util/getRoutes.js +117 -0
  567. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
  568. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
  569. package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
  570. package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
  571. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  572. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  573. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  574. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  575. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  576. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  577. package/dist/lib/plugins/redirect/index.d.ts +4 -7
  578. package/dist/lib/plugins/redirect/index.js +2 -2
  579. package/dist/lib/plugins/redirect/index.js.map +1 -1
  580. package/dist/lib/plugins/search-inkeep/index.d.ts +8 -6
  581. package/dist/lib/plugins/search-inkeep/index.js +49 -7
  582. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  583. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +2 -19
  584. package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
  585. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  586. package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
  587. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +80 -0
  588. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
  589. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
  590. package/dist/lib/plugins/search-pagefind/ResultList.js +39 -0
  591. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
  592. package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
  593. package/dist/lib/plugins/search-pagefind/get-results.js +42 -0
  594. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
  595. package/dist/lib/plugins/search-pagefind/index.d.ts +6 -0
  596. package/dist/lib/plugins/search-pagefind/index.js +9 -0
  597. package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
  598. package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
  599. package/dist/lib/plugins/search-pagefind/types.js +2 -0
  600. package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
  601. package/dist/lib/shiki.d.ts +35 -0
  602. package/dist/lib/shiki.js +103 -0
  603. package/dist/lib/shiki.js.map +1 -0
  604. package/dist/lib/ui/Accordion.d.ts +7 -0
  605. package/dist/lib/ui/Accordion.js +14 -0
  606. package/dist/lib/ui/Accordion.js.map +1 -0
  607. package/dist/lib/ui/ActionButton.d.ts +4 -0
  608. package/dist/lib/ui/ActionButton.js +10 -0
  609. package/dist/lib/ui/ActionButton.js.map +1 -0
  610. package/dist/lib/ui/Alert.d.ts +9 -0
  611. package/dist/lib/ui/Alert.js +25 -0
  612. package/dist/lib/ui/Alert.js.map +1 -0
  613. package/dist/lib/ui/AlertDialog.d.ts +20 -0
  614. package/dist/lib/ui/AlertDialog.js +27 -0
  615. package/dist/lib/ui/AlertDialog.js.map +1 -0
  616. package/dist/lib/ui/AspectRatio.d.ts +3 -0
  617. package/dist/lib/ui/AspectRatio.js +4 -0
  618. package/dist/lib/ui/AspectRatio.js.map +1 -0
  619. package/dist/lib/ui/Badge.d.ts +9 -0
  620. package/dist/lib/ui/Badge.js +22 -0
  621. package/dist/lib/ui/Badge.js.map +1 -0
  622. package/dist/lib/ui/Breadcrumb.d.ts +19 -0
  623. package/dist/lib/ui/Breadcrumb.js +24 -0
  624. package/dist/lib/ui/Breadcrumb.js.map +1 -0
  625. package/dist/lib/ui/Button.d.ts +4 -5
  626. package/dist/lib/ui/Button.js +9 -6
  627. package/dist/lib/ui/Button.js.map +1 -1
  628. package/dist/lib/ui/Callout.d.ts +38 -36
  629. package/dist/lib/ui/Callout.js +3 -2
  630. package/dist/lib/ui/Callout.js.map +1 -1
  631. package/dist/lib/ui/Card.js +1 -1
  632. package/dist/lib/ui/Card.js.map +1 -1
  633. package/dist/lib/ui/Carousel.d.ts +18 -0
  634. package/dist/lib/ui/Carousel.js +99 -0
  635. package/dist/lib/ui/Carousel.js.map +1 -0
  636. package/dist/lib/ui/Checkbox.d.ts +4 -0
  637. package/dist/lib/ui/Checkbox.js +9 -0
  638. package/dist/lib/ui/Checkbox.js.map +1 -0
  639. package/dist/lib/ui/CodeBlock.d.ts +15 -0
  640. package/dist/lib/ui/CodeBlock.js +43 -0
  641. package/dist/lib/ui/CodeBlock.js.map +1 -0
  642. package/dist/lib/ui/Collapsible.d.ts +5 -0
  643. package/dist/lib/ui/Collapsible.js +6 -0
  644. package/dist/lib/ui/Collapsible.js.map +1 -0
  645. package/dist/lib/ui/Command.d.ts +94 -0
  646. package/dist/lib/ui/Command.js +35 -0
  647. package/dist/lib/ui/Command.js.map +1 -0
  648. package/dist/lib/ui/Dialog.d.ts +21 -0
  649. package/dist/lib/ui/Dialog.js +23 -0
  650. package/dist/lib/ui/Dialog.js.map +1 -0
  651. package/dist/lib/ui/Drawer.d.ts +8 -10
  652. package/dist/lib/ui/Drawer.js.map +1 -1
  653. package/dist/lib/ui/DropdownMenu.js +4 -4
  654. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  655. package/dist/lib/ui/EmbeddedCodeBlock.d.ts +15 -0
  656. package/dist/lib/ui/EmbeddedCodeBlock.js +18 -0
  657. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  658. package/dist/lib/ui/Form.d.ts +23 -0
  659. package/dist/lib/ui/Form.js +63 -0
  660. package/dist/lib/ui/Form.js.map +1 -0
  661. package/dist/lib/ui/HoverCard.d.ts +6 -0
  662. package/dist/lib/ui/HoverCard.js +10 -0
  663. package/dist/lib/ui/HoverCard.js.map +1 -0
  664. package/dist/lib/ui/Input.d.ts +1 -2
  665. package/dist/lib/ui/Input.js +1 -1
  666. package/dist/lib/ui/Input.js.map +1 -1
  667. package/dist/lib/ui/Label.d.ts +5 -0
  668. package/dist/lib/ui/Label.js +10 -0
  669. package/dist/lib/ui/Label.js.map +1 -0
  670. package/dist/lib/ui/Pagination.d.ts +28 -0
  671. package/dist/lib/ui/Pagination.js +24 -0
  672. package/dist/lib/ui/Pagination.js.map +1 -0
  673. package/dist/lib/ui/Popover.d.ts +6 -0
  674. package/dist/lib/ui/Popover.js +10 -0
  675. package/dist/lib/ui/Popover.js.map +1 -0
  676. package/dist/lib/ui/Progress.d.ts +4 -0
  677. package/dist/lib/ui/Progress.js +8 -0
  678. package/dist/lib/ui/Progress.js.map +1 -0
  679. package/dist/lib/ui/RadioGroup.d.ts +5 -0
  680. package/dist/lib/ui/RadioGroup.js +15 -0
  681. package/dist/lib/ui/RadioGroup.js.map +1 -0
  682. package/dist/lib/ui/ScrollArea.d.ts +5 -0
  683. package/dist/lib/ui/ScrollArea.js +12 -0
  684. package/dist/lib/ui/ScrollArea.js.map +1 -0
  685. package/dist/lib/ui/Select.js +27 -0
  686. package/dist/lib/ui/Select.js.map +1 -0
  687. package/dist/lib/ui/Skeleton.d.ts +2 -0
  688. package/dist/lib/ui/Skeleton.js +7 -0
  689. package/dist/lib/ui/Skeleton.js.map +1 -0
  690. package/dist/lib/ui/Slider.d.ts +4 -0
  691. package/dist/lib/ui/Slider.js +8 -0
  692. package/dist/lib/ui/Slider.js.map +1 -0
  693. package/dist/lib/ui/Stepper.d.ts +3 -0
  694. package/dist/lib/ui/Stepper.js +7 -0
  695. package/dist/lib/ui/Stepper.js.map +1 -0
  696. package/dist/lib/ui/Switch.d.ts +4 -0
  697. package/dist/lib/ui/Switch.js +8 -0
  698. package/dist/lib/ui/Switch.js.map +1 -0
  699. package/dist/lib/ui/SyntaxHighlight.d.ts +12 -0
  700. package/dist/lib/ui/SyntaxHighlight.js +15 -0
  701. package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
  702. package/dist/lib/ui/Tabs.js +2 -2
  703. package/dist/lib/ui/Tabs.js.map +1 -1
  704. package/dist/lib/ui/Textarea.d.ts +4 -0
  705. package/dist/lib/ui/Textarea.js +9 -0
  706. package/dist/lib/ui/Textarea.js.map +1 -0
  707. package/dist/lib/ui/Toggle.d.ts +12 -0
  708. package/dist/lib/ui/Toggle.js +26 -0
  709. package/dist/lib/ui/Toggle.js.map +1 -0
  710. package/dist/lib/ui/ToggleGroup.d.ts +12 -0
  711. package/dist/lib/ui/ToggleGroup.js +21 -0
  712. package/dist/lib/ui/ToggleGroup.js.map +1 -0
  713. package/dist/lib/ui/Tooltip.d.ts +8 -0
  714. package/dist/lib/ui/Tooltip.js +12 -0
  715. package/dist/lib/ui/Tooltip.js.map +1 -0
  716. package/dist/lib/ui/util.d.ts +2 -0
  717. package/dist/lib/ui/util.js +3 -0
  718. package/dist/lib/ui/util.js.map +1 -0
  719. package/dist/lib/util/MdxComponents.d.ts +38 -21
  720. package/dist/lib/util/MdxComponents.js +21 -17
  721. package/dist/lib/util/MdxComponents.js.map +1 -1
  722. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  723. package/dist/lib/util/detectOS.d.ts +1 -0
  724. package/dist/lib/util/detectOS.js +11 -0
  725. package/dist/lib/util/detectOS.js.map +1 -0
  726. package/dist/lib/util/ensureArray.d.ts +1 -0
  727. package/dist/lib/util/ensureArray.js +2 -0
  728. package/dist/lib/util/ensureArray.js.map +1 -0
  729. package/dist/lib/util/humanFileSize.d.ts +6 -0
  730. package/dist/lib/util/humanFileSize.js +14 -0
  731. package/dist/lib/util/humanFileSize.js.map +1 -0
  732. package/dist/lib/util/humanFileSize.test.d.ts +1 -0
  733. package/dist/lib/util/humanFileSize.test.js +22 -0
  734. package/dist/lib/util/humanFileSize.test.js.map +1 -0
  735. package/dist/lib/util/invariant.d.ts +10 -0
  736. package/dist/lib/util/invariant.js +7 -3
  737. package/dist/lib/util/invariant.js.map +1 -1
  738. package/dist/lib/util/joinPath.d.ts +3 -0
  739. package/dist/lib/util/joinPath.js +3 -0
  740. package/dist/lib/util/joinPath.js.map +1 -1
  741. package/dist/lib/util/joinUrl.d.ts +1 -0
  742. package/dist/lib/util/joinUrl.js +40 -0
  743. package/dist/lib/util/joinUrl.js.map +1 -0
  744. package/dist/lib/util/joinUrl.test.d.ts +1 -0
  745. package/dist/lib/util/joinUrl.test.js +43 -0
  746. package/dist/lib/util/joinUrl.test.js.map +1 -0
  747. package/dist/lib/util/os.d.ts +2 -0
  748. package/dist/lib/util/os.js +21 -0
  749. package/dist/lib/util/os.js.map +1 -0
  750. package/dist/lib/util/scrollIntoViewIfNeeded.d.ts +1 -0
  751. package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
  752. package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
  753. package/dist/lib/util/traverse.d.ts +3 -0
  754. package/dist/lib/util/traverse.js +23 -0
  755. package/dist/lib/util/traverse.js.map +1 -0
  756. package/dist/lib/util/types.d.ts +7 -0
  757. package/dist/lib/util/types.js +2 -0
  758. package/dist/lib/util/types.js.map +1 -0
  759. package/dist/lib/util/url.d.ts +4 -0
  760. package/dist/lib/util/url.js +13 -0
  761. package/dist/lib/util/url.js.map +1 -0
  762. package/dist/lib/util/url.test.d.ts +1 -0
  763. package/dist/lib/util/url.test.js +26 -0
  764. package/dist/lib/util/url.test.js.map +1 -0
  765. package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
  766. package/dist/lib/util/useCopyToClipboard.js +11 -0
  767. package/dist/lib/util/useCopyToClipboard.js.map +1 -0
  768. package/dist/lib/util/useExposedProps.d.ts +9 -0
  769. package/dist/lib/util/useExposedProps.js +9 -0
  770. package/dist/lib/util/useExposedProps.js.map +1 -0
  771. package/dist/lib/util/useIsomorphicLayoutEffect.d.ts +3 -0
  772. package/dist/lib/util/useIsomorphicLayoutEffect.js +4 -0
  773. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -0
  774. package/dist/lib/util/useLatest.d.ts +1 -0
  775. package/dist/lib/util/useLatest.js +15 -0
  776. package/dist/lib/util/useLatest.js.map +1 -0
  777. package/dist/lib/util/useOnScreen.d.ts +5 -0
  778. package/dist/lib/util/useOnScreen.js +19 -0
  779. package/dist/lib/util/useOnScreen.js.map +1 -0
  780. package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
  781. package/dist/lib/util/useScrollToAnchor.js +43 -38
  782. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  783. package/dist/lib/util/useScrollToTop.js +7 -5
  784. package/dist/lib/util/useScrollToTop.js.map +1 -1
  785. package/dist/vite/api/SchemaManager.d.ts +36 -0
  786. package/dist/vite/api/SchemaManager.js +141 -0
  787. package/dist/vite/api/SchemaManager.js.map +1 -0
  788. package/dist/vite/api/SchemaManager.test.d.ts +1 -0
  789. package/dist/vite/api/SchemaManager.test.js +106 -0
  790. package/dist/vite/api/SchemaManager.test.js.map +1 -0
  791. package/dist/vite/api/schema-codegen.d.ts +12 -0
  792. package/dist/vite/api/schema-codegen.js +116 -0
  793. package/dist/vite/api/schema-codegen.js.map +1 -0
  794. package/dist/vite/api/schema-codegen.test.d.ts +1 -0
  795. package/dist/vite/api/schema-codegen.test.js +395 -0
  796. package/dist/vite/api/schema-codegen.test.js.map +1 -0
  797. package/dist/vite/build.js +62 -13
  798. package/dist/vite/build.js.map +1 -1
  799. package/dist/vite/config.d.ts +2 -16
  800. package/dist/vite/config.js +122 -147
  801. package/dist/vite/config.js.map +1 -1
  802. package/dist/vite/config.test.js +12 -6
  803. package/dist/vite/config.test.js.map +1 -1
  804. package/dist/vite/create-pagefind-index.d.ts +4 -0
  805. package/dist/vite/create-pagefind-index.js +12 -0
  806. package/dist/vite/create-pagefind-index.js.map +1 -0
  807. package/dist/vite/css/collect.d.ts +2 -0
  808. package/dist/vite/css/collect.js +27 -0
  809. package/dist/vite/css/collect.js.map +1 -0
  810. package/dist/vite/css/plugin.d.ts +4 -0
  811. package/dist/vite/css/plugin.js +91 -0
  812. package/dist/vite/css/plugin.js.map +1 -0
  813. package/dist/vite/debug.d.ts +1 -0
  814. package/dist/vite/debug.js +10 -0
  815. package/dist/vite/debug.js.map +1 -0
  816. package/dist/vite/dev-server.d.ts +11 -4
  817. package/dist/vite/dev-server.js +91 -22
  818. package/dist/vite/dev-server.js.map +1 -1
  819. package/dist/vite/error-handler.d.ts +1 -1
  820. package/dist/vite/error-handler.js +1 -1
  821. package/dist/vite/error-handler.js.map +1 -1
  822. package/dist/vite/html.d.ts +7 -3
  823. package/dist/vite/html.js +15 -11
  824. package/dist/vite/html.js.map +1 -1
  825. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  826. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  827. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  828. package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
  829. package/dist/vite/mdx/remark-last-modified.js +29 -0
  830. package/dist/vite/mdx/remark-last-modified.js.map +1 -0
  831. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  832. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  833. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  834. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  835. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  836. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  837. package/dist/vite/mdx/remark-static-generation.d.ts +3 -0
  838. package/dist/vite/mdx/remark-static-generation.js +125 -0
  839. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  840. package/dist/vite/mdx/utils.d.ts +2 -0
  841. package/dist/vite/mdx/utils.js +31 -0
  842. package/dist/vite/mdx/utils.js.map +1 -0
  843. package/dist/vite/output.d.ts +113 -0
  844. package/dist/vite/output.js +60 -0
  845. package/dist/vite/output.js.map +1 -0
  846. package/dist/vite/plugin-api-keys.d.ts +1 -2
  847. package/dist/vite/plugin-api-keys.js +13 -7
  848. package/dist/vite/plugin-api-keys.js.map +1 -1
  849. package/dist/vite/plugin-api.d.ts +1 -2
  850. package/dist/vite/plugin-api.js +146 -32
  851. package/dist/vite/plugin-api.js.map +1 -1
  852. package/dist/vite/plugin-auth.d.ts +1 -2
  853. package/dist/vite/plugin-auth.js +10 -6
  854. package/dist/vite/plugin-auth.js.map +1 -1
  855. package/dist/vite/plugin-component.d.ts +1 -2
  856. package/dist/vite/plugin-component.js +25 -15
  857. package/dist/vite/plugin-component.js.map +1 -1
  858. package/dist/vite/plugin-config-reload.d.ts +3 -4
  859. package/dist/vite/plugin-config-reload.js +31 -25
  860. package/dist/vite/plugin-config-reload.js.map +1 -1
  861. package/dist/vite/plugin-config.d.ts +2 -4
  862. package/dist/vite/plugin-config.js +28 -3
  863. package/dist/vite/plugin-config.js.map +1 -1
  864. package/dist/vite/plugin-custom-pages.d.ts +3 -0
  865. package/dist/vite/plugin-custom-pages.js +31 -0
  866. package/dist/vite/plugin-custom-pages.js.map +1 -0
  867. package/dist/vite/plugin-docs.d.ts +2 -3
  868. package/dist/vite/plugin-docs.js +74 -38
  869. package/dist/vite/plugin-docs.js.map +1 -1
  870. package/dist/vite/plugin-frontmatter.js +33 -24
  871. package/dist/vite/plugin-frontmatter.js.map +1 -1
  872. package/dist/vite/plugin-mdx.d.ts +1 -8
  873. package/dist/vite/plugin-mdx.js +67 -21
  874. package/dist/vite/plugin-mdx.js.map +1 -1
  875. package/dist/vite/plugin-navigation.d.ts +4 -0
  876. package/dist/vite/plugin-navigation.js +64 -0
  877. package/dist/vite/plugin-navigation.js.map +1 -0
  878. package/dist/vite/plugin-redirect.d.ts +1 -2
  879. package/dist/vite/plugin-redirect.js +6 -5
  880. package/dist/vite/plugin-redirect.js.map +1 -1
  881. package/dist/vite/plugin-search.d.ts +2 -0
  882. package/dist/vite/plugin-search.js +31 -0
  883. package/dist/vite/plugin-search.js.map +1 -0
  884. package/dist/vite/plugin-shiki-register.d.ts +2 -0
  885. package/dist/vite/plugin-shiki-register.js +39 -0
  886. package/dist/vite/plugin-shiki-register.js.map +1 -0
  887. package/dist/vite/plugin-theme.d.ts +8 -0
  888. package/dist/vite/plugin-theme.js +274 -0
  889. package/dist/vite/plugin-theme.js.map +1 -0
  890. package/dist/vite/plugin-theme.test.d.ts +1 -0
  891. package/dist/vite/plugin-theme.test.js +312 -0
  892. package/dist/vite/plugin-theme.test.js.map +1 -0
  893. package/dist/vite/plugin.d.ts +1 -3
  894. package/dist/vite/plugin.js +25 -18
  895. package/dist/vite/plugin.js.map +1 -1
  896. package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
  897. package/dist/vite/prerender/FileWritingResponse.js +51 -0
  898. package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
  899. package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
  900. package/dist/vite/prerender/InMemoryResponse.js +32 -0
  901. package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
  902. package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
  903. package/dist/vite/prerender/PrerenderResponse.js +2 -0
  904. package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
  905. package/dist/vite/prerender/prerender.d.ts +15 -0
  906. package/dist/vite/prerender/prerender.js +109 -0
  907. package/dist/vite/prerender/prerender.js.map +1 -0
  908. package/dist/vite/prerender/worker.d.ts +13 -0
  909. package/dist/vite/prerender/worker.js +63 -0
  910. package/dist/vite/prerender/worker.js.map +1 -0
  911. package/dist/vite/reporter.d.ts +3 -0
  912. package/dist/vite/reporter.js +33 -0
  913. package/dist/vite/reporter.js.map +1 -0
  914. package/dist/vite/shadcn-registry.d.ts +45 -0
  915. package/dist/vite/shadcn-registry.js +29 -0
  916. package/dist/vite/shadcn-registry.js.map +1 -0
  917. package/dist/vite/sitemap.d.ts +1 -1
  918. package/dist/vite/sitemap.js +2 -1
  919. package/dist/vite/sitemap.js.map +1 -1
  920. package/dist/zuplo/enrich-with-zuplo.d.ts +5 -0
  921. package/dist/zuplo/enrich-with-zuplo.js +185 -0
  922. package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
  923. package/dist/zuplo/policy-types.d.ts +33 -0
  924. package/dist/zuplo/policy-types.js +8 -0
  925. package/dist/zuplo/policy-types.js.map +1 -0
  926. package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
  927. package/dist/zuplo/with-zuplo-processors.js +26 -0
  928. package/dist/zuplo/with-zuplo-processors.js.map +1 -0
  929. package/dist/zuplo/with-zuplo.d.ts +6 -0
  930. package/dist/zuplo/with-zuplo.js +10 -0
  931. package/dist/zuplo/with-zuplo.js.map +1 -0
  932. package/lib/Button-B3o-2Xdf.js +51 -0
  933. package/lib/Button-B3o-2Xdf.js.map +1 -0
  934. package/lib/Card-CMDQUPM4.js +61 -0
  935. package/lib/Card-CMDQUPM4.js.map +1 -0
  936. package/lib/ClientOnly-E7hGysn1.js +11 -0
  937. package/lib/ClientOnly-E7hGysn1.js.map +1 -0
  938. package/lib/CodeBlock-CVT6z0PP.js +98 -0
  939. package/lib/CodeBlock-CVT6z0PP.js.map +1 -0
  940. package/lib/Command-BYukybsa.js +140 -0
  941. package/lib/Command-BYukybsa.js.map +1 -0
  942. package/lib/Dialog-u9Uz9sTt.js +99 -0
  943. package/lib/Dialog-u9Uz9sTt.js.map +1 -0
  944. package/lib/Drawer-DJ05s2pH.js +1133 -0
  945. package/lib/Drawer-DJ05s2pH.js.map +1 -0
  946. package/lib/MdxPage-plD-n8fm.js +110 -0
  947. package/lib/MdxPage-plD-n8fm.js.map +1 -0
  948. package/lib/OAuthErrorPage-BTP-t8Fq.js +150 -0
  949. package/lib/OAuthErrorPage-BTP-t8Fq.js.map +1 -0
  950. package/lib/OasProvider-CYf5xe1a.js +35 -0
  951. package/lib/OasProvider-CYf5xe1a.js.map +1 -0
  952. package/lib/OperationList-C_-vAmhs.js +5168 -0
  953. package/lib/OperationList-C_-vAmhs.js.map +1 -0
  954. package/lib/Pagination-BAO0V4os.js +37 -0
  955. package/lib/Pagination-BAO0V4os.js.map +1 -0
  956. package/lib/RouteGuard-gznKADdm.js +738 -0
  957. package/lib/RouteGuard-gznKADdm.js.map +1 -0
  958. package/lib/SchemaList-B8Ws7y1f.js +149 -0
  959. package/lib/SchemaList-B8Ws7y1f.js.map +1 -0
  960. package/lib/SchemaView-CHb3DJ6D.js +366 -0
  961. package/lib/SchemaView-CHb3DJ6D.js.map +1 -0
  962. package/lib/Select-ByPbK6BU.js +273 -0
  963. package/lib/Select-ByPbK6BU.js.map +1 -0
  964. package/lib/SignUp-BXxkBCGy.js +56 -0
  965. package/lib/SignUp-BXxkBCGy.js.map +1 -0
  966. package/lib/Slot-DDNiyFIv.js +15739 -0
  967. package/lib/Slot-DDNiyFIv.js.map +1 -0
  968. package/lib/Spinner-mNLZ6awP.js +7 -0
  969. package/lib/Spinner-mNLZ6awP.js.map +1 -0
  970. package/lib/SyntaxHighlight-jSFm3PeK.js +10308 -0
  971. package/lib/SyntaxHighlight-jSFm3PeK.js.map +1 -0
  972. package/lib/Toc-CKEI04R5.js +92 -0
  973. package/lib/Toc-CKEI04R5.js.map +1 -0
  974. package/lib/ZudokuContext-mDDq1hft.js +1286 -0
  975. package/lib/ZudokuContext-mDDq1hft.js.map +1 -0
  976. package/lib/chunk-QMGIS6GS-CdEm9pzB.js +1839 -0
  977. package/lib/chunk-QMGIS6GS-CdEm9pzB.js.map +1 -0
  978. package/lib/circular-CyP38iiX.js +14934 -0
  979. package/lib/circular-CyP38iiX.js.map +1 -0
  980. package/lib/clsx-OuTLNxxd.js +17 -0
  981. package/lib/clsx-OuTLNxxd.js.map +1 -0
  982. package/lib/cn-dYga0KKN.js +2731 -0
  983. package/lib/cn-dYga0KKN.js.map +1 -0
  984. package/lib/createServer-B4w9HCV7.js +12505 -0
  985. package/lib/createServer-B4w9HCV7.js.map +1 -0
  986. package/lib/errors-v4zc7txj.js +45 -0
  987. package/lib/errors-v4zc7txj.js.map +1 -0
  988. package/lib/hook-CGx8MPrU.js +247 -0
  989. package/lib/hook-CGx8MPrU.js.map +1 -0
  990. package/lib/index-C5fXNRSh.js +2094 -0
  991. package/lib/index-C5fXNRSh.js.map +1 -0
  992. package/lib/index-CrcNWbel.js +316 -0
  993. package/lib/index-CrcNWbel.js.map +1 -0
  994. package/lib/index-D1LmO5Bn.js +4082 -0
  995. package/lib/index-D1LmO5Bn.js.map +1 -0
  996. package/lib/index-DI5SPFK9.js +36 -0
  997. package/lib/index-DI5SPFK9.js.map +1 -0
  998. package/lib/index-DmNq2fbN.js +4827 -0
  999. package/lib/index-DmNq2fbN.js.map +1 -0
  1000. package/lib/index-DnkZAg98.js +3391 -0
  1001. package/lib/index-DnkZAg98.js.map +1 -0
  1002. package/lib/index.esm-CdzlRw50.js +1254 -0
  1003. package/lib/index.esm-CdzlRw50.js.map +1 -0
  1004. package/lib/invariant-Bm-FVUQE.js +44 -0
  1005. package/lib/invariant-Bm-FVUQE.js.map +1 -0
  1006. package/lib/jsx-runtime-C5mzlN2N.js +285 -0
  1007. package/lib/jsx-runtime-C5mzlN2N.js.map +1 -0
  1008. package/lib/processors/removeExtensions.js +11 -0
  1009. package/lib/processors/removeExtensions.js.map +1 -0
  1010. package/lib/processors/removeParameters.js +47 -0
  1011. package/lib/processors/removeParameters.js.map +1 -0
  1012. package/lib/processors/removePaths.js +28 -0
  1013. package/lib/processors/removePaths.js.map +1 -0
  1014. package/lib/processors/traverse.js +17 -0
  1015. package/lib/processors/traverse.js.map +1 -0
  1016. package/lib/ui/Accordion.js +47 -0
  1017. package/lib/ui/Accordion.js.map +1 -0
  1018. package/lib/ui/ActionButton.js +25 -0
  1019. package/lib/ui/ActionButton.js.map +1 -0
  1020. package/lib/ui/Alert.js +67 -0
  1021. package/lib/ui/Alert.js.map +1 -0
  1022. package/lib/ui/AlertDialog.js +114 -0
  1023. package/lib/ui/AlertDialog.js.map +1 -0
  1024. package/lib/ui/AspectRatio.js +6 -0
  1025. package/lib/ui/AspectRatio.js.map +1 -0
  1026. package/lib/ui/Badge.js +28 -0
  1027. package/lib/ui/Badge.js.map +1 -0
  1028. package/lib/ui/Breadcrumb.js +94 -0
  1029. package/lib/ui/Breadcrumb.js.map +1 -0
  1030. package/lib/ui/Button.js +52 -0
  1031. package/lib/ui/Button.js.map +1 -0
  1032. package/lib/ui/Callout.js +97 -0
  1033. package/lib/ui/Callout.js.map +1 -0
  1034. package/lib/ui/Card.js +62 -0
  1035. package/lib/ui/Card.js.map +1 -0
  1036. package/lib/ui/Carousel.js +1416 -0
  1037. package/lib/ui/Carousel.js.map +1 -0
  1038. package/lib/ui/Checkbox.js +29 -0
  1039. package/lib/ui/Checkbox.js.map +1 -0
  1040. package/lib/ui/CodeBlock.js +9 -0
  1041. package/lib/ui/CodeBlock.js.map +1 -0
  1042. package/lib/ui/Collapsible.js +8 -0
  1043. package/lib/ui/Collapsible.js.map +1 -0
  1044. package/lib/ui/Command.js +156 -0
  1045. package/lib/ui/Command.js.map +1 -0
  1046. package/lib/ui/Dialog.js +101 -0
  1047. package/lib/ui/Dialog.js.map +1 -0
  1048. package/lib/ui/Drawer.js +17 -0
  1049. package/lib/ui/Drawer.js.map +1 -0
  1050. package/lib/ui/DropdownMenu.js +145 -0
  1051. package/lib/ui/DropdownMenu.js.map +1 -0
  1052. package/lib/ui/EmbeddedCodeBlock.js +80 -0
  1053. package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  1054. package/lib/ui/Form.js +95 -0
  1055. package/lib/ui/Form.js.map +1 -0
  1056. package/lib/ui/HoverCard.js +24 -0
  1057. package/lib/ui/HoverCard.js.map +1 -0
  1058. package/lib/ui/Input.js +22 -0
  1059. package/lib/ui/Input.js.map +1 -0
  1060. package/lib/ui/Label.js +20 -0
  1061. package/lib/ui/Label.js.map +1 -0
  1062. package/lib/ui/Pagination.js +106 -0
  1063. package/lib/ui/Pagination.js.map +1 -0
  1064. package/lib/ui/Popover.js +24 -0
  1065. package/lib/ui/Popover.js.map +1 -0
  1066. package/lib/ui/Progress.js +27 -0
  1067. package/lib/ui/Progress.js.map +1 -0
  1068. package/lib/ui/RadioGroup.js +32 -0
  1069. package/lib/ui/RadioGroup.js.map +1 -0
  1070. package/lib/ui/ScrollArea.js +39 -0
  1071. package/lib/ui/ScrollArea.js.map +1 -0
  1072. package/lib/ui/Select.js +122 -0
  1073. package/lib/ui/Select.js.map +1 -0
  1074. package/lib/ui/Skeleton.js +18 -0
  1075. package/lib/ui/Skeleton.js.map +1 -0
  1076. package/lib/ui/Slider.js +24 -0
  1077. package/lib/ui/Slider.js.map +1 -0
  1078. package/lib/ui/Stepper.js +6 -0
  1079. package/lib/ui/Stepper.js.map +1 -0
  1080. package/lib/ui/Switch.js +28 -0
  1081. package/lib/ui/Switch.js.map +1 -0
  1082. package/lib/ui/SyntaxHighlight.js +11 -0
  1083. package/lib/ui/SyntaxHighlight.js.map +1 -0
  1084. package/lib/ui/Tabs.js +47 -0
  1085. package/lib/ui/Tabs.js.map +1 -0
  1086. package/lib/ui/Textarea.js +21 -0
  1087. package/lib/ui/Textarea.js.map +1 -0
  1088. package/lib/ui/Toggle.js +38 -0
  1089. package/lib/ui/Toggle.js.map +1 -0
  1090. package/lib/ui/ToggleGroup.js +42 -0
  1091. package/lib/ui/ToggleGroup.js.map +1 -0
  1092. package/lib/ui/Tooltip.js +31 -0
  1093. package/lib/ui/Tooltip.js.map +1 -0
  1094. package/lib/ui/util.js +6 -0
  1095. package/lib/ui/util.js.map +1 -0
  1096. package/lib/useExposedProps-DUoV7MCU.js +113 -0
  1097. package/lib/useExposedProps-DUoV7MCU.js.map +1 -0
  1098. package/lib/zudoku.auth-auth0.js +32 -30
  1099. package/lib/zudoku.auth-auth0.js.map +1 -1
  1100. package/lib/zudoku.auth-azureb2c.js +137 -0
  1101. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  1102. package/lib/zudoku.auth-clerk.js +111 -60
  1103. package/lib/zudoku.auth-clerk.js.map +1 -1
  1104. package/lib/zudoku.auth-openid.js +637 -653
  1105. package/lib/zudoku.auth-openid.js.map +1 -1
  1106. package/lib/zudoku.auth-supabase.js +97 -0
  1107. package/lib/zudoku.auth-supabase.js.map +1 -0
  1108. package/lib/zudoku.components.js +34 -3364
  1109. package/lib/zudoku.components.js.map +1 -1
  1110. package/lib/zudoku.hooks.js +27 -0
  1111. package/lib/zudoku.hooks.js.map +1 -0
  1112. package/lib/zudoku.icons.js +10 -0
  1113. package/lib/zudoku.icons.js.map +1 -1
  1114. package/lib/zudoku.plugin-api-catalog.js +118 -0
  1115. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  1116. package/lib/zudoku.plugin-api-keys.js +659 -200
  1117. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  1118. package/lib/zudoku.plugin-custom-pages.js +16 -0
  1119. package/lib/zudoku.plugin-custom-pages.js.map +1 -0
  1120. package/lib/zudoku.plugin-markdown.js +21 -28
  1121. package/lib/zudoku.plugin-markdown.js.map +1 -1
  1122. package/lib/zudoku.plugin-openapi.js +9 -12
  1123. package/lib/zudoku.plugin-openapi.js.map +1 -1
  1124. package/lib/zudoku.plugin-redirect.js +2 -2
  1125. package/lib/zudoku.plugin-redirect.js.map +1 -1
  1126. package/lib/zudoku.plugin-search-inkeep.js +61 -40
  1127. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  1128. package/lib/zudoku.plugin-search-pagefind.js +325 -0
  1129. package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
  1130. package/lib/zudoku.plugins.js +15 -0
  1131. package/lib/zudoku.plugins.js.map +1 -0
  1132. package/package.json +209 -107
  1133. package/src/app/ZuploBuildConfig.ts +33 -0
  1134. package/src/app/defaultTheme.css +73 -0
  1135. package/src/app/demo-cdn.html +31 -31
  1136. package/src/app/demo.html +1 -1
  1137. package/src/app/demo.tsx +25 -11
  1138. package/src/app/entry.client.tsx +71 -5
  1139. package/src/app/entry.server.tsx +81 -62
  1140. package/src/app/env.ts +43 -0
  1141. package/src/app/font.geist.css +73 -0
  1142. package/src/app/main.css +177 -131
  1143. package/src/app/main.tsx +79 -78
  1144. package/src/app/sentry.ts +24 -0
  1145. package/src/app/standalone.tsx +8 -11
  1146. package/src/lib/MissingIcon.tsx +22 -0
  1147. package/src/lib/auth/issuer.test.ts +120 -0
  1148. package/src/lib/auth/issuer.ts +41 -0
  1149. package/src/lib/authentication/AuthenticationPlugin.tsx +8 -5
  1150. package/src/lib/authentication/authentication.ts +7 -8
  1151. package/src/lib/authentication/components/CallbackHandler.tsx +36 -50
  1152. package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
  1153. package/src/lib/authentication/components/SignIn.tsx +28 -2
  1154. package/src/lib/authentication/components/SignOut.tsx +3 -2
  1155. package/src/lib/authentication/components/SignUp.tsx +35 -1
  1156. package/src/lib/authentication/errors.ts +27 -13
  1157. package/src/lib/authentication/hook.ts +15 -4
  1158. package/src/lib/authentication/providers/auth0.tsx +29 -19
  1159. package/src/lib/authentication/providers/azureb2c.tsx +201 -0
  1160. package/src/lib/authentication/providers/clerk.tsx +131 -54
  1161. package/src/lib/authentication/providers/openid.tsx +169 -88
  1162. package/src/lib/authentication/providers/supabase.tsx +150 -0
  1163. package/src/lib/authentication/state.ts +86 -25
  1164. package/src/lib/authentication/use-broadcast/LICENSE.md +9 -0
  1165. package/src/lib/authentication/use-broadcast/shared.ts +372 -0
  1166. package/src/lib/authentication/use-broadcast/useBroadcast.ts +146 -0
  1167. package/src/lib/components/AnchorLink.tsx +13 -8
  1168. package/src/lib/components/Autocomplete.tsx +114 -0
  1169. package/src/lib/components/Banner.tsx +3 -3
  1170. package/src/lib/components/Bootstrap.tsx +43 -16
  1171. package/src/lib/components/BuildCheck.tsx +75 -0
  1172. package/src/lib/components/CategoryHeading.tsx +4 -1
  1173. package/src/lib/components/ClientOnly.tsx +6 -3
  1174. package/src/lib/components/DeveloperHint.tsx +6 -1
  1175. package/src/lib/components/ErrorPage.tsx +3 -3
  1176. package/src/lib/components/Footer.tsx +136 -0
  1177. package/src/lib/components/Framed.tsx +51 -0
  1178. package/src/lib/components/Header.tsx +119 -63
  1179. package/src/lib/components/Heading.tsx +26 -18
  1180. package/src/lib/components/InlineCode.tsx +13 -16
  1181. package/src/lib/components/Layout.tsx +36 -59
  1182. package/src/lib/components/Main.tsx +51 -0
  1183. package/src/lib/components/Markdown.tsx +42 -30
  1184. package/src/lib/components/MobileTopNavigation.tsx +100 -28
  1185. package/src/lib/components/NotFoundPage.tsx +7 -6
  1186. package/src/lib/components/PageProgress.tsx +28 -0
  1187. package/src/lib/components/Pagination.tsx +45 -0
  1188. package/src/lib/components/PathRenderer.tsx +61 -0
  1189. package/src/lib/components/ReactMarkdown.license.txt +21 -0
  1190. package/src/lib/components/ReactMarkdown.tsx +264 -0
  1191. package/src/lib/components/Search.tsx +19 -8
  1192. package/src/lib/components/Slot.test.tsx +465 -0
  1193. package/src/lib/components/Slot.tsx +64 -0
  1194. package/src/lib/components/StatusPage.tsx +96 -0
  1195. package/src/lib/components/ThemeSwitch.tsx +46 -0
  1196. package/src/lib/components/TopNavigation.tsx +104 -27
  1197. package/src/lib/components/Typography.tsx +14 -0
  1198. package/src/lib/components/Zudoku.tsx +119 -0
  1199. package/src/lib/components/cache.ts +23 -0
  1200. package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
  1201. package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
  1202. package/src/lib/components/context/SlotProvider.tsx +149 -0
  1203. package/src/lib/components/context/ViewportAnchorContext.tsx +34 -36
  1204. package/src/lib/components/context/ZudokuContext.ts +77 -28
  1205. package/src/lib/components/context/ZudokuProvider.tsx +4 -3
  1206. package/src/lib/components/index.ts +40 -7
  1207. package/src/lib/components/navigation/Navigation.tsx +50 -0
  1208. package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
  1209. package/src/lib/components/navigation/NavigationCategory.tsx +146 -0
  1210. package/src/lib/components/navigation/NavigationItem.tsx +161 -0
  1211. package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
  1212. package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
  1213. package/src/lib/components/navigation/Toc.tsx +126 -0
  1214. package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
  1215. package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
  1216. package/src/lib/components/navigation/utils.ts +82 -46
  1217. package/src/lib/core/RouteGuard.tsx +96 -0
  1218. package/src/lib/core/ZudokuContext.ts +227 -0
  1219. package/src/lib/core/plugins.ts +56 -23
  1220. package/src/lib/errors/ErrorAlert.tsx +29 -16
  1221. package/src/lib/errors/RouterError.tsx +1 -1
  1222. package/src/lib/hooks/index.ts +16 -0
  1223. package/src/lib/hooks/useEvent.test.tsx +151 -0
  1224. package/src/lib/hooks/useEvent.ts +41 -0
  1225. package/src/lib/hooks/useHotkey.ts +70 -0
  1226. package/src/lib/icons.ts +1 -0
  1227. package/src/lib/oas/graphql/circular.ts +58 -0
  1228. package/src/lib/oas/graphql/index.ts +298 -104
  1229. package/src/lib/oas/parser/dereference/index.ts +10 -4
  1230. package/src/lib/oas/parser/index.ts +14 -30
  1231. package/src/lib/oas/parser/upgrade/index.ts +103 -38
  1232. package/src/lib/plugins/api-catalog/Catalog.tsx +73 -0
  1233. package/src/lib/plugins/api-catalog/index.tsx +115 -0
  1234. package/src/lib/plugins/api-keys/CreateApiKey.tsx +79 -49
  1235. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  1236. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +485 -119
  1237. package/src/lib/plugins/api-keys/index.tsx +149 -65
  1238. package/src/lib/plugins/custom-pages/index.tsx +29 -0
  1239. package/src/lib/plugins/markdown/MdxPage.tsx +120 -61
  1240. package/src/lib/plugins/markdown/index.tsx +41 -14
  1241. package/src/lib/plugins/openapi/CollapsibleCode.tsx +86 -0
  1242. package/src/lib/plugins/openapi/ColorizedParam.tsx +49 -23
  1243. package/src/lib/plugins/openapi/Endpoint.tsx +19 -22
  1244. package/src/lib/plugins/openapi/OasProvider.tsx +51 -0
  1245. package/src/lib/plugins/openapi/OperationList.tsx +234 -72
  1246. package/src/lib/plugins/openapi/OperationListItem.tsx +123 -94
  1247. package/src/lib/plugins/openapi/ParamInfos.tsx +90 -0
  1248. package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
  1249. package/src/lib/plugins/openapi/ParameterListItem.tsx +84 -31
  1250. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +28 -3
  1251. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +15 -33
  1252. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +36 -59
  1253. package/src/lib/plugins/openapi/SchemaList.tsx +157 -0
  1254. package/src/lib/plugins/openapi/Sidecar.tsx +154 -172
  1255. package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
  1256. package/src/lib/plugins/openapi/SidecarExamples.tsx +169 -0
  1257. package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
  1258. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +65 -0
  1259. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
  1260. package/src/lib/plugins/openapi/client/createServer.ts +8 -2
  1261. package/src/lib/plugins/openapi/client/useCreateQuery.ts +45 -0
  1262. package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
  1263. package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
  1264. package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
  1265. package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
  1266. package/src/lib/plugins/openapi/context.tsx +2 -2
  1267. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +11 -18
  1268. package/src/lib/plugins/openapi/graphql/gql.ts +38 -30
  1269. package/src/lib/plugins/openapi/graphql/graphql.ts +388 -682
  1270. package/src/lib/plugins/openapi/index.tsx +161 -138
  1271. package/src/lib/plugins/openapi/interfaces.ts +59 -4
  1272. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +55 -0
  1273. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +47 -0
  1274. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +59 -0
  1275. package/src/lib/plugins/openapi/playground/Headers.tsx +284 -53
  1276. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +75 -0
  1277. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +38 -0
  1278. package/src/lib/plugins/openapi/playground/InlineInput.tsx +1 -1
  1279. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +13 -0
  1280. package/src/lib/plugins/openapi/playground/PathParams.tsx +38 -64
  1281. package/src/lib/plugins/openapi/playground/Playground.tsx +407 -289
  1282. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +8 -4
  1283. package/src/lib/plugins/openapi/playground/QueryParams.tsx +134 -90
  1284. package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
  1285. package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
  1286. package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
  1287. package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
  1288. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
  1289. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
  1290. package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
  1291. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +115 -0
  1292. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +271 -0
  1293. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +102 -0
  1294. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
  1295. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
  1296. package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +20 -0
  1297. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +222 -0
  1298. package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
  1299. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +182 -0
  1300. package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
  1301. package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
  1302. package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
  1303. package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
  1304. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -8
  1305. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
  1306. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +6 -3
  1307. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
  1308. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +159 -0
  1309. package/src/lib/plugins/openapi/schema/SchemaView.tsx +103 -141
  1310. package/src/lib/plugins/openapi/schema/utils.ts +33 -5
  1311. package/src/lib/plugins/openapi/state.ts +36 -0
  1312. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
  1313. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +38 -0
  1314. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +95 -44
  1315. package/src/lib/plugins/openapi/util/getRoutes.tsx +198 -0
  1316. package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
  1317. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  1318. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  1319. package/src/lib/plugins/redirect/index.tsx +6 -10
  1320. package/src/lib/plugins/search-inkeep/index.tsx +83 -32
  1321. package/src/lib/plugins/search-inkeep/inkeep.ts +15 -23
  1322. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +165 -0
  1323. package/src/lib/plugins/search-pagefind/ResultList.tsx +114 -0
  1324. package/src/lib/plugins/search-pagefind/get-results.tsx +75 -0
  1325. package/src/lib/plugins/search-pagefind/index.tsx +21 -0
  1326. package/src/lib/plugins/search-pagefind/types.ts +118 -0
  1327. package/src/lib/shiki.ts +134 -0
  1328. package/src/lib/ui/Accordion.tsx +56 -0
  1329. package/src/lib/ui/ActionButton.tsx +30 -0
  1330. package/src/lib/ui/Alert.tsx +65 -0
  1331. package/src/lib/ui/AlertDialog.tsx +139 -0
  1332. package/src/lib/ui/AspectRatio.tsx +5 -0
  1333. package/src/lib/ui/Badge.tsx +37 -0
  1334. package/src/lib/ui/Breadcrumb.tsx +115 -0
  1335. package/src/lib/ui/Button.tsx +13 -8
  1336. package/src/lib/ui/Callout.tsx +37 -16
  1337. package/src/lib/ui/Card.tsx +1 -1
  1338. package/src/lib/ui/Carousel.tsx +260 -0
  1339. package/src/lib/ui/Checkbox.tsx +29 -0
  1340. package/src/lib/ui/CodeBlock.tsx +113 -0
  1341. package/src/lib/ui/Collapsible.tsx +9 -0
  1342. package/src/lib/ui/Command.tsx +193 -0
  1343. package/src/lib/ui/Dialog.tsx +124 -0
  1344. package/src/lib/ui/Drawer.tsx +38 -36
  1345. package/src/lib/ui/DropdownMenu.tsx +4 -4
  1346. package/src/lib/ui/EmbeddedCodeBlock.tsx +94 -0
  1347. package/src/lib/ui/Form.tsx +177 -0
  1348. package/src/lib/ui/HoverCard.tsx +27 -0
  1349. package/src/lib/ui/Input.tsx +2 -3
  1350. package/src/lib/ui/Label.tsx +24 -0
  1351. package/src/lib/ui/Pagination.tsx +117 -0
  1352. package/src/lib/ui/Popover.tsx +29 -0
  1353. package/src/lib/ui/Progress.tsx +26 -0
  1354. package/src/lib/ui/RadioGroup.tsx +42 -0
  1355. package/src/lib/ui/ScrollArea.tsx +46 -0
  1356. package/src/lib/ui/Select.tsx +157 -0
  1357. package/src/lib/ui/Skeleton.tsx +15 -0
  1358. package/src/lib/ui/Slider.tsx +26 -0
  1359. package/src/lib/ui/Stepper.tsx +8 -0
  1360. package/src/lib/ui/Switch.tsx +27 -0
  1361. package/src/lib/ui/SyntaxHighlight.tsx +35 -0
  1362. package/src/lib/ui/Tabs.tsx +2 -2
  1363. package/src/lib/ui/Textarea.tsx +23 -0
  1364. package/src/lib/ui/Toggle.tsx +43 -0
  1365. package/src/lib/ui/ToggleGroup.tsx +59 -0
  1366. package/src/lib/ui/Tooltip.tsx +43 -0
  1367. package/src/lib/ui/util.tsx +3 -0
  1368. package/src/lib/util/MdxComponents.tsx +50 -26
  1369. package/src/lib/util/createVariantComponent.tsx +2 -2
  1370. package/src/lib/util/detectOS.ts +9 -0
  1371. package/src/lib/util/ensureArray.ts +3 -0
  1372. package/src/lib/util/humanFileSize.test.ts +24 -0
  1373. package/src/lib/util/humanFileSize.ts +16 -0
  1374. package/src/lib/util/invariant.ts +17 -3
  1375. package/src/lib/util/joinPath.tsx +3 -0
  1376. package/src/lib/util/joinUrl.test.ts +62 -0
  1377. package/src/lib/util/joinUrl.ts +57 -0
  1378. package/src/lib/util/os.ts +18 -0
  1379. package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
  1380. package/src/lib/util/traverse.ts +34 -0
  1381. package/src/lib/util/types.ts +7 -0
  1382. package/src/lib/util/url.test.ts +51 -0
  1383. package/src/lib/util/url.ts +18 -0
  1384. package/src/lib/util/useCopyToClipboard.ts +17 -0
  1385. package/src/lib/util/useExposedProps.tsx +27 -0
  1386. package/src/lib/util/useIsomorphicLayoutEffect.ts +5 -0
  1387. package/src/lib/util/useLatest.ts +18 -0
  1388. package/src/lib/util/useOnScreen.ts +34 -0
  1389. package/src/lib/util/useScrollToAnchor.ts +49 -40
  1390. package/src/lib/util/useScrollToTop.ts +9 -4
  1391. package/src/shiki/langs/abap.js +1 -0
  1392. package/src/shiki/langs/actionscript-3.js +1 -0
  1393. package/src/shiki/langs/ada.js +1 -0
  1394. package/src/shiki/langs/angular-expression.js +1 -0
  1395. package/src/shiki/langs/angular-html.js +1 -0
  1396. package/src/shiki/langs/angular-inline-style.js +1 -0
  1397. package/src/shiki/langs/angular-inline-template.js +1 -0
  1398. package/src/shiki/langs/angular-let-declaration.js +1 -0
  1399. package/src/shiki/langs/angular-template-blocks.js +1 -0
  1400. package/src/shiki/langs/angular-template.js +1 -0
  1401. package/src/shiki/langs/angular-ts.js +1 -0
  1402. package/src/shiki/langs/apache.js +1 -0
  1403. package/src/shiki/langs/apex.js +1 -0
  1404. package/src/shiki/langs/apl.js +1 -0
  1405. package/src/shiki/langs/applescript.js +1 -0
  1406. package/src/shiki/langs/ara.js +1 -0
  1407. package/src/shiki/langs/asciidoc.js +1 -0
  1408. package/src/shiki/langs/asm.js +1 -0
  1409. package/src/shiki/langs/astro.js +1 -0
  1410. package/src/shiki/langs/awk.js +1 -0
  1411. package/src/shiki/langs/ballerina.js +1 -0
  1412. package/src/shiki/langs/bat.js +1 -0
  1413. package/src/shiki/langs/beancount.js +1 -0
  1414. package/src/shiki/langs/berry.js +1 -0
  1415. package/src/shiki/langs/bibtex.js +1 -0
  1416. package/src/shiki/langs/bicep.js +1 -0
  1417. package/src/shiki/langs/blade.js +1 -0
  1418. package/src/shiki/langs/bsl.js +1 -0
  1419. package/src/shiki/langs/c.js +1 -0
  1420. package/src/shiki/langs/cadence.js +1 -0
  1421. package/src/shiki/langs/cairo.js +1 -0
  1422. package/src/shiki/langs/clarity.js +1 -0
  1423. package/src/shiki/langs/clojure.js +1 -0
  1424. package/src/shiki/langs/cmake.js +1 -0
  1425. package/src/shiki/langs/cobol.js +1 -0
  1426. package/src/shiki/langs/codeowners.js +1 -0
  1427. package/src/shiki/langs/codeql.js +1 -0
  1428. package/src/shiki/langs/coffee.js +1 -0
  1429. package/src/shiki/langs/common-lisp.js +1 -0
  1430. package/src/shiki/langs/coq.js +1 -0
  1431. package/src/shiki/langs/cpp-macro.js +1 -0
  1432. package/src/shiki/langs/cpp.js +1 -0
  1433. package/src/shiki/langs/crystal.js +1 -0
  1434. package/src/shiki/langs/csharp.js +1 -0
  1435. package/src/shiki/langs/css.js +1 -0
  1436. package/src/shiki/langs/csv.js +1 -0
  1437. package/src/shiki/langs/cue.js +1 -0
  1438. package/src/shiki/langs/cypher.js +1 -0
  1439. package/src/shiki/langs/d.js +1 -0
  1440. package/src/shiki/langs/dart.js +1 -0
  1441. package/src/shiki/langs/dax.js +1 -0
  1442. package/src/shiki/langs/desktop.js +1 -0
  1443. package/src/shiki/langs/diff.js +1 -0
  1444. package/src/shiki/langs/docker.js +1 -0
  1445. package/src/shiki/langs/dotenv.js +1 -0
  1446. package/src/shiki/langs/dream-maker.js +1 -0
  1447. package/src/shiki/langs/edge.js +1 -0
  1448. package/src/shiki/langs/elixir.js +1 -0
  1449. package/src/shiki/langs/elm.js +1 -0
  1450. package/src/shiki/langs/emacs-lisp.js +1 -0
  1451. package/src/shiki/langs/erb.js +1 -0
  1452. package/src/shiki/langs/erlang.js +1 -0
  1453. package/src/shiki/langs/es-tag-css.js +1 -0
  1454. package/src/shiki/langs/es-tag-glsl.js +1 -0
  1455. package/src/shiki/langs/es-tag-html.js +1 -0
  1456. package/src/shiki/langs/es-tag-sql.js +1 -0
  1457. package/src/shiki/langs/es-tag-xml.js +1 -0
  1458. package/src/shiki/langs/fennel.js +1 -0
  1459. package/src/shiki/langs/fish.js +1 -0
  1460. package/src/shiki/langs/fluent.js +1 -0
  1461. package/src/shiki/langs/fortran-fixed-form.js +1 -0
  1462. package/src/shiki/langs/fortran-free-form.js +1 -0
  1463. package/src/shiki/langs/fsharp.js +1 -0
  1464. package/src/shiki/langs/gdresource.js +1 -0
  1465. package/src/shiki/langs/gdscript.js +1 -0
  1466. package/src/shiki/langs/gdshader.js +1 -0
  1467. package/src/shiki/langs/genie.js +1 -0
  1468. package/src/shiki/langs/gherkin.js +1 -0
  1469. package/src/shiki/langs/git-commit.js +1 -0
  1470. package/src/shiki/langs/git-rebase.js +1 -0
  1471. package/src/shiki/langs/gleam.js +1 -0
  1472. package/src/shiki/langs/glimmer-js.js +1 -0
  1473. package/src/shiki/langs/glimmer-ts.js +1 -0
  1474. package/src/shiki/langs/glsl.js +1 -0
  1475. package/src/shiki/langs/gnuplot.js +1 -0
  1476. package/src/shiki/langs/go.js +1 -0
  1477. package/src/shiki/langs/graphql.js +1 -0
  1478. package/src/shiki/langs/groovy.js +1 -0
  1479. package/src/shiki/langs/hack.js +1 -0
  1480. package/src/shiki/langs/haml.js +1 -0
  1481. package/src/shiki/langs/handlebars.js +1 -0
  1482. package/src/shiki/langs/haskell.js +1 -0
  1483. package/src/shiki/langs/haxe.js +1 -0
  1484. package/src/shiki/langs/hcl.js +1 -0
  1485. package/src/shiki/langs/hjson.js +1 -0
  1486. package/src/shiki/langs/hlsl.js +1 -0
  1487. package/src/shiki/langs/html-derivative.js +1 -0
  1488. package/src/shiki/langs/html.js +1 -0
  1489. package/src/shiki/langs/http.js +1 -0
  1490. package/src/shiki/langs/hxml.js +1 -0
  1491. package/src/shiki/langs/hy.js +1 -0
  1492. package/src/shiki/langs/imba.js +1 -0
  1493. package/src/shiki/langs/ini.js +1 -0
  1494. package/src/shiki/langs/java.js +1 -0
  1495. package/src/shiki/langs/javascript.js +1 -0
  1496. package/src/shiki/langs/jinja-html.js +1 -0
  1497. package/src/shiki/langs/jinja.js +1 -0
  1498. package/src/shiki/langs/jison.js +1 -0
  1499. package/src/shiki/langs/json.js +1 -0
  1500. package/src/shiki/langs/json5.js +1 -0
  1501. package/src/shiki/langs/jsonc.js +1 -0
  1502. package/src/shiki/langs/jsonl.js +1 -0
  1503. package/src/shiki/langs/jsonnet.js +1 -0
  1504. package/src/shiki/langs/jssm.js +1 -0
  1505. package/src/shiki/langs/jsx.js +1 -0
  1506. package/src/shiki/langs/julia.js +1 -0
  1507. package/src/shiki/langs/kotlin.js +1 -0
  1508. package/src/shiki/langs/kusto.js +1 -0
  1509. package/src/shiki/langs/latex.js +1 -0
  1510. package/src/shiki/langs/lean.js +1 -0
  1511. package/src/shiki/langs/less.js +1 -0
  1512. package/src/shiki/langs/liquid.js +1 -0
  1513. package/src/shiki/langs/llvm.js +1 -0
  1514. package/src/shiki/langs/log.js +1 -0
  1515. package/src/shiki/langs/logo.js +1 -0
  1516. package/src/shiki/langs/lua.js +1 -0
  1517. package/src/shiki/langs/luau.js +1 -0
  1518. package/src/shiki/langs/make.js +1 -0
  1519. package/src/shiki/langs/markdown-vue.js +1 -0
  1520. package/src/shiki/langs/markdown.js +1 -0
  1521. package/src/shiki/langs/marko.js +1 -0
  1522. package/src/shiki/langs/matlab.js +1 -0
  1523. package/src/shiki/langs/mdc.js +1 -0
  1524. package/src/shiki/langs/mdx.js +1 -0
  1525. package/src/shiki/langs/mermaid.js +1 -0
  1526. package/src/shiki/langs/mipsasm.js +1 -0
  1527. package/src/shiki/langs/mojo.js +1 -0
  1528. package/src/shiki/langs/move.js +1 -0
  1529. package/src/shiki/langs/narrat.js +1 -0
  1530. package/src/shiki/langs/nextflow.js +1 -0
  1531. package/src/shiki/langs/nginx.js +1 -0
  1532. package/src/shiki/langs/nim.js +1 -0
  1533. package/src/shiki/langs/nix.js +1 -0
  1534. package/src/shiki/langs/nushell.js +1 -0
  1535. package/src/shiki/langs/objective-c.js +1 -0
  1536. package/src/shiki/langs/objective-cpp.js +1 -0
  1537. package/src/shiki/langs/ocaml.js +1 -0
  1538. package/src/shiki/langs/pascal.js +1 -0
  1539. package/src/shiki/langs/perl.js +1 -0
  1540. package/src/shiki/langs/php.js +1 -0
  1541. package/src/shiki/langs/plsql.js +1 -0
  1542. package/src/shiki/langs/po.js +1 -0
  1543. package/src/shiki/langs/polar.js +1 -0
  1544. package/src/shiki/langs/postcss.js +1 -0
  1545. package/src/shiki/langs/powerquery.js +1 -0
  1546. package/src/shiki/langs/powershell.js +1 -0
  1547. package/src/shiki/langs/prisma.js +1 -0
  1548. package/src/shiki/langs/prolog.js +1 -0
  1549. package/src/shiki/langs/proto.js +1 -0
  1550. package/src/shiki/langs/pug.js +1 -0
  1551. package/src/shiki/langs/puppet.js +1 -0
  1552. package/src/shiki/langs/purescript.js +1 -0
  1553. package/src/shiki/langs/python.js +1 -0
  1554. package/src/shiki/langs/qml.js +1 -0
  1555. package/src/shiki/langs/qmldir.js +1 -0
  1556. package/src/shiki/langs/qss.js +1 -0
  1557. package/src/shiki/langs/r.js +1 -0
  1558. package/src/shiki/langs/racket.js +1 -0
  1559. package/src/shiki/langs/raku.js +1 -0
  1560. package/src/shiki/langs/razor.js +1 -0
  1561. package/src/shiki/langs/reg.js +1 -0
  1562. package/src/shiki/langs/regexp.js +1 -0
  1563. package/src/shiki/langs/rel.js +1 -0
  1564. package/src/shiki/langs/riscv.js +1 -0
  1565. package/src/shiki/langs/rst.js +1 -0
  1566. package/src/shiki/langs/ruby.js +1 -0
  1567. package/src/shiki/langs/rust.js +1 -0
  1568. package/src/shiki/langs/sas.js +1 -0
  1569. package/src/shiki/langs/sass.js +1 -0
  1570. package/src/shiki/langs/scala.js +1 -0
  1571. package/src/shiki/langs/scheme.js +1 -0
  1572. package/src/shiki/langs/scss.js +1 -0
  1573. package/src/shiki/langs/sdbl.js +1 -0
  1574. package/src/shiki/langs/shaderlab.js +1 -0
  1575. package/src/shiki/langs/shellscript.js +1 -0
  1576. package/src/shiki/langs/shellsession.js +1 -0
  1577. package/src/shiki/langs/smalltalk.js +1 -0
  1578. package/src/shiki/langs/solidity.js +1 -0
  1579. package/src/shiki/langs/soy.js +1 -0
  1580. package/src/shiki/langs/sparql.js +1 -0
  1581. package/src/shiki/langs/splunk.js +1 -0
  1582. package/src/shiki/langs/sql.js +1 -0
  1583. package/src/shiki/langs/ssh-config.js +1 -0
  1584. package/src/shiki/langs/stata.js +1 -0
  1585. package/src/shiki/langs/stylus.js +1 -0
  1586. package/src/shiki/langs/svelte.js +1 -0
  1587. package/src/shiki/langs/swift.js +1 -0
  1588. package/src/shiki/langs/system-verilog.js +1 -0
  1589. package/src/shiki/langs/systemd.js +1 -0
  1590. package/src/shiki/langs/talonscript.js +1 -0
  1591. package/src/shiki/langs/tasl.js +1 -0
  1592. package/src/shiki/langs/tcl.js +1 -0
  1593. package/src/shiki/langs/templ.js +1 -0
  1594. package/src/shiki/langs/terraform.js +1 -0
  1595. package/src/shiki/langs/tex.js +1 -0
  1596. package/src/shiki/langs/toml.js +1 -0
  1597. package/src/shiki/langs/ts-tags.js +1 -0
  1598. package/src/shiki/langs/tsv.js +1 -0
  1599. package/src/shiki/langs/tsx.js +1 -0
  1600. package/src/shiki/langs/turtle.js +1 -0
  1601. package/src/shiki/langs/twig.js +1 -0
  1602. package/src/shiki/langs/typescript.js +1 -0
  1603. package/src/shiki/langs/typespec.js +1 -0
  1604. package/src/shiki/langs/typst.js +1 -0
  1605. package/src/shiki/langs/v.js +1 -0
  1606. package/src/shiki/langs/vala.js +1 -0
  1607. package/src/shiki/langs/vb.js +1 -0
  1608. package/src/shiki/langs/verilog.js +1 -0
  1609. package/src/shiki/langs/vhdl.js +1 -0
  1610. package/src/shiki/langs/viml.js +1 -0
  1611. package/src/shiki/langs/vue-directives.js +1 -0
  1612. package/src/shiki/langs/vue-html.js +1 -0
  1613. package/src/shiki/langs/vue-interpolations.js +1 -0
  1614. package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
  1615. package/src/shiki/langs/vue.js +1 -0
  1616. package/src/shiki/langs/vyper.js +1 -0
  1617. package/src/shiki/langs/wasm.js +1 -0
  1618. package/src/shiki/langs/wenyan.js +1 -0
  1619. package/src/shiki/langs/wgsl.js +1 -0
  1620. package/src/shiki/langs/wikitext.js +1 -0
  1621. package/src/shiki/langs/wit.js +1 -0
  1622. package/src/shiki/langs/wolfram.js +1 -0
  1623. package/src/shiki/langs/xml.js +1 -0
  1624. package/src/shiki/langs/xsl.js +1 -0
  1625. package/src/shiki/langs/yaml.js +1 -0
  1626. package/src/shiki/langs/zenscript.js +1 -0
  1627. package/src/shiki/langs/zig.js +1 -0
  1628. package/src/shiki/themes/andromeeda.js +1 -0
  1629. package/src/shiki/themes/aurora-x.js +1 -0
  1630. package/src/shiki/themes/ayu-dark.js +1 -0
  1631. package/src/shiki/themes/catppuccin-frappe.js +1 -0
  1632. package/src/shiki/themes/catppuccin-latte.js +1 -0
  1633. package/src/shiki/themes/catppuccin-macchiato.js +1 -0
  1634. package/src/shiki/themes/catppuccin-mocha.js +1 -0
  1635. package/src/shiki/themes/dark-plus.js +1 -0
  1636. package/src/shiki/themes/dracula-soft.js +1 -0
  1637. package/src/shiki/themes/dracula.js +1 -0
  1638. package/src/shiki/themes/everforest-dark.js +1 -0
  1639. package/src/shiki/themes/everforest-light.js +1 -0
  1640. package/src/shiki/themes/github-dark-default.js +1 -0
  1641. package/src/shiki/themes/github-dark-dimmed.js +1 -0
  1642. package/src/shiki/themes/github-dark-high-contrast.js +1 -0
  1643. package/src/shiki/themes/github-dark.js +1 -0
  1644. package/src/shiki/themes/github-light-default.js +1 -0
  1645. package/src/shiki/themes/github-light-high-contrast.js +1 -0
  1646. package/src/shiki/themes/github-light.js +1 -0
  1647. package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
  1648. package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
  1649. package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
  1650. package/src/shiki/themes/gruvbox-light-hard.js +1 -0
  1651. package/src/shiki/themes/gruvbox-light-medium.js +1 -0
  1652. package/src/shiki/themes/gruvbox-light-soft.js +1 -0
  1653. package/src/shiki/themes/houston.js +1 -0
  1654. package/src/shiki/themes/kanagawa-dragon.js +1 -0
  1655. package/src/shiki/themes/kanagawa-lotus.js +1 -0
  1656. package/src/shiki/themes/kanagawa-wave.js +1 -0
  1657. package/src/shiki/themes/laserwave.js +1 -0
  1658. package/src/shiki/themes/light-plus.js +1 -0
  1659. package/src/shiki/themes/material-theme-darker.js +1 -0
  1660. package/src/shiki/themes/material-theme-lighter.js +1 -0
  1661. package/src/shiki/themes/material-theme-ocean.js +1 -0
  1662. package/src/shiki/themes/material-theme-palenight.js +1 -0
  1663. package/src/shiki/themes/material-theme.js +1 -0
  1664. package/src/shiki/themes/min-dark.js +1 -0
  1665. package/src/shiki/themes/min-light.js +1 -0
  1666. package/src/shiki/themes/monokai.js +1 -0
  1667. package/src/shiki/themes/night-owl.js +1 -0
  1668. package/src/shiki/themes/nord.js +1 -0
  1669. package/src/shiki/themes/one-dark-pro.js +1 -0
  1670. package/src/shiki/themes/one-light.js +1 -0
  1671. package/src/shiki/themes/plastic.js +1 -0
  1672. package/src/shiki/themes/poimandres.js +1 -0
  1673. package/src/shiki/themes/red.js +1 -0
  1674. package/src/shiki/themes/rose-pine-dawn.js +1 -0
  1675. package/src/shiki/themes/rose-pine-moon.js +1 -0
  1676. package/src/shiki/themes/rose-pine.js +1 -0
  1677. package/src/shiki/themes/slack-dark.js +1 -0
  1678. package/src/shiki/themes/slack-ochin.js +1 -0
  1679. package/src/shiki/themes/snazzy-light.js +1 -0
  1680. package/src/shiki/themes/solarized-dark.js +1 -0
  1681. package/src/shiki/themes/solarized-light.js +1 -0
  1682. package/src/shiki/themes/synthwave-84.js +1 -0
  1683. package/src/shiki/themes/tokyo-night.js +1 -0
  1684. package/src/shiki/themes/vesper.js +1 -0
  1685. package/src/shiki/themes/vitesse-black.js +1 -0
  1686. package/src/shiki/themes/vitesse-dark.js +1 -0
  1687. package/src/shiki/themes/vitesse-light.js +1 -0
  1688. package/LICENSE.md +0 -9
  1689. package/client.d.ts +0 -1
  1690. package/dist/app/tailwind.d.ts +0 -3
  1691. package/dist/app/tailwind.js +0 -65
  1692. package/dist/app/tailwind.js.map +0 -1
  1693. package/dist/config/validators/InputSidebarSchema.d.ts +0 -186
  1694. package/dist/config/validators/InputSidebarSchema.js +0 -73
  1695. package/dist/config/validators/InputSidebarSchema.js.map +0 -1
  1696. package/dist/config/validators/SidebarSchema.d.ts +0 -23
  1697. package/dist/config/validators/SidebarSchema.js +0 -82
  1698. package/dist/config/validators/SidebarSchema.js.map +0 -1
  1699. package/dist/internal.d.ts +0 -1
  1700. package/dist/internal.js +0 -2
  1701. package/dist/internal.js.map +0 -1
  1702. package/dist/lib/components/DevPortal.d.ts +0 -7
  1703. package/dist/lib/components/DevPortal.js +0 -54
  1704. package/dist/lib/components/DevPortal.js.map +0 -1
  1705. package/dist/lib/components/Dialog.d.ts +0 -19
  1706. package/dist/lib/components/Dialog.js +0 -23
  1707. package/dist/lib/components/Dialog.js.map +0 -1
  1708. package/dist/lib/components/Select.js +0 -27
  1709. package/dist/lib/components/Select.js.map +0 -1
  1710. package/dist/lib/components/SlotletProvider.d.ts +0 -9
  1711. package/dist/lib/components/SlotletProvider.js +0 -16
  1712. package/dist/lib/components/SlotletProvider.js.map +0 -1
  1713. package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
  1714. package/dist/lib/components/SyntaxHighlight.js +0 -50
  1715. package/dist/lib/components/SyntaxHighlight.js.map +0 -1
  1716. package/dist/lib/components/context/PluginSystem.js +0 -2
  1717. package/dist/lib/components/context/PluginSystem.js.map +0 -1
  1718. package/dist/lib/components/context/ThemeContext.d.ts +0 -2
  1719. package/dist/lib/components/context/ThemeContext.js +0 -7
  1720. package/dist/lib/components/context/ThemeContext.js.map +0 -1
  1721. package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
  1722. package/dist/lib/components/context/ThemeProvider.js +0 -23
  1723. package/dist/lib/components/context/ThemeProvider.js.map +0 -1
  1724. package/dist/lib/components/navigation/Sidebar.d.ts +0 -1
  1725. package/dist/lib/components/navigation/Sidebar.js +0 -14
  1726. package/dist/lib/components/navigation/Sidebar.js.map +0 -1
  1727. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -23
  1728. package/dist/lib/components/navigation/SidebarBadge.js +0 -24
  1729. package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
  1730. package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
  1731. package/dist/lib/components/navigation/SidebarCategory.js +0 -41
  1732. package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
  1733. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -12
  1734. package/dist/lib/components/navigation/SidebarItem.js +0 -43
  1735. package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
  1736. package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -6
  1737. package/dist/lib/components/navigation/SidebarWrapper.js +0 -6
  1738. package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
  1739. package/dist/lib/core/DevPortalContext.d.ts +0 -78
  1740. package/dist/lib/core/DevPortalContext.js +0 -49
  1741. package/dist/lib/core/DevPortalContext.js.map +0 -1
  1742. package/dist/lib/plugins/custom-page/index.d.ts +0 -8
  1743. package/dist/lib/plugins/custom-page/index.js +0 -12
  1744. package/dist/lib/plugins/custom-page/index.js.map +0 -1
  1745. package/dist/lib/plugins/markdown/Toc.js +0 -48
  1746. package/dist/lib/plugins/markdown/Toc.js.map +0 -1
  1747. package/dist/lib/plugins/markdown/generateRoutes.d.ts +0 -3
  1748. package/dist/lib/plugins/markdown/generateRoutes.js +0 -21
  1749. package/dist/lib/plugins/markdown/generateRoutes.js.map +0 -1
  1750. package/dist/lib/plugins/openapi/Route.d.ts +0 -6
  1751. package/dist/lib/plugins/openapi/Route.js +0 -8
  1752. package/dist/lib/plugins/openapi/Route.js.map +0 -1
  1753. package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -12
  1754. package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -46
  1755. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
  1756. package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
  1757. package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -61
  1758. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
  1759. package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
  1760. package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
  1761. package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
  1762. package/dist/lib/plugins/openapi/client/worker.js +0 -20
  1763. package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
  1764. package/dist/lib/plugins/openapi/playground/Editor.d.ts +0 -1
  1765. package/dist/lib/plugins/openapi/playground/Editor.js +0 -5
  1766. package/dist/lib/plugins/openapi/playground/Editor.js.map +0 -1
  1767. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
  1768. package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
  1769. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
  1770. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
  1771. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
  1772. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
  1773. package/dist/lib/plugins/openapi/schema/SchemaComponents.d.ts +0 -13
  1774. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
  1775. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
  1776. package/dist/lib/plugins/openapi/util/urql.d.ts +0 -7
  1777. package/dist/lib/plugins/openapi/util/urql.js +0 -8
  1778. package/dist/lib/plugins/openapi/util/urql.js.map +0 -1
  1779. package/dist/lib/plugins/openapi-worker.d.ts +0 -1
  1780. package/dist/lib/plugins/openapi-worker.js +0 -2
  1781. package/dist/lib/plugins/openapi-worker.js.map +0 -1
  1782. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  1783. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  1784. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  1785. package/dist/lib/themeToggle.d.ts +0 -1
  1786. package/dist/lib/themeToggle.js +0 -7
  1787. package/dist/lib/themeToggle.js.map +0 -1
  1788. package/dist/lib/ui/Note.d.ts +0 -8
  1789. package/dist/lib/ui/Note.js +0 -23
  1790. package/dist/lib/ui/Note.js.map +0 -1
  1791. package/dist/lib/util/createWaitForNotify.d.ts +0 -1
  1792. package/dist/lib/util/createWaitForNotify.js +0 -15
  1793. package/dist/lib/util/createWaitForNotify.js.map +0 -1
  1794. package/dist/vite/plugin-custom-css.d.ts +0 -6
  1795. package/dist/vite/plugin-custom-css.js +0 -55
  1796. package/dist/vite/plugin-custom-css.js.map +0 -1
  1797. package/dist/vite/plugin-docs.test.js +0 -30
  1798. package/dist/vite/plugin-docs.test.js.map +0 -1
  1799. package/dist/vite/plugin-html-transform.d.ts +0 -2
  1800. package/dist/vite/plugin-html-transform.js +0 -15
  1801. package/dist/vite/plugin-html-transform.js.map +0 -1
  1802. package/dist/vite/plugin-sidebar.d.ts +0 -3
  1803. package/dist/vite/plugin-sidebar.js +0 -46
  1804. package/dist/vite/plugin-sidebar.js.map +0 -1
  1805. package/dist/vite/prerender.d.ts +0 -17
  1806. package/dist/vite/prerender.js +0 -87
  1807. package/dist/vite/prerender.js.map +0 -1
  1808. package/lib/AuthenticationPlugin-Bx9FK124.js +0 -55
  1809. package/lib/AuthenticationPlugin-Bx9FK124.js.map +0 -1
  1810. package/lib/CategoryHeading-ovR-zHRq.js +0 -10
  1811. package/lib/CategoryHeading-ovR-zHRq.js.map +0 -1
  1812. package/lib/DeveloperHint-YeWHKvyr.js +0 -16
  1813. package/lib/DeveloperHint-YeWHKvyr.js.map +0 -1
  1814. package/lib/ErrorPage-CsZAN_za.js +0 -16
  1815. package/lib/ErrorPage-CsZAN_za.js.map +0 -1
  1816. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  1817. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  1818. package/lib/Input-CtVUl3eT.js +0 -2198
  1819. package/lib/Input-CtVUl3eT.js.map +0 -1
  1820. package/lib/Markdown-DapSf3wG.js +0 -20281
  1821. package/lib/Markdown-DapSf3wG.js.map +0 -1
  1822. package/lib/MdxPage-BqBWsXZ1.js +0 -172
  1823. package/lib/MdxPage-BqBWsXZ1.js.map +0 -1
  1824. package/lib/OperationList-CYrmxPa8.js +0 -602
  1825. package/lib/OperationList-CYrmxPa8.js.map +0 -1
  1826. package/lib/Route-Q5mqNQrv.js +0 -14
  1827. package/lib/Route-Q5mqNQrv.js.map +0 -1
  1828. package/lib/SidebarBadge-Dx7jtnoA.js +0 -498
  1829. package/lib/SidebarBadge-Dx7jtnoA.js.map +0 -1
  1830. package/lib/SlotletProvider-D3UD5Go3.js +0 -238
  1831. package/lib/SlotletProvider-D3UD5Go3.js.map +0 -1
  1832. package/lib/Spinner-3cQDBVGr.js +0 -7
  1833. package/lib/Spinner-3cQDBVGr.js.map +0 -1
  1834. package/lib/ZudokuContext-cr-pTRY1.js +0 -1084
  1835. package/lib/ZudokuContext-cr-pTRY1.js.map +0 -1
  1836. package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
  1837. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  1838. package/lib/assets/index-B9EWVYfo.js +0 -4790
  1839. package/lib/assets/index-B9EWVYfo.js.map +0 -1
  1840. package/lib/assets/worker-BP8Uzflt.js +0 -17916
  1841. package/lib/assets/worker-BP8Uzflt.js.map +0 -1
  1842. package/lib/index-BG0g4WW0.js +0 -1771
  1843. package/lib/index-BG0g4WW0.js.map +0 -1
  1844. package/lib/index-BlJ2rj99.js +0 -5815
  1845. package/lib/index-BlJ2rj99.js.map +0 -1
  1846. package/lib/index-Bn6Lc9tq.js +0 -9
  1847. package/lib/index-Bn6Lc9tq.js.map +0 -1
  1848. package/lib/index-BngPzhKn.js +0 -124
  1849. package/lib/index-BngPzhKn.js.map +0 -1
  1850. package/lib/index-CLd8ycZz.js +0 -4790
  1851. package/lib/index-CLd8ycZz.js.map +0 -1
  1852. package/lib/index-Dolisrci.js +0 -2814
  1853. package/lib/index-Dolisrci.js.map +0 -1
  1854. package/lib/index-LNp6rxyU.js +0 -2094
  1855. package/lib/index-LNp6rxyU.js.map +0 -1
  1856. package/lib/joinPath-B7kNnUX4.js +0 -8
  1857. package/lib/joinPath-B7kNnUX4.js.map +0 -1
  1858. package/lib/jsx-runtime-B6kdoens.js +0 -635
  1859. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  1860. package/lib/prism-bash.min-DadFsM4Z.js +0 -7
  1861. package/lib/prism-bash.min-DadFsM4Z.js.map +0 -1
  1862. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  1863. package/lib/prism-csharp.min-Yizuc34Y.js.map +0 -1
  1864. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  1865. package/lib/prism-java.min-d5iT_mOd.js.map +0 -1
  1866. package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
  1867. package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
  1868. package/lib/prism-json.min-B1GJqK1k.js +0 -2
  1869. package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
  1870. package/lib/prism-markdown.min-F3U-vPBi.js +0 -61
  1871. package/lib/prism-markdown.min-F3U-vPBi.js.map +0 -1
  1872. package/lib/prism-markup-BNGj0Tvm.js +0 -174
  1873. package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
  1874. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  1875. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  1876. package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
  1877. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
  1878. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  1879. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  1880. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  1881. package/lib/prism-ruby.min-C7LwcKyz.js.map +0 -1
  1882. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  1883. package/lib/prism-typescript.min-oSVeWCAd.js.map +0 -1
  1884. package/lib/router-D2p7Olpn.js +0 -2971
  1885. package/lib/router-D2p7Olpn.js.map +0 -1
  1886. package/lib/state-hNe1dw4B.js +0 -548
  1887. package/lib/state-hNe1dw4B.js.map +0 -1
  1888. package/lib/urql-YhcsXYy8.js +0 -1591
  1889. package/lib/urql-YhcsXYy8.js.map +0 -1
  1890. package/lib/utils-ByIc_KIM.js +0 -749
  1891. package/lib/utils-ByIc_KIM.js.map +0 -1
  1892. package/lib/zudoku.openapi-worker.js +0 -16059
  1893. package/lib/zudoku.openapi-worker.js.map +0 -1
  1894. package/lib/zudoku.plugin-custom-page.js +0 -13
  1895. package/lib/zudoku.plugin-custom-page.js.map +0 -1
  1896. package/src/app/tailwind.ts +0 -68
  1897. package/src/lib/components/DevPortal.tsx +0 -111
  1898. package/src/lib/components/Dialog.tsx +0 -119
  1899. package/src/lib/components/Select.tsx +0 -157
  1900. package/src/lib/components/SlotletProvider.tsx +0 -30
  1901. package/src/lib/components/SyntaxHighlight.tsx +0 -122
  1902. package/src/lib/components/context/PluginSystem.ts +0 -0
  1903. package/src/lib/components/context/ThemeContext.tsx +0 -8
  1904. package/src/lib/components/context/ThemeProvider.tsx +0 -27
  1905. package/src/lib/components/navigation/Sidebar.tsx +0 -39
  1906. package/src/lib/components/navigation/SidebarBadge.tsx +0 -43
  1907. package/src/lib/components/navigation/SidebarCategory.tsx +0 -131
  1908. package/src/lib/components/navigation/SidebarItem.tsx +0 -130
  1909. package/src/lib/components/navigation/SidebarWrapper.tsx +0 -26
  1910. package/src/lib/core/DevPortalContext.ts +0 -135
  1911. package/src/lib/plugins/custom-page/index.tsx +0 -22
  1912. package/src/lib/plugins/markdown/Toc.tsx +0 -135
  1913. package/src/lib/plugins/markdown/generateRoutes.tsx +0 -38
  1914. package/src/lib/plugins/openapi/Route.tsx +0 -21
  1915. package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -56
  1916. package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -80
  1917. package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
  1918. package/src/lib/plugins/openapi/client/worker.ts +0 -30
  1919. package/src/lib/plugins/openapi/playground/Editor.tsx +0 -4
  1920. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
  1921. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
  1922. package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
  1923. package/src/lib/plugins/openapi/util/urql.ts +0 -8
  1924. package/src/lib/plugins/openapi-worker.ts +0 -1
  1925. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
  1926. package/src/lib/themeToggle.ts +0 -7
  1927. package/src/lib/ui/Note.tsx +0 -58
  1928. package/src/lib/util/createWaitForNotify.ts +0 -18
  1929. /package/dist/{lib/components/context/PluginSystem.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
  1930. /package/dist/{lib/plugins/openapi/client/worker.d.ts → config/validators/validate.test.d.ts} +0 -0
  1931. /package/dist/{vite/plugin-docs.test.d.ts → lib/auth/issuer.test.d.ts} +0 -0
  1932. /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
  1933. /package/dist/lib/{components → ui}/Select.d.ts +0 -0
@@ -0,0 +1,1839 @@
1
+ import * as i from "react";
2
+ var F = {}, ue;
3
+ function Ae() {
4
+ if (ue) return F;
5
+ ue = 1, Object.defineProperty(F, "__esModule", { value: !0 }), F.parse = s, F.serialize = u;
6
+ const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, o = /^[\u0020-\u003A\u003D-\u007E]*$/, n = Object.prototype.toString, a = /* @__PURE__ */ (() => {
7
+ const f = function() {
8
+ };
9
+ return f.prototype = /* @__PURE__ */ Object.create(null), f;
10
+ })();
11
+ function s(f, g) {
12
+ const d = new a(), v = f.length;
13
+ if (v < 2)
14
+ return d;
15
+ const E = g?.decode || m;
16
+ let h = 0;
17
+ do {
18
+ const w = f.indexOf("=", h);
19
+ if (w === -1)
20
+ break;
21
+ const y = f.indexOf(";", h), b = y === -1 ? v : y;
22
+ if (w > b) {
23
+ h = f.lastIndexOf(";", w - 1) + 1;
24
+ continue;
25
+ }
26
+ const R = c(f, h, w), C = l(f, w, R), $ = f.slice(R, C);
27
+ if (d[$] === void 0) {
28
+ let S = c(f, w + 1, b), P = l(f, b, S);
29
+ const O = E(f.slice(S, P));
30
+ d[$] = O;
31
+ }
32
+ h = b + 1;
33
+ } while (h < v);
34
+ return d;
35
+ }
36
+ function c(f, g, d) {
37
+ do {
38
+ const v = f.charCodeAt(g);
39
+ if (v !== 32 && v !== 9)
40
+ return g;
41
+ } while (++g < d);
42
+ return d;
43
+ }
44
+ function l(f, g, d) {
45
+ for (; g > d; ) {
46
+ const v = f.charCodeAt(--g);
47
+ if (v !== 32 && v !== 9)
48
+ return g + 1;
49
+ }
50
+ return d;
51
+ }
52
+ function u(f, g, d) {
53
+ const v = d?.encode || encodeURIComponent;
54
+ if (!e.test(f))
55
+ throw new TypeError(`argument name is invalid: ${f}`);
56
+ const E = v(g);
57
+ if (!t.test(E))
58
+ throw new TypeError(`argument val is invalid: ${g}`);
59
+ let h = f + "=" + E;
60
+ if (!d)
61
+ return h;
62
+ if (d.maxAge !== void 0) {
63
+ if (!Number.isInteger(d.maxAge))
64
+ throw new TypeError(`option maxAge is invalid: ${d.maxAge}`);
65
+ h += "; Max-Age=" + d.maxAge;
66
+ }
67
+ if (d.domain) {
68
+ if (!r.test(d.domain))
69
+ throw new TypeError(`option domain is invalid: ${d.domain}`);
70
+ h += "; Domain=" + d.domain;
71
+ }
72
+ if (d.path) {
73
+ if (!o.test(d.path))
74
+ throw new TypeError(`option path is invalid: ${d.path}`);
75
+ h += "; Path=" + d.path;
76
+ }
77
+ if (d.expires) {
78
+ if (!p(d.expires) || !Number.isFinite(d.expires.valueOf()))
79
+ throw new TypeError(`option expires is invalid: ${d.expires}`);
80
+ h += "; Expires=" + d.expires.toUTCString();
81
+ }
82
+ if (d.httpOnly && (h += "; HttpOnly"), d.secure && (h += "; Secure"), d.partitioned && (h += "; Partitioned"), d.priority)
83
+ switch (typeof d.priority == "string" ? d.priority.toLowerCase() : void 0) {
84
+ case "low":
85
+ h += "; Priority=Low";
86
+ break;
87
+ case "medium":
88
+ h += "; Priority=Medium";
89
+ break;
90
+ case "high":
91
+ h += "; Priority=High";
92
+ break;
93
+ default:
94
+ throw new TypeError(`option priority is invalid: ${d.priority}`);
95
+ }
96
+ if (d.sameSite)
97
+ switch (typeof d.sameSite == "string" ? d.sameSite.toLowerCase() : d.sameSite) {
98
+ case !0:
99
+ case "strict":
100
+ h += "; SameSite=Strict";
101
+ break;
102
+ case "lax":
103
+ h += "; SameSite=Lax";
104
+ break;
105
+ case "none":
106
+ h += "; SameSite=None";
107
+ break;
108
+ default:
109
+ throw new TypeError(`option sameSite is invalid: ${d.sameSite}`);
110
+ }
111
+ return h;
112
+ }
113
+ function m(f) {
114
+ if (f.indexOf("%") === -1)
115
+ return f;
116
+ try {
117
+ return decodeURIComponent(f);
118
+ } catch {
119
+ return f;
120
+ }
121
+ }
122
+ function p(f) {
123
+ return n.call(f) === "[object Date]";
124
+ }
125
+ return F;
126
+ }
127
+ Ae();
128
+ /**
129
+ * react-router v7.6.3
130
+ *
131
+ * Copyright (c) Remix Software Inc.
132
+ *
133
+ * This source code is licensed under the MIT license found in the
134
+ * LICENSE.md file in the root directory of this source tree.
135
+ *
136
+ * @license MIT
137
+ */
138
+ function x(e, t) {
139
+ if (e === !1 || e === null || typeof e > "u")
140
+ throw new Error(t);
141
+ }
142
+ function L(e, t) {
143
+ if (!e) {
144
+ typeof console < "u" && console.warn(t);
145
+ try {
146
+ throw new Error(t);
147
+ } catch {
148
+ }
149
+ }
150
+ }
151
+ function W({
152
+ pathname: e = "/",
153
+ search: t = "",
154
+ hash: r = ""
155
+ }) {
156
+ return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), r && r !== "#" && (e += r.charAt(0) === "#" ? r : "#" + r), e;
157
+ }
158
+ function Y(e) {
159
+ let t = {};
160
+ if (e) {
161
+ let r = e.indexOf("#");
162
+ r >= 0 && (t.hash = e.substring(r), e = e.substring(0, r));
163
+ let o = e.indexOf("?");
164
+ o >= 0 && (t.search = e.substring(o), e = e.substring(0, o)), e && (t.pathname = e);
165
+ }
166
+ return t;
167
+ }
168
+ function pe(e, t, r = "/") {
169
+ return Oe(e, t, r, !1);
170
+ }
171
+ function Oe(e, t, r, o) {
172
+ let n = typeof t == "string" ? Y(t) : t, a = A(n.pathname || "/", r);
173
+ if (a == null)
174
+ return null;
175
+ let s = ge(e);
176
+ De(s);
177
+ let c = null;
178
+ for (let l = 0; c == null && l < s.length; ++l) {
179
+ let u = ye(a);
180
+ c = ze(
181
+ s[l],
182
+ u,
183
+ o
184
+ );
185
+ }
186
+ return c;
187
+ }
188
+ function ge(e, t = [], r = [], o = "") {
189
+ let n = (a, s, c) => {
190
+ let l = {
191
+ relativePath: c === void 0 ? a.path || "" : c,
192
+ caseSensitive: a.caseSensitive === !0,
193
+ childrenIndex: s,
194
+ route: a
195
+ };
196
+ l.relativePath.startsWith("/") && (x(
197
+ l.relativePath.startsWith(o),
198
+ `Absolute route path "${l.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
199
+ ), l.relativePath = l.relativePath.slice(o.length));
200
+ let u = M([o, l.relativePath]), m = r.concat(l);
201
+ a.children && a.children.length > 0 && (x(
202
+ // Our types know better, but runtime JS may not!
203
+ // @ts-expect-error
204
+ a.index !== !0,
205
+ `Index routes must not have child routes. Please remove all child routes from route path "${u}".`
206
+ ), ge(a.children, t, m, u)), !(a.path == null && !a.index) && t.push({
207
+ path: u,
208
+ score: He(u, a.index),
209
+ routesMeta: m
210
+ });
211
+ };
212
+ return e.forEach((a, s) => {
213
+ if (a.path === "" || !a.path?.includes("?"))
214
+ n(a, s);
215
+ else
216
+ for (let c of ve(a.path))
217
+ n(a, s, c);
218
+ }), t;
219
+ }
220
+ function ve(e) {
221
+ let t = e.split("/");
222
+ if (t.length === 0) return [];
223
+ let [r, ...o] = t, n = r.endsWith("?"), a = r.replace(/\?$/, "");
224
+ if (o.length === 0)
225
+ return n ? [a, ""] : [a];
226
+ let s = ve(o.join("/")), c = [];
227
+ return c.push(
228
+ ...s.map(
229
+ (l) => l === "" ? a : [a, l].join("/")
230
+ )
231
+ ), n && c.push(...s), c.map(
232
+ (l) => e.startsWith("/") && l === "" ? "/" : l
233
+ );
234
+ }
235
+ function De(e) {
236
+ e.sort(
237
+ (t, r) => t.score !== r.score ? r.score - t.score : je(
238
+ t.routesMeta.map((o) => o.childrenIndex),
239
+ r.routesMeta.map((o) => o.childrenIndex)
240
+ )
241
+ );
242
+ }
243
+ var Ie = /^:[\w-]+$/, _e = 3, Fe = 2, Ue = 1, We = 10, Be = -2, ce = (e) => e === "*";
244
+ function He(e, t) {
245
+ let r = e.split("/"), o = r.length;
246
+ return r.some(ce) && (o += Be), t && (o += Fe), r.filter((n) => !ce(n)).reduce(
247
+ (n, a) => n + (Ie.test(a) ? _e : a === "" ? Ue : We),
248
+ o
249
+ );
250
+ }
251
+ function je(e, t) {
252
+ return e.length === t.length && e.slice(0, -1).every((o, n) => o === t[n]) ? (
253
+ // If two routes are siblings, we should try to match the earlier sibling
254
+ // first. This allows people to have fine-grained control over the matching
255
+ // behavior by simply putting routes with identical paths in the order they
256
+ // want them tried.
257
+ e[e.length - 1] - t[t.length - 1]
258
+ ) : (
259
+ // Otherwise, it doesn't really make sense to rank non-siblings by index,
260
+ // so they sort equally.
261
+ 0
262
+ );
263
+ }
264
+ function ze(e, t, r = !1) {
265
+ let { routesMeta: o } = e, n = {}, a = "/", s = [];
266
+ for (let c = 0; c < o.length; ++c) {
267
+ let l = o[c], u = c === o.length - 1, m = a === "/" ? t : t.slice(a.length) || "/", p = B(
268
+ { path: l.relativePath, caseSensitive: l.caseSensitive, end: u },
269
+ m
270
+ ), f = l.route;
271
+ if (!p && u && r && !o[o.length - 1].route.index && (p = B(
272
+ {
273
+ path: l.relativePath,
274
+ caseSensitive: l.caseSensitive,
275
+ end: !1
276
+ },
277
+ m
278
+ )), !p)
279
+ return null;
280
+ Object.assign(n, p.params), s.push({
281
+ // TODO: Can this as be avoided?
282
+ params: n,
283
+ pathname: M([a, p.pathname]),
284
+ pathnameBase: qe(
285
+ M([a, p.pathnameBase])
286
+ ),
287
+ route: f
288
+ }), p.pathnameBase !== "/" && (a = M([a, p.pathnameBase]));
289
+ }
290
+ return s;
291
+ }
292
+ function or(e, t = {}) {
293
+ let r = e;
294
+ r.endsWith("*") && r !== "*" && !r.endsWith("/*") && (L(
295
+ !1,
296
+ `Route path "${r}" will be treated as if it were "${r.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/, "/*")}".`
297
+ ), r = r.replace(/\*$/, "/*"));
298
+ const o = r.startsWith("/") ? "/" : "", n = (s) => s == null ? "" : typeof s == "string" ? s : String(s), a = r.split(/\/+/).map((s, c, l) => {
299
+ if (c === l.length - 1 && s === "*")
300
+ return n(t["*"]);
301
+ const m = s.match(/^:([\w-]+)(\??)$/);
302
+ if (m) {
303
+ const [, p, f] = m;
304
+ let g = t[p];
305
+ return x(f === "?" || g != null, `Missing ":${p}" param`), n(g);
306
+ }
307
+ return s.replace(/\?$/g, "");
308
+ }).filter((s) => !!s);
309
+ return o + a.join("/");
310
+ }
311
+ function B(e, t) {
312
+ typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
313
+ let [r, o] = Ve(
314
+ e.path,
315
+ e.caseSensitive,
316
+ e.end
317
+ ), n = t.match(r);
318
+ if (!n) return null;
319
+ let a = n[0], s = a.replace(/(.)\/+$/, "$1"), c = n.slice(1);
320
+ return {
321
+ params: o.reduce(
322
+ (u, { paramName: m, isOptional: p }, f) => {
323
+ if (m === "*") {
324
+ let d = c[f] || "";
325
+ s = a.slice(0, a.length - d.length).replace(/(.)\/+$/, "$1");
326
+ }
327
+ const g = c[f];
328
+ return p && !g ? u[m] = void 0 : u[m] = (g || "").replace(/%2F/g, "/"), u;
329
+ },
330
+ {}
331
+ ),
332
+ pathname: a,
333
+ pathnameBase: s,
334
+ pattern: e
335
+ };
336
+ }
337
+ function Ve(e, t = !1, r = !0) {
338
+ L(
339
+ e === "*" || !e.endsWith("*") || e.endsWith("/*"),
340
+ `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
341
+ );
342
+ let o = [], n = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(
343
+ /\/:([\w-]+)(\?)?/g,
344
+ (s, c, l) => (o.push({ paramName: c, isOptional: l != null }), l ? "/?([^\\/]+)?" : "/([^\\/]+)")
345
+ );
346
+ return e.endsWith("*") ? (o.push({ paramName: "*" }), n += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? n += "\\/*$" : e !== "" && e !== "/" && (n += "(?:(?=\\/|$))"), [new RegExp(n, t ? void 0 : "i"), o];
347
+ }
348
+ function ye(e) {
349
+ try {
350
+ return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
351
+ } catch (t) {
352
+ return L(
353
+ !1,
354
+ `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`
355
+ ), e;
356
+ }
357
+ }
358
+ function A(e, t) {
359
+ if (t === "/") return e;
360
+ if (!e.toLowerCase().startsWith(t.toLowerCase()))
361
+ return null;
362
+ let r = t.endsWith("/") ? t.length - 1 : t.length, o = e.charAt(r);
363
+ return o && o !== "/" ? null : e.slice(r) || "/";
364
+ }
365
+ function Ye(e, t = "/") {
366
+ let {
367
+ pathname: r,
368
+ search: o = "",
369
+ hash: n = ""
370
+ } = typeof e == "string" ? Y(e) : e;
371
+ return {
372
+ pathname: r ? r.startsWith("/") ? r : Je(r, t) : t,
373
+ search: Ge(o),
374
+ hash: Xe(n)
375
+ };
376
+ }
377
+ function Je(e, t) {
378
+ let r = t.replace(/\/+$/, "").split("/");
379
+ return e.split("/").forEach((n) => {
380
+ n === ".." ? r.length > 1 && r.pop() : n !== "." && r.push(n);
381
+ }), r.length > 1 ? r.join("/") : "/";
382
+ }
383
+ function G(e, t, r, o) {
384
+ return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(
385
+ o
386
+ )}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
387
+ }
388
+ function Ke(e) {
389
+ return e.filter(
390
+ (t, r) => r === 0 || t.route.path && t.route.path.length > 0
391
+ );
392
+ }
393
+ function Z(e) {
394
+ let t = Ke(e);
395
+ return t.map(
396
+ (r, o) => o === t.length - 1 ? r.pathname : r.pathnameBase
397
+ );
398
+ }
399
+ function ee(e, t, r, o = !1) {
400
+ let n;
401
+ typeof e == "string" ? n = Y(e) : (n = { ...e }, x(
402
+ !n.pathname || !n.pathname.includes("?"),
403
+ G("?", "pathname", "search", n)
404
+ ), x(
405
+ !n.pathname || !n.pathname.includes("#"),
406
+ G("#", "pathname", "hash", n)
407
+ ), x(
408
+ !n.search || !n.search.includes("#"),
409
+ G("#", "search", "hash", n)
410
+ ));
411
+ let a = e === "" || n.pathname === "", s = a ? "/" : n.pathname, c;
412
+ if (s == null)
413
+ c = r;
414
+ else {
415
+ let p = t.length - 1;
416
+ if (!o && s.startsWith("..")) {
417
+ let f = s.split("/");
418
+ for (; f[0] === ".."; )
419
+ f.shift(), p -= 1;
420
+ n.pathname = f.join("/");
421
+ }
422
+ c = p >= 0 ? t[p] : "/";
423
+ }
424
+ let l = Ye(n, c), u = s && s !== "/" && s.endsWith("/"), m = (a || s === ".") && r.endsWith("/");
425
+ return !l.pathname.endsWith("/") && (u || m) && (l.pathname += "/"), l;
426
+ }
427
+ var M = (e) => e.join("/").replace(/\/\/+/g, "/"), qe = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Ge = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Xe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, ir = (e, t = 302) => {
428
+ let r = t;
429
+ typeof r == "number" ? r = { status: r } : typeof r.status > "u" && (r.status = 302);
430
+ let o = new Headers(r.headers);
431
+ return o.set("Location", e), new Response(null, { ...r, headers: o });
432
+ };
433
+ function we(e) {
434
+ return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
435
+ }
436
+ var Ee = [
437
+ "POST",
438
+ "PUT",
439
+ "PATCH",
440
+ "DELETE"
441
+ ];
442
+ new Set(
443
+ Ee
444
+ );
445
+ var Qe = [
446
+ "GET",
447
+ ...Ee
448
+ ];
449
+ new Set(Qe);
450
+ var D = i.createContext(null);
451
+ D.displayName = "DataRouter";
452
+ var _ = i.createContext(null);
453
+ _.displayName = "DataRouterState";
454
+ var J = i.createContext({
455
+ isTransitioning: !1
456
+ });
457
+ J.displayName = "ViewTransition";
458
+ var te = i.createContext(
459
+ /* @__PURE__ */ new Map()
460
+ );
461
+ te.displayName = "Fetchers";
462
+ var Ze = i.createContext(null);
463
+ Ze.displayName = "Await";
464
+ var T = i.createContext(
465
+ null
466
+ );
467
+ T.displayName = "Navigation";
468
+ var K = i.createContext(
469
+ null
470
+ );
471
+ K.displayName = "Location";
472
+ var k = i.createContext({
473
+ outlet: null,
474
+ matches: [],
475
+ isDataRoute: !1
476
+ });
477
+ k.displayName = "Route";
478
+ var re = i.createContext(null);
479
+ re.displayName = "RouteError";
480
+ function et(e, { relative: t } = {}) {
481
+ x(
482
+ I(),
483
+ // TODO: This error is probably because they somehow have 2 versions of the
484
+ // router loaded. We can help them understand how to avoid that.
485
+ "useHref() may be used only in the context of a <Router> component."
486
+ );
487
+ let { basename: r, navigator: o } = i.useContext(T), { hash: n, pathname: a, search: s } = H(e, { relative: t }), c = a;
488
+ return r !== "/" && (c = a === "/" ? r : M([r, a])), o.createHref({ pathname: c, search: s, hash: n });
489
+ }
490
+ function I() {
491
+ return i.useContext(K) != null;
492
+ }
493
+ function N() {
494
+ return x(
495
+ I(),
496
+ // TODO: This error is probably because they somehow have 2 versions of the
497
+ // router loaded. We can help them understand how to avoid that.
498
+ "useLocation() may be used only in the context of a <Router> component."
499
+ ), i.useContext(K).location;
500
+ }
501
+ function lr(e) {
502
+ x(
503
+ I(),
504
+ // TODO: This error is probably because they somehow have 2 versions of the
505
+ // router loaded. We can help them understand how to avoid that.
506
+ "useMatch() may be used only in the context of a <Router> component."
507
+ );
508
+ let { pathname: t } = N();
509
+ return i.useMemo(
510
+ () => B(e, ye(t)),
511
+ [t, e]
512
+ );
513
+ }
514
+ var xe = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
515
+ function Re(e) {
516
+ i.useContext(T).static || i.useLayoutEffect(e);
517
+ }
518
+ function ne() {
519
+ let { isDataRoute: e } = i.useContext(k);
520
+ return e ? ht() : tt();
521
+ }
522
+ function tt() {
523
+ x(
524
+ I(),
525
+ // TODO: This error is probably because they somehow have 2 versions of the
526
+ // router loaded. We can help them understand how to avoid that.
527
+ "useNavigate() may be used only in the context of a <Router> component."
528
+ );
529
+ let e = i.useContext(D), { basename: t, navigator: r } = i.useContext(T), { matches: o } = i.useContext(k), { pathname: n } = N(), a = JSON.stringify(Z(o)), s = i.useRef(!1);
530
+ return Re(() => {
531
+ s.current = !0;
532
+ }), i.useCallback(
533
+ (l, u = {}) => {
534
+ if (L(s.current, xe), !s.current) return;
535
+ if (typeof l == "number") {
536
+ r.go(l);
537
+ return;
538
+ }
539
+ let m = ee(
540
+ l,
541
+ JSON.parse(a),
542
+ n,
543
+ u.relative === "path"
544
+ );
545
+ e == null && t !== "/" && (m.pathname = m.pathname === "/" ? t : M([t, m.pathname])), (u.replace ? r.replace : r.push)(
546
+ m,
547
+ u.state,
548
+ u
549
+ );
550
+ },
551
+ [
552
+ t,
553
+ r,
554
+ a,
555
+ n,
556
+ e
557
+ ]
558
+ );
559
+ }
560
+ var rt = i.createContext(null);
561
+ function nt(e) {
562
+ let t = i.useContext(k).outlet;
563
+ return t && /* @__PURE__ */ i.createElement(rt.Provider, { value: e }, t);
564
+ }
565
+ function sr() {
566
+ let { matches: e } = i.useContext(k), t = e[e.length - 1];
567
+ return t ? t.params : {};
568
+ }
569
+ function H(e, { relative: t } = {}) {
570
+ let { matches: r } = i.useContext(k), { pathname: o } = N(), n = JSON.stringify(Z(r));
571
+ return i.useMemo(
572
+ () => ee(
573
+ e,
574
+ JSON.parse(n),
575
+ o,
576
+ t === "path"
577
+ ),
578
+ [e, n, o, t]
579
+ );
580
+ }
581
+ function be(e, t, r, o) {
582
+ x(
583
+ I(),
584
+ // TODO: This error is probably because they somehow have 2 versions of the
585
+ // router loaded. We can help them understand how to avoid that.
586
+ "useRoutes() may be used only in the context of a <Router> component."
587
+ );
588
+ let { navigator: n } = i.useContext(T), { matches: a } = i.useContext(k), s = a[a.length - 1], c = s ? s.params : {}, l = s ? s.pathname : "/", u = s ? s.pathnameBase : "/", m = s && s.route;
589
+ {
590
+ let h = m && m.path || "";
591
+ Se(
592
+ l,
593
+ !m || h.endsWith("*") || h.endsWith("*?"),
594
+ `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${h}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
595
+
596
+ Please change the parent <Route path="${h}"> to <Route path="${h === "/" ? "*" : `${h}/*`}">.`
597
+ );
598
+ }
599
+ let p = N(), f;
600
+ f = p;
601
+ let g = f.pathname || "/", d = g;
602
+ if (u !== "/") {
603
+ let h = u.replace(/^\//, "").split("/");
604
+ d = "/" + g.replace(/^\//, "").split("/").slice(h.length).join("/");
605
+ }
606
+ let v = pe(e, { pathname: d });
607
+ return L(
608
+ m || v != null,
609
+ `No routes matched location "${f.pathname}${f.search}${f.hash}" `
610
+ ), L(
611
+ v == null || v[v.length - 1].route.element !== void 0 || v[v.length - 1].route.Component !== void 0 || v[v.length - 1].route.lazy !== void 0,
612
+ `Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
613
+ ), st(
614
+ v && v.map(
615
+ (h) => Object.assign({}, h, {
616
+ params: Object.assign({}, c, h.params),
617
+ pathname: M([
618
+ u,
619
+ // Re-encode pathnames that were decoded inside matchRoutes
620
+ n.encodeLocation ? n.encodeLocation(h.pathname).pathname : h.pathname
621
+ ]),
622
+ pathnameBase: h.pathnameBase === "/" ? u : M([
623
+ u,
624
+ // Re-encode pathnames that were decoded inside matchRoutes
625
+ n.encodeLocation ? n.encodeLocation(h.pathnameBase).pathname : h.pathnameBase
626
+ ])
627
+ })
628
+ ),
629
+ a,
630
+ r,
631
+ o
632
+ );
633
+ }
634
+ function at() {
635
+ let e = dt(), t = we(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, o = "rgba(200,200,200, 0.5)", n = { padding: "0.5rem", backgroundColor: o }, a = { padding: "2px 4px", backgroundColor: o }, s = null;
636
+ return console.error(
637
+ "Error handled by React Router default ErrorBoundary:",
638
+ e
639
+ ), s = /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ i.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ i.createElement("code", { style: a }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ i.createElement("code", { style: a }, "errorElement"), " prop on your route.")), /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ i.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ i.createElement("pre", { style: n }, r) : null, s);
640
+ }
641
+ var ot = /* @__PURE__ */ i.createElement(at, null), it = class extends i.Component {
642
+ constructor(e) {
643
+ super(e), this.state = {
644
+ location: e.location,
645
+ revalidation: e.revalidation,
646
+ error: e.error
647
+ };
648
+ }
649
+ static getDerivedStateFromError(e) {
650
+ return { error: e };
651
+ }
652
+ static getDerivedStateFromProps(e, t) {
653
+ return t.location !== e.location || t.revalidation !== "idle" && e.revalidation === "idle" ? {
654
+ error: e.error,
655
+ location: e.location,
656
+ revalidation: e.revalidation
657
+ } : {
658
+ error: e.error !== void 0 ? e.error : t.error,
659
+ location: t.location,
660
+ revalidation: e.revalidation || t.revalidation
661
+ };
662
+ }
663
+ componentDidCatch(e, t) {
664
+ console.error(
665
+ "React Router caught the following error during render",
666
+ e,
667
+ t
668
+ );
669
+ }
670
+ render() {
671
+ return this.state.error !== void 0 ? /* @__PURE__ */ i.createElement(k.Provider, { value: this.props.routeContext }, /* @__PURE__ */ i.createElement(
672
+ re.Provider,
673
+ {
674
+ value: this.state.error,
675
+ children: this.props.component
676
+ }
677
+ )) : this.props.children;
678
+ }
679
+ };
680
+ function lt({ routeContext: e, match: t, children: r }) {
681
+ let o = i.useContext(D);
682
+ return o && o.static && o.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (o.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ i.createElement(k.Provider, { value: e }, r);
683
+ }
684
+ function st(e, t = [], r = null, o = null) {
685
+ if (e == null) {
686
+ if (!r)
687
+ return null;
688
+ if (r.errors)
689
+ e = r.matches;
690
+ else if (t.length === 0 && !r.initialized && r.matches.length > 0)
691
+ e = r.matches;
692
+ else
693
+ return null;
694
+ }
695
+ let n = e, a = r?.errors;
696
+ if (a != null) {
697
+ let l = n.findIndex(
698
+ (u) => u.route.id && a?.[u.route.id] !== void 0
699
+ );
700
+ x(
701
+ l >= 0,
702
+ `Could not find a matching route for errors on route IDs: ${Object.keys(
703
+ a
704
+ ).join(",")}`
705
+ ), n = n.slice(
706
+ 0,
707
+ Math.min(n.length, l + 1)
708
+ );
709
+ }
710
+ let s = !1, c = -1;
711
+ if (r)
712
+ for (let l = 0; l < n.length; l++) {
713
+ let u = n[l];
714
+ if ((u.route.HydrateFallback || u.route.hydrateFallbackElement) && (c = l), u.route.id) {
715
+ let { loaderData: m, errors: p } = r, f = u.route.loader && !m.hasOwnProperty(u.route.id) && (!p || p[u.route.id] === void 0);
716
+ if (u.route.lazy || f) {
717
+ s = !0, c >= 0 ? n = n.slice(0, c + 1) : n = [n[0]];
718
+ break;
719
+ }
720
+ }
721
+ }
722
+ return n.reduceRight((l, u, m) => {
723
+ let p, f = !1, g = null, d = null;
724
+ r && (p = a && u.route.id ? a[u.route.id] : void 0, g = u.route.errorElement || ot, s && (c < 0 && m === 0 ? (Se(
725
+ "route-fallback",
726
+ !1,
727
+ "No `HydrateFallback` element provided to render during initial hydration"
728
+ ), f = !0, d = null) : c === m && (f = !0, d = u.route.hydrateFallbackElement || null)));
729
+ let v = t.concat(n.slice(0, m + 1)), E = () => {
730
+ let h;
731
+ return p ? h = g : f ? h = d : u.route.Component ? h = /* @__PURE__ */ i.createElement(u.route.Component, null) : u.route.element ? h = u.route.element : h = l, /* @__PURE__ */ i.createElement(
732
+ lt,
733
+ {
734
+ match: u,
735
+ routeContext: {
736
+ outlet: l,
737
+ matches: v,
738
+ isDataRoute: r != null
739
+ },
740
+ children: h
741
+ }
742
+ );
743
+ };
744
+ return r && (u.route.ErrorBoundary || u.route.errorElement || m === 0) ? /* @__PURE__ */ i.createElement(
745
+ it,
746
+ {
747
+ location: r.location,
748
+ revalidation: r.revalidation,
749
+ component: g,
750
+ error: p,
751
+ children: E(),
752
+ routeContext: { outlet: null, matches: v, isDataRoute: !0 }
753
+ }
754
+ ) : E();
755
+ }, null);
756
+ }
757
+ function ae(e) {
758
+ return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
759
+ }
760
+ function ut(e) {
761
+ let t = i.useContext(D);
762
+ return x(t, ae(e)), t;
763
+ }
764
+ function Ce(e) {
765
+ let t = i.useContext(_);
766
+ return x(t, ae(e)), t;
767
+ }
768
+ function ct(e) {
769
+ let t = i.useContext(k);
770
+ return x(t, ae(e)), t;
771
+ }
772
+ function oe(e) {
773
+ let t = ct(e), r = t.matches[t.matches.length - 1];
774
+ return x(
775
+ r.route.id,
776
+ `${e} can only be used on routes that contain a unique "id"`
777
+ ), r.route.id;
778
+ }
779
+ function ft() {
780
+ return oe(
781
+ "useRouteId"
782
+ /* UseRouteId */
783
+ );
784
+ }
785
+ function ur() {
786
+ return Ce(
787
+ "useNavigation"
788
+ /* UseNavigation */
789
+ ).navigation;
790
+ }
791
+ function dt() {
792
+ let e = i.useContext(re), t = Ce(
793
+ "useRouteError"
794
+ /* UseRouteError */
795
+ ), r = oe(
796
+ "useRouteError"
797
+ /* UseRouteError */
798
+ );
799
+ return e !== void 0 ? e : t.errors?.[r];
800
+ }
801
+ function ht() {
802
+ let { router: e } = ut(
803
+ "useNavigate"
804
+ /* UseNavigateStable */
805
+ ), t = oe(
806
+ "useNavigate"
807
+ /* UseNavigateStable */
808
+ ), r = i.useRef(!1);
809
+ return Re(() => {
810
+ r.current = !0;
811
+ }), i.useCallback(
812
+ async (n, a = {}) => {
813
+ L(r.current, xe), r.current && (typeof n == "number" ? e.navigate(n) : await e.navigate(n, { fromRouteId: t, ...a }));
814
+ },
815
+ [e, t]
816
+ );
817
+ }
818
+ var fe = {};
819
+ function Se(e, t, r) {
820
+ !t && !fe[e] && (fe[e] = !0, L(!1, r));
821
+ }
822
+ var de = {};
823
+ function he(e, t) {
824
+ !e && !de[t] && (de[t] = !0, console.warn(t));
825
+ }
826
+ var mt = class {
827
+ constructor() {
828
+ this.status = "pending", this.promise = new Promise((e, t) => {
829
+ this.resolve = (r) => {
830
+ this.status === "pending" && (this.status = "resolved", e(r));
831
+ }, this.reject = (r) => {
832
+ this.status === "pending" && (this.status = "rejected", t(r));
833
+ };
834
+ });
835
+ }
836
+ };
837
+ function cr({
838
+ router: e,
839
+ flushSync: t
840
+ }) {
841
+ let [r, o] = i.useState(e.state), [n, a] = i.useState(), [s, c] = i.useState({
842
+ isTransitioning: !1
843
+ }), [l, u] = i.useState(), [m, p] = i.useState(), [f, g] = i.useState(), d = i.useRef(/* @__PURE__ */ new Map()), v = i.useCallback(
844
+ (y, { deletedFetchers: b, flushSync: R, viewTransitionOpts: C }) => {
845
+ y.fetchers.forEach((S, P) => {
846
+ S.data !== void 0 && d.current.set(P, S.data);
847
+ }), b.forEach((S) => d.current.delete(S)), he(
848
+ R === !1 || t != null,
849
+ 'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.'
850
+ );
851
+ let $ = e.window != null && e.window.document != null && typeof e.window.document.startViewTransition == "function";
852
+ if (he(
853
+ C == null || $,
854
+ "You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."
855
+ ), !C || !$) {
856
+ t && R ? t(() => o(y)) : i.startTransition(() => o(y));
857
+ return;
858
+ }
859
+ if (t && R) {
860
+ t(() => {
861
+ m && (l && l.resolve(), m.skipTransition()), c({
862
+ isTransitioning: !0,
863
+ flushSync: !0,
864
+ currentLocation: C.currentLocation,
865
+ nextLocation: C.nextLocation
866
+ });
867
+ });
868
+ let S = e.window.document.startViewTransition(() => {
869
+ t(() => o(y));
870
+ });
871
+ S.finished.finally(() => {
872
+ t(() => {
873
+ u(void 0), p(void 0), a(void 0), c({ isTransitioning: !1 });
874
+ });
875
+ }), t(() => p(S));
876
+ return;
877
+ }
878
+ m ? (l && l.resolve(), m.skipTransition(), g({
879
+ state: y,
880
+ currentLocation: C.currentLocation,
881
+ nextLocation: C.nextLocation
882
+ })) : (a(y), c({
883
+ isTransitioning: !0,
884
+ flushSync: !1,
885
+ currentLocation: C.currentLocation,
886
+ nextLocation: C.nextLocation
887
+ }));
888
+ },
889
+ [e.window, t, m, l]
890
+ );
891
+ i.useLayoutEffect(() => e.subscribe(v), [e, v]), i.useEffect(() => {
892
+ s.isTransitioning && !s.flushSync && u(new mt());
893
+ }, [s]), i.useEffect(() => {
894
+ if (l && n && e.window) {
895
+ let y = n, b = l.promise, R = e.window.document.startViewTransition(async () => {
896
+ i.startTransition(() => o(y)), await b;
897
+ });
898
+ R.finished.finally(() => {
899
+ u(void 0), p(void 0), a(void 0), c({ isTransitioning: !1 });
900
+ }), p(R);
901
+ }
902
+ }, [n, l, e.window]), i.useEffect(() => {
903
+ l && n && r.location.key === n.location.key && l.resolve();
904
+ }, [l, m, r.location, n]), i.useEffect(() => {
905
+ !s.isTransitioning && f && (a(f.state), c({
906
+ isTransitioning: !0,
907
+ flushSync: !1,
908
+ currentLocation: f.currentLocation,
909
+ nextLocation: f.nextLocation
910
+ }), g(void 0));
911
+ }, [s.isTransitioning, f]);
912
+ let E = i.useMemo(() => ({
913
+ createHref: e.createHref,
914
+ encodeLocation: e.encodeLocation,
915
+ go: (y) => e.navigate(y),
916
+ push: (y, b, R) => e.navigate(y, {
917
+ state: b,
918
+ preventScrollReset: R?.preventScrollReset
919
+ }),
920
+ replace: (y, b, R) => e.navigate(y, {
921
+ replace: !0,
922
+ state: b,
923
+ preventScrollReset: R?.preventScrollReset
924
+ })
925
+ }), [e]), h = e.basename || "/", w = i.useMemo(
926
+ () => ({
927
+ router: e,
928
+ navigator: E,
929
+ static: !1,
930
+ basename: h
931
+ }),
932
+ [e, E, h]
933
+ );
934
+ return /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(D.Provider, { value: w }, /* @__PURE__ */ i.createElement(_.Provider, { value: r }, /* @__PURE__ */ i.createElement(te.Provider, { value: d.current }, /* @__PURE__ */ i.createElement(J.Provider, { value: s }, /* @__PURE__ */ i.createElement(
935
+ Pe,
936
+ {
937
+ basename: h,
938
+ location: r.location,
939
+ navigationType: r.historyAction,
940
+ navigator: E
941
+ },
942
+ /* @__PURE__ */ i.createElement(
943
+ pt,
944
+ {
945
+ routes: e.routes,
946
+ future: e.future,
947
+ state: r
948
+ }
949
+ )
950
+ ))))), null);
951
+ }
952
+ var pt = i.memo(gt);
953
+ function gt({
954
+ routes: e,
955
+ future: t,
956
+ state: r
957
+ }) {
958
+ return be(e, void 0, r, t);
959
+ }
960
+ function fr({
961
+ to: e,
962
+ replace: t,
963
+ state: r,
964
+ relative: o
965
+ }) {
966
+ x(
967
+ I(),
968
+ // TODO: This error is probably because they somehow have 2 versions of
969
+ // the router loaded. We can help them understand how to avoid that.
970
+ "<Navigate> may be used only in the context of a <Router> component."
971
+ );
972
+ let { static: n } = i.useContext(T);
973
+ L(
974
+ !n,
975
+ "<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change."
976
+ );
977
+ let { matches: a } = i.useContext(k), { pathname: s } = N(), c = ne(), l = ee(
978
+ e,
979
+ Z(a),
980
+ s,
981
+ o === "path"
982
+ ), u = JSON.stringify(l);
983
+ return i.useEffect(() => {
984
+ c(JSON.parse(u), { replace: t, state: r, relative: o });
985
+ }, [c, u, o, t, r]), null;
986
+ }
987
+ function dr(e) {
988
+ return nt(e.context);
989
+ }
990
+ function Pe({
991
+ basename: e = "/",
992
+ children: t = null,
993
+ location: r,
994
+ navigationType: o = "POP",
995
+ navigator: n,
996
+ static: a = !1
997
+ }) {
998
+ x(
999
+ !I(),
1000
+ "You cannot render a <Router> inside another <Router>. You should never have more than one in your app."
1001
+ );
1002
+ let s = e.replace(/^\/*/, "/"), c = i.useMemo(
1003
+ () => ({
1004
+ basename: s,
1005
+ navigator: n,
1006
+ static: a,
1007
+ future: {}
1008
+ }),
1009
+ [s, n, a]
1010
+ );
1011
+ typeof r == "string" && (r = Y(r));
1012
+ let {
1013
+ pathname: l = "/",
1014
+ search: u = "",
1015
+ hash: m = "",
1016
+ state: p = null,
1017
+ key: f = "default"
1018
+ } = r, g = i.useMemo(() => {
1019
+ let d = A(l, s);
1020
+ return d == null ? null : {
1021
+ location: {
1022
+ pathname: d,
1023
+ search: u,
1024
+ hash: m,
1025
+ state: p,
1026
+ key: f
1027
+ },
1028
+ navigationType: o
1029
+ };
1030
+ }, [s, l, u, m, p, f, o]);
1031
+ return L(
1032
+ g != null,
1033
+ `<Router basename="${s}"> is not able to match the URL "${l}${u}${m}" because it does not start with the basename, so the <Router> won't render anything.`
1034
+ ), g == null ? null : /* @__PURE__ */ i.createElement(T.Provider, { value: c }, /* @__PURE__ */ i.createElement(K.Provider, { children: t, value: g }));
1035
+ }
1036
+ var z = "get", V = "application/x-www-form-urlencoded";
1037
+ function q(e) {
1038
+ return e != null && typeof e.tagName == "string";
1039
+ }
1040
+ function vt(e) {
1041
+ return q(e) && e.tagName.toLowerCase() === "button";
1042
+ }
1043
+ function yt(e) {
1044
+ return q(e) && e.tagName.toLowerCase() === "form";
1045
+ }
1046
+ function wt(e) {
1047
+ return q(e) && e.tagName.toLowerCase() === "input";
1048
+ }
1049
+ function Et(e) {
1050
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1051
+ }
1052
+ function xt(e, t) {
1053
+ return e.button === 0 && // Ignore everything but left clicks
1054
+ (!t || t === "_self") && // Let browser handle "target=_blank" etc.
1055
+ !Et(e);
1056
+ }
1057
+ function Q(e = "") {
1058
+ return new URLSearchParams(
1059
+ typeof e == "string" || Array.isArray(e) || e instanceof URLSearchParams ? e : Object.keys(e).reduce((t, r) => {
1060
+ let o = e[r];
1061
+ return t.concat(
1062
+ Array.isArray(o) ? o.map((n) => [r, n]) : [[r, o]]
1063
+ );
1064
+ }, [])
1065
+ );
1066
+ }
1067
+ function Rt(e, t) {
1068
+ let r = Q(e);
1069
+ return t && t.forEach((o, n) => {
1070
+ r.has(n) || t.getAll(n).forEach((a) => {
1071
+ r.append(n, a);
1072
+ });
1073
+ }), r;
1074
+ }
1075
+ var j = null;
1076
+ function bt() {
1077
+ if (j === null)
1078
+ try {
1079
+ new FormData(
1080
+ document.createElement("form"),
1081
+ // @ts-expect-error if FormData supports the submitter parameter, this will throw
1082
+ 0
1083
+ ), j = !1;
1084
+ } catch {
1085
+ j = !0;
1086
+ }
1087
+ return j;
1088
+ }
1089
+ var Ct = /* @__PURE__ */ new Set([
1090
+ "application/x-www-form-urlencoded",
1091
+ "multipart/form-data",
1092
+ "text/plain"
1093
+ ]);
1094
+ function X(e) {
1095
+ return e != null && !Ct.has(e) ? (L(
1096
+ !1,
1097
+ `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${V}"`
1098
+ ), null) : e;
1099
+ }
1100
+ function St(e, t) {
1101
+ let r, o, n, a, s;
1102
+ if (yt(e)) {
1103
+ let c = e.getAttribute("action");
1104
+ o = c ? A(c, t) : null, r = e.getAttribute("method") || z, n = X(e.getAttribute("enctype")) || V, a = new FormData(e);
1105
+ } else if (vt(e) || wt(e) && (e.type === "submit" || e.type === "image")) {
1106
+ let c = e.form;
1107
+ if (c == null)
1108
+ throw new Error(
1109
+ 'Cannot submit a <button> or <input type="submit"> without a <form>'
1110
+ );
1111
+ let l = e.getAttribute("formaction") || c.getAttribute("action");
1112
+ if (o = l ? A(l, t) : null, r = e.getAttribute("formmethod") || c.getAttribute("method") || z, n = X(e.getAttribute("formenctype")) || X(c.getAttribute("enctype")) || V, a = new FormData(c, e), !bt()) {
1113
+ let { name: u, type: m, value: p } = e;
1114
+ if (m === "image") {
1115
+ let f = u ? `${u}.` : "";
1116
+ a.append(`${f}x`, "0"), a.append(`${f}y`, "0");
1117
+ } else u && a.append(u, p);
1118
+ }
1119
+ } else {
1120
+ if (q(e))
1121
+ throw new Error(
1122
+ 'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
1123
+ );
1124
+ r = z, o = null, n = V, s = e;
1125
+ }
1126
+ return a && n === "text/plain" && (s = a, a = void 0), { action: o, method: r.toLowerCase(), encType: n, formData: a, body: s };
1127
+ }
1128
+ function ie(e, t) {
1129
+ if (e === !1 || e === null || typeof e > "u")
1130
+ throw new Error(t);
1131
+ }
1132
+ async function Pt(e, t) {
1133
+ if (e.id in t)
1134
+ return t[e.id];
1135
+ try {
1136
+ let r = await import(
1137
+ /* @vite-ignore */
1138
+ /* webpackIgnore: true */
1139
+ e.module
1140
+ );
1141
+ return t[e.id] = r, r;
1142
+ } catch (r) {
1143
+ return console.error(
1144
+ `Error loading route module \`${e.module}\`, reloading page...`
1145
+ ), console.error(r), window.__reactRouterContext && window.__reactRouterContext.isSpaMode, window.location.reload(), new Promise(() => {
1146
+ });
1147
+ }
1148
+ }
1149
+ function Lt(e) {
1150
+ return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
1151
+ }
1152
+ async function kt(e, t, r) {
1153
+ let o = await Promise.all(
1154
+ e.map(async (n) => {
1155
+ let a = t.routes[n.route.id];
1156
+ if (a) {
1157
+ let s = await Pt(a, r);
1158
+ return s.links ? s.links() : [];
1159
+ }
1160
+ return [];
1161
+ })
1162
+ );
1163
+ return Mt(
1164
+ o.flat(1).filter(Lt).filter((n) => n.rel === "stylesheet" || n.rel === "preload").map(
1165
+ (n) => n.rel === "stylesheet" ? { ...n, rel: "prefetch", as: "style" } : { ...n, rel: "prefetch" }
1166
+ )
1167
+ );
1168
+ }
1169
+ function me(e, t, r, o, n, a) {
1170
+ let s = (l, u) => r[u] ? l.route.id !== r[u].route.id : !0, c = (l, u) => (
1171
+ // param change, /users/123 -> /users/456
1172
+ r[u].pathname !== l.pathname || // splat param changed, which is not present in match.path
1173
+ // e.g. /files/images/avatar.jpg -> files/finances.xls
1174
+ r[u].route.path?.endsWith("*") && r[u].params["*"] !== l.params["*"]
1175
+ );
1176
+ return a === "assets" ? t.filter(
1177
+ (l, u) => s(l, u) || c(l, u)
1178
+ ) : a === "data" ? t.filter((l, u) => {
1179
+ let m = o.routes[l.route.id];
1180
+ if (!m || !m.hasLoader)
1181
+ return !1;
1182
+ if (s(l, u) || c(l, u))
1183
+ return !0;
1184
+ if (l.route.shouldRevalidate) {
1185
+ let p = l.route.shouldRevalidate({
1186
+ currentUrl: new URL(
1187
+ n.pathname + n.search + n.hash,
1188
+ window.origin
1189
+ ),
1190
+ currentParams: r[0]?.params || {},
1191
+ nextUrl: new URL(e, window.origin),
1192
+ nextParams: l.params,
1193
+ defaultShouldRevalidate: !0
1194
+ });
1195
+ if (typeof p == "boolean")
1196
+ return p;
1197
+ }
1198
+ return !0;
1199
+ }) : [];
1200
+ }
1201
+ function $t(e, t, { includeHydrateFallback: r } = {}) {
1202
+ return Tt(
1203
+ e.map((o) => {
1204
+ let n = t.routes[o.route.id];
1205
+ if (!n) return [];
1206
+ let a = [n.module];
1207
+ return n.clientActionModule && (a = a.concat(n.clientActionModule)), n.clientLoaderModule && (a = a.concat(n.clientLoaderModule)), r && n.hydrateFallbackModule && (a = a.concat(n.hydrateFallbackModule)), n.imports && (a = a.concat(n.imports)), a;
1208
+ }).flat(1)
1209
+ );
1210
+ }
1211
+ function Tt(e) {
1212
+ return [...new Set(e)];
1213
+ }
1214
+ function Nt(e) {
1215
+ let t = {}, r = Object.keys(e).sort();
1216
+ for (let o of r)
1217
+ t[o] = e[o];
1218
+ return t;
1219
+ }
1220
+ function Mt(e, t) {
1221
+ let r = /* @__PURE__ */ new Set();
1222
+ return new Set(t), e.reduce((o, n) => {
1223
+ let a = JSON.stringify(Nt(n));
1224
+ return r.has(a) || (r.add(a), o.push({ key: a, link: n })), o;
1225
+ }, []);
1226
+ }
1227
+ Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
1228
+ var At = /* @__PURE__ */ new Set([100, 101, 204, 205]);
1229
+ function Ot(e, t) {
1230
+ let r = typeof e == "string" ? new URL(
1231
+ e,
1232
+ // This can be called during the SSR flow via PrefetchPageLinksImpl so
1233
+ // don't assume window is available
1234
+ typeof window > "u" ? "server://singlefetch/" : window.location.origin
1235
+ ) : e;
1236
+ return r.pathname === "/" ? r.pathname = "_root.data" : t && A(r.pathname, t) === "/" ? r.pathname = `${t.replace(/\/$/, "")}/_root.data` : r.pathname = `${r.pathname.replace(/\/$/, "")}.data`, r;
1237
+ }
1238
+ function Le() {
1239
+ let e = i.useContext(D);
1240
+ return ie(
1241
+ e,
1242
+ "You must render this element inside a <DataRouterContext.Provider> element"
1243
+ ), e;
1244
+ }
1245
+ function Dt() {
1246
+ let e = i.useContext(_);
1247
+ return ie(
1248
+ e,
1249
+ "You must render this element inside a <DataRouterStateContext.Provider> element"
1250
+ ), e;
1251
+ }
1252
+ var le = i.createContext(void 0);
1253
+ le.displayName = "FrameworkContext";
1254
+ function ke() {
1255
+ let e = i.useContext(le);
1256
+ return ie(
1257
+ e,
1258
+ "You must render this element inside a <HydratedRouter> element"
1259
+ ), e;
1260
+ }
1261
+ function It(e, t) {
1262
+ let r = i.useContext(le), [o, n] = i.useState(!1), [a, s] = i.useState(!1), { onFocus: c, onBlur: l, onMouseEnter: u, onMouseLeave: m, onTouchStart: p } = t, f = i.useRef(null);
1263
+ i.useEffect(() => {
1264
+ if (e === "render" && s(!0), e === "viewport") {
1265
+ let v = (h) => {
1266
+ h.forEach((w) => {
1267
+ s(w.isIntersecting);
1268
+ });
1269
+ }, E = new IntersectionObserver(v, { threshold: 0.5 });
1270
+ return f.current && E.observe(f.current), () => {
1271
+ E.disconnect();
1272
+ };
1273
+ }
1274
+ }, [e]), i.useEffect(() => {
1275
+ if (o) {
1276
+ let v = setTimeout(() => {
1277
+ s(!0);
1278
+ }, 100);
1279
+ return () => {
1280
+ clearTimeout(v);
1281
+ };
1282
+ }
1283
+ }, [o]);
1284
+ let g = () => {
1285
+ n(!0);
1286
+ }, d = () => {
1287
+ n(!1), s(!1);
1288
+ };
1289
+ return r ? e !== "intent" ? [a, f, {}] : [
1290
+ a,
1291
+ f,
1292
+ {
1293
+ onFocus: U(c, g),
1294
+ onBlur: U(l, d),
1295
+ onMouseEnter: U(u, g),
1296
+ onMouseLeave: U(m, d),
1297
+ onTouchStart: U(p, g)
1298
+ }
1299
+ ] : [!1, f, {}];
1300
+ }
1301
+ function U(e, t) {
1302
+ return (r) => {
1303
+ e && e(r), r.defaultPrevented || t(r);
1304
+ };
1305
+ }
1306
+ function _t({
1307
+ page: e,
1308
+ ...t
1309
+ }) {
1310
+ let { router: r } = Le(), o = i.useMemo(
1311
+ () => pe(r.routes, e, r.basename),
1312
+ [r.routes, e, r.basename]
1313
+ );
1314
+ return o ? /* @__PURE__ */ i.createElement(Ut, { page: e, matches: o, ...t }) : null;
1315
+ }
1316
+ function Ft(e) {
1317
+ let { manifest: t, routeModules: r } = ke(), [o, n] = i.useState([]);
1318
+ return i.useEffect(() => {
1319
+ let a = !1;
1320
+ return kt(e, t, r).then(
1321
+ (s) => {
1322
+ a || n(s);
1323
+ }
1324
+ ), () => {
1325
+ a = !0;
1326
+ };
1327
+ }, [e, t, r]), o;
1328
+ }
1329
+ function Ut({
1330
+ page: e,
1331
+ matches: t,
1332
+ ...r
1333
+ }) {
1334
+ let o = N(), { manifest: n, routeModules: a } = ke(), { basename: s } = Le(), { loaderData: c, matches: l } = Dt(), u = i.useMemo(
1335
+ () => me(
1336
+ e,
1337
+ t,
1338
+ l,
1339
+ n,
1340
+ o,
1341
+ "data"
1342
+ ),
1343
+ [e, t, l, n, o]
1344
+ ), m = i.useMemo(
1345
+ () => me(
1346
+ e,
1347
+ t,
1348
+ l,
1349
+ n,
1350
+ o,
1351
+ "assets"
1352
+ ),
1353
+ [e, t, l, n, o]
1354
+ ), p = i.useMemo(() => {
1355
+ if (e === o.pathname + o.search + o.hash)
1356
+ return [];
1357
+ let d = /* @__PURE__ */ new Set(), v = !1;
1358
+ if (t.forEach((h) => {
1359
+ let w = n.routes[h.route.id];
1360
+ !w || !w.hasLoader || (!u.some((y) => y.route.id === h.route.id) && h.route.id in c && a[h.route.id]?.shouldRevalidate || w.hasClientLoader ? v = !0 : d.add(h.route.id));
1361
+ }), d.size === 0)
1362
+ return [];
1363
+ let E = Ot(e, s);
1364
+ return v && d.size > 0 && E.searchParams.set(
1365
+ "_routes",
1366
+ t.filter((h) => d.has(h.route.id)).map((h) => h.route.id).join(",")
1367
+ ), [E.pathname + E.search];
1368
+ }, [
1369
+ s,
1370
+ c,
1371
+ o,
1372
+ n,
1373
+ u,
1374
+ t,
1375
+ e,
1376
+ a
1377
+ ]), f = i.useMemo(
1378
+ () => $t(m, n),
1379
+ [m, n]
1380
+ ), g = Ft(m);
1381
+ return /* @__PURE__ */ i.createElement(i.Fragment, null, p.map((d) => /* @__PURE__ */ i.createElement("link", { key: d, rel: "prefetch", as: "fetch", href: d, ...r })), f.map((d) => /* @__PURE__ */ i.createElement("link", { key: d, rel: "modulepreload", href: d, ...r })), g.map(({ key: d, link: v }) => (
1382
+ // these don't spread `linkProps` because they are full link descriptors
1383
+ // already with their own props
1384
+ /* @__PURE__ */ i.createElement("link", { key: d, ...v })
1385
+ )));
1386
+ }
1387
+ function Wt(...e) {
1388
+ return (t) => {
1389
+ e.forEach((r) => {
1390
+ typeof r == "function" ? r(t) : r != null && (r.current = t);
1391
+ });
1392
+ };
1393
+ }
1394
+ var $e = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
1395
+ try {
1396
+ $e && (window.__reactRouterVersion = "7.6.3");
1397
+ } catch {
1398
+ }
1399
+ var Te = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ne = i.forwardRef(
1400
+ function({
1401
+ onClick: t,
1402
+ discover: r = "render",
1403
+ prefetch: o = "none",
1404
+ relative: n,
1405
+ reloadDocument: a,
1406
+ replace: s,
1407
+ state: c,
1408
+ target: l,
1409
+ to: u,
1410
+ preventScrollReset: m,
1411
+ viewTransition: p,
1412
+ ...f
1413
+ }, g) {
1414
+ let { basename: d } = i.useContext(T), v = typeof u == "string" && Te.test(u), E, h = !1;
1415
+ if (typeof u == "string" && v && (E = u, $e))
1416
+ try {
1417
+ let P = new URL(window.location.href), O = u.startsWith("//") ? new URL(P.protocol + u) : new URL(u), se = A(O.pathname, d);
1418
+ O.origin === P.origin && se != null ? u = se + O.search + O.hash : h = !0;
1419
+ } catch {
1420
+ L(
1421
+ !1,
1422
+ `<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1423
+ );
1424
+ }
1425
+ let w = et(u, { relative: n }), [y, b, R] = It(
1426
+ o,
1427
+ f
1428
+ ), C = zt(u, {
1429
+ replace: s,
1430
+ state: c,
1431
+ target: l,
1432
+ preventScrollReset: m,
1433
+ relative: n,
1434
+ viewTransition: p
1435
+ });
1436
+ function $(P) {
1437
+ t && t(P), P.defaultPrevented || C(P);
1438
+ }
1439
+ let S = (
1440
+ // eslint-disable-next-line jsx-a11y/anchor-has-content
1441
+ /* @__PURE__ */ i.createElement(
1442
+ "a",
1443
+ {
1444
+ ...f,
1445
+ ...R,
1446
+ href: E || w,
1447
+ onClick: h || a ? t : $,
1448
+ ref: Wt(g, b),
1449
+ target: l,
1450
+ "data-discover": !v && r === "render" ? "true" : void 0
1451
+ }
1452
+ )
1453
+ );
1454
+ return y && !v ? /* @__PURE__ */ i.createElement(i.Fragment, null, S, /* @__PURE__ */ i.createElement(_t, { page: w })) : S;
1455
+ }
1456
+ );
1457
+ Ne.displayName = "Link";
1458
+ var Bt = i.forwardRef(
1459
+ function({
1460
+ "aria-current": t = "page",
1461
+ caseSensitive: r = !1,
1462
+ className: o = "",
1463
+ end: n = !1,
1464
+ style: a,
1465
+ to: s,
1466
+ viewTransition: c,
1467
+ children: l,
1468
+ ...u
1469
+ }, m) {
1470
+ let p = H(s, { relative: u.relative }), f = N(), g = i.useContext(_), { navigator: d, basename: v } = i.useContext(T), E = g != null && // Conditional usage is OK here because the usage of a data router is static
1471
+ // eslint-disable-next-line react-hooks/rules-of-hooks
1472
+ qt(p) && c === !0, h = d.encodeLocation ? d.encodeLocation(p).pathname : p.pathname, w = f.pathname, y = g && g.navigation && g.navigation.location ? g.navigation.location.pathname : null;
1473
+ r || (w = w.toLowerCase(), y = y ? y.toLowerCase() : null, h = h.toLowerCase()), y && v && (y = A(y, v) || y);
1474
+ const b = h !== "/" && h.endsWith("/") ? h.length - 1 : h.length;
1475
+ let R = w === h || !n && w.startsWith(h) && w.charAt(b) === "/", C = y != null && (y === h || !n && y.startsWith(h) && y.charAt(h.length) === "/"), $ = {
1476
+ isActive: R,
1477
+ isPending: C,
1478
+ isTransitioning: E
1479
+ }, S = R ? t : void 0, P;
1480
+ typeof o == "function" ? P = o($) : P = [
1481
+ o,
1482
+ R ? "active" : null,
1483
+ C ? "pending" : null,
1484
+ E ? "transitioning" : null
1485
+ ].filter(Boolean).join(" ");
1486
+ let O = typeof a == "function" ? a($) : a;
1487
+ return /* @__PURE__ */ i.createElement(
1488
+ Ne,
1489
+ {
1490
+ ...u,
1491
+ "aria-current": S,
1492
+ className: P,
1493
+ ref: m,
1494
+ style: O,
1495
+ to: s,
1496
+ viewTransition: c
1497
+ },
1498
+ typeof l == "function" ? l($) : l
1499
+ );
1500
+ }
1501
+ );
1502
+ Bt.displayName = "NavLink";
1503
+ var Ht = i.forwardRef(
1504
+ ({
1505
+ discover: e = "render",
1506
+ fetcherKey: t,
1507
+ navigate: r,
1508
+ reloadDocument: o,
1509
+ replace: n,
1510
+ state: a,
1511
+ method: s = z,
1512
+ action: c,
1513
+ onSubmit: l,
1514
+ relative: u,
1515
+ preventScrollReset: m,
1516
+ viewTransition: p,
1517
+ ...f
1518
+ }, g) => {
1519
+ let d = Jt(), v = Kt(c, { relative: u }), E = s.toLowerCase() === "get" ? "get" : "post", h = typeof c == "string" && Te.test(c), w = (y) => {
1520
+ if (l && l(y), y.defaultPrevented) return;
1521
+ y.preventDefault();
1522
+ let b = y.nativeEvent.submitter, R = b?.getAttribute("formmethod") || s;
1523
+ d(b || y.currentTarget, {
1524
+ fetcherKey: t,
1525
+ method: R,
1526
+ navigate: r,
1527
+ replace: n,
1528
+ state: a,
1529
+ relative: u,
1530
+ preventScrollReset: m,
1531
+ viewTransition: p
1532
+ });
1533
+ };
1534
+ return /* @__PURE__ */ i.createElement(
1535
+ "form",
1536
+ {
1537
+ ref: g,
1538
+ method: E,
1539
+ action: v,
1540
+ onSubmit: o ? l : w,
1541
+ ...f,
1542
+ "data-discover": !h && e === "render" ? "true" : void 0
1543
+ }
1544
+ );
1545
+ }
1546
+ );
1547
+ Ht.displayName = "Form";
1548
+ function jt(e) {
1549
+ return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1550
+ }
1551
+ function Me(e) {
1552
+ let t = i.useContext(D);
1553
+ return x(t, jt(e)), t;
1554
+ }
1555
+ function zt(e, {
1556
+ target: t,
1557
+ replace: r,
1558
+ state: o,
1559
+ preventScrollReset: n,
1560
+ relative: a,
1561
+ viewTransition: s
1562
+ } = {}) {
1563
+ let c = ne(), l = N(), u = H(e, { relative: a });
1564
+ return i.useCallback(
1565
+ (m) => {
1566
+ if (xt(m, t)) {
1567
+ m.preventDefault();
1568
+ let p = r !== void 0 ? r : W(l) === W(u);
1569
+ c(e, {
1570
+ replace: p,
1571
+ state: o,
1572
+ preventScrollReset: n,
1573
+ relative: a,
1574
+ viewTransition: s
1575
+ });
1576
+ }
1577
+ },
1578
+ [
1579
+ l,
1580
+ c,
1581
+ u,
1582
+ r,
1583
+ o,
1584
+ t,
1585
+ e,
1586
+ n,
1587
+ a,
1588
+ s
1589
+ ]
1590
+ );
1591
+ }
1592
+ function hr(e) {
1593
+ L(
1594
+ typeof URLSearchParams < "u",
1595
+ "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params."
1596
+ );
1597
+ let t = i.useRef(Q(e)), r = i.useRef(!1), o = N(), n = i.useMemo(
1598
+ () => (
1599
+ // Only merge in the defaults if we haven't yet called setSearchParams.
1600
+ // Once we call that we want those to take precedence, otherwise you can't
1601
+ // remove a param with setSearchParams({}) if it has an initial value
1602
+ Rt(
1603
+ o.search,
1604
+ r.current ? null : t.current
1605
+ )
1606
+ ),
1607
+ [o.search]
1608
+ ), a = ne(), s = i.useCallback(
1609
+ (c, l) => {
1610
+ const u = Q(
1611
+ typeof c == "function" ? c(n) : c
1612
+ );
1613
+ r.current = !0, a("?" + u, l);
1614
+ },
1615
+ [a, n]
1616
+ );
1617
+ return [n, s];
1618
+ }
1619
+ var Vt = 0, Yt = () => `__${String(++Vt)}__`;
1620
+ function Jt() {
1621
+ let { router: e } = Me(
1622
+ "useSubmit"
1623
+ /* UseSubmit */
1624
+ ), { basename: t } = i.useContext(T), r = ft();
1625
+ return i.useCallback(
1626
+ async (o, n = {}) => {
1627
+ let { action: a, method: s, encType: c, formData: l, body: u } = St(
1628
+ o,
1629
+ t
1630
+ );
1631
+ if (n.navigate === !1) {
1632
+ let m = n.fetcherKey || Yt();
1633
+ await e.fetch(m, r, n.action || a, {
1634
+ preventScrollReset: n.preventScrollReset,
1635
+ formData: l,
1636
+ body: u,
1637
+ formMethod: n.method || s,
1638
+ formEncType: n.encType || c,
1639
+ flushSync: n.flushSync
1640
+ });
1641
+ } else
1642
+ await e.navigate(n.action || a, {
1643
+ preventScrollReset: n.preventScrollReset,
1644
+ formData: l,
1645
+ body: u,
1646
+ formMethod: n.method || s,
1647
+ formEncType: n.encType || c,
1648
+ replace: n.replace,
1649
+ state: n.state,
1650
+ fromRouteId: r,
1651
+ flushSync: n.flushSync,
1652
+ viewTransition: n.viewTransition
1653
+ });
1654
+ },
1655
+ [e, t, r]
1656
+ );
1657
+ }
1658
+ function Kt(e, { relative: t } = {}) {
1659
+ let { basename: r } = i.useContext(T), o = i.useContext(k);
1660
+ x(o, "useFormAction must be used inside a RouteContext");
1661
+ let [n] = o.matches.slice(-1), a = { ...H(e || ".", { relative: t }) }, s = N();
1662
+ if (e == null) {
1663
+ a.search = s.search;
1664
+ let c = new URLSearchParams(a.search), l = c.getAll("index");
1665
+ if (l.some((m) => m === "")) {
1666
+ c.delete("index"), l.filter((p) => p).forEach((p) => c.append("index", p));
1667
+ let m = c.toString();
1668
+ a.search = m ? `?${m}` : "";
1669
+ }
1670
+ }
1671
+ return (!e || e === ".") && n.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (a.pathname = a.pathname === "/" ? r : M([r, a.pathname])), W(a);
1672
+ }
1673
+ function qt(e, t = {}) {
1674
+ let r = i.useContext(J);
1675
+ x(
1676
+ r != null,
1677
+ "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
1678
+ );
1679
+ let { basename: o } = Me(
1680
+ "useViewTransitionState"
1681
+ /* useViewTransitionState */
1682
+ ), n = H(e, { relative: t.relative });
1683
+ if (!r.isTransitioning)
1684
+ return !1;
1685
+ let a = A(r.currentLocation.pathname, o) || r.currentLocation.pathname, s = A(r.nextLocation.pathname, o) || r.nextLocation.pathname;
1686
+ return B(n.pathname, s) != null || B(n.pathname, a) != null;
1687
+ }
1688
+ function mr({
1689
+ context: e,
1690
+ router: t,
1691
+ hydrate: r = !0,
1692
+ nonce: o
1693
+ }) {
1694
+ x(
1695
+ t && e,
1696
+ "You must provide `router` and `context` to <StaticRouterProvider>"
1697
+ );
1698
+ let n = {
1699
+ router: t,
1700
+ navigator: Qt(),
1701
+ static: !0,
1702
+ staticContext: e,
1703
+ basename: e.basename || "/"
1704
+ }, a = /* @__PURE__ */ new Map(), s = "";
1705
+ if (r !== !1) {
1706
+ let l = {
1707
+ loaderData: e.loaderData,
1708
+ actionData: e.actionData,
1709
+ errors: Xt(e.errors)
1710
+ };
1711
+ s = `window.__staticRouterHydrationData = JSON.parse(${ar(JSON.stringify(JSON.stringify(l)))});`;
1712
+ }
1713
+ let { state: c } = n.router;
1714
+ return /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(D.Provider, { value: n }, /* @__PURE__ */ i.createElement(_.Provider, { value: c }, /* @__PURE__ */ i.createElement(te.Provider, { value: a }, /* @__PURE__ */ i.createElement(J.Provider, { value: { isTransitioning: !1 } }, /* @__PURE__ */ i.createElement(
1715
+ Pe,
1716
+ {
1717
+ basename: n.basename,
1718
+ location: c.location,
1719
+ navigationType: c.historyAction,
1720
+ navigator: n.navigator,
1721
+ static: n.static
1722
+ },
1723
+ /* @__PURE__ */ i.createElement(
1724
+ Gt,
1725
+ {
1726
+ routes: t.routes,
1727
+ future: t.future,
1728
+ state: c
1729
+ }
1730
+ )
1731
+ ))))), s ? /* @__PURE__ */ i.createElement(
1732
+ "script",
1733
+ {
1734
+ suppressHydrationWarning: !0,
1735
+ nonce: o,
1736
+ dangerouslySetInnerHTML: { __html: s }
1737
+ }
1738
+ ) : null);
1739
+ }
1740
+ function Gt({
1741
+ routes: e,
1742
+ future: t,
1743
+ state: r
1744
+ }) {
1745
+ return be(e, void 0, r, t);
1746
+ }
1747
+ function Xt(e) {
1748
+ if (!e) return null;
1749
+ let t = Object.entries(e), r = {};
1750
+ for (let [o, n] of t)
1751
+ we(n) ? r[o] = { ...n, __type: "RouteErrorResponse" } : n instanceof Error ? r[o] = {
1752
+ message: n.message,
1753
+ __type: "Error",
1754
+ // If this is a subclass (i.e., ReferenceError), send up the type so we
1755
+ // can re-create the same type during hydration.
1756
+ ...n.name !== "Error" ? {
1757
+ __subType: n.name
1758
+ } : {}
1759
+ } : r[o] = n;
1760
+ return r;
1761
+ }
1762
+ function Qt() {
1763
+ return {
1764
+ createHref: Zt,
1765
+ encodeLocation: er,
1766
+ push(e) {
1767
+ throw new Error(
1768
+ `You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)})\` somewhere in your app.`
1769
+ );
1770
+ },
1771
+ replace(e) {
1772
+ throw new Error(
1773
+ `You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)}, { replace: true })\` somewhere in your app.`
1774
+ );
1775
+ },
1776
+ go(e) {
1777
+ throw new Error(
1778
+ `You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${e})\` somewhere in your app.`
1779
+ );
1780
+ },
1781
+ back() {
1782
+ throw new Error(
1783
+ "You cannot use navigator.back() on the server because it is a stateless environment."
1784
+ );
1785
+ },
1786
+ forward() {
1787
+ throw new Error(
1788
+ "You cannot use navigator.forward() on the server because it is a stateless environment."
1789
+ );
1790
+ }
1791
+ };
1792
+ }
1793
+ function Zt(e) {
1794
+ return typeof e == "string" ? e : W(e);
1795
+ }
1796
+ function er(e) {
1797
+ let t = typeof e == "string" ? e : W(e);
1798
+ t = t.replace(/ $/, "%20");
1799
+ let r = tr.test(t) ? new URL(t) : new URL(t, "http://localhost");
1800
+ return {
1801
+ pathname: r.pathname,
1802
+ search: r.search,
1803
+ hash: r.hash
1804
+ };
1805
+ }
1806
+ var tr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rr = {
1807
+ "&": "\\u0026",
1808
+ ">": "\\u003e",
1809
+ "<": "\\u003c",
1810
+ "\u2028": "\\u2028",
1811
+ "\u2029": "\\u2029"
1812
+ }, nr = /[&><\u2028\u2029]/g;
1813
+ function ar(e) {
1814
+ return e.replace(nr, (t) => rr[t]);
1815
+ }
1816
+ [
1817
+ ...At
1818
+ ];
1819
+ export {
1820
+ Ne as L,
1821
+ fr as N,
1822
+ dr as O,
1823
+ cr as R,
1824
+ mr as S,
1825
+ hr as a,
1826
+ ne as b,
1827
+ N as c,
1828
+ sr as d,
1829
+ ur as e,
1830
+ Bt as f,
1831
+ or as g,
1832
+ et as h,
1833
+ dt as i,
1834
+ we as j,
1835
+ B as m,
1836
+ ir as r,
1837
+ lr as u
1838
+ };
1839
+ //# sourceMappingURL=chunk-QMGIS6GS-CdEm9pzB.js.map