zudoku 0.0.0-fix-firebase-export.f8270825 → 0.0.0-fix-warnings.z053d4e27
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/main.d.ts +6 -6
- package/dist/cli/common/version-check.js +12 -3
- package/dist/cli/common/version-check.js.map +1 -1
- package/dist/config/loader.js +3 -1
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.d.ts +121 -119
- package/dist/config/validators/InputNavigationSchema.js +1 -0
- package/dist/config/validators/InputNavigationSchema.js.map +1 -1
- package/dist/config/validators/NavigationSchema.js +6 -1
- package/dist/config/validators/NavigationSchema.js.map +1 -1
- package/dist/config/validators/ProtectedRoutesSchema.d.ts +1 -1
- package/dist/config/validators/validate.d.ts +60 -13
- package/dist/config/validators/validate.js +7 -4
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/flat-config.d.ts +28 -26
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/auth/issuer.js +1 -1
- package/dist/lib/auth/issuer.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +3 -2
- package/dist/lib/authentication/components/CallbackHandler.js +1 -1
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/SignIn.js +4 -2
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignUp.js +4 -2
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- package/dist/lib/authentication/hook.d.ts +2 -0
- package/dist/lib/authentication/hook.js +10 -0
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +11 -7
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +0 -22
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/firebase.js +67 -9
- package/dist/lib/authentication/providers/firebase.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.js +6 -15
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/authentication/ui/EmailVerificationUi.d.ts +4 -0
- package/dist/lib/authentication/ui/EmailVerificationUi.js +34 -0
- package/dist/lib/authentication/ui/EmailVerificationUi.js.map +1 -0
- package/dist/lib/authentication/ui/ZudokuAuthUi.d.ts +7 -2
- package/dist/lib/authentication/ui/ZudokuAuthUi.js +43 -11
- package/dist/lib/authentication/ui/ZudokuAuthUi.js.map +1 -1
- package/dist/lib/authentication/utils/relativeRedirectUrl.d.ts +1 -0
- package/dist/lib/authentication/utils/relativeRedirectUrl.js +8 -0
- package/dist/lib/authentication/utils/relativeRedirectUrl.js.map +1 -0
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/Pagination.js +2 -2
- package/dist/lib/components/Pagination.js.map +1 -1
- package/dist/lib/components/index.d.ts +18 -69
- package/dist/lib/components/index.js +19 -32
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/NavigationItem.js +2 -2
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
- package/dist/lib/core/RouteGuard.js +12 -7
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +11 -1
- package/dist/lib/core/plugins.js +1 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/core/react-query.d.ts +1 -0
- package/dist/lib/core/react-query.js +2 -0
- package/dist/lib/core/react-query.js.map +1 -0
- package/dist/lib/core/transform-config.d.ts +2 -0
- package/dist/lib/core/transform-config.js +22 -0
- package/dist/lib/core/transform-config.js.map +1 -0
- package/dist/lib/errors/ErrorMessage.d.ts +3 -0
- package/dist/lib/errors/ErrorMessage.js +16 -0
- package/dist/lib/errors/ErrorMessage.js.map +1 -0
- package/dist/lib/hooks/index.d.ts +7 -28
- package/dist/lib/hooks/index.js +7 -15
- package/dist/lib/hooks/index.js.map +1 -1
- package/dist/lib/oas/graphql/circular.d.ts +2 -0
- package/dist/lib/oas/graphql/circular.js +32 -10
- package/dist/lib/oas/graphql/circular.js.map +1 -1
- package/dist/lib/oas/graphql/circular.test.d.ts +1 -0
- package/dist/lib/oas/graphql/circular.test.js +152 -0
- package/dist/lib/oas/graphql/circular.test.js.map +1 -0
- package/dist/lib/oas/graphql/index.js +7 -3
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/index.js +14 -5
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +9 -172
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +11 -4
- package/dist/lib/plugins/api-keys/index.js +36 -22
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/settings/ApiKeyItem.d.ts +12 -0
- package/dist/lib/plugins/api-keys/settings/ApiKeyItem.js +133 -0
- package/dist/lib/plugins/api-keys/settings/ApiKeyItem.js.map +1 -0
- package/dist/lib/plugins/api-keys/settings/ApiKeyList.d.ts +4 -0
- package/dist/lib/plugins/api-keys/settings/ApiKeyList.js +33 -0
- package/dist/lib/plugins/api-keys/settings/ApiKeyList.js.map +1 -0
- package/dist/lib/plugins/api-keys/settings/RevealApiKey.d.ts +6 -0
- package/dist/lib/plugins/api-keys/settings/RevealApiKey.js +39 -0
- package/dist/lib/plugins/api-keys/settings/RevealApiKey.js.map +1 -0
- package/dist/lib/plugins/openapi/OasProvider.js +6 -2
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +4 -4
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.js +1 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +3 -2
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +3 -0
- package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.js +11 -3
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js +24 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.d.ts +3 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js +2 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/ui/Button.js +1 -1
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +3 -3
- package/dist/lib/util/flattenAllOf.d.ts +0 -2
- package/dist/lib/util/flattenAllOf.js +0 -46
- package/dist/lib/util/flattenAllOf.js.map +1 -1
- package/dist/lib/util/flattenAllOf.test.js +2 -1
- package/dist/lib/util/flattenAllOf.test.js.map +1 -1
- package/dist/lib/util/flattenAllOfProcessor.d.ts +2 -0
- package/dist/lib/util/flattenAllOfProcessor.js +48 -0
- package/dist/lib/util/flattenAllOfProcessor.js.map +1 -0
- package/dist/lib/util/invariant.d.ts +1 -1
- package/dist/lib/util/invariant.js +2 -2
- package/dist/lib/util/invariant.js.map +1 -1
- package/dist/lib/util/readFrontmatter.js +2 -1
- package/dist/lib/util/readFrontmatter.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +12 -1
- package/dist/vite/api/SchemaManager.js +32 -15
- package/dist/vite/api/SchemaManager.js.map +1 -1
- package/dist/vite/api/SchemaManager.test.js +45 -1
- package/dist/vite/api/SchemaManager.test.js.map +1 -1
- package/dist/vite/build.js +91 -73
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.js +10 -4
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/error-handler.js +1 -5
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/mdx/remark-inject-filepath.js +5 -1
- package/dist/vite/mdx/remark-inject-filepath.js.map +1 -1
- package/dist/vite/mdx/remark-link-rewrite.js +4 -3
- package/dist/vite/mdx/remark-link-rewrite.js.map +1 -1
- package/dist/vite/plugin-api-keys.js +5 -1
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.js +5 -3
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-docs.js +9 -7
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-markdown-export.js +5 -3
- package/dist/vite/plugin-markdown-export.js.map +1 -1
- package/dist/vite/prerender/utils.js +9 -3
- package/dist/vite/prerender/utils.js.map +1 -1
- package/dist/vite/prerender/worker.js +3 -0
- package/dist/vite/prerender/worker.js.map +1 -1
- package/dist/vite/zuplo.d.ts +13 -0
- package/dist/vite/zuplo.js +15 -0
- package/dist/vite/zuplo.js.map +1 -0
- package/lib/{ActionButton-DUgvSylL.js → ActionButton-B0CXL1Lq.js} +3 -3
- package/lib/{ActionButton-DUgvSylL.js.map → ActionButton-B0CXL1Lq.js.map} +1 -1
- package/lib/{Button-CynVW1JV.js → Button-GUVe7pmt.js} +8 -7
- package/lib/{Button-CynVW1JV.js.map → Button-GUVe7pmt.js.map} +1 -1
- package/lib/{Card-KFniaZn5.js → Card-DCdq37aA.js} +2 -2
- package/lib/{Card-KFniaZn5.js.map → Card-DCdq37aA.js.map} +1 -1
- package/lib/{ClaudeLogo-B4Xxt-x_.js → ClaudeLogo-C6q-Xn_l.js} +21 -17
- package/lib/ClaudeLogo-C6q-Xn_l.js.map +1 -0
- package/lib/{Command-BpT1iBE6.js → Command-N6VujV30.js} +3 -3
- package/lib/{Command-BpT1iBE6.js.map → Command-N6VujV30.js.map} +1 -1
- package/lib/{Dialog-BQciPiHN.js → Dialog-hlvmmQ_c.js} +2 -2
- package/lib/{Dialog-BQciPiHN.js.map → Dialog-hlvmmQ_c.js.map} +1 -1
- package/lib/{Drawer-Ci7XwhqT.js → Drawer-Ch7927PF.js} +7 -7
- package/lib/{Drawer-Ci7XwhqT.js.map → Drawer-Ch7927PF.js.map} +1 -1
- package/lib/{DropdownMenu-C8SX_-S_.js → DropdownMenu-DN0jNrjj.js} +2 -2
- package/lib/{DropdownMenu-C8SX_-S_.js.map → DropdownMenu-DN0jNrjj.js.map} +1 -1
- package/lib/Frame-DKlOmSkU.js +205 -0
- package/lib/Frame-DKlOmSkU.js.map +1 -0
- package/lib/HydrationBoundary-CNF2ZV3E.js +601 -0
- package/lib/HydrationBoundary-CNF2ZV3E.js.map +1 -0
- package/lib/{IndexingDialog-B5zCiUKr.js → IndexingDialog-D0YdGfbn.js} +3 -3
- package/lib/{IndexingDialog-B5zCiUKr.js.map → IndexingDialog-D0YdGfbn.js.map} +1 -1
- package/lib/Input-Cx-GeKoF.js +22 -0
- package/lib/Input-Cx-GeKoF.js.map +1 -0
- package/lib/{MdxPage-BagO2c-n.js → MdxPage-B1G4W1TK.js} +11 -11
- package/lib/{MdxPage-BagO2c-n.js.map → MdxPage-B1G4W1TK.js.map} +1 -1
- package/lib/{Mermaid-D_VSX7_Q.js → Mermaid-B1xNo-pf.js} +5 -4
- package/lib/{Mermaid-D_VSX7_Q.js.map → Mermaid-B1xNo-pf.js.map} +1 -1
- package/lib/{OAuthErrorPage-Fq54RLgt.js → OAuthErrorPage-01Ke086W.js} +25 -23
- package/lib/OAuthErrorPage-01Ke086W.js.map +1 -0
- package/lib/OasProvider-BG-FWDIq.js +48 -0
- package/lib/OasProvider-BG-FWDIq.js.map +1 -0
- package/lib/{OperationList-C0jiEaG5.js → OperationList-GGkJ1vac.js} +1983 -1965
- package/lib/OperationList-GGkJ1vac.js.map +1 -0
- package/lib/RouteGuard-B1lCR0C_.js +77 -0
- package/lib/RouteGuard-B1lCR0C_.js.map +1 -0
- package/lib/{SchemaList-BU0zCHn9.js → SchemaList-CNVdC9f-.js} +9 -9
- package/lib/{SchemaList-BU0zCHn9.js.map → SchemaList-CNVdC9f-.js.map} +1 -1
- package/lib/SchemaView-CrV0yIwR.js +438 -0
- package/lib/SchemaView-CrV0yIwR.js.map +1 -0
- package/lib/{Select-CkxXP5I7.js → Secret-BDBqq4p3.js} +122 -122
- package/lib/Secret-BDBqq4p3.js.map +1 -0
- package/lib/{Separator-CTPSeW1S.js → Separator-BXt1LYnm.js} +2 -2
- package/lib/{Separator-CTPSeW1S.js.map → Separator-BXt1LYnm.js.map} +1 -1
- package/lib/SignUp-8kDBaLbO.js +55 -0
- package/lib/SignUp-8kDBaLbO.js.map +1 -0
- package/lib/{SyntaxHighlight-Kdyskw3C.js → SyntaxHighlight-hZOFnYl0.js} +1749 -1723
- package/lib/SyntaxHighlight-hZOFnYl0.js.map +1 -0
- package/lib/{Toc-DJxFPfcS.js → Toc-qEIii_-W.js} +3 -3
- package/lib/{Toc-DJxFPfcS.js.map → Toc-qEIii_-W.js.map} +1 -1
- package/lib/{ErrorAlert-DrOR8w3f.js → Zudoku-DUsdmPME.js} +5449 -4427
- package/lib/Zudoku-DUsdmPME.js.map +1 -0
- package/lib/ZudokuContext-BBI06sOx.js +387 -0
- package/lib/ZudokuContext-BBI06sOx.js.map +1 -0
- package/lib/chunk-EPOLDU6W-C6C8jAwd.js +8558 -0
- package/lib/chunk-EPOLDU6W-C6C8jAwd.js.map +1 -0
- package/lib/{circular-CzWF1hj5.js → circular-bbWO95zs.js} +771 -749
- package/lib/{circular-CzWF1hj5.js.map → circular-bbWO95zs.js.map} +1 -1
- package/lib/{cn-dYga0KKN.js → cn-5-Gd1Dss.js} +531 -498
- package/lib/cn-5-Gd1Dss.js.map +1 -0
- package/lib/createServer-B7POuwZp.js +13036 -0
- package/lib/createServer-B7POuwZp.js.map +1 -0
- package/lib/createVariantComponent-Dc0vtOvr.js +18 -0
- package/lib/createVariantComponent-Dc0vtOvr.js.map +1 -0
- package/lib/{errors-Bs4duWDy.js → errors-7hgPDs1h.js} +3 -3
- package/lib/{errors-Bs4duWDy.js.map → errors-7hgPDs1h.js.map} +1 -1
- package/lib/{firebase-qUdSEL1p.js → firebase-Dwn-2ju-.js} +1590 -1342
- package/lib/firebase-Dwn-2ju-.js.map +1 -0
- package/lib/hook-ZEd1Es7D.js +52 -0
- package/lib/hook-ZEd1Es7D.js.map +1 -0
- package/lib/{index-0oT9beQN.js → index-CTCT4jlW.js} +499 -493
- package/lib/{index-0oT9beQN.js.map → index-CTCT4jlW.js.map} +1 -1
- package/lib/index-CrcNWbel.js.map +1 -1
- package/lib/index-DAWHN3cH.js +86 -0
- package/lib/index-DAWHN3cH.js.map +1 -0
- package/lib/{index-Bh-MffiL.js → index-Dxdhrp-I.js} +2 -2
- package/lib/{index-Bh-MffiL.js.map → index-Dxdhrp-I.js.map} +1 -1
- package/lib/index.esm-BYObtETB.js.map +1 -1
- package/lib/{index.esm-DtzT_KoE.js → index.esm-Ca5zvoff.js} +20 -20
- package/lib/{index.esm-DtzT_KoE.js.map → index.esm-Ca5zvoff.js.map} +1 -1
- package/lib/{index.esm-kW-Utcsi.js → index.esm-DG4KaDKR.js} +16 -14
- package/lib/index.esm-DG4KaDKR.js.map +1 -0
- package/lib/{invariant-CGOLuIIz.js → invariant-B_t_F2s_.js} +6 -6
- package/lib/invariant-B_t_F2s_.js.map +1 -0
- package/lib/jsx-runtime-BzflLqGi.js.map +1 -1
- package/lib/{mutation-BoVlx8yA.js → mutation-BISOc7OM.js} +70 -44
- package/lib/mutation-BISOc7OM.js.map +1 -0
- package/lib/ui/Accordion.js +1 -1
- package/lib/ui/ActionButton.js +2 -2
- package/lib/ui/Alert.js +1 -1
- package/lib/ui/AlertDialog.js +1 -1
- package/lib/ui/Badge.js +1 -1
- package/lib/ui/Breadcrumb.js +1 -1
- package/lib/ui/Button.js +7 -6
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/ButtonGroup.js +1 -1
- package/lib/ui/Callout.js +1 -1
- package/lib/ui/Card.js +1 -1
- package/lib/ui/Carousel.js +1 -1
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +1 -1
- package/lib/ui/CodeBlock.js +1 -1
- package/lib/ui/Command.js +2 -2
- package/lib/ui/Dialog.js +1 -1
- package/lib/ui/Drawer.js +3 -3
- package/lib/ui/DropdownMenu.js +1 -1
- package/lib/ui/EmbeddedCodeBlock.js +1 -1
- package/lib/ui/Form.js +1 -1
- package/lib/ui/Frame.js +1 -1
- package/lib/ui/HoverCard.js +1 -1
- package/lib/ui/Input.js +1 -1
- package/lib/ui/Item.js +1 -1
- package/lib/ui/Label.js +1 -1
- package/lib/ui/NativeSelect.js +1 -1
- package/lib/ui/Pagination.js +1 -1
- package/lib/ui/Popover.js +1 -1
- package/lib/ui/Progress.js +1 -1
- package/lib/ui/RadioGroup.js +1 -1
- package/lib/ui/ScrollArea.js +1 -1
- package/lib/ui/Secret.js +1 -1
- package/lib/ui/Separator.js +1 -1
- package/lib/ui/Skeleton.js +1 -1
- package/lib/ui/Slider.js +1 -1
- package/lib/ui/Switch.js +1 -1
- package/lib/ui/SyntaxHighlight.js +3 -3
- package/lib/ui/Tabs.js +1 -1
- package/lib/ui/Textarea.js +1 -1
- package/lib/ui/Toggle.js +1 -1
- package/lib/ui/ToggleGroup.js +1 -1
- package/lib/ui/Value.js +1 -1
- package/lib/ui/util.js +1 -1
- package/lib/useExposedProps-CzTDfXfq.js +30 -0
- package/lib/useExposedProps-CzTDfXfq.js.map +1 -0
- package/lib/{useMutation-C6RqWmTS.js → useMutation-CFMGlAMW.js} +39 -17
- package/lib/useMutation-CFMGlAMW.js.map +1 -0
- package/lib/useSuspenseQuery-CSB_rVek.js +1226 -0
- package/lib/useSuspenseQuery-CSB_rVek.js.map +1 -0
- package/lib/zudoku.__internal.js +827 -1325
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-auth0.js +16 -16
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +4 -4
- package/lib/zudoku.auth-clerk.js +52 -75
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-firebase.js +6 -5
- package/lib/zudoku.auth-firebase.js.map +1 -1
- package/lib/zudoku.auth-openid.js +5 -5
- package/lib/zudoku.auth-supabase.js +31 -40
- package/lib/zudoku.auth-supabase.js.map +1 -1
- package/lib/zudoku.components.js +29 -25
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +24 -11
- package/lib/zudoku.hooks.js.map +1 -1
- package/lib/zudoku.mermaid.js +5 -4
- package/lib/zudoku.mermaid.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +35 -31
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +607 -551
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +3 -3
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +30 -29
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.plugins.js +9 -8
- package/lib/zudoku.plugins.js.map +1 -1
- package/lib/zudoku.react-query.js +440 -0
- package/lib/zudoku.react-query.js.map +1 -0
- package/lib/zudoku.router.js +1130 -1404
- package/lib/zudoku.router.js.map +1 -1
- package/package.json +30 -22
- package/src/lib/auth/issuer.ts +1 -1
- package/src/lib/authentication/authentication.ts +8 -2
- package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
- package/src/lib/authentication/components/SignIn.tsx +5 -2
- package/src/lib/authentication/components/SignUp.tsx +5 -2
- package/src/lib/authentication/hook.ts +16 -0
- package/src/lib/authentication/providers/auth0.tsx +15 -9
- package/src/lib/authentication/providers/clerk.tsx +0 -26
- package/src/lib/authentication/providers/firebase.tsx +98 -6
- package/src/lib/authentication/providers/supabase.tsx +6 -15
- package/src/lib/authentication/ui/EmailVerificationUi.tsx +129 -0
- package/src/lib/authentication/ui/ZudokuAuthUi.tsx +170 -38
- package/src/lib/authentication/utils/relativeRedirectUrl.ts +12 -0
- package/src/lib/components/Pagination.tsx +4 -5
- package/src/lib/components/index.ts +19 -35
- package/src/lib/components/navigation/NavigationItem.tsx +9 -3
- package/src/lib/core/RouteGuard.tsx +30 -24
- package/src/lib/core/plugins.ts +21 -1
- package/src/lib/core/react-query.ts +1 -0
- package/src/lib/core/transform-config.ts +29 -0
- package/src/lib/errors/ErrorMessage.tsx +38 -0
- package/src/lib/hooks/index.ts +7 -16
- package/src/lib/oas/graphql/circular.test.ts +186 -0
- package/src/lib/oas/graphql/circular.ts +49 -10
- package/src/lib/oas/graphql/index.ts +7 -3
- package/src/lib/oas/parser/index.ts +17 -6
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +36 -476
- package/src/lib/plugins/api-keys/index.tsx +76 -32
- package/src/lib/plugins/api-keys/settings/ApiKeyItem.tsx +342 -0
- package/src/lib/plugins/api-keys/settings/ApiKeyList.tsx +67 -0
- package/src/lib/plugins/api-keys/settings/RevealApiKey.tsx +124 -0
- package/src/lib/plugins/openapi/OasProvider.tsx +10 -2
- package/src/lib/plugins/openapi/OperationList.tsx +4 -4
- package/src/lib/plugins/openapi/ParamInfos.tsx +1 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +3 -2
- package/src/lib/plugins/openapi/interfaces.ts +6 -1
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +6 -4
- package/src/lib/plugins/openapi/schema/utils.ts +15 -4
- package/src/lib/plugins/openapi/util/createHttpSnippet.ts +29 -1
- package/src/lib/plugins/openapi/util/getRoutes.tsx +4 -1
- package/src/lib/ui/Button.tsx +1 -0
- package/src/lib/util/flattenAllOf.test.ts +2 -1
- package/src/lib/util/flattenAllOf.ts +0 -57
- package/src/lib/util/flattenAllOfProcessor.ts +58 -0
- package/src/lib/util/invariant.ts +2 -1
- package/src/lib/util/readFrontmatter.ts +2 -1
- package/src/shiki/langs/c3.js +1 -0
- package/src/shiki/langs/gn.js +1 -0
- package/src/shiki/langs/moonbit.js +1 -0
- package/src/zuplo/enrich-with-zuplo-mcp.ts +168 -0
- package/src/zuplo/enrich-with-zuplo.ts +254 -0
- package/src/zuplo/policy-types.ts +46 -0
- package/src/zuplo/with-zuplo-processors.ts +35 -0
- package/src/zuplo/with-zuplo.ts +14 -0
- package/lib/ClaudeLogo-B4Xxt-x_.js.map +0 -1
- package/lib/ErrorAlert-DrOR8w3f.js.map +0 -1
- package/lib/OAuthErrorPage-Fq54RLgt.js.map +0 -1
- package/lib/OasProvider-DPH8mwDa.js +0 -40
- package/lib/OasProvider-DPH8mwDa.js.map +0 -1
- package/lib/OperationList-C0jiEaG5.js.map +0 -1
- package/lib/RouteGuard-9wjejsKm.js +0 -77
- package/lib/RouteGuard-9wjejsKm.js.map +0 -1
- package/lib/RouterError-DSLXagd5.js +0 -42
- package/lib/RouterError-DSLXagd5.js.map +0 -1
- package/lib/SchemaView-DVae4RO2.js +0 -597
- package/lib/SchemaView-DVae4RO2.js.map +0 -1
- package/lib/Select-CkxXP5I7.js.map +0 -1
- package/lib/SignUp-BjS4ozA7.js +0 -50
- package/lib/SignUp-BjS4ozA7.js.map +0 -1
- package/lib/SyntaxHighlight-Kdyskw3C.js.map +0 -1
- package/lib/ZudokuContext-BXldanA8.js +0 -1508
- package/lib/ZudokuContext-BXldanA8.js.map +0 -1
- package/lib/___vite-browser-external_commonjs-proxy-Cga3HsWk.js +0 -9
- package/lib/___vite-browser-external_commonjs-proxy-Cga3HsWk.js.map +0 -1
- package/lib/chunk-PVWAREVJ-dLIqswPy.js +0 -7965
- package/lib/chunk-PVWAREVJ-dLIqswPy.js.map +0 -1
- package/lib/cn-dYga0KKN.js.map +0 -1
- package/lib/createServer-BIr2_tGn.js +0 -16693
- package/lib/createServer-BIr2_tGn.js.map +0 -1
- package/lib/createVariantComponent-B9_dVBvu.js +0 -35
- package/lib/createVariantComponent-B9_dVBvu.js.map +0 -1
- package/lib/firebase-qUdSEL1p.js.map +0 -1
- package/lib/hook-BNxidGQq.js +0 -40
- package/lib/hook-BNxidGQq.js.map +0 -1
- package/lib/index-CCmMJp02.js +0 -1059
- package/lib/index-CCmMJp02.js.map +0 -1
- package/lib/index-Css56y3F.js +0 -133
- package/lib/index-Css56y3F.js.map +0 -1
- package/lib/index.esm-kW-Utcsi.js.map +0 -1
- package/lib/invariant-CGOLuIIz.js.map +0 -1
- package/lib/mutation-BoVlx8yA.js.map +0 -1
- package/lib/useMutation-C6RqWmTS.js.map +0 -1
|
@@ -1,48 +1,51 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
-
import { ChevronsDownUpIcon as
|
|
3
|
-
import { r as
|
|
4
|
-
import { Button as
|
|
5
|
-
import {
|
|
6
|
-
import { Z as
|
|
2
|
+
import { ChevronsDownUpIcon as On, ChevronsUpDownIcon as Ln, PlusCircleIcon as Je, XIcon as It, CheckIcon as Dt, PaperclipIcon as me, TrashIcon as En, FileInput as kn, ScanTextIcon as yt, Grid2x2PlusIcon as vt, ChevronDownIcon as Rn, TableOfContentsIcon as In, LockIcon as Dn, CircleAlertIcon as Fn, Circle as zn, Unlink2Icon as Vn, CornerDownRightIcon as Bn, MinusCircleIcon as bt, CornerDownLeftIcon as _n, SquareCodeIcon as qn, DownloadIcon as Mn, EyeOffIcon as Un, EyeIcon as Gn, UnplugIcon as Hn, SendIcon as Qn, CopyIcon as Jn, IdCardLanyardIcon as Wn, ShapesIcon as Xn, PlayIcon as Kn, CirclePlayIcon as Zn } from "lucide-react";
|
|
3
|
+
import { r as Yn, d as es, a as ts, N as ns, aL as ss, m as jt } from "./chunk-EPOLDU6W-C6C8jAwd.js";
|
|
4
|
+
import { Button as K } from "./ui/Button.js";
|
|
5
|
+
import { f as Ze, p as Ye, g as Ft, s as rs, h as as, j as V } from "./ZudokuContext-BBI06sOx.js";
|
|
6
|
+
import { Z as os } from "./invariant-B_t_F2s_.js";
|
|
7
7
|
import * as xe from "react";
|
|
8
|
-
import { createContext as
|
|
9
|
-
import { VisuallyHidden as
|
|
10
|
-
import { z as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { u as
|
|
8
|
+
import { createContext as zt, use as is, useRef as E, useEffect as G, useMemo as Vt, useCallback as D, startTransition as ls, useState as k, Fragment as le, useLayoutEffect as cs, useTransition as ds, useContext as us } from "react";
|
|
9
|
+
import { VisuallyHidden as ms } from "@radix-ui/react-visually-hidden";
|
|
10
|
+
import { z as ps } from "./index-DAWHN3cH.js";
|
|
11
|
+
import { u as hs } from "./hook-ZEd1Es7D.js";
|
|
12
|
+
import { B as q } from "./Button-GUVe7pmt.js";
|
|
13
|
+
import { D as et, a as tt, c as nt, d as Bt, e as _t, g as fs } from "./Dialog-hlvmmQ_c.js";
|
|
14
|
+
import { j as Ct, k as Nt, l as St, c as gs, m as xs, g as ys } from "./Zudoku-DUsdmPME.js";
|
|
15
|
+
import { u as vs } from "./useMutation-CFMGlAMW.js";
|
|
16
|
+
import { u as oe, b as qt, C as wt, a as bs, F as js } from "./index.esm-BYObtETB.js";
|
|
16
17
|
import * as st from "@radix-ui/react-collapsible";
|
|
17
|
-
import { S as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { u as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { c as ye
|
|
18
|
+
import { S as Mt, a as Ut, b as Gt, c as Ht, e as Te, g as Cs } from "./Secret-BDBqq4p3.js";
|
|
19
|
+
import { c as w } from "./cn-5-Gd1Dss.js";
|
|
20
|
+
import { u as Ns } from "./useCopyToClipboard-B_085nfO.js";
|
|
21
|
+
import { u as Ss } from "./useLatest-hmRS46UF.js";
|
|
22
|
+
import { D as Qt, a as Jt, b as Wt, d as ws, e as Ts, f as As, c as Ae } from "./DropdownMenu-DN0jNrjj.js";
|
|
23
|
+
import { I as $s } from "./Input-Cx-GeKoF.js";
|
|
24
|
+
import { c as ye } from "./createVariantComponent-Dc0vtOvr.js";
|
|
24
25
|
import * as Tt from "@radix-ui/react-checkbox";
|
|
25
26
|
import * as $e from "@radix-ui/react-popover";
|
|
26
|
-
import { PopoverAnchor as
|
|
27
|
-
import { P as
|
|
28
|
-
import { f as
|
|
29
|
-
import { C as
|
|
27
|
+
import { PopoverAnchor as Ps } from "@radix-ui/react-popover";
|
|
28
|
+
import { P as Os } from "./index-CrcNWbel.js";
|
|
29
|
+
import { f as Ls, g as Es, C as ks, b as Rs } from "./Command-N6VujV30.js";
|
|
30
|
+
import { C as Is } from "./Card-DCdq37aA.js";
|
|
30
31
|
import * as Xt from "@radix-ui/react-label";
|
|
31
|
-
import { c as
|
|
32
|
+
import { c as Ds } from "./index-DI5SPFK9.js";
|
|
32
33
|
import * as he from "@radix-ui/react-radio-group";
|
|
33
|
-
import {
|
|
34
|
+
import { S as Fs } from "./Spinner-CI6bRyZw.js";
|
|
35
|
+
import { A as zs, a as Vs, b as Bs } from "./Mermaid-B1xNo-pf.js";
|
|
36
|
+
import { e as _s, u as qs } from "./useSuspenseQuery-CSB_rVek.js";
|
|
34
37
|
let _e;
|
|
35
|
-
const
|
|
38
|
+
const Ms = (e) => {
|
|
36
39
|
if (e.errors?.[0])
|
|
37
|
-
throw new
|
|
40
|
+
throw new os(e.errors[0].message, {
|
|
38
41
|
developerHint: "Check your configuration value `apis.type` and `apis.input` in the Zudoku config."
|
|
39
42
|
});
|
|
40
43
|
};
|
|
41
|
-
class
|
|
44
|
+
class Us {
|
|
42
45
|
constructor(n) {
|
|
43
46
|
this.config = n;
|
|
44
47
|
}
|
|
45
|
-
#e = async () => (_e || (_e = import("./createServer-
|
|
48
|
+
#e = async () => (_e || (_e = import("./createServer-B7POuwZp.js").then(
|
|
46
49
|
(n) => n.createServer(this.config)
|
|
47
50
|
)), _e);
|
|
48
51
|
#t = async (n) => this.config.server ? fetch(this.config.server, n) : (await this.#e()).fetch("http://localhost/graphql", n);
|
|
@@ -55,27 +58,27 @@ class Gs {
|
|
|
55
58
|
if (!r.ok)
|
|
56
59
|
throw new Error("Network response was not ok");
|
|
57
60
|
const o = await r.json();
|
|
58
|
-
return
|
|
61
|
+
return Ms(o), o.data;
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
function qe(e, n) {
|
|
62
65
|
if (!!!e)
|
|
63
66
|
throw new Error(n);
|
|
64
67
|
}
|
|
65
|
-
function
|
|
68
|
+
function Gs(e) {
|
|
66
69
|
return typeof e == "object" && e !== null;
|
|
67
70
|
}
|
|
68
|
-
function
|
|
71
|
+
function Hs(e, n) {
|
|
69
72
|
if (!!!e)
|
|
70
73
|
throw new Error(
|
|
71
74
|
n ?? "Unexpected invariant triggered."
|
|
72
75
|
);
|
|
73
76
|
}
|
|
74
|
-
const
|
|
77
|
+
const Qs = /\r\n|[\n\r]/g;
|
|
75
78
|
function We(e, n) {
|
|
76
79
|
let s = 0, a = 1;
|
|
77
|
-
for (const r of e.body.matchAll(
|
|
78
|
-
if (typeof r.index == "number" ||
|
|
80
|
+
for (const r of e.body.matchAll(Qs)) {
|
|
81
|
+
if (typeof r.index == "number" || Hs(!1), r.index >= n)
|
|
79
82
|
break;
|
|
80
83
|
s = r.index + r[0].length, a += 1;
|
|
81
84
|
}
|
|
@@ -84,13 +87,13 @@ function We(e, n) {
|
|
|
84
87
|
column: n + 1 - s
|
|
85
88
|
};
|
|
86
89
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
90
|
+
function Js(e) {
|
|
91
|
+
return Kt(
|
|
89
92
|
e.source,
|
|
90
93
|
We(e.source, e.start)
|
|
91
94
|
);
|
|
92
95
|
}
|
|
93
|
-
function
|
|
96
|
+
function Kt(e, n) {
|
|
94
97
|
const s = e.locationOffset.column - 1, a = "".padStart(s) + e.body, r = n.line - 1, o = e.locationOffset.line - 1, i = n.line + o, c = n.line === 1 ? s : 0, l = n.column + c, m = `${e.name}:${i}:${l}
|
|
95
98
|
`, d = a.split(/\r\n|[\n\r]/g), f = d[r];
|
|
96
99
|
if (f.length > 120) {
|
|
@@ -117,7 +120,7 @@ function At(e) {
|
|
|
117
120
|
return n.map(([a, r]) => a.padStart(s) + (r ? " " + r : "")).join(`
|
|
118
121
|
`);
|
|
119
122
|
}
|
|
120
|
-
function
|
|
123
|
+
function Ws(e) {
|
|
121
124
|
const n = e[0];
|
|
122
125
|
return n == null || "kind" in n || "length" in n ? {
|
|
123
126
|
nodes: n,
|
|
@@ -169,7 +172,7 @@ class rt extends Error {
|
|
|
169
172
|
*/
|
|
170
173
|
constructor(n, ...s) {
|
|
171
174
|
var a, r, o;
|
|
172
|
-
const { nodes: i, source: c, positions: l, path: m, originalError: d, extensions: f } =
|
|
175
|
+
const { nodes: i, source: c, positions: l, path: m, originalError: d, extensions: f } = Ws(s);
|
|
173
176
|
super(n), this.name = "GraphQLError", this.path = m ?? void 0, this.originalError = d ?? void 0, this.nodes = $t(
|
|
174
177
|
Array.isArray(i) ? i : i ? [i] : void 0
|
|
175
178
|
);
|
|
@@ -177,7 +180,7 @@ class rt extends Error {
|
|
|
177
180
|
(a = this.nodes) === null || a === void 0 ? void 0 : a.map((v) => v.loc).filter((v) => v != null)
|
|
178
181
|
);
|
|
179
182
|
this.source = c ?? (x == null || (r = x[0]) === null || r === void 0 ? void 0 : r.source), this.positions = l ?? x?.map((v) => v.start), this.locations = l && c ? l.map((v) => We(c, v)) : x?.map((v) => We(v.source, v.start));
|
|
180
|
-
const h =
|
|
183
|
+
const h = Gs(
|
|
181
184
|
d?.extensions
|
|
182
185
|
) ? d?.extensions : void 0;
|
|
183
186
|
this.extensions = (o = f ?? h) !== null && o !== void 0 ? o : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, {
|
|
@@ -219,12 +222,12 @@ class rt extends Error {
|
|
|
219
222
|
for (const s of this.nodes)
|
|
220
223
|
s.loc && (n += `
|
|
221
224
|
|
|
222
|
-
` +
|
|
225
|
+
` + Js(s.loc));
|
|
223
226
|
else if (this.source && this.locations)
|
|
224
227
|
for (const s of this.locations)
|
|
225
228
|
n += `
|
|
226
229
|
|
|
227
|
-
` +
|
|
230
|
+
` + Kt(this.source, s);
|
|
228
231
|
return n;
|
|
229
232
|
}
|
|
230
233
|
toJSON() {
|
|
@@ -243,7 +246,7 @@ function F(e, n, s) {
|
|
|
243
246
|
positions: [n]
|
|
244
247
|
});
|
|
245
248
|
}
|
|
246
|
-
class
|
|
249
|
+
class Za {
|
|
247
250
|
/**
|
|
248
251
|
* The character offset at which this Node begins.
|
|
249
252
|
*/
|
|
@@ -272,7 +275,7 @@ class Ka {
|
|
|
272
275
|
};
|
|
273
276
|
}
|
|
274
277
|
}
|
|
275
|
-
class
|
|
278
|
+
class Zt {
|
|
276
279
|
/**
|
|
277
280
|
* The kind of Token.
|
|
278
281
|
*/
|
|
@@ -401,37 +404,37 @@ const Xs = {
|
|
|
401
404
|
ArgumentCoordinate: ["name", "fieldName", "argumentName"],
|
|
402
405
|
DirectiveCoordinate: ["name"],
|
|
403
406
|
DirectiveArgumentCoordinate: ["name", "argumentName"]
|
|
404
|
-
},
|
|
405
|
-
function
|
|
407
|
+
}, Ks = new Set(Object.keys(Xs));
|
|
408
|
+
function Ya(e) {
|
|
406
409
|
const n = e?.kind;
|
|
407
|
-
return typeof n == "string" &&
|
|
410
|
+
return typeof n == "string" && Ks.has(n);
|
|
408
411
|
}
|
|
409
412
|
var Pt;
|
|
410
413
|
(function(e) {
|
|
411
414
|
e.QUERY = "query", e.MUTATION = "mutation", e.SUBSCRIPTION = "subscription";
|
|
412
415
|
})(Pt || (Pt = {}));
|
|
413
|
-
function
|
|
416
|
+
function Xe(e) {
|
|
414
417
|
return e === 9 || e === 32;
|
|
415
418
|
}
|
|
416
419
|
function fe(e) {
|
|
417
420
|
return e >= 48 && e <= 57;
|
|
418
421
|
}
|
|
419
|
-
function
|
|
422
|
+
function Yt(e) {
|
|
420
423
|
return e >= 97 && e <= 122 || // A-Z
|
|
421
424
|
e >= 65 && e <= 90;
|
|
422
425
|
}
|
|
423
|
-
function
|
|
424
|
-
return
|
|
426
|
+
function en(e) {
|
|
427
|
+
return Yt(e) || e === 95;
|
|
425
428
|
}
|
|
426
|
-
function
|
|
427
|
-
return
|
|
429
|
+
function Zs(e) {
|
|
430
|
+
return Yt(e) || fe(e) || e === 95;
|
|
428
431
|
}
|
|
429
|
-
function
|
|
432
|
+
function Ys(e) {
|
|
430
433
|
var n;
|
|
431
434
|
let s = Number.MAX_SAFE_INTEGER, a = null, r = -1;
|
|
432
435
|
for (let i = 0; i < e.length; ++i) {
|
|
433
436
|
var o;
|
|
434
|
-
const c = e[i], l =
|
|
437
|
+
const c = e[i], l = er(c);
|
|
435
438
|
l !== c.length && (a = (o = a) !== null && o !== void 0 ? o : i, r = i, i !== 0 && l < s && (s = l));
|
|
436
439
|
}
|
|
437
440
|
return e.map((i, c) => c === 0 ? i : i.slice(s)).slice(
|
|
@@ -439,17 +442,17 @@ function er(e) {
|
|
|
439
442
|
r + 1
|
|
440
443
|
);
|
|
441
444
|
}
|
|
442
|
-
function
|
|
445
|
+
function er(e) {
|
|
443
446
|
let n = 0;
|
|
444
|
-
for (; n < e.length &&
|
|
447
|
+
for (; n < e.length && Xe(e.charCodeAt(n)); )
|
|
445
448
|
++n;
|
|
446
449
|
return n;
|
|
447
450
|
}
|
|
448
|
-
function
|
|
449
|
-
const s = e.replace(/"""/g, '\\"""'), a = s.split(/\r\n|[\n\r]/g), r = a.length === 1, o = a.length > 1 && a.slice(1).every((h) => h.length === 0 ||
|
|
451
|
+
function tr(e, n) {
|
|
452
|
+
const s = e.replace(/"""/g, '\\"""'), a = s.split(/\r\n|[\n\r]/g), r = a.length === 1, o = a.length > 1 && a.slice(1).every((h) => h.length === 0 || Xe(h.charCodeAt(0))), i = s.endsWith('\\"""'), c = e.endsWith('"') && !i, l = e.endsWith("\\"), m = c || l, d = !(n != null && n.minimize) && // add leading and trailing new lines only if it improves readability
|
|
450
453
|
(!r || e.length > 70 || m || o || i);
|
|
451
454
|
let f = "";
|
|
452
|
-
const x = r &&
|
|
455
|
+
const x = r && Xe(e.charCodeAt(0));
|
|
453
456
|
return (d && !x || o) && (f += `
|
|
454
457
|
`), f += s, (d || m) && (f += `
|
|
455
458
|
`), '"""' + f + '"""';
|
|
@@ -458,7 +461,7 @@ var b;
|
|
|
458
461
|
(function(e) {
|
|
459
462
|
e.SOF = "<SOF>", e.EOF = "<EOF>", e.BANG = "!", e.DOLLAR = "$", e.AMP = "&", e.PAREN_L = "(", e.PAREN_R = ")", e.DOT = ".", e.SPREAD = "...", e.COLON = ":", e.EQUALS = "=", e.AT = "@", e.BRACKET_L = "[", e.BRACKET_R = "]", e.BRACE_L = "{", e.PIPE = "|", e.BRACE_R = "}", e.NAME = "Name", e.INT = "Int", e.FLOAT = "Float", e.STRING = "String", e.BLOCK_STRING = "BlockString", e.COMMENT = "Comment";
|
|
460
463
|
})(b || (b = {}));
|
|
461
|
-
class
|
|
464
|
+
class nr {
|
|
462
465
|
/**
|
|
463
466
|
* The previously focused non-ignored token.
|
|
464
467
|
*/
|
|
@@ -472,7 +475,7 @@ class sr {
|
|
|
472
475
|
* The character offset at which the current line begins.
|
|
473
476
|
*/
|
|
474
477
|
constructor(n) {
|
|
475
|
-
const s = new
|
|
478
|
+
const s = new Zt(b.SOF, 0, 0, 0, 0);
|
|
476
479
|
this.source = n, this.lastToken = s, this.token = s, this.line = 1, this.lineStart = 0;
|
|
477
480
|
}
|
|
478
481
|
get [Symbol.toStringTag]() {
|
|
@@ -495,29 +498,29 @@ class sr {
|
|
|
495
498
|
if (n.next)
|
|
496
499
|
n = n.next;
|
|
497
500
|
else {
|
|
498
|
-
const s =
|
|
501
|
+
const s = rr(this, n.end);
|
|
499
502
|
n.next = s, s.prev = n, n = s;
|
|
500
503
|
}
|
|
501
504
|
while (n.kind === b.COMMENT);
|
|
502
505
|
return n;
|
|
503
506
|
}
|
|
504
507
|
}
|
|
505
|
-
function
|
|
508
|
+
function sr(e) {
|
|
506
509
|
return e === b.BANG || e === b.DOLLAR || e === b.AMP || e === b.PAREN_L || e === b.PAREN_R || e === b.DOT || e === b.SPREAD || e === b.COLON || e === b.EQUALS || e === b.AT || e === b.BRACKET_L || e === b.BRACKET_R || e === b.BRACE_L || e === b.PIPE || e === b.BRACE_R;
|
|
507
510
|
}
|
|
508
|
-
function
|
|
511
|
+
function ie(e) {
|
|
509
512
|
return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
|
|
510
513
|
}
|
|
511
514
|
function Oe(e, n) {
|
|
512
|
-
return
|
|
515
|
+
return tn(e.charCodeAt(n)) && nn(e.charCodeAt(n + 1));
|
|
513
516
|
}
|
|
514
|
-
function
|
|
517
|
+
function tn(e) {
|
|
515
518
|
return e >= 55296 && e <= 56319;
|
|
516
519
|
}
|
|
517
|
-
function
|
|
520
|
+
function nn(e) {
|
|
518
521
|
return e >= 56320 && e <= 57343;
|
|
519
522
|
}
|
|
520
|
-
function
|
|
523
|
+
function Z(e, n) {
|
|
521
524
|
const s = e.source.body.codePointAt(n);
|
|
522
525
|
if (s === void 0)
|
|
523
526
|
return b.EOF;
|
|
@@ -529,9 +532,9 @@ function X(e, n) {
|
|
|
529
532
|
}
|
|
530
533
|
function P(e, n, s, a, r) {
|
|
531
534
|
const o = e.line, i = 1 + s - e.lineStart;
|
|
532
|
-
return new
|
|
535
|
+
return new Zt(n, s, a, o, i, r);
|
|
533
536
|
}
|
|
534
|
-
function
|
|
537
|
+
function rr(e, n) {
|
|
535
538
|
const s = e.source.body, a = s.length;
|
|
536
539
|
let r = n;
|
|
537
540
|
for (; r < a; ) {
|
|
@@ -572,7 +575,7 @@ function ar(e, n) {
|
|
|
572
575
|
continue;
|
|
573
576
|
// Comment
|
|
574
577
|
case 35:
|
|
575
|
-
return
|
|
578
|
+
return ar(e, r);
|
|
576
579
|
// Token ::
|
|
577
580
|
// - Punctuator
|
|
578
581
|
// - Name
|
|
@@ -613,28 +616,28 @@ function ar(e, n) {
|
|
|
613
616
|
return P(e, b.BRACE_R, r, r + 1);
|
|
614
617
|
// StringValue
|
|
615
618
|
case 34:
|
|
616
|
-
return s.charCodeAt(r + 1) === 34 && s.charCodeAt(r + 2) === 34 ?
|
|
619
|
+
return s.charCodeAt(r + 1) === 34 && s.charCodeAt(r + 2) === 34 ? ur(e, r) : ir(e, r);
|
|
617
620
|
}
|
|
618
621
|
if (fe(o) || o === 45)
|
|
619
|
-
return
|
|
620
|
-
if (
|
|
621
|
-
return
|
|
622
|
+
return or(e, r, o);
|
|
623
|
+
if (en(o))
|
|
624
|
+
return mr(e, r);
|
|
622
625
|
throw F(
|
|
623
626
|
e.source,
|
|
624
627
|
r,
|
|
625
|
-
o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` :
|
|
628
|
+
o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : ie(o) || Oe(s, r) ? `Unexpected character: ${Z(e, r)}.` : `Invalid character: ${Z(e, r)}.`
|
|
626
629
|
);
|
|
627
630
|
}
|
|
628
631
|
return P(e, b.EOF, a, a);
|
|
629
632
|
}
|
|
630
|
-
function
|
|
633
|
+
function ar(e, n) {
|
|
631
634
|
const s = e.source.body, a = s.length;
|
|
632
635
|
let r = n + 1;
|
|
633
636
|
for (; r < a; ) {
|
|
634
637
|
const o = s.charCodeAt(r);
|
|
635
638
|
if (o === 10 || o === 13)
|
|
636
639
|
break;
|
|
637
|
-
if (
|
|
640
|
+
if (ie(o))
|
|
638
641
|
++r;
|
|
639
642
|
else if (Oe(s, r))
|
|
640
643
|
r += 2;
|
|
@@ -649,7 +652,7 @@ function or(e, n) {
|
|
|
649
652
|
s.slice(n + 1, r)
|
|
650
653
|
);
|
|
651
654
|
}
|
|
652
|
-
function
|
|
655
|
+
function or(e, n, s) {
|
|
653
656
|
const a = e.source.body;
|
|
654
657
|
let r = n, o = s, i = !1;
|
|
655
658
|
if (o === 45 && (o = a.charCodeAt(++r)), o === 48) {
|
|
@@ -657,18 +660,18 @@ function ir(e, n, s) {
|
|
|
657
660
|
throw F(
|
|
658
661
|
e.source,
|
|
659
662
|
r,
|
|
660
|
-
`Invalid number, unexpected digit after 0: ${
|
|
663
|
+
`Invalid number, unexpected digit after 0: ${Z(
|
|
661
664
|
e,
|
|
662
665
|
r
|
|
663
666
|
)}.`
|
|
664
667
|
);
|
|
665
668
|
} else
|
|
666
669
|
r = Me(e, r, o), o = a.charCodeAt(r);
|
|
667
|
-
if (o === 46 && (i = !0, o = a.charCodeAt(++r), r = Me(e, r, o), o = a.charCodeAt(r)), (o === 69 || o === 101) && (i = !0, o = a.charCodeAt(++r), (o === 43 || o === 45) && (o = a.charCodeAt(++r)), r = Me(e, r, o), o = a.charCodeAt(r)), o === 46 ||
|
|
670
|
+
if (o === 46 && (i = !0, o = a.charCodeAt(++r), r = Me(e, r, o), o = a.charCodeAt(r)), (o === 69 || o === 101) && (i = !0, o = a.charCodeAt(++r), (o === 43 || o === 45) && (o = a.charCodeAt(++r)), r = Me(e, r, o), o = a.charCodeAt(r)), o === 46 || en(o))
|
|
668
671
|
throw F(
|
|
669
672
|
e.source,
|
|
670
673
|
r,
|
|
671
|
-
`Invalid number, expected digit but got: ${
|
|
674
|
+
`Invalid number, expected digit but got: ${Z(
|
|
672
675
|
e,
|
|
673
676
|
r
|
|
674
677
|
)}.`
|
|
@@ -686,7 +689,7 @@ function Me(e, n, s) {
|
|
|
686
689
|
throw F(
|
|
687
690
|
e.source,
|
|
688
691
|
n,
|
|
689
|
-
`Invalid number, expected digit but got: ${
|
|
692
|
+
`Invalid number, expected digit but got: ${Z(
|
|
690
693
|
e,
|
|
691
694
|
n
|
|
692
695
|
)}.`
|
|
@@ -697,7 +700,7 @@ function Me(e, n, s) {
|
|
|
697
700
|
++r;
|
|
698
701
|
return r;
|
|
699
702
|
}
|
|
700
|
-
function
|
|
703
|
+
function ir(e, n) {
|
|
701
704
|
const s = e.source.body, a = s.length;
|
|
702
705
|
let r = n + 1, o = r, i = "";
|
|
703
706
|
for (; r < a; ) {
|
|
@@ -706,13 +709,13 @@ function lr(e, n) {
|
|
|
706
709
|
return i += s.slice(o, r), P(e, b.STRING, n, r + 1, i);
|
|
707
710
|
if (c === 92) {
|
|
708
711
|
i += s.slice(o, r);
|
|
709
|
-
const l = s.charCodeAt(r + 1) === 117 ? s.charCodeAt(r + 2) === 123 ?
|
|
712
|
+
const l = s.charCodeAt(r + 1) === 117 ? s.charCodeAt(r + 2) === 123 ? lr(e, r) : cr(e, r) : dr(e, r);
|
|
710
713
|
i += l.value, r += l.size, o = r;
|
|
711
714
|
continue;
|
|
712
715
|
}
|
|
713
716
|
if (c === 10 || c === 13)
|
|
714
717
|
break;
|
|
715
|
-
if (
|
|
718
|
+
if (ie(c))
|
|
716
719
|
++r;
|
|
717
720
|
else if (Oe(s, r))
|
|
718
721
|
r += 2;
|
|
@@ -720,7 +723,7 @@ function lr(e, n) {
|
|
|
720
723
|
throw F(
|
|
721
724
|
e.source,
|
|
722
725
|
r,
|
|
723
|
-
`Invalid character within String: ${
|
|
726
|
+
`Invalid character within String: ${Z(
|
|
724
727
|
e,
|
|
725
728
|
r
|
|
726
729
|
)}.`
|
|
@@ -728,20 +731,20 @@ function lr(e, n) {
|
|
|
728
731
|
}
|
|
729
732
|
throw F(e.source, r, "Unterminated string.");
|
|
730
733
|
}
|
|
731
|
-
function
|
|
734
|
+
function lr(e, n) {
|
|
732
735
|
const s = e.source.body;
|
|
733
736
|
let a = 0, r = 3;
|
|
734
737
|
for (; r < 12; ) {
|
|
735
738
|
const o = s.charCodeAt(n + r++);
|
|
736
739
|
if (o === 125) {
|
|
737
|
-
if (r < 5 || !
|
|
740
|
+
if (r < 5 || !ie(a))
|
|
738
741
|
break;
|
|
739
742
|
return {
|
|
740
743
|
value: String.fromCodePoint(a),
|
|
741
744
|
size: r
|
|
742
745
|
};
|
|
743
746
|
}
|
|
744
|
-
if (a = a << 4 |
|
|
747
|
+
if (a = a << 4 | ce(o), a < 0)
|
|
745
748
|
break;
|
|
746
749
|
}
|
|
747
750
|
throw F(
|
|
@@ -753,16 +756,16 @@ function cr(e, n) {
|
|
|
753
756
|
)}".`
|
|
754
757
|
);
|
|
755
758
|
}
|
|
756
|
-
function
|
|
759
|
+
function cr(e, n) {
|
|
757
760
|
const s = e.source.body, a = Ot(s, n + 2);
|
|
758
|
-
if (
|
|
761
|
+
if (ie(a))
|
|
759
762
|
return {
|
|
760
763
|
value: String.fromCodePoint(a),
|
|
761
764
|
size: 6
|
|
762
765
|
};
|
|
763
|
-
if (
|
|
766
|
+
if (tn(a) && s.charCodeAt(n + 6) === 92 && s.charCodeAt(n + 7) === 117) {
|
|
764
767
|
const r = Ot(s, n + 8);
|
|
765
|
-
if (
|
|
768
|
+
if (nn(r))
|
|
766
769
|
return {
|
|
767
770
|
value: String.fromCodePoint(a, r),
|
|
768
771
|
size: 12
|
|
@@ -775,12 +778,12 @@ function dr(e, n) {
|
|
|
775
778
|
);
|
|
776
779
|
}
|
|
777
780
|
function Ot(e, n) {
|
|
778
|
-
return
|
|
781
|
+
return ce(e.charCodeAt(n)) << 12 | ce(e.charCodeAt(n + 1)) << 8 | ce(e.charCodeAt(n + 2)) << 4 | ce(e.charCodeAt(n + 3));
|
|
779
782
|
}
|
|
780
|
-
function
|
|
783
|
+
function ce(e) {
|
|
781
784
|
return e >= 48 && e <= 57 ? e - 48 : e >= 65 && e <= 70 ? e - 55 : e >= 97 && e <= 102 ? e - 87 : -1;
|
|
782
785
|
}
|
|
783
|
-
function
|
|
786
|
+
function dr(e, n) {
|
|
784
787
|
const s = e.source.body;
|
|
785
788
|
switch (s.charCodeAt(n + 1)) {
|
|
786
789
|
case 34:
|
|
@@ -834,7 +837,7 @@ function ur(e, n) {
|
|
|
834
837
|
)}".`
|
|
835
838
|
);
|
|
836
839
|
}
|
|
837
|
-
function
|
|
840
|
+
function ur(e, n) {
|
|
838
841
|
const s = e.source.body, a = s.length;
|
|
839
842
|
let r = e.lineStart, o = n + 3, i = o, c = "";
|
|
840
843
|
const l = [];
|
|
@@ -848,7 +851,7 @@ function mr(e, n) {
|
|
|
848
851
|
n,
|
|
849
852
|
o + 3,
|
|
850
853
|
// Return a string of the lines joined with U+000A.
|
|
851
|
-
|
|
854
|
+
Ys(l).join(`
|
|
852
855
|
`)
|
|
853
856
|
);
|
|
854
857
|
return e.line += l.length - 1, e.lineStart = r, d;
|
|
@@ -861,7 +864,7 @@ function mr(e, n) {
|
|
|
861
864
|
c += s.slice(i, o), l.push(c), m === 13 && s.charCodeAt(o + 1) === 10 ? o += 2 : ++o, c = "", i = o, r = o;
|
|
862
865
|
continue;
|
|
863
866
|
}
|
|
864
|
-
if (
|
|
867
|
+
if (ie(m))
|
|
865
868
|
++o;
|
|
866
869
|
else if (Oe(s, o))
|
|
867
870
|
o += 2;
|
|
@@ -869,7 +872,7 @@ function mr(e, n) {
|
|
|
869
872
|
throw F(
|
|
870
873
|
e.source,
|
|
871
874
|
o,
|
|
872
|
-
`Invalid character within String: ${
|
|
875
|
+
`Invalid character within String: ${Z(
|
|
873
876
|
e,
|
|
874
877
|
o
|
|
875
878
|
)}.`
|
|
@@ -877,12 +880,12 @@ function mr(e, n) {
|
|
|
877
880
|
}
|
|
878
881
|
throw F(e.source, o, "Unterminated string.");
|
|
879
882
|
}
|
|
880
|
-
function
|
|
883
|
+
function mr(e, n) {
|
|
881
884
|
const s = e.source.body, a = s.length;
|
|
882
885
|
let r = n + 1;
|
|
883
886
|
for (; r < a; ) {
|
|
884
887
|
const o = s.charCodeAt(r);
|
|
885
|
-
if (
|
|
888
|
+
if (Zs(o))
|
|
886
889
|
++r;
|
|
887
890
|
else
|
|
888
891
|
break;
|
|
@@ -895,8 +898,8 @@ function pr(e, n) {
|
|
|
895
898
|
s.slice(n, r)
|
|
896
899
|
);
|
|
897
900
|
}
|
|
898
|
-
const
|
|
899
|
-
function
|
|
901
|
+
const pr = 10, sn = 2;
|
|
902
|
+
function rn(e) {
|
|
900
903
|
return Le(e, []);
|
|
901
904
|
}
|
|
902
905
|
function Le(e, n) {
|
|
@@ -906,45 +909,45 @@ function Le(e, n) {
|
|
|
906
909
|
case "function":
|
|
907
910
|
return e.name ? `[function ${e.name}]` : "[function]";
|
|
908
911
|
case "object":
|
|
909
|
-
return
|
|
912
|
+
return hr(e, n);
|
|
910
913
|
default:
|
|
911
914
|
return String(e);
|
|
912
915
|
}
|
|
913
916
|
}
|
|
914
|
-
function
|
|
917
|
+
function hr(e, n) {
|
|
915
918
|
if (e === null)
|
|
916
919
|
return "null";
|
|
917
920
|
if (n.includes(e))
|
|
918
921
|
return "[Circular]";
|
|
919
922
|
const s = [...n, e];
|
|
920
|
-
if (
|
|
923
|
+
if (fr(e)) {
|
|
921
924
|
const a = e.toJSON();
|
|
922
925
|
if (a !== e)
|
|
923
926
|
return typeof a == "string" ? a : Le(a, s);
|
|
924
927
|
} else if (Array.isArray(e))
|
|
925
|
-
return
|
|
926
|
-
return
|
|
928
|
+
return xr(e, s);
|
|
929
|
+
return gr(e, s);
|
|
927
930
|
}
|
|
928
|
-
function
|
|
931
|
+
function fr(e) {
|
|
929
932
|
return typeof e.toJSON == "function";
|
|
930
933
|
}
|
|
931
|
-
function
|
|
934
|
+
function gr(e, n) {
|
|
932
935
|
const s = Object.entries(e);
|
|
933
|
-
return s.length === 0 ? "{}" : n.length >
|
|
936
|
+
return s.length === 0 ? "{}" : n.length > sn ? "[" + yr(e) + "]" : "{ " + s.map(
|
|
934
937
|
([r, o]) => r + ": " + Le(o, n)
|
|
935
938
|
).join(", ") + " }";
|
|
936
939
|
}
|
|
937
|
-
function
|
|
940
|
+
function xr(e, n) {
|
|
938
941
|
if (e.length === 0)
|
|
939
942
|
return "[]";
|
|
940
|
-
if (n.length >
|
|
943
|
+
if (n.length > sn)
|
|
941
944
|
return "[Array]";
|
|
942
|
-
const s = Math.min(
|
|
945
|
+
const s = Math.min(pr, e.length), a = e.length - s, r = [];
|
|
943
946
|
for (let o = 0; o < s; ++o)
|
|
944
947
|
r.push(Le(e[o], n));
|
|
945
948
|
return a === 1 ? r.push("... 1 more item") : a > 1 && r.push(`... ${a} more items`), "[" + r.join(", ") + "]";
|
|
946
949
|
}
|
|
947
|
-
function
|
|
950
|
+
function yr(e) {
|
|
948
951
|
const n = Object.prototype.toString.call(e).replace(/^\[object /, "").replace(/]$/, "");
|
|
949
952
|
if (n === "Object" && typeof e.constructor == "function") {
|
|
950
953
|
const s = e.constructor.name;
|
|
@@ -953,11 +956,11 @@ function vr(e) {
|
|
|
953
956
|
}
|
|
954
957
|
return n;
|
|
955
958
|
}
|
|
956
|
-
const
|
|
957
|
-
process.env.NODE_ENV === "production",
|
|
959
|
+
const vr = globalThis.process && // eslint-disable-next-line no-undef
|
|
960
|
+
process.env.NODE_ENV === "production", br = (
|
|
958
961
|
/* c8 ignore next 6 */
|
|
959
962
|
// FIXME: https://github.com/graphql/graphql-js/issues/2317
|
|
960
|
-
|
|
963
|
+
vr ? function(n, s) {
|
|
961
964
|
return n instanceof s;
|
|
962
965
|
} : function(n, s) {
|
|
963
966
|
if (n instanceof s)
|
|
@@ -969,7 +972,7 @@ process.env.NODE_ENV === "production", jr = (
|
|
|
969
972
|
Symbol.toStringTag in n ? n[Symbol.toStringTag] : (a = n.constructor) === null || a === void 0 ? void 0 : a.name
|
|
970
973
|
);
|
|
971
974
|
if (r === o) {
|
|
972
|
-
const i =
|
|
975
|
+
const i = rn(n);
|
|
973
976
|
throw new Error(`Cannot use ${r} "${i}" from another module or realm.
|
|
974
977
|
|
|
975
978
|
Ensure that there is only one instance of "graphql" in the node_modules
|
|
@@ -987,12 +990,12 @@ spurious results.`);
|
|
|
987
990
|
return !1;
|
|
988
991
|
}
|
|
989
992
|
);
|
|
990
|
-
class
|
|
993
|
+
class an {
|
|
991
994
|
constructor(n, s = "GraphQL request", a = {
|
|
992
995
|
line: 1,
|
|
993
996
|
column: 1
|
|
994
997
|
}) {
|
|
995
|
-
typeof n == "string" || qe(!1, `Body must be a string. Received: ${
|
|
998
|
+
typeof n == "string" || qe(!1, `Body must be a string. Received: ${rn(n)}.`), this.body = n, this.name = s, this.locationOffset = a, this.locationOffset.line > 0 || qe(
|
|
996
999
|
!1,
|
|
997
1000
|
"line in locationOffset is 1-indexed and must be positive."
|
|
998
1001
|
), this.locationOffset.column > 0 || qe(
|
|
@@ -1004,37 +1007,37 @@ class on {
|
|
|
1004
1007
|
return "Source";
|
|
1005
1008
|
}
|
|
1006
1009
|
}
|
|
1007
|
-
function
|
|
1008
|
-
return
|
|
1010
|
+
function jr(e) {
|
|
1011
|
+
return br(e, an);
|
|
1009
1012
|
}
|
|
1010
|
-
function
|
|
1011
|
-
const n =
|
|
1013
|
+
function Cr(e) {
|
|
1014
|
+
const n = jr(e) ? e : new an(e), s = n.body, a = new nr(n);
|
|
1012
1015
|
let r = "", o = !1;
|
|
1013
1016
|
for (; a.advance().kind !== b.EOF; ) {
|
|
1014
|
-
const i = a.token, c = i.kind, l = !
|
|
1017
|
+
const i = a.token, c = i.kind, l = !sr(i.kind);
|
|
1015
1018
|
o && (l || i.kind === b.SPREAD) && (r += " ");
|
|
1016
1019
|
const m = s.slice(i.start, i.end);
|
|
1017
|
-
c === b.BLOCK_STRING ? r +=
|
|
1020
|
+
c === b.BLOCK_STRING ? r += tr(i.value, {
|
|
1018
1021
|
minimize: !0
|
|
1019
1022
|
}) : r += m, o = l;
|
|
1020
1023
|
}
|
|
1021
1024
|
return r;
|
|
1022
1025
|
}
|
|
1023
|
-
const
|
|
1026
|
+
const on = zt(
|
|
1024
1027
|
void 0
|
|
1025
|
-
),
|
|
1028
|
+
), eo = ({
|
|
1026
1029
|
children: e,
|
|
1027
1030
|
client: n
|
|
1028
|
-
}) => /* @__PURE__ */ t.jsx(
|
|
1031
|
+
}) => /* @__PURE__ */ t.jsx(on.Provider, { value: n, children: e }), ln = (e, n, ...[s]) => ({
|
|
1029
1032
|
queryFn: () => e.fetch(n, s),
|
|
1030
|
-
queryKey: [
|
|
1031
|
-
}),
|
|
1032
|
-
const s =
|
|
1033
|
+
queryKey: [Cr(n.toString()), s]
|
|
1034
|
+
}), Nr = (e, ...[n]) => {
|
|
1035
|
+
const s = is(on);
|
|
1033
1036
|
if (s === void 0)
|
|
1034
1037
|
throw new Error("useGraphQL must be used within a GraphQLProvider");
|
|
1035
|
-
return
|
|
1038
|
+
return ln(s, e, ...n === void 0 ? [] : [n]);
|
|
1036
1039
|
};
|
|
1037
|
-
class
|
|
1040
|
+
class ee extends String {
|
|
1038
1041
|
__apiType;
|
|
1039
1042
|
value;
|
|
1040
1043
|
__meta__;
|
|
@@ -1045,7 +1048,7 @@ class Y extends String {
|
|
|
1045
1048
|
return this.value;
|
|
1046
1049
|
}
|
|
1047
1050
|
}
|
|
1048
|
-
const
|
|
1051
|
+
const Sr = new ee(
|
|
1049
1052
|
`
|
|
1050
1053
|
fragment OperationsFragment on OperationItem {
|
|
1051
1054
|
slug
|
|
@@ -1117,7 +1120,7 @@ const wr = new Y(
|
|
|
1117
1120
|
}
|
|
1118
1121
|
`,
|
|
1119
1122
|
{ fragmentName: "OperationsFragment" }
|
|
1120
|
-
),
|
|
1123
|
+
), wr = new ee(`
|
|
1121
1124
|
query ServersQuery($input: JSON!, $type: SchemaType!) {
|
|
1122
1125
|
schema(input: $input, type: $type) {
|
|
1123
1126
|
url
|
|
@@ -1126,13 +1129,13 @@ const wr = new Y(
|
|
|
1126
1129
|
}
|
|
1127
1130
|
}
|
|
1128
1131
|
}
|
|
1129
|
-
`),
|
|
1132
|
+
`), Tr = new ee(`
|
|
1130
1133
|
query SchemaWarmup($input: JSON!, $type: SchemaType!) {
|
|
1131
1134
|
schema(input: $input, type: $type) {
|
|
1132
1135
|
openapi
|
|
1133
1136
|
}
|
|
1134
1137
|
}
|
|
1135
|
-
`),
|
|
1138
|
+
`), Ar = new ee(`
|
|
1136
1139
|
query OperationsForTag($input: JSON!, $type: SchemaType!, $tag: String, $untagged: Boolean) {
|
|
1137
1140
|
schema(input: $input, type: $type) {
|
|
1138
1141
|
servers {
|
|
@@ -1231,7 +1234,7 @@ const wr = new Y(
|
|
|
1231
1234
|
schema
|
|
1232
1235
|
}
|
|
1233
1236
|
}
|
|
1234
|
-
}`),
|
|
1237
|
+
}`), $r = new ee(`
|
|
1235
1238
|
query GetSchemas($input: JSON!, $type: SchemaType!) {
|
|
1236
1239
|
schema(input: $input, type: $type) {
|
|
1237
1240
|
title
|
|
@@ -1246,7 +1249,7 @@ const wr = new Y(
|
|
|
1246
1249
|
}
|
|
1247
1250
|
}
|
|
1248
1251
|
}
|
|
1249
|
-
`),
|
|
1252
|
+
`), Pr = new ee(`
|
|
1250
1253
|
query getServerQuery($input: JSON!, $type: SchemaType!) {
|
|
1251
1254
|
schema(input: $input, type: $type) {
|
|
1252
1255
|
url
|
|
@@ -1255,7 +1258,7 @@ const wr = new Y(
|
|
|
1255
1258
|
}
|
|
1256
1259
|
}
|
|
1257
1260
|
}
|
|
1258
|
-
`),
|
|
1261
|
+
`), Or = new ee(`
|
|
1259
1262
|
query GetNavigationOperations($input: JSON!, $type: SchemaType!) {
|
|
1260
1263
|
schema(input: $input, type: $type) {
|
|
1261
1264
|
extensions
|
|
@@ -1278,24 +1281,24 @@ const wr = new Y(
|
|
|
1278
1281
|
}
|
|
1279
1282
|
}
|
|
1280
1283
|
}
|
|
1281
|
-
`),
|
|
1282
|
-
"\n query ServersQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n":
|
|
1283
|
-
"\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n deprecated\n extensions\n servers {\n url\n description\n }\n parameters {\n name\n in\n description\n required\n schema\n style\n explode\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n":
|
|
1284
|
-
"\n query SchemaWarmup($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n openapi\n }\n }\n":
|
|
1285
|
-
"\n query OperationsForTag(\n $input: JSON!\n $type: SchemaType!\n $tag: String\n $untagged: Boolean\n ) {\n schema(input: $input, type: $type) {\n servers {\n url\n }\n description\n summary\n title\n url\n version\n tag(slug: $tag, untagged: $untagged) {\n name\n description\n operations {\n slug\n ...OperationsFragment\n }\n extensions\n next {\n name\n slug\n extensions\n }\n prev {\n name\n slug\n extensions\n }\n }\n }\n }\n":
|
|
1286
|
-
"\n query GetSchemas($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n title\n description\n summary\n components {\n schemas {\n name\n schema\n extensions\n }\n }\n }\n }\n":
|
|
1287
|
-
"\n query getServerQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n":
|
|
1288
|
-
"\n query GetNavigationOperations($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n extensions\n tags {\n slug\n name\n extensions\n operations {\n summary\n slug\n method\n operationId\n path\n }\n }\n components {\n schemas {\n __typename\n }\n }\n }\n }\n":
|
|
1284
|
+
`), Lr = {
|
|
1285
|
+
"\n query ServersQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": wr,
|
|
1286
|
+
"\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n deprecated\n extensions\n servers {\n url\n description\n }\n parameters {\n name\n in\n description\n required\n schema\n style\n explode\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n": Sr,
|
|
1287
|
+
"\n query SchemaWarmup($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n openapi\n }\n }\n": Tr,
|
|
1288
|
+
"\n query OperationsForTag(\n $input: JSON!\n $type: SchemaType!\n $tag: String\n $untagged: Boolean\n ) {\n schema(input: $input, type: $type) {\n servers {\n url\n }\n description\n summary\n title\n url\n version\n tag(slug: $tag, untagged: $untagged) {\n name\n description\n operations {\n slug\n ...OperationsFragment\n }\n extensions\n next {\n name\n slug\n extensions\n }\n prev {\n name\n slug\n extensions\n }\n }\n }\n }\n": Ar,
|
|
1289
|
+
"\n query GetSchemas($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n title\n description\n summary\n components {\n schemas {\n name\n schema\n extensions\n }\n }\n }\n }\n": $r,
|
|
1290
|
+
"\n query getServerQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": Pr,
|
|
1291
|
+
"\n query GetNavigationOperations($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n extensions\n tags {\n slug\n name\n extensions\n operations {\n summary\n slug\n method\n operationId\n path\n }\n }\n components {\n schemas {\n __typename\n }\n }\n }\n }\n": Or
|
|
1289
1292
|
};
|
|
1290
1293
|
function Er(e) {
|
|
1291
|
-
return
|
|
1294
|
+
return Lr[e] ?? {};
|
|
1292
1295
|
}
|
|
1293
1296
|
function B({
|
|
1294
1297
|
...e
|
|
1295
1298
|
}) {
|
|
1296
1299
|
return /* @__PURE__ */ t.jsx(st.Root, { "data-slot": "collapsible", ...e });
|
|
1297
1300
|
}
|
|
1298
|
-
function
|
|
1301
|
+
function de({
|
|
1299
1302
|
...e
|
|
1300
1303
|
}) {
|
|
1301
1304
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -1317,7 +1320,7 @@ function _({
|
|
|
1317
1320
|
}
|
|
1318
1321
|
);
|
|
1319
1322
|
}
|
|
1320
|
-
function
|
|
1323
|
+
function kr() {
|
|
1321
1324
|
const n = navigator.userAgent.toLowerCase();
|
|
1322
1325
|
if (n.indexOf("win") !== -1)
|
|
1323
1326
|
return "windows";
|
|
@@ -1328,10 +1331,10 @@ function Rr() {
|
|
|
1328
1331
|
if (n.indexOf("x11") !== -1)
|
|
1329
1332
|
return "unix";
|
|
1330
1333
|
}
|
|
1331
|
-
function
|
|
1332
|
-
return
|
|
1334
|
+
function Rr() {
|
|
1335
|
+
return kr() === "apple";
|
|
1333
1336
|
}
|
|
1334
|
-
const
|
|
1337
|
+
const Ir = {
|
|
1335
1338
|
other: {
|
|
1336
1339
|
alt: "Alt",
|
|
1337
1340
|
meta: "Ctrl",
|
|
@@ -1346,8 +1349,8 @@ const Dr = {
|
|
|
1346
1349
|
shift: "⇧",
|
|
1347
1350
|
option: "⌥"
|
|
1348
1351
|
}
|
|
1349
|
-
},
|
|
1350
|
-
const s = e.toLowerCase().split("+"), a = s.includes("meta"), r = s.includes("shift"), o = s.includes("option") || s.includes("alt"), i = s.includes("ctrl"), c = e.split("+").pop(), l =
|
|
1352
|
+
}, Dr = (e, n) => {
|
|
1353
|
+
const s = e.toLowerCase().split("+"), a = s.includes("meta"), r = s.includes("shift"), o = s.includes("option") || s.includes("alt"), i = s.includes("ctrl"), c = e.split("+").pop(), l = E(n);
|
|
1351
1354
|
return G(() => {
|
|
1352
1355
|
l.current = n;
|
|
1353
1356
|
}, [n]), G(() => {
|
|
@@ -1360,10 +1363,10 @@ const Dr = {
|
|
|
1360
1363
|
}, [c, a, r, o, i]), {
|
|
1361
1364
|
trigger: () => l.current(),
|
|
1362
1365
|
label: s.map(
|
|
1363
|
-
(m) => m === "meta" || m === "ctrl" || m === "alt" || m === "shift" || m === "option" ?
|
|
1366
|
+
(m) => m === "meta" || m === "ctrl" || m === "alt" || m === "shift" || m === "option" ? Ir[Rr() ? "apple" : "other"][m] : m
|
|
1364
1367
|
)
|
|
1365
1368
|
};
|
|
1366
|
-
},
|
|
1369
|
+
}, Fr = Ze()(
|
|
1367
1370
|
Ye(
|
|
1368
1371
|
(e) => ({
|
|
1369
1372
|
selectedServer: void 0,
|
|
@@ -1371,13 +1374,13 @@ const Dr = {
|
|
|
1371
1374
|
}),
|
|
1372
1375
|
{ name: "zudoku-selected-server" }
|
|
1373
1376
|
)
|
|
1374
|
-
),
|
|
1375
|
-
const { selectedServer: n, setSelectedServer: s } =
|
|
1376
|
-
return { selectedServer:
|
|
1377
|
+
), zr = (e) => {
|
|
1378
|
+
const { selectedServer: n, setSelectedServer: s } = Fr();
|
|
1379
|
+
return { selectedServer: Vt(
|
|
1377
1380
|
() => n && e.some((r) => r.url === n) ? n : e.at(0)?.url ?? "",
|
|
1378
1381
|
[n, e]
|
|
1379
1382
|
), setSelectedServer: s };
|
|
1380
|
-
},
|
|
1383
|
+
}, cn = xe.forwardRef(
|
|
1381
1384
|
({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
|
|
1382
1385
|
"textarea",
|
|
1383
1386
|
{
|
|
@@ -1390,13 +1393,13 @@ const Dr = {
|
|
|
1390
1393
|
}
|
|
1391
1394
|
)
|
|
1392
1395
|
);
|
|
1393
|
-
|
|
1394
|
-
const
|
|
1396
|
+
cn.displayName = "Textarea";
|
|
1397
|
+
const Ee = (e = 0) => {
|
|
1395
1398
|
if (e === 0)
|
|
1396
1399
|
return "0 B";
|
|
1397
1400
|
const n = Math.floor(Math.log(e) / Math.log(1e3));
|
|
1398
1401
|
return `${(e / 1e3 ** n).toFixed(n ? 2 : 0)} ${n ? `${"kMGTPEZY"[n - 1]}B` : "B"}`;
|
|
1399
|
-
},
|
|
1402
|
+
}, Y = ({
|
|
1400
1403
|
children: e,
|
|
1401
1404
|
className: n
|
|
1402
1405
|
}) => /* @__PURE__ */ t.jsxs(
|
|
@@ -1409,7 +1412,7 @@ const ke = (e = 0) => {
|
|
|
1409
1412
|
children: [
|
|
1410
1413
|
e,
|
|
1411
1414
|
/* @__PURE__ */ t.jsxs(
|
|
1412
|
-
|
|
1415
|
+
de,
|
|
1413
1416
|
{
|
|
1414
1417
|
className: w(
|
|
1415
1418
|
"flex items-center gap-4 group bg-muted w-full p-2 hover:bg-accent hover:brightness-95 opacity-75 rounded-md",
|
|
@@ -1417,14 +1420,14 @@ const ke = (e = 0) => {
|
|
|
1417
1420
|
),
|
|
1418
1421
|
children: [
|
|
1419
1422
|
/* @__PURE__ */ t.jsx(
|
|
1420
|
-
|
|
1423
|
+
On,
|
|
1421
1424
|
{
|
|
1422
1425
|
className: "group-data-[state=closed]:hidden shrink-0",
|
|
1423
1426
|
size: 14
|
|
1424
1427
|
}
|
|
1425
1428
|
),
|
|
1426
1429
|
/* @__PURE__ */ t.jsx(
|
|
1427
|
-
|
|
1430
|
+
Ln,
|
|
1428
1431
|
{
|
|
1429
1432
|
className: "group-data-[state=open]:hidden shrink-0",
|
|
1430
1433
|
size: 14
|
|
@@ -1438,11 +1441,11 @@ const ke = (e = 0) => {
|
|
|
1438
1441
|
), H = ({
|
|
1439
1442
|
children: e,
|
|
1440
1443
|
className: n
|
|
1441
|
-
}) => /* @__PURE__ */ t.jsx("span", { className: w("font-semibold w-full text-start", n), children: e }),
|
|
1444
|
+
}) => /* @__PURE__ */ t.jsx("span", { className: w("font-semibold w-full text-start", n), children: e }), Vr = ({
|
|
1442
1445
|
examples: e,
|
|
1443
1446
|
onSelect: n
|
|
1444
|
-
}) => /* @__PURE__ */ t.jsxs(
|
|
1445
|
-
/* @__PURE__ */ t.jsx(
|
|
1447
|
+
}) => /* @__PURE__ */ t.jsxs(Qt, { children: [
|
|
1448
|
+
/* @__PURE__ */ t.jsx(Jt, { asChild: !0, children: /* @__PURE__ */ t.jsxs(
|
|
1446
1449
|
q,
|
|
1447
1450
|
{
|
|
1448
1451
|
variant: "ghost",
|
|
@@ -1454,10 +1457,10 @@ const ke = (e = 0) => {
|
|
|
1454
1457
|
]
|
|
1455
1458
|
}
|
|
1456
1459
|
) }),
|
|
1457
|
-
/* @__PURE__ */ t.jsx(
|
|
1458
|
-
/* @__PURE__ */ t.jsx(
|
|
1459
|
-
/* @__PURE__ */ t.jsx(
|
|
1460
|
-
/* @__PURE__ */ t.jsx(
|
|
1460
|
+
/* @__PURE__ */ t.jsx(Wt, { className: "max-w-72", children: e.map((s) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
1461
|
+
/* @__PURE__ */ t.jsx(ws, { children: s.mediaType }),
|
|
1462
|
+
/* @__PURE__ */ t.jsx(Ts, {}),
|
|
1463
|
+
/* @__PURE__ */ t.jsx(As, { children: s.examples?.map((a) => /* @__PURE__ */ t.jsx(
|
|
1461
1464
|
Ae,
|
|
1462
1465
|
{
|
|
1463
1466
|
onSelect: () => n(a, s.mediaType),
|
|
@@ -1473,20 +1476,20 @@ const ke = (e = 0) => {
|
|
|
1473
1476
|
a.name
|
|
1474
1477
|
)) })
|
|
1475
1478
|
] }, s.mediaType)) })
|
|
1476
|
-
] }),
|
|
1479
|
+
] }), ke = ye(
|
|
1477
1480
|
"div",
|
|
1478
1481
|
"grid grid-cols-[min-content_2fr_3fr] items-center gap-x-5 [&>*:last-child_[data-slot=remove-button]]:invisible"
|
|
1479
1482
|
), ge = ye(
|
|
1480
1483
|
"div",
|
|
1481
1484
|
"group h-9 hover:bg-accent/75 ps-4 pe-2 grid col-span-full grid-cols-subgrid items-center border-b"
|
|
1482
1485
|
), I = ye(
|
|
1483
|
-
|
|
1486
|
+
$s,
|
|
1484
1487
|
"w-full truncate border-0 p-0 m-0 shadow-none text-xs focus-visible:ring-0 font-mono"
|
|
1485
1488
|
), at = ({
|
|
1486
1489
|
onClick: e,
|
|
1487
1490
|
className: n
|
|
1488
1491
|
}) => /* @__PURE__ */ t.jsx(
|
|
1489
|
-
|
|
1492
|
+
K,
|
|
1490
1493
|
{
|
|
1491
1494
|
size: "icon-xs",
|
|
1492
1495
|
variant: "ghost",
|
|
@@ -1524,8 +1527,8 @@ function ve({
|
|
|
1524
1527
|
}
|
|
1525
1528
|
);
|
|
1526
1529
|
}
|
|
1527
|
-
const
|
|
1528
|
-
const s =
|
|
1530
|
+
const Br = ({ index: e, manager: n }) => {
|
|
1531
|
+
const s = E(null), a = n.getValue(e, "value");
|
|
1529
1532
|
return /* @__PURE__ */ t.jsxs(ge, { children: [
|
|
1530
1533
|
/* @__PURE__ */ t.jsx(
|
|
1531
1534
|
ve,
|
|
@@ -1544,18 +1547,18 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1544
1547
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1 flex-1", children: [
|
|
1545
1548
|
a instanceof File ? /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1 flex-1 min-w-0", children: [
|
|
1546
1549
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1 border-b cursor-default", children: [
|
|
1547
|
-
/* @__PURE__ */ t.jsx(
|
|
1550
|
+
/* @__PURE__ */ t.jsx(me, { size: 12, className: "text-muted-foreground" }),
|
|
1548
1551
|
/* @__PURE__ */ t.jsx(
|
|
1549
1552
|
"span",
|
|
1550
1553
|
{
|
|
1551
1554
|
className: "text-xs truncate",
|
|
1552
|
-
title: `${a.name} (${
|
|
1555
|
+
title: `${a.name} (${Ee(a.size)})`,
|
|
1553
1556
|
children: a.name
|
|
1554
1557
|
}
|
|
1555
1558
|
)
|
|
1556
1559
|
] }),
|
|
1557
1560
|
/* @__PURE__ */ t.jsx(
|
|
1558
|
-
|
|
1561
|
+
K,
|
|
1559
1562
|
{
|
|
1560
1563
|
type: "button",
|
|
1561
1564
|
variant: "ghost",
|
|
@@ -1586,7 +1589,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1586
1589
|
}
|
|
1587
1590
|
),
|
|
1588
1591
|
/* @__PURE__ */ t.jsx(
|
|
1589
|
-
|
|
1592
|
+
K,
|
|
1590
1593
|
{
|
|
1591
1594
|
type: "button",
|
|
1592
1595
|
variant: "ghost",
|
|
@@ -1594,7 +1597,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1594
1597
|
onClick: () => s.current?.click(),
|
|
1595
1598
|
title: "Attach file",
|
|
1596
1599
|
className: "opacity-0 focus-visible:opacity-100 group-hover:opacity-100 group-hover:brightness-95 transition-opacity",
|
|
1597
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1600
|
+
children: /* @__PURE__ */ t.jsx(me, { size: 14 })
|
|
1598
1601
|
}
|
|
1599
1602
|
)
|
|
1600
1603
|
] }),
|
|
@@ -1613,7 +1616,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1613
1616
|
watch: c,
|
|
1614
1617
|
setFocus: l,
|
|
1615
1618
|
register: m
|
|
1616
|
-
} =
|
|
1619
|
+
} = oe(), { fields: d, append: f, remove: x } = qt({ control: n, name: s }), h = c(s), v = E(-1), u = E(-1), y = D(
|
|
1617
1620
|
(g, C, T, A) => {
|
|
1618
1621
|
(C === "value" || C === "name") && (v.current = g), i(`${s}.${g}.${C}`, T), A?.focus === "next" ? l(
|
|
1619
1622
|
C === "name" ? `${s}.${g}.value` : `${s}.${g + 1}.name`
|
|
@@ -1685,7 +1688,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1685
1688
|
const A = R(T);
|
|
1686
1689
|
T.active !== A && g.push(() => y(C, "active", A));
|
|
1687
1690
|
}
|
|
1688
|
-
g.length !== 0 &&
|
|
1691
|
+
g.length !== 0 && ls(() => g.forEach((C) => C()));
|
|
1689
1692
|
}, [h, R, y]);
|
|
1690
1693
|
const N = D(
|
|
1691
1694
|
(g) => {
|
|
@@ -1698,8 +1701,8 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1698
1701
|
const T = C === "name" ? `${s}.${g}.value` : `${s}.${g + 1}.name`, A = C === "name" ? `${s}.${g - 1}.value` : `${s}.${g}.name`, M = C === "value" || g > 0;
|
|
1699
1702
|
return (L) => {
|
|
1700
1703
|
if (!(L.target instanceof HTMLInputElement)) return;
|
|
1701
|
-
const De = L.target.selectionStart === 0,
|
|
1702
|
-
L.key === "Enter" ? l(T) : L.key === "Backspace" && je && M || L.key === "ArrowLeft" && De && M ? (L.preventDefault(), l(A)) : L.key === "ArrowRight" &&
|
|
1704
|
+
const De = L.target.selectionStart === 0, ne = L.target.selectionStart === L.target.value.length, je = !L.target.value;
|
|
1705
|
+
L.key === "Enter" ? l(T) : L.key === "Backspace" && je && M || L.key === "ArrowLeft" && De && M ? (L.preventDefault(), l(A)) : L.key === "ArrowRight" && ne && (L.preventDefault(), l(T));
|
|
1703
1706
|
};
|
|
1704
1707
|
},
|
|
1705
1708
|
[s, l]
|
|
@@ -1730,7 +1733,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1730
1733
|
), Ie = D(
|
|
1731
1734
|
(g, C) => h?.[g]?.[C],
|
|
1732
1735
|
[h]
|
|
1733
|
-
),
|
|
1736
|
+
), te = D(
|
|
1734
1737
|
(g) => ({
|
|
1735
1738
|
onClick: () => x(g),
|
|
1736
1739
|
disabled: g === d.length - 1
|
|
@@ -1742,18 +1745,18 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1742
1745
|
getNameInputProps: O,
|
|
1743
1746
|
getValueInputProps: Q,
|
|
1744
1747
|
getCheckboxProps: be,
|
|
1745
|
-
getRemoveButtonProps:
|
|
1748
|
+
getRemoveButtonProps: te,
|
|
1746
1749
|
setValue: y,
|
|
1747
1750
|
getValue: Ie
|
|
1748
1751
|
};
|
|
1749
|
-
},
|
|
1750
|
-
const { register: n, setValue: s, watch: a, control: r } =
|
|
1752
|
+
}, _r = ({ content: e }) => {
|
|
1753
|
+
const { register: n, setValue: s, watch: a, control: r } = oe(), o = (e ?? []).flatMap((j) => j.examples), [i, c, l, m, d] = a([
|
|
1751
1754
|
"headers",
|
|
1752
1755
|
"file",
|
|
1753
1756
|
"bodyMode",
|
|
1754
1757
|
"body",
|
|
1755
1758
|
"multipartFormFields"
|
|
1756
|
-
]), f =
|
|
1759
|
+
]), f = E(null), [x, h] = k(!1), v = (j) => {
|
|
1757
1760
|
s("file", j), j && s(
|
|
1758
1761
|
"headers",
|
|
1759
1762
|
i.filter(
|
|
@@ -1778,14 +1781,14 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1778
1781
|
isEmpty: (j) => j.value instanceof File ? !1 : !j.name && !j.value
|
|
1779
1782
|
});
|
|
1780
1783
|
return /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
1781
|
-
/* @__PURE__ */ t.jsxs(
|
|
1782
|
-
/* @__PURE__ */ t.jsx(
|
|
1784
|
+
/* @__PURE__ */ t.jsxs(Y, { className: "items-center", children: [
|
|
1785
|
+
/* @__PURE__ */ t.jsx(kn, { size: 16 }),
|
|
1783
1786
|
/* @__PURE__ */ t.jsxs(H, { className: "flex items-center justify-between", children: [
|
|
1784
1787
|
"Body",
|
|
1785
1788
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center", children: [
|
|
1786
|
-
/* @__PURE__ */ t.jsxs(
|
|
1787
|
-
/* @__PURE__ */ t.jsx(
|
|
1788
|
-
|
|
1789
|
+
/* @__PURE__ */ t.jsxs(Qt, { children: [
|
|
1790
|
+
/* @__PURE__ */ t.jsx(Jt, { asChild: !0, children: /* @__PURE__ */ t.jsxs(
|
|
1791
|
+
K,
|
|
1789
1792
|
{
|
|
1790
1793
|
variant: "ghost",
|
|
1791
1794
|
size: "sm",
|
|
@@ -1795,17 +1798,17 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1795
1798
|
/* @__PURE__ */ t.jsx(yt, { size: 14 }),
|
|
1796
1799
|
"Text"
|
|
1797
1800
|
] }) : l === "file" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1798
|
-
/* @__PURE__ */ t.jsx(
|
|
1801
|
+
/* @__PURE__ */ t.jsx(me, { size: 14 }),
|
|
1799
1802
|
"File"
|
|
1800
1803
|
] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1801
1804
|
/* @__PURE__ */ t.jsx(vt, { size: 14 }),
|
|
1802
1805
|
"Multipart"
|
|
1803
1806
|
] }),
|
|
1804
|
-
/* @__PURE__ */ t.jsx(
|
|
1807
|
+
/* @__PURE__ */ t.jsx(Rn, { size: 14 })
|
|
1805
1808
|
]
|
|
1806
1809
|
}
|
|
1807
1810
|
) }),
|
|
1808
|
-
/* @__PURE__ */ t.jsxs(
|
|
1811
|
+
/* @__PURE__ */ t.jsxs(Wt, { className: "min-w-40", children: [
|
|
1809
1812
|
/* @__PURE__ */ t.jsxs(
|
|
1810
1813
|
Ae,
|
|
1811
1814
|
{
|
|
@@ -1824,7 +1827,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1824
1827
|
onSelect: () => s("bodyMode", "file"),
|
|
1825
1828
|
className: "gap-2",
|
|
1826
1829
|
children: [
|
|
1827
|
-
/* @__PURE__ */ t.jsx(
|
|
1830
|
+
/* @__PURE__ */ t.jsx(me, { size: 14 }),
|
|
1828
1831
|
/* @__PURE__ */ t.jsx("span", { className: "flex-1", children: "File" }),
|
|
1829
1832
|
/* @__PURE__ */ t.jsx("span", { children: c && /* @__PURE__ */ t.jsx("div", { className: "w-1.5 h-1.5 bg-primary rounded-full" }) })
|
|
1830
1833
|
]
|
|
@@ -1855,7 +1858,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1855
1858
|
),
|
|
1856
1859
|
/* @__PURE__ */ t.jsx("div", { className: "w-px mx-1 h-5 bg-border" }),
|
|
1857
1860
|
e && o.length > 0 ? /* @__PURE__ */ t.jsx(
|
|
1858
|
-
|
|
1861
|
+
Vr,
|
|
1859
1862
|
{
|
|
1860
1863
|
examples: e,
|
|
1861
1864
|
onSelect: (j, O) => {
|
|
@@ -1875,7 +1878,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1875
1878
|
] }),
|
|
1876
1879
|
/* @__PURE__ */ t.jsxs(_, { className: "CollapsibleContent flex flex-col gap-2", children: [
|
|
1877
1880
|
l === "text" && /* @__PURE__ */ t.jsx(
|
|
1878
|
-
|
|
1881
|
+
cn,
|
|
1879
1882
|
{
|
|
1880
1883
|
...n("body"),
|
|
1881
1884
|
className: w(
|
|
@@ -1907,7 +1910,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1907
1910
|
x && "bg-accent border-primary"
|
|
1908
1911
|
),
|
|
1909
1912
|
children: /* @__PURE__ */ t.jsx(
|
|
1910
|
-
|
|
1913
|
+
me,
|
|
1911
1914
|
{
|
|
1912
1915
|
className: w(
|
|
1913
1916
|
"text-muted-foreground",
|
|
@@ -1924,12 +1927,12 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1924
1927
|
" ",
|
|
1925
1928
|
/* @__PURE__ */ t.jsxs("span", { className: "text-muted-foreground", children: [
|
|
1926
1929
|
"(",
|
|
1927
|
-
|
|
1930
|
+
Ee(c.size),
|
|
1928
1931
|
")"
|
|
1929
1932
|
] })
|
|
1930
1933
|
] }),
|
|
1931
1934
|
/* @__PURE__ */ t.jsx(
|
|
1932
|
-
|
|
1935
|
+
K,
|
|
1933
1936
|
{
|
|
1934
1937
|
type: "button",
|
|
1935
1938
|
variant: "ghost",
|
|
@@ -1942,7 +1945,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1942
1945
|
]
|
|
1943
1946
|
}
|
|
1944
1947
|
),
|
|
1945
|
-
l === "multipart" && /* @__PURE__ */ t.jsx(
|
|
1948
|
+
l === "multipart" && /* @__PURE__ */ t.jsx(ke, { children: N.fields.map((j, O) => /* @__PURE__ */ t.jsx(Br, { index: O, manager: N }, j.id)) })
|
|
1946
1949
|
] })
|
|
1947
1950
|
] });
|
|
1948
1951
|
}, Lt = (e, n, s) => {
|
|
@@ -1957,12 +1960,12 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1957
1960
|
r.searchParams.set(o.name, o.value);
|
|
1958
1961
|
}), r;
|
|
1959
1962
|
};
|
|
1960
|
-
function
|
|
1963
|
+
function qr(e) {
|
|
1961
1964
|
return /^(application\/octet-stream|image\/|audio\/|video\/|font\/|application\/pdf|application\/zip|application\/x-protobuf|application\/x-binary)/i.test(
|
|
1962
1965
|
e
|
|
1963
1966
|
);
|
|
1964
1967
|
}
|
|
1965
|
-
const
|
|
1968
|
+
const Mr = (e, n) => {
|
|
1966
1969
|
const s = e.find(
|
|
1967
1970
|
([a]) => a.toLowerCase() === "content-disposition"
|
|
1968
1971
|
)?.[1];
|
|
@@ -1979,7 +1982,7 @@ const Ur = (e, n) => {
|
|
|
1979
1982
|
} catch {
|
|
1980
1983
|
return "download";
|
|
1981
1984
|
}
|
|
1982
|
-
},
|
|
1985
|
+
}, Ur = $e.Root, dn = xe.forwardRef(({ className: e, align: n = "center", sideOffset: s = 4, ...a }, r) => /* @__PURE__ */ t.jsx($e.Portal, { children: /* @__PURE__ */ t.jsx(
|
|
1983
1986
|
$e.Content,
|
|
1984
1987
|
{
|
|
1985
1988
|
ref: r,
|
|
@@ -1992,8 +1995,8 @@ const Ur = (e, n) => {
|
|
|
1992
1995
|
...a
|
|
1993
1996
|
}
|
|
1994
1997
|
) }));
|
|
1995
|
-
|
|
1996
|
-
const
|
|
1998
|
+
dn.displayName = $e.Content.displayName;
|
|
1999
|
+
const Gr = ({
|
|
1997
2000
|
value: e,
|
|
1998
2001
|
options: n,
|
|
1999
2002
|
onChange: s,
|
|
@@ -2004,10 +2007,10 @@ const Hr = ({
|
|
|
2004
2007
|
ref: c,
|
|
2005
2008
|
onSelect: l
|
|
2006
2009
|
}) => {
|
|
2007
|
-
const [m, d] =
|
|
2008
|
-
return /* @__PURE__ */ t.jsxs(
|
|
2009
|
-
/* @__PURE__ */ t.jsx(
|
|
2010
|
-
|
|
2010
|
+
const [m, d] = k(!1), [f, x] = k(!1), h = Os((u) => u.filtered.count), v = E(null);
|
|
2011
|
+
return /* @__PURE__ */ t.jsxs(Ur, { open: m, children: [
|
|
2012
|
+
/* @__PURE__ */ t.jsx(Ps, { children: /* @__PURE__ */ t.jsx(
|
|
2013
|
+
Es,
|
|
2011
2014
|
{
|
|
2012
2015
|
autoComplete: "off",
|
|
2013
2016
|
ref: (u) => {
|
|
@@ -2027,7 +2030,7 @@ const Hr = ({
|
|
|
2027
2030
|
}
|
|
2028
2031
|
) }),
|
|
2029
2032
|
/* @__PURE__ */ t.jsx(
|
|
2030
|
-
|
|
2033
|
+
dn,
|
|
2031
2034
|
{
|
|
2032
2035
|
onMouseEnter: () => x(!0),
|
|
2033
2036
|
onMouseLeave: () => x(!1),
|
|
@@ -2043,8 +2046,8 @@ const Hr = ({
|
|
|
2043
2046
|
onTouchMove: (u) => {
|
|
2044
2047
|
u.stopPropagation();
|
|
2045
2048
|
},
|
|
2046
|
-
children: /* @__PURE__ */ t.jsx(
|
|
2047
|
-
|
|
2049
|
+
children: /* @__PURE__ */ t.jsx(ks, { className: "max-h-[140px]", children: n.map((u) => /* @__PURE__ */ t.jsx(
|
|
2050
|
+
Rs,
|
|
2048
2051
|
{
|
|
2049
2052
|
value: u,
|
|
2050
2053
|
onSelect: (y) => {
|
|
@@ -2058,7 +2061,7 @@ const Hr = ({
|
|
|
2058
2061
|
}
|
|
2059
2062
|
)
|
|
2060
2063
|
] });
|
|
2061
|
-
}, Pe = ({ shouldFilter: e, ...n }) => /* @__PURE__ */ t.jsx(
|
|
2064
|
+
}, Pe = ({ shouldFilter: e, ...n }) => /* @__PURE__ */ t.jsx(Ls, { className: "bg-transparent", shouldFilter: e, children: /* @__PURE__ */ t.jsx(Gr, { ...n }) }), Hr = Object.freeze([
|
|
2062
2065
|
"Accept",
|
|
2063
2066
|
"Accept-Encoding",
|
|
2064
2067
|
"Accept-Language",
|
|
@@ -2085,12 +2088,12 @@ const Hr = ({
|
|
|
2085
2088
|
"Set-Cookie",
|
|
2086
2089
|
"User-Agent",
|
|
2087
2090
|
"X-Requested-With"
|
|
2088
|
-
]),
|
|
2091
|
+
]), Qr = ({
|
|
2089
2092
|
control: e,
|
|
2090
2093
|
schemaHeaders: n,
|
|
2091
2094
|
lockedHeaders: s
|
|
2092
2095
|
}) => {
|
|
2093
|
-
const { watch: a, formState: r } =
|
|
2096
|
+
const { watch: a, formState: r } = oe(), o = a("headers"), i = ot({
|
|
2094
2097
|
control: e,
|
|
2095
2098
|
name: "headers",
|
|
2096
2099
|
defaultValue: { name: "", value: "", active: !1 }
|
|
@@ -2102,25 +2105,25 @@ const Hr = ({
|
|
|
2102
2105
|
locked: !0
|
|
2103
2106
|
})) ?? [];
|
|
2104
2107
|
return /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
2105
|
-
/* @__PURE__ */ t.jsxs(
|
|
2106
|
-
/* @__PURE__ */ t.jsx(
|
|
2108
|
+
/* @__PURE__ */ t.jsxs(Y, { children: [
|
|
2109
|
+
/* @__PURE__ */ t.jsx(In, { size: 14 }),
|
|
2107
2110
|
/* @__PURE__ */ t.jsx(H, { children: "Headers" })
|
|
2108
2111
|
] }),
|
|
2109
|
-
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ t.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ t.jsxs(
|
|
2110
|
-
m.map((d) => /* @__PURE__ */ t.jsxs(
|
|
2111
|
-
/* @__PURE__ */ t.jsx(
|
|
2112
|
+
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ t.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ t.jsxs(ke, { children: [
|
|
2113
|
+
m.map((d) => /* @__PURE__ */ t.jsxs(Ct, { children: [
|
|
2114
|
+
/* @__PURE__ */ t.jsx(Nt, { asChild: !0, children: /* @__PURE__ */ t.jsxs(
|
|
2112
2115
|
ge,
|
|
2113
2116
|
{
|
|
2114
2117
|
className: "opacity-50 cursor-not-allowed font-mono text-xs min-h-10",
|
|
2115
2118
|
children: [
|
|
2116
|
-
/* @__PURE__ */ t.jsx(
|
|
2119
|
+
/* @__PURE__ */ t.jsx(Dn, { size: 16 }),
|
|
2117
2120
|
/* @__PURE__ */ t.jsx(I, { value: d.name, disabled: !0 }),
|
|
2118
2121
|
/* @__PURE__ */ t.jsx("div", { children: d.value })
|
|
2119
2122
|
]
|
|
2120
2123
|
},
|
|
2121
2124
|
d.id
|
|
2122
2125
|
) }),
|
|
2123
|
-
/* @__PURE__ */ t.jsx(
|
|
2126
|
+
/* @__PURE__ */ t.jsx(St, { alignOffset: 10, side: "bottom", align: "start", children: /* @__PURE__ */ t.jsx("p", { children: "This header is set by the selected authentication." }) })
|
|
2124
2127
|
] }, d.id)),
|
|
2125
2128
|
i.fields.map((d, f) => {
|
|
2126
2129
|
const x = n.find(
|
|
@@ -2141,9 +2144,9 @@ const Hr = ({
|
|
|
2141
2144
|
...i.getCheckboxProps(f)
|
|
2142
2145
|
}
|
|
2143
2146
|
),
|
|
2144
|
-
/* @__PURE__ */ t.jsxs(
|
|
2145
|
-
/* @__PURE__ */ t.jsx(
|
|
2146
|
-
|
|
2147
|
+
/* @__PURE__ */ t.jsxs(Ct, { children: [
|
|
2148
|
+
/* @__PURE__ */ t.jsx(Nt, { asChild: !0, children: /* @__PURE__ */ t.jsx(
|
|
2149
|
+
Fn,
|
|
2147
2150
|
{
|
|
2148
2151
|
className: w(
|
|
2149
2152
|
"text-amber-600",
|
|
@@ -2153,7 +2156,7 @@ const Hr = ({
|
|
|
2153
2156
|
}
|
|
2154
2157
|
) }),
|
|
2155
2158
|
/* @__PURE__ */ t.jsx(
|
|
2156
|
-
|
|
2159
|
+
St,
|
|
2157
2160
|
{
|
|
2158
2161
|
alignOffset: 10,
|
|
2159
2162
|
side: "bottom",
|
|
@@ -2168,7 +2171,7 @@ const Hr = ({
|
|
|
2168
2171
|
...u,
|
|
2169
2172
|
value: String(i.getValue(f, "name")),
|
|
2170
2173
|
placeholder: "Name",
|
|
2171
|
-
options: [...c, ...
|
|
2174
|
+
options: [...c, ...Hr],
|
|
2172
2175
|
onChange: (S) => i.setValue(f, "name", S),
|
|
2173
2176
|
onSelect: (S) => i.setValue(f, "name", S, { focus: "next" })
|
|
2174
2177
|
}
|
|
@@ -2206,18 +2209,18 @@ const Hr = ({
|
|
|
2206
2209
|
})
|
|
2207
2210
|
] }) }) }) })
|
|
2208
2211
|
] });
|
|
2209
|
-
},
|
|
2212
|
+
}, Jr = Ds(
|
|
2210
2213
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
2211
2214
|
), Re = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
|
|
2212
2215
|
Xt.Root,
|
|
2213
2216
|
{
|
|
2214
2217
|
ref: s,
|
|
2215
|
-
className: w(
|
|
2218
|
+
className: w(Jr(), e),
|
|
2216
2219
|
...n
|
|
2217
2220
|
}
|
|
2218
2221
|
));
|
|
2219
2222
|
Re.displayName = Xt.Root.displayName;
|
|
2220
|
-
const
|
|
2223
|
+
const un = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
|
|
2221
2224
|
he.Root,
|
|
2222
2225
|
{
|
|
2223
2226
|
className: w("grid gap-2", e),
|
|
@@ -2225,8 +2228,8 @@ const mn = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
|
|
|
2225
2228
|
ref: s
|
|
2226
2229
|
}
|
|
2227
2230
|
));
|
|
2228
|
-
|
|
2229
|
-
const
|
|
2231
|
+
un.displayName = he.Root.displayName;
|
|
2232
|
+
const mn = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
|
|
2230
2233
|
he.Item,
|
|
2231
2234
|
{
|
|
2232
2235
|
ref: s,
|
|
@@ -2235,29 +2238,29 @@ const pn = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
|
|
|
2235
2238
|
e
|
|
2236
2239
|
),
|
|
2237
2240
|
...n,
|
|
2238
|
-
children: /* @__PURE__ */ t.jsx(he.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ t.jsx(
|
|
2241
|
+
children: /* @__PURE__ */ t.jsx(he.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ t.jsx(zn, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
2239
2242
|
}
|
|
2240
2243
|
));
|
|
2241
|
-
|
|
2242
|
-
const
|
|
2244
|
+
mn.displayName = he.Item.displayName;
|
|
2245
|
+
const pn = ({
|
|
2243
2246
|
identities: e,
|
|
2244
2247
|
setValue: n,
|
|
2245
2248
|
value: s
|
|
2246
2249
|
}) => /* @__PURE__ */ t.jsx("div", { className: "w-full overflow-hidden", children: /* @__PURE__ */ t.jsx(
|
|
2247
|
-
|
|
2250
|
+
un,
|
|
2248
2251
|
{
|
|
2249
2252
|
onValueChange: (a) => n(a),
|
|
2250
2253
|
value: s,
|
|
2251
|
-
defaultValue:
|
|
2254
|
+
defaultValue: pe,
|
|
2252
2255
|
className: "gap-0",
|
|
2253
2256
|
disabled: e?.length === 0,
|
|
2254
|
-
children: [{ id:
|
|
2257
|
+
children: [{ id: pe, label: "None" }, ...e ?? []].map(
|
|
2255
2258
|
(a) => /* @__PURE__ */ t.jsxs(
|
|
2256
2259
|
Re,
|
|
2257
2260
|
{
|
|
2258
2261
|
className: "h-10 items-center border-b font-normal flex gap-4 p-4 cursor-pointer hover:bg-accent/75",
|
|
2259
2262
|
children: [
|
|
2260
|
-
/* @__PURE__ */ t.jsx(
|
|
2263
|
+
/* @__PURE__ */ t.jsx(mn, { value: a.id, id: a.id }),
|
|
2261
2264
|
/* @__PURE__ */ t.jsx("span", { children: a.label })
|
|
2262
2265
|
]
|
|
2263
2266
|
},
|
|
@@ -2265,25 +2268,25 @@ const hn = ({
|
|
|
2265
2268
|
)
|
|
2266
2269
|
)
|
|
2267
2270
|
}
|
|
2268
|
-
) }),
|
|
2271
|
+
) }), Wr = ({
|
|
2269
2272
|
onSubmit: e,
|
|
2270
2273
|
identities: n,
|
|
2271
2274
|
open: s,
|
|
2272
2275
|
onOpenChange: a
|
|
2273
2276
|
}) => {
|
|
2274
|
-
const [r, o] =
|
|
2277
|
+
const [r, o] = k(void 0), [i, c] = k(!1);
|
|
2275
2278
|
return /* @__PURE__ */ t.jsx(et, { open: s, onOpenChange: a, children: /* @__PURE__ */ t.jsxs(tt, { children: [
|
|
2276
2279
|
/* @__PURE__ */ t.jsx(nt, { children: "Select an auth identity" }),
|
|
2277
|
-
/* @__PURE__ */ t.jsx(
|
|
2278
|
-
/* @__PURE__ */ t.jsx(
|
|
2279
|
-
|
|
2280
|
+
/* @__PURE__ */ t.jsx(Bt, { children: "Please select an identity for this request." }),
|
|
2281
|
+
/* @__PURE__ */ t.jsx(Is, { className: "max-h-80 overflow-auto", children: /* @__PURE__ */ t.jsx(
|
|
2282
|
+
pn,
|
|
2280
2283
|
{
|
|
2281
2284
|
identities: n,
|
|
2282
2285
|
setValue: o,
|
|
2283
2286
|
value: r
|
|
2284
2287
|
}
|
|
2285
2288
|
) }),
|
|
2286
|
-
/* @__PURE__ */ t.jsxs(
|
|
2289
|
+
/* @__PURE__ */ t.jsxs(_t, { className: "flex flex-col gap-2", children: [
|
|
2287
2290
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2288
2291
|
/* @__PURE__ */ t.jsx(
|
|
2289
2292
|
ve,
|
|
@@ -2308,22 +2311,22 @@ const hn = ({
|
|
|
2308
2311
|
] }) });
|
|
2309
2312
|
}, Ue = (e) => Math.abs(
|
|
2310
2313
|
Number.isNaN(Number(e)) ? e.toLowerCase().charCodeAt(0) - 96 : Number.isNaN(Number(e)) ? 0 : Number(e)
|
|
2311
|
-
), Ge = (e) => e.length > 1 ? Number(e.split("").reduce((n, s) => `${Ue(n) + Ue(s)}`)) : Ue(e),
|
|
2314
|
+
), Ge = (e) => e.length > 1 ? Number(e.split("").reduce((n, s) => `${Ue(n) + Ue(s)}`)) : Ue(e), Et = (e, n = {}) => {
|
|
2312
2315
|
const s = (3 * Ge(e) + 2 * Ge(e) + Ge(e)) % 360, { saturation: a = 75, lightness: r = 60 } = n;
|
|
2313
2316
|
return `${s}deg ${a}% ${r}%`;
|
|
2314
2317
|
}, He = "data-linked-param", Xr = (e) => {
|
|
2315
|
-
const { resolvedTheme: n } =
|
|
2318
|
+
const { resolvedTheme: n } = ps();
|
|
2316
2319
|
return {
|
|
2317
|
-
text:
|
|
2320
|
+
text: Et(
|
|
2318
2321
|
e,
|
|
2319
2322
|
n === "light" ? { saturation: 95, lightness: 38 } : {}
|
|
2320
2323
|
),
|
|
2321
|
-
background:
|
|
2324
|
+
background: Et(
|
|
2322
2325
|
e,
|
|
2323
2326
|
n === "light" ? { saturation: 85, lightness: 40 } : {}
|
|
2324
2327
|
)
|
|
2325
2328
|
};
|
|
2326
|
-
},
|
|
2329
|
+
}, hn = ({
|
|
2327
2330
|
name: e,
|
|
2328
2331
|
className: n,
|
|
2329
2332
|
slug: s,
|
|
@@ -2331,7 +2334,7 @@ const hn = ({
|
|
|
2331
2334
|
children: r,
|
|
2332
2335
|
onClick: o
|
|
2333
2336
|
}) => {
|
|
2334
|
-
const i =
|
|
2337
|
+
const i = E(null), c = s?.replace(/[{}]/g, ""), l = e.replace(/[{}]/g, ""), { text: m, background: d } = Xr(l), f = `hsl(${m} / 100%)`, x = `hsl(${d} / 10%)`, h = `hsl(${d} / 50%)`;
|
|
2335
2338
|
return G(() => {
|
|
2336
2339
|
if (!c || !i.current) return;
|
|
2337
2340
|
const v = () => {
|
|
@@ -2371,24 +2374,24 @@ const hn = ({
|
|
|
2371
2374
|
children: r ?? e
|
|
2372
2375
|
}
|
|
2373
2376
|
);
|
|
2374
|
-
},
|
|
2377
|
+
}, Kr = ({
|
|
2375
2378
|
control: e,
|
|
2376
2379
|
url: n
|
|
2377
2380
|
}) => {
|
|
2378
|
-
const { fields: s } =
|
|
2381
|
+
const { fields: s } = qt({
|
|
2379
2382
|
control: e,
|
|
2380
2383
|
name: "pathParams"
|
|
2381
2384
|
}), a = [...s].sort(
|
|
2382
2385
|
(r, o) => n.indexOf(`{${r.name}}`) - n.indexOf(`{${o.name}}`)
|
|
2383
2386
|
);
|
|
2384
|
-
return /* @__PURE__ */ t.jsx(
|
|
2387
|
+
return /* @__PURE__ */ t.jsx(ke, { children: a.map((r, o) => /* @__PURE__ */ t.jsxs(ge, { children: [
|
|
2385
2388
|
/* @__PURE__ */ t.jsx(
|
|
2386
|
-
|
|
2389
|
+
wt,
|
|
2387
2390
|
{
|
|
2388
2391
|
control: e,
|
|
2389
2392
|
name: `pathParams.${o}.name`,
|
|
2390
2393
|
render: () => /* @__PURE__ */ t.jsx("div", { className: "flex items-center", children: /* @__PURE__ */ t.jsx(
|
|
2391
|
-
|
|
2394
|
+
hn,
|
|
2392
2395
|
{
|
|
2393
2396
|
slug: r.name,
|
|
2394
2397
|
name: r.name,
|
|
@@ -2398,7 +2401,7 @@ const hn = ({
|
|
|
2398
2401
|
}
|
|
2399
2402
|
),
|
|
2400
2403
|
/* @__PURE__ */ t.jsx("div", { className: "flex justify-between items-center col-span-2", children: /* @__PURE__ */ t.jsx(
|
|
2401
|
-
|
|
2404
|
+
wt,
|
|
2402
2405
|
{
|
|
2403
2406
|
control: e,
|
|
2404
2407
|
name: `pathParams.${o}.value`,
|
|
@@ -2406,11 +2409,11 @@ const hn = ({
|
|
|
2406
2409
|
}
|
|
2407
2410
|
) })
|
|
2408
2411
|
] }, r.id)) });
|
|
2409
|
-
},
|
|
2412
|
+
}, Zr = ({
|
|
2410
2413
|
control: e,
|
|
2411
2414
|
schemaQueryParams: n
|
|
2412
2415
|
}) => {
|
|
2413
|
-
const { watch: s } =
|
|
2416
|
+
const { watch: s } = oe(), a = s("queryParams"), r = ot({
|
|
2414
2417
|
control: e,
|
|
2415
2418
|
name: "queryParams",
|
|
2416
2419
|
defaultValue: { name: "", value: "", active: !1 }
|
|
@@ -2418,11 +2421,11 @@ const hn = ({
|
|
|
2418
2421
|
(c) => !!c.isRequired
|
|
2419
2422
|
), i = n.length > 0;
|
|
2420
2423
|
return /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
2421
|
-
/* @__PURE__ */ t.jsxs(
|
|
2422
|
-
/* @__PURE__ */ t.jsx(
|
|
2424
|
+
/* @__PURE__ */ t.jsxs(Y, { children: [
|
|
2425
|
+
/* @__PURE__ */ t.jsx(Vn, { size: 16 }),
|
|
2423
2426
|
/* @__PURE__ */ t.jsx(H, { children: "Query Parameters" })
|
|
2424
2427
|
] }),
|
|
2425
|
-
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(
|
|
2428
|
+
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(ke, { children: r.fields.map((c, l) => {
|
|
2426
2429
|
const m = n.find(
|
|
2427
2430
|
(h) => h.name === a.at(l)?.name
|
|
2428
2431
|
), d = m?.enum && m.enum.length > 0, f = r.getNameInputProps(l), x = r.getValueInputProps(l);
|
|
@@ -2479,19 +2482,19 @@ const hn = ({
|
|
|
2479
2482
|
] }, c.id);
|
|
2480
2483
|
}) }) })
|
|
2481
2484
|
] });
|
|
2482
|
-
},
|
|
2485
|
+
}, Yr = ({
|
|
2483
2486
|
open: e,
|
|
2484
2487
|
setOpen: n,
|
|
2485
2488
|
onSignUp: s,
|
|
2486
2489
|
onLogin: a,
|
|
2487
2490
|
onSkip: r
|
|
2488
2491
|
}) => {
|
|
2489
|
-
const [o, i] =
|
|
2492
|
+
const [o, i] = k(!1), c = () => {
|
|
2490
2493
|
r?.(o), n(!1);
|
|
2491
2494
|
};
|
|
2492
2495
|
return /* @__PURE__ */ t.jsx(et, { open: e, onOpenChange: n, children: /* @__PURE__ */ t.jsxs(tt, { children: [
|
|
2493
2496
|
/* @__PURE__ */ t.jsx(nt, { children: "Welcome to the Playground!" }),
|
|
2494
|
-
/* @__PURE__ */ t.jsx(
|
|
2497
|
+
/* @__PURE__ */ t.jsx(Bt, { children: "The Playground is a tool for developers to test and explore our APIs. To use the Playground, you need to login." }),
|
|
2495
2498
|
/* @__PURE__ */ t.jsxs(Re, { className: "flex items-center gap-2 font-normal", children: [
|
|
2496
2499
|
/* @__PURE__ */ t.jsx(
|
|
2497
2500
|
ve,
|
|
@@ -2502,7 +2505,7 @@ const hn = ({
|
|
|
2502
2505
|
),
|
|
2503
2506
|
"Don't show this again"
|
|
2504
2507
|
] }),
|
|
2505
|
-
/* @__PURE__ */ t.jsxs(
|
|
2508
|
+
/* @__PURE__ */ t.jsxs(_t, { className: "flex gap-2 sm:justify-between", children: [
|
|
2506
2509
|
/* @__PURE__ */ t.jsx(q, { type: "button", variant: "outline", onClick: c, children: "Skip" }),
|
|
2507
2510
|
/* @__PURE__ */ t.jsxs("div", { className: "flex gap-2", children: [
|
|
2508
2511
|
s && /* @__PURE__ */ t.jsx(q, { type: "button", variant: "outline", onClick: s, children: "Sign Up" }),
|
|
@@ -2510,7 +2513,7 @@ const hn = ({
|
|
|
2510
2513
|
] })
|
|
2511
2514
|
] })
|
|
2512
2515
|
] }) });
|
|
2513
|
-
},
|
|
2516
|
+
}, ea = Ze()(
|
|
2514
2517
|
Ye(
|
|
2515
2518
|
(e, n) => ({
|
|
2516
2519
|
rememberedIdentity: null,
|
|
@@ -2521,10 +2524,10 @@ const hn = ({
|
|
|
2521
2524
|
}),
|
|
2522
2525
|
{
|
|
2523
2526
|
name: "identity-storage",
|
|
2524
|
-
storage:
|
|
2527
|
+
storage: Ft(() => sessionStorage)
|
|
2525
2528
|
}
|
|
2526
2529
|
)
|
|
2527
|
-
),
|
|
2530
|
+
), ta = ({
|
|
2528
2531
|
path: e,
|
|
2529
2532
|
renderParam: n
|
|
2530
2533
|
}) => {
|
|
@@ -2537,23 +2540,23 @@ const hn = ({
|
|
|
2537
2540
|
if (!f) return;
|
|
2538
2541
|
const x = m.index;
|
|
2539
2542
|
x > l && c.push(
|
|
2540
|
-
/* @__PURE__ */ t.jsx(
|
|
2543
|
+
/* @__PURE__ */ t.jsx(le, { children: a.slice(l, x) }, `text-${l}-${x}`)
|
|
2541
2544
|
), c.push(
|
|
2542
|
-
/* @__PURE__ */ t.jsx(
|
|
2545
|
+
/* @__PURE__ */ t.jsx(le, { children: n({ name: f, originalValue: d, index: s++ }) }, `param-${f}`)
|
|
2543
2546
|
), l = x + d.length;
|
|
2544
2547
|
}), l < a.length && c.push(
|
|
2545
|
-
/* @__PURE__ */ t.jsx(
|
|
2548
|
+
/* @__PURE__ */ t.jsx(le, { children: a.slice(l) }, `text-${l}-${a.length}`)
|
|
2546
2549
|
), // biome-ignore lint/suspicious/noArrayIndexKey: index should be stable
|
|
2547
|
-
/* @__PURE__ */ t.jsxs(
|
|
2550
|
+
/* @__PURE__ */ t.jsxs(le, { children: [
|
|
2548
2551
|
c,
|
|
2549
2552
|
r < o.length - 1 && "/",
|
|
2550
2553
|
/* @__PURE__ */ t.jsx("wbr", {})
|
|
2551
2554
|
] }, `${a}-${r}`);
|
|
2552
2555
|
});
|
|
2553
|
-
},
|
|
2554
|
-
const { watch: n, setFocus: s } =
|
|
2556
|
+
}, na = ({ url: e }) => {
|
|
2557
|
+
const { watch: n, setFocus: s } = oe(), [a] = n(["pathParams"]);
|
|
2555
2558
|
return /* @__PURE__ */ t.jsx(
|
|
2556
|
-
|
|
2559
|
+
ta,
|
|
2557
2560
|
{
|
|
2558
2561
|
path: e,
|
|
2559
2562
|
renderParam: ({ name: r, originalValue: o, index: i }) => {
|
|
@@ -2561,7 +2564,7 @@ const hn = ({
|
|
|
2561
2564
|
(l) => l.name === r
|
|
2562
2565
|
)?.value;
|
|
2563
2566
|
return /* @__PURE__ */ t.jsx(
|
|
2564
|
-
|
|
2567
|
+
hn,
|
|
2565
2568
|
{
|
|
2566
2569
|
name: r,
|
|
2567
2570
|
backgroundOpacity: "0",
|
|
@@ -2573,8 +2576,8 @@ const hn = ({
|
|
|
2573
2576
|
}
|
|
2574
2577
|
}
|
|
2575
2578
|
);
|
|
2576
|
-
},
|
|
2577
|
-
const { watch: e } =
|
|
2579
|
+
}, sa = () => {
|
|
2580
|
+
const { watch: e } = oe(), s = e("queryParams").filter((a) => a.active && a.name).map((a, r, o) => /* @__PURE__ */ t.jsxs(le, { children: [
|
|
2578
2581
|
a.name,
|
|
2579
2582
|
"=",
|
|
2580
2583
|
encodeURIComponent(a.value).replaceAll("%20", "+"),
|
|
@@ -2585,7 +2588,7 @@ const hn = ({
|
|
|
2585
2588
|
s.length > 0 ? "?" : "",
|
|
2586
2589
|
s
|
|
2587
2590
|
] });
|
|
2588
|
-
},
|
|
2591
|
+
}, ra = ({ status: e }) => {
|
|
2589
2592
|
if (!e) return /* @__PURE__ */ t.jsx("div", { className: "w-2 h-2 rounded-full bg-gray-500" });
|
|
2590
2593
|
switch (Number(e.toString().slice(0, 1))) {
|
|
2591
2594
|
case 2:
|
|
@@ -2597,15 +2600,15 @@ const hn = ({
|
|
|
2597
2600
|
default:
|
|
2598
2601
|
return /* @__PURE__ */ t.jsx("div", { className: "w-2 h-2 rounded-full bg-gray-500" });
|
|
2599
2602
|
}
|
|
2600
|
-
},
|
|
2601
|
-
const e =
|
|
2603
|
+
}, aa = () => {
|
|
2604
|
+
const e = E(null), n = E(null), s = E(Date.now()), a = E(null), r = D(() => {
|
|
2602
2605
|
if (n.current) {
|
|
2603
2606
|
const o = Date.now() - s.current;
|
|
2604
2607
|
n.current.nodeValue = o.toFixed();
|
|
2605
2608
|
}
|
|
2606
2609
|
a.current = requestAnimationFrame(r);
|
|
2607
2610
|
}, []);
|
|
2608
|
-
return
|
|
2611
|
+
return cs(() => {
|
|
2609
2612
|
const o = e.current;
|
|
2610
2613
|
if (!o) return;
|
|
2611
2614
|
const i = document.createTextNode("0");
|
|
@@ -2613,7 +2616,7 @@ const hn = ({
|
|
|
2613
2616
|
a.current && cancelAnimationFrame(a.current), n.current && o.contains(i) && o.removeChild(i);
|
|
2614
2617
|
};
|
|
2615
2618
|
}, [r]), /* @__PURE__ */ t.jsx("span", { className: "inline-block text-end w-[3ch]", ref: e });
|
|
2616
|
-
},
|
|
2619
|
+
}, oa = ({
|
|
2617
2620
|
status: e,
|
|
2618
2621
|
time: n,
|
|
2619
2622
|
size: s,
|
|
@@ -2634,7 +2637,7 @@ const hn = ({
|
|
|
2634
2637
|
};
|
|
2635
2638
|
return /* @__PURE__ */ t.jsxs("div", { className: "relative shrink-0 flex h-10 text-xs gap-4 px-4 items-center justify-between font-mono border-b", children: [
|
|
2636
2639
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2637
|
-
/* @__PURE__ */ t.jsx(
|
|
2640
|
+
/* @__PURE__ */ t.jsx(ra, { status: e }),
|
|
2638
2641
|
" ",
|
|
2639
2642
|
e ?? "Sending Request...",
|
|
2640
2643
|
e ? ` ${o[e]}` : ""
|
|
@@ -2643,12 +2646,12 @@ const hn = ({
|
|
|
2643
2646
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
2644
2647
|
/* @__PURE__ */ t.jsx("span", { className: "text-muted-foreground", children: "Size" }),
|
|
2645
2648
|
" ",
|
|
2646
|
-
/* @__PURE__ */ t.jsx("span", { className: "inline-block text-end min-w-[5ch]", children: s ?
|
|
2649
|
+
/* @__PURE__ */ t.jsx("span", { className: "inline-block text-end min-w-[5ch]", children: s ? Ee(s) : "- B" })
|
|
2647
2650
|
] }),
|
|
2648
2651
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
2649
2652
|
/* @__PURE__ */ t.jsx("span", { className: "text-muted-foreground", children: "Time" }),
|
|
2650
2653
|
" ",
|
|
2651
|
-
n !== void 0 ? `${n.toFixed(0)}` : /* @__PURE__ */ t.jsx(
|
|
2654
|
+
n !== void 0 ? `${n.toFixed(0)}` : /* @__PURE__ */ t.jsx(aa, {}),
|
|
2652
2655
|
"ms"
|
|
2653
2656
|
] })
|
|
2654
2657
|
] }),
|
|
@@ -2671,9 +2674,9 @@ function it(e) {
|
|
|
2671
2674
|
const n = e[0];
|
|
2672
2675
|
return n === void 0 ? "any[]" : `${it(n)}[]`;
|
|
2673
2676
|
}
|
|
2674
|
-
return typeof e == "object" ?
|
|
2677
|
+
return typeof e == "object" ? ia(e) : typeof e;
|
|
2675
2678
|
}
|
|
2676
|
-
function
|
|
2679
|
+
function ia(e, n = "") {
|
|
2677
2680
|
const s = ["{"];
|
|
2678
2681
|
for (const [a, r] of Object.entries(e)) {
|
|
2679
2682
|
const o = it(r);
|
|
@@ -2682,10 +2685,10 @@ function la(e, n = "") {
|
|
|
2682
2685
|
return s.push("}"), s.join(`
|
|
2683
2686
|
`);
|
|
2684
2687
|
}
|
|
2685
|
-
function
|
|
2688
|
+
function la(e) {
|
|
2686
2689
|
return { lines: [`type GeneratedType = ${it(e)};`] };
|
|
2687
2690
|
}
|
|
2688
|
-
const
|
|
2691
|
+
const ca = (e) => Object.entries({
|
|
2689
2692
|
"application/json": "json",
|
|
2690
2693
|
"text/json": "json",
|
|
2691
2694
|
"text/html": "html",
|
|
@@ -2695,16 +2698,16 @@ const da = (e) => Object.entries({
|
|
|
2695
2698
|
"application/xhtml+xml": "xhtml"
|
|
2696
2699
|
}).find(
|
|
2697
2700
|
([s]) => e.includes(s)
|
|
2698
|
-
)?.[1],
|
|
2701
|
+
)?.[1], da = (e) => {
|
|
2699
2702
|
const n = e.find(([s]) => s.toLowerCase() === "content-type")?.[1] || "";
|
|
2700
|
-
return
|
|
2701
|
-
},
|
|
2703
|
+
return ca(n);
|
|
2704
|
+
}, ua = (e) => {
|
|
2702
2705
|
try {
|
|
2703
2706
|
return JSON.stringify(JSON.parse(e), null, 2);
|
|
2704
2707
|
} catch {
|
|
2705
2708
|
return null;
|
|
2706
2709
|
}
|
|
2707
|
-
},
|
|
2710
|
+
}, ma = (e) => {
|
|
2708
2711
|
const n = [
|
|
2709
2712
|
"Content-Type",
|
|
2710
2713
|
"Content-Length",
|
|
@@ -2721,10 +2724,10 @@ const da = (e) => Object.entries({
|
|
|
2721
2724
|
}, z = 3, Se = ye(
|
|
2722
2725
|
"div",
|
|
2723
2726
|
"grid-cols-subgrid grid border-b col-span-full px-4 py-1.5 font-mono text-xs"
|
|
2724
|
-
),
|
|
2725
|
-
const a = ["authorization", "key", "secret", "token"].includes(n.toLowerCase()), [r, o] =
|
|
2727
|
+
), ue = ye("div", "py-1 break-words"), we = ({ value: e, header: n }) => {
|
|
2728
|
+
const a = ["authorization", "key", "secret", "token"].includes(n.toLowerCase()), [r, o] = k(!a);
|
|
2726
2729
|
return /* @__PURE__ */ t.jsx(
|
|
2727
|
-
|
|
2730
|
+
ue,
|
|
2728
2731
|
{
|
|
2729
2732
|
className: w(
|
|
2730
2733
|
"max-h-28 overflow-auto",
|
|
@@ -2734,12 +2737,12 @@ const da = (e) => Object.entries({
|
|
|
2734
2737
|
a && o((i) => !i);
|
|
2735
2738
|
},
|
|
2736
2739
|
children: a ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2737
|
-
/* @__PURE__ */ t.jsx(
|
|
2738
|
-
r ? /* @__PURE__ */ t.jsx(
|
|
2740
|
+
/* @__PURE__ */ t.jsx(Cs, { secret: e, previewChars: 0, revealed: r }),
|
|
2741
|
+
r ? /* @__PURE__ */ t.jsx(Un, { size: 14, className: w("hidden group-hover:block") }) : /* @__PURE__ */ t.jsx(Gn, { size: 14, className: w("hidden group-hover:block") })
|
|
2739
2742
|
] }) : e
|
|
2740
2743
|
}
|
|
2741
2744
|
);
|
|
2742
|
-
},
|
|
2745
|
+
}, pa = ({
|
|
2743
2746
|
body: e = "",
|
|
2744
2747
|
headers: n,
|
|
2745
2748
|
request: s,
|
|
@@ -2748,31 +2751,31 @@ const da = (e) => Object.entries({
|
|
|
2748
2751
|
fileName: o,
|
|
2749
2752
|
blob: i
|
|
2750
2753
|
}) => {
|
|
2751
|
-
const c =
|
|
2754
|
+
const c = da(n), l = ua(e), m = l || e, [d, f] = k(
|
|
2752
2755
|
l ? "formatted" : "raw"
|
|
2753
|
-
), x =
|
|
2756
|
+
), x = _s({
|
|
2754
2757
|
queryKey: ["types", m],
|
|
2755
|
-
queryFn: async () =>
|
|
2758
|
+
queryFn: async () => la(JSON.parse(m)),
|
|
2756
2759
|
enabled: d === "types" && !r
|
|
2757
2760
|
}), h = () => {
|
|
2758
2761
|
if (i && o) {
|
|
2759
2762
|
const u = URL.createObjectURL(i), y = document.createElement("a");
|
|
2760
2763
|
y.href = u, y.download = o, document.body.appendChild(y), y.click(), document.body.removeChild(y), URL.revokeObjectURL(u);
|
|
2761
2764
|
}
|
|
2762
|
-
}, v =
|
|
2765
|
+
}, v = ma([...n]);
|
|
2763
2766
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2764
2767
|
/* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
2765
|
-
/* @__PURE__ */ t.jsxs(
|
|
2766
|
-
/* @__PURE__ */ t.jsx(
|
|
2768
|
+
/* @__PURE__ */ t.jsxs(Y, { children: [
|
|
2769
|
+
/* @__PURE__ */ t.jsx(Bn, { size: 14 }),
|
|
2767
2770
|
/* @__PURE__ */ t.jsx(H, { children: "Request Headers" })
|
|
2768
2771
|
] }),
|
|
2769
2772
|
/* @__PURE__ */ t.jsx(_, { children: /* @__PURE__ */ t.jsxs("div", { className: "grid grid-cols-[2fr_3fr] gap-x-6 text-sm", children: [
|
|
2770
2773
|
s.headers.slice(0, z).map(([u, y]) => /* @__PURE__ */ t.jsxs(Se, { children: [
|
|
2771
|
-
/* @__PURE__ */ t.jsx(
|
|
2774
|
+
/* @__PURE__ */ t.jsx(ue, { children: u }),
|
|
2772
2775
|
/* @__PURE__ */ t.jsx(we, { value: y, header: u })
|
|
2773
2776
|
] }, u)),
|
|
2774
2777
|
s.headers.length > z && /* @__PURE__ */ t.jsxs(B, { className: "col-span-full grid-cols-subgrid grid group", children: [
|
|
2775
|
-
/* @__PURE__ */ t.jsxs(
|
|
2778
|
+
/* @__PURE__ */ t.jsxs(de, { className: "data-[state=open]:hidden justify-center col-span-2 text-xs text-muted-foreground hover:text-primary border-b h-8 flex items-center gap-2", children: [
|
|
2776
2779
|
"Show ",
|
|
2777
2780
|
s.headers.length - z,
|
|
2778
2781
|
" more headers",
|
|
@@ -2780,10 +2783,10 @@ const da = (e) => Object.entries({
|
|
|
2780
2783
|
] }),
|
|
2781
2784
|
/* @__PURE__ */ t.jsxs(_, { className: "col-span-full grid grid-cols-subgrid", children: [
|
|
2782
2785
|
s.headers.slice(z).map(([u, y]) => /* @__PURE__ */ t.jsxs(Se, { children: [
|
|
2783
|
-
/* @__PURE__ */ t.jsx(
|
|
2786
|
+
/* @__PURE__ */ t.jsx(ue, { children: u }),
|
|
2784
2787
|
/* @__PURE__ */ t.jsx(we, { value: y, header: u })
|
|
2785
2788
|
] }, u)),
|
|
2786
|
-
/* @__PURE__ */ t.jsxs(
|
|
2789
|
+
/* @__PURE__ */ t.jsxs(de, { className: "justify-center col-span-2 text-xs text-muted-foreground hover:text-primary border-b h-8 flex items-center gap-2", children: [
|
|
2787
2790
|
"Hide ",
|
|
2788
2791
|
s.headers.length - z,
|
|
2789
2792
|
" headers",
|
|
@@ -2800,17 +2803,17 @@ const da = (e) => Object.entries({
|
|
|
2800
2803
|
] }) })
|
|
2801
2804
|
] }),
|
|
2802
2805
|
/* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
2803
|
-
/* @__PURE__ */ t.jsxs(
|
|
2804
|
-
/* @__PURE__ */ t.jsx(
|
|
2806
|
+
/* @__PURE__ */ t.jsxs(Y, { children: [
|
|
2807
|
+
/* @__PURE__ */ t.jsx(_n, { size: 14 }),
|
|
2805
2808
|
/* @__PURE__ */ t.jsx(H, { children: "Response Headers" })
|
|
2806
2809
|
] }),
|
|
2807
2810
|
/* @__PURE__ */ t.jsx(_, { children: /* @__PURE__ */ t.jsxs("div", { className: "grid grid-cols-[2fr_3fr] gap-x-6 text-sm", children: [
|
|
2808
2811
|
v.slice(0, z).map(([u, y]) => /* @__PURE__ */ t.jsxs(Se, { children: [
|
|
2809
|
-
/* @__PURE__ */ t.jsx(
|
|
2812
|
+
/* @__PURE__ */ t.jsx(ue, { children: u }),
|
|
2810
2813
|
/* @__PURE__ */ t.jsx(we, { value: y, header: u })
|
|
2811
2814
|
] }, u)),
|
|
2812
2815
|
v.length > z && /* @__PURE__ */ t.jsxs(B, { className: "col-span-full grid-cols-subgrid grid group", children: [
|
|
2813
|
-
/* @__PURE__ */ t.jsxs(
|
|
2816
|
+
/* @__PURE__ */ t.jsxs(de, { className: "data-[state=open]:hidden justify-center col-span-2 text-xs text-muted-foreground hover:text-primary border-b h-8 flex items-center gap-2", children: [
|
|
2814
2817
|
"Show ",
|
|
2815
2818
|
v.length - z,
|
|
2816
2819
|
" more headers",
|
|
@@ -2818,10 +2821,10 @@ const da = (e) => Object.entries({
|
|
|
2818
2821
|
] }),
|
|
2819
2822
|
/* @__PURE__ */ t.jsxs(_, { className: "col-span-full grid grid-cols-subgrid", children: [
|
|
2820
2823
|
v.slice(z).map(([u, y]) => /* @__PURE__ */ t.jsxs(Se, { children: [
|
|
2821
|
-
/* @__PURE__ */ t.jsx(
|
|
2824
|
+
/* @__PURE__ */ t.jsx(ue, { children: u }),
|
|
2822
2825
|
/* @__PURE__ */ t.jsx(we, { value: y, header: u })
|
|
2823
2826
|
] }, u)),
|
|
2824
|
-
/* @__PURE__ */ t.jsxs(
|
|
2827
|
+
/* @__PURE__ */ t.jsxs(de, { className: "justify-center col-span-2 text-xs text-muted-foreground hover:text-primary border-b h-8 flex items-center gap-2", children: [
|
|
2825
2828
|
"Hide ",
|
|
2826
2829
|
v.length - z,
|
|
2827
2830
|
" headers",
|
|
@@ -2839,17 +2842,17 @@ const da = (e) => Object.entries({
|
|
|
2839
2842
|
] }),
|
|
2840
2843
|
/* @__PURE__ */ t.jsxs("div", { className: "flex gap-2 justify-between items-center border-b px-2 flex-0", children: [
|
|
2841
2844
|
/* @__PURE__ */ t.jsxs(H, { className: "flex items-center gap-2", children: [
|
|
2842
|
-
/* @__PURE__ */ t.jsx(
|
|
2845
|
+
/* @__PURE__ */ t.jsx(qn, { size: 14 }),
|
|
2843
2846
|
"Response body"
|
|
2844
2847
|
] }),
|
|
2845
2848
|
l && !r && /* @__PURE__ */ t.jsxs(
|
|
2846
|
-
|
|
2849
|
+
Mt,
|
|
2847
2850
|
{
|
|
2848
2851
|
value: d,
|
|
2849
2852
|
onValueChange: (u) => f(u),
|
|
2850
2853
|
children: [
|
|
2851
|
-
/* @__PURE__ */ t.jsx(
|
|
2852
|
-
/* @__PURE__ */ t.jsxs(
|
|
2854
|
+
/* @__PURE__ */ t.jsx(Ut, { className: "max-w-32 border-0 bg-transparent", children: /* @__PURE__ */ t.jsx(Gt, { placeholder: "View" }) }),
|
|
2855
|
+
/* @__PURE__ */ t.jsxs(Ht, { children: [
|
|
2853
2856
|
/* @__PURE__ */ t.jsx(Te, { value: "formatted", children: "Formatted" }),
|
|
2854
2857
|
/* @__PURE__ */ t.jsx(Te, { value: "raw", children: "Raw" }),
|
|
2855
2858
|
/* @__PURE__ */ t.jsx(Te, { value: "types", children: "Types" })
|
|
@@ -2868,17 +2871,17 @@ const da = (e) => Object.entries({
|
|
|
2868
2871
|
className: "flex items-center gap-2",
|
|
2869
2872
|
disabled: !i,
|
|
2870
2873
|
children: [
|
|
2871
|
-
/* @__PURE__ */ t.jsx(
|
|
2874
|
+
/* @__PURE__ */ t.jsx(Mn, { className: "h-4 w-4" }),
|
|
2872
2875
|
"Download ",
|
|
2873
2876
|
o || "file",
|
|
2874
2877
|
" (",
|
|
2875
|
-
|
|
2878
|
+
Ee(a),
|
|
2876
2879
|
")"
|
|
2877
2880
|
]
|
|
2878
2881
|
}
|
|
2879
2882
|
)
|
|
2880
2883
|
] }) }) : /* @__PURE__ */ t.jsx(
|
|
2881
|
-
|
|
2884
|
+
gs,
|
|
2882
2885
|
{
|
|
2883
2886
|
className: "text-xs flex-1",
|
|
2884
2887
|
embedded: !0,
|
|
@@ -2889,7 +2892,7 @@ const da = (e) => Object.entries({
|
|
|
2889
2892
|
}
|
|
2890
2893
|
) })
|
|
2891
2894
|
] });
|
|
2892
|
-
},
|
|
2895
|
+
}, ha = ({
|
|
2893
2896
|
queryMutation: e,
|
|
2894
2897
|
showLongRunningWarning: n,
|
|
2895
2898
|
onCancel: s,
|
|
@@ -2898,7 +2901,7 @@ const da = (e) => Object.entries({
|
|
|
2898
2901
|
progress: o
|
|
2899
2902
|
}) => /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col overflow-y-auto h-[80vh] bg-muted/50", children: [
|
|
2900
2903
|
(e.isPending || e.data) && /* @__PURE__ */ t.jsx(
|
|
2901
|
-
|
|
2904
|
+
oa,
|
|
2902
2905
|
{
|
|
2903
2906
|
status: e.data?.status,
|
|
2904
2907
|
time: e.data?.time,
|
|
@@ -2907,12 +2910,12 @@ const da = (e) => Object.entries({
|
|
|
2907
2910
|
progress: o
|
|
2908
2911
|
}
|
|
2909
2912
|
),
|
|
2910
|
-
e.error ? /* @__PURE__ */ t.jsx("div", { className: "max-w-2/3 mx-auto mt-20", children: /* @__PURE__ */ t.jsxs(
|
|
2911
|
-
/* @__PURE__ */ t.jsx(
|
|
2912
|
-
/* @__PURE__ */ t.jsx(
|
|
2913
|
-
/* @__PURE__ */ t.jsx(
|
|
2913
|
+
e.error ? /* @__PURE__ */ t.jsx("div", { className: "max-w-2/3 mx-auto mt-20", children: /* @__PURE__ */ t.jsxs(zs, { children: [
|
|
2914
|
+
/* @__PURE__ */ t.jsx(Hn, { size: 24, strokeWidth: 1.5, className: "me-5" }),
|
|
2915
|
+
/* @__PURE__ */ t.jsx(Vs, { children: "Request failed" }),
|
|
2916
|
+
/* @__PURE__ */ t.jsx(Bs, { children: e.error.message || String(e.error) || "Unexpected error" })
|
|
2914
2917
|
] }) }) : e.data ? /* @__PURE__ */ t.jsx(
|
|
2915
|
-
|
|
2918
|
+
pa,
|
|
2916
2919
|
{
|
|
2917
2920
|
request: e.data.request,
|
|
2918
2921
|
size: e.data.size,
|
|
@@ -2923,7 +2926,7 @@ const da = (e) => Object.entries({
|
|
|
2923
2926
|
blob: e.data.blob
|
|
2924
2927
|
}
|
|
2925
2928
|
) : e.isPending ? /* @__PURE__ */ t.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-2 items-center mt-20", children: [
|
|
2926
|
-
/* @__PURE__ */ t.jsx(
|
|
2929
|
+
/* @__PURE__ */ t.jsx(Fs, {}),
|
|
2927
2930
|
/* @__PURE__ */ t.jsxs(
|
|
2928
2931
|
"div",
|
|
2929
2932
|
{
|
|
@@ -2934,7 +2937,7 @@ const da = (e) => Object.entries({
|
|
|
2934
2937
|
children: [
|
|
2935
2938
|
"Looks like the request is taking longer than expected.",
|
|
2936
2939
|
/* @__PURE__ */ t.jsx(
|
|
2937
|
-
|
|
2940
|
+
K,
|
|
2938
2941
|
{
|
|
2939
2942
|
type: "button",
|
|
2940
2943
|
onClick: s,
|
|
@@ -2949,7 +2952,7 @@ const da = (e) => Object.entries({
|
|
|
2949
2952
|
)
|
|
2950
2953
|
] }) }) : /* @__PURE__ */ t.jsx("div", { className: "h-full grid place-items-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4 items-center", children: [
|
|
2951
2954
|
/* @__PURE__ */ t.jsx(
|
|
2952
|
-
|
|
2955
|
+
Qn,
|
|
2953
2956
|
{
|
|
2954
2957
|
size: 64,
|
|
2955
2958
|
className: "text-muted-foreground",
|
|
@@ -2959,7 +2962,7 @@ const da = (e) => Object.entries({
|
|
|
2959
2962
|
/* @__PURE__ */ t.jsx("span", { className: "text-[16px] font-semibold text-muted-foreground", children: "Send your first request" }),
|
|
2960
2963
|
a
|
|
2961
2964
|
] }) })
|
|
2962
|
-
] }),
|
|
2965
|
+
] }), fn = Ze()(
|
|
2963
2966
|
Ye(
|
|
2964
2967
|
(e) => ({
|
|
2965
2968
|
skipLogin: !1,
|
|
@@ -2967,12 +2970,12 @@ const da = (e) => Object.entries({
|
|
|
2967
2970
|
}),
|
|
2968
2971
|
{
|
|
2969
2972
|
name: "remember-skip-login",
|
|
2970
|
-
storage:
|
|
2973
|
+
storage: Ft(() => sessionStorage)
|
|
2971
2974
|
}
|
|
2972
2975
|
)
|
|
2973
2976
|
);
|
|
2974
|
-
|
|
2975
|
-
const
|
|
2977
|
+
rs(fn);
|
|
2978
|
+
const pe = "__none", fa = ({
|
|
2976
2979
|
server: e,
|
|
2977
2980
|
servers: n = [],
|
|
2978
2981
|
url: s,
|
|
@@ -2986,13 +2989,13 @@ const me = "__none", ga = ({
|
|
|
2986
2989
|
onLogin: d,
|
|
2987
2990
|
onSignUp: f
|
|
2988
2991
|
}) => {
|
|
2989
|
-
const { selectedServer: x, setSelectedServer: h } =
|
|
2992
|
+
const { selectedServer: x, setSelectedServer: h } = zr(
|
|
2990
2993
|
n.map((p) => ({ url: p }))
|
|
2991
|
-
), [v, u] =
|
|
2994
|
+
), [v, u] = k(!1), y = as(), { setRememberedIdentity: S, getRememberedIdentity: R } = ea(), [, N] = ds(), { skipLogin: j, setSkipLogin: O } = fn(), [Q, be] = k(!1), [Ie, te] = k(!1), g = E(void 0), C = Ss(S), T = E(null), { label: A } = Dr("meta+enter", () => {
|
|
2992
2995
|
T.current?.requestSubmit();
|
|
2993
2996
|
}), M = s.match(/\{([^}]+)\}/g)?.map((p) => p.slice(1, -1)) ?? [], L = [...i].sort(
|
|
2994
|
-
(p,
|
|
2995
|
-
), { register: De, control:
|
|
2997
|
+
(p, re) => M.indexOf(p.name) - M.indexOf(re.name)
|
|
2998
|
+
), { register: De, control: ne, handleSubmit: je, watch: ct, setValue: Fe, ...ze } = bs({
|
|
2996
2999
|
defaultValues: {
|
|
2997
3000
|
body: c,
|
|
2998
3001
|
bodyMode: "text",
|
|
@@ -3014,21 +3017,21 @@ const me = "__none", ga = ({
|
|
|
3014
3017
|
active: p.defaultActive ?? !1
|
|
3015
3018
|
})) : [{ name: "", value: "", active: !1 }],
|
|
3016
3019
|
identity: R([
|
|
3017
|
-
|
|
3020
|
+
pe,
|
|
3018
3021
|
...y.data?.map((p) => p.id) ?? []
|
|
3019
3022
|
])
|
|
3020
3023
|
}
|
|
3021
|
-
}),
|
|
3022
|
-
() => y.data?.find((p) => p.id ===
|
|
3023
|
-
[y.data,
|
|
3024
|
+
}), se = ct("identity"), bn = Vt(
|
|
3025
|
+
() => y.data?.find((p) => p.id === se)?.authorizationFields,
|
|
3026
|
+
[y.data, se]
|
|
3024
3027
|
);
|
|
3025
3028
|
G(() => {
|
|
3026
|
-
|
|
3027
|
-
}, [C,
|
|
3028
|
-
const J =
|
|
3029
|
+
se && C.current(se);
|
|
3030
|
+
}, [C, se]);
|
|
3031
|
+
const J = vs({
|
|
3029
3032
|
gcTime: 0,
|
|
3030
3033
|
mutationFn: async (p) => {
|
|
3031
|
-
const
|
|
3034
|
+
const re = performance.now(), Ve = new window.Headers(
|
|
3032
3035
|
p.headers.filter(($) => $.name && $.active).map(($) => [$.name, $.value])
|
|
3033
3036
|
);
|
|
3034
3037
|
let Ce;
|
|
@@ -3038,7 +3041,7 @@ const me = "__none", ga = ({
|
|
|
3038
3041
|
break;
|
|
3039
3042
|
case "multipart": {
|
|
3040
3043
|
const $ = new FormData();
|
|
3041
|
-
p.multipartFormFields?.filter((
|
|
3044
|
+
p.multipartFormFields?.filter((X) => X.name && X.active).forEach((X) => $.append(X.name, X.value)), Ce = $, Ve.delete("Content-Type");
|
|
3042
3045
|
break;
|
|
3043
3046
|
}
|
|
3044
3047
|
default:
|
|
@@ -3053,9 +3056,9 @@ const me = "__none", ga = ({
|
|
|
3053
3056
|
body: ["GET", "HEAD"].includes(a.toUpperCase()) ? null : Ce
|
|
3054
3057
|
}
|
|
3055
3058
|
);
|
|
3056
|
-
p.identity !==
|
|
3059
|
+
p.identity !== pe && await y.data?.find(($) => $.id === p.identity)?.authorizeRequest(W);
|
|
3057
3060
|
const Be = setTimeout(
|
|
3058
|
-
() =>
|
|
3061
|
+
() => te(!0),
|
|
3059
3062
|
3210
|
|
3060
3063
|
);
|
|
3061
3064
|
g.current = new AbortController(), g.current.signal.addEventListener("abort", () => {
|
|
@@ -3066,28 +3069,28 @@ const me = "__none", ga = ({
|
|
|
3066
3069
|
cache: "no-store",
|
|
3067
3070
|
signal: g.current.signal
|
|
3068
3071
|
});
|
|
3069
|
-
clearTimeout(Be),
|
|
3070
|
-
const
|
|
3072
|
+
clearTimeout(Be), te(!1);
|
|
3073
|
+
const X = performance.now() - re, Pn = new URL(W.url), mt = Array.from($.headers.entries()), pt = $.headers.get("content-type") || "", ht = qr(pt);
|
|
3071
3074
|
let Ne = "", ft, gt;
|
|
3072
|
-
ht ? (ft = await $.blob(), gt =
|
|
3075
|
+
ht ? (ft = await $.blob(), gt = Mr(mt, W.url), Ne = `Binary content (${pt})`) : Ne = await $.text();
|
|
3073
3076
|
const xt = $.headers.get("content-length");
|
|
3074
|
-
let
|
|
3077
|
+
let ae = "";
|
|
3075
3078
|
switch (p.bodyMode) {
|
|
3076
3079
|
case "text":
|
|
3077
|
-
|
|
3080
|
+
ae = p.body;
|
|
3078
3081
|
break;
|
|
3079
3082
|
case "file":
|
|
3080
|
-
|
|
3083
|
+
ae = `[File: ${p.file?.name ?? "Unknown"}]`;
|
|
3081
3084
|
break;
|
|
3082
3085
|
case "multipart":
|
|
3083
|
-
|
|
3084
|
-
`,
|
|
3086
|
+
ae = `[Multipart Form Data]
|
|
3087
|
+
`, ae += p.multipartFormFields?.filter((U) => U.name && U.active).map(
|
|
3085
3088
|
(U) => U.value instanceof File ? `${U.name}: [File: ${U.value.name}]` : `${U.name}: ${U.value}`
|
|
3086
3089
|
).join(`
|
|
3087
3090
|
`);
|
|
3088
3091
|
break;
|
|
3089
3092
|
default:
|
|
3090
|
-
|
|
3093
|
+
ae = p.body;
|
|
3091
3094
|
break;
|
|
3092
3095
|
}
|
|
3093
3096
|
return {
|
|
@@ -3095,7 +3098,7 @@ const me = "__none", ga = ({
|
|
|
3095
3098
|
headers: mt,
|
|
3096
3099
|
size: xt ? Number(xt) : Ne.length,
|
|
3097
3100
|
body: Ne,
|
|
3098
|
-
time:
|
|
3101
|
+
time: X,
|
|
3099
3102
|
isBinary: ht,
|
|
3100
3103
|
fileName: gt,
|
|
3101
3104
|
blob: ft,
|
|
@@ -3103,30 +3106,30 @@ const me = "__none", ga = ({
|
|
|
3103
3106
|
method: W.method.toUpperCase(),
|
|
3104
3107
|
url: W.url,
|
|
3105
3108
|
headers: [
|
|
3106
|
-
["Host",
|
|
3109
|
+
["Host", Pn.host],
|
|
3107
3110
|
["User-Agent", "Zudoku Playground"],
|
|
3108
3111
|
...Array.from(W.headers.entries())
|
|
3109
3112
|
],
|
|
3110
|
-
body:
|
|
3113
|
+
body: ae
|
|
3111
3114
|
}
|
|
3112
3115
|
};
|
|
3113
3116
|
} catch ($) {
|
|
3114
|
-
throw clearTimeout(Be),
|
|
3117
|
+
throw clearTimeout(Be), te(!1), $ instanceof TypeError ? new Error(
|
|
3115
3118
|
"The request failed, possibly due to network issues or CORS policy."
|
|
3116
3119
|
) : $;
|
|
3117
3120
|
}
|
|
3118
3121
|
}
|
|
3119
|
-
}), dt = J.isPending, [
|
|
3122
|
+
}), dt = J.isPending, [jn, Cn] = k(!1);
|
|
3120
3123
|
G(() => {
|
|
3121
|
-
const p = setTimeout(() =>
|
|
3124
|
+
const p = setTimeout(() => Cn(dt), 100);
|
|
3122
3125
|
return () => clearTimeout(p);
|
|
3123
3126
|
}, [dt]);
|
|
3124
|
-
const { isFinished:
|
|
3127
|
+
const { isFinished: Nn, progress: Sn } = xs({ isAnimating: jn });
|
|
3125
3128
|
G(() => () => {
|
|
3126
3129
|
g.current?.abort();
|
|
3127
3130
|
}, []);
|
|
3128
|
-
const
|
|
3129
|
-
|
|
3131
|
+
const wn = /* @__PURE__ */ t.jsx("div", { className: "inline-block opacity-50 hover:opacity-100 transition", children: e ? /* @__PURE__ */ t.jsx("span", { children: e.replace(/^https?:\/\//, "").replace(/\/$/, "") }) : n.length > 1 && /* @__PURE__ */ t.jsxs(
|
|
3132
|
+
Mt,
|
|
3130
3133
|
{
|
|
3131
3134
|
onValueChange: (p) => {
|
|
3132
3135
|
N(() => h(p));
|
|
@@ -3134,23 +3137,23 @@ const me = "__none", ga = ({
|
|
|
3134
3137
|
value: x,
|
|
3135
3138
|
defaultValue: x,
|
|
3136
3139
|
children: [
|
|
3137
|
-
/* @__PURE__ */ t.jsx(
|
|
3138
|
-
/* @__PURE__ */ t.jsx(
|
|
3140
|
+
/* @__PURE__ */ t.jsx(Ut, { className: "p-0 h-fit shadow-none border-none flex-row-reverse bg-transparent text-xs gap-0.5 translate-y-[4px]", children: /* @__PURE__ */ t.jsx(Gt, {}) }),
|
|
3141
|
+
/* @__PURE__ */ t.jsx(Ht, { children: n.map((p) => /* @__PURE__ */ t.jsx(Te, { value: p, children: p.replace(/^https?:\/\//, "").replace(/\/$/, "") }, p)) })
|
|
3139
3142
|
]
|
|
3140
3143
|
}
|
|
3141
|
-
) }),
|
|
3144
|
+
) }), Tn = m && !j && !Q, An = ["POST", "PUT", "PATCH", "DELETE"].includes(
|
|
3142
3145
|
a.toUpperCase()
|
|
3143
|
-
), [ut,
|
|
3146
|
+
), [ut, $n] = Ns();
|
|
3144
3147
|
return /* @__PURE__ */ t.jsx(
|
|
3145
|
-
|
|
3148
|
+
js,
|
|
3146
3149
|
{
|
|
3147
3150
|
register: De,
|
|
3148
|
-
control:
|
|
3151
|
+
control: ne,
|
|
3149
3152
|
handleSubmit: je,
|
|
3150
3153
|
watch: ct,
|
|
3151
3154
|
setValue: Fe,
|
|
3152
3155
|
...ze,
|
|
3153
|
-
children: /* @__PURE__ */ t.jsx(
|
|
3156
|
+
children: /* @__PURE__ */ t.jsx(ys, { delayDuration: 150, children: /* @__PURE__ */ t.jsxs(
|
|
3154
3157
|
"form",
|
|
3155
3158
|
{
|
|
3156
3159
|
ref: T,
|
|
@@ -3163,20 +3166,20 @@ const me = "__none", ga = ({
|
|
|
3163
3166
|
className: "relative",
|
|
3164
3167
|
children: [
|
|
3165
3168
|
/* @__PURE__ */ t.jsx(
|
|
3166
|
-
|
|
3169
|
+
Wr,
|
|
3167
3170
|
{
|
|
3168
3171
|
identities: y.data ?? [],
|
|
3169
3172
|
open: v,
|
|
3170
3173
|
onOpenChange: u,
|
|
3171
|
-
onSubmit: ({ rememberedIdentity: p, identity:
|
|
3172
|
-
p && Fe("identity",
|
|
3174
|
+
onSubmit: ({ rememberedIdentity: p, identity: re }) => {
|
|
3175
|
+
p && Fe("identity", re ?? pe), u(!1), J.mutate({ ...ze.getValues(), identity: re });
|
|
3173
3176
|
}
|
|
3174
3177
|
}
|
|
3175
3178
|
),
|
|
3176
3179
|
/* @__PURE__ */ t.jsx(
|
|
3177
|
-
|
|
3180
|
+
Yr,
|
|
3178
3181
|
{
|
|
3179
|
-
open:
|
|
3182
|
+
open: Tn,
|
|
3180
3183
|
setOpen: (p) => {
|
|
3181
3184
|
p || be(!0);
|
|
3182
3185
|
},
|
|
@@ -3192,16 +3195,16 @@ const me = "__none", ga = ({
|
|
|
3192
3195
|
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-1 items-center w-full border rounded-md relative overflow-hidden", children: [
|
|
3193
3196
|
/* @__PURE__ */ t.jsx("div", { className: "border-r p-2 bg-muted rounded-l-md self-stretch font-semibold font-mono flex items-center", children: a.toUpperCase() }),
|
|
3194
3197
|
/* @__PURE__ */ t.jsx("div", { className: "items-center px-2 font-mono text-xs break-all leading-6 relative h-full w-full", children: /* @__PURE__ */ t.jsxs("div", { className: "h-full py-1.5", children: [
|
|
3195
|
-
|
|
3196
|
-
/* @__PURE__ */ t.jsx(
|
|
3197
|
-
/* @__PURE__ */ t.jsx(
|
|
3198
|
+
wn,
|
|
3199
|
+
/* @__PURE__ */ t.jsx(na, { url: s }),
|
|
3200
|
+
/* @__PURE__ */ t.jsx(sa, {})
|
|
3198
3201
|
] }) }),
|
|
3199
3202
|
/* @__PURE__ */ t.jsx("div", { className: "px-1", children: /* @__PURE__ */ t.jsx(
|
|
3200
3203
|
q,
|
|
3201
3204
|
{
|
|
3202
3205
|
type: "button",
|
|
3203
3206
|
onClick: () => {
|
|
3204
|
-
|
|
3207
|
+
$n(
|
|
3205
3208
|
Lt(
|
|
3206
3209
|
e ?? x,
|
|
3207
3210
|
s,
|
|
@@ -3215,7 +3218,7 @@ const me = "__none", ga = ({
|
|
|
3215
3218
|
"hover:opacity-100 transition",
|
|
3216
3219
|
ut ? "text-emerald-600 opacity-100" : "opacity-50"
|
|
3217
3220
|
),
|
|
3218
|
-
children: ut ? /* @__PURE__ */ t.jsx(Dt, { className: "text-green-500", size: 14 }) : /* @__PURE__ */ t.jsx(
|
|
3221
|
+
children: ut ? /* @__PURE__ */ t.jsx(Dt, { className: "text-green-500", size: 14 }) : /* @__PURE__ */ t.jsx(Jn, { size: 14 })
|
|
3219
3222
|
}
|
|
3220
3223
|
) })
|
|
3221
3224
|
] }),
|
|
@@ -3236,45 +3239,45 @@ const me = "__none", ga = ({
|
|
|
3236
3239
|
] }),
|
|
3237
3240
|
/* @__PURE__ */ t.jsxs("div", { className: "relative overflow-y-auto h-[80vh]", children: [
|
|
3238
3241
|
y.data?.length !== 0 && /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
3239
|
-
/* @__PURE__ */ t.jsxs(
|
|
3240
|
-
/* @__PURE__ */ t.jsx(
|
|
3242
|
+
/* @__PURE__ */ t.jsxs(Y, { children: [
|
|
3243
|
+
/* @__PURE__ */ t.jsx(Wn, { size: 16 }),
|
|
3241
3244
|
/* @__PURE__ */ t.jsx(H, { children: "Authentication" })
|
|
3242
3245
|
] }),
|
|
3243
3246
|
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(
|
|
3244
|
-
|
|
3247
|
+
pn,
|
|
3245
3248
|
{
|
|
3246
|
-
value:
|
|
3249
|
+
value: se,
|
|
3247
3250
|
identities: y.data ?? [],
|
|
3248
3251
|
setValue: (p) => Fe("identity", p)
|
|
3249
3252
|
}
|
|
3250
3253
|
) })
|
|
3251
3254
|
] }),
|
|
3252
3255
|
L.length > 0 && /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
3253
|
-
/* @__PURE__ */ t.jsxs(
|
|
3256
|
+
/* @__PURE__ */ t.jsxs(Y, { children: [
|
|
3254
3257
|
/* @__PURE__ */ t.jsx(Xn, { size: 16 }),
|
|
3255
3258
|
/* @__PURE__ */ t.jsx(H, { children: "Path Parameters" })
|
|
3256
3259
|
] }),
|
|
3257
|
-
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(
|
|
3260
|
+
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(Kr, { url: s, control: ne }) })
|
|
3258
3261
|
] }),
|
|
3259
|
-
/* @__PURE__ */ t.jsx(
|
|
3262
|
+
/* @__PURE__ */ t.jsx(Zr, { control: ne, schemaQueryParams: o }),
|
|
3260
3263
|
/* @__PURE__ */ t.jsx(
|
|
3261
|
-
|
|
3264
|
+
Qr,
|
|
3262
3265
|
{
|
|
3263
|
-
control:
|
|
3266
|
+
control: ne,
|
|
3264
3267
|
schemaHeaders: r,
|
|
3265
|
-
lockedHeaders:
|
|
3268
|
+
lockedHeaders: bn?.headers
|
|
3266
3269
|
}
|
|
3267
3270
|
),
|
|
3268
|
-
|
|
3271
|
+
An && /* @__PURE__ */ t.jsx(_r, { content: l })
|
|
3269
3272
|
] }),
|
|
3270
3273
|
/* @__PURE__ */ t.jsx("div", { className: "w-full bg-muted-foreground/20" }),
|
|
3271
3274
|
/* @__PURE__ */ t.jsx(
|
|
3272
|
-
|
|
3275
|
+
ha,
|
|
3273
3276
|
{
|
|
3274
3277
|
queryMutation: J,
|
|
3275
3278
|
showLongRunningWarning: Ie,
|
|
3276
|
-
isFinished:
|
|
3277
|
-
progress:
|
|
3279
|
+
isFinished: Nn,
|
|
3280
|
+
progress: Sn,
|
|
3278
3281
|
tip: /* @__PURE__ */ t.jsx("div", { className: "text-xs w-full", children: /* @__PURE__ */ t.jsxs("span", { className: "text-muted-foreground", children: [
|
|
3279
3282
|
"Press",
|
|
3280
3283
|
" ",
|
|
@@ -3285,7 +3288,7 @@ const me = "__none", ga = ({
|
|
|
3285
3288
|
onCancel: () => {
|
|
3286
3289
|
g.current?.abort(
|
|
3287
3290
|
"Request cancelled by the user"
|
|
3288
|
-
),
|
|
3291
|
+
), te(!1);
|
|
3289
3292
|
}
|
|
3290
3293
|
}
|
|
3291
3294
|
)
|
|
@@ -3295,11 +3298,11 @@ const me = "__none", ga = ({
|
|
|
3295
3298
|
) })
|
|
3296
3299
|
}
|
|
3297
3300
|
);
|
|
3298
|
-
},
|
|
3299
|
-
const [n, s] =
|
|
3301
|
+
}, ga = (e) => {
|
|
3302
|
+
const [n, s] = k(!1), { isAuthEnabled: a, login: r, signup: o, isPending: i, isAuthenticated: c } = hs();
|
|
3300
3303
|
return /* @__PURE__ */ t.jsxs(et, { onOpenChange: (l) => s(l), children: [
|
|
3301
|
-
/* @__PURE__ */ t.jsx(
|
|
3302
|
-
|
|
3304
|
+
/* @__PURE__ */ t.jsx(fs, { asChild: !0, children: e.children ?? /* @__PURE__ */ t.jsx(q, { variant: "ghost", size: "icon-xs", className: "group", children: /* @__PURE__ */ t.jsx(
|
|
3305
|
+
Kn,
|
|
3303
3306
|
{
|
|
3304
3307
|
className: "fill-muted-foreground group-hover:fill-foreground transition",
|
|
3305
3308
|
size: 16,
|
|
@@ -3313,9 +3316,9 @@ const me = "__none", ga = ({
|
|
|
3313
3316
|
"aria-describedby": void 0,
|
|
3314
3317
|
showCloseButton: !0,
|
|
3315
3318
|
children: [
|
|
3316
|
-
/* @__PURE__ */ t.jsx(
|
|
3319
|
+
/* @__PURE__ */ t.jsx(ms, { children: /* @__PURE__ */ t.jsx(nt, { children: "Playground" }) }),
|
|
3317
3320
|
n && /* @__PURE__ */ t.jsx(
|
|
3318
|
-
|
|
3321
|
+
fa,
|
|
3319
3322
|
{
|
|
3320
3323
|
requiresLogin: a && !c && !i,
|
|
3321
3324
|
onLogin: () => r(),
|
|
@@ -3327,7 +3330,7 @@ const me = "__none", ga = ({
|
|
|
3327
3330
|
}
|
|
3328
3331
|
)
|
|
3329
3332
|
] });
|
|
3330
|
-
},
|
|
3333
|
+
}, xa = {
|
|
3331
3334
|
get: "green",
|
|
3332
3335
|
post: "blue",
|
|
3333
3336
|
put: "yellow",
|
|
@@ -3335,7 +3338,7 @@ const me = "__none", ga = ({
|
|
|
3335
3338
|
patch: "purple",
|
|
3336
3339
|
options: "gray",
|
|
3337
3340
|
head: "gray"
|
|
3338
|
-
},
|
|
3341
|
+
}, kt = ({
|
|
3339
3342
|
label: e,
|
|
3340
3343
|
path: n,
|
|
3341
3344
|
operations: s,
|
|
@@ -3359,21 +3362,21 @@ const me = "__none", ga = ({
|
|
|
3359
3362
|
badge: {
|
|
3360
3363
|
label: o.method,
|
|
3361
3364
|
// biome-ignore lint/style/noNonNullAssertion: is guaranteed to be defined
|
|
3362
|
-
color:
|
|
3365
|
+
color: xa[o.method.toLowerCase()],
|
|
3363
3366
|
invert: !0
|
|
3364
3367
|
}
|
|
3365
3368
|
}))
|
|
3366
|
-
}),
|
|
3369
|
+
}), gn = zt(
|
|
3367
3370
|
void 0
|
|
3368
|
-
),
|
|
3369
|
-
const e =
|
|
3371
|
+
), to = gn.Provider, ya = () => {
|
|
3372
|
+
const e = us(gn);
|
|
3370
3373
|
if (!e)
|
|
3371
3374
|
throw new Error("useOasConfig must be used within a OasConfigProvider");
|
|
3372
3375
|
return e.config;
|
|
3373
3376
|
}, Qe = (e) => ({
|
|
3374
3377
|
path: e.routePath,
|
|
3375
3378
|
async lazy() {
|
|
3376
|
-
const { OasProvider: n } = await import("./OasProvider-
|
|
3379
|
+
const { OasProvider: n } = await import("./OasProvider-BG-FWDIq.js");
|
|
3377
3380
|
return {
|
|
3378
3381
|
element: /* @__PURE__ */ t.jsx(
|
|
3379
3382
|
n,
|
|
@@ -3387,28 +3390,28 @@ const me = "__none", ga = ({
|
|
|
3387
3390
|
};
|
|
3388
3391
|
},
|
|
3389
3392
|
children: e.routes
|
|
3390
|
-
}),
|
|
3393
|
+
}), xn = ({
|
|
3391
3394
|
path: e,
|
|
3392
3395
|
tag: n,
|
|
3393
3396
|
untagged: s
|
|
3394
3397
|
}) => ({
|
|
3395
3398
|
path: e,
|
|
3396
3399
|
async lazy() {
|
|
3397
|
-
const { OperationList: a } = await import("./OperationList-
|
|
3400
|
+
const { OperationList: a } = await import("./OperationList-GGkJ1vac.js");
|
|
3398
3401
|
return { element: /* @__PURE__ */ t.jsx(a, { tag: n, untagged: s }) };
|
|
3399
3402
|
}
|
|
3400
|
-
}),
|
|
3403
|
+
}), va = ({
|
|
3401
3404
|
render: e,
|
|
3402
3405
|
path: n
|
|
3403
3406
|
}) => {
|
|
3404
|
-
const { type: s, input: a } =
|
|
3407
|
+
const { type: s, input: a } = ya(), { tag: r } = es(), o = ts(), i = Nr(vn, { type: s, input: a }), {
|
|
3405
3408
|
data: { schema: c }
|
|
3406
|
-
} =
|
|
3409
|
+
} = qs(i), l = c.tags.at(0);
|
|
3407
3410
|
return !r && l?.slug ? /* @__PURE__ */ t.jsx(
|
|
3408
|
-
|
|
3411
|
+
ns,
|
|
3409
3412
|
{
|
|
3410
3413
|
to: {
|
|
3411
|
-
pathname:
|
|
3414
|
+
pathname: ss(n, { tag: l.slug }),
|
|
3412
3415
|
search: o.search
|
|
3413
3416
|
}
|
|
3414
3417
|
}
|
|
@@ -3416,10 +3419,10 @@ const me = "__none", ga = ({
|
|
|
3416
3419
|
}, Rt = ({ path: e }) => ({
|
|
3417
3420
|
path: e,
|
|
3418
3421
|
async lazy() {
|
|
3419
|
-
const { OperationList: n } = await import("./OperationList-
|
|
3422
|
+
const { OperationList: n } = await import("./OperationList-GGkJ1vac.js");
|
|
3420
3423
|
return {
|
|
3421
3424
|
element: /* @__PURE__ */ t.jsx(
|
|
3422
|
-
|
|
3425
|
+
va,
|
|
3423
3426
|
{
|
|
3424
3427
|
path: e,
|
|
3425
3428
|
render: (s) => /* @__PURE__ */ t.jsx(n, { tag: s })
|
|
@@ -3427,9 +3430,9 @@ const me = "__none", ga = ({
|
|
|
3427
3430
|
)
|
|
3428
3431
|
};
|
|
3429
3432
|
}
|
|
3430
|
-
}),
|
|
3433
|
+
}), Ke = (e) => [
|
|
3431
3434
|
// Category without tagged operations
|
|
3432
|
-
|
|
3435
|
+
xn({
|
|
3433
3436
|
path: V(e, lt),
|
|
3434
3437
|
untagged: !0
|
|
3435
3438
|
}),
|
|
@@ -3437,42 +3440,45 @@ const me = "__none", ga = ({
|
|
|
3437
3440
|
{
|
|
3438
3441
|
path: V(e, "~schemas"),
|
|
3439
3442
|
lazy: async () => {
|
|
3440
|
-
const { SchemaList: n } = await import("./SchemaList-
|
|
3443
|
+
const { SchemaList: n } = await import("./SchemaList-CNVdC9f-.js");
|
|
3441
3444
|
return { element: /* @__PURE__ */ t.jsx(n, {}) };
|
|
3442
3445
|
}
|
|
3443
3446
|
}
|
|
3444
|
-
],
|
|
3447
|
+
], ba = (e, n) => {
|
|
3445
3448
|
const s = V(e, n.at(0) ?? lt);
|
|
3446
3449
|
return [
|
|
3447
3450
|
// Redirect to first tag on the index route
|
|
3448
|
-
{ index: !0, loader: () =>
|
|
3451
|
+
{ index: !0, loader: () => Yn(s) },
|
|
3449
3452
|
// Create routes for each tag
|
|
3450
3453
|
...n.map(
|
|
3451
|
-
(a) =>
|
|
3454
|
+
(a) => xn({
|
|
3452
3455
|
path: V(e, a),
|
|
3453
3456
|
tag: a
|
|
3454
3457
|
})
|
|
3455
3458
|
),
|
|
3456
|
-
...
|
|
3459
|
+
...Ke(e)
|
|
3457
3460
|
];
|
|
3458
|
-
},
|
|
3461
|
+
}, yn = (e) => e.type === "raw" || !Array.isArray(e.input) ? { versions: [], labels: {}, downloadUrls: {} } : {
|
|
3459
3462
|
versions: e.input.map((n) => n.path),
|
|
3460
3463
|
labels: Object.fromEntries(
|
|
3461
3464
|
e.input.map((n) => [n.path, n.label ?? n.path])
|
|
3465
|
+
),
|
|
3466
|
+
downloadUrls: Object.fromEntries(
|
|
3467
|
+
e.input.map((n) => [n.path, n.downloadUrl])
|
|
3462
3468
|
)
|
|
3463
|
-
},
|
|
3469
|
+
}, ja = ({
|
|
3464
3470
|
basePath: e,
|
|
3465
3471
|
config: n,
|
|
3466
3472
|
client: s
|
|
3467
3473
|
}) => {
|
|
3468
|
-
const a = n.tagPages, { versions: r } =
|
|
3474
|
+
const a = n.tagPages, { versions: r } = yn(n);
|
|
3469
3475
|
return a ? (r.length > 1 ? [void 0, ...r] : [void 0]).map((i) => {
|
|
3470
3476
|
const c = V(e, i);
|
|
3471
3477
|
return Qe({
|
|
3472
3478
|
basePath: e,
|
|
3473
3479
|
version: i,
|
|
3474
3480
|
routePath: c,
|
|
3475
|
-
routes:
|
|
3481
|
+
routes: ba(c, a),
|
|
3476
3482
|
client: s,
|
|
3477
3483
|
config: n
|
|
3478
3484
|
});
|
|
@@ -3484,7 +3490,7 @@ const me = "__none", ga = ({
|
|
|
3484
3490
|
routePath: l,
|
|
3485
3491
|
routes: [
|
|
3486
3492
|
Rt({ path: `${l}/:tag?` }),
|
|
3487
|
-
...
|
|
3493
|
+
...Ke(l)
|
|
3488
3494
|
],
|
|
3489
3495
|
client: s,
|
|
3490
3496
|
config: n
|
|
@@ -3495,13 +3501,13 @@ const me = "__none", ga = ({
|
|
|
3495
3501
|
routePath: e,
|
|
3496
3502
|
routes: [
|
|
3497
3503
|
Rt({ path: `${e}/:tag?` }),
|
|
3498
|
-
...
|
|
3504
|
+
...Ke(e)
|
|
3499
3505
|
],
|
|
3500
3506
|
client: s,
|
|
3501
3507
|
config: n
|
|
3502
3508
|
})
|
|
3503
3509
|
];
|
|
3504
|
-
},
|
|
3510
|
+
}, vn = Er(`
|
|
3505
3511
|
query GetNavigationOperations($input: JSON!, $type: SchemaType!) {
|
|
3506
3512
|
schema(input: $input, type: $type) {
|
|
3507
3513
|
extensions
|
|
@@ -3524,8 +3530,8 @@ const me = "__none", ga = ({
|
|
|
3524
3530
|
}
|
|
3525
3531
|
}
|
|
3526
3532
|
}
|
|
3527
|
-
`), lt = "~endpoints",
|
|
3528
|
-
const n = V(e.path), s = new
|
|
3533
|
+
`), lt = "~endpoints", no = (e) => {
|
|
3534
|
+
const n = V(e.path), s = new Us(e);
|
|
3529
3535
|
return {
|
|
3530
3536
|
getHead: () => {
|
|
3531
3537
|
if (e.type === "url" && !e.skipPreload)
|
|
@@ -3553,15 +3559,15 @@ const me = "__none", ga = ({
|
|
|
3553
3559
|
if (!a)
|
|
3554
3560
|
throw new Error("Server is required");
|
|
3555
3561
|
return /* @__PURE__ */ t.jsx(
|
|
3556
|
-
|
|
3562
|
+
ga,
|
|
3557
3563
|
{
|
|
3558
3564
|
url: o,
|
|
3559
3565
|
method: r,
|
|
3560
3566
|
server: a,
|
|
3561
3567
|
...c,
|
|
3562
|
-
children: /* @__PURE__ */ t.jsx(
|
|
3568
|
+
children: /* @__PURE__ */ t.jsx(K, { className: "gap-2 items-center", variant: "outline", children: i ?? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
3563
3569
|
"Open in Playground",
|
|
3564
|
-
/* @__PURE__ */ t.jsx(
|
|
3570
|
+
/* @__PURE__ */ t.jsx(Zn, { size: 16 })
|
|
3565
3571
|
] }) })
|
|
3566
3572
|
}
|
|
3567
3573
|
);
|
|
@@ -3575,7 +3581,7 @@ const me = "__none", ga = ({
|
|
|
3575
3581
|
a
|
|
3576
3582
|
);
|
|
3577
3583
|
try {
|
|
3578
|
-
const i = o?.params.version, { versions: c } =
|
|
3584
|
+
const i = o?.params.version, { versions: c } = yn(e), l = i ?? c.at(0), { type: m } = e, d = Array.isArray(e.input) ? e.input.find((N) => N.path === l)?.input ?? e.input[0]?.input : e.input, f = ln(s, vn, {
|
|
3579
3585
|
type: m,
|
|
3580
3586
|
input: d
|
|
3581
3587
|
}), x = await r.queryClient.ensureQueryData(f), h = new Map(
|
|
@@ -3585,7 +3591,7 @@ const me = "__none", ga = ({
|
|
|
3585
3591
|
const j = V(n, i, N.slug), O = N.extensions?.["x-zudoku-collapsed"] ?? !e.options?.expandAllTags, Q = N.extensions?.["x-zudoku-collapsible"] ?? !0;
|
|
3586
3592
|
return [
|
|
3587
3593
|
N.name,
|
|
3588
|
-
|
|
3594
|
+
kt({
|
|
3589
3595
|
label: N.extensions?.["x-displayName"] ?? N.name,
|
|
3590
3596
|
path: j,
|
|
3591
3597
|
operations: N.operations,
|
|
@@ -3618,7 +3624,7 @@ const me = "__none", ga = ({
|
|
|
3618
3624
|
(N) => !N.name
|
|
3619
3625
|
)?.operations;
|
|
3620
3626
|
return R && R.length > 0 && S.push(
|
|
3621
|
-
|
|
3627
|
+
kt({
|
|
3622
3628
|
label: S.length === 0 ? "Endpoints" : "Other endpoints",
|
|
3623
3629
|
path: V(n, i, lt),
|
|
3624
3630
|
operations: R,
|
|
@@ -3633,44 +3639,44 @@ const me = "__none", ga = ({
|
|
|
3633
3639
|
return [];
|
|
3634
3640
|
}
|
|
3635
3641
|
},
|
|
3636
|
-
getRoutes: () =>
|
|
3642
|
+
getRoutes: () => ja({ basePath: n, config: e, client: s })
|
|
3637
3643
|
};
|
|
3638
3644
|
};
|
|
3639
3645
|
export {
|
|
3640
3646
|
B as C,
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3647
|
+
eo as G,
|
|
3648
|
+
nr as L,
|
|
3649
|
+
to as O,
|
|
3650
|
+
ga as P,
|
|
3645
3651
|
Xs as Q,
|
|
3646
|
-
|
|
3652
|
+
an as S,
|
|
3647
3653
|
b as T,
|
|
3648
3654
|
lt as U,
|
|
3649
|
-
|
|
3650
|
-
|
|
3655
|
+
Nr as a,
|
|
3656
|
+
de as b,
|
|
3651
3657
|
_ as c,
|
|
3652
3658
|
Er as d,
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3659
|
+
zr as e,
|
|
3660
|
+
hn as f,
|
|
3661
|
+
yn as g,
|
|
3662
|
+
ta as h,
|
|
3663
|
+
jr as i,
|
|
3664
|
+
Pt as j,
|
|
3665
|
+
Za as k,
|
|
3666
|
+
sr as l,
|
|
3667
|
+
rt as m,
|
|
3668
|
+
rn as n,
|
|
3669
|
+
Gs as o,
|
|
3670
|
+
br as p,
|
|
3671
|
+
qe as q,
|
|
3672
|
+
Hs as r,
|
|
3667
3673
|
F as s,
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3674
|
+
Ya as t,
|
|
3675
|
+
ya as u,
|
|
3676
|
+
tr as v,
|
|
3677
|
+
Zs as w,
|
|
3678
|
+
en as x,
|
|
3679
|
+
vn as y,
|
|
3680
|
+
no as z
|
|
3675
3681
|
};
|
|
3676
|
-
//# sourceMappingURL=index-
|
|
3682
|
+
//# sourceMappingURL=index-CTCT4jlW.js.map
|