zudoku 0.3.0-dev.3 → 0.3.0-dev.30

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 (405) hide show
  1. package/dist/app/demo.d.ts +2 -0
  2. package/dist/app/demo.js +23 -0
  3. package/dist/app/demo.js.map +1 -0
  4. package/dist/app/main.d.ts +2 -1
  5. package/dist/app/main.js +29 -10
  6. package/dist/app/main.js.map +1 -1
  7. package/dist/app/standalone.d.ts +2 -0
  8. package/dist/app/standalone.js +28 -0
  9. package/dist/app/standalone.js.map +1 -0
  10. package/dist/config/config.d.ts +10 -16
  11. package/dist/lib/authentication/Callback.js +1 -1
  12. package/dist/lib/authentication/Callback.js.map +1 -1
  13. package/dist/lib/authentication/authentication.d.ts +2 -2
  14. package/dist/lib/authentication/hook.d.ts +1 -0
  15. package/dist/lib/authentication/hook.js +1 -0
  16. package/dist/lib/authentication/hook.js.map +1 -1
  17. package/dist/lib/authentication/providers/auth0.js +1 -0
  18. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  19. package/dist/lib/authentication/providers/clerk.js +2 -0
  20. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  21. package/dist/lib/authentication/providers/openid.d.ts +1 -1
  22. package/dist/lib/authentication/providers/openid.js +2 -0
  23. package/dist/lib/authentication/providers/openid.js.map +1 -1
  24. package/dist/lib/authentication/state.d.ts +1 -0
  25. package/dist/lib/authentication/state.js +1 -0
  26. package/dist/lib/authentication/state.js.map +1 -1
  27. package/dist/lib/components/DevPortal.d.ts +3 -21
  28. package/dist/lib/components/DevPortal.js +14 -10
  29. package/dist/lib/components/DevPortal.js.map +1 -1
  30. package/dist/lib/components/Error.d.ts +1 -0
  31. package/dist/lib/components/Error.js +10 -0
  32. package/dist/lib/components/Error.js.map +1 -0
  33. package/dist/lib/components/Header.js +3 -3
  34. package/dist/lib/components/Header.js.map +1 -1
  35. package/dist/lib/components/Heading.d.ts +9 -4
  36. package/dist/lib/components/Heading.js +17 -2
  37. package/dist/lib/components/Heading.js.map +1 -1
  38. package/dist/lib/components/Layout.js +2 -2
  39. package/dist/lib/components/Layout.js.map +1 -1
  40. package/dist/lib/components/Router.js +2 -1
  41. package/dist/lib/components/Router.js.map +1 -1
  42. package/dist/lib/components/SyntaxHighlight.js +5 -1
  43. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  44. package/dist/lib/components/TopNavigation.d.ts +1 -1
  45. package/dist/lib/components/TopNavigation.js +4 -0
  46. package/dist/lib/components/TopNavigation.js.map +1 -1
  47. package/dist/lib/components/context/DevPortalProvider.d.ts +1 -1
  48. package/dist/lib/components/context/DevPortalProvider.js +2 -2
  49. package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
  50. package/dist/lib/components/index.d.ts +10 -3
  51. package/dist/lib/components/index.js +8 -3
  52. package/dist/lib/components/index.js.map +1 -1
  53. package/dist/lib/core/DevPortalContext.d.ts +33 -3
  54. package/dist/lib/core/DevPortalContext.js +8 -4
  55. package/dist/lib/core/DevPortalContext.js.map +1 -1
  56. package/dist/lib/core/plugins.d.ts +7 -4
  57. package/dist/lib/core/plugins.js +1 -0
  58. package/dist/lib/core/plugins.js.map +1 -1
  59. package/dist/lib/oas/graphql/index.js +1 -1
  60. package/dist/lib/oas/graphql/index.js.map +1 -1
  61. package/dist/lib/oas/parser/index.js +3 -1
  62. package/dist/lib/oas/parser/index.js.map +1 -1
  63. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +4 -0
  64. package/dist/lib/plugins/{api-key → api-keys}/CreateApiKey.js +1 -1
  65. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -0
  66. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +4 -0
  67. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +38 -0
  68. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -0
  69. package/dist/lib/plugins/{api-key → api-keys}/index.js +37 -9
  70. package/dist/lib/plugins/api-keys/index.js.map +1 -0
  71. package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -2
  72. package/dist/lib/plugins/markdown/MdxPage.js +7 -6
  73. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  74. package/dist/lib/plugins/markdown/Toc.js +1 -1
  75. package/dist/lib/plugins/markdown/Toc.js.map +1 -1
  76. package/dist/lib/plugins/markdown/generateRoutes.d.ts +3 -3
  77. package/dist/lib/plugins/markdown/generateRoutes.js +4 -4
  78. package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
  79. package/dist/lib/plugins/markdown/index.d.ts +4 -1
  80. package/dist/lib/plugins/markdown/index.js +2 -2
  81. package/dist/lib/plugins/markdown/index.js.map +1 -1
  82. package/dist/lib/plugins/openapi/OperationList.js +5 -4
  83. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  84. package/dist/lib/plugins/openapi/OperationListItem.js +8 -4
  85. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  86. package/dist/lib/plugins/openapi/ParameterList.js +1 -1
  87. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  88. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  89. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  90. package/dist/lib/plugins/openapi/{MakeRequest.d.ts → PlaygroundDialogWrapper.d.ts} +1 -1
  91. package/dist/lib/plugins/openapi/{MakeRequest.js → PlaygroundDialogWrapper.js} +5 -5
  92. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -0
  93. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +1 -9
  94. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  95. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
  96. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  97. package/dist/lib/plugins/openapi/Route.d.ts +6 -0
  98. package/dist/lib/plugins/openapi/Route.js +8 -0
  99. package/dist/lib/plugins/openapi/Route.js.map +1 -0
  100. package/dist/lib/plugins/openapi/SchemaListView.js +4 -26
  101. package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
  102. package/dist/lib/plugins/openapi/SchemaListViewItem.d.ts +7 -0
  103. package/dist/lib/plugins/openapi/SchemaListViewItem.js +16 -0
  104. package/dist/lib/plugins/openapi/SchemaListViewItem.js.map +1 -0
  105. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.d.ts +8 -0
  106. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js +17 -0
  107. package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js.map +1 -0
  108. package/dist/lib/plugins/openapi/Sidecar.js +10 -8
  109. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  110. package/dist/lib/plugins/openapi/{Select.d.ts → SimpleSelect.d.ts} +3 -2
  111. package/dist/lib/plugins/openapi/SimpleSelect.js +5 -0
  112. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -0
  113. package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +12 -0
  114. package/dist/lib/plugins/openapi/client/createMemoryClient.js +46 -0
  115. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +1 -0
  116. package/dist/lib/plugins/openapi/client/createServer.d.ts +4 -0
  117. package/dist/lib/plugins/openapi/client/createServer.js +30 -0
  118. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -0
  119. package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +10 -0
  120. package/dist/lib/plugins/openapi/{worker/createSharedWorkerClient.js → client/createWorkerClient.js} +11 -2
  121. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -0
  122. package/dist/lib/plugins/openapi/client/interfaces.d.ts +2 -0
  123. package/dist/lib/plugins/openapi/client/interfaces.js +2 -0
  124. package/dist/lib/plugins/openapi/client/interfaces.js.map +1 -0
  125. package/dist/lib/plugins/openapi/{worker → client}/worker.js +2 -2
  126. package/dist/lib/plugins/openapi/client/worker.js.map +1 -0
  127. package/dist/lib/plugins/openapi/context.d.ts +5 -0
  128. package/dist/lib/plugins/openapi/context.js +11 -0
  129. package/dist/lib/plugins/openapi/context.js.map +1 -0
  130. package/dist/lib/plugins/openapi/index.d.ts +1 -19
  131. package/dist/lib/plugins/openapi/index.js +27 -20
  132. package/dist/lib/plugins/openapi/index.js.map +1 -1
  133. package/dist/lib/plugins/openapi/interfaces.d.ts +15 -0
  134. package/dist/lib/plugins/openapi/interfaces.js +2 -0
  135. package/dist/lib/plugins/openapi/interfaces.js.map +1 -0
  136. package/dist/lib/plugins/openapi/playground/Headers.d.ts +2 -3
  137. package/dist/lib/plugins/openapi/playground/Headers.js +16 -6
  138. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  139. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +1 -1
  140. package/dist/lib/plugins/openapi/playground/Playground.d.ts +4 -3
  141. package/dist/lib/plugins/openapi/playground/Playground.js +8 -12
  142. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  143. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +3 -0
  144. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +10 -0
  145. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -0
  146. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
  147. package/dist/lib/plugins/openapi/playground/createUrl.d.ts +1 -1
  148. package/dist/lib/plugins/openapi/util/prose.d.ts +1 -0
  149. package/dist/lib/plugins/openapi/util/prose.js +4 -0
  150. package/dist/lib/plugins/openapi/util/prose.js.map +1 -0
  151. package/dist/lib/plugins/openapi-worker.d.ts +1 -1
  152. package/dist/lib/plugins/openapi-worker.js +1 -1
  153. package/dist/lib/plugins/openapi-worker.js.map +1 -1
  154. package/dist/lib/ui/Callout.js +1 -1
  155. package/dist/lib/ui/Callout.js.map +1 -1
  156. package/dist/lib/ui/button-variants.d.ts +1 -1
  157. package/dist/lib/util/MdxComponents.js +1 -1
  158. package/dist/lib/util/MdxComponents.js.map +1 -1
  159. package/dist/lib/util/logInit.d.ts +1 -0
  160. package/dist/lib/util/logInit.js +9 -0
  161. package/dist/lib/util/logInit.js.map +1 -0
  162. package/dist/lib/util/objectEntries.d.ts +4 -0
  163. package/dist/lib/util/objectEntries.js +2 -0
  164. package/dist/lib/util/objectEntries.js.map +1 -0
  165. package/dist/lib/util/renderIf.d.ts +1 -0
  166. package/dist/lib/util/renderIf.js +2 -0
  167. package/dist/lib/util/renderIf.js.map +1 -0
  168. package/dist/vite/build.js +4 -1
  169. package/dist/vite/build.js.map +1 -1
  170. package/dist/vite/config.d.ts +11 -7
  171. package/dist/vite/config.js +54 -48
  172. package/dist/vite/config.js.map +1 -1
  173. package/dist/vite/config.test.js +7 -4
  174. package/dist/vite/config.test.js.map +1 -1
  175. package/dist/vite/dev-server.js +4 -4
  176. package/dist/vite/dev-server.js.map +1 -1
  177. package/dist/vite/html.js +0 -1
  178. package/dist/vite/html.js.map +1 -1
  179. package/dist/vite/plugin-api-keys.js +7 -8
  180. package/dist/vite/plugin-api-keys.js.map +1 -1
  181. package/dist/vite/plugin-api.js +7 -11
  182. package/dist/vite/plugin-api.js.map +1 -1
  183. package/dist/vite/plugin-auth.js +5 -6
  184. package/dist/vite/plugin-auth.js.map +1 -1
  185. package/dist/vite/plugin-component.js +1 -1
  186. package/dist/vite/plugin-component.js.map +1 -1
  187. package/dist/vite/plugin-config.d.ts +0 -1
  188. package/dist/vite/plugin-config.js +13 -7
  189. package/dist/vite/plugin-config.js.map +1 -1
  190. package/dist/vite/plugin-docs.js +9 -8
  191. package/dist/vite/plugin-docs.js.map +1 -1
  192. package/dist/vite/plugin-docs.test.js +1 -1
  193. package/dist/vite/plugin-docs.test.js.map +1 -1
  194. package/dist/vite/plugin-html.js +1 -9
  195. package/dist/vite/plugin-html.js.map +1 -1
  196. package/dist/vite/plugin-mdx.d.ts +3 -1
  197. package/dist/vite/plugin-mdx.js +4 -4
  198. package/dist/vite/plugin-mdx.js.map +1 -1
  199. package/dist/vite/plugin-openapi-worker.js +11 -3
  200. package/dist/vite/plugin-openapi-worker.js.map +1 -1
  201. package/dist/vite/plugin-redirect.js +9 -9
  202. package/dist/vite/plugin-redirect.js.map +1 -1
  203. package/dist/vite/plugin.js +1 -1
  204. package/dist/vite/plugin.js.map +1 -1
  205. package/lib/AnchorLink-BtVKbEwm.js +706 -0
  206. package/lib/AnchorLink-BtVKbEwm.js.map +1 -0
  207. package/lib/DevPortalProvider--xZTs0RJ.js +1081 -0
  208. package/lib/DevPortalProvider--xZTs0RJ.js.map +1 -0
  209. package/lib/Markdown-oJFqm0uk.js +8621 -0
  210. package/lib/Markdown-oJFqm0uk.js.map +1 -0
  211. package/lib/MdxComponents-CsU8yR42.js +3019 -0
  212. package/lib/MdxComponents-CsU8yR42.js.map +1 -0
  213. package/lib/MdxPage-BV_9ncEk.js +217 -0
  214. package/lib/MdxPage-BV_9ncEk.js.map +1 -0
  215. package/lib/OperationList-DfG_E0Xa.js +5546 -0
  216. package/lib/OperationList-DfG_E0Xa.js.map +1 -0
  217. package/lib/Route-CHqr53jb.js +14 -0
  218. package/lib/Route-CHqr53jb.js.map +1 -0
  219. package/lib/Select-CNmXi4JU.js +4572 -0
  220. package/lib/Select-CNmXi4JU.js.map +1 -0
  221. package/lib/Spinner-By5opWs5.js +182 -0
  222. package/lib/Spinner-By5opWs5.js.map +1 -0
  223. package/lib/_commonjsHelpers-BkfeUUK-.js +1 -0
  224. package/lib/_commonjsHelpers-BkfeUUK-.js.map +1 -0
  225. package/lib/assets/index-BPdJm2ty.js +1 -0
  226. package/lib/assets/index-BPdJm2ty.js.map +1 -0
  227. package/lib/assets/{worker-BCcpCNJ7.js → worker-BXS8hiSM.js} +9844 -9800
  228. package/lib/assets/worker-BXS8hiSM.js.map +1 -0
  229. package/lib/cn-DpqTslo9.js +2342 -0
  230. package/lib/cn-DpqTslo9.js.map +1 -0
  231. package/lib/context-_fYfJFgk.js +14 -0
  232. package/lib/context-_fYfJFgk.js.map +1 -0
  233. package/lib/hook-kVJ4gpk5.js +25 -0
  234. package/lib/hook-kVJ4gpk5.js.map +1 -0
  235. package/lib/index-B2qLeglF.js +710 -0
  236. package/lib/index-B2qLeglF.js.map +1 -0
  237. package/lib/index-CUIxJAeE.js +713 -0
  238. package/lib/index-CUIxJAeE.js.map +1 -0
  239. package/lib/index-Cr3hgaqt.js +412 -0
  240. package/lib/index-Cr3hgaqt.js.map +1 -0
  241. package/lib/index-fXFJf9Ua.js +464 -0
  242. package/lib/index-fXFJf9Ua.js.map +1 -0
  243. package/lib/jsx-runtime-D7DwziLW.js +3009 -0
  244. package/lib/jsx-runtime-D7DwziLW.js.map +1 -0
  245. package/lib/loglevel-CA34MiFn.js +153 -0
  246. package/lib/loglevel-CA34MiFn.js.map +1 -0
  247. package/lib/prism-bash.min-DadFsM4Z.js +1 -0
  248. package/lib/prism-bash.min-DadFsM4Z.js.map +1 -0
  249. package/lib/prism-csharp.min-Yizuc34Y.js +35 -0
  250. package/lib/prism-csharp.min-Yizuc34Y.js.map +1 -0
  251. package/lib/prism-java.min-d5iT_mOd.js +1 -0
  252. package/lib/prism-java.min-d5iT_mOd.js.map +1 -0
  253. package/lib/prism-json.min-B1GJqK1k.js +1 -0
  254. package/lib/prism-json.min-B1GJqK1k.js.map +1 -0
  255. package/lib/prism-markup-templating-DZrrEs0A.js +1 -0
  256. package/lib/prism-markup-templating-DZrrEs0A.js.map +1 -0
  257. package/lib/prism-objectivec.min-BXSWqpJJ.js +2 -0
  258. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -0
  259. package/lib/prism-php.min-o7FpoMP_.js +1 -0
  260. package/lib/prism-php.min-o7FpoMP_.js.map +1 -0
  261. package/lib/prism-ruby.min-C7LwcKyz.js +1 -0
  262. package/lib/prism-ruby.min-C7LwcKyz.js.map +1 -0
  263. package/lib/{state-oycsxkHz.js → state-Ds_OxRHP.js} +20 -18
  264. package/lib/state-Ds_OxRHP.js.map +1 -0
  265. package/lib/urql-DMlBWUKL.js +1 -0
  266. package/lib/urql-DMlBWUKL.js.map +1 -0
  267. package/lib/util-DnDPBx_j.js +41 -0
  268. package/lib/util-DnDPBx_j.js.map +1 -0
  269. package/lib/zudoku.auth-auth0.js +3 -1
  270. package/lib/zudoku.auth-auth0.js.map +1 -0
  271. package/lib/zudoku.auth-clerk.js +11 -8
  272. package/lib/zudoku.auth-clerk.js.map +1 -0
  273. package/lib/zudoku.auth-openid.js +444 -588
  274. package/lib/zudoku.auth-openid.js.map +1 -0
  275. package/lib/zudoku.components.js +302 -305
  276. package/lib/zudoku.components.js.map +1 -0
  277. package/lib/zudoku.openapi-worker.js +16 -13
  278. package/lib/zudoku.openapi-worker.js.map +1 -0
  279. package/lib/zudoku.plugin-api-keys.js +296 -0
  280. package/lib/zudoku.plugin-api-keys.js.map +1 -0
  281. package/lib/zudoku.plugin-markdown.js +52 -0
  282. package/lib/zudoku.plugin-markdown.js.map +1 -0
  283. package/lib/zudoku.plugin-openapi.js +8 -0
  284. package/lib/zudoku.plugin-openapi.js.map +1 -0
  285. package/lib/zudoku.plugin-redirect.js +12 -0
  286. package/lib/zudoku.plugin-redirect.js.map +1 -0
  287. package/package.json +20 -6
  288. package/src/app/demo-cdn.html +26 -0
  289. package/src/app/demo.html +18 -0
  290. package/src/app/demo.tsx +35 -0
  291. package/src/app/main.css +74 -0
  292. package/src/app/main.tsx +40 -9
  293. package/src/app/standalone.html +20 -0
  294. package/src/app/standalone.tsx +42 -0
  295. package/src/lib/authentication/Callback.tsx +1 -1
  296. package/src/lib/authentication/authentication.ts +2 -5
  297. package/src/lib/authentication/hook.ts +1 -0
  298. package/src/lib/authentication/providers/auth0.tsx +1 -0
  299. package/src/lib/authentication/providers/clerk.tsx +2 -0
  300. package/src/lib/authentication/providers/openid.tsx +3 -1
  301. package/src/lib/authentication/state.ts +2 -0
  302. package/src/lib/components/DevPortal.tsx +13 -29
  303. package/src/lib/components/Error.tsx +15 -0
  304. package/src/lib/components/Header.tsx +7 -7
  305. package/src/lib/components/Heading.tsx +26 -7
  306. package/src/lib/components/Layout.tsx +3 -4
  307. package/src/lib/components/Router.tsx +2 -7
  308. package/src/lib/components/SyntaxHighlight.tsx +5 -1
  309. package/src/lib/components/TopNavigation.tsx +5 -0
  310. package/src/lib/components/context/DevPortalProvider.ts +2 -2
  311. package/src/lib/components/index.ts +9 -3
  312. package/src/lib/core/DevPortalContext.ts +42 -12
  313. package/src/lib/core/plugins.ts +10 -5
  314. package/src/lib/oas/graphql/index.ts +2 -2
  315. package/src/lib/oas/parser/index.ts +3 -1
  316. package/src/lib/plugins/{api-key → api-keys}/CreateApiKey.tsx +2 -8
  317. package/src/lib/plugins/{api-key → api-keys}/SettingsApiKeys.tsx +21 -14
  318. package/src/lib/plugins/{api-key → api-keys}/index.tsx +54 -8
  319. package/src/lib/plugins/markdown/MdxPage.tsx +52 -35
  320. package/src/lib/plugins/markdown/Toc.tsx +1 -1
  321. package/src/lib/plugins/markdown/generateRoutes.tsx +15 -5
  322. package/src/lib/plugins/markdown/index.tsx +8 -1
  323. package/src/lib/plugins/openapi/OperationList.tsx +10 -4
  324. package/src/lib/plugins/openapi/OperationListItem.tsx +66 -41
  325. package/src/lib/plugins/openapi/ParameterList.tsx +1 -1
  326. package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -4
  327. package/src/lib/plugins/openapi/{MakeRequest.tsx → PlaygroundDialogWrapper.tsx} +4 -4
  328. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -16
  329. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +3 -1
  330. package/src/lib/plugins/openapi/Route.tsx +21 -0
  331. package/src/lib/plugins/openapi/SchemaListView.tsx +15 -182
  332. package/src/lib/plugins/openapi/SchemaListViewItem.tsx +110 -0
  333. package/src/lib/plugins/openapi/SchemaListViewItemGroup.tsx +63 -0
  334. package/src/lib/plugins/openapi/Sidecar.tsx +15 -10
  335. package/src/lib/plugins/openapi/{Select.tsx → SimpleSelect.tsx} +6 -3
  336. package/src/lib/plugins/openapi/client/createMemoryClient.ts +56 -0
  337. package/src/lib/plugins/openapi/client/createServer.ts +33 -0
  338. package/src/lib/plugins/openapi/{worker/createSharedWorkerClient.ts → client/createWorkerClient.ts} +13 -1
  339. package/src/lib/plugins/openapi/client/interfaces.ts +3 -0
  340. package/src/lib/plugins/openapi/{worker → client}/worker.ts +3 -3
  341. package/src/lib/plugins/openapi/context.tsx +16 -0
  342. package/src/lib/plugins/openapi/index.tsx +37 -51
  343. package/src/lib/plugins/openapi/interfaces.ts +9 -0
  344. package/src/lib/plugins/openapi/playground/Headers.tsx +60 -33
  345. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
  346. package/src/lib/plugins/openapi/playground/Playground.tsx +158 -193
  347. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +34 -0
  348. package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -1
  349. package/src/lib/plugins/openapi/playground/createUrl.ts +1 -1
  350. package/src/lib/plugins/openapi/util/prose.ts +7 -0
  351. package/src/lib/plugins/openapi-worker.ts +1 -1
  352. package/src/lib/ui/Callout.tsx +2 -2
  353. package/src/lib/util/MdxComponents.tsx +1 -2
  354. package/src/lib/util/logInit.ts +9 -0
  355. package/src/lib/util/objectEntries.ts +5 -0
  356. package/src/lib/util/renderIf.ts +4 -0
  357. package/dist/app/App.d.ts +0 -2
  358. package/dist/app/App.js +0 -29
  359. package/dist/app/App.js.map +0 -1
  360. package/dist/lib/components/Link.d.ts +0 -1
  361. package/dist/lib/components/Link.js +0 -2
  362. package/dist/lib/components/Link.js.map +0 -1
  363. package/dist/lib/core/helmet.d.ts +0 -4
  364. package/dist/lib/core/helmet.js +0 -5
  365. package/dist/lib/core/helmet.js.map +0 -1
  366. package/dist/lib/core/icons.d.ts +0 -1
  367. package/dist/lib/core/icons.js +0 -2
  368. package/dist/lib/core/icons.js.map +0 -1
  369. package/dist/lib/core/router.d.ts +0 -1
  370. package/dist/lib/core/router.js +0 -2
  371. package/dist/lib/core/router.js.map +0 -1
  372. package/dist/lib/plugins/api-key/CreateApiKey.d.ts +0 -5
  373. package/dist/lib/plugins/api-key/CreateApiKey.js.map +0 -1
  374. package/dist/lib/plugins/api-key/SettingsApiKeys.d.ts +0 -5
  375. package/dist/lib/plugins/api-key/SettingsApiKeys.js +0 -38
  376. package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +0 -1
  377. package/dist/lib/plugins/api-key/index.js.map +0 -1
  378. package/dist/lib/plugins/index.d.ts +0 -4
  379. package/dist/lib/plugins/index.js +0 -5
  380. package/dist/lib/plugins/index.js.map +0 -1
  381. package/dist/lib/plugins/openapi/MakeRequest.js.map +0 -1
  382. package/dist/lib/plugins/openapi/Select.js +0 -5
  383. package/dist/lib/plugins/openapi/Select.js.map +0 -1
  384. package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.d.ts +0 -5
  385. package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.js.map +0 -1
  386. package/dist/lib/plugins/openapi/worker/shared-worker.d.ts +0 -1
  387. package/dist/lib/plugins/openapi/worker/shared-worker.js +0 -6
  388. package/dist/lib/plugins/openapi/worker/shared-worker.js.map +0 -1
  389. package/dist/lib/plugins/openapi/worker/worker.js.map +0 -1
  390. package/dist/vite/common.d.ts +0 -1
  391. package/dist/vite/common.js +0 -5
  392. package/dist/vite/common.js.map +0 -1
  393. package/lib/Spinner-7LezPqGn.js +0 -8393
  394. package/lib/clerk-Wslx_mPo.js +0 -19685
  395. package/lib/index-DNx3xWa2.js +0 -3461
  396. package/lib/zudoku.plugins.js +0 -19863
  397. package/src/app/App.tsx +0 -40
  398. package/src/lib/components/Link.tsx +0 -1
  399. package/src/lib/core/helmet.ts +0 -5
  400. package/src/lib/core/icons.tsx +0 -1
  401. package/src/lib/core/router.tsx +0 -1
  402. package/src/lib/plugins/index.ts +0 -4
  403. package/src/lib/plugins/openapi/worker/shared-worker.ts +0 -5
  404. /package/dist/lib/plugins/{api-key → api-keys}/index.d.ts +0 -0
  405. /package/dist/lib/plugins/openapi/{worker → client}/worker.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-Cr3hgaqt.js","sources":["../../../node_modules/.pnpm/@tanstack+query-core@5.50.1/node_modules/@tanstack/query-core/build/modern/mutation.js","../../../node_modules/.pnpm/@radix-ui+primitive@1.1.0/node_modules/@radix-ui/primitive/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-context@1.1.0_@types+react@18.3.3_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.0_@types+react@18.3.3_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.1.0_@types+react@18.3.3_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.0_@types+react@18.3.3_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.0_@types+react@18.3.3_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-slot@1.1.0_@types+react@18.3.3_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-primitive@2.0.0_@types+react-dom@18.3.0_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-primitive/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-id@1.1.0_@types+react@18.3.3_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// src/mutation.ts\nimport { notifyManager } from \"./notifyManager.js\";\nimport { Removable } from \"./removable.js\";\nimport { createRetryer } from \"./retryer.js\";\nvar Mutation = class extends Removable {\n #observers;\n #mutationCache;\n #retryer;\n constructor(config) {\n super();\n this.mutationId = config.mutationId;\n this.#mutationCache = config.mutationCache;\n this.#observers = [];\n this.state = config.state || getDefaultState();\n this.setOptions(config.options);\n this.scheduleGc();\n }\n setOptions(options) {\n this.options = options;\n this.updateGcTime(this.options.gcTime);\n }\n get meta() {\n return this.options.meta;\n }\n addObserver(observer) {\n if (!this.#observers.includes(observer)) {\n this.#observers.push(observer);\n this.clearGcTimeout();\n this.#mutationCache.notify({\n type: \"observerAdded\",\n mutation: this,\n observer\n });\n }\n }\n removeObserver(observer) {\n this.#observers = this.#observers.filter((x) => x !== observer);\n this.scheduleGc();\n this.#mutationCache.notify({\n type: \"observerRemoved\",\n mutation: this,\n observer\n });\n }\n optionalRemove() {\n if (!this.#observers.length) {\n if (this.state.status === \"pending\") {\n this.scheduleGc();\n } else {\n this.#mutationCache.remove(this);\n }\n }\n }\n continue() {\n return this.#retryer?.continue() ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before\n this.execute(this.state.variables);\n }\n async execute(variables) {\n this.#retryer = createRetryer({\n fn: () => {\n if (!this.options.mutationFn) {\n return Promise.reject(new Error(\"No mutationFn found\"));\n }\n return this.options.mutationFn(variables);\n },\n onFail: (failureCount, error) => {\n this.#dispatch({ type: \"failed\", failureCount, error });\n },\n onPause: () => {\n this.#dispatch({ type: \"pause\" });\n },\n onContinue: () => {\n this.#dispatch({ type: \"continue\" });\n },\n retry: this.options.retry ?? 0,\n retryDelay: this.options.retryDelay,\n networkMode: this.options.networkMode,\n canRun: () => this.#mutationCache.canRun(this)\n });\n const restored = this.state.status === \"pending\";\n const isPaused = !this.#retryer.canStart();\n try {\n if (!restored) {\n this.#dispatch({ type: \"pending\", variables, isPaused });\n await this.#mutationCache.config.onMutate?.(\n variables,\n this\n );\n const context = await this.options.onMutate?.(variables);\n if (context !== this.state.context) {\n this.#dispatch({\n type: \"pending\",\n context,\n variables,\n isPaused\n });\n }\n }\n const data = await this.#retryer.start();\n await this.#mutationCache.config.onSuccess?.(\n data,\n variables,\n this.state.context,\n this\n );\n await this.options.onSuccess?.(data, variables, this.state.context);\n await this.#mutationCache.config.onSettled?.(\n data,\n null,\n this.state.variables,\n this.state.context,\n this\n );\n await this.options.onSettled?.(data, null, variables, this.state.context);\n this.#dispatch({ type: \"success\", data });\n return data;\n } catch (error) {\n try {\n await this.#mutationCache.config.onError?.(\n error,\n variables,\n this.state.context,\n this\n );\n await this.options.onError?.(\n error,\n variables,\n this.state.context\n );\n await this.#mutationCache.config.onSettled?.(\n void 0,\n error,\n this.state.variables,\n this.state.context,\n this\n );\n await this.options.onSettled?.(\n void 0,\n error,\n variables,\n this.state.context\n );\n throw error;\n } finally {\n this.#dispatch({ type: \"error\", error });\n }\n } finally {\n this.#mutationCache.runNext(this);\n }\n }\n #dispatch(action) {\n const reducer = (state) => {\n switch (action.type) {\n case \"failed\":\n return {\n ...state,\n failureCount: action.failureCount,\n failureReason: action.error\n };\n case \"pause\":\n return {\n ...state,\n isPaused: true\n };\n case \"continue\":\n return {\n ...state,\n isPaused: false\n };\n case \"pending\":\n return {\n ...state,\n context: action.context,\n data: void 0,\n failureCount: 0,\n failureReason: null,\n error: null,\n isPaused: action.isPaused,\n status: \"pending\",\n variables: action.variables,\n submittedAt: Date.now()\n };\n case \"success\":\n return {\n ...state,\n data: action.data,\n failureCount: 0,\n failureReason: null,\n error: null,\n status: \"success\",\n isPaused: false\n };\n case \"error\":\n return {\n ...state,\n data: void 0,\n error: action.error,\n failureCount: state.failureCount + 1,\n failureReason: action.error,\n isPaused: false,\n status: \"error\"\n };\n }\n };\n this.state = reducer(this.state);\n notifyManager.batch(() => {\n this.#observers.forEach((observer) => {\n observer.onMutationUpdate(action);\n });\n this.#mutationCache.notify({\n mutation: this,\n type: \"updated\",\n action\n });\n });\n }\n};\nfunction getDefaultState() {\n return {\n context: void 0,\n data: void 0,\n error: null,\n failureCount: 0,\n failureReason: null,\n isPaused: false,\n status: \"idle\",\n variables: void 0,\n submittedAt: 0\n };\n}\nexport {\n Mutation,\n getDefaultState\n};\n//# sourceMappingURL=mutation.js.map","// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/context/src/createContext.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n function Provider(props) {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n }\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n Provider.displayName = rootComponentName + \"Provider\";\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n function Provider(props) {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName][index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n }\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName][index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n Provider.displayName = rootComponentName + \"Provider\";\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/use-callback-ref/src/useCallbackRef.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/use-controllable-state/src/useControllableState.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n }\n}) {\n const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({ defaultProp, onChange });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n const handleChange = useCallbackRef(onChange);\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const setter = nextValue;\n const value2 = typeof nextValue === \"function\" ? setter(prop) : nextValue;\n if (value2 !== prop) handleChange(value2);\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, handleChange]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const uncontrolledState = React.useState(defaultProp);\n const [value] = uncontrolledState;\n const prevValueRef = React.useRef(value);\n const handleChange = useCallbackRef(onChange);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n handleChange(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef, handleChange]);\n return uncontrolledState;\n}\nexport {\n useControllableState\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/use-layout-effect/src/useLayoutEffect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = Boolean(globalThis?.document) ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/compose-refs/src/composeRefs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => refs.forEach((ref) => setRef(ref, node));\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/slot/src/Slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n return React.cloneElement(children, {\n ...mergeProps(slotProps, children.props),\n // @ts-ignore\n ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef\n });\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/primitive/src/Primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n","// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\"useId\".toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Mutation","_a","Removable","config","__privateAdd","_Mutation_instances","_observers","_mutationCache","_retryer","__privateSet","getDefaultState","options","observer","__privateGet","x","variables","createRetryer","failureCount","error","__privateMethod","dispatch_fn","restored","isPaused","_b","context","_d","_c","data","_f","_e","_h","_g","_j","_i","_l","_k","_n","_m","_p","_o","_r","_q","_t","_s","action","reducer","state","notifyManager","composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event","createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope","useCallbackRef","callback","callbackRef","args","useControllableState","prop","defaultProp","onChange","uncontrolledProp","setUncontrolledProp","useUncontrolledState","isControlled","handleChange","setValue","nextValue","value2","uncontrolledState","prevValueRef","useLayoutEffect2","setRef","ref","composeRefs","refs","node","useComposedRefs","Slot","forwardedRef","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","SlotClone","childrenRef","getElementRef","mergeProps","Slottable","Fragment","childProps","overrideProps","propName","slotPropValue","childPropValue","element","getter","mayWarn","NODES","Primitive","primitive","Node","asChild","primitiveProps","Comp","dispatchDiscreteCustomEvent","target","ReactDOM","useReactId","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":";;;;;;;;;sBAIIA,MAAWC,IAAA,cAAcC,EAAU;AAAA,EAIrC,YAAYC,GAAQ;AAClB;AALW,IAAAC,EAAA,MAAAC;AACb,IAAAD,EAAA,MAAAE;AACA,IAAAF,EAAA,MAAAG;AACA,IAAAH,EAAA,MAAAI;AAGE,SAAK,aAAaL,EAAO,YACzBM,EAAA,MAAKF,GAAiBJ,EAAO,gBAC7BM,EAAA,MAAKH,GAAa,KAClB,KAAK,QAAQH,EAAO,SAASO,EAAe,GAC5C,KAAK,WAAWP,EAAO,OAAO,GAC9B,KAAK,WAAU;AAAA,EAChB;AAAA,EACD,WAAWQ,GAAS;AAClB,SAAK,UAAUA,GACf,KAAK,aAAa,KAAK,QAAQ,MAAM;AAAA,EACtC;AAAA,EACD,IAAI,OAAO;AACT,WAAO,KAAK,QAAQ;AAAA,EACrB;AAAA,EACD,YAAYC,GAAU;AACpB,IAAKC,EAAA,MAAKP,GAAW,SAASM,CAAQ,MACpCC,EAA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AAM,EAAE,GAAGD,GAAgB,KAAK3B,EAAY,CAAE;AAAA,EAC7E,CAAG;AACD,SAAAyB,EAAK,cAAc,aAAa5B,CAAI,IAC7B,EAAE,GAAG2B,GAAW,CAAC3B,CAAI,GAAG4B,EAAI;AACrC,GAAG,EAAE;AACL,SAASI,GAA4BC,GAAQ1F,GAAO;AAClD,EAAI0F,KAAQC,EAAS,UAAU,MAAMD,EAAO,cAAc1F,CAAK,CAAC;AAClE;AClCA,IAAI4F,KAAavF,EAAM,UAAwB,MAAA;AAAA,IAC3CwF,KAAQ;AACZ,SAASC,GAAMC,GAAiB;AAC9B,QAAM,CAACC,GAAIC,CAAK,IAAI5F,EAAM,SAASuF,GAAU,CAAE;AAC/CM,SAAAA,EAAgB,MAAM;AACE,IAAAD,EAAM,CAACE,MAAYA,KAAW,OAAON,IAAO,CAAC;AAAA,EACvE,GAAK,CAACE,CAAe,CAAC,GACOC,IAAK,SAASA,CAAE,KAAK;AAClD;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9]}
