zudoku 0.0.0-f9211eb → 0.0.0-f98e47d6

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 (1879) hide show
  1. package/README.md +33 -13
  2. package/cli.js +9 -2
  3. package/dist/app/ZuploBuildConfig.d.ts +45 -0
  4. package/dist/app/ZuploBuildConfig.js +29 -0
  5. package/dist/app/ZuploBuildConfig.js.map +1 -0
  6. package/dist/app/demo.js +22 -6
  7. package/dist/app/demo.js.map +1 -1
  8. package/dist/app/entry.client.d.ts +0 -2
  9. package/dist/app/entry.client.js +39 -4
  10. package/dist/app/entry.client.js.map +1 -1
  11. package/dist/app/entry.server.d.ts +0 -2
  12. package/dist/app/entry.server.js +3 -5
  13. package/dist/app/entry.server.js.map +1 -1
  14. package/dist/app/env.d.ts +33 -0
  15. package/dist/app/env.js +37 -0
  16. package/dist/app/env.js.map +1 -0
  17. package/dist/app/main.d.ts +2 -1
  18. package/dist/app/main.js +41 -47
  19. package/dist/app/main.js.map +1 -1
  20. package/dist/app/standalone.js +11 -7
  21. package/dist/app/standalone.js.map +1 -1
  22. package/dist/cli/build/handler.js +9 -1
  23. package/dist/cli/build/handler.js.map +1 -1
  24. package/dist/cli/cli.js +14 -2
  25. package/dist/cli/cli.js.map +1 -1
  26. package/dist/cli/cmds/build.d.ts +1 -1
  27. package/dist/cli/cmds/dev.d.ts +1 -1
  28. package/dist/cli/cmds/preview.d.ts +1 -1
  29. package/dist/cli/common/analytics/lib.js +1 -1
  30. package/dist/cli/common/analytics/lib.js.map +1 -1
  31. package/dist/cli/common/logger.js +0 -1
  32. package/dist/cli/common/logger.js.map +1 -1
  33. package/dist/cli/common/machine-id/lib.js +3 -1
  34. package/dist/cli/common/machine-id/lib.js.map +1 -1
  35. package/dist/cli/common/outdated.js +2 -1
  36. package/dist/cli/common/outdated.js.map +1 -1
  37. package/dist/cli/common/output.js +2 -3
  38. package/dist/cli/common/output.js.map +1 -1
  39. package/dist/cli/common/utils/box.js +2 -2
  40. package/dist/cli/common/utils/box.js.map +1 -1
  41. package/dist/cli/common/validators/lib.js +1 -1
  42. package/dist/cli/common/validators/lib.js.map +1 -1
  43. package/dist/cli/dev/handler.js +0 -4
  44. package/dist/cli/dev/handler.js.map +1 -1
  45. package/dist/codegen.js +2 -2
  46. package/dist/codegen.js.map +1 -1
  47. package/dist/config/config.d.ts +17 -3
  48. package/dist/config/file-exists.d.ts +1 -0
  49. package/dist/config/file-exists.js +5 -0
  50. package/dist/config/file-exists.js.map +1 -0
  51. package/dist/config/loader.d.ts +18 -17
  52. package/dist/config/loader.js +95 -103
  53. package/dist/config/loader.js.map +1 -1
  54. package/dist/config/validators/BuildSchema.d.ts +36 -0
  55. package/dist/config/validators/BuildSchema.js +25 -0
  56. package/dist/config/validators/BuildSchema.js.map +1 -0
  57. package/dist/config/validators/InputNavigationSchema.d.ts +7486 -0
  58. package/dist/config/validators/InputNavigationSchema.js +77 -0
  59. package/dist/config/validators/InputNavigationSchema.js.map +1 -0
  60. package/dist/config/validators/InputNavigationSchema.test-d.js +146 -0
  61. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
  62. package/dist/config/validators/NavigationSchema.d.ts +44 -0
  63. package/dist/config/validators/NavigationSchema.js +98 -0
  64. package/dist/config/validators/NavigationSchema.js.map +1 -0
  65. package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
  66. package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
  67. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
  68. package/dist/config/validators/auth.d.ts +2 -2
  69. package/dist/config/validators/auth.js +1 -1
  70. package/dist/config/validators/auth.js.map +1 -1
  71. package/dist/config/validators/icon-types.d.ts +2 -1
  72. package/dist/config/validators/icon-types.js +1833 -1
  73. package/dist/config/validators/icon-types.js.map +1 -1
  74. package/dist/config/validators/validate.d.ts +591 -2760
  75. package/dist/config/validators/validate.js +441 -18
  76. package/dist/config/validators/validate.js.map +1 -1
  77. package/dist/config/validators/validate.test.js +140 -0
  78. package/dist/config/validators/validate.test.js.map +1 -0
  79. package/dist/flat-config.d.ts +331 -0
  80. package/dist/index.d.ts +10 -6
  81. package/dist/index.js +4 -0
  82. package/dist/index.js.map +1 -1
  83. package/dist/lib/MissingIcon.d.ts +1 -1
  84. package/dist/lib/MissingIcon.js.map +1 -1
  85. package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
  86. package/dist/lib/assets/language-icons/csharp.js +4 -0
  87. package/dist/lib/assets/language-icons/csharp.js.map +1 -0
  88. package/dist/lib/assets/language-icons/css.d.ts +3 -0
  89. package/dist/lib/assets/language-icons/css.js +4 -0
  90. package/dist/lib/assets/language-icons/css.js.map +1 -0
  91. package/dist/lib/assets/language-icons/go.d.ts +3 -0
  92. package/dist/lib/assets/language-icons/go.js +4 -0
  93. package/dist/lib/assets/language-icons/go.js.map +1 -0
  94. package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
  95. package/dist/lib/assets/language-icons/graphql.js +4 -0
  96. package/dist/lib/assets/language-icons/graphql.js.map +1 -0
  97. package/dist/lib/assets/language-icons/html.d.ts +3 -0
  98. package/dist/lib/assets/language-icons/html.js +4 -0
  99. package/dist/lib/assets/language-icons/html.js.map +1 -0
  100. package/dist/lib/assets/language-icons/java.d.ts +3 -0
  101. package/dist/lib/assets/language-icons/java.js +4 -0
  102. package/dist/lib/assets/language-icons/java.js.map +1 -0
  103. package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
  104. package/dist/lib/assets/language-icons/javascript.js +4 -0
  105. package/dist/lib/assets/language-icons/javascript.js.map +1 -0
  106. package/dist/lib/assets/language-icons/json.d.ts +3 -0
  107. package/dist/lib/assets/language-icons/json.js +4 -0
  108. package/dist/lib/assets/language-icons/json.js.map +1 -0
  109. package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
  110. package/dist/lib/assets/language-icons/kotlin.js +4 -0
  111. package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
  112. package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
  113. package/dist/lib/assets/language-icons/markdown.js +4 -0
  114. package/dist/lib/assets/language-icons/markdown.js.map +1 -0
  115. package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
  116. package/dist/lib/assets/language-icons/mdx.js +4 -0
  117. package/dist/lib/assets/language-icons/mdx.js.map +1 -0
  118. package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
  119. package/dist/lib/assets/language-icons/objectivec.js +4 -0
  120. package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
  121. package/dist/lib/assets/language-icons/php.d.ts +3 -0
  122. package/dist/lib/assets/language-icons/php.js +4 -0
  123. package/dist/lib/assets/language-icons/php.js.map +1 -0
  124. package/dist/lib/assets/language-icons/python.d.ts +3 -0
  125. package/dist/lib/assets/language-icons/python.js +4 -0
  126. package/dist/lib/assets/language-icons/python.js.map +1 -0
  127. package/dist/lib/assets/language-icons/react.d.ts +3 -0
  128. package/dist/lib/assets/language-icons/react.js +4 -0
  129. package/dist/lib/assets/language-icons/react.js.map +1 -0
  130. package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
  131. package/dist/lib/assets/language-icons/ruby.js +4 -0
  132. package/dist/lib/assets/language-icons/ruby.js.map +1 -0
  133. package/dist/lib/assets/language-icons/rust.d.ts +3 -0
  134. package/dist/lib/assets/language-icons/rust.js +4 -0
  135. package/dist/lib/assets/language-icons/rust.js.map +1 -0
  136. package/dist/lib/assets/language-icons/shell.d.ts +3 -0
  137. package/dist/lib/assets/language-icons/shell.js +4 -0
  138. package/dist/lib/assets/language-icons/shell.js.map +1 -0
  139. package/dist/lib/assets/language-icons/swift.d.ts +3 -0
  140. package/dist/lib/assets/language-icons/swift.js +4 -0
  141. package/dist/lib/assets/language-icons/swift.js.map +1 -0
  142. package/dist/lib/assets/language-icons/toml.d.ts +3 -0
  143. package/dist/lib/assets/language-icons/toml.js +4 -0
  144. package/dist/lib/assets/language-icons/toml.js.map +1 -0
  145. package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
  146. package/dist/lib/assets/language-icons/typescript.js +4 -0
  147. package/dist/lib/assets/language-icons/typescript.js.map +1 -0
  148. package/dist/lib/assets/language-icons/xml.d.ts +3 -0
  149. package/dist/lib/assets/language-icons/xml.js +4 -0
  150. package/dist/lib/assets/language-icons/xml.js.map +1 -0
  151. package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
  152. package/dist/lib/assets/language-icons/yaml.js +4 -0
  153. package/dist/lib/assets/language-icons/yaml.js.map +1 -0
  154. package/dist/lib/auth/issuer.d.ts +2 -0
  155. package/dist/lib/auth/issuer.js +37 -0
  156. package/dist/lib/auth/issuer.js.map +1 -0
  157. package/dist/lib/auth/issuer.test.js +95 -0
  158. package/dist/lib/auth/issuer.test.js.map +1 -0
  159. package/dist/lib/authentication/AuthenticationPlugin.d.ts +2 -2
  160. package/dist/lib/authentication/AuthenticationPlugin.js +1 -1
  161. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  162. package/dist/lib/authentication/authentication.d.ts +4 -6
  163. package/dist/lib/authentication/components/CallbackHandler.js +16 -10
  164. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  165. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
  166. package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
  167. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
  168. package/dist/lib/authentication/components/SignIn.d.ts +1 -1
  169. package/dist/lib/authentication/components/SignIn.js +5 -1
  170. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  171. package/dist/lib/authentication/components/SignOut.js +1 -1
  172. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  173. package/dist/lib/authentication/components/SignUp.d.ts +1 -1
  174. package/dist/lib/authentication/components/SignUp.js +4 -1
  175. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  176. package/dist/lib/authentication/errors.d.ts +6 -12
  177. package/dist/lib/authentication/errors.js +2 -1
  178. package/dist/lib/authentication/errors.js.map +1 -1
  179. package/dist/lib/authentication/hook.d.ts +7 -0
  180. package/dist/lib/authentication/hook.js.map +1 -1
  181. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  182. package/dist/lib/authentication/providers/auth0.js +3 -3
  183. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  184. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  185. package/dist/lib/authentication/providers/azureb2c.js +147 -0
  186. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  187. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  188. package/dist/lib/authentication/providers/clerk.js +80 -60
  189. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  190. package/dist/lib/authentication/providers/openid.d.ts +17 -20
  191. package/dist/lib/authentication/providers/openid.js +73 -44
  192. package/dist/lib/authentication/providers/openid.js.map +1 -1
  193. package/dist/lib/authentication/providers/supabase.d.ts +2 -2
  194. package/dist/lib/authentication/providers/supabase.js +6 -14
  195. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  196. package/dist/lib/authentication/state.d.ts +6 -5
  197. package/dist/lib/authentication/state.js +19 -6
  198. package/dist/lib/authentication/state.js.map +1 -1
  199. package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
  200. package/dist/lib/authentication/use-broadcast/shared.js +3 -3
  201. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
  202. package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
  203. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
  204. package/dist/lib/components/Autocomplete.js +3 -3
  205. package/dist/lib/components/Autocomplete.js.map +1 -1
  206. package/dist/lib/components/Banner.js +2 -2
  207. package/dist/lib/components/Banner.js.map +1 -1
  208. package/dist/lib/components/Bootstrap.js.map +1 -1
  209. package/dist/lib/components/BuildCheck.d.ts +5 -0
  210. package/dist/lib/components/BuildCheck.js +45 -0
  211. package/dist/lib/components/BuildCheck.js.map +1 -0
  212. package/dist/lib/components/CategoryHeading.js +1 -1
  213. package/dist/lib/components/CategoryHeading.js.map +1 -1
  214. package/dist/lib/components/ErrorPage.js +2 -2
  215. package/dist/lib/components/ErrorPage.js.map +1 -1
  216. package/dist/lib/components/Footer.js +5 -5
  217. package/dist/lib/components/Footer.js.map +1 -1
  218. package/dist/lib/components/Framed.d.ts +7 -0
  219. package/dist/lib/components/Framed.js +26 -0
  220. package/dist/lib/components/Framed.js.map +1 -0
  221. package/dist/lib/components/Header.js +25 -18
  222. package/dist/lib/components/Header.js.map +1 -1
  223. package/dist/lib/components/Heading.d.ts +8 -4
  224. package/dist/lib/components/Heading.js +8 -3
  225. package/dist/lib/components/Heading.js.map +1 -1
  226. package/dist/lib/components/InlineCode.js +1 -1
  227. package/dist/lib/components/InlineCode.js.map +1 -1
  228. package/dist/lib/components/LanguageIcon.d.ts +3 -0
  229. package/dist/lib/components/LanguageIcon.js +118 -0
  230. package/dist/lib/components/LanguageIcon.js.map +1 -0
  231. package/dist/lib/components/Layout.js +6 -8
  232. package/dist/lib/components/Layout.js.map +1 -1
  233. package/dist/lib/components/Main.js +7 -6
  234. package/dist/lib/components/Main.js.map +1 -1
  235. package/dist/lib/components/Markdown.d.ts +3 -2
  236. package/dist/lib/components/Markdown.js +14 -16
  237. package/dist/lib/components/Markdown.js.map +1 -1
  238. package/dist/lib/components/Meta.d.ts +2 -0
  239. package/dist/lib/components/Meta.js +11 -0
  240. package/dist/lib/components/Meta.js.map +1 -0
  241. package/dist/lib/components/MobileTopNavigation.js +13 -6
  242. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  243. package/dist/lib/components/NotFoundPage.js +2 -2
  244. package/dist/lib/components/NotFoundPage.js.map +1 -1
  245. package/dist/lib/components/PageProgress.d.ts +1 -0
  246. package/dist/lib/components/PageProgress.js +20 -0
  247. package/dist/lib/components/PageProgress.js.map +1 -0
  248. package/dist/lib/components/Pagination.js +2 -2
  249. package/dist/lib/components/Pagination.js.map +1 -1
  250. package/dist/lib/components/PathRenderer.js +1 -1
  251. package/dist/lib/components/PathRenderer.js.map +1 -1
  252. package/dist/lib/components/Search.js +8 -2
  253. package/dist/lib/components/Search.js.map +1 -1
  254. package/dist/lib/components/Slot.d.ts +17 -0
  255. package/dist/lib/components/Slot.js +24 -0
  256. package/dist/lib/components/Slot.js.map +1 -0
  257. package/dist/lib/components/Slot.test.js +172 -0
  258. package/dist/lib/components/Slot.test.js.map +1 -0
  259. package/dist/lib/components/StatusPage.js +4 -0
  260. package/dist/lib/components/StatusPage.js.map +1 -1
  261. package/dist/lib/components/TopNavigation.d.ts +7 -6
  262. package/dist/lib/components/TopNavigation.js +53 -55
  263. package/dist/lib/components/TopNavigation.js.map +1 -1
  264. package/dist/lib/components/Typography.d.ts +5 -0
  265. package/dist/lib/components/Typography.js +8 -0
  266. package/dist/lib/components/Typography.js.map +1 -0
  267. package/dist/lib/components/Zudoku.js +5 -7
  268. package/dist/lib/components/Zudoku.js.map +1 -1
  269. package/dist/lib/components/context/ComponentsContext.js.map +1 -1
  270. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -1
  271. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  272. package/dist/lib/components/context/SlotProvider.js +83 -0
  273. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  274. package/dist/lib/components/context/ViewportAnchorContext.js +9 -10
  275. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  276. package/dist/lib/components/context/ZudokuContext.d.ts +3 -7
  277. package/dist/lib/components/context/ZudokuContext.js +57 -32
  278. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  279. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  280. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  281. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  282. package/dist/lib/components/index.d.ts +51 -46
  283. package/dist/lib/components/index.js +17 -20
  284. package/dist/lib/components/index.js.map +1 -1
  285. package/dist/lib/components/navigation/Navigation.d.ts +5 -0
  286. package/dist/lib/components/navigation/Navigation.js +12 -0
  287. package/dist/lib/components/navigation/Navigation.js.map +1 -0
  288. package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
  289. package/dist/lib/components/navigation/NavigationBadge.js +26 -0
  290. package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
  291. package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
  292. package/dist/lib/components/navigation/NavigationCategory.js +66 -0
  293. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
  294. package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
  295. package/dist/lib/components/navigation/NavigationItem.js +55 -0
  296. package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
  297. package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
  298. package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
  299. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
  300. package/dist/lib/components/navigation/PoweredByZudoku.js +2 -1
  301. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -1
  302. package/dist/lib/components/navigation/Toc.js +2 -2
  303. package/dist/lib/components/navigation/Toc.js.map +1 -1
  304. package/dist/lib/components/navigation/ZudokuLogo.d.ts +1 -1
  305. package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
  306. package/dist/lib/components/navigation/ZuploLogo.js +4 -0
  307. package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
  308. package/dist/lib/components/navigation/utils.d.ts +16 -8
  309. package/dist/lib/components/navigation/utils.js +58 -27
  310. package/dist/lib/components/navigation/utils.js.map +1 -1
  311. package/dist/lib/core/RouteGuard.js +9 -9
  312. package/dist/lib/core/RouteGuard.js.map +1 -1
  313. package/dist/lib/core/ZudokuContext.d.ts +37 -21
  314. package/dist/lib/core/ZudokuContext.js +49 -14
  315. package/dist/lib/core/ZudokuContext.js.map +1 -1
  316. package/dist/lib/core/__internal.d.ts +37 -0
  317. package/dist/lib/core/__internal.js +26 -0
  318. package/dist/lib/core/__internal.js.map +1 -0
  319. package/dist/lib/core/plugins.d.ts +8 -4
  320. package/dist/lib/core/plugins.js +1 -0
  321. package/dist/lib/core/plugins.js.map +1 -1
  322. package/dist/lib/core/router.d.ts +1 -0
  323. package/dist/lib/core/router.js +2 -0
  324. package/dist/lib/core/router.js.map +1 -0
  325. package/dist/lib/errors/ErrorAlert.js +2 -4
  326. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  327. package/dist/lib/errors/TopLevelError.d.ts +2 -2
  328. package/dist/lib/errors/TopLevelError.js +1 -2
  329. package/dist/lib/errors/TopLevelError.js.map +1 -1
  330. package/dist/lib/hooks/index.d.ts +25 -0
  331. package/dist/lib/hooks/index.js +11 -0
  332. package/dist/lib/hooks/index.js.map +1 -1
  333. package/dist/lib/hooks/useEvent.test.js +5 -3
  334. package/dist/lib/hooks/useEvent.test.js.map +1 -1
  335. package/dist/lib/hooks/useHotkey.d.ts +4 -0
  336. package/dist/lib/hooks/useHotkey.js +58 -0
  337. package/dist/lib/hooks/useHotkey.js.map +1 -0
  338. package/dist/lib/oas/graphql/circular.js +24 -19
  339. package/dist/lib/oas/graphql/circular.js.map +1 -1
  340. package/dist/lib/oas/graphql/index.js +2 -1
  341. package/dist/lib/oas/graphql/index.js.map +1 -1
  342. package/dist/lib/oas/parser/dereference/index.js +2 -1
  343. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  344. package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
  345. package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
  346. package/dist/lib/oas/parser/index.d.ts +3 -0
  347. package/dist/lib/oas/parser/index.js +8 -2
  348. package/dist/lib/oas/parser/index.js.map +1 -1
  349. package/dist/lib/oas/parser/upgrade/index.d.ts +1 -0
  350. package/dist/lib/oas/parser/upgrade/index.js +79 -26
  351. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  352. package/dist/lib/plugins/api-catalog/Catalog.d.ts +1 -1
  353. package/dist/lib/plugins/api-catalog/Catalog.js +8 -2
  354. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
  355. package/dist/lib/plugins/api-catalog/index.d.ts +6 -6
  356. package/dist/lib/plugins/api-catalog/index.js +10 -10
  357. package/dist/lib/plugins/api-catalog/index.js.map +1 -1
  358. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  359. package/dist/lib/plugins/api-keys/CreateApiKey.js +18 -4
  360. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  361. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
  362. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
  363. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
  364. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  365. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +148 -27
  366. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  367. package/dist/lib/plugins/api-keys/index.d.ts +29 -15
  368. package/dist/lib/plugins/api-keys/index.js +63 -33
  369. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  370. package/dist/lib/plugins/custom-pages/index.d.ts +4 -6
  371. package/dist/lib/plugins/custom-pages/index.js +18 -10
  372. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  373. package/dist/lib/plugins/markdown/MdxPage.d.ts +2 -3
  374. package/dist/lib/plugins/markdown/MdxPage.js +31 -11
  375. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  376. package/dist/lib/plugins/markdown/index.d.ts +12 -4
  377. package/dist/lib/plugins/markdown/index.js +9 -26
  378. package/dist/lib/plugins/markdown/index.js.map +1 -1
  379. package/dist/lib/plugins/openapi/CollapsibleCode.js +1 -1
  380. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
  381. package/dist/lib/plugins/openapi/ColorizedParam.js +5 -2
  382. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  383. package/dist/lib/plugins/openapi/Endpoint.js +2 -2
  384. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  385. package/dist/lib/plugins/openapi/OasProvider.d.ts +1 -1
  386. package/dist/lib/plugins/openapi/OasProvider.js +1 -0
  387. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
  388. package/dist/lib/plugins/openapi/OperationList.d.ts +1 -3
  389. package/dist/lib/plugins/openapi/OperationList.js +18 -10
  390. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  391. package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
  392. package/dist/lib/plugins/openapi/OperationListItem.js +9 -6
  393. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  394. package/dist/lib/plugins/openapi/ParamInfos.d.ts +1 -1
  395. package/dist/lib/plugins/openapi/ParamInfos.js +15 -10
  396. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  397. package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -2
  398. package/dist/lib/plugins/openapi/ParameterList.js +1 -1
  399. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  400. package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
  401. package/dist/lib/plugins/openapi/ParameterListItem.js +9 -2
  402. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  403. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +3 -4
  404. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +8 -4
  405. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  406. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +2 -2
  407. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  408. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
  409. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -4
  410. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  411. package/dist/lib/plugins/openapi/SchemaList.js +7 -7
  412. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -1
  413. package/dist/lib/plugins/openapi/Sidecar.d.ts +2 -2
  414. package/dist/lib/plugins/openapi/Sidecar.js +14 -62
  415. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  416. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +2 -4
  417. package/dist/lib/plugins/openapi/SidecarExamples.js +9 -1
  418. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  419. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
  420. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
  421. package/dist/lib/plugins/openapi/client/createServer.js +1 -2
  422. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  423. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +5 -0
  424. package/dist/lib/plugins/openapi/client/useCreateQuery.js +10 -4
  425. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  426. package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
  427. package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
  428. package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
  429. package/dist/lib/plugins/openapi/components/EnumValues.js +1 -1
  430. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -1
  431. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  432. package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
  433. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  434. package/dist/lib/plugins/openapi/context.d.ts +1 -1
  435. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
  436. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  437. package/dist/lib/plugins/openapi/graphql/gql.d.ts +2 -2
  438. package/dist/lib/plugins/openapi/graphql/gql.js +2 -3
  439. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  440. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +5 -3
  441. package/dist/lib/plugins/openapi/graphql/graphql.js +4 -2
  442. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  443. package/dist/lib/plugins/openapi/index.d.ts +5 -6
  444. package/dist/lib/plugins/openapi/index.js +56 -21
  445. package/dist/lib/plugins/openapi/index.js.map +1 -1
  446. package/dist/lib/plugins/openapi/interfaces.d.ts +8 -7
  447. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
  448. package/dist/lib/plugins/openapi/playground/BodyPanel.js +26 -0
  449. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
  450. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
  451. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
  452. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
  453. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +3 -3
  454. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +2 -1
  455. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
  456. package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
  457. package/dist/lib/plugins/openapi/playground/Headers.js +54 -32
  458. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  459. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +1 -1
  460. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +2 -1
  461. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -1
  462. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +1 -1
  463. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +1 -4
  464. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -1
  465. package/dist/lib/plugins/openapi/playground/InlineInput.js +1 -1
  466. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +1 -1
  467. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +2 -2
  468. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
  469. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -2
  470. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  471. package/dist/lib/plugins/openapi/playground/Playground.d.ts +5 -10
  472. package/dist/lib/plugins/openapi/playground/Playground.js +116 -94
  473. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  474. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  475. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  476. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -4
  477. package/dist/lib/plugins/openapi/playground/QueryParams.js +38 -23
  478. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  479. package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
  480. package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
  481. package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
  482. package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
  483. package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
  484. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
  485. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
  486. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
  487. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
  488. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
  489. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
  490. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
  491. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
  492. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
  493. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
  494. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
  495. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +71 -0
  496. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
  497. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +10 -4
  498. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +33 -31
  499. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
  500. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
  501. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +8 -10
  502. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
  503. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +1 -1
  504. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +1 -1
  505. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -1
  506. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +16 -0
  507. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +10 -0
  508. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
  509. package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
  510. package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
  511. package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
  512. package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
  513. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +195 -0
  514. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
  515. package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
  516. package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
  517. package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
  518. package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
  519. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +160 -0
  520. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
  521. package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
  522. package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
  523. package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
  524. package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
  525. package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
  526. package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
  527. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
  528. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
  529. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.d.ts +5 -0
  530. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js +7 -0
  531. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js.map +1 -0
  532. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.d.ts +4 -0
  533. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js +10 -0
  534. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js.map +1 -0
  535. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.d.ts +4 -0
  536. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js +16 -0
  537. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js.map +1 -0
  538. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +5 -2
  539. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -1
  540. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +0 -3
  541. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +19 -25
  542. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  543. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +3 -1
  544. package/dist/lib/plugins/openapi/schema/SchemaView.js +23 -15
  545. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  546. package/dist/lib/plugins/openapi/schema/UnionView.d.ts +4 -0
  547. package/dist/lib/plugins/openapi/schema/UnionView.js +30 -0
  548. package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
  549. package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
  550. package/dist/lib/plugins/openapi/schema/union-helpers.js +48 -0
  551. package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
  552. package/dist/lib/plugins/openapi/schema/utils.d.ts +6 -8
  553. package/dist/lib/plugins/openapi/schema/utils.js +15 -13
  554. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  555. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
  556. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
  557. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
  558. package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
  559. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +25 -0
  560. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
  561. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +2 -2
  562. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +45 -2
  563. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  564. package/dist/lib/plugins/openapi/util/getRoutes.js +52 -15
  565. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  566. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
  567. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  568. package/dist/lib/plugins/search-inkeep/index.d.ts +5 -22
  569. package/dist/lib/plugins/search-inkeep/index.js +35 -29
  570. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  571. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +5 -21
  572. package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
  573. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  574. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +2 -2
  575. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
  576. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +2 -2
  577. package/dist/lib/plugins/search-pagefind/ResultList.js +15 -5
  578. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
  579. package/dist/lib/plugins/search-pagefind/get-results.js +0 -1
  580. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
  581. package/dist/lib/shiki.d.ts +32 -0
  582. package/dist/lib/shiki.js +104 -0
  583. package/dist/lib/shiki.js.map +1 -0
  584. package/dist/lib/ui/ActionButton.js +1 -1
  585. package/dist/lib/ui/ActionButton.js.map +1 -1
  586. package/dist/lib/ui/Alert.d.ts +6 -5
  587. package/dist/lib/ui/Alert.js +12 -10
  588. package/dist/lib/ui/Alert.js.map +1 -1
  589. package/dist/lib/ui/Badge.d.ts +2 -2
  590. package/dist/lib/ui/Badge.js +1 -1
  591. package/dist/lib/ui/Badge.js.map +1 -1
  592. package/dist/lib/ui/Breadcrumb.js +1 -1
  593. package/dist/lib/ui/Breadcrumb.js.map +1 -1
  594. package/dist/lib/ui/Button.d.ts +2 -2
  595. package/dist/lib/ui/Button.js +8 -6
  596. package/dist/lib/ui/Button.js.map +1 -1
  597. package/dist/lib/ui/Callout.js +1 -1
  598. package/dist/lib/ui/Callout.js.map +1 -1
  599. package/dist/lib/ui/Card.js +1 -1
  600. package/dist/lib/ui/Carousel.js.map +1 -1
  601. package/dist/lib/ui/Checkbox.js +1 -1
  602. package/dist/lib/ui/Checkbox.js.map +1 -1
  603. package/dist/lib/ui/CodeBlock.d.ts +15 -0
  604. package/dist/lib/ui/CodeBlock.js +18 -0
  605. package/dist/lib/ui/CodeBlock.js.map +1 -0
  606. package/dist/lib/ui/Command.d.ts +2 -2
  607. package/dist/lib/ui/Command.js +3 -7
  608. package/dist/lib/ui/Command.js.map +1 -1
  609. package/dist/lib/ui/Dialog.d.ts +3 -1
  610. package/dist/lib/ui/Dialog.js +2 -2
  611. package/dist/lib/ui/Dialog.js.map +1 -1
  612. package/dist/lib/ui/DropdownMenu.js +4 -4
  613. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  614. package/dist/lib/ui/EmbeddedCodeBlock.d.ts +15 -0
  615. package/dist/lib/ui/EmbeddedCodeBlock.js +18 -0
  616. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  617. package/dist/lib/ui/Form.d.ts +3 -3
  618. package/dist/lib/ui/HoverCard.js +1 -1
  619. package/dist/lib/ui/HoverCard.js.map +1 -1
  620. package/dist/lib/ui/Input.js +1 -1
  621. package/dist/lib/ui/Input.js.map +1 -1
  622. package/dist/lib/ui/Pagination.d.ts +1 -1
  623. package/dist/lib/ui/Pagination.js +1 -1
  624. package/dist/lib/ui/Pagination.js.map +1 -1
  625. package/dist/lib/ui/Popover.js +1 -1
  626. package/dist/lib/ui/Popover.js.map +1 -1
  627. package/dist/lib/ui/RadioGroup.js +1 -1
  628. package/dist/lib/ui/RadioGroup.js.map +1 -1
  629. package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
  630. package/dist/lib/ui/ReactComponentDoc.js +10 -0
  631. package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
  632. package/dist/lib/ui/Secret.d.ts +12 -0
  633. package/dist/lib/ui/Secret.js +23 -0
  634. package/dist/lib/ui/Secret.js.map +1 -0
  635. package/dist/lib/ui/Select.js +2 -2
  636. package/dist/lib/ui/Select.js.map +1 -1
  637. package/dist/lib/ui/Slider.js +1 -1
  638. package/dist/lib/ui/Slider.js.map +1 -1
  639. package/dist/lib/ui/Switch.js +1 -1
  640. package/dist/lib/ui/Switch.js.map +1 -1
  641. package/dist/lib/ui/SyntaxHighlight.d.ts +12 -15
  642. package/dist/lib/ui/SyntaxHighlight.js +13 -60
  643. package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
  644. package/dist/lib/ui/Tabs.js +2 -2
  645. package/dist/lib/ui/Tabs.js.map +1 -1
  646. package/dist/lib/ui/Textarea.js +1 -1
  647. package/dist/lib/ui/Textarea.js.map +1 -1
  648. package/dist/lib/ui/Toggle.js +1 -1
  649. package/dist/lib/ui/Toggle.js.map +1 -1
  650. package/dist/lib/ui/ToggleGroup.d.ts +1 -1
  651. package/dist/lib/ui/Tooltip.d.ts +2 -1
  652. package/dist/lib/ui/Tooltip.js +2 -1
  653. package/dist/lib/ui/Tooltip.js.map +1 -1
  654. package/dist/lib/ui/Value.d.ts +5 -0
  655. package/dist/lib/ui/Value.js +13 -0
  656. package/dist/lib/ui/Value.js.map +1 -0
  657. package/dist/lib/util/MdxComponents.d.ts +19 -4
  658. package/dist/lib/util/MdxComponents.js +17 -12
  659. package/dist/lib/util/MdxComponents.js.map +1 -1
  660. package/dist/lib/util/cn.js.map +1 -1
  661. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  662. package/dist/lib/util/createVariantComponent.js.map +1 -1
  663. package/dist/lib/util/detectOS.d.ts +1 -0
  664. package/dist/lib/util/detectOS.js +11 -0
  665. package/dist/lib/util/detectOS.js.map +1 -0
  666. package/dist/lib/util/ensureArray.d.ts +1 -0
  667. package/dist/lib/util/ensureArray.js +2 -0
  668. package/dist/lib/util/ensureArray.js.map +1 -0
  669. package/dist/lib/util/groupBy.js +1 -0
  670. package/dist/lib/util/groupBy.js.map +1 -1
  671. package/dist/lib/util/humanFileSize.d.ts +6 -0
  672. package/dist/lib/util/humanFileSize.js +14 -0
  673. package/dist/lib/util/humanFileSize.js.map +1 -0
  674. package/dist/lib/util/humanFileSize.test.d.ts +1 -0
  675. package/dist/lib/util/humanFileSize.test.js +22 -0
  676. package/dist/lib/util/humanFileSize.test.js.map +1 -0
  677. package/dist/lib/util/invariant.d.ts +6 -5
  678. package/dist/lib/util/invariant.js +4 -2
  679. package/dist/lib/util/invariant.js.map +1 -1
  680. package/dist/lib/util/os.d.ts +2 -0
  681. package/dist/lib/util/os.js +21 -0
  682. package/dist/lib/util/os.js.map +1 -0
  683. package/dist/lib/util/pastellize.js +2 -2
  684. package/dist/lib/util/pastellize.js.map +1 -1
  685. package/dist/lib/util/traverse.d.ts +1 -1
  686. package/dist/lib/util/traverse.js +6 -5
  687. package/dist/lib/util/traverse.js.map +1 -1
  688. package/dist/lib/util/url.d.ts +4 -0
  689. package/dist/lib/util/url.js +13 -0
  690. package/dist/lib/util/url.js.map +1 -0
  691. package/dist/lib/util/url.test.d.ts +1 -0
  692. package/dist/lib/util/url.test.js +26 -0
  693. package/dist/lib/util/url.test.js.map +1 -0
  694. package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
  695. package/dist/lib/util/useCopyToClipboard.js +11 -0
  696. package/dist/lib/util/useCopyToClipboard.js.map +1 -0
  697. package/dist/lib/util/useExposedProps.d.ts +8 -1
  698. package/dist/lib/util/useExposedProps.js.map +1 -1
  699. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
  700. package/dist/lib/util/useScrollToAnchor.js +5 -3
  701. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  702. package/dist/ts.js +3 -3
  703. package/dist/ts.js.map +1 -1
  704. package/dist/vite/api/SchemaManager.d.ts +36 -0
  705. package/dist/vite/api/SchemaManager.js +141 -0
  706. package/dist/vite/api/SchemaManager.js.map +1 -0
  707. package/dist/vite/api/SchemaManager.test.d.ts +1 -0
  708. package/dist/vite/api/SchemaManager.test.js +106 -0
  709. package/dist/vite/api/SchemaManager.test.js.map +1 -0
  710. package/dist/vite/api/schema-codegen.js +79 -29
  711. package/dist/vite/api/schema-codegen.js.map +1 -1
  712. package/dist/vite/api/schema-codegen.test.js +156 -1
  713. package/dist/vite/api/schema-codegen.test.js.map +1 -1
  714. package/dist/vite/build.js +22 -7
  715. package/dist/vite/build.js.map +1 -1
  716. package/dist/vite/config.d.ts +2 -9
  717. package/dist/vite/config.js +61 -97
  718. package/dist/vite/config.js.map +1 -1
  719. package/dist/vite/config.test.js +1 -1
  720. package/dist/vite/config.test.js.map +1 -1
  721. package/dist/vite/css/plugin.d.ts +1 -2
  722. package/dist/vite/css/plugin.js +14 -2
  723. package/dist/vite/css/plugin.js.map +1 -1
  724. package/dist/vite/dev-server.d.ts +0 -1
  725. package/dist/vite/dev-server.js +25 -16
  726. package/dist/vite/dev-server.js.map +1 -1
  727. package/dist/vite/error-handler.d.ts +2 -2
  728. package/dist/vite/error-handler.js.map +1 -1
  729. package/dist/vite/html.d.ts +7 -3
  730. package/dist/vite/html.js +15 -9
  731. package/dist/vite/html.js.map +1 -1
  732. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  733. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  734. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  735. package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
  736. package/dist/vite/mdx/remark-last-modified.js +28 -0
  737. package/dist/vite/mdx/remark-last-modified.js.map +1 -0
  738. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  739. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  740. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  741. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  742. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  743. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  744. package/dist/vite/mdx/remark-static-generation.d.ts +3 -0
  745. package/dist/vite/mdx/remark-static-generation.js +125 -0
  746. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  747. package/dist/vite/mdx/utils.d.ts +2 -0
  748. package/dist/vite/mdx/utils.js +31 -0
  749. package/dist/vite/mdx/utils.js.map +1 -0
  750. package/dist/vite/output.d.ts +1 -1
  751. package/dist/vite/output.js +1 -1
  752. package/dist/vite/output.js.map +1 -1
  753. package/dist/vite/plugin-api-keys.d.ts +2 -3
  754. package/dist/vite/plugin-api-keys.js +10 -4
  755. package/dist/vite/plugin-api-keys.js.map +1 -1
  756. package/dist/vite/plugin-api.d.ts +1 -2
  757. package/dist/vite/plugin-api.js +59 -115
  758. package/dist/vite/plugin-api.js.map +1 -1
  759. package/dist/vite/plugin-auth.d.ts +2 -3
  760. package/dist/vite/plugin-auth.js +4 -3
  761. package/dist/vite/plugin-auth.js.map +1 -1
  762. package/dist/vite/plugin-component.d.ts +2 -3
  763. package/dist/vite/plugin-component.js +3 -2
  764. package/dist/vite/plugin-component.js.map +1 -1
  765. package/dist/vite/plugin-config-reload.d.ts +2 -3
  766. package/dist/vite/plugin-config-reload.js +23 -22
  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 +6 -4
  770. package/dist/vite/plugin-config.js.map +1 -1
  771. package/dist/vite/plugin-custom-pages.d.ts +2 -3
  772. package/dist/vite/plugin-custom-pages.js +6 -5
  773. package/dist/vite/plugin-custom-pages.js.map +1 -1
  774. package/dist/vite/plugin-docs.d.ts +1 -2
  775. package/dist/vite/plugin-docs.js +71 -63
  776. package/dist/vite/plugin-docs.js.map +1 -1
  777. package/dist/vite/plugin-frontmatter.d.ts +1 -2
  778. package/dist/vite/plugin-frontmatter.js +10 -5
  779. package/dist/vite/plugin-frontmatter.js.map +1 -1
  780. package/dist/vite/plugin-mdx.d.ts +2 -3
  781. package/dist/vite/plugin-mdx.js +32 -76
  782. package/dist/vite/plugin-mdx.js.map +1 -1
  783. package/dist/vite/plugin-metadata.d.ts +1 -1
  784. package/dist/vite/plugin-navigation.d.ts +4 -0
  785. package/dist/vite/plugin-navigation.js +63 -0
  786. package/dist/vite/plugin-navigation.js.map +1 -0
  787. package/dist/vite/plugin-redirect.d.ts +2 -3
  788. package/dist/vite/plugin-redirect.js +4 -3
  789. package/dist/vite/plugin-redirect.js.map +1 -1
  790. package/dist/vite/plugin-search.d.ts +2 -3
  791. package/dist/vite/plugin-search.js +4 -3
  792. package/dist/vite/plugin-search.js.map +1 -1
  793. package/dist/vite/plugin-shiki-register.d.ts +2 -0
  794. package/dist/vite/plugin-shiki-register.js +39 -0
  795. package/dist/vite/plugin-shiki-register.js.map +1 -0
  796. package/dist/vite/plugin-theme.d.ts +8 -0
  797. package/dist/vite/plugin-theme.js +274 -0
  798. package/dist/vite/plugin-theme.js.map +1 -0
  799. package/dist/vite/plugin-theme.test.d.ts +1 -0
  800. package/dist/vite/plugin-theme.test.js +314 -0
  801. package/dist/vite/plugin-theme.test.js.map +1 -0
  802. package/dist/vite/plugin.d.ts +2 -3
  803. package/dist/vite/plugin.js +24 -23
  804. package/dist/vite/plugin.js.map +1 -1
  805. package/dist/vite/prerender/FileWritingResponse.js +5 -3
  806. package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
  807. package/dist/vite/prerender/InMemoryResponse.js +3 -1
  808. package/dist/vite/prerender/InMemoryResponse.js.map +1 -1
  809. package/dist/vite/prerender/prerender.js +7 -6
  810. package/dist/vite/prerender/prerender.js.map +1 -1
  811. package/dist/vite/prerender/worker.d.ts +1 -1
  812. package/dist/vite/prerender/worker.js +5 -1
  813. package/dist/vite/prerender/worker.js.map +1 -1
  814. package/dist/vite/reporter.js +2 -2
  815. package/dist/vite/reporter.js.map +1 -1
  816. package/dist/vite/shadcn-registry.d.ts +20 -0
  817. package/dist/vite/shadcn-registry.js +29 -0
  818. package/dist/vite/shadcn-registry.js.map +1 -0
  819. package/dist/vite/sitemap.d.ts +1 -1
  820. package/dist/vite/sitemap.js +14 -13
  821. package/dist/vite/sitemap.js.map +1 -1
  822. package/dist/zuplo/enrich-with-zuplo.d.ts +3 -3
  823. package/dist/zuplo/enrich-with-zuplo.js +21 -20
  824. package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
  825. package/dist/zuplo/policy-types.js +0 -1
  826. package/dist/zuplo/policy-types.js.map +1 -1
  827. package/dist/zuplo/with-zuplo-processors.d.ts +2 -2
  828. package/dist/zuplo/with-zuplo-processors.js +7 -7
  829. package/dist/zuplo/with-zuplo-processors.js.map +1 -1
  830. package/dist/zuplo/with-zuplo.d.ts +5 -2
  831. package/dist/zuplo/with-zuplo.js +6 -9
  832. package/dist/zuplo/with-zuplo.js.map +1 -1
  833. package/lib/Button-DTDRi4CT.js +51 -0
  834. package/lib/Button-DTDRi4CT.js.map +1 -0
  835. package/lib/Card-hTy9PAnh.js +61 -0
  836. package/lib/Card-hTy9PAnh.js.map +1 -0
  837. package/lib/CategoryHeading-BGCNu3VK.js +17 -0
  838. package/lib/CategoryHeading-BGCNu3VK.js.map +1 -0
  839. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  840. package/lib/CodeBlock-Dg3uMMeq.js +178 -0
  841. package/lib/CodeBlock-Dg3uMMeq.js.map +1 -0
  842. package/lib/Command-TEBTONf1.js +134 -0
  843. package/lib/Command-TEBTONf1.js.map +1 -0
  844. package/lib/Dialog-VIMic7xI.js +114 -0
  845. package/lib/Dialog-VIMic7xI.js.map +1 -0
  846. package/lib/Drawer-DM9wJUC6.js +1133 -0
  847. package/lib/Drawer-DM9wJUC6.js.map +1 -0
  848. package/lib/ErrorAlert-IEDm37qc.js +15524 -0
  849. package/lib/ErrorAlert-IEDm37qc.js.map +1 -0
  850. package/lib/MdxPage-ClcOjjPz.js +111 -0
  851. package/lib/MdxPage-ClcOjjPz.js.map +1 -0
  852. package/lib/OAuthErrorPage-BvULWq8R.js +150 -0
  853. package/lib/OAuthErrorPage-BvULWq8R.js.map +1 -0
  854. package/lib/OasProvider-DoHqdSOH.js +36 -0
  855. package/lib/OasProvider-DoHqdSOH.js.map +1 -0
  856. package/lib/OperationList-CfXcgnVM.js +5166 -0
  857. package/lib/OperationList-CfXcgnVM.js.map +1 -0
  858. package/lib/Pagination-DS0uHY1B.js +37 -0
  859. package/lib/Pagination-DS0uHY1B.js.map +1 -0
  860. package/lib/RouteGuard-nFlgfJqk.js +56 -0
  861. package/lib/RouteGuard-nFlgfJqk.js.map +1 -0
  862. package/lib/RouterError-DPrYdVmB.js +41 -0
  863. package/lib/RouterError-DPrYdVmB.js.map +1 -0
  864. package/lib/SchemaList-W-pn-5tN.js +150 -0
  865. package/lib/SchemaList-W-pn-5tN.js.map +1 -0
  866. package/lib/SchemaView-BvX8lnmz.js +429 -0
  867. package/lib/SchemaView-BvX8lnmz.js.map +1 -0
  868. package/lib/Select-BPQp7Yqx.js +273 -0
  869. package/lib/Select-BPQp7Yqx.js.map +1 -0
  870. package/lib/SignUp-BeCdx65k.js +56 -0
  871. package/lib/SignUp-BeCdx65k.js.map +1 -0
  872. package/lib/Spinner-Cf6E803I.js +7 -0
  873. package/lib/Spinner-Cf6E803I.js.map +1 -0
  874. package/lib/SyntaxHighlight--o45zbws.js +10307 -0
  875. package/lib/SyntaxHighlight--o45zbws.js.map +1 -0
  876. package/lib/Toc-DnPdxn-5.js +92 -0
  877. package/lib/Toc-DnPdxn-5.js.map +1 -0
  878. package/lib/ZudokuContext-3cqbu21w.js +1285 -0
  879. package/lib/ZudokuContext-3cqbu21w.js.map +1 -0
  880. package/lib/chunk-QMGIS6GS-DqecZ6nq.js +9204 -0
  881. package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +1 -0
  882. package/lib/circular-MyC_rUWL.js +14934 -0
  883. package/lib/circular-MyC_rUWL.js.map +1 -0
  884. package/lib/clsx-OuTLNxxd.js +17 -0
  885. package/lib/clsx-OuTLNxxd.js.map +1 -0
  886. package/lib/cn-dYga0KKN.js +2731 -0
  887. package/lib/cn-dYga0KKN.js.map +1 -0
  888. package/lib/createServer-DCzf6OVC.js +12490 -0
  889. package/lib/createServer-DCzf6OVC.js.map +1 -0
  890. package/lib/csharp-rrJEDRrV.js +53 -0
  891. package/lib/csharp-rrJEDRrV.js.map +1 -0
  892. package/lib/css-Dpk9bCql.js +54 -0
  893. package/lib/css-Dpk9bCql.js.map +1 -0
  894. package/lib/errors-CqArF-g5.js +45 -0
  895. package/lib/errors-CqArF-g5.js.map +1 -0
  896. package/lib/go-D8SJIQ0Z.js +25 -0
  897. package/lib/go-D8SJIQ0Z.js.map +1 -0
  898. package/lib/graphql-aeVKJNa2.js +25 -0
  899. package/lib/graphql-aeVKJNa2.js.map +1 -0
  900. package/lib/hook-ChlxzJwv.js +247 -0
  901. package/lib/hook-ChlxzJwv.js.map +1 -0
  902. package/lib/html-D_7om-nA.js +33 -0
  903. package/lib/html-D_7om-nA.js.map +1 -0
  904. package/lib/index-1GaxDljW.js +1058 -0
  905. package/lib/index-1GaxDljW.js.map +1 -0
  906. package/lib/index-C4Z_Qrw9.js +3395 -0
  907. package/lib/index-C4Z_Qrw9.js.map +1 -0
  908. package/lib/index-CrcNWbel.js +316 -0
  909. package/lib/index-CrcNWbel.js.map +1 -0
  910. package/lib/index-DI5SPFK9.js +36 -0
  911. package/lib/index-DI5SPFK9.js.map +1 -0
  912. package/lib/index-DirFu7tw.js +2094 -0
  913. package/lib/index-DirFu7tw.js.map +1 -0
  914. package/lib/index-nGbmHh_A.js +4827 -0
  915. package/lib/index-nGbmHh_A.js.map +1 -0
  916. package/lib/index.esm-BnYHxCYC.js +683 -0
  917. package/lib/index.esm-BnYHxCYC.js.map +1 -0
  918. package/lib/index.esm-CdzlRw50.js +1254 -0
  919. package/lib/index.esm-CdzlRw50.js.map +1 -0
  920. package/lib/invariant-Bm-FVUQE.js +44 -0
  921. package/lib/invariant-Bm-FVUQE.js.map +1 -0
  922. package/lib/java-DUh-EL8n.js +53 -0
  923. package/lib/java-DUh-EL8n.js.map +1 -0
  924. package/lib/javascript-CrY8dcGu.js +10 -0
  925. package/lib/javascript-CrY8dcGu.js.map +1 -0
  926. package/lib/json-DLK2_sdf.js +25 -0
  927. package/lib/json-DLK2_sdf.js.map +1 -0
  928. package/lib/jsx-runtime-DywqP_6a.js +285 -0
  929. package/lib/jsx-runtime-DywqP_6a.js.map +1 -0
  930. package/lib/kotlin-rJMOGl7D.js +37 -0
  931. package/lib/kotlin-rJMOGl7D.js.map +1 -0
  932. package/lib/markdown-BD9bIU5J.js +25 -0
  933. package/lib/markdown-BD9bIU5J.js.map +1 -0
  934. package/lib/mdx-G25UCvf3.js +32 -0
  935. package/lib/mdx-G25UCvf3.js.map +1 -0
  936. package/lib/mutation-DvBlWyBr.js +196 -0
  937. package/lib/mutation-DvBlWyBr.js.map +1 -0
  938. package/lib/objectivec-DDpj0aWX.js +32 -0
  939. package/lib/objectivec-DDpj0aWX.js.map +1 -0
  940. package/lib/php-BeG18bSy.js +25 -0
  941. package/lib/php-BeG18bSy.js.map +1 -0
  942. package/lib/processors/removeExtensions.js +11 -0
  943. package/lib/processors/removeExtensions.js.map +1 -0
  944. package/lib/processors/removeParameters.js +47 -0
  945. package/lib/processors/removeParameters.js.map +1 -0
  946. package/lib/processors/removePaths.js +28 -0
  947. package/lib/processors/removePaths.js.map +1 -0
  948. package/lib/processors/traverse.js +17 -0
  949. package/lib/processors/traverse.js.map +1 -0
  950. package/lib/python-BaF2byD-.js +32 -0
  951. package/lib/python-BaF2byD-.js.map +1 -0
  952. package/lib/react-CQvDN20M.js +24 -0
  953. package/lib/react-CQvDN20M.js.map +1 -0
  954. package/lib/ruby-CmxRVHMR.js +25 -0
  955. package/lib/ruby-CmxRVHMR.js.map +1 -0
  956. package/lib/rust-IfSC62c5.js +25 -0
  957. package/lib/rust-IfSC62c5.js.map +1 -0
  958. package/lib/shell-BFu0M6m4.js +25 -0
  959. package/lib/shell-BFu0M6m4.js.map +1 -0
  960. package/lib/swift-DckbsN4v.js +25 -0
  961. package/lib/swift-DckbsN4v.js.map +1 -0
  962. package/lib/toml-BJsCc8TC.js +32 -0
  963. package/lib/toml-BJsCc8TC.js.map +1 -0
  964. package/lib/typescript-7qOVMjOC.js +32 -0
  965. package/lib/typescript-7qOVMjOC.js.map +1 -0
  966. package/lib/ui/Accordion.js +2 -2
  967. package/lib/ui/Accordion.js.map +1 -1
  968. package/lib/ui/ActionButton.js +11 -11
  969. package/lib/ui/ActionButton.js.map +1 -1
  970. package/lib/ui/Alert.js +55 -39
  971. package/lib/ui/Alert.js.map +1 -1
  972. package/lib/ui/AlertDialog.js +2 -2
  973. package/lib/ui/AlertDialog.js.map +1 -1
  974. package/lib/ui/Badge.js +4 -4
  975. package/lib/ui/Badge.js.map +1 -1
  976. package/lib/ui/Breadcrumb.js +24 -23
  977. package/lib/ui/Breadcrumb.js.map +1 -1
  978. package/lib/ui/Button.js +20 -18
  979. package/lib/ui/Button.js.map +1 -1
  980. package/lib/ui/Callout.js +14 -12
  981. package/lib/ui/Callout.js.map +1 -1
  982. package/lib/ui/Card.js +9 -9
  983. package/lib/ui/Card.js.map +1 -1
  984. package/lib/ui/Carousel.js +348 -348
  985. package/lib/ui/Carousel.js.map +1 -1
  986. package/lib/ui/Checkbox.js +8 -8
  987. package/lib/ui/Checkbox.js.map +1 -1
  988. package/lib/ui/CodeBlock.js +10 -0
  989. package/lib/ui/CodeBlock.js.map +1 -0
  990. package/lib/ui/Command.js +67 -73
  991. package/lib/ui/Command.js.map +1 -1
  992. package/lib/ui/Dialog.js +74 -59
  993. package/lib/ui/Dialog.js.map +1 -1
  994. package/lib/ui/Drawer.js +3 -3
  995. package/lib/ui/DropdownMenu.js +35 -35
  996. package/lib/ui/DropdownMenu.js.map +1 -1
  997. package/lib/ui/EmbeddedCodeBlock.js +80 -0
  998. package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  999. package/lib/ui/Form.js +3 -3
  1000. package/lib/ui/Form.js.map +1 -1
  1001. package/lib/ui/HoverCard.js +6 -6
  1002. package/lib/ui/HoverCard.js.map +1 -1
  1003. package/lib/ui/Input.js +3 -3
  1004. package/lib/ui/Input.js.map +1 -1
  1005. package/lib/ui/Label.js +3 -3
  1006. package/lib/ui/Label.js.map +1 -1
  1007. package/lib/ui/Pagination.js +29 -30
  1008. package/lib/ui/Pagination.js.map +1 -1
  1009. package/lib/ui/Popover.js +3 -3
  1010. package/lib/ui/Popover.js.map +1 -1
  1011. package/lib/ui/Progress.js +2 -2
  1012. package/lib/ui/Progress.js.map +1 -1
  1013. package/lib/ui/RadioGroup.js +11 -11
  1014. package/lib/ui/RadioGroup.js.map +1 -1
  1015. package/lib/ui/ReactComponentDoc.js +28 -0
  1016. package/lib/ui/ReactComponentDoc.js.map +1 -0
  1017. package/lib/ui/ScrollArea.js +2 -2
  1018. package/lib/ui/ScrollArea.js.map +1 -1
  1019. package/lib/ui/Secret.js +96 -0
  1020. package/lib/ui/Secret.js.map +1 -0
  1021. package/lib/ui/Select.js +32 -32
  1022. package/lib/ui/Select.js.map +1 -1
  1023. package/lib/ui/Skeleton.js +2 -2
  1024. package/lib/ui/Skeleton.js.map +1 -1
  1025. package/lib/ui/Slider.js +6 -6
  1026. package/lib/ui/Slider.js.map +1 -1
  1027. package/lib/ui/Stepper.js +1 -1
  1028. package/lib/ui/Stepper.js.map +1 -1
  1029. package/lib/ui/Switch.js +6 -6
  1030. package/lib/ui/Switch.js.map +1 -1
  1031. package/lib/ui/SyntaxHighlight.js +6 -6
  1032. package/lib/ui/Tabs.js +17 -17
  1033. package/lib/ui/Tabs.js.map +1 -1
  1034. package/lib/ui/Textarea.js +6 -6
  1035. package/lib/ui/Textarea.js.map +1 -1
  1036. package/lib/ui/Toggle.js +8 -8
  1037. package/lib/ui/Toggle.js.map +1 -1
  1038. package/lib/ui/ToggleGroup.js +2 -2
  1039. package/lib/ui/ToggleGroup.js.map +1 -1
  1040. package/lib/ui/Tooltip.js +15 -8
  1041. package/lib/ui/Tooltip.js.map +1 -1
  1042. package/lib/ui/Value.js +39 -0
  1043. package/lib/ui/Value.js.map +1 -0
  1044. package/lib/ui/util.js +1 -1
  1045. package/lib/useCopyToClipboard-B_085nfO.js +14 -0
  1046. package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
  1047. package/lib/useExposedProps-BH9aq4MD.js +113 -0
  1048. package/lib/useExposedProps-BH9aq4MD.js.map +1 -0
  1049. package/lib/useLatest-hmRS46UF.js.map +1 -1
  1050. package/lib/xml-DAaTIkBX.js +25 -0
  1051. package/lib/xml-DAaTIkBX.js.map +1 -0
  1052. package/lib/yaml-DUi-dbfu.js +32 -0
  1053. package/lib/yaml-DUi-dbfu.js.map +1 -0
  1054. package/lib/zudoku.__internal.js +2981 -0
  1055. package/lib/zudoku.__internal.js.map +1 -0
  1056. package/lib/zudoku.auth-auth0.js +29 -32
  1057. package/lib/zudoku.auth-auth0.js.map +1 -1
  1058. package/lib/zudoku.auth-azureb2c.js +137 -0
  1059. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  1060. package/lib/zudoku.auth-clerk.js +104 -99
  1061. package/lib/zudoku.auth-clerk.js.map +1 -1
  1062. package/lib/zudoku.auth-openid.js +557 -544
  1063. package/lib/zudoku.auth-openid.js.map +1 -1
  1064. package/lib/zudoku.auth-supabase.js +98 -0
  1065. package/lib/zudoku.auth-supabase.js.map +1 -0
  1066. package/lib/zudoku.components.js +24 -29
  1067. package/lib/zudoku.hooks.js +21 -13
  1068. package/lib/zudoku.hooks.js.map +1 -1
  1069. package/lib/zudoku.icons.js +1 -1
  1070. package/lib/zudoku.icons.js.map +1 -1
  1071. package/lib/zudoku.plugin-api-catalog.js +76 -68
  1072. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  1073. package/lib/zudoku.plugin-api-keys.js +735 -192
  1074. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  1075. package/lib/zudoku.plugin-custom-pages.js +15 -18
  1076. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  1077. package/lib/zudoku.plugin-markdown.js +20 -73
  1078. package/lib/zudoku.plugin-markdown.js.map +1 -1
  1079. package/lib/zudoku.plugin-openapi.js +8 -6
  1080. package/lib/zudoku.plugin-openapi.js.map +1 -1
  1081. package/lib/zudoku.plugin-redirect.js +3 -3
  1082. package/lib/zudoku.plugin-redirect.js.map +1 -1
  1083. package/lib/zudoku.plugin-search-inkeep.js +55 -59
  1084. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  1085. package/lib/zudoku.plugin-search-pagefind.js +216 -124
  1086. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  1087. package/lib/zudoku.plugins.js +7 -6
  1088. package/lib/zudoku.plugins.js.map +1 -1
  1089. package/lib/zudoku.router.js +123 -0
  1090. package/lib/zudoku.router.js.map +1 -0
  1091. package/package.json +133 -109
  1092. package/src/app/ZuploBuildConfig.ts +33 -0
  1093. package/src/app/defaultTheme.css +73 -0
  1094. package/src/app/demo.html +1 -1
  1095. package/src/app/demo.tsx +25 -7
  1096. package/src/app/entry.client.tsx +47 -5
  1097. package/src/app/entry.server.tsx +4 -6
  1098. package/src/app/env.ts +43 -0
  1099. package/src/app/font.geist.css +73 -0
  1100. package/src/app/main.css +130 -147
  1101. package/src/app/main.tsx +63 -58
  1102. package/src/app/standalone.tsx +14 -8
  1103. package/src/lib/MissingIcon.tsx +1 -1
  1104. package/src/lib/assets/language-icons/csharp.tsx +35 -0
  1105. package/src/lib/assets/language-icons/css.tsx +36 -0
  1106. package/src/lib/assets/language-icons/go.tsx +19 -0
  1107. package/src/lib/assets/language-icons/graphql.tsx +19 -0
  1108. package/src/lib/assets/language-icons/html.tsx +24 -0
  1109. package/src/lib/assets/language-icons/java.tsx +35 -0
  1110. package/src/lib/assets/language-icons/javascript.tsx +11 -0
  1111. package/src/lib/assets/language-icons/json.tsx +19 -0
  1112. package/src/lib/assets/language-icons/kotlin.tsx +30 -0
  1113. package/src/lib/assets/language-icons/markdown.tsx +19 -0
  1114. package/src/lib/assets/language-icons/mdx.tsx +23 -0
  1115. package/src/lib/assets/language-icons/objectivec.tsx +23 -0
  1116. package/src/lib/assets/language-icons/php.tsx +19 -0
  1117. package/src/lib/assets/language-icons/python.tsx +23 -0
  1118. package/src/lib/assets/language-icons/react.tsx +21 -0
  1119. package/src/lib/assets/language-icons/ruby.tsx +19 -0
  1120. package/src/lib/assets/language-icons/rust.tsx +19 -0
  1121. package/src/lib/assets/language-icons/shell.tsx +19 -0
  1122. package/src/lib/assets/language-icons/swift.tsx +19 -0
  1123. package/src/lib/assets/language-icons/toml.tsx +23 -0
  1124. package/src/lib/assets/language-icons/typescript.tsx +23 -0
  1125. package/src/lib/assets/language-icons/xml.tsx +19 -0
  1126. package/src/lib/assets/language-icons/yaml.tsx +23 -0
  1127. package/src/lib/auth/issuer.test.ts +121 -0
  1128. package/src/lib/auth/issuer.ts +41 -0
  1129. package/src/lib/authentication/AuthenticationPlugin.tsx +2 -2
  1130. package/src/lib/authentication/authentication.ts +6 -9
  1131. package/src/lib/authentication/components/CallbackHandler.tsx +28 -11
  1132. package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
  1133. package/src/lib/authentication/components/SignIn.tsx +27 -1
  1134. package/src/lib/authentication/components/SignOut.tsx +1 -1
  1135. package/src/lib/authentication/components/SignUp.tsx +35 -1
  1136. package/src/lib/authentication/errors.ts +27 -13
  1137. package/src/lib/authentication/hook.ts +2 -0
  1138. package/src/lib/authentication/providers/auth0.tsx +12 -6
  1139. package/src/lib/authentication/providers/azureb2c.tsx +201 -0
  1140. package/src/lib/authentication/providers/clerk.tsx +93 -71
  1141. package/src/lib/authentication/providers/openid.tsx +121 -57
  1142. package/src/lib/authentication/providers/supabase.tsx +14 -20
  1143. package/src/lib/authentication/state.ts +37 -7
  1144. package/src/lib/authentication/use-broadcast/LICENSE.md +12 -3
  1145. package/src/lib/authentication/use-broadcast/shared.ts +4 -4
  1146. package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
  1147. package/src/lib/components/AnchorLink.tsx +1 -1
  1148. package/src/lib/components/Autocomplete.tsx +4 -3
  1149. package/src/lib/components/Banner.tsx +3 -4
  1150. package/src/lib/components/Bootstrap.tsx +1 -0
  1151. package/src/lib/components/BuildCheck.tsx +86 -0
  1152. package/src/lib/components/CategoryHeading.tsx +4 -1
  1153. package/src/lib/components/ErrorPage.tsx +3 -3
  1154. package/src/lib/components/Footer.tsx +6 -6
  1155. package/src/lib/components/Framed.tsx +51 -0
  1156. package/src/lib/components/Header.tsx +46 -43
  1157. package/src/lib/components/Heading.tsx +19 -12
  1158. package/src/lib/components/InlineCode.tsx +1 -1
  1159. package/src/lib/components/LanguageIcon.tsx +136 -0
  1160. package/src/lib/components/Layout.tsx +14 -29
  1161. package/src/lib/components/Main.tsx +15 -14
  1162. package/src/lib/components/Markdown.tsx +43 -27
  1163. package/src/lib/components/Meta.tsx +45 -0
  1164. package/src/lib/components/MobileTopNavigation.tsx +72 -16
  1165. package/src/lib/components/NotFoundPage.tsx +6 -5
  1166. package/src/lib/components/PageProgress.tsx +28 -0
  1167. package/src/lib/components/Pagination.tsx +6 -11
  1168. package/src/lib/components/PathRenderer.tsx +2 -2
  1169. package/src/lib/components/Search.tsx +16 -5
  1170. package/src/lib/components/Slot.test.tsx +465 -0
  1171. package/src/lib/components/Slot.tsx +64 -0
  1172. package/src/lib/components/StatusPage.tsx +5 -0
  1173. package/src/lib/components/TopNavigation.tsx +81 -86
  1174. package/src/lib/components/Typography.tsx +14 -0
  1175. package/src/lib/components/Zudoku.tsx +12 -14
  1176. package/src/lib/components/context/ComponentsContext.tsx +2 -2
  1177. package/src/lib/components/context/RouterEventsEmitter.tsx +1 -1
  1178. package/src/lib/components/context/SlotProvider.tsx +149 -0
  1179. package/src/lib/components/context/ViewportAnchorContext.tsx +10 -17
  1180. package/src/lib/components/context/ZudokuContext.ts +67 -43
  1181. package/src/lib/components/context/ZudokuProvider.tsx +3 -2
  1182. package/src/lib/components/index.ts +18 -26
  1183. package/src/lib/components/navigation/Navigation.tsx +50 -0
  1184. package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
  1185. package/src/lib/components/navigation/NavigationCategory.tsx +153 -0
  1186. package/src/lib/components/navigation/NavigationItem.tsx +161 -0
  1187. package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
  1188. package/src/lib/components/navigation/PoweredByZudoku.tsx +15 -5
  1189. package/src/lib/components/navigation/Toc.tsx +7 -7
  1190. package/src/lib/components/navigation/ZudokuLogo.tsx +1 -1
  1191. package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
  1192. package/src/lib/components/navigation/utils.ts +82 -42
  1193. package/src/lib/core/RouteGuard.tsx +13 -13
  1194. package/src/lib/core/ZudokuContext.ts +96 -30
  1195. package/src/lib/core/__internal.tsx +30 -0
  1196. package/src/lib/core/plugins.ts +13 -4
  1197. package/src/lib/core/router.ts +1 -0
  1198. package/src/lib/errors/ErrorAlert.tsx +8 -17
  1199. package/src/lib/errors/TopLevelError.tsx +2 -4
  1200. package/src/lib/hooks/index.ts +11 -0
  1201. package/src/lib/hooks/useEvent.test.tsx +9 -7
  1202. package/src/lib/hooks/useHotkey.ts +70 -0
  1203. package/src/lib/oas/graphql/circular.ts +28 -20
  1204. package/src/lib/oas/graphql/index.ts +2 -1
  1205. package/src/lib/oas/parser/dereference/index.ts +2 -1
  1206. package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
  1207. package/src/lib/oas/parser/index.ts +9 -3
  1208. package/src/lib/oas/parser/upgrade/index.ts +100 -29
  1209. package/src/lib/plugins/api-catalog/Catalog.tsx +9 -2
  1210. package/src/lib/plugins/api-catalog/index.tsx +19 -19
  1211. package/src/lib/plugins/api-keys/CreateApiKey.tsx +70 -44
  1212. package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
  1213. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +457 -119
  1214. package/src/lib/plugins/api-keys/index.tsx +143 -65
  1215. package/src/lib/plugins/custom-pages/index.tsx +24 -16
  1216. package/src/lib/plugins/markdown/MdxPage.tsx +81 -26
  1217. package/src/lib/plugins/markdown/index.tsx +30 -43
  1218. package/src/lib/plugins/openapi/CollapsibleCode.tsx +8 -5
  1219. package/src/lib/plugins/openapi/ColorizedParam.tsx +5 -3
  1220. package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
  1221. package/src/lib/plugins/openapi/OasProvider.tsx +2 -1
  1222. package/src/lib/plugins/openapi/OperationList.tsx +35 -31
  1223. package/src/lib/plugins/openapi/OperationListItem.tsx +41 -62
  1224. package/src/lib/plugins/openapi/ParamInfos.tsx +14 -10
  1225. package/src/lib/plugins/openapi/ParameterList.tsx +3 -5
  1226. package/src/lib/plugins/openapi/ParameterListItem.tsx +42 -12
  1227. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +16 -8
  1228. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +3 -2
  1229. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +5 -16
  1230. package/src/lib/plugins/openapi/SchemaList.tsx +25 -19
  1231. package/src/lib/plugins/openapi/Sidecar.tsx +18 -69
  1232. package/src/lib/plugins/openapi/SidecarExamples.tsx +11 -11
  1233. package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
  1234. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
  1235. package/src/lib/plugins/openapi/client/createServer.ts +1 -2
  1236. package/src/lib/plugins/openapi/client/useCreateQuery.ts +24 -4
  1237. package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
  1238. package/src/lib/plugins/openapi/components/EnumValues.tsx +1 -1
  1239. package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
  1240. package/src/lib/plugins/openapi/context.tsx +1 -1
  1241. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +1 -2
  1242. package/src/lib/plugins/openapi/graphql/gql.ts +8 -9
  1243. package/src/lib/plugins/openapi/graphql/graphql.ts +10 -7
  1244. package/src/lib/plugins/openapi/index.tsx +85 -33
  1245. package/src/lib/plugins/openapi/interfaces.ts +10 -7
  1246. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +55 -0
  1247. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +47 -0
  1248. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +11 -4
  1249. package/src/lib/plugins/openapi/playground/Headers.tsx +217 -115
  1250. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +4 -3
  1251. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +20 -36
  1252. package/src/lib/plugins/openapi/playground/InlineInput.tsx +1 -1
  1253. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +2 -2
  1254. package/src/lib/plugins/openapi/playground/PathParams.tsx +5 -6
  1255. package/src/lib/plugins/openapi/playground/Playground.tsx +270 -293
  1256. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +3 -2
  1257. package/src/lib/plugins/openapi/playground/QueryParams.tsx +106 -60
  1258. package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
  1259. package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
  1260. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
  1261. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
  1262. package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
  1263. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +117 -0
  1264. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +149 -108
  1265. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +70 -91
  1266. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +1 -1
  1267. package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +20 -0
  1268. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +223 -0
  1269. package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
  1270. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +183 -0
  1271. package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
  1272. package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
  1273. package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
  1274. package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
  1275. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.tsx +36 -0
  1276. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.tsx +25 -0
  1277. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.tsx +35 -0
  1278. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +10 -7
  1279. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +39 -46
  1280. package/src/lib/plugins/openapi/schema/SchemaView.tsx +52 -36
  1281. package/src/lib/plugins/openapi/schema/UnionView.tsx +123 -0
  1282. package/src/lib/plugins/openapi/schema/union-helpers.ts +96 -0
  1283. package/src/lib/plugins/openapi/schema/utils.ts +24 -17
  1284. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
  1285. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +39 -0
  1286. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +54 -5
  1287. package/src/lib/plugins/openapi/util/getRoutes.tsx +87 -15
  1288. package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
  1289. package/src/lib/plugins/redirect/index.tsx +1 -1
  1290. package/src/lib/plugins/search-inkeep/index.tsx +54 -58
  1291. package/src/lib/plugins/search-inkeep/inkeep.ts +19 -21
  1292. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +3 -4
  1293. package/src/lib/plugins/search-pagefind/ResultList.tsx +16 -8
  1294. package/src/lib/plugins/search-pagefind/get-results.tsx +0 -1
  1295. package/src/lib/shiki.ts +138 -0
  1296. package/src/lib/ui/ActionButton.tsx +3 -1
  1297. package/src/lib/ui/Alert.tsx +45 -39
  1298. package/src/lib/ui/Badge.tsx +2 -2
  1299. package/src/lib/ui/Breadcrumb.tsx +1 -0
  1300. package/src/lib/ui/Button.tsx +9 -6
  1301. package/src/lib/ui/Callout.tsx +3 -1
  1302. package/src/lib/ui/Card.tsx +1 -1
  1303. package/src/lib/ui/Carousel.tsx +1 -0
  1304. package/src/lib/ui/Checkbox.tsx +1 -1
  1305. package/src/lib/ui/CodeBlock.tsx +82 -0
  1306. package/src/lib/ui/Command.tsx +6 -8
  1307. package/src/lib/ui/Dialog.tsx +20 -8
  1308. package/src/lib/ui/DropdownMenu.tsx +4 -4
  1309. package/src/lib/ui/EmbeddedCodeBlock.tsx +94 -0
  1310. package/src/lib/ui/Form.tsx +4 -4
  1311. package/src/lib/ui/HoverCard.tsx +1 -1
  1312. package/src/lib/ui/Input.tsx +1 -1
  1313. package/src/lib/ui/Pagination.tsx +1 -2
  1314. package/src/lib/ui/Popover.tsx +1 -1
  1315. package/src/lib/ui/RadioGroup.tsx +1 -1
  1316. package/src/lib/ui/ReactComponentDoc.tsx +68 -0
  1317. package/src/lib/ui/Secret.tsx +106 -0
  1318. package/src/lib/ui/Select.tsx +3 -3
  1319. package/src/lib/ui/Slider.tsx +1 -1
  1320. package/src/lib/ui/Switch.tsx +1 -1
  1321. package/src/lib/ui/SyntaxHighlight.tsx +28 -179
  1322. package/src/lib/ui/Tabs.tsx +2 -2
  1323. package/src/lib/ui/Textarea.tsx +1 -1
  1324. package/src/lib/ui/Toggle.tsx +1 -1
  1325. package/src/lib/ui/ToggleGroup.tsx +1 -1
  1326. package/src/lib/ui/Tooltip.tsx +16 -1
  1327. package/src/lib/ui/Value.tsx +42 -0
  1328. package/src/lib/util/MdxComponents.tsx +53 -17
  1329. package/src/lib/util/cn.ts +1 -1
  1330. package/src/lib/util/createVariantComponent.tsx +2 -2
  1331. package/src/lib/util/detectOS.ts +9 -0
  1332. package/src/lib/util/ensureArray.ts +3 -0
  1333. package/src/lib/util/groupBy.ts +1 -0
  1334. package/src/lib/util/humanFileSize.test.ts +24 -0
  1335. package/src/lib/util/humanFileSize.ts +15 -0
  1336. package/src/lib/util/invariant.ts +8 -5
  1337. package/src/lib/util/os.ts +18 -0
  1338. package/src/lib/util/pastellize.ts +2 -2
  1339. package/src/lib/util/traverse.ts +8 -5
  1340. package/src/lib/util/types.ts +1 -1
  1341. package/src/lib/util/url.test.ts +51 -0
  1342. package/src/lib/util/url.ts +18 -0
  1343. package/src/lib/util/useCopyToClipboard.ts +17 -0
  1344. package/src/lib/util/useExposedProps.tsx +12 -1
  1345. package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
  1346. package/src/lib/util/useScrollToAnchor.ts +6 -4
  1347. package/src/shiki/langs/abap.js +1 -0
  1348. package/src/shiki/langs/actionscript-3.js +1 -0
  1349. package/src/shiki/langs/ada.js +1 -0
  1350. package/src/shiki/langs/angular-expression.js +1 -0
  1351. package/src/shiki/langs/angular-html.js +1 -0
  1352. package/src/shiki/langs/angular-inline-style.js +1 -0
  1353. package/src/shiki/langs/angular-inline-template.js +1 -0
  1354. package/src/shiki/langs/angular-let-declaration.js +1 -0
  1355. package/src/shiki/langs/angular-template-blocks.js +1 -0
  1356. package/src/shiki/langs/angular-template.js +1 -0
  1357. package/src/shiki/langs/angular-ts.js +1 -0
  1358. package/src/shiki/langs/apache.js +1 -0
  1359. package/src/shiki/langs/apex.js +1 -0
  1360. package/src/shiki/langs/apl.js +1 -0
  1361. package/src/shiki/langs/applescript.js +1 -0
  1362. package/src/shiki/langs/ara.js +1 -0
  1363. package/src/shiki/langs/asciidoc.js +1 -0
  1364. package/src/shiki/langs/asm.js +1 -0
  1365. package/src/shiki/langs/astro.js +1 -0
  1366. package/src/shiki/langs/awk.js +1 -0
  1367. package/src/shiki/langs/ballerina.js +1 -0
  1368. package/src/shiki/langs/bat.js +1 -0
  1369. package/src/shiki/langs/beancount.js +1 -0
  1370. package/src/shiki/langs/berry.js +1 -0
  1371. package/src/shiki/langs/bibtex.js +1 -0
  1372. package/src/shiki/langs/bicep.js +1 -0
  1373. package/src/shiki/langs/blade.js +1 -0
  1374. package/src/shiki/langs/bsl.js +1 -0
  1375. package/src/shiki/langs/c.js +1 -0
  1376. package/src/shiki/langs/cadence.js +1 -0
  1377. package/src/shiki/langs/cairo.js +1 -0
  1378. package/src/shiki/langs/clarity.js +1 -0
  1379. package/src/shiki/langs/clojure.js +1 -0
  1380. package/src/shiki/langs/cmake.js +1 -0
  1381. package/src/shiki/langs/cobol.js +1 -0
  1382. package/src/shiki/langs/codeowners.js +1 -0
  1383. package/src/shiki/langs/codeql.js +1 -0
  1384. package/src/shiki/langs/coffee.js +1 -0
  1385. package/src/shiki/langs/common-lisp.js +1 -0
  1386. package/src/shiki/langs/coq.js +1 -0
  1387. package/src/shiki/langs/cpp-macro.js +1 -0
  1388. package/src/shiki/langs/cpp.js +1 -0
  1389. package/src/shiki/langs/crystal.js +1 -0
  1390. package/src/shiki/langs/csharp.js +1 -0
  1391. package/src/shiki/langs/css.js +1 -0
  1392. package/src/shiki/langs/csv.js +1 -0
  1393. package/src/shiki/langs/cue.js +1 -0
  1394. package/src/shiki/langs/cypher.js +1 -0
  1395. package/src/shiki/langs/d.js +1 -0
  1396. package/src/shiki/langs/dart.js +1 -0
  1397. package/src/shiki/langs/dax.js +1 -0
  1398. package/src/shiki/langs/desktop.js +1 -0
  1399. package/src/shiki/langs/diff.js +1 -0
  1400. package/src/shiki/langs/docker.js +1 -0
  1401. package/src/shiki/langs/dotenv.js +1 -0
  1402. package/src/shiki/langs/dream-maker.js +1 -0
  1403. package/src/shiki/langs/edge.js +1 -0
  1404. package/src/shiki/langs/elixir.js +1 -0
  1405. package/src/shiki/langs/elm.js +1 -0
  1406. package/src/shiki/langs/emacs-lisp.js +1 -0
  1407. package/src/shiki/langs/erb.js +1 -0
  1408. package/src/shiki/langs/erlang.js +1 -0
  1409. package/src/shiki/langs/es-tag-css.js +1 -0
  1410. package/src/shiki/langs/es-tag-glsl.js +1 -0
  1411. package/src/shiki/langs/es-tag-html.js +1 -0
  1412. package/src/shiki/langs/es-tag-sql.js +1 -0
  1413. package/src/shiki/langs/es-tag-xml.js +1 -0
  1414. package/src/shiki/langs/fennel.js +1 -0
  1415. package/src/shiki/langs/fish.js +1 -0
  1416. package/src/shiki/langs/fluent.js +1 -0
  1417. package/src/shiki/langs/fortran-fixed-form.js +1 -0
  1418. package/src/shiki/langs/fortran-free-form.js +1 -0
  1419. package/src/shiki/langs/fsharp.js +1 -0
  1420. package/src/shiki/langs/gdresource.js +1 -0
  1421. package/src/shiki/langs/gdscript.js +1 -0
  1422. package/src/shiki/langs/gdshader.js +1 -0
  1423. package/src/shiki/langs/genie.js +1 -0
  1424. package/src/shiki/langs/gherkin.js +1 -0
  1425. package/src/shiki/langs/git-commit.js +1 -0
  1426. package/src/shiki/langs/git-rebase.js +1 -0
  1427. package/src/shiki/langs/gleam.js +1 -0
  1428. package/src/shiki/langs/glimmer-js.js +1 -0
  1429. package/src/shiki/langs/glimmer-ts.js +1 -0
  1430. package/src/shiki/langs/glsl.js +1 -0
  1431. package/src/shiki/langs/gnuplot.js +1 -0
  1432. package/src/shiki/langs/go.js +1 -0
  1433. package/src/shiki/langs/graphql.js +1 -0
  1434. package/src/shiki/langs/groovy.js +1 -0
  1435. package/src/shiki/langs/hack.js +1 -0
  1436. package/src/shiki/langs/haml.js +1 -0
  1437. package/src/shiki/langs/handlebars.js +1 -0
  1438. package/src/shiki/langs/haskell.js +1 -0
  1439. package/src/shiki/langs/haxe.js +1 -0
  1440. package/src/shiki/langs/hcl.js +1 -0
  1441. package/src/shiki/langs/hjson.js +1 -0
  1442. package/src/shiki/langs/hlsl.js +1 -0
  1443. package/src/shiki/langs/html-derivative.js +1 -0
  1444. package/src/shiki/langs/html.js +1 -0
  1445. package/src/shiki/langs/http.js +1 -0
  1446. package/src/shiki/langs/hxml.js +1 -0
  1447. package/src/shiki/langs/hy.js +1 -0
  1448. package/src/shiki/langs/imba.js +1 -0
  1449. package/src/shiki/langs/ini.js +1 -0
  1450. package/src/shiki/langs/java.js +1 -0
  1451. package/src/shiki/langs/javascript.js +1 -0
  1452. package/src/shiki/langs/jinja-html.js +1 -0
  1453. package/src/shiki/langs/jinja.js +1 -0
  1454. package/src/shiki/langs/jison.js +1 -0
  1455. package/src/shiki/langs/json.js +1 -0
  1456. package/src/shiki/langs/json5.js +1 -0
  1457. package/src/shiki/langs/jsonc.js +1 -0
  1458. package/src/shiki/langs/jsonl.js +1 -0
  1459. package/src/shiki/langs/jsonnet.js +1 -0
  1460. package/src/shiki/langs/jssm.js +1 -0
  1461. package/src/shiki/langs/jsx.js +1 -0
  1462. package/src/shiki/langs/julia.js +1 -0
  1463. package/src/shiki/langs/kotlin.js +1 -0
  1464. package/src/shiki/langs/kusto.js +1 -0
  1465. package/src/shiki/langs/latex.js +1 -0
  1466. package/src/shiki/langs/lean.js +1 -0
  1467. package/src/shiki/langs/less.js +1 -0
  1468. package/src/shiki/langs/liquid.js +1 -0
  1469. package/src/shiki/langs/llvm.js +1 -0
  1470. package/src/shiki/langs/log.js +1 -0
  1471. package/src/shiki/langs/logo.js +1 -0
  1472. package/src/shiki/langs/lua.js +1 -0
  1473. package/src/shiki/langs/luau.js +1 -0
  1474. package/src/shiki/langs/make.js +1 -0
  1475. package/src/shiki/langs/markdown-vue.js +1 -0
  1476. package/src/shiki/langs/markdown.js +1 -0
  1477. package/src/shiki/langs/marko.js +1 -0
  1478. package/src/shiki/langs/matlab.js +1 -0
  1479. package/src/shiki/langs/mdc.js +1 -0
  1480. package/src/shiki/langs/mdx.js +1 -0
  1481. package/src/shiki/langs/mermaid.js +1 -0
  1482. package/src/shiki/langs/mipsasm.js +1 -0
  1483. package/src/shiki/langs/mojo.js +1 -0
  1484. package/src/shiki/langs/move.js +1 -0
  1485. package/src/shiki/langs/narrat.js +1 -0
  1486. package/src/shiki/langs/nextflow.js +1 -0
  1487. package/src/shiki/langs/nginx.js +1 -0
  1488. package/src/shiki/langs/nim.js +1 -0
  1489. package/src/shiki/langs/nix.js +1 -0
  1490. package/src/shiki/langs/nushell.js +1 -0
  1491. package/src/shiki/langs/objective-c.js +1 -0
  1492. package/src/shiki/langs/objective-cpp.js +1 -0
  1493. package/src/shiki/langs/ocaml.js +1 -0
  1494. package/src/shiki/langs/pascal.js +1 -0
  1495. package/src/shiki/langs/perl.js +1 -0
  1496. package/src/shiki/langs/php.js +1 -0
  1497. package/src/shiki/langs/plsql.js +1 -0
  1498. package/src/shiki/langs/po.js +1 -0
  1499. package/src/shiki/langs/polar.js +1 -0
  1500. package/src/shiki/langs/postcss.js +1 -0
  1501. package/src/shiki/langs/powerquery.js +1 -0
  1502. package/src/shiki/langs/powershell.js +1 -0
  1503. package/src/shiki/langs/prisma.js +1 -0
  1504. package/src/shiki/langs/prolog.js +1 -0
  1505. package/src/shiki/langs/proto.js +1 -0
  1506. package/src/shiki/langs/pug.js +1 -0
  1507. package/src/shiki/langs/puppet.js +1 -0
  1508. package/src/shiki/langs/purescript.js +1 -0
  1509. package/src/shiki/langs/python.js +1 -0
  1510. package/src/shiki/langs/qml.js +1 -0
  1511. package/src/shiki/langs/qmldir.js +1 -0
  1512. package/src/shiki/langs/qss.js +1 -0
  1513. package/src/shiki/langs/r.js +1 -0
  1514. package/src/shiki/langs/racket.js +1 -0
  1515. package/src/shiki/langs/raku.js +1 -0
  1516. package/src/shiki/langs/razor.js +1 -0
  1517. package/src/shiki/langs/reg.js +1 -0
  1518. package/src/shiki/langs/regexp.js +1 -0
  1519. package/src/shiki/langs/rel.js +1 -0
  1520. package/src/shiki/langs/riscv.js +1 -0
  1521. package/src/shiki/langs/rst.js +1 -0
  1522. package/src/shiki/langs/ruby.js +1 -0
  1523. package/src/shiki/langs/rust.js +1 -0
  1524. package/src/shiki/langs/sas.js +1 -0
  1525. package/src/shiki/langs/sass.js +1 -0
  1526. package/src/shiki/langs/scala.js +1 -0
  1527. package/src/shiki/langs/scheme.js +1 -0
  1528. package/src/shiki/langs/scss.js +1 -0
  1529. package/src/shiki/langs/sdbl.js +1 -0
  1530. package/src/shiki/langs/shaderlab.js +1 -0
  1531. package/src/shiki/langs/shellscript.js +1 -0
  1532. package/src/shiki/langs/shellsession.js +1 -0
  1533. package/src/shiki/langs/smalltalk.js +1 -0
  1534. package/src/shiki/langs/solidity.js +1 -0
  1535. package/src/shiki/langs/soy.js +1 -0
  1536. package/src/shiki/langs/sparql.js +1 -0
  1537. package/src/shiki/langs/splunk.js +1 -0
  1538. package/src/shiki/langs/sql.js +1 -0
  1539. package/src/shiki/langs/ssh-config.js +1 -0
  1540. package/src/shiki/langs/stata.js +1 -0
  1541. package/src/shiki/langs/stylus.js +1 -0
  1542. package/src/shiki/langs/svelte.js +1 -0
  1543. package/src/shiki/langs/swift.js +1 -0
  1544. package/src/shiki/langs/system-verilog.js +1 -0
  1545. package/src/shiki/langs/systemd.js +1 -0
  1546. package/src/shiki/langs/talonscript.js +1 -0
  1547. package/src/shiki/langs/tasl.js +1 -0
  1548. package/src/shiki/langs/tcl.js +1 -0
  1549. package/src/shiki/langs/templ.js +1 -0
  1550. package/src/shiki/langs/terraform.js +1 -0
  1551. package/src/shiki/langs/tex.js +1 -0
  1552. package/src/shiki/langs/toml.js +1 -0
  1553. package/src/shiki/langs/ts-tags.js +1 -0
  1554. package/src/shiki/langs/tsv.js +1 -0
  1555. package/src/shiki/langs/tsx.js +1 -0
  1556. package/src/shiki/langs/turtle.js +1 -0
  1557. package/src/shiki/langs/twig.js +1 -0
  1558. package/src/shiki/langs/typescript.js +1 -0
  1559. package/src/shiki/langs/typespec.js +1 -0
  1560. package/src/shiki/langs/typst.js +1 -0
  1561. package/src/shiki/langs/v.js +1 -0
  1562. package/src/shiki/langs/vala.js +1 -0
  1563. package/src/shiki/langs/vb.js +1 -0
  1564. package/src/shiki/langs/verilog.js +1 -0
  1565. package/src/shiki/langs/vhdl.js +1 -0
  1566. package/src/shiki/langs/viml.js +1 -0
  1567. package/src/shiki/langs/vue-directives.js +1 -0
  1568. package/src/shiki/langs/vue-html.js +1 -0
  1569. package/src/shiki/langs/vue-interpolations.js +1 -0
  1570. package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
  1571. package/src/shiki/langs/vue-vine.js +1 -0
  1572. package/src/shiki/langs/vue.js +1 -0
  1573. package/src/shiki/langs/vyper.js +1 -0
  1574. package/src/shiki/langs/wasm.js +1 -0
  1575. package/src/shiki/langs/wenyan.js +1 -0
  1576. package/src/shiki/langs/wgsl.js +1 -0
  1577. package/src/shiki/langs/wikitext.js +1 -0
  1578. package/src/shiki/langs/wit.js +1 -0
  1579. package/src/shiki/langs/wolfram.js +1 -0
  1580. package/src/shiki/langs/xml.js +1 -0
  1581. package/src/shiki/langs/xsl.js +1 -0
  1582. package/src/shiki/langs/yaml.js +1 -0
  1583. package/src/shiki/langs/zenscript.js +1 -0
  1584. package/src/shiki/langs/zig.js +1 -0
  1585. package/src/shiki/themes/andromeeda.js +1 -0
  1586. package/src/shiki/themes/aurora-x.js +1 -0
  1587. package/src/shiki/themes/ayu-dark.js +1 -0
  1588. package/src/shiki/themes/catppuccin-frappe.js +1 -0
  1589. package/src/shiki/themes/catppuccin-latte.js +1 -0
  1590. package/src/shiki/themes/catppuccin-macchiato.js +1 -0
  1591. package/src/shiki/themes/catppuccin-mocha.js +1 -0
  1592. package/src/shiki/themes/dark-plus.js +1 -0
  1593. package/src/shiki/themes/dracula-soft.js +1 -0
  1594. package/src/shiki/themes/dracula.js +1 -0
  1595. package/src/shiki/themes/everforest-dark.js +1 -0
  1596. package/src/shiki/themes/everforest-light.js +1 -0
  1597. package/src/shiki/themes/github-dark-default.js +1 -0
  1598. package/src/shiki/themes/github-dark-dimmed.js +1 -0
  1599. package/src/shiki/themes/github-dark-high-contrast.js +1 -0
  1600. package/src/shiki/themes/github-dark.js +1 -0
  1601. package/src/shiki/themes/github-light-default.js +1 -0
  1602. package/src/shiki/themes/github-light-high-contrast.js +1 -0
  1603. package/src/shiki/themes/github-light.js +1 -0
  1604. package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
  1605. package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
  1606. package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
  1607. package/src/shiki/themes/gruvbox-light-hard.js +1 -0
  1608. package/src/shiki/themes/gruvbox-light-medium.js +1 -0
  1609. package/src/shiki/themes/gruvbox-light-soft.js +1 -0
  1610. package/src/shiki/themes/houston.js +1 -0
  1611. package/src/shiki/themes/kanagawa-dragon.js +1 -0
  1612. package/src/shiki/themes/kanagawa-lotus.js +1 -0
  1613. package/src/shiki/themes/kanagawa-wave.js +1 -0
  1614. package/src/shiki/themes/laserwave.js +1 -0
  1615. package/src/shiki/themes/light-plus.js +1 -0
  1616. package/src/shiki/themes/material-theme-darker.js +1 -0
  1617. package/src/shiki/themes/material-theme-lighter.js +1 -0
  1618. package/src/shiki/themes/material-theme-ocean.js +1 -0
  1619. package/src/shiki/themes/material-theme-palenight.js +1 -0
  1620. package/src/shiki/themes/material-theme.js +1 -0
  1621. package/src/shiki/themes/min-dark.js +1 -0
  1622. package/src/shiki/themes/min-light.js +1 -0
  1623. package/src/shiki/themes/monokai.js +1 -0
  1624. package/src/shiki/themes/night-owl.js +1 -0
  1625. package/src/shiki/themes/nord.js +1 -0
  1626. package/src/shiki/themes/one-dark-pro.js +1 -0
  1627. package/src/shiki/themes/one-light.js +1 -0
  1628. package/src/shiki/themes/plastic.js +1 -0
  1629. package/src/shiki/themes/poimandres.js +1 -0
  1630. package/src/shiki/themes/red.js +1 -0
  1631. package/src/shiki/themes/rose-pine-dawn.js +1 -0
  1632. package/src/shiki/themes/rose-pine-moon.js +1 -0
  1633. package/src/shiki/themes/rose-pine.js +1 -0
  1634. package/src/shiki/themes/slack-dark.js +1 -0
  1635. package/src/shiki/themes/slack-ochin.js +1 -0
  1636. package/src/shiki/themes/snazzy-light.js +1 -0
  1637. package/src/shiki/themes/solarized-dark.js +1 -0
  1638. package/src/shiki/themes/solarized-light.js +1 -0
  1639. package/src/shiki/themes/synthwave-84.js +1 -0
  1640. package/src/shiki/themes/tokyo-night.js +1 -0
  1641. package/src/shiki/themes/vesper.js +1 -0
  1642. package/src/shiki/themes/vitesse-black.js +1 -0
  1643. package/src/shiki/themes/vitesse-dark.js +1 -0
  1644. package/src/shiki/themes/vitesse-light.js +1 -0
  1645. package/client.d.ts +0 -8
  1646. package/dist/app/tailwind.d.ts +0 -4
  1647. package/dist/app/tailwind.js +0 -97
  1648. package/dist/app/tailwind.js.map +0 -1
  1649. package/dist/config/common.d.ts +0 -10
  1650. package/dist/config/common.js +0 -2
  1651. package/dist/config/common.js.map +0 -1
  1652. package/dist/config/validators/InputSidebarSchema.d.ts +0 -217
  1653. package/dist/config/validators/InputSidebarSchema.js +0 -62
  1654. package/dist/config/validators/InputSidebarSchema.js.map +0 -1
  1655. package/dist/config/validators/SidebarSchema.d.ts +0 -46
  1656. package/dist/config/validators/SidebarSchema.js +0 -118
  1657. package/dist/config/validators/SidebarSchema.js.map +0 -1
  1658. package/dist/config/validators/common.d.ts +0 -7714
  1659. package/dist/config/validators/common.js +0 -408
  1660. package/dist/config/validators/common.js.map +0 -1
  1661. package/dist/lib/components/ReactMarkdown.d.ts +0 -29
  1662. package/dist/lib/components/ReactMarkdown.js +0 -182
  1663. package/dist/lib/components/ReactMarkdown.js.map +0 -1
  1664. package/dist/lib/components/SlotletProvider.d.ts +0 -17
  1665. package/dist/lib/components/SlotletProvider.js +0 -18
  1666. package/dist/lib/components/SlotletProvider.js.map +0 -1
  1667. package/dist/lib/components/navigation/Sidebar.d.ts +0 -5
  1668. package/dist/lib/components/navigation/Sidebar.js +0 -8
  1669. package/dist/lib/components/navigation/Sidebar.js.map +0 -1
  1670. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -26
  1671. package/dist/lib/components/navigation/SidebarBadge.js +0 -26
  1672. package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
  1673. package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
  1674. package/dist/lib/components/navigation/SidebarCategory.js +0 -55
  1675. package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
  1676. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -11
  1677. package/dist/lib/components/navigation/SidebarItem.js +0 -50
  1678. package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
  1679. package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -7
  1680. package/dist/lib/components/navigation/SidebarWrapper.js +0 -21
  1681. package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
  1682. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +0 -2
  1683. package/dist/lib/plugins/custom-pages/CustomPage.js +0 -11
  1684. package/dist/lib/plugins/custom-pages/CustomPage.js.map +0 -1
  1685. package/dist/lib/plugins/markdown/resolver.d.ts +0 -32
  1686. package/dist/lib/plugins/markdown/resolver.js +0 -46
  1687. package/dist/lib/plugins/markdown/resolver.js.map +0 -1
  1688. package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +0 -7
  1689. package/dist/lib/plugins/openapi/playground/SubmitButton.js +0 -22
  1690. package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +0 -1
  1691. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
  1692. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
  1693. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
  1694. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +0 -7
  1695. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +0 -11
  1696. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +0 -1
  1697. package/dist/lib/plugins/openapi/post-processors/removeExtensions.d.ts +0 -7
  1698. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js +0 -16
  1699. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js.map +0 -1
  1700. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js +0 -174
  1701. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js.map +0 -1
  1702. package/dist/lib/plugins/openapi/post-processors/removeParameters.d.ts +0 -10
  1703. package/dist/lib/plugins/openapi/post-processors/removeParameters.js +0 -66
  1704. package/dist/lib/plugins/openapi/post-processors/removeParameters.js.map +0 -1
  1705. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.js +0 -131
  1706. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.js.map +0 -1
  1707. package/dist/lib/plugins/openapi/post-processors/removePaths.d.ts +0 -11
  1708. package/dist/lib/plugins/openapi/post-processors/removePaths.js +0 -33
  1709. package/dist/lib/plugins/openapi/post-processors/removePaths.js.map +0 -1
  1710. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js +0 -104
  1711. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js.map +0 -1
  1712. package/dist/lib/plugins/openapi/post-processors/traverse.d.ts +0 -1
  1713. package/dist/lib/plugins/openapi/post-processors/traverse.js.map +0 -1
  1714. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -8
  1715. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
  1716. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
  1717. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -7
  1718. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
  1719. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
  1720. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -6
  1721. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
  1722. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
  1723. package/dist/lib/plugins/openapi/util/createSidebarCategory.d.ts +0 -9
  1724. package/dist/lib/plugins/openapi/util/createSidebarCategory.js +0 -23
  1725. package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +0 -1
  1726. package/dist/vite/plugin-docs.test.js +0 -22
  1727. package/dist/vite/plugin-docs.test.js.map +0 -1
  1728. package/dist/vite/plugin-sidebar.d.ts +0 -3
  1729. package/dist/vite/plugin-sidebar.js +0 -56
  1730. package/dist/vite/plugin-sidebar.js.map +0 -1
  1731. package/dist/vite/plugin-theme-css.d.ts +0 -6
  1732. package/dist/vite/plugin-theme-css.js +0 -117
  1733. package/dist/vite/plugin-theme-css.js.map +0 -1
  1734. package/dist/vite/remarkStaticGeneration.d.ts +0 -3
  1735. package/dist/vite/remarkStaticGeneration.js +0 -125
  1736. package/dist/vite/remarkStaticGeneration.js.map +0 -1
  1737. package/dist/zuplo/env.d.ts +0 -7
  1738. package/dist/zuplo/env.js +0 -12
  1739. package/dist/zuplo/env.js.map +0 -1
  1740. package/lib/AuthenticationPlugin-foqdvvkf.js +0 -58
  1741. package/lib/AuthenticationPlugin-foqdvvkf.js.map +0 -1
  1742. package/lib/Button-Fp19CMUr.js +0 -49
  1743. package/lib/Button-Fp19CMUr.js.map +0 -1
  1744. package/lib/Callout-B2vsR09t.js +0 -229
  1745. package/lib/Callout-B2vsR09t.js.map +0 -1
  1746. package/lib/CategoryHeading-DpB47wvk.js +0 -10
  1747. package/lib/CategoryHeading-DpB47wvk.js.map +0 -1
  1748. package/lib/Dialog-sbgekbjb.js +0 -98
  1749. package/lib/Dialog-sbgekbjb.js.map +0 -1
  1750. package/lib/Drawer-kDAfOq_2.js +0 -1133
  1751. package/lib/Drawer-kDAfOq_2.js.map +0 -1
  1752. package/lib/Markdown-aF5FdsNi.js +0 -16960
  1753. package/lib/Markdown-aF5FdsNi.js.map +0 -1
  1754. package/lib/MdxPage-Vw_dc9Yz.js +0 -85
  1755. package/lib/MdxPage-Vw_dc9Yz.js.map +0 -1
  1756. package/lib/OasProvider-CjXTP-nz.js +0 -34
  1757. package/lib/OasProvider-CjXTP-nz.js.map +0 -1
  1758. package/lib/OperationList-BYemrDYk.js +0 -5068
  1759. package/lib/OperationList-BYemrDYk.js.map +0 -1
  1760. package/lib/Pagination-SdlocK96.js +0 -48
  1761. package/lib/Pagination-SdlocK96.js.map +0 -1
  1762. package/lib/RouteGuard-CqZPoZYJ.js +0 -744
  1763. package/lib/RouteGuard-CqZPoZYJ.js.map +0 -1
  1764. package/lib/SchemaList-CAeKy9pV.js +0 -148
  1765. package/lib/SchemaList-CAeKy9pV.js.map +0 -1
  1766. package/lib/SchemaView-B3fOPR4V.js +0 -357
  1767. package/lib/SchemaView-B3fOPR4V.js.map +0 -1
  1768. package/lib/Select-DVFRKf1R.js +0 -223
  1769. package/lib/Select-DVFRKf1R.js.map +0 -1
  1770. package/lib/SlotletProvider-DXvc0aY6.js +0 -338
  1771. package/lib/SlotletProvider-DXvc0aY6.js.map +0 -1
  1772. package/lib/Spinner-CE68iCm0.js +0 -7
  1773. package/lib/Spinner-CE68iCm0.js.map +0 -1
  1774. package/lib/SyntaxHighlight-BEoSoPEo.js +0 -2890
  1775. package/lib/SyntaxHighlight-BEoSoPEo.js.map +0 -1
  1776. package/lib/Toc-YBsgI72s.js +0 -92
  1777. package/lib/Toc-YBsgI72s.js.map +0 -1
  1778. package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
  1779. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  1780. package/lib/chunk-HA7DTUK3-C4gP41vD.js +0 -1821
  1781. package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +0 -1
  1782. package/lib/circular-ByJI6Mci.js +0 -15877
  1783. package/lib/circular-ByJI6Mci.js.map +0 -1
  1784. package/lib/cn-qaFjX9_3.js +0 -2279
  1785. package/lib/cn-qaFjX9_3.js.map +0 -1
  1786. package/lib/context-DLCwaMXN.js +0 -22
  1787. package/lib/context-DLCwaMXN.js.map +0 -1
  1788. package/lib/createServer-mYvGvmc0.js +0 -12454
  1789. package/lib/createServer-mYvGvmc0.js.map +0 -1
  1790. package/lib/hook-CqpVYDqN.js +0 -1483
  1791. package/lib/hook-CqpVYDqN.js.map +0 -1
  1792. package/lib/index-Bn6Lc9tq.js +0 -9
  1793. package/lib/index-Bn6Lc9tq.js.map +0 -1
  1794. package/lib/index-C1OzjGUK.js +0 -2227
  1795. package/lib/index-C1OzjGUK.js.map +0 -1
  1796. package/lib/index-CPNSgwSb.js +0 -36
  1797. package/lib/index-CPNSgwSb.js.map +0 -1
  1798. package/lib/index-D48iOQvJ.js +0 -1973
  1799. package/lib/index-D48iOQvJ.js.map +0 -1
  1800. package/lib/index-Dl3Yl0yb.js +0 -4837
  1801. package/lib/index-Dl3Yl0yb.js.map +0 -1
  1802. package/lib/index-DwT-v3zK.js +0 -86
  1803. package/lib/index-DwT-v3zK.js.map +0 -1
  1804. package/lib/index-LNp6rxyU.js +0 -2094
  1805. package/lib/index-LNp6rxyU.js.map +0 -1
  1806. package/lib/index-gQD2h1wX.js +0 -447
  1807. package/lib/index-gQD2h1wX.js.map +0 -1
  1808. package/lib/index.esm--gIChbWs.js +0 -1207
  1809. package/lib/index.esm--gIChbWs.js.map +0 -1
  1810. package/lib/invariant-Caa8-XvF.js +0 -26
  1811. package/lib/invariant-Caa8-XvF.js.map +0 -1
  1812. package/lib/jsx-runtime-CYK1ROHF.js +0 -446
  1813. package/lib/jsx-runtime-CYK1ROHF.js.map +0 -1
  1814. package/lib/mutation-8LjrN7uz.js +0 -208
  1815. package/lib/mutation-8LjrN7uz.js.map +0 -1
  1816. package/lib/objectEntries-yMIkr2mI.js +0 -5
  1817. package/lib/objectEntries-yMIkr2mI.js.map +0 -1
  1818. package/lib/post-processors/removeExtensions.js +0 -11
  1819. package/lib/post-processors/removeExtensions.js.map +0 -1
  1820. package/lib/post-processors/removeParameters.js +0 -48
  1821. package/lib/post-processors/removeParameters.js.map +0 -1
  1822. package/lib/post-processors/removePaths.js +0 -28
  1823. package/lib/post-processors/removePaths.js.map +0 -1
  1824. package/lib/post-processors/traverse.js +0 -15
  1825. package/lib/post-processors/traverse.js.map +0 -1
  1826. package/lib/prism-bash.min-HHIMdNJ_.js +0 -7
  1827. package/lib/prism-bash.min-HHIMdNJ_.js.map +0 -1
  1828. package/lib/prism-csharp.min-bQAo2pmx.js +0 -63
  1829. package/lib/prism-csharp.min-bQAo2pmx.js.map +0 -1
  1830. package/lib/prism-java.min-BpvsOuIa.js +0 -35
  1831. package/lib/prism-java.min-BpvsOuIa.js.map +0 -1
  1832. package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
  1833. package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
  1834. package/lib/prism-json.min-B1GJqK1k.js +0 -2
  1835. package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
  1836. package/lib/prism-jsstacktrace.min-BfobCF2F.js +0 -2
  1837. package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +0 -1
  1838. package/lib/prism-markdown.min-C0Qn0m-5.js +0 -61
  1839. package/lib/prism-markdown.min-C0Qn0m-5.js.map +0 -1
  1840. package/lib/prism-markup-BNGj0Tvm.js +0 -174
  1841. package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
  1842. package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
  1843. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
  1844. package/lib/prism-ruby.min-Dx9KO9ds.js +0 -38
  1845. package/lib/prism-ruby.min-Dx9KO9ds.js.map +0 -1
  1846. package/lib/prism-typescript.min-CD7H2IYQ.js +0 -34
  1847. package/lib/prism-typescript.min-CD7H2IYQ.js.map +0 -1
  1848. package/lib/useExposedProps-B9qXJedG.js +0 -9
  1849. package/lib/useExposedProps-B9qXJedG.js.map +0 -1
  1850. package/src/app/tailwind.ts +0 -103
  1851. package/src/lib/components/ReactMarkdown.license.txt +0 -21
  1852. package/src/lib/components/ReactMarkdown.tsx +0 -264
  1853. package/src/lib/components/SlotletProvider.tsx +0 -55
  1854. package/src/lib/components/navigation/Sidebar.tsx +0 -41
  1855. package/src/lib/components/navigation/SidebarBadge.tsx +0 -48
  1856. package/src/lib/components/navigation/SidebarCategory.tsx +0 -140
  1857. package/src/lib/components/navigation/SidebarItem.tsx +0 -118
  1858. package/src/lib/components/navigation/SidebarWrapper.tsx +0 -46
  1859. package/src/lib/plugins/custom-pages/CustomPage.tsx +0 -18
  1860. package/src/lib/plugins/markdown/resolver.ts +0 -57
  1861. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +0 -75
  1862. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
  1863. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +0 -73
  1864. package/src/lib/plugins/openapi/post-processors/removeExtensions.test.ts +0 -202
  1865. package/src/lib/plugins/openapi/post-processors/removeExtensions.ts +0 -27
  1866. package/src/lib/plugins/openapi/post-processors/removeParameters.test.ts +0 -148
  1867. package/src/lib/plugins/openapi/post-processors/removeParameters.ts +0 -101
  1868. package/src/lib/plugins/openapi/post-processors/removePaths.test.ts +0 -126
  1869. package/src/lib/plugins/openapi/post-processors/removePaths.ts +0 -55
  1870. package/src/lib/plugins/openapi/post-processors/traverse.ts +0 -1
  1871. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -40
  1872. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +0 -57
  1873. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +0 -33
  1874. package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +0 -37
  1875. /package/dist/{lib/plugins/openapi/post-processors/removeExtensions.test.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
  1876. /package/dist/{lib/plugins/openapi/post-processors/removeParameters.test.d.ts → config/validators/validate.test.d.ts} +0 -0
  1877. /package/dist/lib/{plugins/openapi/post-processors/removePaths.test.d.ts → auth/issuer.test.d.ts} +0 -0
  1878. /package/dist/{vite/plugin-docs.test.d.ts → lib/components/Slot.test.d.ts} +0 -0
  1879. /package/dist/lib/plugins/openapi/{post-processors → processors}/traverse.js +0 -0
@@ -1,1973 +0,0 @@
1
- var sr = Object.defineProperty;
2
- var De = (t) => {
3
- throw TypeError(t);
4
- };
5
- var nr = (t, e, r) => e in t ? sr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
- var O = (t, e, r) => nr(t, typeof e != "symbol" ? e + "" : e, r), qe = (t, e, r) => e.has(t) || De("Cannot " + r);
7
- var d = (t, e, r) => (qe(t, e, "read from private field"), r ? r.call(t) : e.get(t)), R = (t, e, r) => e.has(t) ? De("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), M = (t, e, r, n) => (qe(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r);
8
- var ce = (t, e, r, n) => ({
9
- set _(a) {
10
- M(t, e, a, r);
11
- },
12
- get _() {
13
- return d(t, e, n);
14
- }
15
- });
16
- import { B as ot, a as it, H as Ne, R as ar } from "./RouteGuard-CqZPoZYJ.js";
17
- import { z as ct, J as or } from "./index-DwT-v3zK.js";
18
- import { R as ir, S as cr, u as pe, f as ge, g as lr, L as Te, O as lt } from "./chunk-HA7DTUK3-C4gP41vD.js";
19
- import { S as ut, v as dt, Q as ur, n as k, w as $e, x as Fe, y as B, z as dr, A as fr, B as hr, C as mr, D as Ie, E as Qe, F as pr, h as ze, G as Le, H as gr, g as ft, I as ht, e as I, l as ae, J as mt, K as vr, f as ee, u as xr, j as yr, d as br, Z as jr, L as wr, M as Pr } from "./hook-CqpVYDqN.js";
20
- import { E as pt, S as _, a as Sr, R as Cr } from "./SlotletProvider-DXvc0aY6.js";
21
- import { j as s } from "./jsx-runtime-CYK1ROHF.js";
22
- import { Button as Er } from "./ui/Button.js";
23
- import { Callout as Nr } from "./ui/Callout.js";
24
- import { M as Tr } from "./mutation-8LjrN7uz.js";
25
- import * as K from "react";
26
- import he, { createContext as Me, StrictMode as gt, useRef as G, useEffect as Q, useState as J, useCallback as W, Suspense as Oe, memo as vt, Component as Mr, createElement as Be, useMemo as ye, useContext as Or } from "react";
27
- import * as Ar from "react-dom";
28
- import { C as Ae } from "./ClientOnly-E7hGysn1.js";
29
- import { A as Rr, s as kr, a as He, b as _r, H as Dr, P as qr, c as $r, V as Fr, M as Ir } from "./Markdown-aF5FdsNi.js";
30
- import { ExternalLink as Qr, CircleXIcon as zr, ChevronRightIcon as Lr, SearchIcon as Br, SunIcon as Hr, MoonIcon as Kr, MenuIcon as Ur, PanelLeftIcon as Yr } from "lucide-react";
31
- import { c as A } from "./cn-qaFjX9_3.js";
32
- import { S as xt } from "./Spinner-CE68iCm0.js";
33
- import { C as Zr } from "./CategoryHeading-DpB47wvk.js";
34
- import { isSearchPlugin as Vr, isProfileMenuPlugin as Wr, isNavigationPlugin as Gr, isEventConsumerPlugin as Xr, needsInitialization as Jr, isApiIdentityPlugin as es, isMdxProviderPlugin as ts, hasHead as rs } from "./zudoku.plugins.js";
35
- import { o as ss } from "./objectEntries-yMIkr2mI.js";
36
- import { B as Se } from "./Button-Fp19CMUr.js";
37
- import { DropdownMenu as ns, DropdownMenuTrigger as as, DropdownMenuContent as os, DropdownMenuLabel as is, DropdownMenuSeparator as be, DropdownMenuSub as cs, DropdownMenuSubTrigger as ls, DropdownMenuPortal as us, DropdownMenuSubContent as ds, DropdownMenuItem as fs } from "./ui/DropdownMenu.js";
38
- import { VisuallyHidden as yt } from "@radix-ui/react-visually-hidden";
39
- import { D as hs, a as ms, b as bt, c as jt, d as z } from "./Drawer-kDAfOq_2.js";
40
- import { a as ps } from "./index-CPNSgwSb.js";
41
- const Ce = {}, wt = he.createContext(Ce);
42
- function Pt(t) {
43
- const e = he.useContext(wt);
44
- return he.useMemo(
45
- function() {
46
- return typeof t == "function" ? t(e) : { ...e, ...t };
47
- },
48
- [e, t]
49
- );
50
- }
51
- function gs(t) {
52
- let e;
53
- return t.disableParentContext ? e = typeof t.components == "function" ? t.components(Ce) : t.components || Ce : e = Pt(t.components), he.createElement(
54
- wt.Provider,
55
- { value: e },
56
- t.children
57
- );
58
- }
59
- var F, st, vs = (st = class extends ut {
60
- constructor(e = {}) {
61
- super();
62
- R(this, F);
63
- this.config = e, M(this, F, /* @__PURE__ */ new Map());
64
- }
65
- build(e, r, n) {
66
- const a = r.queryKey, i = r.queryHash ?? dt(a, r);
67
- let o = this.get(i);
68
- return o || (o = new ur({
69
- client: e,
70
- queryKey: a,
71
- queryHash: i,
72
- options: e.defaultQueryOptions(r),
73
- state: n,
74
- defaultOptions: e.getQueryDefaults(a)
75
- }), this.add(o)), o;
76
- }
77
- add(e) {
78
- d(this, F).has(e.queryHash) || (d(this, F).set(e.queryHash, e), this.notify({
79
- type: "added",
80
- query: e
81
- }));
82
- }
83
- remove(e) {
84
- const r = d(this, F).get(e.queryHash);
85
- r && (e.destroy(), r === e && d(this, F).delete(e.queryHash), this.notify({ type: "removed", query: e }));
86
- }
87
- clear() {
88
- k.batch(() => {
89
- this.getAll().forEach((e) => {
90
- this.remove(e);
91
- });
92
- });
93
- }
94
- get(e) {
95
- return d(this, F).get(e);
96
- }
97
- getAll() {
98
- return [...d(this, F).values()];
99
- }
100
- find(e) {
101
- const r = { exact: !0, ...e };
102
- return this.getAll().find(
103
- (n) => $e(r, n)
104
- );
105
- }
106
- findAll(e = {}) {
107
- const r = this.getAll();
108
- return Object.keys(e).length > 0 ? r.filter((n) => $e(e, n)) : r;
109
- }
110
- notify(e) {
111
- k.batch(() => {
112
- this.listeners.forEach((r) => {
113
- r(e);
114
- });
115
- });
116
- }
117
- onFocus() {
118
- k.batch(() => {
119
- this.getAll().forEach((e) => {
120
- e.onFocus();
121
- });
122
- });
123
- }
124
- onOnline() {
125
- k.batch(() => {
126
- this.getAll().forEach((e) => {
127
- e.onOnline();
128
- });
129
- });
130
- }
131
- }, F = new WeakMap(), st), H, $, oe, nt, xs = (nt = class extends ut {
132
- constructor(e = {}) {
133
- super();
134
- R(this, H);
135
- R(this, $);
136
- R(this, oe);
137
- this.config = e, M(this, H, /* @__PURE__ */ new Set()), M(this, $, /* @__PURE__ */ new Map()), M(this, oe, 0);
138
- }
139
- build(e, r, n) {
140
- const a = new Tr({
141
- mutationCache: this,
142
- mutationId: ++ce(this, oe)._,
143
- options: e.defaultMutationOptions(r),
144
- state: n
145
- });
146
- return this.add(a), a;
147
- }
148
- add(e) {
149
- d(this, H).add(e);
150
- const r = le(e);
151
- if (typeof r == "string") {
152
- const n = d(this, $).get(r);
153
- n ? n.push(e) : d(this, $).set(r, [e]);
154
- }
155
- this.notify({ type: "added", mutation: e });
156
- }
157
- remove(e) {
158
- if (d(this, H).delete(e)) {
159
- const r = le(e);
160
- if (typeof r == "string") {
161
- const n = d(this, $).get(r);
162
- if (n)
163
- if (n.length > 1) {
164
- const a = n.indexOf(e);
165
- a !== -1 && n.splice(a, 1);
166
- } else n[0] === e && d(this, $).delete(r);
167
- }
168
- }
169
- this.notify({ type: "removed", mutation: e });
170
- }
171
- canRun(e) {
172
- const r = le(e);
173
- if (typeof r == "string") {
174
- const n = d(this, $).get(r), a = n == null ? void 0 : n.find(
175
- (i) => i.state.status === "pending"
176
- );
177
- return !a || a === e;
178
- } else
179
- return !0;
180
- }
181
- runNext(e) {
182
- var n;
183
- const r = le(e);
184
- if (typeof r == "string") {
185
- const a = (n = d(this, $).get(r)) == null ? void 0 : n.find((i) => i !== e && i.state.isPaused);
186
- return (a == null ? void 0 : a.continue()) ?? Promise.resolve();
187
- } else
188
- return Promise.resolve();
189
- }
190
- clear() {
191
- k.batch(() => {
192
- d(this, H).forEach((e) => {
193
- this.notify({ type: "removed", mutation: e });
194
- }), d(this, H).clear(), d(this, $).clear();
195
- });
196
- }
197
- getAll() {
198
- return Array.from(d(this, H));
199
- }
200
- find(e) {
201
- const r = { exact: !0, ...e };
202
- return this.getAll().find(
203
- (n) => Fe(r, n)
204
- );
205
- }
206
- findAll(e = {}) {
207
- return this.getAll().filter((r) => Fe(e, r));
208
- }
209
- notify(e) {
210
- k.batch(() => {
211
- this.listeners.forEach((r) => {
212
- r(e);
213
- });
214
- });
215
- }
216
- resumePausedMutations() {
217
- const e = this.getAll().filter((r) => r.state.isPaused);
218
- return k.batch(
219
- () => Promise.all(
220
- e.map((r) => r.continue().catch(B))
221
- )
222
- );
223
- }
224
- }, H = new WeakMap(), $ = new WeakMap(), oe = new WeakMap(), nt);
225
- function le(t) {
226
- var e;
227
- return (e = t.options.scope) == null ? void 0 : e.id;
228
- }
229
- function Ke(t) {
230
- return {
231
- onFetch: (e, r) => {
232
- var b, x, g, y, m;
233
- const n = e.options, a = (g = (x = (b = e.fetchOptions) == null ? void 0 : b.meta) == null ? void 0 : x.fetchMore) == null ? void 0 : g.direction, i = ((y = e.state.data) == null ? void 0 : y.pages) || [], o = ((m = e.state.data) == null ? void 0 : m.pageParams) || [];
234
- let f = { pages: [], pageParams: [] }, h = 0;
235
- const l = async () => {
236
- let p = !1;
237
- const C = (v) => {
238
- Object.defineProperty(v, "signal", {
239
- enumerable: !0,
240
- get: () => (e.signal.aborted ? p = !0 : e.signal.addEventListener("abort", () => {
241
- p = !0;
242
- }), e.signal)
243
- });
244
- }, N = dr(e.options, e.fetchOptions), T = async (v, j, c) => {
245
- if (p)
246
- return Promise.reject();
247
- if (j == null && v.pages.length)
248
- return Promise.resolve(v);
249
- const S = {
250
- client: e.client,
251
- queryKey: e.queryKey,
252
- pageParam: j,
253
- direction: c ? "backward" : "forward",
254
- meta: e.options.meta
255
- };
256
- C(S);
257
- const D = await N(
258
- S
259
- ), { maxPages: q } = e.options, L = c ? fr : hr;
260
- return {
261
- pages: L(v.pages, D, q),
262
- pageParams: L(v.pageParams, j, q)
263
- };
264
- };
265
- if (a && i.length) {
266
- const v = a === "backward", j = v ? ys : Ue, c = {
267
- pages: i,
268
- pageParams: o
269
- }, S = j(n, c);
270
- f = await T(c, S, v);
271
- } else {
272
- const v = t ?? i.length;
273
- do {
274
- const j = h === 0 ? o[0] ?? n.initialPageParam : Ue(n, f);
275
- if (h > 0 && j == null)
276
- break;
277
- f = await T(f, j), h++;
278
- } while (h < v);
279
- }
280
- return f;
281
- };
282
- e.options.persister ? e.fetchFn = () => {
283
- var p, C;
284
- return (C = (p = e.options).persister) == null ? void 0 : C.call(
285
- p,
286
- l,
287
- {
288
- client: e.client,
289
- queryKey: e.queryKey,
290
- meta: e.options.meta,
291
- signal: e.signal
292
- },
293
- r
294
- );
295
- } : e.fetchFn = l;
296
- }
297
- };
298
- }
299
- function Ue(t, { pages: e, pageParams: r }) {
300
- const n = e.length - 1;
301
- return e.length > 0 ? t.getNextPageParam(
302
- e[n],
303
- e,
304
- r[n],
305
- r
306
- ) : void 0;
307
- }
308
- function ys(t, { pages: e, pageParams: r }) {
309
- var n;
310
- return e.length > 0 ? (n = t.getPreviousPageParam) == null ? void 0 : n.call(t, e[0], e, r[0], r) : void 0;
311
- }
312
- var E, Y, Z, te, re, V, se, ne, at, bs = (at = class {
313
- constructor(t = {}) {
314
- R(this, E);
315
- R(this, Y);
316
- R(this, Z);
317
- R(this, te);
318
- R(this, re);
319
- R(this, V);
320
- R(this, se);
321
- R(this, ne);
322
- M(this, E, t.queryCache || new vs()), M(this, Y, t.mutationCache || new xs()), M(this, Z, t.defaultOptions || {}), M(this, te, /* @__PURE__ */ new Map()), M(this, re, /* @__PURE__ */ new Map()), M(this, V, 0);
323
- }
324
- mount() {
325
- ce(this, V)._++, d(this, V) === 1 && (M(this, se, mr.subscribe(async (t) => {
326
- t && (await this.resumePausedMutations(), d(this, E).onFocus());
327
- })), M(this, ne, Ie.subscribe(async (t) => {
328
- t && (await this.resumePausedMutations(), d(this, E).onOnline());
329
- })));
330
- }
331
- unmount() {
332
- var t, e;
333
- ce(this, V)._--, d(this, V) === 0 && ((t = d(this, se)) == null || t.call(this), M(this, se, void 0), (e = d(this, ne)) == null || e.call(this), M(this, ne, void 0));
334
- }
335
- isFetching(t) {
336
- return d(this, E).findAll({ ...t, fetchStatus: "fetching" }).length;
337
- }
338
- isMutating(t) {
339
- return d(this, Y).findAll({ ...t, status: "pending" }).length;
340
- }
341
- getQueryData(t) {
342
- var r;
343
- const e = this.defaultQueryOptions({ queryKey: t });
344
- return (r = d(this, E).get(e.queryHash)) == null ? void 0 : r.state.data;
345
- }
346
- ensureQueryData(t) {
347
- const e = this.defaultQueryOptions(t), r = d(this, E).build(this, e), n = r.state.data;
348
- return n === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && r.isStaleByTime(Qe(e.staleTime, r)) && this.prefetchQuery(e), Promise.resolve(n));
349
- }
350
- getQueriesData(t) {
351
- return d(this, E).findAll(t).map(({ queryKey: e, state: r }) => {
352
- const n = r.data;
353
- return [e, n];
354
- });
355
- }
356
- setQueryData(t, e, r) {
357
- const n = this.defaultQueryOptions({ queryKey: t }), a = d(this, E).get(
358
- n.queryHash
359
- ), i = a == null ? void 0 : a.state.data, o = pr(e, i);
360
- if (o !== void 0)
361
- return d(this, E).build(this, n).setData(o, { ...r, manual: !0 });
362
- }
363
- setQueriesData(t, e, r) {
364
- return k.batch(
365
- () => d(this, E).findAll(t).map(({ queryKey: n }) => [
366
- n,
367
- this.setQueryData(n, e, r)
368
- ])
369
- );
370
- }
371
- getQueryState(t) {
372
- var r;
373
- const e = this.defaultQueryOptions({ queryKey: t });
374
- return (r = d(this, E).get(
375
- e.queryHash
376
- )) == null ? void 0 : r.state;
377
- }
378
- removeQueries(t) {
379
- const e = d(this, E);
380
- k.batch(() => {
381
- e.findAll(t).forEach((r) => {
382
- e.remove(r);
383
- });
384
- });
385
- }
386
- resetQueries(t, e) {
387
- const r = d(this, E), n = {
388
- type: "active",
389
- ...t
390
- };
391
- return k.batch(() => (r.findAll(t).forEach((a) => {
392
- a.reset();
393
- }), this.refetchQueries(n, e)));
394
- }
395
- cancelQueries(t, e = {}) {
396
- const r = { revert: !0, ...e }, n = k.batch(
397
- () => d(this, E).findAll(t).map((a) => a.cancel(r))
398
- );
399
- return Promise.all(n).then(B).catch(B);
400
- }
401
- invalidateQueries(t, e = {}) {
402
- return k.batch(() => {
403
- if (d(this, E).findAll(t).forEach((n) => {
404
- n.invalidate();
405
- }), (t == null ? void 0 : t.refetchType) === "none")
406
- return Promise.resolve();
407
- const r = {
408
- ...t,
409
- type: (t == null ? void 0 : t.refetchType) ?? (t == null ? void 0 : t.type) ?? "active"
410
- };
411
- return this.refetchQueries(r, e);
412
- });
413
- }
414
- refetchQueries(t, e = {}) {
415
- const r = {
416
- ...e,
417
- cancelRefetch: e.cancelRefetch ?? !0
418
- }, n = k.batch(
419
- () => d(this, E).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
420
- let i = a.fetch(void 0, r);
421
- return r.throwOnError || (i = i.catch(B)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
422
- })
423
- );
424
- return Promise.all(n).then(B);
425
- }
426
- fetchQuery(t) {
427
- const e = this.defaultQueryOptions(t);
428
- e.retry === void 0 && (e.retry = !1);
429
- const r = d(this, E).build(this, e);
430
- return r.isStaleByTime(
431
- Qe(e.staleTime, r)
432
- ) ? r.fetch(e) : Promise.resolve(r.state.data);
433
- }
434
- prefetchQuery(t) {
435
- return this.fetchQuery(t).then(B).catch(B);
436
- }
437
- fetchInfiniteQuery(t) {
438
- return t.behavior = Ke(t.pages), this.fetchQuery(t);
439
- }
440
- prefetchInfiniteQuery(t) {
441
- return this.fetchInfiniteQuery(t).then(B).catch(B);
442
- }
443
- ensureInfiniteQueryData(t) {
444
- return t.behavior = Ke(t.pages), this.ensureQueryData(t);
445
- }
446
- resumePausedMutations() {
447
- return Ie.isOnline() ? d(this, Y).resumePausedMutations() : Promise.resolve();
448
- }
449
- getQueryCache() {
450
- return d(this, E);
451
- }
452
- getMutationCache() {
453
- return d(this, Y);
454
- }
455
- getDefaultOptions() {
456
- return d(this, Z);
457
- }
458
- setDefaultOptions(t) {
459
- M(this, Z, t);
460
- }
461
- setQueryDefaults(t, e) {
462
- d(this, te).set(ze(t), {
463
- queryKey: t,
464
- defaultOptions: e
465
- });
466
- }
467
- getQueryDefaults(t) {
468
- const e = [...d(this, te).values()], r = {};
469
- return e.forEach((n) => {
470
- Le(t, n.queryKey) && Object.assign(r, n.defaultOptions);
471
- }), r;
472
- }
473
- setMutationDefaults(t, e) {
474
- d(this, re).set(ze(t), {
475
- mutationKey: t,
476
- defaultOptions: e
477
- });
478
- }
479
- getMutationDefaults(t) {
480
- const e = [...d(this, re).values()];
481
- let r = {};
482
- return e.forEach((n) => {
483
- Le(t, n.mutationKey) && (r = { ...r, ...n.defaultOptions });
484
- }), r;
485
- }
486
- defaultQueryOptions(t) {
487
- if (t._defaulted)
488
- return t;
489
- const e = {
490
- ...d(this, Z).queries,
491
- ...this.getQueryDefaults(t.queryKey),
492
- ...t,
493
- _defaulted: !0
494
- };
495
- return e.queryHash || (e.queryHash = dt(
496
- e.queryKey,
497
- e
498
- )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === gr && (e.enabled = !1), e;
499
- }
500
- defaultMutationOptions(t) {
501
- return t != null && t._defaulted ? t : {
502
- ...d(this, Z).mutations,
503
- ...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
504
- ...t,
505
- _defaulted: !0
506
- };
507
- }
508
- clear() {
509
- d(this, E).clear(), d(this, Y).clear();
510
- }
511
- }, E = new WeakMap(), Y = new WeakMap(), Z = new WeakMap(), te = new WeakMap(), re = new WeakMap(), V = new WeakMap(), se = new WeakMap(), ne = new WeakMap(), at);
512
- function js(t) {
513
- return t;
514
- }
515
- function Ye(t, e, r) {
516
- var h, l;
517
- if (typeof e != "object" || e === null)
518
- return;
519
- const n = t.getMutationCache(), a = t.getQueryCache(), i = ((h = r == null ? void 0 : r.defaultOptions) == null ? void 0 : h.deserializeData) ?? ((l = t.getDefaultOptions().hydrate) == null ? void 0 : l.deserializeData) ?? js, o = e.mutations || [], f = e.queries || [];
520
- o.forEach(({ state: b, ...x }) => {
521
- var g, y;
522
- n.build(
523
- t,
524
- {
525
- ...(g = t.getDefaultOptions().hydrate) == null ? void 0 : g.mutations,
526
- ...(y = r == null ? void 0 : r.defaultOptions) == null ? void 0 : y.mutations,
527
- ...x
528
- },
529
- b
530
- );
531
- }), f.forEach(({ queryKey: b, state: x, queryHash: g, meta: y, promise: m }) => {
532
- var N, T;
533
- let p = a.get(g);
534
- const C = x.data === void 0 ? x.data : i(x.data);
535
- if (p) {
536
- if (p.state.dataUpdatedAt < x.dataUpdatedAt) {
537
- const { fetchStatus: v, ...j } = x;
538
- p.setState({
539
- ...j,
540
- data: C
541
- });
542
- }
543
- } else
544
- p = a.build(
545
- t,
546
- {
547
- ...(N = t.getDefaultOptions().hydrate) == null ? void 0 : N.queries,
548
- ...(T = r == null ? void 0 : r.defaultOptions) == null ? void 0 : T.queries,
549
- queryKey: b,
550
- queryHash: g,
551
- meta: y
552
- },
553
- // Reset fetch status to idle to avoid
554
- // query being stuck in fetching state upon hydration
555
- {
556
- ...x,
557
- data: C,
558
- fetchStatus: "idle"
559
- }
560
- );
561
- if (m) {
562
- const v = Promise.resolve(m).then(i);
563
- p.fetch(void 0, { initialPromise: v });
564
- }
565
- });
566
- }
567
- var Ze = (t, e) => typeof t == "object" && t !== null && e in t, ws = ({
568
- children: t,
569
- options: e = {},
570
- state: r,
571
- queryClient: n
572
- }) => {
573
- const a = ft(n), [i, o] = K.useState(), f = K.useRef(e);
574
- return f.current = e, K.useMemo(() => {
575
- if (r) {
576
- if (typeof r != "object")
577
- return;
578
- const h = a.getQueryCache(), l = r.queries || [], b = [], x = [];
579
- for (const g of l) {
580
- const y = h.get(g.queryHash);
581
- if (!y)
582
- b.push(g);
583
- else {
584
- const m = g.state.dataUpdatedAt > y.state.dataUpdatedAt || // RSC special serialized then-able chunks
585
- Ze(g.promise, "status") && Ze(y.promise, "status") && g.promise.status !== y.promise.status, p = i == null ? void 0 : i.find(
586
- (C) => C.queryHash === g.queryHash
587
- );
588
- m && (!p || g.state.dataUpdatedAt > p.state.dataUpdatedAt) && x.push(g);
589
- }
590
- }
591
- b.length > 0 && Ye(a, { queries: b }, f.current), x.length > 0 && o(
592
- (g) => g ? [...g, ...x] : x
593
- );
594
- }
595
- }, [a, i, r]), K.useEffect(() => {
596
- i && (Ye(a, { queries: i }, f.current), o(void 0));
597
- }, [a, i]), t;
598
- };
599
- function Ps({ error: t }) {
600
- return /* @__PURE__ */ s.jsx(pt, { error: t });
601
- }
602
- /**
603
- * react-router v7.2.0
604
- *
605
- * Copyright (c) Remix Software Inc.
606
- *
607
- * This source code is licensed under the MIT license found in the
608
- * LICENSE.md file in the root directory of this source tree.
609
- *
610
- * @license MIT
611
- */
612
- function Ss(t) {
613
- return /* @__PURE__ */ K.createElement(ir, { flushSync: Ar.flushSync, ...t });
614
- }
615
- const Ee = Me({ stagger: !1 }), Cs = new bs({
616
- defaultOptions: {
617
- queries: {
618
- staleTime: 1e3 * 60 * 5
619
- }
620
- }
621
- }), Es = ({
622
- router: t,
623
- hydrate: e = !1
624
- }) => /* @__PURE__ */ s.jsx(gt, { children: /* @__PURE__ */ s.jsx(ht, { client: Cs, children: /* @__PURE__ */ s.jsx(ws, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ s.jsx(ot, { value: !1, children: /* @__PURE__ */ s.jsx(it, { children: /* @__PURE__ */ s.jsx(Ee.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ s.jsx(Ss, { router: t }) }) }) }) }) }) }), Ns = ({
625
- router: t,
626
- context: e,
627
- queryClient: r,
628
- helmetContext: n,
629
- bypassProtection: a = !1
630
- }) => /* @__PURE__ */ s.jsx(gt, { children: /* @__PURE__ */ s.jsx(ht, { client: r, children: /* @__PURE__ */ s.jsx(it, { context: n, children: /* @__PURE__ */ s.jsx(ot, { value: a, children: /* @__PURE__ */ s.jsx(cr, { router: t, context: e }) }) }) }) }), Ts = () => {
631
- const t = pe(), e = G(t.pathname);
632
- Q(() => {
633
- const r = e.current !== t.pathname, n = t.hash !== "";
634
- r && !n && window.scrollTo(0, 0), e.current = t.pathname;
635
- }, [t.pathname, t.hash]);
636
- }, Ms = ({
637
- icon: t
638
- }) => typeof t == "string" ? /* @__PURE__ */ s.jsx(
639
- "img",
640
- {
641
- src: `https://cdn.simpleicons.org/${t}/000000/ffffff`,
642
- className: "size-5",
643
- alt: t
644
- }
645
- ) : t, Os = (t) => /^https?:/.test(t), As = () => {
646
- var r;
647
- const { page: t } = vn(), e = t == null ? void 0 : t.footer;
648
- return e ? /* @__PURE__ */ s.jsx("footer", { className: "border-t bg-background", children: /* @__PURE__ */ s.jsxs("div", { className: "mx-auto max-w-screen-2xl px-4 lg:px-8 py-8 pt-20", children: [
649
- /* @__PURE__ */ s.jsxs(
650
- "div",
651
- {
652
- className: A("flex flex-row gap-8", {
653
- "justify-center": !e.position || e.position === "center",
654
- "justify-start": e.position === "start",
655
- "justify-end": e.position === "end"
656
- }),
657
- children: [
658
- /* @__PURE__ */ s.jsx(_, { name: "footer-before" }),
659
- e.columns && /* @__PURE__ */ s.jsx(
660
- "div",
661
- {
662
- className: "w-full md:max-w-screen-md grid grid-cols-[1fr_1fr] gap-8 md:grid-cols-[repeat(var(--columns),minmax(0,1fr))]",
663
- style: { "--columns": e.columns.length },
664
- children: e.columns.map((n) => /* @__PURE__ */ s.jsxs(
665
- "div",
666
- {
667
- className: A({
668
- "justify-self-center": !n.position || n.position === "center",
669
- "justify-self-start": n.position === "start",
670
- "justify-self-end": n.position === "end"
671
- }),
672
- children: [
673
- /* @__PURE__ */ s.jsx("span", { className: "text-sm font-semibold", children: n.title }),
674
- /* @__PURE__ */ s.jsx("ul", { className: "mt-4 space-y-2", children: n.links.map((a) => {
675
- const i = "flex flex-row gap-1 items-center text-sm text-muted-foreground hover:text-accent-foreground";
676
- return /* @__PURE__ */ s.jsx("li", { children: Os(a.href) ? /* @__PURE__ */ s.jsxs(
677
- "a",
678
- {
679
- href: a.href,
680
- target: "_blank",
681
- rel: "noopener noreferrer",
682
- className: i,
683
- children: [
684
- /* @__PURE__ */ s.jsx("span", { children: a.label }),
685
- /* @__PURE__ */ s.jsx(Qr, { size: 12 })
686
- ]
687
- }
688
- ) : /* @__PURE__ */ s.jsx(Rr, { to: a.href, className: i, children: /* @__PURE__ */ s.jsx("span", { children: a.label }) }) }, a.href);
689
- }) })
690
- ]
691
- },
692
- n.title
693
- ))
694
- }
695
- ),
696
- /* @__PURE__ */ s.jsx(_, { name: "footer-after" })
697
- ]
698
- }
699
- ),
700
- /* @__PURE__ */ s.jsxs(
701
- "div",
702
- {
703
- className: A(
704
- "flex items-center justify-between",
705
- e.columns && "border-t mt-8 pt-8"
706
- ),
707
- children: [
708
- e.logo && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
709
- /* @__PURE__ */ s.jsx(
710
- "img",
711
- {
712
- src: e.logo.src.light,
713
- alt: e.logo.alt,
714
- className: "w-8 dark:hidden",
715
- style: { width: e.logo.width }
716
- }
717
- ),
718
- /* @__PURE__ */ s.jsx(
719
- "img",
720
- {
721
- src: e.logo.src.dark,
722
- alt: e.logo.alt,
723
- className: "w-8 hidden dark:block",
724
- style: { width: e.logo.width }
725
- }
726
- )
727
- ] }),
728
- e.copyright && /* @__PURE__ */ s.jsx("p", { className: "text-sm text-muted-foreground", children: e.copyright }),
729
- /* @__PURE__ */ s.jsx("div", { className: "flex items-center gap-2", children: (r = e.social) == null ? void 0 : r.map((n) => /* @__PURE__ */ s.jsxs(
730
- "a",
731
- {
732
- href: n.href,
733
- target: "_blank",
734
- rel: "noopener noreferrer",
735
- className: "w-auto gap-2 flex text-muted-foreground hover:text-accent-foreground",
736
- children: [
737
- /* @__PURE__ */ s.jsx(Ms, { icon: n.icon }),
738
- n.label
739
- ]
740
- },
741
- n.href
742
- )) })
743
- ]
744
- }
745
- )
746
- ] }) }) : null;
747
- };
748
- function Rs({
749
- className: t,
750
- ...e
751
- }) {
752
- return /* @__PURE__ */ s.jsx(
753
- "div",
754
- {
755
- className: A("animate-pulse rounded-md bg-muted", t),
756
- ...e
757
- }
758
- );
759
- }
760
- const Ve = {
761
- info: "bg-blue-500",
762
- note: "bg-gray-500",
763
- tip: "bg-green-600",
764
- caution: "bg-orange-500",
765
- danger: "bg-rose-500"
766
- }, ks = () => {
767
- const { page: t } = I(), [e, r] = J(!0);
768
- if (!(t != null && t.banner) || !e)
769
- return /* @__PURE__ */ s.jsx("style", { children: ":root { --banner-height: 0px; }" });
770
- const n = t.banner.color && t.banner.color in Ve ? Ve[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = n ? {} : { backgroundColor: t.banner.color };
771
- return /* @__PURE__ */ s.jsxs(
772
- "div",
773
- {
774
- className: A(
775
- "relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
776
- n
777
- ),
778
- "data-pagefind-ignore": "all",
779
- style: a,
780
- children: [
781
- /* @__PURE__ */ s.jsx("div", { className: "w-full", children: t.banner.message }),
782
- t.banner.dismissible && /* @__PURE__ */ s.jsx(
783
- "button",
784
- {
785
- type: "button",
786
- className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
787
- onClick: () => r(!1),
788
- children: /* @__PURE__ */ s.jsx(zr, { size: 16 })
789
- }
790
- )
791
- ]
792
- }
793
- );
794
- }, St = (t) => /* @__PURE__ */ s.jsxs(
795
- "svg",
796
- {
797
- xmlns: "http://www.w3.org/2000/svg",
798
- viewBox: "0 0 132 100",
799
- fill: "none",
800
- ...t,
801
- children: [
802
- /* @__PURE__ */ s.jsx(
803
- "path",
804
- {
805
- fill: "currentColor",
806
- fillRule: "evenodd",
807
- d: "M80.092 2.963A4.66 4.66 0 0 1 84.449 0h34.049c6.325 0 10.835 6.135 8.948 12.172L116.653 46.71a4.688 4.688 0 0 1-4.474 3.29H75c-5.178 0-7.813 4.687-9.375 9.374-1.288 3.864-11.07 28.963-14.467 37.662A4.66 4.66 0 0 1 46.801 100H12.75c-6.324 0-10.834-6.134-8.947-12.171l10.793-34.54A4.688 4.688 0 0 1 19.071 50H56.25c5.178 0 7.813-4.687 9.375-9.375 1.288-3.864 11.07-28.962 14.467-37.662Z",
808
- clipRule: "evenodd"
809
- }
810
- ),
811
- /* @__PURE__ */ s.jsx(
812
- "path",
813
- {
814
- fill: "currentColor",
815
- d: "M83.54 57.813a7.813 7.813 0 0 0-7.316 5.07L63.888 95.777c-.766 2.043.744 4.222 2.926 4.222h36.828c5.211 0 9.875-3.232 11.704-8.11l8.821-23.522c1.915-5.107-1.861-10.555-7.315-10.555H83.539ZM29.17 0a12.5 12.5 0 0 0-11.704 8.111l-8.82 23.521c-1.915 5.107 1.86 10.556 7.315 10.556h33.312a7.813 7.813 0 0 0 7.316-5.07L68.924 4.223C69.691 2.18 68.18 0 65.998 0H29.17Z"
816
- }
817
- )
818
- ]
819
- }
820
- );
821
- St.displayName = "ZudokuLogo";
822
- const Ct = ({ className: t }) => /* @__PURE__ */ s.jsxs(
823
- "a",
824
- {
825
- href: "https://zudoku.dev",
826
- target: "_blank",
827
- rel: "noopener noreferrer",
828
- className: A(
829
- "flex justify-between items-center w-full border border-transparent hover:border-border rounded-full hover:shadow-sm h-7 px-3 text-nowrap hover:bg-muted/80 transition-all",
830
- t
831
- ),
832
- children: [
833
- /* @__PURE__ */ s.jsxs("div", { className: "opacity-70 hover:opacity-100 transition-opacity gap-1.5 text-[11px] font-medium rounded-full h-7 flex items-center text-nowrap", children: [
834
- /* @__PURE__ */ s.jsx(St, { className: "w-3.5 h-3.5 dark:fill-white" }),
835
- "powered by Zudoku"
836
- ] }),
837
- /* @__PURE__ */ s.jsx("div", { className: "text-xs font-medium opacity-70 hover:text-foreground transition-colors cursor-pointer", children: /* @__PURE__ */ s.jsx(Lr, { size: 12, absoluteStrokeWidth: !0, strokeWidth: 1.5 }) })
838
- ]
839
- }
840
- ), Et = ({ className: t }) => {
841
- const e = I(), [r, n] = J(!1), a = W(() => n(!1), []);
842
- Q(() => {
843
- if (r)
844
- return;
845
- function o(f) {
846
- f.key === "k" && (f.metaKey || f.ctrlKey) && (f.preventDefault(), n(!0));
847
- }
848
- return window.addEventListener("keydown", o), () => {
849
- window.removeEventListener("keydown", o);
850
- };
851
- }, [r, n]);
852
- const i = e.plugins.find(Vr);
853
- return i ? /* @__PURE__ */ s.jsxs("div", { className: t, children: [
854
- /* @__PURE__ */ s.jsxs(
855
- "button",
856
- {
857
- type: "button",
858
- onClick: () => n(!0),
859
- className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
860
- children: [
861
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
862
- /* @__PURE__ */ s.jsx(Br, { size: 14 }),
863
- "Search"
864
- ] }),
865
- /* @__PURE__ */ s.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
866
- ]
867
- }
868
- ),
869
- /* @__PURE__ */ s.jsx(Oe, { fallback: null, children: i.renderSearch({
870
- isOpen: r,
871
- onClose: a
872
- }) })
873
- ] }) : null;
874
- }, Nt = () => {
875
- const { resolvedTheme: t, setTheme: e } = ct();
876
- return /* @__PURE__ */ s.jsx(Ae, { fallback: /* @__PURE__ */ s.jsx(Se, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ s.jsxs(
877
- "button",
878
- {
879
- type: "button",
880
- className: "flex rounded-full border p-0.5 gap-0.5 group",
881
- onClick: () => e(t === "dark" ? "light" : "dark"),
882
- "aria-label": t === "dark" ? "Switch to light mode" : "Switch to dark mode",
883
- children: [
884
- /* @__PURE__ */ s.jsx(
885
- "div",
886
- {
887
- className: A(
888
- "border border-transparent rounded-full p-0.5 [&>svg>circle]:transition-colors [&>svg>path]:transition-transform transition-all [&>svg>path]:duration-200 [&>svg>circle]:duration-500 [&>svg>circle]:fill-transparent",
889
- t === "light" && "border-border bg-muted",
890
- t === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
891
- ),
892
- children: /* @__PURE__ */ s.jsx(Hr, { size: 16 })
893
- }
894
- ),
895
- /* @__PURE__ */ s.jsx(
896
- "div",
897
- {
898
- className: A(
899
- "border border-transparent rounded-full p-0.5 transition-transform transform-gpu duration-500",
900
- t === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
901
- t === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
902
- ),
903
- children: /* @__PURE__ */ s.jsx(Kr, { size: 16 })
904
- }
905
- )
906
- ]
907
- }
908
- ) });
909
- };
910
- function me() {
911
- return me = Object.assign ? Object.assign.bind() : function(t) {
912
- for (var e = 1; e < arguments.length; e++) {
913
- var r = arguments[e];
914
- for (var n in r) ({}).hasOwnProperty.call(r, n) && (t[n] = r[n]);
915
- }
916
- return t;
917
- }, me.apply(null, arguments);
918
- }
919
- var ue = { exports: {} }, w = {};
920
- /** @license React v16.13.1
921
- * react-is.production.min.js
922
- *
923
- * Copyright (c) Facebook, Inc. and its affiliates.
924
- *
925
- * This source code is licensed under the MIT license found in the
926
- * LICENSE file in the root directory of this source tree.
927
- */
928
- var We;
929
- function _s() {
930
- if (We) return w;
931
- We = 1;
932
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, f = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, b = t ? Symbol.for("react.forward_ref") : 60112, x = t ? Symbol.for("react.suspense") : 60113, g = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, p = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, N = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
933
- function v(c) {
934
- if (typeof c == "object" && c !== null) {
935
- var S = c.$$typeof;
936
- switch (S) {
937
- case e:
938
- switch (c = c.type, c) {
939
- case h:
940
- case l:
941
- case n:
942
- case i:
943
- case a:
944
- case x:
945
- return c;
946
- default:
947
- switch (c = c && c.$$typeof, c) {
948
- case f:
949
- case b:
950
- case m:
951
- case y:
952
- case o:
953
- return c;
954
- default:
955
- return S;
956
- }
957
- }
958
- case r:
959
- return S;
960
- }
961
- }
962
- }
963
- function j(c) {
964
- return v(c) === l;
965
- }
966
- return w.AsyncMode = h, w.ConcurrentMode = l, w.ContextConsumer = f, w.ContextProvider = o, w.Element = e, w.ForwardRef = b, w.Fragment = n, w.Lazy = m, w.Memo = y, w.Portal = r, w.Profiler = i, w.StrictMode = a, w.Suspense = x, w.isAsyncMode = function(c) {
967
- return j(c) || v(c) === h;
968
- }, w.isConcurrentMode = j, w.isContextConsumer = function(c) {
969
- return v(c) === f;
970
- }, w.isContextProvider = function(c) {
971
- return v(c) === o;
972
- }, w.isElement = function(c) {
973
- return typeof c == "object" && c !== null && c.$$typeof === e;
974
- }, w.isForwardRef = function(c) {
975
- return v(c) === b;
976
- }, w.isFragment = function(c) {
977
- return v(c) === n;
978
- }, w.isLazy = function(c) {
979
- return v(c) === m;
980
- }, w.isMemo = function(c) {
981
- return v(c) === y;
982
- }, w.isPortal = function(c) {
983
- return v(c) === r;
984
- }, w.isProfiler = function(c) {
985
- return v(c) === i;
986
- }, w.isStrictMode = function(c) {
987
- return v(c) === a;
988
- }, w.isSuspense = function(c) {
989
- return v(c) === x;
990
- }, w.isValidElementType = function(c) {
991
- return typeof c == "string" || typeof c == "function" || c === n || c === l || c === i || c === a || c === x || c === g || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === y || c.$$typeof === o || c.$$typeof === f || c.$$typeof === b || c.$$typeof === C || c.$$typeof === N || c.$$typeof === T || c.$$typeof === p);
992
- }, w.typeOf = v, w;
993
- }
994
- var P = {};
995
- /** @license React v16.13.1
996
- * react-is.development.js
997
- *
998
- * Copyright (c) Facebook, Inc. and its affiliates.
999
- *
1000
- * This source code is licensed under the MIT license found in the
1001
- * LICENSE file in the root directory of this source tree.
1002
- */
1003
- var Ge;
1004
- function Ds() {
1005
- return Ge || (Ge = 1, process.env.NODE_ENV !== "production" && function() {
1006
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, f = t ? Symbol.for("react.context") : 60110, h = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, b = t ? Symbol.for("react.forward_ref") : 60112, x = t ? Symbol.for("react.suspense") : 60113, g = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, p = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, N = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
1007
- function v(u) {
1008
- return typeof u == "string" || typeof u == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1009
- u === n || u === l || u === i || u === a || u === x || u === g || typeof u == "object" && u !== null && (u.$$typeof === m || u.$$typeof === y || u.$$typeof === o || u.$$typeof === f || u.$$typeof === b || u.$$typeof === C || u.$$typeof === N || u.$$typeof === T || u.$$typeof === p);
1010
- }
1011
- function j(u) {
1012
- if (typeof u == "object" && u !== null) {
1013
- var xe = u.$$typeof;
1014
- switch (xe) {
1015
- case e:
1016
- var ie = u.type;
1017
- switch (ie) {
1018
- case h:
1019
- case l:
1020
- case n:
1021
- case i:
1022
- case a:
1023
- case x:
1024
- return ie;
1025
- default:
1026
- var _e = ie && ie.$$typeof;
1027
- switch (_e) {
1028
- case f:
1029
- case b:
1030
- case m:
1031
- case y:
1032
- case o:
1033
- return _e;
1034
- default:
1035
- return xe;
1036
- }
1037
- }
1038
- case r:
1039
- return xe;
1040
- }
1041
- }
1042
- }
1043
- var c = h, S = l, D = f, q = o, L = e, U = b, ve = n, X = m, Qt = y, zt = r, Lt = i, Bt = a, Ht = x, Re = !1;
1044
- function Kt(u) {
1045
- return Re || (Re = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ke(u) || j(u) === h;
1046
- }
1047
- function ke(u) {
1048
- return j(u) === l;
1049
- }
1050
- function Ut(u) {
1051
- return j(u) === f;
1052
- }
1053
- function Yt(u) {
1054
- return j(u) === o;
1055
- }
1056
- function Zt(u) {
1057
- return typeof u == "object" && u !== null && u.$$typeof === e;
1058
- }
1059
- function Vt(u) {
1060
- return j(u) === b;
1061
- }
1062
- function Wt(u) {
1063
- return j(u) === n;
1064
- }
1065
- function Gt(u) {
1066
- return j(u) === m;
1067
- }
1068
- function Xt(u) {
1069
- return j(u) === y;
1070
- }
1071
- function Jt(u) {
1072
- return j(u) === r;
1073
- }
1074
- function er(u) {
1075
- return j(u) === i;
1076
- }
1077
- function tr(u) {
1078
- return j(u) === a;
1079
- }
1080
- function rr(u) {
1081
- return j(u) === x;
1082
- }
1083
- P.AsyncMode = c, P.ConcurrentMode = S, P.ContextConsumer = D, P.ContextProvider = q, P.Element = L, P.ForwardRef = U, P.Fragment = ve, P.Lazy = X, P.Memo = Qt, P.Portal = zt, P.Profiler = Lt, P.StrictMode = Bt, P.Suspense = Ht, P.isAsyncMode = Kt, P.isConcurrentMode = ke, P.isContextConsumer = Ut, P.isContextProvider = Yt, P.isElement = Zt, P.isForwardRef = Vt, P.isFragment = Wt, P.isLazy = Gt, P.isMemo = Xt, P.isPortal = Jt, P.isProfiler = er, P.isStrictMode = tr, P.isSuspense = rr, P.isValidElementType = v, P.typeOf = j;
1084
- }()), P;
1085
- }
1086
- var Xe;
1087
- function qs() {
1088
- return Xe || (Xe = 1, process.env.NODE_ENV === "production" ? ue.exports = _s() : ue.exports = Ds()), ue.exports;
1089
- }
1090
- var je, Je;
1091
- function $s() {
1092
- if (Je) return je;
1093
- Je = 1;
1094
- var t = qs(), e = {
1095
- childContextTypes: !0,
1096
- contextType: !0,
1097
- contextTypes: !0,
1098
- defaultProps: !0,
1099
- displayName: !0,
1100
- getDefaultProps: !0,
1101
- getDerivedStateFromError: !0,
1102
- getDerivedStateFromProps: !0,
1103
- mixins: !0,
1104
- propTypes: !0,
1105
- type: !0
1106
- }, r = {
1107
- name: !0,
1108
- length: !0,
1109
- prototype: !0,
1110
- caller: !0,
1111
- callee: !0,
1112
- arguments: !0,
1113
- arity: !0
1114
- }, n = {
1115
- $$typeof: !0,
1116
- render: !0,
1117
- defaultProps: !0,
1118
- displayName: !0,
1119
- propTypes: !0
1120
- }, a = {
1121
- $$typeof: !0,
1122
- compare: !0,
1123
- defaultProps: !0,
1124
- displayName: !0,
1125
- propTypes: !0,
1126
- type: !0
1127
- }, i = {};
1128
- i[t.ForwardRef] = n, i[t.Memo] = a;
1129
- function o(m) {
1130
- return t.isMemo(m) ? a : i[m.$$typeof] || e;
1131
- }
1132
- var f = Object.defineProperty, h = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, b = Object.getOwnPropertyDescriptor, x = Object.getPrototypeOf, g = Object.prototype;
1133
- function y(m, p, C) {
1134
- if (typeof p != "string") {
1135
- if (g) {
1136
- var N = x(p);
1137
- N && N !== g && y(m, N, C);
1138
- }
1139
- var T = h(p);
1140
- l && (T = T.concat(l(p)));
1141
- for (var v = o(m), j = o(p), c = 0; c < T.length; ++c) {
1142
- var S = T[c];
1143
- if (!r[S] && !(C && C[S]) && !(j && j[S]) && !(v && v[S])) {
1144
- var D = b(p, S);
1145
- try {
1146
- f(m, S, D);
1147
- } catch {
1148
- }
1149
- }
1150
- }
1151
- }
1152
- return m;
1153
- }
1154
- return je = y, je;
1155
- }
1156
- $s();
1157
- var Tt = function(e, r, n) {
1158
- return e = e <= n ? e : n, e = e >= r ? e : r, e;
1159
- }, Fs = function() {
1160
- var e = !1, r = [], n = function() {
1161
- e = !0;
1162
- var f = r.shift();
1163
- if (f)
1164
- return f(n);
1165
- e = !1;
1166
- }, a = function() {
1167
- e = !1, r = [];
1168
- }, i = function(f) {
1169
- r.push(f), !e && r.length === 1 && n();
1170
- };
1171
- return {
1172
- clear: a,
1173
- enqueue: i
1174
- };
1175
- }, Is = function() {
1176
- var e, r = function() {
1177
- e && window.cancelAnimationFrame(e);
1178
- }, n = function(i, o) {
1179
- var f, h, l = function(x) {
1180
- if (h = h || x, f = x - h, f > o) {
1181
- i();
1182
- return;
1183
- }
1184
- e = window.requestAnimationFrame(l);
1185
- };
1186
- e = window.requestAnimationFrame(l);
1187
- };
1188
- return {
1189
- cancel: r,
1190
- schedule: n
1191
- };
1192
- }, Qs = function(e) {
1193
- var r = 0;
1194
- return e >= 0 && e < 0.2 ? r = 0.1 : e >= 0.2 && e < 0.5 ? r = 0.04 : e >= 0.5 && e < 0.8 ? r = 0.02 : e >= 0.8 && e < 0.99 && (r = 5e-3), Tt(e + r, 0, 0.994);
1195
- }, et = function(e) {
1196
- Q(e, []);
1197
- }, zs = function(e) {
1198
- return ++e % 1e6;
1199
- }, Ls = function() {
1200
- var e = J(0), r = e[1];
1201
- return W(function() {
1202
- return r(zs);
1203
- }, []);
1204
- }, Bs = function(e) {
1205
- e === void 0 && (e = {});
1206
- var r = Ls(), n = G(me({}, e)), a = W(function() {
1207
- return n.current;
1208
- }, []), i = W(function(o) {
1209
- o && (Object.assign(n.current, o), r());
1210
- }, []);
1211
- return [a, i];
1212
- }, Hs = function() {
1213
- var e = G(!0);
1214
- return e.current ? (e.current = !1, !0) : e.current;
1215
- }, tt = function(e, r) {
1216
- var n = Hs();
1217
- Q(function() {
1218
- if (!n)
1219
- return e();
1220
- }, r);
1221
- }, Mt = function() {
1222
- }, rt = {
1223
- isFinished: !0,
1224
- progress: 0,
1225
- sideEffect: Mt
1226
- }, Ks = function(e) {
1227
- var r = e === void 0 ? {} : e, n = r.animationDuration, a = n === void 0 ? 200 : n, i = r.incrementDuration, o = i === void 0 ? 800 : i, f = r.isAnimating, h = f === void 0 ? !1 : f, l = r.minimum, b = l === void 0 ? 0.08 : l, x = Bs(rt), g = x[0], y = x[1], m = G(null), p = G(null);
1228
- et(function() {
1229
- m.current = Fs(), p.current = Is();
1230
- });
1231
- var C = W(function() {
1232
- var S, D;
1233
- (S = p.current) == null || S.cancel(), (D = m.current) == null || D.clear();
1234
- }, []), N = W(function(S) {
1235
- var D;
1236
- if (S = Tt(S, b, 1), S === 1) {
1237
- var q, L;
1238
- C(), (q = m.current) == null || q.enqueue(function(U) {
1239
- y({
1240
- progress: S,
1241
- sideEffect: function() {
1242
- var X;
1243
- return (X = p.current) == null ? void 0 : X.schedule(U, a);
1244
- }
1245
- });
1246
- }), (L = m.current) == null || L.enqueue(function() {
1247
- y({
1248
- isFinished: !0,
1249
- sideEffect: C
1250
- });
1251
- });
1252
- return;
1253
- }
1254
- (D = m.current) == null || D.enqueue(function(U) {
1255
- y({
1256
- isFinished: !1,
1257
- progress: S,
1258
- sideEffect: function() {
1259
- var X;
1260
- return (X = p.current) == null ? void 0 : X.schedule(U, a);
1261
- }
1262
- });
1263
- });
1264
- }, [a, C, b, m, y, p]), T = W(function() {
1265
- N(Qs(g().progress));
1266
- }, [g, N]), v = W(function() {
1267
- var S = function() {
1268
- var q;
1269
- T(), (q = m.current) == null || q.enqueue(function(L) {
1270
- var U;
1271
- (U = p.current) == null || U.schedule(function() {
1272
- S(), L();
1273
- }, o);
1274
- });
1275
- };
1276
- S();
1277
- }, [o, m, p, T]), j = G(Mt), c = g().sideEffect;
1278
- return Q(function() {
1279
- j.current = T;
1280
- }), et(function() {
1281
- return h && v(), C;
1282
- }), tt(function() {
1283
- g().sideEffect();
1284
- }, [g, c]), tt(function() {
1285
- h ? y(me({}, rt, {
1286
- sideEffect: v
1287
- })) : N(1);
1288
- }, [h, N, y, v]), {
1289
- animationDuration: a,
1290
- isFinished: g().isFinished,
1291
- progress: g().progress
1292
- };
1293
- };
1294
- const Ot = (t) => (e) => e.display === "hide" ? !1 : e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", At = () => {
1295
- const e = ge().state === "loading", [r, n] = J(!1);
1296
- Q(() => {
1297
- const o = setTimeout(() => n(e), 100);
1298
- return () => clearTimeout(o);
1299
- }, [e]);
1300
- const { isFinished: a, progress: i } = Ks({ isAnimating: r });
1301
- return /* @__PURE__ */ s.jsx(
1302
- "div",
1303
- {
1304
- className: "absolute w-0 left-0 right-0 bottom-[-1px] h-[2px] bg-primary transition-all duration-300 ease-in-out",
1305
- style: {
1306
- opacity: a ? 0 : 1,
1307
- width: a ? 0 : `${i * 100}%`
1308
- }
1309
- }
1310
- );
1311
- }, Us = () => {
1312
- const { topNavigation: t } = I(), { isAuthenticated: e } = ae(), r = t.filter(Ot(e));
1313
- return r.length === 0 ? /* @__PURE__ */ s.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ s.jsxs(Oe, { children: [
1314
- /* @__PURE__ */ s.jsxs("div", { className: "items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm relative", children: [
1315
- /* @__PURE__ */ s.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ s.jsx("ul", { className: "flex flex-row items-center gap-8", children: r.map((n) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(Rt, { ...n }) }, n.id)) }) }),
1316
- /* @__PURE__ */ s.jsx(_, { name: "top-navigation-side" })
1317
- ] }),
1318
- /* @__PURE__ */ s.jsx(At, {})
1319
- ] });
1320
- }, Rt = ({
1321
- id: t,
1322
- label: e,
1323
- default: r
1324
- }) => {
1325
- var l;
1326
- const { sidebars: n } = I(), a = n[t], i = mt(), o = !!ge().location, f = ((l = i.topNavItem) == null ? void 0 : l.id) === t && !o, h = r ?? (a ? vr(a, (b) => {
1327
- if (b.type === "doc") return ee(b.id);
1328
- }) : ee(t)) ?? ee(t);
1329
- return (
1330
- // We don't use isActive here because it has to be inside the sidebar,
1331
- // the top nav id doesn't necessarily start with the sidebar id
1332
- /* @__PURE__ */ s.jsx(
1333
- lr,
1334
- {
1335
- className: ({ isPending: b }) => ps(
1336
- "block lg:py-3.5 font-medium -mb-px",
1337
- f || b ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
1338
- ),
1339
- to: h,
1340
- children: e
1341
- }
1342
- )
1343
- );
1344
- }, Ys = () => {
1345
- var i;
1346
- const { topNavigation: t, options: e } = I(), { isAuthenticated: r } = ae(), [n, a] = J(!1);
1347
- return /* @__PURE__ */ s.jsxs(
1348
- hs,
1349
- {
1350
- direction: "right",
1351
- open: n,
1352
- onOpenChange: (o) => a(o),
1353
- children: [
1354
- /* @__PURE__ */ s.jsxs("div", { className: "flex lg:hidden justify-self-end", children: [
1355
- /* @__PURE__ */ s.jsx(ms, { className: "lg:hidden", children: /* @__PURE__ */ s.jsx(Ur, { size: 22 }) }),
1356
- /* @__PURE__ */ s.jsx(At, {})
1357
- ] }),
1358
- /* @__PURE__ */ s.jsx(
1359
- bt,
1360
- {
1361
- className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
1362
- "aria-describedby": void 0,
1363
- children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none h-full flex flex-col justify-between", children: [
1364
- /* @__PURE__ */ s.jsxs("div", { children: [
1365
- /* @__PURE__ */ s.jsx(yt, { children: /* @__PURE__ */ s.jsx(jt, { children: "Navigation" }) }),
1366
- /* @__PURE__ */ s.jsx(Et, { className: "flex p-4" }),
1367
- /* @__PURE__ */ s.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
1368
- /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(Nt, {}) }),
1369
- t.filter(Ot(r)).map((o) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { type: "button", onClick: () => a(!1), children: /* @__PURE__ */ s.jsx(Rt, { ...o }) }) }, o.label))
1370
- ] })
1371
- ] }),
1372
- ((i = e.page) == null ? void 0 : i.showPoweredBy) !== !1 && /* @__PURE__ */ s.jsx(Ct, { className: "flex-grow-0 justify-center gap-1" })
1373
- ] })
1374
- }
1375
- )
1376
- ]
1377
- }
1378
- );
1379
- }, fe = ({ item: t }) => t.children ? /* @__PURE__ */ s.jsxs(cs, { children: [
1380
- /* @__PURE__ */ s.jsx(ls, { children: t.label }),
1381
- /* @__PURE__ */ s.jsx(us, { children: /* @__PURE__ */ s.jsx(ds, { children: t.children.map((e, r) => (
1382
- // eslint-disable-next-line react/no-array-index-key
1383
- /* @__PURE__ */ s.jsx(fe, { item: e }, r)
1384
- )) }) })
1385
- ] }, t.label) : /* @__PURE__ */ s.jsx(Te, { to: t.path ?? "", children: /* @__PURE__ */ s.jsxs(fs, { className: "flex gap-2", children: [
1386
- t.icon && /* @__PURE__ */ s.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
1387
- t.label
1388
- ] }, t.label) }), kt = vt(function() {
1389
- const e = ae(), { isAuthenticated: r, profile: n, isAuthEnabled: a } = ae(), i = I(), { page: o, plugins: f } = i, h = f.filter((l) => Wr(l)).flatMap((l) => l.getProfileMenuItems(i)).sort((l) => l.weight ?? 0);
1390
- return /* @__PURE__ */ s.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
1391
- /* @__PURE__ */ s.jsx(ks, {}),
1392
- /* @__PURE__ */ s.jsx("div", { className: "border-b", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl mx-auto flex relative items-center justify-between px-4 lg:px-8 h-[--top-header-height] border-transparent", children: [
1393
- /* @__PURE__ */ s.jsx("div", { className: "flex", children: /* @__PURE__ */ s.jsx(Te, { to: "/", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-3.5", children: [
1394
- (o == null ? void 0 : o.logo) && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1395
- /* @__PURE__ */ s.jsx(
1396
- "img",
1397
- {
1398
- src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : ee(
1399
- "/",
1400
- o.logo.src.light
1401
- ),
1402
- alt: o.logo.alt ?? o.pageTitle,
1403
- style: { width: o.logo.width },
1404
- className: "h-10 dark:hidden",
1405
- loading: "lazy"
1406
- }
1407
- ),
1408
- /* @__PURE__ */ s.jsx(
1409
- "img",
1410
- {
1411
- src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : ee(
1412
- "/",
1413
- o.logo.src.dark
1414
- ),
1415
- alt: o.logo.alt ?? o.pageTitle,
1416
- style: { width: o.logo.width },
1417
- className: "h-10 hidden dark:block",
1418
- loading: "lazy"
1419
- }
1420
- )
1421
- ] }),
1422
- /* @__PURE__ */ s.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
1423
- ] }) }) }),
1424
- /* @__PURE__ */ s.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ s.jsx(Et, { className: "pointer-events-auto" }) }),
1425
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-8", children: [
1426
- /* @__PURE__ */ s.jsx(Ys, {}),
1427
- /* @__PURE__ */ s.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
1428
- /* @__PURE__ */ s.jsx(_, { name: "head-navigation-start" }),
1429
- a && /* @__PURE__ */ s.jsx(
1430
- Ae,
1431
- {
1432
- fallback: /* @__PURE__ */ s.jsx(Rs, { className: "rounded h-5 w-24 mr-4" }),
1433
- children: r ? Object.values(h).length > 0 && /* @__PURE__ */ s.jsxs(ns, { modal: !1, children: [
1434
- /* @__PURE__ */ s.jsx(as, { asChild: !0, children: /* @__PURE__ */ s.jsx(Se, { variant: "ghost", children: n != null && n.name ? `${n.name}` : "My Account" }) }),
1435
- /* @__PURE__ */ s.jsxs(os, { className: "w-56", children: [
1436
- /* @__PURE__ */ s.jsxs(is, { children: [
1437
- n != null && n.name ? `${n.name}` : "My Account",
1438
- (n == null ? void 0 : n.email) && /* @__PURE__ */ s.jsx("div", { className: "font-normal text-muted-foreground", children: n.email })
1439
- ] }),
1440
- h.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ s.jsx(be, {}),
1441
- h.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ s.jsx(fe, { item: l }, l.label)),
1442
- h.filter(
1443
- (l) => !l.category || l.category === "middle"
1444
- ).length > 0 && /* @__PURE__ */ s.jsx(be, {}),
1445
- h.filter(
1446
- (l) => !l.category || l.category === "middle"
1447
- ).map((l) => /* @__PURE__ */ s.jsx(fe, { item: l }, l.label)),
1448
- h.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ s.jsx(be, {}),
1449
- h.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ s.jsx(fe, { item: l }, l.label))
1450
- ] })
1451
- ] }) : /* @__PURE__ */ s.jsx(Se, { variant: "ghost", onClick: () => e.login(), children: "Login" })
1452
- }
1453
- ),
1454
- /* @__PURE__ */ s.jsx(_, { name: "head-navigation-end" }),
1455
- /* @__PURE__ */ s.jsx(Nt, {})
1456
- ] })
1457
- ] })
1458
- ] }) }),
1459
- /* @__PURE__ */ s.jsx("div", { className: "border-b hidden lg:block", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl mx-auto border-transparent", children: [
1460
- /* @__PURE__ */ s.jsx(_, { name: "top-navigation-before" }),
1461
- /* @__PURE__ */ s.jsx(Us, {}),
1462
- /* @__PURE__ */ s.jsx(_, { name: "top-navigation-after" })
1463
- ] }) })
1464
- ] });
1465
- }), _t = ({
1466
- shouldScaleBackground: t = !0,
1467
- ...e
1468
- }) => /* @__PURE__ */ s.jsx(
1469
- z.Root,
1470
- {
1471
- shouldScaleBackground: t,
1472
- ...e
1473
- }
1474
- );
1475
- _t.displayName = "Drawer";
1476
- const Zs = z.Trigger, Vs = z.Portal, Dt = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ s.jsx(
1477
- z.Overlay,
1478
- {
1479
- ref: r,
1480
- className: A("fixed inset-0 z-50 bg-black/80", t),
1481
- ...e
1482
- }
1483
- ));
1484
- Dt.displayName = z.Overlay.displayName;
1485
- const Ws = K.forwardRef(
1486
- ({ className: t, children: e, hideBar: r = !0, ...n }, a) => /* @__PURE__ */ s.jsxs(Vs, { children: [
1487
- /* @__PURE__ */ s.jsx(Dt, {}),
1488
- /* @__PURE__ */ s.jsxs(
1489
- z.Content,
1490
- {
1491
- ref: a,
1492
- className: A(
1493
- "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
1494
- t
1495
- ),
1496
- ...n,
1497
- children: [
1498
- !r && /* @__PURE__ */ s.jsx("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
1499
- e
1500
- ]
1501
- }
1502
- )
1503
- ] })
1504
- );
1505
- Ws.displayName = "DrawerContent";
1506
- const Gs = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ s.jsx(
1507
- z.Title,
1508
- {
1509
- ref: r,
1510
- className: A(
1511
- "text-lg font-semibold leading-none tracking-tight",
1512
- t
1513
- ),
1514
- ...e
1515
- }
1516
- ));
1517
- Gs.displayName = z.Title.displayName;
1518
- const Xs = K.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ s.jsx(
1519
- z.Description,
1520
- {
1521
- ref: r,
1522
- className: A("text-sm text-muted-foreground", t),
1523
- ...e
1524
- }
1525
- ));
1526
- Xs.displayName = z.Description.displayName;
1527
- const qt = ({
1528
- children: t,
1529
- className: e
1530
- }) => {
1531
- var a;
1532
- const { options: r } = I(), n = G(null);
1533
- return Q(() => {
1534
- var o;
1535
- const i = (o = n.current) == null ? void 0 : o.querySelector('[aria-current="page"]');
1536
- kr(i ?? null);
1537
- }, []), /* @__PURE__ */ s.jsxs("div", { className: "grid sticky top-[--header-height] lg:h-[calc(100vh-var(--header-height))] grid-rows-[1fr_min-content] border-r", children: [
1538
- /* @__PURE__ */ s.jsx(
1539
- "nav",
1540
- {
1541
- ref: n,
1542
- className: A(
1543
- "hidden max-w-[calc(var(--side-nav-width)+var(--padding-nav-item))] lg:flex scrollbar flex-col overflow-y-auto shrink-0 text-sm pe-3 ps-4 lg:ps-8",
1544
- "-mx-[--padding-nav-item] pb-3 pt-[--padding-content-top] scroll-pt-2 gap-1",
1545
- // Revert the padding/margin on the first child
1546
- "-mt-2.5",
1547
- e
1548
- ),
1549
- style: {
1550
- maskImage: "linear-gradient(180deg, transparent 1%, rgba(0, 0, 0, 1) 20px, rgba(0, 0, 0, 1) 90%, transparent 99%)"
1551
- },
1552
- children: t
1553
- }
1554
- ),
1555
- /* @__PURE__ */ s.jsx("div", { className: "bg-background border-t p-2 mx-5 gap-2 items-center mt-2 drop-shadow-[0_-3px_1px_rgba(0,0,0,0.015)] hidden lg:[&:has(>_:nth-child(1):last-child)]:flex", children: ((a = r.page) == null ? void 0 : a.showPoweredBy) !== !1 && /* @__PURE__ */ s.jsx(Ct, {}) })
1556
- ] });
1557
- };
1558
- qt.displayName = "SidebarWrapper";
1559
- const Js = ({
1560
- onRequestClose: t,
1561
- sidebar: e
1562
- }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1563
- /* @__PURE__ */ s.jsxs(qt, { children: [
1564
- /* @__PURE__ */ s.jsx(_, { name: "zudoku-before-navigation" }),
1565
- e.map((r) => /* @__PURE__ */ s.jsx(He, { item: r }, r.label)),
1566
- /* @__PURE__ */ s.jsx(_, { name: "zudoku-after-navigation" })
1567
- ] }),
1568
- /* @__PURE__ */ s.jsx(
1569
- bt,
1570
- {
1571
- className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
1572
- "aria-describedby": void 0,
1573
- children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
1574
- /* @__PURE__ */ s.jsx(yt, { children: /* @__PURE__ */ s.jsx(jt, { children: "Sidebar" }) }),
1575
- e.map((r) => /* @__PURE__ */ s.jsx(
1576
- He,
1577
- {
1578
- item: r,
1579
- onRequestClose: t
1580
- },
1581
- r.label
1582
- ))
1583
- ] })
1584
- }
1585
- )
1586
- ] }), en = ({ children: t }) => {
1587
- const [e, r] = J(!1), { sidebar: n } = mt(), a = n.length > 0, i = ge().state === "loading";
1588
- return /* @__PURE__ */ s.jsxs(
1589
- _t,
1590
- {
1591
- direction: "left",
1592
- open: e,
1593
- onOpenChange: (o) => r(o),
1594
- children: [
1595
- a && /* @__PURE__ */ s.jsx(
1596
- Js,
1597
- {
1598
- onRequestClose: () => r(!1),
1599
- sidebar: n
1600
- }
1601
- ),
1602
- a && /* @__PURE__ */ s.jsx("div", { className: "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b", children: /* @__PURE__ */ s.jsxs(Zs, { className: "flex items-center gap-2 px-4", children: [
1603
- /* @__PURE__ */ s.jsx(Yr, { size: 16, strokeWidth: 1.5 }),
1604
- /* @__PURE__ */ s.jsx("span", { className: "text-sm", children: "Menu" })
1605
- ] }) }),
1606
- /* @__PURE__ */ s.jsxs(
1607
- "main",
1608
- {
1609
- "data-pagefind-body": !0,
1610
- className: A(
1611
- "px-4 lg:pe-8 lg:px-8",
1612
- !a && "col-span-full",
1613
- i && "animate-pulse"
1614
- ),
1615
- children: [
1616
- /* @__PURE__ */ s.jsx(_, { name: "zudoku-before-content" }),
1617
- t,
1618
- /* @__PURE__ */ s.jsx(_, { name: "zudoku-after-content" })
1619
- ]
1620
- }
1621
- )
1622
- ]
1623
- }
1624
- );
1625
- }, tn = () => /* @__PURE__ */ s.jsx("main", { className: "col-span-full row-span-full grid place-items-center", children: /* @__PURE__ */ s.jsx(xt, {}) }), rn = ({ children: t }) => {
1626
- const { meta: e, authentication: r, options: n } = I(), a = pe();
1627
- return _r(), Ts(), Q(() => {
1628
- var i;
1629
- (i = r == null ? void 0 : r.onPageLoad) == null || i.call(r);
1630
- }, [r]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1631
- !1,
1632
- /* @__PURE__ */ s.jsxs(Ne, { titleTemplate: e == null ? void 0 : e.title, children: [
1633
- n.canonicalUrlOrigin && /* @__PURE__ */ s.jsx(
1634
- "link",
1635
- {
1636
- rel: "canonical",
1637
- href: ee(
1638
- n.canonicalUrlOrigin,
1639
- n.basePath,
1640
- a.pathname
1641
- )
1642
- }
1643
- ),
1644
- (e == null ? void 0 : e.description) && /* @__PURE__ */ s.jsx("meta", { name: "description", content: e.description }),
1645
- (e == null ? void 0 : e.favicon) && /* @__PURE__ */ s.jsx("link", { rel: "icon", href: e.favicon })
1646
- ] }),
1647
- /* @__PURE__ */ s.jsx(_, { name: "layout-before-head" }),
1648
- /* @__PURE__ */ s.jsx(kt, {}),
1649
- /* @__PURE__ */ s.jsx(_, { name: "layout-after-head" }),
1650
- /* @__PURE__ */ s.jsx("div", { className: "grid grid-cols-1 grid-rows-[0_min-content_1fr] lg:grid-rows-[min-content_1fr] lg:grid-cols-[var(--side-nav-width)_1fr] max-w-screen-2xl w-full lg:mx-auto", children: /* @__PURE__ */ s.jsx(Oe, { fallback: /* @__PURE__ */ s.jsx(tn, {}), children: /* @__PURE__ */ s.jsx(en, { children: t ?? /* @__PURE__ */ s.jsx(lt, {}) }) }) }),
1651
- /* @__PURE__ */ s.jsx(As, {})
1652
- ] });
1653
- }, sn = ({
1654
- title: t = "An error occurred",
1655
- message: e,
1656
- category: r
1657
- }) => /* @__PURE__ */ s.jsxs("div", { className: qr + " h-full pt-[--padding-content-top]", children: [
1658
- r && /* @__PURE__ */ s.jsx(Zr, { children: r }),
1659
- t && /* @__PURE__ */ s.jsx(Dr, { level: 1, className: "flex gap-3.5 items-center", children: t }),
1660
- /* @__PURE__ */ s.jsx("p", { children: e })
1661
- ] }), nn = (t) => {
1662
- switch (t) {
1663
- case 400:
1664
- return {
1665
- title: "Bad Request",
1666
- message: "The request could not be understood by the server due to malformed syntax."
1667
- };
1668
- case 403:
1669
- return {
1670
- title: "Forbidden",
1671
- message: "You don't have permission to access this resource."
1672
- };
1673
- case 404:
1674
- return {
1675
- title: "Not Found",
1676
- message: "The requested resource could not be found."
1677
- };
1678
- case 405:
1679
- return {
1680
- title: "Method Not Allowed",
1681
- message: "The request method is not supported for the requested resource."
1682
- };
1683
- case 414:
1684
- return {
1685
- title: "Request URI Too Large",
1686
- message: "The request URI is too large."
1687
- };
1688
- case 416:
1689
- return {
1690
- title: "Range Not Satisfiable",
1691
- message: "The server cannot satisfy the request range."
1692
- };
1693
- case 500:
1694
- return {
1695
- title: "Internal Server Error",
1696
- message: "An unexpected error occurred while processing your request."
1697
- };
1698
- case 501:
1699
- return {
1700
- title: "Not Implemented",
1701
- message: "The server does not support the functionality required to fulfill the request."
1702
- };
1703
- case 502:
1704
- return {
1705
- title: "Bad Gateway",
1706
- message: "The server received an invalid response from the upstream server."
1707
- };
1708
- case 503:
1709
- return {
1710
- title: "Service Unavailable",
1711
- message: "The server is temporarily unable to handle the request."
1712
- };
1713
- case 504:
1714
- return {
1715
- title: "Gateway Timeout",
1716
- message: "The server did not receive a timely response from the upstream server."
1717
- };
1718
- default:
1719
- return {
1720
- title: "An error occurred",
1721
- message: "Something went wrong while processing your request."
1722
- };
1723
- }
1724
- }, an = ({ statusCode: t, message: e }) => {
1725
- const r = nn(t);
1726
- return /* @__PURE__ */ s.jsx(
1727
- sn,
1728
- {
1729
- title: r.title,
1730
- message: e ?? r.message,
1731
- category: t
1732
- }
1733
- );
1734
- }, on = Me(null), we = {
1735
- didCatch: !1,
1736
- error: null
1737
- };
1738
- class cn extends Mr {
1739
- constructor(e) {
1740
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = we;
1741
- }
1742
- static getDerivedStateFromError(e) {
1743
- return {
1744
- didCatch: !0,
1745
- error: e
1746
- };
1747
- }
1748
- resetErrorBoundary() {
1749
- const {
1750
- error: e
1751
- } = this.state;
1752
- if (e !== null) {
1753
- for (var r, n, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
1754
- i[o] = arguments[o];
1755
- (r = (n = this.props).onReset) === null || r === void 0 || r.call(n, {
1756
- args: i,
1757
- reason: "imperative-api"
1758
- }), this.setState(we);
1759
- }
1760
- }
1761
- componentDidCatch(e, r) {
1762
- var n, a;
1763
- (n = (a = this.props).onError) === null || n === void 0 || n.call(a, e, r);
1764
- }
1765
- componentDidUpdate(e, r) {
1766
- const {
1767
- didCatch: n
1768
- } = this.state, {
1769
- resetKeys: a
1770
- } = this.props;
1771
- if (n && r.error !== null && ln(e.resetKeys, a)) {
1772
- var i, o;
1773
- (i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
1774
- next: a,
1775
- prev: e.resetKeys,
1776
- reason: "keys"
1777
- }), this.setState(we);
1778
- }
1779
- }
1780
- render() {
1781
- const {
1782
- children: e,
1783
- fallbackRender: r,
1784
- FallbackComponent: n,
1785
- fallback: a
1786
- } = this.props, {
1787
- didCatch: i,
1788
- error: o
1789
- } = this.state;
1790
- let f = e;
1791
- if (i) {
1792
- const h = {
1793
- error: o,
1794
- resetErrorBoundary: this.resetErrorBoundary
1795
- };
1796
- if (typeof r == "function")
1797
- f = r(h);
1798
- else if (n)
1799
- f = Be(n, h);
1800
- else if (a !== void 0)
1801
- f = a;
1802
- else
1803
- throw o;
1804
- }
1805
- return Be(on.Provider, {
1806
- value: {
1807
- didCatch: i,
1808
- error: o,
1809
- resetErrorBoundary: this.resetErrorBoundary
1810
- }
1811
- }, f);
1812
- }
1813
- }
1814
- function ln() {
1815
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1816
- return t.length !== e.length || t.some((r, n) => !Object.is(r, e[n]));
1817
- }
1818
- let un = () => ({
1819
- emit(t, ...e) {
1820
- for (let r = this.events[t] || [], n = 0, a = r.length; n < a; n++)
1821
- r[n](...e);
1822
- },
1823
- events: {},
1824
- on(t, e) {
1825
- var r;
1826
- return ((r = this.events)[t] || (r[t] = [])).push(e), () => {
1827
- var n;
1828
- this.events[t] = (n = this.events[t]) == null ? void 0 : n.filter((a) => e !== a);
1829
- };
1830
- }
1831
- });
1832
- class dn {
1833
- constructor(e, r) {
1834
- O(this, "plugins");
1835
- O(this, "sidebars");
1836
- O(this, "topNavigation");
1837
- O(this, "meta");
1838
- O(this, "page");
1839
- O(this, "authentication");
1840
- O(this, "navigationPlugins");
1841
- O(this, "emitter", un());
1842
- O(this, "initialize", async () => {
1843
- await Promise.all(
1844
- this.plugins.filter(Jr).map((e) => {
1845
- var r;
1846
- return (r = e.initialize) == null ? void 0 : r.call(e, this);
1847
- })
1848
- );
1849
- });
1850
- O(this, "getApiIdentities", async () => (await Promise.all(
1851
- this.plugins.filter(es).map((r) => r.getIdentities(this))
1852
- )).flat());
1853
- O(this, "emitEvent", (e, ...r) => this.emitter.emit(e, ...r));
1854
- O(this, "getPluginSidebar", async (e) => (await Promise.all(
1855
- this.navigationPlugins.map(
1856
- (n) => {
1857
- var a;
1858
- return (a = n.getSidebar) == null ? void 0 : a.call(n, yr(e), this);
1859
- }
1860
- )
1861
- )).flatMap((n) => n ?? []));
1862
- O(this, "signRequest", async (e) => {
1863
- if (!this.authentication)
1864
- throw new Error("No authentication provider configured");
1865
- return await this.authentication.signRequest(e);
1866
- });
1867
- this.options = e, this.queryClient = r, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Gr), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.plugins.forEach((n) => {
1868
- Xr(n) && ss(n.events).forEach(([a, i]) => {
1869
- this.emitter.on(a, i);
1870
- });
1871
- }), xr.subscribe((n, a) => {
1872
- this.emitEvent("auth", {
1873
- prev: a,
1874
- next: n
1875
- });
1876
- });
1877
- }
1878
- addEventListener(e, r) {
1879
- return this.emitter.on(e, r);
1880
- }
1881
- }
1882
- function fn({ error: t, resetErrorBoundary: e }) {
1883
- return /* @__PURE__ */ s.jsx(pt, { error: t });
1884
- }
1885
- const de = globalThis;
1886
- (!de.requestIdleCallback || !de.cancelIdleCallback) && (de.requestIdleCallback = (t) => setTimeout(t, 1), de.cancelIdleCallback = clearTimeout);
1887
- const $t = {
1888
- Header: kt
1889
- }, hn = Me($t), mn = hn.Provider, pn = () => {
1890
- const t = pe(), e = I(), r = G(void 0);
1891
- return Q(() => {
1892
- e.emitEvent("location", {
1893
- from: r.current,
1894
- to: t
1895
- }), r.current = t;
1896
- }, [e, t]), null;
1897
- }, gn = ({
1898
- children: t,
1899
- context: e
1900
- }) => (br({
1901
- queryFn: async () => (await e.initialize(), !0),
1902
- queryKey: ["zudoku-initialize"]
1903
- }), /* @__PURE__ */ s.jsx(jr.Provider, { value: e, children: t }));
1904
- let Pe;
1905
- const Ft = vt(
1906
- ({ children: t, ...e }) => {
1907
- var g, y;
1908
- const r = ye(
1909
- () => ({ ...$t, ...e.overrides }),
1910
- [e.overrides]
1911
- ), n = pe(), a = ye(() => {
1912
- var p;
1913
- return {
1914
- ...(e.plugins ?? []).filter(ts).flatMap(
1915
- (C) => C.getMdxComponents ? [C.getMdxComponents()] : []
1916
- ).reduce(
1917
- (C, N) => ({ ...C, ...N }),
1918
- {}
1919
- ),
1920
- ...$r,
1921
- ...(p = e.mdx) == null ? void 0 : p.components
1922
- };
1923
- }, [(g = e.mdx) == null ? void 0 : g.components, e.plugins]), { stagger: i } = Or(Ee), [o, f] = J(!1), h = ye(
1924
- () => o ? { stagger: !0 } : { stagger: i },
1925
- [i, o]
1926
- ), l = ge(), b = ft();
1927
- Q(() => {
1928
- o || f(!0);
1929
- }, [o, l.location]), Pe || (Pe = new dn(e, b));
1930
- const x = (y = e.plugins) == null ? void 0 : y.flatMap(
1931
- (m) => {
1932
- var p;
1933
- return rs(m) ? ((p = m.getHead) == null ? void 0 : p.call(m, { location: n })) ?? [] : [];
1934
- }
1935
- ).map((m, p) => /* @__PURE__ */ s.jsx(Ne, { children: m }, p));
1936
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1937
- x,
1938
- /* @__PURE__ */ s.jsx(Ee.Provider, { value: h, children: /* @__PURE__ */ s.jsxs(gn, { context: Pe, children: [
1939
- /* @__PURE__ */ s.jsx(pn, {}),
1940
- /* @__PURE__ */ s.jsx(gs, { components: a, children: /* @__PURE__ */ s.jsx(or, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ s.jsx(mn, { value: r, children: /* @__PURE__ */ s.jsx(Sr, { slotlets: e.slotlets, children: /* @__PURE__ */ s.jsx(Fr, { children: t ?? /* @__PURE__ */ s.jsx(lt, {}) }) }) }) }) })
1941
- ] }) })
1942
- ] });
1943
- }
1944
- );
1945
- Ft.displayName = "ZudokoInner";
1946
- const It = (t) => /* @__PURE__ */ s.jsx(cn, { FallbackComponent: fn, children: /* @__PURE__ */ s.jsx(Ft, { ...t }) });
1947
- It.displayName = "Zudoku";
1948
- const Ln = Pt, Bn = rn, Hn = Cr, Kn = Ps, Un = Es, Yn = Ns, Zn = ar, Vn = Ne, vn = I, Wn = ae, Gn = wr, Xn = Pr, Jn = It, ea = an, ta = Nr, ra = Ir, sa = xt, na = Ae, aa = Er, oa = Te, ia = ct;
1949
- export {
1950
- aa as B,
1951
- Xn as C,
1952
- Vn as H,
1953
- oa as L,
1954
- ra as M,
1955
- Hn as R,
1956
- Kn as S,
1957
- Jn as Z,
1958
- Wn as a,
1959
- vn as b,
1960
- Ln as c,
1961
- Bn as d,
1962
- Un as e,
1963
- Yn as f,
1964
- Zn as g,
1965
- Gn as h,
1966
- ea as i,
1967
- ta as j,
1968
- sa as k,
1969
- na as l,
1970
- ia as m,
1971
- Pt as u
1972
- };
1973
- //# sourceMappingURL=index-D48iOQvJ.js.map