zudoku 0.3.0-dev.5 → 0.3.0-dev.50
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.
- package/dist/app/App.d.ts +1 -2
- package/dist/app/App.js +1 -28
- package/dist/app/App.js.map +1 -1
- package/dist/app/demo.d.ts +2 -0
- package/dist/app/demo.js +27 -0
- package/dist/app/demo.js.map +1 -0
- package/dist/app/entry.client.d.ts +2 -0
- package/dist/app/entry.client.js +35 -0
- package/dist/app/entry.client.js.map +1 -0
- package/dist/app/entry.server.d.ts +12 -0
- package/dist/app/entry.server.js +104 -0
- package/dist/app/entry.server.js.map +1 -0
- package/dist/app/main.d.ts +6 -1
- package/dist/app/main.js +54 -12
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.d.ts +2 -0
- package/dist/app/standalone.js +32 -0
- package/dist/app/standalone.js.map +1 -0
- package/dist/app/tailwind.d.ts +1 -1
- package/dist/app/tailwind.js +0 -4
- package/dist/app/tailwind.js.map +1 -1
- package/dist/app/zudoku-manifest.d.ts +1 -0
- package/dist/app/zudoku-manifest.js +20 -0
- package/dist/app/zudoku-manifest.js.map +1 -0
- package/dist/cli/cmds/dev.js +5 -0
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/dev/handler.d.ts +1 -0
- package/dist/cli/dev/handler.js +3 -1
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/config/config.d.ts +5 -39
- package/dist/config/validators/validate.d.ts +799 -2
- package/dist/config/validators/validate.js +134 -1
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/internal.d.ts +1 -0
- package/dist/internal.js +2 -0
- package/dist/internal.js.map +1 -0
- package/dist/lib/authentication/Callback.js +1 -1
- package/dist/lib/authentication/Callback.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +2 -2
- package/dist/lib/authentication/hook.d.ts +1 -0
- package/dist/lib/authentication/hook.js +1 -0
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +1 -0
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +4 -0
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +1 -1
- package/dist/lib/authentication/providers/openid.js +2 -0
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +1 -0
- package/dist/lib/authentication/state.js +1 -0
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +12 -0
- package/dist/lib/components/Bootstrap.js +9 -0
- package/dist/lib/components/Bootstrap.js.map +1 -0
- package/dist/lib/components/DevPortal.d.ts +4 -19
- package/dist/lib/components/DevPortal.js +17 -12
- package/dist/lib/components/DevPortal.js.map +1 -1
- package/dist/lib/components/ErrorPage.d.ts +6 -0
- package/dist/lib/components/ErrorPage.js +9 -0
- package/dist/lib/components/ErrorPage.js.map +1 -0
- package/dist/lib/components/Header.js +3 -3
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +9 -4
- package/dist/lib/components/Heading.js +17 -2
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/InlineCode.d.ts +5 -0
- package/dist/lib/components/InlineCode.js +4 -0
- package/dist/lib/components/InlineCode.js.map +1 -0
- package/dist/lib/components/Layout.js +3 -2
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/NotFoundPage.d.ts +1 -0
- package/dist/lib/components/NotFoundPage.js +12 -0
- package/dist/lib/components/NotFoundPage.js.map +1 -0
- package/dist/lib/components/SyntaxHighlight.d.ts +3 -2
- package/dist/lib/components/SyntaxHighlight.js +21 -19
- package/dist/lib/components/SyntaxHighlight.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +1 -1
- package/dist/lib/components/TopNavigation.js +4 -0
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/context/DevPortalProvider.d.ts +1 -1
- package/dist/lib/components/context/DevPortalProvider.js +2 -2
- package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
- package/dist/lib/components/index.d.ts +28 -3
- package/dist/lib/components/index.js +17 -3
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/core/DevPortalContext.d.ts +36 -6
- package/dist/lib/core/DevPortalContext.js +9 -6
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +7 -4
- package/dist/lib/core/plugins.js +1 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/errors/ErrorAlert.d.ts +3 -0
- package/dist/lib/errors/ErrorAlert.js +8 -0
- package/dist/lib/errors/ErrorAlert.js.map +1 -0
- package/dist/lib/errors/RouterError.d.ts +1 -0
- package/dist/lib/errors/RouterError.js +12 -0
- package/dist/lib/errors/RouterError.js.map +1 -0
- package/dist/lib/errors/ServerError.d.ts +3 -0
- package/dist/lib/errors/ServerError.js +6 -0
- package/dist/lib/errors/ServerError.js.map +1 -0
- package/dist/lib/errors/TopLevelError.d.ts +2 -0
- package/dist/lib/errors/TopLevelError.js +7 -0
- package/dist/lib/errors/TopLevelError.js.map +1 -0
- package/dist/lib/oas/graphql/index.js +1 -1
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +1 -1
- package/dist/lib/oas/parser/index.js +38 -12
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +4 -0
- package/dist/lib/plugins/{api-key → api-keys}/CreateApiKey.js +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +4 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +39 -0
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -0
- package/dist/lib/plugins/{api-key → api-keys}/index.d.ts +2 -3
- package/dist/lib/plugins/{api-key → api-keys}/index.js +15 -4
- package/dist/lib/plugins/api-keys/index.js.map +1 -0
- package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -2
- package/dist/lib/plugins/markdown/MdxPage.js +7 -6
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/Toc.js +1 -1
- package/dist/lib/plugins/markdown/Toc.js.map +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.d.ts +3 -3
- package/dist/lib/plugins/markdown/generateRoutes.js +4 -4
- package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +4 -1
- package/dist/lib/plugins/markdown/index.js +3 -7
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +16 -5
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +10 -5
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/{MakeRequest.d.ts → PlaygroundDialogWrapper.d.ts} +1 -1
- package/dist/lib/plugins/openapi/{MakeRequest.js → PlaygroundDialogWrapper.js} +5 -5
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -0
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +1 -9
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/Route.d.ts +6 -0
- package/dist/lib/plugins/openapi/Route.js +8 -0
- package/dist/lib/plugins/openapi/Route.js.map +1 -0
- package/dist/lib/plugins/openapi/SchemaListView.js +6 -27
- package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaListViewItem.d.ts +7 -0
- package/dist/lib/plugins/openapi/SchemaListViewItem.js +16 -0
- package/dist/lib/plugins/openapi/SchemaListViewItem.js.map +1 -0
- package/dist/lib/plugins/openapi/SchemaListViewItemGroup.d.ts +8 -0
- package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js +17 -0
- package/dist/lib/plugins/openapi/SchemaListViewItemGroup.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +10 -8
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/{Select.d.ts → SimpleSelect.d.ts} +3 -2
- package/dist/lib/plugins/openapi/SimpleSelect.js +5 -0
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +12 -0
- package/dist/lib/plugins/openapi/client/createMemoryClient.js +46 -0
- package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createServer.d.ts +4 -0
- package/dist/lib/plugins/openapi/client/createServer.js +30 -0
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +10 -0
- package/dist/lib/plugins/openapi/{worker/createSharedWorkerClient.js → client/createWorkerClient.js} +15 -2
- package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -0
- package/dist/lib/plugins/openapi/client/interfaces.d.ts +4 -0
- package/dist/lib/plugins/openapi/client/interfaces.js +2 -0
- package/dist/lib/plugins/openapi/client/interfaces.js.map +1 -0
- package/dist/lib/plugins/openapi/{worker → client}/worker.js +2 -2
- package/dist/lib/plugins/openapi/client/worker.js.map +1 -0
- package/dist/lib/plugins/openapi/context.d.ts +5 -0
- package/dist/lib/plugins/openapi/context.js +11 -0
- package/dist/lib/plugins/openapi/context.js.map +1 -0
- package/dist/lib/plugins/openapi/index.d.ts +4 -18
- package/dist/lib/plugins/openapi/index.js +35 -20
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +15 -0
- package/dist/lib/plugins/openapi/interfaces.js +2 -0
- package/dist/lib/plugins/openapi/interfaces.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +2 -3
- package/dist/lib/plugins/openapi/playground/Headers.js +16 -6
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +4 -3
- package/dist/lib/plugins/openapi/playground/Playground.js +8 -12
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +3 -0
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +10 -0
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +2 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/createUrl.d.ts +1 -1
- package/dist/lib/plugins/openapi/util/prose.d.ts +1 -0
- package/dist/lib/plugins/openapi/util/prose.js +4 -0
- package/dist/lib/plugins/openapi/util/prose.js.map +1 -0
- package/dist/lib/plugins/openapi-worker.d.ts +1 -1
- package/dist/lib/plugins/openapi-worker.js +1 -1
- package/dist/lib/plugins/openapi-worker.js.map +1 -1
- package/dist/lib/plugins/redirect/index.d.ts +0 -1
- package/dist/lib/plugins/redirect/index.js +3 -4
- package/dist/lib/plugins/redirect/index.js.map +1 -1
- package/dist/lib/ui/Callout.js +2 -2
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/button-variants.d.ts +1 -1
- package/dist/lib/util/MdxComponents.d.ts +2 -2
- package/dist/lib/util/MdxComponents.js +6 -4
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/groupBy.d.ts +1 -6
- package/dist/lib/util/groupBy.js +10 -8
- package/dist/lib/util/groupBy.js.map +1 -1
- package/dist/lib/util/logInit.d.ts +1 -0
- package/dist/lib/util/logInit.js +9 -0
- package/dist/lib/util/logInit.js.map +1 -0
- package/dist/lib/util/objectEntries.d.ts +4 -0
- package/dist/lib/util/objectEntries.js +2 -0
- package/dist/lib/util/objectEntries.js.map +1 -0
- package/dist/lib/util/renderIf.d.ts +1 -0
- package/dist/lib/util/renderIf.js +2 -0
- package/dist/lib/util/renderIf.js.map +1 -0
- package/dist/vite/build.js +26 -6
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +13 -12
- package/dist/vite/config.js +100 -55
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +7 -4
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/dev-server.d.ts +2 -1
- package/dist/vite/dev-server.js +43 -15
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/html.js +18 -5
- package/dist/vite/html.js.map +1 -1
- package/dist/vite/plugin-api-keys.js +7 -8
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.js +9 -20
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.js +5 -6
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.js +4 -2
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +0 -2
- package/dist/vite/plugin-config.js +2 -13
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-css.d.ts +6 -0
- package/dist/vite/plugin-custom-css.js +55 -0
- package/dist/vite/plugin-custom-css.js.map +1 -0
- package/dist/vite/plugin-docs.js +15 -5
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-docs.test.js +1 -1
- package/dist/vite/plugin-docs.test.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +3 -1
- package/dist/vite/plugin-mdx.js +5 -5
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-metadata.js +1 -1
- package/dist/vite/plugin-metadata.js.map +1 -1
- package/dist/vite/plugin-redirect.js +10 -10
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin.js +3 -5
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender.d.ts +17 -0
- package/dist/vite/prerender.js +55 -0
- package/dist/vite/prerender.js.map +1 -0
- package/lib/AnchorLink-CZUp-F0P.js +705 -0
- package/lib/AnchorLink-CZUp-F0P.js.map +1 -0
- package/lib/DevPortalProvider-Do9oJqme.js +1081 -0
- package/lib/DevPortalProvider-Do9oJqme.js.map +1 -0
- package/lib/Markdown-Dbzrtopg.js +15030 -0
- package/lib/Markdown-Dbzrtopg.js.map +1 -0
- package/lib/MdxPage-JvboTsbK.js +190 -0
- package/lib/MdxPage-JvboTsbK.js.map +1 -0
- package/lib/OperationList-DGdaixGa.js +5562 -0
- package/lib/OperationList-DGdaixGa.js.map +1 -0
- package/lib/Route-C1LyvITr.js +13 -0
- package/lib/Route-C1LyvITr.js.map +1 -0
- package/lib/Select-DHm1jDdS.js +4571 -0
- package/lib/Select-DHm1jDdS.js.map +1 -0
- package/lib/Spinner-BSk0ImmP.js +182 -0
- package/lib/Spinner-BSk0ImmP.js.map +1 -0
- package/lib/_commonjsHelpers-BVfed4GL.js +29 -0
- package/lib/_commonjsHelpers-BVfed4GL.js.map +1 -0
- package/lib/assets/index-BPdJm2ty.js +1 -0
- package/lib/assets/index-BPdJm2ty.js.map +1 -0
- package/lib/assets/{worker-BCcpCNJ7.js → worker-BjPv-hjP.js} +10742 -10318
- package/lib/assets/worker-BjPv-hjP.js.map +1 -0
- package/lib/context-_fYfJFgk.js +14 -0
- package/lib/context-_fYfJFgk.js.map +1 -0
- package/lib/hook-DCYGmylw.js +77 -0
- package/lib/hook-DCYGmylw.js.map +1 -0
- package/lib/index-CXXn0D4E.js +412 -0
- package/lib/index-CXXn0D4E.js.map +1 -0
- package/lib/index-DSZ4Cj5q.js +725 -0
- package/lib/index-DSZ4Cj5q.js.map +1 -0
- package/lib/index-pI9JkN46.js +4765 -0
- package/lib/index-pI9JkN46.js.map +1 -0
- package/lib/jsx-runtime-CJZJivg2.js +1526 -0
- package/lib/jsx-runtime-CJZJivg2.js.map +1 -0
- package/lib/prism-bash.min-DadFsM4Z.js +1 -0
- package/lib/prism-bash.min-DadFsM4Z.js.map +1 -0
- package/lib/prism-csharp.min-Yizuc34Y.js +35 -0
- package/lib/prism-csharp.min-Yizuc34Y.js.map +1 -0
- package/lib/prism-java.min-d5iT_mOd.js +1 -0
- package/lib/prism-java.min-d5iT_mOd.js.map +1 -0
- package/lib/prism-json.min-B1GJqK1k.js +1 -0
- package/lib/prism-json.min-B1GJqK1k.js.map +1 -0
- package/lib/prism-markup-templating-DZrrEs0A.js +1 -0
- package/lib/prism-markup-templating-DZrrEs0A.js.map +1 -0
- package/lib/prism-objectivec.min-BXSWqpJJ.js +2 -0
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -0
- package/lib/prism-php.min-o7FpoMP_.js +1 -0
- package/lib/prism-php.min-o7FpoMP_.js.map +1 -0
- package/lib/prism-ruby.min-C7LwcKyz.js +1 -0
- package/lib/prism-ruby.min-C7LwcKyz.js.map +1 -0
- package/lib/router-CBw2vqJE.js +2973 -0
- package/lib/router-CBw2vqJE.js.map +1 -0
- package/lib/slugify-CiPVjteN.js +28 -0
- package/lib/slugify-CiPVjteN.js.map +1 -0
- package/lib/state-D36MLDHk.js +289 -0
- package/lib/state-D36MLDHk.js.map +1 -0
- package/lib/urql-DMlBWUKL.js +1 -0
- package/lib/urql-DMlBWUKL.js.map +1 -0
- package/lib/util-_jwUlTBU.js +41 -0
- package/lib/util-_jwUlTBU.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +3 -1
- package/lib/zudoku.auth-auth0.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +11 -8
- package/lib/zudoku.auth-clerk.js.map +1 -0
- package/lib/zudoku.auth-openid.js +8 -4
- package/lib/zudoku.auth-openid.js.map +1 -0
- package/lib/zudoku.components.js +804 -447
- package/lib/zudoku.components.js.map +1 -0
- package/lib/zudoku.openapi-worker.js +15032 -146
- package/lib/zudoku.openapi-worker.js.map +1 -0
- package/lib/zudoku.plugin-api-keys.js +302 -0
- package/lib/zudoku.plugin-api-keys.js.map +1 -0
- package/lib/zudoku.plugin-markdown.js +49 -0
- package/lib/zudoku.plugin-markdown.js.map +1 -0
- package/lib/zudoku.plugin-openapi.js +10 -0
- package/lib/zudoku.plugin-openapi.js.map +1 -0
- package/lib/zudoku.plugin-redirect.js +11 -0
- package/lib/zudoku.plugin-redirect.js.map +1 -0
- package/package.json +37 -15
- package/src/app/App.tsx +0 -40
- package/src/app/demo-cdn.html +26 -0
- package/src/app/demo.html +18 -0
- package/src/app/demo.tsx +40 -0
- package/src/app/entry.client.tsx +47 -0
- package/src/app/entry.server.tsx +158 -0
- package/src/app/main.css +74 -0
- package/src/app/main.tsx +71 -15
- package/src/app/standalone.html +20 -0
- package/src/app/standalone.tsx +46 -0
- package/src/app/tailwind.ts +2 -6
- package/src/app/zudoku-manifest.ts +22 -0
- package/src/lib/authentication/Callback.tsx +1 -1
- package/src/lib/authentication/authentication.ts +2 -5
- package/src/lib/authentication/hook.ts +1 -0
- package/src/lib/authentication/providers/auth0.tsx +1 -0
- package/src/lib/authentication/providers/clerk.tsx +3 -0
- package/src/lib/authentication/providers/openid.tsx +3 -1
- package/src/lib/authentication/state.ts +2 -0
- package/src/lib/components/Bootstrap.tsx +37 -0
- package/src/lib/components/DevPortal.tsx +41 -56
- package/src/lib/components/ErrorPage.tsx +28 -0
- package/src/lib/components/Header.tsx +13 -7
- package/src/lib/components/Heading.tsx +26 -7
- package/src/lib/components/InlineCode.tsx +19 -0
- package/src/lib/components/Layout.tsx +9 -7
- package/src/lib/components/NotFoundPage.tsx +39 -0
- package/src/lib/components/SyntaxHighlight.tsx +27 -19
- package/src/lib/components/TopNavigation.tsx +5 -0
- package/src/lib/components/context/DevPortalProvider.ts +2 -2
- package/src/lib/components/index.ts +21 -3
- package/src/lib/core/DevPortalContext.ts +46 -17
- package/src/lib/core/plugins.ts +10 -5
- package/src/lib/errors/ErrorAlert.tsx +21 -0
- package/src/lib/errors/RouterError.tsx +13 -0
- package/src/lib/errors/ServerError.tsx +5 -0
- package/src/lib/errors/TopLevelError.tsx +8 -0
- package/src/lib/oas/graphql/index.ts +2 -2
- package/src/lib/oas/parser/index.ts +41 -20
- package/src/lib/plugins/{api-key → api-keys}/CreateApiKey.tsx +2 -8
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +139 -0
- package/src/lib/plugins/{api-key → api-keys}/index.tsx +22 -9
- package/src/lib/plugins/markdown/MdxPage.tsx +51 -34
- package/src/lib/plugins/markdown/Toc.tsx +1 -1
- package/src/lib/plugins/markdown/generateRoutes.tsx +16 -6
- package/src/lib/plugins/markdown/index.tsx +10 -7
- package/src/lib/plugins/openapi/OperationList.tsx +40 -4
- package/src/lib/plugins/openapi/OperationListItem.tsx +69 -42
- package/src/lib/plugins/openapi/ParameterList.tsx +1 -1
- package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -4
- package/src/lib/plugins/openapi/{MakeRequest.tsx → PlaygroundDialogWrapper.tsx} +4 -4
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -16
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +3 -1
- package/src/lib/plugins/openapi/Route.tsx +21 -0
- package/src/lib/plugins/openapi/SchemaListView.tsx +23 -192
- package/src/lib/plugins/openapi/SchemaListViewItem.tsx +110 -0
- package/src/lib/plugins/openapi/SchemaListViewItemGroup.tsx +63 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +15 -10
- package/src/lib/plugins/openapi/{Select.tsx → SimpleSelect.tsx} +6 -3
- package/src/lib/plugins/openapi/client/createMemoryClient.ts +56 -0
- package/src/lib/plugins/openapi/client/createServer.ts +33 -0
- package/src/lib/plugins/openapi/{worker/createSharedWorkerClient.ts → client/createWorkerClient.ts} +21 -2
- package/src/lib/plugins/openapi/client/interfaces.ts +5 -0
- package/src/lib/plugins/openapi/{worker → client}/worker.ts +3 -3
- package/src/lib/plugins/openapi/context.tsx +16 -0
- package/src/lib/plugins/openapi/index.tsx +59 -52
- package/src/lib/plugins/openapi/interfaces.ts +9 -0
- package/src/lib/plugins/openapi/playground/Headers.tsx +60 -33
- package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/Playground.tsx +158 -193
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +34 -0
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +7 -2
- package/src/lib/plugins/openapi/playground/createUrl.ts +1 -1
- package/src/lib/plugins/openapi/util/prose.ts +7 -0
- package/src/lib/plugins/openapi-worker.ts +1 -1
- package/src/lib/plugins/redirect/index.tsx +3 -4
- package/src/lib/ui/Callout.tsx +4 -4
- package/src/lib/util/MdxComponents.tsx +6 -14
- package/src/lib/util/groupBy.ts +7 -12
- package/src/lib/util/logInit.ts +9 -0
- package/src/lib/util/objectEntries.ts +5 -0
- package/src/lib/util/renderIf.ts +4 -0
- package/dist/lib/components/Link.d.ts +0 -1
- package/dist/lib/components/Link.js +0 -2
- package/dist/lib/components/Link.js.map +0 -1
- package/dist/lib/components/Router.d.ts +0 -4
- package/dist/lib/components/Router.js +0 -20
- package/dist/lib/components/Router.js.map +0 -1
- package/dist/lib/core/helmet.d.ts +0 -4
- package/dist/lib/core/helmet.js +0 -5
- package/dist/lib/core/helmet.js.map +0 -1
- package/dist/lib/core/icons.d.ts +0 -1
- package/dist/lib/core/icons.js +0 -2
- package/dist/lib/core/icons.js.map +0 -1
- package/dist/lib/core/router.d.ts +0 -1
- package/dist/lib/core/router.js +0 -2
- package/dist/lib/core/router.js.map +0 -1
- package/dist/lib/plugins/api-key/CreateApiKey.d.ts +0 -5
- package/dist/lib/plugins/api-key/CreateApiKey.js.map +0 -1
- package/dist/lib/plugins/api-key/SettingsApiKeys.d.ts +0 -5
- package/dist/lib/plugins/api-key/SettingsApiKeys.js +0 -37
- package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +0 -1
- package/dist/lib/plugins/api-key/index.js.map +0 -1
- package/dist/lib/plugins/index.d.ts +0 -4
- package/dist/lib/plugins/index.js +0 -5
- package/dist/lib/plugins/index.js.map +0 -1
- package/dist/lib/plugins/openapi/MakeRequest.js.map +0 -1
- package/dist/lib/plugins/openapi/Select.js +0 -5
- package/dist/lib/plugins/openapi/Select.js.map +0 -1
- package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.d.ts +0 -5
- package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.js.map +0 -1
- package/dist/lib/plugins/openapi/worker/shared-worker.d.ts +0 -1
- package/dist/lib/plugins/openapi/worker/shared-worker.js +0 -6
- package/dist/lib/plugins/openapi/worker/shared-worker.js.map +0 -1
- package/dist/lib/plugins/openapi/worker/worker.js.map +0 -1
- package/dist/vite/common.d.ts +0 -1
- package/dist/vite/common.js +0 -5
- package/dist/vite/common.js.map +0 -1
- package/dist/vite/plugin-html.d.ts +0 -3
- package/dist/vite/plugin-html.js +0 -47
- package/dist/vite/plugin-html.js.map +0 -1
- package/dist/vite/plugin-openapi-worker.d.ts +0 -4
- package/dist/vite/plugin-openapi-worker.js +0 -28
- package/dist/vite/plugin-openapi-worker.js.map +0 -1
- package/lib/Spinner-DWHrSHMP.js +0 -8411
- package/lib/clerk-Wslx_mPo.js +0 -19685
- package/lib/index-DNx3xWa2.js +0 -3461
- package/lib/state-DfftBQ9X.js +0 -312
- package/lib/zudoku.plugins.js +0 -19873
- package/src/lib/components/Link.tsx +0 -1
- package/src/lib/components/Router.tsx +0 -28
- package/src/lib/core/helmet.ts +0 -5
- package/src/lib/core/icons.tsx +0 -1
- package/src/lib/core/router.tsx +0 -1
- package/src/lib/plugins/api-key/SettingsApiKeys.tsx +0 -122
- package/src/lib/plugins/index.ts +0 -4
- package/src/lib/plugins/openapi/worker/shared-worker.ts +0 -5
- /package/dist/lib/plugins/openapi/{worker → client}/worker.d.ts +0 -0
package/lib/zudoku.components.js
CHANGED
|
@@ -1,651 +1,1043 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var $e = Object.defineProperty;
|
|
2
|
+
var ce = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
set _(
|
|
10
|
-
|
|
5
|
+
var Ve = (t, e, r) => e in t ? $e(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
6
|
+
var v = (t, e, r) => Ve(t, typeof e != "symbol" ? e + "" : e, r), ue = (t, e, r) => e.has(t) || ce("Cannot " + r);
|
|
7
|
+
var l = (t, e, r) => (ue(t, e, "read from private field"), r ? r.call(t) : e.get(t)), y = (t, e, r) => e.has(t) ? ce("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), d = (t, e, r, a) => (ue(t, e, "write to private field"), a ? a.call(t, r) : e.set(t, r), r);
|
|
8
|
+
var L = (t, e, r, a) => ({
|
|
9
|
+
set _(s) {
|
|
10
|
+
d(t, e, s, r);
|
|
11
11
|
},
|
|
12
12
|
get _() {
|
|
13
|
-
return
|
|
13
|
+
return l(t, e, a);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
16
|
+
import { c as U, d as Ye, R as Je, N as J, a as Xe, u as We, M as Ge, T as Ze, V as et, b as W, e as F, f as tt, C as rt, L as at } from "./Markdown-Dbzrtopg.js";
|
|
17
|
+
import { E as Ee, u as st, R as nt } from "./hook-DCYGmylw.js";
|
|
18
|
+
import { j as n, d as it, u as T, O as ot } from "./jsx-runtime-CJZJivg2.js";
|
|
19
|
+
import { H as Pe, a as je, M as lt, A as ct, u as ut } from "./AnchorLink-CZUp-F0P.js";
|
|
20
|
+
import ht, { StrictMode as Se, createContext as Ne, Component as dt, createElement as he, isValidElement as ft, memo as Ce, useMemo as V, useEffect as I, Fragment as pt, useRef as K, useState as mt, forwardRef as gt, Suspense as vt } from "react";
|
|
21
|
+
import { g as G } from "./_commonjsHelpers-BVfed4GL.js";
|
|
22
|
+
import { r as yt } from "./router-CBw2vqJE.js";
|
|
23
|
+
import { S as Oe, h as Ae, Q as bt, n as g, m as de, a as fe, b as P, e as xt, c as wt, d as Et, f as Pt, o as pe, r as me, g as jt, i as ge, p as ve, s as St, u as Z, j as Nt, D as Ct, k as Ot, l as At } from "./DevPortalProvider-Do9oJqme.js";
|
|
24
|
+
import { c as Rt } from "./state-D36MLDHk.js";
|
|
25
|
+
import { M as kt } from "./index-CXXn0D4E.js";
|
|
26
|
+
import { R as Re, T as ke, C as Me, S as Mt } from "./Spinner-BSk0ImmP.js";
|
|
27
|
+
import { c as ee, i as X, j as De, a as Dt } from "./util-_jwUlTBU.js";
|
|
28
|
+
/**
|
|
29
|
+
* @license lucide-react v0.378.0 - ISC
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the ISC license.
|
|
32
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/
|
|
34
|
+
const _e = U("ChevronRight", [
|
|
35
|
+
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
|
36
|
+
]);
|
|
37
|
+
/**
|
|
38
|
+
* @license lucide-react v0.378.0 - ISC
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the ISC license.
|
|
41
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/
|
|
43
|
+
const _t = U("ExternalLink", [
|
|
44
|
+
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
45
|
+
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
46
|
+
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
47
|
+
]);
|
|
48
|
+
/**
|
|
49
|
+
* @license lucide-react v0.378.0 - ISC
|
|
50
|
+
*
|
|
51
|
+
* This source code is licensed under the ISC license.
|
|
52
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/
|
|
54
|
+
const Tt = U("MoonStar", [
|
|
55
|
+
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
|
|
56
|
+
["path", { d: "M20 3v4", key: "1olli1" }],
|
|
57
|
+
["path", { d: "M22 5h-4", key: "1gvqau" }]
|
|
58
|
+
]);
|
|
59
|
+
/**
|
|
60
|
+
* @license lucide-react v0.378.0 - ISC
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the ISC license.
|
|
63
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
+
*/
|
|
65
|
+
const Ft = U("Sun", [
|
|
66
|
+
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
67
|
+
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
68
|
+
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
69
|
+
["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
|
|
70
|
+
["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
|
|
71
|
+
["path", { d: "M2 12h2", key: "1t8f8n" }],
|
|
72
|
+
["path", { d: "M20 12h2", key: "1q8mjw" }],
|
|
73
|
+
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
74
|
+
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
75
|
+
]);
|
|
76
|
+
function Qt({ error: t }) {
|
|
77
|
+
return /* @__PURE__ */ n.jsx(Ee, { error: t });
|
|
78
|
+
}
|
|
79
|
+
var q = {};
|
|
80
|
+
const It = /* @__PURE__ */ G(yt), qt = /* @__PURE__ */ G(it), Ht = /* @__PURE__ */ G(Ye);
|
|
81
|
+
Object.defineProperty(q, "__esModule", { value: !0 });
|
|
82
|
+
var Lt = ht, E = It, te = qt, j = Ht;
|
|
83
|
+
function Bt(t) {
|
|
84
|
+
if (t && t.__esModule) return t;
|
|
85
|
+
var e = /* @__PURE__ */ Object.create(null);
|
|
86
|
+
return t && Object.keys(t).forEach(function(r) {
|
|
87
|
+
if (r !== "default") {
|
|
88
|
+
var a = Object.getOwnPropertyDescriptor(t, r);
|
|
89
|
+
Object.defineProperty(e, r, a.get ? a : {
|
|
90
|
+
enumerable: !0,
|
|
91
|
+
get: function() {
|
|
92
|
+
return t[r];
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}), e.default = t, Object.freeze(e);
|
|
97
|
+
}
|
|
98
|
+
var x = /* @__PURE__ */ Bt(Lt);
|
|
99
|
+
function zt({
|
|
100
|
+
basename: t,
|
|
101
|
+
children: e,
|
|
102
|
+
location: r = "/",
|
|
103
|
+
future: a
|
|
104
|
+
}) {
|
|
105
|
+
typeof r == "string" && (r = j.parsePath(r));
|
|
106
|
+
let s = E.Action.Pop, o = {
|
|
107
|
+
pathname: r.pathname || "/",
|
|
108
|
+
search: r.search || "",
|
|
109
|
+
hash: r.hash || "",
|
|
110
|
+
state: r.state != null ? r.state : null,
|
|
111
|
+
key: r.key || "default"
|
|
112
|
+
}, i = Te();
|
|
113
|
+
return /* @__PURE__ */ x.createElement(j.Router, {
|
|
114
|
+
basename: t,
|
|
115
|
+
children: e,
|
|
116
|
+
location: o,
|
|
117
|
+
navigationType: s,
|
|
118
|
+
navigator: i,
|
|
119
|
+
future: a,
|
|
120
|
+
static: !0
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function Ut({
|
|
124
|
+
context: t,
|
|
125
|
+
router: e,
|
|
126
|
+
hydrate: r = !0,
|
|
127
|
+
nonce: a
|
|
128
|
+
}) {
|
|
129
|
+
e && t || (process.env.NODE_ENV !== "production" ? E.UNSAFE_invariant(!1, "You must provide `router` and `context` to <StaticRouterProvider>") : E.UNSAFE_invariant(!1));
|
|
130
|
+
let s = {
|
|
131
|
+
router: e,
|
|
132
|
+
navigator: Te(),
|
|
133
|
+
static: !0,
|
|
134
|
+
staticContext: t,
|
|
135
|
+
basename: t.basename || "/"
|
|
136
|
+
}, o = /* @__PURE__ */ new Map(), i = "";
|
|
137
|
+
if (r !== !1) {
|
|
138
|
+
let u = {
|
|
139
|
+
loaderData: t.loaderData,
|
|
140
|
+
actionData: t.actionData,
|
|
141
|
+
errors: $t(t.errors)
|
|
142
|
+
};
|
|
143
|
+
i = `window.__staticRouterHydrationData = JSON.parse(${Gt(JSON.stringify(JSON.stringify(u)))});`;
|
|
144
|
+
}
|
|
145
|
+
let {
|
|
146
|
+
state: c
|
|
147
|
+
} = s.router;
|
|
148
|
+
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(j.UNSAFE_DataRouterContext.Provider, {
|
|
149
|
+
value: s
|
|
150
|
+
}, /* @__PURE__ */ x.createElement(j.UNSAFE_DataRouterStateContext.Provider, {
|
|
151
|
+
value: c
|
|
152
|
+
}, /* @__PURE__ */ x.createElement(j.UNSAFE_FetchersContext.Provider, {
|
|
153
|
+
value: o
|
|
154
|
+
}, /* @__PURE__ */ x.createElement(j.UNSAFE_ViewTransitionContext.Provider, {
|
|
155
|
+
value: {
|
|
156
|
+
isTransitioning: !1
|
|
157
|
+
}
|
|
158
|
+
}, /* @__PURE__ */ x.createElement(j.Router, {
|
|
159
|
+
basename: s.basename,
|
|
160
|
+
location: c.location,
|
|
161
|
+
navigationType: c.historyAction,
|
|
162
|
+
navigator: s.navigator,
|
|
163
|
+
static: s.static,
|
|
164
|
+
future: {
|
|
165
|
+
v7_relativeSplatPath: e.future.v7_relativeSplatPath
|
|
166
|
+
}
|
|
167
|
+
}, /* @__PURE__ */ x.createElement(Kt, {
|
|
168
|
+
routes: e.routes,
|
|
169
|
+
future: e.future,
|
|
170
|
+
state: c
|
|
171
|
+
})))))), i ? /* @__PURE__ */ x.createElement("script", {
|
|
172
|
+
suppressHydrationWarning: !0,
|
|
173
|
+
nonce: a,
|
|
174
|
+
dangerouslySetInnerHTML: {
|
|
175
|
+
__html: i
|
|
176
|
+
}
|
|
177
|
+
}) : null);
|
|
178
|
+
}
|
|
179
|
+
function Kt({
|
|
180
|
+
routes: t,
|
|
181
|
+
future: e,
|
|
182
|
+
state: r
|
|
183
|
+
}) {
|
|
184
|
+
return te.UNSAFE_useRoutesImpl(t, void 0, r, e);
|
|
185
|
+
}
|
|
186
|
+
function $t(t) {
|
|
187
|
+
if (!t) return null;
|
|
188
|
+
let e = Object.entries(t), r = {};
|
|
189
|
+
for (let [a, s] of e)
|
|
190
|
+
E.isRouteErrorResponse(s) ? r[a] = {
|
|
191
|
+
...s,
|
|
192
|
+
__type: "RouteErrorResponse"
|
|
193
|
+
} : s instanceof Error ? r[a] = {
|
|
194
|
+
message: s.message,
|
|
195
|
+
__type: "Error",
|
|
196
|
+
// If this is a subclass (i.e., ReferenceError), send up the type so we
|
|
197
|
+
// can re-create the same type during hydration.
|
|
198
|
+
...s.name !== "Error" ? {
|
|
199
|
+
__subType: s.name
|
|
200
|
+
} : {}
|
|
201
|
+
} : r[a] = s;
|
|
202
|
+
return r;
|
|
203
|
+
}
|
|
204
|
+
function Te() {
|
|
205
|
+
return {
|
|
206
|
+
createHref: Fe,
|
|
207
|
+
encodeLocation: Qe,
|
|
208
|
+
push(t) {
|
|
209
|
+
throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(t)})\` somewhere in your app.`);
|
|
210
|
+
},
|
|
211
|
+
replace(t) {
|
|
212
|
+
throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(t)}, { replace: true })\` somewhere in your app.`);
|
|
213
|
+
},
|
|
214
|
+
go(t) {
|
|
215
|
+
throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${t})\` somewhere in your app.`);
|
|
216
|
+
},
|
|
217
|
+
back() {
|
|
218
|
+
throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.");
|
|
219
|
+
},
|
|
220
|
+
forward() {
|
|
221
|
+
throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.");
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
function Vt(t, e) {
|
|
226
|
+
return E.createStaticHandler(t, {
|
|
227
|
+
...e,
|
|
228
|
+
mapRouteProperties: te.UNSAFE_mapRouteProperties
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
function Yt(t, e, r = {}) {
|
|
232
|
+
let a = {}, s = E.UNSAFE_convertRoutesToDataRoutes(t, te.UNSAFE_mapRouteProperties, void 0, a), o = e.matches.map((c) => {
|
|
233
|
+
let u = a[c.route.id] || c.route;
|
|
234
|
+
return {
|
|
235
|
+
...c,
|
|
236
|
+
route: u
|
|
237
|
+
};
|
|
238
|
+
}), i = (c) => `You cannot use router.${c}() on the server because it is a stateless environment`;
|
|
239
|
+
return {
|
|
240
|
+
get basename() {
|
|
241
|
+
return e.basename;
|
|
242
|
+
},
|
|
243
|
+
get future() {
|
|
244
|
+
var c, u;
|
|
245
|
+
return {
|
|
246
|
+
v7_fetcherPersist: !1,
|
|
247
|
+
v7_normalizeFormMethod: !1,
|
|
248
|
+
v7_partialHydration: ((c = r.future) == null ? void 0 : c.v7_partialHydration) === !0,
|
|
249
|
+
v7_prependBasename: !1,
|
|
250
|
+
v7_relativeSplatPath: ((u = r.future) == null ? void 0 : u.v7_relativeSplatPath) === !0,
|
|
251
|
+
unstable_skipActionErrorRevalidation: !1
|
|
252
|
+
};
|
|
253
|
+
},
|
|
254
|
+
get state() {
|
|
255
|
+
return {
|
|
256
|
+
historyAction: E.Action.Pop,
|
|
257
|
+
location: e.location,
|
|
258
|
+
matches: o,
|
|
259
|
+
loaderData: e.loaderData,
|
|
260
|
+
actionData: e.actionData,
|
|
261
|
+
errors: e.errors,
|
|
262
|
+
initialized: !0,
|
|
263
|
+
navigation: E.IDLE_NAVIGATION,
|
|
264
|
+
restoreScrollPosition: null,
|
|
265
|
+
preventScrollReset: !1,
|
|
266
|
+
revalidation: "idle",
|
|
267
|
+
fetchers: /* @__PURE__ */ new Map(),
|
|
268
|
+
blockers: /* @__PURE__ */ new Map()
|
|
269
|
+
};
|
|
270
|
+
},
|
|
271
|
+
get routes() {
|
|
272
|
+
return s;
|
|
273
|
+
},
|
|
274
|
+
get window() {
|
|
275
|
+
},
|
|
276
|
+
initialize() {
|
|
277
|
+
throw i("initialize");
|
|
278
|
+
},
|
|
279
|
+
subscribe() {
|
|
280
|
+
throw i("subscribe");
|
|
281
|
+
},
|
|
282
|
+
enableScrollRestoration() {
|
|
283
|
+
throw i("enableScrollRestoration");
|
|
284
|
+
},
|
|
285
|
+
navigate() {
|
|
286
|
+
throw i("navigate");
|
|
287
|
+
},
|
|
288
|
+
fetch() {
|
|
289
|
+
throw i("fetch");
|
|
290
|
+
},
|
|
291
|
+
revalidate() {
|
|
292
|
+
throw i("revalidate");
|
|
293
|
+
},
|
|
294
|
+
createHref: Fe,
|
|
295
|
+
encodeLocation: Qe,
|
|
296
|
+
getFetcher() {
|
|
297
|
+
return E.IDLE_FETCHER;
|
|
298
|
+
},
|
|
299
|
+
deleteFetcher() {
|
|
300
|
+
throw i("deleteFetcher");
|
|
301
|
+
},
|
|
302
|
+
dispose() {
|
|
303
|
+
throw i("dispose");
|
|
304
|
+
},
|
|
305
|
+
getBlocker() {
|
|
306
|
+
return E.IDLE_BLOCKER;
|
|
307
|
+
},
|
|
308
|
+
deleteBlocker() {
|
|
309
|
+
throw i("deleteBlocker");
|
|
310
|
+
},
|
|
311
|
+
patchRoutes() {
|
|
312
|
+
throw i("patchRoutes");
|
|
313
|
+
},
|
|
314
|
+
_internalFetchControllers: /* @__PURE__ */ new Map(),
|
|
315
|
+
_internalActiveDeferreds: /* @__PURE__ */ new Map(),
|
|
316
|
+
_internalSetRoutes() {
|
|
317
|
+
throw i("_internalSetRoutes");
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
function Fe(t) {
|
|
322
|
+
return typeof t == "string" ? t : j.createPath(t);
|
|
323
|
+
}
|
|
324
|
+
function Qe(t) {
|
|
325
|
+
let e = typeof t == "string" ? t : j.createPath(t);
|
|
326
|
+
e = e.replace(/ $/, "%20");
|
|
327
|
+
let r = Jt.test(e) ? new URL(e) : new URL(e, "http://localhost");
|
|
328
|
+
return {
|
|
329
|
+
pathname: r.pathname,
|
|
330
|
+
search: r.search,
|
|
331
|
+
hash: r.hash
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
const Jt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Xt = {
|
|
335
|
+
"&": "\\u0026",
|
|
336
|
+
">": "\\u003e",
|
|
337
|
+
"<": "\\u003c",
|
|
338
|
+
"\u2028": "\\u2028",
|
|
339
|
+
"\u2029": "\\u2029"
|
|
340
|
+
}, Wt = /[&><\u2028\u2029]/g;
|
|
341
|
+
function Gt(t) {
|
|
342
|
+
return t.replace(Wt, (e) => Xt[e]);
|
|
343
|
+
}
|
|
344
|
+
q.StaticRouter = zt;
|
|
345
|
+
var Zt = q.StaticRouterProvider = Ut;
|
|
346
|
+
q.createStaticHandler = Vt;
|
|
347
|
+
q.createStaticRouter = Yt;
|
|
348
|
+
const er = ({
|
|
349
|
+
router: t
|
|
350
|
+
}) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { children: /* @__PURE__ */ n.jsx(Je, { router: t }) }) }), tr = ({
|
|
351
|
+
router: t,
|
|
352
|
+
context: e,
|
|
353
|
+
helmetContext: r
|
|
354
|
+
}) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { context: r, children: /* @__PURE__ */ n.jsx(Zt, { router: t, context: e }) }) });
|
|
355
|
+
var w, be, rr = (be = class extends Oe {
|
|
22
356
|
constructor(e = {}) {
|
|
23
357
|
super();
|
|
24
|
-
|
|
25
|
-
this.config = e,
|
|
358
|
+
y(this, w);
|
|
359
|
+
this.config = e, d(this, w, /* @__PURE__ */ new Map());
|
|
26
360
|
}
|
|
27
|
-
build(e,
|
|
28
|
-
const
|
|
29
|
-
let
|
|
30
|
-
return
|
|
361
|
+
build(e, r, a) {
|
|
362
|
+
const s = r.queryKey, o = r.queryHash ?? Ae(s, r);
|
|
363
|
+
let i = this.get(o);
|
|
364
|
+
return i || (i = new bt({
|
|
31
365
|
cache: this,
|
|
32
|
-
queryKey:
|
|
366
|
+
queryKey: s,
|
|
33
367
|
queryHash: o,
|
|
34
|
-
options: e.defaultQueryOptions(
|
|
368
|
+
options: e.defaultQueryOptions(r),
|
|
35
369
|
state: a,
|
|
36
|
-
defaultOptions: e.getQueryDefaults(
|
|
37
|
-
}), this.add(
|
|
370
|
+
defaultOptions: e.getQueryDefaults(s)
|
|
371
|
+
}), this.add(i)), i;
|
|
38
372
|
}
|
|
39
373
|
add(e) {
|
|
40
|
-
|
|
374
|
+
l(this, w).has(e.queryHash) || (l(this, w).set(e.queryHash, e), this.notify({
|
|
41
375
|
type: "added",
|
|
42
376
|
query: e
|
|
43
377
|
}));
|
|
44
378
|
}
|
|
45
379
|
remove(e) {
|
|
46
|
-
const
|
|
47
|
-
|
|
380
|
+
const r = l(this, w).get(e.queryHash);
|
|
381
|
+
r && (e.destroy(), r === e && l(this, w).delete(e.queryHash), this.notify({ type: "removed", query: e }));
|
|
48
382
|
}
|
|
49
383
|
clear() {
|
|
50
|
-
|
|
384
|
+
g.batch(() => {
|
|
51
385
|
this.getAll().forEach((e) => {
|
|
52
386
|
this.remove(e);
|
|
53
387
|
});
|
|
54
388
|
});
|
|
55
389
|
}
|
|
56
390
|
get(e) {
|
|
57
|
-
return
|
|
391
|
+
return l(this, w).get(e);
|
|
58
392
|
}
|
|
59
393
|
getAll() {
|
|
60
|
-
return [...
|
|
394
|
+
return [...l(this, w).values()];
|
|
61
395
|
}
|
|
62
396
|
find(e) {
|
|
63
|
-
const
|
|
397
|
+
const r = { exact: !0, ...e };
|
|
64
398
|
return this.getAll().find(
|
|
65
|
-
(a) =>
|
|
399
|
+
(a) => de(r, a)
|
|
66
400
|
);
|
|
67
401
|
}
|
|
68
402
|
findAll(e = {}) {
|
|
69
|
-
const
|
|
70
|
-
return Object.keys(e).length > 0 ?
|
|
403
|
+
const r = this.getAll();
|
|
404
|
+
return Object.keys(e).length > 0 ? r.filter((a) => de(e, a)) : r;
|
|
71
405
|
}
|
|
72
406
|
notify(e) {
|
|
73
|
-
|
|
74
|
-
this.listeners.forEach((
|
|
75
|
-
|
|
407
|
+
g.batch(() => {
|
|
408
|
+
this.listeners.forEach((r) => {
|
|
409
|
+
r(e);
|
|
76
410
|
});
|
|
77
411
|
});
|
|
78
412
|
}
|
|
79
413
|
onFocus() {
|
|
80
|
-
|
|
414
|
+
g.batch(() => {
|
|
81
415
|
this.getAll().forEach((e) => {
|
|
82
416
|
e.onFocus();
|
|
83
417
|
});
|
|
84
418
|
});
|
|
85
419
|
}
|
|
86
420
|
onOnline() {
|
|
87
|
-
|
|
421
|
+
g.batch(() => {
|
|
88
422
|
this.getAll().forEach((e) => {
|
|
89
423
|
e.onOnline();
|
|
90
424
|
});
|
|
91
425
|
});
|
|
92
426
|
}
|
|
93
|
-
},
|
|
427
|
+
}, w = new WeakMap(), be), m, Q, xe, ar = (xe = class extends Oe {
|
|
94
428
|
constructor(e = {}) {
|
|
95
429
|
super();
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
this.config = e,
|
|
430
|
+
y(this, m);
|
|
431
|
+
y(this, Q);
|
|
432
|
+
this.config = e, d(this, m, /* @__PURE__ */ new Map()), d(this, Q, Date.now());
|
|
99
433
|
}
|
|
100
|
-
build(e,
|
|
101
|
-
const
|
|
434
|
+
build(e, r, a) {
|
|
435
|
+
const s = new kt({
|
|
102
436
|
mutationCache: this,
|
|
103
|
-
mutationId: ++
|
|
104
|
-
options: e.defaultMutationOptions(
|
|
437
|
+
mutationId: ++L(this, Q)._,
|
|
438
|
+
options: e.defaultMutationOptions(r),
|
|
105
439
|
state: a
|
|
106
440
|
});
|
|
107
|
-
return this.add(
|
|
441
|
+
return this.add(s), s;
|
|
108
442
|
}
|
|
109
443
|
add(e) {
|
|
110
|
-
const
|
|
111
|
-
a.push(e),
|
|
444
|
+
const r = B(e), a = l(this, m).get(r) ?? [];
|
|
445
|
+
a.push(e), l(this, m).set(r, a), this.notify({ type: "added", mutation: e });
|
|
112
446
|
}
|
|
113
447
|
remove(e) {
|
|
114
448
|
var a;
|
|
115
|
-
const
|
|
116
|
-
if (
|
|
117
|
-
const
|
|
118
|
-
|
|
449
|
+
const r = B(e);
|
|
450
|
+
if (l(this, m).has(r)) {
|
|
451
|
+
const s = (a = l(this, m).get(r)) == null ? void 0 : a.filter((o) => o !== e);
|
|
452
|
+
s && (s.length === 0 ? l(this, m).delete(r) : l(this, m).set(r, s));
|
|
119
453
|
}
|
|
120
454
|
this.notify({ type: "removed", mutation: e });
|
|
121
455
|
}
|
|
122
456
|
canRun(e) {
|
|
123
457
|
var a;
|
|
124
|
-
const
|
|
125
|
-
return !
|
|
458
|
+
const r = (a = l(this, m).get(B(e))) == null ? void 0 : a.find((s) => s.state.status === "pending");
|
|
459
|
+
return !r || r === e;
|
|
126
460
|
}
|
|
127
461
|
runNext(e) {
|
|
128
462
|
var a;
|
|
129
|
-
const
|
|
130
|
-
return (
|
|
463
|
+
const r = (a = l(this, m).get(B(e))) == null ? void 0 : a.find((s) => s !== e && s.state.isPaused);
|
|
464
|
+
return (r == null ? void 0 : r.continue()) ?? Promise.resolve();
|
|
131
465
|
}
|
|
132
466
|
clear() {
|
|
133
|
-
|
|
467
|
+
g.batch(() => {
|
|
134
468
|
this.getAll().forEach((e) => {
|
|
135
469
|
this.remove(e);
|
|
136
470
|
});
|
|
137
471
|
});
|
|
138
472
|
}
|
|
139
473
|
getAll() {
|
|
140
|
-
return [...
|
|
474
|
+
return [...l(this, m).values()].flat();
|
|
141
475
|
}
|
|
142
476
|
find(e) {
|
|
143
|
-
const
|
|
477
|
+
const r = { exact: !0, ...e };
|
|
144
478
|
return this.getAll().find(
|
|
145
|
-
(a) =>
|
|
479
|
+
(a) => fe(r, a)
|
|
146
480
|
);
|
|
147
481
|
}
|
|
148
482
|
findAll(e = {}) {
|
|
149
|
-
return this.getAll().filter((
|
|
483
|
+
return this.getAll().filter((r) => fe(e, r));
|
|
150
484
|
}
|
|
151
485
|
notify(e) {
|
|
152
|
-
|
|
153
|
-
this.listeners.forEach((
|
|
154
|
-
|
|
486
|
+
g.batch(() => {
|
|
487
|
+
this.listeners.forEach((r) => {
|
|
488
|
+
r(e);
|
|
155
489
|
});
|
|
156
490
|
});
|
|
157
491
|
}
|
|
158
492
|
resumePausedMutations() {
|
|
159
|
-
const e = this.getAll().filter((
|
|
160
|
-
return
|
|
493
|
+
const e = this.getAll().filter((r) => r.state.isPaused);
|
|
494
|
+
return g.batch(
|
|
161
495
|
() => Promise.all(
|
|
162
|
-
e.map((
|
|
496
|
+
e.map((r) => r.continue().catch(P))
|
|
163
497
|
)
|
|
164
498
|
);
|
|
165
499
|
}
|
|
166
|
-
},
|
|
167
|
-
function
|
|
500
|
+
}, m = new WeakMap(), Q = new WeakMap(), xe);
|
|
501
|
+
function B(t) {
|
|
168
502
|
var e;
|
|
169
503
|
return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
|
|
170
504
|
}
|
|
171
|
-
function
|
|
505
|
+
function sr(t) {
|
|
172
506
|
return {
|
|
173
|
-
onFetch: (e,
|
|
507
|
+
onFetch: (e, r) => {
|
|
174
508
|
const a = async () => {
|
|
175
|
-
var
|
|
176
|
-
const
|
|
177
|
-
let
|
|
178
|
-
const
|
|
179
|
-
Object.defineProperty(
|
|
509
|
+
var re, ae, se, ne, ie;
|
|
510
|
+
const s = e.options, o = (se = (ae = (re = e.fetchOptions) == null ? void 0 : re.meta) == null ? void 0 : ae.fetchMore) == null ? void 0 : se.direction, i = ((ne = e.state.data) == null ? void 0 : ne.pages) || [], c = ((ie = e.state.data) == null ? void 0 : ie.pageParams) || [], u = { pages: [], pageParams: [] };
|
|
511
|
+
let f = !1;
|
|
512
|
+
const p = (b) => {
|
|
513
|
+
Object.defineProperty(b, "signal", {
|
|
180
514
|
enumerable: !0,
|
|
181
|
-
get: () => (e.signal.aborted ?
|
|
182
|
-
|
|
515
|
+
get: () => (e.signal.aborted ? f = !0 : e.signal.addEventListener("abort", () => {
|
|
516
|
+
f = !0;
|
|
183
517
|
}), e.signal)
|
|
184
518
|
});
|
|
185
|
-
},
|
|
186
|
-
if (
|
|
519
|
+
}, Ue = xt(e.options, e.fetchOptions), $ = async (b, S, A) => {
|
|
520
|
+
if (f)
|
|
187
521
|
return Promise.reject();
|
|
188
|
-
if (
|
|
189
|
-
return Promise.resolve(
|
|
190
|
-
const
|
|
522
|
+
if (S == null && b.pages.length)
|
|
523
|
+
return Promise.resolve(b);
|
|
524
|
+
const H = {
|
|
191
525
|
queryKey: e.queryKey,
|
|
192
|
-
pageParam:
|
|
193
|
-
direction:
|
|
526
|
+
pageParam: S,
|
|
527
|
+
direction: A ? "backward" : "forward",
|
|
194
528
|
meta: e.options.meta
|
|
195
529
|
};
|
|
196
|
-
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
), { maxPages:
|
|
530
|
+
p(H);
|
|
531
|
+
const Ke = await Ue(
|
|
532
|
+
H
|
|
533
|
+
), { maxPages: oe } = e.options, le = A ? wt : Et;
|
|
200
534
|
return {
|
|
201
|
-
pages:
|
|
202
|
-
pageParams:
|
|
535
|
+
pages: le(b.pages, Ke, oe),
|
|
536
|
+
pageParams: le(b.pageParams, S, oe)
|
|
203
537
|
};
|
|
204
538
|
};
|
|
205
|
-
let
|
|
206
|
-
if (o &&
|
|
207
|
-
const
|
|
208
|
-
pages:
|
|
209
|
-
pageParams:
|
|
210
|
-
},
|
|
211
|
-
|
|
539
|
+
let R;
|
|
540
|
+
if (o && i.length) {
|
|
541
|
+
const b = o === "backward", S = b ? nr : ye, A = {
|
|
542
|
+
pages: i,
|
|
543
|
+
pageParams: c
|
|
544
|
+
}, H = S(s, A);
|
|
545
|
+
R = await $(A, H, b);
|
|
212
546
|
} else {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
547
|
+
R = await $(
|
|
548
|
+
u,
|
|
549
|
+
c[0] ?? s.initialPageParam
|
|
216
550
|
);
|
|
217
|
-
const
|
|
218
|
-
for (let
|
|
219
|
-
const
|
|
220
|
-
|
|
551
|
+
const b = t ?? i.length;
|
|
552
|
+
for (let S = 1; S < b; S++) {
|
|
553
|
+
const A = ye(s, R);
|
|
554
|
+
R = await $(R, A);
|
|
221
555
|
}
|
|
222
556
|
}
|
|
223
|
-
return
|
|
557
|
+
return R;
|
|
224
558
|
};
|
|
225
559
|
e.options.persister ? e.fetchFn = () => {
|
|
226
|
-
var
|
|
227
|
-
return (o = (
|
|
228
|
-
|
|
560
|
+
var s, o;
|
|
561
|
+
return (o = (s = e.options).persister) == null ? void 0 : o.call(
|
|
562
|
+
s,
|
|
229
563
|
a,
|
|
230
564
|
{
|
|
231
565
|
queryKey: e.queryKey,
|
|
232
566
|
meta: e.options.meta,
|
|
233
567
|
signal: e.signal
|
|
234
568
|
},
|
|
235
|
-
|
|
569
|
+
r
|
|
236
570
|
);
|
|
237
571
|
} : e.fetchFn = a;
|
|
238
572
|
}
|
|
239
573
|
};
|
|
240
574
|
}
|
|
241
|
-
function
|
|
575
|
+
function ye(t, { pages: e, pageParams: r }) {
|
|
242
576
|
const a = e.length - 1;
|
|
243
577
|
return t.getNextPageParam(
|
|
244
578
|
e[a],
|
|
245
579
|
e,
|
|
246
|
-
|
|
247
|
-
|
|
580
|
+
r[a],
|
|
581
|
+
r
|
|
248
582
|
);
|
|
249
583
|
}
|
|
250
|
-
function
|
|
584
|
+
function nr(t, { pages: e, pageParams: r }) {
|
|
251
585
|
var a;
|
|
252
586
|
return (a = t.getPreviousPageParam) == null ? void 0 : a.call(
|
|
253
587
|
t,
|
|
254
588
|
e[0],
|
|
255
589
|
e,
|
|
256
|
-
|
|
257
|
-
|
|
590
|
+
r[0],
|
|
591
|
+
r
|
|
258
592
|
);
|
|
259
593
|
}
|
|
260
|
-
var
|
|
594
|
+
var h, N, C, k, M, O, D, _, we, ir = (we = class {
|
|
261
595
|
constructor(t = {}) {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
596
|
+
y(this, h);
|
|
597
|
+
y(this, N);
|
|
598
|
+
y(this, C);
|
|
599
|
+
y(this, k);
|
|
600
|
+
y(this, M);
|
|
601
|
+
y(this, O);
|
|
602
|
+
y(this, D);
|
|
603
|
+
y(this, _);
|
|
604
|
+
d(this, h, t.queryCache || new rr()), d(this, N, t.mutationCache || new ar()), d(this, C, t.defaultOptions || {}), d(this, k, /* @__PURE__ */ new Map()), d(this, M, /* @__PURE__ */ new Map()), d(this, O, 0);
|
|
271
605
|
}
|
|
272
606
|
mount() {
|
|
273
|
-
|
|
274
|
-
t && (await this.resumePausedMutations(),
|
|
275
|
-
})),
|
|
276
|
-
t && (await this.resumePausedMutations(),
|
|
607
|
+
L(this, O)._++, l(this, O) === 1 && (d(this, D, Pt.subscribe(async (t) => {
|
|
608
|
+
t && (await this.resumePausedMutations(), l(this, h).onFocus());
|
|
609
|
+
})), d(this, _, pe.subscribe(async (t) => {
|
|
610
|
+
t && (await this.resumePausedMutations(), l(this, h).onOnline());
|
|
277
611
|
})));
|
|
278
612
|
}
|
|
279
613
|
unmount() {
|
|
280
614
|
var t, e;
|
|
281
|
-
|
|
615
|
+
L(this, O)._--, l(this, O) === 0 && ((t = l(this, D)) == null || t.call(this), d(this, D, void 0), (e = l(this, _)) == null || e.call(this), d(this, _, void 0));
|
|
282
616
|
}
|
|
283
617
|
isFetching(t) {
|
|
284
|
-
return
|
|
618
|
+
return l(this, h).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
285
619
|
}
|
|
286
620
|
isMutating(t) {
|
|
287
|
-
return
|
|
621
|
+
return l(this, N).findAll({ ...t, status: "pending" }).length;
|
|
288
622
|
}
|
|
289
623
|
getQueryData(t) {
|
|
290
|
-
var
|
|
624
|
+
var r;
|
|
291
625
|
const e = this.defaultQueryOptions({ queryKey: t });
|
|
292
|
-
return (
|
|
626
|
+
return (r = l(this, h).get(e.queryHash)) == null ? void 0 : r.state.data;
|
|
293
627
|
}
|
|
294
628
|
ensureQueryData(t) {
|
|
295
629
|
const e = this.getQueryData(t.queryKey);
|
|
296
630
|
if (e === void 0)
|
|
297
631
|
return this.fetchQuery(t);
|
|
298
632
|
{
|
|
299
|
-
const
|
|
300
|
-
return t.revalidateIfStale && a.isStaleByTime(
|
|
633
|
+
const r = this.defaultQueryOptions(t), a = l(this, h).build(this, r);
|
|
634
|
+
return t.revalidateIfStale && a.isStaleByTime(me(r.staleTime, a)) && this.prefetchQuery(r), Promise.resolve(e);
|
|
301
635
|
}
|
|
302
636
|
}
|
|
303
637
|
getQueriesData(t) {
|
|
304
|
-
return
|
|
305
|
-
const a =
|
|
638
|
+
return l(this, h).findAll(t).map(({ queryKey: e, state: r }) => {
|
|
639
|
+
const a = r.data;
|
|
306
640
|
return [e, a];
|
|
307
641
|
});
|
|
308
642
|
}
|
|
309
|
-
setQueryData(t, e,
|
|
310
|
-
const a = this.defaultQueryOptions({ queryKey: t }),
|
|
643
|
+
setQueryData(t, e, r) {
|
|
644
|
+
const a = this.defaultQueryOptions({ queryKey: t }), s = l(this, h).get(
|
|
311
645
|
a.queryHash
|
|
312
|
-
), o =
|
|
313
|
-
if (
|
|
314
|
-
return
|
|
646
|
+
), o = s == null ? void 0 : s.state.data, i = jt(e, o);
|
|
647
|
+
if (i !== void 0)
|
|
648
|
+
return l(this, h).build(this, a).setData(i, { ...r, manual: !0 });
|
|
315
649
|
}
|
|
316
|
-
setQueriesData(t, e,
|
|
317
|
-
return
|
|
318
|
-
() =>
|
|
650
|
+
setQueriesData(t, e, r) {
|
|
651
|
+
return g.batch(
|
|
652
|
+
() => l(this, h).findAll(t).map(({ queryKey: a }) => [
|
|
319
653
|
a,
|
|
320
|
-
this.setQueryData(a, e,
|
|
654
|
+
this.setQueryData(a, e, r)
|
|
321
655
|
])
|
|
322
656
|
);
|
|
323
657
|
}
|
|
324
658
|
getQueryState(t) {
|
|
325
|
-
var
|
|
659
|
+
var r;
|
|
326
660
|
const e = this.defaultQueryOptions({ queryKey: t });
|
|
327
|
-
return (
|
|
661
|
+
return (r = l(this, h).get(e.queryHash)) == null ? void 0 : r.state;
|
|
328
662
|
}
|
|
329
663
|
removeQueries(t) {
|
|
330
|
-
const e =
|
|
331
|
-
|
|
332
|
-
e.findAll(t).forEach((
|
|
333
|
-
e.remove(
|
|
664
|
+
const e = l(this, h);
|
|
665
|
+
g.batch(() => {
|
|
666
|
+
e.findAll(t).forEach((r) => {
|
|
667
|
+
e.remove(r);
|
|
334
668
|
});
|
|
335
669
|
});
|
|
336
670
|
}
|
|
337
671
|
resetQueries(t, e) {
|
|
338
|
-
const
|
|
672
|
+
const r = l(this, h), a = {
|
|
339
673
|
type: "active",
|
|
340
674
|
...t
|
|
341
675
|
};
|
|
342
|
-
return
|
|
343
|
-
|
|
676
|
+
return g.batch(() => (r.findAll(t).forEach((s) => {
|
|
677
|
+
s.reset();
|
|
344
678
|
}), this.refetchQueries(a, e)));
|
|
345
679
|
}
|
|
346
680
|
cancelQueries(t = {}, e = {}) {
|
|
347
|
-
const
|
|
348
|
-
() =>
|
|
681
|
+
const r = { revert: !0, ...e }, a = g.batch(
|
|
682
|
+
() => l(this, h).findAll(t).map((s) => s.cancel(r))
|
|
349
683
|
);
|
|
350
|
-
return Promise.all(a).then(
|
|
684
|
+
return Promise.all(a).then(P).catch(P);
|
|
351
685
|
}
|
|
352
686
|
invalidateQueries(t = {}, e = {}) {
|
|
353
|
-
return
|
|
354
|
-
if (
|
|
687
|
+
return g.batch(() => {
|
|
688
|
+
if (l(this, h).findAll(t).forEach((a) => {
|
|
355
689
|
a.invalidate();
|
|
356
690
|
}), t.refetchType === "none")
|
|
357
691
|
return Promise.resolve();
|
|
358
|
-
const
|
|
692
|
+
const r = {
|
|
359
693
|
...t,
|
|
360
694
|
type: t.refetchType ?? t.type ?? "active"
|
|
361
695
|
};
|
|
362
|
-
return this.refetchQueries(
|
|
696
|
+
return this.refetchQueries(r, e);
|
|
363
697
|
});
|
|
364
698
|
}
|
|
365
699
|
refetchQueries(t = {}, e) {
|
|
366
|
-
const
|
|
700
|
+
const r = {
|
|
367
701
|
...e,
|
|
368
702
|
cancelRefetch: (e == null ? void 0 : e.cancelRefetch) ?? !0
|
|
369
|
-
}, a =
|
|
370
|
-
() =>
|
|
371
|
-
let o =
|
|
372
|
-
return
|
|
703
|
+
}, a = g.batch(
|
|
704
|
+
() => l(this, h).findAll(t).filter((s) => !s.isDisabled()).map((s) => {
|
|
705
|
+
let o = s.fetch(void 0, r);
|
|
706
|
+
return r.throwOnError || (o = o.catch(P)), s.state.fetchStatus === "paused" ? Promise.resolve() : o;
|
|
373
707
|
})
|
|
374
708
|
);
|
|
375
|
-
return Promise.all(a).then(
|
|
709
|
+
return Promise.all(a).then(P);
|
|
376
710
|
}
|
|
377
711
|
fetchQuery(t) {
|
|
378
712
|
const e = this.defaultQueryOptions(t);
|
|
379
713
|
e.retry === void 0 && (e.retry = !1);
|
|
380
|
-
const
|
|
381
|
-
return
|
|
382
|
-
|
|
383
|
-
) ?
|
|
714
|
+
const r = l(this, h).build(this, e);
|
|
715
|
+
return r.isStaleByTime(
|
|
716
|
+
me(e.staleTime, r)
|
|
717
|
+
) ? r.fetch(e) : Promise.resolve(r.state.data);
|
|
384
718
|
}
|
|
385
719
|
prefetchQuery(t) {
|
|
386
|
-
return this.fetchQuery(t).then(
|
|
720
|
+
return this.fetchQuery(t).then(P).catch(P);
|
|
387
721
|
}
|
|
388
722
|
fetchInfiniteQuery(t) {
|
|
389
|
-
return t.behavior =
|
|
723
|
+
return t.behavior = sr(t.pages), this.fetchQuery(t);
|
|
390
724
|
}
|
|
391
725
|
prefetchInfiniteQuery(t) {
|
|
392
|
-
return this.fetchInfiniteQuery(t).then(
|
|
726
|
+
return this.fetchInfiniteQuery(t).then(P).catch(P);
|
|
393
727
|
}
|
|
394
728
|
resumePausedMutations() {
|
|
395
|
-
return
|
|
729
|
+
return pe.isOnline() ? l(this, N).resumePausedMutations() : Promise.resolve();
|
|
396
730
|
}
|
|
397
731
|
getQueryCache() {
|
|
398
|
-
return
|
|
732
|
+
return l(this, h);
|
|
399
733
|
}
|
|
400
734
|
getMutationCache() {
|
|
401
|
-
return
|
|
735
|
+
return l(this, N);
|
|
402
736
|
}
|
|
403
737
|
getDefaultOptions() {
|
|
404
|
-
return
|
|
738
|
+
return l(this, C);
|
|
405
739
|
}
|
|
406
740
|
setDefaultOptions(t) {
|
|
407
|
-
|
|
741
|
+
d(this, C, t);
|
|
408
742
|
}
|
|
409
743
|
setQueryDefaults(t, e) {
|
|
410
|
-
|
|
744
|
+
l(this, k).set(ge(t), {
|
|
411
745
|
queryKey: t,
|
|
412
746
|
defaultOptions: e
|
|
413
747
|
});
|
|
414
748
|
}
|
|
415
749
|
getQueryDefaults(t) {
|
|
416
|
-
const e = [...
|
|
417
|
-
let
|
|
750
|
+
const e = [...l(this, k).values()];
|
|
751
|
+
let r = {};
|
|
418
752
|
return e.forEach((a) => {
|
|
419
|
-
|
|
420
|
-
}),
|
|
753
|
+
ve(t, a.queryKey) && (r = { ...r, ...a.defaultOptions });
|
|
754
|
+
}), r;
|
|
421
755
|
}
|
|
422
756
|
setMutationDefaults(t, e) {
|
|
423
|
-
|
|
757
|
+
l(this, M).set(ge(t), {
|
|
424
758
|
mutationKey: t,
|
|
425
759
|
defaultOptions: e
|
|
426
760
|
});
|
|
427
761
|
}
|
|
428
762
|
getMutationDefaults(t) {
|
|
429
|
-
const e = [...
|
|
430
|
-
let
|
|
763
|
+
const e = [...l(this, M).values()];
|
|
764
|
+
let r = {};
|
|
431
765
|
return e.forEach((a) => {
|
|
432
|
-
|
|
433
|
-
}),
|
|
766
|
+
ve(t, a.mutationKey) && (r = { ...r, ...a.defaultOptions });
|
|
767
|
+
}), r;
|
|
434
768
|
}
|
|
435
769
|
defaultQueryOptions(t) {
|
|
436
770
|
if (t._defaulted)
|
|
437
771
|
return t;
|
|
438
772
|
const e = {
|
|
439
|
-
...
|
|
773
|
+
...l(this, C).queries,
|
|
440
774
|
...this.getQueryDefaults(t.queryKey),
|
|
441
775
|
...t,
|
|
442
776
|
_defaulted: !0
|
|
443
777
|
};
|
|
444
|
-
return e.queryHash || (e.queryHash =
|
|
778
|
+
return e.queryHash || (e.queryHash = Ae(
|
|
445
779
|
e.queryKey,
|
|
446
780
|
e
|
|
447
|
-
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.enabled !== !0 && e.queryFn ===
|
|
781
|
+
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.enabled !== !0 && e.queryFn === St && (e.enabled = !1), e;
|
|
448
782
|
}
|
|
449
783
|
defaultMutationOptions(t) {
|
|
450
784
|
return t != null && t._defaulted ? t : {
|
|
451
|
-
...
|
|
785
|
+
...l(this, C).mutations,
|
|
452
786
|
...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
|
|
453
787
|
...t,
|
|
454
788
|
_defaulted: !0
|
|
455
789
|
};
|
|
456
790
|
}
|
|
457
791
|
clear() {
|
|
458
|
-
|
|
792
|
+
l(this, h).clear(), l(this, N).clear();
|
|
459
793
|
}
|
|
460
|
-
},
|
|
461
|
-
const
|
|
462
|
-
|
|
794
|
+
}, h = new WeakMap(), N = new WeakMap(), C = new WeakMap(), k = new WeakMap(), M = new WeakMap(), O = new WeakMap(), D = new WeakMap(), _ = new WeakMap(), we);
|
|
795
|
+
const or = Ne(null), Y = {
|
|
796
|
+
didCatch: !1,
|
|
797
|
+
error: null
|
|
798
|
+
};
|
|
799
|
+
class lr extends dt {
|
|
463
800
|
constructor(e) {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
801
|
+
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Y;
|
|
802
|
+
}
|
|
803
|
+
static getDerivedStateFromError(e) {
|
|
804
|
+
return {
|
|
805
|
+
didCatch: !0,
|
|
806
|
+
error: e
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
resetErrorBoundary() {
|
|
810
|
+
const {
|
|
811
|
+
error: e
|
|
812
|
+
} = this.state;
|
|
813
|
+
if (e !== null) {
|
|
814
|
+
for (var r, a, s = arguments.length, o = new Array(s), i = 0; i < s; i++)
|
|
815
|
+
o[i] = arguments[i];
|
|
816
|
+
(r = (a = this.props).onReset) === null || r === void 0 || r.call(a, {
|
|
817
|
+
args: o,
|
|
818
|
+
reason: "imperative-api"
|
|
819
|
+
}), this.setState(Y);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
componentDidCatch(e, r) {
|
|
823
|
+
var a, s;
|
|
824
|
+
(a = (s = this.props).onError) === null || a === void 0 || a.call(s, e, r);
|
|
825
|
+
}
|
|
826
|
+
componentDidUpdate(e, r) {
|
|
827
|
+
const {
|
|
828
|
+
didCatch: a
|
|
829
|
+
} = this.state, {
|
|
830
|
+
resetKeys: s
|
|
831
|
+
} = this.props;
|
|
832
|
+
if (a && r.error !== null && cr(e.resetKeys, s)) {
|
|
833
|
+
var o, i;
|
|
834
|
+
(o = (i = this.props).onReset) === null || o === void 0 || o.call(i, {
|
|
835
|
+
next: s,
|
|
836
|
+
prev: e.resetKeys,
|
|
837
|
+
reason: "keys"
|
|
838
|
+
}), this.setState(Y);
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
render() {
|
|
842
|
+
const {
|
|
843
|
+
children: e,
|
|
844
|
+
fallbackRender: r,
|
|
845
|
+
FallbackComponent: a,
|
|
846
|
+
fallback: s
|
|
847
|
+
} = this.props, {
|
|
848
|
+
didCatch: o,
|
|
849
|
+
error: i
|
|
850
|
+
} = this.state;
|
|
851
|
+
let c = e;
|
|
852
|
+
if (o) {
|
|
853
|
+
const u = {
|
|
854
|
+
error: i,
|
|
855
|
+
resetErrorBoundary: this.resetErrorBoundary
|
|
856
|
+
};
|
|
857
|
+
if (typeof r == "function")
|
|
858
|
+
c = r(u);
|
|
859
|
+
else if (a)
|
|
860
|
+
c = he(a, u);
|
|
861
|
+
else if (s === null || ft(s))
|
|
862
|
+
c = s;
|
|
863
|
+
else
|
|
864
|
+
throw i;
|
|
865
|
+
}
|
|
866
|
+
return he(or.Provider, {
|
|
867
|
+
value: {
|
|
868
|
+
didCatch: o,
|
|
869
|
+
error: i,
|
|
870
|
+
resetErrorBoundary: this.resetErrorBoundary
|
|
871
|
+
}
|
|
872
|
+
}, c);
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
function cr() {
|
|
876
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
877
|
+
return t.length !== e.length || t.some((r, a) => !Object.is(r, e[a]));
|
|
878
|
+
}
|
|
879
|
+
const ur = (t) => "getRoutes" in t && typeof t.getRoutes == "function", hr = (t) => "initialize" in t && typeof t.initialize == "function", dr = (t) => "getHead" in t && typeof t.getHead == "function", fr = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ie = new ir(), pr = Rt(() => ({}));
|
|
880
|
+
class mr {
|
|
881
|
+
constructor(e) {
|
|
882
|
+
v(this, "plugins", []);
|
|
883
|
+
v(this, "navigation");
|
|
884
|
+
v(this, "meta");
|
|
885
|
+
v(this, "page");
|
|
886
|
+
v(this, "authentication");
|
|
887
|
+
v(this, "state");
|
|
888
|
+
v(this, "navigationPlugins");
|
|
889
|
+
v(this, "initialize", async () => {
|
|
890
|
+
await Promise.all([
|
|
891
|
+
this.plugins.filter(hr).map((e) => {
|
|
892
|
+
var r;
|
|
893
|
+
return (r = e.initialize) == null ? void 0 : r.call(e, this);
|
|
894
|
+
})
|
|
895
|
+
]);
|
|
473
896
|
});
|
|
474
|
-
|
|
475
|
-
await
|
|
897
|
+
v(this, "invalidateCache", async (e) => {
|
|
898
|
+
await Ie.invalidateQueries({ queryKey: e });
|
|
476
899
|
});
|
|
477
|
-
|
|
478
|
-
this.plugins.filter(
|
|
900
|
+
v(this, "getApiIdentities", async () => (await Promise.all(
|
|
901
|
+
this.plugins.filter(fr).map((r) => r.getIdentities(this))
|
|
479
902
|
)).flat());
|
|
480
|
-
|
|
903
|
+
v(this, "getNavigation", async (e) => (await Promise.all(
|
|
481
904
|
this.navigationPlugins.map(
|
|
482
905
|
async (a) => {
|
|
483
|
-
var
|
|
484
|
-
return (
|
|
906
|
+
var s;
|
|
907
|
+
return (s = a.getNavigation) == null ? void 0 : s.call(a, e);
|
|
485
908
|
}
|
|
486
909
|
)
|
|
487
910
|
)).flatMap((a) => a ?? []));
|
|
488
|
-
this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(
|
|
911
|
+
this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(ur), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.state = pr;
|
|
489
912
|
}
|
|
490
913
|
async signRequest(e) {
|
|
491
914
|
if (!this.authentication)
|
|
492
915
|
throw new Error("No authentication provider configured");
|
|
493
|
-
const
|
|
494
|
-
return e.headers.set("Authorization", `Bearer ${
|
|
916
|
+
const r = await this.authentication.getAccessToken();
|
|
917
|
+
return e.headers.set("Authorization", `Bearer ${r}`), e;
|
|
495
918
|
}
|
|
496
919
|
}
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
*/
|
|
503
|
-
|
|
504
|
-
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
|
505
|
-
]);
|
|
506
|
-
/**
|
|
507
|
-
* @license lucide-react v0.378.0 - ISC
|
|
508
|
-
*
|
|
509
|
-
* This source code is licensed under the ISC license.
|
|
510
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
511
|
-
*/
|
|
512
|
-
const jt = I("ExternalLink", [
|
|
513
|
-
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
514
|
-
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
515
|
-
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
516
|
-
]);
|
|
517
|
-
/**
|
|
518
|
-
* @license lucide-react v0.378.0 - ISC
|
|
519
|
-
*
|
|
520
|
-
* This source code is licensed under the ISC license.
|
|
521
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
522
|
-
*/
|
|
523
|
-
const Pt = I("MoonStar", [
|
|
524
|
-
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
|
|
525
|
-
["path", { d: "M20 3v4", key: "1olli1" }],
|
|
526
|
-
["path", { d: "M22 5h-4", key: "1gvqau" }]
|
|
527
|
-
]);
|
|
528
|
-
/**
|
|
529
|
-
* @license lucide-react v0.378.0 - ISC
|
|
530
|
-
*
|
|
531
|
-
* This source code is licensed under the ISC license.
|
|
532
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
533
|
-
*/
|
|
534
|
-
const wt = I("Search", [
|
|
535
|
-
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
536
|
-
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
537
|
-
]);
|
|
538
|
-
/**
|
|
539
|
-
* @license lucide-react v0.378.0 - ISC
|
|
540
|
-
*
|
|
541
|
-
* This source code is licensed under the ISC license.
|
|
542
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
543
|
-
*/
|
|
544
|
-
const Nt = I("Sun", [
|
|
545
|
-
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
546
|
-
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
547
|
-
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
548
|
-
["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
|
|
549
|
-
["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
|
|
550
|
-
["path", { d: "M2 12h2", key: "1t8f8n" }],
|
|
551
|
-
["path", { d: "M20 12h2", key: "1q8mjw" }],
|
|
552
|
-
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
553
|
-
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
554
|
-
]), kt = () => {
|
|
555
|
-
const { navigation: t } = U();
|
|
556
|
-
return /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
|
|
557
|
-
B,
|
|
920
|
+
function gr({ error: t, resetErrorBoundary: e }) {
|
|
921
|
+
return /* @__PURE__ */ n.jsx(Ee, { error: t });
|
|
922
|
+
}
|
|
923
|
+
const vr = () => {
|
|
924
|
+
const { navigation: t } = Z();
|
|
925
|
+
return t.length <= 1 ? null : /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
|
|
926
|
+
J,
|
|
558
927
|
{
|
|
559
|
-
className: ({ isActive:
|
|
928
|
+
className: ({ isActive: r }) => Xe(
|
|
560
929
|
"block py-3.5 font-medium -mb-px border-b-2",
|
|
561
|
-
|
|
930
|
+
r ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
562
931
|
),
|
|
563
932
|
to: e.path,
|
|
564
933
|
children: e.label
|
|
565
934
|
}
|
|
566
935
|
) }, e.label)) }) });
|
|
567
|
-
},
|
|
568
|
-
const [e,
|
|
936
|
+
}, qe = Ce(function() {
|
|
937
|
+
const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: c } = st(), { page: u } = Z(), f = e ? Tt : Ft;
|
|
569
938
|
return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
|
|
570
939
|
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
|
|
571
940
|
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
572
|
-
(
|
|
573
|
-
/* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children:
|
|
941
|
+
(u == null ? void 0 : u.logo) && /* @__PURE__ */ n.jsx("img", { src: u.logo, alt: u.pageTitle, className: "h-10" }),
|
|
942
|
+
/* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: u == null ? void 0 : u.pageTitle })
|
|
574
943
|
] }),
|
|
575
944
|
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
576
|
-
/* @__PURE__ */ n.jsx("div", { className: "w-full max-w-prose"
|
|
577
|
-
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
578
|
-
/* @__PURE__ */ n.jsx(wt, { size: 14 }),
|
|
579
|
-
"Search"
|
|
580
|
-
] }),
|
|
581
|
-
/* @__PURE__ */ n.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border border-border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
|
|
582
|
-
] }) }),
|
|
945
|
+
/* @__PURE__ */ n.jsx("div", { className: "w-full max-w-prose" }),
|
|
583
946
|
/* @__PURE__ */ n.jsxs("div", { className: "items-center justify-self-end text-sm hidden lg:flex", children: [
|
|
584
947
|
o && /* @__PURE__ */ n.jsx(n.Fragment, { children: a ? /* @__PURE__ */ n.jsxs(
|
|
585
948
|
"button",
|
|
586
949
|
{
|
|
950
|
+
type: "button",
|
|
587
951
|
className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded text-nowrap",
|
|
588
|
-
onClick:
|
|
952
|
+
onClick: c,
|
|
589
953
|
children: [
|
|
590
954
|
"Logout ",
|
|
591
|
-
|
|
955
|
+
s != null && s.email ? `(${s.email})` : null
|
|
592
956
|
]
|
|
593
957
|
}
|
|
594
958
|
) : /* @__PURE__ */ n.jsx(
|
|
595
959
|
"button",
|
|
596
960
|
{
|
|
961
|
+
type: "button",
|
|
597
962
|
className: "cursor-pointer hover:bg-secondary p-1 px-2 mx-2 rounded",
|
|
598
|
-
onClick:
|
|
963
|
+
onClick: i,
|
|
599
964
|
children: "Login"
|
|
600
965
|
}
|
|
601
966
|
) }),
|
|
602
967
|
/* @__PURE__ */ n.jsx(
|
|
603
968
|
"button",
|
|
604
969
|
{
|
|
970
|
+
type: "button",
|
|
971
|
+
"aria-label": e ? "Switch to light mode" : "Switch to dark mode",
|
|
605
972
|
className: "cursor-pointer hover:bg-secondary p-2.5 -m-2.5 rounded-full",
|
|
606
|
-
onClick:
|
|
607
|
-
children: /* @__PURE__ */ n.jsx(
|
|
973
|
+
onClick: r,
|
|
974
|
+
children: /* @__PURE__ */ n.jsx(f, { size: 18 })
|
|
608
975
|
}
|
|
609
976
|
)
|
|
610
977
|
] })
|
|
611
978
|
] })
|
|
612
979
|
] }),
|
|
613
|
-
/* @__PURE__ */ n.jsx(
|
|
980
|
+
/* @__PURE__ */ n.jsx(vr, {})
|
|
614
981
|
] }) });
|
|
615
|
-
}),
|
|
616
|
-
Header:
|
|
617
|
-
},
|
|
618
|
-
|
|
619
|
-
|
|
982
|
+
}), He = {
|
|
983
|
+
Header: qe
|
|
984
|
+
}, yr = Ne(He), br = yr.Provider, xr = ({
|
|
985
|
+
children: t,
|
|
986
|
+
...e
|
|
987
|
+
}) => {
|
|
988
|
+
var i;
|
|
989
|
+
const r = V(
|
|
990
|
+
() => ({ ...He, ...e.overrides }),
|
|
991
|
+
[e.overrides]
|
|
992
|
+
), a = V(
|
|
993
|
+
() => ({ ...Ge, ...e.mdxComponents }),
|
|
994
|
+
[e.mdxComponents]
|
|
995
|
+
), s = V(() => new mr(e), [e]);
|
|
996
|
+
I(() => {
|
|
997
|
+
s.initialize();
|
|
998
|
+
}, [s]);
|
|
999
|
+
const o = (i = e.plugins) == null ? void 0 : i.filter(dr).map((c, u) => {
|
|
1000
|
+
var f;
|
|
1001
|
+
return /* @__PURE__ */ n.jsx(pt, { children: (f = c.getHead) == null ? void 0 : f.call(c) }, u);
|
|
1002
|
+
});
|
|
1003
|
+
return /* @__PURE__ */ n.jsxs(Nt, { client: Ie, children: [
|
|
1004
|
+
/* @__PURE__ */ n.jsx(je, { children: o }),
|
|
1005
|
+
/* @__PURE__ */ n.jsx(Ct, { value: s, children: /* @__PURE__ */ n.jsx(lt, { components: a, children: /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(br, { value: r, children: /* @__PURE__ */ n.jsx(et, { children: t }) }) }) }) })
|
|
1006
|
+
] });
|
|
1007
|
+
}, wr = Ce(xr), Le = (t) => /* @__PURE__ */ n.jsx(lr, { FallbackComponent: gr, children: /* @__PURE__ */ n.jsx(wr, { ...t }) });
|
|
1008
|
+
Le.displayName = "DevPortal";
|
|
1009
|
+
const Er = () => {
|
|
1010
|
+
const t = T(), { setActiveAnchor: e } = W();
|
|
1011
|
+
I(() => {
|
|
620
1012
|
if (!t.hash) return;
|
|
621
|
-
const
|
|
1013
|
+
const r = t.hash.split("/")[0].slice(1), a = document.getElementById(decodeURIComponent(r));
|
|
622
1014
|
if (a) {
|
|
623
1015
|
requestAnimationFrame(() => {
|
|
624
|
-
a.scrollIntoView(), requestIdleCallback(() => e(
|
|
1016
|
+
a.scrollIntoView(), requestIdleCallback(() => e(r));
|
|
625
1017
|
});
|
|
626
1018
|
return;
|
|
627
1019
|
}
|
|
628
|
-
const
|
|
629
|
-
const
|
|
630
|
-
|
|
1020
|
+
const s = new MutationObserver((o, i) => {
|
|
1021
|
+
const c = document.getElementById(decodeURIComponent(r));
|
|
1022
|
+
c && (c.scrollIntoView(), requestIdleCallback(() => e(r)), i.disconnect());
|
|
631
1023
|
});
|
|
632
|
-
return
|
|
1024
|
+
return s.observe(document.body, { childList: !0, subtree: !0 }), () => s.disconnect();
|
|
633
1025
|
}, [t.hash, e]);
|
|
634
|
-
},
|
|
635
|
-
const t =
|
|
636
|
-
|
|
1026
|
+
}, Pr = () => {
|
|
1027
|
+
const t = T(), e = K(t.pathname);
|
|
1028
|
+
I(() => {
|
|
637
1029
|
e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
|
|
638
1030
|
}, [t.pathname]);
|
|
639
|
-
},
|
|
1031
|
+
}, Be = ({
|
|
640
1032
|
item: t,
|
|
641
1033
|
defaultOpen: e,
|
|
642
|
-
path:
|
|
1034
|
+
path: r
|
|
643
1035
|
}) => {
|
|
644
|
-
const [a,
|
|
645
|
-
return
|
|
646
|
-
!a &&
|
|
647
|
-
}, [a, t,
|
|
648
|
-
},
|
|
1036
|
+
const [a, s] = mt(e), o = T(), i = K(o.pathname);
|
|
1037
|
+
return I(() => {
|
|
1038
|
+
!a && i.current !== o.pathname && s(ee(t, o.pathname, r)), i.current = o.pathname;
|
|
1039
|
+
}, [a, t, r, o.pathname]), [a, s];
|
|
1040
|
+
}, z = tt(
|
|
649
1041
|
"flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
|
|
650
1042
|
{
|
|
651
1043
|
variants: {
|
|
@@ -659,46 +1051,46 @@ const Nt = I("Sun", [
|
|
|
659
1051
|
}
|
|
660
1052
|
}
|
|
661
1053
|
}
|
|
662
|
-
),
|
|
1054
|
+
), jr = "data-anchor", ze = ({
|
|
663
1055
|
category: t,
|
|
664
1056
|
item: e,
|
|
665
|
-
activeAnchor:
|
|
1057
|
+
activeAnchor: r,
|
|
666
1058
|
currentTopNavItem: a,
|
|
667
|
-
basePath:
|
|
1059
|
+
basePath: s = ""
|
|
668
1060
|
}) => {
|
|
669
|
-
const o =
|
|
1061
|
+
const o = X(e) ? De(s, e.path) : "", i = T(), [c, u] = Be({
|
|
670
1062
|
item: e,
|
|
671
1063
|
path: o,
|
|
672
|
-
defaultOpen: () =>
|
|
1064
|
+
defaultOpen: () => ee(e, i.pathname, o)
|
|
673
1065
|
});
|
|
674
|
-
if (
|
|
675
|
-
const
|
|
1066
|
+
if (Dt(e)) {
|
|
1067
|
+
const p = F(
|
|
676
1068
|
"flex items-center gap-2",
|
|
677
|
-
|
|
678
|
-
isActive: e.href ===
|
|
1069
|
+
z({
|
|
1070
|
+
isActive: e.href === i.pathname
|
|
679
1071
|
})
|
|
680
1072
|
);
|
|
681
1073
|
return e.href.startsWith("http") ? /* @__PURE__ */ n.jsxs(
|
|
682
1074
|
"a",
|
|
683
1075
|
{
|
|
684
|
-
className:
|
|
1076
|
+
className: p,
|
|
685
1077
|
href: e.href,
|
|
686
1078
|
target: "_blank",
|
|
687
1079
|
rel: "noopener noreferrer",
|
|
688
1080
|
children: [
|
|
689
1081
|
e.label,
|
|
690
|
-
/* @__PURE__ */ n.jsx(
|
|
1082
|
+
/* @__PURE__ */ n.jsx(_t, { size: 14 })
|
|
691
1083
|
]
|
|
692
1084
|
}
|
|
693
|
-
) : /* @__PURE__ */ n.jsx(
|
|
1085
|
+
) : /* @__PURE__ */ n.jsx(J, { className: p, to: e.href, children: e.label });
|
|
694
1086
|
}
|
|
695
|
-
const
|
|
1087
|
+
const f = /* @__PURE__ */ n.jsxs("div", { className: "flex justify-between w-full", children: [
|
|
696
1088
|
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-2 truncate w-full", children: [
|
|
697
1089
|
e.icon,
|
|
698
1090
|
typeof e.label != "string" ? e.label : /* @__PURE__ */ n.jsx("span", { className: "truncate", children: e.label })
|
|
699
1091
|
] }),
|
|
700
1092
|
e.children && /* @__PURE__ */ n.jsx(
|
|
701
|
-
|
|
1093
|
+
_e,
|
|
702
1094
|
{
|
|
703
1095
|
size: 16,
|
|
704
1096
|
className: "transition shrink-0 group-data-[state=open]:rotate-90"
|
|
@@ -706,79 +1098,79 @@ const Nt = I("Sun", [
|
|
|
706
1098
|
)
|
|
707
1099
|
] });
|
|
708
1100
|
return /* @__PURE__ */ n.jsx("li", { title: typeof e.label == "string" ? e.label : e.title, children: e.children ? /* @__PURE__ */ n.jsxs(
|
|
709
|
-
|
|
1101
|
+
Re,
|
|
710
1102
|
{
|
|
711
|
-
open:
|
|
712
|
-
onOpenChange: () =>
|
|
1103
|
+
open: c,
|
|
1104
|
+
onOpenChange: () => u((p) => !p),
|
|
713
1105
|
className: "flex flex-col",
|
|
714
1106
|
children: [
|
|
715
1107
|
/* @__PURE__ */ n.jsx(
|
|
716
|
-
|
|
1108
|
+
ke,
|
|
717
1109
|
{
|
|
718
|
-
className:
|
|
1110
|
+
className: F(
|
|
719
1111
|
"group text-start",
|
|
720
|
-
|
|
1112
|
+
z({ isActive: !1 })
|
|
721
1113
|
),
|
|
722
|
-
children:
|
|
1114
|
+
children: f
|
|
723
1115
|
}
|
|
724
1116
|
),
|
|
725
|
-
/* @__PURE__ */ n.jsx(
|
|
726
|
-
|
|
1117
|
+
/* @__PURE__ */ n.jsx(Me, { className: "CollapsibleContent ms-[calc(var(--padding-nav-item)*1.125)]", children: /* @__PURE__ */ n.jsx("ul", { className: "mt-1 border-border border-l ps-1.5", children: e.children.map((p) => /* @__PURE__ */ n.jsx(
|
|
1118
|
+
ze,
|
|
727
1119
|
{
|
|
728
1120
|
category: t,
|
|
729
|
-
item:
|
|
730
|
-
activeAnchor:
|
|
1121
|
+
item: p,
|
|
1122
|
+
activeAnchor: r,
|
|
731
1123
|
currentTopNavItem: a,
|
|
732
1124
|
basePath: o
|
|
733
1125
|
},
|
|
734
|
-
|
|
1126
|
+
X(p) ? p.path : p.href
|
|
735
1127
|
)) }) })
|
|
736
1128
|
]
|
|
737
1129
|
}
|
|
738
1130
|
) : e.path.startsWith("#") ? /* @__PURE__ */ n.jsx(
|
|
739
|
-
|
|
1131
|
+
ct,
|
|
740
1132
|
{
|
|
741
1133
|
to: e.path,
|
|
742
|
-
[
|
|
743
|
-
className:
|
|
744
|
-
isActive: e.path.slice(1) ===
|
|
1134
|
+
[jr]: e.path,
|
|
1135
|
+
className: z({
|
|
1136
|
+
isActive: e.path.slice(1) === r,
|
|
745
1137
|
isMuted: e.muted
|
|
746
1138
|
}),
|
|
747
|
-
children:
|
|
1139
|
+
children: f
|
|
748
1140
|
}
|
|
749
1141
|
) : /* @__PURE__ */ n.jsx(
|
|
750
|
-
|
|
1142
|
+
J,
|
|
751
1143
|
{
|
|
752
|
-
className: ({ isActive:
|
|
1144
|
+
className: ({ isActive: p }) => z({ isActive: p }),
|
|
753
1145
|
to: o,
|
|
754
|
-
children:
|
|
1146
|
+
children: f
|
|
755
1147
|
}
|
|
756
1148
|
) });
|
|
757
|
-
},
|
|
1149
|
+
}, Sr = ({
|
|
758
1150
|
category: t
|
|
759
1151
|
}) => {
|
|
760
|
-
const { activeAnchor: e } = W(),
|
|
1152
|
+
const { activeAnchor: e } = W(), r = Ot(), a = T(), s = t.collapsible ?? !0, [o, i] = Be({
|
|
761
1153
|
item: t,
|
|
762
|
-
path: (
|
|
763
|
-
defaultOpen: () => !
|
|
1154
|
+
path: (r == null ? void 0 : r.path) ?? "",
|
|
1155
|
+
defaultOpen: () => !s || t.expanded || ee(t, a.pathname, (r == null ? void 0 : r.path) ?? "")
|
|
764
1156
|
});
|
|
765
1157
|
return /* @__PURE__ */ n.jsxs(
|
|
766
|
-
|
|
1158
|
+
Re,
|
|
767
1159
|
{
|
|
768
1160
|
open: o,
|
|
769
|
-
onOpenChange: () =>
|
|
1161
|
+
onOpenChange: () => i((c) => !c),
|
|
770
1162
|
children: [
|
|
771
|
-
t.label.length > 0 ? /* @__PURE__ */ n.jsx(
|
|
1163
|
+
t.label.length > 0 ? /* @__PURE__ */ n.jsx(ke, { asChild: s, disabled: !s, children: /* @__PURE__ */ n.jsxs(
|
|
772
1164
|
"h5",
|
|
773
1165
|
{
|
|
774
|
-
className:
|
|
1166
|
+
className: F(
|
|
775
1167
|
"flex group items-center justify-between cursor-pointer font-semibold text-foreground/90 px-[--padding-nav-item] py-1.5 rounded-lg transition-colors duration-300 -mx-[--padding-nav-item]",
|
|
776
|
-
|
|
1168
|
+
s ? "hover:bg-accent" : "cursor-auto"
|
|
777
1169
|
),
|
|
778
1170
|
children: [
|
|
779
1171
|
t.label,
|
|
780
|
-
|
|
781
|
-
|
|
1172
|
+
s && /* @__PURE__ */ n.jsx(
|
|
1173
|
+
_e,
|
|
782
1174
|
{
|
|
783
1175
|
className: "group-data-[state=open]:rotate-90 transition",
|
|
784
1176
|
size: 16
|
|
@@ -787,123 +1179,88 @@ const Nt = I("Sun", [
|
|
|
787
1179
|
]
|
|
788
1180
|
}
|
|
789
1181
|
) }) : "Endpoints",
|
|
790
|
-
/* @__PURE__ */ n.jsx(
|
|
791
|
-
|
|
1182
|
+
/* @__PURE__ */ n.jsx(Me, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((c) => /* @__PURE__ */ n.jsx(
|
|
1183
|
+
ze,
|
|
792
1184
|
{
|
|
793
1185
|
category: t,
|
|
794
|
-
item:
|
|
1186
|
+
item: c,
|
|
795
1187
|
activeAnchor: e,
|
|
796
|
-
currentTopNavItem:
|
|
797
|
-
basePath:
|
|
1188
|
+
currentTopNavItem: r,
|
|
1189
|
+
basePath: De(r == null ? void 0 : r.path, t.path)
|
|
798
1190
|
},
|
|
799
|
-
|
|
1191
|
+
X(c) ? c.path + c.label : c.href
|
|
800
1192
|
)) }) })
|
|
801
1193
|
]
|
|
802
1194
|
},
|
|
803
1195
|
t.label
|
|
804
1196
|
);
|
|
805
|
-
},
|
|
1197
|
+
}, Nr = gt(function({ children: e, className: r, pushMainContent: a }, s) {
|
|
806
1198
|
return /* @__PURE__ */ n.jsx(
|
|
807
1199
|
"nav",
|
|
808
1200
|
{
|
|
809
1201
|
"data-navigation": String(a),
|
|
810
|
-
className:
|
|
1202
|
+
className: F(
|
|
811
1203
|
"peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 p-[--padding-nav-item] -mx-[--padding-nav-item] pb-20 pt-[--padding-content-top] w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
|
|
812
|
-
|
|
1204
|
+
r
|
|
813
1205
|
),
|
|
814
|
-
ref:
|
|
1206
|
+
ref: s,
|
|
815
1207
|
children: e
|
|
816
1208
|
}
|
|
817
1209
|
);
|
|
818
|
-
}),
|
|
819
|
-
const t = K(null), e =
|
|
1210
|
+
}), Cr = () => {
|
|
1211
|
+
const t = K(null), e = At();
|
|
820
1212
|
return /* @__PURE__ */ n.jsx(
|
|
821
|
-
|
|
1213
|
+
Nr,
|
|
822
1214
|
{
|
|
823
1215
|
ref: t,
|
|
824
1216
|
pushMainContent: e.data.items.length > 0,
|
|
825
|
-
children: e.data.items.map((
|
|
1217
|
+
children: e.data.items.map((r) => /* @__PURE__ */ n.jsx(Sr, { category: r }, r.label))
|
|
826
1218
|
}
|
|
827
1219
|
);
|
|
828
|
-
},
|
|
829
|
-
const e =
|
|
830
|
-
|
|
831
|
-
const
|
|
832
|
-
return
|
|
833
|
-
e.pathname !==
|
|
834
|
-
}, [e.pathname,
|
|
835
|
-
/* @__PURE__ */ n.jsxs(
|
|
836
|
-
/* @__PURE__ */ n.jsx("title", { children: "Home" }),
|
|
1220
|
+
}, Or = ({ children: t }) => {
|
|
1221
|
+
const e = T(), { setActiveAnchor: r } = W(), { meta: a } = Z();
|
|
1222
|
+
Er(), Pr();
|
|
1223
|
+
const s = K(e.pathname);
|
|
1224
|
+
return I(() => {
|
|
1225
|
+
e.pathname !== s.current && r(""), s.current = e.pathname;
|
|
1226
|
+
}, [e.pathname, r]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1227
|
+
/* @__PURE__ */ n.jsxs(je, { titleTemplate: a == null ? void 0 : a.title, children: [
|
|
837
1228
|
(a == null ? void 0 : a.description) && /* @__PURE__ */ n.jsx("meta", { name: "description", content: a.description }),
|
|
838
1229
|
(a == null ? void 0 : a.favicon) && /* @__PURE__ */ n.jsx("link", { rel: "icon", href: a.favicon })
|
|
839
1230
|
] }),
|
|
840
|
-
/* @__PURE__ */ n.jsx(
|
|
1231
|
+
/* @__PURE__ */ n.jsx(qe, {}),
|
|
841
1232
|
/* @__PURE__ */ n.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ n.jsxs(
|
|
842
|
-
|
|
1233
|
+
vt,
|
|
843
1234
|
{
|
|
844
|
-
fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(
|
|
1235
|
+
fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(Mt, {}) }),
|
|
845
1236
|
children: [
|
|
846
|
-
/* @__PURE__ */ n.jsx(
|
|
1237
|
+
/* @__PURE__ */ n.jsx(Cr, {}),
|
|
847
1238
|
/* @__PURE__ */ n.jsx(
|
|
848
1239
|
"main",
|
|
849
1240
|
{
|
|
850
|
-
className:
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
1241
|
+
className: F(
|
|
1242
|
+
"dark:border-white/10 translate-x-0 h-full",
|
|
1243
|
+
"lg:overflow-visible",
|
|
1244
|
+
"lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]",
|
|
1245
|
+
"lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
|
|
1246
|
+
),
|
|
1247
|
+
children: t ?? /* @__PURE__ */ n.jsx(ot, {})
|
|
855
1248
|
}
|
|
856
1249
|
)
|
|
857
1250
|
]
|
|
858
1251
|
}
|
|
859
1252
|
) })
|
|
860
1253
|
] });
|
|
861
|
-
};
|
|
862
|
-
function It({ plugins: t }) {
|
|
863
|
-
const e = L(() => {
|
|
864
|
-
const s = (t ?? []).flatMap(
|
|
865
|
-
(a) => we(a) ? a.getRoutes() : []
|
|
866
|
-
);
|
|
867
|
-
return Ze([
|
|
868
|
-
{
|
|
869
|
-
path: "/",
|
|
870
|
-
element: /* @__PURE__ */ n.jsx(ue, {}),
|
|
871
|
-
errorElement: /* @__PURE__ */ n.jsx(ue, { children: /* @__PURE__ */ n.jsx("div", { className: "h-[75vh] flex items-center justify-center", children: "Error, look at the console" }) }),
|
|
872
|
-
children: s
|
|
873
|
-
}
|
|
874
|
-
]);
|
|
875
|
-
}, [t]);
|
|
876
|
-
return /* @__PURE__ */ n.jsx(et, { router: e });
|
|
877
|
-
}
|
|
878
|
-
const St = (t) => {
|
|
879
|
-
const e = L(
|
|
880
|
-
() => ({ ...Ce, ...t.overrides }),
|
|
881
|
-
[t.overrides]
|
|
882
|
-
), s = L(
|
|
883
|
-
() => ({ ...tt, ...t.mdxComponents }),
|
|
884
|
-
[t.mdxComponents]
|
|
885
|
-
), a = L(() => new bt(t), [t]);
|
|
886
|
-
return S(() => {
|
|
887
|
-
a.initialize();
|
|
888
|
-
}, [a]), /* @__PURE__ */ n.jsx(st, { client: Ne, children: /* @__PURE__ */ n.jsx(at, { children: /* @__PURE__ */ n.jsx(nt, { value: a, children: /* @__PURE__ */ n.jsx(rt, { components: s, children: /* @__PURE__ */ n.jsx(it, { children: /* @__PURE__ */ n.jsx(Ct, { value: e, children: /* @__PURE__ */ n.jsx(ot, { children: /* @__PURE__ */ n.jsx(
|
|
889
|
-
Pe,
|
|
890
|
-
{
|
|
891
|
-
fallback: /* @__PURE__ */ n.jsx("div", { className: "grid place-items-center h-full", children: "Loading..." }),
|
|
892
|
-
children: /* @__PURE__ */ n.jsx(
|
|
893
|
-
It,
|
|
894
|
-
{
|
|
895
|
-
plugins: [
|
|
896
|
-
...t.plugins ?? [],
|
|
897
|
-
...t.authentication ? [t.authentication] : []
|
|
898
|
-
]
|
|
899
|
-
}
|
|
900
|
-
)
|
|
901
|
-
}
|
|
902
|
-
) }) }) }) }) }) }) });
|
|
903
|
-
}, Et = je(St);
|
|
904
|
-
Et.displayName = "DevPortal";
|
|
1254
|
+
}, Br = ut, zr = rt, Ur = Le, Kr = Or, $r = at, Vr = nt, Yr = Qt, Jr = er, Xr = tr;
|
|
905
1255
|
export {
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
1256
|
+
Jr as Bootstrap,
|
|
1257
|
+
Xr as BootstrapStatic,
|
|
1258
|
+
zr as Callout,
|
|
1259
|
+
Ur as DevPortal,
|
|
1260
|
+
Kr as Layout,
|
|
1261
|
+
$r as Link,
|
|
1262
|
+
Vr as RouterError,
|
|
1263
|
+
Yr as ServerError,
|
|
1264
|
+
Br as useMDXComponents
|
|
909
1265
|
};
|
|
1266
|
+
//# sourceMappingURL=zudoku.components.js.map
|