@@ -0,0 +1,464 @@
1
+ import * as n from "react";
2
+ import { i as c, w as g, r as U, g as F, d as D, e as Y, A as W, p as z, s as H, f as q } from "./jsx-runtime-D7DwziLW.js";
3
+ /**
4
+ * React Router v6.24.1
5
+ *
6
+ * Copyright (c) Remix Software Inc.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE.md file in the root directory of this source tree.
10
+ *
11
+ * @license MIT
12
+ */
13
+ function _() {
14
+ return _ = Object.assign ? Object.assign.bind() : function(e) {
15
+ for (var t = 1; t < arguments.length; t++) {
16
+ var r = arguments[t];
17
+ for (var a in r)
18
+ Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
19
+ }
20
+ return e;
21
+ }, _.apply(this, arguments);
22
+ }
23
+ const P = /* @__PURE__ */ n.createContext(null);
24
+ process.env.NODE_ENV !== "production" && (P.displayName = "DataRouter");
25
+ const M = /* @__PURE__ */ n.createContext(null);
26
+ process.env.NODE_ENV !== "production" && (M.displayName = "DataRouterState");
27
+ const X = /* @__PURE__ */ n.createContext(null);
28
+ process.env.NODE_ENV !== "production" && (X.displayName = "Await");
29
+ const C = /* @__PURE__ */ n.createContext(null);
30
+ process.env.NODE_ENV !== "production" && (C.displayName = "Navigation");
31
+ const V = /* @__PURE__ */ n.createContext(null);
32
+ process.env.NODE_ENV !== "production" && (V.displayName = "Location");
33
+ const y = /* @__PURE__ */ n.createContext({
34
+ outlet: null,
35
+ matches: [],
36
+ isDataRoute: !1
37
+ });
38
+ process.env.NODE_ENV !== "production" && (y.displayName = "Route");
39
+ const k = /* @__PURE__ */ n.createContext(null);
40
+ process.env.NODE_ENV !== "production" && (k.displayName = "RouteError");
41
+ function de(e, t) {
42
+ let {
43
+ relative: r
44
+ } = t === void 0 ? {} : t;
45
+ R() || (process.env.NODE_ENV !== "production" ? c(
46
+ !1,
47
+ // TODO: This error is probably because they somehow have 2 versions of the
48
+ // router loaded. We can help them understand how to avoid that.
49
+ "useHref() may be used only in the context of a <Router> component."
50
+ ) : c(!1));
51
+ let {
52
+ basename: a,
53
+ navigator: i
54
+ } = n.useContext(C), {
55
+ hash: u,
56
+ pathname: o,
57
+ search: f
58
+ } = Z(e, {
59
+ relative: r
60
+ }), m = o;
61
+ return a !== "/" && (m = o === "/" ? a : D([a, o])), i.createHref({
62
+ pathname: m,
63
+ search: f,
64
+ hash: u
65
+ });
66
+ }
67
+ function R() {
68
+ return n.useContext(V) != null;
69
+ }
70
+ function B() {
71
+ return R() || (process.env.NODE_ENV !== "production" ? c(
72
+ !1,
73
+ // TODO: This error is probably because they somehow have 2 versions of the
74
+ // router loaded. We can help them understand how to avoid that.
75
+ "useLocation() may be used only in the context of a <Router> component."
76
+ ) : c(!1)), n.useContext(V).location;
77
+ }
78
+ const S = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
79
+ function J(e) {
80
+ n.useContext(C).static || n.useLayoutEffect(e);
81
+ }
82
+ function $() {
83
+ let {
84
+ isDataRoute: e
85
+ } = n.useContext(y);
86
+ return e ? ue() : G();
87
+ }
88
+ function G() {
89
+ R() || (process.env.NODE_ENV !== "production" ? c(
90
+ !1,
91
+ // TODO: This error is probably because they somehow have 2 versions of the
92
+ // router loaded. We can help them understand how to avoid that.
93
+ "useNavigate() may be used only in the context of a <Router> component."
94
+ ) : c(!1));
95
+ let e = n.useContext(P), {
96
+ basename: t,
97
+ future: r,
98
+ navigator: a
99
+ } = n.useContext(C), {
100
+ matches: i
101
+ } = n.useContext(y), {
102
+ pathname: u
103
+ } = B(), o = JSON.stringify(F(i, r.v7_relativeSplatPath)), f = n.useRef(!1);
104
+ return J(() => {
105
+ f.current = !0;
106
+ }), n.useCallback(function(d, s) {
107
+ if (s === void 0 && (s = {}), process.env.NODE_ENV !== "production" && g(f.current, S), !f.current) return;
108
+ if (typeof d == "number") {
109
+ a.go(d);
110
+ return;
111
+ }
112
+ let l = U(d, JSON.parse(o), u, s.relative === "path");
113
+ e == null && t !== "/" && (l.pathname = l.pathname === "/" ? t : D([t, l.pathname])), (s.replace ? a.replace : a.push)(l, s.state, s);
114
+ }, [t, a, o, u, e]);
115
+ }
116
+ const K = /* @__PURE__ */ n.createContext(null);
117
+ function Q(e) {
118
+ let t = n.useContext(y).outlet;
119
+ return t && /* @__PURE__ */ n.createElement(K.Provider, {
120
+ value: e
121
+ }, t);
122
+ }
123
+ function Z(e, t) {
124
+ let {
125
+ relative: r
126
+ } = t === void 0 ? {} : t, {
127
+ future: a
128
+ } = n.useContext(C), {
129
+ matches: i
130
+ } = n.useContext(y), {
131
+ pathname: u
132
+ } = B(), o = JSON.stringify(F(i, a.v7_relativeSplatPath));
133
+ return n.useMemo(() => U(e, JSON.parse(o), u, r === "path"), [e, o, u, r]);
134
+ }
135
+ function fe(e, t, r, a) {
136
+ R() || (process.env.NODE_ENV !== "production" ? c(
137
+ !1,
138
+ // TODO: This error is probably because they somehow have 2 versions of the
139
+ // router loaded. We can help them understand how to avoid that.
140
+ "useRoutes() may be used only in the context of a <Router> component."
141
+ ) : c(!1));
142
+ let {
143
+ navigator: i
144
+ } = n.useContext(C), {
145
+ matches: u
146
+ } = n.useContext(y), o = u[u.length - 1], f = o ? o.params : {}, m = o ? o.pathname : "/", d = o ? o.pathnameBase : "/", s = o && o.route;
147
+ if (process.env.NODE_ENV !== "production") {
148
+ let v = s && s.path || "";
149
+ T(m, !s || v.endsWith("*"), "You rendered descendant <Routes> (or called `useRoutes()`) at " + ('"' + m + '" (under <Route path="' + v + '">) but the ') + `parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
150
+
151
+ ` + ('Please change the parent <Route path="' + v + '"> to <Route ') + ('path="' + (v === "/" ? "*" : v + "/*") + '">.'));
152
+ }
153
+ let l = B(), p;
154
+ p = l;
155
+ let E = p.pathname || "/", N = E;
156
+ if (d !== "/") {
157
+ let v = d.replace(/^\//, "").split("/");
158
+ N = "/" + E.replace(/^\//, "").split("/").slice(v.length).join("/");
159
+ }
160
+ let h = Y(e, {
161
+ pathname: N
162
+ });
163
+ return process.env.NODE_ENV !== "production" && (process.env.NODE_ENV !== "production" && g(s || h != null, 'No routes matched location "' + p.pathname + p.search + p.hash + '" '), process.env.NODE_ENV !== "production" && g(h == null || h[h.length - 1].route.element !== void 0 || h[h.length - 1].route.Component !== void 0 || h[h.length - 1].route.lazy !== void 0, 'Matched leaf route at location "' + p.pathname + p.search + p.hash + '" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.')), oe(h && h.map((v) => Object.assign({}, v, {
164
+ params: Object.assign({}, f, v.params),
165
+ pathname: D([
166
+ d,
167
+ // Re-encode pathnames that were decoded inside matchRoutes
168
+ i.encodeLocation ? i.encodeLocation(v.pathname).pathname : v.pathname
169
+ ]),
170
+ pathnameBase: v.pathnameBase === "/" ? d : D([
171
+ d,
172
+ // Re-encode pathnames that were decoded inside matchRoutes
173
+ i.encodeLocation ? i.encodeLocation(v.pathnameBase).pathname : v.pathnameBase
174
+ ])
175
+ })), u, r, a);
176
+ }
177
+ function ee() {
178
+ let e = se(), t = q(e) ? e.status + " " + e.statusText : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, a = "rgba(200,200,200, 0.5)", i = {
179
+ padding: "0.5rem",
180
+ backgroundColor: a
181
+ }, u = {
182
+ padding: "2px 4px",
183
+ backgroundColor: a
184
+ }, o = null;
185
+ return process.env.NODE_ENV !== "production" && (console.error("Error handled by React Router default ErrorBoundary:", e), o = /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ n.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ n.createElement("code", {
186
+ style: u
187
+ }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ n.createElement("code", {
188
+ style: u
189
+ }, "errorElement"), " prop on your route."))), /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ n.createElement("h3", {
190
+ style: {
191
+ fontStyle: "italic"
192
+ }
193
+ }, t), r ? /* @__PURE__ */ n.createElement("pre", {
194
+ style: i
195
+ }, r) : null, o);
196
+ }
197
+ const te = /* @__PURE__ */ n.createElement(ee, null);
198
+ class ne extends n.Component {
199
+ constructor(t) {
200
+ super(t), this.state = {
201
+ location: t.location,
202
+ revalidation: t.revalidation,
203
+ error: t.error
204
+ };
205
+ }
206
+ static getDerivedStateFromError(t) {
207
+ return {
208
+ error: t
209
+ };
210
+ }
211
+ static getDerivedStateFromProps(t, r) {
212
+ return r.location !== t.location || r.revalidation !== "idle" && t.revalidation === "idle" ? {
213
+ error: t.error,
214
+ location: t.location,
215
+ revalidation: t.revalidation
216
+ } : {
217
+ error: t.error !== void 0 ? t.error : r.error,
218
+ location: r.location,
219
+ revalidation: t.revalidation || r.revalidation
220
+ };
221
+ }
222
+ componentDidCatch(t, r) {
223
+ console.error("React Router caught the following error during render", t, r);
224
+ }
225
+ render() {
226
+ return this.state.error !== void 0 ? /* @__PURE__ */ n.createElement(y.Provider, {
227
+ value: this.props.routeContext
228
+ }, /* @__PURE__ */ n.createElement(k.Provider, {
229
+ value: this.state.error,
230
+ children: this.props.component
231
+ })) : this.props.children;
232
+ }
233
+ }
234
+ function re(e) {
235
+ let {
236
+ routeContext: t,
237
+ match: r,
238
+ children: a
239
+ } = e, i = n.useContext(P);
240
+ return i && i.static && i.staticContext && (r.route.errorElement || r.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = r.route.id), /* @__PURE__ */ n.createElement(y.Provider, {
241
+ value: t
242
+ }, a);
243
+ }
244
+ function oe(e, t, r, a) {
245
+ var i;
246
+ if (t === void 0 && (t = []), r === void 0 && (r = null), a === void 0 && (a = null), e == null) {
247
+ var u;
248
+ if ((u = r) != null && u.errors)
249
+ e = r.matches;
250
+ else
251
+ return null;
252
+ }
253
+ let o = e, f = (i = r) == null ? void 0 : i.errors;
254
+ if (f != null) {
255
+ let s = o.findIndex((l) => l.route.id && (f == null ? void 0 : f[l.route.id]) !== void 0);
256
+ s >= 0 || (process.env.NODE_ENV !== "production" ? c(!1, "Could not find a matching route for errors on route IDs: " + Object.keys(f).join(",")) : c(!1)), o = o.slice(0, Math.min(o.length, s + 1));
257
+ }
258
+ let m = !1, d = -1;
259
+ if (r && a && a.v7_partialHydration)
260
+ for (let s = 0; s < o.length; s++) {
261
+ let l = o[s];
262
+ if ((l.route.HydrateFallback || l.route.hydrateFallbackElement) && (d = s), l.route.id) {
263
+ let {
264
+ loaderData: p,
265
+ errors: E
266
+ } = r, N = l.route.loader && p[l.route.id] === void 0 && (!E || E[l.route.id] === void 0);
267
+ if (l.route.lazy || N) {
268
+ m = !0, d >= 0 ? o = o.slice(0, d + 1) : o = [o[0]];
269
+ break;
270
+ }
271
+ }
272
+ }
273
+ return o.reduceRight((s, l, p) => {
274
+ let E, N = !1, h = null, b = null;
275
+ r && (E = f && l.route.id ? f[l.route.id] : void 0, h = l.route.errorElement || te, m && (d < 0 && p === 0 ? (T("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), N = !0, b = null) : d === p && (N = !0, b = l.route.hydrateFallbackElement || null)));
276
+ let v = t.concat(o.slice(0, p + 1)), w = () => {
277
+ let x;
278
+ return E ? x = h : N ? x = b : l.route.Component ? x = /* @__PURE__ */ n.createElement(l.route.Component, null) : l.route.element ? x = l.route.element : x = s, /* @__PURE__ */ n.createElement(re, {
279
+ match: l,
280
+ routeContext: {
281
+ outlet: s,
282
+ matches: v,
283
+ isDataRoute: r != null
284
+ },
285
+ children: x
286
+ });
287
+ };
288
+ return r && (l.route.ErrorBoundary || l.route.errorElement || p === 0) ? /* @__PURE__ */ n.createElement(ne, {
289
+ location: r.location,
290
+ revalidation: r.revalidation,
291
+ component: h,
292
+ error: E,
293
+ children: w(),
294
+ routeContext: {
295
+ outlet: null,
296
+ matches: v,
297
+ isDataRoute: !0
298
+ }
299
+ }) : w();
300
+ }, null);
301
+ }
302
+ var A = /* @__PURE__ */ function(e) {
303
+ return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
304
+ }(A || {}), O = /* @__PURE__ */ function(e) {
305
+ return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
306
+ }(O || {});
307
+ function I(e) {
308
+ return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
309
+ }
310
+ function ae(e) {
311
+ let t = n.useContext(P);
312
+ return t || (process.env.NODE_ENV !== "production" ? c(!1, I(e)) : c(!1)), t;
313
+ }
314
+ function le(e) {
315
+ let t = n.useContext(M);
316
+ return t || (process.env.NODE_ENV !== "production" ? c(!1, I(e)) : c(!1)), t;
317
+ }
318
+ function ie(e) {
319
+ let t = n.useContext(y);
320
+ return t || (process.env.NODE_ENV !== "production" ? c(!1, I(e)) : c(!1)), t;
321
+ }
322
+ function L(e) {
323
+ let t = ie(e), r = t.matches[t.matches.length - 1];
324
+ return r.route.id || (process.env.NODE_ENV !== "production" ? c(!1, e + ' can only be used on routes that contain a unique "id"') : c(!1)), r.route.id;
325
+ }
326
+ function pe() {
327
+ return L(O.UseRouteId);
328
+ }
329
+ function se() {
330
+ var e;
331
+ let t = n.useContext(k), r = le(O.UseRouteError), a = L(O.UseRouteError);
332
+ return t !== void 0 ? t : (e = r.errors) == null ? void 0 : e[a];
333
+ }
334
+ function ue() {
335
+ let {
336
+ router: e
337
+ } = ae(A.UseNavigateStable), t = L(O.UseNavigateStable), r = n.useRef(!1);
338
+ return J(() => {
339
+ r.current = !0;
340
+ }), n.useCallback(function(i, u) {
341
+ u === void 0 && (u = {}), process.env.NODE_ENV !== "production" && g(r.current, S), r.current && (typeof i == "number" ? e.navigate(i) : e.navigate(i, _({
342
+ fromRouteId: t
343
+ }, u)));
344
+ }, [e, t]);
345
+ }
346
+ const j = {};
347
+ function T(e, t, r) {
348
+ !t && !j[e] && (j[e] = !0, process.env.NODE_ENV !== "production" && g(!1, r));
349
+ }
350
+ function he(e) {
351
+ let {
352
+ to: t,
353
+ replace: r,
354
+ state: a,
355
+ relative: i
356
+ } = e;
357
+ R() || (process.env.NODE_ENV !== "production" ? c(
358
+ !1,
359
+ // TODO: This error is probably because they somehow have 2 versions of
360
+ // the router loaded. We can help them understand how to avoid that.
361
+ "<Navigate> may be used only in the context of a <Router> component."
362
+ ) : c(!1));
363
+ let {
364
+ future: u,
365
+ static: o
366
+ } = n.useContext(C);
367
+ process.env.NODE_ENV !== "production" && g(!o, "<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");
368
+ let {
369
+ matches: f
370
+ } = n.useContext(y), {
371
+ pathname: m
372
+ } = B(), d = $(), s = U(t, F(f, u.v7_relativeSplatPath), m, i === "path"), l = JSON.stringify(s);
373
+ return n.useEffect(() => d(JSON.parse(l), {
374
+ replace: r,
375
+ state: a,
376
+ relative: i
377
+ }), [d, l, i, r, a]), null;
378
+ }
379
+ function ve(e) {
380
+ return Q(e.context);
381
+ }
382
+ function me(e) {
383
+ let {
384
+ basename: t = "/",
385
+ children: r = null,
386
+ location: a,
387
+ navigationType: i = W.Pop,
388
+ navigator: u,
389
+ static: o = !1,
390
+ future: f
391
+ } = e;
392
+ R() && (process.env.NODE_ENV !== "production" ? c(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.") : c(!1));
393
+ let m = t.replace(/^\/*/, "/"), d = n.useMemo(() => ({
394
+ basename: m,
395
+ navigator: u,
396
+ static: o,
397
+ future: _({
398
+ v7_relativeSplatPath: !1
399
+ }, f)
400
+ }), [m, f, u, o]);
401
+ typeof a == "string" && (a = z(a));
402
+ let {
403
+ pathname: s = "/",
404
+ search: l = "",
405
+ hash: p = "",
406
+ state: E = null,
407
+ key: N = "default"
408
+ } = a, h = n.useMemo(() => {
409
+ let b = H(s, m);
410
+ return b == null ? null : {
411
+ location: {
412
+ pathname: b,
413
+ search: l,
414
+ hash: p,
415
+ state: E,
416
+ key: N
417
+ },
418
+ navigationType: i
419
+ };
420
+ }, [m, s, l, p, E, N, i]);
421
+ return process.env.NODE_ENV !== "production" && g(h != null, '<Router basename="' + m + '"> is not able to match the URL ' + ('"' + s + l + p + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), h == null ? null : /* @__PURE__ */ n.createElement(C.Provider, {
422
+ value: d
423
+ }, /* @__PURE__ */ n.createElement(V.Provider, {
424
+ children: r,
425
+ value: h
426
+ }));
427
+ }
428
+ new Promise(() => {
429
+ });
430
+ function Ee(e) {
431
+ let t = {
432
+ // Note: this check also occurs in createRoutesFromChildren so update
433
+ // there if you change this -- please and thank you!
434
+ hasErrorBoundary: e.ErrorBoundary != null || e.errorElement != null
435
+ };
436
+ return e.Component && (process.env.NODE_ENV !== "production" && e.element && process.env.NODE_ENV !== "production" && g(!1, "You should not include both `Component` and `element` on your route - `Component` will be used."), Object.assign(t, {
437
+ element: /* @__PURE__ */ n.createElement(e.Component),
438
+ Component: void 0
439
+ })), e.HydrateFallback && (process.env.NODE_ENV !== "production" && e.hydrateFallbackElement && process.env.NODE_ENV !== "production" && g(!1, "You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."), Object.assign(t, {
440
+ hydrateFallbackElement: /* @__PURE__ */ n.createElement(e.HydrateFallback),
441
+ HydrateFallback: void 0
442
+ })), e.ErrorBoundary && (process.env.NODE_ENV !== "production" && e.errorElement && process.env.NODE_ENV !== "production" && g(!1, "You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."), Object.assign(t, {
443
+ errorElement: /* @__PURE__ */ n.createElement(e.ErrorBoundary),
444
+ ErrorBoundary: void 0
445
+ })), t;
446
+ }
447
+ export {
448
+ M as D,
449
+ he as N,
450
+ ve as O,
451
+ me as R,
452
+ se as a,
453
+ $ as b,
454
+ C as c,
455
+ de as d,
456
+ Z as e,
457
+ P as f,
458
+ fe as g,
459
+ pe as h,
460
+ y as i,
461
+ Ee as m,
462
+ B as u
463
+ };
464
+ //# sourceMappingURL=index-fXFJf9Ua.js.map