zudoku 0.0.0-ff3bc72 → 0.0.0-zuplo-api-keys.95df9e9

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 (1781) hide show
  1. package/README.md +121 -0
  2. package/cli.js +11 -2
  3. package/dist/app/ZuploBuildConfig.d.ts +155 -0
  4. package/dist/app/ZuploBuildConfig.js +29 -0
  5. package/dist/app/ZuploBuildConfig.js.map +1 -0
  6. package/dist/app/demo.js +1 -4
  7. package/dist/app/demo.js.map +1 -1
  8. package/dist/app/entry.client.d.ts +6 -0
  9. package/dist/app/entry.client.js +53 -3
  10. package/dist/app/entry.client.js.map +1 -1
  11. package/dist/app/entry.server.d.ts +9 -6
  12. package/dist/app/entry.server.js +21 -14
  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 +29 -0
  16. package/dist/app/env.js.map +1 -0
  17. package/dist/app/main.d.ts +3 -2
  18. package/dist/app/main.js +50 -61
  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 +1 -4
  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 +9 -1
  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 +20 -16
  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 +19 -0
  64. package/dist/config/loader.js +135 -0
  65. package/dist/config/loader.js.map +1 -0
  66. package/dist/config/validators/BuildSchema.d.ts +60 -0
  67. package/dist/config/validators/BuildSchema.js +31 -0
  68. package/dist/config/validators/BuildSchema.js.map +1 -0
  69. package/dist/config/validators/InputSidebarSchema.d.ts +63 -32
  70. package/dist/config/validators/InputSidebarSchema.js +17 -28
  71. package/dist/config/validators/InputSidebarSchema.js.map +1 -1
  72. package/dist/config/validators/SidebarSchema.d.ts +24 -1
  73. package/dist/config/validators/SidebarSchema.js +80 -44
  74. package/dist/config/validators/SidebarSchema.js.map +1 -1
  75. package/dist/config/validators/icon-types.d.ts +1 -0
  76. package/dist/config/validators/icon-types.js +2 -0
  77. package/dist/config/validators/icon-types.js.map +1 -0
  78. package/dist/config/validators/validate.d.ts +4690 -332
  79. package/dist/config/validators/validate.js +273 -82
  80. package/dist/config/validators/validate.js.map +1 -1
  81. package/dist/index.d.ts +9 -2
  82. package/dist/index.js +4 -1
  83. package/dist/index.js.map +1 -1
  84. package/dist/lib/MissingIcon.d.ts +2 -0
  85. package/dist/lib/MissingIcon.js +7 -0
  86. package/dist/lib/MissingIcon.js.map +1 -0
  87. package/dist/lib/authentication/AuthenticationPlugin.d.ts +11 -4
  88. package/dist/lib/authentication/AuthenticationPlugin.js +16 -1
  89. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  90. package/dist/lib/authentication/authentication.d.ts +4 -5
  91. package/dist/lib/authentication/components/CallbackHandler.js +25 -31
  92. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  93. package/dist/lib/authentication/components/SignIn.d.ts +1 -1
  94. package/dist/lib/authentication/components/SignIn.js +5 -2
  95. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  96. package/dist/lib/authentication/components/SignOut.js +2 -2
  97. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  98. package/dist/lib/authentication/components/SignUp.d.ts +1 -1
  99. package/dist/lib/authentication/components/SignUp.js +4 -1
  100. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  101. package/dist/lib/authentication/hook.d.ts +6 -4
  102. package/dist/lib/authentication/hook.js +12 -4
  103. package/dist/lib/authentication/hook.js.map +1 -1
  104. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  105. package/dist/lib/authentication/providers/auth0.js +15 -13
  106. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  107. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  108. package/dist/lib/authentication/providers/clerk.js +116 -47
  109. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  110. package/dist/lib/authentication/providers/openid.d.ts +21 -19
  111. package/dist/lib/authentication/providers/openid.js +62 -69
  112. package/dist/lib/authentication/providers/openid.js.map +1 -1
  113. package/dist/lib/authentication/providers/supabase.d.ts +4 -0
  114. package/dist/lib/authentication/providers/supabase.js +115 -0
  115. package/dist/lib/authentication/providers/supabase.js.map +1 -0
  116. package/dist/lib/authentication/state.d.ts +23 -19
  117. package/dist/lib/authentication/state.js +34 -7
  118. package/dist/lib/authentication/state.js.map +1 -1
  119. package/dist/lib/authentication/use-broadcast/shared.d.ts +48 -0
  120. package/dist/lib/authentication/use-broadcast/shared.js +243 -0
  121. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -0
  122. package/dist/lib/authentication/use-broadcast/useBroadcast.d.ts +24 -0
  123. package/dist/lib/authentication/use-broadcast/useBroadcast.js +106 -0
  124. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -0
  125. package/dist/lib/components/AnchorLink.d.ts +2 -2
  126. package/dist/lib/components/AnchorLink.js +9 -5
  127. package/dist/lib/components/AnchorLink.js.map +1 -1
  128. package/dist/lib/components/Autocomplete.d.ts +13 -0
  129. package/dist/lib/components/Autocomplete.js +47 -0
  130. package/dist/lib/components/Autocomplete.js.map +1 -0
  131. package/dist/lib/components/Banner.js +1 -1
  132. package/dist/lib/components/Banner.js.map +1 -1
  133. package/dist/lib/components/Bootstrap.d.ts +5 -3
  134. package/dist/lib/components/Bootstrap.js +13 -6
  135. package/dist/lib/components/Bootstrap.js.map +1 -1
  136. package/dist/lib/components/BuildCheck.d.ts +4 -0
  137. package/dist/lib/components/BuildCheck.js +38 -0
  138. package/dist/lib/components/BuildCheck.js.map +1 -0
  139. package/dist/lib/components/ClientOnly.d.ts +4 -2
  140. package/dist/lib/components/ClientOnly.js +1 -1
  141. package/dist/lib/components/ClientOnly.js.map +1 -1
  142. package/dist/lib/components/DeveloperHint.js +2 -1
  143. package/dist/lib/components/DeveloperHint.js.map +1 -1
  144. package/dist/lib/components/ErrorPage.js +1 -1
  145. package/dist/lib/components/Footer.d.ts +1 -0
  146. package/dist/lib/components/Footer.js +32 -0
  147. package/dist/lib/components/Footer.js.map +1 -0
  148. package/dist/lib/components/Header.js +31 -12
  149. package/dist/lib/components/Header.js.map +1 -1
  150. package/dist/lib/components/Heading.d.ts +5 -5
  151. package/dist/lib/components/Heading.js +1 -1
  152. package/dist/lib/components/Heading.js.map +1 -1
  153. package/dist/lib/components/InlineCode.d.ts +2 -1
  154. package/dist/lib/components/InlineCode.js +2 -9
  155. package/dist/lib/components/InlineCode.js.map +1 -1
  156. package/dist/lib/components/Layout.js +10 -21
  157. package/dist/lib/components/Layout.js.map +1 -1
  158. package/dist/lib/components/Main.d.ts +2 -0
  159. package/dist/lib/components/Main.js +18 -0
  160. package/dist/lib/components/Main.js.map +1 -0
  161. package/dist/lib/components/Markdown.d.ts +4 -2
  162. package/dist/lib/components/Markdown.js +10 -14
  163. package/dist/lib/components/Markdown.js.map +1 -1
  164. package/dist/lib/components/MobileTopNavigation.js +14 -7
  165. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  166. package/dist/lib/components/NotFoundPage.js +2 -2
  167. package/dist/lib/components/NotFoundPage.js.map +1 -1
  168. package/dist/lib/components/Pagination.d.ts +11 -0
  169. package/dist/lib/components/Pagination.js +10 -0
  170. package/dist/lib/components/Pagination.js.map +1 -0
  171. package/dist/lib/components/PathRenderer.d.ts +11 -0
  172. package/dist/lib/components/PathRenderer.js +28 -0
  173. package/dist/lib/components/PathRenderer.js.map +1 -0
  174. package/dist/lib/components/ReactMarkdown.d.ts +29 -0
  175. package/dist/lib/components/ReactMarkdown.js +182 -0
  176. package/dist/lib/components/ReactMarkdown.js.map +1 -0
  177. package/dist/lib/components/Search.d.ts +3 -1
  178. package/dist/lib/components/Search.js +9 -3
  179. package/dist/lib/components/Search.js.map +1 -1
  180. package/dist/lib/components/Slot.d.ts +17 -0
  181. package/dist/lib/components/Slot.js +24 -0
  182. package/dist/lib/components/Slot.js.map +1 -0
  183. package/dist/lib/components/Slot.test.js +163 -0
  184. package/dist/lib/components/Slot.test.js.map +1 -0
  185. package/dist/lib/components/StatusPage.d.ts +7 -0
  186. package/dist/lib/components/StatusPage.js +71 -0
  187. package/dist/lib/components/StatusPage.js.map +1 -0
  188. package/dist/lib/components/ThemeSwitch.d.ts +1 -0
  189. package/dist/lib/components/ThemeSwitch.js +16 -0
  190. package/dist/lib/components/ThemeSwitch.js.map +1 -0
  191. package/dist/lib/components/TopNavigation.d.ts +3 -0
  192. package/dist/lib/components/TopNavigation.js +53 -8
  193. package/dist/lib/components/TopNavigation.js.map +1 -1
  194. package/dist/lib/components/Zudoku.d.ts +7 -0
  195. package/dist/lib/components/Zudoku.js +58 -0
  196. package/dist/lib/components/Zudoku.js.map +1 -0
  197. package/dist/lib/components/cache.d.ts +13 -0
  198. package/dist/lib/components/cache.js +20 -0
  199. package/dist/lib/components/cache.js.map +1 -0
  200. package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
  201. package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
  202. package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
  203. package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
  204. package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
  205. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
  206. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  207. package/dist/lib/components/context/SlotProvider.js +83 -0
  208. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  209. package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
  210. package/dist/lib/components/context/ViewportAnchorContext.js +29 -23
  211. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  212. package/dist/lib/components/context/ZudokuContext.d.ts +10 -14
  213. package/dist/lib/components/context/ZudokuContext.js +40 -27
  214. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  215. package/dist/lib/components/context/ZudokuProvider.d.ts +2 -2
  216. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  217. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  218. package/dist/lib/components/index.d.ts +59 -16
  219. package/dist/lib/components/index.js +27 -6
  220. package/dist/lib/components/index.js.map +1 -1
  221. package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
  222. package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
  223. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
  224. package/dist/lib/components/navigation/Sidebar.d.ts +5 -1
  225. package/dist/lib/components/navigation/Sidebar.js +4 -8
  226. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  227. package/dist/lib/components/navigation/SidebarBadge.d.ts +6 -3
  228. package/dist/lib/components/navigation/SidebarBadge.js +13 -11
  229. package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
  230. package/dist/lib/components/navigation/SidebarCategory.d.ts +3 -3
  231. package/dist/lib/components/navigation/SidebarCategory.js +32 -14
  232. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  233. package/dist/lib/components/navigation/SidebarItem.d.ts +3 -4
  234. package/dist/lib/components/navigation/SidebarItem.js +23 -17
  235. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  236. package/dist/lib/components/navigation/SidebarWrapper.d.ts +7 -6
  237. package/dist/lib/components/navigation/SidebarWrapper.js +18 -3
  238. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  239. package/dist/lib/components/navigation/Toc.js +46 -0
  240. package/dist/lib/components/navigation/Toc.js.map +1 -0
  241. package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
  242. package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
  243. package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
  244. package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
  245. package/dist/lib/components/navigation/ZuploLogo.js +4 -0
  246. package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
  247. package/dist/lib/components/navigation/utils.d.ts +3 -0
  248. package/dist/lib/components/navigation/utils.js +19 -15
  249. package/dist/lib/components/navigation/utils.js.map +1 -1
  250. package/dist/lib/core/RouteGuard.d.ts +2 -0
  251. package/dist/lib/core/RouteGuard.js +52 -0
  252. package/dist/lib/core/RouteGuard.js.map +1 -0
  253. package/dist/lib/core/ZudokuContext.d.ts +112 -0
  254. package/dist/lib/core/ZudokuContext.js +70 -0
  255. package/dist/lib/core/ZudokuContext.js.map +1 -0
  256. package/dist/lib/core/plugins.d.ts +35 -17
  257. package/dist/lib/core/plugins.js +4 -0
  258. package/dist/lib/core/plugins.js.map +1 -1
  259. package/dist/lib/errors/ErrorAlert.d.ts +1 -1
  260. package/dist/lib/errors/ErrorAlert.js +13 -3
  261. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  262. package/dist/lib/errors/RouterError.js +1 -1
  263. package/dist/lib/errors/RouterError.js.map +1 -1
  264. package/dist/lib/hooks/index.d.ts +3 -0
  265. package/dist/lib/hooks/index.js +5 -0
  266. package/dist/lib/hooks/index.js.map +1 -0
  267. package/dist/lib/hooks/useEvent.d.ts +11 -0
  268. package/dist/lib/hooks/useEvent.js +19 -0
  269. package/dist/lib/hooks/useEvent.js.map +1 -0
  270. package/dist/lib/hooks/useEvent.test.js +100 -0
  271. package/dist/lib/hooks/useEvent.test.js.map +1 -0
  272. package/dist/lib/icons.d.ts +1 -0
  273. package/dist/lib/icons.js +1 -0
  274. package/dist/lib/icons.js.map +1 -1
  275. package/dist/lib/oas/graphql/circular.d.ts +3 -0
  276. package/dist/lib/oas/graphql/circular.js +43 -0
  277. package/dist/lib/oas/graphql/circular.js.map +1 -0
  278. package/dist/lib/oas/graphql/index.d.ts +25 -1
  279. package/dist/lib/oas/graphql/index.js +216 -69
  280. package/dist/lib/oas/graphql/index.js.map +1 -1
  281. package/dist/lib/oas/parser/dereference/index.js +8 -3
  282. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  283. package/dist/lib/oas/parser/index.d.ts +8 -3
  284. package/dist/lib/oas/parser/index.js +7 -23
  285. package/dist/lib/oas/parser/index.js.map +1 -1
  286. package/dist/lib/oas/parser/upgrade/index.d.ts +3 -2
  287. package/dist/lib/oas/parser/upgrade/index.js +83 -31
  288. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  289. package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -0
  290. package/dist/lib/plugins/api-catalog/Catalog.js +26 -0
  291. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  292. package/dist/lib/plugins/api-catalog/index.d.ts +31 -0
  293. package/dist/lib/plugins/api-catalog/index.js +46 -0
  294. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  295. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  296. package/dist/lib/plugins/api-keys/CreateApiKey.js +16 -8
  297. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  298. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  299. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  300. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  301. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +55 -24
  302. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  303. package/dist/lib/plugins/api-keys/index.d.ts +23 -13
  304. package/dist/lib/plugins/api-keys/index.js +48 -32
  305. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  306. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +2 -0
  307. package/dist/lib/plugins/custom-pages/CustomPage.js +11 -0
  308. package/dist/lib/plugins/custom-pages/CustomPage.js.map +1 -0
  309. package/dist/lib/plugins/custom-pages/index.d.ts +10 -0
  310. package/dist/lib/plugins/custom-pages/index.js +11 -0
  311. package/dist/lib/plugins/custom-pages/index.js.map +1 -0
  312. package/dist/lib/plugins/markdown/MdxPage.d.ts +10 -2
  313. package/dist/lib/plugins/markdown/MdxPage.js +17 -4
  314. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  315. package/dist/lib/plugins/markdown/index.d.ts +8 -7
  316. package/dist/lib/plugins/markdown/index.js +31 -3
  317. package/dist/lib/plugins/markdown/index.js.map +1 -1
  318. package/dist/lib/plugins/markdown/resolver.d.ts +32 -0
  319. package/dist/lib/plugins/markdown/resolver.js +46 -0
  320. package/dist/lib/plugins/markdown/resolver.js.map +1 -0
  321. package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +5 -0
  322. package/dist/lib/plugins/openapi/CollapsibleCode.js +25 -0
  323. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -0
  324. package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
  325. package/dist/lib/plugins/openapi/ColorizedParam.js +29 -14
  326. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  327. package/dist/lib/plugins/openapi/Endpoint.js +13 -16
  328. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  329. package/dist/lib/plugins/openapi/OasProvider.d.ts +8 -0
  330. package/dist/lib/plugins/openapi/OasProvider.js +29 -0
  331. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
  332. package/dist/lib/plugins/openapi/OperationList.d.ts +6 -3
  333. package/dist/lib/plugins/openapi/OperationList.js +107 -27
  334. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  335. package/dist/lib/plugins/openapi/OperationListItem.d.ts +5 -3
  336. package/dist/lib/plugins/openapi/OperationListItem.js +12 -6
  337. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  338. package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
  339. package/dist/lib/plugins/openapi/ParamInfos.js +45 -0
  340. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
  341. package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -1
  342. package/dist/lib/plugins/openapi/ParameterList.js +3 -2
  343. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  344. package/dist/lib/plugins/openapi/ParameterListItem.js +19 -1
  345. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  346. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +4 -2
  347. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +12 -3
  348. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  349. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +3 -4
  350. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -9
  351. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  352. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
  353. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +4 -6
  354. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  355. package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
  356. package/dist/lib/plugins/openapi/SchemaList.js +53 -0
  357. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
  358. package/dist/lib/plugins/openapi/Sidecar.d.ts +1 -1
  359. package/dist/lib/plugins/openapi/Sidecar.js +114 -65
  360. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  361. package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
  362. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  363. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +9 -0
  364. package/dist/lib/plugins/openapi/SidecarExamples.js +76 -0
  365. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
  366. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  367. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  368. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
  369. package/dist/lib/plugins/openapi/client/GraphQLClient.js +43 -0
  370. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
  371. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
  372. package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
  373. package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
  374. package/dist/lib/plugins/openapi/client/createServer.d.ts +3 -1
  375. package/dist/lib/plugins/openapi/client/createServer.js +5 -2
  376. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  377. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +14 -0
  378. package/dist/lib/plugins/openapi/client/useCreateQuery.js +20 -0
  379. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
  380. package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
  381. package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
  382. package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
  383. package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
  384. package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
  385. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
  386. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  387. package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
  388. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  389. package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
  390. package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
  391. package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
  392. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  393. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
  394. package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
  395. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  396. package/dist/lib/plugins/openapi/graphql/gql.d.ts +8 -46
  397. package/dist/lib/plugins/openapi/graphql/gql.js +6 -13
  398. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  399. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +141 -25
  400. package/dist/lib/plugins/openapi/graphql/graphql.js +238 -662
  401. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  402. package/dist/lib/plugins/openapi/index.d.ts +11 -8
  403. package/dist/lib/plugins/openapi/index.js +74 -104
  404. package/dist/lib/plugins/openapi/index.js.map +1 -1
  405. package/dist/lib/plugins/openapi/interfaces.d.ts +57 -3
  406. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
  407. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +8 -0
  408. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
  409. package/dist/lib/plugins/openapi/playground/Headers.d.ts +4 -4
  410. package/dist/lib/plugins/openapi/playground/Headers.js +84 -5
  411. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  412. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
  413. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +14 -0
  414. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
  415. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
  416. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +8 -0
  417. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
  418. package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +9 -0
  419. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +5 -0
  420. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
  421. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
  422. package/dist/lib/plugins/openapi/playground/PathParams.js +5 -7
  423. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  424. package/dist/lib/plugins/openapi/playground/Playground.d.ts +37 -2
  425. package/dist/lib/plugins/openapi/playground/Playground.js +133 -70
  426. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  427. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +2 -2
  428. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  429. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
  430. package/dist/lib/plugins/openapi/playground/QueryParams.js +24 -18
  431. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  432. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
  433. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
  434. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
  435. package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +7 -0
  436. package/dist/lib/plugins/openapi/playground/SubmitButton.js +22 -0
  437. package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +1 -0
  438. package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
  439. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
  440. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
  441. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +7 -0
  442. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +11 -0
  443. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +1 -0
  444. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +8 -0
  445. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +101 -0
  446. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
  447. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +9 -0
  448. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +17 -0
  449. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
  450. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
  451. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
  452. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
  453. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
  454. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
  455. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
  456. package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
  457. package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
  458. package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
  459. package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
  460. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +194 -0
  461. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
  462. package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
  463. package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
  464. package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
  465. package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
  466. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +159 -0
  467. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
  468. package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
  469. package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
  470. package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
  471. package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
  472. package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
  473. package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
  474. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
  475. package/dist/lib/plugins/openapi/processors/traverse.js +2 -0
  476. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
  477. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +1 -2
  478. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
  479. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
  480. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
  481. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
  482. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
  483. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
  484. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
  485. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
  486. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
  487. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +15 -0
  488. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
  489. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +11 -0
  490. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +45 -0
  491. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
  492. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -2
  493. package/dist/lib/plugins/openapi/schema/SchemaView.js +38 -49
  494. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  495. package/dist/lib/plugins/openapi/schema/utils.d.ts +8 -1
  496. package/dist/lib/plugins/openapi/schema/utils.js +15 -4
  497. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  498. package/dist/lib/plugins/openapi/state.d.ts +25 -0
  499. package/dist/lib/plugins/openapi/state.js +18 -0
  500. package/dist/lib/plugins/openapi/state.js.map +1 -0
  501. package/dist/lib/plugins/openapi/util/createSidebarCategory.d.ts +9 -0
  502. package/dist/lib/plugins/openapi/util/createSidebarCategory.js +23 -0
  503. package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +1 -0
  504. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -2
  505. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +80 -39
  506. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  507. package/dist/lib/plugins/openapi/util/getRoutes.d.ts +10 -0
  508. package/dist/lib/plugins/openapi/util/getRoutes.js +117 -0
  509. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
  510. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
  511. package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
  512. package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
  513. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  514. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  515. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  516. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  517. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  518. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  519. package/dist/lib/plugins/redirect/index.d.ts +4 -7
  520. package/dist/lib/plugins/redirect/index.js +2 -2
  521. package/dist/lib/plugins/redirect/index.js.map +1 -1
  522. package/dist/lib/plugins/search-inkeep/index.d.ts +24 -5
  523. package/dist/lib/plugins/search-inkeep/index.js +41 -5
  524. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  525. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
  526. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  527. package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
  528. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +80 -0
  529. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
  530. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
  531. package/dist/lib/plugins/search-pagefind/ResultList.js +32 -0
  532. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
  533. package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
  534. package/dist/lib/plugins/search-pagefind/get-results.js +42 -0
  535. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
  536. package/dist/lib/plugins/search-pagefind/index.d.ts +6 -0
  537. package/dist/lib/plugins/search-pagefind/index.js +9 -0
  538. package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
  539. package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
  540. package/dist/lib/plugins/search-pagefind/types.js +2 -0
  541. package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
  542. package/dist/lib/shiki.d.ts +35 -0
  543. package/dist/lib/shiki.js +103 -0
  544. package/dist/lib/shiki.js.map +1 -0
  545. package/dist/lib/ui/Accordion.d.ts +7 -0
  546. package/dist/lib/ui/Accordion.js +14 -0
  547. package/dist/lib/ui/Accordion.js.map +1 -0
  548. package/dist/lib/ui/ActionButton.d.ts +4 -0
  549. package/dist/lib/ui/ActionButton.js +10 -0
  550. package/dist/lib/ui/ActionButton.js.map +1 -0
  551. package/dist/lib/ui/Alert.d.ts +8 -0
  552. package/dist/lib/ui/Alert.js +23 -0
  553. package/dist/lib/ui/Alert.js.map +1 -0
  554. package/dist/lib/ui/AlertDialog.d.ts +20 -0
  555. package/dist/lib/ui/AlertDialog.js +27 -0
  556. package/dist/lib/ui/AlertDialog.js.map +1 -0
  557. package/dist/lib/ui/AspectRatio.d.ts +3 -0
  558. package/dist/lib/ui/AspectRatio.js +4 -0
  559. package/dist/lib/ui/AspectRatio.js.map +1 -0
  560. package/dist/lib/ui/Badge.d.ts +9 -0
  561. package/dist/lib/ui/Badge.js +22 -0
  562. package/dist/lib/ui/Badge.js.map +1 -0
  563. package/dist/lib/ui/Breadcrumb.d.ts +19 -0
  564. package/dist/lib/ui/Breadcrumb.js +24 -0
  565. package/dist/lib/ui/Breadcrumb.js.map +1 -0
  566. package/dist/lib/ui/Button.d.ts +4 -5
  567. package/dist/lib/ui/Button.js +9 -6
  568. package/dist/lib/ui/Button.js.map +1 -1
  569. package/dist/lib/ui/Callout.d.ts +38 -36
  570. package/dist/lib/ui/Callout.js +3 -2
  571. package/dist/lib/ui/Callout.js.map +1 -1
  572. package/dist/lib/ui/Card.js +1 -1
  573. package/dist/lib/ui/Card.js.map +1 -1
  574. package/dist/lib/ui/Carousel.d.ts +18 -0
  575. package/dist/lib/ui/Carousel.js +99 -0
  576. package/dist/lib/ui/Carousel.js.map +1 -0
  577. package/dist/lib/ui/Checkbox.d.ts +4 -0
  578. package/dist/lib/ui/Checkbox.js +9 -0
  579. package/dist/lib/ui/Checkbox.js.map +1 -0
  580. package/dist/lib/ui/CodeBlock.d.ts +16 -0
  581. package/dist/lib/ui/CodeBlock.js +18 -0
  582. package/dist/lib/ui/CodeBlock.js.map +1 -0
  583. package/dist/lib/ui/Collapsible.d.ts +5 -0
  584. package/dist/lib/ui/Collapsible.js +6 -0
  585. package/dist/lib/ui/Collapsible.js.map +1 -0
  586. package/dist/lib/ui/Command.d.ts +94 -0
  587. package/dist/lib/ui/Command.js +35 -0
  588. package/dist/lib/ui/Command.js.map +1 -0
  589. package/dist/lib/ui/Dialog.js +23 -0
  590. package/dist/lib/ui/Dialog.js.map +1 -0
  591. package/dist/lib/ui/Drawer.d.ts +8 -10
  592. package/dist/lib/ui/Drawer.js.map +1 -1
  593. package/dist/lib/ui/DropdownMenu.js +4 -4
  594. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  595. package/dist/lib/ui/Form.d.ts +23 -0
  596. package/dist/lib/ui/Form.js +63 -0
  597. package/dist/lib/ui/Form.js.map +1 -0
  598. package/dist/lib/ui/HoverCard.d.ts +6 -0
  599. package/dist/lib/ui/HoverCard.js +10 -0
  600. package/dist/lib/ui/HoverCard.js.map +1 -0
  601. package/dist/lib/ui/Input.d.ts +1 -2
  602. package/dist/lib/ui/Input.js +1 -1
  603. package/dist/lib/ui/Input.js.map +1 -1
  604. package/dist/lib/ui/Label.d.ts +5 -0
  605. package/dist/lib/ui/Label.js +10 -0
  606. package/dist/lib/ui/Label.js.map +1 -0
  607. package/dist/lib/ui/Pagination.d.ts +28 -0
  608. package/dist/lib/ui/Pagination.js +24 -0
  609. package/dist/lib/ui/Pagination.js.map +1 -0
  610. package/dist/lib/ui/Popover.d.ts +6 -0
  611. package/dist/lib/ui/Popover.js +10 -0
  612. package/dist/lib/ui/Popover.js.map +1 -0
  613. package/dist/lib/ui/Progress.d.ts +4 -0
  614. package/dist/lib/ui/Progress.js +8 -0
  615. package/dist/lib/ui/Progress.js.map +1 -0
  616. package/dist/lib/ui/RadioGroup.d.ts +5 -0
  617. package/dist/lib/ui/RadioGroup.js +15 -0
  618. package/dist/lib/ui/RadioGroup.js.map +1 -0
  619. package/dist/lib/ui/ScrollArea.d.ts +5 -0
  620. package/dist/lib/ui/ScrollArea.js +12 -0
  621. package/dist/lib/ui/ScrollArea.js.map +1 -0
  622. package/dist/lib/ui/Select.js +27 -0
  623. package/dist/lib/ui/Select.js.map +1 -0
  624. package/dist/lib/ui/Skeleton.d.ts +2 -0
  625. package/dist/lib/ui/Skeleton.js +7 -0
  626. package/dist/lib/ui/Skeleton.js.map +1 -0
  627. package/dist/lib/ui/Slider.d.ts +4 -0
  628. package/dist/lib/ui/Slider.js +8 -0
  629. package/dist/lib/ui/Slider.js.map +1 -0
  630. package/dist/lib/ui/Stepper.d.ts +3 -0
  631. package/dist/lib/ui/Stepper.js +7 -0
  632. package/dist/lib/ui/Stepper.js.map +1 -0
  633. package/dist/lib/ui/Switch.d.ts +4 -0
  634. package/dist/lib/ui/Switch.js +8 -0
  635. package/dist/lib/ui/Switch.js.map +1 -0
  636. package/dist/lib/ui/SyntaxHighlight.d.ts +10 -0
  637. package/dist/lib/ui/SyntaxHighlight.js +14 -0
  638. package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
  639. package/dist/lib/ui/Tabs.js +2 -2
  640. package/dist/lib/ui/Tabs.js.map +1 -1
  641. package/dist/lib/ui/Textarea.d.ts +4 -0
  642. package/dist/lib/ui/Textarea.js +9 -0
  643. package/dist/lib/ui/Textarea.js.map +1 -0
  644. package/dist/lib/ui/Toggle.d.ts +12 -0
  645. package/dist/lib/ui/Toggle.js +26 -0
  646. package/dist/lib/ui/Toggle.js.map +1 -0
  647. package/dist/lib/ui/ToggleGroup.d.ts +12 -0
  648. package/dist/lib/ui/ToggleGroup.js +21 -0
  649. package/dist/lib/ui/ToggleGroup.js.map +1 -0
  650. package/dist/lib/ui/Tooltip.d.ts +7 -0
  651. package/dist/lib/ui/Tooltip.js +11 -0
  652. package/dist/lib/ui/Tooltip.js.map +1 -0
  653. package/dist/lib/ui/util.d.ts +2 -0
  654. package/dist/lib/ui/util.js +3 -0
  655. package/dist/lib/ui/util.js.map +1 -0
  656. package/dist/lib/util/MdxComponents.d.ts +30 -21
  657. package/dist/lib/util/MdxComponents.js +17 -15
  658. package/dist/lib/util/MdxComponents.js.map +1 -1
  659. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  660. package/dist/lib/util/detectOS.d.ts +1 -0
  661. package/dist/lib/util/detectOS.js +11 -0
  662. package/dist/lib/util/detectOS.js.map +1 -0
  663. package/dist/lib/util/ensureArray.d.ts +1 -0
  664. package/dist/lib/util/ensureArray.js +2 -0
  665. package/dist/lib/util/ensureArray.js.map +1 -0
  666. package/dist/lib/util/invariant.d.ts +9 -0
  667. package/dist/lib/util/invariant.js +7 -3
  668. package/dist/lib/util/invariant.js.map +1 -1
  669. package/dist/lib/util/joinPath.d.ts +3 -0
  670. package/dist/lib/util/joinPath.js +3 -0
  671. package/dist/lib/util/joinPath.js.map +1 -1
  672. package/dist/lib/util/joinUrl.d.ts +1 -0
  673. package/dist/lib/util/joinUrl.js +40 -0
  674. package/dist/lib/util/joinUrl.js.map +1 -0
  675. package/dist/lib/util/joinUrl.test.d.ts +1 -0
  676. package/dist/lib/util/joinUrl.test.js +43 -0
  677. package/dist/lib/util/joinUrl.test.js.map +1 -0
  678. package/dist/lib/util/scrollIntoViewIfNeeded.d.ts +1 -0
  679. package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
  680. package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
  681. package/dist/lib/util/traverse.d.ts +3 -0
  682. package/dist/lib/util/traverse.js +23 -0
  683. package/dist/lib/util/traverse.js.map +1 -0
  684. package/dist/lib/util/types.d.ts +7 -0
  685. package/dist/lib/util/types.js +2 -0
  686. package/dist/lib/util/types.js.map +1 -0
  687. package/dist/lib/util/url.d.ts +4 -0
  688. package/dist/lib/util/url.js +13 -0
  689. package/dist/lib/util/url.js.map +1 -0
  690. package/dist/lib/util/url.test.d.ts +1 -0
  691. package/dist/lib/util/url.test.js +26 -0
  692. package/dist/lib/util/url.test.js.map +1 -0
  693. package/dist/lib/util/useExposedProps.d.ts +9 -0
  694. package/dist/lib/util/useExposedProps.js +9 -0
  695. package/dist/lib/util/useExposedProps.js.map +1 -0
  696. package/dist/lib/util/useIsomorphicLayoutEffect.d.ts +3 -0
  697. package/dist/lib/util/useIsomorphicLayoutEffect.js +4 -0
  698. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -0
  699. package/dist/lib/util/useLatest.d.ts +1 -0
  700. package/dist/lib/util/useLatest.js +15 -0
  701. package/dist/lib/util/useLatest.js.map +1 -0
  702. package/dist/lib/util/useOnScreen.d.ts +5 -0
  703. package/dist/lib/util/useOnScreen.js +19 -0
  704. package/dist/lib/util/useOnScreen.js.map +1 -0
  705. package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
  706. package/dist/lib/util/useScrollToAnchor.js +42 -37
  707. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  708. package/dist/lib/util/useScrollToTop.js +7 -5
  709. package/dist/lib/util/useScrollToTop.js.map +1 -1
  710. package/dist/vite/api/SchemaManager.d.ts +36 -0
  711. package/dist/vite/api/SchemaManager.js +122 -0
  712. package/dist/vite/api/SchemaManager.js.map +1 -0
  713. package/dist/vite/api/SchemaManager.test.d.ts +1 -0
  714. package/dist/vite/api/SchemaManager.test.js +106 -0
  715. package/dist/vite/api/SchemaManager.test.js.map +1 -0
  716. package/dist/vite/api/schema-codegen.d.ts +12 -0
  717. package/dist/vite/api/schema-codegen.js +85 -0
  718. package/dist/vite/api/schema-codegen.js.map +1 -0
  719. package/dist/vite/api/schema-codegen.test.d.ts +1 -0
  720. package/dist/vite/api/schema-codegen.test.js +313 -0
  721. package/dist/vite/api/schema-codegen.test.js.map +1 -0
  722. package/dist/vite/build.js +83 -12
  723. package/dist/vite/build.js.map +1 -1
  724. package/dist/vite/config.d.ts +2 -15
  725. package/dist/vite/config.js +121 -144
  726. package/dist/vite/config.js.map +1 -1
  727. package/dist/vite/config.test.js +12 -6
  728. package/dist/vite/config.test.js.map +1 -1
  729. package/dist/vite/create-pagefind-index.d.ts +4 -0
  730. package/dist/vite/create-pagefind-index.js +12 -0
  731. package/dist/vite/create-pagefind-index.js.map +1 -0
  732. package/dist/vite/css/collect.d.ts +2 -0
  733. package/dist/vite/css/collect.js +27 -0
  734. package/dist/vite/css/collect.js.map +1 -0
  735. package/dist/vite/css/plugin.d.ts +5 -0
  736. package/dist/vite/css/plugin.js +79 -0
  737. package/dist/vite/css/plugin.js.map +1 -0
  738. package/dist/vite/debug.d.ts +1 -0
  739. package/dist/vite/debug.js +10 -0
  740. package/dist/vite/debug.js.map +1 -0
  741. package/dist/vite/dev-server.d.ts +11 -4
  742. package/dist/vite/dev-server.js +83 -22
  743. package/dist/vite/dev-server.js.map +1 -1
  744. package/dist/vite/error-handler.d.ts +1 -1
  745. package/dist/vite/error-handler.js +1 -1
  746. package/dist/vite/error-handler.js.map +1 -1
  747. package/dist/vite/html.d.ts +6 -2
  748. package/dist/vite/html.js +11 -10
  749. package/dist/vite/html.js.map +1 -1
  750. package/dist/vite/output.d.ts +113 -0
  751. package/dist/vite/output.js +60 -0
  752. package/dist/vite/output.js.map +1 -0
  753. package/dist/vite/plugin-api-keys.d.ts +2 -2
  754. package/dist/vite/plugin-api-keys.js +10 -5
  755. package/dist/vite/plugin-api-keys.js.map +1 -1
  756. package/dist/vite/plugin-api.d.ts +2 -2
  757. package/dist/vite/plugin-api.js +145 -32
  758. package/dist/vite/plugin-api.js.map +1 -1
  759. package/dist/vite/plugin-auth.d.ts +2 -2
  760. package/dist/vite/plugin-auth.js +7 -4
  761. package/dist/vite/plugin-auth.js.map +1 -1
  762. package/dist/vite/plugin-component.d.ts +2 -2
  763. package/dist/vite/plugin-component.js +22 -13
  764. package/dist/vite/plugin-component.js.map +1 -1
  765. package/dist/vite/plugin-config-reload.d.ts +4 -4
  766. package/dist/vite/plugin-config-reload.js +15 -8
  767. package/dist/vite/plugin-config-reload.js.map +1 -1
  768. package/dist/vite/plugin-config.d.ts +2 -3
  769. package/dist/vite/plugin-config.js +26 -3
  770. package/dist/vite/plugin-config.js.map +1 -1
  771. package/dist/vite/plugin-configure-tailwind.d.ts +3 -0
  772. package/dist/vite/plugin-configure-tailwind.js +37 -0
  773. package/dist/vite/plugin-configure-tailwind.js.map +1 -0
  774. package/dist/vite/plugin-custom-pages.d.ts +4 -0
  775. package/dist/vite/plugin-custom-pages.js +30 -0
  776. package/dist/vite/plugin-custom-pages.js.map +1 -0
  777. package/dist/vite/plugin-docs.d.ts +3 -3
  778. package/dist/vite/plugin-docs.js +57 -29
  779. package/dist/vite/plugin-docs.js.map +1 -1
  780. package/dist/vite/plugin-docs.test.js +15 -23
  781. package/dist/vite/plugin-docs.test.js.map +1 -1
  782. package/dist/vite/plugin-frontmatter.d.ts +2 -1
  783. package/dist/vite/plugin-frontmatter.js +28 -24
  784. package/dist/vite/plugin-frontmatter.js.map +1 -1
  785. package/dist/vite/plugin-mdx.d.ts +2 -8
  786. package/dist/vite/plugin-mdx.js +96 -13
  787. package/dist/vite/plugin-mdx.js.map +1 -1
  788. package/dist/vite/plugin-redirect.d.ts +2 -2
  789. package/dist/vite/plugin-redirect.js +3 -3
  790. package/dist/vite/plugin-redirect.js.map +1 -1
  791. package/dist/vite/plugin-search.d.ts +3 -0
  792. package/dist/vite/plugin-search.js +30 -0
  793. package/dist/vite/plugin-search.js.map +1 -0
  794. package/dist/vite/plugin-shiki-register.d.ts +3 -0
  795. package/dist/vite/plugin-shiki-register.js +38 -0
  796. package/dist/vite/plugin-shiki-register.js.map +1 -0
  797. package/dist/vite/plugin-sidebar.d.ts +5 -3
  798. package/dist/vite/plugin-sidebar.js +26 -10
  799. package/dist/vite/plugin-sidebar.js.map +1 -1
  800. package/dist/vite/plugin-theme-css.d.ts +6 -0
  801. package/dist/vite/plugin-theme-css.js +118 -0
  802. package/dist/vite/plugin-theme-css.js.map +1 -0
  803. package/dist/vite/plugin.d.ts +2 -3
  804. package/dist/vite/plugin.js +18 -6
  805. package/dist/vite/plugin.js.map +1 -1
  806. package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
  807. package/dist/vite/prerender/FileWritingResponse.js +51 -0
  808. package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
  809. package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
  810. package/dist/vite/prerender/InMemoryResponse.js +32 -0
  811. package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
  812. package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
  813. package/dist/vite/prerender/PrerenderResponse.js +2 -0
  814. package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
  815. package/dist/vite/prerender/prerender.d.ts +15 -0
  816. package/dist/vite/prerender/prerender.js +109 -0
  817. package/dist/vite/prerender/prerender.js.map +1 -0
  818. package/dist/vite/prerender/worker.d.ts +13 -0
  819. package/dist/vite/prerender/worker.js +59 -0
  820. package/dist/vite/prerender/worker.js.map +1 -0
  821. package/dist/vite/remarkStaticGeneration.d.ts +3 -0
  822. package/dist/vite/remarkStaticGeneration.js +125 -0
  823. package/dist/vite/remarkStaticGeneration.js.map +1 -0
  824. package/dist/vite/reporter.d.ts +3 -0
  825. package/dist/vite/reporter.js +33 -0
  826. package/dist/vite/reporter.js.map +1 -0
  827. package/dist/vite/sitemap.d.ts +1 -1
  828. package/dist/vite/sitemap.js +2 -1
  829. package/dist/vite/sitemap.js.map +1 -1
  830. package/dist/zuplo/enrich-with-zuplo.d.ts +5 -0
  831. package/dist/zuplo/enrich-with-zuplo.js +185 -0
  832. package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
  833. package/dist/zuplo/policy-types.d.ts +33 -0
  834. package/dist/zuplo/policy-types.js +8 -0
  835. package/dist/zuplo/policy-types.js.map +1 -0
  836. package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
  837. package/dist/zuplo/with-zuplo-processors.js +26 -0
  838. package/dist/zuplo/with-zuplo-processors.js.map +1 -0
  839. package/dist/zuplo/with-zuplo.d.ts +6 -0
  840. package/dist/zuplo/with-zuplo.js +10 -0
  841. package/dist/zuplo/with-zuplo.js.map +1 -0
  842. package/lib/Button-u7M2QYds.js +51 -0
  843. package/lib/Button-u7M2QYds.js.map +1 -0
  844. package/lib/Callout-CtCQJ6Cc.js +230 -0
  845. package/lib/Callout-CtCQJ6Cc.js.map +1 -0
  846. package/lib/Card-DkH-AU1V.js +61 -0
  847. package/lib/Card-DkH-AU1V.js.map +1 -0
  848. package/lib/CategoryHeading-BA7lKNWz.js +10 -0
  849. package/lib/CategoryHeading-BA7lKNWz.js.map +1 -0
  850. package/lib/ClientOnly-E7hGysn1.js +11 -0
  851. package/lib/ClientOnly-E7hGysn1.js.map +1 -0
  852. package/lib/Dialog-irKZWXGg.js +99 -0
  853. package/lib/Dialog-irKZWXGg.js.map +1 -0
  854. package/lib/Drawer-DZ214i5V.js +1133 -0
  855. package/lib/Drawer-DZ214i5V.js.map +1 -0
  856. package/lib/Markdown-BNG8bTDA.js +7691 -0
  857. package/lib/Markdown-BNG8bTDA.js.map +1 -0
  858. package/lib/MdxPage-C-P_N-H3.js +84 -0
  859. package/lib/MdxPage-C-P_N-H3.js.map +1 -0
  860. package/lib/OasProvider-DjFXGgWa.js +33 -0
  861. package/lib/OasProvider-DjFXGgWa.js.map +1 -0
  862. package/lib/OperationList-CchpZz4h.js +5141 -0
  863. package/lib/OperationList-CchpZz4h.js.map +1 -0
  864. package/lib/Pagination-BbcrfwgM.js +36 -0
  865. package/lib/Pagination-BbcrfwgM.js.map +1 -0
  866. package/lib/RouteGuard-CIyGFkFD.js +55 -0
  867. package/lib/RouteGuard-CIyGFkFD.js.map +1 -0
  868. package/lib/SchemaList-CrQd3KiR.js +160 -0
  869. package/lib/SchemaList-CrQd3KiR.js.map +1 -0
  870. package/lib/SchemaView-CQ_hMc8m.js +375 -0
  871. package/lib/SchemaView-CQ_hMc8m.js.map +1 -0
  872. package/lib/SignUp-DSn8NjRS.js +63 -0
  873. package/lib/SignUp-DSn8NjRS.js.map +1 -0
  874. package/lib/Slot-Dw-g06lX.js +160 -0
  875. package/lib/Slot-Dw-g06lX.js.map +1 -0
  876. package/lib/Spinner-mNLZ6awP.js +7 -0
  877. package/lib/Spinner-mNLZ6awP.js.map +1 -0
  878. package/lib/SyntaxHighlight-DTgNHbGp.js +9107 -0
  879. package/lib/SyntaxHighlight-DTgNHbGp.js.map +1 -0
  880. package/lib/Toc-Ccycwd-T.js +92 -0
  881. package/lib/Toc-Ccycwd-T.js.map +1 -0
  882. package/lib/chunk-BAXFHI7N-C9WnHsLV.js +1839 -0
  883. package/lib/chunk-BAXFHI7N-C9WnHsLV.js.map +1 -0
  884. package/lib/circular-DdByufCW.js +14929 -0
  885. package/lib/circular-DdByufCW.js.map +1 -0
  886. package/lib/cn-BOFVZgHd.js +2744 -0
  887. package/lib/cn-BOFVZgHd.js.map +1 -0
  888. package/lib/createServer-BL0QaN9q.js +12494 -0
  889. package/lib/createServer-BL0QaN9q.js.map +1 -0
  890. package/lib/hook-BpiAQVtd.js +1446 -0
  891. package/lib/hook-BpiAQVtd.js.map +1 -0
  892. package/lib/index--oeBayMa.js +86 -0
  893. package/lib/index--oeBayMa.js.map +1 -0
  894. package/lib/index-BjB1BHZu.js +3268 -0
  895. package/lib/index-BjB1BHZu.js.map +1 -0
  896. package/lib/index-BvvmIczU.js +2094 -0
  897. package/lib/index-BvvmIczU.js.map +1 -0
  898. package/lib/index-C1S4w-gl.js +36 -0
  899. package/lib/index-C1S4w-gl.js.map +1 -0
  900. package/lib/index-CrcNWbel.js +316 -0
  901. package/lib/index-CrcNWbel.js.map +1 -0
  902. package/lib/index-rsSMIHTN.js +4977 -0
  903. package/lib/index-rsSMIHTN.js.map +1 -0
  904. package/lib/index-zddirpDj.js +4822 -0
  905. package/lib/index-zddirpDj.js.map +1 -0
  906. package/lib/index.esm-BFcSKCe-.js +683 -0
  907. package/lib/index.esm-BFcSKCe-.js.map +1 -0
  908. package/lib/index.esm-DSfX_eMP.js +1216 -0
  909. package/lib/index.esm-DSfX_eMP.js.map +1 -0
  910. package/lib/invariant-DAFpPywt.js +48 -0
  911. package/lib/invariant-DAFpPywt.js.map +1 -0
  912. package/lib/jsx-runtime-C5mzlN2N.js +285 -0
  913. package/lib/jsx-runtime-C5mzlN2N.js.map +1 -0
  914. package/lib/mutation-CJrIFMgY.js +196 -0
  915. package/lib/mutation-CJrIFMgY.js.map +1 -0
  916. package/lib/objectEntries-yMIkr2mI.js +5 -0
  917. package/lib/objectEntries-yMIkr2mI.js.map +1 -0
  918. package/lib/processors/removeExtensions.js +11 -0
  919. package/lib/processors/removeExtensions.js.map +1 -0
  920. package/lib/processors/removeParameters.js +47 -0
  921. package/lib/processors/removeParameters.js.map +1 -0
  922. package/lib/processors/removePaths.js +28 -0
  923. package/lib/processors/removePaths.js.map +1 -0
  924. package/lib/processors/traverse.js +17 -0
  925. package/lib/processors/traverse.js.map +1 -0
  926. package/lib/ui/Accordion.js +47 -0
  927. package/lib/ui/Accordion.js.map +1 -0
  928. package/lib/ui/ActionButton.js +25 -0
  929. package/lib/ui/ActionButton.js.map +1 -0
  930. package/lib/ui/Alert.js +51 -0
  931. package/lib/ui/Alert.js.map +1 -0
  932. package/lib/ui/AlertDialog.js +114 -0
  933. package/lib/ui/AlertDialog.js.map +1 -0
  934. package/lib/ui/AspectRatio.js +6 -0
  935. package/lib/ui/AspectRatio.js.map +1 -0
  936. package/lib/ui/Badge.js +28 -0
  937. package/lib/ui/Badge.js.map +1 -0
  938. package/lib/ui/Breadcrumb.js +94 -0
  939. package/lib/ui/Breadcrumb.js.map +1 -0
  940. package/lib/ui/Button.js +52 -0
  941. package/lib/ui/Button.js.map +1 -0
  942. package/lib/ui/Callout.js +96 -0
  943. package/lib/ui/Callout.js.map +1 -0
  944. package/lib/ui/Card.js +62 -0
  945. package/lib/ui/Card.js.map +1 -0
  946. package/lib/ui/Carousel.js +1416 -0
  947. package/lib/ui/Carousel.js.map +1 -0
  948. package/lib/ui/Checkbox.js +29 -0
  949. package/lib/ui/Checkbox.js.map +1 -0
  950. package/lib/ui/CodeBlock.js +83 -0
  951. package/lib/ui/CodeBlock.js.map +1 -0
  952. package/lib/ui/Collapsible.js +8 -0
  953. package/lib/ui/Collapsible.js.map +1 -0
  954. package/lib/ui/Command.js +156 -0
  955. package/lib/ui/Command.js.map +1 -0
  956. package/lib/ui/Dialog.js +101 -0
  957. package/lib/ui/Dialog.js.map +1 -0
  958. package/lib/ui/Drawer.js +17 -0
  959. package/lib/ui/Drawer.js.map +1 -0
  960. package/lib/ui/DropdownMenu.js +145 -0
  961. package/lib/ui/DropdownMenu.js.map +1 -0
  962. package/lib/ui/Form.js +95 -0
  963. package/lib/ui/Form.js.map +1 -0
  964. package/lib/ui/HoverCard.js +24 -0
  965. package/lib/ui/HoverCard.js.map +1 -0
  966. package/lib/ui/Input.js +22 -0
  967. package/lib/ui/Input.js.map +1 -0
  968. package/lib/ui/Label.js +20 -0
  969. package/lib/ui/Label.js.map +1 -0
  970. package/lib/ui/Pagination.js +106 -0
  971. package/lib/ui/Pagination.js.map +1 -0
  972. package/lib/ui/Popover.js +24 -0
  973. package/lib/ui/Popover.js.map +1 -0
  974. package/lib/ui/Progress.js +27 -0
  975. package/lib/ui/Progress.js.map +1 -0
  976. package/lib/ui/RadioGroup.js +32 -0
  977. package/lib/ui/RadioGroup.js.map +1 -0
  978. package/lib/ui/ScrollArea.js +39 -0
  979. package/lib/ui/ScrollArea.js.map +1 -0
  980. package/lib/ui/Select.js +122 -0
  981. package/lib/ui/Select.js.map +1 -0
  982. package/lib/ui/Skeleton.js +18 -0
  983. package/lib/ui/Skeleton.js.map +1 -0
  984. package/lib/ui/Slider.js +24 -0
  985. package/lib/ui/Slider.js.map +1 -0
  986. package/lib/ui/Stepper.js +6 -0
  987. package/lib/ui/Stepper.js.map +1 -0
  988. package/lib/ui/Switch.js +28 -0
  989. package/lib/ui/Switch.js.map +1 -0
  990. package/lib/ui/SyntaxHighlight.js +10 -0
  991. package/lib/ui/SyntaxHighlight.js.map +1 -0
  992. package/lib/ui/Tabs.js +47 -0
  993. package/lib/ui/Tabs.js.map +1 -0
  994. package/lib/ui/Textarea.js +21 -0
  995. package/lib/ui/Textarea.js.map +1 -0
  996. package/lib/ui/Toggle.js +38 -0
  997. package/lib/ui/Toggle.js.map +1 -0
  998. package/lib/ui/ToggleGroup.js +42 -0
  999. package/lib/ui/ToggleGroup.js.map +1 -0
  1000. package/lib/ui/Tooltip.js +24 -0
  1001. package/lib/ui/Tooltip.js.map +1 -0
  1002. package/lib/ui/util.js +6 -0
  1003. package/lib/ui/util.js.map +1 -0
  1004. package/lib/useExposedProps-DG8J6ewJ.js +9 -0
  1005. package/lib/useExposedProps-DG8J6ewJ.js.map +1 -0
  1006. package/lib/useLatest-hmRS46UF.js +11 -0
  1007. package/lib/useLatest-hmRS46UF.js.map +1 -0
  1008. package/lib/useMutation-B2LNwShM.js +97 -0
  1009. package/lib/useMutation-B2LNwShM.js.map +1 -0
  1010. package/lib/zudoku.auth-auth0.js +32 -30
  1011. package/lib/zudoku.auth-auth0.js.map +1 -1
  1012. package/lib/zudoku.auth-clerk.js +115 -58
  1013. package/lib/zudoku.auth-clerk.js.map +1 -1
  1014. package/lib/zudoku.auth-openid.js +628 -628
  1015. package/lib/zudoku.auth-openid.js.map +1 -1
  1016. package/lib/zudoku.components.js +34 -3364
  1017. package/lib/zudoku.components.js.map +1 -1
  1018. package/lib/zudoku.hooks.js +19 -0
  1019. package/lib/zudoku.hooks.js.map +1 -0
  1020. package/lib/zudoku.icons.js +10 -0
  1021. package/lib/zudoku.icons.js.map +1 -1
  1022. package/lib/zudoku.plugin-api-catalog.js +117 -0
  1023. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  1024. package/lib/zudoku.plugin-api-keys.js +5019 -212
  1025. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  1026. package/lib/zudoku.plugin-custom-pages.js +22 -0
  1027. package/lib/zudoku.plugin-custom-pages.js.map +1 -0
  1028. package/lib/zudoku.plugin-markdown.js +70 -27
  1029. package/lib/zudoku.plugin-markdown.js.map +1 -1
  1030. package/lib/zudoku.plugin-openapi.js +8 -12
  1031. package/lib/zudoku.plugin-openapi.js.map +1 -1
  1032. package/lib/zudoku.plugin-redirect.js +2 -2
  1033. package/lib/zudoku.plugin-redirect.js.map +1 -1
  1034. package/lib/zudoku.plugin-search-inkeep.js +52 -28
  1035. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  1036. package/lib/zudoku.plugin-search-pagefind.js +230 -0
  1037. package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
  1038. package/lib/zudoku.plugins.js +15 -0
  1039. package/lib/zudoku.plugins.js.map +1 -0
  1040. package/package.json +186 -105
  1041. package/src/app/ZuploBuildConfig.ts +33 -0
  1042. package/src/app/defaultTheme.css +54 -0
  1043. package/src/app/demo-cdn.html +31 -31
  1044. package/src/app/demo.html +1 -1
  1045. package/src/app/demo.tsx +1 -5
  1046. package/src/app/entry.client.tsx +71 -3
  1047. package/src/app/entry.server.tsx +81 -60
  1048. package/src/app/env.ts +35 -0
  1049. package/src/app/font.geist.css +73 -0
  1050. package/src/app/main.css +202 -131
  1051. package/src/app/main.tsx +81 -71
  1052. package/src/app/sentry.ts +24 -0
  1053. package/src/app/standalone.tsx +2 -6
  1054. package/src/lib/MissingIcon.tsx +22 -0
  1055. package/src/lib/authentication/AuthenticationPlugin.tsx +22 -5
  1056. package/src/lib/authentication/authentication.ts +5 -6
  1057. package/src/lib/authentication/components/CallbackHandler.tsx +30 -51
  1058. package/src/lib/authentication/components/SignIn.tsx +35 -2
  1059. package/src/lib/authentication/components/SignOut.tsx +3 -2
  1060. package/src/lib/authentication/components/SignUp.tsx +35 -1
  1061. package/src/lib/authentication/hook.ts +13 -4
  1062. package/src/lib/authentication/providers/auth0.tsx +28 -18
  1063. package/src/lib/authentication/providers/clerk.tsx +136 -53
  1064. package/src/lib/authentication/providers/openid.tsx +87 -84
  1065. package/src/lib/authentication/providers/supabase.tsx +157 -0
  1066. package/src/lib/authentication/state.ts +56 -25
  1067. package/src/lib/authentication/use-broadcast/LICENSE.md +9 -0
  1068. package/src/lib/authentication/use-broadcast/shared.ts +372 -0
  1069. package/src/lib/authentication/use-broadcast/useBroadcast.ts +146 -0
  1070. package/src/lib/components/AnchorLink.tsx +13 -8
  1071. package/src/lib/components/Autocomplete.tsx +113 -0
  1072. package/src/lib/components/Banner.tsx +2 -1
  1073. package/src/lib/components/Bootstrap.tsx +43 -16
  1074. package/src/lib/components/BuildCheck.tsx +75 -0
  1075. package/src/lib/components/ClientOnly.tsx +6 -3
  1076. package/src/lib/components/DeveloperHint.tsx +6 -1
  1077. package/src/lib/components/ErrorPage.tsx +1 -1
  1078. package/src/lib/components/Footer.tsx +136 -0
  1079. package/src/lib/components/Header.tsx +108 -55
  1080. package/src/lib/components/Heading.tsx +14 -14
  1081. package/src/lib/components/InlineCode.tsx +13 -16
  1082. package/src/lib/components/Layout.tsx +36 -59
  1083. package/src/lib/components/Main.tsx +51 -0
  1084. package/src/lib/components/Markdown.tsx +33 -29
  1085. package/src/lib/components/MobileTopNavigation.tsx +43 -28
  1086. package/src/lib/components/NotFoundPage.tsx +2 -2
  1087. package/src/lib/components/Pagination.tsx +44 -0
  1088. package/src/lib/components/PathRenderer.tsx +61 -0
  1089. package/src/lib/components/ReactMarkdown.license.txt +21 -0
  1090. package/src/lib/components/ReactMarkdown.tsx +264 -0
  1091. package/src/lib/components/Search.tsx +19 -8
  1092. package/src/lib/components/Slot.test.tsx +456 -0
  1093. package/src/lib/components/Slot.tsx +64 -0
  1094. package/src/lib/components/StatusPage.tsx +91 -0
  1095. package/src/lib/components/ThemeSwitch.tsx +46 -0
  1096. package/src/lib/components/TopNavigation.tsx +95 -25
  1097. package/src/lib/components/Zudoku.tsx +119 -0
  1098. package/src/lib/components/cache.ts +23 -0
  1099. package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
  1100. package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
  1101. package/src/lib/components/context/SlotProvider.tsx +149 -0
  1102. package/src/lib/components/context/ViewportAnchorContext.tsx +34 -36
  1103. package/src/lib/components/context/ZudokuContext.ts +53 -29
  1104. package/src/lib/components/context/ZudokuProvider.tsx +4 -3
  1105. package/src/lib/components/index.ts +33 -6
  1106. package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
  1107. package/src/lib/components/navigation/Sidebar.tsx +39 -30
  1108. package/src/lib/components/navigation/SidebarBadge.tsx +17 -12
  1109. package/src/lib/components/navigation/SidebarCategory.tsx +67 -54
  1110. package/src/lib/components/navigation/SidebarItem.tsx +38 -51
  1111. package/src/lib/components/navigation/SidebarWrapper.tsx +42 -22
  1112. package/src/lib/components/navigation/Toc.tsx +126 -0
  1113. package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
  1114. package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
  1115. package/src/lib/components/navigation/utils.ts +24 -17
  1116. package/src/lib/core/RouteGuard.tsx +96 -0
  1117. package/src/lib/core/ZudokuContext.ts +198 -0
  1118. package/src/lib/core/plugins.ts +54 -22
  1119. package/src/lib/errors/ErrorAlert.tsx +36 -15
  1120. package/src/lib/errors/RouterError.tsx +1 -1
  1121. package/src/lib/hooks/index.ts +5 -0
  1122. package/src/lib/hooks/useEvent.test.tsx +149 -0
  1123. package/src/lib/hooks/useEvent.ts +41 -0
  1124. package/src/lib/icons.ts +1 -0
  1125. package/src/lib/oas/graphql/circular.ts +58 -0
  1126. package/src/lib/oas/graphql/index.ts +298 -104
  1127. package/src/lib/oas/parser/dereference/index.ts +10 -4
  1128. package/src/lib/oas/parser/index.ts +14 -30
  1129. package/src/lib/oas/parser/upgrade/index.ts +103 -38
  1130. package/src/lib/plugins/api-catalog/Catalog.tsx +73 -0
  1131. package/src/lib/plugins/api-catalog/index.tsx +115 -0
  1132. package/src/lib/plugins/api-keys/CreateApiKey.tsx +63 -47
  1133. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  1134. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +293 -113
  1135. package/src/lib/plugins/api-keys/index.tsx +107 -59
  1136. package/src/lib/plugins/custom-pages/CustomPage.tsx +18 -0
  1137. package/src/lib/plugins/custom-pages/index.tsx +24 -0
  1138. package/src/lib/plugins/markdown/MdxPage.tsx +53 -49
  1139. package/src/lib/plugins/markdown/index.tsx +53 -13
  1140. package/src/lib/plugins/markdown/resolver.ts +59 -0
  1141. package/src/lib/plugins/openapi/CollapsibleCode.tsx +86 -0
  1142. package/src/lib/plugins/openapi/ColorizedParam.tsx +49 -23
  1143. package/src/lib/plugins/openapi/Endpoint.tsx +19 -22
  1144. package/src/lib/plugins/openapi/OasProvider.tsx +51 -0
  1145. package/src/lib/plugins/openapi/OperationList.tsx +240 -70
  1146. package/src/lib/plugins/openapi/OperationListItem.tsx +122 -93
  1147. package/src/lib/plugins/openapi/ParamInfos.tsx +90 -0
  1148. package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
  1149. package/src/lib/plugins/openapi/ParameterListItem.tsx +78 -31
  1150. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +21 -2
  1151. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +15 -33
  1152. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +36 -59
  1153. package/src/lib/plugins/openapi/SchemaList.tsx +163 -0
  1154. package/src/lib/plugins/openapi/Sidecar.tsx +181 -114
  1155. package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
  1156. package/src/lib/plugins/openapi/SidecarExamples.tsx +168 -0
  1157. package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
  1158. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +65 -0
  1159. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
  1160. package/src/lib/plugins/openapi/client/createServer.ts +8 -2
  1161. package/src/lib/plugins/openapi/client/useCreateQuery.ts +45 -0
  1162. package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
  1163. package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
  1164. package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
  1165. package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
  1166. package/src/lib/plugins/openapi/context.tsx +2 -2
  1167. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +11 -18
  1168. package/src/lib/plugins/openapi/graphql/gql.ts +38 -30
  1169. package/src/lib/plugins/openapi/graphql/graphql.ts +386 -682
  1170. package/src/lib/plugins/openapi/index.tsx +111 -138
  1171. package/src/lib/plugins/openapi/interfaces.ts +58 -3
  1172. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +52 -0
  1173. package/src/lib/plugins/openapi/playground/Headers.tsx +165 -36
  1174. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
  1175. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +41 -0
  1176. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +13 -0
  1177. package/src/lib/plugins/openapi/playground/PathParams.tsx +39 -64
  1178. package/src/lib/plugins/openapi/playground/Playground.tsx +386 -245
  1179. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +7 -4
  1180. package/src/lib/plugins/openapi/playground/QueryParams.tsx +87 -89
  1181. package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
  1182. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +75 -0
  1183. package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
  1184. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +73 -0
  1185. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +230 -0
  1186. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +123 -0
  1187. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
  1188. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
  1189. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +222 -0
  1190. package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
  1191. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +182 -0
  1192. package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
  1193. package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
  1194. package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
  1195. package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
  1196. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -8
  1197. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
  1198. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +6 -3
  1199. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
  1200. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +160 -0
  1201. package/src/lib/plugins/openapi/schema/SchemaView.tsx +105 -138
  1202. package/src/lib/plugins/openapi/schema/utils.ts +32 -5
  1203. package/src/lib/plugins/openapi/state.ts +36 -0
  1204. package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +37 -0
  1205. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +95 -44
  1206. package/src/lib/plugins/openapi/util/getRoutes.tsx +198 -0
  1207. package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
  1208. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  1209. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  1210. package/src/lib/plugins/redirect/index.tsx +6 -10
  1211. package/src/lib/plugins/search-inkeep/index.tsx +80 -25
  1212. package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
  1213. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +164 -0
  1214. package/src/lib/plugins/search-pagefind/ResultList.tsx +105 -0
  1215. package/src/lib/plugins/search-pagefind/get-results.tsx +75 -0
  1216. package/src/lib/plugins/search-pagefind/index.tsx +21 -0
  1217. package/src/lib/plugins/search-pagefind/types.ts +118 -0
  1218. package/src/lib/shiki.ts +133 -0
  1219. package/src/lib/ui/Accordion.tsx +56 -0
  1220. package/src/lib/ui/ActionButton.tsx +28 -0
  1221. package/src/lib/ui/Alert.tsx +59 -0
  1222. package/src/lib/ui/AlertDialog.tsx +139 -0
  1223. package/src/lib/ui/AspectRatio.tsx +5 -0
  1224. package/src/lib/ui/Badge.tsx +37 -0
  1225. package/src/lib/ui/Breadcrumb.tsx +115 -0
  1226. package/src/lib/ui/Button.tsx +13 -8
  1227. package/src/lib/ui/Callout.tsx +36 -16
  1228. package/src/lib/ui/Card.tsx +1 -1
  1229. package/src/lib/ui/Carousel.tsx +260 -0
  1230. package/src/lib/ui/Checkbox.tsx +29 -0
  1231. package/src/lib/ui/CodeBlock.tsx +102 -0
  1232. package/src/lib/ui/Collapsible.tsx +9 -0
  1233. package/src/lib/ui/Command.tsx +193 -0
  1234. package/src/lib/ui/Dialog.tsx +120 -0
  1235. package/src/lib/ui/Drawer.tsx +38 -36
  1236. package/src/lib/ui/DropdownMenu.tsx +4 -4
  1237. package/src/lib/ui/Form.tsx +177 -0
  1238. package/src/lib/ui/HoverCard.tsx +27 -0
  1239. package/src/lib/ui/Input.tsx +2 -3
  1240. package/src/lib/ui/Label.tsx +24 -0
  1241. package/src/lib/ui/Pagination.tsx +117 -0
  1242. package/src/lib/ui/Popover.tsx +29 -0
  1243. package/src/lib/ui/Progress.tsx +26 -0
  1244. package/src/lib/ui/RadioGroup.tsx +42 -0
  1245. package/src/lib/ui/ScrollArea.tsx +46 -0
  1246. package/src/lib/ui/Select.tsx +157 -0
  1247. package/src/lib/ui/Skeleton.tsx +15 -0
  1248. package/src/lib/ui/Slider.tsx +26 -0
  1249. package/src/lib/ui/Stepper.tsx +8 -0
  1250. package/src/lib/ui/Switch.tsx +27 -0
  1251. package/src/lib/ui/SyntaxHighlight.tsx +27 -0
  1252. package/src/lib/ui/Tabs.tsx +2 -2
  1253. package/src/lib/ui/Textarea.tsx +23 -0
  1254. package/src/lib/ui/Toggle.tsx +43 -0
  1255. package/src/lib/ui/ToggleGroup.tsx +59 -0
  1256. package/src/lib/ui/Tooltip.tsx +28 -0
  1257. package/src/lib/ui/util.tsx +3 -0
  1258. package/src/lib/util/MdxComponents.tsx +37 -24
  1259. package/src/lib/util/createVariantComponent.tsx +2 -2
  1260. package/src/lib/util/detectOS.ts +9 -0
  1261. package/src/lib/util/ensureArray.ts +3 -0
  1262. package/src/lib/util/invariant.ts +15 -3
  1263. package/src/lib/util/joinPath.tsx +3 -0
  1264. package/src/lib/util/joinUrl.test.ts +62 -0
  1265. package/src/lib/util/joinUrl.ts +57 -0
  1266. package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
  1267. package/src/lib/util/traverse.ts +34 -0
  1268. package/src/lib/util/types.ts +7 -0
  1269. package/src/lib/util/url.test.ts +51 -0
  1270. package/src/lib/util/url.ts +18 -0
  1271. package/src/lib/util/useExposedProps.tsx +27 -0
  1272. package/src/lib/util/useIsomorphicLayoutEffect.ts +5 -0
  1273. package/src/lib/util/useLatest.ts +18 -0
  1274. package/src/lib/util/useOnScreen.ts +34 -0
  1275. package/src/lib/util/useScrollToAnchor.ts +48 -39
  1276. package/src/lib/util/useScrollToTop.ts +9 -4
  1277. package/src/shiki/langs/abap.js +1 -0
  1278. package/src/shiki/langs/actionscript-3.js +1 -0
  1279. package/src/shiki/langs/ada.js +1 -0
  1280. package/src/shiki/langs/angular-expression.js +1 -0
  1281. package/src/shiki/langs/angular-html.js +1 -0
  1282. package/src/shiki/langs/angular-inline-style.js +1 -0
  1283. package/src/shiki/langs/angular-inline-template.js +1 -0
  1284. package/src/shiki/langs/angular-let-declaration.js +1 -0
  1285. package/src/shiki/langs/angular-template-blocks.js +1 -0
  1286. package/src/shiki/langs/angular-template.js +1 -0
  1287. package/src/shiki/langs/angular-ts.js +1 -0
  1288. package/src/shiki/langs/apache.js +1 -0
  1289. package/src/shiki/langs/apex.js +1 -0
  1290. package/src/shiki/langs/apl.js +1 -0
  1291. package/src/shiki/langs/applescript.js +1 -0
  1292. package/src/shiki/langs/ara.js +1 -0
  1293. package/src/shiki/langs/asciidoc.js +1 -0
  1294. package/src/shiki/langs/asm.js +1 -0
  1295. package/src/shiki/langs/astro.js +1 -0
  1296. package/src/shiki/langs/awk.js +1 -0
  1297. package/src/shiki/langs/ballerina.js +1 -0
  1298. package/src/shiki/langs/bat.js +1 -0
  1299. package/src/shiki/langs/beancount.js +1 -0
  1300. package/src/shiki/langs/berry.js +1 -0
  1301. package/src/shiki/langs/bibtex.js +1 -0
  1302. package/src/shiki/langs/bicep.js +1 -0
  1303. package/src/shiki/langs/blade.js +1 -0
  1304. package/src/shiki/langs/bsl.js +1 -0
  1305. package/src/shiki/langs/c.js +1 -0
  1306. package/src/shiki/langs/cadence.js +1 -0
  1307. package/src/shiki/langs/cairo.js +1 -0
  1308. package/src/shiki/langs/clarity.js +1 -0
  1309. package/src/shiki/langs/clojure.js +1 -0
  1310. package/src/shiki/langs/cmake.js +1 -0
  1311. package/src/shiki/langs/cobol.js +1 -0
  1312. package/src/shiki/langs/codeowners.js +1 -0
  1313. package/src/shiki/langs/codeql.js +1 -0
  1314. package/src/shiki/langs/coffee.js +1 -0
  1315. package/src/shiki/langs/common-lisp.js +1 -0
  1316. package/src/shiki/langs/coq.js +1 -0
  1317. package/src/shiki/langs/cpp-macro.js +1 -0
  1318. package/src/shiki/langs/cpp.js +1 -0
  1319. package/src/shiki/langs/crystal.js +1 -0
  1320. package/src/shiki/langs/csharp.js +1 -0
  1321. package/src/shiki/langs/css.js +1 -0
  1322. package/src/shiki/langs/csv.js +1 -0
  1323. package/src/shiki/langs/cue.js +1 -0
  1324. package/src/shiki/langs/cypher.js +1 -0
  1325. package/src/shiki/langs/d.js +1 -0
  1326. package/src/shiki/langs/dart.js +1 -0
  1327. package/src/shiki/langs/dax.js +1 -0
  1328. package/src/shiki/langs/desktop.js +1 -0
  1329. package/src/shiki/langs/diff.js +1 -0
  1330. package/src/shiki/langs/docker.js +1 -0
  1331. package/src/shiki/langs/dotenv.js +1 -0
  1332. package/src/shiki/langs/dream-maker.js +1 -0
  1333. package/src/shiki/langs/edge.js +1 -0
  1334. package/src/shiki/langs/elixir.js +1 -0
  1335. package/src/shiki/langs/elm.js +1 -0
  1336. package/src/shiki/langs/emacs-lisp.js +1 -0
  1337. package/src/shiki/langs/erb.js +1 -0
  1338. package/src/shiki/langs/erlang.js +1 -0
  1339. package/src/shiki/langs/es-tag-css.js +1 -0
  1340. package/src/shiki/langs/es-tag-glsl.js +1 -0
  1341. package/src/shiki/langs/es-tag-html.js +1 -0
  1342. package/src/shiki/langs/es-tag-sql.js +1 -0
  1343. package/src/shiki/langs/es-tag-xml.js +1 -0
  1344. package/src/shiki/langs/fennel.js +1 -0
  1345. package/src/shiki/langs/fish.js +1 -0
  1346. package/src/shiki/langs/fluent.js +1 -0
  1347. package/src/shiki/langs/fortran-fixed-form.js +1 -0
  1348. package/src/shiki/langs/fortran-free-form.js +1 -0
  1349. package/src/shiki/langs/fsharp.js +1 -0
  1350. package/src/shiki/langs/gdresource.js +1 -0
  1351. package/src/shiki/langs/gdscript.js +1 -0
  1352. package/src/shiki/langs/gdshader.js +1 -0
  1353. package/src/shiki/langs/genie.js +1 -0
  1354. package/src/shiki/langs/gherkin.js +1 -0
  1355. package/src/shiki/langs/git-commit.js +1 -0
  1356. package/src/shiki/langs/git-rebase.js +1 -0
  1357. package/src/shiki/langs/gleam.js +1 -0
  1358. package/src/shiki/langs/glimmer-js.js +1 -0
  1359. package/src/shiki/langs/glimmer-ts.js +1 -0
  1360. package/src/shiki/langs/glsl.js +1 -0
  1361. package/src/shiki/langs/gnuplot.js +1 -0
  1362. package/src/shiki/langs/go.js +1 -0
  1363. package/src/shiki/langs/graphql.js +1 -0
  1364. package/src/shiki/langs/groovy.js +1 -0
  1365. package/src/shiki/langs/hack.js +1 -0
  1366. package/src/shiki/langs/haml.js +1 -0
  1367. package/src/shiki/langs/handlebars.js +1 -0
  1368. package/src/shiki/langs/haskell.js +1 -0
  1369. package/src/shiki/langs/haxe.js +1 -0
  1370. package/src/shiki/langs/hcl.js +1 -0
  1371. package/src/shiki/langs/hjson.js +1 -0
  1372. package/src/shiki/langs/hlsl.js +1 -0
  1373. package/src/shiki/langs/html-derivative.js +1 -0
  1374. package/src/shiki/langs/html.js +1 -0
  1375. package/src/shiki/langs/http.js +1 -0
  1376. package/src/shiki/langs/hxml.js +1 -0
  1377. package/src/shiki/langs/hy.js +1 -0
  1378. package/src/shiki/langs/imba.js +1 -0
  1379. package/src/shiki/langs/ini.js +1 -0
  1380. package/src/shiki/langs/java.js +1 -0
  1381. package/src/shiki/langs/javascript.js +1 -0
  1382. package/src/shiki/langs/jinja-html.js +1 -0
  1383. package/src/shiki/langs/jinja.js +1 -0
  1384. package/src/shiki/langs/jison.js +1 -0
  1385. package/src/shiki/langs/json.js +1 -0
  1386. package/src/shiki/langs/json5.js +1 -0
  1387. package/src/shiki/langs/jsonc.js +1 -0
  1388. package/src/shiki/langs/jsonl.js +1 -0
  1389. package/src/shiki/langs/jsonnet.js +1 -0
  1390. package/src/shiki/langs/jssm.js +1 -0
  1391. package/src/shiki/langs/jsx.js +1 -0
  1392. package/src/shiki/langs/julia.js +1 -0
  1393. package/src/shiki/langs/kotlin.js +1 -0
  1394. package/src/shiki/langs/kusto.js +1 -0
  1395. package/src/shiki/langs/latex.js +1 -0
  1396. package/src/shiki/langs/lean.js +1 -0
  1397. package/src/shiki/langs/less.js +1 -0
  1398. package/src/shiki/langs/liquid.js +1 -0
  1399. package/src/shiki/langs/llvm.js +1 -0
  1400. package/src/shiki/langs/log.js +1 -0
  1401. package/src/shiki/langs/logo.js +1 -0
  1402. package/src/shiki/langs/lua.js +1 -0
  1403. package/src/shiki/langs/luau.js +1 -0
  1404. package/src/shiki/langs/make.js +1 -0
  1405. package/src/shiki/langs/markdown-vue.js +1 -0
  1406. package/src/shiki/langs/markdown.js +1 -0
  1407. package/src/shiki/langs/marko.js +1 -0
  1408. package/src/shiki/langs/matlab.js +1 -0
  1409. package/src/shiki/langs/mdc.js +1 -0
  1410. package/src/shiki/langs/mdx.js +1 -0
  1411. package/src/shiki/langs/mermaid.js +1 -0
  1412. package/src/shiki/langs/mipsasm.js +1 -0
  1413. package/src/shiki/langs/mojo.js +1 -0
  1414. package/src/shiki/langs/move.js +1 -0
  1415. package/src/shiki/langs/narrat.js +1 -0
  1416. package/src/shiki/langs/nextflow.js +1 -0
  1417. package/src/shiki/langs/nginx.js +1 -0
  1418. package/src/shiki/langs/nim.js +1 -0
  1419. package/src/shiki/langs/nix.js +1 -0
  1420. package/src/shiki/langs/nushell.js +1 -0
  1421. package/src/shiki/langs/objective-c.js +1 -0
  1422. package/src/shiki/langs/objective-cpp.js +1 -0
  1423. package/src/shiki/langs/ocaml.js +1 -0
  1424. package/src/shiki/langs/pascal.js +1 -0
  1425. package/src/shiki/langs/perl.js +1 -0
  1426. package/src/shiki/langs/php.js +1 -0
  1427. package/src/shiki/langs/plsql.js +1 -0
  1428. package/src/shiki/langs/po.js +1 -0
  1429. package/src/shiki/langs/polar.js +1 -0
  1430. package/src/shiki/langs/postcss.js +1 -0
  1431. package/src/shiki/langs/powerquery.js +1 -0
  1432. package/src/shiki/langs/powershell.js +1 -0
  1433. package/src/shiki/langs/prisma.js +1 -0
  1434. package/src/shiki/langs/prolog.js +1 -0
  1435. package/src/shiki/langs/proto.js +1 -0
  1436. package/src/shiki/langs/pug.js +1 -0
  1437. package/src/shiki/langs/puppet.js +1 -0
  1438. package/src/shiki/langs/purescript.js +1 -0
  1439. package/src/shiki/langs/python.js +1 -0
  1440. package/src/shiki/langs/qml.js +1 -0
  1441. package/src/shiki/langs/qmldir.js +1 -0
  1442. package/src/shiki/langs/qss.js +1 -0
  1443. package/src/shiki/langs/r.js +1 -0
  1444. package/src/shiki/langs/racket.js +1 -0
  1445. package/src/shiki/langs/raku.js +1 -0
  1446. package/src/shiki/langs/razor.js +1 -0
  1447. package/src/shiki/langs/reg.js +1 -0
  1448. package/src/shiki/langs/regexp.js +1 -0
  1449. package/src/shiki/langs/rel.js +1 -0
  1450. package/src/shiki/langs/riscv.js +1 -0
  1451. package/src/shiki/langs/rst.js +1 -0
  1452. package/src/shiki/langs/ruby.js +1 -0
  1453. package/src/shiki/langs/rust.js +1 -0
  1454. package/src/shiki/langs/sas.js +1 -0
  1455. package/src/shiki/langs/sass.js +1 -0
  1456. package/src/shiki/langs/scala.js +1 -0
  1457. package/src/shiki/langs/scheme.js +1 -0
  1458. package/src/shiki/langs/scss.js +1 -0
  1459. package/src/shiki/langs/sdbl.js +1 -0
  1460. package/src/shiki/langs/shaderlab.js +1 -0
  1461. package/src/shiki/langs/shellscript.js +1 -0
  1462. package/src/shiki/langs/shellsession.js +1 -0
  1463. package/src/shiki/langs/smalltalk.js +1 -0
  1464. package/src/shiki/langs/solidity.js +1 -0
  1465. package/src/shiki/langs/soy.js +1 -0
  1466. package/src/shiki/langs/sparql.js +1 -0
  1467. package/src/shiki/langs/splunk.js +1 -0
  1468. package/src/shiki/langs/sql.js +1 -0
  1469. package/src/shiki/langs/ssh-config.js +1 -0
  1470. package/src/shiki/langs/stata.js +1 -0
  1471. package/src/shiki/langs/stylus.js +1 -0
  1472. package/src/shiki/langs/svelte.js +1 -0
  1473. package/src/shiki/langs/swift.js +1 -0
  1474. package/src/shiki/langs/system-verilog.js +1 -0
  1475. package/src/shiki/langs/systemd.js +1 -0
  1476. package/src/shiki/langs/talonscript.js +1 -0
  1477. package/src/shiki/langs/tasl.js +1 -0
  1478. package/src/shiki/langs/tcl.js +1 -0
  1479. package/src/shiki/langs/templ.js +1 -0
  1480. package/src/shiki/langs/terraform.js +1 -0
  1481. package/src/shiki/langs/tex.js +1 -0
  1482. package/src/shiki/langs/toml.js +1 -0
  1483. package/src/shiki/langs/ts-tags.js +1 -0
  1484. package/src/shiki/langs/tsv.js +1 -0
  1485. package/src/shiki/langs/tsx.js +1 -0
  1486. package/src/shiki/langs/turtle.js +1 -0
  1487. package/src/shiki/langs/twig.js +1 -0
  1488. package/src/shiki/langs/typescript.js +1 -0
  1489. package/src/shiki/langs/typespec.js +1 -0
  1490. package/src/shiki/langs/typst.js +1 -0
  1491. package/src/shiki/langs/v.js +1 -0
  1492. package/src/shiki/langs/vala.js +1 -0
  1493. package/src/shiki/langs/vb.js +1 -0
  1494. package/src/shiki/langs/verilog.js +1 -0
  1495. package/src/shiki/langs/vhdl.js +1 -0
  1496. package/src/shiki/langs/viml.js +1 -0
  1497. package/src/shiki/langs/vue-directives.js +1 -0
  1498. package/src/shiki/langs/vue-html.js +1 -0
  1499. package/src/shiki/langs/vue-interpolations.js +1 -0
  1500. package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
  1501. package/src/shiki/langs/vue.js +1 -0
  1502. package/src/shiki/langs/vyper.js +1 -0
  1503. package/src/shiki/langs/wasm.js +1 -0
  1504. package/src/shiki/langs/wenyan.js +1 -0
  1505. package/src/shiki/langs/wgsl.js +1 -0
  1506. package/src/shiki/langs/wikitext.js +1 -0
  1507. package/src/shiki/langs/wit.js +1 -0
  1508. package/src/shiki/langs/wolfram.js +1 -0
  1509. package/src/shiki/langs/xml.js +1 -0
  1510. package/src/shiki/langs/xsl.js +1 -0
  1511. package/src/shiki/langs/yaml.js +1 -0
  1512. package/src/shiki/langs/zenscript.js +1 -0
  1513. package/src/shiki/langs/zig.js +1 -0
  1514. package/src/shiki/themes/andromeeda.js +1 -0
  1515. package/src/shiki/themes/aurora-x.js +1 -0
  1516. package/src/shiki/themes/ayu-dark.js +1 -0
  1517. package/src/shiki/themes/catppuccin-frappe.js +1 -0
  1518. package/src/shiki/themes/catppuccin-latte.js +1 -0
  1519. package/src/shiki/themes/catppuccin-macchiato.js +1 -0
  1520. package/src/shiki/themes/catppuccin-mocha.js +1 -0
  1521. package/src/shiki/themes/dark-plus.js +1 -0
  1522. package/src/shiki/themes/dracula-soft.js +1 -0
  1523. package/src/shiki/themes/dracula.js +1 -0
  1524. package/src/shiki/themes/everforest-dark.js +1 -0
  1525. package/src/shiki/themes/everforest-light.js +1 -0
  1526. package/src/shiki/themes/github-dark-default.js +1 -0
  1527. package/src/shiki/themes/github-dark-dimmed.js +1 -0
  1528. package/src/shiki/themes/github-dark-high-contrast.js +1 -0
  1529. package/src/shiki/themes/github-dark.js +1 -0
  1530. package/src/shiki/themes/github-light-default.js +1 -0
  1531. package/src/shiki/themes/github-light-high-contrast.js +1 -0
  1532. package/src/shiki/themes/github-light.js +1 -0
  1533. package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
  1534. package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
  1535. package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
  1536. package/src/shiki/themes/gruvbox-light-hard.js +1 -0
  1537. package/src/shiki/themes/gruvbox-light-medium.js +1 -0
  1538. package/src/shiki/themes/gruvbox-light-soft.js +1 -0
  1539. package/src/shiki/themes/houston.js +1 -0
  1540. package/src/shiki/themes/kanagawa-dragon.js +1 -0
  1541. package/src/shiki/themes/kanagawa-lotus.js +1 -0
  1542. package/src/shiki/themes/kanagawa-wave.js +1 -0
  1543. package/src/shiki/themes/laserwave.js +1 -0
  1544. package/src/shiki/themes/light-plus.js +1 -0
  1545. package/src/shiki/themes/material-theme-darker.js +1 -0
  1546. package/src/shiki/themes/material-theme-lighter.js +1 -0
  1547. package/src/shiki/themes/material-theme-ocean.js +1 -0
  1548. package/src/shiki/themes/material-theme-palenight.js +1 -0
  1549. package/src/shiki/themes/material-theme.js +1 -0
  1550. package/src/shiki/themes/min-dark.js +1 -0
  1551. package/src/shiki/themes/min-light.js +1 -0
  1552. package/src/shiki/themes/monokai.js +1 -0
  1553. package/src/shiki/themes/night-owl.js +1 -0
  1554. package/src/shiki/themes/nord.js +1 -0
  1555. package/src/shiki/themes/one-dark-pro.js +1 -0
  1556. package/src/shiki/themes/one-light.js +1 -0
  1557. package/src/shiki/themes/plastic.js +1 -0
  1558. package/src/shiki/themes/poimandres.js +1 -0
  1559. package/src/shiki/themes/red.js +1 -0
  1560. package/src/shiki/themes/rose-pine-dawn.js +1 -0
  1561. package/src/shiki/themes/rose-pine-moon.js +1 -0
  1562. package/src/shiki/themes/rose-pine.js +1 -0
  1563. package/src/shiki/themes/slack-dark.js +1 -0
  1564. package/src/shiki/themes/slack-ochin.js +1 -0
  1565. package/src/shiki/themes/snazzy-light.js +1 -0
  1566. package/src/shiki/themes/solarized-dark.js +1 -0
  1567. package/src/shiki/themes/solarized-light.js +1 -0
  1568. package/src/shiki/themes/synthwave-84.js +1 -0
  1569. package/src/shiki/themes/tokyo-night.js +1 -0
  1570. package/src/shiki/themes/vesper.js +1 -0
  1571. package/src/shiki/themes/vitesse-black.js +1 -0
  1572. package/src/shiki/themes/vitesse-dark.js +1 -0
  1573. package/src/shiki/themes/vitesse-light.js +1 -0
  1574. package/LICENSE.md +0 -9
  1575. package/client.d.ts +0 -1
  1576. package/dist/app/tailwind.d.ts +0 -3
  1577. package/dist/app/tailwind.js +0 -65
  1578. package/dist/app/tailwind.js.map +0 -1
  1579. package/dist/internal.d.ts +0 -1
  1580. package/dist/internal.js +0 -2
  1581. package/dist/internal.js.map +0 -1
  1582. package/dist/lib/components/DevPortal.d.ts +0 -7
  1583. package/dist/lib/components/DevPortal.js +0 -54
  1584. package/dist/lib/components/DevPortal.js.map +0 -1
  1585. package/dist/lib/components/Dialog.js +0 -23
  1586. package/dist/lib/components/Dialog.js.map +0 -1
  1587. package/dist/lib/components/Select.js +0 -27
  1588. package/dist/lib/components/Select.js.map +0 -1
  1589. package/dist/lib/components/SlotletProvider.d.ts +0 -9
  1590. package/dist/lib/components/SlotletProvider.js +0 -16
  1591. package/dist/lib/components/SlotletProvider.js.map +0 -1
  1592. package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
  1593. package/dist/lib/components/SyntaxHighlight.js +0 -50
  1594. package/dist/lib/components/SyntaxHighlight.js.map +0 -1
  1595. package/dist/lib/components/context/PluginSystem.js +0 -2
  1596. package/dist/lib/components/context/PluginSystem.js.map +0 -1
  1597. package/dist/lib/components/context/ThemeContext.d.ts +0 -2
  1598. package/dist/lib/components/context/ThemeContext.js +0 -7
  1599. package/dist/lib/components/context/ThemeContext.js.map +0 -1
  1600. package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
  1601. package/dist/lib/components/context/ThemeProvider.js +0 -23
  1602. package/dist/lib/components/context/ThemeProvider.js.map +0 -1
  1603. package/dist/lib/core/DevPortalContext.d.ts +0 -78
  1604. package/dist/lib/core/DevPortalContext.js +0 -49
  1605. package/dist/lib/core/DevPortalContext.js.map +0 -1
  1606. package/dist/lib/plugins/custom-page/index.d.ts +0 -8
  1607. package/dist/lib/plugins/custom-page/index.js +0 -12
  1608. package/dist/lib/plugins/custom-page/index.js.map +0 -1
  1609. package/dist/lib/plugins/markdown/Toc.js +0 -48
  1610. package/dist/lib/plugins/markdown/Toc.js.map +0 -1
  1611. package/dist/lib/plugins/markdown/generateRoutes.d.ts +0 -3
  1612. package/dist/lib/plugins/markdown/generateRoutes.js +0 -21
  1613. package/dist/lib/plugins/markdown/generateRoutes.js.map +0 -1
  1614. package/dist/lib/plugins/openapi/Route.d.ts +0 -6
  1615. package/dist/lib/plugins/openapi/Route.js +0 -8
  1616. package/dist/lib/plugins/openapi/Route.js.map +0 -1
  1617. package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -12
  1618. package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -46
  1619. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
  1620. package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
  1621. package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -61
  1622. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
  1623. package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
  1624. package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
  1625. package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
  1626. package/dist/lib/plugins/openapi/client/worker.js +0 -20
  1627. package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
  1628. package/dist/lib/plugins/openapi/playground/Editor.d.ts +0 -1
  1629. package/dist/lib/plugins/openapi/playground/Editor.js +0 -5
  1630. package/dist/lib/plugins/openapi/playground/Editor.js.map +0 -1
  1631. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
  1632. package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
  1633. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
  1634. package/dist/lib/plugins/openapi/schema/SchemaComponents.d.ts +0 -13
  1635. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
  1636. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
  1637. package/dist/lib/plugins/openapi/util/urql.d.ts +0 -7
  1638. package/dist/lib/plugins/openapi/util/urql.js +0 -8
  1639. package/dist/lib/plugins/openapi/util/urql.js.map +0 -1
  1640. package/dist/lib/plugins/openapi-worker.d.ts +0 -1
  1641. package/dist/lib/plugins/openapi-worker.js +0 -2
  1642. package/dist/lib/plugins/openapi-worker.js.map +0 -1
  1643. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  1644. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  1645. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  1646. package/dist/lib/themeToggle.d.ts +0 -1
  1647. package/dist/lib/themeToggle.js +0 -7
  1648. package/dist/lib/themeToggle.js.map +0 -1
  1649. package/dist/lib/ui/Note.d.ts +0 -8
  1650. package/dist/lib/ui/Note.js +0 -23
  1651. package/dist/lib/ui/Note.js.map +0 -1
  1652. package/dist/lib/util/createWaitForNotify.d.ts +0 -1
  1653. package/dist/lib/util/createWaitForNotify.js +0 -15
  1654. package/dist/lib/util/createWaitForNotify.js.map +0 -1
  1655. package/dist/vite/plugin-custom-css.d.ts +0 -6
  1656. package/dist/vite/plugin-custom-css.js +0 -55
  1657. package/dist/vite/plugin-custom-css.js.map +0 -1
  1658. package/dist/vite/plugin-html-transform.d.ts +0 -2
  1659. package/dist/vite/plugin-html-transform.js +0 -15
  1660. package/dist/vite/plugin-html-transform.js.map +0 -1
  1661. package/dist/vite/prerender.d.ts +0 -17
  1662. package/dist/vite/prerender.js +0 -87
  1663. package/dist/vite/prerender.js.map +0 -1
  1664. package/lib/AuthenticationPlugin-Bx9FK124.js +0 -55
  1665. package/lib/AuthenticationPlugin-Bx9FK124.js.map +0 -1
  1666. package/lib/CategoryHeading-ovR-zHRq.js +0 -10
  1667. package/lib/CategoryHeading-ovR-zHRq.js.map +0 -1
  1668. package/lib/DeveloperHint-YeWHKvyr.js +0 -16
  1669. package/lib/DeveloperHint-YeWHKvyr.js.map +0 -1
  1670. package/lib/ErrorPage-CsZAN_za.js +0 -16
  1671. package/lib/ErrorPage-CsZAN_za.js.map +0 -1
  1672. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  1673. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  1674. package/lib/Input-CtVUl3eT.js +0 -2198
  1675. package/lib/Input-CtVUl3eT.js.map +0 -1
  1676. package/lib/Markdown-DapSf3wG.js +0 -20281
  1677. package/lib/Markdown-DapSf3wG.js.map +0 -1
  1678. package/lib/MdxPage-BqBWsXZ1.js +0 -172
  1679. package/lib/MdxPage-BqBWsXZ1.js.map +0 -1
  1680. package/lib/OperationList-CYrmxPa8.js +0 -602
  1681. package/lib/OperationList-CYrmxPa8.js.map +0 -1
  1682. package/lib/Route-Q5mqNQrv.js +0 -14
  1683. package/lib/Route-Q5mqNQrv.js.map +0 -1
  1684. package/lib/SidebarBadge-Dx7jtnoA.js +0 -498
  1685. package/lib/SidebarBadge-Dx7jtnoA.js.map +0 -1
  1686. package/lib/SlotletProvider-D3UD5Go3.js +0 -238
  1687. package/lib/SlotletProvider-D3UD5Go3.js.map +0 -1
  1688. package/lib/Spinner-3cQDBVGr.js +0 -7
  1689. package/lib/Spinner-3cQDBVGr.js.map +0 -1
  1690. package/lib/ZudokuContext-cr-pTRY1.js +0 -1084
  1691. package/lib/ZudokuContext-cr-pTRY1.js.map +0 -1
  1692. package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
  1693. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  1694. package/lib/assets/index-B9EWVYfo.js +0 -4790
  1695. package/lib/assets/index-B9EWVYfo.js.map +0 -1
  1696. package/lib/assets/worker-BP8Uzflt.js +0 -17916
  1697. package/lib/assets/worker-BP8Uzflt.js.map +0 -1
  1698. package/lib/index-BG0g4WW0.js +0 -1771
  1699. package/lib/index-BG0g4WW0.js.map +0 -1
  1700. package/lib/index-BlJ2rj99.js +0 -5815
  1701. package/lib/index-BlJ2rj99.js.map +0 -1
  1702. package/lib/index-BngPzhKn.js +0 -124
  1703. package/lib/index-BngPzhKn.js.map +0 -1
  1704. package/lib/index-CLd8ycZz.js +0 -4790
  1705. package/lib/index-CLd8ycZz.js.map +0 -1
  1706. package/lib/index-Dolisrci.js +0 -2814
  1707. package/lib/index-Dolisrci.js.map +0 -1
  1708. package/lib/index-LNp6rxyU.js +0 -2094
  1709. package/lib/index-LNp6rxyU.js.map +0 -1
  1710. package/lib/joinPath-B7kNnUX4.js +0 -8
  1711. package/lib/joinPath-B7kNnUX4.js.map +0 -1
  1712. package/lib/jsx-runtime-B6kdoens.js +0 -635
  1713. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  1714. package/lib/prism-bash.min-DadFsM4Z.js +0 -7
  1715. package/lib/prism-bash.min-DadFsM4Z.js.map +0 -1
  1716. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  1717. package/lib/prism-csharp.min-Yizuc34Y.js.map +0 -1
  1718. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  1719. package/lib/prism-java.min-d5iT_mOd.js.map +0 -1
  1720. package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
  1721. package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
  1722. package/lib/prism-json.min-B1GJqK1k.js +0 -2
  1723. package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
  1724. package/lib/prism-markdown.min-F3U-vPBi.js +0 -61
  1725. package/lib/prism-markdown.min-F3U-vPBi.js.map +0 -1
  1726. package/lib/prism-markup-BNGj0Tvm.js +0 -174
  1727. package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
  1728. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  1729. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  1730. package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
  1731. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
  1732. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  1733. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  1734. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  1735. package/lib/prism-ruby.min-C7LwcKyz.js.map +0 -1
  1736. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  1737. package/lib/prism-typescript.min-oSVeWCAd.js.map +0 -1
  1738. package/lib/router-D2p7Olpn.js +0 -2971
  1739. package/lib/router-D2p7Olpn.js.map +0 -1
  1740. package/lib/state-hNe1dw4B.js +0 -548
  1741. package/lib/state-hNe1dw4B.js.map +0 -1
  1742. package/lib/urql-YhcsXYy8.js +0 -1591
  1743. package/lib/urql-YhcsXYy8.js.map +0 -1
  1744. package/lib/utils-ByIc_KIM.js +0 -749
  1745. package/lib/utils-ByIc_KIM.js.map +0 -1
  1746. package/lib/zudoku.openapi-worker.js +0 -16059
  1747. package/lib/zudoku.openapi-worker.js.map +0 -1
  1748. package/lib/zudoku.plugin-custom-page.js +0 -13
  1749. package/lib/zudoku.plugin-custom-page.js.map +0 -1
  1750. package/src/app/tailwind.ts +0 -68
  1751. package/src/lib/components/DevPortal.tsx +0 -111
  1752. package/src/lib/components/Dialog.tsx +0 -119
  1753. package/src/lib/components/Select.tsx +0 -157
  1754. package/src/lib/components/SlotletProvider.tsx +0 -30
  1755. package/src/lib/components/SyntaxHighlight.tsx +0 -122
  1756. package/src/lib/components/context/PluginSystem.ts +0 -0
  1757. package/src/lib/components/context/ThemeContext.tsx +0 -8
  1758. package/src/lib/components/context/ThemeProvider.tsx +0 -27
  1759. package/src/lib/core/DevPortalContext.ts +0 -135
  1760. package/src/lib/plugins/custom-page/index.tsx +0 -22
  1761. package/src/lib/plugins/markdown/Toc.tsx +0 -135
  1762. package/src/lib/plugins/markdown/generateRoutes.tsx +0 -38
  1763. package/src/lib/plugins/openapi/Route.tsx +0 -21
  1764. package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -56
  1765. package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -80
  1766. package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
  1767. package/src/lib/plugins/openapi/client/worker.ts +0 -30
  1768. package/src/lib/plugins/openapi/playground/Editor.tsx +0 -4
  1769. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
  1770. package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
  1771. package/src/lib/plugins/openapi/util/urql.ts +0 -8
  1772. package/src/lib/plugins/openapi-worker.ts +0 -1
  1773. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
  1774. package/src/lib/themeToggle.ts +0 -7
  1775. package/src/lib/ui/Note.tsx +0 -58
  1776. package/src/lib/util/createWaitForNotify.ts +0 -18
  1777. /package/dist/lib/components/{context/PluginSystem.d.ts → Slot.test.d.ts} +0 -0
  1778. /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
  1779. /package/dist/lib/{plugins/openapi/client/worker.d.ts → hooks/useEvent.test.d.ts} +0 -0
  1780. /package/dist/lib/{components → ui}/Dialog.d.ts +0 -0
  1781. /package/dist/lib/{components → ui}/Select.d.ts +0 -0
