zudoku 0.0.0-ff3bc72 → 0.0.0-firebase-fixes.777fd2c0

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 (2402) hide show
  1. package/README.md +141 -0
  2. package/cli.js +12 -2
  3. package/client.d.ts +7 -0
  4. package/dist/app/ZuploBuildConfig.d.ts +45 -0
  5. package/dist/app/ZuploBuildConfig.js +29 -0
  6. package/dist/app/ZuploBuildConfig.js.map +1 -0
  7. package/dist/app/demo.js +23 -10
  8. package/dist/app/demo.js.map +1 -1
  9. package/dist/app/entry.client.d.ts +6 -2
  10. package/dist/app/entry.client.js +56 -7
  11. package/dist/app/entry.client.js.map +1 -1
  12. package/dist/app/entry.server.d.ts +9 -8
  13. package/dist/app/entry.server.js +36 -18
  14. package/dist/app/entry.server.js.map +1 -1
  15. package/dist/app/env.d.ts +33 -0
  16. package/dist/app/env.js +37 -0
  17. package/dist/app/env.js.map +1 -0
  18. package/dist/app/main.d.ts +94 -2
  19. package/dist/app/main.js +64 -70
  20. package/dist/app/main.js.map +1 -1
  21. package/dist/app/sentry.d.ts +3 -0
  22. package/dist/app/sentry.js +19 -0
  23. package/dist/app/sentry.js.map +1 -0
  24. package/dist/app/standalone.js +12 -11
  25. package/dist/app/standalone.js.map +1 -1
  26. package/dist/cli/build/handler.d.ts +1 -3
  27. package/dist/cli/build/handler.js +18 -2
  28. package/dist/cli/build/handler.js.map +1 -1
  29. package/dist/cli/cli.d.ts +9 -0
  30. package/dist/cli/cli.js +23 -15
  31. package/dist/cli/cli.js.map +1 -1
  32. package/dist/cli/cmds/build.d.ts +11 -3
  33. package/dist/cli/cmds/build.js +21 -13
  34. package/dist/cli/cmds/build.js.map +1 -1
  35. package/dist/cli/cmds/dev.d.ts +1 -1
  36. package/dist/cli/cmds/dev.js +5 -0
  37. package/dist/cli/cmds/dev.js.map +1 -1
  38. package/dist/cli/cmds/preview.d.ts +16 -0
  39. package/dist/cli/cmds/preview.js +25 -0
  40. package/dist/cli/cmds/preview.js.map +1 -0
  41. package/dist/cli/common/analytics/lib.js +1 -1
  42. package/dist/cli/common/analytics/lib.js.map +1 -1
  43. package/dist/cli/common/logger.js +8 -0
  44. package/dist/cli/common/logger.js.map +1 -1
  45. package/dist/cli/common/machine-id/lib.js +3 -1
  46. package/dist/cli/common/machine-id/lib.js.map +1 -1
  47. package/dist/cli/common/outdated.js +4 -2
  48. package/dist/cli/common/outdated.js.map +1 -1
  49. package/dist/cli/common/output.js +2 -3
  50. package/dist/cli/common/output.js.map +1 -1
  51. package/dist/cli/common/utils/box.js +2 -2
  52. package/dist/cli/common/utils/box.js.map +1 -1
  53. package/dist/cli/common/utils/ports.d.ts +1 -1
  54. package/dist/cli/common/utils/ports.js +16 -15
  55. package/dist/cli/common/utils/ports.js.map +1 -1
  56. package/dist/cli/common/validators/lib.js +1 -1
  57. package/dist/cli/common/validators/lib.js.map +1 -1
  58. package/dist/cli/common/version-check.d.ts +2 -0
  59. package/dist/cli/common/version-check.js +58 -0
  60. package/dist/cli/common/version-check.js.map +1 -0
  61. package/dist/cli/dev/handler.d.ts +1 -0
  62. package/dist/cli/dev/handler.js +15 -16
  63. package/dist/cli/dev/handler.js.map +1 -1
  64. package/dist/cli/preview/handler.d.ts +3 -0
  65. package/dist/cli/preview/handler.js +35 -0
  66. package/dist/cli/preview/handler.js.map +1 -0
  67. package/dist/codegen.d.ts +3 -0
  68. package/dist/codegen.js +45 -0
  69. package/dist/codegen.js.map +1 -0
  70. package/dist/config/config.d.ts +21 -31
  71. package/dist/config/file-exists.d.ts +1 -0
  72. package/dist/config/file-exists.js +5 -0
  73. package/dist/config/file-exists.js.map +1 -0
  74. package/dist/config/loader.d.ts +21 -0
  75. package/dist/config/loader.js +141 -0
  76. package/dist/config/loader.js.map +1 -0
  77. package/dist/config/validators/BuildSchema.d.ts +44 -0
  78. package/dist/config/validators/BuildSchema.js +57 -0
  79. package/dist/config/validators/BuildSchema.js.map +1 -0
  80. package/dist/config/validators/InputNavigationSchema.d.ts +7646 -0
  81. package/dist/config/validators/InputNavigationSchema.js +78 -0
  82. package/dist/config/validators/InputNavigationSchema.js.map +1 -0
  83. package/dist/config/validators/InputNavigationSchema.test-d.js +146 -0
  84. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
  85. package/dist/config/validators/NavigationSchema.d.ts +44 -0
  86. package/dist/config/validators/NavigationSchema.js +96 -0
  87. package/dist/config/validators/NavigationSchema.js.map +1 -0
  88. package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
  89. package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
  90. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
  91. package/dist/config/validators/auth.d.ts +2 -2
  92. package/dist/config/validators/auth.js +1 -1
  93. package/dist/config/validators/auth.js.map +1 -1
  94. package/dist/config/validators/icon-types.d.ts +2 -0
  95. package/dist/config/validators/icon-types.js +1873 -0
  96. package/dist/config/validators/icon-types.js.map +1 -0
  97. package/dist/config/validators/validate.d.ts +925 -1421
  98. package/dist/config/validators/validate.js +424 -136
  99. package/dist/config/validators/validate.js.map +1 -1
  100. package/dist/config/validators/validate.test.js +183 -0
  101. package/dist/config/validators/validate.test.js.map +1 -0
  102. package/dist/flat-config.d.ts +386 -0
  103. package/dist/index.d.ts +11 -2
  104. package/dist/index.js +6 -1
  105. package/dist/index.js.map +1 -1
  106. package/dist/lib/MissingIcon.d.ts +2 -0
  107. package/dist/lib/MissingIcon.js +7 -0
  108. package/dist/lib/MissingIcon.js.map +1 -0
  109. package/dist/lib/assets/language-icons/c.d.ts +3 -0
  110. package/dist/lib/assets/language-icons/c.js +4 -0
  111. package/dist/lib/assets/language-icons/c.js.map +1 -0
  112. package/dist/lib/assets/language-icons/commonlisp.d.ts +3 -0
  113. package/dist/lib/assets/language-icons/commonlisp.js +4 -0
  114. package/dist/lib/assets/language-icons/commonlisp.js.map +1 -0
  115. package/dist/lib/assets/language-icons/cpp.d.ts +3 -0
  116. package/dist/lib/assets/language-icons/cpp.js +4 -0
  117. package/dist/lib/assets/language-icons/cpp.js.map +1 -0
  118. package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
  119. package/dist/lib/assets/language-icons/csharp.js +4 -0
  120. package/dist/lib/assets/language-icons/csharp.js.map +1 -0
  121. package/dist/lib/assets/language-icons/css.d.ts +3 -0
  122. package/dist/lib/assets/language-icons/css.js +4 -0
  123. package/dist/lib/assets/language-icons/css.js.map +1 -0
  124. package/dist/lib/assets/language-icons/dart.d.ts +3 -0
  125. package/dist/lib/assets/language-icons/dart.js +4 -0
  126. package/dist/lib/assets/language-icons/dart.js.map +1 -0
  127. package/dist/lib/assets/language-icons/elixir.d.ts +3 -0
  128. package/dist/lib/assets/language-icons/elixir.js +4 -0
  129. package/dist/lib/assets/language-icons/elixir.js.map +1 -0
  130. package/dist/lib/assets/language-icons/go.d.ts +3 -0
  131. package/dist/lib/assets/language-icons/go.js +4 -0
  132. package/dist/lib/assets/language-icons/go.js.map +1 -0
  133. package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
  134. package/dist/lib/assets/language-icons/graphql.js +4 -0
  135. package/dist/lib/assets/language-icons/graphql.js.map +1 -0
  136. package/dist/lib/assets/language-icons/html.d.ts +3 -0
  137. package/dist/lib/assets/language-icons/html.js +4 -0
  138. package/dist/lib/assets/language-icons/html.js.map +1 -0
  139. package/dist/lib/assets/language-icons/java.d.ts +3 -0
  140. package/dist/lib/assets/language-icons/java.js +4 -0
  141. package/dist/lib/assets/language-icons/java.js.map +1 -0
  142. package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
  143. package/dist/lib/assets/language-icons/javascript.js +4 -0
  144. package/dist/lib/assets/language-icons/javascript.js.map +1 -0
  145. package/dist/lib/assets/language-icons/json.d.ts +3 -0
  146. package/dist/lib/assets/language-icons/json.js +4 -0
  147. package/dist/lib/assets/language-icons/json.js.map +1 -0
  148. package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
  149. package/dist/lib/assets/language-icons/kotlin.js +4 -0
  150. package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
  151. package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
  152. package/dist/lib/assets/language-icons/markdown.js +4 -0
  153. package/dist/lib/assets/language-icons/markdown.js.map +1 -0
  154. package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
  155. package/dist/lib/assets/language-icons/mdx.js +4 -0
  156. package/dist/lib/assets/language-icons/mdx.js.map +1 -0
  157. package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
  158. package/dist/lib/assets/language-icons/objectivec.js +4 -0
  159. package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
  160. package/dist/lib/assets/language-icons/ocaml.d.ts +3 -0
  161. package/dist/lib/assets/language-icons/ocaml.js +4 -0
  162. package/dist/lib/assets/language-icons/ocaml.js.map +1 -0
  163. package/dist/lib/assets/language-icons/php.d.ts +3 -0
  164. package/dist/lib/assets/language-icons/php.js +4 -0
  165. package/dist/lib/assets/language-icons/php.js.map +1 -0
  166. package/dist/lib/assets/language-icons/powershell.d.ts +3 -0
  167. package/dist/lib/assets/language-icons/powershell.js +4 -0
  168. package/dist/lib/assets/language-icons/powershell.js.map +1 -0
  169. package/dist/lib/assets/language-icons/python.d.ts +3 -0
  170. package/dist/lib/assets/language-icons/python.js +4 -0
  171. package/dist/lib/assets/language-icons/python.js.map +1 -0
  172. package/dist/lib/assets/language-icons/react.d.ts +3 -0
  173. package/dist/lib/assets/language-icons/react.js +4 -0
  174. package/dist/lib/assets/language-icons/react.js.map +1 -0
  175. package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
  176. package/dist/lib/assets/language-icons/ruby.js +4 -0
  177. package/dist/lib/assets/language-icons/ruby.js.map +1 -0
  178. package/dist/lib/assets/language-icons/rust.d.ts +3 -0
  179. package/dist/lib/assets/language-icons/rust.js +4 -0
  180. package/dist/lib/assets/language-icons/rust.js.map +1 -0
  181. package/dist/lib/assets/language-icons/scala.d.ts +3 -0
  182. package/dist/lib/assets/language-icons/scala.js +4 -0
  183. package/dist/lib/assets/language-icons/scala.js.map +1 -0
  184. package/dist/lib/assets/language-icons/shell.d.ts +3 -0
  185. package/dist/lib/assets/language-icons/shell.js +4 -0
  186. package/dist/lib/assets/language-icons/shell.js.map +1 -0
  187. package/dist/lib/assets/language-icons/swift.d.ts +3 -0
  188. package/dist/lib/assets/language-icons/swift.js +4 -0
  189. package/dist/lib/assets/language-icons/swift.js.map +1 -0
  190. package/dist/lib/assets/language-icons/toml.d.ts +3 -0
  191. package/dist/lib/assets/language-icons/toml.js +4 -0
  192. package/dist/lib/assets/language-icons/toml.js.map +1 -0
  193. package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
  194. package/dist/lib/assets/language-icons/typescript.js +4 -0
  195. package/dist/lib/assets/language-icons/typescript.js.map +1 -0
  196. package/dist/lib/assets/language-icons/xml.d.ts +3 -0
  197. package/dist/lib/assets/language-icons/xml.js +4 -0
  198. package/dist/lib/assets/language-icons/xml.js.map +1 -0
  199. package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
  200. package/dist/lib/assets/language-icons/yaml.js +4 -0
  201. package/dist/lib/assets/language-icons/yaml.js.map +1 -0
  202. package/dist/lib/assets/language-icons/zig.d.ts +3 -0
  203. package/dist/lib/assets/language-icons/zig.js +4 -0
  204. package/dist/lib/assets/language-icons/zig.js.map +1 -0
  205. package/dist/lib/auth/issuer.d.ts +2 -0
  206. package/dist/lib/auth/issuer.js +40 -0
  207. package/dist/lib/auth/issuer.js.map +1 -0
  208. package/dist/lib/auth/issuer.test.js +95 -0
  209. package/dist/lib/auth/issuer.test.js.map +1 -0
  210. package/dist/lib/authentication/AuthenticationPlugin.d.ts +6 -4
  211. package/dist/lib/authentication/AuthenticationPlugin.js +4 -1
  212. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  213. package/dist/lib/authentication/authentication.d.ts +22 -15
  214. package/dist/lib/authentication/components/CallbackHandler.js +27 -31
  215. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  216. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
  217. package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
  218. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
  219. package/dist/lib/authentication/components/SignIn.d.ts +1 -1
  220. package/dist/lib/authentication/components/SignIn.js +12 -7
  221. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  222. package/dist/lib/authentication/components/SignOut.js +6 -6
  223. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  224. package/dist/lib/authentication/components/SignUp.d.ts +1 -1
  225. package/dist/lib/authentication/components/SignUp.js +8 -5
  226. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  227. package/dist/lib/authentication/errors.d.ts +6 -12
  228. package/dist/lib/authentication/errors.js +2 -1
  229. package/dist/lib/authentication/errors.js.map +1 -1
  230. package/dist/lib/authentication/hook.d.ts +15 -5
  231. package/dist/lib/authentication/hook.js +19 -7
  232. package/dist/lib/authentication/hook.js.map +1 -1
  233. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  234. package/dist/lib/authentication/providers/auth0.js +25 -14
  235. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  236. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  237. package/dist/lib/authentication/providers/azureb2c.js +147 -0
  238. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  239. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  240. package/dist/lib/authentication/providers/clerk.js +111 -49
  241. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  242. package/dist/lib/authentication/providers/firebase.d.ts +4 -0
  243. package/dist/lib/authentication/providers/firebase.js +222 -0
  244. package/dist/lib/authentication/providers/firebase.js.map +1 -0
  245. package/dist/lib/authentication/providers/openid.d.ts +29 -24
  246. package/dist/lib/authentication/providers/openid.js +115 -74
  247. package/dist/lib/authentication/providers/openid.js.map +1 -1
  248. package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.d.ts +8 -0
  249. package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.js +39 -0
  250. package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.js.map +1 -0
  251. package/dist/lib/authentication/providers/supabase.d.ts +4 -0
  252. package/dist/lib/authentication/providers/supabase.js +108 -0
  253. package/dist/lib/authentication/providers/supabase.js.map +1 -0
  254. package/dist/lib/authentication/state.d.ts +22 -19
  255. package/dist/lib/authentication/state.js +35 -7
  256. package/dist/lib/authentication/state.js.map +1 -1
  257. package/dist/lib/authentication/ui/ZudokuAuthUi.d.ts +26 -0
  258. package/dist/lib/authentication/ui/ZudokuAuthUi.js +139 -0
  259. package/dist/lib/authentication/ui/ZudokuAuthUi.js.map +1 -0
  260. package/dist/lib/authentication/ui/icons/Apple.d.ts +3 -0
  261. package/dist/lib/authentication/ui/icons/Apple.js +4 -0
  262. package/dist/lib/authentication/ui/icons/Apple.js.map +1 -0
  263. package/dist/lib/authentication/ui/icons/Facebook.d.ts +3 -0
  264. package/dist/lib/authentication/ui/icons/Facebook.js +4 -0
  265. package/dist/lib/authentication/ui/icons/Facebook.js.map +1 -0
  266. package/dist/lib/authentication/ui/icons/Github.d.ts +3 -0
  267. package/dist/lib/authentication/ui/icons/Github.js +4 -0
  268. package/dist/lib/authentication/ui/icons/Github.js.map +1 -0
  269. package/dist/lib/authentication/ui/icons/Google.d.ts +3 -0
  270. package/dist/lib/authentication/ui/icons/Google.js +4 -0
  271. package/dist/lib/authentication/ui/icons/Google.js.map +1 -0
  272. package/dist/lib/authentication/ui/icons/Microsoft.d.ts +3 -0
  273. package/dist/lib/authentication/ui/icons/Microsoft.js +4 -0
  274. package/dist/lib/authentication/ui/icons/Microsoft.js.map +1 -0
  275. package/dist/lib/authentication/ui/icons/X.d.ts +3 -0
  276. package/dist/lib/authentication/ui/icons/X.js +4 -0
  277. package/dist/lib/authentication/ui/icons/X.js.map +1 -0
  278. package/dist/lib/authentication/use-broadcast/shared.d.ts +48 -0
  279. package/dist/lib/authentication/use-broadcast/shared.js +243 -0
  280. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -0
  281. package/dist/lib/authentication/use-broadcast/useBroadcast.d.ts +24 -0
  282. package/dist/lib/authentication/use-broadcast/useBroadcast.js +106 -0
  283. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -0
  284. package/dist/lib/components/AnchorLink.d.ts +2 -2
  285. package/dist/lib/components/AnchorLink.js +9 -5
  286. package/dist/lib/components/AnchorLink.js.map +1 -1
  287. package/dist/lib/components/Autocomplete.d.ts +15 -0
  288. package/dist/lib/components/Autocomplete.js +51 -0
  289. package/dist/lib/components/Autocomplete.js.map +1 -0
  290. package/dist/lib/components/Banner.js +2 -2
  291. package/dist/lib/components/Banner.js.map +1 -1
  292. package/dist/lib/components/Bootstrap.d.ts +5 -3
  293. package/dist/lib/components/Bootstrap.js +13 -6
  294. package/dist/lib/components/Bootstrap.js.map +1 -1
  295. package/dist/lib/components/BuildCheck.d.ts +5 -0
  296. package/dist/lib/components/BuildCheck.js +45 -0
  297. package/dist/lib/components/BuildCheck.js.map +1 -0
  298. package/dist/lib/components/CategoryHeading.js +1 -1
  299. package/dist/lib/components/CategoryHeading.js.map +1 -1
  300. package/dist/lib/components/ClientOnly.d.ts +4 -2
  301. package/dist/lib/components/ClientOnly.js +1 -1
  302. package/dist/lib/components/ClientOnly.js.map +1 -1
  303. package/dist/lib/components/DeveloperHint.js +2 -1
  304. package/dist/lib/components/DeveloperHint.js.map +1 -1
  305. package/dist/lib/components/ErrorPage.js +2 -2
  306. package/dist/lib/components/ErrorPage.js.map +1 -1
  307. package/dist/lib/components/Footer.d.ts +1 -0
  308. package/dist/lib/components/Footer.js +32 -0
  309. package/dist/lib/components/Footer.js.map +1 -0
  310. package/dist/lib/components/Framed.d.ts +7 -0
  311. package/dist/lib/components/Framed.js +26 -0
  312. package/dist/lib/components/Framed.js.map +1 -0
  313. package/dist/lib/components/Header.js +32 -14
  314. package/dist/lib/components/Header.js.map +1 -1
  315. package/dist/lib/components/Heading.d.ts +10 -6
  316. package/dist/lib/components/Heading.js +4 -3
  317. package/dist/lib/components/Heading.js.map +1 -1
  318. package/dist/lib/components/InlineCode.d.ts +2 -1
  319. package/dist/lib/components/InlineCode.js +2 -9
  320. package/dist/lib/components/InlineCode.js.map +1 -1
  321. package/dist/lib/components/LanguageIcon.d.ts +3 -0
  322. package/dist/lib/components/LanguageIcon.js +163 -0
  323. package/dist/lib/components/LanguageIcon.js.map +1 -0
  324. package/dist/lib/components/Layout.js +11 -24
  325. package/dist/lib/components/Layout.js.map +1 -1
  326. package/dist/lib/components/Main.d.ts +2 -0
  327. package/dist/lib/components/Main.js +18 -0
  328. package/dist/lib/components/Main.js.map +1 -0
  329. package/dist/lib/components/Markdown.d.ts +4 -3
  330. package/dist/lib/components/Markdown.js +14 -14
  331. package/dist/lib/components/Markdown.js.map +1 -1
  332. package/dist/lib/components/Mermaid.d.ts +7 -0
  333. package/dist/lib/components/Mermaid.js +42 -0
  334. package/dist/lib/components/Mermaid.js.map +1 -0
  335. package/dist/lib/components/Meta.d.ts +2 -0
  336. package/dist/lib/components/Meta.js +11 -0
  337. package/dist/lib/components/Meta.js.map +1 -0
  338. package/dist/lib/components/MobileTopNavigation.js +20 -7
  339. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  340. package/dist/lib/components/NotFoundPage.js +3 -3
  341. package/dist/lib/components/NotFoundPage.js.map +1 -1
  342. package/dist/lib/components/PageProgress.d.ts +1 -0
  343. package/dist/lib/components/PageProgress.js +20 -0
  344. package/dist/lib/components/PageProgress.js.map +1 -0
  345. package/dist/lib/components/PagefindSearchMeta.d.ts +8 -0
  346. package/dist/lib/components/PagefindSearchMeta.js +7 -0
  347. package/dist/lib/components/PagefindSearchMeta.js.map +1 -0
  348. package/dist/lib/components/Pagination.d.ts +11 -0
  349. package/dist/lib/components/Pagination.js +10 -0
  350. package/dist/lib/components/Pagination.js.map +1 -0
  351. package/dist/lib/components/PathRenderer.d.ts +11 -0
  352. package/dist/lib/components/PathRenderer.js +28 -0
  353. package/dist/lib/components/PathRenderer.js.map +1 -0
  354. package/dist/lib/components/Search.d.ts +3 -1
  355. package/dist/lib/components/Search.js +10 -4
  356. package/dist/lib/components/Search.js.map +1 -1
  357. package/dist/lib/components/Slot.d.ts +17 -0
  358. package/dist/lib/components/Slot.js +24 -0
  359. package/dist/lib/components/Slot.js.map +1 -0
  360. package/dist/lib/components/Slot.test.d.ts +1 -0
  361. package/dist/lib/components/Slot.test.js +172 -0
  362. package/dist/lib/components/Slot.test.js.map +1 -0
  363. package/dist/lib/components/StatusPage.d.ts +7 -0
  364. package/dist/lib/components/StatusPage.js +75 -0
  365. package/dist/lib/components/StatusPage.js.map +1 -0
  366. package/dist/lib/components/ThemeSwitch.d.ts +1 -0
  367. package/dist/lib/components/ThemeSwitch.js +16 -0
  368. package/dist/lib/components/ThemeSwitch.js.map +1 -0
  369. package/dist/lib/components/TopNavigation.d.ts +7 -0
  370. package/dist/lib/components/TopNavigation.js +60 -9
  371. package/dist/lib/components/TopNavigation.js.map +1 -1
  372. package/dist/lib/components/Typography.d.ts +5 -0
  373. package/dist/lib/components/Typography.js +8 -0
  374. package/dist/lib/components/Typography.js.map +1 -0
  375. package/dist/lib/components/Zudoku.d.ts +7 -0
  376. package/dist/lib/components/Zudoku.js +55 -0
  377. package/dist/lib/components/Zudoku.js.map +1 -0
  378. package/dist/lib/components/cache.d.ts +15 -0
  379. package/dist/lib/components/cache.js +18 -0
  380. package/dist/lib/components/cache.js.map +1 -0
  381. package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
  382. package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
  383. package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
  384. package/dist/lib/components/context/ComponentsContext.js.map +1 -1
  385. package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
  386. package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
  387. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
  388. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  389. package/dist/lib/components/context/SlotProvider.js +83 -0
  390. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  391. package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
  392. package/dist/lib/components/context/ViewportAnchorContext.js +30 -24
  393. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  394. package/dist/lib/components/context/ZudokuContext.d.ts +9 -17
  395. package/dist/lib/components/context/ZudokuContext.js +74 -27
  396. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  397. package/dist/lib/components/context/ZudokuProvider.d.ts +2 -2
  398. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  399. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  400. package/dist/lib/components/index.d.ts +65 -23
  401. package/dist/lib/components/index.js +31 -15
  402. package/dist/lib/components/index.js.map +1 -1
  403. package/dist/lib/components/navigation/Navigation.d.ts +5 -0
  404. package/dist/lib/components/navigation/Navigation.js +12 -0
  405. package/dist/lib/components/navigation/Navigation.js.map +1 -0
  406. package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
  407. package/dist/lib/components/navigation/NavigationBadge.js +26 -0
  408. package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
  409. package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
  410. package/dist/lib/components/navigation/NavigationCategory.js +66 -0
  411. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
  412. package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
  413. package/dist/lib/components/navigation/NavigationItem.js +55 -0
  414. package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
  415. package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
  416. package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
  417. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
  418. package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
  419. package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
  420. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
  421. package/dist/lib/components/navigation/Toc.js +46 -0
  422. package/dist/lib/components/navigation/Toc.js.map +1 -0
  423. package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
  424. package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
  425. package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
  426. package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
  427. package/dist/lib/components/navigation/ZuploLogo.js +4 -0
  428. package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
  429. package/dist/lib/components/navigation/utils.d.ts +16 -8
  430. package/dist/lib/components/navigation/utils.js +60 -33
  431. package/dist/lib/components/navigation/utils.js.map +1 -1
  432. package/dist/lib/core/RouteGuard.d.ts +2 -0
  433. package/dist/lib/core/RouteGuard.js +44 -0
  434. package/dist/lib/core/RouteGuard.js.map +1 -0
  435. package/dist/lib/core/ZudokuContext.d.ts +116 -0
  436. package/dist/lib/core/ZudokuContext.js +106 -0
  437. package/dist/lib/core/ZudokuContext.js.map +1 -0
  438. package/dist/lib/core/__internal.d.ts +37 -0
  439. package/dist/lib/core/__internal.js +26 -0
  440. package/dist/lib/core/__internal.js.map +1 -0
  441. package/dist/lib/core/plugins.d.ts +37 -18
  442. package/dist/lib/core/plugins.js +4 -0
  443. package/dist/lib/core/plugins.js.map +1 -1
  444. package/dist/lib/core/router.d.ts +1 -0
  445. package/dist/lib/core/router.js +2 -0
  446. package/dist/lib/core/router.js.map +1 -0
  447. package/dist/lib/errors/ErrorAlert.d.ts +1 -1
  448. package/dist/lib/errors/ErrorAlert.js +12 -4
  449. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  450. package/dist/lib/errors/RouterError.d.ts +3 -1
  451. package/dist/lib/errors/RouterError.js +4 -3
  452. package/dist/lib/errors/RouterError.js.map +1 -1
  453. package/dist/lib/errors/TopLevelError.d.ts +2 -2
  454. package/dist/lib/errors/TopLevelError.js +1 -2
  455. package/dist/lib/errors/TopLevelError.js.map +1 -1
  456. package/dist/lib/hooks/index.d.ts +28 -0
  457. package/dist/lib/hooks/index.js +16 -0
  458. package/dist/lib/hooks/index.js.map +1 -0
  459. package/dist/lib/hooks/useEvent.d.ts +11 -0
  460. package/dist/lib/hooks/useEvent.js +19 -0
  461. package/dist/lib/hooks/useEvent.js.map +1 -0
  462. package/dist/lib/hooks/useEvent.test.d.ts +1 -0
  463. package/dist/lib/hooks/useEvent.test.js +102 -0
  464. package/dist/lib/hooks/useEvent.test.js.map +1 -0
  465. package/dist/lib/hooks/useHotkey.d.ts +4 -0
  466. package/dist/lib/hooks/useHotkey.js +58 -0
  467. package/dist/lib/hooks/useHotkey.js.map +1 -0
  468. package/dist/lib/icons.d.ts +1 -0
  469. package/dist/lib/icons.js +1 -0
  470. package/dist/lib/icons.js.map +1 -1
  471. package/dist/lib/oas/graphql/circular.d.ts +3 -0
  472. package/dist/lib/oas/graphql/circular.js +43 -0
  473. package/dist/lib/oas/graphql/circular.js.map +1 -0
  474. package/dist/lib/oas/graphql/index.d.ts +25 -1
  475. package/dist/lib/oas/graphql/index.js +253 -70
  476. package/dist/lib/oas/graphql/index.js.map +1 -1
  477. package/dist/lib/oas/parser/dereference/index.js +10 -4
  478. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  479. package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
  480. package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
  481. package/dist/lib/oas/parser/index.d.ts +9 -3
  482. package/dist/lib/oas/parser/index.js +12 -24
  483. package/dist/lib/oas/parser/index.js.map +1 -1
  484. package/dist/lib/oas/parser/upgrade/index.d.ts +3 -2
  485. package/dist/lib/oas/parser/upgrade/index.js +84 -31
  486. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  487. package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -0
  488. package/dist/lib/plugins/api-catalog/Catalog.js +32 -0
  489. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  490. package/dist/lib/plugins/api-catalog/index.d.ts +31 -0
  491. package/dist/lib/plugins/api-catalog/index.js +46 -0
  492. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  493. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  494. package/dist/lib/plugins/api-keys/CreateApiKey.js +26 -8
  495. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  496. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
  497. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
  498. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
  499. package/dist/lib/plugins/api-keys/ProtectedRoute.js +5 -2
  500. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  501. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  502. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +146 -27
  503. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  504. package/dist/lib/plugins/api-keys/index.d.ts +36 -18
  505. package/dist/lib/plugins/api-keys/index.js +74 -33
  506. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  507. package/dist/lib/plugins/custom-pages/index.d.ts +8 -0
  508. package/dist/lib/plugins/custom-pages/index.js +19 -0
  509. package/dist/lib/plugins/custom-pages/index.js.map +1 -0
  510. package/dist/lib/plugins/markdown/MdxPage.d.ts +10 -2
  511. package/dist/lib/plugins/markdown/MdxPage.js +67 -10
  512. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  513. package/dist/lib/plugins/markdown/assets/ChatGPTLogo.d.ts +2 -0
  514. package/dist/lib/plugins/markdown/assets/ChatGPTLogo.js +3 -0
  515. package/dist/lib/plugins/markdown/assets/ChatGPTLogo.js.map +1 -0
  516. package/dist/lib/plugins/markdown/assets/ClaudeLogo.d.ts +2 -0
  517. package/dist/lib/plugins/markdown/assets/ClaudeLogo.js +3 -0
  518. package/dist/lib/plugins/markdown/assets/ClaudeLogo.js.map +1 -0
  519. package/dist/lib/plugins/markdown/index.d.ts +19 -8
  520. package/dist/lib/plugins/markdown/index.js +14 -3
  521. package/dist/lib/plugins/markdown/index.js.map +1 -1
  522. package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +6 -0
  523. package/dist/lib/plugins/openapi/CollapsibleCode.js +26 -0
  524. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -0
  525. package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
  526. package/dist/lib/plugins/openapi/ColorizedParam.js +32 -14
  527. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  528. package/dist/lib/plugins/openapi/DownloadSchemaButton.d.ts +3 -0
  529. package/dist/lib/plugins/openapi/DownloadSchemaButton.js +47 -0
  530. package/dist/lib/plugins/openapi/DownloadSchemaButton.js.map +1 -0
  531. package/dist/lib/plugins/openapi/Endpoint.js +13 -19
  532. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  533. package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.d.ts +5 -0
  534. package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js +10 -0
  535. package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js.map +1 -0
  536. package/dist/lib/plugins/openapi/MCPEndpoint.d.ts +5 -0
  537. package/dist/lib/plugins/openapi/MCPEndpoint.js +56 -0
  538. package/dist/lib/plugins/openapi/MCPEndpoint.js.map +1 -0
  539. package/dist/lib/plugins/openapi/OasProvider.d.ts +8 -0
  540. package/dist/lib/plugins/openapi/OasProvider.js +39 -0
  541. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
  542. package/dist/lib/plugins/openapi/OperationList.d.ts +5 -4
  543. package/dist/lib/plugins/openapi/OperationList.js +141 -31
  544. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  545. package/dist/lib/plugins/openapi/OperationListItem.d.ts +6 -3
  546. package/dist/lib/plugins/openapi/OperationListItem.js +22 -8
  547. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  548. package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
  549. package/dist/lib/plugins/openapi/ParamInfos.js +47 -0
  550. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
  551. package/dist/lib/plugins/openapi/ParameterList.d.ts +4 -3
  552. package/dist/lib/plugins/openapi/ParameterList.js +10 -6
  553. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  554. package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
  555. package/dist/lib/plugins/openapi/ParameterListItem.js +30 -1
  556. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  557. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +5 -4
  558. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +15 -4
  559. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  560. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +11 -5
  561. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +8 -9
  562. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  563. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +6 -6
  564. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +28 -8
  565. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  566. package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
  567. package/dist/lib/plugins/openapi/SchemaList.js +53 -0
  568. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
  569. package/dist/lib/plugins/openapi/Sidecar.d.ts +6 -5
  570. package/dist/lib/plugins/openapi/Sidecar.js +121 -118
  571. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  572. package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
  573. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  574. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +14 -0
  575. package/dist/lib/plugins/openapi/SidecarExamples.js +57 -0
  576. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
  577. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  578. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  579. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
  580. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
  581. package/dist/lib/plugins/openapi/client/GraphQLClient.js +43 -0
  582. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
  583. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
  584. package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
  585. package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
  586. package/dist/lib/plugins/openapi/client/createServer.d.ts +3 -1
  587. package/dist/lib/plugins/openapi/client/createServer.js +6 -4
  588. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  589. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +14 -0
  590. package/dist/lib/plugins/openapi/client/useCreateQuery.js +20 -0
  591. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
  592. package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
  593. package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
  594. package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
  595. package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
  596. package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
  597. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
  598. package/dist/lib/plugins/openapi/components/NonHighlightedCode.d.ts +4 -0
  599. package/dist/lib/plugins/openapi/components/NonHighlightedCode.js +5 -0
  600. package/dist/lib/plugins/openapi/components/NonHighlightedCode.js.map +1 -0
  601. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  602. package/dist/lib/plugins/openapi/components/ResponseContent.js +20 -0
  603. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  604. package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
  605. package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
  606. package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
  607. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  608. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
  609. package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
  610. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  611. package/dist/lib/plugins/openapi/graphql/gql.d.ts +8 -46
  612. package/dist/lib/plugins/openapi/graphql/gql.js +6 -13
  613. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  614. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +152 -26
  615. package/dist/lib/plugins/openapi/graphql/graphql.js +250 -662
  616. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  617. package/dist/lib/plugins/openapi/index.d.ts +11 -8
  618. package/dist/lib/plugins/openapi/index.js +114 -110
  619. package/dist/lib/plugins/openapi/index.js.map +1 -1
  620. package/dist/lib/plugins/openapi/interfaces.d.ts +76 -5
  621. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
  622. package/dist/lib/plugins/openapi/playground/BodyPanel.js +78 -0
  623. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
  624. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
  625. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
  626. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
  627. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
  628. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +9 -0
  629. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
  630. package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
  631. package/dist/lib/plugins/openapi/playground/Headers.js +50 -9
  632. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  633. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
  634. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +15 -0
  635. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
  636. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
  637. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +7 -0
  638. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
  639. package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +17 -0
  640. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +12 -0
  641. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
  642. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
  643. package/dist/lib/plugins/openapi/playground/PathParams.js +4 -8
  644. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  645. package/dist/lib/plugins/openapi/playground/Playground.d.ts +39 -2
  646. package/dist/lib/plugins/openapi/playground/Playground.js +213 -86
  647. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  648. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +6 -3
  649. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  650. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -4
  651. package/dist/lib/plugins/openapi/playground/QueryParams.js +22 -25
  652. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  653. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +8 -0
  654. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +16 -0
  655. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
  656. package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
  657. package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
  658. package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
  659. package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
  660. package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
  661. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
  662. package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +19 -0
  663. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
  664. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
  665. package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.d.ts +8 -0
  666. package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js +19 -0
  667. package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js.map +1 -0
  668. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
  669. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
  670. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
  671. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
  672. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
  673. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
  674. package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.d.ts +1 -0
  675. package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js +540 -0
  676. package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js.map +1 -0
  677. package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.d.ts +40 -0
  678. package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js +205 -0
  679. package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js.map +1 -0
  680. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
  681. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
  682. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
  683. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
  684. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +71 -0
  685. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
  686. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +14 -0
  687. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +117 -0
  688. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
  689. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +11 -0
  690. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +15 -0
  691. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
  692. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
  693. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
  694. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
  695. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
  696. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
  697. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
  698. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +18 -0
  699. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +12 -0
  700. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
  701. package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
  702. package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
  703. package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
  704. package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
  705. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +195 -0
  706. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
  707. package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
  708. package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
  709. package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
  710. package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
  711. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +160 -0
  712. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
  713. package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
  714. package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
  715. package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
  716. package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
  717. package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
  718. package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
  719. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
  720. package/dist/lib/plugins/openapi/processors/traverse.js +2 -0
  721. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
  722. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
  723. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +15 -0
  724. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
  725. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +8 -0
  726. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +45 -0
  727. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
  728. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +4 -3
  729. package/dist/lib/plugins/openapi/schema/SchemaView.js +59 -50
  730. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  731. package/dist/lib/plugins/openapi/schema/UnionView.d.ts +5 -0
  732. package/dist/lib/plugins/openapi/schema/UnionView.js +33 -0
  733. package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
  734. package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
  735. package/dist/lib/plugins/openapi/schema/union-helpers.js +71 -0
  736. package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
  737. package/dist/lib/plugins/openapi/schema/utils.d.ts +8 -8
  738. package/dist/lib/plugins/openapi/schema/utils.js +16 -10
  739. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  740. package/dist/lib/plugins/openapi/state.d.ts +27 -0
  741. package/dist/lib/plugins/openapi/state.js +18 -0
  742. package/dist/lib/plugins/openapi/state.js.map +1 -0
  743. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
  744. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
  745. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
  746. package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
  747. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +25 -0
  748. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
  749. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +2 -3
  750. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +77 -39
  751. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  752. package/dist/lib/plugins/openapi/util/getRoutes.d.ts +15 -0
  753. package/dist/lib/plugins/openapi/util/getRoutes.js +144 -0
  754. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
  755. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
  756. package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
  757. package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
  758. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  759. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  760. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  761. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  762. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  763. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  764. package/dist/lib/plugins/redirect/index.d.ts +4 -7
  765. package/dist/lib/plugins/redirect/index.js +2 -2
  766. package/dist/lib/plugins/redirect/index.js.map +1 -1
  767. package/dist/lib/plugins/search-inkeep/index.d.ts +8 -6
  768. package/dist/lib/plugins/search-inkeep/index.js +49 -7
  769. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  770. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +2 -19
  771. package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
  772. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  773. package/dist/lib/plugins/search-pagefind/IndexingDialog.d.ts +3 -0
  774. package/dist/lib/plugins/search-pagefind/IndexingDialog.js +64 -0
  775. package/dist/lib/plugins/search-pagefind/IndexingDialog.js.map +1 -0
  776. package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
  777. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +97 -0
  778. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
  779. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
  780. package/dist/lib/plugins/search-pagefind/ResultList.js +43 -0
  781. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
  782. package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
  783. package/dist/lib/plugins/search-pagefind/get-results.js +41 -0
  784. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
  785. package/dist/lib/plugins/search-pagefind/index.d.ts +6 -0
  786. package/dist/lib/plugins/search-pagefind/index.js +9 -0
  787. package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
  788. package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
  789. package/dist/lib/plugins/search-pagefind/types.js +2 -0
  790. package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
  791. package/dist/lib/shiki.d.ts +32 -0
  792. package/dist/lib/shiki.js +130 -0
  793. package/dist/lib/shiki.js.map +1 -0
  794. package/dist/lib/ui/Accordion.d.ts +7 -0
  795. package/dist/lib/ui/Accordion.js +14 -0
  796. package/dist/lib/ui/Accordion.js.map +1 -0
  797. package/dist/lib/ui/ActionButton.d.ts +4 -0
  798. package/dist/lib/ui/ActionButton.js +10 -0
  799. package/dist/lib/ui/ActionButton.js.map +1 -0
  800. package/dist/lib/ui/Alert.d.ts +9 -0
  801. package/dist/lib/ui/Alert.js +25 -0
  802. package/dist/lib/ui/Alert.js.map +1 -0
  803. package/dist/lib/ui/AlertDialog.d.ts +20 -0
  804. package/dist/lib/ui/AlertDialog.js +27 -0
  805. package/dist/lib/ui/AlertDialog.js.map +1 -0
  806. package/dist/lib/ui/AspectRatio.d.ts +3 -0
  807. package/dist/lib/ui/AspectRatio.js +4 -0
  808. package/dist/lib/ui/AspectRatio.js.map +1 -0
  809. package/dist/lib/ui/Badge.d.ts +9 -0
  810. package/dist/lib/ui/Badge.js +24 -0
  811. package/dist/lib/ui/Badge.js.map +1 -0
  812. package/dist/lib/ui/Breadcrumb.d.ts +19 -0
  813. package/dist/lib/ui/Breadcrumb.js +24 -0
  814. package/dist/lib/ui/Breadcrumb.js.map +1 -0
  815. package/dist/lib/ui/Button.d.ts +4 -5
  816. package/dist/lib/ui/Button.js +12 -7
  817. package/dist/lib/ui/Button.js.map +1 -1
  818. package/dist/lib/ui/ButtonGroup.d.ts +11 -0
  819. package/dist/lib/ui/ButtonGroup.js +28 -0
  820. package/dist/lib/ui/ButtonGroup.js.map +1 -0
  821. package/dist/lib/ui/Callout.d.ts +38 -36
  822. package/dist/lib/ui/Callout.js +8 -7
  823. package/dist/lib/ui/Callout.js.map +1 -1
  824. package/dist/lib/ui/Card.js +1 -1
  825. package/dist/lib/ui/Card.js.map +1 -1
  826. package/dist/lib/ui/Carousel.d.ts +18 -0
  827. package/dist/lib/ui/Carousel.js +99 -0
  828. package/dist/lib/ui/Carousel.js.map +1 -0
  829. package/dist/lib/ui/Checkbox.d.ts +4 -0
  830. package/dist/lib/ui/Checkbox.js +9 -0
  831. package/dist/lib/ui/Checkbox.js.map +1 -0
  832. package/dist/lib/ui/CodeBlock.d.ts +14 -0
  833. package/dist/lib/ui/CodeBlock.js +18 -0
  834. package/dist/lib/ui/CodeBlock.js.map +1 -0
  835. package/dist/lib/ui/Collapsible.d.ts +5 -0
  836. package/dist/lib/ui/Collapsible.js +13 -0
  837. package/dist/lib/ui/Collapsible.js.map +1 -0
  838. package/dist/lib/ui/Command.d.ts +94 -0
  839. package/dist/lib/ui/Command.js +31 -0
  840. package/dist/lib/ui/Command.js.map +1 -0
  841. package/dist/lib/ui/Dialog.d.ts +15 -0
  842. package/dist/lib/ui/Dialog.js +36 -0
  843. package/dist/lib/ui/Dialog.js.map +1 -0
  844. package/dist/lib/ui/Drawer.d.ts +8 -10
  845. package/dist/lib/ui/Drawer.js.map +1 -1
  846. package/dist/lib/ui/DropdownMenu.d.ts +21 -23
  847. package/dist/lib/ui/DropdownMenu.js +47 -32
  848. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  849. package/dist/lib/ui/EmbeddedCodeBlock.d.ts +16 -0
  850. package/dist/lib/ui/EmbeddedCodeBlock.js +19 -0
  851. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  852. package/dist/lib/ui/Form.d.ts +23 -0
  853. package/dist/lib/ui/Form.js +63 -0
  854. package/dist/lib/ui/Form.js.map +1 -0
  855. package/dist/lib/ui/Frame.d.ts +8 -0
  856. package/dist/lib/ui/Frame.js +22 -0
  857. package/dist/lib/ui/Frame.js.map +1 -0
  858. package/dist/lib/ui/HoverCard.d.ts +6 -0
  859. package/dist/lib/ui/HoverCard.js +10 -0
  860. package/dist/lib/ui/HoverCard.js.map +1 -0
  861. package/dist/lib/ui/Input.d.ts +1 -2
  862. package/dist/lib/ui/Input.js +1 -1
  863. package/dist/lib/ui/Input.js.map +1 -1
  864. package/dist/lib/ui/Item.d.ts +23 -0
  865. package/dist/lib/ui/Item.js +67 -0
  866. package/dist/lib/ui/Item.js.map +1 -0
  867. package/dist/lib/ui/Kbd.d.ts +3 -0
  868. package/dist/lib/ui/Kbd.js +10 -0
  869. package/dist/lib/ui/Kbd.js.map +1 -0
  870. package/dist/lib/ui/Label.d.ts +5 -0
  871. package/dist/lib/ui/Label.js +10 -0
  872. package/dist/lib/ui/Label.js.map +1 -0
  873. package/dist/lib/ui/NativeSelect.d.ts +5 -0
  874. package/dist/lib/ui/NativeSelect.js +14 -0
  875. package/dist/lib/ui/NativeSelect.js.map +1 -0
  876. package/dist/lib/ui/Pagination.d.ts +28 -0
  877. package/dist/lib/ui/Pagination.js +24 -0
  878. package/dist/lib/ui/Pagination.js.map +1 -0
  879. package/dist/lib/ui/Popover.d.ts +6 -0
  880. package/dist/lib/ui/Popover.js +10 -0
  881. package/dist/lib/ui/Popover.js.map +1 -0
  882. package/dist/lib/ui/Progress.d.ts +4 -0
  883. package/dist/lib/ui/Progress.js +8 -0
  884. package/dist/lib/ui/Progress.js.map +1 -0
  885. package/dist/lib/ui/RadioGroup.d.ts +5 -0
  886. package/dist/lib/ui/RadioGroup.js +15 -0
  887. package/dist/lib/ui/RadioGroup.js.map +1 -0
  888. package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
  889. package/dist/lib/ui/ReactComponentDoc.js +10 -0
  890. package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
  891. package/dist/lib/ui/ScrollArea.d.ts +5 -0
  892. package/dist/lib/ui/ScrollArea.js +12 -0
  893. package/dist/lib/ui/ScrollArea.js.map +1 -0
  894. package/dist/lib/ui/Secret.d.ts +18 -0
  895. package/dist/lib/ui/Secret.js +26 -0
  896. package/dist/lib/ui/Secret.js.map +1 -0
  897. package/dist/lib/ui/Select.d.ts +15 -0
  898. package/dist/lib/ui/Select.js +38 -0
  899. package/dist/lib/ui/Select.js.map +1 -0
  900. package/dist/lib/ui/Separator.d.ts +4 -0
  901. package/dist/lib/ui/Separator.js +8 -0
  902. package/dist/lib/ui/Separator.js.map +1 -0
  903. package/dist/lib/ui/Skeleton.d.ts +2 -0
  904. package/dist/lib/ui/Skeleton.js +7 -0
  905. package/dist/lib/ui/Skeleton.js.map +1 -0
  906. package/dist/lib/ui/Slider.d.ts +4 -0
  907. package/dist/lib/ui/Slider.js +8 -0
  908. package/dist/lib/ui/Slider.js.map +1 -0
  909. package/dist/lib/ui/Stepper.d.ts +3 -0
  910. package/dist/lib/ui/Stepper.js +7 -0
  911. package/dist/lib/ui/Stepper.js.map +1 -0
  912. package/dist/lib/ui/Switch.d.ts +4 -0
  913. package/dist/lib/ui/Switch.js +8 -0
  914. package/dist/lib/ui/Switch.js.map +1 -0
  915. package/dist/lib/ui/SyntaxHighlight.d.ts +13 -0
  916. package/dist/lib/ui/SyntaxHighlight.js +15 -0
  917. package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
  918. package/dist/lib/ui/Tabs.js +2 -2
  919. package/dist/lib/ui/Tabs.js.map +1 -1
  920. package/dist/lib/ui/Textarea.d.ts +4 -0
  921. package/dist/lib/ui/Textarea.js +9 -0
  922. package/dist/lib/ui/Textarea.js.map +1 -0
  923. package/dist/lib/ui/Toggle.d.ts +12 -0
  924. package/dist/lib/ui/Toggle.js +26 -0
  925. package/dist/lib/ui/Toggle.js.map +1 -0
  926. package/dist/lib/ui/ToggleGroup.d.ts +12 -0
  927. package/dist/lib/ui/ToggleGroup.js +21 -0
  928. package/dist/lib/ui/ToggleGroup.js.map +1 -0
  929. package/dist/lib/ui/Tooltip.d.ts +8 -0
  930. package/dist/lib/ui/Tooltip.js +18 -0
  931. package/dist/lib/ui/Tooltip.js.map +1 -0
  932. package/dist/lib/ui/Value.d.ts +5 -0
  933. package/dist/lib/ui/Value.js +13 -0
  934. package/dist/lib/ui/Value.js.map +1 -0
  935. package/dist/lib/ui/util.d.ts +2 -0
  936. package/dist/lib/ui/util.js +3 -0
  937. package/dist/lib/ui/util.js.map +1 -0
  938. package/dist/lib/util/MdxComponents.d.ts +40 -21
  939. package/dist/lib/util/MdxComponents.js +26 -17
  940. package/dist/lib/util/MdxComponents.js.map +1 -1
  941. package/dist/lib/util/cn.js.map +1 -1
  942. package/dist/lib/util/createVariantComponent.d.ts +7 -4
  943. package/dist/lib/util/createVariantComponent.js +5 -2
  944. package/dist/lib/util/createVariantComponent.js.map +1 -1
  945. package/dist/lib/util/detectOS.d.ts +1 -0
  946. package/dist/lib/util/detectOS.js +11 -0
  947. package/dist/lib/util/detectOS.js.map +1 -0
  948. package/dist/lib/util/ensureArray.d.ts +1 -0
  949. package/dist/lib/util/ensureArray.js +2 -0
  950. package/dist/lib/util/ensureArray.js.map +1 -0
  951. package/dist/lib/util/flattenAllOf.d.ts +4 -0
  952. package/dist/lib/util/flattenAllOf.js +88 -0
  953. package/dist/lib/util/flattenAllOf.js.map +1 -0
  954. package/dist/lib/util/flattenAllOf.test.d.ts +1 -0
  955. package/dist/lib/util/flattenAllOf.test.js +587 -0
  956. package/dist/lib/util/flattenAllOf.test.js.map +1 -0
  957. package/dist/lib/util/groupBy.js +1 -0
  958. package/dist/lib/util/groupBy.js.map +1 -1
  959. package/dist/lib/util/humanFileSize.d.ts +6 -0
  960. package/dist/lib/util/humanFileSize.js +14 -0
  961. package/dist/lib/util/humanFileSize.js.map +1 -0
  962. package/dist/lib/util/humanFileSize.test.d.ts +1 -0
  963. package/dist/lib/util/humanFileSize.test.js +22 -0
  964. package/dist/lib/util/humanFileSize.test.js.map +1 -0
  965. package/dist/lib/util/invariant.d.ts +10 -0
  966. package/dist/lib/util/invariant.js +10 -4
  967. package/dist/lib/util/invariant.js.map +1 -1
  968. package/dist/lib/util/joinPath.d.ts +3 -0
  969. package/dist/lib/util/joinPath.js +3 -0
  970. package/dist/lib/util/joinPath.js.map +1 -1
  971. package/dist/lib/util/joinUrl.d.ts +1 -0
  972. package/dist/lib/util/joinUrl.js +40 -0
  973. package/dist/lib/util/joinUrl.js.map +1 -0
  974. package/dist/lib/util/joinUrl.test.d.ts +1 -0
  975. package/dist/lib/util/joinUrl.test.js +43 -0
  976. package/dist/lib/util/joinUrl.test.js.map +1 -0
  977. package/dist/lib/util/os.d.ts +2 -0
  978. package/dist/lib/util/os.js +21 -0
  979. package/dist/lib/util/os.js.map +1 -0
  980. package/dist/lib/util/pastellize.js +4 -4
  981. package/dist/lib/util/pastellize.js.map +1 -1
  982. package/dist/lib/util/readFrontmatter.d.ts +6 -0
  983. package/dist/lib/util/readFrontmatter.js +12 -0
  984. package/dist/lib/util/readFrontmatter.js.map +1 -0
  985. package/dist/lib/util/scrollIntoViewIfNeeded.d.ts +1 -0
  986. package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
  987. package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
  988. package/dist/lib/util/syncZustandState.d.ts +5 -0
  989. package/dist/lib/util/syncZustandState.js +14 -0
  990. package/dist/lib/util/syncZustandState.js.map +1 -0
  991. package/dist/lib/util/traverse.d.ts +4 -0
  992. package/dist/lib/util/traverse.js +48 -0
  993. package/dist/lib/util/traverse.js.map +1 -0
  994. package/dist/lib/util/types.d.ts +7 -0
  995. package/dist/lib/util/types.js +2 -0
  996. package/dist/lib/util/types.js.map +1 -0
  997. package/dist/lib/util/url.d.ts +4 -0
  998. package/dist/lib/util/url.js +13 -0
  999. package/dist/lib/util/url.js.map +1 -0
  1000. package/dist/lib/util/url.test.d.ts +1 -0
  1001. package/dist/lib/util/url.test.js +26 -0
  1002. package/dist/lib/util/url.test.js.map +1 -0
  1003. package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
  1004. package/dist/lib/util/useCopyToClipboard.js +11 -0
  1005. package/dist/lib/util/useCopyToClipboard.js.map +1 -0
  1006. package/dist/lib/util/useExposedProps.d.ts +9 -0
  1007. package/dist/lib/util/useExposedProps.js +9 -0
  1008. package/dist/lib/util/useExposedProps.js.map +1 -0
  1009. package/dist/lib/util/useIsomorphicLayoutEffect.d.ts +3 -0
  1010. package/dist/lib/util/useIsomorphicLayoutEffect.js +4 -0
  1011. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -0
  1012. package/dist/lib/util/useLatest.d.ts +1 -0
  1013. package/dist/lib/util/useLatest.js +15 -0
  1014. package/dist/lib/util/useLatest.js.map +1 -0
  1015. package/dist/lib/util/useOnScreen.d.ts +5 -0
  1016. package/dist/lib/util/useOnScreen.js +19 -0
  1017. package/dist/lib/util/useOnScreen.js.map +1 -0
  1018. package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
  1019. package/dist/lib/util/useScrollToAnchor.js +45 -38
  1020. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  1021. package/dist/lib/util/useScrollToTop.js +7 -5
  1022. package/dist/lib/util/useScrollToTop.js.map +1 -1
  1023. package/dist/ts.js +3 -3
  1024. package/dist/ts.js.map +1 -1
  1025. package/dist/vite/api/SchemaManager.d.ts +43 -0
  1026. package/dist/vite/api/SchemaManager.js +176 -0
  1027. package/dist/vite/api/SchemaManager.js.map +1 -0
  1028. package/dist/vite/api/SchemaManager.test.d.ts +1 -0
  1029. package/dist/vite/api/SchemaManager.test.js +173 -0
  1030. package/dist/vite/api/SchemaManager.test.js.map +1 -0
  1031. package/dist/vite/api/schema-codegen.d.ts +12 -0
  1032. package/dist/vite/api/schema-codegen.js +134 -0
  1033. package/dist/vite/api/schema-codegen.js.map +1 -0
  1034. package/dist/vite/api/schema-codegen.test.d.ts +1 -0
  1035. package/dist/vite/api/schema-codegen.test.js +468 -0
  1036. package/dist/vite/api/schema-codegen.test.js.map +1 -0
  1037. package/dist/vite/build.js +63 -14
  1038. package/dist/vite/build.js.map +1 -1
  1039. package/dist/vite/config.d.ts +2 -16
  1040. package/dist/vite/config.js +125 -147
  1041. package/dist/vite/config.js.map +1 -1
  1042. package/dist/vite/config.test.js +12 -6
  1043. package/dist/vite/config.test.js.map +1 -1
  1044. package/dist/vite/css/collect.d.ts +2 -0
  1045. package/dist/vite/css/collect.js +27 -0
  1046. package/dist/vite/css/collect.js.map +1 -0
  1047. package/dist/vite/css/plugin.d.ts +4 -0
  1048. package/dist/vite/css/plugin.js +91 -0
  1049. package/dist/vite/css/plugin.js.map +1 -0
  1050. package/dist/vite/debug.d.ts +1 -0
  1051. package/dist/vite/debug.js +10 -0
  1052. package/dist/vite/debug.js.map +1 -0
  1053. package/dist/vite/dev-server.d.ts +11 -4
  1054. package/dist/vite/dev-server.js +116 -22
  1055. package/dist/vite/dev-server.js.map +1 -1
  1056. package/dist/vite/error-handler.d.ts +3 -3
  1057. package/dist/vite/error-handler.js +1 -1
  1058. package/dist/vite/error-handler.js.map +1 -1
  1059. package/dist/vite/html.d.ts +7 -3
  1060. package/dist/vite/html.js +15 -11
  1061. package/dist/vite/html.js.map +1 -1
  1062. package/dist/vite/llms.d.ts +12 -0
  1063. package/dist/vite/llms.js +66 -0
  1064. package/dist/vite/llms.js.map +1 -0
  1065. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  1066. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  1067. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  1068. package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
  1069. package/dist/vite/mdx/remark-last-modified.js +82 -0
  1070. package/dist/vite/mdx/remark-last-modified.js.map +1 -0
  1071. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  1072. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  1073. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  1074. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  1075. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  1076. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  1077. package/dist/vite/mdx/remark-static-generation.d.ts +3 -0
  1078. package/dist/vite/mdx/remark-static-generation.js +125 -0
  1079. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  1080. package/dist/vite/mdx/utils.d.ts +2 -0
  1081. package/dist/vite/mdx/utils.js +31 -0
  1082. package/dist/vite/mdx/utils.js.map +1 -0
  1083. package/dist/vite/output.d.ts +113 -0
  1084. package/dist/vite/output.js +60 -0
  1085. package/dist/vite/output.js.map +1 -0
  1086. package/dist/vite/pagefind-dev-index.d.ts +16 -0
  1087. package/dist/vite/pagefind-dev-index.js +68 -0
  1088. package/dist/vite/pagefind-dev-index.js.map +1 -0
  1089. package/dist/vite/plugin-api-keys.d.ts +2 -3
  1090. package/dist/vite/plugin-api-keys.js +14 -8
  1091. package/dist/vite/plugin-api-keys.js.map +1 -1
  1092. package/dist/vite/plugin-api.d.ts +1 -2
  1093. package/dist/vite/plugin-api.js +186 -33
  1094. package/dist/vite/plugin-api.js.map +1 -1
  1095. package/dist/vite/plugin-auth.d.ts +2 -3
  1096. package/dist/vite/plugin-auth.js +11 -7
  1097. package/dist/vite/plugin-auth.js.map +1 -1
  1098. package/dist/vite/plugin-component.d.ts +2 -3
  1099. package/dist/vite/plugin-component.js +25 -15
  1100. package/dist/vite/plugin-component.js.map +1 -1
  1101. package/dist/vite/plugin-config-reload.d.ts +3 -4
  1102. package/dist/vite/plugin-config-reload.js +31 -25
  1103. package/dist/vite/plugin-config-reload.js.map +1 -1
  1104. package/dist/vite/plugin-config.d.ts +2 -4
  1105. package/dist/vite/plugin-config.js +28 -3
  1106. package/dist/vite/plugin-config.js.map +1 -1
  1107. package/dist/vite/plugin-custom-pages.d.ts +3 -0
  1108. package/dist/vite/plugin-custom-pages.js +31 -0
  1109. package/dist/vite/plugin-custom-pages.js.map +1 -0
  1110. package/dist/vite/plugin-docs.d.ts +11 -3
  1111. package/dist/vite/plugin-docs.js +100 -41
  1112. package/dist/vite/plugin-docs.js.map +1 -1
  1113. package/dist/vite/plugin-frontmatter.js +33 -26
  1114. package/dist/vite/plugin-frontmatter.js.map +1 -1
  1115. package/dist/vite/plugin-markdown-export.d.ts +21 -0
  1116. package/dist/vite/plugin-markdown-export.js +140 -0
  1117. package/dist/vite/plugin-markdown-export.js.map +1 -0
  1118. package/dist/vite/plugin-mdx.d.ts +2 -9
  1119. package/dist/vite/plugin-mdx.js +92 -36
  1120. package/dist/vite/plugin-mdx.js.map +1 -1
  1121. package/dist/vite/plugin-metadata.d.ts +1 -1
  1122. package/dist/vite/plugin-navigation.d.ts +4 -0
  1123. package/dist/vite/plugin-navigation.js +67 -0
  1124. package/dist/vite/plugin-navigation.js.map +1 -0
  1125. package/dist/vite/plugin-redirect.d.ts +2 -3
  1126. package/dist/vite/plugin-redirect.js +7 -6
  1127. package/dist/vite/plugin-redirect.js.map +1 -1
  1128. package/dist/vite/plugin-search.d.ts +2 -0
  1129. package/dist/vite/plugin-search.js +31 -0
  1130. package/dist/vite/plugin-search.js.map +1 -0
  1131. package/dist/vite/plugin-shiki-register.d.ts +2 -0
  1132. package/dist/vite/plugin-shiki-register.js +39 -0
  1133. package/dist/vite/plugin-shiki-register.js.map +1 -0
  1134. package/dist/vite/plugin-theme.d.ts +8 -0
  1135. package/dist/vite/plugin-theme.js +283 -0
  1136. package/dist/vite/plugin-theme.js.map +1 -0
  1137. package/dist/vite/plugin-theme.test.d.ts +1 -0
  1138. package/dist/vite/plugin-theme.test.js +314 -0
  1139. package/dist/vite/plugin-theme.test.js.map +1 -0
  1140. package/dist/vite/plugin.d.ts +2 -4
  1141. package/dist/vite/plugin.js +28 -19
  1142. package/dist/vite/plugin.js.map +1 -1
  1143. package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
  1144. package/dist/vite/prerender/FileWritingResponse.js +53 -0
  1145. package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
  1146. package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
  1147. package/dist/vite/prerender/InMemoryResponse.js +34 -0
  1148. package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
  1149. package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
  1150. package/dist/vite/prerender/PrerenderResponse.js +2 -0
  1151. package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
  1152. package/dist/vite/prerender/prerender.d.ts +15 -0
  1153. package/dist/vite/prerender/prerender.js +124 -0
  1154. package/dist/vite/prerender/prerender.js.map +1 -0
  1155. package/dist/vite/prerender/utils.d.ts +2 -0
  1156. package/dist/vite/prerender/utils.js +24 -0
  1157. package/dist/vite/prerender/utils.js.map +1 -0
  1158. package/dist/vite/prerender/worker.d.ts +13 -0
  1159. package/dist/vite/prerender/worker.js +63 -0
  1160. package/dist/vite/prerender/worker.js.map +1 -0
  1161. package/dist/vite/reporter.d.ts +3 -0
  1162. package/dist/vite/reporter.js +33 -0
  1163. package/dist/vite/reporter.js.map +1 -0
  1164. package/dist/vite/shadcn-registry.d.ts +20 -0
  1165. package/dist/vite/shadcn-registry.js +29 -0
  1166. package/dist/vite/shadcn-registry.js.map +1 -0
  1167. package/dist/vite/sitemap.d.ts +1 -1
  1168. package/dist/vite/sitemap.js +16 -14
  1169. package/dist/vite/sitemap.js.map +1 -1
  1170. package/dist/zuplo/enrich-with-zuplo-mcp.d.ts +4 -0
  1171. package/dist/zuplo/enrich-with-zuplo-mcp.js +117 -0
  1172. package/dist/zuplo/enrich-with-zuplo-mcp.js.map +1 -0
  1173. package/dist/zuplo/enrich-with-zuplo.d.ts +6 -0
  1174. package/dist/zuplo/enrich-with-zuplo.js +185 -0
  1175. package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
  1176. package/dist/zuplo/policy-types.d.ts +33 -0
  1177. package/dist/zuplo/policy-types.js +7 -0
  1178. package/dist/zuplo/policy-types.js.map +1 -0
  1179. package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
  1180. package/dist/zuplo/with-zuplo-processors.js +28 -0
  1181. package/dist/zuplo/with-zuplo-processors.js.map +1 -0
  1182. package/dist/zuplo/with-zuplo.d.ts +6 -0
  1183. package/dist/zuplo/with-zuplo.js +10 -0
  1184. package/dist/zuplo/with-zuplo.js.map +1 -0
  1185. package/lib/ActionButton-DUgvSylL.js +25 -0
  1186. package/lib/ActionButton-DUgvSylL.js.map +1 -0
  1187. package/lib/Button-CynVW1JV.js +53 -0
  1188. package/lib/Button-CynVW1JV.js.map +1 -0
  1189. package/lib/Card-KFniaZn5.js +61 -0
  1190. package/lib/Card-KFniaZn5.js.map +1 -0
  1191. package/lib/CategoryHeading-DhmodDcq.js +17 -0
  1192. package/lib/CategoryHeading-DhmodDcq.js.map +1 -0
  1193. package/lib/ClaudeLogo-CGRfGTk2.js +69 -0
  1194. package/lib/ClaudeLogo-CGRfGTk2.js.map +1 -0
  1195. package/lib/ClientOnly-E7hGysn1.js +11 -0
  1196. package/lib/ClientOnly-E7hGysn1.js.map +1 -0
  1197. package/lib/Command-BpT1iBE6.js +134 -0
  1198. package/lib/Command-BpT1iBE6.js.map +1 -0
  1199. package/lib/Dialog-BQciPiHN.js +144 -0
  1200. package/lib/Dialog-BQciPiHN.js.map +1 -0
  1201. package/lib/Drawer-Ci7XwhqT.js +1133 -0
  1202. package/lib/Drawer-Ci7XwhqT.js.map +1 -0
  1203. package/lib/DropdownMenu-C8SX_-S_.js +104 -0
  1204. package/lib/DropdownMenu-C8SX_-S_.js.map +1 -0
  1205. package/lib/ErrorAlert-BUlG32M9.js +15477 -0
  1206. package/lib/ErrorAlert-BUlG32M9.js.map +1 -0
  1207. package/lib/IndexingDialog-B5zCiUKr.js +100 -0
  1208. package/lib/IndexingDialog-B5zCiUKr.js.map +1 -0
  1209. package/lib/MdxPage-Bjf72BP3.js +210 -0
  1210. package/lib/MdxPage-Bjf72BP3.js.map +1 -0
  1211. package/lib/Mermaid-D_VSX7_Q.js +102 -0
  1212. package/lib/Mermaid-D_VSX7_Q.js.map +1 -0
  1213. package/lib/OAuthErrorPage-1Ekji0PK.js +150 -0
  1214. package/lib/OAuthErrorPage-1Ekji0PK.js.map +1 -0
  1215. package/lib/OasProvider-BZxmTyMM.js +40 -0
  1216. package/lib/OasProvider-BZxmTyMM.js.map +1 -0
  1217. package/lib/OperationList-B7nPIFB8.js +5805 -0
  1218. package/lib/OperationList-B7nPIFB8.js.map +1 -0
  1219. package/lib/RouteGuard-9wjejsKm.js +77 -0
  1220. package/lib/RouteGuard-9wjejsKm.js.map +1 -0
  1221. package/lib/RouterError-DfTZblpv.js +42 -0
  1222. package/lib/RouterError-DfTZblpv.js.map +1 -0
  1223. package/lib/SchemaList-16_obkku.js +151 -0
  1224. package/lib/SchemaList-16_obkku.js.map +1 -0
  1225. package/lib/SchemaView-eyvR4bRt.js +597 -0
  1226. package/lib/SchemaView-eyvR4bRt.js.map +1 -0
  1227. package/lib/Select-CkxXP5I7.js +243 -0
  1228. package/lib/Select-CkxXP5I7.js.map +1 -0
  1229. package/lib/Separator-CTPSeW1S.js +27 -0
  1230. package/lib/Separator-CTPSeW1S.js.map +1 -0
  1231. package/lib/SignUp-D54_QWFy.js +50 -0
  1232. package/lib/SignUp-D54_QWFy.js.map +1 -0
  1233. package/lib/Spinner-CI6bRyZw.js +7 -0
  1234. package/lib/Spinner-CI6bRyZw.js.map +1 -0
  1235. package/lib/SyntaxHighlight-j_HRSPCU.js +10400 -0
  1236. package/lib/SyntaxHighlight-j_HRSPCU.js.map +1 -0
  1237. package/lib/Toc-z05x698-.js +92 -0
  1238. package/lib/Toc-z05x698-.js.map +1 -0
  1239. package/lib/ZudokuContext-BXldanA8.js +1508 -0
  1240. package/lib/ZudokuContext-BXldanA8.js.map +1 -0
  1241. package/lib/___vite-browser-external_commonjs-proxy-Cga3HsWk.js +9 -0
  1242. package/lib/___vite-browser-external_commonjs-proxy-Cga3HsWk.js.map +1 -0
  1243. package/lib/c-B-NUhs61.js +46 -0
  1244. package/lib/c-B-NUhs61.js.map +1 -0
  1245. package/lib/chunk-PVWAREVJ-dLIqswPy.js +7965 -0
  1246. package/lib/chunk-PVWAREVJ-dLIqswPy.js.map +1 -0
  1247. package/lib/circular-D5sYCIWL.js +15341 -0
  1248. package/lib/circular-D5sYCIWL.js.map +1 -0
  1249. package/lib/clsx-OuTLNxxd.js +17 -0
  1250. package/lib/clsx-OuTLNxxd.js.map +1 -0
  1251. package/lib/cn-dYga0KKN.js +2731 -0
  1252. package/lib/cn-dYga0KKN.js.map +1 -0
  1253. package/lib/commonlisp-De080z23.js +28 -0
  1254. package/lib/commonlisp-De080z23.js.map +1 -0
  1255. package/lib/cpp-79Paht7T.js +53 -0
  1256. package/lib/cpp-79Paht7T.js.map +1 -0
  1257. package/lib/createServer-BlwU7lIr.js +16693 -0
  1258. package/lib/createServer-BlwU7lIr.js.map +1 -0
  1259. package/lib/createVariantComponent-B9_dVBvu.js +35 -0
  1260. package/lib/createVariantComponent-B9_dVBvu.js.map +1 -0
  1261. package/lib/csharp-D8MIL50B.js +53 -0
  1262. package/lib/csharp-D8MIL50B.js.map +1 -0
  1263. package/lib/css-Bt6hr1td.js +54 -0
  1264. package/lib/css-Bt6hr1td.js.map +1 -0
  1265. package/lib/dart-B0vy1jWB.js +60 -0
  1266. package/lib/dart-B0vy1jWB.js.map +1 -0
  1267. package/lib/elixir-Ds8r0sF8.js +25 -0
  1268. package/lib/elixir-Ds8r0sF8.js.map +1 -0
  1269. package/lib/errors-BtC4Kn2j.js +45 -0
  1270. package/lib/errors-BtC4Kn2j.js.map +1 -0
  1271. package/lib/firebase-DApULm96.js +7390 -0
  1272. package/lib/firebase-DApULm96.js.map +1 -0
  1273. package/lib/go-D2VsmIOS.js +25 -0
  1274. package/lib/go-D2VsmIOS.js.map +1 -0
  1275. package/lib/graphql-BtA6M4m5.js +25 -0
  1276. package/lib/graphql-BtA6M4m5.js.map +1 -0
  1277. package/lib/hook-BNxidGQq.js +40 -0
  1278. package/lib/hook-BNxidGQq.js.map +1 -0
  1279. package/lib/html-MGnI2uzP.js +33 -0
  1280. package/lib/html-MGnI2uzP.js.map +1 -0
  1281. package/lib/index-CeVTNcfF.js +3676 -0
  1282. package/lib/index-CeVTNcfF.js.map +1 -0
  1283. package/lib/index-CrcNWbel.js +316 -0
  1284. package/lib/index-CrcNWbel.js.map +1 -0
  1285. package/lib/index-Css56y3F.js +133 -0
  1286. package/lib/index-Css56y3F.js.map +1 -0
  1287. package/lib/index-DI5SPFK9.js +36 -0
  1288. package/lib/index-DI5SPFK9.js.map +1 -0
  1289. package/lib/index-DSOi7zVM.js +1059 -0
  1290. package/lib/index-DSOi7zVM.js.map +1 -0
  1291. package/lib/index-eKVhlB94.js +2210 -0
  1292. package/lib/index-eKVhlB94.js.map +1 -0
  1293. package/lib/index-nGbmHh_A.js +4827 -0
  1294. package/lib/index-nGbmHh_A.js.map +1 -0
  1295. package/lib/index.esm-BYObtETB.js +1294 -0
  1296. package/lib/index.esm-BYObtETB.js.map +1 -0
  1297. package/lib/index.esm-DtzT_KoE.js +683 -0
  1298. package/lib/index.esm-DtzT_KoE.js.map +1 -0
  1299. package/lib/index.esm-xmjej92R.js +32 -0
  1300. package/lib/index.esm-xmjej92R.js.map +1 -0
  1301. package/lib/invariant-CGOLuIIz.js +44 -0
  1302. package/lib/invariant-CGOLuIIz.js.map +1 -0
  1303. package/lib/java-CVLzHfb1.js +53 -0
  1304. package/lib/java-CVLzHfb1.js.map +1 -0
  1305. package/lib/javascript-CcmIpL4G.js +10 -0
  1306. package/lib/javascript-CcmIpL4G.js.map +1 -0
  1307. package/lib/json-4AyP4uiY.js +25 -0
  1308. package/lib/json-4AyP4uiY.js.map +1 -0
  1309. package/lib/jsx-runtime-BzflLqGi.js +283 -0
  1310. package/lib/jsx-runtime-BzflLqGi.js.map +1 -0
  1311. package/lib/kotlin-v2plddBQ.js +37 -0
  1312. package/lib/kotlin-v2plddBQ.js.map +1 -0
  1313. package/lib/markdown-DYGWCmGQ.js +25 -0
  1314. package/lib/markdown-DYGWCmGQ.js.map +1 -0
  1315. package/lib/mdx-CHwYvXd4.js +32 -0
  1316. package/lib/mdx-CHwYvXd4.js.map +1 -0
  1317. package/lib/mutation-BoVlx8yA.js +196 -0
  1318. package/lib/mutation-BoVlx8yA.js.map +1 -0
  1319. package/lib/objectivec-HZY8shkd.js +32 -0
  1320. package/lib/objectivec-HZY8shkd.js.map +1 -0
  1321. package/lib/ocaml-DqsdDdwb.js +52 -0
  1322. package/lib/ocaml-DqsdDdwb.js.map +1 -0
  1323. package/lib/php-rQXzo7K_.js +25 -0
  1324. package/lib/php-rQXzo7K_.js.map +1 -0
  1325. package/lib/powershell-CQje9pm1.js +39 -0
  1326. package/lib/powershell-CQje9pm1.js.map +1 -0
  1327. package/lib/processors/removeExtensions.js +11 -0
  1328. package/lib/processors/removeExtensions.js.map +1 -0
  1329. package/lib/processors/removeParameters.js +47 -0
  1330. package/lib/processors/removeParameters.js.map +1 -0
  1331. package/lib/processors/removePaths.js +28 -0
  1332. package/lib/processors/removePaths.js.map +1 -0
  1333. package/lib/processors/traverse.js +17 -0
  1334. package/lib/processors/traverse.js.map +1 -0
  1335. package/lib/python-QIQAE5Ei.js +32 -0
  1336. package/lib/python-QIQAE5Ei.js.map +1 -0
  1337. package/lib/react-DHpVpxRv.js +24 -0
  1338. package/lib/react-DHpVpxRv.js.map +1 -0
  1339. package/lib/ruby-B2dU8Ny5.js +25 -0
  1340. package/lib/ruby-B2dU8Ny5.js.map +1 -0
  1341. package/lib/rust-DYnLHAi2.js +25 -0
  1342. package/lib/rust-DYnLHAi2.js.map +1 -0
  1343. package/lib/scala-CeKInBR8.js +25 -0
  1344. package/lib/scala-CeKInBR8.js.map +1 -0
  1345. package/lib/shell-HUv9oVtp.js +25 -0
  1346. package/lib/shell-HUv9oVtp.js.map +1 -0
  1347. package/lib/swift-B4z6ig1Z.js +25 -0
  1348. package/lib/swift-B4z6ig1Z.js.map +1 -0
  1349. package/lib/toml-Co9mpdct.js +32 -0
  1350. package/lib/toml-Co9mpdct.js.map +1 -0
  1351. package/lib/typescript-C26xdBDC.js +32 -0
  1352. package/lib/typescript-C26xdBDC.js.map +1 -0
  1353. package/lib/ui/Accordion.js +47 -0
  1354. package/lib/ui/Accordion.js.map +1 -0
  1355. package/lib/ui/ActionButton.js +25 -0
  1356. package/lib/ui/ActionButton.js.map +1 -0
  1357. package/lib/ui/Alert.js +67 -0
  1358. package/lib/ui/Alert.js.map +1 -0
  1359. package/lib/ui/AlertDialog.js +114 -0
  1360. package/lib/ui/AlertDialog.js.map +1 -0
  1361. package/lib/ui/AspectRatio.js +6 -0
  1362. package/lib/ui/AspectRatio.js.map +1 -0
  1363. package/lib/ui/Badge.js +42 -0
  1364. package/lib/ui/Badge.js.map +1 -0
  1365. package/lib/ui/Breadcrumb.js +95 -0
  1366. package/lib/ui/Breadcrumb.js.map +1 -0
  1367. package/lib/ui/Button.js +54 -0
  1368. package/lib/ui/Button.js.map +1 -0
  1369. package/lib/ui/ButtonGroup.js +77 -0
  1370. package/lib/ui/ButtonGroup.js.map +1 -0
  1371. package/lib/ui/Callout.js +97 -0
  1372. package/lib/ui/Callout.js.map +1 -0
  1373. package/lib/ui/Card.js +62 -0
  1374. package/lib/ui/Card.js.map +1 -0
  1375. package/lib/ui/Carousel.js +1416 -0
  1376. package/lib/ui/Carousel.js.map +1 -0
  1377. package/lib/ui/Checkbox.js +32 -0
  1378. package/lib/ui/Checkbox.js.map +1 -0
  1379. package/lib/ui/CodeBlock.js +220 -0
  1380. package/lib/ui/CodeBlock.js.map +1 -0
  1381. package/lib/ui/Collapsible.js +35 -0
  1382. package/lib/ui/Collapsible.js.map +1 -0
  1383. package/lib/ui/Command.js +150 -0
  1384. package/lib/ui/Command.js.map +1 -0
  1385. package/lib/ui/Dialog.js +146 -0
  1386. package/lib/ui/Dialog.js.map +1 -0
  1387. package/lib/ui/Drawer.js +17 -0
  1388. package/lib/ui/Drawer.js.map +1 -0
  1389. package/lib/ui/DropdownMenu.js +232 -0
  1390. package/lib/ui/DropdownMenu.js.map +1 -0
  1391. package/lib/ui/EmbeddedCodeBlock.js +84 -0
  1392. package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  1393. package/lib/ui/Form.js +95 -0
  1394. package/lib/ui/Form.js.map +1 -0
  1395. package/lib/ui/Frame.js +81 -0
  1396. package/lib/ui/Frame.js.map +1 -0
  1397. package/lib/ui/HoverCard.js +24 -0
  1398. package/lib/ui/HoverCard.js.map +1 -0
  1399. package/lib/ui/Input.js +22 -0
  1400. package/lib/ui/Input.js.map +1 -0
  1401. package/lib/ui/Item.js +188 -0
  1402. package/lib/ui/Item.js.map +1 -0
  1403. package/lib/ui/Kbd.js +32 -0
  1404. package/lib/ui/Kbd.js.map +1 -0
  1405. package/lib/ui/Label.js +20 -0
  1406. package/lib/ui/Label.js.map +1 -0
  1407. package/lib/ui/NativeSelect.js +57 -0
  1408. package/lib/ui/NativeSelect.js.map +1 -0
  1409. package/lib/ui/Pagination.js +105 -0
  1410. package/lib/ui/Pagination.js.map +1 -0
  1411. package/lib/ui/Popover.js +24 -0
  1412. package/lib/ui/Popover.js.map +1 -0
  1413. package/lib/ui/Progress.js +27 -0
  1414. package/lib/ui/Progress.js.map +1 -0
  1415. package/lib/ui/RadioGroup.js +32 -0
  1416. package/lib/ui/RadioGroup.js.map +1 -0
  1417. package/lib/ui/ReactComponentDoc.js +28 -0
  1418. package/lib/ui/ReactComponentDoc.js.map +1 -0
  1419. package/lib/ui/ScrollArea.js +39 -0
  1420. package/lib/ui/ScrollArea.js.map +1 -0
  1421. package/lib/ui/Secret.js +106 -0
  1422. package/lib/ui/Secret.js.map +1 -0
  1423. package/lib/ui/Select.js +172 -0
  1424. package/lib/ui/Select.js.map +1 -0
  1425. package/lib/ui/Separator.js +27 -0
  1426. package/lib/ui/Separator.js.map +1 -0
  1427. package/lib/ui/Skeleton.js +18 -0
  1428. package/lib/ui/Skeleton.js.map +1 -0
  1429. package/lib/ui/Slider.js +24 -0
  1430. package/lib/ui/Slider.js.map +1 -0
  1431. package/lib/ui/Stepper.js +6 -0
  1432. package/lib/ui/Stepper.js.map +1 -0
  1433. package/lib/ui/Switch.js +28 -0
  1434. package/lib/ui/Switch.js.map +1 -0
  1435. package/lib/ui/SyntaxHighlight.js +11 -0
  1436. package/lib/ui/SyntaxHighlight.js.map +1 -0
  1437. package/lib/ui/Tabs.js +47 -0
  1438. package/lib/ui/Tabs.js.map +1 -0
  1439. package/lib/ui/Textarea.js +21 -0
  1440. package/lib/ui/Textarea.js.map +1 -0
  1441. package/lib/ui/Toggle.js +38 -0
  1442. package/lib/ui/Toggle.js.map +1 -0
  1443. package/lib/ui/ToggleGroup.js +42 -0
  1444. package/lib/ui/ToggleGroup.js.map +1 -0
  1445. package/lib/ui/Tooltip.js +58 -0
  1446. package/lib/ui/Tooltip.js.map +1 -0
  1447. package/lib/ui/Value.js +39 -0
  1448. package/lib/ui/Value.js.map +1 -0
  1449. package/lib/ui/util.js +6 -0
  1450. package/lib/ui/util.js.map +1 -0
  1451. package/lib/useCopyToClipboard-B_085nfO.js +14 -0
  1452. package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
  1453. package/lib/useLatest-hmRS46UF.js +11 -0
  1454. package/lib/useLatest-hmRS46UF.js.map +1 -0
  1455. package/lib/useMutation-C6RqWmTS.js +97 -0
  1456. package/lib/useMutation-C6RqWmTS.js.map +1 -0
  1457. package/lib/xml-BQOOC04j.js +25 -0
  1458. package/lib/xml-BQOOC04j.js.map +1 -0
  1459. package/lib/yaml-BGsJItKv.js +32 -0
  1460. package/lib/yaml-BGsJItKv.js.map +1 -0
  1461. package/lib/zig-CUV2sTct.js +35 -0
  1462. package/lib/zig-CUV2sTct.js.map +1 -0
  1463. package/lib/zudoku.__internal.js +3084 -0
  1464. package/lib/zudoku.__internal.js.map +1 -0
  1465. package/lib/zudoku.auth-auth0.js +32 -29
  1466. package/lib/zudoku.auth-auth0.js.map +1 -1
  1467. package/lib/zudoku.auth-azureb2c.js +136 -0
  1468. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  1469. package/lib/zudoku.auth-clerk.js +112 -61
  1470. package/lib/zudoku.auth-clerk.js.map +1 -1
  1471. package/lib/zudoku.auth-firebase.js +9 -0
  1472. package/lib/zudoku.auth-firebase.js.map +1 -0
  1473. package/lib/zudoku.auth-openid.js +644 -664
  1474. package/lib/zudoku.auth-openid.js.map +1 -1
  1475. package/lib/zudoku.auth-supabase.js +154 -0
  1476. package/lib/zudoku.auth-supabase.js.map +1 -0
  1477. package/lib/zudoku.components.js +27 -3364
  1478. package/lib/zudoku.components.js.map +1 -1
  1479. package/lib/zudoku.hooks.js +14 -0
  1480. package/lib/zudoku.hooks.js.map +1 -0
  1481. package/lib/zudoku.icons.js +10 -0
  1482. package/lib/zudoku.icons.js.map +1 -1
  1483. package/lib/zudoku.mermaid.js +10 -0
  1484. package/lib/zudoku.mermaid.js.map +1 -0
  1485. package/lib/zudoku.plugin-api-catalog.js +124 -0
  1486. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  1487. package/lib/zudoku.plugin-api-keys.js +653 -200
  1488. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  1489. package/lib/zudoku.plugin-custom-pages.js +19 -0
  1490. package/lib/zudoku.plugin-custom-pages.js.map +1 -0
  1491. package/lib/zudoku.plugin-markdown.js +22 -28
  1492. package/lib/zudoku.plugin-markdown.js.map +1 -1
  1493. package/lib/zudoku.plugin-openapi.js +8 -12
  1494. package/lib/zudoku.plugin-openapi.js.map +1 -1
  1495. package/lib/zudoku.plugin-redirect.js +2 -2
  1496. package/lib/zudoku.plugin-redirect.js.map +1 -1
  1497. package/lib/zudoku.plugin-search-inkeep.js +61 -40
  1498. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  1499. package/lib/zudoku.plugin-search-pagefind.js +282 -0
  1500. package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
  1501. package/lib/zudoku.plugins.js +15 -0
  1502. package/lib/zudoku.plugins.js.map +1 -0
  1503. package/lib/zudoku.router.js +2507 -0
  1504. package/lib/zudoku.router.js.map +1 -0
  1505. package/package.json +233 -110
  1506. package/src/app/ZuploBuildConfig.ts +33 -0
  1507. package/src/app/defaultTheme.css +73 -0
  1508. package/src/app/demo-cdn.html +31 -31
  1509. package/src/app/demo.html +1 -1
  1510. package/src/app/demo.tsx +26 -12
  1511. package/src/app/entry.client.tsx +75 -8
  1512. package/src/app/entry.server.tsx +97 -68
  1513. package/src/app/env.ts +43 -0
  1514. package/src/app/font.geist.css +73 -0
  1515. package/src/app/main.css +232 -134
  1516. package/src/app/main.tsx +100 -80
  1517. package/src/app/sentry.ts +24 -0
  1518. package/src/app/standalone.tsx +15 -13
  1519. package/src/lib/MissingIcon.tsx +22 -0
  1520. package/src/lib/assets/language-icons/c.tsx +31 -0
  1521. package/src/lib/assets/language-icons/commonlisp.tsx +22 -0
  1522. package/src/lib/assets/language-icons/cpp.tsx +35 -0
  1523. package/src/lib/assets/language-icons/csharp.tsx +35 -0
  1524. package/src/lib/assets/language-icons/css.tsx +36 -0
  1525. package/src/lib/assets/language-icons/dart.tsx +39 -0
  1526. package/src/lib/assets/language-icons/elixir.tsx +19 -0
  1527. package/src/lib/assets/language-icons/go.tsx +19 -0
  1528. package/src/lib/assets/language-icons/graphql.tsx +19 -0
  1529. package/src/lib/assets/language-icons/html.tsx +24 -0
  1530. package/src/lib/assets/language-icons/java.tsx +35 -0
  1531. package/src/lib/assets/language-icons/javascript.tsx +11 -0
  1532. package/src/lib/assets/language-icons/json.tsx +19 -0
  1533. package/src/lib/assets/language-icons/kotlin.tsx +30 -0
  1534. package/src/lib/assets/language-icons/markdown.tsx +19 -0
  1535. package/src/lib/assets/language-icons/mdx.tsx +23 -0
  1536. package/src/lib/assets/language-icons/objectivec.tsx +23 -0
  1537. package/src/lib/assets/language-icons/ocaml.tsx +34 -0
  1538. package/src/lib/assets/language-icons/php.tsx +19 -0
  1539. package/src/lib/assets/language-icons/powershell.tsx +27 -0
  1540. package/src/lib/assets/language-icons/python.tsx +23 -0
  1541. package/src/lib/assets/language-icons/react.tsx +21 -0
  1542. package/src/lib/assets/language-icons/ruby.tsx +19 -0
  1543. package/src/lib/assets/language-icons/rust.tsx +19 -0
  1544. package/src/lib/assets/language-icons/scala.tsx +19 -0
  1545. package/src/lib/assets/language-icons/shell.tsx +19 -0
  1546. package/src/lib/assets/language-icons/swift.tsx +19 -0
  1547. package/src/lib/assets/language-icons/toml.tsx +23 -0
  1548. package/src/lib/assets/language-icons/typescript.tsx +23 -0
  1549. package/src/lib/assets/language-icons/xml.tsx +19 -0
  1550. package/src/lib/assets/language-icons/yaml.tsx +23 -0
  1551. package/src/lib/assets/language-icons/zig.tsx +32 -0
  1552. package/src/lib/auth/issuer.test.ts +121 -0
  1553. package/src/lib/auth/issuer.ts +44 -0
  1554. package/src/lib/authentication/AuthenticationPlugin.tsx +6 -3
  1555. package/src/lib/authentication/authentication.ts +29 -12
  1556. package/src/lib/authentication/components/CallbackHandler.tsx +36 -50
  1557. package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
  1558. package/src/lib/authentication/components/SignIn.tsx +35 -7
  1559. package/src/lib/authentication/components/SignOut.tsx +8 -6
  1560. package/src/lib/authentication/components/SignUp.tsx +36 -5
  1561. package/src/lib/authentication/errors.ts +27 -13
  1562. package/src/lib/authentication/hook.ts +29 -7
  1563. package/src/lib/authentication/providers/auth0.tsx +39 -19
  1564. package/src/lib/authentication/providers/azureb2c.tsx +208 -0
  1565. package/src/lib/authentication/providers/clerk.tsx +138 -54
  1566. package/src/lib/authentication/providers/firebase.tsx +301 -0
  1567. package/src/lib/authentication/providers/openid.tsx +175 -89
  1568. package/src/lib/authentication/providers/supabase/SupabaseAuthUI.tsx +75 -0
  1569. package/src/lib/authentication/providers/supabase.tsx +162 -0
  1570. package/src/lib/authentication/state.ts +65 -24
  1571. package/src/lib/authentication/ui/ZudokuAuthUi.tsx +375 -0
  1572. package/src/lib/authentication/ui/icons/Apple.tsx +10 -0
  1573. package/src/lib/authentication/ui/icons/Facebook.tsx +15 -0
  1574. package/src/lib/authentication/ui/icons/Github.tsx +16 -0
  1575. package/src/lib/authentication/ui/icons/Google.tsx +16 -0
  1576. package/src/lib/authentication/ui/icons/Microsoft.tsx +12 -0
  1577. package/src/lib/authentication/ui/icons/X.tsx +10 -0
  1578. package/src/lib/authentication/use-broadcast/LICENSE.md +18 -0
  1579. package/src/lib/authentication/use-broadcast/shared.ts +372 -0
  1580. package/src/lib/authentication/use-broadcast/useBroadcast.ts +146 -0
  1581. package/src/lib/components/AnchorLink.tsx +13 -8
  1582. package/src/lib/components/Autocomplete.tsx +123 -0
  1583. package/src/lib/components/Banner.tsx +3 -3
  1584. package/src/lib/components/Bootstrap.tsx +44 -16
  1585. package/src/lib/components/BuildCheck.tsx +88 -0
  1586. package/src/lib/components/CategoryHeading.tsx +4 -1
  1587. package/src/lib/components/ClientOnly.tsx +6 -3
  1588. package/src/lib/components/DeveloperHint.tsx +6 -1
  1589. package/src/lib/components/ErrorPage.tsx +3 -3
  1590. package/src/lib/components/Footer.tsx +136 -0
  1591. package/src/lib/components/Framed.tsx +51 -0
  1592. package/src/lib/components/Header.tsx +122 -66
  1593. package/src/lib/components/Heading.tsx +22 -19
  1594. package/src/lib/components/InlineCode.tsx +13 -16
  1595. package/src/lib/components/LanguageIcon.tsx +181 -0
  1596. package/src/lib/components/Layout.tsx +28 -69
  1597. package/src/lib/components/Main.tsx +51 -0
  1598. package/src/lib/components/Markdown.tsx +45 -30
  1599. package/src/lib/components/Mermaid.tsx +68 -0
  1600. package/src/lib/components/Meta.tsx +45 -0
  1601. package/src/lib/components/MobileTopNavigation.tsx +98 -28
  1602. package/src/lib/components/NotFoundPage.tsx +7 -6
  1603. package/src/lib/components/PageProgress.tsx +28 -0
  1604. package/src/lib/components/PagefindSearchMeta.tsx +14 -0
  1605. package/src/lib/components/Pagination.tsx +45 -0
  1606. package/src/lib/components/PathRenderer.tsx +61 -0
  1607. package/src/lib/components/Search.tsx +20 -9
  1608. package/src/lib/components/Slot.test.tsx +465 -0
  1609. package/src/lib/components/Slot.tsx +64 -0
  1610. package/src/lib/components/StatusPage.tsx +96 -0
  1611. package/src/lib/components/ThemeSwitch.tsx +46 -0
  1612. package/src/lib/components/TopNavigation.tsx +104 -27
  1613. package/src/lib/components/Typography.tsx +14 -0
  1614. package/src/lib/components/Zudoku.tsx +116 -0
  1615. package/src/lib/components/cache.ts +27 -0
  1616. package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
  1617. package/src/lib/components/context/ComponentsContext.tsx +2 -2
  1618. package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
  1619. package/src/lib/components/context/SlotProvider.tsx +149 -0
  1620. package/src/lib/components/context/ViewportAnchorContext.tsx +35 -37
  1621. package/src/lib/components/context/ZudokuContext.ts +87 -29
  1622. package/src/lib/components/context/ZudokuProvider.tsx +4 -3
  1623. package/src/lib/components/index.ts +34 -17
  1624. package/src/lib/components/navigation/Navigation.tsx +50 -0
  1625. package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
  1626. package/src/lib/components/navigation/NavigationCategory.tsx +153 -0
  1627. package/src/lib/components/navigation/NavigationItem.tsx +148 -0
  1628. package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
  1629. package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
  1630. package/src/lib/components/navigation/Toc.tsx +126 -0
  1631. package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
  1632. package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
  1633. package/src/lib/components/navigation/utils.ts +85 -50
  1634. package/src/lib/core/RouteGuard.tsx +116 -0
  1635. package/src/lib/core/ZudokuContext.ts +249 -0
  1636. package/src/lib/core/__internal.tsx +30 -0
  1637. package/src/lib/core/plugins.ts +56 -23
  1638. package/src/lib/core/router.ts +1 -0
  1639. package/src/lib/errors/ErrorAlert.tsx +29 -17
  1640. package/src/lib/errors/RouterError.tsx +8 -3
  1641. package/src/lib/errors/TopLevelError.tsx +2 -4
  1642. package/src/lib/hooks/index.ts +16 -0
  1643. package/src/lib/hooks/useEvent.test.tsx +151 -0
  1644. package/src/lib/hooks/useEvent.ts +41 -0
  1645. package/src/lib/hooks/useHotkey.ts +70 -0
  1646. package/src/lib/icons.ts +1 -0
  1647. package/src/lib/oas/graphql/circular.ts +58 -0
  1648. package/src/lib/oas/graphql/index.ts +334 -104
  1649. package/src/lib/oas/parser/dereference/index.ts +12 -5
  1650. package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
  1651. package/src/lib/oas/parser/index.ts +23 -32
  1652. package/src/lib/oas/parser/upgrade/index.ts +105 -39
  1653. package/src/lib/plugins/api-catalog/Catalog.tsx +80 -0
  1654. package/src/lib/plugins/api-catalog/index.tsx +115 -0
  1655. package/src/lib/plugins/api-keys/CreateApiKey.tsx +79 -49
  1656. package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
  1657. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +12 -8
  1658. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +441 -122
  1659. package/src/lib/plugins/api-keys/index.tsx +165 -69
  1660. package/src/lib/plugins/custom-pages/index.tsx +32 -0
  1661. package/src/lib/plugins/markdown/MdxPage.tsx +237 -61
  1662. package/src/lib/plugins/markdown/assets/ChatGPTLogo.tsx +11 -0
  1663. package/src/lib/plugins/markdown/assets/ClaudeLogo.tsx +19 -0
  1664. package/src/lib/plugins/markdown/index.tsx +39 -14
  1665. package/src/lib/plugins/openapi/CollapsibleCode.tsx +88 -0
  1666. package/src/lib/plugins/openapi/ColorizedParam.tsx +51 -23
  1667. package/src/lib/plugins/openapi/DownloadSchemaButton.tsx +115 -0
  1668. package/src/lib/plugins/openapi/Endpoint.tsx +33 -43
  1669. package/src/lib/plugins/openapi/GeneratedExampleSidecarBox.tsx +52 -0
  1670. package/src/lib/plugins/openapi/MCPEndpoint.tsx +273 -0
  1671. package/src/lib/plugins/openapi/OasProvider.tsx +65 -0
  1672. package/src/lib/plugins/openapi/OperationList.tsx +282 -74
  1673. package/src/lib/plugins/openapi/OperationListItem.tsx +147 -91
  1674. package/src/lib/plugins/openapi/ParamInfos.tsx +91 -0
  1675. package/src/lib/plugins/openapi/ParameterList.tsx +43 -27
  1676. package/src/lib/plugins/openapi/ParameterListItem.tsx +137 -39
  1677. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +25 -5
  1678. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +52 -28
  1679. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +109 -64
  1680. package/src/lib/plugins/openapi/SchemaList.tsx +161 -0
  1681. package/src/lib/plugins/openapi/Sidecar.tsx +244 -181
  1682. package/src/lib/plugins/openapi/SidecarBox.tsx +14 -4
  1683. package/src/lib/plugins/openapi/SidecarExamples.tsx +174 -0
  1684. package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
  1685. package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
  1686. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +65 -0
  1687. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
  1688. package/src/lib/plugins/openapi/client/createServer.ts +9 -4
  1689. package/src/lib/plugins/openapi/client/useCreateQuery.ts +46 -0
  1690. package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
  1691. package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
  1692. package/src/lib/plugins/openapi/components/NonHighlightedCode.tsx +22 -0
  1693. package/src/lib/plugins/openapi/components/ResponseContent.tsx +114 -0
  1694. package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
  1695. package/src/lib/plugins/openapi/context.tsx +2 -2
  1696. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +12 -19
  1697. package/src/lib/plugins/openapi/graphql/gql.ts +38 -30
  1698. package/src/lib/plugins/openapi/graphql/graphql.ts +411 -683
  1699. package/src/lib/plugins/openapi/index.tsx +173 -160
  1700. package/src/lib/plugins/openapi/interfaces.ts +84 -5
  1701. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +271 -0
  1702. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +51 -0
  1703. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +60 -0
  1704. package/src/lib/plugins/openapi/playground/Headers.tsx +173 -58
  1705. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +75 -0
  1706. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +38 -0
  1707. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +45 -0
  1708. package/src/lib/plugins/openapi/playground/PathParams.tsx +36 -70
  1709. package/src/lib/plugins/openapi/playground/Playground.tsx +459 -288
  1710. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +24 -30
  1711. package/src/lib/plugins/openapi/playground/QueryParams.tsx +102 -112
  1712. package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +70 -0
  1713. package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
  1714. package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
  1715. package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
  1716. package/src/lib/plugins/openapi/playground/request-panel/MultipartField.tsx +91 -0
  1717. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
  1718. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
  1719. package/src/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.tsx +872 -0
  1720. package/src/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.ts +349 -0
  1721. package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
  1722. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +117 -0
  1723. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +339 -0
  1724. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +102 -0
  1725. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
  1726. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
  1727. package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +23 -0
  1728. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +223 -0
  1729. package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
  1730. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +183 -0
  1731. package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
  1732. package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
  1733. package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
  1734. package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
  1735. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
  1736. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +175 -0
  1737. package/src/lib/plugins/openapi/schema/SchemaView.tsx +154 -142
  1738. package/src/lib/plugins/openapi/schema/UnionView.tsx +132 -0
  1739. package/src/lib/plugins/openapi/schema/union-helpers.ts +123 -0
  1740. package/src/lib/plugins/openapi/schema/utils.ts +34 -14
  1741. package/src/lib/plugins/openapi/state.ts +36 -0
  1742. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
  1743. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +39 -0
  1744. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +95 -45
  1745. package/src/lib/plugins/openapi/util/getRoutes.tsx +230 -0
  1746. package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
  1747. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  1748. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  1749. package/src/lib/plugins/redirect/index.tsx +6 -10
  1750. package/src/lib/plugins/search-inkeep/index.tsx +83 -32
  1751. package/src/lib/plugins/search-inkeep/inkeep.ts +15 -23
  1752. package/src/lib/plugins/search-pagefind/IndexingDialog.tsx +163 -0
  1753. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +202 -0
  1754. package/src/lib/plugins/search-pagefind/ResultList.tsx +118 -0
  1755. package/src/lib/plugins/search-pagefind/get-results.tsx +74 -0
  1756. package/src/lib/plugins/search-pagefind/index.tsx +21 -0
  1757. package/src/lib/plugins/search-pagefind/types.ts +118 -0
  1758. package/src/lib/shiki.ts +170 -0
  1759. package/src/lib/ui/Accordion.tsx +56 -0
  1760. package/src/lib/ui/ActionButton.tsx +30 -0
  1761. package/src/lib/ui/Alert.tsx +65 -0
  1762. package/src/lib/ui/AlertDialog.tsx +139 -0
  1763. package/src/lib/ui/AspectRatio.tsx +5 -0
  1764. package/src/lib/ui/Badge.tsx +46 -0
  1765. package/src/lib/ui/Breadcrumb.tsx +116 -0
  1766. package/src/lib/ui/Button.tsx +16 -10
  1767. package/src/lib/ui/ButtonGroup.tsx +82 -0
  1768. package/src/lib/ui/Callout.tsx +47 -21
  1769. package/src/lib/ui/Card.tsx +1 -1
  1770. package/src/lib/ui/Carousel.tsx +260 -0
  1771. package/src/lib/ui/Checkbox.tsx +28 -0
  1772. package/src/lib/ui/CodeBlock.tsx +79 -0
  1773. package/src/lib/ui/Collapsible.tsx +31 -0
  1774. package/src/lib/ui/Command.tsx +191 -0
  1775. package/src/lib/ui/Dialog.tsx +138 -0
  1776. package/src/lib/ui/Drawer.tsx +38 -36
  1777. package/src/lib/ui/DropdownMenu.tsx +226 -170
  1778. package/src/lib/ui/EmbeddedCodeBlock.tsx +99 -0
  1779. package/src/lib/ui/Form.tsx +177 -0
  1780. package/src/lib/ui/Frame.tsx +81 -0
  1781. package/src/lib/ui/HoverCard.tsx +27 -0
  1782. package/src/lib/ui/Input.tsx +2 -3
  1783. package/src/lib/ui/Item.tsx +192 -0
  1784. package/src/lib/ui/Kbd.tsx +28 -0
  1785. package/src/lib/ui/Label.tsx +24 -0
  1786. package/src/lib/ui/NativeSelect.tsx +47 -0
  1787. package/src/lib/ui/Pagination.tsx +116 -0
  1788. package/src/lib/ui/Popover.tsx +29 -0
  1789. package/src/lib/ui/Progress.tsx +26 -0
  1790. package/src/lib/ui/RadioGroup.tsx +42 -0
  1791. package/src/lib/ui/ReactComponentDoc.tsx +68 -0
  1792. package/src/lib/ui/ScrollArea.tsx +46 -0
  1793. package/src/lib/ui/Secret.tsx +123 -0
  1794. package/src/lib/ui/Select.tsx +184 -0
  1795. package/src/lib/ui/Separator.tsx +25 -0
  1796. package/src/lib/ui/Skeleton.tsx +15 -0
  1797. package/src/lib/ui/Slider.tsx +26 -0
  1798. package/src/lib/ui/Stepper.tsx +8 -0
  1799. package/src/lib/ui/Switch.tsx +27 -0
  1800. package/src/lib/ui/SyntaxHighlight.tsx +40 -0
  1801. package/src/lib/ui/Tabs.tsx +2 -2
  1802. package/src/lib/ui/Textarea.tsx +23 -0
  1803. package/src/lib/ui/Toggle.tsx +43 -0
  1804. package/src/lib/ui/ToggleGroup.tsx +59 -0
  1805. package/src/lib/ui/Tooltip.tsx +65 -0
  1806. package/src/lib/ui/Value.tsx +42 -0
  1807. package/src/lib/ui/util.tsx +3 -0
  1808. package/src/lib/util/MdxComponents.tsx +60 -26
  1809. package/src/lib/util/cn.ts +1 -1
  1810. package/src/lib/util/createVariantComponent.tsx +33 -7
  1811. package/src/lib/util/detectOS.ts +9 -0
  1812. package/src/lib/util/ensureArray.ts +3 -0
  1813. package/src/lib/util/flattenAllOf.test.ts +689 -0
  1814. package/src/lib/util/flattenAllOf.ts +122 -0
  1815. package/src/lib/util/groupBy.ts +1 -0
  1816. package/src/lib/util/humanFileSize.test.ts +24 -0
  1817. package/src/lib/util/humanFileSize.ts +15 -0
  1818. package/src/lib/util/invariant.ts +18 -3
  1819. package/src/lib/util/joinPath.tsx +3 -0
  1820. package/src/lib/util/joinUrl.test.ts +62 -0
  1821. package/src/lib/util/joinUrl.ts +57 -0
  1822. package/src/lib/util/os.ts +18 -0
  1823. package/src/lib/util/pastellize.ts +4 -4
  1824. package/src/lib/util/readFrontmatter.ts +13 -0
  1825. package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
  1826. package/src/lib/util/syncZustandState.ts +22 -0
  1827. package/src/lib/util/traverse.ts +70 -0
  1828. package/src/lib/util/types.ts +7 -0
  1829. package/src/lib/util/url.test.ts +51 -0
  1830. package/src/lib/util/url.ts +18 -0
  1831. package/src/lib/util/useCopyToClipboard.ts +17 -0
  1832. package/src/lib/util/useExposedProps.tsx +27 -0
  1833. package/src/lib/util/useIsomorphicLayoutEffect.ts +6 -0
  1834. package/src/lib/util/useLatest.ts +18 -0
  1835. package/src/lib/util/useOnScreen.ts +34 -0
  1836. package/src/lib/util/useScrollToAnchor.ts +51 -40
  1837. package/src/lib/util/useScrollToTop.ts +9 -4
  1838. package/src/shiki/langs/abap.js +1 -0
  1839. package/src/shiki/langs/actionscript-3.js +1 -0
  1840. package/src/shiki/langs/ada.js +1 -0
  1841. package/src/shiki/langs/angular-expression.js +1 -0
  1842. package/src/shiki/langs/angular-html.js +1 -0
  1843. package/src/shiki/langs/angular-inline-style.js +1 -0
  1844. package/src/shiki/langs/angular-inline-template.js +1 -0
  1845. package/src/shiki/langs/angular-let-declaration.js +1 -0
  1846. package/src/shiki/langs/angular-template-blocks.js +1 -0
  1847. package/src/shiki/langs/angular-template.js +1 -0
  1848. package/src/shiki/langs/angular-ts.js +1 -0
  1849. package/src/shiki/langs/apache.js +1 -0
  1850. package/src/shiki/langs/apex.js +1 -0
  1851. package/src/shiki/langs/apl.js +1 -0
  1852. package/src/shiki/langs/applescript.js +1 -0
  1853. package/src/shiki/langs/ara.js +1 -0
  1854. package/src/shiki/langs/asciidoc.js +1 -0
  1855. package/src/shiki/langs/asm.js +1 -0
  1856. package/src/shiki/langs/astro.js +1 -0
  1857. package/src/shiki/langs/awk.js +1 -0
  1858. package/src/shiki/langs/ballerina.js +1 -0
  1859. package/src/shiki/langs/bat.js +1 -0
  1860. package/src/shiki/langs/beancount.js +1 -0
  1861. package/src/shiki/langs/berry.js +1 -0
  1862. package/src/shiki/langs/bibtex.js +1 -0
  1863. package/src/shiki/langs/bicep.js +1 -0
  1864. package/src/shiki/langs/blade.js +1 -0
  1865. package/src/shiki/langs/bsl.js +1 -0
  1866. package/src/shiki/langs/c.js +1 -0
  1867. package/src/shiki/langs/cadence.js +1 -0
  1868. package/src/shiki/langs/cairo.js +1 -0
  1869. package/src/shiki/langs/clarity.js +1 -0
  1870. package/src/shiki/langs/clojure.js +1 -0
  1871. package/src/shiki/langs/cmake.js +1 -0
  1872. package/src/shiki/langs/cobol.js +1 -0
  1873. package/src/shiki/langs/codeowners.js +1 -0
  1874. package/src/shiki/langs/codeql.js +1 -0
  1875. package/src/shiki/langs/coffee.js +1 -0
  1876. package/src/shiki/langs/common-lisp.js +1 -0
  1877. package/src/shiki/langs/coq.js +1 -0
  1878. package/src/shiki/langs/cpp-macro.js +1 -0
  1879. package/src/shiki/langs/cpp.js +1 -0
  1880. package/src/shiki/langs/crystal.js +1 -0
  1881. package/src/shiki/langs/csharp.js +1 -0
  1882. package/src/shiki/langs/css.js +1 -0
  1883. package/src/shiki/langs/csv.js +1 -0
  1884. package/src/shiki/langs/cue.js +1 -0
  1885. package/src/shiki/langs/cypher.js +1 -0
  1886. package/src/shiki/langs/d.js +1 -0
  1887. package/src/shiki/langs/dart.js +1 -0
  1888. package/src/shiki/langs/dax.js +1 -0
  1889. package/src/shiki/langs/desktop.js +1 -0
  1890. package/src/shiki/langs/diff.js +1 -0
  1891. package/src/shiki/langs/docker.js +1 -0
  1892. package/src/shiki/langs/dotenv.js +1 -0
  1893. package/src/shiki/langs/dream-maker.js +1 -0
  1894. package/src/shiki/langs/edge.js +1 -0
  1895. package/src/shiki/langs/elixir.js +1 -0
  1896. package/src/shiki/langs/elm.js +1 -0
  1897. package/src/shiki/langs/emacs-lisp.js +1 -0
  1898. package/src/shiki/langs/erb.js +1 -0
  1899. package/src/shiki/langs/erlang.js +1 -0
  1900. package/src/shiki/langs/es-tag-css.js +1 -0
  1901. package/src/shiki/langs/es-tag-glsl.js +1 -0
  1902. package/src/shiki/langs/es-tag-html.js +1 -0
  1903. package/src/shiki/langs/es-tag-sql.js +1 -0
  1904. package/src/shiki/langs/es-tag-xml.js +1 -0
  1905. package/src/shiki/langs/fennel.js +1 -0
  1906. package/src/shiki/langs/fish.js +1 -0
  1907. package/src/shiki/langs/fluent.js +1 -0
  1908. package/src/shiki/langs/fortran-fixed-form.js +1 -0
  1909. package/src/shiki/langs/fortran-free-form.js +1 -0
  1910. package/src/shiki/langs/fsharp.js +1 -0
  1911. package/src/shiki/langs/gdresource.js +1 -0
  1912. package/src/shiki/langs/gdscript.js +1 -0
  1913. package/src/shiki/langs/gdshader.js +1 -0
  1914. package/src/shiki/langs/genie.js +1 -0
  1915. package/src/shiki/langs/gherkin.js +1 -0
  1916. package/src/shiki/langs/git-commit.js +1 -0
  1917. package/src/shiki/langs/git-rebase.js +1 -0
  1918. package/src/shiki/langs/gleam.js +1 -0
  1919. package/src/shiki/langs/glimmer-js.js +1 -0
  1920. package/src/shiki/langs/glimmer-ts.js +1 -0
  1921. package/src/shiki/langs/glsl.js +1 -0
  1922. package/src/shiki/langs/gnuplot.js +1 -0
  1923. package/src/shiki/langs/go.js +1 -0
  1924. package/src/shiki/langs/graphql.js +1 -0
  1925. package/src/shiki/langs/groovy.js +1 -0
  1926. package/src/shiki/langs/hack.js +1 -0
  1927. package/src/shiki/langs/haml.js +1 -0
  1928. package/src/shiki/langs/handlebars.js +1 -0
  1929. package/src/shiki/langs/haskell.js +1 -0
  1930. package/src/shiki/langs/haxe.js +1 -0
  1931. package/src/shiki/langs/hcl.js +1 -0
  1932. package/src/shiki/langs/hjson.js +1 -0
  1933. package/src/shiki/langs/hlsl.js +1 -0
  1934. package/src/shiki/langs/html-derivative.js +1 -0
  1935. package/src/shiki/langs/html.js +1 -0
  1936. package/src/shiki/langs/http.js +1 -0
  1937. package/src/shiki/langs/hurl.js +1 -0
  1938. package/src/shiki/langs/hxml.js +1 -0
  1939. package/src/shiki/langs/hy.js +1 -0
  1940. package/src/shiki/langs/imba.js +1 -0
  1941. package/src/shiki/langs/ini.js +1 -0
  1942. package/src/shiki/langs/java.js +1 -0
  1943. package/src/shiki/langs/javascript.js +1 -0
  1944. package/src/shiki/langs/jinja-html.js +1 -0
  1945. package/src/shiki/langs/jinja.js +1 -0
  1946. package/src/shiki/langs/jison.js +1 -0
  1947. package/src/shiki/langs/json.js +1 -0
  1948. package/src/shiki/langs/json5.js +1 -0
  1949. package/src/shiki/langs/jsonc.js +1 -0
  1950. package/src/shiki/langs/jsonl.js +1 -0
  1951. package/src/shiki/langs/jsonnet.js +1 -0
  1952. package/src/shiki/langs/jssm.js +1 -0
  1953. package/src/shiki/langs/jsx.js +1 -0
  1954. package/src/shiki/langs/julia.js +1 -0
  1955. package/src/shiki/langs/kdl.js +1 -0
  1956. package/src/shiki/langs/kotlin.js +1 -0
  1957. package/src/shiki/langs/kusto.js +1 -0
  1958. package/src/shiki/langs/latex.js +1 -0
  1959. package/src/shiki/langs/lean.js +1 -0
  1960. package/src/shiki/langs/less.js +1 -0
  1961. package/src/shiki/langs/liquid.js +1 -0
  1962. package/src/shiki/langs/llvm.js +1 -0
  1963. package/src/shiki/langs/log.js +1 -0
  1964. package/src/shiki/langs/logo.js +1 -0
  1965. package/src/shiki/langs/lua.js +1 -0
  1966. package/src/shiki/langs/luau.js +1 -0
  1967. package/src/shiki/langs/make.js +1 -0
  1968. package/src/shiki/langs/markdown-nix.js +1 -0
  1969. package/src/shiki/langs/markdown-vue.js +1 -0
  1970. package/src/shiki/langs/markdown.js +1 -0
  1971. package/src/shiki/langs/marko.js +1 -0
  1972. package/src/shiki/langs/matlab.js +1 -0
  1973. package/src/shiki/langs/mdc.js +1 -0
  1974. package/src/shiki/langs/mdx.js +1 -0
  1975. package/src/shiki/langs/mermaid.js +1 -0
  1976. package/src/shiki/langs/mipsasm.js +1 -0
  1977. package/src/shiki/langs/mojo.js +1 -0
  1978. package/src/shiki/langs/move.js +1 -0
  1979. package/src/shiki/langs/narrat.js +1 -0
  1980. package/src/shiki/langs/nextflow.js +1 -0
  1981. package/src/shiki/langs/nginx.js +1 -0
  1982. package/src/shiki/langs/nim.js +1 -0
  1983. package/src/shiki/langs/nix.js +1 -0
  1984. package/src/shiki/langs/nushell.js +1 -0
  1985. package/src/shiki/langs/objective-c.js +1 -0
  1986. package/src/shiki/langs/objective-cpp.js +1 -0
  1987. package/src/shiki/langs/ocaml.js +1 -0
  1988. package/src/shiki/langs/openscad.js +1 -0
  1989. package/src/shiki/langs/pascal.js +1 -0
  1990. package/src/shiki/langs/perl.js +1 -0
  1991. package/src/shiki/langs/php.js +1 -0
  1992. package/src/shiki/langs/pkl.js +1 -0
  1993. package/src/shiki/langs/plsql.js +1 -0
  1994. package/src/shiki/langs/po.js +1 -0
  1995. package/src/shiki/langs/polar.js +1 -0
  1996. package/src/shiki/langs/postcss.js +1 -0
  1997. package/src/shiki/langs/powerquery.js +1 -0
  1998. package/src/shiki/langs/powershell.js +1 -0
  1999. package/src/shiki/langs/prisma.js +1 -0
  2000. package/src/shiki/langs/prolog.js +1 -0
  2001. package/src/shiki/langs/proto.js +1 -0
  2002. package/src/shiki/langs/pug.js +1 -0
  2003. package/src/shiki/langs/puppet.js +1 -0
  2004. package/src/shiki/langs/purescript.js +1 -0
  2005. package/src/shiki/langs/python.js +1 -0
  2006. package/src/shiki/langs/qml.js +1 -0
  2007. package/src/shiki/langs/qmldir.js +1 -0
  2008. package/src/shiki/langs/qss.js +1 -0
  2009. package/src/shiki/langs/r.js +1 -0
  2010. package/src/shiki/langs/racket.js +1 -0
  2011. package/src/shiki/langs/raku.js +1 -0
  2012. package/src/shiki/langs/razor.js +1 -0
  2013. package/src/shiki/langs/reg.js +1 -0
  2014. package/src/shiki/langs/regexp.js +1 -0
  2015. package/src/shiki/langs/rel.js +1 -0
  2016. package/src/shiki/langs/riscv.js +1 -0
  2017. package/src/shiki/langs/rosmsg.js +1 -0
  2018. package/src/shiki/langs/rst.js +1 -0
  2019. package/src/shiki/langs/ruby.js +1 -0
  2020. package/src/shiki/langs/rust.js +1 -0
  2021. package/src/shiki/langs/sas.js +1 -0
  2022. package/src/shiki/langs/sass.js +1 -0
  2023. package/src/shiki/langs/scala.js +1 -0
  2024. package/src/shiki/langs/scheme.js +1 -0
  2025. package/src/shiki/langs/scss.js +1 -0
  2026. package/src/shiki/langs/sdbl.js +1 -0
  2027. package/src/shiki/langs/shaderlab.js +1 -0
  2028. package/src/shiki/langs/shellscript.js +1 -0
  2029. package/src/shiki/langs/shellsession.js +1 -0
  2030. package/src/shiki/langs/smalltalk.js +1 -0
  2031. package/src/shiki/langs/solidity.js +1 -0
  2032. package/src/shiki/langs/soy.js +1 -0
  2033. package/src/shiki/langs/sparql.js +1 -0
  2034. package/src/shiki/langs/splunk.js +1 -0
  2035. package/src/shiki/langs/sql.js +1 -0
  2036. package/src/shiki/langs/ssh-config.js +1 -0
  2037. package/src/shiki/langs/stata.js +1 -0
  2038. package/src/shiki/langs/stylus.js +1 -0
  2039. package/src/shiki/langs/svelte.js +1 -0
  2040. package/src/shiki/langs/swift.js +1 -0
  2041. package/src/shiki/langs/system-verilog.js +1 -0
  2042. package/src/shiki/langs/systemd.js +1 -0
  2043. package/src/shiki/langs/talonscript.js +1 -0
  2044. package/src/shiki/langs/tasl.js +1 -0
  2045. package/src/shiki/langs/tcl.js +1 -0
  2046. package/src/shiki/langs/templ.js +1 -0
  2047. package/src/shiki/langs/terraform.js +1 -0
  2048. package/src/shiki/langs/tex.js +1 -0
  2049. package/src/shiki/langs/toml.js +1 -0
  2050. package/src/shiki/langs/ts-tags.js +1 -0
  2051. package/src/shiki/langs/tsv.js +1 -0
  2052. package/src/shiki/langs/tsx.js +1 -0
  2053. package/src/shiki/langs/turtle.js +1 -0
  2054. package/src/shiki/langs/twig.js +1 -0
  2055. package/src/shiki/langs/typescript.js +1 -0
  2056. package/src/shiki/langs/typespec.js +1 -0
  2057. package/src/shiki/langs/typst.js +1 -0
  2058. package/src/shiki/langs/v.js +1 -0
  2059. package/src/shiki/langs/vala.js +1 -0
  2060. package/src/shiki/langs/vb.js +1 -0
  2061. package/src/shiki/langs/verilog.js +1 -0
  2062. package/src/shiki/langs/vhdl.js +1 -0
  2063. package/src/shiki/langs/viml.js +1 -0
  2064. package/src/shiki/langs/vue-directives.js +1 -0
  2065. package/src/shiki/langs/vue-html.js +1 -0
  2066. package/src/shiki/langs/vue-interpolations.js +1 -0
  2067. package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
  2068. package/src/shiki/langs/vue-vine.js +1 -0
  2069. package/src/shiki/langs/vue.js +1 -0
  2070. package/src/shiki/langs/vyper.js +1 -0
  2071. package/src/shiki/langs/wasm.js +1 -0
  2072. package/src/shiki/langs/wenyan.js +1 -0
  2073. package/src/shiki/langs/wgsl.js +1 -0
  2074. package/src/shiki/langs/wikitext.js +1 -0
  2075. package/src/shiki/langs/wit.js +1 -0
  2076. package/src/shiki/langs/wolfram.js +1 -0
  2077. package/src/shiki/langs/xml.js +1 -0
  2078. package/src/shiki/langs/xsl.js +1 -0
  2079. package/src/shiki/langs/yaml.js +1 -0
  2080. package/src/shiki/langs/zenscript.js +1 -0
  2081. package/src/shiki/langs/zig.js +1 -0
  2082. package/src/shiki/themes/andromeeda.js +1 -0
  2083. package/src/shiki/themes/aurora-x.js +1 -0
  2084. package/src/shiki/themes/ayu-dark.js +1 -0
  2085. package/src/shiki/themes/catppuccin-frappe.js +1 -0
  2086. package/src/shiki/themes/catppuccin-latte.js +1 -0
  2087. package/src/shiki/themes/catppuccin-macchiato.js +1 -0
  2088. package/src/shiki/themes/catppuccin-mocha.js +1 -0
  2089. package/src/shiki/themes/dark-plus.js +1 -0
  2090. package/src/shiki/themes/dracula-soft.js +1 -0
  2091. package/src/shiki/themes/dracula.js +1 -0
  2092. package/src/shiki/themes/everforest-dark.js +1 -0
  2093. package/src/shiki/themes/everforest-light.js +1 -0
  2094. package/src/shiki/themes/github-dark-default.js +1 -0
  2095. package/src/shiki/themes/github-dark-dimmed.js +1 -0
  2096. package/src/shiki/themes/github-dark-high-contrast.js +1 -0
  2097. package/src/shiki/themes/github-dark.js +1 -0
  2098. package/src/shiki/themes/github-light-default.js +1 -0
  2099. package/src/shiki/themes/github-light-high-contrast.js +1 -0
  2100. package/src/shiki/themes/github-light.js +1 -0
  2101. package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
  2102. package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
  2103. package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
  2104. package/src/shiki/themes/gruvbox-light-hard.js +1 -0
  2105. package/src/shiki/themes/gruvbox-light-medium.js +1 -0
  2106. package/src/shiki/themes/gruvbox-light-soft.js +1 -0
  2107. package/src/shiki/themes/houston.js +1 -0
  2108. package/src/shiki/themes/kanagawa-dragon.js +1 -0
  2109. package/src/shiki/themes/kanagawa-lotus.js +1 -0
  2110. package/src/shiki/themes/kanagawa-wave.js +1 -0
  2111. package/src/shiki/themes/laserwave.js +1 -0
  2112. package/src/shiki/themes/light-plus.js +1 -0
  2113. package/src/shiki/themes/material-theme-darker.js +1 -0
  2114. package/src/shiki/themes/material-theme-lighter.js +1 -0
  2115. package/src/shiki/themes/material-theme-ocean.js +1 -0
  2116. package/src/shiki/themes/material-theme-palenight.js +1 -0
  2117. package/src/shiki/themes/material-theme.js +1 -0
  2118. package/src/shiki/themes/min-dark.js +1 -0
  2119. package/src/shiki/themes/min-light.js +1 -0
  2120. package/src/shiki/themes/monokai.js +1 -0
  2121. package/src/shiki/themes/night-owl.js +1 -0
  2122. package/src/shiki/themes/nord.js +1 -0
  2123. package/src/shiki/themes/one-dark-pro.js +1 -0
  2124. package/src/shiki/themes/one-light.js +1 -0
  2125. package/src/shiki/themes/plastic.js +1 -0
  2126. package/src/shiki/themes/poimandres.js +1 -0
  2127. package/src/shiki/themes/red.js +1 -0
  2128. package/src/shiki/themes/rose-pine-dawn.js +1 -0
  2129. package/src/shiki/themes/rose-pine-moon.js +1 -0
  2130. package/src/shiki/themes/rose-pine.js +1 -0
  2131. package/src/shiki/themes/slack-dark.js +1 -0
  2132. package/src/shiki/themes/slack-ochin.js +1 -0
  2133. package/src/shiki/themes/snazzy-light.js +1 -0
  2134. package/src/shiki/themes/solarized-dark.js +1 -0
  2135. package/src/shiki/themes/solarized-light.js +1 -0
  2136. package/src/shiki/themes/synthwave-84.js +1 -0
  2137. package/src/shiki/themes/tokyo-night.js +1 -0
  2138. package/src/shiki/themes/vesper.js +1 -0
  2139. package/src/shiki/themes/vitesse-black.js +1 -0
  2140. package/src/shiki/themes/vitesse-dark.js +1 -0
  2141. package/src/shiki/themes/vitesse-light.js +1 -0
  2142. package/LICENSE.md +0 -9
  2143. package/dist/app/tailwind.d.ts +0 -3
  2144. package/dist/app/tailwind.js +0 -65
  2145. package/dist/app/tailwind.js.map +0 -1
  2146. package/dist/config/validators/InputSidebarSchema.d.ts +0 -186
  2147. package/dist/config/validators/InputSidebarSchema.js +0 -73
  2148. package/dist/config/validators/InputSidebarSchema.js.map +0 -1
  2149. package/dist/config/validators/SidebarSchema.d.ts +0 -23
  2150. package/dist/config/validators/SidebarSchema.js +0 -82
  2151. package/dist/config/validators/SidebarSchema.js.map +0 -1
  2152. package/dist/internal.d.ts +0 -1
  2153. package/dist/internal.js +0 -2
  2154. package/dist/internal.js.map +0 -1
  2155. package/dist/lib/components/DevPortal.d.ts +0 -7
  2156. package/dist/lib/components/DevPortal.js +0 -54
  2157. package/dist/lib/components/DevPortal.js.map +0 -1
  2158. package/dist/lib/components/Dialog.d.ts +0 -19
  2159. package/dist/lib/components/Dialog.js +0 -23
  2160. package/dist/lib/components/Dialog.js.map +0 -1
  2161. package/dist/lib/components/Select.d.ts +0 -13
  2162. package/dist/lib/components/Select.js +0 -27
  2163. package/dist/lib/components/Select.js.map +0 -1
  2164. package/dist/lib/components/SlotletProvider.d.ts +0 -9
  2165. package/dist/lib/components/SlotletProvider.js +0 -16
  2166. package/dist/lib/components/SlotletProvider.js.map +0 -1
  2167. package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
  2168. package/dist/lib/components/SyntaxHighlight.js +0 -50
  2169. package/dist/lib/components/SyntaxHighlight.js.map +0 -1
  2170. package/dist/lib/components/context/PluginSystem.js +0 -2
  2171. package/dist/lib/components/context/PluginSystem.js.map +0 -1
  2172. package/dist/lib/components/context/ThemeContext.d.ts +0 -2
  2173. package/dist/lib/components/context/ThemeContext.js +0 -7
  2174. package/dist/lib/components/context/ThemeContext.js.map +0 -1
  2175. package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
  2176. package/dist/lib/components/context/ThemeProvider.js +0 -23
  2177. package/dist/lib/components/context/ThemeProvider.js.map +0 -1
  2178. package/dist/lib/components/navigation/Sidebar.d.ts +0 -1
  2179. package/dist/lib/components/navigation/Sidebar.js +0 -14
  2180. package/dist/lib/components/navigation/Sidebar.js.map +0 -1
  2181. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -23
  2182. package/dist/lib/components/navigation/SidebarBadge.js +0 -24
  2183. package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
  2184. package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
  2185. package/dist/lib/components/navigation/SidebarCategory.js +0 -41
  2186. package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
  2187. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -12
  2188. package/dist/lib/components/navigation/SidebarItem.js +0 -43
  2189. package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
  2190. package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -6
  2191. package/dist/lib/components/navigation/SidebarWrapper.js +0 -6
  2192. package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
  2193. package/dist/lib/core/DevPortalContext.d.ts +0 -78
  2194. package/dist/lib/core/DevPortalContext.js +0 -49
  2195. package/dist/lib/core/DevPortalContext.js.map +0 -1
  2196. package/dist/lib/plugins/custom-page/index.d.ts +0 -8
  2197. package/dist/lib/plugins/custom-page/index.js +0 -12
  2198. package/dist/lib/plugins/custom-page/index.js.map +0 -1
  2199. package/dist/lib/plugins/markdown/Toc.js +0 -48
  2200. package/dist/lib/plugins/markdown/Toc.js.map +0 -1
  2201. package/dist/lib/plugins/markdown/generateRoutes.d.ts +0 -3
  2202. package/dist/lib/plugins/markdown/generateRoutes.js +0 -21
  2203. package/dist/lib/plugins/markdown/generateRoutes.js.map +0 -1
  2204. package/dist/lib/plugins/openapi/Route.d.ts +0 -6
  2205. package/dist/lib/plugins/openapi/Route.js +0 -8
  2206. package/dist/lib/plugins/openapi/Route.js.map +0 -1
  2207. package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -12
  2208. package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -46
  2209. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
  2210. package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
  2211. package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -61
  2212. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
  2213. package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
  2214. package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
  2215. package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
  2216. package/dist/lib/plugins/openapi/client/worker.js +0 -20
  2217. package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
  2218. package/dist/lib/plugins/openapi/playground/Editor.d.ts +0 -1
  2219. package/dist/lib/plugins/openapi/playground/Editor.js +0 -5
  2220. package/dist/lib/plugins/openapi/playground/Editor.js.map +0 -1
  2221. package/dist/lib/plugins/openapi/playground/InlineInput.d.ts +0 -4
  2222. package/dist/lib/plugins/openapi/playground/InlineInput.js +0 -3
  2223. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +0 -1
  2224. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
  2225. package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
  2226. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
  2227. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
  2228. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
  2229. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
  2230. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -9
  2231. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
  2232. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
  2233. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -6
  2234. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
  2235. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
  2236. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -7
  2237. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
  2238. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
  2239. package/dist/lib/plugins/openapi/schema/SchemaComponents.d.ts +0 -13
  2240. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
  2241. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
  2242. package/dist/lib/plugins/openapi/util/urql.d.ts +0 -7
  2243. package/dist/lib/plugins/openapi/util/urql.js +0 -8
  2244. package/dist/lib/plugins/openapi/util/urql.js.map +0 -1
  2245. package/dist/lib/plugins/openapi-worker.d.ts +0 -1
  2246. package/dist/lib/plugins/openapi-worker.js +0 -2
  2247. package/dist/lib/plugins/openapi-worker.js.map +0 -1
  2248. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  2249. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  2250. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  2251. package/dist/lib/themeToggle.d.ts +0 -1
  2252. package/dist/lib/themeToggle.js +0 -7
  2253. package/dist/lib/themeToggle.js.map +0 -1
  2254. package/dist/lib/ui/Note.d.ts +0 -8
  2255. package/dist/lib/ui/Note.js +0 -23
  2256. package/dist/lib/ui/Note.js.map +0 -1
  2257. package/dist/lib/util/createWaitForNotify.d.ts +0 -1
  2258. package/dist/lib/util/createWaitForNotify.js +0 -15
  2259. package/dist/lib/util/createWaitForNotify.js.map +0 -1
  2260. package/dist/vite/plugin-custom-css.d.ts +0 -6
  2261. package/dist/vite/plugin-custom-css.js +0 -55
  2262. package/dist/vite/plugin-custom-css.js.map +0 -1
  2263. package/dist/vite/plugin-docs.test.js +0 -30
  2264. package/dist/vite/plugin-docs.test.js.map +0 -1
  2265. package/dist/vite/plugin-html-transform.d.ts +0 -2
  2266. package/dist/vite/plugin-html-transform.js +0 -15
  2267. package/dist/vite/plugin-html-transform.js.map +0 -1
  2268. package/dist/vite/plugin-sidebar.d.ts +0 -3
  2269. package/dist/vite/plugin-sidebar.js +0 -46
  2270. package/dist/vite/plugin-sidebar.js.map +0 -1
  2271. package/dist/vite/prerender.d.ts +0 -17
  2272. package/dist/vite/prerender.js +0 -87
  2273. package/dist/vite/prerender.js.map +0 -1
  2274. package/lib/AuthenticationPlugin-Bx9FK124.js +0 -55
  2275. package/lib/AuthenticationPlugin-Bx9FK124.js.map +0 -1
  2276. package/lib/CategoryHeading-ovR-zHRq.js +0 -10
  2277. package/lib/CategoryHeading-ovR-zHRq.js.map +0 -1
  2278. package/lib/DeveloperHint-YeWHKvyr.js +0 -16
  2279. package/lib/DeveloperHint-YeWHKvyr.js.map +0 -1
  2280. package/lib/ErrorPage-CsZAN_za.js +0 -16
  2281. package/lib/ErrorPage-CsZAN_za.js.map +0 -1
  2282. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  2283. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  2284. package/lib/Input-CtVUl3eT.js +0 -2198
  2285. package/lib/Input-CtVUl3eT.js.map +0 -1
  2286. package/lib/Markdown-DapSf3wG.js +0 -20281
  2287. package/lib/Markdown-DapSf3wG.js.map +0 -1
  2288. package/lib/MdxPage-BqBWsXZ1.js +0 -172
  2289. package/lib/MdxPage-BqBWsXZ1.js.map +0 -1
  2290. package/lib/OperationList-CYrmxPa8.js +0 -602
  2291. package/lib/OperationList-CYrmxPa8.js.map +0 -1
  2292. package/lib/Route-Q5mqNQrv.js +0 -14
  2293. package/lib/Route-Q5mqNQrv.js.map +0 -1
  2294. package/lib/SidebarBadge-Dx7jtnoA.js +0 -498
  2295. package/lib/SidebarBadge-Dx7jtnoA.js.map +0 -1
  2296. package/lib/SlotletProvider-D3UD5Go3.js +0 -238
  2297. package/lib/SlotletProvider-D3UD5Go3.js.map +0 -1
  2298. package/lib/Spinner-3cQDBVGr.js +0 -7
  2299. package/lib/Spinner-3cQDBVGr.js.map +0 -1
  2300. package/lib/ZudokuContext-cr-pTRY1.js +0 -1084
  2301. package/lib/ZudokuContext-cr-pTRY1.js.map +0 -1
  2302. package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
  2303. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  2304. package/lib/assets/index-B9EWVYfo.js +0 -4790
  2305. package/lib/assets/index-B9EWVYfo.js.map +0 -1
  2306. package/lib/assets/worker-BP8Uzflt.js +0 -17916
  2307. package/lib/assets/worker-BP8Uzflt.js.map +0 -1
  2308. package/lib/index-BG0g4WW0.js +0 -1771
  2309. package/lib/index-BG0g4WW0.js.map +0 -1
  2310. package/lib/index-BlJ2rj99.js +0 -5815
  2311. package/lib/index-BlJ2rj99.js.map +0 -1
  2312. package/lib/index-Bn6Lc9tq.js +0 -9
  2313. package/lib/index-Bn6Lc9tq.js.map +0 -1
  2314. package/lib/index-BngPzhKn.js +0 -124
  2315. package/lib/index-BngPzhKn.js.map +0 -1
  2316. package/lib/index-CLd8ycZz.js +0 -4790
  2317. package/lib/index-CLd8ycZz.js.map +0 -1
  2318. package/lib/index-Dolisrci.js +0 -2814
  2319. package/lib/index-Dolisrci.js.map +0 -1
  2320. package/lib/index-LNp6rxyU.js +0 -2094
  2321. package/lib/index-LNp6rxyU.js.map +0 -1
  2322. package/lib/joinPath-B7kNnUX4.js +0 -8
  2323. package/lib/joinPath-B7kNnUX4.js.map +0 -1
  2324. package/lib/jsx-runtime-B6kdoens.js +0 -635
  2325. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  2326. package/lib/prism-bash.min-DadFsM4Z.js +0 -7
  2327. package/lib/prism-bash.min-DadFsM4Z.js.map +0 -1
  2328. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  2329. package/lib/prism-csharp.min-Yizuc34Y.js.map +0 -1
  2330. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  2331. package/lib/prism-java.min-d5iT_mOd.js.map +0 -1
  2332. package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
  2333. package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
  2334. package/lib/prism-json.min-B1GJqK1k.js +0 -2
  2335. package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
  2336. package/lib/prism-markdown.min-F3U-vPBi.js +0 -61
  2337. package/lib/prism-markdown.min-F3U-vPBi.js.map +0 -1
  2338. package/lib/prism-markup-BNGj0Tvm.js +0 -174
  2339. package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
  2340. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  2341. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  2342. package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
  2343. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
  2344. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  2345. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  2346. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  2347. package/lib/prism-ruby.min-C7LwcKyz.js.map +0 -1
  2348. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  2349. package/lib/prism-typescript.min-oSVeWCAd.js.map +0 -1
  2350. package/lib/router-D2p7Olpn.js +0 -2971
  2351. package/lib/router-D2p7Olpn.js.map +0 -1
  2352. package/lib/state-hNe1dw4B.js +0 -548
  2353. package/lib/state-hNe1dw4B.js.map +0 -1
  2354. package/lib/urql-YhcsXYy8.js +0 -1591
  2355. package/lib/urql-YhcsXYy8.js.map +0 -1
  2356. package/lib/utils-ByIc_KIM.js +0 -749
  2357. package/lib/utils-ByIc_KIM.js.map +0 -1
  2358. package/lib/zudoku.openapi-worker.js +0 -16059
  2359. package/lib/zudoku.openapi-worker.js.map +0 -1
  2360. package/lib/zudoku.plugin-custom-page.js +0 -13
  2361. package/lib/zudoku.plugin-custom-page.js.map +0 -1
  2362. package/src/app/tailwind.ts +0 -68
  2363. package/src/lib/components/DevPortal.tsx +0 -111
  2364. package/src/lib/components/Dialog.tsx +0 -119
  2365. package/src/lib/components/Select.tsx +0 -157
  2366. package/src/lib/components/SlotletProvider.tsx +0 -30
  2367. package/src/lib/components/SyntaxHighlight.tsx +0 -122
  2368. package/src/lib/components/context/PluginSystem.ts +0 -0
  2369. package/src/lib/components/context/ThemeContext.tsx +0 -8
  2370. package/src/lib/components/context/ThemeProvider.tsx +0 -27
  2371. package/src/lib/components/navigation/Sidebar.tsx +0 -39
  2372. package/src/lib/components/navigation/SidebarBadge.tsx +0 -43
  2373. package/src/lib/components/navigation/SidebarCategory.tsx +0 -131
  2374. package/src/lib/components/navigation/SidebarItem.tsx +0 -130
  2375. package/src/lib/components/navigation/SidebarWrapper.tsx +0 -26
  2376. package/src/lib/core/DevPortalContext.ts +0 -135
  2377. package/src/lib/plugins/custom-page/index.tsx +0 -22
  2378. package/src/lib/plugins/markdown/Toc.tsx +0 -135
  2379. package/src/lib/plugins/markdown/generateRoutes.tsx +0 -38
  2380. package/src/lib/plugins/openapi/Route.tsx +0 -21
  2381. package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -56
  2382. package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -80
  2383. package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
  2384. package/src/lib/plugins/openapi/client/worker.ts +0 -30
  2385. package/src/lib/plugins/openapi/playground/Editor.tsx +0 -4
  2386. package/src/lib/plugins/openapi/playground/InlineInput.tsx +0 -6
  2387. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
  2388. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
  2389. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -47
  2390. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +0 -54
  2391. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +0 -30
  2392. package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
  2393. package/src/lib/plugins/openapi/util/urql.ts +0 -8
  2394. package/src/lib/plugins/openapi-worker.ts +0 -1
  2395. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
  2396. package/src/lib/themeToggle.ts +0 -7
  2397. package/src/lib/ui/Note.tsx +0 -58
  2398. package/src/lib/util/createWaitForNotify.ts +0 -18
  2399. /package/dist/{lib/components/context/PluginSystem.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
  2400. /package/dist/{lib/plugins/openapi/client/worker.d.ts → config/validators/validate.test.d.ts} +0 -0
  2401. /package/dist/{vite/plugin-docs.test.d.ts → lib/auth/issuer.test.d.ts} +0 -0
  2402. /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
@@ -0,0 +1,2507 @@
1
+ import { f as We, s as $, g as ve, F as j, R as qe, S as Se, h as Ge, d as Xe, E as D, j as Ee, k as X, l as U, n as Ye, o as oe, p as Je, q as Ke, t as _e, v as Qe, w as be, x as Ce, i as A, y as De, z as Ze, A as C, B as et, C as tt, D as rt, G as at, O as nt, H as L, I as ot, J as st, K as it, M as lt, P as T, Q as ut, T as dt, r as ct, U as Z, V as ft, W as ht, X as pt, Y as mt, Z as yt, _ as Rt, $ as wt, a0 as gt, a1 as vt } from "./chunk-PVWAREVJ-dLIqswPy.js";
2
+ import { a2 as Ur, a3 as Mr, a4 as Nr, a5 as Or, a6 as zr, a7 as Br, a8 as $r, L as jr, a9 as Vr, aa as Wr, ab as qr, ac as Gr, N as Xr, ad as Yr, ae as Jr, af as Kr, ag as Qr, ah as Zr, ai as ea, aj as ta, ak as ra, al as aa, am as na, an as oa, ao as sa, ap as ia, aq as la, ar as ua, as as da, at as ca, au as fa, av as ha, aw as pa, ax as ma, ay as ya, az as Ra, aA as wa, aB as ga, aC as va, aD as Sa, aE as Ea, aF as _a, aG as ba, aH as Ca, aI as Da, aJ as Aa, aK as xa, aL as Fa, m as ka, aM as La, aN as Ta, aO as Ha, aP as Ia, aQ as Pa, aR as Ua, aS as Ma, aT as Na, aU as Oa, aV as za, aW as Ba, aX as $a, aY as ja, aZ as Va, a_ as Wa, a$ as qa, b0 as Ga, a as Xa, e as Ya, b1 as Ja, u as Ka, b2 as Qa, b3 as Za, b4 as en, b5 as tn, c as rn, b6 as an, b7 as nn, b8 as on, b9 as sn, b as ln, ba as un, bb as dn } from "./chunk-PVWAREVJ-dLIqswPy.js";
3
+ import * as g from "react";
4
+ import E from "react";
5
+ import * as St from "react-dom";
6
+ var k = {}, se;
7
+ function Et() {
8
+ if (se) return k;
9
+ se = 1, Object.defineProperty(k, "__esModule", { value: !0 }), k.parse = o, k.serialize = l;
10
+ const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, a = /^[\u0020-\u003A\u003D-\u007E]*$/, n = Object.prototype.toString, s = /* @__PURE__ */ (() => {
11
+ const c = function() {
12
+ };
13
+ return c.prototype = /* @__PURE__ */ Object.create(null), c;
14
+ })();
15
+ function o(c, p) {
16
+ const f = new s(), m = c.length;
17
+ if (m < 2)
18
+ return f;
19
+ const y = p?.decode || d;
20
+ let R = 0;
21
+ do {
22
+ const S = c.indexOf("=", R);
23
+ if (S === -1)
24
+ break;
25
+ const v = c.indexOf(";", R), w = v === -1 ? m : v;
26
+ if (S > w) {
27
+ R = c.lastIndexOf(";", S - 1) + 1;
28
+ continue;
29
+ }
30
+ const _ = u(c, R, S), I = i(c, S, _), ae = c.slice(_, I);
31
+ if (f[ae] === void 0) {
32
+ let ne = u(c, S + 1, w), je = i(c, w, ne);
33
+ const Ve = y(c.slice(ne, je));
34
+ f[ae] = Ve;
35
+ }
36
+ R = w + 1;
37
+ } while (R < m);
38
+ return f;
39
+ }
40
+ function u(c, p, f) {
41
+ do {
42
+ const m = c.charCodeAt(p);
43
+ if (m !== 32 && m !== 9)
44
+ return p;
45
+ } while (++p < f);
46
+ return f;
47
+ }
48
+ function i(c, p, f) {
49
+ for (; p > f; ) {
50
+ const m = c.charCodeAt(--p);
51
+ if (m !== 32 && m !== 9)
52
+ return p + 1;
53
+ }
54
+ return f;
55
+ }
56
+ function l(c, p, f) {
57
+ const m = f?.encode || encodeURIComponent;
58
+ if (!e.test(c))
59
+ throw new TypeError(`argument name is invalid: ${c}`);
60
+ const y = m(p);
61
+ if (!t.test(y))
62
+ throw new TypeError(`argument val is invalid: ${p}`);
63
+ let R = c + "=" + y;
64
+ if (!f)
65
+ return R;
66
+ if (f.maxAge !== void 0) {
67
+ if (!Number.isInteger(f.maxAge))
68
+ throw new TypeError(`option maxAge is invalid: ${f.maxAge}`);
69
+ R += "; Max-Age=" + f.maxAge;
70
+ }
71
+ if (f.domain) {
72
+ if (!r.test(f.domain))
73
+ throw new TypeError(`option domain is invalid: ${f.domain}`);
74
+ R += "; Domain=" + f.domain;
75
+ }
76
+ if (f.path) {
77
+ if (!a.test(f.path))
78
+ throw new TypeError(`option path is invalid: ${f.path}`);
79
+ R += "; Path=" + f.path;
80
+ }
81
+ if (f.expires) {
82
+ if (!h(f.expires) || !Number.isFinite(f.expires.valueOf()))
83
+ throw new TypeError(`option expires is invalid: ${f.expires}`);
84
+ R += "; Expires=" + f.expires.toUTCString();
85
+ }
86
+ if (f.httpOnly && (R += "; HttpOnly"), f.secure && (R += "; Secure"), f.partitioned && (R += "; Partitioned"), f.priority)
87
+ switch (typeof f.priority == "string" ? f.priority.toLowerCase() : void 0) {
88
+ case "low":
89
+ R += "; Priority=Low";
90
+ break;
91
+ case "medium":
92
+ R += "; Priority=Medium";
93
+ break;
94
+ case "high":
95
+ R += "; Priority=High";
96
+ break;
97
+ default:
98
+ throw new TypeError(`option priority is invalid: ${f.priority}`);
99
+ }
100
+ if (f.sameSite)
101
+ switch (typeof f.sameSite == "string" ? f.sameSite.toLowerCase() : f.sameSite) {
102
+ case !0:
103
+ case "strict":
104
+ R += "; SameSite=Strict";
105
+ break;
106
+ case "lax":
107
+ R += "; SameSite=Lax";
108
+ break;
109
+ case "none":
110
+ R += "; SameSite=None";
111
+ break;
112
+ default:
113
+ throw new TypeError(`option sameSite is invalid: ${f.sameSite}`);
114
+ }
115
+ return R;
116
+ }
117
+ function d(c) {
118
+ if (c.indexOf("%") === -1)
119
+ return c;
120
+ try {
121
+ return decodeURIComponent(c);
122
+ } catch {
123
+ return c;
124
+ }
125
+ }
126
+ function h(c) {
127
+ return n.call(c) === "[object Date]";
128
+ }
129
+ return k;
130
+ }
131
+ var ie = Et(), x = { exports: {} }, le;
132
+ function _t() {
133
+ if (le) return x.exports;
134
+ le = 1;
135
+ var e = {
136
+ decodeValues: !0,
137
+ map: !1,
138
+ silent: !1
139
+ };
140
+ function t(o) {
141
+ return typeof o == "string" && !!o.trim();
142
+ }
143
+ function r(o, u) {
144
+ var i = o.split(";").filter(t), l = i.shift(), d = a(l), h = d.name, c = d.value;
145
+ u = u ? Object.assign({}, e, u) : e;
146
+ try {
147
+ c = u.decodeValues ? decodeURIComponent(c) : c;
148
+ } catch (f) {
149
+ console.error(
150
+ "set-cookie-parser encountered an error while decoding a cookie with value '" + c + "'. Set options.decodeValues to false to disable this feature.",
151
+ f
152
+ );
153
+ }
154
+ var p = {
155
+ name: h,
156
+ value: c
157
+ };
158
+ return i.forEach(function(f) {
159
+ var m = f.split("="), y = m.shift().trimLeft().toLowerCase(), R = m.join("=");
160
+ y === "expires" ? p.expires = new Date(R) : y === "max-age" ? p.maxAge = parseInt(R, 10) : y === "secure" ? p.secure = !0 : y === "httponly" ? p.httpOnly = !0 : y === "samesite" ? p.sameSite = R : y === "partitioned" ? p.partitioned = !0 : p[y] = R;
161
+ }), p;
162
+ }
163
+ function a(o) {
164
+ var u = "", i = "", l = o.split("=");
165
+ return l.length > 1 ? (u = l.shift(), i = l.join("=")) : i = o, { name: u, value: i };
166
+ }
167
+ function n(o, u) {
168
+ if (u = u ? Object.assign({}, e, u) : e, !o)
169
+ return u.map ? {} : [];
170
+ if (o.headers)
171
+ if (typeof o.headers.getSetCookie == "function")
172
+ o = o.headers.getSetCookie();
173
+ else if (o.headers["set-cookie"])
174
+ o = o.headers["set-cookie"];
175
+ else {
176
+ var i = o.headers[Object.keys(o.headers).find(function(d) {
177
+ return d.toLowerCase() === "set-cookie";
178
+ })];
179
+ !i && o.headers.cookie && !u.silent && console.warn(
180
+ "Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."
181
+ ), o = i;
182
+ }
183
+ if (Array.isArray(o) || (o = [o]), u.map) {
184
+ var l = {};
185
+ return o.filter(t).reduce(function(d, h) {
186
+ var c = r(h, u);
187
+ return d[c.name] = c, d;
188
+ }, l);
189
+ } else
190
+ return o.filter(t).map(function(d) {
191
+ return r(d, u);
192
+ });
193
+ }
194
+ function s(o) {
195
+ if (Array.isArray(o))
196
+ return o;
197
+ if (typeof o != "string")
198
+ return [];
199
+ var u = [], i = 0, l, d, h, c, p;
200
+ function f() {
201
+ for (; i < o.length && /\s/.test(o.charAt(i)); )
202
+ i += 1;
203
+ return i < o.length;
204
+ }
205
+ function m() {
206
+ return d = o.charAt(i), d !== "=" && d !== ";" && d !== ",";
207
+ }
208
+ for (; i < o.length; ) {
209
+ for (l = i, p = !1; f(); )
210
+ if (d = o.charAt(i), d === ",") {
211
+ for (h = i, i += 1, f(), c = i; i < o.length && m(); )
212
+ i += 1;
213
+ i < o.length && o.charAt(i) === "=" ? (p = !0, i = c, u.push(o.substring(l, h)), l = i) : i = h + 1;
214
+ } else
215
+ i += 1;
216
+ (!p || i >= o.length) && u.push(o.substring(l, o.length));
217
+ }
218
+ return u;
219
+ }
220
+ return x.exports = n, x.exports.parse = n, x.exports.parseString = r, x.exports.splitCookiesString = s, x.exports;
221
+ }
222
+ var bt = /* @__PURE__ */ _t();
223
+ /**
224
+ * react-router v7.8.2
225
+ *
226
+ * Copyright (c) Remix Software Inc.
227
+ *
228
+ * This source code is licensed under the MIT license found in the
229
+ * LICENSE.md file in the root directory of this source tree.
230
+ *
231
+ * @license MIT
232
+ */
233
+ function gr({
234
+ context: e,
235
+ url: t,
236
+ nonce: r
237
+ }) {
238
+ typeof t == "string" && (t = new URL(t));
239
+ let { manifest: a, routeModules: n, criticalCss: s, serverHandoffString: o } = e, u = We(
240
+ a.routes,
241
+ n,
242
+ e.future,
243
+ e.isSpaMode
244
+ );
245
+ e.staticHandlerContext.loaderData = {
246
+ ...e.staticHandlerContext.loaderData
247
+ };
248
+ for (let l of e.staticHandlerContext.matches) {
249
+ let d = l.route.id, h = n[d], c = e.manifest.routes[d];
250
+ h && c && $(
251
+ d,
252
+ h.clientLoader,
253
+ c.hasLoader,
254
+ e.isSpaMode
255
+ ) && (h.HydrateFallback || !c.hasLoader) && delete e.staticHandlerContext.loaderData[d];
256
+ }
257
+ let i = ve(u, e.staticHandlerContext);
258
+ return /* @__PURE__ */ g.createElement(g.Fragment, null, /* @__PURE__ */ g.createElement(
259
+ j.Provider,
260
+ {
261
+ value: {
262
+ manifest: a,
263
+ routeModules: n,
264
+ criticalCss: s,
265
+ serverHandoffString: o,
266
+ future: e.future,
267
+ ssr: e.ssr,
268
+ isSpaMode: e.isSpaMode,
269
+ routeDiscovery: e.routeDiscovery,
270
+ serializeError: e.serializeError,
271
+ renderMeta: e.renderMeta
272
+ }
273
+ },
274
+ /* @__PURE__ */ g.createElement(qe, { location: i.state.location }, /* @__PURE__ */ g.createElement(
275
+ Se,
276
+ {
277
+ router: i,
278
+ context: e.staticHandlerContext,
279
+ hydrate: !1
280
+ }
281
+ ))
282
+ ), e.serverHandoffStream ? /* @__PURE__ */ g.createElement(g.Suspense, null, /* @__PURE__ */ g.createElement(
283
+ Ge,
284
+ {
285
+ context: e,
286
+ identifier: 0,
287
+ reader: e.serverHandoffStream.getReader(),
288
+ textDecoder: new TextDecoder(),
289
+ nonce: r
290
+ }
291
+ )) : null);
292
+ }
293
+ function vr(e, t) {
294
+ return function({
295
+ initialEntries: a,
296
+ initialIndex: n,
297
+ hydrationData: s,
298
+ future: o
299
+ }) {
300
+ let u = g.useRef(), i = g.useRef();
301
+ if (u.current == null) {
302
+ i.current = {
303
+ future: {
304
+ unstable_subResourceIntegrity: o?.unstable_subResourceIntegrity === !0,
305
+ unstable_middleware: o?.unstable_middleware === !0
306
+ },
307
+ manifest: {
308
+ routes: {},
309
+ entry: { imports: [], module: "" },
310
+ url: "",
311
+ version: ""
312
+ },
313
+ routeModules: {},
314
+ ssr: !1,
315
+ isSpaMode: !1,
316
+ routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" }
317
+ };
318
+ let l = Ae(
319
+ // @ts-expect-error `StubRouteObject` is stricter about `loader`/`action`
320
+ // types compared to `AgnosticRouteObject`
321
+ Je(e, (d) => d),
322
+ t !== void 0 ? t : o?.unstable_middleware ? new X() : {},
323
+ i.current.manifest,
324
+ i.current.routeModules
325
+ );
326
+ u.current = Ke(l, {
327
+ initialEntries: a,
328
+ initialIndex: n,
329
+ hydrationData: s
330
+ });
331
+ }
332
+ return /* @__PURE__ */ g.createElement(j.Provider, { value: i.current }, /* @__PURE__ */ g.createElement(_e, { router: u.current }));
333
+ };
334
+ }
335
+ function Ae(e, t, r, a, n) {
336
+ return e.map((s) => {
337
+ if (!s.id)
338
+ throw new Error(
339
+ "Expected a route.id in react-router processRoutes() function"
340
+ );
341
+ let o = {
342
+ id: s.id,
343
+ path: s.path,
344
+ index: s.index,
345
+ Component: s.Component ? at(s.Component) : void 0,
346
+ HydrateFallback: s.HydrateFallback ? rt(s.HydrateFallback) : void 0,
347
+ ErrorBoundary: s.ErrorBoundary ? tt(s.ErrorBoundary) : void 0,
348
+ action: s.action ? (i) => s.action({ ...i, context: t }) : void 0,
349
+ loader: s.loader ? (i) => s.loader({ ...i, context: t }) : void 0,
350
+ handle: s.handle,
351
+ shouldRevalidate: s.shouldRevalidate
352
+ }, u = {
353
+ id: s.id,
354
+ path: s.path,
355
+ index: s.index,
356
+ parentId: n,
357
+ hasAction: s.action != null,
358
+ hasLoader: s.loader != null,
359
+ // When testing routes, you should be stubbing loader/action/middleware,
360
+ // not trying to re-implement the full loader/clientLoader/SSR/hydration
361
+ // flow. That is better tested via E2E tests.
362
+ hasClientAction: !1,
363
+ hasClientLoader: !1,
364
+ hasClientMiddleware: !1,
365
+ hasErrorBoundary: s.ErrorBoundary != null,
366
+ // any need for these?
367
+ module: "build/stub-path-to-module.js",
368
+ clientActionModule: void 0,
369
+ clientLoaderModule: void 0,
370
+ clientMiddlewareModule: void 0,
371
+ hydrateFallbackModule: void 0
372
+ };
373
+ return r.routes[o.id] = u, a[s.id] = {
374
+ default: o.Component || nt,
375
+ ErrorBoundary: o.ErrorBoundary || void 0,
376
+ handle: s.handle,
377
+ links: s.links,
378
+ meta: s.meta,
379
+ shouldRevalidate: s.shouldRevalidate
380
+ }, s.children && (o.children = Ae(
381
+ s.children,
382
+ t,
383
+ r,
384
+ a,
385
+ o.id
386
+ )), o;
387
+ });
388
+ }
389
+ var ee = /* @__PURE__ */ new TextEncoder(), Ct = async (e, t) => {
390
+ let r = ee.encode(e), a = await xe(t, ["sign"]), n = await crypto.subtle.sign("HMAC", a, r), s = btoa(String.fromCharCode(...new Uint8Array(n))).replace(
391
+ /=+$/,
392
+ ""
393
+ );
394
+ return e + "." + s;
395
+ }, Dt = async (e, t) => {
396
+ let r = e.lastIndexOf("."), a = e.slice(0, r), n = e.slice(r + 1), s = ee.encode(a), o = await xe(t, ["verify"]);
397
+ try {
398
+ let u = At(atob(n));
399
+ return await crypto.subtle.verify("HMAC", o, u, s) ? a : !1;
400
+ } catch {
401
+ return !1;
402
+ }
403
+ }, xe = async (e, t) => crypto.subtle.importKey(
404
+ "raw",
405
+ ee.encode(e),
406
+ { name: "HMAC", hash: "SHA-256" },
407
+ !1,
408
+ t
409
+ );
410
+ function At(e) {
411
+ let t = new Uint8Array(e.length);
412
+ for (let r = 0; r < e.length; r++)
413
+ t[r] = e.charCodeAt(r);
414
+ return t;
415
+ }
416
+ var Fe = (e, t = {}) => {
417
+ let { secrets: r = [], ...a } = {
418
+ path: "/",
419
+ sameSite: "lax",
420
+ ...t
421
+ };
422
+ return Ht(e, a.expires), {
423
+ get name() {
424
+ return e;
425
+ },
426
+ get isSigned() {
427
+ return r.length > 0;
428
+ },
429
+ get expires() {
430
+ return typeof a.maxAge < "u" ? new Date(Date.now() + a.maxAge * 1e3) : a.expires;
431
+ },
432
+ async parse(n, s) {
433
+ if (!n) return null;
434
+ let o = ie.parse(n, { ...a, ...s });
435
+ if (e in o) {
436
+ let u = o[e];
437
+ return typeof u == "string" && u !== "" ? await Ft(u, r) : "";
438
+ } else
439
+ return null;
440
+ },
441
+ async serialize(n, s) {
442
+ return ie.serialize(
443
+ e,
444
+ n === "" ? "" : await xt(n, r),
445
+ {
446
+ ...a,
447
+ ...s
448
+ }
449
+ );
450
+ }
451
+ };
452
+ }, ke = (e) => e != null && typeof e.name == "string" && typeof e.isSigned == "boolean" && typeof e.parse == "function" && typeof e.serialize == "function";
453
+ async function xt(e, t) {
454
+ let r = kt(e);
455
+ return t.length > 0 && (r = await Ct(r, t[0])), r;
456
+ }
457
+ async function Ft(e, t) {
458
+ if (t.length > 0) {
459
+ for (let r of t) {
460
+ let a = await Dt(e, r);
461
+ if (a !== !1)
462
+ return ue(a);
463
+ }
464
+ return null;
465
+ }
466
+ return ue(e);
467
+ }
468
+ function kt(e) {
469
+ return btoa(Tt(encodeURIComponent(JSON.stringify(e))));
470
+ }
471
+ function ue(e) {
472
+ try {
473
+ return JSON.parse(decodeURIComponent(Lt(atob(e))));
474
+ } catch {
475
+ return {};
476
+ }
477
+ }
478
+ function Lt(e) {
479
+ let t = e.toString(), r = "", a = 0, n, s;
480
+ for (; a < t.length; )
481
+ n = t.charAt(a++), /[\w*+\-./@]/.exec(n) ? r += n : (s = n.charCodeAt(0), s < 256 ? r += "%" + de(s, 2) : r += "%u" + de(s, 4).toUpperCase());
482
+ return r;
483
+ }
484
+ function de(e, t) {
485
+ let r = e.toString(16);
486
+ for (; r.length < t; ) r = "0" + r;
487
+ return r;
488
+ }
489
+ function Tt(e) {
490
+ let t = e.toString(), r = "", a = 0, n, s;
491
+ for (; a < t.length; ) {
492
+ if (n = t.charAt(a++), n === "%") {
493
+ if (t.charAt(a) === "u") {
494
+ if (s = t.slice(a + 1, a + 5), /^[\da-f]{4}$/i.exec(s)) {
495
+ r += String.fromCharCode(parseInt(s, 16)), a += 5;
496
+ continue;
497
+ }
498
+ } else if (s = t.slice(a, a + 2), /^[\da-f]{2}$/i.exec(s)) {
499
+ r += String.fromCharCode(parseInt(s, 16)), a += 2;
500
+ continue;
501
+ }
502
+ }
503
+ r += n;
504
+ }
505
+ return r;
506
+ }
507
+ function Ht(e, t) {
508
+ De(
509
+ !t,
510
+ `The "${e}" cookie has an "expires" property set. This will cause the expires value to not be updated when the session is committed. Instead, you should set the expires value when serializing the cookie. You can use \`commitSession(session, { expires })\` if using a session storage object, or \`cookie.serialize("value", { expires })\` if you're using the cookie directly.`
511
+ );
512
+ }
513
+ function It(e) {
514
+ return Object.keys(e).reduce((t, r) => {
515
+ let a = e[r];
516
+ return a && (t[r] = a.module), t;
517
+ }, {});
518
+ }
519
+ var Pt = /* @__PURE__ */ ((e) => (e.Development = "development", e.Production = "production", e.Test = "test", e))(Pt || {});
520
+ function Ut(e) {
521
+ return e === "development" || e === "production" || e === "test";
522
+ }
523
+ function V(e, t) {
524
+ if (e instanceof Error && t !== "development") {
525
+ let r = new Error("Unexpected Server Error");
526
+ return r.stack = void 0, r;
527
+ }
528
+ return e;
529
+ }
530
+ function O(e, t) {
531
+ return Object.entries(e).reduce((r, [a, n]) => Object.assign(r, { [a]: V(n, t) }), {});
532
+ }
533
+ function Le(e, t) {
534
+ let r = V(e, t);
535
+ return {
536
+ message: r.message,
537
+ stack: r.stack
538
+ };
539
+ }
540
+ function ce(e, t) {
541
+ if (!e) return null;
542
+ let r = Object.entries(e), a = {};
543
+ for (let [n, s] of r)
544
+ if (A(s))
545
+ a[n] = { ...s, __type: "RouteErrorResponse" };
546
+ else if (s instanceof Error) {
547
+ let o = V(s, t);
548
+ a[n] = {
549
+ message: o.message,
550
+ stack: o.stack,
551
+ __type: "Error",
552
+ // If this is a subclass (i.e., ReferenceError), send up the type so we
553
+ // can re-create the same type during hydration. This will only apply
554
+ // in dev mode since all production errors are sanitized to normal
555
+ // Error instances
556
+ ...o.name !== "Error" ? {
557
+ __subType: o.name
558
+ } : {}
559
+ };
560
+ } else
561
+ a[n] = s;
562
+ return a;
563
+ }
564
+ function Y(e, t, r) {
565
+ let a = Ee(
566
+ e,
567
+ t,
568
+ r
569
+ );
570
+ return a ? a.map((n) => ({
571
+ params: n.params,
572
+ pathname: n.pathname,
573
+ route: n.route
574
+ })) : null;
575
+ }
576
+ async function fe(e, t) {
577
+ let r = await e({
578
+ request: Nt(Mt(t.request)),
579
+ params: t.params,
580
+ context: t.context
581
+ });
582
+ if (yt(r) && r.init && r.init.status && Z(r.init.status))
583
+ throw new Response(null, r.init);
584
+ return r;
585
+ }
586
+ function Mt(e) {
587
+ let t = new URL(e.url), r = t.searchParams.getAll("index");
588
+ t.searchParams.delete("index");
589
+ let a = [];
590
+ for (let s of r)
591
+ s && a.push(s);
592
+ for (let s of a)
593
+ t.searchParams.append("index", s);
594
+ let n = {
595
+ method: e.method,
596
+ body: e.body,
597
+ headers: e.headers,
598
+ signal: e.signal
599
+ };
600
+ return n.body && (n.duplex = "half"), new Request(t.href, n);
601
+ }
602
+ function Nt(e) {
603
+ let t = new URL(e.url);
604
+ t.searchParams.delete("_routes");
605
+ let r = {
606
+ method: e.method,
607
+ body: e.body,
608
+ headers: e.headers,
609
+ signal: e.signal
610
+ };
611
+ return r.body && (r.duplex = "half"), new Request(t.href, r);
612
+ }
613
+ function M(e, t) {
614
+ if (e === !1 || e === null || typeof e > "u")
615
+ throw console.error(
616
+ "The following error is a bug in React Router; please open an issue! https://github.com/remix-run/react-router/issues/new/choose"
617
+ ), new Error(t);
618
+ }
619
+ var Te = "__reactRouterDevServerHooks";
620
+ function Sr(e) {
621
+ globalThis[Te] = e;
622
+ }
623
+ function W() {
624
+ return globalThis[Te];
625
+ }
626
+ function He(e, t) {
627
+ if (typeof process < "u")
628
+ try {
629
+ if (process.env?.IS_RR_BUILD_REQUEST === "yes")
630
+ return e.headers.get(t);
631
+ } catch {
632
+ }
633
+ return null;
634
+ }
635
+ function Ie(e) {
636
+ let t = {};
637
+ return Object.values(e).forEach((r) => {
638
+ if (r) {
639
+ let a = r.parentId || "";
640
+ t[a] || (t[a] = []), t[a].push(r);
641
+ }
642
+ }), t;
643
+ }
644
+ function Pe(e, t = "", r = Ie(e)) {
645
+ return (r[t] || []).map((a) => ({
646
+ ...a,
647
+ children: Pe(e, a.id, r)
648
+ }));
649
+ }
650
+ function Ue(e, t, r = "", a = Ie(e)) {
651
+ return (a[r] || []).map((n) => {
652
+ let s = {
653
+ // Always include root due to default boundaries
654
+ hasErrorBoundary: n.id === "root" || n.module.ErrorBoundary != null,
655
+ id: n.id,
656
+ path: n.path,
657
+ unstable_middleware: n.module.unstable_middleware,
658
+ // Need to use RR's version in the param typed here to permit the optional
659
+ // context even though we know it'll always be provided in remix
660
+ loader: n.module.loader ? async (o) => {
661
+ let u = He(
662
+ o.request,
663
+ "X-React-Router-Prerender-Data"
664
+ );
665
+ if (u != null) {
666
+ let l = u && decodeURI(u);
667
+ M(l, "Missing prerendered data for route");
668
+ let d = new TextEncoder().encode(l), h = new ReadableStream({
669
+ start(f) {
670
+ f.enqueue(d), f.close();
671
+ }
672
+ }), p = (await lt(h, global)).value;
673
+ if (p && T in p) {
674
+ let f = p[T], m = { status: f.status };
675
+ throw f.reload ? ut(f.redirect, m) : f.replace ? dt(f.redirect, m) : ct(f.redirect, m);
676
+ } else {
677
+ M(
678
+ p && n.id in p,
679
+ "Unable to decode prerendered data"
680
+ );
681
+ let f = p[n.id];
682
+ return M(
683
+ "data" in f,
684
+ "Unable to process prerendered data"
685
+ ), f.data;
686
+ }
687
+ }
688
+ return await fe(n.module.loader, o);
689
+ } : void 0,
690
+ action: n.module.action ? (o) => fe(n.module.action, o) : void 0,
691
+ handle: n.module.handle
692
+ };
693
+ return n.index ? {
694
+ index: !0,
695
+ ...s
696
+ } : {
697
+ caseSensitive: n.caseSensitive,
698
+ children: Ue(
699
+ e,
700
+ t,
701
+ n.id,
702
+ a
703
+ ),
704
+ ...s
705
+ };
706
+ });
707
+ }
708
+ var Ot = {
709
+ "&": "\\u0026",
710
+ ">": "\\u003e",
711
+ "<": "\\u003c",
712
+ "\u2028": "\\u2028",
713
+ "\u2029": "\\u2029"
714
+ }, zt = /[&><\u2028\u2029]/g;
715
+ function Bt(e) {
716
+ return e.replace(zt, (t) => Ot[t]);
717
+ }
718
+ function he(e) {
719
+ return Bt(JSON.stringify(e));
720
+ }
721
+ function te(e, t) {
722
+ return $t(e, (r) => {
723
+ let a = t.routes[r.route.id];
724
+ return M(a, `Route with id "${r.route.id}" not found in build`), a.module.headers;
725
+ });
726
+ }
727
+ function $t(e, t, r) {
728
+ let a = e.errors ? e.matches.findIndex((u) => e.errors[u.route.id]) : -1, n = a >= 0 ? e.matches.slice(0, a + 1) : e.matches, s;
729
+ if (a >= 0) {
730
+ let { actionHeaders: u, actionData: i, loaderHeaders: l, loaderData: d } = e;
731
+ e.matches.slice(a).some((h) => {
732
+ let c = h.route.id;
733
+ return u[c] && (!i || !i.hasOwnProperty(c)) ? s = u[c] : l[c] && !d.hasOwnProperty(c) && (s = l[c]), s != null;
734
+ });
735
+ }
736
+ const o = new Headers(r);
737
+ return n.reduce((u, i, l) => {
738
+ let { id: d } = i.route, h = e.loaderHeaders[d] || new Headers(), c = e.actionHeaders[d] || new Headers(), p = s != null && l === n.length - 1, f = p && s !== h && s !== c, m = t(i);
739
+ if (m == null) {
740
+ let R = new Headers(u);
741
+ return f && b(s, R), b(c, R), b(h, R), R;
742
+ }
743
+ let y = new Headers(
744
+ typeof m == "function" ? m({
745
+ loaderHeaders: h,
746
+ parentHeaders: u,
747
+ actionHeaders: c,
748
+ errorHeaders: p ? s : void 0
749
+ }) : m
750
+ );
751
+ return f && b(s, y), b(c, y), b(h, y), b(u, y), y;
752
+ }, new Headers(o));
753
+ }
754
+ function b(e, t) {
755
+ let r = e.get("Set-Cookie");
756
+ if (r) {
757
+ let a = bt.splitCookiesString(r), n = new Set(t.getSetCookie());
758
+ a.forEach((s) => {
759
+ n.has(s) || t.append("Set-Cookie", s);
760
+ });
761
+ }
762
+ }
763
+ var Me = /* @__PURE__ */ new Set([
764
+ ...ft,
765
+ 304
766
+ ]);
767
+ async function jt(e, t, r, a, n, s, o) {
768
+ try {
769
+ let d = new Request(n, {
770
+ method: a.method,
771
+ body: a.body,
772
+ headers: a.headers,
773
+ signal: a.signal,
774
+ ...a.body ? { duplex: "half" } : void 0
775
+ }), h = await r.query(d, {
776
+ requestContext: s,
777
+ skipLoaderErrorBubbling: !0,
778
+ skipRevalidation: !0,
779
+ unstable_generateMiddlewareResponse: e.future.unstable_middleware ? async (c) => {
780
+ try {
781
+ let p = await c(d);
782
+ return u(p);
783
+ } catch (p) {
784
+ return i(p);
785
+ }
786
+ } : void 0
787
+ });
788
+ return u(h);
789
+ } catch (d) {
790
+ return i(d);
791
+ }
792
+ function u(d) {
793
+ return C(d) ? d : l(d);
794
+ }
795
+ function i(d) {
796
+ return o(d), H(a, e, t, {
797
+ result: { error: d },
798
+ headers: new Headers(),
799
+ status: 500
800
+ });
801
+ }
802
+ function l(d) {
803
+ let h = te(d, e);
804
+ if (Z(d.statusCode) && h.has("Location"))
805
+ return new Response(null, { status: d.statusCode, headers: h });
806
+ d.errors && (Object.values(d.errors).forEach((p) => {
807
+ (!A(p) || p.error) && o(p);
808
+ }), d.errors = O(d.errors, t));
809
+ let c;
810
+ return d.errors ? c = { error: Object.values(d.errors)[0] } : c = {
811
+ data: Object.values(d.actionData || {})[0]
812
+ }, H(a, e, t, {
813
+ result: c,
814
+ headers: h,
815
+ status: d.statusCode
816
+ });
817
+ }
818
+ }
819
+ async function Vt(e, t, r, a, n, s, o) {
820
+ let u = new URL(a.url).searchParams.get("_routes"), i = u ? new Set(u.split(",")) : null;
821
+ try {
822
+ let c = new Request(n, {
823
+ headers: a.headers,
824
+ signal: a.signal
825
+ }), p = await r.query(c, {
826
+ requestContext: s,
827
+ filterMatchesToLoad: (f) => !i || i.has(f.route.id),
828
+ skipLoaderErrorBubbling: !0,
829
+ unstable_generateMiddlewareResponse: e.future.unstable_middleware ? async (f) => {
830
+ try {
831
+ let m = await f(c);
832
+ return l(m);
833
+ } catch (m) {
834
+ return d(m);
835
+ }
836
+ } : void 0
837
+ });
838
+ return l(p);
839
+ } catch (c) {
840
+ return d(c);
841
+ }
842
+ function l(c) {
843
+ return C(c) ? c : h(c);
844
+ }
845
+ function d(c) {
846
+ return o(c), H(a, e, t, {
847
+ result: { error: c },
848
+ headers: new Headers(),
849
+ status: 500
850
+ });
851
+ }
852
+ function h(c) {
853
+ let p = te(c, e);
854
+ if (Z(c.statusCode) && p.has("Location"))
855
+ return new Response(null, { status: c.statusCode, headers: p });
856
+ c.errors && (Object.values(c.errors).forEach((y) => {
857
+ (!A(y) || y.error) && o(y);
858
+ }), c.errors = O(c.errors, t));
859
+ let f = {}, m = new Set(
860
+ c.matches.filter(
861
+ (y) => i ? i.has(y.route.id) : y.route.loader != null
862
+ ).map((y) => y.route.id)
863
+ );
864
+ if (c.errors)
865
+ for (let [y, R] of Object.entries(c.errors))
866
+ f[y] = { error: R };
867
+ for (let [y, R] of Object.entries(c.loaderData))
868
+ !(y in f) && m.has(y) && (f[y] = { data: R });
869
+ return H(a, e, t, {
870
+ result: f,
871
+ headers: p,
872
+ status: c.statusCode
873
+ });
874
+ }
875
+ }
876
+ function H(e, t, r, {
877
+ result: a,
878
+ headers: n,
879
+ status: s
880
+ }) {
881
+ let o = new Headers(n);
882
+ return o.set("X-Remix-Response", "yes"), Me.has(s) ? new Response(null, { status: s, headers: o }) : (o.set("Content-Type", "text/x-script"), o.delete("Content-Length"), new Response(
883
+ J(
884
+ a,
885
+ e.signal,
886
+ t.entry.module.streamTimeout,
887
+ r
888
+ ),
889
+ {
890
+ status: s || 200,
891
+ headers: o
892
+ }
893
+ ));
894
+ }
895
+ function pe(e, t, r, a) {
896
+ let n = Wt(
897
+ e.status,
898
+ e.headers,
899
+ r.basename
900
+ ), s = new Headers(e.headers);
901
+ return s.delete("Location"), s.set("Content-Type", "text/x-script"), H(t, r, a, {
902
+ result: t.method === "GET" ? { [T]: n } : n,
903
+ headers: s,
904
+ status: Ce
905
+ });
906
+ }
907
+ function Wt(e, t, r) {
908
+ let a = t.get("Location");
909
+ return r && (a = U(a, r) || a), {
910
+ redirect: a,
911
+ status: e,
912
+ revalidate: (
913
+ // Technically X-Remix-Revalidate isn't needed here - that was an implementation
914
+ // detail of ?_data requests as our way to tell the front end to revalidate when
915
+ // we didn't have a response body to include that information in.
916
+ // With single fetch, we tell the front end via this revalidate boolean field.
917
+ // However, we're respecting it for now because it may be something folks have
918
+ // used in their own responses
919
+ // TODO(v3): Consider removing or making this official public API
920
+ t.has("X-Remix-Revalidate") || t.has("Set-Cookie")
921
+ ),
922
+ reload: t.has("X-Remix-Reload-Document"),
923
+ replace: t.has("X-Remix-Replace")
924
+ };
925
+ }
926
+ function J(e, t, r, a) {
927
+ let n = new AbortController(), s = setTimeout(
928
+ () => n.abort(new Error("Server Timeout")),
929
+ typeof r == "number" ? r : 4950
930
+ );
931
+ return t.addEventListener("abort", () => clearTimeout(s)), ht(e, {
932
+ signal: n.signal,
933
+ plugins: [
934
+ (o) => {
935
+ if (o instanceof Error) {
936
+ let { name: u, message: i, stack: l } = a === "production" ? V(o, a) : o;
937
+ return ["SanitizedError", u, i, l];
938
+ }
939
+ if (o instanceof D) {
940
+ let { data: u, status: i, statusText: l } = o;
941
+ return ["ErrorResponse", u, i, l];
942
+ }
943
+ if (o && typeof o == "object" && T in o)
944
+ return ["SingleFetchRedirect", o[T]];
945
+ }
946
+ ],
947
+ postPlugins: [
948
+ (o) => {
949
+ if (o && typeof o == "object")
950
+ return [
951
+ "SingleFetchClassInstance",
952
+ Object.fromEntries(Object.entries(o))
953
+ ];
954
+ },
955
+ () => ["SingleFetchFallback"]
956
+ ]
957
+ });
958
+ }
959
+ function me(e, t) {
960
+ let r = Pe(e.routes), a = Ue(e.routes, e.future), n = Ut(t) ? t : "production", s = Ze(a, {
961
+ basename: e.basename
962
+ }), o = e.entry.module.handleError || ((u, { request: i }) => {
963
+ n !== "test" && !i.signal.aborted && console.error(
964
+ // @ts-expect-error This is "private" from users but intended for internal use
965
+ A(u) && u.error ? u.error : u
966
+ );
967
+ });
968
+ return {
969
+ routes: r,
970
+ dataRoutes: a,
971
+ serverMode: n,
972
+ staticHandler: s,
973
+ errorHandler: o
974
+ };
975
+ }
976
+ var Er = (e, t) => {
977
+ let r, a, n, s, o;
978
+ return async function(i, l) {
979
+ if (r = typeof e == "function" ? await e() : e, typeof e == "function") {
980
+ let w = me(r, t);
981
+ a = w.routes, n = w.serverMode, s = w.staticHandler, o = w.errorHandler;
982
+ } else if (!a || !n || !s || !o) {
983
+ let w = me(r, t);
984
+ a = w.routes, n = w.serverMode, s = w.staticHandler, o = w.errorHandler;
985
+ }
986
+ let d = {}, h, c = (w) => {
987
+ t === "development" && W()?.processRequestError?.(w), o(w, {
988
+ context: h,
989
+ params: d,
990
+ request: i
991
+ });
992
+ };
993
+ if (r.future.unstable_middleware) {
994
+ if (l && !(l instanceof X)) {
995
+ let w = new Error(
996
+ "Invalid `context` value provided to `handleRequest`. When middleware is enabled you must return an instance of `unstable_RouterContextProvider` from your `getLoadContext` function."
997
+ );
998
+ return c(w), z(w, n);
999
+ }
1000
+ h = l || new X();
1001
+ } else
1002
+ h = l || {};
1003
+ let p = new URL(i.url), f = r.basename || "/", m = p.pathname;
1004
+ U(m, f) === "/_root.data" ? m = f : m.endsWith(".data") && (m = m.replace(/\.data$/, "")), U(m, f) !== "/" && m.endsWith("/") && (m = m.slice(0, -1));
1005
+ let y = He(i, "X-React-Router-SPA-Mode") === "yes";
1006
+ if (!r.ssr) {
1007
+ let w = decodeURI(m);
1008
+ if (f !== "/") {
1009
+ let _ = U(w, f);
1010
+ if (_ == null)
1011
+ return o(
1012
+ new D(
1013
+ 404,
1014
+ "Not Found",
1015
+ `Refusing to prerender the \`${w}\` path because it does not start with the basename \`${f}\``
1016
+ ),
1017
+ {
1018
+ context: h,
1019
+ params: d,
1020
+ request: i
1021
+ }
1022
+ ), new Response("Not Found", {
1023
+ status: 404,
1024
+ statusText: "Not Found"
1025
+ });
1026
+ w = _;
1027
+ }
1028
+ if (r.prerender.length === 0)
1029
+ y = !0;
1030
+ else if (!r.prerender.includes(w) && !r.prerender.includes(w + "/")) {
1031
+ if (p.pathname.endsWith(".data"))
1032
+ return o(
1033
+ new D(
1034
+ 404,
1035
+ "Not Found",
1036
+ `Refusing to SSR the path \`${w}\` because \`ssr:false\` is set and the path is not included in the \`prerender\` config, so in production the path will be a 404.`
1037
+ ),
1038
+ {
1039
+ context: h,
1040
+ params: d,
1041
+ request: i
1042
+ }
1043
+ ), new Response("Not Found", {
1044
+ status: 404,
1045
+ statusText: "Not Found"
1046
+ });
1047
+ y = !0;
1048
+ }
1049
+ }
1050
+ let R = Ye(
1051
+ r.routeDiscovery.manifestPath,
1052
+ f
1053
+ );
1054
+ if (p.pathname === R)
1055
+ try {
1056
+ return await qt(r, a, p);
1057
+ } catch (w) {
1058
+ return c(w), new Response("Unknown Server Error", { status: 500 });
1059
+ }
1060
+ let S = Y(a, m, r.basename);
1061
+ S && S.length > 0 && Object.assign(d, S[0].params);
1062
+ let v;
1063
+ if (p.pathname.endsWith(".data")) {
1064
+ let w = new URL(i.url);
1065
+ w.pathname = m;
1066
+ let _ = Y(
1067
+ a,
1068
+ w.pathname,
1069
+ r.basename
1070
+ );
1071
+ v = await Gt(
1072
+ n,
1073
+ r,
1074
+ s,
1075
+ i,
1076
+ w,
1077
+ h,
1078
+ c
1079
+ ), oe(v) && (v = pe(
1080
+ v,
1081
+ i,
1082
+ r,
1083
+ n
1084
+ )), r.entry.module.handleDataRequest && (v = await r.entry.module.handleDataRequest(v, {
1085
+ context: h,
1086
+ params: _ ? _[0].params : {},
1087
+ request: i
1088
+ }), oe(v) && (v = pe(
1089
+ v,
1090
+ i,
1091
+ r,
1092
+ n
1093
+ )));
1094
+ } else if (!y && S && S[S.length - 1].route.module.default == null && S[S.length - 1].route.module.ErrorBoundary == null)
1095
+ v = await Yt(
1096
+ n,
1097
+ r,
1098
+ s,
1099
+ S.slice(-1)[0].route.id,
1100
+ i,
1101
+ h,
1102
+ c
1103
+ );
1104
+ else {
1105
+ let { pathname: w } = p, _;
1106
+ r.unstable_getCriticalCss ? _ = await r.unstable_getCriticalCss({ pathname: w }) : t === "development" && W()?.getCriticalCss && (_ = await W()?.getCriticalCss?.(w)), v = await Xt(
1107
+ n,
1108
+ r,
1109
+ s,
1110
+ i,
1111
+ h,
1112
+ c,
1113
+ y,
1114
+ _
1115
+ );
1116
+ }
1117
+ return i.method === "HEAD" ? new Response(null, {
1118
+ headers: v.headers,
1119
+ status: v.status,
1120
+ statusText: v.statusText
1121
+ }) : v;
1122
+ };
1123
+ };
1124
+ async function qt(e, t, r) {
1125
+ if (e.assets.version !== r.searchParams.get("version"))
1126
+ return new Response(null, {
1127
+ status: 204,
1128
+ headers: {
1129
+ "X-Remix-Reload-Document": "true"
1130
+ }
1131
+ });
1132
+ let a = {};
1133
+ if (r.searchParams.has("p")) {
1134
+ let n = /* @__PURE__ */ new Set();
1135
+ r.searchParams.getAll("p").forEach((s) => {
1136
+ s.startsWith("/") || (s = `/${s}`);
1137
+ let o = s.split("/").slice(1);
1138
+ o.forEach((u, i) => {
1139
+ let l = o.slice(0, i + 1).join("/");
1140
+ n.add(`/${l}`);
1141
+ });
1142
+ });
1143
+ for (let s of n) {
1144
+ let o = Y(t, s, e.basename);
1145
+ if (o)
1146
+ for (let u of o) {
1147
+ let i = u.route.id, l = e.assets.routes[i];
1148
+ l && (a[i] = l);
1149
+ }
1150
+ }
1151
+ return Response.json(a, {
1152
+ headers: {
1153
+ "Cache-Control": "public, max-age=31536000, immutable"
1154
+ }
1155
+ });
1156
+ }
1157
+ return new Response("Invalid Request", { status: 400 });
1158
+ }
1159
+ async function Gt(e, t, r, a, n, s, o) {
1160
+ return a.method !== "GET" ? await jt(
1161
+ t,
1162
+ e,
1163
+ r,
1164
+ a,
1165
+ n,
1166
+ s,
1167
+ o
1168
+ ) : await Vt(
1169
+ t,
1170
+ e,
1171
+ r,
1172
+ a,
1173
+ n,
1174
+ s,
1175
+ o
1176
+ );
1177
+ }
1178
+ async function Xt(e, t, r, a, n, s, o, u) {
1179
+ try {
1180
+ let l = await r.query(a, {
1181
+ requestContext: n,
1182
+ unstable_generateMiddlewareResponse: t.future.unstable_middleware ? async (d) => {
1183
+ try {
1184
+ let h = await d(a);
1185
+ return C(h) || (h = await i(h, o)), h;
1186
+ } catch (h) {
1187
+ return s(h), new Response(null, { status: 500 });
1188
+ }
1189
+ } : void 0
1190
+ });
1191
+ return C(l) || (l = await i(l, o)), l;
1192
+ } catch (l) {
1193
+ return s(l), new Response(null, { status: 500 });
1194
+ }
1195
+ async function i(l, d) {
1196
+ let h = te(l, t);
1197
+ if (Me.has(l.statusCode))
1198
+ return new Response(null, { status: l.statusCode, headers: h });
1199
+ l.errors && (Object.values(l.errors).forEach((y) => {
1200
+ (!A(y) || y.error) && s(y);
1201
+ }), l.errors = O(l.errors, e));
1202
+ let c = {
1203
+ loaderData: l.loaderData,
1204
+ actionData: l.actionData,
1205
+ errors: ce(l.errors, e)
1206
+ }, p = {
1207
+ basename: t.basename,
1208
+ future: t.future,
1209
+ routeDiscovery: t.routeDiscovery,
1210
+ ssr: t.ssr,
1211
+ isSpaMode: d
1212
+ }, f = {
1213
+ manifest: t.assets,
1214
+ routeModules: It(t.routes),
1215
+ staticHandlerContext: l,
1216
+ criticalCss: u,
1217
+ serverHandoffString: he({
1218
+ ...p,
1219
+ criticalCss: u
1220
+ }),
1221
+ serverHandoffStream: J(
1222
+ c,
1223
+ a.signal,
1224
+ t.entry.module.streamTimeout,
1225
+ e
1226
+ ),
1227
+ renderMeta: {},
1228
+ future: t.future,
1229
+ ssr: t.ssr,
1230
+ routeDiscovery: t.routeDiscovery,
1231
+ isSpaMode: d,
1232
+ serializeError: (y) => Le(y, e)
1233
+ }, m = t.entry.module.default;
1234
+ try {
1235
+ return await m(
1236
+ a,
1237
+ l.statusCode,
1238
+ h,
1239
+ f,
1240
+ n
1241
+ );
1242
+ } catch (y) {
1243
+ s(y);
1244
+ let R = y;
1245
+ if (C(y))
1246
+ try {
1247
+ let v = await Kt(y);
1248
+ R = new D(
1249
+ y.status,
1250
+ y.statusText,
1251
+ v
1252
+ );
1253
+ } catch {
1254
+ }
1255
+ l = et(
1256
+ r.dataRoutes,
1257
+ l,
1258
+ R
1259
+ ), l.errors && (l.errors = O(l.errors, e));
1260
+ let S = {
1261
+ loaderData: l.loaderData,
1262
+ actionData: l.actionData,
1263
+ errors: ce(l.errors, e)
1264
+ };
1265
+ f = {
1266
+ ...f,
1267
+ staticHandlerContext: l,
1268
+ serverHandoffString: he(p),
1269
+ serverHandoffStream: J(
1270
+ S,
1271
+ a.signal,
1272
+ t.entry.module.streamTimeout,
1273
+ e
1274
+ ),
1275
+ renderMeta: {}
1276
+ };
1277
+ try {
1278
+ return await m(
1279
+ a,
1280
+ l.statusCode,
1281
+ h,
1282
+ f,
1283
+ n
1284
+ );
1285
+ } catch (v) {
1286
+ return s(v), z(v, e);
1287
+ }
1288
+ }
1289
+ }
1290
+ }
1291
+ async function Yt(e, t, r, a, n, s, o) {
1292
+ try {
1293
+ let l = await r.queryRoute(n, {
1294
+ routeId: a,
1295
+ requestContext: s,
1296
+ unstable_generateMiddlewareResponse: t.future.unstable_middleware ? async (d) => {
1297
+ try {
1298
+ let h = await d(n);
1299
+ return u(h);
1300
+ } catch (h) {
1301
+ return i(h);
1302
+ }
1303
+ } : void 0
1304
+ });
1305
+ return u(l);
1306
+ } catch (l) {
1307
+ return i(l);
1308
+ }
1309
+ function u(l) {
1310
+ return C(l) ? l : typeof l == "string" ? new Response(l) : Response.json(l);
1311
+ }
1312
+ function i(l) {
1313
+ if (C(l))
1314
+ return l.headers.set("X-Remix-Catch", "yes"), l;
1315
+ if (A(l))
1316
+ return o(l), Jt(l, e);
1317
+ if (l instanceof Error && l.message === "Expected a response from queryRoute") {
1318
+ let d = new Error(
1319
+ "Expected a Response to be returned from resource route handler"
1320
+ );
1321
+ return o(d), z(d, e);
1322
+ }
1323
+ return o(l), z(l, e);
1324
+ }
1325
+ }
1326
+ function Jt(e, t) {
1327
+ return Response.json(
1328
+ Le(
1329
+ // @ts-expect-error This is "private" from users but intended for internal use
1330
+ e.error || new Error("Unexpected Server Error"),
1331
+ t
1332
+ ),
1333
+ {
1334
+ status: e.status,
1335
+ statusText: e.statusText,
1336
+ headers: {
1337
+ "X-Remix-Error": "yes"
1338
+ }
1339
+ }
1340
+ );
1341
+ }
1342
+ function z(e, t) {
1343
+ let r = "Unexpected Server Error";
1344
+ return t !== "production" && (r += `
1345
+
1346
+ ${String(e)}`), new Response(r, {
1347
+ status: 500,
1348
+ headers: {
1349
+ "Content-Type": "text/plain"
1350
+ }
1351
+ });
1352
+ }
1353
+ function Kt(e) {
1354
+ let t = e.headers.get("Content-Type");
1355
+ return t && /\bapplication\/json\b/.test(t) ? e.body == null ? null : e.json() : e.text();
1356
+ }
1357
+ function q(e) {
1358
+ return `__flash_${e}__`;
1359
+ }
1360
+ var Ne = (e = {}, t = "") => {
1361
+ let r = new Map(Object.entries(e));
1362
+ return {
1363
+ get id() {
1364
+ return t;
1365
+ },
1366
+ get data() {
1367
+ return Object.fromEntries(r);
1368
+ },
1369
+ has(a) {
1370
+ return r.has(a) || r.has(q(a));
1371
+ },
1372
+ get(a) {
1373
+ if (r.has(a)) return r.get(a);
1374
+ let n = q(a);
1375
+ if (r.has(n)) {
1376
+ let s = r.get(n);
1377
+ return r.delete(n), s;
1378
+ }
1379
+ },
1380
+ set(a, n) {
1381
+ r.set(a, n);
1382
+ },
1383
+ flash(a, n) {
1384
+ r.set(q(a), n);
1385
+ },
1386
+ unset(a) {
1387
+ r.delete(a);
1388
+ }
1389
+ };
1390
+ }, _r = (e) => e != null && typeof e.id == "string" && typeof e.data < "u" && typeof e.has == "function" && typeof e.get == "function" && typeof e.set == "function" && typeof e.flash == "function" && typeof e.unset == "function";
1391
+ function Qt({
1392
+ cookie: e,
1393
+ createData: t,
1394
+ readData: r,
1395
+ updateData: a,
1396
+ deleteData: n
1397
+ }) {
1398
+ let s = ke(e) ? e : Fe(e?.name || "__session", e);
1399
+ return Oe(s), {
1400
+ async getSession(o, u) {
1401
+ let i = o && await s.parse(o, u), l = i && await r(i);
1402
+ return Ne(l || {}, i || "");
1403
+ },
1404
+ async commitSession(o, u) {
1405
+ let { id: i, data: l } = o, d = u?.maxAge != null ? new Date(Date.now() + u.maxAge * 1e3) : u?.expires != null ? u.expires : s.expires;
1406
+ return i ? await a(i, l, d) : i = await t(l, d), s.serialize(i, u);
1407
+ },
1408
+ async destroySession(o, u) {
1409
+ return await n(o.id), s.serialize("", {
1410
+ ...u,
1411
+ maxAge: void 0,
1412
+ expires: /* @__PURE__ */ new Date(0)
1413
+ });
1414
+ }
1415
+ };
1416
+ }
1417
+ function Oe(e) {
1418
+ De(
1419
+ e.isSigned,
1420
+ `The "${e.name}" cookie is not signed, but session cookies should be signed to prevent tampering on the client before they are sent back to the server. See https://reactrouter.com/explanation/sessions-and-cookies#signing-cookies for more information.`
1421
+ );
1422
+ }
1423
+ function br({ cookie: e } = {}) {
1424
+ let t = ke(e) ? e : Fe(e?.name || "__session", e);
1425
+ return Oe(t), {
1426
+ async getSession(r, a) {
1427
+ return Ne(
1428
+ r && await t.parse(r, a) || {}
1429
+ );
1430
+ },
1431
+ async commitSession(r, a) {
1432
+ let n = await t.serialize(r.data, a);
1433
+ if (n.length > 4096)
1434
+ throw new Error(
1435
+ "Cookie length will exceed browser maximum. Length: " + n.length
1436
+ );
1437
+ return n;
1438
+ },
1439
+ async destroySession(r, a) {
1440
+ return t.serialize("", {
1441
+ ...a,
1442
+ maxAge: void 0,
1443
+ expires: /* @__PURE__ */ new Date(0)
1444
+ });
1445
+ }
1446
+ };
1447
+ }
1448
+ function Cr({ cookie: e } = {}) {
1449
+ let t = /* @__PURE__ */ new Map();
1450
+ return Qt({
1451
+ cookie: e,
1452
+ async createData(r, a) {
1453
+ let n = Math.random().toString(36).substring(2, 10);
1454
+ return t.set(n, { data: r, expires: a }), n;
1455
+ },
1456
+ async readData(r) {
1457
+ if (t.has(r)) {
1458
+ let { data: a, expires: n } = t.get(r);
1459
+ if (!n || n > /* @__PURE__ */ new Date())
1460
+ return a;
1461
+ n && t.delete(r);
1462
+ }
1463
+ return null;
1464
+ },
1465
+ async updateData(r, a, n) {
1466
+ t.set(r, { data: a, expires: n });
1467
+ },
1468
+ async deleteData(r) {
1469
+ t.delete(r);
1470
+ }
1471
+ });
1472
+ }
1473
+ function Dr(e, ...t) {
1474
+ let r = t[0];
1475
+ return e.split("/").map((a) => {
1476
+ if (a === "*")
1477
+ return r ? r["*"] : void 0;
1478
+ const n = a.match(/^:([\w-]+)(\?)?/);
1479
+ if (!n) return a;
1480
+ const s = n[1], o = r ? r[s] : void 0;
1481
+ if (n[2] === void 0 && o === void 0)
1482
+ throw Error(
1483
+ `Path '${e}' requires param '${s}' but it was not provided`
1484
+ );
1485
+ return o;
1486
+ }).filter((a) => a !== void 0).join("/");
1487
+ }
1488
+ function Zt(e, t, r, a, n, s) {
1489
+ let o = {
1490
+ ...e,
1491
+ loaderData: { ...e.loaderData }
1492
+ }, u = Ee(t, a, n);
1493
+ if (u)
1494
+ for (let i of u) {
1495
+ let l = i.route.id, d = r(l);
1496
+ $(
1497
+ l,
1498
+ d.clientLoader,
1499
+ d.hasLoader,
1500
+ s
1501
+ ) && (d.hasHydrateFallback || !d.hasLoader) ? delete o.loaderData[l] : d.hasLoader || (o.loaderData[l] = null);
1502
+ }
1503
+ return o;
1504
+ }
1505
+ var ze = class extends E.Component {
1506
+ constructor(e) {
1507
+ super(e), this.state = { error: null, location: e.location };
1508
+ }
1509
+ static getDerivedStateFromError(e) {
1510
+ return { error: e };
1511
+ }
1512
+ static getDerivedStateFromProps(e, t) {
1513
+ return t.location !== e.location ? { error: null, location: e.location } : { error: t.error, location: t.location };
1514
+ }
1515
+ render() {
1516
+ return this.state.error ? /* @__PURE__ */ E.createElement(
1517
+ Be,
1518
+ {
1519
+ error: this.state.error,
1520
+ renderAppShell: !0
1521
+ }
1522
+ ) : this.props.children;
1523
+ }
1524
+ };
1525
+ function ye({
1526
+ renderAppShell: e,
1527
+ title: t,
1528
+ children: r
1529
+ }) {
1530
+ return e ? /* @__PURE__ */ E.createElement("html", { lang: "en" }, /* @__PURE__ */ E.createElement("head", null, /* @__PURE__ */ E.createElement("meta", { charSet: "utf-8" }), /* @__PURE__ */ E.createElement(
1531
+ "meta",
1532
+ {
1533
+ name: "viewport",
1534
+ content: "width=device-width,initial-scale=1,viewport-fit=cover"
1535
+ }
1536
+ ), /* @__PURE__ */ E.createElement("title", null, t)), /* @__PURE__ */ E.createElement("body", null, /* @__PURE__ */ E.createElement("main", { style: { fontFamily: "system-ui, sans-serif", padding: "2rem" } }, r))) : r;
1537
+ }
1538
+ function Be({
1539
+ error: e,
1540
+ renderAppShell: t
1541
+ }) {
1542
+ console.error(e);
1543
+ let r = /* @__PURE__ */ E.createElement(
1544
+ "script",
1545
+ {
1546
+ dangerouslySetInnerHTML: {
1547
+ __html: `
1548
+ console.log(
1549
+ "💿 Hey developer 👋. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."
1550
+ );
1551
+ `
1552
+ }
1553
+ }
1554
+ );
1555
+ if (A(e))
1556
+ return /* @__PURE__ */ E.createElement(
1557
+ ye,
1558
+ {
1559
+ renderAppShell: t,
1560
+ title: "Unhandled Thrown Response!"
1561
+ },
1562
+ /* @__PURE__ */ E.createElement("h1", { style: { fontSize: "24px" } }, e.status, " ", e.statusText),
1563
+ r
1564
+ );
1565
+ let a;
1566
+ if (e instanceof Error)
1567
+ a = e;
1568
+ else {
1569
+ let n = e == null ? "Unknown Error" : typeof e == "object" && "toString" in e ? e.toString() : JSON.stringify(e);
1570
+ a = new Error(n);
1571
+ }
1572
+ return /* @__PURE__ */ E.createElement(ye, { renderAppShell: t, title: "Application Error!" }, /* @__PURE__ */ E.createElement("h1", { style: { fontSize: "24px" } }, "Application Error"), /* @__PURE__ */ E.createElement(
1573
+ "pre",
1574
+ {
1575
+ style: {
1576
+ padding: "2rem",
1577
+ background: "hsla(10, 50%, 50%, 0.1)",
1578
+ color: "red",
1579
+ overflow: "auto"
1580
+ }
1581
+ },
1582
+ a.stack
1583
+ ), r);
1584
+ }
1585
+ function Ar({
1586
+ hasRootLayout: e
1587
+ }) {
1588
+ let t = Xe();
1589
+ if (e === void 0)
1590
+ throw new Error("Missing 'hasRootLayout' prop");
1591
+ return /* @__PURE__ */ E.createElement(
1592
+ Be,
1593
+ {
1594
+ renderAppShell: !e,
1595
+ error: t
1596
+ }
1597
+ );
1598
+ }
1599
+ function er(e) {
1600
+ const t = {};
1601
+ for (const r of e.matches)
1602
+ re(t, r);
1603
+ return t;
1604
+ }
1605
+ function re(e, t) {
1606
+ t = Array.isArray(t) ? t : [t];
1607
+ for (const r of t)
1608
+ e[r.id] = {
1609
+ links: r.links,
1610
+ meta: r.meta,
1611
+ default: tr
1612
+ };
1613
+ }
1614
+ var tr = () => null;
1615
+ function xr({
1616
+ createFromReadableStream: e,
1617
+ createTemporaryReferenceSet: t,
1618
+ encodeReply: r,
1619
+ fetch: a = fetch
1620
+ }) {
1621
+ const n = window;
1622
+ let s = 0;
1623
+ return async (o, u) => {
1624
+ let i = n.__routerActionID = (n.__routerActionID ?? (n.__routerActionID = 0)) + 1;
1625
+ const l = t(), d = await a(
1626
+ new Request(location.href, {
1627
+ body: await r(u, { temporaryReferences: l }),
1628
+ method: "POST",
1629
+ headers: {
1630
+ Accept: "text/x-component",
1631
+ "rsc-action-id": o
1632
+ }
1633
+ })
1634
+ );
1635
+ if (!d.body)
1636
+ throw new Error("No response body");
1637
+ const h = await e(d.body, {
1638
+ temporaryReferences: l
1639
+ });
1640
+ if (h.type === "redirect") {
1641
+ if (h.reload) {
1642
+ window.location.href = h.location;
1643
+ return;
1644
+ }
1645
+ return n.__reactRouterDataRouter.navigate(h.location, {
1646
+ replace: h.replace
1647
+ }), h.actionResult;
1648
+ }
1649
+ if (h.type !== "action")
1650
+ throw new Error("Unexpected payload type");
1651
+ return h.rerender && g.startTransition(
1652
+ // @ts-expect-error - We have old react types that don't know this can be async
1653
+ async () => {
1654
+ const c = await h.rerender;
1655
+ if (c && s < i && n.__routerActionID <= i) {
1656
+ if (s = i, c.type === "redirect") {
1657
+ if (c.reload) {
1658
+ window.location.href = c.location;
1659
+ return;
1660
+ }
1661
+ n.__reactRouterDataRouter.navigate(c.location, {
1662
+ replace: c.replace
1663
+ });
1664
+ return;
1665
+ }
1666
+ let p;
1667
+ for (const f of c.matches)
1668
+ n.__reactRouterDataRouter.patchRoutes(
1669
+ p?.id ?? null,
1670
+ [F(f)],
1671
+ !0
1672
+ ), p = f;
1673
+ window.__reactRouterDataRouter._internalSetStateDoNotUseOrYouWillBreakYourApp(
1674
+ {}
1675
+ ), g.startTransition(() => {
1676
+ window.__reactRouterDataRouter._internalSetStateDoNotUseOrYouWillBreakYourApp(
1677
+ {
1678
+ loaderData: Object.assign(
1679
+ {},
1680
+ n.__reactRouterDataRouter.state.loaderData,
1681
+ c.loaderData
1682
+ ),
1683
+ errors: c.errors ? Object.assign(
1684
+ {},
1685
+ n.__reactRouterDataRouter.state.errors,
1686
+ c.errors
1687
+ ) : null
1688
+ }
1689
+ );
1690
+ });
1691
+ }
1692
+ }
1693
+ ), h.actionResult;
1694
+ };
1695
+ }
1696
+ function rr({
1697
+ fetchImplementation: e,
1698
+ createFromReadableStream: t,
1699
+ unstable_getContext: r,
1700
+ payload: a
1701
+ }) {
1702
+ const n = window;
1703
+ if (n.__reactRouterDataRouter && n.__reactRouterRouteModules)
1704
+ return {
1705
+ router: n.__reactRouterDataRouter,
1706
+ routeModules: n.__reactRouterRouteModules
1707
+ };
1708
+ if (a.type !== "render") throw new Error("Invalid payload type");
1709
+ n.__reactRouterRouteModules = n.__reactRouterRouteModules ?? {}, re(n.__reactRouterRouteModules, a.matches);
1710
+ let s = /* @__PURE__ */ new Map();
1711
+ a.patches?.forEach((i) => {
1712
+ L(i.parentId, "Invalid patch parentId"), s.has(i.parentId) || s.set(i.parentId, []), s.get(i.parentId)?.push(i);
1713
+ });
1714
+ let o = a.matches.reduceRight((i, l) => {
1715
+ const d = F(
1716
+ l,
1717
+ a
1718
+ );
1719
+ if (i.length > 0) {
1720
+ d.children = i;
1721
+ let h = s.get(l.id);
1722
+ h && d.children.push(
1723
+ ...h.map((c) => F(c))
1724
+ );
1725
+ }
1726
+ return [d];
1727
+ }, []);
1728
+ n.__reactRouterDataRouter = ot({
1729
+ routes: o,
1730
+ unstable_getContext: r,
1731
+ basename: a.basename,
1732
+ history: st(),
1733
+ hydrationData: Zt(
1734
+ {
1735
+ loaderData: a.loaderData,
1736
+ actionData: a.actionData,
1737
+ errors: a.errors
1738
+ },
1739
+ o,
1740
+ (i) => {
1741
+ let l = a.matches.find((d) => d.id === i);
1742
+ return L(l, "Route not found in payload"), {
1743
+ clientLoader: l.clientLoader,
1744
+ hasLoader: l.hasLoader,
1745
+ hasHydrateFallback: l.hydrateFallbackElement != null
1746
+ };
1747
+ },
1748
+ a.location,
1749
+ void 0,
1750
+ !1
1751
+ ),
1752
+ async patchRoutesOnNavigation({ path: i, signal: l }) {
1753
+ B.has(i) || await $e(
1754
+ [i],
1755
+ t,
1756
+ e,
1757
+ l
1758
+ );
1759
+ },
1760
+ // FIXME: Pass `build.ssr` into this function
1761
+ dataStrategy: ar(
1762
+ () => n.__reactRouterDataRouter,
1763
+ !0,
1764
+ a.basename,
1765
+ t,
1766
+ e
1767
+ )
1768
+ }), n.__reactRouterDataRouter.state.initialized ? (n.__routerInitialized = !0, n.__reactRouterDataRouter.initialize()) : n.__routerInitialized = !1;
1769
+ let u;
1770
+ return n.__reactRouterDataRouter.subscribe(({ loaderData: i, actionData: l }) => {
1771
+ u !== i && (n.__routerActionID = (n.__routerActionID ?? (n.__routerActionID = 0)) + 1);
1772
+ }), n.__reactRouterDataRouter._updateRoutesForHMR = (i) => {
1773
+ const l = window.__reactRouterDataRouter.routes, d = [];
1774
+ function h(c, p) {
1775
+ return c.map((f) => {
1776
+ const m = i.get(f.id);
1777
+ if (m) {
1778
+ const {
1779
+ routeModule: R,
1780
+ hasAction: S,
1781
+ hasComponent: v,
1782
+ hasErrorBoundary: w,
1783
+ hasLoader: _
1784
+ } = m, I = F({
1785
+ clientAction: R.clientAction,
1786
+ clientLoader: R.clientLoader,
1787
+ element: f.element,
1788
+ errorElement: f.errorElement,
1789
+ handle: f.handle,
1790
+ hasAction: S,
1791
+ hasComponent: v,
1792
+ hasErrorBoundary: w,
1793
+ hasLoader: _,
1794
+ hydrateFallbackElement: f.hydrateFallbackElement,
1795
+ id: f.id,
1796
+ index: f.index,
1797
+ links: R.links,
1798
+ meta: R.meta,
1799
+ parentId: p,
1800
+ path: f.path,
1801
+ shouldRevalidate: R.shouldRevalidate
1802
+ });
1803
+ return f.children && (I.children = h(f.children, f.id)), I;
1804
+ }
1805
+ const y = { ...f };
1806
+ return f.children && (y.children = h(f.children, f.id)), y;
1807
+ });
1808
+ }
1809
+ d.push(
1810
+ ...h(l, void 0)
1811
+ ), window.__reactRouterDataRouter._internalSetRoutes(d);
1812
+ }, {
1813
+ router: n.__reactRouterDataRouter,
1814
+ routeModules: n.__reactRouterRouteModules
1815
+ };
1816
+ }
1817
+ var K = pt();
1818
+ function ar(e, t, r, a, n) {
1819
+ let s = mt(
1820
+ e,
1821
+ (o) => {
1822
+ let u = o;
1823
+ return {
1824
+ hasLoader: u.route.hasLoader,
1825
+ hasClientLoader: u.route.hasClientLoader,
1826
+ hasComponent: u.route.hasComponent,
1827
+ hasAction: u.route.hasAction,
1828
+ hasClientAction: u.route.hasClientAction,
1829
+ hasShouldRevalidate: u.route.hasShouldRevalidate
1830
+ };
1831
+ },
1832
+ // pass map into fetchAndDecode so it can add payloads
1833
+ nr(a, n),
1834
+ t,
1835
+ r,
1836
+ // If the route has a component but we don't have an element, we need to hit
1837
+ // the server loader flow regardless of whether the client loader calls
1838
+ // `serverLoader` or not, otherwise we'll have nothing to render.
1839
+ (o) => {
1840
+ let u = o;
1841
+ return u.route.hasComponent && !u.route.element;
1842
+ }
1843
+ );
1844
+ return async (o) => o.unstable_runClientMiddleware(async () => {
1845
+ let u = o.context;
1846
+ u.set(K, []);
1847
+ let i = await s(o);
1848
+ const l = /* @__PURE__ */ new Map();
1849
+ for (const d of u.get(K))
1850
+ l.has(d.id) || l.set(d.id, []), l.get(d.id).push(d);
1851
+ for (const d of o.matches) {
1852
+ const h = l.get(d.route.id);
1853
+ if (h)
1854
+ for (const c of h)
1855
+ window.__reactRouterDataRouter.patchRoutes(
1856
+ c.parentId ?? null,
1857
+ [F(c)],
1858
+ !0
1859
+ );
1860
+ }
1861
+ return i;
1862
+ });
1863
+ }
1864
+ function nr(e, t) {
1865
+ return async (r, a, n) => {
1866
+ let { request: s, context: o } = r, u = Rt(s.url, a, "rsc");
1867
+ s.method === "GET" && (u = wt(u), n && u.searchParams.set("_routes", n.join(",")));
1868
+ let i = await t(
1869
+ new Request(u, await gt(s))
1870
+ );
1871
+ if (i.status === 404 && !i.headers.has("X-Remix-Response"))
1872
+ throw new D(404, "Not Found", !0);
1873
+ L(i.body, "No response body to decode");
1874
+ try {
1875
+ const l = await e(i.body, {
1876
+ temporaryReferences: void 0
1877
+ });
1878
+ if (l.type === "redirect")
1879
+ return {
1880
+ status: i.status,
1881
+ data: {
1882
+ redirect: {
1883
+ redirect: l.location,
1884
+ reload: l.reload,
1885
+ replace: l.replace,
1886
+ revalidate: !1,
1887
+ status: l.status
1888
+ }
1889
+ }
1890
+ };
1891
+ if (l.type !== "render")
1892
+ throw new Error("Unexpected payload type");
1893
+ o.get(K).push(...l.matches);
1894
+ let d = { routes: {} };
1895
+ const h = vt(s.method) ? "actionData" : "loaderData";
1896
+ for (let [c, p] of Object.entries(l[h] || {}))
1897
+ d.routes[c] = { data: p };
1898
+ if (l.errors)
1899
+ for (let [c, p] of Object.entries(l.errors))
1900
+ d.routes[c] = { error: p };
1901
+ return { status: i.status, data: d };
1902
+ } catch {
1903
+ throw new Error("Unable to decode RSC response");
1904
+ }
1905
+ };
1906
+ }
1907
+ function Fr({
1908
+ createFromReadableStream: e,
1909
+ fetch: t = fetch,
1910
+ payload: r,
1911
+ routeDiscovery: a = "eager",
1912
+ unstable_getContext: n
1913
+ }) {
1914
+ if (r.type !== "render") throw new Error("Invalid payload type");
1915
+ let { router: s, routeModules: o } = g.useMemo(
1916
+ () => rr({
1917
+ payload: r,
1918
+ fetchImplementation: t,
1919
+ unstable_getContext: n,
1920
+ createFromReadableStream: e
1921
+ }),
1922
+ [
1923
+ e,
1924
+ r,
1925
+ t,
1926
+ n
1927
+ ]
1928
+ );
1929
+ g.useEffect(() => {
1930
+ Qe();
1931
+ }, []), g.useLayoutEffect(() => {
1932
+ const d = window;
1933
+ d.__routerInitialized || (d.__routerInitialized = !0, d.__reactRouterDataRouter.initialize());
1934
+ }, []);
1935
+ let [u, i] = g.useState(s.state.location);
1936
+ g.useLayoutEffect(
1937
+ () => s.subscribe((d) => {
1938
+ d.location !== u && i(d.location);
1939
+ }),
1940
+ [s, u]
1941
+ ), g.useEffect(() => {
1942
+ if (a === "lazy" || // @ts-expect-error - TS doesn't know about this yet
1943
+ window.navigator?.connection?.saveData === !0)
1944
+ return;
1945
+ function d(f) {
1946
+ let m = f.tagName === "FORM" ? f.getAttribute("action") : f.getAttribute("href");
1947
+ if (!m)
1948
+ return;
1949
+ let y = f.tagName === "A" ? f.pathname : new URL(m, window.location.origin).pathname;
1950
+ B.has(y) || N.add(y);
1951
+ }
1952
+ async function h() {
1953
+ document.querySelectorAll("a[data-discover], form[data-discover]").forEach(d);
1954
+ let f = Array.from(N.keys()).filter((m) => B.has(m) ? (N.delete(m), !1) : !0);
1955
+ if (f.length !== 0)
1956
+ try {
1957
+ await $e(
1958
+ f,
1959
+ e,
1960
+ t
1961
+ );
1962
+ } catch (m) {
1963
+ console.error("Failed to fetch manifest patches", m);
1964
+ }
1965
+ }
1966
+ let c = ur(h, 100);
1967
+ h(), new MutationObserver(() => c()).observe(document.documentElement, {
1968
+ subtree: !0,
1969
+ childList: !0,
1970
+ attributes: !0,
1971
+ attributeFilter: ["data-discover", "href", "action"]
1972
+ });
1973
+ }, [a, e, t]);
1974
+ const l = {
1975
+ future: {
1976
+ // These flags have no runtime impact so can always be false. If we add
1977
+ // flags that drive runtime behavior they'll need to be proxied through.
1978
+ unstable_middleware: !1,
1979
+ unstable_subResourceIntegrity: !1
1980
+ },
1981
+ isSpaMode: !1,
1982
+ ssr: !0,
1983
+ criticalCss: "",
1984
+ manifest: {
1985
+ routes: {},
1986
+ version: "1",
1987
+ url: "",
1988
+ entry: {
1989
+ module: "",
1990
+ imports: []
1991
+ }
1992
+ },
1993
+ routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" },
1994
+ routeModules: o
1995
+ };
1996
+ return /* @__PURE__ */ g.createElement(be.Provider, { value: !0 }, /* @__PURE__ */ g.createElement(ze, { location: u }, /* @__PURE__ */ g.createElement(j.Provider, { value: l }, /* @__PURE__ */ g.createElement(_e, { router: s, flushSync: St.flushSync }))));
1997
+ }
1998
+ function F(e, t) {
1999
+ let r = t && e.id in t.loaderData, a = t?.loaderData[e.id], n = t?.errors && e.id in t.errors, s = t?.errors?.[e.id], o = e.clientLoader?.hydrate === !0 || !e.hasLoader || // If the route has a component but we don't have an element, we need to hit
2000
+ // the server loader flow regardless of whether the client loader calls
2001
+ // `serverLoader` or not, otherwise we'll have nothing to render.
2002
+ e.hasComponent && !e.element;
2003
+ L(window.__reactRouterRouteModules), re(window.__reactRouterRouteModules, e);
2004
+ let u = {
2005
+ id: e.id,
2006
+ element: e.element,
2007
+ errorElement: e.errorElement,
2008
+ handle: e.handle,
2009
+ hasErrorBoundary: e.hasErrorBoundary,
2010
+ hydrateFallbackElement: e.hydrateFallbackElement,
2011
+ index: e.index,
2012
+ loader: e.clientLoader ? async (i, l) => {
2013
+ try {
2014
+ return await e.clientLoader({
2015
+ ...i,
2016
+ serverLoader: () => {
2017
+ if (Re(
2018
+ "loader",
2019
+ e.id,
2020
+ e.hasLoader
2021
+ ), o) {
2022
+ if (r)
2023
+ return a;
2024
+ if (n)
2025
+ throw s;
2026
+ }
2027
+ return P(l);
2028
+ }
2029
+ });
2030
+ } finally {
2031
+ o = !1;
2032
+ }
2033
+ } : (
2034
+ // We always make the call in this RSC world since even if we don't
2035
+ // have a `loader` we may need to get the `element` implementation
2036
+ ((i, l) => P(l))
2037
+ ),
2038
+ action: e.clientAction ? (i, l) => e.clientAction({
2039
+ ...i,
2040
+ serverAction: async () => (Re(
2041
+ "action",
2042
+ e.id,
2043
+ e.hasLoader
2044
+ ), await P(l))
2045
+ }) : e.hasAction ? (i, l) => P(l) : () => {
2046
+ throw it("action", e.id);
2047
+ },
2048
+ path: e.path,
2049
+ shouldRevalidate: e.shouldRevalidate,
2050
+ // We always have a "loader" in this RSC world since even if we don't
2051
+ // have a `loader` we may need to get the `element` implementation
2052
+ hasLoader: !0,
2053
+ hasClientLoader: e.clientLoader != null,
2054
+ hasAction: e.hasAction,
2055
+ hasClientAction: e.clientAction != null,
2056
+ hasShouldRevalidate: e.shouldRevalidate != null
2057
+ };
2058
+ return typeof u.loader == "function" && (u.loader.hydrate = $(
2059
+ e.id,
2060
+ e.clientLoader,
2061
+ e.hasLoader,
2062
+ !1
2063
+ )), u;
2064
+ }
2065
+ function P(e) {
2066
+ return L(typeof e == "function", "Invalid singleFetch parameter"), e();
2067
+ }
2068
+ function Re(e, t, r) {
2069
+ if (!r) {
2070
+ let n = `You are trying to call ${e === "action" ? "serverAction()" : "serverLoader()"} on a route that does not have a server ${e} (routeId: "${t}")`;
2071
+ throw console.error(n), new D(400, "Bad Request", new Error(n), !0);
2072
+ }
2073
+ }
2074
+ var N = /* @__PURE__ */ new Set(), or = 1e3, B = /* @__PURE__ */ new Set(), sr = 7680;
2075
+ function ir(e) {
2076
+ if (e.length === 0)
2077
+ return null;
2078
+ if (e.length === 1)
2079
+ return new URL(`${e[0]}.manifest`, window.location.origin);
2080
+ let r = (window.__reactRouterDataRouter.basename ?? "").replace(
2081
+ /^\/|\/$/g,
2082
+ ""
2083
+ ), a = new URL(`${r}/.manifest`, window.location.origin);
2084
+ return e.sort().forEach((n) => a.searchParams.append("p", n)), a;
2085
+ }
2086
+ async function $e(e, t, r, a) {
2087
+ let n = ir(e);
2088
+ if (n == null)
2089
+ return;
2090
+ if (n.toString().length > sr) {
2091
+ N.clear();
2092
+ return;
2093
+ }
2094
+ let s = await r(new Request(n, { signal: a }));
2095
+ if (!s.body || s.status < 200 || s.status >= 300)
2096
+ throw new Error("Unable to fetch new route matches from the server");
2097
+ let o = await t(s.body, {
2098
+ temporaryReferences: void 0
2099
+ });
2100
+ if (o.type !== "manifest")
2101
+ throw new Error("Failed to patch routes");
2102
+ e.forEach((u) => lr(u, B)), o.patches.forEach((u) => {
2103
+ window.__reactRouterDataRouter.patchRoutes(
2104
+ u.parentId ?? null,
2105
+ [F(u)]
2106
+ );
2107
+ });
2108
+ }
2109
+ function lr(e, t) {
2110
+ if (t.size >= or) {
2111
+ let r = t.values().next().value;
2112
+ t.delete(r);
2113
+ }
2114
+ t.add(e);
2115
+ }
2116
+ function ur(e, t) {
2117
+ let r;
2118
+ return (...a) => {
2119
+ window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
2120
+ };
2121
+ }
2122
+ var Q = new TextEncoder(), we = "</body></html>";
2123
+ function dr(e) {
2124
+ let t = new TextDecoder(), r, a = new Promise(
2125
+ (i) => r = i
2126
+ ), n = !1, s = [], o = null;
2127
+ function u(i) {
2128
+ for (let l of s) {
2129
+ let d = t.decode(l, { stream: !0 });
2130
+ d.endsWith(we) && (d = d.slice(0, -we.length)), i.enqueue(Q.encode(d));
2131
+ }
2132
+ s.length = 0, o = null;
2133
+ }
2134
+ return new TransformStream({
2135
+ transform(i, l) {
2136
+ s.push(i), !o && (o = setTimeout(async () => {
2137
+ u(l), n || (n = !0, cr(e, l).catch((d) => l.error(d)).then(r));
2138
+ }, 0));
2139
+ },
2140
+ async flush(i) {
2141
+ await a, o && (clearTimeout(o), u(i)), i.enqueue(Q.encode("</body></html>"));
2142
+ }
2143
+ });
2144
+ }
2145
+ async function cr(e, t) {
2146
+ let r = new TextDecoder("utf-8", { fatal: !0 });
2147
+ const a = e.getReader();
2148
+ try {
2149
+ let s;
2150
+ for (; (s = await a.read()) && !s.done; ) {
2151
+ const o = s.value;
2152
+ try {
2153
+ G(
2154
+ JSON.stringify(r.decode(o, { stream: !0 })),
2155
+ t
2156
+ );
2157
+ } catch {
2158
+ let i = JSON.stringify(btoa(String.fromCodePoint(...o)));
2159
+ G(
2160
+ `Uint8Array.from(atob(${i}), m => m.codePointAt(0))`,
2161
+ t
2162
+ );
2163
+ }
2164
+ }
2165
+ } finally {
2166
+ a.releaseLock();
2167
+ }
2168
+ let n = r.decode();
2169
+ n.length && G(JSON.stringify(n), t);
2170
+ }
2171
+ function G(e, t) {
2172
+ t.enqueue(
2173
+ Q.encode(
2174
+ `<script>${fr(
2175
+ `(self.__FLIGHT_DATA||=[]).push(${e})`
2176
+ )}<\/script>`
2177
+ )
2178
+ );
2179
+ }
2180
+ function fr(e) {
2181
+ return e.replace(/<!--/g, "<\\!--").replace(/<\/(script)/gi, "</\\$1");
2182
+ }
2183
+ var hr = "use", ge = g[hr];
2184
+ function pr(e) {
2185
+ if (ge)
2186
+ return ge(e);
2187
+ throw new Error("React Router v7 requires React 19+ for RSC features.");
2188
+ }
2189
+ async function kr({
2190
+ request: e,
2191
+ fetchServer: t,
2192
+ createFromReadableStream: r,
2193
+ renderHTML: a,
2194
+ hydrate: n = !0
2195
+ }) {
2196
+ const s = new URL(e.url), u = mr(s) || yr(s) || e.headers.has("rsc-action-id"), i = await t(e);
2197
+ if (u || i.headers.get("React-Router-Resource") === "true")
2198
+ return i;
2199
+ if (!i.body)
2200
+ throw new Error("Missing body in server response");
2201
+ let l = null;
2202
+ n && (l = i.clone());
2203
+ const d = i.body;
2204
+ let h;
2205
+ const c = async () => h || (h = r(d), h);
2206
+ try {
2207
+ const p = await c();
2208
+ if (i.status === Ce && p.type === "redirect") {
2209
+ const R = new Headers(i.headers);
2210
+ return R.delete("Content-Encoding"), R.delete("Content-Length"), R.delete("Content-Type"), R.delete("x-remix-response"), R.set("Location", p.location), new Response(l?.body || "", {
2211
+ headers: R,
2212
+ status: p.status,
2213
+ statusText: i.statusText
2214
+ });
2215
+ }
2216
+ const f = await a(c), m = new Headers(i.headers);
2217
+ if (m.set("Content-Type", "text/html"), !n)
2218
+ return new Response(f, {
2219
+ status: i.status,
2220
+ headers: m
2221
+ });
2222
+ if (!l?.body)
2223
+ throw new Error("Failed to clone server response");
2224
+ const y = f.pipeThrough(dr(l.body));
2225
+ return new Response(y, {
2226
+ status: i.status,
2227
+ headers: m
2228
+ });
2229
+ } catch (p) {
2230
+ if (p instanceof Response)
2231
+ return p;
2232
+ throw p;
2233
+ }
2234
+ }
2235
+ function Lr({ getPayload: e }) {
2236
+ const t = pr(e());
2237
+ if (t.type === "redirect")
2238
+ throw new Response(null, {
2239
+ status: t.status,
2240
+ headers: {
2241
+ Location: t.location
2242
+ }
2243
+ });
2244
+ if (t.type !== "render") return null;
2245
+ let r = { ...t.loaderData };
2246
+ for (const o of t.matches)
2247
+ $(
2248
+ o.id,
2249
+ o.clientLoader,
2250
+ o.hasLoader,
2251
+ !1
2252
+ ) && (o.hydrateFallbackElement || !o.hasLoader) && delete r[o.id];
2253
+ const a = {
2254
+ actionData: t.actionData,
2255
+ actionHeaders: {},
2256
+ basename: t.basename,
2257
+ errors: t.errors,
2258
+ loaderData: r,
2259
+ loaderHeaders: {},
2260
+ location: t.location,
2261
+ statusCode: 200,
2262
+ matches: t.matches.map((o) => ({
2263
+ params: o.params,
2264
+ pathname: o.pathname,
2265
+ pathnameBase: o.pathnameBase,
2266
+ route: {
2267
+ id: o.id,
2268
+ action: o.hasAction || !!o.clientAction,
2269
+ handle: o.handle,
2270
+ hasErrorBoundary: o.hasErrorBoundary,
2271
+ loader: o.hasLoader || !!o.clientLoader,
2272
+ index: o.index,
2273
+ path: o.path,
2274
+ shouldRevalidate: o.shouldRevalidate
2275
+ }
2276
+ }))
2277
+ }, n = ve(
2278
+ t.matches.reduceRight((o, u) => {
2279
+ const i = {
2280
+ id: u.id,
2281
+ action: u.hasAction || !!u.clientAction,
2282
+ element: u.element,
2283
+ errorElement: u.errorElement,
2284
+ handle: u.handle,
2285
+ hasErrorBoundary: !!u.errorElement,
2286
+ hydrateFallbackElement: u.hydrateFallbackElement,
2287
+ index: u.index,
2288
+ loader: u.hasLoader || !!u.clientLoader,
2289
+ path: u.path,
2290
+ shouldRevalidate: u.shouldRevalidate
2291
+ };
2292
+ return o.length > 0 && (i.children = o), [i];
2293
+ }, []),
2294
+ a
2295
+ ), s = {
2296
+ future: {
2297
+ // These flags have no runtime impact so can always be false. If we add
2298
+ // flags that drive runtime behavior they'll need to be proxied through.
2299
+ unstable_middleware: !1,
2300
+ unstable_subResourceIntegrity: !1
2301
+ },
2302
+ isSpaMode: !1,
2303
+ ssr: !0,
2304
+ criticalCss: "",
2305
+ manifest: {
2306
+ routes: {},
2307
+ version: "1",
2308
+ url: "",
2309
+ entry: {
2310
+ module: "",
2311
+ imports: []
2312
+ }
2313
+ },
2314
+ routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" },
2315
+ routeModules: er(t)
2316
+ };
2317
+ return /* @__PURE__ */ g.createElement(be.Provider, { value: !0 }, /* @__PURE__ */ g.createElement(ze, { location: t.location }, /* @__PURE__ */ g.createElement(j.Provider, { value: s }, /* @__PURE__ */ g.createElement(
2318
+ Se,
2319
+ {
2320
+ context: a,
2321
+ router: n,
2322
+ hydrate: !1,
2323
+ nonce: t.nonce
2324
+ }
2325
+ ))));
2326
+ }
2327
+ function mr(e) {
2328
+ return e.pathname.endsWith(".rsc");
2329
+ }
2330
+ function yr(e) {
2331
+ return e.pathname.endsWith(".manifest");
2332
+ }
2333
+ function Tr() {
2334
+ let e = new TextEncoder(), t = null, r = new ReadableStream({
2335
+ start(a) {
2336
+ if (typeof window > "u")
2337
+ return;
2338
+ let n = (s) => {
2339
+ typeof s == "string" ? a.enqueue(e.encode(s)) : a.enqueue(s);
2340
+ };
2341
+ window.__FLIGHT_DATA || (window.__FLIGHT_DATA = []), window.__FLIGHT_DATA.forEach(n), window.__FLIGHT_DATA.push = (s) => (n(s), 0), t = a;
2342
+ }
2343
+ });
2344
+ return typeof document < "u" && document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
2345
+ t?.close();
2346
+ }) : t?.close(), r;
2347
+ }
2348
+ function Hr(e) {
2349
+ if (!e) return null;
2350
+ let t = Object.entries(e), r = {};
2351
+ for (let [a, n] of t)
2352
+ if (n && n.__type === "RouteErrorResponse")
2353
+ r[a] = new D(
2354
+ n.status,
2355
+ n.statusText,
2356
+ n.data,
2357
+ n.internal === !0
2358
+ );
2359
+ else if (n && n.__type === "Error") {
2360
+ if (n.__subType) {
2361
+ let s = window[n.__subType];
2362
+ if (typeof s == "function")
2363
+ try {
2364
+ let o = new s(n.message);
2365
+ o.stack = n.stack, r[a] = o;
2366
+ } catch {
2367
+ }
2368
+ }
2369
+ if (r[a] == null) {
2370
+ let s = new Error(n.message);
2371
+ s.stack = n.stack, r[a] = s;
2372
+ }
2373
+ } else
2374
+ r[a] = n;
2375
+ return r;
2376
+ }
2377
+ export {
2378
+ Ur as Await,
2379
+ Mr as BrowserRouter,
2380
+ Nr as Form,
2381
+ Or as HashRouter,
2382
+ zr as IDLE_BLOCKER,
2383
+ Br as IDLE_FETCHER,
2384
+ $r as IDLE_NAVIGATION,
2385
+ jr as Link,
2386
+ Vr as Links,
2387
+ Wr as MemoryRouter,
2388
+ qr as Meta,
2389
+ Gr as NavLink,
2390
+ Xr as Navigate,
2391
+ Yr as NavigationType,
2392
+ nt as Outlet,
2393
+ Jr as PrefetchPageLinks,
2394
+ Kr as Route,
2395
+ Qr as Router,
2396
+ _e as RouterProvider,
2397
+ Zr as Routes,
2398
+ ea as Scripts,
2399
+ ta as ScrollRestoration,
2400
+ gr as ServerRouter,
2401
+ ra as StaticRouter,
2402
+ Se as StaticRouterProvider,
2403
+ aa as UNSAFE_DataRouterContext,
2404
+ na as UNSAFE_DataRouterStateContext,
2405
+ D as UNSAFE_ErrorResponseImpl,
2406
+ oa as UNSAFE_FetchersContext,
2407
+ j as UNSAFE_FrameworkContext,
2408
+ sa as UNSAFE_LocationContext,
2409
+ ia as UNSAFE_NavigationContext,
2410
+ Ar as UNSAFE_RSCDefaultRootErrorBoundary,
2411
+ qe as UNSAFE_RemixErrorBoundary,
2412
+ la as UNSAFE_RouteContext,
2413
+ Pt as UNSAFE_ServerMode,
2414
+ T as UNSAFE_SingleFetchRedirectSymbol,
2415
+ ua as UNSAFE_ViewTransitionContext,
2416
+ da as UNSAFE_WithComponentProps,
2417
+ ca as UNSAFE_WithErrorBoundaryProps,
2418
+ fa as UNSAFE_WithHydrateFallbackProps,
2419
+ st as UNSAFE_createBrowserHistory,
2420
+ ha as UNSAFE_createClientRoutes,
2421
+ pa as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
2422
+ ot as UNSAFE_createRouter,
2423
+ lt as UNSAFE_decodeViaTurboStream,
2424
+ Hr as UNSAFE_deserializeErrors,
2425
+ Zt as UNSAFE_getHydrationData,
2426
+ ma as UNSAFE_getPatchRoutesOnNavigationFunction,
2427
+ ya as UNSAFE_getTurboStreamSingleFetchDataStrategy,
2428
+ Ra as UNSAFE_hydrationRouteProperties,
2429
+ L as UNSAFE_invariant,
2430
+ wa as UNSAFE_mapRouteProperties,
2431
+ $ as UNSAFE_shouldHydrateRouteLoader,
2432
+ ga as UNSAFE_useFogOFWarDiscovery,
2433
+ va as UNSAFE_useScrollRestoration,
2434
+ at as UNSAFE_withComponentProps,
2435
+ tt as UNSAFE_withErrorBoundaryProps,
2436
+ rt as UNSAFE_withHydrateFallbackProps,
2437
+ Sa as createBrowserRouter,
2438
+ Fe as createCookie,
2439
+ br as createCookieSessionStorage,
2440
+ Ea as createHashRouter,
2441
+ Ke as createMemoryRouter,
2442
+ Cr as createMemorySessionStorage,
2443
+ _a as createPath,
2444
+ Er as createRequestHandler,
2445
+ ba as createRoutesFromChildren,
2446
+ Ca as createRoutesFromElements,
2447
+ vr as createRoutesStub,
2448
+ Da as createSearchParams,
2449
+ Ne as createSession,
2450
+ Qt as createSessionStorage,
2451
+ Aa as createStaticHandler,
2452
+ ve as createStaticRouter,
2453
+ xa as data,
2454
+ Fa as generatePath,
2455
+ Dr as href,
2456
+ ke as isCookie,
2457
+ A as isRouteErrorResponse,
2458
+ _r as isSession,
2459
+ ka as matchPath,
2460
+ Ee as matchRoutes,
2461
+ La as parsePath,
2462
+ ct as redirect,
2463
+ ut as redirectDocument,
2464
+ Ta as renderMatches,
2465
+ dt as replace,
2466
+ Ha as resolvePath,
2467
+ Ia as unstable_HistoryRouter,
2468
+ Fr as unstable_RSCHydratedRouter,
2469
+ Lr as unstable_RSCStaticRouter,
2470
+ X as unstable_RouterContextProvider,
2471
+ xr as unstable_createCallServer,
2472
+ pt as unstable_createContext,
2473
+ Tr as unstable_getRSCStream,
2474
+ kr as unstable_routeRSCServerRequest,
2475
+ Sr as unstable_setDevServerHooks,
2476
+ Pa as unstable_usePrompt,
2477
+ Ua as useActionData,
2478
+ Ma as useAsyncError,
2479
+ Na as useAsyncValue,
2480
+ Oa as useBeforeUnload,
2481
+ za as useBlocker,
2482
+ Ba as useFetcher,
2483
+ $a as useFetchers,
2484
+ ja as useFormAction,
2485
+ Va as useHref,
2486
+ Wa as useInRouterContext,
2487
+ qa as useLinkClickHandler,
2488
+ Ga as useLoaderData,
2489
+ Xa as useLocation,
2490
+ Ya as useMatch,
2491
+ Ja as useMatches,
2492
+ Ka as useNavigate,
2493
+ Qa as useNavigation,
2494
+ Za as useNavigationType,
2495
+ en as useOutlet,
2496
+ tn as useOutletContext,
2497
+ rn as useParams,
2498
+ an as useResolvedPath,
2499
+ nn as useRevalidator,
2500
+ Xe as useRouteError,
2501
+ on as useRouteLoaderData,
2502
+ sn as useRoutes,
2503
+ ln as useSearchParams,
2504
+ un as useSubmit,
2505
+ dn as useViewTransitionState
2506
+ };
2507
+ //# sourceMappingURL=zudoku.router.js.map