@@ -1,1771 +0,0 @@
1
- import * as r from "react";
2
- import * as At from "react-dom";
3
- import { i as m, j as G, g as Re, w, a as Ne, m as _e, A as de, p as fe, s as T, b as we, c as X, d as Mt, e as Bt, I as jt, f as qe, h as Se, k as Ce, l as Q, n as Ge, o as Xe, q as Qe, r as Ze, t as et, u as tt, v as nt, x as rt, E as ot, y as Ht } from "./router-D2p7Olpn.js";
4
- /**
5
- * React Router v6.25.1
6
- *
7
- * Copyright (c) Remix Software Inc.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE.md file in the root directory of this source tree.
11
- *
12
- * @license MIT
13
- */
14
- function I() {
15
- return I = Object.assign ? Object.assign.bind() : function(e) {
16
- for (var t = 1; t < arguments.length; t++) {
17
- var n = arguments[t];
18
- for (var o in n)
19
- Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
20
- }
21
- return e;
22
- }, I.apply(this, arguments);
23
- }
24
- const U = /* @__PURE__ */ r.createContext(null);
25
- process.env.NODE_ENV !== "production" && (U.displayName = "DataRouter");
26
- const M = /* @__PURE__ */ r.createContext(null);
27
- process.env.NODE_ENV !== "production" && (M.displayName = "DataRouterState");
28
- const Z = /* @__PURE__ */ r.createContext(null);
29
- process.env.NODE_ENV !== "production" && (Z.displayName = "Await");
30
- const S = /* @__PURE__ */ r.createContext(null);
31
- process.env.NODE_ENV !== "production" && (S.displayName = "Navigation");
32
- const B = /* @__PURE__ */ r.createContext(null);
33
- process.env.NODE_ENV !== "production" && (B.displayName = "Location");
34
- const C = /* @__PURE__ */ r.createContext({
35
- outlet: null,
36
- matches: [],
37
- isDataRoute: !1
38
- });
39
- process.env.NODE_ENV !== "production" && (C.displayName = "Route");
40
- const xe = /* @__PURE__ */ r.createContext(null);
41
- process.env.NODE_ENV !== "production" && (xe.displayName = "RouteError");
42
- function De(e, t) {
43
- let {
44
- relative: n
45
- } = t === void 0 ? {} : t;
46
- V() || (process.env.NODE_ENV !== "production" ? m(
47
- !1,
48
- // TODO: This error is probably because they somehow have 2 versions of the
49
- // router loaded. We can help them understand how to avoid that.
50
- "useHref() may be used only in the context of a <Router> component."
51
- ) : m(!1));
52
- let {
53
- basename: o,
54
- navigator: a
55
- } = r.useContext(S), {
56
- hash: s,
57
- pathname: i,
58
- search: u
59
- } = Y(e, {
60
- relative: n
61
- }), d = i;
62
- return o !== "/" && (d = i === "/" ? o : G([o, i])), a.createHref({
63
- pathname: d,
64
- search: u,
65
- hash: s
66
- });
67
- }
68
- function V() {
69
- return r.useContext(B) != null;
70
- }
71
- function L() {
72
- return V() || (process.env.NODE_ENV !== "production" ? m(
73
- !1,
74
- // TODO: This error is probably because they somehow have 2 versions of the
75
- // router loaded. We can help them understand how to avoid that.
76
- "useLocation() may be used only in the context of a <Router> component."
77
- ) : m(!1)), r.useContext(B).location;
78
- }
79
- function at() {
80
- return r.useContext(B).navigationType;
81
- }
82
- function it(e) {
83
- V() || (process.env.NODE_ENV !== "production" ? m(
84
- !1,
85
- // TODO: This error is probably because they somehow have 2 versions of the
86
- // router loaded. We can help them understand how to avoid that.
87
- "useMatch() may be used only in the context of a <Router> component."
88
- ) : m(!1));
89
- let {
90
- pathname: t
91
- } = L();
92
- return r.useMemo(() => X(e, Mt(t)), [t, e]);
93
- }
94
- const st = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
95
- function lt(e) {
96
- r.useContext(S).static || r.useLayoutEffect(e);
97
- }
98
- function te() {
99
- let {
100
- isDataRoute: e
101
- } = r.useContext(C);
102
- return e ? Gt() : Kt();
103
- }
104
- function Kt() {
105
- V() || (process.env.NODE_ENV !== "production" ? m(
106
- !1,
107
- // TODO: This error is probably because they somehow have 2 versions of the
108
- // router loaded. We can help them understand how to avoid that.
109
- "useNavigate() may be used only in the context of a <Router> component."
110
- ) : m(!1));
111
- let e = r.useContext(U), {
112
- basename: t,
113
- future: n,
114
- navigator: o
115
- } = r.useContext(S), {
116
- matches: a
117
- } = r.useContext(C), {
118
- pathname: s
119
- } = L(), i = JSON.stringify(Re(a, n.v7_relativeSplatPath)), u = r.useRef(!1);
120
- return lt(() => {
121
- u.current = !0;
122
- }), r.useCallback(function(l, c) {
123
- if (c === void 0 && (c = {}), process.env.NODE_ENV !== "production" && w(u.current, st), !u.current) return;
124
- if (typeof l == "number") {
125
- o.go(l);
126
- return;
127
- }
128
- let f = Ne(l, JSON.parse(i), s, c.relative === "path");
129
- e == null && t !== "/" && (f.pathname = f.pathname === "/" ? t : G([t, f.pathname])), (c.replace ? o.replace : o.push)(f, c.state, c);
130
- }, [t, o, i, s, e]);
131
- }
132
- const ut = /* @__PURE__ */ r.createContext(null);
133
- function ct() {
134
- return r.useContext(ut);
135
- }
136
- function Oe(e) {
137
- let t = r.useContext(C).outlet;
138
- return t && /* @__PURE__ */ r.createElement(ut.Provider, {
139
- value: e
140
- }, t);
141
- }
142
- function dt() {
143
- let {
144
- matches: e
145
- } = r.useContext(C), t = e[e.length - 1];
146
- return t ? t.params : {};
147
- }
148
- function Y(e, t) {
149
- let {
150
- relative: n
151
- } = t === void 0 ? {} : t, {
152
- future: o
153
- } = r.useContext(S), {
154
- matches: a
155
- } = r.useContext(C), {
156
- pathname: s
157
- } = L(), i = JSON.stringify(Re(a, o.v7_relativeSplatPath));
158
- return r.useMemo(() => Ne(e, JSON.parse(i), s, n === "path"), [e, i, s, n]);
159
- }
160
- function Pe(e, t) {
161
- return pe(e, t);
162
- }
163
- function pe(e, t, n, o) {
164
- V() || (process.env.NODE_ENV !== "production" ? m(
165
- !1,
166
- // TODO: This error is probably because they somehow have 2 versions of the
167
- // router loaded. We can help them understand how to avoid that.
168
- "useRoutes() may be used only in the context of a <Router> component."
169
- ) : m(!1));
170
- let {
171
- navigator: a
172
- } = r.useContext(S), {
173
- matches: s
174
- } = r.useContext(C), i = s[s.length - 1], u = i ? i.params : {}, d = i ? i.pathname : "/", l = i ? i.pathnameBase : "/", c = i && i.route;
175
- if (process.env.NODE_ENV !== "production") {
176
- let h = c && c.path || "";
177
- yt(d, !c || h.endsWith("*"), "You rendered descendant <Routes> (or called `useRoutes()`) at " + ('"' + d + '" (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.
178
-
179
- ` + ('Please change the parent <Route path="' + h + '"> to <Route ') + ('path="' + (h === "/" ? "*" : h + "/*") + '">.'));
180
- }
181
- let f = L(), p;
182
- if (t) {
183
- var v;
184
- let h = typeof t == "string" ? fe(t) : t;
185
- l === "/" || (v = h.pathname) != null && v.startsWith(l) || (process.env.NODE_ENV !== "production" ? m(!1, "When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was " + ('matched by all parent routes. The current pathname base is "' + l + '" ') + ('but pathname "' + h.pathname + '" was given in the `location` prop.')) : m(!1)), p = h;
186
- } else
187
- p = f;
188
- let g = p.pathname || "/", b = g;
189
- if (l !== "/") {
190
- let h = l.replace(/^\//, "").split("/");
191
- b = "/" + g.replace(/^\//, "").split("/").slice(h.length).join("/");
192
- }
193
- let y = _e(e, {
194
- pathname: b
195
- });
196
- process.env.NODE_ENV !== "production" && (process.env.NODE_ENV !== "production" && w(c || y != null, 'No routes matched location "' + p.pathname + p.search + p.hash + '" '), process.env.NODE_ENV !== "production" && w(y == null || y[y.length - 1].route.element !== void 0 || y[y.length - 1].route.Component !== void 0 || y[y.length - 1].route.lazy !== void 0, 'Matched leaf route at location "' + p.pathname + p.search + p.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.'));
197
- let _ = ft(y && y.map((h) => Object.assign({}, h, {
198
- params: Object.assign({}, u, h.params),
199
- pathname: G([
200
- l,
201
- // Re-encode pathnames that were decoded inside matchRoutes
202
- a.encodeLocation ? a.encodeLocation(h.pathname).pathname : h.pathname
203
- ]),
204
- pathnameBase: h.pathnameBase === "/" ? l : G([
205
- l,
206
- // Re-encode pathnames that were decoded inside matchRoutes
207
- a.encodeLocation ? a.encodeLocation(h.pathnameBase).pathname : h.pathnameBase
208
- ])
209
- })), s, n, o);
210
- return t && _ ? /* @__PURE__ */ r.createElement(B.Provider, {
211
- value: {
212
- location: I({
213
- pathname: "/",
214
- search: "",
215
- hash: "",
216
- state: null,
217
- key: "default"
218
- }, p),
219
- navigationType: de.Pop
220
- }
221
- }, _) : _;
222
- }
223
- function zt() {
224
- let e = ke(), t = we(e) ? e.status + " " + e.statusText : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null, o = "rgba(200,200,200, 0.5)", a = {
225
- padding: "0.5rem",
226
- backgroundColor: o
227
- }, s = {
228
- padding: "2px 4px",
229
- backgroundColor: o
230
- }, i = null;
231
- return process.env.NODE_ENV !== "production" && (console.error("Error handled by React Router default ErrorBoundary:", e), i = /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ r.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ r.createElement("code", {
232
- style: s
233
- }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ r.createElement("code", {
234
- style: s
235
- }, "errorElement"), " prop on your route."))), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ r.createElement("h3", {
236
- style: {
237
- fontStyle: "italic"
238
- }
239
- }, t), n ? /* @__PURE__ */ r.createElement("pre", {
240
- style: a
241
- }, n) : null, i);
242
- }
243
- const Wt = /* @__PURE__ */ r.createElement(zt, null);
244
- class Yt extends r.Component {
245
- constructor(t) {
246
- super(t), this.state = {
247
- location: t.location,
248
- revalidation: t.revalidation,
249
- error: t.error
250
- };
251
- }
252
- static getDerivedStateFromError(t) {
253
- return {
254
- error: t
255
- };
256
- }
257
- static getDerivedStateFromProps(t, n) {
258
- return n.location !== t.location || n.revalidation !== "idle" && t.revalidation === "idle" ? {
259
- error: t.error,
260
- location: t.location,
261
- revalidation: t.revalidation
262
- } : {
263
- error: t.error !== void 0 ? t.error : n.error,
264
- location: n.location,
265
- revalidation: t.revalidation || n.revalidation
266
- };
267
- }
268
- componentDidCatch(t, n) {
269
- console.error("React Router caught the following error during render", t, n);
270
- }
271
- render() {
272
- return this.state.error !== void 0 ? /* @__PURE__ */ r.createElement(C.Provider, {
273
- value: this.props.routeContext
274
- }, /* @__PURE__ */ r.createElement(xe.Provider, {
275
- value: this.state.error,
276
- children: this.props.component
277
- })) : this.props.children;
278
- }
279
- }
280
- function $t(e) {
281
- let {
282
- routeContext: t,
283
- match: n,
284
- children: o
285
- } = e, a = r.useContext(U);
286
- return a && a.static && a.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (a.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ r.createElement(C.Provider, {
287
- value: t
288
- }, o);
289
- }
290
- function ft(e, t, n, o) {
291
- var a;
292
- if (t === void 0 && (t = []), n === void 0 && (n = null), o === void 0 && (o = null), e == null) {
293
- var s;
294
- if ((s = n) != null && s.errors)
295
- e = n.matches;
296
- else
297
- return null;
298
- }
299
- let i = e, u = (a = n) == null ? void 0 : a.errors;
300
- if (u != null) {
301
- let c = i.findIndex((f) => f.route.id && (u == null ? void 0 : u[f.route.id]) !== void 0);
302
- c >= 0 || (process.env.NODE_ENV !== "production" ? m(!1, "Could not find a matching route for errors on route IDs: " + Object.keys(u).join(",")) : m(!1)), i = i.slice(0, Math.min(i.length, c + 1));
303
- }
304
- let d = !1, l = -1;
305
- if (n && o && o.v7_partialHydration)
306
- for (let c = 0; c < i.length; c++) {
307
- let f = i[c];
308
- if ((f.route.HydrateFallback || f.route.hydrateFallbackElement) && (l = c), f.route.id) {
309
- let {
310
- loaderData: p,
311
- errors: v
312
- } = n, g = f.route.loader && p[f.route.id] === void 0 && (!v || v[f.route.id] === void 0);
313
- if (f.route.lazy || g) {
314
- d = !0, l >= 0 ? i = i.slice(0, l + 1) : i = [i[0]];
315
- break;
316
- }
317
- }
318
- }
319
- return i.reduceRight((c, f, p) => {
320
- let v, g = !1, b = null, y = null;
321
- n && (v = u && f.route.id ? u[f.route.id] : void 0, b = f.route.errorElement || Wt, d && (l < 0 && p === 0 ? (yt("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), g = !0, y = null) : l === p && (g = !0, y = f.route.hydrateFallbackElement || null)));
322
- let _ = t.concat(i.slice(0, p + 1)), h = () => {
323
- let E;
324
- return v ? E = b : g ? E = y : f.route.Component ? E = /* @__PURE__ */ r.createElement(f.route.Component, null) : f.route.element ? E = f.route.element : E = c, /* @__PURE__ */ r.createElement($t, {
325
- match: f,
326
- routeContext: {
327
- outlet: c,
328
- matches: _,
329
- isDataRoute: n != null
330
- },
331
- children: E
332
- });
333
- };
334
- return n && (f.route.ErrorBoundary || f.route.errorElement || p === 0) ? /* @__PURE__ */ r.createElement(Yt, {
335
- location: n.location,
336
- revalidation: n.revalidation,
337
- component: b,
338
- error: v,
339
- children: h(),
340
- routeContext: {
341
- outlet: null,
342
- matches: _,
343
- isDataRoute: !0
344
- }
345
- }) : h();
346
- }, null);
347
- }
348
- var he = /* @__PURE__ */ function(e) {
349
- return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
350
- }(he || {}), O = /* @__PURE__ */ function(e) {
351
- return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
352
- }(O || {});
353
- function Le(e) {
354
- return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
355
- }
356
- function Te(e) {
357
- let t = r.useContext(U);
358
- return t || (process.env.NODE_ENV !== "production" ? m(!1, Le(e)) : m(!1)), t;
359
- }
360
- function j(e) {
361
- let t = r.useContext(M);
362
- return t || (process.env.NODE_ENV !== "production" ? m(!1, Le(e)) : m(!1)), t;
363
- }
364
- function Jt(e) {
365
- let t = r.useContext(C);
366
- return t || (process.env.NODE_ENV !== "production" ? m(!1, Le(e)) : m(!1)), t;
367
- }
368
- function ne(e) {
369
- let t = Jt(e), n = t.matches[t.matches.length - 1];
370
- return n.route.id || (process.env.NODE_ENV !== "production" ? m(!1, e + ' can only be used on routes that contain a unique "id"') : m(!1)), n.route.id;
371
- }
372
- function Fe() {
373
- return ne(O.UseRouteId);
374
- }
375
- function Ue() {
376
- return j(O.UseNavigation).navigation;
377
- }
378
- function pt() {
379
- let e = Te(he.UseRevalidator), t = j(O.UseRevalidator);
380
- return r.useMemo(() => ({
381
- revalidate: e.router.revalidate,
382
- state: t.revalidation
383
- }), [e.router.revalidate, t.revalidation]);
384
- }
385
- function Ve() {
386
- let {
387
- matches: e,
388
- loaderData: t
389
- } = j(O.UseMatches);
390
- return r.useMemo(() => e.map((n) => Bt(n, t)), [e, t]);
391
- }
392
- function ht() {
393
- let e = j(O.UseLoaderData), t = ne(O.UseLoaderData);
394
- if (e.errors && e.errors[t] != null) {
395
- console.error("You cannot `useLoaderData` in an errorElement (routeId: " + t + ")");
396
- return;
397
- }
398
- return e.loaderData[t];
399
- }
400
- function mt(e) {
401
- return j(O.UseRouteLoaderData).loaderData[e];
402
- }
403
- function vt() {
404
- let e = j(O.UseActionData), t = ne(O.UseLoaderData);
405
- return e.actionData ? e.actionData[t] : void 0;
406
- }
407
- function ke() {
408
- var e;
409
- let t = r.useContext(xe), n = j(O.UseRouteError), o = ne(O.UseRouteError);
410
- return t !== void 0 ? t : (e = n.errors) == null ? void 0 : e[o];
411
- }
412
- function Ie() {
413
- let e = r.useContext(Z);
414
- return e == null ? void 0 : e._data;
415
- }
416
- function Et() {
417
- let e = r.useContext(Z);
418
- return e == null ? void 0 : e._error;
419
- }
420
- let qt = 0;
421
- function Ae(e) {
422
- let {
423
- router: t,
424
- basename: n
425
- } = Te(he.UseBlocker), o = j(O.UseBlocker), [a, s] = r.useState(""), i = r.useCallback((u) => {
426
- if (typeof e != "function")
427
- return !!e;
428
- if (n === "/")
429
- return e(u);
430
- let {
431
- currentLocation: d,
432
- nextLocation: l,
433
- historyAction: c
434
- } = u;
435
- return e({
436
- currentLocation: I({}, d, {
437
- pathname: T(d.pathname, n) || d.pathname
438
- }),
439
- nextLocation: I({}, l, {
440
- pathname: T(l.pathname, n) || l.pathname
441
- }),
442
- historyAction: c
443
- });
444
- }, [n, e]);
445
- return r.useEffect(() => {
446
- let u = String(++qt);
447
- return s(u), () => t.deleteBlocker(u);
448
- }, [t]), r.useEffect(() => {
449
- a !== "" && t.getBlocker(a, i);
450
- }, [t, a, i]), a && o.blockers.has(a) ? o.blockers.get(a) : jt;
451
- }
452
- function Gt() {
453
- let {
454
- router: e
455
- } = Te(he.UseNavigateStable), t = ne(O.UseNavigateStable), n = r.useRef(!1);
456
- return lt(() => {
457
- n.current = !0;
458
- }), r.useCallback(function(a, s) {
459
- s === void 0 && (s = {}), process.env.NODE_ENV !== "production" && w(n.current, st), n.current && (typeof a == "number" ? e.navigate(a) : e.navigate(a, I({
460
- fromRouteId: t
461
- }, s)));
462
- }, [e, t]);
463
- }
464
- const We = {};
465
- function yt(e, t, n) {
466
- !t && !We[e] && (We[e] = !0, process.env.NODE_ENV !== "production" && w(!1, n));
467
- }
468
- const Xt = "startTransition", ue = r[Xt];
469
- function Qt(e) {
470
- let {
471
- fallbackElement: t,
472
- router: n,
473
- future: o
474
- } = e, [a, s] = r.useState(n.state), {
475
- v7_startTransition: i
476
- } = o || {}, u = r.useCallback((f) => {
477
- i && ue ? ue(() => s(f)) : s(f);
478
- }, [s, i]);
479
- r.useLayoutEffect(() => n.subscribe(u), [n, u]), r.useEffect(() => {
480
- process.env.NODE_ENV !== "production" && w(t == null || !n.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead");
481
- }, []);
482
- let d = r.useMemo(() => ({
483
- createHref: n.createHref,
484
- encodeLocation: n.encodeLocation,
485
- go: (f) => n.navigate(f),
486
- push: (f, p, v) => n.navigate(f, {
487
- state: p,
488
- preventScrollReset: v == null ? void 0 : v.preventScrollReset
489
- }),
490
- replace: (f, p, v) => n.navigate(f, {
491
- replace: !0,
492
- state: p,
493
- preventScrollReset: v == null ? void 0 : v.preventScrollReset
494
- })
495
- }), [n]), l = n.basename || "/", c = r.useMemo(() => ({
496
- router: n,
497
- navigator: d,
498
- static: !1,
499
- basename: l
500
- }), [n, d, l]);
501
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(U.Provider, {
502
- value: c
503
- }, /* @__PURE__ */ r.createElement(M.Provider, {
504
- value: a
505
- }, /* @__PURE__ */ r.createElement(H, {
506
- basename: l,
507
- location: a.location,
508
- navigationType: a.historyAction,
509
- navigator: d,
510
- future: {
511
- v7_relativeSplatPath: n.future.v7_relativeSplatPath
512
- }
513
- }, a.initialized || n.future.v7_partialHydration ? /* @__PURE__ */ r.createElement(Zt, {
514
- routes: n.routes,
515
- future: n.future,
516
- state: a
517
- }) : t))), null);
518
- }
519
- function Zt(e) {
520
- let {
521
- routes: t,
522
- future: n,
523
- state: o
524
- } = e;
525
- return pe(t, void 0, o, n);
526
- }
527
- function gt(e) {
528
- let {
529
- basename: t,
530
- children: n,
531
- initialEntries: o,
532
- initialIndex: a,
533
- future: s
534
- } = e, i = r.useRef();
535
- i.current == null && (i.current = qe({
536
- initialEntries: o,
537
- initialIndex: a,
538
- v5Compat: !0
539
- }));
540
- let u = i.current, [d, l] = r.useState({
541
- action: u.action,
542
- location: u.location
543
- }), {
544
- v7_startTransition: c
545
- } = s || {}, f = r.useCallback((p) => {
546
- c && ue ? ue(() => l(p)) : l(p);
547
- }, [l, c]);
548
- return r.useLayoutEffect(() => u.listen(f), [u, f]), /* @__PURE__ */ r.createElement(H, {
549
- basename: t,
550
- children: n,
551
- location: d.location,
552
- navigationType: d.action,
553
- navigator: u,
554
- future: s
555
- });
556
- }
557
- function bt(e) {
558
- let {
559
- to: t,
560
- replace: n,
561
- state: o,
562
- relative: a
563
- } = e;
564
- V() || (process.env.NODE_ENV !== "production" ? m(
565
- !1,
566
- // TODO: This error is probably because they somehow have 2 versions of
567
- // the router loaded. We can help them understand how to avoid that.
568
- "<Navigate> may be used only in the context of a <Router> component."
569
- ) : m(!1));
570
- let {
571
- future: s,
572
- static: i
573
- } = r.useContext(S);
574
- process.env.NODE_ENV !== "production" && w(!i, "<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.");
575
- let {
576
- matches: u
577
- } = r.useContext(C), {
578
- pathname: d
579
- } = L(), l = te(), c = Ne(t, Re(u, s.v7_relativeSplatPath), d, a === "path"), f = JSON.stringify(c);
580
- return r.useEffect(() => l(JSON.parse(f), {
581
- replace: n,
582
- state: o,
583
- relative: a
584
- }), [l, f, a, n, o]), null;
585
- }
586
- function Rt(e) {
587
- return Oe(e.context);
588
- }
589
- function Me(e) {
590
- process.env.NODE_ENV !== "production" ? m(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.") : m(!1);
591
- }
592
- function H(e) {
593
- let {
594
- basename: t = "/",
595
- children: n = null,
596
- location: o,
597
- navigationType: a = de.Pop,
598
- navigator: s,
599
- static: i = !1,
600
- future: u
601
- } = e;
602
- V() && (process.env.NODE_ENV !== "production" ? m(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.") : m(!1));
603
- let d = t.replace(/^\/*/, "/"), l = r.useMemo(() => ({
604
- basename: d,
605
- navigator: s,
606
- static: i,
607
- future: I({
608
- v7_relativeSplatPath: !1
609
- }, u)
610
- }), [d, u, s, i]);
611
- typeof o == "string" && (o = fe(o));
612
- let {
613
- pathname: c = "/",
614
- search: f = "",
615
- hash: p = "",
616
- state: v = null,
617
- key: g = "default"
618
- } = o, b = r.useMemo(() => {
619
- let y = T(c, d);
620
- return y == null ? null : {
621
- location: {
622
- pathname: y,
623
- search: f,
624
- hash: p,
625
- state: v,
626
- key: g
627
- },
628
- navigationType: a
629
- };
630
- }, [d, c, f, p, v, g, a]);
631
- return process.env.NODE_ENV !== "production" && w(b != null, '<Router basename="' + d + '"> is not able to match the URL ' + ('"' + c + f + p + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), b == null ? null : /* @__PURE__ */ r.createElement(S.Provider, {
632
- value: l
633
- }, /* @__PURE__ */ r.createElement(B.Provider, {
634
- children: n,
635
- value: b
636
- }));
637
- }
638
- function Nt(e) {
639
- let {
640
- children: t,
641
- location: n
642
- } = e;
643
- return Pe(W(t), n);
644
- }
645
- function _t(e) {
646
- let {
647
- children: t,
648
- errorElement: n,
649
- resolve: o
650
- } = e;
651
- return /* @__PURE__ */ r.createElement(tn, {
652
- resolve: o,
653
- errorElement: n
654
- }, /* @__PURE__ */ r.createElement(nn, null, t));
655
- }
656
- var P = /* @__PURE__ */ function(e) {
657
- return e[e.pending = 0] = "pending", e[e.success = 1] = "success", e[e.error = 2] = "error", e;
658
- }(P || {});
659
- const en = new Promise(() => {
660
- });
661
- class tn extends r.Component {
662
- constructor(t) {
663
- super(t), this.state = {
664
- error: null
665
- };
666
- }
667
- static getDerivedStateFromError(t) {
668
- return {
669
- error: t
670
- };
671
- }
672
- componentDidCatch(t, n) {
673
- console.error("<Await> caught the following error during render", t, n);
674
- }
675
- render() {
676
- let {
677
- children: t,
678
- errorElement: n,
679
- resolve: o
680
- } = this.props, a = null, s = P.pending;
681
- if (!(o instanceof Promise))
682
- s = P.success, a = Promise.resolve(), Object.defineProperty(a, "_tracked", {
683
- get: () => !0
684
- }), Object.defineProperty(a, "_data", {
685
- get: () => o
686
- });
687
- else if (this.state.error) {
688
- s = P.error;
689
- let i = this.state.error;
690
- a = Promise.reject().catch(() => {
691
- }), Object.defineProperty(a, "_tracked", {
692
- get: () => !0
693
- }), Object.defineProperty(a, "_error", {
694
- get: () => i
695
- });
696
- } else o._tracked ? (a = o, s = "_error" in a ? P.error : "_data" in a ? P.success : P.pending) : (s = P.pending, Object.defineProperty(o, "_tracked", {
697
- get: () => !0
698
- }), a = o.then((i) => Object.defineProperty(o, "_data", {
699
- get: () => i
700
- }), (i) => Object.defineProperty(o, "_error", {
701
- get: () => i
702
- })));
703
- if (s === P.error && a._error instanceof Se)
704
- throw en;
705
- if (s === P.error && !n)
706
- throw a._error;
707
- if (s === P.error)
708
- return /* @__PURE__ */ r.createElement(Z.Provider, {
709
- value: a,
710
- children: n
711
- });
712
- if (s === P.success)
713
- return /* @__PURE__ */ r.createElement(Z.Provider, {
714
- value: a,
715
- children: t
716
- });
717
- throw a;
718
- }
719
- }
720
- function nn(e) {
721
- let {
722
- children: t
723
- } = e, n = Ie(), o = typeof t == "function" ? t(n) : t;
724
- return /* @__PURE__ */ r.createElement(r.Fragment, null, o);
725
- }
726
- function W(e, t) {
727
- t === void 0 && (t = []);
728
- let n = [];
729
- return r.Children.forEach(e, (o, a) => {
730
- if (!/* @__PURE__ */ r.isValidElement(o))
731
- return;
732
- let s = [...t, a];
733
- if (o.type === r.Fragment) {
734
- n.push.apply(n, W(o.props.children, s));
735
- return;
736
- }
737
- o.type !== Me && (process.env.NODE_ENV !== "production" ? m(!1, "[" + (typeof o.type == "string" ? o.type : o.type.name) + "] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>") : m(!1)), !o.props.index || !o.props.children || (process.env.NODE_ENV !== "production" ? m(!1, "An index route cannot have child routes.") : m(!1));
738
- let i = {
739
- id: o.props.id || s.join("-"),
740
- caseSensitive: o.props.caseSensitive,
741
- element: o.props.element,
742
- Component: o.props.Component,
743
- index: o.props.index,
744
- path: o.props.path,
745
- loader: o.props.loader,
746
- action: o.props.action,
747
- errorElement: o.props.errorElement,
748
- ErrorBoundary: o.props.ErrorBoundary,
749
- hasErrorBoundary: o.props.ErrorBoundary != null || o.props.errorElement != null,
750
- shouldRevalidate: o.props.shouldRevalidate,
751
- handle: o.props.handle,
752
- lazy: o.props.lazy
753
- };
754
- o.props.children && (i.children = W(o.props.children, s)), n.push(i);
755
- }), n;
756
- }
757
- function wt(e) {
758
- return ft(e);
759
- }
760
- function me(e) {
761
- let t = {
762
- // Note: this check also occurs in createRoutesFromChildren so update
763
- // there if you change this -- please and thank you!
764
- hasErrorBoundary: e.ErrorBoundary != null || e.errorElement != null
765
- };
766
- return e.Component && (process.env.NODE_ENV !== "production" && e.element && process.env.NODE_ENV !== "production" && w(!1, "You should not include both `Component` and `element` on your route - `Component` will be used."), Object.assign(t, {
767
- element: /* @__PURE__ */ r.createElement(e.Component),
768
- Component: void 0
769
- })), e.HydrateFallback && (process.env.NODE_ENV !== "production" && e.hydrateFallbackElement && process.env.NODE_ENV !== "production" && w(!1, "You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."), Object.assign(t, {
770
- hydrateFallbackElement: /* @__PURE__ */ r.createElement(e.HydrateFallback),
771
- HydrateFallback: void 0
772
- })), e.ErrorBoundary && (process.env.NODE_ENV !== "production" && e.errorElement && process.env.NODE_ENV !== "production" && w(!1, "You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."), Object.assign(t, {
773
- errorElement: /* @__PURE__ */ r.createElement(e.ErrorBoundary),
774
- ErrorBoundary: void 0
775
- })), t;
776
- }
777
- function St(e, t) {
778
- return Ce({
779
- basename: t == null ? void 0 : t.basename,
780
- future: I({}, t == null ? void 0 : t.future, {
781
- v7_prependBasename: !0
782
- }),
783
- history: qe({
784
- initialEntries: t == null ? void 0 : t.initialEntries,
785
- initialIndex: t == null ? void 0 : t.initialIndex
786
- }),
787
- hydrationData: t == null ? void 0 : t.hydrationData,
788
- routes: e,
789
- mapRouteProperties: me,
790
- unstable_dataStrategy: t == null ? void 0 : t.unstable_dataStrategy,
791
- unstable_patchRoutesOnMiss: t == null ? void 0 : t.unstable_patchRoutesOnMiss
792
- }).initialize();
793
- }
794
- const jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
795
- __proto__: null,
796
- AbortedDeferredError: Se,
797
- Await: _t,
798
- MemoryRouter: gt,
799
- Navigate: bt,
800
- get NavigationType() {
801
- return de;
802
- },
803
- Outlet: Rt,
804
- Route: Me,
805
- Router: H,
806
- RouterProvider: Qt,
807
- Routes: Nt,
808
- UNSAFE_DataRouterContext: U,
809
- UNSAFE_DataRouterStateContext: M,
810
- UNSAFE_LocationContext: B,
811
- UNSAFE_NavigationContext: S,
812
- UNSAFE_RouteContext: C,
813
- UNSAFE_mapRouteProperties: me,
814
- UNSAFE_useRouteId: Fe,
815
- UNSAFE_useRoutesImpl: pe,
816
- createMemoryRouter: St,
817
- createPath: Q,
818
- createRoutesFromChildren: W,
819
- createRoutesFromElements: W,
820
- defer: Ge,
821
- generatePath: Xe,
822
- isRouteErrorResponse: we,
823
- json: Qe,
824
- matchPath: X,
825
- matchRoutes: _e,
826
- parsePath: fe,
827
- redirect: Ze,
828
- redirectDocument: et,
829
- renderMatches: wt,
830
- resolvePath: tt,
831
- useActionData: vt,
832
- useAsyncError: Et,
833
- useAsyncValue: Ie,
834
- useBlocker: Ae,
835
- useHref: De,
836
- useInRouterContext: V,
837
- useLoaderData: ht,
838
- useLocation: L,
839
- useMatch: it,
840
- useMatches: Ve,
841
- useNavigate: te,
842
- useNavigation: Ue,
843
- useNavigationType: at,
844
- useOutlet: Oe,
845
- useOutletContext: ct,
846
- useParams: dt,
847
- useResolvedPath: Y,
848
- useRevalidator: pt,
849
- useRouteError: ke,
850
- useRouteLoaderData: mt,
851
- useRoutes: Pe
852
- }, Symbol.toStringTag, { value: "Module" }));
853
- /**
854
- * React Router DOM v6.25.1
855
- *
856
- * Copyright (c) Remix Software Inc.
857
- *
858
- * This source code is licensed under the MIT license found in the
859
- * LICENSE.md file in the root directory of this source tree.
860
- *
861
- * @license MIT
862
- */
863
- function D() {
864
- return D = Object.assign ? Object.assign.bind() : function(e) {
865
- for (var t = 1; t < arguments.length; t++) {
866
- var n = arguments[t];
867
- for (var o in n)
868
- Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
869
- }
870
- return e;
871
- }, D.apply(this, arguments);
872
- }
873
- function Be(e, t) {
874
- if (e == null) return {};
875
- var n = {}, o = Object.keys(e), a, s;
876
- for (s = 0; s < o.length; s++)
877
- a = o[s], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
878
- return n;
879
- }
880
- const se = "get", le = "application/x-www-form-urlencoded";
881
- function ve(e) {
882
- return e != null && typeof e.tagName == "string";
883
- }
884
- function rn(e) {
885
- return ve(e) && e.tagName.toLowerCase() === "button";
886
- }
887
- function on(e) {
888
- return ve(e) && e.tagName.toLowerCase() === "form";
889
- }
890
- function an(e) {
891
- return ve(e) && e.tagName.toLowerCase() === "input";
892
- }
893
- function sn(e) {
894
- return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
895
- }
896
- function ln(e, t) {
897
- return e.button === 0 && // Ignore everything but left clicks
898
- (!t || t === "_self") && // Let browser handle "target=_blank" etc.
899
- !sn(e);
900
- }
901
- function ce(e) {
902
- return e === void 0 && (e = ""), new URLSearchParams(typeof e == "string" || Array.isArray(e) || e instanceof URLSearchParams ? e : Object.keys(e).reduce((t, n) => {
903
- let o = e[n];
904
- return t.concat(Array.isArray(o) ? o.map((a) => [n, a]) : [[n, o]]);
905
- }, []));
906
- }
907
- function un(e, t) {
908
- let n = ce(e);
909
- return t && t.forEach((o, a) => {
910
- n.has(a) || t.getAll(a).forEach((s) => {
911
- n.append(a, s);
912
- });
913
- }), n;
914
- }
915
- let ae = null;
916
- function cn() {
917
- if (ae === null)
918
- try {
919
- new FormData(
920
- document.createElement("form"),
921
- // @ts-expect-error if FormData supports the submitter parameter, this will throw
922
- 0
923
- ), ae = !1;
924
- } catch {
925
- ae = !0;
926
- }
927
- return ae;
928
- }
929
- const dn = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
930
- function be(e) {
931
- return e != null && !dn.has(e) ? (process.env.NODE_ENV !== "production" && w(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + le + '"')), null) : e;
932
- }
933
- function fn(e, t) {
934
- let n, o, a, s, i;
935
- if (on(e)) {
936
- let u = e.getAttribute("action");
937
- o = u ? T(u, t) : null, n = e.getAttribute("method") || se, a = be(e.getAttribute("enctype")) || le, s = new FormData(e);
938
- } else if (rn(e) || an(e) && (e.type === "submit" || e.type === "image")) {
939
- let u = e.form;
940
- if (u == null)
941
- throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
942
- let d = e.getAttribute("formaction") || u.getAttribute("action");
943
- if (o = d ? T(d, t) : null, n = e.getAttribute("formmethod") || u.getAttribute("method") || se, a = be(e.getAttribute("formenctype")) || be(u.getAttribute("enctype")) || le, s = new FormData(u, e), !cn()) {
944
- let {
945
- name: l,
946
- type: c,
947
- value: f
948
- } = e;
949
- if (c === "image") {
950
- let p = l ? l + "." : "";
951
- s.append(p + "x", "0"), s.append(p + "y", "0");
952
- } else l && s.append(l, f);
953
- }
954
- } else {
955
- if (ve(e))
956
- throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
957
- n = se, o = null, a = le, i = e;
958
- }
959
- return s && a === "text/plain" && (i = s, s = void 0), {
960
- action: o,
961
- method: n.toLowerCase(),
962
- encType: a,
963
- formData: s,
964
- body: i
965
- };
966
- }
967
- const pn = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "unstable_viewTransition"], hn = ["aria-current", "caseSensitive", "className", "end", "style", "to", "unstable_viewTransition", "children"], mn = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "unstable_viewTransition"], vn = "6";
968
- try {
969
- window.__reactRouterVersion = vn;
970
- } catch {
971
- }
972
- function En(e, t) {
973
- return Ce({
974
- basename: t == null ? void 0 : t.basename,
975
- future: D({}, t == null ? void 0 : t.future, {
976
- v7_prependBasename: !0
977
- }),
978
- history: nt({
979
- window: t == null ? void 0 : t.window
980
- }),
981
- hydrationData: (t == null ? void 0 : t.hydrationData) || Ct(),
982
- routes: e,
983
- mapRouteProperties: me,
984
- unstable_dataStrategy: t == null ? void 0 : t.unstable_dataStrategy,
985
- unstable_patchRoutesOnMiss: t == null ? void 0 : t.unstable_patchRoutesOnMiss,
986
- window: t == null ? void 0 : t.window
987
- }).initialize();
988
- }
989
- function yn(e, t) {
990
- return Ce({
991
- basename: t == null ? void 0 : t.basename,
992
- future: D({}, t == null ? void 0 : t.future, {
993
- v7_prependBasename: !0
994
- }),
995
- history: rt({
996
- window: t == null ? void 0 : t.window
997
- }),
998
- hydrationData: (t == null ? void 0 : t.hydrationData) || Ct(),
999
- routes: e,
1000
- mapRouteProperties: me,
1001
- unstable_dataStrategy: t == null ? void 0 : t.unstable_dataStrategy,
1002
- unstable_patchRoutesOnMiss: t == null ? void 0 : t.unstable_patchRoutesOnMiss,
1003
- window: t == null ? void 0 : t.window
1004
- }).initialize();
1005
- }
1006
- function Ct() {
1007
- var e;
1008
- let t = (e = window) == null ? void 0 : e.__staticRouterHydrationData;
1009
- return t && t.errors && (t = D({}, t, {
1010
- errors: gn(t.errors)
1011
- })), t;
1012
- }
1013
- function gn(e) {
1014
- if (!e) return null;
1015
- let t = Object.entries(e), n = {};
1016
- for (let [o, a] of t)
1017
- if (a && a.__type === "RouteErrorResponse")
1018
- n[o] = new ot(a.status, a.statusText, a.data, a.internal === !0);
1019
- else if (a && a.__type === "Error") {
1020
- if (a.__subType) {
1021
- let s = window[a.__subType];
1022
- if (typeof s == "function")
1023
- try {
1024
- let i = new s(a.message);
1025
- i.stack = "", n[o] = i;
1026
- } catch {
1027
- }
1028
- }
1029
- if (n[o] == null) {
1030
- let s = new Error(a.message);
1031
- s.stack = "", n[o] = s;
1032
- }
1033
- } else
1034
- n[o] = a;
1035
- return n;
1036
- }
1037
- const Ee = /* @__PURE__ */ r.createContext({
1038
- isTransitioning: !1
1039
- });
1040
- process.env.NODE_ENV !== "production" && (Ee.displayName = "ViewTransition");
1041
- const ye = /* @__PURE__ */ r.createContext(/* @__PURE__ */ new Map());
1042
- process.env.NODE_ENV !== "production" && (ye.displayName = "Fetchers");
1043
- const bn = "startTransition", A = r[bn], Rn = "flushSync", Ye = At[Rn], Nn = "useId", $e = r[Nn];
1044
- function _n(e) {
1045
- A ? A(e) : e();
1046
- }
1047
- function q(e) {
1048
- Ye ? Ye(e) : e();
1049
- }
1050
- class wn {
1051
- constructor() {
1052
- this.status = "pending", this.promise = new Promise((t, n) => {
1053
- this.resolve = (o) => {
1054
- this.status === "pending" && (this.status = "resolved", t(o));
1055
- }, this.reject = (o) => {
1056
- this.status === "pending" && (this.status = "rejected", n(o));
1057
- };
1058
- });
1059
- }
1060
- }
1061
- function Sn(e) {
1062
- let {
1063
- fallbackElement: t,
1064
- router: n,
1065
- future: o
1066
- } = e, [a, s] = r.useState(n.state), [i, u] = r.useState(), [d, l] = r.useState({
1067
- isTransitioning: !1
1068
- }), [c, f] = r.useState(), [p, v] = r.useState(), [g, b] = r.useState(), y = r.useRef(/* @__PURE__ */ new Map()), {
1069
- v7_startTransition: _
1070
- } = o || {}, h = r.useCallback((N) => {
1071
- _ ? _n(N) : N();
1072
- }, [_]), E = r.useCallback((N, F) => {
1073
- let {
1074
- deletedFetchers: x,
1075
- unstable_flushSync: oe,
1076
- unstable_viewTransitionOpts: K
1077
- } = F;
1078
- x.forEach((z) => y.current.delete(z)), N.fetchers.forEach((z, It) => {
1079
- z.data !== void 0 && y.current.set(It, z.data);
1080
- });
1081
- let kt = n.window == null || n.window.document == null || typeof n.window.document.startViewTransition != "function";
1082
- if (!K || kt) {
1083
- oe ? q(() => s(N)) : h(() => s(N));
1084
- return;
1085
- }
1086
- if (oe) {
1087
- q(() => {
1088
- p && (c && c.resolve(), p.skipTransition()), l({
1089
- isTransitioning: !0,
1090
- flushSync: !0,
1091
- currentLocation: K.currentLocation,
1092
- nextLocation: K.nextLocation
1093
- });
1094
- });
1095
- let z = n.window.document.startViewTransition(() => {
1096
- q(() => s(N));
1097
- });
1098
- z.finished.finally(() => {
1099
- q(() => {
1100
- f(void 0), v(void 0), u(void 0), l({
1101
- isTransitioning: !1
1102
- });
1103
- });
1104
- }), q(() => v(z));
1105
- return;
1106
- }
1107
- p ? (c && c.resolve(), p.skipTransition(), b({
1108
- state: N,
1109
- currentLocation: K.currentLocation,
1110
- nextLocation: K.nextLocation
1111
- })) : (u(N), l({
1112
- isTransitioning: !0,
1113
- flushSync: !1,
1114
- currentLocation: K.currentLocation,
1115
- nextLocation: K.nextLocation
1116
- }));
1117
- }, [n.window, p, c, y, h]);
1118
- r.useLayoutEffect(() => n.subscribe(E), [n, E]), r.useEffect(() => {
1119
- d.isTransitioning && !d.flushSync && f(new wn());
1120
- }, [d]), r.useEffect(() => {
1121
- if (c && i && n.window) {
1122
- let N = i, F = c.promise, x = n.window.document.startViewTransition(async () => {
1123
- h(() => s(N)), await F;
1124
- });
1125
- x.finished.finally(() => {
1126
- f(void 0), v(void 0), u(void 0), l({
1127
- isTransitioning: !1
1128
- });
1129
- }), v(x);
1130
- }
1131
- }, [h, i, c, n.window]), r.useEffect(() => {
1132
- c && i && a.location.key === i.location.key && c.resolve();
1133
- }, [c, p, a.location, i]), r.useEffect(() => {
1134
- !d.isTransitioning && g && (u(g.state), l({
1135
- isTransitioning: !0,
1136
- flushSync: !1,
1137
- currentLocation: g.currentLocation,
1138
- nextLocation: g.nextLocation
1139
- }), b(void 0));
1140
- }, [d.isTransitioning, g]), r.useEffect(() => {
1141
- process.env.NODE_ENV !== "production" && w(t == null || !n.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead");
1142
- }, []);
1143
- let R = r.useMemo(() => ({
1144
- createHref: n.createHref,
1145
- encodeLocation: n.encodeLocation,
1146
- go: (N) => n.navigate(N),
1147
- push: (N, F, x) => n.navigate(N, {
1148
- state: F,
1149
- preventScrollReset: x == null ? void 0 : x.preventScrollReset
1150
- }),
1151
- replace: (N, F, x) => n.navigate(N, {
1152
- replace: !0,
1153
- state: F,
1154
- preventScrollReset: x == null ? void 0 : x.preventScrollReset
1155
- })
1156
- }), [n]), k = n.basename || "/", J = r.useMemo(() => ({
1157
- router: n,
1158
- navigator: R,
1159
- static: !1,
1160
- basename: k
1161
- }), [n, R, k]), re = r.useMemo(() => ({
1162
- v7_relativeSplatPath: n.future.v7_relativeSplatPath
1163
- }), [n.future.v7_relativeSplatPath]);
1164
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(U.Provider, {
1165
- value: J
1166
- }, /* @__PURE__ */ r.createElement(M.Provider, {
1167
- value: a
1168
- }, /* @__PURE__ */ r.createElement(ye.Provider, {
1169
- value: y.current
1170
- }, /* @__PURE__ */ r.createElement(Ee.Provider, {
1171
- value: d
1172
- }, /* @__PURE__ */ r.createElement(H, {
1173
- basename: k,
1174
- location: a.location,
1175
- navigationType: a.historyAction,
1176
- navigator: R,
1177
- future: re
1178
- }, a.initialized || n.future.v7_partialHydration ? /* @__PURE__ */ r.createElement(Cn, {
1179
- routes: n.routes,
1180
- future: n.future,
1181
- state: a
1182
- }) : t))))), null);
1183
- }
1184
- const Cn = /* @__PURE__ */ r.memo(xn);
1185
- function xn(e) {
1186
- let {
1187
- routes: t,
1188
- future: n,
1189
- state: o
1190
- } = e;
1191
- return pe(t, void 0, o, n);
1192
- }
1193
- function Dn(e) {
1194
- let {
1195
- basename: t,
1196
- children: n,
1197
- future: o,
1198
- window: a
1199
- } = e, s = r.useRef();
1200
- s.current == null && (s.current = nt({
1201
- window: a,
1202
- v5Compat: !0
1203
- }));
1204
- let i = s.current, [u, d] = r.useState({
1205
- action: i.action,
1206
- location: i.location
1207
- }), {
1208
- v7_startTransition: l
1209
- } = o || {}, c = r.useCallback((f) => {
1210
- l && A ? A(() => d(f)) : d(f);
1211
- }, [d, l]);
1212
- return r.useLayoutEffect(() => i.listen(c), [i, c]), /* @__PURE__ */ r.createElement(H, {
1213
- basename: t,
1214
- children: n,
1215
- location: u.location,
1216
- navigationType: u.action,
1217
- navigator: i,
1218
- future: o
1219
- });
1220
- }
1221
- function On(e) {
1222
- let {
1223
- basename: t,
1224
- children: n,
1225
- future: o,
1226
- window: a
1227
- } = e, s = r.useRef();
1228
- s.current == null && (s.current = rt({
1229
- window: a,
1230
- v5Compat: !0
1231
- }));
1232
- let i = s.current, [u, d] = r.useState({
1233
- action: i.action,
1234
- location: i.location
1235
- }), {
1236
- v7_startTransition: l
1237
- } = o || {}, c = r.useCallback((f) => {
1238
- l && A ? A(() => d(f)) : d(f);
1239
- }, [d, l]);
1240
- return r.useLayoutEffect(() => i.listen(c), [i, c]), /* @__PURE__ */ r.createElement(H, {
1241
- basename: t,
1242
- children: n,
1243
- location: u.location,
1244
- navigationType: u.action,
1245
- navigator: i,
1246
- future: o
1247
- });
1248
- }
1249
- function xt(e) {
1250
- let {
1251
- basename: t,
1252
- children: n,
1253
- future: o,
1254
- history: a
1255
- } = e, [s, i] = r.useState({
1256
- action: a.action,
1257
- location: a.location
1258
- }), {
1259
- v7_startTransition: u
1260
- } = o || {}, d = r.useCallback((l) => {
1261
- u && A ? A(() => i(l)) : i(l);
1262
- }, [i, u]);
1263
- return r.useLayoutEffect(() => a.listen(d), [a, d]), /* @__PURE__ */ r.createElement(H, {
1264
- basename: t,
1265
- children: n,
1266
- location: s.location,
1267
- navigationType: s.action,
1268
- navigator: a,
1269
- future: o
1270
- });
1271
- }
1272
- process.env.NODE_ENV !== "production" && (xt.displayName = "unstable_HistoryRouter");
1273
- const Pn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, je = /* @__PURE__ */ r.forwardRef(function(t, n) {
1274
- let {
1275
- onClick: o,
1276
- relative: a,
1277
- reloadDocument: s,
1278
- replace: i,
1279
- state: u,
1280
- target: d,
1281
- to: l,
1282
- preventScrollReset: c,
1283
- unstable_viewTransition: f
1284
- } = t, p = Be(t, pn), {
1285
- basename: v
1286
- } = r.useContext(S), g, b = !1;
1287
- if (typeof l == "string" && Ln.test(l) && (g = l, Pn))
1288
- try {
1289
- let E = new URL(window.location.href), R = l.startsWith("//") ? new URL(E.protocol + l) : new URL(l), k = T(R.pathname, v);
1290
- R.origin === E.origin && k != null ? l = k + R.search + R.hash : b = !0;
1291
- } catch {
1292
- process.env.NODE_ENV !== "production" && w(!1, '<Link to="' + l + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
1293
- }
1294
- let y = De(l, {
1295
- relative: a
1296
- }), _ = Lt(l, {
1297
- replace: i,
1298
- state: u,
1299
- target: d,
1300
- preventScrollReset: c,
1301
- relative: a,
1302
- unstable_viewTransition: f
1303
- });
1304
- function h(E) {
1305
- o && o(E), E.defaultPrevented || _(E);
1306
- }
1307
- return (
1308
- // eslint-disable-next-line jsx-a11y/anchor-has-content
1309
- /* @__PURE__ */ r.createElement("a", D({}, p, {
1310
- href: g || y,
1311
- onClick: b || s ? o : h,
1312
- ref: n,
1313
- target: d
1314
- }))
1315
- );
1316
- });
1317
- process.env.NODE_ENV !== "production" && (je.displayName = "Link");
1318
- const Dt = /* @__PURE__ */ r.forwardRef(function(t, n) {
1319
- let {
1320
- "aria-current": o = "page",
1321
- caseSensitive: a = !1,
1322
- className: s = "",
1323
- end: i = !1,
1324
- style: u,
1325
- to: d,
1326
- unstable_viewTransition: l,
1327
- children: c
1328
- } = t, f = Be(t, hn), p = Y(d, {
1329
- relative: f.relative
1330
- }), v = L(), g = r.useContext(M), {
1331
- navigator: b,
1332
- basename: y
1333
- } = r.useContext(S), _ = g != null && // Conditional usage is OK here because the usage of a data router is static
1334
- // eslint-disable-next-line react-hooks/rules-of-hooks
1335
- Vt(p) && l === !0, h = b.encodeLocation ? b.encodeLocation(p).pathname : p.pathname, E = v.pathname, R = g && g.navigation && g.navigation.location ? g.navigation.location.pathname : null;
1336
- a || (E = E.toLowerCase(), R = R ? R.toLowerCase() : null, h = h.toLowerCase()), R && y && (R = T(R, y) || R);
1337
- const k = h !== "/" && h.endsWith("/") ? h.length - 1 : h.length;
1338
- let J = E === h || !i && E.startsWith(h) && E.charAt(k) === "/", re = R != null && (R === h || !i && R.startsWith(h) && R.charAt(h.length) === "/"), N = {
1339
- isActive: J,
1340
- isPending: re,
1341
- isTransitioning: _
1342
- }, F = J ? o : void 0, x;
1343
- typeof s == "function" ? x = s(N) : x = [s, J ? "active" : null, re ? "pending" : null, _ ? "transitioning" : null].filter(Boolean).join(" ");
1344
- let oe = typeof u == "function" ? u(N) : u;
1345
- return /* @__PURE__ */ r.createElement(je, D({}, f, {
1346
- "aria-current": F,
1347
- className: x,
1348
- ref: n,
1349
- style: oe,
1350
- to: d,
1351
- unstable_viewTransition: l
1352
- }), typeof c == "function" ? c(N) : c);
1353
- });
1354
- process.env.NODE_ENV !== "production" && (Dt.displayName = "NavLink");
1355
- const He = /* @__PURE__ */ r.forwardRef((e, t) => {
1356
- let {
1357
- fetcherKey: n,
1358
- navigate: o,
1359
- reloadDocument: a,
1360
- replace: s,
1361
- state: i,
1362
- method: u = se,
1363
- action: d,
1364
- onSubmit: l,
1365
- relative: c,
1366
- preventScrollReset: f,
1367
- unstable_viewTransition: p
1368
- } = e, v = Be(e, mn), g = ze(), b = Ft(d, {
1369
- relative: c
1370
- }), y = u.toLowerCase() === "get" ? "get" : "post", _ = (h) => {
1371
- if (l && l(h), h.defaultPrevented) return;
1372
- h.preventDefault();
1373
- let E = h.nativeEvent.submitter, R = (E == null ? void 0 : E.getAttribute("formmethod")) || u;
1374
- g(E || h.currentTarget, {
1375
- fetcherKey: n,
1376
- method: R,
1377
- navigate: o,
1378
- replace: s,
1379
- state: i,
1380
- relative: c,
1381
- preventScrollReset: f,
1382
- unstable_viewTransition: p
1383
- });
1384
- };
1385
- return /* @__PURE__ */ r.createElement("form", D({
1386
- ref: t,
1387
- method: y,
1388
- action: b,
1389
- onSubmit: a ? l : _
1390
- }, v));
1391
- });
1392
- process.env.NODE_ENV !== "production" && (He.displayName = "Form");
1393
- function Ot(e) {
1394
- let {
1395
- getKey: t,
1396
- storageKey: n
1397
- } = e;
1398
- return Ut({
1399
- getKey: t,
1400
- storageKey: n
1401
- }), null;
1402
- }
1403
- process.env.NODE_ENV !== "production" && (Ot.displayName = "ScrollRestoration");
1404
- var $;
1405
- (function(e) {
1406
- e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
1407
- })($ || ($ = {}));
1408
- var ee;
1409
- (function(e) {
1410
- e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
1411
- })(ee || (ee = {}));
1412
- function Pt(e) {
1413
- return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
1414
- }
1415
- function ge(e) {
1416
- let t = r.useContext(U);
1417
- return t || (process.env.NODE_ENV !== "production" ? m(!1, Pt(e)) : m(!1)), t;
1418
- }
1419
- function Ke(e) {
1420
- let t = r.useContext(M);
1421
- return t || (process.env.NODE_ENV !== "production" ? m(!1, Pt(e)) : m(!1)), t;
1422
- }
1423
- function Lt(e, t) {
1424
- let {
1425
- target: n,
1426
- replace: o,
1427
- state: a,
1428
- preventScrollReset: s,
1429
- relative: i,
1430
- unstable_viewTransition: u
1431
- } = t === void 0 ? {} : t, d = te(), l = L(), c = Y(e, {
1432
- relative: i
1433
- });
1434
- return r.useCallback((f) => {
1435
- if (ln(f, n)) {
1436
- f.preventDefault();
1437
- let p = o !== void 0 ? o : Q(l) === Q(c);
1438
- d(e, {
1439
- replace: p,
1440
- state: a,
1441
- preventScrollReset: s,
1442
- relative: i,
1443
- unstable_viewTransition: u
1444
- });
1445
- }
1446
- }, [l, d, c, o, a, n, e, s, i, u]);
1447
- }
1448
- function Tn(e) {
1449
- process.env.NODE_ENV !== "production" && w(typeof URLSearchParams < "u", "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.");
1450
- let t = r.useRef(ce(e)), n = r.useRef(!1), o = L(), a = r.useMemo(() => (
1451
- // Only merge in the defaults if we haven't yet called setSearchParams.
1452
- // Once we call that we want those to take precedence, otherwise you can't
1453
- // remove a param with setSearchParams({}) if it has an initial value
1454
- un(o.search, n.current ? null : t.current)
1455
- ), [o.search]), s = te(), i = r.useCallback((u, d) => {
1456
- const l = ce(typeof u == "function" ? u(a) : u);
1457
- n.current = !0, s("?" + l, d);
1458
- }, [s, a]);
1459
- return [a, i];
1460
- }
1461
- function Fn() {
1462
- if (typeof document > "u")
1463
- throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
1464
- }
1465
- let Un = 0, Tt = () => "__" + String(++Un) + "__";
1466
- function ze() {
1467
- let {
1468
- router: e
1469
- } = ge($.UseSubmit), {
1470
- basename: t
1471
- } = r.useContext(S), n = Fe();
1472
- return r.useCallback(function(o, a) {
1473
- a === void 0 && (a = {}), Fn();
1474
- let {
1475
- action: s,
1476
- method: i,
1477
- encType: u,
1478
- formData: d,
1479
- body: l
1480
- } = fn(o, t);
1481
- if (a.navigate === !1) {
1482
- let c = a.fetcherKey || Tt();
1483
- e.fetch(c, n, a.action || s, {
1484
- preventScrollReset: a.preventScrollReset,
1485
- formData: d,
1486
- body: l,
1487
- formMethod: a.method || i,
1488
- formEncType: a.encType || u,
1489
- unstable_flushSync: a.unstable_flushSync
1490
- });
1491
- } else
1492
- e.navigate(a.action || s, {
1493
- preventScrollReset: a.preventScrollReset,
1494
- formData: d,
1495
- body: l,
1496
- formMethod: a.method || i,
1497
- formEncType: a.encType || u,
1498
- replace: a.replace,
1499
- state: a.state,
1500
- fromRouteId: n,
1501
- unstable_flushSync: a.unstable_flushSync,
1502
- unstable_viewTransition: a.unstable_viewTransition
1503
- });
1504
- }, [e, t, n]);
1505
- }
1506
- function Ft(e, t) {
1507
- let {
1508
- relative: n
1509
- } = t === void 0 ? {} : t, {
1510
- basename: o
1511
- } = r.useContext(S), a = r.useContext(C);
1512
- a || (process.env.NODE_ENV !== "production" ? m(!1, "useFormAction must be used inside a RouteContext") : m(!1));
1513
- let [s] = a.matches.slice(-1), i = D({}, Y(e || ".", {
1514
- relative: n
1515
- })), u = L();
1516
- if (e == null) {
1517
- i.search = u.search;
1518
- let d = new URLSearchParams(i.search);
1519
- d.has("index") && d.get("index") === "" && (d.delete("index"), i.search = d.toString() ? "?" + d.toString() : "");
1520
- }
1521
- return (!e || e === ".") && s.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), o !== "/" && (i.pathname = i.pathname === "/" ? o : G([o, i.pathname])), Q(i);
1522
- }
1523
- function Vn(e) {
1524
- var t;
1525
- let {
1526
- key: n
1527
- } = e === void 0 ? {} : e, {
1528
- router: o
1529
- } = ge($.UseFetcher), a = Ke(ee.UseFetcher), s = r.useContext(ye), i = r.useContext(C), u = (t = i.matches[i.matches.length - 1]) == null ? void 0 : t.route.id;
1530
- s || (process.env.NODE_ENV !== "production" ? m(!1, "useFetcher must be used inside a FetchersContext") : m(!1)), i || (process.env.NODE_ENV !== "production" ? m(!1, "useFetcher must be used inside a RouteContext") : m(!1)), u == null && (process.env.NODE_ENV !== "production" ? m(!1, 'useFetcher can only be used on routes that contain a unique "id"') : m(!1));
1531
- let d = $e ? $e() : "", [l, c] = r.useState(n || d);
1532
- n && n !== l ? c(n) : l || c(Tt()), r.useEffect(() => (o.getFetcher(l), () => {
1533
- o.deleteFetcher(l);
1534
- }), [o, l]);
1535
- let f = r.useCallback((h, E) => {
1536
- u || (process.env.NODE_ENV !== "production" ? m(!1, "No routeId available for fetcher.load()") : m(!1)), o.fetch(l, u, h, E);
1537
- }, [l, u, o]), p = ze(), v = r.useCallback((h, E) => {
1538
- p(h, D({}, E, {
1539
- navigate: !1,
1540
- fetcherKey: l
1541
- }));
1542
- }, [l, p]), g = r.useMemo(() => {
1543
- let h = /* @__PURE__ */ r.forwardRef((E, R) => /* @__PURE__ */ r.createElement(He, D({}, E, {
1544
- navigate: !1,
1545
- fetcherKey: l,
1546
- ref: R
1547
- })));
1548
- return process.env.NODE_ENV !== "production" && (h.displayName = "fetcher.Form"), h;
1549
- }, [l]), b = a.fetchers.get(l) || Ht, y = s.get(l);
1550
- return r.useMemo(() => D({
1551
- Form: g,
1552
- submit: v,
1553
- load: f
1554
- }, b, {
1555
- data: y
1556
- }), [g, v, f, b, y]);
1557
- }
1558
- function kn() {
1559
- let e = Ke(ee.UseFetchers);
1560
- return Array.from(e.fetchers.entries()).map((t) => {
1561
- let [n, o] = t;
1562
- return D({}, o, {
1563
- key: n
1564
- });
1565
- });
1566
- }
1567
- const Je = "react-router-scroll-positions";
1568
- let ie = {};
1569
- function Ut(e) {
1570
- let {
1571
- getKey: t,
1572
- storageKey: n
1573
- } = e === void 0 ? {} : e, {
1574
- router: o
1575
- } = ge($.UseScrollRestoration), {
1576
- restoreScrollPosition: a,
1577
- preventScrollReset: s
1578
- } = Ke(ee.UseScrollRestoration), {
1579
- basename: i
1580
- } = r.useContext(S), u = L(), d = Ve(), l = Ue();
1581
- r.useEffect(() => (window.history.scrollRestoration = "manual", () => {
1582
- window.history.scrollRestoration = "auto";
1583
- }), []), An(r.useCallback(() => {
1584
- if (l.state === "idle") {
1585
- let c = (t ? t(u, d) : null) || u.key;
1586
- ie[c] = window.scrollY;
1587
- }
1588
- try {
1589
- sessionStorage.setItem(n || Je, JSON.stringify(ie));
1590
- } catch (c) {
1591
- process.env.NODE_ENV !== "production" && w(!1, "Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (" + c + ").");
1592
- }
1593
- window.history.scrollRestoration = "auto";
1594
- }, [n, t, l.state, u, d])), typeof document < "u" && (r.useLayoutEffect(() => {
1595
- try {
1596
- let c = sessionStorage.getItem(n || Je);
1597
- c && (ie = JSON.parse(c));
1598
- } catch {
1599
- }
1600
- }, [n]), r.useLayoutEffect(() => {
1601
- let c = t && i !== "/" ? (p, v) => t(
1602
- // Strip the basename to match useLocation()
1603
- D({}, p, {
1604
- pathname: T(p.pathname, i) || p.pathname
1605
- }),
1606
- v
1607
- ) : t, f = o == null ? void 0 : o.enableScrollRestoration(ie, () => window.scrollY, c);
1608
- return () => f && f();
1609
- }, [o, i, t]), r.useLayoutEffect(() => {
1610
- if (a !== !1) {
1611
- if (typeof a == "number") {
1612
- window.scrollTo(0, a);
1613
- return;
1614
- }
1615
- if (u.hash) {
1616
- let c = document.getElementById(decodeURIComponent(u.hash.slice(1)));
1617
- if (c) {
1618
- c.scrollIntoView();
1619
- return;
1620
- }
1621
- }
1622
- s !== !0 && window.scrollTo(0, 0);
1623
- }
1624
- }, [u, a, s]));
1625
- }
1626
- function In(e, t) {
1627
- let {
1628
- capture: n
1629
- } = t || {};
1630
- r.useEffect(() => {
1631
- let o = n != null ? {
1632
- capture: n
1633
- } : void 0;
1634
- return window.addEventListener("beforeunload", e, o), () => {
1635
- window.removeEventListener("beforeunload", e, o);
1636
- };
1637
- }, [e, n]);
1638
- }
1639
- function An(e, t) {
1640
- let {
1641
- capture: n
1642
- } = {};
1643
- r.useEffect(() => {
1644
- let o = n != null ? {
1645
- capture: n
1646
- } : void 0;
1647
- return window.addEventListener("pagehide", e, o), () => {
1648
- window.removeEventListener("pagehide", e, o);
1649
- };
1650
- }, [e, n]);
1651
- }
1652
- function Mn(e) {
1653
- let {
1654
- when: t,
1655
- message: n
1656
- } = e, o = Ae(t);
1657
- r.useEffect(() => {
1658
- o.state === "blocked" && (window.confirm(n) ? setTimeout(o.proceed, 0) : o.reset());
1659
- }, [o, n]), r.useEffect(() => {
1660
- o.state === "blocked" && !t && o.reset();
1661
- }, [o, t]);
1662
- }
1663
- function Vt(e, t) {
1664
- t === void 0 && (t = {});
1665
- let n = r.useContext(Ee);
1666
- n == null && (process.env.NODE_ENV !== "production" ? m(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : m(!1));
1667
- let {
1668
- basename: o
1669
- } = ge($.useViewTransitionState), a = Y(e, {
1670
- relative: t.relative
1671
- });
1672
- if (!n.isTransitioning)
1673
- return !1;
1674
- let s = T(n.currentLocation.pathname, o) || n.currentLocation.pathname, i = T(n.nextLocation.pathname, o) || n.nextLocation.pathname;
1675
- return X(a.pathname, i) != null || X(a.pathname, s) != null;
1676
- }
1677
- const Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1678
- __proto__: null,
1679
- AbortedDeferredError: Se,
1680
- Await: _t,
1681
- BrowserRouter: Dn,
1682
- Form: He,
1683
- HashRouter: On,
1684
- Link: je,
1685
- MemoryRouter: gt,
1686
- NavLink: Dt,
1687
- Navigate: bt,
1688
- get NavigationType() {
1689
- return de;
1690
- },
1691
- Outlet: Rt,
1692
- Route: Me,
1693
- Router: H,
1694
- RouterProvider: Sn,
1695
- Routes: Nt,
1696
- ScrollRestoration: Ot,
1697
- UNSAFE_DataRouterContext: U,
1698
- UNSAFE_DataRouterStateContext: M,
1699
- UNSAFE_ErrorResponseImpl: ot,
1700
- UNSAFE_FetchersContext: ye,
1701
- UNSAFE_LocationContext: B,
1702
- UNSAFE_NavigationContext: S,
1703
- UNSAFE_RouteContext: C,
1704
- UNSAFE_ViewTransitionContext: Ee,
1705
- UNSAFE_useRouteId: Fe,
1706
- UNSAFE_useScrollRestoration: Ut,
1707
- createBrowserRouter: En,
1708
- createHashRouter: yn,
1709
- createMemoryRouter: St,
1710
- createPath: Q,
1711
- createRoutesFromChildren: W,
1712
- createRoutesFromElements: W,
1713
- createSearchParams: ce,
1714
- defer: Ge,
1715
- generatePath: Xe,
1716
- isRouteErrorResponse: we,
1717
- json: Qe,
1718
- matchPath: X,
1719
- matchRoutes: _e,
1720
- parsePath: fe,
1721
- redirect: Ze,
1722
- redirectDocument: et,
1723
- renderMatches: wt,
1724
- resolvePath: tt,
1725
- unstable_HistoryRouter: xt,
1726
- unstable_usePrompt: Mn,
1727
- unstable_useViewTransitionState: Vt,
1728
- useActionData: vt,
1729
- useAsyncError: Et,
1730
- useAsyncValue: Ie,
1731
- useBeforeUnload: In,
1732
- useBlocker: Ae,
1733
- useFetcher: Vn,
1734
- useFetchers: kn,
1735
- useFormAction: Ft,
1736
- useHref: De,
1737
- useInRouterContext: V,
1738
- useLinkClickHandler: Lt,
1739
- useLoaderData: ht,
1740
- useLocation: L,
1741
- useMatch: it,
1742
- useMatches: Ve,
1743
- useNavigate: te,
1744
- useNavigation: Ue,
1745
- useNavigationType: at,
1746
- useOutlet: Oe,
1747
- useOutletContext: ct,
1748
- useParams: dt,
1749
- useResolvedPath: Y,
1750
- useRevalidator: pt,
1751
- useRouteError: ke,
1752
- useRouteLoaderData: mt,
1753
- useRoutes: Pe,
1754
- useSearchParams: Tn,
1755
- useSubmit: ze
1756
- }, Symbol.toStringTag, { value: "Module" }));
1757
- export {
1758
- je as L,
1759
- Dt as N,
1760
- Rt as O,
1761
- Sn as R,
1762
- te as a,
1763
- L as b,
1764
- dt as c,
1765
- ke as d,
1766
- jn as e,
1767
- Hn as f,
1768
- Ue as g,
1769
- Tn as u
1770
- };
1771
- //# sourceMappingURL=index-BG0g4WW0.js.map